From e5d49403d9f128326b836bfb523b0129dab3cf5e Mon Sep 17 00:00:00 2001 From: Ariel Caplan Date: Sun, 2 Nov 2025 18:18:45 +0200 Subject: [PATCH 01/23] feat(graphiql): add modern React 18 frontend package for issue #21548 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Create standalone graphiql-console package with Vite 6.3.6 build system - Implement GraphiQL 5.2.0 with Monaco editor and GraphQL language support - Replace 280+ lines of vanilla JS workarounds with React hooks - Add Polaris 12.27.0 UI components (StatusBadge, ApiVersionSelector, LinkPills) - Configure polling hooks for server status and health checks - Build outputs to ../app/assets/graphiql/ following dev console pattern Key achievements: - React 18 with createRoot API and proper hooks (useState, useEffect, useMemo) - Monaco workers configured for GraphQL language support - All SSR workarounds eliminated - Full TypeScript with strict mode - Linting passing (1 minor warning) Orchestrated by: Aaliyah Brown (Frontend Package Domain) Agents: 10 specialists (research, foundation, components, integration) 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude --- .../graphiql/assets/babel-x28rIyeM.js | 15 + .../graphiql/assets/codicon-DCmgc-ay.ttf | Bin 0 -> 80340 bytes .../graphiql/assets/editor.worker-qXNJQzUK.js | 12 + .../graphiql/assets/estree-B2JyRpo9.js | 36 + .../graphiql/assets/graphql-Cg7bfA9N.js | 6 + .../graphiql/assets/graphql-DdCuI2lM.js | 29 + .../graphiql/assets/graphql-DdEmrhCw.js | 29 + .../graphiql/assets/graphql-xRXydnjv.js | 29 + .../assets/graphql.worker-BJ6V8eRa.js | 91 + .../graphiql/assets/graphqlMode-CZOowVPW.js | 2 + .../graphiql/assets/index-DB2qidwj.css | 1 + .../graphiql/assets/index-DXUIzzsu.js | 1 + .../graphiql/assets/index-DurqXJRt.js | 418 + .../graphiql/assets/jsonMode-8vIrh7hv.js | 15 + .../graphiql/assets/lite-DLBSE-o4.js | 2 + .../assets/monaco-editor-CjcUWNYt.css | 1 + .../graphiql/assets/monaco-editor-DHweyzAq.js | 722 + .../graphiql/assets/mouseTarget-BLbOaqWL.js | 9 + .../graphiql/assets/standalone-BazYaFez.js | 34 + .../graphiql/assets/standalone-DeIMiI-Y.js | 34 + packages/app/assets/graphiql/favicon.ico | Bin 11957 -> 0 bytes packages/app/assets/graphiql/index.html | 36 + .../monacoeditorwork/graphql.worker.bundle.js | 31981 ++++++++++++++++ .../monacoeditorwork/json.worker.bundle.js | 21320 ++++++++++ packages/app/assets/graphiql/style.css | 58 - packages/graphiql-console/index.html | 13 + packages/graphiql-console/package.json | 46 + packages/graphiql-console/project.json | 46 + packages/graphiql-console/src/App.tsx | 17 + .../ApiVersionSelector.module.scss | 1 + .../ApiVersionSelector/ApiVersionSelector.tsx | 27 + .../components/ApiVersionSelector/index.ts | 1 + .../components/ErrorBanner/ErrorBanner.tsx | 23 + .../src/components/ErrorBanner/index.ts | 1 + .../GraphiQLEditor/GraphiQLEditor.tsx | 72 + .../src/components/GraphiQLEditor/index.ts | 1 + .../LinkPills/LinkPills.module.scss | 5 + .../src/components/LinkPills/LinkPills.tsx | 36 + .../src/components/LinkPills/index.ts | 1 + .../StatusBadge/StatusBadge.module.scss | 1 + .../components/StatusBadge/StatusBadge.tsx | 39 + .../src/components/StatusBadge/index.ts | 1 + packages/graphiql-console/src/hooks/index.ts | 2 + .../graphiql-console/src/hooks/usePolling.ts | 41 + .../src/hooks/useServerStatus.ts | 102 + packages/graphiql-console/src/main.tsx | 17 + .../graphiql-console/src/monaco-config.ts | 19 + .../sections/GraphiQL/GraphiQL.module.scss | 51 + .../src/sections/GraphiQL/GraphiQL.tsx | 72 + .../src/sections/GraphiQL/index.ts | 1 + packages/graphiql-console/src/types/config.ts | 33 + packages/graphiql-console/src/types/index.ts | 1 + packages/graphiql-console/src/typings.d.ts | 30 + packages/graphiql-console/tests/setup.ts | 15 + packages/graphiql-console/tsconfig.base.json | 25 + packages/graphiql-console/tsconfig.build.json | 11 + packages/graphiql-console/tsconfig.json | 12 + packages/graphiql-console/vite.config.ts | 41 + pnpm-lock.yaml | 2505 +- 59 files changed, 57745 insertions(+), 445 deletions(-) create mode 100644 packages/app/assets/graphiql/extensions/graphiql/assets/babel-x28rIyeM.js create mode 100644 packages/app/assets/graphiql/extensions/graphiql/assets/codicon-DCmgc-ay.ttf create mode 100644 packages/app/assets/graphiql/extensions/graphiql/assets/editor.worker-qXNJQzUK.js create mode 100644 packages/app/assets/graphiql/extensions/graphiql/assets/estree-B2JyRpo9.js create mode 100644 packages/app/assets/graphiql/extensions/graphiql/assets/graphql-Cg7bfA9N.js create mode 100644 packages/app/assets/graphiql/extensions/graphiql/assets/graphql-DdCuI2lM.js create mode 100644 packages/app/assets/graphiql/extensions/graphiql/assets/graphql-DdEmrhCw.js create mode 100644 packages/app/assets/graphiql/extensions/graphiql/assets/graphql-xRXydnjv.js create mode 100644 packages/app/assets/graphiql/extensions/graphiql/assets/graphql.worker-BJ6V8eRa.js create mode 100644 packages/app/assets/graphiql/extensions/graphiql/assets/graphqlMode-CZOowVPW.js create mode 100644 packages/app/assets/graphiql/extensions/graphiql/assets/index-DB2qidwj.css create mode 100644 packages/app/assets/graphiql/extensions/graphiql/assets/index-DXUIzzsu.js create mode 100644 packages/app/assets/graphiql/extensions/graphiql/assets/index-DurqXJRt.js create mode 100644 packages/app/assets/graphiql/extensions/graphiql/assets/jsonMode-8vIrh7hv.js create mode 100644 packages/app/assets/graphiql/extensions/graphiql/assets/lite-DLBSE-o4.js create mode 100644 packages/app/assets/graphiql/extensions/graphiql/assets/monaco-editor-CjcUWNYt.css create mode 100644 packages/app/assets/graphiql/extensions/graphiql/assets/monaco-editor-DHweyzAq.js create mode 100644 packages/app/assets/graphiql/extensions/graphiql/assets/mouseTarget-BLbOaqWL.js create mode 100644 packages/app/assets/graphiql/extensions/graphiql/assets/standalone-BazYaFez.js create mode 100644 packages/app/assets/graphiql/extensions/graphiql/assets/standalone-DeIMiI-Y.js delete mode 100644 packages/app/assets/graphiql/favicon.ico create mode 100644 packages/app/assets/graphiql/index.html create mode 100644 packages/app/assets/graphiql/monacoeditorwork/graphql.worker.bundle.js create mode 100644 packages/app/assets/graphiql/monacoeditorwork/json.worker.bundle.js delete mode 100644 packages/app/assets/graphiql/style.css create mode 100644 packages/graphiql-console/index.html create mode 100644 packages/graphiql-console/package.json create mode 100644 packages/graphiql-console/project.json create mode 100644 packages/graphiql-console/src/App.tsx create mode 100644 packages/graphiql-console/src/components/ApiVersionSelector/ApiVersionSelector.module.scss create mode 100644 packages/graphiql-console/src/components/ApiVersionSelector/ApiVersionSelector.tsx create mode 100644 packages/graphiql-console/src/components/ApiVersionSelector/index.ts create mode 100644 packages/graphiql-console/src/components/ErrorBanner/ErrorBanner.tsx create mode 100644 packages/graphiql-console/src/components/ErrorBanner/index.ts create mode 100644 packages/graphiql-console/src/components/GraphiQLEditor/GraphiQLEditor.tsx create mode 100644 packages/graphiql-console/src/components/GraphiQLEditor/index.ts create mode 100644 packages/graphiql-console/src/components/LinkPills/LinkPills.module.scss create mode 100644 packages/graphiql-console/src/components/LinkPills/LinkPills.tsx create mode 100644 packages/graphiql-console/src/components/LinkPills/index.ts create mode 100644 packages/graphiql-console/src/components/StatusBadge/StatusBadge.module.scss create mode 100644 packages/graphiql-console/src/components/StatusBadge/StatusBadge.tsx create mode 100644 packages/graphiql-console/src/components/StatusBadge/index.ts create mode 100644 packages/graphiql-console/src/hooks/index.ts create mode 100644 packages/graphiql-console/src/hooks/usePolling.ts create mode 100644 packages/graphiql-console/src/hooks/useServerStatus.ts create mode 100644 packages/graphiql-console/src/main.tsx create mode 100644 packages/graphiql-console/src/monaco-config.ts create mode 100644 packages/graphiql-console/src/sections/GraphiQL/GraphiQL.module.scss create mode 100644 packages/graphiql-console/src/sections/GraphiQL/GraphiQL.tsx create mode 100644 packages/graphiql-console/src/sections/GraphiQL/index.ts create mode 100644 packages/graphiql-console/src/types/config.ts create mode 100644 packages/graphiql-console/src/types/index.ts create mode 100644 packages/graphiql-console/src/typings.d.ts create mode 100644 packages/graphiql-console/tests/setup.ts create mode 100644 packages/graphiql-console/tsconfig.base.json create mode 100644 packages/graphiql-console/tsconfig.build.json create mode 100644 packages/graphiql-console/tsconfig.json create mode 100644 packages/graphiql-console/vite.config.ts diff --git a/packages/app/assets/graphiql/extensions/graphiql/assets/babel-x28rIyeM.js b/packages/app/assets/graphiql/extensions/graphiql/assets/babel-x28rIyeM.js new file mode 100644 index 00000000000..c5cd3e17f1e --- /dev/null +++ b/packages/app/assets/graphiql/extensions/graphiql/assets/babel-x28rIyeM.js @@ -0,0 +1,15 @@ +import{g as ga}from"./index-DurqXJRt.js";function Ta(de,Oe){for(var ie=0;iez[q]})}}}return Object.freeze(Object.defineProperty(de,Symbol.toStringTag,{value:"Module"}))}var ut={exports:{}},Ts;function ba(){return Ts||(Ts=1,(function(de,Oe){(function(ie){function z(){var q=ie();return q.default||q}de.exports=z()})(function(){var ie=Object.create,z=Object.defineProperty,q=Object.getOwnPropertyDescriptor,me=Object.getOwnPropertyNames,Cs=Object.getPrototypeOf,Ss=Object.prototype.hasOwnProperty,ws=(h,c)=>()=>(c||h((c={exports:{}}).exports,c),c.exports),Re=(h,c)=>{for(var m in c)z(h,m,{get:c[m],enumerable:!0})},ct=(h,c,m,f)=>{if(c&&typeof c=="object"||typeof c=="function")for(let x of me(c))!Ss.call(h,x)&&x!==m&&z(h,x,{get:()=>c[x],enumerable:!(f=q(c,x))||f.enumerable});return h},dt=(h,c,m)=>(m=h!=null?ie(Cs(h)):{},ct(z(m,"default",{value:h,enumerable:!0}),h)),Is=h=>ct(z({},"__esModule",{value:!0}),h),mt=ws(h=>{Object.defineProperty(h,"__esModule",{value:!0});function c(t,e){if(t==null)return{};var s={};for(var r in t)if({}.hasOwnProperty.call(t,r)){if(e.indexOf(r)!==-1)continue;s[r]=t[r]}return s}var m=class{constructor(t,e,s){this.line=void 0,this.column=void 0,this.index=void 0,this.line=t,this.column=e,this.index=s}},f=class{constructor(t,e){this.start=void 0,this.end=void 0,this.filename=void 0,this.identifierName=void 0,this.start=t,this.end=e}};function x(t,e){let{line:s,column:r,index:i}=t;return new m(s,r+e,i+e)}var C="BABEL_PARSER_SOURCETYPE_MODULE_REQUIRED",k={ImportMetaOutsideModule:{message:`import.meta may appear only with 'sourceType: "module"'`,code:C},ImportOutsideModule:{message:`'import' and 'export' may appear only with 'sourceType: "module"'`,code:C}},O={ArrayPattern:"array destructuring pattern",AssignmentExpression:"assignment expression",AssignmentPattern:"assignment expression",ArrowFunctionExpression:"arrow function expression",ConditionalExpression:"conditional expression",CatchClause:"catch clause",ForOfStatement:"for-of statement",ForInStatement:"for-in statement",ForStatement:"for-loop",FormalParameters:"function parameter list",Identifier:"identifier",ImportSpecifier:"import specifier",ImportDefaultSpecifier:"import default specifier",ImportNamespaceSpecifier:"import namespace specifier",ObjectPattern:"object destructuring pattern",ParenthesizedExpression:"parenthesized expression",RestElement:"rest element",UpdateExpression:{true:"prefix operation",false:"postfix operation"},VariableDeclarator:"variable declaration",YieldExpression:"yield expression"},S=t=>t.type==="UpdateExpression"?O.UpdateExpression[`${t.prefix}`]:O[t.type],M={AccessorIsGenerator:({kind:t})=>`A ${t}ter cannot be a generator.`,ArgumentsInClass:"'arguments' is only allowed in functions and class methods.",AsyncFunctionInSingleStatementContext:"Async functions can only be declared at the top level or inside a block.",AwaitBindingIdentifier:"Can not use 'await' as identifier inside an async function.",AwaitBindingIdentifierInStaticBlock:"Can not use 'await' as identifier inside a static block.",AwaitExpressionFormalParameter:"'await' is not allowed in async function parameters.",AwaitUsingNotInAsyncContext:"'await using' is only allowed within async functions and at the top levels of modules.",AwaitNotInAsyncContext:"'await' is only allowed within async functions and at the top levels of modules.",BadGetterArity:"A 'get' accessor must not have any formal parameters.",BadSetterArity:"A 'set' accessor must have exactly one formal parameter.",BadSetterRestParameter:"A 'set' accessor function argument must not be a rest parameter.",ConstructorClassField:"Classes may not have a field named 'constructor'.",ConstructorClassPrivateField:"Classes may not have a private field named '#constructor'.",ConstructorIsAccessor:"Class constructor may not be an accessor.",ConstructorIsAsync:"Constructor can't be an async function.",ConstructorIsGenerator:"Constructor can't be a generator.",DeclarationMissingInitializer:({kind:t})=>`Missing initializer in ${t} declaration.`,DecoratorArgumentsOutsideParentheses:"Decorator arguments must be moved inside parentheses: use '@(decorator(args))' instead of '@(decorator)(args)'.",DecoratorBeforeExport:"Decorators must be placed *before* the 'export' keyword. Remove the 'decoratorsBeforeExport: true' option to use the 'export @decorator class {}' syntax.",DecoratorsBeforeAfterExport:"Decorators can be placed *either* before or after the 'export' keyword, but not in both locations at the same time.",DecoratorConstructor:"Decorators can't be used with a constructor. Did you mean '@dec class { ... }'?",DecoratorExportClass:"Decorators must be placed *after* the 'export' keyword. Remove the 'decoratorsBeforeExport: false' option to use the '@decorator export class {}' syntax.",DecoratorSemicolon:"Decorators must not be followed by a semicolon.",DecoratorStaticBlock:"Decorators can't be used with a static block.",DeferImportRequiresNamespace:'Only `import defer * as x from "./module"` is valid.',DeletePrivateField:"Deleting a private field is not allowed.",DestructureNamedImport:"ES2015 named imports do not destructure. Use another statement for destructuring after the import.",DuplicateConstructor:"Duplicate constructor in the same class.",DuplicateDefaultExport:"Only one default export allowed per module.",DuplicateExport:({exportName:t})=>`\`${t}\` has already been exported. Exported identifiers must be unique.`,DuplicateProto:"Redefinition of __proto__ property.",DuplicateRegExpFlags:"Duplicate regular expression flag.",ElementAfterRest:"Rest element must be last element.",EscapedCharNotAnIdentifier:"Invalid Unicode escape.",ExportBindingIsString:({localName:t,exportName:e})=>`A string literal cannot be used as an exported binding without \`from\`. +- Did you mean \`export { '${t}' as '${e}' } from 'some-module'\`?`,ExportDefaultFromAsIdentifier:"'from' is not allowed as an identifier after 'export default'.",ForInOfLoopInitializer:({type:t})=>`'${t==="ForInStatement"?"for-in":"for-of"}' loop variable declaration may not have an initializer.`,ForInUsing:"For-in loop may not start with 'using' declaration.",ForOfAsync:"The left-hand side of a for-of loop may not be 'async'.",ForOfLet:"The left-hand side of a for-of loop may not start with 'let'.",GeneratorInSingleStatementContext:"Generators can only be declared at the top level or inside a block.",IllegalBreakContinue:({type:t})=>`Unsyntactic ${t==="BreakStatement"?"break":"continue"}.`,IllegalLanguageModeDirective:"Illegal 'use strict' directive in function with non-simple parameter list.",IllegalReturn:"'return' outside of function.",ImportAttributesUseAssert:"The `assert` keyword in import attributes is deprecated and it has been replaced by the `with` keyword. You can enable the `deprecatedImportAssert` parser plugin to suppress this error.",ImportBindingIsString:({importName:t})=>`A string literal cannot be used as an imported binding. +- Did you mean \`import { "${t}" as foo }\`?`,ImportCallArity:"`import()` requires exactly one or two arguments.",ImportCallNotNewExpression:"Cannot use new with import(...).",ImportCallSpreadArgument:"`...` is not allowed in `import()`.",ImportJSONBindingNotDefault:"A JSON module can only be imported with `default`.",ImportReflectionHasAssertion:"`import module x` cannot have assertions.",ImportReflectionNotBinding:'Only `import module x from "./module"` is valid.',IncompatibleRegExpUVFlags:"The 'u' and 'v' regular expression flags cannot be enabled at the same time.",InvalidBigIntLiteral:"Invalid BigIntLiteral.",InvalidCodePoint:"Code point out of bounds.",InvalidCoverInitializedName:"Invalid shorthand property initializer.",InvalidDecimal:"Invalid decimal.",InvalidDigit:({radix:t})=>`Expected number in radix ${t}.`,InvalidEscapeSequence:"Bad character escape sequence.",InvalidEscapeSequenceTemplate:"Invalid escape sequence in template.",InvalidEscapedReservedWord:({reservedWord:t})=>`Escape sequence in keyword ${t}.`,InvalidIdentifier:({identifierName:t})=>`Invalid identifier ${t}.`,InvalidLhs:({ancestor:t})=>`Invalid left-hand side in ${S(t)}.`,InvalidLhsBinding:({ancestor:t})=>`Binding invalid left-hand side in ${S(t)}.`,InvalidLhsOptionalChaining:({ancestor:t})=>`Invalid optional chaining in the left-hand side of ${S(t)}.`,InvalidNumber:"Invalid number.",InvalidOrMissingExponent:"Floating-point numbers require a valid exponent after the 'e'.",InvalidOrUnexpectedToken:({unexpected:t})=>`Unexpected character '${t}'.`,InvalidParenthesizedAssignment:"Invalid parenthesized assignment pattern.",InvalidPrivateFieldResolution:({identifierName:t})=>`Private name #${t} is not defined.`,InvalidPropertyBindingPattern:"Binding member expression.",InvalidRecordProperty:"Only properties and spread elements are allowed in record definitions.",InvalidRestAssignmentPattern:"Invalid rest operator's argument.",LabelRedeclaration:({labelName:t})=>`Label '${t}' is already declared.`,LetInLexicalBinding:"'let' is disallowed as a lexically bound name.",LineTerminatorBeforeArrow:"No line break is allowed before '=>'.",MalformedRegExpFlags:"Invalid regular expression flag.",MissingClassName:"A class name is required.",MissingEqInAssignment:"Only '=' operator can be used for specifying default value.",MissingSemicolon:"Missing semicolon.",MissingPlugin:({missingPlugin:t})=>`This experimental syntax requires enabling the parser plugin: ${t.map(e=>JSON.stringify(e)).join(", ")}.`,MissingOneOfPlugins:({missingPlugin:t})=>`This experimental syntax requires enabling one of the following parser plugin(s): ${t.map(e=>JSON.stringify(e)).join(", ")}.`,MissingUnicodeEscape:"Expecting Unicode escape sequence \\uXXXX.",MixingCoalesceWithLogical:"Nullish coalescing operator(??) requires parens when mixing with logical operators.",ModuleAttributeDifferentFromType:"The only accepted module attribute is `type`.",ModuleAttributeInvalidValue:"Only string literals are allowed as module attribute values.",ModuleAttributesWithDuplicateKeys:({key:t})=>`Duplicate key "${t}" is not allowed in module attributes.`,ModuleExportNameHasLoneSurrogate:({surrogateCharCode:t})=>`An export name cannot include a lone surrogate, found '\\u${t.toString(16)}'.`,ModuleExportUndefined:({localName:t})=>`Export '${t}' is not defined.`,MultipleDefaultsInSwitch:"Multiple default clauses.",NewlineAfterThrow:"Illegal newline after throw.",NoCatchOrFinally:"Missing catch or finally clause.",NumberIdentifier:"Identifier directly after number.",NumericSeparatorInEscapeSequence:"Numeric separators are not allowed inside unicode escape sequences or hex escape sequences.",ObsoleteAwaitStar:"'await*' has been removed from the async functions proposal. Use Promise.all() instead.",OptionalChainingNoNew:"Constructors in/after an Optional Chain are not allowed.",OptionalChainingNoTemplate:"Tagged Template Literals are not allowed in optionalChain.",OverrideOnConstructor:"'override' modifier cannot appear on a constructor declaration.",ParamDupe:"Argument name clash.",PatternHasAccessor:"Object pattern can't contain getter or setter.",PatternHasMethod:"Object pattern can't contain methods.",PrivateInExpectedIn:({identifierName:t})=>`Private names are only allowed in property accesses (\`obj.#${t}\`) or in \`in\` expressions (\`#${t} in obj\`).`,PrivateNameRedeclaration:({identifierName:t})=>`Duplicate private name #${t}.`,RecordExpressionBarIncorrectEndSyntaxType:"Record expressions ending with '|}' are only allowed when the 'syntaxType' option of the 'recordAndTuple' plugin is set to 'bar'.",RecordExpressionBarIncorrectStartSyntaxType:"Record expressions starting with '{|' are only allowed when the 'syntaxType' option of the 'recordAndTuple' plugin is set to 'bar'.",RecordExpressionHashIncorrectStartSyntaxType:"Record expressions starting with '#{' are only allowed when the 'syntaxType' option of the 'recordAndTuple' plugin is set to 'hash'.",RecordNoProto:"'__proto__' is not allowed in Record expressions.",RestTrailingComma:"Unexpected trailing comma after rest element.",SloppyFunction:"In non-strict mode code, functions can only be declared at top level or inside a block.",SloppyFunctionAnnexB:"In non-strict mode code, functions can only be declared at top level, inside a block, or as the body of an if statement.",SourcePhaseImportRequiresDefault:'Only `import source x from "./module"` is valid.',StaticPrototype:"Classes may not have static property named prototype.",SuperNotAllowed:"`super()` is only valid inside a class constructor of a subclass. Maybe a typo in the method name ('constructor') or not extending another class?",SuperPrivateField:"Private fields can't be accessed on super.",TrailingDecorator:"Decorators must be attached to a class element.",TupleExpressionBarIncorrectEndSyntaxType:"Tuple expressions ending with '|]' are only allowed when the 'syntaxType' option of the 'recordAndTuple' plugin is set to 'bar'.",TupleExpressionBarIncorrectStartSyntaxType:"Tuple expressions starting with '[|' are only allowed when the 'syntaxType' option of the 'recordAndTuple' plugin is set to 'bar'.",TupleExpressionHashIncorrectStartSyntaxType:"Tuple expressions starting with '#[' are only allowed when the 'syntaxType' option of the 'recordAndTuple' plugin is set to 'hash'.",UnexpectedArgumentPlaceholder:"Unexpected argument placeholder.",UnexpectedAwaitAfterPipelineBody:'Unexpected "await" after pipeline body; await must have parentheses in minimal proposal.',UnexpectedDigitAfterHash:"Unexpected digit after hash token.",UnexpectedImportExport:"'import' and 'export' may only appear at the top level.",UnexpectedKeyword:({keyword:t})=>`Unexpected keyword '${t}'.`,UnexpectedLeadingDecorator:"Leading decorators must be attached to a class declaration.",UnexpectedLexicalDeclaration:"Lexical declaration cannot appear in a single-statement context.",UnexpectedNewTarget:"`new.target` can only be used in functions or class properties.",UnexpectedNumericSeparator:"A numeric separator is only allowed between two digits.",UnexpectedPrivateField:"Unexpected private name.",UnexpectedReservedWord:({reservedWord:t})=>`Unexpected reserved word '${t}'.`,UnexpectedSuper:"'super' is only allowed in object methods and classes.",UnexpectedToken:({expected:t,unexpected:e})=>`Unexpected token${e?` '${e}'.`:""}${t?`, expected "${t}"`:""}`,UnexpectedTokenUnaryExponentiation:"Illegal expression. Wrap left hand side or entire exponentiation in parentheses.",UnexpectedUsingDeclaration:"Using declaration cannot appear in the top level when source type is `script` or in the bare case statement.",UnsupportedBind:"Binding should be performed on object property.",UnsupportedDecoratorExport:"A decorated export must export a class declaration.",UnsupportedDefaultExport:"Only expressions, functions or classes are allowed as the `default` export.",UnsupportedImport:"`import` can only be used in `import()` or `import.meta`.",UnsupportedMetaProperty:({target:t,onlyValidPropertyName:e})=>`The only valid meta property for ${t} is ${t}.${e}.`,UnsupportedParameterDecorator:"Decorators cannot be used to decorate parameters.",UnsupportedPropertyDecorator:"Decorators cannot be used to decorate object literal properties.",UnsupportedSuper:"'super' can only be used with function calls (i.e. super()) or in property accesses (i.e. super.prop or super[prop]).",UnterminatedComment:"Unterminated comment.",UnterminatedRegExp:"Unterminated regular expression.",UnterminatedString:"Unterminated string constant.",UnterminatedTemplate:"Unterminated template.",UsingDeclarationExport:"Using declaration cannot be exported.",UsingDeclarationHasBindingPattern:"Using declaration cannot have destructuring patterns.",VarRedeclaration:({identifierName:t})=>`Identifier '${t}' has already been declared.`,YieldBindingIdentifier:"Can not use 'yield' as identifier inside a generator.",YieldInParameter:"Yield expression is not allowed in formal parameters.",YieldNotInGeneratorFunction:"'yield' is only allowed within generator functions.",ZeroDigitNumericSeparator:"Numeric separator can not be used after leading 0."},B={StrictDelete:"Deleting local variable in strict mode.",StrictEvalArguments:({referenceName:t})=>`Assigning to '${t}' in strict mode.`,StrictEvalArgumentsBinding:({bindingName:t})=>`Binding '${t}' in strict mode.`,StrictFunction:"In strict mode code, functions can only be declared at top level or inside a block.",StrictNumericEscape:"The only valid numeric escape in strict mode is '\\0'.",StrictOctalLiteral:"Legacy octal literals are not allowed in strict mode.",StrictWith:"'with' in strict mode."},Q={ParseExpressionEmptyInput:"Unexpected parseExpression() input: The input is empty or contains only comments.",ParseExpressionExpectsEOF:({unexpected:t})=>`Unexpected parseExpression() input: The input should contain exactly one expression, but the first expression is followed by the unexpected character \`${String.fromCodePoint(t)}\`.`},le=new Set(["ArrowFunctionExpression","AssignmentExpression","ConditionalExpression","YieldExpression"]),he=Object.assign({PipeBodyIsTighter:"Unexpected yield after pipeline body; any yield expression acting as Hack-style pipe body must be parenthesized due to its loose operator precedence.",PipeTopicRequiresHackPipes:'Topic reference is used, but the pipelineOperator plugin was not passed a "proposal": "hack" or "smart" option.',PipeTopicUnbound:"Topic reference is unbound; it must be inside a pipe body.",PipeTopicUnconfiguredToken:({token:t})=>`Invalid topic token ${t}. In order to use ${t} as a topic reference, the pipelineOperator plugin must be configured with { "proposal": "hack", "topicToken": "${t}" }.`,PipeTopicUnused:"Hack-style pipe body does not contain a topic reference; Hack-style pipes must use topic at least once.",PipeUnparenthesizedBody:({type:t})=>`Hack-style pipe body cannot be an unparenthesized ${S({type:t})}; please wrap it in parentheses.`},{PipelineBodyNoArrow:'Unexpected arrow "=>" after pipeline body; arrow function in pipeline body must be parenthesized.',PipelineBodySequenceExpression:"Pipeline body may not be a comma-separated sequence expression.",PipelineHeadSequenceExpression:"Pipeline head should not be a comma-separated sequence expression.",PipelineTopicUnused:"Pipeline is in topic style but does not use topic reference.",PrimaryTopicNotAllowed:"Topic reference was used in a lexical context without topic binding.",PrimaryTopicRequiresSmartPipeline:'Topic reference is used, but the pipelineOperator plugin was not passed a "proposal": "hack" or "smart" option.'}),Jr=["message"];function $t(t,e,s){Object.defineProperty(t,e,{enumerable:!1,configurable:!0,value:s})}function Wr({toMessage:t,code:e,reasonCode:s,syntaxPlugin:r}){let i=s==="MissingPlugin"||s==="MissingOneOfPlugins";{let a={AccessorCannotDeclareThisParameter:"AccesorCannotDeclareThisParameter",AccessorCannotHaveTypeParameters:"AccesorCannotHaveTypeParameters",ConstInitializerMustBeStringOrNumericLiteralOrLiteralEnumReference:"ConstInitiailizerMustBeStringOrNumericLiteralOrLiteralEnumReference",SetAccessorCannotHaveOptionalParameter:"SetAccesorCannotHaveOptionalParameter",SetAccessorCannotHaveRestParameter:"SetAccesorCannotHaveRestParameter",SetAccessorCannotHaveReturnType:"SetAccesorCannotHaveReturnType"};a[s]&&(s=a[s])}return function a(n,o){let p=new SyntaxError;return p.code=e,p.reasonCode=s,p.loc=n,p.pos=n.index,p.syntaxPlugin=r,i&&(p.missingPlugin=o.missingPlugin),$t(p,"clone",function(l={}){var d;let{line:y,column:A,index:T}=(d=l.loc)!=null?d:n;return a(new m(y,A,T),Object.assign({},o,l.details))}),$t(p,"details",o),Object.defineProperty(p,"message",{configurable:!0,get(){let l=`${t(o)} (${n.line}:${n.column})`;return this.message=l,l},set(l){Object.defineProperty(this,"message",{value:l,writable:!0})}}),p}}function K(t,e){if(Array.isArray(t))return r=>K(r,t[0]);let s={};for(let r of Object.keys(t)){let i=t[r],a=typeof i=="string"?{message:()=>i}:typeof i=="function"?{message:i}:i,{message:n}=a,o=c(a,Jr),p=typeof n=="string"?()=>n:n;s[r]=Wr(Object.assign({code:"BABEL_PARSER_SYNTAX_ERROR",reasonCode:r,toMessage:p},e?{syntaxPlugin:e}:{},o))}return s}var u=Object.assign({},K(k),K(M),K(B),K(Q),K`pipelineOperator`(he));function Xr(){return{sourceType:"script",sourceFilename:void 0,startIndex:0,startColumn:0,startLine:1,allowAwaitOutsideFunction:!1,allowReturnOutsideFunction:!1,allowNewTargetOutsideFunction:!1,allowImportExportEverywhere:!1,allowSuperOutsideMethod:!1,allowUndeclaredExports:!1,allowYieldOutsideFunction:!1,plugins:[],strictMode:null,ranges:!1,tokens:!1,createImportExpressions:!1,createParenthesizedExpressions:!1,errorRecovery:!1,attachComment:!0,annexB:!0}}function Gr(t){let e=Xr();if(t==null)return e;if(t.annexB!=null&&t.annexB!==!1)throw new Error("The `annexB` option can only be set to `false`.");for(let s of Object.keys(e))t[s]!=null&&(e[s]=t[s]);if(e.startLine===1)t.startIndex==null&&e.startColumn>0?e.startIndex=e.startColumn:t.startColumn==null&&e.startIndex>0&&(e.startColumn=e.startIndex);else if((t.startColumn==null||t.startIndex==null)&&t.startIndex!=null)throw new Error("With a `startLine > 1` you must also specify `startIndex` and `startColumn`.");return e}var{defineProperty:Yr}=Object,qt=(t,e)=>{t&&Yr(t,e,{enumerable:!1,value:t[e]})};function Pe(t){return qt(t.loc.start,"index"),qt(t.loc.end,"index"),t}var Qr=t=>class extends t{parse(){let e=Pe(super.parse());return this.optionFlags&256&&(e.tokens=e.tokens.map(Pe)),e}parseRegExpLiteral({pattern:e,flags:s}){let r=null;try{r=new RegExp(e,s)}catch{}let i=this.estreeParseLiteral(r);return i.regex={pattern:e,flags:s},i}parseBigIntLiteral(e){let s;try{s=BigInt(e)}catch{s=null}let r=this.estreeParseLiteral(s);return r.bigint=String(r.value||e),r}parseDecimalLiteral(e){let s=this.estreeParseLiteral(null);return s.decimal=String(s.value||e),s}estreeParseLiteral(e){return this.parseLiteral(e,"Literal")}parseStringLiteral(e){return this.estreeParseLiteral(e)}parseNumericLiteral(e){return this.estreeParseLiteral(e)}parseNullLiteral(){return this.estreeParseLiteral(null)}parseBooleanLiteral(e){return this.estreeParseLiteral(e)}estreeParseChainExpression(e,s){let r=this.startNodeAtNode(e);return r.expression=e,this.finishNodeAt(r,"ChainExpression",s)}directiveToStmt(e){let s=e.value;delete e.value,this.castNodeTo(s,"Literal"),s.raw=s.extra.raw,s.value=s.extra.expressionValue;let r=this.castNodeTo(e,"ExpressionStatement");return r.expression=s,r.directive=s.extra.rawValue,delete s.extra,r}fillOptionalPropertiesForTSESLint(e){}cloneEstreeStringLiteral(e){let{start:s,end:r,loc:i,range:a,raw:n,value:o}=e,p=Object.create(e.constructor.prototype);return p.type="Literal",p.start=s,p.end=r,p.loc=i,p.range=a,p.raw=n,p.value=o,p}initFunction(e,s){super.initFunction(e,s),e.expression=!1}checkDeclaration(e){e!=null&&this.isObjectProperty(e)?this.checkDeclaration(e.value):super.checkDeclaration(e)}getObjectOrClassMethodParams(e){return e.value.params}isValidDirective(e){var s;return e.type==="ExpressionStatement"&&e.expression.type==="Literal"&&typeof e.expression.value=="string"&&!((s=e.expression.extra)!=null&&s.parenthesized)}parseBlockBody(e,s,r,i,a){super.parseBlockBody(e,s,r,i,a);let n=e.directives.map(o=>this.directiveToStmt(o));e.body=n.concat(e.body),delete e.directives}parsePrivateName(){let e=super.parsePrivateName();return this.getPluginOption("estree","classFeatures")?this.convertPrivateNameToPrivateIdentifier(e):e}convertPrivateNameToPrivateIdentifier(e){let s=super.getPrivateNameSV(e);return e=e,delete e.id,e.name=s,this.castNodeTo(e,"PrivateIdentifier")}isPrivateName(e){return this.getPluginOption("estree","classFeatures")?e.type==="PrivateIdentifier":super.isPrivateName(e)}getPrivateNameSV(e){return this.getPluginOption("estree","classFeatures")?e.name:super.getPrivateNameSV(e)}parseLiteral(e,s){let r=super.parseLiteral(e,s);return r.raw=r.extra.raw,delete r.extra,r}parseFunctionBody(e,s,r=!1){super.parseFunctionBody(e,s,r),e.expression=e.body.type!=="BlockStatement"}parseMethod(e,s,r,i,a,n,o=!1){let p=this.startNode();p.kind=e.kind,p=super.parseMethod(p,s,r,i,a,n,o),delete p.kind;let{typeParameters:l}=e;l&&(delete e.typeParameters,p.typeParameters=l,this.resetStartLocationFromNode(p,l));let d=this.castNodeTo(p,"FunctionExpression");return e.value=d,n==="ClassPrivateMethod"&&(e.computed=!1),n==="ObjectMethod"?(e.kind==="method"&&(e.kind="init"),e.shorthand=!1,this.finishNode(e,"Property")):this.finishNode(e,"MethodDefinition")}nameIsConstructor(e){return e.type==="Literal"?e.value==="constructor":super.nameIsConstructor(e)}parseClassProperty(...e){let s=super.parseClassProperty(...e);return this.getPluginOption("estree","classFeatures")&&this.castNodeTo(s,"PropertyDefinition"),s}parseClassPrivateProperty(...e){let s=super.parseClassPrivateProperty(...e);return this.getPluginOption("estree","classFeatures")&&(this.castNodeTo(s,"PropertyDefinition"),s.computed=!1),s}parseClassAccessorProperty(e){let s=super.parseClassAccessorProperty(e);return this.getPluginOption("estree","classFeatures")&&(s.abstract&&this.hasPlugin("typescript")?(delete s.abstract,this.castNodeTo(s,"TSAbstractAccessorProperty")):this.castNodeTo(s,"AccessorProperty")),s}parseObjectProperty(e,s,r,i){let a=super.parseObjectProperty(e,s,r,i);return a&&(a.kind="init",this.castNodeTo(a,"Property")),a}finishObjectProperty(e){return e.kind="init",this.finishNode(e,"Property")}isValidLVal(e,s,r){return e==="Property"?"value":super.isValidLVal(e,s,r)}isAssignable(e,s){return e!=null&&this.isObjectProperty(e)?this.isAssignable(e.value,s):super.isAssignable(e,s)}toAssignable(e,s=!1){if(e!=null&&this.isObjectProperty(e)){let{key:r,value:i}=e;this.isPrivateName(r)&&this.classScope.usePrivateName(this.getPrivateNameSV(r),r.loc.start),this.toAssignable(i,s)}else super.toAssignable(e,s)}toAssignableObjectExpressionProp(e,s,r){e.type==="Property"&&(e.kind==="get"||e.kind==="set")?this.raise(u.PatternHasAccessor,e.key):e.type==="Property"&&e.method?this.raise(u.PatternHasMethod,e.key):super.toAssignableObjectExpressionProp(e,s,r)}finishCallExpression(e,s){let r=super.finishCallExpression(e,s);if(r.callee.type==="Import"){var i,a;this.castNodeTo(r,"ImportExpression"),r.source=r.arguments[0],r.options=(i=r.arguments[1])!=null?i:null,r.attributes=(a=r.arguments[1])!=null?a:null,delete r.arguments,delete r.callee}else r.type==="OptionalCallExpression"?this.castNodeTo(r,"CallExpression"):r.optional=!1;return r}toReferencedArguments(e){e.type!=="ImportExpression"&&super.toReferencedArguments(e)}parseExport(e,s){let r=this.state.lastTokStartLoc,i=super.parseExport(e,s);switch(i.type){case"ExportAllDeclaration":i.exported=null;break;case"ExportNamedDeclaration":i.specifiers.length===1&&i.specifiers[0].type==="ExportNamespaceSpecifier"&&(this.castNodeTo(i,"ExportAllDeclaration"),i.exported=i.specifiers[0].exported,delete i.specifiers);case"ExportDefaultDeclaration":{var a;let{declaration:n}=i;(n==null?void 0:n.type)==="ClassDeclaration"&&((a=n.decorators)==null?void 0:a.length)>0&&n.start===i.start&&this.resetStartLocation(i,r)}break}return i}stopParseSubscript(e,s){let r=super.stopParseSubscript(e,s);return s.optionalChainMember?this.estreeParseChainExpression(r,e.loc.end):r}parseMember(e,s,r,i,a){let n=super.parseMember(e,s,r,i,a);return n.type==="OptionalMemberExpression"?this.castNodeTo(n,"MemberExpression"):n.optional=!1,n}isOptionalMemberExpression(e){return e.type==="ChainExpression"?e.expression.type==="MemberExpression":super.isOptionalMemberExpression(e)}hasPropertyAsPrivateName(e){return e.type==="ChainExpression"&&(e=e.expression),super.hasPropertyAsPrivateName(e)}isObjectProperty(e){return e.type==="Property"&&e.kind==="init"&&!e.method}isObjectMethod(e){return e.type==="Property"&&(e.method||e.kind==="get"||e.kind==="set")}castNodeTo(e,s){let r=super.castNodeTo(e,s);return this.fillOptionalPropertiesForTSESLint(r),r}cloneIdentifier(e){let s=super.cloneIdentifier(e);return this.fillOptionalPropertiesForTSESLint(s),s}cloneStringLiteral(e){return e.type==="Literal"?this.cloneEstreeStringLiteral(e):super.cloneStringLiteral(e)}finishNodeAt(e,s,r){return Pe(super.finishNodeAt(e,s,r))}finishNode(e,s){let r=super.finishNode(e,s);return this.fillOptionalPropertiesForTSESLint(r),r}resetStartLocation(e,s){super.resetStartLocation(e,s),Pe(e)}resetEndLocation(e,s=this.state.lastTokEndLoc){super.resetEndLocation(e,s),Pe(e)}},Ae=class{constructor(t,e){this.token=void 0,this.preserveSpace=void 0,this.token=t,this.preserveSpace=!!e}},D={brace:new Ae("{"),j_oTag:new Ae("...",!0)};D.template=new Ae("`",!0);var w=!0,P=!0,$e=!0,ge=!0,Z=!0,Zr=!0,Kt=class{constructor(t,e={}){this.label=void 0,this.keyword=void 0,this.beforeExpr=void 0,this.startsExpr=void 0,this.rightAssociative=void 0,this.isLoop=void 0,this.isAssign=void 0,this.prefix=void 0,this.postfix=void 0,this.binop=void 0,this.label=t,this.keyword=e.keyword,this.beforeExpr=!!e.beforeExpr,this.startsExpr=!!e.startsExpr,this.rightAssociative=!!e.rightAssociative,this.isLoop=!!e.isLoop,this.isAssign=!!e.isAssign,this.prefix=!!e.prefix,this.postfix=!!e.postfix,this.binop=e.binop!=null?e.binop:null,this.updateContext=null}},qe=new Map;function v(t,e={}){e.keyword=t;let s=b(t,e);return qe.set(t,s),s}function j(t,e){return b(t,{beforeExpr:w,binop:e})}var Te=-1,W=[],Ke=[],Je=[],We=[],Xe=[],Ge=[];function b(t,e={}){var s,r,i,a;return++Te,Ke.push(t),Je.push((s=e.binop)!=null?s:-1),We.push((r=e.beforeExpr)!=null?r:!1),Xe.push((i=e.startsExpr)!=null?i:!1),Ge.push((a=e.prefix)!=null?a:!1),W.push(new Kt(t,e)),Te}function I(t,e={}){var s,r,i,a;return++Te,qe.set(t,Te),Ke.push(t),Je.push((s=e.binop)!=null?s:-1),We.push((r=e.beforeExpr)!=null?r:!1),Xe.push((i=e.startsExpr)!=null?i:!1),Ge.push((a=e.prefix)!=null?a:!1),W.push(new Kt("name",e)),Te}var ei={bracketL:b("[",{beforeExpr:w,startsExpr:P}),bracketHashL:b("#[",{beforeExpr:w,startsExpr:P}),bracketBarL:b("[|",{beforeExpr:w,startsExpr:P}),bracketR:b("]"),bracketBarR:b("|]"),braceL:b("{",{beforeExpr:w,startsExpr:P}),braceBarL:b("{|",{beforeExpr:w,startsExpr:P}),braceHashL:b("#{",{beforeExpr:w,startsExpr:P}),braceR:b("}"),braceBarR:b("|}"),parenL:b("(",{beforeExpr:w,startsExpr:P}),parenR:b(")"),comma:b(",",{beforeExpr:w}),semi:b(";",{beforeExpr:w}),colon:b(":",{beforeExpr:w}),doubleColon:b("::",{beforeExpr:w}),dot:b("."),question:b("?",{beforeExpr:w}),questionDot:b("?."),arrow:b("=>",{beforeExpr:w}),template:b("template"),ellipsis:b("...",{beforeExpr:w}),backQuote:b("`",{startsExpr:P}),dollarBraceL:b("${",{beforeExpr:w,startsExpr:P}),templateTail:b("...`",{startsExpr:P}),templateNonTail:b("...${",{beforeExpr:w,startsExpr:P}),at:b("@"),hash:b("#",{startsExpr:P}),interpreterDirective:b("#!..."),eq:b("=",{beforeExpr:w,isAssign:ge}),assign:b("_=",{beforeExpr:w,isAssign:ge}),slashAssign:b("_=",{beforeExpr:w,isAssign:ge}),xorAssign:b("_=",{beforeExpr:w,isAssign:ge}),moduloAssign:b("_=",{beforeExpr:w,isAssign:ge}),incDec:b("++/--",{prefix:Z,postfix:Zr,startsExpr:P}),bang:b("!",{beforeExpr:w,prefix:Z,startsExpr:P}),tilde:b("~",{beforeExpr:w,prefix:Z,startsExpr:P}),doubleCaret:b("^^",{startsExpr:P}),doubleAt:b("@@",{startsExpr:P}),pipeline:j("|>",0),nullishCoalescing:j("??",1),logicalOR:j("||",1),logicalAND:j("&&",2),bitwiseOR:j("|",3),bitwiseXOR:j("^",4),bitwiseAND:j("&",5),equality:j("==/!=/===/!==",6),lt:j("/<=/>=",7),gt:j("/<=/>=",7),relational:j("/<=/>=",7),bitShift:j("<>/>>>",8),bitShiftL:j("<>/>>>",8),bitShiftR:j("<>/>>>",8),plusMin:b("+/-",{beforeExpr:w,binop:9,prefix:Z,startsExpr:P}),modulo:b("%",{binop:10,startsExpr:P}),star:b("*",{binop:10}),slash:j("/",10),exponent:b("**",{beforeExpr:w,binop:11,rightAssociative:!0}),_in:v("in",{beforeExpr:w,binop:7}),_instanceof:v("instanceof",{beforeExpr:w,binop:7}),_break:v("break"),_case:v("case",{beforeExpr:w}),_catch:v("catch"),_continue:v("continue"),_debugger:v("debugger"),_default:v("default",{beforeExpr:w}),_else:v("else",{beforeExpr:w}),_finally:v("finally"),_function:v("function",{startsExpr:P}),_if:v("if"),_return:v("return",{beforeExpr:w}),_switch:v("switch"),_throw:v("throw",{beforeExpr:w,prefix:Z,startsExpr:P}),_try:v("try"),_var:v("var"),_const:v("const"),_with:v("with"),_new:v("new",{beforeExpr:w,startsExpr:P}),_this:v("this",{startsExpr:P}),_super:v("super",{startsExpr:P}),_class:v("class",{startsExpr:P}),_extends:v("extends",{beforeExpr:w}),_export:v("export"),_import:v("import",{startsExpr:P}),_null:v("null",{startsExpr:P}),_true:v("true",{startsExpr:P}),_false:v("false",{startsExpr:P}),_typeof:v("typeof",{beforeExpr:w,prefix:Z,startsExpr:P}),_void:v("void",{beforeExpr:w,prefix:Z,startsExpr:P}),_delete:v("delete",{beforeExpr:w,prefix:Z,startsExpr:P}),_do:v("do",{isLoop:$e,beforeExpr:w}),_for:v("for",{isLoop:$e}),_while:v("while",{isLoop:$e}),_as:I("as",{startsExpr:P}),_assert:I("assert",{startsExpr:P}),_async:I("async",{startsExpr:P}),_await:I("await",{startsExpr:P}),_defer:I("defer",{startsExpr:P}),_from:I("from",{startsExpr:P}),_get:I("get",{startsExpr:P}),_let:I("let",{startsExpr:P}),_meta:I("meta",{startsExpr:P}),_of:I("of",{startsExpr:P}),_sent:I("sent",{startsExpr:P}),_set:I("set",{startsExpr:P}),_source:I("source",{startsExpr:P}),_static:I("static",{startsExpr:P}),_using:I("using",{startsExpr:P}),_yield:I("yield",{startsExpr:P}),_asserts:I("asserts",{startsExpr:P}),_checks:I("checks",{startsExpr:P}),_exports:I("exports",{startsExpr:P}),_global:I("global",{startsExpr:P}),_implements:I("implements",{startsExpr:P}),_intrinsic:I("intrinsic",{startsExpr:P}),_infer:I("infer",{startsExpr:P}),_is:I("is",{startsExpr:P}),_mixins:I("mixins",{startsExpr:P}),_proto:I("proto",{startsExpr:P}),_require:I("require",{startsExpr:P}),_satisfies:I("satisfies",{startsExpr:P}),_keyof:I("keyof",{startsExpr:P}),_readonly:I("readonly",{startsExpr:P}),_unique:I("unique",{startsExpr:P}),_abstract:I("abstract",{startsExpr:P}),_declare:I("declare",{startsExpr:P}),_enum:I("enum",{startsExpr:P}),_module:I("module",{startsExpr:P}),_namespace:I("namespace",{startsExpr:P}),_interface:I("interface",{startsExpr:P}),_type:I("type",{startsExpr:P}),_opaque:I("opaque",{startsExpr:P}),name:b("name",{startsExpr:P}),placeholder:b("%%",{startsExpr:P}),string:b("string",{startsExpr:P}),num:b("num",{startsExpr:P}),bigint:b("bigint",{startsExpr:P}),decimal:b("decimal",{startsExpr:P}),regexp:b("regexp",{startsExpr:P}),privateName:b("#name",{startsExpr:P}),eof:b("eof"),jsxName:b("jsxName"),jsxText:b("jsxText",{beforeExpr:w}),jsxTagStart:b("jsxTagStart",{startsExpr:P}),jsxTagEnd:b("jsxTagEnd")};function F(t){return t>=93&&t<=133}function ti(t){return t<=92}function $(t){return t>=58&&t<=133}function Jt(t){return t>=58&&t<=137}function si(t){return We[t]}function be(t){return Xe[t]}function ri(t){return t>=29&&t<=33}function Wt(t){return t>=129&&t<=131}function ii(t){return t>=90&&t<=92}function Ye(t){return t>=58&&t<=92}function ai(t){return t>=39&&t<=59}function ni(t){return t===34}function oi(t){return Ge[t]}function li(t){return t>=121&&t<=123}function hi(t){return t>=124&&t<=130}function ee(t){return Ke[t]}function Ne(t){return Je[t]}function pi(t){return t===57}function ve(t){return t>=24&&t<=25}function X(t){return W[t]}W[8].updateContext=t=>{t.pop()},W[5].updateContext=W[7].updateContext=W[23].updateContext=t=>{t.push(D.brace)},W[22].updateContext=t=>{t[t.length-1]===D.template?t.pop():t.push(D.template)},W[143].updateContext=t=>{t.push(D.j_expr,D.j_oTag)};var Qe="ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽͿΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԯԱ-Ֆՙՠ-ֈא-תׯ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࡠ-ࡪࡰ-ࢇࢉ-ࢎࢠ-ࣉऄ-हऽॐक़-ॡॱ-ঀঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱৼਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡૹଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-హఽౘ-ౚౝౠౡಀಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೝೞೠೡೱೲഄ-ഌഎ-ഐഒ-ഺഽൎൔ-ൖൟ-ൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄຆ-ຊຌ-ຣລວ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏽᏸ-ᏽᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛸᜀ-ᜑᜟ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡸᢀ-ᢨᢪᢰ-ᣵᤀ-ᤞᥐ-ᥭᥰ-ᥴᦀ-ᦫᦰ-ᧉᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭌᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᲀ-ᲊᲐ-ᲺᲽ-Ჿᳩ-ᳬᳮ-ᳳᳵᳶᳺᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕ℘-ℝℤΩℨK-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞ々-〇〡-〩〱-〵〸-〼ぁ-ゖ゛-ゟァ-ヺー-ヿㄅ-ㄯㄱ-ㆎㆠ-ㆿㇰ-ㇿ㐀-䶿一-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚝꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-ꟍꟐꟑꟓꟕ-Ƛꟲ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꣽꣾꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꧠ-ꧤꧦ-ꧯꧺ-ꧾꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꩾ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꬰ-ꭚꭜ-ꭩꭰ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ",Xt="·̀-ͯ·҃-֑҇-ׇֽֿׁׂׅׄؐ-ًؚ-٩ٰۖ-ۜ۟-۪ۤۧۨ-ۭ۰-۹ܑܰ-݊ަ-ް߀-߉߫-߽߳ࠖ-࠙ࠛ-ࠣࠥ-ࠧࠩ-࡙࠭-࡛ࢗ-࢟࣊-ࣣ࣡-ःऺ-़ा-ॏ॑-ॗॢॣ०-९ঁ-ঃ়া-ৄেৈো-্ৗৢৣ০-৯৾ਁ-ਃ਼ਾ-ੂੇੈੋ-੍ੑ੦-ੱੵઁ-ઃ઼ા-ૅે-ૉો-્ૢૣ૦-૯ૺ-૿ଁ-ଃ଼ା-ୄେୈୋ-୍୕-ୗୢୣ୦-୯ஂா-ூெ-ைொ-்ௗ௦-௯ఀ-ఄ఼ా-ౄె-ైొ-్ౕౖౢౣ౦-౯ಁ-ಃ಼ಾ-ೄೆ-ೈೊ-್ೕೖೢೣ೦-೯ೳഀ-ഃ഻഼ാ-ൄെ-ൈൊ-്ൗൢൣ൦-൯ඁ-ඃ්ා-ුූෘ-ෟ෦-෯ෲෳัิ-ฺ็-๎๐-๙ັິ-ຼ່-໎໐-໙༘༙༠-༩༹༵༷༾༿ཱ-྄྆྇ྍ-ྗྙ-ྼ࿆ါ-ှ၀-၉ၖ-ၙၞ-ၠၢ-ၤၧ-ၭၱ-ၴႂ-ႍႏ-ႝ፝-፟፩-፱ᜒ-᜕ᜲ-᜴ᝒᝓᝲᝳ឴-៓៝០-៩᠋-᠍᠏-᠙ᢩᤠ-ᤫᤰ-᤻᥆-᥏᧐-᧚ᨗ-ᨛᩕ-ᩞ᩠-᩿᩼-᪉᪐-᪙᪰-᪽ᪿ-ᫎᬀ-ᬄ᬴-᭄᭐-᭙᭫-᭳ᮀ-ᮂᮡ-ᮭ᮰-᮹᯦-᯳ᰤ-᰷᱀-᱉᱐-᱙᳐-᳔᳒-᳨᳭᳴᳷-᳹᷀-᷿‌‍‿⁀⁔⃐-⃥⃜⃡-⃰⳯-⵿⳱ⷠ-〪ⷿ-゙゚〯・꘠-꘩꙯ꙴ-꙽ꚞꚟ꛰꛱ꠂ꠆ꠋꠣ-ꠧ꠬ꢀꢁꢴ-ꣅ꣐-꣙꣠-꣱ꣿ-꤉ꤦ-꤭ꥇ-꥓ꦀ-ꦃ꦳-꧀꧐-꧙ꧥ꧰-꧹ꨩ-ꨶꩃꩌꩍ꩐-꩙ꩻ-ꩽꪰꪲ-ꪴꪷꪸꪾ꪿꫁ꫫ-ꫯꫵ꫶ꯣ-ꯪ꯬꯭꯰-꯹ﬞ︀-️︠-︯︳︴﹍-﹏0-9_・",ui=new RegExp("["+Qe+"]"),ci=new RegExp("["+Qe+Xt+"]");Qe=Xt=null;var Gt=[0,11,2,25,2,18,2,1,2,14,3,13,35,122,70,52,268,28,4,48,48,31,14,29,6,37,11,29,3,35,5,7,2,4,43,157,19,35,5,35,5,39,9,51,13,10,2,14,2,6,2,1,2,10,2,14,2,6,2,1,4,51,13,310,10,21,11,7,25,5,2,41,2,8,70,5,3,0,2,43,2,1,4,0,3,22,11,22,10,30,66,18,2,1,11,21,11,25,71,55,7,1,65,0,16,3,2,2,2,28,43,28,4,28,36,7,2,27,28,53,11,21,11,18,14,17,111,72,56,50,14,50,14,35,39,27,10,22,251,41,7,1,17,2,60,28,11,0,9,21,43,17,47,20,28,22,13,52,58,1,3,0,14,44,33,24,27,35,30,0,3,0,9,34,4,0,13,47,15,3,22,0,2,0,36,17,2,24,20,1,64,6,2,0,2,3,2,14,2,9,8,46,39,7,3,1,3,21,2,6,2,1,2,4,4,0,19,0,13,4,31,9,2,0,3,0,2,37,2,0,26,0,2,0,45,52,19,3,21,2,31,47,21,1,2,0,185,46,42,3,37,47,21,0,60,42,14,0,72,26,38,6,186,43,117,63,32,7,3,0,3,7,2,1,2,23,16,0,2,0,95,7,3,38,17,0,2,0,29,0,11,39,8,0,22,0,12,45,20,0,19,72,200,32,32,8,2,36,18,0,50,29,113,6,2,1,2,37,22,0,26,5,2,1,2,31,15,0,328,18,16,0,2,12,2,33,125,0,80,921,103,110,18,195,2637,96,16,1071,18,5,26,3994,6,582,6842,29,1763,568,8,30,18,78,18,29,19,47,17,3,32,20,6,18,433,44,212,63,129,74,6,0,67,12,65,1,2,0,29,6135,9,1237,42,9,8936,3,2,6,2,1,2,290,16,0,30,2,3,0,15,3,9,395,2309,106,6,12,4,8,8,9,5991,84,2,70,2,1,3,0,3,1,3,3,2,11,2,0,2,6,2,64,2,3,3,7,2,6,2,27,2,3,2,4,2,0,4,6,2,339,3,24,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,7,1845,30,7,5,262,61,147,44,11,6,17,0,322,29,19,43,485,27,229,29,3,0,496,6,2,3,2,1,2,14,2,196,60,67,8,0,1205,3,2,26,2,1,2,0,3,0,2,9,2,3,2,0,2,0,7,0,5,0,2,0,2,0,2,2,2,1,2,0,3,0,2,0,2,0,2,0,2,0,2,1,2,0,3,3,2,6,2,3,2,3,2,0,2,9,2,16,6,2,2,4,2,16,4421,42719,33,4153,7,221,3,5761,15,7472,16,621,2467,541,1507,4938,6,4191],di=[509,0,227,0,150,4,294,9,1368,2,2,1,6,3,41,2,5,0,166,1,574,3,9,9,7,9,32,4,318,1,80,3,71,10,50,3,123,2,54,14,32,10,3,1,11,3,46,10,8,0,46,9,7,2,37,13,2,9,6,1,45,0,13,2,49,13,9,3,2,11,83,11,7,0,3,0,158,11,6,9,7,3,56,1,2,6,3,1,3,2,10,0,11,1,3,6,4,4,68,8,2,0,3,0,2,3,2,4,2,0,15,1,83,17,10,9,5,0,82,19,13,9,214,6,3,8,28,1,83,16,16,9,82,12,9,9,7,19,58,14,5,9,243,14,166,9,71,5,2,1,3,3,2,0,2,1,13,9,120,6,3,6,4,0,29,9,41,6,2,3,9,0,10,10,47,15,343,9,54,7,2,7,17,9,57,21,2,13,123,5,4,0,2,1,2,6,2,0,9,9,49,4,2,1,2,4,9,9,330,3,10,1,2,0,49,6,4,4,14,10,5350,0,7,14,11465,27,2343,9,87,9,39,4,60,6,26,9,535,9,470,0,2,54,8,3,82,0,12,1,19628,1,4178,9,519,45,3,22,543,4,4,5,9,7,3,6,31,3,149,2,1418,49,513,54,5,49,9,0,15,0,23,4,2,14,1361,6,2,16,3,6,2,1,2,4,101,0,161,6,10,9,357,0,62,13,499,13,245,1,2,9,726,6,110,6,6,9,4759,9,787719,239];function Ze(t,e){let s=65536;for(let r=0,i=e.length;rt)return!1;if(s+=e[r+1],s>=t)return!0}return!1}function G(t){return t<65?t===36:t<=90?!0:t<97?t===95:t<=122?!0:t<=65535?t>=170&&ui.test(String.fromCharCode(t)):Ze(t,Gt)}function pe(t){return t<48?t===36:t<58?!0:t<65?!1:t<=90?!0:t<97?t===95:t<=122?!0:t<=65535?t>=170&&ci.test(String.fromCharCode(t)):Ze(t,Gt)||Ze(t,di)}var et={keyword:["break","case","catch","continue","debugger","default","do","else","finally","for","function","if","return","switch","throw","try","var","const","while","with","new","this","super","class","extends","export","import","null","true","false","in","instanceof","typeof","void","delete"],strict:["implements","interface","let","package","private","protected","public","static","yield"],strictBind:["eval","arguments"]},mi=new Set(et.keyword),fi=new Set(et.strict),yi=new Set(et.strictBind);function Yt(t,e){return e&&t==="await"||t==="enum"}function Qt(t,e){return Yt(t,e)||fi.has(t)}function Zt(t){return yi.has(t)}function es(t,e){return Qt(t,e)||Zt(t)}function xi(t){return mi.has(t)}function Pi(t,e,s){return t===64&&e===64&&G(s)}var Ai=new Set(["break","case","catch","continue","debugger","default","do","else","finally","for","function","if","return","switch","throw","try","var","const","while","with","new","this","super","class","extends","export","import","null","true","false","in","instanceof","typeof","void","delete","implements","interface","let","package","private","protected","public","static","yield","eval","arguments","enum","await"]);function gi(t){return Ai.has(t)}var tt=class{constructor(t){this.flags=0,this.names=new Map,this.firstLexicalName="",this.flags=t}},st=class{constructor(t,e){this.parser=void 0,this.scopeStack=[],this.inModule=void 0,this.undefinedExports=new Map,this.parser=t,this.inModule=e}get inTopLevel(){return(this.currentScope().flags&1)>0}get inFunction(){return(this.currentVarScopeFlags()&2)>0}get allowSuper(){return(this.currentThisScopeFlags()&16)>0}get allowDirectSuper(){return(this.currentThisScopeFlags()&32)>0}get allowNewTarget(){return(this.currentThisScopeFlags()&512)>0}get inClass(){return(this.currentThisScopeFlags()&64)>0}get inClassAndNotInNonArrowFunction(){let t=this.currentThisScopeFlags();return(t&64)>0&&(t&2)===0}get inStaticBlock(){for(let t=this.scopeStack.length-1;;t--){let{flags:e}=this.scopeStack[t];if(e&128)return!0;if(e&1731)return!1}}get inNonArrowFunction(){return(this.currentThisScopeFlags()&2)>0}get inBareCaseStatement(){return(this.currentScope().flags&256)>0}get treatFunctionsAsVar(){return this.treatFunctionsAsVarInScope(this.currentScope())}createScope(t){return new tt(t)}enter(t){this.scopeStack.push(this.createScope(t))}exit(){return this.scopeStack.pop().flags}treatFunctionsAsVarInScope(t){return!!(t.flags&130||!this.parser.inModule&&t.flags&1)}declareName(t,e,s){let r=this.currentScope();if(e&8||e&16){this.checkRedeclarationInScope(r,t,e,s);let i=r.names.get(t)||0;e&16?i=i|4:(r.firstLexicalName||(r.firstLexicalName=t),i=i|2),r.names.set(t,i),e&8&&this.maybeExportDefined(r,t)}else if(e&4)for(let i=this.scopeStack.length-1;i>=0&&(r=this.scopeStack[i],this.checkRedeclarationInScope(r,t,e,s),r.names.set(t,(r.names.get(t)||0)|1),this.maybeExportDefined(r,t),!(r.flags&1667));--i);this.parser.inModule&&r.flags&1&&this.undefinedExports.delete(t)}maybeExportDefined(t,e){this.parser.inModule&&t.flags&1&&this.undefinedExports.delete(e)}checkRedeclarationInScope(t,e,s,r){this.isRedeclaredInScope(t,e,s)&&this.parser.raise(u.VarRedeclaration,r,{identifierName:e})}isRedeclaredInScope(t,e,s){if(!(s&1))return!1;if(s&8)return t.names.has(e);let r=t.names.get(e);return s&16?(r&2)>0||!this.treatFunctionsAsVarInScope(t)&&(r&1)>0:(r&2)>0&&!(t.flags&8&&t.firstLexicalName===e)||!this.treatFunctionsAsVarInScope(t)&&(r&4)>0}checkLocalExport(t){let{name:e}=t;this.scopeStack[0].names.has(e)||this.undefinedExports.set(e,t.loc.start)}currentScope(){return this.scopeStack[this.scopeStack.length-1]}currentVarScopeFlags(){for(let t=this.scopeStack.length-1;;t--){let{flags:e}=this.scopeStack[t];if(e&1667)return e}}currentThisScopeFlags(){for(let t=this.scopeStack.length-1;;t--){let{flags:e}=this.scopeStack[t];if(e&1731&&!(e&4))return e}}},Ti=class extends tt{constructor(...t){super(...t),this.declareFunctions=new Set}},bi=class extends st{createScope(t){return new Ti(t)}declareName(t,e,s){let r=this.currentScope();if(e&2048){this.checkRedeclarationInScope(r,t,e,s),this.maybeExportDefined(r,t),r.declareFunctions.add(t);return}super.declareName(t,e,s)}isRedeclaredInScope(t,e,s){if(super.isRedeclaredInScope(t,e,s))return!0;if(s&2048&&!t.declareFunctions.has(e)){let r=t.names.get(e);return(r&4)>0||(r&2)>0}return!1}checkLocalExport(t){this.scopeStack[0].declareFunctions.has(t.name)||super.checkLocalExport(t)}},Ei=new Set(["_","any","bool","boolean","empty","extends","false","interface","mixed","null","number","static","string","true","typeof","void"]),E=K`flow`({AmbiguousConditionalArrow:"Ambiguous expression: wrap the arrow functions in parentheses to disambiguate.",AmbiguousDeclareModuleKind:"Found both `declare module.exports` and `declare export` in the same module. Modules can only have 1 since they are either an ES module or they are a CommonJS module.",AssignReservedType:({reservedType:t})=>`Cannot overwrite reserved type ${t}.`,DeclareClassElement:"The `declare` modifier can only appear on class fields.",DeclareClassFieldInitializer:"Initializers are not allowed in fields with the `declare` modifier.",DuplicateDeclareModuleExports:"Duplicate `declare module.exports` statement.",EnumBooleanMemberNotInitialized:({memberName:t,enumName:e})=>`Boolean enum members need to be initialized. Use either \`${t} = true,\` or \`${t} = false,\` in enum \`${e}\`.`,EnumDuplicateMemberName:({memberName:t,enumName:e})=>`Enum member names need to be unique, but the name \`${t}\` has already been used before in enum \`${e}\`.`,EnumInconsistentMemberValues:({enumName:t})=>`Enum \`${t}\` has inconsistent member initializers. Either use no initializers, or consistently use literals (either booleans, numbers, or strings) for all member initializers.`,EnumInvalidExplicitType:({invalidEnumType:t,enumName:e})=>`Enum type \`${t}\` is not valid. Use one of \`boolean\`, \`number\`, \`string\`, or \`symbol\` in enum \`${e}\`.`,EnumInvalidExplicitTypeUnknownSupplied:({enumName:t})=>`Supplied enum type is not valid. Use one of \`boolean\`, \`number\`, \`string\`, or \`symbol\` in enum \`${t}\`.`,EnumInvalidMemberInitializerPrimaryType:({enumName:t,memberName:e,explicitType:s})=>`Enum \`${t}\` has type \`${s}\`, so the initializer of \`${e}\` needs to be a ${s} literal.`,EnumInvalidMemberInitializerSymbolType:({enumName:t,memberName:e})=>`Symbol enum members cannot be initialized. Use \`${e},\` in enum \`${t}\`.`,EnumInvalidMemberInitializerUnknownType:({enumName:t,memberName:e})=>`The enum member initializer for \`${e}\` needs to be a literal (either a boolean, number, or string) in enum \`${t}\`.`,EnumInvalidMemberName:({enumName:t,memberName:e,suggestion:s})=>`Enum member names cannot start with lowercase 'a' through 'z'. Instead of using \`${e}\`, consider using \`${s}\`, in enum \`${t}\`.`,EnumNumberMemberNotInitialized:({enumName:t,memberName:e})=>`Number enum members need to be initialized, e.g. \`${e} = 1\` in enum \`${t}\`.`,EnumStringMemberInconsistentlyInitialized:({enumName:t})=>`String enum members need to consistently either all use initializers, or use no initializers, in enum \`${t}\`.`,GetterMayNotHaveThisParam:"A getter cannot have a `this` parameter.",ImportReflectionHasImportType:"An `import module` declaration can not use `type` or `typeof` keyword.",ImportTypeShorthandOnlyInPureImport:"The `type` and `typeof` keywords on named imports can only be used on regular `import` statements. It cannot be used with `import type` or `import typeof` statements.",InexactInsideExact:"Explicit inexact syntax cannot appear inside an explicit exact object type.",InexactInsideNonObject:"Explicit inexact syntax cannot appear in class or interface definitions.",InexactVariance:"Explicit inexact syntax cannot have variance.",InvalidNonTypeImportInDeclareModule:"Imports within a `declare module` body must always be `import type` or `import typeof`.",MissingTypeParamDefault:"Type parameter declaration needs a default, since a preceding type parameter declaration has a default.",NestedDeclareModule:"`declare module` cannot be used inside another `declare module`.",NestedFlowComment:"Cannot have a flow comment inside another flow comment.",PatternIsOptional:Object.assign({message:"A binding pattern parameter cannot be optional in an implementation signature."},{reasonCode:"OptionalBindingPattern"}),SetterMayNotHaveThisParam:"A setter cannot have a `this` parameter.",SpreadVariance:"Spread properties cannot have variance.",ThisParamAnnotationRequired:"A type annotation is required for the `this` parameter.",ThisParamBannedInConstructor:"Constructors cannot have a `this` parameter; constructors don't bind `this` like other functions.",ThisParamMayNotBeOptional:"The `this` parameter cannot be optional.",ThisParamMustBeFirst:"The `this` parameter must be the first function parameter.",ThisParamNoDefault:"The `this` parameter may not have a default value.",TypeBeforeInitializer:"Type annotations must come before default assignments, e.g. instead of `age = 25: number` use `age: number = 25`.",TypeCastInPattern:"The type cast expression is expected to be wrapped with parenthesis.",UnexpectedExplicitInexactInObject:"Explicit inexact syntax must appear at the end of an inexact object.",UnexpectedReservedType:({reservedType:t})=>`Unexpected reserved type ${t}.`,UnexpectedReservedUnderscore:"`_` is only allowed as a type argument to call or new.",UnexpectedSpaceBetweenModuloChecks:"Spaces between `%` and `checks` are not allowed here.",UnexpectedSpreadType:"Spread operator cannot appear in class or interface definitions.",UnexpectedSubtractionOperand:'Unexpected token, expected "number" or "bigint".',UnexpectedTokenAfterTypeParameter:"Expected an arrow function after this type parameter declaration.",UnexpectedTypeParameterBeforeAsyncArrowFunction:"Type parameters must come after the async keyword, e.g. instead of ` async () => {}`, use `async () => {}`.",UnsupportedDeclareExportKind:({unsupportedExportKind:t,suggestion:e})=>`\`declare export ${t}\` is not supported. Use \`${e}\` instead.`,UnsupportedStatementInDeclareModule:"Only declares and type imports are allowed inside declare module.",UnterminatedFlowComment:"Unterminated flow-comment."});function Ci(t){return t.type==="DeclareExportAllDeclaration"||t.type==="DeclareExportDeclaration"&&(!t.declaration||t.declaration.type!=="TypeAlias"&&t.declaration.type!=="InterfaceDeclaration")}function ts(t){return t.importKind==="type"||t.importKind==="typeof"}var Si={const:"declare export var",let:"declare export var",type:"export type",interface:"export interface"};function wi(t,e){let s=[],r=[];for(let i=0;iclass extends t{constructor(...e){super(...e),this.flowPragma=void 0}getScopeHandler(){return bi}shouldParseTypes(){return this.getPluginOption("flow","all")||this.flowPragma==="flow"}finishToken(e,s){e!==134&&e!==13&&e!==28&&this.flowPragma===void 0&&(this.flowPragma=null),super.finishToken(e,s)}addComment(e){if(this.flowPragma===void 0){let s=Ii.exec(e.value);if(s)if(s[1]==="flow")this.flowPragma="flow";else if(s[1]==="noflow")this.flowPragma="noflow";else throw new Error("Unexpected flow pragma")}super.addComment(e)}flowParseTypeInitialiser(e){let s=this.state.inType;this.state.inType=!0,this.expect(e||14);let r=this.flowParseType();return this.state.inType=s,r}flowParsePredicate(){let e=this.startNode(),s=this.state.startLoc;return this.next(),this.expectContextual(110),this.state.lastTokStartLoc.index>s.index+1&&this.raise(E.UnexpectedSpaceBetweenModuloChecks,s),this.eat(10)?(e.value=super.parseExpression(),this.expect(11),this.finishNode(e,"DeclaredPredicate")):this.finishNode(e,"InferredPredicate")}flowParseTypeAndPredicateInitialiser(){let e=this.state.inType;this.state.inType=!0,this.expect(14);let s=null,r=null;return this.match(54)?(this.state.inType=e,r=this.flowParsePredicate()):(s=this.flowParseType(),this.state.inType=e,this.match(54)&&(r=this.flowParsePredicate())),[s,r]}flowParseDeclareClass(e){return this.next(),this.flowParseInterfaceish(e,!0),this.finishNode(e,"DeclareClass")}flowParseDeclareFunction(e){this.next();let s=e.id=this.parseIdentifier(),r=this.startNode(),i=this.startNode();this.match(47)?r.typeParameters=this.flowParseTypeParameterDeclaration():r.typeParameters=null,this.expect(10);let a=this.flowParseFunctionTypeParams();return r.params=a.params,r.rest=a.rest,r.this=a._this,this.expect(11),[r.returnType,e.predicate]=this.flowParseTypeAndPredicateInitialiser(),i.typeAnnotation=this.finishNode(r,"FunctionTypeAnnotation"),s.typeAnnotation=this.finishNode(i,"TypeAnnotation"),this.resetEndLocation(s),this.semicolon(),this.scope.declareName(e.id.name,2048,e.id.loc.start),this.finishNode(e,"DeclareFunction")}flowParseDeclare(e,s){if(this.match(80))return this.flowParseDeclareClass(e);if(this.match(68))return this.flowParseDeclareFunction(e);if(this.match(74))return this.flowParseDeclareVariable(e);if(this.eatContextual(127))return this.match(16)?this.flowParseDeclareModuleExports(e):(s&&this.raise(E.NestedDeclareModule,this.state.lastTokStartLoc),this.flowParseDeclareModule(e));if(this.isContextual(130))return this.flowParseDeclareTypeAlias(e);if(this.isContextual(131))return this.flowParseDeclareOpaqueType(e);if(this.isContextual(129))return this.flowParseDeclareInterface(e);if(this.match(82))return this.flowParseDeclareExportDeclaration(e,s);this.unexpected()}flowParseDeclareVariable(e){return this.next(),e.id=this.flowParseTypeAnnotatableIdentifier(!0),this.scope.declareName(e.id.name,5,e.id.loc.start),this.semicolon(),this.finishNode(e,"DeclareVariable")}flowParseDeclareModule(e){this.scope.enter(0),this.match(134)?e.id=super.parseExprAtom():e.id=this.parseIdentifier();let s=e.body=this.startNode(),r=s.body=[];for(this.expect(5);!this.match(8);){let n=this.startNode();this.match(83)?(this.next(),!this.isContextual(130)&&!this.match(87)&&this.raise(E.InvalidNonTypeImportInDeclareModule,this.state.lastTokStartLoc),super.parseImport(n)):(this.expectContextual(125,E.UnsupportedStatementInDeclareModule),n=this.flowParseDeclare(n,!0)),r.push(n)}this.scope.exit(),this.expect(8),this.finishNode(s,"BlockStatement");let i=null,a=!1;return r.forEach(n=>{Ci(n)?(i==="CommonJS"&&this.raise(E.AmbiguousDeclareModuleKind,n),i="ES"):n.type==="DeclareModuleExports"&&(a&&this.raise(E.DuplicateDeclareModuleExports,n),i==="ES"&&this.raise(E.AmbiguousDeclareModuleKind,n),i="CommonJS",a=!0)}),e.kind=i||"CommonJS",this.finishNode(e,"DeclareModule")}flowParseDeclareExportDeclaration(e,s){if(this.expect(82),this.eat(65))return this.match(68)||this.match(80)?e.declaration=this.flowParseDeclare(this.startNode()):(e.declaration=this.flowParseType(),this.semicolon()),e.default=!0,this.finishNode(e,"DeclareExportDeclaration");if(this.match(75)||this.isLet()||(this.isContextual(130)||this.isContextual(129))&&!s){let r=this.state.value;throw this.raise(E.UnsupportedDeclareExportKind,this.state.startLoc,{unsupportedExportKind:r,suggestion:Si[r]})}if(this.match(74)||this.match(68)||this.match(80)||this.isContextual(131))return e.declaration=this.flowParseDeclare(this.startNode()),e.default=!1,this.finishNode(e,"DeclareExportDeclaration");if(this.match(55)||this.match(5)||this.isContextual(129)||this.isContextual(130)||this.isContextual(131))return e=this.parseExport(e,null),e.type==="ExportNamedDeclaration"?(e.default=!1,delete e.exportKind,this.castNodeTo(e,"DeclareExportDeclaration")):this.castNodeTo(e,"DeclareExportAllDeclaration");this.unexpected()}flowParseDeclareModuleExports(e){return this.next(),this.expectContextual(111),e.typeAnnotation=this.flowParseTypeAnnotation(),this.semicolon(),this.finishNode(e,"DeclareModuleExports")}flowParseDeclareTypeAlias(e){this.next();let s=this.flowParseTypeAlias(e);return this.castNodeTo(s,"DeclareTypeAlias"),s}flowParseDeclareOpaqueType(e){this.next();let s=this.flowParseOpaqueType(e,!0);return this.castNodeTo(s,"DeclareOpaqueType"),s}flowParseDeclareInterface(e){return this.next(),this.flowParseInterfaceish(e,!1),this.finishNode(e,"DeclareInterface")}flowParseInterfaceish(e,s){if(e.id=this.flowParseRestrictedIdentifier(!s,!0),this.scope.declareName(e.id.name,s?17:8201,e.id.loc.start),this.match(47)?e.typeParameters=this.flowParseTypeParameterDeclaration():e.typeParameters=null,e.extends=[],this.eat(81))do e.extends.push(this.flowParseInterfaceExtends());while(!s&&this.eat(12));if(s){if(e.implements=[],e.mixins=[],this.eatContextual(117))do e.mixins.push(this.flowParseInterfaceExtends());while(this.eat(12));if(this.eatContextual(113))do e.implements.push(this.flowParseInterfaceExtends());while(this.eat(12))}e.body=this.flowParseObjectType({allowStatic:s,allowExact:!1,allowSpread:!1,allowProto:s,allowInexact:!1})}flowParseInterfaceExtends(){let e=this.startNode();return e.id=this.flowParseQualifiedTypeIdentifier(),this.match(47)?e.typeParameters=this.flowParseTypeParameterInstantiation():e.typeParameters=null,this.finishNode(e,"InterfaceExtends")}flowParseInterface(e){return this.flowParseInterfaceish(e,!1),this.finishNode(e,"InterfaceDeclaration")}checkNotUnderscore(e){e==="_"&&this.raise(E.UnexpectedReservedUnderscore,this.state.startLoc)}checkReservedType(e,s,r){Ei.has(e)&&this.raise(r?E.AssignReservedType:E.UnexpectedReservedType,s,{reservedType:e})}flowParseRestrictedIdentifier(e,s){return this.checkReservedType(this.state.value,this.state.startLoc,s),this.parseIdentifier(e)}flowParseTypeAlias(e){return e.id=this.flowParseRestrictedIdentifier(!1,!0),this.scope.declareName(e.id.name,8201,e.id.loc.start),this.match(47)?e.typeParameters=this.flowParseTypeParameterDeclaration():e.typeParameters=null,e.right=this.flowParseTypeInitialiser(29),this.semicolon(),this.finishNode(e,"TypeAlias")}flowParseOpaqueType(e,s){return this.expectContextual(130),e.id=this.flowParseRestrictedIdentifier(!0,!0),this.scope.declareName(e.id.name,8201,e.id.loc.start),this.match(47)?e.typeParameters=this.flowParseTypeParameterDeclaration():e.typeParameters=null,e.supertype=null,this.match(14)&&(e.supertype=this.flowParseTypeInitialiser(14)),e.impltype=null,s||(e.impltype=this.flowParseTypeInitialiser(29)),this.semicolon(),this.finishNode(e,"OpaqueType")}flowParseTypeParameter(e=!1){let s=this.state.startLoc,r=this.startNode(),i=this.flowParseVariance(),a=this.flowParseTypeAnnotatableIdentifier();return r.name=a.name,r.variance=i,r.bound=a.typeAnnotation,this.match(29)?(this.eat(29),r.default=this.flowParseType()):e&&this.raise(E.MissingTypeParamDefault,s),this.finishNode(r,"TypeParameter")}flowParseTypeParameterDeclaration(){let e=this.state.inType,s=this.startNode();s.params=[],this.state.inType=!0,this.match(47)||this.match(143)?this.next():this.unexpected();let r=!1;do{let i=this.flowParseTypeParameter(r);s.params.push(i),i.default&&(r=!0),this.match(48)||this.expect(12)}while(!this.match(48));return this.expect(48),this.state.inType=e,this.finishNode(s,"TypeParameterDeclaration")}flowInTopLevelContext(e){if(this.curContext()!==D.brace){let s=this.state.context;this.state.context=[s[0]];try{return e()}finally{this.state.context=s}}else return e()}flowParseTypeParameterInstantiationInExpression(){if(this.reScan_lt()===47)return this.flowParseTypeParameterInstantiation()}flowParseTypeParameterInstantiation(){let e=this.startNode(),s=this.state.inType;return this.state.inType=!0,e.params=[],this.flowInTopLevelContext(()=>{this.expect(47);let r=this.state.noAnonFunctionType;for(this.state.noAnonFunctionType=!1;!this.match(48);)e.params.push(this.flowParseType()),this.match(48)||this.expect(12);this.state.noAnonFunctionType=r}),this.state.inType=s,!this.state.inType&&this.curContext()===D.brace&&this.reScan_lt_gt(),this.expect(48),this.finishNode(e,"TypeParameterInstantiation")}flowParseTypeParameterInstantiationCallOrNew(){if(this.reScan_lt()!==47)return;let e=this.startNode(),s=this.state.inType;for(e.params=[],this.state.inType=!0,this.expect(47);!this.match(48);)e.params.push(this.flowParseTypeOrImplicitInstantiation()),this.match(48)||this.expect(12);return this.expect(48),this.state.inType=s,this.finishNode(e,"TypeParameterInstantiation")}flowParseInterfaceType(){let e=this.startNode();if(this.expectContextual(129),e.extends=[],this.eat(81))do e.extends.push(this.flowParseInterfaceExtends());while(this.eat(12));return e.body=this.flowParseObjectType({allowStatic:!1,allowExact:!1,allowSpread:!1,allowProto:!1,allowInexact:!1}),this.finishNode(e,"InterfaceTypeAnnotation")}flowParseObjectPropertyKey(){return this.match(135)||this.match(134)?super.parseExprAtom():this.parseIdentifier(!0)}flowParseObjectTypeIndexer(e,s,r){return e.static=s,this.lookahead().type===14?(e.id=this.flowParseObjectPropertyKey(),e.key=this.flowParseTypeInitialiser()):(e.id=null,e.key=this.flowParseType()),this.expect(3),e.value=this.flowParseTypeInitialiser(),e.variance=r,this.finishNode(e,"ObjectTypeIndexer")}flowParseObjectTypeInternalSlot(e,s){return e.static=s,e.id=this.flowParseObjectPropertyKey(),this.expect(3),this.expect(3),this.match(47)||this.match(10)?(e.method=!0,e.optional=!1,e.value=this.flowParseObjectTypeMethodish(this.startNodeAt(e.loc.start))):(e.method=!1,this.eat(17)&&(e.optional=!0),e.value=this.flowParseTypeInitialiser()),this.finishNode(e,"ObjectTypeInternalSlot")}flowParseObjectTypeMethodish(e){for(e.params=[],e.rest=null,e.typeParameters=null,e.this=null,this.match(47)&&(e.typeParameters=this.flowParseTypeParameterDeclaration()),this.expect(10),this.match(78)&&(e.this=this.flowParseFunctionTypeParam(!0),e.this.name=null,this.match(11)||this.expect(12));!this.match(11)&&!this.match(21);)e.params.push(this.flowParseFunctionTypeParam(!1)),this.match(11)||this.expect(12);return this.eat(21)&&(e.rest=this.flowParseFunctionTypeParam(!1)),this.expect(11),e.returnType=this.flowParseTypeInitialiser(),this.finishNode(e,"FunctionTypeAnnotation")}flowParseObjectTypeCallProperty(e,s){let r=this.startNode();return e.static=s,e.value=this.flowParseObjectTypeMethodish(r),this.finishNode(e,"ObjectTypeCallProperty")}flowParseObjectType({allowStatic:e,allowExact:s,allowSpread:r,allowProto:i,allowInexact:a}){let n=this.state.inType;this.state.inType=!0;let o=this.startNode();o.callProperties=[],o.properties=[],o.indexers=[],o.internalSlots=[];let p,l,d=!1;for(s&&this.match(6)?(this.expect(6),p=9,l=!0):(this.expect(5),p=8,l=!1),o.exact=l;!this.match(p);){let A=!1,T=null,N=null,R=this.startNode();if(i&&this.isContextual(118)){let U=this.lookahead();U.type!==14&&U.type!==17&&(this.next(),T=this.state.startLoc,e=!1)}if(e&&this.isContextual(106)){let U=this.lookahead();U.type!==14&&U.type!==17&&(this.next(),A=!0)}let L=this.flowParseVariance();if(this.eat(0))T!=null&&this.unexpected(T),this.eat(0)?(L&&this.unexpected(L.loc.start),o.internalSlots.push(this.flowParseObjectTypeInternalSlot(R,A))):o.indexers.push(this.flowParseObjectTypeIndexer(R,A,L));else if(this.match(10)||this.match(47))T!=null&&this.unexpected(T),L&&this.unexpected(L.loc.start),o.callProperties.push(this.flowParseObjectTypeCallProperty(R,A));else{let U="init";if(this.isContextual(99)||this.isContextual(104)){let ht=this.lookahead();Jt(ht.type)&&(U=this.state.value,this.next())}let H=this.flowParseObjectTypeProperty(R,A,T,L,U,r,a??!l);H===null?(d=!0,N=this.state.lastTokStartLoc):o.properties.push(H)}this.flowObjectTypeSemicolon(),N&&!this.match(8)&&!this.match(9)&&this.raise(E.UnexpectedExplicitInexactInObject,N)}this.expect(p),r&&(o.inexact=d);let y=this.finishNode(o,"ObjectTypeAnnotation");return this.state.inType=n,y}flowParseObjectTypeProperty(e,s,r,i,a,n,o){if(this.eat(21))return this.match(12)||this.match(13)||this.match(8)||this.match(9)?(n?o||this.raise(E.InexactInsideExact,this.state.lastTokStartLoc):this.raise(E.InexactInsideNonObject,this.state.lastTokStartLoc),i&&this.raise(E.InexactVariance,i),null):(n||this.raise(E.UnexpectedSpreadType,this.state.lastTokStartLoc),r!=null&&this.unexpected(r),i&&this.raise(E.SpreadVariance,i),e.argument=this.flowParseType(),this.finishNode(e,"ObjectTypeSpreadProperty"));{e.key=this.flowParseObjectPropertyKey(),e.static=s,e.proto=r!=null,e.kind=a;let p=!1;return this.match(47)||this.match(10)?(e.method=!0,r!=null&&this.unexpected(r),i&&this.unexpected(i.loc.start),e.value=this.flowParseObjectTypeMethodish(this.startNodeAt(e.loc.start)),(a==="get"||a==="set")&&this.flowCheckGetterSetterParams(e),!n&&e.key.name==="constructor"&&e.value.this&&this.raise(E.ThisParamBannedInConstructor,e.value.this)):(a!=="init"&&this.unexpected(),e.method=!1,this.eat(17)&&(p=!0),e.value=this.flowParseTypeInitialiser(),e.variance=i),e.optional=p,this.finishNode(e,"ObjectTypeProperty")}}flowCheckGetterSetterParams(e){let s=e.kind==="get"?0:1,r=e.value.params.length+(e.value.rest?1:0);e.value.this&&this.raise(e.kind==="get"?E.GetterMayNotHaveThisParam:E.SetterMayNotHaveThisParam,e.value.this),r!==s&&this.raise(e.kind==="get"?u.BadGetterArity:u.BadSetterArity,e),e.kind==="set"&&e.value.rest&&this.raise(u.BadSetterRestParameter,e)}flowObjectTypeSemicolon(){!this.eat(13)&&!this.eat(12)&&!this.match(8)&&!this.match(9)&&this.unexpected()}flowParseQualifiedTypeIdentifier(e,s){e??(e=this.state.startLoc);let r=s||this.flowParseRestrictedIdentifier(!0);for(;this.eat(16);){let i=this.startNodeAt(e);i.qualification=r,i.id=this.flowParseRestrictedIdentifier(!0),r=this.finishNode(i,"QualifiedTypeIdentifier")}return r}flowParseGenericType(e,s){let r=this.startNodeAt(e);return r.typeParameters=null,r.id=this.flowParseQualifiedTypeIdentifier(e,s),this.match(47)&&(r.typeParameters=this.flowParseTypeParameterInstantiation()),this.finishNode(r,"GenericTypeAnnotation")}flowParseTypeofType(){let e=this.startNode();return this.expect(87),e.argument=this.flowParsePrimaryType(),this.finishNode(e,"TypeofTypeAnnotation")}flowParseTupleType(){let e=this.startNode();for(e.types=[],this.expect(0);this.state.possuper.parseFunctionBody(e,!0,r));return}super.parseFunctionBody(e,!1,r)}parseFunctionBodyAndFinish(e,s,r=!1){if(this.match(14)){let i=this.startNode();[i.typeAnnotation,e.predicate]=this.flowParseTypeAndPredicateInitialiser(),e.returnType=i.typeAnnotation?this.finishNode(i,"TypeAnnotation"):null}return super.parseFunctionBodyAndFinish(e,s,r)}parseStatementLike(e){if(this.state.strict&&this.isContextual(129)){let r=this.lookahead();if($(r.type)){let i=this.startNode();return this.next(),this.flowParseInterface(i)}}else if(this.isContextual(126)){let r=this.startNode();return this.next(),this.flowParseEnumDeclaration(r)}let s=super.parseStatementLike(e);return this.flowPragma===void 0&&!this.isValidDirective(s)&&(this.flowPragma=null),s}parseExpressionStatement(e,s,r){if(s.type==="Identifier"){if(s.name==="declare"){if(this.match(80)||F(this.state.type)||this.match(68)||this.match(74)||this.match(82))return this.flowParseDeclare(e)}else if(F(this.state.type)){if(s.name==="interface")return this.flowParseInterface(e);if(s.name==="type")return this.flowParseTypeAlias(e);if(s.name==="opaque")return this.flowParseOpaqueType(e,!1)}}return super.parseExpressionStatement(e,s,r)}shouldParseExportDeclaration(){let{type:e}=this.state;return e===126||Wt(e)?!this.state.containsEsc:super.shouldParseExportDeclaration()}isExportDefaultSpecifier(){let{type:e}=this.state;return e===126||Wt(e)?this.state.containsEsc:super.isExportDefaultSpecifier()}parseExportDefaultExpression(){if(this.isContextual(126)){let e=this.startNode();return this.next(),this.flowParseEnumDeclaration(e)}return super.parseExportDefaultExpression()}parseConditional(e,s,r){if(!this.match(17))return e;if(this.state.maybeInArrowParameters){let y=this.lookaheadCharCode();if(y===44||y===61||y===58||y===41)return this.setOptionalParametersError(r),e}this.expect(17);let i=this.state.clone(),a=this.state.noArrowAt,n=this.startNodeAt(s),{consequent:o,failed:p}=this.tryParseConditionalConsequent(),[l,d]=this.getArrowLikeExpressions(o);if(p||d.length>0){let y=[...a];if(d.length>0){this.state=i,this.state.noArrowAt=y;for(let A=0;A1&&this.raise(E.AmbiguousConditionalArrow,i.startLoc),p&&l.length===1&&(this.state=i,y.push(l[0].start),this.state.noArrowAt=y,{consequent:o,failed:p}=this.tryParseConditionalConsequent())}return this.getArrowLikeExpressions(o,!0),this.state.noArrowAt=a,this.expect(14),n.test=e,n.consequent=o,n.alternate=this.forwardNoArrowParamsConversionAt(n,()=>this.parseMaybeAssign(void 0,void 0)),this.finishNode(n,"ConditionalExpression")}tryParseConditionalConsequent(){this.state.noArrowParamsConversionAt.push(this.state.start);let e=this.parseMaybeAssignAllowIn(),s=!this.match(14);return this.state.noArrowParamsConversionAt.pop(),{consequent:e,failed:s}}getArrowLikeExpressions(e,s){let r=[e],i=[];for(;r.length!==0;){let a=r.pop();a.type==="ArrowFunctionExpression"&&a.body.type!=="BlockStatement"?(a.typeParameters||!a.returnType?this.finishArrowValidation(a):i.push(a),r.push(a.body)):a.type==="ConditionalExpression"&&(r.push(a.consequent),r.push(a.alternate))}return s?(i.forEach(a=>this.finishArrowValidation(a)),[i,[]]):wi(i,a=>a.params.every(n=>this.isAssignable(n,!0)))}finishArrowValidation(e){var s;this.toAssignableList(e.params,(s=e.extra)==null?void 0:s.trailingCommaLoc,!1),this.scope.enter(518),super.checkParams(e,!1,!0),this.scope.exit()}forwardNoArrowParamsConversionAt(e,s){let r;return this.state.noArrowParamsConversionAt.includes(this.offsetToSourcePos(e.start))?(this.state.noArrowParamsConversionAt.push(this.state.start),r=s(),this.state.noArrowParamsConversionAt.pop()):r=s(),r}parseParenItem(e,s){let r=super.parseParenItem(e,s);if(this.eat(17)&&(r.optional=!0,this.resetEndLocation(e)),this.match(14)){let i=this.startNodeAt(s);return i.expression=r,i.typeAnnotation=this.flowParseTypeAnnotation(),this.finishNode(i,"TypeCastExpression")}return r}assertModuleNodeAllowed(e){e.type==="ImportDeclaration"&&(e.importKind==="type"||e.importKind==="typeof")||e.type==="ExportNamedDeclaration"&&e.exportKind==="type"||e.type==="ExportAllDeclaration"&&e.exportKind==="type"||super.assertModuleNodeAllowed(e)}parseExportDeclaration(e){if(this.isContextual(130)){e.exportKind="type";let s=this.startNode();return this.next(),this.match(5)?(e.specifiers=this.parseExportSpecifiers(!0),super.parseExportFrom(e),null):this.flowParseTypeAlias(s)}else if(this.isContextual(131)){e.exportKind="type";let s=this.startNode();return this.next(),this.flowParseOpaqueType(s,!1)}else if(this.isContextual(129)){e.exportKind="type";let s=this.startNode();return this.next(),this.flowParseInterface(s)}else if(this.isContextual(126)){e.exportKind="value";let s=this.startNode();return this.next(),this.flowParseEnumDeclaration(s)}else return super.parseExportDeclaration(e)}eatExportStar(e){return super.eatExportStar(e)?!0:this.isContextual(130)&&this.lookahead().type===55?(e.exportKind="type",this.next(),this.next(),!0):!1}maybeParseExportNamespaceSpecifier(e){let{startLoc:s}=this.state,r=super.maybeParseExportNamespaceSpecifier(e);return r&&e.exportKind==="type"&&this.unexpected(s),r}parseClassId(e,s,r){super.parseClassId(e,s,r),this.match(47)&&(e.typeParameters=this.flowParseTypeParameterDeclaration())}parseClassMember(e,s,r){let{startLoc:i}=this.state;if(this.isContextual(125)){if(super.parseClassMemberFromModifier(e,s))return;s.declare=!0}super.parseClassMember(e,s,r),s.declare&&(s.type!=="ClassProperty"&&s.type!=="ClassPrivateProperty"&&s.type!=="PropertyDefinition"?this.raise(E.DeclareClassElement,i):s.value&&this.raise(E.DeclareClassFieldInitializer,s.value))}isIterator(e){return e==="iterator"||e==="asyncIterator"}readIterator(){let e=super.readWord1(),s="@@"+e;(!this.isIterator(e)||!this.state.inType)&&this.raise(u.InvalidIdentifier,this.state.curPosition(),{identifierName:s}),this.finishToken(132,s)}getTokenFromCode(e){let s=this.input.charCodeAt(this.state.pos+1);e===123&&s===124?this.finishOp(6,2):this.state.inType&&(e===62||e===60)?this.finishOp(e===62?48:47,1):this.state.inType&&e===63?s===46?this.finishOp(18,2):this.finishOp(17,1):Pi(e,s,this.input.charCodeAt(this.state.pos+2))?(this.state.pos+=2,this.readIterator()):super.getTokenFromCode(e)}isAssignable(e,s){return e.type==="TypeCastExpression"?this.isAssignable(e.expression,s):super.isAssignable(e,s)}toAssignable(e,s=!1){!s&&e.type==="AssignmentExpression"&&e.left.type==="TypeCastExpression"&&(e.left=this.typeCastToParameter(e.left)),super.toAssignable(e,s)}toAssignableList(e,s,r){for(let i=0;i1||!s)&&this.raise(E.TypeCastInPattern,a.typeAnnotation)}return e}parseArrayLike(e,s,r,i){let a=super.parseArrayLike(e,s,r,i);return s&&!this.state.maybeInArrowParameters&&this.toReferencedList(a.elements),a}isValidLVal(e,s,r){return e==="TypeCastExpression"||super.isValidLVal(e,s,r)}parseClassProperty(e){return this.match(14)&&(e.typeAnnotation=this.flowParseTypeAnnotation()),super.parseClassProperty(e)}parseClassPrivateProperty(e){return this.match(14)&&(e.typeAnnotation=this.flowParseTypeAnnotation()),super.parseClassPrivateProperty(e)}isClassMethod(){return this.match(47)||super.isClassMethod()}isClassProperty(){return this.match(14)||super.isClassProperty()}isNonstaticConstructor(e){return!this.match(14)&&super.isNonstaticConstructor(e)}pushClassMethod(e,s,r,i,a,n){if(s.variance&&this.unexpected(s.variance.loc.start),delete s.variance,this.match(47)&&(s.typeParameters=this.flowParseTypeParameterDeclaration()),super.pushClassMethod(e,s,r,i,a,n),s.params&&a){let o=s.params;o.length>0&&this.isThisParam(o[0])&&this.raise(E.ThisParamBannedInConstructor,s)}else if(s.type==="MethodDefinition"&&a&&s.value.params){let o=s.value.params;o.length>0&&this.isThisParam(o[0])&&this.raise(E.ThisParamBannedInConstructor,s)}}pushClassPrivateMethod(e,s,r,i){s.variance&&this.unexpected(s.variance.loc.start),delete s.variance,this.match(47)&&(s.typeParameters=this.flowParseTypeParameterDeclaration()),super.pushClassPrivateMethod(e,s,r,i)}parseClassSuper(e){if(super.parseClassSuper(e),e.superClass&&(this.match(47)||this.match(51))&&(e.superTypeParameters=this.flowParseTypeParameterInstantiationInExpression()),this.isContextual(113)){this.next();let s=e.implements=[];do{let r=this.startNode();r.id=this.flowParseRestrictedIdentifier(!0),this.match(47)?r.typeParameters=this.flowParseTypeParameterInstantiation():r.typeParameters=null,s.push(this.finishNode(r,"ClassImplements"))}while(this.eat(12))}}checkGetterSetterParams(e){super.checkGetterSetterParams(e);let s=this.getObjectOrClassMethodParams(e);if(s.length>0){let r=s[0];this.isThisParam(r)&&e.kind==="get"?this.raise(E.GetterMayNotHaveThisParam,r):this.isThisParam(r)&&this.raise(E.SetterMayNotHaveThisParam,r)}}parsePropertyNamePrefixOperator(e){e.variance=this.flowParseVariance()}parseObjPropValue(e,s,r,i,a,n,o){e.variance&&this.unexpected(e.variance.loc.start),delete e.variance;let p;this.match(47)&&!n&&(p=this.flowParseTypeParameterDeclaration(),this.match(10)||this.unexpected());let l=super.parseObjPropValue(e,s,r,i,a,n,o);return p&&((l.value||l).typeParameters=p),l}parseFunctionParamType(e){return this.eat(17)&&(e.type!=="Identifier"&&this.raise(E.PatternIsOptional,e),this.isThisParam(e)&&this.raise(E.ThisParamMayNotBeOptional,e),e.optional=!0),this.match(14)?e.typeAnnotation=this.flowParseTypeAnnotation():this.isThisParam(e)&&this.raise(E.ThisParamAnnotationRequired,e),this.match(29)&&this.isThisParam(e)&&this.raise(E.ThisParamNoDefault,e),this.resetEndLocation(e),e}parseMaybeDefault(e,s){let r=super.parseMaybeDefault(e,s);return r.type==="AssignmentPattern"&&r.typeAnnotation&&r.right.startsuper.parseMaybeAssign(e,s),i),!a.error)return a.node;let{context:p}=this.state,l=p[p.length-1];(l===D.j_oTag||l===D.j_expr)&&p.pop()}if((r=a)!=null&&r.error||this.match(47)){var n,o;i=i||this.state.clone();let p,l=this.tryParse(y=>{var A;p=this.flowParseTypeParameterDeclaration();let T=this.forwardNoArrowParamsConversionAt(p,()=>{let R=super.parseMaybeAssign(e,s);return this.resetStartLocationFromNode(R,p),R});(A=T.extra)!=null&&A.parenthesized&&y();let N=this.maybeUnwrapTypeCastExpression(T);return N.type!=="ArrowFunctionExpression"&&y(),N.typeParameters=p,this.resetStartLocationFromNode(N,p),T},i),d=null;if(l.node&&this.maybeUnwrapTypeCastExpression(l.node).type==="ArrowFunctionExpression"){if(!l.error&&!l.aborted)return l.node.async&&this.raise(E.UnexpectedTypeParameterBeforeAsyncArrowFunction,p),l.node;d=l.node}if((n=a)!=null&&n.node)return this.state=a.failState,a.node;if(d)return this.state=l.failState,d;throw(o=a)!=null&&o.thrown?a.error:l.thrown?l.error:this.raise(E.UnexpectedTokenAfterTypeParameter,p)}return super.parseMaybeAssign(e,s)}parseArrow(e){if(this.match(14)){let s=this.tryParse(()=>{let r=this.state.noAnonFunctionType;this.state.noAnonFunctionType=!0;let i=this.startNode();return[i.typeAnnotation,e.predicate]=this.flowParseTypeAndPredicateInitialiser(),this.state.noAnonFunctionType=r,this.canInsertSemicolon()&&this.unexpected(),this.match(19)||this.unexpected(),i});if(s.thrown)return null;s.error&&(this.state=s.failState),e.returnType=s.node.typeAnnotation?this.finishNode(s.node,"TypeAnnotation"):null}return super.parseArrow(e)}shouldParseArrow(e){return this.match(14)||super.shouldParseArrow(e)}setArrowFunctionParameters(e,s){this.state.noArrowParamsConversionAt.includes(this.offsetToSourcePos(e.start))?e.params=s:super.setArrowFunctionParameters(e,s)}checkParams(e,s,r,i=!0){if(!(r&&this.state.noArrowParamsConversionAt.includes(this.offsetToSourcePos(e.start)))){for(let a=0;a0&&this.raise(E.ThisParamMustBeFirst,e.params[a]);super.checkParams(e,s,r,i)}}parseParenAndDistinguishExpression(e){return super.parseParenAndDistinguishExpression(e&&!this.state.noArrowAt.includes(this.sourceToOffsetPos(this.state.start)))}parseSubscripts(e,s,r){if(e.type==="Identifier"&&e.name==="async"&&this.state.noArrowAt.includes(s.index)){this.next();let i=this.startNodeAt(s);i.callee=e,i.arguments=super.parseCallExpressionArguments(11),e=this.finishNode(i,"CallExpression")}else if(e.type==="Identifier"&&e.name==="async"&&this.match(47)){let i=this.state.clone(),a=this.tryParse(o=>this.parseAsyncArrowWithTypeParameters(s)||o(),i);if(!a.error&&!a.aborted)return a.node;let n=this.tryParse(()=>super.parseSubscripts(e,s,r),i);if(n.node&&!n.error)return n.node;if(a.node)return this.state=a.failState,a.node;if(n.node)return this.state=n.failState,n.node;throw a.error||n.error}return super.parseSubscripts(e,s,r)}parseSubscript(e,s,r,i){if(this.match(18)&&this.isLookaheadToken_lt()){if(i.optionalChainMember=!0,r)return i.stop=!0,e;this.next();let a=this.startNodeAt(s);return a.callee=e,a.typeArguments=this.flowParseTypeParameterInstantiationInExpression(),this.expect(10),a.arguments=this.parseCallExpressionArguments(11),a.optional=!0,this.finishCallExpression(a,!0)}else if(!r&&this.shouldParseTypes()&&(this.match(47)||this.match(51))){let a=this.startNodeAt(s);a.callee=e;let n=this.tryParse(()=>(a.typeArguments=this.flowParseTypeParameterInstantiationCallOrNew(),this.expect(10),a.arguments=super.parseCallExpressionArguments(11),i.optionalChainMember&&(a.optional=!1),this.finishCallExpression(a,i.optionalChainMember)));if(n.node)return n.error&&(this.state=n.failState),n.node}return super.parseSubscript(e,s,r,i)}parseNewCallee(e){super.parseNewCallee(e);let s=null;this.shouldParseTypes()&&this.match(47)&&(s=this.tryParse(()=>this.flowParseTypeParameterInstantiationCallOrNew()).node),e.typeArguments=s}parseAsyncArrowWithTypeParameters(e){let s=this.startNodeAt(e);if(this.parseFunctionParams(s,!1),!!this.parseArrow(s))return super.parseArrowExpression(s,void 0,!0)}readToken_mult_modulo(e){let s=this.input.charCodeAt(this.state.pos+1);if(e===42&&s===47&&this.state.hasFlowComment){this.state.hasFlowComment=!1,this.state.pos+=2,this.nextToken();return}super.readToken_mult_modulo(e)}readToken_pipe_amp(e){let s=this.input.charCodeAt(this.state.pos+1);if(e===124&&s===125){this.finishOp(9,2);return}super.readToken_pipe_amp(e)}parseTopLevel(e,s){let r=super.parseTopLevel(e,s);return this.state.hasFlowComment&&this.raise(E.UnterminatedFlowComment,this.state.curPosition()),r}skipBlockComment(){if(this.hasPlugin("flowComments")&&this.skipFlowComment()){if(this.state.hasFlowComment)throw this.raise(E.NestedFlowComment,this.state.startLoc);this.hasFlowCommentCompletion();let e=this.skipFlowComment();e&&(this.state.pos+=e,this.state.hasFlowComment=!0);return}return super.skipBlockComment(this.state.hasFlowComment?"*-/":"*/")}skipFlowComment(){let{pos:e}=this.state,s=2;for(;[32,9].includes(this.input.charCodeAt(e+s));)s++;let r=this.input.charCodeAt(s+e),i=this.input.charCodeAt(s+e+1);return r===58&&i===58?s+2:this.input.slice(s+e,s+e+12)==="flow-include"?s+12:r===58&&i!==58?s:!1}hasFlowCommentCompletion(){if(this.input.indexOf("*/",this.state.pos)===-1)throw this.raise(u.UnterminatedComment,this.state.curPosition())}flowEnumErrorBooleanMemberNotInitialized(e,{enumName:s,memberName:r}){this.raise(E.EnumBooleanMemberNotInitialized,e,{memberName:r,enumName:s})}flowEnumErrorInvalidMemberInitializer(e,s){return this.raise(s.explicitType?s.explicitType==="symbol"?E.EnumInvalidMemberInitializerSymbolType:E.EnumInvalidMemberInitializerPrimaryType:E.EnumInvalidMemberInitializerUnknownType,e,s)}flowEnumErrorNumberMemberNotInitialized(e,s){this.raise(E.EnumNumberMemberNotInitialized,e,s)}flowEnumErrorStringMemberInconsistentlyInitialized(e,s){this.raise(E.EnumStringMemberInconsistentlyInitialized,e,s)}flowEnumMemberInit(){let e=this.state.startLoc,s=()=>this.match(12)||this.match(8);switch(this.state.type){case 135:{let r=this.parseNumericLiteral(this.state.value);return s()?{type:"number",loc:r.loc.start,value:r}:{type:"invalid",loc:e}}case 134:{let r=this.parseStringLiteral(this.state.value);return s()?{type:"string",loc:r.loc.start,value:r}:{type:"invalid",loc:e}}case 85:case 86:{let r=this.parseBooleanLiteral(this.match(85));return s()?{type:"boolean",loc:r.loc.start,value:r}:{type:"invalid",loc:e}}default:return{type:"invalid",loc:e}}}flowEnumMemberRaw(){let e=this.state.startLoc,s=this.parseIdentifier(!0),r=this.eat(29)?this.flowEnumMemberInit():{type:"none",loc:e};return{id:s,init:r}}flowEnumCheckExplicitTypeMismatch(e,s,r){let{explicitType:i}=s;i!==null&&i!==r&&this.flowEnumErrorInvalidMemberInitializer(e,s)}flowEnumMembers({enumName:e,explicitType:s}){let r=new Set,i={booleanMembers:[],numberMembers:[],stringMembers:[],defaultedMembers:[]},a=!1;for(;!this.match(8);){if(this.eat(21)){a=!0;break}let n=this.startNode(),{id:o,init:p}=this.flowEnumMemberRaw(),l=o.name;if(l==="")continue;/^[a-z]/.test(l)&&this.raise(E.EnumInvalidMemberName,o,{memberName:l,suggestion:l[0].toUpperCase()+l.slice(1),enumName:e}),r.has(l)&&this.raise(E.EnumDuplicateMemberName,o,{memberName:l,enumName:e}),r.add(l);let d={enumName:e,explicitType:s,memberName:l};switch(n.id=o,p.type){case"boolean":{this.flowEnumCheckExplicitTypeMismatch(p.loc,d,"boolean"),n.init=p.value,i.booleanMembers.push(this.finishNode(n,"EnumBooleanMember"));break}case"number":{this.flowEnumCheckExplicitTypeMismatch(p.loc,d,"number"),n.init=p.value,i.numberMembers.push(this.finishNode(n,"EnumNumberMember"));break}case"string":{this.flowEnumCheckExplicitTypeMismatch(p.loc,d,"string"),n.init=p.value,i.stringMembers.push(this.finishNode(n,"EnumStringMember"));break}case"invalid":throw this.flowEnumErrorInvalidMemberInitializer(p.loc,d);case"none":switch(s){case"boolean":this.flowEnumErrorBooleanMemberNotInitialized(p.loc,d);break;case"number":this.flowEnumErrorNumberMemberNotInitialized(p.loc,d);break;default:i.defaultedMembers.push(this.finishNode(n,"EnumDefaultedMember"))}}this.match(8)||this.expect(12)}return{members:i,hasUnknownMembers:a}}flowEnumStringMembers(e,s,{enumName:r}){if(e.length===0)return s;if(s.length===0)return e;if(s.length>e.length){for(let i of e)this.flowEnumErrorStringMemberInconsistentlyInitialized(i,{enumName:r});return s}else{for(let i of s)this.flowEnumErrorStringMemberInconsistentlyInitialized(i,{enumName:r});return e}}flowEnumParseExplicitType({enumName:e}){if(!this.eatContextual(102))return null;if(!F(this.state.type))throw this.raise(E.EnumInvalidExplicitTypeUnknownSupplied,this.state.startLoc,{enumName:e});let{value:s}=this.state;return this.next(),s!=="boolean"&&s!=="number"&&s!=="string"&&s!=="symbol"&&this.raise(E.EnumInvalidExplicitType,this.state.startLoc,{enumName:e,invalidEnumType:s}),s}flowEnumBody(e,s){let r=s.name,i=s.loc.start,a=this.flowEnumParseExplicitType({enumName:r});this.expect(5);let{members:n,hasUnknownMembers:o}=this.flowEnumMembers({enumName:r,explicitType:a});switch(e.hasUnknownMembers=o,a){case"boolean":return e.explicitType=!0,e.members=n.booleanMembers,this.expect(8),this.finishNode(e,"EnumBooleanBody");case"number":return e.explicitType=!0,e.members=n.numberMembers,this.expect(8),this.finishNode(e,"EnumNumberBody");case"string":return e.explicitType=!0,e.members=this.flowEnumStringMembers(n.stringMembers,n.defaultedMembers,{enumName:r}),this.expect(8),this.finishNode(e,"EnumStringBody");case"symbol":return e.members=n.defaultedMembers,this.expect(8),this.finishNode(e,"EnumSymbolBody");default:{let p=()=>(e.members=[],this.expect(8),this.finishNode(e,"EnumStringBody"));e.explicitType=!1;let l=n.booleanMembers.length,d=n.numberMembers.length,y=n.stringMembers.length,A=n.defaultedMembers.length;if(!l&&!d&&!y&&!A)return p();if(!l&&!d)return e.members=this.flowEnumStringMembers(n.stringMembers,n.defaultedMembers,{enumName:r}),this.expect(8),this.finishNode(e,"EnumStringBody");if(!d&&!y&&l>=A){for(let T of n.defaultedMembers)this.flowEnumErrorBooleanMemberNotInitialized(T.loc.start,{enumName:r,memberName:T.id.name});return e.members=n.booleanMembers,this.expect(8),this.finishNode(e,"EnumBooleanBody")}else if(!l&&!y&&d>=A){for(let T of n.defaultedMembers)this.flowEnumErrorNumberMemberNotInitialized(T.loc.start,{enumName:r,memberName:T.id.name});return e.members=n.numberMembers,this.expect(8),this.finishNode(e,"EnumNumberBody")}else return this.raise(E.EnumInconsistentMemberValues,i,{enumName:r}),p()}}}flowParseEnumDeclaration(e){let s=this.parseIdentifier();return e.id=s,e.body=this.flowEnumBody(this.startNode(),s),this.finishNode(e,"EnumDeclaration")}jsxParseOpeningElementAfterName(e){return this.shouldParseTypes()&&(this.match(47)||this.match(51))&&(e.typeArguments=this.flowParseTypeParameterInstantiationInExpression()),super.jsxParseOpeningElementAfterName(e)}isLookaheadToken_lt(){let e=this.nextTokenStart();if(this.input.charCodeAt(e)===60){let s=this.input.charCodeAt(e+1);return s!==60&&s!==61}return!1}reScan_lt_gt(){let{type:e}=this.state;e===47?(this.state.pos-=1,this.readToken_lt()):e===48&&(this.state.pos-=1,this.readToken_gt())}reScan_lt(){let{type:e}=this.state;return e===51?(this.state.pos-=2,this.finishOp(47,1),47):e}maybeUnwrapTypeCastExpression(e){return e.type==="TypeCastExpression"?e.expression:e}},vi=/\r\n|[\r\n\u2028\u2029]/,ke=new RegExp(vi.source,"g");function ue(t){switch(t){case 10:case 13:case 8232:case 8233:return!0;default:return!1}}function ss(t,e,s){for(let r=e;r`Expected corresponding JSX closing tag for <${t}>.`,MissingClosingTagFragment:"Expected corresponding JSX closing tag for <>.",UnexpectedSequenceExpression:"Sequence expressions cannot be directly nested inside JSX. Did you mean to wrap it in parentheses (...)?",UnexpectedToken:({unexpected:t,HTMLEntity:e})=>`Unexpected token \`${t}\`. Did you mean \`${e}\` or \`{'${t}'}\`?`,UnsupportedJsxValue:"JSX value should be either an expression or a quoted JSX text.",UnterminatedJsxContent:"Unterminated JSX contents.",UnwrappedAdjacentJSXElements:"Adjacent JSX elements must be wrapped in an enclosing tag. Did you want a JSX fragment <>...?"});function te(t){return t?t.type==="JSXOpeningFragment"||t.type==="JSXClosingFragment":!1}function ce(t){if(t.type==="JSXIdentifier")return t.name;if(t.type==="JSXNamespacedName")return t.namespace.name+":"+t.name.name;if(t.type==="JSXMemberExpression")return ce(t.object)+"."+ce(t.property);throw new Error("Node had unexpected type: "+t.type)}var Di=t=>class extends t{jsxReadToken(){let e="",s=this.state.pos;for(;;){if(this.state.pos>=this.length)throw this.raise(ae.UnterminatedJsxContent,this.state.startLoc);let r=this.input.charCodeAt(this.state.pos);switch(r){case 60:case 123:if(this.state.pos===this.state.start){r===60&&this.state.canStartJSXElement?(++this.state.pos,this.finishToken(143)):super.getTokenFromCode(r);return}e+=this.input.slice(s,this.state.pos),this.finishToken(142,e);return;case 38:e+=this.input.slice(s,this.state.pos),e+=this.jsxReadEntity(),s=this.state.pos;break;case 62:case 125:default:ue(r)?(e+=this.input.slice(s,this.state.pos),e+=this.jsxReadNewLine(!0),s=this.state.pos):++this.state.pos}}}jsxReadNewLine(e){let s=this.input.charCodeAt(this.state.pos),r;return++this.state.pos,s===13&&this.input.charCodeAt(this.state.pos)===10?(++this.state.pos,r=e?` +`:`\r +`):r=String.fromCharCode(s),++this.state.curLine,this.state.lineStart=this.state.pos,r}jsxReadString(e){let s="",r=++this.state.pos;for(;;){if(this.state.pos>=this.length)throw this.raise(u.UnterminatedString,this.state.startLoc);let i=this.input.charCodeAt(this.state.pos);if(i===e)break;i===38?(s+=this.input.slice(r,this.state.pos),s+=this.jsxReadEntity(),r=this.state.pos):ue(i)?(s+=this.input.slice(r,this.state.pos),s+=this.jsxReadNewLine(!1),r=this.state.pos):++this.state.pos}s+=this.input.slice(r,this.state.pos++),this.finishToken(134,s)}jsxReadEntity(){let e=++this.state.pos;if(this.codePointAtPos(this.state.pos)===35){++this.state.pos;let s=10;this.codePointAtPos(this.state.pos)===120&&(s=16,++this.state.pos);let r=this.readInt(s,void 0,!1,"bail");if(r!==null&&this.codePointAtPos(this.state.pos)===59)return++this.state.pos,String.fromCodePoint(r)}else{let s=0,r=!1;for(;s++<10&&this.state.pos1){for(let r=0;r0){if(s&256){let i=!!(s&512),a=(r&4)>0;return i!==a}return!0}return s&128&&(r&8)>0?t.names.get(e)&2?!!(s&1):!1:s&2&&(r&1)>0?!0:super.isRedeclaredInScope(t,e,s)}checkLocalExport(t){let{name:e}=t;if(this.hasImport(e))return;let s=this.scopeStack.length;for(let r=s-1;r>=0;r--){let i=this.scopeStack[r].tsNames.get(e);if((i&1)>0||(i&16)>0)return}super.checkLocalExport(t)}},Mi=class{constructor(){this.stacks=[]}enter(t){this.stacks.push(t)}exit(){this.stacks.pop()}currentFlags(){return this.stacks[this.stacks.length-1]}get hasAwait(){return(this.currentFlags()&2)>0}get hasYield(){return(this.currentFlags()&1)>0}get hasReturn(){return(this.currentFlags()&4)>0}get hasIn(){return(this.currentFlags()&8)>0}};function De(t,e){return(t?2:0)|(e?1:0)}var Bi=class{constructor(){this.sawUnambiguousESM=!1,this.ambiguousScriptDifferentAst=!1}sourceToOffsetPos(t){return t+this.startIndex}offsetToSourcePos(t){return t-this.startIndex}hasPlugin(t){if(typeof t=="string")return this.plugins.has(t);{let[e,s]=t;if(!this.hasPlugin(e))return!1;let r=this.plugins.get(e);for(let i of Object.keys(s))if((r==null?void 0:r[i])!==s[i])return!1;return!0}}getPluginOption(t,e){var s;return(s=this.plugins.get(t))==null?void 0:s[e]}};function rs(t,e){t.trailingComments===void 0?t.trailingComments=e:t.trailingComments.unshift(...e)}function Oi(t,e){t.leadingComments===void 0?t.leadingComments=e:t.leadingComments.unshift(...e)}function Ee(t,e){t.innerComments===void 0?t.innerComments=e:t.innerComments.unshift(...e)}function se(t,e,s){let r=null,i=e.length;for(;r===null&&i>0;)r=e[--i];r===null||r.start>s.start?Ee(t,s.comments):rs(r,s.comments)}var Ri=class extends Bi{addComment(t){this.filename&&(t.loc.filename=this.filename);let{commentsLen:e}=this.state;this.comments.length!==e&&(this.comments.length=e),this.comments.push(t),this.state.commentsLen++}processComment(t){let{commentStack:e}=this.state,s=e.length;if(s===0)return;let r=s-1,i=e[r];i.start===t.end&&(i.leadingNode=t,r--);let{start:a}=t;for(;r>=0;r--){let n=e[r],o=n.end;if(o>a)n.containingNode=t,this.finalizeComment(n),e.splice(r,1);else{o===a&&(n.trailingNode=t);break}}}finalizeComment(t){var e;let{comments:s}=t;if(t.leadingNode!==null||t.trailingNode!==null)t.leadingNode!==null&&rs(t.leadingNode,s),t.trailingNode!==null&&Oi(t.trailingNode,s);else{let{containingNode:r,start:i}=t;if(this.input.charCodeAt(this.offsetToSourcePos(i)-1)===44)switch(r.type){case"ObjectExpression":case"ObjectPattern":case"RecordExpression":se(r,r.properties,t);break;case"CallExpression":case"OptionalCallExpression":se(r,r.arguments,t);break;case"ImportExpression":se(r,[r.source,(e=r.options)!=null?e:null],t);break;case"FunctionDeclaration":case"FunctionExpression":case"ArrowFunctionExpression":case"ObjectMethod":case"ClassMethod":case"ClassPrivateMethod":se(r,r.params,t);break;case"ArrayExpression":case"ArrayPattern":case"TupleExpression":se(r,r.elements,t);break;case"ExportNamedDeclaration":case"ImportDeclaration":se(r,r.specifiers,t);break;case"TSEnumDeclaration":se(r,r.members,t);break;case"TSEnumBody":se(r,r.members,t);break;default:Ee(r,s)}else Ee(r,s)}}finalizeRemainingComments(){let{commentStack:t}=this.state;for(let e=t.length-1;e>=0;e--)this.finalizeComment(t[e]);this.state.commentStack=[]}resetPreviousNodeTrailingComments(t){let{commentStack:e}=this.state,{length:s}=e;if(s===0)return;let r=e[s-1];r.leadingNode===t&&(r.leadingNode=null)}takeSurroundingComments(t,e,s){let{commentStack:r}=this.state,i=r.length;if(i===0)return;let a=i-1;for(;a>=0;a--){let n=r[a],o=n.end;if(n.start===s)n.leadingNode=t;else if(o===e)n.trailingNode=t;else if(o0}set strict(e){e?this.flags|=1:this.flags&=-2}init({strictMode:e,sourceType:s,startIndex:r,startLine:i,startColumn:a}){this.strict=e===!1?!1:e===!0?!0:s==="module",this.startIndex=r,this.curLine=i,this.lineStart=-a,this.startLoc=this.endLoc=new m(i,a,r)}get maybeInArrowParameters(){return(this.flags&2)>0}set maybeInArrowParameters(e){e?this.flags|=2:this.flags&=-3}get inType(){return(this.flags&4)>0}set inType(e){e?this.flags|=4:this.flags&=-5}get noAnonFunctionType(){return(this.flags&8)>0}set noAnonFunctionType(e){e?this.flags|=8:this.flags&=-9}get hasFlowComment(){return(this.flags&16)>0}set hasFlowComment(e){e?this.flags|=16:this.flags&=-17}get isAmbientContext(){return(this.flags&32)>0}set isAmbientContext(e){e?this.flags|=32:this.flags&=-33}get inAbstractClass(){return(this.flags&64)>0}set inAbstractClass(e){e?this.flags|=64:this.flags&=-65}get inDisallowConditionalTypesContext(){return(this.flags&128)>0}set inDisallowConditionalTypesContext(e){e?this.flags|=128:this.flags&=-129}get soloAwait(){return(this.flags&256)>0}set soloAwait(e){e?this.flags|=256:this.flags&=-257}get inFSharpPipelineDirectBody(){return(this.flags&512)>0}set inFSharpPipelineDirectBody(e){e?this.flags|=512:this.flags&=-513}get canStartJSXElement(){return(this.flags&1024)>0}set canStartJSXElement(e){e?this.flags|=1024:this.flags&=-1025}get containsEsc(){return(this.flags&2048)>0}set containsEsc(e){e?this.flags|=2048:this.flags&=-2049}get hasTopLevelAwait(){return(this.flags&4096)>0}set hasTopLevelAwait(e){e?this.flags|=4096:this.flags&=-4097}curPosition(){return new m(this.curLine,this.pos-this.lineStart,this.pos+this.startIndex)}clone(){let e=new bs;return e.flags=this.flags,e.startIndex=this.startIndex,e.curLine=this.curLine,e.lineStart=this.lineStart,e.startLoc=this.startLoc,e.endLoc=this.endLoc,e.errors=this.errors.slice(),e.potentialArrowAt=this.potentialArrowAt,e.noArrowAt=this.noArrowAt.slice(),e.noArrowParamsConversionAt=this.noArrowParamsConversionAt.slice(),e.topicContext=this.topicContext,e.labels=this.labels.slice(),e.commentsLen=this.commentsLen,e.commentStack=this.commentStack.slice(),e.pos=this.pos,e.type=this.type,e.value=this.value,e.start=this.start,e.end=this.end,e.lastTokEndLoc=this.lastTokEndLoc,e.lastTokStartLoc=this.lastTokStartLoc,e.context=this.context.slice(),e.firstInvalidTemplateEscapePos=this.firstInvalidTemplateEscapePos,e.strictErrors=this.strictErrors,e.tokensLength=this.tokensLength,e}},ji=function(t){return t>=48&&t<=57},is={decBinOct:new Set([46,66,69,79,95,98,101,111]),hex:new Set([46,88,95,120])},Fe={bin:t=>t===48||t===49,oct:t=>t>=48&&t<=55,dec:t=>t>=48&&t<=57,hex:t=>t>=48&&t<=57||t>=65&&t<=70||t>=97&&t<=102};function as(t,e,s,r,i,a){let n=s,o=r,p=i,l="",d=null,y=s,{length:A}=e;for(;;){if(s>=A){a.unterminated(n,o,p),l+=e.slice(y,s);break}let T=e.charCodeAt(s);if(_i(t,T,e,s)){l+=e.slice(y,s);break}if(T===92){l+=e.slice(y,s);let N=Hi(e,s,r,i,t==="template",a);N.ch===null&&!d?d={pos:s,lineStart:r,curLine:i}:l+=N.ch,{pos:s,lineStart:r,curLine:i}=N,y=s}else T===8232||T===8233?(++s,++i,r=s):T===10||T===13?t==="template"?(l+=e.slice(y,s)+` +`,++s,T===13&&e.charCodeAt(s)===10&&++s,++i,y=r=s):a.unterminated(n,o,p):++s}return{pos:s,str:l,firstInvalidLoc:d,lineStart:r,curLine:i,containsInvalid:!!d}}function _i(t,e,s,r){return t==="template"?e===96||e===36&&s.charCodeAt(r+1)===123:e===(t==="double"?34:39)}function Hi(t,e,s,r,i,a){let n=!i;e++;let o=l=>({pos:e,ch:l,lineStart:s,curLine:r}),p=t.charCodeAt(e++);switch(p){case 110:return o(` +`);case 114:return o("\r");case 120:{let l;return{code:l,pos:e}=at(t,e,s,r,2,!1,n,a),o(l===null?null:String.fromCharCode(l))}case 117:{let l;return{code:l,pos:e}=os(t,e,s,r,n,a),o(l===null?null:String.fromCodePoint(l))}case 116:return o(" ");case 98:return o("\b");case 118:return o("\v");case 102:return o("\f");case 13:t.charCodeAt(e)===10&&++e;case 10:s=e,++r;case 8232:case 8233:return o("");case 56:case 57:if(i)return o(null);a.strictNumericEscape(e-1,s,r);default:if(p>=48&&p<=55){let l=e-1,d=/^[0-7]+/.exec(t.slice(l,e+2))[0],y=parseInt(d,8);y>255&&(d=d.slice(0,-1),y=parseInt(d,8)),e+=d.length-1;let A=t.charCodeAt(e);if(d!=="0"||A===56||A===57){if(i)return o(null);a.strictNumericEscape(l,s,r)}return o(String.fromCharCode(y))}return o(String.fromCharCode(p))}}function at(t,e,s,r,i,a,n,o){let p=e,l;return{n:l,pos:e}=ns(t,e,s,r,16,i,a,!1,o,!n),l===null&&(n?o.invalidEscapeSequence(p,s,r):e=p-1),{code:l,pos:e}}function ns(t,e,s,r,i,a,n,o,p,l){let d=e,y=i===16?is.hex:is.decBinOct,A=i===16?Fe.hex:i===10?Fe.dec:i===8?Fe.oct:Fe.bin,T=!1,N=0;for(let R=0,L=a??1/0;R=97?H=U-97+10:U>=65?H=U-65+10:ji(U)?H=U-48:H=1/0,H>=i){if(H<=9&&l)return{n:null,pos:e};if(H<=9&&p.invalidDigit(e,s,r,i))H=0;else if(n)H=0,T=!0;else break}++e,N=N*i+H}return e===d||a!=null&&e-d!==a||T?{n:null,pos:e}:{n:N,pos:e}}function os(t,e,s,r,i,a){let n=t.charCodeAt(e),o;if(n===123){if(++e,{code:o,pos:e}=at(t,e,s,r,t.indexOf("}",e)-e,!0,i,a),++e,o!==null&&o>1114111)if(i)a.invalidCodePoint(e,s,r);else return{code:null,pos:e}}else({code:o,pos:e}=at(t,e,s,r,4,!1,i,a));return{code:o,pos:e}}function Ce(t,e,s){return new m(s,t-e,t)}var zi=new Set([103,109,115,105,121,117,100,118]),re=class{constructor(t){let e=t.startIndex||0;this.type=t.type,this.value=t.value,this.start=e+t.start,this.end=e+t.end,this.loc=new f(t.startLoc,t.endLoc)}},Vi=class extends Ri{constructor(t,e){super(),this.isLookahead=void 0,this.tokens=[],this.errorHandlers_readInt={invalidDigit:(s,r,i,a)=>this.optionFlags&2048?(this.raise(u.InvalidDigit,Ce(s,r,i),{radix:a}),!0):!1,numericSeparatorInEscapeSequence:this.errorBuilder(u.NumericSeparatorInEscapeSequence),unexpectedNumericSeparator:this.errorBuilder(u.UnexpectedNumericSeparator)},this.errorHandlers_readCodePoint=Object.assign({},this.errorHandlers_readInt,{invalidEscapeSequence:this.errorBuilder(u.InvalidEscapeSequence),invalidCodePoint:this.errorBuilder(u.InvalidCodePoint)}),this.errorHandlers_readStringContents_string=Object.assign({},this.errorHandlers_readCodePoint,{strictNumericEscape:(s,r,i)=>{this.recordStrictModeErrors(u.StrictNumericEscape,Ce(s,r,i))},unterminated:(s,r,i)=>{throw this.raise(u.UnterminatedString,Ce(s-1,r,i))}}),this.errorHandlers_readStringContents_template=Object.assign({},this.errorHandlers_readCodePoint,{strictNumericEscape:this.errorBuilder(u.StrictNumericEscape),unterminated:(s,r,i)=>{throw this.raise(u.UnterminatedTemplate,Ce(s,r,i))}}),this.state=new Ui,this.state.init(t),this.input=e,this.length=e.length,this.comments=[],this.isLookahead=!1}pushToken(t){this.tokens.length=this.state.tokensLength,this.tokens.push(t),++this.state.tokensLength}next(){this.checkKeywordEscapes(),this.optionFlags&256&&this.pushToken(new re(this.state)),this.state.lastTokEndLoc=this.state.endLoc,this.state.lastTokStartLoc=this.state.startLoc,this.nextToken()}eat(t){return this.match(t)?(this.next(),!0):!1}match(t){return this.state.type===t}createLookaheadState(t){return{pos:t.pos,value:null,type:t.type,start:t.start,end:t.end,context:[this.curContext()],inType:t.inType,startLoc:t.startLoc,lastTokEndLoc:t.lastTokEndLoc,curLine:t.curLine,lineStart:t.lineStart,curPosition:t.curPosition}}lookahead(){let t=this.state;this.state=this.createLookaheadState(t),this.isLookahead=!0,this.nextToken(),this.isLookahead=!1;let e=this.state;return this.state=t,e}nextTokenStart(){return this.nextTokenStartSince(this.state.pos)}nextTokenStartSince(t){return rt.lastIndex=t,rt.test(this.input)?rt.lastIndex:t}lookaheadCharCode(){return this.lookaheadCharCodeSince(this.state.pos)}lookaheadCharCodeSince(t){return this.input.charCodeAt(this.nextTokenStartSince(t))}nextTokenInLineStart(){return this.nextTokenInLineStartSince(this.state.pos)}nextTokenInLineStartSince(t){return it.lastIndex=t,it.test(this.input)?it.lastIndex:t}lookaheadInLineCharCode(){return this.input.charCodeAt(this.nextTokenInLineStart())}codePointAtPos(t){let e=this.input.charCodeAt(t);if((e&64512)===55296&&++tthis.raise(e,s)),this.state.strictErrors.clear())}curContext(){return this.state.context[this.state.context.length-1]}nextToken(){if(this.skipSpace(),this.state.start=this.state.pos,this.isLookahead||(this.state.startLoc=this.state.curPosition()),this.state.pos>=this.length){this.finishToken(140);return}this.getTokenFromCode(this.codePointAtPos(this.state.pos))}skipBlockComment(t){let e;this.isLookahead||(e=this.state.curPosition());let s=this.state.pos,r=this.input.indexOf(t,s+2);if(r===-1)throw this.raise(u.UnterminatedComment,this.state.curPosition());for(this.state.pos=r+t.length,ke.lastIndex=s+2;ke.test(this.input)&&ke.lastIndex<=r;)++this.state.curLine,this.state.lineStart=ke.lastIndex;if(this.isLookahead)return;let i={type:"CommentBlock",value:this.input.slice(s+2,r),start:this.sourceToOffsetPos(s),end:this.sourceToOffsetPos(r+t.length),loc:new f(e,this.state.curPosition())};return this.optionFlags&256&&this.pushToken(i),i}skipLineComment(t){let e=this.state.pos,s;this.isLookahead||(s=this.state.curPosition());let r=this.input.charCodeAt(this.state.pos+=t);if(this.state.post)){let i=this.skipLineComment(3);i!==void 0&&(this.addComment(i),e==null||e.push(i))}else break e}else if(s===60&&!this.inModule&&this.optionFlags&8192){let r=this.state.pos;if(this.input.charCodeAt(r+1)===33&&this.input.charCodeAt(r+2)===45&&this.input.charCodeAt(r+3)===45){let i=this.skipLineComment(4);i!==void 0&&(this.addComment(i),e==null||e.push(i))}else break e}else break e}}if((e==null?void 0:e.length)>0){let s=this.state.pos,r={start:this.sourceToOffsetPos(t),end:this.sourceToOffsetPos(s),comments:e,leadingNode:null,trailingNode:null,containingNode:null};this.state.commentStack.push(r)}}finishToken(t,e){this.state.end=this.state.pos,this.state.endLoc=this.state.curPosition();let s=this.state.type;this.state.type=t,this.state.value=e,this.isLookahead||this.updateContext(s)}replaceToken(t){this.state.type=t,this.updateContext()}readToken_numberSign(){if(this.state.pos===0&&this.readToken_interpreter())return;let t=this.state.pos+1,e=this.codePointAtPos(t);if(e>=48&&e<=57)throw this.raise(u.UnexpectedDigitAfterHash,this.state.curPosition());if(e===123||e===91&&this.hasPlugin("recordAndTuple")){if(this.expectPlugin("recordAndTuple"),this.getPluginOption("recordAndTuple","syntaxType")==="bar")throw this.raise(e===123?u.RecordExpressionHashIncorrectStartSyntaxType:u.TupleExpressionHashIncorrectStartSyntaxType,this.state.curPosition());this.state.pos+=2,e===123?this.finishToken(7):this.finishToken(1)}else G(e)?(++this.state.pos,this.finishToken(139,this.readWord1(e))):e===92?(++this.state.pos,this.finishToken(139,this.readWord1())):this.finishOp(27,1)}readToken_dot(){let t=this.input.charCodeAt(this.state.pos+1);if(t>=48&&t<=57){this.readNumber(!0);return}t===46&&this.input.charCodeAt(this.state.pos+2)===46?(this.state.pos+=3,this.finishToken(21)):(++this.state.pos,this.finishToken(16))}readToken_slash(){this.input.charCodeAt(this.state.pos+1)===61?this.finishOp(31,2):this.finishOp(56,1)}readToken_interpreter(){if(this.state.pos!==0||this.length<2)return!1;let t=this.input.charCodeAt(this.state.pos+1);if(t!==33)return!1;let e=this.state.pos;for(this.state.pos+=1;!ue(t)&&++this.state.pos=48&&e<=57)?(this.state.pos+=2,this.finishToken(18)):(++this.state.pos,this.finishToken(17))}getTokenFromCode(t){switch(t){case 46:this.readToken_dot();return;case 40:++this.state.pos,this.finishToken(10);return;case 41:++this.state.pos,this.finishToken(11);return;case 59:++this.state.pos,this.finishToken(13);return;case 44:++this.state.pos,this.finishToken(12);return;case 91:if(this.hasPlugin("recordAndTuple")&&this.input.charCodeAt(this.state.pos+1)===124){if(this.getPluginOption("recordAndTuple","syntaxType")!=="bar")throw this.raise(u.TupleExpressionBarIncorrectStartSyntaxType,this.state.curPosition());this.state.pos+=2,this.finishToken(2)}else++this.state.pos,this.finishToken(0);return;case 93:++this.state.pos,this.finishToken(3);return;case 123:if(this.hasPlugin("recordAndTuple")&&this.input.charCodeAt(this.state.pos+1)===124){if(this.getPluginOption("recordAndTuple","syntaxType")!=="bar")throw this.raise(u.RecordExpressionBarIncorrectStartSyntaxType,this.state.curPosition());this.state.pos+=2,this.finishToken(6)}else++this.state.pos,this.finishToken(5);return;case 125:++this.state.pos,this.finishToken(8);return;case 58:this.hasPlugin("functionBind")&&this.input.charCodeAt(this.state.pos+1)===58?this.finishOp(15,2):(++this.state.pos,this.finishToken(14));return;case 63:this.readToken_question();return;case 96:this.readTemplateToken();return;case 48:{let e=this.input.charCodeAt(this.state.pos+1);if(e===120||e===88){this.readRadixNumber(16);return}if(e===111||e===79){this.readRadixNumber(8);return}if(e===98||e===66){this.readRadixNumber(2);return}}case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:this.readNumber(!1);return;case 34:case 39:this.readString(t);return;case 47:this.readToken_slash();return;case 37:case 42:this.readToken_mult_modulo(t);return;case 124:case 38:this.readToken_pipe_amp(t);return;case 94:this.readToken_caret();return;case 43:case 45:this.readToken_plus_min(t);return;case 60:this.readToken_lt();return;case 62:this.readToken_gt();return;case 61:case 33:this.readToken_eq_excl(t);return;case 126:this.finishOp(36,1);return;case 64:this.readToken_atSign();return;case 35:this.readToken_numberSign();return;case 92:this.readWord();return;default:if(G(t)){this.readWord(t);return}}throw this.raise(u.InvalidOrUnexpectedToken,this.state.curPosition(),{unexpected:String.fromCodePoint(t)})}finishOp(t,e){let s=this.input.slice(this.state.pos,this.state.pos+e);this.state.pos+=e,this.finishToken(t,s)}readRegexp(){let t=this.state.startLoc,e=this.state.start+1,s,r,{pos:i}=this.state;for(;;++i){if(i>=this.length)throw this.raise(u.UnterminatedRegExp,x(t,1));let p=this.input.charCodeAt(i);if(ue(p))throw this.raise(u.UnterminatedRegExp,x(t,1));if(s)s=!1;else{if(p===91)r=!0;else if(p===93&&r)r=!1;else if(p===47&&!r)break;s=p===92}}let a=this.input.slice(e,i);++i;let n="",o=()=>x(t,i+2-e);for(;i=2&&this.input.charCodeAt(e)===48;if(o){let A=this.input.slice(e,this.state.pos);if(this.recordStrictModeErrors(u.StrictOctalLiteral,s),!this.state.strict){let T=A.indexOf("_");T>0&&this.raise(u.ZeroDigitNumericSeparator,x(s,T))}n=o&&!/[89]/.test(A)}let p=this.input.charCodeAt(this.state.pos);if(p===46&&!n&&(++this.state.pos,this.readInt(10),r=!0,p=this.input.charCodeAt(this.state.pos)),(p===69||p===101)&&!n&&(p=this.input.charCodeAt(++this.state.pos),(p===43||p===45)&&++this.state.pos,this.readInt(10)===null&&this.raise(u.InvalidOrMissingExponent,s),r=!0,a=!0,p=this.input.charCodeAt(this.state.pos)),p===110&&((r||o)&&this.raise(u.InvalidBigIntLiteral,s),++this.state.pos,i=!0),p===109){this.expectPlugin("decimal",this.state.curPosition()),(a||o)&&this.raise(u.InvalidDecimal,s),++this.state.pos;var l=!0}if(G(this.codePointAtPos(this.state.pos)))throw this.raise(u.NumberIdentifier,this.state.curPosition());let d=this.input.slice(e,this.state.pos).replace(/[_mn]/g,"");if(i){this.finishToken(136,d);return}if(l){this.finishToken(137,d);return}let y=n?parseInt(d,8):parseFloat(d);this.finishToken(135,y)}readCodePoint(t){let{code:e,pos:s}=os(this.input,this.state.pos,this.state.lineStart,this.state.curLine,t,this.errorHandlers_readCodePoint);return this.state.pos=s,e}readString(t){let{str:e,pos:s,curLine:r,lineStart:i}=as(t===34?"double":"single",this.input,this.state.pos+1,this.state.lineStart,this.state.curLine,this.errorHandlers_readStringContents_string);this.state.pos=s+1,this.state.lineStart=i,this.state.curLine=r,this.finishToken(134,e)}readTemplateContinuation(){this.match(8)||this.unexpected(null,8),this.state.pos--,this.readTemplateToken()}readTemplateToken(){let t=this.input[this.state.pos],{str:e,firstInvalidLoc:s,pos:r,curLine:i,lineStart:a}=as("template",this.input,this.state.pos+1,this.state.lineStart,this.state.curLine,this.errorHandlers_readStringContents_template);this.state.pos=r+1,this.state.lineStart=a,this.state.curLine=i,s&&(this.state.firstInvalidTemplateEscapePos=new m(s.curLine,s.pos-s.lineStart,this.sourceToOffsetPos(s.pos))),this.input.codePointAt(r)===96?this.finishToken(24,s?null:t+e+"`"):(this.state.pos++,this.finishToken(25,s?null:t+e+"${"))}recordStrictModeErrors(t,e){let s=e.index;this.state.strict&&!this.state.strictErrors.has(s)?this.raise(t,e):this.state.strictErrors.set(s,[t,e])}readWord1(t){this.state.containsEsc=!1;let e="",s=this.state.pos,r=this.state.pos;for(t!==void 0&&(this.state.pos+=t<=65535?1:2);this.state.pos=0;n--){let o=a[n];if(o.loc.index===i)return a[n]=t(r,s);if(o.loc.indexthis.hasPlugin(e)))throw this.raise(u.MissingOneOfPlugins,this.state.startLoc,{missingPlugin:t})}errorBuilder(t){return(e,s,r)=>{this.raise(t,Ce(e,s,r))}}},$i=class{constructor(){this.privateNames=new Set,this.loneAccessors=new Map,this.undefinedPrivateNames=new Map}},qi=class{constructor(t){this.parser=void 0,this.stack=[],this.undefinedPrivateNames=new Map,this.parser=t}current(){return this.stack[this.stack.length-1]}enter(){this.stack.push(new $i)}exit(){let t=this.stack.pop(),e=this.current();for(let[s,r]of Array.from(t.undefinedPrivateNames))e?e.undefinedPrivateNames.has(s)||e.undefinedPrivateNames.set(s,r):this.parser.raise(u.InvalidPrivateFieldResolution,r,{identifierName:s})}declarePrivateName(t,e,s){let{privateNames:r,loneAccessors:i,undefinedPrivateNames:a}=this.current(),n=r.has(t);if(e&3){let o=n&&i.get(t);if(o){let p=o&4,l=e&4,d=o&3,y=e&3;n=d===y||p!==l,n||i.delete(t)}else n||i.set(t,e)}n&&this.parser.raise(u.PrivateNameRedeclaration,s,{identifierName:t}),r.add(t),a.delete(t)}usePrivateName(t,e){let s;for(s of this.stack)if(s.privateNames.has(t))return;s?s.undefinedPrivateNames.set(t,e):this.parser.raise(u.InvalidPrivateFieldResolution,e,{identifierName:t})}},Le=class{constructor(t=0){this.type=t}canBeArrowParameterDeclaration(){return this.type===2||this.type===1}isCertainlyParameterDeclaration(){return this.type===3}},ls=class extends Le{constructor(t){super(t),this.declarationErrors=new Map}recordDeclarationError(t,e){let s=e.index;this.declarationErrors.set(s,[t,e])}clearDeclarationError(t){this.declarationErrors.delete(t)}iterateErrors(t){this.declarationErrors.forEach(t)}},Ki=class{constructor(t){this.parser=void 0,this.stack=[new Le],this.parser=t}enter(t){this.stack.push(t)}exit(){this.stack.pop()}recordParameterInitializerError(t,e){let s=e.loc.start,{stack:r}=this,i=r.length-1,a=r[i];for(;!a.isCertainlyParameterDeclaration();){if(a.canBeArrowParameterDeclaration())a.recordDeclarationError(t,s);else return;a=r[--i]}this.parser.raise(t,s)}recordArrowParameterBindingError(t,e){let{stack:s}=this,r=s[s.length-1],i=e.loc.start;if(r.isCertainlyParameterDeclaration())this.parser.raise(t,i);else if(r.canBeArrowParameterDeclaration())r.recordDeclarationError(t,i);else return}recordAsyncArrowParametersError(t){let{stack:e}=this,s=e.length-1,r=e[s];for(;r.canBeArrowParameterDeclaration();)r.type===2&&r.recordDeclarationError(u.AwaitBindingIdentifier,t),r=e[--s]}validateAsPattern(){let{stack:t}=this,e=t[t.length-1];e.canBeArrowParameterDeclaration()&&e.iterateErrors(([s,r])=>{this.parser.raise(s,r);let i=t.length-2,a=t[i];for(;a.canBeArrowParameterDeclaration();)a.clearDeclarationError(r.index),a=t[--i]})}};function Ji(){return new Le(3)}function Wi(){return new ls(1)}function Xi(){return new ls(2)}function hs(){return new Le}var Gi=class extends Vi{addExtra(t,e,s,r=!0){if(!t)return;let{extra:i}=t;i==null&&(i={},t.extra=i),r?i[e]=s:Object.defineProperty(i,e,{enumerable:r,value:s})}isContextual(t){return this.state.type===t&&!this.state.containsEsc}isUnparsedContextual(t,e){if(this.input.startsWith(e,t)){let s=this.input.charCodeAt(t+e.length);return!(pe(s)||(s&64512)===55296)}return!1}isLookaheadContextual(t){let e=this.nextTokenStart();return this.isUnparsedContextual(e,t)}eatContextual(t){return this.isContextual(t)?(this.next(),!0):!1}expectContextual(t,e){if(!this.eatContextual(t)){if(e!=null)throw this.raise(e,this.state.startLoc);this.unexpected(null,t)}}canInsertSemicolon(){return this.match(140)||this.match(8)||this.hasPrecedingLineBreak()}hasPrecedingLineBreak(){return ss(this.input,this.offsetToSourcePos(this.state.lastTokEndLoc.index),this.state.start)}hasFollowingLineBreak(){return ss(this.input,this.state.end,this.nextTokenStart())}isLineTerminator(){return this.eat(13)||this.canInsertSemicolon()}semicolon(t=!0){(t?this.isLineTerminator():this.eat(13))||this.raise(u.MissingSemicolon,this.state.lastTokEndLoc)}expect(t,e){this.eat(t)||this.unexpected(e,t)}tryParse(t,e=this.state.clone()){let s={node:null};try{let r=t((i=null)=>{throw s.node=i,s});if(this.state.errors.length>e.errors.length){let i=this.state;return this.state=e,this.state.tokensLength=i.tokensLength,{node:r,error:i.errors[e.errors.length],thrown:!1,aborted:!1,failState:i}}return{node:r,error:null,thrown:!1,aborted:!1,failState:null}}catch(r){let i=this.state;if(this.state=e,r instanceof SyntaxError)return{node:null,error:r,thrown:!0,aborted:!1,failState:i};if(r===s)return{node:s.node,error:null,thrown:!1,aborted:!0,failState:i};throw r}}checkExpressionErrors(t,e){if(!t)return!1;let{shorthandAssignLoc:s,doubleProtoLoc:r,privateKeyLoc:i,optionalParametersLoc:a}=t,n=!!s||!!r||!!a||!!i;if(!e)return n;s!=null&&this.raise(u.InvalidCoverInitializedName,s),r!=null&&this.raise(u.DuplicateProto,r),i!=null&&this.raise(u.UnexpectedPrivateField,i),a!=null&&this.unexpected(a)}isLiteralPropertyName(){return Jt(this.state.type)}isPrivateName(t){return t.type==="PrivateName"}getPrivateNameSV(t){return t.id.name}hasPropertyAsPrivateName(t){return(t.type==="MemberExpression"||t.type==="OptionalMemberExpression")&&this.isPrivateName(t.property)}isObjectProperty(t){return t.type==="ObjectProperty"}isObjectMethod(t){return t.type==="ObjectMethod"}initializeScopes(t=this.options.sourceType==="module"){let e=this.state.labels;this.state.labels=[];let s=this.exportedIdentifiers;this.exportedIdentifiers=new Set;let r=this.inModule;this.inModule=t;let i=this.scope,a=this.getScopeHandler();this.scope=new a(this,t);let n=this.prodParam;this.prodParam=new Mi;let o=this.classScope;this.classScope=new qi(this);let p=this.expressionScope;return this.expressionScope=new Ki(this),()=>{this.state.labels=e,this.exportedIdentifiers=s,this.inModule=r,this.scope=i,this.prodParam=n,this.classScope=o,this.expressionScope=p}}enterInitialScopes(){let t=0;(this.inModule||this.optionFlags&1)&&(t|=2),this.optionFlags&32&&(t|=1),this.optionFlags&2&&(t|=4);let e=1;this.optionFlags&4&&(e|=512),this.scope.enter(e),this.prodParam.enter(t)}checkDestructuringPrivate(t){let{privateKeyLoc:e}=t;e!==null&&this.expectPlugin("destructuringPrivate",e)}},Me=class{constructor(){this.shorthandAssignLoc=null,this.doubleProtoLoc=null,this.privateKeyLoc=null,this.optionalParametersLoc=null}},Be=class{constructor(t,e,s){this.type="",this.start=e,this.end=0,this.loc=new f(s),(t==null?void 0:t.optionFlags)&128&&(this.range=[e,0]),t!=null&&t.filename&&(this.loc.filename=t.filename)}},nt=Be.prototype;nt.__clone=function(){let t=new Be(void 0,this.start,this.loc.start),e=Object.keys(this);for(let s=0,r=e.length;st.type==="ParenthesizedExpression"?ps(t.expression):t,Qi=class extends Yi{toAssignable(t,e=!1){var s,r;let i;switch((t.type==="ParenthesizedExpression"||(s=t.extra)!=null&&s.parenthesized)&&(i=ps(t),e?i.type==="Identifier"?this.expressionScope.recordArrowParameterBindingError(u.InvalidParenthesizedAssignment,t):i.type!=="MemberExpression"&&!this.isOptionalMemberExpression(i)&&this.raise(u.InvalidParenthesizedAssignment,t):this.raise(u.InvalidParenthesizedAssignment,t)),t.type){case"Identifier":case"ObjectPattern":case"ArrayPattern":case"AssignmentPattern":case"RestElement":break;case"ObjectExpression":this.castNodeTo(t,"ObjectPattern");for(let n=0,o=t.properties.length,p=o-1;nr.type!=="ObjectMethod"&&(i===s||r.type!=="SpreadElement")&&this.isAssignable(r))}case"ObjectProperty":return this.isAssignable(t.value);case"SpreadElement":return this.isAssignable(t.argument);case"ArrayExpression":return t.elements.every(s=>s===null||this.isAssignable(s));case"AssignmentExpression":return t.operator==="=";case"ParenthesizedExpression":return this.isAssignable(t.expression);case"MemberExpression":case"OptionalMemberExpression":return!e;default:return!1}}toReferencedList(t,e){return t}toReferencedListDeep(t,e){this.toReferencedList(t,e);for(let s of t)(s==null?void 0:s.type)==="ArrayExpression"&&this.toReferencedListDeep(s.elements)}parseSpread(t){let e=this.startNode();return this.next(),e.argument=this.parseMaybeAssignAllowIn(t,void 0),this.finishNode(e,"SpreadElement")}parseRestBinding(){let t=this.startNode();return this.next(),t.argument=this.parseBindingAtom(),this.finishNode(t,"RestElement")}parseBindingAtom(){switch(this.state.type){case 0:{let t=this.startNode();return this.next(),t.elements=this.parseBindingList(3,93,1),this.finishNode(t,"ArrayPattern")}case 5:return this.parseObjectLike(8,!0)}return this.parseIdentifier()}parseBindingList(t,e,s){let r=s&1,i=[],a=!0;for(;!this.eat(t);)if(a?a=!1:this.expect(12),r&&this.match(12))i.push(null);else{if(this.eat(t))break;if(this.match(21)){let n=this.parseRestBinding();if((this.hasPlugin("flow")||s&2)&&(n=this.parseFunctionParamType(n)),i.push(n),!this.checkCommaAfterRest(e)){this.expect(t);break}}else{let n=[];if(s&2)for(this.match(26)&&this.hasPlugin("decorators")&&this.raise(u.UnsupportedParameterDecorator,this.state.startLoc);this.match(26);)n.push(this.parseDecorator());i.push(this.parseBindingElement(s,n))}}return i}parseBindingRestProperty(t){return this.next(),t.argument=this.parseIdentifier(),this.checkCommaAfterRest(125),this.finishNode(t,"RestElement")}parseBindingProperty(){let{type:t,startLoc:e}=this.state;if(t===21)return this.parseBindingRestProperty(this.startNode());let s=this.startNode();return t===139?(this.expectPlugin("destructuringPrivate",e),this.classScope.usePrivateName(this.state.value,e),s.key=this.parsePrivateName()):this.parsePropertyName(s),s.method=!1,this.parseObjPropValue(s,e,!1,!1,!0,!1)}parseBindingElement(t,e){let s=this.parseMaybeDefault();return(this.hasPlugin("flow")||t&2)&&this.parseFunctionParamType(s),e.length&&(s.decorators=e,this.resetStartLocationFromNode(s,e[0])),this.parseMaybeDefault(s.loc.start,s)}parseFunctionParamType(t){return t}parseMaybeDefault(t,e){if(t??(t=this.state.startLoc),e=e??this.parseBindingAtom(),!this.eat(29))return e;let s=this.startNodeAt(t);return s.left=e,s.right=this.parseMaybeAssignAllowIn(),this.finishNode(s,"AssignmentPattern")}isValidLVal(t,e,s){switch(t){case"AssignmentPattern":return"left";case"RestElement":return"argument";case"ObjectProperty":return"value";case"ParenthesizedExpression":return"expression";case"ArrayPattern":return"elements";case"ObjectPattern":return"properties"}return!1}isOptionalMemberExpression(t){return t.type==="OptionalMemberExpression"}checkLVal(t,e,s=64,r=!1,i=!1,a=!1){var n;let o=t.type;if(this.isObjectMethod(t))return;let p=this.isOptionalMemberExpression(t);if(p||o==="MemberExpression"){p&&(this.expectPlugin("optionalChainingAssign",t.loc.start),e.type!=="AssignmentExpression"&&this.raise(u.InvalidLhsOptionalChaining,t,{ancestor:e})),s!==64&&this.raise(u.InvalidPropertyBindingPattern,t);return}if(o==="Identifier"){this.checkIdentifier(t,s,i);let{name:N}=t;r&&(r.has(N)?this.raise(u.ParamDupe,t):r.add(N));return}let l=this.isValidLVal(o,!(a||(n=t.extra)!=null&&n.parenthesized)&&e.type==="AssignmentExpression",s);if(l===!0)return;if(l===!1){let N=s===64?u.InvalidLhs:u.InvalidLhsBinding;this.raise(N,t,{ancestor:e});return}let d,y;typeof l=="string"?(d=l,y=o==="ParenthesizedExpression"):[d,y]=l;let A=o==="ArrayPattern"||o==="ObjectPattern"?{type:o}:e,T=t[d];if(Array.isArray(T))for(let N of T)N&&this.checkLVal(N,A,s,r,i,y);else T&&this.checkLVal(T,A,s,r,i,y)}checkIdentifier(t,e,s=!1){this.state.strict&&(s?es(t.name,this.inModule):Zt(t.name))&&(e===64?this.raise(u.StrictEvalArguments,t,{referenceName:t.name}):this.raise(u.StrictEvalArgumentsBinding,t,{bindingName:t.name})),e&8192&&t.name==="let"&&this.raise(u.LetInLexicalBinding,t),e&64||this.declareNameFromIdentifier(t,e)}declareNameFromIdentifier(t,e){this.scope.declareName(t.name,e,t.loc.start)}checkToRestConversion(t,e){switch(t.type){case"ParenthesizedExpression":this.checkToRestConversion(t.expression,e);break;case"Identifier":case"MemberExpression":break;case"ArrayExpression":case"ObjectExpression":if(e)break;default:this.raise(u.InvalidRestAssignmentPattern,t)}}checkCommaAfterRest(t){return this.match(12)?(this.raise(this.lookaheadCharCode()===t?u.RestTrailingComma:u.ElementAfterRest,this.state.startLoc),!0):!1}};function Zi(t){if(t==null)throw new Error(`Unexpected ${t} value.`);return t}function us(t){if(!t)throw new Error("Assert fail")}var g=K`typescript`({AbstractMethodHasImplementation:({methodName:t})=>`Method '${t}' cannot have an implementation because it is marked abstract.`,AbstractPropertyHasInitializer:({propertyName:t})=>`Property '${t}' cannot have an initializer because it is marked abstract.`,AccessorCannotBeOptional:"An 'accessor' property cannot be declared optional.",AccessorCannotDeclareThisParameter:"'get' and 'set' accessors cannot declare 'this' parameters.",AccessorCannotHaveTypeParameters:"An accessor cannot have type parameters.",ClassMethodHasDeclare:"Class methods cannot have the 'declare' modifier.",ClassMethodHasReadonly:"Class methods cannot have the 'readonly' modifier.",ConstInitializerMustBeStringOrNumericLiteralOrLiteralEnumReference:"A 'const' initializer in an ambient context must be a string or numeric literal or literal enum reference.",ConstructorHasTypeParameters:"Type parameters cannot appear on a constructor declaration.",DeclareAccessor:({kind:t})=>`'declare' is not allowed in ${t}ters.`,DeclareClassFieldHasInitializer:"Initializers are not allowed in ambient contexts.",DeclareFunctionHasImplementation:"An implementation cannot be declared in ambient contexts.",DuplicateAccessibilityModifier:({modifier:t})=>`Accessibility modifier already seen: '${t}'.`,DuplicateModifier:({modifier:t})=>`Duplicate modifier: '${t}'.`,EmptyHeritageClauseType:({token:t})=>`'${t}' list cannot be empty.`,EmptyTypeArguments:"Type argument list cannot be empty.",EmptyTypeParameters:"Type parameter list cannot be empty.",ExpectedAmbientAfterExportDeclare:"'export declare' must be followed by an ambient declaration.",ImportAliasHasImportType:"An import alias can not use 'import type'.",ImportReflectionHasImportType:"An `import module` declaration can not use `type` modifier",IncompatibleModifiers:({modifiers:t})=>`'${t[0]}' modifier cannot be used with '${t[1]}' modifier.`,IndexSignatureHasAbstract:"Index signatures cannot have the 'abstract' modifier.",IndexSignatureHasAccessibility:({modifier:t})=>`Index signatures cannot have an accessibility modifier ('${t}').`,IndexSignatureHasDeclare:"Index signatures cannot have the 'declare' modifier.",IndexSignatureHasOverride:"'override' modifier cannot appear on an index signature.",IndexSignatureHasStatic:"Index signatures cannot have the 'static' modifier.",InitializerNotAllowedInAmbientContext:"Initializers are not allowed in ambient contexts.",InvalidHeritageClauseType:({token:t})=>`'${t}' list can only include identifiers or qualified-names with optional type arguments.`,InvalidModifierOnAwaitUsingDeclaration:t=>`'${t}' modifier cannot appear on an await using declaration.`,InvalidModifierOnTypeMember:({modifier:t})=>`'${t}' modifier cannot appear on a type member.`,InvalidModifierOnTypeParameter:({modifier:t})=>`'${t}' modifier cannot appear on a type parameter.`,InvalidModifierOnTypeParameterPositions:({modifier:t})=>`'${t}' modifier can only appear on a type parameter of a class, interface or type alias.`,InvalidModifierOnUsingDeclaration:t=>`'${t}' modifier cannot appear on a using declaration.`,InvalidModifiersOrder:({orderedModifiers:t})=>`'${t[0]}' modifier must precede '${t[1]}' modifier.`,InvalidPropertyAccessAfterInstantiationExpression:"Invalid property access after an instantiation expression. You can either wrap the instantiation expression in parentheses, or delete the type arguments.",InvalidTupleMemberLabel:"Tuple members must be labeled with a simple identifier.",MissingInterfaceName:"'interface' declarations must be followed by an identifier.",NonAbstractClassHasAbstractMethod:"Abstract methods can only appear within an abstract class.",NonClassMethodPropertyHasAbstractModifier:"'abstract' modifier can only appear on a class, method, or property declaration.",OptionalTypeBeforeRequired:"A required element cannot follow an optional element.",OverrideNotInSubClass:"This member cannot have an 'override' modifier because its containing class does not extend another class.",PatternIsOptional:"A binding pattern parameter cannot be optional in an implementation signature.",PrivateElementHasAbstract:"Private elements cannot have the 'abstract' modifier.",PrivateElementHasAccessibility:({modifier:t})=>`Private elements cannot have an accessibility modifier ('${t}').`,ReadonlyForMethodSignature:"'readonly' modifier can only appear on a property declaration or index signature.",ReservedArrowTypeParam:"This syntax is reserved in files with the .mts or .cts extension. Add a trailing comma, as in `() => ...`.",ReservedTypeAssertion:"This syntax is reserved in files with the .mts or .cts extension. Use an `as` expression instead.",SetAccessorCannotHaveOptionalParameter:"A 'set' accessor cannot have an optional parameter.",SetAccessorCannotHaveRestParameter:"A 'set' accessor cannot have rest parameter.",SetAccessorCannotHaveReturnType:"A 'set' accessor cannot have a return type annotation.",SingleTypeParameterWithoutTrailingComma:({typeParameterName:t})=>`Single type parameter ${t} should have a trailing comma. Example usage: <${t},>.`,StaticBlockCannotHaveModifier:"Static class blocks cannot have any modifier.",TupleOptionalAfterType:"A labeled tuple optional element must be declared using a question mark after the name and before the colon (`name?: type`), rather than after the type (`name: type?`).",TypeAnnotationAfterAssign:"Type annotations must come before default assignments, e.g. instead of `age = 25: number` use `age: number = 25`.",TypeImportCannotSpecifyDefaultAndNamed:"A type-only import can specify a default import or named bindings, but not both.",TypeModifierIsUsedInTypeExports:"The 'type' modifier cannot be used on a named export when 'export type' is used on its export statement.",TypeModifierIsUsedInTypeImports:"The 'type' modifier cannot be used on a named import when 'import type' is used on its import statement.",UnexpectedParameterModifier:"A parameter property is only allowed in a constructor implementation.",UnexpectedReadonly:"'readonly' type modifier is only permitted on array and tuple literal types.",UnexpectedTypeAnnotation:"Did not expect a type annotation here.",UnexpectedTypeCastInParameter:"Unexpected type cast in parameter position.",UnsupportedImportTypeArgument:"Argument in a type import must be a string literal.",UnsupportedParameterPropertyKind:"A parameter property may not be declared using a binding pattern.",UnsupportedSignatureParameterKind:({type:t})=>`Name in a signature must be an Identifier, ObjectPattern or ArrayPattern, instead got ${t}.`,UsingDeclarationInAmbientContext:t=>`'${t}' declarations are not allowed in ambient contexts.`});function ea(t){switch(t){case"any":return"TSAnyKeyword";case"boolean":return"TSBooleanKeyword";case"bigint":return"TSBigIntKeyword";case"never":return"TSNeverKeyword";case"number":return"TSNumberKeyword";case"object":return"TSObjectKeyword";case"string":return"TSStringKeyword";case"symbol":return"TSSymbolKeyword";case"undefined":return"TSUndefinedKeyword";case"unknown":return"TSUnknownKeyword";default:return}}function cs(t){return t==="private"||t==="public"||t==="protected"}function ta(t){return t==="in"||t==="out"}var sa=t=>class extends t{constructor(...e){super(...e),this.tsParseInOutModifiers=this.tsParseModifiers.bind(this,{allowedModifiers:["in","out"],disallowedModifiers:["const","public","private","protected","readonly","declare","abstract","override"],errorTemplate:g.InvalidModifierOnTypeParameter}),this.tsParseConstModifier=this.tsParseModifiers.bind(this,{allowedModifiers:["const"],disallowedModifiers:["in","out"],errorTemplate:g.InvalidModifierOnTypeParameterPositions}),this.tsParseInOutConstModifiers=this.tsParseModifiers.bind(this,{allowedModifiers:["in","out","const"],disallowedModifiers:["public","private","protected","readonly","declare","abstract","override"],errorTemplate:g.InvalidModifierOnTypeParameter})}getScopeHandler(){return Li}tsIsIdentifier(){return F(this.state.type)}tsTokenCanFollowModifier(){return this.match(0)||this.match(5)||this.match(55)||this.match(21)||this.match(139)||this.isLiteralPropertyName()}tsNextTokenOnSameLineAndCanFollowModifier(){return this.next(),this.hasPrecedingLineBreak()?!1:this.tsTokenCanFollowModifier()}tsNextTokenCanFollowModifier(){return this.match(106)?(this.next(),this.tsTokenCanFollowModifier()):this.tsNextTokenOnSameLineAndCanFollowModifier()}tsParseModifier(e,s,r){if(!F(this.state.type)&&this.state.type!==58&&this.state.type!==75)return;let i=this.state.value;if(e.includes(i)){if(r&&this.match(106)||s&&this.tsIsStartOfStaticBlocks())return;if(this.tsTryParse(this.tsNextTokenCanFollowModifier.bind(this)))return i}}tsParseModifiers({allowedModifiers:e,disallowedModifiers:s,stopOnStartOfClassStaticBlock:r,errorTemplate:i=g.InvalidModifierOnTypeMember},a){let n=(p,l,d,y)=>{l===d&&a[y]&&this.raise(g.InvalidModifiersOrder,p,{orderedModifiers:[d,y]})},o=(p,l,d,y)=>{(a[d]&&l===y||a[y]&&l===d)&&this.raise(g.IncompatibleModifiers,p,{modifiers:[d,y]})};for(;;){let{startLoc:p}=this.state,l=this.tsParseModifier(e.concat(s??[]),r,a.static);if(!l)break;cs(l)?a.accessibility?this.raise(g.DuplicateAccessibilityModifier,p,{modifier:l}):(n(p,l,l,"override"),n(p,l,l,"static"),n(p,l,l,"readonly"),a.accessibility=l):ta(l)?(a[l]&&this.raise(g.DuplicateModifier,p,{modifier:l}),a[l]=!0,n(p,l,"in","out")):(hasOwnProperty.call(a,l)?this.raise(g.DuplicateModifier,p,{modifier:l}):(n(p,l,"static","readonly"),n(p,l,"static","override"),n(p,l,"override","readonly"),n(p,l,"abstract","override"),o(p,l,"declare","override"),o(p,l,"static","abstract")),a[l]=!0),s!=null&&s.includes(l)&&this.raise(i,p,{modifier:l})}}tsIsListTerminator(e){switch(e){case"EnumMembers":case"TypeMembers":return this.match(8);case"HeritageClauseElement":return this.match(5);case"TupleElementTypes":return this.match(3);case"TypeParametersOrArguments":return this.match(48)}}tsParseList(e,s){let r=[];for(;!this.tsIsListTerminator(e);)r.push(s());return r}tsParseDelimitedList(e,s,r){return Zi(this.tsParseDelimitedListWorker(e,s,!0,r))}tsParseDelimitedListWorker(e,s,r,i){let a=[],n=-1;for(;!this.tsIsListTerminator(e);){n=-1;let o=s();if(o==null)return;if(a.push(o),this.eat(12)){n=this.state.lastTokStartLoc.index;continue}if(this.tsIsListTerminator(e))break;r&&this.expect(12);return}return i&&(i.value=n),a}tsParseBracketedList(e,s,r,i,a){i||(r?this.expect(0):this.expect(47));let n=this.tsParseDelimitedList(e,s,a);return r?this.expect(3):this.expect(48),n}tsParseImportType(){let e=this.startNode();return this.expect(83),this.expect(10),this.match(134)?e.argument=this.parseStringLiteral(this.state.value):(this.raise(g.UnsupportedImportTypeArgument,this.state.startLoc),e.argument=super.parseExprAtom()),this.eat(12)?e.options=this.tsParseImportTypeOptions():e.options=null,this.expect(11),this.eat(16)&&(e.qualifier=this.tsParseEntityName(3)),this.match(47)&&(e.typeParameters=this.tsParseTypeArguments()),this.finishNode(e,"TSImportType")}tsParseImportTypeOptions(){let e=this.startNode();this.expect(5);let s=this.startNode();return this.isContextual(76)?(s.method=!1,s.key=this.parseIdentifier(!0),s.computed=!1,s.shorthand=!1):this.unexpected(null,76),this.expect(14),s.value=this.tsParseImportTypeWithPropertyValue(),e.properties=[this.finishObjectProperty(s)],this.expect(8),this.finishNode(e,"ObjectExpression")}tsParseImportTypeWithPropertyValue(){let e=this.startNode(),s=[];for(this.expect(5);!this.match(8);){let r=this.state.type;F(r)||r===134?s.push(super.parsePropertyDefinition(null)):this.unexpected(),this.eat(12)}return e.properties=s,this.next(),this.finishNode(e,"ObjectExpression")}tsParseEntityName(e){let s;if(e&1&&this.match(78))if(e&2)s=this.parseIdentifier(!0);else{let r=this.startNode();this.next(),s=this.finishNode(r,"ThisExpression")}else s=this.parseIdentifier(!!(e&1));for(;this.eat(16);){let r=this.startNodeAtNode(s);r.left=s,r.right=this.parseIdentifier(!!(e&1)),s=this.finishNode(r,"TSQualifiedName")}return s}tsParseTypeReference(){let e=this.startNode();return e.typeName=this.tsParseEntityName(1),!this.hasPrecedingLineBreak()&&this.match(47)&&(e.typeParameters=this.tsParseTypeArguments()),this.finishNode(e,"TSTypeReference")}tsParseThisTypePredicate(e){this.next();let s=this.startNodeAtNode(e);return s.parameterName=e,s.typeAnnotation=this.tsParseTypeAnnotation(!1),s.asserts=!1,this.finishNode(s,"TSTypePredicate")}tsParseThisTypeNode(){let e=this.startNode();return this.next(),this.finishNode(e,"TSThisType")}tsParseTypeQuery(){let e=this.startNode();return this.expect(87),this.match(83)?e.exprName=this.tsParseImportType():e.exprName=this.tsParseEntityName(3),!this.hasPrecedingLineBreak()&&this.match(47)&&(e.typeParameters=this.tsParseTypeArguments()),this.finishNode(e,"TSTypeQuery")}tsParseTypeParameter(e){let s=this.startNode();return e(s),s.name=this.tsParseTypeParameterName(),s.constraint=this.tsEatThenParseType(81),s.default=this.tsEatThenParseType(29),this.finishNode(s,"TSTypeParameter")}tsTryParseTypeParameters(e){if(this.match(47))return this.tsParseTypeParameters(e)}tsParseTypeParameters(e){let s=this.startNode();this.match(47)||this.match(143)?this.next():this.unexpected();let r={value:-1};return s.params=this.tsParseBracketedList("TypeParametersOrArguments",this.tsParseTypeParameter.bind(this,e),!1,!0,r),s.params.length===0&&this.raise(g.EmptyTypeParameters,s),r.value!==-1&&this.addExtra(s,"trailingComma",r.value),this.finishNode(s,"TSTypeParameterDeclaration")}tsFillSignature(e,s){let r=e===19,i="parameters",a="typeAnnotation";s.typeParameters=this.tsTryParseTypeParameters(this.tsParseConstModifier),this.expect(10),s[i]=this.tsParseBindingListForSignature(),r?s[a]=this.tsParseTypeOrTypePredicateAnnotation(e):this.match(e)&&(s[a]=this.tsParseTypeOrTypePredicateAnnotation(e))}tsParseBindingListForSignature(){let e=super.parseBindingList(11,41,2);for(let s of e){let{type:r}=s;(r==="AssignmentPattern"||r==="TSParameterProperty")&&this.raise(g.UnsupportedSignatureParameterKind,s,{type:r})}return e}tsParseTypeMemberSemicolon(){!this.eat(12)&&!this.isLineTerminator()&&this.expect(13)}tsParseSignatureMember(e,s){return this.tsFillSignature(14,s),this.tsParseTypeMemberSemicolon(),this.finishNode(s,e)}tsIsUnambiguouslyIndexSignature(){return this.next(),F(this.state.type)?(this.next(),this.match(14)):!1}tsTryParseIndexSignature(e){if(!(this.match(0)&&this.tsLookAhead(this.tsIsUnambiguouslyIndexSignature.bind(this))))return;this.expect(0);let s=this.parseIdentifier();s.typeAnnotation=this.tsParseTypeAnnotation(),this.resetEndLocation(s),this.expect(3),e.parameters=[s];let r=this.tsTryParseTypeAnnotation();return r&&(e.typeAnnotation=r),this.tsParseTypeMemberSemicolon(),this.finishNode(e,"TSIndexSignature")}tsParsePropertyOrMethodSignature(e,s){if(this.eat(17)&&(e.optional=!0),this.match(10)||this.match(47)){s&&this.raise(g.ReadonlyForMethodSignature,e);let r=e;r.kind&&this.match(47)&&this.raise(g.AccessorCannotHaveTypeParameters,this.state.curPosition()),this.tsFillSignature(14,r),this.tsParseTypeMemberSemicolon();let i="parameters",a="typeAnnotation";if(r.kind==="get")r[i].length>0&&(this.raise(u.BadGetterArity,this.state.curPosition()),this.isThisParam(r[i][0])&&this.raise(g.AccessorCannotDeclareThisParameter,this.state.curPosition()));else if(r.kind==="set"){if(r[i].length!==1)this.raise(u.BadSetterArity,this.state.curPosition());else{let n=r[i][0];this.isThisParam(n)&&this.raise(g.AccessorCannotDeclareThisParameter,this.state.curPosition()),n.type==="Identifier"&&n.optional&&this.raise(g.SetAccessorCannotHaveOptionalParameter,this.state.curPosition()),n.type==="RestElement"&&this.raise(g.SetAccessorCannotHaveRestParameter,this.state.curPosition())}r[a]&&this.raise(g.SetAccessorCannotHaveReturnType,r[a])}else r.kind="method";return this.finishNode(r,"TSMethodSignature")}else{let r=e;s&&(r.readonly=!0);let i=this.tsTryParseTypeAnnotation();return i&&(r.typeAnnotation=i),this.tsParseTypeMemberSemicolon(),this.finishNode(r,"TSPropertySignature")}}tsParseTypeMember(){let e=this.startNode();if(this.match(10)||this.match(47))return this.tsParseSignatureMember("TSCallSignatureDeclaration",e);if(this.match(77)){let r=this.startNode();return this.next(),this.match(10)||this.match(47)?this.tsParseSignatureMember("TSConstructSignatureDeclaration",e):(e.key=this.createIdentifier(r,"new"),this.tsParsePropertyOrMethodSignature(e,!1))}return this.tsParseModifiers({allowedModifiers:["readonly"],disallowedModifiers:["declare","abstract","private","protected","public","static","override"]},e),this.tsTryParseIndexSignature(e)||(super.parsePropertyName(e),!e.computed&&e.key.type==="Identifier"&&(e.key.name==="get"||e.key.name==="set")&&this.tsTokenCanFollowModifier()&&(e.kind=e.key.name,super.parsePropertyName(e),!this.match(10)&&!this.match(47)&&this.unexpected(null,10)),this.tsParsePropertyOrMethodSignature(e,!!e.readonly))}tsParseTypeLiteral(){let e=this.startNode();return e.members=this.tsParseObjectTypeMembers(),this.finishNode(e,"TSTypeLiteral")}tsParseObjectTypeMembers(){this.expect(5);let e=this.tsParseList("TypeMembers",this.tsParseTypeMember.bind(this));return this.expect(8),e}tsIsStartOfMappedType(){return this.next(),this.eat(53)?this.isContextual(122):(this.isContextual(122)&&this.next(),!this.match(0)||(this.next(),!this.tsIsIdentifier())?!1:(this.next(),this.match(58)))}tsParseMappedType(){let e=this.startNode();this.expect(5),this.match(53)?(e.readonly=this.state.value,this.next(),this.expectContextual(122)):this.eatContextual(122)&&(e.readonly=!0),this.expect(0);{let s=this.startNode();s.name=this.tsParseTypeParameterName(),s.constraint=this.tsExpectThenParseType(58),e.typeParameter=this.finishNode(s,"TSTypeParameter")}return e.nameType=this.eatContextual(93)?this.tsParseType():null,this.expect(3),this.match(53)?(e.optional=this.state.value,this.next(),this.expect(17)):this.eat(17)&&(e.optional=!0),e.typeAnnotation=this.tsTryParseType(),this.semicolon(),this.expect(8),this.finishNode(e,"TSMappedType")}tsParseTupleType(){let e=this.startNode();e.elementTypes=this.tsParseBracketedList("TupleElementTypes",this.tsParseTupleElementType.bind(this),!0,!1);let s=!1;return e.elementTypes.forEach(r=>{let{type:i}=r;s&&i!=="TSRestType"&&i!=="TSOptionalType"&&!(i==="TSNamedTupleMember"&&r.optional)&&this.raise(g.OptionalTypeBeforeRequired,r),s||(s=i==="TSNamedTupleMember"&&r.optional||i==="TSOptionalType")}),this.finishNode(e,"TSTupleType")}tsParseTupleElementType(){let e=this.state.startLoc,s=this.eat(21),{startLoc:r}=this.state,i,a,n,o,p=$(this.state.type)?this.lookaheadCharCode():null;if(p===58)i=!0,n=!1,a=this.parseIdentifier(!0),this.expect(14),o=this.tsParseType();else if(p===63){n=!0;let l=this.state.value,d=this.tsParseNonArrayType();this.lookaheadCharCode()===58?(i=!0,a=this.createIdentifier(this.startNodeAt(r),l),this.expect(17),this.expect(14),o=this.tsParseType()):(i=!1,o=d,this.expect(17))}else o=this.tsParseType(),n=this.eat(17),i=this.eat(14);if(i){let l;a?(l=this.startNodeAt(r),l.optional=n,l.label=a,l.elementType=o,this.eat(17)&&(l.optional=!0,this.raise(g.TupleOptionalAfterType,this.state.lastTokStartLoc))):(l=this.startNodeAt(r),l.optional=n,this.raise(g.InvalidTupleMemberLabel,o),l.label=o,l.elementType=this.tsParseType()),o=this.finishNode(l,"TSNamedTupleMember")}else if(n){let l=this.startNodeAt(r);l.typeAnnotation=o,o=this.finishNode(l,"TSOptionalType")}if(s){let l=this.startNodeAt(e);l.typeAnnotation=o,o=this.finishNode(l,"TSRestType")}return o}tsParseParenthesizedType(){let e=this.startNode();return this.expect(10),e.typeAnnotation=this.tsParseType(),this.expect(11),this.finishNode(e,"TSParenthesizedType")}tsParseFunctionOrConstructorType(e,s){let r=this.startNode();return e==="TSConstructorType"&&(r.abstract=!!s,s&&this.next(),this.next()),this.tsInAllowConditionalTypesContext(()=>this.tsFillSignature(19,r)),this.finishNode(r,e)}tsParseLiteralTypeNode(){let e=this.startNode();switch(this.state.type){case 135:case 136:case 134:case 85:case 86:e.literal=super.parseExprAtom();break;default:this.unexpected()}return this.finishNode(e,"TSLiteralType")}tsParseTemplateLiteralType(){{let e=this.startNode();return e.literal=super.parseTemplate(!1),this.finishNode(e,"TSLiteralType")}}parseTemplateSubstitution(){return this.state.inType?this.tsParseType():super.parseTemplateSubstitution()}tsParseThisTypeOrThisTypePredicate(){let e=this.tsParseThisTypeNode();return this.isContextual(116)&&!this.hasPrecedingLineBreak()?this.tsParseThisTypePredicate(e):e}tsParseNonArrayType(){switch(this.state.type){case 134:case 135:case 136:case 85:case 86:return this.tsParseLiteralTypeNode();case 53:if(this.state.value==="-"){let e=this.startNode(),s=this.lookahead();return s.type!==135&&s.type!==136&&this.unexpected(),e.literal=this.parseMaybeUnary(),this.finishNode(e,"TSLiteralType")}break;case 78:return this.tsParseThisTypeOrThisTypePredicate();case 87:return this.tsParseTypeQuery();case 83:return this.tsParseImportType();case 5:return this.tsLookAhead(this.tsIsStartOfMappedType.bind(this))?this.tsParseMappedType():this.tsParseTypeLiteral();case 0:return this.tsParseTupleType();case 10:return this.tsParseParenthesizedType();case 25:case 24:return this.tsParseTemplateLiteralType();default:{let{type:e}=this.state;if(F(e)||e===88||e===84){let s=e===88?"TSVoidKeyword":e===84?"TSNullKeyword":ea(this.state.value);if(s!==void 0&&this.lookaheadCharCode()!==46){let r=this.startNode();return this.next(),this.finishNode(r,s)}return this.tsParseTypeReference()}}}this.unexpected()}tsParseArrayTypeOrHigher(){let{startLoc:e}=this.state,s=this.tsParseNonArrayType();for(;!this.hasPrecedingLineBreak()&&this.eat(0);)if(this.match(3)){let r=this.startNodeAt(e);r.elementType=s,this.expect(3),s=this.finishNode(r,"TSArrayType")}else{let r=this.startNodeAt(e);r.objectType=s,r.indexType=this.tsParseType(),this.expect(3),s=this.finishNode(r,"TSIndexedAccessType")}return s}tsParseTypeOperator(){let e=this.startNode(),s=this.state.value;return this.next(),e.operator=s,e.typeAnnotation=this.tsParseTypeOperatorOrHigher(),s==="readonly"&&this.tsCheckTypeAnnotationForReadOnly(e),this.finishNode(e,"TSTypeOperator")}tsCheckTypeAnnotationForReadOnly(e){switch(e.typeAnnotation.type){case"TSTupleType":case"TSArrayType":return;default:this.raise(g.UnexpectedReadonly,e)}}tsParseInferType(){let e=this.startNode();this.expectContextual(115);let s=this.startNode();return s.name=this.tsParseTypeParameterName(),s.constraint=this.tsTryParse(()=>this.tsParseConstraintForInferType()),e.typeParameter=this.finishNode(s,"TSTypeParameter"),this.finishNode(e,"TSInferType")}tsParseConstraintForInferType(){if(this.eat(81)){let e=this.tsInDisallowConditionalTypesContext(()=>this.tsParseType());if(this.state.inDisallowConditionalTypesContext||!this.match(17))return e}}tsParseTypeOperatorOrHigher(){return li(this.state.type)&&!this.state.containsEsc?this.tsParseTypeOperator():this.isContextual(115)?this.tsParseInferType():this.tsInAllowConditionalTypesContext(()=>this.tsParseArrayTypeOrHigher())}tsParseUnionOrIntersectionType(e,s,r){let i=this.startNode(),a=this.eat(r),n=[];do n.push(s());while(this.eat(r));return n.length===1&&!a?n[0]:(i.types=n,this.finishNode(i,e))}tsParseIntersectionTypeOrHigher(){return this.tsParseUnionOrIntersectionType("TSIntersectionType",this.tsParseTypeOperatorOrHigher.bind(this),45)}tsParseUnionTypeOrHigher(){return this.tsParseUnionOrIntersectionType("TSUnionType",this.tsParseIntersectionTypeOrHigher.bind(this),43)}tsIsStartOfFunctionType(){return this.match(47)?!0:this.match(10)&&this.tsLookAhead(this.tsIsUnambiguouslyStartOfFunctionType.bind(this))}tsSkipParameterStart(){if(F(this.state.type)||this.match(78))return this.next(),!0;if(this.match(5)){let{errors:e}=this.state,s=e.length;try{return this.parseObjectLike(8,!0),e.length===s}catch{return!1}}if(this.match(0)){this.next();let{errors:e}=this.state,s=e.length;try{return super.parseBindingList(3,93,1),e.length===s}catch{return!1}}return!1}tsIsUnambiguouslyStartOfFunctionType(){return this.next(),!!(this.match(11)||this.match(21)||this.tsSkipParameterStart()&&(this.match(14)||this.match(12)||this.match(17)||this.match(29)||this.match(11)&&(this.next(),this.match(19))))}tsParseTypeOrTypePredicateAnnotation(e){return this.tsInType(()=>{let s=this.startNode();this.expect(e);let r=this.startNode(),i=!!this.tsTryParse(this.tsParseTypePredicateAsserts.bind(this));if(i&&this.match(78)){let o=this.tsParseThisTypeOrThisTypePredicate();return o.type==="TSThisType"?(r.parameterName=o,r.asserts=!0,r.typeAnnotation=null,o=this.finishNode(r,"TSTypePredicate")):(this.resetStartLocationFromNode(o,r),o.asserts=!0),s.typeAnnotation=o,this.finishNode(s,"TSTypeAnnotation")}let a=this.tsIsIdentifier()&&this.tsTryParse(this.tsParseTypePredicatePrefix.bind(this));if(!a)return i?(r.parameterName=this.parseIdentifier(),r.asserts=i,r.typeAnnotation=null,s.typeAnnotation=this.finishNode(r,"TSTypePredicate"),this.finishNode(s,"TSTypeAnnotation")):this.tsParseTypeAnnotation(!1,s);let n=this.tsParseTypeAnnotation(!1);return r.parameterName=a,r.typeAnnotation=n,r.asserts=i,s.typeAnnotation=this.finishNode(r,"TSTypePredicate"),this.finishNode(s,"TSTypeAnnotation")})}tsTryParseTypeOrTypePredicateAnnotation(){if(this.match(14))return this.tsParseTypeOrTypePredicateAnnotation(14)}tsTryParseTypeAnnotation(){if(this.match(14))return this.tsParseTypeAnnotation()}tsTryParseType(){return this.tsEatThenParseType(14)}tsParseTypePredicatePrefix(){let e=this.parseIdentifier();if(this.isContextual(116)&&!this.hasPrecedingLineBreak())return this.next(),e}tsParseTypePredicateAsserts(){if(this.state.type!==109)return!1;let e=this.state.containsEsc;return this.next(),!F(this.state.type)&&!this.match(78)?!1:(e&&this.raise(u.InvalidEscapedReservedWord,this.state.lastTokStartLoc,{reservedWord:"asserts"}),!0)}tsParseTypeAnnotation(e=!0,s=this.startNode()){return this.tsInType(()=>{e&&this.expect(14),s.typeAnnotation=this.tsParseType()}),this.finishNode(s,"TSTypeAnnotation")}tsParseType(){us(this.state.inType);let e=this.tsParseNonConditionalType();if(this.state.inDisallowConditionalTypesContext||this.hasPrecedingLineBreak()||!this.eat(81))return e;let s=this.startNodeAtNode(e);return s.checkType=e,s.extendsType=this.tsInDisallowConditionalTypesContext(()=>this.tsParseNonConditionalType()),this.expect(17),s.trueType=this.tsInAllowConditionalTypesContext(()=>this.tsParseType()),this.expect(14),s.falseType=this.tsInAllowConditionalTypesContext(()=>this.tsParseType()),this.finishNode(s,"TSConditionalType")}isAbstractConstructorSignature(){return this.isContextual(124)&&this.isLookaheadContextual("new")}tsParseNonConditionalType(){return this.tsIsStartOfFunctionType()?this.tsParseFunctionOrConstructorType("TSFunctionType"):this.match(77)?this.tsParseFunctionOrConstructorType("TSConstructorType"):this.isAbstractConstructorSignature()?this.tsParseFunctionOrConstructorType("TSConstructorType",!0):this.tsParseUnionTypeOrHigher()}tsParseTypeAssertion(){this.getPluginOption("typescript","disallowAmbiguousJSXLike")&&this.raise(g.ReservedTypeAssertion,this.state.startLoc);let e=this.startNode();return e.typeAnnotation=this.tsInType(()=>(this.next(),this.match(75)?this.tsParseTypeReference():this.tsParseType())),this.expect(48),e.expression=this.parseMaybeUnary(),this.finishNode(e,"TSTypeAssertion")}tsParseHeritageClause(e){let s=this.state.startLoc,r=this.tsParseDelimitedList("HeritageClauseElement",()=>{{let i=this.startNode();return i.expression=this.tsParseEntityName(3),this.match(47)&&(i.typeParameters=this.tsParseTypeArguments()),this.finishNode(i,"TSExpressionWithTypeArguments")}});return r.length||this.raise(g.EmptyHeritageClauseType,s,{token:e}),r}tsParseInterfaceDeclaration(e,s={}){if(this.hasFollowingLineBreak())return null;this.expectContextual(129),s.declare&&(e.declare=!0),F(this.state.type)?(e.id=this.parseIdentifier(),this.checkIdentifier(e.id,130)):(e.id=null,this.raise(g.MissingInterfaceName,this.state.startLoc)),e.typeParameters=this.tsTryParseTypeParameters(this.tsParseInOutConstModifiers),this.eat(81)&&(e.extends=this.tsParseHeritageClause("extends"));let r=this.startNode();return r.body=this.tsInType(this.tsParseObjectTypeMembers.bind(this)),e.body=this.finishNode(r,"TSInterfaceBody"),this.finishNode(e,"TSInterfaceDeclaration")}tsParseTypeAliasDeclaration(e){return e.id=this.parseIdentifier(),this.checkIdentifier(e.id,2),e.typeAnnotation=this.tsInType(()=>{if(e.typeParameters=this.tsTryParseTypeParameters(this.tsParseInOutModifiers),this.expect(29),this.isContextual(114)&&this.lookaheadCharCode()!==46){let s=this.startNode();return this.next(),this.finishNode(s,"TSIntrinsicKeyword")}return this.tsParseType()}),this.semicolon(),this.finishNode(e,"TSTypeAliasDeclaration")}tsInTopLevelContext(e){if(this.curContext()!==D.brace){let s=this.state.context;this.state.context=[s[0]];try{return e()}finally{this.state.context=s}}else return e()}tsInType(e){let s=this.state.inType;this.state.inType=!0;try{return e()}finally{this.state.inType=s}}tsInDisallowConditionalTypesContext(e){let s=this.state.inDisallowConditionalTypesContext;this.state.inDisallowConditionalTypesContext=!0;try{return e()}finally{this.state.inDisallowConditionalTypesContext=s}}tsInAllowConditionalTypesContext(e){let s=this.state.inDisallowConditionalTypesContext;this.state.inDisallowConditionalTypesContext=!1;try{return e()}finally{this.state.inDisallowConditionalTypesContext=s}}tsEatThenParseType(e){if(this.match(e))return this.tsNextThenParseType()}tsExpectThenParseType(e){return this.tsInType(()=>(this.expect(e),this.tsParseType()))}tsNextThenParseType(){return this.tsInType(()=>(this.next(),this.tsParseType()))}tsParseEnumMember(){let e=this.startNode();return e.id=this.match(134)?super.parseStringLiteral(this.state.value):this.parseIdentifier(!0),this.eat(29)&&(e.initializer=super.parseMaybeAssignAllowIn()),this.finishNode(e,"TSEnumMember")}tsParseEnumDeclaration(e,s={}){return s.const&&(e.const=!0),s.declare&&(e.declare=!0),this.expectContextual(126),e.id=this.parseIdentifier(),this.checkIdentifier(e.id,e.const?8971:8459),this.expect(5),e.members=this.tsParseDelimitedList("EnumMembers",this.tsParseEnumMember.bind(this)),this.expect(8),this.finishNode(e,"TSEnumDeclaration")}tsParseEnumBody(){let e=this.startNode();return this.expect(5),e.members=this.tsParseDelimitedList("EnumMembers",this.tsParseEnumMember.bind(this)),this.expect(8),this.finishNode(e,"TSEnumBody")}tsParseModuleBlock(){let e=this.startNode();return this.scope.enter(0),this.expect(5),super.parseBlockOrModuleBlockBody(e.body=[],void 0,!0,8),this.scope.exit(),this.finishNode(e,"TSModuleBlock")}tsParseModuleOrNamespaceDeclaration(e,s=!1){if(e.id=this.parseIdentifier(),s||this.checkIdentifier(e.id,1024),this.eat(16)){let r=this.startNode();this.tsParseModuleOrNamespaceDeclaration(r,!0),e.body=r}else this.scope.enter(1024),this.prodParam.enter(0),e.body=this.tsParseModuleBlock(),this.prodParam.exit(),this.scope.exit();return this.finishNode(e,"TSModuleDeclaration")}tsParseAmbientExternalModuleDeclaration(e){return this.isContextual(112)?(e.kind="global",e.global=!0,e.id=this.parseIdentifier()):this.match(134)?(e.kind="module",e.id=super.parseStringLiteral(this.state.value)):this.unexpected(),this.match(5)?(this.scope.enter(1024),this.prodParam.enter(0),e.body=this.tsParseModuleBlock(),this.prodParam.exit(),this.scope.exit()):this.semicolon(),this.finishNode(e,"TSModuleDeclaration")}tsParseImportEqualsDeclaration(e,s,r){e.isExport=r||!1,e.id=s||this.parseIdentifier(),this.checkIdentifier(e.id,4096),this.expect(29);let i=this.tsParseModuleReference();return e.importKind==="type"&&i.type!=="TSExternalModuleReference"&&this.raise(g.ImportAliasHasImportType,i),e.moduleReference=i,this.semicolon(),this.finishNode(e,"TSImportEqualsDeclaration")}tsIsExternalModuleReference(){return this.isContextual(119)&&this.lookaheadCharCode()===40}tsParseModuleReference(){return this.tsIsExternalModuleReference()?this.tsParseExternalModuleReference():this.tsParseEntityName(0)}tsParseExternalModuleReference(){let e=this.startNode();return this.expectContextual(119),this.expect(10),this.match(134)||this.unexpected(),e.expression=super.parseExprAtom(),this.expect(11),this.sawUnambiguousESM=!0,this.finishNode(e,"TSExternalModuleReference")}tsLookAhead(e){let s=this.state.clone(),r=e();return this.state=s,r}tsTryParseAndCatch(e){let s=this.tryParse(r=>e()||r());if(!(s.aborted||!s.node))return s.error&&(this.state=s.failState),s.node}tsTryParse(e){let s=this.state.clone(),r=e();if(r!==void 0&&r!==!1)return r;this.state=s}tsTryParseDeclare(e){if(this.isLineTerminator())return;let s=this.state.type;return this.tsInAmbientContext(()=>{switch(s){case 68:return e.declare=!0,super.parseFunctionStatement(e,!1,!1);case 80:return e.declare=!0,this.parseClass(e,!0,!1);case 126:return this.tsParseEnumDeclaration(e,{declare:!0});case 112:return this.tsParseAmbientExternalModuleDeclaration(e);case 100:if(this.state.containsEsc)return;case 75:case 74:return!this.match(75)||!this.isLookaheadContextual("enum")?(e.declare=!0,this.parseVarStatement(e,this.state.value,!0)):(this.expect(75),this.tsParseEnumDeclaration(e,{const:!0,declare:!0}));case 107:if(this.hasPlugin("explicitResourceManagement")&&this.isUsing())return this.raise(g.InvalidModifierOnUsingDeclaration,this.state.startLoc,"declare"),e.declare=!0,this.parseVarStatement(e,"using",!0);break;case 96:if(this.hasPlugin("explicitResourceManagement")&&this.isAwaitUsing())return this.raise(g.InvalidModifierOnAwaitUsingDeclaration,this.state.startLoc,"declare"),e.declare=!0,this.next(),this.parseVarStatement(e,"await using",!0);break;case 129:{let r=this.tsParseInterfaceDeclaration(e,{declare:!0});if(r)return r}default:if(F(s))return this.tsParseDeclaration(e,this.state.value,!0,null)}})}tsTryParseExportDeclaration(){return this.tsParseDeclaration(this.startNode(),this.state.value,!0,null)}tsParseExpressionStatement(e,s,r){switch(s.name){case"declare":{let i=this.tsTryParseDeclare(e);return i&&(i.declare=!0),i}case"global":if(this.match(5)){this.scope.enter(1024),this.prodParam.enter(0);let i=e;return i.kind="global",e.global=!0,i.id=s,i.body=this.tsParseModuleBlock(),this.scope.exit(),this.prodParam.exit(),this.finishNode(i,"TSModuleDeclaration")}break;default:return this.tsParseDeclaration(e,s.name,!1,r)}}tsParseDeclaration(e,s,r,i){switch(s){case"abstract":if(this.tsCheckLineTerminator(r)&&(this.match(80)||F(this.state.type)))return this.tsParseAbstractDeclaration(e,i);break;case"module":if(this.tsCheckLineTerminator(r)){if(this.match(134))return this.tsParseAmbientExternalModuleDeclaration(e);if(F(this.state.type))return e.kind="module",this.tsParseModuleOrNamespaceDeclaration(e)}break;case"namespace":if(this.tsCheckLineTerminator(r)&&F(this.state.type))return e.kind="namespace",this.tsParseModuleOrNamespaceDeclaration(e);break;case"type":if(this.tsCheckLineTerminator(r)&&F(this.state.type))return this.tsParseTypeAliasDeclaration(e);break}}tsCheckLineTerminator(e){return e?this.hasFollowingLineBreak()?!1:(this.next(),!0):!this.isLineTerminator()}tsTryParseGenericAsyncArrowFunction(e){if(!this.match(47))return;let s=this.state.maybeInArrowParameters;this.state.maybeInArrowParameters=!0;let r=this.tsTryParseAndCatch(()=>{let i=this.startNodeAt(e);return i.typeParameters=this.tsParseTypeParameters(this.tsParseConstModifier),super.parseFunctionParams(i),i.returnType=this.tsTryParseTypeOrTypePredicateAnnotation(),this.expect(19),i});if(this.state.maybeInArrowParameters=s,!!r)return super.parseArrowExpression(r,null,!0)}tsParseTypeArgumentsInExpression(){if(this.reScan_lt()===47)return this.tsParseTypeArguments()}tsParseTypeArguments(){let e=this.startNode();return e.params=this.tsInType(()=>this.tsInTopLevelContext(()=>(this.expect(47),this.tsParseDelimitedList("TypeParametersOrArguments",this.tsParseType.bind(this))))),e.params.length===0?this.raise(g.EmptyTypeArguments,e):!this.state.inType&&this.curContext()===D.brace&&this.reScan_lt_gt(),this.expect(48),this.finishNode(e,"TSTypeParameterInstantiation")}tsIsDeclarationStart(){return hi(this.state.type)}isExportDefaultSpecifier(){return this.tsIsDeclarationStart()?!1:super.isExportDefaultSpecifier()}parseBindingElement(e,s){let r=s.length?s[0].loc.start:this.state.startLoc,i={};this.tsParseModifiers({allowedModifiers:["public","private","protected","override","readonly"]},i);let a=i.accessibility,n=i.override,o=i.readonly;!(e&4)&&(a||o||n)&&this.raise(g.UnexpectedParameterModifier,r);let p=this.parseMaybeDefault();e&2&&this.parseFunctionParamType(p);let l=this.parseMaybeDefault(p.loc.start,p);if(a||o||n){let d=this.startNodeAt(r);return s.length&&(d.decorators=s),a&&(d.accessibility=a),o&&(d.readonly=o),n&&(d.override=n),l.type!=="Identifier"&&l.type!=="AssignmentPattern"&&this.raise(g.UnsupportedParameterPropertyKind,d),d.parameter=l,this.finishNode(d,"TSParameterProperty")}return s.length&&(p.decorators=s),l}isSimpleParameter(e){return e.type==="TSParameterProperty"&&super.isSimpleParameter(e.parameter)||super.isSimpleParameter(e)}tsDisallowOptionalPattern(e){for(let s of e.params)s.type!=="Identifier"&&s.optional&&!this.state.isAmbientContext&&this.raise(g.PatternIsOptional,s)}setArrowFunctionParameters(e,s,r){super.setArrowFunctionParameters(e,s,r),this.tsDisallowOptionalPattern(e)}parseFunctionBodyAndFinish(e,s,r=!1){this.match(14)&&(e.returnType=this.tsParseTypeOrTypePredicateAnnotation(14));let i=s==="FunctionDeclaration"?"TSDeclareFunction":s==="ClassMethod"||s==="ClassPrivateMethod"?"TSDeclareMethod":void 0;return i&&!this.match(5)&&this.isLineTerminator()?this.finishNode(e,i):i==="TSDeclareFunction"&&this.state.isAmbientContext&&(this.raise(g.DeclareFunctionHasImplementation,e),e.declare)?super.parseFunctionBodyAndFinish(e,i,r):(this.tsDisallowOptionalPattern(e),super.parseFunctionBodyAndFinish(e,s,r))}registerFunctionStatementId(e){!e.body&&e.id?this.checkIdentifier(e.id,1024):super.registerFunctionStatementId(e)}tsCheckForInvalidTypeCasts(e){e.forEach(s=>{(s==null?void 0:s.type)==="TSTypeCastExpression"&&this.raise(g.UnexpectedTypeAnnotation,s.typeAnnotation)})}toReferencedList(e,s){return this.tsCheckForInvalidTypeCasts(e),e}parseArrayLike(e,s,r,i){let a=super.parseArrayLike(e,s,r,i);return a.type==="ArrayExpression"&&this.tsCheckForInvalidTypeCasts(a.elements),a}parseSubscript(e,s,r,i){if(!this.hasPrecedingLineBreak()&&this.match(35)){this.state.canStartJSXElement=!1,this.next();let n=this.startNodeAt(s);return n.expression=e,this.finishNode(n,"TSNonNullExpression")}let a=!1;if(this.match(18)&&this.lookaheadCharCode()===60){if(r)return i.stop=!0,e;i.optionalChainMember=a=!0,this.next()}if(this.match(47)||this.match(51)){let n,o=this.tsTryParseAndCatch(()=>{if(!r&&this.atPossibleAsyncArrow(e)){let y=this.tsTryParseGenericAsyncArrowFunction(s);if(y)return y}let p=this.tsParseTypeArgumentsInExpression();if(!p)return;if(a&&!this.match(10)){n=this.state.curPosition();return}if(ve(this.state.type)){let y=super.parseTaggedTemplateExpression(e,s,i);return y.typeParameters=p,y}if(!r&&this.eat(10)){let y=this.startNodeAt(s);return y.callee=e,y.arguments=this.parseCallExpressionArguments(11),this.tsCheckForInvalidTypeCasts(y.arguments),y.typeParameters=p,i.optionalChainMember&&(y.optional=a),this.finishCallExpression(y,i.optionalChainMember)}let l=this.state.type;if(l===48||l===52||l!==10&&be(l)&&!this.hasPrecedingLineBreak())return;let d=this.startNodeAt(s);return d.expression=e,d.typeParameters=p,this.finishNode(d,"TSInstantiationExpression")});if(n&&this.unexpected(n,10),o)return o.type==="TSInstantiationExpression"&&((this.match(16)||this.match(18)&&this.lookaheadCharCode()!==40)&&this.raise(g.InvalidPropertyAccessAfterInstantiationExpression,this.state.startLoc),!this.match(16)&&!this.match(18)&&(o.expression=super.stopParseSubscript(e,i))),o}return super.parseSubscript(e,s,r,i)}parseNewCallee(e){var s;super.parseNewCallee(e);let{callee:r}=e;r.type==="TSInstantiationExpression"&&!((s=r.extra)!=null&&s.parenthesized)&&(e.typeParameters=r.typeParameters,e.callee=r.expression)}parseExprOp(e,s,r){let i;if(Ne(58)>r&&!this.hasPrecedingLineBreak()&&(this.isContextual(93)||(i=this.isContextual(120)))){let a=this.startNodeAt(s);return a.expression=e,a.typeAnnotation=this.tsInType(()=>(this.next(),this.match(75)?(i&&this.raise(u.UnexpectedKeyword,this.state.startLoc,{keyword:"const"}),this.tsParseTypeReference()):this.tsParseType())),this.finishNode(a,i?"TSSatisfiesExpression":"TSAsExpression"),this.reScan_lt_gt(),this.parseExprOp(a,s,r)}return super.parseExprOp(e,s,r)}checkReservedWord(e,s,r,i){this.state.isAmbientContext||super.checkReservedWord(e,s,r,i)}checkImportReflection(e){super.checkImportReflection(e),e.module&&e.importKind!=="value"&&this.raise(g.ImportReflectionHasImportType,e.specifiers[0].loc.start)}checkDuplicateExports(){}isPotentialImportPhase(e){if(super.isPotentialImportPhase(e))return!0;if(this.isContextual(130)){let s=this.lookaheadCharCode();return e?s===123||s===42:s!==61}return!e&&this.isContextual(87)}applyImportPhase(e,s,r,i){super.applyImportPhase(e,s,r,i),s?e.exportKind=r==="type"?"type":"value":e.importKind=r==="type"||r==="typeof"?r:"value"}parseImport(e){if(this.match(134))return e.importKind="value",super.parseImport(e);let s;if(F(this.state.type)&&this.lookaheadCharCode()===61)return e.importKind="value",this.tsParseImportEqualsDeclaration(e);if(this.isContextual(130)){let r=this.parseMaybeImportPhase(e,!1);if(this.lookaheadCharCode()===61)return this.tsParseImportEqualsDeclaration(e,r);s=super.parseImportSpecifiersAndAfter(e,r)}else s=super.parseImport(e);return s.importKind==="type"&&s.specifiers.length>1&&s.specifiers[0].type==="ImportDefaultSpecifier"&&this.raise(g.TypeImportCannotSpecifyDefaultAndNamed,s),s}parseExport(e,s){if(this.match(83)){let r=e;this.next();let i=null;return this.isContextual(130)&&this.isPotentialImportPhase(!1)?i=this.parseMaybeImportPhase(r,!1):r.importKind="value",this.tsParseImportEqualsDeclaration(r,i,!0)}else if(this.eat(29)){let r=e;return r.expression=super.parseExpression(),this.semicolon(),this.sawUnambiguousESM=!0,this.finishNode(r,"TSExportAssignment")}else if(this.eatContextual(93)){let r=e;return this.expectContextual(128),r.id=this.parseIdentifier(),this.semicolon(),this.finishNode(r,"TSNamespaceExportDeclaration")}else return super.parseExport(e,s)}isAbstractClass(){return this.isContextual(124)&&this.isLookaheadContextual("class")}parseExportDefaultExpression(){if(this.isAbstractClass()){let e=this.startNode();return this.next(),e.abstract=!0,this.parseClass(e,!0,!0)}if(this.match(129)){let e=this.tsParseInterfaceDeclaration(this.startNode());if(e)return e}return super.parseExportDefaultExpression()}parseVarStatement(e,s,r=!1){let{isAmbientContext:i}=this.state,a=super.parseVarStatement(e,s,r||i);if(!i)return a;if(!e.declare&&(s==="using"||s==="await using"))return this.raiseOverwrite(g.UsingDeclarationInAmbientContext,e,s),a;for(let{id:n,init:o}of a.declarations)o&&(s==="var"||s==="let"||n.typeAnnotation?this.raise(g.InitializerNotAllowedInAmbientContext,o):ia(o,this.hasPlugin("estree"))||this.raise(g.ConstInitializerMustBeStringOrNumericLiteralOrLiteralEnumReference,o));return a}parseStatementContent(e,s){if(this.match(75)&&this.isLookaheadContextual("enum")){let r=this.startNode();return this.expect(75),this.tsParseEnumDeclaration(r,{const:!0})}if(this.isContextual(126))return this.tsParseEnumDeclaration(this.startNode());if(this.isContextual(129)){let r=this.tsParseInterfaceDeclaration(this.startNode());if(r)return r}return super.parseStatementContent(e,s)}parseAccessModifier(){return this.tsParseModifier(["public","protected","private"])}tsHasSomeModifiers(e,s){return s.some(r=>cs(r)?e.accessibility===r:!!e[r])}tsIsStartOfStaticBlocks(){return this.isContextual(106)&&this.lookaheadCharCode()===123}parseClassMember(e,s,r){let i=["declare","private","public","protected","override","abstract","readonly","static"];this.tsParseModifiers({allowedModifiers:i,disallowedModifiers:["in","out"],stopOnStartOfClassStaticBlock:!0,errorTemplate:g.InvalidModifierOnTypeParameterPositions},s);let a=()=>{this.tsIsStartOfStaticBlocks()?(this.next(),this.next(),this.tsHasSomeModifiers(s,i)&&this.raise(g.StaticBlockCannotHaveModifier,this.state.curPosition()),super.parseClassStaticBlock(e,s)):this.parseClassMemberWithIsStatic(e,s,r,!!s.static)};s.declare?this.tsInAmbientContext(a):a()}parseClassMemberWithIsStatic(e,s,r,i){let a=this.tsTryParseIndexSignature(s);if(a){e.body.push(a),s.abstract&&this.raise(g.IndexSignatureHasAbstract,s),s.accessibility&&this.raise(g.IndexSignatureHasAccessibility,s,{modifier:s.accessibility}),s.declare&&this.raise(g.IndexSignatureHasDeclare,s),s.override&&this.raise(g.IndexSignatureHasOverride,s);return}!this.state.inAbstractClass&&s.abstract&&this.raise(g.NonAbstractClassHasAbstractMethod,s),s.override&&(r.hadSuperClass||this.raise(g.OverrideNotInSubClass,s)),super.parseClassMemberWithIsStatic(e,s,r,i)}parsePostMemberNameModifiers(e){this.eat(17)&&(e.optional=!0),e.readonly&&this.match(10)&&this.raise(g.ClassMethodHasReadonly,e),e.declare&&this.match(10)&&this.raise(g.ClassMethodHasDeclare,e)}parseExpressionStatement(e,s,r){return(s.type==="Identifier"?this.tsParseExpressionStatement(e,s,r):void 0)||super.parseExpressionStatement(e,s,r)}shouldParseExportDeclaration(){return this.tsIsDeclarationStart()?!0:super.shouldParseExportDeclaration()}parseConditional(e,s,r){if(!this.match(17))return e;if(this.state.maybeInArrowParameters){let i=this.lookaheadCharCode();if(i===44||i===61||i===58||i===41)return this.setOptionalParametersError(r),e}return super.parseConditional(e,s,r)}parseParenItem(e,s){let r=super.parseParenItem(e,s);if(this.eat(17)&&(r.optional=!0,this.resetEndLocation(e)),this.match(14)){let i=this.startNodeAt(s);return i.expression=e,i.typeAnnotation=this.tsParseTypeAnnotation(),this.finishNode(i,"TSTypeCastExpression")}return e}parseExportDeclaration(e){if(!this.state.isAmbientContext&&this.isContextual(125))return this.tsInAmbientContext(()=>this.parseExportDeclaration(e));let s=this.state.startLoc,r=this.eatContextual(125);if(r&&(this.isContextual(125)||!this.shouldParseExportDeclaration()))throw this.raise(g.ExpectedAmbientAfterExportDeclare,this.state.startLoc);let i=F(this.state.type)&&this.tsTryParseExportDeclaration()||super.parseExportDeclaration(e);return i?((i.type==="TSInterfaceDeclaration"||i.type==="TSTypeAliasDeclaration"||r)&&(e.exportKind="type"),r&&i.type!=="TSImportEqualsDeclaration"&&(this.resetStartLocation(i,s),i.declare=!0),i):null}parseClassId(e,s,r,i){if((!s||r)&&this.isContextual(113))return;super.parseClassId(e,s,r,e.declare?1024:8331);let a=this.tsTryParseTypeParameters(this.tsParseInOutConstModifiers);a&&(e.typeParameters=a)}parseClassPropertyAnnotation(e){e.optional||(this.eat(35)?e.definite=!0:this.eat(17)&&(e.optional=!0));let s=this.tsTryParseTypeAnnotation();s&&(e.typeAnnotation=s)}parseClassProperty(e){if(this.parseClassPropertyAnnotation(e),this.state.isAmbientContext&&!(e.readonly&&!e.typeAnnotation)&&this.match(29)&&this.raise(g.DeclareClassFieldHasInitializer,this.state.startLoc),e.abstract&&this.match(29)){let{key:s}=e;this.raise(g.AbstractPropertyHasInitializer,this.state.startLoc,{propertyName:s.type==="Identifier"&&!e.computed?s.name:`[${this.input.slice(this.offsetToSourcePos(s.start),this.offsetToSourcePos(s.end))}]`})}return super.parseClassProperty(e)}parseClassPrivateProperty(e){return e.abstract&&this.raise(g.PrivateElementHasAbstract,e),e.accessibility&&this.raise(g.PrivateElementHasAccessibility,e,{modifier:e.accessibility}),this.parseClassPropertyAnnotation(e),super.parseClassPrivateProperty(e)}parseClassAccessorProperty(e){return this.parseClassPropertyAnnotation(e),e.optional&&this.raise(g.AccessorCannotBeOptional,e),super.parseClassAccessorProperty(e)}pushClassMethod(e,s,r,i,a,n){let o=this.tsTryParseTypeParameters(this.tsParseConstModifier);o&&a&&this.raise(g.ConstructorHasTypeParameters,o);let{declare:p=!1,kind:l}=s;p&&(l==="get"||l==="set")&&this.raise(g.DeclareAccessor,s,{kind:l}),o&&(s.typeParameters=o),super.pushClassMethod(e,s,r,i,a,n)}pushClassPrivateMethod(e,s,r,i){let a=this.tsTryParseTypeParameters(this.tsParseConstModifier);a&&(s.typeParameters=a),super.pushClassPrivateMethod(e,s,r,i)}declareClassPrivateMethodInScope(e,s){e.type!=="TSDeclareMethod"&&(e.type==="MethodDefinition"&&e.value.body==null||super.declareClassPrivateMethodInScope(e,s))}parseClassSuper(e){super.parseClassSuper(e),e.superClass&&(this.match(47)||this.match(51))&&(e.superTypeParameters=this.tsParseTypeArgumentsInExpression()),this.eatContextual(113)&&(e.implements=this.tsParseHeritageClause("implements"))}parseObjPropValue(e,s,r,i,a,n,o){let p=this.tsTryParseTypeParameters(this.tsParseConstModifier);return p&&(e.typeParameters=p),super.parseObjPropValue(e,s,r,i,a,n,o)}parseFunctionParams(e,s){let r=this.tsTryParseTypeParameters(this.tsParseConstModifier);r&&(e.typeParameters=r),super.parseFunctionParams(e,s)}parseVarId(e,s){super.parseVarId(e,s),e.id.type==="Identifier"&&!this.hasPrecedingLineBreak()&&this.eat(35)&&(e.definite=!0);let r=this.tsTryParseTypeAnnotation();r&&(e.id.typeAnnotation=r,this.resetEndLocation(e.id))}parseAsyncArrowFromCallExpression(e,s){return this.match(14)&&(e.returnType=this.tsParseTypeAnnotation()),super.parseAsyncArrowFromCallExpression(e,s)}parseMaybeAssign(e,s){var r,i,a,n,o;let p,l,d;if(this.hasPlugin("jsx")&&(this.match(143)||this.match(47))){if(p=this.state.clone(),l=this.tryParse(()=>super.parseMaybeAssign(e,s),p),!l.error)return l.node;let{context:T}=this.state,N=T[T.length-1];(N===D.j_oTag||N===D.j_expr)&&T.pop()}if(!((r=l)!=null&&r.error)&&!this.match(47))return super.parseMaybeAssign(e,s);(!p||p===this.state)&&(p=this.state.clone());let y,A=this.tryParse(T=>{var N,R;y=this.tsParseTypeParameters(this.tsParseConstModifier);let L=super.parseMaybeAssign(e,s);return(L.type!=="ArrowFunctionExpression"||(N=L.extra)!=null&&N.parenthesized)&&T(),((R=y)==null?void 0:R.params.length)!==0&&this.resetStartLocationFromNode(L,y),L.typeParameters=y,L},p);if(!A.error&&!A.aborted)return y&&this.reportReservedArrowTypeParam(y),A.node;if(!l&&(us(!this.hasPlugin("jsx")),d=this.tryParse(()=>super.parseMaybeAssign(e,s),p),!d.error))return d.node;if((i=l)!=null&&i.node)return this.state=l.failState,l.node;if(A.node)return this.state=A.failState,y&&this.reportReservedArrowTypeParam(y),A.node;if((a=d)!=null&&a.node)return this.state=d.failState,d.node;throw((n=l)==null?void 0:n.error)||A.error||((o=d)==null?void 0:o.error)}reportReservedArrowTypeParam(e){var s;e.params.length===1&&!e.params[0].constraint&&!((s=e.extra)!=null&&s.trailingComma)&&this.getPluginOption("typescript","disallowAmbiguousJSXLike")&&this.raise(g.ReservedArrowTypeParam,e)}parseMaybeUnary(e,s){return!this.hasPlugin("jsx")&&this.match(47)?this.tsParseTypeAssertion():super.parseMaybeUnary(e,s)}parseArrow(e){if(this.match(14)){let s=this.tryParse(r=>{let i=this.tsParseTypeOrTypePredicateAnnotation(14);return(this.canInsertSemicolon()||!this.match(19))&&r(),i});if(s.aborted)return;s.thrown||(s.error&&(this.state=s.failState),e.returnType=s.node)}return super.parseArrow(e)}parseFunctionParamType(e){this.eat(17)&&(e.optional=!0);let s=this.tsTryParseTypeAnnotation();return s&&(e.typeAnnotation=s),this.resetEndLocation(e),e}isAssignable(e,s){switch(e.type){case"TSTypeCastExpression":return this.isAssignable(e.expression,s);case"TSParameterProperty":return!0;default:return super.isAssignable(e,s)}}toAssignable(e,s=!1){switch(e.type){case"ParenthesizedExpression":this.toAssignableParenthesizedExpression(e,s);break;case"TSAsExpression":case"TSSatisfiesExpression":case"TSNonNullExpression":case"TSTypeAssertion":s?this.expressionScope.recordArrowParameterBindingError(g.UnexpectedTypeCastInParameter,e):this.raise(g.UnexpectedTypeCastInParameter,e),this.toAssignable(e.expression,s);break;case"AssignmentExpression":!s&&e.left.type==="TSTypeCastExpression"&&(e.left=this.typeCastToParameter(e.left));default:super.toAssignable(e,s)}}toAssignableParenthesizedExpression(e,s){switch(e.expression.type){case"TSAsExpression":case"TSSatisfiesExpression":case"TSNonNullExpression":case"TSTypeAssertion":case"ParenthesizedExpression":this.toAssignable(e.expression,s);break;default:super.toAssignable(e,s)}}checkToRestConversion(e,s){switch(e.type){case"TSAsExpression":case"TSSatisfiesExpression":case"TSTypeAssertion":case"TSNonNullExpression":this.checkToRestConversion(e.expression,!1);break;default:super.checkToRestConversion(e,s)}}isValidLVal(e,s,r){switch(e){case"TSTypeCastExpression":return!0;case"TSParameterProperty":return"parameter";case"TSNonNullExpression":return"expression";case"TSAsExpression":case"TSSatisfiesExpression":case"TSTypeAssertion":return(r!==64||!s)&&["expression",!0];default:return super.isValidLVal(e,s,r)}}parseBindingAtom(){return this.state.type===78?this.parseIdentifier(!0):super.parseBindingAtom()}parseMaybeDecoratorArguments(e,s){if(this.match(47)||this.match(51)){let r=this.tsParseTypeArgumentsInExpression();if(this.match(10)){let i=super.parseMaybeDecoratorArguments(e,s);return i.typeParameters=r,i}this.unexpected(null,10)}return super.parseMaybeDecoratorArguments(e,s)}checkCommaAfterRest(e){return this.state.isAmbientContext&&this.match(12)&&this.lookaheadCharCode()===e?(this.next(),!1):super.checkCommaAfterRest(e)}isClassMethod(){return this.match(47)||super.isClassMethod()}isClassProperty(){return this.match(35)||this.match(14)||super.isClassProperty()}parseMaybeDefault(e,s){let r=super.parseMaybeDefault(e,s);return r.type==="AssignmentPattern"&&r.typeAnnotation&&r.right.startthis.isAssignable(s,!0)):super.shouldParseArrow(e)}shouldParseAsyncArrow(){return this.match(14)||super.shouldParseAsyncArrow()}canHaveLeadingDecorator(){return super.canHaveLeadingDecorator()||this.isAbstractClass()}jsxParseOpeningElementAfterName(e){if(this.match(47)||this.match(51)){let s=this.tsTryParseAndCatch(()=>this.tsParseTypeArgumentsInExpression());s&&(e.typeParameters=s)}return super.jsxParseOpeningElementAfterName(e)}getGetterSetterExpectedParamCount(e){let s=super.getGetterSetterExpectedParamCount(e),r=this.getObjectOrClassMethodParams(e)[0];return r&&this.isThisParam(r)?s+1:s}parseCatchClauseParam(){let e=super.parseCatchClauseParam(),s=this.tsTryParseTypeAnnotation();return s&&(e.typeAnnotation=s,this.resetEndLocation(e)),e}tsInAmbientContext(e){let{isAmbientContext:s,strict:r}=this.state;this.state.isAmbientContext=!0,this.state.strict=!1;try{return e()}finally{this.state.isAmbientContext=s,this.state.strict=r}}parseClass(e,s,r){let i=this.state.inAbstractClass;this.state.inAbstractClass=!!e.abstract;try{return super.parseClass(e,s,r)}finally{this.state.inAbstractClass=i}}tsParseAbstractDeclaration(e,s){if(this.match(80))return e.abstract=!0,this.maybeTakeDecorators(s,this.parseClass(e,!0,!1));if(this.isContextual(129)){if(!this.hasFollowingLineBreak())return e.abstract=!0,this.raise(g.NonClassMethodPropertyHasAbstractModifier,e),this.tsParseInterfaceDeclaration(e)}else this.unexpected(null,80)}parseMethod(e,s,r,i,a,n,o){let p=super.parseMethod(e,s,r,i,a,n,o);if((p.abstract||p.type==="TSAbstractMethodDefinition")&&(this.hasPlugin("estree")?p.value:p).body){let{key:l}=p;this.raise(g.AbstractMethodHasImplementation,p,{methodName:l.type==="Identifier"&&!p.computed?l.name:`[${this.input.slice(this.offsetToSourcePos(l.start),this.offsetToSourcePos(l.end))}]`})}return p}tsParseTypeParameterName(){return this.parseIdentifier().name}shouldParseAsAmbientContext(){return!!this.getPluginOption("typescript","dts")}parse(){return this.shouldParseAsAmbientContext()&&(this.state.isAmbientContext=!0),super.parse()}getExpression(){return this.shouldParseAsAmbientContext()&&(this.state.isAmbientContext=!0),super.getExpression()}parseExportSpecifier(e,s,r,i){return!s&&i?(this.parseTypeOnlyImportExportSpecifier(e,!1,r),this.finishNode(e,"ExportSpecifier")):(e.exportKind="value",super.parseExportSpecifier(e,s,r,i))}parseImportSpecifier(e,s,r,i,a){return!s&&i?(this.parseTypeOnlyImportExportSpecifier(e,!0,r),this.finishNode(e,"ImportSpecifier")):(e.importKind="value",super.parseImportSpecifier(e,s,r,i,r?4098:4096))}parseTypeOnlyImportExportSpecifier(e,s,r){let i=s?"imported":"local",a=s?"local":"exported",n=e[i],o,p=!1,l=!0,d=n.loc.start;if(this.isContextual(93)){let A=this.parseIdentifier();if(this.isContextual(93)){let T=this.parseIdentifier();$(this.state.type)?(p=!0,n=A,o=s?this.parseIdentifier():this.parseModuleExportName(),l=!1):(o=T,l=!1)}else $(this.state.type)?(l=!1,o=s?this.parseIdentifier():this.parseModuleExportName()):(p=!0,n=A)}else $(this.state.type)&&(p=!0,s?(n=this.parseIdentifier(!0),this.isContextual(93)||this.checkReservedWord(n.name,n.loc.start,!0,!0)):n=this.parseModuleExportName());p&&r&&this.raise(s?g.TypeModifierIsUsedInTypeImports:g.TypeModifierIsUsedInTypeExports,d),e[i]=n,e[a]=o;let y=s?"importKind":"exportKind";e[y]=p?"type":"value",l&&this.eatContextual(93)&&(e[a]=s?this.parseIdentifier():this.parseModuleExportName()),e[a]||(e[a]=this.cloneIdentifier(e[i])),s&&this.checkIdentifier(e[a],p?4098:4096)}fillOptionalPropertiesForTSESLint(e){switch(e.type){case"ExpressionStatement":e.directive!=null||(e.directive=void 0);return;case"RestElement":e.value=void 0;case"Identifier":case"ArrayPattern":case"AssignmentPattern":case"ObjectPattern":e.decorators!=null||(e.decorators=[]),e.optional!=null||(e.optional=!1),e.typeAnnotation!=null||(e.typeAnnotation=void 0);return;case"TSParameterProperty":e.accessibility!=null||(e.accessibility=void 0),e.decorators!=null||(e.decorators=[]),e.override!=null||(e.override=!1),e.readonly!=null||(e.readonly=!1),e.static!=null||(e.static=!1);return;case"TSEmptyBodyFunctionExpression":e.body=null;case"TSDeclareFunction":case"FunctionDeclaration":case"FunctionExpression":case"ClassMethod":case"ClassPrivateMethod":e.declare!=null||(e.declare=!1),e.returnType!=null||(e.returnType=void 0),e.typeParameters!=null||(e.typeParameters=void 0);return;case"Property":e.optional!=null||(e.optional=!1);return;case"TSMethodSignature":case"TSPropertySignature":e.optional!=null||(e.optional=!1);case"TSIndexSignature":e.accessibility!=null||(e.accessibility=void 0),e.readonly!=null||(e.readonly=!1),e.static!=null||(e.static=!1);return;case"TSAbstractPropertyDefinition":case"PropertyDefinition":case"TSAbstractAccessorProperty":case"AccessorProperty":e.declare!=null||(e.declare=!1),e.definite!=null||(e.definite=!1),e.readonly!=null||(e.readonly=!1),e.typeAnnotation!=null||(e.typeAnnotation=void 0);case"TSAbstractMethodDefinition":case"MethodDefinition":e.accessibility!=null||(e.accessibility=void 0),e.decorators!=null||(e.decorators=[]),e.override!=null||(e.override=!1),e.optional!=null||(e.optional=!1);return;case"ClassExpression":e.id!=null||(e.id=null);case"ClassDeclaration":e.abstract!=null||(e.abstract=!1),e.declare!=null||(e.declare=!1),e.decorators!=null||(e.decorators=[]),e.implements!=null||(e.implements=[]),e.superTypeArguments!=null||(e.superTypeArguments=void 0),e.typeParameters!=null||(e.typeParameters=void 0);return;case"TSTypeAliasDeclaration":case"VariableDeclaration":e.declare!=null||(e.declare=!1);return;case"VariableDeclarator":e.definite!=null||(e.definite=!1);return;case"TSEnumDeclaration":e.const!=null||(e.const=!1),e.declare!=null||(e.declare=!1);return;case"TSEnumMember":e.computed!=null||(e.computed=!1);return;case"TSImportType":e.qualifier!=null||(e.qualifier=null),e.options!=null||(e.options=null);return;case"TSInterfaceDeclaration":e.declare!=null||(e.declare=!1),e.extends!=null||(e.extends=[]);return;case"TSModuleDeclaration":e.declare!=null||(e.declare=!1),e.global!=null||(e.global=e.kind==="global");return;case"TSTypeParameter":e.const!=null||(e.const=!1),e.in!=null||(e.in=!1),e.out!=null||(e.out=!1);return}}};function ra(t){if(t.type!=="MemberExpression")return!1;let{computed:e,property:s}=t;return e&&s.type!=="StringLiteral"&&(s.type!=="TemplateLiteral"||s.expressions.length>0)?!1:ms(t.object)}function ia(t,e){var s;let{type:r}=t;if((s=t.extra)!=null&&s.parenthesized)return!1;if(e){if(r==="Literal"){let{value:i}=t;if(typeof i=="string"||typeof i=="boolean")return!0}}else if(r==="StringLiteral"||r==="BooleanLiteral")return!0;return!!(ds(t,e)||aa(t,e)||r==="TemplateLiteral"&&t.expressions.length===0||ra(t))}function ds(t,e){return e?t.type==="Literal"&&(typeof t.value=="number"||"bigint"in t):t.type==="NumericLiteral"||t.type==="BigIntLiteral"}function aa(t,e){if(t.type==="UnaryExpression"){let{operator:s,argument:r}=t;if(s==="-"&&ds(r,e))return!0}return!1}function ms(t){return t.type==="Identifier"?!0:t.type!=="MemberExpression"||t.computed?!1:ms(t.object)}var fs=K`placeholders`({ClassNameIsRequired:"A class name is required.",UnexpectedSpace:"Unexpected space in placeholder."}),na=t=>class extends t{parsePlaceholder(e){if(this.match(133)){let s=this.startNode();return this.next(),this.assertNoSpace(),s.name=super.parseIdentifier(!0),this.assertNoSpace(),this.expect(133),this.finishPlaceholder(s,e)}}finishPlaceholder(e,s){let r=e;return(!r.expectedNode||!r.type)&&(r=this.finishNode(r,"Placeholder")),r.expectedNode=s,r}getTokenFromCode(e){e===37&&this.input.charCodeAt(this.state.pos+1)===37?this.finishOp(133,2):super.getTokenFromCode(e)}parseExprAtom(e){return this.parsePlaceholder("Expression")||super.parseExprAtom(e)}parseIdentifier(e){return this.parsePlaceholder("Identifier")||super.parseIdentifier(e)}checkReservedWord(e,s,r,i){e!==void 0&&super.checkReservedWord(e,s,r,i)}cloneIdentifier(e){let s=super.cloneIdentifier(e);return s.type==="Placeholder"&&(s.expectedNode=e.expectedNode),s}cloneStringLiteral(e){return e.type==="Placeholder"?this.cloneIdentifier(e):super.cloneStringLiteral(e)}parseBindingAtom(){return this.parsePlaceholder("Pattern")||super.parseBindingAtom()}isValidLVal(e,s,r){return e==="Placeholder"||super.isValidLVal(e,s,r)}toAssignable(e,s){e&&e.type==="Placeholder"&&e.expectedNode==="Expression"?e.expectedNode="Pattern":super.toAssignable(e,s)}chStartsBindingIdentifier(e,s){if(super.chStartsBindingIdentifier(e,s))return!0;let r=this.nextTokenStart();return this.input.charCodeAt(r)===37&&this.input.charCodeAt(r+1)===37}verifyBreakContinue(e,s){e.label&&e.label.type==="Placeholder"||super.verifyBreakContinue(e,s)}parseExpressionStatement(e,s){var r;if(s.type!=="Placeholder"||(r=s.extra)!=null&&r.parenthesized)return super.parseExpressionStatement(e,s);if(this.match(14)){let a=e;return a.label=this.finishPlaceholder(s,"Identifier"),this.next(),a.body=super.parseStatementOrSloppyAnnexBFunctionDeclaration(),this.finishNode(a,"LabeledStatement")}this.semicolon();let i=e;return i.name=s.name,this.finishPlaceholder(i,"Statement")}parseBlock(e,s,r){return this.parsePlaceholder("BlockStatement")||super.parseBlock(e,s,r)}parseFunctionId(e){return this.parsePlaceholder("Identifier")||super.parseFunctionId(e)}parseClass(e,s,r){let i=s?"ClassDeclaration":"ClassExpression";this.next();let a=this.state.strict,n=this.parsePlaceholder("Identifier");if(n)if(this.match(81)||this.match(133)||this.match(5))e.id=n;else{if(r||!s)return e.id=null,e.body=this.finishPlaceholder(n,"ClassBody"),this.finishNode(e,i);throw this.raise(fs.ClassNameIsRequired,this.state.startLoc)}else this.parseClassId(e,s,r);return super.parseClassSuper(e),e.body=this.parsePlaceholder("ClassBody")||super.parseClassBody(!!e.superClass,a),this.finishNode(e,i)}parseExport(e,s){let r=this.parsePlaceholder("Identifier");if(!r)return super.parseExport(e,s);let i=e;if(!this.isContextual(98)&&!this.match(12))return i.specifiers=[],i.source=null,i.declaration=this.finishPlaceholder(r,"Declaration"),this.finishNode(i,"ExportNamedDeclaration");this.expectPlugin("exportDefaultFrom");let a=this.startNode();return a.exported=r,i.specifiers=[this.finishNode(a,"ExportDefaultSpecifier")],super.parseExport(i,s)}isExportDefaultSpecifier(){if(this.match(65)){let e=this.nextTokenStart();if(this.isUnparsedContextual(e,"from")&&this.input.startsWith(ee(133),this.nextTokenStartSince(e+4)))return!0}return super.isExportDefaultSpecifier()}maybeParseExportDefaultSpecifier(e,s){var r;return(r=e.specifiers)!=null&&r.length?!0:super.maybeParseExportDefaultSpecifier(e,s)}checkExport(e){let{specifiers:s}=e;s!=null&&s.length&&(e.specifiers=s.filter(r=>r.exported.type==="Placeholder")),super.checkExport(e),e.specifiers=s}parseImport(e){let s=this.parsePlaceholder("Identifier");if(!s)return super.parseImport(e);if(e.specifiers=[],!this.isContextual(98)&&!this.match(12))return e.source=this.finishPlaceholder(s,"StringLiteral"),this.semicolon(),this.finishNode(e,"ImportDeclaration");let r=this.startNodeAtNode(s);return r.local=s,e.specifiers.push(this.finishNode(r,"ImportDefaultSpecifier")),this.eat(12)&&(this.maybeParseStarImportSpecifier(e)||this.parseNamedImportSpecifiers(e)),this.expectContextual(98),e.source=this.parseImportSource(),this.semicolon(),this.finishNode(e,"ImportDeclaration")}parseImportSource(){return this.parsePlaceholder("StringLiteral")||super.parseImportSource()}assertNoSpace(){this.state.start>this.offsetToSourcePos(this.state.lastTokEndLoc.index)&&this.raise(fs.UnexpectedSpace,this.state.lastTokEndLoc)}},oa=t=>class extends t{parseV8Intrinsic(){if(this.match(54)){let e=this.state.startLoc,s=this.startNode();if(this.next(),F(this.state.type)){let r=this.parseIdentifierName(),i=this.createIdentifier(s,r);if(this.castNodeTo(i,"V8IntrinsicIdentifier"),this.match(10))return i}this.unexpected(e)}}parseExprAtom(e){return this.parseV8Intrinsic()||super.parseExprAtom(e)}},ys=["minimal","fsharp","hack","smart"],xs=["^^","@@","^","%","#"];function la(t){if(t.has("decorators")){if(t.has("decorators-legacy"))throw new Error("Cannot use the decorators and decorators-legacy plugin together");let r=t.get("decorators").decoratorsBeforeExport;if(r!=null&&typeof r!="boolean")throw new Error("'decoratorsBeforeExport' must be a boolean, if specified.");let i=t.get("decorators").allowCallParenthesized;if(i!=null&&typeof i!="boolean")throw new Error("'allowCallParenthesized' must be a boolean.")}if(t.has("flow")&&t.has("typescript"))throw new Error("Cannot combine flow and typescript plugins.");if(t.has("placeholders")&&t.has("v8intrinsic"))throw new Error("Cannot combine placeholders and v8intrinsic plugins.");if(t.has("pipelineOperator")){var e;let r=t.get("pipelineOperator").proposal;if(!ys.includes(r)){let i=ys.map(a=>`"${a}"`).join(", ");throw new Error(`"pipelineOperator" requires "proposal" option whose value must be one of: ${i}.`)}if(r==="hack"){if(t.has("placeholders"))throw new Error("Cannot combine placeholders plugin and Hack-style pipes.");if(t.has("v8intrinsic"))throw new Error("Cannot combine v8intrinsic plugin and Hack-style pipes.");let i=t.get("pipelineOperator").topicToken;if(!xs.includes(i)){let a=xs.map(n=>`"${n}"`).join(", ");throw new Error(`"pipelineOperator" in "proposal": "hack" mode also requires a "topicToken" option whose value must be one of: ${a}.`)}{var s;if(i==="#"&&((s=t.get("recordAndTuple"))==null?void 0:s.syntaxType)==="hash")throw new Error(`Plugin conflict between \`["pipelineOperator", { proposal: "hack", topicToken: "#" }]\` and \`${JSON.stringify(["recordAndTuple",t.get("recordAndTuple")])}\`.`)}}else if(r==="smart"&&((e=t.get("recordAndTuple"))==null?void 0:e.syntaxType)==="hash")throw new Error(`Plugin conflict between \`["pipelineOperator", { proposal: "smart" }]\` and \`${JSON.stringify(["recordAndTuple",t.get("recordAndTuple")])}\`.`)}if(t.has("moduleAttributes")){if(t.has("deprecatedImportAssert")||t.has("importAssertions"))throw new Error("Cannot combine importAssertions, deprecatedImportAssert and moduleAttributes plugins.");if(t.get("moduleAttributes").version!=="may-2020")throw new Error("The 'moduleAttributes' plugin requires a 'version' option, representing the last proposal update. Currently, the only supported value is 'may-2020'.")}if(t.has("importAssertions")&&t.has("deprecatedImportAssert"))throw new Error("Cannot combine importAssertions and deprecatedImportAssert plugins.");if(!t.has("deprecatedImportAssert")&&t.has("importAttributes")&&t.get("importAttributes").deprecatedAssertSyntax&&t.set("deprecatedImportAssert",{}),t.has("recordAndTuple")){let r=t.get("recordAndTuple").syntaxType;if(r!=null){let i=["hash","bar"];if(!i.includes(r))throw new Error("The 'syntaxType' option of the 'recordAndTuple' plugin must be one of: "+i.map(a=>`'${a}'`).join(", "))}}if(t.has("asyncDoExpressions")&&!t.has("doExpressions")){let r=new Error("'asyncDoExpressions' requires 'doExpressions', please add 'doExpressions' to parser plugins.");throw r.missingPlugins="doExpressions",r}if(t.has("optionalChainingAssign")&&t.get("optionalChainingAssign").version!=="2023-07")throw new Error("The 'optionalChainingAssign' plugin requires a 'version' option, representing the last proposal update. Currently, the only supported value is '2023-07'.")}var Ps={estree:Qr,jsx:Di,flow:Ni,typescript:sa,v8intrinsic:oa,placeholders:na},ha=Object.keys(Ps),pa=class extends Qi{checkProto(t,e,s,r){if(t.type==="SpreadElement"||this.isObjectMethod(t)||t.computed||t.shorthand)return s;let i=t.key;return(i.type==="Identifier"?i.name:i.value)==="__proto__"?e?(this.raise(u.RecordNoProto,i),!0):(s&&(r?r.doubleProtoLoc===null&&(r.doubleProtoLoc=i.loc.start):this.raise(u.DuplicateProto,i)),!0):s}shouldExitDescending(t,e){return t.type==="ArrowFunctionExpression"&&this.offsetToSourcePos(t.start)===e}getExpression(){if(this.enterInitialScopes(),this.nextToken(),this.match(140))throw this.raise(u.ParseExpressionEmptyInput,this.state.startLoc);let t=this.parseExpression();if(!this.match(140))throw this.raise(u.ParseExpressionExpectsEOF,this.state.startLoc,{unexpected:this.input.codePointAt(this.state.start)});return this.finalizeRemainingComments(),t.comments=this.comments,t.errors=this.state.errors,this.optionFlags&256&&(t.tokens=this.tokens),t}parseExpression(t,e){return t?this.disallowInAnd(()=>this.parseExpressionBase(e)):this.allowInAnd(()=>this.parseExpressionBase(e))}parseExpressionBase(t){let e=this.state.startLoc,s=this.parseMaybeAssign(t);if(this.match(12)){let r=this.startNodeAt(e);for(r.expressions=[s];this.eat(12);)r.expressions.push(this.parseMaybeAssign(t));return this.toReferencedList(r.expressions),this.finishNode(r,"SequenceExpression")}return s}parseMaybeAssignDisallowIn(t,e){return this.disallowInAnd(()=>this.parseMaybeAssign(t,e))}parseMaybeAssignAllowIn(t,e){return this.allowInAnd(()=>this.parseMaybeAssign(t,e))}setOptionalParametersError(t){t.optionalParametersLoc=this.state.startLoc}parseMaybeAssign(t,e){let s=this.state.startLoc,r=this.isContextual(108);if(r&&this.prodParam.hasYield){this.next();let o=this.parseYield(s);return e&&(o=e.call(this,o,s)),o}let i;t?i=!1:(t=new Me,i=!0);let{type:a}=this.state;(a===10||F(a))&&(this.state.potentialArrowAt=this.state.start);let n=this.parseMaybeConditional(t);if(e&&(n=e.call(this,n,s)),ri(this.state.type)){let o=this.startNodeAt(s),p=this.state.value;if(o.operator=p,this.match(29)){this.toAssignable(n,!0),o.left=n;let l=s.index;t.doubleProtoLoc!=null&&t.doubleProtoLoc.index>=l&&(t.doubleProtoLoc=null),t.shorthandAssignLoc!=null&&t.shorthandAssignLoc.index>=l&&(t.shorthandAssignLoc=null),t.privateKeyLoc!=null&&t.privateKeyLoc.index>=l&&(this.checkDestructuringPrivate(t),t.privateKeyLoc=null)}else o.left=n;return this.next(),o.right=this.parseMaybeAssign(),this.checkLVal(n,this.finishNode(o,"AssignmentExpression")),o}else i&&this.checkExpressionErrors(t,!0);if(r){let{type:o}=this.state;if((this.hasPlugin("v8intrinsic")?be(o):be(o)&&!this.match(54))&&!this.isAmbiguousPrefixOrIdentifier())return this.raiseOverwrite(u.YieldNotInGeneratorFunction,s),this.parseYield(s)}return n}parseMaybeConditional(t){let e=this.state.startLoc,s=this.state.potentialArrowAt,r=this.parseExprOps(t);return this.shouldExitDescending(r,s)?r:this.parseConditional(r,e,t)}parseConditional(t,e,s){if(this.eat(17)){let r=this.startNodeAt(e);return r.test=t,r.consequent=this.parseMaybeAssignAllowIn(),this.expect(14),r.alternate=this.parseMaybeAssign(),this.finishNode(r,"ConditionalExpression")}return t}parseMaybeUnaryOrPrivate(t){return this.match(139)?this.parsePrivateName():this.parseMaybeUnary(t)}parseExprOps(t){let e=this.state.startLoc,s=this.state.potentialArrowAt,r=this.parseMaybeUnaryOrPrivate(t);return this.shouldExitDescending(r,s)?r:this.parseExprOp(r,e,-1)}parseExprOp(t,e,s){if(this.isPrivateName(t)){let i=this.getPrivateNameSV(t);(s>=Ne(58)||!this.prodParam.hasIn||!this.match(58))&&this.raise(u.PrivateInExpectedIn,t,{identifierName:i}),this.classScope.usePrivateName(i,t.loc.start)}let r=this.state.type;if(ai(r)&&(this.prodParam.hasIn||!this.match(58))){let i=Ne(r);if(i>s){if(r===39){if(this.expectPlugin("pipelineOperator"),this.state.inFSharpPipelineDirectBody)return t;this.checkPipelineAtInfixOperator(t,e)}let a=this.startNodeAt(e);a.left=t,a.operator=this.state.value;let n=r===41||r===42,o=r===40;if(o&&(i=Ne(42)),this.next(),r===39&&this.hasPlugin(["pipelineOperator",{proposal:"minimal"}])&&this.state.type===96&&this.prodParam.hasAwait)throw this.raise(u.UnexpectedAwaitAfterPipelineBody,this.state.startLoc);a.right=this.parseExprOpRightExpr(r,i);let p=this.finishNode(a,n||o?"LogicalExpression":"BinaryExpression"),l=this.state.type;if(o&&(l===41||l===42)||n&&l===40)throw this.raise(u.MixingCoalesceWithLogical,this.state.startLoc);return this.parseExprOp(p,e,s)}}return t}parseExprOpRightExpr(t,e){let s=this.state.startLoc;switch(t){case 39:switch(this.getPluginOption("pipelineOperator","proposal")){case"hack":return this.withTopicBindingContext(()=>this.parseHackPipeBody());case"fsharp":return this.withSoloAwaitPermittingContext(()=>this.parseFSharpPipelineBody(e))}if(this.getPluginOption("pipelineOperator","proposal")==="smart")return this.withTopicBindingContext(()=>{if(this.prodParam.hasYield&&this.isContextual(108))throw this.raise(u.PipeBodyIsTighter,this.state.startLoc);return this.parseSmartPipelineBodyInStyle(this.parseExprOpBaseRightExpr(t,e),s)});default:return this.parseExprOpBaseRightExpr(t,e)}}parseExprOpBaseRightExpr(t,e){let s=this.state.startLoc;return this.parseExprOp(this.parseMaybeUnaryOrPrivate(),s,pi(t)?e-1:e)}parseHackPipeBody(){var t;let{startLoc:e}=this.state,s=this.parseMaybeAssign();return le.has(s.type)&&!((t=s.extra)!=null&&t.parenthesized)&&this.raise(u.PipeUnparenthesizedBody,e,{type:s.type}),this.topicReferenceWasUsedInCurrentContext()||this.raise(u.PipeTopicUnused,e),s}checkExponentialAfterUnary(t){this.match(57)&&this.raise(u.UnexpectedTokenUnaryExponentiation,t.argument)}parseMaybeUnary(t,e){let s=this.state.startLoc,r=this.isContextual(96);if(r&&this.recordAwaitIfAllowed()){this.next();let o=this.parseAwait(s);return e||this.checkExponentialAfterUnary(o),o}let i=this.match(34),a=this.startNode();if(oi(this.state.type)){a.operator=this.state.value,a.prefix=!0,this.match(72)&&this.expectPlugin("throwExpressions");let o=this.match(89);if(this.next(),a.argument=this.parseMaybeUnary(null,!0),this.checkExpressionErrors(t,!0),this.state.strict&&o){let p=a.argument;p.type==="Identifier"?this.raise(u.StrictDelete,a):this.hasPropertyAsPrivateName(p)&&this.raise(u.DeletePrivateField,a)}if(!i)return e||this.checkExponentialAfterUnary(a),this.finishNode(a,"UnaryExpression")}let n=this.parseUpdate(a,i,t);if(r){let{type:o}=this.state;if((this.hasPlugin("v8intrinsic")?be(o):be(o)&&!this.match(54))&&!this.isAmbiguousPrefixOrIdentifier())return this.raiseOverwrite(u.AwaitNotInAsyncContext,s),this.parseAwait(s)}return n}parseUpdate(t,e,s){if(e){let a=t;return this.checkLVal(a.argument,this.finishNode(a,"UpdateExpression")),t}let r=this.state.startLoc,i=this.parseExprSubscripts(s);if(this.checkExpressionErrors(s,!1))return i;for(;ni(this.state.type)&&!this.canInsertSemicolon();){let a=this.startNodeAt(r);a.operator=this.state.value,a.prefix=!1,a.argument=i,this.next(),this.checkLVal(i,i=this.finishNode(a,"UpdateExpression"))}return i}parseExprSubscripts(t){let e=this.state.startLoc,s=this.state.potentialArrowAt,r=this.parseExprAtom(t);return this.shouldExitDescending(r,s)?r:this.parseSubscripts(r,e)}parseSubscripts(t,e,s){let r={optionalChainMember:!1,maybeAsyncArrow:this.atPossibleAsyncArrow(t),stop:!1};do t=this.parseSubscript(t,e,s,r),r.maybeAsyncArrow=!1;while(!r.stop);return t}parseSubscript(t,e,s,r){let{type:i}=this.state;if(!s&&i===15)return this.parseBind(t,e,s,r);if(ve(i))return this.parseTaggedTemplateExpression(t,e,r);let a=!1;if(i===18){if(s&&(this.raise(u.OptionalChainingNoNew,this.state.startLoc),this.lookaheadCharCode()===40))return this.stopParseSubscript(t,r);r.optionalChainMember=a=!0,this.next()}if(!s&&this.match(10))return this.parseCoverCallAndAsyncArrowHead(t,e,r,a);{let n=this.eat(0);return n||a||this.eat(16)?this.parseMember(t,e,r,n,a):this.stopParseSubscript(t,r)}}stopParseSubscript(t,e){return e.stop=!0,t}parseMember(t,e,s,r,i){let a=this.startNodeAt(e);return a.object=t,a.computed=r,r?(a.property=this.parseExpression(),this.expect(3)):this.match(139)?(t.type==="Super"&&this.raise(u.SuperPrivateField,e),this.classScope.usePrivateName(this.state.value,this.state.startLoc),a.property=this.parsePrivateName()):a.property=this.parseIdentifier(!0),s.optionalChainMember?(a.optional=i,this.finishNode(a,"OptionalMemberExpression")):this.finishNode(a,"MemberExpression")}parseBind(t,e,s,r){let i=this.startNodeAt(e);return i.object=t,this.next(),i.callee=this.parseNoCallExpr(),r.stop=!0,this.parseSubscripts(this.finishNode(i,"BindExpression"),e,s)}parseCoverCallAndAsyncArrowHead(t,e,s,r){let i=this.state.maybeInArrowParameters,a=null;this.state.maybeInArrowParameters=!0,this.next();let n=this.startNodeAt(e);n.callee=t;let{maybeAsyncArrow:o,optionalChainMember:p}=s;o&&(this.expressionScope.enter(Xi()),a=new Me),p&&(n.optional=r),r?n.arguments=this.parseCallExpressionArguments(11):n.arguments=this.parseCallExpressionArguments(11,t.type!=="Super",n,a);let l=this.finishCallExpression(n,p);return o&&this.shouldParseAsyncArrow()&&!r?(s.stop=!0,this.checkDestructuringPrivate(a),this.expressionScope.validateAsPattern(),this.expressionScope.exit(),l=this.parseAsyncArrowFromCallExpression(this.startNodeAt(e),l)):(o&&(this.checkExpressionErrors(a,!0),this.expressionScope.exit()),this.toReferencedArguments(l)),this.state.maybeInArrowParameters=i,l}toReferencedArguments(t,e){this.toReferencedListDeep(t.arguments,e)}parseTaggedTemplateExpression(t,e,s){let r=this.startNodeAt(e);return r.tag=t,r.quasi=this.parseTemplate(!0),s.optionalChainMember&&this.raise(u.OptionalChainingNoTemplate,e),this.finishNode(r,"TaggedTemplateExpression")}atPossibleAsyncArrow(t){return t.type==="Identifier"&&t.name==="async"&&this.state.lastTokEndLoc.index===t.end&&!this.canInsertSemicolon()&&t.end-t.start===5&&this.offsetToSourcePos(t.start)===this.state.potentialArrowAt}finishCallExpression(t,e){if(t.callee.type==="Import")if(t.arguments.length===0||t.arguments.length>2)this.raise(u.ImportCallArity,t);else for(let s of t.arguments)s.type==="SpreadElement"&&this.raise(u.ImportCallSpreadArgument,s);return this.finishNode(t,e?"OptionalCallExpression":"CallExpression")}parseCallExpressionArguments(t,e,s,r){let i=[],a=!0,n=this.state.inFSharpPipelineDirectBody;for(this.state.inFSharpPipelineDirectBody=!1;!this.eat(t);){if(a)a=!1;else if(this.expect(12),this.match(t)){s&&this.addTrailingCommaExtraToNode(s),this.next();break}i.push(this.parseExprListItem(!1,r,e))}return this.state.inFSharpPipelineDirectBody=n,i}shouldParseAsyncArrow(){return this.match(19)&&!this.canInsertSemicolon()}parseAsyncArrowFromCallExpression(t,e){var s;return this.resetPreviousNodeTrailingComments(e),this.expect(19),this.parseArrowExpression(t,e.arguments,!0,(s=e.extra)==null?void 0:s.trailingCommaLoc),e.innerComments&&Ee(t,e.innerComments),e.callee.trailingComments&&Ee(t,e.callee.trailingComments),t}parseNoCallExpr(){let t=this.state.startLoc;return this.parseSubscripts(this.parseExprAtom(),t,!0)}parseExprAtom(t){let e,s=null,{type:r}=this.state;switch(r){case 79:return this.parseSuper();case 83:return e=this.startNode(),this.next(),this.match(16)?this.parseImportMetaPropertyOrPhaseCall(e):this.match(10)?this.optionFlags&512?this.parseImportCall(e):this.finishNode(e,"Import"):(this.raise(u.UnsupportedImport,this.state.lastTokStartLoc),this.finishNode(e,"Import"));case 78:return e=this.startNode(),this.next(),this.finishNode(e,"ThisExpression");case 90:return this.parseDo(this.startNode(),!1);case 56:case 31:return this.readRegexp(),this.parseRegExpLiteral(this.state.value);case 135:return this.parseNumericLiteral(this.state.value);case 136:return this.parseBigIntLiteral(this.state.value);case 134:return this.parseStringLiteral(this.state.value);case 84:return this.parseNullLiteral();case 85:return this.parseBooleanLiteral(!0);case 86:return this.parseBooleanLiteral(!1);case 10:{let i=this.state.potentialArrowAt===this.state.start;return this.parseParenAndDistinguishExpression(i)}case 0:return this.parseArrayLike(3,!0,!1,t);case 5:return this.parseObjectLike(8,!1,!1,t);case 68:return this.parseFunctionOrFunctionSent();case 26:s=this.parseDecorators();case 80:return this.parseClass(this.maybeTakeDecorators(s,this.startNode()),!1);case 77:return this.parseNewOrNewTarget();case 25:case 24:return this.parseTemplate(!1);case 15:{e=this.startNode(),this.next(),e.object=null;let i=e.callee=this.parseNoCallExpr();if(i.type==="MemberExpression")return this.finishNode(e,"BindExpression");throw this.raise(u.UnsupportedBind,i)}case 139:return this.raise(u.PrivateInExpectedIn,this.state.startLoc,{identifierName:this.state.value}),this.parsePrivateName();case 33:return this.parseTopicReferenceThenEqualsSign(54,"%");case 32:return this.parseTopicReferenceThenEqualsSign(44,"^");case 37:case 38:return this.parseTopicReference("hack");case 44:case 54:case 27:{let i=this.getPluginOption("pipelineOperator","proposal");if(i)return this.parseTopicReference(i);this.unexpected();break}case 47:{let i=this.input.codePointAt(this.nextTokenStart());G(i)||i===62?this.expectOnePlugin(["jsx","flow","typescript"]):this.unexpected();break}default:{if(r===137)return this.parseDecimalLiteral(this.state.value);if(r===2||r===1)return this.parseArrayLike(this.state.type===2?4:3,!1,!0);if(r===6||r===7)return this.parseObjectLike(this.state.type===6?9:8,!1,!0)}if(F(r)){if(this.isContextual(127)&&this.lookaheadInLineCharCode()===123)return this.parseModuleExpression();let i=this.state.potentialArrowAt===this.state.start,a=this.state.containsEsc,n=this.parseIdentifier();if(!a&&n.name==="async"&&!this.canInsertSemicolon()){let{type:o}=this.state;if(o===68)return this.resetPreviousNodeTrailingComments(n),this.next(),this.parseAsyncFunctionExpression(this.startNodeAtNode(n));if(F(o))return this.lookaheadCharCode()===61?this.parseAsyncArrowUnaryFunction(this.startNodeAtNode(n)):n;if(o===90)return this.resetPreviousNodeTrailingComments(n),this.parseDo(this.startNodeAtNode(n),!0)}return i&&this.match(19)&&!this.canInsertSemicolon()?(this.next(),this.parseArrowExpression(this.startNodeAtNode(n),[n],!1)):n}else this.unexpected()}}parseTopicReferenceThenEqualsSign(t,e){let s=this.getPluginOption("pipelineOperator","proposal");if(s)return this.state.type=t,this.state.value=e,this.state.pos--,this.state.end--,this.state.endLoc=x(this.state.endLoc,-1),this.parseTopicReference(s);this.unexpected()}parseTopicReference(t){let e=this.startNode(),s=this.state.startLoc,r=this.state.type;return this.next(),this.finishTopicReference(e,s,t,r)}finishTopicReference(t,e,s,r){if(this.testTopicReferenceConfiguration(s,e,r))return s==="hack"?(this.topicReferenceIsAllowedInCurrentContext()||this.raise(u.PipeTopicUnbound,e),this.registerTopicReference(),this.finishNode(t,"TopicReference")):(this.topicReferenceIsAllowedInCurrentContext()||this.raise(u.PrimaryTopicNotAllowed,e),this.registerTopicReference(),this.finishNode(t,"PipelinePrimaryTopicReference"));throw this.raise(u.PipeTopicUnconfiguredToken,e,{token:ee(r)})}testTopicReferenceConfiguration(t,e,s){switch(t){case"hack":return this.hasPlugin(["pipelineOperator",{topicToken:ee(s)}]);case"smart":return s===27;default:throw this.raise(u.PipeTopicRequiresHackPipes,e)}}parseAsyncArrowUnaryFunction(t){this.prodParam.enter(De(!0,this.prodParam.hasYield));let e=[this.parseIdentifier()];return this.prodParam.exit(),this.hasPrecedingLineBreak()&&this.raise(u.LineTerminatorBeforeArrow,this.state.curPosition()),this.expect(19),this.parseArrowExpression(t,e,!0)}parseDo(t,e){this.expectPlugin("doExpressions"),e&&this.expectPlugin("asyncDoExpressions"),t.async=e,this.next();let s=this.state.labels;return this.state.labels=[],e?(this.prodParam.enter(2),t.body=this.parseBlock(),this.prodParam.exit()):t.body=this.parseBlock(),this.state.labels=s,this.finishNode(t,"DoExpression")}parseSuper(){let t=this.startNode();return this.next(),this.match(10)&&!this.scope.allowDirectSuper&&!(this.optionFlags&16)?this.raise(u.SuperNotAllowed,t):!this.scope.allowSuper&&!(this.optionFlags&16)&&this.raise(u.UnexpectedSuper,t),!this.match(10)&&!this.match(0)&&!this.match(16)&&this.raise(u.UnsupportedSuper,t),this.finishNode(t,"Super")}parsePrivateName(){let t=this.startNode(),e=this.startNodeAt(x(this.state.startLoc,1)),s=this.state.value;return this.next(),t.id=this.createIdentifier(e,s),this.finishNode(t,"PrivateName")}parseFunctionOrFunctionSent(){let t=this.startNode();if(this.next(),this.prodParam.hasYield&&this.match(16)){let e=this.createIdentifier(this.startNodeAtNode(t),"function");return this.next(),this.match(103)?this.expectPlugin("functionSent"):this.hasPlugin("functionSent")||this.unexpected(),this.parseMetaProperty(t,e,"sent")}return this.parseFunction(t)}parseMetaProperty(t,e,s){t.meta=e;let r=this.state.containsEsc;return t.property=this.parseIdentifier(!0),(t.property.name!==s||r)&&this.raise(u.UnsupportedMetaProperty,t.property,{target:e.name,onlyValidPropertyName:s}),this.finishNode(t,"MetaProperty")}parseImportMetaPropertyOrPhaseCall(t){if(this.next(),this.isContextual(105)||this.isContextual(97)){let e=this.isContextual(105);return this.expectPlugin(e?"sourcePhaseImports":"deferredImportEvaluation"),this.next(),t.phase=e?"source":"defer",this.parseImportCall(t)}else{let e=this.createIdentifierAt(this.startNodeAtNode(t),"import",this.state.lastTokStartLoc);return this.isContextual(101)&&(this.inModule||this.raise(u.ImportMetaOutsideModule,e),this.sawUnambiguousESM=!0),this.parseMetaProperty(t,e,"meta")}}parseLiteralAtNode(t,e,s){return this.addExtra(s,"rawValue",t),this.addExtra(s,"raw",this.input.slice(this.offsetToSourcePos(s.start),this.state.end)),s.value=t,this.next(),this.finishNode(s,e)}parseLiteral(t,e){let s=this.startNode();return this.parseLiteralAtNode(t,e,s)}parseStringLiteral(t){return this.parseLiteral(t,"StringLiteral")}parseNumericLiteral(t){return this.parseLiteral(t,"NumericLiteral")}parseBigIntLiteral(t){return this.parseLiteral(t,"BigIntLiteral")}parseDecimalLiteral(t){return this.parseLiteral(t,"DecimalLiteral")}parseRegExpLiteral(t){let e=this.startNode();return this.addExtra(e,"raw",this.input.slice(this.offsetToSourcePos(e.start),this.state.end)),e.pattern=t.pattern,e.flags=t.flags,this.next(),this.finishNode(e,"RegExpLiteral")}parseBooleanLiteral(t){let e=this.startNode();return e.value=t,this.next(),this.finishNode(e,"BooleanLiteral")}parseNullLiteral(){let t=this.startNode();return this.next(),this.finishNode(t,"NullLiteral")}parseParenAndDistinguishExpression(t){let e=this.state.startLoc,s;this.next(),this.expressionScope.enter(Wi());let r=this.state.maybeInArrowParameters,i=this.state.inFSharpPipelineDirectBody;this.state.maybeInArrowParameters=!0,this.state.inFSharpPipelineDirectBody=!1;let a=this.state.startLoc,n=[],o=new Me,p=!0,l,d;for(;!this.match(11);){if(p)p=!1;else if(this.expect(12,o.optionalParametersLoc===null?null:o.optionalParametersLoc),this.match(11)){d=this.state.startLoc;break}if(this.match(21)){let T=this.state.startLoc;if(l=this.state.startLoc,n.push(this.parseParenItem(this.parseRestBinding(),T)),!this.checkCommaAfterRest(41))break}else n.push(this.parseMaybeAssignAllowIn(o,this.parseParenItem))}let y=this.state.lastTokEndLoc;this.expect(11),this.state.maybeInArrowParameters=r,this.state.inFSharpPipelineDirectBody=i;let A=this.startNodeAt(e);return t&&this.shouldParseArrow(n)&&(A=this.parseArrow(A))?(this.checkDestructuringPrivate(o),this.expressionScope.validateAsPattern(),this.expressionScope.exit(),this.parseArrowExpression(A,n,!1),A):(this.expressionScope.exit(),n.length||this.unexpected(this.state.lastTokStartLoc),d&&this.unexpected(d),l&&this.unexpected(l),this.checkExpressionErrors(o,!0),this.toReferencedListDeep(n,!0),n.length>1?(s=this.startNodeAt(a),s.expressions=n,this.finishNode(s,"SequenceExpression"),this.resetEndLocation(s,y)):s=n[0],this.wrapParenthesis(e,s))}wrapParenthesis(t,e){if(!(this.optionFlags&1024))return this.addExtra(e,"parenthesized",!0),this.addExtra(e,"parenStart",t.index),this.takeSurroundingComments(e,t.index,this.state.lastTokEndLoc.index),e;let s=this.startNodeAt(t);return s.expression=e,this.finishNode(s,"ParenthesizedExpression")}shouldParseArrow(t){return!this.canInsertSemicolon()}parseArrow(t){if(this.eat(19))return t}parseParenItem(t,e){return t}parseNewOrNewTarget(){let t=this.startNode();if(this.next(),this.match(16)){let e=this.createIdentifier(this.startNodeAtNode(t),"new");this.next();let s=this.parseMetaProperty(t,e,"target");return this.scope.allowNewTarget||this.raise(u.UnexpectedNewTarget,s),s}return this.parseNew(t)}parseNew(t){if(this.parseNewCallee(t),this.eat(10)){let e=this.parseExprList(11);this.toReferencedList(e),t.arguments=e}else t.arguments=[];return this.finishNode(t,"NewExpression")}parseNewCallee(t){let e=this.match(83),s=this.parseNoCallExpr();t.callee=s,e&&(s.type==="Import"||s.type==="ImportExpression")&&this.raise(u.ImportCallNotNewExpression,s)}parseTemplateElement(t){let{start:e,startLoc:s,end:r,value:i}=this.state,a=e+1,n=this.startNodeAt(x(s,1));i===null&&(t||this.raise(u.InvalidEscapeSequenceTemplate,x(this.state.firstInvalidTemplateEscapePos,1)));let o=this.match(24),p=o?-1:-2,l=r+p;n.value={raw:this.input.slice(a,l).replace(/\r\n?/g,` +`),cooked:i===null?null:i.slice(1,p)},n.tail=o,this.next();let d=this.finishNode(n,"TemplateElement");return this.resetEndLocation(d,x(this.state.lastTokEndLoc,p)),d}parseTemplate(t){let e=this.startNode(),s=this.parseTemplateElement(t),r=[s],i=[];for(;!s.tail;)i.push(this.parseTemplateSubstitution()),this.readTemplateContinuation(),r.push(s=this.parseTemplateElement(t));return e.expressions=i,e.quasis=r,this.finishNode(e,"TemplateLiteral")}parseTemplateSubstitution(){return this.parseExpression()}parseObjectLike(t,e,s,r){s&&this.expectPlugin("recordAndTuple");let i=this.state.inFSharpPipelineDirectBody;this.state.inFSharpPipelineDirectBody=!1;let a=!1,n=!0,o=this.startNode();for(o.properties=[],this.next();!this.match(t);){if(n)n=!1;else if(this.expect(12),this.match(t)){this.addTrailingCommaExtraToNode(o);break}let l;e?l=this.parseBindingProperty():(l=this.parsePropertyDefinition(r),a=this.checkProto(l,s,a,r)),s&&!this.isObjectProperty(l)&&l.type!=="SpreadElement"&&this.raise(u.InvalidRecordProperty,l),l.shorthand&&this.addExtra(l,"shorthand",!0),o.properties.push(l)}this.next(),this.state.inFSharpPipelineDirectBody=i;let p="ObjectExpression";return e?p="ObjectPattern":s&&(p="RecordExpression"),this.finishNode(o,p)}addTrailingCommaExtraToNode(t){this.addExtra(t,"trailingComma",this.state.lastTokStartLoc.index),this.addExtra(t,"trailingCommaLoc",this.state.lastTokStartLoc,!1)}maybeAsyncOrAccessorProp(t){return!t.computed&&t.key.type==="Identifier"&&(this.isLiteralPropertyName()||this.match(0)||this.match(55))}parsePropertyDefinition(t){let e=[];if(this.match(26))for(this.hasPlugin("decorators")&&this.raise(u.UnsupportedPropertyDecorator,this.state.startLoc);this.match(26);)e.push(this.parseDecorator());let s=this.startNode(),r=!1,i=!1,a;if(this.match(21))return e.length&&this.unexpected(),this.parseSpread();e.length&&(s.decorators=e,e=[]),s.method=!1,t&&(a=this.state.startLoc);let n=this.eat(55);this.parsePropertyNamePrefixOperator(s);let o=this.state.containsEsc;if(this.parsePropertyName(s,t),!n&&!o&&this.maybeAsyncOrAccessorProp(s)){let{key:p}=s,l=p.name;l==="async"&&!this.hasPrecedingLineBreak()&&(r=!0,this.resetPreviousNodeTrailingComments(p),n=this.eat(55),this.parsePropertyName(s)),(l==="get"||l==="set")&&(i=!0,this.resetPreviousNodeTrailingComments(p),s.kind=l,this.match(55)&&(n=!0,this.raise(u.AccessorIsGenerator,this.state.curPosition(),{kind:l}),this.next()),this.parsePropertyName(s))}return this.parseObjPropValue(s,a,n,r,!1,i,t)}getGetterSetterExpectedParamCount(t){return t.kind==="get"?0:1}getObjectOrClassMethodParams(t){return t.params}checkGetterSetterParams(t){var e;let s=this.getGetterSetterExpectedParamCount(t),r=this.getObjectOrClassMethodParams(t);r.length!==s&&this.raise(t.kind==="get"?u.BadGetterArity:u.BadSetterArity,t),t.kind==="set"&&((e=r[r.length-1])==null?void 0:e.type)==="RestElement"&&this.raise(u.BadSetterRestParameter,t)}parseObjectMethod(t,e,s,r,i){if(i){let a=this.parseMethod(t,e,!1,!1,!1,"ObjectMethod");return this.checkGetterSetterParams(a),a}if(s||e||this.match(10))return r&&this.unexpected(),t.kind="method",t.method=!0,this.parseMethod(t,e,s,!1,!1,"ObjectMethod")}parseObjectProperty(t,e,s,r){if(t.shorthand=!1,this.eat(14))return t.value=s?this.parseMaybeDefault(this.state.startLoc):this.parseMaybeAssignAllowIn(r),this.finishObjectProperty(t);if(!t.computed&&t.key.type==="Identifier"){if(this.checkReservedWord(t.key.name,t.key.loc.start,!0,!1),s)t.value=this.parseMaybeDefault(e,this.cloneIdentifier(t.key));else if(this.match(29)){let i=this.state.startLoc;r!=null?r.shorthandAssignLoc===null&&(r.shorthandAssignLoc=i):this.raise(u.InvalidCoverInitializedName,i),t.value=this.parseMaybeDefault(e,this.cloneIdentifier(t.key))}else t.value=this.cloneIdentifier(t.key);return t.shorthand=!0,this.finishObjectProperty(t)}}finishObjectProperty(t){return this.finishNode(t,"ObjectProperty")}parseObjPropValue(t,e,s,r,i,a,n){let o=this.parseObjectMethod(t,s,r,i,a)||this.parseObjectProperty(t,e,i,n);return o||this.unexpected(),o}parsePropertyName(t,e){if(this.eat(0))t.computed=!0,t.key=this.parseMaybeAssignAllowIn(),this.expect(3);else{let{type:s,value:r}=this.state,i;if($(s))i=this.parseIdentifier(!0);else switch(s){case 135:i=this.parseNumericLiteral(r);break;case 134:i=this.parseStringLiteral(r);break;case 136:i=this.parseBigIntLiteral(r);break;case 139:{let a=this.state.startLoc;e!=null?e.privateKeyLoc===null&&(e.privateKeyLoc=a):this.raise(u.UnexpectedPrivateField,a),i=this.parsePrivateName();break}default:if(s===137){i=this.parseDecimalLiteral(r);break}this.unexpected()}t.key=i,s!==139&&(t.computed=!1)}}initFunction(t,e){t.id=null,t.generator=!1,t.async=e}parseMethod(t,e,s,r,i,a,n=!1){this.initFunction(t,s),t.generator=e,this.scope.enter(530|(n?576:0)|(i?32:0)),this.prodParam.enter(De(s,t.generator)),this.parseFunctionParams(t,r);let o=this.parseFunctionBodyAndFinish(t,a,!0);return this.prodParam.exit(),this.scope.exit(),o}parseArrayLike(t,e,s,r){s&&this.expectPlugin("recordAndTuple");let i=this.state.inFSharpPipelineDirectBody;this.state.inFSharpPipelineDirectBody=!1;let a=this.startNode();return this.next(),a.elements=this.parseExprList(t,!s,r,a),this.state.inFSharpPipelineDirectBody=i,this.finishNode(a,s?"TupleExpression":"ArrayExpression")}parseArrowExpression(t,e,s,r){this.scope.enter(518);let i=De(s,!1);!this.match(5)&&this.prodParam.hasIn&&(i|=8),this.prodParam.enter(i),this.initFunction(t,s);let a=this.state.maybeInArrowParameters;return e&&(this.state.maybeInArrowParameters=!0,this.setArrowFunctionParameters(t,e,r)),this.state.maybeInArrowParameters=!1,this.parseFunctionBody(t,!0),this.prodParam.exit(),this.scope.exit(),this.state.maybeInArrowParameters=a,this.finishNode(t,"ArrowFunctionExpression")}setArrowFunctionParameters(t,e,s){this.toAssignableList(e,s,!1),t.params=e}parseFunctionBodyAndFinish(t,e,s=!1){return this.parseFunctionBody(t,!1,s),this.finishNode(t,e)}parseFunctionBody(t,e,s=!1){let r=e&&!this.match(5);if(this.expressionScope.enter(hs()),r)t.body=this.parseMaybeAssign(),this.checkParams(t,!1,e,!1);else{let i=this.state.strict,a=this.state.labels;this.state.labels=[],this.prodParam.enter(this.prodParam.currentFlags()|4),t.body=this.parseBlock(!0,!1,n=>{let o=!this.isSimpleParamList(t.params);n&&o&&this.raise(u.IllegalLanguageModeDirective,(t.kind==="method"||t.kind==="constructor")&&t.key?t.key.loc.end:t);let p=!i&&this.state.strict;this.checkParams(t,!this.state.strict&&!e&&!s&&!o,e,p),this.state.strict&&t.id&&this.checkIdentifier(t.id,65,p)}),this.prodParam.exit(),this.state.labels=a}this.expressionScope.exit()}isSimpleParameter(t){return t.type==="Identifier"}isSimpleParamList(t){for(let e=0,s=t.length;e10||!gi(t))){if(s&&xi(t)){this.raise(u.UnexpectedKeyword,e,{keyword:t});return}if((this.state.strict?r?es:Qt:Yt)(t,this.inModule)){this.raise(u.UnexpectedReservedWord,e,{reservedWord:t});return}else if(t==="yield"){if(this.prodParam.hasYield){this.raise(u.YieldBindingIdentifier,e);return}}else if(t==="await"){if(this.prodParam.hasAwait){this.raise(u.AwaitBindingIdentifier,e);return}if(this.scope.inStaticBlock){this.raise(u.AwaitBindingIdentifierInStaticBlock,e);return}this.expressionScope.recordAsyncArrowParametersError(e)}else if(t==="arguments"&&this.scope.inClassAndNotInNonArrowFunction){this.raise(u.ArgumentsInClass,e);return}}}recordAwaitIfAllowed(){let t=this.prodParam.hasAwait;return t&&!this.scope.inFunction&&(this.state.hasTopLevelAwait=!0),t}parseAwait(t){let e=this.startNodeAt(t);return this.expressionScope.recordParameterInitializerError(u.AwaitExpressionFormalParameter,e),this.eat(55)&&this.raise(u.ObsoleteAwaitStar,e),!this.scope.inFunction&&!(this.optionFlags&1)&&(this.isAmbiguousPrefixOrIdentifier()?this.ambiguousScriptDifferentAst=!0:this.sawUnambiguousESM=!0),this.state.soloAwait||(e.argument=this.parseMaybeUnary(null,!0)),this.finishNode(e,"AwaitExpression")}isAmbiguousPrefixOrIdentifier(){if(this.hasPrecedingLineBreak())return!0;let{type:t}=this.state;return t===53||t===10||t===0||ve(t)||t===102&&!this.state.containsEsc||t===138||t===56||this.hasPlugin("v8intrinsic")&&t===54}parseYield(t){let e=this.startNodeAt(t);this.expressionScope.recordParameterInitializerError(u.YieldInParameter,e);let s=!1,r=null;if(!this.hasPrecedingLineBreak())switch(s=this.eat(55),this.state.type){case 13:case 140:case 8:case 11:case 3:case 9:case 14:case 12:if(!s)break;default:r=this.parseMaybeAssign()}return e.delegate=s,e.argument=r,this.finishNode(e,"YieldExpression")}parseImportCall(t){if(this.next(),t.source=this.parseMaybeAssignAllowIn(),t.options=null,this.eat(12)){if(this.match(11))this.addTrailingCommaExtraToNode(t.source);else if(t.options=this.parseMaybeAssignAllowIn(),this.eat(12)&&(this.addTrailingCommaExtraToNode(t.options),!this.match(11))){do this.parseMaybeAssignAllowIn();while(this.eat(12)&&!this.match(11));this.raise(u.ImportCallArity,t)}}return this.expect(11),this.finishNode(t,"ImportExpression")}checkPipelineAtInfixOperator(t,e){this.hasPlugin(["pipelineOperator",{proposal:"smart"}])&&t.type==="SequenceExpression"&&this.raise(u.PipelineHeadSequenceExpression,e)}parseSmartPipelineBodyInStyle(t,e){if(this.isSimpleReference(t)){let s=this.startNodeAt(e);return s.callee=t,this.finishNode(s,"PipelineBareFunction")}else{let s=this.startNodeAt(e);return this.checkSmartPipeTopicBodyEarlyErrors(e),s.expression=t,this.finishNode(s,"PipelineTopicExpression")}}isSimpleReference(t){switch(t.type){case"MemberExpression":return!t.computed&&this.isSimpleReference(t.object);case"Identifier":return!0;default:return!1}}checkSmartPipeTopicBodyEarlyErrors(t){if(this.match(19))throw this.raise(u.PipelineBodyNoArrow,this.state.startLoc);this.topicReferenceWasUsedInCurrentContext()||this.raise(u.PipelineTopicUnused,t)}withTopicBindingContext(t){let e=this.state.topicContext;this.state.topicContext={maxNumOfResolvableTopics:1,maxTopicIndex:null};try{return t()}finally{this.state.topicContext=e}}withSmartMixTopicForbiddingContext(t){if(this.hasPlugin(["pipelineOperator",{proposal:"smart"}])){let e=this.state.topicContext;this.state.topicContext={maxNumOfResolvableTopics:0,maxTopicIndex:null};try{return t()}finally{this.state.topicContext=e}}else return t()}withSoloAwaitPermittingContext(t){let e=this.state.soloAwait;this.state.soloAwait=!0;try{return t()}finally{this.state.soloAwait=e}}allowInAnd(t){let e=this.prodParam.currentFlags();if(8&~e){this.prodParam.enter(e|8);try{return t()}finally{this.prodParam.exit()}}return t()}disallowInAnd(t){let e=this.prodParam.currentFlags();if(8&e){this.prodParam.enter(e&-9);try{return t()}finally{this.prodParam.exit()}}return t()}registerTopicReference(){this.state.topicContext.maxTopicIndex=0}topicReferenceIsAllowedInCurrentContext(){return this.state.topicContext.maxNumOfResolvableTopics>=1}topicReferenceWasUsedInCurrentContext(){return this.state.topicContext.maxTopicIndex!=null&&this.state.topicContext.maxTopicIndex>=0}parseFSharpPipelineBody(t){let e=this.state.startLoc;this.state.potentialArrowAt=this.state.start;let s=this.state.inFSharpPipelineDirectBody;this.state.inFSharpPipelineDirectBody=!0;let r=this.parseExprOp(this.parseMaybeUnaryOrPrivate(),e,t);return this.state.inFSharpPipelineDirectBody=s,r}parseModuleExpression(){this.expectPlugin("moduleBlocks");let t=this.startNode();this.next(),this.match(5)||this.unexpected(null,5);let e=this.startNodeAt(this.state.endLoc);this.next();let s=this.initializeScopes(!0);this.enterInitialScopes();try{t.body=this.parseProgram(e,8,"module")}finally{s()}return this.finishNode(t,"ModuleExpression")}parsePropertyNamePrefixOperator(t){}},ot={kind:1},ua={kind:2},ca=/[\uD800-\uDFFF]/u,lt=/in(?:stanceof)?/y;function da(t,e,s){for(let r=0;r0)for(let[i,a]of Array.from(this.scope.undefinedExports))this.raise(u.ModuleExportUndefined,a,{localName:i});this.addExtra(t,"topLevelAwait",this.state.hasTopLevelAwait)}let r;return e===140?r=this.finishNode(t,"Program"):r=this.finishNodeAt(t,"Program",x(this.state.startLoc,-1)),r}stmtToDirective(t){let e=this.castNodeTo(t,"Directive"),s=this.castNodeTo(t.expression,"DirectiveLiteral"),r=s.value,i=this.input.slice(this.offsetToSourcePos(s.start),this.offsetToSourcePos(s.end)),a=s.value=i.slice(1,-1);return this.addExtra(s,"raw",i),this.addExtra(s,"rawValue",a),this.addExtra(s,"expressionValue",r),e.value=s,delete t.expression,e}parseInterpreterDirective(){if(!this.match(28))return null;let t=this.startNode();return t.value=this.state.value,this.next(),this.finishNode(t,"InterpreterDirective")}isLet(){return this.isContextual(100)?this.hasFollowingBindingAtom():!1}isUsing(){if(!this.isContextual(107))return!1;let t=this.nextTokenInLineStart(),e=this.codePointAtPos(t);return this.chStartsBindingIdentifier(e,t)}isForUsing(){if(!this.isContextual(107))return!1;let t=this.nextTokenInLineStart(),e=this.codePointAtPos(t);if(this.isUnparsedContextual(t,"of")){let s=this.lookaheadCharCodeSince(t+2);if(s!==61&&s!==58&&s!==59)return!1}return this.chStartsBindingIdentifier(e,t)?(this.expectPlugin("explicitResourceManagement"),!0):!1}isAwaitUsing(){if(!this.isContextual(96))return!1;let t=this.nextTokenInLineStart();if(this.isUnparsedContextual(t,"using")){t=this.nextTokenInLineStartSince(t+5);let e=this.codePointAtPos(t);if(this.chStartsBindingIdentifier(e,t))return this.expectPlugin("explicitResourceManagement"),!0}return!1}chStartsBindingIdentifier(t,e){if(G(t)){if(lt.lastIndex=e,lt.test(this.input)){let s=this.codePointAtPos(lt.lastIndex);if(!pe(s)&&s!==92)return!1}return!0}else return t===92}chStartsBindingPattern(t){return t===91||t===123}hasFollowingBindingAtom(){let t=this.nextTokenStart(),e=this.codePointAtPos(t);return this.chStartsBindingPattern(e)||this.chStartsBindingIdentifier(e,t)}hasInLineFollowingBindingIdentifierOrBrace(){let t=this.nextTokenInLineStart(),e=this.codePointAtPos(t);return e===123||this.chStartsBindingIdentifier(e,t)}allowsUsing(){return(this.scope.inModule||!this.scope.inTopLevel)&&!this.scope.inBareCaseStatement}parseModuleItem(){return this.parseStatementLike(15)}parseStatementListItem(){return this.parseStatementLike(6|(!this.options.annexB||this.state.strict?0:8))}parseStatementOrSloppyAnnexBFunctionDeclaration(t=!1){let e=0;return this.options.annexB&&!this.state.strict&&(e|=4,t&&(e|=8)),this.parseStatementLike(e)}parseStatement(){return this.parseStatementLike(0)}parseStatementLike(t){let e=null;return this.match(26)&&(e=this.parseDecorators(!0)),this.parseStatementContent(t,e)}parseStatementContent(t,e){let s=this.state.type,r=this.startNode(),i=!!(t&2),a=!!(t&4),n=t&1;switch(s){case 60:return this.parseBreakContinueStatement(r,!0);case 63:return this.parseBreakContinueStatement(r,!1);case 64:return this.parseDebuggerStatement(r);case 90:return this.parseDoWhileStatement(r);case 91:return this.parseForStatement(r);case 68:if(this.lookaheadCharCode()===46)break;return a||this.raise(this.state.strict?u.StrictFunction:this.options.annexB?u.SloppyFunctionAnnexB:u.SloppyFunction,this.state.startLoc),this.parseFunctionStatement(r,!1,!i&&a);case 80:return i||this.unexpected(),this.parseClass(this.maybeTakeDecorators(e,r),!0);case 69:return this.parseIfStatement(r);case 70:return this.parseReturnStatement(r);case 71:return this.parseSwitchStatement(r);case 72:return this.parseThrowStatement(r);case 73:return this.parseTryStatement(r);case 96:if(this.isAwaitUsing())return this.allowsUsing()?i?this.recordAwaitIfAllowed()||this.raise(u.AwaitUsingNotInAsyncContext,r):this.raise(u.UnexpectedLexicalDeclaration,r):this.raise(u.UnexpectedUsingDeclaration,r),this.next(),this.parseVarStatement(r,"await using");break;case 107:if(this.state.containsEsc||!this.hasInLineFollowingBindingIdentifierOrBrace())break;return this.expectPlugin("explicitResourceManagement"),this.allowsUsing()?i||this.raise(u.UnexpectedLexicalDeclaration,this.state.startLoc):this.raise(u.UnexpectedUsingDeclaration,this.state.startLoc),this.parseVarStatement(r,"using");case 100:{if(this.state.containsEsc)break;let l=this.nextTokenStart(),d=this.codePointAtPos(l);if(d!==91&&(!i&&this.hasFollowingLineBreak()||!this.chStartsBindingIdentifier(d,l)&&d!==123))break}case 75:i||this.raise(u.UnexpectedLexicalDeclaration,this.state.startLoc);case 74:{let l=this.state.value;return this.parseVarStatement(r,l)}case 92:return this.parseWhileStatement(r);case 76:return this.parseWithStatement(r);case 5:return this.parseBlock();case 13:return this.parseEmptyStatement(r);case 83:{let l=this.lookaheadCharCode();if(l===40||l===46)break}case 82:{!(this.optionFlags&8)&&!n&&this.raise(u.UnexpectedImportExport,this.state.startLoc),this.next();let l;return s===83?l=this.parseImport(r):l=this.parseExport(r,e),this.assertModuleNodeAllowed(l),l}default:if(this.isAsyncFunction())return i||this.raise(u.AsyncFunctionInSingleStatementContext,this.state.startLoc),this.next(),this.parseFunctionStatement(r,!0,!i&&a)}let o=this.state.value,p=this.parseExpression();return F(s)&&p.type==="Identifier"&&this.eat(14)?this.parseLabeledStatement(r,o,p,t):this.parseExpressionStatement(r,p,e)}assertModuleNodeAllowed(t){!(this.optionFlags&8)&&!this.inModule&&this.raise(u.ImportOutsideModule,t)}decoratorsEnabledBeforeExport(){return this.hasPlugin("decorators-legacy")?!0:this.hasPlugin("decorators")&&this.getPluginOption("decorators","decoratorsBeforeExport")!==!1}maybeTakeDecorators(t,e,s){if(t){var r;(r=e.decorators)!=null&&r.length?(typeof this.getPluginOption("decorators","decoratorsBeforeExport")!="boolean"&&this.raise(u.DecoratorsBeforeAfterExport,e.decorators[0]),e.decorators.unshift(...t)):e.decorators=t,this.resetStartLocationFromNode(e,t[0]),s&&this.resetStartLocationFromNode(s,e)}return e}canHaveLeadingDecorator(){return this.match(80)}parseDecorators(t){let e=[];do e.push(this.parseDecorator());while(this.match(26));if(this.match(82))t||this.unexpected(),this.decoratorsEnabledBeforeExport()||this.raise(u.DecoratorExportClass,this.state.startLoc);else if(!this.canHaveLeadingDecorator())throw this.raise(u.UnexpectedLeadingDecorator,this.state.startLoc);return e}parseDecorator(){this.expectOnePlugin(["decorators","decorators-legacy"]);let t=this.startNode();if(this.next(),this.hasPlugin("decorators")){let e=this.state.startLoc,s;if(this.match(10)){let r=this.state.startLoc;this.next(),s=this.parseExpression(),this.expect(11),s=this.wrapParenthesis(r,s);let i=this.state.startLoc;t.expression=this.parseMaybeDecoratorArguments(s,r),this.getPluginOption("decorators","allowCallParenthesized")===!1&&t.expression!==s&&this.raise(u.DecoratorArgumentsOutsideParentheses,i)}else{for(s=this.parseIdentifier(!1);this.eat(16);){let r=this.startNodeAt(e);r.object=s,this.match(139)?(this.classScope.usePrivateName(this.state.value,this.state.startLoc),r.property=this.parsePrivateName()):r.property=this.parseIdentifier(!0),r.computed=!1,s=this.finishNode(r,"MemberExpression")}t.expression=this.parseMaybeDecoratorArguments(s,e)}}else t.expression=this.parseExprSubscripts();return this.finishNode(t,"Decorator")}parseMaybeDecoratorArguments(t,e){if(this.eat(10)){let s=this.startNodeAt(e);return s.callee=t,s.arguments=this.parseCallExpressionArguments(11),this.toReferencedList(s.arguments),this.finishNode(s,"CallExpression")}return t}parseBreakContinueStatement(t,e){return this.next(),this.isLineTerminator()?t.label=null:(t.label=this.parseIdentifier(),this.semicolon()),this.verifyBreakContinue(t,e),this.finishNode(t,e?"BreakStatement":"ContinueStatement")}verifyBreakContinue(t,e){let s;for(s=0;sthis.parseStatement()),this.state.labels.pop(),this.expect(92),t.test=this.parseHeaderExpression(),this.eat(13),this.finishNode(t,"DoWhileStatement")}parseForStatement(t){this.next(),this.state.labels.push(ot);let e=null;if(this.isContextual(96)&&this.recordAwaitIfAllowed()&&(e=this.state.startLoc,this.next()),this.scope.enter(0),this.expect(10),this.match(13))return e!==null&&this.unexpected(e),this.parseFor(t,null);let s=this.isContextual(100);{let o=this.isAwaitUsing(),p=o||this.isForUsing(),l=s&&this.hasFollowingBindingAtom()||p;if(this.match(74)||this.match(75)||l){let d=this.startNode(),y;o?(y="await using",this.recordAwaitIfAllowed()||this.raise(u.AwaitUsingNotInAsyncContext,this.state.startLoc),this.next()):y=this.state.value,this.next(),this.parseVar(d,!0,y);let A=this.finishNode(d,"VariableDeclaration"),T=this.match(58);return T&&p&&this.raise(u.ForInUsing,A),(T||this.isContextual(102))&&A.declarations.length===1?this.parseForIn(t,A,e):(e!==null&&this.unexpected(e),this.parseFor(t,A))}}let r=this.isContextual(95),i=new Me,a=this.parseExpression(!0,i),n=this.isContextual(102);if(n&&(s&&this.raise(u.ForOfLet,a),e===null&&r&&a.type==="Identifier"&&this.raise(u.ForOfAsync,a)),n||this.match(58)){this.checkDestructuringPrivate(i),this.toAssignable(a,!0);let o=n?"ForOfStatement":"ForInStatement";return this.checkLVal(a,{type:o}),this.parseForIn(t,a,e)}else this.checkExpressionErrors(i,!0);return e!==null&&this.unexpected(e),this.parseFor(t,a)}parseFunctionStatement(t,e,s){return this.next(),this.parseFunction(t,1|(s?2:0)|(e?8:0))}parseIfStatement(t){return this.next(),t.test=this.parseHeaderExpression(),t.consequent=this.parseStatementOrSloppyAnnexBFunctionDeclaration(),t.alternate=this.eat(66)?this.parseStatementOrSloppyAnnexBFunctionDeclaration():null,this.finishNode(t,"IfStatement")}parseReturnStatement(t){return this.prodParam.hasReturn||this.raise(u.IllegalReturn,this.state.startLoc),this.next(),this.isLineTerminator()?t.argument=null:(t.argument=this.parseExpression(),this.semicolon()),this.finishNode(t,"ReturnStatement")}parseSwitchStatement(t){this.next(),t.discriminant=this.parseHeaderExpression();let e=t.cases=[];this.expect(5),this.state.labels.push(ua),this.scope.enter(256);let s;for(let r;!this.match(8);)if(this.match(61)||this.match(65)){let i=this.match(61);s&&this.finishNode(s,"SwitchCase"),e.push(s=this.startNode()),s.consequent=[],this.next(),i?s.test=this.parseExpression():(r&&this.raise(u.MultipleDefaultsInSwitch,this.state.lastTokStartLoc),r=!0,s.test=null),this.expect(14)}else s?s.consequent.push(this.parseStatementListItem()):this.unexpected();return this.scope.exit(),s&&this.finishNode(s,"SwitchCase"),this.next(),this.state.labels.pop(),this.finishNode(t,"SwitchStatement")}parseThrowStatement(t){return this.next(),this.hasPrecedingLineBreak()&&this.raise(u.NewlineAfterThrow,this.state.lastTokEndLoc),t.argument=this.parseExpression(),this.semicolon(),this.finishNode(t,"ThrowStatement")}parseCatchClauseParam(){let t=this.parseBindingAtom();return this.scope.enter(this.options.annexB&&t.type==="Identifier"?8:0),this.checkLVal(t,{type:"CatchClause"},9),t}parseTryStatement(t){if(this.next(),t.block=this.parseBlock(),t.handler=null,this.match(62)){let e=this.startNode();this.next(),this.match(10)?(this.expect(10),e.param=this.parseCatchClauseParam(),this.expect(11)):(e.param=null,this.scope.enter(0)),e.body=this.withSmartMixTopicForbiddingContext(()=>this.parseBlock(!1,!1)),this.scope.exit(),t.handler=this.finishNode(e,"CatchClause")}return t.finalizer=this.eat(67)?this.parseBlock():null,!t.handler&&!t.finalizer&&this.raise(u.NoCatchOrFinally,t),this.finishNode(t,"TryStatement")}parseVarStatement(t,e,s=!1){return this.next(),this.parseVar(t,!1,e,s),this.semicolon(),this.finishNode(t,"VariableDeclaration")}parseWhileStatement(t){return this.next(),t.test=this.parseHeaderExpression(),this.state.labels.push(ot),t.body=this.withSmartMixTopicForbiddingContext(()=>this.parseStatement()),this.state.labels.pop(),this.finishNode(t,"WhileStatement")}parseWithStatement(t){return this.state.strict&&this.raise(u.StrictWith,this.state.startLoc),this.next(),t.object=this.parseHeaderExpression(),t.body=this.withSmartMixTopicForbiddingContext(()=>this.parseStatement()),this.finishNode(t,"WithStatement")}parseEmptyStatement(t){return this.next(),this.finishNode(t,"EmptyStatement")}parseLabeledStatement(t,e,s,r){for(let a of this.state.labels)a.name===e&&this.raise(u.LabelRedeclaration,s,{labelName:e});let i=ii(this.state.type)?1:this.match(71)?2:null;for(let a=this.state.labels.length-1;a>=0;a--){let n=this.state.labels[a];if(n.statementStart===t.start)n.statementStart=this.sourceToOffsetPos(this.state.start),n.kind=i;else break}return this.state.labels.push({name:e,kind:i,statementStart:this.sourceToOffsetPos(this.state.start)}),t.body=r&8?this.parseStatementOrSloppyAnnexBFunctionDeclaration(!0):this.parseStatement(),this.state.labels.pop(),t.label=s,this.finishNode(t,"LabeledStatement")}parseExpressionStatement(t,e,s){return t.expression=e,this.semicolon(),this.finishNode(t,"ExpressionStatement")}parseBlock(t=!1,e=!0,s){let r=this.startNode();return t&&this.state.strictErrors.clear(),this.expect(5),e&&this.scope.enter(0),this.parseBlockBody(r,t,!1,8,s),e&&this.scope.exit(),this.finishNode(r,"BlockStatement")}isValidDirective(t){return t.type==="ExpressionStatement"&&t.expression.type==="StringLiteral"&&!t.expression.extra.parenthesized}parseBlockBody(t,e,s,r,i){let a=t.body=[],n=t.directives=[];this.parseBlockOrModuleBlockBody(a,e?n:void 0,s,r,i)}parseBlockOrModuleBlockBody(t,e,s,r,i){let a=this.state.strict,n=!1,o=!1;for(;!this.match(r);){let p=s?this.parseModuleItem():this.parseStatementListItem();if(e&&!o){if(this.isValidDirective(p)){let l=this.stmtToDirective(p);e.push(l),!n&&l.value.value==="use strict"&&(n=!0,this.setStrict(!0));continue}o=!0,this.state.strictErrors.clear()}t.push(p)}i==null||i.call(this,n),a||this.setStrict(!1),this.next()}parseFor(t,e){return t.init=e,this.semicolon(!1),t.test=this.match(13)?null:this.parseExpression(),this.semicolon(!1),t.update=this.match(11)?null:this.parseExpression(),this.expect(11),t.body=this.withSmartMixTopicForbiddingContext(()=>this.parseStatement()),this.scope.exit(),this.state.labels.pop(),this.finishNode(t,"ForStatement")}parseForIn(t,e,s){let r=this.match(58);return this.next(),r?s!==null&&this.unexpected(s):t.await=s!==null,e.type==="VariableDeclaration"&&e.declarations[0].init!=null&&(!r||!this.options.annexB||this.state.strict||e.kind!=="var"||e.declarations[0].id.type!=="Identifier")&&this.raise(u.ForInOfLoopInitializer,e,{type:r?"ForInStatement":"ForOfStatement"}),e.type==="AssignmentPattern"&&this.raise(u.InvalidLhs,e,{ancestor:{type:"ForStatement"}}),t.left=e,t.right=r?this.parseExpression():this.parseMaybeAssignAllowIn(),this.expect(11),t.body=this.withSmartMixTopicForbiddingContext(()=>this.parseStatement()),this.scope.exit(),this.state.labels.pop(),this.finishNode(t,r?"ForInStatement":"ForOfStatement")}parseVar(t,e,s,r=!1){let i=t.declarations=[];for(t.kind=s;;){let a=this.startNode();if(this.parseVarId(a,s),a.init=this.eat(29)?e?this.parseMaybeAssignDisallowIn():this.parseMaybeAssignAllowIn():null,a.init===null&&!r&&(a.id.type!=="Identifier"&&!(e&&(this.match(58)||this.isContextual(102)))?this.raise(u.DeclarationMissingInitializer,this.state.lastTokEndLoc,{kind:"destructuring"}):(s==="const"||s==="using"||s==="await using")&&!(this.match(58)||this.isContextual(102))&&this.raise(u.DeclarationMissingInitializer,this.state.lastTokEndLoc,{kind:s})),i.push(this.finishNode(a,"VariableDeclarator")),!this.eat(12))break}return t}parseVarId(t,e){let s=this.parseBindingAtom();(e==="using"||e==="await using")&&(s.type==="ArrayPattern"||s.type==="ObjectPattern")&&this.raise(u.UsingDeclarationHasBindingPattern,s.loc.start),this.checkLVal(s,{type:"VariableDeclarator"},e==="var"?5:8201),t.id=s}parseAsyncFunctionExpression(t){return this.parseFunction(t,8)}parseFunction(t,e=0){let s=e&2,r=!!(e&1),i=r&&!(e&4),a=!!(e&8);this.initFunction(t,a),this.match(55)&&(s&&this.raise(u.GeneratorInSingleStatementContext,this.state.startLoc),this.next(),t.generator=!0),r&&(t.id=this.parseFunctionId(i));let n=this.state.maybeInArrowParameters;return this.state.maybeInArrowParameters=!1,this.scope.enter(514),this.prodParam.enter(De(a,t.generator)),r||(t.id=this.parseFunctionId()),this.parseFunctionParams(t,!1),this.withSmartMixTopicForbiddingContext(()=>{this.parseFunctionBodyAndFinish(t,r?"FunctionDeclaration":"FunctionExpression")}),this.prodParam.exit(),this.scope.exit(),r&&!s&&this.registerFunctionStatementId(t),this.state.maybeInArrowParameters=n,t}parseFunctionId(t){return t||F(this.state.type)?this.parseIdentifier():null}parseFunctionParams(t,e){this.expect(10),this.expressionScope.enter(Ji()),t.params=this.parseBindingList(11,41,2|(e?4:0)),this.expressionScope.exit()}registerFunctionStatementId(t){t.id&&this.scope.declareName(t.id.name,!this.options.annexB||this.state.strict||t.generator||t.async?this.scope.treatFunctionsAsVar?5:8201:17,t.id.loc.start)}parseClass(t,e,s){this.next();let r=this.state.strict;return this.state.strict=!0,this.parseClassId(t,e,s),this.parseClassSuper(t),t.body=this.parseClassBody(!!t.superClass,r),this.finishNode(t,e?"ClassDeclaration":"ClassExpression")}isClassProperty(){return this.match(29)||this.match(13)||this.match(8)}isClassMethod(){return this.match(10)}nameIsConstructor(t){return t.type==="Identifier"&&t.name==="constructor"||t.type==="StringLiteral"&&t.value==="constructor"}isNonstaticConstructor(t){return!t.computed&&!t.static&&this.nameIsConstructor(t.key)}parseClassBody(t,e){this.classScope.enter();let s={hadConstructor:!1,hadSuperClass:t},r=[],i=this.startNode();if(i.body=[],this.expect(5),this.withSmartMixTopicForbiddingContext(()=>{for(;!this.match(8);){if(this.eat(13)){if(r.length>0)throw this.raise(u.DecoratorSemicolon,this.state.lastTokEndLoc);continue}if(this.match(26)){r.push(this.parseDecorator());continue}let a=this.startNode();r.length&&(a.decorators=r,this.resetStartLocationFromNode(a,r[0]),r=[]),this.parseClassMember(i,a,s),a.kind==="constructor"&&a.decorators&&a.decorators.length>0&&this.raise(u.DecoratorConstructor,a)}}),this.state.strict=e,this.next(),r.length)throw this.raise(u.TrailingDecorator,this.state.startLoc);return this.classScope.exit(),this.finishNode(i,"ClassBody")}parseClassMemberFromModifier(t,e){let s=this.parseIdentifier(!0);if(this.isClassMethod()){let r=e;return r.kind="method",r.computed=!1,r.key=s,r.static=!1,this.pushClassMethod(t,r,!1,!1,!1,!1),!0}else if(this.isClassProperty()){let r=e;return r.computed=!1,r.key=s,r.static=!1,t.body.push(this.parseClassProperty(r)),!0}return this.resetPreviousNodeTrailingComments(s),!1}parseClassMember(t,e,s){let r=this.isContextual(106);if(r){if(this.parseClassMemberFromModifier(t,e))return;if(this.eat(5)){this.parseClassStaticBlock(t,e);return}}this.parseClassMemberWithIsStatic(t,e,s,r)}parseClassMemberWithIsStatic(t,e,s,r){let i=e,a=e,n=e,o=e,p=e,l=i,d=i;if(e.static=r,this.parsePropertyNamePrefixOperator(e),this.eat(55)){l.kind="method";let L=this.match(139);if(this.parseClassElementName(l),this.parsePostMemberNameModifiers(l),L){this.pushClassPrivateMethod(t,a,!0,!1);return}this.isNonstaticConstructor(i)&&this.raise(u.ConstructorIsGenerator,i.key),this.pushClassMethod(t,i,!0,!1,!1,!1);return}let y=!this.state.containsEsc&&F(this.state.type),A=this.parseClassElementName(e),T=y?A.name:null,N=this.isPrivateName(A),R=this.state.startLoc;if(this.parsePostMemberNameModifiers(d),this.isClassMethod()){if(l.kind="method",N){this.pushClassPrivateMethod(t,a,!1,!1);return}let L=this.isNonstaticConstructor(i),U=!1;L&&(i.kind="constructor",s.hadConstructor&&!this.hasPlugin("typescript")&&this.raise(u.DuplicateConstructor,A),L&&this.hasPlugin("typescript")&&e.override&&this.raise(u.OverrideOnConstructor,A),s.hadConstructor=!0,U=s.hadSuperClass),this.pushClassMethod(t,i,!1,!1,L,U)}else if(this.isClassProperty())N?this.pushClassPrivateProperty(t,o):this.pushClassProperty(t,n);else if(T==="async"&&!this.isLineTerminator()){this.resetPreviousNodeTrailingComments(A);let L=this.eat(55);d.optional&&this.unexpected(R),l.kind="method";let U=this.match(139);this.parseClassElementName(l),this.parsePostMemberNameModifiers(d),U?this.pushClassPrivateMethod(t,a,L,!0):(this.isNonstaticConstructor(i)&&this.raise(u.ConstructorIsAsync,i.key),this.pushClassMethod(t,i,L,!0,!1,!1))}else if((T==="get"||T==="set")&&!(this.match(55)&&this.isLineTerminator())){this.resetPreviousNodeTrailingComments(A),l.kind=T;let L=this.match(139);this.parseClassElementName(i),L?this.pushClassPrivateMethod(t,a,!1,!1):(this.isNonstaticConstructor(i)&&this.raise(u.ConstructorIsAccessor,i.key),this.pushClassMethod(t,i,!1,!1,!1,!1)),this.checkGetterSetterParams(i)}else if(T==="accessor"&&!this.isLineTerminator()){this.expectPlugin("decoratorAutoAccessors"),this.resetPreviousNodeTrailingComments(A);let L=this.match(139);this.parseClassElementName(n),this.pushClassAccessorProperty(t,p,L)}else this.isLineTerminator()?N?this.pushClassPrivateProperty(t,o):this.pushClassProperty(t,n):this.unexpected()}parseClassElementName(t){let{type:e,value:s}=this.state;if((e===132||e===134)&&t.static&&s==="prototype"&&this.raise(u.StaticPrototype,this.state.startLoc),e===139){s==="constructor"&&this.raise(u.ConstructorClassPrivateField,this.state.startLoc);let r=this.parsePrivateName();return t.key=r,r}return this.parsePropertyName(t),t.key}parseClassStaticBlock(t,e){var s;this.scope.enter(720);let r=this.state.labels;this.state.labels=[],this.prodParam.enter(0);let i=e.body=[];this.parseBlockOrModuleBlockBody(i,void 0,!1,8),this.prodParam.exit(),this.scope.exit(),this.state.labels=r,t.body.push(this.finishNode(e,"StaticBlock")),(s=e.decorators)!=null&&s.length&&this.raise(u.DecoratorStaticBlock,e)}pushClassProperty(t,e){!e.computed&&this.nameIsConstructor(e.key)&&this.raise(u.ConstructorClassField,e.key),t.body.push(this.parseClassProperty(e))}pushClassPrivateProperty(t,e){let s=this.parseClassPrivateProperty(e);t.body.push(s),this.classScope.declarePrivateName(this.getPrivateNameSV(s.key),0,s.key.loc.start)}pushClassAccessorProperty(t,e,s){!s&&!e.computed&&this.nameIsConstructor(e.key)&&this.raise(u.ConstructorClassField,e.key);let r=this.parseClassAccessorProperty(e);t.body.push(r),s&&this.classScope.declarePrivateName(this.getPrivateNameSV(r.key),0,r.key.loc.start)}pushClassMethod(t,e,s,r,i,a){t.body.push(this.parseMethod(e,s,r,i,a,"ClassMethod",!0))}pushClassPrivateMethod(t,e,s,r){let i=this.parseMethod(e,s,r,!1,!1,"ClassPrivateMethod",!0);t.body.push(i);let a=i.kind==="get"?i.static?6:2:i.kind==="set"?i.static?5:1:0;this.declareClassPrivateMethodInScope(i,a)}declareClassPrivateMethodInScope(t,e){this.classScope.declarePrivateName(this.getPrivateNameSV(t.key),e,t.key.loc.start)}parsePostMemberNameModifiers(t){}parseClassPrivateProperty(t){return this.parseInitializer(t),this.semicolon(),this.finishNode(t,"ClassPrivateProperty")}parseClassProperty(t){return this.parseInitializer(t),this.semicolon(),this.finishNode(t,"ClassProperty")}parseClassAccessorProperty(t){return this.parseInitializer(t),this.semicolon(),this.finishNode(t,"ClassAccessorProperty")}parseInitializer(t){this.scope.enter(592),this.expressionScope.enter(hs()),this.prodParam.enter(0),t.value=this.eat(29)?this.parseMaybeAssignAllowIn():null,this.expressionScope.exit(),this.prodParam.exit(),this.scope.exit()}parseClassId(t,e,s,r=8331){if(F(this.state.type))t.id=this.parseIdentifier(),e&&this.declareNameFromIdentifier(t.id,r);else if(s||!e)t.id=null;else throw this.raise(u.MissingClassName,this.state.startLoc)}parseClassSuper(t){t.superClass=this.eat(81)?this.parseExprSubscripts():null}parseExport(t,e){let s=this.parseMaybeImportPhase(t,!0),r=this.maybeParseExportDefaultSpecifier(t,s),i=!r||this.eat(12),a=i&&this.eatExportStar(t),n=a&&this.maybeParseExportNamespaceSpecifier(t),o=i&&(!n||this.eat(12)),p=r||a;if(a&&!n){if(r&&this.unexpected(),e)throw this.raise(u.UnsupportedDecoratorExport,t);return this.parseExportFrom(t,!0),this.sawUnambiguousESM=!0,this.finishNode(t,"ExportAllDeclaration")}let l=this.maybeParseExportNamedSpecifiers(t);r&&i&&!a&&!l&&this.unexpected(null,5),n&&o&&this.unexpected(null,98);let d;if(p||l){if(d=!1,e)throw this.raise(u.UnsupportedDecoratorExport,t);this.parseExportFrom(t,p)}else d=this.maybeParseExportDeclaration(t);if(p||l||d){var y;let A=t;if(this.checkExport(A,!0,!1,!!A.source),((y=A.declaration)==null?void 0:y.type)==="ClassDeclaration")this.maybeTakeDecorators(e,A.declaration,A);else if(e)throw this.raise(u.UnsupportedDecoratorExport,t);return this.sawUnambiguousESM=!0,this.finishNode(A,"ExportNamedDeclaration")}if(this.eat(65)){let A=t,T=this.parseExportDefaultExpression();if(A.declaration=T,T.type==="ClassDeclaration")this.maybeTakeDecorators(e,T,A);else if(e)throw this.raise(u.UnsupportedDecoratorExport,t);return this.checkExport(A,!0,!0),this.sawUnambiguousESM=!0,this.finishNode(A,"ExportDefaultDeclaration")}this.unexpected(null,5)}eatExportStar(t){return this.eat(55)}maybeParseExportDefaultSpecifier(t,e){if(e||this.isExportDefaultSpecifier()){this.expectPlugin("exportDefaultFrom",e==null?void 0:e.loc.start);let s=e||this.parseIdentifier(!0),r=this.startNodeAtNode(s);return r.exported=s,t.specifiers=[this.finishNode(r,"ExportDefaultSpecifier")],!0}return!1}maybeParseExportNamespaceSpecifier(t){if(this.isContextual(93)){var e;(e=t).specifiers!=null||(e.specifiers=[]);let s=this.startNodeAt(this.state.lastTokStartLoc);return this.next(),s.exported=this.parseModuleExportName(),t.specifiers.push(this.finishNode(s,"ExportNamespaceSpecifier")),!0}return!1}maybeParseExportNamedSpecifiers(t){if(this.match(5)){let e=t;e.specifiers||(e.specifiers=[]);let s=e.exportKind==="type";return e.specifiers.push(...this.parseExportSpecifiers(s)),e.source=null,this.hasPlugin("importAssertions")?e.assertions=[]:e.attributes=[],e.declaration=null,!0}return!1}maybeParseExportDeclaration(t){return this.shouldParseExportDeclaration()?(t.specifiers=[],t.source=null,this.hasPlugin("importAssertions")?t.assertions=[]:t.attributes=[],t.declaration=this.parseExportDeclaration(t),!0):!1}isAsyncFunction(){if(!this.isContextual(95))return!1;let t=this.nextTokenInLineStart();return this.isUnparsedContextual(t,"function")}parseExportDefaultExpression(){let t=this.startNode();if(this.match(68))return this.next(),this.parseFunction(t,5);if(this.isAsyncFunction())return this.next(),this.next(),this.parseFunction(t,13);if(this.match(80))return this.parseClass(t,!0,!0);if(this.match(26))return this.hasPlugin("decorators")&&this.getPluginOption("decorators","decoratorsBeforeExport")===!0&&this.raise(u.DecoratorBeforeExport,this.state.startLoc),this.parseClass(this.maybeTakeDecorators(this.parseDecorators(!1),this.startNode()),!0,!0);if(this.match(75)||this.match(74)||this.isLet()||this.hasPlugin("explicitResourceManagement")&&(this.isUsing()||this.isAwaitUsing()))throw this.raise(u.UnsupportedDefaultExport,this.state.startLoc);let e=this.parseMaybeAssignAllowIn();return this.semicolon(),e}parseExportDeclaration(t){return this.match(80)?this.parseClass(this.startNode(),!0,!1):this.parseStatementListItem()}isExportDefaultSpecifier(){let{type:t}=this.state;if(F(t)){if(t===95&&!this.state.containsEsc||t===100)return!1;if((t===130||t===129)&&!this.state.containsEsc){let r=this.nextTokenStart(),i=this.input.charCodeAt(r);if(i===123||this.chStartsBindingIdentifier(i,r)&&!this.input.startsWith("from",r))return this.expectOnePlugin(["flow","typescript"]),!1}}else if(!this.match(65))return!1;let e=this.nextTokenStart(),s=this.isUnparsedContextual(e,"from");if(this.input.charCodeAt(e)===44||F(this.state.type)&&s)return!0;if(this.match(65)&&s){let r=this.input.charCodeAt(this.nextTokenStartSince(e+4));return r===34||r===39}return!1}parseExportFrom(t,e){this.eatContextual(98)?(t.source=this.parseImportSource(),this.checkExport(t),this.maybeParseImportAttributes(t),this.checkJSONModuleImport(t)):e&&this.unexpected(),this.semicolon()}shouldParseExportDeclaration(){let{type:t}=this.state;if(t===26&&(this.expectOnePlugin(["decorators","decorators-legacy"]),this.hasPlugin("decorators")))return this.getPluginOption("decorators","decoratorsBeforeExport")===!0&&this.raise(u.DecoratorBeforeExport,this.state.startLoc),!0;if(this.hasPlugin("explicitResourceManagement")){if(this.isUsing())return this.raise(u.UsingDeclarationExport,this.state.startLoc),!0;if(this.isAwaitUsing())return this.raise(u.UsingDeclarationExport,this.state.startLoc),!0}return t===74||t===75||t===68||t===80||this.isLet()||this.isAsyncFunction()}checkExport(t,e,s,r){if(e){var i;if(s){if(this.checkDuplicateExports(t,"default"),this.hasPlugin("exportDefaultFrom")){var a;let n=t.declaration;n.type==="Identifier"&&n.name==="from"&&n.end-n.start===4&&!((a=n.extra)!=null&&a.parenthesized)&&this.raise(u.ExportDefaultFromAsIdentifier,n)}}else if((i=t.specifiers)!=null&&i.length)for(let n of t.specifiers){let{exported:o}=n,p=o.type==="Identifier"?o.name:o.value;if(this.checkDuplicateExports(n,p),!r&&n.local){let{local:l}=n;l.type!=="Identifier"?this.raise(u.ExportBindingIsString,n,{localName:l.value,exportName:p}):(this.checkReservedWord(l.name,l.loc.start,!0,!1),this.scope.checkLocalExport(l))}}else if(t.declaration){let n=t.declaration;if(n.type==="FunctionDeclaration"||n.type==="ClassDeclaration"){let{id:o}=n;if(!o)throw new Error("Assertion failure");this.checkDuplicateExports(t,o.name)}else if(n.type==="VariableDeclaration")for(let o of n.declarations)this.checkDeclaration(o.id)}}}checkDeclaration(t){if(t.type==="Identifier")this.checkDuplicateExports(t,t.name);else if(t.type==="ObjectPattern")for(let e of t.properties)this.checkDeclaration(e);else if(t.type==="ArrayPattern")for(let e of t.elements)e&&this.checkDeclaration(e);else t.type==="ObjectProperty"?this.checkDeclaration(t.value):t.type==="RestElement"?this.checkDeclaration(t.argument):t.type==="AssignmentPattern"&&this.checkDeclaration(t.left)}checkDuplicateExports(t,e){this.exportedIdentifiers.has(e)&&(e==="default"?this.raise(u.DuplicateDefaultExport,t):this.raise(u.DuplicateExport,t,{exportName:e})),this.exportedIdentifiers.add(e)}parseExportSpecifiers(t){let e=[],s=!0;for(this.expect(5);!this.eat(8);){if(s)s=!1;else if(this.expect(12),this.eat(8))break;let r=this.isContextual(130),i=this.match(134),a=this.startNode();a.local=this.parseModuleExportName(),e.push(this.parseExportSpecifier(a,i,t,r))}return e}parseExportSpecifier(t,e,s,r){return this.eatContextual(93)?t.exported=this.parseModuleExportName():e?t.exported=this.cloneStringLiteral(t.local):t.exported||(t.exported=this.cloneIdentifier(t.local)),this.finishNode(t,"ExportSpecifier")}parseModuleExportName(){if(this.match(134)){let t=this.parseStringLiteral(this.state.value),e=ca.exec(t.value);return e&&this.raise(u.ModuleExportNameHasLoneSurrogate,t,{surrogateCharCode:e[0].charCodeAt(0)}),t}return this.parseIdentifier(!0)}isJSONModuleImport(t){return t.assertions!=null?t.assertions.some(({key:e,value:s})=>s.value==="json"&&(e.type==="Identifier"?e.name==="type":e.value==="type")):!1}checkImportReflection(t){let{specifiers:e}=t,s=e.length===1?e[0].type:null;if(t.phase==="source")s!=="ImportDefaultSpecifier"&&this.raise(u.SourcePhaseImportRequiresDefault,e[0].loc.start);else if(t.phase==="defer")s!=="ImportNamespaceSpecifier"&&this.raise(u.DeferImportRequiresNamespace,e[0].loc.start);else if(t.module){var r;s!=="ImportDefaultSpecifier"&&this.raise(u.ImportReflectionNotBinding,e[0].loc.start),((r=t.assertions)==null?void 0:r.length)>0&&this.raise(u.ImportReflectionHasAssertion,e[0].loc.start)}}checkJSONModuleImport(t){if(this.isJSONModuleImport(t)&&t.type!=="ExportAllDeclaration"){let{specifiers:e}=t;if(e!=null){let s=e.find(r=>{let i;if(r.type==="ExportSpecifier"?i=r.local:r.type==="ImportSpecifier"&&(i=r.imported),i!==void 0)return i.type==="Identifier"?i.name!=="default":i.value!=="default"});s!==void 0&&this.raise(u.ImportJSONBindingNotDefault,s.loc.start)}}}isPotentialImportPhase(t){return t?!1:this.isContextual(105)||this.isContextual(97)||this.isContextual(127)}applyImportPhase(t,e,s,r){e||(s==="module"?(this.expectPlugin("importReflection",r),t.module=!0):this.hasPlugin("importReflection")&&(t.module=!1),s==="source"?(this.expectPlugin("sourcePhaseImports",r),t.phase="source"):s==="defer"?(this.expectPlugin("deferredImportEvaluation",r),t.phase="defer"):this.hasPlugin("sourcePhaseImports")&&(t.phase=null))}parseMaybeImportPhase(t,e){if(!this.isPotentialImportPhase(e))return this.applyImportPhase(t,e,null),null;let s=this.startNode(),r=this.parseIdentifierName(!0),{type:i}=this.state;return($(i)?i!==98||this.lookaheadCharCode()===102:i!==12)?(this.applyImportPhase(t,e,r,s.loc.start),null):(this.applyImportPhase(t,e,null),this.createIdentifier(s,r))}isPrecedingIdImportPhase(t){let{type:e}=this.state;return F(e)?e!==98||this.lookaheadCharCode()===102:e!==12}parseImport(t){return this.match(134)?this.parseImportSourceAndAttributes(t):this.parseImportSpecifiersAndAfter(t,this.parseMaybeImportPhase(t,!1))}parseImportSpecifiersAndAfter(t,e){t.specifiers=[];let s=!this.maybeParseDefaultImportSpecifier(t,e)||this.eat(12),r=s&&this.maybeParseStarImportSpecifier(t);return s&&!r&&this.parseNamedImportSpecifiers(t),this.expectContextual(98),this.parseImportSourceAndAttributes(t)}parseImportSourceAndAttributes(t){return t.specifiers!=null||(t.specifiers=[]),t.source=this.parseImportSource(),this.maybeParseImportAttributes(t),this.checkImportReflection(t),this.checkJSONModuleImport(t),this.semicolon(),this.sawUnambiguousESM=!0,this.finishNode(t,"ImportDeclaration")}parseImportSource(){return this.match(134)||this.unexpected(),this.parseExprAtom()}parseImportSpecifierLocal(t,e,s){e.local=this.parseIdentifier(),t.specifiers.push(this.finishImportSpecifier(e,s))}finishImportSpecifier(t,e,s=8201){return this.checkLVal(t.local,{type:e},s),this.finishNode(t,e)}parseImportAttributes(){this.expect(5);let t=[],e=new Set;do{if(this.match(8))break;let s=this.startNode(),r=this.state.value;if(e.has(r)&&this.raise(u.ModuleAttributesWithDuplicateKeys,this.state.startLoc,{key:r}),e.add(r),this.match(134)?s.key=this.parseStringLiteral(r):s.key=this.parseIdentifier(!0),this.expect(14),!this.match(134))throw this.raise(u.ModuleAttributeInvalidValue,this.state.startLoc);s.value=this.parseStringLiteral(this.state.value),t.push(this.finishNode(s,"ImportAttribute"))}while(this.eat(12));return this.expect(8),t}parseModuleAttributes(){let t=[],e=new Set;do{let s=this.startNode();if(s.key=this.parseIdentifier(!0),s.key.name!=="type"&&this.raise(u.ModuleAttributeDifferentFromType,s.key),e.has(s.key.name)&&this.raise(u.ModuleAttributesWithDuplicateKeys,s.key,{key:s.key.name}),e.add(s.key.name),this.expect(14),!this.match(134))throw this.raise(u.ModuleAttributeInvalidValue,this.state.startLoc);s.value=this.parseStringLiteral(this.state.value),t.push(this.finishNode(s,"ImportAttribute"))}while(this.eat(12));return t}maybeParseImportAttributes(t){let e;var s=!1;if(this.match(76)){if(this.hasPrecedingLineBreak()&&this.lookaheadCharCode()===40)return;this.next(),this.hasPlugin("moduleAttributes")?(e=this.parseModuleAttributes(),this.addExtra(t,"deprecatedWithLegacySyntax",!0)):e=this.parseImportAttributes(),s=!0}else this.isContextual(94)&&!this.hasPrecedingLineBreak()?(!this.hasPlugin("deprecatedImportAssert")&&!this.hasPlugin("importAssertions")&&this.raise(u.ImportAttributesUseAssert,this.state.startLoc),this.hasPlugin("importAssertions")||this.addExtra(t,"deprecatedAssertSyntax",!0),this.next(),e=this.parseImportAttributes()):e=[];!s&&this.hasPlugin("importAssertions")?t.assertions=e:t.attributes=e}maybeParseDefaultImportSpecifier(t,e){if(e){let s=this.startNodeAtNode(e);return s.local=e,t.specifiers.push(this.finishImportSpecifier(s,"ImportDefaultSpecifier")),!0}else if($(this.state.type))return this.parseImportSpecifierLocal(t,this.startNode(),"ImportDefaultSpecifier"),!0;return!1}maybeParseStarImportSpecifier(t){if(this.match(55)){let e=this.startNode();return this.next(),this.expectContextual(93),this.parseImportSpecifierLocal(t,e,"ImportNamespaceSpecifier"),!0}return!1}parseNamedImportSpecifiers(t){let e=!0;for(this.expect(5);!this.eat(8);){if(e)e=!1;else{if(this.eat(14))throw this.raise(u.DestructureNamedImport,this.state.startLoc);if(this.expect(12),this.eat(8))break}let s=this.startNode(),r=this.match(134),i=this.isContextual(130);s.imported=this.parseModuleExportName();let a=this.parseImportSpecifier(s,r,t.importKind==="type"||t.importKind==="typeof",i,void 0);t.specifiers.push(a)}}parseImportSpecifier(t,e,s,r,i){if(this.eatContextual(93))t.local=this.parseIdentifier();else{let{imported:a}=t;if(e)throw this.raise(u.ImportBindingIsString,t,{importName:a.value});this.checkReservedWord(a.name,t.loc.start,!0,!0),t.local||(t.local=this.cloneIdentifier(a))}return this.finishImportSpecifier(t,"ImportSpecifier",i)}isThisParam(t){return t.type==="Identifier"&&t.name==="this"}},As=class extends ma{constructor(t,e,s){t=Gr(t),super(t,e),this.options=t,this.initializeScopes(),this.plugins=s,this.filename=t.sourceFilename,this.startIndex=t.startIndex;let r=0;t.allowAwaitOutsideFunction&&(r|=1),t.allowReturnOutsideFunction&&(r|=2),t.allowImportExportEverywhere&&(r|=8),t.allowSuperOutsideMethod&&(r|=16),t.allowUndeclaredExports&&(r|=64),t.allowNewTargetOutsideFunction&&(r|=4),t.allowYieldOutsideFunction&&(r|=32),t.ranges&&(r|=128),t.tokens&&(r|=256),t.createImportExpressions&&(r|=512),t.createParenthesizedExpressions&&(r|=1024),t.errorRecovery&&(r|=2048),t.attachComment&&(r|=4096),t.annexB&&(r|=8192),this.optionFlags=r}getScopeHandler(){return st}parse(){this.enterInitialScopes();let t=this.startNode(),e=this.startNode();return this.nextToken(),t.errors=null,this.parseTopLevel(t,e),t.errors=this.state.errors,t.comments.length=this.state.commentsLen,t}};function fa(t,e){var s;if(((s=e)==null?void 0:s.sourceType)==="unambiguous"){e=Object.assign({},e);try{e.sourceType="module";let r=Se(e,t),i=r.parse();if(r.sawUnambiguousESM)return i;if(r.ambiguousScriptDifferentAst)try{return e.sourceType="script",Se(e,t).parse()}catch{}else i.program.sourceType="script";return i}catch(r){try{return e.sourceType="script",Se(e,t).parse()}catch{}throw r}}else return Se(e,t).parse()}function ya(t,e){let s=Se(e,t);return s.options.strictMode&&(s.state.strict=!0),s.getExpression()}function xa(t){let e={};for(let s of Object.keys(t))e[s]=X(t[s]);return e}var Pa=xa(ei);function Se(t,e){let s=As,r=new Map;if(t!=null&&t.plugins){for(let i of t.plugins){let a,n;typeof i=="string"?a=i:[a,n]=i,r.has(a)||r.set(a,n||{})}la(r),s=Aa(r)}return new s(t,e,r)}var gs=new Map;function Aa(t){let e=[];for(let i of ha)t.has(i)&&e.push(i);let s=e.join("|"),r=gs.get(s);if(!r){r=As;for(let i of e)r=Ps[i](r);gs.set(s,r)}return r}h.parse=fa,h.parseExpression=ya,h.tokTypes=Pa}),ft={};Re(ft,{parsers:()=>Kr});var yt={};Re(yt,{__babel_estree:()=>jr,__js_expression:()=>Rt,__ts_expression:()=>Ut,__vue_event_binding:()=>Bt,__vue_expression:()=>Rt,__vue_ts_event_binding:()=>Ot,__vue_ts_expression:()=>Ut,babel:()=>Bt,"babel-flow":()=>jt,"babel-ts":()=>Ot});var xt=dt(mt());function Pt(h){return(c,m,f)=>{let x=!!(f!=null&&f.backwards);if(m===!1)return!1;let{length:C}=c,k=m;for(;k>=0&&k{if(!(h&&c==null)){if(c.findLast)return c.findLast(m);for(let f=c.length-1;f>=0;f--){let x=c[f];if(m(x,f,c))return x}}},zs=Hs,Vs=(h,c,m)=>{if(!(h&&c==null))return Array.isArray(c)||typeof c=="string"?c[m<0?c.length+m:m]:c.at(m)},$s=Vs,qs=new Proxy(()=>{},{get:()=>qs});function V(h){var c,m,f;let x=((c=h.range)==null?void 0:c[0])??h.start,C=(f=((m=h.declaration)==null?void 0:m.decorators)??h.decorators)==null?void 0:f[0];return C?Math.min(V(C),x):x}function _(h){var c;return((c=h.range)==null?void 0:c[1])??h.end}function Ks(h){let c=new Set(h);return m=>c.has(m==null?void 0:m.type)}var Ue=Ks;function Js(h,c,m){let f=h.originalText.slice(c,m);for(let x of h[Symbol.for("comments")]){let C=V(x);if(C>m)break;let k=_(x);if(k1&&c.every(m=>m.trimStart()[0]==="*")}var He=new WeakMap;function tr(h){return He.has(h)||He.set(h,er(h)),He.get(h)}var gt=tr;function sr(h){if(h.length<2)return;let c;for(let m=h.length-1;m>=0;m--){let f=h[m];if(c&&_(f)===V(c)&>(f)&>(c)&&(h.splice(m+1,1),f.value+="*//*"+c.value,f.range=[V(f),_(c)]),!Ys(f)&&!je(f))throw new TypeError(`Unknown comment type: "${f.type}".`);c=f}}var rr=sr,fe=null;function ye(h){if(fe!==null&&typeof fe.property){let c=fe;return fe=ye.prototype=null,c}return fe=ye.prototype=h??Object.create(null),new ye}var ir=10;for(let h=0;h<=ir;h++)ye();function ar(h){return ye(h)}function nr(h,c="type"){ar(h);function m(f){let x=f[c],C=h[x];if(!Array.isArray(C))throw Object.assign(new Error(`Missing visitor keys for '${x}'.`),{node:f});return C}return m}var or=nr,lr={ArrayExpression:["elements"],AssignmentExpression:["left","right"],BinaryExpression:["left","right"],InterpreterDirective:[],Directive:["value"],DirectiveLiteral:[],BlockStatement:["directives","body"],BreakStatement:["label"],CallExpression:["callee","typeParameters","typeArguments","arguments"],CatchClause:["param","body"],ConditionalExpression:["test","consequent","alternate"],ContinueStatement:["label"],DebuggerStatement:[],DoWhileStatement:["body","test"],EmptyStatement:[],ExpressionStatement:["expression"],File:["program"],ForInStatement:["left","right","body"],ForStatement:["init","test","update","body"],FunctionDeclaration:["id","typeParameters","params","predicate","returnType","body"],FunctionExpression:["id","typeParameters","params","returnType","body"],Identifier:["typeAnnotation","decorators"],IfStatement:["test","consequent","alternate"],LabeledStatement:["label","body"],StringLiteral:[],NumericLiteral:[],NullLiteral:[],BooleanLiteral:[],RegExpLiteral:[],LogicalExpression:["left","right"],MemberExpression:["object","property"],NewExpression:["callee","typeParameters","typeArguments","arguments"],Program:["directives","body"],ObjectExpression:["properties"],ObjectMethod:["decorators","key","typeParameters","params","returnType","body"],ObjectProperty:["decorators","key","value"],RestElement:["argument","typeAnnotation","decorators"],ReturnStatement:["argument"],SequenceExpression:["expressions"],ParenthesizedExpression:["expression"],SwitchCase:["test","consequent"],SwitchStatement:["discriminant","cases"],ThisExpression:[],ThrowStatement:["argument"],TryStatement:["block","handler","finalizer"],UnaryExpression:["argument"],UpdateExpression:["argument"],VariableDeclaration:["declarations"],VariableDeclarator:["id","init"],WhileStatement:["test","body"],WithStatement:["object","body"],AssignmentPattern:["left","right","decorators","typeAnnotation"],ArrayPattern:["elements","typeAnnotation","decorators"],ArrowFunctionExpression:["typeParameters","params","predicate","returnType","body"],ClassBody:["body"],ClassExpression:["decorators","id","typeParameters","superClass","superTypeParameters","mixins","implements","body","superTypeArguments"],ClassDeclaration:["decorators","id","typeParameters","superClass","superTypeParameters","mixins","implements","body","superTypeArguments"],ExportAllDeclaration:["source","attributes","exported"],ExportDefaultDeclaration:["declaration"],ExportNamedDeclaration:["declaration","specifiers","source","attributes"],ExportSpecifier:["local","exported"],ForOfStatement:["left","right","body"],ImportDeclaration:["specifiers","source","attributes"],ImportDefaultSpecifier:["local"],ImportNamespaceSpecifier:["local"],ImportSpecifier:["imported","local"],ImportExpression:["source","options"],MetaProperty:["meta","property"],ClassMethod:["decorators","key","typeParameters","params","returnType","body"],ObjectPattern:["decorators","properties","typeAnnotation"],SpreadElement:["argument"],Super:[],TaggedTemplateExpression:["tag","typeParameters","quasi","typeArguments"],TemplateElement:[],TemplateLiteral:["quasis","expressions"],YieldExpression:["argument"],AwaitExpression:["argument"],BigIntLiteral:[],ExportNamespaceSpecifier:["exported"],OptionalMemberExpression:["object","property"],OptionalCallExpression:["callee","typeParameters","typeArguments","arguments"],ClassProperty:["decorators","variance","key","typeAnnotation","value"],ClassAccessorProperty:["decorators","key","typeAnnotation","value"],ClassPrivateProperty:["decorators","variance","key","typeAnnotation","value"],ClassPrivateMethod:["decorators","key","typeParameters","params","returnType","body"],PrivateName:["id"],StaticBlock:["body"],ImportAttribute:["key","value"],AnyTypeAnnotation:[],ArrayTypeAnnotation:["elementType"],BooleanTypeAnnotation:[],BooleanLiteralTypeAnnotation:[],NullLiteralTypeAnnotation:[],ClassImplements:["id","typeParameters"],DeclareClass:["id","typeParameters","extends","mixins","implements","body"],DeclareFunction:["id","predicate"],DeclareInterface:["id","typeParameters","extends","body"],DeclareModule:["id","body"],DeclareModuleExports:["typeAnnotation"],DeclareTypeAlias:["id","typeParameters","right"],DeclareOpaqueType:["id","typeParameters","supertype"],DeclareVariable:["id"],DeclareExportDeclaration:["declaration","specifiers","source","attributes"],DeclareExportAllDeclaration:["source","attributes"],DeclaredPredicate:["value"],ExistsTypeAnnotation:[],FunctionTypeAnnotation:["typeParameters","this","params","rest","returnType"],FunctionTypeParam:["name","typeAnnotation"],GenericTypeAnnotation:["id","typeParameters"],InferredPredicate:[],InterfaceExtends:["id","typeParameters"],InterfaceDeclaration:["id","typeParameters","extends","body"],InterfaceTypeAnnotation:["extends","body"],IntersectionTypeAnnotation:["types"],MixedTypeAnnotation:[],EmptyTypeAnnotation:[],NullableTypeAnnotation:["typeAnnotation"],NumberLiteralTypeAnnotation:[],NumberTypeAnnotation:[],ObjectTypeAnnotation:["properties","indexers","callProperties","internalSlots"],ObjectTypeInternalSlot:["id","value"],ObjectTypeCallProperty:["value"],ObjectTypeIndexer:["variance","id","key","value"],ObjectTypeProperty:["key","value","variance"],ObjectTypeSpreadProperty:["argument"],OpaqueType:["id","typeParameters","supertype","impltype"],QualifiedTypeIdentifier:["qualification","id"],StringLiteralTypeAnnotation:[],StringTypeAnnotation:[],SymbolTypeAnnotation:[],ThisTypeAnnotation:[],TupleTypeAnnotation:["types","elementTypes"],TypeofTypeAnnotation:["argument","typeArguments"],TypeAlias:["id","typeParameters","right"],TypeAnnotation:["typeAnnotation"],TypeCastExpression:["expression","typeAnnotation"],TypeParameter:["bound","default","variance"],TypeParameterDeclaration:["params"],TypeParameterInstantiation:["params"],UnionTypeAnnotation:["types"],Variance:[],VoidTypeAnnotation:[],EnumDeclaration:["id","body"],EnumBooleanBody:["members"],EnumNumberBody:["members"],EnumStringBody:["members"],EnumSymbolBody:["members"],EnumBooleanMember:["id","init"],EnumNumberMember:["id","init"],EnumStringMember:["id","init"],EnumDefaultedMember:["id"],IndexedAccessType:["objectType","indexType"],OptionalIndexedAccessType:["objectType","indexType"],JSXAttribute:["name","value"],JSXClosingElement:["name"],JSXElement:["openingElement","children","closingElement"],JSXEmptyExpression:[],JSXExpressionContainer:["expression"],JSXSpreadChild:["expression"],JSXIdentifier:[],JSXMemberExpression:["object","property"],JSXNamespacedName:["namespace","name"],JSXOpeningElement:["name","typeParameters","typeArguments","attributes"],JSXSpreadAttribute:["argument"],JSXText:[],JSXFragment:["openingFragment","children","closingFragment"],JSXOpeningFragment:[],JSXClosingFragment:[],Noop:[],Placeholder:[],V8IntrinsicIdentifier:[],ArgumentPlaceholder:[],BindExpression:["object","callee"],Decorator:["expression"],DoExpression:["body"],ExportDefaultSpecifier:["exported"],ModuleExpression:["body"],TopicReference:[],PipelineTopicExpression:["expression"],PipelineBareFunction:["callee"],PipelinePrimaryTopicReference:[],TSParameterProperty:["parameter","decorators"],TSDeclareFunction:["id","typeParameters","params","returnType","body"],TSDeclareMethod:["decorators","key","typeParameters","params","returnType"],TSQualifiedName:["left","right"],TSCallSignatureDeclaration:["typeParameters","parameters","typeAnnotation","params","returnType"],TSConstructSignatureDeclaration:["typeParameters","parameters","typeAnnotation","params","returnType"],TSPropertySignature:["key","typeAnnotation"],TSMethodSignature:["key","typeParameters","parameters","typeAnnotation","params","returnType"],TSIndexSignature:["parameters","typeAnnotation"],TSAnyKeyword:[],TSBooleanKeyword:[],TSBigIntKeyword:[],TSIntrinsicKeyword:[],TSNeverKeyword:[],TSNullKeyword:[],TSNumberKeyword:[],TSObjectKeyword:[],TSStringKeyword:[],TSSymbolKeyword:[],TSUndefinedKeyword:[],TSUnknownKeyword:[],TSVoidKeyword:[],TSThisType:[],TSFunctionType:["typeParameters","parameters","typeAnnotation","params","returnType"],TSConstructorType:["typeParameters","parameters","typeAnnotation","params","returnType"],TSTypeReference:["typeName","typeParameters","typeArguments"],TSTypePredicate:["parameterName","typeAnnotation"],TSTypeQuery:["exprName","typeParameters","typeArguments"],TSTypeLiteral:["members"],TSArrayType:["elementType"],TSTupleType:["elementTypes"],TSOptionalType:["typeAnnotation"],TSRestType:["typeAnnotation"],TSNamedTupleMember:["label","elementType"],TSUnionType:["types"],TSIntersectionType:["types"],TSConditionalType:["checkType","extendsType","trueType","falseType"],TSInferType:["typeParameter"],TSParenthesizedType:["typeAnnotation"],TSTypeOperator:["typeAnnotation"],TSIndexedAccessType:["objectType","indexType"],TSMappedType:["nameType","typeAnnotation","key","constraint"],TSTemplateLiteralType:["quasis","types"],TSLiteralType:["literal"],TSExpressionWithTypeArguments:["expression","typeParameters"],TSInterfaceDeclaration:["id","typeParameters","extends","body"],TSInterfaceBody:["body"],TSTypeAliasDeclaration:["id","typeParameters","typeAnnotation"],TSInstantiationExpression:["expression","typeParameters","typeArguments"],TSAsExpression:["expression","typeAnnotation"],TSSatisfiesExpression:["expression","typeAnnotation"],TSTypeAssertion:["typeAnnotation","expression"],TSEnumBody:["members"],TSEnumDeclaration:["id","body"],TSEnumMember:["id","initializer"],TSModuleDeclaration:["id","body"],TSModuleBlock:["body"],TSImportType:["argument","options","qualifier","typeParameters","typeArguments"],TSImportEqualsDeclaration:["id","moduleReference"],TSExternalModuleReference:["expression"],TSNonNullExpression:["expression"],TSExportAssignment:["expression"],TSNamespaceExportDeclaration:["id"],TSTypeAnnotation:["typeAnnotation"],TSTypeParameterInstantiation:["params"],TSTypeParameterDeclaration:["params"],TSTypeParameter:["constraint","default","name"],ChainExpression:["expression"],ExperimentalRestProperty:["argument"],ExperimentalSpreadProperty:["argument"],Literal:[],MethodDefinition:["decorators","key","value"],PrivateIdentifier:[],Property:["key","value"],PropertyDefinition:["decorators","key","typeAnnotation","value","variance"],AccessorProperty:["decorators","key","typeAnnotation","value"],TSAbstractAccessorProperty:["decorators","key","typeAnnotation"],TSAbstractKeyword:[],TSAbstractMethodDefinition:["key","value"],TSAbstractPropertyDefinition:["decorators","key","typeAnnotation"],TSAsyncKeyword:[],TSClassImplements:["expression","typeArguments","typeParameters"],TSDeclareKeyword:[],TSEmptyBodyFunctionExpression:["id","typeParameters","params","returnType"],TSExportKeyword:[],TSInterfaceHeritage:["expression","typeArguments","typeParameters"],TSPrivateKeyword:[],TSProtectedKeyword:[],TSPublicKeyword:[],TSReadonlyKeyword:[],TSStaticKeyword:[],AsConstExpression:["expression"],AsExpression:["expression","typeAnnotation"],BigIntLiteralTypeAnnotation:[],BigIntTypeAnnotation:[],ComponentDeclaration:["id","params","body","typeParameters","rendersType"],ComponentParameter:["name","local"],ComponentTypeAnnotation:["params","rest","typeParameters","rendersType"],ComponentTypeParameter:["name","typeAnnotation"],ConditionalTypeAnnotation:["checkType","extendsType","trueType","falseType"],DeclareComponent:["id","params","rest","typeParameters","rendersType"],DeclareEnum:["id","body"],DeclareHook:["id"],DeclareNamespace:["id","body"],EnumBigIntBody:["members"],EnumBigIntMember:["id","init"],HookDeclaration:["id","params","body","typeParameters","returnType"],HookTypeAnnotation:["params","returnType","rest","typeParameters"],InferTypeAnnotation:["typeParameter"],KeyofTypeAnnotation:["argument"],ObjectTypeMappedTypeProperty:["keyTparam","propType","sourceType","variance"],QualifiedTypeofIdentifier:["qualification","id"],TupleTypeLabeledElement:["label","elementType","variance"],TupleTypeSpreadElement:["label","typeAnnotation"],TypeOperator:["typeAnnotation"],TypePredicate:["parameterName","typeAnnotation","asserts"],NGChainedExpression:["expressions"],NGEmptyExpression:[],NGPipeExpression:["left","right","arguments"],NGMicrosyntax:["body"],NGMicrosyntaxAs:["key","alias"],NGMicrosyntaxExpression:["expression","alias"],NGMicrosyntaxKey:[],NGMicrosyntaxKeyedExpression:["key","expression"],NGMicrosyntaxLet:["key","value"],NGRoot:["node"],JsExpressionRoot:["node"],JsonRoot:["node"],TSJSDocAllType:[],TSJSDocUnknownType:[],TSJSDocNullableType:["typeAnnotation"],TSJSDocNonNullableType:["typeAnnotation"],NeverTypeAnnotation:[],SatisfiesExpression:["expression","typeAnnotation"],UndefinedTypeAnnotation:[],UnknownTypeAnnotation:[]},hr=or(lr),pr=hr;function ze(h,c){if(!(h!==null&&typeof h=="object"))return h;if(Array.isArray(h)){for(let f=0;f{switch(S.type){case"ParenthesizedExpression":{let{expression:M}=S,B=V(S);if(M.type==="TypeCastExpression")return M.range=[B,_(S)],M;let Q=!1;if(!C){if(!k){k=[];for(let he of x)Zs(he)&&k.push(_(he))}let le=zs(!1,k,he=>he<=B);Q=le&&f.slice(le,B).trim().length===0}if(!Q)return M.extra={...M.extra,parenthesized:!0},M;break}case"LogicalExpression":if(bt(S))return Ve(S);break;case"TemplateLiteral":if(S.expressions.length!==S.quasis.length-1)throw new Error("Malformed template literal.");break;case"TemplateElement":if(m==="flow"||m==="hermes"||m==="espree"||m==="typescript"||C){let M=V(S)+1,B=_(S)-(S.tail?1:2);S.range=[M,B]}break;case"VariableDeclaration":{let M=$s(!1,S.declarations,-1);M!=null&&M.init&&f[_(M)]!==";"&&(S.range=[V(S),_(M)]);break}case"TSParenthesizedType":return S.typeAnnotation;case"TSTypeParameter":Tt(S);break;case"TopicReference":h.extra={...h.extra,__isUsingHackPipeline:!0};break;case"TSUnionType":case"TSIntersectionType":if(S.types.length===1)return S.types[0];break;case"TSMappedType":if(!S.constraint&&!S.key){let{name:M,constraint:B}=Tt(S.typeParameter);S.constraint=B,S.key=M,delete S.typeParameter}break;case"TSEnumDeclaration":if(!S.body){let M=_(S.id),{members:B}=S,Q=Ws({originalText:f,[Symbol.for("comments")]:x},M,B[0]?V(B[0]):_(S)),le=M+Q.indexOf("{");S.body={type:"TSEnumBody",members:B,range:[le,_(S)]},delete S.members}break;case"ImportExpression":m==="hermes"&&S.attributes&&!S.options&&(S.options=S.attributes);break}});let O=h.type==="File"?h.program:h;return O.interpreter&&(x.unshift(O.interpreter),delete O.interpreter),C&&h.hashbang&&(x.unshift(h.hashbang),delete h.hashbang),h.type==="Program"&&(h.range=[0,f.length]),h}function Tt(h){if(h.type==="TSTypeParameter"&&typeof h.name=="string"){let c=V(h);h.name={type:"Identifier",name:h.name,range:[c,c+h.name.length]}}return h}function bt(h){return h.type==="LogicalExpression"&&h.right.type==="LogicalExpression"&&h.operator===h.right.operator}function Ve(h){return bt(h)?Ve({type:"LogicalExpression",operator:h.operator,left:Ve({type:"LogicalExpression",operator:h.operator,left:h.left,right:h.right.left,range:[V(h.left),_(h.right.left)]}),right:h.right.right,range:[V(h),_(h)]}):h}var dr=cr;function mr(h,c){let m=new SyntaxError(h+" ("+c.loc.start.line+":"+c.loc.start.column+")");return Object.assign(m,c)}var Et=mr,Ct="Unexpected parseExpression() input: ";function fr(h){let{message:c,loc:m,reasonCode:f}=h;if(!m)return h;let{line:x,column:C}=m,k=h;(f==="MissingPlugin"||f==="MissingOneOfPlugins")&&(c="Unexpected token.",k=void 0);let O=` (${x}:${C})`;return c.endsWith(O)&&(c=c.slice(0,-O.length)),c.startsWith(Ct)&&(c=c.slice(Ct.length)),Et(c,{loc:{start:{line:x,column:C+1}},cause:k})}var St=fr,yr=(h,c,m,f)=>{if(!(h&&c==null))return c.replaceAll?c.replaceAll(m,f):m.global?c.replace(m,f):c.split(m).join(f)},we=yr,xr=/\*\/$/,Pr=/^\/\*\*?/,Ar=/^\s*(\/\*\*?(.|\r?\n)*?\*\/)/,gr=/(^|\s+)\/\/([^\n\r]*)/g,wt=/^(\r?\n)+/,Tr=/(?:^|\r?\n) *(@[^\n\r]*?) *\r?\n *(?![^\n\r@]*\/\/[^]*)([^\s@][^\n\r@]+?) *\r?\n/g,It=/(?:^|\r?\n) *@(\S+) *([^\n\r]*)/g,br=/(\r?\n|^) *\* ?/g,Er=[];function Cr(h){let c=h.match(Ar);return c?c[0].trimStart():""}function Sr(h){let c=` +`;h=we(!1,h.replace(Pr,"").replace(xr,""),br,"$1");let m="";for(;m!==h;)m=h,h=we(!1,h,Tr,`${c}$1 $2${c}`);h=h.replace(wt,"").trimEnd();let f=Object.create(null),x=we(!1,h,It,"").replace(wt,"").trimEnd(),C;for(;C=It.exec(h);){let k=we(!1,C[2],gr,"");if(typeof f[C[1]]=="string"||Array.isArray(f[C[1]])){let O=f[C[1]];f[C[1]]=[...Er,...Array.isArray(O)?O:[O],k]}else f[C[1]]=k}return{comments:x,pragmas:f}}var wr=["noformat","noprettier"],Ir=["format","prettier"];function Nt(h){let c=At(h);c&&(h=h.slice(c.length+1));let m=Cr(h),{pragmas:f,comments:x}=Sr(m);return{shebang:c,text:h,pragmas:f,comments:x}}function Nr(h){let{pragmas:c}=Nt(h);return Ir.some(m=>Object.prototype.hasOwnProperty.call(c,m))}function vr(h){let{pragmas:c}=Nt(h);return wr.some(m=>Object.prototype.hasOwnProperty.call(c,m))}function kr(h){return h=typeof h=="function"?{parse:h}:h,{astFormat:"estree",hasPragma:Nr,hasIgnorePragma:vr,locStart:V,locEnd:_,...h}}var xe=kr,vt="module",kt="script";function Dr(h){if(typeof h=="string"){if(h=h.toLowerCase(),/\.(?:mjs|mts)$/iu.test(h))return vt;if(/\.(?:cjs|cts)$/iu.test(h))return kt}}function Fr(h,c){let{type:m="JsExpressionRoot",rootMarker:f,text:x}=c,{tokens:C,comments:k}=h;return delete h.tokens,delete h.comments,{tokens:C,comments:k,type:m,node:h,range:[0,x.length],rootMarker:f}}var Dt=Fr,ne=h=>xe(Rr(h)),Lr={sourceType:vt,allowImportExportEverywhere:!0,allowReturnOutsideFunction:!0,allowNewTargetOutsideFunction:!0,allowSuperOutsideMethod:!0,allowUndeclaredExports:!0,errorRecovery:!0,createParenthesizedExpressions:!0,createImportExpressions:!0,attachComment:!1,plugins:["doExpressions","exportDefaultFrom","functionBind","functionSent","throwExpressions","partialApplication","decorators","moduleBlocks","asyncDoExpressions","destructuringPrivate","decoratorAutoAccessors","explicitResourceManagement","sourcePhaseImports","deferredImportEvaluation",["optionalChainingAssign",{version:"2023-07"}]],tokens:!1,ranges:!1},Ft="v8intrinsic",Lt=[["pipelineOperator",{proposal:"hack",topicToken:"%"}],["pipelineOperator",{proposal:"fsharp"}]],J=(h,c=Lr)=>({...c,plugins:[...c.plugins,...h]}),Mr=/@(?:no)?flow\b/u;function Br(h,c){if(c!=null&&c.endsWith(".js.flow"))return!0;let m=At(h);m&&(h=h.slice(m.length));let f=Rs(h,0);return f!==!1&&(h=h.slice(0,f)),Mr.test(h)}function Or(h,c,m){let f=h(c,m),x=f.errors.find(C=>!Ur.has(C.reasonCode));if(x)throw x;return f}function Rr({isExpression:h=!1,optionsCombinations:c}){return(m,f={})=>{let{filepath:x}=f;if(typeof x!="string"&&(x=void 0),(f.parser==="babel"||f.parser==="__babel_estree")&&Br(m,x))return f.parser="babel-flow",jt.parse(m,f);let C=c,k=f.__babelSourceType??Dr(x);k===kt&&(C=C.map(B=>({...B,sourceType:k})));let O=/%[A-Z]/u.test(m);m.includes("|>")?C=(O?[...Lt,Ft]:Lt).flatMap(B=>C.map(Q=>J([B],Q))):O&&(C=C.map(B=>J([Ft],B)));let S=h?xt.parseExpression:xt.parse,M;try{M=js(C.map(B=>()=>Or(S,m,B)))}catch({errors:[B]}){throw St(B)}return h&&(M=Dt(M,{text:m,rootMarker:f.rootMarker})),dr(M,{text:m})}}var Ur=new Set(["StrictNumericEscape","StrictWith","StrictOctalLiteral","StrictDelete","StrictEvalArguments","StrictEvalArgumentsBinding","StrictFunction","ForInOfLoopInitializer","EmptyTypeArguments","EmptyTypeParameters","ConstructorHasTypeParameters","UnsupportedParameterPropertyKind","DecoratorExportClass","ParamDupe","InvalidDecimal","RestTrailingComma","UnsupportedParameterDecorator","UnterminatedJsxContent","UnexpectedReservedWord","ModuleAttributesWithDuplicateKeys","InvalidEscapeSequenceTemplate","NonAbstractClassHasAbstractMethod","OptionalTypeBeforeRequired","PatternIsOptional","OptionalBindingPattern","DeclareClassFieldHasInitializer","TypeImportCannotSpecifyDefaultAndNamed","ConstructorClassField","VarRedeclaration","InvalidPrivateFieldResolution","DuplicateExport","ImportAttributesUseAssert","DeclarationMissingInitializer"]),Mt=[J(["jsx"])],Bt=ne({optionsCombinations:Mt}),Ot=ne({optionsCombinations:[J(["jsx","typescript"]),J(["typescript"])]}),Rt=ne({isExpression:!0,optionsCombinations:[J(["jsx"])]}),Ut=ne({isExpression:!0,optionsCombinations:[J(["typescript"])]}),jt=ne({optionsCombinations:[J(["jsx",["flow",{all:!0}],"flowComments"])]}),jr=ne({optionsCombinations:Mt.map(h=>J(["estree"],h))}),_t={};Re(_t,{json:()=>zr,"json-stringify":()=>qr,json5:()=>Vr,jsonc:()=>$r});var Ht=dt(mt());function _r(h){return Array.isArray(h)&&h.length>0}var zt=_r,Vt={tokens:!1,ranges:!1,attachComment:!1,createParenthesizedExpressions:!0};function Hr(h){let c=(0,Ht.parse)(h,Vt),{program:m}=c;if(m.body.length===0&&m.directives.length===0&&!m.interpreter)return c}function Ie(h,c={}){let{allowComments:m=!0,allowEmpty:f=!1}=c,x;try{x=(0,Ht.parseExpression)(h,Vt)}catch(C){if(f&&C.code==="BABEL_PARSER_SYNTAX_ERROR"&&C.reasonCode==="ParseExpressionEmptyInput")try{x=Hr(h)}catch{}if(!x)throw St(C)}if(!m&&zt(x.comments))throw Y(x.comments[0],"Comment");return x=Dt(x,{type:"JsonRoot",text:h}),x.node.type==="File"?delete x.node:oe(x.node),x}function Y(h,c){let[m,f]=[h.loc.start,h.loc.end].map(({line:x,column:C})=>({line:x,column:C+1}));return Et(`${c} is not allowed in JSON.`,{loc:{start:m,end:f}})}function oe(h){switch(h.type){case"ArrayExpression":for(let c of h.elements)c!==null&&oe(c);return;case"ObjectExpression":for(let c of h.properties)oe(c);return;case"ObjectProperty":if(h.computed)throw Y(h.key,"Computed key");if(h.shorthand)throw Y(h.key,"Shorthand property");h.key.type!=="Identifier"&&oe(h.key),oe(h.value);return;case"UnaryExpression":{let{operator:c,argument:m}=h;if(c!=="+"&&c!=="-")throw Y(h,`Operator '${h.operator}'`);if(m.type==="NumericLiteral"||m.type==="Identifier"&&(m.name==="Infinity"||m.name==="NaN"))return;throw Y(m,`Operator '${c}' before '${m.type}'`)}case"Identifier":if(h.name!=="Infinity"&&h.name!=="NaN"&&h.name!=="undefined")throw Y(h,`Identifier '${h.name}'`);return;case"TemplateLiteral":if(zt(h.expressions))throw Y(h.expressions[0],"'TemplateLiteral' with expression");for(let c of h.quasis)oe(c);return;case"NullLiteral":case"BooleanLiteral":case"NumericLiteral":case"StringLiteral":case"TemplateElement":return;default:throw Y(h,`'${h.type}'`)}}var zr=xe({parse:h=>Ie(h),hasPragma:()=>!0,hasIgnorePragma:()=>!1}),Vr=xe(h=>Ie(h)),$r=xe(h=>Ie(h,{allowEmpty:!0})),qr=xe({parse:h=>Ie(h,{allowComments:!1}),astFormat:"estree-json"}),Kr={...yt,..._t};return Is(ft)})})(ut)),ut.exports}var Es=ba();const Ea=ga(Es),Sa=Ta({__proto__:null,default:Ea},[Es]);export{Sa as b}; diff --git a/packages/app/assets/graphiql/extensions/graphiql/assets/codicon-DCmgc-ay.ttf b/packages/app/assets/graphiql/extensions/graphiql/assets/codicon-DCmgc-ay.ttf new file mode 100644 index 0000000000000000000000000000000000000000..27ee4c68caef1cd22342f481420d6dbda1648012 GIT binary patch literal 80340 zcmeFa37lJ3c{hB{)zw{fudeQubR~_JnbAm^@oe^N(s&ui6FZB?ah$|)oW&E{S?mNS znSrcMfDjuRk`Tf+gg^-d8f=yVfu zfU*5JAYCl|3ZLhJuKm|se{*)j^UvXa#~D*=2d=wpPx$Vy?7&YlW1)9nv*+d+>0kM4 z@Ouj9w_m&Gnk(M&i%(54o_`F-emQg9E3UsRb=v0{Z~qu$=`M!4^FEx3_vfE~{&#$U zjx2xiW5E#|-Tv!e&0ZQ^`)|w?SKL%Q6ft30_o_<)8V1tM=`|{l%3WztOK8M>tcO zM`hm2?_*(n`*ZeJcwf;h?_)MQi=k@a5RSgYYulBZE@z*u@BRr7TGz%;M}LYZEu9^- zjDG(g{GZa``RD(8)A0Z6_W!=;|GwY{+0UI8hT^v@sXeK=b=5+ zch~Q#zp?(c`cn(=47vVEUgdA&C4Mcp z`Solo{{r95ujW^=H?c9klD&>S&3?x=@VBsAn9o1M-pTIdr}7++^8`P_zQ!JA^ZY&h zc6K*^6TgMu$zR70^4IhG_}%<4`wV|Ie*=^Z8Lc&-6GoT?y(5a2xU7xkSe_NwC2SX) zW|yLNm$6P(WL>Pp%B+X=f&%?)fDJ+;8e+q2gpIPbY@DrwezcyQ!Y0|N>@;=;JCjYZ z^Vtq|0o%#;v8&k2*tP8C?0R+syOG_*Ze|DBt?V}TO7<%DYW5m-2RqDO%l?49p54RV z$nIlrVQ*z`V{`27?0)tR_5gbqdpCQKy@$P*J;dI}{)io6N7)B)&WG5C*&nmV*r(X1 z*=N}o*_YT?*^|(vo??H&{+fM*{S7Glx9nT&@7TB5zp|gQpRu2_U$N)dui0-nAL7G&gpcwuzJ{;m>-Yp;&rjhS_$1%R zPvd9sGx-$X!ng9X(TnHsbNPk*B7QNygzw^)^2_-Z{7Sx`zl>kQXZg$dEBFokMt&>5 zjlYt=iob^6!4L7*@;~5r@q75a{O$aH{$BnNe?Nbie}Et5ALJk6ALbw7ALpOopX7hS zALF0mkMnu{Y5qn2CH`gp75-KJ6#ol$g8du&1^Xr2&GxVvwwled%lRAGb?g=F8g?|XXc_B_w< z)ocat;T^2XYHTxqD}R)KjQ=tJDEk;ckMH1Vc7T74|2cn>KfvF~-^KrszneeE-@#(+ zJl@6rkbjY`{d^~TKSqC&eV%=RS6DmiV83N? z{--?2{ulc$`$zVD_6++c_5=1W>_@D@j12v0Gy50FBf2+M0te(ucEwCfWHmpJ^@}rxnF=^i}ES~Zlkj6&JT_*sJ%IY%$;H|7aE5OE3zFYwOmepS&0M5(m z^gIAOnAL9(05@j!8wJ<~ls5^0L$mtL0^rrG-UQj3by(m8@NZU!wM_sgXZ70z*qta} zDZo!f`6>aPL-}d}9!Gh*08gNNjR2$otKT62dBEz21Rxn${jdO8>-E(z;GG1t9BK{apf(daVA3 z0+4^K{%!$CLRNoJ05Xx)i7o)7Bdfnx0CJMm9}Hqa0Hi#t|A_$PJ*z(|0Ljnle<}bS zfYreV2+#&t{Zj(a3t0Ve0cZ%U{)7N@1y-jq2S96J^-l{xe_(a$ZvdJEtN)n*bP87g ztN^qNR{xv;I|b$E1)y=T`WFPCd$9T!1)znn`j-TtkFffe1)!O*`d0*?qp~I0cbj`{#OFfd073g1)%+~`Zoli z2eJC!2tXrZ^=}G5H)8d_6@Zq+>faK8zQpQ(CjiZf)xRwO9g5ZeUI5w@tA9rTdKIhx zg8(!vR{yR5bS+l@M*(PEto}U#=wGb9AOKB_)t?c7PR8p0BmnJ<)xR$QJ&o1>SpXUv ztN%a%x*MziivYAZR{x;@^f^}lkpQ$dR<8>{$7A(|0JJ?;KP~{hkJbN|05m{W|FHmc zL011)0ceG+{;UA>LstKZ05nBb|EU0UMppls0DBM069Uj9S^eJxpi#2=&jp}cvidIs zpk=c9F9o1)vih$Cpn0*Ot0CZp0Pz9g`vxX)BeV8?L0cggo zVG2M;W{rpdv}M+?1fVywhAjXMnl+*V(4|?!5r9_B8ZiOr*R0_RK+|RoPXIbMYs3Yh zeX~YF0D3rUBn6<6vxYAK-JCU20?^V~BP{@Zoi#E74D@ZZ34mm*krm)XznlPRX^p%9 zCwdeFIMJhBfKyvL1UR*?Q-D+ZiUOS4*CoKIO(g+N^(_mK2fI-b;8d?}0Z#Sm5#aRv z6#|@|-z&iB+&%%avm5;a~5I#4-hw-@yK7!9p@KJnj zf{)>I6MPLmR|WW5lr;gq4&}H2pFp`-QE|kf0sd)}M0bFH5hc+b;9o*XbO-pCQNCJ$e+A|30{p8esXqYz6iVt30QNg; zP=5fhC5fGVLWy0Dlx~ z&@%vdrdZ=C0Y-KH3juhmSmT%gqkBFr01p;xd|d#(EY|o-0eH1o_E_V%0DOF`LEiy*`&i@0 z0`U8>#=i={1IQZB3cwf08b1+$SCBP+Dggf=Yy3=r(eqCTkb>R#HvxDLS>xvd@FTLu zF9aCT=9dESEwaY11Q?Bl=L9HAqVa11cph2fHv$yTZ&3RIcq3WkcLEgsZ#*vm4<$W1 z0DP6~I2VA|k{y=>;J;+YLjv$*vg5J<`wGgi0H+eqBf!tej^lX*cs$v0JdXh1Cp%8h z1KDL8Hlz%$B@M+Dd>P+9`;ma^lv0Na8xD!})kbOhi_WyfOz?CU690Z#Yx z1o-<1y6kvCfMM($Zx`T12aH_;yuR#srvUuF?08Xt-Hx(LfZvR=BmnO) zJ5Kcg;3sCsD+2Hsv*X`|0G0{n9*R|xRWqU;r5RL?#EegVpU0eG9)@c{w&o!Rk0 z0rmvSl>(f`1(VB* z59(R{8^)c+G2`c^W^Ob0n%A4JGw(OQXFeB+L{gEl$ll0(krUPmYr?wHy4U)RJz(Ev zKWcwHT8`cx{i-85W#SoH}^|ltz1{J6ycWMV{#g8riLu08i4)1~ z$w!mNeaG+iYyKJjc7MNrqyIoEl^RNINj;D@(qri}(s!hvO8+L4%uHl1%FJXQ%6u{N z!?tYONZTjdzMnO+JF_=t-<6%uelM5FjpcUc?#w-&`$1mIugqVPKb)U0#0ztUuNIzZ z&$Qp%{&+{e<6y@lopR@a&QEqeS6p3uPx14`XS<}XeAh!=pY8fi*Dp(_l@6C4EB&Cn zv;1UbvT|?bvF=*;bocjrZtgj;;+`QIaTV8wG+MCyYXYF(Awye8(-NWmSPq-696PqV4pSW*ge&U(+ z?)sOnzi0h3r=(7~{FHl7d2)laVRFNb8@{~Zmy_km-IK4H{QPA7)R|L1xUp;FwVTe} zbl0Z&(>hN(?X)~5a@NpU_n-CEvwpnww5@x$&YZpC?EB9CtrtFb(M1=1{bKFn$&250iF3)0OFqAA^RzQPFumo{)t4T)^o~o9 zT>8`9wcR^+-?jVLp6NZe?|FRBb9?i9H}5^L_o2&bmmRq5{>#35`P}87z2cNBZoA?K zSK3#eaph;Od~V;wzT5ZB@0a#(-T(0ZC$EZM_2H}K1M)SGU-N@&jcaeb_TAS$dF?aT zIoIvI?!N1unYn%D@tG%QzCBZ)d2aTi*#~C7{qnAtU;XlLze0Y+xv%)v_19nj{_B5! zL-!4r-|+Yizq#>@8~5M%?VIv9?Y`;po4$Q>>gJ6%zx(F-TW-JQ*@JJs)wp%*t&l6^ z!=~std;u}|cSlG+FO3ZFPMas<$pTLftw-ol?W|NM|Mb3L6r zWY|u^h~^SXNb1}vYnGdg*_vkSUR<;PK#oOpGc2oNgL5;U$z?oK(KI=1=#g01jThIR zv9{>V^=#_y-qh2vHeqBkMq=&WlxoCmBWxyYO;6pe$6ZU;Y&Q|JWn61t%(&?t~N9k>5 zhWfKvPYW@FB*|x9R1^L%{;H$+Q*l{B1uDhFFn3Pqx}hI4bUpjG3s29NXJ&X>uNe>O z`h!Mouv|VmH#ZBG-g>?ZzaFG?)mJN{cpI)%{e)Vn*1D})&FY>P#UT{dxZT}tkK+S~ z1-XG6sPK#Fs1c+^)yMO3eX&v%V@=Skf)Uj@z{OCxqT4ImHLLcq!tlg!K99G8m+l+t zO9yXn?LKgI*{W8fh2cW;ghIOcTN<+N1<&*;LQ$;@j~1&HkfMr#7`GvVCb*wi-eE7g zDaYNH?)t(S;Wt!?yGwO?!84of1dUa{I$BW`dR*{eUJ=7XJo)~mhUCR9U+~PYG^y~> z)^DK2@<+b-nd^CCc+{^}imKmiB%Z1+C-Y0SV;O0GPmLDGf*kZG`f?al9W5p*Yo@Jf zYpb{Q(5_wf)-Qf>YirEH_X_Q>N|X=!p!NGtalU<)w{+f5=)CnD)bfdLN2jOltzY=U z*6v;QE^DjXJP(n@1#v%&o?sk(ZO|ID3SQx^!9gp(e}6$d7uM3#!Fgh&CW`(+{9d@~ zs={UB{QODh1tS@gqwY+OKH%J@IlgwCq=lvHta6)mn_Vtv4a43a(!zM=5-(JV8vNQ@J+D>nd|y=iZEaro_YA%UwU3O_=Ew{q4FNkNIx&Y$LVR>`1wuW{m6l z8C%Z|$r7LP+^KuRx-P%oiX_^iemSPM_pP|l;pSG`O`Udj)b%@P7ziF~fUZ%&^-D`N zByx^bf{GW_>M#b=8Sad?SvHM%!@N@}cU@b_-H{u3L+~sk7Q0X0diLp4kzffg%?VGPodVge|nld=+FITcIic5ZZ?&bX7aNupqkWgz<;29j&seTp2A_M@Pg5y!Ubt8T#-l@P#totE(n(vJWoVxp>Yx zK8C9*s|KWAXer>C!7cq_lJw?06eKXrSxGTeS%SJB4hln&B;B#Vqlt^lp>SA17Nwy| z5)OnymZM8=l_Vt$RetGEa7J(w9`$2cOG$MWyp9vHW+-VTVnWH+%m_Xjn(Qi;rXeR& zbLbur03kPwXDg0IFAMV=hd4bJN4QFdyrug{F|W{>QmkwYY`7&i1pQt`e!KtoC7^0Dvn}!Cjwgs3OA+}6uRJ0Wz;8i4ew+ERTJEq)Ti}HT|c28nVOoLGHUwNq4KUN z*gaDVP;;{SoMFsmJoK8PeO!6(^mD^sXMYLlKRet4>+{fzY5F#_a~fa#=G? ztt?9yM=i)aJ)KSKwqaztik5`i7jXBqgHv$dMc$EtSK1`4&>IH*i$wcj^u}m03rq8a z?k(U2uCt))3zKtm9=SG~*QP+vRmjUallV2M3^`t;aZF`m4Trd*a1PTTm~GQl!vXi1046WQThy+yGe$ z*ZA#zPPdY6xok3`ealR?wM>1O;ZW&A3TzZJVrdc04(lN!mddtwb~r}NQfw_0Qe`G6g&T(VgzDbr%#hI08X^>Q0m{y0fDLvyQq`Gc6fC z1$z!-06h^gE9e#UO*niJ4pFyaFvwa!Qgp1oNj4)oD2%ho_@i!>O-r>4`K*j}9$=32jhEhRueL|-zVBRXn``u#QTq0ykDOA{xUNu$q7`MUm$QOQ{6i6nEm$2czqwwYUFxo?mF5{RqVoo3fRjX$L;U9O!^p z66k;n3LK-3^w_{hgR(;YA9C5yuP{i0Z>L$FWo7KPxy9FJtJBU{R=fCNP<;DV+_Kv2 zFnCbeEqnVrtc+!Ep<~uX^cge=>I@Ik=cvwL{M6#Pb0Ryv{gW$X>01aI zS4dM$BVyU-om|5%QFAWAK+&RUD_5|yNh3j-RO zM5;aEj28ZO6#^m<;ECapas_5GdLf8@Ahc3kyT!5|Oi!-qdd3zdPX{rV;O$Vn6>yz=O=ZtK^ zv4>^D)FfHA&4`+GOi!0%$;3TjS<)cQH+qaCh8M}V4$lV?Uh{vZlOZ5Rw`*G z$}*6I<`P~Rju}U1jhJc1j2iUqm|@%k%LE14@6hz>;(}zfw$LZL5THp1C?pZqG0I1q zSJ3&bzs0s;9+S52A>R$z4aC5~8v}M;=@{)u06x^y;RN31E$A)n?a_SR%729`zk7~A z?EMt{(E9C=H|0(0?l?F_OMWH6E0eI4`p834B{IPv0Ba-_pXf&993^unFkby2l%Rsb z6>#6c&t5rHoAZpUi}4e0GmH%|Tnq#QO)dPoxEHreR@ZG-$;L;ke55p}2fj5=pV$96 z41LNlj4<2`a^0hCj%*9`H5Dt-~%v*OXg6GC))@!E!SOTwK6R*e81xXb?1#v`Azr;m zY1NBtvLb;{v4VJ9I{ndfpMicN{*{a5qdWC5vV2bZ$i5Zd^2Qt zf+vmn6F8y<0TL3L-{bH~`q2b*0ZH-;ZHnTA!*R<{%#^L`c1Dk=W?Rg*^>T0F(v+97 zx)IOg?Sma&GN0s5G#Pem8`_y|WHXLunpUyX4~67-QYqY+y7CI&>h5mwO4N0T*4l`= z27aLz)|NQqvf5VRMW)KOx*MbywJnuiy1s*hsBcs@RX-clH&jTw|89l3)vU48>mptp z)Hr!Y`pPR(h)^!_chosSYmQoVhGDXtj7>-3N%S5T)x770)O+Mqk3lywNBbknAfZ!EEmzWK(FshZEt5zYz`zCv6 z$gVvWn~r^9)ld-R4T{~`6Qnwm)`YtEq3#LjiyM&ZxQlXUJ!BI2!;qFR#B(Ps)LQ3FT|qzG?toOnD?K^tlOR8)8)YKAcY<}At@6*b)}A9aciYUOFTE!;?_)d?E`8ftUSxbVnh zt{?`E@e8G!YDZf5a6v*0097Gr6UZQZs7!fD2US}zyklAY#v*;5)Agyz!#O><(`!qp zgYD;IWB9Q{f@o__eSkh=+&RUqeRf&zXHkxaNC z5hbTk04U>EaR7Y}_`~aPdKDGL{3iE}JA$er(Z!&Q;@fUD-cpbaaPwV+`~;dT^Qld+AvwjmK8r3AI!e z%^npQCxgz|t9ADvS~jqNdmhyX)iM3(gVYMLJ>cKPu37!yBYiFkR|h%bdxKJekNHE3K5?Pdd`MB;wt=kVx>Byct@)9| zgV5AyyKGCgs^u+hisg2>r$?K|^`C3cAmn++VEccn5$8j1 zz*RJs1Rrb3rXsDyt@?wU{)XW!da3RqXVYTm94&7tZwFa#k%(+3cf)jxgvGT-x0JVR z2LYE(Sx)bROV$Tu4()panL~Suq_7fyA0k(`qF#Y#9ST4B*?r+n4norv7&>Dx+%PVn zWCoE)Xd_5IfK3N86hep`VI+!RHx5_fi8#O5SuG>s3w?o; zl)yKQ#@>MJw1}qdptp!NB=JzJTy!i1m+WXrQdLt?BUaD3Jyt|jOjVUa@GOVImQyUB z$+;2fI;|^$Ot(n9!&PKiaXaFxwUyDx3Qr1E)R5$@h(uS;>Pi+*!J8hXxJ2;f5iW(i zue9V)>cSzf~5{^a@Q`;sf9^KO0 ztA)L8J04GJS~4EDyS*UXB6uwMJyhX|qCA*@^Anq=v??(CDesDna6TWcP0!7{?k(Pe zck0~`TD2#B=FWRiG#1AY`41HM#k&KW04glBVd#J~kKs@&7lUXD;GUsKk$Trv%?Ed@d=@UV5pQy6XPoR+ZQNi zvY?vgDdqAp*DX!Ync5*bhPN57X#+eh{3@i+P0!5C!B`Tyla5@T2rRK~%&pb5hTMZ< zEK#l+#w_{IK_Pt2!*i!112ITpQ%U`SH=?QrV|oG+Xjq;YmcEK8l7D8~hBaMsZfwKq zlAJAP+Ovb%WNGC;zQnj*x7IxvKWsrsYO$Zy@f6LEfmH8t;v? zaK939_PjG?qc0aMj}Z|dRUG5eoTEhAC_&yf{$3X3|kI=F%*u_ zmq<8tPn^?!7R~r#H)MMWTzVAIn$u8M6*5K%EW`u}_ay1Y6pbQ7ZVcMRC<2hx3It9O z90yef7r~Su?c7%rB>WMx@)NI*$?5jA9J7)k&*L&O4Af*QsV1zH%pu2{e-q- zU_R#}7?)Cmt?f8&3>zv__U%GLT zZ}jlKW}lq$U+s~qs6CXR>VMn-De;27cHNW9>L)18!$uz!z1F`NdUvfLTyOJR{7s;lh zl4ZI*DQz?5f_x()#X4IjOlwla&!#m~E3Q}r8&BxOO<$Np+E{hDbwFA%DV)nZVJ-~D zg(WZ8v@4uAflh~&PYak86)c&>7_T1kZpAad<=pKPe{Q5gFSleH_XO{w`5>e^@tO zS465yw%-`JAZ8_q6}*^%SOJ4cC^1K`Ne1?H11rG}W4Oh~r6{r{KYX!t3Ex*F_xgY_ zyvDIGl3i{rv6QriB*kDPgXJJtrr3I9yAjQ1iMt3IVs|UDWp#{WWEUYmO;*(?44Wy> zn}|jaC9i@k{2O&%-Q{Ro?r&ZbU3Lu!v3Sj3HhW1jdAMU2uK7E29sw(J@^JGS;#WHS zGO(!7<4wK;<_ghkBZmlKeh6QR^-st{d6_c2T5f^SX~A$32sk3%=KvD4EyNlPtQ9ge zMOL#(37fD<&$qbD?y#i>=LHw2mg&GdW+F<6i%e579EA6gV${-uW6*_Su#&437eG&9 zG-CRy6d)v(kv<^j4f2b^94daLGb#{f@NhIm$9fWMRDBxG%JZRc+RUhWJZ@^ab8@<@ z`60z!?IPkyOEdpIn=pq@kwB>_JK(|I#1{Mua z&w+8ko*gZTOu- z{-L6p8C(_h^uCl)EcxB`(F;$#*PDtLG}l%Av|1YK^Q^c(WO!H@l7BC{eND2TgiFw9 z%;poYaP%PN*&no4L82wnEqr)d6D9b*njP3WxTP zTl_0-Mu~N_>+zE2SSuuVM&W zNSe;?6c4;bgX>8k`OD{dU75BMNOFiOi7jAy!!lrM6?nhK-r5E0WJIgPB_~h$o zKSlH$1Z%(<;DM@cOU}(Dv)7(5FZVBxeB>=~8npZ$5gtK(+k;+3zfrChk}^lJQc3it zFCs&6r6cRCY|D+bOFSo~Dg!;{=vMazhvHVr&rS_`Nm!(CA$P`;Ue>*jj4uayEVPaX`29 zUv!T)aSxtu-DIJ8lat!p0h*#7WK)reOHr1gB>7CL$jyf8jkJ(qZoXuTsbLA{rJ9`J z$##U+gs+Eun&dBJ9!3uN+vx5mFtAW4+MdIDE_-kmYqD^@fjW zOrjBtk$i~why*U0V5^9a2JEsEB9wS%xk8}?O6$TkC?PNr-~f%tx`#hlMb3R*!n%Rc zk=~2TR(HiJ2k+NAT~=p=_YL5Vy;cvmyUJZQ?}@D7(J&wAGmCK5IJwST>}3~bN|}T2 zD2yVmk1=}s8d2gggin^{Nb>lYaylb~-IqnmQ<&f(g zi$uIkW{C4lHr?M5i*@v;b4_}Yzc4N`lF4U4o;Pw)LJJ^Q>EgKYr(%d7oG)^?UZxLp z)B2XYJ?MFe0EdzMYkb6e6TD_Pe9J8b3ppxHd6|J;MIL+%%92Qa#7!}X;D5uk#KX9` zPKRIdsJ_nLH8+PG|GzGF>-u3`FBkQfT{E+*V058KmBvZ83=@HPZVXo!hi z`4h$w1Ak5^^r^X!N<5yeKfQ}U*c3H#9^4>S;3oVhBPSBu^CtJ6eZ7wMg z;a+`V;b@B>LUz%8h=*n{wo15H0S@qBY$4C25(F+q!!S!o=+e)F{Lz|1B6@cAXl)iQ zW8|TDrRnLrd&4fT@p#Qf4&Z|Ovm@hE!7qorW4+cB-Z7|ROTM5G+759=8Uez!!81ud z&reUbD2NBlG>O+5qfMH@9kkeH(RXB2wpzSUs!dN5;e+`0!r|J~6rSADy{Hdc?freN z{aP*TQY~hVj?Yjt>2KGrmuev0zp48`7ZBr1WN$*oh~`yMQyL+y*+8wO?`32ZNKhieHKBtV1z$dF2M+b;KJ({*p~%)FkYb11a=^?JbVa(x}%f&^+GFj7ec#d7=fJOk@H*DA>gi%Jve()Z>+9=4Mu3H=$1?hoW)8F8D@G-My)>$l zkD}`TvhAIrzRX$S2af03oQ}B;o_-*FR;DlX&bB|VwHY|@f_o4jf!2pLXd-M9tRN-5 z2l;PcD#PfTH&Ckw5o-V0)ZEdme)th%yRN@o1LN8^JG*O2gX+>8E7-$M!~L)tbukTN zQLZh1n1aS_IOeoSRBje?(7lmhjAXxMMN9tBxHp5$1q^EpLh6fQic2-S1xycvaw?d_ zUd>yWot-@hp0p55>)-C%bqJYf#xV+B3cm6T_@{|hgAzhv7t)FJFOeuiB1cTkp|KAq zld;xc*OKMziK%&A>nEI(TuL~Ji<#V{OA_m667cqops&bGfK!^BT}X+A<~afTuR2yi zpdbGzW=^S?=*FhBtW@8d>~YHZXgRsE63;s!HClFiJId*_6pQA{UOC$CcXT>sx!>w< z{n3hKr>ELmaeY}&nw={K5(DW-1f&3lg+QDMkjPdJQ>UPOxxfZj8w~#6L!ij zcKBf{+u5E}BHA=h2X_)T)y$J_)BFm1utHB=X`3O10>rk-H9hRNxqJjxRkqlX3`g2J zJMzeA5xiE!aaHu2@ZgZ>hW!2yqPb;E{}-i-9CFLk)8I=l4C%J?1b8VlvaV^`Lir)~ znkfETpLOb~R^O))@jKdYZ9LWL_iBgGH-cx;8h+wgt$cIxNCYgI^vH0aXEeW~wvcvf zq|xG059tB)_q%`brd^~C9P?)3E5S!lPy7PIZU$-K^y5tMLu)L=d7QOl^^?ehRIs3n zhHjqIz^(eE0#p$(K{hd8RVjBOA_q;l+Nt`K`h-IK?K zNGZmJ*Z1jO`kb&68Ys%Lq{?l*slGuE4t&9nV#vWEeuM-NM2duh9Vjv+cq^FXSY}FT z?Bwx!mfav~UUw|4=_< z(2LYEFka(mN2<&*!8<#3{eIhV^Tk5Uv8*JB#yzA?Tii;y2HfIdB{}4^wN={Mz{GR7 zWIB~H^sHJ$X#L|lwkkjbrI^zdzuKrOPUyB>j&@cwt??ki{uj zsue`P*RWI2q9qLkqpzaIDKQ$!(uzMa6z>eACfbY!6UT-p532tQPxOxvf+{-|bZRxk7-jr2MD;Ss8ILKTe-JHBO2?$V3qe`_^Be_;PJU^*#?zDP(tS)-% zT&%&=_`;k%d2i9`!M}|*y+faduLE?V{*FQWr`6g$$P+*|9CCV~vJQ_9N+Juc2>Zzo zK0;$hsz9({56l&Y4+K$5DJ;+ElU`^-d6TYB)(+Kb`;eqCr@I9!*=<>8M|1gI-e5^+ z*`zIaJ?ex6HOgBUuLao?##BDp9jR=KX4|}h4T!Yh584#fk!WJ0mTBmb-SE3r5&Jl^ zWtmf&QBYkhrJ{f+lmL(i9SElz-iP43AUEpJh!3HKW5Ywx7RE5Uz`y7O(yzHp^@jgr z(wnM%Nyp9;hCV+(r&#d>77&DuNuB58aSM(-)6mXxt&X_+cc}foX=;Z&-fV$B?e401 zcg1p~bee6Y~e<%IPWe1qlyYbN1S z{UNxZCgTI%Y0Zpro~FHwYKrs_`e=CjG;QOowsDQ7&F=R$%)d-Sz7AGs+ps&J4IMSY zHga9Ub}bqmM{avJ@_nh6_flTd5* zH(@s94(a+KgZ3YBhpbf{H8C4JOoXZJ`qcQeLBHQJldW~EvWB4bLq_2hj5S(eaPrD1 zj5o3iFv7@$A%_CZ5ROWrQ_xX?v5b1+DC`B)6K~7PH8>LnZ!rN5gzG>IER@yZjhsR( zQ`bF1_sX6NiM)hYIJIcV11p?XVgZ@UPu%FJ+XoGF{@?;7%muF!T|q0SlFm8jMAd`0 zP&1nPZNLMg=-EXtmaw_uQ^V#Byk^Y??$D#t&_%xkg9I6QM~*B^xxpfPF*ZENZ!1_; z47Hio>^5mn(+o_3CJ?3^6~li&i{-xV+ub!zEuSyXjl=AigR#^H6&DVdarf={{K6A3 zI-aNrTO$~E;6flNC{@7@4ZEhMx!Qi={{0uWFX__c%Yil5I*Tk(B4lv(OnDlqI^qhb z2p1ylzUj02HQL@!`x+t)N~$Wji4PC=05YzizS8=wpddG?iZ9RxlaQ$uAL)NMLaD0d zijAN(3S1gwVkB1K$1*Pd5VplJUD?JOp^#z53o)!Cl6AwuvMB=#eXK&8uE;TR)9a-* z4&rf^Ax9A0$C@ALun|2j#dMfJx{M4~BdlaS+sx|GBpkq&X4`VA6jyPL6}2_Pj7H$N zNuFL(HG~DcQd>OpYSqGO_-s^$bGGQ{I#!^sNhUK^REql%!z~!_sUnlUsk51&1LaRL zPHuj5l_dP#arO5$Pesl#&w1ZjTO#L~=RUuAvw6-r$F^)S&pns;5cYc- zX!@a=e9=!(Ac`0e(ljx_0v@@@iI#M9(Il`U&Aic3&fhJ`*TL#l%|&LkJYZStk5*EV z_7lc-s9)elSZ;yII2Q1v$>p)jbJs*hJR7E=;7jCpA`VG8*`%L=7hu*0l}o&+ZkYVU z04RQfYPmOI+D>B~{jxeCH2_?^)tj;-FLp?oUVJHe!Q?rajq#Vha&@U zXc@=8e?(*c7q8co= zC5IDI$jNty^jy+5D3)1nn&+6Sq$g9DGBG9M#_?tWlh&W3w}Wz++4k;-lB$Q>tvL=694{aG6Fof_x7yI|XGFE&z1Xq8!ZxkvD21 z_zviW83&0GtPuv?FdnKE?79=I4X$8LA@~}Y%}AGqDH;S^tBZbzMR(hWjHF?eVyRGn ze>fE_MK!FlDMeG^zJ3K?VJVi|`up3;6=TGxlwhc)%N6YuKc7tIeOf9FH^sO6gHtWs zD7dos1vff1xMJDG_=sB`!m^LN?{^APwfd2CG1^^X9P#CCXk~G16zmnrJ+Mg>6(5l) z6)?>BqRNOtGg=%ij}qIhjt%)>weTrm*BbF1Ul5T{AxFuD^V>X@T*4KrA^S0ASut8j z2}@e$Ql4^R5AWJl!=@`pSd*eMxGa}EY`+jTLQyRo?58sZJ8?mann)_c1_@F)9*1u_ z1b!XDj%(y&e$N~-%&-Lt){^5&S}2Pb)@fp~Etcwrjj$vIOU)MNeFoz;i59OUe+Z^^ zlNCt;cLIa*D+$P?z@`O@3RZm6>TrCbm>8s0ZA#h!n?acfX(rT@`Pv5PWnerW0w%-Z z5|X(~(`A=qI!P1iN-UVtC$YQ6lxs{O?bmSOl9m(%3l;1lRISyTJaz$cIZB=|XzM{{ z5@u=O=3d+&<_&HZ`y&N!x>!8K`?iEutX>h?B8pqZDx>E3#s4OoMc)>nb)8B72MF2t zfvTq<>yT2qhJ&7?Xf`I}a3wi`*e5wn0)ZLq@PH1*%PAgmf*FjVoqE(_?0lRzuiy5hxi^u?RO7 z38_vkSXN=Dc-Gq=ieu$RNJ9iOmI>{P#NHW}?08hg4jj&{AtTaZM@$8$z;NFmaf0it zR9pNJ4nb=xp-9XzmgX<*Zxw1qDky^hvyu#8a&~~tlF|p)h(p_non=phh2w>2(lKl- z*4DPw-gN{^Zd$xRyaaT0cZ)yM$-e9@euqFNW};y3avNs6T!L@(06oq;Hbj22a}PMU~=Rp8M#gl*eY zPkXahp-@5NqV?gy>Tp^bgs^820>zG1pc6uaSi~q*k`&xVG7OQWl{8JmY}luuH{~3T zfyY+Kkz9eYag}CaQM=`+ma9htdNfCyYpF>b58969^?j;iY0cq;QD;+2G3HdmHB}5o zs=pJ@6|6$LRVY~P1?%e(MVbaXN!i%HQ5A#Dhxs=KIw5zbNhRTar9sdl(pXX@8j;`P zBqGsDmgVygN-e1=V8GDN6GbAAXJBD^Dz}U{UXFt{niUIi%$k#k<1WoYr0yacFz{Lj zGGo(Ibx^8q2}a}FgaQQ=|#C&5%IoGWwiBS`%8}u2jf1h z(0Cv&WMfAij1#a1oom+Dg=1+j62r2Y7&1}LD=>wjXOi*T)RD0IpSEuS)2ew#-Ehq=mBx=AYQ>gzdEmb_T2G|wwA6^W z=qxPIBQ`9*aqKx01ly*(ci=Qs&O=3UMvI>bKM}2%99Xg@%TPs8D|ph$GeHSv!7!sC zw`}PK3{4x(+RJt2{F!k>yS9RLH9@>m4gj9w-bO zW9u`efmx6A(~CM*9^G)Dy)9=>XJ%^GoIwsn81Ga8{GY5H^glMP>dct@|m;$ftgL*yQ)}M-D8-)Qf%LX)TpMr2#)XgQa zlZz{3KPOYdE+o2^Fmkadavq~bbdXHB3=|bj#;#Gc>zaZMDQUMI3rk95+frhw-fTRR zz|oL}Fg4WtFe2J4_`is;eycBt5<;*9n?aLRxkwY3G1xV86{TSjO@cinL6TKvn5#q+ zyn`xO2^!_14+0xDIZT3SfYWBrnSp#bY@66pCKSSEGa;SK3KJ!EsN!1QNjj=7Bf5u` zAu(+J4C;kBq8A11_Y=+!rh7KgM$|p+t5+DZoW?D}*dPWQHgW}voN1RJEH8*?vgK9$ zm=}lBDIAW3B<{trsI%f)a>zD%WZCFlT|iyX=GOe62pp}R#CU}+&=eudb0cP5thyZ^ zpM>Z8nC{Nc*XWx&P1gLeFU>c7NkqE{{ofxiSksBUlxSU2xq|g?w2czBpT-+xQdBCd zG}35+EV4_3!HCsy2pS=ZH3;1n$x(>UVRYuPupPTaVks?@K-$C`=MXi6J-NF#(GGiZ z*zz6hq=XK~uBkBBbhW)5wA8WX5%%0uKyd8106S5Qn%Hy8?;ET@?98LfRO;wWDA+bqZ*`8fOCiK| zu@@P71h<#4=NQ&SCDFxwt0#uC*`bNmeL79oz_18(-v~TMdFXYk5V_cZ^)qLY2gHK| zWHEq`fMW%8AX~afBWoBt5{`{vUmwh0e5NEbBoU8QgEe6|L=zSE2vnnT1w*o!tSaQQ ze6XX|(NUYEw^!sCd z8ddB+=lUg+r|B;3?R2XtB#ruQwXhtu3=Qi%4Hy=1njv*$Lq3zqx204>744kuVT0Js z$!s{CTa|2U%jVPJY_d82XkB5FRmh*;+;dncEZBr`fJ0${0+02m$Wsqo>yT7P<{h3b zle$8RijGClJQjhza_Nw_(;5$Z$N@Ss<<&l2!F~WKEO7RqucWLgQhD&xJVg0!+!Q|fpr{MLKVMRdy6ANK^qjS7HFCkBzD8nduyCutWRAU9 zle%`3wW%{*$PU(4wn?#I$yPkJ=Ok6CIgc{fTO`=yri8sL=pRpueJi*!54Rx3PAfJS zgV5e`n)V?r_KtVtUaM)Z)nhl@@XFnqwp)W+uUY4I%zXtsgw~o-x(zL& z0MUja=zNu@e~Y}dJyv0(J!KbmTV<=}>c2hl*q*{hYpSrP4EJ*@A0QLlr?rO@+^eno zLG>V?De1Igc^!#G?$M*42v&T1SiuqGIbe4tv2Rgp zZv^rb1^N`}RLeh4L;J-G+BUsTP&3N&!8_Wr6oYzUzmLLpUI*Sm-k#vD6oP`21-(wI zI+lN?IrI|8dnKAziQ#NHn=R`HX*}o%9o^Gf%f8`7M_k$fil=FT_lbSMz%krXunOKN z&57^cc(4{;FJt@YWig#BdKC?qlO*Bh!{PEXzo@Ww4L2 z3~qkibtwM|ya{`wAoziuWDM0opwm&Wy_P<-<_>%`IokXBm0Rk#TfAVC1#O*Su(1lV`C)RJ1%WvO-9YTA-oYFXCNEya&eD&V{{g2=O_a6=skyyC`mteNz(Fput0N%GG`3H|MYrjPvsUPe++~*8Ob_Q2m zIc?0XT;^vp{UZk^Jpva;OUuipYArri+l}-dA1NHTdY?ZwZjZFh;VF0N@)d+hc-}m< zJ9ES^z(vDhBON8Ad0-ripHg}a(aRru)D3v7Z63AnJ$k8pwpNsXpO*uqb_9ab$8+9& zx4e&qBk#ME+tG1CdjD7Hy<)|Sq?N8FV-Ibk)a}snJwbMh>M0bv0QH#aiOp*zO5AF1 z&t&GZ*|~dha>t<R!ul~ zajm<>_6T)!v7aZfQ$t2et|s!&a?2sFfF2^;FCJ6vuf+#flD6&&`#=X8EmLQA0EU*( zyNuqaSENHa_MVyS4E#mFT2|2Oh#uHS)@ST-YmuZ~(jMv1u#sLB5b_K*?6%`WB(Y%a zPA}O$%moEl39(>O%4_4jY^6gh+#WNU0ORe6@D6BTtVg{V1b#kpDqNweZ%?DoZ(j6lMR0??Wf?ip6eDW z)mXinYx{Ky8kJQg#+-iOP_EMa=fl3} z!8%uu{-OhcBIP@Y4$~rnS@YU#oH!Av{JXl1{Vh@t&Ya;~jd%T0*SzTf$I%L+#u^Bk zy@0Q0f*ET*WQOmRQ2nf8UJ~)FBJToEo44qfr6p?t5F2sqHksDK29K8*TK{o&;iEIa z;{2Ttp+q8;^_%wSRKoB0W@hZ5-Sl&r-KGzO-8V;b@*Ceeej=-X%Vw_%{ZQ|I!43sE zl$q9>U!9i&WfT4|$AZhthr?=cnmwUsY_pA;^pgUzV3~e~6+k9o4BE~nC}Insx7G1t z(=n#5{Adib0Rgn>th;l+Tfx>Fp4hRoRm&vry(sAY`+hW3eOqhw85 z``;agr@mB4?6W37yr%X_MIpyn-Jap^9=Yva4ijfJv1wSP|&2L4Xi0;;m}(qju= zZGWpW)$})-d-hMc<%Nb2%AeYF^l5v3=+Eg#NMlr~9vluDlc2c<@Ex>6O@CCKHEuIJ zW+T&VW00h&Pv*Euvu(!h-7vutx5|GoYXj#4rf8-M9}H|$`e-QcC7wHs)j^aFQ9lF! zDg#nxKu#5_lY0X`RKz~6a~ZGb!IIQc>X!cO`|M#mZC;mF2_s=*QcEWKbs!gpzwbTv zNb+C|v6U|bV&opOYtESSPHR3jjFZ41l4e2(Xq&^SdF!3_JMCrxCRyPuN2V8=((l7- z6TIqWQVSKG6rSZAmssWtXxvRT z;BimD!jVeA2XEuTI46Ygki)*>eikDoY(5!x zY+|DcGm|uOVe~ixx$lgT`vUSM9&eUIagcuh+WE&JPYj`mzRQDFXnoxoM=oIN7`{eM$tRlp0rN5p5H9lAM#4M zM%j)fCQ5KqzHxMf+I>MReuSGwEXFM;FGGD^+wC(%VnpvgBsCjbqG*d+Ls*di;xZLA zN8F~k`?@_QWO4Ov{z49IyVEtP&q7WgBd=KsS3m#)ef4TE%3vvDB^$~5o>sDDowa!1 zQ%|zCP6Xi#W+pAxc{_MpX|43Opxp>poTVI!Pa3O-(H*R;$7eEl#MYzlBb1OaE4x2j zt9@v94YZLqO(X^+*yKAUY{5f-4B2(-eIj)sT!O_=;XiQ}n~mgAY0n z|M4nX?)_u0J3gMVDxGAIExc~*ekUKFd_&O5?;i7FSlm@|1 zp+c6z=K84f@Wal7kF2iV{s;FvXU31e?ke3XXQHz#A3k`ncP01zcK%;Ekb9!r$w=Jf zE<-iy0^frP@7y_UZAp65#-^Nn$@Y>*5^lfo%+~hou%$c7@j=XOXGfFBOtcpXK->1) zkW;-#e+v2GUx3sfnB+Y=c&Og+exco7ZnaL3(PoD0HX>MJ)Q*E|m*c(QYKY$!M5~Uj zs1=+hnQPlct)P|Z>k6O8D;`JgYTKRZ;|vb-S&qT$<=RCI0v;(&CcXdQe%AeEQ3{2Y zkkjk)ziOLGn?!dY3_GMI@DMiwiqrXMJumY-Ug5m`V101j4bCjjV=#ZesIP2$_MA>% zsn31B+_^xAV>)zXk8Lfq;y*FC%!_i(uX3)fe)$CZgy+)z@>Sbp+qocJeXZx(c3-ed z56;Eay{2{un|Me@WhZk9l3Zs$v3^Iu>RZ*-xn1 zB&KLH4+NzEdGO4O&D%Q=6X&PIkv78AFQZbni}2XiN_Bt4f{3FUON=`is#$vJL^dd- z;jyyfYhf1I3E!_}>-FsQv9iAtWhtpL&M4+@s-7b&Ba0&Rn~~3beipsjs%E3+658P(=iuxyjc=<^gr|iaqoyC%Re+d z4NQ`dSV)z&@L7O<=xO41;mXT}fGbjp3E!b4LSj@1{}uXMEC$xB6(cYk@0yT9;qO7! zNjkv8;JUXh{`gk6O~7WRjm8%(Jchr4q^yLS!J6gJW-3GbK!xL!Tsb(NBME^K{{UjP z6I{V{WnjJpDH0}tkic_HplaxtKx81g(8s0xfK3E}kEqWN{R3?#83MvTErC7@P2%Mq z;5KfN|3Dy)z{DuoXZopSf+A0?=yrF?oyI-{naZf;5-xhVr!_jwgN(`Z+8T4h$sKtd z5hIKlxR(cL``V2w8$OUVEWmfW@4EAG8MZ5u8~*s6?{eQQKJ4f?cpD}(9#T3ScOr;S zTt9@}B=jy2Pr5)s*i!`py12Ow#+P2D>4P_cp}>UH4a>eHv=fCOp`GyPuqtFx2uD68 zZ@E3&f866&;hwsf8>PB3`A@@sTy}|PaWBLs%5m0THCPC@$@yE`a1UYs9q`ICYs<_f zDqoL=IJ0tQef``9QbY7PaX&@#-q!Y#h0N9k{uZ1 z*ga^>NV{wJ@Io6nyJo$`9g8KD$BuSgtNTp&`U7G{ioruCr>kV8tIGeNl}iy(4S&&A z5iB+QAg?&7T(TEED@N%Olu!b0L)P*x)4&tf53Z;0;|3*gM|PYxu-FwNvXFB3Fb)_n z{34Y_^l@b|&EdkM^KMd&gO&J)rH#X9Qr+~ohtGs4iae9x>{($tIe&iZsYE`(&F!@| zGH6nHD)Ky~m#v&VyS7H?^Za?dcY~)R8N$36jW6`?OZ6P=YI(941iZ_`k)z7z;5*vE z;MF?6^|}~UmN*xE4*E?~HFTV;3vQ5SkCKAf9zN$z8N7fP@(#Vb2zDJygNWfSG;TmdE@znG~VNsm;shMNv1DcEEI zb~2Jyx|%UzjJYm%mEDZR-OQ-zd6lU~P91J8^~Y2$R~!-em~kaZ2j!7rD{W6q?Ztx0 zB#p)(bLGVj>=qb6({3D%=x_^m8eRgTKo(K}H{-J&=ake^HE>Bh)-I0-QgC^Dw zcj&7si)U?gs3SHCxXI?+xCduyx2IE%_lmHfrVL00gau9#$=H;L^Pmy_tpg#{cwVLV zI(yS9byyi>7umD3wrY%1Dh<=sj7)zeyZlEVrAdZ8HCD>Hx8Lr< z|F9#Ww{+mniAG2mqXcSn6 zzzl$L&=Pogt0k1&cvc5}TKrIwdNIn85BKspdt%G)ZBMlzke2pa$|Z-^+y->E!0((lGMn+RjD8;pKQN@niK@(2Fx;2 z+l#+JosO!?peu#!(1W`Z%ns+~Ngq@{>b#4YW$oVTr^{C0R`o*W3{M-4|wr3ymPcbtJWF1?OfaR%eTaw<$&WGh3VW0jd z+Ftf4h&?HGHc&oX0)i8gGlwHF$)Eh(A?MT1 zXewhSvY?KgiT&tGX(O4OTK>@ffu8iYL;rx+{0Qx8c1(_pgGsPDsF2O^Me#sU7G8Ci zxb&`N;$aemiZ~n#QX#j9+nH6pB|IO$S*_>BDrx0WOLd}HsRPUg%b9aauAPa+a~b&7 zyh5u^rE~>+63VKpa;a?Gu6X{XpmNfchM(_@pl&utJEED4k3e6S%}@7dHl+Wgs8f?WX8$`ZZ1dCcGmKMNvB5gH^hP3Q#{wR zGSq0`w;(4-dU-uh-xqI0ldBDdjeyn|XXsJPS`;ObnhQ8@S>kc6BF*@lAyIv@66D7V zK2j~HOjf@lnLH~ZHlLEPG{0*0ihN~~F%^w7kmj6AabVuYslUSF^MC!4D~og$E!TC`d$J0& z#1o@jX98(?jzg)?Tn|VQI~5$acI>c@U-!i?)_+>)4q9Y^tgRVsuN7PAYxeZ5V>(C_ zrVpJX+d)?lD^q8mk{LD^jy9xVl#KD|N8;XF-|EF5DV#bLoI2I?rl;M}Govma^@mht z#rj-wWhMDJYvpH;tTTRjdp!lr*@jJ|l6m+%wH_2Oi;Rm$lv@E-%9N+YHfasSkvZKG zrf07xK_69lkNKWpGLu+I9y2osj~qUt+&OF3J$&lasV~jXKf0PLRFl^DcrsZjR4!Me zqpB!5u(=%+!H8rWXAEPZg0{4fKVcRl-9ALL!asmW(l<%%0+BGi<`>8OF?ZIReZUPD z7RL@B9&_jB?$Yn>*x@@HhYmFebbg;3E?n0L8s3~cyPK8noY#<^8|sbXdy-h6)JI@- z#9pz8rY%N57je7gXc4vVjF9usv?;Ih#MelGcbq5Jcq#HUNk(45S_#6;V+Y;PU)eg3 z#6zS$kVIDLy)9wt6nkDetQC?$FmgFtyBTtOOMPWX3cvwHKQAods6by49)#(Xz|~cD zZrzU7P$O||M%HGtXJ>4%-D)_vu`ihRQjV$hDMty=J%1+YA9q@I`zhHltP>ITw~8uh zERyIZxE5$;%t5-F`1kp4@dPA_M`84ZW7+Jn1^bGMeW!^!{-^8b^2Dy!LIHpRAW@IYn3*8tUX!9h4 zJjYY3I?FK#26>Knf#m354P&Hj24{?H>v$~&MY3@*Jgbrii)Qg`6lW)*MUbsP*jZb? z8{6aT&%%mOcW0ehx4tdTULE>hKpd;yDSz@(_XA!KsuL zWp>_oRKg8EK4HeM4&(Y)r?bzxdJA|?63X%Owi|x5UKH-%?Ej&zJMamIPAy$ObztSl z=YSyV-1<6fMrUv_TS5r;jD7a3@XS#DS@a3oUie_b`7S)-%U2V8yFWNV~-8=aLt5P43!>(&{0*Qh@E_`kIk;U}X_rTpiqDIq)^0Z2w z#nzBys9ukhLG{7mCf))IhXP&&3BnQ-4PoOtC=HfM>I#G<2hglo*~RY``WQL`mt%LZ zK*2bTRHlY#+VhY272i%+81sc(re3{axSq+ajb+Pe7d^r$5{fTSF)rt(%h@ZFaD}JS z(Z`pP&>Y|-Ae5YtGVm0*aFV6Q&T_#?CY?fgXX7zw-P4tTFs1k&utCv0Qt{aJxpHpv zFS=)`*&#Aq=dK8ggXEQKf0hK4OXC(I6$#c81De1jY6)R~!&7}kiF2ZGo7il>LG=T$ z?^EuSjbd%Z-2y3JI?W3g7!`W_lW}A9cMJZ73m48kL7FT&Ey z%fJ&ism5Ou@5UFX?N1!Oy~wvlrY2F=VhK;`ej=7AKjIHY9LYW;<+2wBo>uR5el^$#7fEl)<5c-!p3Z>Qwh}HmjWN@y7Qsfq>G+wzb;i@loo=4s zaAMb@VLa~Sy}ilw6ajo?q?1$Wo4{I=rLoU)#Ae=pSu1&(f ze!-RD^V>y{J@R_~uP?R{E+Mz$VEkUB2MP8_kR!~J5>`O-6G}69Zn0nS5oxvH)AyyV zhaWamZ;7ushn91{w7Pm`wH;g>vEOAk8oZ4_r=80r9erc6+fjO2>98S#{vNM|Xj zbScHaokaYEOIL+S%~(e;P#D(_aE+@=W3lV;kOSzCUvcdobz6yAxp5<#-rrA_*i)S8 z@e{j1X~yGL@|STI;#7>6f}atu;-%zTylyd`BC>Bgu|;j)Yg;M8-y?K;=>DNgg^L3a z)5AjER)#9)PP!A<*S&Q^D~h?a z)*6R@FpbWLN|?gJK^r`9E`9Djp&}?{#84Vf$gd@x8_0^yIfb?nS=JQfM^8f}r1Jxg z*b-pde01RM#gU~&%|KphFMqqYh^>a*hJ#cx1dnfGQE=LAiX0Ha$PXW3A=1RiWNZ(9 zKoy)}c5Ma!avMq|Zz_=!gk&nCM*~UtrjiUApAon=!+ze=bFm&*Ll@}t!o9Xru*JcE zeT|Ts06hq)X~~KMf%F6QDaScA_OA_Z8Ds-{LxJ?Dt5)+5-*!zNDpY7z5 z+2oQHAV(mLh+hpRJf1O4m?q-J)x-<|iJxBs{_8o36~|tI84Lv>4}{B1K*>sAHUAUmozB zP76jdcx~c5axoNMBh6{YJAT~r_q=w7)1OWDv;E{7ujzz+XXwAumYPpq&^%1+i>1pm znX{kyD3v5PlBct$ehmX@(C%MlY!t5?# z9lndg+}0o+s*j!r&9S}?gEP|xLQY^&Au~Md`+>j4`aY&p^c=p1*Hz=TM0^ZP$s^+I zf#mQBc(_@5>WL?K7GYa$$1Kr=FXEIYIuS+-2X^xY**0gWEh#W49kqCFBOv494A>s+ zOW?^~#DAeZzS8OirZI#*4vWSAG!`_AesOW1;}(PFuzktenRlLeoo~&*@rheZb_x5s z#FoDn>cveL;A`8;Dcq1Wxmrzj{A2>BvOq5c2Aj0w zxYQGAij45jNxA9OVkAQyB{80HS^(euJRMCO{1~P98eg*F1IbCBV1KNuK`oT z6qq-AfLRdlC0S#UB8*E6uppZXh@44KYZB8+!bK&1>1Q)uE`anclg(2qj{FjvkB^Zk z>_GSHx*p`BSSD1|mvxCphwJW)$>~9p>Y&$hKm2&HW&@pRsE?aDBKXUm@nSM@?o@acG>v0O_}AKKdhxlx{3=(xdT zE(F}qu#@CsS;?7jMPDm|=qSAOxOp{C6P{MlLATY+6PY2hA{wDuj&SudV#Qs=KP^Yl zxAZz063V)ebe!Y`N$$CD0oWJ@T<8y4J8^>SMIxf&J>rE&i4w9Gw~FtruSxCWzF^IK zEIqOOd~xT5coOZqB(rJ*sVCY!R!r2+FHim*sh&5yg!g+bR5FPhQ(j)zm>*DnM>e0# zg-OmJ*#hA?cz&;KN?ezs2^2&aeoZFMnXo>|XJ5086Z%rWrXpT?2~vl4g`|2t0y&At*ZedveTrR{gI-lug{*F8fAuzN436(o=#Jz7i?J=`U{5NKy~m~|QY z6vfV=XG=Gct{|V{l+@h@>`n8-lU{Y7#Kcmme65z>SM?^3KIS-&Iggz@c^M1yJ5E9& z9KB>ApWn5s_;vQmRs6hyqf4>N^WSzpG@H6<+||3Nt5C`!109H5Sr~WN$E*R&r&=Haz2e#tIkSeOBV8Uu;xK?EKC9 zqK(<(yEAMY?t!6e`$5hR*nacghyET(5^`D+Z{Y&U;p+i zS5nudue&Max7?h!&&mjs*lw8REoC*amU(I4ghr}VXDNwd*}o7K5!XC zE<4iOQRKoAiCNGqG39Av8KH#>gQ=NLY895|!E~`nnBtMgZzmTIKo$hGc>ox*nuyS7?W^}XiG*|ftRifagil)kD ziK+8PpgbF>VlHi3xfDhw^MQmB*4F-Na+e#7a_!mlXnqElz-TVjxoy~j12E^<>xq08 zsc$R zxhw9zY_@*6X?B*|!5)qQL^tY(J9Osm0;qzODDtA?F0_dUtve})nA3d0j$WWm2=VG( zh^%9%MxsyVcpZ2V6I^-{(t$RUCe-`lN|Br_$)mY=cI7(Lg#b6@n36LkJQ`%P{rt*t zM_NX|5{Z7Ibc6`sOyHvor{qKo1b?iG!URU#tcX52Dq9bUOi12;Y1+7{6XwR_!H~cF$aKb9Xd4)XS{7dAS}c{M{X^Ebp%%_rDJD|T@V@=D zm&U)z3UQ9eWX4p$96^ql{Ms1|Ole+SZeY{rDX!^KJnJPE77|`IUZ@rLlC-+AJW_~d z-FZr2XPyb`x||9%qe$P}$S~e&l~~@4RjV;GA1l|ux|d`5q!$}5$4j*!sFmX7DsnL& z%j3?Iy+4ie$Hzy)BS~9_F=yer5ROiskH{VzGMoKMSAoxdzh8=>Ze-?RmMKf)zz-l;GJlb97U zK>SrQaUn9~p0z5i1qOkAJ3w(?m#TyDToBaIpUq+%Pt`r&OB`!CYya; z@8WNl0X|9j=+zl2U4&ckwq?!HdGBpDwk2fwwDW})E2yqN^C@=j#v`XCA@!79-y#M3Ba${N^1GR^?Yt%r{3eq>y| z;M+8Ystx6VgSF}6MV%=(0)MQ0nvbASo`Dm+oINfm*VFR0E(HOhiwj2$!O?Bsj>b}u zbwSrDI(GcI>p(x5t9g*XK%s zb+0vCI&>&oXim(|#70XKr7K#&7fgz^yZl#`QZQ!sEz*atnP^SV94`;ELr|J494fQv zXl!P7qFKO|)c=^RcW@JtEEZmGsc5l?%>iC5ssYg@9}}u4G7Z~+{ppM|h-5v9Xen0^ zoZO~1ylHm_QYPR&rvUr+WmclQ`#uwz&l^usjlsE5qkOV$U3n!}r;f^zFx>Nn%cKm! zbovPh$@ zWN4>d`9+g+OQ(8;tCso^qL8ac;m$Wh!gl=Yt5)`vu32hHB%LR40-JaOxLk{y__0^H zg00{k-a8Ih@30Q6J-GPD;)C)^= zaB*>b{07=GoFf|aTk-F5oPmcIryi~&ZCZ_a-r1l0$gJS+g1W0J$qh^Ud?Dqi-+gyo z^D2e*RB7lNNagHM1A7W32W(*nY%$7+5JhpY5G*gL*MxKDxND)YE71gVMR5zWKGa=$ zPe1x2AGq^g@99gXKfp+Cd%2y{*-Vfu>;}~7lFU?WjsnQNvI#YJdSvE0?^NN|BcHSG z^>!EPw;uASZZ%a(2KnMJ_=vKj4A+EYeI)5O{9Mok=rI!AH^hSazR439+&586ebEct z^k+VL(@*~7M?SLU<$mk^*#}B*6leFVw3{ejdOjT&ANfc2zogwh61JOm4Gm%dQs=dX z%z$fEVa!toVbEUM`otLzXGaeHzum(AP7SugKn(Wvr7gIxb>TOK?< z_06iz(2`Zs<#e&)fEXApsAQ@ljg`!&a`j{|76jn<*`C{tWQDX>c%A6&|J>^YGKsB> zq0{TUmW!PtZ>*FqmgN1lUojh(^)97ydh5DHE{hH%@*=82f>74+N}?HJ-4d-UNdhRQ z11z_EQN^11DN5Eb-Oku6pY@URCn!%DtC_3cTl!`###&goX6#R$|LpQ|F$0&@s#%M* zB~UT&S61{a-$2VH9AB5pnD>`GEj0)eF<{Mau=u=Upc=~8edy!tI~-16-ia_H-4u?3MvD5YhDv1wS}aS%5F`O zw~J9cgS!w6s`jelf04#)vIgy{uQ4Tk2&4L6_m^>j!6?5$X&eXxpv%DtWFICuMO+S?L@tgDX`(<0|HYa87V0G(oOMUXrzX<>F;5- zi-c1MKrwZ|!seG<1r&(KOq7rOxh7 z>3B{T5|g+0?Wnm0u*UUjYk)T%R(0B0YRfXtdPF}!!{P2jl8OnZQ)aP2m^MuO{5aMC zj4gqOA(H^NO0Tp;wVCGleF5O1jG=4@1WSpD!$)>fy>Db@zLVWKQH=THJ0^-o&WBhv zbFEXp2IADQvj4ZiBJ@bM9W!APtQ_4_37{IF^np>`m3L02V*c2UiIS0H-#1WiCUuSH zmoK}P(Ab#tmC!#orFJvcKb4XZ4mnhXO??5~q513eZpF@@^iB?6(l6$FWB9U4 zo#}R|)Gn#1vHrf|!|8_#M*Gm=9nWYULwRFxh3AkwBJBqY^V2Y0dL715;CRb=lvh|Uco)Gz;^A98i-(H9y%qm#`@%&c82!z@9r87a zUU=isD(!>LqGf@M7E%7i1;!(83xJuJd$&M{2ZklYW(Spdll&8jzcPY7|V@k z6r5}OPw5p;hF@g$lRBjxM~&XXZ=ctsf(}r5dExI_)2xFwI2FFgD_Rl7SXj|w421K! z;EPM#kHqfK%wAew1rZ{O2H6Q6ODkJyzOk?{ zIysfvmzvr&vam3+OD|5&&Cgpk$ef*ulbs}Yp06YRWR|b2ti37a`j!0Xa4K0bO*?Hv z3ZMA(!6BlfO^(We?{g}t?FT?3*!FeBs`#0*>5Yu+hMGPFO+A`Zbk7#}uL@6bpY~@0 zebM1jLA44hMsQy}@Sok%0HX`t)JwJ@oXIv@o194(V)wvG9J@DGs1#x&_}=2NdaRH} zRS`=tc@-P5HX$q7;2wyIWm|EH$j^^wadsw@(9Hwc6x(wvkXM}SmhXi z<$NM%Ip*U*BN)r1GI6y7hUQ~e08WYh_}1KC1JiqS=yhECbONJ}ss%kRjCllgGREl2 z!+HS4!6*z|Fj&Qb;o=~XOzpPi#Uy$h`Ms>}k7jCBn6MRQbS`62^fI8BNkX!1v5|76 zN-c9=GE*qK%!F>a0F5AEq#V|fm$8W&JNMX5Jevo+2{6Uzrrq+SP3({%$sPKYqnbB57L z1^X&miDXWSwM|GEYe;fOXGo@y6cOY*Vsx=r0!@9^HdoW=9n0pWYgetT>^X7Us5d?1 z{-p|bInM9c4Lh)R1>Pr;dlmiZ*;Y zFFoUTt)9>+Pk%WQj1zGGSNfFW!Blk0Lvl)QdYfG}qDC}sVw}7jiBoM&`XO2zfcB;z zX44Z1P`U#cfN=+E;Oddf5AKLJ_8#SZbZ2GX(s+EhyO;OszR+P9v1lF1R+Cw$wX11o zt(uDE6ZO599qPnK_Z>a>g=}JYe*e-~e0YA};u|CPN%(OC1pxelDh5d}H)to(<&s2l zZ=szAJ|ZGKfciyYLpt{u{sp2P1%Ws2`&DVGVL7r<-?W=sK42_xzB-5OzM>lIDf~*qaEQP zF#|gil9c8Cz3B zhhXP;_dlmiP%Gq?0eE6@O4IS^C6D7(T6C+O^wuvr!au9+0NW=DUbX5K;4TFJ$x{Ap zuem*8IJ8~R_AysDYQm*|P8)wvP7D+^Jh5CtBLCa3((VvQs;zbx3j1v*)|U{?2l6Z; zuCoD4f*8T530)95zJI}AlcWc-XjzoZoC_B==aN_0cX4Z9y~AKv7+%Tl>EJwftf)e2yoVreqRlfj3Blq9NB5tSg!tB~z2F)7=f zQc=E45--IY55l*@0q|m@zlpFos7#R?y>Nf#RoR5^OY|(!DnbncM64cO7N-+^Ps{du zh@y~gH5yOkl8(v({EES<*kSnOO3;J6Gg~X#}aOfCrppS@|Ad=Y15X0AOrUO^@vIniC%@z#u{qRI2EaxD^k)AnWD~IF%4T7HS6- zOdVw^YmF$TMIiK>%1&48W(n3xbPON_(hyF}b_^(Z5-L?1$rf{z%(KBMqpTqntX$ED zGbtwU0xOovs$T{B59}K77X>iji!o4C60x#jI|XLYgp?{ntvAyFZn@-en)@SH1X1Hy zsZuhQ9(CRHY33lvX>c43d`IHDaj~OwXc|~Va6DK&9J@q!GY0A?LEbLl6RYm)orLY$d~EY7);RN&cklI^hq#<`?(SZ@ z)o%sk6+>T>$S;#)kA5S0e01JdOJKqHo_$Tou5&A|9n{4|MeU7WUgFVGe|%c5Yf)?b ziyB)eo&l7}5dD(hrf7w0MpfHKm#F#ANm$l?CenyPU7@AFDQ6>aKI`D2TIVy0^@bHZ zQ^Q;F+QD2WK34EK;*sV;aDZvc7M-bC;6yX6*0a2W(Y17y6ezwiEY9&@qW!rS3x5{R zNe4xEM6`00_dC!@B@!GFlUzJ=Rmbi3-5pmS>$tt1+c|dTIZaaX^kKexJ$Hw{Lw|M- z(_W!{o2Ng7HE8uy)LJlA!L%}rn!|O6+77A@`VOWpUB#L)dZj;d=PT~`YP0RGw7i0S zOWEUlbM@MOx~2bpth~SSwt2TQULN;aD{i}ZzwK1!y-IV%-j!;n`{{Q2vC4kJCj;H9 zN>7r=)#YS1+)4(cc%6WXh}tX3lVV|NKOR>?WRVO;!PJmWD8b+Zl65G)s7?J;>&~n$ zcIFAiiR98h$r}BW1d-OOvn@F6tNB`9p3{IYO0cJTw3S2^)gBb06zJf>ak;*JJ|r&;Hl*+e z#63b61fgT-pOHA5WOYg1d#SlP=vVYhIu6BG-7|7}&53CR84rF$Yc^??vQOaGu^!}p<4jh8YZsbtodx}>K+joA?>JuXC!f_&P zw^@q=rV8!i!Mg)qkwM+*F)9{&Dzlnfa~yg5)bZo?&F{R~di?RP%pA!b&&k`zcU{)b zb`DP6y#E*;`OpRp&me0gJo zWPwOd41?$mtCa!WV{mAk<5I6nnyus?4^sDy zgN;Vn&Bj2qfNseRd+}hjS<9W)^$G>>Gmx)eqcvOj_pThei=K!=(8EcM4vK0)H^LaC z)ED!BE`M&4e#c0~YNfq!Tg(>=Ob-#Pu)DY6pVo zetgg&JJ*F3$IOzn8w6RH7){Ez!f=>^EGHSi&dymz5*@@YdH9Y~wwVLQ1(zboe<%0^ zE)2?%+NCVo2h8D4F|hEPz0t(8oGVh@)k-aV)VvCn)TWS@i)%{dQmM2PF9MV&RNyFT zWGTPun+f}1wzN#LIhn&M2A#4ZfN5I!nrzAcq?Oy1MWAivl)RXm0DL%IT*fZ{^%$06 zAm8cx@|`;LCrI9aJPwMt)zhcfL42>BK5=401HM;jnIPx{r%wz^x94&kOn{ zo(tU0i@k512nd#}1}B`yZ@lrkTW`H}_4sipwX$cj^7a$+w@)8lT%5aP{w`+C=vj+@ zJ;~@5eB(~!vAD5$#Aq*;@CKI976%avabDnYLQJo$JNCI?2i3FR)<{k6$}}5!BRe`? z&l{PFQz>~y+R3(yxS>~6{Enx`cEMoK4^|#?jLc}W5g6H#@y2n>NENC@vd$U^sc@_E0ptTibG5u5jm)U~<;`b3b zeqMwzy;45p4eFoGZ%i61C#0UnU_8|Du1IeCPG=u`0Zx}DdNz*lgJKV2;vjv1?IS=KKTCLGNuI>VYB>V%l%y8(s*~=W zH~2GTr_S8xj*Sie_QcXz=t?XSgDjPUX%c;&J+RxK;zml6Iz-$p1<5JAt``1Wf+OL@5|H z65YrE#(^e&P7ogvAC6Y_&ikeWdYomn60u|a)4iHEKIZ*&ZP*(dKSxQqQ}IN=7N@A^ z(7LMTj(cO?@UT1Pjc+|md6JiKR^oO@VUf3tU8XD=xCn?#5=A?F^iZf+7`PiRMiyqidz1q4f}hjUX%c(5Q|^hjB%7?Z1h+n zk!cX5z#%?2J4;@0#c3b#Mm=HINGAHFrF5n-iW?e4_|ehiKcr#_ugxtVX;F8;hz+j* z(Wcyb0;rQ|O0k}>f5Mp<#+pLiI&#NJzuf*GSs5xo$WtnQZSs`2(2_#71fI>HZ-#c7 zk>I z>Lg#}LL^0T<0m3~eR>Fm@wOVTU;PCK~Bj*Dsx#(kSfwSI8&e*M5awgfn znaZS@Y%P29NR{AuIQA#OCg=1uFhetMGJA#?1nN^zPIcOl(Ix8XXiR48Q<>`ir3Mb) zPNtJ7sp{0+p-goTMouZy@pfd2M!7Tnz3!j6e@&I`TDM;GIy<~lc~@EeGSw_D@mQj+cYe(ma?cBed$plA_&Hg*q zaPE?tzT#*;lijng^YQQ`^%=KXOO1`@_RN&L9UZUO+7k>nQp4r!Y?PNGbN80^yq%$G zs~!X6Nc?Ohb}!19(o$c~F-!o_kOqiS_!gP58;-CY!v?y-e<98aKcUak|y* znD4yZ-R19Ul?;{7!T%s&`HXukX0(n!d|WD78oA+7?Oe}s$EOE-*WjTd@-f2#bO(&L% zP52QTsuDkus>YMGxJ3{wl}|b&$^VTt&DkVN{Hb9^I{^gn8@1q+F3pai%%!DkrQRKm^>wxo^^-q>_5Po5Yz zZx~5@0ndcl@1NC_WkZ>7f13;bdvHx8mXj~HTP@-XzfxVNu2(m!RduI2sUA>|&=1GS zc`7X}TB4W1Cc%>-wkDoU%k1`M#Sw4im*%WCEAY$Dfep~{P-^JLN^Jl>pnd8{QQmrH zsXMB=77i>C$W)yoKo6B_ySLC;1b#4w)r+w%S{7xd3Vh<3@Ad>9IuG5*Tv4#J`0`8h zvVaLT-=U&(sXbRHLi7R9DBq-$q5RG*%*px2sZLc8AnrIy0Rz%3!M8hCw3ZeCAaS7` zlV$Redb(S8G#L};M#n>i7Uw~!H@_(AcYzDBOzE79b8Qx9ml*<_$D}>x1?}7J6idDF z=6ta^+bNL|SQ4K21)>O2bt}()JnLSOL2GdJQjeHyuO6E$bqcfHxp~IV;*ymoS+4i~ zc+BvwfRtUS;jG&vdmN-LHOerE2<#*Q4J0!->gf_-2&C`oJS8|qh$4WN5Ffk(6+(e* z$@U;g5ZbOpJa5(JYaCKpXp->6Gh*T_!a?iO*)vd!aTuZwoCi8!x)?`*cAyHFfe3*q z2W4+LfV|88y1EvhawO;o*p88sZRZW2dJ9|&cq^*d+10YgFNL~Cm&6hv;gKsoZpKo+ zJzSRX0GU^IinS&uUE*-uS)5bKy;Tw>Xtb*8KxM_?U~Gz%P@&<)Kgjjqqa9$b_@Q9O~P3W5-DsXQSSX?VFj&Ve1pSK(0; zLx9%hT(G=zSNa+g78j)`!-!r(DRV2W9AY}D3g^uYrw~Y#*^VjdO3o>A&?sRjTk4(FqNxC??qyeaj=>S-=JR^s-!%d(Miy_;!1m>>#5_Qk{%&b2<{ z|Mf$^G;{$P70Hy)!DERbV}~N@!%AZUqA?gEdX#{_kZ_x^u(U{koe>&?KHU(jsIwp- zLuygrs%CHqUveSenP&kkFgk>|ujJ4~+z!STq)PdWhr+gl!yBPd$uRcHj^9*^D7` z7Y;SPjtkowL$oBbk0H~I{=@o1Vxa+XQwGA0U7CY^*k0sX#>f}{hm1U$l1C!_!Y0Nh z%tSoU_=qL0IYR1CvDtQoCyxST5zXUKS|n8_ZIwv*)JwC4=7%XHoqQJ$m|f_Ldi*K| zAZ8=DRYo+#9dt|SDx8a_2Rjc>S^{mX;pv9MP#(9Oo7f*K4C4NDw3q`$AjgP9%%8X< z&eibP6T1I$Fgb+uE+hdRJTHY+kRM685{8_xRMX|<3Sb0x4iR3YyE(9bv6Y1QkVEuE zu0bS$vfn`P56=QUo^H+E<7{BCMC6e|?8Hc+Z?cNQE(jg2-8L*IPwuHxhEmW>gXT{M zrL;>R+w|>x(RDt`9dW^Ow=(1qeN;M>hLE+@V`XBRK%YJWFZ!FX+Un+f&fF}s7VxC z?nLV7ay;6AjSEuD9?{7wnEUmLRb&5AcYeQ3$yWRC?U?i5{wDTk#*g_%Fw@I)I#`t9aYL+W zR5f+8s+%^6BXc1%6`nY8f{4Au?6o3r=G27?QS99mT|k9C&K!Do2hHVDq`?5;w3%zf zq}VY#65Q;z7dL+{AqLtVlR1_Do$IPT5zrVmNuVPIqbR>T|mC2+k4({AF&DA?G?{U^~F>J z`EnZCY5t87|U;c8woTy&{6e(@PryMixVQ3$Th0~Ti+`;`*4>JQmm8zKHu$zqR z2*7kpzxA@WU%elXyKisa=$&9UUA3?<|@$wh+doSMt`a+qpC0;#4?fR?nm)#@wnRtZTVr!J-$zZWl z_fzy)?0REC@GsaNd}RQey&}Fclu}6x(EcYPf*6-G3KbQiQzC=n5T!+By6rW5Xtq zklGh$IMbNAEN;bC-e0O`(v1wjn5GMVg6F#Rxvr;>e%?)F#L)^N-b zXyyH4a8@%?3s(`2LSdm;Thm=tzgg4m(j%qMY$``N!tdZv}FQ$whnPN$8OmqyuT8aC{t z$K}vVJl8VQPJxgCI)Tln&0pZCZS!0ht;ah;=vt7cI!e45GjC#RN4``XWD-FTN7}a< z2lEcK9_;*qF`(y;qxLL=dFngs{ngfaD5O?xeq6Cv!{msYZqlERFE6jPc*&#NnrAo9 zAI`JZ)>lBXjAo+N;cVx+%sQ z6zz2=LjbnNZj6H#wi}l;pe?0{f#2`rG(JbVPvdeaR3JaLoXZ=sG~Un~KO0bfhlG8u zDfH!rG5bI>mJw&KnM=Bi^t%h^+oVXGRSMkA5&BdnzqBG-Q-lNYu%%exm zYw%(2S-v)L^l0MRWfuFNr~2*~TX9yllZ8`3kAUy)-NE2fo{vt7)SN%!-xjZ`v{F~+ z-duwBim+QC7p5tdByJmCAALwC-Vj~DQMa|MMLI3`qV9$X-B5ym)s5+Vs6LX z;a)>)wxsC9Q}nIA4dD66OV;3aZM9UT;})+!UUoZwbN%&2x6^U&(5>wFEuDtrwARD# z!LsgxHXsve>S#`~z{?jvk4XI$C{Ic-#ESQ9(Bq|r7gwu0n^rzK4N;qZlvJVRARKQ6mB;ru6ICie0+aFqWp<}YZ<4;w0MlJbyrWWW0^DXnv}&mu-RYr$HWyKd zq#CCYTC>tv$aZmC>O^h4L(JH8&yTr{-44v%(+#&i-t zoxylim|a*~94n2W6X$~MB$ALjCJ~~TU-1)&{wQW7e#Il?UA-PO*xf_-@}w4)v{8J} zz+@h0q+!Eyvw#kp;~FbsiLosu1wbbt>c!Y@cf?{IZxhyFD(`ASQ9OD`c*uoGVR*3< z@-AjxabF0)1m@e=uy~*VkJtn=@nv9WA-^%yP+({Q>ULs&iFsz@SK-UULMG)>vFVdA zOyN|`UU;#?@;Ew>?45OoISm>S!PBHky>Mb~G>w@Y#~2k&2|JB^O>D7z9P~PV8j|qf zU~~#qujJSjw_0#2>EZnOZ63~0j|=+{&U(f=Bb+hLh(}6^e5404(nH4a9~(UQx*I*Z zgWhHCp{g4_&Zv8M^pn}kyu(#Dl7E9fDw^^?w}*yjer~Fg zziiqn@ zJDgB(nUI*Xm>ITT&-racj+ttPKcYs3VUj4}--EbL(nhyk+^H=>$hAy$w3->49=l{1 ze|vJ;PgaL@NIje@x32YN+vt_9^E+PKcfKBJDz4$%&qvQGWMyUy5a>h3Z#^eOC7M2j zs-pK3h}HH1D7H@F1y|ufttx&|!|^CoK}y`_Hy_pNh0T+A$u`j*4xmY{Ys=o!c+PM- zLl>t%if$v?gUSN*JJnyOvk<)J_|G^f+;oi3pWT#?;DalA#^1|)e}jxhNwLyIJmT@g z^%oZASXd$vQ=qisg$!d&k^!L2R+&LtqNj*Ia*&v{wcK4<7s?zfmjUqaWHLERzUsUz z%5`SFaW8A9En(xK&bbt;fm$^YpOLrq&83UF)S82D!*RyS1SErEW+huR$sMM)b9NQAg4)=T0$4EOGJa5rk!nz2v#MlnW z^A-t4Z>Hx69t5Y3ULzz6gD;lu2Res!32PXzr6Bi^0D>I3K18Lgqc^csmv8=+l*f27 znJp)uO#ZlmE%|mYfESA;Di-mQ)OdtqSPN)6No~nej_pgIlu*Ij;VksXw-Esl>N8@m z3m=Vm>O=xC`H=b`BT$&bKa%~fU-@7fHc(f^^`7_KnY!k*&YoMh{RK^T2L!iDn+ac`M|Pxe4D%qX8NyBPt8xIciQ&O z!2%l$h-^7&IL{4jaPFvnYJeYJi`0;Ej0?e4uX7khmD)HJR_&_+hVIvZ)8=bv#(2{- zI}*6)3#$~nAX_Ms-$VZ$Us{cOlDzUEy33gS$3SSB994qE0Dr7Svc?G_Xd(*<6Tkq) zxe9Zv7A^fQ_KM7EMnK?0pUn9HTh`C?^PD(jN$ zTg$DIp4iXAzcZ4ESHT^&@!?Wtz{z>TnIF0&KU}WX_j;~hD&&HEH0O)o?PYSKXoyf! z2}J=f8L(7utl@ zLs1+CN_wK}nIX7XZzXOW9=PEC45<5J;Ej>rawrWN_F@usMg>HfmrV%RaFu92o3#s% z5gQO ziih8%-gMHZ!a%}yJ%Jx0==eGQAEln$J38LdlGlFdYdZQCi{&Lvno8JAC5}%}&YH7Q zb#zH_$4fj8T^qp&Gihx45kd~|XlJt)S>miGBoKE1&7mDqvFJ^Bd5lB>GyrkC997_P zK;=Y*CW$d+U+u$H*>RW1_rRJD=i(M|uL+RbS1}T0($mfkWR(|}B*FwWNOVj~{N1?r z#IeYe7>$<>BuIr8SVl(Gjf3h3ljJ#BWP6sy@kLAb%8y~F(PO4liIO*zl7k2t~ zu~@MEokfS7uhEQTg8TMDGWoh%GHFau|Kbg5N^XZRrlGDZwwt5FB_b70X?T?KuvZbV zByiGKX&fZDMbc{7A8!no3%D~X!;NvjVyQQE49n`$W^bXNg|cRFe{UW-v+WK6^K9KA ziF5S1m%Bq8{F??7LQ1SnZ8OnTsW?JBt|=9hQ45NeI2!o6*$zdxm~}fq&heewA?Lga zU0(EhnG&J}Baxwh@SVQnWz12Q_B8dCyjbx@hEH(l}axRK^h~%41g zS1bp$gO|^q%+=E>4IhxEy*WyOyms)b`F8eN@4AvPdGts#z4#uNE$TVk%$hYwszhj5 z+NOLBucP^$ucL#u_NwPEpE&XACqJPbEX>Hi6?tKmM)HInS%YOOS|2h+h3n(2Ekx@R z%;&Xe*<}5WXxTx&%tXtA^}K<*0|&qw4+}nAHduZnT8^>&zGzw4^gb3XCx|kAGFmoS z|0~h5Lv6d?jFwYFZI!=v(x0(_Ife{N@KAXv|H|%|)w@ z-*Z<(wr|}1-~*5F_E6)dH$VK=+wW`K@W@+FzWKq%B@dpw>z+p*IlX6QMz*-?zWW}W zzVpHRhwdDDaOmXFoAu`d#2xM$IyLmxq5ELie&|KNy>QE$*zzG*xZlkF4-7T1*Tf2$ zd(l3}iDTTwuY=<^Xe-(N5!T7lLww%EuMcz1+c|54c723pxuOU8b_wq%Il?`xePrnL z&>o(_%;qufVvqaSVp^Z|{?PUq^nX5I^it>XZiq*Nd4&i~QrXH;DV0_(nn*@v@do+i z*5nl=5n!lL+ZaO-3Zwf9j-sK))VOM@3Dr_0$FB12VI;@VUOVp+6sJcvDuC7qWz-O(ftJKx%8g(s5t=ECox#V!Y~7-6Rj*fXP`9ZQ;J4nW-lT3VEZrdQhEK zXVgRLVfBc5t9qMyR6VBNt{zw4rQV_5sotgDt=^;FtKO&9)D!Cc>I3S7>buqVs1KFW>L=A_ z)K96OR-aX8)z7G(Ri9Hor+!}jg8D`EOX~CLm({;e|BLz+^#%1W)vv1mRXwB5ssBy= zn)-G1MfI=Lm(*{l-&D`4-%|ft{kHly>UY$?RllqL9Z%+h`aSh!_511%)E}xpQh%)e zM14j5srvWoKdAqx{*(IO)t{+9R~zc9>ic6W0rv6@iU0qcFp#D+)cl8bRKh!tX|E2y(eM>#BzHJOKqe?7GV`zXJBmvSnM#@MV zF63kxBWvUgg7HQk5CDN_qij@+sxfTTj1h`1){TZSW{ew6W5Q?|ZKGrCFm@Wdj7ek4 z*bRDR#+WtcjCrGLEEtQ%lF>8z#ZZd8*ZZU2(UT?g?xXn0WtQv1L-elZv++o~l zoHXt-?lw*t_ZV+B?ls|j~H(?-ex>%JZ8Mzc-;6d;~mC3 zjdvOEHr`{r*La_?W;|iM-}r#>Kl`|@CE0Nsy2X(?sKbPNy=zx(*?w@9pY&0b#Fltl z615E7qxk`+b*15gk17WP*5HuiS*4)!X0Cwmur zH+v6zFMA(*Kl=dtAo~#eF#8DmDEk=uIQsNQmH2VzuEc+b$Jo^IsBKs2iGW!bq zD*GDyI{OCuCi@oqHv10yF8dz)KKlXtA^Q>gG5ZPoDf=1wIr|0sCHocoHTw7( zw)O9MARz7d;-KN@Y|rPMUSf`XScDNb%(%6@Y}WkFY1l6gYA~s1Rt5GhbZ)E~W`SN5 zKyAF-ZaraIZW>~e$;+JKONWmRiSyg7nUY%CR*Sy^|H`X>`HC~ zD8(yKb`I)jguW_nU3GePTt+~viJNpj%$G< z)M683WGCBJR8Jy@%36y&$kykwiSdU#X$Rjv)b_GjnCjo*q(x|QT`dukT+{w%Wh;ka zgaCGj10iY)-c|k(TAcYhux=nG^~?grUF6D`gos(Gb~_=^8MG}Q!b%w!rSlHMbNHl? zy|}@%6Fs~vP3a6Z3Y(Kib0oyXxgLk3+JmTQF3s8EIdEfgpMzpGu?QGap&>j6*(wW@ zh7krHgyuCgwWzT35*tq{1m=={{5dQtZh1kWRSAR=?f-J3Z0^tRG-BTzM(#5|M^A%= zu?gPhuE*QtPKxT~|EKrHM}uU-+3eRmSK&>Mq&wFGix8;yFMi$sRC>dskyh1bGoLaW>#0IZig;5Fw)%T*bH$l)MO!8vP z>A4D`fjcwNT4>il335swu5G^4yc5x&D0^|zz{?PglVL9fF{YJ!KPv`PH0E9&-|W|q z5n-$t@&XgjdEmc_8}sA9oAY6cz-)S_8d6W zT&D`zimZ~mU5=_FsBT~wN?(T2#Q*CFe%Q`qQ?uXm7iq*lC4OH zo|8`~S14;X^n)yJ`G~zO0O4{l(yT={*fBrK9))S;aXL6X_4HiamaVHqCT<7bR~~3U zB61+Hgu;lMOpFmPs|%0|;73L0y8?+&F&q3^6g4~m!n44oyB0^Z+@V}~Z_Pag$fxIq zelR28(Kd3eMD^0+G^hsA({f%lsj*s81A3EMqKMZhI4DZMC!5uTP(V6KVowfSizU%J zVavu-h>u#lM6$u5)@kvILk@(ZQ$0tHCdG;uAL&;FwXc69u2pVTUN*e1g?ahWa4(M2 z;MIQ*UXlRWf~wDlp&d8({GbMJyB{Ta;|hOfs;5nRuC=rPk&<8(__B@spw%N(6n^%MHK*2*EfM;z%c zx8oqz4VJ{w`)Ei#GjHH7#8c9s&|fx6%RAs5pkE{QQW&pnD*Hm+&X5%-Sc&X+3N-o@ zJI7{s{QGFdIKZz_dTC{mkdip^2 z%o!_pGZh(c8-8tq>Hk`|+{Y)~y8Yxf4Js6lwK{#4x zur{3*plu!#_qwGnyl^do)LFHYw`UTAoZPo!dD7WCfsK?fTWzePj<34@l^LWBVaH1~R0i(WN14S--yofj~A(JBNmCS@S@0do@~XC1G5 zVV5131Pr`Nh{`%X#2|h`cyOzFT60JFi1TDWt}YJ z3Kt-k9Ra9??yQs4vadTJJ)+I`SP7M!t1i}|STao7IU~!Yb5<+}SSXn@Pk5x9gQN~1 z>s21fq*qp4(+}Mla*GOtbH(f^Sty|Wj+bIh`IHYD1ymf@O4q!XcmB*~@bdsy52!L| z3>O1O{VsXG@_l8<^@QjQm_PvzB_ff7RBmU1Ob5w(wHzd>7hGd62HCIi2b`y(W5-!w zRFbqex)nPJeqkmXxt3wYLc5*9Qiu}Ukac%V&QQfPDo#I*zQUr z76`152r>BDN0C{f-XU;uzytpGcc8-+ATS9cPh|i&gkWC^GY1J|fQv24 zG`e=7XMy*R1KudG1N129>oCvLmd2HePA91UImv@bzGBV8qSFEU5r^64u{Z|17Q++t_%t`B5a2pY$A<}Ma#PmbqFJO zcjGED{+1l*1Q*ci#(Q7qqCZGnG%35bQ3RjEFJ>0ljS&`|b8T|!7#0(kdOVn!MvAtY z8}xoCnhXC#c+U(a|}*VOJQcNij|_I7u!8 ziPkNE_hRBxi)b>b)v$hpgF;IiKf>K})R=5fW4>!xome-_EkYHh-B3H2Biqo{m(7^t zy7Bap2wvMh6wVyFzqWef`bWJbhJ3|#J(a)g{sO<9oR<4Jm&iDOm78`q@e2_C3bj0R zQ~L)hUZgXSKmuPrK?2Tt1PVKJ?4U0Xa4){wpdCeLrOhnx$q~1-`H^eVOphG*jqKP+ z8=@H`QZuI{throw e.stack?Ge.isErrorNoTelemetry(e)?new Ge(e.message+` + +`+e.stack):new Error(e.message+` + +`+e.stack):e},0)}}emit(e){this.listeners.forEach(n=>{n(e)})}onUnexpectedError(e){this.unexpectedErrorHandler(e),this.emit(e)}onUnexpectedExternalError(e){this.unexpectedErrorHandler(e)}}const ei=new Kr;function tt(t){ti(t)||ei.onUnexpectedError(t)}function kn(t){if(t instanceof Error){const{name:e,message:n}=t,s=t.stacktrace||t.stack;return{$isError:!0,name:e,message:n,stack:s,noTelemetry:Ge.isErrorNoTelemetry(t)}}return t}const Jt="Canceled";function ti(t){return t instanceof ni?!0:t instanceof Error&&t.name===Jt&&t.message===Jt}class ni extends Error{constructor(){super(Jt),this.name=this.message}}class Ge extends Error{constructor(e){super(e),this.name="CodeExpectedError"}static fromError(e){if(e instanceof Ge)return e;const n=new Ge;return n.message=e.message,n.stack=e.stack,n}static isErrorNoTelemetry(e){return e.name==="CodeExpectedError"}}class ae extends Error{constructor(e){super(e||"An unexpected bug occurred."),Object.setPrototypeOf(this,ae.prototype)}}function si(t,e){const n=this;let s=!1,r;return function(){return s||(s=!0,r=t.apply(n,arguments)),r}}var Lt;(function(t){function e(y){return y&&typeof y=="object"&&typeof y[Symbol.iterator]=="function"}t.is=e;const n=Object.freeze([]);function s(){return n}t.empty=s;function*r(y){yield y}t.single=r;function i(y){return e(y)?y:r(y)}t.wrap=i;function o(y){return y||n}t.from=o;function*l(y){for(let b=y.length-1;b>=0;b--)yield y[b]}t.reverse=l;function u(y){return!y||y[Symbol.iterator]().next().done===!0}t.isEmpty=u;function c(y){return y[Symbol.iterator]().next().value}t.first=c;function f(y,b){let w=0;for(const C of y)if(b(C,w++))return!0;return!1}t.some=f;function h(y,b){for(const w of y)if(b(w))return w}t.find=h;function*m(y,b){for(const w of y)b(w)&&(yield w)}t.filter=m;function*d(y,b){let w=0;for(const C of y)yield b(C,w++)}t.map=d;function*g(y,b){let w=0;for(const C of y)yield*b(C,w++)}t.flatMap=g;function*p(...y){for(const b of y)yield*b}t.concat=p;function x(y,b,w){let C=w;for(const E of y)C=b(C,E);return C}t.reduce=x;function*L(y,b,w=y.length){for(b<0&&(b+=y.length),w<0?w+=y.length:w>y.length&&(w=y.length);b1)throw new AggregateError(e,"Encountered errors while disposing of store");return Array.isArray(t)?[]:t}else if(t)return t.dispose(),t}function ri(...t){return vt(()=>Ar(t))}function vt(t){return{dispose:si(()=>{t()})}}const Dt=class Dt{constructor(){this._toDispose=new Set,this._isDisposed=!1}dispose(){this._isDisposed||(this._isDisposed=!0,this.clear())}get isDisposed(){return this._isDisposed}clear(){if(this._toDispose.size!==0)try{Ar(this._toDispose)}finally{this._toDispose.clear()}}add(e){if(!e)return e;if(e===this)throw new Error("Cannot register a disposable on itself!");return this._isDisposed?Dt.DISABLE_DISPOSED_WARNING||console.warn(new Error("Trying to add a disposable to a DisposableStore that has already been disposed of. The added object will be leaked!").stack):this._toDispose.add(e),e}deleteAndLeak(e){e&&this._toDispose.has(e)&&this._toDispose.delete(e)}};Dt.DISABLE_DISPOSED_WARNING=!1;let ot=Dt;const Mn=class Mn{constructor(){this._store=new ot,this._store}dispose(){this._store.dispose()}_register(e){if(e===this)throw new Error("Cannot register a disposable on itself!");return this._store.add(e)}};Mn.None=Object.freeze({dispose(){}});let Xe=Mn;const Ue=class Ue{constructor(e){this.element=e,this.next=Ue.Undefined,this.prev=Ue.Undefined}};Ue.Undefined=new Ue(void 0);let O=Ue;class ii{constructor(){this._first=O.Undefined,this._last=O.Undefined,this._size=0}get size(){return this._size}isEmpty(){return this._first===O.Undefined}clear(){let e=this._first;for(;e!==O.Undefined;){const n=e.next;e.prev=O.Undefined,e.next=O.Undefined,e=n}this._first=O.Undefined,this._last=O.Undefined,this._size=0}unshift(e){return this._insert(e,!1)}push(e){return this._insert(e,!0)}_insert(e,n){const s=new O(e);if(this._first===O.Undefined)this._first=s,this._last=s;else if(n){const i=this._last;this._last=s,s.prev=i,i.next=s}else{const i=this._first;this._first=s,s.next=i,i.prev=s}this._size+=1;let r=!1;return()=>{r||(r=!0,this._remove(s))}}shift(){if(this._first!==O.Undefined){const e=this._first.element;return this._remove(this._first),e}}pop(){if(this._last!==O.Undefined){const e=this._last.element;return this._remove(this._last),e}}_remove(e){if(e.prev!==O.Undefined&&e.next!==O.Undefined){const n=e.prev;n.next=e.next,e.next.prev=n}else e.prev===O.Undefined&&e.next===O.Undefined?(this._first=O.Undefined,this._last=O.Undefined):e.next===O.Undefined?(this._last=this._last.prev,this._last.next=O.Undefined):e.prev===O.Undefined&&(this._first=this._first.next,this._first.prev=O.Undefined);this._size-=1}*[Symbol.iterator](){let e=this._first;for(;e!==O.Undefined;)yield e.element,e=e.next}}const ai=globalThis.performance&&typeof globalThis.performance.now=="function";class Ht{static create(e){return new Ht(e)}constructor(e){this._now=ai&&e===!1?Date.now:globalThis.performance.now.bind(globalThis.performance),this._startTime=this._now(),this._stopTime=-1}stop(){this._stopTime=this._now()}reset(){this._startTime=this._now(),this._stopTime=-1}elapsed(){return this._stopTime!==-1?this._stopTime-this._startTime:this._now()-this._startTime}}var Nt;(function(t){t.None=()=>Xe.None;function e(S,_){return m(S,()=>{},0,void 0,!0,void 0,_)}t.defer=e;function n(S){return(_,R=null,A)=>{let F=!1,I;return I=S(q=>{if(!F)return I?I.dispose():F=!0,_.call(R,q)},null,A),F&&I.dispose(),I}}t.once=n;function s(S,_){return t.once(t.filter(S,_))}t.onceIf=s;function r(S,_,R){return f((A,F=null,I)=>S(q=>A.call(F,_(q)),null,I),R)}t.map=r;function i(S,_,R){return f((A,F=null,I)=>S(q=>{_(q),A.call(F,q)},null,I),R)}t.forEach=i;function o(S,_,R){return f((A,F=null,I)=>S(q=>_(q)&&A.call(F,q),null,I),R)}t.filter=o;function l(S){return S}t.signal=l;function u(...S){return(_,R=null,A)=>{const F=ri(...S.map(I=>I(q=>_.call(R,q))));return h(F,A)}}t.any=u;function c(S,_,R,A){let F=R;return r(S,I=>(F=_(F,I),F),A)}t.reduce=c;function f(S,_){let R;const A={onWillAddFirstListener(){R=S(F.fire,F)},onDidRemoveLastListener(){R==null||R.dispose()}},F=new le(A);return _==null||_.add(F),F.event}function h(S,_){return _ instanceof Array?_.push(S):_&&_.add(S),S}function m(S,_,R=100,A=!1,F=!1,I,q){let Y,K,Fe,ft=0,Me;const Yr={leakWarningThreshold:I,onWillAddFirstListener(){Y=S(Jr=>{ft++,K=_(K,Jr),A&&!Fe&&(mt.fire(K),K=void 0),Me=()=>{const Zr=K;K=void 0,Fe=void 0,(!A||ft>1)&&mt.fire(Zr),ft=0},typeof R=="number"?(clearTimeout(Fe),Fe=setTimeout(Me,R)):Fe===void 0&&(Fe=0,queueMicrotask(Me))})},onWillRemoveListener(){F&&ft>0&&(Me==null||Me())},onDidRemoveLastListener(){Me=void 0,Y.dispose()}},mt=new le(Yr);return q==null||q.add(mt),mt.event}t.debounce=m;function d(S,_=0,R){return t.debounce(S,(A,F)=>A?(A.push(F),A):[F],_,void 0,!0,void 0,R)}t.accumulate=d;function g(S,_=(A,F)=>A===F,R){let A=!0,F;return o(S,I=>{const q=A||!_(I,F);return A=!1,F=I,q},R)}t.latch=g;function p(S,_,R){return[t.filter(S,_,R),t.filter(S,A=>!_(A),R)]}t.split=p;function x(S,_=!1,R=[],A){let F=R.slice(),I=S(K=>{F?F.push(K):Y.fire(K)});A&&A.add(I);const q=()=>{F==null||F.forEach(K=>Y.fire(K)),F=null},Y=new le({onWillAddFirstListener(){I||(I=S(K=>Y.fire(K)),A&&A.add(I))},onDidAddFirstListener(){F&&(_?setTimeout(q):q())},onDidRemoveLastListener(){I&&I.dispose(),I=null}});return A&&A.add(Y),Y.event}t.buffer=x;function L(S,_){return(A,F,I)=>{const q=_(new v);return S(function(Y){const K=q.evaluate(Y);K!==N&&A.call(F,K)},void 0,I)}}t.chain=L;const N=Symbol("HaltChainable");class v{constructor(){this.steps=[]}map(_){return this.steps.push(_),this}forEach(_){return this.steps.push(R=>(_(R),R)),this}filter(_){return this.steps.push(R=>_(R)?R:N),this}reduce(_,R){let A=R;return this.steps.push(F=>(A=_(A,F),A)),this}latch(_=(R,A)=>R===A){let R=!0,A;return this.steps.push(F=>{const I=R||!_(F,A);return R=!1,A=F,I?F:N}),this}evaluate(_){for(const R of this.steps)if(_=R(_),_===N)break;return _}}function y(S,_,R=A=>A){const A=(...Y)=>q.fire(R(...Y)),F=()=>S.on(_,A),I=()=>S.removeListener(_,A),q=new le({onWillAddFirstListener:F,onDidRemoveLastListener:I});return q.event}t.fromNodeEventEmitter=y;function b(S,_,R=A=>A){const A=(...Y)=>q.fire(R(...Y)),F=()=>S.addEventListener(_,A),I=()=>S.removeEventListener(_,A),q=new le({onWillAddFirstListener:F,onDidRemoveLastListener:I});return q.event}t.fromDOMEventEmitter=b;function w(S){return new Promise(_=>n(S)(_))}t.toPromise=w;function C(S){const _=new le;return S.then(R=>{_.fire(R)},()=>{_.fire(void 0)}).finally(()=>{_.dispose()}),_.event}t.fromPromise=C;function E(S,_){return S(R=>_.fire(R))}t.forward=E;function B(S,_,R){return _(R),S(A=>_(A))}t.runAndSubscribe=B;class Q{constructor(_,R){this._observable=_,this._counter=0,this._hasChanged=!1;const A={onWillAddFirstListener:()=>{_.addObserver(this),this._observable.reportChanges()},onDidRemoveLastListener:()=>{_.removeObserver(this)}};this.emitter=new le(A),R&&R.add(this.emitter)}beginUpdate(_){this._counter++}handlePossibleChange(_){}handleChange(_,R){this._hasChanged=!0}endUpdate(_){this._counter--,this._counter===0&&(this._observable.reportChanges(),this._hasChanged&&(this._hasChanged=!1,this.emitter.fire(this._observable.get())))}}function U(S,_){return new Q(S,_).emitter.event}t.fromObservable=U;function P(S){return(_,R,A)=>{let F=0,I=!1;const q={beginUpdate(){F++},endUpdate(){F--,F===0&&(S.reportChanges(),I&&(I=!1,_.call(R)))},handlePossibleChange(){},handleChange(){I=!0}};S.addObserver(q),S.reportChanges();const Y={dispose(){S.removeObserver(q)}};return A instanceof ot?A.add(Y):Array.isArray(A)&&A.push(Y),Y}}t.fromObservableLight=P})(Nt||(Nt={}));const He=class He{constructor(e){this.listenerCount=0,this.invocationCount=0,this.elapsedOverall=0,this.durations=[],this.name=`${e}_${He._idPool++}`,He.all.add(this)}start(e){this._stopWatch=new Ht,this.listenerCount=e}stop(){if(this._stopWatch){const e=this._stopWatch.elapsed();this.durations.push(e),this.elapsedOverall+=e,this.invocationCount+=1,this._stopWatch=void 0}}};He.all=new Set,He._idPool=0;let Zt=He,oi=-1;const Tt=class Tt{constructor(e,n,s=(Tt._idPool++).toString(16).padStart(3,"0")){this._errorHandler=e,this.threshold=n,this.name=s,this._warnCountdown=0}dispose(){var e;(e=this._stacks)==null||e.clear()}check(e,n){const s=this.threshold;if(s<=0||n{const i=this._stacks.get(e.value)||0;this._stacks.set(e.value,i-1)}}getMostFrequentStack(){if(!this._stacks)return;let e,n=0;for(const[s,r]of this._stacks)(!e||n{var l,u,c,f,h;if(this._leakageMon&&this._size>this._leakageMon.threshold**2){const m=`[${this._leakageMon.name}] REFUSES to accept new listeners because it exceeded its threshold by far (${this._size} vs ${this._leakageMon.threshold})`;console.warn(m);const d=this._leakageMon.getMostFrequentStack()??["UNKNOWN stack",-1],g=new ui(`${m}. HINT: Stack shows most frequent listener (${d[1]}-times)`,d[0]);return(((l=this._options)==null?void 0:l.onListenerError)||tt)(g),Xe.None}if(this._disposed)return Xe.None;n&&(e=e.bind(n));const r=new $t(e);let i;this._leakageMon&&this._size>=Math.ceil(this._leakageMon.threshold*.2)&&(r.stack=Nn.create(),i=this._leakageMon.check(r.stack,this._size+1)),this._listeners?this._listeners instanceof $t?(this._deliveryQueue??(this._deliveryQueue=new hi),this._listeners=[this._listeners,r]):this._listeners.push(r):((c=(u=this._options)==null?void 0:u.onWillAddFirstListener)==null||c.call(u,this),this._listeners=r,(h=(f=this._options)==null?void 0:f.onDidAddFirstListener)==null||h.call(f,this)),this._size++;const o=vt(()=>{i==null||i(),this._removeListener(r)});return s instanceof ot?s.add(o):Array.isArray(s)&&s.push(o),o}),this._event}_removeListener(e){var i,o,l,u;if((o=(i=this._options)==null?void 0:i.onWillRemoveListener)==null||o.call(i,this),!this._listeners)return;if(this._size===1){this._listeners=void 0,(u=(l=this._options)==null?void 0:l.onDidRemoveLastListener)==null||u.call(l,this),this._size=0;return}const n=this._listeners,s=n.indexOf(e);if(s===-1)throw console.log("disposed?",this._disposed),console.log("size?",this._size),console.log("arr?",JSON.stringify(this._listeners)),new Error("Attempted to dispose unknown listener");this._size--,n[s]=void 0;const r=this._deliveryQueue.current===this;if(this._size*ci<=n.length){let c=0;for(let f=0;f0}}class hi{constructor(){this.i=-1,this.end=0}enqueue(e,n,s){this.i=0,this.end=s,this.current=e,this.value=n}reset(){this.i=this.end,this.current=void 0,this.value=void 0}}function fi(){return globalThis._VSCODE_NLS_MESSAGES}function Rr(){return globalThis._VSCODE_NLS_LANGUAGE}const mi=Rr()==="pseudo"||typeof document<"u"&&document.location&&document.location.hash.indexOf("pseudo=true")>=0;function Fn(t,e){let n;return e.length===0?n=t:n=t.replace(/\{(\d+)\}/g,(s,r)=>{const i=r[0],o=e[i];let l=s;return typeof o=="string"?l=o:(typeof o=="number"||typeof o=="boolean"||o===void 0||o===null)&&(l=String(o)),l}),mi&&(n="["+n.replace(/[aouei]/g,"$&$&")+"]"),n}function z(t,e,...n){return Fn(typeof t=="number"?di(t,e):e,n)}function di(t,e){var s;const n=(s=fi())==null?void 0:s[t];if(typeof n!="string"){if(typeof e=="string")return e;throw new Error(`!!! NLS MISSING: ${t} !!!`)}return n}const Be="en";let en=!1,tn=!1,Wt=!1,Er=!1,Sn=!1,dt,zt=Be,Pn=Be,gi,he;const ye=globalThis;let Z;var vr;typeof ye.vscode<"u"&&typeof ye.vscode.process<"u"?Z=ye.vscode.process:typeof process<"u"&&typeof((vr=process==null?void 0:process.versions)==null?void 0:vr.node)=="string"&&(Z=process);var Nr;const pi=typeof((Nr=Z==null?void 0:Z.versions)==null?void 0:Nr.electron)=="string",bi=pi&&(Z==null?void 0:Z.type)==="renderer";var Sr;if(typeof Z=="object"){en=Z.platform==="win32",tn=Z.platform==="darwin",Wt=Z.platform==="linux",Wt&&Z.env.SNAP&&Z.env.SNAP_REVISION,Z.env.CI||Z.env.BUILD_ARTIFACTSTAGINGDIRECTORY,dt=Be,zt=Be;const t=Z.env.VSCODE_NLS_CONFIG;if(t)try{const e=JSON.parse(t);dt=e.userLocale,Pn=e.osLocale,zt=e.resolvedLanguage||Be,gi=(Sr=e.languagePack)==null?void 0:Sr.translationsConfigFile}catch{}Er=!0}else typeof navigator=="object"&&!bi?(he=navigator.userAgent,en=he.indexOf("Windows")>=0,tn=he.indexOf("Macintosh")>=0,(he.indexOf("Macintosh")>=0||he.indexOf("iPad")>=0||he.indexOf("iPhone")>=0)&&navigator.maxTouchPoints&&navigator.maxTouchPoints>0,Wt=he.indexOf("Linux")>=0,(he==null?void 0:he.indexOf("Mobi"))>=0,Sn=!0,zt=Rr()||Be,dt=navigator.language.toLowerCase(),Pn=dt):console.error("Unable to resolve platform.");const lt=en,yi=tn,xi=Er,_i=Sn,wi=Sn&&typeof ye.importScripts=="function",Li=wi?ye.origin:void 0,pe=he,vi=typeof ye.postMessage=="function"&&!ye.importScripts;(()=>{if(vi){const t=[];ye.addEventListener("message",n=>{if(n.data&&n.data.vscodeScheduleAsyncWork)for(let s=0,r=t.length;s{const s=++e;t.push({id:s,callback:n}),ye.postMessage({vscodeScheduleAsyncWork:s},"*")}}return t=>setTimeout(t)})();const Ni=!!(pe&&pe.indexOf("Chrome")>=0);pe&&pe.indexOf("Firefox")>=0;!Ni&&pe&&pe.indexOf("Safari")>=0;pe&&pe.indexOf("Edg/")>=0;pe&&pe.indexOf("Android")>=0;function Si(t){return t}class Ci{constructor(e,n){this.lastCache=void 0,this.lastArgKey=void 0,typeof e=="function"?(this._fn=e,this._computeKey=Si):(this._fn=n,this._computeKey=e.getCacheKey)}get(e){const n=this._computeKey(e);return this.lastArgKey!==n&&(this.lastArgKey=n,this.lastCache=this._fn(e)),this.lastCache}}class Dn{constructor(e){this.executor=e,this._didRun=!1}get value(){if(!this._didRun)try{this._value=this.executor()}catch(e){this._error=e}finally{this._didRun=!0}if(this._error)throw this._error;return this._value}get rawValue(){return this._value}}function Ai(t){return t.replace(/[\\\{\}\*\+\?\|\^\$\.\[\]\(\)]/g,"\\$&")}function Ri(t){return t.split(/\r\n|\r|\n/)}function Ei(t){for(let e=0,n=t.length;e=0;n--){const s=t.charCodeAt(n);if(s!==32&&s!==9)return n}return-1}function Mr(t){return t>=65&&t<=90}function St(t){return 55296<=t&&t<=56319}function nn(t){return 56320<=t&&t<=57343}function kr(t,e){return(t-55296<<10)+(e-56320)+65536}function ki(t,e,n){const s=t.charCodeAt(n);if(St(s)&&n+1JSON.parse('{"_common":[8232,32,8233,32,5760,32,8192,32,8193,32,8194,32,8195,32,8196,32,8197,32,8198,32,8200,32,8201,32,8202,32,8287,32,8199,32,8239,32,2042,95,65101,95,65102,95,65103,95,8208,45,8209,45,8210,45,65112,45,1748,45,8259,45,727,45,8722,45,10134,45,11450,45,1549,44,1643,44,8218,44,184,44,42233,44,894,59,2307,58,2691,58,1417,58,1795,58,1796,58,5868,58,65072,58,6147,58,6153,58,8282,58,1475,58,760,58,42889,58,8758,58,720,58,42237,58,451,33,11601,33,660,63,577,63,2429,63,5038,63,42731,63,119149,46,8228,46,1793,46,1794,46,42510,46,68176,46,1632,46,1776,46,42232,46,1373,96,65287,96,8219,96,8242,96,1370,96,1523,96,8175,96,65344,96,900,96,8189,96,8125,96,8127,96,8190,96,697,96,884,96,712,96,714,96,715,96,756,96,699,96,701,96,700,96,702,96,42892,96,1497,96,2036,96,2037,96,5194,96,5836,96,94033,96,94034,96,65339,91,10088,40,10098,40,12308,40,64830,40,65341,93,10089,41,10099,41,12309,41,64831,41,10100,123,119060,123,10101,125,65342,94,8270,42,1645,42,8727,42,66335,42,5941,47,8257,47,8725,47,8260,47,9585,47,10187,47,10744,47,119354,47,12755,47,12339,47,11462,47,20031,47,12035,47,65340,92,65128,92,8726,92,10189,92,10741,92,10745,92,119311,92,119355,92,12756,92,20022,92,12034,92,42872,38,708,94,710,94,5869,43,10133,43,66203,43,8249,60,10094,60,706,60,119350,60,5176,60,5810,60,5120,61,11840,61,12448,61,42239,61,8250,62,10095,62,707,62,119351,62,5171,62,94015,62,8275,126,732,126,8128,126,8764,126,65372,124,65293,45,120784,50,120794,50,120804,50,120814,50,120824,50,130034,50,42842,50,423,50,1000,50,42564,50,5311,50,42735,50,119302,51,120785,51,120795,51,120805,51,120815,51,120825,51,130035,51,42923,51,540,51,439,51,42858,51,11468,51,1248,51,94011,51,71882,51,120786,52,120796,52,120806,52,120816,52,120826,52,130036,52,5070,52,71855,52,120787,53,120797,53,120807,53,120817,53,120827,53,130037,53,444,53,71867,53,120788,54,120798,54,120808,54,120818,54,120828,54,130038,54,11474,54,5102,54,71893,54,119314,55,120789,55,120799,55,120809,55,120819,55,120829,55,130039,55,66770,55,71878,55,2819,56,2538,56,2666,56,125131,56,120790,56,120800,56,120810,56,120820,56,120830,56,130040,56,547,56,546,56,66330,56,2663,57,2920,57,2541,57,3437,57,120791,57,120801,57,120811,57,120821,57,120831,57,130041,57,42862,57,11466,57,71884,57,71852,57,71894,57,9082,97,65345,97,119834,97,119886,97,119938,97,119990,97,120042,97,120094,97,120146,97,120198,97,120250,97,120302,97,120354,97,120406,97,120458,97,593,97,945,97,120514,97,120572,97,120630,97,120688,97,120746,97,65313,65,119808,65,119860,65,119912,65,119964,65,120016,65,120068,65,120120,65,120172,65,120224,65,120276,65,120328,65,120380,65,120432,65,913,65,120488,65,120546,65,120604,65,120662,65,120720,65,5034,65,5573,65,42222,65,94016,65,66208,65,119835,98,119887,98,119939,98,119991,98,120043,98,120095,98,120147,98,120199,98,120251,98,120303,98,120355,98,120407,98,120459,98,388,98,5071,98,5234,98,5551,98,65314,66,8492,66,119809,66,119861,66,119913,66,120017,66,120069,66,120121,66,120173,66,120225,66,120277,66,120329,66,120381,66,120433,66,42932,66,914,66,120489,66,120547,66,120605,66,120663,66,120721,66,5108,66,5623,66,42192,66,66178,66,66209,66,66305,66,65347,99,8573,99,119836,99,119888,99,119940,99,119992,99,120044,99,120096,99,120148,99,120200,99,120252,99,120304,99,120356,99,120408,99,120460,99,7428,99,1010,99,11429,99,43951,99,66621,99,128844,67,71922,67,71913,67,65315,67,8557,67,8450,67,8493,67,119810,67,119862,67,119914,67,119966,67,120018,67,120174,67,120226,67,120278,67,120330,67,120382,67,120434,67,1017,67,11428,67,5087,67,42202,67,66210,67,66306,67,66581,67,66844,67,8574,100,8518,100,119837,100,119889,100,119941,100,119993,100,120045,100,120097,100,120149,100,120201,100,120253,100,120305,100,120357,100,120409,100,120461,100,1281,100,5095,100,5231,100,42194,100,8558,68,8517,68,119811,68,119863,68,119915,68,119967,68,120019,68,120071,68,120123,68,120175,68,120227,68,120279,68,120331,68,120383,68,120435,68,5024,68,5598,68,5610,68,42195,68,8494,101,65349,101,8495,101,8519,101,119838,101,119890,101,119942,101,120046,101,120098,101,120150,101,120202,101,120254,101,120306,101,120358,101,120410,101,120462,101,43826,101,1213,101,8959,69,65317,69,8496,69,119812,69,119864,69,119916,69,120020,69,120072,69,120124,69,120176,69,120228,69,120280,69,120332,69,120384,69,120436,69,917,69,120492,69,120550,69,120608,69,120666,69,120724,69,11577,69,5036,69,42224,69,71846,69,71854,69,66182,69,119839,102,119891,102,119943,102,119995,102,120047,102,120099,102,120151,102,120203,102,120255,102,120307,102,120359,102,120411,102,120463,102,43829,102,42905,102,383,102,7837,102,1412,102,119315,70,8497,70,119813,70,119865,70,119917,70,120021,70,120073,70,120125,70,120177,70,120229,70,120281,70,120333,70,120385,70,120437,70,42904,70,988,70,120778,70,5556,70,42205,70,71874,70,71842,70,66183,70,66213,70,66853,70,65351,103,8458,103,119840,103,119892,103,119944,103,120048,103,120100,103,120152,103,120204,103,120256,103,120308,103,120360,103,120412,103,120464,103,609,103,7555,103,397,103,1409,103,119814,71,119866,71,119918,71,119970,71,120022,71,120074,71,120126,71,120178,71,120230,71,120282,71,120334,71,120386,71,120438,71,1292,71,5056,71,5107,71,42198,71,65352,104,8462,104,119841,104,119945,104,119997,104,120049,104,120101,104,120153,104,120205,104,120257,104,120309,104,120361,104,120413,104,120465,104,1211,104,1392,104,5058,104,65320,72,8459,72,8460,72,8461,72,119815,72,119867,72,119919,72,120023,72,120179,72,120231,72,120283,72,120335,72,120387,72,120439,72,919,72,120494,72,120552,72,120610,72,120668,72,120726,72,11406,72,5051,72,5500,72,42215,72,66255,72,731,105,9075,105,65353,105,8560,105,8505,105,8520,105,119842,105,119894,105,119946,105,119998,105,120050,105,120102,105,120154,105,120206,105,120258,105,120310,105,120362,105,120414,105,120466,105,120484,105,618,105,617,105,953,105,8126,105,890,105,120522,105,120580,105,120638,105,120696,105,120754,105,1110,105,42567,105,1231,105,43893,105,5029,105,71875,105,65354,106,8521,106,119843,106,119895,106,119947,106,119999,106,120051,106,120103,106,120155,106,120207,106,120259,106,120311,106,120363,106,120415,106,120467,106,1011,106,1112,106,65322,74,119817,74,119869,74,119921,74,119973,74,120025,74,120077,74,120129,74,120181,74,120233,74,120285,74,120337,74,120389,74,120441,74,42930,74,895,74,1032,74,5035,74,5261,74,42201,74,119844,107,119896,107,119948,107,120000,107,120052,107,120104,107,120156,107,120208,107,120260,107,120312,107,120364,107,120416,107,120468,107,8490,75,65323,75,119818,75,119870,75,119922,75,119974,75,120026,75,120078,75,120130,75,120182,75,120234,75,120286,75,120338,75,120390,75,120442,75,922,75,120497,75,120555,75,120613,75,120671,75,120729,75,11412,75,5094,75,5845,75,42199,75,66840,75,1472,108,8739,73,9213,73,65512,73,1633,108,1777,73,66336,108,125127,108,120783,73,120793,73,120803,73,120813,73,120823,73,130033,73,65321,73,8544,73,8464,73,8465,73,119816,73,119868,73,119920,73,120024,73,120128,73,120180,73,120232,73,120284,73,120336,73,120388,73,120440,73,65356,108,8572,73,8467,108,119845,108,119897,108,119949,108,120001,108,120053,108,120105,73,120157,73,120209,73,120261,73,120313,73,120365,73,120417,73,120469,73,448,73,120496,73,120554,73,120612,73,120670,73,120728,73,11410,73,1030,73,1216,73,1493,108,1503,108,1575,108,126464,108,126592,108,65166,108,65165,108,1994,108,11599,73,5825,73,42226,73,93992,73,66186,124,66313,124,119338,76,8556,76,8466,76,119819,76,119871,76,119923,76,120027,76,120079,76,120131,76,120183,76,120235,76,120287,76,120339,76,120391,76,120443,76,11472,76,5086,76,5290,76,42209,76,93974,76,71843,76,71858,76,66587,76,66854,76,65325,77,8559,77,8499,77,119820,77,119872,77,119924,77,120028,77,120080,77,120132,77,120184,77,120236,77,120288,77,120340,77,120392,77,120444,77,924,77,120499,77,120557,77,120615,77,120673,77,120731,77,1018,77,11416,77,5047,77,5616,77,5846,77,42207,77,66224,77,66321,77,119847,110,119899,110,119951,110,120003,110,120055,110,120107,110,120159,110,120211,110,120263,110,120315,110,120367,110,120419,110,120471,110,1400,110,1404,110,65326,78,8469,78,119821,78,119873,78,119925,78,119977,78,120029,78,120081,78,120185,78,120237,78,120289,78,120341,78,120393,78,120445,78,925,78,120500,78,120558,78,120616,78,120674,78,120732,78,11418,78,42208,78,66835,78,3074,111,3202,111,3330,111,3458,111,2406,111,2662,111,2790,111,3046,111,3174,111,3302,111,3430,111,3664,111,3792,111,4160,111,1637,111,1781,111,65359,111,8500,111,119848,111,119900,111,119952,111,120056,111,120108,111,120160,111,120212,111,120264,111,120316,111,120368,111,120420,111,120472,111,7439,111,7441,111,43837,111,959,111,120528,111,120586,111,120644,111,120702,111,120760,111,963,111,120532,111,120590,111,120648,111,120706,111,120764,111,11423,111,4351,111,1413,111,1505,111,1607,111,126500,111,126564,111,126596,111,65259,111,65260,111,65258,111,65257,111,1726,111,64428,111,64429,111,64427,111,64426,111,1729,111,64424,111,64425,111,64423,111,64422,111,1749,111,3360,111,4125,111,66794,111,71880,111,71895,111,66604,111,1984,79,2534,79,2918,79,12295,79,70864,79,71904,79,120782,79,120792,79,120802,79,120812,79,120822,79,130032,79,65327,79,119822,79,119874,79,119926,79,119978,79,120030,79,120082,79,120134,79,120186,79,120238,79,120290,79,120342,79,120394,79,120446,79,927,79,120502,79,120560,79,120618,79,120676,79,120734,79,11422,79,1365,79,11604,79,4816,79,2848,79,66754,79,42227,79,71861,79,66194,79,66219,79,66564,79,66838,79,9076,112,65360,112,119849,112,119901,112,119953,112,120005,112,120057,112,120109,112,120161,112,120213,112,120265,112,120317,112,120369,112,120421,112,120473,112,961,112,120530,112,120544,112,120588,112,120602,112,120646,112,120660,112,120704,112,120718,112,120762,112,120776,112,11427,112,65328,80,8473,80,119823,80,119875,80,119927,80,119979,80,120031,80,120083,80,120187,80,120239,80,120291,80,120343,80,120395,80,120447,80,929,80,120504,80,120562,80,120620,80,120678,80,120736,80,11426,80,5090,80,5229,80,42193,80,66197,80,119850,113,119902,113,119954,113,120006,113,120058,113,120110,113,120162,113,120214,113,120266,113,120318,113,120370,113,120422,113,120474,113,1307,113,1379,113,1382,113,8474,81,119824,81,119876,81,119928,81,119980,81,120032,81,120084,81,120188,81,120240,81,120292,81,120344,81,120396,81,120448,81,11605,81,119851,114,119903,114,119955,114,120007,114,120059,114,120111,114,120163,114,120215,114,120267,114,120319,114,120371,114,120423,114,120475,114,43847,114,43848,114,7462,114,11397,114,43905,114,119318,82,8475,82,8476,82,8477,82,119825,82,119877,82,119929,82,120033,82,120189,82,120241,82,120293,82,120345,82,120397,82,120449,82,422,82,5025,82,5074,82,66740,82,5511,82,42211,82,94005,82,65363,115,119852,115,119904,115,119956,115,120008,115,120060,115,120112,115,120164,115,120216,115,120268,115,120320,115,120372,115,120424,115,120476,115,42801,115,445,115,1109,115,43946,115,71873,115,66632,115,65331,83,119826,83,119878,83,119930,83,119982,83,120034,83,120086,83,120138,83,120190,83,120242,83,120294,83,120346,83,120398,83,120450,83,1029,83,1359,83,5077,83,5082,83,42210,83,94010,83,66198,83,66592,83,119853,116,119905,116,119957,116,120009,116,120061,116,120113,116,120165,116,120217,116,120269,116,120321,116,120373,116,120425,116,120477,116,8868,84,10201,84,128872,84,65332,84,119827,84,119879,84,119931,84,119983,84,120035,84,120087,84,120139,84,120191,84,120243,84,120295,84,120347,84,120399,84,120451,84,932,84,120507,84,120565,84,120623,84,120681,84,120739,84,11430,84,5026,84,42196,84,93962,84,71868,84,66199,84,66225,84,66325,84,119854,117,119906,117,119958,117,120010,117,120062,117,120114,117,120166,117,120218,117,120270,117,120322,117,120374,117,120426,117,120478,117,42911,117,7452,117,43854,117,43858,117,651,117,965,117,120534,117,120592,117,120650,117,120708,117,120766,117,1405,117,66806,117,71896,117,8746,85,8899,85,119828,85,119880,85,119932,85,119984,85,120036,85,120088,85,120140,85,120192,85,120244,85,120296,85,120348,85,120400,85,120452,85,1357,85,4608,85,66766,85,5196,85,42228,85,94018,85,71864,85,8744,118,8897,118,65366,118,8564,118,119855,118,119907,118,119959,118,120011,118,120063,118,120115,118,120167,118,120219,118,120271,118,120323,118,120375,118,120427,118,120479,118,7456,118,957,118,120526,118,120584,118,120642,118,120700,118,120758,118,1141,118,1496,118,71430,118,43945,118,71872,118,119309,86,1639,86,1783,86,8548,86,119829,86,119881,86,119933,86,119985,86,120037,86,120089,86,120141,86,120193,86,120245,86,120297,86,120349,86,120401,86,120453,86,1140,86,11576,86,5081,86,5167,86,42719,86,42214,86,93960,86,71840,86,66845,86,623,119,119856,119,119908,119,119960,119,120012,119,120064,119,120116,119,120168,119,120220,119,120272,119,120324,119,120376,119,120428,119,120480,119,7457,119,1121,119,1309,119,1377,119,71434,119,71438,119,71439,119,43907,119,71919,87,71910,87,119830,87,119882,87,119934,87,119986,87,120038,87,120090,87,120142,87,120194,87,120246,87,120298,87,120350,87,120402,87,120454,87,1308,87,5043,87,5076,87,42218,87,5742,120,10539,120,10540,120,10799,120,65368,120,8569,120,119857,120,119909,120,119961,120,120013,120,120065,120,120117,120,120169,120,120221,120,120273,120,120325,120,120377,120,120429,120,120481,120,5441,120,5501,120,5741,88,9587,88,66338,88,71916,88,65336,88,8553,88,119831,88,119883,88,119935,88,119987,88,120039,88,120091,88,120143,88,120195,88,120247,88,120299,88,120351,88,120403,88,120455,88,42931,88,935,88,120510,88,120568,88,120626,88,120684,88,120742,88,11436,88,11613,88,5815,88,42219,88,66192,88,66228,88,66327,88,66855,88,611,121,7564,121,65369,121,119858,121,119910,121,119962,121,120014,121,120066,121,120118,121,120170,121,120222,121,120274,121,120326,121,120378,121,120430,121,120482,121,655,121,7935,121,43866,121,947,121,8509,121,120516,121,120574,121,120632,121,120690,121,120748,121,1199,121,4327,121,71900,121,65337,89,119832,89,119884,89,119936,89,119988,89,120040,89,120092,89,120144,89,120196,89,120248,89,120300,89,120352,89,120404,89,120456,89,933,89,978,89,120508,89,120566,89,120624,89,120682,89,120740,89,11432,89,1198,89,5033,89,5053,89,42220,89,94019,89,71844,89,66226,89,119859,122,119911,122,119963,122,120015,122,120067,122,120119,122,120171,122,120223,122,120275,122,120327,122,120379,122,120431,122,120483,122,7458,122,43923,122,71876,122,66293,90,71909,90,65338,90,8484,90,8488,90,119833,90,119885,90,119937,90,119989,90,120041,90,120197,90,120249,90,120301,90,120353,90,120405,90,120457,90,918,90,120493,90,120551,90,120609,90,120667,90,120725,90,5059,90,42204,90,71849,90,65282,34,65284,36,65285,37,65286,38,65290,42,65291,43,65294,46,65295,47,65296,48,65297,49,65298,50,65299,51,65300,52,65301,53,65302,54,65303,55,65304,56,65305,57,65308,60,65309,61,65310,62,65312,64,65316,68,65318,70,65319,71,65324,76,65329,81,65330,82,65333,85,65334,86,65335,87,65343,95,65346,98,65348,100,65350,102,65355,107,65357,109,65358,110,65361,113,65362,114,65364,116,65365,117,65367,119,65370,122,65371,123,65373,125,119846,109],"_default":[160,32,8211,45,65374,126,65306,58,65281,33,8216,96,8217,96,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],"cs":[65374,126,65306,58,65281,33,8216,96,8217,96,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,1093,120,1061,88,1091,121,1059,89,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],"de":[65374,126,65306,58,65281,33,8216,96,8217,96,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,1093,120,1061,88,1091,121,1059,89,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],"es":[8211,45,65374,126,65306,58,65281,33,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],"fr":[65374,126,65306,58,65281,33,8216,96,8245,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],"it":[160,32,8211,45,65374,126,65306,58,65281,33,8216,96,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],"ja":[8211,45,65306,58,65281,33,8216,96,8217,96,8245,96,180,96,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65283,35,65292,44,65307,59],"ko":[8211,45,65374,126,65306,58,65281,33,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],"pl":[65374,126,65306,58,65281,33,8216,96,8217,96,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],"pt-BR":[65374,126,65306,58,65281,33,8216,96,8217,96,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],"qps-ploc":[160,32,8211,45,65374,126,65306,58,65281,33,8216,96,8217,96,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],"ru":[65374,126,65306,58,65281,33,8216,96,8217,96,8245,96,180,96,12494,47,305,105,921,73,1009,112,215,120,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],"tr":[160,32,8211,45,65374,126,65306,58,65281,33,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],"zh-hans":[65374,126,65306,58,65281,33,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65288,40,65289,41],"zh-hant":[8211,45,65374,126,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65283,35,65307,59]}')),de.cache=new Ci({getCacheKey:JSON.stringify},e=>{function n(f){const h=new Map;for(let m=0;m!f.startsWith("_")&&f in i);o.length===0&&(o=["_default"]);let l;for(const f of o){const h=n(i[f]);l=r(l,h)}const u=n(i._common),c=s(u,l);return new de(c)}),de._locales=new Dn(()=>Object.keys(de.ambiguousCharacterData.value).filter(e=>!e.startsWith("_")));let ut=de;const $e=class $e{static getRawData(){return JSON.parse("[9,10,11,12,13,32,127,160,173,847,1564,4447,4448,6068,6069,6155,6156,6157,6158,7355,7356,8192,8193,8194,8195,8196,8197,8198,8199,8200,8201,8202,8203,8204,8205,8206,8207,8234,8235,8236,8237,8238,8239,8287,8288,8289,8290,8291,8292,8293,8294,8295,8296,8297,8298,8299,8300,8301,8302,8303,10240,12288,12644,65024,65025,65026,65027,65028,65029,65030,65031,65032,65033,65034,65035,65036,65037,65038,65039,65279,65440,65520,65521,65522,65523,65524,65525,65526,65527,65528,65532,78844,119155,119156,119157,119158,119159,119160,119161,119162,917504,917505,917506,917507,917508,917509,917510,917511,917512,917513,917514,917515,917516,917517,917518,917519,917520,917521,917522,917523,917524,917525,917526,917527,917528,917529,917530,917531,917532,917533,917534,917535,917536,917537,917538,917539,917540,917541,917542,917543,917544,917545,917546,917547,917548,917549,917550,917551,917552,917553,917554,917555,917556,917557,917558,917559,917560,917561,917562,917563,917564,917565,917566,917567,917568,917569,917570,917571,917572,917573,917574,917575,917576,917577,917578,917579,917580,917581,917582,917583,917584,917585,917586,917587,917588,917589,917590,917591,917592,917593,917594,917595,917596,917597,917598,917599,917600,917601,917602,917603,917604,917605,917606,917607,917608,917609,917610,917611,917612,917613,917614,917615,917616,917617,917618,917619,917620,917621,917622,917623,917624,917625,917626,917627,917628,917629,917630,917631,917760,917761,917762,917763,917764,917765,917766,917767,917768,917769,917770,917771,917772,917773,917774,917775,917776,917777,917778,917779,917780,917781,917782,917783,917784,917785,917786,917787,917788,917789,917790,917791,917792,917793,917794,917795,917796,917797,917798,917799,917800,917801,917802,917803,917804,917805,917806,917807,917808,917809,917810,917811,917812,917813,917814,917815,917816,917817,917818,917819,917820,917821,917822,917823,917824,917825,917826,917827,917828,917829,917830,917831,917832,917833,917834,917835,917836,917837,917838,917839,917840,917841,917842,917843,917844,917845,917846,917847,917848,917849,917850,917851,917852,917853,917854,917855,917856,917857,917858,917859,917860,917861,917862,917863,917864,917865,917866,917867,917868,917869,917870,917871,917872,917873,917874,917875,917876,917877,917878,917879,917880,917881,917882,917883,917884,917885,917886,917887,917888,917889,917890,917891,917892,917893,917894,917895,917896,917897,917898,917899,917900,917901,917902,917903,917904,917905,917906,917907,917908,917909,917910,917911,917912,917913,917914,917915,917916,917917,917918,917919,917920,917921,917922,917923,917924,917925,917926,917927,917928,917929,917930,917931,917932,917933,917934,917935,917936,917937,917938,917939,917940,917941,917942,917943,917944,917945,917946,917947,917948,917949,917950,917951,917952,917953,917954,917955,917956,917957,917958,917959,917960,917961,917962,917963,917964,917965,917966,917967,917968,917969,917970,917971,917972,917973,917974,917975,917976,917977,917978,917979,917980,917981,917982,917983,917984,917985,917986,917987,917988,917989,917990,917991,917992,917993,917994,917995,917996,917997,917998,917999]")}static getData(){return this._data||(this._data=new Set($e.getRawData())),this._data}static isInvisibleCharacter(e){return $e.getData().has(e)}static get codePoints(){return $e.getData()}};$e._data=void 0;let nt=$e;var Tn={};let Oe;const Ot=globalThis.vscode;var Cr;if(typeof Ot<"u"&&typeof Ot.process<"u"){const t=Ot.process;Oe={get platform(){return t.platform},get arch(){return t.arch},get env(){return t.env},cwd(){return t.cwd()}}}else typeof process<"u"&&typeof((Cr=process==null?void 0:process.versions)==null?void 0:Cr.node)=="string"?Oe={get platform(){return process.platform},get arch(){return process.arch},get env(){return Tn},cwd(){return Tn.VSCODE_CWD||process.cwd()}}:Oe={get platform(){return lt?"win32":yi?"darwin":"linux"},get arch(){},get env(){return{}},cwd(){return"/"}};const Ct=Oe.cwd,Di=Oe.env,Ti=Oe.platform,Ii=65,Vi=97,Bi=90,qi=122,Re=46,J=47,se=92,Le=58,Ui=63;class Fr extends Error{constructor(e,n,s){let r;typeof n=="string"&&n.indexOf("not ")===0?(r="must not be",n=n.replace(/^not /,"")):r="must be";const i=e.indexOf(".")!==-1?"property":"argument";let o=`The "${e}" ${i} ${r} of type ${n}`;o+=`. Received type ${typeof s}`,super(o),this.code="ERR_INVALID_ARG_TYPE"}}function Hi(t,e){if(t===null||typeof t!="object")throw new Fr(e,"Object",t)}function G(t,e){if(typeof t!="string")throw new Fr(e,"string",t)}const we=Ti==="win32";function T(t){return t===J||t===se}function sn(t){return t===J}function ve(t){return t>=Ii&&t<=Bi||t>=Vi&&t<=qi}function At(t,e,n,s){let r="",i=0,o=-1,l=0,u=0;for(let c=0;c<=t.length;++c){if(c2){const f=r.lastIndexOf(n);f===-1?(r="",i=0):(r=r.slice(0,f),i=r.length-1-r.lastIndexOf(n)),o=c,l=0;continue}else if(r.length!==0){r="",i=0,o=c,l=0;continue}}e&&(r+=r.length>0?`${n}..`:"..",i=2)}else r.length>0?r+=`${n}${t.slice(o+1,c)}`:r=t.slice(o+1,c),i=c-o-1;o=c,l=0}else u===Re&&l!==-1?++l:l=-1}return r}function $i(t){return t?`${t[0]==="."?"":"."}${t}`:""}function Pr(t,e){Hi(e,"pathObject");const n=e.dir||e.root,s=e.base||`${e.name||""}${$i(e.ext)}`;return n?n===e.root?`${n}${s}`:`${n}${t}${s}`:s}const ee={resolve(...t){let e="",n="",s=!1;for(let r=t.length-1;r>=-1;r--){let i;if(r>=0){if(i=t[r],G(i,`paths[${r}]`),i.length===0)continue}else e.length===0?i=Ct():(i=Di[`=${e}`]||Ct(),(i===void 0||i.slice(0,2).toLowerCase()!==e.toLowerCase()&&i.charCodeAt(2)===se)&&(i=`${e}\\`));const o=i.length;let l=0,u="",c=!1;const f=i.charCodeAt(0);if(o===1)T(f)&&(l=1,c=!0);else if(T(f))if(c=!0,T(i.charCodeAt(1))){let h=2,m=h;for(;h2&&T(i.charCodeAt(2))&&(c=!0,l=3));if(u.length>0)if(e.length>0){if(u.toLowerCase()!==e.toLowerCase())continue}else e=u;if(s){if(e.length>0)break}else if(n=`${i.slice(l)}\\${n}`,s=c,c&&e.length>0)break}return n=At(n,!s,"\\",T),s?`${e}\\${n}`:`${e}${n}`||"."},normalize(t){G(t,"path");const e=t.length;if(e===0)return".";let n=0,s,r=!1;const i=t.charCodeAt(0);if(e===1)return sn(i)?"\\":t;if(T(i))if(r=!0,T(t.charCodeAt(1))){let l=2,u=l;for(;l2&&T(t.charCodeAt(2))&&(r=!0,n=3));let o=n0&&T(t.charCodeAt(e-1))&&(o+="\\"),s===void 0?r?`\\${o}`:o:r?`${s}\\${o}`:`${s}${o}`},isAbsolute(t){G(t,"path");const e=t.length;if(e===0)return!1;const n=t.charCodeAt(0);return T(n)||e>2&&ve(n)&&t.charCodeAt(1)===Le&&T(t.charCodeAt(2))},join(...t){if(t.length===0)return".";let e,n;for(let i=0;i0&&(e===void 0?e=n=o:e+=`\\${o}`)}if(e===void 0)return".";let s=!0,r=0;if(typeof n=="string"&&T(n.charCodeAt(0))){++r;const i=n.length;i>1&&T(n.charCodeAt(1))&&(++r,i>2&&(T(n.charCodeAt(2))?++r:s=!1))}if(s){for(;r=2&&(e=`\\${e.slice(r)}`)}return ee.normalize(e)},relative(t,e){if(G(t,"from"),G(e,"to"),t===e)return"";const n=ee.resolve(t),s=ee.resolve(e);if(n===s||(t=n.toLowerCase(),e=s.toLowerCase(),t===e))return"";let r=0;for(;rr&&t.charCodeAt(i-1)===se;)i--;const o=i-r;let l=0;for(;ll&&e.charCodeAt(u-1)===se;)u--;const c=u-l,f=of){if(e.charCodeAt(l+m)===se)return s.slice(l+m+1);if(m===2)return s.slice(l+m)}o>f&&(t.charCodeAt(r+m)===se?h=m:m===2&&(h=3)),h===-1&&(h=0)}let d="";for(m=r+h+1;m<=i;++m)(m===i||t.charCodeAt(m)===se)&&(d+=d.length===0?"..":"\\..");return l+=h,d.length>0?`${d}${s.slice(l,u)}`:(s.charCodeAt(l)===se&&++l,s.slice(l,u))},toNamespacedPath(t){if(typeof t!="string"||t.length===0)return t;const e=ee.resolve(t);if(e.length<=2)return t;if(e.charCodeAt(0)===se){if(e.charCodeAt(1)===se){const n=e.charCodeAt(2);if(n!==Ui&&n!==Re)return`\\\\?\\UNC\\${e.slice(2)}`}}else if(ve(e.charCodeAt(0))&&e.charCodeAt(1)===Le&&e.charCodeAt(2)===se)return`\\\\?\\${e}`;return t},dirname(t){G(t,"path");const e=t.length;if(e===0)return".";let n=-1,s=0;const r=t.charCodeAt(0);if(e===1)return T(r)?t:".";if(T(r)){if(n=s=1,T(t.charCodeAt(1))){let l=2,u=l;for(;l2&&T(t.charCodeAt(2))?3:2,s=n);let i=-1,o=!0;for(let l=e-1;l>=s;--l)if(T(t.charCodeAt(l))){if(!o){i=l;break}}else o=!1;if(i===-1){if(n===-1)return".";i=n}return t.slice(0,i)},basename(t,e){e!==void 0&&G(e,"suffix"),G(t,"path");let n=0,s=-1,r=!0,i;if(t.length>=2&&ve(t.charCodeAt(0))&&t.charCodeAt(1)===Le&&(n=2),e!==void 0&&e.length>0&&e.length<=t.length){if(e===t)return"";let o=e.length-1,l=-1;for(i=t.length-1;i>=n;--i){const u=t.charCodeAt(i);if(T(u)){if(!r){n=i+1;break}}else l===-1&&(r=!1,l=i+1),o>=0&&(u===e.charCodeAt(o)?--o===-1&&(s=i):(o=-1,s=l))}return n===s?s=l:s===-1&&(s=t.length),t.slice(n,s)}for(i=t.length-1;i>=n;--i)if(T(t.charCodeAt(i))){if(!r){n=i+1;break}}else s===-1&&(r=!1,s=i+1);return s===-1?"":t.slice(n,s)},extname(t){G(t,"path");let e=0,n=-1,s=0,r=-1,i=!0,o=0;t.length>=2&&t.charCodeAt(1)===Le&&ve(t.charCodeAt(0))&&(e=s=2);for(let l=t.length-1;l>=e;--l){const u=t.charCodeAt(l);if(T(u)){if(!i){s=l+1;break}continue}r===-1&&(i=!1,r=l+1),u===Re?n===-1?n=l:o!==1&&(o=1):n!==-1&&(o=-1)}return n===-1||r===-1||o===0||o===1&&n===r-1&&n===s+1?"":t.slice(n,r)},format:Pr.bind(null,"\\"),parse(t){G(t,"path");const e={root:"",dir:"",base:"",ext:"",name:""};if(t.length===0)return e;const n=t.length;let s=0,r=t.charCodeAt(0);if(n===1)return T(r)?(e.root=e.dir=t,e):(e.base=e.name=t,e);if(T(r)){if(s=1,T(t.charCodeAt(1))){let h=2,m=h;for(;h0&&(e.root=t.slice(0,s));let i=-1,o=s,l=-1,u=!0,c=t.length-1,f=0;for(;c>=s;--c){if(r=t.charCodeAt(c),T(r)){if(!u){o=c+1;break}continue}l===-1&&(u=!1,l=c+1),r===Re?i===-1?i=c:f!==1&&(f=1):i!==-1&&(f=-1)}return l!==-1&&(i===-1||f===0||f===1&&i===l-1&&i===o+1?e.base=e.name=t.slice(o,l):(e.name=t.slice(o,i),e.base=t.slice(o,l),e.ext=t.slice(i,l))),o>0&&o!==s?e.dir=t.slice(0,o-1):e.dir=e.root,e},sep:"\\",delimiter:";",win32:null,posix:null},Wi=(()=>{if(we){const t=/\\/g;return()=>{const e=Ct().replace(t,"/");return e.slice(e.indexOf("/"))}}return()=>Ct()})(),te={resolve(...t){let e="",n=!1;for(let s=t.length-1;s>=-1&&!n;s--){const r=s>=0?t[s]:Wi();G(r,`paths[${s}]`),r.length!==0&&(e=`${r}/${e}`,n=r.charCodeAt(0)===J)}return e=At(e,!n,"/",sn),n?`/${e}`:e.length>0?e:"."},normalize(t){if(G(t,"path"),t.length===0)return".";const e=t.charCodeAt(0)===J,n=t.charCodeAt(t.length-1)===J;return t=At(t,!e,"/",sn),t.length===0?e?"/":n?"./":".":(n&&(t+="/"),e?`/${t}`:t)},isAbsolute(t){return G(t,"path"),t.length>0&&t.charCodeAt(0)===J},join(...t){if(t.length===0)return".";let e;for(let n=0;n0&&(e===void 0?e=s:e+=`/${s}`)}return e===void 0?".":te.normalize(e)},relative(t,e){if(G(t,"from"),G(e,"to"),t===e||(t=te.resolve(t),e=te.resolve(e),t===e))return"";const n=1,s=t.length,r=s-n,i=1,o=e.length-i,l=rl){if(e.charCodeAt(i+c)===J)return e.slice(i+c+1);if(c===0)return e.slice(i+c)}else r>l&&(t.charCodeAt(n+c)===J?u=c:c===0&&(u=0));let f="";for(c=n+u+1;c<=s;++c)(c===s||t.charCodeAt(c)===J)&&(f+=f.length===0?"..":"/..");return`${f}${e.slice(i+u)}`},toNamespacedPath(t){return t},dirname(t){if(G(t,"path"),t.length===0)return".";const e=t.charCodeAt(0)===J;let n=-1,s=!0;for(let r=t.length-1;r>=1;--r)if(t.charCodeAt(r)===J){if(!s){n=r;break}}else s=!1;return n===-1?e?"/":".":e&&n===1?"//":t.slice(0,n)},basename(t,e){e!==void 0&&G(e,"ext"),G(t,"path");let n=0,s=-1,r=!0,i;if(e!==void 0&&e.length>0&&e.length<=t.length){if(e===t)return"";let o=e.length-1,l=-1;for(i=t.length-1;i>=0;--i){const u=t.charCodeAt(i);if(u===J){if(!r){n=i+1;break}}else l===-1&&(r=!1,l=i+1),o>=0&&(u===e.charCodeAt(o)?--o===-1&&(s=i):(o=-1,s=l))}return n===s?s=l:s===-1&&(s=t.length),t.slice(n,s)}for(i=t.length-1;i>=0;--i)if(t.charCodeAt(i)===J){if(!r){n=i+1;break}}else s===-1&&(r=!1,s=i+1);return s===-1?"":t.slice(n,s)},extname(t){G(t,"path");let e=-1,n=0,s=-1,r=!0,i=0;for(let o=t.length-1;o>=0;--o){const l=t.charCodeAt(o);if(l===J){if(!r){n=o+1;break}continue}s===-1&&(r=!1,s=o+1),l===Re?e===-1?e=o:i!==1&&(i=1):e!==-1&&(i=-1)}return e===-1||s===-1||i===0||i===1&&e===s-1&&e===n+1?"":t.slice(e,s)},format:Pr.bind(null,"/"),parse(t){G(t,"path");const e={root:"",dir:"",base:"",ext:"",name:""};if(t.length===0)return e;const n=t.charCodeAt(0)===J;let s;n?(e.root="/",s=1):s=0;let r=-1,i=0,o=-1,l=!0,u=t.length-1,c=0;for(;u>=s;--u){const f=t.charCodeAt(u);if(f===J){if(!l){i=u+1;break}continue}o===-1&&(l=!1,o=u+1),f===Re?r===-1?r=u:c!==1&&(c=1):r!==-1&&(c=-1)}if(o!==-1){const f=i===0&&n?1:i;r===-1||c===0||c===1&&r===o-1&&r===i+1?e.base=e.name=t.slice(f,o):(e.name=t.slice(f,r),e.base=t.slice(f,o),e.ext=t.slice(r,o))}return i>0?e.dir=t.slice(0,i-1):n&&(e.dir="/"),e},sep:"/",delimiter:":",win32:null,posix:null};te.win32=ee.win32=ee;te.posix=ee.posix=te;we?ee.normalize:te.normalize;const zi=we?ee.join:te.join;we?ee.resolve:te.resolve;we?ee.relative:te.relative;we?ee.dirname:te.dirname;we?ee.basename:te.basename;we?ee.extname:te.extname;we?ee.sep:te.sep;const Oi=/^\w[\w\d+.-]*$/,ji=/^\//,Gi=/^\/\//;function Xi(t,e){if(!t.scheme&&e)throw new Error(`[UriError]: Scheme is missing: {scheme: "", authority: "${t.authority}", path: "${t.path}", query: "${t.query}", fragment: "${t.fragment}"}`);if(t.scheme&&!Oi.test(t.scheme))throw new Error("[UriError]: Scheme contains illegal characters.");if(t.path){if(t.authority){if(!ji.test(t.path))throw new Error('[UriError]: If a URI contains an authority component, then the path component must either be empty or begin with a slash ("/") character')}else if(Gi.test(t.path))throw new Error('[UriError]: If a URI does not contain an authority component, then the path cannot begin with two slash characters ("//")')}}function Qi(t,e){return!t&&!e?"file":t}function Yi(t,e){switch(t){case"https":case"http":case"file":e?e[0]!==fe&&(e=fe+e):e=fe;break}return e}const W="",fe="/",Ji=/^(([^:/?#]+?):)?(\/\/([^/?#]*))?([^?#]*)(\?([^#]*))?(#(.*))?/;class re{static isUri(e){return e instanceof re?!0:e?typeof e.authority=="string"&&typeof e.fragment=="string"&&typeof e.path=="string"&&typeof e.query=="string"&&typeof e.scheme=="string"&&typeof e.fsPath=="string"&&typeof e.with=="function"&&typeof e.toString=="function":!1}constructor(e,n,s,r,i,o=!1){typeof e=="object"?(this.scheme=e.scheme||W,this.authority=e.authority||W,this.path=e.path||W,this.query=e.query||W,this.fragment=e.fragment||W):(this.scheme=Qi(e,o),this.authority=n||W,this.path=Yi(this.scheme,s||W),this.query=r||W,this.fragment=i||W,Xi(this,o))}get fsPath(){return rn(this,!1)}with(e){if(!e)return this;let{scheme:n,authority:s,path:r,query:i,fragment:o}=e;return n===void 0?n=this.scheme:n===null&&(n=W),s===void 0?s=this.authority:s===null&&(s=W),r===void 0?r=this.path:r===null&&(r=W),i===void 0?i=this.query:i===null&&(i=W),o===void 0?o=this.fragment:o===null&&(o=W),n===this.scheme&&s===this.authority&&r===this.path&&i===this.query&&o===this.fragment?this:new Pe(n,s,r,i,o)}static parse(e,n=!1){const s=Ji.exec(e);return s?new Pe(s[2]||W,gt(s[4]||W),gt(s[5]||W),gt(s[7]||W),gt(s[9]||W),n):new Pe(W,W,W,W,W)}static file(e){let n=W;if(lt&&(e=e.replace(/\\/g,fe)),e[0]===fe&&e[1]===fe){const s=e.indexOf(fe,2);s===-1?(n=e.substring(2),e=fe):(n=e.substring(2,s),e=e.substring(s)||fe)}return new Pe("file",n,e,W,W)}static from(e,n){return new Pe(e.scheme,e.authority,e.path,e.query,e.fragment,n)}static joinPath(e,...n){if(!e.path)throw new Error("[UriError]: cannot call joinPath on URI without path");let s;return lt&&e.scheme==="file"?s=re.file(ee.join(rn(e,!0),...n)).path:s=te.join(e.path,...n),e.with({path:s})}toString(e=!1){return an(this,e)}toJSON(){return this}static revive(e){if(e){if(e instanceof re)return e;{const n=new Pe(e);return n._formatted=e.external??null,n._fsPath=e._sep===Dr?e.fsPath??null:null,n}}else return e}}const Dr=lt?1:void 0;class Pe extends re{constructor(){super(...arguments),this._formatted=null,this._fsPath=null}get fsPath(){return this._fsPath||(this._fsPath=rn(this,!1)),this._fsPath}toString(e=!1){return e?an(this,!0):(this._formatted||(this._formatted=an(this,!1)),this._formatted)}toJSON(){const e={$mid:1};return this._fsPath&&(e.fsPath=this._fsPath,e._sep=Dr),this._formatted&&(e.external=this._formatted),this.path&&(e.path=this.path),this.scheme&&(e.scheme=this.scheme),this.authority&&(e.authority=this.authority),this.query&&(e.query=this.query),this.fragment&&(e.fragment=this.fragment),e}}const Tr={58:"%3A",47:"%2F",63:"%3F",35:"%23",91:"%5B",93:"%5D",64:"%40",33:"%21",36:"%24",38:"%26",39:"%27",40:"%28",41:"%29",42:"%2A",43:"%2B",44:"%2C",59:"%3B",61:"%3D",32:"%20"};function In(t,e,n){let s,r=-1;for(let i=0;i=97&&o<=122||o>=65&&o<=90||o>=48&&o<=57||o===45||o===46||o===95||o===126||e&&o===47||n&&o===91||n&&o===93||n&&o===58)r!==-1&&(s+=encodeURIComponent(t.substring(r,i)),r=-1),s!==void 0&&(s+=t.charAt(i));else{s===void 0&&(s=t.substr(0,i));const l=Tr[o];l!==void 0?(r!==-1&&(s+=encodeURIComponent(t.substring(r,i)),r=-1),s+=l):r===-1&&(r=i)}}return r!==-1&&(s+=encodeURIComponent(t.substring(r))),s!==void 0?s:t}function Zi(t){let e;for(let n=0;n1&&t.scheme==="file"?n=`//${t.authority}${t.path}`:t.path.charCodeAt(0)===47&&(t.path.charCodeAt(1)>=65&&t.path.charCodeAt(1)<=90||t.path.charCodeAt(1)>=97&&t.path.charCodeAt(1)<=122)&&t.path.charCodeAt(2)===58?e?n=t.path.substr(1):n=t.path[1].toLowerCase()+t.path.substr(2):n=t.path,lt&&(n=n.replace(/\//g,"\\")),n}function an(t,e){const n=e?Zi:In;let s="",{scheme:r,authority:i,path:o,query:l,fragment:u}=t;if(r&&(s+=r,s+=":"),(i||r==="file")&&(s+=fe,s+=fe),i){let c=i.indexOf("@");if(c!==-1){const f=i.substr(0,c);i=i.substr(c+1),c=f.lastIndexOf(":"),c===-1?s+=n(f,!1,!1):(s+=n(f.substr(0,c),!1,!1),s+=":",s+=n(f.substr(c+1),!1,!0)),s+="@"}i=i.toLowerCase(),c=i.lastIndexOf(":"),c===-1?s+=n(i,!1,!0):(s+=n(i.substr(0,c),!1,!0),s+=i.substr(c))}if(o){if(o.length>=3&&o.charCodeAt(0)===47&&o.charCodeAt(2)===58){const c=o.charCodeAt(1);c>=65&&c<=90&&(o=`/${String.fromCharCode(c+32)}:${o.substr(3)}`)}else if(o.length>=2&&o.charCodeAt(1)===58){const c=o.charCodeAt(0);c>=65&&c<=90&&(o=`${String.fromCharCode(c+32)}:${o.substr(2)}`)}s+=n(o,!0,!1)}return l&&(s+="?",s+=n(l,!1,!1)),u&&(s+="#",s+=e?u:In(u,!1,!1)),s}function Ir(t){try{return decodeURIComponent(t)}catch{return t.length>3?t.substr(0,3)+Ir(t.substr(3)):t}}const Vn=/(%[0-9A-Za-z][0-9A-Za-z])+/g;function gt(t){return t.match(Vn)?t.replace(Vn,e=>Ir(e)):t}var Ae;(function(t){t.inMemory="inmemory",t.vscode="vscode",t.internal="private",t.walkThrough="walkThrough",t.walkThroughSnippet="walkThroughSnippet",t.http="http",t.https="https",t.file="file",t.mailto="mailto",t.untitled="untitled",t.data="data",t.command="command",t.vscodeRemote="vscode-remote",t.vscodeRemoteResource="vscode-remote-resource",t.vscodeManagedRemoteResource="vscode-managed-remote-resource",t.vscodeUserData="vscode-userdata",t.vscodeCustomEditor="vscode-custom-editor",t.vscodeNotebookCell="vscode-notebook-cell",t.vscodeNotebookCellMetadata="vscode-notebook-cell-metadata",t.vscodeNotebookCellMetadataDiff="vscode-notebook-cell-metadata-diff",t.vscodeNotebookCellOutput="vscode-notebook-cell-output",t.vscodeNotebookCellOutputDiff="vscode-notebook-cell-output-diff",t.vscodeNotebookMetadata="vscode-notebook-metadata",t.vscodeInteractiveInput="vscode-interactive-input",t.vscodeSettings="vscode-settings",t.vscodeWorkspaceTrust="vscode-workspace-trust",t.vscodeTerminal="vscode-terminal",t.vscodeChatCodeBlock="vscode-chat-code-block",t.vscodeChatCodeCompareBlock="vscode-chat-code-compare-block",t.vscodeChatSesssion="vscode-chat-editor",t.webviewPanel="webview-panel",t.vscodeWebview="vscode-webview",t.extension="extension",t.vscodeFileResource="vscode-file",t.tmp="tmp",t.vsls="vsls",t.vscodeSourceControl="vscode-scm",t.commentsInput="comment",t.codeSetting="code-setting",t.outputChannel="output"})(Ae||(Ae={}));const Ki="tkn";class ea{constructor(){this._hosts=Object.create(null),this._ports=Object.create(null),this._connectionTokens=Object.create(null),this._preferredWebSchema="http",this._delegate=null,this._serverRootPath="/"}setPreferredWebSchema(e){this._preferredWebSchema=e}get _remoteResourcesPath(){return te.join(this._serverRootPath,Ae.vscodeRemoteResource)}rewrite(e){if(this._delegate)try{return this._delegate(e)}catch(l){return tt(l),e}const n=e.authority;let s=this._hosts[n];s&&s.indexOf(":")!==-1&&s.indexOf("[")===-1&&(s=`[${s}]`);const r=this._ports[n],i=this._connectionTokens[n];let o=`path=${encodeURIComponent(e.path)}`;return typeof i=="string"&&(o+=`&${Ki}=${encodeURIComponent(i)}`),re.from({scheme:_i?this._preferredWebSchema:Ae.vscodeRemoteResource,authority:`${s}:${r}`,path:this._remoteResourcesPath,query:o})}}const ta=new ea,na="vscode-app",rt=class rt{asBrowserUri(e){const n=this.toUri(e);return this.uriToBrowserUri(n)}uriToBrowserUri(e){return e.scheme===Ae.vscodeRemote?ta.rewrite(e):e.scheme===Ae.file&&(xi||Li===`${Ae.vscodeFileResource}://${rt.FALLBACK_AUTHORITY}`)?e.with({scheme:Ae.vscodeFileResource,authority:e.authority||rt.FALLBACK_AUTHORITY,query:null,fragment:null}):e}toUri(e,n){if(re.isUri(e))return e;if(globalThis._VSCODE_FILE_ROOT){const s=globalThis._VSCODE_FILE_ROOT;if(/^\w[\w\d+.-]*:\/\//.test(s))return re.joinPath(re.parse(s,!0),e);const r=zi(s,e);return re.file(r)}return re.parse(n.toUrl(e))}};rt.FALLBACK_AUTHORITY=na;let on=rt;const Vr=new on;var Bn;(function(t){const e=new Map([["1",{"Cross-Origin-Opener-Policy":"same-origin"}],["2",{"Cross-Origin-Embedder-Policy":"require-corp"}],["3",{"Cross-Origin-Opener-Policy":"same-origin","Cross-Origin-Embedder-Policy":"require-corp"}]]);t.CoopAndCoep=Object.freeze(e.get("3"));const n="vscode-coi";function s(i){let o;typeof i=="string"?o=new URL(i).searchParams:i instanceof URL?o=i.searchParams:re.isUri(i)&&(o=new URL(i.toString(!0)).searchParams);const l=o==null?void 0:o.get(n);if(l)return e.get(l)}t.getHeadersFromQuery=s;function r(i,o,l){if(!globalThis.crossOriginIsolated)return;const u=o&&l?"3":l?"2":"1";i instanceof URLSearchParams?i.set(n,u):i[n]=u}t.addSearchParam=r})(Bn||(Bn={}));const jt="default",sa="$initialize";class ra{constructor(e,n,s,r,i){this.vsWorker=e,this.req=n,this.channel=s,this.method=r,this.args=i,this.type=0}}class qn{constructor(e,n,s,r){this.vsWorker=e,this.seq=n,this.res=s,this.err=r,this.type=1}}class ia{constructor(e,n,s,r,i){this.vsWorker=e,this.req=n,this.channel=s,this.eventName=r,this.arg=i,this.type=2}}class aa{constructor(e,n,s){this.vsWorker=e,this.req=n,this.event=s,this.type=3}}class oa{constructor(e,n){this.vsWorker=e,this.req=n,this.type=4}}class la{constructor(e){this._workerId=-1,this._handler=e,this._lastSentReq=0,this._pendingReplies=Object.create(null),this._pendingEmitters=new Map,this._pendingEvents=new Map}setWorkerId(e){this._workerId=e}sendMessage(e,n,s){const r=String(++this._lastSentReq);return new Promise((i,o)=>{this._pendingReplies[r]={resolve:i,reject:o},this._send(new ra(this._workerId,r,e,n,s))})}listen(e,n,s){let r=null;const i=new le({onWillAddFirstListener:()=>{r=String(++this._lastSentReq),this._pendingEmitters.set(r,i),this._send(new ia(this._workerId,r,e,n,s))},onDidRemoveLastListener:()=>{this._pendingEmitters.delete(r),this._send(new oa(this._workerId,r)),r=null}});return i.event}handleMessage(e){!e||!e.vsWorker||this._workerId!==-1&&e.vsWorker!==this._workerId||this._handleMessage(e)}createProxyToRemoteChannel(e,n){const s={get:(r,i)=>(typeof i=="string"&&!r[i]&&(qr(i)?r[i]=o=>this.listen(e,i,o):Br(i)?r[i]=this.listen(e,i,void 0):i.charCodeAt(0)===36&&(r[i]=async(...o)=>(await(n==null?void 0:n()),this.sendMessage(e,i,o)))),r[i])};return new Proxy(Object.create(null),s)}_handleMessage(e){switch(e.type){case 1:return this._handleReplyMessage(e);case 0:return this._handleRequestMessage(e);case 2:return this._handleSubscribeEventMessage(e);case 3:return this._handleEventMessage(e);case 4:return this._handleUnsubscribeEventMessage(e)}}_handleReplyMessage(e){if(!this._pendingReplies[e.seq]){console.warn("Got reply to unknown seq");return}const n=this._pendingReplies[e.seq];if(delete this._pendingReplies[e.seq],e.err){let s=e.err;e.err.$isError&&(s=new Error,s.name=e.err.name,s.message=e.err.message,s.stack=e.err.stack),n.reject(s);return}n.resolve(e.res)}_handleRequestMessage(e){const n=e.req;this._handler.handleMessage(e.channel,e.method,e.args).then(r=>{this._send(new qn(this._workerId,n,r,void 0))},r=>{r.detail instanceof Error&&(r.detail=kn(r.detail)),this._send(new qn(this._workerId,n,void 0,kn(r)))})}_handleSubscribeEventMessage(e){const n=e.req,s=this._handler.handleEvent(e.channel,e.eventName,e.arg)(r=>{this._send(new aa(this._workerId,n,r))});this._pendingEvents.set(n,s)}_handleEventMessage(e){if(!this._pendingEmitters.has(e.req)){console.warn("Got event for unknown req");return}this._pendingEmitters.get(e.req).fire(e.event)}_handleUnsubscribeEventMessage(e){if(!this._pendingEvents.has(e.req)){console.warn("Got unsubscribe for unknown req");return}this._pendingEvents.get(e.req).dispose(),this._pendingEvents.delete(e.req)}_send(e){const n=[];if(e.type===0)for(let s=0;s{e(s,r)},handleMessage:(s,r,i)=>this._handleMessage(s,r,i),handleEvent:(s,r,i)=>this._handleEvent(s,r,i)})}onmessage(e){this._protocol.handleMessage(e)}_handleMessage(e,n,s){if(e===jt&&n===sa)return this.initialize(s[0],s[1],s[2]);const r=e===jt?this._requestHandler:this._localChannels.get(e);if(!r)return Promise.reject(new Error(`Missing channel ${e} on worker thread`));if(typeof r[n]!="function")return Promise.reject(new Error(`Missing method ${n} on worker thread channel ${e}`));try{return Promise.resolve(r[n].apply(r,s))}catch(i){return Promise.reject(i)}}_handleEvent(e,n,s){const r=e===jt?this._requestHandler:this._localChannels.get(e);if(!r)throw new Error(`Missing channel ${e} on worker thread`);if(qr(n)){const i=r[n].call(r,s);if(typeof i!="function")throw new Error(`Missing dynamic event ${n} on request handler.`);return i}if(Br(n)){const i=r[n];if(typeof i!="function")throw new Error(`Missing event ${n} on request handler.`);return i}throw new Error(`Malformed event name ${n}`)}getChannel(e){if(!this._remoteChannels.has(e)){const n=this._protocol.createProxyToRemoteChannel(e);this._remoteChannels.set(e,n)}return this._remoteChannels.get(e)}async initialize(e,n,s){if(this._protocol.setWorkerId(e),this._requestHandlerFactory){this._requestHandler=this._requestHandlerFactory(this);return}return n&&(typeof n.baseUrl<"u"&&delete n.baseUrl,typeof n.paths<"u"&&typeof n.paths.vs<"u"&&delete n.paths.vs,typeof n.trustedTypesPolicy<"u"&&delete n.trustedTypesPolicy,n.catchError=!0,globalThis.require.config(n)),import(`${Vr.asBrowserUri(`${s}.js`).toString(!0)}`).then(i=>{if(this._requestHandler=i.create(this),!this._requestHandler)throw new Error("No RequestHandler!")})}}class Ne{constructor(e,n,s,r){this.originalStart=e,this.originalLength=n,this.modifiedStart=s,this.modifiedLength=r}getOriginalEnd(){return this.originalStart+this.originalLength}getModifiedEnd(){return this.modifiedStart+this.modifiedLength}}function Un(t,e){return(e<<5)-e+t|0}function ca(t,e){e=Un(149417,e);for(let n=0,s=t.length;n>>s)>>>0}function Hn(t,e=0,n=t.byteLength,s=0){for(let r=0;rn.toString(16).padStart(2,"0")).join(""):ha((t>>>0).toString(16),e/4)}const It=class It{constructor(){this._h0=1732584193,this._h1=4023233417,this._h2=2562383102,this._h3=271733878,this._h4=3285377520,this._buff=new Uint8Array(67),this._buffDV=new DataView(this._buff.buffer),this._buffLen=0,this._totalLen=0,this._leftoverHighSurrogate=0,this._finished=!1}update(e){const n=e.length;if(n===0)return;const s=this._buff;let r=this._buffLen,i=this._leftoverHighSurrogate,o,l;for(i!==0?(o=i,l=-1,i=0):(o=e.charCodeAt(0),l=0);;){let u=o;if(St(o))if(l+1>>6,e[n++]=128|(s&63)>>>0):s<65536?(e[n++]=224|(s&61440)>>>12,e[n++]=128|(s&4032)>>>6,e[n++]=128|(s&63)>>>0):(e[n++]=240|(s&1835008)>>>18,e[n++]=128|(s&258048)>>>12,e[n++]=128|(s&4032)>>>6,e[n++]=128|(s&63)>>>0),n>=64&&(this._step(),n-=64,this._totalLen+=64,e[0]=e[64],e[1]=e[65],e[2]=e[66]),n}digest(){return this._finished||(this._finished=!0,this._leftoverHighSurrogate&&(this._leftoverHighSurrogate=0,this._buffLen=this._push(this._buff,this._buffLen,65533)),this._totalLen+=this._buffLen,this._wrapUp()),Je(this._h0)+Je(this._h1)+Je(this._h2)+Je(this._h3)+Je(this._h4)}_wrapUp(){this._buff[this._buffLen++]=128,Hn(this._buff,this._buffLen),this._buffLen>56&&(this._step(),Hn(this._buff));const e=8*this._totalLen;this._buffDV.setUint32(56,Math.floor(e/4294967296),!1),this._buffDV.setUint32(60,e%4294967296,!1),this._step()}_step(){const e=It._bigBlock32,n=this._buffDV;for(let h=0;h<64;h+=4)e.setUint32(h,n.getUint32(h,!1),!1);for(let h=64;h<320;h+=4)e.setUint32(h,Gt(e.getUint32(h-12,!1)^e.getUint32(h-32,!1)^e.getUint32(h-56,!1)^e.getUint32(h-64,!1),1),!1);let s=this._h0,r=this._h1,i=this._h2,o=this._h3,l=this._h4,u,c,f;for(let h=0;h<80;h++)h<20?(u=r&i|~r&o,c=1518500249):h<40?(u=r^i^o,c=1859775393):h<60?(u=r&i|r&o|i&o,c=2400959708):(u=r^i^o,c=3395469782),f=Gt(s,5)+u+l+c+e.getUint32(h*4,!1)&4294967295,l=o,o=i,i=Gt(r,30),r=s,s=f;this._h0=this._h0+s&4294967295,this._h1=this._h1+r&4294967295,this._h2=this._h2+i&4294967295,this._h3=this._h3+o&4294967295,this._h4=this._h4+l&4294967295}};It._bigBlock32=new DataView(new ArrayBuffer(320));let $n=It;class Wn{constructor(e){this.source=e}getElements(){const e=this.source,n=new Int32Array(e.length);for(let s=0,r=e.length;s0||this.m_modifiedCount>0)&&this.m_changes.push(new Ne(this.m_originalStart,this.m_originalCount,this.m_modifiedStart,this.m_modifiedCount)),this.m_originalCount=0,this.m_modifiedCount=0,this.m_originalStart=1073741824,this.m_modifiedStart=1073741824}AddOriginalElement(e,n){this.m_originalStart=Math.min(this.m_originalStart,e),this.m_modifiedStart=Math.min(this.m_modifiedStart,n),this.m_originalCount++}AddModifiedElement(e,n){this.m_originalStart=Math.min(this.m_originalStart,e),this.m_modifiedStart=Math.min(this.m_modifiedStart,n),this.m_modifiedCount++}getChanges(){return(this.m_originalCount>0||this.m_modifiedCount>0)&&this.MarkNextChange(),this.m_changes}getReverseChanges(){return(this.m_originalCount>0||this.m_modifiedCount>0)&&this.MarkNextChange(),this.m_changes.reverse(),this.m_changes}}class Ce{constructor(e,n,s=null){this.ContinueProcessingPredicate=s,this._originalSequence=e,this._modifiedSequence=n;const[r,i,o]=Ce._getElements(e),[l,u,c]=Ce._getElements(n);this._hasStrings=o&&c,this._originalStringElements=r,this._originalElementsOrHash=i,this._modifiedStringElements=l,this._modifiedElementsOrHash=u,this.m_forwardHistory=[],this.m_reverseHistory=[]}static _isStringArray(e){return e.length>0&&typeof e[0]=="string"}static _getElements(e){const n=e.getElements();if(Ce._isStringArray(n)){const s=new Int32Array(n.length);for(let r=0,i=n.length;r=e&&r>=s&&this.ElementsAreEqual(n,r);)n--,r--;if(e>n||s>r){let h;return s<=r?(De.Assert(e===n+1,"originalStart should only be one more than originalEnd"),h=[new Ne(e,0,s,r-s+1)]):e<=n?(De.Assert(s===r+1,"modifiedStart should only be one more than modifiedEnd"),h=[new Ne(e,n-e+1,s,0)]):(De.Assert(e===n+1,"originalStart should only be one more than originalEnd"),De.Assert(s===r+1,"modifiedStart should only be one more than modifiedEnd"),h=[]),h}const o=[0],l=[0],u=this.ComputeRecursionPoint(e,n,s,r,o,l,i),c=o[0],f=l[0];if(u!==null)return u;if(!i[0]){const h=this.ComputeDiffRecursive(e,c,s,f,i);let m=[];return i[0]?m=[new Ne(c+1,n-(c+1)+1,f+1,r-(f+1)+1)]:m=this.ComputeDiffRecursive(c+1,n,f+1,r,i),this.ConcatenateChanges(h,m)}return[new Ne(e,n-e+1,s,r-s+1)]}WALKTRACE(e,n,s,r,i,o,l,u,c,f,h,m,d,g,p,x,L,N){let v=null,y=null,b=new zn,w=n,C=s,E=d[0]-x[0]-r,B=-1073741824,Q=this.m_forwardHistory.length-1;do{const U=E+e;U===w||U=0&&(c=this.m_forwardHistory[Q],e=c[0],w=1,C=c.length-1)}while(--Q>=-1);if(v=b.getReverseChanges(),N[0]){let U=d[0]+1,P=x[0]+1;if(v!==null&&v.length>0){const S=v[v.length-1];U=Math.max(U,S.getOriginalEnd()),P=Math.max(P,S.getModifiedEnd())}y=[new Ne(U,m-U+1,P,p-P+1)]}else{b=new zn,w=o,C=l,E=d[0]-x[0]-u,B=1073741824,Q=L?this.m_reverseHistory.length-1:this.m_reverseHistory.length-2;do{const U=E+i;U===w||U=f[U+1]?(h=f[U+1]-1,g=h-E-u,h>B&&b.MarkNextChange(),B=h+1,b.AddOriginalElement(h+1,g+1),E=U+1-i):(h=f[U-1],g=h-E-u,h>B&&b.MarkNextChange(),B=h,b.AddModifiedElement(h+1,g+1),E=U-1-i),Q>=0&&(f=this.m_reverseHistory[Q],i=f[0],w=1,C=f.length-1)}while(--Q>=-1);y=b.getChanges()}return this.ConcatenateChanges(v,y)}ComputeRecursionPoint(e,n,s,r,i,o,l){let u=0,c=0,f=0,h=0,m=0,d=0;e--,s--,i[0]=0,o[0]=0,this.m_forwardHistory=[],this.m_reverseHistory=[];const g=n-e+(r-s),p=g+1,x=new Int32Array(p),L=new Int32Array(p),N=r-s,v=n-e,y=e-s,b=n-r,C=(v-N)%2===0;x[N]=e,L[v]=n,l[0]=!1;for(let E=1;E<=g/2+1;E++){let B=0,Q=0;f=this.ClipDiagonalBound(N-E,E,N,p),h=this.ClipDiagonalBound(N+E,E,N,p);for(let P=f;P<=h;P+=2){P===f||PB+Q&&(B=u,Q=c),!C&&Math.abs(P-v)<=E-1&&u>=L[P])return i[0]=u,o[0]=c,S<=L[P]&&E<=1448?this.WALKTRACE(N,f,h,y,v,m,d,b,x,L,u,n,i,c,r,o,C,l):null}const U=(B-e+(Q-s)-E)/2;if(this.ContinueProcessingPredicate!==null&&!this.ContinueProcessingPredicate(B,U))return l[0]=!0,i[0]=B,o[0]=Q,U>0&&E<=1448?this.WALKTRACE(N,f,h,y,v,m,d,b,x,L,u,n,i,c,r,o,C,l):(e++,s++,[new Ne(e,n-e+1,s,r-s+1)]);m=this.ClipDiagonalBound(v-E,E,v,p),d=this.ClipDiagonalBound(v+E,E,v,p);for(let P=m;P<=d;P+=2){P===m||P=L[P+1]?u=L[P+1]-1:u=L[P-1],c=u-(P-v)-b;const S=u;for(;u>e&&c>s&&this.ElementsAreEqual(u,c);)u--,c--;if(L[P]=u,C&&Math.abs(P-N)<=E&&u<=x[P])return i[0]=u,o[0]=c,S>=x[P]&&E<=1448?this.WALKTRACE(N,f,h,y,v,m,d,b,x,L,u,n,i,c,r,o,C,l):null}if(E<=1447){let P=new Int32Array(h-f+2);P[0]=N-f+1,Te.Copy2(x,f,P,1,h-f+1),this.m_forwardHistory.push(P),P=new Int32Array(d-m+2),P[0]=v-m+1,Te.Copy2(L,m,P,1,d-m+1),this.m_reverseHistory.push(P)}}return this.WALKTRACE(N,f,h,y,v,m,d,b,x,L,u,n,i,c,r,o,C,l)}PrettifyChanges(e){for(let n=0;n0,l=s.modifiedLength>0;for(;s.originalStart+s.originalLength=0;n--){const s=e[n];let r=0,i=0;if(n>0){const h=e[n-1];r=h.originalStart+h.originalLength,i=h.modifiedStart+h.modifiedLength}const o=s.originalLength>0,l=s.modifiedLength>0;let u=0,c=this._boundaryScore(s.originalStart,s.originalLength,s.modifiedStart,s.modifiedLength);for(let h=1;;h++){const m=s.originalStart-h,d=s.modifiedStart-h;if(mc&&(c=p,u=h)}s.originalStart-=u,s.modifiedStart-=u;const f=[null];if(n>0&&this.ChangesOverlap(e[n-1],e[n],f)){e[n-1]=f[0],e.splice(n,1),n++;continue}}if(this._hasStrings)for(let n=1,s=e.length;n0&&d>u&&(u=d,c=h,f=m)}return u>0?[c,f]:null}_contiguousSequenceScore(e,n,s){let r=0;for(let i=0;i=this._originalElementsOrHash.length-1?!0:this._hasStrings&&/^\s*$/.test(this._originalStringElements[e])}_OriginalRegionIsBoundary(e,n){if(this._OriginalIsBoundary(e)||this._OriginalIsBoundary(e-1))return!0;if(n>0){const s=e+n;if(this._OriginalIsBoundary(s-1)||this._OriginalIsBoundary(s))return!0}return!1}_ModifiedIsBoundary(e){return e<=0||e>=this._modifiedElementsOrHash.length-1?!0:this._hasStrings&&/^\s*$/.test(this._modifiedStringElements[e])}_ModifiedRegionIsBoundary(e,n){if(this._ModifiedIsBoundary(e)||this._ModifiedIsBoundary(e-1))return!0;if(n>0){const s=e+n;if(this._ModifiedIsBoundary(s-1)||this._ModifiedIsBoundary(s))return!0}return!1}_boundaryScore(e,n,s,r){const i=this._OriginalRegionIsBoundary(e,n)?1:0,o=this._ModifiedRegionIsBoundary(s,r)?1:0;return i+o}ConcatenateChanges(e,n){const s=[];if(e.length===0||n.length===0)return n.length>0?n:e;if(this.ChangesOverlap(e[e.length-1],n[0],s)){const r=new Array(e.length+n.length-1);return Te.Copy(e,0,r,0,e.length-1),r[e.length-1]=s[0],Te.Copy(n,1,r,e.length,n.length-1),r}else{const r=new Array(e.length+n.length);return Te.Copy(e,0,r,0,e.length),Te.Copy(n,0,r,e.length,n.length),r}}ChangesOverlap(e,n,s){if(De.Assert(e.originalStart<=n.originalStart,"Left change is not less than or equal to right change"),De.Assert(e.modifiedStart<=n.modifiedStart,"Left change is not less than or equal to right change"),e.originalStart+e.originalLength>=n.originalStart||e.modifiedStart+e.modifiedLength>=n.modifiedStart){const r=e.originalStart;let i=e.originalLength;const o=e.modifiedStart;let l=e.modifiedLength;return e.originalStart+e.originalLength>=n.originalStart&&(i=n.originalStart+n.originalLength-e.originalStart),e.modifiedStart+e.modifiedLength>=n.modifiedStart&&(l=n.modifiedStart+n.modifiedLength-e.modifiedStart),s[0]=new Ne(r,i,o,l),!0}else return s[0]=null,!1}ClipDiagonalBound(e,n,s,r){if(e>=0&&es||e===s&&n>r?(this.startLineNumber=s,this.startColumn=r,this.endLineNumber=e,this.endColumn=n):(this.startLineNumber=e,this.startColumn=n,this.endLineNumber=s,this.endColumn=r)}isEmpty(){return k.isEmpty(this)}static isEmpty(e){return e.startLineNumber===e.endLineNumber&&e.startColumn===e.endColumn}containsPosition(e){return k.containsPosition(this,e)}static containsPosition(e,n){return!(n.lineNumbere.endLineNumber||n.lineNumber===e.startLineNumber&&n.columne.endColumn)}static strictContainsPosition(e,n){return!(n.lineNumbere.endLineNumber||n.lineNumber===e.startLineNumber&&n.column<=e.startColumn||n.lineNumber===e.endLineNumber&&n.column>=e.endColumn)}containsRange(e){return k.containsRange(this,e)}static containsRange(e,n){return!(n.startLineNumbere.endLineNumber||n.endLineNumber>e.endLineNumber||n.startLineNumber===e.startLineNumber&&n.startColumne.endColumn)}strictContainsRange(e){return k.strictContainsRange(this,e)}static strictContainsRange(e,n){return!(n.startLineNumbere.endLineNumber||n.endLineNumber>e.endLineNumber||n.startLineNumber===e.startLineNumber&&n.startColumn<=e.startColumn||n.endLineNumber===e.endLineNumber&&n.endColumn>=e.endColumn)}plusRange(e){return k.plusRange(this,e)}static plusRange(e,n){let s,r,i,o;return n.startLineNumbere.endLineNumber?(i=n.endLineNumber,o=n.endColumn):n.endLineNumber===e.endLineNumber?(i=n.endLineNumber,o=Math.max(n.endColumn,e.endColumn)):(i=e.endLineNumber,o=e.endColumn),new k(s,r,i,o)}intersectRanges(e){return k.intersectRanges(this,e)}static intersectRanges(e,n){let s=e.startLineNumber,r=e.startColumn,i=e.endLineNumber,o=e.endColumn;const l=n.startLineNumber,u=n.startColumn,c=n.endLineNumber,f=n.endColumn;return sc?(i=c,o=f):i===c&&(o=Math.min(o,f)),s>i||s===i&&r>o?null:new k(s,r,i,o)}equalsRange(e){return k.equalsRange(this,e)}static equalsRange(e,n){return!e&&!n?!0:!!e&&!!n&&e.startLineNumber===n.startLineNumber&&e.startColumn===n.startColumn&&e.endLineNumber===n.endLineNumber&&e.endColumn===n.endColumn}getEndPosition(){return k.getEndPosition(this)}static getEndPosition(e){return new $(e.endLineNumber,e.endColumn)}getStartPosition(){return k.getStartPosition(this)}static getStartPosition(e){return new $(e.startLineNumber,e.startColumn)}toString(){return"["+this.startLineNumber+","+this.startColumn+" -> "+this.endLineNumber+","+this.endColumn+"]"}setEndPosition(e,n){return new k(this.startLineNumber,this.startColumn,e,n)}setStartPosition(e,n){return new k(e,n,this.endLineNumber,this.endColumn)}collapseToStart(){return k.collapseToStart(this)}static collapseToStart(e){return new k(e.startLineNumber,e.startColumn,e.startLineNumber,e.startColumn)}collapseToEnd(){return k.collapseToEnd(this)}static collapseToEnd(e){return new k(e.endLineNumber,e.endColumn,e.endLineNumber,e.endColumn)}delta(e){return new k(this.startLineNumber+e,this.startColumn,this.endLineNumber+e,this.endColumn)}static fromPositions(e,n=e){return new k(e.lineNumber,e.column,n.lineNumber,n.column)}static lift(e){return e?new k(e.startLineNumber,e.startColumn,e.endLineNumber,e.endColumn):null}static isIRange(e){return e&&typeof e.startLineNumber=="number"&&typeof e.startColumn=="number"&&typeof e.endLineNumber=="number"&&typeof e.endColumn=="number"}static areIntersectingOrTouching(e,n){return!(e.endLineNumbere.startLineNumber}toJSON(){return this}}function On(t){return t<0?0:t>255?255:t|0}function Ie(t){return t<0?0:t>4294967295?4294967295:t|0}class Cn{constructor(e){const n=On(e);this._defaultValue=n,this._asciiMap=Cn._createAsciiMap(n),this._map=new Map}static _createAsciiMap(e){const n=new Uint8Array(256);return n.fill(e),n}set(e,n){const s=On(n);e>=0&&e<256?this._asciiMap[e]=s:this._map.set(e,s)}get(e){return e>=0&&e<256?this._asciiMap[e]:this._map.get(e)||this._defaultValue}clear(){this._asciiMap.fill(this._defaultValue),this._map.clear()}}class ma{constructor(e,n,s){const r=new Uint8Array(e*n);for(let i=0,o=e*n;in&&(n=u),l>s&&(s=l),c>s&&(s=c)}n++,s++;const r=new ma(s,n,0);for(let i=0,o=e.length;i=this._maxCharCode?0:this._states.get(e,n)}}let Xt=null;function ga(){return Xt===null&&(Xt=new da([[1,104,2],[1,72,2],[1,102,6],[1,70,6],[2,116,3],[2,84,3],[3,116,4],[3,84,4],[4,112,5],[4,80,5],[5,115,9],[5,83,9],[5,58,10],[6,105,7],[6,73,7],[7,108,8],[7,76,8],[8,101,9],[8,69,9],[9,58,10],[10,47,11],[11,47,12]])),Xt}let Ze=null;function pa(){if(Ze===null){Ze=new Cn(0);const t=` <>'"、。。、,.:;‘〈「『〔([{「」}])〕』」〉’`~…`;for(let n=0;nr);if(r>0){const l=n.charCodeAt(r-1),u=n.charCodeAt(o);(l===40&&u===41||l===91&&u===93||l===123&&u===125)&&o--}return{range:{startLineNumber:s,startColumn:r+1,endLineNumber:s,endColumn:o+2},url:n.substring(r,o+1)}}static computeLinks(e,n=ga()){const s=pa(),r=[];for(let i=1,o=e.getLineCount();i<=o;i++){const l=e.getLineContent(i),u=l.length;let c=0,f=0,h=0,m=1,d=!1,g=!1,p=!1,x=!1;for(;c=0?(r+=s?1:-1,r<0?r=e.length-1:r%=e.length,e[r]):null}};Vt.INSTANCE=new Vt;let ln=Vt;const Ur=Object.freeze(function(t,e){const n=setTimeout(t.bind(e),0);return{dispose(){clearTimeout(n)}}});var Et;(function(t){function e(n){return n===t.None||n===t.Cancelled||n instanceof pt?!0:!n||typeof n!="object"?!1:typeof n.isCancellationRequested=="boolean"&&typeof n.onCancellationRequested=="function"}t.isCancellationToken=e,t.None=Object.freeze({isCancellationRequested:!1,onCancellationRequested:Nt.None}),t.Cancelled=Object.freeze({isCancellationRequested:!0,onCancellationRequested:Ur})})(Et||(Et={}));class pt{constructor(){this._isCancelled=!1,this._emitter=null}cancel(){this._isCancelled||(this._isCancelled=!0,this._emitter&&(this._emitter.fire(void 0),this.dispose()))}get isCancellationRequested(){return this._isCancelled}get onCancellationRequested(){return this._isCancelled?Ur:(this._emitter||(this._emitter=new le),this._emitter.event)}dispose(){this._emitter&&(this._emitter.dispose(),this._emitter=null)}}class ya{constructor(e){this._token=void 0,this._parentListener=void 0,this._parentListener=e&&e.onCancellationRequested(this.cancel,this)}get token(){return this._token||(this._token=new pt),this._token}cancel(){this._token?this._token instanceof pt&&this._token.cancel():this._token=Et.Cancelled}dispose(e=!1){var n;e&&this.cancel(),(n=this._parentListener)==null||n.dispose(),this._token?this._token instanceof pt&&this._token.dispose():this._token=Et.None}}class An{constructor(){this._keyCodeToStr=[],this._strToKeyCode=Object.create(null)}define(e,n){this._keyCodeToStr[e]=n,this._strToKeyCode[n.toLowerCase()]=e}keyCodeToStr(e){return this._keyCodeToStr[e]}strToKeyCode(e){return this._strToKeyCode[e.toLowerCase()]||0}}const bt=new An,un=new An,cn=new An,xa=new Array(230),_a=Object.create(null),wa=Object.create(null);(function(){const e=[[1,0,"None",0,"unknown",0,"VK_UNKNOWN","",""],[1,1,"Hyper",0,"",0,"","",""],[1,2,"Super",0,"",0,"","",""],[1,3,"Fn",0,"",0,"","",""],[1,4,"FnLock",0,"",0,"","",""],[1,5,"Suspend",0,"",0,"","",""],[1,6,"Resume",0,"",0,"","",""],[1,7,"Turbo",0,"",0,"","",""],[1,8,"Sleep",0,"",0,"VK_SLEEP","",""],[1,9,"WakeUp",0,"",0,"","",""],[0,10,"KeyA",31,"A",65,"VK_A","",""],[0,11,"KeyB",32,"B",66,"VK_B","",""],[0,12,"KeyC",33,"C",67,"VK_C","",""],[0,13,"KeyD",34,"D",68,"VK_D","",""],[0,14,"KeyE",35,"E",69,"VK_E","",""],[0,15,"KeyF",36,"F",70,"VK_F","",""],[0,16,"KeyG",37,"G",71,"VK_G","",""],[0,17,"KeyH",38,"H",72,"VK_H","",""],[0,18,"KeyI",39,"I",73,"VK_I","",""],[0,19,"KeyJ",40,"J",74,"VK_J","",""],[0,20,"KeyK",41,"K",75,"VK_K","",""],[0,21,"KeyL",42,"L",76,"VK_L","",""],[0,22,"KeyM",43,"M",77,"VK_M","",""],[0,23,"KeyN",44,"N",78,"VK_N","",""],[0,24,"KeyO",45,"O",79,"VK_O","",""],[0,25,"KeyP",46,"P",80,"VK_P","",""],[0,26,"KeyQ",47,"Q",81,"VK_Q","",""],[0,27,"KeyR",48,"R",82,"VK_R","",""],[0,28,"KeyS",49,"S",83,"VK_S","",""],[0,29,"KeyT",50,"T",84,"VK_T","",""],[0,30,"KeyU",51,"U",85,"VK_U","",""],[0,31,"KeyV",52,"V",86,"VK_V","",""],[0,32,"KeyW",53,"W",87,"VK_W","",""],[0,33,"KeyX",54,"X",88,"VK_X","",""],[0,34,"KeyY",55,"Y",89,"VK_Y","",""],[0,35,"KeyZ",56,"Z",90,"VK_Z","",""],[0,36,"Digit1",22,"1",49,"VK_1","",""],[0,37,"Digit2",23,"2",50,"VK_2","",""],[0,38,"Digit3",24,"3",51,"VK_3","",""],[0,39,"Digit4",25,"4",52,"VK_4","",""],[0,40,"Digit5",26,"5",53,"VK_5","",""],[0,41,"Digit6",27,"6",54,"VK_6","",""],[0,42,"Digit7",28,"7",55,"VK_7","",""],[0,43,"Digit8",29,"8",56,"VK_8","",""],[0,44,"Digit9",30,"9",57,"VK_9","",""],[0,45,"Digit0",21,"0",48,"VK_0","",""],[1,46,"Enter",3,"Enter",13,"VK_RETURN","",""],[1,47,"Escape",9,"Escape",27,"VK_ESCAPE","",""],[1,48,"Backspace",1,"Backspace",8,"VK_BACK","",""],[1,49,"Tab",2,"Tab",9,"VK_TAB","",""],[1,50,"Space",10,"Space",32,"VK_SPACE","",""],[0,51,"Minus",88,"-",189,"VK_OEM_MINUS","-","OEM_MINUS"],[0,52,"Equal",86,"=",187,"VK_OEM_PLUS","=","OEM_PLUS"],[0,53,"BracketLeft",92,"[",219,"VK_OEM_4","[","OEM_4"],[0,54,"BracketRight",94,"]",221,"VK_OEM_6","]","OEM_6"],[0,55,"Backslash",93,"\\",220,"VK_OEM_5","\\","OEM_5"],[0,56,"IntlHash",0,"",0,"","",""],[0,57,"Semicolon",85,";",186,"VK_OEM_1",";","OEM_1"],[0,58,"Quote",95,"'",222,"VK_OEM_7","'","OEM_7"],[0,59,"Backquote",91,"`",192,"VK_OEM_3","`","OEM_3"],[0,60,"Comma",87,",",188,"VK_OEM_COMMA",",","OEM_COMMA"],[0,61,"Period",89,".",190,"VK_OEM_PERIOD",".","OEM_PERIOD"],[0,62,"Slash",90,"/",191,"VK_OEM_2","/","OEM_2"],[1,63,"CapsLock",8,"CapsLock",20,"VK_CAPITAL","",""],[1,64,"F1",59,"F1",112,"VK_F1","",""],[1,65,"F2",60,"F2",113,"VK_F2","",""],[1,66,"F3",61,"F3",114,"VK_F3","",""],[1,67,"F4",62,"F4",115,"VK_F4","",""],[1,68,"F5",63,"F5",116,"VK_F5","",""],[1,69,"F6",64,"F6",117,"VK_F6","",""],[1,70,"F7",65,"F7",118,"VK_F7","",""],[1,71,"F8",66,"F8",119,"VK_F8","",""],[1,72,"F9",67,"F9",120,"VK_F9","",""],[1,73,"F10",68,"F10",121,"VK_F10","",""],[1,74,"F11",69,"F11",122,"VK_F11","",""],[1,75,"F12",70,"F12",123,"VK_F12","",""],[1,76,"PrintScreen",0,"",0,"","",""],[1,77,"ScrollLock",84,"ScrollLock",145,"VK_SCROLL","",""],[1,78,"Pause",7,"PauseBreak",19,"VK_PAUSE","",""],[1,79,"Insert",19,"Insert",45,"VK_INSERT","",""],[1,80,"Home",14,"Home",36,"VK_HOME","",""],[1,81,"PageUp",11,"PageUp",33,"VK_PRIOR","",""],[1,82,"Delete",20,"Delete",46,"VK_DELETE","",""],[1,83,"End",13,"End",35,"VK_END","",""],[1,84,"PageDown",12,"PageDown",34,"VK_NEXT","",""],[1,85,"ArrowRight",17,"RightArrow",39,"VK_RIGHT","Right",""],[1,86,"ArrowLeft",15,"LeftArrow",37,"VK_LEFT","Left",""],[1,87,"ArrowDown",18,"DownArrow",40,"VK_DOWN","Down",""],[1,88,"ArrowUp",16,"UpArrow",38,"VK_UP","Up",""],[1,89,"NumLock",83,"NumLock",144,"VK_NUMLOCK","",""],[1,90,"NumpadDivide",113,"NumPad_Divide",111,"VK_DIVIDE","",""],[1,91,"NumpadMultiply",108,"NumPad_Multiply",106,"VK_MULTIPLY","",""],[1,92,"NumpadSubtract",111,"NumPad_Subtract",109,"VK_SUBTRACT","",""],[1,93,"NumpadAdd",109,"NumPad_Add",107,"VK_ADD","",""],[1,94,"NumpadEnter",3,"",0,"","",""],[1,95,"Numpad1",99,"NumPad1",97,"VK_NUMPAD1","",""],[1,96,"Numpad2",100,"NumPad2",98,"VK_NUMPAD2","",""],[1,97,"Numpad3",101,"NumPad3",99,"VK_NUMPAD3","",""],[1,98,"Numpad4",102,"NumPad4",100,"VK_NUMPAD4","",""],[1,99,"Numpad5",103,"NumPad5",101,"VK_NUMPAD5","",""],[1,100,"Numpad6",104,"NumPad6",102,"VK_NUMPAD6","",""],[1,101,"Numpad7",105,"NumPad7",103,"VK_NUMPAD7","",""],[1,102,"Numpad8",106,"NumPad8",104,"VK_NUMPAD8","",""],[1,103,"Numpad9",107,"NumPad9",105,"VK_NUMPAD9","",""],[1,104,"Numpad0",98,"NumPad0",96,"VK_NUMPAD0","",""],[1,105,"NumpadDecimal",112,"NumPad_Decimal",110,"VK_DECIMAL","",""],[0,106,"IntlBackslash",97,"OEM_102",226,"VK_OEM_102","",""],[1,107,"ContextMenu",58,"ContextMenu",93,"","",""],[1,108,"Power",0,"",0,"","",""],[1,109,"NumpadEqual",0,"",0,"","",""],[1,110,"F13",71,"F13",124,"VK_F13","",""],[1,111,"F14",72,"F14",125,"VK_F14","",""],[1,112,"F15",73,"F15",126,"VK_F15","",""],[1,113,"F16",74,"F16",127,"VK_F16","",""],[1,114,"F17",75,"F17",128,"VK_F17","",""],[1,115,"F18",76,"F18",129,"VK_F18","",""],[1,116,"F19",77,"F19",130,"VK_F19","",""],[1,117,"F20",78,"F20",131,"VK_F20","",""],[1,118,"F21",79,"F21",132,"VK_F21","",""],[1,119,"F22",80,"F22",133,"VK_F22","",""],[1,120,"F23",81,"F23",134,"VK_F23","",""],[1,121,"F24",82,"F24",135,"VK_F24","",""],[1,122,"Open",0,"",0,"","",""],[1,123,"Help",0,"",0,"","",""],[1,124,"Select",0,"",0,"","",""],[1,125,"Again",0,"",0,"","",""],[1,126,"Undo",0,"",0,"","",""],[1,127,"Cut",0,"",0,"","",""],[1,128,"Copy",0,"",0,"","",""],[1,129,"Paste",0,"",0,"","",""],[1,130,"Find",0,"",0,"","",""],[1,131,"AudioVolumeMute",117,"AudioVolumeMute",173,"VK_VOLUME_MUTE","",""],[1,132,"AudioVolumeUp",118,"AudioVolumeUp",175,"VK_VOLUME_UP","",""],[1,133,"AudioVolumeDown",119,"AudioVolumeDown",174,"VK_VOLUME_DOWN","",""],[1,134,"NumpadComma",110,"NumPad_Separator",108,"VK_SEPARATOR","",""],[0,135,"IntlRo",115,"ABNT_C1",193,"VK_ABNT_C1","",""],[1,136,"KanaMode",0,"",0,"","",""],[0,137,"IntlYen",0,"",0,"","",""],[1,138,"Convert",0,"",0,"","",""],[1,139,"NonConvert",0,"",0,"","",""],[1,140,"Lang1",0,"",0,"","",""],[1,141,"Lang2",0,"",0,"","",""],[1,142,"Lang3",0,"",0,"","",""],[1,143,"Lang4",0,"",0,"","",""],[1,144,"Lang5",0,"",0,"","",""],[1,145,"Abort",0,"",0,"","",""],[1,146,"Props",0,"",0,"","",""],[1,147,"NumpadParenLeft",0,"",0,"","",""],[1,148,"NumpadParenRight",0,"",0,"","",""],[1,149,"NumpadBackspace",0,"",0,"","",""],[1,150,"NumpadMemoryStore",0,"",0,"","",""],[1,151,"NumpadMemoryRecall",0,"",0,"","",""],[1,152,"NumpadMemoryClear",0,"",0,"","",""],[1,153,"NumpadMemoryAdd",0,"",0,"","",""],[1,154,"NumpadMemorySubtract",0,"",0,"","",""],[1,155,"NumpadClear",131,"Clear",12,"VK_CLEAR","",""],[1,156,"NumpadClearEntry",0,"",0,"","",""],[1,0,"",5,"Ctrl",17,"VK_CONTROL","",""],[1,0,"",4,"Shift",16,"VK_SHIFT","",""],[1,0,"",6,"Alt",18,"VK_MENU","",""],[1,0,"",57,"Meta",91,"VK_COMMAND","",""],[1,157,"ControlLeft",5,"",0,"VK_LCONTROL","",""],[1,158,"ShiftLeft",4,"",0,"VK_LSHIFT","",""],[1,159,"AltLeft",6,"",0,"VK_LMENU","",""],[1,160,"MetaLeft",57,"",0,"VK_LWIN","",""],[1,161,"ControlRight",5,"",0,"VK_RCONTROL","",""],[1,162,"ShiftRight",4,"",0,"VK_RSHIFT","",""],[1,163,"AltRight",6,"",0,"VK_RMENU","",""],[1,164,"MetaRight",57,"",0,"VK_RWIN","",""],[1,165,"BrightnessUp",0,"",0,"","",""],[1,166,"BrightnessDown",0,"",0,"","",""],[1,167,"MediaPlay",0,"",0,"","",""],[1,168,"MediaRecord",0,"",0,"","",""],[1,169,"MediaFastForward",0,"",0,"","",""],[1,170,"MediaRewind",0,"",0,"","",""],[1,171,"MediaTrackNext",124,"MediaTrackNext",176,"VK_MEDIA_NEXT_TRACK","",""],[1,172,"MediaTrackPrevious",125,"MediaTrackPrevious",177,"VK_MEDIA_PREV_TRACK","",""],[1,173,"MediaStop",126,"MediaStop",178,"VK_MEDIA_STOP","",""],[1,174,"Eject",0,"",0,"","",""],[1,175,"MediaPlayPause",127,"MediaPlayPause",179,"VK_MEDIA_PLAY_PAUSE","",""],[1,176,"MediaSelect",128,"LaunchMediaPlayer",181,"VK_MEDIA_LAUNCH_MEDIA_SELECT","",""],[1,177,"LaunchMail",129,"LaunchMail",180,"VK_MEDIA_LAUNCH_MAIL","",""],[1,178,"LaunchApp2",130,"LaunchApp2",183,"VK_MEDIA_LAUNCH_APP2","",""],[1,179,"LaunchApp1",0,"",0,"VK_MEDIA_LAUNCH_APP1","",""],[1,180,"SelectTask",0,"",0,"","",""],[1,181,"LaunchScreenSaver",0,"",0,"","",""],[1,182,"BrowserSearch",120,"BrowserSearch",170,"VK_BROWSER_SEARCH","",""],[1,183,"BrowserHome",121,"BrowserHome",172,"VK_BROWSER_HOME","",""],[1,184,"BrowserBack",122,"BrowserBack",166,"VK_BROWSER_BACK","",""],[1,185,"BrowserForward",123,"BrowserForward",167,"VK_BROWSER_FORWARD","",""],[1,186,"BrowserStop",0,"",0,"VK_BROWSER_STOP","",""],[1,187,"BrowserRefresh",0,"",0,"VK_BROWSER_REFRESH","",""],[1,188,"BrowserFavorites",0,"",0,"VK_BROWSER_FAVORITES","",""],[1,189,"ZoomToggle",0,"",0,"","",""],[1,190,"MailReply",0,"",0,"","",""],[1,191,"MailForward",0,"",0,"","",""],[1,192,"MailSend",0,"",0,"","",""],[1,0,"",114,"KeyInComposition",229,"","",""],[1,0,"",116,"ABNT_C2",194,"VK_ABNT_C2","",""],[1,0,"",96,"OEM_8",223,"VK_OEM_8","",""],[1,0,"",0,"",0,"VK_KANA","",""],[1,0,"",0,"",0,"VK_HANGUL","",""],[1,0,"",0,"",0,"VK_JUNJA","",""],[1,0,"",0,"",0,"VK_FINAL","",""],[1,0,"",0,"",0,"VK_HANJA","",""],[1,0,"",0,"",0,"VK_KANJI","",""],[1,0,"",0,"",0,"VK_CONVERT","",""],[1,0,"",0,"",0,"VK_NONCONVERT","",""],[1,0,"",0,"",0,"VK_ACCEPT","",""],[1,0,"",0,"",0,"VK_MODECHANGE","",""],[1,0,"",0,"",0,"VK_SELECT","",""],[1,0,"",0,"",0,"VK_PRINT","",""],[1,0,"",0,"",0,"VK_EXECUTE","",""],[1,0,"",0,"",0,"VK_SNAPSHOT","",""],[1,0,"",0,"",0,"VK_HELP","",""],[1,0,"",0,"",0,"VK_APPS","",""],[1,0,"",0,"",0,"VK_PROCESSKEY","",""],[1,0,"",0,"",0,"VK_PACKET","",""],[1,0,"",0,"",0,"VK_DBE_SBCSCHAR","",""],[1,0,"",0,"",0,"VK_DBE_DBCSCHAR","",""],[1,0,"",0,"",0,"VK_ATTN","",""],[1,0,"",0,"",0,"VK_CRSEL","",""],[1,0,"",0,"",0,"VK_EXSEL","",""],[1,0,"",0,"",0,"VK_EREOF","",""],[1,0,"",0,"",0,"VK_PLAY","",""],[1,0,"",0,"",0,"VK_ZOOM","",""],[1,0,"",0,"",0,"VK_NONAME","",""],[1,0,"",0,"",0,"VK_PA1","",""],[1,0,"",0,"",0,"VK_OEM_CLEAR","",""]],n=[],s=[];for(const r of e){const[i,o,l,u,c,f,h,m,d]=r;if(s[o]||(s[o]=!0,_a[l]=o,wa[l.toLowerCase()]=o),!n[u]){if(n[u]=!0,!c)throw new Error(`String representation missing for key code ${u} around scan code ${l}`);bt.define(u,c),un.define(u,m||c),cn.define(u,d||m||c)}f&&(xa[f]=u)}})();var jn;(function(t){function e(l){return bt.keyCodeToStr(l)}t.toString=e;function n(l){return bt.strToKeyCode(l)}t.fromString=n;function s(l){return un.keyCodeToStr(l)}t.toUserSettingsUS=s;function r(l){return cn.keyCodeToStr(l)}t.toUserSettingsGeneral=r;function i(l){return un.strToKeyCode(l)||cn.strToKeyCode(l)}t.fromUserSettings=i;function o(l){if(l>=98&&l<=113)return null;switch(l){case 16:return"Up";case 18:return"Down";case 15:return"Left";case 17:return"Right"}return bt.keyCodeToStr(l)}t.toElectronAccelerator=o})(jn||(jn={}));function La(t,e){const n=(e&65535)<<16>>>0;return(t|n)>>>0}class ie extends k{constructor(e,n,s,r){super(e,n,s,r),this.selectionStartLineNumber=e,this.selectionStartColumn=n,this.positionLineNumber=s,this.positionColumn=r}toString(){return"["+this.selectionStartLineNumber+","+this.selectionStartColumn+" -> "+this.positionLineNumber+","+this.positionColumn+"]"}equalsSelection(e){return ie.selectionsEqual(this,e)}static selectionsEqual(e,n){return e.selectionStartLineNumber===n.selectionStartLineNumber&&e.selectionStartColumn===n.selectionStartColumn&&e.positionLineNumber===n.positionLineNumber&&e.positionColumn===n.positionColumn}getDirection(){return this.selectionStartLineNumber===this.startLineNumber&&this.selectionStartColumn===this.startColumn?0:1}setEndPosition(e,n){return this.getDirection()===0?new ie(this.startLineNumber,this.startColumn,e,n):new ie(e,n,this.startLineNumber,this.startColumn)}getPosition(){return new $(this.positionLineNumber,this.positionColumn)}getSelectionStart(){return new $(this.selectionStartLineNumber,this.selectionStartColumn)}setStartPosition(e,n){return this.getDirection()===0?new ie(e,n,this.endLineNumber,this.endColumn):new ie(this.endLineNumber,this.endColumn,e,n)}static fromPositions(e,n=e){return new ie(e.lineNumber,e.column,n.lineNumber,n.column)}static fromRange(e,n){return n===0?new ie(e.startLineNumber,e.startColumn,e.endLineNumber,e.endColumn):new ie(e.endLineNumber,e.endColumn,e.startLineNumber,e.startColumn)}static liftSelection(e){return new ie(e.selectionStartLineNumber,e.selectionStartColumn,e.positionLineNumber,e.positionColumn)}static selectionsArrEqual(e,n){if(e&&!n||!e&&n)return!1;if(!e&&!n)return!0;if(e.length!==n.length)return!1;for(let s=0,r=e.length;s{this._tokenizationSupports.get(e)===n&&(this._tokenizationSupports.delete(e),this.handleChange([e]))})}get(e){return this._tokenizationSupports.get(e)||null}registerFactory(e,n){var r;(r=this._factories.get(e))==null||r.dispose();const s=new Ca(this,e,n);return this._factories.set(e,s),vt(()=>{const i=this._factories.get(e);!i||i!==s||(this._factories.delete(e),i.dispose())})}async getOrCreate(e){const n=this.get(e);if(n)return n;const s=this._factories.get(e);return!s||s.isResolved?null:(await s.resolve(),this.get(e))}isResolved(e){if(this.get(e))return!0;const s=this._factories.get(e);return!!(!s||s.isResolved)}setColorMap(e){this._colorMap=e,this._onDidChange.fire({changedLanguages:Array.from(this._tokenizationSupports.keys()),changedColorMap:!0})}getColorMap(){return this._colorMap}getDefaultBackground(){return this._colorMap&&this._colorMap.length>2?this._colorMap[2]:null}}class Ca extends Xe{get isResolved(){return this._isResolved}constructor(e,n,s){super(),this._registry=e,this._languageId=n,this._factory=s,this._isDisposed=!1,this._resolvePromise=null,this._isResolved=!1}dispose(){this._isDisposed=!0,super.dispose()}async resolve(){return this._resolvePromise||(this._resolvePromise=this._create()),this._resolvePromise}async _create(){const e=await this._factory.tokenizationSupport;this._isResolved=!0,e&&!this._isDisposed&&this._register(this._registry.register(this._languageId,e))}}class Aa{constructor(e,n,s){this.offset=e,this.type=n,this.language=s,this._tokenBrand=void 0}toString(){return"("+this.offset+", "+this.type+")"}}var Xn;(function(t){t[t.Increase=0]="Increase",t[t.Decrease=1]="Decrease"})(Xn||(Xn={}));var Qn;(function(t){const e=new Map;e.set(0,M.symbolMethod),e.set(1,M.symbolFunction),e.set(2,M.symbolConstructor),e.set(3,M.symbolField),e.set(4,M.symbolVariable),e.set(5,M.symbolClass),e.set(6,M.symbolStruct),e.set(7,M.symbolInterface),e.set(8,M.symbolModule),e.set(9,M.symbolProperty),e.set(10,M.symbolEvent),e.set(11,M.symbolOperator),e.set(12,M.symbolUnit),e.set(13,M.symbolValue),e.set(15,M.symbolEnum),e.set(14,M.symbolConstant),e.set(15,M.symbolEnum),e.set(16,M.symbolEnumMember),e.set(17,M.symbolKeyword),e.set(27,M.symbolSnippet),e.set(18,M.symbolText),e.set(19,M.symbolColor),e.set(20,M.symbolFile),e.set(21,M.symbolReference),e.set(22,M.symbolCustomColor),e.set(23,M.symbolFolder),e.set(24,M.symbolTypeParameter),e.set(25,M.account),e.set(26,M.issues);function n(i){let o=e.get(i);return o||(console.info("No codicon found for CompletionItemKind "+i),o=M.symbolProperty),o}t.toIcon=n;const s=new Map;s.set("method",0),s.set("function",1),s.set("constructor",2),s.set("field",3),s.set("variable",4),s.set("class",5),s.set("struct",6),s.set("interface",7),s.set("module",8),s.set("property",9),s.set("event",10),s.set("operator",11),s.set("unit",12),s.set("value",13),s.set("constant",14),s.set("enum",15),s.set("enum-member",16),s.set("enumMember",16),s.set("keyword",17),s.set("snippet",27),s.set("text",18),s.set("color",19),s.set("file",20),s.set("reference",21),s.set("customcolor",22),s.set("folder",23),s.set("type-parameter",24),s.set("typeParameter",24),s.set("account",25),s.set("issue",26);function r(i,o){let l=s.get(i);return typeof l>"u"&&!o&&(l=9),l}t.fromString=r})(Qn||(Qn={}));var Yn;(function(t){t[t.Automatic=0]="Automatic",t[t.Explicit=1]="Explicit"})(Yn||(Yn={}));var Jn;(function(t){t[t.Automatic=0]="Automatic",t[t.PasteAs=1]="PasteAs"})(Jn||(Jn={}));var Zn;(function(t){t[t.Invoke=1]="Invoke",t[t.TriggerCharacter=2]="TriggerCharacter",t[t.ContentChange=3]="ContentChange"})(Zn||(Zn={}));var Kn;(function(t){t[t.Text=0]="Text",t[t.Read=1]="Read",t[t.Write=2]="Write"})(Kn||(Kn={}));z("Array","array"),z("Boolean","boolean"),z("Class","class"),z("Constant","constant"),z("Constructor","constructor"),z("Enum","enumeration"),z("EnumMember","enumeration member"),z("Event","event"),z("Field","field"),z("File","file"),z("Function","function"),z("Interface","interface"),z("Key","key"),z("Method","method"),z("Module","module"),z("Namespace","namespace"),z("Null","null"),z("Number","number"),z("Object","object"),z("Operator","operator"),z("Package","package"),z("Property","property"),z("String","string"),z("Struct","struct"),z("TypeParameter","type parameter"),z("Variable","variable");var es;(function(t){const e=new Map;e.set(0,M.symbolFile),e.set(1,M.symbolModule),e.set(2,M.symbolNamespace),e.set(3,M.symbolPackage),e.set(4,M.symbolClass),e.set(5,M.symbolMethod),e.set(6,M.symbolProperty),e.set(7,M.symbolField),e.set(8,M.symbolConstructor),e.set(9,M.symbolEnum),e.set(10,M.symbolInterface),e.set(11,M.symbolFunction),e.set(12,M.symbolVariable),e.set(13,M.symbolConstant),e.set(14,M.symbolString),e.set(15,M.symbolNumber),e.set(16,M.symbolBoolean),e.set(17,M.symbolArray),e.set(18,M.symbolObject),e.set(19,M.symbolKey),e.set(20,M.symbolNull),e.set(21,M.symbolEnumMember),e.set(22,M.symbolStruct),e.set(23,M.symbolEvent),e.set(24,M.symbolOperator),e.set(25,M.symbolTypeParameter);function n(s){let r=e.get(s);return r||(console.info("No codicon found for SymbolKind "+s),r=M.symbolProperty),r}t.toIcon=n})(es||(es={}));const oe=class oe{static fromValue(e){switch(e){case"comment":return oe.Comment;case"imports":return oe.Imports;case"region":return oe.Region}return new oe(e)}constructor(e){this.value=e}};oe.Comment=new oe("comment"),oe.Imports=new oe("imports"),oe.Region=new oe("region");let ts=oe;var ns;(function(t){t[t.AIGenerated=1]="AIGenerated"})(ns||(ns={}));var ss;(function(t){t[t.Invoke=0]="Invoke",t[t.Automatic=1]="Automatic"})(ss||(ss={}));var rs;(function(t){function e(n){return!n||typeof n!="object"?!1:typeof n.id=="string"&&typeof n.title=="string"}t.is=e})(rs||(rs={}));var is;(function(t){t[t.Type=1]="Type",t[t.Parameter=2]="Parameter"})(is||(is={}));new Hr;new Hr;var as;(function(t){t[t.Invoke=0]="Invoke",t[t.Automatic=1]="Automatic"})(as||(as={}));var os;(function(t){t[t.Unknown=0]="Unknown",t[t.Disabled=1]="Disabled",t[t.Enabled=2]="Enabled"})(os||(os={}));var ls;(function(t){t[t.Invoke=1]="Invoke",t[t.Auto=2]="Auto"})(ls||(ls={}));var us;(function(t){t[t.None=0]="None",t[t.KeepWhitespace=1]="KeepWhitespace",t[t.InsertAsSnippet=4]="InsertAsSnippet"})(us||(us={}));var cs;(function(t){t[t.Method=0]="Method",t[t.Function=1]="Function",t[t.Constructor=2]="Constructor",t[t.Field=3]="Field",t[t.Variable=4]="Variable",t[t.Class=5]="Class",t[t.Struct=6]="Struct",t[t.Interface=7]="Interface",t[t.Module=8]="Module",t[t.Property=9]="Property",t[t.Event=10]="Event",t[t.Operator=11]="Operator",t[t.Unit=12]="Unit",t[t.Value=13]="Value",t[t.Constant=14]="Constant",t[t.Enum=15]="Enum",t[t.EnumMember=16]="EnumMember",t[t.Keyword=17]="Keyword",t[t.Text=18]="Text",t[t.Color=19]="Color",t[t.File=20]="File",t[t.Reference=21]="Reference",t[t.Customcolor=22]="Customcolor",t[t.Folder=23]="Folder",t[t.TypeParameter=24]="TypeParameter",t[t.User=25]="User",t[t.Issue=26]="Issue",t[t.Snippet=27]="Snippet"})(cs||(cs={}));var hs;(function(t){t[t.Deprecated=1]="Deprecated"})(hs||(hs={}));var fs;(function(t){t[t.Invoke=0]="Invoke",t[t.TriggerCharacter=1]="TriggerCharacter",t[t.TriggerForIncompleteCompletions=2]="TriggerForIncompleteCompletions"})(fs||(fs={}));var ms;(function(t){t[t.EXACT=0]="EXACT",t[t.ABOVE=1]="ABOVE",t[t.BELOW=2]="BELOW"})(ms||(ms={}));var ds;(function(t){t[t.NotSet=0]="NotSet",t[t.ContentFlush=1]="ContentFlush",t[t.RecoverFromMarkers=2]="RecoverFromMarkers",t[t.Explicit=3]="Explicit",t[t.Paste=4]="Paste",t[t.Undo=5]="Undo",t[t.Redo=6]="Redo"})(ds||(ds={}));var gs;(function(t){t[t.LF=1]="LF",t[t.CRLF=2]="CRLF"})(gs||(gs={}));var ps;(function(t){t[t.Text=0]="Text",t[t.Read=1]="Read",t[t.Write=2]="Write"})(ps||(ps={}));var bs;(function(t){t[t.None=0]="None",t[t.Keep=1]="Keep",t[t.Brackets=2]="Brackets",t[t.Advanced=3]="Advanced",t[t.Full=4]="Full"})(bs||(bs={}));var ys;(function(t){t[t.acceptSuggestionOnCommitCharacter=0]="acceptSuggestionOnCommitCharacter",t[t.acceptSuggestionOnEnter=1]="acceptSuggestionOnEnter",t[t.accessibilitySupport=2]="accessibilitySupport",t[t.accessibilityPageSize=3]="accessibilityPageSize",t[t.ariaLabel=4]="ariaLabel",t[t.ariaRequired=5]="ariaRequired",t[t.autoClosingBrackets=6]="autoClosingBrackets",t[t.autoClosingComments=7]="autoClosingComments",t[t.screenReaderAnnounceInlineSuggestion=8]="screenReaderAnnounceInlineSuggestion",t[t.autoClosingDelete=9]="autoClosingDelete",t[t.autoClosingOvertype=10]="autoClosingOvertype",t[t.autoClosingQuotes=11]="autoClosingQuotes",t[t.autoIndent=12]="autoIndent",t[t.automaticLayout=13]="automaticLayout",t[t.autoSurround=14]="autoSurround",t[t.bracketPairColorization=15]="bracketPairColorization",t[t.guides=16]="guides",t[t.codeLens=17]="codeLens",t[t.codeLensFontFamily=18]="codeLensFontFamily",t[t.codeLensFontSize=19]="codeLensFontSize",t[t.colorDecorators=20]="colorDecorators",t[t.colorDecoratorsLimit=21]="colorDecoratorsLimit",t[t.columnSelection=22]="columnSelection",t[t.comments=23]="comments",t[t.contextmenu=24]="contextmenu",t[t.copyWithSyntaxHighlighting=25]="copyWithSyntaxHighlighting",t[t.cursorBlinking=26]="cursorBlinking",t[t.cursorSmoothCaretAnimation=27]="cursorSmoothCaretAnimation",t[t.cursorStyle=28]="cursorStyle",t[t.cursorSurroundingLines=29]="cursorSurroundingLines",t[t.cursorSurroundingLinesStyle=30]="cursorSurroundingLinesStyle",t[t.cursorWidth=31]="cursorWidth",t[t.disableLayerHinting=32]="disableLayerHinting",t[t.disableMonospaceOptimizations=33]="disableMonospaceOptimizations",t[t.domReadOnly=34]="domReadOnly",t[t.dragAndDrop=35]="dragAndDrop",t[t.dropIntoEditor=36]="dropIntoEditor",t[t.emptySelectionClipboard=37]="emptySelectionClipboard",t[t.experimentalWhitespaceRendering=38]="experimentalWhitespaceRendering",t[t.extraEditorClassName=39]="extraEditorClassName",t[t.fastScrollSensitivity=40]="fastScrollSensitivity",t[t.find=41]="find",t[t.fixedOverflowWidgets=42]="fixedOverflowWidgets",t[t.folding=43]="folding",t[t.foldingStrategy=44]="foldingStrategy",t[t.foldingHighlight=45]="foldingHighlight",t[t.foldingImportsByDefault=46]="foldingImportsByDefault",t[t.foldingMaximumRegions=47]="foldingMaximumRegions",t[t.unfoldOnClickAfterEndOfLine=48]="unfoldOnClickAfterEndOfLine",t[t.fontFamily=49]="fontFamily",t[t.fontInfo=50]="fontInfo",t[t.fontLigatures=51]="fontLigatures",t[t.fontSize=52]="fontSize",t[t.fontWeight=53]="fontWeight",t[t.fontVariations=54]="fontVariations",t[t.formatOnPaste=55]="formatOnPaste",t[t.formatOnType=56]="formatOnType",t[t.glyphMargin=57]="glyphMargin",t[t.gotoLocation=58]="gotoLocation",t[t.hideCursorInOverviewRuler=59]="hideCursorInOverviewRuler",t[t.hover=60]="hover",t[t.inDiffEditor=61]="inDiffEditor",t[t.inlineSuggest=62]="inlineSuggest",t[t.inlineEdit=63]="inlineEdit",t[t.letterSpacing=64]="letterSpacing",t[t.lightbulb=65]="lightbulb",t[t.lineDecorationsWidth=66]="lineDecorationsWidth",t[t.lineHeight=67]="lineHeight",t[t.lineNumbers=68]="lineNumbers",t[t.lineNumbersMinChars=69]="lineNumbersMinChars",t[t.linkedEditing=70]="linkedEditing",t[t.links=71]="links",t[t.matchBrackets=72]="matchBrackets",t[t.minimap=73]="minimap",t[t.mouseStyle=74]="mouseStyle",t[t.mouseWheelScrollSensitivity=75]="mouseWheelScrollSensitivity",t[t.mouseWheelZoom=76]="mouseWheelZoom",t[t.multiCursorMergeOverlapping=77]="multiCursorMergeOverlapping",t[t.multiCursorModifier=78]="multiCursorModifier",t[t.multiCursorPaste=79]="multiCursorPaste",t[t.multiCursorLimit=80]="multiCursorLimit",t[t.occurrencesHighlight=81]="occurrencesHighlight",t[t.overviewRulerBorder=82]="overviewRulerBorder",t[t.overviewRulerLanes=83]="overviewRulerLanes",t[t.padding=84]="padding",t[t.pasteAs=85]="pasteAs",t[t.parameterHints=86]="parameterHints",t[t.peekWidgetDefaultFocus=87]="peekWidgetDefaultFocus",t[t.placeholder=88]="placeholder",t[t.definitionLinkOpensInPeek=89]="definitionLinkOpensInPeek",t[t.quickSuggestions=90]="quickSuggestions",t[t.quickSuggestionsDelay=91]="quickSuggestionsDelay",t[t.readOnly=92]="readOnly",t[t.readOnlyMessage=93]="readOnlyMessage",t[t.renameOnType=94]="renameOnType",t[t.renderControlCharacters=95]="renderControlCharacters",t[t.renderFinalNewline=96]="renderFinalNewline",t[t.renderLineHighlight=97]="renderLineHighlight",t[t.renderLineHighlightOnlyWhenFocus=98]="renderLineHighlightOnlyWhenFocus",t[t.renderValidationDecorations=99]="renderValidationDecorations",t[t.renderWhitespace=100]="renderWhitespace",t[t.revealHorizontalRightPadding=101]="revealHorizontalRightPadding",t[t.roundedSelection=102]="roundedSelection",t[t.rulers=103]="rulers",t[t.scrollbar=104]="scrollbar",t[t.scrollBeyondLastColumn=105]="scrollBeyondLastColumn",t[t.scrollBeyondLastLine=106]="scrollBeyondLastLine",t[t.scrollPredominantAxis=107]="scrollPredominantAxis",t[t.selectionClipboard=108]="selectionClipboard",t[t.selectionHighlight=109]="selectionHighlight",t[t.selectOnLineNumbers=110]="selectOnLineNumbers",t[t.showFoldingControls=111]="showFoldingControls",t[t.showUnused=112]="showUnused",t[t.snippetSuggestions=113]="snippetSuggestions",t[t.smartSelect=114]="smartSelect",t[t.smoothScrolling=115]="smoothScrolling",t[t.stickyScroll=116]="stickyScroll",t[t.stickyTabStops=117]="stickyTabStops",t[t.stopRenderingLineAfter=118]="stopRenderingLineAfter",t[t.suggest=119]="suggest",t[t.suggestFontSize=120]="suggestFontSize",t[t.suggestLineHeight=121]="suggestLineHeight",t[t.suggestOnTriggerCharacters=122]="suggestOnTriggerCharacters",t[t.suggestSelection=123]="suggestSelection",t[t.tabCompletion=124]="tabCompletion",t[t.tabIndex=125]="tabIndex",t[t.unicodeHighlighting=126]="unicodeHighlighting",t[t.unusualLineTerminators=127]="unusualLineTerminators",t[t.useShadowDOM=128]="useShadowDOM",t[t.useTabStops=129]="useTabStops",t[t.wordBreak=130]="wordBreak",t[t.wordSegmenterLocales=131]="wordSegmenterLocales",t[t.wordSeparators=132]="wordSeparators",t[t.wordWrap=133]="wordWrap",t[t.wordWrapBreakAfterCharacters=134]="wordWrapBreakAfterCharacters",t[t.wordWrapBreakBeforeCharacters=135]="wordWrapBreakBeforeCharacters",t[t.wordWrapColumn=136]="wordWrapColumn",t[t.wordWrapOverride1=137]="wordWrapOverride1",t[t.wordWrapOverride2=138]="wordWrapOverride2",t[t.wrappingIndent=139]="wrappingIndent",t[t.wrappingStrategy=140]="wrappingStrategy",t[t.showDeprecated=141]="showDeprecated",t[t.inlayHints=142]="inlayHints",t[t.editorClassName=143]="editorClassName",t[t.pixelRatio=144]="pixelRatio",t[t.tabFocusMode=145]="tabFocusMode",t[t.layoutInfo=146]="layoutInfo",t[t.wrappingInfo=147]="wrappingInfo",t[t.defaultColorDecorators=148]="defaultColorDecorators",t[t.colorDecoratorsActivatedOn=149]="colorDecoratorsActivatedOn",t[t.inlineCompletionsAccessibilityVerbose=150]="inlineCompletionsAccessibilityVerbose"})(ys||(ys={}));var xs;(function(t){t[t.TextDefined=0]="TextDefined",t[t.LF=1]="LF",t[t.CRLF=2]="CRLF"})(xs||(xs={}));var _s;(function(t){t[t.LF=0]="LF",t[t.CRLF=1]="CRLF"})(_s||(_s={}));var ws;(function(t){t[t.Left=1]="Left",t[t.Center=2]="Center",t[t.Right=3]="Right"})(ws||(ws={}));var Ls;(function(t){t[t.Increase=0]="Increase",t[t.Decrease=1]="Decrease"})(Ls||(Ls={}));var vs;(function(t){t[t.None=0]="None",t[t.Indent=1]="Indent",t[t.IndentOutdent=2]="IndentOutdent",t[t.Outdent=3]="Outdent"})(vs||(vs={}));var Ns;(function(t){t[t.Both=0]="Both",t[t.Right=1]="Right",t[t.Left=2]="Left",t[t.None=3]="None"})(Ns||(Ns={}));var Ss;(function(t){t[t.Type=1]="Type",t[t.Parameter=2]="Parameter"})(Ss||(Ss={}));var Cs;(function(t){t[t.Automatic=0]="Automatic",t[t.Explicit=1]="Explicit"})(Cs||(Cs={}));var As;(function(t){t[t.Invoke=0]="Invoke",t[t.Automatic=1]="Automatic"})(As||(As={}));var hn;(function(t){t[t.DependsOnKbLayout=-1]="DependsOnKbLayout",t[t.Unknown=0]="Unknown",t[t.Backspace=1]="Backspace",t[t.Tab=2]="Tab",t[t.Enter=3]="Enter",t[t.Shift=4]="Shift",t[t.Ctrl=5]="Ctrl",t[t.Alt=6]="Alt",t[t.PauseBreak=7]="PauseBreak",t[t.CapsLock=8]="CapsLock",t[t.Escape=9]="Escape",t[t.Space=10]="Space",t[t.PageUp=11]="PageUp",t[t.PageDown=12]="PageDown",t[t.End=13]="End",t[t.Home=14]="Home",t[t.LeftArrow=15]="LeftArrow",t[t.UpArrow=16]="UpArrow",t[t.RightArrow=17]="RightArrow",t[t.DownArrow=18]="DownArrow",t[t.Insert=19]="Insert",t[t.Delete=20]="Delete",t[t.Digit0=21]="Digit0",t[t.Digit1=22]="Digit1",t[t.Digit2=23]="Digit2",t[t.Digit3=24]="Digit3",t[t.Digit4=25]="Digit4",t[t.Digit5=26]="Digit5",t[t.Digit6=27]="Digit6",t[t.Digit7=28]="Digit7",t[t.Digit8=29]="Digit8",t[t.Digit9=30]="Digit9",t[t.KeyA=31]="KeyA",t[t.KeyB=32]="KeyB",t[t.KeyC=33]="KeyC",t[t.KeyD=34]="KeyD",t[t.KeyE=35]="KeyE",t[t.KeyF=36]="KeyF",t[t.KeyG=37]="KeyG",t[t.KeyH=38]="KeyH",t[t.KeyI=39]="KeyI",t[t.KeyJ=40]="KeyJ",t[t.KeyK=41]="KeyK",t[t.KeyL=42]="KeyL",t[t.KeyM=43]="KeyM",t[t.KeyN=44]="KeyN",t[t.KeyO=45]="KeyO",t[t.KeyP=46]="KeyP",t[t.KeyQ=47]="KeyQ",t[t.KeyR=48]="KeyR",t[t.KeyS=49]="KeyS",t[t.KeyT=50]="KeyT",t[t.KeyU=51]="KeyU",t[t.KeyV=52]="KeyV",t[t.KeyW=53]="KeyW",t[t.KeyX=54]="KeyX",t[t.KeyY=55]="KeyY",t[t.KeyZ=56]="KeyZ",t[t.Meta=57]="Meta",t[t.ContextMenu=58]="ContextMenu",t[t.F1=59]="F1",t[t.F2=60]="F2",t[t.F3=61]="F3",t[t.F4=62]="F4",t[t.F5=63]="F5",t[t.F6=64]="F6",t[t.F7=65]="F7",t[t.F8=66]="F8",t[t.F9=67]="F9",t[t.F10=68]="F10",t[t.F11=69]="F11",t[t.F12=70]="F12",t[t.F13=71]="F13",t[t.F14=72]="F14",t[t.F15=73]="F15",t[t.F16=74]="F16",t[t.F17=75]="F17",t[t.F18=76]="F18",t[t.F19=77]="F19",t[t.F20=78]="F20",t[t.F21=79]="F21",t[t.F22=80]="F22",t[t.F23=81]="F23",t[t.F24=82]="F24",t[t.NumLock=83]="NumLock",t[t.ScrollLock=84]="ScrollLock",t[t.Semicolon=85]="Semicolon",t[t.Equal=86]="Equal",t[t.Comma=87]="Comma",t[t.Minus=88]="Minus",t[t.Period=89]="Period",t[t.Slash=90]="Slash",t[t.Backquote=91]="Backquote",t[t.BracketLeft=92]="BracketLeft",t[t.Backslash=93]="Backslash",t[t.BracketRight=94]="BracketRight",t[t.Quote=95]="Quote",t[t.OEM_8=96]="OEM_8",t[t.IntlBackslash=97]="IntlBackslash",t[t.Numpad0=98]="Numpad0",t[t.Numpad1=99]="Numpad1",t[t.Numpad2=100]="Numpad2",t[t.Numpad3=101]="Numpad3",t[t.Numpad4=102]="Numpad4",t[t.Numpad5=103]="Numpad5",t[t.Numpad6=104]="Numpad6",t[t.Numpad7=105]="Numpad7",t[t.Numpad8=106]="Numpad8",t[t.Numpad9=107]="Numpad9",t[t.NumpadMultiply=108]="NumpadMultiply",t[t.NumpadAdd=109]="NumpadAdd",t[t.NUMPAD_SEPARATOR=110]="NUMPAD_SEPARATOR",t[t.NumpadSubtract=111]="NumpadSubtract",t[t.NumpadDecimal=112]="NumpadDecimal",t[t.NumpadDivide=113]="NumpadDivide",t[t.KEY_IN_COMPOSITION=114]="KEY_IN_COMPOSITION",t[t.ABNT_C1=115]="ABNT_C1",t[t.ABNT_C2=116]="ABNT_C2",t[t.AudioVolumeMute=117]="AudioVolumeMute",t[t.AudioVolumeUp=118]="AudioVolumeUp",t[t.AudioVolumeDown=119]="AudioVolumeDown",t[t.BrowserSearch=120]="BrowserSearch",t[t.BrowserHome=121]="BrowserHome",t[t.BrowserBack=122]="BrowserBack",t[t.BrowserForward=123]="BrowserForward",t[t.MediaTrackNext=124]="MediaTrackNext",t[t.MediaTrackPrevious=125]="MediaTrackPrevious",t[t.MediaStop=126]="MediaStop",t[t.MediaPlayPause=127]="MediaPlayPause",t[t.LaunchMediaPlayer=128]="LaunchMediaPlayer",t[t.LaunchMail=129]="LaunchMail",t[t.LaunchApp2=130]="LaunchApp2",t[t.Clear=131]="Clear",t[t.MAX_VALUE=132]="MAX_VALUE"})(hn||(hn={}));var fn;(function(t){t[t.Hint=1]="Hint",t[t.Info=2]="Info",t[t.Warning=4]="Warning",t[t.Error=8]="Error"})(fn||(fn={}));var mn;(function(t){t[t.Unnecessary=1]="Unnecessary",t[t.Deprecated=2]="Deprecated"})(mn||(mn={}));var Rs;(function(t){t[t.Inline=1]="Inline",t[t.Gutter=2]="Gutter"})(Rs||(Rs={}));var Es;(function(t){t[t.Normal=1]="Normal",t[t.Underlined=2]="Underlined"})(Es||(Es={}));var Ms;(function(t){t[t.UNKNOWN=0]="UNKNOWN",t[t.TEXTAREA=1]="TEXTAREA",t[t.GUTTER_GLYPH_MARGIN=2]="GUTTER_GLYPH_MARGIN",t[t.GUTTER_LINE_NUMBERS=3]="GUTTER_LINE_NUMBERS",t[t.GUTTER_LINE_DECORATIONS=4]="GUTTER_LINE_DECORATIONS",t[t.GUTTER_VIEW_ZONE=5]="GUTTER_VIEW_ZONE",t[t.CONTENT_TEXT=6]="CONTENT_TEXT",t[t.CONTENT_EMPTY=7]="CONTENT_EMPTY",t[t.CONTENT_VIEW_ZONE=8]="CONTENT_VIEW_ZONE",t[t.CONTENT_WIDGET=9]="CONTENT_WIDGET",t[t.OVERVIEW_RULER=10]="OVERVIEW_RULER",t[t.SCROLLBAR=11]="SCROLLBAR",t[t.OVERLAY_WIDGET=12]="OVERLAY_WIDGET",t[t.OUTSIDE_EDITOR=13]="OUTSIDE_EDITOR"})(Ms||(Ms={}));var ks;(function(t){t[t.AIGenerated=1]="AIGenerated"})(ks||(ks={}));var Fs;(function(t){t[t.Invoke=0]="Invoke",t[t.Automatic=1]="Automatic"})(Fs||(Fs={}));var Ps;(function(t){t[t.TOP_RIGHT_CORNER=0]="TOP_RIGHT_CORNER",t[t.BOTTOM_RIGHT_CORNER=1]="BOTTOM_RIGHT_CORNER",t[t.TOP_CENTER=2]="TOP_CENTER"})(Ps||(Ps={}));var Ds;(function(t){t[t.Left=1]="Left",t[t.Center=2]="Center",t[t.Right=4]="Right",t[t.Full=7]="Full"})(Ds||(Ds={}));var Ts;(function(t){t[t.Word=0]="Word",t[t.Line=1]="Line",t[t.Suggest=2]="Suggest"})(Ts||(Ts={}));var Is;(function(t){t[t.Left=0]="Left",t[t.Right=1]="Right",t[t.None=2]="None",t[t.LeftOfInjectedText=3]="LeftOfInjectedText",t[t.RightOfInjectedText=4]="RightOfInjectedText"})(Is||(Is={}));var Vs;(function(t){t[t.Off=0]="Off",t[t.On=1]="On",t[t.Relative=2]="Relative",t[t.Interval=3]="Interval",t[t.Custom=4]="Custom"})(Vs||(Vs={}));var Bs;(function(t){t[t.None=0]="None",t[t.Text=1]="Text",t[t.Blocks=2]="Blocks"})(Bs||(Bs={}));var qs;(function(t){t[t.Smooth=0]="Smooth",t[t.Immediate=1]="Immediate"})(qs||(qs={}));var Us;(function(t){t[t.Auto=1]="Auto",t[t.Hidden=2]="Hidden",t[t.Visible=3]="Visible"})(Us||(Us={}));var dn;(function(t){t[t.LTR=0]="LTR",t[t.RTL=1]="RTL"})(dn||(dn={}));var Hs;(function(t){t.Off="off",t.OnCode="onCode",t.On="on"})(Hs||(Hs={}));var $s;(function(t){t[t.Invoke=1]="Invoke",t[t.TriggerCharacter=2]="TriggerCharacter",t[t.ContentChange=3]="ContentChange"})($s||($s={}));var Ws;(function(t){t[t.File=0]="File",t[t.Module=1]="Module",t[t.Namespace=2]="Namespace",t[t.Package=3]="Package",t[t.Class=4]="Class",t[t.Method=5]="Method",t[t.Property=6]="Property",t[t.Field=7]="Field",t[t.Constructor=8]="Constructor",t[t.Enum=9]="Enum",t[t.Interface=10]="Interface",t[t.Function=11]="Function",t[t.Variable=12]="Variable",t[t.Constant=13]="Constant",t[t.String=14]="String",t[t.Number=15]="Number",t[t.Boolean=16]="Boolean",t[t.Array=17]="Array",t[t.Object=18]="Object",t[t.Key=19]="Key",t[t.Null=20]="Null",t[t.EnumMember=21]="EnumMember",t[t.Struct=22]="Struct",t[t.Event=23]="Event",t[t.Operator=24]="Operator",t[t.TypeParameter=25]="TypeParameter"})(Ws||(Ws={}));var zs;(function(t){t[t.Deprecated=1]="Deprecated"})(zs||(zs={}));var Os;(function(t){t[t.Hidden=0]="Hidden",t[t.Blink=1]="Blink",t[t.Smooth=2]="Smooth",t[t.Phase=3]="Phase",t[t.Expand=4]="Expand",t[t.Solid=5]="Solid"})(Os||(Os={}));var js;(function(t){t[t.Line=1]="Line",t[t.Block=2]="Block",t[t.Underline=3]="Underline",t[t.LineThin=4]="LineThin",t[t.BlockOutline=5]="BlockOutline",t[t.UnderlineThin=6]="UnderlineThin"})(js||(js={}));var Gs;(function(t){t[t.AlwaysGrowsWhenTypingAtEdges=0]="AlwaysGrowsWhenTypingAtEdges",t[t.NeverGrowsWhenTypingAtEdges=1]="NeverGrowsWhenTypingAtEdges",t[t.GrowsOnlyWhenTypingBefore=2]="GrowsOnlyWhenTypingBefore",t[t.GrowsOnlyWhenTypingAfter=3]="GrowsOnlyWhenTypingAfter"})(Gs||(Gs={}));var Xs;(function(t){t[t.None=0]="None",t[t.Same=1]="Same",t[t.Indent=2]="Indent",t[t.DeepIndent=3]="DeepIndent"})(Xs||(Xs={}));const We=class We{static chord(e,n){return La(e,n)}};We.CtrlCmd=2048,We.Shift=1024,We.Alt=512,We.WinCtrl=256;let gn=We;function Ra(){return{editor:void 0,languages:void 0,CancellationTokenSource:ya,Emitter:le,KeyCode:hn,KeyMod:gn,Position:$,Range:k,Selection:ie,SelectionDirection:dn,MarkerSeverity:fn,MarkerTag:mn,Uri:re,Token:Aa}}const it=class it{static getChannel(e){return e.getChannel(it.CHANNEL_NAME)}static setChannel(e,n){e.setChannel(it.CHANNEL_NAME,n)}};it.CHANNEL_NAME="editorWorkerHost";let pn=it;var Qs;class Ea{constructor(){this[Qs]="LinkedMap",this._map=new Map,this._head=void 0,this._tail=void 0,this._size=0,this._state=0}clear(){this._map.clear(),this._head=void 0,this._tail=void 0,this._size=0,this._state++}isEmpty(){return!this._head&&!this._tail}get size(){return this._size}get first(){var e;return(e=this._head)==null?void 0:e.value}get last(){var e;return(e=this._tail)==null?void 0:e.value}has(e){return this._map.has(e)}get(e,n=0){const s=this._map.get(e);if(s)return n!==0&&this.touch(s,n),s.value}set(e,n,s=0){let r=this._map.get(e);if(r)r.value=n,s!==0&&this.touch(r,s);else{switch(r={key:e,value:n,next:void 0,previous:void 0},s){case 0:this.addItemLast(r);break;case 1:this.addItemFirst(r);break;case 2:this.addItemLast(r);break;default:this.addItemLast(r);break}this._map.set(e,r),this._size++}return this}delete(e){return!!this.remove(e)}remove(e){const n=this._map.get(e);if(n)return this._map.delete(e),this.removeItem(n),this._size--,n.value}shift(){if(!this._head&&!this._tail)return;if(!this._head||!this._tail)throw new Error("Invalid list");const e=this._head;return this._map.delete(e.key),this.removeItem(e),this._size--,e.value}forEach(e,n){const s=this._state;let r=this._head;for(;r;){if(n?e.bind(n)(r.value,r.key,this):e(r.value,r.key,this),this._state!==s)throw new Error("LinkedMap got modified during iteration.");r=r.next}}keys(){const e=this,n=this._state;let s=this._head;const r={[Symbol.iterator](){return r},next(){if(e._state!==n)throw new Error("LinkedMap got modified during iteration.");if(s){const i={value:s.key,done:!1};return s=s.next,i}else return{value:void 0,done:!0}}};return r}values(){const e=this,n=this._state;let s=this._head;const r={[Symbol.iterator](){return r},next(){if(e._state!==n)throw new Error("LinkedMap got modified during iteration.");if(s){const i={value:s.value,done:!1};return s=s.next,i}else return{value:void 0,done:!0}}};return r}entries(){const e=this,n=this._state;let s=this._head;const r={[Symbol.iterator](){return r},next(){if(e._state!==n)throw new Error("LinkedMap got modified during iteration.");if(s){const i={value:[s.key,s.value],done:!1};return s=s.next,i}else return{value:void 0,done:!0}}};return r}[(Qs=Symbol.toStringTag,Symbol.iterator)](){return this.entries()}trimOld(e){if(e>=this.size)return;if(e===0){this.clear();return}let n=this._head,s=this.size;for(;n&&s>e;)this._map.delete(n.key),n=n.next,s--;this._head=n,this._size=s,n&&(n.previous=void 0),this._state++}trimNew(e){if(e>=this.size)return;if(e===0){this.clear();return}let n=this._tail,s=this.size;for(;n&&s>e;)this._map.delete(n.key),n=n.previous,s--;this._tail=n,this._size=s,n&&(n.next=void 0),this._state++}addItemFirst(e){if(!this._head&&!this._tail)this._tail=e;else if(this._head)e.next=this._head,this._head.previous=e;else throw new Error("Invalid list");this._head=e,this._state++}addItemLast(e){if(!this._head&&!this._tail)this._head=e;else if(this._tail)e.previous=this._tail,this._tail.next=e;else throw new Error("Invalid list");this._tail=e,this._state++}removeItem(e){if(e===this._head&&e===this._tail)this._head=void 0,this._tail=void 0;else if(e===this._head){if(!e.next)throw new Error("Invalid list");e.next.previous=void 0,this._head=e.next}else if(e===this._tail){if(!e.previous)throw new Error("Invalid list");e.previous.next=void 0,this._tail=e.previous}else{const n=e.next,s=e.previous;if(!n||!s)throw new Error("Invalid list");n.previous=s,s.next=n}e.next=void 0,e.previous=void 0,this._state++}touch(e,n){if(!this._head||!this._tail)throw new Error("Invalid list");if(!(n!==1&&n!==2)){if(n===1){if(e===this._head)return;const s=e.next,r=e.previous;e===this._tail?(r.next=void 0,this._tail=r):(s.previous=r,r.next=s),e.previous=void 0,e.next=this._head,this._head.previous=e,this._head=e,this._state++}else if(n===2){if(e===this._tail)return;const s=e.next,r=e.previous;e===this._head?(s.previous=void 0,this._head=s):(s.previous=r,r.next=s),e.next=void 0,e.previous=this._tail,this._tail.next=e,this._tail=e,this._state++}}}toJSON(){const e=[];return this.forEach((n,s)=>{e.push([s,n])}),e}fromJSON(e){this.clear();for(const[n,s]of e)this.set(n,s)}}class Ma extends Ea{constructor(e,n=1){super(),this._limit=e,this._ratio=Math.min(Math.max(0,n),1)}get limit(){return this._limit}set limit(e){this._limit=e,this.checkTrim()}get(e,n=2){return super.get(e,n)}peek(e){return super.get(e,0)}set(e,n){return super.set(e,n,2),this}checkTrim(){this.size>this._limit&&this.trim(Math.round(this._limit*this._ratio))}}class ka extends Ma{constructor(e,n=1){super(e,n)}trim(e){this.trimOld(e)}set(e,n){return super.set(e,n),this.checkTrim(),this}}class Fa{constructor(){this.map=new Map}add(e,n){let s=this.map.get(e);s||(s=new Set,this.map.set(e,s)),s.add(n)}delete(e,n){const s=this.map.get(e);s&&(s.delete(n),s.size===0&&this.map.delete(e))}forEach(e,n){const s=this.map.get(e);s&&s.forEach(n)}get(e){const n=this.map.get(e);return n||new Set}}new ka(10);function Pa(t){let e=[];for(;Object.prototype!==t;)e=e.concat(Object.getOwnPropertyNames(t)),t=Object.getPrototypeOf(t);return e}function Ys(t){const e=[];for(const n of Pa(t))typeof t[n]=="function"&&e.push(n);return e}function Da(t,e){const n=r=>function(){const i=Array.prototype.slice.call(arguments,0);return e(r,i)},s={};for(const r of t)s[r]=n(r);return s}var Js;(function(t){t[t.Left=1]="Left",t[t.Center=2]="Center",t[t.Right=4]="Right",t[t.Full=7]="Full"})(Js||(Js={}));var Zs;(function(t){t[t.Left=1]="Left",t[t.Center=2]="Center",t[t.Right=3]="Right"})(Zs||(Zs={}));var Ks;(function(t){t[t.Both=0]="Both",t[t.Right=1]="Right",t[t.Left=2]="Left",t[t.None=3]="None"})(Ks||(Ks={}));function Ta(t,e,n,s,r){if(s===0)return!0;const i=e.charCodeAt(s-1);if(t.get(i)!==0||i===13||i===10)return!0;if(r>0){const o=e.charCodeAt(s);if(t.get(o)!==0)return!0}return!1}function Ia(t,e,n,s,r){if(s+r===n)return!0;const i=e.charCodeAt(s+r);if(t.get(i)!==0||i===13||i===10)return!0;if(r>0){const o=e.charCodeAt(s+r-1);if(t.get(o)!==0)return!0}return!1}function Va(t,e,n,s,r){return Ta(t,e,n,s,r)&&Ia(t,e,n,s,r)}class Ba{constructor(e,n){this._wordSeparators=e,this._searchRegex=n,this._prevMatchStartIndex=-1,this._prevMatchLength=0}reset(e){this._searchRegex.lastIndex=e,this._prevMatchStartIndex=-1,this._prevMatchLength=0}next(e){const n=e.length;let s;do{if(this._prevMatchStartIndex+this._prevMatchLength===n||(s=this._searchRegex.exec(e),!s))return null;const r=s.index,i=s[0].length;if(r===this._prevMatchStartIndex&&i===this._prevMatchLength){if(i===0){ki(e,n,this._searchRegex.lastIndex)>65535?this._searchRegex.lastIndex+=2:this._searchRegex.lastIndex+=1;continue}return null}if(this._prevMatchStartIndex=r,this._prevMatchLength=i,!this._wordSeparators||Va(this._wordSeparators,e,n,r,i))return s}while(s);return null}}function qa(t,e="Unreachable"){throw new Error(e)}function Mt(t){if(!t()){debugger;t(),tt(new ae("Assertion Failed"))}}function $r(t,e){let n=0;for(;n/?";function Ha(t=""){let e="(-?\\d*\\.\\d\\w*)|([^";for(const n of Ua)t.indexOf(n)>=0||(e+="\\"+n);return e+="\\s]+)",new RegExp(e,"g")}const Wr=Ha();function zr(t){let e=Wr;if(t&&t instanceof RegExp)if(t.global)e=t;else{let n="g";t.ignoreCase&&(n+="i"),t.multiline&&(n+="m"),t.unicode&&(n+="u"),e=new RegExp(t.source,n)}return e.lastIndex=0,e}const Or=new ii;Or.unshift({maxLen:1e3,windowSize:15,timeBudget:150});function Rn(t,e,n,s,r){if(e=zr(e),r||(r=Lt.first(Or)),n.length>r.maxLen){let c=t-r.maxLen/2;return c<0?c=0:s+=c,n=n.substring(c,t+r.maxLen/2),Rn(t,e,n,s,r)}const i=Date.now(),o=t-1-s;let l=-1,u=null;for(let c=1;!(Date.now()-i>=r.timeBudget);c++){const f=o-r.windowSize*c;e.lastIndex=Math.max(0,f);const h=$a(e,n,o,l);if(!h&&u||(u=h,f<=0))break;l=f}if(u){const c={word:u[0],startColumn:s+1+u.index,endColumn:s+1+u.index+u[0].length};return e.lastIndex=0,c}return null}function $a(t,e,n,s){let r;for(;r=t.exec(e);){const i=r.index||0;if(i<=n&&t.lastIndex>=n)return r;if(s>0&&i>s)return null}return null}class Wa{static computeUnicodeHighlights(e,n,s){const r=s?s.startLineNumber:1,i=s?s.endLineNumber:e.getLineCount(),o=new er(n),l=o.getCandidateCodePoints();let u;l==="allNonBasicAscii"?u=new RegExp("[^\\t\\n\\r\\x20-\\x7E]","g"):u=new RegExp(`${za(Array.from(l))}`,"g");const c=new Ba(null,u),f=[];let h=!1,m,d=0,g=0,p=0;e:for(let x=r,L=i;x<=L;x++){const N=e.getLineContent(x),v=N.length;c.reset(0);do if(m=c.next(N),m){let y=m.index,b=m.index+m[0].length;if(y>0){const B=N.charCodeAt(y-1);St(B)&&y--}if(b+1=1e3){h=!0;break e}f.push(new k(x,y+1,x,b+1))}}while(m)}return{ranges:f,hasMore:h,ambiguousCharacterCount:d,invisibleCharacterCount:g,nonBasicAsciiCharacterCount:p}}static computeUnicodeHighlightReason(e,n){const s=new er(n);switch(s.shouldHighlightNonBasicASCII(e,null)){case 0:return null;case 2:return{kind:1};case 3:{const i=e.codePointAt(0),o=s.ambiguousCharacters.getPrimaryConfusable(i),l=ut.getLocales().filter(u=>!ut.getInstance(new Set([...n.allowedLocales,u])).isAmbiguous(i));return{kind:0,confusableWith:String.fromCodePoint(o),notAmbiguousInLocales:l}}case 1:return{kind:2}}}}function za(t,e){return`[${Ai(t.map(s=>String.fromCodePoint(s)).join(""))}]`}class er{constructor(e){this.options=e,this.allowedCodePoints=new Set(e.allowedCodePoints),this.ambiguousCharacters=ut.getInstance(new Set(e.allowedLocales))}getCandidateCodePoints(){if(this.options.nonBasicASCII)return"allNonBasicAscii";const e=new Set;if(this.options.invisibleCharacters)for(const n of nt.codePoints)tr(String.fromCodePoint(n))||e.add(n);if(this.options.ambiguousCharacters)for(const n of this.ambiguousCharacters.getConfusableCodePoints())e.add(n);for(const n of this.allowedCodePoints)e.delete(n);return e}shouldHighlightNonBasicASCII(e,n){const s=e.codePointAt(0);if(this.allowedCodePoints.has(s))return 0;if(this.options.nonBasicASCII)return 1;let r=!1,i=!1;if(n)for(const o of n){const l=o.codePointAt(0),u=Pi(o);r=r||u,!u&&!this.ambiguousCharacters.isAmbiguous(l)&&!nt.isInvisibleCharacter(l)&&(i=!0)}return!r&&i?0:this.options.invisibleCharacters&&!tr(e)&&nt.isInvisibleCharacter(s)?2:this.options.ambiguousCharacters&&this.ambiguousCharacters.isAmbiguous(s)?3:0}}function tr(t){return t===" "||t===` +`||t===" "}class yt{constructor(e,n,s){this.changes=e,this.moves=n,this.hitTimeout=s}}class Oa{constructor(e,n){this.lineRangeMapping=e,this.changes=n}}class V{static addRange(e,n){let s=0;for(;sn))return new V(e,n)}static ofLength(e){return new V(0,e)}static ofStartAndLength(e,n){return new V(e,e+n)}constructor(e,n){if(this.start=e,this.endExclusive=n,e>n)throw new ae(`Invalid range: ${this.toString()}`)}get isEmpty(){return this.start===this.endExclusive}delta(e){return new V(this.start+e,this.endExclusive+e)}deltaStart(e){return new V(this.start+e,this.endExclusive)}deltaEnd(e){return new V(this.start,this.endExclusive+e)}get length(){return this.endExclusive-this.start}toString(){return`[${this.start}, ${this.endExclusive})`}contains(e){return this.start<=e&&e=e.endExclusive}slice(e){return e.slice(this.start,this.endExclusive)}substring(e){return e.substring(this.start,this.endExclusive)}clip(e){if(this.isEmpty)throw new ae(`Invalid clipping range: ${this.toString()}`);return Math.max(this.start,Math.min(this.endExclusive-1,e))}clipCyclic(e){if(this.isEmpty)throw new ae(`Invalid clipping range: ${this.toString()}`);return e=this.endExclusive?this.start+(e-this.start)%this.length:e}forEach(e){for(let n=this.start;nn)throw new ae(`startLineNumber ${e} cannot be after endLineNumberExclusive ${n}`);this.startLineNumber=e,this.endLineNumberExclusive=n}contains(e){return this.startLineNumber<=e&&er.endLineNumberExclusive>=e.startLineNumber),s=ct(this._normalizedRanges,r=>r.startLineNumber<=e.endLineNumberExclusive)+1;if(n===s)this._normalizedRanges.splice(n,0,e);else if(n===s-1){const r=this._normalizedRanges[n];this._normalizedRanges[n]=r.join(e)}else{const r=this._normalizedRanges[n].join(this._normalizedRanges[s-1]).join(e);this._normalizedRanges.splice(n,s-n,r)}}contains(e){const n=Qe(this._normalizedRanges,s=>s.startLineNumber<=e);return!!n&&n.endLineNumberExclusive>e}intersects(e){const n=Qe(this._normalizedRanges,s=>s.startLineNumbere.startLineNumber}getUnion(e){if(this._normalizedRanges.length===0)return e;if(e._normalizedRanges.length===0)return this;const n=[];let s=0,r=0,i=null;for(;s=o.startLineNumber?i=new D(i.startLineNumber,Math.max(i.endLineNumberExclusive,o.endLineNumberExclusive)):(n.push(i),i=o)}return i!==null&&n.push(i),new ge(n)}subtractFrom(e){const n=bn(this._normalizedRanges,o=>o.endLineNumberExclusive>=e.startLineNumber),s=ct(this._normalizedRanges,o=>o.startLineNumber<=e.endLineNumberExclusive)+1;if(n===s)return new ge([e]);const r=[];let i=e.startLineNumber;for(let o=n;oi&&r.push(new D(i,l.startLineNumber)),i=l.endLineNumberExclusive}return ie.toString()).join(", ")}getIntersection(e){const n=[];let s=0,r=0;for(;sn.delta(e)))}}const Se=class Se{static betweenPositions(e,n){return e.lineNumber===n.lineNumber?new Se(0,n.column-e.column):new Se(n.lineNumber-e.lineNumber,n.column-1)}static ofRange(e){return Se.betweenPositions(e.getStartPosition(),e.getEndPosition())}static ofText(e){let n=0,s=0;for(const r of e)r===` +`?(n++,s=0):s++;return new Se(n,s)}constructor(e,n){this.lineCount=e,this.columnCount=n}isGreaterThanOrEqualTo(e){return this.lineCount!==e.lineCount?this.lineCount>e.lineCount:this.columnCount>=e.columnCount}createRange(e){return this.lineCount===0?new k(e.lineNumber,e.column,e.lineNumber,e.column+this.columnCount):new k(e.lineNumber,e.column,e.lineNumber+this.lineCount,this.columnCount+1)}addToPosition(e){return this.lineCount===0?new $(e.lineNumber,e.column+this.columnCount):new $(e.lineNumber+this.lineCount,this.columnCount+1)}toString(){return`${this.lineCount},${this.columnCount}`}};Se.zero=new Se(0,0);let nr=Se;class Ga{constructor(e,n){this.range=e,this.text=n}toSingleEditOperation(){return{range:this.range,text:this.text}}}class ce{static inverse(e,n,s){const r=[];let i=1,o=1;for(const u of e){const c=new ce(new D(i,u.original.startLineNumber),new D(o,u.modified.startLineNumber));c.modified.isEmpty||r.push(c),i=u.original.endLineNumberExclusive,o=u.modified.endLineNumberExclusive}const l=new ce(new D(i,n+1),new D(o,s+1));return l.modified.isEmpty||r.push(l),r}static clip(e,n,s){const r=[];for(const i of e){const o=i.original.intersect(n),l=i.modified.intersect(s);o&&!o.isEmpty&&l&&!l.isEmpty&&r.push(new ce(o,l))}return r}constructor(e,n){this.original=e,this.modified=n}toString(){return`{${this.original.toString()}->${this.modified.toString()}}`}flip(){return new ce(this.modified,this.original)}join(e){return new ce(this.original.join(e.original),this.modified.join(e.modified))}toRangeMapping(){const e=this.original.toInclusiveRange(),n=this.modified.toInclusiveRange();if(e&&n)return new me(e,n);if(this.original.startLineNumber===1||this.modified.startLineNumber===1){if(!(this.modified.startLineNumber===1&&this.original.startLineNumber===1))throw new ae("not a valid diff");return new me(new k(this.original.startLineNumber,1,this.original.endLineNumberExclusive,1),new k(this.modified.startLineNumber,1,this.modified.endLineNumberExclusive,1))}else return new me(new k(this.original.startLineNumber-1,Number.MAX_SAFE_INTEGER,this.original.endLineNumberExclusive-1,Number.MAX_SAFE_INTEGER),new k(this.modified.startLineNumber-1,Number.MAX_SAFE_INTEGER,this.modified.endLineNumberExclusive-1,Number.MAX_SAFE_INTEGER))}toRangeMapping2(e,n){if(sr(this.original.endLineNumberExclusive,e)&&sr(this.modified.endLineNumberExclusive,n))return new me(new k(this.original.startLineNumber,1,this.original.endLineNumberExclusive,1),new k(this.modified.startLineNumber,1,this.modified.endLineNumberExclusive,1));if(!this.original.isEmpty&&!this.modified.isEmpty)return new me(k.fromPositions(new $(this.original.startLineNumber,1),Ve(new $(this.original.endLineNumberExclusive-1,Number.MAX_SAFE_INTEGER),e)),k.fromPositions(new $(this.modified.startLineNumber,1),Ve(new $(this.modified.endLineNumberExclusive-1,Number.MAX_SAFE_INTEGER),n)));if(this.original.startLineNumber>1&&this.modified.startLineNumber>1)return new me(k.fromPositions(Ve(new $(this.original.startLineNumber-1,Number.MAX_SAFE_INTEGER),e),Ve(new $(this.original.endLineNumberExclusive-1,Number.MAX_SAFE_INTEGER),e)),k.fromPositions(Ve(new $(this.modified.startLineNumber-1,Number.MAX_SAFE_INTEGER),n),Ve(new $(this.modified.endLineNumberExclusive-1,Number.MAX_SAFE_INTEGER),n)));throw new ae}}function Ve(t,e){if(t.lineNumber<1)return new $(1,1);if(t.lineNumber>e.length)return new $(e.length,e[e.length-1].length+1);const n=e[t.lineNumber-1];return t.column>n.length+1?new $(t.lineNumber,n.length+1):t}function sr(t,e){return t>=1&&t<=e.length}class xe extends ce{static fromRangeMappings(e){const n=D.join(e.map(r=>D.fromRangeInclusive(r.originalRange))),s=D.join(e.map(r=>D.fromRangeInclusive(r.modifiedRange)));return new xe(n,s,e)}constructor(e,n,s){super(e,n),this.innerChanges=s}flip(){var e;return new xe(this.modified,this.original,(e=this.innerChanges)==null?void 0:e.map(n=>n.flip()))}withInnerChangesFromLineRanges(){return new xe(this.original,this.modified,[this.toRangeMapping()])}}class me{static assertSorted(e){for(let n=1;n${this.modifiedRange.toString()}}`}flip(){return new me(this.modifiedRange,this.originalRange)}toTextEdit(e){const n=e.getValueOfRange(this.modifiedRange);return new Ga(this.originalRange,n)}}const Xa=3;class Qa{computeDiff(e,n,s){var u;const i=new Za(e,n,{maxComputationTime:s.maxComputationTimeMs,shouldIgnoreTrimWhitespace:s.ignoreTrimWhitespace,shouldComputeCharChanges:!0,shouldMakePrettyDiff:!0,shouldPostProcessCharChanges:!0}).computeDiff(),o=[];let l=null;for(const c of i.changes){let f;c.originalEndLineNumber===0?f=new D(c.originalStartLineNumber+1,c.originalStartLineNumber+1):f=new D(c.originalStartLineNumber,c.originalEndLineNumber+1);let h;c.modifiedEndLineNumber===0?h=new D(c.modifiedStartLineNumber+1,c.modifiedStartLineNumber+1):h=new D(c.modifiedStartLineNumber,c.modifiedEndLineNumber+1);let m=new xe(f,h,(u=c.charChanges)==null?void 0:u.map(d=>new me(new k(d.originalStartLineNumber,d.originalStartColumn,d.originalEndLineNumber,d.originalEndColumn),new k(d.modifiedStartLineNumber,d.modifiedStartColumn,d.modifiedEndLineNumber,d.modifiedEndColumn))));l&&(l.modified.endLineNumberExclusive===m.modified.startLineNumber||l.original.endLineNumberExclusive===m.original.startLineNumber)&&(m=new xe(l.original.join(m.original),l.modified.join(m.modified),l.innerChanges&&m.innerChanges?l.innerChanges.concat(m.innerChanges):void 0),o.pop()),o.push(m),l=m}return Mt(()=>$r(o,(c,f)=>f.original.startLineNumber-c.original.endLineNumberExclusive===f.modified.startLineNumber-c.modified.endLineNumberExclusive&&c.original.endLineNumberExclusive(e===10?"\\n":String.fromCharCode(e))+`-(${this._lineNumbers[n]},${this._columns[n]})`).join(", ")+"]"}_assertIndex(e,n){if(e<0||e>=n.length)throw new Error("Illegal index")}getElements(){return this._charCodes}getStartLineNumber(e){return e>0&&e===this._lineNumbers.length?this.getEndLineNumber(e-1):(this._assertIndex(e,this._lineNumbers),this._lineNumbers[e])}getEndLineNumber(e){return e===-1?this.getStartLineNumber(e+1):(this._assertIndex(e,this._lineNumbers),this._charCodes[e]===10?this._lineNumbers[e]+1:this._lineNumbers[e])}getStartColumn(e){return e>0&&e===this._columns.length?this.getEndColumn(e-1):(this._assertIndex(e,this._columns),this._columns[e])}getEndColumn(e){return e===-1?this.getStartColumn(e+1):(this._assertIndex(e,this._columns),this._charCodes[e]===10?1:this._columns[e]+1)}}class je{constructor(e,n,s,r,i,o,l,u){this.originalStartLineNumber=e,this.originalStartColumn=n,this.originalEndLineNumber=s,this.originalEndColumn=r,this.modifiedStartLineNumber=i,this.modifiedStartColumn=o,this.modifiedEndLineNumber=l,this.modifiedEndColumn=u}static createFromDiffChange(e,n,s){const r=n.getStartLineNumber(e.originalStart),i=n.getStartColumn(e.originalStart),o=n.getEndLineNumber(e.originalStart+e.originalLength-1),l=n.getEndColumn(e.originalStart+e.originalLength-1),u=s.getStartLineNumber(e.modifiedStart),c=s.getStartColumn(e.modifiedStart),f=s.getEndLineNumber(e.modifiedStart+e.modifiedLength-1),h=s.getEndColumn(e.modifiedStart+e.modifiedLength-1);return new je(r,i,o,l,u,c,f,h)}}function Ja(t){if(t.length<=1)return t;const e=[t[0]];let n=e[0];for(let s=1,r=t.length;s0&&n.originalLength<20&&n.modifiedLength>0&&n.modifiedLength<20&&i()){const d=s.createCharSequence(e,n.originalStart,n.originalStart+n.originalLength-1),g=r.createCharSequence(e,n.modifiedStart,n.modifiedStart+n.modifiedLength-1);if(d.getElements().length>0&&g.getElements().length>0){let p=jr(d,g,i,!0).changes;l&&(p=Ja(p)),m=[];for(let x=0,L=p.length;x1&&p>1;){const x=m.charCodeAt(g-2),L=d.charCodeAt(p-2);if(x!==L)break;g--,p--}(g>1||p>1)&&this._pushTrimWhitespaceCharChange(r,i+1,1,g,o+1,1,p)}{let g=xn(m,1),p=xn(d,1);const x=m.length+1,L=d.length+1;for(;g!0;const e=Date.now();return()=>Date.now()-es===r){if(t===e)return!0;if(!t||!e||t.length!==e.length)return!1;for(let s=0,r=t.length;s0}t.isGreaterThan=s;function r(i){return i===0}t.isNeitherLessOrGreaterThan=r,t.greaterThan=1,t.lessThan=-1,t.neitherLessOrGreaterThan=0})(_n||(_n={}));function xt(t,e){return(n,s)=>e(t(n),t(s))}const _t=(t,e)=>t-e;function r1(t){return(e,n)=>-t(e,n)}const ze=class ze{constructor(e){this.iterate=e}toArray(){const e=[];return this.iterate(n=>(e.push(n),!0)),e}filter(e){return new ze(n=>this.iterate(s=>e(s)?n(s):!0))}map(e){return new ze(n=>this.iterate(s=>n(e(s))))}findLast(e){let n;return this.iterate(s=>(e(s)&&(n=s),!0)),n}findLastMaxBy(e){let n,s=!0;return this.iterate(r=>((s||_n.isGreaterThan(e(r,n)))&&(s=!1,n=r),!0)),n}};ze.empty=new ze(e=>{});let ar=ze;class _e{static trivial(e,n){return new _e([new j(V.ofLength(e.length),V.ofLength(n.length))],!1)}static trivialTimedOut(e,n){return new _e([new j(V.ofLength(e.length),V.ofLength(n.length))],!0)}constructor(e,n){this.diffs=e,this.hitTimeout=n}}class j{static invert(e,n){const s=[];return t1(e,(r,i)=>{s.push(j.fromOffsetPairs(r?r.getEndExclusives():be.zero,i?i.getStarts():new be(n,(r?r.seq2Range.endExclusive-r.seq1Range.endExclusive:0)+n)))}),s}static fromOffsetPairs(e,n){return new j(new V(e.offset1,n.offset1),new V(e.offset2,n.offset2))}static assertSorted(e){let n;for(const s of e){if(n&&!(n.seq1Range.endExclusive<=s.seq1Range.start&&n.seq2Range.endExclusive<=s.seq2Range.start))throw new ae("Sequence diffs must be sorted");n=s}}constructor(e,n){this.seq1Range=e,this.seq2Range=n}swap(){return new j(this.seq2Range,this.seq1Range)}toString(){return`${this.seq1Range} <-> ${this.seq2Range}`}join(e){return new j(this.seq1Range.join(e.seq1Range),this.seq2Range.join(e.seq2Range))}delta(e){return e===0?this:new j(this.seq1Range.delta(e),this.seq2Range.delta(e))}deltaStart(e){return e===0?this:new j(this.seq1Range.deltaStart(e),this.seq2Range.deltaStart(e))}deltaEnd(e){return e===0?this:new j(this.seq1Range.deltaEnd(e),this.seq2Range.deltaEnd(e))}intersect(e){const n=this.seq1Range.intersect(e.seq1Range),s=this.seq2Range.intersect(e.seq2Range);if(!(!n||!s))return new j(n,s)}getStarts(){return new be(this.seq1Range.start,this.seq2Range.start)}getEndExclusives(){return new be(this.seq1Range.endExclusive,this.seq2Range.endExclusive)}}const ke=class ke{constructor(e,n){this.offset1=e,this.offset2=n}toString(){return`${this.offset1} <-> ${this.offset2}`}delta(e){return e===0?this:new ke(this.offset1+e,this.offset2+e)}equals(e){return this.offset1===e.offset1&&this.offset2===e.offset2}};ke.zero=new ke(0,0),ke.max=new ke(Number.MAX_SAFE_INTEGER,Number.MAX_SAFE_INTEGER);let be=ke;const qt=class qt{isValid(){return!0}};qt.instance=new qt;let ht=qt;class i1{constructor(e){if(this.timeout=e,this.startTime=Date.now(),this.valid=!0,e<=0)throw new ae("timeout must be positive")}isValid(){if(!(Date.now()-this.startTime0&&p>0&&o.get(g-1,p-1)===3&&(N+=l.get(g-1,p-1)),N+=r?r(g,p):1):N=-1;const v=Math.max(x,L,N);if(v===N){const y=g>0&&p>0?l.get(g-1,p-1):0;l.set(g,p,y+1),o.set(g,p,3)}else v===x?(l.set(g,p,0),o.set(g,p,1)):v===L&&(l.set(g,p,0),o.set(g,p,2));i.set(g,p,v)}const u=[];let c=e.length,f=n.length;function h(g,p){(g+1!==c||p+1!==f)&&u.push(new j(new V(g+1,c),new V(p+1,f))),c=g,f=p}let m=e.length-1,d=n.length-1;for(;m>=0&&d>=0;)o.get(m,d)===3?(h(m,d),m--,d--):o.get(m,d)===1?m--:d--;return h(-1,-1),u.reverse(),new _e(u,!1)}}class Gr{compute(e,n,s=ht.instance){if(e.length===0||n.length===0)return _e.trivial(e,n);const r=e,i=n;function o(p,x){for(;pr.length||y>i.length)continue;const b=o(v,y);u.set(f,b);const w=v===L?c.get(f+1):c.get(f-1);if(c.set(f,b!==v?new or(w,v,y,b-v):w),u.get(f)===r.length&&u.get(f)-f===i.length)break e}}let h=c.get(f);const m=[];let d=r.length,g=i.length;for(;;){const p=h?h.x+h.length:0,x=h?h.y+h.length:0;if((p!==d||x!==g)&&m.push(new j(new V(p,d),new V(x,g))),!h)break;d=h.x,g=h.y,h=h.prev}return m.reverse(),new _e(m,!1)}}class or{constructor(e,n,s,r){this.prev=e,this.x=n,this.y=s,this.length=r}}class o1{constructor(){this.positiveArr=new Int32Array(10),this.negativeArr=new Int32Array(10)}get(e){return e<0?(e=-e-1,this.negativeArr[e]):this.positiveArr[e]}set(e,n){if(e<0){if(e=-e-1,e>=this.negativeArr.length){const s=this.negativeArr;this.negativeArr=new Int32Array(s.length*2),this.negativeArr.set(s)}this.negativeArr[e]=n}else{if(e>=this.positiveArr.length){const s=this.positiveArr;this.positiveArr=new Int32Array(s.length*2),this.positiveArr.set(s)}this.positiveArr[e]=n}}}class l1{constructor(){this.positiveArr=[],this.negativeArr=[]}get(e){return e<0?(e=-e-1,this.negativeArr[e]):this.positiveArr[e]}set(e,n){e<0?(e=-e-1,this.negativeArr[e]=n):this.positiveArr[e]=n}}class Pt{constructor(e,n,s){this.lines=e,this.range=n,this.considerWhitespaceChanges=s,this.elements=[],this.firstElementOffsetByLineIdx=[],this.lineStartOffsets=[],this.trimmedWsLengthsByLineIdx=[],this.firstElementOffsetByLineIdx.push(0);for(let r=this.range.startLineNumber;r<=this.range.endLineNumber;r++){let i=e[r-1],o=0;r===this.range.startLineNumber&&this.range.startColumn>1&&(o=this.range.startColumn-1,i=i.substring(o)),this.lineStartOffsets.push(o);let l=0;if(!s){const c=i.trimStart();l=i.length-c.length,i=c.trimEnd()}this.trimmedWsLengthsByLineIdx.push(l);const u=r===this.range.endLineNumber?Math.min(this.range.endColumn-1-o-l,i.length):i.length;for(let c=0;cString.fromCharCode(n)).join("")}getElement(e){return this.elements[e]}get length(){return this.elements.length}getBoundaryScore(e){const n=ur(e>0?this.elements[e-1]:-1),s=ur(ei<=e),r=e-this.firstElementOffsetByLineIdx[s];return new $(this.range.startLineNumber+s,1+this.lineStartOffsets[s]+r+(r===0&&n==="left"?0:this.trimmedWsLengthsByLineIdx[s]))}translateRange(e){const n=this.translateOffset(e.start,"right"),s=this.translateOffset(e.endExclusive,"left");return s.isBefore(n)?k.fromPositions(s,s):k.fromPositions(n,s)}findWordContaining(e){if(e<0||e>=this.elements.length||!Yt(this.elements[e]))return;let n=e;for(;n>0&&Yt(this.elements[n-1]);)n--;let s=e;for(;sr<=e.start)??0,s=ja(this.firstElementOffsetByLineIdx,r=>e.endExclusive<=r)??this.elements.length;return new V(n,s)}}function Yt(t){return t>=97&&t<=122||t>=65&&t<=90||t>=48&&t<=57}const u1={0:0,1:0,2:0,3:10,4:2,5:30,6:3,7:10,8:10};function lr(t){return u1[t]}function ur(t){return t===10?8:t===13?7:wn(t)?6:t>=97&&t<=122?0:t>=65&&t<=90?1:t>=48&&t<=57?2:t===-1?3:t===44||t===59?5:4}function c1(t,e,n,s,r,i){let{moves:o,excludedChanges:l}=f1(t,e,n,i);if(!i.isValid())return[];const u=t.filter(f=>!l.has(f)),c=m1(u,s,r,e,n,i);return s1(o,c),o=d1(o),o=o.filter(f=>{const h=f.original.toOffsetRange().slice(e).map(d=>d.trim());return h.join(` +`).length>=15&&h1(h,d=>d.length>=2)>=2}),o=g1(t,o),o}function h1(t,e){let n=0;for(const s of t)e(s)&&n++;return n}function f1(t,e,n,s){const r=[],i=t.filter(u=>u.modified.isEmpty&&u.original.length>=3).map(u=>new Ft(u.original,e,u)),o=new Set(t.filter(u=>u.original.isEmpty&&u.modified.length>=3).map(u=>new Ft(u.modified,n,u))),l=new Set;for(const u of i){let c=-1,f;for(const h of o){const m=u.computeSimilarity(h);m>c&&(c=m,f=h)}if(c>.9&&f&&(o.delete(f),r.push(new ce(u.range,f.range)),l.add(u.source),l.add(f.source)),!s.isValid())return{moves:r,excludedChanges:l}}return{moves:r,excludedChanges:l}}function m1(t,e,n,s,r,i){const o=[],l=new Fa;for(const m of t)for(let d=m.original.startLineNumber;dm.modified.startLineNumber,_t));for(const m of t){let d=[];for(let g=m.modified.startLineNumber;g{for(const y of d)if(y.originalLineRange.endLineNumberExclusive+1===N.endLineNumberExclusive&&y.modifiedLineRange.endLineNumberExclusive+1===x.endLineNumberExclusive){y.originalLineRange=new D(y.originalLineRange.startLineNumber,N.endLineNumberExclusive),y.modifiedLineRange=new D(y.modifiedLineRange.startLineNumber,x.endLineNumberExclusive),L.push(y);return}const v={modifiedLineRange:x,originalLineRange:N};u.push(v),L.push(v)}),d=L}if(!i.isValid())return[]}u.sort(r1(xt(m=>m.modifiedLineRange.length,_t)));const c=new ge,f=new ge;for(const m of u){const d=m.modifiedLineRange.startLineNumber-m.originalLineRange.startLineNumber,g=c.subtractFrom(m.modifiedLineRange),p=f.subtractFrom(m.originalLineRange).getWithDelta(d),x=g.getIntersection(p);for(const L of x.ranges){if(L.length<3)continue;const N=L,v=L.delta(-d);o.push(new ce(v,N)),c.addRange(N),f.addRange(v)}}o.sort(xt(m=>m.original.startLineNumber,_t));const h=new kt(t);for(let m=0;mw.original.startLineNumber<=d.original.startLineNumber),p=Qe(t,w=>w.modified.startLineNumber<=d.modified.startLineNumber),x=Math.max(d.original.startLineNumber-g.original.startLineNumber,d.modified.startLineNumber-p.modified.startLineNumber),L=h.findLastMonotonous(w=>w.original.startLineNumberw.modified.startLineNumbers.length||C>r.length||c.contains(C)||f.contains(w)||!cr(s[w-1],r[C-1],i))break}y>0&&(f.addRange(new D(d.original.startLineNumber-y,d.original.startLineNumber)),c.addRange(new D(d.modified.startLineNumber-y,d.modified.startLineNumber)));let b;for(b=0;bs.length||C>r.length||c.contains(C)||f.contains(w)||!cr(s[w-1],r[C-1],i))break}b>0&&(f.addRange(new D(d.original.endLineNumberExclusive,d.original.endLineNumberExclusive+b)),c.addRange(new D(d.modified.endLineNumberExclusive,d.modified.endLineNumberExclusive+b))),(y>0||b>0)&&(o[m]=new ce(new D(d.original.startLineNumber-y,d.original.endLineNumberExclusive+b),new D(d.modified.startLineNumber-y,d.modified.endLineNumberExclusive+b)))}return o}function cr(t,e,n){if(t.trim()===e.trim())return!0;if(t.length>300&&e.length>300)return!1;const r=new Gr().compute(new Pt([t],new k(1,1,1,t.length),!1),new Pt([e],new k(1,1,1,e.length),!1),n);let i=0;const o=j.invert(r.diffs,t.length);for(const f of o)f.seq1Range.forEach(h=>{wn(t.charCodeAt(h))||i++});function l(f){let h=0;for(let m=0;me.length?t:e);return i/u>.6&&u>10}function d1(t){if(t.length===0)return t;t.sort(xt(n=>n.original.startLineNumber,_t));const e=[t[0]];for(let n=1;n=0&&o>=0&&i+o<=2){e[e.length-1]=s.join(r);continue}e.push(r)}return e}function g1(t,e){const n=new kt(t);return e=e.filter(s=>{const r=n.findLastMonotonous(l=>l.original.startLineNumberl.modified.startLineNumber0&&(l=l.delta(c))}r.push(l)}return s.length>0&&r.push(s[s.length-1]),r}function p1(t,e,n){if(!t.getBoundaryScore||!e.getBoundaryScore)return n;for(let s=0;s0?n[s-1]:void 0,i=n[s],o=s+1=s.start&&t.seq2Range.start-o>=r.start&&n.isStronglyEqual(t.seq2Range.start-o,t.seq2Range.endExclusive-o)&&o<100;)o++;o--;let l=0;for(;t.seq1Range.start+lc&&(c=g,u=f)}return t.delta(u)}function b1(t,e,n){const s=[];for(const r of n){const i=s[s.length-1];if(!i){s.push(r);continue}r.seq1Range.start-i.seq1Range.endExclusive<=2||r.seq2Range.start-i.seq2Range.endExclusive<=2?s[s.length-1]=new j(i.seq1Range.join(r.seq1Range),i.seq2Range.join(r.seq2Range)):s.push(r)}return s}function y1(t,e,n){const s=j.invert(n,t.length),r=[];let i=new be(0,0);function o(u,c){if(u.offset10;){const x=s[0];if(!(x.seq1Range.intersects(m.seq1Range)||x.seq2Range.intersects(m.seq2Range)))break;const N=t.findWordContaining(x.seq1Range.start),v=e.findWordContaining(x.seq2Range.start),y=new j(N,v),b=y.intersect(x);if(g+=b.seq1Range.length,p+=b.seq2Range.length,m=m.join(y),m.seq1Range.endExclusive>=x.seq1Range.endExclusive)s.shift();else break}g+p<(m.seq1Range.length+m.seq2Range.length)*2/3&&r.push(m),i=m.getEndExclusives()}for(;s.length>0;){const u=s.shift();u.seq1Range.isEmpty||(o(u.getStarts(),u),o(u.getEndExclusives().delta(-1),u))}return x1(n,r)}function x1(t,e){const n=[];for(;t.length>0||e.length>0;){const s=t[0],r=e[0];let i;s&&(!r||s.seq1Range.start0&&n[n.length-1].seq1Range.endExclusive>=i.seq1Range.start?n[n.length-1]=n[n.length-1].join(i):n.push(i)}return n}function _1(t,e,n){let s=n;if(s.length===0)return s;let r=0,i;do{i=!1;const l=[s[0]];for(let u=1;u5||g.seq1Range.length+g.seq2Range.length>5)};var o=h;const c=s[u],f=l[l.length-1];h(f,c)?(i=!0,l[l.length-1]=l[l.length-1].join(c)):l.push(c)}s=l}while(r++<10&&i);return s}function w1(t,e,n){let s=n;if(s.length===0)return s;let r=0,i;do{i=!1;const u=[s[0]];for(let c=1;c5||x.length>500)return!1;const N=t.getText(x).trim();if(N.length>20||N.split(/\r\n|\r|\n/).length>1)return!1;const v=t.countLinesIn(g.seq1Range),y=g.seq1Range.length,b=e.countLinesIn(g.seq2Range),w=g.seq2Range.length,C=t.countLinesIn(p.seq1Range),E=p.seq1Range.length,B=e.countLinesIn(p.seq2Range),Q=p.seq2Range.length,U=130;function P(S){return Math.min(S,U)}return Math.pow(Math.pow(P(v*40+y),1.5)+Math.pow(P(b*40+w),1.5),1.5)+Math.pow(Math.pow(P(C*40+E),1.5)+Math.pow(P(B*40+Q),1.5),1.5)>(U**1.5)**1.5*1.3};var l=m;const f=s[c],h=u[u.length-1];m(h,f)?(i=!0,u[u.length-1]=u[u.length-1].join(f)):u.push(f)}s=u}while(r++<10&&i);const o=[];return n1(s,(u,c,f)=>{let h=c;function m(N){return N.length>0&&N.trim().length<=3&&c.seq1Range.length+c.seq2Range.length>100}const d=t.extendToFullLines(c.seq1Range),g=t.getText(new V(d.start,c.seq1Range.start));m(g)&&(h=h.deltaStart(-g.length));const p=t.getText(new V(c.seq1Range.endExclusive,d.endExclusive));m(p)&&(h=h.deltaEnd(p.length));const x=j.fromOffsetPairs(u?u.getEndExclusives():be.zero,f?f.getStarts():be.max),L=h.intersect(x);o.length>0&&L.getStarts().equals(o[o.length-1].getEndExclusives())?o[o.length-1]=o[o.length-1].join(L):o.push(L)}),o}class dr{constructor(e,n){this.trimmedHash=e,this.lines=n}getElement(e){return this.trimmedHash[e]}get length(){return this.trimmedHash.length}getBoundaryScore(e){const n=e===0?0:gr(this.lines[e-1]),s=e===this.lines.length?0:gr(this.lines[e]);return 1e3-(n+s)}getText(e){return this.lines.slice(e.start,e.endExclusive).join(` +`)}isStronglyEqual(e,n){return this.lines[e]===this.lines[n]}}function gr(t){let e=0;for(;eb===w))return new yt([],[],!1);if(e.length===1&&e[0].length===0||n.length===1&&n[0].length===0)return new yt([new xe(new D(1,e.length+1),new D(1,n.length+1),[new me(new k(1,1,e.length,e[e.length-1].length+1),new k(1,1,n.length,n[n.length-1].length+1))])],[],!1);const r=s.maxComputationTimeMs===0?ht.instance:new i1(s.maxComputationTimeMs),i=!s.ignoreTrimWhitespace,o=new Map;function l(b){let w=o.get(b);return w===void 0&&(w=o.size,o.set(b,w)),w}const u=e.map(b=>l(b.trim())),c=n.map(b=>l(b.trim())),f=new dr(u,e),h=new dr(c,n),m=f.length+h.length<1700?this.dynamicProgrammingDiffing.compute(f,h,r,(b,w)=>e[b]===n[w]?n[w].length===0?.1:1+Math.log(1+n[w].length):.99):this.myersDiffingAlgorithm.compute(f,h,r);let d=m.diffs,g=m.hitTimeout;d=hr(f,h,d),d=_1(f,h,d);const p=[],x=b=>{if(i)for(let w=0;wb.seq1Range.start-L===b.seq2Range.start-N);const w=b.seq1Range.start-L;x(w),L=b.seq1Range.endExclusive,N=b.seq2Range.endExclusive;const C=this.refineDiff(e,n,b,r,i);C.hitTimeout&&(g=!0);for(const E of C.mappings)p.push(E)}x(e.length-L);const v=pr(p,e,n);let y=[];return s.computeMoves&&(y=this.computeMoves(v,e,n,u,c,r,i)),Mt(()=>{function b(C,E){if(C.lineNumber<1||C.lineNumber>E.length)return!1;const B=E[C.lineNumber-1];return!(C.column<1||C.column>B.length+1)}function w(C,E){return!(C.startLineNumber<1||C.startLineNumber>E.length+1||C.endLineNumberExclusive<1||C.endLineNumberExclusive>E.length+1)}for(const C of v){if(!C.innerChanges)return!1;for(const E of C.innerChanges)if(!(b(E.modifiedRange.getStartPosition(),n)&&b(E.modifiedRange.getEndPosition(),n)&&b(E.originalRange.getStartPosition(),e)&&b(E.originalRange.getEndPosition(),e)))return!1;if(!w(C.modified,n)||!w(C.original,e))return!1}return!0}),new yt(v,y,g)}computeMoves(e,n,s,r,i,o,l){return c1(e,n,s,r,i,o).map(f=>{const h=this.refineDiff(n,s,new j(f.original.toOffsetRange(),f.modified.toOffsetRange()),o,l),m=pr(h.mappings,n,s,!0);return new Oa(f,m)})}refineDiff(e,n,s,r,i){const l=N1(s).toRangeMapping2(e,n),u=new Pt(e,l.originalRange,i),c=new Pt(n,l.modifiedRange,i),f=u.length+c.length<500?this.dynamicProgrammingDiffing.compute(u,c,r):this.myersDiffingAlgorithm.compute(u,c,r);let h=f.diffs;return h=hr(u,c,h),h=y1(u,c,h),h=b1(u,c,h),h=w1(u,c,h),{mappings:h.map(d=>new me(u.translateRange(d.seq1Range),c.translateRange(d.seq2Range))),hitTimeout:f.hitTimeout}}}function pr(t,e,n,s=!1){const r=[];for(const i of e1(t.map(o=>v1(o,e,n)),(o,l)=>o.original.overlapOrTouch(l.original)||o.modified.overlapOrTouch(l.modified))){const o=i[0],l=i[i.length-1];r.push(new xe(o.original.join(l.original),o.modified.join(l.modified),i.map(u=>u.innerChanges[0])))}return Mt(()=>!s&&r.length>0&&(r[0].modified.startLineNumber!==r[0].original.startLineNumber||n.length-r[r.length-1].modified.endLineNumberExclusive!==e.length-r[r.length-1].original.endLineNumberExclusive)?!1:$r(r,(i,o)=>o.original.startLineNumber-i.original.endLineNumberExclusive===o.modified.startLineNumber-i.modified.endLineNumberExclusive&&i.original.endLineNumberExclusive=n[t.modifiedRange.startLineNumber-1].length&&t.originalRange.startColumn-1>=e[t.originalRange.startLineNumber-1].length&&t.originalRange.startLineNumber<=t.originalRange.endLineNumber+r&&t.modifiedRange.startLineNumber<=t.modifiedRange.endLineNumber+r&&(s=1);const i=new D(t.originalRange.startLineNumber+s,t.originalRange.endLineNumber+1+r),o=new D(t.modifiedRange.startLineNumber+s,t.modifiedRange.endLineNumber+1+r);return new xe(i,o,[t])}function N1(t){return new ce(new D(t.seq1Range.start+1,t.seq1Range.endExclusive+1),new D(t.seq2Range.start+1,t.seq2Range.endExclusive+1))}const br={getLegacy:()=>new Qa,getDefault:()=>new L1};function Ee(t,e){const n=Math.pow(10,e);return Math.round(t*n)/n}class X{constructor(e,n,s,r=1){this._rgbaBrand=void 0,this.r=Math.min(255,Math.max(0,e))|0,this.g=Math.min(255,Math.max(0,n))|0,this.b=Math.min(255,Math.max(0,s))|0,this.a=Ee(Math.max(Math.min(1,r),0),3)}static equals(e,n){return e.r===n.r&&e.g===n.g&&e.b===n.b&&e.a===n.a}}class ue{constructor(e,n,s,r){this._hslaBrand=void 0,this.h=Math.max(Math.min(360,e),0)|0,this.s=Ee(Math.max(Math.min(1,n),0),3),this.l=Ee(Math.max(Math.min(1,s),0),3),this.a=Ee(Math.max(Math.min(1,r),0),3)}static equals(e,n){return e.h===n.h&&e.s===n.s&&e.l===n.l&&e.a===n.a}static fromRGBA(e){const n=e.r/255,s=e.g/255,r=e.b/255,i=e.a,o=Math.max(n,s,r),l=Math.min(n,s,r);let u=0,c=0;const f=(l+o)/2,h=o-l;if(h>0){switch(c=Math.min(f<=.5?h/(2*f):h/(2-2*f),1),o){case n:u=(s-r)/h+(s1&&(s-=1),s<1/6?e+(n-e)*6*s:s<1/2?n:s<2/3?e+(n-e)*(2/3-s)*6:e}static toRGBA(e){const n=e.h/360,{s,l:r,a:i}=e;let o,l,u;if(s===0)o=l=u=r;else{const c=r<.5?r*(1+s):r+s-r*s,f=2*r-c;o=ue._hue2rgb(f,c,n+1/3),l=ue._hue2rgb(f,c,n),u=ue._hue2rgb(f,c,n-1/3)}return new X(Math.round(o*255),Math.round(l*255),Math.round(u*255),i)}}class qe{constructor(e,n,s,r){this._hsvaBrand=void 0,this.h=Math.max(Math.min(360,e),0)|0,this.s=Ee(Math.max(Math.min(1,n),0),3),this.v=Ee(Math.max(Math.min(1,s),0),3),this.a=Ee(Math.max(Math.min(1,r),0),3)}static equals(e,n){return e.h===n.h&&e.s===n.s&&e.v===n.v&&e.a===n.a}static fromRGBA(e){const n=e.r/255,s=e.g/255,r=e.b/255,i=Math.max(n,s,r),o=Math.min(n,s,r),l=i-o,u=i===0?0:l/i;let c;return l===0?c=0:i===n?c=((s-r)/l%6+6)%6:i===s?c=(r-n)/l+2:c=(n-s)/l+4,new qe(Math.round(c*60),u,i,e.a)}static toRGBA(e){const{h:n,s,v:r,a:i}=e,o=r*s,l=o*(1-Math.abs(n/60%2-1)),u=r-o;let[c,f,h]=[0,0,0];return n<60?(c=o,f=l):n<120?(c=l,f=o):n<180?(f=o,h=l):n<240?(f=l,h=o):n<300?(c=l,h=o):n<=360&&(c=o,h=l),c=Math.round((c+u)*255),f=Math.round((f+u)*255),h=Math.round((h+u)*255),new X(c,f,h,i)}}const H=class H{static fromHex(e){return H.Format.CSS.parseHex(e)||H.red}static equals(e,n){return!e&&!n?!0:!e||!n?!1:e.equals(n)}get hsla(){return this._hsla?this._hsla:ue.fromRGBA(this.rgba)}get hsva(){return this._hsva?this._hsva:qe.fromRGBA(this.rgba)}constructor(e){if(e)if(e instanceof X)this.rgba=e;else if(e instanceof ue)this._hsla=e,this.rgba=ue.toRGBA(e);else if(e instanceof qe)this._hsva=e,this.rgba=qe.toRGBA(e);else throw new Error("Invalid color ctor argument");else throw new Error("Color needs a value")}equals(e){return!!e&&X.equals(this.rgba,e.rgba)&&ue.equals(this.hsla,e.hsla)&&qe.equals(this.hsva,e.hsva)}getRelativeLuminance(){const e=H._relativeLuminanceForComponent(this.rgba.r),n=H._relativeLuminanceForComponent(this.rgba.g),s=H._relativeLuminanceForComponent(this.rgba.b),r=.2126*e+.7152*n+.0722*s;return Ee(r,4)}static _relativeLuminanceForComponent(e){const n=e/255;return n<=.03928?n/12.92:Math.pow((n+.055)/1.055,2.4)}isLighter(){return(this.rgba.r*299+this.rgba.g*587+this.rgba.b*114)/1e3>=128}isLighterThan(e){const n=this.getRelativeLuminance(),s=e.getRelativeLuminance();return n>s}isDarkerThan(e){const n=this.getRelativeLuminance(),s=e.getRelativeLuminance();return n0)for(const r of s){const i=r.filter(c=>c!==void 0),o=i[1],l=i[2];if(!l)continue;let u;if(o==="rgb"){const c=/^\(\s*(25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9][0-9]|[0-9])\s*,\s*(25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9][0-9]|[0-9])\s*,\s*(25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9][0-9]|[0-9])\s*\)$/gm;u=yr(Ke(t,r),et(l,c),!1)}else if(o==="rgba"){const c=/^\(\s*(25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9][0-9]|[0-9])\s*,\s*(25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9][0-9]|[0-9])\s*,\s*(25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9][0-9]|[0-9])\s*,\s*(0[.][0-9]+|[.][0-9]+|[01][.]|[01])\s*\)$/gm;u=yr(Ke(t,r),et(l,c),!0)}else if(o==="hsl"){const c=/^\(\s*(36[0]|3[0-5][0-9]|[12][0-9][0-9]|[1-9]?[0-9])\s*,\s*(100|\d{1,2}[.]\d*|\d{1,2})%\s*,\s*(100|\d{1,2}[.]\d*|\d{1,2})%\s*\)$/gm;u=xr(Ke(t,r),et(l,c),!1)}else if(o==="hsla"){const c=/^\(\s*(36[0]|3[0-5][0-9]|[12][0-9][0-9]|[1-9]?[0-9])\s*,\s*(100|\d{1,2}[.]\d*|\d{1,2})%\s*,\s*(100|\d{1,2}[.]\d*|\d{1,2})%\s*,\s*(0[.][0-9]+|[.][0-9]+|[01][.]|[01])\s*\)$/gm;u=xr(Ke(t,r),et(l,c),!0)}else o==="#"&&(u=S1(Ke(t,r),o+l));u&&e.push(u)}return e}function A1(t){return!t||typeof t.getValue!="function"||typeof t.positionAt!="function"?[]:C1(t)}const _r=new RegExp("\\bMARK:\\s*(.*)$","d"),R1=/^-+|-+$/g;function E1(t,e){var s;let n=[];if(e.findRegionSectionHeaders&&((s=e.foldingRules)!=null&&s.markers)){const r=M1(t,e);n=n.concat(r)}if(e.findMarkSectionHeaders){const r=k1(t);n=n.concat(r)}return n}function M1(t,e){const n=[],s=t.getLineCount();for(let r=1;r<=s;r++){const i=t.getLineContent(r),o=i.match(e.foldingRules.markers.start);if(o){const l={startLineNumber:r,startColumn:o[0].length+1,endLineNumber:r,endColumn:i.length+1};if(l.endColumn>l.startColumn){const u={range:l,...Qr(i.substring(o[0].length)),shouldBeInComments:!1};(u.text||u.hasSeparatorLine)&&n.push(u)}}}return n}function k1(t){const e=[],n=t.getLineCount();for(let s=1;s<=n;s++){const r=t.getLineContent(s);F1(r,s,e)}return e}function F1(t,e,n){_r.lastIndex=0;const s=_r.exec(t);if(s){const r=s.indices[1][0]+1,i=s.indices[1][1]+1,o={startLineNumber:e,startColumn:r,endLineNumber:e,endColumn:i};if(o.endColumn>o.startColumn){const l={range:o,...Qr(s[1]),shouldBeInComments:!0};(l.text||l.hasSeparatorLine)&&n.push(l)}}}function Qr(t){t=t.trim();const e=t.startsWith("-");return t=t.replace(R1,""),{text:t,hasSeparatorLine:e}}var wr;(function(t){async function e(s){let r;const i=await Promise.all(s.map(o=>o.then(l=>l,l=>{r||(r=l)})));if(typeof r<"u")throw r;return i}t.settled=e;function n(s){return new Promise(async(r,i)=>{try{await s(r,i)}catch(o){i(o)}})}t.withAsyncBody=n})(wr||(wr={}));const ne=class ne{static fromArray(e){return new ne(n=>{n.emitMany(e)})}static fromPromise(e){return new ne(async n=>{n.emitMany(await e)})}static fromPromises(e){return new ne(async n=>{await Promise.all(e.map(async s=>n.emitOne(await s)))})}static merge(e){return new ne(async n=>{await Promise.all(e.map(async s=>{for await(const r of s)n.emitOne(r)}))})}constructor(e,n){this._state=0,this._results=[],this._error=null,this._onReturn=n,this._onStateChanged=new le,queueMicrotask(async()=>{const s={emitOne:r=>this.emitOne(r),emitMany:r=>this.emitMany(r),reject:r=>this.reject(r)};try{await Promise.resolve(e(s)),this.resolve()}catch(r){this.reject(r)}finally{s.emitOne=void 0,s.emitMany=void 0,s.reject=void 0}})}[Symbol.asyncIterator](){let e=0;return{next:async()=>{do{if(this._state===2)throw this._error;if(e{var n;return(n=this._onReturn)==null||n.call(this),{done:!0,value:void 0}}}}static map(e,n){return new ne(async s=>{for await(const r of e)s.emitOne(n(r))})}map(e){return ne.map(this,e)}static filter(e,n){return new ne(async s=>{for await(const r of e)n(r)&&s.emitOne(r)})}filter(e){return ne.filter(this,e)}static coalesce(e){return ne.filter(e,n=>!!n)}coalesce(){return ne.coalesce(this)}static async toPromise(e){const n=[];for await(const s of e)n.push(s);return n}toPromise(){return ne.toPromise(this)}emitOne(e){this._state===0&&(this._results.push(e),this._onStateChanged.fire())}emitMany(e){this._state===0&&(this._results=this._results.concat(e),this._onStateChanged.fire())}resolve(){this._state===0&&(this._state=1,this._onStateChanged.fire())}reject(e){this._state===0&&(this._state=2,this._error=e,this._onStateChanged.fire())}};ne.EMPTY=ne.fromArray([]);let Lr=ne;class P1{constructor(e){this.values=e,this.prefixSum=new Uint32Array(e.length),this.prefixSumValidIndex=new Int32Array(1),this.prefixSumValidIndex[0]=-1}insertValues(e,n){e=Ie(e);const s=this.values,r=this.prefixSum,i=n.length;return i===0?!1:(this.values=new Uint32Array(s.length+i),this.values.set(s.subarray(0,e),0),this.values.set(s.subarray(e),e+i),this.values.set(n,e),e-1=0&&this.prefixSum.set(r.subarray(0,this.prefixSumValidIndex[0]+1)),!0)}setValue(e,n){return e=Ie(e),n=Ie(n),this.values[e]===n?!1:(this.values[e]=n,e-1=s.length)return!1;const i=s.length-e;return n>=i&&(n=i),n===0?!1:(this.values=new Uint32Array(s.length-n),this.values.set(s.subarray(0,e),0),this.values.set(s.subarray(e+n),e),this.prefixSum=new Uint32Array(this.values.length),e-1=0&&this.prefixSum.set(r.subarray(0,this.prefixSumValidIndex[0]+1)),!0)}getTotalSum(){return this.values.length===0?0:this._getPrefixSum(this.values.length-1)}getPrefixSum(e){return e<0?0:(e=Ie(e),this._getPrefixSum(e))}_getPrefixSum(e){if(e<=this.prefixSumValidIndex[0])return this.prefixSum[e];let n=this.prefixSumValidIndex[0]+1;n===0&&(this.prefixSum[0]=this.values[0],n++),e>=this.values.length&&(e=this.values.length-1);for(let s=n;s<=e;s++)this.prefixSum[s]=this.prefixSum[s-1]+this.values[s];return this.prefixSumValidIndex[0]=Math.max(this.prefixSumValidIndex[0],e),this.prefixSum[e]}getIndexOf(e){e=Math.floor(e),this.getTotalSum();let n=0,s=this.values.length-1,r=0,i=0,o=0;for(;n<=s;)if(r=n+(s-n)/2|0,i=this.prefixSum[r],o=i-this.values[r],e=i)n=r+1;else break;return new D1(r,e-o)}}class D1{constructor(e,n){this.index=e,this.remainder=n,this._prefixSumIndexOfResultBrand=void 0,this.index=e,this.remainder=n}}class T1{constructor(e,n,s,r){this._uri=e,this._lines=n,this._eol=s,this._versionId=r,this._lineStarts=null,this._cachedTextValue=null}dispose(){this._lines.length=0}get version(){return this._versionId}getText(){return this._cachedTextValue===null&&(this._cachedTextValue=this._lines.join(this._eol)),this._cachedTextValue}onEvents(e){e.eol&&e.eol!==this._eol&&(this._eol=e.eol,this._lineStarts=null);const n=e.changes;for(const s of n)this._acceptDeleteRange(s.range),this._acceptInsertText(new $(s.range.startLineNumber,s.range.startColumn),s.text);this._versionId=e.versionId,this._cachedTextValue=null}_ensureLineStarts(){if(!this._lineStarts){const e=this._eol.length,n=this._lines.length,s=new Uint32Array(n);for(let r=0;re.push(this._models[n])),e}$acceptNewModel(e){this._models[e.url]=new V1(re.parse(e.url),e.lines,e.EOL,e.versionId)}$acceptModelChanged(e,n){if(!this._models[e])return;this._models[e].onEvents(n)}$acceptRemovedModel(e){this._models[e]&&delete this._models[e]}}class V1 extends T1{get uri(){return this._uri}get eol(){return this._eol}getValue(){return this.getText()}findMatches(e){const n=[];for(let s=0;sthis._lines.length)n=this._lines.length,s=this._lines[n-1].length+1,r=!0;else{const i=this._lines[n-1].length+1;s<1?(s=1,r=!0):s>i&&(s=i,r=!0)}return r?{lineNumber:n,column:s}:e}}const Ut=class Ut{constructor(){this._workerTextModelSyncServer=new I1}dispose(){}_getModel(e){return this._workerTextModelSyncServer.getModel(e)}_getModels(){return this._workerTextModelSyncServer.getModels()}$acceptNewModel(e){this._workerTextModelSyncServer.$acceptNewModel(e)}$acceptModelChanged(e,n){this._workerTextModelSyncServer.$acceptModelChanged(e,n)}$acceptRemovedModel(e){this._workerTextModelSyncServer.$acceptRemovedModel(e)}async $computeUnicodeHighlights(e,n,s){const r=this._getModel(e);return r?Wa.computeUnicodeHighlights(r,n,s):{ranges:[],hasMore:!1,ambiguousCharacterCount:0,invisibleCharacterCount:0,nonBasicAsciiCharacterCount:0}}async $findSectionHeaders(e,n){const s=this._getModel(e);return s?E1(s,n):[]}async $computeDiff(e,n,s,r){const i=this._getModel(e),o=this._getModel(n);return!i||!o?null:wt.computeDiff(i,o,s,r)}static computeDiff(e,n,s,r){const i=r==="advanced"?br.getDefault():br.getLegacy(),o=e.getLinesContent(),l=n.getLinesContent(),u=i.computeDiff(o,l,s),c=u.changes.length>0?!1:this._modelsAreIdentical(e,n);function f(h){return h.map(m=>{var d;return[m.original.startLineNumber,m.original.endLineNumberExclusive,m.modified.startLineNumber,m.modified.endLineNumberExclusive,(d=m.innerChanges)==null?void 0:d.map(g=>[g.originalRange.startLineNumber,g.originalRange.startColumn,g.originalRange.endLineNumber,g.originalRange.endColumn,g.modifiedRange.startLineNumber,g.modifiedRange.startColumn,g.modifiedRange.endLineNumber,g.modifiedRange.endColumn])]})}return{identical:c,quitEarly:u.hitTimeout,changes:f(u.changes),moves:u.moves.map(h=>[h.lineRangeMapping.original.startLineNumber,h.lineRangeMapping.original.endLineNumberExclusive,h.lineRangeMapping.modified.startLineNumber,h.lineRangeMapping.modified.endLineNumberExclusive,f(h.changes)])}}static _modelsAreIdentical(e,n){const s=e.getLineCount(),r=n.getLineCount();if(s!==r)return!1;for(let i=1;i<=s;i++){const o=e.getLineContent(i),l=n.getLineContent(i);if(o!==l)return!1}return!0}async $computeMoreMinimalEdits(e,n,s){const r=this._getModel(e);if(!r)return n;const i=[];let o;n=n.slice(0).sort((u,c)=>{if(u.range&&c.range)return k.compareRangesUsingStarts(u.range,c.range);const f=u.range?0:1,h=c.range?0:1;return f-h});let l=0;for(let u=1;uwt._diffLimit){i.push({range:u,text:c});continue}const m=fa(h,c,s),d=r.offsetAt(k.lift(u).getStartPosition());for(const g of m){const p=r.positionAt(d+g.originalStart),x=r.positionAt(d+g.originalStart+g.originalLength),L={text:c.substr(g.modifiedStart,g.modifiedLength),range:{startLineNumber:p.lineNumber,startColumn:p.column,endLineNumber:x.lineNumber,endColumn:x.column}};r.getValueInRange(L.range)!==L.text&&i.push(L)}}return typeof o=="number"&&i.push({eol:o,text:"",range:{startLineNumber:0,startColumn:0,endLineNumber:0,endColumn:0}}),i}async $computeLinks(e){const n=this._getModel(e);return n?ba(n):null}async $computeDefaultDocumentColors(e){const n=this._getModel(e);return n?A1(n):null}async $textualSuggest(e,n,s,r){const i=new Ht,o=new RegExp(s,r),l=new Set;e:for(const u of e){const c=this._getModel(u);if(c){for(const f of c.words(o))if(!(f===n||!isNaN(Number(f)))&&(l.add(f),l.size>wt._suggestionsLimit))break e}}return{words:Array.from(l),duration:i.elapsed()}}async $computeWordRanges(e,n,s,r){const i=this._getModel(e);if(!i)return Object.create(null);const o=new RegExp(s,r),l=Object.create(null);for(let u=n.startLineNumber;uthis._host.$fhr(l,u)),getMirrorModels:()=>this._getModels()};return this._foreignModuleFactory?(this._foreignModule=this._foreignModuleFactory(o,n),Promise.resolve(Ys(this._foreignModule))):new Promise((l,u)=>{const c=f=>{this._foreignModule=f.create(o,n),l(Ys(this._foreignModule))};import(`${Vr.asBrowserUri(`${e}.js`).toString(!0)}`).then(c).catch(u)})}$fmr(e,n){if(!this._foreignModule||typeof this._foreignModule[e]!="function")return Promise.reject(new Error("Missing requestHandler or method: "+e));try{return Promise.resolve(this._foreignModule[e].apply(this._foreignModule,n))}catch(s){return Promise.reject(s)}}}typeof importScripts=="function"&&(globalThis.monaco=Ra());let vn=!1;function B1(t){if(vn)return;vn=!0;const e=new ua(n=>{globalThis.postMessage(n)},n=>new wt(pn.getChannel(n),t));globalThis.onmessage=n=>{e.onmessage(n.data)}}globalThis.onmessage=t=>{vn||B1(null)}; diff --git a/packages/app/assets/graphiql/extensions/graphiql/assets/estree-B2JyRpo9.js b/packages/app/assets/graphiql/extensions/graphiql/assets/estree-B2JyRpo9.js new file mode 100644 index 00000000000..bea4f80a9e6 --- /dev/null +++ b/packages/app/assets/graphiql/extensions/graphiql/assets/estree-B2JyRpo9.js @@ -0,0 +1,36 @@ +var ts=Object.defineProperty;var ns=(e,t,n)=>t in e?ts(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;var qt=(e,t,n)=>ns(e,typeof t!="symbol"?t+"":t,n);var rs=Object.defineProperty,$r=e=>{throw TypeError(e)},en=(e,t)=>{for(var n in t)rs(e,n,{get:t[n],enumerable:!0})},Rr=(e,t,n)=>t.has(e)||$r("Cannot "+n),Je=(e,t,n)=>(Rr(e,t,"read from private field"),t.get(e)),us=(e,t,n)=>t.has(e)?$r("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(e):t.set(e,n),as=(e,t,n,r)=>(Rr(e,t,"write to private field"),t.set(e,n),n),Wr={};en(Wr,{languages:()=>hD,options:()=>gD,printers:()=>xD});var ss=[{name:"JavaScript",type:"programming",extensions:[".js","._js",".bones",".cjs",".es",".es6",".gs",".jake",".javascript",".jsb",".jscad",".jsfl",".jslib",".jsm",".jspre",".jss",".mjs",".njs",".pac",".sjs",".ssjs",".xsjs",".xsjslib",".start.frag",".end.frag",".wxs"],tmScope:"source.js",aceMode:"javascript",aliases:["js","node"],codemirrorMode:"javascript",codemirrorMimeType:"text/javascript",interpreters:["chakra","d8","gjs","js","node","nodejs","qjs","rhino","v8","v8-shell","zx"],filenames:["Jakefile","start.frag","end.frag"],parsers:["babel","acorn","espree","meriyah","babel-flow","babel-ts","flow","typescript"],vscodeLanguageIds:["javascript","mongo"],linguistLanguageId:183},{name:"Flow",type:"programming",extensions:[".js.flow"],tmScope:"source.js",aceMode:"javascript",aliases:[],codemirrorMode:"javascript",codemirrorMimeType:"text/javascript",interpreters:["chakra","d8","gjs","js","node","nodejs","qjs","rhino","v8","v8-shell"],filenames:[],parsers:["flow","babel-flow"],vscodeLanguageIds:["javascript"],linguistLanguageId:183},{name:"JSX",type:"programming",extensions:[".jsx"],tmScope:"source.js.jsx",aceMode:"javascript",aliases:void 0,codemirrorMode:"jsx",codemirrorMimeType:"text/jsx",interpreters:void 0,filenames:void 0,parsers:["babel","babel-flow","babel-ts","flow","typescript","espree","meriyah"],vscodeLanguageIds:["javascriptreact"],group:"JavaScript",linguistLanguageId:183},{name:"TypeScript",type:"programming",extensions:[".ts",".cts",".mts"],tmScope:"source.ts",aceMode:"typescript",aliases:["ts"],codemirrorMode:"javascript",codemirrorMimeType:"application/typescript",interpreters:["bun","deno","ts-node","tsx"],parsers:["typescript","babel-ts"],vscodeLanguageIds:["typescript"],linguistLanguageId:378},{name:"TSX",type:"programming",extensions:[".tsx"],tmScope:"source.tsx",aceMode:"javascript",codemirrorMode:"jsx",codemirrorMimeType:"text/jsx",group:"TypeScript",parsers:["typescript","babel-ts"],vscodeLanguageIds:["typescriptreact"],linguistLanguageId:94901924}],Ur={};en(Ur,{canAttachComment:()=>Ei,embed:()=>up,experimentalFeatures:()=>cD,getCommentChildNodes:()=>Fi,getVisitorKeys:()=>zr,handleComments:()=>fu,insertPragma:()=>Fp,isBlockComment:()=>ye,isGap:()=>Ai,massageAstNode:()=>mo,print:()=>lD,printComment:()=>Mo,willPrintOwnComments:()=>ku});var os=(e,t,n,r)=>{if(!(e&&t==null))return t.replaceAll?t.replaceAll(n,r):n.global?t.replace(n,r):t.split(n).join(r)},H=os,is=(e,t,n)=>{if(!(e&&t==null))return Array.isArray(t)||typeof t=="string"?t[n<0?t.length+n:n]:t.at(n)},X=is;function ps(e){return e!==null&&typeof e=="object"}var ls=ps;function*cs(e,t){let{getVisitorKeys:n,filter:r=()=>!0}=t,u=a=>ls(a)&&r(a);for(let a of n(e)){let s=e[a];if(Array.isArray(s))for(let o of s)u(o)&&(yield o);else u(s)&&(yield s)}}function*Ds(e,t){let n=[e];for(let r=0;r/[#*0-9]\uFE0F?\u20E3|[\xA9\xAE\u203C\u2049\u2122\u2139\u2194-\u2199\u21A9\u21AA\u231A\u231B\u2328\u23CF\u23ED-\u23EF\u23F1\u23F2\u23F8-\u23FA\u24C2\u25AA\u25AB\u25B6\u25C0\u25FB\u25FC\u25FE\u2600-\u2604\u260E\u2611\u2614\u2615\u2618\u2620\u2622\u2623\u2626\u262A\u262E\u262F\u2638-\u263A\u2640\u2642\u2648-\u2653\u265F\u2660\u2663\u2665\u2666\u2668\u267B\u267E\u267F\u2692\u2694-\u2697\u2699\u269B\u269C\u26A0\u26A7\u26AA\u26B0\u26B1\u26BD\u26BE\u26C4\u26C8\u26CF\u26D1\u26E9\u26F0-\u26F5\u26F7\u26F8\u26FA\u2702\u2708\u2709\u270F\u2712\u2714\u2716\u271D\u2721\u2733\u2734\u2744\u2747\u2757\u2763\u27A1\u2934\u2935\u2B05-\u2B07\u2B1B\u2B1C\u2B55\u3030\u303D\u3297\u3299]\uFE0F?|[\u261D\u270C\u270D](?:\uD83C[\uDFFB-\uDFFF]|\uFE0F)?|[\u270A\u270B](?:\uD83C[\uDFFB-\uDFFF])?|[\u23E9-\u23EC\u23F0\u23F3\u25FD\u2693\u26A1\u26AB\u26C5\u26CE\u26D4\u26EA\u26FD\u2705\u2728\u274C\u274E\u2753-\u2755\u2795-\u2797\u27B0\u27BF\u2B50]|\u26D3\uFE0F?(?:\u200D\uD83D\uDCA5)?|\u26F9(?:\uD83C[\uDFFB-\uDFFF]|\uFE0F)?(?:\u200D[\u2640\u2642]\uFE0F?)?|\u2764\uFE0F?(?:\u200D(?:\uD83D\uDD25|\uD83E\uDE79))?|\uD83C(?:[\uDC04\uDD70\uDD71\uDD7E\uDD7F\uDE02\uDE37\uDF21\uDF24-\uDF2C\uDF36\uDF7D\uDF96\uDF97\uDF99-\uDF9B\uDF9E\uDF9F\uDFCD\uDFCE\uDFD4-\uDFDF\uDFF5\uDFF7]\uFE0F?|[\uDF85\uDFC2\uDFC7](?:\uD83C[\uDFFB-\uDFFF])?|[\uDFC4\uDFCA](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDFCB\uDFCC](?:\uD83C[\uDFFB-\uDFFF]|\uFE0F)?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDCCF\uDD8E\uDD91-\uDD9A\uDE01\uDE1A\uDE2F\uDE32-\uDE36\uDE38-\uDE3A\uDE50\uDE51\uDF00-\uDF20\uDF2D-\uDF35\uDF37-\uDF43\uDF45-\uDF4A\uDF4C-\uDF7C\uDF7E-\uDF84\uDF86-\uDF93\uDFA0-\uDFC1\uDFC5\uDFC6\uDFC8\uDFC9\uDFCF-\uDFD3\uDFE0-\uDFF0\uDFF8-\uDFFF]|\uDDE6\uD83C[\uDDE8-\uDDEC\uDDEE\uDDF1\uDDF2\uDDF4\uDDF6-\uDDFA\uDDFC\uDDFD\uDDFF]|\uDDE7\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEF\uDDF1-\uDDF4\uDDF6-\uDDF9\uDDFB\uDDFC\uDDFE\uDDFF]|\uDDE8\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDEE\uDDF0-\uDDF7\uDDFA-\uDDFF]|\uDDE9\uD83C[\uDDEA\uDDEC\uDDEF\uDDF0\uDDF2\uDDF4\uDDFF]|\uDDEA\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDED\uDDF7-\uDDFA]|\uDDEB\uD83C[\uDDEE-\uDDF0\uDDF2\uDDF4\uDDF7]|\uDDEC\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEE\uDDF1-\uDDF3\uDDF5-\uDDFA\uDDFC\uDDFE]|\uDDED\uD83C[\uDDF0\uDDF2\uDDF3\uDDF7\uDDF9\uDDFA]|\uDDEE\uD83C[\uDDE8-\uDDEA\uDDF1-\uDDF4\uDDF6-\uDDF9]|\uDDEF\uD83C[\uDDEA\uDDF2\uDDF4\uDDF5]|\uDDF0\uD83C[\uDDEA\uDDEC-\uDDEE\uDDF2\uDDF3\uDDF5\uDDF7\uDDFC\uDDFE\uDDFF]|\uDDF1\uD83C[\uDDE6-\uDDE8\uDDEE\uDDF0\uDDF7-\uDDFB\uDDFE]|\uDDF2\uD83C[\uDDE6\uDDE8-\uDDED\uDDF0-\uDDFF]|\uDDF3\uD83C[\uDDE6\uDDE8\uDDEA-\uDDEC\uDDEE\uDDF1\uDDF4\uDDF5\uDDF7\uDDFA\uDDFF]|\uDDF4\uD83C\uDDF2|\uDDF5\uD83C[\uDDE6\uDDEA-\uDDED\uDDF0-\uDDF3\uDDF7-\uDDF9\uDDFC\uDDFE]|\uDDF6\uD83C\uDDE6|\uDDF7\uD83C[\uDDEA\uDDF4\uDDF8\uDDFA\uDDFC]|\uDDF8\uD83C[\uDDE6-\uDDEA\uDDEC-\uDDF4\uDDF7-\uDDF9\uDDFB\uDDFD-\uDDFF]|\uDDF9\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDED\uDDEF-\uDDF4\uDDF7\uDDF9\uDDFB\uDDFC\uDDFF]|\uDDFA\uD83C[\uDDE6\uDDEC\uDDF2\uDDF3\uDDF8\uDDFE\uDDFF]|\uDDFB\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDEE\uDDF3\uDDFA]|\uDDFC\uD83C[\uDDEB\uDDF8]|\uDDFD\uD83C\uDDF0|\uDDFE\uD83C[\uDDEA\uDDF9]|\uDDFF\uD83C[\uDDE6\uDDF2\uDDFC]|\uDF44(?:\u200D\uD83D\uDFEB)?|\uDF4B(?:\u200D\uD83D\uDFE9)?|\uDFC3(?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D(?:[\u2640\u2642]\uFE0F?(?:\u200D\u27A1\uFE0F?)?|\u27A1\uFE0F?))?|\uDFF3\uFE0F?(?:\u200D(?:\u26A7\uFE0F?|\uD83C\uDF08))?|\uDFF4(?:\u200D\u2620\uFE0F?|\uDB40\uDC67\uDB40\uDC62\uDB40(?:\uDC65\uDB40\uDC6E\uDB40\uDC67|\uDC73\uDB40\uDC63\uDB40\uDC74|\uDC77\uDB40\uDC6C\uDB40\uDC73)\uDB40\uDC7F)?)|\uD83D(?:[\uDC3F\uDCFD\uDD49\uDD4A\uDD6F\uDD70\uDD73\uDD76-\uDD79\uDD87\uDD8A-\uDD8D\uDDA5\uDDA8\uDDB1\uDDB2\uDDBC\uDDC2-\uDDC4\uDDD1-\uDDD3\uDDDC-\uDDDE\uDDE1\uDDE3\uDDE8\uDDEF\uDDF3\uDDFA\uDECB\uDECD-\uDECF\uDEE0-\uDEE5\uDEE9\uDEF0\uDEF3]\uFE0F?|[\uDC42\uDC43\uDC46-\uDC50\uDC66\uDC67\uDC6B-\uDC6D\uDC72\uDC74-\uDC76\uDC78\uDC7C\uDC83\uDC85\uDC8F\uDC91\uDCAA\uDD7A\uDD95\uDD96\uDE4C\uDE4F\uDEC0\uDECC](?:\uD83C[\uDFFB-\uDFFF])?|[\uDC6E\uDC70\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4\uDEB5](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDD74\uDD90](?:\uD83C[\uDFFB-\uDFFF]|\uFE0F)?|[\uDC00-\uDC07\uDC09-\uDC14\uDC16-\uDC25\uDC27-\uDC3A\uDC3C-\uDC3E\uDC40\uDC44\uDC45\uDC51-\uDC65\uDC6A\uDC79-\uDC7B\uDC7D-\uDC80\uDC84\uDC88-\uDC8E\uDC90\uDC92-\uDCA9\uDCAB-\uDCFC\uDCFF-\uDD3D\uDD4B-\uDD4E\uDD50-\uDD67\uDDA4\uDDFB-\uDE2D\uDE2F-\uDE34\uDE37-\uDE41\uDE43\uDE44\uDE48-\uDE4A\uDE80-\uDEA2\uDEA4-\uDEB3\uDEB7-\uDEBF\uDEC1-\uDEC5\uDED0-\uDED2\uDED5-\uDED7\uDEDC-\uDEDF\uDEEB\uDEEC\uDEF4-\uDEFC\uDFE0-\uDFEB\uDFF0]|\uDC08(?:\u200D\u2B1B)?|\uDC15(?:\u200D\uD83E\uDDBA)?|\uDC26(?:\u200D(?:\u2B1B|\uD83D\uDD25))?|\uDC3B(?:\u200D\u2744\uFE0F?)?|\uDC41\uFE0F?(?:\u200D\uD83D\uDDE8\uFE0F?)?|\uDC68(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDC68\uDC69]\u200D\uD83D(?:\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?)|[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?)|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]))|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFC-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFD-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFD\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFE])))?))?|\uDC69(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?[\uDC68\uDC69]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?|\uDC69\u200D\uD83D(?:\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?))|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]))|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFC-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB\uDFFD-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB-\uDFFD\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB-\uDFFE])))?))?|\uDC6F(?:\u200D[\u2640\u2642]\uFE0F?)?|\uDD75(?:\uD83C[\uDFFB-\uDFFF]|\uFE0F)?(?:\u200D[\u2640\u2642]\uFE0F?)?|\uDE2E(?:\u200D\uD83D\uDCA8)?|\uDE35(?:\u200D\uD83D\uDCAB)?|\uDE36(?:\u200D\uD83C\uDF2B\uFE0F?)?|\uDE42(?:\u200D[\u2194\u2195]\uFE0F?)?|\uDEB6(?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D(?:[\u2640\u2642]\uFE0F?(?:\u200D\u27A1\uFE0F?)?|\u27A1\uFE0F?))?)|\uD83E(?:[\uDD0C\uDD0F\uDD18-\uDD1F\uDD30-\uDD34\uDD36\uDD77\uDDB5\uDDB6\uDDBB\uDDD2\uDDD3\uDDD5\uDEC3-\uDEC5\uDEF0\uDEF2-\uDEF8](?:\uD83C[\uDFFB-\uDFFF])?|[\uDD26\uDD35\uDD37-\uDD39\uDD3D\uDD3E\uDDB8\uDDB9\uDDCD\uDDCF\uDDD4\uDDD6-\uDDDD](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDDDE\uDDDF](?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDD0D\uDD0E\uDD10-\uDD17\uDD20-\uDD25\uDD27-\uDD2F\uDD3A\uDD3F-\uDD45\uDD47-\uDD76\uDD78-\uDDB4\uDDB7\uDDBA\uDDBC-\uDDCC\uDDD0\uDDE0-\uDDFF\uDE70-\uDE7C\uDE80-\uDE89\uDE8F-\uDEC2\uDEC6\uDECE-\uDEDC\uDEDF-\uDEE9]|\uDD3C(?:\u200D[\u2640\u2642]\uFE0F?|\uD83C[\uDFFB-\uDFFF])?|\uDDCE(?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D(?:[\u2640\u2642]\uFE0F?(?:\u200D\u27A1\uFE0F?)?|\u27A1\uFE0F?))?|\uDDD1(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1|\uDDD1\u200D\uD83E\uDDD2(?:\u200D\uD83E\uDDD2)?|\uDDD2(?:\u200D\uD83E\uDDD2)?))|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFC-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB\uDFFD-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB-\uDFFD\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB-\uDFFE]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?))?|\uDEF1(?:\uD83C(?:\uDFFB(?:\u200D\uD83E\uDEF2\uD83C[\uDFFC-\uDFFF])?|\uDFFC(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB\uDFFD-\uDFFF])?|\uDFFD(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])?|\uDFFE(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB-\uDFFD\uDFFF])?|\uDFFF(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB-\uDFFE])?))?)/g;function ms(e){return e===12288||e>=65281&&e<=65376||e>=65504&&e<=65510}function fs(e){return e>=4352&&e<=4447||e===8986||e===8987||e===9001||e===9002||e>=9193&&e<=9196||e===9200||e===9203||e===9725||e===9726||e===9748||e===9749||e>=9776&&e<=9783||e>=9800&&e<=9811||e===9855||e>=9866&&e<=9871||e===9875||e===9889||e===9898||e===9899||e===9917||e===9918||e===9924||e===9925||e===9934||e===9940||e===9962||e===9970||e===9971||e===9973||e===9978||e===9981||e===9989||e===9994||e===9995||e===10024||e===10060||e===10062||e>=10067&&e<=10069||e===10071||e>=10133&&e<=10135||e===10160||e===10175||e===11035||e===11036||e===11088||e===11093||e>=11904&&e<=11929||e>=11931&&e<=12019||e>=12032&&e<=12245||e>=12272&&e<=12287||e>=12289&&e<=12350||e>=12353&&e<=12438||e>=12441&&e<=12543||e>=12549&&e<=12591||e>=12593&&e<=12686||e>=12688&&e<=12773||e>=12783&&e<=12830||e>=12832&&e<=12871||e>=12880&&e<=42124||e>=42128&&e<=42182||e>=43360&&e<=43388||e>=44032&&e<=55203||e>=63744&&e<=64255||e>=65040&&e<=65049||e>=65072&&e<=65106||e>=65108&&e<=65126||e>=65128&&e<=65131||e>=94176&&e<=94180||e===94192||e===94193||e>=94208&&e<=100343||e>=100352&&e<=101589||e>=101631&&e<=101640||e>=110576&&e<=110579||e>=110581&&e<=110587||e===110589||e===110590||e>=110592&&e<=110882||e===110898||e>=110928&&e<=110930||e===110933||e>=110948&&e<=110951||e>=110960&&e<=111355||e>=119552&&e<=119638||e>=119648&&e<=119670||e===126980||e===127183||e===127374||e>=127377&&e<=127386||e>=127488&&e<=127490||e>=127504&&e<=127547||e>=127552&&e<=127560||e===127568||e===127569||e>=127584&&e<=127589||e>=127744&&e<=127776||e>=127789&&e<=127797||e>=127799&&e<=127868||e>=127870&&e<=127891||e>=127904&&e<=127946||e>=127951&&e<=127955||e>=127968&&e<=127984||e===127988||e>=127992&&e<=128062||e===128064||e>=128066&&e<=128252||e>=128255&&e<=128317||e>=128331&&e<=128334||e>=128336&&e<=128359||e===128378||e===128405||e===128406||e===128420||e>=128507&&e<=128591||e>=128640&&e<=128709||e===128716||e>=128720&&e<=128722||e>=128725&&e<=128727||e>=128732&&e<=128735||e===128747||e===128748||e>=128756&&e<=128764||e>=128992&&e<=129003||e===129008||e>=129292&&e<=129338||e>=129340&&e<=129349||e>=129351&&e<=129535||e>=129648&&e<=129660||e>=129664&&e<=129673||e>=129679&&e<=129734||e>=129742&&e<=129756||e>=129759&&e<=129769||e>=129776&&e<=129784||e>=131072&&e<=196605||e>=196608&&e<=262141}var Es=e=>!(ms(e)||fs(e)),Fs=/[^\x20-\x7F]/u;function As(e){if(!e)return 0;if(!Fs.test(e))return e.length;e=e.replace(ds()," ");let t=0;for(let n of e){let r=n.codePointAt(0);r<=31||r>=127&&r<=159||r>=768&&r<=879||(t+=Es(r)?1:2)}return t}var lt=As;function qn(e){return(t,n,r)=>{let u=!!(r!=null&&r.backwards);if(n===!1)return!1;let{length:a}=t,s=n;for(;s>=0&&s0}var J=Bs,Gr=new Proxy(()=>{},{get:()=>Gr}),Rn=Gr,_t="'",fr='"';function vs(e,t){let n=t===!0||t===_t?_t:fr,r=n===_t?fr:_t,u=0,a=0;for(let s of e)s===n?u++:s===r&&a++;return u>a?r:n}var Vr=vs;function ks(e,t,n){let r=t==='"'?"'":'"',u=H(!1,e,/\\(.)|(["'])/gsu,(a,s,o)=>s===r?s:o===t?"\\"+o:o||(n&&/^[^\n\r"'0-7\\bfnrt-vx\u2028\u2029]$/u.test(s)?s:"\\"+s));return t+u+t}var Ps=ks;function ws(e,t){Rn.ok(/^(?["']).*\k$/su.test(e));let n=e.slice(1,-1),r=t.parser==="json"||t.parser==="jsonc"||t.parser==="json5"&&t.quoteProps==="preserve"&&!t.singleQuote?'"':t.__isInHtmlAttribute?"'":Vr(n,t.singleQuote);return e.charAt(0)===r?e:Ps(n,r,!1)}var yt=ws,Kr=e=>Number.isInteger(e)&&e>=0;function q(e){var t,n,r;let u=((t=e.range)==null?void 0:t[0])??e.start,a=(r=((n=e.declaration)==null?void 0:n.decorators)??e.decorators)==null?void 0:r[0];return a?Math.min(q(a),u):u}function I(e){var t;return((t=e.range)==null?void 0:t[1])??e.end}function tn(e,t){let n=q(e);return Kr(n)&&n===q(t)}function Is(e,t){let n=I(e);return Kr(n)&&n===I(t)}function Ns(e,t){return tn(e,t)&&Is(e,t)}var Ct=null;function bt(e){if(Ct!==null&&typeof Ct.property){let t=Ct;return Ct=bt.prototype=null,t}return Ct=bt.prototype=e??Object.create(null),new bt}var js=10;for(let e=0;e<=js;e++)bt();function Ls(e){return bt(e)}function Ms(e,t="type"){Ls(e);function n(r){let u=r[t],a=e[u];if(!Array.isArray(a))throw Object.assign(new Error(`Missing visitor keys for '${u}'.`),{node:r});return a}return n}var Hr=Ms,Os={ArrayExpression:["elements"],AssignmentExpression:["left","right"],BinaryExpression:["left","right"],InterpreterDirective:[],Directive:["value"],DirectiveLiteral:[],BlockStatement:["directives","body"],BreakStatement:["label"],CallExpression:["callee","typeParameters","typeArguments","arguments"],CatchClause:["param","body"],ConditionalExpression:["test","consequent","alternate"],ContinueStatement:["label"],DebuggerStatement:[],DoWhileStatement:["body","test"],EmptyStatement:[],ExpressionStatement:["expression"],File:["program"],ForInStatement:["left","right","body"],ForStatement:["init","test","update","body"],FunctionDeclaration:["id","typeParameters","params","predicate","returnType","body"],FunctionExpression:["id","typeParameters","params","returnType","body"],Identifier:["typeAnnotation","decorators"],IfStatement:["test","consequent","alternate"],LabeledStatement:["label","body"],StringLiteral:[],NumericLiteral:[],NullLiteral:[],BooleanLiteral:[],RegExpLiteral:[],LogicalExpression:["left","right"],MemberExpression:["object","property"],NewExpression:["callee","typeParameters","typeArguments","arguments"],Program:["directives","body"],ObjectExpression:["properties"],ObjectMethod:["decorators","key","typeParameters","params","returnType","body"],ObjectProperty:["decorators","key","value"],RestElement:["argument","typeAnnotation","decorators"],ReturnStatement:["argument"],SequenceExpression:["expressions"],ParenthesizedExpression:["expression"],SwitchCase:["test","consequent"],SwitchStatement:["discriminant","cases"],ThisExpression:[],ThrowStatement:["argument"],TryStatement:["block","handler","finalizer"],UnaryExpression:["argument"],UpdateExpression:["argument"],VariableDeclaration:["declarations"],VariableDeclarator:["id","init"],WhileStatement:["test","body"],WithStatement:["object","body"],AssignmentPattern:["left","right","decorators","typeAnnotation"],ArrayPattern:["elements","typeAnnotation","decorators"],ArrowFunctionExpression:["typeParameters","params","predicate","returnType","body"],ClassBody:["body"],ClassExpression:["decorators","id","typeParameters","superClass","superTypeParameters","mixins","implements","body","superTypeArguments"],ClassDeclaration:["decorators","id","typeParameters","superClass","superTypeParameters","mixins","implements","body","superTypeArguments"],ExportAllDeclaration:["source","attributes","exported"],ExportDefaultDeclaration:["declaration"],ExportNamedDeclaration:["declaration","specifiers","source","attributes"],ExportSpecifier:["local","exported"],ForOfStatement:["left","right","body"],ImportDeclaration:["specifiers","source","attributes"],ImportDefaultSpecifier:["local"],ImportNamespaceSpecifier:["local"],ImportSpecifier:["imported","local"],ImportExpression:["source","options"],MetaProperty:["meta","property"],ClassMethod:["decorators","key","typeParameters","params","returnType","body"],ObjectPattern:["decorators","properties","typeAnnotation"],SpreadElement:["argument"],Super:[],TaggedTemplateExpression:["tag","typeParameters","quasi","typeArguments"],TemplateElement:[],TemplateLiteral:["quasis","expressions"],YieldExpression:["argument"],AwaitExpression:["argument"],BigIntLiteral:[],ExportNamespaceSpecifier:["exported"],OptionalMemberExpression:["object","property"],OptionalCallExpression:["callee","typeParameters","typeArguments","arguments"],ClassProperty:["decorators","variance","key","typeAnnotation","value"],ClassAccessorProperty:["decorators","key","typeAnnotation","value"],ClassPrivateProperty:["decorators","variance","key","typeAnnotation","value"],ClassPrivateMethod:["decorators","key","typeParameters","params","returnType","body"],PrivateName:["id"],StaticBlock:["body"],ImportAttribute:["key","value"],AnyTypeAnnotation:[],ArrayTypeAnnotation:["elementType"],BooleanTypeAnnotation:[],BooleanLiteralTypeAnnotation:[],NullLiteralTypeAnnotation:[],ClassImplements:["id","typeParameters"],DeclareClass:["id","typeParameters","extends","mixins","implements","body"],DeclareFunction:["id","predicate"],DeclareInterface:["id","typeParameters","extends","body"],DeclareModule:["id","body"],DeclareModuleExports:["typeAnnotation"],DeclareTypeAlias:["id","typeParameters","right"],DeclareOpaqueType:["id","typeParameters","supertype"],DeclareVariable:["id"],DeclareExportDeclaration:["declaration","specifiers","source","attributes"],DeclareExportAllDeclaration:["source","attributes"],DeclaredPredicate:["value"],ExistsTypeAnnotation:[],FunctionTypeAnnotation:["typeParameters","this","params","rest","returnType"],FunctionTypeParam:["name","typeAnnotation"],GenericTypeAnnotation:["id","typeParameters"],InferredPredicate:[],InterfaceExtends:["id","typeParameters"],InterfaceDeclaration:["id","typeParameters","extends","body"],InterfaceTypeAnnotation:["extends","body"],IntersectionTypeAnnotation:["types"],MixedTypeAnnotation:[],EmptyTypeAnnotation:[],NullableTypeAnnotation:["typeAnnotation"],NumberLiteralTypeAnnotation:[],NumberTypeAnnotation:[],ObjectTypeAnnotation:["properties","indexers","callProperties","internalSlots"],ObjectTypeInternalSlot:["id","value"],ObjectTypeCallProperty:["value"],ObjectTypeIndexer:["variance","id","key","value"],ObjectTypeProperty:["key","value","variance"],ObjectTypeSpreadProperty:["argument"],OpaqueType:["id","typeParameters","supertype","impltype"],QualifiedTypeIdentifier:["qualification","id"],StringLiteralTypeAnnotation:[],StringTypeAnnotation:[],SymbolTypeAnnotation:[],ThisTypeAnnotation:[],TupleTypeAnnotation:["types","elementTypes"],TypeofTypeAnnotation:["argument","typeArguments"],TypeAlias:["id","typeParameters","right"],TypeAnnotation:["typeAnnotation"],TypeCastExpression:["expression","typeAnnotation"],TypeParameter:["bound","default","variance"],TypeParameterDeclaration:["params"],TypeParameterInstantiation:["params"],UnionTypeAnnotation:["types"],Variance:[],VoidTypeAnnotation:[],EnumDeclaration:["id","body"],EnumBooleanBody:["members"],EnumNumberBody:["members"],EnumStringBody:["members"],EnumSymbolBody:["members"],EnumBooleanMember:["id","init"],EnumNumberMember:["id","init"],EnumStringMember:["id","init"],EnumDefaultedMember:["id"],IndexedAccessType:["objectType","indexType"],OptionalIndexedAccessType:["objectType","indexType"],JSXAttribute:["name","value"],JSXClosingElement:["name"],JSXElement:["openingElement","children","closingElement"],JSXEmptyExpression:[],JSXExpressionContainer:["expression"],JSXSpreadChild:["expression"],JSXIdentifier:[],JSXMemberExpression:["object","property"],JSXNamespacedName:["namespace","name"],JSXOpeningElement:["name","typeParameters","typeArguments","attributes"],JSXSpreadAttribute:["argument"],JSXText:[],JSXFragment:["openingFragment","children","closingFragment"],JSXOpeningFragment:[],JSXClosingFragment:[],Noop:[],Placeholder:[],V8IntrinsicIdentifier:[],ArgumentPlaceholder:[],BindExpression:["object","callee"],Decorator:["expression"],DoExpression:["body"],ExportDefaultSpecifier:["exported"],ModuleExpression:["body"],TopicReference:[],PipelineTopicExpression:["expression"],PipelineBareFunction:["callee"],PipelinePrimaryTopicReference:[],TSParameterProperty:["parameter","decorators"],TSDeclareFunction:["id","typeParameters","params","returnType","body"],TSDeclareMethod:["decorators","key","typeParameters","params","returnType"],TSQualifiedName:["left","right"],TSCallSignatureDeclaration:["typeParameters","parameters","typeAnnotation","params","returnType"],TSConstructSignatureDeclaration:["typeParameters","parameters","typeAnnotation","params","returnType"],TSPropertySignature:["key","typeAnnotation"],TSMethodSignature:["key","typeParameters","parameters","typeAnnotation","params","returnType"],TSIndexSignature:["parameters","typeAnnotation"],TSAnyKeyword:[],TSBooleanKeyword:[],TSBigIntKeyword:[],TSIntrinsicKeyword:[],TSNeverKeyword:[],TSNullKeyword:[],TSNumberKeyword:[],TSObjectKeyword:[],TSStringKeyword:[],TSSymbolKeyword:[],TSUndefinedKeyword:[],TSUnknownKeyword:[],TSVoidKeyword:[],TSThisType:[],TSFunctionType:["typeParameters","parameters","typeAnnotation","params","returnType"],TSConstructorType:["typeParameters","parameters","typeAnnotation","params","returnType"],TSTypeReference:["typeName","typeParameters","typeArguments"],TSTypePredicate:["parameterName","typeAnnotation"],TSTypeQuery:["exprName","typeParameters","typeArguments"],TSTypeLiteral:["members"],TSArrayType:["elementType"],TSTupleType:["elementTypes"],TSOptionalType:["typeAnnotation"],TSRestType:["typeAnnotation"],TSNamedTupleMember:["label","elementType"],TSUnionType:["types"],TSIntersectionType:["types"],TSConditionalType:["checkType","extendsType","trueType","falseType"],TSInferType:["typeParameter"],TSParenthesizedType:["typeAnnotation"],TSTypeOperator:["typeAnnotation"],TSIndexedAccessType:["objectType","indexType"],TSMappedType:["nameType","typeAnnotation","key","constraint"],TSTemplateLiteralType:["quasis","types"],TSLiteralType:["literal"],TSExpressionWithTypeArguments:["expression","typeParameters"],TSInterfaceDeclaration:["id","typeParameters","extends","body"],TSInterfaceBody:["body"],TSTypeAliasDeclaration:["id","typeParameters","typeAnnotation"],TSInstantiationExpression:["expression","typeParameters","typeArguments"],TSAsExpression:["expression","typeAnnotation"],TSSatisfiesExpression:["expression","typeAnnotation"],TSTypeAssertion:["typeAnnotation","expression"],TSEnumBody:["members"],TSEnumDeclaration:["id","body"],TSEnumMember:["id","initializer"],TSModuleDeclaration:["id","body"],TSModuleBlock:["body"],TSImportType:["argument","options","qualifier","typeParameters","typeArguments"],TSImportEqualsDeclaration:["id","moduleReference"],TSExternalModuleReference:["expression"],TSNonNullExpression:["expression"],TSExportAssignment:["expression"],TSNamespaceExportDeclaration:["id"],TSTypeAnnotation:["typeAnnotation"],TSTypeParameterInstantiation:["params"],TSTypeParameterDeclaration:["params"],TSTypeParameter:["constraint","default","name"],ChainExpression:["expression"],ExperimentalRestProperty:["argument"],ExperimentalSpreadProperty:["argument"],Literal:[],MethodDefinition:["decorators","key","value"],PrivateIdentifier:[],Property:["key","value"],PropertyDefinition:["decorators","key","typeAnnotation","value","variance"],AccessorProperty:["decorators","key","typeAnnotation","value"],TSAbstractAccessorProperty:["decorators","key","typeAnnotation"],TSAbstractKeyword:[],TSAbstractMethodDefinition:["key","value"],TSAbstractPropertyDefinition:["decorators","key","typeAnnotation"],TSAsyncKeyword:[],TSClassImplements:["expression","typeArguments","typeParameters"],TSDeclareKeyword:[],TSEmptyBodyFunctionExpression:["id","typeParameters","params","returnType"],TSExportKeyword:[],TSInterfaceHeritage:["expression","typeArguments","typeParameters"],TSPrivateKeyword:[],TSProtectedKeyword:[],TSPublicKeyword:[],TSReadonlyKeyword:[],TSStaticKeyword:[],AsConstExpression:["expression"],AsExpression:["expression","typeAnnotation"],BigIntLiteralTypeAnnotation:[],BigIntTypeAnnotation:[],ComponentDeclaration:["id","params","body","typeParameters","rendersType"],ComponentParameter:["name","local"],ComponentTypeAnnotation:["params","rest","typeParameters","rendersType"],ComponentTypeParameter:["name","typeAnnotation"],ConditionalTypeAnnotation:["checkType","extendsType","trueType","falseType"],DeclareComponent:["id","params","rest","typeParameters","rendersType"],DeclareEnum:["id","body"],DeclareHook:["id"],DeclareNamespace:["id","body"],EnumBigIntBody:["members"],EnumBigIntMember:["id","init"],HookDeclaration:["id","params","body","typeParameters","returnType"],HookTypeAnnotation:["params","returnType","rest","typeParameters"],InferTypeAnnotation:["typeParameter"],KeyofTypeAnnotation:["argument"],ObjectTypeMappedTypeProperty:["keyTparam","propType","sourceType","variance"],QualifiedTypeofIdentifier:["qualification","id"],TupleTypeLabeledElement:["label","elementType","variance"],TupleTypeSpreadElement:["label","typeAnnotation"],TypeOperator:["typeAnnotation"],TypePredicate:["parameterName","typeAnnotation","asserts"],NGChainedExpression:["expressions"],NGEmptyExpression:[],NGPipeExpression:["left","right","arguments"],NGMicrosyntax:["body"],NGMicrosyntaxAs:["key","alias"],NGMicrosyntaxExpression:["expression","alias"],NGMicrosyntaxKey:[],NGMicrosyntaxKeyedExpression:["key","expression"],NGMicrosyntaxLet:["key","value"],NGRoot:["node"],JsExpressionRoot:["node"],JsonRoot:["node"],TSJSDocAllType:[],TSJSDocUnknownType:[],TSJSDocNullableType:["typeAnnotation"],TSJSDocNonNullableType:["typeAnnotation"],NeverTypeAnnotation:[],SatisfiesExpression:["expression","typeAnnotation"],UndefinedTypeAnnotation:[],UnknownTypeAnnotation:[]},Js=Hr(Os),zr=Js;function qs(e){let t=new Set(e);return n=>t.has(n==null?void 0:n.type)}var _=qs;function _s(e){var t;return((t=e.extra)==null?void 0:t.raw)??e.raw}var se=_s,Xs=_(["Block","CommentBlock","MultiLine"]),ye=Xs,$s=_(["AnyTypeAnnotation","ThisTypeAnnotation","NumberTypeAnnotation","VoidTypeAnnotation","BooleanTypeAnnotation","BigIntTypeAnnotation","SymbolTypeAnnotation","StringTypeAnnotation","NeverTypeAnnotation","UndefinedTypeAnnotation","UnknownTypeAnnotation","EmptyTypeAnnotation","MixedTypeAnnotation"]),Qr=$s,Rs=_(["Line","CommentLine","SingleLine","HashbangComment","HTMLOpen","HTMLClose","Hashbang","InterpreterDirective"]),Nt=Rs;function Ws(e,t){let n=t.split(".");for(let r=n.length-1;r>=0;r--){let u=n[r];if(r===0)return e.type==="Identifier"&&e.name===u;if(e.type!=="MemberExpression"||e.optional||e.computed||e.property.type!=="Identifier"||e.property.name!==u)return!1;e=e.object}}function Us(e,t){return t.some(n=>Ws(e,n))}var Gs=Us;function Vs({type:e}){return e.startsWith("TS")&&e.endsWith("Keyword")}var Yr=Vs;function Tn(e,t){return t(e)||ys(e,{getVisitorKeys:zr,predicate:t})}function Wn(e){return e.type==="AssignmentExpression"||e.type==="BinaryExpression"||e.type==="LogicalExpression"||e.type==="NGPipeExpression"||e.type==="ConditionalExpression"||L(e)||R(e)||e.type==="SequenceExpression"||e.type==="TaggedTemplateExpression"||e.type==="BindExpression"||e.type==="UpdateExpression"&&!e.prefix||Ce(e)||e.type==="TSNonNullExpression"||e.type==="ChainExpression"}function Ks(e){return e.expressions?e.expressions[0]:e.left??e.test??e.callee??e.object??e.tag??e.argument??e.expression}function Zr(e){if(e.expressions)return["expressions",0];if(e.left)return["left"];if(e.test)return["test"];if(e.object)return["object"];if(e.callee)return["callee"];if(e.tag)return["tag"];if(e.argument)return["argument"];if(e.expression)return["expression"];throw new Error("Unexpected node has no left side.")}var Hs=_(["ExportDefaultDeclaration","DeclareExportDeclaration","ExportNamedDeclaration","ExportAllDeclaration","DeclareExportAllDeclaration"]),Q=_(["ArrayExpression"]),Ae=_(["ObjectExpression"]);function zs(e){return e.type==="LogicalExpression"&&e.operator==="??"}function be(e){return e.type==="NumericLiteral"||e.type==="Literal"&&typeof e.value=="number"}function Qs(e){return e.type==="BooleanLiteral"||e.type==="Literal"&&typeof e.value=="boolean"}function eu(e){return e.type==="UnaryExpression"&&(e.operator==="+"||e.operator==="-")&&be(e.argument)}function Y(e){return!!(e&&(e.type==="StringLiteral"||e.type==="Literal"&&typeof e.value=="string"))}function tu(e){return e.type==="RegExpLiteral"||e.type==="Literal"&&!!e.regex}var Un=_(["Literal","BooleanLiteral","BigIntLiteral","DirectiveLiteral","NullLiteral","NumericLiteral","RegExpLiteral","StringLiteral"]),Ys=_(["Identifier","ThisExpression","Super","PrivateName","PrivateIdentifier"]),Xe=_(["ObjectTypeAnnotation","TSTypeLiteral","TSMappedType"]),kt=_(["FunctionExpression","ArrowFunctionExpression"]);function Zs(e){return e.type==="FunctionExpression"||e.type==="ArrowFunctionExpression"&&e.body.type==="BlockStatement"}function cn(e){return L(e)&&e.callee.type==="Identifier"&&["async","inject","fakeAsync","waitForAsync"].includes(e.callee.name)}var K=_(["JSXElement","JSXFragment"]);function nn(e){return e.method&&e.kind==="init"||e.kind==="get"||e.kind==="set"}function nu(e){return(e.type==="ObjectTypeProperty"||e.type==="ObjectTypeInternalSlot")&&!e.static&&!e.method&&e.kind!=="get"&&e.kind!=="set"&&e.value.type==="FunctionTypeAnnotation"}function eo(e){return(e.type==="TypeAnnotation"||e.type==="TSTypeAnnotation")&&e.typeAnnotation.type==="FunctionTypeAnnotation"&&!e.static&&!tn(e,e.typeAnnotation)}var ke=_(["BinaryExpression","LogicalExpression","NGPipeExpression"]);function it(e){return R(e)||e.type==="BindExpression"&&!!e.object}var to=_(["TSThisType","NullLiteralTypeAnnotation","BooleanLiteralTypeAnnotation","StringLiteralTypeAnnotation","BigIntLiteralTypeAnnotation","NumberLiteralTypeAnnotation","TSLiteralType","TSTemplateLiteralType"]);function Gn(e){return Yr(e)||Qr(e)||to(e)||(e.type==="GenericTypeAnnotation"||e.type==="TSTypeReference")&&!e.typeParameters&&!e.typeArguments}function no(e){return e.type==="Identifier"&&(e.name==="beforeEach"||e.name==="beforeAll"||e.name==="afterEach"||e.name==="afterAll")}var ro=["it","it.only","it.skip","describe","describe.only","describe.skip","test","test.only","test.skip","test.step","test.describe","test.describe.only","test.describe.parallel","test.describe.parallel.only","test.describe.serial","test.describe.serial.only","skip","xit","xdescribe","xtest","fit","fdescribe","ftest"];function uo(e){return Gs(e,ro)}function rn(e,t){if((e==null?void 0:e.type)!=="CallExpression"||e.optional)return!1;let n=de(e);if(n.length===1){if(cn(e)&&rn(t))return kt(n[0]);if(no(e.callee))return cn(n[0])}else if((n.length===2||n.length===3)&&(n[0].type==="TemplateLiteral"||Y(n[0]))&&uo(e.callee))return n[2]&&!be(n[2])?!1:(n.length===2?kt(n[1]):Zs(n[1])&&Z(n[1]).length<=1)||cn(n[1]);return!1}var ru=e=>t=>((t==null?void 0:t.type)==="ChainExpression"&&(t=t.expression),e(t)),L=ru(_(["CallExpression","OptionalCallExpression"])),R=ru(_(["MemberExpression","OptionalMemberExpression"]));function Er(e,t=5){return uu(e,t)<=t}function uu(e,t){let n=0;for(let r in e){let u=e[r];if(u&&typeof u=="object"&&typeof u.type=="string"&&(n++,n+=uu(u,t-n)),n>t)return n}return n}var ao=.25;function Vn(e,t){let{printWidth:n}=t;if(h(e))return!1;let r=n*ao;if(e.type==="ThisExpression"||e.type==="Identifier"&&e.name.length<=r||eu(e)&&!h(e.argument))return!0;let u=e.type==="Literal"&&"regex"in e&&e.regex.pattern||e.type==="RegExpLiteral"&&e.pattern;return u?u.length<=r:Y(e)?yt(se(e),t).length<=r:e.type==="TemplateLiteral"?e.expressions.length===0&&e.quasis[0].value.raw.length<=r&&!e.quasis[0].value.raw.includes(` +`):e.type==="UnaryExpression"?Vn(e.argument,{printWidth:n}):e.type==="CallExpression"&&e.arguments.length===0&&e.callee.type==="Identifier"?e.callee.name.length<=r-2:Un(e)}function Te(e,t){return K(t)?un(t):h(t,T.Leading,n=>pe(e,I(n)))}function Fr(e){return e.quasis.some(t=>t.value.raw.includes(` +`))}function au(e,t){return(e.type==="TemplateLiteral"&&Fr(e)||e.type==="TaggedTemplateExpression"&&Fr(e.quasi))&&!pe(t,q(e),{backwards:!0})}function su(e){if(!h(e))return!1;let t=X(!1,Ke(e,T.Dangling),-1);return t&&!ye(t)}function so(e){if(e.length<=1)return!1;let t=0;for(let n of e)if(kt(n)){if(t+=1,t>1)return!0}else if(L(n)){for(let r of de(n))if(kt(r))return!0}return!1}function ou(e){let{node:t,parent:n,key:r}=e;return r==="callee"&&L(t)&&L(n)&&n.arguments.length>0&&t.arguments.length>n.arguments.length}var oo=new Set(["!","-","+","~"]);function Ee(e,t=2){if(t<=0)return!1;if(e.type==="ChainExpression"||e.type==="TSNonNullExpression")return Ee(e.expression,t);let n=r=>Ee(r,t-1);if(tu(e))return lt(e.pattern??e.regex.pattern)<=5;if(Un(e)||Ys(e)||e.type==="ArgumentPlaceholder")return!0;if(e.type==="TemplateLiteral")return e.quasis.every(r=>!r.value.raw.includes(` +`))&&e.expressions.every(n);if(Ae(e))return e.properties.every(r=>!r.computed&&(r.shorthand||r.value&&n(r.value)));if(Q(e))return e.elements.every(r=>r===null||n(r));if(dt(e)){if(e.type==="ImportExpression"||Ee(e.callee,t)){let r=de(e);return r.length<=t&&r.every(n)}return!1}return R(e)?Ee(e.object,t)&&Ee(e.property,t):e.type==="UnaryExpression"&&oo.has(e.operator)||e.type==="UpdateExpression"?Ee(e.argument,t):!1}function io(e){return e}function Ie(e,t="es5"){return e.trailingComma==="es5"&&t==="es5"||e.trailingComma==="all"&&(t==="all"||t==="es5")}function te(e,t){switch(e.type){case"BinaryExpression":case"LogicalExpression":case"AssignmentExpression":case"NGPipeExpression":return te(e.left,t);case"MemberExpression":case"OptionalMemberExpression":return te(e.object,t);case"TaggedTemplateExpression":return e.tag.type==="FunctionExpression"?!1:te(e.tag,t);case"CallExpression":case"OptionalCallExpression":return e.callee.type==="FunctionExpression"?!1:te(e.callee,t);case"ConditionalExpression":return te(e.test,t);case"UpdateExpression":return!e.prefix&&te(e.argument,t);case"BindExpression":return e.object&&te(e.object,t);case"SequenceExpression":return te(e.expressions[0],t);case"ChainExpression":case"TSSatisfiesExpression":case"TSAsExpression":case"TSNonNullExpression":case"AsExpression":case"AsConstExpression":case"SatisfiesExpression":return te(e.expression,t);default:return t(e)}}var Ar={"==":!0,"!=":!0,"===":!0,"!==":!0},Xt={"*":!0,"/":!0,"%":!0},Sn={">>":!0,">>>":!0,"<<":!0};function Kn(e,t){return!(Kt(t)!==Kt(e)||e==="**"||Ar[e]&&Ar[t]||t==="%"&&Xt[e]||e==="%"&&Xt[t]||t!==e&&Xt[t]&&Xt[e]||Sn[e]&&Sn[t])}var po=new Map([["|>"],["??"],["||"],["&&"],["|"],["^"],["&"],["==","===","!=","!=="],["<",">","<=",">=","in","instanceof"],[">>","<<",">>>"],["+","-"],["*","/","%"],["**"]].flatMap((e,t)=>e.map(n=>[n,t])));function Kt(e){return po.get(e)}function lo(e){return!!Sn[e]||e==="|"||e==="^"||e==="&"}function co(e){var t;if(e.rest)return!0;let n=Z(e);return((t=X(!1,n,-1))==null?void 0:t.type)==="RestElement"}var Dn=new WeakMap;function Z(e){if(Dn.has(e))return Dn.get(e);let t=[];return e.this&&t.push(e.this),Array.isArray(e.parameters)?t.push(...e.parameters):Array.isArray(e.params)&&t.push(...e.params),e.rest&&t.push(e.rest),Dn.set(e,t),t}function Do(e,t){let{node:n}=e,r=0,u=a=>t(a,r++);n.this&&e.call(u,"this"),Array.isArray(n.parameters)?e.each(u,"parameters"):Array.isArray(n.params)&&e.each(u,"params"),n.rest&&e.call(u,"rest")}var yn=new WeakMap;function de(e){if(yn.has(e))return yn.get(e);if(e.type==="ChainExpression")return de(e.expression);let t=e.arguments;return(e.type==="ImportExpression"||e.type==="TSImportType")&&(t=[e.type==="ImportExpression"?e.source:e.argument],e.options&&t.push(e.options)),yn.set(e,t),t}function Ht(e,t){let{node:n}=e;if(n.type==="ChainExpression")return e.call(()=>Ht(e,t),"expression");n.type==="ImportExpression"||n.type==="TSImportType"?(e.call(r=>t(r,0),n.type==="ImportExpression"?"source":"argument"),n.options&&e.call(r=>t(r,1),"options")):e.each(t,"arguments")}function gr(e,t){let n=[];if(e.type==="ChainExpression"&&(e=e.expression,n.push("expression")),e.type==="ImportExpression"||e.type==="TSImportType"){if(t===0||t===(e.options?-2:-1))return[...n,e.type==="ImportExpression"?"source":"argument"];if(e.options&&(t===1||t===-1))return[...n,"options"];throw new RangeError("Invalid argument index")}if(t<0&&(t=e.arguments.length+t),t<0||t>=e.arguments.length)throw new RangeError("Invalid argument index");return[...n,"arguments",t]}function zt(e){return e.value.trim()==="prettier-ignore"&&!e.unignore}function un(e){return(e==null?void 0:e.prettierIgnore)||h(e,T.PrettierIgnore)}var T={Leading:2,Trailing:4,Dangling:8,Block:16,Line:32,PrettierIgnore:64,First:128,Last:256},iu=(e,t)=>{if(typeof e=="function"&&(t=e,e=0),e||t)return(n,r,u)=>!(e&T.Leading&&!n.leading||e&T.Trailing&&!n.trailing||e&T.Dangling&&(n.leading||n.trailing)||e&T.Block&&!ye(n)||e&T.Line&&!Nt(n)||e&T.First&&r!==0||e&T.Last&&r!==u.length-1||e&T.PrettierIgnore&&!zt(n)||t&&!t(n))};function h(e,t,n){if(!J(e==null?void 0:e.comments))return!1;let r=iu(t,n);return r?e.comments.some(r):!0}function Ke(e,t,n){if(!Array.isArray(e==null?void 0:e.comments))return[];let r=iu(t,n);return r?e.comments.filter(r):e.comments}var Ne=(e,{originalText:t})=>$n(t,I(e));function dt(e){return L(e)||e.type==="NewExpression"||e.type==="ImportExpression"}function je(e){return e&&(e.type==="ObjectProperty"||e.type==="Property"&&!nn(e))}var Ce=_(["TSAsExpression","TSSatisfiesExpression","AsExpression","AsConstExpression","SatisfiesExpression"]),$e=_(["TSUnionType","UnionTypeAnnotation"]),Hn=_(["TSIntersectionType","IntersectionTypeAnnotation"]),Re=_(["TSConditionalType","ConditionalTypeAnnotation"]),yo=new Set(["range","raw","comments","leadingComments","trailingComments","innerComments","extra","start","end","loc","flags","errors","tokens"]),ot=e=>{for(let t of e.quasis)delete t.value};function pu(e,t){var n;if(e.type==="Program"&&delete t.sourceType,(e.type==="BigIntLiteral"||e.type==="BigIntLiteralTypeAnnotation")&&e.value&&(t.value=e.value.toLowerCase()),(e.type==="BigIntLiteral"||e.type==="Literal")&&e.bigint&&(t.bigint=e.bigint.toLowerCase()),e.type==="EmptyStatement"||e.type==="JSXText"||e.type==="JSXExpressionContainer"&&(e.expression.type==="Literal"||e.expression.type==="StringLiteral")&&e.expression.value===" ")return null;if((e.type==="Property"||e.type==="ObjectProperty"||e.type==="MethodDefinition"||e.type==="ClassProperty"||e.type==="ClassMethod"||e.type==="PropertyDefinition"||e.type==="TSDeclareMethod"||e.type==="TSPropertySignature"||e.type==="ObjectTypeProperty"||e.type==="ImportAttribute")&&e.key&&!e.computed){let{key:u}=e;Y(u)||be(u)?t.key=String(u.value):u.type==="Identifier"&&(t.key=u.name)}if(e.type==="JSXElement"&&e.openingElement.name.name==="style"&&e.openingElement.attributes.some(u=>u.type==="JSXAttribute"&&u.name.name==="jsx"))for(let{type:u,expression:a}of t.children)u==="JSXExpressionContainer"&&a.type==="TemplateLiteral"&&ot(a);e.type==="JSXAttribute"&&e.name.name==="css"&&e.value.type==="JSXExpressionContainer"&&e.value.expression.type==="TemplateLiteral"&&ot(t.value.expression),e.type==="JSXAttribute"&&((n=e.value)==null?void 0:n.type)==="Literal"&&/["']|"|'/u.test(e.value.value)&&(t.value.value=H(!1,e.value.value,/["']|"|'/gu,'"'));let r=e.expression||e.callee;if(e.type==="Decorator"&&r.type==="CallExpression"&&r.callee.name==="Component"&&r.arguments.length===1){let u=e.expression.arguments[0].properties;for(let[a,s]of t.expression.arguments[0].properties.entries())switch(u[a].key.name){case"styles":Q(s.value)&&ot(s.value.elements[0]);break;case"template":s.value.type==="TemplateLiteral"&&ot(s.value);break}}e.type==="TaggedTemplateExpression"&&(e.tag.type==="MemberExpression"||e.tag.type==="Identifier"&&(e.tag.name==="gql"||e.tag.name==="graphql"||e.tag.name==="css"||e.tag.name==="md"||e.tag.name==="markdown"||e.tag.name==="html")||e.tag.type==="CallExpression")&&ot(t.quasi),e.type==="TemplateLiteral"&&ot(t),e.type==="ChainExpression"&&e.expression.type==="TSNonNullExpression"&&(t.type="TSNonNullExpression",t.expression.type="ChainExpression")}pu.ignoredProperties=yo;var mo=pu,Qe="string",Pe="array",ft="cursor",Ye="indent",Ze="align",et="trim",De="group",We="fill",Se="if-break",tt="indent-if-break",nt="line-suffix",Ue="line-suffix-boundary",ie="line",Le="label",Me="break-parent",lu=new Set([ft,Ye,Ze,et,De,We,Se,tt,nt,Ue,ie,Le,Me]);function fo(e){if(typeof e=="string")return Qe;if(Array.isArray(e))return Pe;if(!e)return;let{type:t}=e;if(lu.has(t))return t}var Ge=fo,Eo=e=>new Intl.ListFormat("en-US",{type:"disjunction"}).format(e);function Fo(e){let t=e===null?"null":typeof e;if(t!=="string"&&t!=="object")return`Unexpected doc '${t}', +Expected it to be 'string' or 'object'.`;if(Ge(e))throw new Error("doc is valid.");let n=Object.prototype.toString.call(e);if(n!=="[object Object]")return`Unexpected doc '${n}'.`;let r=Eo([...lu].map(u=>`'${u}'`));return`Unexpected doc.type '${e.type}'. +Expected it to be ${r}.`}var Ao=class extends Error{constructor(t){super(Fo(t));qt(this,"name","InvalidDocError");this.doc=t}},Pt=Ao,xr={};function go(e,t,n,r){let u=[e];for(;u.length>0;){let a=u.pop();if(a===xr){n(u.pop());continue}n&&u.push(a,xr);let s=Ge(a);if(!s)throw new Pt(a);if((t==null?void 0:t(a))!==!1)switch(s){case Pe:case We:{let o=s===Pe?a:a.parts;for(let i=o.length,l=i-1;l>=0;--l)u.push(o[l]);break}case Se:u.push(a.flatContents,a.breakContents);break;case De:if(r&&a.expandedStates)for(let o=a.expandedStates.length,i=o-1;i>=0;--i)u.push(a.expandedStates[i]);else u.push(a.contents);break;case Ze:case Ye:case tt:case Le:case nt:u.push(a.contents);break;case Qe:case ft:case et:case Ue:case ie:case Me:break;default:throw new Pt(a)}}}var zn=go;function Et(e,t){if(typeof e=="string")return t(e);let n=new Map;return r(e);function r(a){if(n.has(a))return n.get(a);let s=u(a);return n.set(a,s),s}function u(a){switch(Ge(a)){case Pe:return t(a.map(r));case We:return t({...a,parts:a.parts.map(r)});case Se:return t({...a,breakContents:r(a.breakContents),flatContents:r(a.flatContents)});case De:{let{expandedStates:s,contents:o}=a;return s?(s=s.map(r),o=s[0]):o=r(o),t({...a,contents:o,expandedStates:s})}case Ze:case Ye:case tt:case Le:case nt:return t({...a,contents:r(a.contents)});case Qe:case ft:case et:case Ue:case ie:case Me:return t(a);default:throw new Pt(a)}}}function cu(e,t,n){let r=n,u=!1;function a(s){if(u)return!1;let o=t(s);o!==void 0&&(u=!0,r=o)}return zn(e,a),r}function xo(e){if(e.type===De&&e.break||e.type===ie&&e.hard||e.type===Me)return!0}function ne(e){return cu(e,xo,!1)}function hr(e){if(e.length>0){let t=X(!1,e,-1);!t.expandedStates&&!t.break&&(t.break="propagated")}return null}function ho(e){let t=new Set,n=[];function r(a){if(a.type===Me&&hr(n),a.type===De){if(n.push(a),t.has(a))return!1;t.add(a)}}function u(a){a.type===De&&n.pop().break&&hr(n)}zn(e,r,u,!0)}function Co(e){return e.type===ie&&!e.hard?e.soft?"":" ":e.type===Se?e.flatContents:e}function bn(e){return Et(e,Co)}function To(e){switch(Ge(e)){case We:if(e.parts.every(t=>t===""))return"";break;case De:if(!e.contents&&!e.id&&!e.break&&!e.expandedStates)return"";if(e.contents.type===De&&e.contents.id===e.id&&e.contents.break===e.break&&e.contents.expandedStates===e.expandedStates)return e.contents;break;case Ze:case Ye:case tt:case nt:if(!e.contents)return"";break;case Se:if(!e.flatContents&&!e.breakContents)return"";break;case Pe:{let t=[];for(let n of e){if(!n)continue;let[r,...u]=Array.isArray(n)?n:[n];typeof r=="string"&&typeof X(!1,t,-1)=="string"?t[t.length-1]+=r:t.push(r),t.push(...u)}return t.length===0?"":t.length===1?t[0]:t}case Qe:case ft:case et:case Ue:case ie:case Le:case Me:break;default:throw new Pt(e)}return e}function Qn(e){return Et(e,t=>To(t))}function He(e,t=mu){return Et(e,n=>typeof n=="string"?N(t,n.split(` +`)):n)}function So(e){if(e.type===ie)return!0}function bo(e){return cu(e,So,!1)}function Bn(e,t){return e.type===Le?{...e,contents:t(e.contents)}:t(e)}function Bo(e){let t=!0;return zn(e,n=>{switch(Ge(n)){case Qe:if(n==="")break;case et:case Ue:case ie:case Me:return t=!1,!1}}),t}var vo=()=>{},ko=vo;function A(e){return{type:Ye,contents:e}}function Be(e,t){return{type:Ze,contents:t,n:e}}function m(e,t={}){return ko(t.expandedStates),{type:De,id:t.id,contents:e,break:!!t.shouldBreak,expandedStates:t.expandedStates}}function Po(e){return Be(Number.NEGATIVE_INFINITY,e)}function Du(e){return Be(-1,e)}function Ve(e,t){return m(e[0],{...t,expandedStates:e})}function yu(e){return{type:We,parts:e}}function w(e,t="",n={}){return{type:Se,breakContents:e,flatContents:t,groupId:n.groupId}}function an(e,t){return{type:tt,contents:e,groupId:t.groupId,negate:t.negate}}function Cr(e){return{type:nt,contents:e}}var we={type:Ue},ve={type:Me},du={type:ie,hard:!0},wo={type:ie,hard:!0,literal:!0},C={type:ie},E={type:ie,soft:!0},F=[du,ve],mu=[wo,ve],$t={type:ft};function N(e,t){let n=[];for(let r=0;r0){for(let u=0;u1&&t.every(n=>n.trimStart()[0]==="*")}var dn=new WeakMap;function jo(e){return dn.has(e)||dn.set(e,No(e)),dn.get(e)}var Lo=jo;function Mo(e,t){let n=e.node;if(Nt(n))return t.originalText.slice(q(n),I(n)).trimEnd();if(Lo(n))return Oo(n);if(ye(n))return["/*",He(n.value),"*/"];throw new Error("Not a comment: "+JSON.stringify(n))}function Oo(e){let t=e.value.split(` +`);return["/*",N(F,t.map((n,r)=>r===0?n.trimEnd():" "+(rWo,ownLine:()=>Ro,remaining:()=>Uo});function Jo(e){let t=e.type||e.kind||"(unknown type)",n=String(e.name||e.id&&(typeof e.id=="object"?e.id.name:e.id)||e.key&&(typeof e.key=="object"?e.key.name:e.key)||e.value&&(typeof e.value=="object"?"":String(e.value))||e.operator||"");return n.length>20&&(n=n.slice(0,19)+"…"),t+(n?" "+n:"")}function Yn(e,t){(e.comments??(e.comments=[])).push(t),t.printed=!1,t.nodeDescription=Jo(e)}function ee(e,t){t.leading=!0,t.trailing=!1,Yn(e,t)}function le(e,t,n){t.leading=!1,t.trailing=!1,n&&(t.marker=n),Yn(e,t)}function W(e,t){t.leading=!1,t.trailing=!0,Yn(e,t)}function qo(e,t){let n=null,r=t;for(;r!==n;)n=r,r=ct(e,r),r=_n(e,r),r=Xn(e,r),r=Dt(e,r);return r}var Ft=qo;function _o(e,t){let n=Ft(e,t);return n===!1?"":e.charAt(n)}var ge=_o;function Xo(e,t,n){for(let r=t;rNt(e)||!ce(t,q(e),I(e));function Ro(e){return[bu,gu,Cu,ni,Vo,Zn,er,Au,xu,si,ui,nr,Su,oi,hu,Tu,tr,Ko,di,Bu].some(t=>t(e))}function Wo(e){return[Go,Cu,gu,Su,Zn,er,Au,xu,Tu,ri,ai,nr,li,tr,Di,yi,mi,Bu].some(t=>t(e))}function Uo(e){return[bu,Zn,er,Ho,ti,hu,nr,ei,Zo,tr,ci].some(t=>t(e))}function rt(e,t){let n=(e.body||e.properties).find(({type:r})=>r!=="EmptyStatement");n?ee(n,t):le(e,t)}function vn(e,t){e.type==="BlockStatement"?rt(e,t):ee(e,t)}function Go({comment:e,followingNode:t}){return t&&Eu(e)?(ee(t,e),!0):!1}function Zn({comment:e,precedingNode:t,enclosingNode:n,followingNode:r,text:u}){if((n==null?void 0:n.type)!=="IfStatement"||!r)return!1;if(ge(u,I(e))===")")return W(t,e),!0;if(t===n.consequent&&r===n.alternate){let a=Ft(u,I(n.consequent));if(q(e)"?(le(t,e),!0):!1}function ti({comment:e,enclosingNode:t,text:n}){return ge(n,I(e))!==")"?!1:t&&(vu(t)&&Z(t).length===0||dt(t)&&de(t).length===0)?(le(t,e),!0):((t==null?void 0:t.type)==="MethodDefinition"||(t==null?void 0:t.type)==="TSAbstractMethodDefinition")&&Z(t.value).length===0?(le(t.value,e),!0):!1}function ni({comment:e,precedingNode:t,enclosingNode:n,followingNode:r,text:u}){return(t==null?void 0:t.type)==="ComponentTypeParameter"&&((n==null?void 0:n.type)==="DeclareComponent"||(n==null?void 0:n.type)==="ComponentTypeAnnotation")&&(r==null?void 0:r.type)!=="ComponentTypeParameter"||((t==null?void 0:t.type)==="ComponentParameter"||(t==null?void 0:t.type)==="RestElement")&&(n==null?void 0:n.type)==="ComponentDeclaration"&&ge(u,I(e))===")"?(W(t,e),!0):!1}function Cu({comment:e,precedingNode:t,enclosingNode:n,followingNode:r,text:u}){return(t==null?void 0:t.type)==="FunctionTypeParam"&&(n==null?void 0:n.type)==="FunctionTypeAnnotation"&&(r==null?void 0:r.type)!=="FunctionTypeParam"||((t==null?void 0:t.type)==="Identifier"||(t==null?void 0:t.type)==="AssignmentPattern"||(t==null?void 0:t.type)==="ObjectPattern"||(t==null?void 0:t.type)==="ArrayPattern"||(t==null?void 0:t.type)==="RestElement"||(t==null?void 0:t.type)==="TSParameterProperty")&&vu(n)&&ge(u,I(e))===")"?(W(t,e),!0):!ye(e)&&((n==null?void 0:n.type)==="FunctionDeclaration"||(n==null?void 0:n.type)==="FunctionExpression"||(n==null?void 0:n.type)==="ObjectMethod")&&(r==null?void 0:r.type)==="BlockStatement"&&n.body===r&&Ft(u,I(e))===q(r)?(rt(r,e),!0):!1}function Tu({comment:e,enclosingNode:t}){return(t==null?void 0:t.type)==="LabeledStatement"?(ee(t,e),!0):!1}function tr({comment:e,enclosingNode:t}){return((t==null?void 0:t.type)==="ContinueStatement"||(t==null?void 0:t.type)==="BreakStatement")&&!t.label?(W(t,e),!0):!1}function ri({comment:e,precedingNode:t,enclosingNode:n}){return L(n)&&t&&n.callee===t&&n.arguments.length>0?(ee(n.arguments[0],e),!0):!1}function ui({comment:e,precedingNode:t,enclosingNode:n,followingNode:r}){return $e(n)?(zt(e)&&(r.prettierIgnore=!0,e.unignore=!0),t?(W(t,e),!0):!1):($e(r)&&zt(e)&&(r.types[0].prettierIgnore=!0,e.unignore=!0),!1)}function ai({comment:e,enclosingNode:t}){return je(t)?(ee(t,e),!0):!1}function nr({comment:e,enclosingNode:t,ast:n,isLastComment:r}){var u;return((u=n==null?void 0:n.body)==null?void 0:u.length)===0?(r?le(n,e):ee(n,e),!0):(t==null?void 0:t.type)==="Program"&&t.body.length===0&&!J(t.directives)?(r?le(t,e):ee(t,e),!0):!1}function si({comment:e,enclosingNode:t}){return(t==null?void 0:t.type)==="ForInStatement"||(t==null?void 0:t.type)==="ForOfStatement"?(ee(t,e),!0):!1}function Su({comment:e,precedingNode:t,enclosingNode:n,text:r}){if((n==null?void 0:n.type)==="ImportSpecifier"||(n==null?void 0:n.type)==="ExportSpecifier")return ee(n,e),!0;let u=(t==null?void 0:t.type)==="ImportSpecifier"&&(n==null?void 0:n.type)==="ImportDeclaration",a=(t==null?void 0:t.type)==="ExportSpecifier"&&(n==null?void 0:n.type)==="ExportNamedDeclaration";return(u||a)&&pe(r,I(e))?(W(t,e),!0):!1}function oi({comment:e,enclosingNode:t}){return(t==null?void 0:t.type)==="AssignmentPattern"?(ee(t,e),!0):!1}var ii=new Set(["VariableDeclarator","AssignmentExpression","TypeAlias","TSTypeAliasDeclaration"]),pi=new Set(["ObjectExpression","ArrayExpression","TemplateLiteral","TaggedTemplateExpression","ObjectTypeAnnotation","TSTypeLiteral"]);function li({comment:e,enclosingNode:t,followingNode:n}){return ii.has(t==null?void 0:t.type)&&n&&(pi.has(n.type)||ye(e))?(ee(n,e),!0):!1}function ci({comment:e,enclosingNode:t,followingNode:n,text:r}){return!n&&((t==null?void 0:t.type)==="TSMethodSignature"||(t==null?void 0:t.type)==="TSDeclareFunction"||(t==null?void 0:t.type)==="TSAbstractMethodDefinition")&&ge(r,I(e))===";"?(W(t,e),!0):!1}function bu({comment:e,enclosingNode:t,followingNode:n}){if(zt(e)&&(t==null?void 0:t.type)==="TSMappedType"&&n===t.key)return t.prettierIgnore=!0,e.unignore=!0,!0}function Bu({comment:e,precedingNode:t,enclosingNode:n}){if((n==null?void 0:n.type)==="TSMappedType"&&!t)return le(n,e),!0}function Di({comment:e,enclosingNode:t,followingNode:n}){return!t||t.type!=="SwitchCase"||t.test||!n||n!==t.consequent[0]?!1:(n.type==="BlockStatement"&&Nt(e)?rt(n,e):le(t,e),!0)}function yi({comment:e,precedingNode:t,enclosingNode:n,followingNode:r}){return $e(t)&&((n.type==="TSArrayType"||n.type==="ArrayTypeAnnotation")&&!r||Hn(n))?(W(X(!1,t.types,-1),e),!0):!1}function di({comment:e,enclosingNode:t,precedingNode:n,followingNode:r}){if(((t==null?void 0:t.type)==="ObjectPattern"||(t==null?void 0:t.type)==="ArrayPattern")&&(r==null?void 0:r.type)==="TSTypeAnnotation")return n?W(n,e):le(t,e),!0}function mi({comment:e,precedingNode:t,enclosingNode:n,followingNode:r,text:u}){return!r&&(n==null?void 0:n.type)==="UnaryExpression"&&((t==null?void 0:t.type)==="LogicalExpression"||(t==null?void 0:t.type)==="BinaryExpression")&&ce(u,q(n.argument),q(t.right))&&Fu(e,u)&&!ce(u,q(t.right),q(e))?(W(t.right,e),!0):!1}var vu=_(["ArrowFunctionExpression","FunctionExpression","FunctionDeclaration","ObjectMethod","ClassMethod","TSDeclareFunction","TSCallSignatureDeclaration","TSConstructSignatureDeclaration","TSMethodSignature","TSConstructorType","TSFunctionType","TSDeclareMethod"]),fi=new Set(["EmptyStatement","TemplateElement","TSEmptyBodyFunctionExpression","ChainExpression"]);function Ei(e){return!fi.has(e.type)}function Fi(e,t){var n;if((t.parser==="typescript"||t.parser==="flow"||t.parser==="hermes"||t.parser==="acorn"||t.parser==="oxc"||t.parser==="oxc-ts"||t.parser==="espree"||t.parser==="meriyah"||t.parser==="__babel_estree")&&e.type==="MethodDefinition"&&((n=e.value)==null?void 0:n.type)==="FunctionExpression"&&Z(e.value).length===0&&!e.value.returnType&&!J(e.value.typeParameters)&&e.value.body)return[...e.decorators||[],e.key,e.value.body]}function ku(e){let{node:t,parent:n}=e;return(K(t)||n&&(n.type==="JSXSpreadAttribute"||n.type==="JSXSpreadChild"||$e(n)||(n.type==="ClassDeclaration"||n.type==="ClassExpression")&&n.superClass===t))&&(!un(t)||$e(n))}function Ai(e,{parser:t}){if(t==="flow"||t==="hermes"||t==="babel-flow")return e=H(!1,e,/[\s(]/gu,""),e===""||e==="/*"||e==="/*::"}function gi(e){switch(e){case"cr":return"\r";case"crlf":return`\r +`;default:return` +`}}var ae=Symbol("MODE_BREAK"),he=Symbol("MODE_FLAT"),pt=Symbol("cursor"),kn=Symbol("DOC_FILL_PRINTED_LENGTH");function Pu(){return{value:"",length:0,queue:[]}}function xi(e,t){return Pn(e,{type:"indent"},t)}function hi(e,t,n){return t===Number.NEGATIVE_INFINITY?e.root||Pu():t<0?Pn(e,{type:"dedent"},n):t?t.type==="root"?{...e,root:e}:Pn(e,{type:typeof t=="string"?"stringAlign":"numberAlign",n:t},n):e}function Pn(e,t,n){let r=t.type==="dedent"?e.queue.slice(0,-1):[...e.queue,t],u="",a=0,s=0,o=0;for(let y of r)switch(y.type){case"indent":d(),n.useTabs?i(1):l(n.tabWidth);break;case"stringAlign":d(),u+=y.n,a+=y.n.length;break;case"numberAlign":s+=1,o+=y.n;break;default:throw new Error(`Unexpected type '${y.type}'`)}return c(),{...e,value:u,length:a,queue:r};function i(y){u+=" ".repeat(y),a+=n.tabWidth*y}function l(y){u+=" ".repeat(y),a+=y}function d(){n.useTabs?D():c()}function D(){s>0&&i(s),p()}function c(){o>0&&l(o),p()}function p(){s=0,o=0}}function wn(e){let t=0,n=0,r=e.length;e:for(;r--;){let u=e[r];if(u===pt){n++;continue}for(let a=u.length-1;a>=0;a--){let s=u[a];if(s===" "||s===" ")t++;else{e[r]=u.slice(0,a+1);break e}}}if(t>0||n>0)for(e.length=r+1;n-- >0;)e.push(pt);return t}function Rt(e,t,n,r,u,a){if(n===Number.POSITIVE_INFINITY)return!0;let s=t.length,o=[e],i=[];for(;n>=0;){if(o.length===0){if(s===0)return!0;o.push(t[--s]);continue}let{mode:l,doc:d}=o.pop(),D=Ge(d);switch(D){case Qe:i.push(d),n-=lt(d);break;case Pe:case We:{let c=D===Pe?d:d.parts,p=d[kn]??0;for(let y=c.length-1;y>=p;y--)o.push({mode:l,doc:c[y]});break}case Ye:case Ze:case tt:case Le:o.push({mode:l,doc:d.contents});break;case et:n+=wn(i);break;case De:{if(a&&d.break)return!1;let c=d.break?ae:l,p=d.expandedStates&&c===ae?X(!1,d.expandedStates,-1):d.contents;o.push({mode:c,doc:p});break}case Se:{let c=(d.groupId?u[d.groupId]||he:l)===ae?d.breakContents:d.flatContents;c&&o.push({mode:l,doc:c});break}case ie:if(l===ae||d.hard)return!0;d.soft||(i.push(" "),n--);break;case nt:r=!0;break;case Ue:if(r)return!1;break}}return!1}function wu(e,t){let n={},r=t.printWidth,u=gi(t.endOfLine),a=0,s=[{ind:Pu(),mode:ae,doc:e}],o=[],i=!1,l=[],d=0;for(ho(e);s.length>0;){let{ind:c,mode:p,doc:y}=s.pop();switch(Ge(y)){case Qe:{let f=u!==` +`?H(!1,y,` +`,u):y;o.push(f),s.length>0&&(a+=lt(f));break}case Pe:for(let f=y.length-1;f>=0;f--)s.push({ind:c,mode:p,doc:y[f]});break;case ft:if(d>=2)throw new Error("There are too many 'cursor' in doc.");o.push(pt),d++;break;case Ye:s.push({ind:xi(c,t),mode:p,doc:y.contents});break;case Ze:s.push({ind:hi(c,y.n,t),mode:p,doc:y.contents});break;case et:a-=wn(o);break;case De:switch(p){case he:if(!i){s.push({ind:c,mode:y.break?ae:he,doc:y.contents});break}case ae:{i=!1;let f={ind:c,mode:he,doc:y.contents},g=r-a,S=l.length>0;if(!y.break&&Rt(f,s,g,S,n))s.push(f);else if(y.expandedStates){let b=X(!1,y.expandedStates,-1);if(y.break){s.push({ind:c,mode:ae,doc:b});break}else for(let x=1;x=y.expandedStates.length){s.push({ind:c,mode:ae,doc:b});break}else{let j=y.expandedStates[x],v={ind:c,mode:he,doc:j};if(Rt(v,s,g,S,n)){s.push(v);break}}}else s.push({ind:c,mode:ae,doc:y.contents});break}}y.id&&(n[y.id]=X(!1,s,-1).mode);break;case We:{let f=r-a,g=y[kn]??0,{parts:S}=y,b=S.length-g;if(b===0)break;let x=S[g+0],j=S[g+1],v={ind:c,mode:he,doc:x},B={ind:c,mode:ae,doc:x},M=Rt(v,[],f,l.length>0,n,!0);if(b===1){M?s.push(v):s.push(B);break}let k={ind:c,mode:he,doc:j},O={ind:c,mode:ae,doc:j};if(b===2){M?s.push(k,v):s.push(O,B);break}let G=S[g+2],U={ind:c,mode:p,doc:{...y,[kn]:g+2}};Rt({ind:c,mode:he,doc:[x,j,G]},[],f,l.length>0,n,!0)?s.push(U,k,v):M?s.push(U,O,v):s.push(U,O,B);break}case Se:case tt:{let f=y.groupId?n[y.groupId]:p;if(f===ae){let g=y.type===Se?y.breakContents:y.negate?y.contents:A(y.contents);g&&s.push({ind:c,mode:p,doc:g})}if(f===he){let g=y.type===Se?y.flatContents:y.negate?A(y.contents):y.contents;g&&s.push({ind:c,mode:p,doc:g})}break}case nt:l.push({ind:c,mode:p,doc:y.contents});break;case Ue:l.length>0&&s.push({ind:c,mode:p,doc:du});break;case ie:switch(p){case he:if(y.hard)i=!0;else{y.soft||(o.push(" "),a+=1);break}case ae:if(l.length>0){s.push({ind:c,mode:p,doc:y},...l.reverse()),l.length=0;break}y.literal?c.root?(o.push(u,c.root.value),a=c.root.length):(o.push(u),a=0):(a-=wn(o),o.push(u+c.value),a=c.length);break}break;case Le:s.push({ind:c,mode:p,doc:y.contents});break;case Me:break;default:throw new Pt(y)}s.length===0&&l.length>0&&(s.push(...l.reverse()),l.length=0)}let D=o.indexOf(pt);if(D!==-1){let c=o.indexOf(pt,D+1);if(c===-1)return{formatted:o.filter(g=>g!==pt).join("")};let p=o.slice(0,D).join(""),y=o.slice(D+1,c).join(""),f=o.slice(c+1).join("");return{formatted:p+y+f,cursorNodeStart:p.length,cursorNodeText:y}}return{formatted:o.join("")}}function Ci(e,t,n=0){let r=0;for(let u=n;u{if(a.push(n()),l.tail)return;let{tabWidth:d}=t,D=l.value.raw,c=D.includes(` +`)?bi(D,d):o;o=c;let p=s[i],y=r[u][i],f=ce(t.originalText,I(l),q(r.quasis[i+1]));if(!f){let S=wu(p,{...t,printWidth:Number.POSITIVE_INFINITY}).formatted;S.includes(` +`)?f=!0:p=S}f&&(h(y)||y.type==="Identifier"||R(y)||y.type==="ConditionalExpression"||y.type==="SequenceExpression"||Ce(y)||ke(y))&&(p=[A([E,p]),E]);let g=c===0&&D.endsWith(` +`)?Be(Number.NEGATIVE_INFINITY,p):Io(p,c,d);a.push(m(["${",g,we,"}"]))},"quasis"),a.push("`"),a}function Bi(e,t,n){let r=n("quasi"),{node:u}=e,a="",s=Ke(u.quasi,T.Leading)[0];return s&&(ce(t.originalText,I(u.typeArguments??u.typeParameters??u.tag),q(s))?a=E:a=" "),jt(r.label&&{tagged:!0,...r.label},[n("tag"),n(u.typeArguments?"typeArguments":"typeParameters"),a,we,r])}function vi(e,t,n){let{node:r}=e,u=r.quasis[0].value.raw.trim().split(/\s*\|\s*/u);if(u.length>1||u.some(a=>a.length>0)){t.__inJestEach=!0;let a=e.map(n,"expressions");t.__inJestEach=!1;let s=[],o=a.map(c=>"${"+wu(c,{...t,printWidth:Number.POSITIVE_INFINITY,endOfLine:"lf"}).formatted+"}"),i=[{hasLineBreak:!1,cells:[]}];for(let c=1;cc.cells.length)),d=Array.from({length:l}).fill(0),D=[{cells:u},...i.filter(c=>c.cells.length>0)];for(let{cells:c}of D.filter(p=>!p.hasLineBreak))for(let[p,y]of c.entries())d[p]=Math.max(d[p],lt(y));return s.push(we,"`",A([F,N(F,D.map(c=>N(" | ",c.cells.map((p,y)=>c.hasLineBreak?p:p+" ".repeat(d[y]-lt(p))))))]),F,"`"),s}}function ki(e,t){let{node:n}=e,r=t();return h(n)&&(r=m([A([E,r]),E])),["${",r,we,"}"]}function rr(e,t){return e.map(n=>ki(n,t),"expressions")}function Nu(e,t){return Et(e,n=>typeof n=="string"?t?H(!1,n,/(\\*)`/gu,"$1$1\\`"):ju(n):n)}function ju(e){return H(!1,e,/([\\`]|\$\{)/gu,String.raw`\$1`)}function Pi({node:e,parent:t}){let n=/^[fx]?(?:describe|it|test)$/u;return t.type==="TaggedTemplateExpression"&&t.quasi===e&&t.tag.type==="MemberExpression"&&t.tag.property.type==="Identifier"&&t.tag.property.name==="each"&&(t.tag.object.type==="Identifier"&&n.test(t.tag.object.name)||t.tag.object.type==="MemberExpression"&&t.tag.object.property.type==="Identifier"&&(t.tag.object.property.name==="only"||t.tag.object.property.name==="skip")&&t.tag.object.object.type==="Identifier"&&n.test(t.tag.object.object.name))}var In=[(e,t)=>e.type==="ObjectExpression"&&t==="properties",(e,t)=>e.type==="CallExpression"&&e.callee.type==="Identifier"&&e.callee.name==="Component"&&t==="arguments",(e,t)=>e.type==="Decorator"&&t==="expression"];function wi(e){let t=r=>r.type==="TemplateLiteral",n=(r,u)=>je(r)&&!r.computed&&r.key.type==="Identifier"&&r.key.name==="styles"&&u==="value";return e.match(t,(r,u)=>Q(r)&&u==="elements",n,...In)||e.match(t,n,...In)}function Ii(e){return e.match(t=>t.type==="TemplateLiteral",(t,n)=>je(t)&&!t.computed&&t.key.type==="Identifier"&&t.key.name==="template"&&n==="value",...In)}function fn(e,t){return h(e,T.Block|T.Leading,({value:n})=>n===` ${t} `)}function Lu({node:e,parent:t},n){return fn(e,n)||Ni(t)&&fn(t,n)||t.type==="ExpressionStatement"&&fn(t,n)}function Ni(e){return e.type==="AsConstExpression"||e.type==="TSAsExpression"&&e.typeAnnotation.type==="TSTypeReference"&&e.typeAnnotation.typeName.type==="Identifier"&&e.typeAnnotation.typeName.name==="const"}async function ji(e,t,n){let{node:r}=n,u=r.quasis.map(d=>d.value.raw),a=0,s=u.reduce((d,D,c)=>c===0?D:d+"@prettier-placeholder-"+a+++"-id"+D,""),o=await e(s,{parser:"scss"}),i=rr(n,t),l=Li(o,i);if(!l)throw new Error("Couldn't insert all the expressions");return["`",A([F,l]),E,"`"]}function Li(e,t){if(!J(t))return e;let n=0,r=Et(Qn(e),u=>typeof u!="string"||!u.includes("@prettier-placeholder")?u:u.split(/@prettier-placeholder-(\d+)-id/u).map((a,s)=>s%2===0?He(a):(n++,t[a])));return t.length===n?r:null}function Mi({node:e,parent:t,grandparent:n}){return n&&e.quasis&&t.type==="JSXExpressionContainer"&&n.type==="JSXElement"&&n.openingElement.name.name==="style"&&n.openingElement.attributes.some(r=>r.type==="JSXAttribute"&&r.name.name==="jsx")||(t==null?void 0:t.type)==="TaggedTemplateExpression"&&t.tag.type==="Identifier"&&t.tag.name==="css"||(t==null?void 0:t.type)==="TaggedTemplateExpression"&&t.tag.type==="MemberExpression"&&t.tag.object.name==="css"&&(t.tag.property.name==="global"||t.tag.property.name==="resolve")}function Wt(e){return e.type==="Identifier"&&e.name==="styled"}function Tr(e){return/^[A-Z]/u.test(e.object.name)&&e.property.name==="extend"}function Oi({parent:e}){if(!e||e.type!=="TaggedTemplateExpression")return!1;let t=e.tag.type==="ParenthesizedExpression"?e.tag.expression:e.tag;switch(t.type){case"MemberExpression":return Wt(t.object)||Tr(t);case"CallExpression":return Wt(t.callee)||t.callee.type==="MemberExpression"&&(t.callee.object.type==="MemberExpression"&&(Wt(t.callee.object.object)||Tr(t.callee.object))||t.callee.object.type==="CallExpression"&&Wt(t.callee.object.callee));case"Identifier":return t.name==="css";default:return!1}}function Ji({parent:e,grandparent:t}){return(t==null?void 0:t.type)==="JSXAttribute"&&e.type==="JSXExpressionContainer"&&t.name.type==="JSXIdentifier"&&t.name.name==="css"}function qi(e){if(Mi(e)||Oi(e)||Ji(e)||wi(e))return ji}var _i=qi;async function Xi(e,t,n){let{node:r}=n,u=r.quasis.length,a=rr(n,t),s=[];for(let o=0;o2&&c[0].trim()===""&&c[1].trim()==="",g=p>2&&c[p-1].trim()===""&&c[p-2].trim()==="",S=c.every(x=>/^\s*(?:#[^\n\r]*)?$/u.test(x));if(!d&&/#[^\n\r]*$/u.test(c[p-1]))return null;let b=null;S?b=$i(c):b=await e(D,{parser:"graphql"}),b?(b=Nu(b,!1),!l&&f&&s.push(""),s.push(b),!d&&g&&s.push("")):!l&&!d&&f&&s.push(""),y&&s.push(y)}return["`",A([F,N(F,s)]),F,"`"]}function $i(e){let t=[],n=!1,r=e.map(u=>u.trim());for(let[u,a]of r.entries())a!==""&&(r[u-1]===""&&n?t.push([F,a]):t.push(a),n=!0);return t.length===0?null:N(F,t)}function Ri({node:e,parent:t}){return Lu({node:e,parent:t},"GraphQL")||t&&(t.type==="TaggedTemplateExpression"&&(t.tag.type==="MemberExpression"&&t.tag.object.name==="graphql"&&t.tag.property.name==="experimental"||t.tag.type==="Identifier"&&(t.tag.name==="gql"||t.tag.name==="graphql"))||t.type==="CallExpression"&&t.callee.type==="Identifier"&&t.callee.name==="graphql")}function Wi(e){if(Ri(e))return Xi}var Ui=Wi,En=0;async function Mu(e,t,n,r,u){let{node:a}=r,s=En;En=En+1>>>0;let o=S=>`PRETTIER_HTML_PLACEHOLDER_${S}_${s}_IN_JS`,i=a.quasis.map((S,b,x)=>b===x.length-1?S.value.cooked:S.value.cooked+o(b)).join(""),l=rr(r,n),d=new RegExp(o(String.raw`(\d+)`),"gu"),D=0,c=await t(i,{parser:e,__onHtmlRoot(S){D=S.children.length}}),p=Et(c,S=>{if(typeof S!="string")return S;let b=[],x=S.split(d);for(let j=0;j1?A(m(p)):m(p),f,"`"]))}function Gi(e){return Lu(e,"HTML")||e.match(t=>t.type==="TemplateLiteral",(t,n)=>t.type==="TaggedTemplateExpression"&&t.tag.type==="Identifier"&&t.tag.name==="html"&&n==="quasi")}var Vi=Mu.bind(void 0,"html"),Ki=Mu.bind(void 0,"angular");function Hi(e){if(Gi(e))return Vi;if(Ii(e))return Ki}var zi=Hi;async function Qi(e,t,n){let{node:r}=n,u=H(!1,r.quasis[0].value.raw,/((?:\\\\)*)\\`/gu,(i,l)=>"\\".repeat(l.length/2)+"`"),a=Yi(u),s=a!=="";s&&(u=H(!1,u,new RegExp(`^${a}`,"gmu"),""));let o=Nu(await e(u,{parser:"markdown",__inJsTemplate:!0}),!0);return["`",s?A([E,o]):[mu,Po(o)],E,"`"]}function Yi(e){let t=e.match(/^([^\S\n]*)\S/mu);return t===null?"":t[1]}function Zi(e){if(ep(e))return Qi}function ep({node:e,parent:t}){return(t==null?void 0:t.type)==="TaggedTemplateExpression"&&e.quasis.length===1&&t.tag.type==="Identifier"&&(t.tag.name==="md"||t.tag.name==="markdown")}var tp=Zi;function np(e){let{node:t}=e;if(t.type!=="TemplateLiteral"||rp(t))return;let n;for(let r of[_i,Ui,zi,tp])if(n=r(e),!!n)return t.quasis.length===1&&t.quasis[0].value.raw.trim()===""?"``":async(...u)=>{let a=await n(...u);return a&&jt({embed:!0,...a.label},a)}}function rp({quasis:e}){return e.some(({value:{cooked:t}})=>t===null)}var up=np,ap=/\*\/$/,sp=/^\/\*\*?/,Ou=/^\s*(\/\*\*?(.|\r?\n)*?\*\/)/,op=/(^|\s+)\/\/([^\n\r]*)/g,Sr=/^(\r?\n)+/,ip=/(?:^|\r?\n) *(@[^\n\r]*?) *\r?\n *(?![^\n\r@]*\/\/[^]*)([^\s@][^\n\r@]+?) *\r?\n/g,br=/(?:^|\r?\n) *@(\S+) *([^\n\r]*)/g,pp=/(\r?\n|^) *\* ?/g,Ju=[];function lp(e){let t=e.match(Ou);return t?t[0].trimStart():""}function cp(e){let t=e.match(Ou),n=t==null?void 0:t[0];return n==null?e:e.slice(n.length)}function Dp(e){let t=` +`;e=H(!1,e.replace(sp,"").replace(ap,""),pp,"$1");let n="";for(;n!==e;)n=e,e=H(!1,e,ip,`${t}$1 $2${t}`);e=e.replace(Sr,"").trimEnd();let r=Object.create(null),u=H(!1,e,br,"").replace(Sr,"").trimEnd(),a;for(;a=br.exec(e);){let s=H(!1,a[2],op,"");if(typeof r[a[1]]=="string"||Array.isArray(r[a[1]])){let o=r[a[1]];r[a[1]]=[...Ju,...Array.isArray(o)?o:[o],s]}else r[a[1]]=s}return{comments:u,pragmas:r}}function yp({comments:e="",pragmas:t={}}){let n=` +`,r="/**",u=" *",a=" */",s=Object.keys(t),o=s.flatMap(l=>Br(l,t[l])).map(l=>`${u} ${l}${n}`).join("");if(!e){if(s.length===0)return"";if(s.length===1&&!Array.isArray(t[s[0]])){let l=t[s[0]];return`${r} ${Br(s[0],l)[0]}${a}`}}let i=e.split(n).map(l=>`${u} ${l}`).join(n)+n;return r+n+(e?i:"")+(e&&s.length>0?u+n:"")+o+a}function Br(e,t){return[...Ju,...Array.isArray(t)?t:[t]].map(n=>`@${e} ${n}`.trim())}var dp="format";function mp(e){if(!e.startsWith("#!"))return"";let t=e.indexOf(` +`);return t===-1?e:e.slice(0,t)}var fp=mp;function Ep(e){let t=fp(e);t&&(e=e.slice(t.length+1));let n=lp(e),{pragmas:r,comments:u}=Dp(n);return{shebang:t,text:e,pragmas:r,comments:u}}function Fp(e){let{shebang:t,text:n,pragmas:r,comments:u}=Ep(e),a=cp(n),s=yp({pragmas:{[dp]:"",...r},comments:u.trimStart()});return(t?`${t} +`:"")+s+(a.startsWith(` +`)?` +`:` + +`)+a}function Ap(e,t){let{originalText:n,[Symbol.for("comments")]:r,locStart:u,locEnd:a,[Symbol.for("printedComments")]:s}=t,{node:o}=e,i=u(o),l=a(o);for(let d of r)u(d)>=i&&a(d)<=l&&s.add(d);return n.slice(i,l)}var gp=Ap;function Nn(e,t){var n,r,u,a,s,o,i,l,d;if(e.isRoot)return!1;let{node:D,key:c,parent:p}=e;if(t.__isInHtmlInterpolation&&!t.bracketSpacing&&Tp(D)&&St(e))return!0;if(xp(D))return!1;if(D.type==="Identifier"){if((n=D.extra)!=null&&n.parenthesized&&/^PRETTIER_HTML_PLACEHOLDER_\d+_\d+_IN_JS$/u.test(D.name)||c==="left"&&(D.name==="async"&&!p.await||D.name==="let")&&p.type==="ForOfStatement")return!0;if(D.name==="let"){let y=(r=e.findAncestor(f=>f.type==="ForOfStatement"))==null?void 0:r.left;if(y&&te(y,f=>f===D))return!0}if(c==="object"&&D.name==="let"&&p.type==="MemberExpression"&&p.computed&&!p.optional){let y=e.findAncestor(g=>g.type==="ExpressionStatement"||g.type==="ForStatement"||g.type==="ForInStatement"),f=y?y.type==="ExpressionStatement"?y.expression:y.type==="ForStatement"?y.init:y.left:void 0;if(f&&te(f,g=>g===D))return!0}if(c==="expression")switch(D.name){case"await":case"interface":case"module":case"using":case"yield":case"let":case"component":case"hook":case"type":{let y=e.findAncestor(f=>!Ce(f));if(y!==p&&y.type==="ExpressionStatement")return!0}}return!1}if(D.type==="ObjectExpression"||D.type==="FunctionExpression"||D.type==="ClassExpression"||D.type==="DoExpression"){let y=(u=e.findAncestor(f=>f.type==="ExpressionStatement"))==null?void 0:u.expression;if(y&&te(y,f=>f===D))return!0}if(D.type==="ObjectExpression"){let y=(a=e.findAncestor(f=>f.type==="ArrowFunctionExpression"))==null?void 0:a.body;if(y&&y.type!=="SequenceExpression"&&y.type!=="AssignmentExpression"&&te(y,f=>f===D))return!0}switch(p.type){case"ParenthesizedExpression":return!1;case"ClassDeclaration":case"ClassExpression":if(c==="superClass"&&(D.type==="ArrowFunctionExpression"||D.type==="AssignmentExpression"||D.type==="AwaitExpression"||D.type==="BinaryExpression"||D.type==="ConditionalExpression"||D.type==="LogicalExpression"||D.type==="NewExpression"||D.type==="ObjectExpression"||D.type==="SequenceExpression"||D.type==="TaggedTemplateExpression"||D.type==="UnaryExpression"||D.type==="UpdateExpression"||D.type==="YieldExpression"||D.type==="TSNonNullExpression"||D.type==="ClassExpression"&&J(D.decorators)))return!0;break;case"ExportDefaultDeclaration":return qu(e,t)||D.type==="SequenceExpression";case"Decorator":if(c==="expression"&&!bp(D))return!0;break;case"TypeAnnotation":if(e.match(void 0,void 0,(y,f)=>f==="returnType"&&y.type==="ArrowFunctionExpression")&&Cp(D))return!0;break;case"BinaryExpression":if(c==="left"&&(p.operator==="in"||p.operator==="instanceof")&&D.type==="UnaryExpression")return!0;break;case"VariableDeclarator":if(c==="init"&&e.match(void 0,void 0,(y,f)=>f==="declarations"&&y.type==="VariableDeclaration",(y,f)=>f==="left"&&y.type==="ForInStatement"))return!0;break}switch(D.type){case"UpdateExpression":if(p.type==="UnaryExpression")return D.prefix&&(D.operator==="++"&&p.operator==="+"||D.operator==="--"&&p.operator==="-");case"UnaryExpression":switch(p.type){case"UnaryExpression":return D.operator===p.operator&&(D.operator==="+"||D.operator==="-");case"BindExpression":return!0;case"MemberExpression":case"OptionalMemberExpression":return c==="object";case"TaggedTemplateExpression":return!0;case"NewExpression":case"CallExpression":case"OptionalCallExpression":return c==="callee";case"BinaryExpression":return c==="left"&&p.operator==="**";case"TSNonNullExpression":return!0;default:return!1}case"BinaryExpression":if(p.type==="UpdateExpression"||D.operator==="in"&&hp(e))return!0;if(D.operator==="|>"&&(s=D.extra)!=null&&s.parenthesized){let y=e.grandparent;if(y.type==="BinaryExpression"&&y.operator==="|>")return!0}case"TSTypeAssertion":case"TSAsExpression":case"TSSatisfiesExpression":case"AsExpression":case"AsConstExpression":case"SatisfiesExpression":case"LogicalExpression":switch(p.type){case"TSAsExpression":case"TSSatisfiesExpression":case"AsExpression":case"AsConstExpression":case"SatisfiesExpression":return!Ce(D);case"ConditionalExpression":return Ce(D)||zs(D);case"CallExpression":case"NewExpression":case"OptionalCallExpression":return c==="callee";case"ClassExpression":case"ClassDeclaration":return c==="superClass";case"TSTypeAssertion":case"TaggedTemplateExpression":case"UnaryExpression":case"JSXSpreadAttribute":case"SpreadElement":case"BindExpression":case"AwaitExpression":case"TSNonNullExpression":case"UpdateExpression":return!0;case"MemberExpression":case"OptionalMemberExpression":return c==="object";case"AssignmentExpression":case"AssignmentPattern":return c==="left"&&(D.type==="TSTypeAssertion"||Ce(D));case"LogicalExpression":if(D.type==="LogicalExpression")return p.operator!==D.operator;case"BinaryExpression":{let{operator:y,type:f}=D;if(!y&&f!=="TSTypeAssertion")return!0;let g=Kt(y),S=p.operator,b=Kt(S);return b>g||c==="right"&&b===g||b===g&&!Kn(S,y)?!0:b");default:return!1}case"TSFunctionType":if(e.match(y=>y.type==="TSFunctionType",(y,f)=>f==="typeAnnotation"&&y.type==="TSTypeAnnotation",(y,f)=>f==="returnType"&&y.type==="ArrowFunctionExpression"))return!0;case"TSConditionalType":case"TSConstructorType":case"ConditionalTypeAnnotation":if(c==="extendsType"&&Re(D)&&p.type===D.type||c==="checkType"&&Re(p))return!0;if(c==="extendsType"&&p.type==="TSConditionalType"){let{typeAnnotation:y}=D.returnType||D.typeAnnotation;if(y.type==="TSTypePredicate"&&y.typeAnnotation&&(y=y.typeAnnotation.typeAnnotation),y.type==="TSInferType"&&y.typeParameter.constraint)return!0}case"TSUnionType":case"TSIntersectionType":if(($e(p)||Hn(p))&&p.types.length>1&&(!D.types||D.types.length>1))return!0;case"TSInferType":if(D.type==="TSInferType"){if(p.type==="TSRestType")return!1;if(c==="types"&&(p.type==="TSUnionType"||p.type==="TSIntersectionType")&&D.typeParameter.type==="TSTypeParameter"&&D.typeParameter.constraint)return!0}case"TSTypeOperator":return p.type==="TSArrayType"||p.type==="TSOptionalType"||p.type==="TSRestType"||c==="objectType"&&p.type==="TSIndexedAccessType"||p.type==="TSTypeOperator"||p.type==="TSTypeAnnotation"&&e.grandparent.type.startsWith("TSJSDoc");case"TSTypeQuery":return c==="objectType"&&p.type==="TSIndexedAccessType"||c==="elementType"&&p.type==="TSArrayType";case"TypeOperator":return p.type==="ArrayTypeAnnotation"||p.type==="NullableTypeAnnotation"||c==="objectType"&&(p.type==="IndexedAccessType"||p.type==="OptionalIndexedAccessType")||p.type==="TypeOperator";case"TypeofTypeAnnotation":return c==="objectType"&&(p.type==="IndexedAccessType"||p.type==="OptionalIndexedAccessType")||c==="elementType"&&p.type==="ArrayTypeAnnotation";case"ArrayTypeAnnotation":return p.type==="NullableTypeAnnotation";case"IntersectionTypeAnnotation":case"UnionTypeAnnotation":return p.type==="TypeOperator"||p.type==="ArrayTypeAnnotation"||p.type==="NullableTypeAnnotation"||p.type==="IntersectionTypeAnnotation"||p.type==="UnionTypeAnnotation"||c==="objectType"&&(p.type==="IndexedAccessType"||p.type==="OptionalIndexedAccessType");case"InferTypeAnnotation":case"NullableTypeAnnotation":return p.type==="ArrayTypeAnnotation"||c==="objectType"&&(p.type==="IndexedAccessType"||p.type==="OptionalIndexedAccessType");case"ComponentTypeAnnotation":case"FunctionTypeAnnotation":{if(D.type==="ComponentTypeAnnotation"&&(D.rendersType===null||D.rendersType===void 0))return!1;if(e.match(void 0,(f,g)=>g==="typeAnnotation"&&f.type==="TypeAnnotation",(f,g)=>g==="returnType"&&f.type==="ArrowFunctionExpression")||e.match(void 0,(f,g)=>g==="typeAnnotation"&&f.type==="TypePredicate",(f,g)=>g==="typeAnnotation"&&f.type==="TypeAnnotation",(f,g)=>g==="returnType"&&f.type==="ArrowFunctionExpression"))return!0;let y=p.type==="NullableTypeAnnotation"?e.grandparent:p;return y.type==="UnionTypeAnnotation"||y.type==="IntersectionTypeAnnotation"||y.type==="ArrayTypeAnnotation"||c==="objectType"&&(y.type==="IndexedAccessType"||y.type==="OptionalIndexedAccessType")||c==="checkType"&&p.type==="ConditionalTypeAnnotation"||c==="extendsType"&&p.type==="ConditionalTypeAnnotation"&&((o=D.returnType)==null?void 0:o.type)==="InferTypeAnnotation"&&((i=D.returnType)==null?void 0:i.typeParameter.bound)||y.type==="NullableTypeAnnotation"||p.type==="FunctionTypeParam"&&p.name===null&&Z(D).some(f=>{var g;return((g=f.typeAnnotation)==null?void 0:g.type)==="NullableTypeAnnotation"})}case"OptionalIndexedAccessType":return c==="objectType"&&p.type==="IndexedAccessType";case"StringLiteral":case"NumericLiteral":case"Literal":if(typeof D.value=="string"&&p.type==="ExpressionStatement"&&typeof p.directive!="string"){let y=e.grandparent;return y.type==="Program"||y.type==="BlockStatement"}return c==="object"&&R(p)&&be(D);case"AssignmentExpression":return!((c==="init"||c==="update")&&p.type==="ForStatement"||c==="expression"&&D.left.type!=="ObjectPattern"&&p.type==="ExpressionStatement"||c==="key"&&p.type==="TSPropertySignature"||p.type==="AssignmentExpression"||c==="expressions"&&p.type==="SequenceExpression"&&e.match(void 0,void 0,(y,f)=>(f==="init"||f==="update")&&y.type==="ForStatement")||c==="value"&&p.type==="Property"&&e.match(void 0,void 0,(y,f)=>f==="properties"&&y.type==="ObjectPattern")||p.type==="NGChainedExpression"||c==="node"&&p.type==="JsExpressionRoot");case"ConditionalExpression":switch(p.type){case"TaggedTemplateExpression":case"UnaryExpression":case"SpreadElement":case"BinaryExpression":case"LogicalExpression":case"NGPipeExpression":case"ExportDefaultDeclaration":case"AwaitExpression":case"JSXSpreadAttribute":case"TSTypeAssertion":case"TypeCastExpression":case"TSAsExpression":case"TSSatisfiesExpression":case"AsExpression":case"AsConstExpression":case"SatisfiesExpression":case"TSNonNullExpression":return!0;case"NewExpression":case"CallExpression":case"OptionalCallExpression":return c==="callee";case"ConditionalExpression":return t.experimentalTernaries?!1:c==="test";case"MemberExpression":case"OptionalMemberExpression":return c==="object";default:return!1}case"FunctionExpression":switch(p.type){case"NewExpression":case"CallExpression":case"OptionalCallExpression":return c==="callee";case"TaggedTemplateExpression":return!0;default:return!1}case"ArrowFunctionExpression":switch(p.type){case"BinaryExpression":return p.operator!=="|>"||((l=D.extra)==null?void 0:l.parenthesized);case"NewExpression":case"CallExpression":case"OptionalCallExpression":return c==="callee";case"MemberExpression":case"OptionalMemberExpression":return c==="object";case"TSAsExpression":case"TSSatisfiesExpression":case"AsExpression":case"AsConstExpression":case"SatisfiesExpression":case"TSNonNullExpression":case"BindExpression":case"TaggedTemplateExpression":case"UnaryExpression":case"LogicalExpression":case"AwaitExpression":case"TSTypeAssertion":return!0;case"ConditionalExpression":return c==="test";default:return!1}case"ClassExpression":switch(p.type){case"NewExpression":return c==="callee";default:return!1}case"OptionalMemberExpression":case"OptionalCallExpression":case"CallExpression":case"MemberExpression":if(Sp(e))return!0;case"TaggedTemplateExpression":case"TSNonNullExpression":if(c==="callee"&&(p.type==="BindExpression"||p.type==="NewExpression")){let y=D;for(;y;)switch(y.type){case"CallExpression":case"OptionalCallExpression":return!0;case"MemberExpression":case"OptionalMemberExpression":case"BindExpression":y=y.object;break;case"TaggedTemplateExpression":y=y.tag;break;case"TSNonNullExpression":y=y.expression;break;default:return!1}}return!1;case"BindExpression":return c==="callee"&&(p.type==="BindExpression"||p.type==="NewExpression")||c==="object"&&R(p);case"NGPipeExpression":return!(p.type==="NGRoot"||p.type==="NGMicrosyntaxExpression"||p.type==="ObjectProperty"&&!((d=D.extra)!=null&&d.parenthesized)||Q(p)||c==="arguments"&&L(p)||c==="right"&&p.type==="NGPipeExpression"||c==="property"&&p.type==="MemberExpression"||p.type==="AssignmentExpression");case"JSXFragment":case"JSXElement":return c==="callee"||c==="left"&&p.type==="BinaryExpression"&&p.operator==="<"||!Q(p)&&p.type!=="ArrowFunctionExpression"&&p.type!=="AssignmentExpression"&&p.type!=="AssignmentPattern"&&p.type!=="BinaryExpression"&&p.type!=="NewExpression"&&p.type!=="ConditionalExpression"&&p.type!=="ExpressionStatement"&&p.type!=="JsExpressionRoot"&&p.type!=="JSXAttribute"&&p.type!=="JSXElement"&&p.type!=="JSXExpressionContainer"&&p.type!=="JSXFragment"&&p.type!=="LogicalExpression"&&!L(p)&&!je(p)&&p.type!=="ReturnStatement"&&p.type!=="ThrowStatement"&&p.type!=="TypeCastExpression"&&p.type!=="VariableDeclarator"&&p.type!=="YieldExpression";case"TSInstantiationExpression":return c==="object"&&R(p)}return!1}var xp=_(["BlockStatement","BreakStatement","ComponentDeclaration","ClassBody","ClassDeclaration","ClassMethod","ClassProperty","PropertyDefinition","ClassPrivateProperty","ContinueStatement","DebuggerStatement","DeclareComponent","DeclareClass","DeclareExportAllDeclaration","DeclareExportDeclaration","DeclareFunction","DeclareHook","DeclareInterface","DeclareModule","DeclareModuleExports","DeclareNamespace","DeclareVariable","DeclareEnum","DoWhileStatement","EnumDeclaration","ExportAllDeclaration","ExportDefaultDeclaration","ExportNamedDeclaration","ExpressionStatement","ForInStatement","ForOfStatement","ForStatement","FunctionDeclaration","HookDeclaration","IfStatement","ImportDeclaration","InterfaceDeclaration","LabeledStatement","MethodDefinition","ReturnStatement","SwitchStatement","ThrowStatement","TryStatement","TSDeclareFunction","TSEnumDeclaration","TSImportEqualsDeclaration","TSInterfaceDeclaration","TSModuleDeclaration","TSNamespaceExportDeclaration","TypeAlias","VariableDeclaration","WhileStatement","WithStatement"]);function hp(e){let t=0,{node:n}=e;for(;n;){let r=e.getParentNode(t++);if((r==null?void 0:r.type)==="ForStatement"&&r.init===n)return!0;n=r}return!1}function Cp(e){return Tn(e,t=>t.type==="ObjectTypeAnnotation"&&Tn(t,n=>n.type==="FunctionTypeAnnotation"))}function Tp(e){return Ae(e)}function St(e){let{parent:t,key:n}=e;switch(t.type){case"NGPipeExpression":if(n==="arguments"&&e.isLast)return e.callParent(St);break;case"ObjectProperty":if(n==="value")return e.callParent(()=>e.key==="properties"&&e.isLast);break;case"BinaryExpression":case"LogicalExpression":if(n==="right")return e.callParent(St);break;case"ConditionalExpression":if(n==="alternate")return e.callParent(St);break;case"UnaryExpression":if(t.prefix)return e.callParent(St);break}return!1}function qu(e,t){let{node:n,parent:r}=e;return n.type==="FunctionExpression"||n.type==="ClassExpression"?r.type==="ExportDefaultDeclaration"||!Nn(e,t):!Wn(n)||r.type!=="ExportDefaultDeclaration"&&Nn(e,t)?!1:e.call(()=>qu(e,t),...Zr(n))}function Sp(e){return!!(e.match(void 0,(t,n)=>n==="expression"&&t.type==="ChainExpression",(t,n)=>n==="tag"&&t.type==="TaggedTemplateExpression")||e.match(t=>t.type==="OptionalCallExpression"||t.type==="OptionalMemberExpression",(t,n)=>n==="tag"&&t.type==="TaggedTemplateExpression")||e.match(t=>t.type==="OptionalCallExpression"||t.type==="OptionalMemberExpression",(t,n)=>n==="expression"&&t.type==="TSNonNullExpression",(t,n)=>n==="tag"&&t.type==="TaggedTemplateExpression")||e.match(void 0,(t,n)=>n==="expression"&&t.type==="ChainExpression",(t,n)=>n==="expression"&&t.type==="TSNonNullExpression",(t,n)=>n==="tag"&&t.type==="TaggedTemplateExpression")||e.match(void 0,(t,n)=>n==="expression"&&t.type==="TSNonNullExpression",(t,n)=>n==="expression"&&t.type==="ChainExpression",(t,n)=>n==="tag"&&t.type==="TaggedTemplateExpression")||e.match(t=>t.type==="OptionalMemberExpression"||t.type==="OptionalCallExpression",(t,n)=>n==="object"&&t.type==="MemberExpression"||n==="callee"&&(t.type==="CallExpression"||t.type==="NewExpression"))||e.match(t=>t.type==="OptionalMemberExpression"||t.type==="OptionalCallExpression",(t,n)=>n==="expression"&&t.type==="TSNonNullExpression",(t,n)=>n==="object"&&t.type==="MemberExpression"||n==="callee"&&t.type==="CallExpression")||e.match(t=>t.type==="CallExpression"||t.type==="MemberExpression",(t,n)=>n==="expression"&&t.type==="ChainExpression")&&(e.match(void 0,void 0,(t,n)=>n==="callee"&&(t.type==="CallExpression"&&!t.optional||t.type==="NewExpression")||n==="object"&&t.type==="MemberExpression"&&!t.optional)||e.match(void 0,void 0,(t,n)=>n==="expression"&&t.type==="TSNonNullExpression",(t,n)=>n==="object"&&t.type==="MemberExpression"||n==="callee"&&t.type==="CallExpression"))||e.match(t=>t.type==="CallExpression"||t.type==="MemberExpression",(t,n)=>n==="expression"&&t.type==="TSNonNullExpression",(t,n)=>n==="expression"&&t.type==="ChainExpression",(t,n)=>n==="object"&&t.type==="MemberExpression"||n==="callee"&&t.type==="CallExpression"))}function jn(e){return e.type==="Identifier"?!0:R(e)?!e.computed&&!e.optional&&e.property.type==="Identifier"&&jn(e.object):!1}function bp(e){return e.type==="ChainExpression"&&(e=e.expression),jn(e)||L(e)&&!e.optional&&jn(e.callee)}var ut=Nn;function Bp(e,t){let n=t-1;n=ct(e,n,{backwards:!0}),n=Dt(e,n,{backwards:!0}),n=ct(e,n,{backwards:!0});let r=Dt(e,n,{backwards:!0});return n!==r}var vp=Bp,kp=()=>!0;function ur(e,t){let n=e.node;return n.printed=!0,t.printer.printComment(e,t)}function Pp(e,t){var n;let r=e.node,u=[ur(e,t)],{printer:a,originalText:s,locStart:o,locEnd:i}=t;if((n=a.isBlockComment)!=null&&n.call(a,r)){let d=pe(s,i(r))?pe(s,o(r),{backwards:!0})?F:C:" ";u.push(d)}else u.push(F);let l=Dt(s,ct(s,i(r)));return l!==!1&&pe(s,l)&&u.push(F),u}function wp(e,t,n){var r;let u=e.node,a=ur(e,t),{printer:s,originalText:o,locStart:i}=t,l=(r=s.isBlockComment)==null?void 0:r.call(s,u);if(n!=null&&n.hasLineSuffix&&!(n!=null&&n.isBlock)||pe(o,i(u),{backwards:!0})){let d=vp(o,i(u));return{doc:Cr([F,d?F:"",a]),isBlock:l,hasLineSuffix:!0}}return!l||n!=null&&n.hasLineSuffix?{doc:[Cr([" ",a]),ve],isBlock:l,hasLineSuffix:!0}:{doc:[" ",a],isBlock:l,hasLineSuffix:!1}}function $(e,t,n={}){let{node:r}=e;if(!J(r==null?void 0:r.comments))return"";let{indent:u=!1,marker:a,filter:s=kp}=n,o=[];if(e.each(({node:l})=>{l.leading||l.trailing||l.marker!==a||!s(l)||o.push(ur(e,t))},"comments"),o.length===0)return"";let i=N(F,o);return u?A([F,i]):i}function _u(e,t){let n=e.node;if(!n)return{};let r=t[Symbol.for("printedComments")];if((n.comments||[]).filter(o=>!r.has(o)).length===0)return{leading:"",trailing:""};let u=[],a=[],s;return e.each(()=>{let o=e.node;if(r!=null&&r.has(o))return;let{leading:i,trailing:l}=o;i?u.push(Pp(e,t)):l&&(s=wp(e,t,s),a.push(s.doc))},"comments"),{leading:u,trailing:a}}function Fe(e,t,n){let{leading:r,trailing:u}=_u(e,n);return!r&&!u?t:Bn(t,a=>[r,a,u])}var Ip=class extends Error{constructor(t,n,r="type"){super(`Unexpected ${n} node ${r}: ${JSON.stringify(t[r])}.`);qt(this,"name","UnexpectedNodeError");this.node=t}},At=Ip;function Np(e){if(typeof e!="string")throw new TypeError("Expected a string");return e.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}var fe,jp=class{constructor(e){us(this,fe),as(this,fe,new Set(e))}getLeadingWhitespaceCount(e){let t=Je(this,fe),n=0;for(let r=0;r=0&&t.has(e.charAt(r));r--)n++;return n}getLeadingWhitespace(e){let t=this.getLeadingWhitespaceCount(e);return e.slice(0,t)}getTrailingWhitespace(e){let t=this.getTrailingWhitespaceCount(e);return e.slice(e.length-t)}hasLeadingWhitespace(e){return Je(this,fe).has(e.charAt(0))}hasTrailingWhitespace(e){return Je(this,fe).has(X(!1,e,-1))}trimStart(e){let t=this.getLeadingWhitespaceCount(e);return e.slice(t)}trimEnd(e){let t=this.getTrailingWhitespaceCount(e);return e.slice(0,e.length-t)}trim(e){return this.trimEnd(this.trimStart(e))}split(e,t=!1){let n=`[${Np([...Je(this,fe)].join(""))}]+`,r=new RegExp(t?`(${n})`:n,"u");return e.split(r)}hasWhitespaceCharacter(e){let t=Je(this,fe);return Array.prototype.some.call(e,n=>t.has(n))}hasNonWhitespaceCharacter(e){let t=Je(this,fe);return Array.prototype.some.call(e,n=>!t.has(n))}isWhitespaceOnly(e){let t=Je(this,fe);return Array.prototype.every.call(e,n=>t.has(n))}};fe=new WeakMap;var Lp=jp,Ut=new Lp(` +\r `),Fn=e=>e===""||e===C||e===F||e===E;function Mp(e,t,n){var r,u,a,s,o;let{node:i}=e;if(i.type==="JSXElement"&&Yp(i))return[n("openingElement"),n("closingElement")];let l=i.type==="JSXElement"?n("openingElement"):n("openingFragment"),d=i.type==="JSXElement"?n("closingElement"):n("closingFragment");if(i.children.length===1&&i.children[0].type==="JSXExpressionContainer"&&(i.children[0].expression.type==="TemplateLiteral"||i.children[0].expression.type==="TaggedTemplateExpression"))return[l,...e.map(n,"children"),d];i.children=i.children.map(k=>Zp(k)?{type:"JSXText",value:" ",raw:" "}:k);let D=i.children.some(K),c=i.children.filter(k=>k.type==="JSXExpressionContainer").length>1,p=i.type==="JSXElement"&&i.openingElement.attributes.length>1,y=ne(l)||D||p||c,f=e.parent.rootMarker==="mdx",g=t.singleQuote?"{' '}":'{" "}',S=f?C:w([g,E]," "),b=((u=(r=i.openingElement)==null?void 0:r.name)==null?void 0:u.name)==="fbt",x=Op(e,t,n,S,b),j=i.children.some(k=>wt(k));for(let k=x.length-2;k>=0;k--){let O=x[k]===""&&x[k+1]==="",G=x[k]===F&&x[k+1]===""&&x[k+2]===F,U=(x[k]===E||x[k]===F)&&x[k+1]===""&&x[k+2]===S,Oe=x[k]===S&&x[k+1]===""&&(x[k+2]===E||x[k+2]===F),P=x[k]===S&&x[k+1]===""&&x[k+2]===S,V=x[k]===E&&x[k+1]===""&&x[k+2]===F||x[k]===F&&x[k+1]===""&&x[k+2]===E;G&&j||O||U||P||V?x.splice(k,2):Oe&&x.splice(k+1,2)}for(;x.length>0&&Fn(X(!1,x,-1));)x.pop();for(;x.length>1&&Fn(x[0])&&Fn(x[1]);)x.shift(),x.shift();let v=[""];for(let[k,O]of x.entries()){if(O===S){if(k===1&&Bo(x[k-1])){if(x.length===2){v.push([v.pop(),g]);continue}v.push([g,F],"");continue}else if(k===x.length-1){v.push([v.pop(),g]);continue}else if(x[k-1]===""&&x[k-2]===F){v.push([v.pop(),g]);continue}}k%2===0?v.push([v.pop(),O]):v.push(O,""),ne(O)&&(y=!0)}let B=j?yu(v):m(v,{shouldBreak:!0});if(((a=t.cursorNode)==null?void 0:a.type)==="JSXText"&&i.children.includes(t.cursorNode)?B=[$t,B,$t]:((s=t.nodeBeforeCursor)==null?void 0:s.type)==="JSXText"&&i.children.includes(t.nodeBeforeCursor)?B=[$t,B]:((o=t.nodeAfterCursor)==null?void 0:o.type)==="JSXText"&&i.children.includes(t.nodeAfterCursor)&&(B=[B,$t]),f)return B;let M=m([l,A([F,B]),F,d]);return y?M:Ve([m([l,...x,d]),M])}function Op(e,t,n,r,u){let a="",s=[a];function o(l){a=l,s.push([s.pop(),l])}function i(l){l!==""&&(a=l,s.push(l,""))}return e.each(({node:l,next:d})=>{if(l.type==="JSXText"){let D=se(l);if(wt(l)){let c=Ut.split(D,!0);c[0]===""&&(c.shift(),/\n/u.test(c[0])?i(kr(u,c[1],l,d)):i(r),c.shift());let p;if(X(!1,c,-1)===""&&(c.pop(),p=c.pop()),c.length===0)return;for(let[y,f]of c.entries())y%2===1?i(C):o(f);p!==void 0?/\n/u.test(p)?i(kr(u,a,l,d)):i(r):i(vr(u,a,l,d))}else/\n/u.test(D)?D.match(/\n/gu).length>1&&i(F):i(r)}else{let D=n();if(o(D),d&&wt(d)){let c=Ut.trim(se(d)),[p]=Ut.split(c);i(vr(u,p,l,d))}else i(F)}},"children"),s}function vr(e,t,n,r){return e?"":n.type==="JSXElement"&&!n.closingElement||(r==null?void 0:r.type)==="JSXElement"&&!r.closingElement?t.length===1?E:F:E}function kr(e,t,n,r){return e?F:t.length===1?n.type==="JSXElement"&&!n.closingElement||(r==null?void 0:r.type)==="JSXElement"&&!r.closingElement?F:E:F}var Jp=new Set(["ArrayExpression","JSXAttribute","JSXElement","JSXExpressionContainer","JSXFragment","ExpressionStatement","CallExpression","OptionalCallExpression","ConditionalExpression","JsExpressionRoot"]);function qp(e,t,n){let{parent:r}=e;if(Jp.has(r.type))return t;let u=_p(e),a=ut(e,n);return m([a?"":w("("),A([E,t]),E,a?"":w(")")],{shouldBreak:u})}function _p(e){return e.match(void 0,t=>t.type==="ArrowFunctionExpression",L)&&(e.match(void 0,void 0,void 0,t=>t.type==="JSXExpressionContainer")||e.match(void 0,void 0,void 0,t=>t.type==="ChainExpression",t=>t.type==="JSXExpressionContainer"))}function Xp(e,t,n){let{node:r}=e,u=[];if(u.push(n("name")),r.value){let a;if(Y(r.value)){let s=se(r.value),o=H(!1,H(!1,s.slice(1,-1),"'","'"),""",'"'),i=Vr(o,t.jsxSingleQuote);o=i==='"'?H(!1,o,'"',"""):H(!1,o,"'","'"),a=e.call(()=>Fe(e,He(i+o+i),t),"value")}else a=n("value");u.push("=",a)}return u}function $p(e,t,n){let{node:r}=e,u=(a,s)=>a.type==="JSXEmptyExpression"||!h(a)&&(Q(a)||Ae(a)||a.type==="ArrowFunctionExpression"||a.type==="AwaitExpression"&&(u(a.argument,a)||a.argument.type==="JSXElement")||L(a)||a.type==="ChainExpression"&&L(a.expression)||a.type==="FunctionExpression"||a.type==="TemplateLiteral"||a.type==="TaggedTemplateExpression"||a.type==="DoExpression"||K(s)&&(a.type==="ConditionalExpression"||ke(a)));return u(r.expression,e.parent)?m(["{",n("expression"),we,"}"]):m(["{",A([E,n("expression")]),E,we,"}"])}function Rp(e,t,n){var r,u;let{node:a}=e,s=h(a.name)||h(a.typeParameters)||h(a.typeArguments);if(a.selfClosing&&a.attributes.length===0&&!s)return["<",n("name"),a.typeArguments?n("typeArguments"):n("typeParameters")," />"];if(((r=a.attributes)==null?void 0:r.length)===1&&Y(a.attributes[0].value)&&!a.attributes[0].value.value.includes(` +`)&&!s&&!h(a.attributes[0]))return m(["<",n("name"),a.typeArguments?n("typeArguments"):n("typeParameters")," ",...e.map(n,"attributes"),a.selfClosing?" />":">"]);let o=(u=a.attributes)==null?void 0:u.some(l=>Y(l.value)&&l.value.value.includes(` +`)),i=t.singleAttributePerLine&&a.attributes.length>1?F:C;return m(["<",n("name"),a.typeArguments?n("typeArguments"):n("typeParameters"),A(e.map(()=>[i,n()],"attributes")),...Wp(a,t,s)],{shouldBreak:o})}function Wp(e,t,n){return e.selfClosing?[C,"/>"]:Up(e,t,n)?[">"]:[E,">"]}function Up(e,t,n){let r=e.attributes.length>0&&h(X(!1,e.attributes,-1),T.Trailing);return e.attributes.length===0&&!n||(t.bracketSameLine||t.jsxBracketSameLine)&&(!n||e.attributes.length>0)&&!r}function Gp(e,t,n){let{node:r}=e,u=[];u.push(""),u}function Vp(e,t){let{node:n}=e,r=h(n),u=h(n,T.Line),a=n.type==="JSXOpeningFragment";return[a?"<":""]}function Kp(e,t,n){let r=Fe(e,Mp(e,t,n),t);return qp(e,r,t)}function Hp(e,t){let{node:n}=e,r=h(n,T.Line);return[$(e,t,{indent:r}),r?F:""]}function zp(e,t,n){let{node:r}=e;return["{",e.call(({node:u})=>{let a=["...",n()];return!h(u)||!ku(e)?a:[A([E,Fe(e,a,t)]),E]},r.type==="JSXSpreadAttribute"?"argument":"expression"),"}"]}function Qp(e,t,n){let{node:r}=e;if(r.type.startsWith("JSX"))switch(r.type){case"JSXAttribute":return Xp(e,t,n);case"JSXIdentifier":return r.name;case"JSXNamespacedName":return N(":",[n("namespace"),n("name")]);case"JSXMemberExpression":return N(".",[n("object"),n("property")]);case"JSXSpreadAttribute":case"JSXSpreadChild":return zp(e,t,n);case"JSXExpressionContainer":return $p(e,t,n);case"JSXFragment":case"JSXElement":return Kp(e,t,n);case"JSXOpeningElement":return Rp(e,t,n);case"JSXClosingElement":return Gp(e,t,n);case"JSXOpeningFragment":case"JSXClosingFragment":return Vp(e,t);case"JSXEmptyExpression":return Hp(e,t);case"JSXText":throw new Error("JSXText should be handled by JSXElement");default:throw new At(r,"JSX")}}function Yp(e){if(e.children.length===0)return!0;if(e.children.length>1)return!1;let t=e.children[0];return t.type==="JSXText"&&!wt(t)}function wt(e){return e.type==="JSXText"&&(Ut.hasNonWhitespaceCharacter(se(e))||!/\n/u.test(se(e)))}function Zp(e){return e.type==="JSXExpressionContainer"&&Y(e.expression)&&e.expression.value===" "&&!h(e.expression)}function el(e){let{node:t,parent:n}=e;if(!K(t)||!K(n))return!1;let{index:r,siblings:u}=e,a;for(let s=r;s>0;s--){let o=u[s-1];if(!(o.type==="JSXText"&&!wt(o))){a=o;break}}return(a==null?void 0:a.type)==="JSXExpressionContainer"&&a.expression.type==="JSXEmptyExpression"&&un(a.expression)}function tl(e){return un(e.node)||el(e)}var Xu=tl,nl=0;function $u(e,t,n){var r;let{node:u,parent:a,grandparent:s,key:o}=e,i=o!=="body"&&(a.type==="IfStatement"||a.type==="WhileStatement"||a.type==="SwitchStatement"||a.type==="DoWhileStatement"),l=u.operator==="|>"&&((r=e.root.extra)==null?void 0:r.__isUsingHackPipeline),d=Ln(e,t,n,!1,i);if(i)return d;if(l)return m(d);if(L(a)&&a.callee===u||a.type==="UnaryExpression"||R(a)&&!a.computed)return m([A([E,...d]),E]);let D=a.type==="ReturnStatement"||a.type==="ThrowStatement"||a.type==="JSXExpressionContainer"&&s.type==="JSXAttribute"||u.operator!=="|"&&a.type==="JsExpressionRoot"||u.type!=="NGPipeExpression"&&(a.type==="NGRoot"&&t.parser==="__ng_binding"||a.type==="NGMicrosyntaxExpression"&&s.type==="NGMicrosyntax"&&s.body.length===1)||u===a.body&&a.type==="ArrowFunctionExpression"||u!==a.body&&a.type==="ForStatement"||a.type==="ConditionalExpression"&&s.type!=="ReturnStatement"&&s.type!=="ThrowStatement"&&!L(s)||a.type==="TemplateLiteral",c=a.type==="AssignmentExpression"||a.type==="VariableDeclarator"||a.type==="ClassProperty"||a.type==="PropertyDefinition"||a.type==="TSAbstractPropertyDefinition"||a.type==="ClassPrivateProperty"||je(a),p=ke(u.left)&&Kn(u.operator,u.left.operator);if(D||It(u)&&!p||!It(u)&&c)return m(d);if(d.length===0)return"";let y=K(u.right),f=d.findIndex(v=>typeof v!="string"&&!Array.isArray(v)&&v.type===De),g=d.slice(0,f===-1?1:f+1),S=d.slice(g.length,y?-1:void 0),b=Symbol("logicalChain-"+ ++nl),x=m([...g,A(S)],{id:b});if(!y)return x;let j=X(!1,d,-1);return m([x,an(j,{groupId:b})])}function Ln(e,t,n,r,u){var a;let{node:s}=e;if(!ke(s))return[m(n())];let o=[];Kn(s.operator,s.left.operator)?o=e.call(g=>Ln(g,t,n,!0,u),"left"):o.push(m(n("left")));let i=It(s),l=(s.operator==="|>"||s.type==="NGPipeExpression"||rl(e,t))&&!Te(t.originalText,s.right),d=!h(s.right,T.Leading,Eu)&&Te(t.originalText,s.right),D=s.type==="NGPipeExpression"?"|":s.operator,c=s.type==="NGPipeExpression"&&s.arguments.length>0?m(A([E,": ",N([C,": "],e.map(()=>Be(2,m(n())),"arguments"))])):"",p;if(i)p=[D,Te(t.originalText,s.right)?A([C,n("right"),c]):[" ",n("right"),c]];else{let g=D==="|>"&&((a=e.root.extra)!=null&&a.__isUsingHackPipeline)?e.call(S=>Ln(S,t,n,!0,u),"right"):n("right");if(t.experimentalOperatorPosition==="start"){let S="";if(d)switch(Ge(g)){case Pe:S=g.splice(0,1)[0];break;case Le:S=g.contents.splice(0,1)[0];break}p=[C,S,D," ",g,c]}else p=[l?C:"",D,l?" ":C,g,c]}let{parent:y}=e,f=h(s.left,T.Trailing|T.Line);if((f||!(u&&s.type==="LogicalExpression")&&y.type!==s.type&&s.left.type!==s.type&&s.right.type!==s.type)&&(p=m(p,{shouldBreak:f})),t.experimentalOperatorPosition==="start"?o.push(i||d?" ":"",p):o.push(l?"":" ",p),r&&h(s)){let g=Qn(Fe(e,o,t));return g.type===We?g.parts:Array.isArray(g)?g:[g]}return o}function It(e){return e.type!=="LogicalExpression"?!1:!!(Ae(e.right)&&e.right.properties.length>0||Q(e.right)&&e.right.elements.length>0||K(e.right))}var Pr=e=>e.type==="BinaryExpression"&&e.operator==="|";function rl(e,t){return(t.parser==="__vue_expression"||t.parser==="__vue_ts_expression")&&Pr(e.node)&&!e.hasAncestor(n=>!Pr(n)&&n.type!=="JsExpressionRoot")}function ul(e,t,n){let{node:r}=e;if(r.type.startsWith("NG"))switch(r.type){case"NGRoot":return[n("node"),h(r.node)?" //"+Ke(r.node)[0].value.trimEnd():""];case"NGPipeExpression":return $u(e,t,n);case"NGChainedExpression":return m(N([";",C],e.map(()=>ol(e)?n():["(",n(),")"],"expressions")));case"NGEmptyExpression":return"";case"NGMicrosyntax":return e.map(()=>[e.isFirst?"":wr(e)?" ":[";",C],n()],"body");case"NGMicrosyntaxKey":return/^[$_a-z][\w$]*(?:-[$_a-z][\w$])*$/iu.test(r.name)?r.name:JSON.stringify(r.name);case"NGMicrosyntaxExpression":return[n("expression"),r.alias===null?"":[" as ",n("alias")]];case"NGMicrosyntaxKeyedExpression":{let{index:u,parent:a}=e,s=wr(e)||al(e)||(u===1&&(r.key.name==="then"||r.key.name==="else"||r.key.name==="as")||u===2&&(r.key.name==="else"&&a.body[u-1].type==="NGMicrosyntaxKeyedExpression"&&a.body[u-1].key.name==="then"||r.key.name==="track"))&&a.body[0].type==="NGMicrosyntaxExpression";return[n("key"),s?" ":": ",n("expression")]}case"NGMicrosyntaxLet":return["let ",n("key"),r.value===null?"":[" = ",n("value")]];case"NGMicrosyntaxAs":return[n("key")," as ",n("alias")];default:throw new At(r,"Angular")}}function wr({node:e,index:t}){return e.type==="NGMicrosyntaxKeyedExpression"&&e.key.name==="of"&&t===1}function al(e){let{node:t}=e;return e.parent.body[1].key.name==="of"&&t.type==="NGMicrosyntaxKeyedExpression"&&t.key.name==="track"&&t.key.type==="NGMicrosyntaxKey"}var sl=_(["CallExpression","OptionalCallExpression","AssignmentExpression"]);function ol({node:e}){return Tn(e,sl)}function Ru(e,t,n){let{node:r}=e;return m([N(C,e.map(n,"decorators")),Wu(r,t)?F:C])}function il(e,t,n){return Uu(e.node)?[N(F,e.map(n,"declaration","decorators")),F]:""}function pl(e,t,n){let{node:r,parent:u}=e,{decorators:a}=r;if(!J(a)||Uu(u)||Xu(e))return"";let s=r.type==="ClassExpression"||r.type==="ClassDeclaration"||Wu(r,t);return[e.key==="declaration"&&Hs(u)?F:s?ve:"",N(C,e.map(n,"decorators")),C]}function Wu(e,t){return e.decorators.some(n=>pe(t.originalText,I(n)))}function Uu(e){var t;if(e.type!=="ExportDefaultDeclaration"&&e.type!=="ExportNamedDeclaration"&&e.type!=="DeclareExportDeclaration")return!1;let n=(t=e.declaration)==null?void 0:t.decorators;return J(n)&&tn(e,n[0])}var Qt=class extends Error{constructor(){super(...arguments);qt(this,"name","ArgExpansionBailout")}};function ll(e,t,n){let{node:r}=e,u=de(r);if(u.length===0)return["(",$(e,t),")"];let a=u.length-1;if(yl(u)){let D=["("];return Ht(e,(c,p)=>{D.push(n()),p!==a&&D.push(", ")}),D.push(")"),D}let s=!1,o=[];Ht(e,({node:D},c)=>{let p=n();c===a||(Ne(D,t)?(s=!0,p=[p,",",F,F]):p=[p,",",C]),o.push(p)});let i=!t.parser.startsWith("__ng_")&&r.type!=="ImportExpression"&&r.type!=="TSImportType"&&Ie(t,"all")?",":"";if(r.type==="TSImportType"&&u.length===1&&(u[0].type==="TSLiteralType"&&Y(u[0].literal)||Y(u[0]))&&!h(u[0]))return m(["(",...o,w(i),")"]);function l(){return m(["(",A([C,...o]),i,C,")"],{shouldBreak:!0})}if(s||e.parent.type!=="Decorator"&&so(u))return l();if(Dl(u)){let D=o.slice(1);if(D.some(ne))return l();let c;try{c=n(gr(r,0),{expandFirstArg:!0})}catch(p){if(p instanceof Qt)return l();throw p}return ne(c)?[ve,Ve([["(",m(c,{shouldBreak:!0}),", ",...D,")"],l()])]:Ve([["(",c,", ",...D,")"],["(",m(c,{shouldBreak:!0}),", ",...D,")"],l()])}if(cl(u,o,t)){let D=o.slice(0,-1);if(D.some(ne))return l();let c;try{c=n(gr(r,-1),{expandLastArg:!0})}catch(p){if(p instanceof Qt)return l();throw p}return ne(c)?[ve,Ve([["(",...D,m(c,{shouldBreak:!0}),")"],l()])]:Ve([["(",...D,c,")"],["(",...D,m(c,{shouldBreak:!0}),")"],l()])}let d=["(",A([E,...o]),w(i),E,")"];return ou(e)?d:m(d,{shouldBreak:o.some(ne)||s})}function Bt(e,t=!1){return Ae(e)&&(e.properties.length>0||h(e))||Q(e)&&(e.elements.length>0||h(e))||e.type==="TSTypeAssertion"&&Bt(e.expression)||Ce(e)&&Bt(e.expression)||e.type==="FunctionExpression"||e.type==="ArrowFunctionExpression"&&(!e.returnType||!e.returnType.typeAnnotation||e.returnType.typeAnnotation.type!=="TSTypeReference"||dl(e.body))&&(e.body.type==="BlockStatement"||e.body.type==="ArrowFunctionExpression"&&Bt(e.body,!0)||Ae(e.body)||Q(e.body)||!t&&(L(e.body)||e.body.type==="ConditionalExpression")||K(e.body))||e.type==="DoExpression"||e.type==="ModuleExpression"}function cl(e,t,n){var r,u;let a=X(!1,e,-1);if(e.length===1){let o=X(!1,t,-1);if((r=o.label)!=null&&r.embed&&((u=o.label)==null?void 0:u.hug)!==!1)return!0}let s=X(!1,e,-2);return!h(a,T.Leading)&&!h(a,T.Trailing)&&Bt(a)&&(!s||s.type!==a.type)&&(e.length!==2||s.type!=="ArrowFunctionExpression"||!Q(a))&&!(e.length>1&&Ea(a,n))}function Dl(e){if(e.length!==2)return!1;let[t,n]=e;return t.type==="ModuleExpression"&&ml(n)?!0:!h(t)&&(t.type==="FunctionExpression"||t.type==="ArrowFunctionExpression"&&t.body.type==="BlockStatement")&&n.type!=="FunctionExpression"&&n.type!=="ArrowFunctionExpression"&&n.type!=="ConditionalExpression"&&Gu(n)&&!Bt(n)}function Gu(e){if(e.type==="ParenthesizedExpression")return Gu(e.expression);if(Ce(e)||e.type==="TypeCastExpression"){let{typeAnnotation:t}=e;if(t.type==="TypeAnnotation"&&(t=t.typeAnnotation),t.type==="TSArrayType"&&(t=t.elementType,t.type==="TSArrayType"&&(t=t.elementType)),t.type==="GenericTypeAnnotation"||t.type==="TSTypeReference"){let n=t.typeArguments??t.typeParameters;(n==null?void 0:n.params.length)===1&&(t=n.params[0])}return Gn(t)&&Ee(e.expression,1)}return dt(e)&&de(e).length>1?!1:ke(e)?Ee(e.left,1)&&Ee(e.right,1):tu(e)||Ee(e)}function yl(e){return e.length===2?Ir(e,0):e.length===3?e[0].type==="Identifier"&&Ir(e,1):!1}function Ir(e,t){let n=e[t],r=e[t+1];return n.type==="ArrowFunctionExpression"&&Z(n).length===0&&n.body.type==="BlockStatement"&&r.type==="ArrayExpression"&&!e.some(u=>h(u))}function dl(e){return e.type==="BlockStatement"&&(e.body.some(t=>t.type!=="EmptyStatement")||h(e,T.Dangling))}function ml(e){if(!(e.type==="ObjectExpression"&&e.properties.length===1))return!1;let[t]=e.properties;return je(t)?!t.computed&&(t.key.type==="Identifier"&&t.key.name==="type"||Y(t.key)&&t.key.value==="type")&&Y(t.value)&&t.value.value==="module":!1}var Yt=ll,fl=e=>((e.type==="ChainExpression"||e.type==="TSNonNullExpression")&&(e=e.expression),L(e)&&de(e).length>0);function El(e,t,n){var r;let u=n("object"),a=Vu(e,t,n),{node:s}=e,o=e.findAncestor(d=>!(R(d)||d.type==="TSNonNullExpression")),i=e.findAncestor(d=>!(d.type==="ChainExpression"||d.type==="TSNonNullExpression")),l=o&&(o.type==="NewExpression"||o.type==="BindExpression"||o.type==="AssignmentExpression"&&o.left.type!=="Identifier")||s.computed||s.object.type==="Identifier"&&s.property.type==="Identifier"&&!R(i)||(i.type==="AssignmentExpression"||i.type==="VariableDeclarator")&&(fl(s.object)||((r=u.label)==null?void 0:r.memberChain));return jt(u.label,[u,l?a:m(A([E,a]))])}function Vu(e,t,n){let r=n("property"),{node:u}=e,a=re(e);return u.computed?!u.property||be(u.property)?[a,"[",r,"]"]:m([a,"[",A([E,r]),E,"]"]):[a,".",r]}function Ku(e,t,n){if(e.node.type==="ChainExpression")return e.call(()=>Ku(e,t,n),"expression");let r=(e.parent.type==="ChainExpression"?e.grandparent:e.parent).type==="ExpressionStatement",u=[];function a(P){let{originalText:V}=t,ue=Ft(V,I(P));return V.charAt(ue)===")"?ue!==!1&&$n(V,ue+1):Ne(P,t)}function s(){let{node:P}=e;if(P.type==="ChainExpression")return e.call(s,"expression");if(L(P)&&(it(P.callee)||L(P.callee))){let V=a(P);u.unshift({node:P,hasTrailingEmptyLine:V,printed:[Fe(e,[re(e),ze(e,t,n),Yt(e,t,n)],t),V?F:""]}),e.call(s,"callee")}else it(P)?(u.unshift({node:P,needsParens:ut(e,t),printed:Fe(e,R(P)?Vu(e,t,n):ma(e,t,n),t)}),e.call(s,"object")):P.type==="TSNonNullExpression"?(u.unshift({node:P,printed:Fe(e,"!",t)}),e.call(s,"expression")):u.unshift({node:P,printed:n()})}let{node:o}=e;u.unshift({node:o,printed:[re(e),ze(e,t,n),Yt(e,t,n)]}),o.callee&&e.call(s,"callee");let i=[],l=[u[0]],d=1;for(;d0&&i.push(l);function c(P){return/^[A-Z]|^[$_]+$/u.test(P)}function p(P){return P.length<=t.tabWidth}function y(P){var V;let ue=(V=P[1][0])==null?void 0:V.node.computed;if(P[0].length===1){let xe=P[0][0].node;return xe.type==="ThisExpression"||xe.type==="Identifier"&&(c(xe.name)||r&&p(xe.name)||ue)}let st=X(!1,P[0],-1).node;return R(st)&&st.property.type==="Identifier"&&(c(st.property.name)||ue)}let f=i.length>=2&&!h(i[1][0].node)&&y(i);function g(P){let V=P.map(ue=>ue.printed);return P.length>0&&X(!1,P,-1).needsParens?["(",...V,")"]:V}function S(P){return P.length===0?"":A([F,N(F,P.map(g))])}let b=i.map(g),x=b,j=f?3:2,v=i.flat(),B=v.slice(1,-1).some(P=>h(P.node,T.Leading))||v.slice(0,-1).some(P=>h(P.node,T.Trailing))||i[j]&&h(i[j][0].node,T.Leading);if(i.length<=j&&!B&&!i.some(P=>X(!1,P,-1).hasTrailingEmptyLine))return ou(e)?x:m(x);let M=X(!1,i[f?1:0],-1).node,k=!L(M)&&a(M),O=[g(i[0]),f?i.slice(1,2).map(g):"",k?F:"",S(i.slice(f?2:1))],G=u.map(({node:P})=>P).filter(L);function U(){let P=X(!1,X(!1,i,-1),-1).node,V=X(!1,b,-1);return L(P)&&ne(V)&&G.slice(0,-1).some(ue=>ue.arguments.some(kt))}let Oe;return B||G.length>2&&G.some(P=>!P.arguments.every(V=>Ee(V)))||b.slice(0,-1).some(ne)||U()?Oe=m(O):Oe=[ne(x)||k?ve:"",Ve([x,O])],jt({memberChain:!0},Oe)}var Fl=Ku;function Hu(e,t,n){var r;let{node:u}=e,a=u.type==="NewExpression",s=u.type==="ImportExpression",o=re(e),i=de(u),l=i.length===1&&au(i[0],t.originalText);if(l||Al(e)||rn(u,e.parent)){let D=[];if(Ht(e,()=>{D.push(n())}),!(l&&(r=D[0].label)!=null&&r.embed))return[a?"new ":"",Nr(e,n),o,ze(e,t,n),"(",N(", ",D),")"]}if(!s&&!a&&it(u.callee)&&!e.call(D=>ut(D,t),"callee",...u.callee.type==="ChainExpression"?["expression"]:[]))return Fl(e,t,n);let d=[a?"new ":"",Nr(e,n),o,ze(e,t,n),Yt(e,t,n)];return s||L(u.callee)?m(d):d}function Nr(e,t){let{node:n}=e;return n.type==="ImportExpression"?`import${n.phase?`.${n.phase}`:""}`:t("callee")}function Al(e){let{node:t}=e;if(t.type!=="CallExpression"||t.optional||t.callee.type!=="Identifier")return!1;let n=de(t);return t.callee.name==="require"?n.length===1&&Y(n[0])||n.length>1:t.callee.name==="define"&&e.parent.type==="ExpressionStatement"?n.length===1||n.length===2&&n[0].type==="ArrayExpression"||n.length===3&&Y(n[0])&&n[1].type==="ArrayExpression":!1}function Lt(e,t,n,r,u,a){let s=hl(e,t,n,r,a),o=a?n(a,{assignmentLayout:s}):"";switch(s){case"break-after-operator":return m([m(r),u,m(A([C,o]))]);case"never-break-after-operator":return m([m(r),u," ",o]);case"fluid":{let i=Symbol("assignment");return m([m(r),u,m(A(C),{id:i}),we,an(o,{groupId:i})])}case"break-lhs":return m([r,u," ",m(o)]);case"chain":return[m(r),u,C,o];case"chain-tail":return[m(r),u,A([C,o])];case"chain-tail-arrow-chain":return[m(r),u,o];case"only-left":return r}}function gl(e,t,n){let{node:r}=e;return Lt(e,t,n,n("left"),[" ",r.operator],"right")}function xl(e,t,n){return Lt(e,t,n,n("id")," =","init")}function hl(e,t,n,r,u){let{node:a}=e,s=a[u];if(!s)return"only-left";let o=!Gt(s);if(e.match(Gt,zu,d=>!o||d.type!=="ExpressionStatement"&&d.type!=="VariableDeclaration"))return o?s.type==="ArrowFunctionExpression"&&s.body.type==="ArrowFunctionExpression"?"chain-tail-arrow-chain":"chain-tail":"chain";if(!o&&Gt(s.right)||Te(t.originalText,s))return"break-after-operator";if(a.type==="ImportAttribute"||s.type==="CallExpression"&&s.callee.name==="require"||t.parser==="json5"||t.parser==="jsonc"||t.parser==="json")return"never-break-after-operator";let i=bo(r);if(Tl(a)||vl(a)||Qu(a)&&i)return"break-lhs";let l=Pl(a,r,t);return e.call(()=>Cl(e,t,n,l),u)?"break-after-operator":Sl(a)?"break-lhs":!i&&(l||s.type==="TemplateLiteral"||s.type==="TaggedTemplateExpression"||Qs(s)||be(s)||s.type==="ClassExpression")?"never-break-after-operator":"fluid"}function Cl(e,t,n,r){let u=e.node;if(ke(u)&&!It(u))return!0;switch(u.type){case"StringLiteralTypeAnnotation":case"SequenceExpression":return!0;case"TSConditionalType":case"ConditionalTypeAnnotation":if(!t.experimentalTernaries&&!Nl(u))break;return!0;case"ConditionalExpression":{if(!t.experimentalTernaries){let{test:l}=u;return ke(l)&&!It(l)}let{consequent:o,alternate:i}=u;return o.type==="ConditionalExpression"||i.type==="ConditionalExpression"}case"ClassExpression":return J(u.decorators)}if(r)return!1;let a=u,s=[];for(;;)if(a.type==="UnaryExpression"||a.type==="AwaitExpression"||a.type==="YieldExpression"&&a.argument!==null)a=a.argument,s.push("argument");else if(a.type==="TSNonNullExpression")a=a.expression,s.push("expression");else break;return!!(Y(a)||e.call(()=>Yu(e,t,n),...s))}function Tl(e){if(zu(e)){let t=e.left||e.id;return t.type==="ObjectPattern"&&t.properties.length>2&&t.properties.some(n=>{var r;return je(n)&&(!n.shorthand||((r=n.value)==null?void 0:r.type)==="AssignmentPattern")})}return!1}function Gt(e){return e.type==="AssignmentExpression"}function zu(e){return Gt(e)||e.type==="VariableDeclarator"}function Sl(e){let t=Bl(e);if(J(t)){let n=e.type==="TSTypeAliasDeclaration"?"constraint":"bound";if(t.length>1&&t.some(r=>r[n]||r.default))return!0}return!1}var bl=_(["TSTypeAliasDeclaration","TypeAlias"]);function Bl(e){var t;if(bl(e))return(t=e.typeParameters)==null?void 0:t.params}function vl(e){if(e.type!=="VariableDeclarator")return!1;let{typeAnnotation:t}=e.id;if(!t||!t.typeAnnotation)return!1;let n=jr(t.typeAnnotation);return J(n)&&n.length>1&&n.some(r=>J(jr(r))||r.type==="TSConditionalType")}function Qu(e){var t;return e.type==="VariableDeclarator"&&((t=e.init)==null?void 0:t.type)==="ArrowFunctionExpression"}var kl=_(["TSTypeReference","GenericTypeAnnotation"]);function jr(e){var t;if(kl(e))return(t=e.typeArguments??e.typeParameters)==null?void 0:t.params}function Yu(e,t,n,r=!1){var u;let{node:a}=e,s=()=>Yu(e,t,n,!0);if(a.type==="ChainExpression"||a.type==="TSNonNullExpression")return e.call(s,"expression");if(L(a)){if((u=Hu(e,t,n).label)!=null&&u.memberChain)return!1;let o=de(a);return!(o.length===0||o.length===1&&Vn(o[0],t))||wl(a,n)?!1:e.call(s,"callee")}return R(a)?e.call(s,"object"):r&&(a.type==="Identifier"||a.type==="ThisExpression")}function Pl(e,t,n){return je(e)?(t=Qn(t),typeof t=="string"&<(t)1)return!0;if(n.length===1){let u=n[0];if($e(u)||Hn(u)||u.type==="TSTypeLiteral"||u.type==="ObjectTypeAnnotation")return!0}let r=e.typeParameters?"typeParameters":"typeArguments";if(ne(t(r)))return!0}return!1}function Il(e){var t;return(t=e.typeParameters??e.typeArguments)==null?void 0:t.params}function Nl(e){function t(n){switch(n.type){case"FunctionTypeAnnotation":case"GenericTypeAnnotation":case"TSFunctionType":return!!n.typeParameters;case"TSTypeReference":return!!(n.typeArguments??n.typeParameters);default:return!1}}return t(e.checkType)||t(e.extendsType)}function at(e,t,n,r,u){let a=e.node,s=Z(a),o=u?ze(e,t,n):"";if(s.length===0)return[o,"(",$(e,t,{filter:p=>ge(t.originalText,I(p))===")"}),")"];let{parent:i}=e,l=rn(i),d=Zu(a),D=[];if(Do(e,(p,y)=>{let f=y===s.length-1;f&&a.rest&&D.push("..."),D.push(n()),!f&&(D.push(","),l||d?D.push(" "):Ne(s[y],t)?D.push(F,F):D.push(C))}),r&&!Ll(e)){if(ne(o)||ne(D))throw new Qt;return m([bn(o),"(",bn(D),")"])}let c=s.every(p=>!J(p.decorators));return d&&c?[o,"(",...D,")"]:l?[o,"(",...D,")"]:(nu(i)||eo(i)||i.type==="TypeAlias"||i.type==="UnionTypeAnnotation"||i.type==="IntersectionTypeAnnotation"||i.type==="FunctionTypeAnnotation"&&i.returnType===a)&&s.length===1&&s[0].name===null&&a.this!==s[0]&&s[0].typeAnnotation&&a.typeParameters===null&&Gn(s[0].typeAnnotation)&&!a.rest?t.arrowParens==="always"||a.type==="HookTypeAnnotation"?["(",...D,")"]:D:[o,"(",A([E,...D]),w(!co(a)&&Ie(t,"all")?",":""),E,")"]}function Zu(e){if(!e)return!1;let t=Z(e);if(t.length!==1)return!1;let[n]=t;return!h(n)&&(n.type==="ObjectPattern"||n.type==="ArrayPattern"||n.type==="Identifier"&&n.typeAnnotation&&(n.typeAnnotation.type==="TypeAnnotation"||n.typeAnnotation.type==="TSTypeAnnotation")&&Xe(n.typeAnnotation.typeAnnotation)||n.type==="FunctionTypeParam"&&Xe(n.typeAnnotation)&&n!==e.rest||n.type==="AssignmentPattern"&&(n.left.type==="ObjectPattern"||n.left.type==="ArrayPattern")&&(n.right.type==="Identifier"||Ae(n.right)&&n.right.properties.length===0||Q(n.right)&&n.right.elements.length===0))}function jl(e){let t;return e.returnType?(t=e.returnType,t.typeAnnotation&&(t=t.typeAnnotation)):e.typeAnnotation&&(t=e.typeAnnotation),t}function gt(e,t){var n;let r=jl(e);if(!r)return!1;let u=(n=e.typeParameters)==null?void 0:n.params;if(u){if(u.length>1)return!1;if(u.length===1){let a=u[0];if(a.constraint||a.default)return!1}}return Z(e).length===1&&(Xe(r)||ne(t))}function Ll(e){return e.match(t=>t.type==="ArrowFunctionExpression"&&t.body.type==="BlockStatement",(t,n)=>{if(t.type==="CallExpression"&&n==="arguments"&&t.arguments.length===1&&t.callee.type==="CallExpression"){let r=t.callee.callee;return r.type==="Identifier"||r.type==="MemberExpression"&&!r.computed&&r.object.type==="Identifier"&&r.property.type==="Identifier"}return!1},(t,n)=>t.type==="VariableDeclarator"&&n==="init"||t.type==="ExportDefaultDeclaration"&&n==="declaration"||t.type==="TSExportAssignment"&&n==="expression"||t.type==="AssignmentExpression"&&n==="right"&&t.left.type==="MemberExpression"&&t.left.object.type==="Identifier"&&t.left.object.name==="module"&&t.left.property.type==="Identifier"&&t.left.property.name==="exports",t=>t.type!=="VariableDeclaration"||t.kind==="const"&&t.declarations.length===1)}function Ml(e){let t=Z(e);return t.length>1&&t.some(n=>n.type==="TSParameterProperty")}var Ol=_(["VoidTypeAnnotation","TSVoidKeyword","NullLiteralTypeAnnotation","TSNullKeyword"]),Jl=_(["ObjectTypeAnnotation","TSTypeLiteral","GenericTypeAnnotation","TSTypeReference"]);function ql(e){let{types:t}=e;if(t.some(r=>h(r)))return!1;let n=t.find(r=>Jl(r));return n?t.every(r=>r===n||Ol(r)):!1}function ea(e){return Gn(e)||Xe(e)?!0:$e(e)?ql(e):!1}function _l(e,t,n){let r=t.semi?";":"",{node:u}=e,a=[oe(e),"opaque type ",n("id"),n("typeParameters")];return u.supertype&&a.push(": ",n("supertype")),u.impltype&&a.push(" = ",n("impltype")),a.push(r),a}function ta(e,t,n){let r=t.semi?";":"",{node:u}=e,a=[oe(e)];a.push("type ",n("id"),n("typeParameters"));let s=u.type==="TSTypeAliasDeclaration"?"typeAnnotation":"right";return[Lt(e,t,n,a," =",s),r]}function na(e,t,n){let r=!1;return m(e.map(({isFirst:u,previous:a,node:s,index:o})=>{let i=n();if(u)return i;let l=Xe(s),d=Xe(a);return d&&l?[" & ",r?A(i):i]:!d&&!l||Te(t.originalText,s)?t.experimentalOperatorPosition==="start"?A([C,"& ",i]):A([" &",C,i]):(o>1&&(r=!0),[" & ",o>1?A(i):i])},"types"))}function ra(e,t,n){let{node:r}=e,{parent:u}=e,a=u.type!=="TypeParameterInstantiation"&&(!Re(u)||!t.experimentalTernaries)&&u.type!=="TSTypeParameterInstantiation"&&u.type!=="GenericTypeAnnotation"&&u.type!=="TSTypeReference"&&u.type!=="TSTypeAssertion"&&u.type!=="TupleTypeAnnotation"&&u.type!=="TSTupleType"&&!(u.type==="FunctionTypeParam"&&!u.name&&e.grandparent.this!==u)&&!((u.type==="TypeAlias"||u.type==="VariableDeclarator"||u.type==="TSTypeAliasDeclaration")&&Te(t.originalText,r)),s=ea(r),o=e.map(d=>{let D=n();return s||(D=Be(2,D)),Fe(d,D,t)},"types");if(s)return N(" | ",o);let i=a&&!Te(t.originalText,r),l=[w([i?C:"","| "]),N([C,"| "],o)];return ut(e,t)?m([A(l),E]):(u.type==="TupleTypeAnnotation"||u.type==="TSTupleType")&&u[u.type==="TupleTypeAnnotation"&&u.types?"types":"elementTypes"].length>1?m([A([w(["(",E]),l]),E,w(")")]):m(a?A(l):l)}function Xl(e){var t;let{node:n,parent:r}=e;return n.type==="FunctionTypeAnnotation"&&(nu(r)||!((r.type==="ObjectTypeProperty"||r.type==="ObjectTypeInternalSlot")&&!r.variance&&!r.optional&&tn(r,n)||r.type==="ObjectTypeCallProperty"||((t=e.getParentNode(2))==null?void 0:t.type)==="DeclareFunction"))}function ua(e,t,n){let{node:r}=e,u=[sn(e)];(r.type==="TSConstructorType"||r.type==="TSConstructSignatureDeclaration")&&u.push("new ");let a=at(e,t,n,!1,!0),s=[];return r.type==="FunctionTypeAnnotation"?s.push(Xl(e)?" => ":": ",n("returnType")):s.push(z(e,n,r.returnType?"returnType":"typeAnnotation")),gt(r,s)&&(a=m(a)),u.push(a,s),m(u)}function aa(e,t,n){return[n("objectType"),re(e),"[",n("indexType"),"]"]}function sa(e,t,n){return["infer ",n("typeParameter")]}function Lr(e,t,n){let{node:r}=e;return[r.postfix?"":n,z(e,t),r.postfix?n:""]}function oa(e,t,n){let{node:r}=e;return["...",...r.type==="TupleTypeSpreadElement"&&r.label?[n("label"),": "]:[],n("typeAnnotation")]}function ia(e,t,n){let{node:r}=e;return[r.variance?n("variance"):"",n("label"),r.optional?"?":"",": ",n("elementType")]}var $l=new WeakSet;function z(e,t,n="typeAnnotation"){let{node:{[n]:r}}=e;if(!r)return"";let u=!1;if(r.type==="TSTypeAnnotation"||r.type==="TypeAnnotation"){let a=e.call(pa,n);(a==="=>"||a===":"&&h(r,T.Leading))&&(u=!0),$l.add(r)}return u?[" ",t(n)]:t(n)}var pa=e=>e.match(t=>t.type==="TSTypeAnnotation",(t,n)=>(n==="returnType"||n==="typeAnnotation")&&(t.type==="TSFunctionType"||t.type==="TSConstructorType"))?"=>":e.match(t=>t.type==="TSTypeAnnotation",(t,n)=>n==="typeAnnotation"&&(t.type==="TSJSDocNullableType"||t.type==="TSJSDocNonNullableType"||t.type==="TSTypePredicate"))||e.match(t=>t.type==="TypeAnnotation",(t,n)=>n==="typeAnnotation"&&t.type==="Identifier",(t,n)=>n==="id"&&t.type==="DeclareFunction")||e.match(t=>t.type==="TypeAnnotation",(t,n)=>n==="typeAnnotation"&&t.type==="Identifier",(t,n)=>n==="id"&&t.type==="DeclareHook")||e.match(t=>t.type==="TypeAnnotation",(t,n)=>n==="bound"&&t.type==="TypeParameter"&&t.usesExtendsBound)?"":":";function la(e,t,n){let r=pa(e);return r?[r," ",n("typeAnnotation")]:n("typeAnnotation")}function ca(e){return[e("elementType"),"[]"]}function Da({node:e},t){let n=e.type==="TSTypeQuery"?"exprName":"argument",r=e.type==="TypeofTypeAnnotation"||e.typeArguments?"typeArguments":"typeParameters";return["typeof ",t(n),t(r)]}function ya(e,t){let{node:n}=e;return[n.type==="TSTypePredicate"&&n.asserts?"asserts ":n.type==="TypePredicate"&&n.kind?`${n.kind} `:"",t("parameterName"),n.typeAnnotation?[" is ",z(e,t)]:""]}function re(e){let{node:t}=e;return!t.optional||t.type==="Identifier"&&t===e.parent.key?"":L(t)||R(t)&&t.computed||t.type==="OptionalIndexedAccessType"?"?.":"?"}function da(e){return e.node.definite||e.match(void 0,(t,n)=>n==="id"&&t.type==="VariableDeclarator"&&t.definite)?"!":""}var Rl=new Set(["DeclareClass","DeclareComponent","DeclareFunction","DeclareHook","DeclareVariable","DeclareExportDeclaration","DeclareExportAllDeclaration","DeclareOpaqueType","DeclareTypeAlias","DeclareEnum","DeclareInterface"]);function oe(e){let{node:t}=e;return t.declare||Rl.has(t.type)&&e.parent.type!=="DeclareExportDeclaration"?"declare ":""}var Wl=new Set(["TSAbstractMethodDefinition","TSAbstractPropertyDefinition","TSAbstractAccessorProperty"]);function sn({node:e}){return e.abstract||Wl.has(e.type)?"abstract ":""}function ze(e,t,n){let r=e.node;return r.typeArguments?n("typeArguments"):r.typeParameters?n("typeParameters"):""}function ma(e,t,n){return["::",n("callee")]}function qe(e,t,n){return e.type==="EmptyStatement"?";":e.type==="BlockStatement"||n?[" ",t]:A([C,t])}function fa(e,t){return["...",t("argument"),z(e,t)]}function Zt(e){return e.accessibility?e.accessibility+" ":""}function Ul(e,t,n,r){let{node:u}=e,a=u.inexact?"...":"";return h(u,T.Dangling)?m([n,a,$(e,t,{indent:!0}),E,r]):[n,a,r]}function ar(e,t,n){let{node:r}=e,u=[],a="[",s="]",o=r.type==="TupleTypeAnnotation"&&r.types?"types":r.type==="TSTupleType"||r.type==="TupleTypeAnnotation"?"elementTypes":"elements",i=r[o];if(i.length===0)u.push(Ul(e,t,a,s));else{let l=X(!1,i,-1),d=(l==null?void 0:l.type)!=="RestElement"&&!r.inexact,D=l===null,c=Symbol("array"),p=!t.__inJestEach&&i.length>1&&i.every((g,S,b)=>{let x=g==null?void 0:g.type;if(!Q(g)&&!Ae(g))return!1;let j=b[S+1];if(j&&x!==j.type)return!1;let v=Q(g)?"elements":"properties";return g[v]&&g[v].length>1}),y=Ea(r,t),f=d?D?",":Ie(t)?y?w(",","",{groupId:c}):w(","):"":"";u.push(m([a,A([E,y?Vl(e,t,n,f):[Gl(e,t,n,o,r.inexact),f],$(e,t)]),E,s],{shouldBreak:p,id:c}))}return u.push(re(e),z(e,n)),u}function Ea(e,t){return Q(e)&&e.elements.length>1&&e.elements.every(n=>n&&(be(n)||eu(n)&&!h(n.argument))&&!h(n,T.Trailing|T.Line,r=>!pe(t.originalText,q(r),{backwards:!0})))}function Fa({node:e},{originalText:t}){let n=u=>_n(t,Xn(t,u)),r=u=>t[u]===","?u:r(n(u+1));return $n(t,r(I(e)))}function Gl(e,t,n,r,u){let a=[];return e.each(({node:s,isLast:o})=>{a.push(s?m(n()):""),(!o||u)&&a.push([",",C,s&&Fa(e,t)?E:""])},r),u&&a.push("..."),a}function Vl(e,t,n,r){let u=[];return e.each(({isLast:a,next:s})=>{u.push([n(),a?r:","]),a||u.push(Fa(e,t)?[F,F]:h(s,T.Leading|T.Line)?F:C)},"elements"),yu(u)}var Kl=/^[\$A-Z_a-z\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u05D0-\u05EA\u05F0-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u08A0-\u08B4\u08B6-\u08BD\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1877\u1880-\u1884\u1887-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C88\u1CE9-\u1CEC\u1CEE-\u1CF1\u1CF5\u1CF6\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303C\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FD5\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AE\uA7B0-\uA7B7\uA7F7-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC][\$0-9A-Z_a-z\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0300-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u0483-\u0487\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u05D0-\u05EA\u05F0-\u05F2\u0610-\u061A\u0620-\u0669\u066E-\u06D3\u06D5-\u06DC\u06DF-\u06E8\u06EA-\u06FC\u06FF\u0710-\u074A\u074D-\u07B1\u07C0-\u07F5\u07FA\u0800-\u082D\u0840-\u085B\u08A0-\u08B4\u08B6-\u08BD\u08D4-\u08E1\u08E3-\u0963\u0966-\u096F\u0971-\u0983\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BC-\u09C4\u09C7\u09C8\u09CB-\u09CE\u09D7\u09DC\u09DD\u09DF-\u09E3\u09E6-\u09F1\u0A01-\u0A03\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A59-\u0A5C\u0A5E\u0A66-\u0A75\u0A81-\u0A83\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABC-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AD0\u0AE0-\u0AE3\u0AE6-\u0AEF\u0AF9\u0B01-\u0B03\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3C-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B56\u0B57\u0B5C\u0B5D\u0B5F-\u0B63\u0B66-\u0B6F\u0B71\u0B82\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD0\u0BD7\u0BE6-\u0BEF\u0C00-\u0C03\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C58-\u0C5A\u0C60-\u0C63\u0C66-\u0C6F\u0C80-\u0C83\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBC-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CDE\u0CE0-\u0CE3\u0CE6-\u0CEF\u0CF1\u0CF2\u0D01-\u0D03\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D-\u0D44\u0D46-\u0D48\u0D4A-\u0D4E\u0D54-\u0D57\u0D5F-\u0D63\u0D66-\u0D6F\u0D7A-\u0D7F\u0D82\u0D83\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DE6-\u0DEF\u0DF2\u0DF3\u0E01-\u0E3A\u0E40-\u0E4E\u0E50-\u0E59\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB9\u0EBB-\u0EBD\u0EC0-\u0EC4\u0EC6\u0EC8-\u0ECD\u0ED0-\u0ED9\u0EDC-\u0EDF\u0F00\u0F18\u0F19\u0F20-\u0F29\u0F35\u0F37\u0F39\u0F3E-\u0F47\u0F49-\u0F6C\u0F71-\u0F84\u0F86-\u0F97\u0F99-\u0FBC\u0FC6\u1000-\u1049\u1050-\u109D\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u135D-\u135F\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1714\u1720-\u1734\u1740-\u1753\u1760-\u176C\u176E-\u1770\u1772\u1773\u1780-\u17D3\u17D7\u17DC\u17DD\u17E0-\u17E9\u180B-\u180D\u1810-\u1819\u1820-\u1877\u1880-\u18AA\u18B0-\u18F5\u1900-\u191E\u1920-\u192B\u1930-\u193B\u1946-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u19D0-\u19D9\u1A00-\u1A1B\u1A20-\u1A5E\u1A60-\u1A7C\u1A7F-\u1A89\u1A90-\u1A99\u1AA7\u1AB0-\u1ABD\u1B00-\u1B4B\u1B50-\u1B59\u1B6B-\u1B73\u1B80-\u1BF3\u1C00-\u1C37\u1C40-\u1C49\u1C4D-\u1C7D\u1C80-\u1C88\u1CD0-\u1CD2\u1CD4-\u1CF6\u1CF8\u1CF9\u1D00-\u1DF5\u1DFB-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u200C\u200D\u203F\u2040\u2054\u2071\u207F\u2090-\u209C\u20D0-\u20DC\u20E1\u20E5-\u20F0\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D7F-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2DE0-\u2DFF\u2E2F\u3005-\u3007\u3021-\u302F\u3031-\u3035\u3038-\u303C\u3041-\u3096\u3099\u309A\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FD5\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA62B\uA640-\uA66F\uA674-\uA67D\uA67F-\uA6F1\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AE\uA7B0-\uA7B7\uA7F7-\uA827\uA840-\uA873\uA880-\uA8C5\uA8D0-\uA8D9\uA8E0-\uA8F7\uA8FB\uA8FD\uA900-\uA92D\uA930-\uA953\uA960-\uA97C\uA980-\uA9C0\uA9CF-\uA9D9\uA9E0-\uA9FE\uAA00-\uAA36\uAA40-\uAA4D\uAA50-\uAA59\uAA60-\uAA76\uAA7A-\uAAC2\uAADB-\uAADD\uAAE0-\uAAEF\uAAF2-\uAAF6\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABEA\uABEC\uABED\uABF0-\uABF9\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE00-\uFE0F\uFE20-\uFE2F\uFE33\uFE34\uFE4D-\uFE4F\uFE70-\uFE74\uFE76-\uFEFC\uFF10-\uFF19\uFF21-\uFF3A\uFF3F\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]*$/,Hl=e=>Kl.test(e),zl=Hl;function Ql(e){return e.length===1?e:e.toLowerCase().replace(/^([+-]?[\d.]+e)(?:\+|(-))?0*(?=\d)/u,"$1$2").replace(/^([+-]?[\d.]+)e[+-]?0+$/u,"$1").replace(/^([+-])?\./u,"$10.").replace(/(\.\d+?)0+(?=e|$)/u,"$1").replace(/\.(?=e|$)/u,"")}var mt=Ql,Vt=new WeakMap;function Aa(e){return/^(?:\d+|\d+\.\d+)$/u.test(e)}function Mr(e,t){return t.parser==="json"||t.parser==="jsonc"||!Y(e.key)||yt(se(e.key),t).slice(1,-1)!==e.key.value?!1:!!(zl(e.key.value)&&!(t.parser==="babel-ts"&&e.type==="ClassProperty"||(t.parser==="typescript"||t.parser==="oxc-ts")&&e.type==="PropertyDefinition")||Aa(e.key.value)&&String(Number(e.key.value))===e.key.value&&e.type!=="ImportAttribute"&&(t.parser==="babel"||t.parser==="acorn"||t.parser==="oxc"||t.parser==="espree"||t.parser==="meriyah"||t.parser==="__babel_estree"))}function Yl(e,t){let{key:n}=e.node;return(n.type==="Identifier"||be(n)&&Aa(mt(se(n)))&&String(n.value)===mt(se(n))&&!(t.parser==="typescript"||t.parser==="babel-ts"||t.parser==="oxc-ts"))&&(t.parser==="json"||t.parser==="jsonc"||t.quoteProps==="consistent"&&Vt.get(e.parent))}function Mt(e,t,n){let{node:r}=e;if(r.computed)return["[",n("key"),"]"];let{parent:u}=e,{key:a}=r;if(t.quoteProps==="consistent"&&!Vt.has(u)){let s=e.siblings.some(o=>!o.computed&&Y(o.key)&&!Mr(o,t));Vt.set(u,s)}if(Yl(e,t)){let s=yt(JSON.stringify(a.type==="Identifier"?a.name:a.value.toString()),t);return e.call(o=>Fe(o,s,t),"key")}return Mr(r,t)&&(t.quoteProps==="as-needed"||t.quoteProps==="consistent"&&!Vt.get(u))?e.call(s=>Fe(s,/^\d/u.test(a.value)?mt(a.value):a.value,t),"key"):n("key")}function An(e,t,n){let{node:r}=e;return r.shorthand?n("value"):Lt(e,t,n,Mt(e,t,n),":","value")}var Zl=({node:e,key:t,parent:n})=>t==="value"&&e.type==="FunctionExpression"&&(n.type==="ObjectMethod"||n.type==="ClassMethod"||n.type==="ClassPrivateMethod"||n.type==="MethodDefinition"||n.type==="TSAbstractMethodDefinition"||n.type==="TSDeclareMethod"||n.type==="Property"&&nn(n));function ga(e,t,n,r){if(Zl(e))return sr(e,t,n);let{node:u}=e,a=!1;if((u.type==="FunctionDeclaration"||u.type==="FunctionExpression")&&r!=null&&r.expandLastArg){let{parent:d}=e;L(d)&&(de(d).length>1||Z(u).every(D=>D.type==="Identifier"&&!D.typeAnnotation))&&(a=!0)}let s=[oe(e),u.async?"async ":"",`function${u.generator?"*":""} `,u.id?n("id"):""],o=at(e,t,n,a),i=on(e,n),l=gt(u,i);return s.push(ze(e,t,n),m([l?m(o):o,i]),u.body?" ":"",n("body")),t.semi&&(u.declare||!u.body)&&s.push(";"),s}function Mn(e,t,n){let{node:r}=e,{kind:u}=r,a=r.value||r,s=[];return!u||u==="init"||u==="method"||u==="constructor"?a.async&&s.push("async "):(Rn.ok(u==="get"||u==="set"),s.push(u," ")),a.generator&&s.push("*"),s.push(Mt(e,t,n),r.optional?"?":"",r===a?sr(e,t,n):n("value")),s}function sr(e,t,n){let{node:r}=e,u=at(e,t,n),a=on(e,n),s=Ml(r),o=gt(r,a),i=[ze(e,t,n),m([s?m(u,{shouldBreak:!0}):o?m(u):u,a])];return r.body?i.push(" ",n("body")):i.push(t.semi?";":""),i}function ec(e){let t=Z(e);return t.length===1&&!e.typeParameters&&!h(e,T.Dangling)&&t[0].type==="Identifier"&&!t[0].typeAnnotation&&!h(t[0])&&!t[0].optional&&!e.predicate&&!e.returnType}function xa(e,t){if(t.arrowParens==="always")return!1;if(t.arrowParens==="avoid"){let{node:n}=e;return ec(n)}return!1}function on(e,t){let{node:n}=e,r=[z(e,t,"returnType")];return n.predicate&&r.push(t("predicate")),r}function ha(e,t,n){let{node:r}=e,u=t.semi?";":"",a=[];if(r.argument){let i=n("argument");rc(t,r.argument)?i=["(",A([F,i]),F,")"]:(ke(r.argument)||t.experimentalTernaries&&r.argument.type==="ConditionalExpression"&&(r.argument.consequent.type==="ConditionalExpression"||r.argument.alternate.type==="ConditionalExpression"))&&(i=m([w("("),A([E,i]),E,w(")")])),a.push(" ",i)}let s=h(r,T.Dangling),o=u&&s&&h(r,T.Last|T.Line);return o&&a.push(u),s&&a.push(" ",$(e,t)),o||a.push(u),a}function tc(e,t,n){return["return",ha(e,t,n)]}function nc(e,t,n){return["throw",ha(e,t,n)]}function rc(e,t){if(Te(e.originalText,t)||h(t,T.Leading,n=>ce(e.originalText,q(n),I(n)))&&!K(t))return!0;if(Wn(t)){let n=t,r;for(;r=Ks(n);)if(n=r,Te(e.originalText,n))return!0}return!1}var gn=new WeakMap;function Ca(e){return gn.has(e)||gn.set(e,e.type==="ConditionalExpression"&&!te(e,t=>t.type==="ObjectExpression")),gn.get(e)}var uc=e=>e.type==="SequenceExpression";function ac(e,t,n,r={}){let u=[],a,s=[],o=!1,i=!r.expandLastArg&&e.node.body.type==="ArrowFunctionExpression",l;(function S(){let{node:b}=e,x=sc(e,t,n,r);if(u.length===0)u.push(x);else{let{leading:j,trailing:v}=_u(e,t);u.push([j,x]),s.unshift(v)}i&&(o||(o=b.returnType&&Z(b).length>0||b.typeParameters||Z(b).some(j=>j.type!=="Identifier"))),!i||b.body.type!=="ArrowFunctionExpression"?(a=n("body",r),l=b.body):e.call(S,"body")})();let d=!Te(t.originalText,l)&&(uc(l)||oc(l,a,t)||!o&&Ca(l)),D=e.key==="callee"&&dt(e.parent),c=Symbol("arrow-chain"),p=ic(e,r,{signatureDocs:u,shouldBreak:o}),y=!1,f=!1,g=!1;return i&&(D||r.assignmentLayout)&&(f=!0,g=!h(e.node,T.Leading&T.Line),y=r.assignmentLayout==="chain-tail-arrow-chain"||D&&!d),a=pc(e,t,r,{bodyDoc:a,bodyComments:s,functionBody:l,shouldPutBodyOnSameLine:d}),m([m(f?A([g?E:"",p]):p,{shouldBreak:y,id:c})," =>",i?an(a,{groupId:c}):m(a),i&&D?w(E,"",{groupId:c}):""])}function sc(e,t,n,r){let{node:u}=e,a=[];if(u.async&&a.push("async "),xa(e,t))a.push(n(["params",0]));else{let o=r.expandLastArg||r.expandFirstArg,i=on(e,n);if(o){if(ne(i))throw new Qt;i=m(bn(i))}a.push(m([at(e,t,n,o,!0),i]))}let s=$(e,t,{filter(o){let i=Ft(t.originalText,I(o));return i!==!1&&t.originalText.slice(i,i+2)==="=>"}});return s&&a.push(" ",s),a}function oc(e,t,n){var r,u;return Q(e)||Ae(e)||e.type==="ArrowFunctionExpression"||e.type==="DoExpression"||e.type==="BlockStatement"||K(e)||((r=t.label)==null?void 0:r.hug)!==!1&&(((u=t.label)==null?void 0:u.embed)||au(e,n.originalText))}function ic(e,t,{signatureDocs:n,shouldBreak:r}){if(n.length===1)return n[0];let{parent:u,key:a}=e;return a!=="callee"&&dt(u)||ke(u)?m([n[0]," =>",A([C,N([" =>",C],n.slice(1))])],{shouldBreak:r}):a==="callee"&&dt(u)||t.assignmentLayout?m(N([" =>",C],n),{shouldBreak:r}):m(A(N([" =>",C],n)),{shouldBreak:r})}function pc(e,t,n,{bodyDoc:r,bodyComments:u,functionBody:a,shouldPutBodyOnSameLine:s}){let{node:o,parent:i}=e,l=n.expandLastArg&&Ie(t,"all")?w(","):"",d=(n.expandLastArg||i.type==="JSXExpressionContainer")&&!h(o)?E:"";return s&&Ca(a)?[" ",m([w("","("),A([E,r]),w("",")"),l,d]),u]:s?[" ",r,u]:[A([C,r,u]),l,d]}var lc=(e,t,n)=>{if(!(e&&t==null)){if(t.findLast)return t.findLast(n);for(let r=t.length-1;r>=0;r--){let u=t[r];if(n(u,r,t))return u}}},cc=lc;function On(e,t,n,r){let{node:u}=e,a=[],s=cc(!1,u[r],o=>o.type!=="EmptyStatement");return e.each(({node:o})=>{o.type!=="EmptyStatement"&&(a.push(n()),o!==s&&(a.push(F),Ne(o,t)&&a.push(F)))},r),a}function Ta(e,t,n){let r=Dc(e,t,n),{node:u,parent:a}=e;if(u.type==="Program"&&(a==null?void 0:a.type)!=="ModuleExpression")return r?[r,F]:"";let s=[];if(u.type==="StaticBlock"&&s.push("static "),s.push("{"),r)s.push(A([F,r]),F);else{let o=e.grandparent;a.type==="ArrowFunctionExpression"||a.type==="FunctionExpression"||a.type==="FunctionDeclaration"||a.type==="ComponentDeclaration"||a.type==="HookDeclaration"||a.type==="ObjectMethod"||a.type==="ClassMethod"||a.type==="ClassPrivateMethod"||a.type==="ForStatement"||a.type==="WhileStatement"||a.type==="DoWhileStatement"||a.type==="DoExpression"||a.type==="ModuleExpression"||a.type==="CatchClause"&&!o.finalizer||a.type==="TSModuleDeclaration"||u.type==="StaticBlock"||s.push(F)}return s.push("}"),s}function Dc(e,t,n){let{node:r}=e,u=J(r.directives),a=r.body.some(i=>i.type!=="EmptyStatement"),s=h(r,T.Dangling);if(!u&&!a&&!s)return"";let o=[];return u&&(o.push(On(e,t,n,"directives")),(a||s)&&(o.push(F),Ne(X(!1,r.directives,-1),t)&&o.push(F))),a&&o.push(On(e,t,n,"body")),s&&o.push($(e,t)),o}function yc(e){let t=new WeakMap;return function(n){return t.has(n)||t.set(n,Symbol(e)),t.get(n)}}var Sa=yc,or=Sa("typeParameters");function dc(e,t,n){let{node:r}=e;return Z(r).length===1&&r.type.startsWith("TS")&&!r[n][0].constraint&&e.parent.type==="ArrowFunctionExpression"&&!(t.filepath&&/\.ts$/u.test(t.filepath))}function vt(e,t,n,r){let{node:u}=e;if(!u[r])return"";if(!Array.isArray(u[r]))return n(r);let a=rn(e.grandparent),s=e.match(i=>!(i[r].length===1&&Xe(i[r][0])),void 0,(i,l)=>l==="typeAnnotation",i=>i.type==="Identifier",Qu);if(u[r].length===0||!s&&(a||u[r].length===1&&(u[r][0].type==="NullableTypeAnnotation"||ea(u[r][0]))))return["<",N(", ",e.map(n,r)),mc(e,t),">"];let o=u.type==="TSTypeParameterInstantiation"?"":dc(e,t,r)?",":Ie(t)?w(","):"";return m(["<",A([E,N([",",C],e.map(n,r))]),o,E,">"],{id:or(u)})}function mc(e,t){let{node:n}=e;if(!h(n,T.Dangling))return"";let r=!h(n,T.Line),u=$(e,t,{indent:!r});return r?u:[u,F]}function ba(e,t,n){let{node:r}=e,u=[r.const?"const ":""],a=r.type==="TSTypeParameter"?n("name"):r.name;if(r.variance&&u.push(n("variance")),r.in&&u.push("in "),r.out&&u.push("out "),u.push(a),r.bound&&(r.usesExtendsBound&&u.push(" extends "),u.push(z(e,n,"bound"))),r.constraint){let s=Symbol("constraint");u.push(" extends",m(A(C),{id:s}),we,an(n("constraint"),{groupId:s}))}return r.default&&u.push(" = ",n("default")),m(u)}var Ba=_(["ClassProperty","PropertyDefinition","ClassPrivateProperty","ClassAccessorProperty","AccessorProperty","TSAbstractPropertyDefinition","TSAbstractAccessorProperty"]);function va(e,t,n){let{node:r}=e,u=[oe(e),sn(e),"class"],a=h(r.id,T.Trailing)||h(r.typeParameters,T.Trailing)||h(r.superClass)||J(r.extends)||J(r.mixins)||J(r.implements),s=[],o=[];if(r.id&&s.push(" ",n("id")),s.push(n("typeParameters")),r.superClass){let d=[Fc(e,t,n),n(r.superTypeArguments?"superTypeArguments":"superTypeParameters")],D=e.call(c=>["extends ",Fe(c,d,t)],"superClass");a?o.push(C,m(D)):o.push(" ",D)}else o.push(xn(e,t,n,"extends"));o.push(xn(e,t,n,"mixins"),xn(e,t,n,"implements"));let i;if(a){let d;Pa(r)?d=[...s,A(o)]:d=A([...s,o]),i=ka(r),u.push(m(d,{id:i}))}else u.push(...s,...o);let l=r.body;return a&&J(l.body)?u.push(w(F," ",{groupId:i})):u.push(" "),u.push(n("body")),u}var ka=Sa("heritageGroup");function fc(e){return w(F,"",{groupId:ka(e)})}function Ec(e){return["extends","mixins","implements"].reduce((t,n)=>t+(Array.isArray(e[n])?e[n].length:0),e.superClass?1:0)>1}function Pa(e){return e.typeParameters&&!h(e.typeParameters,T.Trailing|T.Line)&&!Ec(e)}function xn(e,t,n,r){let{node:u}=e;if(!J(u[r]))return"";let a=$(e,t,{marker:r});return[Pa(u)?w(" ",C,{groupId:or(u.typeParameters)}):C,a,a&&F,r,m(A([C,N([",",C],e.map(n,r))]))]}function Fc(e,t,n){let r=n("superClass"),{parent:u}=e;return u.type==="AssignmentExpression"?m(w(["(",A([E,r]),E,")"],r)):r}function wa(e,t,n){let{node:r}=e,u=[];return J(r.decorators)&&u.push(Ru(e,t,n)),u.push(Zt(r)),r.static&&u.push("static "),u.push(sn(e)),r.override&&u.push("override "),u.push(Mn(e,t,n)),u}function Ia(e,t,n){let{node:r}=e,u=[],a=t.semi?";":"";J(r.decorators)&&u.push(Ru(e,t,n)),u.push(oe(e),Zt(r)),r.static&&u.push("static "),u.push(sn(e)),r.override&&u.push("override "),r.readonly&&u.push("readonly "),r.variance&&u.push(n("variance")),(r.type==="ClassAccessorProperty"||r.type==="AccessorProperty"||r.type==="TSAbstractAccessorProperty")&&u.push("accessor "),u.push(Mt(e,t,n),re(e),da(e),z(e,n));let s=r.type==="TSAbstractPropertyDefinition"||r.type==="TSAbstractAccessorProperty";return[Lt(e,t,n,u," =",s?void 0:"value"),a]}function Ac(e,t,n){let{node:r}=e,u=[];return e.each(({node:a,next:s,isLast:o})=>{u.push(n()),!t.semi&&Ba(a)&&gc(a,s)&&u.push(";"),o||(u.push(F),Ne(a,t)&&u.push(F))},"body"),h(r,T.Dangling)&&u.push($(e,t)),["{",u.length>0?[A([F,u]),F]:"","}"]}function gc(e,t){var n;let{type:r,name:u}=e.key;if(!e.computed&&r==="Identifier"&&(u==="static"||u==="get"||u==="set")&&!e.value&&!e.typeAnnotation)return!0;if(!t||t.static||t.accessibility||t.readonly)return!1;if(!t.computed){let a=(n=t.key)==null?void 0:n.name;if(a==="in"||a==="instanceof")return!0}if(Ba(t)&&t.variance&&!t.static&&!t.declare)return!0;switch(t.type){case"ClassProperty":case"PropertyDefinition":case"TSAbstractPropertyDefinition":return t.computed;case"MethodDefinition":case"TSAbstractMethodDefinition":case"ClassMethod":case"ClassPrivateMethod":{if((t.value?t.value.async:t.async)||t.kind==="get"||t.kind==="set")return!1;let a=t.value?t.value.generator:t.generator;return!!(t.computed||a)}case"TSIndexSignature":return!0}return!1}var xc=_(["TSAsExpression","TSTypeAssertion","TSNonNullExpression","TSInstantiationExpression","TSSatisfiesExpression"]);function Na(e){return xc(e)?Na(e.expression):e}var hc=_(["FunctionExpression","ArrowFunctionExpression"]);function Cc(e){return e.type==="MemberExpression"||e.type==="OptionalMemberExpression"||e.type==="Identifier"&&e.name!=="undefined"}function Tc(e,t){if(t.semi||La(e,t)||Ma(e,t))return!1;let{node:n,key:r,parent:u}=e;return!!(n.type==="ExpressionStatement"&&(r==="body"&&(u.type==="Program"||u.type==="BlockStatement"||u.type==="StaticBlock"||u.type==="TSModuleBlock")||r==="consequent"&&u.type==="SwitchCase")&&e.call(()=>ja(e,t),"expression"))}function ja(e,t){let{node:n}=e;switch(n.type){case"ParenthesizedExpression":case"TypeCastExpression":case"ArrayExpression":case"ArrayPattern":case"TemplateLiteral":case"TemplateElement":case"RegExpLiteral":return!0;case"ArrowFunctionExpression":if(!xa(e,t))return!0;break;case"UnaryExpression":{let{prefix:r,operator:u}=n;if(r&&(u==="+"||u==="-"))return!0;break}case"BindExpression":if(!n.object)return!0;break;case"Literal":if(n.regex)return!0;break;default:if(K(n))return!0}return ut(e,t)?!0:Wn(n)?e.call(()=>ja(e,t),...Zr(n)):!1}function La({node:e,parent:t},n){return(n.parentParser==="markdown"||n.parentParser==="mdx")&&e.type==="ExpressionStatement"&&K(e.expression)&&t.type==="Program"&&t.body.length===1}function Ma({node:e,parent:t},n){return(n.parser==="__vue_event_binding"||n.parser==="__vue_ts_event_binding")&&e.type==="ExpressionStatement"&&t.type==="Program"&&t.body.length===1}function Sc(e,t,n){let r=[n("expression")];if(Ma(e,t)){let u=Na(e.node.expression);(hc(u)||Cc(u))&&r.push(";")}else La(e,t)||t.semi&&r.push(";");return r}function bc(e,t,n){if(t.__isVueBindings||t.__isVueForBindingLeft){let r=e.map(n,"program","body",0,"params");if(r.length===1)return r[0];let u=N([",",C],r);return t.__isVueForBindingLeft?["(",A([E,m(u)]),E,")"]:u}if(t.__isEmbeddedTypescriptGenericParameters){let r=e.map(n,"program","body",0,"typeParameters","params");return N([",",C],r)}}function Bc(e,t){let{node:n}=e;switch(n.type){case"RegExpLiteral":return Or(n);case"BigIntLiteral":return Jn(n.extra.raw);case"NumericLiteral":return mt(n.extra.raw);case"StringLiteral":return He(yt(n.extra.raw,t));case"NullLiteral":return"null";case"BooleanLiteral":return String(n.value);case"DirectiveLiteral":return Jr(n.extra.raw,t);case"Literal":{if(n.regex)return Or(n.regex);if(n.bigint)return Jn(n.raw);let{value:r}=n;return typeof r=="number"?mt(n.raw):typeof r=="string"?vc(e)?Jr(n.raw,t):He(yt(n.raw,t)):String(r)}}}function vc(e){if(e.key!=="expression")return;let{parent:t}=e;return t.type==="ExpressionStatement"&&typeof t.directive=="string"}function Jn(e){return e.toLowerCase()}function Or({pattern:e,flags:t}){return t=[...t].sort().join(""),`/${e}/${t}`}function Jr(e,t){let n=e.slice(1,-1);if(n.includes('"')||n.includes("'"))return e;let r=t.singleQuote?"'":'"';return r+n+r}function kc(e,t,n){let r=e.originalText.slice(t,n);for(let u of e[Symbol.for("comments")]){let a=q(u);if(a>n)break;let s=I(u);if(se.type==="ExportDefaultDeclaration"||e.type==="DeclareExportDeclaration"&&e.default;function Ja(e,t,n){let{node:r}=e,u=[il(e,t,n),oe(e),"export",Oa(r)?" default":""],{declaration:a,exported:s}=r;return h(r,T.Dangling)&&(u.push(" ",$(e,t)),su(r)&&u.push(F)),a?u.push(" ",n("declaration")):(u.push(Nc(r)),r.type==="ExportAllDeclaration"||r.type==="DeclareExportAllDeclaration"?(u.push(" *"),s&&u.push(" as ",n("exported"))):u.push(Xa(e,t,n)),u.push(_a(e,t,n),Ra(e,t,n))),u.push(Ic(r,t)),u}var wc=_(["ClassDeclaration","ComponentDeclaration","FunctionDeclaration","TSInterfaceDeclaration","DeclareClass","DeclareComponent","DeclareFunction","DeclareHook","HookDeclaration","TSDeclareFunction","EnumDeclaration"]);function Ic(e,t){return t.semi&&(!e.declaration||Oa(e)&&!wc(e.declaration))?";":""}function pr(e,t=!0){return e&&e!=="value"?`${t?" ":""}${e}${t?"":" "}`:""}function qa(e,t){return pr(e.importKind,t)}function Nc(e){return pr(e.exportKind)}function _a(e,t,n){let{node:r}=e;if(!r.source)return"";let u=[];return $a(r,t)&&u.push(" from"),u.push(" ",n("source")),u}function Xa(e,t,n){let{node:r}=e;if(!$a(r,t))return"";let u=[" "];if(J(r.specifiers)){let a=[],s=[];e.each(()=>{let o=e.node.type;if(o==="ExportNamespaceSpecifier"||o==="ExportDefaultSpecifier"||o==="ImportNamespaceSpecifier"||o==="ImportDefaultSpecifier")a.push(n());else if(o==="ExportSpecifier"||o==="ImportSpecifier")s.push(n());else throw new At(r,"specifier")},"specifiers"),u.push(N(", ",a)),s.length>0&&(a.length>0&&u.push(", "),s.length>1||a.length>0||r.specifiers.some(o=>h(o))?u.push(m(["{",A([t.bracketSpacing?C:E,N([",",C],s)]),w(Ie(t)?",":""),t.bracketSpacing?C:E,"}"])):u.push(["{",t.bracketSpacing?" ":"",...s,t.bracketSpacing?" ":"","}"]))}else u.push("{}");return u}function $a(e,t){return e.type!=="ImportDeclaration"||J(e.specifiers)||e.importKind==="type"?!0:ir(t,q(e),q(e.source)).trimEnd().endsWith("from")}function jc(e,t){var n,r;if((n=e.extra)!=null&&n.deprecatedAssertSyntax)return"assert";let u=ir(t,I(e.source),(r=e.attributes)!=null&&r[0]?q(e.attributes[0]):I(e)).trimStart();return u.startsWith("assert")?"assert":u.startsWith("with")||J(e.attributes)?"with":void 0}function Ra(e,t,n){let{node:r}=e;if(!r.source)return"";let u=jc(r,t);if(!u)return"";let a=[` ${u} {`];return J(r.attributes)&&(t.bracketSpacing&&a.push(" "),a.push(N(", ",e.map(n,"attributes"))),t.bracketSpacing&&a.push(" ")),a.push("}"),a}function Lc(e,t,n){let{node:r}=e,{type:u}=r,a=u.startsWith("Import"),s=a?"imported":"local",o=a?"local":"exported",i=r[s],l=r[o],d="",D="";return u==="ExportNamespaceSpecifier"||u==="ImportNamespaceSpecifier"?d="*":i&&(d=n(s)),l&&!Mc(r)&&(D=n(o)),[pr(u==="ImportSpecifier"?r.importKind:r.exportKind,!1),d,d&&D?" as ":"",D]}function Mc(e){if(e.type!=="ImportSpecifier"&&e.type!=="ExportSpecifier")return!1;let{local:t,[e.type==="ImportSpecifier"?"imported":"exported"]:n}=e;if(t.type!==n.type||!Ns(t,n))return!1;if(Y(t))return t.value===n.value&&se(t)===se(n);switch(t.type){case"Identifier":return t.name===n.name;default:return!1}}function pn(e,t,n){var r;let u=t.semi?";":"",{node:a}=e,s=a.type==="ObjectTypeAnnotation",o=a.type==="TSEnumBody"||a.type==="EnumBooleanBody"||a.type==="EnumNumberBody"||a.type==="EnumBigIntBody"||a.type==="EnumStringBody"||a.type==="EnumSymbolBody",i=[a.type==="TSTypeLiteral"||o?"members":a.type==="TSInterfaceBody"?"body":"properties"];s&&i.push("indexers","callProperties","internalSlots");let l=i.flatMap(B=>e.map(({node:M})=>({node:M,printed:n(),loc:q(M)}),B));i.length>1&&l.sort((B,M)=>B.loc-M.loc);let{parent:d,key:D}=e,c=s&&D==="body"&&(d.type==="InterfaceDeclaration"||d.type==="DeclareInterface"||d.type==="DeclareClass"),p=a.type==="TSInterfaceBody"||o||c||a.type==="ObjectPattern"&&d.type!=="FunctionDeclaration"&&d.type!=="FunctionExpression"&&d.type!=="ArrowFunctionExpression"&&d.type!=="ObjectMethod"&&d.type!=="ClassMethod"&&d.type!=="ClassPrivateMethod"&&d.type!=="AssignmentPattern"&&d.type!=="CatchClause"&&a.properties.some(B=>B.value&&(B.value.type==="ObjectPattern"||B.value.type==="ArrayPattern"))||a.type!=="ObjectPattern"&&t.objectWrap==="preserve"&&l.length>0&&ce(t.originalText,q(a),l[0].loc),y=c?";":a.type==="TSInterfaceBody"||a.type==="TSTypeLiteral"?w(u,";"):",",f=a.exact?"{|":"{",g=a.exact?"|}":"}",S=[],b=l.map(B=>{let M=[...S,m(B.printed)];return S=[y,C],(B.node.type==="TSPropertySignature"||B.node.type==="TSMethodSignature"||B.node.type==="TSConstructSignatureDeclaration"||B.node.type==="TSCallSignatureDeclaration")&&h(B.node,T.PrettierIgnore)&&S.shift(),Ne(B.node,t)&&S.push(F),M});if(a.inexact||a.hasUnknownMembers){let B;if(h(a,T.Dangling)){let M=h(a,T.Line);B=[$(e,t),M||pe(t.originalText,I(X(!1,Ke(a),-1)))?F:C,"..."]}else B=["..."];b.push([...S,...B])}let x=(r=X(!1,l,-1))==null?void 0:r.node,j=!(a.inexact||a.hasUnknownMembers||x&&(x.type==="RestElement"||(x.type==="TSPropertySignature"||x.type==="TSCallSignatureDeclaration"||x.type==="TSMethodSignature"||x.type==="TSConstructSignatureDeclaration"||x.type==="TSIndexSignature")&&h(x,T.PrettierIgnore))||e.match(void 0,(B,M)=>B.type==="TSImportType"&&M==="options")),v;if(b.length===0){if(!h(a,T.Dangling))return[f,g,z(e,n)];v=m([f,$(e,t,{indent:!0}),E,g,re(e),z(e,n)])}else v=[c&&J(a.properties)?fc(d):"",f,A([t.bracketSpacing?C:E,...b]),w(j&&(y!==","||Ie(t))?y:""),t.bracketSpacing?C:E,g,re(e),z(e,n)];return e.match(B=>B.type==="ObjectPattern"&&!J(B.decorators),hn)||Xe(a)&&(e.match(void 0,(B,M)=>M==="typeAnnotation",(B,M)=>M==="typeAnnotation",hn)||e.match(void 0,(B,M)=>B.type==="FunctionTypeParam"&&M==="typeAnnotation",hn))||!p&&e.match(B=>B.type==="ObjectPattern",B=>B.type==="AssignmentExpression"||B.type==="VariableDeclarator")?v:m(v,{shouldBreak:p})}function hn(e,t){return(t==="params"||t==="parameters"||t==="this"||t==="rest")&&Zu(e)}function Oc(e){let t=[e];for(let n=0;nc[O]===r),y=c.type===r.type&&!p,f,g,S=0;do g=f||r,f=e.getParentNode(S),S++;while(f&&f.type===r.type&&o.every(O=>f[O]!==g));let b=f||c,x=g;if(u&&(K(r[o[0]])||K(i)||K(l)||Oc(x))){D=!0,y=!0;let O=U=>[w("("),A([E,U]),E,w(")")],G=U=>U.type==="NullLiteral"||U.type==="Literal"&&U.value===null||U.type==="Identifier"&&U.name==="undefined";d.push(" ? ",G(i)?n(a):O(n(a))," : ",l.type===r.type||G(l)?n(s):O(n(s)))}else{let O=U=>t.useTabs?A(n(U)):Be(2,n(U)),G=[C,"? ",i.type===r.type?w("","("):"",O(a),i.type===r.type?w("",")"):"",C,": ",O(s)];d.push(c.type!==r.type||c[s]===r||p?G:t.useTabs?Du(A(G)):Be(Math.max(0,t.tabWidth-2),G))}let j=[a,s,...o].some(O=>h(r[O],G=>ye(G)&&ce(t.originalText,q(G),I(G)))),v=O=>c===b?m(O,{shouldBreak:j}):j?[O,ve]:O,B=!D&&(R(c)||c.type==="NGPipeExpression"&&c.left===r)&&!c.computed,M=_c(e),k=v([Jc(e,t,n),y?d:A(d),u&&B&&!M?E:""]);return p||M?m([A([E,k]),E]):k}function $c(e,t){return(R(t)||t.type==="NGPipeExpression"&&t.left===e)&&!t.computed}function Rc(e,t,n,r){return[...e.map(u=>Ke(u)),Ke(t),Ke(n)].flat().some(u=>ye(u)&&ce(r.originalText,q(u),I(u)))}var Wc=new Map([["AssignmentExpression","right"],["VariableDeclarator","init"],["ReturnStatement","argument"],["ThrowStatement","argument"],["UnaryExpression","argument"],["YieldExpression","argument"],["AwaitExpression","argument"]]);function Uc(e){let{node:t}=e;if(t.type!=="ConditionalExpression")return!1;let n,r=t;for(let u=0;!n;u++){let a=e.getParentNode(u);if(a.type==="ChainExpression"&&a.expression===r||L(a)&&a.callee===r||R(a)&&a.object===r||a.type==="TSNonNullExpression"&&a.expression===r){r=a;continue}a.type==="NewExpression"&&a.callee===r||Ce(a)&&a.expression===r?(n=e.getParentNode(u+1),r=a):n=a}return r===t?!1:n[Wc.get(n.type)]===r}var Cn=e=>[w("("),A([E,e]),E,w(")")];function lr(e,t,n,r){if(!t.experimentalTernaries)return Xc(e,t,n);let{node:u}=e,a=u.type==="ConditionalExpression",s=Re(u),o=a?"consequent":"trueType",i=a?"alternate":"falseType",l=a?["test"]:["checkType","extendsType"],d=u[o],D=u[i],c=l.map(me=>u[me]),{parent:p}=e,y=p.type===u.type,f=y&&l.some(me=>p[me]===u),g=y&&p[i]===u,S=d.type===u.type,b=D.type===u.type,x=b||g,j=t.tabWidth>2||t.useTabs,v,B,M=0;do B=v||u,v=e.getParentNode(M),M++;while(v&&v.type===u.type&&l.every(me=>v[me]!==B));let k=v||p,O=r&&r.assignmentLayout&&r.assignmentLayout!=="break-after-operator"&&(p.type==="AssignmentExpression"||p.type==="VariableDeclarator"||p.type==="ClassProperty"||p.type==="PropertyDefinition"||p.type==="ClassPrivateProperty"||p.type==="ObjectProperty"||p.type==="Property"),G=(p.type==="ReturnStatement"||p.type==="ThrowStatement")&&!(S||b),U=a&&k.type==="JSXExpressionContainer"&&e.grandparent.type!=="JSXAttribute",Oe=Uc(e),P=$c(u,p),V=s&&ut(e,t),ue=j?t.useTabs?" ":" ".repeat(t.tabWidth-1):"",st=Rc(c,d,D,t)||S||b,xe=!x&&!y&&!s&&(U?d.type==="NullLiteral"||d.type==="Literal"&&d.value===null:Vn(d,t)&&Er(u.test,3)),cr=x||g||s&&!y||y&&a&&Er(u.test,1)||xe,Dr=[];!S&&h(d,T.Dangling)&&e.call(me=>{Dr.push($(me,t),F)},"consequent");let xt=[];h(u.test,T.Dangling)&&e.call(me=>{xt.push($(me,t))},"test"),!b&&h(D,T.Dangling)&&e.call(me=>{xt.push($(me,t))},"alternate"),h(u,T.Dangling)&&xt.push($(e,t));let yr=Symbol("test"),Qa=Symbol("consequent"),Ot=Symbol("test-and-consequent"),Ya=a?[Cn(n("test")),u.test.type==="ConditionalExpression"?ve:""]:[n("checkType")," ","extends"," ",Re(u.extendsType)||u.extendsType.type==="TSMappedType"?n("extendsType"):m(Cn(n("extendsType")))],dr=m([Ya," ?"],{id:yr}),Za=n(o),Jt=A([S||U&&(K(d)||y||x)?F:C,Dr,Za]),es=cr?m([dr,x?Jt:w(Jt,m(Jt,{id:Qa}),{groupId:yr})],{id:Ot}):[dr,Jt],ln=n(i),mr=xe?w(ln,Du(Cn(ln)),{groupId:Ot}):ln,ht=[es,xt.length>0?[A([F,xt]),F]:b?F:xe?w(C," ",{groupId:Ot}):C,":",b?" ":j?cr?w(ue,w(x||xe?" ":ue," "),{groupId:Ot}):w(ue," "):" ",b?mr:m([A(mr),U&&!xe?E:""]),P&&!Oe?E:"",st?ve:""];return O&&!st?m(A([E,m(ht)])):O||G?m(A(ht)):Oe||s&&f?m([A([E,ht]),V?E:""]):p===k?m(ht):ht}function Gc(e,t,n,r){let{node:u}=e;if(Un(u))return Bc(e,t);let a=t.semi?";":"",s=[];switch(u.type){case"JsExpressionRoot":return n("node");case"JsonRoot":return[$(e,t),n("node"),F];case"File":return bc(e,t,n)??n("program");case"EmptyStatement":return"";case"ExpressionStatement":return Sc(e,t,n);case"ChainExpression":return n("expression");case"ParenthesizedExpression":return!h(u.expression)&&(Ae(u.expression)||Q(u.expression))?["(",n("expression"),")"]:m(["(",A([E,n("expression")]),E,")"]);case"AssignmentExpression":return gl(e,t,n);case"VariableDeclarator":return xl(e,t,n);case"BinaryExpression":case"LogicalExpression":return $u(e,t,n);case"AssignmentPattern":return[n("left")," = ",n("right")];case"OptionalMemberExpression":case"MemberExpression":return El(e,t,n);case"MetaProperty":return[n("meta"),".",n("property")];case"BindExpression":return u.object&&s.push(n("object")),s.push(m(A([E,ma(e,t,n)]))),s;case"Identifier":return[u.name,re(e),da(e),z(e,n)];case"V8IntrinsicIdentifier":return["%",u.name];case"SpreadElement":case"SpreadElementPattern":case"SpreadPropertyPattern":case"RestElement":return fa(e,n);case"FunctionDeclaration":case"FunctionExpression":return ga(e,t,n,r);case"ArrowFunctionExpression":return ac(e,t,n,r);case"YieldExpression":return s.push("yield"),u.delegate&&s.push("*"),u.argument&&s.push(" ",n("argument")),s;case"AwaitExpression":if(s.push("await"),u.argument){s.push(" ",n("argument"));let{parent:o}=e;if(L(o)&&o.callee===u||R(o)&&o.object===u){s=[A([E,...s]),E];let i=e.findAncestor(l=>l.type==="AwaitExpression"||l.type==="BlockStatement");if((i==null?void 0:i.type)!=="AwaitExpression"||!te(i.argument,l=>l===u))return m(s)}}return s;case"ExportDefaultDeclaration":case"ExportNamedDeclaration":case"ExportAllDeclaration":return Ja(e,t,n);case"ImportDeclaration":return Pc(e,t,n);case"ImportSpecifier":case"ExportSpecifier":case"ImportNamespaceSpecifier":case"ExportNamespaceSpecifier":case"ImportDefaultSpecifier":case"ExportDefaultSpecifier":return Lc(e,t,n);case"ImportAttribute":return An(e,t,n);case"Program":case"BlockStatement":case"StaticBlock":return Ta(e,t,n);case"ClassBody":return Ac(e,t,n);case"ThrowStatement":return nc(e,t,n);case"ReturnStatement":return tc(e,t,n);case"NewExpression":case"ImportExpression":case"OptionalCallExpression":case"CallExpression":return Hu(e,t,n);case"ObjectExpression":case"ObjectPattern":return pn(e,t,n);case"Property":return nn(u)?Mn(e,t,n):An(e,t,n);case"ObjectProperty":return An(e,t,n);case"ObjectMethod":return Mn(e,t,n);case"Decorator":return["@",n("expression")];case"ArrayExpression":case"ArrayPattern":return ar(e,t,n);case"SequenceExpression":{let{parent:o}=e;if(o.type==="ExpressionStatement"||o.type==="ForStatement"){let l=[];return e.each(({isFirst:d})=>{d?l.push(n()):l.push(",",A([C,n()]))},"expressions"),m(l)}let i=N([",",C],e.map(n,"expressions"));return(o.type==="ReturnStatement"||o.type==="ThrowStatement")&&e.key==="argument"||o.type==="ArrowFunctionExpression"&&e.key==="body"?m(w([A([E,i]),E],i)):m(i)}case"ThisExpression":return"this";case"Super":return"super";case"Directive":return[n("value"),a];case"UnaryExpression":return s.push(u.operator),/[a-z]$/u.test(u.operator)&&s.push(" "),h(u.argument)?s.push(m(["(",A([E,n("argument")]),E,")"])):s.push(n("argument")),s;case"UpdateExpression":return[u.prefix?u.operator:"",n("argument"),u.prefix?"":u.operator];case"ConditionalExpression":return lr(e,t,n,r);case"VariableDeclaration":{let o=e.map(n,"declarations"),i=e.parent,l=i.type==="ForStatement"||i.type==="ForInStatement"||i.type==="ForOfStatement",d=u.declarations.some(c=>c.init),D;return o.length===1&&!h(u.declarations[0])?D=o[0]:o.length>0&&(D=A(o[0])),s=[oe(e),u.kind,D?[" ",D]:"",A(o.slice(1).map(c=>[",",d&&!l?F:C,c]))],l&&i.body!==u||s.push(a),m(s)}case"WithStatement":return m(["with (",n("object"),")",qe(u.body,n("body"))]);case"IfStatement":{let o=qe(u.consequent,n("consequent")),i=m(["if (",m([A([E,n("test")]),E]),")",o]);if(s.push(i),u.alternate){let l=h(u.consequent,T.Trailing|T.Line)||su(u),d=u.consequent.type==="BlockStatement"&&!l;s.push(d?" ":F),h(u,T.Dangling)&&s.push($(e,t),l?F:" "),s.push("else",m(qe(u.alternate,n("alternate"),u.alternate.type==="IfStatement")))}return s}case"ForStatement":{let o=qe(u.body,n("body")),i=$(e,t),l=i?[i,E]:"";return!u.init&&!u.test&&!u.update?[l,m(["for (;;)",o])]:[l,m(["for (",m([A([E,n("init"),";",C,n("test"),";",C,n("update")]),E]),")",o])]}case"WhileStatement":return m(["while (",m([A([E,n("test")]),E]),")",qe(u.body,n("body"))]);case"ForInStatement":return m(["for (",n("left")," in ",n("right"),")",qe(u.body,n("body"))]);case"ForOfStatement":return m(["for",u.await?" await":""," (",n("left")," of ",n("right"),")",qe(u.body,n("body"))]);case"DoWhileStatement":{let o=qe(u.body,n("body"));return s=[m(["do",o])],u.body.type==="BlockStatement"?s.push(" "):s.push(F),s.push("while (",m([A([E,n("test")]),E]),")",a),s}case"DoExpression":return[u.async?"async ":"","do ",n("body")];case"BreakStatement":case"ContinueStatement":return s.push(u.type==="BreakStatement"?"break":"continue"),u.label&&s.push(" ",n("label")),s.push(a),s;case"LabeledStatement":return u.body.type==="EmptyStatement"?[n("label"),":;"]:[n("label"),": ",n("body")];case"TryStatement":return["try ",n("block"),u.handler?[" ",n("handler")]:"",u.finalizer?[" finally ",n("finalizer")]:""];case"CatchClause":if(u.param){let o=h(u.param,l=>!ye(l)||l.leading&&pe(t.originalText,I(l))||l.trailing&&pe(t.originalText,q(l),{backwards:!0})),i=n("param");return["catch ",o?["(",A([E,i]),E,") "]:["(",i,") "],n("body")]}return["catch ",n("body")];case"SwitchStatement":return[m(["switch (",A([E,n("discriminant")]),E,")"])," {",u.cases.length>0?A([F,N(F,e.map(({node:o,isLast:i})=>[n(),!i&&Ne(o,t)?F:""],"cases"))]):"",F,"}"];case"SwitchCase":{u.test?s.push("case ",n("test"),":"):s.push("default:"),h(u,T.Dangling)&&s.push(" ",$(e,t));let o=u.consequent.filter(i=>i.type!=="EmptyStatement");if(o.length>0){let i=On(e,t,n,"consequent");s.push(o.length===1&&o[0].type==="BlockStatement"?[" ",i]:A([F,i]))}return s}case"DebuggerStatement":return["debugger",a];case"ClassDeclaration":case"ClassExpression":return va(e,t,n);case"ClassMethod":case"ClassPrivateMethod":case"MethodDefinition":return wa(e,t,n);case"ClassProperty":case"PropertyDefinition":case"ClassPrivateProperty":case"ClassAccessorProperty":case"AccessorProperty":return Ia(e,t,n);case"TemplateElement":return He(u.value.raw);case"TemplateLiteral":return Iu(e,t,n);case"TaggedTemplateExpression":return Bi(e,t,n);case"PrivateIdentifier":return["#",u.name];case"PrivateName":return["#",n("id")];case"TopicReference":return"%";case"ArgumentPlaceholder":return"?";case"ModuleExpression":return["module ",n("body")];case"InterpreterDirective":default:throw new At(u,"ESTree")}}function Wa(e,t,n){let{parent:r,node:u,key:a}=e,s=[n("expression")];switch(u.type){case"AsConstExpression":s.push(" as const");break;case"AsExpression":case"TSAsExpression":s.push(" as ",n("typeAnnotation"));break;case"SatisfiesExpression":case"TSSatisfiesExpression":s.push(" satisfies ",n("typeAnnotation"));break}return a==="callee"&&L(r)||a==="object"&&R(r)?m([A([E,...s]),E]):s}function Vc(e,t,n){let{node:r}=e,u=[oe(e),"component"];r.id&&u.push(" ",n("id")),u.push(n("typeParameters"));let a=Kc(e,t,n);return r.rendersType?u.push(m([a," ",n("rendersType")])):u.push(m([a])),r.body&&u.push(" ",n("body")),t.semi&&r.type==="DeclareComponent"&&u.push(";"),u}function Kc(e,t,n){let{node:r}=e,u=r.params;if(r.rest&&(u=[...u,r.rest]),u.length===0)return["(",$(e,t,{filter:s=>ge(t.originalText,I(s))===")"}),")"];let a=[];return zc(e,(s,o)=>{let i=o===u.length-1;i&&r.rest&&a.push("..."),a.push(n()),!i&&(a.push(","),Ne(u[o],t)?a.push(F,F):a.push(C))}),["(",A([E,...a]),w(Ie(t,"all")&&!Hc(r,u)?",":""),E,")"]}function Hc(e,t){var n;return e.rest||((n=X(!1,t,-1))==null?void 0:n.type)==="RestElement"}function zc(e,t){let{node:n}=e,r=0,u=a=>t(a,r++);e.each(u,"params"),n.rest&&e.call(u,"rest")}function Qc(e,t,n){let{node:r}=e;return r.shorthand?n("local"):[n("name")," as ",n("local")]}function Yc(e,t,n){let{node:r}=e,u=[];return r.name&&u.push(n("name"),r.optional?"?: ":": "),u.push(n("typeAnnotation")),u}function Ua(e,t,n){return pn(e,t,n)}function Ga(e,t){let{node:n}=e,r=t("id");n.computed&&(r=["[",r,"]"]);let u="";return n.initializer&&(u=t("initializer")),n.init&&(u=t("init")),u?[r," = ",u]:r}function Va(e,t){let{node:n}=e;return[oe(e),n.const?"const ":"","enum ",t("id")," ",t("body")]}function Zc(e,t,n){let{node:r}=e,u=["hook"];r.id&&u.push(" ",n("id"));let a=at(e,t,n,!1,!0),s=on(e,n),o=gt(r,s);return u.push(m([o?m(a):a,s]),r.body?" ":"",n("body")),u}function eD(e,t,n){let{node:r}=e,u=[oe(e),"hook"];return r.id&&u.push(" ",n("id")),t.semi&&u.push(";"),u}function qr(e){var t;let{node:n}=e;return n.type==="HookTypeAnnotation"&&((t=e.getParentNode(2))==null?void 0:t.type)==="DeclareHook"}function tD(e,t,n){let{node:r}=e,u=[];u.push(qr(e)?"":"hook ");let a=at(e,t,n,!1,!0),s=[];return s.push(qr(e)?": ":" => ",n("returnType")),gt(r,s)&&(a=m(a)),u.push(a,s),m(u)}function Ka(e,t,n){let{node:r}=e,u=[oe(e),"interface"],a=[],s=[];r.type!=="InterfaceTypeAnnotation"&&a.push(" ",n("id"),n("typeParameters"));let o=r.typeParameters&&!h(r.typeParameters,T.Trailing|T.Line);return J(r.extends)&&s.push(o?w(" ",C,{groupId:or(r.typeParameters)}):C,"extends ",(r.extends.length===1?io:A)(N([",",C],e.map(n,"extends")))),h(r.id,T.Trailing)||J(r.extends)?o?u.push(m([...a,A(s)])):u.push(m(A([...a,...s]))):u.push(...a,...s),u.push(" ",n("body")),m(u)}function nD(e){switch(e){case null:return"";case"PlusOptional":return"+?";case"MinusOptional":return"-?";case"Optional":return"?"}}function rD(e,t,n){let{node:r}=e;return m([r.variance?n("variance"):"","[",A([n("keyTparam")," in ",n("sourceType")]),"]",nD(r.optional),": ",n("propType")])}function _r(e,t){return e==="+"||e==="-"?e+t:t}function uD(e,t,n){let{node:r}=e,u=!1;if(t.objectWrap==="preserve"){let a=q(r),s=ir(t,a+1,q(r.key)),o=a+1+s.search(/\S/u);ce(t.originalText,a,o)&&(u=!0)}return m(["{",A([t.bracketSpacing?C:E,h(r,T.Dangling)?m([$(e,t),F]):"",m([r.readonly?[_r(r.readonly,"readonly")," "]:"","[",n("key")," in ",n("constraint"),r.nameType?[" as ",n("nameType")]:"","]",r.optional?_r(r.optional,"?"):"",r.typeAnnotation?": ":"",n("typeAnnotation")]),t.semi?w(";"):""]),t.bracketSpacing?C:E,"}"],{shouldBreak:u})}function aD(e,t,n){let{node:r}=e;if(Qr(r))return r.type.slice(0,-14).toLowerCase();let u=t.semi?";":"";switch(r.type){case"ComponentDeclaration":case"DeclareComponent":case"ComponentTypeAnnotation":return Vc(e,t,n);case"ComponentParameter":return Qc(e,t,n);case"ComponentTypeParameter":return Yc(e,t,n);case"HookDeclaration":return Zc(e,t,n);case"DeclareHook":return eD(e,t,n);case"HookTypeAnnotation":return tD(e,t,n);case"DeclareClass":return va(e,t,n);case"DeclareFunction":return[oe(e),"function ",n("id"),n("predicate"),u];case"DeclareModule":return["declare module ",n("id")," ",n("body")];case"DeclareModuleExports":return["declare module.exports",z(e,n),u];case"DeclareNamespace":return["declare namespace ",n("id")," ",n("body")];case"DeclareVariable":return[oe(e),r.kind??"var"," ",n("id"),u];case"DeclareExportDeclaration":case"DeclareExportAllDeclaration":return Ja(e,t,n);case"DeclareOpaqueType":case"OpaqueType":return _l(e,t,n);case"DeclareTypeAlias":case"TypeAlias":return ta(e,t,n);case"IntersectionTypeAnnotation":return na(e,t,n);case"UnionTypeAnnotation":return ra(e,t,n);case"ConditionalTypeAnnotation":return lr(e,t,n);case"InferTypeAnnotation":return sa(e,t,n);case"FunctionTypeAnnotation":return ua(e,t,n);case"TupleTypeAnnotation":return ar(e,t,n);case"TupleTypeLabeledElement":return ia(e,t,n);case"TupleTypeSpreadElement":return oa(e,t,n);case"GenericTypeAnnotation":return[n("id"),vt(e,t,n,"typeParameters")];case"IndexedAccessType":case"OptionalIndexedAccessType":return aa(e,t,n);case"TypeAnnotation":return la(e,t,n);case"TypeParameter":return ba(e,t,n);case"TypeofTypeAnnotation":return Da(e,n);case"ExistsTypeAnnotation":return"*";case"ArrayTypeAnnotation":return ca(n);case"DeclareEnum":case"EnumDeclaration":return Va(e,n);case"EnumBooleanBody":case"EnumNumberBody":case"EnumBigIntBody":case"EnumStringBody":case"EnumSymbolBody":return[r.type==="EnumSymbolBody"||r.explicitType?`of ${r.type.slice(4,-4).toLowerCase()} `:"",Ua(e,t,n)];case"EnumBooleanMember":case"EnumNumberMember":case"EnumBigIntMember":case"EnumStringMember":case"EnumDefaultedMember":return Ga(e,n);case"FunctionTypeParam":{let a=r.name?n("name"):e.parent.this===r?"this":"";return[a,re(e),a?": ":"",n("typeAnnotation")]}case"DeclareInterface":case"InterfaceDeclaration":case"InterfaceTypeAnnotation":return Ka(e,t,n);case"ClassImplements":case"InterfaceExtends":return[n("id"),n("typeParameters")];case"NullableTypeAnnotation":return["?",n("typeAnnotation")];case"Variance":{let{kind:a}=r;return Rn.ok(a==="plus"||a==="minus"),a==="plus"?"+":"-"}case"KeyofTypeAnnotation":return["keyof ",n("argument")];case"ObjectTypeCallProperty":return[r.static?"static ":"",n("value")];case"ObjectTypeMappedTypeProperty":return rD(e,t,n);case"ObjectTypeIndexer":return[r.static?"static ":"",r.variance?n("variance"):"","[",n("id"),r.id?": ":"",n("key"),"]: ",n("value")];case"ObjectTypeProperty":{let a="";return r.proto?a="proto ":r.static&&(a="static "),[a,r.kind!=="init"?r.kind+" ":"",r.variance?n("variance"):"",Mt(e,t,n),re(e),nn(r)?"":": ",n("value")]}case"ObjectTypeAnnotation":return pn(e,t,n);case"ObjectTypeInternalSlot":return[r.static?"static ":"","[[",n("id"),"]]",re(e),r.method?"":": ",n("value")];case"ObjectTypeSpreadProperty":return fa(e,n);case"QualifiedTypeofIdentifier":case"QualifiedTypeIdentifier":return[n("qualification"),".",n("id")];case"NullLiteralTypeAnnotation":return"null";case"BooleanLiteralTypeAnnotation":return String(r.value);case"StringLiteralTypeAnnotation":return He(yt(se(r),t));case"NumberLiteralTypeAnnotation":return mt(se(r));case"BigIntLiteralTypeAnnotation":return Jn(se(r));case"TypeCastExpression":return["(",n("expression"),z(e,n),")"];case"TypePredicate":return ya(e,n);case"TypeOperator":return[r.operator," ",n("typeAnnotation")];case"TypeParameterDeclaration":case"TypeParameterInstantiation":return vt(e,t,n,"params");case"InferredPredicate":case"DeclaredPredicate":return[e.key==="predicate"&&e.parent.type!=="DeclareFunction"&&!e.parent.returnType?": ":" ","%checks",...r.type==="DeclaredPredicate"?["(",n("value"),")"]:[]];case"AsExpression":case"AsConstExpression":case"SatisfiesExpression":return Wa(e,t,n)}}function sD(e,t,n){var r;let{node:u}=e;if(!u.type.startsWith("TS"))return;if(Yr(u))return u.type.slice(2,-7).toLowerCase();let a=t.semi?";":"",s=[];switch(u.type){case"TSThisType":return"this";case"TSTypeAssertion":{let o=!(Q(u.expression)||Ae(u.expression)),i=m(["<",A([E,n("typeAnnotation")]),E,">"]),l=[w("("),A([E,n("expression")]),E,w(")")];return o?Ve([[i,n("expression")],[i,m(l,{shouldBreak:!0})],[i,n("expression")]]):m([i,n("expression")])}case"TSDeclareFunction":return ga(e,t,n);case"TSExportAssignment":return["export = ",n("expression"),a];case"TSModuleBlock":return Ta(e,t,n);case"TSInterfaceBody":case"TSTypeLiteral":return pn(e,t,n);case"TSTypeAliasDeclaration":return ta(e,t,n);case"TSQualifiedName":return[n("left"),".",n("right")];case"TSAbstractMethodDefinition":case"TSDeclareMethod":return wa(e,t,n);case"TSAbstractAccessorProperty":case"TSAbstractPropertyDefinition":return Ia(e,t,n);case"TSInterfaceHeritage":case"TSClassImplements":case"TSExpressionWithTypeArguments":case"TSInstantiationExpression":return[n("expression"),n(u.typeArguments?"typeArguments":"typeParameters")];case"TSTemplateLiteralType":return Iu(e,t,n);case"TSNamedTupleMember":return ia(e,t,n);case"TSRestType":return oa(e,t,n);case"TSOptionalType":return[n("typeAnnotation"),"?"];case"TSInterfaceDeclaration":return Ka(e,t,n);case"TSTypeParameterDeclaration":case"TSTypeParameterInstantiation":return vt(e,t,n,"params");case"TSTypeParameter":return ba(e,t,n);case"TSAsExpression":case"TSSatisfiesExpression":return Wa(e,t,n);case"TSArrayType":return ca(n);case"TSPropertySignature":return[u.readonly?"readonly ":"",Mt(e,t,n),re(e),z(e,n)];case"TSParameterProperty":return[Zt(u),u.static?"static ":"",u.override?"override ":"",u.readonly?"readonly ":"",n("parameter")];case"TSTypeQuery":return Da(e,n);case"TSIndexSignature":{let o=u.parameters.length>1?w(Ie(t)?",":""):"",i=m([A([E,N([", ",E],e.map(n,"parameters"))]),o,E]),l=e.parent.type==="ClassBody"&&e.key==="body";return[l&&u.static?"static ":"",u.readonly?"readonly ":"","[",u.parameters?i:"","]",z(e,n),l?a:""]}case"TSTypePredicate":return ya(e,n);case"TSNonNullExpression":return[n("expression"),"!"];case"TSImportType":return["import",Yt(e,t,n),u.qualifier?[".",n("qualifier")]:"",vt(e,t,n,u.typeArguments?"typeArguments":"typeParameters")];case"TSLiteralType":return n("literal");case"TSIndexedAccessType":return aa(e,t,n);case"TSTypeOperator":return[u.operator," ",n("typeAnnotation")];case"TSMappedType":return uD(e,t,n);case"TSMethodSignature":{let o=u.kind&&u.kind!=="method"?`${u.kind} `:"";s.push(Zt(u),o,u.computed?"[":"",n("key"),u.computed?"]":"",re(e));let i=at(e,t,n,!1,!0),l=u.returnType?"returnType":"typeAnnotation",d=u[l],D=d?z(e,n,l):"",c=gt(u,D);return s.push(c?m(i):i),d&&s.push(m(D)),m(s)}case"TSNamespaceExportDeclaration":return["export as namespace ",n("id"),t.semi?";":""];case"TSEnumDeclaration":return Va(e,n);case"TSEnumBody":return Ua(e,t,n);case"TSEnumMember":return Ga(e,n);case"TSImportEqualsDeclaration":return[u.isExport?"export ":"","import ",qa(u,!1),n("id")," = ",n("moduleReference"),t.semi?";":""];case"TSExternalModuleReference":return["require(",n("expression"),")"];case"TSModuleDeclaration":{let{parent:o}=e,i=o.type==="TSModuleDeclaration",l=((r=u.body)==null?void 0:r.type)==="TSModuleDeclaration";return i?s.push("."):(s.push(oe(e)),u.kind!=="global"&&s.push(u.kind," ")),s.push(n("id")),l?s.push(n("body")):u.body?s.push(" ",m(n("body"))):s.push(a),s}case"TSConditionalType":return lr(e,t,n);case"TSInferType":return sa(e,t,n);case"TSIntersectionType":return na(e,t,n);case"TSUnionType":return ra(e,t,n);case"TSFunctionType":case"TSCallSignatureDeclaration":case"TSConstructorType":case"TSConstructSignatureDeclaration":return ua(e,t,n);case"TSTupleType":return ar(e,t,n);case"TSTypeReference":return[n("typeName"),vt(e,t,n,u.typeArguments?"typeArguments":"typeParameters")];case"TSTypeAnnotation":return la(e,t,n);case"TSEmptyBodyFunctionExpression":return sr(e,t,n);case"TSJSDocAllType":return"*";case"TSJSDocUnknownType":return"?";case"TSJSDocNullableType":return Lr(e,n,"?");case"TSJSDocNonNullableType":return Lr(e,n,"!");case"TSParenthesizedType":default:throw new At(u,"TypeScript")}}function oD(e,t,n,r){if(Xu(e))return gp(e,t);for(let u of[ul,Qp,aD,sD,Gc]){let a=u(e,t,n,r);if(a!==void 0)return a}}var iD=_(["ClassMethod","ClassPrivateMethod","ClassProperty","ClassAccessorProperty","AccessorProperty","TSAbstractAccessorProperty","PropertyDefinition","TSAbstractPropertyDefinition","ClassPrivateProperty","MethodDefinition","TSAbstractMethodDefinition","TSDeclareMethod"]);function pD(e,t,n,r){var u;e.isRoot&&((u=t.__onHtmlBindingRoot)==null||u.call(t,e.node,t));let a=oD(e,t,n,r);if(!a)return"";let{node:s}=e;if(iD(s))return a;let o=J(s.decorators),i=pl(e,t,n),l=s.type==="ClassExpression";if(o&&!l)return Bn(a,c=>m([i,c]));let d=ut(e,t),D=Tc(e,t);return!i&&!d&&!D?a:Bn(a,c=>[D?";":"",d?"(":"",d&&l&&o?[A([C,i,c]),C]:[i,c],d?")":""])}var lD=pD,cD={avoidAstMutation:!0},DD=[{name:"JSON.stringify",type:"data",extensions:[".importmap"],tmScope:"source.json",aceMode:"json",aliases:["geojson","jsonl","sarif","topojson"],codemirrorMode:"javascript",codemirrorMimeType:"application/json",filenames:["package.json","package-lock.json","composer.json"],parsers:["json-stringify"],vscodeLanguageIds:["json"],linguistLanguageId:174},{name:"JSON",type:"data",extensions:[".json",".4DForm",".4DProject",".avsc",".geojson",".gltf",".har",".ice",".JSON-tmLanguage",".json.example",".mcmeta",".sarif",".tact",".tfstate",".tfstate.backup",".topojson",".webapp",".webmanifest",".yy",".yyp"],tmScope:"source.json",aceMode:"json",aliases:["geojson","jsonl","sarif","topojson"],codemirrorMode:"javascript",codemirrorMimeType:"application/json",filenames:[".all-contributorsrc",".arcconfig",".auto-changelog",".c8rc",".htmlhintrc",".imgbotconfig",".nycrc",".tern-config",".tern-project",".watchmanconfig",".babelrc",".jscsrc",".jshintrc",".jslintrc",".swcrc"],parsers:["json"],vscodeLanguageIds:["json"],linguistLanguageId:174},{name:"JSON with Comments",type:"data",extensions:[".jsonc",".code-snippets",".code-workspace",".sublime-build",".sublime-color-scheme",".sublime-commands",".sublime-completions",".sublime-keymap",".sublime-macro",".sublime-menu",".sublime-mousemap",".sublime-project",".sublime-settings",".sublime-theme",".sublime-workspace",".sublime_metrics",".sublime_session"],tmScope:"source.json.comments",aceMode:"javascript",aliases:["jsonc"],codemirrorMode:"javascript",codemirrorMimeType:"text/javascript",group:"JSON",filenames:[],parsers:["jsonc"],vscodeLanguageIds:["jsonc"],linguistLanguageId:423},{name:"JSON5",type:"data",extensions:[".json5"],tmScope:"source.js",aceMode:"javascript",codemirrorMode:"javascript",codemirrorMimeType:"application/json",parsers:["json5"],vscodeLanguageIds:["json5"],linguistLanguageId:175}],Ha={};en(Ha,{getVisitorKeys:()=>fD,massageAstNode:()=>za,print:()=>ED});var yD={JsonRoot:["node"],ArrayExpression:["elements"],ObjectExpression:["properties"],ObjectProperty:["key","value"],UnaryExpression:["argument"],NullLiteral:[],BooleanLiteral:[],StringLiteral:[],NumericLiteral:[],Identifier:[],TemplateLiteral:["quasis"],TemplateElement:[]},dD=yD,mD=Hr(dD),fD=mD;function ED(e,t,n){let{node:r}=e;switch(r.type){case"JsonRoot":return[n("node"),F];case"ArrayExpression":{if(r.elements.length===0)return"[]";let u=e.map(()=>e.node===null?"null":n(),"elements");return["[",A([F,N([",",F],u)]),F,"]"]}case"ObjectExpression":return r.properties.length===0?"{}":["{",A([F,N([",",F],e.map(n,"properties"))]),F,"}"];case"ObjectProperty":return[n("key"),": ",n("value")];case"UnaryExpression":return[r.operator==="+"?"":r.operator,n("argument")];case"NullLiteral":return"null";case"BooleanLiteral":return r.value?"true":"false";case"StringLiteral":return JSON.stringify(r.value);case"NumericLiteral":return Xr(e)?JSON.stringify(String(r.value)):JSON.stringify(r.value);case"Identifier":return Xr(e)?JSON.stringify(r.name):r.name;case"TemplateLiteral":return n(["quasis",0]);case"TemplateElement":return JSON.stringify(r.value.cooked);default:throw new At(r,"JSON")}}function Xr(e){return e.key==="key"&&e.parent.type==="ObjectProperty"}var FD=new Set(["start","end","extra","loc","comments","leadingComments","trailingComments","innerComments","errors","range","tokens"]);function za(e,t){let{type:n}=e;if(n==="ObjectProperty"){let{key:r}=e;r.type==="Identifier"?t.key={type:"StringLiteral",value:r.name}:r.type==="NumericLiteral"&&(t.key={type:"StringLiteral",value:String(r.value)});return}if(n==="UnaryExpression"&&e.operator==="+")return t.argument;if(n==="ArrayExpression"){for(let[r,u]of e.elements.entries())u===null&&t.elements.splice(r,0,{type:"NullLiteral"});return}if(n==="TemplateLiteral")return{type:"StringLiteral",value:e.quasis[0].value.cooked}}za.ignoredProperties=FD;var Tt={bracketSpacing:{category:"Common",type:"boolean",default:!0,description:"Print spaces between brackets.",oppositeDescription:"Do not print spaces between brackets."},objectWrap:{category:"Common",type:"choice",default:"preserve",description:"How to wrap object literals.",choices:[{value:"preserve",description:"Keep as multi-line, if there is a newline between the opening brace and first property."},{value:"collapse",description:"Fit to a single line when possible."}]},singleQuote:{category:"Common",type:"boolean",default:!1,description:"Use single quotes instead of double quotes."},bracketSameLine:{category:"Common",type:"boolean",default:!1,description:"Put > of opening tags on the last line instead of on a new line."},singleAttributePerLine:{category:"Common",type:"boolean",default:!1,description:"Enforce single attribute per line in HTML, Vue and JSX."}},_e="JavaScript",AD={arrowParens:{category:_e,type:"choice",default:"always",description:"Include parentheses around a sole arrow function parameter.",choices:[{value:"always",description:"Always include parens. Example: `(x) => x`"},{value:"avoid",description:"Omit parens when possible. Example: `x => x`"}]},bracketSameLine:Tt.bracketSameLine,objectWrap:Tt.objectWrap,bracketSpacing:Tt.bracketSpacing,jsxBracketSameLine:{category:_e,type:"boolean",description:"Put > on the last line instead of at a new line.",deprecated:"2.4.0"},semi:{category:_e,type:"boolean",default:!0,description:"Print semicolons.",oppositeDescription:"Do not print semicolons, except at the beginning of lines which may need them."},experimentalOperatorPosition:{category:_e,type:"choice",default:"end",description:"Where to print operators when binary expressions wrap lines.",choices:[{value:"start",description:"Print operators at the start of new lines."},{value:"end",description:"Print operators at the end of previous lines."}]},experimentalTernaries:{category:_e,type:"boolean",default:!1,description:"Use curious ternaries, with the question mark after the condition.",oppositeDescription:"Default behavior of ternaries; keep question marks on the same line as the consequent."},singleQuote:Tt.singleQuote,jsxSingleQuote:{category:_e,type:"boolean",default:!1,description:"Use single quotes in JSX."},quoteProps:{category:_e,type:"choice",default:"as-needed",description:"Change when properties in objects are quoted.",choices:[{value:"as-needed",description:"Only add quotes around object properties where required."},{value:"consistent",description:"If at least one property in an object requires quotes, quote all properties."},{value:"preserve",description:"Respect the input use of quotes in object properties."}]},trailingComma:{category:_e,type:"choice",default:"all",description:"Print trailing commas wherever possible when multi-line.",choices:[{value:"all",description:"Trailing commas wherever possible (including function arguments)."},{value:"es5",description:"Trailing commas where valid in ES5 (objects, arrays, etc.)"},{value:"none",description:"No trailing commas."}]},singleAttributePerLine:Tt.singleAttributePerLine},gD=AD,xD={estree:Ur,"estree-json":Ha},hD=[...ss,...DD],TD=Wr;export{TD as default,hD as languages,gD as options,xD as printers}; diff --git a/packages/app/assets/graphiql/extensions/graphiql/assets/graphql-Cg7bfA9N.js b/packages/app/assets/graphiql/extensions/graphiql/assets/graphql-Cg7bfA9N.js new file mode 100644 index 00000000000..a6a4e77adac --- /dev/null +++ b/packages/app/assets/graphiql/extensions/graphiql/assets/graphql-Cg7bfA9N.js @@ -0,0 +1,6 @@ +/*!----------------------------------------------------------------------------- + * Copyright (c) Microsoft Corporation. All rights reserved. + * Version: 0.52.2(404545bded1df6ffa41ea0af4e8ddb219018c6c1) + * Released under the MIT license + * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt + *-----------------------------------------------------------------------------*/var e={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}},n={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"]]}};export{e as conf,n as language}; diff --git a/packages/app/assets/graphiql/extensions/graphiql/assets/graphql-DdCuI2lM.js b/packages/app/assets/graphiql/extensions/graphiql/assets/graphql-DdCuI2lM.js new file mode 100644 index 00000000000..5ccabe8f96f --- /dev/null +++ b/packages/app/assets/graphiql/extensions/graphiql/assets/graphql-DdCuI2lM.js @@ -0,0 +1,29 @@ +var cn=Object.defineProperty;var un=(x,A,v)=>A in x?cn(x,A,{enumerable:!0,configurable:!0,writable:!0,value:v}):x[A]=v;var xe=(x,A,v)=>un(x,typeof A!="symbol"?A+"":A,v);import{g as pn}from"./index-DurqXJRt.js";function hn(x,A){for(var v=0;vk[g]})}}}return Object.freeze(Object.defineProperty(x,Symbol.toStringTag,{value:"Module"}))}var Z={exports:{}},Ae;function dn(){return Ae||(Ae=1,(function(x,A){(function(v){function k(){var g=v();return g.default||g}x.exports=k()})(function(){var v=Object.defineProperty,k=Object.getOwnPropertyDescriptor,g=Object.getOwnPropertyNames,U=Object.prototype.hasOwnProperty,ee=(e,t)=>{for(var n in t)v(e,n,{get:t[n],enumerable:!0})},_e=(e,t,n,r)=>{if(t&&typeof t=="object"||typeof t=="function")for(let i of g(t))!U.call(e,i)&&i!==n&&v(e,i,{get:()=>t[i],enumerable:!(r=k(t,i))||r.enumerable});return e},ke=e=>_e(v({},"__esModule",{value:!0}),e),te={};ee(te,{languages:()=>vt,options:()=>Ot,parsers:()=>pe,printers:()=>ln});var Se=(e,t,n,r)=>{if(!(e&&t==null))return t.replaceAll?t.replaceAll(n,r):n.global?t.replace(n,r):t.split(n).join(r)},Y=Se,Ce="indent",be="group",Le="if-break",q="line",Re="break-parent",Fe=()=>{},we=Fe;function I(e){return{type:Ce,contents:e}}function O(e,t={}){return we(t.expandedStates),{type:be,id:t.id,contents:e,break:!!t.shouldBreak,expandedStates:t.expandedStates}}function D(e,t="",n={}){return{type:Le,breakContents:e,flatContents:t,groupId:n.groupId}}var Pe={type:Re},Ue={type:q,hard:!0},L={type:q},u={type:q,soft:!0},h=[Ue,Pe];function E(e,t){let n=[];for(let r=0;r{let i=!!(r!=null&&r.backwards);if(n===!1)return!1;let{length:s}=t,o=n;for(;o>=0&&o0}var re=Xe,ze=class extends Error{constructor(t,n,r="type"){super(`Unexpected ${n} node ${r}: ${JSON.stringify(t[r])}.`);xe(this,"name","UnexpectedNodeError");this.node=t}},He=ze,V=null;function M(e){if(V!==null&&typeof V.property){let t=V;return V=M.prototype=null,t}return V=M.prototype=e??Object.create(null),new M}var We=10;for(let e=0;e<=We;e++)M();function Ze(e){return M(e)}function et(e,t="type"){Ze(e);function n(r){let i=r[t],s=e[i];if(!Array.isArray(s))throw Object.assign(new Error(`Missing visitor keys for '${i}'.`),{node:r});return s}return n}var tt=et,nt=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}}},se=class{constructor(e,t,n,r,i,s){this.kind=e,this.start=t,this.end=n,this.line=r,this.column=i,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}}},ae={Name:[],Document:["definitions"],OperationDefinition:["name","variableDefinitions","directives","selectionSet"],VariableDefinition:["variable","type","defaultValue","directives"],Variable:["name"],SelectionSet:["selections"],Field:["alias","name","arguments","directives","selectionSet"],Argument:["name","value"],FragmentSpread:["name","directives"],InlineFragment:["typeCondition","directives","selectionSet"],FragmentDefinition:["name","variableDefinitions","typeCondition","directives","selectionSet"],IntValue:[],FloatValue:[],StringValue:[],BooleanValue:[],NullValue:[],EnumValue:[],ListValue:["values"],ObjectValue:["fields"],ObjectField:["name","value"],Directive:["name","arguments"],NamedType:["name"],ListType:["type"],NonNullType:["type"],SchemaDefinition:["description","directives","operationTypes"],OperationTypeDefinition:["type"],ScalarTypeDefinition:["description","name","directives"],ObjectTypeDefinition:["description","name","interfaces","directives","fields"],FieldDefinition:["description","name","arguments","type","directives"],InputValueDefinition:["description","name","type","defaultValue","directives"],InterfaceTypeDefinition:["description","name","interfaces","directives","fields"],UnionTypeDefinition:["description","name","directives","types"],EnumTypeDefinition:["description","name","directives","values"],EnumValueDefinition:["description","name","directives"],InputObjectTypeDefinition:["description","name","directives","fields"],DirectiveDefinition:["description","name","arguments","locations"],SchemaExtension:["directives","operationTypes"],ScalarTypeExtension:["name","directives"],ObjectTypeExtension:["name","interfaces","directives","fields"],InterfaceTypeExtension:["name","interfaces","directives","fields"],UnionTypeExtension:["name","directives","types"],EnumTypeExtension:["name","directives","values"],InputObjectTypeExtension:["name","directives","fields"]};new Set(Object.keys(ae));var R;(function(e){e.QUERY="query",e.MUTATION="mutation",e.SUBSCRIPTION="subscription"})(R||(R={}));var it=tt(ae,"kind"),rt=it;function oe(e){return e.loc.start}function le(e){return e.loc.end}var st="format",at=/^\s*#[^\S\n]*@(?:noformat|noprettier)\s*(?:\n|$)/u,ot=/^\s*#[^\S\n]*@(?:format|prettier)\s*(?:\n|$)/u;function lt(e){return ot.test(e)}function ct(e){return at.test(e)}function ut(e){return`# @${st} + +${e}`}function pt(e,t,n){let{node:r}=e;if(!r.description)return"";let i=[n("description")];return r.kind==="InputValueDefinition"&&!r.description.block?i.push(L):i.push(h),i}var S=pt;function ht(e,t,n){let{node:r}=e;switch(r.kind){case"Document":return[...E(h,_(e,t,n,"definitions")),h];case"OperationDefinition":{let i=t.originalText[oe(r)]!=="{",s=!!r.name;return[i?r.operation:"",i&&s?[" ",n("name")]:"",i&&!s&&re(r.variableDefinitions)?" ":"",ce(e,n),T(e,n,r),!i&&!s?"":" ",n("selectionSet")]}case"FragmentDefinition":return["fragment ",n("name"),ce(e,n)," on ",n("typeCondition"),T(e,n,r)," ",n("selectionSet")];case"SelectionSet":return["{",I([h,E(h,_(e,t,n,"selections"))]),h,"}"];case"Field":return O([r.alias?[n("alias"),": "]:"",n("name"),r.arguments.length>0?O(["(",I([u,E([D("",", "),u],_(e,t,n,"arguments"))]),u,")"]):"",T(e,n,r),r.selectionSet?" ":"",n("selectionSet")]);case"Name":return r.value;case"StringValue":if(r.block){let i=Y(!1,r.value,'"""',String.raw`\"""`).split(` +`);return i.length===1&&(i[0]=i[0].trim()),i.every(s=>s==="")&&(i.length=0),E(h,['"""',...i,'"""'])}return['"',Y(!1,Y(!1,r.value,/["\\]/gu,String.raw`\$&`),` +`,String.raw`\n`),'"'];case"IntValue":case"FloatValue":case"EnumValue":return r.value;case"BooleanValue":return r.value?"true":"false";case"NullValue":return"null";case"Variable":return["$",n("name")];case"ListValue":return O(["[",I([u,E([D("",", "),u],e.map(n,"values"))]),u,"]"]);case"ObjectValue":{let i=t.bracketSpacing&&r.fields.length>0?" ":"";return O(["{",i,I([u,E([D("",", "),u],e.map(n,"fields"))]),u,D("",i),"}"])}case"ObjectField":case"Argument":return[n("name"),": ",n("value")];case"Directive":return["@",n("name"),r.arguments.length>0?O(["(",I([u,E([D("",", "),u],_(e,t,n,"arguments"))]),u,")"]):""];case"NamedType":return n("name");case"VariableDefinition":return[n("variable"),": ",n("type"),r.defaultValue?[" = ",n("defaultValue")]:"",T(e,n,r)];case"ObjectTypeExtension":case"ObjectTypeDefinition":case"InputObjectTypeExtension":case"InputObjectTypeDefinition":case"InterfaceTypeExtension":case"InterfaceTypeDefinition":{let{kind:i}=r,s=[];return i.endsWith("TypeDefinition")?s.push(S(e,t,n)):s.push("extend "),i.startsWith("ObjectType")?s.push("type"):i.startsWith("InputObjectType")?s.push("input"):s.push("interface"),s.push(" ",n("name")),!i.startsWith("InputObjectType")&&r.interfaces.length>0&&s.push(" implements ",...Et(e,t,n)),s.push(T(e,n,r)),r.fields.length>0&&s.push([" {",I([h,E(h,_(e,t,n,"fields"))]),h,"}"]),s}case"FieldDefinition":return[S(e,t,n),n("name"),r.arguments.length>0?O(["(",I([u,E([D("",", "),u],_(e,t,n,"arguments"))]),u,")"]):"",": ",n("type"),T(e,n,r)];case"DirectiveDefinition":return[S(e,t,n),"directive ","@",n("name"),r.arguments.length>0?O(["(",I([u,E([D("",", "),u],_(e,t,n,"arguments"))]),u,")"]):"",r.repeatable?" repeatable":""," on ",...E(" | ",e.map(n,"locations"))];case"EnumTypeExtension":case"EnumTypeDefinition":return[S(e,t,n),r.kind==="EnumTypeExtension"?"extend ":"","enum ",n("name"),T(e,n,r),r.values.length>0?[" {",I([h,E(h,_(e,t,n,"values"))]),h,"}"]:""];case"EnumValueDefinition":return[S(e,t,n),n("name"),T(e,n,r)];case"InputValueDefinition":return[S(e,t,n),n("name"),": ",n("type"),r.defaultValue?[" = ",n("defaultValue")]:"",T(e,n,r)];case"SchemaExtension":return["extend schema",T(e,n,r),...r.operationTypes.length>0?[" {",I([h,E(h,_(e,t,n,"operationTypes"))]),h,"}"]:[]];case"SchemaDefinition":return[S(e,t,n),"schema",T(e,n,r)," {",r.operationTypes.length>0?I([h,E(h,_(e,t,n,"operationTypes"))]):"",h,"}"];case"OperationTypeDefinition":return[r.operation,": ",n("type")];case"FragmentSpread":return["...",n("name"),T(e,n,r)];case"InlineFragment":return["...",r.typeCondition?[" on ",n("typeCondition")]:"",T(e,n,r)," ",n("selectionSet")];case"UnionTypeExtension":case"UnionTypeDefinition":return O([S(e,t,n),O([r.kind==="UnionTypeExtension"?"extend ":"","union ",n("name"),T(e,n,r),r.types.length>0?[" =",D(""," "),I([D([L,"| "]),E([L,"| "],e.map(n,"types"))])]:""])]);case"ScalarTypeExtension":case"ScalarTypeDefinition":return[S(e,t,n),r.kind==="ScalarTypeExtension"?"extend ":"","scalar ",n("name"),T(e,n,r)];case"NonNullType":return[n("type"),"!"];case"ListType":return["[",n("type"),"]"];default:throw new He(r,"Graphql","kind")}}function T(e,t,n){if(n.directives.length===0)return"";let r=E(L,e.map(t,"directives"));return n.kind==="FragmentDefinition"||n.kind==="OperationDefinition"?O([L,r]):[" ",O(I([u,r]))]}function _(e,t,n,r){return e.map(({isLast:i,node:s})=>{let o=n();return!i&&Qe(t.originalText,le(s))?[o,h]:o},r)}function dt(e){return e.kind!=="Comment"}function ft(e){let t=e.node;if(t.kind==="Comment")return"#"+t.value.trimEnd();throw new Error("Not a comment: "+JSON.stringify(t))}function Et(e,t,n){let{node:r}=e,i=[],{interfaces:s}=r,o=e.map(n,"interfaces");for(let c=0;cr.value.trim()==="prettier-ignore")}var Tt={print:ht,massageAstNode:ue,hasPrettierIgnore:mt,insertPragma:ut,printComment:ft,canAttachComment:dt,getVisitorKeys:rt},Nt=Tt,vt=[{name:"GraphQL",type:"data",extensions:[".graphql",".gql",".graphqls"],tmScope:"source.graphql",aceMode:"text",parsers:["graphql"],vscodeLanguageIds:["graphql"],linguistLanguageId:139}],It={bracketSpacing:{category:"Common",type:"boolean",default:!0,description:"Print spaces between brackets.",oppositeDescription:"Do not print spaces between brackets."}},yt={bracketSpacing:It.bracketSpacing},Ot=yt,pe={};ee(pe,{graphql:()=>on});function xt(e){return typeof e=="object"&&e!==null}function At(e,t){throw new Error("Unexpected invariant triggered.")}var gt=/\r\n|[\n\r]/g;function Q(e,t){let n=0,r=1;for(let i of e.body.matchAll(gt)){if(typeof i.index=="number"||At(),i.index>=t)break;n=i.index+i[0].length,r+=1}return{line:r,column:t+1-n}}function Dt(e){return he(e.source,Q(e.source,e.start))}function he(e,t){let n=e.locationOffset.column-1,r="".padStart(n)+e.body,i=t.line-1,s=e.locationOffset.line-1,o=t.line+s,c=t.line===1?n:0,p=t.column+c,y=`${e.name}:${o}:${p} +`,m=r.split(/\r\n|[\n\r]/g),w=m[i];if(w.length>120){let C=Math.floor(p/80),W=p%80,N=[];for(let P=0;P["|",P]),["|","^".padStart(W)],["|",N[C+1]]])}return y+de([[`${o-1} |`,m[i-1]],[`${o} |`,w],["|","^".padStart(p)],[`${o+1} |`,m[i+1]]])}function de(e){let t=e.filter(([r,i])=>i!==void 0),n=Math.max(...t.map(([r])=>r.length));return t.map(([r,i])=>r.padStart(n)+(i?" "+i:"")).join(` +`)}function _t(e){let t=e[0];return t==null||"kind"in t||"length"in t?{nodes:t,source:e[1],positions:e[2],path:e[3],originalError:e[4],extensions:e[5]}:t}var kt=class ge extends Error{constructor(t,...n){var r,i,s;let{nodes:o,source:c,positions:p,path:y,originalError:m,extensions:w}=_t(n);super(t),this.name="GraphQLError",this.path=y??void 0,this.originalError=m??void 0,this.nodes=fe(Array.isArray(o)?o:o?[o]:void 0);let C=fe((r=this.nodes)===null||r===void 0?void 0:r.map(N=>N.loc).filter(N=>N!=null));this.source=c??(C==null||(i=C[0])===null||i===void 0?void 0:i.source),this.positions=p??(C==null?void 0:C.map(N=>N.start)),this.locations=p&&c?p.map(N=>Q(c,N)):C==null?void 0:C.map(N=>Q(N.source,N.start));let W=xt(m==null?void 0:m.extensions)?m==null?void 0:m.extensions:void 0;this.extensions=(s=w??W)!==null&&s!==void 0?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}}),m!=null&&m.stack?Object.defineProperty(this,"stack",{value:m.stack,writable:!0,configurable:!0}):Error.captureStackTrace?Error.captureStackTrace(this,ge):Object.defineProperty(this,"stack",{value:Error().stack,writable:!0,configurable:!0})}get[Symbol.toStringTag](){return"GraphQLError"}toString(){let t=this.message;if(this.nodes)for(let n of this.nodes)n.loc&&(t+=` + +`+Dt(n.loc));else if(this.source&&this.locations)for(let n of this.locations)t+=` + +`+he(this.source,n);return t}toJSON(){let t={message:this.message};return this.locations!=null&&(t.locations=this.locations),this.path!=null&&(t.path=this.path),this.extensions!=null&&Object.keys(this.extensions).length>0&&(t.extensions=this.extensions),t}};function fe(e){return e===void 0||e.length===0?void 0:e}function f(e,t,n){return new kt(`Syntax Error: ${n}`,{source:e,positions:[t]})}var X;(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"})(X||(X={}));var l;(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"})(l||(l={}));function St(e){return e===9||e===32}function B(e){return e>=48&&e<=57}function Ee(e){return e>=97&&e<=122||e>=65&&e<=90}function me(e){return Ee(e)||e===95}function Ct(e){return Ee(e)||B(e)||e===95}function bt(e){var t;let n=Number.MAX_SAFE_INTEGER,r=null,i=-1;for(let o=0;oc===0?o:o.slice(n)).slice((t=r)!==null&&t!==void 0?t:0,i+1)}function Lt(e){let t=0;for(;t=0&&e<=55295||e>=57344&&e<=1114111}function $(e,t){return Te(e.charCodeAt(t))&&Ne(e.charCodeAt(t+1))}function Te(e){return e>=55296&&e<=56319}function Ne(e){return e>=56320&&e<=57343}function b(e,t){let n=e.source.body.codePointAt(t);if(n===void 0)return a.EOF;if(n>=32&&n<=126){let r=String.fromCodePoint(n);return r==='"'?`'"'`:`"${r}"`}return"U+"+n.toString(16).toUpperCase().padStart(4,"0")}function d(e,t,n,r,i){let s=e.line,o=1+n-e.lineStart;return new se(t,n,r,s,o,i)}function wt(e,t){let n=e.source.body,r=n.length,i=t;for(;i=48&&e<=57?e-48:e>=65&&e<=70?e-55:e>=97&&e<=102?e-87:-1}function jt(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:` +`,size:2};case 114:return{value:"\r",size:2};case 116:return{value:" ",size:2}}throw f(e.source,t,`Invalid character escape sequence: "${n.slice(t,t+2)}".`)}function $t(e,t){let n=e.source.body,r=n.length,i=e.lineStart,s=t+3,o=s,c="",p=[];for(;s2?"["+Qt(e)+"]":"{ "+n.map(([r,i])=>r+": "+K(i,t)).join(", ")+" }"}function Jt(e,t){if(e.length===0)return"[]";if(t.length>2)return"[Array]";let n=Math.min(10,e.length),r=e.length-n,i=[];for(let s=0;s1&&i.push(`... ${r} more items`),"["+i.join(", ")+"]"}function Qt(e){let t=Object.prototype.toString.call(e).replace(/^\[object /,"").replace(/]$/,"");if(t==="Object"&&typeof e.constructor=="function"){let n=e.constructor.name;if(typeof n=="string"&&n!=="")return n}return t}var Xt=globalThis.process&&!0,zt=Xt?function(e,t){return e instanceof t}:function(e,t){if(e instanceof t)return!0;if(typeof e=="object"&&e!==null){var n;let r=t.prototype[Symbol.toStringTag],i=Symbol.toStringTag in e?e[Symbol.toStringTag]:(n=e.constructor)===null||n===void 0?void 0:n.name;if(r===i){let s=Ie(e);throw new Error(`Cannot use ${r} "${s}" from another module or realm. + +Ensure that there is only one instance of "graphql" in the node_modules +directory. If different versions of "graphql" are the dependencies of other +relied on modules, use "resolutions" to ensure only one version is installed. + +https://yarnpkg.com/en/docs/selective-version-resolutions + +Duplicate "graphql" modules cannot be used at the same time since different +versions may have different capabilities and behavior. The data from one +version used in the function from another could produce confusing and +spurious results.`)}}return!1},ye=class{constructor(e,t="GraphQL request",n={line:1,column:1}){typeof e=="string"||H(!1,`Body must be a string. Received: ${Ie(e)}.`),this.body=e,this.name=t,this.locationOffset=n,this.locationOffset.line>0||H(!1,"line in locationOffset is 1-indexed and must be positive."),this.locationOffset.column>0||H(!1,"column in locationOffset is 1-indexed and must be positive.")}get[Symbol.toStringTag](){return"Source"}};function Ht(e){return zt(e,ye)}function Wt(e,t){let n=new Zt(e,t),r=n.parseDocument();return Object.defineProperty(r,"tokenCount",{enumerable:!1,value:n.tokenCount}),r}var Zt=class{constructor(e,t={}){let n=Ht(e)?e:new ye(e);this._lexer=new Rt(n),this._options=t,this._tokenCounter=0}get tokenCount(){return this._tokenCounter}parseName(){let e=this.expectToken(a.NAME);return this.node(e,{kind:l.NAME,value:e.value})}parseDocument(){return this.node(this._lexer.token,{kind:l.DOCUMENT,definitions:this.many(a.SOF,this.parseDefinition,a.EOF)})}parseDefinition(){if(this.peek(a.BRACE_L))return this.parseOperationDefinition();let e=this.peekDescription(),t=e?this._lexer.lookahead():this._lexer.token;if(t.kind===a.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()}if(e)throw f(this._lexer.source,this._lexer.token.start,"Unexpected description, descriptions are supported only on type definitions.");switch(t.value){case"query":case"mutation":case"subscription":return this.parseOperationDefinition();case"fragment":return this.parseFragmentDefinition();case"extend":return this.parseTypeSystemExtension()}}throw this.unexpected(t)}parseOperationDefinition(){let e=this._lexer.token;if(this.peek(a.BRACE_L))return this.node(e,{kind:l.OPERATION_DEFINITION,operation:R.QUERY,name:void 0,variableDefinitions:[],directives:[],selectionSet:this.parseSelectionSet()});let t=this.parseOperationType(),n;return this.peek(a.NAME)&&(n=this.parseName()),this.node(e,{kind:l.OPERATION_DEFINITION,operation:t,name:n,variableDefinitions:this.parseVariableDefinitions(),directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet()})}parseOperationType(){let e=this.expectToken(a.NAME);switch(e.value){case"query":return R.QUERY;case"mutation":return R.MUTATION;case"subscription":return R.SUBSCRIPTION}throw this.unexpected(e)}parseVariableDefinitions(){return this.optionalMany(a.PAREN_L,this.parseVariableDefinition,a.PAREN_R)}parseVariableDefinition(){return this.node(this._lexer.token,{kind:l.VARIABLE_DEFINITION,variable:this.parseVariable(),type:(this.expectToken(a.COLON),this.parseTypeReference()),defaultValue:this.expectOptionalToken(a.EQUALS)?this.parseConstValueLiteral():void 0,directives:this.parseConstDirectives()})}parseVariable(){let e=this._lexer.token;return this.expectToken(a.DOLLAR),this.node(e,{kind:l.VARIABLE,name:this.parseName()})}parseSelectionSet(){return this.node(this._lexer.token,{kind:l.SELECTION_SET,selections:this.many(a.BRACE_L,this.parseSelection,a.BRACE_R)})}parseSelection(){return this.peek(a.SPREAD)?this.parseFragment():this.parseField()}parseField(){let e=this._lexer.token,t=this.parseName(),n,r;return this.expectOptionalToken(a.COLON)?(n=t,r=this.parseName()):r=t,this.node(e,{kind:l.FIELD,alias:n,name:r,arguments:this.parseArguments(!1),directives:this.parseDirectives(!1),selectionSet:this.peek(a.BRACE_L)?this.parseSelectionSet():void 0})}parseArguments(e){let t=e?this.parseConstArgument:this.parseArgument;return this.optionalMany(a.PAREN_L,t,a.PAREN_R)}parseArgument(e=!1){let t=this._lexer.token,n=this.parseName();return this.expectToken(a.COLON),this.node(t,{kind:l.ARGUMENT,name:n,value:this.parseValueLiteral(e)})}parseConstArgument(){return this.parseArgument(!0)}parseFragment(){let e=this._lexer.token;this.expectToken(a.SPREAD);let t=this.expectOptionalKeyword("on");return!t&&this.peek(a.NAME)?this.node(e,{kind:l.FRAGMENT_SPREAD,name:this.parseFragmentName(),directives:this.parseDirectives(!1)}):this.node(e,{kind:l.INLINE_FRAGMENT,typeCondition:t?this.parseNamedType():void 0,directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet()})}parseFragmentDefinition(){let e=this._lexer.token;return this.expectKeyword("fragment"),this._options.allowLegacyFragmentVariables===!0?this.node(e,{kind:l.FRAGMENT_DEFINITION,name:this.parseFragmentName(),variableDefinitions:this.parseVariableDefinitions(),typeCondition:(this.expectKeyword("on"),this.parseNamedType()),directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet()}):this.node(e,{kind:l.FRAGMENT_DEFINITION,name:this.parseFragmentName(),typeCondition:(this.expectKeyword("on"),this.parseNamedType()),directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet()})}parseFragmentName(){if(this._lexer.token.value==="on")throw this.unexpected();return this.parseName()}parseValueLiteral(e){let t=this._lexer.token;switch(t.kind){case a.BRACKET_L:return this.parseList(e);case a.BRACE_L:return this.parseObject(e);case a.INT:return this.advanceLexer(),this.node(t,{kind:l.INT,value:t.value});case a.FLOAT:return this.advanceLexer(),this.node(t,{kind:l.FLOAT,value:t.value});case a.STRING:case a.BLOCK_STRING:return this.parseStringLiteral();case a.NAME:switch(this.advanceLexer(),t.value){case"true":return this.node(t,{kind:l.BOOLEAN,value:!0});case"false":return this.node(t,{kind:l.BOOLEAN,value:!1});case"null":return this.node(t,{kind:l.NULL});default:return this.node(t,{kind:l.ENUM,value:t.value})}case a.DOLLAR:if(e)if(this.expectToken(a.DOLLAR),this._lexer.token.kind===a.NAME){let n=this._lexer.token.value;throw f(this._lexer.source,t.start,`Unexpected variable "$${n}" in constant value.`)}else 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:l.STRING,value:e.value,block:e.kind===a.BLOCK_STRING})}parseList(e){let t=()=>this.parseValueLiteral(e);return this.node(this._lexer.token,{kind:l.LIST,values:this.any(a.BRACKET_L,t,a.BRACKET_R)})}parseObject(e){let t=()=>this.parseObjectField(e);return this.node(this._lexer.token,{kind:l.OBJECT,fields:this.any(a.BRACE_L,t,a.BRACE_R)})}parseObjectField(e){let t=this._lexer.token,n=this.parseName();return this.expectToken(a.COLON),this.node(t,{kind:l.OBJECT_FIELD,name:n,value:this.parseValueLiteral(e)})}parseDirectives(e){let t=[];for(;this.peek(a.AT);)t.push(this.parseDirective(e));return t}parseConstDirectives(){return this.parseDirectives(!0)}parseDirective(e){let t=this._lexer.token;return this.expectToken(a.AT),this.node(t,{kind:l.DIRECTIVE,name:this.parseName(),arguments:this.parseArguments(e)})}parseTypeReference(){let e=this._lexer.token,t;if(this.expectOptionalToken(a.BRACKET_L)){let n=this.parseTypeReference();this.expectToken(a.BRACKET_R),t=this.node(e,{kind:l.LIST_TYPE,type:n})}else t=this.parseNamedType();return this.expectOptionalToken(a.BANG)?this.node(e,{kind:l.NON_NULL_TYPE,type:t}):t}parseNamedType(){return this.node(this._lexer.token,{kind:l.NAMED_TYPE,name:this.parseName()})}peekDescription(){return this.peek(a.STRING)||this.peek(a.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(),r=this.many(a.BRACE_L,this.parseOperationTypeDefinition,a.BRACE_R);return this.node(e,{kind:l.SCHEMA_DEFINITION,description:t,directives:n,operationTypes:r})}parseOperationTypeDefinition(){let e=this._lexer.token,t=this.parseOperationType();this.expectToken(a.COLON);let n=this.parseNamedType();return this.node(e,{kind:l.OPERATION_TYPE_DEFINITION,operation:t,type:n})}parseScalarTypeDefinition(){let e=this._lexer.token,t=this.parseDescription();this.expectKeyword("scalar");let n=this.parseName(),r=this.parseConstDirectives();return this.node(e,{kind:l.SCALAR_TYPE_DEFINITION,description:t,name:n,directives:r})}parseObjectTypeDefinition(){let e=this._lexer.token,t=this.parseDescription();this.expectKeyword("type");let n=this.parseName(),r=this.parseImplementsInterfaces(),i=this.parseConstDirectives(),s=this.parseFieldsDefinition();return this.node(e,{kind:l.OBJECT_TYPE_DEFINITION,description:t,name:n,interfaces:r,directives:i,fields:s})}parseImplementsInterfaces(){return this.expectOptionalKeyword("implements")?this.delimitedMany(a.AMP,this.parseNamedType):[]}parseFieldsDefinition(){return this.optionalMany(a.BRACE_L,this.parseFieldDefinition,a.BRACE_R)}parseFieldDefinition(){let e=this._lexer.token,t=this.parseDescription(),n=this.parseName(),r=this.parseArgumentDefs();this.expectToken(a.COLON);let i=this.parseTypeReference(),s=this.parseConstDirectives();return this.node(e,{kind:l.FIELD_DEFINITION,description:t,name:n,arguments:r,type:i,directives:s})}parseArgumentDefs(){return this.optionalMany(a.PAREN_L,this.parseInputValueDef,a.PAREN_R)}parseInputValueDef(){let e=this._lexer.token,t=this.parseDescription(),n=this.parseName();this.expectToken(a.COLON);let r=this.parseTypeReference(),i;this.expectOptionalToken(a.EQUALS)&&(i=this.parseConstValueLiteral());let s=this.parseConstDirectives();return this.node(e,{kind:l.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(),r=this.parseImplementsInterfaces(),i=this.parseConstDirectives(),s=this.parseFieldsDefinition();return this.node(e,{kind:l.INTERFACE_TYPE_DEFINITION,description:t,name:n,interfaces:r,directives:i,fields:s})}parseUnionTypeDefinition(){let e=this._lexer.token,t=this.parseDescription();this.expectKeyword("union");let n=this.parseName(),r=this.parseConstDirectives(),i=this.parseUnionMemberTypes();return this.node(e,{kind:l.UNION_TYPE_DEFINITION,description:t,name:n,directives:r,types:i})}parseUnionMemberTypes(){return this.expectOptionalToken(a.EQUALS)?this.delimitedMany(a.PIPE,this.parseNamedType):[]}parseEnumTypeDefinition(){let e=this._lexer.token,t=this.parseDescription();this.expectKeyword("enum");let n=this.parseName(),r=this.parseConstDirectives(),i=this.parseEnumValuesDefinition();return this.node(e,{kind:l.ENUM_TYPE_DEFINITION,description:t,name:n,directives:r,values:i})}parseEnumValuesDefinition(){return this.optionalMany(a.BRACE_L,this.parseEnumValueDefinition,a.BRACE_R)}parseEnumValueDefinition(){let e=this._lexer.token,t=this.parseDescription(),n=this.parseEnumValueName(),r=this.parseConstDirectives();return this.node(e,{kind:l.ENUM_VALUE_DEFINITION,description:t,name:n,directives:r})}parseEnumValueName(){if(this._lexer.token.value==="true"||this._lexer.token.value==="false"||this._lexer.token.value==="null")throw f(this._lexer.source,this._lexer.token.start,`${G(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(),r=this.parseConstDirectives(),i=this.parseInputFieldsDefinition();return this.node(e,{kind:l.INPUT_OBJECT_TYPE_DEFINITION,description:t,name:n,directives:r,fields:i})}parseInputFieldsDefinition(){return this.optionalMany(a.BRACE_L,this.parseInputValueDef,a.BRACE_R)}parseTypeSystemExtension(){let e=this._lexer.lookahead();if(e.kind===a.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(a.BRACE_L,this.parseOperationTypeDefinition,a.BRACE_R);if(t.length===0&&n.length===0)throw this.unexpected();return this.node(e,{kind:l.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(n.length===0)throw this.unexpected();return this.node(e,{kind:l.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(),r=this.parseConstDirectives(),i=this.parseFieldsDefinition();if(n.length===0&&r.length===0&&i.length===0)throw this.unexpected();return this.node(e,{kind:l.OBJECT_TYPE_EXTENSION,name:t,interfaces:n,directives:r,fields:i})}parseInterfaceTypeExtension(){let e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("interface");let t=this.parseName(),n=this.parseImplementsInterfaces(),r=this.parseConstDirectives(),i=this.parseFieldsDefinition();if(n.length===0&&r.length===0&&i.length===0)throw this.unexpected();return this.node(e,{kind:l.INTERFACE_TYPE_EXTENSION,name:t,interfaces:n,directives:r,fields:i})}parseUnionTypeExtension(){let e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("union");let t=this.parseName(),n=this.parseConstDirectives(),r=this.parseUnionMemberTypes();if(n.length===0&&r.length===0)throw this.unexpected();return this.node(e,{kind:l.UNION_TYPE_EXTENSION,name:t,directives:n,types:r})}parseEnumTypeExtension(){let e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("enum");let t=this.parseName(),n=this.parseConstDirectives(),r=this.parseEnumValuesDefinition();if(n.length===0&&r.length===0)throw this.unexpected();return this.node(e,{kind:l.ENUM_TYPE_EXTENSION,name:t,directives:n,values:r})}parseInputObjectTypeExtension(){let e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("input");let t=this.parseName(),n=this.parseConstDirectives(),r=this.parseInputFieldsDefinition();if(n.length===0&&r.length===0)throw this.unexpected();return this.node(e,{kind:l.INPUT_OBJECT_TYPE_EXTENSION,name:t,directives:n,fields:r})}parseDirectiveDefinition(){let e=this._lexer.token,t=this.parseDescription();this.expectKeyword("directive"),this.expectToken(a.AT);let n=this.parseName(),r=this.parseArgumentDefs(),i=this.expectOptionalKeyword("repeatable");this.expectKeyword("on");let s=this.parseDirectiveLocations();return this.node(e,{kind:l.DIRECTIVE_DEFINITION,description:t,name:n,arguments:r,repeatable:i,locations:s})}parseDirectiveLocations(){return this.delimitedMany(a.PIPE,this.parseDirectiveLocation)}parseDirectiveLocation(){let e=this._lexer.token,t=this.parseName();if(Object.prototype.hasOwnProperty.call(X,t.value))return t;throw this.unexpected(e)}node(e,t){return this._options.noLocation!==!0&&(t.loc=new nt(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 f(this._lexer.source,t.start,`Expected ${Oe(e)}, found ${G(t)}.`)}expectOptionalToken(e){return this._lexer.token.kind===e?(this.advanceLexer(),!0):!1}expectKeyword(e){let t=this._lexer.token;if(t.kind===a.NAME&&t.value===e)this.advanceLexer();else throw f(this._lexer.source,t.start,`Expected "${e}", found ${G(t)}.`)}expectOptionalKeyword(e){let t=this._lexer.token;return t.kind===a.NAME&&t.value===e?(this.advanceLexer(),!0):!1}unexpected(e){let t=e??this._lexer.token;return f(this._lexer.source,t.start,`Unexpected ${G(t)}.`)}any(e,t,n){this.expectToken(e);let r=[];for(;!this.expectOptionalToken(n);)r.push(t.call(this));return r}optionalMany(e,t,n){if(this.expectOptionalToken(e)){let r=[];do r.push(t.call(this));while(!this.expectOptionalToken(n));return r}return[]}many(e,t,n){this.expectToken(e);let r=[];do r.push(t.call(this));while(!this.expectOptionalToken(n));return r}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!==a.EOF&&(++this._tokenCounter,e!==void 0&&this._tokenCounter>e))throw f(this._lexer.source,t.start,`Document contains more that ${e} tokens. Parsing aborted.`)}};function G(e){let t=e.value;return Oe(e.kind)+(t!=null?` "${t}"`:"")}function Oe(e){return Ft(e)?`"${e}"`:e}function en(e,t){let n=new SyntaxError(e+" ("+t.loc.start.line+":"+t.loc.start.column+")");return Object.assign(n,t)}var tn=en;function nn(e){let t=[],{startToken:n,endToken:r}=e.loc;for(let i=n;i!==r;i=i.next)i.kind==="Comment"&&t.push({...i,loc:{start:i.start,end:i.end}});return t}var rn={allowLegacyFragmentVariables:!0};function sn(e){if((e==null?void 0:e.name)==="GraphQLError"){let{message:t,locations:[n]}=e;return tn(t,{loc:{start:n},cause:e})}return e}function an(e){let t;try{t=Wt(e,rn)}catch(n){throw sn(n)}return t.comments=nn(t),t}var on={parse:an,astFormat:"graphql",hasPragma:lt,hasIgnorePragma:ct,locStart:oe,locEnd:le},ln={graphql:Nt};return ke(te)})})(Z)),Z.exports}var De=dn();const fn=pn(De),Tn=hn({__proto__:null,default:fn},[De]);export{Tn as g}; diff --git a/packages/app/assets/graphiql/extensions/graphiql/assets/graphql-DdEmrhCw.js b/packages/app/assets/graphiql/extensions/graphiql/assets/graphql-DdEmrhCw.js new file mode 100644 index 00000000000..492ca074c30 --- /dev/null +++ b/packages/app/assets/graphiql/extensions/graphiql/assets/graphql-DdEmrhCw.js @@ -0,0 +1,29 @@ +var Ne=Object.defineProperty;var Ie=(e,t,n)=>t in e?Ne(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;var q=(e,t,n)=>Ie(e,typeof t!="symbol"?t+"":t,n);var ve=Object.defineProperty,W=(e,t)=>{for(var n in t)ve(e,n,{get:t[n],enumerable:!0})},Z={};W(Z,{languages:()=>pt,options:()=>ft,parsers:()=>le,printers:()=>Zt});var ye=(e,t,n,r)=>{if(!(e&&t==null))return t.replaceAll?t.replaceAll(n,r):n.global?t.replace(n,r):t.split(n).join(r)},B=ye,Oe="indent",Ae="group",xe="if-break",Y="line",De="break-parent",_e=()=>{},ge=_e;function v(e){return{type:Oe,contents:e}}function y(e,t={}){return ge(t.expandedStates),{type:Ae,id:t.id,contents:e,break:!!t.shouldBreak,expandedStates:t.expandedStates}}function A(e,t="",n={}){return{type:xe,breakContents:e,flatContents:t,groupId:n.groupId}}var ke={type:De},Se={type:Y,hard:!0},C={type:Y},p={type:Y,soft:!0},h=[Se,ke];function E(e,t){let n=[];for(let r=0;r{let i=!!(r!=null&&r.backwards);if(n===!1)return!1;let{length:s}=t,o=n;for(;o>=0&&o0}var ne=je,Ke=class extends Error{constructor(t,n,r="type"){super(`Unexpected ${n} node ${r}: ${JSON.stringify(t[r])}.`);q(this,"name","UnexpectedNodeError");this.node=t}},$e=Ke,L=null;function F(e){if(L!==null&&typeof L.property){let t=L;return L=F.prototype=null,t}return L=F.prototype=e??Object.create(null),new F}var Ge=10;for(let e=0;e<=Ge;e++)F();function Ye(e){return F(e)}function Je(e,t="type"){Ye(e);function n(r){let i=r[t],s=e[i];if(!Array.isArray(s))throw Object.assign(new Error(`Missing visitor keys for '${i}'.`),{node:r});return s}return n}var qe=Je,Qe=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}}},ie=class{constructor(e,t,n,r,i,s){this.kind=e,this.start=t,this.end=n,this.line=r,this.column=i,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}}},re={Name:[],Document:["definitions"],OperationDefinition:["name","variableDefinitions","directives","selectionSet"],VariableDefinition:["variable","type","defaultValue","directives"],Variable:["name"],SelectionSet:["selections"],Field:["alias","name","arguments","directives","selectionSet"],Argument:["name","value"],FragmentSpread:["name","directives"],InlineFragment:["typeCondition","directives","selectionSet"],FragmentDefinition:["name","variableDefinitions","typeCondition","directives","selectionSet"],IntValue:[],FloatValue:[],StringValue:[],BooleanValue:[],NullValue:[],EnumValue:[],ListValue:["values"],ObjectValue:["fields"],ObjectField:["name","value"],Directive:["name","arguments"],NamedType:["name"],ListType:["type"],NonNullType:["type"],SchemaDefinition:["description","directives","operationTypes"],OperationTypeDefinition:["type"],ScalarTypeDefinition:["description","name","directives"],ObjectTypeDefinition:["description","name","interfaces","directives","fields"],FieldDefinition:["description","name","arguments","type","directives"],InputValueDefinition:["description","name","type","defaultValue","directives"],InterfaceTypeDefinition:["description","name","interfaces","directives","fields"],UnionTypeDefinition:["description","name","directives","types"],EnumTypeDefinition:["description","name","directives","values"],EnumValueDefinition:["description","name","directives"],InputObjectTypeDefinition:["description","name","directives","fields"],DirectiveDefinition:["description","name","arguments","locations"],SchemaExtension:["directives","operationTypes"],ScalarTypeExtension:["name","directives"],ObjectTypeExtension:["name","interfaces","directives","fields"],InterfaceTypeExtension:["name","interfaces","directives","fields"],UnionTypeExtension:["name","directives","types"],EnumTypeExtension:["name","directives","values"],InputObjectTypeExtension:["name","directives","fields"]};new Set(Object.keys(re));var S;(function(e){e.QUERY="query",e.MUTATION="mutation",e.SUBSCRIPTION="subscription"})(S||(S={}));var Xe=qe(re,"kind"),ze=Xe;function se(e){return e.loc.start}function ae(e){return e.loc.end}var He="format",We=/^\s*#[^\S\n]*@(?:noformat|noprettier)\s*(?:\n|$)/u,Ze=/^\s*#[^\S\n]*@(?:format|prettier)\s*(?:\n|$)/u;function et(e){return Ze.test(e)}function tt(e){return We.test(e)}function nt(e){return`# @${He} + +${e}`}function it(e,t,n){let{node:r}=e;if(!r.description)return"";let i=[n("description")];return r.kind==="InputValueDefinition"&&!r.description.block?i.push(C):i.push(h),i}var D=it;function rt(e,t,n){let{node:r}=e;switch(r.kind){case"Document":return[...E(h,O(e,t,n,"definitions")),h];case"OperationDefinition":{let i=t.originalText[se(r)]!=="{",s=!!r.name;return[i?r.operation:"",i&&s?[" ",n("name")]:"",i&&!s&&ne(r.variableDefinitions)?" ":"",Q(e,n),N(e,n,r),!i&&!s?"":" ",n("selectionSet")]}case"FragmentDefinition":return["fragment ",n("name"),Q(e,n)," on ",n("typeCondition"),N(e,n,r)," ",n("selectionSet")];case"SelectionSet":return["{",v([h,E(h,O(e,t,n,"selections"))]),h,"}"];case"Field":return y([r.alias?[n("alias"),": "]:"",n("name"),r.arguments.length>0?y(["(",v([p,E([A("",", "),p],O(e,t,n,"arguments"))]),p,")"]):"",N(e,n,r),r.selectionSet?" ":"",n("selectionSet")]);case"Name":return r.value;case"StringValue":if(r.block){let i=B(!1,r.value,'"""',String.raw`\"""`).split(` +`);return i.length===1&&(i[0]=i[0].trim()),i.every(s=>s==="")&&(i.length=0),E(h,['"""',...i,'"""'])}return['"',B(!1,B(!1,r.value,/["\\]/gu,String.raw`\$&`),` +`,String.raw`\n`),'"'];case"IntValue":case"FloatValue":case"EnumValue":return r.value;case"BooleanValue":return r.value?"true":"false";case"NullValue":return"null";case"Variable":return["$",n("name")];case"ListValue":return y(["[",v([p,E([A("",", "),p],e.map(n,"values"))]),p,"]"]);case"ObjectValue":{let i=t.bracketSpacing&&r.fields.length>0?" ":"";return y(["{",i,v([p,E([A("",", "),p],e.map(n,"fields"))]),p,A("",i),"}"])}case"ObjectField":case"Argument":return[n("name"),": ",n("value")];case"Directive":return["@",n("name"),r.arguments.length>0?y(["(",v([p,E([A("",", "),p],O(e,t,n,"arguments"))]),p,")"]):""];case"NamedType":return n("name");case"VariableDefinition":return[n("variable"),": ",n("type"),r.defaultValue?[" = ",n("defaultValue")]:"",N(e,n,r)];case"ObjectTypeExtension":case"ObjectTypeDefinition":case"InputObjectTypeExtension":case"InputObjectTypeDefinition":case"InterfaceTypeExtension":case"InterfaceTypeDefinition":{let{kind:i}=r,s=[];return i.endsWith("TypeDefinition")?s.push(D(e,t,n)):s.push("extend "),i.startsWith("ObjectType")?s.push("type"):i.startsWith("InputObjectType")?s.push("input"):s.push("interface"),s.push(" ",n("name")),!i.startsWith("InputObjectType")&&r.interfaces.length>0&&s.push(" implements ",...ot(e,t,n)),s.push(N(e,n,r)),r.fields.length>0&&s.push([" {",v([h,E(h,O(e,t,n,"fields"))]),h,"}"]),s}case"FieldDefinition":return[D(e,t,n),n("name"),r.arguments.length>0?y(["(",v([p,E([A("",", "),p],O(e,t,n,"arguments"))]),p,")"]):"",": ",n("type"),N(e,n,r)];case"DirectiveDefinition":return[D(e,t,n),"directive ","@",n("name"),r.arguments.length>0?y(["(",v([p,E([A("",", "),p],O(e,t,n,"arguments"))]),p,")"]):"",r.repeatable?" repeatable":""," on ",...E(" | ",e.map(n,"locations"))];case"EnumTypeExtension":case"EnumTypeDefinition":return[D(e,t,n),r.kind==="EnumTypeExtension"?"extend ":"","enum ",n("name"),N(e,n,r),r.values.length>0?[" {",v([h,E(h,O(e,t,n,"values"))]),h,"}"]:""];case"EnumValueDefinition":return[D(e,t,n),n("name"),N(e,n,r)];case"InputValueDefinition":return[D(e,t,n),n("name"),": ",n("type"),r.defaultValue?[" = ",n("defaultValue")]:"",N(e,n,r)];case"SchemaExtension":return["extend schema",N(e,n,r),...r.operationTypes.length>0?[" {",v([h,E(h,O(e,t,n,"operationTypes"))]),h,"}"]:[]];case"SchemaDefinition":return[D(e,t,n),"schema",N(e,n,r)," {",r.operationTypes.length>0?v([h,E(h,O(e,t,n,"operationTypes"))]):"",h,"}"];case"OperationTypeDefinition":return[r.operation,": ",n("type")];case"FragmentSpread":return["...",n("name"),N(e,n,r)];case"InlineFragment":return["...",r.typeCondition?[" on ",n("typeCondition")]:"",N(e,n,r)," ",n("selectionSet")];case"UnionTypeExtension":case"UnionTypeDefinition":return y([D(e,t,n),y([r.kind==="UnionTypeExtension"?"extend ":"","union ",n("name"),N(e,n,r),r.types.length>0?[" =",A(""," "),v([A([C,"| "]),E([C,"| "],e.map(n,"types"))])]:""])]);case"ScalarTypeExtension":case"ScalarTypeDefinition":return[D(e,t,n),r.kind==="ScalarTypeExtension"?"extend ":"","scalar ",n("name"),N(e,n,r)];case"NonNullType":return[n("type"),"!"];case"ListType":return["[",n("type"),"]"];default:throw new $e(r,"Graphql","kind")}}function N(e,t,n){if(n.directives.length===0)return"";let r=E(C,e.map(t,"directives"));return n.kind==="FragmentDefinition"||n.kind==="OperationDefinition"?y([C,r]):[" ",y(v([p,r]))]}function O(e,t,n,r){return e.map(({isLast:i,node:s})=>{let o=n();return!i&&Be(t.originalText,ae(s))?[o,h]:o},r)}function st(e){return e.kind!=="Comment"}function at(e){let t=e.node;if(t.kind==="Comment")return"#"+t.value.trimEnd();throw new Error("Not a comment: "+JSON.stringify(t))}function ot(e,t,n){let{node:r}=e,i=[],{interfaces:s}=r,o=e.map(n,"interfaces");for(let c=0;cr.value.trim()==="prettier-ignore")}var ct={print:rt,massageAstNode:oe,hasPrettierIgnore:lt,insertPragma:nt,printComment:at,canAttachComment:st,getVisitorKeys:ze},ut=ct,pt=[{name:"GraphQL",type:"data",extensions:[".graphql",".gql",".graphqls"],tmScope:"source.graphql",aceMode:"text",parsers:["graphql"],vscodeLanguageIds:["graphql"],linguistLanguageId:139}],ht={bracketSpacing:{category:"Common",type:"boolean",default:!0,description:"Print spaces between brackets.",oppositeDescription:"Do not print spaces between brackets."}},dt={bracketSpacing:ht.bracketSpacing},ft=dt,le={};W(le,{graphql:()=>Wt});function Et(e){return typeof e=="object"&&e!==null}function mt(e,t){throw new Error("Unexpected invariant triggered.")}var Tt=/\r\n|[\n\r]/g;function $(e,t){let n=0,r=1;for(let i of e.body.matchAll(Tt)){if(typeof i.index=="number"||mt(),i.index>=t)break;n=i.index+i[0].length,r+=1}return{line:r,column:t+1-n}}function Nt(e){return ce(e.source,$(e.source,e.start))}function ce(e,t){let n=e.locationOffset.column-1,r="".padStart(n)+e.body,i=t.line-1,s=e.locationOffset.line-1,o=t.line+s,c=t.line===1?n:0,u=t.column+c,I=`${e.name}:${o}:${u} +`,m=r.split(/\r\n|[\n\r]/g),g=m[i];if(g.length>120){let x=Math.floor(u/80),M=u%80,T=[];for(let k=0;k["|",k]),["|","^".padStart(M)],["|",T[x+1]]])}return I+X([[`${o-1} |`,m[i-1]],[`${o} |`,g],["|","^".padStart(u)],[`${o+1} |`,m[i+1]]])}function X(e){let t=e.filter(([r,i])=>i!==void 0),n=Math.max(...t.map(([r])=>r.length));return t.map(([r,i])=>r.padStart(n)+(i?" "+i:"")).join(` +`)}function It(e){let t=e[0];return t==null||"kind"in t||"length"in t?{nodes:t,source:e[1],positions:e[2],path:e[3],originalError:e[4],extensions:e[5]}:t}var vt=class ue extends Error{constructor(t,...n){var r,i,s;let{nodes:o,source:c,positions:u,path:I,originalError:m,extensions:g}=It(n);super(t),this.name="GraphQLError",this.path=I??void 0,this.originalError=m??void 0,this.nodes=z(Array.isArray(o)?o:o?[o]:void 0);let x=z((r=this.nodes)===null||r===void 0?void 0:r.map(T=>T.loc).filter(T=>T!=null));this.source=c??(x==null||(i=x[0])===null||i===void 0?void 0:i.source),this.positions=u??(x==null?void 0:x.map(T=>T.start)),this.locations=u&&c?u.map(T=>$(c,T)):x==null?void 0:x.map(T=>$(T.source,T.start));let M=Et(m==null?void 0:m.extensions)?m==null?void 0:m.extensions:void 0;this.extensions=(s=g??M)!==null&&s!==void 0?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}}),m!=null&&m.stack?Object.defineProperty(this,"stack",{value:m.stack,writable:!0,configurable:!0}):Error.captureStackTrace?Error.captureStackTrace(this,ue):Object.defineProperty(this,"stack",{value:Error().stack,writable:!0,configurable:!0})}get[Symbol.toStringTag](){return"GraphQLError"}toString(){let t=this.message;if(this.nodes)for(let n of this.nodes)n.loc&&(t+=` + +`+Nt(n.loc));else if(this.source&&this.locations)for(let n of this.locations)t+=` + +`+ce(this.source,n);return t}toJSON(){let t={message:this.message};return this.locations!=null&&(t.locations=this.locations),this.path!=null&&(t.path=this.path),this.extensions!=null&&Object.keys(this.extensions).length>0&&(t.extensions=this.extensions),t}};function z(e){return e===void 0||e.length===0?void 0:e}function f(e,t,n){return new vt(`Syntax Error: ${n}`,{source:e,positions:[t]})}var G;(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"})(G||(G={}));var l;(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"})(l||(l={}));function yt(e){return e===9||e===32}function w(e){return e>=48&&e<=57}function pe(e){return e>=97&&e<=122||e>=65&&e<=90}function he(e){return pe(e)||e===95}function Ot(e){return pe(e)||w(e)||e===95}function At(e){var t;let n=Number.MAX_SAFE_INTEGER,r=null,i=-1;for(let o=0;oc===0?o:o.slice(n)).slice((t=r)!==null&&t!==void 0?t:0,i+1)}function xt(e){let t=0;for(;t=0&&e<=55295||e>=57344&&e<=1114111}function U(e,t){return de(e.charCodeAt(t))&&fe(e.charCodeAt(t+1))}function de(e){return e>=55296&&e<=56319}function fe(e){return e>=56320&&e<=57343}function _(e,t){let n=e.source.body.codePointAt(t);if(n===void 0)return a.EOF;if(n>=32&&n<=126){let r=String.fromCodePoint(n);return r==='"'?`'"'`:`"${r}"`}return"U+"+n.toString(16).toUpperCase().padStart(4,"0")}function d(e,t,n,r,i){let s=e.line,o=1+n-e.lineStart;return new ie(t,n,r,s,o,i)}function gt(e,t){let n=e.source.body,r=n.length,i=t;for(;i=48&&e<=57?e-48:e>=65&&e<=70?e-55:e>=97&&e<=102?e-87:-1}function Rt(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:` +`,size:2};case 114:return{value:"\r",size:2};case 116:return{value:" ",size:2}}throw f(e.source,t,`Invalid character escape sequence: "${n.slice(t,t+2)}".`)}function Ft(e,t){let n=e.source.body,r=n.length,i=e.lineStart,s=t+3,o=s,c="",u=[];for(;s2?"["+Bt(e)+"]":"{ "+n.map(([r,i])=>r+": "+V(i,t)).join(", ")+" }"}function Mt(e,t){if(e.length===0)return"[]";if(t.length>2)return"[Array]";let n=Math.min(10,e.length),r=e.length-n,i=[];for(let s=0;s1&&i.push(`... ${r} more items`),"["+i.join(", ")+"]"}function Bt(e){let t=Object.prototype.toString.call(e).replace(/^\[object /,"").replace(/]$/,"");if(t==="Object"&&typeof e.constructor=="function"){let n=e.constructor.name;if(typeof n=="string"&&n!=="")return n}return t}var jt=globalThis.process&&!0,Kt=jt?function(e,t){return e instanceof t}:function(e,t){if(e instanceof t)return!0;if(typeof e=="object"&&e!==null){var n;let r=t.prototype[Symbol.toStringTag],i=Symbol.toStringTag in e?e[Symbol.toStringTag]:(n=e.constructor)===null||n===void 0?void 0:n.name;if(r===i){let s=Ee(e);throw new Error(`Cannot use ${r} "${s}" from another module or realm. + +Ensure that there is only one instance of "graphql" in the node_modules +directory. If different versions of "graphql" are the dependencies of other +relied on modules, use "resolutions" to ensure only one version is installed. + +https://yarnpkg.com/en/docs/selective-version-resolutions + +Duplicate "graphql" modules cannot be used at the same time since different +versions may have different capabilities and behavior. The data from one +version used in the function from another could produce confusing and +spurious results.`)}}return!1},me=class{constructor(e,t="GraphQL request",n={line:1,column:1}){typeof e=="string"||K(!1,`Body must be a string. Received: ${Ee(e)}.`),this.body=e,this.name=t,this.locationOffset=n,this.locationOffset.line>0||K(!1,"line in locationOffset is 1-indexed and must be positive."),this.locationOffset.column>0||K(!1,"column in locationOffset is 1-indexed and must be positive.")}get[Symbol.toStringTag](){return"Source"}};function $t(e){return Kt(e,me)}function Gt(e,t){let n=new Yt(e,t),r=n.parseDocument();return Object.defineProperty(r,"tokenCount",{enumerable:!1,value:n.tokenCount}),r}var Yt=class{constructor(e,t={}){let n=$t(e)?e:new me(e);this._lexer=new Dt(n),this._options=t,this._tokenCounter=0}get tokenCount(){return this._tokenCounter}parseName(){let e=this.expectToken(a.NAME);return this.node(e,{kind:l.NAME,value:e.value})}parseDocument(){return this.node(this._lexer.token,{kind:l.DOCUMENT,definitions:this.many(a.SOF,this.parseDefinition,a.EOF)})}parseDefinition(){if(this.peek(a.BRACE_L))return this.parseOperationDefinition();let e=this.peekDescription(),t=e?this._lexer.lookahead():this._lexer.token;if(t.kind===a.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()}if(e)throw f(this._lexer.source,this._lexer.token.start,"Unexpected description, descriptions are supported only on type definitions.");switch(t.value){case"query":case"mutation":case"subscription":return this.parseOperationDefinition();case"fragment":return this.parseFragmentDefinition();case"extend":return this.parseTypeSystemExtension()}}throw this.unexpected(t)}parseOperationDefinition(){let e=this._lexer.token;if(this.peek(a.BRACE_L))return this.node(e,{kind:l.OPERATION_DEFINITION,operation:S.QUERY,name:void 0,variableDefinitions:[],directives:[],selectionSet:this.parseSelectionSet()});let t=this.parseOperationType(),n;return this.peek(a.NAME)&&(n=this.parseName()),this.node(e,{kind:l.OPERATION_DEFINITION,operation:t,name:n,variableDefinitions:this.parseVariableDefinitions(),directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet()})}parseOperationType(){let e=this.expectToken(a.NAME);switch(e.value){case"query":return S.QUERY;case"mutation":return S.MUTATION;case"subscription":return S.SUBSCRIPTION}throw this.unexpected(e)}parseVariableDefinitions(){return this.optionalMany(a.PAREN_L,this.parseVariableDefinition,a.PAREN_R)}parseVariableDefinition(){return this.node(this._lexer.token,{kind:l.VARIABLE_DEFINITION,variable:this.parseVariable(),type:(this.expectToken(a.COLON),this.parseTypeReference()),defaultValue:this.expectOptionalToken(a.EQUALS)?this.parseConstValueLiteral():void 0,directives:this.parseConstDirectives()})}parseVariable(){let e=this._lexer.token;return this.expectToken(a.DOLLAR),this.node(e,{kind:l.VARIABLE,name:this.parseName()})}parseSelectionSet(){return this.node(this._lexer.token,{kind:l.SELECTION_SET,selections:this.many(a.BRACE_L,this.parseSelection,a.BRACE_R)})}parseSelection(){return this.peek(a.SPREAD)?this.parseFragment():this.parseField()}parseField(){let e=this._lexer.token,t=this.parseName(),n,r;return this.expectOptionalToken(a.COLON)?(n=t,r=this.parseName()):r=t,this.node(e,{kind:l.FIELD,alias:n,name:r,arguments:this.parseArguments(!1),directives:this.parseDirectives(!1),selectionSet:this.peek(a.BRACE_L)?this.parseSelectionSet():void 0})}parseArguments(e){let t=e?this.parseConstArgument:this.parseArgument;return this.optionalMany(a.PAREN_L,t,a.PAREN_R)}parseArgument(e=!1){let t=this._lexer.token,n=this.parseName();return this.expectToken(a.COLON),this.node(t,{kind:l.ARGUMENT,name:n,value:this.parseValueLiteral(e)})}parseConstArgument(){return this.parseArgument(!0)}parseFragment(){let e=this._lexer.token;this.expectToken(a.SPREAD);let t=this.expectOptionalKeyword("on");return!t&&this.peek(a.NAME)?this.node(e,{kind:l.FRAGMENT_SPREAD,name:this.parseFragmentName(),directives:this.parseDirectives(!1)}):this.node(e,{kind:l.INLINE_FRAGMENT,typeCondition:t?this.parseNamedType():void 0,directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet()})}parseFragmentDefinition(){let e=this._lexer.token;return this.expectKeyword("fragment"),this._options.allowLegacyFragmentVariables===!0?this.node(e,{kind:l.FRAGMENT_DEFINITION,name:this.parseFragmentName(),variableDefinitions:this.parseVariableDefinitions(),typeCondition:(this.expectKeyword("on"),this.parseNamedType()),directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet()}):this.node(e,{kind:l.FRAGMENT_DEFINITION,name:this.parseFragmentName(),typeCondition:(this.expectKeyword("on"),this.parseNamedType()),directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet()})}parseFragmentName(){if(this._lexer.token.value==="on")throw this.unexpected();return this.parseName()}parseValueLiteral(e){let t=this._lexer.token;switch(t.kind){case a.BRACKET_L:return this.parseList(e);case a.BRACE_L:return this.parseObject(e);case a.INT:return this.advanceLexer(),this.node(t,{kind:l.INT,value:t.value});case a.FLOAT:return this.advanceLexer(),this.node(t,{kind:l.FLOAT,value:t.value});case a.STRING:case a.BLOCK_STRING:return this.parseStringLiteral();case a.NAME:switch(this.advanceLexer(),t.value){case"true":return this.node(t,{kind:l.BOOLEAN,value:!0});case"false":return this.node(t,{kind:l.BOOLEAN,value:!1});case"null":return this.node(t,{kind:l.NULL});default:return this.node(t,{kind:l.ENUM,value:t.value})}case a.DOLLAR:if(e)if(this.expectToken(a.DOLLAR),this._lexer.token.kind===a.NAME){let n=this._lexer.token.value;throw f(this._lexer.source,t.start,`Unexpected variable "$${n}" in constant value.`)}else 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:l.STRING,value:e.value,block:e.kind===a.BLOCK_STRING})}parseList(e){let t=()=>this.parseValueLiteral(e);return this.node(this._lexer.token,{kind:l.LIST,values:this.any(a.BRACKET_L,t,a.BRACKET_R)})}parseObject(e){let t=()=>this.parseObjectField(e);return this.node(this._lexer.token,{kind:l.OBJECT,fields:this.any(a.BRACE_L,t,a.BRACE_R)})}parseObjectField(e){let t=this._lexer.token,n=this.parseName();return this.expectToken(a.COLON),this.node(t,{kind:l.OBJECT_FIELD,name:n,value:this.parseValueLiteral(e)})}parseDirectives(e){let t=[];for(;this.peek(a.AT);)t.push(this.parseDirective(e));return t}parseConstDirectives(){return this.parseDirectives(!0)}parseDirective(e){let t=this._lexer.token;return this.expectToken(a.AT),this.node(t,{kind:l.DIRECTIVE,name:this.parseName(),arguments:this.parseArguments(e)})}parseTypeReference(){let e=this._lexer.token,t;if(this.expectOptionalToken(a.BRACKET_L)){let n=this.parseTypeReference();this.expectToken(a.BRACKET_R),t=this.node(e,{kind:l.LIST_TYPE,type:n})}else t=this.parseNamedType();return this.expectOptionalToken(a.BANG)?this.node(e,{kind:l.NON_NULL_TYPE,type:t}):t}parseNamedType(){return this.node(this._lexer.token,{kind:l.NAMED_TYPE,name:this.parseName()})}peekDescription(){return this.peek(a.STRING)||this.peek(a.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(),r=this.many(a.BRACE_L,this.parseOperationTypeDefinition,a.BRACE_R);return this.node(e,{kind:l.SCHEMA_DEFINITION,description:t,directives:n,operationTypes:r})}parseOperationTypeDefinition(){let e=this._lexer.token,t=this.parseOperationType();this.expectToken(a.COLON);let n=this.parseNamedType();return this.node(e,{kind:l.OPERATION_TYPE_DEFINITION,operation:t,type:n})}parseScalarTypeDefinition(){let e=this._lexer.token,t=this.parseDescription();this.expectKeyword("scalar");let n=this.parseName(),r=this.parseConstDirectives();return this.node(e,{kind:l.SCALAR_TYPE_DEFINITION,description:t,name:n,directives:r})}parseObjectTypeDefinition(){let e=this._lexer.token,t=this.parseDescription();this.expectKeyword("type");let n=this.parseName(),r=this.parseImplementsInterfaces(),i=this.parseConstDirectives(),s=this.parseFieldsDefinition();return this.node(e,{kind:l.OBJECT_TYPE_DEFINITION,description:t,name:n,interfaces:r,directives:i,fields:s})}parseImplementsInterfaces(){return this.expectOptionalKeyword("implements")?this.delimitedMany(a.AMP,this.parseNamedType):[]}parseFieldsDefinition(){return this.optionalMany(a.BRACE_L,this.parseFieldDefinition,a.BRACE_R)}parseFieldDefinition(){let e=this._lexer.token,t=this.parseDescription(),n=this.parseName(),r=this.parseArgumentDefs();this.expectToken(a.COLON);let i=this.parseTypeReference(),s=this.parseConstDirectives();return this.node(e,{kind:l.FIELD_DEFINITION,description:t,name:n,arguments:r,type:i,directives:s})}parseArgumentDefs(){return this.optionalMany(a.PAREN_L,this.parseInputValueDef,a.PAREN_R)}parseInputValueDef(){let e=this._lexer.token,t=this.parseDescription(),n=this.parseName();this.expectToken(a.COLON);let r=this.parseTypeReference(),i;this.expectOptionalToken(a.EQUALS)&&(i=this.parseConstValueLiteral());let s=this.parseConstDirectives();return this.node(e,{kind:l.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(),r=this.parseImplementsInterfaces(),i=this.parseConstDirectives(),s=this.parseFieldsDefinition();return this.node(e,{kind:l.INTERFACE_TYPE_DEFINITION,description:t,name:n,interfaces:r,directives:i,fields:s})}parseUnionTypeDefinition(){let e=this._lexer.token,t=this.parseDescription();this.expectKeyword("union");let n=this.parseName(),r=this.parseConstDirectives(),i=this.parseUnionMemberTypes();return this.node(e,{kind:l.UNION_TYPE_DEFINITION,description:t,name:n,directives:r,types:i})}parseUnionMemberTypes(){return this.expectOptionalToken(a.EQUALS)?this.delimitedMany(a.PIPE,this.parseNamedType):[]}parseEnumTypeDefinition(){let e=this._lexer.token,t=this.parseDescription();this.expectKeyword("enum");let n=this.parseName(),r=this.parseConstDirectives(),i=this.parseEnumValuesDefinition();return this.node(e,{kind:l.ENUM_TYPE_DEFINITION,description:t,name:n,directives:r,values:i})}parseEnumValuesDefinition(){return this.optionalMany(a.BRACE_L,this.parseEnumValueDefinition,a.BRACE_R)}parseEnumValueDefinition(){let e=this._lexer.token,t=this.parseDescription(),n=this.parseEnumValueName(),r=this.parseConstDirectives();return this.node(e,{kind:l.ENUM_VALUE_DEFINITION,description:t,name:n,directives:r})}parseEnumValueName(){if(this._lexer.token.value==="true"||this._lexer.token.value==="false"||this._lexer.token.value==="null")throw f(this._lexer.source,this._lexer.token.start,`${P(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(),r=this.parseConstDirectives(),i=this.parseInputFieldsDefinition();return this.node(e,{kind:l.INPUT_OBJECT_TYPE_DEFINITION,description:t,name:n,directives:r,fields:i})}parseInputFieldsDefinition(){return this.optionalMany(a.BRACE_L,this.parseInputValueDef,a.BRACE_R)}parseTypeSystemExtension(){let e=this._lexer.lookahead();if(e.kind===a.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(a.BRACE_L,this.parseOperationTypeDefinition,a.BRACE_R);if(t.length===0&&n.length===0)throw this.unexpected();return this.node(e,{kind:l.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(n.length===0)throw this.unexpected();return this.node(e,{kind:l.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(),r=this.parseConstDirectives(),i=this.parseFieldsDefinition();if(n.length===0&&r.length===0&&i.length===0)throw this.unexpected();return this.node(e,{kind:l.OBJECT_TYPE_EXTENSION,name:t,interfaces:n,directives:r,fields:i})}parseInterfaceTypeExtension(){let e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("interface");let t=this.parseName(),n=this.parseImplementsInterfaces(),r=this.parseConstDirectives(),i=this.parseFieldsDefinition();if(n.length===0&&r.length===0&&i.length===0)throw this.unexpected();return this.node(e,{kind:l.INTERFACE_TYPE_EXTENSION,name:t,interfaces:n,directives:r,fields:i})}parseUnionTypeExtension(){let e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("union");let t=this.parseName(),n=this.parseConstDirectives(),r=this.parseUnionMemberTypes();if(n.length===0&&r.length===0)throw this.unexpected();return this.node(e,{kind:l.UNION_TYPE_EXTENSION,name:t,directives:n,types:r})}parseEnumTypeExtension(){let e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("enum");let t=this.parseName(),n=this.parseConstDirectives(),r=this.parseEnumValuesDefinition();if(n.length===0&&r.length===0)throw this.unexpected();return this.node(e,{kind:l.ENUM_TYPE_EXTENSION,name:t,directives:n,values:r})}parseInputObjectTypeExtension(){let e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("input");let t=this.parseName(),n=this.parseConstDirectives(),r=this.parseInputFieldsDefinition();if(n.length===0&&r.length===0)throw this.unexpected();return this.node(e,{kind:l.INPUT_OBJECT_TYPE_EXTENSION,name:t,directives:n,fields:r})}parseDirectiveDefinition(){let e=this._lexer.token,t=this.parseDescription();this.expectKeyword("directive"),this.expectToken(a.AT);let n=this.parseName(),r=this.parseArgumentDefs(),i=this.expectOptionalKeyword("repeatable");this.expectKeyword("on");let s=this.parseDirectiveLocations();return this.node(e,{kind:l.DIRECTIVE_DEFINITION,description:t,name:n,arguments:r,repeatable:i,locations:s})}parseDirectiveLocations(){return this.delimitedMany(a.PIPE,this.parseDirectiveLocation)}parseDirectiveLocation(){let e=this._lexer.token,t=this.parseName();if(Object.prototype.hasOwnProperty.call(G,t.value))return t;throw this.unexpected(e)}node(e,t){return this._options.noLocation!==!0&&(t.loc=new Qe(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 f(this._lexer.source,t.start,`Expected ${Te(e)}, found ${P(t)}.`)}expectOptionalToken(e){return this._lexer.token.kind===e?(this.advanceLexer(),!0):!1}expectKeyword(e){let t=this._lexer.token;if(t.kind===a.NAME&&t.value===e)this.advanceLexer();else throw f(this._lexer.source,t.start,`Expected "${e}", found ${P(t)}.`)}expectOptionalKeyword(e){let t=this._lexer.token;return t.kind===a.NAME&&t.value===e?(this.advanceLexer(),!0):!1}unexpected(e){let t=e??this._lexer.token;return f(this._lexer.source,t.start,`Unexpected ${P(t)}.`)}any(e,t,n){this.expectToken(e);let r=[];for(;!this.expectOptionalToken(n);)r.push(t.call(this));return r}optionalMany(e,t,n){if(this.expectOptionalToken(e)){let r=[];do r.push(t.call(this));while(!this.expectOptionalToken(n));return r}return[]}many(e,t,n){this.expectToken(e);let r=[];do r.push(t.call(this));while(!this.expectOptionalToken(n));return r}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!==a.EOF&&(++this._tokenCounter,e!==void 0&&this._tokenCounter>e))throw f(this._lexer.source,t.start,`Document contains more that ${e} tokens. Parsing aborted.`)}};function P(e){let t=e.value;return Te(e.kind)+(t!=null?` "${t}"`:"")}function Te(e){return _t(e)?`"${e}"`:e}function Jt(e,t){let n=new SyntaxError(e+" ("+t.loc.start.line+":"+t.loc.start.column+")");return Object.assign(n,t)}var qt=Jt;function Qt(e){let t=[],{startToken:n,endToken:r}=e.loc;for(let i=n;i!==r;i=i.next)i.kind==="Comment"&&t.push({...i,loc:{start:i.start,end:i.end}});return t}var Xt={allowLegacyFragmentVariables:!0};function zt(e){if((e==null?void 0:e.name)==="GraphQLError"){let{message:t,locations:[n]}=e;return qt(t,{loc:{start:n},cause:e})}return e}function Ht(e){let t;try{t=Gt(e,Xt)}catch(n){throw zt(n)}return t.comments=Qt(t),t}var Wt={parse:Ht,astFormat:"graphql",hasPragma:et,hasIgnorePragma:tt,locStart:se,locEnd:ae},Zt={graphql:ut},tn=Z;export{tn as default,pt as languages,ft as options,le as parsers,Zt as printers}; diff --git a/packages/app/assets/graphiql/extensions/graphiql/assets/graphql-xRXydnjv.js b/packages/app/assets/graphiql/extensions/graphiql/assets/graphql-xRXydnjv.js new file mode 100644 index 00000000000..e6e62798a1c --- /dev/null +++ b/packages/app/assets/graphiql/extensions/graphiql/assets/graphql-xRXydnjv.js @@ -0,0 +1,29 @@ +var cn=Object.defineProperty;var un=(x,A,E)=>A in x?cn(x,A,{enumerable:!0,configurable:!0,writable:!0,value:E}):x[A]=E;var Oe=(x,A,E)=>un(x,typeof A!="symbol"?A+"":A,E);import{g as pn}from"./graphql.worker-BJ6V8eRa.js";function hn(x,A){return A.forEach(function(E){E&&typeof E!="string"&&!Array.isArray(E)&&Object.keys(E).forEach(function(_){if(_!=="default"&&!(_ in x)){var C=Object.getOwnPropertyDescriptor(E,_);Object.defineProperty(x,_,C.get?C:{enumerable:!0,get:function(){return E[_]}})}})}),Object.freeze(x)}var W={exports:{}},xe;function dn(){return xe||(xe=1,(function(x,A){(function(E){function _(){var C=E();return C.default||C}x.exports=_()})(function(){var E=Object.defineProperty,_=Object.getOwnPropertyDescriptor,C=Object.getOwnPropertyNames,ge=Object.prototype.hasOwnProperty,Z=(e,t)=>{for(var n in t)E(e,n,{get:t[n],enumerable:!0})},_e=(e,t,n,r)=>{if(t&&typeof t=="object"||typeof t=="function")for(let i of C(t))!ge.call(e,i)&&i!==n&&E(e,i,{get:()=>t[i],enumerable:!(r=_(t,i))||r.enumerable});return e},ke=e=>_e(E({},"__esModule",{value:!0}),e),ee={};Z(ee,{languages:()=>vt,options:()=>Ot,parsers:()=>ue,printers:()=>ln});var Se=(e,t,n,r)=>{if(!(e&&t==null))return t.replaceAll?t.replaceAll(n,r):n.global?t.replace(n,r):t.split(n).join(r)},G=Se,Ce="indent",be="group",Le="if-break",Y="line",Re="break-parent",Fe=()=>{},we=Fe;function I(e){return{type:Ce,contents:e}}function O(e,t={}){return we(t.expandedStates),{type:be,id:t.id,contents:e,break:!!t.shouldBreak,expandedStates:t.expandedStates}}function D(e,t="",n={}){return{type:Le,breakContents:e,flatContents:t,groupId:n.groupId}}var Pe={type:Re},Ue={type:Y,hard:!0},L={type:Y},u={type:Y,soft:!0},h=[Ue,Pe];function m(e,t){let n=[];for(let r=0;r{let i=!!(r!=null&&r.backwards);if(n===!1)return!1;let{length:s}=t,o=n;for(;o>=0&&o0}var ie=Xe,ze=class extends Error{constructor(t,n,r="type"){super(`Unexpected ${n} node ${r}: ${JSON.stringify(t[r])}.`);Oe(this,"name","UnexpectedNodeError");this.node=t}},He=ze,U=null;function V(e){if(U!==null&&typeof U.property){let t=U;return U=V.prototype=null,t}return U=V.prototype=e??Object.create(null),new V}var We=10;for(let e=0;e<=We;e++)V();function Ze(e){return V(e)}function et(e,t="type"){Ze(e);function n(r){let i=r[t],s=e[i];if(!Array.isArray(s))throw Object.assign(new Error(`Missing visitor keys for '${i}'.`),{node:r});return s}return n}var tt=et,nt=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}}},re=class{constructor(e,t,n,r,i,s){this.kind=e,this.start=t,this.end=n,this.line=r,this.column=i,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}}},se={Name:[],Document:["definitions"],OperationDefinition:["name","variableDefinitions","directives","selectionSet"],VariableDefinition:["variable","type","defaultValue","directives"],Variable:["name"],SelectionSet:["selections"],Field:["alias","name","arguments","directives","selectionSet"],Argument:["name","value"],FragmentSpread:["name","directives"],InlineFragment:["typeCondition","directives","selectionSet"],FragmentDefinition:["name","variableDefinitions","typeCondition","directives","selectionSet"],IntValue:[],FloatValue:[],StringValue:[],BooleanValue:[],NullValue:[],EnumValue:[],ListValue:["values"],ObjectValue:["fields"],ObjectField:["name","value"],Directive:["name","arguments"],NamedType:["name"],ListType:["type"],NonNullType:["type"],SchemaDefinition:["description","directives","operationTypes"],OperationTypeDefinition:["type"],ScalarTypeDefinition:["description","name","directives"],ObjectTypeDefinition:["description","name","interfaces","directives","fields"],FieldDefinition:["description","name","arguments","type","directives"],InputValueDefinition:["description","name","type","defaultValue","directives"],InterfaceTypeDefinition:["description","name","interfaces","directives","fields"],UnionTypeDefinition:["description","name","directives","types"],EnumTypeDefinition:["description","name","directives","values"],EnumValueDefinition:["description","name","directives"],InputObjectTypeDefinition:["description","name","directives","fields"],DirectiveDefinition:["description","name","arguments","locations"],SchemaExtension:["directives","operationTypes"],ScalarTypeExtension:["name","directives"],ObjectTypeExtension:["name","interfaces","directives","fields"],InterfaceTypeExtension:["name","interfaces","directives","fields"],UnionTypeExtension:["name","directives","types"],EnumTypeExtension:["name","directives","values"],InputObjectTypeExtension:["name","directives","fields"]};new Set(Object.keys(se));var R;(function(e){e.QUERY="query",e.MUTATION="mutation",e.SUBSCRIPTION="subscription"})(R||(R={}));var it=tt(se,"kind"),rt=it;function ae(e){return e.loc.start}function oe(e){return e.loc.end}var st="format",at=/^\s*#[^\S\n]*@(?:noformat|noprettier)\s*(?:\n|$)/u,ot=/^\s*#[^\S\n]*@(?:format|prettier)\s*(?:\n|$)/u;function lt(e){return ot.test(e)}function ct(e){return at.test(e)}function ut(e){return`# @${st} + +${e}`}function pt(e,t,n){let{node:r}=e;if(!r.description)return"";let i=[n("description")];return r.kind==="InputValueDefinition"&&!r.description.block?i.push(L):i.push(h),i}var k=pt;function ht(e,t,n){let{node:r}=e;switch(r.kind){case"Document":return[...m(h,g(e,t,n,"definitions")),h];case"OperationDefinition":{let i=t.originalText[ae(r)]!=="{",s=!!r.name;return[i?r.operation:"",i&&s?[" ",n("name")]:"",i&&!s&&ie(r.variableDefinitions)?" ":"",le(e,n),N(e,n,r),!i&&!s?"":" ",n("selectionSet")]}case"FragmentDefinition":return["fragment ",n("name"),le(e,n)," on ",n("typeCondition"),N(e,n,r)," ",n("selectionSet")];case"SelectionSet":return["{",I([h,m(h,g(e,t,n,"selections"))]),h,"}"];case"Field":return O([r.alias?[n("alias"),": "]:"",n("name"),r.arguments.length>0?O(["(",I([u,m([D("",", "),u],g(e,t,n,"arguments"))]),u,")"]):"",N(e,n,r),r.selectionSet?" ":"",n("selectionSet")]);case"Name":return r.value;case"StringValue":if(r.block){let i=G(!1,r.value,'"""',String.raw`\"""`).split(` +`);return i.length===1&&(i[0]=i[0].trim()),i.every(s=>s==="")&&(i.length=0),m(h,['"""',...i,'"""'])}return['"',G(!1,G(!1,r.value,/["\\]/gu,String.raw`\$&`),` +`,String.raw`\n`),'"'];case"IntValue":case"FloatValue":case"EnumValue":return r.value;case"BooleanValue":return r.value?"true":"false";case"NullValue":return"null";case"Variable":return["$",n("name")];case"ListValue":return O(["[",I([u,m([D("",", "),u],e.map(n,"values"))]),u,"]"]);case"ObjectValue":{let i=t.bracketSpacing&&r.fields.length>0?" ":"";return O(["{",i,I([u,m([D("",", "),u],e.map(n,"fields"))]),u,D("",i),"}"])}case"ObjectField":case"Argument":return[n("name"),": ",n("value")];case"Directive":return["@",n("name"),r.arguments.length>0?O(["(",I([u,m([D("",", "),u],g(e,t,n,"arguments"))]),u,")"]):""];case"NamedType":return n("name");case"VariableDefinition":return[n("variable"),": ",n("type"),r.defaultValue?[" = ",n("defaultValue")]:"",N(e,n,r)];case"ObjectTypeExtension":case"ObjectTypeDefinition":case"InputObjectTypeExtension":case"InputObjectTypeDefinition":case"InterfaceTypeExtension":case"InterfaceTypeDefinition":{let{kind:i}=r,s=[];return i.endsWith("TypeDefinition")?s.push(k(e,t,n)):s.push("extend "),i.startsWith("ObjectType")?s.push("type"):i.startsWith("InputObjectType")?s.push("input"):s.push("interface"),s.push(" ",n("name")),!i.startsWith("InputObjectType")&&r.interfaces.length>0&&s.push(" implements ",...Et(e,t,n)),s.push(N(e,n,r)),r.fields.length>0&&s.push([" {",I([h,m(h,g(e,t,n,"fields"))]),h,"}"]),s}case"FieldDefinition":return[k(e,t,n),n("name"),r.arguments.length>0?O(["(",I([u,m([D("",", "),u],g(e,t,n,"arguments"))]),u,")"]):"",": ",n("type"),N(e,n,r)];case"DirectiveDefinition":return[k(e,t,n),"directive ","@",n("name"),r.arguments.length>0?O(["(",I([u,m([D("",", "),u],g(e,t,n,"arguments"))]),u,")"]):"",r.repeatable?" repeatable":""," on ",...m(" | ",e.map(n,"locations"))];case"EnumTypeExtension":case"EnumTypeDefinition":return[k(e,t,n),r.kind==="EnumTypeExtension"?"extend ":"","enum ",n("name"),N(e,n,r),r.values.length>0?[" {",I([h,m(h,g(e,t,n,"values"))]),h,"}"]:""];case"EnumValueDefinition":return[k(e,t,n),n("name"),N(e,n,r)];case"InputValueDefinition":return[k(e,t,n),n("name"),": ",n("type"),r.defaultValue?[" = ",n("defaultValue")]:"",N(e,n,r)];case"SchemaExtension":return["extend schema",N(e,n,r),...r.operationTypes.length>0?[" {",I([h,m(h,g(e,t,n,"operationTypes"))]),h,"}"]:[]];case"SchemaDefinition":return[k(e,t,n),"schema",N(e,n,r)," {",r.operationTypes.length>0?I([h,m(h,g(e,t,n,"operationTypes"))]):"",h,"}"];case"OperationTypeDefinition":return[r.operation,": ",n("type")];case"FragmentSpread":return["...",n("name"),N(e,n,r)];case"InlineFragment":return["...",r.typeCondition?[" on ",n("typeCondition")]:"",N(e,n,r)," ",n("selectionSet")];case"UnionTypeExtension":case"UnionTypeDefinition":return O([k(e,t,n),O([r.kind==="UnionTypeExtension"?"extend ":"","union ",n("name"),N(e,n,r),r.types.length>0?[" =",D(""," "),I([D([L,"| "]),m([L,"| "],e.map(n,"types"))])]:""])]);case"ScalarTypeExtension":case"ScalarTypeDefinition":return[k(e,t,n),r.kind==="ScalarTypeExtension"?"extend ":"","scalar ",n("name"),N(e,n,r)];case"NonNullType":return[n("type"),"!"];case"ListType":return["[",n("type"),"]"];default:throw new He(r,"Graphql","kind")}}function N(e,t,n){if(n.directives.length===0)return"";let r=m(L,e.map(t,"directives"));return n.kind==="FragmentDefinition"||n.kind==="OperationDefinition"?O([L,r]):[" ",O(I([u,r]))]}function g(e,t,n,r){return e.map(({isLast:i,node:s})=>{let o=n();return!i&&Qe(t.originalText,oe(s))?[o,h]:o},r)}function dt(e){return e.kind!=="Comment"}function ft(e){let t=e.node;if(t.kind==="Comment")return"#"+t.value.trimEnd();throw new Error("Not a comment: "+JSON.stringify(t))}function Et(e,t,n){let{node:r}=e,i=[],{interfaces:s}=r,o=e.map(n,"interfaces");for(let c=0;cr.value.trim()==="prettier-ignore")}var Tt={print:ht,massageAstNode:ce,hasPrettierIgnore:mt,insertPragma:ut,printComment:ft,canAttachComment:dt,getVisitorKeys:rt},Nt=Tt,vt=[{name:"GraphQL",type:"data",extensions:[".graphql",".gql",".graphqls"],tmScope:"source.graphql",aceMode:"text",parsers:["graphql"],vscodeLanguageIds:["graphql"],linguistLanguageId:139}],It={bracketSpacing:{category:"Common",type:"boolean",default:!0,description:"Print spaces between brackets.",oppositeDescription:"Do not print spaces between brackets."}},yt={bracketSpacing:It.bracketSpacing},Ot=yt,ue={};Z(ue,{graphql:()=>on});function xt(e){return typeof e=="object"&&e!==null}function At(e,t){throw new Error("Unexpected invariant triggered.")}var Dt=/\r\n|[\n\r]/g;function J(e,t){let n=0,r=1;for(let i of e.body.matchAll(Dt)){if(typeof i.index=="number"||At(),i.index>=t)break;n=i.index+i[0].length,r+=1}return{line:r,column:t+1-n}}function gt(e){return pe(e.source,J(e.source,e.start))}function pe(e,t){let n=e.locationOffset.column-1,r="".padStart(n)+e.body,i=t.line-1,s=e.locationOffset.line-1,o=t.line+s,c=t.line===1?n:0,p=t.column+c,y=`${e.name}:${o}:${p} +`,T=r.split(/\r\n|[\n\r]/g),w=T[i];if(w.length>120){let S=Math.floor(p/80),H=p%80,v=[];for(let P=0;P["|",P]),["|","^".padStart(H)],["|",v[S+1]]])}return y+he([[`${o-1} |`,T[i-1]],[`${o} |`,w],["|","^".padStart(p)],[`${o+1} |`,T[i+1]]])}function he(e){let t=e.filter(([r,i])=>i!==void 0),n=Math.max(...t.map(([r])=>r.length));return t.map(([r,i])=>r.padStart(n)+(i?" "+i:"")).join(` +`)}function _t(e){let t=e[0];return t==null||"kind"in t||"length"in t?{nodes:t,source:e[1],positions:e[2],path:e[3],originalError:e[4],extensions:e[5]}:t}var kt=class Ae extends Error{constructor(t,...n){var r,i,s;let{nodes:o,source:c,positions:p,path:y,originalError:T,extensions:w}=_t(n);super(t),this.name="GraphQLError",this.path=y??void 0,this.originalError=T??void 0,this.nodes=de(Array.isArray(o)?o:o?[o]:void 0);let S=de((r=this.nodes)===null||r===void 0?void 0:r.map(v=>v.loc).filter(v=>v!=null));this.source=c??(S==null||(i=S[0])===null||i===void 0?void 0:i.source),this.positions=p??(S==null?void 0:S.map(v=>v.start)),this.locations=p&&c?p.map(v=>J(c,v)):S==null?void 0:S.map(v=>J(v.source,v.start));let H=xt(T==null?void 0:T.extensions)?T==null?void 0:T.extensions:void 0;this.extensions=(s=w??H)!==null&&s!==void 0?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}}),T!=null&&T.stack?Object.defineProperty(this,"stack",{value:T.stack,writable:!0,configurable:!0}):Error.captureStackTrace?Error.captureStackTrace(this,Ae):Object.defineProperty(this,"stack",{value:Error().stack,writable:!0,configurable:!0})}get[Symbol.toStringTag](){return"GraphQLError"}toString(){let t=this.message;if(this.nodes)for(let n of this.nodes)n.loc&&(t+=` + +`+gt(n.loc));else if(this.source&&this.locations)for(let n of this.locations)t+=` + +`+pe(this.source,n);return t}toJSON(){let t={message:this.message};return this.locations!=null&&(t.locations=this.locations),this.path!=null&&(t.path=this.path),this.extensions!=null&&Object.keys(this.extensions).length>0&&(t.extensions=this.extensions),t}};function de(e){return e===void 0||e.length===0?void 0:e}function f(e,t,n){return new kt(`Syntax Error: ${n}`,{source:e,positions:[t]})}var Q;(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"})(Q||(Q={}));var l;(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"})(l||(l={}));function St(e){return e===9||e===32}function M(e){return e>=48&&e<=57}function fe(e){return e>=97&&e<=122||e>=65&&e<=90}function Ee(e){return fe(e)||e===95}function Ct(e){return fe(e)||M(e)||e===95}function bt(e){var t;let n=Number.MAX_SAFE_INTEGER,r=null,i=-1;for(let o=0;oc===0?o:o.slice(n)).slice((t=r)!==null&&t!==void 0?t:0,i+1)}function Lt(e){let t=0;for(;t=0&&e<=55295||e>=57344&&e<=1114111}function j(e,t){return me(e.charCodeAt(t))&&Te(e.charCodeAt(t+1))}function me(e){return e>=55296&&e<=56319}function Te(e){return e>=56320&&e<=57343}function b(e,t){let n=e.source.body.codePointAt(t);if(n===void 0)return a.EOF;if(n>=32&&n<=126){let r=String.fromCodePoint(n);return r==='"'?`'"'`:`"${r}"`}return"U+"+n.toString(16).toUpperCase().padStart(4,"0")}function d(e,t,n,r,i){let s=e.line,o=1+n-e.lineStart;return new re(t,n,r,s,o,i)}function wt(e,t){let n=e.source.body,r=n.length,i=t;for(;i=48&&e<=57?e-48:e>=65&&e<=70?e-55:e>=97&&e<=102?e-87:-1}function jt(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:` +`,size:2};case 114:return{value:"\r",size:2};case 116:return{value:" ",size:2}}throw f(e.source,t,`Invalid character escape sequence: "${n.slice(t,t+2)}".`)}function $t(e,t){let n=e.source.body,r=n.length,i=e.lineStart,s=t+3,o=s,c="",p=[];for(;s2?"["+Qt(e)+"]":"{ "+n.map(([r,i])=>r+": "+$(i,t)).join(", ")+" }"}function Jt(e,t){if(e.length===0)return"[]";if(t.length>2)return"[Array]";let n=Math.min(10,e.length),r=e.length-n,i=[];for(let s=0;s1&&i.push(`... ${r} more items`),"["+i.join(", ")+"]"}function Qt(e){let t=Object.prototype.toString.call(e).replace(/^\[object /,"").replace(/]$/,"");if(t==="Object"&&typeof e.constructor=="function"){let n=e.constructor.name;if(typeof n=="string"&&n!=="")return n}return t}var Xt=globalThis.process&&!0,zt=Xt?function(e,t){return e instanceof t}:function(e,t){if(e instanceof t)return!0;if(typeof e=="object"&&e!==null){var n;let r=t.prototype[Symbol.toStringTag],i=Symbol.toStringTag in e?e[Symbol.toStringTag]:(n=e.constructor)===null||n===void 0?void 0:n.name;if(r===i){let s=ve(e);throw new Error(`Cannot use ${r} "${s}" from another module or realm. + +Ensure that there is only one instance of "graphql" in the node_modules +directory. If different versions of "graphql" are the dependencies of other +relied on modules, use "resolutions" to ensure only one version is installed. + +https://yarnpkg.com/en/docs/selective-version-resolutions + +Duplicate "graphql" modules cannot be used at the same time since different +versions may have different capabilities and behavior. The data from one +version used in the function from another could produce confusing and +spurious results.`)}}return!1},Ie=class{constructor(e,t="GraphQL request",n={line:1,column:1}){typeof e=="string"||z(!1,`Body must be a string. Received: ${ve(e)}.`),this.body=e,this.name=t,this.locationOffset=n,this.locationOffset.line>0||z(!1,"line in locationOffset is 1-indexed and must be positive."),this.locationOffset.column>0||z(!1,"column in locationOffset is 1-indexed and must be positive.")}get[Symbol.toStringTag](){return"Source"}};function Ht(e){return zt(e,Ie)}function Wt(e,t){let n=new Zt(e,t),r=n.parseDocument();return Object.defineProperty(r,"tokenCount",{enumerable:!1,value:n.tokenCount}),r}var Zt=class{constructor(e,t={}){let n=Ht(e)?e:new Ie(e);this._lexer=new Rt(n),this._options=t,this._tokenCounter=0}get tokenCount(){return this._tokenCounter}parseName(){let e=this.expectToken(a.NAME);return this.node(e,{kind:l.NAME,value:e.value})}parseDocument(){return this.node(this._lexer.token,{kind:l.DOCUMENT,definitions:this.many(a.SOF,this.parseDefinition,a.EOF)})}parseDefinition(){if(this.peek(a.BRACE_L))return this.parseOperationDefinition();let e=this.peekDescription(),t=e?this._lexer.lookahead():this._lexer.token;if(t.kind===a.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()}if(e)throw f(this._lexer.source,this._lexer.token.start,"Unexpected description, descriptions are supported only on type definitions.");switch(t.value){case"query":case"mutation":case"subscription":return this.parseOperationDefinition();case"fragment":return this.parseFragmentDefinition();case"extend":return this.parseTypeSystemExtension()}}throw this.unexpected(t)}parseOperationDefinition(){let e=this._lexer.token;if(this.peek(a.BRACE_L))return this.node(e,{kind:l.OPERATION_DEFINITION,operation:R.QUERY,name:void 0,variableDefinitions:[],directives:[],selectionSet:this.parseSelectionSet()});let t=this.parseOperationType(),n;return this.peek(a.NAME)&&(n=this.parseName()),this.node(e,{kind:l.OPERATION_DEFINITION,operation:t,name:n,variableDefinitions:this.parseVariableDefinitions(),directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet()})}parseOperationType(){let e=this.expectToken(a.NAME);switch(e.value){case"query":return R.QUERY;case"mutation":return R.MUTATION;case"subscription":return R.SUBSCRIPTION}throw this.unexpected(e)}parseVariableDefinitions(){return this.optionalMany(a.PAREN_L,this.parseVariableDefinition,a.PAREN_R)}parseVariableDefinition(){return this.node(this._lexer.token,{kind:l.VARIABLE_DEFINITION,variable:this.parseVariable(),type:(this.expectToken(a.COLON),this.parseTypeReference()),defaultValue:this.expectOptionalToken(a.EQUALS)?this.parseConstValueLiteral():void 0,directives:this.parseConstDirectives()})}parseVariable(){let e=this._lexer.token;return this.expectToken(a.DOLLAR),this.node(e,{kind:l.VARIABLE,name:this.parseName()})}parseSelectionSet(){return this.node(this._lexer.token,{kind:l.SELECTION_SET,selections:this.many(a.BRACE_L,this.parseSelection,a.BRACE_R)})}parseSelection(){return this.peek(a.SPREAD)?this.parseFragment():this.parseField()}parseField(){let e=this._lexer.token,t=this.parseName(),n,r;return this.expectOptionalToken(a.COLON)?(n=t,r=this.parseName()):r=t,this.node(e,{kind:l.FIELD,alias:n,name:r,arguments:this.parseArguments(!1),directives:this.parseDirectives(!1),selectionSet:this.peek(a.BRACE_L)?this.parseSelectionSet():void 0})}parseArguments(e){let t=e?this.parseConstArgument:this.parseArgument;return this.optionalMany(a.PAREN_L,t,a.PAREN_R)}parseArgument(e=!1){let t=this._lexer.token,n=this.parseName();return this.expectToken(a.COLON),this.node(t,{kind:l.ARGUMENT,name:n,value:this.parseValueLiteral(e)})}parseConstArgument(){return this.parseArgument(!0)}parseFragment(){let e=this._lexer.token;this.expectToken(a.SPREAD);let t=this.expectOptionalKeyword("on");return!t&&this.peek(a.NAME)?this.node(e,{kind:l.FRAGMENT_SPREAD,name:this.parseFragmentName(),directives:this.parseDirectives(!1)}):this.node(e,{kind:l.INLINE_FRAGMENT,typeCondition:t?this.parseNamedType():void 0,directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet()})}parseFragmentDefinition(){let e=this._lexer.token;return this.expectKeyword("fragment"),this._options.allowLegacyFragmentVariables===!0?this.node(e,{kind:l.FRAGMENT_DEFINITION,name:this.parseFragmentName(),variableDefinitions:this.parseVariableDefinitions(),typeCondition:(this.expectKeyword("on"),this.parseNamedType()),directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet()}):this.node(e,{kind:l.FRAGMENT_DEFINITION,name:this.parseFragmentName(),typeCondition:(this.expectKeyword("on"),this.parseNamedType()),directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet()})}parseFragmentName(){if(this._lexer.token.value==="on")throw this.unexpected();return this.parseName()}parseValueLiteral(e){let t=this._lexer.token;switch(t.kind){case a.BRACKET_L:return this.parseList(e);case a.BRACE_L:return this.parseObject(e);case a.INT:return this.advanceLexer(),this.node(t,{kind:l.INT,value:t.value});case a.FLOAT:return this.advanceLexer(),this.node(t,{kind:l.FLOAT,value:t.value});case a.STRING:case a.BLOCK_STRING:return this.parseStringLiteral();case a.NAME:switch(this.advanceLexer(),t.value){case"true":return this.node(t,{kind:l.BOOLEAN,value:!0});case"false":return this.node(t,{kind:l.BOOLEAN,value:!1});case"null":return this.node(t,{kind:l.NULL});default:return this.node(t,{kind:l.ENUM,value:t.value})}case a.DOLLAR:if(e)if(this.expectToken(a.DOLLAR),this._lexer.token.kind===a.NAME){let n=this._lexer.token.value;throw f(this._lexer.source,t.start,`Unexpected variable "$${n}" in constant value.`)}else 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:l.STRING,value:e.value,block:e.kind===a.BLOCK_STRING})}parseList(e){let t=()=>this.parseValueLiteral(e);return this.node(this._lexer.token,{kind:l.LIST,values:this.any(a.BRACKET_L,t,a.BRACKET_R)})}parseObject(e){let t=()=>this.parseObjectField(e);return this.node(this._lexer.token,{kind:l.OBJECT,fields:this.any(a.BRACE_L,t,a.BRACE_R)})}parseObjectField(e){let t=this._lexer.token,n=this.parseName();return this.expectToken(a.COLON),this.node(t,{kind:l.OBJECT_FIELD,name:n,value:this.parseValueLiteral(e)})}parseDirectives(e){let t=[];for(;this.peek(a.AT);)t.push(this.parseDirective(e));return t}parseConstDirectives(){return this.parseDirectives(!0)}parseDirective(e){let t=this._lexer.token;return this.expectToken(a.AT),this.node(t,{kind:l.DIRECTIVE,name:this.parseName(),arguments:this.parseArguments(e)})}parseTypeReference(){let e=this._lexer.token,t;if(this.expectOptionalToken(a.BRACKET_L)){let n=this.parseTypeReference();this.expectToken(a.BRACKET_R),t=this.node(e,{kind:l.LIST_TYPE,type:n})}else t=this.parseNamedType();return this.expectOptionalToken(a.BANG)?this.node(e,{kind:l.NON_NULL_TYPE,type:t}):t}parseNamedType(){return this.node(this._lexer.token,{kind:l.NAMED_TYPE,name:this.parseName()})}peekDescription(){return this.peek(a.STRING)||this.peek(a.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(),r=this.many(a.BRACE_L,this.parseOperationTypeDefinition,a.BRACE_R);return this.node(e,{kind:l.SCHEMA_DEFINITION,description:t,directives:n,operationTypes:r})}parseOperationTypeDefinition(){let e=this._lexer.token,t=this.parseOperationType();this.expectToken(a.COLON);let n=this.parseNamedType();return this.node(e,{kind:l.OPERATION_TYPE_DEFINITION,operation:t,type:n})}parseScalarTypeDefinition(){let e=this._lexer.token,t=this.parseDescription();this.expectKeyword("scalar");let n=this.parseName(),r=this.parseConstDirectives();return this.node(e,{kind:l.SCALAR_TYPE_DEFINITION,description:t,name:n,directives:r})}parseObjectTypeDefinition(){let e=this._lexer.token,t=this.parseDescription();this.expectKeyword("type");let n=this.parseName(),r=this.parseImplementsInterfaces(),i=this.parseConstDirectives(),s=this.parseFieldsDefinition();return this.node(e,{kind:l.OBJECT_TYPE_DEFINITION,description:t,name:n,interfaces:r,directives:i,fields:s})}parseImplementsInterfaces(){return this.expectOptionalKeyword("implements")?this.delimitedMany(a.AMP,this.parseNamedType):[]}parseFieldsDefinition(){return this.optionalMany(a.BRACE_L,this.parseFieldDefinition,a.BRACE_R)}parseFieldDefinition(){let e=this._lexer.token,t=this.parseDescription(),n=this.parseName(),r=this.parseArgumentDefs();this.expectToken(a.COLON);let i=this.parseTypeReference(),s=this.parseConstDirectives();return this.node(e,{kind:l.FIELD_DEFINITION,description:t,name:n,arguments:r,type:i,directives:s})}parseArgumentDefs(){return this.optionalMany(a.PAREN_L,this.parseInputValueDef,a.PAREN_R)}parseInputValueDef(){let e=this._lexer.token,t=this.parseDescription(),n=this.parseName();this.expectToken(a.COLON);let r=this.parseTypeReference(),i;this.expectOptionalToken(a.EQUALS)&&(i=this.parseConstValueLiteral());let s=this.parseConstDirectives();return this.node(e,{kind:l.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(),r=this.parseImplementsInterfaces(),i=this.parseConstDirectives(),s=this.parseFieldsDefinition();return this.node(e,{kind:l.INTERFACE_TYPE_DEFINITION,description:t,name:n,interfaces:r,directives:i,fields:s})}parseUnionTypeDefinition(){let e=this._lexer.token,t=this.parseDescription();this.expectKeyword("union");let n=this.parseName(),r=this.parseConstDirectives(),i=this.parseUnionMemberTypes();return this.node(e,{kind:l.UNION_TYPE_DEFINITION,description:t,name:n,directives:r,types:i})}parseUnionMemberTypes(){return this.expectOptionalToken(a.EQUALS)?this.delimitedMany(a.PIPE,this.parseNamedType):[]}parseEnumTypeDefinition(){let e=this._lexer.token,t=this.parseDescription();this.expectKeyword("enum");let n=this.parseName(),r=this.parseConstDirectives(),i=this.parseEnumValuesDefinition();return this.node(e,{kind:l.ENUM_TYPE_DEFINITION,description:t,name:n,directives:r,values:i})}parseEnumValuesDefinition(){return this.optionalMany(a.BRACE_L,this.parseEnumValueDefinition,a.BRACE_R)}parseEnumValueDefinition(){let e=this._lexer.token,t=this.parseDescription(),n=this.parseEnumValueName(),r=this.parseConstDirectives();return this.node(e,{kind:l.ENUM_VALUE_DEFINITION,description:t,name:n,directives:r})}parseEnumValueName(){if(this._lexer.token.value==="true"||this._lexer.token.value==="false"||this._lexer.token.value==="null")throw f(this._lexer.source,this._lexer.token.start,`${K(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(),r=this.parseConstDirectives(),i=this.parseInputFieldsDefinition();return this.node(e,{kind:l.INPUT_OBJECT_TYPE_DEFINITION,description:t,name:n,directives:r,fields:i})}parseInputFieldsDefinition(){return this.optionalMany(a.BRACE_L,this.parseInputValueDef,a.BRACE_R)}parseTypeSystemExtension(){let e=this._lexer.lookahead();if(e.kind===a.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(a.BRACE_L,this.parseOperationTypeDefinition,a.BRACE_R);if(t.length===0&&n.length===0)throw this.unexpected();return this.node(e,{kind:l.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(n.length===0)throw this.unexpected();return this.node(e,{kind:l.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(),r=this.parseConstDirectives(),i=this.parseFieldsDefinition();if(n.length===0&&r.length===0&&i.length===0)throw this.unexpected();return this.node(e,{kind:l.OBJECT_TYPE_EXTENSION,name:t,interfaces:n,directives:r,fields:i})}parseInterfaceTypeExtension(){let e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("interface");let t=this.parseName(),n=this.parseImplementsInterfaces(),r=this.parseConstDirectives(),i=this.parseFieldsDefinition();if(n.length===0&&r.length===0&&i.length===0)throw this.unexpected();return this.node(e,{kind:l.INTERFACE_TYPE_EXTENSION,name:t,interfaces:n,directives:r,fields:i})}parseUnionTypeExtension(){let e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("union");let t=this.parseName(),n=this.parseConstDirectives(),r=this.parseUnionMemberTypes();if(n.length===0&&r.length===0)throw this.unexpected();return this.node(e,{kind:l.UNION_TYPE_EXTENSION,name:t,directives:n,types:r})}parseEnumTypeExtension(){let e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("enum");let t=this.parseName(),n=this.parseConstDirectives(),r=this.parseEnumValuesDefinition();if(n.length===0&&r.length===0)throw this.unexpected();return this.node(e,{kind:l.ENUM_TYPE_EXTENSION,name:t,directives:n,values:r})}parseInputObjectTypeExtension(){let e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("input");let t=this.parseName(),n=this.parseConstDirectives(),r=this.parseInputFieldsDefinition();if(n.length===0&&r.length===0)throw this.unexpected();return this.node(e,{kind:l.INPUT_OBJECT_TYPE_EXTENSION,name:t,directives:n,fields:r})}parseDirectiveDefinition(){let e=this._lexer.token,t=this.parseDescription();this.expectKeyword("directive"),this.expectToken(a.AT);let n=this.parseName(),r=this.parseArgumentDefs(),i=this.expectOptionalKeyword("repeatable");this.expectKeyword("on");let s=this.parseDirectiveLocations();return this.node(e,{kind:l.DIRECTIVE_DEFINITION,description:t,name:n,arguments:r,repeatable:i,locations:s})}parseDirectiveLocations(){return this.delimitedMany(a.PIPE,this.parseDirectiveLocation)}parseDirectiveLocation(){let e=this._lexer.token,t=this.parseName();if(Object.prototype.hasOwnProperty.call(Q,t.value))return t;throw this.unexpected(e)}node(e,t){return this._options.noLocation!==!0&&(t.loc=new nt(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 f(this._lexer.source,t.start,`Expected ${ye(e)}, found ${K(t)}.`)}expectOptionalToken(e){return this._lexer.token.kind===e?(this.advanceLexer(),!0):!1}expectKeyword(e){let t=this._lexer.token;if(t.kind===a.NAME&&t.value===e)this.advanceLexer();else throw f(this._lexer.source,t.start,`Expected "${e}", found ${K(t)}.`)}expectOptionalKeyword(e){let t=this._lexer.token;return t.kind===a.NAME&&t.value===e?(this.advanceLexer(),!0):!1}unexpected(e){let t=e??this._lexer.token;return f(this._lexer.source,t.start,`Unexpected ${K(t)}.`)}any(e,t,n){this.expectToken(e);let r=[];for(;!this.expectOptionalToken(n);)r.push(t.call(this));return r}optionalMany(e,t,n){if(this.expectOptionalToken(e)){let r=[];do r.push(t.call(this));while(!this.expectOptionalToken(n));return r}return[]}many(e,t,n){this.expectToken(e);let r=[];do r.push(t.call(this));while(!this.expectOptionalToken(n));return r}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!==a.EOF&&(++this._tokenCounter,e!==void 0&&this._tokenCounter>e))throw f(this._lexer.source,t.start,`Document contains more that ${e} tokens. Parsing aborted.`)}};function K(e){let t=e.value;return ye(e.kind)+(t!=null?` "${t}"`:"")}function ye(e){return Ft(e)?`"${e}"`:e}function en(e,t){let n=new SyntaxError(e+" ("+t.loc.start.line+":"+t.loc.start.column+")");return Object.assign(n,t)}var tn=en;function nn(e){let t=[],{startToken:n,endToken:r}=e.loc;for(let i=n;i!==r;i=i.next)i.kind==="Comment"&&t.push({...i,loc:{start:i.start,end:i.end}});return t}var rn={allowLegacyFragmentVariables:!0};function sn(e){if((e==null?void 0:e.name)==="GraphQLError"){let{message:t,locations:[n]}=e;return tn(t,{loc:{start:n},cause:e})}return e}function an(e){let t;try{t=Wt(e,rn)}catch(n){throw sn(n)}return t.comments=nn(t),t}var on={parse:an,astFormat:"graphql",hasPragma:lt,hasIgnorePragma:ct,locStart:ae,locEnd:oe},ln={graphql:Nt};return ke(ee)})})(W)),W.exports}var De=dn(),fn=pn(De),Tn=hn({__proto__:null,default:fn},[De]);export{Tn as g}; diff --git a/packages/app/assets/graphiql/extensions/graphiql/assets/graphql.worker-BJ6V8eRa.js b/packages/app/assets/graphiql/extensions/graphiql/assets/graphql.worker-BJ6V8eRa.js new file mode 100644 index 00000000000..77b99412d05 --- /dev/null +++ b/packages/app/assets/graphiql/extensions/graphiql/assets/graphql.worker-BJ6V8eRa.js @@ -0,0 +1,91 @@ +var Ff=Object.defineProperty;var Mf=(e,t,n)=>t in e?Ff(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;var Qe=(e,t,n)=>Mf(e,typeof t!="symbol"?t+"":t,n);class Pf{constructor(){this.listeners=[],this.unexpectedErrorHandler=function(t){setTimeout(()=>{throw t.stack?qn.isErrorNoTelemetry(t)?new qn(t.message+` + +`+t.stack):new Error(t.message+` + +`+t.stack):t},0)}}emit(t){this.listeners.forEach(n=>{n(t)})}onUnexpectedError(t){this.unexpectedErrorHandler(t),this.emit(t)}onUnexpectedExternalError(t){this.unexpectedErrorHandler(t)}}const Vf=new Pf;function ai(e){$f(e)||Vf.onUnexpectedError(e)}function xa(e){if(e instanceof Error){const{name:t,message:n}=e,i=e.stacktrace||e.stack;return{$isError:!0,name:t,message:n,stack:i,noTelemetry:qn.isErrorNoTelemetry(e)}}return e}const ns="Canceled";function $f(e){return e instanceof Uf?!0:e instanceof Error&&e.name===ns&&e.message===ns}class Uf extends Error{constructor(){super(ns),this.name=this.message}}class qn extends Error{constructor(t){super(t),this.name="CodeExpectedError"}static fromError(t){if(t instanceof qn)return t;const n=new qn;return n.message=t.message,n.stack=t.stack,n}static isErrorNoTelemetry(t){return t.name==="CodeExpectedError"}}class ht extends Error{constructor(t){super(t||"An unexpected bug occurred."),Object.setPrototypeOf(this,ht.prototype)}}function Bf(e,t){const n=this;let i=!1,r;return function(){return i||(i=!0,r=e.apply(n,arguments)),r}}var Hi;(function(e){function t(w){return w&&typeof w=="object"&&typeof w[Symbol.iterator]=="function"}e.is=t;const n=Object.freeze([]);function i(){return n}e.empty=i;function*r(w){yield w}e.single=r;function s(w){return t(w)?w:r(w)}e.wrap=s;function a(w){return w||n}e.from=a;function*o(w){for(let x=w.length-1;x>=0;x--)yield w[x]}e.reverse=o;function l(w){return!w||w[Symbol.iterator]().next().done===!0}e.isEmpty=l;function u(w){return w[Symbol.iterator]().next().value}e.first=u;function f(w,x){let C=0;for(const O of w)if(x(O,C++))return!0;return!1}e.some=f;function d(w,x){for(const C of w)if(x(C))return C}e.find=d;function*h(w,x){for(const C of w)x(C)&&(yield C)}e.filter=h;function*m(w,x){let C=0;for(const O of w)yield x(O,C++)}e.map=m;function*p(w,x){let C=0;for(const O of w)yield*x(O,C++)}e.flatMap=p;function*b(...w){for(const x of w)yield*x}e.concat=b;function T(w,x,C){let O=C;for(const j of w)O=x(O,j);return O}e.reduce=T;function*_(w,x,C=w.length){for(x<0&&(x+=w.length),C<0?C+=w.length:C>w.length&&(C=w.length);x1)throw new AggregateError(t,"Encountered errors while disposing of store");return Array.isArray(e)?[]:e}else if(e)return e.dispose(),e}function jf(...e){return Gi(()=>ec(e))}function Gi(e){return{dispose:Bf(()=>{e()})}}const pr=class pr{constructor(){this._toDispose=new Set,this._isDisposed=!1}dispose(){this._isDisposed||(this._isDisposed=!0,this.clear())}get isDisposed(){return this._isDisposed}clear(){if(this._toDispose.size!==0)try{ec(this._toDispose)}finally{this._toDispose.clear()}}add(t){if(!t)return t;if(t===this)throw new Error("Cannot register a disposable on itself!");return this._isDisposed?pr.DISABLE_DISPOSED_WARNING||console.warn(new Error("Trying to add a disposable to a DisposableStore that has already been disposed of. The added object will be leaked!").stack):this._toDispose.add(t),t}deleteAndLeak(t){t&&this._toDispose.has(t)&&this._toDispose.delete(t)}};pr.DISABLE_DISPOSED_WARNING=!1;let hi=pr;const Sa=class Sa{constructor(){this._store=new hi,this._store}dispose(){this._store.dispose()}_register(t){if(t===this)throw new Error("Cannot register a disposable on itself!");return this._store.add(t)}};Sa.None=Object.freeze({dispose(){}});let Hn=Sa;const kn=class kn{constructor(t){this.element=t,this.next=kn.Undefined,this.prev=kn.Undefined}};kn.Undefined=new kn(void 0);let we=kn;class qf{constructor(){this._first=we.Undefined,this._last=we.Undefined,this._size=0}get size(){return this._size}isEmpty(){return this._first===we.Undefined}clear(){let t=this._first;for(;t!==we.Undefined;){const n=t.next;t.prev=we.Undefined,t.next=we.Undefined,t=n}this._first=we.Undefined,this._last=we.Undefined,this._size=0}unshift(t){return this._insert(t,!1)}push(t){return this._insert(t,!0)}_insert(t,n){const i=new we(t);if(this._first===we.Undefined)this._first=i,this._last=i;else if(n){const s=this._last;this._last=i,i.prev=s,s.next=i}else{const s=this._first;this._first=i,i.next=s,s.prev=i}this._size+=1;let r=!1;return()=>{r||(r=!0,this._remove(i))}}shift(){if(this._first!==we.Undefined){const t=this._first.element;return this._remove(this._first),t}}pop(){if(this._last!==we.Undefined){const t=this._last.element;return this._remove(this._last),t}}_remove(t){if(t.prev!==we.Undefined&&t.next!==we.Undefined){const n=t.prev;n.next=t.next,t.next.prev=n}else t.prev===we.Undefined&&t.next===we.Undefined?(this._first=we.Undefined,this._last=we.Undefined):t.next===we.Undefined?(this._last=this._last.prev,this._last.next=we.Undefined):t.prev===we.Undefined&&(this._first=this._first.next,this._first.prev=we.Undefined);this._size-=1}*[Symbol.iterator](){let t=this._first;for(;t!==we.Undefined;)yield t.element,t=t.next}}const Hf=globalThis.performance&&typeof globalThis.performance.now=="function";class Er{static create(t){return new Er(t)}constructor(t){this._now=Hf&&t===!1?Date.now:globalThis.performance.now.bind(globalThis.performance),this._startTime=this._now(),this._stopTime=-1}stop(){this._stopTime=this._now()}reset(){this._startTime=this._now(),this._stopTime=-1}elapsed(){return this._stopTime!==-1?this._stopTime-this._startTime:this._now()-this._startTime}}var Wi;(function(e){e.None=()=>Hn.None;function t(F,k){return h(F,()=>{},0,void 0,!0,void 0,k)}e.defer=t;function n(F){return(k,H=null,$)=>{let U=!1,K;return K=F(ee=>{if(!U)return K?K.dispose():U=!0,k.call(H,ee)},null,$),U&&K.dispose(),K}}e.once=n;function i(F,k){return e.once(e.filter(F,k))}e.onceIf=i;function r(F,k,H){return f(($,U=null,K)=>F(ee=>$.call(U,k(ee)),null,K),H)}e.map=r;function s(F,k,H){return f(($,U=null,K)=>F(ee=>{k(ee),$.call(U,ee)},null,K),H)}e.forEach=s;function a(F,k,H){return f(($,U=null,K)=>F(ee=>k(ee)&&$.call(U,ee),null,K),H)}e.filter=a;function o(F){return F}e.signal=o;function l(...F){return(k,H=null,$)=>{const U=jf(...F.map(K=>K(ee=>k.call(H,ee))));return d(U,$)}}e.any=l;function u(F,k,H,$){let U=H;return r(F,K=>(U=k(U,K),U),$)}e.reduce=u;function f(F,k){let H;const $={onWillAddFirstListener(){H=F(U.fire,U)},onDidRemoveLastListener(){H==null||H.dispose()}},U=new bt($);return k==null||k.add(U),U.event}function d(F,k){return k instanceof Array?k.push(F):k&&k.add(F),F}function h(F,k,H=100,$=!1,U=!1,K,ee){let A,oe,L,V=0,y;const v={leakWarningThreshold:K,onWillAddFirstListener(){A=F(X=>{V++,oe=k(oe,X),$&&!L&&(z.fire(oe),oe=void 0),y=()=>{const se=oe;oe=void 0,L=void 0,(!$||V>1)&&z.fire(se),V=0},typeof H=="number"?(clearTimeout(L),L=setTimeout(y,H)):L===void 0&&(L=0,queueMicrotask(y))})},onWillRemoveListener(){U&&V>0&&(y==null||y())},onDidRemoveLastListener(){y=void 0,A.dispose()}},z=new bt(v);return ee==null||ee.add(z),z.event}e.debounce=h;function m(F,k=0,H){return e.debounce(F,($,U)=>$?($.push(U),$):[U],k,void 0,!0,void 0,H)}e.accumulate=m;function p(F,k=($,U)=>$===U,H){let $=!0,U;return a(F,K=>{const ee=$||!k(K,U);return $=!1,U=K,ee},H)}e.latch=p;function b(F,k,H){return[e.filter(F,k,H),e.filter(F,$=>!k($),H)]}e.split=b;function T(F,k=!1,H=[],$){let U=H.slice(),K=F(oe=>{U?U.push(oe):A.fire(oe)});$&&$.add(K);const ee=()=>{U==null||U.forEach(oe=>A.fire(oe)),U=null},A=new bt({onWillAddFirstListener(){K||(K=F(oe=>A.fire(oe)),$&&$.add(K))},onDidAddFirstListener(){U&&(k?setTimeout(ee):ee())},onDidRemoveLastListener(){K&&K.dispose(),K=null}});return $&&$.add(A),A.event}e.buffer=T;function _(F,k){return($,U,K)=>{const ee=k(new S);return F(function(A){const oe=ee.evaluate(A);oe!==I&&$.call(U,oe)},void 0,K)}}e.chain=_;const I=Symbol("HaltChainable");class S{constructor(){this.steps=[]}map(k){return this.steps.push(k),this}forEach(k){return this.steps.push(H=>(k(H),H)),this}filter(k){return this.steps.push(H=>k(H)?H:I),this}reduce(k,H){let $=H;return this.steps.push(U=>($=k($,U),$)),this}latch(k=(H,$)=>H===$){let H=!0,$;return this.steps.push(U=>{const K=H||!k(U,$);return H=!1,$=U,K?U:I}),this}evaluate(k){for(const H of this.steps)if(k=H(k),k===I)break;return k}}function w(F,k,H=$=>$){const $=(...A)=>ee.fire(H(...A)),U=()=>F.on(k,$),K=()=>F.removeListener(k,$),ee=new bt({onWillAddFirstListener:U,onDidRemoveLastListener:K});return ee.event}e.fromNodeEventEmitter=w;function x(F,k,H=$=>$){const $=(...A)=>ee.fire(H(...A)),U=()=>F.addEventListener(k,$),K=()=>F.removeEventListener(k,$),ee=new bt({onWillAddFirstListener:U,onDidRemoveLastListener:K});return ee.event}e.fromDOMEventEmitter=x;function C(F){return new Promise(k=>n(F)(k))}e.toPromise=C;function O(F){const k=new bt;return F.then(H=>{k.fire(H)},()=>{k.fire(void 0)}).finally(()=>{k.dispose()}),k.event}e.fromPromise=O;function j(F,k){return F(H=>k.fire(H))}e.forward=j;function N(F,k,H){return k(H),F($=>k($))}e.runAndSubscribe=N;class G{constructor(k,H){this._observable=k,this._counter=0,this._hasChanged=!1;const $={onWillAddFirstListener:()=>{k.addObserver(this),this._observable.reportChanges()},onDidRemoveLastListener:()=>{k.removeObserver(this)}};this.emitter=new bt($),H&&H.add(this.emitter)}beginUpdate(k){this._counter++}handlePossibleChange(k){}handleChange(k,H){this._hasChanged=!0}endUpdate(k){this._counter--,this._counter===0&&(this._observable.reportChanges(),this._hasChanged&&(this._hasChanged=!1,this.emitter.fire(this._observable.get())))}}function Q(F,k){return new G(F,k).emitter.event}e.fromObservable=Q;function B(F){return(k,H,$)=>{let U=0,K=!1;const ee={beginUpdate(){U++},endUpdate(){U--,U===0&&(F.reportChanges(),K&&(K=!1,k.call(H)))},handlePossibleChange(){},handleChange(){K=!0}};F.addObserver(ee),F.reportChanges();const A={dispose(){F.removeObserver(ee)}};return $ instanceof hi?$.add(A):Array.isArray($)&&$.push(A),A}}e.fromObservableLight=B})(Wi||(Wi={}));const On=class On{constructor(t){this.listenerCount=0,this.invocationCount=0,this.elapsedOverall=0,this.durations=[],this.name=`${t}_${On._idPool++}`,On.all.add(this)}start(t){this._stopWatch=new Er,this.listenerCount=t}stop(){if(this._stopWatch){const t=this._stopWatch.elapsed();this.durations.push(t),this.elapsedOverall+=t,this.invocationCount+=1,this._stopWatch=void 0}}};On.all=new Set,On._idPool=0;let is=On,Gf=-1;const gr=class gr{constructor(t,n,i=(gr._idPool++).toString(16).padStart(3,"0")){this._errorHandler=t,this.threshold=n,this.name=i,this._warnCountdown=0}dispose(){var t;(t=this._stacks)==null||t.clear()}check(t,n){const i=this.threshold;if(i<=0||n{const s=this._stacks.get(t.value)||0;this._stacks.set(t.value,s-1)}}getMostFrequentStack(){if(!this._stacks)return;let t,n=0;for(const[i,r]of this._stacks)(!t||n{var o,l,u,f,d;if(this._leakageMon&&this._size>this._leakageMon.threshold**2){const h=`[${this._leakageMon.name}] REFUSES to accept new listeners because it exceeded its threshold by far (${this._size} vs ${this._leakageMon.threshold})`;console.warn(h);const m=this._leakageMon.getMostFrequentStack()??["UNKNOWN stack",-1],p=new zf(`${h}. HINT: Stack shows most frequent listener (${m[1]}-times)`,m[0]);return(((o=this._options)==null?void 0:o.onListenerError)||ai)(p),Hn.None}if(this._disposed)return Hn.None;n&&(t=t.bind(n));const r=new kr(t);let s;this._leakageMon&&this._size>=Math.ceil(this._leakageMon.threshold*.2)&&(r.stack=na.create(),s=this._leakageMon.check(r.stack,this._size+1)),this._listeners?this._listeners instanceof kr?(this._deliveryQueue??(this._deliveryQueue=new Qf),this._listeners=[this._listeners,r]):this._listeners.push(r):((u=(l=this._options)==null?void 0:l.onWillAddFirstListener)==null||u.call(l,this),this._listeners=r,(d=(f=this._options)==null?void 0:f.onDidAddFirstListener)==null||d.call(f,this)),this._size++;const a=Gi(()=>{s==null||s(),this._removeListener(r)});return i instanceof hi?i.add(a):Array.isArray(i)&&i.push(a),a}),this._event}_removeListener(t){var s,a,o,l;if((a=(s=this._options)==null?void 0:s.onWillRemoveListener)==null||a.call(s,this),!this._listeners)return;if(this._size===1){this._listeners=void 0,(l=(o=this._options)==null?void 0:o.onDidRemoveLastListener)==null||l.call(o,this),this._size=0;return}const n=this._listeners,i=n.indexOf(t);if(i===-1)throw console.log("disposed?",this._disposed),console.log("size?",this._size),console.log("arr?",JSON.stringify(this._listeners)),new Error("Attempted to dispose unknown listener");this._size--,n[i]=void 0;const r=this._deliveryQueue.current===this;if(this._size*Yf<=n.length){let u=0;for(let f=0;f0}}class Qf{constructor(){this.i=-1,this.end=0}enqueue(t,n,i){this.i=0,this.end=i,this.current=t,this.value=n}reset(){this.i=this.end,this.current=void 0,this.value=void 0}}function Xf(){return globalThis._VSCODE_NLS_MESSAGES}function tc(){return globalThis._VSCODE_NLS_LANGUAGE}const Jf=tc()==="pseudo"||typeof document<"u"&&document.location&&document.location.hash.indexOf("pseudo=true")>=0;function wa(e,t){let n;return t.length===0?n=e:n=e.replace(/\{(\d+)\}/g,(i,r)=>{const s=r[0],a=t[s];let o=i;return typeof a=="string"?o=a:(typeof a=="number"||typeof a=="boolean"||a===void 0||a===null)&&(o=String(a)),o}),Jf&&(n="["+n.replace(/[aouei]/g,"$&$&")+"]"),n}function Ne(e,t,...n){return wa(typeof e=="number"?Zf(e,t):t,n)}function Zf(e,t){var i;const n=(i=Xf())==null?void 0:i[e];if(typeof n!="string"){if(typeof t=="string")return t;throw new Error(`!!! NLS MISSING: ${e} !!!`)}return n}const Rn="en";let ss=!1,as=!1,Or=!1,nc=!1,ia=!1,Ii,Fr=Rn,La=Rn,Kf,xt;const Ut=globalThis;let Je;var Xu;typeof Ut.vscode<"u"&&typeof Ut.vscode.process<"u"?Je=Ut.vscode.process:typeof process<"u"&&typeof((Xu=process==null?void 0:process.versions)==null?void 0:Xu.node)=="string"&&(Je=process);var Ju;const ed=typeof((Ju=Je==null?void 0:Je.versions)==null?void 0:Ju.electron)=="string",td=ed&&(Je==null?void 0:Je.type)==="renderer";var Zu;if(typeof Je=="object"){ss=Je.platform==="win32",as=Je.platform==="darwin",Or=Je.platform==="linux",Or&&Je.env.SNAP&&Je.env.SNAP_REVISION,Je.env.CI||Je.env.BUILD_ARTIFACTSTAGINGDIRECTORY,Ii=Rn,Fr=Rn;const e=Je.env.VSCODE_NLS_CONFIG;if(e)try{const t=JSON.parse(e);Ii=t.userLocale,La=t.osLocale,Fr=t.resolvedLanguage||Rn,Kf=(Zu=t.languagePack)==null?void 0:Zu.translationsConfigFile}catch{}nc=!0}else typeof navigator=="object"&&!td?(xt=navigator.userAgent,ss=xt.indexOf("Windows")>=0,as=xt.indexOf("Macintosh")>=0,(xt.indexOf("Macintosh")>=0||xt.indexOf("iPad")>=0||xt.indexOf("iPhone")>=0)&&navigator.maxTouchPoints&&navigator.maxTouchPoints>0,Or=xt.indexOf("Linux")>=0,(xt==null?void 0:xt.indexOf("Mobi"))>=0,ia=!0,Fr=tc()||Rn,Ii=navigator.language.toLowerCase(),La=Ii):console.error("Unable to resolve platform.");const mi=ss,nd=as,id=nc,rd=ia,sd=ia&&typeof Ut.importScripts=="function",ad=sd?Ut.origin:void 0,Pt=xt,od=typeof Ut.postMessage=="function"&&!Ut.importScripts;(()=>{if(od){const e=[];Ut.addEventListener("message",n=>{if(n.data&&n.data.vscodeScheduleAsyncWork)for(let i=0,r=e.length;i{const i=++t;e.push({id:i,callback:n}),Ut.postMessage({vscodeScheduleAsyncWork:i},"*")}}return e=>setTimeout(e)})();const ld=!!(Pt&&Pt.indexOf("Chrome")>=0);Pt&&Pt.indexOf("Firefox")>=0;!ld&&Pt&&Pt.indexOf("Safari")>=0;Pt&&Pt.indexOf("Edg/")>=0;Pt&&Pt.indexOf("Android")>=0;function ud(e){return e}class cd{constructor(t,n){this.lastCache=void 0,this.lastArgKey=void 0,typeof t=="function"?(this._fn=t,this._computeKey=ud):(this._fn=n,this._computeKey=t.getCacheKey)}get(t){const n=this._computeKey(t);return this.lastArgKey!==n&&(this.lastArgKey=n,this.lastCache=this._fn(t)),this.lastCache}}class Aa{constructor(t){this.executor=t,this._didRun=!1}get value(){if(!this._didRun)try{this._value=this.executor()}catch(t){this._error=t}finally{this._didRun=!0}if(this._error)throw this._error;return this._value}get rawValue(){return this._value}}function fd(e){return e.replace(/[\\\{\}\*\+\?\|\^\$\.\[\]\(\)]/g,"\\$&")}function dd(e){return e.split(/\r\n|\r|\n/)}function hd(e){for(let t=0,n=e.length;t=0;n--){const i=e.charCodeAt(n);if(i!==32&&i!==9)return n}return-1}function ic(e){return e>=65&&e<=90}function zi(e){return 55296<=e&&e<=56319}function os(e){return 56320<=e&&e<=57343}function rc(e,t){return(e-55296<<10)+(t-56320)+65536}function pd(e,t,n){const i=e.charCodeAt(n);if(zi(i)&&n+1JSON.parse('{"_common":[8232,32,8233,32,5760,32,8192,32,8193,32,8194,32,8195,32,8196,32,8197,32,8198,32,8200,32,8201,32,8202,32,8287,32,8199,32,8239,32,2042,95,65101,95,65102,95,65103,95,8208,45,8209,45,8210,45,65112,45,1748,45,8259,45,727,45,8722,45,10134,45,11450,45,1549,44,1643,44,8218,44,184,44,42233,44,894,59,2307,58,2691,58,1417,58,1795,58,1796,58,5868,58,65072,58,6147,58,6153,58,8282,58,1475,58,760,58,42889,58,8758,58,720,58,42237,58,451,33,11601,33,660,63,577,63,2429,63,5038,63,42731,63,119149,46,8228,46,1793,46,1794,46,42510,46,68176,46,1632,46,1776,46,42232,46,1373,96,65287,96,8219,96,8242,96,1370,96,1523,96,8175,96,65344,96,900,96,8189,96,8125,96,8127,96,8190,96,697,96,884,96,712,96,714,96,715,96,756,96,699,96,701,96,700,96,702,96,42892,96,1497,96,2036,96,2037,96,5194,96,5836,96,94033,96,94034,96,65339,91,10088,40,10098,40,12308,40,64830,40,65341,93,10089,41,10099,41,12309,41,64831,41,10100,123,119060,123,10101,125,65342,94,8270,42,1645,42,8727,42,66335,42,5941,47,8257,47,8725,47,8260,47,9585,47,10187,47,10744,47,119354,47,12755,47,12339,47,11462,47,20031,47,12035,47,65340,92,65128,92,8726,92,10189,92,10741,92,10745,92,119311,92,119355,92,12756,92,20022,92,12034,92,42872,38,708,94,710,94,5869,43,10133,43,66203,43,8249,60,10094,60,706,60,119350,60,5176,60,5810,60,5120,61,11840,61,12448,61,42239,61,8250,62,10095,62,707,62,119351,62,5171,62,94015,62,8275,126,732,126,8128,126,8764,126,65372,124,65293,45,120784,50,120794,50,120804,50,120814,50,120824,50,130034,50,42842,50,423,50,1000,50,42564,50,5311,50,42735,50,119302,51,120785,51,120795,51,120805,51,120815,51,120825,51,130035,51,42923,51,540,51,439,51,42858,51,11468,51,1248,51,94011,51,71882,51,120786,52,120796,52,120806,52,120816,52,120826,52,130036,52,5070,52,71855,52,120787,53,120797,53,120807,53,120817,53,120827,53,130037,53,444,53,71867,53,120788,54,120798,54,120808,54,120818,54,120828,54,130038,54,11474,54,5102,54,71893,54,119314,55,120789,55,120799,55,120809,55,120819,55,120829,55,130039,55,66770,55,71878,55,2819,56,2538,56,2666,56,125131,56,120790,56,120800,56,120810,56,120820,56,120830,56,130040,56,547,56,546,56,66330,56,2663,57,2920,57,2541,57,3437,57,120791,57,120801,57,120811,57,120821,57,120831,57,130041,57,42862,57,11466,57,71884,57,71852,57,71894,57,9082,97,65345,97,119834,97,119886,97,119938,97,119990,97,120042,97,120094,97,120146,97,120198,97,120250,97,120302,97,120354,97,120406,97,120458,97,593,97,945,97,120514,97,120572,97,120630,97,120688,97,120746,97,65313,65,119808,65,119860,65,119912,65,119964,65,120016,65,120068,65,120120,65,120172,65,120224,65,120276,65,120328,65,120380,65,120432,65,913,65,120488,65,120546,65,120604,65,120662,65,120720,65,5034,65,5573,65,42222,65,94016,65,66208,65,119835,98,119887,98,119939,98,119991,98,120043,98,120095,98,120147,98,120199,98,120251,98,120303,98,120355,98,120407,98,120459,98,388,98,5071,98,5234,98,5551,98,65314,66,8492,66,119809,66,119861,66,119913,66,120017,66,120069,66,120121,66,120173,66,120225,66,120277,66,120329,66,120381,66,120433,66,42932,66,914,66,120489,66,120547,66,120605,66,120663,66,120721,66,5108,66,5623,66,42192,66,66178,66,66209,66,66305,66,65347,99,8573,99,119836,99,119888,99,119940,99,119992,99,120044,99,120096,99,120148,99,120200,99,120252,99,120304,99,120356,99,120408,99,120460,99,7428,99,1010,99,11429,99,43951,99,66621,99,128844,67,71922,67,71913,67,65315,67,8557,67,8450,67,8493,67,119810,67,119862,67,119914,67,119966,67,120018,67,120174,67,120226,67,120278,67,120330,67,120382,67,120434,67,1017,67,11428,67,5087,67,42202,67,66210,67,66306,67,66581,67,66844,67,8574,100,8518,100,119837,100,119889,100,119941,100,119993,100,120045,100,120097,100,120149,100,120201,100,120253,100,120305,100,120357,100,120409,100,120461,100,1281,100,5095,100,5231,100,42194,100,8558,68,8517,68,119811,68,119863,68,119915,68,119967,68,120019,68,120071,68,120123,68,120175,68,120227,68,120279,68,120331,68,120383,68,120435,68,5024,68,5598,68,5610,68,42195,68,8494,101,65349,101,8495,101,8519,101,119838,101,119890,101,119942,101,120046,101,120098,101,120150,101,120202,101,120254,101,120306,101,120358,101,120410,101,120462,101,43826,101,1213,101,8959,69,65317,69,8496,69,119812,69,119864,69,119916,69,120020,69,120072,69,120124,69,120176,69,120228,69,120280,69,120332,69,120384,69,120436,69,917,69,120492,69,120550,69,120608,69,120666,69,120724,69,11577,69,5036,69,42224,69,71846,69,71854,69,66182,69,119839,102,119891,102,119943,102,119995,102,120047,102,120099,102,120151,102,120203,102,120255,102,120307,102,120359,102,120411,102,120463,102,43829,102,42905,102,383,102,7837,102,1412,102,119315,70,8497,70,119813,70,119865,70,119917,70,120021,70,120073,70,120125,70,120177,70,120229,70,120281,70,120333,70,120385,70,120437,70,42904,70,988,70,120778,70,5556,70,42205,70,71874,70,71842,70,66183,70,66213,70,66853,70,65351,103,8458,103,119840,103,119892,103,119944,103,120048,103,120100,103,120152,103,120204,103,120256,103,120308,103,120360,103,120412,103,120464,103,609,103,7555,103,397,103,1409,103,119814,71,119866,71,119918,71,119970,71,120022,71,120074,71,120126,71,120178,71,120230,71,120282,71,120334,71,120386,71,120438,71,1292,71,5056,71,5107,71,42198,71,65352,104,8462,104,119841,104,119945,104,119997,104,120049,104,120101,104,120153,104,120205,104,120257,104,120309,104,120361,104,120413,104,120465,104,1211,104,1392,104,5058,104,65320,72,8459,72,8460,72,8461,72,119815,72,119867,72,119919,72,120023,72,120179,72,120231,72,120283,72,120335,72,120387,72,120439,72,919,72,120494,72,120552,72,120610,72,120668,72,120726,72,11406,72,5051,72,5500,72,42215,72,66255,72,731,105,9075,105,65353,105,8560,105,8505,105,8520,105,119842,105,119894,105,119946,105,119998,105,120050,105,120102,105,120154,105,120206,105,120258,105,120310,105,120362,105,120414,105,120466,105,120484,105,618,105,617,105,953,105,8126,105,890,105,120522,105,120580,105,120638,105,120696,105,120754,105,1110,105,42567,105,1231,105,43893,105,5029,105,71875,105,65354,106,8521,106,119843,106,119895,106,119947,106,119999,106,120051,106,120103,106,120155,106,120207,106,120259,106,120311,106,120363,106,120415,106,120467,106,1011,106,1112,106,65322,74,119817,74,119869,74,119921,74,119973,74,120025,74,120077,74,120129,74,120181,74,120233,74,120285,74,120337,74,120389,74,120441,74,42930,74,895,74,1032,74,5035,74,5261,74,42201,74,119844,107,119896,107,119948,107,120000,107,120052,107,120104,107,120156,107,120208,107,120260,107,120312,107,120364,107,120416,107,120468,107,8490,75,65323,75,119818,75,119870,75,119922,75,119974,75,120026,75,120078,75,120130,75,120182,75,120234,75,120286,75,120338,75,120390,75,120442,75,922,75,120497,75,120555,75,120613,75,120671,75,120729,75,11412,75,5094,75,5845,75,42199,75,66840,75,1472,108,8739,73,9213,73,65512,73,1633,108,1777,73,66336,108,125127,108,120783,73,120793,73,120803,73,120813,73,120823,73,130033,73,65321,73,8544,73,8464,73,8465,73,119816,73,119868,73,119920,73,120024,73,120128,73,120180,73,120232,73,120284,73,120336,73,120388,73,120440,73,65356,108,8572,73,8467,108,119845,108,119897,108,119949,108,120001,108,120053,108,120105,73,120157,73,120209,73,120261,73,120313,73,120365,73,120417,73,120469,73,448,73,120496,73,120554,73,120612,73,120670,73,120728,73,11410,73,1030,73,1216,73,1493,108,1503,108,1575,108,126464,108,126592,108,65166,108,65165,108,1994,108,11599,73,5825,73,42226,73,93992,73,66186,124,66313,124,119338,76,8556,76,8466,76,119819,76,119871,76,119923,76,120027,76,120079,76,120131,76,120183,76,120235,76,120287,76,120339,76,120391,76,120443,76,11472,76,5086,76,5290,76,42209,76,93974,76,71843,76,71858,76,66587,76,66854,76,65325,77,8559,77,8499,77,119820,77,119872,77,119924,77,120028,77,120080,77,120132,77,120184,77,120236,77,120288,77,120340,77,120392,77,120444,77,924,77,120499,77,120557,77,120615,77,120673,77,120731,77,1018,77,11416,77,5047,77,5616,77,5846,77,42207,77,66224,77,66321,77,119847,110,119899,110,119951,110,120003,110,120055,110,120107,110,120159,110,120211,110,120263,110,120315,110,120367,110,120419,110,120471,110,1400,110,1404,110,65326,78,8469,78,119821,78,119873,78,119925,78,119977,78,120029,78,120081,78,120185,78,120237,78,120289,78,120341,78,120393,78,120445,78,925,78,120500,78,120558,78,120616,78,120674,78,120732,78,11418,78,42208,78,66835,78,3074,111,3202,111,3330,111,3458,111,2406,111,2662,111,2790,111,3046,111,3174,111,3302,111,3430,111,3664,111,3792,111,4160,111,1637,111,1781,111,65359,111,8500,111,119848,111,119900,111,119952,111,120056,111,120108,111,120160,111,120212,111,120264,111,120316,111,120368,111,120420,111,120472,111,7439,111,7441,111,43837,111,959,111,120528,111,120586,111,120644,111,120702,111,120760,111,963,111,120532,111,120590,111,120648,111,120706,111,120764,111,11423,111,4351,111,1413,111,1505,111,1607,111,126500,111,126564,111,126596,111,65259,111,65260,111,65258,111,65257,111,1726,111,64428,111,64429,111,64427,111,64426,111,1729,111,64424,111,64425,111,64423,111,64422,111,1749,111,3360,111,4125,111,66794,111,71880,111,71895,111,66604,111,1984,79,2534,79,2918,79,12295,79,70864,79,71904,79,120782,79,120792,79,120802,79,120812,79,120822,79,130032,79,65327,79,119822,79,119874,79,119926,79,119978,79,120030,79,120082,79,120134,79,120186,79,120238,79,120290,79,120342,79,120394,79,120446,79,927,79,120502,79,120560,79,120618,79,120676,79,120734,79,11422,79,1365,79,11604,79,4816,79,2848,79,66754,79,42227,79,71861,79,66194,79,66219,79,66564,79,66838,79,9076,112,65360,112,119849,112,119901,112,119953,112,120005,112,120057,112,120109,112,120161,112,120213,112,120265,112,120317,112,120369,112,120421,112,120473,112,961,112,120530,112,120544,112,120588,112,120602,112,120646,112,120660,112,120704,112,120718,112,120762,112,120776,112,11427,112,65328,80,8473,80,119823,80,119875,80,119927,80,119979,80,120031,80,120083,80,120187,80,120239,80,120291,80,120343,80,120395,80,120447,80,929,80,120504,80,120562,80,120620,80,120678,80,120736,80,11426,80,5090,80,5229,80,42193,80,66197,80,119850,113,119902,113,119954,113,120006,113,120058,113,120110,113,120162,113,120214,113,120266,113,120318,113,120370,113,120422,113,120474,113,1307,113,1379,113,1382,113,8474,81,119824,81,119876,81,119928,81,119980,81,120032,81,120084,81,120188,81,120240,81,120292,81,120344,81,120396,81,120448,81,11605,81,119851,114,119903,114,119955,114,120007,114,120059,114,120111,114,120163,114,120215,114,120267,114,120319,114,120371,114,120423,114,120475,114,43847,114,43848,114,7462,114,11397,114,43905,114,119318,82,8475,82,8476,82,8477,82,119825,82,119877,82,119929,82,120033,82,120189,82,120241,82,120293,82,120345,82,120397,82,120449,82,422,82,5025,82,5074,82,66740,82,5511,82,42211,82,94005,82,65363,115,119852,115,119904,115,119956,115,120008,115,120060,115,120112,115,120164,115,120216,115,120268,115,120320,115,120372,115,120424,115,120476,115,42801,115,445,115,1109,115,43946,115,71873,115,66632,115,65331,83,119826,83,119878,83,119930,83,119982,83,120034,83,120086,83,120138,83,120190,83,120242,83,120294,83,120346,83,120398,83,120450,83,1029,83,1359,83,5077,83,5082,83,42210,83,94010,83,66198,83,66592,83,119853,116,119905,116,119957,116,120009,116,120061,116,120113,116,120165,116,120217,116,120269,116,120321,116,120373,116,120425,116,120477,116,8868,84,10201,84,128872,84,65332,84,119827,84,119879,84,119931,84,119983,84,120035,84,120087,84,120139,84,120191,84,120243,84,120295,84,120347,84,120399,84,120451,84,932,84,120507,84,120565,84,120623,84,120681,84,120739,84,11430,84,5026,84,42196,84,93962,84,71868,84,66199,84,66225,84,66325,84,119854,117,119906,117,119958,117,120010,117,120062,117,120114,117,120166,117,120218,117,120270,117,120322,117,120374,117,120426,117,120478,117,42911,117,7452,117,43854,117,43858,117,651,117,965,117,120534,117,120592,117,120650,117,120708,117,120766,117,1405,117,66806,117,71896,117,8746,85,8899,85,119828,85,119880,85,119932,85,119984,85,120036,85,120088,85,120140,85,120192,85,120244,85,120296,85,120348,85,120400,85,120452,85,1357,85,4608,85,66766,85,5196,85,42228,85,94018,85,71864,85,8744,118,8897,118,65366,118,8564,118,119855,118,119907,118,119959,118,120011,118,120063,118,120115,118,120167,118,120219,118,120271,118,120323,118,120375,118,120427,118,120479,118,7456,118,957,118,120526,118,120584,118,120642,118,120700,118,120758,118,1141,118,1496,118,71430,118,43945,118,71872,118,119309,86,1639,86,1783,86,8548,86,119829,86,119881,86,119933,86,119985,86,120037,86,120089,86,120141,86,120193,86,120245,86,120297,86,120349,86,120401,86,120453,86,1140,86,11576,86,5081,86,5167,86,42719,86,42214,86,93960,86,71840,86,66845,86,623,119,119856,119,119908,119,119960,119,120012,119,120064,119,120116,119,120168,119,120220,119,120272,119,120324,119,120376,119,120428,119,120480,119,7457,119,1121,119,1309,119,1377,119,71434,119,71438,119,71439,119,43907,119,71919,87,71910,87,119830,87,119882,87,119934,87,119986,87,120038,87,120090,87,120142,87,120194,87,120246,87,120298,87,120350,87,120402,87,120454,87,1308,87,5043,87,5076,87,42218,87,5742,120,10539,120,10540,120,10799,120,65368,120,8569,120,119857,120,119909,120,119961,120,120013,120,120065,120,120117,120,120169,120,120221,120,120273,120,120325,120,120377,120,120429,120,120481,120,5441,120,5501,120,5741,88,9587,88,66338,88,71916,88,65336,88,8553,88,119831,88,119883,88,119935,88,119987,88,120039,88,120091,88,120143,88,120195,88,120247,88,120299,88,120351,88,120403,88,120455,88,42931,88,935,88,120510,88,120568,88,120626,88,120684,88,120742,88,11436,88,11613,88,5815,88,42219,88,66192,88,66228,88,66327,88,66855,88,611,121,7564,121,65369,121,119858,121,119910,121,119962,121,120014,121,120066,121,120118,121,120170,121,120222,121,120274,121,120326,121,120378,121,120430,121,120482,121,655,121,7935,121,43866,121,947,121,8509,121,120516,121,120574,121,120632,121,120690,121,120748,121,1199,121,4327,121,71900,121,65337,89,119832,89,119884,89,119936,89,119988,89,120040,89,120092,89,120144,89,120196,89,120248,89,120300,89,120352,89,120404,89,120456,89,933,89,978,89,120508,89,120566,89,120624,89,120682,89,120740,89,11432,89,1198,89,5033,89,5053,89,42220,89,94019,89,71844,89,66226,89,119859,122,119911,122,119963,122,120015,122,120067,122,120119,122,120171,122,120223,122,120275,122,120327,122,120379,122,120431,122,120483,122,7458,122,43923,122,71876,122,66293,90,71909,90,65338,90,8484,90,8488,90,119833,90,119885,90,119937,90,119989,90,120041,90,120197,90,120249,90,120301,90,120353,90,120405,90,120457,90,918,90,120493,90,120551,90,120609,90,120667,90,120725,90,5059,90,42204,90,71849,90,65282,34,65284,36,65285,37,65286,38,65290,42,65291,43,65294,46,65295,47,65296,48,65297,49,65298,50,65299,51,65300,52,65301,53,65302,54,65303,55,65304,56,65305,57,65308,60,65309,61,65310,62,65312,64,65316,68,65318,70,65319,71,65324,76,65329,81,65330,82,65333,85,65334,86,65335,87,65343,95,65346,98,65348,100,65350,102,65355,107,65357,109,65358,110,65361,113,65362,114,65364,116,65365,117,65367,119,65370,122,65371,123,65373,125,119846,109],"_default":[160,32,8211,45,65374,126,65306,58,65281,33,8216,96,8217,96,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],"cs":[65374,126,65306,58,65281,33,8216,96,8217,96,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,1093,120,1061,88,1091,121,1059,89,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],"de":[65374,126,65306,58,65281,33,8216,96,8217,96,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,1093,120,1061,88,1091,121,1059,89,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],"es":[8211,45,65374,126,65306,58,65281,33,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],"fr":[65374,126,65306,58,65281,33,8216,96,8245,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],"it":[160,32,8211,45,65374,126,65306,58,65281,33,8216,96,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],"ja":[8211,45,65306,58,65281,33,8216,96,8217,96,8245,96,180,96,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65283,35,65292,44,65307,59],"ko":[8211,45,65374,126,65306,58,65281,33,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],"pl":[65374,126,65306,58,65281,33,8216,96,8217,96,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],"pt-BR":[65374,126,65306,58,65281,33,8216,96,8217,96,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],"qps-ploc":[160,32,8211,45,65374,126,65306,58,65281,33,8216,96,8217,96,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],"ru":[65374,126,65306,58,65281,33,8216,96,8217,96,8245,96,180,96,12494,47,305,105,921,73,1009,112,215,120,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],"tr":[160,32,8211,45,65374,126,65306,58,65281,33,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],"zh-hans":[65374,126,65306,58,65281,33,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65288,40,65289,41],"zh-hant":[8211,45,65374,126,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65283,35,65307,59]}')),kt.cache=new cd({getCacheKey:JSON.stringify},t=>{function n(f){const d=new Map;for(let h=0;h!f.startsWith("_")&&f in s);a.length===0&&(a=["_default"]);let o;for(const f of a){const d=n(s[f]);o=r(o,d)}const l=n(s._common),u=i(l,o);return new kt(u)}),kt._locales=new Aa(()=>Object.keys(kt.ambiguousCharacterData.value).filter(t=>!t.startsWith("_")));let pi=kt;const Fn=class Fn{static getRawData(){return JSON.parse("[9,10,11,12,13,32,127,160,173,847,1564,4447,4448,6068,6069,6155,6156,6157,6158,7355,7356,8192,8193,8194,8195,8196,8197,8198,8199,8200,8201,8202,8203,8204,8205,8206,8207,8234,8235,8236,8237,8238,8239,8287,8288,8289,8290,8291,8292,8293,8294,8295,8296,8297,8298,8299,8300,8301,8302,8303,10240,12288,12644,65024,65025,65026,65027,65028,65029,65030,65031,65032,65033,65034,65035,65036,65037,65038,65039,65279,65440,65520,65521,65522,65523,65524,65525,65526,65527,65528,65532,78844,119155,119156,119157,119158,119159,119160,119161,119162,917504,917505,917506,917507,917508,917509,917510,917511,917512,917513,917514,917515,917516,917517,917518,917519,917520,917521,917522,917523,917524,917525,917526,917527,917528,917529,917530,917531,917532,917533,917534,917535,917536,917537,917538,917539,917540,917541,917542,917543,917544,917545,917546,917547,917548,917549,917550,917551,917552,917553,917554,917555,917556,917557,917558,917559,917560,917561,917562,917563,917564,917565,917566,917567,917568,917569,917570,917571,917572,917573,917574,917575,917576,917577,917578,917579,917580,917581,917582,917583,917584,917585,917586,917587,917588,917589,917590,917591,917592,917593,917594,917595,917596,917597,917598,917599,917600,917601,917602,917603,917604,917605,917606,917607,917608,917609,917610,917611,917612,917613,917614,917615,917616,917617,917618,917619,917620,917621,917622,917623,917624,917625,917626,917627,917628,917629,917630,917631,917760,917761,917762,917763,917764,917765,917766,917767,917768,917769,917770,917771,917772,917773,917774,917775,917776,917777,917778,917779,917780,917781,917782,917783,917784,917785,917786,917787,917788,917789,917790,917791,917792,917793,917794,917795,917796,917797,917798,917799,917800,917801,917802,917803,917804,917805,917806,917807,917808,917809,917810,917811,917812,917813,917814,917815,917816,917817,917818,917819,917820,917821,917822,917823,917824,917825,917826,917827,917828,917829,917830,917831,917832,917833,917834,917835,917836,917837,917838,917839,917840,917841,917842,917843,917844,917845,917846,917847,917848,917849,917850,917851,917852,917853,917854,917855,917856,917857,917858,917859,917860,917861,917862,917863,917864,917865,917866,917867,917868,917869,917870,917871,917872,917873,917874,917875,917876,917877,917878,917879,917880,917881,917882,917883,917884,917885,917886,917887,917888,917889,917890,917891,917892,917893,917894,917895,917896,917897,917898,917899,917900,917901,917902,917903,917904,917905,917906,917907,917908,917909,917910,917911,917912,917913,917914,917915,917916,917917,917918,917919,917920,917921,917922,917923,917924,917925,917926,917927,917928,917929,917930,917931,917932,917933,917934,917935,917936,917937,917938,917939,917940,917941,917942,917943,917944,917945,917946,917947,917948,917949,917950,917951,917952,917953,917954,917955,917956,917957,917958,917959,917960,917961,917962,917963,917964,917965,917966,917967,917968,917969,917970,917971,917972,917973,917974,917975,917976,917977,917978,917979,917980,917981,917982,917983,917984,917985,917986,917987,917988,917989,917990,917991,917992,917993,917994,917995,917996,917997,917998,917999]")}static getData(){return this._data||(this._data=new Set(Fn.getRawData())),this._data}static isInvisibleCharacter(t){return Fn.getData().has(t)}static get codePoints(){return Fn.getData()}};Fn._data=void 0;let oi=Fn;var Ia={};let Vn;const Mr=globalThis.vscode;var Ku;if(typeof Mr<"u"&&typeof Mr.process<"u"){const e=Mr.process;Vn={get platform(){return e.platform},get arch(){return e.arch},get env(){return e.env},cwd(){return e.cwd()}}}else typeof process<"u"&&typeof((Ku=process==null?void 0:process.versions)==null?void 0:Ku.node)=="string"?Vn={get platform(){return process.platform},get arch(){return process.arch},get env(){return Ia},cwd(){return Ia.VSCODE_CWD||process.cwd()}}:Vn={get platform(){return mi?"win32":nd?"darwin":"linux"},get arch(){},get env(){return{}},cwd(){return"/"}};const Yi=Vn.cwd,yd=Vn.env,vd=Vn.platform,_d=65,Nd=97,Ed=90,Td=122,en=46,Ge=47,ut=92,zt=58,Sd=63;class sc extends Error{constructor(t,n,i){let r;typeof n=="string"&&n.indexOf("not ")===0?(r="must not be",n=n.replace(/^not /,"")):r="must be";const s=t.indexOf(".")!==-1?"property":"argument";let a=`The "${t}" ${s} ${r} of type ${n}`;a+=`. Received type ${typeof i}`,super(a),this.code="ERR_INVALID_ARG_TYPE"}}function xd(e,t){if(e===null||typeof e!="object")throw new sc(t,"Object",e)}function Ie(e,t){if(typeof e!="string")throw new sc(t,"string",e)}const Wt=vd==="win32";function re(e){return e===Ge||e===ut}function ls(e){return e===Ge}function Yt(e){return e>=_d&&e<=Ed||e>=Nd&&e<=Td}function Qi(e,t,n,i){let r="",s=0,a=-1,o=0,l=0;for(let u=0;u<=e.length;++u){if(u2){const f=r.lastIndexOf(n);f===-1?(r="",s=0):(r=r.slice(0,f),s=r.length-1-r.lastIndexOf(n)),a=u,o=0;continue}else if(r.length!==0){r="",s=0,a=u,o=0;continue}}t&&(r+=r.length>0?`${n}..`:"..",s=2)}else r.length>0?r+=`${n}${e.slice(a+1,u)}`:r=e.slice(a+1,u),s=u-a-1;a=u,o=0}else l===en&&o!==-1?++o:o=-1}return r}function wd(e){return e?`${e[0]==="."?"":"."}${e}`:""}function ac(e,t){xd(t,"pathObject");const n=t.dir||t.root,i=t.base||`${t.name||""}${wd(t.ext)}`;return n?n===t.root?`${n}${i}`:`${n}${e}${i}`:i}const Ke={resolve(...e){let t="",n="",i=!1;for(let r=e.length-1;r>=-1;r--){let s;if(r>=0){if(s=e[r],Ie(s,`paths[${r}]`),s.length===0)continue}else t.length===0?s=Yi():(s=yd[`=${t}`]||Yi(),(s===void 0||s.slice(0,2).toLowerCase()!==t.toLowerCase()&&s.charCodeAt(2)===ut)&&(s=`${t}\\`));const a=s.length;let o=0,l="",u=!1;const f=s.charCodeAt(0);if(a===1)re(f)&&(o=1,u=!0);else if(re(f))if(u=!0,re(s.charCodeAt(1))){let d=2,h=d;for(;d2&&re(s.charCodeAt(2))&&(u=!0,o=3));if(l.length>0)if(t.length>0){if(l.toLowerCase()!==t.toLowerCase())continue}else t=l;if(i){if(t.length>0)break}else if(n=`${s.slice(o)}\\${n}`,i=u,u&&t.length>0)break}return n=Qi(n,!i,"\\",re),i?`${t}\\${n}`:`${t}${n}`||"."},normalize(e){Ie(e,"path");const t=e.length;if(t===0)return".";let n=0,i,r=!1;const s=e.charCodeAt(0);if(t===1)return ls(s)?"\\":e;if(re(s))if(r=!0,re(e.charCodeAt(1))){let o=2,l=o;for(;o2&&re(e.charCodeAt(2))&&(r=!0,n=3));let a=n0&&re(e.charCodeAt(t-1))&&(a+="\\"),i===void 0?r?`\\${a}`:a:r?`${i}\\${a}`:`${i}${a}`},isAbsolute(e){Ie(e,"path");const t=e.length;if(t===0)return!1;const n=e.charCodeAt(0);return re(n)||t>2&&Yt(n)&&e.charCodeAt(1)===zt&&re(e.charCodeAt(2))},join(...e){if(e.length===0)return".";let t,n;for(let s=0;s0&&(t===void 0?t=n=a:t+=`\\${a}`)}if(t===void 0)return".";let i=!0,r=0;if(typeof n=="string"&&re(n.charCodeAt(0))){++r;const s=n.length;s>1&&re(n.charCodeAt(1))&&(++r,s>2&&(re(n.charCodeAt(2))?++r:i=!1))}if(i){for(;r=2&&(t=`\\${t.slice(r)}`)}return Ke.normalize(t)},relative(e,t){if(Ie(e,"from"),Ie(t,"to"),e===t)return"";const n=Ke.resolve(e),i=Ke.resolve(t);if(n===i||(e=n.toLowerCase(),t=i.toLowerCase(),e===t))return"";let r=0;for(;rr&&e.charCodeAt(s-1)===ut;)s--;const a=s-r;let o=0;for(;oo&&t.charCodeAt(l-1)===ut;)l--;const u=l-o,f=af){if(t.charCodeAt(o+h)===ut)return i.slice(o+h+1);if(h===2)return i.slice(o+h)}a>f&&(e.charCodeAt(r+h)===ut?d=h:h===2&&(d=3)),d===-1&&(d=0)}let m="";for(h=r+d+1;h<=s;++h)(h===s||e.charCodeAt(h)===ut)&&(m+=m.length===0?"..":"\\..");return o+=d,m.length>0?`${m}${i.slice(o,l)}`:(i.charCodeAt(o)===ut&&++o,i.slice(o,l))},toNamespacedPath(e){if(typeof e!="string"||e.length===0)return e;const t=Ke.resolve(e);if(t.length<=2)return e;if(t.charCodeAt(0)===ut){if(t.charCodeAt(1)===ut){const n=t.charCodeAt(2);if(n!==Sd&&n!==en)return`\\\\?\\UNC\\${t.slice(2)}`}}else if(Yt(t.charCodeAt(0))&&t.charCodeAt(1)===zt&&t.charCodeAt(2)===ut)return`\\\\?\\${t}`;return e},dirname(e){Ie(e,"path");const t=e.length;if(t===0)return".";let n=-1,i=0;const r=e.charCodeAt(0);if(t===1)return re(r)?e:".";if(re(r)){if(n=i=1,re(e.charCodeAt(1))){let o=2,l=o;for(;o2&&re(e.charCodeAt(2))?3:2,i=n);let s=-1,a=!0;for(let o=t-1;o>=i;--o)if(re(e.charCodeAt(o))){if(!a){s=o;break}}else a=!1;if(s===-1){if(n===-1)return".";s=n}return e.slice(0,s)},basename(e,t){t!==void 0&&Ie(t,"suffix"),Ie(e,"path");let n=0,i=-1,r=!0,s;if(e.length>=2&&Yt(e.charCodeAt(0))&&e.charCodeAt(1)===zt&&(n=2),t!==void 0&&t.length>0&&t.length<=e.length){if(t===e)return"";let a=t.length-1,o=-1;for(s=e.length-1;s>=n;--s){const l=e.charCodeAt(s);if(re(l)){if(!r){n=s+1;break}}else o===-1&&(r=!1,o=s+1),a>=0&&(l===t.charCodeAt(a)?--a===-1&&(i=s):(a=-1,i=o))}return n===i?i=o:i===-1&&(i=e.length),e.slice(n,i)}for(s=e.length-1;s>=n;--s)if(re(e.charCodeAt(s))){if(!r){n=s+1;break}}else i===-1&&(r=!1,i=s+1);return i===-1?"":e.slice(n,i)},extname(e){Ie(e,"path");let t=0,n=-1,i=0,r=-1,s=!0,a=0;e.length>=2&&e.charCodeAt(1)===zt&&Yt(e.charCodeAt(0))&&(t=i=2);for(let o=e.length-1;o>=t;--o){const l=e.charCodeAt(o);if(re(l)){if(!s){i=o+1;break}continue}r===-1&&(s=!1,r=o+1),l===en?n===-1?n=o:a!==1&&(a=1):n!==-1&&(a=-1)}return n===-1||r===-1||a===0||a===1&&n===r-1&&n===i+1?"":e.slice(n,r)},format:ac.bind(null,"\\"),parse(e){Ie(e,"path");const t={root:"",dir:"",base:"",ext:"",name:""};if(e.length===0)return t;const n=e.length;let i=0,r=e.charCodeAt(0);if(n===1)return re(r)?(t.root=t.dir=e,t):(t.base=t.name=e,t);if(re(r)){if(i=1,re(e.charCodeAt(1))){let d=2,h=d;for(;d0&&(t.root=e.slice(0,i));let s=-1,a=i,o=-1,l=!0,u=e.length-1,f=0;for(;u>=i;--u){if(r=e.charCodeAt(u),re(r)){if(!l){a=u+1;break}continue}o===-1&&(l=!1,o=u+1),r===en?s===-1?s=u:f!==1&&(f=1):s!==-1&&(f=-1)}return o!==-1&&(s===-1||f===0||f===1&&s===o-1&&s===a+1?t.base=t.name=e.slice(a,o):(t.name=e.slice(a,s),t.base=e.slice(a,o),t.ext=e.slice(s,o))),a>0&&a!==i?t.dir=e.slice(0,a-1):t.dir=t.root,t},sep:"\\",delimiter:";",win32:null,posix:null},Ld=(()=>{if(Wt){const e=/\\/g;return()=>{const t=Yi().replace(e,"/");return t.slice(t.indexOf("/"))}}return()=>Yi()})(),et={resolve(...e){let t="",n=!1;for(let i=e.length-1;i>=-1&&!n;i--){const r=i>=0?e[i]:Ld();Ie(r,`paths[${i}]`),r.length!==0&&(t=`${r}/${t}`,n=r.charCodeAt(0)===Ge)}return t=Qi(t,!n,"/",ls),n?`/${t}`:t.length>0?t:"."},normalize(e){if(Ie(e,"path"),e.length===0)return".";const t=e.charCodeAt(0)===Ge,n=e.charCodeAt(e.length-1)===Ge;return e=Qi(e,!t,"/",ls),e.length===0?t?"/":n?"./":".":(n&&(e+="/"),t?`/${e}`:e)},isAbsolute(e){return Ie(e,"path"),e.length>0&&e.charCodeAt(0)===Ge},join(...e){if(e.length===0)return".";let t;for(let n=0;n0&&(t===void 0?t=i:t+=`/${i}`)}return t===void 0?".":et.normalize(t)},relative(e,t){if(Ie(e,"from"),Ie(t,"to"),e===t||(e=et.resolve(e),t=et.resolve(t),e===t))return"";const n=1,i=e.length,r=i-n,s=1,a=t.length-s,o=ro){if(t.charCodeAt(s+u)===Ge)return t.slice(s+u+1);if(u===0)return t.slice(s+u)}else r>o&&(e.charCodeAt(n+u)===Ge?l=u:u===0&&(l=0));let f="";for(u=n+l+1;u<=i;++u)(u===i||e.charCodeAt(u)===Ge)&&(f+=f.length===0?"..":"/..");return`${f}${t.slice(s+l)}`},toNamespacedPath(e){return e},dirname(e){if(Ie(e,"path"),e.length===0)return".";const t=e.charCodeAt(0)===Ge;let n=-1,i=!0;for(let r=e.length-1;r>=1;--r)if(e.charCodeAt(r)===Ge){if(!i){n=r;break}}else i=!1;return n===-1?t?"/":".":t&&n===1?"//":e.slice(0,n)},basename(e,t){t!==void 0&&Ie(t,"ext"),Ie(e,"path");let n=0,i=-1,r=!0,s;if(t!==void 0&&t.length>0&&t.length<=e.length){if(t===e)return"";let a=t.length-1,o=-1;for(s=e.length-1;s>=0;--s){const l=e.charCodeAt(s);if(l===Ge){if(!r){n=s+1;break}}else o===-1&&(r=!1,o=s+1),a>=0&&(l===t.charCodeAt(a)?--a===-1&&(i=s):(a=-1,i=o))}return n===i?i=o:i===-1&&(i=e.length),e.slice(n,i)}for(s=e.length-1;s>=0;--s)if(e.charCodeAt(s)===Ge){if(!r){n=s+1;break}}else i===-1&&(r=!1,i=s+1);return i===-1?"":e.slice(n,i)},extname(e){Ie(e,"path");let t=-1,n=0,i=-1,r=!0,s=0;for(let a=e.length-1;a>=0;--a){const o=e.charCodeAt(a);if(o===Ge){if(!r){n=a+1;break}continue}i===-1&&(r=!1,i=a+1),o===en?t===-1?t=a:s!==1&&(s=1):t!==-1&&(s=-1)}return t===-1||i===-1||s===0||s===1&&t===i-1&&t===n+1?"":e.slice(t,i)},format:ac.bind(null,"/"),parse(e){Ie(e,"path");const t={root:"",dir:"",base:"",ext:"",name:""};if(e.length===0)return t;const n=e.charCodeAt(0)===Ge;let i;n?(t.root="/",i=1):i=0;let r=-1,s=0,a=-1,o=!0,l=e.length-1,u=0;for(;l>=i;--l){const f=e.charCodeAt(l);if(f===Ge){if(!o){s=l+1;break}continue}a===-1&&(o=!1,a=l+1),f===en?r===-1?r=l:u!==1&&(u=1):r!==-1&&(u=-1)}if(a!==-1){const f=s===0&&n?1:s;r===-1||u===0||u===1&&r===a-1&&r===s+1?t.base=t.name=e.slice(f,a):(t.name=e.slice(f,r),t.base=e.slice(f,a),t.ext=e.slice(r,a))}return s>0?t.dir=e.slice(0,s-1):n&&(t.dir="/"),t},sep:"/",delimiter:":",win32:null,posix:null};et.win32=Ke.win32=Ke;et.posix=Ke.posix=et;Wt?Ke.normalize:et.normalize;const Ad=Wt?Ke.join:et.join;Wt?Ke.resolve:et.resolve;Wt?Ke.relative:et.relative;Wt?Ke.dirname:et.dirname;Wt?Ke.basename:et.basename;Wt?Ke.extname:et.extname;Wt?Ke.sep:et.sep;const Id=/^\w[\w\d+.-]*$/,Rd=/^\//,Cd=/^\/\//;function Dd(e,t){if(!e.scheme&&t)throw new Error(`[UriError]: Scheme is missing: {scheme: "", authority: "${e.authority}", path: "${e.path}", query: "${e.query}", fragment: "${e.fragment}"}`);if(e.scheme&&!Id.test(e.scheme))throw new Error("[UriError]: Scheme contains illegal characters.");if(e.path){if(e.authority){if(!Rd.test(e.path))throw new Error('[UriError]: If a URI contains an authority component, then the path component must either be empty or begin with a slash ("/") character')}else if(Cd.test(e.path))throw new Error('[UriError]: If a URI does not contain an authority component, then the path cannot begin with two slash characters ("//")')}}function kd(e,t){return!e&&!t?"file":e}function Od(e,t){switch(e){case"https":case"http":case"file":t?t[0]!==wt&&(t=wt+t):t=wt;break}return t}const ye="",wt="/",Fd=/^(([^:/?#]+?):)?(\/\/([^/?#]*))?([^?#]*)(\?([^#]*))?(#(.*))?/;let Ot=class Mi{static isUri(t){return t instanceof Mi?!0:t?typeof t.authority=="string"&&typeof t.fragment=="string"&&typeof t.path=="string"&&typeof t.query=="string"&&typeof t.scheme=="string"&&typeof t.fsPath=="string"&&typeof t.with=="function"&&typeof t.toString=="function":!1}constructor(t,n,i,r,s,a=!1){typeof t=="object"?(this.scheme=t.scheme||ye,this.authority=t.authority||ye,this.path=t.path||ye,this.query=t.query||ye,this.fragment=t.fragment||ye):(this.scheme=kd(t,a),this.authority=n||ye,this.path=Od(this.scheme,i||ye),this.query=r||ye,this.fragment=s||ye,Dd(this,a))}get fsPath(){return us(this,!1)}with(t){if(!t)return this;let{scheme:n,authority:i,path:r,query:s,fragment:a}=t;return n===void 0?n=this.scheme:n===null&&(n=ye),i===void 0?i=this.authority:i===null&&(i=ye),r===void 0?r=this.path:r===null&&(r=ye),s===void 0?s=this.query:s===null&&(s=ye),a===void 0?a=this.fragment:a===null&&(a=ye),n===this.scheme&&i===this.authority&&r===this.path&&s===this.query&&a===this.fragment?this:new En(n,i,r,s,a)}static parse(t,n=!1){const i=Fd.exec(t);return i?new En(i[2]||ye,Ri(i[4]||ye),Ri(i[5]||ye),Ri(i[7]||ye),Ri(i[9]||ye),n):new En(ye,ye,ye,ye,ye)}static file(t){let n=ye;if(mi&&(t=t.replace(/\\/g,wt)),t[0]===wt&&t[1]===wt){const i=t.indexOf(wt,2);i===-1?(n=t.substring(2),t=wt):(n=t.substring(2,i),t=t.substring(i)||wt)}return new En("file",n,t,ye,ye)}static from(t,n){return new En(t.scheme,t.authority,t.path,t.query,t.fragment,n)}static joinPath(t,...n){if(!t.path)throw new Error("[UriError]: cannot call joinPath on URI without path");let i;return mi&&t.scheme==="file"?i=Mi.file(Ke.join(us(t,!0),...n)).path:i=et.join(t.path,...n),t.with({path:i})}toString(t=!1){return cs(this,t)}toJSON(){return this}static revive(t){if(t){if(t instanceof Mi)return t;{const n=new En(t);return n._formatted=t.external??null,n._fsPath=t._sep===oc?t.fsPath??null:null,n}}else return t}};const oc=mi?1:void 0;class En extends Ot{constructor(){super(...arguments),this._formatted=null,this._fsPath=null}get fsPath(){return this._fsPath||(this._fsPath=us(this,!1)),this._fsPath}toString(t=!1){return t?cs(this,!0):(this._formatted||(this._formatted=cs(this,!1)),this._formatted)}toJSON(){const t={$mid:1};return this._fsPath&&(t.fsPath=this._fsPath,t._sep=oc),this._formatted&&(t.external=this._formatted),this.path&&(t.path=this.path),this.scheme&&(t.scheme=this.scheme),this.authority&&(t.authority=this.authority),this.query&&(t.query=this.query),this.fragment&&(t.fragment=this.fragment),t}}const lc={58:"%3A",47:"%2F",63:"%3F",35:"%23",91:"%5B",93:"%5D",64:"%40",33:"%21",36:"%24",38:"%26",39:"%27",40:"%28",41:"%29",42:"%2A",43:"%2B",44:"%2C",59:"%3B",61:"%3D",32:"%20"};function Ra(e,t,n){let i,r=-1;for(let s=0;s=97&&a<=122||a>=65&&a<=90||a>=48&&a<=57||a===45||a===46||a===95||a===126||t&&a===47||n&&a===91||n&&a===93||n&&a===58)r!==-1&&(i+=encodeURIComponent(e.substring(r,s)),r=-1),i!==void 0&&(i+=e.charAt(s));else{i===void 0&&(i=e.substr(0,s));const o=lc[a];o!==void 0?(r!==-1&&(i+=encodeURIComponent(e.substring(r,s)),r=-1),i+=o):r===-1&&(r=s)}}return r!==-1&&(i+=encodeURIComponent(e.substring(r))),i!==void 0?i:e}function Md(e){let t;for(let n=0;n1&&e.scheme==="file"?n=`//${e.authority}${e.path}`:e.path.charCodeAt(0)===47&&(e.path.charCodeAt(1)>=65&&e.path.charCodeAt(1)<=90||e.path.charCodeAt(1)>=97&&e.path.charCodeAt(1)<=122)&&e.path.charCodeAt(2)===58?t?n=e.path.substr(1):n=e.path[1].toLowerCase()+e.path.substr(2):n=e.path,mi&&(n=n.replace(/\//g,"\\")),n}function cs(e,t){const n=t?Md:Ra;let i="",{scheme:r,authority:s,path:a,query:o,fragment:l}=e;if(r&&(i+=r,i+=":"),(s||r==="file")&&(i+=wt,i+=wt),s){let u=s.indexOf("@");if(u!==-1){const f=s.substr(0,u);s=s.substr(u+1),u=f.lastIndexOf(":"),u===-1?i+=n(f,!1,!1):(i+=n(f.substr(0,u),!1,!1),i+=":",i+=n(f.substr(u+1),!1,!0)),i+="@"}s=s.toLowerCase(),u=s.lastIndexOf(":"),u===-1?i+=n(s,!1,!0):(i+=n(s.substr(0,u),!1,!0),i+=s.substr(u))}if(a){if(a.length>=3&&a.charCodeAt(0)===47&&a.charCodeAt(2)===58){const u=a.charCodeAt(1);u>=65&&u<=90&&(a=`/${String.fromCharCode(u+32)}:${a.substr(3)}`)}else if(a.length>=2&&a.charCodeAt(1)===58){const u=a.charCodeAt(0);u>=65&&u<=90&&(a=`${String.fromCharCode(u+32)}:${a.substr(2)}`)}i+=n(a,!0,!1)}return o&&(i+="?",i+=n(o,!1,!1)),l&&(i+="#",i+=t?l:Ra(l,!1,!1)),i}function uc(e){try{return decodeURIComponent(e)}catch{return e.length>3?e.substr(0,3)+uc(e.substr(3)):e}}const Ca=/(%[0-9A-Za-z][0-9A-Za-z])+/g;function Ri(e){return e.match(Ca)?e.replace(Ca,t=>uc(t)):e}var Zt;(function(e){e.inMemory="inmemory",e.vscode="vscode",e.internal="private",e.walkThrough="walkThrough",e.walkThroughSnippet="walkThroughSnippet",e.http="http",e.https="https",e.file="file",e.mailto="mailto",e.untitled="untitled",e.data="data",e.command="command",e.vscodeRemote="vscode-remote",e.vscodeRemoteResource="vscode-remote-resource",e.vscodeManagedRemoteResource="vscode-managed-remote-resource",e.vscodeUserData="vscode-userdata",e.vscodeCustomEditor="vscode-custom-editor",e.vscodeNotebookCell="vscode-notebook-cell",e.vscodeNotebookCellMetadata="vscode-notebook-cell-metadata",e.vscodeNotebookCellMetadataDiff="vscode-notebook-cell-metadata-diff",e.vscodeNotebookCellOutput="vscode-notebook-cell-output",e.vscodeNotebookCellOutputDiff="vscode-notebook-cell-output-diff",e.vscodeNotebookMetadata="vscode-notebook-metadata",e.vscodeInteractiveInput="vscode-interactive-input",e.vscodeSettings="vscode-settings",e.vscodeWorkspaceTrust="vscode-workspace-trust",e.vscodeTerminal="vscode-terminal",e.vscodeChatCodeBlock="vscode-chat-code-block",e.vscodeChatCodeCompareBlock="vscode-chat-code-compare-block",e.vscodeChatSesssion="vscode-chat-editor",e.webviewPanel="webview-panel",e.vscodeWebview="vscode-webview",e.extension="extension",e.vscodeFileResource="vscode-file",e.tmp="tmp",e.vsls="vsls",e.vscodeSourceControl="vscode-scm",e.commentsInput="comment",e.codeSetting="code-setting",e.outputChannel="output"})(Zt||(Zt={}));const Pd="tkn";class Vd{constructor(){this._hosts=Object.create(null),this._ports=Object.create(null),this._connectionTokens=Object.create(null),this._preferredWebSchema="http",this._delegate=null,this._serverRootPath="/"}setPreferredWebSchema(t){this._preferredWebSchema=t}get _remoteResourcesPath(){return et.join(this._serverRootPath,Zt.vscodeRemoteResource)}rewrite(t){if(this._delegate)try{return this._delegate(t)}catch(o){return ai(o),t}const n=t.authority;let i=this._hosts[n];i&&i.indexOf(":")!==-1&&i.indexOf("[")===-1&&(i=`[${i}]`);const r=this._ports[n],s=this._connectionTokens[n];let a=`path=${encodeURIComponent(t.path)}`;return typeof s=="string"&&(a+=`&${Pd}=${encodeURIComponent(s)}`),Ot.from({scheme:rd?this._preferredWebSchema:Zt.vscodeRemoteResource,authority:`${i}:${r}`,path:this._remoteResourcesPath,query:a})}}const $d=new Vd,Ud="vscode-app",ci=class ci{asBrowserUri(t){const n=this.toUri(t);return this.uriToBrowserUri(n)}uriToBrowserUri(t){return t.scheme===Zt.vscodeRemote?$d.rewrite(t):t.scheme===Zt.file&&(id||ad===`${Zt.vscodeFileResource}://${ci.FALLBACK_AUTHORITY}`)?t.with({scheme:Zt.vscodeFileResource,authority:t.authority||ci.FALLBACK_AUTHORITY,query:null,fragment:null}):t}toUri(t,n){if(Ot.isUri(t))return t;if(globalThis._VSCODE_FILE_ROOT){const i=globalThis._VSCODE_FILE_ROOT;if(/^\w[\w\d+.-]*:\/\//.test(i))return Ot.joinPath(Ot.parse(i,!0),t);const r=Ad(i,t);return Ot.file(r)}return Ot.parse(n.toUrl(t))}};ci.FALLBACK_AUTHORITY=Ud;let fs=ci;const cc=new fs;var Da;(function(e){const t=new Map([["1",{"Cross-Origin-Opener-Policy":"same-origin"}],["2",{"Cross-Origin-Embedder-Policy":"require-corp"}],["3",{"Cross-Origin-Opener-Policy":"same-origin","Cross-Origin-Embedder-Policy":"require-corp"}]]);e.CoopAndCoep=Object.freeze(t.get("3"));const n="vscode-coi";function i(s){let a;typeof s=="string"?a=new URL(s).searchParams:s instanceof URL?a=s.searchParams:Ot.isUri(s)&&(a=new URL(s.toString(!0)).searchParams);const o=a==null?void 0:a.get(n);if(o)return t.get(o)}e.getHeadersFromQuery=i;function r(s,a,o){if(!globalThis.crossOriginIsolated)return;const l=a&&o?"3":o?"2":"1";s instanceof URLSearchParams?s.set(n,l):s[n]=l}e.addSearchParam=r})(Da||(Da={}));const Pr="default",Bd="$initialize";class jd{constructor(t,n,i,r,s){this.vsWorker=t,this.req=n,this.channel=i,this.method=r,this.args=s,this.type=0}}class ka{constructor(t,n,i,r){this.vsWorker=t,this.seq=n,this.res=i,this.err=r,this.type=1}}class qd{constructor(t,n,i,r,s){this.vsWorker=t,this.req=n,this.channel=i,this.eventName=r,this.arg=s,this.type=2}}class Hd{constructor(t,n,i){this.vsWorker=t,this.req=n,this.event=i,this.type=3}}class Gd{constructor(t,n){this.vsWorker=t,this.req=n,this.type=4}}class Wd{constructor(t){this._workerId=-1,this._handler=t,this._lastSentReq=0,this._pendingReplies=Object.create(null),this._pendingEmitters=new Map,this._pendingEvents=new Map}setWorkerId(t){this._workerId=t}sendMessage(t,n,i){const r=String(++this._lastSentReq);return new Promise((s,a)=>{this._pendingReplies[r]={resolve:s,reject:a},this._send(new jd(this._workerId,r,t,n,i))})}listen(t,n,i){let r=null;const s=new bt({onWillAddFirstListener:()=>{r=String(++this._lastSentReq),this._pendingEmitters.set(r,s),this._send(new qd(this._workerId,r,t,n,i))},onDidRemoveLastListener:()=>{this._pendingEmitters.delete(r),this._send(new Gd(this._workerId,r)),r=null}});return s.event}handleMessage(t){!t||!t.vsWorker||this._workerId!==-1&&t.vsWorker!==this._workerId||this._handleMessage(t)}createProxyToRemoteChannel(t,n){const i={get:(r,s)=>(typeof s=="string"&&!r[s]&&(dc(s)?r[s]=a=>this.listen(t,s,a):fc(s)?r[s]=this.listen(t,s,void 0):s.charCodeAt(0)===36&&(r[s]=async(...a)=>(await(n==null?void 0:n()),this.sendMessage(t,s,a)))),r[s])};return new Proxy(Object.create(null),i)}_handleMessage(t){switch(t.type){case 1:return this._handleReplyMessage(t);case 0:return this._handleRequestMessage(t);case 2:return this._handleSubscribeEventMessage(t);case 3:return this._handleEventMessage(t);case 4:return this._handleUnsubscribeEventMessage(t)}}_handleReplyMessage(t){if(!this._pendingReplies[t.seq]){console.warn("Got reply to unknown seq");return}const n=this._pendingReplies[t.seq];if(delete this._pendingReplies[t.seq],t.err){let i=t.err;t.err.$isError&&(i=new Error,i.name=t.err.name,i.message=t.err.message,i.stack=t.err.stack),n.reject(i);return}n.resolve(t.res)}_handleRequestMessage(t){const n=t.req;this._handler.handleMessage(t.channel,t.method,t.args).then(r=>{this._send(new ka(this._workerId,n,r,void 0))},r=>{r.detail instanceof Error&&(r.detail=xa(r.detail)),this._send(new ka(this._workerId,n,void 0,xa(r)))})}_handleSubscribeEventMessage(t){const n=t.req,i=this._handler.handleEvent(t.channel,t.eventName,t.arg)(r=>{this._send(new Hd(this._workerId,n,r))});this._pendingEvents.set(n,i)}_handleEventMessage(t){if(!this._pendingEmitters.has(t.req)){console.warn("Got event for unknown req");return}this._pendingEmitters.get(t.req).fire(t.event)}_handleUnsubscribeEventMessage(t){if(!this._pendingEvents.has(t.req)){console.warn("Got unsubscribe for unknown req");return}this._pendingEvents.get(t.req).dispose(),this._pendingEvents.delete(t.req)}_send(t){const n=[];if(t.type===0)for(let i=0;i{t(i,r)},handleMessage:(i,r,s)=>this._handleMessage(i,r,s),handleEvent:(i,r,s)=>this._handleEvent(i,r,s)})}onmessage(t){this._protocol.handleMessage(t)}_handleMessage(t,n,i){if(t===Pr&&n===Bd)return this.initialize(i[0],i[1],i[2]);const r=t===Pr?this._requestHandler:this._localChannels.get(t);if(!r)return Promise.reject(new Error(`Missing channel ${t} on worker thread`));if(typeof r[n]!="function")return Promise.reject(new Error(`Missing method ${n} on worker thread channel ${t}`));try{return Promise.resolve(r[n].apply(r,i))}catch(s){return Promise.reject(s)}}_handleEvent(t,n,i){const r=t===Pr?this._requestHandler:this._localChannels.get(t);if(!r)throw new Error(`Missing channel ${t} on worker thread`);if(dc(n)){const s=r[n].call(r,i);if(typeof s!="function")throw new Error(`Missing dynamic event ${n} on request handler.`);return s}if(fc(n)){const s=r[n];if(typeof s!="function")throw new Error(`Missing event ${n} on request handler.`);return s}throw new Error(`Malformed event name ${n}`)}getChannel(t){if(!this._remoteChannels.has(t)){const n=this._protocol.createProxyToRemoteChannel(t);this._remoteChannels.set(t,n)}return this._remoteChannels.get(t)}async initialize(t,n,i){if(this._protocol.setWorkerId(t),this._requestHandlerFactory){this._requestHandler=this._requestHandlerFactory(this);return}return n&&(typeof n.baseUrl<"u"&&delete n.baseUrl,typeof n.paths<"u"&&typeof n.paths.vs<"u"&&delete n.paths.vs,typeof n.trustedTypesPolicy<"u"&&delete n.trustedTypesPolicy,n.catchError=!0,globalThis.require.config(n)),import(`${cc.asBrowserUri(`${i}.js`).toString(!0)}`).then(s=>{if(this._requestHandler=s.create(this),!this._requestHandler)throw new Error("No RequestHandler!")})}}class Qt{constructor(t,n,i,r){this.originalStart=t,this.originalLength=n,this.modifiedStart=i,this.modifiedLength=r}getOriginalEnd(){return this.originalStart+this.originalLength}getModifiedEnd(){return this.modifiedStart+this.modifiedLength}}function Oa(e,t){return(t<<5)-t+e|0}function Yd(e,t){t=Oa(149417,t);for(let n=0,i=e.length;n>>i)>>>0}function Fa(e,t=0,n=e.byteLength,i=0){for(let r=0;rn.toString(16).padStart(2,"0")).join(""):Qd((e>>>0).toString(16),t/4)}const br=class br{constructor(){this._h0=1732584193,this._h1=4023233417,this._h2=2562383102,this._h3=271733878,this._h4=3285377520,this._buff=new Uint8Array(67),this._buffDV=new DataView(this._buff.buffer),this._buffLen=0,this._totalLen=0,this._leftoverHighSurrogate=0,this._finished=!1}update(t){const n=t.length;if(n===0)return;const i=this._buff;let r=this._buffLen,s=this._leftoverHighSurrogate,a,o;for(s!==0?(a=s,o=-1,s=0):(a=t.charCodeAt(0),o=0);;){let l=a;if(zi(a))if(o+1>>6,t[n++]=128|(i&63)>>>0):i<65536?(t[n++]=224|(i&61440)>>>12,t[n++]=128|(i&4032)>>>6,t[n++]=128|(i&63)>>>0):(t[n++]=240|(i&1835008)>>>18,t[n++]=128|(i&258048)>>>12,t[n++]=128|(i&4032)>>>6,t[n++]=128|(i&63)>>>0),n>=64&&(this._step(),n-=64,this._totalLen+=64,t[0]=t[64],t[1]=t[65],t[2]=t[66]),n}digest(){return this._finished||(this._finished=!0,this._leftoverHighSurrogate&&(this._leftoverHighSurrogate=0,this._buffLen=this._push(this._buff,this._buffLen,65533)),this._totalLen+=this._buffLen,this._wrapUp()),Zn(this._h0)+Zn(this._h1)+Zn(this._h2)+Zn(this._h3)+Zn(this._h4)}_wrapUp(){this._buff[this._buffLen++]=128,Fa(this._buff,this._buffLen),this._buffLen>56&&(this._step(),Fa(this._buff));const t=8*this._totalLen;this._buffDV.setUint32(56,Math.floor(t/4294967296),!1),this._buffDV.setUint32(60,t%4294967296,!1),this._step()}_step(){const t=br._bigBlock32,n=this._buffDV;for(let d=0;d<64;d+=4)t.setUint32(d,n.getUint32(d,!1),!1);for(let d=64;d<320;d+=4)t.setUint32(d,Vr(t.getUint32(d-12,!1)^t.getUint32(d-32,!1)^t.getUint32(d-56,!1)^t.getUint32(d-64,!1),1),!1);let i=this._h0,r=this._h1,s=this._h2,a=this._h3,o=this._h4,l,u,f;for(let d=0;d<80;d++)d<20?(l=r&s|~r&a,u=1518500249):d<40?(l=r^s^a,u=1859775393):d<60?(l=r&s|r&a|s&a,u=2400959708):(l=r^s^a,u=3395469782),f=Vr(i,5)+l+o+u+t.getUint32(d*4,!1)&4294967295,o=a,a=s,s=Vr(r,30),r=i,i=f;this._h0=this._h0+i&4294967295,this._h1=this._h1+r&4294967295,this._h2=this._h2+s&4294967295,this._h3=this._h3+a&4294967295,this._h4=this._h4+o&4294967295}};br._bigBlock32=new DataView(new ArrayBuffer(320));let Ma=br;class Pa{constructor(t){this.source=t}getElements(){const t=this.source,n=new Int32Array(t.length);for(let i=0,r=t.length;i0||this.m_modifiedCount>0)&&this.m_changes.push(new Qt(this.m_originalStart,this.m_originalCount,this.m_modifiedStart,this.m_modifiedCount)),this.m_originalCount=0,this.m_modifiedCount=0,this.m_originalStart=1073741824,this.m_modifiedStart=1073741824}AddOriginalElement(t,n){this.m_originalStart=Math.min(this.m_originalStart,t),this.m_modifiedStart=Math.min(this.m_modifiedStart,n),this.m_originalCount++}AddModifiedElement(t,n){this.m_originalStart=Math.min(this.m_originalStart,t),this.m_modifiedStart=Math.min(this.m_modifiedStart,n),this.m_modifiedCount++}getChanges(){return(this.m_originalCount>0||this.m_modifiedCount>0)&&this.MarkNextChange(),this.m_changes}getReverseChanges(){return(this.m_originalCount>0||this.m_modifiedCount>0)&&this.MarkNextChange(),this.m_changes.reverse(),this.m_changes}}class Jt{constructor(t,n,i=null){this.ContinueProcessingPredicate=i,this._originalSequence=t,this._modifiedSequence=n;const[r,s,a]=Jt._getElements(t),[o,l,u]=Jt._getElements(n);this._hasStrings=a&&u,this._originalStringElements=r,this._originalElementsOrHash=s,this._modifiedStringElements=o,this._modifiedElementsOrHash=l,this.m_forwardHistory=[],this.m_reverseHistory=[]}static _isStringArray(t){return t.length>0&&typeof t[0]=="string"}static _getElements(t){const n=t.getElements();if(Jt._isStringArray(n)){const i=new Int32Array(n.length);for(let r=0,s=n.length;r=t&&r>=i&&this.ElementsAreEqual(n,r);)n--,r--;if(t>n||i>r){let d;return i<=r?(Tn.Assert(t===n+1,"originalStart should only be one more than originalEnd"),d=[new Qt(t,0,i,r-i+1)]):t<=n?(Tn.Assert(i===r+1,"modifiedStart should only be one more than modifiedEnd"),d=[new Qt(t,n-t+1,i,0)]):(Tn.Assert(t===n+1,"originalStart should only be one more than originalEnd"),Tn.Assert(i===r+1,"modifiedStart should only be one more than modifiedEnd"),d=[]),d}const a=[0],o=[0],l=this.ComputeRecursionPoint(t,n,i,r,a,o,s),u=a[0],f=o[0];if(l!==null)return l;if(!s[0]){const d=this.ComputeDiffRecursive(t,u,i,f,s);let h=[];return s[0]?h=[new Qt(u+1,n-(u+1)+1,f+1,r-(f+1)+1)]:h=this.ComputeDiffRecursive(u+1,n,f+1,r,s),this.ConcatenateChanges(d,h)}return[new Qt(t,n-t+1,i,r-i+1)]}WALKTRACE(t,n,i,r,s,a,o,l,u,f,d,h,m,p,b,T,_,I){let S=null,w=null,x=new Va,C=n,O=i,j=m[0]-T[0]-r,N=-1073741824,G=this.m_forwardHistory.length-1;do{const Q=j+t;Q===C||Q=0&&(u=this.m_forwardHistory[G],t=u[0],C=1,O=u.length-1)}while(--G>=-1);if(S=x.getReverseChanges(),I[0]){let Q=m[0]+1,B=T[0]+1;if(S!==null&&S.length>0){const F=S[S.length-1];Q=Math.max(Q,F.getOriginalEnd()),B=Math.max(B,F.getModifiedEnd())}w=[new Qt(Q,h-Q+1,B,b-B+1)]}else{x=new Va,C=a,O=o,j=m[0]-T[0]-l,N=1073741824,G=_?this.m_reverseHistory.length-1:this.m_reverseHistory.length-2;do{const Q=j+s;Q===C||Q=f[Q+1]?(d=f[Q+1]-1,p=d-j-l,d>N&&x.MarkNextChange(),N=d+1,x.AddOriginalElement(d+1,p+1),j=Q+1-s):(d=f[Q-1],p=d-j-l,d>N&&x.MarkNextChange(),N=d,x.AddModifiedElement(d+1,p+1),j=Q-1-s),G>=0&&(f=this.m_reverseHistory[G],s=f[0],C=1,O=f.length-1)}while(--G>=-1);w=x.getChanges()}return this.ConcatenateChanges(S,w)}ComputeRecursionPoint(t,n,i,r,s,a,o){let l=0,u=0,f=0,d=0,h=0,m=0;t--,i--,s[0]=0,a[0]=0,this.m_forwardHistory=[],this.m_reverseHistory=[];const p=n-t+(r-i),b=p+1,T=new Int32Array(b),_=new Int32Array(b),I=r-i,S=n-t,w=t-i,x=n-r,O=(S-I)%2===0;T[I]=t,_[S]=n,o[0]=!1;for(let j=1;j<=p/2+1;j++){let N=0,G=0;f=this.ClipDiagonalBound(I-j,j,I,b),d=this.ClipDiagonalBound(I+j,j,I,b);for(let B=f;B<=d;B+=2){B===f||BN+G&&(N=l,G=u),!O&&Math.abs(B-S)<=j-1&&l>=_[B])return s[0]=l,a[0]=u,F<=_[B]&&j<=1448?this.WALKTRACE(I,f,d,w,S,h,m,x,T,_,l,n,s,u,r,a,O,o):null}const Q=(N-t+(G-i)-j)/2;if(this.ContinueProcessingPredicate!==null&&!this.ContinueProcessingPredicate(N,Q))return o[0]=!0,s[0]=N,a[0]=G,Q>0&&j<=1448?this.WALKTRACE(I,f,d,w,S,h,m,x,T,_,l,n,s,u,r,a,O,o):(t++,i++,[new Qt(t,n-t+1,i,r-i+1)]);h=this.ClipDiagonalBound(S-j,j,S,b),m=this.ClipDiagonalBound(S+j,j,S,b);for(let B=h;B<=m;B+=2){B===h||B=_[B+1]?l=_[B+1]-1:l=_[B-1],u=l-(B-S)-x;const F=l;for(;l>t&&u>i&&this.ElementsAreEqual(l,u);)l--,u--;if(_[B]=l,O&&Math.abs(B-I)<=j&&l<=T[B])return s[0]=l,a[0]=u,F>=T[B]&&j<=1448?this.WALKTRACE(I,f,d,w,S,h,m,x,T,_,l,n,s,u,r,a,O,o):null}if(j<=1447){let B=new Int32Array(d-f+2);B[0]=I-f+1,Sn.Copy2(T,f,B,1,d-f+1),this.m_forwardHistory.push(B),B=new Int32Array(m-h+2),B[0]=S-h+1,Sn.Copy2(_,h,B,1,m-h+1),this.m_reverseHistory.push(B)}}return this.WALKTRACE(I,f,d,w,S,h,m,x,T,_,l,n,s,u,r,a,O,o)}PrettifyChanges(t){for(let n=0;n0,o=i.modifiedLength>0;for(;i.originalStart+i.originalLength=0;n--){const i=t[n];let r=0,s=0;if(n>0){const d=t[n-1];r=d.originalStart+d.originalLength,s=d.modifiedStart+d.modifiedLength}const a=i.originalLength>0,o=i.modifiedLength>0;let l=0,u=this._boundaryScore(i.originalStart,i.originalLength,i.modifiedStart,i.modifiedLength);for(let d=1;;d++){const h=i.originalStart-d,m=i.modifiedStart-d;if(hu&&(u=b,l=d)}i.originalStart-=l,i.modifiedStart-=l;const f=[null];if(n>0&&this.ChangesOverlap(t[n-1],t[n],f)){t[n-1]=f[0],t.splice(n,1),n++;continue}}if(this._hasStrings)for(let n=1,i=t.length;n0&&m>l&&(l=m,u=d,f=h)}return l>0?[u,f]:null}_contiguousSequenceScore(t,n,i){let r=0;for(let s=0;s=this._originalElementsOrHash.length-1?!0:this._hasStrings&&/^\s*$/.test(this._originalStringElements[t])}_OriginalRegionIsBoundary(t,n){if(this._OriginalIsBoundary(t)||this._OriginalIsBoundary(t-1))return!0;if(n>0){const i=t+n;if(this._OriginalIsBoundary(i-1)||this._OriginalIsBoundary(i))return!0}return!1}_ModifiedIsBoundary(t){return t<=0||t>=this._modifiedElementsOrHash.length-1?!0:this._hasStrings&&/^\s*$/.test(this._modifiedStringElements[t])}_ModifiedRegionIsBoundary(t,n){if(this._ModifiedIsBoundary(t)||this._ModifiedIsBoundary(t-1))return!0;if(n>0){const i=t+n;if(this._ModifiedIsBoundary(i-1)||this._ModifiedIsBoundary(i))return!0}return!1}_boundaryScore(t,n,i,r){const s=this._OriginalRegionIsBoundary(t,n)?1:0,a=this._ModifiedRegionIsBoundary(i,r)?1:0;return s+a}ConcatenateChanges(t,n){const i=[];if(t.length===0||n.length===0)return n.length>0?n:t;if(this.ChangesOverlap(t[t.length-1],n[0],i)){const r=new Array(t.length+n.length-1);return Sn.Copy(t,0,r,0,t.length-1),r[t.length-1]=i[0],Sn.Copy(n,1,r,t.length,n.length-1),r}else{const r=new Array(t.length+n.length);return Sn.Copy(t,0,r,0,t.length),Sn.Copy(n,0,r,t.length,n.length),r}}ChangesOverlap(t,n,i){if(Tn.Assert(t.originalStart<=n.originalStart,"Left change is not less than or equal to right change"),Tn.Assert(t.modifiedStart<=n.modifiedStart,"Left change is not less than or equal to right change"),t.originalStart+t.originalLength>=n.originalStart||t.modifiedStart+t.modifiedLength>=n.modifiedStart){const r=t.originalStart;let s=t.originalLength;const a=t.modifiedStart;let o=t.modifiedLength;return t.originalStart+t.originalLength>=n.originalStart&&(s=n.originalStart+n.originalLength-t.originalStart),t.modifiedStart+t.modifiedLength>=n.modifiedStart&&(o=n.modifiedStart+n.modifiedLength-t.modifiedStart),i[0]=new Qt(r,s,a,o),!0}else return i[0]=null,!1}ClipDiagonalBound(t,n,i,r){if(t>=0&&ti||t===i&&n>r?(this.startLineNumber=i,this.startColumn=r,this.endLineNumber=t,this.endColumn=n):(this.startLineNumber=t,this.startColumn=n,this.endLineNumber=i,this.endColumn=r)}isEmpty(){return ke.isEmpty(this)}static isEmpty(t){return t.startLineNumber===t.endLineNumber&&t.startColumn===t.endColumn}containsPosition(t){return ke.containsPosition(this,t)}static containsPosition(t,n){return!(n.lineNumbert.endLineNumber||n.lineNumber===t.startLineNumber&&n.columnt.endColumn)}static strictContainsPosition(t,n){return!(n.lineNumbert.endLineNumber||n.lineNumber===t.startLineNumber&&n.column<=t.startColumn||n.lineNumber===t.endLineNumber&&n.column>=t.endColumn)}containsRange(t){return ke.containsRange(this,t)}static containsRange(t,n){return!(n.startLineNumbert.endLineNumber||n.endLineNumber>t.endLineNumber||n.startLineNumber===t.startLineNumber&&n.startColumnt.endColumn)}strictContainsRange(t){return ke.strictContainsRange(this,t)}static strictContainsRange(t,n){return!(n.startLineNumbert.endLineNumber||n.endLineNumber>t.endLineNumber||n.startLineNumber===t.startLineNumber&&n.startColumn<=t.startColumn||n.endLineNumber===t.endLineNumber&&n.endColumn>=t.endColumn)}plusRange(t){return ke.plusRange(this,t)}static plusRange(t,n){let i,r,s,a;return n.startLineNumbert.endLineNumber?(s=n.endLineNumber,a=n.endColumn):n.endLineNumber===t.endLineNumber?(s=n.endLineNumber,a=Math.max(n.endColumn,t.endColumn)):(s=t.endLineNumber,a=t.endColumn),new ke(i,r,s,a)}intersectRanges(t){return ke.intersectRanges(this,t)}static intersectRanges(t,n){let i=t.startLineNumber,r=t.startColumn,s=t.endLineNumber,a=t.endColumn;const o=n.startLineNumber,l=n.startColumn,u=n.endLineNumber,f=n.endColumn;return iu?(s=u,a=f):s===u&&(a=Math.min(a,f)),i>s||i===s&&r>a?null:new ke(i,r,s,a)}equalsRange(t){return ke.equalsRange(this,t)}static equalsRange(t,n){return!t&&!n?!0:!!t&&!!n&&t.startLineNumber===n.startLineNumber&&t.startColumn===n.startColumn&&t.endLineNumber===n.endLineNumber&&t.endColumn===n.endColumn}getEndPosition(){return ke.getEndPosition(this)}static getEndPosition(t){return new Re(t.endLineNumber,t.endColumn)}getStartPosition(){return ke.getStartPosition(this)}static getStartPosition(t){return new Re(t.startLineNumber,t.startColumn)}toString(){return"["+this.startLineNumber+","+this.startColumn+" -> "+this.endLineNumber+","+this.endColumn+"]"}setEndPosition(t,n){return new ke(this.startLineNumber,this.startColumn,t,n)}setStartPosition(t,n){return new ke(t,n,this.endLineNumber,this.endColumn)}collapseToStart(){return ke.collapseToStart(this)}static collapseToStart(t){return new ke(t.startLineNumber,t.startColumn,t.startLineNumber,t.startColumn)}collapseToEnd(){return ke.collapseToEnd(this)}static collapseToEnd(t){return new ke(t.endLineNumber,t.endColumn,t.endLineNumber,t.endColumn)}delta(t){return new ke(this.startLineNumber+t,this.startColumn,this.endLineNumber+t,this.endColumn)}static fromPositions(t,n=t){return new ke(t.lineNumber,t.column,n.lineNumber,n.column)}static lift(t){return t?new ke(t.startLineNumber,t.startColumn,t.endLineNumber,t.endColumn):null}static isIRange(t){return t&&typeof t.startLineNumber=="number"&&typeof t.startColumn=="number"&&typeof t.endLineNumber=="number"&&typeof t.endColumn=="number"}static areIntersectingOrTouching(t,n){return!(t.endLineNumbert.startLineNumber}toJSON(){return this}};function $a(e){return e<0?0:e>255?255:e|0}function xn(e){return e<0?0:e>4294967295?4294967295:e|0}class ra{constructor(t){const n=$a(t);this._defaultValue=n,this._asciiMap=ra._createAsciiMap(n),this._map=new Map}static _createAsciiMap(t){const n=new Uint8Array(256);return n.fill(t),n}set(t,n){const i=$a(n);t>=0&&t<256?this._asciiMap[t]=i:this._map.set(t,i)}get(t){return t>=0&&t<256?this._asciiMap[t]:this._map.get(t)||this._defaultValue}clear(){this._asciiMap.fill(this._defaultValue),this._map.clear()}}class Jd{constructor(t,n,i){const r=new Uint8Array(t*n);for(let s=0,a=t*n;sn&&(n=l),o>i&&(i=o),u>i&&(i=u)}n++,i++;const r=new Jd(i,n,0);for(let s=0,a=t.length;s=this._maxCharCode?0:this._states.get(t,n)}}let $r=null;function Kd(){return $r===null&&($r=new Zd([[1,104,2],[1,72,2],[1,102,6],[1,70,6],[2,116,3],[2,84,3],[3,116,4],[3,84,4],[4,112,5],[4,80,5],[5,115,9],[5,83,9],[5,58,10],[6,105,7],[6,73,7],[7,108,8],[7,76,8],[8,101,9],[8,69,9],[9,58,10],[10,47,11],[11,47,12]])),$r}let Kn=null;function e1(){if(Kn===null){Kn=new ra(0);const e=` <>'"、。。、,.:;‘〈「『〔([{「」}])〕』」〉’`~…`;for(let n=0;nr);if(r>0){const o=n.charCodeAt(r-1),l=n.charCodeAt(a);(o===40&&l===41||o===91&&l===93||o===123&&l===125)&&a--}return{range:{startLineNumber:i,startColumn:r+1,endLineNumber:i,endColumn:a+2},url:n.substring(r,a+1)}}static computeLinks(t,n=Kd()){const i=e1(),r=[];for(let s=1,a=t.getLineCount();s<=a;s++){const o=t.getLineContent(s),l=o.length;let u=0,f=0,d=0,h=1,m=!1,p=!1,b=!1,T=!1;for(;u=0?(r+=i?1:-1,r<0?r=t.length-1:r%=t.length,t[r]):null}};yr.INSTANCE=new yr;let ds=yr;const hc=Object.freeze(function(e,t){const n=setTimeout(e.bind(t),0);return{dispose(){clearTimeout(n)}}});var Ji;(function(e){function t(n){return n===e.None||n===e.Cancelled||n instanceof Pi?!0:!n||typeof n!="object"?!1:typeof n.isCancellationRequested=="boolean"&&typeof n.onCancellationRequested=="function"}e.isCancellationToken=t,e.None=Object.freeze({isCancellationRequested:!1,onCancellationRequested:Wi.None}),e.Cancelled=Object.freeze({isCancellationRequested:!0,onCancellationRequested:hc})})(Ji||(Ji={}));class Pi{constructor(){this._isCancelled=!1,this._emitter=null}cancel(){this._isCancelled||(this._isCancelled=!0,this._emitter&&(this._emitter.fire(void 0),this.dispose()))}get isCancellationRequested(){return this._isCancelled}get onCancellationRequested(){return this._isCancelled?hc:(this._emitter||(this._emitter=new bt),this._emitter.event)}dispose(){this._emitter&&(this._emitter.dispose(),this._emitter=null)}}class n1{constructor(t){this._token=void 0,this._parentListener=void 0,this._parentListener=t&&t.onCancellationRequested(this.cancel,this)}get token(){return this._token||(this._token=new Pi),this._token}cancel(){this._token?this._token instanceof Pi&&this._token.cancel():this._token=Ji.Cancelled}dispose(t=!1){var n;t&&this.cancel(),(n=this._parentListener)==null||n.dispose(),this._token?this._token instanceof Pi&&this._token.dispose():this._token=Ji.None}}class sa{constructor(){this._keyCodeToStr=[],this._strToKeyCode=Object.create(null)}define(t,n){this._keyCodeToStr[t]=n,this._strToKeyCode[n.toLowerCase()]=t}keyCodeToStr(t){return this._keyCodeToStr[t]}strToKeyCode(t){return this._strToKeyCode[t.toLowerCase()]||0}}const Vi=new sa,hs=new sa,ms=new sa,i1=new Array(230),r1=Object.create(null),s1=Object.create(null);(function(){const t=[[1,0,"None",0,"unknown",0,"VK_UNKNOWN","",""],[1,1,"Hyper",0,"",0,"","",""],[1,2,"Super",0,"",0,"","",""],[1,3,"Fn",0,"",0,"","",""],[1,4,"FnLock",0,"",0,"","",""],[1,5,"Suspend",0,"",0,"","",""],[1,6,"Resume",0,"",0,"","",""],[1,7,"Turbo",0,"",0,"","",""],[1,8,"Sleep",0,"",0,"VK_SLEEP","",""],[1,9,"WakeUp",0,"",0,"","",""],[0,10,"KeyA",31,"A",65,"VK_A","",""],[0,11,"KeyB",32,"B",66,"VK_B","",""],[0,12,"KeyC",33,"C",67,"VK_C","",""],[0,13,"KeyD",34,"D",68,"VK_D","",""],[0,14,"KeyE",35,"E",69,"VK_E","",""],[0,15,"KeyF",36,"F",70,"VK_F","",""],[0,16,"KeyG",37,"G",71,"VK_G","",""],[0,17,"KeyH",38,"H",72,"VK_H","",""],[0,18,"KeyI",39,"I",73,"VK_I","",""],[0,19,"KeyJ",40,"J",74,"VK_J","",""],[0,20,"KeyK",41,"K",75,"VK_K","",""],[0,21,"KeyL",42,"L",76,"VK_L","",""],[0,22,"KeyM",43,"M",77,"VK_M","",""],[0,23,"KeyN",44,"N",78,"VK_N","",""],[0,24,"KeyO",45,"O",79,"VK_O","",""],[0,25,"KeyP",46,"P",80,"VK_P","",""],[0,26,"KeyQ",47,"Q",81,"VK_Q","",""],[0,27,"KeyR",48,"R",82,"VK_R","",""],[0,28,"KeyS",49,"S",83,"VK_S","",""],[0,29,"KeyT",50,"T",84,"VK_T","",""],[0,30,"KeyU",51,"U",85,"VK_U","",""],[0,31,"KeyV",52,"V",86,"VK_V","",""],[0,32,"KeyW",53,"W",87,"VK_W","",""],[0,33,"KeyX",54,"X",88,"VK_X","",""],[0,34,"KeyY",55,"Y",89,"VK_Y","",""],[0,35,"KeyZ",56,"Z",90,"VK_Z","",""],[0,36,"Digit1",22,"1",49,"VK_1","",""],[0,37,"Digit2",23,"2",50,"VK_2","",""],[0,38,"Digit3",24,"3",51,"VK_3","",""],[0,39,"Digit4",25,"4",52,"VK_4","",""],[0,40,"Digit5",26,"5",53,"VK_5","",""],[0,41,"Digit6",27,"6",54,"VK_6","",""],[0,42,"Digit7",28,"7",55,"VK_7","",""],[0,43,"Digit8",29,"8",56,"VK_8","",""],[0,44,"Digit9",30,"9",57,"VK_9","",""],[0,45,"Digit0",21,"0",48,"VK_0","",""],[1,46,"Enter",3,"Enter",13,"VK_RETURN","",""],[1,47,"Escape",9,"Escape",27,"VK_ESCAPE","",""],[1,48,"Backspace",1,"Backspace",8,"VK_BACK","",""],[1,49,"Tab",2,"Tab",9,"VK_TAB","",""],[1,50,"Space",10,"Space",32,"VK_SPACE","",""],[0,51,"Minus",88,"-",189,"VK_OEM_MINUS","-","OEM_MINUS"],[0,52,"Equal",86,"=",187,"VK_OEM_PLUS","=","OEM_PLUS"],[0,53,"BracketLeft",92,"[",219,"VK_OEM_4","[","OEM_4"],[0,54,"BracketRight",94,"]",221,"VK_OEM_6","]","OEM_6"],[0,55,"Backslash",93,"\\",220,"VK_OEM_5","\\","OEM_5"],[0,56,"IntlHash",0,"",0,"","",""],[0,57,"Semicolon",85,";",186,"VK_OEM_1",";","OEM_1"],[0,58,"Quote",95,"'",222,"VK_OEM_7","'","OEM_7"],[0,59,"Backquote",91,"`",192,"VK_OEM_3","`","OEM_3"],[0,60,"Comma",87,",",188,"VK_OEM_COMMA",",","OEM_COMMA"],[0,61,"Period",89,".",190,"VK_OEM_PERIOD",".","OEM_PERIOD"],[0,62,"Slash",90,"/",191,"VK_OEM_2","/","OEM_2"],[1,63,"CapsLock",8,"CapsLock",20,"VK_CAPITAL","",""],[1,64,"F1",59,"F1",112,"VK_F1","",""],[1,65,"F2",60,"F2",113,"VK_F2","",""],[1,66,"F3",61,"F3",114,"VK_F3","",""],[1,67,"F4",62,"F4",115,"VK_F4","",""],[1,68,"F5",63,"F5",116,"VK_F5","",""],[1,69,"F6",64,"F6",117,"VK_F6","",""],[1,70,"F7",65,"F7",118,"VK_F7","",""],[1,71,"F8",66,"F8",119,"VK_F8","",""],[1,72,"F9",67,"F9",120,"VK_F9","",""],[1,73,"F10",68,"F10",121,"VK_F10","",""],[1,74,"F11",69,"F11",122,"VK_F11","",""],[1,75,"F12",70,"F12",123,"VK_F12","",""],[1,76,"PrintScreen",0,"",0,"","",""],[1,77,"ScrollLock",84,"ScrollLock",145,"VK_SCROLL","",""],[1,78,"Pause",7,"PauseBreak",19,"VK_PAUSE","",""],[1,79,"Insert",19,"Insert",45,"VK_INSERT","",""],[1,80,"Home",14,"Home",36,"VK_HOME","",""],[1,81,"PageUp",11,"PageUp",33,"VK_PRIOR","",""],[1,82,"Delete",20,"Delete",46,"VK_DELETE","",""],[1,83,"End",13,"End",35,"VK_END","",""],[1,84,"PageDown",12,"PageDown",34,"VK_NEXT","",""],[1,85,"ArrowRight",17,"RightArrow",39,"VK_RIGHT","Right",""],[1,86,"ArrowLeft",15,"LeftArrow",37,"VK_LEFT","Left",""],[1,87,"ArrowDown",18,"DownArrow",40,"VK_DOWN","Down",""],[1,88,"ArrowUp",16,"UpArrow",38,"VK_UP","Up",""],[1,89,"NumLock",83,"NumLock",144,"VK_NUMLOCK","",""],[1,90,"NumpadDivide",113,"NumPad_Divide",111,"VK_DIVIDE","",""],[1,91,"NumpadMultiply",108,"NumPad_Multiply",106,"VK_MULTIPLY","",""],[1,92,"NumpadSubtract",111,"NumPad_Subtract",109,"VK_SUBTRACT","",""],[1,93,"NumpadAdd",109,"NumPad_Add",107,"VK_ADD","",""],[1,94,"NumpadEnter",3,"",0,"","",""],[1,95,"Numpad1",99,"NumPad1",97,"VK_NUMPAD1","",""],[1,96,"Numpad2",100,"NumPad2",98,"VK_NUMPAD2","",""],[1,97,"Numpad3",101,"NumPad3",99,"VK_NUMPAD3","",""],[1,98,"Numpad4",102,"NumPad4",100,"VK_NUMPAD4","",""],[1,99,"Numpad5",103,"NumPad5",101,"VK_NUMPAD5","",""],[1,100,"Numpad6",104,"NumPad6",102,"VK_NUMPAD6","",""],[1,101,"Numpad7",105,"NumPad7",103,"VK_NUMPAD7","",""],[1,102,"Numpad8",106,"NumPad8",104,"VK_NUMPAD8","",""],[1,103,"Numpad9",107,"NumPad9",105,"VK_NUMPAD9","",""],[1,104,"Numpad0",98,"NumPad0",96,"VK_NUMPAD0","",""],[1,105,"NumpadDecimal",112,"NumPad_Decimal",110,"VK_DECIMAL","",""],[0,106,"IntlBackslash",97,"OEM_102",226,"VK_OEM_102","",""],[1,107,"ContextMenu",58,"ContextMenu",93,"","",""],[1,108,"Power",0,"",0,"","",""],[1,109,"NumpadEqual",0,"",0,"","",""],[1,110,"F13",71,"F13",124,"VK_F13","",""],[1,111,"F14",72,"F14",125,"VK_F14","",""],[1,112,"F15",73,"F15",126,"VK_F15","",""],[1,113,"F16",74,"F16",127,"VK_F16","",""],[1,114,"F17",75,"F17",128,"VK_F17","",""],[1,115,"F18",76,"F18",129,"VK_F18","",""],[1,116,"F19",77,"F19",130,"VK_F19","",""],[1,117,"F20",78,"F20",131,"VK_F20","",""],[1,118,"F21",79,"F21",132,"VK_F21","",""],[1,119,"F22",80,"F22",133,"VK_F22","",""],[1,120,"F23",81,"F23",134,"VK_F23","",""],[1,121,"F24",82,"F24",135,"VK_F24","",""],[1,122,"Open",0,"",0,"","",""],[1,123,"Help",0,"",0,"","",""],[1,124,"Select",0,"",0,"","",""],[1,125,"Again",0,"",0,"","",""],[1,126,"Undo",0,"",0,"","",""],[1,127,"Cut",0,"",0,"","",""],[1,128,"Copy",0,"",0,"","",""],[1,129,"Paste",0,"",0,"","",""],[1,130,"Find",0,"",0,"","",""],[1,131,"AudioVolumeMute",117,"AudioVolumeMute",173,"VK_VOLUME_MUTE","",""],[1,132,"AudioVolumeUp",118,"AudioVolumeUp",175,"VK_VOLUME_UP","",""],[1,133,"AudioVolumeDown",119,"AudioVolumeDown",174,"VK_VOLUME_DOWN","",""],[1,134,"NumpadComma",110,"NumPad_Separator",108,"VK_SEPARATOR","",""],[0,135,"IntlRo",115,"ABNT_C1",193,"VK_ABNT_C1","",""],[1,136,"KanaMode",0,"",0,"","",""],[0,137,"IntlYen",0,"",0,"","",""],[1,138,"Convert",0,"",0,"","",""],[1,139,"NonConvert",0,"",0,"","",""],[1,140,"Lang1",0,"",0,"","",""],[1,141,"Lang2",0,"",0,"","",""],[1,142,"Lang3",0,"",0,"","",""],[1,143,"Lang4",0,"",0,"","",""],[1,144,"Lang5",0,"",0,"","",""],[1,145,"Abort",0,"",0,"","",""],[1,146,"Props",0,"",0,"","",""],[1,147,"NumpadParenLeft",0,"",0,"","",""],[1,148,"NumpadParenRight",0,"",0,"","",""],[1,149,"NumpadBackspace",0,"",0,"","",""],[1,150,"NumpadMemoryStore",0,"",0,"","",""],[1,151,"NumpadMemoryRecall",0,"",0,"","",""],[1,152,"NumpadMemoryClear",0,"",0,"","",""],[1,153,"NumpadMemoryAdd",0,"",0,"","",""],[1,154,"NumpadMemorySubtract",0,"",0,"","",""],[1,155,"NumpadClear",131,"Clear",12,"VK_CLEAR","",""],[1,156,"NumpadClearEntry",0,"",0,"","",""],[1,0,"",5,"Ctrl",17,"VK_CONTROL","",""],[1,0,"",4,"Shift",16,"VK_SHIFT","",""],[1,0,"",6,"Alt",18,"VK_MENU","",""],[1,0,"",57,"Meta",91,"VK_COMMAND","",""],[1,157,"ControlLeft",5,"",0,"VK_LCONTROL","",""],[1,158,"ShiftLeft",4,"",0,"VK_LSHIFT","",""],[1,159,"AltLeft",6,"",0,"VK_LMENU","",""],[1,160,"MetaLeft",57,"",0,"VK_LWIN","",""],[1,161,"ControlRight",5,"",0,"VK_RCONTROL","",""],[1,162,"ShiftRight",4,"",0,"VK_RSHIFT","",""],[1,163,"AltRight",6,"",0,"VK_RMENU","",""],[1,164,"MetaRight",57,"",0,"VK_RWIN","",""],[1,165,"BrightnessUp",0,"",0,"","",""],[1,166,"BrightnessDown",0,"",0,"","",""],[1,167,"MediaPlay",0,"",0,"","",""],[1,168,"MediaRecord",0,"",0,"","",""],[1,169,"MediaFastForward",0,"",0,"","",""],[1,170,"MediaRewind",0,"",0,"","",""],[1,171,"MediaTrackNext",124,"MediaTrackNext",176,"VK_MEDIA_NEXT_TRACK","",""],[1,172,"MediaTrackPrevious",125,"MediaTrackPrevious",177,"VK_MEDIA_PREV_TRACK","",""],[1,173,"MediaStop",126,"MediaStop",178,"VK_MEDIA_STOP","",""],[1,174,"Eject",0,"",0,"","",""],[1,175,"MediaPlayPause",127,"MediaPlayPause",179,"VK_MEDIA_PLAY_PAUSE","",""],[1,176,"MediaSelect",128,"LaunchMediaPlayer",181,"VK_MEDIA_LAUNCH_MEDIA_SELECT","",""],[1,177,"LaunchMail",129,"LaunchMail",180,"VK_MEDIA_LAUNCH_MAIL","",""],[1,178,"LaunchApp2",130,"LaunchApp2",183,"VK_MEDIA_LAUNCH_APP2","",""],[1,179,"LaunchApp1",0,"",0,"VK_MEDIA_LAUNCH_APP1","",""],[1,180,"SelectTask",0,"",0,"","",""],[1,181,"LaunchScreenSaver",0,"",0,"","",""],[1,182,"BrowserSearch",120,"BrowserSearch",170,"VK_BROWSER_SEARCH","",""],[1,183,"BrowserHome",121,"BrowserHome",172,"VK_BROWSER_HOME","",""],[1,184,"BrowserBack",122,"BrowserBack",166,"VK_BROWSER_BACK","",""],[1,185,"BrowserForward",123,"BrowserForward",167,"VK_BROWSER_FORWARD","",""],[1,186,"BrowserStop",0,"",0,"VK_BROWSER_STOP","",""],[1,187,"BrowserRefresh",0,"",0,"VK_BROWSER_REFRESH","",""],[1,188,"BrowserFavorites",0,"",0,"VK_BROWSER_FAVORITES","",""],[1,189,"ZoomToggle",0,"",0,"","",""],[1,190,"MailReply",0,"",0,"","",""],[1,191,"MailForward",0,"",0,"","",""],[1,192,"MailSend",0,"",0,"","",""],[1,0,"",114,"KeyInComposition",229,"","",""],[1,0,"",116,"ABNT_C2",194,"VK_ABNT_C2","",""],[1,0,"",96,"OEM_8",223,"VK_OEM_8","",""],[1,0,"",0,"",0,"VK_KANA","",""],[1,0,"",0,"",0,"VK_HANGUL","",""],[1,0,"",0,"",0,"VK_JUNJA","",""],[1,0,"",0,"",0,"VK_FINAL","",""],[1,0,"",0,"",0,"VK_HANJA","",""],[1,0,"",0,"",0,"VK_KANJI","",""],[1,0,"",0,"",0,"VK_CONVERT","",""],[1,0,"",0,"",0,"VK_NONCONVERT","",""],[1,0,"",0,"",0,"VK_ACCEPT","",""],[1,0,"",0,"",0,"VK_MODECHANGE","",""],[1,0,"",0,"",0,"VK_SELECT","",""],[1,0,"",0,"",0,"VK_PRINT","",""],[1,0,"",0,"",0,"VK_EXECUTE","",""],[1,0,"",0,"",0,"VK_SNAPSHOT","",""],[1,0,"",0,"",0,"VK_HELP","",""],[1,0,"",0,"",0,"VK_APPS","",""],[1,0,"",0,"",0,"VK_PROCESSKEY","",""],[1,0,"",0,"",0,"VK_PACKET","",""],[1,0,"",0,"",0,"VK_DBE_SBCSCHAR","",""],[1,0,"",0,"",0,"VK_DBE_DBCSCHAR","",""],[1,0,"",0,"",0,"VK_ATTN","",""],[1,0,"",0,"",0,"VK_CRSEL","",""],[1,0,"",0,"",0,"VK_EXSEL","",""],[1,0,"",0,"",0,"VK_EREOF","",""],[1,0,"",0,"",0,"VK_PLAY","",""],[1,0,"",0,"",0,"VK_ZOOM","",""],[1,0,"",0,"",0,"VK_NONAME","",""],[1,0,"",0,"",0,"VK_PA1","",""],[1,0,"",0,"",0,"VK_OEM_CLEAR","",""]],n=[],i=[];for(const r of t){const[s,a,o,l,u,f,d,h,m]=r;if(i[a]||(i[a]=!0,r1[o]=a,s1[o.toLowerCase()]=a),!n[l]){if(n[l]=!0,!u)throw new Error(`String representation missing for key code ${l} around scan code ${o}`);Vi.define(l,u),hs.define(l,h||u),ms.define(l,m||h||u)}f&&(i1[f]=l)}})();var Ua;(function(e){function t(o){return Vi.keyCodeToStr(o)}e.toString=t;function n(o){return Vi.strToKeyCode(o)}e.fromString=n;function i(o){return hs.keyCodeToStr(o)}e.toUserSettingsUS=i;function r(o){return ms.keyCodeToStr(o)}e.toUserSettingsGeneral=r;function s(o){return hs.strToKeyCode(o)||ms.strToKeyCode(o)}e.fromUserSettings=s;function a(o){if(o>=98&&o<=113)return null;switch(o){case 16:return"Up";case 18:return"Down";case 15:return"Left";case 17:return"Right"}return Vi.keyCodeToStr(o)}e.toElectronAccelerator=a})(Ua||(Ua={}));function a1(e,t){const n=(t&65535)<<16>>>0;return(e|n)>>>0}class ft extends fe{constructor(t,n,i,r){super(t,n,i,r),this.selectionStartLineNumber=t,this.selectionStartColumn=n,this.positionLineNumber=i,this.positionColumn=r}toString(){return"["+this.selectionStartLineNumber+","+this.selectionStartColumn+" -> "+this.positionLineNumber+","+this.positionColumn+"]"}equalsSelection(t){return ft.selectionsEqual(this,t)}static selectionsEqual(t,n){return t.selectionStartLineNumber===n.selectionStartLineNumber&&t.selectionStartColumn===n.selectionStartColumn&&t.positionLineNumber===n.positionLineNumber&&t.positionColumn===n.positionColumn}getDirection(){return this.selectionStartLineNumber===this.startLineNumber&&this.selectionStartColumn===this.startColumn?0:1}setEndPosition(t,n){return this.getDirection()===0?new ft(this.startLineNumber,this.startColumn,t,n):new ft(t,n,this.startLineNumber,this.startColumn)}getPosition(){return new Re(this.positionLineNumber,this.positionColumn)}getSelectionStart(){return new Re(this.selectionStartLineNumber,this.selectionStartColumn)}setStartPosition(t,n){return this.getDirection()===0?new ft(t,n,this.endLineNumber,this.endColumn):new ft(this.endLineNumber,this.endColumn,t,n)}static fromPositions(t,n=t){return new ft(t.lineNumber,t.column,n.lineNumber,n.column)}static fromRange(t,n){return n===0?new ft(t.startLineNumber,t.startColumn,t.endLineNumber,t.endColumn):new ft(t.endLineNumber,t.endColumn,t.startLineNumber,t.startColumn)}static liftSelection(t){return new ft(t.selectionStartLineNumber,t.selectionStartColumn,t.positionLineNumber,t.positionColumn)}static selectionsArrEqual(t,n){if(t&&!n||!t&&n)return!1;if(!t&&!n)return!0;if(t.length!==n.length)return!1;for(let i=0,r=t.length;i{this._tokenizationSupports.get(t)===n&&(this._tokenizationSupports.delete(t),this.handleChange([t]))})}get(t){return this._tokenizationSupports.get(t)||null}registerFactory(t,n){var r;(r=this._factories.get(t))==null||r.dispose();const i=new c1(this,t,n);return this._factories.set(t,i),Gi(()=>{const s=this._factories.get(t);!s||s!==i||(this._factories.delete(t),s.dispose())})}async getOrCreate(t){const n=this.get(t);if(n)return n;const i=this._factories.get(t);return!i||i.isResolved?null:(await i.resolve(),this.get(t))}isResolved(t){if(this.get(t))return!0;const i=this._factories.get(t);return!!(!i||i.isResolved)}setColorMap(t){this._colorMap=t,this._onDidChange.fire({changedLanguages:Array.from(this._tokenizationSupports.keys()),changedColorMap:!0})}getColorMap(){return this._colorMap}getDefaultBackground(){return this._colorMap&&this._colorMap.length>2?this._colorMap[2]:null}}class c1 extends Hn{get isResolved(){return this._isResolved}constructor(t,n,i){super(),this._registry=t,this._languageId=n,this._factory=i,this._isDisposed=!1,this._resolvePromise=null,this._isResolved=!1}dispose(){this._isDisposed=!0,super.dispose()}async resolve(){return this._resolvePromise||(this._resolvePromise=this._create()),this._resolvePromise}async _create(){const t=await this._factory.tokenizationSupport;this._isResolved=!0,t&&!this._isDisposed&&this._register(this._registry.register(this._languageId,t))}}let f1=class{constructor(t,n,i){this.offset=t,this.type=n,this.language=i,this._tokenBrand=void 0}toString(){return"("+this.offset+", "+this.type+")"}};var ja;(function(e){e[e.Increase=0]="Increase",e[e.Decrease=1]="Decrease"})(ja||(ja={}));var qa;(function(e){const t=new Map;t.set(0,Z.symbolMethod),t.set(1,Z.symbolFunction),t.set(2,Z.symbolConstructor),t.set(3,Z.symbolField),t.set(4,Z.symbolVariable),t.set(5,Z.symbolClass),t.set(6,Z.symbolStruct),t.set(7,Z.symbolInterface),t.set(8,Z.symbolModule),t.set(9,Z.symbolProperty),t.set(10,Z.symbolEvent),t.set(11,Z.symbolOperator),t.set(12,Z.symbolUnit),t.set(13,Z.symbolValue),t.set(15,Z.symbolEnum),t.set(14,Z.symbolConstant),t.set(15,Z.symbolEnum),t.set(16,Z.symbolEnumMember),t.set(17,Z.symbolKeyword),t.set(27,Z.symbolSnippet),t.set(18,Z.symbolText),t.set(19,Z.symbolColor),t.set(20,Z.symbolFile),t.set(21,Z.symbolReference),t.set(22,Z.symbolCustomColor),t.set(23,Z.symbolFolder),t.set(24,Z.symbolTypeParameter),t.set(25,Z.account),t.set(26,Z.issues);function n(s){let a=t.get(s);return a||(console.info("No codicon found for CompletionItemKind "+s),a=Z.symbolProperty),a}e.toIcon=n;const i=new Map;i.set("method",0),i.set("function",1),i.set("constructor",2),i.set("field",3),i.set("variable",4),i.set("class",5),i.set("struct",6),i.set("interface",7),i.set("module",8),i.set("property",9),i.set("event",10),i.set("operator",11),i.set("unit",12),i.set("value",13),i.set("constant",14),i.set("enum",15),i.set("enum-member",16),i.set("enumMember",16),i.set("keyword",17),i.set("snippet",27),i.set("text",18),i.set("color",19),i.set("file",20),i.set("reference",21),i.set("customcolor",22),i.set("folder",23),i.set("type-parameter",24),i.set("typeParameter",24),i.set("account",25),i.set("issue",26);function r(s,a){let o=i.get(s);return typeof o>"u"&&!a&&(o=9),o}e.fromString=r})(qa||(qa={}));var Ha;(function(e){e[e.Automatic=0]="Automatic",e[e.Explicit=1]="Explicit"})(Ha||(Ha={}));var Ga;(function(e){e[e.Automatic=0]="Automatic",e[e.PasteAs=1]="PasteAs"})(Ga||(Ga={}));var Wa;(function(e){e[e.Invoke=1]="Invoke",e[e.TriggerCharacter=2]="TriggerCharacter",e[e.ContentChange=3]="ContentChange"})(Wa||(Wa={}));var za;(function(e){e[e.Text=0]="Text",e[e.Read=1]="Read",e[e.Write=2]="Write"})(za||(za={}));Ne("Array","array"),Ne("Boolean","boolean"),Ne("Class","class"),Ne("Constant","constant"),Ne("Constructor","constructor"),Ne("Enum","enumeration"),Ne("EnumMember","enumeration member"),Ne("Event","event"),Ne("Field","field"),Ne("File","file"),Ne("Function","function"),Ne("Interface","interface"),Ne("Key","key"),Ne("Method","method"),Ne("Module","module"),Ne("Namespace","namespace"),Ne("Null","null"),Ne("Number","number"),Ne("Object","object"),Ne("Operator","operator"),Ne("Package","package"),Ne("Property","property"),Ne("String","string"),Ne("Struct","struct"),Ne("TypeParameter","type parameter"),Ne("Variable","variable");var Ya;(function(e){const t=new Map;t.set(0,Z.symbolFile),t.set(1,Z.symbolModule),t.set(2,Z.symbolNamespace),t.set(3,Z.symbolPackage),t.set(4,Z.symbolClass),t.set(5,Z.symbolMethod),t.set(6,Z.symbolProperty),t.set(7,Z.symbolField),t.set(8,Z.symbolConstructor),t.set(9,Z.symbolEnum),t.set(10,Z.symbolInterface),t.set(11,Z.symbolFunction),t.set(12,Z.symbolVariable),t.set(13,Z.symbolConstant),t.set(14,Z.symbolString),t.set(15,Z.symbolNumber),t.set(16,Z.symbolBoolean),t.set(17,Z.symbolArray),t.set(18,Z.symbolObject),t.set(19,Z.symbolKey),t.set(20,Z.symbolNull),t.set(21,Z.symbolEnumMember),t.set(22,Z.symbolStruct),t.set(23,Z.symbolEvent),t.set(24,Z.symbolOperator),t.set(25,Z.symbolTypeParameter);function n(i){let r=t.get(i);return r||(console.info("No codicon found for SymbolKind "+i),r=Z.symbolProperty),r}e.toIcon=n})(Ya||(Ya={}));var st;let ag=(st=class{static fromValue(t){switch(t){case"comment":return st.Comment;case"imports":return st.Imports;case"region":return st.Region}return new st(t)}constructor(t){this.value=t}},st.Comment=new st("comment"),st.Imports=new st("imports"),st.Region=new st("region"),st);var Qa;(function(e){e[e.AIGenerated=1]="AIGenerated"})(Qa||(Qa={}));var Xa;(function(e){e[e.Invoke=0]="Invoke",e[e.Automatic=1]="Automatic"})(Xa||(Xa={}));var Ja;(function(e){function t(n){return!n||typeof n!="object"?!1:typeof n.id=="string"&&typeof n.title=="string"}e.is=t})(Ja||(Ja={}));var Za;(function(e){e[e.Type=1]="Type",e[e.Parameter=2]="Parameter"})(Za||(Za={}));new mc;new mc;var Ka;(function(e){e[e.Invoke=0]="Invoke",e[e.Automatic=1]="Automatic"})(Ka||(Ka={}));var eo;(function(e){e[e.Unknown=0]="Unknown",e[e.Disabled=1]="Disabled",e[e.Enabled=2]="Enabled"})(eo||(eo={}));var to;(function(e){e[e.Invoke=1]="Invoke",e[e.Auto=2]="Auto"})(to||(to={}));var no;(function(e){e[e.None=0]="None",e[e.KeepWhitespace=1]="KeepWhitespace",e[e.InsertAsSnippet=4]="InsertAsSnippet"})(no||(no={}));var io;(function(e){e[e.Method=0]="Method",e[e.Function=1]="Function",e[e.Constructor=2]="Constructor",e[e.Field=3]="Field",e[e.Variable=4]="Variable",e[e.Class=5]="Class",e[e.Struct=6]="Struct",e[e.Interface=7]="Interface",e[e.Module=8]="Module",e[e.Property=9]="Property",e[e.Event=10]="Event",e[e.Operator=11]="Operator",e[e.Unit=12]="Unit",e[e.Value=13]="Value",e[e.Constant=14]="Constant",e[e.Enum=15]="Enum",e[e.EnumMember=16]="EnumMember",e[e.Keyword=17]="Keyword",e[e.Text=18]="Text",e[e.Color=19]="Color",e[e.File=20]="File",e[e.Reference=21]="Reference",e[e.Customcolor=22]="Customcolor",e[e.Folder=23]="Folder",e[e.TypeParameter=24]="TypeParameter",e[e.User=25]="User",e[e.Issue=26]="Issue",e[e.Snippet=27]="Snippet"})(io||(io={}));var ro;(function(e){e[e.Deprecated=1]="Deprecated"})(ro||(ro={}));var so;(function(e){e[e.Invoke=0]="Invoke",e[e.TriggerCharacter=1]="TriggerCharacter",e[e.TriggerForIncompleteCompletions=2]="TriggerForIncompleteCompletions"})(so||(so={}));var ao;(function(e){e[e.EXACT=0]="EXACT",e[e.ABOVE=1]="ABOVE",e[e.BELOW=2]="BELOW"})(ao||(ao={}));var oo;(function(e){e[e.NotSet=0]="NotSet",e[e.ContentFlush=1]="ContentFlush",e[e.RecoverFromMarkers=2]="RecoverFromMarkers",e[e.Explicit=3]="Explicit",e[e.Paste=4]="Paste",e[e.Undo=5]="Undo",e[e.Redo=6]="Redo"})(oo||(oo={}));var lo;(function(e){e[e.LF=1]="LF",e[e.CRLF=2]="CRLF"})(lo||(lo={}));var uo;(function(e){e[e.Text=0]="Text",e[e.Read=1]="Read",e[e.Write=2]="Write"})(uo||(uo={}));var co;(function(e){e[e.None=0]="None",e[e.Keep=1]="Keep",e[e.Brackets=2]="Brackets",e[e.Advanced=3]="Advanced",e[e.Full=4]="Full"})(co||(co={}));var fo;(function(e){e[e.acceptSuggestionOnCommitCharacter=0]="acceptSuggestionOnCommitCharacter",e[e.acceptSuggestionOnEnter=1]="acceptSuggestionOnEnter",e[e.accessibilitySupport=2]="accessibilitySupport",e[e.accessibilityPageSize=3]="accessibilityPageSize",e[e.ariaLabel=4]="ariaLabel",e[e.ariaRequired=5]="ariaRequired",e[e.autoClosingBrackets=6]="autoClosingBrackets",e[e.autoClosingComments=7]="autoClosingComments",e[e.screenReaderAnnounceInlineSuggestion=8]="screenReaderAnnounceInlineSuggestion",e[e.autoClosingDelete=9]="autoClosingDelete",e[e.autoClosingOvertype=10]="autoClosingOvertype",e[e.autoClosingQuotes=11]="autoClosingQuotes",e[e.autoIndent=12]="autoIndent",e[e.automaticLayout=13]="automaticLayout",e[e.autoSurround=14]="autoSurround",e[e.bracketPairColorization=15]="bracketPairColorization",e[e.guides=16]="guides",e[e.codeLens=17]="codeLens",e[e.codeLensFontFamily=18]="codeLensFontFamily",e[e.codeLensFontSize=19]="codeLensFontSize",e[e.colorDecorators=20]="colorDecorators",e[e.colorDecoratorsLimit=21]="colorDecoratorsLimit",e[e.columnSelection=22]="columnSelection",e[e.comments=23]="comments",e[e.contextmenu=24]="contextmenu",e[e.copyWithSyntaxHighlighting=25]="copyWithSyntaxHighlighting",e[e.cursorBlinking=26]="cursorBlinking",e[e.cursorSmoothCaretAnimation=27]="cursorSmoothCaretAnimation",e[e.cursorStyle=28]="cursorStyle",e[e.cursorSurroundingLines=29]="cursorSurroundingLines",e[e.cursorSurroundingLinesStyle=30]="cursorSurroundingLinesStyle",e[e.cursorWidth=31]="cursorWidth",e[e.disableLayerHinting=32]="disableLayerHinting",e[e.disableMonospaceOptimizations=33]="disableMonospaceOptimizations",e[e.domReadOnly=34]="domReadOnly",e[e.dragAndDrop=35]="dragAndDrop",e[e.dropIntoEditor=36]="dropIntoEditor",e[e.emptySelectionClipboard=37]="emptySelectionClipboard",e[e.experimentalWhitespaceRendering=38]="experimentalWhitespaceRendering",e[e.extraEditorClassName=39]="extraEditorClassName",e[e.fastScrollSensitivity=40]="fastScrollSensitivity",e[e.find=41]="find",e[e.fixedOverflowWidgets=42]="fixedOverflowWidgets",e[e.folding=43]="folding",e[e.foldingStrategy=44]="foldingStrategy",e[e.foldingHighlight=45]="foldingHighlight",e[e.foldingImportsByDefault=46]="foldingImportsByDefault",e[e.foldingMaximumRegions=47]="foldingMaximumRegions",e[e.unfoldOnClickAfterEndOfLine=48]="unfoldOnClickAfterEndOfLine",e[e.fontFamily=49]="fontFamily",e[e.fontInfo=50]="fontInfo",e[e.fontLigatures=51]="fontLigatures",e[e.fontSize=52]="fontSize",e[e.fontWeight=53]="fontWeight",e[e.fontVariations=54]="fontVariations",e[e.formatOnPaste=55]="formatOnPaste",e[e.formatOnType=56]="formatOnType",e[e.glyphMargin=57]="glyphMargin",e[e.gotoLocation=58]="gotoLocation",e[e.hideCursorInOverviewRuler=59]="hideCursorInOverviewRuler",e[e.hover=60]="hover",e[e.inDiffEditor=61]="inDiffEditor",e[e.inlineSuggest=62]="inlineSuggest",e[e.inlineEdit=63]="inlineEdit",e[e.letterSpacing=64]="letterSpacing",e[e.lightbulb=65]="lightbulb",e[e.lineDecorationsWidth=66]="lineDecorationsWidth",e[e.lineHeight=67]="lineHeight",e[e.lineNumbers=68]="lineNumbers",e[e.lineNumbersMinChars=69]="lineNumbersMinChars",e[e.linkedEditing=70]="linkedEditing",e[e.links=71]="links",e[e.matchBrackets=72]="matchBrackets",e[e.minimap=73]="minimap",e[e.mouseStyle=74]="mouseStyle",e[e.mouseWheelScrollSensitivity=75]="mouseWheelScrollSensitivity",e[e.mouseWheelZoom=76]="mouseWheelZoom",e[e.multiCursorMergeOverlapping=77]="multiCursorMergeOverlapping",e[e.multiCursorModifier=78]="multiCursorModifier",e[e.multiCursorPaste=79]="multiCursorPaste",e[e.multiCursorLimit=80]="multiCursorLimit",e[e.occurrencesHighlight=81]="occurrencesHighlight",e[e.overviewRulerBorder=82]="overviewRulerBorder",e[e.overviewRulerLanes=83]="overviewRulerLanes",e[e.padding=84]="padding",e[e.pasteAs=85]="pasteAs",e[e.parameterHints=86]="parameterHints",e[e.peekWidgetDefaultFocus=87]="peekWidgetDefaultFocus",e[e.placeholder=88]="placeholder",e[e.definitionLinkOpensInPeek=89]="definitionLinkOpensInPeek",e[e.quickSuggestions=90]="quickSuggestions",e[e.quickSuggestionsDelay=91]="quickSuggestionsDelay",e[e.readOnly=92]="readOnly",e[e.readOnlyMessage=93]="readOnlyMessage",e[e.renameOnType=94]="renameOnType",e[e.renderControlCharacters=95]="renderControlCharacters",e[e.renderFinalNewline=96]="renderFinalNewline",e[e.renderLineHighlight=97]="renderLineHighlight",e[e.renderLineHighlightOnlyWhenFocus=98]="renderLineHighlightOnlyWhenFocus",e[e.renderValidationDecorations=99]="renderValidationDecorations",e[e.renderWhitespace=100]="renderWhitespace",e[e.revealHorizontalRightPadding=101]="revealHorizontalRightPadding",e[e.roundedSelection=102]="roundedSelection",e[e.rulers=103]="rulers",e[e.scrollbar=104]="scrollbar",e[e.scrollBeyondLastColumn=105]="scrollBeyondLastColumn",e[e.scrollBeyondLastLine=106]="scrollBeyondLastLine",e[e.scrollPredominantAxis=107]="scrollPredominantAxis",e[e.selectionClipboard=108]="selectionClipboard",e[e.selectionHighlight=109]="selectionHighlight",e[e.selectOnLineNumbers=110]="selectOnLineNumbers",e[e.showFoldingControls=111]="showFoldingControls",e[e.showUnused=112]="showUnused",e[e.snippetSuggestions=113]="snippetSuggestions",e[e.smartSelect=114]="smartSelect",e[e.smoothScrolling=115]="smoothScrolling",e[e.stickyScroll=116]="stickyScroll",e[e.stickyTabStops=117]="stickyTabStops",e[e.stopRenderingLineAfter=118]="stopRenderingLineAfter",e[e.suggest=119]="suggest",e[e.suggestFontSize=120]="suggestFontSize",e[e.suggestLineHeight=121]="suggestLineHeight",e[e.suggestOnTriggerCharacters=122]="suggestOnTriggerCharacters",e[e.suggestSelection=123]="suggestSelection",e[e.tabCompletion=124]="tabCompletion",e[e.tabIndex=125]="tabIndex",e[e.unicodeHighlighting=126]="unicodeHighlighting",e[e.unusualLineTerminators=127]="unusualLineTerminators",e[e.useShadowDOM=128]="useShadowDOM",e[e.useTabStops=129]="useTabStops",e[e.wordBreak=130]="wordBreak",e[e.wordSegmenterLocales=131]="wordSegmenterLocales",e[e.wordSeparators=132]="wordSeparators",e[e.wordWrap=133]="wordWrap",e[e.wordWrapBreakAfterCharacters=134]="wordWrapBreakAfterCharacters",e[e.wordWrapBreakBeforeCharacters=135]="wordWrapBreakBeforeCharacters",e[e.wordWrapColumn=136]="wordWrapColumn",e[e.wordWrapOverride1=137]="wordWrapOverride1",e[e.wordWrapOverride2=138]="wordWrapOverride2",e[e.wrappingIndent=139]="wrappingIndent",e[e.wrappingStrategy=140]="wrappingStrategy",e[e.showDeprecated=141]="showDeprecated",e[e.inlayHints=142]="inlayHints",e[e.editorClassName=143]="editorClassName",e[e.pixelRatio=144]="pixelRatio",e[e.tabFocusMode=145]="tabFocusMode",e[e.layoutInfo=146]="layoutInfo",e[e.wrappingInfo=147]="wrappingInfo",e[e.defaultColorDecorators=148]="defaultColorDecorators",e[e.colorDecoratorsActivatedOn=149]="colorDecoratorsActivatedOn",e[e.inlineCompletionsAccessibilityVerbose=150]="inlineCompletionsAccessibilityVerbose"})(fo||(fo={}));var ho;(function(e){e[e.TextDefined=0]="TextDefined",e[e.LF=1]="LF",e[e.CRLF=2]="CRLF"})(ho||(ho={}));var mo;(function(e){e[e.LF=0]="LF",e[e.CRLF=1]="CRLF"})(mo||(mo={}));var po;(function(e){e[e.Left=1]="Left",e[e.Center=2]="Center",e[e.Right=3]="Right"})(po||(po={}));var go;(function(e){e[e.Increase=0]="Increase",e[e.Decrease=1]="Decrease"})(go||(go={}));var bo;(function(e){e[e.None=0]="None",e[e.Indent=1]="Indent",e[e.IndentOutdent=2]="IndentOutdent",e[e.Outdent=3]="Outdent"})(bo||(bo={}));var yo;(function(e){e[e.Both=0]="Both",e[e.Right=1]="Right",e[e.Left=2]="Left",e[e.None=3]="None"})(yo||(yo={}));var vo;(function(e){e[e.Type=1]="Type",e[e.Parameter=2]="Parameter"})(vo||(vo={}));var _o;(function(e){e[e.Automatic=0]="Automatic",e[e.Explicit=1]="Explicit"})(_o||(_o={}));var No;(function(e){e[e.Invoke=0]="Invoke",e[e.Automatic=1]="Automatic"})(No||(No={}));var ps;(function(e){e[e.DependsOnKbLayout=-1]="DependsOnKbLayout",e[e.Unknown=0]="Unknown",e[e.Backspace=1]="Backspace",e[e.Tab=2]="Tab",e[e.Enter=3]="Enter",e[e.Shift=4]="Shift",e[e.Ctrl=5]="Ctrl",e[e.Alt=6]="Alt",e[e.PauseBreak=7]="PauseBreak",e[e.CapsLock=8]="CapsLock",e[e.Escape=9]="Escape",e[e.Space=10]="Space",e[e.PageUp=11]="PageUp",e[e.PageDown=12]="PageDown",e[e.End=13]="End",e[e.Home=14]="Home",e[e.LeftArrow=15]="LeftArrow",e[e.UpArrow=16]="UpArrow",e[e.RightArrow=17]="RightArrow",e[e.DownArrow=18]="DownArrow",e[e.Insert=19]="Insert",e[e.Delete=20]="Delete",e[e.Digit0=21]="Digit0",e[e.Digit1=22]="Digit1",e[e.Digit2=23]="Digit2",e[e.Digit3=24]="Digit3",e[e.Digit4=25]="Digit4",e[e.Digit5=26]="Digit5",e[e.Digit6=27]="Digit6",e[e.Digit7=28]="Digit7",e[e.Digit8=29]="Digit8",e[e.Digit9=30]="Digit9",e[e.KeyA=31]="KeyA",e[e.KeyB=32]="KeyB",e[e.KeyC=33]="KeyC",e[e.KeyD=34]="KeyD",e[e.KeyE=35]="KeyE",e[e.KeyF=36]="KeyF",e[e.KeyG=37]="KeyG",e[e.KeyH=38]="KeyH",e[e.KeyI=39]="KeyI",e[e.KeyJ=40]="KeyJ",e[e.KeyK=41]="KeyK",e[e.KeyL=42]="KeyL",e[e.KeyM=43]="KeyM",e[e.KeyN=44]="KeyN",e[e.KeyO=45]="KeyO",e[e.KeyP=46]="KeyP",e[e.KeyQ=47]="KeyQ",e[e.KeyR=48]="KeyR",e[e.KeyS=49]="KeyS",e[e.KeyT=50]="KeyT",e[e.KeyU=51]="KeyU",e[e.KeyV=52]="KeyV",e[e.KeyW=53]="KeyW",e[e.KeyX=54]="KeyX",e[e.KeyY=55]="KeyY",e[e.KeyZ=56]="KeyZ",e[e.Meta=57]="Meta",e[e.ContextMenu=58]="ContextMenu",e[e.F1=59]="F1",e[e.F2=60]="F2",e[e.F3=61]="F3",e[e.F4=62]="F4",e[e.F5=63]="F5",e[e.F6=64]="F6",e[e.F7=65]="F7",e[e.F8=66]="F8",e[e.F9=67]="F9",e[e.F10=68]="F10",e[e.F11=69]="F11",e[e.F12=70]="F12",e[e.F13=71]="F13",e[e.F14=72]="F14",e[e.F15=73]="F15",e[e.F16=74]="F16",e[e.F17=75]="F17",e[e.F18=76]="F18",e[e.F19=77]="F19",e[e.F20=78]="F20",e[e.F21=79]="F21",e[e.F22=80]="F22",e[e.F23=81]="F23",e[e.F24=82]="F24",e[e.NumLock=83]="NumLock",e[e.ScrollLock=84]="ScrollLock",e[e.Semicolon=85]="Semicolon",e[e.Equal=86]="Equal",e[e.Comma=87]="Comma",e[e.Minus=88]="Minus",e[e.Period=89]="Period",e[e.Slash=90]="Slash",e[e.Backquote=91]="Backquote",e[e.BracketLeft=92]="BracketLeft",e[e.Backslash=93]="Backslash",e[e.BracketRight=94]="BracketRight",e[e.Quote=95]="Quote",e[e.OEM_8=96]="OEM_8",e[e.IntlBackslash=97]="IntlBackslash",e[e.Numpad0=98]="Numpad0",e[e.Numpad1=99]="Numpad1",e[e.Numpad2=100]="Numpad2",e[e.Numpad3=101]="Numpad3",e[e.Numpad4=102]="Numpad4",e[e.Numpad5=103]="Numpad5",e[e.Numpad6=104]="Numpad6",e[e.Numpad7=105]="Numpad7",e[e.Numpad8=106]="Numpad8",e[e.Numpad9=107]="Numpad9",e[e.NumpadMultiply=108]="NumpadMultiply",e[e.NumpadAdd=109]="NumpadAdd",e[e.NUMPAD_SEPARATOR=110]="NUMPAD_SEPARATOR",e[e.NumpadSubtract=111]="NumpadSubtract",e[e.NumpadDecimal=112]="NumpadDecimal",e[e.NumpadDivide=113]="NumpadDivide",e[e.KEY_IN_COMPOSITION=114]="KEY_IN_COMPOSITION",e[e.ABNT_C1=115]="ABNT_C1",e[e.ABNT_C2=116]="ABNT_C2",e[e.AudioVolumeMute=117]="AudioVolumeMute",e[e.AudioVolumeUp=118]="AudioVolumeUp",e[e.AudioVolumeDown=119]="AudioVolumeDown",e[e.BrowserSearch=120]="BrowserSearch",e[e.BrowserHome=121]="BrowserHome",e[e.BrowserBack=122]="BrowserBack",e[e.BrowserForward=123]="BrowserForward",e[e.MediaTrackNext=124]="MediaTrackNext",e[e.MediaTrackPrevious=125]="MediaTrackPrevious",e[e.MediaStop=126]="MediaStop",e[e.MediaPlayPause=127]="MediaPlayPause",e[e.LaunchMediaPlayer=128]="LaunchMediaPlayer",e[e.LaunchMail=129]="LaunchMail",e[e.LaunchApp2=130]="LaunchApp2",e[e.Clear=131]="Clear",e[e.MAX_VALUE=132]="MAX_VALUE"})(ps||(ps={}));var fn;(function(e){e[e.Hint=1]="Hint",e[e.Info=2]="Info",e[e.Warning=4]="Warning",e[e.Error=8]="Error"})(fn||(fn={}));var gs;(function(e){e[e.Unnecessary=1]="Unnecessary",e[e.Deprecated=2]="Deprecated"})(gs||(gs={}));var Eo;(function(e){e[e.Inline=1]="Inline",e[e.Gutter=2]="Gutter"})(Eo||(Eo={}));var To;(function(e){e[e.Normal=1]="Normal",e[e.Underlined=2]="Underlined"})(To||(To={}));var So;(function(e){e[e.UNKNOWN=0]="UNKNOWN",e[e.TEXTAREA=1]="TEXTAREA",e[e.GUTTER_GLYPH_MARGIN=2]="GUTTER_GLYPH_MARGIN",e[e.GUTTER_LINE_NUMBERS=3]="GUTTER_LINE_NUMBERS",e[e.GUTTER_LINE_DECORATIONS=4]="GUTTER_LINE_DECORATIONS",e[e.GUTTER_VIEW_ZONE=5]="GUTTER_VIEW_ZONE",e[e.CONTENT_TEXT=6]="CONTENT_TEXT",e[e.CONTENT_EMPTY=7]="CONTENT_EMPTY",e[e.CONTENT_VIEW_ZONE=8]="CONTENT_VIEW_ZONE",e[e.CONTENT_WIDGET=9]="CONTENT_WIDGET",e[e.OVERVIEW_RULER=10]="OVERVIEW_RULER",e[e.SCROLLBAR=11]="SCROLLBAR",e[e.OVERLAY_WIDGET=12]="OVERLAY_WIDGET",e[e.OUTSIDE_EDITOR=13]="OUTSIDE_EDITOR"})(So||(So={}));var xo;(function(e){e[e.AIGenerated=1]="AIGenerated"})(xo||(xo={}));var wo;(function(e){e[e.Invoke=0]="Invoke",e[e.Automatic=1]="Automatic"})(wo||(wo={}));var Lo;(function(e){e[e.TOP_RIGHT_CORNER=0]="TOP_RIGHT_CORNER",e[e.BOTTOM_RIGHT_CORNER=1]="BOTTOM_RIGHT_CORNER",e[e.TOP_CENTER=2]="TOP_CENTER"})(Lo||(Lo={}));var Ao;(function(e){e[e.Left=1]="Left",e[e.Center=2]="Center",e[e.Right=4]="Right",e[e.Full=7]="Full"})(Ao||(Ao={}));var Io;(function(e){e[e.Word=0]="Word",e[e.Line=1]="Line",e[e.Suggest=2]="Suggest"})(Io||(Io={}));var Ro;(function(e){e[e.Left=0]="Left",e[e.Right=1]="Right",e[e.None=2]="None",e[e.LeftOfInjectedText=3]="LeftOfInjectedText",e[e.RightOfInjectedText=4]="RightOfInjectedText"})(Ro||(Ro={}));var Co;(function(e){e[e.Off=0]="Off",e[e.On=1]="On",e[e.Relative=2]="Relative",e[e.Interval=3]="Interval",e[e.Custom=4]="Custom"})(Co||(Co={}));var Do;(function(e){e[e.None=0]="None",e[e.Text=1]="Text",e[e.Blocks=2]="Blocks"})(Do||(Do={}));var ko;(function(e){e[e.Smooth=0]="Smooth",e[e.Immediate=1]="Immediate"})(ko||(ko={}));var Oo;(function(e){e[e.Auto=1]="Auto",e[e.Hidden=2]="Hidden",e[e.Visible=3]="Visible"})(Oo||(Oo={}));var bs;(function(e){e[e.LTR=0]="LTR",e[e.RTL=1]="RTL"})(bs||(bs={}));var Fo;(function(e){e.Off="off",e.OnCode="onCode",e.On="on"})(Fo||(Fo={}));var Mo;(function(e){e[e.Invoke=1]="Invoke",e[e.TriggerCharacter=2]="TriggerCharacter",e[e.ContentChange=3]="ContentChange"})(Mo||(Mo={}));var Po;(function(e){e[e.File=0]="File",e[e.Module=1]="Module",e[e.Namespace=2]="Namespace",e[e.Package=3]="Package",e[e.Class=4]="Class",e[e.Method=5]="Method",e[e.Property=6]="Property",e[e.Field=7]="Field",e[e.Constructor=8]="Constructor",e[e.Enum=9]="Enum",e[e.Interface=10]="Interface",e[e.Function=11]="Function",e[e.Variable=12]="Variable",e[e.Constant=13]="Constant",e[e.String=14]="String",e[e.Number=15]="Number",e[e.Boolean=16]="Boolean",e[e.Array=17]="Array",e[e.Object=18]="Object",e[e.Key=19]="Key",e[e.Null=20]="Null",e[e.EnumMember=21]="EnumMember",e[e.Struct=22]="Struct",e[e.Event=23]="Event",e[e.Operator=24]="Operator",e[e.TypeParameter=25]="TypeParameter"})(Po||(Po={}));var Vo;(function(e){e[e.Deprecated=1]="Deprecated"})(Vo||(Vo={}));var $o;(function(e){e[e.Hidden=0]="Hidden",e[e.Blink=1]="Blink",e[e.Smooth=2]="Smooth",e[e.Phase=3]="Phase",e[e.Expand=4]="Expand",e[e.Solid=5]="Solid"})($o||($o={}));var Uo;(function(e){e[e.Line=1]="Line",e[e.Block=2]="Block",e[e.Underline=3]="Underline",e[e.LineThin=4]="LineThin",e[e.BlockOutline=5]="BlockOutline",e[e.UnderlineThin=6]="UnderlineThin"})(Uo||(Uo={}));var Bo;(function(e){e[e.AlwaysGrowsWhenTypingAtEdges=0]="AlwaysGrowsWhenTypingAtEdges",e[e.NeverGrowsWhenTypingAtEdges=1]="NeverGrowsWhenTypingAtEdges",e[e.GrowsOnlyWhenTypingBefore=2]="GrowsOnlyWhenTypingBefore",e[e.GrowsOnlyWhenTypingAfter=3]="GrowsOnlyWhenTypingAfter"})(Bo||(Bo={}));var jo;(function(e){e[e.None=0]="None",e[e.Same=1]="Same",e[e.Indent=2]="Indent",e[e.DeepIndent=3]="DeepIndent"})(jo||(jo={}));const Mn=class Mn{static chord(t,n){return a1(t,n)}};Mn.CtrlCmd=2048,Mn.Shift=1024,Mn.Alt=512,Mn.WinCtrl=256;let ys=Mn;function d1(){return{editor:void 0,languages:void 0,CancellationTokenSource:n1,Emitter:bt,KeyCode:ps,KeyMod:ys,Position:Re,Range:fe,Selection:ft,SelectionDirection:bs,MarkerSeverity:fn,MarkerTag:gs,Uri:Ot,Token:f1}}const fi=class fi{static getChannel(t){return t.getChannel(fi.CHANNEL_NAME)}static setChannel(t,n){t.setChannel(fi.CHANNEL_NAME,n)}};fi.CHANNEL_NAME="editorWorkerHost";let vs=fi;var qo;class h1{constructor(){this[qo]="LinkedMap",this._map=new Map,this._head=void 0,this._tail=void 0,this._size=0,this._state=0}clear(){this._map.clear(),this._head=void 0,this._tail=void 0,this._size=0,this._state++}isEmpty(){return!this._head&&!this._tail}get size(){return this._size}get first(){var t;return(t=this._head)==null?void 0:t.value}get last(){var t;return(t=this._tail)==null?void 0:t.value}has(t){return this._map.has(t)}get(t,n=0){const i=this._map.get(t);if(i)return n!==0&&this.touch(i,n),i.value}set(t,n,i=0){let r=this._map.get(t);if(r)r.value=n,i!==0&&this.touch(r,i);else{switch(r={key:t,value:n,next:void 0,previous:void 0},i){case 0:this.addItemLast(r);break;case 1:this.addItemFirst(r);break;case 2:this.addItemLast(r);break;default:this.addItemLast(r);break}this._map.set(t,r),this._size++}return this}delete(t){return!!this.remove(t)}remove(t){const n=this._map.get(t);if(n)return this._map.delete(t),this.removeItem(n),this._size--,n.value}shift(){if(!this._head&&!this._tail)return;if(!this._head||!this._tail)throw new Error("Invalid list");const t=this._head;return this._map.delete(t.key),this.removeItem(t),this._size--,t.value}forEach(t,n){const i=this._state;let r=this._head;for(;r;){if(n?t.bind(n)(r.value,r.key,this):t(r.value,r.key,this),this._state!==i)throw new Error("LinkedMap got modified during iteration.");r=r.next}}keys(){const t=this,n=this._state;let i=this._head;const r={[Symbol.iterator](){return r},next(){if(t._state!==n)throw new Error("LinkedMap got modified during iteration.");if(i){const s={value:i.key,done:!1};return i=i.next,s}else return{value:void 0,done:!0}}};return r}values(){const t=this,n=this._state;let i=this._head;const r={[Symbol.iterator](){return r},next(){if(t._state!==n)throw new Error("LinkedMap got modified during iteration.");if(i){const s={value:i.value,done:!1};return i=i.next,s}else return{value:void 0,done:!0}}};return r}entries(){const t=this,n=this._state;let i=this._head;const r={[Symbol.iterator](){return r},next(){if(t._state!==n)throw new Error("LinkedMap got modified during iteration.");if(i){const s={value:[i.key,i.value],done:!1};return i=i.next,s}else return{value:void 0,done:!0}}};return r}[(qo=Symbol.toStringTag,Symbol.iterator)](){return this.entries()}trimOld(t){if(t>=this.size)return;if(t===0){this.clear();return}let n=this._head,i=this.size;for(;n&&i>t;)this._map.delete(n.key),n=n.next,i--;this._head=n,this._size=i,n&&(n.previous=void 0),this._state++}trimNew(t){if(t>=this.size)return;if(t===0){this.clear();return}let n=this._tail,i=this.size;for(;n&&i>t;)this._map.delete(n.key),n=n.previous,i--;this._tail=n,this._size=i,n&&(n.next=void 0),this._state++}addItemFirst(t){if(!this._head&&!this._tail)this._tail=t;else if(this._head)t.next=this._head,this._head.previous=t;else throw new Error("Invalid list");this._head=t,this._state++}addItemLast(t){if(!this._head&&!this._tail)this._head=t;else if(this._tail)t.previous=this._tail,this._tail.next=t;else throw new Error("Invalid list");this._tail=t,this._state++}removeItem(t){if(t===this._head&&t===this._tail)this._head=void 0,this._tail=void 0;else if(t===this._head){if(!t.next)throw new Error("Invalid list");t.next.previous=void 0,this._head=t.next}else if(t===this._tail){if(!t.previous)throw new Error("Invalid list");t.previous.next=void 0,this._tail=t.previous}else{const n=t.next,i=t.previous;if(!n||!i)throw new Error("Invalid list");n.previous=i,i.next=n}t.next=void 0,t.previous=void 0,this._state++}touch(t,n){if(!this._head||!this._tail)throw new Error("Invalid list");if(!(n!==1&&n!==2)){if(n===1){if(t===this._head)return;const i=t.next,r=t.previous;t===this._tail?(r.next=void 0,this._tail=r):(i.previous=r,r.next=i),t.previous=void 0,t.next=this._head,this._head.previous=t,this._head=t,this._state++}else if(n===2){if(t===this._tail)return;const i=t.next,r=t.previous;t===this._head?(i.previous=void 0,this._head=i):(i.previous=r,r.next=i),t.next=void 0,t.previous=this._tail,this._tail.next=t,this._tail=t,this._state++}}}toJSON(){const t=[];return this.forEach((n,i)=>{t.push([i,n])}),t}fromJSON(t){this.clear();for(const[n,i]of t)this.set(n,i)}}class m1 extends h1{constructor(t,n=1){super(),this._limit=t,this._ratio=Math.min(Math.max(0,n),1)}get limit(){return this._limit}set limit(t){this._limit=t,this.checkTrim()}get(t,n=2){return super.get(t,n)}peek(t){return super.get(t,0)}set(t,n){return super.set(t,n,2),this}checkTrim(){this.size>this._limit&&this.trim(Math.round(this._limit*this._ratio))}}class p1 extends m1{constructor(t,n=1){super(t,n)}trim(t){this.trimOld(t)}set(t,n){return super.set(t,n),this.checkTrim(),this}}class g1{constructor(){this.map=new Map}add(t,n){let i=this.map.get(t);i||(i=new Set,this.map.set(t,i)),i.add(n)}delete(t,n){const i=this.map.get(t);i&&(i.delete(n),i.size===0&&this.map.delete(t))}forEach(t,n){const i=this.map.get(t);i&&i.forEach(n)}get(t){const n=this.map.get(t);return n||new Set}}new p1(10);function b1(e){let t=[];for(;Object.prototype!==e;)t=t.concat(Object.getOwnPropertyNames(e)),e=Object.getPrototypeOf(e);return t}function Ho(e){const t=[];for(const n of b1(e))typeof e[n]=="function"&&t.push(n);return t}function y1(e,t){const n=r=>function(){const s=Array.prototype.slice.call(arguments,0);return t(r,s)},i={};for(const r of e)i[r]=n(r);return i}var Go;(function(e){e[e.Left=1]="Left",e[e.Center=2]="Center",e[e.Right=4]="Right",e[e.Full=7]="Full"})(Go||(Go={}));var Wo;(function(e){e[e.Left=1]="Left",e[e.Center=2]="Center",e[e.Right=3]="Right"})(Wo||(Wo={}));var zo;(function(e){e[e.Both=0]="Both",e[e.Right=1]="Right",e[e.Left=2]="Left",e[e.None=3]="None"})(zo||(zo={}));function v1(e,t,n,i,r){if(i===0)return!0;const s=t.charCodeAt(i-1);if(e.get(s)!==0||s===13||s===10)return!0;if(r>0){const a=t.charCodeAt(i);if(e.get(a)!==0)return!0}return!1}function _1(e,t,n,i,r){if(i+r===n)return!0;const s=t.charCodeAt(i+r);if(e.get(s)!==0||s===13||s===10)return!0;if(r>0){const a=t.charCodeAt(i+r-1);if(e.get(a)!==0)return!0}return!1}function N1(e,t,n,i,r){return v1(e,t,n,i,r)&&_1(e,t,n,i,r)}class E1{constructor(t,n){this._wordSeparators=t,this._searchRegex=n,this._prevMatchStartIndex=-1,this._prevMatchLength=0}reset(t){this._searchRegex.lastIndex=t,this._prevMatchStartIndex=-1,this._prevMatchLength=0}next(t){const n=t.length;let i;do{if(this._prevMatchStartIndex+this._prevMatchLength===n||(i=this._searchRegex.exec(t),!i))return null;const r=i.index,s=i[0].length;if(r===this._prevMatchStartIndex&&s===this._prevMatchLength){if(s===0){pd(t,n,this._searchRegex.lastIndex)>65535?this._searchRegex.lastIndex+=2:this._searchRegex.lastIndex+=1;continue}return null}if(this._prevMatchStartIndex=r,this._prevMatchLength=s,!this._wordSeparators||N1(this._wordSeparators,t,n,r,s))return i}while(i);return null}}function T1(e,t="Unreachable"){throw new Error(t)}function Zi(e){if(!e()){debugger;e(),ai(new ht("Assertion Failed"))}}function pc(e,t){let n=0;for(;n/?";function x1(e=""){let t="(-?\\d*\\.\\d\\w*)|([^";for(const n of S1)e.indexOf(n)>=0||(t+="\\"+n);return t+="\\s]+)",new RegExp(t,"g")}const gc=x1();function bc(e){let t=gc;if(e&&e instanceof RegExp)if(e.global)t=e;else{let n="g";e.ignoreCase&&(n+="i"),e.multiline&&(n+="m"),e.unicode&&(n+="u"),t=new RegExp(e.source,n)}return t.lastIndex=0,t}const yc=new qf;yc.unshift({maxLen:1e3,windowSize:15,timeBudget:150});function aa(e,t,n,i,r){if(t=bc(t),r||(r=Hi.first(yc)),n.length>r.maxLen){let u=e-r.maxLen/2;return u<0?u=0:i+=u,n=n.substring(u,e+r.maxLen/2),aa(e,t,n,i,r)}const s=Date.now(),a=e-1-i;let o=-1,l=null;for(let u=1;!(Date.now()-s>=r.timeBudget);u++){const f=a-r.windowSize*u;t.lastIndex=Math.max(0,f);const d=w1(t,n,a,o);if(!d&&l||(l=d,f<=0))break;o=f}if(l){const u={word:l[0],startColumn:i+1+l.index,endColumn:i+1+l.index+l[0].length};return t.lastIndex=0,u}return null}function w1(e,t,n,i){let r;for(;r=e.exec(t);){const s=r.index||0;if(s<=n&&e.lastIndex>=n)return r;if(i>0&&s>i)return null}return null}class L1{static computeUnicodeHighlights(t,n,i){const r=i?i.startLineNumber:1,s=i?i.endLineNumber:t.getLineCount(),a=new Yo(n),o=a.getCandidateCodePoints();let l;o==="allNonBasicAscii"?l=new RegExp("[^\\t\\n\\r\\x20-\\x7E]","g"):l=new RegExp(`${A1(Array.from(o))}`,"g");const u=new E1(null,l),f=[];let d=!1,h,m=0,p=0,b=0;e:for(let T=r,_=s;T<=_;T++){const I=t.getLineContent(T),S=I.length;u.reset(0);do if(h=u.next(I),h){let w=h.index,x=h.index+h[0].length;if(w>0){const N=I.charCodeAt(w-1);zi(N)&&w--}if(x+1=1e3){d=!0;break e}f.push(new fe(T,w+1,T,x+1))}}while(h)}return{ranges:f,hasMore:d,ambiguousCharacterCount:m,invisibleCharacterCount:p,nonBasicAsciiCharacterCount:b}}static computeUnicodeHighlightReason(t,n){const i=new Yo(n);switch(i.shouldHighlightNonBasicASCII(t,null)){case 0:return null;case 2:return{kind:1};case 3:{const s=t.codePointAt(0),a=i.ambiguousCharacters.getPrimaryConfusable(s),o=pi.getLocales().filter(l=>!pi.getInstance(new Set([...n.allowedLocales,l])).isAmbiguous(s));return{kind:0,confusableWith:String.fromCodePoint(a),notAmbiguousInLocales:o}}case 1:return{kind:2}}}}function A1(e,t){return`[${fd(e.map(i=>String.fromCodePoint(i)).join(""))}]`}class Yo{constructor(t){this.options=t,this.allowedCodePoints=new Set(t.allowedCodePoints),this.ambiguousCharacters=pi.getInstance(new Set(t.allowedLocales))}getCandidateCodePoints(){if(this.options.nonBasicASCII)return"allNonBasicAscii";const t=new Set;if(this.options.invisibleCharacters)for(const n of oi.codePoints)Qo(String.fromCodePoint(n))||t.add(n);if(this.options.ambiguousCharacters)for(const n of this.ambiguousCharacters.getConfusableCodePoints())t.add(n);for(const n of this.allowedCodePoints)t.delete(n);return t}shouldHighlightNonBasicASCII(t,n){const i=t.codePointAt(0);if(this.allowedCodePoints.has(i))return 0;if(this.options.nonBasicASCII)return 1;let r=!1,s=!1;if(n)for(const a of n){const o=a.codePointAt(0),l=bd(a);r=r||l,!l&&!this.ambiguousCharacters.isAmbiguous(o)&&!oi.isInvisibleCharacter(o)&&(s=!0)}return!r&&s?0:this.options.invisibleCharacters&&!Qo(t)&&oi.isInvisibleCharacter(i)?2:this.options.ambiguousCharacters&&this.ambiguousCharacters.isAmbiguous(i)?3:0}}function Qo(e){return e===" "||e===` +`||e===" "}class $i{constructor(t,n,i){this.changes=t,this.moves=n,this.hitTimeout=i}}class I1{constructor(t,n){this.lineRangeMapping=t,this.changes=n}}class ce{static addRange(t,n){let i=0;for(;in))return new ce(t,n)}static ofLength(t){return new ce(0,t)}static ofStartAndLength(t,n){return new ce(t,t+n)}constructor(t,n){if(this.start=t,this.endExclusive=n,t>n)throw new ht(`Invalid range: ${this.toString()}`)}get isEmpty(){return this.start===this.endExclusive}delta(t){return new ce(this.start+t,this.endExclusive+t)}deltaStart(t){return new ce(this.start+t,this.endExclusive)}deltaEnd(t){return new ce(this.start,this.endExclusive+t)}get length(){return this.endExclusive-this.start}toString(){return`[${this.start}, ${this.endExclusive})`}contains(t){return this.start<=t&&t=t.endExclusive}slice(t){return t.slice(this.start,this.endExclusive)}substring(t){return t.substring(this.start,this.endExclusive)}clip(t){if(this.isEmpty)throw new ht(`Invalid clipping range: ${this.toString()}`);return Math.max(this.start,Math.min(this.endExclusive-1,t))}clipCyclic(t){if(this.isEmpty)throw new ht(`Invalid clipping range: ${this.toString()}`);return t=this.endExclusive?this.start+(t-this.start)%this.length:t}forEach(t){for(let n=this.start;nn)throw new ht(`startLineNumber ${t} cannot be after endLineNumberExclusive ${n}`);this.startLineNumber=t,this.endLineNumberExclusive=n}contains(t){return this.startLineNumber<=t&&tr.endLineNumberExclusive>=t.startLineNumber),i=gi(this._normalizedRanges,r=>r.startLineNumber<=t.endLineNumberExclusive)+1;if(n===i)this._normalizedRanges.splice(n,0,t);else if(n===i-1){const r=this._normalizedRanges[n];this._normalizedRanges[n]=r.join(t)}else{const r=this._normalizedRanges[n].join(this._normalizedRanges[i-1]).join(t);this._normalizedRanges.splice(n,i-n,r)}}contains(t){const n=Gn(this._normalizedRanges,i=>i.startLineNumber<=t);return!!n&&n.endLineNumberExclusive>t}intersects(t){const n=Gn(this._normalizedRanges,i=>i.startLineNumbert.startLineNumber}getUnion(t){if(this._normalizedRanges.length===0)return t;if(t._normalizedRanges.length===0)return this;const n=[];let i=0,r=0,s=null;for(;i=a.startLineNumber?s=new ie(s.startLineNumber,Math.max(s.endLineNumberExclusive,a.endLineNumberExclusive)):(n.push(s),s=a)}return s!==null&&n.push(s),new Ft(n)}subtractFrom(t){const n=_s(this._normalizedRanges,a=>a.endLineNumberExclusive>=t.startLineNumber),i=gi(this._normalizedRanges,a=>a.startLineNumber<=t.endLineNumberExclusive)+1;if(n===i)return new Ft([t]);const r=[];let s=t.startLineNumber;for(let a=n;as&&r.push(new ie(s,o.startLineNumber)),s=o.endLineNumberExclusive}return st.toString()).join(", ")}getIntersection(t){const n=[];let i=0,r=0;for(;in.delta(t)))}}const Xt=class Xt{static betweenPositions(t,n){return t.lineNumber===n.lineNumber?new Xt(0,n.column-t.column):new Xt(n.lineNumber-t.lineNumber,n.column-1)}static ofRange(t){return Xt.betweenPositions(t.getStartPosition(),t.getEndPosition())}static ofText(t){let n=0,i=0;for(const r of t)r===` +`?(n++,i=0):i++;return new Xt(n,i)}constructor(t,n){this.lineCount=t,this.columnCount=n}isGreaterThanOrEqualTo(t){return this.lineCount!==t.lineCount?this.lineCount>t.lineCount:this.columnCount>=t.columnCount}createRange(t){return this.lineCount===0?new fe(t.lineNumber,t.column,t.lineNumber,t.column+this.columnCount):new fe(t.lineNumber,t.column,t.lineNumber+this.lineCount,this.columnCount+1)}addToPosition(t){return this.lineCount===0?new Re(t.lineNumber,t.column+this.columnCount):new Re(t.lineNumber+this.lineCount,this.columnCount+1)}toString(){return`${this.lineCount},${this.columnCount}`}};Xt.zero=new Xt(0,0);let Xo=Xt;class C1{constructor(t,n){this.range=t,this.text=n}toSingleEditOperation(){return{range:this.range,text:this.text}}}class vt{static inverse(t,n,i){const r=[];let s=1,a=1;for(const l of t){const u=new vt(new ie(s,l.original.startLineNumber),new ie(a,l.modified.startLineNumber));u.modified.isEmpty||r.push(u),s=l.original.endLineNumberExclusive,a=l.modified.endLineNumberExclusive}const o=new vt(new ie(s,n+1),new ie(a,i+1));return o.modified.isEmpty||r.push(o),r}static clip(t,n,i){const r=[];for(const s of t){const a=s.original.intersect(n),o=s.modified.intersect(i);a&&!a.isEmpty&&o&&!o.isEmpty&&r.push(new vt(a,o))}return r}constructor(t,n){this.original=t,this.modified=n}toString(){return`{${this.original.toString()}->${this.modified.toString()}}`}flip(){return new vt(this.modified,this.original)}join(t){return new vt(this.original.join(t.original),this.modified.join(t.modified))}toRangeMapping(){const t=this.original.toInclusiveRange(),n=this.modified.toInclusiveRange();if(t&&n)return new Lt(t,n);if(this.original.startLineNumber===1||this.modified.startLineNumber===1){if(!(this.modified.startLineNumber===1&&this.original.startLineNumber===1))throw new ht("not a valid diff");return new Lt(new fe(this.original.startLineNumber,1,this.original.endLineNumberExclusive,1),new fe(this.modified.startLineNumber,1,this.modified.endLineNumberExclusive,1))}else return new Lt(new fe(this.original.startLineNumber-1,Number.MAX_SAFE_INTEGER,this.original.endLineNumberExclusive-1,Number.MAX_SAFE_INTEGER),new fe(this.modified.startLineNumber-1,Number.MAX_SAFE_INTEGER,this.modified.endLineNumberExclusive-1,Number.MAX_SAFE_INTEGER))}toRangeMapping2(t,n){if(Jo(this.original.endLineNumberExclusive,t)&&Jo(this.modified.endLineNumberExclusive,n))return new Lt(new fe(this.original.startLineNumber,1,this.original.endLineNumberExclusive,1),new fe(this.modified.startLineNumber,1,this.modified.endLineNumberExclusive,1));if(!this.original.isEmpty&&!this.modified.isEmpty)return new Lt(fe.fromPositions(new Re(this.original.startLineNumber,1),wn(new Re(this.original.endLineNumberExclusive-1,Number.MAX_SAFE_INTEGER),t)),fe.fromPositions(new Re(this.modified.startLineNumber,1),wn(new Re(this.modified.endLineNumberExclusive-1,Number.MAX_SAFE_INTEGER),n)));if(this.original.startLineNumber>1&&this.modified.startLineNumber>1)return new Lt(fe.fromPositions(wn(new Re(this.original.startLineNumber-1,Number.MAX_SAFE_INTEGER),t),wn(new Re(this.original.endLineNumberExclusive-1,Number.MAX_SAFE_INTEGER),t)),fe.fromPositions(wn(new Re(this.modified.startLineNumber-1,Number.MAX_SAFE_INTEGER),n),wn(new Re(this.modified.endLineNumberExclusive-1,Number.MAX_SAFE_INTEGER),n)));throw new ht}}function wn(e,t){if(e.lineNumber<1)return new Re(1,1);if(e.lineNumber>t.length)return new Re(t.length,t[t.length-1].length+1);const n=t[e.lineNumber-1];return e.column>n.length+1?new Re(e.lineNumber,n.length+1):e}function Jo(e,t){return e>=1&&e<=t.length}class Bt extends vt{static fromRangeMappings(t){const n=ie.join(t.map(r=>ie.fromRangeInclusive(r.originalRange))),i=ie.join(t.map(r=>ie.fromRangeInclusive(r.modifiedRange)));return new Bt(n,i,t)}constructor(t,n,i){super(t,n),this.innerChanges=i}flip(){var t;return new Bt(this.modified,this.original,(t=this.innerChanges)==null?void 0:t.map(n=>n.flip()))}withInnerChangesFromLineRanges(){return new Bt(this.original,this.modified,[this.toRangeMapping()])}}class Lt{static assertSorted(t){for(let n=1;n${this.modifiedRange.toString()}}`}flip(){return new Lt(this.modifiedRange,this.originalRange)}toTextEdit(t){const n=t.getValueOfRange(this.modifiedRange);return new C1(this.originalRange,n)}}const D1=3;class k1{computeDiff(t,n,i){var l;const s=new M1(t,n,{maxComputationTime:i.maxComputationTimeMs,shouldIgnoreTrimWhitespace:i.ignoreTrimWhitespace,shouldComputeCharChanges:!0,shouldMakePrettyDiff:!0,shouldPostProcessCharChanges:!0}).computeDiff(),a=[];let o=null;for(const u of s.changes){let f;u.originalEndLineNumber===0?f=new ie(u.originalStartLineNumber+1,u.originalStartLineNumber+1):f=new ie(u.originalStartLineNumber,u.originalEndLineNumber+1);let d;u.modifiedEndLineNumber===0?d=new ie(u.modifiedStartLineNumber+1,u.modifiedStartLineNumber+1):d=new ie(u.modifiedStartLineNumber,u.modifiedEndLineNumber+1);let h=new Bt(f,d,(l=u.charChanges)==null?void 0:l.map(m=>new Lt(new fe(m.originalStartLineNumber,m.originalStartColumn,m.originalEndLineNumber,m.originalEndColumn),new fe(m.modifiedStartLineNumber,m.modifiedStartColumn,m.modifiedEndLineNumber,m.modifiedEndColumn))));o&&(o.modified.endLineNumberExclusive===h.modified.startLineNumber||o.original.endLineNumberExclusive===h.original.startLineNumber)&&(h=new Bt(o.original.join(h.original),o.modified.join(h.modified),o.innerChanges&&h.innerChanges?o.innerChanges.concat(h.innerChanges):void 0),a.pop()),a.push(h),o=h}return Zi(()=>pc(a,(u,f)=>f.original.startLineNumber-u.original.endLineNumberExclusive===f.modified.startLineNumber-u.modified.endLineNumberExclusive&&u.original.endLineNumberExclusive(t===10?"\\n":String.fromCharCode(t))+`-(${this._lineNumbers[n]},${this._columns[n]})`).join(", ")+"]"}_assertIndex(t,n){if(t<0||t>=n.length)throw new Error("Illegal index")}getElements(){return this._charCodes}getStartLineNumber(t){return t>0&&t===this._lineNumbers.length?this.getEndLineNumber(t-1):(this._assertIndex(t,this._lineNumbers),this._lineNumbers[t])}getEndLineNumber(t){return t===-1?this.getStartLineNumber(t+1):(this._assertIndex(t,this._lineNumbers),this._charCodes[t]===10?this._lineNumbers[t]+1:this._lineNumbers[t])}getStartColumn(t){return t>0&&t===this._columns.length?this.getEndColumn(t-1):(this._assertIndex(t,this._columns),this._columns[t])}getEndColumn(t){return t===-1?this.getStartColumn(t+1):(this._assertIndex(t,this._columns),this._charCodes[t]===10?1:this._columns[t]+1)}}class $n{constructor(t,n,i,r,s,a,o,l){this.originalStartLineNumber=t,this.originalStartColumn=n,this.originalEndLineNumber=i,this.originalEndColumn=r,this.modifiedStartLineNumber=s,this.modifiedStartColumn=a,this.modifiedEndLineNumber=o,this.modifiedEndColumn=l}static createFromDiffChange(t,n,i){const r=n.getStartLineNumber(t.originalStart),s=n.getStartColumn(t.originalStart),a=n.getEndLineNumber(t.originalStart+t.originalLength-1),o=n.getEndColumn(t.originalStart+t.originalLength-1),l=i.getStartLineNumber(t.modifiedStart),u=i.getStartColumn(t.modifiedStart),f=i.getEndLineNumber(t.modifiedStart+t.modifiedLength-1),d=i.getEndColumn(t.modifiedStart+t.modifiedLength-1);return new $n(r,s,a,o,l,u,f,d)}}function F1(e){if(e.length<=1)return e;const t=[e[0]];let n=t[0];for(let i=1,r=e.length;i0&&n.originalLength<20&&n.modifiedLength>0&&n.modifiedLength<20&&s()){const m=i.createCharSequence(t,n.originalStart,n.originalStart+n.originalLength-1),p=r.createCharSequence(t,n.modifiedStart,n.modifiedStart+n.modifiedLength-1);if(m.getElements().length>0&&p.getElements().length>0){let b=vc(m,p,s,!0).changes;o&&(b=F1(b)),h=[];for(let T=0,_=b.length;T<_;T++)h.push($n.createFromDiffChange(b[T],m,p))}}return new li(l,u,f,d,h)}}class M1{constructor(t,n,i){this.shouldComputeCharChanges=i.shouldComputeCharChanges,this.shouldPostProcessCharChanges=i.shouldPostProcessCharChanges,this.shouldIgnoreTrimWhitespace=i.shouldIgnoreTrimWhitespace,this.shouldMakePrettyDiff=i.shouldMakePrettyDiff,this.originalLines=t,this.modifiedLines=n,this.original=new Zo(t),this.modified=new Zo(n),this.continueLineDiff=Ko(i.maxComputationTime),this.continueCharDiff=Ko(i.maxComputationTime===0?0:Math.min(i.maxComputationTime,5e3))}computeDiff(){if(this.original.lines.length===1&&this.original.lines[0].length===0)return this.modified.lines.length===1&&this.modified.lines[0].length===0?{quitEarly:!1,changes:[]}:{quitEarly:!1,changes:[{originalStartLineNumber:1,originalEndLineNumber:1,modifiedStartLineNumber:1,modifiedEndLineNumber:this.modified.lines.length,charChanges:void 0}]};if(this.modified.lines.length===1&&this.modified.lines[0].length===0)return{quitEarly:!1,changes:[{originalStartLineNumber:1,originalEndLineNumber:this.original.lines.length,modifiedStartLineNumber:1,modifiedEndLineNumber:1,charChanges:void 0}]};const t=vc(this.original,this.modified,this.continueLineDiff,this.shouldMakePrettyDiff),n=t.changes,i=t.quitEarly;if(this.shouldIgnoreTrimWhitespace){const o=[];for(let l=0,u=n.length;l1&&b>1;){const T=h.charCodeAt(p-2),_=m.charCodeAt(b-2);if(T!==_)break;p--,b--}(p>1||b>1)&&this._pushTrimWhitespaceCharChange(r,s+1,1,p,a+1,1,b)}{let p=Es(h,1),b=Es(m,1);const T=h.length+1,_=m.length+1;for(;p!0;const t=Date.now();return()=>Date.now()-ti===r){if(e===t)return!0;if(!e||!t||e.length!==t.length)return!1;for(let i=0,r=e.length;i0}e.isGreaterThan=i;function r(s){return s===0}e.isNeitherLessOrGreaterThan=r,e.greaterThan=1,e.lessThan=-1,e.neitherLessOrGreaterThan=0})(Ts||(Ts={}));function Ui(e,t){return(n,i)=>t(e(n),e(i))}const Bi=(e,t)=>e-t;function j1(e){return(t,n)=>-e(t,n)}const Pn=class Pn{constructor(t){this.iterate=t}toArray(){const t=[];return this.iterate(n=>(t.push(n),!0)),t}filter(t){return new Pn(n=>this.iterate(i=>t(i)?n(i):!0))}map(t){return new Pn(n=>this.iterate(i=>n(t(i))))}findLast(t){let n;return this.iterate(i=>(t(i)&&(n=i),!0)),n}findLastMaxBy(t){let n,i=!0;return this.iterate(r=>((i||Ts.isGreaterThan(t(r,n)))&&(i=!1,n=r),!0)),n}};Pn.empty=new Pn(t=>{});let el=Pn;class jt{static trivial(t,n){return new jt([new Ae(ce.ofLength(t.length),ce.ofLength(n.length))],!1)}static trivialTimedOut(t,n){return new jt([new Ae(ce.ofLength(t.length),ce.ofLength(n.length))],!0)}constructor(t,n){this.diffs=t,this.hitTimeout=n}}class Ae{static invert(t,n){const i=[];return $1(t,(r,s)=>{i.push(Ae.fromOffsetPairs(r?r.getEndExclusives():$t.zero,s?s.getStarts():new $t(n,(r?r.seq2Range.endExclusive-r.seq1Range.endExclusive:0)+n)))}),i}static fromOffsetPairs(t,n){return new Ae(new ce(t.offset1,n.offset1),new ce(t.offset2,n.offset2))}static assertSorted(t){let n;for(const i of t){if(n&&!(n.seq1Range.endExclusive<=i.seq1Range.start&&n.seq2Range.endExclusive<=i.seq2Range.start))throw new ht("Sequence diffs must be sorted");n=i}}constructor(t,n){this.seq1Range=t,this.seq2Range=n}swap(){return new Ae(this.seq2Range,this.seq1Range)}toString(){return`${this.seq1Range} <-> ${this.seq2Range}`}join(t){return new Ae(this.seq1Range.join(t.seq1Range),this.seq2Range.join(t.seq2Range))}delta(t){return t===0?this:new Ae(this.seq1Range.delta(t),this.seq2Range.delta(t))}deltaStart(t){return t===0?this:new Ae(this.seq1Range.deltaStart(t),this.seq2Range.deltaStart(t))}deltaEnd(t){return t===0?this:new Ae(this.seq1Range.deltaEnd(t),this.seq2Range.deltaEnd(t))}intersect(t){const n=this.seq1Range.intersect(t.seq1Range),i=this.seq2Range.intersect(t.seq2Range);if(!(!n||!i))return new Ae(n,i)}getStarts(){return new $t(this.seq1Range.start,this.seq2Range.start)}getEndExclusives(){return new $t(this.seq1Range.endExclusive,this.seq2Range.endExclusive)}}const cn=class cn{constructor(t,n){this.offset1=t,this.offset2=n}toString(){return`${this.offset1} <-> ${this.offset2}`}delta(t){return t===0?this:new cn(this.offset1+t,this.offset2+t)}equals(t){return this.offset1===t.offset1&&this.offset2===t.offset2}};cn.zero=new cn(0,0),cn.max=new cn(Number.MAX_SAFE_INTEGER,Number.MAX_SAFE_INTEGER);let $t=cn;const _r=class _r{isValid(){return!0}};_r.instance=new _r;let bi=_r;class q1{constructor(t){if(this.timeout=t,this.startTime=Date.now(),this.valid=!0,t<=0)throw new ht("timeout must be positive")}isValid(){if(!(Date.now()-this.startTime0&&b>0&&a.get(p-1,b-1)===3&&(I+=o.get(p-1,b-1)),I+=r?r(p,b):1):I=-1;const S=Math.max(T,_,I);if(S===I){const w=p>0&&b>0?o.get(p-1,b-1):0;o.set(p,b,w+1),a.set(p,b,3)}else S===T?(o.set(p,b,0),a.set(p,b,1)):S===_&&(o.set(p,b,0),a.set(p,b,2));s.set(p,b,S)}const l=[];let u=t.length,f=n.length;function d(p,b){(p+1!==u||b+1!==f)&&l.push(new Ae(new ce(p+1,u),new ce(b+1,f))),u=p,f=b}let h=t.length-1,m=n.length-1;for(;h>=0&&m>=0;)a.get(h,m)===3?(d(h,m),h--,m--):a.get(h,m)===1?h--:m--;return d(-1,-1),l.reverse(),new jt(l,!1)}}class _c{compute(t,n,i=bi.instance){if(t.length===0||n.length===0)return jt.trivial(t,n);const r=t,s=n;function a(b,T){for(;br.length||w>s.length)continue;const x=a(S,w);l.set(f,x);const C=S===_?u.get(f+1):u.get(f-1);if(u.set(f,x!==S?new tl(C,S,w,x-S):C),l.get(f)===r.length&&l.get(f)-f===s.length)break e}}let d=u.get(f);const h=[];let m=r.length,p=s.length;for(;;){const b=d?d.x+d.length:0,T=d?d.y+d.length:0;if((b!==m||T!==p)&&h.push(new Ae(new ce(b,m),new ce(T,p))),!d)break;m=d.x,p=d.y,d=d.prev}return h.reverse(),new jt(h,!1)}}class tl{constructor(t,n,i,r){this.prev=t,this.x=n,this.y=i,this.length=r}}class G1{constructor(){this.positiveArr=new Int32Array(10),this.negativeArr=new Int32Array(10)}get(t){return t<0?(t=-t-1,this.negativeArr[t]):this.positiveArr[t]}set(t,n){if(t<0){if(t=-t-1,t>=this.negativeArr.length){const i=this.negativeArr;this.negativeArr=new Int32Array(i.length*2),this.negativeArr.set(i)}this.negativeArr[t]=n}else{if(t>=this.positiveArr.length){const i=this.positiveArr;this.positiveArr=new Int32Array(i.length*2),this.positiveArr.set(i)}this.positiveArr[t]=n}}}class W1{constructor(){this.positiveArr=[],this.negativeArr=[]}get(t){return t<0?(t=-t-1,this.negativeArr[t]):this.positiveArr[t]}set(t,n){t<0?(t=-t-1,this.negativeArr[t]=n):this.positiveArr[t]=n}}class tr{constructor(t,n,i){this.lines=t,this.range=n,this.considerWhitespaceChanges=i,this.elements=[],this.firstElementOffsetByLineIdx=[],this.lineStartOffsets=[],this.trimmedWsLengthsByLineIdx=[],this.firstElementOffsetByLineIdx.push(0);for(let r=this.range.startLineNumber;r<=this.range.endLineNumber;r++){let s=t[r-1],a=0;r===this.range.startLineNumber&&this.range.startColumn>1&&(a=this.range.startColumn-1,s=s.substring(a)),this.lineStartOffsets.push(a);let o=0;if(!i){const u=s.trimStart();o=s.length-u.length,s=u.trimEnd()}this.trimmedWsLengthsByLineIdx.push(o);const l=r===this.range.endLineNumber?Math.min(this.range.endColumn-1-a-o,s.length):s.length;for(let u=0;uString.fromCharCode(n)).join("")}getElement(t){return this.elements[t]}get length(){return this.elements.length}getBoundaryScore(t){const n=il(t>0?this.elements[t-1]:-1),i=il(ts<=t),r=t-this.firstElementOffsetByLineIdx[i];return new Re(this.range.startLineNumber+i,1+this.lineStartOffsets[i]+r+(r===0&&n==="left"?0:this.trimmedWsLengthsByLineIdx[i]))}translateRange(t){const n=this.translateOffset(t.start,"right"),i=this.translateOffset(t.endExclusive,"left");return i.isBefore(n)?fe.fromPositions(i,i):fe.fromPositions(n,i)}findWordContaining(t){if(t<0||t>=this.elements.length||!Br(this.elements[t]))return;let n=t;for(;n>0&&Br(this.elements[n-1]);)n--;let i=t;for(;ir<=t.start)??0,i=R1(this.firstElementOffsetByLineIdx,r=>t.endExclusive<=r)??this.elements.length;return new ce(n,i)}}function Br(e){return e>=97&&e<=122||e>=65&&e<=90||e>=48&&e<=57}const z1={0:0,1:0,2:0,3:10,4:2,5:30,6:3,7:10,8:10};function nl(e){return z1[e]}function il(e){return e===10?8:e===13?7:Ss(e)?6:e>=97&&e<=122?0:e>=65&&e<=90?1:e>=48&&e<=57?2:e===-1?3:e===44||e===59?5:4}function Y1(e,t,n,i,r,s){let{moves:a,excludedChanges:o}=X1(e,t,n,s);if(!s.isValid())return[];const l=e.filter(f=>!o.has(f)),u=J1(l,i,r,t,n,s);return B1(a,u),a=Z1(a),a=a.filter(f=>{const d=f.original.toOffsetRange().slice(t).map(m=>m.trim());return d.join(` +`).length>=15&&Q1(d,m=>m.length>=2)>=2}),a=K1(e,a),a}function Q1(e,t){let n=0;for(const i of e)t(i)&&n++;return n}function X1(e,t,n,i){const r=[],s=e.filter(l=>l.modified.isEmpty&&l.original.length>=3).map(l=>new er(l.original,t,l)),a=new Set(e.filter(l=>l.original.isEmpty&&l.modified.length>=3).map(l=>new er(l.modified,n,l))),o=new Set;for(const l of s){let u=-1,f;for(const d of a){const h=l.computeSimilarity(d);h>u&&(u=h,f=d)}if(u>.9&&f&&(a.delete(f),r.push(new vt(l.range,f.range)),o.add(l.source),o.add(f.source)),!i.isValid())return{moves:r,excludedChanges:o}}return{moves:r,excludedChanges:o}}function J1(e,t,n,i,r,s){const a=[],o=new g1;for(const h of e)for(let m=h.original.startLineNumber;mh.modified.startLineNumber,Bi));for(const h of e){let m=[];for(let p=h.modified.startLineNumber;p{for(const w of m)if(w.originalLineRange.endLineNumberExclusive+1===I.endLineNumberExclusive&&w.modifiedLineRange.endLineNumberExclusive+1===T.endLineNumberExclusive){w.originalLineRange=new ie(w.originalLineRange.startLineNumber,I.endLineNumberExclusive),w.modifiedLineRange=new ie(w.modifiedLineRange.startLineNumber,T.endLineNumberExclusive),_.push(w);return}const S={modifiedLineRange:T,originalLineRange:I};l.push(S),_.push(S)}),m=_}if(!s.isValid())return[]}l.sort(j1(Ui(h=>h.modifiedLineRange.length,Bi)));const u=new Ft,f=new Ft;for(const h of l){const m=h.modifiedLineRange.startLineNumber-h.originalLineRange.startLineNumber,p=u.subtractFrom(h.modifiedLineRange),b=f.subtractFrom(h.originalLineRange).getWithDelta(m),T=p.getIntersection(b);for(const _ of T.ranges){if(_.length<3)continue;const I=_,S=_.delta(-m);a.push(new vt(S,I)),u.addRange(I),f.addRange(S)}}a.sort(Ui(h=>h.original.startLineNumber,Bi));const d=new Ki(e);for(let h=0;hC.original.startLineNumber<=m.original.startLineNumber),b=Gn(e,C=>C.modified.startLineNumber<=m.modified.startLineNumber),T=Math.max(m.original.startLineNumber-p.original.startLineNumber,m.modified.startLineNumber-b.modified.startLineNumber),_=d.findLastMonotonous(C=>C.original.startLineNumberC.modified.startLineNumberi.length||O>r.length||u.contains(O)||f.contains(C)||!rl(i[C-1],r[O-1],s))break}w>0&&(f.addRange(new ie(m.original.startLineNumber-w,m.original.startLineNumber)),u.addRange(new ie(m.modified.startLineNumber-w,m.modified.startLineNumber)));let x;for(x=0;xi.length||O>r.length||u.contains(O)||f.contains(C)||!rl(i[C-1],r[O-1],s))break}x>0&&(f.addRange(new ie(m.original.endLineNumberExclusive,m.original.endLineNumberExclusive+x)),u.addRange(new ie(m.modified.endLineNumberExclusive,m.modified.endLineNumberExclusive+x))),(w>0||x>0)&&(a[h]=new vt(new ie(m.original.startLineNumber-w,m.original.endLineNumberExclusive+x),new ie(m.modified.startLineNumber-w,m.modified.endLineNumberExclusive+x)))}return a}function rl(e,t,n){if(e.trim()===t.trim())return!0;if(e.length>300&&t.length>300)return!1;const r=new _c().compute(new tr([e],new fe(1,1,1,e.length),!1),new tr([t],new fe(1,1,1,t.length),!1),n);let s=0;const a=Ae.invert(r.diffs,e.length);for(const f of a)f.seq1Range.forEach(d=>{Ss(e.charCodeAt(d))||s++});function o(f){let d=0;for(let h=0;ht.length?e:t);return s/l>.6&&l>10}function Z1(e){if(e.length===0)return e;e.sort(Ui(n=>n.original.startLineNumber,Bi));const t=[e[0]];for(let n=1;n=0&&a>=0&&s+a<=2){t[t.length-1]=i.join(r);continue}t.push(r)}return t}function K1(e,t){const n=new Ki(e);return t=t.filter(i=>{const r=n.findLastMonotonous(o=>o.original.startLineNumbero.modified.startLineNumber0&&(o=o.delta(u))}r.push(o)}return i.length>0&&r.push(i[i.length-1]),r}function eh(e,t,n){if(!e.getBoundaryScore||!t.getBoundaryScore)return n;for(let i=0;i0?n[i-1]:void 0,s=n[i],a=i+1=i.start&&e.seq2Range.start-a>=r.start&&n.isStronglyEqual(e.seq2Range.start-a,e.seq2Range.endExclusive-a)&&a<100;)a++;a--;let o=0;for(;e.seq1Range.start+ou&&(u=p,l=f)}return e.delta(l)}function th(e,t,n){const i=[];for(const r of n){const s=i[i.length-1];if(!s){i.push(r);continue}r.seq1Range.start-s.seq1Range.endExclusive<=2||r.seq2Range.start-s.seq2Range.endExclusive<=2?i[i.length-1]=new Ae(s.seq1Range.join(r.seq1Range),s.seq2Range.join(r.seq2Range)):i.push(r)}return i}function nh(e,t,n){const i=Ae.invert(n,e.length),r=[];let s=new $t(0,0);function a(l,u){if(l.offset10;){const T=i[0];if(!(T.seq1Range.intersects(h.seq1Range)||T.seq2Range.intersects(h.seq2Range)))break;const I=e.findWordContaining(T.seq1Range.start),S=t.findWordContaining(T.seq2Range.start),w=new Ae(I,S),x=w.intersect(T);if(p+=x.seq1Range.length,b+=x.seq2Range.length,h=h.join(w),h.seq1Range.endExclusive>=T.seq1Range.endExclusive)i.shift();else break}p+b<(h.seq1Range.length+h.seq2Range.length)*2/3&&r.push(h),s=h.getEndExclusives()}for(;i.length>0;){const l=i.shift();l.seq1Range.isEmpty||(a(l.getStarts(),l),a(l.getEndExclusives().delta(-1),l))}return ih(n,r)}function ih(e,t){const n=[];for(;e.length>0||t.length>0;){const i=e[0],r=t[0];let s;i&&(!r||i.seq1Range.start0&&n[n.length-1].seq1Range.endExclusive>=s.seq1Range.start?n[n.length-1]=n[n.length-1].join(s):n.push(s)}return n}function rh(e,t,n){let i=n;if(i.length===0)return i;let r=0,s;do{s=!1;const a=[i[0]];for(let o=1;o5||m.seq1Range.length+m.seq2Range.length>5)};const l=i[o],u=a[a.length-1];f(u,l)?(s=!0,a[a.length-1]=a[a.length-1].join(l)):a.push(l)}i=a}while(r++<10&&s);return i}function sh(e,t,n){let i=n;if(i.length===0)return i;let r=0,s;do{s=!1;const o=[i[0]];for(let l=1;l5||b.length>500)return!1;const _=e.getText(b).trim();if(_.length>20||_.split(/\r\n|\r|\n/).length>1)return!1;const I=e.countLinesIn(m.seq1Range),S=m.seq1Range.length,w=t.countLinesIn(m.seq2Range),x=m.seq2Range.length,C=e.countLinesIn(p.seq1Range),O=p.seq1Range.length,j=t.countLinesIn(p.seq2Range),N=p.seq2Range.length,G=130;function Q(B){return Math.min(B,G)}return Math.pow(Math.pow(Q(I*40+S),1.5)+Math.pow(Q(w*40+x),1.5),1.5)+Math.pow(Math.pow(Q(C*40+O),1.5)+Math.pow(Q(j*40+N),1.5),1.5)>(G**1.5)**1.5*1.3};const u=i[l],f=o[o.length-1];d(f,u)?(s=!0,o[o.length-1]=o[o.length-1].join(u)):o.push(u)}i=o}while(r++<10&&s);const a=[];return U1(i,(o,l,u)=>{let f=l;function d(_){return _.length>0&&_.trim().length<=3&&l.seq1Range.length+l.seq2Range.length>100}const h=e.extendToFullLines(l.seq1Range),m=e.getText(new ce(h.start,l.seq1Range.start));d(m)&&(f=f.deltaStart(-m.length));const p=e.getText(new ce(l.seq1Range.endExclusive,h.endExclusive));d(p)&&(f=f.deltaEnd(p.length));const b=Ae.fromOffsetPairs(o?o.getEndExclusives():$t.zero,u?u.getStarts():$t.max),T=f.intersect(b);a.length>0&&T.getStarts().equals(a[a.length-1].getEndExclusives())?a[a.length-1]=a[a.length-1].join(T):a.push(T)}),a}class ll{constructor(t,n){this.trimmedHash=t,this.lines=n}getElement(t){return this.trimmedHash[t]}get length(){return this.trimmedHash.length}getBoundaryScore(t){const n=t===0?0:ul(this.lines[t-1]),i=t===this.lines.length?0:ul(this.lines[t]);return 1e3-(n+i)}getText(t){return this.lines.slice(t.start,t.endExclusive).join(` +`)}isStronglyEqual(t,n){return this.lines[t]===this.lines[n]}}function ul(e){let t=0;for(;tx===C))return new $i([],[],!1);if(t.length===1&&t[0].length===0||n.length===1&&n[0].length===0)return new $i([new Bt(new ie(1,t.length+1),new ie(1,n.length+1),[new Lt(new fe(1,1,t.length,t[t.length-1].length+1),new fe(1,1,n.length,n[n.length-1].length+1))])],[],!1);const r=i.maxComputationTimeMs===0?bi.instance:new q1(i.maxComputationTimeMs),s=!i.ignoreTrimWhitespace,a=new Map;function o(x){let C=a.get(x);return C===void 0&&(C=a.size,a.set(x,C)),C}const l=t.map(x=>o(x.trim())),u=n.map(x=>o(x.trim())),f=new ll(l,t),d=new ll(u,n),h=f.length+d.length<1700?this.dynamicProgrammingDiffing.compute(f,d,r,(x,C)=>t[x]===n[C]?n[C].length===0?.1:1+Math.log(1+n[C].length):.99):this.myersDiffingAlgorithm.compute(f,d,r);let m=h.diffs,p=h.hitTimeout;m=sl(f,d,m),m=rh(f,d,m);const b=[],T=x=>{if(s)for(let C=0;Cx.seq1Range.start-_===x.seq2Range.start-I);const C=x.seq1Range.start-_;T(C),_=x.seq1Range.endExclusive,I=x.seq2Range.endExclusive;const O=this.refineDiff(t,n,x,r,s);O.hitTimeout&&(p=!0);for(const j of O.mappings)b.push(j)}T(t.length-_);const S=cl(b,t,n);let w=[];return i.computeMoves&&(w=this.computeMoves(S,t,n,l,u,r,s)),Zi(()=>{function x(O,j){if(O.lineNumber<1||O.lineNumber>j.length)return!1;const N=j[O.lineNumber-1];return!(O.column<1||O.column>N.length+1)}function C(O,j){return!(O.startLineNumber<1||O.startLineNumber>j.length+1||O.endLineNumberExclusive<1||O.endLineNumberExclusive>j.length+1)}for(const O of S){if(!O.innerChanges)return!1;for(const j of O.innerChanges)if(!(x(j.modifiedRange.getStartPosition(),n)&&x(j.modifiedRange.getEndPosition(),n)&&x(j.originalRange.getStartPosition(),t)&&x(j.originalRange.getEndPosition(),t)))return!1;if(!C(O.modified,n)||!C(O.original,t))return!1}return!0}),new $i(S,w,p)}computeMoves(t,n,i,r,s,a,o){return Y1(t,n,i,r,s,a).map(f=>{const d=this.refineDiff(n,i,new Ae(f.original.toOffsetRange(),f.modified.toOffsetRange()),a,o),h=cl(d.mappings,n,i,!0);return new I1(f,h)})}refineDiff(t,n,i,r,s){const o=lh(i).toRangeMapping2(t,n),l=new tr(t,o.originalRange,s),u=new tr(n,o.modifiedRange,s),f=l.length+u.length<500?this.dynamicProgrammingDiffing.compute(l,u,r):this.myersDiffingAlgorithm.compute(l,u,r);let d=f.diffs;return d=sl(l,u,d),d=nh(l,u,d),d=th(l,u,d),d=sh(l,u,d),{mappings:d.map(m=>new Lt(l.translateRange(m.seq1Range),u.translateRange(m.seq2Range))),hitTimeout:f.hitTimeout}}}function cl(e,t,n,i=!1){const r=[];for(const s of V1(e.map(a=>oh(a,t,n)),(a,o)=>a.original.overlapOrTouch(o.original)||a.modified.overlapOrTouch(o.modified))){const a=s[0],o=s[s.length-1];r.push(new Bt(a.original.join(o.original),a.modified.join(o.modified),s.map(l=>l.innerChanges[0])))}return Zi(()=>!i&&r.length>0&&(r[0].modified.startLineNumber!==r[0].original.startLineNumber||n.length-r[r.length-1].modified.endLineNumberExclusive!==t.length-r[r.length-1].original.endLineNumberExclusive)?!1:pc(r,(s,a)=>a.original.startLineNumber-s.original.endLineNumberExclusive===a.modified.startLineNumber-s.modified.endLineNumberExclusive&&s.original.endLineNumberExclusive=n[e.modifiedRange.startLineNumber-1].length&&e.originalRange.startColumn-1>=t[e.originalRange.startLineNumber-1].length&&e.originalRange.startLineNumber<=e.originalRange.endLineNumber+r&&e.modifiedRange.startLineNumber<=e.modifiedRange.endLineNumber+r&&(i=1);const s=new ie(e.originalRange.startLineNumber+i,e.originalRange.endLineNumber+1+r),a=new ie(e.modifiedRange.startLineNumber+i,e.modifiedRange.endLineNumber+1+r);return new Bt(s,a,[e])}function lh(e){return new vt(new ie(e.seq1Range.start+1,e.seq1Range.endExclusive+1),new ie(e.seq2Range.start+1,e.seq2Range.endExclusive+1))}const fl={getLegacy:()=>new k1,getDefault:()=>new ah};function tn(e,t){const n=Math.pow(10,t);return Math.round(e*n)/n}class qe{constructor(t,n,i,r=1){this._rgbaBrand=void 0,this.r=Math.min(255,Math.max(0,t))|0,this.g=Math.min(255,Math.max(0,n))|0,this.b=Math.min(255,Math.max(0,i))|0,this.a=tn(Math.max(Math.min(1,r),0),3)}static equals(t,n){return t.r===n.r&&t.g===n.g&&t.b===n.b&&t.a===n.a}}class yt{constructor(t,n,i,r){this._hslaBrand=void 0,this.h=Math.max(Math.min(360,t),0)|0,this.s=tn(Math.max(Math.min(1,n),0),3),this.l=tn(Math.max(Math.min(1,i),0),3),this.a=tn(Math.max(Math.min(1,r),0),3)}static equals(t,n){return t.h===n.h&&t.s===n.s&&t.l===n.l&&t.a===n.a}static fromRGBA(t){const n=t.r/255,i=t.g/255,r=t.b/255,s=t.a,a=Math.max(n,i,r),o=Math.min(n,i,r);let l=0,u=0;const f=(o+a)/2,d=a-o;if(d>0){switch(u=Math.min(f<=.5?d/(2*f):d/(2-2*f),1),a){case n:l=(i-r)/d+(i1&&(i-=1),i<1/6?t+(n-t)*6*i:i<1/2?n:i<2/3?t+(n-t)*(2/3-i)*6:t}static toRGBA(t){const n=t.h/360,{s:i,l:r,a:s}=t;let a,o,l;if(i===0)a=o=l=r;else{const u=r<.5?r*(1+i):r+i-r*i,f=2*r-u;a=yt._hue2rgb(f,u,n+1/3),o=yt._hue2rgb(f,u,n),l=yt._hue2rgb(f,u,n-1/3)}return new qe(Math.round(a*255),Math.round(o*255),Math.round(l*255),s)}}class Cn{constructor(t,n,i,r){this._hsvaBrand=void 0,this.h=Math.max(Math.min(360,t),0)|0,this.s=tn(Math.max(Math.min(1,n),0),3),this.v=tn(Math.max(Math.min(1,i),0),3),this.a=tn(Math.max(Math.min(1,r),0),3)}static equals(t,n){return t.h===n.h&&t.s===n.s&&t.v===n.v&&t.a===n.a}static fromRGBA(t){const n=t.r/255,i=t.g/255,r=t.b/255,s=Math.max(n,i,r),a=Math.min(n,i,r),o=s-a,l=s===0?0:o/s;let u;return o===0?u=0:s===n?u=((i-r)/o%6+6)%6:s===i?u=(r-n)/o+2:u=(n-i)/o+4,new Cn(Math.round(u*60),l,s,t.a)}static toRGBA(t){const{h:n,s:i,v:r,a:s}=t,a=r*i,o=a*(1-Math.abs(n/60%2-1)),l=r-a;let[u,f,d]=[0,0,0];return n<60?(u=a,f=o):n<120?(u=o,f=a):n<180?(f=a,d=o):n<240?(f=o,d=a):n<300?(u=o,d=a):n<=360&&(u=a,d=o),u=Math.round((u+l)*255),f=Math.round((f+l)*255),d=Math.round((d+l)*255),new qe(u,f,d,s)}}var pe;let nr=(pe=class{static fromHex(t){return pe.Format.CSS.parseHex(t)||pe.red}static equals(t,n){return!t&&!n?!0:!t||!n?!1:t.equals(n)}get hsla(){return this._hsla?this._hsla:yt.fromRGBA(this.rgba)}get hsva(){return this._hsva?this._hsva:Cn.fromRGBA(this.rgba)}constructor(t){if(t)if(t instanceof qe)this.rgba=t;else if(t instanceof yt)this._hsla=t,this.rgba=yt.toRGBA(t);else if(t instanceof Cn)this._hsva=t,this.rgba=Cn.toRGBA(t);else throw new Error("Invalid color ctor argument");else throw new Error("Color needs a value")}equals(t){return!!t&&qe.equals(this.rgba,t.rgba)&&yt.equals(this.hsla,t.hsla)&&Cn.equals(this.hsva,t.hsva)}getRelativeLuminance(){const t=pe._relativeLuminanceForComponent(this.rgba.r),n=pe._relativeLuminanceForComponent(this.rgba.g),i=pe._relativeLuminanceForComponent(this.rgba.b),r=.2126*t+.7152*n+.0722*i;return tn(r,4)}static _relativeLuminanceForComponent(t){const n=t/255;return n<=.03928?n/12.92:Math.pow((n+.055)/1.055,2.4)}isLighter(){return(this.rgba.r*299+this.rgba.g*587+this.rgba.b*114)/1e3>=128}isLighterThan(t){const n=this.getRelativeLuminance(),i=t.getRelativeLuminance();return n>i}isDarkerThan(t){const n=this.getRelativeLuminance(),i=t.getRelativeLuminance();return n0)for(const r of i){const s=r.filter(u=>u!==void 0),a=s[1],o=s[2];if(!o)continue;let l;if(a==="rgb"){const u=/^\(\s*(25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9][0-9]|[0-9])\s*,\s*(25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9][0-9]|[0-9])\s*,\s*(25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9][0-9]|[0-9])\s*\)$/gm;l=dl(ei(e,r),ti(o,u),!1)}else if(a==="rgba"){const u=/^\(\s*(25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9][0-9]|[0-9])\s*,\s*(25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9][0-9]|[0-9])\s*,\s*(25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9][0-9]|[0-9])\s*,\s*(0[.][0-9]+|[.][0-9]+|[01][.]|[01])\s*\)$/gm;l=dl(ei(e,r),ti(o,u),!0)}else if(a==="hsl"){const u=/^\(\s*(36[0]|3[0-5][0-9]|[12][0-9][0-9]|[1-9]?[0-9])\s*,\s*(100|\d{1,2}[.]\d*|\d{1,2})%\s*,\s*(100|\d{1,2}[.]\d*|\d{1,2})%\s*\)$/gm;l=hl(ei(e,r),ti(o,u),!1)}else if(a==="hsla"){const u=/^\(\s*(36[0]|3[0-5][0-9]|[12][0-9][0-9]|[1-9]?[0-9])\s*,\s*(100|\d{1,2}[.]\d*|\d{1,2})%\s*,\s*(100|\d{1,2}[.]\d*|\d{1,2})%\s*,\s*(0[.][0-9]+|[.][0-9]+|[01][.]|[01])\s*\)$/gm;l=hl(ei(e,r),ti(o,u),!0)}else a==="#"&&(l=uh(ei(e,r),a+o));l&&t.push(l)}return t}function fh(e){return!e||typeof e.getValue!="function"||typeof e.positionAt!="function"?[]:ch(e)}const ml=new RegExp("\\bMARK:\\s*(.*)$","d"),dh=/^-+|-+$/g;function hh(e,t){var i;let n=[];if(t.findRegionSectionHeaders&&((i=t.foldingRules)!=null&&i.markers)){const r=mh(e,t);n=n.concat(r)}if(t.findMarkSectionHeaders){const r=ph(e);n=n.concat(r)}return n}function mh(e,t){const n=[],i=e.getLineCount();for(let r=1;r<=i;r++){const s=e.getLineContent(r),a=s.match(t.foldingRules.markers.start);if(a){const o={startLineNumber:r,startColumn:a[0].length+1,endLineNumber:r,endColumn:s.length+1};if(o.endColumn>o.startColumn){const l={range:o,...Ec(s.substring(a[0].length)),shouldBeInComments:!1};(l.text||l.hasSeparatorLine)&&n.push(l)}}}return n}function ph(e){const t=[],n=e.getLineCount();for(let i=1;i<=n;i++){const r=e.getLineContent(i);gh(r,i,t)}return t}function gh(e,t,n){ml.lastIndex=0;const i=ml.exec(e);if(i){const r=i.indices[1][0]+1,s=i.indices[1][1]+1,a={startLineNumber:t,startColumn:r,endLineNumber:t,endColumn:s};if(a.endColumn>a.startColumn){const o={range:a,...Ec(i[1]),shouldBeInComments:!0};(o.text||o.hasSeparatorLine)&&n.push(o)}}}function Ec(e){e=e.trim();const t=e.startsWith("-");return e=e.replace(dh,""),{text:e,hasSeparatorLine:t}}var pl;(function(e){async function t(i){let r;const s=await Promise.all(i.map(a=>a.then(o=>o,o=>{r||(r=o)})));if(typeof r<"u")throw r;return s}e.settled=t;function n(i){return new Promise(async(r,s)=>{try{await i(r,s)}catch(a){s(a)}})}e.withAsyncBody=n})(pl||(pl={}));const rt=class rt{static fromArray(t){return new rt(n=>{n.emitMany(t)})}static fromPromise(t){return new rt(async n=>{n.emitMany(await t)})}static fromPromises(t){return new rt(async n=>{await Promise.all(t.map(async i=>n.emitOne(await i)))})}static merge(t){return new rt(async n=>{await Promise.all(t.map(async i=>{for await(const r of i)n.emitOne(r)}))})}constructor(t,n){this._state=0,this._results=[],this._error=null,this._onReturn=n,this._onStateChanged=new bt,queueMicrotask(async()=>{const i={emitOne:r=>this.emitOne(r),emitMany:r=>this.emitMany(r),reject:r=>this.reject(r)};try{await Promise.resolve(t(i)),this.resolve()}catch(r){this.reject(r)}finally{i.emitOne=void 0,i.emitMany=void 0,i.reject=void 0}})}[Symbol.asyncIterator](){let t=0;return{next:async()=>{do{if(this._state===2)throw this._error;if(t{var n;return(n=this._onReturn)==null||n.call(this),{done:!0,value:void 0}}}}static map(t,n){return new rt(async i=>{for await(const r of t)i.emitOne(n(r))})}map(t){return rt.map(this,t)}static filter(t,n){return new rt(async i=>{for await(const r of t)n(r)&&i.emitOne(r)})}filter(t){return rt.filter(this,t)}static coalesce(t){return rt.filter(t,n=>!!n)}coalesce(){return rt.coalesce(this)}static async toPromise(t){const n=[];for await(const i of t)n.push(i);return n}toPromise(){return rt.toPromise(this)}emitOne(t){this._state===0&&(this._results.push(t),this._onStateChanged.fire())}emitMany(t){this._state===0&&(this._results=this._results.concat(t),this._onStateChanged.fire())}resolve(){this._state===0&&(this._state=1,this._onStateChanged.fire())}reject(t){this._state===0&&(this._state=2,this._error=t,this._onStateChanged.fire())}};rt.EMPTY=rt.fromArray([]);let gl=rt;class bh{constructor(t){this.values=t,this.prefixSum=new Uint32Array(t.length),this.prefixSumValidIndex=new Int32Array(1),this.prefixSumValidIndex[0]=-1}insertValues(t,n){t=xn(t);const i=this.values,r=this.prefixSum,s=n.length;return s===0?!1:(this.values=new Uint32Array(i.length+s),this.values.set(i.subarray(0,t),0),this.values.set(i.subarray(t),t+s),this.values.set(n,t),t-1=0&&this.prefixSum.set(r.subarray(0,this.prefixSumValidIndex[0]+1)),!0)}setValue(t,n){return t=xn(t),n=xn(n),this.values[t]===n?!1:(this.values[t]=n,t-1=i.length)return!1;const s=i.length-t;return n>=s&&(n=s),n===0?!1:(this.values=new Uint32Array(i.length-n),this.values.set(i.subarray(0,t),0),this.values.set(i.subarray(t+n),t),this.prefixSum=new Uint32Array(this.values.length),t-1=0&&this.prefixSum.set(r.subarray(0,this.prefixSumValidIndex[0]+1)),!0)}getTotalSum(){return this.values.length===0?0:this._getPrefixSum(this.values.length-1)}getPrefixSum(t){return t<0?0:(t=xn(t),this._getPrefixSum(t))}_getPrefixSum(t){if(t<=this.prefixSumValidIndex[0])return this.prefixSum[t];let n=this.prefixSumValidIndex[0]+1;n===0&&(this.prefixSum[0]=this.values[0],n++),t>=this.values.length&&(t=this.values.length-1);for(let i=n;i<=t;i++)this.prefixSum[i]=this.prefixSum[i-1]+this.values[i];return this.prefixSumValidIndex[0]=Math.max(this.prefixSumValidIndex[0],t),this.prefixSum[t]}getIndexOf(t){t=Math.floor(t),this.getTotalSum();let n=0,i=this.values.length-1,r=0,s=0,a=0;for(;n<=i;)if(r=n+(i-n)/2|0,s=this.prefixSum[r],a=s-this.values[r],t=s)n=r+1;else break;return new yh(r,t-a)}}class yh{constructor(t,n){this.index=t,this.remainder=n,this._prefixSumIndexOfResultBrand=void 0,this.index=t,this.remainder=n}}class vh{constructor(t,n,i,r){this._uri=t,this._lines=n,this._eol=i,this._versionId=r,this._lineStarts=null,this._cachedTextValue=null}dispose(){this._lines.length=0}get version(){return this._versionId}getText(){return this._cachedTextValue===null&&(this._cachedTextValue=this._lines.join(this._eol)),this._cachedTextValue}onEvents(t){t.eol&&t.eol!==this._eol&&(this._eol=t.eol,this._lineStarts=null);const n=t.changes;for(const i of n)this._acceptDeleteRange(i.range),this._acceptInsertText(new Re(i.range.startLineNumber,i.range.startColumn),i.text);this._versionId=t.versionId,this._cachedTextValue=null}_ensureLineStarts(){if(!this._lineStarts){const t=this._eol.length,n=this._lines.length,i=new Uint32Array(n);for(let r=0;rt.push(this._models[n])),t}$acceptNewModel(t){this._models[t.url]=new Nh(Ot.parse(t.url),t.lines,t.EOL,t.versionId)}$acceptModelChanged(t,n){if(!this._models[t])return;this._models[t].onEvents(n)}$acceptRemovedModel(t){this._models[t]&&delete this._models[t]}}class Nh extends vh{get uri(){return this._uri}get eol(){return this._eol}getValue(){return this.getText()}findMatches(t){const n=[];for(let i=0;ithis._lines.length)n=this._lines.length,i=this._lines[n-1].length+1,r=!0;else{const s=this._lines[n-1].length+1;i<1?(i=1,r=!0):i>s&&(i=s,r=!0)}return r?{lineNumber:n,column:i}:t}}const Nr=class Nr{constructor(){this._workerTextModelSyncServer=new _h}dispose(){}_getModel(t){return this._workerTextModelSyncServer.getModel(t)}_getModels(){return this._workerTextModelSyncServer.getModels()}$acceptNewModel(t){this._workerTextModelSyncServer.$acceptNewModel(t)}$acceptModelChanged(t,n){this._workerTextModelSyncServer.$acceptModelChanged(t,n)}$acceptRemovedModel(t){this._workerTextModelSyncServer.$acceptRemovedModel(t)}async $computeUnicodeHighlights(t,n,i){const r=this._getModel(t);return r?L1.computeUnicodeHighlights(r,n,i):{ranges:[],hasMore:!1,ambiguousCharacterCount:0,invisibleCharacterCount:0,nonBasicAsciiCharacterCount:0}}async $findSectionHeaders(t,n){const i=this._getModel(t);return i?hh(i,n):[]}async $computeDiff(t,n,i,r){const s=this._getModel(t),a=this._getModel(n);return!s||!a?null:ji.computeDiff(s,a,i,r)}static computeDiff(t,n,i,r){const s=r==="advanced"?fl.getDefault():fl.getLegacy(),a=t.getLinesContent(),o=n.getLinesContent(),l=s.computeDiff(a,o,i),u=l.changes.length>0?!1:this._modelsAreIdentical(t,n);function f(d){return d.map(h=>{var m;return[h.original.startLineNumber,h.original.endLineNumberExclusive,h.modified.startLineNumber,h.modified.endLineNumberExclusive,(m=h.innerChanges)==null?void 0:m.map(p=>[p.originalRange.startLineNumber,p.originalRange.startColumn,p.originalRange.endLineNumber,p.originalRange.endColumn,p.modifiedRange.startLineNumber,p.modifiedRange.startColumn,p.modifiedRange.endLineNumber,p.modifiedRange.endColumn])]})}return{identical:u,quitEarly:l.hitTimeout,changes:f(l.changes),moves:l.moves.map(d=>[d.lineRangeMapping.original.startLineNumber,d.lineRangeMapping.original.endLineNumberExclusive,d.lineRangeMapping.modified.startLineNumber,d.lineRangeMapping.modified.endLineNumberExclusive,f(d.changes)])}}static _modelsAreIdentical(t,n){const i=t.getLineCount(),r=n.getLineCount();if(i!==r)return!1;for(let s=1;s<=i;s++){const a=t.getLineContent(s),o=n.getLineContent(s);if(a!==o)return!1}return!0}async $computeMoreMinimalEdits(t,n,i){const r=this._getModel(t);if(!r)return n;const s=[];let a;n=n.slice(0).sort((l,u)=>{if(l.range&&u.range)return fe.compareRangesUsingStarts(l.range,u.range);const f=l.range?0:1,d=u.range?0:1;return f-d});let o=0;for(let l=1;lji._diffLimit){s.push({range:l,text:u});continue}const h=Xd(d,u,i),m=r.offsetAt(fe.lift(l).getStartPosition());for(const p of h){const b=r.positionAt(m+p.originalStart),T=r.positionAt(m+p.originalStart+p.originalLength),_={text:u.substr(p.modifiedStart,p.modifiedLength),range:{startLineNumber:b.lineNumber,startColumn:b.column,endLineNumber:T.lineNumber,endColumn:T.column}};r.getValueInRange(_.range)!==_.text&&s.push(_)}}return typeof a=="number"&&s.push({eol:a,text:"",range:{startLineNumber:0,startColumn:0,endLineNumber:0,endColumn:0}}),s}async $computeLinks(t){const n=this._getModel(t);return n?t1(n):null}async $computeDefaultDocumentColors(t){const n=this._getModel(t);return n?fh(n):null}async $textualSuggest(t,n,i,r){const s=new Er,a=new RegExp(i,r),o=new Set;e:for(const l of t){const u=this._getModel(l);if(u){for(const f of u.words(a))if(!(f===n||!isNaN(Number(f)))&&(o.add(f),o.size>ji._suggestionsLimit))break e}}return{words:Array.from(o),duration:s.elapsed()}}async $computeWordRanges(t,n,i,r){const s=this._getModel(t);if(!s)return Object.create(null);const a=new RegExp(i,r),o=Object.create(null);for(let l=n.startLineNumber;lthis._host.$fhr(o,l)),getMirrorModels:()=>this._getModels()};return this._foreignModuleFactory?(this._foreignModule=this._foreignModuleFactory(a,n),Promise.resolve(Ho(this._foreignModule))):new Promise((o,l)=>{const u=f=>{this._foreignModule=f.create(a,n),o(Ho(this._foreignModule))};import(`${cc.asBrowserUri(`${t}.js`).toString(!0)}`).then(u).catch(l)})}$fmr(t,n){if(!this._foreignModule||typeof this._foreignModule[t]!="function")return Promise.reject(new Error("Missing requestHandler or method: "+t));try{return Promise.resolve(this._foreignModule[t].apply(this._foreignModule,n))}catch(i){return Promise.reject(i)}}}typeof importScripts=="function"&&(globalThis.monaco=d1());let ws=!1;function Tc(e){if(ws)return;ws=!0;const t=new zd(n=>{globalThis.postMessage(n)},n=>new ji(vs.getChannel(n),e));globalThis.onmessage=n=>{t.onmessage(n.data)}}globalThis.onmessage=e=>{ws||Tc(null)};function me(e,t){if(!!!e)throw new Error(t)}function qt(e){return typeof e=="object"&&e!==null}function ct(e,t){if(!!!e)throw new Error(t??"Unexpected invariant triggered.")}const Eh=/\r\n|[\n\r]/g;function Ls(e,t){let n=0,i=1;for(const r of e.body.matchAll(Eh)){if(typeof r.index=="number"||ct(!1),r.index>=t)break;n=r.index+r[0].length,i+=1}return{line:i,column:t+1-n}}function Th(e){return Sc(e.source,Ls(e.source,e.start))}function Sc(e,t){const n=e.locationOffset.column-1,i="".padStart(n)+e.body,r=t.line-1,s=e.locationOffset.line-1,a=t.line+s,o=t.line===1?n:0,l=t.column+o,u=`${e.name}:${a}:${l} +`,f=i.split(/\r\n|[\n\r]/g),d=f[r];if(d.length>120){const h=Math.floor(l/80),m=l%80,p=[];for(let b=0;b["|",b]),["|","^".padStart(m)],["|",p[h+1]]])}return u+bl([[`${a-1} |`,f[r-1]],[`${a} |`,d],["|","^".padStart(l)],[`${a+1} |`,f[r+1]]])}function bl(e){const t=e.filter(([i,r])=>r!==void 0),n=Math.max(...t.map(([i])=>i.length));return t.map(([i,r])=>i.padStart(n)+(r?" "+r:"")).join(` +`)}function Sh(e){const t=e[0];return t==null||"kind"in t||"length"in t?{nodes:t,source:e[1],positions:e[2],path:e[3],originalError:e[4],extensions:e[5]}:t}class D extends Error{constructor(t,...n){var i,r,s;const{nodes:a,source:o,positions:l,path:u,originalError:f,extensions:d}=Sh(n);super(t),this.name="GraphQLError",this.path=u??void 0,this.originalError=f??void 0,this.nodes=yl(Array.isArray(a)?a:a?[a]:void 0);const h=yl((i=this.nodes)===null||i===void 0?void 0:i.map(p=>p.loc).filter(p=>p!=null));this.source=o??(h==null||(r=h[0])===null||r===void 0?void 0:r.source),this.positions=l??(h==null?void 0:h.map(p=>p.start)),this.locations=l&&o?l.map(p=>Ls(o,p)):h==null?void 0:h.map(p=>Ls(p.source,p.start));const m=qt(f==null?void 0:f.extensions)?f==null?void 0:f.extensions:void 0;this.extensions=(s=d??m)!==null&&s!==void 0?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}}),f!=null&&f.stack?Object.defineProperty(this,"stack",{value:f.stack,writable:!0,configurable:!0}):Error.captureStackTrace?Error.captureStackTrace(this,D):Object.defineProperty(this,"stack",{value:Error().stack,writable:!0,configurable:!0})}get[Symbol.toStringTag](){return"GraphQLError"}toString(){let t=this.message;if(this.nodes)for(const n of this.nodes)n.loc&&(t+=` + +`+Th(n.loc));else if(this.source&&this.locations)for(const n of this.locations)t+=` + +`+Sc(this.source,n);return t}toJSON(){const t={message:this.message};return this.locations!=null&&(t.locations=this.locations),this.path!=null&&(t.path=this.path),this.extensions!=null&&Object.keys(this.extensions).length>0&&(t.extensions=this.extensions),t}}function yl(e){return e===void 0||e.length===0?void 0:e}function We(e,t,n){return new D(`Syntax Error: ${n}`,{source:e,positions:[t]})}let xh=class{constructor(t,n,i){this.start=t.start,this.end=n.end,this.startToken=t,this.endToken=n,this.source=i}get[Symbol.toStringTag](){return"Location"}toJSON(){return{start:this.start,end:this.end}}};class xc{constructor(t,n,i,r,s,a){this.kind=t,this.start=n,this.end=i,this.line=r,this.column=s,this.value=a,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}}}const wc={Name:[],Document:["definitions"],OperationDefinition:["name","variableDefinitions","directives","selectionSet"],VariableDefinition:["variable","type","defaultValue","directives"],Variable:["name"],SelectionSet:["selections"],Field:["alias","name","arguments","directives","selectionSet"],Argument:["name","value"],FragmentSpread:["name","directives"],InlineFragment:["typeCondition","directives","selectionSet"],FragmentDefinition:["name","variableDefinitions","typeCondition","directives","selectionSet"],IntValue:[],FloatValue:[],StringValue:[],BooleanValue:[],NullValue:[],EnumValue:[],ListValue:["values"],ObjectValue:["fields"],ObjectField:["name","value"],Directive:["name","arguments"],NamedType:["name"],ListType:["type"],NonNullType:["type"],SchemaDefinition:["description","directives","operationTypes"],OperationTypeDefinition:["type"],ScalarTypeDefinition:["description","name","directives"],ObjectTypeDefinition:["description","name","interfaces","directives","fields"],FieldDefinition:["description","name","arguments","type","directives"],InputValueDefinition:["description","name","type","defaultValue","directives"],InterfaceTypeDefinition:["description","name","interfaces","directives","fields"],UnionTypeDefinition:["description","name","directives","types"],EnumTypeDefinition:["description","name","directives","values"],EnumValueDefinition:["description","name","directives"],InputObjectTypeDefinition:["description","name","directives","fields"],DirectiveDefinition:["description","name","arguments","locations"],SchemaExtension:["directives","operationTypes"],ScalarTypeExtension:["name","directives"],ObjectTypeExtension:["name","interfaces","directives","fields"],InterfaceTypeExtension:["name","interfaces","directives","fields"],UnionTypeExtension:["name","directives","types"],EnumTypeExtension:["name","directives","values"],InputObjectTypeExtension:["name","directives","fields"]},wh=new Set(Object.keys(wc));function As(e){const t=e==null?void 0:e.kind;return typeof t=="string"&&wh.has(t)}var ot;(function(e){e.QUERY="query",e.MUTATION="mutation",e.SUBSCRIPTION="subscription"})(ot||(ot={}));var W;(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"})(W||(W={}));var g;(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"})(g||(g={}));function Is(e){return e===9||e===32}function yi(e){return e>=48&&e<=57}function Lc(e){return e>=97&&e<=122||e>=65&&e<=90}function la(e){return Lc(e)||e===95}function Ac(e){return Lc(e)||yi(e)||e===95}function Lh(e){var t;let n=Number.MAX_SAFE_INTEGER,i=null,r=-1;for(let a=0;ao===0?a:a.slice(n)).slice((t=i)!==null&&t!==void 0?t:0,r+1)}function Ah(e){let t=0;for(;t1&&i.slice(1).every(m=>m.length===0||Is(m.charCodeAt(0))),a=n.endsWith('\\"""'),o=e.endsWith('"')&&!a,l=e.endsWith("\\"),u=o||l,f=!r||e.length>70||u||s||a;let d="";const h=r&&Is(e.charCodeAt(0));return(f&&!h||s)&&(d+=` +`),d+=n,(f||u)&&(d+=` +`),'"""'+d+'"""'}var R;(function(e){e.SOF="",e.EOF="",e.BANG="!",e.DOLLAR="$",e.AMP="&",e.PAREN_L="(",e.PAREN_R=")",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"})(R||(R={}));class Rh{constructor(t){const n=new xc(R.SOF,0,0,0,0);this.source=t,this.lastToken=n,this.token=n,this.line=1,this.lineStart=0}get[Symbol.toStringTag](){return"Lexer"}advance(){return this.lastToken=this.token,this.token=this.lookahead()}lookahead(){let t=this.token;if(t.kind!==R.EOF)do if(t.next)t=t.next;else{const n=Dh(this,t.end);t.next=n,n.prev=t,t=n}while(t.kind===R.COMMENT);return t}}function Ch(e){return e===R.BANG||e===R.DOLLAR||e===R.AMP||e===R.PAREN_L||e===R.PAREN_R||e===R.SPREAD||e===R.COLON||e===R.EQUALS||e===R.AT||e===R.BRACKET_L||e===R.BRACKET_R||e===R.BRACE_L||e===R.PIPE||e===R.BRACE_R}function Xn(e){return e>=0&&e<=55295||e>=57344&&e<=1114111}function Tr(e,t){return Ic(e.charCodeAt(t))&&Rc(e.charCodeAt(t+1))}function Ic(e){return e>=55296&&e<=56319}function Rc(e){return e>=56320&&e<=57343}function pn(e,t){const n=e.source.body.codePointAt(t);if(n===void 0)return R.EOF;if(n>=32&&n<=126){const i=String.fromCodePoint(n);return i==='"'?`'"'`:`"${i}"`}return"U+"+n.toString(16).toUpperCase().padStart(4,"0")}function Ve(e,t,n,i,r){const s=e.line,a=1+n-e.lineStart;return new xc(t,n,i,s,a,r)}function Dh(e,t){const n=e.source.body,i=n.length;let r=t;for(;r=48&&e<=57?e-48:e>=65&&e<=70?e-55:e>=97&&e<=102?e-87:-1}function Vh(e,t){const 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:` +`,size:2};case 114:return{value:"\r",size:2};case 116:return{value:" ",size:2}}throw We(e.source,t,`Invalid character escape sequence: "${n.slice(t,t+2)}".`)}function $h(e,t){const n=e.source.body,i=n.length;let r=e.lineStart,s=t+3,a=s,o="";const l=[];for(;sCc?"["+Wh(e)+"]":"{ "+n.map(([r,s])=>r+": "+Sr(s,t)).join(", ")+" }"}function Gh(e,t){if(e.length===0)return"[]";if(t.length>Cc)return"[Array]";const n=Math.min(Bh,e.length),i=e.length-n,r=[];for(let s=0;s1&&r.push(`... ${i} more items`),"["+r.join(", ")+"]"}function Wh(e){const t=Object.prototype.toString.call(e).replace(/^\[object /,"").replace(/]$/,"");if(t==="Object"&&typeof e.constructor=="function"){const n=e.constructor.name;if(typeof n=="string"&&n!=="")return n}return t}const zh=globalThis.process&&!0,Ct=zh?function(t,n){return t instanceof n}:function(t,n){if(t instanceof n)return!0;if(typeof t=="object"&&t!==null){var i;const r=n.prototype[Symbol.toStringTag],s=Symbol.toStringTag in t?t[Symbol.toStringTag]:(i=t.constructor)===null||i===void 0?void 0:i.name;if(r===s){const a=P(t);throw new Error(`Cannot use ${r} "${a}" from another module or realm. + +Ensure that there is only one instance of "graphql" in the node_modules +directory. If different versions of "graphql" are the dependencies of other +relied on modules, use "resolutions" to ensure only one version is installed. + +https://yarnpkg.com/en/docs/selective-version-resolutions + +Duplicate "graphql" modules cannot be used at the same time since different +versions may have different capabilities and behavior. The data from one +version used in the function from another could produce confusing and +spurious results.`)}}return!1};class Dc{constructor(t,n="GraphQL request",i={line:1,column:1}){typeof t=="string"||me(!1,`Body must be a string. Received: ${P(t)}.`),this.body=t,this.name=n,this.locationOffset=i,this.locationOffset.line>0||me(!1,"line in locationOffset is 1-indexed and must be positive."),this.locationOffset.column>0||me(!1,"column in locationOffset is 1-indexed and must be positive.")}get[Symbol.toStringTag](){return"Source"}}function Yh(e){return Ct(e,Dc)}function xr(e,t){const n=new kc(e,t),i=n.parseDocument();return Object.defineProperty(i,"tokenCount",{enumerable:!1,value:n.tokenCount}),i}function Qh(e,t){const n=new kc(e,t);n.expectToken(R.SOF);const i=n.parseValueLiteral(!1);return n.expectToken(R.EOF),i}class kc{constructor(t,n={}){const i=Yh(t)?t:new Dc(t);this._lexer=new Rh(i),this._options=n,this._tokenCounter=0}get tokenCount(){return this._tokenCounter}parseName(){const t=this.expectToken(R.NAME);return this.node(t,{kind:g.NAME,value:t.value})}parseDocument(){return this.node(this._lexer.token,{kind:g.DOCUMENT,definitions:this.many(R.SOF,this.parseDefinition,R.EOF)})}parseDefinition(){if(this.peek(R.BRACE_L))return this.parseOperationDefinition();const t=this.peekDescription(),n=t?this._lexer.lookahead():this._lexer.token;if(n.kind===R.NAME){switch(n.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()}if(t)throw We(this._lexer.source,this._lexer.token.start,"Unexpected description, descriptions are supported only on type definitions.");switch(n.value){case"query":case"mutation":case"subscription":return this.parseOperationDefinition();case"fragment":return this.parseFragmentDefinition();case"extend":return this.parseTypeSystemExtension()}}throw this.unexpected(n)}parseOperationDefinition(){const t=this._lexer.token;if(this.peek(R.BRACE_L))return this.node(t,{kind:g.OPERATION_DEFINITION,operation:ot.QUERY,name:void 0,variableDefinitions:[],directives:[],selectionSet:this.parseSelectionSet()});const n=this.parseOperationType();let i;return this.peek(R.NAME)&&(i=this.parseName()),this.node(t,{kind:g.OPERATION_DEFINITION,operation:n,name:i,variableDefinitions:this.parseVariableDefinitions(),directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet()})}parseOperationType(){const t=this.expectToken(R.NAME);switch(t.value){case"query":return ot.QUERY;case"mutation":return ot.MUTATION;case"subscription":return ot.SUBSCRIPTION}throw this.unexpected(t)}parseVariableDefinitions(){return this.optionalMany(R.PAREN_L,this.parseVariableDefinition,R.PAREN_R)}parseVariableDefinition(){return this.node(this._lexer.token,{kind:g.VARIABLE_DEFINITION,variable:this.parseVariable(),type:(this.expectToken(R.COLON),this.parseTypeReference()),defaultValue:this.expectOptionalToken(R.EQUALS)?this.parseConstValueLiteral():void 0,directives:this.parseConstDirectives()})}parseVariable(){const t=this._lexer.token;return this.expectToken(R.DOLLAR),this.node(t,{kind:g.VARIABLE,name:this.parseName()})}parseSelectionSet(){return this.node(this._lexer.token,{kind:g.SELECTION_SET,selections:this.many(R.BRACE_L,this.parseSelection,R.BRACE_R)})}parseSelection(){return this.peek(R.SPREAD)?this.parseFragment():this.parseField()}parseField(){const t=this._lexer.token,n=this.parseName();let i,r;return this.expectOptionalToken(R.COLON)?(i=n,r=this.parseName()):r=n,this.node(t,{kind:g.FIELD,alias:i,name:r,arguments:this.parseArguments(!1),directives:this.parseDirectives(!1),selectionSet:this.peek(R.BRACE_L)?this.parseSelectionSet():void 0})}parseArguments(t){const n=t?this.parseConstArgument:this.parseArgument;return this.optionalMany(R.PAREN_L,n,R.PAREN_R)}parseArgument(t=!1){const n=this._lexer.token,i=this.parseName();return this.expectToken(R.COLON),this.node(n,{kind:g.ARGUMENT,name:i,value:this.parseValueLiteral(t)})}parseConstArgument(){return this.parseArgument(!0)}parseFragment(){const t=this._lexer.token;this.expectToken(R.SPREAD);const n=this.expectOptionalKeyword("on");return!n&&this.peek(R.NAME)?this.node(t,{kind:g.FRAGMENT_SPREAD,name:this.parseFragmentName(),directives:this.parseDirectives(!1)}):this.node(t,{kind:g.INLINE_FRAGMENT,typeCondition:n?this.parseNamedType():void 0,directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet()})}parseFragmentDefinition(){const t=this._lexer.token;return this.expectKeyword("fragment"),this._options.allowLegacyFragmentVariables===!0?this.node(t,{kind:g.FRAGMENT_DEFINITION,name:this.parseFragmentName(),variableDefinitions:this.parseVariableDefinitions(),typeCondition:(this.expectKeyword("on"),this.parseNamedType()),directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet()}):this.node(t,{kind:g.FRAGMENT_DEFINITION,name:this.parseFragmentName(),typeCondition:(this.expectKeyword("on"),this.parseNamedType()),directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet()})}parseFragmentName(){if(this._lexer.token.value==="on")throw this.unexpected();return this.parseName()}parseValueLiteral(t){const n=this._lexer.token;switch(n.kind){case R.BRACKET_L:return this.parseList(t);case R.BRACE_L:return this.parseObject(t);case R.INT:return this.advanceLexer(),this.node(n,{kind:g.INT,value:n.value});case R.FLOAT:return this.advanceLexer(),this.node(n,{kind:g.FLOAT,value:n.value});case R.STRING:case R.BLOCK_STRING:return this.parseStringLiteral();case R.NAME:switch(this.advanceLexer(),n.value){case"true":return this.node(n,{kind:g.BOOLEAN,value:!0});case"false":return this.node(n,{kind:g.BOOLEAN,value:!1});case"null":return this.node(n,{kind:g.NULL});default:return this.node(n,{kind:g.ENUM,value:n.value})}case R.DOLLAR:if(t)if(this.expectToken(R.DOLLAR),this._lexer.token.kind===R.NAME){const i=this._lexer.token.value;throw We(this._lexer.source,n.start,`Unexpected variable "$${i}" in constant value.`)}else throw this.unexpected(n);return this.parseVariable();default:throw this.unexpected()}}parseConstValueLiteral(){return this.parseValueLiteral(!0)}parseStringLiteral(){const t=this._lexer.token;return this.advanceLexer(),this.node(t,{kind:g.STRING,value:t.value,block:t.kind===R.BLOCK_STRING})}parseList(t){const n=()=>this.parseValueLiteral(t);return this.node(this._lexer.token,{kind:g.LIST,values:this.any(R.BRACKET_L,n,R.BRACKET_R)})}parseObject(t){const n=()=>this.parseObjectField(t);return this.node(this._lexer.token,{kind:g.OBJECT,fields:this.any(R.BRACE_L,n,R.BRACE_R)})}parseObjectField(t){const n=this._lexer.token,i=this.parseName();return this.expectToken(R.COLON),this.node(n,{kind:g.OBJECT_FIELD,name:i,value:this.parseValueLiteral(t)})}parseDirectives(t){const n=[];for(;this.peek(R.AT);)n.push(this.parseDirective(t));return n}parseConstDirectives(){return this.parseDirectives(!0)}parseDirective(t){const n=this._lexer.token;return this.expectToken(R.AT),this.node(n,{kind:g.DIRECTIVE,name:this.parseName(),arguments:this.parseArguments(t)})}parseTypeReference(){const t=this._lexer.token;let n;if(this.expectOptionalToken(R.BRACKET_L)){const i=this.parseTypeReference();this.expectToken(R.BRACKET_R),n=this.node(t,{kind:g.LIST_TYPE,type:i})}else n=this.parseNamedType();return this.expectOptionalToken(R.BANG)?this.node(t,{kind:g.NON_NULL_TYPE,type:n}):n}parseNamedType(){return this.node(this._lexer.token,{kind:g.NAMED_TYPE,name:this.parseName()})}peekDescription(){return this.peek(R.STRING)||this.peek(R.BLOCK_STRING)}parseDescription(){if(this.peekDescription())return this.parseStringLiteral()}parseSchemaDefinition(){const t=this._lexer.token,n=this.parseDescription();this.expectKeyword("schema");const i=this.parseConstDirectives(),r=this.many(R.BRACE_L,this.parseOperationTypeDefinition,R.BRACE_R);return this.node(t,{kind:g.SCHEMA_DEFINITION,description:n,directives:i,operationTypes:r})}parseOperationTypeDefinition(){const t=this._lexer.token,n=this.parseOperationType();this.expectToken(R.COLON);const i=this.parseNamedType();return this.node(t,{kind:g.OPERATION_TYPE_DEFINITION,operation:n,type:i})}parseScalarTypeDefinition(){const t=this._lexer.token,n=this.parseDescription();this.expectKeyword("scalar");const i=this.parseName(),r=this.parseConstDirectives();return this.node(t,{kind:g.SCALAR_TYPE_DEFINITION,description:n,name:i,directives:r})}parseObjectTypeDefinition(){const t=this._lexer.token,n=this.parseDescription();this.expectKeyword("type");const i=this.parseName(),r=this.parseImplementsInterfaces(),s=this.parseConstDirectives(),a=this.parseFieldsDefinition();return this.node(t,{kind:g.OBJECT_TYPE_DEFINITION,description:n,name:i,interfaces:r,directives:s,fields:a})}parseImplementsInterfaces(){return this.expectOptionalKeyword("implements")?this.delimitedMany(R.AMP,this.parseNamedType):[]}parseFieldsDefinition(){return this.optionalMany(R.BRACE_L,this.parseFieldDefinition,R.BRACE_R)}parseFieldDefinition(){const t=this._lexer.token,n=this.parseDescription(),i=this.parseName(),r=this.parseArgumentDefs();this.expectToken(R.COLON);const s=this.parseTypeReference(),a=this.parseConstDirectives();return this.node(t,{kind:g.FIELD_DEFINITION,description:n,name:i,arguments:r,type:s,directives:a})}parseArgumentDefs(){return this.optionalMany(R.PAREN_L,this.parseInputValueDef,R.PAREN_R)}parseInputValueDef(){const t=this._lexer.token,n=this.parseDescription(),i=this.parseName();this.expectToken(R.COLON);const r=this.parseTypeReference();let s;this.expectOptionalToken(R.EQUALS)&&(s=this.parseConstValueLiteral());const a=this.parseConstDirectives();return this.node(t,{kind:g.INPUT_VALUE_DEFINITION,description:n,name:i,type:r,defaultValue:s,directives:a})}parseInterfaceTypeDefinition(){const t=this._lexer.token,n=this.parseDescription();this.expectKeyword("interface");const i=this.parseName(),r=this.parseImplementsInterfaces(),s=this.parseConstDirectives(),a=this.parseFieldsDefinition();return this.node(t,{kind:g.INTERFACE_TYPE_DEFINITION,description:n,name:i,interfaces:r,directives:s,fields:a})}parseUnionTypeDefinition(){const t=this._lexer.token,n=this.parseDescription();this.expectKeyword("union");const i=this.parseName(),r=this.parseConstDirectives(),s=this.parseUnionMemberTypes();return this.node(t,{kind:g.UNION_TYPE_DEFINITION,description:n,name:i,directives:r,types:s})}parseUnionMemberTypes(){return this.expectOptionalToken(R.EQUALS)?this.delimitedMany(R.PIPE,this.parseNamedType):[]}parseEnumTypeDefinition(){const t=this._lexer.token,n=this.parseDescription();this.expectKeyword("enum");const i=this.parseName(),r=this.parseConstDirectives(),s=this.parseEnumValuesDefinition();return this.node(t,{kind:g.ENUM_TYPE_DEFINITION,description:n,name:i,directives:r,values:s})}parseEnumValuesDefinition(){return this.optionalMany(R.BRACE_L,this.parseEnumValueDefinition,R.BRACE_R)}parseEnumValueDefinition(){const t=this._lexer.token,n=this.parseDescription(),i=this.parseEnumValueName(),r=this.parseConstDirectives();return this.node(t,{kind:g.ENUM_VALUE_DEFINITION,description:n,name:i,directives:r})}parseEnumValueName(){if(this._lexer.token.value==="true"||this._lexer.token.value==="false"||this._lexer.token.value==="null")throw We(this._lexer.source,this._lexer.token.start,`${Ci(this._lexer.token)} is reserved and cannot be used for an enum value.`);return this.parseName()}parseInputObjectTypeDefinition(){const t=this._lexer.token,n=this.parseDescription();this.expectKeyword("input");const i=this.parseName(),r=this.parseConstDirectives(),s=this.parseInputFieldsDefinition();return this.node(t,{kind:g.INPUT_OBJECT_TYPE_DEFINITION,description:n,name:i,directives:r,fields:s})}parseInputFieldsDefinition(){return this.optionalMany(R.BRACE_L,this.parseInputValueDef,R.BRACE_R)}parseTypeSystemExtension(){const t=this._lexer.lookahead();if(t.kind===R.NAME)switch(t.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(t)}parseSchemaExtension(){const t=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("schema");const n=this.parseConstDirectives(),i=this.optionalMany(R.BRACE_L,this.parseOperationTypeDefinition,R.BRACE_R);if(n.length===0&&i.length===0)throw this.unexpected();return this.node(t,{kind:g.SCHEMA_EXTENSION,directives:n,operationTypes:i})}parseScalarTypeExtension(){const t=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("scalar");const n=this.parseName(),i=this.parseConstDirectives();if(i.length===0)throw this.unexpected();return this.node(t,{kind:g.SCALAR_TYPE_EXTENSION,name:n,directives:i})}parseObjectTypeExtension(){const t=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("type");const n=this.parseName(),i=this.parseImplementsInterfaces(),r=this.parseConstDirectives(),s=this.parseFieldsDefinition();if(i.length===0&&r.length===0&&s.length===0)throw this.unexpected();return this.node(t,{kind:g.OBJECT_TYPE_EXTENSION,name:n,interfaces:i,directives:r,fields:s})}parseInterfaceTypeExtension(){const t=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("interface");const n=this.parseName(),i=this.parseImplementsInterfaces(),r=this.parseConstDirectives(),s=this.parseFieldsDefinition();if(i.length===0&&r.length===0&&s.length===0)throw this.unexpected();return this.node(t,{kind:g.INTERFACE_TYPE_EXTENSION,name:n,interfaces:i,directives:r,fields:s})}parseUnionTypeExtension(){const t=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("union");const n=this.parseName(),i=this.parseConstDirectives(),r=this.parseUnionMemberTypes();if(i.length===0&&r.length===0)throw this.unexpected();return this.node(t,{kind:g.UNION_TYPE_EXTENSION,name:n,directives:i,types:r})}parseEnumTypeExtension(){const t=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("enum");const n=this.parseName(),i=this.parseConstDirectives(),r=this.parseEnumValuesDefinition();if(i.length===0&&r.length===0)throw this.unexpected();return this.node(t,{kind:g.ENUM_TYPE_EXTENSION,name:n,directives:i,values:r})}parseInputObjectTypeExtension(){const t=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("input");const n=this.parseName(),i=this.parseConstDirectives(),r=this.parseInputFieldsDefinition();if(i.length===0&&r.length===0)throw this.unexpected();return this.node(t,{kind:g.INPUT_OBJECT_TYPE_EXTENSION,name:n,directives:i,fields:r})}parseDirectiveDefinition(){const t=this._lexer.token,n=this.parseDescription();this.expectKeyword("directive"),this.expectToken(R.AT);const i=this.parseName(),r=this.parseArgumentDefs(),s=this.expectOptionalKeyword("repeatable");this.expectKeyword("on");const a=this.parseDirectiveLocations();return this.node(t,{kind:g.DIRECTIVE_DEFINITION,description:n,name:i,arguments:r,repeatable:s,locations:a})}parseDirectiveLocations(){return this.delimitedMany(R.PIPE,this.parseDirectiveLocation)}parseDirectiveLocation(){const t=this._lexer.token,n=this.parseName();if(Object.prototype.hasOwnProperty.call(W,n.value))return n;throw this.unexpected(t)}node(t,n){return this._options.noLocation!==!0&&(n.loc=new xh(t,this._lexer.lastToken,this._lexer.source)),n}peek(t){return this._lexer.token.kind===t}expectToken(t){const n=this._lexer.token;if(n.kind===t)return this.advanceLexer(),n;throw We(this._lexer.source,n.start,`Expected ${Oc(t)}, found ${Ci(n)}.`)}expectOptionalToken(t){return this._lexer.token.kind===t?(this.advanceLexer(),!0):!1}expectKeyword(t){const n=this._lexer.token;if(n.kind===R.NAME&&n.value===t)this.advanceLexer();else throw We(this._lexer.source,n.start,`Expected "${t}", found ${Ci(n)}.`)}expectOptionalKeyword(t){const n=this._lexer.token;return n.kind===R.NAME&&n.value===t?(this.advanceLexer(),!0):!1}unexpected(t){const n=t??this._lexer.token;return We(this._lexer.source,n.start,`Unexpected ${Ci(n)}.`)}any(t,n,i){this.expectToken(t);const r=[];for(;!this.expectOptionalToken(i);)r.push(n.call(this));return r}optionalMany(t,n,i){if(this.expectOptionalToken(t)){const r=[];do r.push(n.call(this));while(!this.expectOptionalToken(i));return r}return[]}many(t,n,i){this.expectToken(t);const r=[];do r.push(n.call(this));while(!this.expectOptionalToken(i));return r}delimitedMany(t,n){this.expectOptionalToken(t);const i=[];do i.push(n.call(this));while(this.expectOptionalToken(t));return i}advanceLexer(){const{maxTokens:t}=this._options,n=this._lexer.advance();if(n.kind!==R.EOF&&(++this._tokenCounter,t!==void 0&&this._tokenCounter>t))throw We(this._lexer.source,n.start,`Document contains more that ${t} tokens. Parsing aborted.`)}}function Ci(e){const t=e.value;return Oc(e.kind)+(t!=null?` "${t}"`:"")}function Oc(e){return Ch(e)?`"${e}"`:e}const Xh=5;function sn(e,t){const[n,i]=t?[e,t]:[void 0,e];let r=" Did you mean ";n&&(r+=n+" ");const s=i.map(l=>`"${l}"`);switch(s.length){case 0:return"";case 1:return r+s[0]+"?";case 2:return r+s[0]+" or "+s[1]+"?"}const a=s.slice(0,Xh),o=a.pop();return r+a.join(", ")+", or "+o+"?"}function _l(e){return e}function gn(e,t){const n=Object.create(null);for(const i of e)n[t(i)]=i;return n}function dn(e,t,n){const i=Object.create(null);for(const r of e)i[t(r)]=n(r);return i}function Vt(e,t){const n=Object.create(null);for(const i of Object.keys(e))n[i]=t(e[i],i);return n}function ua(e,t){let n=0,i=0;for(;n0);let o=0;do++i,o=o*10+s-Rs,s=t.charCodeAt(i);while(Di(s)&&o>0);if(ao)return 1}else{if(rs)return 1;++n,++i}}return e.length-t.length}const Rs=48,Jh=57;function Di(e){return!isNaN(e)&&Rs<=e&&e<=Jh}function Nn(e,t){const n=Object.create(null),i=new Zh(e),r=Math.floor(e.length*.4)+1;for(const s of t){const a=i.measure(s,r);a!==void 0&&(n[s]=a)}return Object.keys(n).sort((s,a)=>{const o=n[s]-n[a];return o!==0?o:ua(s,a)})}class Zh{constructor(t){this._input=t,this._inputLowerCase=t.toLowerCase(),this._inputArray=Nl(this._inputLowerCase),this._rows=[new Array(t.length+1).fill(0),new Array(t.length+1).fill(0),new Array(t.length+1).fill(0)]}measure(t,n){if(this._input===t)return 0;const i=t.toLowerCase();if(this._inputLowerCase===i)return 1;let r=Nl(i),s=this._inputArray;if(r.lengthn)return;const l=this._rows;for(let f=0;f<=o;f++)l[0][f]=f;for(let f=1;f<=a;f++){const d=l[(f-1)%3],h=l[f%3];let m=h[0]=f;for(let p=1;p<=o;p++){const b=r[f-1]===s[p-1]?0:1;let T=Math.min(d[p]+1,h[p-1]+1,d[p-1]+b);if(f>1&&p>1&&r[f-1]===s[p-2]&&r[f-2]===s[p-1]){const _=l[(f-2)%3][p-2];T=Math.min(T,_+1)}Tn)return}const u=l[a%3][o];return u<=n?u:void 0}}function Nl(e){const t=e.length,n=new Array(t);for(let i=0;ie.value},Variable:{leave:e=>"$"+e.name},Document:{leave:e=>J(e.definitions,` + +`)},OperationDefinition:{leave(e){const t=ue("(",J(e.variableDefinitions,", "),")"),n=J([e.operation,J([e.name,t]),J(e.directives," ")]," ");return(n==="query"?"":n+" ")+e.selectionSet}},VariableDefinition:{leave:({variable:e,type:t,defaultValue:n,directives:i})=>e+": "+t+ue(" = ",n)+ue(" ",J(i," "))},SelectionSet:{leave:({selections:e})=>St(e)},Field:{leave({alias:e,name:t,arguments:n,directives:i,selectionSet:r}){const s=ue("",e,": ")+t;let a=s+ue("(",J(n,", "),")");return a.length>i0&&(a=s+ue(`( +`,qi(J(n,` +`)),` +)`)),J([a,J(i," "),r]," ")}},Argument:{leave:({name:e,value:t})=>e+": "+t},FragmentSpread:{leave:({name:e,directives:t})=>"..."+e+ue(" ",J(t," "))},InlineFragment:{leave:({typeCondition:e,directives:t,selectionSet:n})=>J(["...",ue("on ",e),J(t," "),n]," ")},FragmentDefinition:{leave:({name:e,typeCondition:t,variableDefinitions:n,directives:i,selectionSet:r})=>`fragment ${e}${ue("(",J(n,", "),")")} on ${t} ${ue("",J(i," ")," ")}`+r},IntValue:{leave:({value:e})=>e},FloatValue:{leave:({value:e})=>e},StringValue:{leave:({value:e,block:t})=>t?Ih(e):Kh(e)},BooleanValue:{leave:({value:e})=>e?"true":"false"},NullValue:{leave:()=>"null"},EnumValue:{leave:({value:e})=>e},ListValue:{leave:({values:e})=>"["+J(e,", ")+"]"},ObjectValue:{leave:({fields:e})=>"{"+J(e,", ")+"}"},ObjectField:{leave:({name:e,value:t})=>e+": "+t},Directive:{leave:({name:e,arguments:t})=>"@"+e+ue("(",J(t,", "),")")},NamedType:{leave:({name:e})=>e},ListType:{leave:({type:e})=>"["+e+"]"},NonNullType:{leave:({type:e})=>e+"!"},SchemaDefinition:{leave:({description:e,directives:t,operationTypes:n})=>ue("",e,` +`)+J(["schema",J(t," "),St(n)]," ")},OperationTypeDefinition:{leave:({operation:e,type:t})=>e+": "+t},ScalarTypeDefinition:{leave:({description:e,name:t,directives:n})=>ue("",e,` +`)+J(["scalar",t,J(n," ")]," ")},ObjectTypeDefinition:{leave:({description:e,name:t,interfaces:n,directives:i,fields:r})=>ue("",e,` +`)+J(["type",t,ue("implements ",J(n," & ")),J(i," "),St(r)]," ")},FieldDefinition:{leave:({description:e,name:t,arguments:n,type:i,directives:r})=>ue("",e,` +`)+t+(El(n)?ue(`( +`,qi(J(n,` +`)),` +)`):ue("(",J(n,", "),")"))+": "+i+ue(" ",J(r," "))},InputValueDefinition:{leave:({description:e,name:t,type:n,defaultValue:i,directives:r})=>ue("",e,` +`)+J([t+": "+n,ue("= ",i),J(r," ")]," ")},InterfaceTypeDefinition:{leave:({description:e,name:t,interfaces:n,directives:i,fields:r})=>ue("",e,` +`)+J(["interface",t,ue("implements ",J(n," & ")),J(i," "),St(r)]," ")},UnionTypeDefinition:{leave:({description:e,name:t,directives:n,types:i})=>ue("",e,` +`)+J(["union",t,J(n," "),ue("= ",J(i," | "))]," ")},EnumTypeDefinition:{leave:({description:e,name:t,directives:n,values:i})=>ue("",e,` +`)+J(["enum",t,J(n," "),St(i)]," ")},EnumValueDefinition:{leave:({description:e,name:t,directives:n})=>ue("",e,` +`)+J([t,J(n," ")]," ")},InputObjectTypeDefinition:{leave:({description:e,name:t,directives:n,fields:i})=>ue("",e,` +`)+J(["input",t,J(n," "),St(i)]," ")},DirectiveDefinition:{leave:({description:e,name:t,arguments:n,repeatable:i,locations:r})=>ue("",e,` +`)+"directive @"+t+(El(n)?ue(`( +`,qi(J(n,` +`)),` +)`):ue("(",J(n,", "),")"))+(i?" repeatable":"")+" on "+J(r," | ")},SchemaExtension:{leave:({directives:e,operationTypes:t})=>J(["extend schema",J(e," "),St(t)]," ")},ScalarTypeExtension:{leave:({name:e,directives:t})=>J(["extend scalar",e,J(t," ")]," ")},ObjectTypeExtension:{leave:({name:e,interfaces:t,directives:n,fields:i})=>J(["extend type",e,ue("implements ",J(t," & ")),J(n," "),St(i)]," ")},InterfaceTypeExtension:{leave:({name:e,interfaces:t,directives:n,fields:i})=>J(["extend interface",e,ue("implements ",J(t," & ")),J(n," "),St(i)]," ")},UnionTypeExtension:{leave:({name:e,directives:t,types:n})=>J(["extend union",e,J(t," "),ue("= ",J(n," | "))]," ")},EnumTypeExtension:{leave:({name:e,directives:t,values:n})=>J(["extend enum",e,J(t," "),St(n)]," ")},InputObjectTypeExtension:{leave:({name:e,directives:t,fields:n})=>J(["extend input",e,J(t," "),St(n)]," ")}};function J(e,t=""){var n;return(n=e==null?void 0:e.filter(i=>i).join(t))!==null&&n!==void 0?n:""}function St(e){return ue(`{ +`,qi(J(e,` +`)),` +}`)}function ue(e,t,n=""){return t!=null&&t!==""?e+t+n:""}function qi(e){return ue(" ",e.replace(/\n/g,` + `))}function El(e){var t;return(t=e==null?void 0:e.some(n=>n.includes(` +`)))!==null&&t!==void 0?t:!1}function Cs(e,t){switch(e.kind){case g.NULL:return null;case g.INT:return parseInt(e.value,10);case g.FLOAT:return parseFloat(e.value);case g.STRING:case g.ENUM:case g.BOOLEAN:return e.value;case g.LIST:return e.values.map(n=>Cs(n,t));case g.OBJECT:return dn(e.fields,n=>n.name.value,n=>Cs(n.value,t));case g.VARIABLE:return t==null?void 0:t[e.name.value]}}function Dt(e){if(e!=null||me(!1,"Must provide name."),typeof e=="string"||me(!1,"Expected name to be a string."),e.length===0)throw new D("Expected name to be a non-empty string.");for(let t=1;ta(Cs(o,l)),this.extensions=Et(t.extensions),this.astNode=t.astNode,this.extensionASTNodes=(s=t.extensionASTNodes)!==null&&s!==void 0?s:[],t.specifiedByURL==null||typeof t.specifiedByURL=="string"||me(!1,`${this.name} must provide "specifiedByURL" as a string, but got: ${P(t.specifiedByURL)}.`),t.serialize==null||typeof t.serialize=="function"||me(!1,`${this.name} must provide "serialize" function. If this custom Scalar is also used as an input type, ensure "parseValue" and "parseLiteral" functions are also provided.`),t.parseLiteral&&(typeof t.parseValue=="function"&&typeof t.parseLiteral=="function"||me(!1,`${this.name} must provide both "parseValue" and "parseLiteral" functions.`))}get[Symbol.toStringTag](){return"GraphQLScalarType"}toConfig(){return{name:this.name,description:this.description,specifiedByURL:this.specifiedByURL,serialize:this.serialize,parseValue:this.parseValue,parseLiteral:this.parseLiteral,extensions:this.extensions,astNode:this.astNode,extensionASTNodes:this.extensionASTNodes}}toString(){return this.name}toJSON(){return this.toString()}}class Nt{constructor(t){var n;this.name=Dt(t.name),this.description=t.description,this.isTypeOf=t.isTypeOf,this.extensions=Et(t.extensions),this.astNode=t.astNode,this.extensionASTNodes=(n=t.extensionASTNodes)!==null&&n!==void 0?n:[],this._fields=()=>Uc(t),this._interfaces=()=>$c(t),t.isTypeOf==null||typeof t.isTypeOf=="function"||me(!1,`${this.name} must provide "isTypeOf" as a function, but got: ${P(t.isTypeOf)}.`)}get[Symbol.toStringTag](){return"GraphQLObjectType"}getFields(){return typeof this._fields=="function"&&(this._fields=this._fields()),this._fields}getInterfaces(){return typeof this._interfaces=="function"&&(this._interfaces=this._interfaces()),this._interfaces}toConfig(){return{name:this.name,description:this.description,interfaces:this.getInterfaces(),fields:jc(this.getFields()),isTypeOf:this.isTypeOf,extensions:this.extensions,astNode:this.astNode,extensionASTNodes:this.extensionASTNodes}}toString(){return this.name}toJSON(){return this.toString()}}function $c(e){var t;const n=Pc((t=e.interfaces)!==null&&t!==void 0?t:[]);return Array.isArray(n)||me(!1,`${e.name} interfaces must be an Array or a function which returns an Array.`),n}function Uc(e){const t=Vc(e.fields);return Un(t)||me(!1,`${e.name} fields must be an object with field names as keys or a function which returns such an object.`),Vt(t,(n,i)=>{var r;Un(n)||me(!1,`${e.name}.${i} field config must be an object.`),n.resolve==null||typeof n.resolve=="function"||me(!1,`${e.name}.${i} field resolver must be a function if provided, but got: ${P(n.resolve)}.`);const s=(r=n.args)!==null&&r!==void 0?r:{};return Un(s)||me(!1,`${e.name}.${i} args must be an object with argument names as keys.`),{name:Dt(i),description:n.description,type:n.type,args:Bc(s),resolve:n.resolve,subscribe:n.subscribe,deprecationReason:n.deprecationReason,extensions:Et(n.extensions),astNode:n.astNode}})}function Bc(e){return Object.entries(e).map(([t,n])=>({name:Dt(t),description:n.description,type:n.type,defaultValue:n.defaultValue,deprecationReason:n.deprecationReason,extensions:Et(n.extensions),astNode:n.astNode}))}function Un(e){return qt(e)&&!Array.isArray(e)}function jc(e){return Vt(e,t=>({description:t.description,type:t.type,args:qc(t.args),resolve:t.resolve,subscribe:t.subscribe,deprecationReason:t.deprecationReason,extensions:t.extensions,astNode:t.astNode}))}function qc(e){return dn(e,t=>t.name,t=>({description:t.description,type:t.type,defaultValue:t.defaultValue,deprecationReason:t.deprecationReason,extensions:t.extensions,astNode:t.astNode}))}function xi(e){return ge(e.type)&&e.defaultValue===void 0}class nn{constructor(t){var n;this.name=Dt(t.name),this.description=t.description,this.resolveType=t.resolveType,this.extensions=Et(t.extensions),this.astNode=t.astNode,this.extensionASTNodes=(n=t.extensionASTNodes)!==null&&n!==void 0?n:[],this._fields=Uc.bind(void 0,t),this._interfaces=$c.bind(void 0,t),t.resolveType==null||typeof t.resolveType=="function"||me(!1,`${this.name} must provide "resolveType" as a function, but got: ${P(t.resolveType)}.`)}get[Symbol.toStringTag](){return"GraphQLInterfaceType"}getFields(){return typeof this._fields=="function"&&(this._fields=this._fields()),this._fields}getInterfaces(){return typeof this._interfaces=="function"&&(this._interfaces=this._interfaces()),this._interfaces}toConfig(){return{name:this.name,description:this.description,interfaces:this.getInterfaces(),fields:jc(this.getFields()),resolveType:this.resolveType,extensions:this.extensions,astNode:this.astNode,extensionASTNodes:this.extensionASTNodes}}toString(){return this.name}toJSON(){return this.toString()}}class rr{constructor(t){var n;this.name=Dt(t.name),this.description=t.description,this.resolveType=t.resolveType,this.extensions=Et(t.extensions),this.astNode=t.astNode,this.extensionASTNodes=(n=t.extensionASTNodes)!==null&&n!==void 0?n:[],this._types=f0.bind(void 0,t),t.resolveType==null||typeof t.resolveType=="function"||me(!1,`${this.name} must provide "resolveType" as a function, but got: ${P(t.resolveType)}.`)}get[Symbol.toStringTag](){return"GraphQLUnionType"}getTypes(){return typeof this._types=="function"&&(this._types=this._types()),this._types}toConfig(){return{name:this.name,description:this.description,types:this.getTypes(),resolveType:this.resolveType,extensions:this.extensions,astNode:this.astNode,extensionASTNodes:this.extensionASTNodes}}toString(){return this.name}toJSON(){return this.toString()}}function f0(e){const t=Pc(e.types);return Array.isArray(t)||me(!1,`Must provide Array of types or a function which returns such an array for Union ${e.name}.`),t}class an{constructor(t){var n;this.name=Dt(t.name),this.description=t.description,this.extensions=Et(t.extensions),this.astNode=t.astNode,this.extensionASTNodes=(n=t.extensionASTNodes)!==null&&n!==void 0?n:[],this._values=typeof t.values=="function"?t.values:Tl(this.name,t.values),this._valueLookup=null,this._nameLookup=null}get[Symbol.toStringTag](){return"GraphQLEnumType"}getValues(){return typeof this._values=="function"&&(this._values=Tl(this.name,this._values())),this._values}getValue(t){return this._nameLookup===null&&(this._nameLookup=gn(this.getValues(),n=>n.name)),this._nameLookup[t]}serialize(t){this._valueLookup===null&&(this._valueLookup=new Map(this.getValues().map(i=>[i.value,i])));const n=this._valueLookup.get(t);if(n===void 0)throw new D(`Enum "${this.name}" cannot represent value: ${P(t)}`);return n.name}parseValue(t){if(typeof t!="string"){const i=P(t);throw new D(`Enum "${this.name}" cannot represent non-string value: ${i}.`+ki(this,i))}const n=this.getValue(t);if(n==null)throw new D(`Value "${t}" does not exist in "${this.name}" enum.`+ki(this,t));return n.value}parseLiteral(t,n){if(t.kind!==g.ENUM){const r=He(t);throw new D(`Enum "${this.name}" cannot represent non-enum value: ${r}.`+ki(this,r),{nodes:t})}const i=this.getValue(t.value);if(i==null){const r=He(t);throw new D(`Value "${r}" does not exist in "${this.name}" enum.`+ki(this,r),{nodes:t})}return i.value}toConfig(){const t=dn(this.getValues(),n=>n.name,n=>({description:n.description,value:n.value,deprecationReason:n.deprecationReason,extensions:n.extensions,astNode:n.astNode}));return{name:this.name,description:this.description,values:t,extensions:this.extensions,astNode:this.astNode,extensionASTNodes:this.extensionASTNodes}}toString(){return this.name}toJSON(){return this.toString()}}function ki(e,t){const n=e.getValues().map(r=>r.name),i=Nn(t,n);return sn("the enum value",i)}function Tl(e,t){return Un(t)||me(!1,`${e} values must be an object with value names as keys.`),Object.entries(t).map(([n,i])=>(Un(i)||me(!1,`${e}.${n} must refer to an object with a "value" key representing an internal value but got: ${P(i)}.`),{name:s0(n),description:i.description,value:i.value!==void 0?i.value:n,deprecationReason:i.deprecationReason,extensions:Et(i.extensions),astNode:i.astNode}))}class vi{constructor(t){var n,i;this.name=Dt(t.name),this.description=t.description,this.extensions=Et(t.extensions),this.astNode=t.astNode,this.extensionASTNodes=(n=t.extensionASTNodes)!==null&&n!==void 0?n:[],this.isOneOf=(i=t.isOneOf)!==null&&i!==void 0?i:!1,this._fields=d0.bind(void 0,t)}get[Symbol.toStringTag](){return"GraphQLInputObjectType"}getFields(){return typeof this._fields=="function"&&(this._fields=this._fields()),this._fields}toConfig(){const t=Vt(this.getFields(),n=>({description:n.description,type:n.type,defaultValue:n.defaultValue,deprecationReason:n.deprecationReason,extensions:n.extensions,astNode:n.astNode}));return{name:this.name,description:this.description,fields:t,extensions:this.extensions,astNode:this.astNode,extensionASTNodes:this.extensionASTNodes,isOneOf:this.isOneOf}}toString(){return this.name}toJSON(){return this.toString()}}function d0(e){const t=Vc(e.fields);return Un(t)||me(!1,`${e.name} fields must be an object with field names as keys or a function which returns such an object.`),Vt(t,(n,i)=>(!("resolve"in n)||me(!1,`${e.name}.${i} field has a resolve property, but Input Types cannot define resolvers.`),{name:Dt(i),description:n.description,type:n.type,defaultValue:n.defaultValue,deprecationReason:n.deprecationReason,extensions:Et(n.extensions),astNode:n.astNode}))}function Hc(e){return ge(e.type)&&e.defaultValue===void 0}function Ds(e,t){return e===t?!0:ge(e)&&ge(t)||Ue(e)&&Ue(t)?Ds(e.ofType,t.ofType):!1}function Bn(e,t,n){return t===n?!0:ge(n)?ge(t)?Bn(e,t.ofType,n.ofType):!1:ge(t)?Bn(e,t.ofType,n):Ue(n)?Ue(t)?Bn(e,t.ofType,n.ofType):!1:Ue(t)?!1:Mt(n)&&(Te(t)||_e(t))&&e.isSubType(n,t)}function ks(e,t,n){return t===n?!0:Mt(t)?Mt(n)?e.getPossibleTypes(t).some(i=>e.isSubType(n,i)):e.isSubType(t,n):Mt(n)?e.isSubType(n,t):!1}const qr=2147483647,Hr=-2147483648,h0=new Ht({name:"Int",description:"The `Int` scalar type represents non-fractional signed whole numeric values. Int can represent values between -(2^31) and 2^31 - 1.",serialize(e){const t=wi(e);if(typeof t=="boolean")return t?1:0;let n=t;if(typeof t=="string"&&t!==""&&(n=Number(t)),typeof n!="number"||!Number.isInteger(n))throw new D(`Int cannot represent non-integer value: ${P(t)}`);if(n>qr||nqr||eqr||te.name===t)}function wi(e){if(qt(e)){if(typeof e.valueOf=="function"){const t=e.valueOf();if(!qt(t))return t}if(typeof e.toJSON=="function")return e.toJSON()}return e}function zc(e){return Ct(e,Gt)}class Gt{constructor(t){var n,i;this.name=Dt(t.name),this.description=t.description,this.locations=t.locations,this.isRepeatable=(n=t.isRepeatable)!==null&&n!==void 0?n:!1,this.extensions=Et(t.extensions),this.astNode=t.astNode,Array.isArray(t.locations)||me(!1,`@${t.name} locations must be an Array.`);const r=(i=t.args)!==null&&i!==void 0?i:{};qt(r)&&!Array.isArray(r)||me(!1,`@${t.name} args must be an object with argument names as keys.`),this.args=Bc(r)}get[Symbol.toStringTag](){return"GraphQLDirective"}toConfig(){return{name:this.name,description:this.description,locations:this.locations,args:qc(this.args),isRepeatable:this.isRepeatable,extensions:this.extensions,astNode:this.astNode}}toString(){return"@"+this.name}toJSON(){return this.toString()}}const Yc=new Gt({name:"include",description:"Directs the executor to include this field or fragment only when the `if` argument is true.",locations:[W.FIELD,W.FRAGMENT_SPREAD,W.INLINE_FRAGMENT],args:{if:{type:new ae(ze),description:"Included when true."}}}),Qc=new Gt({name:"skip",description:"Directs the executor to skip this field or fragment when the `if` argument is true.",locations:[W.FIELD,W.FRAGMENT_SPREAD,W.INLINE_FRAGMENT],args:{if:{type:new ae(ze),description:"Skipped when true."}}}),p0="No longer supported",ha=new Gt({name:"deprecated",description:"Marks an element of a GraphQL schema as no longer supported.",locations:[W.FIELD_DEFINITION,W.ARGUMENT_DEFINITION,W.INPUT_FIELD_DEFINITION,W.ENUM_VALUE],args:{reason:{type:Fe,description:"Explains why this element was deprecated, usually also including a suggestion for how to access supported similar data. Formatted using the Markdown syntax, as specified by [CommonMark](https://commonmark.org/).",defaultValue:p0}}}),Xc=new Gt({name:"specifiedBy",description:"Exposes a URL that specifies the behavior of this scalar.",locations:[W.SCALAR],args:{url:{type:new ae(Fe),description:"The URL that specifies the behavior of this scalar."}}}),Jc=new Gt({name:"oneOf",description:"Indicates exactly one field must be supplied and this field must not be `null`.",locations:[W.INPUT_OBJECT],args:{}}),Jn=Object.freeze([Yc,Qc,ha,Xc,Jc]);function g0(e){return typeof e=="object"&&typeof(e==null?void 0:e[Symbol.iterator])=="function"}function ri(e,t){if(ge(t)){const n=ri(e,t.ofType);return(n==null?void 0:n.kind)===g.NULL?null:n}if(e===null)return{kind:g.NULL};if(e===void 0)return null;if(Ue(t)){const n=t.ofType;if(g0(e)){const i=[];for(const r of e){const s=ri(r,n);s!=null&&i.push(s)}return{kind:g.LIST,values:i}}return ri(e,n)}if(Me(t)){if(!qt(e))return null;const n=[];for(const i of Object.values(t.getFields())){const r=ri(e[i.name],i.type);r&&n.push({kind:g.OBJECT_FIELD,name:{kind:g.NAME,value:i.name},value:r})}return{kind:g.OBJECT,fields:n}}if(Wn(t)){const n=t.serialize(e);if(n==null)return null;if(typeof n=="boolean")return{kind:g.BOOLEAN,value:n};if(typeof n=="number"&&Number.isFinite(n)){const i=String(n);return Sl.test(i)?{kind:g.INT,value:i}:{kind:g.FLOAT,value:i}}if(typeof n=="string")return lt(t)?{kind:g.ENUM,value:n}:t===Wc&&Sl.test(n)?{kind:g.INT,value:n}:{kind:g.STRING,value:n};throw new TypeError(`Cannot convert value to AST: ${P(n)}.`)}ct(!1,"Unexpected input type: "+P(t))}const Sl=/^-?(?:0|[1-9][0-9]*)$/,ma=new Nt({name:"__Schema",description:"A GraphQL Schema defines the capabilities of a GraphQL server. It exposes all available types and directives on the server, as well as the entry points for query, mutation, and subscription operations.",fields:()=>({description:{type:Fe,resolve:e=>e.description},types:{description:"A list of all types supported by this server.",type:new ae(new Ze(new ae(Rt))),resolve(e){return Object.values(e.getTypeMap())}},queryType:{description:"The type that query operations will be rooted at.",type:new ae(Rt),resolve:e=>e.getQueryType()},mutationType:{description:"If this server supports mutation, the type that mutation operations will be rooted at.",type:Rt,resolve:e=>e.getMutationType()},subscriptionType:{description:"If this server support subscription, the type that subscription operations will be rooted at.",type:Rt,resolve:e=>e.getSubscriptionType()},directives:{description:"A list of all directives supported by this server.",type:new ae(new Ze(new ae(Zc))),resolve:e=>e.getDirectives()}})}),Zc=new Nt({name:"__Directive",description:`A Directive provides a way to describe alternate runtime execution and type validation behavior in a GraphQL document. + +In some cases, you need to provide options to alter GraphQL's execution behavior in ways field arguments will not suffice, such as conditionally including or skipping a field. Directives provide this by describing additional information to the executor.`,fields:()=>({name:{type:new ae(Fe),resolve:e=>e.name},description:{type:Fe,resolve:e=>e.description},isRepeatable:{type:new ae(ze),resolve:e=>e.isRepeatable},locations:{type:new ae(new Ze(new ae(Kc))),resolve:e=>e.locations},args:{type:new ae(new Ze(new ae(Lr))),args:{includeDeprecated:{type:ze,defaultValue:!1}},resolve(e,{includeDeprecated:t}){return t?e.args:e.args.filter(n=>n.deprecationReason==null)}}})}),Kc=new an({name:"__DirectiveLocation",description:"A Directive can be adjacent to many parts of the GraphQL language, a __DirectiveLocation describes one such possible adjacencies.",values:{QUERY:{value:W.QUERY,description:"Location adjacent to a query operation."},MUTATION:{value:W.MUTATION,description:"Location adjacent to a mutation operation."},SUBSCRIPTION:{value:W.SUBSCRIPTION,description:"Location adjacent to a subscription operation."},FIELD:{value:W.FIELD,description:"Location adjacent to a field."},FRAGMENT_DEFINITION:{value:W.FRAGMENT_DEFINITION,description:"Location adjacent to a fragment definition."},FRAGMENT_SPREAD:{value:W.FRAGMENT_SPREAD,description:"Location adjacent to a fragment spread."},INLINE_FRAGMENT:{value:W.INLINE_FRAGMENT,description:"Location adjacent to an inline fragment."},VARIABLE_DEFINITION:{value:W.VARIABLE_DEFINITION,description:"Location adjacent to a variable definition."},SCHEMA:{value:W.SCHEMA,description:"Location adjacent to a schema definition."},SCALAR:{value:W.SCALAR,description:"Location adjacent to a scalar definition."},OBJECT:{value:W.OBJECT,description:"Location adjacent to an object type definition."},FIELD_DEFINITION:{value:W.FIELD_DEFINITION,description:"Location adjacent to a field definition."},ARGUMENT_DEFINITION:{value:W.ARGUMENT_DEFINITION,description:"Location adjacent to an argument definition."},INTERFACE:{value:W.INTERFACE,description:"Location adjacent to an interface definition."},UNION:{value:W.UNION,description:"Location adjacent to a union definition."},ENUM:{value:W.ENUM,description:"Location adjacent to an enum definition."},ENUM_VALUE:{value:W.ENUM_VALUE,description:"Location adjacent to an enum value definition."},INPUT_OBJECT:{value:W.INPUT_OBJECT,description:"Location adjacent to an input object type definition."},INPUT_FIELD_DEFINITION:{value:W.INPUT_FIELD_DEFINITION,description:"Location adjacent to an input object field definition."}}}),Rt=new Nt({name:"__Type",description:"The fundamental unit of any GraphQL Schema is the type. There are many kinds of types in GraphQL as represented by the `__TypeKind` enum.\n\nDepending on the kind of a type, certain fields describe information about that type. Scalar types provide no information beyond a name, description and optional `specifiedByURL`, while Enum types provide their values. Object and Interface types provide the fields they describe. Abstract types, Union and Interface, provide the Object types possible at runtime. List and NonNull types compose other types.",fields:()=>({kind:{type:new ae(nf),resolve(e){if(_t(e))return ve.SCALAR;if(_e(e))return ve.OBJECT;if(Te(e))return ve.INTERFACE;if(mt(e))return ve.UNION;if(lt(e))return ve.ENUM;if(Me(e))return ve.INPUT_OBJECT;if(Ue(e))return ve.LIST;if(ge(e))return ve.NON_NULL;ct(!1,`Unexpected type: "${P(e)}".`)}},name:{type:Fe,resolve:e=>"name"in e?e.name:void 0},description:{type:Fe,resolve:e=>"description"in e?e.description:void 0},specifiedByURL:{type:Fe,resolve:e=>"specifiedByURL"in e?e.specifiedByURL:void 0},fields:{type:new Ze(new ae(ef)),args:{includeDeprecated:{type:ze,defaultValue:!1}},resolve(e,{includeDeprecated:t}){if(_e(e)||Te(e)){const n=Object.values(e.getFields());return t?n:n.filter(i=>i.deprecationReason==null)}}},interfaces:{type:new Ze(new ae(Rt)),resolve(e){if(_e(e)||Te(e))return e.getInterfaces()}},possibleTypes:{type:new Ze(new ae(Rt)),resolve(e,t,n,{schema:i}){if(Mt(e))return i.getPossibleTypes(e)}},enumValues:{type:new Ze(new ae(tf)),args:{includeDeprecated:{type:ze,defaultValue:!1}},resolve(e,{includeDeprecated:t}){if(lt(e)){const n=e.getValues();return t?n:n.filter(i=>i.deprecationReason==null)}}},inputFields:{type:new Ze(new ae(Lr)),args:{includeDeprecated:{type:ze,defaultValue:!1}},resolve(e,{includeDeprecated:t}){if(Me(e)){const n=Object.values(e.getFields());return t?n:n.filter(i=>i.deprecationReason==null)}}},ofType:{type:Rt,resolve:e=>"ofType"in e?e.ofType:void 0},isOneOf:{type:ze,resolve:e=>{if(Me(e))return e.isOneOf}}})}),ef=new Nt({name:"__Field",description:"Object and Interface types are described by a list of Fields, each of which has a name, potentially a list of arguments, and a return type.",fields:()=>({name:{type:new ae(Fe),resolve:e=>e.name},description:{type:Fe,resolve:e=>e.description},args:{type:new ae(new Ze(new ae(Lr))),args:{includeDeprecated:{type:ze,defaultValue:!1}},resolve(e,{includeDeprecated:t}){return t?e.args:e.args.filter(n=>n.deprecationReason==null)}},type:{type:new ae(Rt),resolve:e=>e.type},isDeprecated:{type:new ae(ze),resolve:e=>e.deprecationReason!=null},deprecationReason:{type:Fe,resolve:e=>e.deprecationReason}})}),Lr=new Nt({name:"__InputValue",description:"Arguments provided to Fields or Directives and the input fields of an InputObject are represented as Input Values which describe their type and optionally a default value.",fields:()=>({name:{type:new ae(Fe),resolve:e=>e.name},description:{type:Fe,resolve:e=>e.description},type:{type:new ae(Rt),resolve:e=>e.type},defaultValue:{type:Fe,description:"A GraphQL-formatted string representing the default value for this input value.",resolve(e){const{type:t,defaultValue:n}=e,i=ri(n,t);return i?He(i):null}},isDeprecated:{type:new ae(ze),resolve:e=>e.deprecationReason!=null},deprecationReason:{type:Fe,resolve:e=>e.deprecationReason}})}),tf=new Nt({name:"__EnumValue",description:"One possible value for a given Enum. Enum values are unique values, not a placeholder for a string or numeric value. However an Enum value is returned in a JSON response as a string.",fields:()=>({name:{type:new ae(Fe),resolve:e=>e.name},description:{type:Fe,resolve:e=>e.description},isDeprecated:{type:new ae(ze),resolve:e=>e.deprecationReason!=null},deprecationReason:{type:Fe,resolve:e=>e.deprecationReason}})});var ve;(function(e){e.SCALAR="SCALAR",e.OBJECT="OBJECT",e.INTERFACE="INTERFACE",e.UNION="UNION",e.ENUM="ENUM",e.INPUT_OBJECT="INPUT_OBJECT",e.LIST="LIST",e.NON_NULL="NON_NULL"})(ve||(ve={}));const nf=new an({name:"__TypeKind",description:"An enum describing what kind of type a given `__Type` is.",values:{SCALAR:{value:ve.SCALAR,description:"Indicates this type is a scalar."},OBJECT:{value:ve.OBJECT,description:"Indicates this type is an object. `fields` and `interfaces` are valid fields."},INTERFACE:{value:ve.INTERFACE,description:"Indicates this type is an interface. `fields`, `interfaces`, and `possibleTypes` are valid fields."},UNION:{value:ve.UNION,description:"Indicates this type is a union. `possibleTypes` is a valid field."},ENUM:{value:ve.ENUM,description:"Indicates this type is an enum. `enumValues` is a valid field."},INPUT_OBJECT:{value:ve.INPUT_OBJECT,description:"Indicates this type is an input object. `inputFields` is a valid field."},LIST:{value:ve.LIST,description:"Indicates this type is a list. `ofType` is a valid field."},NON_NULL:{value:ve.NON_NULL,description:"Indicates this type is a non-null. `ofType` is a valid field."}}}),_i={name:"__schema",type:new ae(ma),description:"Access the current type schema of this server.",args:[],resolve:(e,t,n,{schema:i})=>i,deprecationReason:void 0,extensions:Object.create(null),astNode:void 0},Ni={name:"__type",type:Rt,description:"Request the type information of a single type.",args:[{name:"name",description:void 0,type:new ae(Fe),defaultValue:void 0,deprecationReason:void 0,extensions:Object.create(null),astNode:void 0}],resolve:(e,{name:t},n,{schema:i})=>i.getType(t),deprecationReason:void 0,extensions:Object.create(null),astNode:void 0},Ei={name:"__typename",type:new ae(Fe),description:"The name of the current Object type at runtime.",args:[],resolve:(e,t,n,{parentType:i})=>i.name,deprecationReason:void 0,extensions:Object.create(null),astNode:void 0},Ar=Object.freeze([ma,Zc,Kc,Rt,ef,Lr,tf,nf]);function rf(e){return Ar.some(({name:t})=>e.name===t)}function b0(e){return Ct(e,pa)}function y0(e){if(!b0(e))throw new Error(`Expected ${P(e)} to be a GraphQL schema.`);return e}class pa{constructor(t){var n,i;this.__validationErrors=t.assumeValid===!0?[]:void 0,qt(t)||me(!1,"Must provide configuration object."),!t.types||Array.isArray(t.types)||me(!1,`"types" must be Array if provided but got: ${P(t.types)}.`),!t.directives||Array.isArray(t.directives)||me(!1,`"directives" must be Array if provided but got: ${P(t.directives)}.`),this.description=t.description,this.extensions=Et(t.extensions),this.astNode=t.astNode,this.extensionASTNodes=(n=t.extensionASTNodes)!==null&&n!==void 0?n:[],this._queryType=t.query,this._mutationType=t.mutation,this._subscriptionType=t.subscription,this._directives=(i=t.directives)!==null&&i!==void 0?i:Jn;const r=new Set(t.types);if(t.types!=null)for(const s of t.types)r.delete(s),At(s,r);this._queryType!=null&&At(this._queryType,r),this._mutationType!=null&&At(this._mutationType,r),this._subscriptionType!=null&&At(this._subscriptionType,r);for(const s of this._directives)if(zc(s))for(const a of s.args)At(a.type,r);At(ma,r),this._typeMap=Object.create(null),this._subTypeMap=Object.create(null),this._implementationsMap=Object.create(null);for(const s of r){if(s==null)continue;const a=s.name;if(a||me(!1,"One of the provided types for building the Schema is missing a name."),this._typeMap[a]!==void 0)throw new Error(`Schema must contain uniquely named types but contains multiple types named "${a}".`);if(this._typeMap[a]=s,Te(s)){for(const o of s.getInterfaces())if(Te(o)){let l=this._implementationsMap[o.name];l===void 0&&(l=this._implementationsMap[o.name]={objects:[],interfaces:[]}),l.interfaces.push(s)}}else if(_e(s)){for(const o of s.getInterfaces())if(Te(o)){let l=this._implementationsMap[o.name];l===void 0&&(l=this._implementationsMap[o.name]={objects:[],interfaces:[]}),l.objects.push(s)}}}}get[Symbol.toStringTag](){return"GraphQLSchema"}getQueryType(){return this._queryType}getMutationType(){return this._mutationType}getSubscriptionType(){return this._subscriptionType}getRootType(t){switch(t){case ot.QUERY:return this.getQueryType();case ot.MUTATION:return this.getMutationType();case ot.SUBSCRIPTION:return this.getSubscriptionType()}}getTypeMap(){return this._typeMap}getType(t){return this.getTypeMap()[t]}getPossibleTypes(t){return mt(t)?t.getTypes():this.getImplementations(t).objects}getImplementations(t){const n=this._implementationsMap[t.name];return n??{objects:[],interfaces:[]}}isSubType(t,n){let i=this._subTypeMap[t.name];if(i===void 0){if(i=Object.create(null),mt(t))for(const r of t.getTypes())i[r.name]=!0;else{const r=this.getImplementations(t);for(const s of r.objects)i[s.name]=!0;for(const s of r.interfaces)i[s.name]=!0}this._subTypeMap[t.name]=i}return i[n.name]!==void 0}getDirectives(){return this._directives}getDirective(t){return this.getDirectives().find(n=>n.name===t)}toConfig(){return{description:this.description,query:this.getQueryType(),mutation:this.getMutationType(),subscription:this.getSubscriptionType(),types:Object.values(this.getTypeMap()),directives:this.getDirectives(),extensions:this.extensions,astNode:this.astNode,extensionASTNodes:this.extensionASTNodes,assumeValid:this.__validationErrors!==void 0}}}function At(e,t){const n=Oe(e);if(!t.has(n)){if(t.add(n),mt(n))for(const i of n.getTypes())At(i,t);else if(_e(n)||Te(n)){for(const i of n.getInterfaces())At(i,t);for(const i of Object.values(n.getFields())){At(i.type,t);for(const r of i.args)At(r.type,t)}}else if(Me(n))for(const i of Object.values(n.getFields()))At(i.type,t)}return t}function v0(e){if(y0(e),e.__validationErrors)return e.__validationErrors;const t=new N0(e);E0(t),T0(t),S0(t);const n=t.getErrors();return e.__validationErrors=n,n}function _0(e){const t=v0(e);if(t.length!==0)throw new Error(t.map(n=>n.message).join(` + +`))}class N0{constructor(t){this._errors=[],this.schema=t}reportError(t,n){const i=Array.isArray(n)?n.filter(Boolean):n;this._errors.push(new D(t,{nodes:i}))}getErrors(){return this._errors}}function E0(e){const t=e.schema,n=t.getQueryType();if(!n)e.reportError("Query root type must be provided.",t.astNode);else if(!_e(n)){var i;e.reportError(`Query root type must be Object type, it cannot be ${P(n)}.`,(i=Gr(t,ot.QUERY))!==null&&i!==void 0?i:n.astNode)}const r=t.getMutationType();if(r&&!_e(r)){var s;e.reportError(`Mutation root type must be Object type if provided, it cannot be ${P(r)}.`,(s=Gr(t,ot.MUTATION))!==null&&s!==void 0?s:r.astNode)}const a=t.getSubscriptionType();if(a&&!_e(a)){var o;e.reportError(`Subscription root type must be Object type if provided, it cannot be ${P(a)}.`,(o=Gr(t,ot.SUBSCRIPTION))!==null&&o!==void 0?o:a.astNode)}}function Gr(e,t){var n;return(n=[e.astNode,...e.extensionASTNodes].flatMap(i=>{var r;return(r=i==null?void 0:i.operationTypes)!==null&&r!==void 0?r:[]}).find(i=>i.operation===t))===null||n===void 0?void 0:n.type}function T0(e){for(const n of e.schema.getDirectives()){if(!zc(n)){e.reportError(`Expected directive but got: ${P(n)}.`,n==null?void 0:n.astNode);continue}bn(e,n),n.locations.length===0&&e.reportError(`Directive @${n.name} must include 1 or more locations.`,n.astNode);for(const i of n.args)if(bn(e,i),dt(i.type)||e.reportError(`The type of @${n.name}(${i.name}:) must be Input Type but got: ${P(i.type)}.`,i.astNode),xi(i)&&i.deprecationReason!=null){var t;e.reportError(`Required argument @${n.name}(${i.name}:) cannot be deprecated.`,[ga(i.astNode),(t=i.astNode)===null||t===void 0?void 0:t.type])}}}function bn(e,t){t.name.startsWith("__")&&e.reportError(`Name "${t.name}" must not begin with "__", which is reserved by GraphQL introspection.`,t.astNode)}function S0(e){const t=C0(e),n=e.schema.getTypeMap();for(const i of Object.values(n)){if(!c0(i)){e.reportError(`Expected GraphQL named type but got: ${P(i)}.`,i.astNode);continue}rf(i)||bn(e,i),_e(i)||Te(i)?(xl(e,i),wl(e,i)):mt(i)?L0(e,i):lt(i)?A0(e,i):Me(i)&&(I0(e,i),t(i))}}function xl(e,t){const n=Object.values(t.getFields());n.length===0&&e.reportError(`Type ${t.name} must define one or more fields.`,[t.astNode,...t.extensionASTNodes]);for(const a of n){if(bn(e,a),!mn(a.type)){var i;e.reportError(`The type of ${t.name}.${a.name} must be Output Type but got: ${P(a.type)}.`,(i=a.astNode)===null||i===void 0?void 0:i.type)}for(const o of a.args){const l=o.name;if(bn(e,o),!dt(o.type)){var r;e.reportError(`The type of ${t.name}.${a.name}(${l}:) must be Input Type but got: ${P(o.type)}.`,(r=o.astNode)===null||r===void 0?void 0:r.type)}if(xi(o)&&o.deprecationReason!=null){var s;e.reportError(`Required argument ${t.name}.${a.name}(${l}:) cannot be deprecated.`,[ga(o.astNode),(s=o.astNode)===null||s===void 0?void 0:s.type])}}}}function wl(e,t){const n=Object.create(null);for(const i of t.getInterfaces()){if(!Te(i)){e.reportError(`Type ${P(t)} must only implement Interface types, it cannot implement ${P(i)}.`,ui(t,i));continue}if(t===i){e.reportError(`Type ${t.name} cannot implement itself because it would create a circular reference.`,ui(t,i));continue}if(n[i.name]){e.reportError(`Type ${t.name} can only implement ${i.name} once.`,ui(t,i));continue}n[i.name]=!0,w0(e,t,i),x0(e,t,i)}}function x0(e,t,n){const i=t.getFields();for(const l of Object.values(n.getFields())){const u=l.name,f=i[u];if(!f){e.reportError(`Interface field ${n.name}.${u} expected but ${t.name} does not provide it.`,[l.astNode,t.astNode,...t.extensionASTNodes]);continue}if(!Bn(e.schema,f.type,l.type)){var r,s;e.reportError(`Interface field ${n.name}.${u} expects type ${P(l.type)} but ${t.name}.${u} is type ${P(f.type)}.`,[(r=l.astNode)===null||r===void 0?void 0:r.type,(s=f.astNode)===null||s===void 0?void 0:s.type])}for(const d of l.args){const h=d.name,m=f.args.find(p=>p.name===h);if(!m){e.reportError(`Interface field argument ${n.name}.${u}(${h}:) expected but ${t.name}.${u} does not provide it.`,[d.astNode,f.astNode]);continue}if(!Ds(d.type,m.type)){var a,o;e.reportError(`Interface field argument ${n.name}.${u}(${h}:) expects type ${P(d.type)} but ${t.name}.${u}(${h}:) is type ${P(m.type)}.`,[(a=d.astNode)===null||a===void 0?void 0:a.type,(o=m.astNode)===null||o===void 0?void 0:o.type])}}for(const d of f.args){const h=d.name;!l.args.find(p=>p.name===h)&&xi(d)&&e.reportError(`Object field ${t.name}.${u} includes required argument ${h} that is missing from the Interface field ${n.name}.${u}.`,[d.astNode,l.astNode])}}}function w0(e,t,n){const i=t.getInterfaces();for(const r of n.getInterfaces())i.includes(r)||e.reportError(r===t?`Type ${t.name} cannot implement ${n.name} because it would create a circular reference.`:`Type ${t.name} must implement ${r.name} because it is implemented by ${n.name}.`,[...ui(n,r),...ui(t,n)])}function L0(e,t){const n=t.getTypes();n.length===0&&e.reportError(`Union type ${t.name} must define one or more member types.`,[t.astNode,...t.extensionASTNodes]);const i=Object.create(null);for(const r of n){if(i[r.name]){e.reportError(`Union type ${t.name} can only include type ${r.name} once.`,Ll(t,r.name));continue}i[r.name]=!0,_e(r)||e.reportError(`Union type ${t.name} can only include Object types, it cannot include ${P(r)}.`,Ll(t,String(r)))}}function A0(e,t){const n=t.getValues();n.length===0&&e.reportError(`Enum type ${t.name} must define one or more values.`,[t.astNode,...t.extensionASTNodes]);for(const i of n)bn(e,i)}function I0(e,t){const n=Object.values(t.getFields());n.length===0&&e.reportError(`Input Object type ${t.name} must define one or more fields.`,[t.astNode,...t.extensionASTNodes]);for(const s of n){if(bn(e,s),!dt(s.type)){var i;e.reportError(`The type of ${t.name}.${s.name} must be Input Type but got: ${P(s.type)}.`,(i=s.astNode)===null||i===void 0?void 0:i.type)}if(Hc(s)&&s.deprecationReason!=null){var r;e.reportError(`Required input field ${t.name}.${s.name} cannot be deprecated.`,[ga(s.astNode),(r=s.astNode)===null||r===void 0?void 0:r.type])}t.isOneOf&&R0(t,s,e)}}function R0(e,t,n){if(ge(t.type)){var i;n.reportError(`OneOf input field ${e.name}.${t.name} must be nullable.`,(i=t.astNode)===null||i===void 0?void 0:i.type)}t.defaultValue!==void 0&&n.reportError(`OneOf input field ${e.name}.${t.name} cannot have a default value.`,t.astNode)}function C0(e){const t=Object.create(null),n=[],i=Object.create(null);return r;function r(s){if(t[s.name])return;t[s.name]=!0,i[s.name]=n.length;const a=Object.values(s.getFields());for(const o of a)if(ge(o.type)&&Me(o.type.ofType)){const l=o.type.ofType,u=i[l.name];if(n.push(o),u===void 0)r(l);else{const f=n.slice(u),d=f.map(h=>h.name).join(".");e.reportError(`Cannot reference Input Object "${l.name}" within itself through a series of non-null fields: "${d}".`,f.map(h=>h.astNode))}n.pop()}i[s.name]=void 0}}function ui(e,t){const{astNode:n,extensionASTNodes:i}=e;return(n!=null?[n,...i]:i).flatMap(s=>{var a;return(a=s.interfaces)!==null&&a!==void 0?a:[]}).filter(s=>s.name.value===t.name)}function Ll(e,t){const{astNode:n,extensionASTNodes:i}=e;return(n!=null?[n,...i]:i).flatMap(s=>{var a;return(a=s.types)!==null&&a!==void 0?a:[]}).filter(s=>s.name.value===t)}function ga(e){var t;return e==null||(t=e.directives)===null||t===void 0?void 0:t.find(n=>n.name.value===ha.name)}function gt(e,t){switch(t.kind){case g.LIST_TYPE:{const n=gt(e,t.type);return n&&new Ze(n)}case g.NON_NULL_TYPE:{const n=gt(e,t.type);return n&&new ae(n)}case g.NAMED_TYPE:return e.getType(t.name.value)}}class sf{constructor(t,n,i){this._schema=t,this._typeStack=[],this._parentTypeStack=[],this._inputTypeStack=[],this._fieldDefStack=[],this._defaultValueStack=[],this._directive=null,this._argument=null,this._enumValue=null,this._getFieldDef=i??D0,n&&(dt(n)&&this._inputTypeStack.push(n),pt(n)&&this._parentTypeStack.push(n),mn(n)&&this._typeStack.push(n))}get[Symbol.toStringTag](){return"TypeInfo"}getType(){if(this._typeStack.length>0)return this._typeStack[this._typeStack.length-1]}getParentType(){if(this._parentTypeStack.length>0)return this._parentTypeStack[this._parentTypeStack.length-1]}getInputType(){if(this._inputTypeStack.length>0)return this._inputTypeStack[this._inputTypeStack.length-1]}getParentInputType(){if(this._inputTypeStack.length>1)return this._inputTypeStack[this._inputTypeStack.length-2]}getFieldDef(){if(this._fieldDefStack.length>0)return this._fieldDefStack[this._fieldDefStack.length-1]}getDefaultValue(){if(this._defaultValueStack.length>0)return this._defaultValueStack[this._defaultValueStack.length-1]}getDirective(){return this._directive}getArgument(){return this._argument}getEnumValue(){return this._enumValue}enter(t){const n=this._schema;switch(t.kind){case g.SELECTION_SET:{const r=Oe(this.getType());this._parentTypeStack.push(pt(r)?r:void 0);break}case g.FIELD:{const r=this.getParentType();let s,a;r&&(s=this._getFieldDef(n,r,t),s&&(a=s.type)),this._fieldDefStack.push(s),this._typeStack.push(mn(a)?a:void 0);break}case g.DIRECTIVE:this._directive=n.getDirective(t.name.value);break;case g.OPERATION_DEFINITION:{const r=n.getRootType(t.operation);this._typeStack.push(_e(r)?r:void 0);break}case g.INLINE_FRAGMENT:case g.FRAGMENT_DEFINITION:{const r=t.typeCondition,s=r?gt(n,r):Oe(this.getType());this._typeStack.push(mn(s)?s:void 0);break}case g.VARIABLE_DEFINITION:{const r=gt(n,t.type);this._inputTypeStack.push(dt(r)?r:void 0);break}case g.ARGUMENT:{var i;let r,s;const a=(i=this.getDirective())!==null&&i!==void 0?i:this.getFieldDef();a&&(r=a.args.find(o=>o.name===t.name.value),r&&(s=r.type)),this._argument=r,this._defaultValueStack.push(r?r.defaultValue:void 0),this._inputTypeStack.push(dt(s)?s:void 0);break}case g.LIST:{const r=da(this.getInputType()),s=Ue(r)?r.ofType:r;this._defaultValueStack.push(void 0),this._inputTypeStack.push(dt(s)?s:void 0);break}case g.OBJECT_FIELD:{const r=Oe(this.getInputType());let s,a;Me(r)&&(a=r.getFields()[t.name.value],a&&(s=a.type)),this._defaultValueStack.push(a?a.defaultValue:void 0),this._inputTypeStack.push(dt(s)?s:void 0);break}case g.ENUM:{const r=Oe(this.getInputType());let s;lt(r)&&(s=r.getValue(t.value)),this._enumValue=s;break}}}leave(t){switch(t.kind){case g.SELECTION_SET:this._parentTypeStack.pop();break;case g.FIELD:this._fieldDefStack.pop(),this._typeStack.pop();break;case g.DIRECTIVE:this._directive=null;break;case g.OPERATION_DEFINITION:case g.INLINE_FRAGMENT:case g.FRAGMENT_DEFINITION:this._typeStack.pop();break;case g.VARIABLE_DEFINITION:this._inputTypeStack.pop();break;case g.ARGUMENT:this._argument=null,this._defaultValueStack.pop(),this._inputTypeStack.pop();break;case g.LIST:case g.OBJECT_FIELD:this._defaultValueStack.pop(),this._inputTypeStack.pop();break;case g.ENUM:this._enumValue=null;break}}}function D0(e,t,n){const i=n.name.value;if(i===_i.name&&e.getQueryType()===t)return _i;if(i===Ni.name&&e.getQueryType()===t)return Ni;if(i===Ei.name&&pt(t))return Ei;if(_e(t)||Te(t))return t.getFields()[i]}function af(e,t){return{enter(...n){const i=n[0];e.enter(i);const r=ir(t,i.kind).enter;if(r){const s=r.apply(t,n);return s!==void 0&&(e.leave(i),As(s)&&e.enter(s)),s}},leave(...n){const i=n[0],r=ir(t,i.kind).leave;let s;return r&&(s=r.apply(t,n)),e.leave(i),s}}}function k0(e){return e.kind===g.OPERATION_DEFINITION||e.kind===g.FRAGMENT_DEFINITION}function O0(e){return e.kind===g.SCHEMA_DEFINITION||Li(e)||e.kind===g.DIRECTIVE_DEFINITION}function Li(e){return e.kind===g.SCALAR_TYPE_DEFINITION||e.kind===g.OBJECT_TYPE_DEFINITION||e.kind===g.INTERFACE_TYPE_DEFINITION||e.kind===g.UNION_TYPE_DEFINITION||e.kind===g.ENUM_TYPE_DEFINITION||e.kind===g.INPUT_OBJECT_TYPE_DEFINITION}function F0(e){return e.kind===g.SCHEMA_EXTENSION||ba(e)}function ba(e){return e.kind===g.SCALAR_TYPE_EXTENSION||e.kind===g.OBJECT_TYPE_EXTENSION||e.kind===g.INTERFACE_TYPE_EXTENSION||e.kind===g.UNION_TYPE_EXTENSION||e.kind===g.ENUM_TYPE_EXTENSION||e.kind===g.INPUT_OBJECT_TYPE_EXTENSION}function of(e){return{Document(t){for(const n of t.definitions)if(!k0(n)){const i=n.kind===g.SCHEMA_DEFINITION||n.kind===g.SCHEMA_EXTENSION?"schema":'"'+n.name.value+'"';e.reportError(new D(`The ${i} definition is not executable.`,{nodes:n}))}return!1}}}function M0(e){return{Field(t){const n=e.getParentType();if(n&&!e.getFieldDef()){const r=e.getSchema(),s=t.name.value;let a=sn("to use an inline fragment on",P0(r,n,s));a===""&&(a=sn(V0(n,s))),e.reportError(new D(`Cannot query field "${s}" on type "${n.name}".`+a,{nodes:t}))}}}}function P0(e,t,n){if(!Mt(t))return[];const i=new Set,r=Object.create(null);for(const a of e.getPossibleTypes(t))if(a.getFields()[n]){i.add(a),r[a.name]=1;for(const o of a.getInterfaces()){var s;o.getFields()[n]&&(i.add(o),r[o.name]=((s=r[o.name])!==null&&s!==void 0?s:0)+1)}}return[...i].sort((a,o)=>{const l=r[o.name]-r[a.name];return l!==0?l:Te(a)&&e.isSubType(a,o)?-1:Te(o)&&e.isSubType(o,a)?1:ua(a.name,o.name)}).map(a=>a.name)}function V0(e,t){if(_e(e)||Te(e)){const n=Object.keys(e.getFields());return Nn(t,n)}return[]}function $0(e){return{InlineFragment(t){const n=t.typeCondition;if(n){const i=gt(e.getSchema(),n);if(i&&!pt(i)){const r=He(n);e.reportError(new D(`Fragment cannot condition on non composite type "${r}".`,{nodes:n}))}}},FragmentDefinition(t){const n=gt(e.getSchema(),t.typeCondition);if(n&&!pt(n)){const i=He(t.typeCondition);e.reportError(new D(`Fragment "${t.name.value}" cannot condition on non composite type "${i}".`,{nodes:t.typeCondition}))}}}}function U0(e){return{...lf(e),Argument(t){const n=e.getArgument(),i=e.getFieldDef(),r=e.getParentType();if(!n&&i&&r){const s=t.name.value,a=i.args.map(l=>l.name),o=Nn(s,a);e.reportError(new D(`Unknown argument "${s}" on field "${r.name}.${i.name}".`+sn(o),{nodes:t}))}}}}function lf(e){const t=Object.create(null),n=e.getSchema(),i=n?n.getDirectives():Jn;for(const a of i)t[a.name]=a.args.map(o=>o.name);const r=e.getDocument().definitions;for(const a of r)if(a.kind===g.DIRECTIVE_DEFINITION){var s;const o=(s=a.arguments)!==null&&s!==void 0?s:[];t[a.name.value]=o.map(l=>l.name.value)}return{Directive(a){const o=a.name.value,l=t[o];if(a.arguments&&l)for(const u of a.arguments){const f=u.name.value;if(!l.includes(f)){const d=Nn(f,l);e.reportError(new D(`Unknown argument "${f}" on directive "@${o}".`+sn(d),{nodes:u}))}}return!1}}}function uf(e){const t=Object.create(null),n=e.getSchema(),i=n?n.getDirectives():Jn;for(const s of i)t[s.name]=s.locations;const r=e.getDocument().definitions;for(const s of r)s.kind===g.DIRECTIVE_DEFINITION&&(t[s.name.value]=s.locations.map(a=>a.value));return{Directive(s,a,o,l,u){const f=s.name.value,d=t[f];if(!d){e.reportError(new D(`Unknown directive "@${f}".`,{nodes:s}));return}const h=B0(u);h&&!d.includes(h)&&e.reportError(new D(`Directive "@${f}" may not be used on ${h}.`,{nodes:s}))}}}function B0(e){const t=e[e.length-1];switch("kind"in t||ct(!1),t.kind){case g.OPERATION_DEFINITION:return j0(t.operation);case g.FIELD:return W.FIELD;case g.FRAGMENT_SPREAD:return W.FRAGMENT_SPREAD;case g.INLINE_FRAGMENT:return W.INLINE_FRAGMENT;case g.FRAGMENT_DEFINITION:return W.FRAGMENT_DEFINITION;case g.VARIABLE_DEFINITION:return W.VARIABLE_DEFINITION;case g.SCHEMA_DEFINITION:case g.SCHEMA_EXTENSION:return W.SCHEMA;case g.SCALAR_TYPE_DEFINITION:case g.SCALAR_TYPE_EXTENSION:return W.SCALAR;case g.OBJECT_TYPE_DEFINITION:case g.OBJECT_TYPE_EXTENSION:return W.OBJECT;case g.FIELD_DEFINITION:return W.FIELD_DEFINITION;case g.INTERFACE_TYPE_DEFINITION:case g.INTERFACE_TYPE_EXTENSION:return W.INTERFACE;case g.UNION_TYPE_DEFINITION:case g.UNION_TYPE_EXTENSION:return W.UNION;case g.ENUM_TYPE_DEFINITION:case g.ENUM_TYPE_EXTENSION:return W.ENUM;case g.ENUM_VALUE_DEFINITION:return W.ENUM_VALUE;case g.INPUT_OBJECT_TYPE_DEFINITION:case g.INPUT_OBJECT_TYPE_EXTENSION:return W.INPUT_OBJECT;case g.INPUT_VALUE_DEFINITION:{const n=e[e.length-3];return"kind"in n||ct(!1),n.kind===g.INPUT_OBJECT_TYPE_DEFINITION?W.INPUT_FIELD_DEFINITION:W.ARGUMENT_DEFINITION}default:ct(!1,"Unexpected kind: "+P(t.kind))}}function j0(e){switch(e){case ot.QUERY:return W.QUERY;case ot.MUTATION:return W.MUTATION;case ot.SUBSCRIPTION:return W.SUBSCRIPTION}}function q0(e){return{FragmentSpread(t){const n=t.name.value;e.getFragment(n)||e.reportError(new D(`Unknown fragment "${n}".`,{nodes:t.name}))}}}function cf(e){const t=e.getSchema(),n=t?t.getTypeMap():Object.create(null),i=Object.create(null);for(const s of e.getDocument().definitions)Li(s)&&(i[s.name.value]=!0);const r=[...Object.keys(n),...Object.keys(i)];return{NamedType(s,a,o,l,u){const f=s.name.value;if(!n[f]&&!i[f]){var d;const h=(d=u[2])!==null&&d!==void 0?d:o,m=h!=null&&H0(h);if(m&&Al.includes(f))return;const p=Nn(f,m?Al.concat(r):r);e.reportError(new D(`Unknown type "${f}".`+sn(p),{nodes:s}))}}}}const Al=[...wr,...Ar].map(e=>e.name);function H0(e){return"kind"in e&&(O0(e)||F0(e))}function G0(e){let t=0;return{Document(n){t=n.definitions.filter(i=>i.kind===g.OPERATION_DEFINITION).length},OperationDefinition(n){!n.name&&t>1&&e.reportError(new D("This anonymous operation must be the only defined operation.",{nodes:n}))}}}function W0(e){var t,n,i;const r=e.getSchema(),s=(t=(n=(i=r==null?void 0:r.astNode)!==null&&i!==void 0?i:r==null?void 0:r.getQueryType())!==null&&n!==void 0?n:r==null?void 0:r.getMutationType())!==null&&t!==void 0?t:r==null?void 0:r.getSubscriptionType();let a=0;return{SchemaDefinition(o){if(s){e.reportError(new D("Cannot define a new schema within a schema extension.",{nodes:o}));return}a>0&&e.reportError(new D("Must provide only one schema definition.",{nodes:o})),++a}}}const z0=3;function Y0(e){function t(n,i=Object.create(null),r=0){if(n.kind===g.FRAGMENT_SPREAD){const s=n.name.value;if(i[s]===!0)return!1;const a=e.getFragment(s);if(!a)return!1;try{return i[s]=!0,t(a,i,r)}finally{i[s]=void 0}}if(n.kind===g.FIELD&&(n.name.value==="fields"||n.name.value==="interfaces"||n.name.value==="possibleTypes"||n.name.value==="inputFields")&&(r++,r>=z0))return!0;if("selectionSet"in n&&n.selectionSet){for(const s of n.selectionSet.selections)if(t(s,i,r))return!0}return!1}return{Field(n){if((n.name.value==="__schema"||n.name.value==="__type")&&t(n))return e.reportError(new D("Maximum introspection depth exceeded",{nodes:[n]})),!1}}}function Q0(e){const t=Object.create(null),n=[],i=Object.create(null);return{OperationDefinition:()=>!1,FragmentDefinition(s){return r(s),!1}};function r(s){if(t[s.name.value])return;const a=s.name.value;t[a]=!0;const o=e.getFragmentSpreads(s.selectionSet);if(o.length!==0){i[a]=n.length;for(const l of o){const u=l.name.value,f=i[u];if(n.push(l),f===void 0){const d=e.getFragment(u);d&&r(d)}else{const d=n.slice(f),h=d.slice(0,-1).map(m=>'"'+m.name.value+'"').join(", ");e.reportError(new D(`Cannot spread fragment "${u}" within itself`+(h!==""?` via ${h}.`:"."),{nodes:d}))}n.pop()}i[a]=void 0}}}function X0(e){let t=Object.create(null);return{OperationDefinition:{enter(){t=Object.create(null)},leave(n){const i=e.getRecursiveVariableUsages(n);for(const{node:r}of i){const s=r.name.value;t[s]!==!0&&e.reportError(new D(n.name?`Variable "$${s}" is not defined by operation "${n.name.value}".`:`Variable "$${s}" is not defined.`,{nodes:[r,n]}))}}},VariableDefinition(n){t[n.variable.name.value]=!0}}}function ff(e){const t=[],n=[];return{OperationDefinition(i){return t.push(i),!1},FragmentDefinition(i){return n.push(i),!1},Document:{leave(){const i=Object.create(null);for(const r of t)for(const s of e.getRecursivelyReferencedFragments(r))i[s.name.value]=!0;for(const r of n){const s=r.name.value;i[s]!==!0&&e.reportError(new D(`Fragment "${s}" is never used.`,{nodes:r}))}}}}}function J0(e){let t=[];return{OperationDefinition:{enter(){t=[]},leave(n){const i=Object.create(null),r=e.getRecursiveVariableUsages(n);for(const{node:s}of r)i[s.name.value]=!0;for(const s of t){const a=s.variable.name.value;i[a]!==!0&&e.reportError(new D(n.name?`Variable "$${a}" is never used in operation "${n.name.value}".`:`Variable "$${a}" is never used.`,{nodes:s}))}}},VariableDefinition(n){t.push(n)}}}function ya(e){switch(e.kind){case g.OBJECT:return{...e,fields:Z0(e.fields)};case g.LIST:return{...e,values:e.values.map(ya)};case g.INT:case g.FLOAT:case g.STRING:case g.BOOLEAN:case g.NULL:case g.ENUM:case g.VARIABLE:return e}}function Z0(e){return e.map(t=>({...t,value:ya(t.value)})).sort((t,n)=>ua(t.name.value,n.name.value))}function df(e){return Array.isArray(e)?e.map(([t,n])=>`subfields "${t}" conflict because `+df(n)).join(" and "):e}function K0(e){const t=new pf,n=new sm,i=new Map;return{SelectionSet(r){const s=em(e,i,t,n,e.getParentType(),r);for(const[[a,o],l,u]of s){const f=df(o);e.reportError(new D(`Fields "${a}" conflict because ${f}. Use different aliases on the fields to fetch both if this was intentional.`,{nodes:l.concat(u)}))}}}}function em(e,t,n,i,r,s){const a=[],[o,l]=or(e,t,r,s);if(nm(e,a,t,n,i,o),l.length!==0)for(let u=0;u1)for(let l=0;l[s.value,a]));return n.every(s=>{const a=s.value,o=r.get(s.name.value);return o===void 0?!1:Il(a)===Il(o)})}function Il(e){return He(ya(e))}function Os(e,t){return Ue(e)?Ue(t)?Os(e.ofType,t.ofType):!0:Ue(t)?!0:ge(e)?ge(t)?Os(e.ofType,t.ofType):!0:ge(t)?!0:Wn(e)||Wn(t)?e!==t:!1}function or(e,t,n,i){const r=t.get(i);if(r)return r;const s=Object.create(null),a=Object.create(null);mf(e,n,i,s,a);const o=[s,Object.keys(a)];return t.set(i,o),o}function Fs(e,t,n){const i=t.get(n.selectionSet);if(i)return i;const r=gt(e.getSchema(),n.typeCondition);return or(e,t,r,n.selectionSet)}function mf(e,t,n,i,r){for(const s of n.selections)switch(s.kind){case g.FIELD:{const a=s.name.value;let o;(_e(t)||Te(t))&&(o=t.getFields()[a]);const l=s.alias?s.alias.value:a;i[l]||(i[l]=[]),i[l].push([t,s,o]);break}case g.FRAGMENT_SPREAD:r[s.name.value]=!0;break;case g.INLINE_FRAGMENT:{const a=s.typeCondition,o=a?gt(e.getSchema(),a):t;mf(e,o,s.selectionSet,i,r);break}}}function rm(e,t,n,i){if(e.length>0)return[[t,e.map(([r])=>r)],[n,...e.map(([,r])=>r).flat()],[i,...e.map(([,,r])=>r).flat()]]}class pf{constructor(){this._data=new Map}has(t,n,i){var r;const s=(r=this._data.get(t))===null||r===void 0?void 0:r.get(n);return s===void 0?!1:i?!0:i===s}add(t,n,i){const r=this._data.get(t);r===void 0?this._data.set(t,new Map([[n,i]])):r.set(n,i)}}class sm{constructor(){this._orderedPairSet=new pf}has(t,n,i){return ts.name.value));for(const s of i.args)if(!r.has(s.name)&&xi(s)){const a=P(s.type);e.reportError(new D(`Field "${i.name}" argument "${s.name}" of type "${a}" is required, but it was not provided.`,{nodes:t}))}}}}}function gf(e){var t;const n=Object.create(null),i=e.getSchema(),r=(t=i==null?void 0:i.getDirectives())!==null&&t!==void 0?t:Jn;for(const o of r)n[o.name]=gn(o.args.filter(xi),l=>l.name);const s=e.getDocument().definitions;for(const o of s)if(o.kind===g.DIRECTIVE_DEFINITION){var a;const l=(a=o.arguments)!==null&&a!==void 0?a:[];n[o.name.value]=gn(l.filter(hm),u=>u.name.value)}return{Directive:{leave(o){const l=o.name.value,u=n[l];if(u){var f;const d=(f=o.arguments)!==null&&f!==void 0?f:[],h=new Set(d.map(m=>m.name.value));for(const[m,p]of Object.entries(u))if(!h.has(m)){const b=ca(p.type)?P(p.type):He(p.type);e.reportError(new D(`Directive "@${l}" argument "${m}" of type "${b}" is required, but it was not provided.`,{nodes:o}))}}}}}}function hm(e){return e.type.kind===g.NON_NULL_TYPE&&e.defaultValue==null}function mm(e){return{Field(t){const n=e.getType(),i=t.selectionSet;if(n)if(Wn(Oe(n))){if(i){const r=t.name.value,s=P(n);e.reportError(new D(`Field "${r}" must not have a selection since type "${s}" has no subfields.`,{nodes:i}))}}else if(i){if(i.selections.length===0){const r=t.name.value,s=P(n);e.reportError(new D(`Field "${r}" of type "${s}" must have at least one field selected.`,{nodes:t}))}}else{const r=t.name.value,s=P(n);e.reportError(new D(`Field "${r}" of type "${s}" must have a selection of subfields. Did you mean "${r} { ... }"?`,{nodes:t}))}}}}function Kt(e,t,n){if(e){if(e.kind===g.VARIABLE){const i=e.name.value;if(n==null||n[i]===void 0)return;const r=n[i];return r===null&&ge(t)?void 0:r}if(ge(t))return e.kind===g.NULL?void 0:Kt(e,t.ofType,n);if(e.kind===g.NULL)return null;if(Ue(t)){const i=t.ofType;if(e.kind===g.LIST){const s=[];for(const a of e.values)if(Rl(a,n)){if(ge(i))return;s.push(null)}else{const o=Kt(a,i,n);if(o===void 0)return;s.push(o)}return s}const r=Kt(e,i,n);return r===void 0?void 0:[r]}if(Me(t)){if(e.kind!==g.OBJECT)return;const i=Object.create(null),r=gn(e.fields,s=>s.name.value);for(const s of Object.values(t.getFields())){const a=r[s.name];if(!a||Rl(a.value,n)){if(s.defaultValue!==void 0)i[s.name]=s.defaultValue;else if(ge(s.type))return;continue}const o=Kt(a.value,s.type,n);if(o===void 0)return;i[s.name]=o}if(t.isOneOf){const s=Object.keys(i);if(s.length!==1||i[s[0]]===null)return}return i}if(Wn(t)){let i;try{i=t.parseLiteral(e,n)}catch{return}return i===void 0?void 0:i}ct(!1,"Unexpected input type: "+P(t))}}function Rl(e,t){return e.kind===g.VARIABLE&&(t==null||t[e.name.value]===void 0)}function pm(e,t,n){var i;const r={},s=(i=t.arguments)!==null&&i!==void 0?i:[],a=gn(s,o=>o.name.value);for(const o of e.args){const l=o.name,u=o.type,f=a[l];if(!f){if(o.defaultValue!==void 0)r[l]=o.defaultValue;else if(ge(u))throw new D(`Argument "${l}" of required type "${P(u)}" was not provided.`,{nodes:t});continue}const d=f.value;let h=d.kind===g.NULL;if(d.kind===g.VARIABLE){const p=d.name.value;if(n==null||!gm(n,p)){if(o.defaultValue!==void 0)r[l]=o.defaultValue;else if(ge(u))throw new D(`Argument "${l}" of required type "${P(u)}" was provided the variable "$${p}" which was not provided a runtime value.`,{nodes:d});continue}h=n[p]==null}if(h&&ge(u))throw new D(`Argument "${l}" of non-null type "${P(u)}" must not be null.`,{nodes:d});const m=Kt(d,u,n);if(m===void 0)throw new D(`Argument "${l}" has invalid value ${He(d)}.`,{nodes:d});r[l]=m}return r}function Ti(e,t,n){var i;const r=(i=t.directives)===null||i===void 0?void 0:i.find(s=>s.name.value===e.name);if(r)return pm(e,r,n)}function gm(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function bm(e,t,n,i,r){const s=new Map;return Ms(e,t,n,i,r,s,new Set),s}function Ms(e,t,n,i,r,s,a){for(const o of r.selections)switch(o.kind){case g.FIELD:{if(!Wr(n,o))continue;const l=ym(o),u=s.get(l);u!==void 0?u.push(o):s.set(l,[o]);break}case g.INLINE_FRAGMENT:{if(!Wr(n,o)||!Cl(e,o,i))continue;Ms(e,t,n,i,o.selectionSet,s,a);break}case g.FRAGMENT_SPREAD:{const l=o.name.value;if(a.has(l)||!Wr(n,o))continue;a.add(l);const u=t[l];if(!u||!Cl(e,u,i))continue;Ms(e,t,n,i,u.selectionSet,s,a);break}}}function Wr(e,t){const n=Ti(Qc,t,e);if((n==null?void 0:n.if)===!0)return!1;const i=Ti(Yc,t,e);return(i==null?void 0:i.if)!==!1}function Cl(e,t,n){const i=t.typeCondition;if(!i)return!0;const r=gt(e,i);return r===n?!0:Mt(r)?e.isSubType(r,n):!1}function ym(e){return e.alias?e.alias.value:e.name.value}function vm(e){return{OperationDefinition(t){if(t.operation==="subscription"){const n=e.getSchema(),i=n.getSubscriptionType();if(i){const r=t.name?t.name.value:null,s=Object.create(null),a=e.getDocument(),o=Object.create(null);for(const u of a.definitions)u.kind===g.FRAGMENT_DEFINITION&&(o[u.name.value]=u);const l=bm(n,o,s,i,t.selectionSet);if(l.size>1){const d=[...l.values()].slice(1).flat();e.reportError(new D(r!=null?`Subscription "${r}" must select only one top level field.`:"Anonymous Subscription must select only one top level field.",{nodes:d}))}for(const u of l.values())u[0].name.value.startsWith("__")&&e.reportError(new D(r!=null?`Subscription "${r}" must not select an introspection top level field.`:"Anonymous Subscription must not select an introspection top level field.",{nodes:u}))}}}}}function _a(e,t){const n=new Map;for(const i of e){const r=t(i),s=n.get(r);s===void 0?n.set(r,[i]):s.push(i)}return n}function _m(e){return{DirectiveDefinition(i){var r;const s=(r=i.arguments)!==null&&r!==void 0?r:[];return n(`@${i.name.value}`,s)},InterfaceTypeDefinition:t,InterfaceTypeExtension:t,ObjectTypeDefinition:t,ObjectTypeExtension:t};function t(i){var r;const s=i.name.value,a=(r=i.fields)!==null&&r!==void 0?r:[];for(const l of a){var o;const u=l.name.value,f=(o=l.arguments)!==null&&o!==void 0?o:[];n(`${s}.${u}`,f)}return!1}function n(i,r){const s=_a(r,a=>a.name.value);for(const[a,o]of s)o.length>1&&e.reportError(new D(`Argument "${i}(${a}:)" can only be defined once.`,{nodes:o.map(l=>l.name)}));return!1}}function bf(e){return{Field:t,Directive:t};function t(n){var i;const r=(i=n.arguments)!==null&&i!==void 0?i:[],s=_a(r,a=>a.name.value);for(const[a,o]of s)o.length>1&&e.reportError(new D(`There can be only one argument named "${a}".`,{nodes:o.map(l=>l.name)}))}}function Nm(e){const t=Object.create(null),n=e.getSchema();return{DirectiveDefinition(i){const r=i.name.value;if(n!=null&&n.getDirective(r)){e.reportError(new D(`Directive "@${r}" already exists in the schema. It cannot be redefined.`,{nodes:i.name}));return}return t[r]?e.reportError(new D(`There can be only one directive named "@${r}".`,{nodes:[t[r],i.name]})):t[r]=i.name,!1}}}function yf(e){const t=Object.create(null),n=e.getSchema(),i=n?n.getDirectives():Jn;for(const o of i)t[o.name]=!o.isRepeatable;const r=e.getDocument().definitions;for(const o of r)o.kind===g.DIRECTIVE_DEFINITION&&(t[o.name.value]=!o.repeatable);const s=Object.create(null),a=Object.create(null);return{enter(o){if(!("directives"in o)||!o.directives)return;let l;if(o.kind===g.SCHEMA_DEFINITION||o.kind===g.SCHEMA_EXTENSION)l=s;else if(Li(o)||ba(o)){const u=o.name.value;l=a[u],l===void 0&&(a[u]=l=Object.create(null))}else l=Object.create(null);for(const u of o.directives){const f=u.name.value;t[f]&&(l[f]?e.reportError(new D(`The directive "@${f}" can only be used once at this location.`,{nodes:[l[f],u]})):l[f]=u)}}}}function Em(e){const t=e.getSchema(),n=t?t.getTypeMap():Object.create(null),i=Object.create(null);return{EnumTypeDefinition:r,EnumTypeExtension:r};function r(s){var a;const o=s.name.value;i[o]||(i[o]=Object.create(null));const l=(a=s.values)!==null&&a!==void 0?a:[],u=i[o];for(const f of l){const d=f.name.value,h=n[o];lt(h)&&h.getValue(d)?e.reportError(new D(`Enum value "${o}.${d}" already exists in the schema. It cannot also be defined in this type extension.`,{nodes:f.name})):u[d]?e.reportError(new D(`Enum value "${o}.${d}" can only be defined once.`,{nodes:[u[d],f.name]})):u[d]=f.name}return!1}}function Tm(e){const t=e.getSchema(),n=t?t.getTypeMap():Object.create(null),i=Object.create(null);return{InputObjectTypeDefinition:r,InputObjectTypeExtension:r,InterfaceTypeDefinition:r,InterfaceTypeExtension:r,ObjectTypeDefinition:r,ObjectTypeExtension:r};function r(s){var a;const o=s.name.value;i[o]||(i[o]=Object.create(null));const l=(a=s.fields)!==null&&a!==void 0?a:[],u=i[o];for(const f of l){const d=f.name.value;Sm(n[o],d)?e.reportError(new D(`Field "${o}.${d}" already exists in the schema. It cannot also be defined in this type extension.`,{nodes:f.name})):u[d]?e.reportError(new D(`Field "${o}.${d}" can only be defined once.`,{nodes:[u[d],f.name]})):u[d]=f.name}return!1}}function Sm(e,t){return _e(e)||Te(e)||Me(e)?e.getFields()[t]!=null:!1}function xm(e){const t=Object.create(null);return{OperationDefinition:()=>!1,FragmentDefinition(n){const i=n.name.value;return t[i]?e.reportError(new D(`There can be only one fragment named "${i}".`,{nodes:[t[i],n.name]})):t[i]=n.name,!1}}}function vf(e){const t=[];let n=Object.create(null);return{ObjectValue:{enter(){t.push(n),n=Object.create(null)},leave(){const i=t.pop();i||ct(!1),n=i}},ObjectField(i){const r=i.name.value;n[r]?e.reportError(new D(`There can be only one input field named "${r}".`,{nodes:[n[r],i.name]})):n[r]=i.name}}}function wm(e){const t=Object.create(null);return{OperationDefinition(n){const i=n.name;return i&&(t[i.value]?e.reportError(new D(`There can be only one operation named "${i.value}".`,{nodes:[t[i.value],i]})):t[i.value]=i),!1},FragmentDefinition:()=>!1}}function Lm(e){const t=e.getSchema(),n=Object.create(null),i=t?{query:t.getQueryType(),mutation:t.getMutationType(),subscription:t.getSubscriptionType()}:{};return{SchemaDefinition:r,SchemaExtension:r};function r(s){var a;const o=(a=s.operationTypes)!==null&&a!==void 0?a:[];for(const l of o){const u=l.operation,f=n[u];i[u]?e.reportError(new D(`Type for ${u} already defined in the schema. It cannot be redefined.`,{nodes:l})):f?e.reportError(new D(`There can be only one ${u} type in schema.`,{nodes:[f,l]})):n[u]=l}return!1}}function Am(e){const t=Object.create(null),n=e.getSchema();return{ScalarTypeDefinition:i,ObjectTypeDefinition:i,InterfaceTypeDefinition:i,UnionTypeDefinition:i,EnumTypeDefinition:i,InputObjectTypeDefinition:i};function i(r){const s=r.name.value;if(n!=null&&n.getType(s)){e.reportError(new D(`Type "${s}" already exists in the schema. It cannot also be defined in this type definition.`,{nodes:r.name}));return}return t[s]?e.reportError(new D(`There can be only one type named "${s}".`,{nodes:[t[s],r.name]})):t[s]=r.name,!1}}function Im(e){return{OperationDefinition(t){var n;const i=(n=t.variableDefinitions)!==null&&n!==void 0?n:[],r=_a(i,s=>s.variable.name.value);for(const[s,a]of r)a.length>1&&e.reportError(new D(`There can be only one variable named "$${s}".`,{nodes:a.map(o=>o.variable.name)}))}}}function Rm(e){let t={};return{OperationDefinition:{enter(){t={}}},VariableDefinition(n){t[n.variable.name.value]=n},ListValue(n){const i=da(e.getParentInputType());if(!Ue(i))return ln(e,n),!1},ObjectValue(n){const i=Oe(e.getInputType());if(!Me(i))return ln(e,n),!1;const r=gn(n.fields,s=>s.name.value);for(const s of Object.values(i.getFields()))if(!r[s.name]&&Hc(s)){const o=P(s.type);e.reportError(new D(`Field "${i.name}.${s.name}" of required type "${o}" was not provided.`,{nodes:n}))}i.isOneOf&&Cm(e,n,i,r,t)},ObjectField(n){const i=Oe(e.getParentInputType());if(!e.getInputType()&&Me(i)){const s=Nn(n.name.value,Object.keys(i.getFields()));e.reportError(new D(`Field "${n.name.value}" is not defined by type "${i.name}".`+sn(s),{nodes:n}))}},NullValue(n){const i=e.getInputType();ge(i)&&e.reportError(new D(`Expected value of type "${P(i)}", found ${He(n)}.`,{nodes:n}))},EnumValue:n=>ln(e,n),IntValue:n=>ln(e,n),FloatValue:n=>ln(e,n),StringValue:n=>ln(e,n),BooleanValue:n=>ln(e,n)}}function ln(e,t){const n=e.getInputType();if(!n)return;const i=Oe(n);if(!Wn(i)){const r=P(n);e.reportError(new D(`Expected value of type "${r}", found ${He(t)}.`,{nodes:t}));return}try{if(i.parseLiteral(t,void 0)===void 0){const s=P(n);e.reportError(new D(`Expected value of type "${s}", found ${He(t)}.`,{nodes:t}))}}catch(r){const s=P(n);r instanceof D?e.reportError(r):e.reportError(new D(`Expected value of type "${s}", found ${He(t)}; `+r.message,{nodes:t,originalError:r}))}}function Cm(e,t,n,i,r){var s;const a=Object.keys(i);if(a.length!==1){e.reportError(new D(`OneOf Input Object "${n.name}" must specify exactly one key.`,{nodes:[t]}));return}const l=(s=i[a[0]])===null||s===void 0?void 0:s.value,u=!l||l.kind===g.NULL,f=(l==null?void 0:l.kind)===g.VARIABLE;if(u){e.reportError(new D(`Field "${n.name}.${a[0]}" must be non-null.`,{nodes:[t]}));return}if(f){const d=l.name.value;r[d].type.kind!==g.NON_NULL_TYPE&&e.reportError(new D(`Variable "${d}" must be non-nullable to be used for OneOf Input Object "${n.name}".`,{nodes:[t]}))}}function Dm(e){return{VariableDefinition(t){const n=gt(e.getSchema(),t.type);if(n!==void 0&&!dt(n)){const i=t.variable.name.value,r=He(t.type);e.reportError(new D(`Variable "$${i}" cannot be non-input type "${r}".`,{nodes:t.type}))}}}}function km(e){let t=Object.create(null);return{OperationDefinition:{enter(){t=Object.create(null)},leave(n){const i=e.getRecursiveVariableUsages(n);for(const{node:r,type:s,defaultValue:a}of i){const o=r.name.value,l=t[o];if(l&&s){const u=e.getSchema(),f=gt(u,l.type);if(f&&!Om(u,f,l.defaultValue,s,a)){const d=P(f),h=P(s);e.reportError(new D(`Variable "$${o}" of type "${d}" used in position expecting type "${h}".`,{nodes:[l,r]}))}}}}},VariableDefinition(n){t[n.variable.name.value]=n}}}function Om(e,t,n,i,r){if(ge(i)&&!ge(t)){if(!(n!=null&&n.kind!==g.NULL)&&!(r!==void 0))return!1;const o=i.ofType;return Bn(e,t,o)}return Bn(e,t,i)}const Fm=Object.freeze([Y0]),_f=Object.freeze([of,wm,G0,vm,cf,$0,Dm,mm,M0,xm,q0,ff,am,Q0,Im,X0,J0,uf,yf,U0,bf,Rm,dm,km,K0,vf,...Fm]),Mm=Object.freeze([W0,Lm,Am,Em,Tm,_m,Nm,cf,uf,yf,lm,lf,bf,vf,gf]);class Nf{constructor(t,n){this._ast=t,this._fragments=void 0,this._fragmentSpreads=new Map,this._recursivelyReferencedFragments=new Map,this._onError=n}get[Symbol.toStringTag](){return"ASTValidationContext"}reportError(t){this._onError(t)}getDocument(){return this._ast}getFragment(t){let n;if(this._fragments)n=this._fragments;else{n=Object.create(null);for(const i of this.getDocument().definitions)i.kind===g.FRAGMENT_DEFINITION&&(n[i.name.value]=i);this._fragments=n}return n[t]}getFragmentSpreads(t){let n=this._fragmentSpreads.get(t);if(!n){n=[];const i=[t];let r;for(;r=i.pop();)for(const s of r.selections)s.kind===g.FRAGMENT_SPREAD?n.push(s):s.selectionSet&&i.push(s.selectionSet);this._fragmentSpreads.set(t,n)}return n}getRecursivelyReferencedFragments(t){let n=this._recursivelyReferencedFragments.get(t);if(!n){n=[];const i=Object.create(null),r=[t.selectionSet];let s;for(;s=r.pop();)for(const a of this.getFragmentSpreads(s)){const o=a.name.value;if(i[o]!==!0){i[o]=!0;const l=this.getFragment(o);l&&(n.push(l),r.push(l.selectionSet))}}this._recursivelyReferencedFragments.set(t,n)}return n}}class Pm extends Nf{constructor(t,n,i){super(t,i),this._schema=n}get[Symbol.toStringTag](){return"SDLValidationContext"}getSchema(){return this._schema}}class Vm extends Nf{constructor(t,n,i,r){super(n,r),this._schema=t,this._typeInfo=i,this._variableUsages=new Map,this._recursiveVariableUsages=new Map}get[Symbol.toStringTag](){return"ValidationContext"}getSchema(){return this._schema}getVariableUsages(t){let n=this._variableUsages.get(t);if(!n){const i=[],r=new sf(this._schema);on(t,af(r,{VariableDefinition:()=>!1,Variable(s){i.push({node:s,type:r.getInputType(),defaultValue:r.getDefaultValue()})}})),n=i,this._variableUsages.set(t,n)}return n}getRecursiveVariableUsages(t){let n=this._recursiveVariableUsages.get(t);if(!n){n=this.getVariableUsages(t);for(const i of this.getRecursivelyReferencedFragments(t))n=n.concat(this.getVariableUsages(i));this._recursiveVariableUsages.set(t,n)}return n}getType(){return this._typeInfo.getType()}getParentType(){return this._typeInfo.getParentType()}getInputType(){return this._typeInfo.getInputType()}getParentInputType(){return this._typeInfo.getParentInputType()}getFieldDef(){return this._typeInfo.getFieldDef()}getDirective(){return this._typeInfo.getDirective()}getArgument(){return this._typeInfo.getArgument()}getEnumValue(){return this._typeInfo.getEnumValue()}}function Ef(e,t,n=_f,i,r=new sf(e)){var s;const a=(s=void 0)!==null&&s!==void 0?s:100;t||me(!1,"Must provide document."),_0(e);const o=Object.freeze({}),l=[],u=new Vm(e,t,r,d=>{if(l.length>=a)throw l.push(new D("Too many validation errors, error limit reached. Validation aborted.")),o;l.push(d)}),f=Fc(n.map(d=>d(u)));try{on(t,af(r,f))}catch(d){if(d!==o)throw d}return l}function $m(e,t,n=Mm){const i=[],r=new Pm(e,t,a=>{i.push(a)}),s=n.map(a=>a(r));return on(e,Fc(s)),i}function Um(e){const t=$m(e);if(t.length!==0)throw new Error(t.map(n=>n.message).join(` + +`))}function Bm(e){return{Field(t){const n=e.getFieldDef(),i=n==null?void 0:n.deprecationReason;if(n&&i!=null){const r=e.getParentType();r!=null||ct(!1),e.reportError(new D(`The field ${r.name}.${n.name} is deprecated. ${i}`,{nodes:t}))}},Argument(t){const n=e.getArgument(),i=n==null?void 0:n.deprecationReason;if(n&&i!=null){const r=e.getDirective();if(r!=null)e.reportError(new D(`Directive "@${r.name}" argument "${n.name}" is deprecated. ${i}`,{nodes:t}));else{const s=e.getParentType(),a=e.getFieldDef();s!=null&&a!=null||ct(!1),e.reportError(new D(`Field "${s.name}.${a.name}" argument "${n.name}" is deprecated. ${i}`,{nodes:t}))}}},ObjectField(t){const n=Oe(e.getParentInputType());if(Me(n)){const i=n.getFields()[t.name.value],r=i==null?void 0:i.deprecationReason;r!=null&&e.reportError(new D(`The input field ${n.name}.${i.name} is deprecated. ${r}`,{nodes:t}))}},EnumValue(t){const n=e.getEnumValue(),i=n==null?void 0:n.deprecationReason;if(n&&i!=null){const r=Oe(e.getInputType());r!=null||ct(!1),e.reportError(new D(`The enum value "${r.name}.${n.name}" is deprecated. ${i}`,{nodes:t}))}}}}function Dl(e,t){qt(e)&&qt(e.__schema)||me(!1,`Invalid or incomplete introspection result. Ensure that you are passing "data" property of introspection response and no "errors" was returned alongside: ${P(e)}.`);const n=e.__schema,i=dn(n.types,N=>N.name,N=>h(N));for(const N of[...wr,...Ar])i[N.name]&&(i[N.name]=N);const r=n.queryType?f(n.queryType):null,s=n.mutationType?f(n.mutationType):null,a=n.subscriptionType?f(n.subscriptionType):null,o=n.directives?n.directives.map(j):[];return new pa({description:n.description,query:r,mutation:s,subscription:a,types:Object.values(i),directives:o,assumeValid:t==null?void 0:t.assumeValid});function l(N){if(N.kind===ve.LIST){const G=N.ofType;if(!G)throw new Error("Decorated type deeper than introspection query.");return new Ze(l(G))}if(N.kind===ve.NON_NULL){const G=N.ofType;if(!G)throw new Error("Decorated type deeper than introspection query.");const Q=l(G);return new ae(u0(Q))}return u(N)}function u(N){const G=N.name;if(!G)throw new Error(`Unknown type reference: ${P(N)}.`);const Q=i[G];if(!Q)throw new Error(`Invalid or incomplete schema, unknown type: ${G}. Ensure that a full introspection query is used in order to build a client schema.`);return Q}function f(N){return a0(u(N))}function d(N){return o0(u(N))}function h(N){if(N!=null&&N.name!=null&&N.kind!=null)switch(N.kind){case ve.SCALAR:return m(N);case ve.OBJECT:return b(N);case ve.INTERFACE:return T(N);case ve.UNION:return _(N);case ve.ENUM:return I(N);case ve.INPUT_OBJECT:return S(N)}const G=P(N);throw new Error(`Invalid or incomplete introspection result. Ensure that a full introspection query is used in order to build a client schema: ${G}.`)}function m(N){return new Ht({name:N.name,description:N.description,specifiedByURL:N.specifiedByURL})}function p(N){if(N.interfaces===null&&N.kind===ve.INTERFACE)return[];if(!N.interfaces){const G=P(N);throw new Error(`Introspection result missing interfaces: ${G}.`)}return N.interfaces.map(d)}function b(N){return new Nt({name:N.name,description:N.description,interfaces:()=>p(N),fields:()=>w(N)})}function T(N){return new nn({name:N.name,description:N.description,interfaces:()=>p(N),fields:()=>w(N)})}function _(N){if(!N.possibleTypes){const G=P(N);throw new Error(`Introspection result missing possibleTypes: ${G}.`)}return new rr({name:N.name,description:N.description,types:()=>N.possibleTypes.map(f)})}function I(N){if(!N.enumValues){const G=P(N);throw new Error(`Introspection result missing enumValues: ${G}.`)}return new an({name:N.name,description:N.description,values:dn(N.enumValues,G=>G.name,G=>({description:G.description,deprecationReason:G.deprecationReason}))})}function S(N){if(!N.inputFields){const G=P(N);throw new Error(`Introspection result missing inputFields: ${G}.`)}return new vi({name:N.name,description:N.description,fields:()=>C(N.inputFields),isOneOf:N.isOneOf})}function w(N){if(!N.fields)throw new Error(`Introspection result missing fields: ${P(N)}.`);return dn(N.fields,G=>G.name,x)}function x(N){const G=l(N.type);if(!mn(G)){const Q=P(G);throw new Error(`Introspection must provide output type for fields, but received: ${Q}.`)}if(!N.args){const Q=P(N);throw new Error(`Introspection result missing field args: ${Q}.`)}return{description:N.description,deprecationReason:N.deprecationReason,type:G,args:C(N.args)}}function C(N){return dn(N,G=>G.name,O)}function O(N){const G=l(N.type);if(!dt(G)){const B=P(G);throw new Error(`Introspection must provide input type for arguments, but received: ${B}.`)}const Q=N.defaultValue!=null?Kt(Qh(N.defaultValue),G):void 0;return{description:N.description,type:G,defaultValue:Q,deprecationReason:N.deprecationReason}}function j(N){if(!N.args){const G=P(N);throw new Error(`Introspection result missing directive args: ${G}.`)}if(!N.locations){const G=P(N);throw new Error(`Introspection result missing directive locations: ${G}.`)}return new Gt({name:N.name,description:N.description,isRepeatable:N.isRepeatable,locations:N.locations.slice(),args:C(N.args)})}}function jm(e,t,n){var i,r,s,a;const o=[],l=Object.create(null),u=[];let f;const d=[];for(const L of t.definitions)if(L.kind===g.SCHEMA_DEFINITION)f=L;else if(L.kind===g.SCHEMA_EXTENSION)d.push(L);else if(Li(L))o.push(L);else if(ba(L)){const V=L.name.value,y=l[V];l[V]=y?y.concat([L]):[L]}else L.kind===g.DIRECTIVE_DEFINITION&&u.push(L);if(Object.keys(l).length===0&&o.length===0&&u.length===0&&d.length===0&&f==null)return e;const h=Object.create(null);for(const L of e.types)h[L.name]=I(L);for(const L of o){var m;const V=L.name.value;h[V]=(m=kl[V])!==null&&m!==void 0?m:oe(L)}const p={query:e.query&&T(e.query),mutation:e.mutation&&T(e.mutation),subscription:e.subscription&&T(e.subscription),...f&&Q([f]),...Q(d)};return{description:(i=f)===null||i===void 0||(r=i.description)===null||r===void 0?void 0:r.value,...p,types:Object.values(h),directives:[...e.directives.map(_),...u.map(k)],extensions:Object.create(null),astNode:(s=f)!==null&&s!==void 0?s:e.astNode,extensionASTNodes:e.extensionASTNodes.concat(d),assumeValid:(a=n==null?void 0:n.assumeValid)!==null&&a!==void 0?a:!1};function b(L){return Ue(L)?new Ze(b(L.ofType)):ge(L)?new ae(b(L.ofType)):T(L)}function T(L){return h[L.name]}function _(L){const V=L.toConfig();return new Gt({...V,args:Vt(V.args,G)})}function I(L){if(rf(L)||m0(L))return L;if(_t(L))return x(L);if(_e(L))return C(L);if(Te(L))return O(L);if(mt(L))return j(L);if(lt(L))return w(L);if(Me(L))return S(L);ct(!1,"Unexpected type: "+P(L))}function S(L){var V;const y=L.toConfig(),v=(V=l[y.name])!==null&&V!==void 0?V:[];return new vi({...y,fields:()=>({...Vt(y.fields,z=>({...z,type:b(z.type)})),...U(v)}),extensionASTNodes:y.extensionASTNodes.concat(v)})}function w(L){var V;const y=L.toConfig(),v=(V=l[L.name])!==null&&V!==void 0?V:[];return new an({...y,values:{...y.values,...K(v)},extensionASTNodes:y.extensionASTNodes.concat(v)})}function x(L){var V;const y=L.toConfig(),v=(V=l[y.name])!==null&&V!==void 0?V:[];let z=y.specifiedByURL;for(const se of v){var X;z=(X=Ol(se))!==null&&X!==void 0?X:z}return new Ht({...y,specifiedByURL:z,extensionASTNodes:y.extensionASTNodes.concat(v)})}function C(L){var V;const y=L.toConfig(),v=(V=l[y.name])!==null&&V!==void 0?V:[];return new Nt({...y,interfaces:()=>[...L.getInterfaces().map(T),...ee(v)],fields:()=>({...Vt(y.fields,N),...H(v)}),extensionASTNodes:y.extensionASTNodes.concat(v)})}function O(L){var V;const y=L.toConfig(),v=(V=l[y.name])!==null&&V!==void 0?V:[];return new nn({...y,interfaces:()=>[...L.getInterfaces().map(T),...ee(v)],fields:()=>({...Vt(y.fields,N),...H(v)}),extensionASTNodes:y.extensionASTNodes.concat(v)})}function j(L){var V;const y=L.toConfig(),v=(V=l[y.name])!==null&&V!==void 0?V:[];return new rr({...y,types:()=>[...L.getTypes().map(T),...A(v)],extensionASTNodes:y.extensionASTNodes.concat(v)})}function N(L){return{...L,type:b(L.type),args:L.args&&Vt(L.args,G)}}function G(L){return{...L,type:b(L.type)}}function Q(L){const V={};for(const v of L){var y;const z=(y=v.operationTypes)!==null&&y!==void 0?y:[];for(const X of z)V[X.operation]=B(X.type)}return V}function B(L){var V;const y=L.name.value,v=(V=kl[y])!==null&&V!==void 0?V:h[y];if(v===void 0)throw new Error(`Unknown type: "${y}".`);return v}function F(L){return L.kind===g.LIST_TYPE?new Ze(F(L.type)):L.kind===g.NON_NULL_TYPE?new ae(F(L.type)):B(L)}function k(L){var V;return new Gt({name:L.name.value,description:(V=L.description)===null||V===void 0?void 0:V.value,locations:L.locations.map(({value:y})=>y),isRepeatable:L.repeatable,args:$(L.arguments),astNode:L})}function H(L){const V=Object.create(null);for(const z of L){var y;const X=(y=z.fields)!==null&&y!==void 0?y:[];for(const se of X){var v;V[se.name.value]={type:F(se.type),description:(v=se.description)===null||v===void 0?void 0:v.value,args:$(se.arguments),deprecationReason:Oi(se),astNode:se}}}return V}function $(L){const V=L??[],y=Object.create(null);for(const z of V){var v;const X=F(z.type);y[z.name.value]={type:X,description:(v=z.description)===null||v===void 0?void 0:v.value,defaultValue:Kt(z.defaultValue,X),deprecationReason:Oi(z),astNode:z}}return y}function U(L){const V=Object.create(null);for(const z of L){var y;const X=(y=z.fields)!==null&&y!==void 0?y:[];for(const se of X){var v;const tt=F(se.type);V[se.name.value]={type:tt,description:(v=se.description)===null||v===void 0?void 0:v.value,defaultValue:Kt(se.defaultValue,tt),deprecationReason:Oi(se),astNode:se}}}return V}function K(L){const V=Object.create(null);for(const z of L){var y;const X=(y=z.values)!==null&&y!==void 0?y:[];for(const se of X){var v;V[se.name.value]={description:(v=se.description)===null||v===void 0?void 0:v.value,deprecationReason:Oi(se),astNode:se}}}return V}function ee(L){return L.flatMap(V=>{var y,v;return(y=(v=V.interfaces)===null||v===void 0?void 0:v.map(B))!==null&&y!==void 0?y:[]})}function A(L){return L.flatMap(V=>{var y,v;return(y=(v=V.types)===null||v===void 0?void 0:v.map(B))!==null&&y!==void 0?y:[]})}function oe(L){var V;const y=L.name.value,v=(V=l[y])!==null&&V!==void 0?V:[];switch(L.kind){case g.OBJECT_TYPE_DEFINITION:{var z;const Ye=[L,...v];return new Nt({name:y,description:(z=L.description)===null||z===void 0?void 0:z.value,interfaces:()=>ee(Ye),fields:()=>H(Ye),astNode:L,extensionASTNodes:v})}case g.INTERFACE_TYPE_DEFINITION:{var X;const Ye=[L,...v];return new nn({name:y,description:(X=L.description)===null||X===void 0?void 0:X.value,interfaces:()=>ee(Ye),fields:()=>H(Ye),astNode:L,extensionASTNodes:v})}case g.ENUM_TYPE_DEFINITION:{var se;const Ye=[L,...v];return new an({name:y,description:(se=L.description)===null||se===void 0?void 0:se.value,values:K(Ye),astNode:L,extensionASTNodes:v})}case g.UNION_TYPE_DEFINITION:{var tt;const Ye=[L,...v];return new rr({name:y,description:(tt=L.description)===null||tt===void 0?void 0:tt.value,types:()=>A(Ye),astNode:L,extensionASTNodes:v})}case g.SCALAR_TYPE_DEFINITION:{var Se;return new Ht({name:y,description:(Se=L.description)===null||Se===void 0?void 0:Se.value,specifiedByURL:Ol(L),astNode:L,extensionASTNodes:v})}case g.INPUT_OBJECT_TYPE_DEFINITION:{var xe;const Ye=[L,...v];return new vi({name:y,description:(xe=L.description)===null||xe===void 0?void 0:xe.value,fields:()=>U(Ye),astNode:L,extensionASTNodes:v,isOneOf:qm(L)})}}}}const kl=gn([...wr,...Ar],e=>e.name);function Oi(e){const t=Ti(ha,e);return t==null?void 0:t.reason}function Ol(e){const t=Ti(Xc,e);return t==null?void 0:t.url}function qm(e){return!!Ti(Jc,e)}function Fl(e,t){e!=null&&e.kind===g.DOCUMENT||me(!1,"Must provide valid Document AST."),(t==null?void 0:t.assumeValid)!==!0&&(t==null?void 0:t.assumeValidSDL)!==!0&&Um(e);const i=jm({description:void 0,types:[],directives:[],extensions:Object.create(null),extensionASTNodes:[],assumeValid:!1},e,t);if(i.astNode==null)for(const s of i.types)switch(s.name){case"Query":i.query=s;break;case"Mutation":i.mutation=s;break;case"Subscription":i.subscription=s;break}const r=[...i.directives,...Jn.filter(s=>i.directives.every(a=>a.name!==s.name))];return new pa({...i,directives:r})}function yn(e){const t=Object.keys(e),n=t.length,i=new Array(n);for(let r=0;r!i.isDeprecated);const n=e.map(i=>({proximity:Gm(Tf(i.label),t),entry:i}));return zr(zr(n,i=>i.proximity<=2),i=>!i.entry.isDeprecated).sort((i,r)=>(i.entry.isDeprecated?1:0)-(r.entry.isDeprecated?1:0)||i.proximity-r.proximity||i.entry.label.length-r.entry.label.length).map(i=>i.entry)}function zr(e,t){const n=e.filter(t);return n.length===0?e:n}function Tf(e){return e.toLowerCase().replaceAll(/\W/g,"")}function Gm(e,t){let n=Wm(t,e);return e.length>t.length&&(n-=e.length-t.length-1,n+=e.indexOf(t)===0?0:.5),n}function Wm(e,t){let n,i;const r=[],s=e.length,a=t.length;for(n=0;n<=s;n++)r[n]=[n];for(i=1;i<=a;i++)r[0][i]=i;for(n=1;n<=s;n++)for(i=1;i<=a;i++){const o=e[n-1]===t[i-1]?0:1;r[n][i]=Math.min(r[n-1][i]+1,r[n][i-1]+1,r[n-1][i-1]+o),n>1&&i>1&&e[n-1]===t[i-2]&&e[n-2]===t[i-1]&&(r[n][i]=Math.min(r[n][i],r[n-2][i-2]+o))}return r[s][a]}const zm=e=>` { + $1 +}`,lr=(e,t,n)=>{if(!t)return n??e;const i=Oe(t);return _e(i)||Me(i)||Ue(i)||Mt(i)?e+zm():n??e},Ml=(e,t,n)=>{if(Ue(t)){const i=Oe(t.ofType);return e+`[${lr("",i,"$1")}]`}return lr(e,t,n)},Ym=e=>{const t=e.args.filter(n=>n.type.toString().endsWith("!"));if(t.length)return e.name+`(${t.map((n,i)=>`${n.name}: $${i+1}`)}) ${lr("",e.type,` +`)}`};var Pl;(function(e){function t(n){return typeof n=="string"}e.is=t})(Pl||(Pl={}));var Ps;(function(e){function t(n){return typeof n=="string"}e.is=t})(Ps||(Ps={}));var Vl;(function(e){e.MIN_VALUE=-2147483648,e.MAX_VALUE=2147483647;function t(n){return typeof n=="number"&&e.MIN_VALUE<=n&&n<=e.MAX_VALUE}e.is=t})(Vl||(Vl={}));var ur;(function(e){e.MIN_VALUE=0,e.MAX_VALUE=2147483647;function t(n){return typeof n=="number"&&e.MIN_VALUE<=n&&n<=e.MAX_VALUE}e.is=t})(ur||(ur={}));var It;(function(e){function t(i,r){return i===Number.MAX_VALUE&&(i=ur.MAX_VALUE),r===Number.MAX_VALUE&&(r=ur.MAX_VALUE),{line:i,character:r}}e.create=t;function n(i){let r=i;return E.objectLiteral(r)&&E.uinteger(r.line)&&E.uinteger(r.character)}e.is=n})(It||(It={}));var Pe;(function(e){function t(i,r,s,a){if(E.uinteger(i)&&E.uinteger(r)&&E.uinteger(s)&&E.uinteger(a))return{start:It.create(i,r),end:It.create(s,a)};if(It.is(i)&&It.is(r))return{start:i,end:r};throw new Error(`Range#create called with invalid arguments[${i}, ${r}, ${s}, ${a}]`)}e.create=t;function n(i){let r=i;return E.objectLiteral(r)&&It.is(r.start)&&It.is(r.end)}e.is=n})(Pe||(Pe={}));var cr;(function(e){function t(i,r){return{uri:i,range:r}}e.create=t;function n(i){let r=i;return E.objectLiteral(r)&&Pe.is(r.range)&&(E.string(r.uri)||E.undefined(r.uri))}e.is=n})(cr||(cr={}));var $l;(function(e){function t(i,r,s,a){return{targetUri:i,targetRange:r,targetSelectionRange:s,originSelectionRange:a}}e.create=t;function n(i){let r=i;return E.objectLiteral(r)&&Pe.is(r.targetRange)&&E.string(r.targetUri)&&Pe.is(r.targetSelectionRange)&&(Pe.is(r.originSelectionRange)||E.undefined(r.originSelectionRange))}e.is=n})($l||($l={}));var Vs;(function(e){function t(i,r,s,a){return{red:i,green:r,blue:s,alpha:a}}e.create=t;function n(i){const r=i;return E.objectLiteral(r)&&E.numberRange(r.red,0,1)&&E.numberRange(r.green,0,1)&&E.numberRange(r.blue,0,1)&&E.numberRange(r.alpha,0,1)}e.is=n})(Vs||(Vs={}));var Ul;(function(e){function t(i,r){return{range:i,color:r}}e.create=t;function n(i){const r=i;return E.objectLiteral(r)&&Pe.is(r.range)&&Vs.is(r.color)}e.is=n})(Ul||(Ul={}));var Bl;(function(e){function t(i,r,s){return{label:i,textEdit:r,additionalTextEdits:s}}e.create=t;function n(i){const r=i;return E.objectLiteral(r)&&E.string(r.label)&&(E.undefined(r.textEdit)||Yn.is(r))&&(E.undefined(r.additionalTextEdits)||E.typedArray(r.additionalTextEdits,Yn.is))}e.is=n})(Bl||(Bl={}));var jl;(function(e){e.Comment="comment",e.Imports="imports",e.Region="region"})(jl||(jl={}));var ql;(function(e){function t(i,r,s,a,o,l){const u={startLine:i,endLine:r};return E.defined(s)&&(u.startCharacter=s),E.defined(a)&&(u.endCharacter=a),E.defined(o)&&(u.kind=o),E.defined(l)&&(u.collapsedText=l),u}e.create=t;function n(i){const r=i;return E.objectLiteral(r)&&E.uinteger(r.startLine)&&E.uinteger(r.startLine)&&(E.undefined(r.startCharacter)||E.uinteger(r.startCharacter))&&(E.undefined(r.endCharacter)||E.uinteger(r.endCharacter))&&(E.undefined(r.kind)||E.string(r.kind))}e.is=n})(ql||(ql={}));var $s;(function(e){function t(i,r){return{location:i,message:r}}e.create=t;function n(i){let r=i;return E.defined(r)&&cr.is(r.location)&&E.string(r.message)}e.is=n})($s||($s={}));var Hl;(function(e){e.Error=1,e.Warning=2,e.Information=3,e.Hint=4})(Hl||(Hl={}));var Gl;(function(e){e.Unnecessary=1,e.Deprecated=2})(Gl||(Gl={}));var Wl;(function(e){function t(n){const i=n;return E.objectLiteral(i)&&E.string(i.href)}e.is=t})(Wl||(Wl={}));var fr;(function(e){function t(i,r,s,a,o,l){let u={range:i,message:r};return E.defined(s)&&(u.severity=s),E.defined(a)&&(u.code=a),E.defined(o)&&(u.source=o),E.defined(l)&&(u.relatedInformation=l),u}e.create=t;function n(i){var r;let s=i;return E.defined(s)&&Pe.is(s.range)&&E.string(s.message)&&(E.number(s.severity)||E.undefined(s.severity))&&(E.integer(s.code)||E.string(s.code)||E.undefined(s.code))&&(E.undefined(s.codeDescription)||E.string((r=s.codeDescription)===null||r===void 0?void 0:r.href))&&(E.string(s.source)||E.undefined(s.source))&&(E.undefined(s.relatedInformation)||E.typedArray(s.relatedInformation,$s.is))}e.is=n})(fr||(fr={}));var zn;(function(e){function t(i,r,...s){let a={title:i,command:r};return E.defined(s)&&s.length>0&&(a.arguments=s),a}e.create=t;function n(i){let r=i;return E.defined(r)&&E.string(r.title)&&E.string(r.command)}e.is=n})(zn||(zn={}));var Yn;(function(e){function t(s,a){return{range:s,newText:a}}e.replace=t;function n(s,a){return{range:{start:s,end:s},newText:a}}e.insert=n;function i(s){return{range:s,newText:""}}e.del=i;function r(s){const a=s;return E.objectLiteral(a)&&E.string(a.newText)&&Pe.is(a.range)}e.is=r})(Yn||(Yn={}));var Us;(function(e){function t(i,r,s){const a={label:i};return r!==void 0&&(a.needsConfirmation=r),s!==void 0&&(a.description=s),a}e.create=t;function n(i){const r=i;return E.objectLiteral(r)&&E.string(r.label)&&(E.boolean(r.needsConfirmation)||r.needsConfirmation===void 0)&&(E.string(r.description)||r.description===void 0)}e.is=n})(Us||(Us={}));var Qn;(function(e){function t(n){const i=n;return E.string(i)}e.is=t})(Qn||(Qn={}));var zl;(function(e){function t(s,a,o){return{range:s,newText:a,annotationId:o}}e.replace=t;function n(s,a,o){return{range:{start:s,end:s},newText:a,annotationId:o}}e.insert=n;function i(s,a){return{range:s,newText:"",annotationId:a}}e.del=i;function r(s){const a=s;return Yn.is(a)&&(Us.is(a.annotationId)||Qn.is(a.annotationId))}e.is=r})(zl||(zl={}));var Bs;(function(e){function t(i,r){return{textDocument:i,edits:r}}e.create=t;function n(i){let r=i;return E.defined(r)&&Ws.is(r.textDocument)&&Array.isArray(r.edits)}e.is=n})(Bs||(Bs={}));var js;(function(e){function t(i,r,s){let a={kind:"create",uri:i};return r!==void 0&&(r.overwrite!==void 0||r.ignoreIfExists!==void 0)&&(a.options=r),s!==void 0&&(a.annotationId=s),a}e.create=t;function n(i){let r=i;return r&&r.kind==="create"&&E.string(r.uri)&&(r.options===void 0||(r.options.overwrite===void 0||E.boolean(r.options.overwrite))&&(r.options.ignoreIfExists===void 0||E.boolean(r.options.ignoreIfExists)))&&(r.annotationId===void 0||Qn.is(r.annotationId))}e.is=n})(js||(js={}));var qs;(function(e){function t(i,r,s,a){let o={kind:"rename",oldUri:i,newUri:r};return s!==void 0&&(s.overwrite!==void 0||s.ignoreIfExists!==void 0)&&(o.options=s),a!==void 0&&(o.annotationId=a),o}e.create=t;function n(i){let r=i;return r&&r.kind==="rename"&&E.string(r.oldUri)&&E.string(r.newUri)&&(r.options===void 0||(r.options.overwrite===void 0||E.boolean(r.options.overwrite))&&(r.options.ignoreIfExists===void 0||E.boolean(r.options.ignoreIfExists)))&&(r.annotationId===void 0||Qn.is(r.annotationId))}e.is=n})(qs||(qs={}));var Hs;(function(e){function t(i,r,s){let a={kind:"delete",uri:i};return r!==void 0&&(r.recursive!==void 0||r.ignoreIfNotExists!==void 0)&&(a.options=r),s!==void 0&&(a.annotationId=s),a}e.create=t;function n(i){let r=i;return r&&r.kind==="delete"&&E.string(r.uri)&&(r.options===void 0||(r.options.recursive===void 0||E.boolean(r.options.recursive))&&(r.options.ignoreIfNotExists===void 0||E.boolean(r.options.ignoreIfNotExists)))&&(r.annotationId===void 0||Qn.is(r.annotationId))}e.is=n})(Hs||(Hs={}));var Gs;(function(e){function t(n){let i=n;return i&&(i.changes!==void 0||i.documentChanges!==void 0)&&(i.documentChanges===void 0||i.documentChanges.every(r=>E.string(r.kind)?js.is(r)||qs.is(r)||Hs.is(r):Bs.is(r)))}e.is=t})(Gs||(Gs={}));var Yl;(function(e){function t(i){return{uri:i}}e.create=t;function n(i){let r=i;return E.defined(r)&&E.string(r.uri)}e.is=n})(Yl||(Yl={}));var Ql;(function(e){function t(i,r){return{uri:i,version:r}}e.create=t;function n(i){let r=i;return E.defined(r)&&E.string(r.uri)&&E.integer(r.version)}e.is=n})(Ql||(Ql={}));var Ws;(function(e){function t(i,r){return{uri:i,version:r}}e.create=t;function n(i){let r=i;return E.defined(r)&&E.string(r.uri)&&(r.version===null||E.integer(r.version))}e.is=n})(Ws||(Ws={}));var Xl;(function(e){function t(i,r,s,a){return{uri:i,languageId:r,version:s,text:a}}e.create=t;function n(i){let r=i;return E.defined(r)&&E.string(r.uri)&&E.string(r.languageId)&&E.integer(r.version)&&E.string(r.text)}e.is=n})(Xl||(Xl={}));var zs;(function(e){e.PlainText="plaintext",e.Markdown="markdown";function t(n){const i=n;return i===e.PlainText||i===e.Markdown}e.is=t})(zs||(zs={}));var Si;(function(e){function t(n){const i=n;return E.objectLiteral(n)&&zs.is(i.kind)&&E.string(i.value)}e.is=t})(Si||(Si={}));var Jl;(function(e){e.Text=1,e.Method=2,e.Function=3,e.Constructor=4,e.Field=5,e.Variable=6,e.Class=7,e.Interface=8,e.Module=9,e.Property=10,e.Unit=11,e.Value=12,e.Enum=13,e.Keyword=14,e.Snippet=15,e.Color=16,e.File=17,e.Reference=18,e.Folder=19,e.EnumMember=20,e.Constant=21,e.Struct=22,e.Event=23,e.Operator=24,e.TypeParameter=25})(Jl||(Jl={}));var jn;(function(e){e.PlainText=1,e.Snippet=2})(jn||(jn={}));var Zl;(function(e){e.Deprecated=1})(Zl||(Zl={}));var Kl;(function(e){function t(i,r,s){return{newText:i,insert:r,replace:s}}e.create=t;function n(i){const r=i;return r&&E.string(r.newText)&&Pe.is(r.insert)&&Pe.is(r.replace)}e.is=n})(Kl||(Kl={}));var hn;(function(e){e.asIs=1,e.adjustIndentation=2})(hn||(hn={}));var eu;(function(e){function t(n){const i=n;return i&&(E.string(i.detail)||i.detail===void 0)&&(E.string(i.description)||i.description===void 0)}e.is=t})(eu||(eu={}));var tu;(function(e){function t(n){return{label:n}}e.create=t})(tu||(tu={}));var nu;(function(e){function t(n,i){return{items:n||[],isIncomplete:!!i}}e.create=t})(nu||(nu={}));var dr;(function(e){function t(i){return i.replace(/[\\`*_{}[\]()#+\-.!]/g,"\\$&")}e.fromPlainText=t;function n(i){const r=i;return E.string(r)||E.objectLiteral(r)&&E.string(r.language)&&E.string(r.value)}e.is=n})(dr||(dr={}));var iu;(function(e){function t(n){let i=n;return!!i&&E.objectLiteral(i)&&(Si.is(i.contents)||dr.is(i.contents)||E.typedArray(i.contents,dr.is))&&(n.range===void 0||Pe.is(n.range))}e.is=t})(iu||(iu={}));var ru;(function(e){function t(n,i){return i?{label:n,documentation:i}:{label:n}}e.create=t})(ru||(ru={}));var su;(function(e){function t(n,i,...r){let s={label:n};return E.defined(i)&&(s.documentation=i),E.defined(r)?s.parameters=r:s.parameters=[],s}e.create=t})(su||(su={}));var au;(function(e){e.Text=1,e.Read=2,e.Write=3})(au||(au={}));var ou;(function(e){function t(n,i){let r={range:n};return E.number(i)&&(r.kind=i),r}e.create=t})(ou||(ou={}));var lu;(function(e){e.File=1,e.Module=2,e.Namespace=3,e.Package=4,e.Class=5,e.Method=6,e.Property=7,e.Field=8,e.Constructor=9,e.Enum=10,e.Interface=11,e.Function=12,e.Variable=13,e.Constant=14,e.String=15,e.Number=16,e.Boolean=17,e.Array=18,e.Object=19,e.Key=20,e.Null=21,e.EnumMember=22,e.Struct=23,e.Event=24,e.Operator=25,e.TypeParameter=26})(lu||(lu={}));var uu;(function(e){e.Deprecated=1})(uu||(uu={}));var cu;(function(e){function t(n,i,r,s,a){let o={name:n,kind:i,location:{uri:s,range:r}};return a&&(o.containerName=a),o}e.create=t})(cu||(cu={}));var fu;(function(e){function t(n,i,r,s){return s!==void 0?{name:n,kind:i,location:{uri:r,range:s}}:{name:n,kind:i,location:{uri:r}}}e.create=t})(fu||(fu={}));var du;(function(e){function t(i,r,s,a,o,l){let u={name:i,detail:r,kind:s,range:a,selectionRange:o};return l!==void 0&&(u.children=l),u}e.create=t;function n(i){let r=i;return r&&E.string(r.name)&&E.number(r.kind)&&Pe.is(r.range)&&Pe.is(r.selectionRange)&&(r.detail===void 0||E.string(r.detail))&&(r.deprecated===void 0||E.boolean(r.deprecated))&&(r.children===void 0||Array.isArray(r.children))&&(r.tags===void 0||Array.isArray(r.tags))}e.is=n})(du||(du={}));var hu;(function(e){e.Empty="",e.QuickFix="quickfix",e.Refactor="refactor",e.RefactorExtract="refactor.extract",e.RefactorInline="refactor.inline",e.RefactorRewrite="refactor.rewrite",e.Source="source",e.SourceOrganizeImports="source.organizeImports",e.SourceFixAll="source.fixAll"})(hu||(hu={}));var hr;(function(e){e.Invoked=1,e.Automatic=2})(hr||(hr={}));var mu;(function(e){function t(i,r,s){let a={diagnostics:i};return r!=null&&(a.only=r),s!=null&&(a.triggerKind=s),a}e.create=t;function n(i){let r=i;return E.defined(r)&&E.typedArray(r.diagnostics,fr.is)&&(r.only===void 0||E.typedArray(r.only,E.string))&&(r.triggerKind===void 0||r.triggerKind===hr.Invoked||r.triggerKind===hr.Automatic)}e.is=n})(mu||(mu={}));var pu;(function(e){function t(i,r,s){let a={title:i},o=!0;return typeof r=="string"?(o=!1,a.kind=r):zn.is(r)?a.command=r:a.edit=r,o&&s!==void 0&&(a.kind=s),a}e.create=t;function n(i){let r=i;return r&&E.string(r.title)&&(r.diagnostics===void 0||E.typedArray(r.diagnostics,fr.is))&&(r.kind===void 0||E.string(r.kind))&&(r.edit!==void 0||r.command!==void 0)&&(r.command===void 0||zn.is(r.command))&&(r.isPreferred===void 0||E.boolean(r.isPreferred))&&(r.edit===void 0||Gs.is(r.edit))}e.is=n})(pu||(pu={}));var gu;(function(e){function t(i,r){let s={range:i};return E.defined(r)&&(s.data=r),s}e.create=t;function n(i){let r=i;return E.defined(r)&&Pe.is(r.range)&&(E.undefined(r.command)||zn.is(r.command))}e.is=n})(gu||(gu={}));var bu;(function(e){function t(i,r){return{tabSize:i,insertSpaces:r}}e.create=t;function n(i){let r=i;return E.defined(r)&&E.uinteger(r.tabSize)&&E.boolean(r.insertSpaces)}e.is=n})(bu||(bu={}));var yu;(function(e){function t(i,r,s){return{range:i,target:r,data:s}}e.create=t;function n(i){let r=i;return E.defined(r)&&Pe.is(r.range)&&(E.undefined(r.target)||E.string(r.target))}e.is=n})(yu||(yu={}));var vu;(function(e){function t(i,r){return{range:i,parent:r}}e.create=t;function n(i){let r=i;return E.objectLiteral(r)&&Pe.is(r.range)&&(r.parent===void 0||e.is(r.parent))}e.is=n})(vu||(vu={}));var _u;(function(e){e.namespace="namespace",e.type="type",e.class="class",e.enum="enum",e.interface="interface",e.struct="struct",e.typeParameter="typeParameter",e.parameter="parameter",e.variable="variable",e.property="property",e.enumMember="enumMember",e.event="event",e.function="function",e.method="method",e.macro="macro",e.keyword="keyword",e.modifier="modifier",e.comment="comment",e.string="string",e.number="number",e.regexp="regexp",e.operator="operator",e.decorator="decorator"})(_u||(_u={}));var Nu;(function(e){e.declaration="declaration",e.definition="definition",e.readonly="readonly",e.static="static",e.deprecated="deprecated",e.abstract="abstract",e.async="async",e.modification="modification",e.documentation="documentation",e.defaultLibrary="defaultLibrary"})(Nu||(Nu={}));var Eu;(function(e){function t(n){const i=n;return E.objectLiteral(i)&&(i.resultId===void 0||typeof i.resultId=="string")&&Array.isArray(i.data)&&(i.data.length===0||typeof i.data[0]=="number")}e.is=t})(Eu||(Eu={}));var Tu;(function(e){function t(i,r){return{range:i,text:r}}e.create=t;function n(i){const r=i;return r!=null&&Pe.is(r.range)&&E.string(r.text)}e.is=n})(Tu||(Tu={}));var Su;(function(e){function t(i,r,s){return{range:i,variableName:r,caseSensitiveLookup:s}}e.create=t;function n(i){const r=i;return r!=null&&Pe.is(r.range)&&E.boolean(r.caseSensitiveLookup)&&(E.string(r.variableName)||r.variableName===void 0)}e.is=n})(Su||(Su={}));var xu;(function(e){function t(i,r){return{range:i,expression:r}}e.create=t;function n(i){const r=i;return r!=null&&Pe.is(r.range)&&(E.string(r.expression)||r.expression===void 0)}e.is=n})(xu||(xu={}));var wu;(function(e){function t(i,r){return{frameId:i,stoppedLocation:r}}e.create=t;function n(i){const r=i;return E.defined(r)&&Pe.is(i.stoppedLocation)}e.is=n})(wu||(wu={}));var Ys;(function(e){e.Type=1,e.Parameter=2;function t(n){return n===1||n===2}e.is=t})(Ys||(Ys={}));var Qs;(function(e){function t(i){return{value:i}}e.create=t;function n(i){const r=i;return E.objectLiteral(r)&&(r.tooltip===void 0||E.string(r.tooltip)||Si.is(r.tooltip))&&(r.location===void 0||cr.is(r.location))&&(r.command===void 0||zn.is(r.command))}e.is=n})(Qs||(Qs={}));var Lu;(function(e){function t(i,r,s){const a={position:i,label:r};return s!==void 0&&(a.kind=s),a}e.create=t;function n(i){const r=i;return E.objectLiteral(r)&&It.is(r.position)&&(E.string(r.label)||E.typedArray(r.label,Qs.is))&&(r.kind===void 0||Ys.is(r.kind))&&r.textEdits===void 0||E.typedArray(r.textEdits,Yn.is)&&(r.tooltip===void 0||E.string(r.tooltip)||Si.is(r.tooltip))&&(r.paddingLeft===void 0||E.boolean(r.paddingLeft))&&(r.paddingRight===void 0||E.boolean(r.paddingRight))}e.is=n})(Lu||(Lu={}));var Au;(function(e){function t(n){return{kind:"snippet",value:n}}e.createSnippet=t})(Au||(Au={}));var Iu;(function(e){function t(n,i,r,s){return{insertText:n,filterText:i,range:r,command:s}}e.create=t})(Iu||(Iu={}));var Ru;(function(e){function t(n){return{items:n}}e.create=t})(Ru||(Ru={}));var Cu;(function(e){e.Invoked=0,e.Automatic=1})(Cu||(Cu={}));var Du;(function(e){function t(n,i){return{range:n,text:i}}e.create=t})(Du||(Du={}));var ku;(function(e){function t(n,i){return{triggerKind:n,selectedCompletionInfo:i}}e.create=t})(ku||(ku={}));var Ou;(function(e){function t(n){const i=n;return E.objectLiteral(i)&&Ps.is(i.uri)&&E.string(i.name)}e.is=t})(Ou||(Ou={}));var Fu;(function(e){function t(s,a,o,l){return new Qm(s,a,o,l)}e.create=t;function n(s){let a=s;return!!(E.defined(a)&&E.string(a.uri)&&(E.undefined(a.languageId)||E.string(a.languageId))&&E.uinteger(a.lineCount)&&E.func(a.getText)&&E.func(a.positionAt)&&E.func(a.offsetAt))}e.is=n;function i(s,a){let o=s.getText(),l=r(a,(f,d)=>{let h=f.range.start.line-d.range.start.line;return h===0?f.range.start.character-d.range.start.character:h}),u=o.length;for(let f=l.length-1;f>=0;f--){let d=l[f],h=s.offsetAt(d.range.start),m=s.offsetAt(d.range.end);if(m<=u)o=o.substring(0,h)+d.newText+o.substring(m,o.length);else throw new Error("Overlapping edit");u=h}return o}e.applyEdits=i;function r(s,a){if(s.length<=1)return s;const o=s.length/2|0,l=s.slice(0,o),u=s.slice(o);r(l,a),r(u,a);let f=0,d=0,h=0;for(;f0&&t.push(n.length),this._lineOffsets=t}return this._lineOffsets}positionAt(t){t=Math.max(Math.min(t,this._content.length),0);let n=this.getLineOffsets(),i=0,r=n.length;if(r===0)return It.create(0,t);for(;it?r=a:i=a+1}let s=i-1;return It.create(s,t-n[s])}offsetAt(t){let n=this.getLineOffsets();if(t.line>=n.length)return this._content.length;if(t.line<0)return 0;let i=n[t.line],r=t.line+1"u"}e.undefined=i;function r(m){return m===!0||m===!1}e.boolean=r;function s(m){return t.call(m)==="[object String]"}e.string=s;function a(m){return t.call(m)==="[object Number]"}e.number=a;function o(m,p,b){return t.call(m)==="[object Number]"&&p<=m&&m<=b}e.numberRange=o;function l(m){return t.call(m)==="[object Number]"&&-2147483648<=m&&m<=2147483647}e.integer=l;function u(m){return t.call(m)==="[object Number]"&&0<=m&&m<=2147483647}e.uinteger=u;function f(m){return t.call(m)==="[object Function]"}e.func=f;function d(m){return m!==null&&typeof m=="object"}e.objectLiteral=d;function h(m,p){return Array.isArray(m)&&m.every(p)}e.typedArray=h})(E||(E={}));class Xs{constructor(t){this._start=0,this._pos=0,this.getStartOfToken=()=>this._start,this.getCurrentPosition=()=>this._pos,this.eol=()=>this._sourceText.length===this._pos,this.sol=()=>this._pos===0,this.peek=()=>this._sourceText.charAt(this._pos)||null,this.next=()=>{const n=this._sourceText.charAt(this._pos);return this._pos++,n},this.eat=n=>{if(this._testNextCharacter(n))return this._start=this._pos,this._pos++,this._sourceText.charAt(this._pos-1)},this.eatWhile=n=>{let i=this._testNextCharacter(n),r=!1;for(i&&(r=i,this._start=this._pos);i;)this._pos++,i=this._testNextCharacter(n),r=!0;return r},this.eatSpace=()=>this.eatWhile(/[\s\u00a0]/),this.skipToEnd=()=>{this._pos=this._sourceText.length},this.skipTo=n=>{this._pos=n},this.match=(n,i=!0,r=!1)=>{let s=null,a=null;return typeof n=="string"?(a=new RegExp(n,r?"i":"g").test(this._sourceText.slice(this._pos,this._pos+n.length)),s=n):n instanceof RegExp&&(a=this._sourceText.slice(this._pos).match(n),s=a==null?void 0:a[0]),a!=null&&(typeof n=="string"||a instanceof Array&&this._sourceText.startsWith(a[0],this._pos))?(i&&(this._start=this._pos,s&&s.length&&(this._pos+=s.length)),a):!1},this.backUp=n=>{this._pos-=n},this.column=()=>this._pos,this.indentation=()=>{const n=this._sourceText.match(/\s*/);let i=0;if(n&&n.length!==0){const r=n[0];let s=0;for(;r.length>s;)r.charCodeAt(s)===9?i+=2:i++,s++}return i},this.current=()=>this._sourceText.slice(this._start,this._pos),this._sourceText=t}_testNextCharacter(t){const n=this._sourceText.charAt(this._pos);let i=!1;return typeof t=="string"?i=n===t:i=t instanceof RegExp?t.test(n):t(n),i}}function De(e){return{ofRule:e}}function he(e,t){return{ofRule:e,isList:!0,separator:t}}function Xm(e,t){const n=e.match;return e.match=i=>{let r=!1;return n&&(r=n(i)),r&&t.every(s=>s.match&&!s.match(i))},e}function Yr(e,t){return{style:t,match:n=>n.kind===e}}function ne(e,t){return{style:t||"punctuation",match:n=>n.kind==="Punctuation"&&n.value===e}}const Jm=e=>e===" "||e===" "||e===","||e===` +`||e==="\r"||e==="\uFEFF"||e===" ",Zm={Name:/^[_A-Za-z][_0-9A-Za-z]*/,Punctuation:/^(?:!|\$|\(|\)|\.\.\.|:|=|&|@|\[|]|\{|\||\})/,Number:/^-?(?:0|(?:[1-9][0-9]*))(?:\.[0-9]*)?(?:[eE][+-]?[0-9]+)?/,String:/^(?:"""(?:\\"""|[^"]|"[^"]|""[^"])*(?:""")?|"(?:[^"\\]|\\(?:"|\/|\\|b|f|n|r|t|u[0-9a-fA-F]{4}))*"?)/,Comment:/^#.*/},Km={Document:[he("Definition")],Definition(e){switch(e.value){case"{":return"ShortQuery";case"query":return"Query";case"mutation":return"Mutation";case"subscription":return"Subscription";case"fragment":return g.FRAGMENT_DEFINITION;case"schema":return"SchemaDef";case"scalar":return"ScalarDef";case"type":return"ObjectTypeDef";case"interface":return"InterfaceDef";case"union":return"UnionDef";case"enum":return"EnumDef";case"input":return"InputDef";case"extend":return"ExtendDef";case"directive":return"DirectiveDef"}},ShortQuery:["SelectionSet"],Query:[Xe("query"),De(Ee("def")),De("VariableDefinitions"),he("Directive"),"SelectionSet"],Mutation:[Xe("mutation"),De(Ee("def")),De("VariableDefinitions"),he("Directive"),"SelectionSet"],Subscription:[Xe("subscription"),De(Ee("def")),De("VariableDefinitions"),he("Directive"),"SelectionSet"],VariableDefinitions:[ne("("),he("VariableDefinition"),ne(")")],VariableDefinition:["Variable",ne(":"),"Type",De("DefaultValue")],Variable:[ne("$","variable"),Ee("variable")],DefaultValue:[ne("="),"Value"],SelectionSet:[ne("{"),he("Selection"),ne("}")],Selection(e,t){return e.value==="..."?t.match(/[\s\u00a0,]*(on\b|@|{)/,!1)?"InlineFragment":"FragmentSpread":t.match(/[\s\u00a0,]*:/,!1)?"AliasedField":"Field"},AliasedField:[Ee("property"),ne(":"),Ee("qualifier"),De("Arguments"),he("Directive"),De("SelectionSet")],Field:[Ee("property"),De("Arguments"),he("Directive"),De("SelectionSet")],Arguments:[ne("("),he("Argument"),ne(")")],Argument:[Ee("attribute"),ne(":"),"Value"],FragmentSpread:[ne("..."),Ee("def"),he("Directive")],InlineFragment:[ne("..."),De("TypeCondition"),he("Directive"),"SelectionSet"],FragmentDefinition:[Xe("fragment"),De(Xm(Ee("def"),[Xe("on")])),"TypeCondition",he("Directive"),"SelectionSet"],TypeCondition:[Xe("on"),"NamedType"],Value(e){switch(e.kind){case"Number":return"NumberValue";case"String":return"StringValue";case"Punctuation":switch(e.value){case"[":return"ListValue";case"{":return"ObjectValue";case"$":return"Variable";case"&":return"NamedType"}return null;case"Name":switch(e.value){case"true":case"false":return"BooleanValue"}return e.value==="null"?"NullValue":"EnumValue"}},NumberValue:[Yr("Number","number")],StringValue:[{style:"string",match:e=>e.kind==="String",update(e,t){t.value.startsWith('"""')&&(e.inBlockstring=!t.value.slice(3).endsWith('"""'))}}],BooleanValue:[Yr("Name","builtin")],NullValue:[Yr("Name","keyword")],EnumValue:[Ee("string-2")],ListValue:[ne("["),he("Value"),ne("]")],ObjectValue:[ne("{"),he("ObjectField"),ne("}")],ObjectField:[Ee("attribute"),ne(":"),"Value"],Type(e){return e.value==="["?"ListType":"NonNullType"},ListType:[ne("["),"Type",ne("]"),De(ne("!"))],NonNullType:["NamedType",De(ne("!"))],NamedType:[ep("atom")],Directive:[ne("@","meta"),Ee("meta"),De("Arguments")],DirectiveDef:[Xe("directive"),ne("@","meta"),Ee("meta"),De("ArgumentsDef"),Xe("on"),he("DirectiveLocation",ne("|"))],InterfaceDef:[Xe("interface"),Ee("atom"),De("Implements"),he("Directive"),ne("{"),he("FieldDef"),ne("}")],Implements:[Xe("implements"),he("NamedType",ne("&"))],DirectiveLocation:[Ee("string-2")],SchemaDef:[Xe("schema"),he("Directive"),ne("{"),he("OperationTypeDef"),ne("}")],OperationTypeDef:[Ee("keyword"),ne(":"),Ee("atom")],ScalarDef:[Xe("scalar"),Ee("atom"),he("Directive")],ObjectTypeDef:[Xe("type"),Ee("atom"),De("Implements"),he("Directive"),ne("{"),he("FieldDef"),ne("}")],FieldDef:[Ee("property"),De("ArgumentsDef"),ne(":"),"Type",he("Directive")],ArgumentsDef:[ne("("),he("InputValueDef"),ne(")")],InputValueDef:[Ee("attribute"),ne(":"),"Type",De("DefaultValue"),he("Directive")],UnionDef:[Xe("union"),Ee("atom"),he("Directive"),ne("="),he("UnionMember",ne("|"))],UnionMember:["NamedType"],EnumDef:[Xe("enum"),Ee("atom"),he("Directive"),ne("{"),he("EnumValueDef"),ne("}")],EnumValueDef:[Ee("string-2"),he("Directive")],InputDef:[Xe("input"),Ee("atom"),he("Directive"),ne("{"),he("InputValueDef"),ne("}")],ExtendDef:[Xe("extend"),"ExtensionDefinition"],ExtensionDefinition(e){switch(e.value){case"schema":return g.SCHEMA_EXTENSION;case"scalar":return g.SCALAR_TYPE_EXTENSION;case"type":return g.OBJECT_TYPE_EXTENSION;case"interface":return g.INTERFACE_TYPE_EXTENSION;case"union":return g.UNION_TYPE_EXTENSION;case"enum":return g.ENUM_TYPE_EXTENSION;case"input":return g.INPUT_OBJECT_TYPE_EXTENSION}},[g.SCHEMA_EXTENSION]:["SchemaDef"],[g.SCALAR_TYPE_EXTENSION]:["ScalarDef"],[g.OBJECT_TYPE_EXTENSION]:["ObjectTypeDef"],[g.INTERFACE_TYPE_EXTENSION]:["InterfaceDef"],[g.UNION_TYPE_EXTENSION]:["UnionDef"],[g.ENUM_TYPE_EXTENSION]:["EnumDef"],[g.INPUT_OBJECT_TYPE_EXTENSION]:["InputDef"]};function Xe(e){return{style:"keyword",match:t=>t.kind==="Name"&&t.value===e}}function Ee(e){return{style:e,match:t=>t.kind==="Name",update(t,n){t.name=n.value}}}function ep(e){return{style:e,match:t=>t.kind==="Name",update(t,n){var i;!((i=t.prevState)===null||i===void 0)&&i.prevState&&(t.name=n.value,t.prevState.prevState.type=n.value)}}}function Sf(e={eatWhitespace:t=>t.eatWhile(Jm),lexRules:Zm,parseRules:Km,editorConfig:{}}){return{startState(){const t={level:0,step:0,name:null,kind:null,type:null,rule:null,needsSeparator:!1,prevState:null};return si(e.parseRules,t,g.DOCUMENT),t},token(t,n){return tp(t,n,e)}}}function tp(e,t,n){var i;if(t.inBlockstring)return e.match(/.*"""/)?(t.inBlockstring=!1,"string"):(e.skipToEnd(),"string");const{lexRules:r,parseRules:s,eatWhitespace:a,editorConfig:o}=n;if(t.rule&&t.rule.length===0?Na(t):t.needsAdvance&&(t.needsAdvance=!1,Js(t,!0)),e.sol()){const f=(o==null?void 0:o.tabSize)||2;t.indentLevel=Math.floor(e.indentation()/f)}if(a(e))return"ws";const l=ip(r,e);if(!l)return e.match(/\S+/)||e.match(/\s/),si(Qr,t,"Invalid"),"invalidchar";if(l.kind==="Comment")return si(Qr,t,"Comment"),"comment";const u=Mu({},t);if(l.kind==="Punctuation"){if(/^[{([]/.test(l.value))t.indentLevel!==void 0&&(t.levels=(t.levels||[]).concat(t.indentLevel+1));else if(/^[})\]]/.test(l.value)){const f=t.levels=(t.levels||[]).slice(0,-1);t.indentLevel&&f.length>0&&f.at(-1){let t=rn.UNKNOWN;if(e)try{on(xr(e),{enter(n){if(n.kind==="Document"){t=rn.EXECUTABLE;return}return rp.includes(n.kind)?(t=rn.TYPE_SYSTEM,Dn):!1}})}catch{return t}return t};function ap(e,t){return t!=null&&t.endsWith(".graphqls")?rn.TYPE_SYSTEM:sp(e)}function op(e,t,n=0){let i=null,r=null,s=null;const a=Ir(e,(o,l,u,f)=>{if(!(f!==t.line||o.getCurrentPosition()+n=0;r--)t(n[r])}function lp(e){let t;return wf(e,n=>{switch(n.kind){case"Query":case"ShortQuery":case"Mutation":case"Subscription":case"FragmentDefinition":t=n;break}}),t}function up(e,t){let n,i,r,s,a,o,l,u,f,d,h;return wf(t,m=>{var p;switch(m.kind){case M.QUERY:case"ShortQuery":d=e.getQueryType();break;case M.MUTATION:d=e.getMutationType();break;case M.SUBSCRIPTION:d=e.getSubscriptionType();break;case M.INLINE_FRAGMENT:case M.FRAGMENT_DEFINITION:m.type&&(d=e.getType(m.type));break;case M.FIELD:case M.ALIASED_FIELD:{!d||!m.name?a=null:(a=f?Vu(e,f,m.name):null,d=a?a.type:null);break}case M.SELECTION_SET:f=Oe(d);break;case M.DIRECTIVE:r=m.name?e.getDirective(m.name):null;break;case M.INTERFACE_DEF:m.name&&(l=null,h=new nn({name:m.name,interfaces:[],fields:{}}));break;case M.OBJECT_TYPE_DEF:m.name&&(h=null,l=new Nt({name:m.name,interfaces:[],fields:{}}));break;case M.ARGUMENTS:{if(m.prevState)switch(m.prevState.kind){case M.FIELD:i=a&&a.args;break;case M.DIRECTIVE:i=r&&r.args;break;case M.ALIASED_FIELD:{const S=(p=m.prevState)===null||p===void 0?void 0:p.name;if(!S){i=null;break}const w=f?Vu(e,f,S):null;if(!w){i=null;break}i=w.args;break}default:i=null;break}else i=null;break}case M.ARGUMENT:if(i){for(let S=0;SS.value===m.name):null;break;case M.LIST_VALUE:const T=da(o);o=T instanceof Ze?T.ofType:null;break;case M.OBJECT_VALUE:const _=Oe(o);u=_ instanceof vi?_.getFields():null;break;case M.OBJECT_FIELD:const I=m.name&&u?u[m.name]:null;o=I==null?void 0:I.type,a=I,d=a?a.type:null;break;case M.NAMED_TYPE:m.name&&(d=e.getType(m.name));break}}),{argDef:n,argDefs:i,directiveDef:r,enumValue:s,fieldDef:a,inputType:o,objectFieldDefs:u,parentType:f,type:d,interfaceDef:h,objectTypeDef:l}}const cp={ALIASED_FIELD:"AliasedField",ARGUMENTS:"Arguments",SHORT_QUERY:"ShortQuery",QUERY:"Query",MUTATION:"Mutation",SUBSCRIPTION:"Subscription",TYPE_CONDITION:"TypeCondition",INVALID:"Invalid",COMMENT:"Comment",SCHEMA_DEF:"SchemaDef",SCALAR_DEF:"ScalarDef",OBJECT_TYPE_DEF:"ObjectTypeDef",OBJECT_VALUE:"ObjectValue",LIST_VALUE:"ListValue",INTERFACE_DEF:"InterfaceDef",UNION_DEF:"UnionDef",ENUM_DEF:"EnumDef",ENUM_VALUE:"EnumValue",FIELD_DEF:"FieldDef",INPUT_DEF:"InputDef",INPUT_VALUE_DEF:"InputValueDef",ARGUMENTS_DEF:"ArgumentsDef",EXTEND_DEF:"ExtendDef",EXTENSION_DEFINITION:"ExtensionDefinition",DIRECTIVE_DEF:"DirectiveDef",IMPLEMENTS:"Implements",VARIABLE_DEFINITIONS:"VariableDefinitions",TYPE:"Type",VARIABLE:"Variable"},M=Object.assign(Object.assign({},g),cp);var le;(function(e){e.Text=1,e.Method=2,e.Function=3,e.Constructor=4,e.Field=5,e.Variable=6,e.Class=7,e.Interface=8,e.Module=9,e.Property=10,e.Unit=11,e.Value=12,e.Enum=13,e.Keyword=14,e.Snippet=15,e.Color=16,e.File=17,e.Reference=18,e.Folder=19,e.EnumMember=20,e.Constant=21,e.Struct=22,e.Event=23,e.Operator=24,e.TypeParameter=25})(le||(le={}));const Zs={command:"editor.action.triggerSuggest",title:"Suggestions"},fp=e=>{const t=[];if(e)try{on(xr(e),{FragmentDefinition(n){t.push(n)}})}catch{return[]}return t};function dp(e,t,n,i,r,s){var a;const o=Object.assign(Object.assign({},s),{schema:e}),l=xf(t,n,e,i,s);if(!l)return[];const{state:u,typeInfo:f,mode:d,token:h}=l,{kind:m,step:p,prevState:b}=u;if(m===M.DOCUMENT)return d===rn.TYPE_SYSTEM?hp(h):d===rn.EXECUTABLE?mp(h):pp(h);if(m===M.EXTEND_DEF)return gp(h);if(((a=b==null?void 0:b.prevState)===null||a===void 0?void 0:a.kind)===M.EXTENSION_DEFINITION&&u.name)return Le(h,[]);if((b==null?void 0:b.kind)===g.SCALAR_TYPE_EXTENSION)return Le(h,Object.values(e.getTypeMap()).filter(_t).map(_=>({label:_.name,kind:le.Function})));if((b==null?void 0:b.kind)===g.OBJECT_TYPE_EXTENSION)return Le(h,Object.values(e.getTypeMap()).filter(_=>_e(_)&&!_.name.startsWith("__")).map(_=>({label:_.name,kind:le.Function})));if((b==null?void 0:b.kind)===g.INTERFACE_TYPE_EXTENSION)return Le(h,Object.values(e.getTypeMap()).filter(Te).map(_=>({label:_.name,kind:le.Function})));if((b==null?void 0:b.kind)===g.UNION_TYPE_EXTENSION)return Le(h,Object.values(e.getTypeMap()).filter(mt).map(_=>({label:_.name,kind:le.Function})));if((b==null?void 0:b.kind)===g.ENUM_TYPE_EXTENSION)return Le(h,Object.values(e.getTypeMap()).filter(_=>lt(_)&&!_.name.startsWith("__")).map(_=>({label:_.name,kind:le.Function})));if((b==null?void 0:b.kind)===g.INPUT_OBJECT_TYPE_EXTENSION)return Le(h,Object.values(e.getTypeMap()).filter(Me).map(_=>({label:_.name,kind:le.Function})));if(m===M.IMPLEMENTS||m===M.NAMED_TYPE&&(b==null?void 0:b.kind)===M.IMPLEMENTS)return vp(h,u,e,t,f);if(m===M.SELECTION_SET||m===M.FIELD||m===M.ALIASED_FIELD)return bp(h,f,o);if(m===M.ARGUMENTS||m===M.ARGUMENT&&p===0){const{argDefs:_}=f;if(_)return Le(h,_.map(I=>{var S;return{label:I.name,insertText:Ml(I.name+": ",I.type),insertTextMode:hn.adjustIndentation,insertTextFormat:jn.Snippet,command:Zs,labelDetails:{detail:" "+String(I.type)},documentation:(S=I.description)!==null&&S!==void 0?S:void 0,kind:le.Variable,type:I.type}}))}if((m===M.OBJECT_VALUE||m===M.OBJECT_FIELD&&p===0)&&f.objectFieldDefs){const _=yn(f.objectFieldDefs),I=m===M.OBJECT_VALUE?le.Value:le.Field;return Le(h,_.map(S=>{var w;return{label:S.name,detail:String(S.type),documentation:(w=S==null?void 0:S.description)!==null&&w!==void 0?w:void 0,kind:I,type:S.type,insertText:Ml(S.name+": ",S.type),insertTextMode:hn.adjustIndentation,insertTextFormat:jn.Snippet,command:Zs}}))}if(m===M.ENUM_VALUE||m===M.LIST_VALUE&&p===1||m===M.OBJECT_FIELD&&p===2||m===M.ARGUMENT&&p===2)return yp(h,f,t,e);if(m===M.VARIABLE&&p===1){const _=Oe(f.inputType),I=Af(t,e,h);return Le(h,I.filter(S=>S.detail===(_==null?void 0:_.name)))}if(m===M.TYPE_CONDITION&&p===1||m===M.NAMED_TYPE&&b!=null&&b.kind===M.TYPE_CONDITION)return _p(h,f,e);if(m===M.FRAGMENT_SPREAD&&p===1)return Np(h,f,e,t,Array.isArray(r)?r:fp(r));const T=If(u);return T.kind===M.FIELD_DEF?Le(h,Object.values(e.getTypeMap()).filter(_=>mn(_)&&!_.name.startsWith("__")).map(_=>({label:_.name,kind:le.Function,insertText:s!=null&&s.fillLeafsOnComplete?_.name+` +`:_.name,insertTextMode:hn.adjustIndentation}))):T.kind===M.INPUT_VALUE_DEF&&p===2?Le(h,Object.values(e.getTypeMap()).filter(_=>dt(_)&&!_.name.startsWith("__")).map(_=>({label:_.name,kind:le.Function,insertText:s!=null&&s.fillLeafsOnComplete?_.name+` +$1`:_.name,insertTextMode:hn.adjustIndentation,insertTextFormat:jn.Snippet}))):m===M.VARIABLE_DEFINITION&&p===2||m===M.LIST_TYPE&&p===1||m===M.NAMED_TYPE&&b&&(b.kind===M.VARIABLE_DEFINITION||b.kind===M.LIST_TYPE||b.kind===M.NON_NULL_TYPE)?Sp(h,e):m===M.DIRECTIVE?xp(h,u,e):m===M.DIRECTIVE_DEF?wp(h,u,e):[]}const Ea=[{label:"type",kind:le.Function},{label:"interface",kind:le.Function},{label:"union",kind:le.Function},{label:"input",kind:le.Function},{label:"scalar",kind:le.Function},{label:"schema",kind:le.Function}],Lf=[{label:"query",kind:le.Function},{label:"mutation",kind:le.Function},{label:"subscription",kind:le.Function},{label:"fragment",kind:le.Function},{label:"{",kind:le.Constructor}];function hp(e){return Le(e,[{label:"extend",kind:le.Function},...Ea])}function mp(e){return Le(e,Lf)}function pp(e){return Le(e,[{label:"extend",kind:le.Function},...Lf,...Ea])}function gp(e){return Le(e,Ea)}function bp(e,t,n){var i;if(t.parentType){const{parentType:r}=t;let s=[];return"getFields"in r&&(s=yn(r.getFields())),pt(r)&&s.push(Ei),r===((i=n==null?void 0:n.schema)===null||i===void 0?void 0:i.getQueryType())&&s.push(_i,Ni),Le(e,s.map((a,o)=>{var l;const u={sortText:String(o)+a.name,label:a.name,detail:String(a.type),documentation:(l=a.description)!==null&&l!==void 0?l:void 0,deprecated:!!a.deprecationReason,isDeprecated:!!a.deprecationReason,deprecationReason:a.deprecationReason,kind:le.Field,labelDetails:{detail:" "+a.type.toString()},type:a.type};return n!=null&&n.fillLeafsOnComplete&&(u.insertText=Ym(a),u.insertText||(u.insertText=lr(a.name,a.type,a.name+(e.state.needsAdvance?"":` +`))),u.insertText&&(u.insertTextFormat=jn.Snippet,u.insertTextMode=hn.adjustIndentation,u.command=Zs)),u}))}return[]}function yp(e,t,n,i){const r=Oe(t.inputType),s=Af(n,i,e).filter(a=>a.detail===(r==null?void 0:r.name));if(r instanceof an){const a=r.getValues();return Le(e,a.map(o=>{var l;return{label:o.name,detail:String(r),documentation:(l=o.description)!==null&&l!==void 0?l:void 0,deprecated:!!o.deprecationReason,isDeprecated:!!o.deprecationReason,deprecationReason:o.deprecationReason,kind:le.EnumMember,type:r}}).concat(s))}return r===ze?Le(e,s.concat([{label:"true",detail:String(ze),documentation:"Not false.",kind:le.Variable,type:ze},{label:"false",detail:String(ze),documentation:"Not true.",kind:le.Variable,type:ze}])):s}function vp(e,t,n,i,r){if(t.needsSeparator)return[];const s=n.getTypeMap(),a=yn(s).filter(Te),o=a.map(({name:m})=>m),l=new Set;Ir(i,(m,p)=>{var b,T,_,I,S;if(p.name&&(p.kind===M.INTERFACE_DEF&&!o.includes(p.name)&&l.add(p.name),p.kind===M.NAMED_TYPE&&((b=p.prevState)===null||b===void 0?void 0:b.kind)===M.IMPLEMENTS)){if(r.interfaceDef){if((T=r.interfaceDef)===null||T===void 0?void 0:T.getInterfaces().find(({name:O})=>O===p.name))return;const x=n.getType(p.name),C=(_=r.interfaceDef)===null||_===void 0?void 0:_.toConfig();r.interfaceDef=new nn(Object.assign(Object.assign({},C),{interfaces:[...C.interfaces,x||new nn({name:p.name,fields:{}})]}))}else if(r.objectTypeDef){if((I=r.objectTypeDef)===null||I===void 0?void 0:I.getInterfaces().find(({name:O})=>O===p.name))return;const x=n.getType(p.name),C=(S=r.objectTypeDef)===null||S===void 0?void 0:S.toConfig();r.objectTypeDef=new Nt(Object.assign(Object.assign({},C),{interfaces:[...C.interfaces,x||new nn({name:p.name,fields:{}})]}))}}});const u=r.interfaceDef||r.objectTypeDef,d=((u==null?void 0:u.getInterfaces())||[]).map(({name:m})=>m),h=a.concat([...l].map(m=>({name:m}))).filter(({name:m})=>m!==(u==null?void 0:u.name)&&!d.includes(m));return Le(e,h.map(m=>{const p={label:m.name,kind:le.Interface,type:m};return m!=null&&m.description&&(p.documentation=m.description),p}))}function _p(e,t,n,i){let r;if(t.parentType)if(Mt(t.parentType)){const s=l0(t.parentType),a=n.getPossibleTypes(s),o=Object.create(null);for(const l of a)for(const u of l.getInterfaces())o[u.name]=u;r=a.concat(yn(o))}else r=[t.parentType];else{const s=n.getTypeMap();r=yn(s).filter(a=>pt(a)&&!a.name.startsWith("__"))}return Le(e,r.map(s=>{const a=Oe(s);return{label:String(s),documentation:(a==null?void 0:a.description)||"",kind:le.Field}}))}function Np(e,t,n,i,r){if(!i)return[];const s=n.getTypeMap(),a=lp(e.state),o=Tp(i);r&&r.length>0&&o.push(...r);const l=o.filter(u=>s[u.typeCondition.name.value]&&!(a&&a.kind===M.FRAGMENT_DEFINITION&&a.name===u.name.value)&&pt(t.parentType)&&pt(s[u.typeCondition.name.value])&&ks(n,t.parentType,s[u.typeCondition.name.value]));return Le(e,l.map(u=>({label:u.name.value,detail:String(s[u.typeCondition.name.value]),documentation:`fragment ${u.name.value} on ${u.typeCondition.name.value}`,labelDetails:{detail:`fragment ${u.name.value} on ${u.typeCondition.name.value}`},kind:le.Field,type:s[u.typeCondition.name.value]})))}const Ep=(e,t)=>{var n,i,r,s,a,o,l,u,f,d;if(((n=e.prevState)===null||n===void 0?void 0:n.kind)===t)return e.prevState;if(((r=(i=e.prevState)===null||i===void 0?void 0:i.prevState)===null||r===void 0?void 0:r.kind)===t)return e.prevState.prevState;if(((o=(a=(s=e.prevState)===null||s===void 0?void 0:s.prevState)===null||a===void 0?void 0:a.prevState)===null||o===void 0?void 0:o.kind)===t)return e.prevState.prevState.prevState;if(((d=(f=(u=(l=e.prevState)===null||l===void 0?void 0:l.prevState)===null||u===void 0?void 0:u.prevState)===null||f===void 0?void 0:f.prevState)===null||d===void 0?void 0:d.kind)===t)return e.prevState.prevState.prevState.prevState};function Af(e,t,n){let i=null,r;const s=Object.create({});return Ir(e,(a,o)=>{var l;if((o==null?void 0:o.kind)===M.VARIABLE&&o.name&&(i=o.name),(o==null?void 0:o.kind)===M.NAMED_TYPE&&i){const u=Ep(o,M.TYPE);u!=null&&u.type&&(r=t.getType(u==null?void 0:u.type))}if(i&&r&&!s[i]){const u=n.string==="$"||((l=n==null?void 0:n.state)===null||l===void 0?void 0:l.kind)==="Variable"?i:"$"+i;s[i]={detail:r.toString(),insertText:u,label:"$"+i,rawInsert:u,type:r,kind:le.Variable},i=null,r=null}}),yn(s)}function Tp(e){const t=[];return Ir(e,(n,i)=>{i.kind===M.FRAGMENT_DEFINITION&&i.name&&i.type&&t.push({kind:M.FRAGMENT_DEFINITION,name:{kind:g.NAME,value:i.name},selectionSet:{kind:M.SELECTION_SET,selections:[]},typeCondition:{kind:M.NAMED_TYPE,name:{kind:g.NAME,value:i.type}}})}),t}function Sp(e,t,n){const i=t.getTypeMap(),r=yn(i).filter(dt);return Le(e,r.map(s=>({label:s.name,documentation:(s==null?void 0:s.description)||"",kind:le.Variable})))}function xp(e,t,n,i){var r;if(!((r=t.prevState)===null||r===void 0)&&r.kind){const s=n.getDirectives().filter(a=>Lp(t.prevState,a));return Le(e,s.map(a=>({label:a.name,documentation:(a==null?void 0:a.description)||"",kind:le.Function})))}return[]}function wp(e,t,n,i){const r=n.getDirectives().find(s=>s.name===t.name);return Le(e,(r==null?void 0:r.args.map(s=>({label:s.name,documentation:s.description||"",kind:le.Field})))||[])}function Lp(e,t){if(!(e!=null&&e.kind))return!1;const{kind:n,prevState:i}=e,{locations:r}=t;switch(n){case M.QUERY:return r.includes(W.QUERY);case M.MUTATION:return r.includes(W.MUTATION);case M.SUBSCRIPTION:return r.includes(W.SUBSCRIPTION);case M.FIELD:case M.ALIASED_FIELD:return r.includes(W.FIELD);case M.FRAGMENT_DEFINITION:return r.includes(W.FRAGMENT_DEFINITION);case M.FRAGMENT_SPREAD:return r.includes(W.FRAGMENT_SPREAD);case M.INLINE_FRAGMENT:return r.includes(W.INLINE_FRAGMENT);case M.SCHEMA_DEF:return r.includes(W.SCHEMA);case M.SCALAR_DEF:return r.includes(W.SCALAR);case M.OBJECT_TYPE_DEF:return r.includes(W.OBJECT);case M.FIELD_DEF:return r.includes(W.FIELD_DEFINITION);case M.INTERFACE_DEF:return r.includes(W.INTERFACE);case M.UNION_DEF:return r.includes(W.UNION);case M.ENUM_DEF:return r.includes(W.ENUM);case M.ENUM_VALUE:return r.includes(W.ENUM_VALUE);case M.INPUT_DEF:return r.includes(W.INPUT_OBJECT);case M.INPUT_VALUE_DEF:switch(i==null?void 0:i.kind){case M.ARGUMENTS_DEF:return r.includes(W.ARGUMENT_DEFINITION);case M.INPUT_DEF:return r.includes(W.INPUT_FIELD_DEFINITION)}}return!1}function If(e){return e.prevState&&e.kind&&[M.NAMED_TYPE,M.LIST_TYPE,M.TYPE,M.NON_NULL_TYPE].includes(e.kind)?If(e.prevState):e}function Ap(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var ni={exports:{}},$u;function Ip(){if($u)return ni.exports;$u=1;function e(t,n){if(t!=null)return t;var i=new Error(n!==void 0?n:"Got unexpected "+t);throw i.framesToPop=1,i}return ni.exports=e,ni.exports.default=e,Object.defineProperty(ni.exports,"__esModule",{value:!0}),ni.exports}Ip();function at(e,t){e.push(t)}function Ks(e,t){ge(t)?(Ks(e,t.ofType),at(e,"!")):Ue(t)?(at(e,"["),Ks(e,t.ofType),at(e,"]")):at(e,t.name)}function Fi(e,t,n){const i=[],r="type"in e?e.type:e;return"type"in e&&e.description&&(at(i,e.description),at(i,` + +`)),at(i,Rp(r,t)),n?(at(i,` +`),at(i,n)):!_t(r)&&"description"in r&&r.description?(at(i,` +`),at(i,r.description)):"ofType"in r&&!_t(r.ofType)&&"description"in r.ofType&&r.ofType.description&&(at(i,` +`),at(i,r.ofType.description)),i.join("")}function Rp(e,t){const n=[];return t&&at(n,"```graphql\n"),Ks(n,e),t&&at(n,"\n```"),n.join("")}const Cp={Int:{type:"integer"},String:{type:"string"},Float:{type:"number"},ID:{type:"string"},Boolean:{type:"boolean"},DateTime:{type:"string"}};class Dp{constructor(){this.set=new Set}mark(t){return this.set.has(t)?!1:(this.set.add(t),!0)}}function ea(e,t){var n,i;let r=Object.create(null);const s=Object.create(null),o="type"in e?e.type:e,l=ge(o)?o.ofType:o,u=ge(o);if(_t(l))!((n=t==null?void 0:t.scalarSchemas)===null||n===void 0)&&n[l.name]?r=JSON.parse(JSON.stringify(t.scalarSchemas[l.name])):r.type=["string","number","boolean","integer"],u||(Array.isArray(r.type)?r.type.push("null"):r.type?r.type=[r.type,"null"]:r.enum?r.enum.push(null):r.oneOf?r.oneOf.push({type:"null"}):r={oneOf:[r,{type:"null"}]});else if(lt(l))r.enum=l.getValues().map(d=>d.name),u||r.enum.push(null);else if(Ue(l)){u?r.type="array":r.type=["array","null"];const{definition:d,definitions:h}=ea(l.ofType,t);if(r.items=d,h)for(const m of Object.keys(h))s[m]=h[m]}else if(Me(l)&&(u?r.$ref=`#/definitions/${l.name}`:r.oneOf=[{$ref:`#/definitions/${l.name}`},{type:"null"}],!((i=t==null?void 0:t.definitionMarker)===null||i===void 0)&&i.mark(l.name))){const d=l.getFields(),h={type:"object",properties:{},required:[]};h.description=Fi(l),t!=null&&t.useMarkdownDescription&&(h.markdownDescription=Fi(l,!0));for(const m of Object.keys(d)){const p=d[m],{required:b,definition:T,definitions:_}=ea(p,t);if(h.properties[m]=T,b&&h.required.push(m),_)for(const[I,S]of Object.entries(_))s[I]=S}s[l.name]=h}"defaultValue"in e&&e.defaultValue!==void 0&&(r.default=e.defaultValue);const{description:f}=r;return r.description=Fi(e,!1,f),t!=null&&t.useMarkdownDescription&&(r.markdownDescription=Fi(e,!0,f)),{required:u,definition:r,definitions:s}}function kp(e,t){var n;const i={$schema:"http://json-schema.org/draft-04/schema",type:"object",properties:{},required:[],additionalProperties:!1},r=Object.assign(Object.assign({},t),{definitionMarker:new Dp,scalarSchemas:Object.assign(Object.assign({},Cp),t==null?void 0:t.scalarSchemas)});if(e)for(const[s,a]of Object.entries(e)){const{definition:o,required:l,definitions:u}=ea(a,r);i.properties[s]=o,l&&((n=i.required)===null||n===void 0||n.push(s)),u&&(i.definitions=Object.assign(Object.assign({},i==null?void 0:i.definitions),u))}return i}class Rf{constructor(t,n){this.containsPosition=i=>this.start.line===i.line?this.start.character<=i.character:this.end.line===i.line?this.end.character>=i.character:this.start.line<=i.line&&this.end.line>=i.line,this.start=t,this.end=n}setStart(t,n){this.start=new vn(t,n)}setEnd(t,n){this.end=new vn(t,n)}}class vn{constructor(t,n){this.lessThanOrEqualTo=i=>this.line!(o===ff||o===of));return n&&Array.prototype.push.apply(s,n),Ef(e,t,s).filter(o=>{if(o.message.includes("Unknown directive")&&o.nodes){const l=o.nodes[0];if(l&&l.kind===g.DIRECTIVE){const u=l.name.value;if(u==="arguments"||u==="argumentDefinitions")return!1}}return!0})}function Fp(e,t){const n=Object.create(null);for(const i of t.definitions)if(i.kind==="OperationDefinition"){const{variableDefinitions:r}=i;if(r)for(const{variable:s,type:a}of r){const o=gt(e,a);o?n[s.name.value]=o:a.kind===g.NAMED_TYPE&&a.name.value==="Float"&&(n[s.name.value]=Gc)}}return n}function Mp(e,t){const n=t?Fp(t,e):void 0,i=[];return on(e,{OperationDefinition(r){i.push(r)}}),{variableToType:n,operations:i}}const Uu={Error:"Error",Warning:"Warning"},ta={[Uu.Error]:1,[Uu.Warning]:2},mr=(e,t)=>{if(!e)throw new Error(t)};function Pp(e,t=null,n,i,r){var s,a;let o=null,l="";r&&(l=typeof r=="string"?r:r.reduce((f,d)=>f+He(d)+` + +`,""));const u=l?`${e} + +${l}`:e;try{o=xr(u)}catch(f){if(f instanceof D){const d=Cf((a=(s=f.locations)===null||s===void 0?void 0:s[0])!==null&&a!==void 0?a:{line:0},u);return[{severity:ta.Error,message:f.message,source:"GraphQL: Syntax",range:d}]}throw f}return Vp(o,t,n)}function Vp(e,t=null,n,i){if(!t)return[];const r=Op(t,e,n).flatMap(a=>Bu(a,ta.Error,"Validation")),s=Ef(t,e,[Bm]).flatMap(a=>Bu(a,ta.Warning,"Deprecation"));return r.concat(s)}function Bu(e,t,n){if(!e.nodes)return[];const i=[];for(const[r,s]of e.nodes.entries()){const a=s.kind!=="Variable"&&"name"in s&&s.name!==void 0?s.name:"variable"in s&&s.variable!==void 0?s.variable:s;if(a){mr(e.locations,"GraphQL validation error requires locations.");const o=e.locations[r],l=$p(a),u=o.column+(l.end-l.start);i.push({source:`GraphQL: ${n}`,message:e.message,severity:t,range:new Rf(new vn(o.line-1,o.column-1),new vn(o.line-1,u))})}}return i}function Cf(e,t){const n=Sf(),i=n.startState(),r=t.split(` +`);mr(r.length>=e.line,"Query text must have more lines than where the error happened");let s=null;for(let u=0;u?@[\\]^_`{|}~",space:" \\t\\r\\n\\v\\f",upper:"A-Z",word:"A-Za-z0-9_",xdigit:"A-Fa-f0-9"};return Jr={MAX_LENGTH:1024*64,POSIX_REGEX_SOURCE:w,REGEX_BACKSLASH:/\\(?![*+?^${}(|)[\]])/g,REGEX_NON_SPECIAL_CHARS:/^[^@![\].,$*+?^{}()|\\/]+/,REGEX_SPECIAL_CHARS:/[-*+?.^${}(|)[\]]/,REGEX_SPECIAL_CHARS_BACKREF:/(\\?)((\W)(\3*))/g,REGEX_SPECIAL_CHARS_GLOBAL:/([-*+?.^${}(|)[\]])/g,REGEX_REMOVE_BACKSLASH:/(?:\[.*?[^\\]\]|\\(?=.))/g,REPLACEMENTS:{"***":"*","**/**":"**","**/**/**":"**"},CHAR_0:48,CHAR_9:57,CHAR_UPPERCASE_A:65,CHAR_LOWERCASE_A:97,CHAR_UPPERCASE_Z:90,CHAR_LOWERCASE_Z:122,CHAR_LEFT_PARENTHESES:40,CHAR_RIGHT_PARENTHESES:41,CHAR_ASTERISK:42,CHAR_AMPERSAND:38,CHAR_AT:64,CHAR_BACKWARD_SLASH:92,CHAR_CARRIAGE_RETURN:13,CHAR_CIRCUMFLEX_ACCENT:94,CHAR_COLON:58,CHAR_COMMA:44,CHAR_DOT:46,CHAR_DOUBLE_QUOTE:34,CHAR_EQUAL:61,CHAR_EXCLAMATION_MARK:33,CHAR_FORM_FEED:12,CHAR_FORWARD_SLASH:47,CHAR_GRAVE_ACCENT:96,CHAR_HASH:35,CHAR_HYPHEN_MINUS:45,CHAR_LEFT_ANGLE_BRACKET:60,CHAR_LEFT_CURLY_BRACE:123,CHAR_LEFT_SQUARE_BRACKET:91,CHAR_LINE_FEED:10,CHAR_NO_BREAK_SPACE:160,CHAR_PERCENT:37,CHAR_PLUS:43,CHAR_QUESTION_MARK:63,CHAR_RIGHT_ANGLE_BRACKET:62,CHAR_RIGHT_CURLY_BRACE:125,CHAR_RIGHT_SQUARE_BRACKET:93,CHAR_SEMICOLON:59,CHAR_SINGLE_QUOTE:39,CHAR_SPACE:32,CHAR_TAB:9,CHAR_UNDERSCORE:95,CHAR_VERTICAL_LINE:124,CHAR_ZERO_WIDTH_NOBREAK_SPACE:65279,extglobChars(x){return{"!":{type:"negate",open:"(?:(?!(?:",close:`))${x.STAR})`},"?":{type:"qmark",open:"(?:",close:")?"},"+":{type:"plus",open:"(?:",close:")+"},"*":{type:"star",open:"(?:",close:")*"},"@":{type:"at",open:"(?:",close:")"}}},globChars(x){return x===!0?S:I}},Jr}var qu;function Ta(){return qu||(qu=1,(function(e){const{REGEX_BACKSLASH:t,REGEX_REMOVE_BACKSLASH:n,REGEX_SPECIAL_CHARS:i,REGEX_SPECIAL_CHARS_GLOBAL:r}=Rr();e.isObject=s=>s!==null&&typeof s=="object"&&!Array.isArray(s),e.hasRegexChars=s=>i.test(s),e.isRegexChar=s=>s.length===1&&e.hasRegexChars(s),e.escapeRegex=s=>s.replace(r,"\\$1"),e.toPosixSlashes=s=>s.replace(t,"/"),e.removeBackslashes=s=>s.replace(n,a=>a==="\\"?"":a),e.supportsLookbehinds=()=>{const s=process.version.slice(1).split(".").map(Number);return s.length===3&&s[0]>=9||s[0]===8&&s[1]>=10},e.escapeLast=(s,a,o)=>{const l=s.lastIndexOf(a,o);return l===-1?s:s[l-1]==="\\"?e.escapeLast(s,a,l-1):`${s.slice(0,l)}\\${s.slice(l)}`},e.removePrefix=(s,a={})=>{let o=s;return o.startsWith("./")&&(o=o.slice(2),a.prefix="./"),o},e.wrapOutput=(s,a={},o={})=>{const l=o.contains?"":"^",u=o.contains?"":"$";let f=`${l}(?:${s})${u}`;return a.negated===!0&&(f=`(?:^(?!${f}).*$)`),f},e.basename=(s,{windows:a}={})=>a?s.replace(/[\\/]$/,"").replace(/.*[\\/]/,""):s.replace(/\/$/,"").replace(/.*\//,"")})(Xr)),Xr}var Zr,Hu;function Gp(){if(Hu)return Zr;Hu=1;const e=Ta(),{CHAR_ASTERISK:t,CHAR_AT:n,CHAR_BACKWARD_SLASH:i,CHAR_COMMA:r,CHAR_DOT:s,CHAR_EXCLAMATION_MARK:a,CHAR_FORWARD_SLASH:o,CHAR_LEFT_CURLY_BRACE:l,CHAR_LEFT_PARENTHESES:u,CHAR_LEFT_SQUARE_BRACKET:f,CHAR_PLUS:d,CHAR_QUESTION_MARK:h,CHAR_RIGHT_CURLY_BRACE:m,CHAR_RIGHT_PARENTHESES:p,CHAR_RIGHT_SQUARE_BRACKET:b}=Rr(),T=S=>S===o||S===i,_=S=>{S.isPrefix!==!0&&(S.depth=S.isGlobstar?1/0:1)};return Zr=(S,w)=>{const x=w||{},C=S.length-1,O=x.parts===!0||x.scanToEnd===!0,j=[],N=[],G=[];let Q=S,B=-1,F=0,k=0,H=!1,$=!1,U=!1,K=!1,ee=!1,A=!1,oe=!1,L=!1,V=!1,y=0,v,z,X={value:"",depth:0,isGlob:!1};const se=()=>B>=C,tt=()=>Q.charCodeAt(B+1),Se=()=>(v=z,Q.charCodeAt(++B));for(;B0&&(Ye=Q.slice(0,F),Q=Q.slice(F),k-=F),xe&&U===!0&&k>0?(xe=Q.slice(0,k),Tt=Q.slice(k)):U===!0?(xe="",Tt=Q):xe=Q,xe&&xe!==""&&xe!=="/"&&xe!==Q&&T(xe.charCodeAt(xe.length-1))&&(xe=xe.slice(0,-1)),x.unescape===!0&&(Tt&&(Tt=e.removeBackslashes(Tt)),xe&&oe===!0&&(xe=e.removeBackslashes(xe)));const nt={prefix:Ye,input:S,start:F,base:xe,glob:Tt,isBrace:H,isBracket:$,isGlob:U,isExtglob:K,isGlobstar:ee,negated:L};if(x.tokens===!0&&(nt.maxDepth=0,T(z)||N.push(X),nt.tokens=N),x.parts===!0||x.tokens===!0){let te;for(let Be=0;Be{if(typeof d.expandRange=="function")return d.expandRange(...f,d);f.sort();const h=`[${f.join("-")}]`;try{new RegExp(h)}catch{return f.map(p=>t.escapeRegex(p)).join("..")}return h},l=(f,d)=>`Missing ${f}: "${d}" - use "\\\\${d}" to match literal characters`,u=(f,d)=>{if(typeof f!="string")throw new TypeError("Expected a string");f=a[f]||f;const h={...d},m=typeof h.maxLength=="number"?Math.min(n,h.maxLength):n;let p=f.length;if(p>m)throw new SyntaxError(`Input length: ${p}, exceeds maximum allowed length: ${m}`);const b={type:"bos",value:"",output:h.prepend||""},T=[b],_=h.capture?"":"?:",I=e.globChars(h.windows),S=e.extglobChars(I),{DOT_LITERAL:w,PLUS_LITERAL:x,SLASH_LITERAL:C,ONE_CHAR:O,DOTS_SLASH:j,NO_DOT:N,NO_DOT_SLASH:G,NO_DOTS_SLASH:Q,QMARK:B,QMARK_NO_DOT:F,STAR:k,START_ANCHOR:H}=I,$=Y=>`(${_}(?:(?!${H}${Y.dot?j:w}).)*?)`,U=h.dot?"":N,K=h.dot?B:F;let ee=h.bash===!0?$(h):k;h.capture&&(ee=`(${ee})`),typeof h.noext=="boolean"&&(h.noextglob=h.noext);const A={input:f,index:-1,start:0,dot:h.dot===!0,consumed:"",output:"",prefix:"",backtrack:!1,negated:!1,brackets:0,braces:0,parens:0,quotes:0,globstar:!1,tokens:T};f=t.removePrefix(f,A),p=f.length;const oe=[],L=[],V=[];let y=b,v;const z=()=>A.index===p-1,X=A.peek=(Y=1)=>f[A.index+Y],se=A.advance=()=>f[++A.index],tt=()=>f.slice(A.index+1),Se=(Y="",be=0)=>{A.consumed+=Y,A.index+=be},xe=Y=>{A.output+=Y.output!=null?Y.output:Y.value,Se(Y.value)},Ye=()=>{let Y=1;for(;X()==="!"&&(X(2)!=="("||X(3)==="?");)se(),A.start++,Y++;return Y%2===0?!1:(A.negated=!0,A.start++,!0)},Tt=Y=>{A[Y]++,V.push(Y)},nt=Y=>{A[Y]--,V.pop()},te=Y=>{if(y.type==="globstar"){const be=A.braces>0&&(Y.type==="comma"||Y.type==="brace"),q=Y.extglob===!0||oe.length&&(Y.type==="pipe"||Y.type==="paren");Y.type!=="slash"&&Y.type!=="paren"&&!be&&!q&&(A.output=A.output.slice(0,-y.output.length),y.type="star",y.value="*",y.output=ee,A.output+=y.output)}if(oe.length&&Y.type!=="paren"&&!S[Y.value]&&(oe[oe.length-1].inner+=Y.value),(Y.value||Y.output)&&xe(Y),y&&y.type==="text"&&Y.type==="text"){y.value+=Y.value,y.output=(y.output||"")+Y.value;return}Y.prev=y,T.push(Y),y=Y},Be=(Y,be)=>{const q={...S[be],conditions:1,inner:""};q.prev=y,q.parens=A.parens,q.output=A.output;const de=(h.capture?"(":"")+q.open;Tt("parens"),te({type:Y,value:be,output:A.output?"":O}),te({type:"paren",extglob:!0,value:se(),output:de}),oe.push(q)},Cr=Y=>{let be=Y.close+(h.capture?")":"");if(Y.type==="negate"){let q=ee;Y.inner&&Y.inner.length>1&&Y.inner.includes("/")&&(q=$(h)),(q!==ee||z()||/^\)+$/.test(tt()))&&(be=Y.close=`)$))${q}`),Y.prev.type==="bos"&&z()&&(A.negatedExtglob=!0)}te({type:"paren",extglob:!0,value:v,output:be}),nt("parens")};if(h.fastpaths!==!1&&!/(^[*!]|[/()[\]{}"])/.test(f)){let Y=!1,be=f.replace(s,(q,de,Ce,it,je,Dr)=>it==="\\"?(Y=!0,q):it==="?"?de?de+it+(je?B.repeat(je.length):""):Dr===0?K+(je?B.repeat(je.length):""):B.repeat(Ce.length):it==="."?w.repeat(Ce.length):it==="*"?de?de+it+(je?ee:""):ee:de?q:`\\${q}`);return Y===!0&&(h.unescape===!0?be=be.replace(/\\/g,""):be=be.replace(/\\+/g,q=>q.length%2===0?"\\\\":q?"\\":"")),be===f&&h.contains===!0?(A.output=f,A):(A.output=t.wrapOutput(be,A,d),A)}for(;!z();){if(v=se(),v==="\0")continue;if(v==="\\"){const q=X();if(q==="/"&&h.bash!==!0||q==="."||q===";")continue;if(!q){v+="\\",te({type:"text",value:v});continue}const de=/^\\+/.exec(tt());let Ce=0;if(de&&de[0].length>2&&(Ce=de[0].length,A.index+=Ce,Ce%2!==0&&(v+="\\")),h.unescape===!0?v=se()||"":v+=se()||"",A.brackets===0){te({type:"text",value:v});continue}}if(A.brackets>0&&(v!=="]"||y.value==="["||y.value==="[^")){if(h.posix!==!1&&v===":"){const q=y.value.slice(1);if(q.includes("[")&&(y.posix=!0,q.includes(":"))){const de=y.value.lastIndexOf("["),Ce=y.value.slice(0,de),it=y.value.slice(de+2),je=i[it];if(je){y.value=Ce+je,A.backtrack=!0,se(),!b.output&&T.indexOf(y)===1&&(b.output=O);continue}}}(v==="["&&X()!==":"||v==="-"&&X()==="]")&&(v=`\\${v}`),v==="]"&&(y.value==="["||y.value==="[^")&&(v=`\\${v}`),h.posix===!0&&v==="!"&&y.value==="["&&(v="^"),y.value+=v,xe({value:v});continue}if(A.quotes===1&&v!=='"'){v=t.escapeRegex(v),y.value+=v,xe({value:v});continue}if(v==='"'){A.quotes=A.quotes===1?0:1,h.keepQuotes===!0&&te({type:"text",value:v});continue}if(v==="("){Tt("parens"),te({type:"paren",value:v});continue}if(v===")"){if(A.parens===0&&h.strictBrackets===!0)throw new SyntaxError(l("opening","("));const q=oe[oe.length-1];if(q&&A.parens===q.parens+1){Cr(oe.pop());continue}te({type:"paren",value:v,output:A.parens?")":"\\)"}),nt("parens");continue}if(v==="["){if(h.nobracket===!0||!tt().includes("]")){if(h.nobracket!==!0&&h.strictBrackets===!0)throw new SyntaxError(l("closing","]"));v=`\\${v}`}else Tt("brackets");te({type:"bracket",value:v});continue}if(v==="]"){if(h.nobracket===!0||y&&y.type==="bracket"&&y.value.length===1){te({type:"text",value:v,output:`\\${v}`});continue}if(A.brackets===0){if(h.strictBrackets===!0)throw new SyntaxError(l("opening","["));te({type:"text",value:v,output:`\\${v}`});continue}nt("brackets");const q=y.value.slice(1);if(y.posix!==!0&&q[0]==="^"&&!q.includes("/")&&(v=`/${v}`),y.value+=v,xe({value:v}),h.literalBrackets===!1||t.hasRegexChars(q))continue;const de=t.escapeRegex(y.value);if(A.output=A.output.slice(0,-y.value.length),h.literalBrackets===!0){A.output+=de,y.value=de;continue}y.value=`(${_}${de}|${y.value})`,A.output+=y.value;continue}if(v==="{"&&h.nobrace!==!0){Tt("braces");const q={type:"brace",value:v,output:"(",outputIndex:A.output.length,tokensIndex:A.tokens.length};L.push(q),te(q);continue}if(v==="}"){const q=L[L.length-1];if(h.nobrace===!0||!q){te({type:"text",value:v,output:v});continue}let de=")";if(q.dots===!0){const Ce=T.slice(),it=[];for(let je=Ce.length-1;je>=0&&(T.pop(),Ce[je].type!=="brace");je--)Ce[je].type!=="dots"&&it.unshift(Ce[je].value);de=o(it,h),A.backtrack=!0}if(q.comma!==!0&&q.dots!==!0){const Ce=A.output.slice(0,q.outputIndex),it=A.tokens.slice(q.tokensIndex);q.value=q.output="\\{",v=de="\\}",A.output=Ce;for(const je of it)A.output+=je.output||je.value}te({type:"brace",value:v,output:de}),nt("braces"),L.pop();continue}if(v==="|"){oe.length>0&&oe[oe.length-1].conditions++,te({type:"text",value:v});continue}if(v===","){let q=v;const de=L[L.length-1];de&&V[V.length-1]==="braces"&&(de.comma=!0,q="|"),te({type:"comma",value:v,output:q});continue}if(v==="/"){if(y.type==="dot"&&A.index===A.start+1){A.start=A.index+1,A.consumed="",A.output="",T.pop(),y=b;continue}te({type:"slash",value:v,output:C});continue}if(v==="."){if(A.braces>0&&y.type==="dot"){y.value==="."&&(y.output=w);const q=L[L.length-1];y.type="dots",y.output+=v,y.value+=v,q.dots=!0;continue}if(A.braces+A.parens===0&&y.type!=="bos"&&y.type!=="slash"){te({type:"text",value:v,output:w});continue}te({type:"dot",value:v,output:w});continue}if(v==="?"){if(!(y&&y.value==="(")&&h.noextglob!==!0&&X()==="("&&X(2)!=="?"){Be("qmark",v);continue}if(y&&y.type==="paren"){const de=X();let Ce=v;if(de==="<"&&!t.supportsLookbehinds())throw new Error("Node.js v10 or higher is required for regex lookbehinds");(y.value==="("&&!/[!=<:]/.test(de)||de==="<"&&!/<([!=]|\w+>)/.test(tt()))&&(Ce=`\\${v}`),te({type:"text",value:v,output:Ce});continue}if(h.dot!==!0&&(y.type==="slash"||y.type==="bos")){te({type:"qmark",value:v,output:F});continue}te({type:"qmark",value:v,output:B});continue}if(v==="!"){if(h.noextglob!==!0&&X()==="("&&(X(2)!=="?"||!/[!=<:]/.test(X(3)))){Be("negate",v);continue}if(h.nonegate!==!0&&A.index===0){Ye();continue}}if(v==="+"){if(h.noextglob!==!0&&X()==="("&&X(2)!=="?"){Be("plus",v);continue}if(y&&y.value==="("||h.regex===!1){te({type:"plus",value:v,output:x});continue}if(y&&(y.type==="bracket"||y.type==="paren"||y.type==="brace")||A.parens>0){te({type:"plus",value:v});continue}te({type:"plus",value:x});continue}if(v==="@"){if(h.noextglob!==!0&&X()==="("&&X(2)!=="?"){te({type:"at",extglob:!0,value:v,output:""});continue}te({type:"text",value:v});continue}if(v!=="*"){(v==="$"||v==="^")&&(v=`\\${v}`);const q=r.exec(tt());q&&(v+=q[0],A.index+=q[0].length),te({type:"text",value:v});continue}if(y&&(y.type==="globstar"||y.star===!0)){y.type="star",y.star=!0,y.value+=v,y.output=ee,A.backtrack=!0,A.globstar=!0,Se(v);continue}let Y=tt();if(h.noextglob!==!0&&/^\([^?]/.test(Y)){Be("star",v);continue}if(y.type==="star"){if(h.noglobstar===!0){Se(v);continue}const q=y.prev,de=q.prev,Ce=q.type==="slash"||q.type==="bos",it=de&&(de.type==="star"||de.type==="globstar");if(h.bash===!0&&(!Ce||Y[0]&&Y[0]!=="/")){te({type:"star",value:v,output:""});continue}const je=A.braces>0&&(q.type==="comma"||q.type==="brace"),Dr=oe.length&&(q.type==="pipe"||q.type==="paren");if(!Ce&&q.type!=="paren"&&!je&&!Dr){te({type:"star",value:v,output:""});continue}for(;Y.slice(0,3)==="/**";){const Ai=f[A.index+4];if(Ai&&Ai!=="/")break;Y=Y.slice(3),Se("/**",3)}if(q.type==="bos"&&z()){y.type="globstar",y.value+=v,y.output=$(h),A.output=y.output,A.globstar=!0,Se(v);continue}if(q.type==="slash"&&q.prev.type!=="bos"&&!it&&z()){A.output=A.output.slice(0,-(q.output+y.output).length),q.output=`(?:${q.output}`,y.type="globstar",y.output=$(h)+(h.strictSlashes?")":"|$)"),y.value+=v,A.globstar=!0,A.output+=q.output+y.output,Se(v);continue}if(q.type==="slash"&&q.prev.type!=="bos"&&Y[0]==="/"){const Ai=Y[1]!==void 0?"|$":"";A.output=A.output.slice(0,-(q.output+y.output).length),q.output=`(?:${q.output}`,y.type="globstar",y.output=`${$(h)}${C}|${C}${Ai})`,y.value+=v,A.output+=q.output+y.output,A.globstar=!0,Se(v+se()),te({type:"slash",value:"/",output:""});continue}if(q.type==="bos"&&Y[0]==="/"){y.type="globstar",y.value+=v,y.output=`(?:^|${C}|${$(h)}${C})`,A.output=y.output,A.globstar=!0,Se(v+se()),te({type:"slash",value:"/",output:""});continue}A.output=A.output.slice(0,-y.output.length),y.type="globstar",y.output=$(h),y.value+=v,A.output+=y.output,A.globstar=!0,Se(v);continue}const be={type:"star",value:v,output:ee};if(h.bash===!0){be.output=".*?",(y.type==="bos"||y.type==="slash")&&(be.output=U+be.output),te(be);continue}if(y&&(y.type==="bracket"||y.type==="paren")&&h.regex===!0){be.output=v,te(be);continue}(A.index===A.start||y.type==="slash"||y.type==="dot")&&(y.type==="dot"?(A.output+=G,y.output+=G):h.dot===!0?(A.output+=Q,y.output+=Q):(A.output+=U,y.output+=U),X()!=="*"&&(A.output+=O,y.output+=O)),te(be)}for(;A.brackets>0;){if(h.strictBrackets===!0)throw new SyntaxError(l("closing","]"));A.output=t.escapeLast(A.output,"["),nt("brackets")}for(;A.parens>0;){if(h.strictBrackets===!0)throw new SyntaxError(l("closing",")"));A.output=t.escapeLast(A.output,"("),nt("parens")}for(;A.braces>0;){if(h.strictBrackets===!0)throw new SyntaxError(l("closing","}"));A.output=t.escapeLast(A.output,"{"),nt("braces")}if(h.strictSlashes!==!0&&(y.type==="star"||y.type==="bracket")&&te({type:"maybe_slash",value:"",output:`${C}?`}),A.backtrack===!0){A.output="";for(const Y of A.tokens)A.output+=Y.output!=null?Y.output:Y.value,Y.suffix&&(A.output+=Y.suffix)}return A};return u.fastpaths=(f,d)=>{const h={...d},m=typeof h.maxLength=="number"?Math.min(n,h.maxLength):n,p=f.length;if(p>m)throw new SyntaxError(`Input length: ${p}, exceeds maximum allowed length: ${m}`);f=a[f]||f;const{DOT_LITERAL:b,SLASH_LITERAL:T,ONE_CHAR:_,DOTS_SLASH:I,NO_DOT:S,NO_DOTS:w,NO_DOTS_SLASH:x,STAR:C,START_ANCHOR:O}=e.globChars(h.windows),j=h.dot?w:S,N=h.dot?x:S,G=h.capture?"":"?:",Q={negated:!1,prefix:""};let B=h.bash===!0?".*?":C;h.capture&&(B=`(${B})`);const F=U=>U.noglobstar===!0?B:`(${G}(?:(?!${O}${U.dot?I:b}).)*?)`,k=U=>{switch(U){case"*":return`${j}${_}${B}`;case".*":return`${b}${_}${B}`;case"*.*":return`${j}${B}${b}${_}${B}`;case"*/*":return`${j}${B}${T}${_}${N}${B}`;case"**":return j+F(h);case"**/*":return`(?:${j}${F(h)}${T})?${N}${_}${B}`;case"**/*.*":return`(?:${j}${F(h)}${T})?${N}${B}${b}${_}${B}`;case"**/.*":return`(?:${j}${F(h)}${T})?${b}${_}${B}`;default:{const K=/^(.*?)\.(\w+)$/.exec(U);if(!K)return;const ee=k(K[1]);return ee?ee+b+K[2]:void 0}}},H=t.removePrefix(f,Q);let $=k(H);return $&&h.strictSlashes!==!0&&($+=`${T}?`),$},Kr=u,Kr}var es,Wu;function zp(){if(Wu)return es;Wu=1;const e=Gp(),t=Wp(),n=Ta(),i=Rr(),r=a=>a&&typeof a=="object"&&!Array.isArray(a),s=(a,o,l=!1)=>{if(Array.isArray(a)){const T=a.map(I=>s(I,o,l));return I=>{for(const S of T){const w=S(I);if(w)return w}return!1}}const u=r(a)&&a.tokens&&a.input;if(a===""||typeof a!="string"&&!u)throw new TypeError("Expected pattern to be a non-empty string");const f=o||{},d=f.windows,h=u?s.compileRe(a,o):s.makeRe(a,o,!1,!0),m=h.state;delete h.state;let p=()=>!1;if(f.ignore){const T={...o,ignore:null,onMatch:null,onResult:null};p=s(f.ignore,T,l)}const b=(T,_=!1)=>{const{isMatch:I,match:S,output:w}=s.test(T,h,o,{glob:a,posix:d}),x={glob:a,state:m,regex:h,posix:d,input:T,output:w,match:S,isMatch:I};return typeof f.onResult=="function"&&f.onResult(x),I===!1?(x.isMatch=!1,_?x:!1):p(T)?(typeof f.onIgnore=="function"&&f.onIgnore(x),x.isMatch=!1,_?x:!1):(typeof f.onMatch=="function"&&f.onMatch(x),_?x:!0)};return l&&(b.state=m),b};return s.test=(a,o,l,{glob:u,posix:f}={})=>{if(typeof a!="string")throw new TypeError("Expected input to be a string");if(a==="")return{isMatch:!1,output:""};const d=l||{},h=d.format||(f?n.toPosixSlashes:null);let m=a===u,p=m&&h?h(a):a;return m===!1&&(p=h?h(a):a,m=p===u),(m===!1||d.capture===!0)&&(d.matchBase===!0||d.basename===!0?m=s.matchBase(a,o,l,f):m=o.exec(p)),{isMatch:!!m,match:m,output:p}},s.matchBase=(a,o,l)=>(o instanceof RegExp?o:s.makeRe(o,l)).test(n.basename(a)),s.isMatch=(a,o,l)=>s(o,l)(a),s.parse=(a,o)=>Array.isArray(a)?a.map(l=>s.parse(l,o)):t(a,{...o,fastpaths:!1}),s.scan=(a,o)=>e(a,o),s.compileRe=(a,o,l=!1,u=!1)=>{if(l===!0)return a.output;const f=o||{},d=f.contains?"":"^",h=f.contains?"":"$";let m=`${d}(?:${a.output})${h}`;a&&a.negated===!0&&(m=`^(?!${m}).*$`);const p=s.toRegex(m,o);return u===!0&&(p.state=a),p},s.makeRe=(a,o,l=!1,u=!1)=>{if(!a||typeof a!="string")throw new TypeError("Expected a non-empty string");const f=o||{};let d={negated:!1,fastpaths:!0},h="",m;return a.startsWith("./")&&(a=a.slice(2),h=d.prefix="./"),f.fastpaths!==!1&&(a[0]==="."||a[0]==="*")&&(m=t.fastpaths(a,o)),m===void 0?(d=t(a,o),d.prefix=h+(d.prefix||"")):d.output=m,s.compileRe(d,o,l,u)},s.toRegex=(a,o)=>{try{const l=o||{};return new RegExp(a,l.flags||(l.nocase?"i":""))}catch(l){if(o&&o.debug===!0)throw l;return/$^/}},s.constants=i,es=s,es}var ts,zu;function Yp(){return zu||(zu=1,ts=zp()),ts}var Qp=Yp(),Xp=Ap(Qp);const Yu=(e,t)=>{const{schema:n,documentAST:i,introspectionJSON:r,introspectionJSONString:s,buildSchemaOptions:a,documentString:o}=e;if(n)return n;if(s){const l=JSON.parse(s);return Dl(l,a)}if(o&&t){const l=t(o);return Fl(l,a)}if(r)return Dl(r,a);if(i)return Fl(i,a);throw new Error("No schema supplied")},Jp=new Map;class Zp{constructor({parser:t,schemas:n,parseOptions:i,externalFragmentDefinitions:r,customValidationRules:s,fillLeafsOnComplete:a,completionSettings:o}){Qe(this,"_parser",xr);Qe(this,"_schemas",[]);Qe(this,"_schemaCache",Jp);Qe(this,"_schemaLoader",Yu);Qe(this,"_parseOptions");Qe(this,"_customValidationRules");Qe(this,"_externalFragmentDefinitionNodes",null);Qe(this,"_externalFragmentDefinitionsString",null);Qe(this,"_completionSettings");Qe(this,"getCompletion",(t,n,i)=>{const r=this.getSchemaForFile(t);return!n||!(r!=null&&r.schema)?[]:dp(r.schema,n,i,void 0,this.getExternalFragmentDefinitions(),{uri:t,...this._completionSettings})});Qe(this,"getDiagnostics",(t,n,i)=>{const r=this.getSchemaForFile(t);return!n||n.trim().length<2||!(r!=null&&r.schema)?[]:Pp(n,r.schema,i??this._customValidationRules,!1,this.getExternalFragmentDefinitions())});Qe(this,"getHover",(t,n,i,r)=>{const s=this.getSchemaForFile(t);if(s&&n.length>3)return Up(s.schema,n,i,void 0,{useMarkdown:!0,...r})});Qe(this,"getVariablesJSONSchema",(t,n,i)=>{const r=this.getSchemaForFile(t);if(r&&n.length>3)try{const s=this.parse(n),{variableToType:a}=Mp(s,r.schema);if(a)return kp(a,{...i,scalarSchemas:r.customScalarSchemas})}catch{}return null});this._schemaLoader=Yu,n&&(this._schemas=n,this._cacheSchemas()),t&&(this._parser=t),this._completionSettings={...o,fillLeafsOnComplete:(o==null?void 0:o.fillLeafsOnComplete)??a},i&&(this._parseOptions=i),s&&(this._customValidationRules=s),r&&(Array.isArray(r)?this._externalFragmentDefinitionNodes=r:this._externalFragmentDefinitionsString=r)}_cacheSchemas(){for(const t of this._schemas)this._cacheSchema(t)}_cacheSchema(t){const n=this._schemaLoader(t,this.parse.bind(this));return this._schemaCache.set(t.uri,{...t,schema:n})}getSchemaForFile(t){if(!this._schemas.length)return;if(this._schemas.length===1)return this._schemaCache.get(this._schemas[0].uri);const n=this._schemas.find(i=>i.fileMatch?i.fileMatch.some(r=>Xp(r)(t)):!1);if(n){const i=this._schemaCache.get(n.uri);return i||this._cacheSchema(n).get(n.uri)}}getExternalFragmentDefinitions(){if(!this._externalFragmentDefinitionNodes&&this._externalFragmentDefinitionsString){const t=[];try{on(this._parser(this._externalFragmentDefinitionsString),{FragmentDefinition(n){t.push(n)}})}catch{throw new Error(`Failed parsing externalFragmentDefinitions string: +${this._externalFragmentDefinitionsString}`)}this._externalFragmentDefinitionNodes=t}return this._externalFragmentDefinitionNodes}async updateSchemas(t){this._schemas=t,this._cacheSchemas()}updateSchema(t){const n=this._schemas.findIndex(i=>i.uri===t.uri);if(n<0){console.warn("updateSchema could not find a schema in your config by that URI",t.uri);return}this._schemas[n]=t,this._cacheSchema(t)}addSchema(t){this._schemas.push(t),this._cacheSchema(t)}parse(t,n){return this._parser(t,n||this._parseOptions)}}function Kp(e){return{startLineNumber:e.start.line+1,startColumn:e.start.character+1,endLineNumber:e.end.line+1,endColumn:e.end.character+1}}function Qu(e){return new vn(e.lineNumber-1,e.column-1)}function eg(e,t){return{label:e.label,insertText:e.insertText,sortText:e.sortText,filterText:e.filterText,...e.documentation&&{documentation:{value:e.documentation}},detail:e.detail,...t,kind:e.kind,...e.insertTextFormat&&{insertTextFormat:e.insertTextFormat},...e.insertTextMode&&{insertTextMode:e.insertTextMode},...e.command&&{command:{...e.command,id:e.command.command}},...e.labelDetails&&{labelDetails:e.labelDetails}}}function tg(e){const t={1:fn.Error,2:fn.Warning,3:fn.Info,4:fn.Hint};return e?t[e]:t[2]}function ng(e){return{startLineNumber:e.range.start.line+1,endLineNumber:e.range.end.line+1,startColumn:e.range.start.character+1,endColumn:e.range.end.character,message:e.message,severity:tg(e.severity),code:e.code||void 0}}class ig{constructor(t,n){Qe(this,"_ctx");Qe(this,"_languageService");Qe(this,"_formattingOptions");this._ctx=t,this._languageService=new Zp(n.languageConfig),this._formattingOptions=n.formattingOptions}async doValidation(t){try{const n=this._getTextModel(t),i=n==null?void 0:n.getValue();return i?this._languageService.getDiagnostics(t,i).map(ng):[]}catch(n){return console.error(n),[]}}async doComplete(t,n){try{const i=this._getTextModel(t),r=i==null?void 0:i.getValue();if(!r)return[];const s=Qu(n);return this._languageService.getCompletion(t,r,s).map(o=>eg(o))}catch(i){return console.error(i),[]}}async doHover(t,n){try{const i=this._getTextModel(t),r=i==null?void 0:i.getValue();if(!r)return null;const s=Qu(n),a=this._languageService.getHover(t,r,s),o={column:s.character,line:s.line};return{content:a,range:Kp(Cf(o,r))}}catch(i){return console.error(i),null}}async doGetVariablesJSONSchema(t){const n=this._getTextModel(t),i=n==null?void 0:n.getValue();if(!n||!i)return null;const r=this._languageService.getVariablesJSONSchema(t,i,{useMarkdownDescription:!0});return r?{...r,$id:"monaco://variables-schema.json",title:"GraphQL Variables"}:null}async doFormat(t){var a;const n=this._getTextModel(t),i=n==null?void 0:n.getValue();if(!n||!i)return null;const r=await import("./standalone-DeIMiI-Y.js"),s=await import("./graphql-xRXydnjv.js").then(function(o){return o.g});return r.format(i,{parser:"graphql",plugins:[s],...(a=this._formattingOptions)==null?void 0:a.prettierConfig})}_getTextModel(t){const n=this._ctx.getMirrorModels();for(const i of n)if(i.uri.toString()===t)return i;return null}doUpdateSchema(t){return this._languageService.updateSchema(t)}doUpdateSchemas(t){return this._languageService.updateSchemas(t)}}globalThis.onmessage=()=>{Tc((e,t)=>new ig(e,t))};export{Ap as g}; diff --git a/packages/app/assets/graphiql/extensions/graphiql/assets/graphqlMode-CZOowVPW.js b/packages/app/assets/graphiql/extensions/graphiql/assets/graphqlMode-CZOowVPW.js new file mode 100644 index 00000000000..bc3638512ea --- /dev/null +++ b/packages/app/assets/graphiql/extensions/graphiql/assets/graphqlMode-CZOowVPW.js @@ -0,0 +1,2 @@ +const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["extensions/graphiql/assets/monaco-editor-DHweyzAq.js","extensions/graphiql/assets/index-DurqXJRt.js","extensions/graphiql/assets/index-DB2qidwj.css","extensions/graphiql/assets/mouseTarget-BLbOaqWL.js","extensions/graphiql/assets/monaco-editor-CjcUWNYt.css"])))=>i.map(i=>d[i]); +var M=Object.defineProperty;var T=(t,e,r)=>e in t?M(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r;var d=(t,e,r)=>T(t,typeof e!="symbol"?e+"":e,r);import{e as u,U as x,l as _}from"./monaco-editor-DHweyzAq.js";import{a as F,b as w,_ as b,C as s}from"./index-DurqXJRt.js";import"./mouseTarget-BLbOaqWL.js";const E=120*1e3;class O{constructor(e){d(this,"_defaults");d(this,"_idleCheckInterval");d(this,"_lastUsedTime",0);d(this,"_configChangeListener");d(this,"_worker",null);d(this,"_client",null);this._defaults=e,this._idleCheckInterval=window.setInterval(()=>this._checkIfIdle(),30*1e3),this._configChangeListener=this._defaults.onDidChange(()=>{this._stopWorker()})}_stopWorker(){this._worker&&(this._worker.dispose(),this._worker=null),this._client=null}dispose(){clearInterval(this._idleCheckInterval),this._configChangeListener.dispose(),this._stopWorker()}_checkIfIdle(){if(!this._worker)return;Date.now()-this._lastUsedTime>E&&this._stopWorker()}async _getClient(){if(this._lastUsedTime=Date.now(),!this._client&&!this._worker)try{const{languageId:e,formattingOptions:r,schemas:a,externalFragmentDefinitions:c,completionSettings:l}=this._defaults;this._worker=u.createWebWorker({moduleId:"monaco-graphql/esm/GraphQLWorker.js",label:e,createData:{languageId:e,formattingOptions:r,languageConfig:{schemas:a==null?void 0:a.map(F),externalFragmentDefinitions:c,fillLeafsOnComplete:l.__experimental__fillLeafsOnComplete}}}),this._client=this._worker.getProxy()}catch(e){console.error("error loading worker",e)}return this._client}async getLanguageServiceWorker(...e){const r=await this._getClient();return await this._worker.withSyncedResources(e),r}}class L{constructor(e,r){d(this,"defaults");d(this,"_worker");d(this,"_disposables",[]);d(this,"_listener",Object.create(null));this.defaults=e,this._worker=r,this._worker=r;let a;const c=o=>{var p;const g=w(o);if(g!==this.defaults.languageId)return;const h=o.uri.toString(),m=(p=e.diagnosticSettings.validateVariablesJSON)==null?void 0:p[h];a=setTimeout(()=>{this._doValidate(o.uri,g,m)},400),this._listener[h]=o.onDidChangeContent(()=>{clearTimeout(a),a=setTimeout(()=>{this._doValidate(o.uri,g,m)},400)})},l=o=>{u.setModelMarkers(o,this.defaults.languageId,[]);const g=o.uri.toString(),h=this._listener[g];h&&(h.dispose(),delete this._listener[g])};this._disposables.push(u.onDidCreateModel(c),{dispose(){clearTimeout(a)}},u.onWillDisposeModel(o=>{l(o)}),u.onDidChangeModelLanguage(o=>{l(o.model),c(o.model)}),{dispose:()=>{for(const o of Object.values(this._listener))o.dispose()}},e.onDidChange(()=>{for(const o of u.getModels())w(o)===this.defaults.languageId&&(l(o),c(o))}));for(const o of u.getModels())w(o)===this.defaults.languageId&&c(o)}dispose(){for(const e of this._disposables)e.dispose();this._disposables=[]}async _doValidate(e,r,a){var o;const c=await this._worker(e);if(!c)return;const l=await c.doValidation(e.toString());if(u.setModelMarkers(u.getModel(e),r,l),a){if(await b(()=>import("./monaco-editor-DHweyzAq.js").then(f=>f.a),__vite__mapDeps([0,1,2,3,4])),!a.length)throw new Error("No variables URI strings provided to validate");const g=await c.doGetVariablesJSONSchema(e.toString());if(!g)return;const h=x.file(a[0].replace(".json","-schema.json")).toString(),m={uri:h,schema:g,fileMatch:a},p=((o=_.json.jsonDefaults.diagnosticsOptions.schemas)==null?void 0:o.filter(f=>f.uri!==h))||[];_.json.jsonDefaults.setDiagnosticsOptions({schemaValidation:"error",validate:!0,...this.defaults.diagnosticSettings.jsonDiagnosticSettings,schemas:[...p,m],enableSchemaRequest:!1})}}}const i=_.CompletionItemKind,I={[s.Text]:i.Text,[s.Method]:i.Method,[s.Function]:i.Function,[s.Constructor]:i.Constructor,[s.Field]:i.Field,[s.Variable]:i.Variable,[s.Class]:i.Class,[s.Interface]:i.Interface,[s.Module]:i.Module,[s.Property]:i.Property,[s.Unit]:i.Unit,[s.Value]:i.Value,[s.Enum]:i.Enum,[s.Keyword]:i.Keyword,[s.Snippet]:i.Snippet,[s.Color]:i.Color,[s.File]:i.File,[s.Reference]:i.Reference,[s.Folder]:i.Folder,[s.EnumMember]:i.EnumMember,[s.Constant]:i.Constant,[s.Struct]:i.Struct,[s.Event]:i.Event,[s.Operator]:i.Operator,[s.TypeParameter]:i.TypeParameter};function P(t){return t in I?I[t]:i.Text}function V(t){return{range:t.range,kind:P(t.kind),label:t.label,insertText:t.insertText??t.label,insertTextRules:t.insertText?_.CompletionItemInsertTextRule.InsertAsSnippet:void 0,sortText:t.sortText,filterText:t.filterText,documentation:t.documentation,detail:t.detail,command:t.command}}class j{constructor(e){d(this,"_worker");this._worker=e,this._worker=e}get triggerCharacters(){return[":","$"," ","(","@"]}async provideCompletionItems(e,r,a,c){try{return{incomplete:!0,suggestions:(await(await this._worker(e.uri)).doComplete(e.uri.toString(),r)).map(V)}}catch(l){return console.error("Error fetching completion items",l),{suggestions:[]}}}}class D{constructor(e){d(this,"_worker");this._worker=e,this._worker=e}async provideDocumentFormattingEdits(e,r,a){const l=await(await this._worker(e.uri)).doFormat(e.uri.toString());return l?[{range:e.getFullModelRange(),text:l}]:[]}}class R{constructor(e){d(this,"_worker");this._worker=e}async provideHover(e,r,a){const c=e.uri,o=await(await this._worker(e.uri)).doHover(c.toString(),r);return o?{range:o.range,contents:[{value:o.content}]}:{contents:[]}}dispose(){}}function K(t){const e=[],r=[],a=new O(t);e.push(a);const c=(...n)=>{try{return a.getLanguageServiceWorker(...n)}catch{throw new Error("Error fetching graphql language service worker")}};function l(){const{modeConfiguration:n,languageId:k}=t;n.documentFormattingEdits&&r.push(_.registerDocumentFormattingEditProvider(k,new D(c)))}function o(n){const{modeConfiguration:k,languageId:C}=t;v(r),k.completionItems&&r.push(_.registerCompletionItemProvider(C,new j(c))),k.diagnostics&&r.push(new L(n,c)),k.hovers&&r.push(_.registerHoverProvider(C,new R(c))),l()}let{modeConfiguration:g,formattingOptions:h,diagnosticSettings:m,externalFragmentDefinitions:p,schemas:f}=t;return o(t),t.onDidChange(n=>{n.modeConfiguration!==g&&(g=n.modeConfiguration,o(n)),n.formattingOptions!==h&&(h=n.formattingOptions,l()),n.externalFragmentDefinitions!==p&&(p=n.externalFragmentDefinitions,o(n)),n.diagnosticSettings!==m&&(m=n.diagnosticSettings,o(n)),n.schemas!==f&&(f=n.schemas,o(n))}),e.push(S(r)),S(e)}function S(t){return{dispose:()=>v(t)}}function v(t){for(;t.length;)t.pop().dispose()}export{K as setupMode}; diff --git a/packages/app/assets/graphiql/extensions/graphiql/assets/index-DB2qidwj.css b/packages/app/assets/graphiql/extensions/graphiql/assets/index-DB2qidwj.css new file mode 100644 index 00000000000..89e940fbdc2 --- /dev/null +++ b/packages/app/assets/graphiql/extensions/graphiql/assets/index-DB2qidwj.css @@ -0,0 +1 @@ +@charset "UTF-8";._Container_1tasz_1{display:flex;flex-direction:column;height:100vh;width:100%}._ErrorBanner_1tasz_8{position:sticky;top:0;z-index:100}._Header_1tasz_14{display:flex;align-items:center;justify-content:space-between;padding:16px;border-bottom:1px solid var(--p-color-border, #e1e3e5);background:var(--p-color-bg, #ffffff);gap:16px}._StatusSection_1tasz_24{display:flex;align-items:center;gap:8px}._ControlsSection_1tasz_30{display:flex;align-items:center;gap:8px;flex-grow:1}._LinksSection_1tasz_37{display:flex;align-items:center;gap:8px}._GraphiQLContainer_1tasz_43{flex-grow:1;overflow:hidden}._GraphiQLContainer_1tasz_43>div{height:100%}._Container_6rz6x_1{display:flex;gap:8px;align-items:center}.graphiql-container{background-color:hsl(var(--color-base));display:flex;height:100%;margin:0;overflow:hidden;width:100%}.graphiql-container .graphiql-sidebar{display:flex;flex-direction:column;padding:var(--px-8);width:var(--sidebar-width);gap:var(--px-8);overflow-y:auto}.graphiql-container .graphiql-sidebar>button{display:flex;align-items:center;justify-content:center;color:hsla(var(--color-neutral),var(--alpha-secondary));height:calc(var(--sidebar-width) - (2 * var(--px-8)));width:calc(var(--sidebar-width) - (2 * var(--px-8)));flex-shrink:0}.graphiql-container .graphiql-sidebar button.active{color:hsl(var(--color-neutral))}.graphiql-container .graphiql-sidebar button>svg{height:var(--px-20);width:var(--px-20)}.graphiql-container .graphiql-main{display:flex;flex:1;min-width:0}.graphiql-container .graphiql-sessions{background-color:hsla(var(--color-neutral),var(--alpha-background-light));border-radius:calc(var(--border-radius-12) + var(--px-8));display:flex;flex-direction:column;flex:1;max-height:100%;margin:var(--px-16);margin-left:0;min-width:0}.graphiql-container .graphiql-session-header{height:var(--session-header-height);align-items:center;display:flex;padding:var(--px-8) var(--px-8) 0;gap:var(--px-8)}button.graphiql-tab-add{padding:var(--px-4)}button.graphiql-tab-add>svg{color:hsla(var(--color-neutral),var(--alpha-secondary));display:block;height:var(--px-16);width:var(--px-16)}.graphiql-container .graphiql-logo{margin-left:auto;color:hsla(var(--color-neutral),var(--alpha-secondary));font-size:var(--font-size-h4);font-weight:var(--font-weight-medium)}.graphiql-container .graphiql-logo .graphiql-logo-link{color:hsla(var(--color-neutral),var(--alpha-secondary));text-decoration:none}.graphiql-container .graphiql-logo .graphiql-logo-link:focus{outline:hsla(var(--color-neutral),var(--alpha-background-heavy)) auto 1px}.graphiql-container #graphiql-session{display:flex;flex:1;padding:0 var(--px-8) var(--px-8)}.graphiql-container .graphiql-editors{background-color:hsl(var(--color-base));border-radius:0 0 var(--border-radius-12) var(--border-radius-12);box-shadow:var(--popover-box-shadow);display:flex;flex:1;flex-direction:column}.graphiql-container .graphiql-query-editor{border-bottom:1px solid hsla(var(--color-neutral),var(--alpha-background-heavy));padding:var(--px-16);column-gap:var(--px-16);display:flex;width:100%}.graphiql-container .graphiql-toolbar{width:var(--toolbar-width);display:flex;flex-direction:column;gap:var(--px-8)}.graphiql-container .graphiql-toolbar>button{flex-shrink:0}.graphiql-toolbar-icon{color:hsla(var(--color-neutral),var(--alpha-tertiary));display:block;height:calc(var(--toolbar-width) - (var(--px-8) * 2));width:calc(var(--toolbar-width) - (var(--px-8) * 2))}.graphiql-container .graphiql-editor-tools{cursor:row-resize;display:flex;width:100%;column-gap:var(--px-8);padding:var(--px-8)}.graphiql-container .graphiql-editor-tools button{color:hsla(var(--color-neutral),var(--alpha-secondary))}.graphiql-container .graphiql-editor-tools button.active{color:hsl(var(--color-neutral))}.graphiql-container .graphiql-editor-tools>button:not(.graphiql-toggle-editor-tools){padding:var(--px-8) var(--px-12)}.graphiql-container .graphiql-editor-tools .graphiql-toggle-editor-tools{margin-left:auto}.graphiql-container .graphiql-editor-tool{flex:1;padding:var(--px-16)}.graphiql-container .graphiql-toolbar,.graphiql-container .graphiql-editor-tools,.graphiql-container .graphiql-editor-tool{position:relative}.graphiql-container .graphiql-response{padding-top:var(--px-16);display:flex;width:100%;flex-direction:column}.graphiql-container .graphiql-response .result-window{position:relative;flex:1}.graphiql-container .graphiql-footer{border-top:1px solid hsla(var(--color-neutral),var(--alpha-background-heavy))}.graphiql-container .graphiql-plugin{border-left:1px solid hsla(var(--color-neutral),var(--alpha-background-heavy));flex:1;overflow-y:auto;padding:var(--px-16)}.graphiql-horizontal-drag-bar{width:var(--px-12);cursor:col-resize}.graphiql-horizontal-drag-bar:hover:after{border:var(--px-2) solid hsla(var(--color-neutral),var(--alpha-background-heavy));border-radius:var(--border-radius-2);content:"";display:block;height:25%;margin:0 auto;position:relative;top:37.5%;width:0}.graphiql-container .graphiql-chevron-icon{color:hsla(var(--color-neutral),var(--alpha-tertiary));display:block;height:var(--px-12);margin:var(--px-12);width:var(--px-12)}.graphiql-spin{animation:spin .8s linear 0s infinite}@keyframes spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.graphiql-dialog .graphiql-dialog-header{align-items:center;display:flex;justify-content:space-between;padding:var(--px-24)}.graphiql-dialog .graphiql-dialog-title{font-size:var(--font-size-h3);font-weight:var(--font-weight-medium);margin:0}.graphiql-dialog .graphiql-dialog-section{align-items:center;border-top:1px solid hsla(var(--color-neutral),var(--alpha-background-heavy));display:flex;justify-content:space-between;padding:var(--px-24)}.graphiql-dialog .graphiql-dialog-section>:not(:first-child){margin-left:var(--px-24)}.graphiql-dialog .graphiql-dialog-section-title{font-size:var(--font-size-h4);font-weight:var(--font-weight-medium)}.graphiql-dialog .graphiql-dialog-section-caption{color:hsla(var(--color-neutral),var(--alpha-secondary))}.graphiql-dialog .graphiql-warning-text{color:hsl(var(--color-warning));font-weight:var(--font-weight-medium)}.graphiql-dialog .graphiql-table{border-collapse:collapse;width:100%}.graphiql-dialog .graphiql-table :is(th,td){border:1px solid hsla(var(--color-neutral),var(--alpha-background-heavy));padding:var(--px-8) var(--px-12)}.graphiql-dialog .graphiql-key{background-color:hsla(var(--color-neutral),var(--alpha-background-medium));border-radius:var(--border-radius-4);padding:var(--px-4)}.graphiql-container svg{pointer-events:none}:root,.p-theme-light{--p-border-radius-0:0rem;--p-border-radius-050:.125rem;--p-border-radius-100:.25rem;--p-border-radius-150:.375rem;--p-border-radius-200:.5rem;--p-border-radius-300:.75rem;--p-border-radius-400:1rem;--p-border-radius-500:1.25rem;--p-border-radius-750:1.875rem;--p-border-radius-full:624.9375rem;--p-border-width-0:0rem;--p-border-width-0165:.04125rem;--p-border-width-025:.0625rem;--p-border-width-050:.125rem;--p-border-width-100:.25rem;--p-breakpoints-xs:0rem;--p-breakpoints-sm:30.625rem;--p-breakpoints-md:48rem;--p-breakpoints-lg:65rem;--p-breakpoints-xl:90rem;color-scheme:light;--p-color-bg:rgba(241, 241, 241, 1);--p-color-bg-inverse:rgba(26, 26, 26, 1);--p-color-bg-surface:rgba(255, 255, 255, 1);--p-color-bg-surface-hover:rgba(247, 247, 247, 1);--p-color-bg-surface-active:rgba(243, 243, 243, 1);--p-color-bg-surface-selected:rgba(241, 241, 241, 1);--p-color-bg-surface-disabled:rgba(0, 0, 0, .05);--p-color-bg-surface-secondary:rgba(247, 247, 247, 1);--p-color-bg-surface-secondary-hover:rgba(241, 241, 241, 1);--p-color-bg-surface-secondary-active:rgba(235, 235, 235, 1);--p-color-bg-surface-secondary-selected:rgba(235, 235, 235, 1);--p-color-bg-surface-tertiary:rgba(243, 243, 243, 1);--p-color-bg-surface-tertiary-hover:rgba(235, 235, 235, 1);--p-color-bg-surface-tertiary-active:rgba(227, 227, 227, 1);--p-color-bg-surface-brand:rgba(227, 227, 227, 1);--p-color-bg-surface-brand-hover:rgba(235, 235, 235, 1);--p-color-bg-surface-brand-active:rgba(241, 241, 241, 1);--p-color-bg-surface-brand-selected:rgba(241, 241, 241, 1);--p-color-bg-surface-info:rgba(234, 244, 255, 1);--p-color-bg-surface-info-hover:rgba(224, 240, 255, 1);--p-color-bg-surface-info-active:rgba(202, 230, 255, 1);--p-color-bg-surface-success:rgba(205, 254, 225, 1);--p-color-bg-surface-success-hover:rgba(180, 254, 210, 1);--p-color-bg-surface-success-active:rgba(146, 254, 194, 1);--p-color-bg-surface-caution:rgba(255, 248, 219, 1);--p-color-bg-surface-caution-hover:rgba(255, 244, 191, 1);--p-color-bg-surface-caution-active:rgba(255, 239, 157, 1);--p-color-bg-surface-warning:rgba(255, 241, 227, 1);--p-color-bg-surface-warning-hover:rgba(255, 235, 213, 1);--p-color-bg-surface-warning-active:rgba(255, 228, 198, 1);--p-color-bg-surface-critical:rgba(254, 233, 232, 1);--p-color-bg-surface-critical-hover:rgba(254, 226, 225, 1);--p-color-bg-surface-critical-active:rgba(254, 218, 217, 1);--p-color-bg-surface-emphasis:rgba(240, 242, 255, 1);--p-color-bg-surface-emphasis-hover:rgba(234, 237, 255, 1);--p-color-bg-surface-emphasis-active:rgba(226, 231, 255, 1);--p-color-bg-surface-magic:rgba(248, 247, 255, 1);--p-color-bg-surface-magic-hover:rgba(243, 241, 255, 1);--p-color-bg-surface-magic-active:rgba(233, 229, 255, 1);--p-color-bg-surface-inverse:rgba(48, 48, 48, 1);--p-color-bg-surface-transparent:rgba(0, 0, 0, 0);--p-color-bg-fill:rgba(255, 255, 255, 1);--p-color-bg-fill-hover:rgba(250, 250, 250, 1);--p-color-bg-fill-active:rgba(247, 247, 247, 1);--p-color-bg-fill-selected:rgba(204, 204, 204, 1);--p-color-bg-fill-disabled:rgba(0, 0, 0, .05);--p-color-bg-fill-secondary:rgba(241, 241, 241, 1);--p-color-bg-fill-secondary-hover:rgba(235, 235, 235, 1);--p-color-bg-fill-secondary-active:rgba(227, 227, 227, 1);--p-color-bg-fill-tertiary:rgba(227, 227, 227, 1);--p-color-bg-fill-tertiary-hover:rgba(212, 212, 212, 1);--p-color-bg-fill-tertiary-active:rgba(204, 204, 204, 1);--p-color-bg-fill-brand:rgba(48, 48, 48, 1);--p-color-bg-fill-brand-hover:rgba(26, 26, 26, 1);--p-color-bg-fill-brand-active:rgba(26, 26, 26, 1);--p-color-bg-fill-brand-selected:rgba(48, 48, 48, 1);--p-color-bg-fill-brand-disabled:rgba(0, 0, 0, .17);--p-color-bg-fill-info:rgba(145, 208, 255, 1);--p-color-bg-fill-info-hover:rgba(81, 192, 255, 1);--p-color-bg-fill-info-active:rgba(0, 148, 213, 1);--p-color-bg-fill-info-secondary:rgba(213, 235, 255, 1);--p-color-bg-fill-success:rgba(41, 132, 90, 1);--p-color-bg-fill-success-hover:rgba(19, 111, 69, 1);--p-color-bg-fill-success-active:rgba(12, 81, 50, 1);--p-color-bg-fill-success-secondary:rgba(180, 254, 210, 1);--p-color-bg-fill-warning:rgba(255, 184, 0, 1);--p-color-bg-fill-warning-hover:rgba(229, 165, 0, 1);--p-color-bg-fill-warning-active:rgba(178, 132, 0, 1);--p-color-bg-fill-warning-secondary:rgba(255, 214, 164, 1);--p-color-bg-fill-caution:rgba(255, 230, 0, 1);--p-color-bg-fill-caution-hover:rgba(234, 211, 0, 1);--p-color-bg-fill-caution-active:rgba(225, 203, 0, 1);--p-color-bg-fill-caution-secondary:rgba(255, 235, 120, 1);--p-color-bg-fill-critical:rgba(229, 28, 0, 1);--p-color-bg-fill-critical-hover:rgba(181, 38, 11, 1);--p-color-bg-fill-critical-active:rgba(142, 31, 11, 1);--p-color-bg-fill-critical-selected:rgba(142, 31, 11, 1);--p-color-bg-fill-critical-secondary:rgba(254, 211, 209, 1);--p-color-bg-fill-emphasis:rgba(0, 91, 211, 1);--p-color-bg-fill-emphasis-hover:rgba(0, 66, 153, 1);--p-color-bg-fill-emphasis-active:rgba(0, 46, 106, 1);--p-color-bg-fill-magic:rgba(128, 81, 255, 1);--p-color-bg-fill-magic-secondary:rgba(233, 229, 255, 1);--p-color-bg-fill-magic-secondary-hover:rgba(228, 222, 255, 1);--p-color-bg-fill-magic-secondary-active:rgba(223, 217, 255, 1);--p-color-bg-fill-inverse:rgba(48, 48, 48, 1);--p-color-bg-fill-inverse-hover:rgba(74, 74, 74, 1);--p-color-bg-fill-inverse-active:rgba(97, 97, 97, 1);--p-color-bg-fill-transparent:rgba(0, 0, 0, .02);--p-color-bg-fill-transparent-hover:rgba(0, 0, 0, .05);--p-color-bg-fill-transparent-active:rgba(0, 0, 0, .08);--p-color-bg-fill-transparent-selected:rgba(0, 0, 0, .08);--p-color-bg-fill-transparent-secondary:rgba(0, 0, 0, .06);--p-color-bg-fill-transparent-secondary-hover:rgba(0, 0, 0, .08);--p-color-bg-fill-transparent-secondary-active:rgba(0, 0, 0, .11);--p-color-text:rgba(48, 48, 48, 1);--p-color-text-secondary:rgba(97, 97, 97, 1);--p-color-text-disabled:rgba(181, 181, 181, 1);--p-color-text-link:rgba(0, 91, 211, 1);--p-color-text-link-hover:rgba(0, 66, 153, 1);--p-color-text-link-active:rgba(0, 46, 106, 1);--p-color-text-brand:rgba(74, 74, 74, 1);--p-color-text-brand-hover:rgba(48, 48, 48, 1);--p-color-text-brand-on-bg-fill:rgba(255, 255, 255, 1);--p-color-text-brand-on-bg-fill-hover:rgba(227, 227, 227, 1);--p-color-text-brand-on-bg-fill-active:rgba(204, 204, 204, 1);--p-color-text-brand-on-bg-fill-disabled:rgba(255, 255, 255, 1);--p-color-text-info:rgba(0, 58, 90, 1);--p-color-text-info-hover:rgba(0, 58, 90, 1);--p-color-text-info-active:rgba(0, 33, 51, 1);--p-color-text-info-secondary:rgba(0, 124, 180, 1);--p-color-text-info-on-bg-fill:rgba(0, 33, 51, 1);--p-color-text-success:rgba(12, 81, 50, 1);--p-color-text-success-hover:rgba(8, 61, 37, 1);--p-color-text-success-active:rgba(9, 42, 27, 1);--p-color-text-success-secondary:rgba(41, 132, 90, 1);--p-color-text-success-on-bg-fill:rgba(248, 255, 251, 1);--p-color-text-caution:rgba(79, 71, 0, 1);--p-color-text-caution-hover:rgba(51, 46, 0, 1);--p-color-text-caution-active:rgba(31, 28, 0, 1);--p-color-text-caution-secondary:rgba(130, 117, 0, 1);--p-color-text-caution-on-bg-fill:rgba(51, 46, 0, 1);--p-color-text-warning:rgba(94, 66, 0, 1);--p-color-text-warning-hover:rgba(65, 45, 0, 1);--p-color-text-warning-active:rgba(37, 26, 0, 1);--p-color-text-warning-secondary:rgba(149, 111, 0, 1);--p-color-text-warning-on-bg-fill:rgba(37, 26, 0, 1);--p-color-text-critical:rgba(142, 31, 11, 1);--p-color-text-critical-hover:rgba(95, 21, 7, 1);--p-color-text-critical-active:rgba(47, 10, 4, 1);--p-color-text-critical-secondary:rgba(229, 28, 0, 1);--p-color-text-critical-on-bg-fill:rgba(255, 251, 251, 1);--p-color-text-emphasis:rgba(0, 91, 211, 1);--p-color-text-emphasis-hover:rgba(0, 66, 153, 1);--p-color-text-emphasis-active:rgba(0, 46, 106, 1);--p-color-text-emphasis-on-bg-fill:rgba(252, 253, 255, 1);--p-color-text-emphasis-on-bg-fill-hover:rgba(226, 231, 255, 1);--p-color-text-emphasis-on-bg-fill-active:rgba(213, 220, 255, 1);--p-color-text-magic:rgba(87, 0, 209, 1);--p-color-text-magic-secondary:rgba(113, 38, 255, 1);--p-color-text-magic-on-bg-fill:rgba(253, 253, 255, 1);--p-color-text-inverse:rgba(227, 227, 227, 1);--p-color-text-inverse-secondary:rgba(181, 181, 181, 1);--p-color-text-link-inverse:rgba(197, 208, 255, 1);--p-color-border:rgba(227, 227, 227, 1);--p-color-border-hover:rgba(204, 204, 204, 1);--p-color-border-disabled:rgba(235, 235, 235, 1);--p-color-border-secondary:rgba(235, 235, 235, 1);--p-color-border-tertiary:rgba(204, 204, 204, 1);--p-color-border-focus:rgba(0, 91, 211, 1);--p-color-border-brand:rgba(227, 227, 227, 1);--p-color-border-info:rgba(168, 216, 255, 1);--p-color-border-success:rgba(146, 254, 194, 1);--p-color-border-caution:rgba(255, 235, 120, 1);--p-color-border-warning:rgba(255, 200, 121, 1);--p-color-border-critical:rgba(254, 195, 193, 1);--p-color-border-critical-secondary:rgba(142, 31, 11, 1);--p-color-border-emphasis:rgba(0, 91, 211, 1);--p-color-border-emphasis-hover:rgba(0, 66, 153, 1);--p-color-border-emphasis-active:rgba(0, 46, 106, 1);--p-color-border-magic:rgba(228, 222, 255, 1);--p-color-border-magic-secondary:rgba(148, 116, 255, 1);--p-color-border-magic-secondary-hover:rgba(128, 81, 255, 1);--p-color-border-inverse:rgba(97, 97, 97, 1);--p-color-border-inverse-hover:rgba(204, 204, 204, 1);--p-color-border-inverse-active:rgba(227, 227, 227, 1);--p-color-tooltip-tail-down-border-experimental:rgba(212, 212, 212, 1);--p-color-tooltip-tail-up-border-experimental:rgba(227, 227, 227, 1);--p-color-border-gradient-experimental:linear-gradient(to bottom, rgba(235, 235, 235, 1), rgba(204, 204, 204, 1) 78%, rgba(181, 181, 181, 1));--p-color-border-gradient-hover-experimental:linear-gradient(to bottom, rgba(235, 235, 235, 1), rgba(204, 204, 204, 1) 78%, rgba(181, 181, 181, 1));--p-color-border-gradient-selected-experimental:linear-gradient(to bottom, rgba(235, 235, 235, 1), rgba(204, 204, 204, 1) 78%, rgba(181, 181, 181, 1));--p-color-border-gradient-active-experimental:linear-gradient(to bottom, rgba(235, 235, 235, 1), rgba(204, 204, 204, 1) 78%, rgba(181, 181, 181, 1));--p-color-icon:rgba(74, 74, 74, 1);--p-color-icon-hover:rgba(48, 48, 48, 1);--p-color-icon-active:rgba(26, 26, 26, 1);--p-color-icon-disabled:rgba(204, 204, 204, 1);--p-color-icon-secondary:rgba(138, 138, 138, 1);--p-color-icon-secondary-hover:rgba(97, 97, 97, 1);--p-color-icon-secondary-active:rgba(74, 74, 74, 1);--p-color-icon-brand:rgba(26, 26, 26, 1);--p-color-icon-info:rgba(0, 148, 213, 1);--p-color-icon-success:rgba(41, 132, 90, 1);--p-color-icon-caution:rgba(153, 138, 0, 1);--p-color-icon-warning:rgba(178, 132, 0, 1);--p-color-icon-critical:rgba(239, 77, 47, 1);--p-color-icon-emphasis:rgba(0, 91, 211, 1);--p-color-icon-emphasis-hover:rgba(0, 66, 153, 1);--p-color-icon-emphasis-active:rgba(0, 46, 106, 1);--p-color-icon-magic:rgba(128, 81, 255, 1);--p-color-icon-inverse:rgba(227, 227, 227, 1);--p-color-avatar-bg-fill:rgba(181, 181, 181, 1);--p-color-avatar-five-bg-fill:rgba(253, 75, 146, 1);--p-color-avatar-five-text-on-bg-fill:rgba(255, 246, 248, 1);--p-color-avatar-four-bg-fill:rgba(81, 192, 255, 1);--p-color-avatar-four-text-on-bg-fill:rgba(0, 33, 51, 1);--p-color-avatar-one-bg-fill:rgba(197, 48, 197, 1);--p-color-avatar-one-text-on-bg-fill:rgba(253, 239, 253, 1);--p-color-avatar-seven-bg-fill:rgba(148, 116, 255, 1);--p-color-avatar-seven-text-on-bg-fill:rgba(248, 247, 255, 1);--p-color-avatar-six-bg-fill:rgba(37, 232, 43, 1);--p-color-avatar-six-text-on-bg-fill:rgba(3, 61, 5, 1);--p-color-avatar-text-on-bg-fill:rgba(255, 255, 255, 1);--p-color-avatar-three-bg-fill:rgba(44, 224, 212, 1);--p-color-avatar-three-text-on-bg-fill:rgba(3, 60, 57, 1);--p-color-avatar-two-bg-fill:rgba(56, 250, 163, 1);--p-color-avatar-two-text-on-bg-fill:rgba(12, 81, 50, 1);--p-color-backdrop-bg:rgba(0, 0, 0, .71);--p-color-button-gradient-bg-fill:linear-gradient(180deg, rgba(48, 48, 48, 0) 63.53%, rgba(255, 255, 255, .15) 100%);--p-color-checkbox-bg-surface-disabled:rgba(0, 0, 0, .08);--p-color-checkbox-icon-disabled:rgba(255, 255, 255, 1);--p-color-input-bg-surface:rgba(253, 253, 253, 1);--p-color-input-bg-surface-hover:rgba(250, 250, 250, 1);--p-color-input-bg-surface-active:rgba(247, 247, 247, 1);--p-color-input-border:rgba(138, 138, 138, 1);--p-color-input-border-hover:rgba(97, 97, 97, 1);--p-color-input-border-active:rgba(26, 26, 26, 1);--p-color-nav-bg:rgba(235, 235, 235, 1);--p-color-nav-bg-surface:rgba(0, 0, 0, .02);--p-color-nav-bg-surface-hover:rgba(241, 241, 241, 1);--p-color-nav-bg-surface-active:rgba(250, 250, 250, 1);--p-color-nav-bg-surface-selected:rgba(250, 250, 250, 1);--p-color-radio-button-bg-surface-disabled:rgba(0, 0, 0, .08);--p-color-radio-button-icon-disabled:rgba(255, 255, 255, 1);--p-color-video-thumbnail-play-button-bg-fill-hover:rgba(0, 0, 0, .81);--p-color-video-thumbnail-play-button-bg-fill:rgba(0, 0, 0, .71);--p-color-video-thumbnail-play-button-text-on-bg-fill:rgba(255, 255, 255, 1);--p-color-scrollbar-thumb-bg-hover:rgba(138, 138, 138, 1);--p-font-family-sans:"Inter", -apple-system, BlinkMacSystemFont, "San Francisco", "Segoe UI", Roboto, "Helvetica Neue", sans-serif;--p-font-family-mono:ui-monospace, SFMono-Regular, "SF Mono", Consolas, "Liberation Mono", Menlo, monospace;--p-font-size-275:.6875rem;--p-font-size-300:.75rem;--p-font-size-325:.8125rem;--p-font-size-350:.875rem;--p-font-size-400:1rem;--p-font-size-450:1.125rem;--p-font-size-500:1.25rem;--p-font-size-550:1.375rem;--p-font-size-600:1.5rem;--p-font-size-750:1.875rem;--p-font-size-800:2rem;--p-font-size-900:2.25rem;--p-font-size-1000:2.5rem;--p-font-weight-regular:450;--p-font-weight-medium:550;--p-font-weight-semibold:650;--p-font-weight-bold:700;--p-font-letter-spacing-densest:-.03375rem;--p-font-letter-spacing-denser:-.01875rem;--p-font-letter-spacing-dense:-.0125rem;--p-font-letter-spacing-normal:0rem;--p-font-line-height-300:.75rem;--p-font-line-height-400:1rem;--p-font-line-height-500:1.25rem;--p-font-line-height-600:1.5rem;--p-font-line-height-700:1.75rem;--p-font-line-height-800:2rem;--p-font-line-height-1000:2.5rem;--p-font-line-height-1200:3rem;--p-height-0:0rem;--p-height-025:.0625rem;--p-height-050:.125rem;--p-height-100:.25rem;--p-height-150:.375rem;--p-height-200:.5rem;--p-height-300:.75rem;--p-height-400:1rem;--p-height-500:1.25rem;--p-height-600:1.5rem;--p-height-700:1.75rem;--p-height-800:2rem;--p-height-900:2.25rem;--p-height-1000:2.5rem;--p-height-1200:3rem;--p-height-1600:4rem;--p-height-2000:5rem;--p-height-2400:6rem;--p-height-2800:7rem;--p-height-3200:8rem;--p-motion-duration-0:0ms;--p-motion-duration-50:50ms;--p-motion-duration-100:.1s;--p-motion-duration-150:.15s;--p-motion-duration-200:.2s;--p-motion-duration-250:.25s;--p-motion-duration-300:.3s;--p-motion-duration-350:.35s;--p-motion-duration-400:.4s;--p-motion-duration-450:.45s;--p-motion-duration-500:.5s;--p-motion-duration-5000:5s;--p-motion-ease:cubic-bezier(.25, .1, .25, 1);--p-motion-ease-in:cubic-bezier(.42, 0, 1, 1);--p-motion-ease-out:cubic-bezier(.19, .91, .38, 1);--p-motion-ease-in-out:cubic-bezier(.42, 0, .58, 1);--p-motion-linear:cubic-bezier(0, 0, 1, 1);--p-motion-keyframes-bounce:p-motion-keyframes-bounce;--p-motion-keyframes-fade-in:p-motion-keyframes-fade-in;--p-motion-keyframes-pulse:p-motion-keyframes-pulse;--p-motion-keyframes-spin:p-motion-keyframes-spin;--p-motion-keyframes-appear-above:p-motion-keyframes-appear-above;--p-motion-keyframes-appear-below:p-motion-keyframes-appear-below;--p-shadow-0:none;--p-shadow-100:0rem .0625rem 0rem 0rem rgba(26, 26, 26, .07);--p-shadow-200:0rem .1875rem .0625rem -.0625rem rgba(26, 26, 26, .07);--p-shadow-300:0rem .25rem .375rem -.125rem rgba(26, 26, 26, .2);--p-shadow-400:0rem .5rem 1rem -.25rem rgba(26, 26, 26, .22);--p-shadow-500:0rem .75rem 1.25rem -.5rem rgba(26, 26, 26, .24);--p-shadow-600:0rem 1.25rem 1.25rem -.5rem rgba(26, 26, 26, .28);--p-shadow-bevel-100:.0625rem 0rem 0rem 0rem rgba(0, 0, 0, .13) inset, -.0625rem 0rem 0rem 0rem rgba(0, 0, 0, .13) inset, 0rem -.0625rem 0rem 0rem rgba(0, 0, 0, .17) inset, 0rem .0625rem 0rem 0rem rgba(204, 204, 204, .5) inset;--p-shadow-inset-100:0rem .0625rem .125rem 0rem rgba(26, 26, 26, .15) inset, 0rem .0625rem .0625rem 0rem rgba(26, 26, 26, .15) inset;--p-shadow-inset-200:0rem .125rem .0625rem 0rem rgba(26, 26, 26, .2) inset, .0625rem 0rem .0625rem 0rem rgba(26, 26, 26, .12) inset, -.0625rem 0rem .0625rem 0rem rgba(26, 26, 26, .12) inset;--p-shadow-button:0rem -.0625rem 0rem 0rem #b5b5b5 inset, 0rem 0rem 0rem .0625rem rgba(0, 0, 0, .1) inset, 0rem .03125rem 0rem .09375rem #FFF inset;--p-shadow-button-hover:0rem .0625rem 0rem 0rem #EBEBEB inset, -.0625rem 0rem 0rem 0rem #EBEBEB inset, .0625rem 0rem 0rem 0rem #EBEBEB inset, 0rem -.0625rem 0rem 0rem #CCC inset;--p-shadow-button-inset:-.0625rem 0rem .0625rem 0rem rgba(26, 26, 26, .122) inset, .0625rem 0rem .0625rem 0rem rgba(26, 26, 26, .122) inset, 0rem .125rem .0625rem 0rem rgba(26, 26, 26, .2) inset;--p-shadow-button-primary:0rem -.0625rem 0rem .0625rem rgba(0, 0, 0, .8) inset, 0rem 0rem 0rem .0625rem rgba(48, 48, 48, 1) inset, 0rem .03125rem 0rem .09375rem rgba(255, 255, 255, .25) inset;--p-shadow-button-primary-hover:0rem .0625rem 0rem 0rem rgba(255, 255, 255, .24) inset, .0625rem 0rem 0rem 0rem rgba(255, 255, 255, .2) inset, -.0625rem 0rem 0rem 0rem rgba(255, 255, 255, .2) inset, 0rem -.0625rem 0rem 0rem #000 inset, 0rem -.0625rem 0rem .0625rem #1A1A1A;--p-shadow-button-primary-inset:0rem .1875rem 0rem 0rem rgb(0, 0, 0) inset;--p-shadow-button-primary-critical:0rem -.0625rem 0rem .0625rem rgba(142, 31, 11, .8) inset, 0rem 0rem 0rem .0625rem rgba(181, 38, 11, .8) inset, 0rem .03125rem 0rem .09375rem rgba(255, 255, 255, .349) inset;--p-shadow-button-primary-critical-hover:0rem .0625rem 0rem 0rem rgba(255, 255, 255, .48) inset, .0625rem 0rem 0rem 0rem rgba(255, 255, 255, .2) inset, -.0625rem 0rem 0rem 0rem rgba(255, 255, 255, .2) inset, 0rem -.09375rem 0rem 0rem rgba(0, 0, 0, .25) inset;--p-shadow-button-primary-critical-inset:-.0625rem 0rem .0625rem 0rem rgba(0, 0, 0, .2) inset, .0625rem 0rem .0625rem 0rem rgba(0, 0, 0, .2) inset, 0rem .125rem 0rem 0rem rgba(0, 0, 0, .6) inset;--p-shadow-button-primary-success:0rem -.0625rem 0rem .0625rem rgba(12, 81, 50, .8) inset, 0rem 0rem 0rem .0625rem rgba(19, 111, 69, .8) inset, 0rem .03125rem 0rem .09375rem rgba(255, 255, 255, .251) inset;--p-shadow-button-primary-success-hover:0rem .0625rem 0rem 0rem rgba(255, 255, 255, .48) inset, .0625rem 0rem 0rem 0rem rgba(255, 255, 255, .2) inset, -.0625rem 0rem 0rem 0rem rgba(255, 255, 255, .2) inset, 0rem -.09375rem 0rem 0rem rgba(0, 0, 0, .25) inset;--p-shadow-button-primary-success-inset:-.0625rem 0rem .0625rem 0rem rgba(0, 0, 0, .2) inset, .0625rem 0rem .0625rem 0rem rgba(0, 0, 0, .2) inset, 0rem .125rem 0rem 0rem rgba(0, 0, 0, .6) inset;--p-shadow-border-inset:0rem 0rem 0rem .0625rem rgba(0, 0, 0, .08) inset;--p-space-0:0rem;--p-space-025:.0625rem;--p-space-050:.125rem;--p-space-100:.25rem;--p-space-150:.375rem;--p-space-200:.5rem;--p-space-300:.75rem;--p-space-400:1rem;--p-space-500:1.25rem;--p-space-600:1.5rem;--p-space-800:2rem;--p-space-1000:2.5rem;--p-space-1200:3rem;--p-space-1600:4rem;--p-space-2000:5rem;--p-space-2400:6rem;--p-space-2800:7rem;--p-space-3200:8rem;--p-space-button-group-gap:var(--p-space-200);--p-space-card-gap:var(--p-space-400);--p-space-card-padding:var(--p-space-400);--p-space-table-cell-padding:var(--p-space-150);--p-text-heading-3xl-font-family:var(--p-font-family-sans);--p-text-heading-3xl-font-size:var(--p-font-size-900);--p-text-heading-3xl-font-weight:var(--p-font-weight-bold);--p-text-heading-3xl-font-letter-spacing:var(--p-font-letter-spacing-densest);--p-text-heading-3xl-font-line-height:var(--p-font-line-height-1200);--p-text-heading-2xl-font-family:var(--p-font-family-sans);--p-text-heading-2xl-font-size:var(--p-font-size-750);--p-text-heading-2xl-font-weight:var(--p-font-weight-bold);--p-text-heading-2xl-font-letter-spacing:var(--p-font-letter-spacing-denser);--p-text-heading-2xl-font-line-height:var(--p-font-line-height-1000);--p-text-heading-xl-font-family:var(--p-font-family-sans);--p-text-heading-xl-font-size:var(--p-font-size-600);--p-text-heading-xl-font-weight:var(--p-font-weight-bold);--p-text-heading-xl-font-letter-spacing:var(--p-font-letter-spacing-dense);--p-text-heading-xl-font-line-height:var(--p-font-line-height-800);--p-text-heading-lg-font-family:var(--p-font-family-sans);--p-text-heading-lg-font-size:var(--p-font-size-500);--p-text-heading-lg-font-weight:var(--p-font-weight-semibold);--p-text-heading-lg-font-letter-spacing:var(--p-font-letter-spacing-dense);--p-text-heading-lg-font-line-height:var(--p-font-line-height-600);--p-text-heading-md-font-family:var(--p-font-family-sans);--p-text-heading-md-font-size:var(--p-font-size-350);--p-text-heading-md-font-weight:var(--p-font-weight-semibold);--p-text-heading-md-font-letter-spacing:var(--p-font-letter-spacing-normal);--p-text-heading-md-font-line-height:var(--p-font-line-height-500);--p-text-heading-sm-font-family:var(--p-font-family-sans);--p-text-heading-sm-font-size:var(--p-font-size-325);--p-text-heading-sm-font-weight:var(--p-font-weight-semibold);--p-text-heading-sm-font-letter-spacing:var(--p-font-letter-spacing-normal);--p-text-heading-sm-font-line-height:var(--p-font-line-height-500);--p-text-heading-xs-font-family:var(--p-font-family-sans);--p-text-heading-xs-font-size:var(--p-font-size-300);--p-text-heading-xs-font-weight:var(--p-font-weight-semibold);--p-text-heading-xs-font-letter-spacing:var(--p-font-letter-spacing-normal);--p-text-heading-xs-font-line-height:var(--p-font-line-height-400);--p-text-body-lg-font-family:var(--p-font-family-sans);--p-text-body-lg-font-size:var(--p-font-size-350);--p-text-body-lg-font-weight:var(--p-font-weight-regular);--p-text-body-lg-font-letter-spacing:var(--p-font-letter-spacing-normal);--p-text-body-lg-font-line-height:var(--p-font-line-height-500);--p-text-body-md-font-family:var(--p-font-family-sans);--p-text-body-md-font-size:var(--p-font-size-325);--p-text-body-md-font-weight:var(--p-font-weight-regular);--p-text-body-md-font-letter-spacing:var(--p-font-letter-spacing-normal);--p-text-body-md-font-line-height:var(--p-font-line-height-500);--p-text-body-sm-font-family:var(--p-font-family-sans);--p-text-body-sm-font-size:var(--p-font-size-300);--p-text-body-sm-font-weight:var(--p-font-weight-regular);--p-text-body-sm-font-letter-spacing:var(--p-font-letter-spacing-normal);--p-text-body-sm-font-line-height:var(--p-font-line-height-400);--p-text-body-xs-font-family:var(--p-font-family-sans);--p-text-body-xs-font-size:var(--p-font-size-275);--p-text-body-xs-font-weight:var(--p-font-weight-regular);--p-text-body-xs-font-letter-spacing:var(--p-font-letter-spacing-normal);--p-text-body-xs-font-line-height:var(--p-font-line-height-300);--p-width-0:0rem;--p-width-025:.0625rem;--p-width-050:.125rem;--p-width-100:.25rem;--p-width-150:.375rem;--p-width-200:.5rem;--p-width-300:.75rem;--p-width-400:1rem;--p-width-500:1.25rem;--p-width-600:1.5rem;--p-width-700:1.75rem;--p-width-800:2rem;--p-width-900:2.25rem;--p-width-1000:2.5rem;--p-width-1200:3rem;--p-width-1600:4rem;--p-width-2000:5rem;--p-width-2400:6rem;--p-width-2800:7rem;--p-width-3200:8rem;--p-z-index-0:auto;--p-z-index-1:100;--p-z-index-2:400;--p-z-index-3:510;--p-z-index-4:512;--p-z-index-5:513;--p-z-index-6:514;--p-z-index-7:515;--p-z-index-8:516;--p-z-index-9:517;--p-z-index-10:518;--p-z-index-11:519;--p-z-index-12:520}.p-theme-light-mobile{--p-color-button-gradient-bg-fill:none;--p-shadow-100:none;--p-shadow-bevel-100:none;--p-shadow-button:0 0 0 var(--p-border-width-025) var(--p-color-border) inset;--p-shadow-button-hover:0 0 0 var(--p-border-width-025) var(--p-color-border) inset;--p-shadow-button-inset:0 0 0 var(--p-border-width-025) var(--p-color-border) inset;--p-shadow-button-primary:none;--p-shadow-button-primary-hover:none;--p-shadow-button-primary-inset:none;--p-shadow-button-primary-critical:none;--p-shadow-button-primary-critical-hover:none;--p-shadow-button-primary-critical-inset:none;--p-shadow-button-primary-success:none;--p-shadow-button-primary-success-hover:none;--p-shadow-button-primary-success-inset:none;--p-space-card-gap:var(--p-space-200);--p-text-heading-2xl-font-size:var(--p-font-size-800);--p-text-heading-xl-font-size:var(--p-font-size-550);--p-text-heading-xl-font-line-height:var(--p-font-line-height-700);--p-text-heading-lg-font-size:var(--p-font-size-450);--p-text-heading-md-font-size:var(--p-font-size-400);--p-text-heading-sm-font-size:var(--p-font-size-350);--p-text-body-lg-font-size:var(--p-font-size-450);--p-text-body-lg-font-line-height:var(--p-font-line-height-700);--p-text-body-md-font-size:var(--p-font-size-400);--p-text-body-md-font-line-height:var(--p-font-line-height-600);--p-text-body-sm-font-size:var(--p-font-size-350);--p-text-body-sm-font-line-height:var(--p-font-line-height-500);--p-text-body-xs-font-size:var(--p-font-size-300);--p-text-body-xs-font-line-height:var(--p-font-line-height-400)}.p-theme-light-high-contrast-experimental{--p-color-text:rgba(26, 26, 26, 1);--p-color-text-secondary:rgba(26, 26, 26, 1);--p-color-text-brand:rgba(26, 26, 26, 1);--p-color-icon-secondary:rgba(74, 74, 74, 1);--p-color-border:rgba(138, 138, 138, 1);--p-color-input-border:rgba(74, 74, 74, 1);--p-color-border-secondary:rgba(138, 138, 138, 1);--p-color-bg-surface-secondary:rgba(241, 241, 241, 1);--p-shadow-bevel-100:0rem .0625rem 0rem 0rem rgba(26, 26, 26, .07), 0rem .0625rem 0rem 0rem rgba(208, 208, 208, .4) inset, .0625rem 0rem 0rem 0rem #CCC inset, -.0625rem 0rem 0rem 0rem #CCC inset, 0rem -.0625rem 0rem 0rem #999 inset}.p-theme-dark-experimental{color-scheme:dark;--p-color-bg:rgba(26, 26, 26, 1);--p-color-bg-surface:rgba(48, 48, 48, 1);--p-color-bg-fill:rgba(48, 48, 48, 1);--p-color-icon:rgba(227, 227, 227, 1);--p-color-icon-secondary:rgba(138, 138, 138, 1);--p-color-text:rgba(227, 227, 227, 1);--p-color-text-secondary:rgba(181, 181, 181, 1);--p-color-bg-surface-secondary-active:rgba(97, 97, 97, 1);--p-color-bg-surface-secondary-hover:rgba(74, 74, 74, 1);--p-color-bg-fill-transparent:rgba(255, 255, 255, .11);--p-color-bg-fill-brand:rgba(255, 255, 255, 1);--p-color-text-brand-on-bg-fill:rgba(48, 48, 48, 1);--p-color-bg-surface-hover:rgba(74, 74, 74, 1);--p-color-bg-fill-hover:rgba(74, 74, 74, 1);--p-color-bg-fill-transparent-hover:rgba(255, 255, 255, .17);--p-color-bg-fill-brand-hover:rgba(243, 243, 243, 1);--p-color-bg-surface-selected:rgba(97, 97, 97, 1);--p-color-bg-fill-selected:rgba(97, 97, 97, 1);--p-color-bg-fill-transparent-selected:rgba(255, 255, 255, .28);--p-color-bg-fill-brand-selected:rgba(212, 212, 212, 1);--p-color-bg-surface-active:rgba(97, 97, 97, 1);--p-color-bg-fill-active:rgba(97, 97, 97, 1);--p-color-bg-fill-transparent-active:rgba(255, 255, 255, .2);--p-color-bg-fill-brand-active:rgba(247, 247, 247, 1);--p-color-bg-surface-brand-selected:rgba(74, 74, 74, 1);--p-color-border-secondary:rgba(97, 97, 97, 1);--p-color-tooltip-tail-down-border-experimental:rgba(60, 60, 60, 1);--p-color-tooltip-tail-up-border-experimental:rgba(71, 71, 71, 1);--p-color-border-gradient-experimental:linear-gradient(to bottom, rgba(255, 255, 255, .17), rgba(255, 255, 255, .03));--p-color-border-gradient-hover-experimental:linear-gradient(to bottom, rgba(255, 255, 255, .17), rgba(255, 255, 255, .03));--p-color-border-gradient-selected-experimental:linear-gradient(to bottom, rgba(0, 0, 0, .2), rgba(255, 255, 255, .2));--p-color-border-gradient-active-experimental:linear-gradient(to bottom, rgba(255, 255, 255, .2), rgba(255, 255, 255, .03));--p-shadow-bevel-100:.0625rem 0rem 0rem 0rem rgba(204, 204, 204, .08) inset, -.0625rem 0rem 0rem 0rem rgba(204, 204, 204, .08) inset, 0rem -.0625rem 0rem 0rem rgba(204, 204, 204, .08) inset, 0rem .0625rem 0rem 0rem rgba(204, 204, 204, .16) inset}@keyframes p-motion-keyframes-bounce{0%,65%,85%{transform:scale(1)}75%{transform:scale(.85)}82.5%{transform:scale(1.05)}}@keyframes p-motion-keyframes-fade-in{to{opacity:1}}@keyframes p-motion-keyframes-pulse{0%,75%{transform:scale(.85);opacity:1}to{transform:scale(2.5);opacity:0}}@keyframes p-motion-keyframes-spin{to{transform:rotate(1turn)}}@keyframes p-motion-keyframes-appear-above{0%{transform:translateY(var(--p-space-100));opacity:0}to{transform:none;opacity:1}}@keyframes p-motion-keyframes-appear-below{0%{transform:translateY(calc(var(--p-space-100)*-1));opacity:0}to{transform:none;opacity:1}}:root{--polaris-version-number:"12.27.0";--pg-navigation-width:15rem;--pg-dangerous-magic-space-4:1rem;--pg-dangerous-magic-space-5:1.25rem;--pg-dangerous-magic-space-8:2rem;--pg-layout-width-primary-min:30rem;--pg-layout-width-primary-max:41.375rem;--pg-layout-width-secondary-min:15rem;--pg-layout-width-secondary-max:20rem;--pg-layout-width-one-half-width-base:28.125rem;--pg-layout-width-one-third-width-base:15rem;--pg-layout-width-nav-base:var(--pg-navigation-width);--pg-layout-width-page-content-partially-condensed:28.125rem;--pg-layout-width-inner-spacing-base:var(--pg-dangerous-magic-space-4);--pg-layout-width-outer-spacing-min:var(--pg-dangerous-magic-space-5);--pg-layout-width-outer-spacing-max:var(--pg-dangerous-magic-space-8);--pg-layout-relative-size:2;--pg-dismiss-icon-size:2rem;--pg-top-bar-height:3.5rem;--pg-mobile-nav-width:calc(100vw - var(--pg-dismiss-icon-size) - var(--pg-dangerous-magic-space-8));--pg-control-height:2rem;--pg-control-vertical-padding:calc((2.25rem - var(--p-font-line-height-600) - var(--p-space-050))/2)}html,body{font-size:var(--p-font-size-325);line-height:var(--p-font-line-height-500);font-weight:var(--p-font-weight-regular);font-feature-settings:"calt" 0;letter-spacing:initial;color:var(--p-color-text)}html,body,button{font-family:var(--p-font-family-sans)}html{position:relative;font-size:100%;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;-webkit-text-size-adjust:100%;text-size-adjust:100%;text-rendering:optimizeLegibility;scrollbar-width:thin;scrollbar-color:var(--p-color-bg) var(--p-color-bg);transition:scrollbar-color var(--p-motion-duration-100) var(--p-motion-ease-in)}html::-webkit-scrollbar{width:.6875rem;background-color:var(--p-color-bg)}html::-webkit-scrollbar-thumb{background-color:var(--p-color-bg);border:var(--p-border-width-050) solid transparent;border-radius:var(--p-border-radius-300);background-clip:content-box}html:hover{scrollbar-color:var(--p-color-scrollbar-thumb-bg-hover) var(--p-color-bg)}html:hover::-webkit-scrollbar-thumb{background-color:var(--p-color-scrollbar-thumb-bg-hover)}@supports (font: -apple-system-body){@media (max-width: 30.6225em){html{font:-apple-system-body}}}body{min-height:100%;margin:0;padding:0;background-color:#f1f2f4;scrollbar-color:var(--p-color-scrollbar-thumb-bg-hover) transparent}@media print{body{background-color:transparent!important}}*,*:before,*:after{box-sizing:border-box}h1,h2,h3,h4,h5,h6,p{margin:0;font-size:1em;font-weight:var(--p-font-weight-regular)}button::-moz-focus-inner,[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner{border-style:none}html[class~=Polaris-Safari-16-Font-Optical-Sizing-Patch]{font-variation-settings:"opsz" 14}.Polaris-Avatar{--pc-avatar-xs-size:1.25rem;--pc-avatar-sm-size:1.5rem;--pc-avatar-md-size:1.75rem;--pc-avatar-lg-size:2rem;--pc-avatar-xl-size:2.5rem;position:relative;display:block;overflow:hidden;min-width:var(--pc-avatar-xs-size);max-width:100%;background:var(--p-color-avatar-bg-fill);color:var(--p-color-avatar-text-on-bg-fill);-webkit-user-select:none;user-select:none}.Polaris-Avatar.Polaris-Avatar--imageHasLoaded{background:transparent}@media (forced-colors: active){.Polaris-Avatar{border:var(--p-border-width-025) solid transparent}}.Polaris-Avatar:after{content:"";display:block;padding-bottom:100%}.Polaris-Avatar__Text{font-size:var(--p-font-size-400);font-weight:var(--p-font-weight-regular)}.Polaris-Avatar__Text.Polaris-Avatar--long{font-size:var(--p-font-size-300)}.Polaris-Avatar--hidden{visibility:hidden}.Polaris-Avatar--sizeXs{width:var(--pc-avatar-xs-size);border-radius:.25rem}.Polaris-Avatar--sizeSm{width:var(--pc-avatar-sm-size);border-radius:.375rem}.Polaris-Avatar--sizeMd{width:var(--pc-avatar-md-size);border-radius:.375rem}.Polaris-Avatar--sizeLg{width:var(--pc-avatar-lg-size);border-radius:.5rem}.Polaris-Avatar--sizeXl{width:var(--pc-avatar-xl-size);border-radius:.5rem}.Polaris-Avatar--styleOne{background:var(--p-color-avatar-one-bg-fill);color:var(--p-color-avatar-one-text-on-bg-fill)}.Polaris-Avatar--styleOne svg,.Polaris-Avatar--styleOne text{color:var(--p-color-avatar-one-text-on-bg-fill)}.Polaris-Avatar--styleTwo{background:var(--p-color-avatar-two-bg-fill);color:var(--p-color-avatar-two-text-on-bg-fill)}.Polaris-Avatar--styleTwo svg,.Polaris-Avatar--styleTwo text{color:var(--p-color-avatar-two-text-on-bg-fill)}.Polaris-Avatar--styleThree{background:var(--p-color-avatar-three-bg-fill);color:var(--p-color-avatar-three-text-on-bg-fill)}.Polaris-Avatar--styleThree svg,.Polaris-Avatar--styleThree text{color:var(--p-color-avatar-three-text-on-bg-fill)}.Polaris-Avatar--styleFour{background:var(--p-color-avatar-four-bg-fill);color:var(--p-color-avatar-four-text-on-bg-fill)}.Polaris-Avatar--styleFour svg,.Polaris-Avatar--styleFour text{color:var(--p-color-avatar-four-text-on-bg-fill)}.Polaris-Avatar--styleFive{background:var(--p-color-avatar-five-bg-fill);color:var(--p-color-avatar-five-text-on-bg-fill)}.Polaris-Avatar--styleFive svg,.Polaris-Avatar--styleFive text{color:var(--p-color-avatar-five-text-on-bg-fill)}.Polaris-Avatar--styleSix{background:var(--p-color-avatar-six-bg-fill);color:var(--p-color-avatar-six-text-on-bg-fill)}.Polaris-Avatar--styleSix svg,.Polaris-Avatar--styleSix text{color:var(--p-color-avatar-six-text-on-bg-fill)}.Polaris-Avatar--styleSeven{background:var(--p-color-avatar-seven-bg-fill);color:var(--p-color-avatar-seven-text-on-bg-fill)}.Polaris-Avatar--styleSeven svg,.Polaris-Avatar--styleSeven text{color:var(--p-color-avatar-seven-text-on-bg-fill)}.Polaris-Avatar--imageHasLoaded{background:transparent}.Polaris-Avatar__Image{position:absolute;top:50%;left:50%;width:100%;height:100%;border-radius:inherit;transform:translate(-50%,-50%);object-fit:cover}.Polaris-Avatar__Initials{position:absolute;top:0;right:0;display:flex;align-items:center;justify-content:center;width:100%;height:100%}.Polaris-Avatar__Svg{width:100%;height:100%}.Polaris-Text--root{margin:0;text-align:inherit}.Polaris-Text--block{display:block}.Polaris-Text--truncate{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.Polaris-Text--visuallyHidden{position:absolute!important;top:0;width:.0625rem!important;height:.0625rem!important;margin:0!important;padding:0!important;overflow:hidden!important;clip-path:inset(50%)!important;border:0!important;white-space:nowrap!important}.Polaris-Text--start{text-align:start}.Polaris-Text--center{text-align:center}.Polaris-Text--end{text-align:end}.Polaris-Text--justify{text-align:justify}.Polaris-Text--base{color:var(--p-color-text)}.Polaris-Text--inherit{color:inherit}.Polaris-Text--disabled{color:var(--p-color-text-disabled)}.Polaris-Text--success{color:var(--p-color-text-success)}.Polaris-Text--critical{color:var(--p-color-text-critical)}.Polaris-Text--caution{color:var(--p-color-text-caution)}.Polaris-Text--subdued{color:var(--p-color-text-secondary)}.Polaris-Text--magic{color:var(--p-color-text-magic)}.Polaris-Text__magic--subdued{color:var(--p-color-text-magic-secondary)}.Polaris-Text__text--inverse{color:var(--p-color-text-inverse)}.Polaris-Text--textInverseSecondary{color:var(--p-color-text-inverse-secondary)}.Polaris-Text--headingXs{font-size:var(--p-text-heading-xs-font-size);font-weight:var(--p-text-heading-xs-font-weight);letter-spacing:var(--p-text-heading-xs-font-letter-spacing);line-height:var(--p-text-heading-xs-font-line-height)}.Polaris-Text--headingSm{font-size:var(--p-text-heading-sm-font-size);font-weight:var(--p-text-heading-sm-font-weight);letter-spacing:var(--p-text-heading-sm-font-letter-spacing);line-height:var(--p-text-heading-sm-font-line-height)}.Polaris-Text--headingMd{font-size:var(--p-text-heading-md-font-size);font-weight:var(--p-text-heading-md-font-weight);letter-spacing:var(--p-text-heading-md-font-letter-spacing);line-height:var(--p-text-heading-md-font-line-height)}.Polaris-Text--headingLg{font-size:var(--p-text-heading-lg-font-size);font-weight:var(--p-text-heading-lg-font-weight);letter-spacing:var(--p-text-heading-lg-font-letter-spacing);line-height:var(--p-text-heading-lg-font-line-height)}.Polaris-Text--headingXl{font-size:var(--p-font-size-500);font-weight:var(--p-font-weight-semibold);letter-spacing:var(--p-font-letter-spacing-dense);line-height:var(--p-font-line-height-600)}@media (min-width: 48em){.Polaris-Text--headingXl{font-size:var(--p-text-heading-xl-font-size);font-weight:var(--p-text-heading-xl-font-weight);letter-spacing:var(--p-text-heading-xl-font-letter-spacing);line-height:var(--p-text-heading-xl-font-line-height)}}.Polaris-Text--heading2xl{font-size:var(--p-font-size-600);font-weight:var(--p-font-weight-bold);letter-spacing:var(--p-font-letter-spacing-dense);line-height:var(--p-font-line-height-800)}@media (min-width: 48em){.Polaris-Text--heading2xl{font-size:var(--p-text-heading-2xl-font-size);font-weight:var(--p-text-heading-2xl-font-weight);letter-spacing:var(--p-text-heading-2xl-font-letter-spacing);line-height:var(--p-text-heading-2xl-font-line-height)}}.Polaris-Text--heading3xl{font-size:var(--p-font-size-750);font-weight:var(--p-font-weight-bold);letter-spacing:var(--p-font-letter-spacing-denser);line-height:var(--p-font-line-height-1000)}@media (min-width: 48em){.Polaris-Text--heading3xl{font-size:var(--p-text-heading-3xl-font-size);font-weight:var(--p-text-heading-3xl-font-weight);letter-spacing:var(--p-text-heading-3xl-font-letter-spacing);line-height:var(--p-text-heading-3xl-font-line-height)}}.Polaris-Text--bodyXs{font-size:var(--p-text-body-xs-font-size);font-weight:var(--p-text-body-xs-font-weight);letter-spacing:var(--p-text-body-xs-font-letter-spacing);line-height:var(--p-text-body-xs-font-line-height)}.Polaris-Text--bodySm{font-size:var(--p-text-body-sm-font-size);font-weight:var(--p-text-body-sm-font-weight);letter-spacing:var(--p-text-body-sm-font-letter-spacing);line-height:var(--p-text-body-sm-font-line-height)}.Polaris-Text--bodyMd{font-size:var(--p-text-body-md-font-size);font-weight:var(--p-text-body-sm-font-weight);letter-spacing:var(--p-text-body-md-font-letter-spacing);line-height:var(--p-text-body-md-font-line-height)}.Polaris-Text--bodyLg{font-size:var(--p-text-body-lg-font-size);font-weight:var(--p-text-body-sm-font-weight);letter-spacing:var(--p-text-body-lg-font-letter-spacing);line-height:var(--p-text-body-lg-font-line-height)}.Polaris-Text--regular{font-weight:var(--p-font-weight-regular)}.Polaris-Text--medium{font-weight:var(--p-font-weight-medium)}.Polaris-Text--semibold{font-weight:var(--p-font-weight-semibold)}.Polaris-Text--bold{font-weight:var(--p-font-weight-bold)}.Polaris-Text--break{overflow-wrap:anywhere;word-break:normal}.Polaris-Text--numeric{font-variant-numeric:tabular-nums lining-nums}.Polaris-Text__line--through{-webkit-text-decoration-line:line-through;text-decoration-line:line-through}.Polaris-Icon{display:block;height:1.25rem;width:1.25rem;max-height:100%;max-width:100%;margin:auto}.Polaris-Icon svg{fill:currentColor}.Polaris-Icon--toneInherit svg{color:inherit}.Polaris-Icon--toneBase svg{color:var(--p-color-icon)}.Polaris-Icon--toneSubdued svg{color:var(--p-color-icon-secondary)}.Polaris-Icon--toneCaution svg{color:var(--p-color-icon-caution)}.Polaris-Icon--toneWarning svg{color:var(--p-color-icon-warning)}.Polaris-Icon--toneCritical svg{color:var(--p-color-icon-critical)}.Polaris-Icon--toneInteractive svg{color:var(--p-color-icon-emphasis)}.Polaris-Icon--toneInfo svg{color:var(--p-color-icon-info)}.Polaris-Icon--toneSuccess svg{color:var(--p-color-icon-success)}.Polaris-Icon--tonePrimary svg{color:var(--p-color-icon-brand)}.Polaris-Icon--toneEmphasis svg{color:var(--p-color-icon-emphasis)}.Polaris-Icon--toneMagic svg{color:var(--p-color-icon-magic)}.Polaris-Icon--toneTextCaution svg{color:var(--p-color-text-caution)}.Polaris-Icon--toneTextWarning svg{color:var(--p-color-text-warning)}.Polaris-Icon--toneTextCritical svg{color:var(--p-color-text-critical)}.Polaris-Icon--toneTextInfo svg{color:var(--p-color-text-info)}.Polaris-Icon--toneTextPrimary svg{color:var(--p-color-text-brand)}.Polaris-Icon--toneTextSuccess svg{color:var(--p-color-text-success)}.Polaris-Icon--toneTextMagic svg{color:var(--p-color-text-magic)}.Polaris-Icon__Svg,.Polaris-Icon__Img{position:relative;display:block;width:100%;max-width:100%;max-height:100%}.Polaris-Icon__Placeholder{padding-bottom:100%;background:var(--p-color-bg-fill-tertiary);border-radius:var(--p-border-radius-100)}.Polaris-Spinner svg{animation:var(--p-motion-keyframes-spin) var(--p-motion-duration-500) linear infinite;fill:var(--p-color-bg-fill-brand)}.Polaris-Spinner--sizeSmall svg{height:1.25rem;width:1.25rem}.Polaris-Spinner--sizeLarge svg{height:2.75rem;width:2.75rem}.Polaris-Button{--pc-button-gap:var(--p-space-050);--pc-button-bg:transparent;--pc-button-bg_hover:var(--pc-button-bg);--pc-button-bg_active:var(--pc-button-bg);--pc-button-bg_pressed:var(--pc-button-bg_active);--pc-button-bg_disabled:var(--p-color-bg-fill-disabled);--pc-button-color:inherit;--pc-button-color_hover:var(--pc-button-color);--pc-button-color_active:var(--pc-button-color);--pc-button-color_pressed:var(--pc-button-color_active);--pc-button-color_disabled:var(--p-color-text-disabled);--pc-button-box-shadow:transparent;--pc-button-box-shadow_hover:var(--pc-button-box-shadow);--pc-button-box-shadow_active:var(--pc-button-box-shadow);--pc-button-box-shadow_pressed:var(--pc-button-box-shadow_active);--pc-button-box-shadow_disabled:var(--pc-button-box-shadow);--pc-button-icon-fill:currentColor;--pc-button-icon-fill_hover:var(--pc-button-icon-fill);--pc-button-icon-fill_active:var(--pc-button-icon-fill);--pc-button-icon-fill_pressed:var(--pc-button-icon-fill_active);--pc-button-icon-fill_disabled:var(--p-color-icon-disabled);all:unset;position:relative;box-sizing:border-box;display:inline-flex;align-items:center;gap:var(--pc-button-gap);padding:var(--pc-button-padding-block) var(--pc-button-padding-inline);background:var(--pc-button-bg);border:none;border-radius:var(--p-border-radius-200);box-shadow:var(--pc-button-box-shadow);color:var(--pc-button-color);cursor:pointer;-webkit-user-select:none;user-select:none;touch-action:manipulation;-webkit-tap-highlight-color:transparent}.Polaris-Button.Polaris-Button svg{fill:var(--pc-button-icon-fill)}.Polaris-Button.Polaris-Button:hover svg{fill:var(--pc-button-icon-fill_hover)}.Polaris-Button.Polaris-Button:active,.Polaris-Button.Polaris-Button[data-state=open] svg{fill:var(--pc-button-icon-fill_active)}.Polaris-Button.Polaris-Button:disabled,.Polaris-Button.Polaris-Button[disabled],.Polaris-Button--disabled.Polaris-Button--disabled svg{fill:var(--pc-button-icon-fill_disabled)}.Polaris-Button--pressed.Polaris-Button--pressed,.Polaris-Button--pressed.Polaris-Button--pressed:hover,.Polaris-Button--pressed.Polaris-Button--pressed:active,.Polaris-Button--pressed.Polaris-Button--pressed:focus-visible svg{fill:var(--pc-button-icon-fill_pressed)}.Polaris-Button:hover{background:var(--pc-button-bg_hover);color:var(--pc-button-color_hover);box-shadow:var(--pc-button-box-shadow_hover)}.Polaris-Button:active,.Polaris-Button[data-state=open]{background:var(--pc-button-bg_active);color:var(--pc-button-color_active);box-shadow:var(--pc-button-box-shadow_active)}.Polaris-Button:focus-visible{background:var(--pc-button-bg_hover);color:var(--pc-button-color_hover);outline:var(--p-border-width-050) solid var(--p-color-border-focus);outline-offset:var(--p-space-025)}.Polaris-Button:focus-visible:after{content:none}.Polaris-Button:disabled,.Polaris-Button[disabled],.Polaris-Button--disabled{background:var(--pc-button-bg_disabled);color:var(--pc-button-color_disabled);box-shadow:none;-webkit-user-select:none;user-select:none;pointer-events:none}.Polaris-Button--pressed,.Polaris-Button--pressed:hover,.Polaris-Button--pressed:active,.Polaris-Button--pressed:focus-visible{background:var(--pc-button-bg_pressed);color:var(--pc-button-color_pressed);box-shadow:var(--pc-button-box-shadow_pressed)}.Polaris-Button--variantPrimary{--pc-button-bg-gradient:var(--p-color-button-gradient-bg-fill);--pc-button-box-shadow:var(--p-shadow-button-primary);--pc-button-box-shadow_active:var(--p-shadow-button-primary-inset);--pc-button-bg:var(--pc-button-bg-gradient), var(--p-color-bg-fill-brand);--pc-button-bg_hover:var(--pc-button-bg-gradient), var(--p-color-bg-fill-brand-hover);--pc-button-bg_active:var(--pc-button-bg-gradient), var(--p-color-bg-fill-brand-active);--pc-button-bg_disabled:var(--p-color-bg-fill-brand-disabled);--pc-button-color:var(--p-color-text-brand-on-bg-fill);--pc-button-color_disabled:var(--p-color-text-brand-on-bg-fill-disabled);--pc-button-icon-fill:var(--p-color-text-brand-on-bg-fill);--pc-button-icon-fill_disabled:var(--p-color-text-brand-on-bg-fill-disabled)}.Polaris-Button--variantSecondary{--pc-button-box-shadow:var(--p-shadow-button);--pc-button-box-shadow_active:var(--p-shadow-button-inset);--pc-button-bg:var(--p-color-bg-fill);--pc-button-bg_hover:var(--p-color-bg-fill-hover);--pc-button-bg_active:var(--p-color-bg-fill-active);--pc-button-bg_pressed:var(--p-color-bg-fill-selected);--pc-button-color:var(--p-color-text);--pc-button-icon-fill:var(--p-color-icon)}.Polaris-Button--variantTertiary{--pc-button-bg_hover:var(--p-color-bg-fill-transparent-hover);--pc-button-bg_active:var(--p-color-bg-fill-transparent-active);--pc-button-bg_pressed:var(--p-color-bg-fill-selected);--pc-button-bg_disabled:transparent;--pc-button-color:var(--p-color-text);--pc-button-icon-fill:var(--p-color-icon)}.Polaris-Button--variantPlain{--pc-button-color:var(--p-color-text-link);--pc-button-color_hover:var(--p-color-text-link-hover);--pc-button-color_active:var(--p-color-text-link-active)}.Polaris-Button--variantPlain:is(:hover,:active,:focus-visible):not(.Polaris-Button--removeUnderline){text-decoration:underline}.Polaris-Button--variantMonochromePlain{--pc-button-icon-fill:currentColor}.Polaris-Button--variantPlain,.Polaris-Button--variantMonochromePlain{--pc-button-bg_disabled:transparent;margin:calc(var(--pc-button-padding-block)*-1) calc(var(--pc-button-padding-inline)*-1)}.Polaris-Button--variantPlain:focus-visible,.Polaris-Button--variantMonochromePlain:focus-visible{border-radius:var(--p-border-radius-300);outline-offset:calc(var(--pc-button-padding-block)*-1)}.Polaris-Button--toneSuccess:is(.Polaris-Button--variantSecondary,.Polaris-Button--variantTertiary,.Polaris-Button--variantPlain){--pc-button-color:var(--p-color-text-success);--pc-button-color_hover:var(--p-color-text-success-hover);--pc-button-color_active:var(--p-color-text-success-active);--pc-button-icon-fill:currentColor}.Polaris-Button--toneCritical:is(.Polaris-Button--variantSecondary,.Polaris-Button--variantTertiary,.Polaris-Button--variantPlain){--pc-button-color:var(--p-color-text-critical);--pc-button-color_hover:var(--p-color-text-critical-hover);--pc-button-color_active:var(--p-color-text-critical-active);--pc-button-icon-fill:currentColor}.Polaris-Button--toneSuccess:is(.Polaris-Button--variantPrimary){--pc-button-box-shadow:var(--p-shadow-button-primary-success);--pc-button-box-shadow_active:var(--p-shadow-button-primary-success-inset);--pc-button-bg:var(--p-color-bg-fill-success);--pc-button-bg_hover:var(--p-color-bg-fill-success-hover);--pc-button-bg_active:var(--p-color-bg-fill-success-active);--pc-button-bg_pressed:var(--p-color-bg-fill-success-selected)}.Polaris-Button--toneCritical:is(.Polaris-Button--variantPrimary){--pc-button-box-shadow:var(--p-shadow-button-primary-critical);--pc-button-box-shadow_active:var(--p-shadow-button-primary-critical-inset);--pc-button-bg:var(--p-color-bg-fill-critical);--pc-button-bg_hover:var(--p-color-bg-fill-critical-hover);--pc-button-bg_active:var(--p-color-bg-fill-critical-active);--pc-button-bg_pressed:var(--p-color-bg-fill-critical-selected)}.Polaris-Button--sizeMicro{--pc-button-padding-block:var(--p-space-100);--pc-button-padding-inline:var(--p-space-200);min-height:var(--p-height-700);min-width:var(--p-width-700)}@media (min-width: 48em){.Polaris-Button--sizeMicro{min-height:var(--p-height-600);min-width:var(--p-width-600)}}.Polaris-Button--sizeSlim,.Polaris-Button--sizeMedium{--pc-button-padding-block:var(--p-space-150);--pc-button-padding-inline:var(--p-space-300);min-height:var(--p-height-800);min-width:var(--p-width-800)}@media (min-width: 48em){.Polaris-Button--sizeSlim,.Polaris-Button--sizeMedium{min-height:var(--p-height-700);min-width:var(--p-width-700)}}.Polaris-Button--sizeLarge{--pc-button-padding-block:var(--p-space-150);--pc-button-padding-inline:var(--p-space-300);min-height:var(--p-height-900);min-width:var(--p-height-900)}@media (min-width: 48em){.Polaris-Button--sizeLarge{min-height:var(--p-height-800);min-width:var(--p-width-800)}}.Polaris-Button--textAlignCenter{justify-content:center;text-align:center}.Polaris-Button--textAlignStart,.Polaris-Button--textAlignLeft{justify-content:start;text-align:start}.Polaris-Button--textAlignEnd,.Polaris-Button--textAlignRight{justify-content:end;text-align:end}.Polaris-Button--fullWidth{width:100%}.Polaris-Button--iconOnly{--pc-button-padding-block:var(--p-space-100);--pc-button-padding-inline:var(--p-space-100)}.Polaris-Button--iconOnly:is(.Polaris-Button--sizeLarge){--pc-button-padding-block:var(--p-space-150);--pc-button-padding-inline:var(--p-space-150)}.Polaris-Button--iconOnly:is(.Polaris-Button--sizeMicro){--pc-button-padding-block:var(--p-space-050);--pc-button-padding-inline:var(--p-space-050)}.Polaris-Button--iconOnly:is(.Polaris-Button--variantTertiary){margin:calc(var(--pc-button-padding-block)*-1) calc(var(--pc-button-padding-inline)*-1)}.Polaris-Button--iconOnly:is(.Polaris-Button--variantTertiary,.Polaris-Button--variantPlain):not(.Polaris-Button--toneCritical){--pc-button-icon-fill:var(--p-color-icon-secondary);--pc-button-icon-fill_hover:var(--p-color-icon-secondary-hover);--pc-button-icon-fill_active:var(--p-color-icon-secondary-active);--pc-button-icon-fill_disabled:var(--p-color-icon-disabled)}.Polaris-Button--iconOnly:is(.Polaris-Button--variantMonochromePlain){--pc-button-icon-fill:currentColor;--pc-button-icon-fill_hover:var(--p-color-icon-secondary-hover);--pc-button-icon-fill_active:var(--p-color-icon-secondary-active);--pc-button-icon-fill_disabled:var(--p-color-icon-disabled)}.Polaris-Button--iconOnly:is(.Polaris-Button--variantPlain,.Polaris-Button--variantMonochromePlain){--pc-button-padding-block:0;--pc-button-padding-inline:0;margin:0;min-height:var(--p-height-500);min-width:var(--p-width-500)}.Polaris-Button--iconWithText:not(.Polaris-Button--variantPlain,.Polaris-Button--variantMonochromePlain){padding-left:calc(var(--pc-button-padding-inline)*.5)}.Polaris-Button--disclosure:not(.Polaris-Button--variantPlain,.Polaris-Button--variantMonochromePlain){padding-right:calc(var(--pc-button-padding-inline)*.5)}.Polaris-Button--disclosure:is(.Polaris-Button--textAlignStart,.Polaris-Button--textAlignLeft){justify-content:space-between}.Polaris-Button--loading{color:transparent}.Polaris-Button--pressable:active:not(.Polaris-Button--variantTertiary,.Polaris-Button--variantPlain,.Polaris-Button--variantMonochromePlain)>*{transform:translate3d(0,.0625rem,0)}.Polaris-Button--hidden{visibility:hidden}.Polaris-Button__Icon{margin:calc(var(--p-space-050)*-1) 0}.Polaris-Button__Spinner{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.Polaris-Button__Spinner svg{fill:var(--pc-button-icon-fill_disabled);vertical-align:middle}[data-buttongroup-variant=segmented]>*:not(:first-child) .Polaris-Button:is(.Polaris-Button--variantPrimary){margin-left:calc(var(--p-space-025)*-1)}[data-buttongroup-variant=segmented]>*:not(:first-child) .Polaris-Button{border-top-left-radius:var(--p-border-radius-0);border-bottom-left-radius:var(--p-border-radius-0)}[data-buttongroup-variant=segmented]>*:not(:last-child) .Polaris-Button{border-top-right-radius:var(--p-border-radius-0);border-bottom-right-radius:var(--p-border-radius-0)}[data-buttongroup-full-width=true] .Polaris-Button{width:100%}@media (min-width: 48em){[data-buttongroup-full-width=true] .Polaris-Button{white-space:nowrap}}[data-buttongroup-connected-top=true]>*:first-child .Polaris-Button{border-top-left-radius:var(--p-border-radius-0)}[data-buttongroup-connected-top=true]>*:last-child .Polaris-Button{border-top-right-radius:var(--p-border-radius-0)}.Polaris-SettingAction{display:flex;flex-wrap:wrap;align-items:center;margin-top:calc(var(--p-space-400)*-1);margin-left:calc(var(--p-space-400)*-1)}.Polaris-SettingAction__Setting,.Polaris-SettingAction__Action{flex:0 0 auto;margin-top:var(--p-space-400);margin-left:var(--p-space-400);max-width:calc(100% - var(--p-space-400));min-width:0}.Polaris-SettingAction__Setting{flex:1 0 21.875rem}@media (min-width: 48em){.Polaris-SettingAction__Action{margin-top:var(--p-space-600)}}.Polaris-Box--listReset{list-style-type:none;margin-block-start:0;margin-block-end:0;outline:none;padding-inline-start:0}.Polaris-Box{--pc-box-padding-block-end-xs: initial;--pc-box-padding-block-end-sm: initial;--pc-box-padding-block-end-md: initial;--pc-box-padding-block-end-lg: initial;--pc-box-padding-block-end-xl: initial;padding-block-end:var(--pc-box-padding-block-end-xs);--pc-box-padding-block-start-xs: initial;--pc-box-padding-block-start-sm: initial;--pc-box-padding-block-start-md: initial;--pc-box-padding-block-start-lg: initial;--pc-box-padding-block-start-xl: initial;padding-block-start:var(--pc-box-padding-block-start-xs);--pc-box-padding-inline-start-xs: initial;--pc-box-padding-inline-start-sm: initial;--pc-box-padding-inline-start-md: initial;--pc-box-padding-inline-start-lg: initial;--pc-box-padding-inline-start-xl: initial;padding-inline-start:var(--pc-box-padding-inline-start-xs);--pc-box-padding-inline-end-xs: initial;--pc-box-padding-inline-end-sm: initial;--pc-box-padding-inline-end-md: initial;--pc-box-padding-inline-end-lg: initial;--pc-box-padding-inline-end-xl: initial;padding-inline-end:var(--pc-box-padding-inline-end-xs);--pc-box-shadow:initial;--pc-box-background:initial;--pc-box-border-radius:initial;--pc-box-border-end-start-radius:var(--pc-box-border-radius);--pc-box-border-end-end-radius:var(--pc-box-border-radius);--pc-box-border-start-start-radius:var(--pc-box-border-radius);--pc-box-border-start-end-radius:var(--pc-box-border-radius);--pc-box-color:initial;--pc-box-min-height:initial;--pc-box-min-width:initial;--pc-box-max-width:initial;--pc-box-outline-color:initial;--pc-box-outline-style:initial;--pc-box-outline-width:initial;--pc-box-overflow-x:initial;--pc-box-overflow-y:initial;--pc-box-width:initial;--pc-box-border-style:initial;--pc-box-border-color:initial;--pc-box-border-width:0;--pc-box-border-block-start-width:var(--pc-box-border-width);--pc-box-border-block-end-width:var(--pc-box-border-width);--pc-box-border-inline-start-width:var(--pc-box-border-width);--pc-box-border-inline-end-width:var(--pc-box-border-width);--pc-box-inset-block-start:initial;--pc-box-inset-block-end:initial;--pc-box-inset-inline-start:initial;--pc-box-inset-inline-end:initial;inset-block-start:var(--pc-box-inset-block-start);inset-block-end:var(--pc-box-inset-block-end);inset-inline-start:var(--pc-box-inset-inline-start);inset-inline-end:var(--pc-box-inset-inline-end);background-color:var(--pc-box-background);box-shadow:var(--pc-box-shadow);border-end-start-radius:var(--pc-box-border-end-start-radius);border-end-end-radius:var(--pc-box-border-end-end-radius);border-start-start-radius:var(--pc-box-border-start-start-radius);border-start-end-radius:var(--pc-box-border-start-end-radius);border-color:var(--pc-box-border-color);border-style:var(--pc-box-border-style);border-block-start-width:var(--pc-box-border-block-start-width);border-block-end-width:var(--pc-box-border-block-end-width);border-inline-start-width:var(--pc-box-border-inline-start-width);border-inline-end-width:var(--pc-box-border-inline-end-width);color:var(--pc-box-color);min-height:var(--pc-box-min-height);min-width:var(--pc-box-min-width);max-width:var(--pc-box-max-width);outline-color:var(--pc-box-outline-color);outline-style:var(--pc-box-outline-style);outline-width:var(--pc-box-outline-width);overflow-x:var(--pc-box-overflow-x);overflow-y:var(--pc-box-overflow-y);width:var(--pc-box-width);-webkit-overflow-scrolling:touch}@media (min-width: 30.625em){.Polaris-Box{padding-block-end:var( --pc-box-padding-block-end-sm, var(--pc-box-padding-block-end-xs) )}}@media (min-width: 48em){.Polaris-Box{padding-block-end:var( --pc-box-padding-block-end-md, var( --pc-box-padding-block-end-sm, var(--pc-box-padding-block-end-xs) ) )}}@media (min-width: 65em){.Polaris-Box{padding-block-end:var( --pc-box-padding-block-end-lg, var( --pc-box-padding-block-end-md, var( --pc-box-padding-block-end-sm, var(--pc-box-padding-block-end-xs) ) ) )}}@media (min-width: 90em){.Polaris-Box{padding-block-end:var( --pc-box-padding-block-end-xl, var( --pc-box-padding-block-end-lg, var( --pc-box-padding-block-end-md, var( --pc-box-padding-block-end-sm, var(--pc-box-padding-block-end-xs) ) ) ) )}}@media (min-width: 30.625em){.Polaris-Box{padding-block-start:var( --pc-box-padding-block-start-sm, var(--pc-box-padding-block-start-xs) )}}@media (min-width: 48em){.Polaris-Box{padding-block-start:var( --pc-box-padding-block-start-md, var( --pc-box-padding-block-start-sm, var(--pc-box-padding-block-start-xs) ) )}}@media (min-width: 65em){.Polaris-Box{padding-block-start:var( --pc-box-padding-block-start-lg, var( --pc-box-padding-block-start-md, var( --pc-box-padding-block-start-sm, var(--pc-box-padding-block-start-xs) ) ) )}}@media (min-width: 90em){.Polaris-Box{padding-block-start:var( --pc-box-padding-block-start-xl, var( --pc-box-padding-block-start-lg, var( --pc-box-padding-block-start-md, var( --pc-box-padding-block-start-sm, var(--pc-box-padding-block-start-xs) ) ) ) )}}@media (min-width: 30.625em){.Polaris-Box{padding-inline-start:var( --pc-box-padding-inline-start-sm, var(--pc-box-padding-inline-start-xs) )}}@media (min-width: 48em){.Polaris-Box{padding-inline-start:var( --pc-box-padding-inline-start-md, var( --pc-box-padding-inline-start-sm, var(--pc-box-padding-inline-start-xs) ) )}}@media (min-width: 65em){.Polaris-Box{padding-inline-start:var( --pc-box-padding-inline-start-lg, var( --pc-box-padding-inline-start-md, var( --pc-box-padding-inline-start-sm, var(--pc-box-padding-inline-start-xs) ) ) )}}@media (min-width: 90em){.Polaris-Box{padding-inline-start:var( --pc-box-padding-inline-start-xl, var( --pc-box-padding-inline-start-lg, var( --pc-box-padding-inline-start-md, var( --pc-box-padding-inline-start-sm, var(--pc-box-padding-inline-start-xs) ) ) ) )}}@media (min-width: 30.625em){.Polaris-Box{padding-inline-end:var( --pc-box-padding-inline-end-sm, var(--pc-box-padding-inline-end-xs) )}}@media (min-width: 48em){.Polaris-Box{padding-inline-end:var( --pc-box-padding-inline-end-md, var( --pc-box-padding-inline-end-sm, var(--pc-box-padding-inline-end-xs) ) )}}@media (min-width: 65em){.Polaris-Box{padding-inline-end:var( --pc-box-padding-inline-end-lg, var( --pc-box-padding-inline-end-md, var( --pc-box-padding-inline-end-sm, var(--pc-box-padding-inline-end-xs) ) ) )}}@media (min-width: 90em){.Polaris-Box{padding-inline-end:var( --pc-box-padding-inline-end-xl, var( --pc-box-padding-inline-end-lg, var( --pc-box-padding-inline-end-md, var( --pc-box-padding-inline-end-sm, var(--pc-box-padding-inline-end-xs) ) ) ) )}}.Polaris-Box--visuallyHidden{position:absolute!important;top:0;width:.0625rem!important;height:.0625rem!important;margin:0!important;padding:0!important;overflow:hidden!important;clip-path:inset(50%)!important;border:0!important;white-space:nowrap!important}@media print{.Polaris-Box--printHidden{display:none!important}}.Polaris-ShadowBevel{overflow:clip;z-index:0;--pc-shadow-bevel-z-index: initial;--pc-shadow-bevel-box-shadow-xs: initial;--pc-shadow-bevel-box-shadow-sm: initial;--pc-shadow-bevel-box-shadow-md: initial;--pc-shadow-bevel-box-shadow-lg: initial;--pc-shadow-bevel-box-shadow-xl: initial;--pc-shadow-bevel-box-shadow: var(--pc-shadow-bevel-box-shadow-xs);--pc-shadow-bevel-border-radius-xs: initial;--pc-shadow-bevel-border-radius-sm: initial;--pc-shadow-bevel-border-radius-md: initial;--pc-shadow-bevel-border-radius-lg: initial;--pc-shadow-bevel-border-radius-xl: initial;--pc-shadow-bevel-border-radius: var(--pc-shadow-bevel-border-radius-xs);--pc-shadow-bevel-content-xs: initial;--pc-shadow-bevel-content-sm: initial;--pc-shadow-bevel-content-md: initial;--pc-shadow-bevel-content-lg: initial;--pc-shadow-bevel-content-xl: initial;--pc-shadow-bevel-content: var(--pc-shadow-bevel-content-xs);position:relative;box-shadow:var(--pc-shadow-bevel-box-shadow);border-radius:var(--pc-shadow-bevel-border-radius)}@media (min-width: 30.625em){.Polaris-ShadowBevel{--pc-shadow-bevel-box-shadow: var( --pc-shadow-bevel-box-shadow-sm, var(--pc-shadow-bevel-box-shadow-xs) )}}@media (min-width: 48em){.Polaris-ShadowBevel{--pc-shadow-bevel-box-shadow: var( --pc-shadow-bevel-box-shadow-md, var( --pc-shadow-bevel-box-shadow-sm, var(--pc-shadow-bevel-box-shadow-xs) ) )}}@media (min-width: 65em){.Polaris-ShadowBevel{--pc-shadow-bevel-box-shadow: var( --pc-shadow-bevel-box-shadow-lg, var( --pc-shadow-bevel-box-shadow-md, var( --pc-shadow-bevel-box-shadow-sm, var(--pc-shadow-bevel-box-shadow-xs) ) ) )}}@media (min-width: 90em){.Polaris-ShadowBevel{--pc-shadow-bevel-box-shadow: var( --pc-shadow-bevel-box-shadow-xl, var( --pc-shadow-bevel-box-shadow-lg, var( --pc-shadow-bevel-box-shadow-md, var( --pc-shadow-bevel-box-shadow-sm, var(--pc-shadow-bevel-box-shadow-xs) ) ) ) )}}@media (min-width: 30.625em){.Polaris-ShadowBevel{--pc-shadow-bevel-border-radius: var( --pc-shadow-bevel-border-radius-sm, var(--pc-shadow-bevel-border-radius-xs) )}}@media (min-width: 48em){.Polaris-ShadowBevel{--pc-shadow-bevel-border-radius: var( --pc-shadow-bevel-border-radius-md, var( --pc-shadow-bevel-border-radius-sm, var(--pc-shadow-bevel-border-radius-xs) ) )}}@media (min-width: 65em){.Polaris-ShadowBevel{--pc-shadow-bevel-border-radius: var( --pc-shadow-bevel-border-radius-lg, var( --pc-shadow-bevel-border-radius-md, var( --pc-shadow-bevel-border-radius-sm, var(--pc-shadow-bevel-border-radius-xs) ) ) )}}@media (min-width: 90em){.Polaris-ShadowBevel{--pc-shadow-bevel-border-radius: var( --pc-shadow-bevel-border-radius-xl, var( --pc-shadow-bevel-border-radius-lg, var( --pc-shadow-bevel-border-radius-md, var( --pc-shadow-bevel-border-radius-sm, var(--pc-shadow-bevel-border-radius-xs) ) ) ) )}}@media (min-width: 30.625em){.Polaris-ShadowBevel{--pc-shadow-bevel-content: var( --pc-shadow-bevel-content-sm, var(--pc-shadow-bevel-content-xs) )}}@media (min-width: 48em){.Polaris-ShadowBevel{--pc-shadow-bevel-content: var( --pc-shadow-bevel-content-md, var( --pc-shadow-bevel-content-sm, var(--pc-shadow-bevel-content-xs) ) )}}@media (min-width: 65em){.Polaris-ShadowBevel{--pc-shadow-bevel-content: var( --pc-shadow-bevel-content-lg, var( --pc-shadow-bevel-content-md, var( --pc-shadow-bevel-content-sm, var(--pc-shadow-bevel-content-xs) ) ) )}}@media (min-width: 90em){.Polaris-ShadowBevel{--pc-shadow-bevel-content: var( --pc-shadow-bevel-content-xl, var( --pc-shadow-bevel-content-lg, var( --pc-shadow-bevel-content-md, var( --pc-shadow-bevel-content-sm, var(--pc-shadow-bevel-content-xs) ) ) ) )}}.Polaris-ShadowBevel:before{content:var(--pc-shadow-bevel-content);position:absolute;top:0;left:0;right:0;bottom:0;z-index:var(--pc-shadow-bevel-z-index);box-shadow:var(--p-shadow-bevel-100);border-radius:var(--pc-shadow-bevel-border-radius);pointer-events:none;mix-blend-mode:luminosity}.Polaris-InlineStack{--pc-inline-stack-gap-xs: initial;--pc-inline-stack-gap-sm: initial;--pc-inline-stack-gap-md: initial;--pc-inline-stack-gap-lg: initial;--pc-inline-stack-gap-xl: initial;gap:var(--pc-inline-stack-gap-xs);--pc-inline-stack-flex-direction-xs: initial;--pc-inline-stack-flex-direction-sm: initial;--pc-inline-stack-flex-direction-md: initial;--pc-inline-stack-flex-direction-lg: initial;--pc-inline-stack-flex-direction-xl: initial;flex-direction:var(--pc-inline-stack-flex-direction-xs);display:flex;flex-wrap:var(--pc-inline-stack-wrap);align-items:var(--pc-inline-stack-block-align);justify-content:var(--pc-inline-stack-align)}@media (min-width: 30.625em){.Polaris-InlineStack{gap:var( --pc-inline-stack-gap-sm, var(--pc-inline-stack-gap-xs) )}}@media (min-width: 48em){.Polaris-InlineStack{gap:var( --pc-inline-stack-gap-md, var( --pc-inline-stack-gap-sm, var(--pc-inline-stack-gap-xs) ) )}}@media (min-width: 65em){.Polaris-InlineStack{gap:var( --pc-inline-stack-gap-lg, var( --pc-inline-stack-gap-md, var( --pc-inline-stack-gap-sm, var(--pc-inline-stack-gap-xs) ) ) )}}@media (min-width: 90em){.Polaris-InlineStack{gap:var( --pc-inline-stack-gap-xl, var( --pc-inline-stack-gap-lg, var( --pc-inline-stack-gap-md, var( --pc-inline-stack-gap-sm, var(--pc-inline-stack-gap-xs) ) ) ) )}}@media (min-width: 30.625em){.Polaris-InlineStack{flex-direction:var( --pc-inline-stack-flex-direction-sm, var(--pc-inline-stack-flex-direction-xs) )}}@media (min-width: 48em){.Polaris-InlineStack{flex-direction:var( --pc-inline-stack-flex-direction-md, var( --pc-inline-stack-flex-direction-sm, var(--pc-inline-stack-flex-direction-xs) ) )}}@media (min-width: 65em){.Polaris-InlineStack{flex-direction:var( --pc-inline-stack-flex-direction-lg, var( --pc-inline-stack-flex-direction-md, var( --pc-inline-stack-flex-direction-sm, var(--pc-inline-stack-flex-direction-xs) ) ) )}}@media (min-width: 90em){.Polaris-InlineStack{flex-direction:var( --pc-inline-stack-flex-direction-xl, var( --pc-inline-stack-flex-direction-lg, var( --pc-inline-stack-flex-direction-md, var( --pc-inline-stack-flex-direction-sm, var(--pc-inline-stack-flex-direction-xs) ) ) ) )}}.Polaris-BlockStack{--pc-block-stack-gap-xs: initial;--pc-block-stack-gap-sm: initial;--pc-block-stack-gap-md: initial;--pc-block-stack-gap-lg: initial;--pc-block-stack-gap-xl: initial;gap:var(--pc-block-stack-gap-xs);--pc-block-stack-align:initial;--pc-block-stack-inline-align:initial;--pc-block-stack-order:initial;display:flex;flex-direction:var(--pc-block-stack-order);align-items:var(--pc-block-stack-inline-align);justify-content:var(--pc-block-stack-align)}@media (min-width: 30.625em){.Polaris-BlockStack{gap:var( --pc-block-stack-gap-sm, var(--pc-block-stack-gap-xs) )}}@media (min-width: 48em){.Polaris-BlockStack{gap:var( --pc-block-stack-gap-md, var( --pc-block-stack-gap-sm, var(--pc-block-stack-gap-xs) ) )}}@media (min-width: 65em){.Polaris-BlockStack{gap:var( --pc-block-stack-gap-lg, var( --pc-block-stack-gap-md, var( --pc-block-stack-gap-sm, var(--pc-block-stack-gap-xs) ) ) )}}@media (min-width: 90em){.Polaris-BlockStack{gap:var( --pc-block-stack-gap-xl, var( --pc-block-stack-gap-lg, var( --pc-block-stack-gap-md, var( --pc-block-stack-gap-sm, var(--pc-block-stack-gap-xs) ) ) ) )}}.Polaris-BlockStack--listReset{list-style-type:none;margin-block-start:0;margin-block-end:0;padding-inline-start:0}.Polaris-BlockStack--fieldsetReset{border:none;margin:0;padding:0}.Polaris-Label{-webkit-tap-highlight-color:transparent}.Polaris-Label--hidden{position:absolute!important;top:0;width:.0625rem!important;height:.0625rem!important;margin:0!important;padding:0!important;overflow:hidden!important;clip-path:inset(50%)!important;border:0!important;white-space:nowrap!important}.Polaris-Label__Text{display:block;flex:1 1 auto;color:currentColor;-webkit-tap-highlight-color:transparent}.Polaris-Label__RequiredIndicator:after{content:"*";color:var(--p-color-text-critical);margin-left:var(--p-space-100)}.Polaris-InlineError{display:flex;color:var(--p-color-text-critical);fill:var(--p-color-text-critical)}.Polaris-InlineError__Icon{fill:var(--p-color-text-critical);margin-left:calc(var(--p-space-100)*-1);margin-right:var(--p-space-200)}.Polaris-InlineError__Icon svg{margin-left:var(--p-space-050);margin-right:var(--p-space-050)}.Polaris-Labelled--hidden>.Polaris-Labelled__LabelWrapper{position:absolute!important;top:0;width:.0625rem!important;height:.0625rem!important;margin:0!important;padding:0!important;overflow:hidden!important;clip-path:inset(50%)!important;border:0!important;white-space:nowrap!important}.Polaris-Labelled--disabled>.Polaris-Labelled__LabelWrapper{color:var(--p-color-text-disabled)}.Polaris-Labelled--disabled>.Polaris-Labelled__HelpText>span{color:var(--p-color-text-disabled)}.Polaris-Labelled--readOnly>.Polaris-Labelled__LabelWrapper{color:var(--p-color-text-secondary)}.Polaris-Labelled__LabelWrapper{word-wrap:break-word;word-break:break-word;overflow-wrap:break-word;display:flex;flex-wrap:wrap;justify-content:space-between;align-items:baseline;margin-bottom:var(--p-space-100)}.Polaris-Labelled__HelpText{margin-top:var(--p-space-100)}.Polaris-Labelled__Error{word-wrap:break-word;word-break:break-word;overflow-wrap:break-word;margin-top:var(--p-space-100)}.Polaris-Labelled__Action{flex:0 0 auto}.Polaris-Connected{--pc-connected-item:10;--pc-connected-primary:20;--pc-connected-focused:30;position:relative;display:flex;align-items:center}.Polaris-Connected__Item{position:relative;z-index:var(--pc-connected-item);flex:0 0 auto}.Polaris-Connected__Item:not(:first-child){margin-left:var(--p-space-100)}.Polaris-Connected__Item--primary{z-index:var(--pc-connected-primary);flex:1 1 auto}.Polaris-Connected__Item--focused{z-index:var(--pc-connected-focused)}.Polaris-TextField{--pc-text-field-contents:20;--pc-text-field-backdrop:10;font-size:var(--p-font-size-325);font-weight:var(--p-font-weight-regular);line-height:var(--p-font-line-height-500);border:none;letter-spacing:initial;position:relative;display:flex;align-items:center;color:var(--p-color-text);cursor:text}.Polaris-TextField svg{fill:var(--p-color-icon-secondary)}.Polaris-TextField:focus-within .Polaris-TextField__ClearButton{display:block;visibility:visible;opacity:1}.Polaris-TextField:focus-within .Polaris-TextField__Loading:has(+.Polaris-TextField__ClearButton){margin-right:0}.Polaris-TextField:not(:focus-within) .Polaris-TextField__ClearButton{display:none;visibility:hidden;opacity:0}.Polaris-TextField:not(.Polaris-TextField--disabled):not(.Polaris-TextField--error):not(.Polaris-TextField--readOnly)>.Polaris-TextField__Input:hover:not(:focus-visible)~.Polaris-TextField__Backdrop{border-color:var(--p-color-input-border-hover);background-color:var(--p-color-input-bg-surface-hover)}.Polaris-TextField--multiline{padding:0;flex-wrap:wrap}.Polaris-TextField--multiline>.Polaris-TextField__Input{overflow:auto;padding-left:var(--p-space-300);padding-right:var(--p-space-300);resize:none}.Polaris-TextField--hasValue{color:var(--p-color-text)}.Polaris-TextField--focus>.Polaris-TextField__Input,.Polaris-TextField--focus>.Polaris-TextField__VerticalContent,.Polaris-TextField--focus>.Polaris-TextField__InputAndSuffixWrapper,.Polaris-TextField:focus-within>.Polaris-TextField__Input,.Polaris-TextField__Input:focus-visible{outline:none}.Polaris-TextField--focus>.Polaris-TextField__Input~.Polaris-TextField__Backdrop,.Polaris-TextField--focus>.Polaris-TextField__VerticalContent~.Polaris-TextField__Backdrop,.Polaris-TextField--focus>.Polaris-TextField__InputAndSuffixWrapper~.Polaris-TextField__Backdrop,.Polaris-TextField:focus-within>.Polaris-TextField__Input~.Polaris-TextField__Backdrop,.Polaris-TextField__Input:focus-visible~.Polaris-TextField__Backdrop{border-color:var(--p-color-input-border-active);border-width:var(--p-border-width-025);background-color:var(--p-color-input-bg-surface-active);outline:var(--p-border-width-050) solid var(--p-color-border-focus);outline-offset:var(--p-space-025)}.Polaris-TextField--focus>.Polaris-TextField__Input~.Polaris-TextField__Backdrop:after,.Polaris-TextField--focus>.Polaris-TextField__VerticalContent~.Polaris-TextField__Backdrop:after,.Polaris-TextField--focus>.Polaris-TextField__InputAndSuffixWrapper~.Polaris-TextField__Backdrop:after,.Polaris-TextField:focus-within>.Polaris-TextField__Input~.Polaris-TextField__Backdrop:after,.Polaris-TextField__Input:focus-visible~.Polaris-TextField__Backdrop:after{content:none}.Polaris-TextField--error .Polaris-TextField__Input:hover~.Polaris-TextField__Backdrop,.Polaris-TextField--error .Polaris-TextField__Input:focus-visible~.Polaris-TextField__Backdrop{border-color:var(--p-color-border-critical-secondary);background-color:var(--p-color-bg-surface-critical)}.Polaris-TextField--error .Polaris-TextField__Input:active~.Polaris-TextField__Backdrop,.Polaris-TextField--error .Polaris-TextField__Input:focus-visible~.Polaris-TextField__Backdrop{border-width:var(--p-border-width-025)}.Polaris-TextField--error>.Polaris-TextField__Input~.Polaris-TextField__Backdrop,.Polaris-TextField--error>.Polaris-TextField__InputAndSuffixWrapper~.Polaris-TextField__Backdrop{background-color:var(--p-color-bg-surface-critical);border-color:var(--p-color-border-critical-secondary)}.Polaris-TextField--error>.Polaris-TextField__Input~.Polaris-TextField__Backdrop:after,.Polaris-TextField--error>.Polaris-TextField__InputAndSuffixWrapper~.Polaris-TextField__Backdrop:after{border-color:var(--p-color-border-focus)}.Polaris-TextField--readOnly.Polaris-TextField--readOnly>.Polaris-TextField__Input{color:var(--p-color-text-secondary)}.Polaris-TextField--readOnly.Polaris-TextField--readOnly>.Polaris-TextField__Backdrop{background-color:var(--p-color-bg-surface-disabled);border-color:transparent}.Polaris-TextField--readOnly.Polaris-TextField--readOnly.Polaris-TextField--focus>.Polaris-TextField__Backdrop{background-color:var(--p-color-bg-surface-disabled);border-color:transparent}.Polaris-TextField--toneMagic .Polaris-TextField__Prefix,.Polaris-TextField--toneMagic .Polaris-TextField__Suffix{color:var(--p-color-text-magic-secondary)}.Polaris-TextField--toneMagic>.Polaris-TextField__Input{color:var(--p-color-text-magic)}.Polaris-TextField--toneMagic>.Polaris-TextField__Backdrop{background-color:var(--p-color-bg-surface-magic);border-color:var(--p-color-border-magic-secondary)}.Polaris-TextField--toneMagic svg{fill:var(--p-color-icon-magic)}.Polaris-TextField--toneMagic:not(.Polaris-TextField--disabled):not(.Polaris-TextField--error):not(.Polaris-TextField--readOnly)>.Polaris-TextField__Input:hover:not(:focus-visible)~.Polaris-TextField__Backdrop{background-color:var(--p-color-bg-surface-magic-hover);border-color:var(--p-color-border-magic-secondary-hover)}.Polaris-TextField--toneMagic.Polaris-TextField--focus>.Polaris-TextField__Input,.Polaris-TextField--toneMagic.Polaris-TextField--focus>.Polaris-TextField__VerticalContent,.Polaris-TextField--toneMagic.Polaris-TextField:focus-within>.Polaris-TextField__Input,.Polaris-TextField--toneMagic.Polaris-TextField__Input:focus-visible{color:var(--p-color-text)}.Polaris-TextField--toneMagic.Polaris-TextField--focus .Polaris-TextField__Prefix,.Polaris-TextField--toneMagic.Polaris-TextField--focus .Polaris-TextField__Suffix{color:var(--p-color-text-secondary)}.Polaris-TextField--toneMagic.Polaris-TextField--focus svg{fill:var(--p-color-icon-secondary)}.Polaris-TextField--disabled{color:var(--p-color-text-disabled);cursor:initial}.Polaris-TextField--disabled>.Polaris-TextField__Backdrop{border:none;background-color:var(--p-color-bg-surface-disabled)}.Polaris-TextField--disabled svg{fill:var(--p-color-icon-disabled)}.Polaris-TextField__InputAndSuffixWrapper{display:flex;align-items:center;flex:1 1;width:100%}.Polaris-TextField__AutoSizeWrapper{position:relative;display:inline-grid;align-items:center}.Polaris-TextField__AutoSizeWrapper:after{content:attr(data-auto-size-value);visibility:hidden;white-space:pre-wrap;max-height:var(--pg-control-height)}.Polaris-TextField__AutoSizeWrapper:after,.Polaris-TextField__AutoSizeWrapper input,.Polaris-TextField__AutoSizeWrapper textarea{width:auto;min-width:1em;grid-area:1 / 2;padding:0 var(--p-space-300);font-size:var(--p-font-size-325);font-weight:var(--p-font-weight-regular);line-height:var(--p-font-line-height-500)}.Polaris-TextField__Prefix+.Polaris-TextField__InputAndSuffixWrapper .Polaris-TextField__AutoSizeWrapper:after,.Polaris-TextField__Prefix+.Polaris-TextField__InputAndSuffixWrapper input,.Polaris-TextField__Prefix+.Polaris-TextField__InputAndSuffixWrapper textarea{padding-left:0}.Polaris-TextField__AutoSizeWrapperWithSuffix:after,.Polaris-TextField__AutoSizeWrapperWithSuffix input,.Polaris-TextField__AutoSizeWrapperWithSuffix textarea{padding-right:0}.Polaris-TextField__Input{font-size:var(--p-font-size-325);font-weight:var(--p-font-weight-regular);line-height:var(--p-font-line-height-500);letter-spacing:initial;position:relative;z-index:var(--pc-text-field-contents);display:flex;flex:1 1;width:100%;min-width:0;min-height:var(--pg-control-height);padding:var(--p-space-150) var(--p-space-300);background:none;border:none;font-family:var(--p-font-family-sans);-webkit-appearance:none;-moz-appearance:none;appearance:none;caret-color:var(--p-color-text);color:var(--p-color-text);align-items:center}.Polaris-TextField__Prefix+.Polaris-TextField__Input{padding-left:0}.Polaris-TextField__Input:disabled{opacity:1;background:none;color:var(--p-color-text-disabled);-webkit-text-fill-color:var(--p-color-text-disabled)}.Polaris-TextField__Input:invalid{box-shadow:none}.Polaris-TextField__Input::placeholder{color:var(--p-color-text-secondary)}.Polaris-TextField__Input[type=number]{-webkit-appearance:textfield;-moz-appearance:textfield;appearance:textfield}.Polaris-TextField__Input[type=number]::-webkit-outer-spin-button,.Polaris-TextField__Input[type=number]::-webkit-inner-spin-button{-webkit-appearance:none;-moz-appearance:none;appearance:none;margin:0}.Polaris-TextField__Input:-webkit-autofill{border-radius:var(--p-border-radius-100)}.Polaris-TextField__Input.Polaris-TextField--suggestion::selection{color:var(--p-color-text-disabled);background:transparent}.Polaris-TextField--borderless .Polaris-TextField__Input,.Polaris-TextField--borderless .Polaris-TextField__Backdrop{border:none;min-height:var(--p-space-800)}.Polaris-TextField--slim .Polaris-TextField__Input,.Polaris-TextField--slim .Polaris-TextField__Backdrop{min-height:1.75rem;padding-block:var(--p-space-050)}.Polaris-TextField--slim.Polaris-TextField--borderless.Polaris-TextField--slim.Polaris-TextField--borderless .Polaris-TextField__Input,.Polaris-TextField--slim.Polaris-TextField--borderless.Polaris-TextField--slim.Polaris-TextField--borderless .Polaris-TextField__Backdrop{outline-offset:0}.Polaris-TextField__Input--hasClearButton[type=search]::-webkit-search-cancel-button{-webkit-appearance:none;-moz-appearance:none;appearance:none}.Polaris-TextField__Input--suffixed{padding-right:0}.Polaris-TextField__Input--alignRight{text-align:right}.Polaris-TextField__Input--alignLeft{text-align:left}.Polaris-TextField__Input--alignCenter{text-align:center}.Polaris-TextField__Input--autoSize{flex:initial;width:auto}.Polaris-TextField__Backdrop{position:relative;position:absolute;z-index:var(--pc-text-field-backdrop);top:0;right:0;bottom:0;left:0;background-color:var(--p-color-input-bg-surface);border:var(--p-border-width-0165) solid var(--p-color-input-border);border-top-color:#898f94;border-radius:var(--p-border-radius-200);pointer-events:none}.Polaris-TextField__Backdrop:after{content:"";position:absolute;z-index:1;top:-.125rem;right:-.125rem;bottom:-.125rem;left:-.125rem;display:block;pointer-events:none;box-shadow:0 0 0 -.125rem var(--p-color-border-focus);border-radius:var(--p-border-radius-100)}.Polaris-TextField__Prefix,.Polaris-TextField__Suffix{position:relative;z-index:var(--pc-text-field-contents);flex:0 0 auto;color:var(--p-color-text-secondary);-webkit-user-select:none;user-select:none}.Polaris-TextField__Prefix{margin-left:var(--p-space-300);margin-right:var(--p-space-150)}.Polaris-TextField__PrefixIcon{margin-left:var(--p-space-200);margin-right:var(--p-space-100)}.Polaris-TextField__Suffix{margin-left:var(--p-space-100);margin-right:var(--p-space-300)}.Polaris-TextField__VerticalContent{position:relative;z-index:var(--pc-text-field-contents);color:var(--p-color-text-secondary);padding:var(--p-space-200) var(--p-space-200) 0 var(--p-space-200);max-height:8.75rem;overflow:auto;border:var(--p-border-width-025) solid transparent;width:100%}.Polaris-TextField__VerticalContent>.Polaris-TextField__Input{padding-left:0;padding-right:0}@media (min-width: 30.625em){.Polaris-TextField__VerticalContent{max-height:20.5rem}}.Polaris-TextField__Loading{z-index:var(--pc-text-field-contents);margin-right:var(--p-space-300)}.Polaris-TextField__Loading svg{display:block}.Polaris-TextField__CharacterCount{color:var(--p-color-text-secondary);z-index:var(--pc-text-field-contents);margin:0 var(--p-space-300) 0 var(--p-space-100);pointer-events:none;text-align:right}.Polaris-TextField__AlignFieldBottom{align-self:flex-end;width:100%;padding-bottom:var(--p-space-200)}.Polaris-TextField__ClearButton{position:relative;-webkit-appearance:none;-moz-appearance:none;appearance:none;margin:0;padding:0;background:none;border:none;font-size:inherit;line-height:inherit;color:inherit;cursor:pointer;z-index:var(--pc-text-field-contents);margin:0 var(--p-space-300) 0 var(--p-space-100);transition:visibility var(--p-motion-duration-200) var(--p-motion-ease-in-out),opacity var(--p-motion-duration-200) var(--p-motion-ease-in-out)}.Polaris-TextField__ClearButton:after{content:"";position:absolute;z-index:1;top:-.0625rem;right:-.0625rem;bottom:-.0625rem;left:-.0625rem;display:block;pointer-events:none;box-shadow:0 0 0 -.0625rem var(--p-color-border-focus);border-radius:var(--p-border-radius-100)}.Polaris-TextField__ClearButton:focus{outline:none}.Polaris-TextField__ClearButton:focus-visible:enabled:after{box-shadow:0 0 0 .125rem var(--p-color-border-focus);outline:var(--p-border-width-025) solid transparent}.Polaris-TextField__ClearButton:disabled{cursor:default}.Polaris-TextField__Spinner{z-index:var(--pc-text-field-contents);margin:var(--p-space-100);color:var(--p-color-icon);display:flex;visibility:hidden;align-self:stretch;flex-direction:column;width:1.375rem;cursor:pointer;justify-content:center}.Polaris-TextField--focus .Polaris-TextField__Spinner,.Polaris-TextField:hover .Polaris-TextField__Spinner{visibility:visible}.Polaris-TextField__SpinnerIcon{position:absolute;-webkit-user-select:none;user-select:none}.Polaris-TextField__SpinnerIcon svg{fill:var(--p-color-icon)}.Polaris-TextField__Resizer{position:absolute;bottom:0;left:0;right:0;height:0;visibility:hidden;overflow:hidden}.Polaris-TextField__DummyInput{font-size:var(--p-font-size-325);font-weight:var(--p-font-weight-regular);line-height:var(--p-font-line-height-500);border:none;letter-spacing:initial;padding:var(--pg-control-vertical-padding) var(--p-space-300);word-wrap:break-word;word-break:break-word;overflow-wrap:break-word;white-space:pre-wrap}.Polaris-TextField__Segment{background:var(--p-color-bg-fill-tertiary);border-radius:var(--p-border-radius-100);display:flex;flex:1 1;justify-content:center;align-items:center;-webkit-appearance:none;-moz-appearance:none;appearance:none;border:none}.Polaris-TextField__Segment:hover{background:var(--p-color-bg-fill-tertiary-hover)}.Polaris-TextField__Segment:focus{outline:none}.Polaris-TextField__Segment:active{background:var(--p-color-bg-fill-tertiary-active)}.Polaris-TextField__Segment:first-child{margin-bottom:0;border-bottom-left-radius:0;border-bottom-right-radius:0}.Polaris-TextField__Segment:last-child{border-top-left-radius:0;border-top-right-radius:0}.Polaris-TextField__Segment:not(:first-child){margin-top:0}.Polaris-TextField--monospaced{font-family:var(--p-font-family-mono)}.Polaris-Scrollable{--pc-scrollable-shadow-size:var(--p-space-500);--pc-scrollable-shadow-color:rgba(0, 0, 0, .15);--pc-scrollable-shadow-bottom:0 var(--pc-scrollable-shadow-size) var(--pc-scrollable-shadow-size) var(--pc-scrollable-shadow-size) var(--pc-scrollable-shadow-color);--pc-scrollable-shadow-top:0 calc(var(--pc-scrollable-shadow-size)*-1) var(--pc-scrollable-shadow-size) var(--pc-scrollable-shadow-size) var(--pc-scrollable-shadow-color);--pc-scrollable-max-height:none;-webkit-overflow-scrolling:touch;position:relative;max-height:var(--pc-scrollable-max-height);overflow-x:hidden;overflow-y:hidden;isolation:isolate}.Polaris-Scrollable:focus{outline:var(--p-border-width-050) solid var(--p-color-border-focus);outline-offset:var(--p-space-050)}.Polaris-Scrollable.Polaris-Scrollable--hasTopShadow:before,.Polaris-Scrollable.Polaris-Scrollable--hasBottomShadow:before,.Polaris-Scrollable.Polaris-Scrollable--hasTopShadow:after,.Polaris-Scrollable.Polaris-Scrollable--hasBottomShadow:after{content:"";position:sticky;left:0;display:block;pointer-events:none;height:var(--p-space-0);width:100%;z-index:32}.Polaris-Scrollable.Polaris-Scrollable--hasTopShadow:before,.Polaris-Scrollable.Polaris-Scrollable--hasBottomShadow:before{top:0}.Polaris-Scrollable.Polaris-Scrollable--hasTopShadow:after,.Polaris-Scrollable.Polaris-Scrollable--hasBottomShadow:after{bottom:0}.Polaris-Scrollable.Polaris-Scrollable--hasTopShadow:before{box-shadow:var(--pc-scrollable-shadow-top)}.Polaris-Scrollable.Polaris-Scrollable--hasBottomShadow:after{box-shadow:var(--pc-scrollable-shadow-bottom)}.Polaris-Scrollable--horizontal{overflow-x:auto}.Polaris-Scrollable--vertical{overflow-y:auto}.Polaris-Scrollable--scrollbarWidthThin{scrollbar-width:thin}.Polaris-Scrollable--scrollbarWidthNone{scrollbar-width:none}.Polaris-Scrollable--scrollbarWidthAuto{scrollbar-width:auto}.Polaris-Scrollable--scrollbarGutterStable{scrollbar-gutter:stable}.Polaris-Scrollable__scrollbarGutterStableboth--edges{scrollbar-gutter:stable both-edges}.Polaris-Badge{--pc-badge-horizontal-padding:var(--p-space-200);--pc-badge-vertical-padding:var(--p-space-050);display:inline-flex;align-items:center;padding:var(--pc-badge-vertical-padding) var(--pc-badge-horizontal-padding);background-color:var(--p-color-bg-fill-transparent-secondary);border-radius:var(--p-border-radius-200);color:var(--p-color-text-secondary);font-weight:var(--p-font-weight-medium)}.Polaris-Badge svg{fill:var(--p-color-text-secondary)}@media print{.Polaris-Badge{border:solid var(--p-border-width-025) var(--p-color-border)}}.Polaris-Badge--toneSuccess{background-color:var(--p-color-bg-fill-success-secondary);color:var(--p-color-text-success)}.Polaris-Badge--toneSuccess svg{fill:var(--p-color-icon-success)}.Polaris-Badge__toneSuccess--strong{color:var(--p-color-text-success-on-bg-fill);background-color:var(--p-color-bg-fill-success)}.Polaris-Badge__toneSuccess--strong svg{fill:var(--p-color-text-success-on-bg-fill)}.Polaris-Badge--toneInfo{background-color:var(--p-color-bg-fill-info-secondary);color:var(--p-color-text-info)}.Polaris-Badge--toneInfo svg{fill:var(--p-color-icon-info)}.Polaris-Badge__toneInfo--strong{color:var(--p-color-text-info-on-bg-fill);background-color:var(--p-color-bg-fill-info)}.Polaris-Badge__toneInfo--strong svg{fill:var(--p-color-text-info-on-bg-fill)}.Polaris-Badge--toneAttention{background-color:var(--p-color-bg-fill-caution-secondary);color:var(--p-color-text-caution)}.Polaris-Badge--toneAttention svg{fill:var(--p-color-icon-caution)}.Polaris-Badge__toneAttention--strong{color:var(--p-color-text-caution-on-bg-fill);background-color:var(--p-color-bg-fill-caution)}.Polaris-Badge__toneAttention--strong svg{fill:var(--p-color-text-caution-on-bg-fill)}.Polaris-Badge--toneWarning{background-color:var(--p-color-bg-fill-warning-secondary);color:var(--p-color-text-warning)}.Polaris-Badge--toneWarning svg{fill:var(--p-color-icon-warning)}.Polaris-Badge__toneWarning--strong{color:var(--p-color-text-warning-on-bg-fill);background-color:var(--p-color-bg-fill-warning)}.Polaris-Badge__toneWarning--strong svg{fill:var(--p-color-text-warning-on-bg-fill)}.Polaris-Badge--toneCritical{background-color:var(--p-color-bg-fill-critical-secondary);color:var(--p-color-text-critical)}.Polaris-Badge--toneCritical svg{fill:var(--p-color-icon-critical)}.Polaris-Badge__toneCritical--strong{color:var(--p-color-text-critical-on-bg-fill);background-color:var(--p-color-bg-fill-critical)}.Polaris-Badge__toneCritical--strong svg{fill:var(--p-color-text-critical-on-bg-fill)}.Polaris-Badge--toneNew{border:none;background-color:var(--p-color-bg-fill-transparent-secondary);color:var(--p-color-text-secondary);font-weight:var(--p-font-weight-bold);border-radius:var(--p-border-radius-200)}.Polaris-Badge--toneNew svg{fill:var(--p-color-text-secondary)}.Polaris-Badge--toneMagic{background-color:var(--p-color-bg-fill-magic-secondary);color:var(--p-color-text-magic)}.Polaris-Badge--toneMagic svg{fill:var(--p-color-text-magic)}.Polaris-Badge__toneRead--only{color:var(--p-color-text-secondary);background-color:transparent}.Polaris-Badge__toneRead--only svg{fill:var(--p-color-icon-secondary)}.Polaris-Badge--toneEnabled{color:var(--p-color-text)}.Polaris-Badge--toneEnabled svg{fill:var(--p-color-icon-success)}.Polaris-Badge--sizeLarge{padding:var(--p-space-100) var(--p-space-200)}.Polaris-Badge--withinFilter{border-radius:var(--p-border-radius-100)}.Polaris-Badge__Icon{margin:calc(var(--p-space-050)*-1) 0 calc(var(--p-space-050)*-1) calc(var(--p-space-200)*-1)}.Polaris-Badge__Icon svg{display:inline-block;vertical-align:top}.Polaris-Badge--sizeLarge .Polaris-Badge__Icon{margin:0 var(--p-space-100) 0 calc(var(--p-space-050)*-1)}.Polaris-Badge__Icon+*{margin-left:0}.Polaris-Badge__PipContainer{display:grid;align-items:center;margin-left:calc(var(--p-space-050)*-1);margin-right:var(--p-space-100)}.Polaris-Badge-Pip{--pc-pip-size:var(--p-space-200);--pc-pip-color:var(--p-color-text-secondary);--pc-border-width:.07813rem;display:inline-block;color:var(--pc-pip-color);height:var(--pc-pip-size);width:var(--pc-pip-size);border:var(--p-border-width-050) solid var(--pc-pip-color);flex-shrink:0;border-radius:.1875rem;border-width:var(--pc-border-width)}.Polaris-Badge-Pip--toneInfo{--pc-pip-color:var(--p-color-icon-info)}.Polaris-Badge-Pip--toneSuccess{--pc-pip-color:var(--p-color-icon-success)}.Polaris-Badge-Pip--toneNew{--pc-pip-color:var(--p-color-text-secondary)}.Polaris-Badge-Pip--toneAttention{--pc-pip-color:var(--p-color-icon-caution)}.Polaris-Badge-Pip--toneWarning{--pc-pip-color:var(--p-color-icon-warning)}.Polaris-Badge-Pip--toneCritical{--pc-pip-color:var(--p-color-icon-critical)}.Polaris-Badge-Pip--progressIncomplete{background:transparent}.Polaris-Badge-Pip--progressPartiallyComplete{background:linear-gradient(to top,currentColor,currentColor 50%,transparent 50%,transparent)}.Polaris-Badge-Pip--progressPartiallyComplete.Polaris-Badge-Pip{background:none;position:relative;overflow:hidden}.Polaris-Badge-Pip--progressPartiallyComplete.Polaris-Badge-Pip:after{content:"";position:absolute;top:calc(var(--pc-border-width)*-1);left:calc(var(--pc-border-width)*-1);width:.25rem;height:.5rem;margin:0 .1275rem;border-right:var(--pc-border-width) solid currentColor;border-left:var(--pc-border-width) solid currentColor;font-size:0;transform:rotate(-45deg)}@media print{.Polaris-Badge-Pip--progressPartiallyComplete{background:none;box-shadow:0 -6.375rem 0 -6.25rem currentColor inset}}.Polaris-Badge-Pip--progressComplete{background:currentColor}@media print{.Polaris-Badge-Pip--progressComplete{background:none;box-shadow:0 0 0 6.25rem currentColor inset}}.Polaris-ActionList__Item{-webkit-appearance:none;-moz-appearance:none;appearance:none;margin:0;padding:0;background:none;border:none;font-size:inherit;line-height:inherit;position:relative;--pc-action-list-item-min-height:var(--p-space-800);--pc-action-list-indented-item-margin:calc(var(--p-space-500) + var(--p-space-050));--pc-action-list-indented-item-width:calc(100% - var(--pc-action-list-indented-item-margin));--pc-action-list-item-vertical-padding:calc((var(--pc-action-list-item-min-height) - var(--p-font-line-height-500))/2);display:flex;align-items:center;width:100%;min-height:var(--pc-action-list-item-min-height);text-align:left;text-decoration:none;cursor:pointer;padding:var(--p-space-100) var(--p-space-150);border-radius:var(--p-border-radius-200);border-top:var(--p-border-width-025) solid transparent;color:inherit}.Polaris-ActionList__Item:focus{outline:none}.Polaris-ActionList__Item:after{content:"";position:absolute;z-index:1;top:-.0625rem;right:-.0625rem;bottom:-.0625rem;left:-.0625rem;display:block;pointer-events:none;box-shadow:0 0 0 -.0625rem var(--p-color-border-focus);border-radius:var(--p-border-radius-200)}.Polaris-ActionList__Item.Polaris-ActionList--default{--pc-action-list-image-size:1.25rem}@media (forced-colors: active){.Polaris-ActionList__Item{border:var(--p-border-width-025) solid transparent}}.Polaris-ActionList__Item:hover{background-color:var(--p-color-bg-surface-secondary-hover);text-decoration:none;outline:var(--p-border-width-050) solid transparent}.Polaris-ActionList__Item:active{background-color:var(--p-color-bg-surface-secondary-active)}.Polaris-ActionList__Item:active svg{fill:var(--p-color-icon)}.Polaris-ActionList__Item:focus-visible:not(:active){background-color:var(--p-color-bg-surface);outline:var(--p-border-width-050) solid var(--p-color-border-focus)}.Polaris-ActionList__Item:focus-visible:not(:active):after{content:none}.Polaris-ActionList__Item:visited{color:inherit}.Polaris-ActionList__Item.Polaris-ActionList--active{background-color:var(--p-color-bg-surface-secondary-selected);font-weight:var(--p-font-weight-semibold)}.Polaris-ActionList__Item.Polaris-ActionList--active svg{fill:var(--p-color-icon-active)}.Polaris-ActionList__Item.Polaris-ActionList--active:before{content:"";background-color:var(--p-color-bg-fill-brand);position:absolute;top:0;left:calc(var(--p-space-200)*-1);height:100%;display:block;width:var(--p-border-width-050);border-top-right-radius:var(--p-border-radius-100);border-bottom-right-radius:var(--p-border-radius-100);display:none}.Polaris-ActionList__Item.Polaris-ActionList--destructive{color:var(--p-color-text-critical)}.Polaris-ActionList__Item.Polaris-ActionList--destructive svg{fill:var(--p-color-text-critical)}.Polaris-ActionList__Item.Polaris-ActionList--destructive:hover{background-color:var(--p-color-bg-surface-critical-hover)}.Polaris-ActionList__Item.Polaris-ActionList--destructive:active,.Polaris-ActionList__Item.Polaris-ActionList--destructive.Polaris-ActionList--active{background-color:var(--p-color-bg-surface-critical-active)}.Polaris-ActionList__Item.Polaris-ActionList--disabled{background-image:none;color:var(--p-color-text-disabled);cursor:default}.Polaris-ActionList__Item.Polaris-ActionList--disabled:hover{background-color:unset}.Polaris-ActionList__Item.Polaris-ActionList--disabled .Polaris-ActionList__Prefix svg,.Polaris-ActionList__Item.Polaris-ActionList--disabled .Polaris-ActionList__Suffix svg{fill:var(--p-color-icon-disabled)}.Polaris-ActionList__Item.Polaris-ActionList--indented{--pc-action-list-image-size:1.5rem;position:relative;margin-left:var(--pc-action-list-indented-item-margin);max-width:var(--pc-action-list-indented-item-width)}.Polaris-ActionList__Item.Polaris-ActionList--indented:before{content:"";position:absolute;top:calc(var(--p-space-300)*-1);bottom:0;left:0;border-left:var(--p-border-width-025) solid var(--p-color-border);margin-left:calc(var(--p-space-150)*-1)}.Polaris-ActionList__Item.Polaris-ActionList--menu{--pc-action-list-image-size:1.5rem}.Polaris-ActionList__Prefix{display:flex;flex:0 0 auto;justify-content:center;align-items:center;height:var(--pc-action-list-image-size);width:var(--pc-action-list-image-size);border-radius:var(--p-border-radius-100);margin:calc(var(--pc-action-list-image-size)*-.5) 0 calc(var(--pc-action-list-image-size)*-.5) 0;background-size:cover;background-position:center center}.Polaris-ActionList__Prefix svg{fill:var(--p-color-icon)}.Polaris-ActionList__Suffix svg{fill:var(--p-color-icon)}.Polaris-ActionList__Text{min-width:0;max-width:100%;flex:1 1 auto}.Polaris-ThemeProvider--themeContainer{color:var(--p-color-text)}.Polaris-PositionedOverlay{position:absolute;z-index:var(--p-z-index-2)}.Polaris-PositionedOverlay--fixed{position:fixed}.Polaris-PositionedOverlay--calculating{visibility:hidden}.Polaris-PositionedOverlay--preventInteraction{pointer-events:none}.Polaris-Tooltip-TooltipOverlay{--pc-tooltip-chevron-x-pos: initial;--pc-tooltip-border-radius: initial;--pc-tooltip-padding: initial;--pc-tooltip-overlay-offset:var(--p-space-300);--pc-tooltip-shadow-bevel-z-index:1;--pc-tooltip-tail-z-index:calc(var(--pc-tooltip-shadow-bevel-z-index) + 1);margin:var(--pc-tooltip-overlay-offset) var(--p-space-100) var(--p-space-100);opacity:1;box-shadow:var(--p-shadow-400);pointer-events:none;-webkit-backface-visibility:hidden;backface-visibility:hidden;will-change:opacity,left,top,transform;transform:none;transition:none;min-width:4ch;position:relative;box-shadow:var(--p-shadow-300);border-radius:var(--pc-tooltip-border-radius)}.Polaris-Tooltip-TooltipOverlay:before{content:"";position:absolute;top:0;left:0;right:0;bottom:0;z-index:var(--pc-tooltip-shadow-bevel-z-index);box-shadow:var(--p-shadow-bevel-100);border-radius:var(--pc-tooltip-border-radius);pointer-events:none;mix-blend-mode:luminosity}@media screen and (-ms-high-contrast: active){.Polaris-Tooltip-TooltipOverlay{border:var(--p-border-width-050) solid windowText}}.Polaris-Tooltip-TooltipOverlay .Polaris-Tooltip-TooltipOverlay__Tail{position:absolute;top:calc(var(--p-space-200)*-1 + .05rem);left:calc(var(--pc-tooltip-chevron-x-pos) - var(--p-space-150) - var(--p-space-400));z-index:var(--pc-tooltip-tail-z-index)}.Polaris-Tooltip-TooltipOverlay.Polaris-Tooltip-TooltipOverlay--positionedAbove:after{top:auto;bottom:calc(var(--p-space-400)*-1);border-color:var(--p-color-bg-surface) transparent transparent transparent}.Polaris-Tooltip-TooltipOverlay.Polaris-Tooltip-TooltipOverlay--positionedAbove .Polaris-Tooltip-TooltipOverlay__Tail{top:unset;bottom:calc(var(--p-space-200)*-1);filter:drop-shadow(0 .1875rem .125rem rgba(26,26,26,.1))}.Polaris-Tooltip-TooltipOverlay--measuring{opacity:0}.Polaris-Tooltip-TooltipOverlay--measured:not(.Polaris-Tooltip-TooltipOverlay--instant){animation:var(--p-motion-keyframes-appear-below) var(--p-motion-duration-50) var(--p-motion-ease-out) var(--p-motion-duration-100) 1 both}@media (prefers-reduced-motion){.Polaris-Tooltip-TooltipOverlay--measured:not(.Polaris-Tooltip-TooltipOverlay--instant){animation:none}}.Polaris-Tooltip-TooltipOverlay--measured.Polaris-Tooltip-TooltipOverlay--positionedAbove:not(.Polaris-Tooltip-TooltipOverlay--instant){animation:var(--p-motion-keyframes-appear-above) var(--p-motion-duration-50) var(--p-motion-ease-out) var(--p-motion-duration-100) 1 both}@media (prefers-reduced-motion){.Polaris-Tooltip-TooltipOverlay--measured.Polaris-Tooltip-TooltipOverlay--positionedAbove:not(.Polaris-Tooltip-TooltipOverlay--instant){animation:none}}.Polaris-Tooltip-TooltipOverlay--positionedAbove{margin:var(--p-space-100) var(--p-space-100) var(--pc-tooltip-overlay-offset)}.Polaris-Tooltip-TooltipOverlay__Content{position:relative;background-color:var(--p-color-bg-surface);color:var(--p-color-text);word-break:break-word;border-radius:var(--pc-tooltip-border-radius);padding:var(--pc-tooltip-padding)}.Polaris-Tooltip-TooltipOverlay--default{max-width:12.5rem}.Polaris-Tooltip-TooltipOverlay--wide{max-width:17.1875rem}[data-polaris-tooltip-activator]{outline:0;position:relative}[data-polaris-tooltip-activator]:after{content:"";position:absolute;z-index:1;top:-.0625rem;right:-.0625rem;bottom:-.0625rem;left:-.0625rem;display:block;pointer-events:none;box-shadow:0 0 0 -.0625rem var(--p-color-border-focus);border-radius:var(--p-border-radius-100)}[data-polaris-tooltip-activator]:focus-visible:after{box-shadow:0 0 0 .125rem var(--p-color-border-focus);outline:var(--p-border-width-025) solid transparent}.Polaris-Tooltip__TooltipContainer{display:flex}.Polaris-Tooltip__HasUnderline{border-bottom:var(--p-border-width-050) dotted var(--p-color-border)}.Polaris-Popover{--pc-popover-visible-portion-of-arrow:.3125rem;--pc-popover-vertical-motion-offset:-.3125rem;max-width:calc(100vw - var(--p-space-800));margin:var(--pc-popover-visible-portion-of-arrow) var(--p-space-200) var(--p-space-400);-webkit-backface-visibility:hidden;backface-visibility:hidden;will-change:left,top;position:relative;box-shadow:var(--p-shadow-300);border-radius:var(--p-border-radius-300)}.Polaris-Popover:before{content:"";position:absolute;top:0;left:0;right:0;bottom:0;z-index:2;box-shadow:var(--p-shadow-bevel-100);border-radius:var(--p-border-radius-300);pointer-events:none;mix-blend-mode:luminosity}.Polaris-Popover__PopoverOverlay{opacity:0;transition:opacity var(--p-motion-duration-100) var(--p-motion-ease),transform var(--p-motion-duration-100) var(--p-motion-ease);transform:translateY(var(--pc-popover-vertical-motion-offset))}.Polaris-Popover__PopoverOverlay--noAnimation{transition:opacity var(--p-motion-duration-100) var(--p-motion-ease)}.Polaris-Popover__PopoverOverlay--entering{opacity:1;transform:translateY(0)}.Polaris-Popover__PopoverOverlay--open{opacity:1;transform:none}.Polaris-Popover--measuring:not(.Polaris-Popover__PopoverOverlay--exiting){opacity:0;transform:translateY(var(--pc-popover-vertical-motion-offset))}.Polaris-Popover--fullWidth{margin:var(--pc-popover-visible-portion-of-arrow) auto 0 auto}.Polaris-Popover--fullWidth .Polaris-Popover__Content{max-width:none}.Polaris-Popover--positionedAbove{margin:var(--p-space-400) var(--p-space-200) var(--pc-popover-visible-portion-of-arrow)}.Polaris-Popover--positionedAbove.Polaris-Popover--fullWidth{margin:0 auto var(--pc-popover-visible-portion-of-arrow) auto}.Polaris-Popover--positionedCover{margin:0}.Polaris-Popover--positionedCover:before{border-radius:var(--p-border-radius-200)}.Polaris-Popover--positionedCover .Polaris-Popover__ContentContainer{border-radius:var(--p-border-radius-200)}.Polaris-Popover__ContentContainer{position:relative;overflow:hidden;background:var(--p-color-bg-surface);border-radius:var(--p-space-300);isolation:isolate}.Polaris-Popover__Content{position:relative;display:flex;flex-direction:column;border-radius:var(--p-border-radius-100);max-width:25rem;max-height:31.25rem}.Polaris-Popover__Content:focus{outline:none}.Polaris-Popover__Content--fullHeight{max-height:100vh}.Polaris-Popover__Content--fluidContent{max-height:none;max-width:none}.Polaris-Popover__Pane{flex:1 1 auto;max-width:100%}.Polaris-Popover__Pane:focus{outline:none}.Polaris-Popover__Pane--fixed{overflow:visible;flex:0 0 auto}.Polaris-Popover__Pane--subdued{background-color:var(--p-color-bg-surface-secondary)}.Polaris-Popover__Pane--captureOverscroll{overscroll-behavior:contain}.Polaris-Popover__Section+.Polaris-Popover__Section{border-top:var(--p-border-width-025) solid var(--p-color-border-secondary)}.Polaris-Popover__FocusTracker{position:absolute!important;top:0;width:.0625rem!important;height:.0625rem!important;margin:0!important;padding:0!important;overflow:hidden!important;clip-path:inset(50%)!important;border:0!important;white-space:nowrap!important}@media print{.Polaris-Popover__PopoverOverlay--hideOnPrint{display:none!important}}.Polaris-ActionMenu-SecondaryAction{--pc-secondary-action-button-spacing:var(--p-space-300)}.Polaris-ActionMenu-SecondaryAction a,.Polaris-ActionMenu-SecondaryAction button{position:relative;--pc-button-padding-block:var(--p-space-100);--pc-button-padding-inline:var(--p-space-300);background:var(--p-color-bg-fill-tertiary)!important;box-shadow:none!important;border:none;border-radius:var(--p-border-radius-200)!important;min-height:1.75rem}.Polaris-ActionMenu-SecondaryAction a:after,.Polaris-ActionMenu-SecondaryAction button:after{content:"";position:absolute;z-index:1;top:-.125rem;right:-.125rem;bottom:-.125rem;left:-.125rem;display:block;pointer-events:none;box-shadow:0 0 0 -.125rem var(--p-color-border-focus);border-radius:var(--p-border-radius-100)}.Polaris-ActionMenu-SecondaryAction a:is(:hover,:focus),.Polaris-ActionMenu-SecondaryAction button:is(:hover,:focus){background-color:var(--p-color-bg-fill-tertiary-hover)!important}.Polaris-ActionMenu-SecondaryAction a:active,.Polaris-ActionMenu-SecondaryAction button:active,.Polaris-ActionMenu-SecondaryAction a[aria-expanded=true],.Polaris-ActionMenu-SecondaryAction button[aria-expanded=true]{background-color:var(--p-color-bg-fill-tertiary-active)!important;box-shadow:var(--p-shadow-inset-200)!important}.Polaris-ActionMenu-SecondaryAction a:focus-visible,.Polaris-ActionMenu-SecondaryAction button:focus-visible{outline:var(--p-border-width-050) solid var(--p-color-border-focus);outline-offset:var(--p-space-050)}.Polaris-ActionMenu-SecondaryAction a:focus-visible:after,.Polaris-ActionMenu-SecondaryAction button:focus-visible:after{content:none}.Polaris-ActionMenu-SecondaryAction a[aria-disabled=true],.Polaris-ActionMenu-SecondaryAction button[aria-disabled=true]{background-color:var(--p-color-bg-fill-disabled)!important}@media (min-width: 48em){.Polaris-ActionMenu-SecondaryAction a,.Polaris-ActionMenu-SecondaryAction button{border:none!important;position:relative}.Polaris-ActionMenu-SecondaryAction a:after,.Polaris-ActionMenu-SecondaryAction button:after{content:"";position:absolute;z-index:1;top:-.0625rem;right:-.0625rem;bottom:-.0625rem;left:-.0625rem;display:block;pointer-events:none;box-shadow:0 0 0 -.0625rem var(--p-color-border-focus);border-radius:var(--p-border-radius-100)}}.Polaris-ActionMenu-SecondaryAction.Polaris-ActionMenu-SecondaryAction--critical a,.Polaris-ActionMenu-SecondaryAction.Polaris-ActionMenu-SecondaryAction--critical button{color:var(--p-color-text-critical)!important}.Polaris-ActionMenu-SecondaryAction.Polaris-ActionMenu-SecondaryAction--critical a svg,.Polaris-ActionMenu-SecondaryAction.Polaris-ActionMenu-SecondaryAction--critical button svg{fill:var(--p-color-text-critical)}.Polaris-ActionMenu-SecondaryAction.Polaris-ActionMenu-SecondaryAction--critical a:is(:hover,:focus),.Polaris-ActionMenu-SecondaryAction.Polaris-ActionMenu-SecondaryAction--critical button:is(:hover,:focus){background-color:var(--p-color-bg-fill-tertiary-hover)!important}.Polaris-ActionMenu-SecondaryAction.Polaris-ActionMenu-SecondaryAction--critical a:active,.Polaris-ActionMenu-SecondaryAction.Polaris-ActionMenu-SecondaryAction--critical button:active{background-color:var(--p-color-bg-fill-tertiary-active)!important}.Polaris-ActionMenu-MenuGroup__Details{margin-top:calc(var(--p-space-400)*-1);padding:var(--p-space-400)}.Polaris-ActionMenu-Actions__ActionsLayoutOuter{position:relative;width:100%}.Polaris-ActionMenu-Actions__ActionsLayout{display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-end;flex:1 1 auto;gap:var(--p-space-200)}.Polaris-ActionMenu-Actions__ActionsLayout>*{flex:0 0 auto}.Polaris-ActionMenu-Actions--actionsLayoutMeasuring{visibility:hidden;height:0}.Polaris-ActionMenu-Actions__ActionsLayoutMeasurer{position:absolute;display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-end;flex:1 1 auto;gap:0;padding:0;visibility:hidden;height:0}.Polaris-ActionMenu-Actions__ActionsLayoutMeasurer>*{flex:0 0 auto}.Polaris-ActionMenu-RollupActions__RollupActivator{text-align:right}.Polaris-ActionMenu-RollupActions__RollupActivator button[type=button]{background:var(--p-color-bg-fill-tertiary);border-radius:var(--p-border-radius-200);border:none;box-shadow:none;margin:0}.Polaris-ActionMenu-RollupActions__RollupActivator button[type=button]:active{background:var(--p-color-bg-fill-tertiary-active)}.Polaris-ActionMenu-RollupActions__RollupActivator button[type=button]:focus:not(:active){outline:var(--p-border-width-050) solid var(--p-color-border-focus);outline-offset:var(--p-space-050);background:var(--p-color-bg-fill-tertiary-active)}.Polaris-ActionMenu-RollupActions__RollupActivator button[type=button]:focus:not(:active):after{content:none}.Polaris-ActionMenu-RollupActions__RollupActivator button[type=button]:hover{background:var(--p-color-bg-fill-tertiary-hover)}.Polaris-ActionMenu{width:100%;display:flex;justify-content:flex-end}@media print{.Polaris-ActionMenu{display:none!important}}.Polaris-Combobox__Listbox{padding:var(--p-space-200) 0;overflow:visible}.Polaris-Listbox-Section__SectionGroup{list-style-type:none;padding:0;margin:0;border-bottom:var(--p-border-width-025) solid var(--p-color-border-secondary)}.Polaris-Listbox-Section--noDivider{border-bottom:none}.Polaris-Choice{--pc-choice-space-0:0rem;--pc-choice-bleed-block-start-xs: initial;--pc-choice-bleed-block-start-sm: initial;--pc-choice-bleed-block-start-md: initial;--pc-choice-bleed-block-start-lg: initial;--pc-choice-bleed-block-start-xl: initial;--pc-choice-bleed-block-start: var(--pc-choice-bleed-block-start-xs);--pc-choice-bleed-block-end-xs: initial;--pc-choice-bleed-block-end-sm: initial;--pc-choice-bleed-block-end-md: initial;--pc-choice-bleed-block-end-lg: initial;--pc-choice-bleed-block-end-xl: initial;--pc-choice-bleed-block-end: var(--pc-choice-bleed-block-end-xs);--pc-choice-bleed-inline-start-xs: initial;--pc-choice-bleed-inline-start-sm: initial;--pc-choice-bleed-inline-start-md: initial;--pc-choice-bleed-inline-start-lg: initial;--pc-choice-bleed-inline-start-xl: initial;--pc-choice-bleed-inline-start: var(--pc-choice-bleed-inline-start-xs);--pc-choice-bleed-inline-end-xs: initial;--pc-choice-bleed-inline-end-sm: initial;--pc-choice-bleed-inline-end-md: initial;--pc-choice-bleed-inline-end-lg: initial;--pc-choice-bleed-inline-end-xl: initial;--pc-choice-bleed-inline-end: var(--pc-choice-bleed-inline-end-xs);--pc-choice-fill-xs: initial;--pc-choice-fill-sm: initial;--pc-choice-fill-md: initial;--pc-choice-fill-lg: initial;--pc-choice-fill-xl: initial;--pc-choice-fill: var(--pc-choice-fill-xs);display:inline-flex;align-items:center;justify-content:flex-start;cursor:pointer;padding-block-start:calc(var(--pc-choice-bleed-block-start, var(--pc-choice-space-0)) + var(--p-space-100));padding-block-end:calc(var(--pc-choice-bleed-block-end, var(--pc-choice-space-0)) + var(--p-space-100));padding-inline-start:var( --pc-choice-bleed-inline-start, var(--pc-choice-space-0) );padding-inline-end:var( --pc-choice-bleed-inline-end, var(--pc-choice-space-0) );margin-block-start:calc(var(--pc-choice-bleed-block-start, var(--pc-choice-space-0))*-1);margin-block-end:calc(var(--pc-choice-bleed-block-end, var(--pc-choice-space-0))*-1);margin-inline-start:calc(var(--pc-choice-bleed-inline-start, var(--pc-choice-space-0))*-1);margin-inline-end:calc(var(--pc-choice-bleed-inline-end, var(--pc-choice-space-0))*-1);inline-size:calc(var(--pc-choice-fill, auto) + var(--pc-choice-bleed-inline-start, var(--pc-choice-space-0)) + var(--pc-choice-bleed-inline-end, var(--pc-choice-space-0)));block-size:calc(var(--pc-choice-fill, auto) + var(--pc-choice-bleed-block-start, var(--pc-choice-space-0)) + var(--pc-choice-bleed-block-end, var(--pc-choice-space-0)))}@media (min-width: 30.625em){.Polaris-Choice{--pc-choice-bleed-block-start: var( --pc-choice-bleed-block-start-sm, var(--pc-choice-bleed-block-start-xs) )}}@media (min-width: 48em){.Polaris-Choice{--pc-choice-bleed-block-start: var( --pc-choice-bleed-block-start-md, var( --pc-choice-bleed-block-start-sm, var(--pc-choice-bleed-block-start-xs) ) )}}@media (min-width: 65em){.Polaris-Choice{--pc-choice-bleed-block-start: var( --pc-choice-bleed-block-start-lg, var( --pc-choice-bleed-block-start-md, var( --pc-choice-bleed-block-start-sm, var(--pc-choice-bleed-block-start-xs) ) ) )}}@media (min-width: 90em){.Polaris-Choice{--pc-choice-bleed-block-start: var( --pc-choice-bleed-block-start-xl, var( --pc-choice-bleed-block-start-lg, var( --pc-choice-bleed-block-start-md, var( --pc-choice-bleed-block-start-sm, var(--pc-choice-bleed-block-start-xs) ) ) ) )}}@media (min-width: 30.625em){.Polaris-Choice{--pc-choice-bleed-block-end: var( --pc-choice-bleed-block-end-sm, var(--pc-choice-bleed-block-end-xs) )}}@media (min-width: 48em){.Polaris-Choice{--pc-choice-bleed-block-end: var( --pc-choice-bleed-block-end-md, var( --pc-choice-bleed-block-end-sm, var(--pc-choice-bleed-block-end-xs) ) )}}@media (min-width: 65em){.Polaris-Choice{--pc-choice-bleed-block-end: var( --pc-choice-bleed-block-end-lg, var( --pc-choice-bleed-block-end-md, var( --pc-choice-bleed-block-end-sm, var(--pc-choice-bleed-block-end-xs) ) ) )}}@media (min-width: 90em){.Polaris-Choice{--pc-choice-bleed-block-end: var( --pc-choice-bleed-block-end-xl, var( --pc-choice-bleed-block-end-lg, var( --pc-choice-bleed-block-end-md, var( --pc-choice-bleed-block-end-sm, var(--pc-choice-bleed-block-end-xs) ) ) ) )}}@media (min-width: 30.625em){.Polaris-Choice{--pc-choice-bleed-inline-start: var( --pc-choice-bleed-inline-start-sm, var(--pc-choice-bleed-inline-start-xs) )}}@media (min-width: 48em){.Polaris-Choice{--pc-choice-bleed-inline-start: var( --pc-choice-bleed-inline-start-md, var( --pc-choice-bleed-inline-start-sm, var(--pc-choice-bleed-inline-start-xs) ) )}}@media (min-width: 65em){.Polaris-Choice{--pc-choice-bleed-inline-start: var( --pc-choice-bleed-inline-start-lg, var( --pc-choice-bleed-inline-start-md, var( --pc-choice-bleed-inline-start-sm, var(--pc-choice-bleed-inline-start-xs) ) ) )}}@media (min-width: 90em){.Polaris-Choice{--pc-choice-bleed-inline-start: var( --pc-choice-bleed-inline-start-xl, var( --pc-choice-bleed-inline-start-lg, var( --pc-choice-bleed-inline-start-md, var( --pc-choice-bleed-inline-start-sm, var(--pc-choice-bleed-inline-start-xs) ) ) ) )}}@media (min-width: 30.625em){.Polaris-Choice{--pc-choice-bleed-inline-end: var( --pc-choice-bleed-inline-end-sm, var(--pc-choice-bleed-inline-end-xs) )}}@media (min-width: 48em){.Polaris-Choice{--pc-choice-bleed-inline-end: var( --pc-choice-bleed-inline-end-md, var( --pc-choice-bleed-inline-end-sm, var(--pc-choice-bleed-inline-end-xs) ) )}}@media (min-width: 65em){.Polaris-Choice{--pc-choice-bleed-inline-end: var( --pc-choice-bleed-inline-end-lg, var( --pc-choice-bleed-inline-end-md, var( --pc-choice-bleed-inline-end-sm, var(--pc-choice-bleed-inline-end-xs) ) ) )}}@media (min-width: 90em){.Polaris-Choice{--pc-choice-bleed-inline-end: var( --pc-choice-bleed-inline-end-xl, var( --pc-choice-bleed-inline-end-lg, var( --pc-choice-bleed-inline-end-md, var( --pc-choice-bleed-inline-end-sm, var(--pc-choice-bleed-inline-end-xs) ) ) ) )}}@media (min-width: 30.625em){.Polaris-Choice{--pc-choice-fill: var( --pc-choice-fill-sm, var(--pc-choice-fill-xs) )}}@media (min-width: 48em){.Polaris-Choice{--pc-choice-fill: var( --pc-choice-fill-md, var( --pc-choice-fill-sm, var(--pc-choice-fill-xs) ) )}}@media (min-width: 65em){.Polaris-Choice{--pc-choice-fill: var( --pc-choice-fill-lg, var( --pc-choice-fill-md, var( --pc-choice-fill-sm, var(--pc-choice-fill-xs) ) ) )}}@media (min-width: 90em){.Polaris-Choice{--pc-choice-fill: var( --pc-choice-fill-xl, var( --pc-choice-fill-lg, var( --pc-choice-fill-md, var( --pc-choice-fill-sm, var(--pc-choice-fill-xs) ) ) ) )}}.Polaris-Choice--labelHidden{padding-block-start:var( --pc-choice-bleed-block-start, var(--pc-choice-space-0) );padding-block-end:var(--pc-choice-bleed-block-end, var(--pc-choice-space-0))}.Polaris-Choice--labelHidden>.Polaris-Choice__Label{position:absolute!important;top:0;width:.0625rem!important;height:.0625rem!important;margin:0!important;padding:0!important;overflow:hidden!important;clip-path:inset(50%)!important;border:0!important;white-space:nowrap!important}.Polaris-Choice--labelHidden .Polaris-Choice__Control{margin-top:0;margin-right:0}.Polaris-Choice--disabled{cursor:default}.Polaris-Choice--disabled>.Polaris-Choice__Label{color:var(--p-color-text-disabled)}.Polaris-Choice--disabled>.Polaris-Choice__Label:hover{cursor:default}@media (-ms-high-contrast: active){.Polaris-Choice--disabled>.Polaris-Choice__Label{color:grayText}}.Polaris-Choice--toneMagic>.Polaris-Choice__Label{color:var(--p-color-text-magic)}.Polaris-Choice--disabled+.Polaris-Choice__Descriptions{color:var(--p-color-text-disabled)}.Polaris-Choice__Control{--pc-choice-size:1.125rem;display:flex;flex:0 0 auto;align-items:stretch;width:var(--pc-choice-size);height:var(--pc-choice-size);margin-right:var(--p-space-200)}@media (max-width: 47.9975em){.Polaris-Choice__Control{--pc-choice-size:1.25rem}}.Polaris-Choice__Control>*{width:100%}.Polaris-Choice__Label{-webkit-tap-highlight-color:transparent}.Polaris-Choice__Label:hover{cursor:pointer}.Polaris-Choice__Descriptions{--pc-choice-size:1.125rem;padding-left:calc(var(--p-space-200) + var(--pc-choice-size))}@media (max-width: 47.9975em){.Polaris-Choice__Descriptions{--pc-choice-size:1.25rem}}.Polaris-Choice__HelpText{margin-bottom:var(--p-space-100)}.Polaris-Checkbox{position:relative;margin:var(--p-space-025)}.Polaris-Checkbox__ChoiceLabel .Polaris-Checkbox__Backdrop{border-width:0;box-shadow:inset 0 0 0 var(--p-border-width-0165) var(--p-color-input-border);transition:border-color var(--p-motion-duration-100) var(--p-motion-ease-out),border-width var(--p-motion-duration-100) var(--p-motion-ease-out),box-shadow var(--p-motion-duration-100) var(--p-motion-ease-out);transform:translateZ(0)}.Polaris-Checkbox__ChoiceLabel:hover .Polaris-Checkbox__Backdrop{border-color:var(--p-color-input-border-hover);box-shadow:inset 0 0 0 var(--p-border-width-0165) var(--p-color-input-border-hover);background-color:var(--p-color-input-bg-surface-hover)}.Polaris-Checkbox__ChoiceLabel:active .Polaris-Checkbox__Backdrop,.Polaris-Checkbox__ChoiceLabel:checked .Polaris-Checkbox__Backdrop{border-color:var(--p-color-bg-fill-brand);border-width:0;box-shadow:inset 0 0 0 var(--p-space-050) var(--p-color-bg-fill-brand)}.Polaris-Checkbox__Input{position:absolute;z-index:var(--p-z-index-1);width:100%;height:100%;opacity:0;margin:0}.Polaris-Checkbox__Input:focus-visible+.Polaris-Checkbox__Backdrop{outline:var(--p-border-width-050) solid var(--p-color-border-focus);outline-offset:var(--p-space-025);background-color:var(--p-color-input-bg-surface-hover);border-width:0}.Polaris-Checkbox__Input:focus-visible+.Polaris-Checkbox__Backdrop:after{box-shadow:0 0 0 .125rem var(--p-color-border-focus);outline:var(--p-border-width-025) solid transparent}.Polaris-Checkbox__Input:checked+.Polaris-Checkbox__Backdrop,.Polaris-Checkbox__Input.Polaris-Checkbox__Input--indeterminate+.Polaris-Checkbox__Backdrop{border-color:var(--p-color-border-emphasis);border-color:var(--p-color-bg-fill-brand);background-color:var(--p-color-bg-fill-brand-selected);box-shadow:inset 0 0 0 var(--p-space-800) var(--p-color-bg-fill-brand-selected)}.Polaris-Checkbox__Input:checked+.Polaris-Checkbox__Backdrop:before,.Polaris-Checkbox__Input.Polaris-Checkbox__Input--indeterminate+.Polaris-Checkbox__Backdrop:before{opacity:1;transform:scale(1)}@media (-ms-high-contrast: active){.Polaris-Checkbox__Input:checked+.Polaris-Checkbox__Backdrop:before,.Polaris-Checkbox__Input.Polaris-Checkbox__Input--indeterminate+.Polaris-Checkbox__Backdrop:before{border:var(--p-border-width-050) solid windowText}}.Polaris-Checkbox__Input:checked~.Polaris-Checkbox__Icon,.Polaris-Checkbox__Input.Polaris-Checkbox__Input--indeterminate~.Polaris-Checkbox__Icon{transition:opacity var(--p-motion-duration-150) var(--p-motion-ease-out),transform var(--p-motion-duration-150) var(--p-motion-ease-out);opacity:1}.Polaris-Checkbox__Input:checked~.Polaris-Checkbox__Icon svg,.Polaris-Checkbox__Input.Polaris-Checkbox__Input--indeterminate~.Polaris-Checkbox__Icon svg{fill:var(--p-color-text-brand-on-bg-fill)}.Polaris-Checkbox__Input:checked~.Polaris-Checkbox__Icon.Polaris-Checkbox--animated,.Polaris-Checkbox__Input.Polaris-Checkbox__Input--indeterminate~.Polaris-Checkbox__Icon.Polaris-Checkbox--animated{transition:initial}.Polaris-Checkbox__Input:disabled+.Polaris-Checkbox__Backdrop{border-color:var(--p-color-border-disabled);border-color:transparent;background-color:var(--p-color-checkbox-bg-surface-disabled);box-shadow:none}.Polaris-Checkbox__Input:disabled+.Polaris-Checkbox__Backdrop:before{background-color:var(--p-color-bg-surface-disabled)}.Polaris-Checkbox__Input:disabled+.Polaris-Checkbox__Backdrop:hover{cursor:default}.Polaris-Checkbox__Input:disabled+.Polaris-Checkbox__Backdrop:before{background-color:transparent}.Polaris-Checkbox__Input:disabled~.Polaris-Checkbox__Icon svg{color:var(--p-color-checkbox-icon-disabled)}.Polaris-Checkbox__Input:disabled:checked+.Polaris-Checkbox__Backdrop,.Polaris-Checkbox__Input.Polaris-Checkbox__Input--indeterminate:disabled+.Polaris-Checkbox__Backdrop{background-color:var(--p-color-checkbox-bg-surface-disabled)}.Polaris-Checkbox__Input:disabled:checked+.Polaris-Checkbox__Backdrop:before,.Polaris-Checkbox__Input.Polaris-Checkbox__Input--indeterminate:disabled+.Polaris-Checkbox__Backdrop:before{background-color:transparent}.Polaris-Checkbox__Input.Polaris-Checkbox--toneMagic+.Polaris-Checkbox__Backdrop{background-color:var(--p-color-bg-surface-magic);box-shadow:inset 0 0 0 var(--p-border-width-0165) var(--p-color-border-magic-secondary)}.Polaris-Checkbox__ChoiceLabel:hover .Polaris-Checkbox__Input.Polaris-Checkbox--toneMagic+.Polaris-Checkbox__Backdrop{background-color:var(--p-color-bg-surface-magic-hover);box-shadow:inset 0 0 0 var(--p-border-width-0165) var(--p-color-border-magic-secondary-hover)}.Polaris-Checkbox__Input.Polaris-Checkbox--toneMagic:checked+.Polaris-Checkbox__Backdrop,.Polaris-Checkbox__Input.Polaris-Checkbox--toneMagic.Polaris-Checkbox__Input--indeterminate+.Polaris-Checkbox__Backdrop{border-color:var(--p-color-bg-fill-magic);background-color:var(--p-color-bg-fill-magic);box-shadow:inset 0 0 0 var(--p-space-800) var(--p-color-bg-fill-magic)}.Polaris-Checkbox__ChoiceLabel:hover .Polaris-Checkbox__Input.Polaris-Checkbox--toneMagic:checked+.Polaris-Checkbox__Backdrop,.Polaris-Checkbox__ChoiceLabel:hover .Polaris-Checkbox__Input.Polaris-Checkbox--toneMagic.Polaris-Checkbox__Input--indeterminate+.Polaris-Checkbox__Backdrop{border-color:var(--p-color-bg-fill-magic);background-color:var(--p-color-bg-fill-magic);box-shadow:inset 0 0 0 var(--p-space-800) var(--p-color-bg-fill-magic)}.Polaris-Checkbox__Backdrop{border:var(--p-border-width-050) solid var(--p-color-input-border);background-color:var(--p-color-bg-surface);border-radius:var(--p-border-radius-100);position:relative;display:block;width:100%;height:100%;border:var(--p-border-width-0165) solid var(--p-color-input-border)}.Polaris-Checkbox__Backdrop.Polaris-Checkbox--hover,.Polaris-Checkbox__Backdrop:hover{cursor:pointer;border-color:var(--p-color-border-hover)}.Polaris-Checkbox__Backdrop:hover{border-color:var(--p-color-input-border-hover)}.Polaris-Checkbox__Icon{position:absolute;transform-origin:50% 50%;pointer-events:none;opacity:0;transition:opacity var(--p-motion-duration-100) var(--p-motion-ease-out),transform var(--p-motion-duration-100) var(--p-motion-ease-out);top:calc(var(--p-space-050)*-1);left:calc(var(--p-space-050)*-1);bottom:calc(var(--p-space-050)*-1);right:calc(var(--p-space-050)*-1)}.Polaris-Checkbox__Icon.Polaris-Checkbox--animated{top:0;left:0;bottom:0;right:0;margin:var(--p-space-050);transition:initial}.Polaris-Checkbox__Icon svg{color:var(--p-color-text-brand-on-bg-fill);position:absolute;top:0;left:0;bottom:0;right:0}@media (-ms-high-contrast: active){.Polaris-Checkbox__Icon{fill:windowText}}.Polaris-Checkbox--error .Polaris-Checkbox__Icon svg{color:var(--p-color-text-critical-on-bg-fill)}.Polaris-Checkbox--error .Polaris-Checkbox__Input+.Polaris-Checkbox__Backdrop{border-color:var(--p-color-border-critical);background-color:var(--p-color-bg-fill-critical-secondary);background-color:var(--p-color-bg-surface-critical);box-shadow:inset 0 0 0 var(--p-border-width-0165) var(--p-color-bg-fill-critical-active)}.Polaris-Checkbox--error .Polaris-Checkbox__Input+.Polaris-Checkbox__Backdrop.Polaris-Checkbox--hover,.Polaris-Checkbox--error .Polaris-Checkbox__Input+.Polaris-Checkbox__Backdrop:hover{border-color:var(--p-color-border-critical)}.Polaris-Checkbox--error .Polaris-Checkbox__Input+.Polaris-Checkbox__Backdrop:before{background-color:var(--p-color-border-critical)}.Polaris-Checkbox--error .Polaris-Checkbox__Backdrop:active{box-shadow:inset 0 0 0 var(--p-space-050) var(--p-color-bg-fill-critical-active)}.Polaris-Checkbox--error .Polaris-Checkbox__Input:checked+.Polaris-Checkbox__Backdrop,.Polaris-Checkbox--error .Polaris-Checkbox__Input.Polaris-Checkbox__Input--indeterminate+.Polaris-Checkbox__Backdrop{background-color:var(--p-color-bg-fill-critical-selected);box-shadow:inset 0 0 0 var(--p-space-300) var(--p-color-bg-fill-critical-selected)}.Polaris-Checkbox--error .Polaris-Checkbox__Input:active+.Polaris-Checkbox__Backdrop{background-color:var(--p-color-border-critical);box-shadow:inset 0 0 0 var(--p-space-050) var(--p-color-bg-fill-critical-active)}.Polaris-Checkbox--error .Polaris-Checkbox__Input:focus-visible+.Polaris-Checkbox__Backdrop,.Polaris-Checkbox__ChoiceLabel:hover .Polaris-Checkbox--error .Polaris-Checkbox__Input:focus-visible+.Polaris-Checkbox__Backdrop{border-color:var(--p-color-border-critical-secondary);background-color:var(--p-color-bg-surface-critical)}.Polaris-Checkbox--animated svg>path{stroke-dasharray:2;stroke-dashoffset:2}.Polaris-Checkbox--animated svg>path.Polaris-Checkbox--checked{animation-name:Polaris-Checkbox--pathAnimation;animation-duration:var(--p-motion-duration-150);animation-fill-mode:forwards;animation-timing-function:linear;animation-direction:normal;animation-iteration-count:1;opacity:1}@keyframes Polaris-Checkbox--pathAnimation{0%{stroke-dashoffset:2}to{stroke-dashoffset:0}}.Polaris-Listbox-TextOption{margin:var(--p-space-100) var(--p-space-200) 0;flex:1 1;border-radius:var(--p-border-radius-200);padding:var(--p-space-150) var(--p-space-300);cursor:pointer;display:flex;position:relative}.Polaris-Listbox-TextOption:after{content:"";position:absolute;z-index:1;top:-.0625rem;right:-.0625rem;bottom:-.0625rem;left:-.0625rem;display:block;pointer-events:none;box-shadow:0 0 0 -.0625rem var(--p-color-border-focus);border-radius:var(--p-border-radius-100)}.Polaris-Listbox-TextOption.Polaris-Listbox-TextOption--allowMultiple{margin:var(--p-space-100) var(--p-space-200) 0;padding:var(--p-space-100) var(--p-space-200)}.Polaris-Listbox-TextOption.Polaris-Listbox-TextOption--isAction{margin-top:var(--p-space-100)}.Polaris-Listbox-TextOption:hover{background-color:var(--p-color-bg-surface-hover)}.Polaris-Listbox-TextOption:hover:not(.Polaris-Listbox-TextOption--disabled){background-color:var(--p-color-bg-surface-secondary-hover)}.Polaris-Listbox-TextOption:focus{outline:none}.Polaris-Listbox-TextOption:active{background-color:var(--p-color-bg-surface-active)}.Polaris-Listbox-TextOption:active:not(.Polaris-Listbox-TextOption--disabled){background-color:var(--p-color-bg-surface-secondary-active)}.Polaris-Listbox-TextOption.Polaris-Listbox-TextOption--selected{background-color:var(--p-color-bg-surface-secondary-selected);font-weight:var(--p-font-weight-semibold)}.Polaris-Listbox-TextOption.Polaris-Listbox-TextOption--selected svg{fill:var(--p-color-icon-active)}.Polaris-Listbox-TextOption.Polaris-Listbox-TextOption--selected:before{content:none;position:absolute;top:0;bottom:0;left:calc(var(--p-space-100)*-1);height:100%;width:var(--p-border-radius-100);background-color:var(--p-color-bg-fill-brand);border-top-right-radius:var(--p-border-radius-100);border-bottom-right-radius:var(--p-border-radius-100);transform:translate(-100%)}.Polaris-Listbox-TextOption.Polaris-Listbox-TextOption--disabled{background-color:transparent;color:var(--p-color-text-disabled);cursor:default}li:first-of-type>.Polaris-Listbox-TextOption{margin-top:0}[data-focused] .Polaris-Listbox-TextOption:not(.Polaris-Listbox-TextOption--disabled){outline:none;background-color:var(--p-color-bg-surface-secondary-selected);transition:background-color var(--p-motion-duration-400)}.Polaris-Listbox-TextOption__Content{flex:1 1 auto;display:flex}.Polaris-Listbox-TextOption__Checkbox{pointer-events:none}.Polaris-Listbox-Option{display:flex;margin:0;padding:0}.Polaris-Listbox-Option:focus{outline:none}.Polaris-Listbox-Option--divider{border-bottom:var(--p-border-width-025) solid var(--p-color-border-secondary)}.Polaris-Listbox-Loading__ListItem{padding:0;margin:0}.Polaris-Listbox-Loading{padding:var(--p-space-200) var(--p-space-400);display:grid;place-items:center}.Polaris-Listbox-Action{display:flex;flex:1 1}.Polaris-Listbox-Action__ActionDivider{margin-bottom:var(--p-space-100)}.Polaris-Listbox-Action__Icon{padding-right:var(--p-space-200)}.Polaris-Listbox{padding:0;margin:0;list-style:none;max-width:100%}.Polaris-Listbox:focus{outline:none}.Polaris-Autocomplete-MappedOption__Content{display:flex;flex:1 1;word-wrap:break-word;word-break:break-word;overflow-wrap:break-word}.Polaris-Autocomplete-MappedOption__Media{padding:0 var(--p-space-200)}.Polaris-Autocomplete-MappedOption__Media svg{fill:var(--p-color-icon)}.Polaris-Autocomplete-MappedOption--singleSelectionMedia{padding:0 var(--p-space-200) 0 0}.Polaris-Autocomplete-MappedOption--disabledMedia svg{fill:var(--p-color-icon-disabled)}.Polaris-Autocomplete-MappedAction__ActionContainer{--pc-mapped-actions-image-size:1.25rem;--pc-mapped-actions-item-min-height:var(--p-space-1000);--pc-mapped-actions-item-vertical-padding:calc((var(--pc-mapped-actions-item-min-height) - var(--p-font-line-height-500))/2);margin-bottom:var(--p-space-300)}[data-focused] .Polaris-Autocomplete-MappedAction__Action svg{fill:var(--p-color-icon)}[data-focused] .Polaris-Autocomplete-MappedAction__Action.Polaris-Autocomplete-MappedAction--destructive{background-color:var(--p-color-bg-surface-critical-active)}[data-focused] .Polaris-Autocomplete-MappedAction__Action:hover{background-color:transparent}.Polaris-Autocomplete-MappedAction__Action{position:relative;display:block;flex:1 1;min-height:var(--pc-mapped-actions-item-min-height);text-align:left;cursor:pointer;padding:var(--pc-mapped-actions-item-vertical-padding) var(--p-space-200);margin:calc(var(--pc-mapped-actions-item-vertical-padding)*-1) calc(var(--p-space-300)*-1);border-radius:var(--p-border-radius-200)}.Polaris-Autocomplete-MappedAction__Action:after{content:"";position:absolute;z-index:1;top:-.0625rem;right:-.0625rem;bottom:-.0625rem;left:-.0625rem;display:block;pointer-events:none;box-shadow:0 0 0 -.0625rem var(--p-color-border-focus);border-radius:var(--p-border-radius-100)}.Polaris-Autocomplete-MappedAction__Action:hover{background-color:var(--p-color-bg-surface-hover);text-decoration:none}@media (-ms-high-contrast: active){.Polaris-Autocomplete-MappedAction__Action:hover{outline:var(--p-border-width-025) solid windowText}}.Polaris-Autocomplete-MappedAction__Action.Polaris-Autocomplete-MappedAction--selected{background-color:var(--p-color-bg-surface-brand-selected)}.Polaris-Autocomplete-MappedAction__Action.Polaris-Autocomplete-MappedAction--selected svg{fill:var(--p-color-icon-emphasis)}.Polaris-Autocomplete-MappedAction__Action:active{background-color:var(--p-color-bg-surface-active)}.Polaris-Autocomplete-MappedAction__Action:active svg{fill:var(--p-color-icon-emphasis)}.Polaris-Autocomplete-MappedAction__Action:focus-visible:not(:active):after{box-shadow:0 0 0 .125rem var(--p-color-border-focus);outline:var(--p-border-width-025) solid transparent}.Polaris-Autocomplete-MappedAction__Action.Polaris-Autocomplete-MappedAction--destructive{color:var(--p-color-text-critical)}.Polaris-Autocomplete-MappedAction__Action.Polaris-Autocomplete-MappedAction--destructive svg{fill:var(--p-color-icon-critical)}.Polaris-Autocomplete-MappedAction__Action.Polaris-Autocomplete-MappedAction--destructive:hover{background-color:var(--p-color-bg-surface-critical-hover)}.Polaris-Autocomplete-MappedAction__Action.Polaris-Autocomplete-MappedAction--destructive:active,.Polaris-Autocomplete-MappedAction__Action.Polaris-Autocomplete-MappedAction--destructive.Polaris-Autocomplete-MappedAction--selected{background-color:var(--p-color-bg-surface-critical-active)}.Polaris-Autocomplete-MappedAction__Action.Polaris-Autocomplete-MappedAction--disabled{background-image:none;color:var(--p-color-text-disabled)}.Polaris-Autocomplete-MappedAction__Action.Polaris-Autocomplete-MappedAction--disabled .Polaris-Autocomplete-MappedAction__Prefix svg,.Polaris-Autocomplete-MappedAction__Action.Polaris-Autocomplete-MappedAction--disabled .Polaris-Autocomplete-MappedAction__Suffix svg{fill:var(--p-color-icon-disabled)}.Polaris-Autocomplete-MappedAction__Content{display:flex;align-items:center}.Polaris-Autocomplete-MappedAction__Prefix{display:flex;flex:0 0 auto;justify-content:center;align-items:center;height:var(--pc-mapped-actions-image-size);width:var(--pc-mapped-actions-image-size);border-radius:var(--p-border-radius-100);margin:calc(var(--pc-mapped-actions-image-size)*-.5) var(--p-space-400) calc(var(--pc-mapped-actions-image-size)*-.5) 0;margin-right:var(--p-space-200);background-size:cover;background-position:center center}.Polaris-Autocomplete-MappedAction__Prefix svg{fill:var(--p-color-icon)}.Polaris-Autocomplete-MappedAction__Suffix{margin-left:var(--p-space-400)}.Polaris-Autocomplete-MappedAction__Suffix svg{fill:var(--p-color-icon)}.Polaris-Autocomplete-MappedAction__Text{min-width:0;max-width:100%;flex:1 1 auto}.Polaris-Autocomplete__Loading{display:flex;justify-content:center;align-items:center;width:100%;padding:var(--p-space-200) var(--p-space-400)}.Polaris-Autocomplete__SectionWrapper>*:not(:first-child){margin-top:var(--p-space-200)}[data-lock-scrolling]{overflow-y:scroll;margin:0}[data-lock-scrolling][data-lock-scrolling-hidden]{overflow-y:hidden}[data-lock-scrolling] [data-lock-scrolling-wrapper]{overflow:hidden;height:100%}.Polaris-Backdrop{position:fixed;z-index:var(--p-z-index-10);top:0;right:0;bottom:0;left:0;display:block;background-color:#00000080;animation:var(--p-motion-keyframes-fade-in) var(--p-motion-duration-200) 1 forwards;opacity:0;-webkit-backface-visibility:hidden;backface-visibility:hidden;will-change:opacity}.Polaris-Backdrop--transparent{background-color:transparent}.Polaris-Backdrop--belowNavigation{z-index:var(--p-z-index-7)}.Polaris-ButtonGroup{--pc-button-group-item:10;--pc-button-group-focused:20;display:flex;flex-wrap:wrap;align-items:center;margin-top:calc(var(--p-space-200)*-1);margin-left:calc(var(--p-space-200)*-1)}.Polaris-ButtonGroup__Item{margin-top:var(--p-space-200);margin-left:var(--p-space-200)}.Polaris-ButtonGroup__Item--plain:not(:first-child){margin-left:var(--p-space-200)}.Polaris-ButtonGroup__Item--plain:not(:last-child){margin-right:var(--p-space-200)}.Polaris-ButtonGroup--variantSegmented{display:flex;flex-wrap:nowrap;margin-top:0;margin-left:0}.Polaris-ButtonGroup--variantSegmented .Polaris-ButtonGroup__Item{position:relative;margin-top:0;margin-left:0;line-height:1}.Polaris-ButtonGroup--variantSegmented .Polaris-ButtonGroup__Item:not(:first-child){margin-left:calc(var(--p-space-025)*-1)}.Polaris-ButtonGroup--variantSegmented [aria-pressed=true]{z-index:var(--pc-button-group-item)}.Polaris-ButtonGroup--variantSegmented .Polaris-ButtonGroup__Item--focused{z-index:var(--pc-button-group-focused)}.Polaris-ButtonGroup--fullWidth .Polaris-ButtonGroup__Item{flex:1 1 auto}.Polaris-ButtonGroup--extraTight{margin-top:calc(var(--p-space-100)*-1);margin-left:calc(var(--p-space-100)*-1)}.Polaris-ButtonGroup--extraTight .Polaris-ButtonGroup__Item{margin-top:var(--p-space-100);margin-left:var(--p-space-100)}.Polaris-ButtonGroup--tight{margin-top:calc(var(--p-space-200)*-1);margin-left:calc(var(--p-space-200)*-1)}.Polaris-ButtonGroup--tight .Polaris-ButtonGroup__Item{margin-top:var(--p-space-200);margin-left:var(--p-space-200)}.Polaris-ButtonGroup--loose{margin-top:calc(var(--p-space-500)*-1);margin-left:calc(var(--p-space-500)*-1)}.Polaris-ButtonGroup--loose .Polaris-ButtonGroup__Item{margin-top:var(--p-space-500);margin-left:var(--p-space-500)}.Polaris-ButtonGroup--noWrap{display:flex;flex-wrap:nowrap}.Polaris-Banner{background-color:var(--p-color-bg-surface);position:relative;display:flex}.Polaris-Banner:focus{outline:none}.Polaris-Banner.Polaris-Banner--keyFocused{outline:var(--p-border-width-050) solid var(--p-color-border-focus)}.Polaris-Banner--withinContentContainer{border-radius:var(--p-border-radius-200)}.Polaris-Banner--withinContentContainer+.Polaris-Banner{margin-top:var(--p-space-200)}.Polaris-Banner--withinPage{position:relative;box-shadow:var(--p-shadow-200);border-radius:var(--p-border-radius-0)}.Polaris-Banner--withinPage:before{content:"";position:absolute;top:0;left:0;right:0;bottom:0;z-index:0;box-shadow:var(--p-shadow-bevel-100);border-radius:var(--p-border-radius-0);pointer-events:none;mix-blend-mode:luminosity}@media (min-width: 30.625em){.Polaris-Banner--withinPage{position:relative;box-shadow:var(--p-shadow-200);border-radius:var(--p-border-radius-300)}.Polaris-Banner--withinPage:before{content:"";position:absolute;top:0;left:0;right:0;bottom:0;z-index:0;box-shadow:var(--p-shadow-bevel-100);border-radius:var(--p-border-radius-300);pointer-events:none;mix-blend-mode:luminosity}}.Polaris-Banner--withinPage+.Polaris-Banner{margin-top:var(--p-space-400)}.Polaris-Banner__DismissIcon{display:flex}.Polaris-Banner--textSuccessOnBgFill.Polaris-Banner--textSuccessOnBgFill.Polaris-Banner--textSuccessOnBgFill svg,.Polaris-Banner--textSuccessOnBgFill.Polaris-Banner--textSuccessOnBgFill.Polaris-Banner--textSuccessOnBgFill path{fill:var(--p-color-text-success-on-bg-fill)}.Polaris-Banner__text--success.Polaris-Banner__text--success.Polaris-Banner__text--success svg,.Polaris-Banner__text--success.Polaris-Banner__text--success.Polaris-Banner__text--success path{fill:var(--p-color-text-success)}.Polaris-Banner--textWarningOnBgFill.Polaris-Banner--textWarningOnBgFill.Polaris-Banner--textWarningOnBgFill svg,.Polaris-Banner--textWarningOnBgFill.Polaris-Banner--textWarningOnBgFill.Polaris-Banner--textWarningOnBgFill path{fill:var(--p-color-text-warning-on-bg-fill)}.Polaris-Banner__text--warning.Polaris-Banner__text--warning.Polaris-Banner__text--warning svg,.Polaris-Banner__text--warning.Polaris-Banner__text--warning.Polaris-Banner__text--warning path{fill:var(--p-color-text-warning)}.Polaris-Banner--textCriticalOnBgFill.Polaris-Banner--textCriticalOnBgFill.Polaris-Banner--textCriticalOnBgFill svg,.Polaris-Banner--textCriticalOnBgFill.Polaris-Banner--textCriticalOnBgFill.Polaris-Banner--textCriticalOnBgFill path{fill:var(--p-color-text-critical-on-bg-fill)}.Polaris-Banner__text--critical.Polaris-Banner__text--critical.Polaris-Banner__text--critical svg,.Polaris-Banner__text--critical.Polaris-Banner__text--critical.Polaris-Banner__text--critical path{fill:var(--p-color-text-critical)}.Polaris-Banner--textInfoOnBgFill.Polaris-Banner--textInfoOnBgFill.Polaris-Banner--textInfoOnBgFill svg,.Polaris-Banner--textInfoOnBgFill.Polaris-Banner--textInfoOnBgFill.Polaris-Banner--textInfoOnBgFill path{fill:var(--p-color-text-info-on-bg-fill)}.Polaris-Banner__text--info.Polaris-Banner__text--info.Polaris-Banner__text--info svg,.Polaris-Banner__text--info.Polaris-Banner__text--info.Polaris-Banner__text--info path{fill:var(--p-color-text-info)}.Polaris-Banner__icon--secondary.Polaris-Banner__icon--secondary.Polaris-Banner__icon--secondary svg,.Polaris-Banner__icon--secondary.Polaris-Banner__icon--secondary.Polaris-Banner__icon--secondary path{fill:var(--p-color-icon-secondary)}.Polaris-Bleed{--pc-bleed-margin-block-start-xs:initial;--pc-bleed-margin-block-start-sm:var(--pc-bleed-margin-block-start-xs);--pc-bleed-margin-block-start-md:var(--pc-bleed-margin-block-start-sm);--pc-bleed-margin-block-start-lg:var(--pc-bleed-margin-block-start-md);--pc-bleed-margin-block-start-xl:var(--pc-bleed-margin-block-start-lg);--pc-bleed-margin-block-end-xs:initial;--pc-bleed-margin-block-end-sm:var(--pc-bleed-margin-block-end-xs);--pc-bleed-margin-block-end-md:var(--pc-bleed-margin-block-end-sm);--pc-bleed-margin-block-end-lg:var(--pc-bleed-margin-block-end-md);--pc-bleed-margin-block-end-xl:var(--pc-bleed-margin-block-end-lg);--pc-bleed-margin-inline-start-xs:initial;--pc-bleed-margin-inline-start-sm:var(--pc-bleed-margin-inline-start-xs);--pc-bleed-margin-inline-start-md:var(--pc-bleed-margin-inline-start-sm);--pc-bleed-margin-inline-start-lg:var(--pc-bleed-margin-inline-start-md);--pc-bleed-margin-inline-start-xl:var(--pc-bleed-margin-inline-start-lg);--pc-bleed-margin-inline-end-xs:initial;--pc-bleed-margin-inline-end-sm:var(--pc-bleed-margin-inline-end-xs);--pc-bleed-margin-inline-end-md:var(--pc-bleed-margin-inline-end-sm);--pc-bleed-margin-inline-end-lg:var(--pc-bleed-margin-inline-end-md);--pc-bleed-margin-inline-end-xl:var(--pc-bleed-margin-inline-end-lg);margin-block-start:calc(var(--pc-bleed-margin-block-start-xs)*-1);margin-block-end:calc(var(--pc-bleed-margin-block-end-xs)*-1);margin-inline-start:calc(var(--pc-bleed-margin-inline-start-xs)*-1);margin-inline-end:calc(var(--pc-bleed-margin-inline-end-xs)*-1)}@media (min-width: 30.625em){.Polaris-Bleed{margin-block-start:calc(var(--pc-bleed-margin-block-start-sm)*-1);margin-block-end:calc(var(--pc-bleed-margin-block-end-sm)*-1);margin-inline-start:calc(var(--pc-bleed-margin-inline-start-sm)*-1);margin-inline-end:calc(var(--pc-bleed-margin-inline-end-sm)*-1)}}@media (min-width: 48em){.Polaris-Bleed{margin-block-start:calc(var(--pc-bleed-margin-block-start-md)*-1);margin-block-end:calc(var(--pc-bleed-margin-block-end-md)*-1);margin-inline-start:calc(var(--pc-bleed-margin-inline-start-md)*-1);margin-inline-end:calc(var(--pc-bleed-margin-inline-end-md)*-1)}}@media (min-width: 65em){.Polaris-Bleed{margin-block-start:calc(var(--pc-bleed-margin-block-start-lg)*-1);margin-block-end:calc(var(--pc-bleed-margin-block-end-lg)*-1);margin-inline-start:calc(var(--pc-bleed-margin-inline-start-lg)*-1);margin-inline-end:calc(var(--pc-bleed-margin-inline-end-lg)*-1)}}@media (min-width: 90em){.Polaris-Bleed{margin-block-start:calc(var(--pc-bleed-margin-block-start-xl)*-1);margin-block-end:calc(var(--pc-bleed-margin-block-end-xl)*-1);margin-inline-start:calc(var(--pc-bleed-margin-inline-start-xl)*-1);margin-inline-end:calc(var(--pc-bleed-margin-inline-end-xl)*-1)}}.Polaris-CheckableButton{color:var(--p-color-text);display:flex;align-items:center;gap:calc(var(--p-space-300) + var(--p-space-025));margin:0;cursor:pointer;-webkit-user-select:none;user-select:none;text-decoration:none;text-align:left;border-radius:var(--p-border-radius-100);width:auto;min-height:auto;min-width:auto;height:100%}.Polaris-CheckableButton svg{fill:var(--p-color-text-brand-on-bg-fill)}.Polaris-CheckableButton:hover,.Polaris-CheckableButton:active{background:transparent}.Polaris-CheckableButton:focus{outline:none}.Polaris-CheckableButton__Checkbox{pointer-events:none;display:flex}.Polaris-CheckableButton__Label{display:flex;align-items:center;flex:1 1;white-space:nowrap;overflow:hidden;max-width:100%;text-overflow:ellipsis;padding:var(--p-space-025) 0}.Polaris-Indicator{--pc-indicator-size:.625rem;--pc-indicator-base-position:calc(var(--p-space-100)*-1)}.Polaris-Indicator:before,.Polaris-Indicator:after{content:"";position:absolute;background-color:var(--p-color-border-info);right:var(--pc-indicator-base-position);top:var(--pc-indicator-base-position);width:var(--pc-indicator-size);height:var(--pc-indicator-size);border-radius:var(--p-border-radius-full);border:calc(var(--pc-indicator-size)/2) solid transparent}.Polaris-Indicator--pulseIndicator:before{z-index:1;animation:var(--p-motion-keyframes-bounce) var(--p-motion-duration-5000) ease infinite}.Polaris-Indicator--pulseIndicator:after{right:var(--pc-indicator-base-position);top:var(--pc-indicator-base-position);animation:var(--p-motion-keyframes-pulse) var(--p-motion-duration-5000) ease infinite}.Polaris-BulkActions__BulkActionsOuterLayout{position:relative;flex:1 1;width:100%}.Polaris-BulkActions__BulkActionsSelectAllWrapper{min-height:1.5rem;display:flex;align-items:center;gap:var(--p-space-200)}.Polaris-BulkActions__BulkActionsPromotedActionsWrapper{flex:1 1}.Polaris-BulkActions__BulkActionsLayout{display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-end;flex:1 1 auto;gap:var(--p-space-100)}.Polaris-BulkActions__BulkActionsLayout>*{flex:0 0 auto}.Polaris-BulkActions--bulkActionsLayoutMeasuring{visibility:hidden;height:0}.Polaris-BulkActions__BulkActionsMeasurerLayout{position:absolute;display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-end;flex:1 1 auto;gap:0;padding:0;visibility:hidden;height:0;width:100%}.Polaris-BulkActions__BulkActionsMeasurerLayout>*{flex:0 0 auto}.Polaris-BulkActions__BulkActionButton{white-space:nowrap}.Polaris-BulkActions__BulkActionButton button{display:flex}.Polaris-BulkActions--disabled{transition:none;box-shadow:none;border-color:var(--p-color-border-disabled);background:var(--p-color-bg-fill-disabled);color:var(--p-color-text-disabled);cursor:default;pointer-events:none}.Polaris-BulkActions--disabled svg{fill:var(--p-color-icon-disabled)}.Polaris-BulkActions__AllAction{border:0;background:none;padding:0;cursor:pointer;color:var(--p-color-text-emphasis);outline:none;position:relative}.Polaris-BulkActions__AllAction:after{content:"";position:absolute;z-index:1;top:-.0625rem;right:-.0625rem;bottom:-.0625rem;left:-.0625rem;display:block;pointer-events:none;box-shadow:0 0 0 -.0625rem var(--p-color-border-focus);border-radius:var(--p-border-radius-100)}.Polaris-BulkActions__AllAction:hover,.Polaris-BulkActions__AllAction:focus{color:var(--p-color-text-emphasis-hover)}.Polaris-BulkActions__AllAction:active{color:var(--p-color-text-emphasis-active)}.Polaris-BulkActions__AllAction:focus-visible:not(:active):after{box-shadow:0 0 0 .125rem var(--p-color-border-focus);outline:var(--p-border-width-025) solid transparent}.Polaris-LegacyCard{background-color:var(--p-color-bg-surface);box-shadow:var(--p-shadow-300);outline:var(--p-border-width-025) solid transparent;overflow:clip;position:relative;box-shadow:var(--p-shadow-100);border-radius:var(--p-border-radius-0)}.Polaris-LegacyCard:before{content:"";position:absolute;top:0;left:0;right:0;bottom:0;z-index:101;box-shadow:var(--p-shadow-bevel-100);border-radius:var(--p-border-radius-0);pointer-events:none;mix-blend-mode:luminosity}.Polaris-LegacyCard+.Polaris-LegacyCard{margin-top:var(--p-space-400)}@media print{.Polaris-LegacyCard+.Polaris-LegacyCard{margin-top:calc(var(--p-space-200)*-1)}}@media (min-width: 30.625em){.Polaris-LegacyCard{border-radius:var(--p-border-radius-200);position:relative;box-shadow:var(--p-shadow-100);border-radius:var(--p-border-radius-300)}.Polaris-LegacyCard:before{content:"";position:absolute;top:0;left:0;right:0;bottom:0;z-index:101;box-shadow:var(--p-shadow-bevel-100);border-radius:var(--p-border-radius-300);pointer-events:none;mix-blend-mode:luminosity}.Polaris-LegacyCard .Polaris-LegacyCard__Section:first-child{border-top-left-radius:var(--p-border-radius-300);border-top-right-radius:var(--p-border-radius-300)}.Polaris-LegacyCard .Polaris-LegacyCard__Section:last-child{border-bottom-left-radius:var(--p-border-radius-300);border-bottom-right-radius:var(--p-border-radius-300)}}@media print{.Polaris-LegacyCard{position:relative;box-shadow:none;border-radius:var(--p-border-radius-0);border:none}.Polaris-LegacyCard:before{content:none;position:absolute;top:0;left:0;right:0;bottom:0;z-index:0;box-shadow:var(--p-shadow-bevel-100);border-radius:var(--p-border-radius-0);pointer-events:none;mix-blend-mode:luminosity}}.Polaris-LegacyCard--subdued{background-color:var(--p-color-bg-surface-secondary)}@media print{.Polaris-LegacyCard__Section--hideOnPrint,.Polaris-LegacyCard--hideOnPrint{display:none!important}}.Polaris-LegacyCard__Header{padding:var(--p-space-400) var(--p-space-400) 0}@media (min-width: 30.625em){.Polaris-LegacyCard__Header{padding:var(--p-space-200) var(--p-space-400) 0}}@media print and (min-width: 30.625em){.Polaris-LegacyCard__Header{padding:var(--p-space-200) var(--p-space-400) 0}}.Polaris-LegacyCard__Section{padding:var(--p-space-200) var(--p-space-400)}@media (min-width: 30.625em){.Polaris-LegacyCard__Section{padding:var(--p-space-200) var(--p-space-400)}}.Polaris-LegacyCard__Section+.Polaris-LegacyCard__Section{border-top:0}@media print{.Polaris-LegacyCard__Section+.Polaris-LegacyCard__Section{border-top:0}}@media print{.Polaris-LegacyCard__Section{padding-top:var(--p-space-100);padding-bottom:var(--p-space-100)}}.Polaris-LegacyCard__Section--fullWidth{padding:var(--p-space-400) 0}@media (min-width: 30.625em){.Polaris-LegacyCard__Section--fullWidth{padding:var(--p-space-400) 0}}.Polaris-LegacyCard__Section--flush{padding:0}@media (min-width: 30.625em){.Polaris-LegacyCard__Section--flush{padding:0}}.Polaris-LegacyCard__Section--subdued{background-color:var(--p-color-bg-surface-secondary);padding:var(--p-space-300) var(--p-space-400)}@media (-ms-high-contrast: active){.Polaris-LegacyCard__Section--subdued{background-color:transparent}}.Polaris-LegacyCard__Header+.Polaris-LegacyCard__Section--subdued{border-top:0;margin-top:0}.Polaris-LegacyCard__Section--subdued:last-child{padding:var(--p-space-400)}@media print{.Polaris-LegacyCard__Section--subdued:last-child{padding-top:var(--p-space-200);padding-bottom:var(--p-space-200)}}.Polaris-LegacyCard__SectionHeader{padding-bottom:var(--p-space-200)}.Polaris-LegacyCard__Section--fullWidth .Polaris-LegacyCard__SectionHeader{padding-left:var(--p-space-400);padding-right:var(--p-space-400)}@media (min-width: 30.625em){.Polaris-LegacyCard__Section--fullWidth .Polaris-LegacyCard__SectionHeader{padding-left:var(--p-space-400);padding-right:var(--p-space-400)}}.Polaris-LegacyCard__Subsection+.Polaris-LegacyCard__Subsection{border-top:0;margin-top:0;padding-top:var(--p-space-200)}@media print{.Polaris-LegacyCard__Subsection+.Polaris-LegacyCard__Subsection{border-top:0}}@media print{.Polaris-LegacyCard__Subsection{padding-top:var(--p-space-100);padding-bottom:var(--p-space-100)}}.Polaris-LegacyCard__Footer{display:flex;justify-content:flex-end;padding:0 var(--p-space-400) var(--p-space-400)}@media (min-width: 30.625em){.Polaris-LegacyCard__Footer{padding:0 var(--p-space-400) var(--p-space-400)}}.Polaris-LegacyCard__Footer.Polaris-LegacyCard__LeftJustified{justify-content:flex-start}.Polaris-LegacyCard__Section--subdued+.Polaris-LegacyCard__Footer{padding:var(--p-space-400);border-top:0}.Polaris-LegacyCard__FirstSectionPadding{padding-top:var(--p-space-400)}.Polaris-LegacyCard__LastSectionPadding{padding-bottom:var(--p-space-400)}.Polaris-LegacyStack{--pc-stack-spacing:var(--p-space-400);display:flex;flex-wrap:wrap;align-items:stretch;margin-top:calc(var(--pc-stack-spacing)*-1);margin-left:calc(var(--pc-stack-spacing)*-1)}.Polaris-LegacyStack>.Polaris-LegacyStack__Item{margin-top:var(--pc-stack-spacing);margin-left:var(--pc-stack-spacing);max-width:100%}.Polaris-LegacyStack--noWrap{flex-wrap:nowrap}.Polaris-LegacyStack--spacingNone{--pc-stack-spacing:0}.Polaris-LegacyStack--spacingExtraTight{--pc-stack-spacing:var(--p-space-100)}.Polaris-LegacyStack--spacingTight{--pc-stack-spacing:var(--p-space-200)}.Polaris-LegacyStack--spacingBaseTight{--pc-stack-spacing:var(--p-space-300)}.Polaris-LegacyStack--spacingLoose{--pc-stack-spacing:var(--p-space-500)}.Polaris-LegacyStack--spacingExtraLoose{--pc-stack-spacing:var(--p-space-800)}.Polaris-LegacyStack--distributionLeading{justify-content:flex-start}.Polaris-LegacyStack--distributionTrailing{justify-content:flex-end}.Polaris-LegacyStack--distributionCenter{justify-content:center}.Polaris-LegacyStack--distributionEqualSpacing{justify-content:space-between}.Polaris-LegacyStack--distributionFill>.Polaris-LegacyStack__Item{flex:1 1 auto}.Polaris-LegacyStack--distributionFillEvenly>.Polaris-LegacyStack__Item{flex:1 1 auto}@supports ((min-width: -webkit-fit-content) or (min-width: fit-content)){.Polaris-LegacyStack--distributionFillEvenly>.Polaris-LegacyStack__Item{flex:1 0;min-width:-webkit-fit-content;min-width:fit-content}}.Polaris-LegacyStack--alignmentLeading{align-items:flex-start}.Polaris-LegacyStack--alignmentTrailing{align-items:flex-end}.Polaris-LegacyStack--alignmentCenter{align-items:center}.Polaris-LegacyStack--alignmentFill{align-items:stretch}.Polaris-LegacyStack--alignmentBaseline{align-items:baseline}.Polaris-LegacyStack--vertical{flex-direction:column;margin-left:0}.Polaris-LegacyStack--vertical>.Polaris-LegacyStack__Item{margin-left:0}.Polaris-LegacyStack__Item{flex:0 0 auto;min-width:0}.Polaris-LegacyStack__Item--fill{flex:1 1 auto}.Polaris-CalloutCard{display:flex;align-items:center}.Polaris-CalloutCard__Image{display:none;flex:0 0 auto;width:6.25rem}@media (min-width: 30.625em){.Polaris-CalloutCard__Image{display:block;margin-left:var(--p-space-500)}}.Polaris-CalloutCard__DismissImage{margin-right:var(--p-space-500)}.Polaris-CalloutCard__Content{flex:1 1 auto}.Polaris-CalloutCard__Title{margin-bottom:var(--p-space-200)}.Polaris-CalloutCard__Buttons{margin-top:var(--p-space-200)}.Polaris-CalloutCard__Container{position:relative}.Polaris-CalloutCard__Dismiss{right:var(--p-space-400);top:var(--p-space-400);position:absolute}.Polaris-CalloutCard__Dismiss svg{fill:var(--p-color-icon-secondary)}.Polaris-CalloutCard--hasDismiss{padding-right:calc(var(--p-space-800) + var(--p-space-200))}.Polaris-RadioButton{position:relative;margin:var(--p-space-025)}.Polaris-RadioButton__Input{position:absolute!important;top:0;width:.0625rem!important;height:.0625rem!important;margin:0!important;padding:0!important;overflow:hidden!important;clip-path:inset(50%)!important;border:0!important;white-space:nowrap!important}.Polaris-RadioButton__Input:focus-visible+.Polaris-RadioButton__Backdrop{outline:var(--p-border-width-050) solid var(--p-color-border-focus);outline-offset:var(--p-space-025)}.Polaris-RadioButton__Input:focus-visible+.Polaris-RadioButton__Backdrop:after{border-radius:var(--p-border-radius-full)}.Polaris-RadioButton__Input:checked+.Polaris-RadioButton__Backdrop,.Polaris-RadioButton__ChoiceLabel:hover .Polaris-RadioButton__Input:checked+.Polaris-RadioButton__Backdrop{border-color:var(--p-color-border-emphasis)}.Polaris-RadioButton__Input:checked+.Polaris-RadioButton__Backdrop:before,.Polaris-RadioButton__ChoiceLabel:hover .Polaris-RadioButton__Input:checked+.Polaris-RadioButton__Backdrop:before{background-color:var(--p-color-text-brand-on-bg-fill);transition:opacity var(--p-motion-duration-150) var(--p-motion-ease-out),transform var(--p-motion-duration-150) var(--p-motion-ease-out);opacity:1;transform:translate(-50%,-50%) scale(1)}.Polaris-RadioButton__Input:checked:not([disabled])+.Polaris-RadioButton__Backdrop,.Polaris-RadioButton__ChoiceLabel:hover .Polaris-RadioButton__Input:checked:not([disabled])+.Polaris-RadioButton__Backdrop{background-color:var(--p-color-bg-fill-brand-selected);border-color:var(--p-color-bg-fill-brand-selected)}.Polaris-RadioButton__Input.Polaris-RadioButton--toneMagic:checked:not([disabled])+.Polaris-RadioButton__Backdrop,.Polaris-RadioButton__ChoiceLabel:hover .Polaris-RadioButton__Input.Polaris-RadioButton--toneMagic:checked:not([disabled])+.Polaris-RadioButton__Backdrop{background-color:var(--p-color-bg-fill-magic);border-color:var(--p-color-bg-fill-magic)}.Polaris-RadioButton__Input.Polaris-RadioButton--toneMagic:checked:not([disabled])+.Polaris-RadioButton__Backdrop:before,.Polaris-RadioButton__ChoiceLabel:hover .Polaris-RadioButton__Input.Polaris-RadioButton--toneMagic:checked:not([disabled])+.Polaris-RadioButton__Backdrop:before{background-color:var(--p-color-text-magic-on-bg-fill)}.Polaris-RadioButton__ChoiceLabel:hover .Polaris-RadioButton__Input+.Polaris-RadioButton__Backdrop{cursor:pointer;border-color:var(--p-color-input-border-hover);background:var(--p-color-input-bg-surface-hover)}.Polaris-RadioButton__ChoiceLabel:active .Polaris-RadioButton__Input+.Polaris-RadioButton__Backdrop{border-color:var(--p-color-bg-fill-brand);border-width:var(--p-border-width-050)}.Polaris-RadioButton__Input:disabled+.Polaris-RadioButton__Backdrop,.Polaris-RadioButton__ChoiceLabel:hover .Polaris-RadioButton__Input:disabled+.Polaris-RadioButton__Backdrop{cursor:default;background-color:var(--p-color-radio-button-bg-surface-disabled);border:none}.Polaris-RadioButton__Input:disabled+.Polaris-RadioButton__Backdrop:before,.Polaris-RadioButton__ChoiceLabel:hover .Polaris-RadioButton__Input:disabled+.Polaris-RadioButton__Backdrop:before{background-color:var(--p-color-border-disabled)}.Polaris-RadioButton__Input:disabled:checked+.Polaris-RadioButton__Backdrop:before,.Polaris-RadioButton__ChoiceLabel:hover .Polaris-RadioButton__Input:disabled:checked+.Polaris-RadioButton__Backdrop:before{background-color:var(--p-color-radio-button-icon-disabled)}.Polaris-RadioButton__Backdrop{--pc-icon-size-small:.5rem;position:relative;top:0;left:0;display:block;width:100%;height:100%;border:var(--p-border-width-0165) solid var(--p-color-input-border);border-radius:var(--p-border-radius-full);background-color:var(--p-color-input-bg-surface);transition:border-color var(--p-motion-duration-100) var(--p-motion-ease-out)}@media (max-width: 47.9975em){.Polaris-RadioButton__Backdrop{--pc-icon-size-small:.625rem}}.Polaris-RadioButton__Backdrop:before{content:"";position:absolute;top:50%;left:50%;opacity:0;transform:translate(-50%,-50%) scale(.1);transform-origin:50% 50%;height:var(--pc-icon-size-small);width:var(--pc-icon-size-small);background-color:var(--p-color-bg-fill-brand);border-radius:var(--p-border-radius-full);transition:opacity var(--p-motion-duration-100) var(--p-motion-ease-out),transform var(--p-motion-duration-100) var(--p-motion-ease-out)}@media (forced-colors: active){.Polaris-RadioButton__Backdrop:before{border:var(--p-border-width-100) solid transparent}}.Polaris-RadioButton__Backdrop{position:relative}.Polaris-RadioButton__Backdrop:after{content:"";position:absolute;z-index:1;top:calc(var(--p-border-width-050)*-1 + -.0625rem);right:calc(var(--p-border-width-050)*-1 + -.0625rem);bottom:calc(var(--p-border-width-050)*-1 + -.0625rem);left:calc(var(--p-border-width-050)*-1 + -.0625rem);display:block;pointer-events:none;box-shadow:0 0 0 calc(var(--p-border-width-050)*-1 + -.0625rem) var(--p-color-border-focus);border-radius:var(--p-border-radius-100)}.Polaris-RadioButton__Backdrop:after{border-radius:var(--p-border-radius-full)}.Polaris-ChoiceList__ChoiceChildren{padding-left:calc(var(--p-space-200) + 1.25rem)}.Polaris-Collapsible{padding-top:0;padding-bottom:0;max-height:0;overflow:hidden;-webkit-backface-visibility:hidden;backface-visibility:hidden;will-change:max-height;transition-property:max-height;transition-duration:var(--p-motion-duration-100);transition-timing-function:var(--p-motion-ease-out)}.Polaris-Collapsible--isFullyClosed{display:none}@media print{.Polaris-Collapsible--expandOnPrint{max-height:none!important;overflow:visible;display:block}}.Polaris-ColorPicker{--pc-color-picker-size:10rem;--pc-color-picker-dragger-size:1.125rem;--pc-color-picker-z-index:10;--pc-color-picker-adjustments:20;--pc-color-picker-dragger:30;--pc-color-picker-inner-shadow:inset 0 0 .125rem 0 rgba(0, 0, 0, .5);--pc-color-picker-dragger-shadow:inset 0 .0625rem .125rem 0 rgba(33, 43, 54, .32), 0 .0625rem .125rem 0 rgba(33, 43, 54, .32);--pc-color-picker-checkers:repeating-conic-gradient( var(--p-color-bg-surface) 0% 25%, var(--p-color-bg-surface-secondary) 0% 50% ) 50% / var(--p-space-400) var(--p-space-400);-webkit-user-select:none;user-select:none;display:flex}.Polaris-ColorPicker__MainColor{background:var(--pc-color-picker-checkers);position:relative;overflow:hidden;height:var(--pc-color-picker-size);width:var(--pc-color-picker-size);border-radius:var(--p-border-radius-100);cursor:pointer}.Polaris-ColorPicker--fullWidth .Polaris-ColorPicker__MainColor{width:auto;flex-grow:1}.Polaris-ColorPicker__MainColor .Polaris-ColorPicker__Dragger{right:calc(var(--pc-color-picker-dragger-size)*.5);margin:0;box-shadow:var(--pc-color-picker-dragger-shadow)}.Polaris-ColorPicker__MainColor .Polaris-ColorPicker__ColorLayer{border-radius:var(--p-border-radius-100)}.Polaris-ColorPicker__MainColor:after,.Polaris-ColorPicker__MainColor:before{content:"";position:absolute;z-index:var(--pc-color-picker-adjustments);top:0;left:0;display:block;height:100%;width:100%;pointer-events:none;border-radius:var(--p-border-radius-100)}.Polaris-ColorPicker__MainColor:before{background:linear-gradient(to right,white,transparent)}.Polaris-ColorPicker__MainColor:after{background-image:linear-gradient(to top,black,transparent);box-shadow:var(--pc-color-picker-inner-shadow)}@media (-ms-high-contrast: active){.Polaris-ColorPicker__MainColor{outline:var(--p-border-width-025) solid windowText}}.Polaris-ColorPicker__Dragger{position:relative;z-index:var(--pc-color-picker-dragger);bottom:calc(var(--pc-color-picker-dragger-size)*.5);transform:none;height:var(--pc-color-picker-dragger-size);width:var(--pc-color-picker-dragger-size);margin:0 auto;-webkit-backface-visibility:hidden;backface-visibility:hidden;will-change:transform;background:transparent;border:var(--p-border-radius-100) solid var(--p-color-bg-surface);border-radius:var(--p-border-radius-full);pointer-events:none;box-shadow:var(--pc-color-picker-dragger-shadow)}.Polaris-ColorPicker__HuePicker,.Polaris-ColorPicker__AlphaPicker{--pc-color-picker-vertical-border-radius:calc(var(--pc-color-picker-size)*.5);position:relative;overflow:hidden;height:var(--pc-color-picker-size);width:var(--p-space-600);margin-left:var(--p-space-200);border-width:var(--p-border-radius-100);border-radius:var(--pc-color-picker-vertical-border-radius)}.Polaris-ColorPicker__HuePicker:after,.Polaris-ColorPicker__AlphaPicker:after{content:"";position:absolute;z-index:var(--pc-color-picker-adjustments);top:0;left:0;display:block;height:100%;width:100%;pointer-events:none;border-radius:var(--pc-color-picker-vertical-border-radius);box-shadow:var(--pc-color-picker-inner-shadow)}@media (-ms-high-contrast: active){.Polaris-ColorPicker__HuePicker,.Polaris-ColorPicker__AlphaPicker{outline:var(--p-border-width-025) solid windowText}}.Polaris-ColorPicker__HuePicker{background-image:linear-gradient(to bottom,red var(--pc-color-picker-dragger-size),yellow,lime,cyan,blue,magenta,red calc(var(--pc-color-picker-size) - var(--pc-color-picker-dragger-size)))}.Polaris-ColorPicker__AlphaPicker{background:var(--pc-color-picker-checkers)}.Polaris-ColorPicker__ColorLayer{position:absolute;z-index:var(--pc-color-picker-z-index);top:0;left:0;height:100%;width:100%;pointer-events:none}.Polaris-ColorPicker__Slidable{height:100%;width:100%;cursor:pointer}.Polaris-InlineGrid{--pc-inline-grid-gap-xs: initial;--pc-inline-grid-gap-sm: initial;--pc-inline-grid-gap-md: initial;--pc-inline-grid-gap-lg: initial;--pc-inline-grid-gap-xl: initial;gap:var(--pc-inline-grid-gap-xs);--pc-inline-grid-grid-template-columns-xs: initial;--pc-inline-grid-grid-template-columns-sm: initial;--pc-inline-grid-grid-template-columns-md: initial;--pc-inline-grid-grid-template-columns-lg: initial;--pc-inline-grid-grid-template-columns-xl: initial;grid-template-columns:var(--pc-inline-grid-grid-template-columns-xs);--pc-inline-grid-align-items:initial;display:grid;align-items:var(--pc-inline-grid-align-items)}@media (min-width: 30.625em){.Polaris-InlineGrid{gap:var( --pc-inline-grid-gap-sm, var(--pc-inline-grid-gap-xs) )}}@media (min-width: 48em){.Polaris-InlineGrid{gap:var( --pc-inline-grid-gap-md, var( --pc-inline-grid-gap-sm, var(--pc-inline-grid-gap-xs) ) )}}@media (min-width: 65em){.Polaris-InlineGrid{gap:var( --pc-inline-grid-gap-lg, var( --pc-inline-grid-gap-md, var( --pc-inline-grid-gap-sm, var(--pc-inline-grid-gap-xs) ) ) )}}@media (min-width: 90em){.Polaris-InlineGrid{gap:var( --pc-inline-grid-gap-xl, var( --pc-inline-grid-gap-lg, var( --pc-inline-grid-gap-md, var( --pc-inline-grid-gap-sm, var(--pc-inline-grid-gap-xs) ) ) ) )}}@media (min-width: 30.625em){.Polaris-InlineGrid{grid-template-columns:var( --pc-inline-grid-grid-template-columns-sm, var(--pc-inline-grid-grid-template-columns-xs) )}}@media (min-width: 48em){.Polaris-InlineGrid{grid-template-columns:var( --pc-inline-grid-grid-template-columns-md, var( --pc-inline-grid-grid-template-columns-sm, var(--pc-inline-grid-grid-template-columns-xs) ) )}}@media (min-width: 65em){.Polaris-InlineGrid{grid-template-columns:var( --pc-inline-grid-grid-template-columns-lg, var( --pc-inline-grid-grid-template-columns-md, var( --pc-inline-grid-grid-template-columns-sm, var(--pc-inline-grid-grid-template-columns-xs) ) ) )}}@media (min-width: 90em){.Polaris-InlineGrid{grid-template-columns:var( --pc-inline-grid-grid-template-columns-xl, var( --pc-inline-grid-grid-template-columns-lg, var( --pc-inline-grid-grid-template-columns-md, var( --pc-inline-grid-grid-template-columns-sm, var(--pc-inline-grid-grid-template-columns-xs) ) ) ) )}}.Polaris-Pagination button{border:none!important;box-shadow:none!important;background-color:var(--p-color-bg-fill-tertiary)}.Polaris-Pagination button:hover{background-color:var(--p-color-bg-fill-tertiary-hover)}.Polaris-Pagination button:active{box-shadow:var(--p-shadow-inset-200)!important}.Polaris-Pagination button:active,.Polaris-Pagination button:focus{background-color:var(--p-color-bg-fill-tertiary-active)}.Polaris-Pagination.Polaris-Pagination--table{border-top:.0625rem solid var(--p-color-border)}.Polaris-Pagination.Polaris-Pagination--table button{--button-min-height:var(--p-height-700);background-color:var(--p-color-bg-surface-secondary-selected);min-height:var(--button-min-height);min-width:var(--button-min-height);height:var(--button-min-height);width:var(--button-min-height);display:flex;padding:unset}.Polaris-Pagination.Polaris-Pagination--table button:hover{background-color:var(--p-color-bg-fill-tertiary-hover)}.Polaris-Pagination.Polaris-Pagination--table button:hover svg{fill:var(--p-color-icon-hover)}.Polaris-Pagination.Polaris-Pagination--table button:active,.Polaris-Pagination.Polaris-Pagination--table button:focus{background-color:var(--p-color-bg-fill-tertiary-active)}.Polaris-Pagination.Polaris-Pagination--table button:active svg,.Polaris-Pagination.Polaris-Pagination--table button:focus svg{fill:var(--p-color-icon-active)}.Polaris-Pagination.Polaris-Pagination--table button:disabled svg{fill:var(--p-color-icon-disabled)}.Polaris-Pagination__TablePaginationActions{display:flex;gap:var(--p-space-025);align-items:center;justify-content:center}.Polaris-DataTable{--pc-data-table-first-column-width:9.0625rem;position:relative;max-width:100vw;background-color:var(--p-color-bg-surface);border-radius:0;overflow:hidden}@media (min-width: 30.625em){.Polaris-DataTable{border-radius:var(--p-border-radius-300)}}.Polaris-DataTable--condensed .Polaris-DataTable__Navigation{display:flex;align-items:center;justify-content:center;width:100%;padding:var(--p-space-400) var(--p-space-300)}@media (min-width: 48em){.Polaris-DataTable--condensed .Polaris-DataTable__Navigation{justify-content:flex-end}}.Polaris-DataTable__Navigation{display:none}.Polaris-DataTable__Pip{height:.375rem;width:.375rem;background:var(--p-color-icon-secondary);border-radius:var(--p-border-radius-100)}.Polaris-DataTable__Pip:not(:last-of-type){margin-right:var(--p-space-100)}.Polaris-DataTable__Pip:first-of-type{margin-left:var(--p-space-100)}.Polaris-DataTable__Pip:last-of-type{margin-right:var(--p-space-100)}.Polaris-DataTable__Pip--visible{background:var(--p-color-icon)}.Polaris-DataTable__ScrollContainer{overflow-x:auto;-webkit-overflow-scrolling:touch;scroll-behavior:smooth;background-color:inherit}.Polaris-DataTable__Table{width:100%;border-spacing:0}.Polaris-DataTable__TableRow+.Polaris-DataTable__TableRow .Polaris-DataTable__Cell{border-top:var(--p-border-width-025) solid var(--p-color-border-secondary)}.Polaris-DataTable__Cell{font-weight:var(--p-font-weight-regular);color:var(--p-color-text);white-space:nowrap;text-align:left;transition:background-color var(--p-motion-duration-200) var(--p-motion-ease-in-out);padding:var(--p-space-200) var(--p-space-150)}.Polaris-DataTable__Cell:first-child{padding-left:var(--p-space-300)}.Polaris-DataTable__Cell:last-child{padding-right:var(--p-space-300)}.Polaris-DataTable__IncreasedTableDensity .Polaris-DataTable__Cell{padding:var(--p-space-150)}.Polaris-DataTable__IncreasedTableDensity .Polaris-DataTable__Cell:first-child{padding-left:var(--p-space-300)}.Polaris-DataTable__IncreasedTableDensity .Polaris-DataTable__Cell:last-child{padding-right:var(--p-space-300)}.Polaris-DataTable__ZebraStripingOnData .Polaris-DataTable__TableRow:nth-child(odd) .Polaris-DataTable__Cell,.Polaris-DataTable__ZebraStripingOnData.Polaris-DataTable__RowCountIsEven .Polaris-DataTable__TableRow:nth-child(2n) .Polaris-DataTable__Cell,.Polaris-DataTable__ZebraStripingOnData.Polaris-DataTable__ShowTotalsInFooter .Polaris-DataTable__TableRow:nth-child(2n) .Polaris-DataTable__Cell,.Polaris-DataTable__ZebraStripingOnData.Polaris-DataTable__ShowTotalsInFooter.Polaris-DataTable__RowCountIsEven .Polaris-DataTable__TableRow:nth-child(odd) .Polaris-DataTable__Cell{background:none}.Polaris-DataTable__ZebraStripingOnData .Polaris-DataTable__TableRow:nth-child(2n) .Polaris-DataTable__Cell,.Polaris-DataTable__ZebraStripingOnData.Polaris-DataTable__RowCountIsEven .Polaris-DataTable__TableRow:nth-child(odd) .Polaris-DataTable__Cell,.Polaris-DataTable__ZebraStripingOnData.Polaris-DataTable__ShowTotalsInFooter .Polaris-DataTable__TableRow:nth-child(odd) .Polaris-DataTable__Cell,.Polaris-DataTable__ZebraStripingOnData.Polaris-DataTable__ShowTotalsInFooter.Polaris-DataTable__RowCountIsEven .Polaris-DataTable__TableRow:nth-child(2n) .Polaris-DataTable__Cell{background:var(--p-color-bg-surface-secondary)}.Polaris-DataTable__Cell--separate:after{content:"";position:absolute;top:0;right:0;bottom:0;border-right:var(--p-border-width-025) solid var(--p-color-border)}.Polaris-DataTable__Cell--firstColumn{text-align:left;white-space:normal}.Polaris-DataTable__Cell--numeric{text-align:right}.Polaris-DataTable__Cell--truncated{white-space:nowrap;overflow-x:hidden;text-overflow:ellipsis;max-width:var(--pc-data-table-first-column-width)}.Polaris-DataTable__Cell--header{font-weight:var(--p-font-weight-regular);color:var(--p-color-text);border-bottom:var(--p-border-width-025) solid var(--p-color-border);border-top:0;padding-top:var(--p-space-300);padding-bottom:var(--p-space-300)}.Polaris-DataTable__IncreasedTableDensity .Polaris-DataTable__Cell--header{font-weight:var(--p-font-weight-regular)}.Polaris-DataTable__Cell--sortable{padding:0}.Polaris-DataTable__Cell--sortable:first-child{padding-left:var(--p-space-200)}.Polaris-DataTable__Cell--sortable:last-child{padding-right:var(--p-space-200)}.Polaris-DataTable__IncreasedTableDensity .Polaris-DataTable__Cell--sortable{padding:0}.Polaris-DataTable__IncreasedTableDensity .Polaris-DataTable__Cell--sortable:first-child{padding-left:var(--p-space-200)}.Polaris-DataTable__IncreasedTableDensity .Polaris-DataTable__Cell--sortable:last-child{padding-right:var(--p-space-200)}.Polaris-DataTable__IncreasedTableDensity .Polaris-DataTable__Cell--sortable .Polaris-DataTable__Heading--left{padding-right:0;padding-left:var(--p-space-100)}.Polaris-DataTable__Cell--verticalAlignTop{vertical-align:top}.Polaris-DataTable__Cell--verticalAlignBottom{vertical-align:bottom}.Polaris-DataTable__Cell--verticalAlignMiddle{vertical-align:middle}.Polaris-DataTable__Cell--verticalAlignBaseline{vertical-align:baseline}@media (min-width: 48em){.Polaris-DataTable--hoverable .Polaris-DataTable__Cell--hovered{background:var(--p-color-bg-surface-hover)}}.Polaris-DataTable__Icon{display:flex;align-self:flex-end;opacity:0;transition:opacity var(--p-motion-duration-200) var(--p-motion-ease)}.Polaris-DataTable__Heading{-webkit-appearance:none;-moz-appearance:none;appearance:none;margin:0;padding:0;background:none;border:none;font-size:inherit;line-height:inherit;color:inherit;position:relative;display:inline-flex;justify-content:flex-end;align-items:baseline;color:var(--p-color-text);transition:color var(--p-motion-duration-200) var(--p-motion-ease);cursor:pointer;margin:.1875rem;padding:.5625rem .1875rem}.Polaris-DataTable__Heading:focus{outline:none}.Polaris-DataTable__Heading:after{content:"";position:absolute;z-index:1;top:-.0625rem;right:-.0625rem;bottom:-.0625rem;left:-.0625rem;display:block;pointer-events:none;box-shadow:0 0 0 -.0625rem var(--p-color-border-focus);border-radius:var(--p-border-radius-100)}.Polaris-DataTable__Heading svg{fill:var(--p-color-icon-disabled)}.Polaris-DataTable__StickyHeaderEnabled [data-sticky-active] .Polaris-DataTable__Heading{visibility:hidden}.Polaris-DataTable__StickyHeaderEnabled [data-sticky-active] .Polaris-DataTable__StickyHeaderWrapper .Polaris-DataTable__Heading{visibility:visible}.Polaris-DataTable__IncreasedTableDensity .Polaris-DataTable__Heading{margin:.1875rem;padding:.1875rem}.Polaris-DataTable__Heading:hover .Polaris-DataTable__Icon{opacity:1}.Polaris-DataTable__Heading:focus-visible:not(:active):after{box-shadow:0 0 0 .125rem var(--p-color-border-focus);outline:var(--p-border-width-025) solid transparent}.Polaris-DataTable__Heading:focus-visible:not(:active) .Polaris-DataTable__Icon{opacity:1}.Polaris-DataTable__Heading:focus-visible:not(:active) .Polaris-DataTable__Icon svg{fill:var(--p-color-icon-disabled)}.Polaris-DataTable__Heading--left{justify-content:flex-start;flex-direction:row-reverse}.Polaris-DataTable__Cell--sorted .Polaris-DataTable__Icon{opacity:1}.Polaris-DataTable__Cell--sorted .Polaris-DataTable__Icon svg{fill:var(--p-color-icon)}.Polaris-DataTable__Cell--sorted:hover svg{fill:var(--p-color-icon)}.Polaris-DataTable__Cell--sorted .Polaris-DataTable__Heading:focus:not(:active) svg{fill:var(--p-color-icon)}.Polaris-DataTable__Cell--total{font-weight:var(--p-font-weight-semibold);background:var(--p-color-bg-surface-secondary);border-bottom:var(--p-border-width-025) solid var(--p-color-border)}.Polaris-DataTable__ZebraStripingOnData.Polaris-DataTable__ShowTotals .Polaris-DataTable__Cell--total{background:var(--p-color-bg-surface-secondary)}.Polaris-DataTable__ZebraStripingOnData.Polaris-DataTable__ShowTotals.Polaris-DataTable__RowCountIsEven .Polaris-DataTable__Cell--total,.Polaris-DataTable__ZebraStripingOnData.Polaris-DataTable__ShowTotalsInFooter .Polaris-DataTable__Cell--total{background:none}.Polaris-DataTable--cellTotalFooter{border-top:var(--p-border-width-025) solid var(--p-color-border);border-bottom:none}.Polaris-DataTable__Footer{padding:var(--p-space-200) var(--p-space-300);background:var(--p-color-bg-surface-secondary);color:var(--p-color-text-secondary);text-align:center;border-top:var(--p-border-width-025) solid var(--p-color-border)}.Polaris-DataTable__IncreasedTableDensity .Polaris-DataTable__Footer{padding:var(--p-space-150) var(--p-space-300)}.Polaris-DataTable__ZebraStripingOnData .Polaris-DataTable__Footer{background:none}.Polaris-DataTable__StickyHeaderEnabled .Polaris-DataTable__StickyHeaderWrapper{position:relative;top:0;left:0;right:0;visibility:hidden;z-index:var(--p-z-index-1)}.Polaris-DataTable__StickyHeaderEnabled .Polaris-DataTable__StickyHeaderInner{position:absolute;display:flex;flex-direction:column;width:100%;overflow:hidden;border-spacing:0}.Polaris-DataTable__StickyHeaderEnabled .Polaris-DataTable__StickyHeaderInner:not(.Polaris-DataTable__StickyHeaderInner--isSticky){top:-624.9375rem;left:-624.9375rem}.Polaris-DataTable__StickyHeaderEnabled .Polaris-DataTable__StickyHeaderTable{border-collapse:collapse;display:block;overflow-x:auto;width:100%;scrollbar-width:none}.Polaris-DataTable__StickyHeaderEnabled .Polaris-DataTable__StickyHeaderTable::-webkit-scrollbar{-webkit-appearance:none;-moz-appearance:none;appearance:none;height:0;width:0}.Polaris-DataTable__StickyHeaderEnabled .Polaris-DataTable__StickyHeaderTable .Polaris-DataTable__FixedFirstColumn{bottom:0;top:auto;padding-left:var(--p-space-300)}.Polaris-DataTable__StickyHeaderEnabled .Polaris-DataTable__StickyTableHeadingsRow{background-color:var(--p-color-bg-surface)}.Polaris-DataTable__StickyHeaderEnabled .Polaris-DataTable__StickyHeaderInner--isSticky{visibility:visible;background-color:var(--p-color-bg-surface);box-shadow:var(--p-shadow-100)}.Polaris-DataTable__FixedFirstColumn{position:absolute;background:inherit;z-index:3;border-spacing:0;top:0;left:0}@media (max-width: 47.9975em){.Polaris-DataTable__FixedFirstColumn{z-index:1}}.Polaris-DataTable__TooltipContent{display:block;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.Polaris-DatePicker{--pc-date-picker-range-end-border-radius:var(--p-border-radius-200);position:relative}.Polaris-DatePicker__MonthLayout{display:flex;flex-wrap:wrap;margin-top:calc(var(--p-space-400)*-1);margin-left:calc(var(--p-space-400)*-1)}.Polaris-DatePicker__MonthContainer{flex:1 1 14.375rem;margin-top:var(--p-space-400);margin-left:var(--p-space-400);max-width:calc(100% - var(--p-space-400));min-width:14.375rem}.Polaris-DatePicker__Month{width:100%;table-layout:fixed;border-collapse:collapse;border:none;border-spacing:0}.Polaris-DatePicker__DayCell{width:14.28571%;background:transparent;margin:0;padding:0;border-radius:var(--p-border-radius-100)}.Polaris-DatePicker__DayCell--inRange{border-radius:0}.Polaris-DatePicker__Day{display:block;height:100%;width:100%;margin:0;padding:var(--p-space-200);background:transparent;border:none;border-radius:var(--p-border-radius-200);outline:none;color:var(--p-color-text);cursor:pointer}.Polaris-DatePicker__Day:hover{background:var(--p-color-bg-fill-brand-hover);color:var(--p-color-text-brand-on-bg-fill);outline:var(--p-border-width-025) solid transparent}.Polaris-DatePicker__Day{position:relative}.Polaris-DatePicker__Day:after{content:"";position:absolute;z-index:1;top:-.0625rem;right:-.0625rem;bottom:-.0625rem;left:-.0625rem;display:block;pointer-events:none;box-shadow:0 0 0 -.0625rem var(--p-color-border-focus);border-radius:var(--p-border-radius-100)}.Polaris-DatePicker__Day:focus-visible:not(:active):after{box-shadow:0 0 0 .125rem var(--p-color-border-focus);outline:var(--p-border-width-025) solid transparent}.Polaris-DatePicker__Day--inRange{background:var(--p-color-bg-surface-brand-selected);border-radius:0}@media (-ms-high-contrast: active){.Polaris-DatePicker__Day--inRange{-ms-high-contrast-adjust:none;background-color:Highlight;color:HighlightText}.Polaris-DatePicker__Day--inRange:hover{background-color:HighlightText;color:Highlight;outline:var(--p-border-width-050) solid Highlight}}.Polaris-DatePicker__Day--selected{background:var(--p-color-bg-fill-brand-selected);color:var(--p-color-text-brand-on-bg-fill)}@media (-ms-high-contrast: active){.Polaris-DatePicker__Day--selected{-ms-high-contrast-adjust:none;background-color:Highlight;color:HighlightText}.Polaris-DatePicker__Day--selected:hover{background-color:HighlightText;color:Highlight;outline:var(--p-border-width-050) solid Highlight}}.Polaris-DatePicker__Day--disabled,.Polaris-DatePicker__Day--disabled:hover{background-color:transparent;color:var(--p-color-text-disabled)}@media (-ms-high-contrast){.Polaris-DatePicker__Day--disabled{-ms-high-contrast-adjust:none;color:grayText}.Polaris-DatePicker__Day--disabled:hover{color:grayText;outline:none}}.Polaris-DatePicker__Day--disabled:focus:after{content:none}.Polaris-DatePicker__EmptyDayCell{width:14.28571%;margin:0;padding:0}.Polaris-DatePicker__Weekday{padding:var(--p-space-200);background:transparent}.Polaris-DatePicker__Header{position:absolute;top:var(--p-space-400);display:flex;justify-content:space-between;width:100%}.Polaris-DatePicker__Title{flex:1 1 auto;padding-bottom:var(--p-space-100)}.Polaris-DatePicker__Day--firstInRange{border-radius:var(--p-border-radius-200)}.Polaris-DatePicker__Day--firstInRange.Polaris-DatePicker__Day--hasRange,.Polaris-DatePicker__Day--firstInRange.Polaris-DatePicker__Day--hoverRight{border-radius:var(--pc-date-picker-range-end-border-radius) 0 0 var(--pc-date-picker-range-end-border-radius)}.Polaris-DatePicker__Day--firstInRange.Polaris-DatePicker__Day--hasRange:after,.Polaris-DatePicker__Day--firstInRange.Polaris-DatePicker__Day--hoverRight:after{border-radius:var(--pc-date-picker-range-end-border-radius) 0 0 var(--pc-date-picker-range-end-border-radius)}.Polaris-DatePicker__Day--lastInRange{border-radius:0 var(--pc-date-picker-range-end-border-radius) var(--pc-date-picker-range-end-border-radius) 0}.Polaris-DatePicker__Day--lastInRange:after{border-radius:0 var(--pc-date-picker-range-end-border-radius) var(--pc-date-picker-range-end-border-radius) 0}.Polaris-DatePicker__Week{margin-bottom:var(--p-space-050)}.Polaris-DatePicker__Week>.Polaris-DatePicker__Day--inRange:first-child:not(.Polaris-DatePicker__Day--firstInRange):not(.Polaris-DatePicker__Day--lastInRange){border-radius:var(--p-border-radius-100) 0 0 var(--p-border-radius-100)}.Polaris-DatePicker__Week>.Polaris-DatePicker__Day--inRange:last-child:not(.Polaris-DatePicker__Day--firstInRange):not(.Polaris-DatePicker__Day--lastInRange){border-radius:0 var(--p-border-radius-100) var(--p-border-radius-100) 0}.Polaris-DatePicker__Day--inRange:after,.Polaris-DatePicker__Day--inRange:not(:hover)+.Polaris-DatePicker__Day:after{border-radius:0 var(--pc-date-picker-range-end-border-radius) var(--pc-date-picker-range-end-border-radius) 0}.Polaris-DescriptionList{margin:0;padding:0;word-break:break-word}@media (min-width: 30.625em){.Polaris-DescriptionList{display:flex;flex-wrap:wrap;align-items:flex-start}}.Polaris-DescriptionList__Term{font-weight:var(--p-font-weight-semibold);padding:var(--p-space-400) 0 var(--p-space-200)}.Polaris-DescriptionList--spacingTight .Polaris-DescriptionList__Term{padding:var(--p-space-200) 0 var(--p-space-100)}@media (min-width: 30.625em){.Polaris-DescriptionList__Term{flex:0 1 25%;padding:var(--p-space-400) var(--p-space-400) var(--p-space-400) 0}.Polaris-DescriptionList--spacingTight .Polaris-DescriptionList__Term{padding:var(--p-space-200) var(--p-space-200) var(--p-space-200) 0}.Polaris-DescriptionList__Description+.Polaris-DescriptionList__Term+.Polaris-DescriptionList__Description{border-top:var(--p-border-width-025) solid var(--p-color-border-secondary)}}.Polaris-DescriptionList__Description{margin-left:0;padding:0 0 var(--p-space-400)}.Polaris-DescriptionList--spacingTight .Polaris-DescriptionList__Description{padding:0 0 var(--p-space-200)}.Polaris-DescriptionList__Description+.Polaris-DescriptionList__Term{border-top:var(--p-border-width-025) solid var(--p-color-border-secondary)}@media (min-width: 30.625em){.Polaris-DescriptionList__Description{flex:1 1 51%;padding:var(--p-space-400) 0}.Polaris-DescriptionList--spacingTight .Polaris-DescriptionList__Description{padding:var(--p-space-200) 0}.Polaris-DescriptionList__Description+.Polaris-DescriptionList__Term+.Polaris-DescriptionList__Description{border-top:var(--p-border-width-025) solid var(--p-color-border-secondary)}}.Polaris-Divider{border:0;margin:0}.Polaris-DropZone-FileUpload{padding:var(--p-space-300);text-align:center;display:flex;align-items:center;justify-content:center;height:100%}.Polaris-DropZone-FileUpload--large{padding:var(--p-space-800)}.Polaris-DropZone-FileUpload--small{padding:var(--p-space-200)}.Polaris-DropZone-FileUpload img{vertical-align:bottom}.Polaris-DropZone-FileUpload__ActionTitle{color:var(--p-color-text-emphasis);text-decoration:none}.Polaris-DropZone-FileUpload__ActionTitle:not(.Polaris-DropZone-FileUpload__ActionTitle--disabled){cursor:pointer}.Polaris-DropZone-FileUpload__ActionTitle:not(.Polaris-DropZone-FileUpload__ActionTitle--disabled):hover,.Polaris-DropZone-FileUpload__ActionTitle:not(.Polaris-DropZone-FileUpload__ActionTitle--disabled):active{color:var(--p-color-text-emphasis-active);text-decoration:underline}.Polaris-DropZone-FileUpload__ActionTitle--focused{text-decoration:underline}.Polaris-DropZone-FileUpload__ActionTitle--disabled{color:var(--p-color-text-disabled)}.Polaris-DropZone-FileUpload__UploadIcon{fill:var(--p-color-icon)}.Polaris-DropZone-FileUpload__UploadIcon.Polaris-DropZone-FileUpload--disabled{fill:var(--p-color-icon-disabled)}.Polaris-DropZone{--pc-drop-zone-outline:29;--pc-drop-zone-overlay:30;--pc-drop-zone-border-style:dashed;position:relative;display:flex;justify-content:center;background-color:var(--p-color-input-bg-surface);border-radius:var(--p-border-radius-200)}.Polaris-DropZone:after{content:"";position:absolute;z-index:var(--pc-drop-zone-outline);top:0;right:0;bottom:0;left:0;border:var(--p-border-width-0165) var(--pc-drop-zone-border-style) transparent;border-radius:var(--p-border-radius-200);pointer-events:none}.Polaris-DropZone:not(.Polaris-DropZone--focused):after{top:0;left:0;right:0;bottom:0;opacity:1;transform:scale(1);border:var(--p-border-width-025) var(--pc-drop-zone-border-style) transparent}.Polaris-DropZone:hover{outline:var(--p-border-width-025) solid transparent}.Polaris-DropZone.Polaris-DropZone--noOutline{background-color:transparent}.Polaris-DropZone--hasOutline{padding:var(--p-space-025)}.Polaris-DropZone--hasOutline:not(.Polaris-DropZone--isDisabled):after{border-width:var(--p-border-width-0165);border-color:var(--p-color-input-border)}.Polaris-DropZone--hasOutline:not(.Polaris-DropZone--isDisabled):hover{cursor:pointer;background-color:var(--p-color-input-bg-surface-hover)}.Polaris-DropZone--hasOutline:not(.Polaris-DropZone--isDisabled):hover:after{border-color:var(--p-color-input-border-hover)}.Polaris-DropZone--isDragging:not(.Polaris-DropZone--isDisabled){background-color:var(--p-color-bg-surface-hover)}.Polaris-DropZone--isDisabled{cursor:not-allowed;background-color:var(--p-color-bg-surface-disabled);color:var(--p-color-text-disabled)}.Polaris-DropZone--isDisabled:after{border-color:var(--p-color-border-disabled)}.Polaris-DropZone--sizeLarge{min-height:7.5rem}.Polaris-DropZone--sizeMedium{min-height:6.25rem;align-items:center}.Polaris-DropZone--sizeSmall{padding:0;align-items:center;min-height:2.5rem}.Polaris-DropZone--sizeSmall:before{content:"";padding-top:100%}.Polaris-DropZone--measuring{visibility:hidden;min-height:0}.Polaris-DropZone__Container{position:relative;flex:1 1}.Polaris-DropZone__Container:after{content:"";position:absolute;z-index:1;top:calc(var(--p-border-width-025)*-1 + -.0625rem);right:calc(var(--p-border-width-025)*-1 + -.0625rem);bottom:calc(var(--p-border-width-025)*-1 + -.0625rem);left:calc(var(--p-border-width-025)*-1 + -.0625rem);display:block;pointer-events:none;box-shadow:0 0 0 calc(var(--p-border-width-025)*-1 + -.0625rem) var(--p-color-border-focus);border-radius:var(--p-border-radius-200)}.Polaris-DropZone__Overlay{position:absolute;border-radius:var(--p-border-radius-200);z-index:var(--pc-drop-zone-overlay);top:0;right:0;bottom:0;left:0;display:flex;justify-content:center;align-items:center;padding:var(--p-space-400);border:var(--p-border-width-025) solid var(--p-color-input-border-active);text-align:center;color:var(--p-color-text);background-color:var(--p-color-input-bg-surface-active);pointer-events:none}.Polaris-DropZone--sizeSmall .Polaris-DropZone__Overlay{padding:0}.Polaris-DropZone--hasError>.Polaris-DropZone__Overlay{border-color:var(--p-color-border-critical-secondary);color:var(--p-color-text-critical);border-style:var(--pc-drop-zone-border-style);border-width:var(--p-border-width-0165);background-color:var(--p-color-bg-surface-critical)}.Polaris-DropZone--focused:not(.Polaris-DropZone--isDisabled) .Polaris-DropZone__Container:after{box-shadow:0 0 0 .125rem var(--p-color-border-focus);outline:var(--p-border-width-025) solid transparent}.Polaris-EmptyState__ImageContainer{position:relative;display:flex;align-items:center;justify-content:center}.Polaris-EmptyState__Image{opacity:0;transition:opacity var(--p-motion-duration-150) var(--p-motion-ease);z-index:var(--p-z-index-1)}.Polaris-EmptyState__Image.Polaris-EmptyState--loaded{opacity:1}@media (min-width: 48em){.Polaris-EmptyState--imageContained{position:initial;width:100%}}.Polaris-EmptyState__SkeletonImageContainer{--pc-empty-state-skeleton-image-container-size:14.125rem;height:var(--pc-empty-state-skeleton-image-container-size);width:var(--pc-empty-state-skeleton-image-container-size);display:flex;align-items:center;justify-content:center}.Polaris-EmptyState__SkeletonImage{position:absolute;z-index:var(--p-z-index-0);--pc-empty-state-skeleton-image-size:9.0625rem;height:var(--pc-empty-state-skeleton-image-size);width:var(--pc-empty-state-skeleton-image-size);background-color:var(--p-color-bg-fill-secondary);border-radius:var(--p-border-radius-full);opacity:1;transition:opacity var(--p-motion-duration-500) var(--p-motion-ease)}.Polaris-EmptyState__SkeletonImage.Polaris-EmptyState--loaded{opacity:0}@media screen and (-ms-high-contrast: active){.Polaris-EmptyState__SkeletonImage{background-color:grayText}}.Polaris-Truncate{display:block;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.Polaris-ExceptionList{margin:0;padding:0;list-style:none}.Polaris-ExceptionList__Item{position:relative;padding-left:var(--p-space-600);color:var(--p-color-text-secondary)}.Polaris-ExceptionList__Item+.Polaris-ExceptionList__Item{margin-top:var(--p-space-100)}.Polaris-ExceptionList__Icon{position:absolute;top:0;left:0;display:flex;align-items:center;justify-content:center;min-width:var(--p-space-500);height:var(--p-space-500);margin-right:var(--p-space-100)}.Polaris-ExceptionList__Icon svg{fill:var(--p-color-icon-secondary)}.Polaris-ExceptionList--statusWarning .Polaris-ExceptionList__Icon svg{fill:var(--p-color-text-caution)}.Polaris-ExceptionList--statusCritical .Polaris-ExceptionList__Icon svg{fill:var(--p-color-text-critical)}.Polaris-ExceptionList__Bullet{width:.375rem;height:.375rem;border-radius:var(--p-border-radius-full);background-color:var(--p-color-icon-secondary)}.Polaris-ExceptionList--statusWarning .Polaris-ExceptionList__Bullet{background-color:var(--p-color-text-caution)}.Polaris-ExceptionList--statusCritical .Polaris-ExceptionList__Bullet{background-color:var(--p-color-text-critical)}.Polaris-ExceptionList__Title+.Polaris-ExceptionList__Description:before{content:"–";margin:0 var(--p-space-100)}.Polaris-ExceptionList--statusWarning .Polaris-ExceptionList__Title,.Polaris-ExceptionList--statusCritical .Polaris-ExceptionList__Title{font-weight:var(--p-font-weight-medium)}.Polaris-ExceptionList--statusWarning .Polaris-ExceptionList__Title{color:var(--p-color-text-caution)}.Polaris-ExceptionList--statusCritical .Polaris-ExceptionList__Title{color:var(--p-color-text-critical)}.Polaris-Filters-FilterPill__FilterButton{background:var(--p-color-bg-surface);border-radius:var(--p-border-radius-200);border:var(--p-color-border) dashed var(--p-border-width-025);cursor:pointer;color:var(--p-color-text);position:relative}.Polaris-Filters-FilterPill__FilterButton:after{content:"";position:absolute;z-index:1;top:calc(var(--p-border-width-025)*-1 + -.0625rem);right:calc(var(--p-border-width-025)*-1 + -.0625rem);bottom:calc(var(--p-border-width-025)*-1 + -.0625rem);left:calc(var(--p-border-width-025)*-1 + -.0625rem);display:block;pointer-events:none;box-shadow:0 0 0 calc(var(--p-border-width-025)*-1 + -.0625rem) var(--p-color-border-focus);border-radius:var(--p-border-radius-100)}.Polaris-Filters-FilterPill__FilterButton.Polaris-Filters-FilterPill--focusedFilterButton:focus-within:not(:active):after{box-shadow:0 0 0 .125rem var(--p-color-border-focus);outline:var(--p-border-width-025) solid transparent}.Polaris-Filters-FilterPill__FilterButton:hover,.Polaris-Filters-FilterPill__FilterButton:focus,.Polaris-Filters-FilterPill__FilterButton:active{background:var(--p-color-bg-surface-hover);border-color:var(--p-color-border)}.Polaris-Filters-FilterPill__FilterButton:hover path,.Polaris-Filters-FilterPill__FilterButton:focus path,.Polaris-Filters-FilterPill__FilterButton:active path{fill:var(--p-color-icon-hover)}.Polaris-Filters-FilterPill__FilterButton:hover,.Polaris-Filters-FilterPill__FilterButton:active{border-style:solid}.Polaris-Filters-FilterPill__FilterButton:hover,.Polaris-Filters-FilterPill__FilterButton:focus{background:transparent}.Polaris-Filters-FilterPill__FilterButton:active{background:var(--p-color-bg-surface-secondary)}.Polaris-Filters-FilterPill__FilterButton.Polaris-Filters-FilterPill__ActiveFilterButton{background:var(--p-color-bg-surface);border-style:solid}.Polaris-Filters-FilterPill__FilterButton.Polaris-Filters-FilterPill__ActiveFilterButton:active{background:var(--p-color-bg-surface-secondary)}.Polaris-Filters-FilterPill__FilterButton:after{border-radius:var(--p-border-radius-200)}.Polaris-Filters-FilterPill__PlainButton{background:none;color:inherit;border:none;padding:0;font:inherit;cursor:inherit;outline:inherit}.Polaris-Filters-FilterPill__PlainButton path{fill:var(--p-color-icon)}.Polaris-Filters-FilterPill__PlainButton[aria-disabled=true] path{fill:var(--p-color-icon-disabled)}.Polaris-Filters-FilterPill__ToggleButton{padding:0 var(--p-space-200) 0 var(--p-space-300);height:1.625rem}@media (min-width: 48em){.Polaris-Filters-FilterPill__ToggleButton{padding:0 var(--p-space-100) 0 var(--p-space-200);height:1.375rem}}.Polaris-Filters-FilterPill__ActiveFilterButton .Polaris-Filters-FilterPill__ToggleButton{padding-right:var(--p-space-050)}@media (min-width: 48em){.Polaris-Filters-FilterPill__ActiveFilterButton .Polaris-Filters-FilterPill__ToggleButton{padding-right:0}}.Polaris-Filters-FilterPill--clearButton{position:relative;margin-right:var(--p-space-200)}.Polaris-Filters-FilterPill--clearButton:after{content:"";position:absolute;z-index:1;top:-.0625rem;right:-.0625rem;bottom:-.0625rem;left:-.0625rem;display:block;pointer-events:none;box-shadow:0 0 0 -.0625rem var(--p-color-border-focus);border-radius:var(--p-border-radius-100)}@media (min-width: 48em){.Polaris-Filters-FilterPill--clearButton{margin-right:var(--p-space-100)}}.Polaris-Filters-FilterPill--clearButton:focus-visible:not(:active):after{box-shadow:0 0 0 .125rem var(--p-color-border-focus);outline:var(--p-border-width-025) solid transparent}@media (min-width: 48em){.Polaris-Filters-FilterPill__IconWrapper{scale:.8}}.Polaris-Filters-FilterPill__PopoverWrapper{min-width:11.5625rem;max-width:18.75rem;word-break:break-word}.Polaris-Filters-FilterPill__ClearButtonWrapper button{min-height:0;padding:0;margin:0}.Polaris-Filters__Container{position:relative;z-index:30;border-bottom:var(--p-border-width-025) solid var(--p-color-border-secondary);border-top-left-radius:var(--p-border-radius-200);border-top-right-radius:var(--p-border-radius-200);background:var(--p-color-bg-surface)}@media (max-width: 30.6225em){.Polaris-Filters__Container{border-top-left-radius:0;border-top-right-radius:0}}.Polaris-Filters__SearchField{flex:1 1}.Polaris-Filters__FiltersWrapper{border-bottom:var(--p-border-width-025) solid var(--p-color-border-secondary);height:3.3125rem;overflow:hidden}@media (max-width: 30.6225em){.Polaris-Filters__FiltersWrapper{background:var(--p-color-bg-surface)}}@media (min-width: 48em){.Polaris-Filters__FiltersWrapper{height:auto;overflow:visible}}.Polaris-Filters--hideQueryField .Polaris-Filters__FiltersWrapper{display:flex;align-items:center}.Polaris-Filters__FiltersInner{overflow:auto;white-space:nowrap;padding:var(--p-space-300) var(--p-space-200) var(--p-space-500)}.Polaris-Filters--hideQueryField .Polaris-Filters__FiltersInner{flex:1 1;padding:var(--p-space-300)}@media (min-width: 48em){.Polaris-Filters__FiltersInner{overflow:visible;flex-wrap:wrap;gap:var(--p-space-200);padding:.375rem var(--p-space-200)}.Polaris-Filters--hideQueryField .Polaris-Filters__FiltersInner{flex:1 1;padding:.375rem var(--p-space-200)}}.Polaris-Filters__AddFilter{background:var(--p-color-bg-surface);border-radius:var(--p-border-radius-200);border:var(--p-color-border) dashed var(--p-border-width-025);padding:0 var(--p-space-200) 0 var(--p-space-300);height:1.75rem;cursor:pointer;display:flex;align-items:center;justify-content:center;outline:inherit;position:relative}.Polaris-Filters__AddFilter:after{content:"";position:absolute;z-index:1;top:calc(var(--p-border-width-025)*-1 + -.0625rem);right:calc(var(--p-border-width-025)*-1 + -.0625rem);bottom:calc(var(--p-border-width-025)*-1 + -.0625rem);left:calc(var(--p-border-width-025)*-1 + -.0625rem);display:block;pointer-events:none;box-shadow:0 0 0 calc(var(--p-border-width-025)*-1 + -.0625rem) var(--p-color-border-focus);border-radius:var(--p-border-radius-100)}.Polaris-Filters__AddFilter path{fill:var(--p-color-icon)}@media (min-width: 48em){.Polaris-Filters__AddFilter{height:1.5rem;padding:0 .375rem 0 var(--p-space-200)}}.Polaris-Filters__AddFilter:hover,.Polaris-Filters__AddFilter:focus{background:transparent;border-color:var(--p-color-border-hover)}.Polaris-Filters__AddFilter:hover path,.Polaris-Filters__AddFilter:focus path{fill:var(--p-color-icon-hover)}.Polaris-Filters__AddFilter:hover{border-style:solid}.Polaris-Filters__AddFilter:focus{outline-offset:var(--p-border-width-050)}.Polaris-Filters__AddFilter:active{background:var(--p-color-bg-surface-tertiary);border-color:var(--p-color-border-hover)}.Polaris-Filters__AddFilter[aria-disabled=true]{background:var(--p-color-bg-fill-disabled);border-color:transparent;color:var(--p-color-text-disabled);cursor:default}.Polaris-Filters__AddFilter[aria-disabled=true] path{fill:var(--p-color-icon-disabled)}.Polaris-Filters__AddFilter:focus-visible:not(:active):after{box-shadow:0 0 0 .125rem var(--p-color-border-focus);outline:var(--p-border-width-025) solid transparent}.Polaris-Filters__AddFilter:after{border-radius:var(--p-border-radius-200)}.Polaris-Filters__AddFilter span{margin-right:var(--p-space-050)}@media (min-width: 48em){.Polaris-Filters__AddFilter span{margin-right:var(--p-space-025)}}.Polaris-Filters__AddFilter svg{width:var(--p-space-500)}@media (min-width: 48em){.Polaris-Filters__AddFilter svg{width:var(--p-space-400)}}@media (max-width: 47.9975em){.Polaris-Filters__FiltersWrapperWithAddButton{position:relative}.Polaris-Filters__FiltersWrapperWithAddButton .Polaris-Filters__FiltersInner{padding:var(--p-space-200);padding-right:0}.Polaris-Filters__AddFilterActivatorMultiple{position:sticky;z-index:var(--p-z-index-1);top:0;right:0;display:flex;padding:var(--p-space-100) var(--p-space-400) var(--p-space-100) 0;background:var(--p-color-bg-surface);margin-left:var(--p-space-200)}.Polaris-Filters__AddFilterActivatorMultiple:before{content:"";position:absolute;top:0;left:-.75rem;width:.75rem;height:100%;pointer-events:none;background:linear-gradient(90deg,rgba(255,255,255,0) 0%,var(--p-color-bg-surface) 70%,var(--p-color-bg-surface) 100%)}.Polaris-Filters__AddFilterActivatorMultiple .Polaris-Filters__AddFilter{padding:var(--p-space-300) var(--p-space-200)}.Polaris-Filters__AddFilterActivatorMultiple .Polaris-Filters__AddFilter span{display:none}}.Polaris-Filters__FiltersStickyArea{position:relative;display:flex;gap:var(--p-space-100);flex-wrap:nowrap;align-items:center;justify-content:flex-start}@media (min-width: 48em){.Polaris-Filters__FiltersStickyArea{flex-wrap:wrap}}.Polaris-Filters__ClearAll{margin-left:var(--p-space-200)}@media (max-width: 47.9975em){.Polaris-Filters__ClearAll{margin-left:0;padding-right:var(--p-space-400)}.Polaris-Filters__MultiplePinnedFilterClearAll{transform:translate(-.5rem);position:relative;z-index:var(--p-z-index-1);margin-left:0;padding-right:var(--p-space-400)}}.Polaris-FooterHelp{display:flex;justify-content:var(--pc-footer-help-align);margin:var(--p-space-500);width:auto}.Polaris-FormLayout__Item{--pc-form-layout-item-min-size:13.75rem;flex:1 1 auto}.Polaris-FormLayout__Item.Polaris-FormLayout--grouped{min-width:var(--pc-form-layout-item-min-size)}@media (min-width: 0em) and (max-width: 30.6225em){.Polaris-FormLayout__Item.Polaris-FormLayout--grouped{min-width:100%}}.Polaris-FormLayout__Item.Polaris-FormLayout--condensed{flex-basis:calc(var(--pc-form-layout-item-min-size)*.5);min-width:calc(var(--pc-form-layout-item-min-size)*.5)}.Polaris-Frame-Toast{display:inline-flex;max-width:31.25rem;padding:var(--p-space-200) var(--p-space-300);border-radius:var(--p-border-radius-100);background:var(--p-color-bg-inverse);color:var(--p-color-text-inverse);margin-bottom:var(--p-space-500);box-shadow:var(--p-shadow-500);position:relative;box-shadow:var(--p-shadow-400);border-radius:var(--p-border-radius-200)}.Polaris-Frame-Toast:before{content:"";position:absolute;top:0;left:0;right:0;bottom:0;z-index:0;box-shadow:var(--p-shadow-bevel-100);border-radius:var(--p-border-radius-200);pointer-events:none;mix-blend-mode:luminosity}@media (min-width: 30.625em){.Polaris-Frame-Toast{padding:var(--p-space-300)}}@media (forced-colors: active){.Polaris-Frame-Toast{border:var(--p-border-width-050) solid transparent}}.Polaris-Frame-Toast__Action{margin-left:var(--p-space-400);color:var(--p-color-text-inverse)}.Polaris-Frame-Toast--error{background:var(--p-color-bg-fill-critical);color:var(--p-color-text-critical-on-bg-fill)}.Polaris-Frame-Toast--error .Polaris-Frame-Toast__CloseButton{color:var(--p-color-text-critical-on-bg-fill)}.Polaris-Frame-Toast__LeadingIcon{margin-right:var(--p-space-150)}.Polaris-Frame-Toast__CloseButton{display:flex;align-self:center;flex-direction:column;justify-content:flex-start;padding:0;border:none;-webkit-appearance:none;-moz-appearance:none;appearance:none;background:transparent;color:var(--p-color-icon-inverse);cursor:pointer;margin-left:var(--p-space-200)}.Polaris-Frame-Toast__CloseButton:focus{outline:none}.Polaris-Frame-Toast__CloseButton:focus,.Polaris-Frame-Toast__CloseButton:hover{color:var(--p-color-text-inverse)}.Polaris-Frame-Toast--toneMagic{background-color:var(--p-color-bg-fill-magic-secondary);color:var(--p-color-text-magic)}.Polaris-Frame-Toast--toneMagic .Polaris-Frame-Toast__CloseButton,.Polaris-Frame-Toast--toneMagic .Polaris-Frame-Toast__Action{color:var(--p-color-text-magic)}.Polaris-Frame-Toast__WithActionOnComponent{border:none;cursor:pointer;padding-right:var(--p-space-500)}.Polaris-Frame-Toast__WithActionOnComponent.Polaris-Frame-Toast--toneMagic:focus,.Polaris-Frame-Toast__WithActionOnComponent.Polaris-Frame-Toast--toneMagic:hover{background-color:var(--p-color-bg-fill-magic-secondary-hover)}.Polaris-Frame-Toast__WithActionOnComponent.Polaris-Frame-Toast--toneMagic:active{background-color:var(--p-color-bg-fill-magic-secondary-active)}:root{--pc-toast-manager-translate-y-out:9.375rem;--pc-toast-manager-translate-y-in:0;--pc-toast-manager-scale-in:1;--pc-toast-manager-scale-out:.9;--pc-toast-manager-blur-in:0;--pc-toast-manager-transition-delay-in:0s}.Polaris-Frame-ToastManager{position:fixed;z-index:var(--p-z-index-12);right:0;left:0;text-align:center;bottom:var(--pc-frame-global-ribbon-height);display:flex;flex-direction:column;align-items:center}.Polaris-Frame-ToastManager__ToastWrapper{position:absolute;display:inline-flex;opacity:0;transition:transform var(--p-motion-duration-400) var(--p-motion-ease-out),opacity var(--p-motion-duration-400) var(--p-motion-ease-out);transform:translateY(var(--pc-toast-manager-translate-y-out))}.Polaris-Frame-ToastManager__ToastWrapper--enter,.Polaris-Frame-ToastManager__ToastWrapper--exit{transition-timing-function:var(--p-motion-ease-in);transform:translateY(var(--pc-toast-manager-translate-y-out)) scale(var(--pc-toast-manager-scale-out));opacity:0}.Polaris-Frame-ToastManager__ToastWrapper--exit{transition-duration:var(--p-motion-duration-200)}.Polaris-Frame-ToastManager--toastWrapperEnterDone{transform:translateY(var(--pc-toast-manager-translate-y-in)) scale(var(--pc-toast-manager-scale-in));filter:blur(var(--pc-toast-manager-blur-in));opacity:1;transition-delay:var(--pc-toast-manager-transition-delay-in)}.Polaris-Frame-ToastManager--toastWrapperHoverable{cursor:pointer}.Polaris-Frame-Loading{overflow:hidden;height:.1875rem;background-color:var(--p-color-bg-surface);opacity:1}.Polaris-Frame-Loading__Level{width:100%;height:100%;transform-origin:0;background-color:var(--p-color-bg-fill-brand);transition:transform var(--p-motion-duration-500) linear}@media screen and (-ms-high-contrast: active){.Polaris-Frame-Loading__Level{background-color:highlight}}.Polaris-Modal-Dialog__Container{position:fixed;z-index:var(--p-z-index-11);top:0;right:0;bottom:0;left:0;display:flex;flex-direction:column;justify-content:flex-end;pointer-events:none}@media (min-width: 48em){.Polaris-Modal-Dialog__Container{justify-content:center}}.Polaris-Modal-Dialog:focus{outline:0}.Polaris-Modal-Dialog__Modal{--pc-modal-dialog-vertical-spacing:3.75rem;pointer-events:initial;position:fixed;right:0;bottom:0;left:0;display:flex;flex-direction:column;width:100%;max-height:calc(100vh - var(--pc-modal-dialog-vertical-spacing));background:var(--p-color-bg-surface);box-shadow:var(--p-shadow-600);overflow:hidden}@media (forced-colors: active){.Polaris-Modal-Dialog__Modal{border:var(--p-border-width-025) solid transparent}}@media (max-width: 47.9975em){.Polaris-Modal-Dialog__Modal{bottom:0;max-height:100%}}@media (min-width: 48em){.Polaris-Modal-Dialog__Modal{position:relative;max-width:38.75rem;margin:0 auto;border-radius:var(--p-border-radius-400)}}@media (min-width: 48em) and (min-height: 41.25em){.Polaris-Modal-Dialog__Modal.Polaris-Modal-Dialog--limitHeight{max-height:37.5rem}}@media (min-width: 48em){.Polaris-Modal-Dialog__Modal.Polaris-Modal-Dialog--sizeSmall{max-width:23.75rem}}@media (min-width: 48em){.Polaris-Modal-Dialog__Modal.Polaris-Modal-Dialog--sizeLarge{max-width:calc(100% - var(--p-space-1600))}}@media (min-width: 65em){.Polaris-Modal-Dialog__Modal.Polaris-Modal-Dialog--sizeLarge{max-width:61.25rem}}.Polaris-Modal-Dialog__Modal.Polaris-Modal-Dialog--sizeFullScreen{height:100%}@media (min-width: 48em){.Polaris-Modal-Dialog__Modal.Polaris-Modal-Dialog--sizeFullScreen{height:unset}}.Polaris-Modal-Dialog--animateFadeUp{-webkit-backface-visibility:hidden;backface-visibility:hidden;will-change:transform,opacity;opacity:1;transform:translateY(0);transition:transform var(--p-motion-ease) var(--p-motion-duration-200),opacity var(--p-motion-ease) var(--p-motion-duration-200)}.Polaris-Modal-Dialog--animateFadeUp.Polaris-Modal-Dialog--entering,.Polaris-Modal-Dialog--animateFadeUp.Polaris-Modal-Dialog--exiting,.Polaris-Modal-Dialog--animateFadeUp.Polaris-Modal-Dialog--exited{opacity:0;transform:translateY(12.5rem)}.Polaris-Modal-Dialog--animateFadeUp.Polaris-Modal-Dialog--entered{opacity:1;transform:translateY(0)}.Polaris-Modal-Section{flex:0 0 auto}.Polaris-Modal-Section:not(:last-of-type){border-bottom:var(--p-border-width-025) solid var(--p-color-border-secondary)}.Polaris-Modal-Section--titleHidden{padding-right:calc(var(--p-space-1200) + var(--p-space-100) + var(--p-space-100))}.Polaris-Modal__Body,.Polaris-Modal__NoScrollBody{flex-grow:1}@media (min-width: 48em){.Polaris-Modal__Body,.Polaris-Modal__NoScrollBody{flex-grow:unset}}.Polaris-Modal__IFrame{--pc-modal-frame-small-width:38.75rem;display:block;width:var(--pc-modal-frame-small-width);max-width:100vw;border:none}@media (min-width: 48em){.Polaris-Modal__IFrame{max-width:var(--pc-modal-frame-small-width)}}.Polaris-Frame-ContextualSaveBar{--p-color-bg-surface:var(--p-color-bg-inverse);--p-color-text:var(--p-color-text-inverse);--p-color-bg-surface-hover:var(--p-color-bg-fill-inverse-hover);--p-color-bg-surface-secondary-active:var(--p-color-bg-fill-inverse-active);display:flex;height:var(--pg-top-bar-height);background:var(--p-color-bg-inverse);box-shadow:0 .125rem .25rem #00000026}.Polaris-Frame-ContextualSaveBar .Polaris-Frame-ContextualSaveBar__LogoContainer{border-right:none}.Polaris-Frame-ContextualSaveBar .Polaris-Frame-ContextualSaveBar__ContextControl{opacity:.3;pointer-events:none}@media (forced-colors: active){.Polaris-Frame-ContextualSaveBar{border:var(--p-border-width-025) solid transparent}}.Polaris-Frame-ContextualSaveBar__LogoContainer{display:none}@media (min-width: 48em){.Polaris-Frame-ContextualSaveBar__LogoContainer{display:flex;flex:0 0 var(--pg-layout-width-nav-base);align-items:center;height:100%;padding:0 var(--p-space-500);background-color:transparent}}.Polaris-Frame-ContextualSaveBar__Contents{display:flex;flex:1 1 auto;align-items:center;justify-content:space-between;min-width:.0625rem;max-width:calc(var(--pg-layout-width-primary-max) + var(--pg-layout-width-secondary-max) + var(--pg-layout-width-inner-spacing-base));height:100%;margin:0 auto;padding:0 var(--p-space-400)}@media (min-width: 30.625em){.Polaris-Frame-ContextualSaveBar__Contents{padding:0 var(--p-space-500)}}@media (min-width: 48em){.Polaris-Frame-ContextualSaveBar__Contents{padding:0 var(--p-space-800)}}.Polaris-Frame-ContextualSaveBar--fullWidth{max-width:none;padding:0 var(--p-space-400)}.Polaris-Frame-ContextualSaveBar__MessageContainer{display:flex;flex-direction:row;gap:var(--p-space-200);overflow:hidden;margin-right:var(--p-space-200)}.Polaris-Frame-ContextualSaveBar__MessageContainer [class*=Polaris-Icon__Svg]{fill:var(--p-color-text-inverse)}.Polaris-Frame-ContextualSaveBar__MessageContainer [class*=Polaris-Icon],.Polaris-Frame-ContextualSaveBar__ActionContainer{flex-shrink:0}.Polaris-Frame-ContextualSaveBar__ActionContainer [class*=Polaris-Button--variantPrimary],.Polaris-Frame-ContextualSaveBar__ActionContainer [class*=Button-variantPrimary]{--pc-button-color:rgba(48, 48, 48, 1);--pc-button-color_disabled:var(--p-color-text-secondary);--pc-button-bg:rgba(255, 255, 255, 1);--pc-button-bg_hover:rgba(250, 250, 250, 1);--pc-button-bg_active:rgba(247, 247, 247, 1);--pc-button-bg_pressed:rgba(247, 247, 247, 1);--pc-button-bg_disabled:rgba(255, 255, 255, .2);--pc-button-box-shadow:0 .0625rem 0 0 rgba(255, 255, 255, .48) inset, -.0625rem 0 0 0 rgba(255, 255, 255, .2) inset, .0625rem 0 0 0 rgba(255, 255, 255, .2) inset, 0 -.09375rem 0 0 rgba(0, 0, 0, .25) inset;--pc-button-box-shadow_active:0 .125rem .0625rem 0 rgba(26, 26, 26, .2) inset, .0625rem 0 .0625rem 0 rgba(26, 26, 26, .12) inset, -.0625rem 0 .0625rem 0 rgba(26, 26, 26, .12) inset}.Polaris-Frame-ContextualSaveBar__ActionContainer [class*=Polaris-Button--variantTertiary],.Polaris-Frame-ContextualSaveBar__ActionContainer [class*=Button-variantTertiary]{--pc-button-bg:var(--p-color-bg-fill-inverse);--pc-button-bg_hover:var(--p-color-bg-fill-inverse-hover);--pc-button-bg_active:var(--p-color-bg-fill-inverse-active);--pc-button-bg_disabled:var(--pc-button-bg);--pc-button-color:var(--p-color-text-inverse);--pc-button-color_disabled:var(--p-color-text-secondary)}.Polaris-Frame-ContextualSaveBar__Action{margin-left:var(--p-space-200)}.Polaris-Frame-ContextualSaveBar__ContextControl{display:none}@media (min-width: 48em){.Polaris-Frame-ContextualSaveBar__ContextControl{display:block;width:var(--pg-layout-width-nav-base)}}.Polaris-Frame-CSSAnimation--startFade{opacity:0;-webkit-backface-visibility:hidden;backface-visibility:hidden;will-change:opacity;transition:opacity var(--p-motion-duration-300) var(--p-motion-ease-out);pointer-events:none}.Polaris-Frame-CSSAnimation--endFade{opacity:1;pointer-events:auto}.Polaris-Frame{--pc-frame-button-size:var(--p-space-800);--pc-sidebar-width:calc(22.25rem + var(--p-space-400));width:100%;min-height:100vh;min-height:100svh;display:flex;background-color:var(--p-color-bg)}@media print{.Polaris-Frame{background-color:transparent}}@media (min-width: 48em){.Polaris-Frame{width:calc(100% - var(--pc-frame-offset, 0px));margin-left:var(--pc-frame-offset)}}.Polaris-Frame__Navigation{position:fixed;z-index:var(--p-z-index-8);top:0;left:0;display:none;flex:0 0 auto;align-items:stretch;height:100%;outline:none;transform:translate(0)}@media print{.Polaris-Frame__Navigation{display:none!important}}@media (min-width: 48em){.Polaris-Frame__Navigation{z-index:1;left:var(--pc-frame-offset);display:flex}.Polaris-Frame--hasTopBar .Polaris-Frame__Navigation{top:var(--pg-top-bar-height);height:calc(100% - var(--pg-top-bar-height))}}.Polaris-Frame__Navigation:focus{outline:none}.Polaris-Frame__Navigation--enter,.Polaris-Frame__Navigation--enterActive,.Polaris-Frame__Navigation--exit,.Polaris-Frame__Navigation--exitActive{display:flex}.Polaris-Frame__Navigation--enter{transform:translate(-100%)}.Polaris-Frame__Navigation--enterActive{transform:translate(0);transition:transform var(--p-motion-duration-300) var(--p-motion-ease-out)}.Polaris-Frame__Navigation--exit{transform:translate(0)}.Polaris-Frame__Navigation--exitActive{transform:translate(-100%);transition:transform var(--p-motion-duration-300) var(--p-motion-ease-out)}.Polaris-Frame__NavigationDismiss{position:relative;position:absolute;top:0;left:100%;width:var(--pc-frame-button-size);height:var(--pc-frame-button-size);margin:var(--p-space-400);padding:0;border:none;border-radius:var(--p-border-radius-full);background:none;opacity:0;pointer-events:none;-webkit-backface-visibility:hidden;backface-visibility:hidden;will-change:opacity;cursor:pointer;transition:opacity var(--p-motion-duration-100) var(--p-motion-ease)}.Polaris-Frame__NavigationDismiss:after{content:"";position:absolute;z-index:1;top:-.0625rem;right:-.0625rem;bottom:-.0625rem;left:-.0625rem;display:block;pointer-events:none;box-shadow:0 0 0 -.0625rem var(--p-color-border-focus);border-radius:var(--p-border-radius-100)}.Polaris-Frame__NavigationDismiss svg{fill:var(--p-color-bg-surface)}@media print{.Polaris-Frame__NavigationDismiss{display:none!important}}.Polaris-Frame__Navigation--visible .Polaris-Frame__NavigationDismiss{pointer-events:all;opacity:1}.Polaris-Frame__NavigationDismiss:focus{position:absolute;border-radius:var(--p-border-radius-100);outline:none}.Polaris-Frame__NavigationDismiss:focus:after{box-shadow:0 0 0 .125rem var(--p-color-border-focus);outline:var(--p-border-width-025) solid transparent}@media (min-width: 48em){.Polaris-Frame__NavigationDismiss{display:none}}.Polaris-Frame__NavigationDismiss:hover,.Polaris-Frame__NavigationDismiss:active{background-color:#ffffff80}.Polaris-Frame__TopBar{position:fixed;z-index:var(--p-z-index-4);top:0;left:0;width:100%;height:var(--pg-top-bar-height)}@media print{.Polaris-Frame__TopBar{display:none!important}}@media (min-width: 48em){.Polaris-Frame__TopBar{left:var(--pc-frame-offset);width:calc(100% - var(--pc-frame-offset, 0px))}}.Polaris-Frame__ContextualSaveBar{position:fixed;z-index:var(--p-z-index-5);top:0;left:0;width:100%}@media (min-width: 48em){.Polaris-Frame__ContextualSaveBar{left:var(--pc-frame-offset);width:calc(100% - var(--pc-frame-offset, 0px))}}.Polaris-Frame__Main{flex:1 1;display:flex;align-items:stretch;border-inline-end:var(--p-border-width-025) solid var(--p-color-border);min-width:0}@media (min-width: 30.625em){.Polaris-Frame__Main{max-width:calc(100vw - var(--pc-app-provider-scrollbar-width))}}.Polaris-Frame__Main{padding-right:0;padding-right:constant(safe-area-inset-right);padding-right:env(safe-area-inset-right);padding-left:0;padding-left:constant(safe-area-inset-left);padding-left:env(safe-area-inset-left);padding-bottom:0;padding-bottom:constant(safe-area-inset-bottom);padding-bottom:env(safe-area-inset-bottom)}@media (min-width: 48em){.Polaris-Frame--hasNav .Polaris-Frame__Main{padding-left:var(--pg-layout-width-nav-base)}}@media (--p-breakpoints-md-up) and print{.Polaris-Frame--hasNav .Polaris-Frame__Main{padding-left:0}}@media (min-width: 48em){.Polaris-Frame--hasNav .Polaris-Frame__Main{padding-left:var(--pg-layout-width-nav-base);padding-left:calc(var(--pg-layout-width-nav-base) + constant(safe-area-inset-left));padding-left:calc(var(--pg-layout-width-nav-base) + env(safe-area-inset-left))}}.Polaris-Frame--hasTopBar .Polaris-Frame__Main{padding-top:var(--pg-top-bar-height)}@media print{.Polaris-Frame--hasTopBar .Polaris-Frame__Main{padding-top:0}}.Polaris-Frame__Content{position:relative;padding-bottom:var(--pc-frame-global-ribbon-height, 0);flex:1 1;min-width:0;max-width:100%}@media screen and (min-width: 1200px){.Polaris-Frame--hasSidebar .Polaris-Frame__Content{margin-right:var(--pc-sidebar-width)}}.Polaris-Frame__GlobalRibbonContainer{position:fixed;z-index:var(--p-z-index-3);bottom:0;width:100%}@media (min-width: 48em){.Polaris-Frame__GlobalRibbonContainer{left:var(--pc-frame-offset)}.Polaris-Frame--hasNav .Polaris-Frame__GlobalRibbonContainer{left:calc(var(--pg-layout-width-nav-base) + var(--pc-frame-offset));left:calc(var(--pg-layout-width-nav-base) + var(--pc-frame-offset) + constant(safe-area-inset-left));left:calc(var(--pg-layout-width-nav-base) + var(--pc-frame-offset) + env(safe-area-inset-left));width:calc(100% - var(--pg-layout-width-nav-base) - var(--pc-frame-offset, 0px))}}.Polaris-Frame__LoadingBar{position:fixed;z-index:var(--p-z-index-6);top:0;right:0;left:0}@media print{.Polaris-Frame__LoadingBar{display:none!important}}@media (min-width: 48em){.Polaris-Frame--hasNav .Polaris-Frame__LoadingBar{left:var(--pc-frame-offset)}.Polaris-Frame--hasTopBar .Polaris-Frame__LoadingBar{z-index:var(--p-z-index-6)}}.Polaris-Frame__Skip{--pc-frame-skip-vertical-offset:.625rem;position:fixed;z-index:var(--p-z-index-9);top:var(--pc-frame-skip-vertical-offset);left:calc(var(--p-space-200) + var(--pc-frame-offset));opacity:0;pointer-events:none}.Polaris-Frame__Skip.Polaris-Frame--focused{pointer-events:all;opacity:1}.Polaris-Frame__Skip.Polaris-Frame--focused>a:after{box-shadow:0 0 0 .125rem var(--p-color-border-focus);outline:var(--p-border-width-025) solid transparent}.Polaris-Frame__Skip>a{display:inline-flex;align-items:center;justify-content:center;min-height:1.75rem;min-width:1.75rem;margin:0;padding:var(--p-space-150) var(--p-space-300);background:var(--p-color-bg-fill);box-shadow:var(--p-shadow-200);border-radius:var(--p-border-radius-200);border:none;line-height:1;text-align:center;cursor:pointer;-webkit-user-select:none;user-select:none;text-decoration:none;-webkit-tap-highlight-color:transparent;position:relative;color:var(--p-color-text)}.Polaris-Frame__Skip>a:after{content:"";position:absolute;z-index:1;top:calc(var(--p-border-width-025)*-1 + -.0625rem);right:calc(var(--p-border-width-025)*-1 + -.0625rem);bottom:calc(var(--p-border-width-025)*-1 + -.0625rem);left:calc(var(--p-border-width-025)*-1 + -.0625rem);display:block;pointer-events:none;box-shadow:0 0 0 calc(var(--p-border-width-025)*-1 + -.0625rem) var(--p-color-border-focus);border-radius:var(--p-border-radius-100)}.Polaris-Frame__Skip>a svg{fill:var(--p-color-icon)}.Polaris-Frame__Skip>a:hover{background:var(--p-color-bg-fill-hover);outline:var(--p-border-width-025) solid transparent}.Polaris-Frame__Skip>a:focus-visible{box-shadow:var(--p-shadow-200);outline:var(--p-border-width-050) solid var(--p-color-border-focus);outline-offset:var(--p-space-025)}.Polaris-Frame__Skip>a:focus-visible:after{content:none}.Polaris-Frame__Skip>a:active:after{border:none;box-shadow:none}.Polaris-Frame__Skip>a.Polaris-Frame--pressed{background:var(--p-color-bg-fill-selected);box-shadow:var(--p-shadow-inset-200);color:var(--p-color-text);border-color:var(--p-color-border-inverse)}.Polaris-Frame__Skip>a.Polaris-Frame--pressed svg{fill:currentColor}.Polaris-Frame__Skip>a.Polaris-Frame--pressed:hover{background:var(--p-color-bg-fill-tertiary-hover);box-shadow:var(--p-shadow-inset-200)}.Polaris-Frame__Skip>a.Polaris-Frame--pressed:active{background:var(--p-color-bg-fill-tertiary-active);box-shadow:var(--p-shadow-inset-200)}@media (-ms-high-contrast: active){.Polaris-Frame__Skip>a{border:var(--p-border-width-025) solid windowText}}.Polaris-Frame__Skip>a:after{content:"";position:absolute;z-index:1;top:-.125rem;right:-.125rem;bottom:-.125rem;left:-.125rem;display:block;pointer-events:none;box-shadow:0 0 0 -.125rem var(--p-color-border-focus);border-radius:var(--p-border-radius-100)}.Polaris-Frame__Skip>a:focus{border-color:none;box-shadow:none}.Polaris-FullscreenBar{position:relative;display:flex;height:var(--pg-top-bar-height);box-shadow:var(--p-shadow-100);background-color:var(--p-color-bg-surface)}.Polaris-FullscreenBar__BackAction{display:flex;flex:0 1 auto;align-items:center;padding-left:var(--p-space-400);padding-right:var(--p-space-400);border-width:0;border-right:var(--p-border-width-025) solid var(--p-color-border-secondary);background-color:var(--p-color-bg-surface);font-weight:var(--p-font-weight-medium);cursor:pointer}.Polaris-FullscreenBar__BackAction :first-child{margin-right:var(--p-space-150)}.Polaris-Grid-Cell{--pc-row-xs:initial;--pc-row-sm:var(--pc-row-xs);--pc-row-md:var(--pc-row-sm);--pc-row-lg:var(--pc-row-md);--pc-row-xl:var(--pc-row-lg);--pc-column-xs:initial;--pc-column-sm:var(--pc-column-xs);--pc-column-md:var(--pc-column-sm);--pc-column-lg:var(--pc-column-md);--pc-column-xl:var(--pc-column-lg);min-width:0;grid-row:var(--pc-row-xs);grid-column:var(--pc-column-xs)}@media (min-width: 30.625em){.Polaris-Grid-Cell{grid-row:var(--pc-row-sm);grid-column:var(--pc-column-sm)}}@media (min-width: 48em){.Polaris-Grid-Cell{grid-row:var(--pc-row-md);grid-column:var(--pc-column-md)}}@media (min-width: 65em){.Polaris-Grid-Cell{grid-row:var(--pc-row-lg);grid-column:var(--pc-column-lg)}}@media (min-width: 90em){.Polaris-Grid-Cell{grid-row:var(--pc-row-xl);grid-column:var(--pc-column-xl)}}.Polaris-Grid-Cell--cell_1ColumnXs{grid-column-end:span 1}.Polaris-Grid-Cell--cell_2ColumnXs{grid-column-end:span 2}.Polaris-Grid-Cell--cell_3ColumnXs{grid-column-end:span 3}.Polaris-Grid-Cell--cell_4ColumnXs{grid-column-end:span 4}.Polaris-Grid-Cell--cell_5ColumnXs{grid-column-end:span 5}.Polaris-Grid-Cell--cell_6ColumnXs{grid-column-end:span 6}@media (min-width: 30.625em){.Polaris-Grid-Cell--cell_1ColumnSm{grid-column-end:span 1}.Polaris-Grid-Cell--cell_2ColumnSm{grid-column-end:span 2}.Polaris-Grid-Cell--cell_3ColumnSm{grid-column-end:span 3}.Polaris-Grid-Cell--cell_4ColumnSm{grid-column-end:span 4}.Polaris-Grid-Cell--cell_5ColumnSm{grid-column-end:span 5}.Polaris-Grid-Cell--cell_6ColumnSm{grid-column-end:span 6}}@media (min-width: 48em){.Polaris-Grid-Cell--cell_1ColumnMd{grid-column-end:span 1}.Polaris-Grid-Cell--cell_2ColumnMd{grid-column-end:span 2}.Polaris-Grid-Cell--cell_3ColumnMd{grid-column-end:span 3}.Polaris-Grid-Cell--cell_4ColumnMd{grid-column-end:span 4}.Polaris-Grid-Cell--cell_5ColumnMd{grid-column-end:span 5}.Polaris-Grid-Cell--cell_6ColumnMd{grid-column-end:span 6}}@media (min-width: 65em){.Polaris-Grid-Cell--cell_1ColumnLg{grid-column-end:span 1}.Polaris-Grid-Cell--cell_2ColumnLg{grid-column-end:span 2}.Polaris-Grid-Cell--cell_3ColumnLg{grid-column-end:span 3}.Polaris-Grid-Cell--cell_4ColumnLg{grid-column-end:span 4}.Polaris-Grid-Cell--cell_5ColumnLg{grid-column-end:span 5}.Polaris-Grid-Cell--cell_6ColumnLg{grid-column-end:span 6}.Polaris-Grid-Cell--cell_7ColumnLg{grid-column-end:span 7}.Polaris-Grid-Cell--cell_8ColumnLg{grid-column-end:span 8}.Polaris-Grid-Cell--cell_9ColumnLg{grid-column-end:span 9}.Polaris-Grid-Cell--cell_10ColumnLg{grid-column-end:span 10}.Polaris-Grid-Cell--cell_11ColumnLg{grid-column-end:span 11}.Polaris-Grid-Cell--cell_12ColumnLg{grid-column-end:span 12}}@media (min-width: 90em){.Polaris-Grid-Cell--cell_1ColumnXl{grid-column-end:span 1}.Polaris-Grid-Cell--cell_2ColumnXl{grid-column-end:span 2}.Polaris-Grid-Cell--cell_3ColumnXl{grid-column-end:span 3}.Polaris-Grid-Cell--cell_4ColumnXl{grid-column-end:span 4}.Polaris-Grid-Cell--cell_5ColumnXl{grid-column-end:span 5}.Polaris-Grid-Cell--cell_6ColumnXl{grid-column-end:span 6}.Polaris-Grid-Cell--cell_7ColumnXl{grid-column-end:span 7}.Polaris-Grid-Cell--cell_8ColumnXl{grid-column-end:span 8}.Polaris-Grid-Cell--cell_9ColumnXl{grid-column-end:span 9}.Polaris-Grid-Cell--cell_10ColumnXl{grid-column-end:span 10}.Polaris-Grid-Cell--cell_11ColumnXl{grid-column-end:span 11}.Polaris-Grid-Cell--cell_12ColumnXl{grid-column-end:span 12}}.Polaris-Grid{--pc-grid-areas-xs:initial;--pc-grid-areas-sm:var(--pc-grid-areas-xs);--pc-grid-areas-md:var(--pc-grid-areas-sm);--pc-grid-areas-lg:var(--pc-grid-areas-md);--pc-grid-areas-xl:var(--pc-grid-areas-lg);--pc-grid-columns-xs:6;--pc-grid-columns-sm:var(--pc-grid-columns-xs);--pc-grid-columns-md:var(--pc-grid-columns-sm);--pc-grid-columns-lg:12;--pc-grid-columns-xl:var(--pc-grid-columns-lg);display:grid;gap:var(--pc-grid-gap-xs, var(--p-space-400));grid-template-areas:var(--pc-grid-areas-xs);grid-template-columns:repeat(var(--pc-grid-columns-xs),minmax(0,1fr))}@media (min-width: 30.625em){.Polaris-Grid{gap:var(--pc-grid-gap-sm, var(--p-space-400));grid-template-areas:var(--pc-grid-areas-sm);grid-template-columns:repeat(var(--pc-grid-columns-sm),minmax(0,1fr))}}@media (min-width: 48em){.Polaris-Grid{gap:var(--pc-grid-gap-md, var(--p-space-400));grid-template-areas:var(--pc-grid-areas-md);grid-template-columns:repeat(var(--pc-grid-columns-md),minmax(0,1fr))}}@media (min-width: 65em){.Polaris-Grid{gap:var(--pc-grid-gap-lg, var(--p-space-400));grid-template-areas:var(--pc-grid-areas-lg);grid-template-columns:repeat(var(--pc-grid-columns-lg),minmax(0,1fr))}}@media (min-width: 90em){.Polaris-Grid{gap:var(--pc-grid-gap-xl, var(--p-space-400));grid-template-areas:var(--pc-grid-areas-xl);grid-template-columns:repeat(var(--pc-grid-columns-xl),minmax(0,1fr))}}:root{--item-min-height:var(--p-space-400);--item-min-width:3.125rem;--item-vertical-padding:var(--p-space-200)}@media (max-width: 47.9975em){.Polaris-Tabs__Outer{max-width:100%;overflow:hidden;height:unset;padding:0}}@media (max-width: 47.9975em){.Polaris-Tabs__Wrapper{overflow:auto;-webkit-overflow-scrolling:touch;padding:var(--p-space-200)}}@media (min-width: 48em){.Polaris-Tabs__WrapperWithNewButton{position:relative;display:inline-flex;padding-right:var(--p-space-800)}}@media (max-width: 47.9975em){.Polaris-Tabs__ButtonWrapper{display:flex;align-items:center;justify-content:flex-start}}.Polaris-Tabs{display:flex;align-items:center;justify-content:flex-start;margin:0;padding:0;list-style:none;gap:var(--p-space-100)}@media (min-width: 48em){.Polaris-Tabs{padding:0 var(--p-space-100);flex-wrap:wrap;align-items:stretch}}.Polaris-Tabs__Tab{-webkit-tap-highlight-color:rgba(0,0,0,0);position:relative;display:inline-flex;justify-content:center;align-items:center;padding:var(--p-space-100) var(--p-space-300);border:0;border-radius:var(--p-border-radius-200);background-color:transparent;color:var(--p-color-text-brand);cursor:pointer;text-decoration:none;width:100%;height:var(--p-height-700);min-width:100%;margin-top:var(--p-space-025);margin-bottom:calc(var(--p-space-025)*-1);outline:none;text-align:center;white-space:nowrap}.Polaris-Tabs__Tab:after{content:"";position:absolute;z-index:1;top:-.0625rem;right:-.0625rem;bottom:-.0625rem;left:-.0625rem;display:block;pointer-events:none;box-shadow:0 0 0 -.0625rem var(--p-color-border-focus);border-radius:var(--p-border-radius-200)}.Polaris-Tabs__Tab[aria-disabled=true]{cursor:default;color:var(--p-color-text-disabled)}.Polaris-Tabs__Tab[aria-disabled=true] path{fill:var(--p-color-icon-disabled)}.Polaris-Tabs__Tab:not([aria-disabled=true]):hover{background-color:var(--p-color-bg-fill-transparent-hover);color:var(--p-color-text-brand)}.Polaris-Tabs__Tab:not([aria-disabled=true]):focus{background-color:var(--p-color-bg-surface-hover);color:var(--p-color-text)}.Polaris-Tabs__Tab:not([aria-disabled=true]):focus-visible{background-color:transparent;color:var(--p-color-text-brand)}.Polaris-Tabs__Tab:not([aria-disabled=true]):focus-visible:after{box-shadow:0 0 0 .125rem var(--p-color-border-focus);outline:var(--p-border-width-025) solid transparent}.Polaris-Tabs__Tab:not([aria-disabled=true]):focus-visible:not(:active){outline:0}.Polaris-Tabs__Tab:not([aria-disabled=true]):focus-visible:not(:active):after{box-shadow:0 0 0 .125rem var(--p-color-border-focus);outline:var(--p-border-width-025) solid transparent}.Polaris-Tabs__Tab:not([aria-disabled=true]):active{background-color:var(--p-color-bg-surface-tertiary);color:var(--p-color-text-brand);z-index:var(--p-z-index-1)}.Polaris-Tabs__Tab path{fill:currentColor}.Polaris-Tabs__Tab--active{background:var(--p-color-bg-fill-transparent-selected);border-radius:var(--p-border-radius-200);color:var(--p-color-text)}.Polaris-Tabs__Tab--active[aria-disabled=true]{background:var(--p-color-bg-surface-disabled);color:var(--p-color-text-disabled)}.Polaris-Tabs__Tab--active:not([aria-disabled=true]):hover,.Polaris-Tabs__Tab--active:not([aria-disabled=true]):focus{background-color:var(--p-color-bg-fill-transparent-hover);color:var(--p-color-text-brand)}.Polaris-Tabs__Tab--active:not([aria-disabled=true]):active{background-color:var(--p-color-bg-fill-transparent-selected);color:var(--p-color-text-brand)}.Polaris-Tabs__Tab--hasActions{padding-right:var(--p-space-200)}.Polaris-Tabs__Tab--iconOnly{padding-left:var(--p-space-100);padding-right:var(--p-space-100);width:var(--p-space-800)}.Polaris-Tabs--fillSpace .Polaris-Tabs__TabContainer{flex:1 1 auto}.Polaris-Tabs--fitted{flex-wrap:nowrap}.Polaris-Tabs--fitted .Polaris-Tabs__TabContainer{flex:1 1 100%}.Polaris-Tabs__TabContainer{display:flex;margin:0;padding:0}.Polaris-Tabs--titleWithIcon{display:flex}.Polaris-Tabs__List{list-style:none;margin:0;padding:var(--p-space-200)}.Polaris-Tabs__Item{-webkit-appearance:none;-moz-appearance:none;appearance:none;margin:0;padding:0;background:none;border:none;font-size:inherit;line-height:inherit;position:relative;display:block;width:100%;min-height:var(--item-min-height);padding:var(--item-vertical-padding) var(--p-space-400);text-align:left;text-decoration:none;cursor:pointer;border-radius:var(--p-border-radius-100);color:inherit}.Polaris-Tabs__Item:focus{outline:none}.Polaris-Tabs__Item:after{content:"";position:absolute;z-index:1;top:-.0625rem;right:-.0625rem;bottom:-.0625rem;left:-.0625rem;display:block;pointer-events:none;box-shadow:0 0 0 -.0625rem var(--p-color-border-focus);border-radius:var(--p-border-radius-100)}.Polaris-Tabs__Item::-moz-focus-inner{border:none}.Polaris-Tabs__Item:hover{background-color:var(--p-color-bg-surface-hover);color:var(--p-color-text)}.Polaris-Tabs__Item:active{background-color:var(--p-color-bg-surface-active);color:var(--p-color-text)}.Polaris-Tabs__Item:focus-visible:not(:active):after{box-shadow:0 0 0 .125rem var(--p-color-border-focus);outline:var(--p-border-width-025) solid transparent}.Polaris-Tabs__Item:visited{color:inherit}.Polaris-Tabs__DisclosureTab{display:none}.Polaris-Tabs__DisclosureTab--visible{display:flex}.Polaris-Tabs__DisclosureActivator{position:relative;-webkit-appearance:none;-moz-appearance:none;appearance:none;margin:0;padding:0;background:none;font-size:inherit;line-height:inherit;color:inherit;height:100%;background-color:transparent;color:var(--p-color-text-brand);display:flex;align-items:center;justify-content:center;cursor:pointer;border-radius:var(--p-border-radius-200);padding:0 var(--p-space-200) 0 var(--p-space-300);margin-top:var(--p-space-025);border:none;outline:none}.Polaris-Tabs__DisclosureActivator:after{content:"";position:absolute;z-index:1;top:-.0625rem;right:-.0625rem;bottom:-.0625rem;left:-.0625rem;display:block;pointer-events:none;box-shadow:0 0 0 -.0625rem var(--p-color-border-focus);border-radius:var(--p-border-radius-100)}.Polaris-Tabs__DisclosureActivator:focus{outline:none}.Polaris-Tabs__DisclosureActivator svg{fill:var(--p-color-icon)}.Polaris-Tabs__DisclosureActivator:hover svg,.Polaris-Tabs__DisclosureActivator:focus svg{fill:var(--p-color-icon)}.Polaris-Tabs__DisclosureActivator:not([aria-disabled=true]):hover{background-color:var(--p-color-bg-fill-transparent-hover);color:var(--p-color-text-brand)}.Polaris-Tabs__DisclosureActivator:not([aria-disabled=true]):focus{background-color:transparent;color:var(--p-color-text-brand)}.Polaris-Tabs__DisclosureActivator:not([aria-disabled=true]):focus-visible{outline:0}.Polaris-Tabs__DisclosureActivator:not([aria-disabled=true]):focus-visible:after{box-shadow:0 0 0 .125rem var(--p-color-border-focus);outline:var(--p-border-width-025) solid transparent}.Polaris-Tabs__DisclosureActivator:not([aria-disabled=true]):active{background-color:var(--p-color-bg-surface-tertiary);z-index:var(--p-z-index-1)}.Polaris-Tabs__DisclosureActivator[aria-disabled=true]{cursor:default;color:var(--p-color-text-disabled);background:var(--p-color-bg-surface-disabled)}.Polaris-Tabs__DisclosureActivator[aria-disabled=true] path{fill:var(--p-color-icon-disabled)}.Polaris-Tabs__TabsMeasurer{display:flex;gap:0;padding:0;visibility:hidden;height:0}.Polaris-Tabs__NewTab{padding:0 var(--p-space-200) 0 var(--p-space-100)}@media (min-width: 48em){.Polaris-Tabs__NewTab{position:absolute;right:0;top:0;padding:0}}.Polaris-Tabs__ActionListWrap,.Polaris-Tabs__Panel{display:block}.Polaris-Tabs__Panel:focus{outline:none}.Polaris-Tabs__Panel--hidden{display:none}.Polaris-IndexFilters-Container{border-bottom:var(--p-border-width-025) solid var(--p-color-border);border-top-left-radius:var(--p-border-radius-200);border-top-right-radius:var(--p-border-radius-200);background:var(--p-color-bg-surface)}@media (max-width: 30.6225em){.Polaris-IndexFilters-Container{border-top-left-radius:0;border-top-right-radius:0;height:unset}}.Polaris-SortButton-DirectionButton{position:relative;border-radius:var(--p-border-radius-200);padding:var(--p-space-100) var(--p-space-300) var(--p-space-100) var(--p-space-200);display:grid;align-items:center;grid-template-columns:auto 1fr;gap:var(--p-space-050);cursor:pointer;width:100%;border:none;background:none;text-align:left}.Polaris-SortButton-DirectionButton:after{content:"";position:absolute;z-index:1;top:-.0625rem;right:-.0625rem;bottom:-.0625rem;left:-.0625rem;display:block;pointer-events:none;box-shadow:0 0 0 -.0625rem var(--p-color-border-focus);border-radius:var(--p-border-radius-200)}.Polaris-SortButton-DirectionButton:hover{background-color:var(--p-color-bg-fill-transparent-hover)}.Polaris-SortButton-DirectionButton+.Polaris-SortButton-DirectionButton{margin-top:var(--p-space-100)}.Polaris-SortButton-DirectionButton:focus-visible{outline:0}.Polaris-SortButton-DirectionButton:focus-visible:after{box-shadow:0 0 0 .125rem var(--p-color-border-focus);outline:var(--p-border-width-025) solid transparent}.Polaris-SortButton-DirectionButton__DirectionButton--active{color:var(--p-color-text);background:var(--p-color-bg-fill-transparent-active)}.Polaris-IndexFilters__IndexFiltersWrapper{width:100%}@media (min-width: 30.625em){.Polaris-IndexFilters__IndexFiltersWrapper{height:auto!important}}@media (max-width: 30.6225em){.Polaris-IndexFilters.Polaris-IndexFilters__IndexFiltersSticky{position:fixed;z-index:var(--p-z-index-1);top:3.5rem;width:100vw;box-shadow:var(--p-shadow-200)}.Polaris-IndexFilters.Polaris-IndexFilters__IndexFiltersStickyFlush{top:0}}.Polaris-IndexFilters__TabsWrapper{flex:1 1;height:2.75rem}@media (max-width: 47.9975em){.Polaris-IndexFilters__TabsWrapper{height:var(--p-space-1200)}}.Polaris-IndexFilters__SmallScreenTabsWrapper{overflow:hidden;padding:var(--p-space-100) var(--p-space-0) var(--p-space-200) var(--p-space-300);padding:0}.Polaris-IndexFilters__SmallScreenTabsWrapper.Polaris-IndexFilters__TabsWrapperLoading{position:relative}.Polaris-IndexFilters__DesktopLoading{position:absolute;right:100%;top:50%;height:1.25rem;width:1.25rem;transform:translateY(-50%)}.Polaris-IndexFilters__TabsLoading svg{display:block}.Polaris-IndexFilters__TabsWrapperLoading .Polaris-IndexFilters__TabsLoading{position:absolute;right:0;top:0;height:3.4375rem;width:3.5rem;display:flex;align-items:center;justify-content:center;background:var(--p-color-bg-surface)}.Polaris-IndexFilters__TabsWrapperLoading .Polaris-IndexFilters__TabsLoading:before{content:"";position:absolute;top:0;left:-1rem;width:var(--p-space-400);height:100%;pointer-events:none;background:linear-gradient(to right,rgba(255,255,255,0),var(--p-color-bg-surface))}.Polaris-IndexFilters__ActionWrap{position:relative;display:flex;gap:var(--p-space-200);align-items:center;justify-content:flex-start;padding:var(--p-space-150) var(--p-space-200)}@media (max-width: 47.9975em){.Polaris-IndexFilters__ActionWrap{padding:var(--p-space-200);height:3rem;border-left:var(--p-border-width-025) solid var(--p-color-border-secondary)}.Polaris-IndexFilters__ActionWrap:before{content:"";position:absolute;top:0;left:-1.0625rem;width:var(--p-space-400);height:100%;pointer-events:none;background:linear-gradient(to right,rgba(255,255,255,0),var(--p-color-bg-surface))}}.Polaris-IndexFilters__ActionWrap svg{display:block}.Polaris-IndexFilters__Spinner{width:1.25rem;transform:translate(var(--p-space-100))}.Polaris-IndexFilters__Spinner svg{display:block}.Polaris-IndexFilters__ButtonWrap button,.Polaris-IndexFilters__ActionWrap button{display:flex}.Polaris-IndexTable{--pc-index-table-translate-offset:2.1875rem;--pc-index-table-table-header-offset:var(--pg-control-height);--pc-index-table-cell:1;--pc-index-table-sticky-cell:29;--pc-index-table-bulk-actions:31;--pc-index-table-loading-panel:31;position:relative;border-radius:0;scrollbar-color:auto}@media (min-width: 30.625em){.Polaris-IndexTable{border-radius:inherit;border-start-start-radius:0;border-start-end-radius:0}}.Polaris-IndexTable__IndexTableWrapper{border-radius:0}.Polaris-IndexTable__IndexTableWrapper .Polaris-IndexTable__IndexTableWrapper--scrollBarHidden{border-radius:inherit}.Polaris-IndexTable__IndexTableWrapperWithSelectAllActions{--pc-index-table-bulk-actions-offset:2.5625rem;padding-bottom:var(--pc-index-table-bulk-actions-offset);border-radius:0}.Polaris-IndexTable__LoadingContainer--enter{opacity:0;transform:translateY(-100%)}.Polaris-IndexTable--loadingContainerEnterActive{opacity:1;transition:opacity var(--p-motion-duration-100) var(--p-motion-ease-out),transform var(--p-motion-duration-100) var(--p-motion-ease-out);transform:translateY(0)}.Polaris-IndexTable__LoadingContainer--exit{opacity:1;transform:translateY(0)}.Polaris-IndexTable--loadingContainerExitActive{opacity:0;transform:translateY(-100%);transition:opacity var(--p-motion-duration-100) var(--p-motion-ease-in),transform var(--p-motion-duration-100) var(--p-motion-ease-in)}.Polaris-IndexTable__LoadingPanel{position:absolute;z-index:var(--p-z-index-2);top:0;left:0;display:flex;width:100%;justify-content:center;align-items:center;background:var(--p-color-bg-surface);padding:var(--p-space-200) var(--p-space-400);box-shadow:var(--p-shadow-300)}.Polaris-IndexTable__LoadingPanel .Polaris-IndexTable__LoadingPanelRow{display:flex;flex-wrap:nowrap;width:100%;background:var(--p-color-bg-surface-info);padding:var(--p-space-200);padding-bottom:var(--p-space-100);border-radius:var(--p-border-radius-100)}.Polaris-IndexTable__LoadingPanelText{margin-left:var(--p-space-300);color:var(--p-color-text)}.Polaris-IndexTable__Table{width:100%;min-width:100%;border-collapse:collapse}.Polaris-IndexTable__Table--scrolling .Polaris-IndexTable__TableCell--first,.Polaris-IndexTable__StickyTable--scrolling .Polaris-IndexTable__TableCell--first,.Polaris-IndexTable__Table--scrolling .Polaris-IndexTable__TableCell--first+.Polaris-IndexTable__TableCell,.Polaris-IndexTable__StickyTable--scrolling .Polaris-IndexTable__TableCell--first+.Polaris-IndexTable__TableCell,.Polaris-IndexTable__Table--scrolling .Polaris-IndexTable__TableHeading--first,.Polaris-IndexTable__StickyTable--scrolling .Polaris-IndexTable__TableHeading--first,.Polaris-IndexTable__Table--scrolling .Polaris-IndexTable__TableHeading--second,.Polaris-IndexTable__StickyTable--scrolling .Polaris-IndexTable__TableHeading--second{visibility:visible;background-color:var(--p-color-bg-surface)}.Polaris-IndexTable__Table--scrolling .Polaris-IndexTable__TableHeading--first,.Polaris-IndexTable__StickyTable--scrolling .Polaris-IndexTable__TableHeading--first,.Polaris-IndexTable__Table--scrolling .Polaris-IndexTable__TableHeading--second,.Polaris-IndexTable__StickyTable--scrolling .Polaris-IndexTable__TableHeading--second{visibility:visible;background-color:var(--p-color-bg-surface-secondary)}.Polaris-IndexTable__Table--scrolling .Polaris-IndexTable__TableCell--first,.Polaris-IndexTable__StickyTable--scrolling .Polaris-IndexTable__TableCell--first,.Polaris-IndexTable__Table--scrolling .Polaris-IndexTable__TableHeading--first,.Polaris-IndexTable__StickyTable--scrolling .Polaris-IndexTable__TableHeading--first{filter:drop-shadow(.0625rem 0 0 var(--p-color-border-secondary))}@media (min-width: 30.625em){.Polaris-IndexTable__Table--scrolling.Polaris-IndexTable__Table--sticky .Polaris-IndexTable__TableCell--first+.Polaris-IndexTable__TableCell,.Polaris-IndexTable__StickyTable--scrolling.Polaris-IndexTable__Table--sticky .Polaris-IndexTable__TableCell--first+.Polaris-IndexTable__TableCell,.Polaris-IndexTable__Table--scrolling.Polaris-IndexTable__StickyTable .Polaris-IndexTable__TableCell--first+.Polaris-IndexTable__TableCell,.Polaris-IndexTable__StickyTable--scrolling.Polaris-IndexTable__StickyTable .Polaris-IndexTable__TableCell--first+.Polaris-IndexTable__TableCell,.Polaris-IndexTable__Table--scrolling.Polaris-IndexTable__Table--sticky .Polaris-IndexTable__TableHeading--second,.Polaris-IndexTable__StickyTable--scrolling.Polaris-IndexTable__Table--sticky .Polaris-IndexTable__TableHeading--second,.Polaris-IndexTable__Table--scrolling.Polaris-IndexTable__StickyTable .Polaris-IndexTable__TableHeading--second,.Polaris-IndexTable__StickyTable--scrolling.Polaris-IndexTable__StickyTable .Polaris-IndexTable__TableHeading--second{filter:drop-shadow(.0625rem 0 0 var(--p-color-border-secondary))}}.Polaris-IndexTable__Table--scrolling.Polaris-IndexTable__Table--sticky.Polaris-IndexTable__Table--unselectable .Polaris-IndexTable__TableHeading--second,.Polaris-IndexTable__StickyTable--scrolling.Polaris-IndexTable__Table--sticky.Polaris-IndexTable__Table--unselectable .Polaris-IndexTable__TableHeading--second,.Polaris-IndexTable__Table--scrolling.Polaris-IndexTable__StickyTable.Polaris-IndexTable__Table--unselectable .Polaris-IndexTable__TableHeading--second,.Polaris-IndexTable__StickyTable--scrolling.Polaris-IndexTable__StickyTable.Polaris-IndexTable__Table--unselectable .Polaris-IndexTable__TableHeading--second,.Polaris-IndexTable__Table--scrolling.Polaris-IndexTable__Table--sticky.Polaris-IndexTable__Table--unselectable .Polaris-IndexTable__TableCell:first-child,.Polaris-IndexTable__StickyTable--scrolling.Polaris-IndexTable__Table--sticky.Polaris-IndexTable__Table--unselectable .Polaris-IndexTable__TableCell:first-child,.Polaris-IndexTable__Table--scrolling.Polaris-IndexTable__StickyTable.Polaris-IndexTable__Table--unselectable .Polaris-IndexTable__TableCell:first-child,.Polaris-IndexTable__StickyTable--scrolling.Polaris-IndexTable__StickyTable.Polaris-IndexTable__Table--unselectable .Polaris-IndexTable__TableCell:first-child{filter:drop-shadow(.0625rem 0 0 var(--p-color-border-secondary))}.Polaris-IndexTable__Table--scrolling.Polaris-IndexTable__Table--unselectable .Polaris-IndexTable__TableHeading--second,.Polaris-IndexTable__StickyTable--scrolling.Polaris-IndexTable__Table--unselectable .Polaris-IndexTable__TableHeading--second,.Polaris-IndexTable__Table--scrolling.Polaris-IndexTable__Table--unselectable .Polaris-IndexTable__TableCell:first-child,.Polaris-IndexTable__StickyTable--scrolling.Polaris-IndexTable__Table--unselectable .Polaris-IndexTable__TableCell:first-child{visibility:visible}.Polaris-IndexTable__TableRow{background-color:var(--p-color-bg-surface);cursor:pointer;border-top:var(--p-border-width-025) solid var(--p-color-border-secondary)}.Polaris-IndexTable__TableRow:first-child{border-top:var(--p-border-width-025) solid var(--p-color-border)}.Polaris-IndexTable__TableRow.Polaris-IndexTable__TableRow--unclickable{cursor:auto}.Polaris-IndexTable__TableRow.Polaris-IndexTable--toneSuccess,.Polaris-IndexTable__TableRow.Polaris-IndexTable--toneSuccess .Polaris-IndexTable__TableCell--first,.Polaris-IndexTable__TableRow.Polaris-IndexTable--toneSuccess .Polaris-IndexTable__TableCell--first+.Polaris-IndexTable__TableCell,.Polaris-IndexTable__TableRow.Polaris-IndexTable--toneSuccess .Polaris-IndexTable__TableCell:last-child{background-color:var(--p-color-bg-surface-success)}.Polaris-IndexTable__TableRow.Polaris-IndexTable__TableRow--child.Polaris-IndexTable--toneSuccess:before,.Polaris-IndexTable__TableRow.Polaris-IndexTable__TableRow--child.Polaris-IndexTable--toneSuccess .Polaris-IndexTable__TableCell--first:before{background-color:var(--p-color-bg-surface-success)}.Polaris-IndexTable__TableRow.Polaris-IndexTable--toneWarning,.Polaris-IndexTable__TableRow.Polaris-IndexTable--toneWarning .Polaris-IndexTable__TableCell--first,.Polaris-IndexTable__TableRow.Polaris-IndexTable--toneWarning .Polaris-IndexTable__TableCell--first+.Polaris-IndexTable__TableCell,.Polaris-IndexTable__TableRow.Polaris-IndexTable--toneWarning .Polaris-IndexTable__TableCell:last-child{background-color:var(--p-color-bg-surface-warning)}.Polaris-IndexTable__TableRow.Polaris-IndexTable__TableRow--child.Polaris-IndexTable--toneWarning:before,.Polaris-IndexTable__TableRow.Polaris-IndexTable__TableRow--child.Polaris-IndexTable--toneWarning .Polaris-IndexTable__TableCell--first:before{background-color:var(--p-color-bg-surface-warning)}.Polaris-IndexTable__TableRow.Polaris-IndexTable--toneCritical,.Polaris-IndexTable__TableRow.Polaris-IndexTable--toneCritical .Polaris-IndexTable__TableCell--first,.Polaris-IndexTable__TableRow.Polaris-IndexTable--toneCritical .Polaris-IndexTable__TableCell--first+.Polaris-IndexTable__TableCell,.Polaris-IndexTable__TableRow.Polaris-IndexTable--toneCritical .Polaris-IndexTable__TableCell:last-child{background-color:var(--p-color-bg-surface-critical)}.Polaris-IndexTable__TableRow.Polaris-IndexTable__TableRow--child.Polaris-IndexTable--toneCritical:before,.Polaris-IndexTable__TableRow.Polaris-IndexTable__TableRow--child.Polaris-IndexTable--toneCritical .Polaris-IndexTable__TableCell--first:before{background-color:var(--p-color-bg-surface-critical)}.Polaris-IndexTable__TableRow.Polaris-IndexTable--toneSubdued,.Polaris-IndexTable__TableRow.Polaris-IndexTable--toneSubdued .Polaris-IndexTable__TableCell--first,.Polaris-IndexTable__TableRow.Polaris-IndexTable--toneSubdued .Polaris-IndexTable__TableCell--first+.Polaris-IndexTable__TableCell,.Polaris-IndexTable__TableRow.Polaris-IndexTable--toneSubdued .Polaris-IndexTable__TableCell:last-child{background-color:var(--p-color-bg-surface-secondary);color:var(--p-color-text-secondary)}.Polaris-IndexTable__TableRow.Polaris-IndexTable__TableRow--child.Polaris-IndexTable--toneSubdued:before,.Polaris-IndexTable__TableRow.Polaris-IndexTable__TableRow--child.Polaris-IndexTable--toneSubdued .Polaris-IndexTable__TableCell--first:before{background-color:var(--p-color-bg-surface-secondary)}.Polaris-IndexTable__TableRow.Polaris-IndexTable__TableRow--subheader{cursor:default}.Polaris-IndexTable__TableRow.Polaris-IndexTable__TableRow--subheader,.Polaris-IndexTable__TableRow.Polaris-IndexTable__TableRow--subheader .Polaris-IndexTable__TableCell:first-child,.Polaris-IndexTable__TableRow.Polaris-IndexTable__TableRow--subheader .Polaris-IndexTable__TableCell--first,.Polaris-IndexTable__TableRow.Polaris-IndexTable__TableRow--subheader .Polaris-IndexTable__TableCell--first+.Polaris-IndexTable__TableCell,.Polaris-IndexTable__TableRow.Polaris-IndexTable__TableRow--subheader .Polaris-IndexTable__TableCell:last-child{color:var(--p-color-text-secondary);font-weight:var(--p-font-weight-medium);font-size:var(--p-font-size-300);background-color:var(--p-color-bg-surface-secondary);border-top:var(--p-border-width-025) solid var(--p-color-border);border-bottom:var(--p-border-width-025) solid var(--p-color-border);border-color:var(--p-color-border)}.Polaris-IndexTable__TableRow.Polaris-IndexTable__TableRow--child{--pc-index-table-checkbox-width:var(--p-space-500);--pc-index-table-checkbox-width-sm:calc(var(--pc-index-table-checkbox-width) + var(--p-width-050));--pc-index-table-checkbox-padding-left:var(--p-space-300);--pc-index-table-checkbox-padding-right:var(--p-width-150);--pc-index-table-checkbox-child-offset:calc(var(--pc-index-table-checkbox-width) + var(--pc-index-table-checkbox-padding-left));--pc-index-table-checkbox-child-offset-sm:calc(var(--pc-index-table-checkbox-width-sm) + var(--pc-index-table-checkbox-padding-left));--pc-table-shifted-checkbox-z-index:30}.Polaris-IndexTable__TableRow.Polaris-IndexTable__TableRow--child .Polaris-IndexTable__TableCell--first{left:var(--pc-index-table-checkbox-child-offset);z-index:var(--pc-table-shifted-checkbox-z-index)}@media (max-width: 30.6225em){.Polaris-IndexTable__TableRow.Polaris-IndexTable__TableRow--child .Polaris-IndexTable__TableCell--first{left:var(--pc-index-table-checkbox-child-offset-sm)}}.Polaris-IndexTable__TableRow.Polaris-IndexTable__TableRow--child .Polaris-IndexTable__TableCell--first:before{content:"";position:absolute;display:block;width:calc(var(--pc-index-table-checkbox-child-offset) + var(--pc-index-table-checkbox-padding-right));height:100%;top:0;right:var(--pc-index-table-checkbox-child-offset);background-color:var(--p-color-bg-surface)}@media (max-width: 30.6225em){.Polaris-IndexTable__TableRow.Polaris-IndexTable__TableRow--child .Polaris-IndexTable__TableCell--first:before{width:calc(var(--pc-index-table-checkbox-child-offset-sm) + var(--pc-index-table-checkbox-padding-right));right:var(--pc-index-table-checkbox-child-offset-sm)}}.Polaris-IndexTable__TableRow.Polaris-IndexTable__TableRow--child .Polaris-IndexTable__TableCell--first+.Polaris-IndexTable__TableCell{--pc-index-table-cell-padding:var(--p-space-150);padding-left:calc(var(--pc-index-table-checkbox-child-offset) + var(--pc-index-table-cell-padding))}@media (max-width: 30.6225em){.Polaris-IndexTable__TableRow.Polaris-IndexTable__TableRow--child .Polaris-IndexTable__TableCell--first+.Polaris-IndexTable__TableCell{padding-left:calc(var(--pc-index-table-checkbox-child-offset-sm) + var(--pc-index-table-cell-padding))}}.Polaris-IndexTable__TableRow.Polaris-IndexTable__TableRow--selected{border-color:var(--p-color-border)}.Polaris-IndexTable__TableRow.Polaris-IndexTable__TableRow--selected,.Polaris-IndexTable__TableRow.Polaris-IndexTable__TableRow--selected .Polaris-IndexTable__TableHeading--first,.Polaris-IndexTable__TableRow.Polaris-IndexTable__TableRow--selected .Polaris-IndexTable__TableHeading--second,.Polaris-IndexTable__TableRow.Polaris-IndexTable__TableRow--selected .Polaris-IndexTable__TableCell--first,.Polaris-IndexTable__TableRow.Polaris-IndexTable__TableRow--selected .Polaris-IndexTable__TableCell--first+.Polaris-IndexTable__TableCell,.Polaris-IndexTable__TableRow.Polaris-IndexTable__TableRow--selected .Polaris-IndexTable__TableCell:last-child{background-color:var(--p-color-bg-surface-selected)}.Polaris-IndexTable__TableRow.Polaris-IndexTable__TableRow--selected.Polaris-IndexTable__TableRow--child:before,.Polaris-IndexTable__TableRow.Polaris-IndexTable__TableRow--selected.Polaris-IndexTable__TableRow--child .Polaris-IndexTable__TableCell--first:before{background-color:var(--p-color-bg-surface-selected)}.Polaris-IndexTable__TableRow.Polaris-IndexTable__TableRow--selected.Polaris-IndexTable--toneSuccess,.Polaris-IndexTable__TableRow.Polaris-IndexTable__TableRow--selected.Polaris-IndexTable--toneSuccess .Polaris-IndexTable__TableCell:first-child,.Polaris-IndexTable__TableRow.Polaris-IndexTable__TableRow--selected.Polaris-IndexTable--toneSuccess .Polaris-IndexTable__TableCell--first,.Polaris-IndexTable__TableRow.Polaris-IndexTable__TableRow--selected.Polaris-IndexTable--toneSuccess .Polaris-IndexTable__TableCell--first+.Polaris-IndexTable__TableCell,.Polaris-IndexTable__TableRow.Polaris-IndexTable__TableRow--selected.Polaris-IndexTable--toneSuccess .Polaris-IndexTable__TableCell:last-child{background-color:var(--p-color-bg-surface-success-active)}.Polaris-IndexTable__TableRow.Polaris-IndexTable__TableRow--selected.Polaris-IndexTable__TableRow--child.Polaris-IndexTable--toneSuccess:before,.Polaris-IndexTable__TableRow.Polaris-IndexTable__TableRow--selected.Polaris-IndexTable__TableRow--child.Polaris-IndexTable--toneSuccess .Polaris-IndexTable__TableCell--first:before{background-color:var(--p-color-bg-surface-success-active)}.Polaris-IndexTable__TableRow.Polaris-IndexTable__TableRow--selected.Polaris-IndexTable--toneWarning,.Polaris-IndexTable__TableRow.Polaris-IndexTable__TableRow--selected.Polaris-IndexTable--toneWarning .Polaris-IndexTable__TableCell:first-child,.Polaris-IndexTable__TableRow.Polaris-IndexTable__TableRow--selected.Polaris-IndexTable--toneWarning .Polaris-IndexTable__TableCell--first,.Polaris-IndexTable__TableRow.Polaris-IndexTable__TableRow--selected.Polaris-IndexTable--toneWarning .Polaris-IndexTable__TableCell--first+.Polaris-IndexTable__TableCell,.Polaris-IndexTable__TableRow.Polaris-IndexTable__TableRow--selected.Polaris-IndexTable--toneWarning .Polaris-IndexTable__TableCell:last-child{background-color:var(--p-color-bg-surface-warning-active)}.Polaris-IndexTable__TableRow.Polaris-IndexTable__TableRow--selected.Polaris-IndexTable__TableRow--child.Polaris-IndexTable--toneWarning:before,.Polaris-IndexTable__TableRow.Polaris-IndexTable__TableRow--selected.Polaris-IndexTable__TableRow--child.Polaris-IndexTable--toneWarning .Polaris-IndexTable__TableCell--first:before{background-color:var(--p-color-bg-surface-warning-active)}.Polaris-IndexTable__TableRow.Polaris-IndexTable__TableRow--selected.Polaris-IndexTable--toneCritical,.Polaris-IndexTable__TableRow.Polaris-IndexTable__TableRow--selected.Polaris-IndexTable--toneCritical .Polaris-IndexTable__TableCell:first-child,.Polaris-IndexTable__TableRow.Polaris-IndexTable__TableRow--selected.Polaris-IndexTable--toneCritical .Polaris-IndexTable__TableCell--first,.Polaris-IndexTable__TableRow.Polaris-IndexTable__TableRow--selected.Polaris-IndexTable--toneCritical .Polaris-IndexTable__TableCell--first+.Polaris-IndexTable__TableCell,.Polaris-IndexTable__TableRow.Polaris-IndexTable__TableRow--selected.Polaris-IndexTable--toneCritical .Polaris-IndexTable__TableCell:last-child{background-color:var(--p-color-bg-surface-critical-active)}.Polaris-IndexTable__TableRow.Polaris-IndexTable__TableRow--selected.Polaris-IndexTable__TableRow--child.Polaris-IndexTable--toneCritical:before,.Polaris-IndexTable__TableRow.Polaris-IndexTable__TableRow--selected.Polaris-IndexTable__TableRow--child.Polaris-IndexTable--toneCritical .Polaris-IndexTable__TableCell--first:before{background-color:var(--p-color-bg-surface-critical-active)}.Polaris-IndexTable__TableRow.Polaris-IndexTable__TableRow--selected.Polaris-IndexTable--toneSubdued,.Polaris-IndexTable__TableRow.Polaris-IndexTable__TableRow--selected.Polaris-IndexTable--toneSubdued .Polaris-IndexTable__TableCell:first-child,.Polaris-IndexTable__TableRow.Polaris-IndexTable__TableRow--selected.Polaris-IndexTable--toneSubdued .Polaris-IndexTable__TableCell--first,.Polaris-IndexTable__TableRow.Polaris-IndexTable__TableRow--selected.Polaris-IndexTable--toneSubdued .Polaris-IndexTable__TableCell--first+.Polaris-IndexTable__TableCell,.Polaris-IndexTable__TableRow.Polaris-IndexTable__TableRow--selected.Polaris-IndexTable--toneSubdued .Polaris-IndexTable__TableCell:last-child{background-color:var(--p-color-bg-surface-secondary-active)}.Polaris-IndexTable__TableRow.Polaris-IndexTable__TableRow--selected.Polaris-IndexTable__TableRow--child.Polaris-IndexTable--toneSubdued:before,.Polaris-IndexTable__TableRow.Polaris-IndexTable__TableRow--selected.Polaris-IndexTable__TableRow--child.Polaris-IndexTable--toneSubdued .Polaris-IndexTable__TableCell--first:before{background-color:var(--p-color-bg-surface-secondary-active)}.Polaris-IndexTable__TableRow.Polaris-IndexTable__TableRow--selected.Polaris-IndexTable__TableRow--subheader,.Polaris-IndexTable__TableRow.Polaris-IndexTable__TableRow--selected.Polaris-IndexTable__TableRow--subheader .Polaris-IndexTable__TableCell:first-child,.Polaris-IndexTable__TableRow.Polaris-IndexTable__TableRow--selected.Polaris-IndexTable__TableRow--subheader .Polaris-IndexTable__TableCell--first,.Polaris-IndexTable__TableRow.Polaris-IndexTable__TableRow--selected.Polaris-IndexTable__TableRow--subheader .Polaris-IndexTable__TableCell--first+.Polaris-IndexTable__TableCell,.Polaris-IndexTable__TableRow.Polaris-IndexTable__TableRow--selected.Polaris-IndexTable__TableRow--subheader .Polaris-IndexTable__TableCell:last-child{background-color:var(--p-color-bg-surface-secondary)}.Polaris-IndexTable__TableRow.Polaris-IndexTable__TableRow--hovered:not(.Polaris-IndexTable__TableRow--disabled),.Polaris-IndexTable__TableRow.Polaris-IndexTable__TableRow--hovered:not(.Polaris-IndexTable__TableRow--disabled) .Polaris-IndexTable__TableCell--first,.Polaris-IndexTable__TableRow.Polaris-IndexTable__TableRow--hovered:not(.Polaris-IndexTable__TableRow--disabled) .Polaris-IndexTable__TableCell--first+.Polaris-IndexTable__TableCell,.Polaris-IndexTable__TableRow.Polaris-IndexTable__TableRow--hovered:not(.Polaris-IndexTable__TableRow--disabled) .Polaris-IndexTable__TableCell:last-child{background-color:var(--p-color-bg-surface-hover)}.Polaris-IndexTable__TableRow.Polaris-IndexTable__TableRow--hovered.Polaris-IndexTable__TableRow--child:not(.Polaris-IndexTable__TableRow--disabled):before,.Polaris-IndexTable__TableRow.Polaris-IndexTable__TableRow--hovered.Polaris-IndexTable__TableRow--child:not(.Polaris-IndexTable__TableRow--disabled) .Polaris-IndexTable__TableCell--first:before{background-color:var(--p-color-bg-surface-hover)}.Polaris-IndexTable__TableRow.Polaris-IndexTable__TableRow--hovered.Polaris-IndexTable--toneSuccess:not(.Polaris-IndexTable__TableRow--disabled),.Polaris-IndexTable__TableRow.Polaris-IndexTable__TableRow--hovered.Polaris-IndexTable--toneSuccess:not(.Polaris-IndexTable__TableRow--disabled) .Polaris-IndexTable__TableCell--first,.Polaris-IndexTable__TableRow.Polaris-IndexTable__TableRow--hovered.Polaris-IndexTable--toneSuccess:not(.Polaris-IndexTable__TableRow--disabled) .Polaris-IndexTable__TableCell--first+.Polaris-IndexTable__TableCell,.Polaris-IndexTable__TableRow.Polaris-IndexTable__TableRow--hovered.Polaris-IndexTable--toneSuccess:not(.Polaris-IndexTable__TableRow--disabled) .Polaris-IndexTable__TableCell:last-child{background-color:var(--p-color-bg-surface-success-hover)}.Polaris-IndexTable__TableRow.Polaris-IndexTable__TableRow--hovered.Polaris-IndexTable__TableRow--child.Polaris-IndexTable--toneSuccess:not(.Polaris-IndexTable__TableRow--disabled):before,.Polaris-IndexTable__TableRow.Polaris-IndexTable__TableRow--hovered.Polaris-IndexTable__TableRow--child.Polaris-IndexTable--toneSuccess:not(.Polaris-IndexTable__TableRow--disabled) .Polaris-IndexTable__TableCell--first:before{background-color:var(--p-color-bg-surface-success-hover)}.Polaris-IndexTable__TableRow.Polaris-IndexTable__TableRow--hovered.Polaris-IndexTable--toneCritical:not(.Polaris-IndexTable__TableRow--disabled),.Polaris-IndexTable__TableRow.Polaris-IndexTable__TableRow--hovered.Polaris-IndexTable--toneCritical:not(.Polaris-IndexTable__TableRow--disabled) .Polaris-IndexTable__TableCell--first,.Polaris-IndexTable__TableRow.Polaris-IndexTable__TableRow--hovered.Polaris-IndexTable--toneCritical:not(.Polaris-IndexTable__TableRow--disabled) .Polaris-IndexTable__TableCell--first+.Polaris-IndexTable__TableCell,.Polaris-IndexTable__TableRow.Polaris-IndexTable__TableRow--hovered.Polaris-IndexTable--toneCritical:not(.Polaris-IndexTable__TableRow--disabled) .Polaris-IndexTable__TableCell:last-child{background-color:var(--p-color-bg-surface-critical-hover)}.Polaris-IndexTable__TableRow.Polaris-IndexTable__TableRow--hovered.Polaris-IndexTable__TableRow--child.Polaris-IndexTable--toneCritical:not(.Polaris-IndexTable__TableRow--disabled):before,.Polaris-IndexTable__TableRow.Polaris-IndexTable__TableRow--hovered.Polaris-IndexTable__TableRow--child.Polaris-IndexTable--toneCritical:not(.Polaris-IndexTable__TableRow--disabled) .Polaris-IndexTable__TableCell--first:before{background-color:var(--p-color-bg-surface-critical-hover)}.Polaris-IndexTable__TableRow.Polaris-IndexTable__TableRow--hovered.Polaris-IndexTable--toneWarning:not(.Polaris-IndexTable__TableRow--disabled),.Polaris-IndexTable__TableRow.Polaris-IndexTable__TableRow--hovered.Polaris-IndexTable--toneWarning:not(.Polaris-IndexTable__TableRow--disabled) .Polaris-IndexTable__TableCell--first,.Polaris-IndexTable__TableRow.Polaris-IndexTable__TableRow--hovered.Polaris-IndexTable--toneWarning:not(.Polaris-IndexTable__TableRow--disabled) .Polaris-IndexTable__TableCell--first+.Polaris-IndexTable__TableCell,.Polaris-IndexTable__TableRow.Polaris-IndexTable__TableRow--hovered.Polaris-IndexTable--toneWarning:not(.Polaris-IndexTable__TableRow--disabled) .Polaris-IndexTable__TableCell:last-child{background-color:var(--p-color-bg-surface-warning-hover)}.Polaris-IndexTable__TableRow.Polaris-IndexTable__TableRow--hovered.Polaris-IndexTable__TableRow--child.Polaris-IndexTable--toneWarning:not(.Polaris-IndexTable__TableRow--disabled):before,.Polaris-IndexTable__TableRow.Polaris-IndexTable__TableRow--hovered.Polaris-IndexTable__TableRow--child.Polaris-IndexTable--toneWarning:not(.Polaris-IndexTable__TableRow--disabled) .Polaris-IndexTable__TableCell--first:before{background-color:var(--p-color-bg-surface-warning-hover)}.Polaris-IndexTable__TableRow.Polaris-IndexTable__TableRow--hovered.Polaris-IndexTable--toneSubdued:not(.Polaris-IndexTable__TableRow--disabled),.Polaris-IndexTable__TableRow.Polaris-IndexTable__TableRow--hovered.Polaris-IndexTable--toneSubdued:not(.Polaris-IndexTable__TableRow--disabled) .Polaris-IndexTable__TableCell--first,.Polaris-IndexTable__TableRow.Polaris-IndexTable__TableRow--hovered.Polaris-IndexTable--toneSubdued:not(.Polaris-IndexTable__TableRow--disabled) .Polaris-IndexTable__TableCell--first+.Polaris-IndexTable__TableCell,.Polaris-IndexTable__TableRow.Polaris-IndexTable__TableRow--hovered.Polaris-IndexTable--toneSubdued:not(.Polaris-IndexTable__TableRow--disabled) .Polaris-IndexTable__TableCell:last-child{background-color:var(--p-color-bg-surface-secondary-hover)}.Polaris-IndexTable__TableRow.Polaris-IndexTable__TableRow--hovered.Polaris-IndexTable__TableRow--child.Polaris-IndexTable--toneSubdued:not(.Polaris-IndexTable__TableRow--disabled):before,.Polaris-IndexTable__TableRow.Polaris-IndexTable__TableRow--hovered.Polaris-IndexTable__TableRow--child.Polaris-IndexTable--toneSubdued:not(.Polaris-IndexTable__TableRow--disabled) .Polaris-IndexTable__TableCell--first:before{background-color:var(--p-color-bg-surface-secondary-hover)}.Polaris-IndexTable__TableRow.Polaris-IndexTable__TableRow--hovered.Polaris-IndexTable__TableRow--subheader:not(.Polaris-IndexTable__TableRow--disabled),.Polaris-IndexTable__TableRow.Polaris-IndexTable__TableRow--hovered.Polaris-IndexTable__TableRow--subheader:not(.Polaris-IndexTable__TableRow--disabled) .Polaris-IndexTable__TableCell:first-child,.Polaris-IndexTable__TableRow.Polaris-IndexTable__TableRow--hovered.Polaris-IndexTable__TableRow--subheader:not(.Polaris-IndexTable__TableRow--disabled) .Polaris-IndexTable__TableCell--first,.Polaris-IndexTable__TableRow.Polaris-IndexTable__TableRow--hovered.Polaris-IndexTable__TableRow--subheader:not(.Polaris-IndexTable__TableRow--disabled) .Polaris-IndexTable__TableCell--first+.Polaris-IndexTable__TableCell,.Polaris-IndexTable__TableRow.Polaris-IndexTable__TableRow--hovered.Polaris-IndexTable__TableRow--subheader:not(.Polaris-IndexTable__TableRow--disabled) .Polaris-IndexTable__TableCell:last-child{background-color:var(--p-color-bg-surface-secondary)}.Polaris-IndexTable__TableRow.Polaris-IndexTable__TableRow--hovered.Polaris-IndexTable__TableRow--selected,.Polaris-IndexTable__TableRow.Polaris-IndexTable__TableRow--hovered.Polaris-IndexTable__TableRow--selected .Polaris-IndexTable__TableCell--first,.Polaris-IndexTable__TableRow.Polaris-IndexTable__TableRow--hovered.Polaris-IndexTable__TableRow--selected .Polaris-IndexTable__TableCell--first+.Polaris-IndexTable__TableCell,.Polaris-IndexTable__TableRow.Polaris-IndexTable__TableRow--hovered.Polaris-IndexTable__TableRow--selected .Polaris-IndexTable__TableCell:last-child{background-color:var(--p-color-bg-surface-brand-hover)}.Polaris-IndexTable__TableRow.Polaris-IndexTable__TableRow--hovered.Polaris-IndexTable__TableRow--selected:before,.Polaris-IndexTable__TableRow.Polaris-IndexTable__TableRow--hovered.Polaris-IndexTable__TableRow--selected .Polaris-IndexTable__TableCell--first:before,.Polaris-IndexTable__TableRow.Polaris-IndexTable__TableRow--hovered.Polaris-IndexTable__TableRow--selected .Polaris-IndexTable__TableCell--first+.Polaris-IndexTable__TableCell:before,.Polaris-IndexTable__TableRow.Polaris-IndexTable__TableRow--hovered.Polaris-IndexTable__TableRow--selected .Polaris-IndexTable__TableCell:last-child:before{background-color:var(--p-color-bg-surface-brand-hover)}.Polaris-IndexTable__TableRow.Polaris-IndexTable__TableRow--hovered.Polaris-IndexTable__TableRow--selected.Polaris-IndexTable__TableRow--child:before,.Polaris-IndexTable__TableRow.Polaris-IndexTable__TableRow--hovered.Polaris-IndexTable__TableRow--selected.Polaris-IndexTable__TableRow--child .Polaris-IndexTable__TableCell--first:before{background-color:var(--p-color-bg-surface-brand-hover)}.Polaris-IndexTable__TableRow.Polaris-IndexTable__TableRow--hovered.Polaris-IndexTable__TableRow--selected.Polaris-IndexTable--toneSuccess,.Polaris-IndexTable__TableRow.Polaris-IndexTable__TableRow--hovered.Polaris-IndexTable__TableRow--selected.Polaris-IndexTable--toneSuccess .Polaris-IndexTable__TableCell:first-child,.Polaris-IndexTable__TableRow.Polaris-IndexTable__TableRow--hovered.Polaris-IndexTable__TableRow--selected.Polaris-IndexTable--toneSuccess .Polaris-IndexTable__TableCell--first,.Polaris-IndexTable__TableRow.Polaris-IndexTable__TableRow--hovered.Polaris-IndexTable__TableRow--selected.Polaris-IndexTable--toneSuccess .Polaris-IndexTable__TableCell--first+.Polaris-IndexTable__TableCell,.Polaris-IndexTable__TableRow.Polaris-IndexTable__TableRow--hovered.Polaris-IndexTable__TableRow--selected.Polaris-IndexTable--toneSuccess .Polaris-IndexTable__TableCell:last-child{background-color:var(--p-color-bg-surface-success-hover)}.Polaris-IndexTable__TableRow.Polaris-IndexTable__TableRow--hovered.Polaris-IndexTable__TableRow--selected.Polaris-IndexTable__TableRow--child.Polaris-IndexTable--toneSuccess:before,.Polaris-IndexTable__TableRow.Polaris-IndexTable__TableRow--hovered.Polaris-IndexTable__TableRow--selected.Polaris-IndexTable__TableRow--child.Polaris-IndexTable--toneSuccess .Polaris-IndexTable__TableCell--first:before{background-color:var(--p-color-bg-surface-success-hover)}.Polaris-IndexTable__TableRow.Polaris-IndexTable__TableRow--hovered.Polaris-IndexTable__TableRow--selected.Polaris-IndexTable--toneWarning,.Polaris-IndexTable__TableRow.Polaris-IndexTable__TableRow--hovered.Polaris-IndexTable__TableRow--selected.Polaris-IndexTable--toneWarning .Polaris-IndexTable__TableCell:first-child,.Polaris-IndexTable__TableRow.Polaris-IndexTable__TableRow--hovered.Polaris-IndexTable__TableRow--selected.Polaris-IndexTable--toneWarning .Polaris-IndexTable__TableCell--first,.Polaris-IndexTable__TableRow.Polaris-IndexTable__TableRow--hovered.Polaris-IndexTable__TableRow--selected.Polaris-IndexTable--toneWarning .Polaris-IndexTable__TableCell--first+.Polaris-IndexTable__TableCell,.Polaris-IndexTable__TableRow.Polaris-IndexTable__TableRow--hovered.Polaris-IndexTable__TableRow--selected.Polaris-IndexTable--toneWarning .Polaris-IndexTable__TableCell:last-child{background-color:var(--p-color-bg-surface-warning-hover)}.Polaris-IndexTable__TableRow.Polaris-IndexTable__TableRow--hovered.Polaris-IndexTable__TableRow--selected.Polaris-IndexTable--toneCritical,.Polaris-IndexTable__TableRow.Polaris-IndexTable__TableRow--hovered.Polaris-IndexTable__TableRow--selected.Polaris-IndexTable--toneCritical .Polaris-IndexTable__TableCell:first-child,.Polaris-IndexTable__TableRow.Polaris-IndexTable__TableRow--hovered.Polaris-IndexTable__TableRow--selected.Polaris-IndexTable--toneCritical .Polaris-IndexTable__TableCell--first,.Polaris-IndexTable__TableRow.Polaris-IndexTable__TableRow--hovered.Polaris-IndexTable__TableRow--selected.Polaris-IndexTable--toneCritical .Polaris-IndexTable__TableCell--first+.Polaris-IndexTable__TableCell,.Polaris-IndexTable__TableRow.Polaris-IndexTable__TableRow--hovered.Polaris-IndexTable__TableRow--selected.Polaris-IndexTable--toneCritical .Polaris-IndexTable__TableCell:last-child{background-color:var(--p-color-bg-surface-critical-hover)}.Polaris-IndexTable__TableRow.Polaris-IndexTable__TableRow--hovered.Polaris-IndexTable__TableRow--selected.Polaris-IndexTable--toneSubdued,.Polaris-IndexTable__TableRow.Polaris-IndexTable__TableRow--hovered.Polaris-IndexTable__TableRow--selected.Polaris-IndexTable--toneSubdued .Polaris-IndexTable__TableCell:first-child,.Polaris-IndexTable__TableRow.Polaris-IndexTable__TableRow--hovered.Polaris-IndexTable__TableRow--selected.Polaris-IndexTable--toneSubdued .Polaris-IndexTable__TableCell--first,.Polaris-IndexTable__TableRow.Polaris-IndexTable__TableRow--hovered.Polaris-IndexTable__TableRow--selected.Polaris-IndexTable--toneSubdued .Polaris-IndexTable__TableCell--first+.Polaris-IndexTable__TableCell,.Polaris-IndexTable__TableRow.Polaris-IndexTable__TableRow--hovered.Polaris-IndexTable__TableRow--selected.Polaris-IndexTable--toneSubdued .Polaris-IndexTable__TableCell:last-child{background-color:var(--p-color-bg-surface-secondary-hover)}.Polaris-IndexTable__TableRow.Polaris-IndexTable__TableRow--hovered.Polaris-IndexTable__TableRow--selected.Polaris-IndexTable__TableRow--subheader,.Polaris-IndexTable__TableRow.Polaris-IndexTable__TableRow--hovered.Polaris-IndexTable__TableRow--selected.Polaris-IndexTable__TableRow--subheader .Polaris-IndexTable__TableCell:first-child,.Polaris-IndexTable__TableRow.Polaris-IndexTable__TableRow--hovered.Polaris-IndexTable__TableRow--selected.Polaris-IndexTable__TableRow--subheader .Polaris-IndexTable__TableCell--first,.Polaris-IndexTable__TableRow.Polaris-IndexTable__TableRow--hovered.Polaris-IndexTable__TableRow--selected.Polaris-IndexTable__TableRow--subheader .Polaris-IndexTable__TableCell--first+.Polaris-IndexTable__TableCell,.Polaris-IndexTable__TableRow.Polaris-IndexTable__TableRow--hovered.Polaris-IndexTable__TableRow--selected.Polaris-IndexTable__TableRow--subheader .Polaris-IndexTable__TableCell:last-child{background-color:var(--p-color-bg-surface-secondary)}.Polaris-IndexTable__TableRow--disabled{cursor:default;color:var(--p-color-text-secondary)}.Polaris-IndexTable__ZebraStriping .Polaris-IndexTable__Table--scrolling .Polaris-IndexTable__TableRow:nth-child(odd),.Polaris-IndexTable__ZebraStriping .Polaris-IndexTable__TableRow:nth-child(odd),.Polaris-IndexTable__ZebraStriping .Polaris-IndexTable__Table--scrolling .Polaris-IndexTable__TableRow:nth-child(odd) .Polaris-IndexTable__TableCell:first-child,.Polaris-IndexTable__ZebraStriping .Polaris-IndexTable__TableRow:nth-child(odd) .Polaris-IndexTable__TableCell:first-child,.Polaris-IndexTable__ZebraStriping .Polaris-IndexTable__Table--scrolling .Polaris-IndexTable__TableRow:nth-child(odd) .Polaris-IndexTable__TableCell--first,.Polaris-IndexTable__ZebraStriping .Polaris-IndexTable__TableRow:nth-child(odd) .Polaris-IndexTable__TableCell--first,.Polaris-IndexTable__ZebraStriping .Polaris-IndexTable__Table--scrolling .Polaris-IndexTable__TableRow:nth-child(odd) .Polaris-IndexTable__TableCell--first+.Polaris-IndexTable__TableCell,.Polaris-IndexTable__ZebraStriping .Polaris-IndexTable__TableRow:nth-child(odd) .Polaris-IndexTable__TableCell--first+.Polaris-IndexTable__TableCell,.Polaris-IndexTable__ZebraStriping .Polaris-IndexTable__Table--scrolling .Polaris-IndexTable__TableRow:nth-child(odd) .Polaris-IndexTable__TableCell:last-child,.Polaris-IndexTable__ZebraStriping .Polaris-IndexTable__TableRow:nth-child(odd) .Polaris-IndexTable__TableCell:last-child{background-color:var(--p-color-bg-surface)}.Polaris-IndexTable__ZebraStriping .Polaris-IndexTable__Table--scrolling .Polaris-IndexTable__TableRow:nth-child(2n),.Polaris-IndexTable__ZebraStriping .Polaris-IndexTable__TableRow:nth-child(2n),.Polaris-IndexTable__ZebraStriping .Polaris-IndexTable__Table--scrolling .Polaris-IndexTable__TableRow:nth-child(2n) .Polaris-IndexTable__TableCell:first-child,.Polaris-IndexTable__ZebraStriping .Polaris-IndexTable__TableRow:nth-child(2n) .Polaris-IndexTable__TableCell:first-child,.Polaris-IndexTable__ZebraStriping .Polaris-IndexTable__Table--scrolling .Polaris-IndexTable__TableRow:nth-child(2n) .Polaris-IndexTable__TableCell--first,.Polaris-IndexTable__ZebraStriping .Polaris-IndexTable__TableRow:nth-child(2n) .Polaris-IndexTable__TableCell--first,.Polaris-IndexTable__ZebraStriping .Polaris-IndexTable__Table--scrolling .Polaris-IndexTable__TableRow:nth-child(2n) .Polaris-IndexTable__TableCell--first+.Polaris-IndexTable__TableCell,.Polaris-IndexTable__ZebraStriping .Polaris-IndexTable__TableRow:nth-child(2n) .Polaris-IndexTable__TableCell--first+.Polaris-IndexTable__TableCell,.Polaris-IndexTable__ZebraStriping .Polaris-IndexTable__Table--scrolling .Polaris-IndexTable__TableRow:nth-child(2n) .Polaris-IndexTable__TableCell:last-child,.Polaris-IndexTable__ZebraStriping .Polaris-IndexTable__TableRow:nth-child(2n) .Polaris-IndexTable__TableCell:last-child{background:var(--p-color-bg-surface-secondary)}.Polaris-IndexTable__ZebraStriping .Polaris-IndexTable__TableRow--child:nth-child(2n):before,.Polaris-IndexTable__ZebraStriping .Polaris-IndexTable__TableRow--child:nth-child(2n) .Polaris-IndexTable__TableCell--first:before{background-color:var(--p-color-bg-surface-secondary)}.Polaris-IndexTable__ZebraStriping .Polaris-IndexTable__Table--scrolling .Polaris-IndexTable__TableRow--hovered:not(.Polaris-IndexTable__TableRow--disabled):nth-child(odd),.Polaris-IndexTable__ZebraStriping .Polaris-IndexTable__TableRow--hovered:not(.Polaris-IndexTable__TableRow--disabled):nth-child(odd),.Polaris-IndexTable__ZebraStriping .Polaris-IndexTable__Table--scrolling .Polaris-IndexTable__TableRow--hovered:not(.Polaris-IndexTable__TableRow--disabled):nth-child(2n),.Polaris-IndexTable__ZebraStriping .Polaris-IndexTable__TableRow--hovered:not(.Polaris-IndexTable__TableRow--disabled):nth-child(2n),.Polaris-IndexTable__ZebraStriping .Polaris-IndexTable__Table--scrolling .Polaris-IndexTable__TableRow--hovered:not(.Polaris-IndexTable__TableRow--disabled):nth-child(odd) .Polaris-IndexTable__TableCell:first-child,.Polaris-IndexTable__ZebraStriping .Polaris-IndexTable__TableRow--hovered:not(.Polaris-IndexTable__TableRow--disabled):nth-child(odd) .Polaris-IndexTable__TableCell:first-child,.Polaris-IndexTable__ZebraStriping .Polaris-IndexTable__Table--scrolling .Polaris-IndexTable__TableRow--hovered:not(.Polaris-IndexTable__TableRow--disabled):nth-child(2n) .Polaris-IndexTable__TableCell:first-child,.Polaris-IndexTable__ZebraStriping .Polaris-IndexTable__TableRow--hovered:not(.Polaris-IndexTable__TableRow--disabled):nth-child(2n) .Polaris-IndexTable__TableCell:first-child,.Polaris-IndexTable__ZebraStriping .Polaris-IndexTable__Table--scrolling .Polaris-IndexTable__TableRow--hovered:not(.Polaris-IndexTable__TableRow--disabled):nth-child(odd) .Polaris-IndexTable__TableCell--first,.Polaris-IndexTable__ZebraStriping .Polaris-IndexTable__TableRow--hovered:not(.Polaris-IndexTable__TableRow--disabled):nth-child(odd) .Polaris-IndexTable__TableCell--first,.Polaris-IndexTable__ZebraStriping .Polaris-IndexTable__Table--scrolling .Polaris-IndexTable__TableRow--hovered:not(.Polaris-IndexTable__TableRow--disabled):nth-child(2n) .Polaris-IndexTable__TableCell--first,.Polaris-IndexTable__ZebraStriping .Polaris-IndexTable__TableRow--hovered:not(.Polaris-IndexTable__TableRow--disabled):nth-child(2n) .Polaris-IndexTable__TableCell--first,.Polaris-IndexTable__ZebraStriping .Polaris-IndexTable__Table--scrolling .Polaris-IndexTable__TableRow--hovered:not(.Polaris-IndexTable__TableRow--disabled):nth-child(odd) .Polaris-IndexTable__TableCell--first+.Polaris-IndexTable__TableCell,.Polaris-IndexTable__ZebraStriping .Polaris-IndexTable__TableRow--hovered:not(.Polaris-IndexTable__TableRow--disabled):nth-child(odd) .Polaris-IndexTable__TableCell--first+.Polaris-IndexTable__TableCell,.Polaris-IndexTable__ZebraStriping .Polaris-IndexTable__Table--scrolling .Polaris-IndexTable__TableRow--hovered:not(.Polaris-IndexTable__TableRow--disabled):nth-child(2n) .Polaris-IndexTable__TableCell--first+.Polaris-IndexTable__TableCell,.Polaris-IndexTable__ZebraStriping .Polaris-IndexTable__TableRow--hovered:not(.Polaris-IndexTable__TableRow--disabled):nth-child(2n) .Polaris-IndexTable__TableCell--first+.Polaris-IndexTable__TableCell,.Polaris-IndexTable__ZebraStriping .Polaris-IndexTable__Table--scrolling .Polaris-IndexTable__TableRow--hovered:not(.Polaris-IndexTable__TableRow--disabled):nth-child(odd) .Polaris-IndexTable__TableCell:last-child,.Polaris-IndexTable__ZebraStriping .Polaris-IndexTable__TableRow--hovered:not(.Polaris-IndexTable__TableRow--disabled):nth-child(odd) .Polaris-IndexTable__TableCell:last-child,.Polaris-IndexTable__ZebraStriping .Polaris-IndexTable__Table--scrolling .Polaris-IndexTable__TableRow--hovered:not(.Polaris-IndexTable__TableRow--disabled):nth-child(2n) .Polaris-IndexTable__TableCell:last-child,.Polaris-IndexTable__ZebraStriping .Polaris-IndexTable__TableRow--hovered:not(.Polaris-IndexTable__TableRow--disabled):nth-child(2n) .Polaris-IndexTable__TableCell:last-child{background-color:var(--p-color-bg-surface-hover)}.Polaris-IndexTable__ZebraStriping .Polaris-IndexTable__Table--scrolling .Polaris-IndexTable__TableRow--selected:nth-child(odd),.Polaris-IndexTable__ZebraStriping .Polaris-IndexTable__TableRow--selected:nth-child(odd),.Polaris-IndexTable__ZebraStriping .Polaris-IndexTable__Table--scrolling .Polaris-IndexTable__TableRow--selected:nth-child(2n),.Polaris-IndexTable__ZebraStriping .Polaris-IndexTable__TableRow--selected:nth-child(2n),.Polaris-IndexTable__ZebraStriping .Polaris-IndexTable__Table--scrolling .Polaris-IndexTable__TableRow--selected:nth-child(odd) .Polaris-IndexTable__TableCell:first-child,.Polaris-IndexTable__ZebraStriping .Polaris-IndexTable__TableRow--selected:nth-child(odd) .Polaris-IndexTable__TableCell:first-child,.Polaris-IndexTable__ZebraStriping .Polaris-IndexTable__Table--scrolling .Polaris-IndexTable__TableRow--selected:nth-child(2n) .Polaris-IndexTable__TableCell:first-child,.Polaris-IndexTable__ZebraStriping .Polaris-IndexTable__TableRow--selected:nth-child(2n) .Polaris-IndexTable__TableCell:first-child,.Polaris-IndexTable__ZebraStriping .Polaris-IndexTable__Table--scrolling .Polaris-IndexTable__TableRow--selected:nth-child(odd) .Polaris-IndexTable__TableCell--first,.Polaris-IndexTable__ZebraStriping .Polaris-IndexTable__TableRow--selected:nth-child(odd) .Polaris-IndexTable__TableCell--first,.Polaris-IndexTable__ZebraStriping .Polaris-IndexTable__Table--scrolling .Polaris-IndexTable__TableRow--selected:nth-child(2n) .Polaris-IndexTable__TableCell--first,.Polaris-IndexTable__ZebraStriping .Polaris-IndexTable__TableRow--selected:nth-child(2n) .Polaris-IndexTable__TableCell--first,.Polaris-IndexTable__ZebraStriping .Polaris-IndexTable__Table--scrolling .Polaris-IndexTable__TableRow--selected:nth-child(odd) .Polaris-IndexTable__TableCell--first+.Polaris-IndexTable__TableCell,.Polaris-IndexTable__ZebraStriping .Polaris-IndexTable__TableRow--selected:nth-child(odd) .Polaris-IndexTable__TableCell--first+.Polaris-IndexTable__TableCell,.Polaris-IndexTable__ZebraStriping .Polaris-IndexTable__Table--scrolling .Polaris-IndexTable__TableRow--selected:nth-child(2n) .Polaris-IndexTable__TableCell--first+.Polaris-IndexTable__TableCell,.Polaris-IndexTable__ZebraStriping .Polaris-IndexTable__TableRow--selected:nth-child(2n) .Polaris-IndexTable__TableCell--first+.Polaris-IndexTable__TableCell,.Polaris-IndexTable__ZebraStriping .Polaris-IndexTable__Table--scrolling .Polaris-IndexTable__TableRow--selected:nth-child(odd) .Polaris-IndexTable__TableCell:last-child,.Polaris-IndexTable__ZebraStriping .Polaris-IndexTable__TableRow--selected:nth-child(odd) .Polaris-IndexTable__TableCell:last-child,.Polaris-IndexTable__ZebraStriping .Polaris-IndexTable__Table--scrolling .Polaris-IndexTable__TableRow--selected:nth-child(2n) .Polaris-IndexTable__TableCell:last-child,.Polaris-IndexTable__ZebraStriping .Polaris-IndexTable__TableRow--selected:nth-child(2n) .Polaris-IndexTable__TableCell:last-child{background-color:var(--p-color-bg-surface-brand-selected)}.Polaris-IndexTable__ZebraStriping .Polaris-IndexTable__TableRow--child.Polaris-IndexTable__TableRow--selected:nth-child(2n):before,.Polaris-IndexTable__ZebraStriping .Polaris-IndexTable__TableRow--child.Polaris-IndexTable__TableRow--selected:nth-child(odd):before,.Polaris-IndexTable__ZebraStriping .Polaris-IndexTable__TableRow--child.Polaris-IndexTable__TableRow--selected:nth-child(2n) .Polaris-IndexTable__TableCell--first:before,.Polaris-IndexTable__ZebraStriping .Polaris-IndexTable__TableRow--child.Polaris-IndexTable__TableRow--selected:nth-child(odd) .Polaris-IndexTable__TableCell--first:before{background-color:var(--p-color-bg-surface-brand-selected)}.Polaris-IndexTable__ZebraStriping .Polaris-IndexTable__Table--scrolling .Polaris-IndexTable__TableRow--hovered.Polaris-IndexTable__TableRow--selected:nth-child(odd),.Polaris-IndexTable__ZebraStriping .Polaris-IndexTable__TableRow--hovered.Polaris-IndexTable__TableRow--selected:nth-child(odd),.Polaris-IndexTable__ZebraStriping .Polaris-IndexTable__Table--scrolling .Polaris-IndexTable__TableRow--hovered.Polaris-IndexTable__TableRow--selected:nth-child(2n),.Polaris-IndexTable__ZebraStriping .Polaris-IndexTable__TableRow--hovered.Polaris-IndexTable__TableRow--selected:nth-child(2n),.Polaris-IndexTable__ZebraStriping .Polaris-IndexTable__Table--scrolling .Polaris-IndexTable__TableRow--hovered.Polaris-IndexTable__TableRow--selected:nth-child(odd) .Polaris-IndexTable__TableCell:first-child,.Polaris-IndexTable__ZebraStriping .Polaris-IndexTable__TableRow--hovered.Polaris-IndexTable__TableRow--selected:nth-child(odd) .Polaris-IndexTable__TableCell:first-child,.Polaris-IndexTable__ZebraStriping .Polaris-IndexTable__Table--scrolling .Polaris-IndexTable__TableRow--hovered.Polaris-IndexTable__TableRow--selected:nth-child(2n) .Polaris-IndexTable__TableCell:first-child,.Polaris-IndexTable__ZebraStriping .Polaris-IndexTable__TableRow--hovered.Polaris-IndexTable__TableRow--selected:nth-child(2n) .Polaris-IndexTable__TableCell:first-child,.Polaris-IndexTable__ZebraStriping .Polaris-IndexTable__Table--scrolling .Polaris-IndexTable__TableRow--hovered.Polaris-IndexTable__TableRow--selected:nth-child(odd) .Polaris-IndexTable__TableCell--first,.Polaris-IndexTable__ZebraStriping .Polaris-IndexTable__TableRow--hovered.Polaris-IndexTable__TableRow--selected:nth-child(odd) .Polaris-IndexTable__TableCell--first,.Polaris-IndexTable__ZebraStriping .Polaris-IndexTable__Table--scrolling .Polaris-IndexTable__TableRow--hovered.Polaris-IndexTable__TableRow--selected:nth-child(2n) .Polaris-IndexTable__TableCell--first,.Polaris-IndexTable__ZebraStriping .Polaris-IndexTable__TableRow--hovered.Polaris-IndexTable__TableRow--selected:nth-child(2n) .Polaris-IndexTable__TableCell--first,.Polaris-IndexTable__ZebraStriping .Polaris-IndexTable__Table--scrolling .Polaris-IndexTable__TableRow--hovered.Polaris-IndexTable__TableRow--selected:nth-child(odd) .Polaris-IndexTable__TableCell--first+.Polaris-IndexTable__TableCell,.Polaris-IndexTable__ZebraStriping .Polaris-IndexTable__TableRow--hovered.Polaris-IndexTable__TableRow--selected:nth-child(odd) .Polaris-IndexTable__TableCell--first+.Polaris-IndexTable__TableCell,.Polaris-IndexTable__ZebraStriping .Polaris-IndexTable__Table--scrolling .Polaris-IndexTable__TableRow--hovered.Polaris-IndexTable__TableRow--selected:nth-child(2n) .Polaris-IndexTable__TableCell--first+.Polaris-IndexTable__TableCell,.Polaris-IndexTable__ZebraStriping .Polaris-IndexTable__TableRow--hovered.Polaris-IndexTable__TableRow--selected:nth-child(2n) .Polaris-IndexTable__TableCell--first+.Polaris-IndexTable__TableCell,.Polaris-IndexTable__ZebraStriping .Polaris-IndexTable__Table--scrolling .Polaris-IndexTable__TableRow--hovered.Polaris-IndexTable__TableRow--selected:nth-child(odd) .Polaris-IndexTable__TableCell:last-child,.Polaris-IndexTable__ZebraStriping .Polaris-IndexTable__TableRow--hovered.Polaris-IndexTable__TableRow--selected:nth-child(odd) .Polaris-IndexTable__TableCell:last-child,.Polaris-IndexTable__ZebraStriping .Polaris-IndexTable__Table--scrolling .Polaris-IndexTable__TableRow--hovered.Polaris-IndexTable__TableRow--selected:nth-child(2n) .Polaris-IndexTable__TableCell:last-child,.Polaris-IndexTable__ZebraStriping .Polaris-IndexTable__TableRow--hovered.Polaris-IndexTable__TableRow--selected:nth-child(2n) .Polaris-IndexTable__TableCell:last-child{background-color:var(--p-color-bg-surface-brand-hover)}.Polaris-IndexTable__ZebraStriping .Polaris-IndexTable__TableRow--hovered.Polaris-IndexTable__TableRow--selected:nth-child(2n):before,.Polaris-IndexTable__ZebraStriping .Polaris-IndexTable__TableRow--hovered.Polaris-IndexTable__TableRow--selected:nth-child(odd):before,.Polaris-IndexTable__ZebraStriping .Polaris-IndexTable__TableRow--hovered.Polaris-IndexTable__TableRow--selected:nth-child(2n) .Polaris-IndexTable__TableCell--first:before,.Polaris-IndexTable__ZebraStriping .Polaris-IndexTable__TableRow--hovered.Polaris-IndexTable__TableRow--selected:nth-child(odd) .Polaris-IndexTable__TableCell--first:before{background-color:var(--p-color-bg-surface-brand-hover)}.Polaris-IndexTable__TableHeading{--pc-index-table-heading-padding-x:var(--p-space-150);--pc-index-table-heading-padding-y:var(--p-space-200);--pc-index-table-checkbox-offset-left:var(--p-space-300);--pc-index-table-checkbox-offset-right:var(--p-space-200);background:var(--p-color-bg-surface-secondary);padding:var(--pc-index-table-heading-padding-y) var(--pc-index-table-heading-padding-x);text-align:left;font-weight:var(--p-font-weight-medium);color:var(--p-color-text-secondary);font-size:var(--p-font-size-300);white-space:nowrap;border:0}.Polaris-IndexTable__TableHeading:first-child:not(.Polaris-IndexTable__TableHeading--flush){padding-left:var(--p-space-300)}.Polaris-IndexTable__TableHeading:last-child:not(.Polaris-IndexTable__TableHeading--flush){padding-right:var(--p-space-300)}.Polaris-IndexTable--tableHeadingAlignCenter{text-align:center}.Polaris-IndexTable--tableHeadingAlignCenter [class*=TooltipContainer]{justify-content:center}.Polaris-IndexTable--tableHeadingAlignEnd{text-align:right}.Polaris-IndexTable--tableHeadingAlignEnd [class*=TooltipContainer],.Polaris-IndexTable--tableHeadingAlignEnd [class*=SortableTableHeadingWithCustomMarkup]{justify-content:end}.Polaris-IndexTable--tableHeadingExtraPaddingRight{--pc-index-table-heading-extra-padding-right:0rem;padding-right:var(--pc-index-table-heading-extra-padding-right)}.Polaris-IndexTable__TableHeading--sortable{background:var(--p-color-bg-surface-secondary)}.Polaris-IndexTable__TableHeading--flush{--pc-index-table-heading-padding-x:0rem;padding:var(--pc-index-table-heading-padding-y) var(--pc-index-table-heading-padding-x)}.Polaris-IndexTable__TableHeading--first{position:sticky;left:0;padding-left:var(--pc-index-table-checkbox-offset-left);padding-right:var(--pc-index-table-checkbox-offset-right);width:var(--p-space-500);z-index:var(--pc-index-table-sticky-cell)}.Polaris-IndexTable__TableHeadingSortButton{position:relative;background:none;padding:0;border:0;cursor:pointer;display:inline-flex;align-items:center;justify-content:center;font-weight:var(--p-font-weight-medium);color:var(--p-color-text-secondary);font-size:var(--p-font-size-300);line-height:var(--p-font-line-height-500)}.Polaris-IndexTable__TableHeadingSortButton:hover .Polaris-IndexTable__TableHeadingSortIcon,.Polaris-IndexTable__TableHeadingSortButton:focus .Polaris-IndexTable__TableHeadingSortIcon{opacity:1}.Polaris-IndexTable--tableHeadingSortButtonHeadingAlignEnd{transform:translate(var(--p-space-500));transition-delay:var(--p-motion-duration-50)}.Polaris-IndexTable--tableHeadingSortButtonHeadingAlignEnd:hover,.Polaris-IndexTable--tableHeadingSortButtonHeadingAlignEnd:focus{transition-delay:none;transform:translate(var(--p-space-100))}.Polaris-IndexTable--tableHeadingSortButtonHeadingAlignEnd:hover:before{content:"";position:absolute;top:0;left:calc(100% - var(--p-space-200));height:100%;width:var(--p-space-600);display:block;animation:none;transition:none}.Polaris-IndexTable--tableHeadingSortButtonHeadingAlignEndCurrentlySorted{transform:translate(var(--p-space-100))}.Polaris-IndexTable--tableHeadingSortButtonHeadingAlignEndCurrentlySorted .Polaris-IndexTable--tableHeadingSortIconHeadingAlignEnd{animation:none}.Polaris-IndexTable--tableHeadingSortButtonHeadingAlignEndPreviouslySorted{animation:Polaris-IndexTable--rightAlignedSortButtonSlideOut var(--p-motion-duration-50) var(--p-motion-ease)}.Polaris-IndexTable__TableHeadingSortIcon{order:1;opacity:0;height:var(--p-space-500);width:var(--p-space-500)}.Polaris-IndexTable__TableHeadingSortIcon:not(.Polaris-IndexTable--tableHeadingSortIconHeadingAlignEnd:hover),.Polaris-IndexTable__TableHeadingSortIcon:not(.Polaris-IndexTable--tableHeadingSortButtonHeadingAlignEndPreviouslySorted){transition:opacity var(--p-motion-duration-50) var(--p-motion-ease)}.Polaris-IndexTable__TableHeadingSortButton:hover .Polaris-IndexTable--tableHeadingSortIconHeadingAlignEnd{animation:Polaris-IndexTable--revealRightAlignedSortButtonIcon var(--p-motion-duration-200) var(--p-motion-ease)}.Polaris-IndexTable--tableHeadingSortButtonHeadingAlignEndCurrentlySorted:hover .Polaris-IndexTable--tableHeadingSortIconHeadingAlignEnd{animation:none}.Polaris-IndexTable__TableHeadingUnderline:after{content:"";position:absolute;left:0;bottom:calc(var(--p-border-width-050)*-1);width:100%;height:var(--p-border-width-050);border-bottom:var(--p-border-width-050) dotted var(--p-color-border-tertiary)}.Polaris-IndexTable__TableHeadingTooltipUnderlinePlaceholder{border-bottom:var(--p-border-width-050) dotted transparent}.Polaris-IndexTable__TableHeadingSortIcon--visible{opacity:1}.Polaris-IndexTable__TableHeadingSortSvg{display:block;width:100%;max-width:100%;max-height:100%}.Polaris-IndexTable__SortableTableHeadingWithCustomMarkup{display:flex;flex-wrap:nowrap}.Polaris-IndexTable__SortableTableHeaderWrapper{cursor:pointer}.Polaris-IndexTable__ColumnHeaderCheckboxWrapper{display:flex}.Polaris-IndexTable__FirstStickyHeaderElement{padding-right:0}.Polaris-IndexTable__TableHeading--second:not(.Polaris-IndexTable__TableHeading--unselectable){padding-left:0}.Polaris-IndexTable__TableHeading--second:not(.Polaris-IndexTable__TableHeading--unselectable):not(.Polaris-IndexTable__TableHeading--flush){padding-left:var(--pc-index-table-heading-padding-x)}.Polaris-IndexTable__TableCell{z-index:var(--pc-index-table-cell);text-align:left;padding:var(--p-space-200) var(--p-space-400);white-space:nowrap}.Polaris-IndexTable__TableCell:not(.Polaris-IndexTable__TableCell--flush){padding:var(--p-space-150)}.Polaris-IndexTable__TableCell:not(.Polaris-IndexTable__TableCell--flush):first-child{padding-left:var(--p-space-300)}.Polaris-IndexTable__TableCell:not(.Polaris-IndexTable__TableCell--flush):last-child{padding-right:var(--p-space-300)}.Polaris-IndexTable__TableCell--flush,.Polaris-IndexTable__TableCell--flush:first-child{padding:0}.Polaris-IndexTable__TableCell--first{position:sticky;left:0;z-index:var(--pc-index-table-sticky-cell);padding:var(--p-space-150) 0;vertical-align:middle}.Polaris-IndexTable__TableCell--first+.Polaris-IndexTable__TableCell{left:var(--pc-checkbox-offset)}@media (min-width: 30.625em){.Polaris-IndexTable__Table--sticky .Polaris-IndexTable__TableCell--first+.Polaris-IndexTable__TableCell,.Polaris-IndexTable__StickyTable .Polaris-IndexTable__TableCell--first+.Polaris-IndexTable__TableCell{position:sticky;z-index:var(--pc-index-table-sticky-cell)}}@media (min-width: 30.625em){.Polaris-IndexTable__Table--sticky .Polaris-IndexTable__TableHeading--second:not(.Polaris-IndexTable__TableHeading--unselectable),.Polaris-IndexTable__StickyTable .Polaris-IndexTable__TableHeading--second:not(.Polaris-IndexTable__TableHeading--unselectable){position:sticky;left:0;z-index:var(--pc-index-table-sticky-cell)}}.Polaris-IndexTable__Table--sticky .Polaris-IndexTable__TableHeading--second.Polaris-IndexTable__TableHeading--unselectable,.Polaris-IndexTable__StickyTable .Polaris-IndexTable__TableHeading--second.Polaris-IndexTable__TableHeading--unselectable{position:sticky;left:0;z-index:var(--pc-index-table-sticky-cell)}.Polaris-IndexTable__Table--unselectable{--pc-index-table-checkbox-width:var(--p-space-500);--pc-index-table-checkbox-width-sm:calc(var(--pc-index-table-checkbox-width) + var(--p-width-050));--pc-index-table-checkbox-padding-left:var(--p-space-300);--pc-index-table-checkbox-child-offset:calc(var(--pc-index-table-checkbox-width) + var(--pc-index-table-checkbox-padding-left));--pc-index-table-checkbox-child-offset-sm:calc(var(--pc-index-table-checkbox-width-sm) + var(--pc-index-table-checkbox-padding-left))}.Polaris-IndexTable__Table--unselectable.Polaris-IndexTable__Table--sticky .Polaris-IndexTable__TableCell:first-child{left:0;background-color:var(--p-color-bg-surface);z-index:var(--pc-index-table-sticky-cell);position:sticky}.Polaris-IndexTable__Table--unselectable.Polaris-IndexTable__Table--sticky .Polaris-IndexTable__TableRow--subheader .Polaris-IndexTable__TableCell:first-child{background-color:var(--p-color-bg-surface-secondary)}.Polaris-IndexTable__Table--unselectable.Polaris-IndexTable__Table--sticky .Polaris-IndexTable__TableRow--child .Polaris-IndexTable__TableCell:first-child{padding-left:var(--pc-index-table-checkbox-child-offset)}@media (max-width: 30.6225em){.Polaris-IndexTable__Table--unselectable.Polaris-IndexTable__Table--sticky .Polaris-IndexTable__TableRow--child .Polaris-IndexTable__TableCell:first-child{padding-left:var(--pc-index-table-checkbox-child-offset-sm)}}.Polaris-IndexTable__Table--unselectable .Polaris-IndexTable__TableRow--child .Polaris-IndexTable__TableCell:not(.Polaris-IndexTable__TableCell--flush):first-child{padding-left:var(--pc-index-table-checkbox-child-offset)}.Polaris-IndexTable__Table--unselectable .Polaris-IndexTable__TableRow--hovered:not(.Polaris-IndexTable__TableRow--disabled),.Polaris-IndexTable__Table--unselectable .Polaris-IndexTable__TableRow--hovered:not(.Polaris-IndexTable__TableRow--disabled) .Polaris-IndexTable__TableCell:first-child,.Polaris-IndexTable__Table--unselectable .Polaris-IndexTable__TableRow--hovered:not(.Polaris-IndexTable__TableRow--disabled) .Polaris-IndexTable__TableCell--first,.Polaris-IndexTable__Table--unselectable .Polaris-IndexTable__TableRow--hovered:not(.Polaris-IndexTable__TableRow--disabled) .Polaris-IndexTable__TableCell--first+.Polaris-IndexTable__TableCell,.Polaris-IndexTable__Table--unselectable .Polaris-IndexTable__TableRow--hovered:not(.Polaris-IndexTable__TableRow--disabled) .Polaris-IndexTable__TableCell:last-child{background-color:var(--p-color-bg-surface-hover)}.Polaris-IndexTable__Table--unselectable .Polaris-IndexTable__TableRow--hovered.Polaris-IndexTable--toneSuccess:not(.Polaris-IndexTable__TableRow--disabled),.Polaris-IndexTable__Table--unselectable .Polaris-IndexTable__TableRow--hovered.Polaris-IndexTable--toneSuccess:not(.Polaris-IndexTable__TableRow--disabled) .Polaris-IndexTable__TableCell:first-child,.Polaris-IndexTable__Table--unselectable .Polaris-IndexTable__TableRow--hovered.Polaris-IndexTable--toneSuccess:not(.Polaris-IndexTable__TableRow--disabled) .Polaris-IndexTable__TableCell--first,.Polaris-IndexTable__Table--unselectable .Polaris-IndexTable__TableRow--hovered.Polaris-IndexTable--toneSuccess:not(.Polaris-IndexTable__TableRow--disabled) .Polaris-IndexTable__TableCell--first+.Polaris-IndexTable__TableCell,.Polaris-IndexTable__Table--unselectable .Polaris-IndexTable__TableRow--hovered.Polaris-IndexTable--toneSuccess:not(.Polaris-IndexTable__TableRow--disabled) .Polaris-IndexTable__TableCell:last-child{background-color:var(--p-color-bg-surface-success-hover)}.Polaris-IndexTable__Table--unselectable .Polaris-IndexTable__TableRow--hovered.Polaris-IndexTable--toneWarning:not(.Polaris-IndexTable__TableRow--disabled),.Polaris-IndexTable__Table--unselectable .Polaris-IndexTable__TableRow--hovered.Polaris-IndexTable--toneWarning:not(.Polaris-IndexTable__TableRow--disabled) .Polaris-IndexTable__TableCell:first-child,.Polaris-IndexTable__Table--unselectable .Polaris-IndexTable__TableRow--hovered.Polaris-IndexTable--toneWarning:not(.Polaris-IndexTable__TableRow--disabled) .Polaris-IndexTable__TableCell--first,.Polaris-IndexTable__Table--unselectable .Polaris-IndexTable__TableRow--hovered.Polaris-IndexTable--toneWarning:not(.Polaris-IndexTable__TableRow--disabled) .Polaris-IndexTable__TableCell--first+.Polaris-IndexTable__TableCell,.Polaris-IndexTable__Table--unselectable .Polaris-IndexTable__TableRow--hovered.Polaris-IndexTable--toneWarning:not(.Polaris-IndexTable__TableRow--disabled) .Polaris-IndexTable__TableCell:last-child{background-color:var(--p-color-bg-surface-warning-hover)}.Polaris-IndexTable__Table--unselectable .Polaris-IndexTable__TableRow--hovered.Polaris-IndexTable--toneCritical:not(.Polaris-IndexTable__TableRow--disabled),.Polaris-IndexTable__Table--unselectable .Polaris-IndexTable__TableRow--hovered.Polaris-IndexTable--toneCritical:not(.Polaris-IndexTable__TableRow--disabled) .Polaris-IndexTable__TableCell:first-child,.Polaris-IndexTable__Table--unselectable .Polaris-IndexTable__TableRow--hovered.Polaris-IndexTable--toneCritical:not(.Polaris-IndexTable__TableRow--disabled) .Polaris-IndexTable__TableCell--first,.Polaris-IndexTable__Table--unselectable .Polaris-IndexTable__TableRow--hovered.Polaris-IndexTable--toneCritical:not(.Polaris-IndexTable__TableRow--disabled) .Polaris-IndexTable__TableCell--first+.Polaris-IndexTable__TableCell,.Polaris-IndexTable__Table--unselectable .Polaris-IndexTable__TableRow--hovered.Polaris-IndexTable--toneCritical:not(.Polaris-IndexTable__TableRow--disabled) .Polaris-IndexTable__TableCell:last-child{background-color:var(--p-color-bg-surface-critical-hover)}.Polaris-IndexTable__Table--unselectable .Polaris-IndexTable__TableRow--hovered.Polaris-IndexTable--toneSubdued:not(.Polaris-IndexTable__TableRow--disabled),.Polaris-IndexTable__Table--unselectable .Polaris-IndexTable__TableRow--hovered.Polaris-IndexTable--toneSubdued:not(.Polaris-IndexTable__TableRow--disabled) .Polaris-IndexTable__TableCell:first-child,.Polaris-IndexTable__Table--unselectable .Polaris-IndexTable__TableRow--hovered.Polaris-IndexTable--toneSubdued:not(.Polaris-IndexTable__TableRow--disabled) .Polaris-IndexTable__TableCell--first,.Polaris-IndexTable__Table--unselectable .Polaris-IndexTable__TableRow--hovered.Polaris-IndexTable--toneSubdued:not(.Polaris-IndexTable__TableRow--disabled) .Polaris-IndexTable__TableCell--first+.Polaris-IndexTable__TableCell,.Polaris-IndexTable__Table--unselectable .Polaris-IndexTable__TableRow--hovered.Polaris-IndexTable--toneSubdued:not(.Polaris-IndexTable__TableRow--disabled) .Polaris-IndexTable__TableCell:last-child{background-color:var(--p-color-bg-surface-secondary-hover)}.Polaris-IndexTable__Table--unselectable .Polaris-IndexTable__TableRow--hovered.Polaris-IndexTable__TableRow--subheader:not(.Polaris-IndexTable__TableRow--disabled),.Polaris-IndexTable__Table--unselectable .Polaris-IndexTable__TableRow--hovered.Polaris-IndexTable__TableRow--subheader:not(.Polaris-IndexTable__TableRow--disabled) .Polaris-IndexTable__TableCell:first-child,.Polaris-IndexTable__Table--unselectable .Polaris-IndexTable__TableRow--hovered.Polaris-IndexTable__TableRow--subheader:not(.Polaris-IndexTable__TableRow--disabled) .Polaris-IndexTable__TableCell--first,.Polaris-IndexTable__Table--unselectable .Polaris-IndexTable__TableRow--hovered.Polaris-IndexTable__TableRow--subheader:not(.Polaris-IndexTable__TableRow--disabled) .Polaris-IndexTable__TableCell--first+.Polaris-IndexTable__TableCell,.Polaris-IndexTable__Table--unselectable .Polaris-IndexTable__TableRow--hovered.Polaris-IndexTable__TableRow--subheader:not(.Polaris-IndexTable__TableRow--disabled) .Polaris-IndexTable__TableCell:last-child{background-color:var(--p-color-bg-surface-secondary)}.Polaris-IndexTable__Table--unselectable .Polaris-IndexTable--toneSuccess .Polaris-IndexTable__TableCell:first-child{background-color:var(--p-color-bg-surface-success)}.Polaris-IndexTable__Table--unselectable .Polaris-IndexTable--toneWarning .Polaris-IndexTable__TableCell:first-child{background-color:var(--p-color-bg-surface-warning)}.Polaris-IndexTable__Table--unselectable .Polaris-IndexTable--toneCritical .Polaris-IndexTable__TableCell:first-child{background-color:var(--p-color-bg-surface-critical)}.Polaris-IndexTable__Table--unselectable .Polaris-IndexTable--toneSubdued .Polaris-IndexTable__TableCell:first-child{background-color:var(--p-color-bg-surface-secondary);color:var(--p-color-text-secondary)}@media (min-width: 30.625em){.Polaris-IndexTable--tableStickyScrolling .Polaris-IndexTable__TableCell:last-child,.Polaris-IndexTable--stickyTableHeaderStickyScrolling .Polaris-IndexTable__TableCell:last-child,.Polaris-IndexTable--tableStickyScrolling .Polaris-IndexTable__TableHeading--last,.Polaris-IndexTable--stickyTableHeaderStickyScrolling .Polaris-IndexTable__TableHeading--last{filter:drop-shadow(-.0625rem 0 0 var(--p-color-border))}}@media (min-width: 30.625em){.Polaris-IndexTable--tableStickyLast .Polaris-IndexTable__TableCell:last-child,.Polaris-IndexTable--stickyTableHeaderStickyLast .Polaris-IndexTable__TableCell:last-child{position:sticky;right:0;background-color:var(--p-color-bg-surface);z-index:var(--pc-index-table-sticky-cell)}}@media (min-width: 30.625em){.Polaris-IndexTable--tableStickyLast .Polaris-IndexTable__TableHeading--last,.Polaris-IndexTable--stickyTableHeaderStickyLast .Polaris-IndexTable__TableHeading--last{position:sticky;right:0;background-color:var(--p-color-bg-surface-secondary);z-index:auto}}.Polaris-IndexTable__Table--sortable .Polaris-IndexTable__TableHeading{background-color:var(--p-color-bg-surface-secondary)}.Polaris-IndexTable__StickyTable{position:absolute;top:0;left:0;right:0;visibility:hidden;z-index:var(--pc-index-table-loading-panel)}.Polaris-IndexTable__StickyTableHeader{position:absolute;display:flex;width:100%}.Polaris-IndexTable__StickyTableHeader:not(.Polaris-IndexTable__StickyTableHeader--isSticky){top:-62.5rem;left:-62.5rem}.Polaris-IndexTable__StickyTableHeadings{overflow:hidden;flex:1 1 auto;display:flex}.Polaris-IndexTable__StickyTableHeading--second{padding-left:0}@media (min-width: 30.625em){.Polaris-IndexTable__StickyTableHeading--second{display:none}}.Polaris-IndexTable__StickyTableHeading--second.Polaris-IndexTable--unselectable{display:none}.Polaris-IndexTable--stickyTableHeadingSecondScrolling{padding:0 var(--p-space-025) 0 calc(var(--pc-index-table-checkbox-offset-right) + var(--pc-index-table-heading-padding-x));display:none}@media (min-width: 30.625em){.Polaris-IndexTable--stickyTableHeadingSecondScrolling{display:block}}.Polaris-IndexTable__StickyTableHeader--isSticky{visibility:visible;box-shadow:var(--p-shadow-100);background-color:var(--p-color-bg-surface-secondary)}.Polaris-IndexTable:hover .Polaris-IndexTable__ScrollLeft,.Polaris-IndexTable:hover .Polaris-IndexTable__ScrollRight,.Polaris-IndexTable .Polaris-IndexTable__ScrollRight--onboarding{display:block}.Polaris-IndexTable__SelectAllActionsWrapper{visibility:visible;position:absolute;z-index:var(--pc-index-table-bulk-actions);left:0;width:100%;display:flex;align-items:center;justify-content:flex-start}.Polaris-IndexTable__SelectAllActionsWrapperWithPagination{width:100%}@media (min-width: 48em){.Polaris-IndexTable__SelectAllActionsWrapperWithPagination{width:calc(100% - 3.5rem - var(--p-space-200))}}.Polaris-IndexTable__SelectAllActionsWrapperSticky{position:fixed;top:auto;bottom:0}.Polaris-IndexTable__SelectAllActionsWrapperAtEnd{opacity:0;transition:opacity var(--p-motion-duration-100) var(--p-motion-ease)}.Polaris-IndexTable__SelectAllActionsWrapperAtEndAppear{opacity:1}.Polaris-IndexTable__BulkActionsWrapper{visibility:hidden;opacity:0;position:relative;z-index:var(--pc-index-table-bulk-actions);padding:var(--p-space-150) var(--p-space-200) var(--p-space-150) var(--p-space-300);line-height:var(--p-font-line-height-500);background-color:var(--p-color-bg-surface);transition:opacity var(--p-motion-duration-100) var(--p-motion-ease),visibility var(--p-motion-duration-100) var(--p-motion-ease)}.Polaris-IndexTable__BulkActionsWrapper.Polaris-IndexTable__BulkActionsWrapperVisible{visibility:visible;opacity:1}.Polaris-IndexTable__PaginationWrapper{--pc-pagination-index:30;z-index:var(--pc-pagination-index)}@media (min-width: 48em){.Polaris-IndexTable__PaginationWrapper{position:sticky;bottom:0}}@media (min-width: 48em){.Polaris-IndexTable__PaginationWrapperScrolledPastTop{position:absolute;bottom:auto;top:var(--pc-index-table-pagination-top-offset);width:100%}}.Polaris-IndexTable__ScrollBarContainer{--pc-index-table-scroll-bar:30;--pc-index-table-scroll-bar-height-offset:2.5625rem;position:sticky;z-index:var(--pc-index-table-scroll-bar);bottom:0;padding:var(--p-space-050);background-color:var(--p-color-bg-surface);transition:bottom var(--p-motion-duration-100) var(--p-motion-ease)}@media (min-width: 30.625em){.Polaris-IndexTable__ScrollBarContainer{border-bottom-right-radius:var(--p-border-radius-200);border-bottom-left-radius:var(--p-border-radius-200);padding:var(--p-space-050) var(--p-space-200)}}@media (min-width: 48em){.Polaris-IndexTable__ScrollBarContainerWithPagination{bottom:var(--pc-index-table-scroll-bar-height-offset)}.Polaris-IndexTable__ScrollBarContainerWithPagination.Polaris-IndexTable__ScrollBarContainerScrolledPastTop{position:absolute;top:var(--pc-index-table-scroll-bar-top-offset);bottom:auto;width:100%}}@media (min-width: 30.625em){.Polaris-IndexTable__ScrollBarContainerWithPagination{border-bottom-right-radius:0;border-bottom-left-radius:0}}.Polaris-IndexTable__ScrollBarContainerWithPagination.Polaris-IndexTable__ScrollBarContainerWithSelectAllActions{bottom:var(--pc-index-table-scroll-bar-height-offset)}.Polaris-IndexTable__ScrollBarContainerWithSelectAllActions.Polaris-IndexTable__ScrollBarContainerScrolledPastTop{position:absolute;top:var(--pc-index-table-scroll-bar-top-offset);bottom:auto;width:100%}@media (min-width: 30.625em){.Polaris-IndexTable__ScrollBarContainerWithSelectAllActions{border-bottom-right-radius:0;border-bottom-left-radius:0}}.Polaris-IndexTable__ScrollBarContainerSelectAllActionsSticky{bottom:var(--pc-index-table-scroll-bar-height-offset)}.Polaris-IndexTable--scrollBarContainerCondensed{visibility:hidden;pointer-events:none}.Polaris-IndexTable--scrollBarContainerHidden{height:0;padding:0}.Polaris-IndexTable__ScrollBar{overflow-x:scroll;width:100%;margin:0;padding:0}.Polaris-IndexTable__ScrollBar::-webkit-scrollbar-track{border-radius:var(--p-border-radius-100);background-color:transparent}.Polaris-IndexTable__ScrollBar::-webkit-scrollbar{-webkit-appearance:none;-moz-appearance:none;appearance:none;height:var(--p-space-200);width:var(--p-space-200);background-color:transparent}.Polaris-IndexTable__ScrollBar::-webkit-scrollbar-thumb{border-radius:var(--p-border-radius-100);background-color:var(--p-color-border-tertiary);-webkit-transition:background-color var(--p-motion-duration-100) var(--p-motion-ease-out);transition:background-color var(--p-motion-duration-100) var(--p-motion-ease-out)}.Polaris-IndexTable__ScrollBar:hover::-webkit-scrollbar-thumb{background-color:var(--p-color-border-inverse)}.Polaris-IndexTable--disableTextSelection{-webkit-user-select:none;user-select:none}.Polaris-IndexTable__EmptySearchResultWrapper{padding:var(--p-space-400)}.Polaris-IndexTable--condensedRow{width:calc(100% + var(--pc-index-table-translate-offset));transform:translate(calc(var(--pc-index-table-translate-offset)*-1));transition:transform var(--p-motion-ease) var(--p-motion-duration-200);display:flex;border-top:var(--p-border-width-025) solid var(--p-color-border-secondary);filter:none;align-items:center}[data-selectmode=true] .Polaris-IndexTable--condensedRow{transform:none}.Polaris-IndexTable__CondensedList{list-style-type:none;margin:0;padding:0;overflow:hidden;border-top:0}.Polaris-IndexTable__CondensedList .Polaris-IndexTable__TableRow:first-child{border-top:0}.Polaris-IndexTable__HeaderWrapper{position:relative;display:flex;align-items:center;width:100%;min-height:3.5rem;padding:var(--p-space-200) var(--p-space-400);background-color:var(--p-color-bg-surface)}.Polaris-IndexTable__HeaderWrapper.Polaris-IndexTable--unselectable{min-height:auto;padding:0}.Polaris-IndexTable__StickyTable--condensed{visibility:visible}.Polaris-IndexTable__StickyTableHeader--condensed{padding:var(--p-space-400) var(--p-space-400) var(--p-space-200)}.Polaris-IndexTable__ScrollBarContent{height:.0625rem;width:var(--pc-index-table-scroll-bar-content-width)}@keyframes Polaris-IndexTable--rightAlignedSortButtonSlideOut{0%{transform:translate(var(--p-space-100))}80%{transform:translate(var(--p-space-100))}to{transform:translate(var(--p-space-500))}}@keyframes Polaris-IndexTable--revealRightAlignedSortButtonIcon{0%{transform:translate(calc(var(--p-space-500)*-1));opacity:0}40%{opacity:0}50%{transform:translate(0)}to{opacity:1}}.Polaris-IndexTable-Checkbox__TableCellContentContainer{display:flex;align-items:center}.Polaris-IndexTable-Checkbox__Wrapper{display:flex;justify-content:center;align-items:center}.Polaris-IndexTable-ScrollContainer{overflow-x:auto;overscroll-behavior-x:contain;-ms-overflow-style:none;scrollbar-width:none;border-radius:inherit}.Polaris-IndexTable-ScrollContainer::-webkit-scrollbar{display:none}.Polaris-InlineCode__Code{background-color:var(--p-color-bg-fill-tertiary);border-radius:var(--p-border-radius-050);font-family:var(--p-font-family-mono);font-size:.85em;font-weight:var(--p-font-weight-medium);padding:var(--p-space-025) var(--p-space-100)}.Polaris-KeyboardKey{--pc-keyboard-key-base-dimension:1.75rem;height:var(--pc-keyboard-key-base-dimension);display:inline-flex;justify-content:center;margin:0 var(--p-space-050) var(--p-space-050);margin-bottom:0;padding:0 var(--p-space-200);background:var(--p-color-bg-surface-tertiary);border-radius:var(--p-border-radius-100);color:var(--p-color-text-secondary);font-size:var(--p-font-size-350);font-weight:var(--p-font-weight-medium);font-family:var(--p-font-family-sans);line-height:var(--pc-keyboard-key-base-dimension);text-align:center;min-width:var(--pc-keyboard-key-base-dimension);-webkit-user-select:none;user-select:none}.Polaris-KeyboardKey--small{box-shadow:none;line-height:var(--p-font-size-400);padding:var(--p-space-050) var(--p-space-100);font-size:var(--p-font-size-300);height:var(--p-space-500);min-width:var(--p-space-500)}.Polaris-TextContainer{--pc-text-container-spacing:var(--p-space-400)}.Polaris-TextContainer>*:not(:first-child){margin-top:var(--pc-text-container-spacing)}.Polaris-TextContainer--spacingTight{--pc-text-container-spacing:var(--p-space-200)}.Polaris-TextContainer--spacingLoose{--pc-text-container-spacing:var(--p-space-500)}.Polaris-Layout{display:flex;flex-wrap:wrap;justify-content:center;align-items:flex-start;margin-top:calc(var(--p-space-400)*-1);margin-left:calc(var(--p-space-400)*-1)}@media print{body .Polaris-Layout{font-size:var(--p-font-size-300);line-height:var(--p-font-line-height-400)}.Polaris-Layout a,.Polaris-Layout button{color:var(--p-color-text)}}.Polaris-Layout__Section{flex:var(--pg-layout-relative-size) var(--pg-layout-relative-size) var(--pg-layout-width-primary-min);min-width:51%}@media print{.Polaris-Layout__Section{flex:2 2 22.5rem}}.Polaris-Layout__Section--fullWidth{flex:1 1 100%}.Polaris-Layout__Section--oneHalf{flex:1 1 var(--pg-layout-width-one-half-width-base);min-width:0}.Polaris-Layout__Section--oneThird{flex:1 1 var(--pg-layout-width-one-third-width-base);min-width:0}.Polaris-Layout__AnnotatedSection{min-width:0;flex:1 1 100%}.Polaris-Layout__Section,.Polaris-Layout__AnnotatedSection{max-width:calc(100% - var(--p-space-400));margin-top:var(--p-space-400);margin-left:var(--p-space-400)}.Polaris-Layout__Section+.Polaris-Layout__AnnotatedSection,.Polaris-Layout__AnnotatedSection+.Polaris-Layout__AnnotatedSection{border-top:var(--p-border-width-025) solid var(--p-color-border-secondary);padding-top:var(--p-space-400)}.Polaris-Layout__AnnotationWrapper{display:flex;flex-wrap:wrap;margin-top:calc(var(--p-space-400)*-1);margin-left:calc(var(--p-space-400)*-1)}.Polaris-Layout__AnnotationContent{flex:var(--pg-layout-relative-size) var(--pg-layout-relative-size) var(--pg-layout-width-primary-min)}.Polaris-Layout__Annotation{flex:1 1 var(--pg-layout-width-secondary-min);padding:var(--p-space-400) var(--p-space-400) 0 0}@media (min-width: 48em){.Polaris-Layout__Annotation{padding-bottom:var(--p-space-400)}}.Polaris-Layout__Annotation,.Polaris-Layout__AnnotationContent{min-width:0;max-width:calc(100% - var(--p-space-400));margin-top:var(--p-space-400);margin-left:var(--p-space-400)}.Polaris-Tag{position:relative;display:inline-flex;max-width:100%;align-items:center;padding-inline:calc(var(--p-space-100) + var(--p-space-050));background-color:var(--p-color-bg-fill-tertiary);border-radius:var(--p-border-radius-200);color:var(--p-color-text)}.Polaris-Tag.Polaris-Tag--disabled{transition:none;background:var(--p-color-bg-fill-disabled);color:var(--p-color-text-disabled)}.Polaris-Tag.Polaris-Tag--disabled svg{fill:var(--p-color-icon-disabled)}.Polaris-Tag.Polaris-Tag--clickable{-webkit-appearance:none;-moz-appearance:none;appearance:none;margin:0;padding:0;background:none;border:none;font-size:inherit;line-height:inherit;color:inherit;cursor:pointer;padding:0 calc(var(--p-space-100) + var(--p-space-050));background-color:var(--p-color-bg-fill-tertiary);outline:var(--p-border-width-025) solid transparent}.Polaris-Tag.Polaris-Tag--clickable:focus{outline:none}.Polaris-Tag.Polaris-Tag--clickable:hover{background:var(--p-color-bg-fill-tertiary-hover)}.Polaris-Tag.Polaris-Tag--clickable{position:relative}.Polaris-Tag.Polaris-Tag--clickable:after{content:"";position:absolute;z-index:1;top:-.0625rem;right:-.0625rem;bottom:-.0625rem;left:-.0625rem;display:block;pointer-events:none;box-shadow:0 0 0 -.0625rem var(--p-color-border-focus);border-radius:var(--p-border-radius-200)}.Polaris-Tag.Polaris-Tag--clickable:focus-visible:not(:active):after{box-shadow:0 0 0 .125rem var(--p-color-border-focus);outline:var(--p-border-width-025) solid transparent}.Polaris-Tag.Polaris-Tag--clickable:active{background:var(--p-color-bg-fill-tertiary-active)}.Polaris-Tag.Polaris-Tag--clickable:disabled{background:var(--p-color-bg-fill-disabled);cursor:default;pointer-events:none;color:var(--p-color-text-disabled)}.Polaris-Tag.Polaris-Tag--linkable:hover{background:var(--p-color-bg-fill-tertiary-hover)}.Polaris-Tag.Polaris-Tag--linkable:active{background:var(--p-color-bg-fill-tertiary-active)}.Polaris-Tag.Polaris-Tag--removable{padding-right:0;padding-inline-end:0}.Polaris-Tag__Button{-webkit-appearance:none;-moz-appearance:none;appearance:none;margin:0;padding:0;background:none;border:none;font-size:inherit;line-height:inherit;color:inherit;cursor:pointer;display:block;flex-shrink:0;height:1.125rem;width:1.125rem;margin:var(--p-space-025);margin-left:var(--p-space-050);border-radius:.4375rem;color:var(--p-color-icon-secondary)}.Polaris-Tag__Button:focus{outline:none}.Polaris-Tag__Button svg{fill:currentColor}.Polaris-Tag__Button:hover{background:var(--p-color-bg-fill-tertiary-hover);color:var(--p-color-icon-hover);outline:var(--p-border-width-025) solid transparent}.Polaris-Tag__Button{position:relative}.Polaris-Tag__Button:after{content:"";position:absolute;z-index:1;top:-.0625rem;right:-.0625rem;bottom:-.0625rem;left:-.0625rem;display:block;pointer-events:none;box-shadow:0 0 0 -.0625rem var(--p-color-border-focus);border-radius:var(--p-border-radius-200)}.Polaris-Tag__Button:focus-visible{background:var(--p-color-bg-fill-tertiary-hover);color:var(--p-color-icon-hover)}.Polaris-Tag__Button:focus-visible:not(:active):after{box-shadow:0 0 0 .125rem var(--p-color-border-focus);outline:var(--p-border-width-025) solid transparent}.Polaris-Tag__Button:active{background:var(--p-color-bg-fill-tertiary-active)}.Polaris-Tag__Button:disabled{cursor:default;pointer-events:none}.Polaris-Tag__Button:disabled svg{fill:var(--p-color-icon-disabled)}.Polaris-Tag__Link{display:inline-grid;color:var(--p-color-text);outline:none;border-radius:var(--p-border-radius-200);text-decoration:none;position:relative}.Polaris-Tag__Link:after{content:"";position:absolute;z-index:1;top:-.0625rem;right:-.0625rem;bottom:-.0625rem;left:-.0625rem;display:block;pointer-events:none;box-shadow:0 0 0 -.0625rem var(--p-color-border-focus);border-radius:var(--p-border-radius-200)}.Polaris-Tag__Link:focus-visible:not(:active){text-decoration:underline}.Polaris-Tag__Link:focus-visible:not(:active):after{box-shadow:0 0 0 .125rem var(--p-color-border-focus);outline:var(--p-border-width-025) solid transparent}.Polaris-Tag__Link:hover{background:var(--p-color-bg-fill-tertiary-hover);text-decoration:underline}.Polaris-Tag__Link.Polaris-Tag--segmented:hover{background:none}.Polaris-Tag__Link.Polaris-Tag--segmented:after{margin-right:var(--p-space-100)}.Polaris-Tag__Link:active{background:var(--p-color-bg-fill-tertiary-active)}.Polaris-Tag__Text{line-height:var(--p-font-line-height-500)}.Polaris-Tag--linkable.Polaris-Tag--removable:hover{background:var(--p-color-bg-fill-tertiary-hover)}.Polaris-Tag--linkable.Polaris-Tag--removable:hover .Polaris-Tag__Button{background:var(--p-color-bg-fill-tertiary-active)}.Polaris-Tag--sizeLarge,.Polaris-Tag--sizeLarge:is(.Polaris-Tag--removable,.Polaris-Tag--linkable){min-height:1.5rem;padding:0 var(--p-space-200)}@media (hover: none){.Polaris-Tag--sizeLarge,.Polaris-Tag--sizeLarge:is(.Polaris-Tag--removable,.Polaris-Tag--linkable){padding-right:0}}.Polaris-Tag--sizeLarge .Polaris-Tag__Link.Polaris-Tag--segmented:after{margin-right:0}.Polaris-Tag--sizeLarge .Polaris-Tag__Button{opacity:0;position:absolute;right:var(--p-space-050);left:auto;width:1.25rem;height:1.25rem;margin:0;background-color:var(--p-color-bg-fill-tertiary)}@media (hover: none){.Polaris-Tag--sizeLarge .Polaris-Tag__Button{opacity:1;position:unset}}.Polaris-Tag--sizeLarge .Polaris-Tag__Button:hover{color:var(--p-color-icon-secondary-hover)}.Polaris-Tag--sizeLarge .Polaris-Tag__Button:active,.Polaris-Tag--sizeLarge .Polaris-Tag__Button:focus{color:var(--p-color-icon-secondary-active)}.Polaris-Tag--sizeLarge:hover .Polaris-Tag__Button,.Polaris-Tag--sizeLarge .Polaris-Tag__Button:focus-visible{opacity:1}.Polaris-Tag--sizeLarge:hover .Polaris-Tag--overlay{position:absolute;top:0;right:1.25rem;bottom:0;width:.75rem;pointer-events:none;background:linear-gradient(to left,var(--p-color-bg-fill-tertiary) 0%,transparent 100%)}.Polaris-Tag--sizeLarge.Polaris-Tag--removable.Polaris-Tag--linkable .Polaris-Tag__Button{background-color:var(--p-color-bg-fill-tertiary-hover)}@media (hover: none){.Polaris-Tag--sizeLarge.Polaris-Tag--removable.Polaris-Tag--linkable .Polaris-Tag__Button{background-color:var(--p-color-bg-fill-tertiary)}}.Polaris-Tag--sizeLarge.Polaris-Tag--removable.Polaris-Tag--linkable:hover .Polaris-Tag--overlay{background:linear-gradient(to left,var(--p-color-bg-fill-tertiary-hover) 0%,transparent 100%)}.Polaris-Sheet{position:fixed;bottom:0;width:100%;height:100%;background-color:var(--p-color-bg-surface);box-shadow:var(--p-shadow-600)}@media screen and (-ms-high-contrast: active){.Polaris-Sheet{border-left:var(--p-border-width-025) solid var(--p-color-border-secondary)}}@media (min-width: 48em){.Polaris-Sheet{right:0;width:var(--pc-sheet-desktop-width)}}.Polaris-Sheet:focus{outline:0}.Polaris-Sheet__Container{--pc-sheet-desktop-width:23.75rem;position:fixed;z-index:var(--p-z-index-11);top:0;right:0;bottom:0;left:0}@media (min-width: 48em){.Polaris-Sheet__Container{left:auto;width:var(--pc-sheet-desktop-width)}}.Polaris-Sheet__Bottom{-webkit-backface-visibility:hidden;backface-visibility:hidden;will-change:transform;transition:transform var(--p-motion-duration-300) var(--p-motion-ease);transform-origin:bottom}.Polaris-Sheet--enterBottom{transform:translateY(100%)}.Polaris-Sheet--enterBottomActive,.Polaris-Sheet--exitBottom{transform:translateY(0)}.Polaris-Sheet--exitBottomActive{transform:translateY(100%)}.Polaris-Sheet__Right{-webkit-backface-visibility:hidden;backface-visibility:hidden;will-change:transform;transition:transform var(--p-motion-duration-300) var(--p-motion-ease);transform-origin:right}.Polaris-Sheet--enterRight{transform:translate(100%)}.Polaris-Sheet--enterRightActive,.Polaris-Sheet--exitRight{transform:translate(0)}.Polaris-Sheet--exitRightActive{transform:translate(100%)}.Polaris-LegacyFilters-ConnectedFilterControl{--pc-connceted-filter-control-item:10;--pc-connceted-filter-control-focused:20;display:flex;flex-grow:1;align-items:center}.Polaris-LegacyFilters-ConnectedFilterControl .Polaris-LegacyFilters-ConnectedFilterControl__CenterContainer{flex:1 1 auto;min-width:6.25rem}.Polaris-LegacyFilters-ConnectedFilterControl.Polaris-LegacyFilters-ConnectedFilterControl--right .Polaris-LegacyFilters-ConnectedFilterControl__CenterContainer *{border-top-right-radius:var(--p-border-radius-200);border-bottom-right-radius:var(--p-border-radius-200)}.Polaris-LegacyFilters-ConnectedFilterControl__Item{position:relative;z-index:var(--pc-connceted-filter-control-item)}.Polaris-LegacyFilters-ConnectedFilterControl__Item--focused{z-index:var(--pc-connceted-filter-control-focused)}.Polaris-LegacyFilters-ConnectedFilterControl__ProxyButtonContainer{position:absolute;top:-62.5rem;left:-62.5rem;display:flex;width:100%;height:0;visibility:hidden;overflow:hidden}.Polaris-LegacyFilters-ConnectedFilterControl__ProxyButtonContainer>*{flex-shrink:0}.Polaris-LegacyFilters-ConnectedFilterControl__CenterContainer+.Polaris-LegacyFilters-ConnectedFilterControl__RightContainer,.Polaris-LegacyFilters-ConnectedFilterControl__CenterContainer+.Polaris-LegacyFilters-ConnectedFilterControl__MoreFiltersButtonContainer{margin-left:var(--p-space-200)}.Polaris-LegacyFilters-ConnectedFilterControl__RightContainer{display:flex;flex-shrink:0}.Polaris-LegacyFilters-ConnectedFilterControl__RightContainer .Polaris-LegacyFilters-ConnectedFilterControl__Item>div>button{margin-right:calc(var(--p-space-025)*-1);border-radius:0}.Polaris-LegacyFilters-ConnectedFilterControl__RightContainer .Polaris-LegacyFilters-ConnectedFilterControl__Item{flex-shrink:0}.Polaris-LegacyFilters-ConnectedFilterControl__RightContainer .Polaris-LegacyFilters-ConnectedFilterControl__Item:first-of-type>div>button{border-top-left-radius:var(--p-border-radius-200);border-bottom-left-radius:var(--p-border-radius-200)}.Polaris-LegacyFilters-ConnectedFilterControl__RightContainer .Polaris-LegacyFilters-ConnectedFilterControl__Item:last-of-type>div>button{border-top-right-radius:var(--p-border-radius-200);border-bottom-right-radius:var(--p-border-radius-200)}.Polaris-LegacyFilters-ConnectedFilterControl__RightContainer.Polaris-LegacyFilters-ConnectedFilterControl--queryFieldHidden .Polaris-LegacyFilters-ConnectedFilterControl__Item:first-of-type>div>button{border-top-left-radius:var(--p-border-radius-200);border-bottom-left-radius:var(--p-border-radius-200)}.Polaris-LegacyFilters-ConnectedFilterControl__RightContainerWithoutMoreFilters .Polaris-LegacyFilters-ConnectedFilterControl__Item:last-child>div>button{border-top-right-radius:var(--p-border-radius-200);border-bottom-right-radius:var(--p-border-radius-200)}.Polaris-LegacyFilters-ConnectedFilterControl__MoreFiltersButtonContainer{padding-left:var(--p-space-200)}.Polaris-LegacyFilters-ConnectedFilterControl__MoreFiltersButtonContainer .Polaris-LegacyFilters-ConnectedFilterControl__Item>div>button{white-space:nowrap;border-top-left-radius:var(--p-border-radius-200);border-bottom-left-radius:var(--p-border-radius-200)}.Polaris-LegacyFilters-ConnectedFilterControl__MoreFiltersButtonContainer.Polaris-LegacyFilters-ConnectedFilterControl--onlyButtonVisible{padding-left:0}.Polaris-LegacyFilters-ConnectedFilterControl__MoreFiltersButtonContainer.Polaris-LegacyFilters-ConnectedFilterControl--onlyButtonVisible .Polaris-LegacyFilters-ConnectedFilterControl__Item>div>button{border-radius:var(--p-border-radius-200)}.Polaris-LegacyFilters-ConnectedFilterControl__Wrapper{display:flex;align-items:center}.Polaris-LegacyFilters-ConnectedFilterControl__AuxiliaryContainer{flex-grow:0;margin-left:var(--p-space-200)}@media (min-width: 48em){.Polaris-LegacyFilters-ConnectedFilterControl__AuxiliaryContainer{margin-left:0}}.Polaris-LegacyFilters{--pc-legacy-filters-header-height:var(--pg-top-bar-height);--pc-legacy-filters-footer-height:4.375rem;position:relative}.Polaris-LegacyFilters__LegacyFiltersContainer{position:relative;height:100%;width:100%;display:flex;flex-direction:column}.Polaris-LegacyFilters__LegacyFiltersContainerHeader{top:0;width:100%;padding:var(--p-space-400) var(--p-space-500);border-bottom:var(--p-border-width-025) solid var(--p-color-border-secondary);height:var(--pc-legacy-filters-header-height);box-sizing:border-box;display:flex;align-items:center;justify-content:space-between}.Polaris-LegacyFilters__LegacyFiltersDesktopContainerContent{width:100%;height:calc(100% - var(--pc-legacy-filters-footer-height) - var(--pc-legacy-filters-header-height));padding:var(--p-space-200)}.Polaris-LegacyFilters__LegacyFiltersMobileContainerContent{width:100%;height:calc(100% - var(--pc-legacy-filters-header-height));padding:var(--p-space-200)}.Polaris-LegacyFilters__LegacyFiltersContainerFooter{position:absolute;bottom:0;width:100%;padding:var(--p-space-400) var(--p-space-500);border-top:var(--p-border-width-025) solid var(--p-color-border-secondary);height:var(--pc-legacy-filters-footer-height);box-sizing:border-box;display:flex;align-items:center;justify-content:space-between}.Polaris-LegacyFilters__LegacyFiltersMobileContainerFooter{width:100%;padding:var(--p-space-400) var(--p-space-400);height:var(--pc-legacy-filters-footer-height);box-sizing:border-box;display:flex;align-items:center;justify-content:space-between}.Polaris-LegacyFilters__EmptyFooterState{border-top:var(--p-border-width-025) solid var(--p-color-border-secondary);padding-top:var(--p-space-400);width:100%;display:flex;justify-content:center}.Polaris-LegacyFilters__FilterTriggerContainer{position:relative}.Polaris-LegacyFilters__FilterTrigger{width:100%;margin:0;padding:var(--p-space-400) var(--p-space-500);color:var(--p-color-text);border-radius:var(--p-border-radius-100);background:none;border:none;outline:none;position:relative}.Polaris-LegacyFilters__FilterTrigger:after{content:"";position:absolute;z-index:1;top:-.0625rem;right:-.0625rem;bottom:-.0625rem;left:-.0625rem;display:block;pointer-events:none;box-shadow:0 0 0 -.0625rem var(--p-color-border-focus);border-radius:var(--p-border-radius-100)}.Polaris-LegacyFilters__FilterTrigger:focus{box-shadow:none}.Polaris-LegacyFilters__FilterTrigger:hover{cursor:pointer;background-color:var(--p-color-bg-surface-hover);outline:var(--p-border-width-025) solid transparent}.Polaris-LegacyFilters__FilterTrigger:focus-visible:not(:active):after{box-shadow:0 0 0 .125rem var(--p-color-border-focus);outline:var(--p-border-width-025) solid transparent}.Polaris-LegacyFilters__FilterTriggerTitle{font-size:.9375rem;font-weight:var(--p-font-weight-semibold)}.Polaris-LegacyFilters__AppliedFilterBadgeContainer{padding-top:var(--p-space-100);display:flex}.Polaris-LegacyFilters--open .Polaris-LegacyFilters__AppliedFilterBadgeContainer{display:none}.Polaris-LegacyFilters__FilterTriggerLabelContainer{display:flex;align-items:center;justify-content:space-between}.Polaris-LegacyFilters--open:before,.Polaris-LegacyFilters--open:after{content:"";position:relative;left:var(--p-space-400);width:calc(100% - var(--p-space-800));height:var(--p-space-025);background-color:var(--p-color-bg-surface-tertiary);display:block}.Polaris-LegacyFilters--open:before{top:0}.Polaris-LegacyFilters--open:after{bottom:0}.Polaris-LegacyFilters--open.Polaris-LegacyFilters--first:after{content:"";bottom:0;position:relative;left:var(--p-space-400);width:calc(100% - var(--p-space-800));height:var(--p-space-025);background-color:var(--p-color-bg-surface-tertiary);display:block}.Polaris-LegacyFilters--open.Polaris-LegacyFilters--first:before{display:none}.Polaris-LegacyFilters--open~.Polaris-LegacyFilters--open:before{display:none}.Polaris-LegacyFilters--open.Polaris-LegacyFilters--last:before{content:"";top:0;position:relative;left:var(--p-space-400);width:calc(100% - var(--p-space-800));height:var(--p-space-025);background-color:var(--p-color-bg-surface-tertiary);display:block}.Polaris-LegacyFilters--open.Polaris-LegacyFilters--last:after{display:none}.Polaris-LegacyFilters--open+.Polaris-LegacyFilters--last:before{display:none}.Polaris-LegacyFilters__FilterNodeContainer{padding:var(--p-space-200) var(--p-space-500) var(--p-space-500) var(--p-space-500)}.Polaris-LegacyFilters__SearchIcon{fill:currentColor}.Polaris-LegacyFilters__Backdrop{position:fixed;z-index:var(--p-z-index-10);top:0;right:0;bottom:0;left:0;display:block;opacity:0}.Polaris-LegacyFilters__HelpText{margin-top:var(--p-space-200)}.Polaris-LegacyFilters__TagsContainer{display:flex;padding-top:var(--p-space-200);flex-wrap:wrap}.Polaris-LegacyFilters__TagsContainer>*{margin-right:var(--p-space-200);margin-bottom:var(--p-space-200)}.Polaris-LegacyTabs{display:flex;flex-wrap:wrap;margin:0;padding:0;list-style:none}.Polaris-LegacyTabs--fitted{flex-wrap:nowrap}.Polaris-LegacyTabs--fitted .Polaris-LegacyTabs__TabContainer{flex:1 1 100%}.Polaris-LegacyTabs--fitted .Polaris-LegacyTabs__Title{width:100%;padding:var(--p-space-150) var(--p-space-300)}.Polaris-LegacyTabs--fillSpace .Polaris-LegacyTabs__TabContainer{flex:1 1 auto}.Polaris-LegacyTabs__TabContainer{display:flex;margin:0;padding:0}.Polaris-LegacyTabs__Tab{-webkit-appearance:none;-moz-appearance:none;appearance:none;margin:0;padding:0;background:none;border:none;font-size:inherit;line-height:inherit;color:inherit;color:var(--p-color-text);position:relative;justify-content:center;width:100%;min-width:100%;margin-top:var(--p-space-025);margin-bottom:calc(var(--p-space-025)*-1);padding:var(--p-space-200) var(--p-space-100);outline:none;text-align:center;white-space:nowrap;text-decoration:none;cursor:pointer}.Polaris-LegacyTabs__Tab:focus{outline:none}.Polaris-LegacyTabs__Tab:hover{text-decoration:none}.Polaris-LegacyTabs__Tab:hover .Polaris-LegacyTabs__Title{color:var(--p-color-text-brand);background-color:transparent}.Polaris-LegacyTabs__Tab:hover .Polaris-LegacyTabs__Title:before{background-color:var(--p-color-bg-fill-tertiary-hover)}.Polaris-LegacyTabs__Tab:active .Polaris-LegacyTabs__Title{background-color:transparent}.Polaris-LegacyTabs__Tab:active .Polaris-LegacyTabs__Title:before{background:var(--p-color-bg-fill-tertiary-active)}.Polaris-LegacyTabs__Tab:focus-visible .Polaris-LegacyTabs__Title{color:var(--p-color-text-brand)}.Polaris-LegacyTabs__Tab:focus-visible:not(:active) .Polaris-LegacyTabs__Title:after{box-shadow:0 0 0 .125rem var(--p-color-border-focus);outline:var(--p-border-width-025) solid transparent}.Polaris-LegacyTabs__Tab:visited{color:inherit}.Polaris-LegacyTabs__Tab--selected{color:var(--p-color-text-brand)}.Polaris-LegacyTabs__Tab--selected:focus .Polaris-LegacyTabs__Title{outline:var(--p-border-width-050) solid transparent}.Polaris-LegacyTabs__Tab--selected:focus .Polaris-LegacyTabs__Title:before{background:var(--p-color-bg-fill-brand)}.Polaris-LegacyTabs__Tab--selected .Polaris-LegacyTabs__Title{outline:var(--p-border-width-050) solid transparent;color:var(--p-color-text-brand)}.Polaris-LegacyTabs__Tab--selected .Polaris-LegacyTabs__Title:before{background:var(--p-color-bg-fill-brand)}.Polaris-LegacyTabs__Title{position:relative;border-radius:var(--p-border-radius-100);display:block;padding:var(--p-space-150) var(--p-space-300);min-width:3.125rem;color:var(--p-color-text-brand)}.Polaris-LegacyTabs__Title:after{content:"";position:absolute;z-index:1;top:-.0625rem;right:-.0625rem;bottom:-.0625rem;left:-.0625rem;display:block;pointer-events:none;box-shadow:0 0 0 -.0625rem var(--p-color-border-focus);border-radius:var(--p-border-radius-100)}.Polaris-LegacyTabs__Title:before{content:"";position:absolute;bottom:calc(var(--p-space-200)*-1);left:0;right:0;height:var(--p-border-width-050);border-top-left-radius:var(--p-border-radius-100);border-top-right-radius:var(--p-border-radius-100)}.Polaris-LegacyTabs--titleWithIcon{display:flex}.Polaris-LegacyTabs__Panel{display:block}.Polaris-LegacyTabs__Panel:focus{outline:none}.Polaris-LegacyTabs__Panel--hidden{display:none}.Polaris-LegacyTabs__Item{--pc-legacy-tabs-item-min-height:1rem;--pc-legacy-tabs-item-vertical-padding:calc(var(--pc-legacy-tabs-item-min-height)*.5);-webkit-appearance:none;-moz-appearance:none;appearance:none;margin:0;padding:0;background:none;border:none;font-size:inherit;line-height:inherit;position:relative;display:block;width:100%;min-height:var(--pc-legacy-tabs-item-min-height);padding:var(--pc-legacy-tabs-item-vertical-padding) var(--p-space-400);text-align:left;text-decoration:none;cursor:pointer;border-radius:var(--p-border-radius-100);color:inherit}.Polaris-LegacyTabs__Item:focus{outline:none}.Polaris-LegacyTabs__Item:after{content:"";position:absolute;z-index:1;top:-.0625rem;right:-.0625rem;bottom:-.0625rem;left:-.0625rem;display:block;pointer-events:none;box-shadow:0 0 0 -.0625rem var(--p-color-border-focus);border-radius:var(--p-border-radius-100)}.Polaris-LegacyTabs__Item::-moz-focus-inner{border:none}.Polaris-LegacyTabs__Item:hover{background-color:var(--p-color-bg-surface-hover)}.Polaris-LegacyTabs__Item:active{background-color:var(--p-color-bg-surface-brand-active)}.Polaris-LegacyTabs__Item:focus-visible:not(:active):after{box-shadow:0 0 0 .125rem var(--p-color-border-focus);outline:var(--p-border-width-025) solid transparent}.Polaris-LegacyTabs__Item:visited{color:inherit}.Polaris-LegacyTabs__DisclosureTab{display:none}.Polaris-LegacyTabs__DisclosureTab--visible{display:flex}.Polaris-LegacyTabs__DisclosureActivator{position:relative;height:100%;background-color:transparent;cursor:pointer;border:none;outline:none;margin:var(--p-space-025) var(--p-space-025) calc(var(--p-space-025)*-1) 0}.Polaris-LegacyTabs__DisclosureActivator:after{content:"";position:absolute;z-index:1;top:-.0625rem;right:-.0625rem;bottom:-.0625rem;left:-.0625rem;display:block;pointer-events:none;box-shadow:0 0 0 -.0625rem var(--p-color-border-focus);border-radius:var(--p-border-radius-100)}.Polaris-LegacyTabs__DisclosureActivator:hover svg,.Polaris-LegacyTabs__DisclosureActivator:focus svg{fill:var(--p-color-icon)}.Polaris-LegacyTabs__DisclosureActivator:focus-visible .Polaris-LegacyTabs__Title:after{box-shadow:0 0 0 .125rem var(--p-color-border-focus);outline:var(--p-border-width-025) solid transparent}.Polaris-LegacyTabs__DisclosureActivator:hover .Polaris-LegacyTabs__Title:before{background-color:var(--p-color-border-hover)}.Polaris-LegacyTabs__TabMeasurer{display:flex;visibility:hidden;height:0}.Polaris-Link{-webkit-appearance:none;-moz-appearance:none;appearance:none;display:inline;text-align:inherit;padding:0;background:none;border:0;font-size:inherit;font-weight:inherit;color:var(--p-color-text-link);text-decoration:underline;cursor:pointer;touch-action:manipulation}.Polaris-Link:hover{color:var(--p-color-text-link-hover);text-decoration:underline}.Polaris-Link:focus,.Polaris-Link:focus-visible{outline:var(--p-color-border-focus) auto var(--p-border-width-050);outline-offset:var(--p-space-050);border-radius:var(--p-border-radius-150)}.Polaris-Link:active{position:relative;color:var(--p-color-text-link-active)}@media print{.Polaris-Link{-webkit-text-decoration-color:var(--p-color-border-tertiary);text-decoration-color:var(--p-color-border-tertiary)}}.Polaris-Link--monochrome{color:inherit}.Polaris-Link--monochrome:hover,.Polaris-Link--monochrome:focus,.Polaris-Link--monochrome:active{color:inherit}.Polaris-Link--removeUnderline{text-decoration:none}.Polaris-Link--removeUnderline:hover{text-decoration:underline}.Polaris-List{padding-left:var(--p-space-500);margin-top:0;margin-bottom:0;list-style:disc outside none}.Polaris-List+.Polaris-List{margin-top:var(--p-space-400)}.Polaris-List--typeNumber{padding-left:var(--p-space-800);list-style:decimal outside none}.Polaris-List__Item .Polaris-List:first-child{margin-top:var(--p-space-200)}.Polaris-List--spacingLoose .Polaris-List__Item{margin-bottom:var(--p-space-100)}.Polaris-MediaCard{height:100%;width:100%;display:flex;flex-flow:row wrap}.Polaris-MediaCard.Polaris-MediaCard--portrait{flex-flow:column nowrap}@media (max-width: 47.9975em){.Polaris-MediaCard{flex-flow:column nowrap}}.Polaris-MediaCard__MediaContainer{overflow:hidden}.Polaris-MediaCard__MediaContainer:not(.Polaris-MediaCard--portrait){flex-basis:40%}@media (min-width: 48em){.Polaris-MediaCard__MediaContainer:not(.Polaris-MediaCard--portrait){border-top-right-radius:0;border-top-left-radius:var(--p-border-radius-200);border-bottom-left-radius:var(--p-border-radius-200)}}.Polaris-MediaCard__MediaContainer.Polaris-MediaCard--sizeSmall:not(.Polaris-MediaCard--portrait){flex-basis:33%}@media (min-width: 30.625em){.Polaris-MediaCard__MediaContainer{border-top-left-radius:var(--p-border-radius-200);border-top-right-radius:var(--p-border-radius-200)}}.Polaris-MediaCard__InfoContainer{position:relative}.Polaris-MediaCard__InfoContainer:not(.Polaris-MediaCard--portrait){flex-basis:60%}.Polaris-MediaCard__InfoContainer.Polaris-MediaCard--sizeSmall:not(.Polaris-MediaCard--portrait){flex-basis:67%}.Polaris-MediaCard__ActionContainer,.Polaris-MediaCard__ActionContainer.Polaris-MediaCard--portrait{padding-top:var(--p-space-200)}@media (max-width: 47.9975em){.Polaris-MediaCard__ActionContainer{padding-top:var(--p-space-200)}}.Polaris-Navigation{--pc-navigation-mobile-height:2.5rem;--pc-navigation-desktop-height:1.75rem;--pc-navigation-icon-size:1.25rem;--pc-navigation-item-line-height:2.5rem;--pc-navigation-letter-spacing-medium:-.005rem;display:flex;flex-direction:column;align-items:stretch;width:var(--pg-mobile-nav-width);min-width:var(--pg-layout-width-nav-base);max-width:22.5rem;height:100%;min-height:100%;background-color:var(--p-color-nav-bg);-webkit-overflow-scrolling:touch;border-right:0;padding-bottom:0;padding-bottom:constant(safe-area-inset-bottom);padding-bottom:env(safe-area-inset-bottom)}.Polaris-Navigation:focus{outline:none}@media (min-width: 48em){.Polaris-Navigation{max-width:var(--pg-layout-width-nav-base);max-width:calc(var(--pg-layout-width-nav-base) + constant(safe-area-inset-left));max-width:calc(var(--pg-layout-width-nav-base) + env(safe-area-inset-left))}}.Polaris-Navigation__UserMenu{flex:0 0 auto}.Polaris-Navigation__ContextControl{background-color:var(--p-color-bg-inverse);margin-bottom:var(--p-space-400);min-height:var(--pg-top-bar-height)}@media (min-width: 48em){.Polaris-Navigation__ContextControl{display:none}}.Polaris-Navigation__PrimaryNavigation{display:flex;overflow:auto;flex:1 1 auto;flex-direction:column;align-items:stretch;max-width:100%;padding-top:var(--p-space-100);scrollbar-width:thin;scrollbar-gutter:stable;scrollbar-color:var(--p-color-nav-bg) transparent;transition:scrollbar-color var(--p-motion-duration-100) var(--p-motion-ease-in)}@media (min-width: 48em){.Polaris-Navigation__PrimaryNavigation{padding-top:var(--p-space-400)}}.Polaris-Navigation__PrimaryNavigation:focus{outline:none}.Polaris-Navigation__PrimaryNavigation::-webkit-scrollbar{width:.6875rem;opacity:0}.Polaris-Navigation__PrimaryNavigation::-webkit-scrollbar-thumb{background-color:var(--p-color-scrollbar-thumb-bg-hover);border:var(--p-border-width-050) solid transparent;border-radius:var(--p-border-radius-300);background-clip:content-box}.Polaris-Navigation__PrimaryNavigation:hover{scrollbar-color:var(--p-color-scrollbar-thumb-bg-hover) transparent;background-color:var(--p-color-nav-bg)}.Polaris-Navigation__PrimaryNavigation:hover::-webkit-scrollbar{opacity:1}.Polaris-Navigation__LogoContainer{display:none}@media (max-width: 47.9975em){.Polaris-Navigation__LogoContainer{display:flex;flex:0 0 var(--pg-top-bar-height);align-items:center;height:var(--pg-top-bar-height);padding:0 var(--p-space-200) 0 var(--p-space-400);background-color:var(--p-color-bg-inverse);box-shadow:var(--p-shadow-200);margin-bottom:var(--p-space-400);flex-basis:var(--pg-top-bar-height);flex-basis:calc(var(--pg-top-bar-height) + constant(safe-area-inset-left));flex-basis:calc(var(--pg-top-bar-height) + env(safe-area-inset-left));padding-left:var(--p-space-400);padding-left:calc(var(--p-space-400) + constant(safe-area-inset-left));padding-left:calc(var(--p-space-400) + env(safe-area-inset-left))}}.Polaris-Navigation__LogoContainer.Polaris-Navigation--hasLogoSuffix{gap:var(--p-space-200)}.Polaris-Navigation__Logo,.Polaris-Navigation__LogoLink{display:block}.Polaris-Navigation__Item{-webkit-appearance:none;-moz-appearance:none;appearance:none;padding:0;background:none;border:none;font-size:inherit;line-height:inherit;color:inherit;cursor:pointer;display:flex;flex-grow:1;align-items:flex-start;max-width:100%;padding:0 var(--p-space-100) 0 var(--p-space-200);margin:0;color:var(--p-color-text);text-decoration:none;text-align:left;position:relative}.Polaris-Navigation__Item:focus{outline:none}.Polaris-Navigation__Item:after{content:"";position:absolute;z-index:1;top:-.0625rem;right:-.0625rem;bottom:-.0625rem;left:-.0625rem;display:block;pointer-events:none;box-shadow:0 0 0 -.0625rem var(--p-color-border-focus);border-radius:var(--p-border-radius-100)}.Polaris-Navigation__Item:focus-visible{background:var(--p-color-bg-surface-hover);color:var(--p-color-text);text-decoration:none}.Polaris-Navigation__Item:focus-visible:after{box-shadow:0 0 0 .125rem var(--p-color-border-focus);outline:var(--p-border-width-025) solid transparent}.Polaris-Navigation__Item:focus-visible:not(:active){z-index:var(--p-z-index-1);outline:var(--p-border-width-050) solid var(--p-color-border-focus)}.Polaris-Navigation__Item:focus-visible:not(:active):after{content:none}.Polaris-Navigation__Item:active,.Polaris-Navigation__Item:active:hover{color:var(--p-color-text);background-color:var(--p-color-nav-bg-surface-selected)}.Polaris-Navigation__Item:active:after,.Polaris-Navigation__Item:active:hover:after{content:none}.Polaris-Navigation__Item::-moz-focus-inner{border:0}.Polaris-Navigation__Item svg,.Polaris-Navigation__Item img{display:block;height:var(--p-space-500);width:var(--p-space-500)}.Polaris-Navigation__Item .Polaris-Navigation__Icon--resized svg,.Polaris-Navigation__Item .Polaris-Navigation__Icon--resized img{margin:var(--p-space-050);height:var(--p-space-400);width:var(--p-space-400)}.Polaris-Navigation__Item .Polaris-Navigation__Icon--resized img{border-radius:var(--p-border-radius-100)}.Polaris-Navigation__Item:is(:hover,:focus-visible){background-color:transparent;color:var(--p-color-text);text-decoration:none}.Polaris-Navigation__Item .Polaris-Navigation__Badge{margin-right:0}.Polaris-Navigation__Item:before{opacity:0}.Polaris-Navigation__Item,.Polaris-Navigation__ItemInnerWrapper{border-radius:var(--p-border-radius-200);transition:background-color var(--p-motion-duration-150) var(--p-motion-ease-out)}.Polaris-Navigation__ItemWrapper{--secondary-actions-on-hover-background-color:var( --p-color-nav-bg-surface-hover );width:100%;padding:0 var(--p-space-300)}@supports (scrollbar-gutter: stable){.Polaris-Navigation__ItemWrapper{padding:0 calc(var(--p-space-300) - var(--pc-app-provider-scrollbar-width)) 0 var(--p-space-300)}}.Polaris-Navigation__ItemInnerWrapper{position:relative;display:flex;flex-wrap:nowrap;width:100%;transition:background-color var(--p-motion-duration-150) var(--p-motion-ease-out)}.Polaris-Navigation__ItemInnerWrapper.Polaris-Navigation__ItemInnerDisabled{pointer-events:none}.Polaris-Navigation__ItemInnerWrapper:is(:hover,:focus-visible){background:var(--p-color-nav-bg-surface-hover)}@media (min-width: 48em){.Polaris-Navigation__ItemInnerWrapper.Polaris-Navigation--itemInnerWrapperDisplayActionsOnHover:is(:hover,:focus-visible) .Polaris-Navigation__SecondaryActions{background:var(--secondary-actions-on-hover-background-color)}.Polaris-Navigation__ItemInnerWrapper.Polaris-Navigation--itemInnerWrapperDisplayActionsOnHover:is(:hover,:focus-visible) .Polaris-Navigation__SecondaryActions:before{background:linear-gradient(to right,rgba(0,0,0,0),var(--p-color-nav-bg-surface-hover) var(--p-space-800))}.Polaris-Navigation__ItemInnerWrapper.Polaris-Navigation--itemInnerWrapperDisplayActionsOnHover:is(:active) .Polaris-Navigation__SecondaryActions{background:var(--p-color-nav-bg-surface-active)}}.Polaris-Navigation__ItemInnerWrapper:active{background-color:var(--p-color-nav-bg-surface-active)}@media (min-width: 48em){.Polaris-Navigation__ItemInnerWrapper.Polaris-Navigation--itemInnerWrapperDisplayActionsOnHover:active .Polaris-Navigation__SecondaryActions:before{background:linear-gradient(to right,rgba(0,0,0,0),var(--p-color-nav-bg-surface-active) var(--p-space-800))}}.Polaris-Navigation__ItemInnerWrapper--selected{background-color:var(--p-color-nav-bg-surface-selected)}.Polaris-Navigation__ItemInnerWrapper--selected .Polaris-Navigation__Text{color:var(--p-color-text)}.Polaris-Navigation__ItemInnerWrapper--selected:is(:hover,:focus-visible,:focus-within){background:var(--p-color-nav-bg-surface-selected)}@media (min-width: 48em){.Polaris-Navigation__ItemInnerWrapper--selected.Polaris-Navigation--itemInnerWrapperDisplayActionsOnHover:is(:hover,:focus-visible,:focus-within) .Polaris-Navigation__SecondaryActions{background:var(--p-color-nav-bg-surface-selected)}.Polaris-Navigation__ItemInnerWrapper--selected.Polaris-Navigation--itemInnerWrapperDisplayActionsOnHover:is(:hover,:focus-visible,:focus-within) .Polaris-Navigation__SecondaryActions:before{background:linear-gradient(to right,rgba(0,0,0,0),var(--p-color-nav-bg-surface-selected) var(--p-space-800))}}.Polaris-Navigation__ItemInnerWrapper--selected:active{background:var(--p-color-nav-bg-surface-active)}.Polaris-Navigation__ItemInnerWrapper--selected .Polaris-Navigation__SecondaryActions{background:var(--p-color-nav-bg-surface-selected);border-top-right-radius:var(--p-border-radius-200);border-bottom-right-radius:var(--p-border-radius-200)}.Polaris-Navigation__ItemInnerWrapper--selected .Polaris-Navigation__SecondaryActions:before{background:linear-gradient(to right,rgba(0,0,0,0),var(--p-color-nav-bg-surface-selected) var(--p-space-800))}.Polaris-Navigation__ItemInnerWrapper--open{background-color:transparent}.Polaris-Navigation__ItemInnerWrapper--open:active{background:var(--p-color-nav-bg-surface-active)}@media (min-width: 48em){.Polaris-Navigation__ItemInnerWrapper--open.Polaris-Navigation--itemInnerWrapperDisplayActionsOnHover .Polaris-Navigation__SecondaryActions{background:var(--secondary-actions-on-hover-background-color)}.Polaris-Navigation__ItemInnerWrapper--open.Polaris-Navigation--itemInnerWrapperDisplayActionsOnHover .Polaris-Navigation__SecondaryActions:before{background:linear-gradient(to right,rgba(0,0,0,0),var(--secondary-actions-on-hover-background-color) var(--p-space-800))}}.Polaris-Navigation__Item--selected{color:var(--p-color-text);outline:var(--p-border-width-025) solid transparent}.Polaris-Navigation__Item--selected:before{content:"";position:absolute;top:.0625rem;bottom:.0625rem;left:calc(var(--p-space-200)*-1);width:.1875rem;background-color:transparent;border-top-right-radius:var(--p-border-radius-100);border-bottom-right-radius:var(--p-border-radius-100)}.Polaris-Navigation__Item--selected{position:relative}.Polaris-Navigation__Item--selected:after{content:"";position:absolute;z-index:1;top:-.0625rem;right:-.0625rem;bottom:-.0625rem;left:-.0625rem;display:block;pointer-events:none;box-shadow:0 0 0 -.0625rem var(--p-color-border-focus);border-radius:var(--p-border-radius-100)}.Polaris-Navigation__Item--selected:hover,.Polaris-Navigation__Item--selected:focus-visible{color:var(--p-color-text-brand-hover)}.Polaris-Navigation__Item--selected :focus-visible:after{box-shadow:0 0 0 .125rem var(--p-color-border-focus);outline:var(--p-border-width-025) solid transparent}.Polaris-Navigation__Item--selected:active,.Polaris-Navigation__Item--selected:active:hover{color:var(--p-color-text-brand);background-color:var(--p-color-nav-bg-surface-active)}.Polaris-Navigation__Item--selected:active:after,.Polaris-Navigation__Item--selected:active:hover:after{content:none}.Polaris-Navigation--itemChildActive:before{content:url(data:image/svg+xml,%3Csvg%20width%3D%2221%22%20height%3D%2228%22%20viewBox%3D%220%200%2021%2028%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%0A%3Cpath%20d%3D%22M9%2024.75C9%2024.3358%209.33579%2024%209.75%2024V24C10.1642%2024%2010.5%2024.3358%2010.5%2024.75V28H9V24.75Z%22%20fill%3D%22%23B5B5B5%22%2F%3E%0A%3C%2Fsvg%3E);position:absolute;top:var(--p-space-200);left:var(--p-space-200);width:1.3125rem;height:2rem;border-radius:0;opacity:1;transition:opacity var(--p-motion-duration-150) var(--p-motion-ease-out)}@media (min-width: 48em){.Polaris-Navigation--itemChildActive:before{top:0;height:1.75rem}}.Polaris-Navigation__Item--disabled{color:var(--p-color-text-disabled)}.Polaris-Navigation__Item--disabled .Polaris-Navigation__Text{opacity:.6}.Polaris-Navigation__Item--disabled .Polaris-Navigation__Icon{opacity:.4}.Polaris-Navigation__Badge{margin-left:var(--p-space-200);display:inline-flex;height:var(--p-font-line-height-500);margin-top:var(--p-space-200);margin-right:var(--p-space-100)}@media (min-width: 48em){.Polaris-Navigation__Badge{margin:var(--p-space-100);margin-right:var(--p-space-100);margin-top:var(--p-space-100)}}.Polaris-Navigation__ListItem--hasAction .Polaris-Navigation__Badge{margin-right:var(--p-space-100)}.Polaris-Navigation__Icon{--pc-navigation-filter-icon:brightness(0) saturate(100%) invert(36%) sepia(13%) saturate(137%) hue-rotate(169deg) brightness(95%) contrast(87%);--pc-navigation-filter-icon-action-primary:invert(10%) sepia(11%) saturate(0%) hue-rotate(159deg) brightness(105%) contrast(102%);--pc-navigation-filter-icon-on-interactive:brightness(0) saturate(100%) invert(100%);flex-shrink:0;align-self:flex-start;width:1.25rem;height:1.25rem;margin-top:var(--p-space-200);margin-right:var(--p-space-200);margin-bottom:var(--p-space-200)}@media (min-width: 48em){.Polaris-Navigation__Icon{margin-top:var(--p-space-100);margin-right:var(--p-space-200);margin-bottom:var(--p-space-100)}}.Polaris-Navigation__Icon svg{fill:var(--p-color-icon)}.Polaris-Navigation__Icon img{filter:var(--pc-navigation-filter-icon)}.Polaris-Navigation__Item:hover .Polaris-Navigation__Icon svg,.Polaris-Navigation__Item:focus-visible .Polaris-Navigation__Icon svg{fill:var(--p-color-icon)}.Polaris-Navigation__Item:hover .Polaris-Navigation__Icon img,.Polaris-Navigation__Item:focus-visible .Polaris-Navigation__Icon img{filter:var(--pc-navigation-filter-icon)}.Polaris-Navigation__Item--selected .Polaris-Navigation__Icon svg,.Polaris-Navigation__Item--selected:hover .Polaris-Navigation__Icon svg,.Polaris-Navigation--subNavigationActive .Polaris-Navigation__Icon svg,.Polaris-Navigation--subNavigationActive:hover .Polaris-Navigation__Icon svg,.Polaris-Navigation--itemChildActive .Polaris-Navigation__Icon svg,.Polaris-Navigation--itemChildActive:hover .Polaris-Navigation__Icon svg,.Polaris-Navigation__Item--selected:focus-visible .Polaris-Navigation__Icon svg{fill:var(--p-color-icon-brand)}.Polaris-Navigation__Item--selected .Polaris-Navigation__Icon img,.Polaris-Navigation__Item--selected:hover .Polaris-Navigation__Icon img,.Polaris-Navigation--subNavigationActive .Polaris-Navigation__Icon img,.Polaris-Navigation--subNavigationActive:hover .Polaris-Navigation__Icon img,.Polaris-Navigation--itemChildActive .Polaris-Navigation__Icon img,.Polaris-Navigation--itemChildActive:hover .Polaris-Navigation__Icon img,.Polaris-Navigation__Item--selected:focus-visible .Polaris-Navigation__Icon img{filter:var(--pc-navigation-filter-icon-action-primary)}.Polaris-Navigation__Icon svg{display:block}.Polaris-Navigation__ListItem{position:relative;display:flex;flex-wrap:wrap}.Polaris-Navigation__RollupSection .Polaris-Navigation__ListItem,.Polaris-Navigation__SecondaryNavigation .Polaris-Navigation__ListItem{opacity:1}.Polaris-Navigation__ListItem:nth-child(1){animation-delay:0ms}.Polaris-Navigation__ListItem:nth-child(2){animation-delay:50ms}.Polaris-Navigation__ListItem:nth-child(3){animation-delay:.1s}.Polaris-Navigation__ListItem:nth-child(4){animation-delay:.15s}.Polaris-Navigation__ListItem:nth-child(5){animation-delay:.2s}.Polaris-Navigation__ListItem:nth-child(6){animation-delay:.25s}.Polaris-Navigation__ListItem:nth-child(7){animation-delay:.3s}.Polaris-Navigation__ListItem:nth-child(8){animation-delay:.35s}.Polaris-Navigation__ListItem:nth-child(9){animation-delay:.4s}.Polaris-Navigation__ListItem:nth-child(10){animation-delay:.45s}.Polaris-Navigation__ListItem:nth-child(11){animation-delay:.5s}.Polaris-Navigation__ListItem:nth-child(12){animation-delay:.55s}.Polaris-Navigation__ListItem:not(:first-child) .Polaris-Navigation__ItemInnerWrapper{border-top:0}.Polaris-Navigation__ListItem--hasAction .Polaris-Navigation__Item{max-width:calc(100% - var(--pc-navigation-icon-size) + var(--p-space-400)*2 + var(--p-space-100))}.Polaris-Navigation__Text{flex:1 1 auto;margin-top:var(--p-space-150);margin-bottom:var(--p-space-150)}@media (min-width: 48em){.Polaris-Navigation__Text{margin-top:var(--p-space-100);margin-bottom:var(--p-space-100)}}.Polaris-Navigation__Text--truncated{display:-webkit-box;overflow:hidden;-webkit-line-clamp:1;-webkit-box-orient:vertical;word-break:break-all}.Polaris-Navigation__SecondaryActions{display:flex;align-items:center;height:calc(var(--pc-navigation-mobile-height) - var(--p-space-100))}.Polaris-Navigation__SecondaryActions:last-child{margin-right:var(--p-space-050)}@media (min-width: 48em){.Polaris-Navigation__SecondaryActions{height:var(--pc-navigation-desktop-height)}}.Polaris-Navigation__ItemWithFloatingActions{position:relative;display:flex;flex-wrap:nowrap;width:100%}@media (min-width: 48em){.Polaris-Navigation--itemInnerWrapperDisplayActionsOnHover .Polaris-Navigation__SecondaryActions{position:absolute;top:0;right:0;z-index:var(--p-z-index-2);background:var(--p-color-nav-bg-surface-hover);visibility:hidden;opacity:0;transition:none;border-top-right-radius:var(--p-border-radius-200);border-bottom-right-radius:var(--p-border-radius-200);margin-right:0;padding:0 var(--p-space-050)}.Polaris-Navigation--itemInnerWrapperDisplayActionsOnHover .Polaris-Navigation__SecondaryActions:before{content:"";pointer-events:none;position:absolute;right:100%;display:block;height:100%;width:var(--p-space-800);background:linear-gradient(to right,rgba(0,0,0,0),var(--p-color-nav-bg-surface-hover) var(--p-space-800))}.Polaris-Navigation--itemInnerWrapperDisplayActionsOnHover:focus-within .Polaris-Navigation__SecondaryActions,.Polaris-Navigation--itemInnerWrapperDisplayActionsOnHover:hover .Polaris-Navigation__SecondaryActions{visibility:visible;opacity:1}.Polaris-Navigation--itemInnerWrapperDisplayActionsOnHover:active .Polaris-Navigation__SecondaryActions{background-color:var(--p-color-nav-bg-surface-active)}}.Polaris-Navigation__SecondaryAction{display:flex;align-items:center;height:calc(100% - var(--p-space-100));padding:calc(var(--p-space-200) - var(--p-space-050)) var(--p-space-200);border-radius:var(--p-border-radius-200);border:none}.Polaris-Navigation__SecondaryAction:focus-visible:not(:active){outline:var(--p-border-width-050) solid var(--p-color-border-focus)}.Polaris-Navigation__SecondaryAction:focus-visible:not(:active):after{content:none}.Polaris-Navigation__SecondaryAction svg{fill:var(--p-color-icon)}@media (min-width: 48em){.Polaris-Navigation__SecondaryAction{height:calc(100% - var(--p-space-100));padding:calc(var(--p-space-100) - var(--p-space-050))}}.Polaris-Navigation__SecondaryAction:hover,.Polaris-Navigation__SecondaryAction:focus,.Polaris-Navigation__SecondaryAction:active{background-color:var(--p-color-bg-fill-transparent-hover)}.Polaris-Navigation__SecondaryAction:hover svg,.Polaris-Navigation__SecondaryAction:focus svg,.Polaris-Navigation__SecondaryAction:active svg{fill:var(--p-color-icon-hover)}@media (-ms-high-contrast: active){.Polaris-Navigation__SecondaryAction:hover svg,.Polaris-Navigation__SecondaryAction:focus svg,.Polaris-Navigation__SecondaryAction:active svg{fill:#fff}}.Polaris-Navigation__SecondaryAction{position:relative}.Polaris-Navigation__SecondaryAction:after{content:"";position:absolute;z-index:1;top:-.0625rem;right:-.0625rem;bottom:-.0625rem;left:-.0625rem;display:block;pointer-events:none;box-shadow:0 0 0 -.0625rem var(--p-color-border-focus);border-radius:var(--p-border-radius-100)}.Polaris-Navigation__SecondaryAction:focus-visible:after{box-shadow:0 0 0 .125rem var(--p-color-border-focus);outline:var(--p-border-width-025) solid transparent}.Polaris-Navigation__SecondaryAction:active:after{content:none}.Polaris-Navigation__SecondaryAction:active svg{fill:var(--p-color-icon-active)}.Polaris-Navigation__SecondaryAction:focus,.Polaris-Navigation__SecondaryAction:active{outline:none}.Polaris-Navigation__SecondaryNavigation{flex-basis:100%;margin-left:0;overflow-x:visible}.Polaris-Navigation__SecondaryNavigation .Polaris-Navigation__List{margin:0;padding:0;list-style:none;margin-bottom:var(--p-space-200)}.Polaris-Navigation__SecondaryNavigation .Polaris-Navigation__Item{position:relative;padding-left:calc(var(--p-space-800) + var(--p-space-100))}.Polaris-Navigation__SecondaryNavigation .Polaris-Navigation__Item:before,.Polaris-Navigation__SecondaryNavigation .Polaris-Navigation__Item:after{content:"";position:absolute;top:0;left:var(--p-space-200);width:1.3125rem;height:2rem;border-radius:0;opacity:0;transition:opacity var(--p-motion-duration-150) var(--p-motion-ease-out)}@media (min-width: 48em){.Polaris-Navigation__SecondaryNavigation .Polaris-Navigation__Item:before,.Polaris-Navigation__SecondaryNavigation .Polaris-Navigation__Item:after{height:1.75rem}}.Polaris-Navigation__SecondaryNavigation .Polaris-Navigation__Item:is(:hover,:focus-visible,:focus-within){background:var(--p-color-nav-bg);color:var(--p-color-text-brand)}.Polaris-Navigation__SecondaryNavigation .Polaris-Navigation__Item:hover{color:var(--p-color-text);background:var(--p-color-nav-bg-surface-hover)}.Polaris-Navigation__SecondaryNavigation .Polaris-Navigation__Item:focus-visible:after{box-shadow:0 0 0 .125rem var(--p-color-border-focus);outline:var(--p-border-width-025) solid transparent}.Polaris-Navigation__SecondaryNavigation .Polaris-Navigation__Item:active,.Polaris-Navigation__SecondaryNavigation .Polaris-Navigation__Item:active:hover{background-color:var(--p-color-nav-bg-surface-active)}.Polaris-Navigation__SecondaryNavigation .Polaris-Navigation__Item:active:after,.Polaris-Navigation__SecondaryNavigation .Polaris-Navigation__Item:active:hover:after{content:none}.Polaris-Navigation__SecondaryNavigation .Polaris-Navigation__Item:active{color:var(--p-color-text-brand)}.Polaris-Navigation__SecondaryNavigation .Polaris-Navigation__Text{margin-top:var(--p-space-100);margin-bottom:var(--p-space-100)}.Polaris-Navigation__SecondaryNavigation .Polaris-Navigation__Item--selected{border-radius:var(--p-border-radius-200);color:var(--p-color-text);position:relative}.Polaris-Navigation__SecondaryNavigation .Polaris-Navigation__Item--selected:after{content:"";position:absolute;z-index:1;top:-.0625rem;right:-.0625rem;bottom:-.0625rem;left:-.0625rem;display:block;pointer-events:none;box-shadow:0 0 0 -.0625rem var(--p-color-border-focus);border-radius:var(--p-border-radius-100)}.Polaris-Navigation__SecondaryNavigation .Polaris-Navigation__Item--selected:is(:hover,:focus-visible,:focus-within){background:var(--p-color-nav-bg-surface-selected);color:var(--p-color-text-brand)}.Polaris-Navigation__SecondaryNavigation .Polaris-Navigation__Item--selected:active,.Polaris-Navigation__SecondaryNavigation .Polaris-Navigation__Item--selected:active:hover{background:var(--p-color-nav-bg-surface-active);color:var(--p-color-text-brand)}.Polaris-Navigation__SecondaryNavigation .Polaris-Navigation__Item--selected:active:after,.Polaris-Navigation__SecondaryNavigation .Polaris-Navigation__Item--selected:active:hover:after{content:none}.Polaris-Navigation__SecondaryNavigation .Polaris-Navigation__Item--selected:hover{color:var(--p-color-text-brand-hover)}.Polaris-Navigation__SecondaryNavigation .Polaris-Navigation__Item--selected:focus-visible{color:var(--p-color-text-brand)}.Polaris-Navigation__SecondaryNavigation .Polaris-Navigation__Item--selected:active{color:var(--p-color-text-brand)}.Polaris-Navigation__SecondaryNavigation .Polaris-Navigation__Item--selected:active:after{content:none}.Polaris-Navigation__SecondaryNavigation .Polaris-Navigation__Item--disabled{color:var(--p-color-text-disabled)}.Polaris-Navigation__SecondaryNavigation .Polaris-Navigation__Item--line:before,.Polaris-Navigation__SecondaryNavigation .Polaris-Navigation__Item--line.Polaris-Navigation--itemHoverLine:before{opacity:1;background:url(data:image/svg+xml,%3Csvg%20width%3D%2221%22%20height%3D%2228%22%20viewBox%3D%220%200%2021%2028%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Crect%20x%3D%229%22%20width%3D%221.5%22%20height%3D%2228%22%20fill%3D%22%23B5B5B5%22%2F%3E%3C%2Fsvg%3E)}.Polaris-Navigation__SecondaryNavigation .Polaris-Navigation--itemLinePointer:before,.Polaris-Navigation__SecondaryNavigation .Polaris-Navigation--itemLinePointer.Polaris-Navigation--itemHoverPointer:before{opacity:1;content:url("data:image/svg+xml,%3Csvg%20width%3D'21'%20height%3D'28'%20viewBox%3D'0%200%2021%2028'%20fill%3D'none'%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%3E%3Cpath%20d%3D'M19%2014.25H19.75V15.75H19V14.25ZM10.077%2013.362L10.7452%2013.0215V13.0215L10.077%2013.362ZM11.388%2014.673L11.7285%2014.0048H11.7285L11.388%2014.673ZM10.5%200V10.2H9V0H10.5ZM14.55%2014.25H19V15.75H14.55V14.25ZM10.5%2010.2C10.5%2011.0525%2010.5006%2011.6467%2010.5384%2012.1093C10.5755%2012.5632%2010.6446%2012.824%2010.7452%2013.0215L9.40873%2013.7025C9.18239%2013.2582%209.08803%2012.7781%209.04336%2012.2315C8.99942%2011.6936%209%2011.0277%209%2010.2H10.5ZM14.55%2015.75C13.7223%2015.75%2013.0564%2015.7506%2012.5185%2015.7066C11.9719%2015.662%2011.4918%2015.5676%2011.0475%2015.3413L11.7285%2014.0048C11.926%2014.1054%2012.1868%2014.1745%2012.6407%2014.2116C13.1033%2014.2494%2013.6975%2014.25%2014.55%2014.25V15.75ZM10.7452%2013.0215C10.9609%2013.4448%2011.3052%2013.7891%2011.7285%2014.0048L11.0475%2015.3413C10.3419%2014.9817%209.76825%2014.4081%209.40873%2013.7025L10.7452%2013.0215Z'%20fill%3D'%23B5B5B5'/%3E%3Cpath%20d%3D'M17%2012L20%2015L17%2018'%20stroke%3D'%23B5B5B5'%20stroke-width%3D'1.5'%20stroke-linecap%3D'round'%20stroke-linejoin%3D'round'/%3E%3C/svg%3E%0A")}.Polaris-Navigation__SecondaryNavigation .Polaris-Navigation--itemHoverLine:before{opacity:1;content:url(data:image/svg+xml,%3Csvg%20width%3D%2221%22%20height%3D%2228%22%20viewBox%3D%220%200%2021%2028%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%0A%3Cpath%20d%3D%22M9%200H10.5V28H9V0Z%22%20fill%3D%22%23B5B5B5%22%2F%3E%0A%3C%2Fsvg%3E)}.Polaris-Navigation__SecondaryNavigation .Polaris-Navigation--itemHoverPointer:before{opacity:1;content:url(data:image/svg+xml,%3Csvg%20width%3D%2221%22%20height%3D%2228%22%20viewBox%3D%220%200%2021%2028%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%0A%3Cpath%20d%3D%22M9%207.75C9%207.33579%209.33579%207%209.75%207V7C10.1642%207%2010.5%207.33579%2010.5%207.75V9.95C10.5%2010.8025%2010.5006%2011.3967%2010.5384%2011.8593C10.5755%2012.3132%2010.6446%2012.574%2010.7452%2012.7715C10.961%2013.1948%2011.3052%2013.539%2011.7285%2013.7548C11.926%2013.8554%2012.1868%2013.9245%2012.6407%2013.9616C13.1033%2013.9994%2013.6975%2014%2014.55%2014H17.9393L16.2197%2012.2803C15.9268%2011.9874%2015.9268%2011.5126%2016.2197%2011.2197C16.5126%2010.9268%2016.9874%2010.9268%2017.2803%2011.2197L20.2803%2014.2197C20.5732%2014.5126%2020.5732%2014.9874%2020.2803%2015.2803L17.2803%2018.2803C16.9874%2018.5732%2016.5126%2018.5732%2016.2197%2018.2803C15.9268%2017.9874%2015.9268%2017.5126%2016.2197%2017.2197L17.9393%2015.5H14.5179C13.705%2015.5%2013.0494%2015.5%2012.5185%2015.4566C11.9719%2015.412%2011.4918%2015.3176%2011.0475%2015.0913C10.3419%2014.7317%209.76825%2014.1581%209.40873%2013.4525C9.18239%2013.0082%209.08803%2012.5281%209.04336%2011.9815C8.99999%2011.4506%208.99999%2010.795%209%209.98212V7.75Z%22%20fill%3D%22%23CCCCCC%22%2F%3E%0A%3C%2Fsvg%3E)}.Polaris-Navigation__SecondaryNavigation .Polaris-Navigation__Item--line.Polaris-Navigation--itemHoverPointer:before{opacity:1;content:url(data:image/svg+xml,%3Csvg%20width%3D%2221%22%20height%3D%2228%22%20viewBox%3D%220%200%2021%2028%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%0A%3Cpath%20d%3D%22M9%200H10.5V28H9V0Z%22%20fill%3D%22%23B5B5B5%22%2F%3E%0A%3C%2Fsvg%3E)}.Polaris-Navigation__SecondaryNavigation .Polaris-Navigation__Item--line.Polaris-Navigation--itemHoverPointer:after{opacity:1;content:url(data:image/svg+xml,%3Csvg%20width%3D%2221%22%20height%3D%2228%22%20viewBox%3D%220%200%2021%2028%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%0A%3Cpath%20d%3D%22M11.5%2015.2751C11.8158%2015.3745%2012.1522%2015.4267%2012.5185%2015.4566C13.0494%2015.5%2013.705%2015.5%2014.5179%2015.5H17.9393L16.2197%2017.2197C15.9268%2017.5126%2015.9268%2017.9874%2016.2197%2018.2803C16.5126%2018.5732%2016.9874%2018.5732%2017.2803%2018.2803L20.2803%2015.2803C20.5732%2014.9874%2020.5732%2014.5126%2020.2803%2014.2197L17.2803%2011.2197C16.9874%2010.9268%2016.5126%2010.9268%2016.2197%2011.2197C15.9268%2011.5126%2015.9268%2011.9874%2016.2197%2012.2803L17.9393%2014H14.55C13.6975%2014%2013.1033%2013.9994%2012.6407%2013.9616C12.1868%2013.9245%2011.926%2013.8554%2011.7285%2013.7548C11.6495%2013.7145%2011.5732%2013.6697%2011.5%2013.6208V15.2751Z%22%20fill%3D%22%23CCCCCC%22%2F%3E%0A%3C%2Fsvg%3E)}.Polaris-Navigation__SecondaryNavigation .Polaris-Navigation--itemLinePointer.Polaris-Navigation--itemHoverLine:before{opacity:1;content:url(data:image/svg+xml,%3Csvg%20width%3D%2221%22%20height%3D%2228%22%20viewBox%3D%220%200%2021%2028%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%0A%3Cpath%20fill-rule%3D%22evenodd%22%20clip-rule%3D%22evenodd%22%20d%3D%22M9%200.75V0H10.5V0.75V9.95C10.5%2010.8025%2010.5006%2011.3967%2010.5384%2011.8593C10.5755%2012.3132%2010.6446%2012.574%2010.7452%2012.7715C10.961%2013.1948%2011.3052%2013.539%2011.7285%2013.7548C11.926%2013.8554%2012.1868%2013.9245%2012.6407%2013.9616C13.1033%2013.9994%2013.6975%2014%2014.55%2014H17.9393L16.2197%2012.2803C15.9268%2011.9874%2015.9268%2011.5126%2016.2197%2011.2197C16.5126%2010.9268%2016.9874%2010.9268%2017.2803%2011.2197L20.2803%2014.2197C20.5732%2014.5126%2020.5732%2014.9874%2020.2803%2015.2803L17.2803%2018.2803C16.9874%2018.5732%2016.5126%2018.5732%2016.2197%2018.2803C15.9268%2017.9874%2015.9268%2017.5126%2016.2197%2017.2197L17.9393%2015.5H14.55H14.5179C13.705%2015.5%2013.0494%2015.5%2012.5185%2015.4566C11.9719%2015.412%2011.4918%2015.3176%2011.0475%2015.0913C10.3419%2014.7317%209.76825%2014.1581%209.40873%2013.4525C9.18239%2013.0082%209.08803%2012.5281%209.04336%2011.9815C8.99999%2011.4506%208.99999%2010.795%209%209.98212V9.95V0.75Z%22%20fill%3D%22%23B5B5B5%22%2F%3E%0A%3C%2Fsvg%3E)}.Polaris-Navigation__SecondaryNavigation .Polaris-Navigation--itemLinePointer.Polaris-Navigation--itemHoverLine:after{opacity:1}.Polaris-Navigation__SecondaryNavigation--noIcon .Polaris-Navigation__Item{padding-left:var(--p-space-600)}.Polaris-Navigation__Section{flex:0 0 auto;margin:0;padding:var(--p-space-400) 0;padding-top:0;padding-left:0;padding-left:constant(safe-area-inset-left);padding-left:env(safe-area-inset-left);list-style:none}.Polaris-Navigation__Section+.Polaris-Navigation__Section{padding-top:var(--p-space-200);padding-bottom:var(--p-space-400)}.Polaris-Navigation__Section--fill{flex:1 0 auto}.Polaris-Navigation__Section--withSeparator{border-top:var(--p-border-width-025) solid var(--p-color-border-secondary)}.Polaris-Navigation__SectionHeading{display:flex;align-items:center;padding-left:var(--p-space-500);padding-right:var(--p-space-100)}@supports not (scrollbar-gutter: stable){.Polaris-Navigation__SectionHeading{padding-right:var(--p-space-200)}}@supports (scrollbar-gutter: stable){.Polaris-Navigation__SectionHeading{padding-right:calc(var(--p-space-100) - var(--pc-app-provider-scrollbar-width))}}.Polaris-Navigation__SectionHeading>:first-child{flex:1 1 auto;margin-top:calc(var(--p-space-200) + var(--p-space-050));margin-bottom:calc(var(--p-space-200) + var(--p-space-050))}@media (min-width: 48em){.Polaris-Navigation__SectionHeading>:first-child{margin-top:var(--p-space-100);margin-bottom:var(--p-space-100)}}.Polaris-Navigation__SectionHeading .Polaris-Navigation__Action{-webkit-appearance:none;-moz-appearance:none;appearance:none;margin:0;padding:0;background:none;border:none;font-size:inherit;line-height:inherit;color:inherit;cursor:pointer;display:flex;align-items:center;height:calc(100% - var(--p-space-100));padding:var(--p-space-050) var(--p-space-200);border-radius:var(--p-border-radius-200)}.Polaris-Navigation__SectionHeading .Polaris-Navigation__Action:focus{outline:none}@supports (scrollbar-gutter: stable){.Polaris-Navigation__SectionHeading .Polaris-Navigation__Action{padding-inline:var(--p-space-150)}}.Polaris-Navigation__SectionHeading .Polaris-Navigation__Action:focus-visible:not(:active){outline:var(--p-border-width-050) solid var(--p-color-border-focus)}.Polaris-Navigation__SectionHeading .Polaris-Navigation__Action:focus-visible:not(:active):after{content:none}.Polaris-Navigation__SectionHeading .Polaris-Navigation__Action svg{fill:var(--p-color-icon)}@media (min-width: 48em){.Polaris-Navigation__SectionHeading .Polaris-Navigation__Action svg,.Polaris-Navigation__SectionHeading .Polaris-Navigation__Action img{height:var(--p-space-400);width:var(--p-space-400);margin:var(--p-space-050)}}.Polaris-Navigation__SectionHeading .Polaris-Navigation__Action{position:relative}.Polaris-Navigation__SectionHeading .Polaris-Navigation__Action:after{content:"";position:absolute;z-index:1;top:-.0625rem;right:-.0625rem;bottom:-.0625rem;left:-.0625rem;display:block;pointer-events:none;box-shadow:0 0 0 -.0625rem var(--p-color-border-focus);border-radius:var(--p-border-radius-100)}.Polaris-Navigation__SectionHeading .Polaris-Navigation__Action:hover,.Polaris-Navigation__SectionHeading .Polaris-Navigation__Action:focus{background:var(--p-color-bg-fill-transparent-hover)}.Polaris-Navigation__SectionHeading .Polaris-Navigation__Action:hover svg,.Polaris-Navigation__SectionHeading .Polaris-Navigation__Action:focus svg{fill:var(--p-color-icon-hover)}@media (-ms-high-contrast: active){.Polaris-Navigation__SectionHeading .Polaris-Navigation__Action:hover svg,.Polaris-Navigation__SectionHeading .Polaris-Navigation__Action:focus svg{fill:#fff}.Polaris-Navigation__SectionHeading .Polaris-Navigation__Action:hover img,.Polaris-Navigation__SectionHeading .Polaris-Navigation__Action:focus img{filter:var(--p-color-icon-brand)}}.Polaris-Navigation__SectionHeading .Polaris-Navigation__Action:hover svg{fill:var(--p-filter-icon)}.Polaris-Navigation__SectionHeading .Polaris-Navigation__Action:focus-visible:after{box-shadow:0 0 0 .125rem var(--p-color-border-focus);outline:var(--p-border-width-025) solid transparent}.Polaris-Navigation__SectionHeading .Polaris-Navigation__Action:focus:hover svg{fill:var(--p-color-icon-hover)}.Polaris-Navigation__SectionHeading .Polaris-Navigation__Action:active,.Polaris-Navigation__SectionHeading .Polaris-Navigation__Action:active:hover{background:var(--p-color-bg-surface-active)}.Polaris-Navigation__SectionHeading .Polaris-Navigation__Action:active:after,.Polaris-Navigation__SectionHeading .Polaris-Navigation__Action:active:hover:after{content:none}.Polaris-Navigation__SectionHeading .Polaris-Navigation__Action:active svg,.Polaris-Navigation__SectionHeading .Polaris-Navigation__Action:active:hover svg{fill:var(--p-color-icon-active)}.Polaris-Navigation__SectionHeading .Polaris-Navigation__Action:focus,.Polaris-Navigation__SectionHeading .Polaris-Navigation__Action:active{outline:none}.Polaris-Navigation__RollupToggle{color:var(--p-color-text);color:var(--p-color-text-secondary)}.Polaris-Navigation__RollupToggle:hover{color:var(--p-color-text-brand)}.Polaris-Navigation__RollupToggle:hover svg{fill:var(--p-color-icon-brand)}.Polaris-Navigation__RollupToggle:hover img{filter:var(--p-color-icon-brand)}.Polaris-Navigation__RollupToggle:focus-visible{outline:none}.Polaris-Navigation__RollupToggle:focus-visible:after{box-shadow:0 0 0 .125rem var(--p-color-border-focus);outline:var(--p-border-width-025) solid transparent}.Polaris-Navigation__RollupToggle:active{background-color:var(--p-color-bg-surface-active)}.Polaris-Navigation__List{margin:0;padding:0;list-style:none}.Polaris-Navigation__Indicator{position:relative;display:inline-block;height:.625rem;width:.625rem}.Polaris-Navigation__SecondaryNavigationOpen{animation:var(--p-motion-ease-out) var(--p-motion-duration-150) Polaris-Navigation__snappy--grow}@keyframes Polaris-Navigation__snappy--grow{0%{margin-bottom:-10%;opacity:0}to{margin-bottom:0%;opacity:1}}.Polaris-OptionList-Option{-webkit-appearance:none;-moz-appearance:none;appearance:none;margin:0;padding:0;background:none;border:none;font-size:inherit;line-height:inherit;cursor:pointer;width:100%;min-height:var(--pg-control-height);text-align:left;text-decoration:none;border-radius:var(--p-border-radius-100);margin-top:var(--p-space-100);color:inherit}.Polaris-OptionList-Option:focus{outline:none}.Polaris-OptionList-Option:visited{color:inherit}.Polaris-OptionList-Option:first-child{margin-top:0}.Polaris-OptionList-Option__SingleSelectOption{-webkit-appearance:none;-moz-appearance:none;appearance:none;margin:0;padding:0;background:none;border:none;font-size:inherit;line-height:inherit;color:inherit;cursor:pointer;text-align:left;display:flex;flex-wrap:nowrap;justify-content:space-between}.Polaris-OptionList-Option__SingleSelectOption:focus{outline:none}.Polaris-OptionList-Option__SingleSelectOption.Polaris-OptionList-Option--focused:focus-visible:not(:active){outline:var(--p-border-width-050) solid var(--p-color-border-focus);outline-offset:var(--p-space-025);background-color:var(--p-color-bg-surface-secondary-hover)}.Polaris-OptionList-Option__SingleSelectOption.Polaris-OptionList-Option--active{background:var(--p-color-bg-surface-secondary-selected)}.Polaris-OptionList-Option__SingleSelectOption:not(.Polaris-OptionList-Option--disabled){color:inherit}.Polaris-OptionList-Option__SingleSelectOption.Polaris-OptionList-Option--select,.Polaris-OptionList-Option__SingleSelectOption.Polaris-OptionList-Option--select:hover:not(.Polaris-OptionList-Option--disabled),.Polaris-OptionList-Option__SingleSelectOption.Polaris-OptionList-Option--active{font-weight:var(--p-font-weight-semibold);background:var(--p-color-bg-surface-secondary-active)}.Polaris-OptionList-Option__SingleSelectOption .Polaris-OptionList-Option__Media{padding:0 var(--p-space-200) 0 0}.Polaris-OptionList-Option__Label,.Polaris-OptionList-Option__SingleSelectOption,.Polaris-OptionList-Option__MultiSelectOption{display:flex;align-items:flex-start;width:100%;cursor:pointer;border-radius:var(--p-border-radius-200);padding:var(--p-space-150);word-wrap:break-word;word-break:break-word;overflow-wrap:break-word}.Polaris-OptionList-Option__Label:hover:not(.Polaris-OptionList-Option--disabled),.Polaris-OptionList-Option__SingleSelectOption:hover:not(.Polaris-OptionList-Option--disabled),.Polaris-OptionList-Option__MultiSelectOption:hover:not(.Polaris-OptionList-Option--disabled){background-color:var(--p-color-bg-surface-secondary-hover)}.Polaris-OptionList-Option__Label:active:not(.Polaris-OptionList-Option--disabled),.Polaris-OptionList-Option__SingleSelectOption:active:not(.Polaris-OptionList-Option--disabled),.Polaris-OptionList-Option__MultiSelectOption:active:not(.Polaris-OptionList-Option--disabled){background:var(--p-color-bg-surface-secondary-active)}.Polaris-OptionList-Option__Label:hover:not(.Polaris-OptionList-Option--disabled),.Polaris-OptionList-Option__SingleSelectOption:hover:not(.Polaris-OptionList-Option--disabled),.Polaris-OptionList-Option__MultiSelectOption:hover:not(.Polaris-OptionList-Option--disabled),.Polaris-OptionList-Option__Label:active:not(.Polaris-OptionList-Option--disabled),.Polaris-OptionList-Option__SingleSelectOption:active:not(.Polaris-OptionList-Option--disabled),.Polaris-OptionList-Option__MultiSelectOption:active:not(.Polaris-OptionList-Option--disabled),.Polaris-OptionList-Option__Label.Polaris-OptionList-Option--select,.Polaris-OptionList-Option__SingleSelectOption.Polaris-OptionList-Option--select,.Polaris-OptionList-Option__MultiSelectOption.Polaris-OptionList-Option--select,.Polaris-OptionList-Option__Label.Polaris-OptionList-Option--select:hover:not(.Polaris-OptionList-Option--disabled),.Polaris-OptionList-Option__SingleSelectOption.Polaris-OptionList-Option--select:hover:not(.Polaris-OptionList-Option--disabled),.Polaris-OptionList-Option__MultiSelectOption.Polaris-OptionList-Option--select:hover:not(.Polaris-OptionList-Option--disabled){outline:var(--p-border-width-025) solid transparent}.Polaris-OptionList-Option__Label .Polaris-OptionList-Option__Media,.Polaris-OptionList-Option__SingleSelectOption .Polaris-OptionList-Option__Media,.Polaris-OptionList-Option__MultiSelectOption .Polaris-OptionList-Option__Media{padding:0 var(--p-space-200) 0 0}.Polaris-OptionList-Option__Label.Polaris-OptionList-Option--disabled,.Polaris-OptionList-Option__SingleSelectOption.Polaris-OptionList-Option--disabled,.Polaris-OptionList-Option__MultiSelectOption.Polaris-OptionList-Option--disabled{background:transparent;cursor:default;color:var(--p-color-text-disabled)}.Polaris-OptionList-Option__MultiSelectOption.Polaris-OptionList-Option--select.Polaris-OptionList-Option__CheckboxLabel{background-color:transparent}.Polaris-OptionList-Option__MultiSelectOption.Polaris-OptionList-Option--select svg{fill:var(--p-color-icon-active)}.Polaris-OptionList-Option__MultiSelectOption.Polaris-OptionList-Option--select:hover:not(.Polaris-OptionList-Option--disabled){background-color:var(--p-color-bg-surface-secondary-hover)}.Polaris-OptionList-Option--disabled .Polaris-OptionList-Option__Media svg{fill:var(--p-color-icon-disabled)}.Polaris-OptionList-Option__Media svg{fill:var(--p-color-icon)}.Polaris-OptionList-Option--verticalAlignTop{align-items:flex-start}.Polaris-OptionList-Option--verticalAlignCenter{align-items:center}.Polaris-OptionList-Option--verticalAlignBottom{align-items:flex-end}.Polaris-OptionList-Option__Icon{margin-left:var(--p-space-200)}.Polaris-OptionList-Option__Icon svg{fill:var(--p-color-icon-brand)}.Polaris-OptionList-Option__Checkbox{box-sizing:border-box;display:flex;flex-shrink:0;width:1.25rem;height:1.25rem;margin-right:var(--p-space-200);align-items:center}.Polaris-Header-Title.Polaris-Header-Title__TitleWithSubtitle{margin-top:0}.Polaris-Header-Title__TitleWrapper{display:flex;flex-wrap:wrap;align-items:center;row-gap:var(--p-space-200);padding-block:var(--p-space-050)}.Polaris-Header-Title__TitleWrapper .Polaris-Header-Title{display:inline;margin-right:var(--p-space-200)}.Polaris-Header-Title__TitleWrapper .Polaris-Header-Title>*{display:inline}.Polaris-Header-Title__SubTitle,.Polaris-Header-Title__SubTitle.Polaris-Header-Title__SubtitleCompact{margin-top:var(--p-space-050)}.Polaris-Header-Title__SubTitle.Polaris-Header-Title__SubtitleMaxWidth{max-width:45ch}.Polaris-Page-Header__TitleWrapper{grid-area:title;margin-top:var(--p-space-100);align-self:center}@media (min-width: 30.625em){.Polaris-Page-Header__TitleWrapper{margin-top:0}}.Polaris-Page-Header__TitleWrapper.Polaris-Page-Header__TitleWrapperExpand{flex:1 1 auto}.Polaris-Page-Header__BreadcrumbWrapper{grid-area:breadcrumbs}.Polaris-Page-Header__BreadcrumbWrapper a,.Polaris-Page-Header__BreadcrumbWrapper button{background:transparent;border-radius:var(--p-border-radius-200);box-shadow:none}.Polaris-Page-Header__BreadcrumbWrapper a:is(:hover,:focus,:focus-visible),.Polaris-Page-Header__BreadcrumbWrapper button:is(:hover,:focus,:focus-visible){box-shadow:none!important}.Polaris-Page-Header__BreadcrumbWrapper a:is(:hover,:focus-visible),.Polaris-Page-Header__BreadcrumbWrapper button:is(:hover,:focus-visible){background:var(--p-color-bg-fill-tertiary-hover)}.Polaris-Page-Header__BreadcrumbWrapper a:focus,.Polaris-Page-Header__BreadcrumbWrapper button:focus{background:var(--p-color-bg-fill-tertiary-active);box-shadow:var(--p-shadow-inset-200)!important}.Polaris-Page-Header__PaginationWrapper{margin-left:var(--p-space-200);line-height:1}.Polaris-Page-Header__PrimaryActionWrapper{margin-top:0;margin-left:var(--p-space-100)}@media (min-width: 48em){.Polaris-Page-Header__PrimaryActionWrapper{margin-left:var(--p-space-200)}}.Polaris-Page-Header__Row{display:flex;justify-content:space-between;line-height:normal}.Polaris-Page-Header__Row:first-child{min-height:1.75rem}.Polaris-Page-Header__Row+.Polaris-Page-Header__Row{margin-top:var(--p-space-050)}.Polaris-Page-Header--mobileView .Polaris-Page-Header__Row+.Polaris-Page-Header__Row{margin-top:var(--p-space-100)}.Polaris-Page-Header__Row+.Polaris-Page-Header__Row .Polaris-Page-Header__RightAlign{margin-left:0}.Polaris-Page-Header__RightAlign{grid-area:actions;display:flex;align-content:flex-end;flex:1 1 auto;align-items:center;align-self:flex-start;justify-content:flex-end;margin-left:var(--p-space-400);white-space:nowrap}@media (max-width: 30.6225em){.Polaris-Page-Header--noBreadcrumbs .Polaris-Page-Header__RightAlign{margin-left:0}}@media (min-width: 30.625em){.Polaris-Page-Header__AdditionalMetaData{margin-left:calc(var(--p-space-500) + var(--p-space-200) + var(--p-space-100))}}.Polaris-Page-Header--noBreadcrumbs .Polaris-Page-Header__AdditionalMetaData{margin-left:0}.Polaris-Page-Header__Actions{width:100%;display:flex;align-items:center;justify-content:flex-end;text-align:right}@media (max-width: 64.9975em){.Polaris-Page-Header--longTitle .Polaris-Page-Header__AdditionalMetaData{margin-left:0}.Polaris-Page-Header--longTitle .Polaris-Page-Header__Row{display:grid;gap:var(--p-space-200) var(--p-space-400);grid-template-columns:auto 1fr;grid-template-areas:"breadcrumbs actions" "title title"}.Polaris-Page-Header--longTitle .Polaris-Page-Header__Row+.Polaris-Page-Header__Row{gap:0}}@media (max-width: 47.9975em){.Polaris-Page-Header--mediumTitle:not(.Polaris-Page-Header--noBreadcrumbs) .Polaris-Page-Header__AdditionalMetaData{margin-left:0}.Polaris-Page-Header--mediumTitle:not(.Polaris-Page-Header--noBreadcrumbs) .Polaris-Page-Header__Row{display:grid;gap:var(--p-space-200) var(--p-space-400);grid-template-columns:auto 1fr;grid-template-areas:"breadcrumbs actions" "title title"}.Polaris-Page-Header--mediumTitle:not(.Polaris-Page-Header--noBreadcrumbs) .Polaris-Page-Header__Row+.Polaris-Page-Header__Row{gap:0}}.Polaris-Page-Header--mediumTitle.Polaris-Page-Header--noBreadcrumbs .Polaris-Page-Header__TitleWrapper{margin-top:0}.Polaris-Page-Header--mediumTitle.Polaris-Page-Header--noBreadcrumbs .Polaris-Page-Header__RightAlign{margin-bottom:var(--p-space-100)}@media (min-width: 48em){.Polaris-Page-Header--mediumTitle.Polaris-Page-Header--noBreadcrumbs .Polaris-Page-Header__RightAlign{margin-bottom:0}}.Polaris-Page-Header--mediumTitle.Polaris-Page-Header--noBreadcrumbs .Polaris-Page-Header__Row{flex-wrap:wrap-reverse}@media (min-width: 48em){.Polaris-Page-Header--mediumTitle.Polaris-Page-Header--noBreadcrumbs .Polaris-Page-Header__Row{flex-wrap:nowrap}}.Polaris-Page-Header--isSingleRow .Polaris-Page-Header__Row{gap:0}html,body{min-height:100%;height:100%}.Polaris-Page{margin:0 auto;padding:0;max-width:calc(var(--pg-layout-width-primary-max) + var(--pg-layout-width-secondary-max) + var(--pg-layout-width-inner-spacing-base))}@media (min-width: 30.625em){.Polaris-Page{padding:0 var(--p-space-600)}}.Polaris-Page:after{content:"";display:table}.Polaris-Page--fullWidth{max-width:none}.Polaris-Page--narrowWidth{max-width:var(--pg-layout-width-primary-max)}.Polaris-Page__Content{padding:var(--p-space-200) 0}@media (min-width: 48em){.Polaris-Page__Content{padding-top:var(--p-space-500)}}.Polaris-PageActions{margin:0 auto;border-top:0;padding:var(--p-space-400)}@media (min-width: 30.625em){.Polaris-PageActions{padding:var(--p-space-400) 0}}.Polaris-Picker-SearchField{flex-grow:1;padding:var(--p-space-100) 0;outline:none;border:none}.Polaris-Picker-Activator{background:none;outline:none;padding:var(--p-space-200) var(--p-space-300);border-radius:var(--p-border-radius-200);border:var(--p-border-width-025) solid var(--p-color-border);width:100%;display:flex;align-items:center;justify-content:space-between;cursor:pointer}.Polaris-Picker-Activator:hover{background-color:var(--p-color-bg-surface-hover)}.Polaris-Picker-Activator:active{background-color:var(--p-color-bg-surface-active)}.Polaris-Picker-Activator:focus:not(:active){outline:var(--p-border-width-050) solid var(--p-color-border-focus);outline-offset:var(--p-space-025)}.Polaris-Picker-Activator--disabled{pointer-events:none;background-color:var(--p-color-bg-surface-disabled);border-color:var(--p-color-border-disabled)}.Polaris-ProgressBar{--pc-progress-bar-height-base:1rem;--pc-progress-bar-height-small:calc(var(--pc-progress-bar-height-base)*.5);--pc-progress-bar-height-large:calc(var(--pc-progress-bar-height-base)*2);--pc-progress-bar-duration: initial;--pc-progress-bar-percent: initial;overflow:hidden;width:100%;background-color:var(--pc-progress-bar-background);border-radius:var(--p-border-radius-100)}@media (forced-colors: active){.Polaris-ProgressBar{border:var(--p-border-width-025) solid transparent}}.Polaris-ProgressBar--sizeSmall{height:var(--pc-progress-bar-height-small)}.Polaris-ProgressBar--sizeMedium{height:var(--pc-progress-bar-height-base)}.Polaris-ProgressBar--sizeLarge{height:var(--pc-progress-bar-height-large)}.Polaris-ProgressBar--toneHighlight{--pc-progress-bar-background:var(--p-color-bg-fill-tertiary);--pc-progress-bar-indicator:var(--p-color-bg-fill-info)}.Polaris-ProgressBar--tonePrimary{--pc-progress-bar-background:var(--p-color-bg-fill-tertiary);--pc-progress-bar-indicator:var(--p-color-bg-fill-brand)}.Polaris-ProgressBar--toneSuccess{--pc-progress-bar-background:var(--p-color-bg-fill-tertiary);--pc-progress-bar-indicator:var(--p-color-bg-fill-success)}.Polaris-ProgressBar--toneCritical{--pc-progress-bar-background:var(--p-color-bg-fill-tertiary);--pc-progress-bar-indicator:var(--p-color-bg-fill-critical)}.Polaris-ProgressBar__Indicator{height:inherit;background-color:var(--pc-progress-bar-indicator);transition:transform var(--pc-progress-bar-duration) var(--p-motion-ease);transform:scaleX(0);transform-origin:0 50%}@media screen and (-ms-high-contrast: active){.Polaris-ProgressBar__Indicator{border:var(--pc-progress-bar-height-base) solid highlight}}.Polaris-ProgressBar__IndicatorAppearActive,.Polaris-ProgressBar__IndicatorAppearDone{transform:scaleX(var(--pc-progress-bar-percent))}.Polaris-ProgressBar__Progress,.Polaris-ProgressBar__Label{position:absolute!important;top:0;width:.0625rem!important;height:.0625rem!important;margin:0!important;padding:0!important;overflow:hidden!important;clip-path:inset(50%)!important;border:0!important;white-space:nowrap!important}.Polaris-RangeSlider{--pc-range-slider-input:10;--pc-range-slider-output:20;--pc-range-slider-track-height:.25rem;--pc-range-slider-thumb-size:1rem;--pc-track-dashed-border-radius:var(--p-border-radius-100)}.Polaris-RangeSlider--trackDashedAfter:after{content:""}.Polaris-RangeSlider--trackDashed,.Polaris-RangeSlider--trackDashedAfter:after{--pc-track-dashed-color:var(--p-color-border);position:absolute;height:var(--pc-range-slider-track-height);width:100%;background-image:linear-gradient(to right,var(--pc-track-dashed-color),var(--pc-track-dashed-color) 50%,transparent 50%,transparent 100%);background-size:var(--pc-range-slider-track-height) var(--pc-range-slider-track-height);border-radius:var(--pc-track-dashed-border-radius);border-right:var(--pc-track-dashed-border-radius) var(--pc-track-dashed-color) solid}.Polaris-RangeSlider-DualThumb{position:relative;width:100%;display:flex;align-items:center}.Polaris-RangeSlider-DualThumb__TrackWrapper{position:relative;display:flex;align-items:center;width:100%;min-height:1.75rem;cursor:pointer}.Polaris-RangeSlider-DualThumb__TrackWrapper.Polaris-RangeSlider-DualThumb--disabled{opacity:.8;cursor:not-allowed}.Polaris-RangeSlider-DualThumb__Track{--pc-range-slider-progress-upper: initial;--pc-range-slider-progress-lower: initial;--pc-dual-thumb-unselected-range:transparent;--pc-dual-thumb-selected-range:var(--p-color-bg-fill-brand);--pc-dual-thumb-gradient-colors:var(--pc-dual-thumb-unselected-range) 0%, var(--pc-dual-thumb-unselected-range) var(--pc-range-slider-progress-lower), var(--pc-dual-thumb-selected-range) var(--pc-range-slider-progress-lower), var(--pc-dual-thumb-selected-range) var(--pc-range-slider-progress-upper), var(--pc-dual-thumb-unselected-range) var(--pc-range-slider-progress-upper), var(--pc-dual-thumb-unselected-range) 100%;position:absolute;z-index:1;width:100%;height:var(--pc-range-slider-track-height);border-radius:var(--pc-range-slider-thumb-size);background-image:linear-gradient(to right,var(--pc-dual-thumb-gradient-colors))}.Polaris-RangeSlider-DualThumb--error .Polaris-RangeSlider-DualThumb__Track{--pc-dual-thumb-selected-range:var(--p-color-bg-fill-critical);--pc-dual-thumb-gradient-colors:var(--pc-dual-thumb-unselected-range) 0%, var(--pc-dual-thumb-unselected-range) var(--pc-range-slider-progress-lower), var(--pc-dual-thumb-selected-range) var(--pc-range-slider-progress-lower), var(--pc-dual-thumb-selected-range) var(--pc-range-slider-progress-upper), var(--pc-dual-thumb-unselected-range) var(--pc-range-slider-progress-upper), var(--pc-dual-thumb-unselected-range) 100%;background-image:linear-gradient(to right,var(--pc-dual-thumb-gradient-colors))}.Polaris-RangeSlider-DualThumb--disabled .Polaris-RangeSlider-DualThumb__Track{background:var(--p-color-border-disabled) none}.Polaris-RangeSlider-DualThumb__Thumbs{position:relative;position:absolute;z-index:var(--pc-range-slider-input);padding:0;width:var(--pc-range-slider-thumb-size);height:var(--pc-range-slider-thumb-size);border-radius:var(--p-border-radius-full);border:var(--p-border-width-025) solid var(--p-color-border-emphasis);background:linear-gradient(var(--p-color-bg-fill-brand),var(--p-color-bg-fill-brand));-webkit-tap-highlight-color:transparent;cursor:-webkit-grab;transition:transform var(--p-motion-duration-150) var(--p-motion-ease)}.Polaris-RangeSlider-DualThumb__Thumbs:after{content:"";position:absolute;z-index:1;top:-.125rem;right:-.125rem;bottom:-.125rem;left:-.125rem;display:block;pointer-events:none;box-shadow:0 0 0 -.125rem var(--p-color-border-focus);border-radius:var(--p-border-radius-200)}.Polaris-RangeSlider-DualThumb__Thumbs.Polaris-RangeSlider-DualThumb--disabled{cursor:not-allowed;border-color:var(--p-color-border-disabled);background:var(--p-color-border-disabled)}.Polaris-RangeSlider-DualThumb__Thumbs:active{transform:scale(1.5)}.Polaris-RangeSlider-DualThumb__Thumbs:focus-visible{outline:0}.Polaris-RangeSlider-DualThumb__Thumbs:focus-visible:after{box-shadow:0 0 0 .125rem var(--p-color-border-focus);outline:var(--p-border-width-025) solid transparent}.Polaris-RangeSlider-DualThumb--error .Polaris-RangeSlider-DualThumb__Thumbs{border-color:var(--p-color-bg-fill-critical);background:linear-gradient(var(--p-color-bg-fill-critical),var(--p-color-bg-fill-critical))}.Polaris-RangeSlider-DualThumb__Prefix{flex:0 0 auto;margin-right:var(--p-space-200)}.Polaris-RangeSlider-DualThumb__Suffix{flex:0 0 auto;margin-left:var(--p-space-200)}.Polaris-RangeSlider-DualThumb__Output{--pc-range-slider-output-spacing:var(--p-space-400);position:absolute;z-index:var(--pc-range-slider-output);bottom:1.5rem;opacity:0;visibility:hidden;pointer-events:none;transition-property:opacity,visibility,bottom;transition-duration:var(--p-motion-duration-150);transition-timing-function:var(--p-motion-ease);transform:translate(calc(-50% + var(--pc-range-slider-thumb-size)/2))}.Polaris-RangeSlider-DualThumb__Thumbs:active+.Polaris-RangeSlider-DualThumb__Output{opacity:1;visibility:visible;bottom:2rem}.Polaris-RangeSlider-DualThumb__OutputBubble{position:relative;display:flex;padding:0 var(--p-space-200);min-width:2rem;height:2rem;background-color:var(--p-color-bg-surface);box-shadow:var(--p-shadow-500);border-radius:var(--p-border-radius-100);transition-property:transform;transition-duration:var(--p-motion-duration-150);transition-timing-function:var(--p-motion-ease)}.Polaris-RangeSlider-DualThumb__Thumbs:hover+.Polaris-RangeSlider-DualThumb__Output .Polaris-RangeSlider-DualThumb__OutputBubble,.Polaris-RangeSlider-DualThumb__Thumbs:active+.Polaris-RangeSlider-DualThumb__Output .Polaris-RangeSlider-DualThumb__OutputBubble,.Polaris-RangeSlider-DualThumb__Thumbs:focus+.Polaris-RangeSlider-DualThumb__Output .Polaris-RangeSlider-DualThumb__OutputBubble{transform:translateY(calc(var(--pc-range-slider-output-spacing)*-1))}@media (min-width: 48em){.Polaris-RangeSlider-DualThumb__Thumbs:hover+.Polaris-RangeSlider-DualThumb__Output .Polaris-RangeSlider-DualThumb__OutputBubble,.Polaris-RangeSlider-DualThumb__Thumbs:active+.Polaris-RangeSlider-DualThumb__Output .Polaris-RangeSlider-DualThumb__OutputBubble,.Polaris-RangeSlider-DualThumb__Thumbs:focus+.Polaris-RangeSlider-DualThumb__Output .Polaris-RangeSlider-DualThumb__OutputBubble{transform:translateY(calc((var(--pc-range-slider-output-spacing)*.5)*-1))}}.Polaris-RangeSlider-DualThumb__OutputBubble>:first-child{display:block;flex:1 1 auto;margin:auto}.Polaris-RangeSlider-SingleThumb{display:flex;align-items:center}.Polaris-RangeSlider-SingleThumb.Polaris-RangeSlider-SingleThumb--disabled{opacity:.8}.Polaris-RangeSlider-SingleThumb__InputWrapper{position:relative;display:flex;align-items:center;flex:1 1 auto;height:var(--pc-range-slider-thumb-size)}.Polaris-RangeSlider-SingleThumb__InputWrapper input{padding:var(--p-space-300) 0;background-color:transparent;cursor:pointer}@media (max-width: 30.6225em){.Polaris-RangeSlider-SingleThumb__InputWrapper{height:2.75rem}}.Polaris-RangeSlider-SingleThumb--disabled input{cursor:not-allowed}.Polaris-RangeSlider-SingleThumb__Prefix{flex:0 0 auto;margin-right:var(--p-space-200)}.Polaris-RangeSlider-SingleThumb__Suffix{flex:0 0 auto;margin-left:var(--p-space-200)}.Polaris-RangeSlider-SingleThumb__Input{--pc-range-slider-min: initial;--pc-range-slider-max: initial;--pc-range-slider-current: initial;--pc-range-slider-progess: initial;--pc-range-slider-output-factor: initial;--pc-single-thumb-progress-lower:var(--p-color-bg-fill-brand);--pc-single-thumb-progress-upper:transparent;--pc-single-thumb-gradient-colors:var(--pc-single-thumb-progress-lower) 0%, var(--pc-single-thumb-progress-lower) var(--pc-range-slider-progress), var(--pc-single-thumb-progress-upper) var(--pc-range-slider-progress), var(--pc-single-thumb-progress-upper) 100%;position:relative;z-index:var(--pc-range-slider-input);flex:1 1 auto;margin:0;padding:0;width:100%;background-color:transparent;-webkit-appearance:none;-moz-appearance:none;appearance:none}.Polaris-RangeSlider-SingleThumb__Input::-ms-tooltip{display:none}.Polaris-RangeSlider-SingleThumb__Input:focus{outline:0}.Polaris-RangeSlider-SingleThumb__Input::-moz-focus-outer{border:0}.Polaris-RangeSlider-SingleThumb__Input::-ms-track{outline:var(--p-border-width-025) solid transparent}.Polaris-RangeSlider-SingleThumb__Input::-ms-track{cursor:pointer;width:100%;height:var(--pc-range-slider-track-height);background-image:linear-gradient(to right,var(--pc-single-thumb-gradient-colors));border:none;border-radius:var(--pc-range-slider-track-height)}.Polaris-RangeSlider-SingleThumb__Input::-moz-range-track{cursor:pointer;width:100%;height:var(--pc-range-slider-track-height);background-image:linear-gradient(to right,var(--pc-single-thumb-gradient-colors));border:none;border-radius:var(--pc-range-slider-track-height)}.Polaris-RangeSlider-SingleThumb__Input::-webkit-slider-runnable-track{cursor:pointer;width:100%;height:var(--pc-range-slider-track-height);background-image:linear-gradient(to right,var(--pc-single-thumb-gradient-colors));border:none;border-radius:var(--pc-range-slider-track-height)}.Polaris-RangeSlider-SingleThumb__Input::-ms-thumb{cursor:-webkit-grab;width:var(--pc-range-slider-thumb-size);height:var(--pc-range-slider-thumb-size);border:var(--p-border-width-025) solid transparent;border-radius:var(--p-border-radius-full);background:linear-gradient(var(--p-color-bg-fill-brand),var(--p-color-bg-fill-brand));box-shadow:0 0 0 0 var(--p-color-border-focus);-webkit-appearance:none;-moz-appearance:none;appearance:none;-ms-transition-property:border-color,transform;transition-property:border-color,transform;transition-duration:var(--p-motion-duration-200);transition-timing-function:var(--p-motion-ease);margin-top:calc((var(--pc-range-slider-thumb-size) - var(--pc-range-slider-track-height))*-1/2)}.Polaris-RangeSlider-SingleThumb__Input::-ms-thumb:hover{background:linear-gradient(var(--p-color-bg-fill-brand),var(--p-color-bg-fill-brand))}.Polaris-RangeSlider-SingleThumb__Input::-moz-range-thumb{cursor:-webkit-grab;width:var(--pc-range-slider-thumb-size);height:var(--pc-range-slider-thumb-size);border:var(--p-border-width-025) solid transparent;border-radius:var(--p-border-radius-full);background:linear-gradient(var(--p-color-bg-fill-brand),var(--p-color-bg-fill-brand));box-shadow:0 0 0 0 var(--p-color-border-focus);-webkit-appearance:none;-moz-appearance:none;appearance:none;-moz-transition-property:border-color,transform;transition-property:border-color,transform;transition-duration:var(--p-motion-duration-200);transition-timing-function:var(--p-motion-ease);margin-top:calc((var(--pc-range-slider-thumb-size) - var(--pc-range-slider-track-height))*-1/2)}.Polaris-RangeSlider-SingleThumb__Input::-moz-range-thumb:hover{background:linear-gradient(var(--p-color-bg-fill-brand),var(--p-color-bg-fill-brand))}.Polaris-RangeSlider-SingleThumb__Input::-webkit-slider-thumb{cursor:-webkit-grab;width:var(--pc-range-slider-thumb-size);height:var(--pc-range-slider-thumb-size);border:var(--p-border-width-025) solid transparent;border-radius:var(--p-border-radius-full);background:linear-gradient(var(--p-color-bg-fill-brand),var(--p-color-bg-fill-brand));box-shadow:0 0 0 0 var(--p-color-border-focus);-webkit-appearance:none;-moz-appearance:none;appearance:none;-webkit-transition-property:border-color,transform;transition-property:border-color,transform;transition-duration:var(--p-motion-duration-200);transition-timing-function:var(--p-motion-ease);margin-top:calc((var(--pc-range-slider-thumb-size) - var(--pc-range-slider-track-height))*-1/2)}.Polaris-RangeSlider-SingleThumb__Input::-webkit-slider-thumb:hover{background:linear-gradient(var(--p-color-bg-fill-brand),var(--p-color-bg-fill-brand))}.Polaris-RangeSlider-SingleThumb__Input::-ms-thumb{margin-top:0;transform:translateY(calc(var(--pc-range-slider-thumb-size)*.2)) scale(.4)}.Polaris-RangeSlider-SingleThumb__Input::-webkit-slider-thumb{margin-top:calc((var(--pc-range-slider-thumb-size) - var(--pc-range-slider-track-height))*-.5)}.Polaris-RangeSlider-SingleThumb__Input:active::-ms-thumb{transform:scale(1.5)}.Polaris-RangeSlider-SingleThumb__Input:active::-moz-range-thumb{transform:scale(1.5)}.Polaris-RangeSlider-SingleThumb__Input:active::-webkit-slider-thumb{transform:scale(1.5)}.Polaris-RangeSlider-SingleThumb__Input:focus{outline:var(--p-border-width-025) solid transparent}.Polaris-RangeSlider-SingleThumb__Input:focus::-ms-thumb{border-color:var(--p-color-bg-surface);box-shadow:0 0 0 var(--p-border-width-050) var(--p-color-border-focus)}.Polaris-RangeSlider-SingleThumb__Input:focus::-moz-range-thumb{border-color:var(--p-color-bg-surface);box-shadow:0 0 0 var(--p-border-width-050) var(--p-color-border-focus)}.Polaris-RangeSlider-SingleThumb__Input:focus::-webkit-slider-thumb{border-color:var(--p-color-bg-surface);box-shadow:0 0 0 var(--p-border-width-050) var(--p-color-border-focus)}.Polaris-RangeSlider-SingleThumb--error .Polaris-RangeSlider-SingleThumb__Input{--pc-single-thumb-progress-lower:var(--p-color-bg-fill-critical)}.Polaris-RangeSlider-SingleThumb--error .Polaris-RangeSlider-SingleThumb__Input::-ms-thumb{border-color:var(--p-color-bg-fill-critical);background:var(--p-color-bg-fill-critical)}.Polaris-RangeSlider-SingleThumb--error .Polaris-RangeSlider-SingleThumb__Input::-moz-range-thumb{border-color:var(--p-color-bg-fill-critical);background:var(--p-color-bg-fill-critical)}.Polaris-RangeSlider-SingleThumb--error .Polaris-RangeSlider-SingleThumb__Input::-webkit-slider-thumb{border-color:var(--p-color-bg-fill-critical);background:var(--p-color-bg-fill-critical)}.Polaris-RangeSlider-SingleThumb--disabled .Polaris-RangeSlider-SingleThumb__Input::-ms-track{outline:var(--p-border-width-025) solid transparent}.Polaris-RangeSlider-SingleThumb--disabled .Polaris-RangeSlider-SingleThumb__Input::-ms-track{cursor:auto;background-image:none;background-color:var(--p-color-border-disabled)}.Polaris-RangeSlider-SingleThumb--disabled .Polaris-RangeSlider-SingleThumb__Input::-moz-range-track{cursor:auto;background-image:none;background-color:var(--p-color-border-disabled)}.Polaris-RangeSlider-SingleThumb--disabled .Polaris-RangeSlider-SingleThumb__Input::-webkit-slider-runnable-track{cursor:auto;background-image:none;background-color:var(--p-color-border-disabled)}.Polaris-RangeSlider-SingleThumb--disabled .Polaris-RangeSlider-SingleThumb__Input::-ms-thumb{cursor:not-allowed;border-color:var(--p-color-border-disabled);background:var(--p-color-border-disabled)}.Polaris-RangeSlider-SingleThumb--disabled .Polaris-RangeSlider-SingleThumb__Input::-moz-range-thumb{cursor:not-allowed;border-color:var(--p-color-border-disabled);background:var(--p-color-border-disabled)}.Polaris-RangeSlider-SingleThumb--disabled .Polaris-RangeSlider-SingleThumb__Input::-webkit-slider-thumb{cursor:not-allowed;border-color:var(--p-color-border-disabled);background:var(--p-color-border-disabled)}.Polaris-RangeSlider-SingleThumb__Output{--pc-range-slider-output-spacing:var(--p-space-400);position:absolute;z-index:var(--pc-range-slider-output);bottom:var(--pc-range-slider-thumb-size);left:var(--pc-range-slider-progress);transform:translate(calc(-50% + var(--pc-range-slider-output-factor)*var(--pc-range-slider-thumb-size)));opacity:0;visibility:hidden;pointer-events:none;transition-property:opacity,visibility,bottom;transition-duration:var(--p-motion-duration-200);transition-timing-function:var(--p-motion-ease)}.Polaris-RangeSlider-SingleThumb__Input:active+.Polaris-RangeSlider-SingleThumb__Output{opacity:1;visibility:visible;bottom:calc(var(--pc-range-slider-thumb-size) + .5rem)}.Polaris-RangeSlider-SingleThumb__OutputBubble{position:relative;display:flex;box-shadow:var(--p-shadow-500);padding:0 var(--p-space-200);min-width:2rem;height:2rem;background-color:var(--p-color-bg-surface);border-radius:var(--p-border-radius-100);transition-property:transform;transition-duration:var(--p-motion-duration-200);transition-timing-function:var(--p-motion-ease);outline:var(--p-border-width-025) solid transparent}.Polaris-RangeSlider-SingleThumb__Input:hover+.Polaris-RangeSlider-SingleThumb__Output .Polaris-RangeSlider-SingleThumb__OutputBubble,.Polaris-RangeSlider-SingleThumb__Input:active+.Polaris-RangeSlider-SingleThumb__Output .Polaris-RangeSlider-SingleThumb__OutputBubble,.Polaris-RangeSlider-SingleThumb__Input:focus+.Polaris-RangeSlider-SingleThumb__Output .Polaris-RangeSlider-SingleThumb__OutputBubble{transform:translateY(calc(var(--pc-range-slider-output-spacing)*-1))}@media (min-width: 48em){.Polaris-RangeSlider-SingleThumb__Input:hover+.Polaris-RangeSlider-SingleThumb__Output .Polaris-RangeSlider-SingleThumb__OutputBubble,.Polaris-RangeSlider-SingleThumb__Input:active+.Polaris-RangeSlider-SingleThumb__Output .Polaris-RangeSlider-SingleThumb__OutputBubble,.Polaris-RangeSlider-SingleThumb__Input:focus+.Polaris-RangeSlider-SingleThumb__Output .Polaris-RangeSlider-SingleThumb__OutputBubble{transform:translateY(calc((var(--pc-range-slider-output-spacing)*.4)*-1))}}.Polaris-RangeSlider-SingleThumb__OutputBubble>:first-child{display:block;flex:1 1 auto;margin:auto}.Polaris-ResourceItem{--pc-resource-item-min-height:2.75rem;--pc-resource-item-disclosure-width:3rem;--pc-resource-item-offset:2.375rem;--pc-resource-item-clickable-stacking-order:1;--pc-resource-item-content-stacking-order:2;--pc-resource-item-action-unhide-clip:auto;--pc-resource-item-action-hide-clip:rect(0, 0, 0, 0);--pc-resource-item-action-unhide-overflow:visible;--pc-resource-item-action-hide-overflow:hidden;outline:none;cursor:pointer}.Polaris-ResourceItem:hover{background-color:var(--p-color-bg-surface-secondary-hover)}.Polaris-ResourceItem:hover .Polaris-ResourceItem__Actions>*{clip:var(--pc-resource-item-action-unhide-clip);overflow:var(--pc-resource-item-action-unhide-overflow)}.Polaris-ResourceItem:active{background-color:var(--p-color-bg-surface-active)}.Polaris-ResourceItem__ItemWrapper{overflow:hidden;max-width:100%}.Polaris-ResourceItem__CheckboxWrapper{z-index:var(--pc-resource-item-content-stacking-order);display:flex;align-items:inherit;height:100%}.Polaris-ResourceItem--focusedInner,.Polaris-ResourceItem--focusedInner.Polaris-ResourceItem--focused,.Polaris-ResourceItem--focusedInner.Polaris-ResourceItem--focused.Polaris-ResourceItem--selected{box-shadow:none}.Polaris-ResourceItem__Link,.Polaris-ResourceItem__Button{position:absolute;z-index:var(--pc-resource-item-clickable-stacking-order);top:0;left:0;height:100%;width:100%;opacity:0}.Polaris-ResourceItem__Button{padding:0;border:none}.Polaris-ResourceItem--selectable{width:100%;margin-right:0}.Polaris-ResourceItem--disabled{cursor:default;color:var(--p-color-text-secondary)}.Polaris-ResourceItem--disabled:hover{background-color:transparent}.Polaris-ResourceItem__Actions>*{clip:var(--pc-resource-item-action-hide-clip);overflow:var(--pc-resource-item-action-hide-overflow)}.Polaris-ResourceItem--focused .Polaris-ResourceItem__Actions>*{clip:var(--pc-resource-item-action-unhide-clip);overflow:var(--pc-resource-item-action-unhide-overflow)}.Polaris-ResourceItem--selected{background-color:var(--p-color-bg-surface-brand-selected)}.Polaris-ResourceItem--selected:hover{background-color:var(--p-color-bg-surface-brand-hover)}.Polaris-ResourceItem--selected:active{background-color:var(--p-color-bg-surface-brand-active)}.Polaris-ResourceItem__ListItem{position:relative}.Polaris-ResourceItem__ListItem:after{content:"";position:absolute;z-index:1;top:0rem;right:0rem;bottom:0rem;left:0rem;display:block;pointer-events:none;box-shadow:0 0 0 0 var(--p-color-border-focus);border-radius:var(--p-border-radius-100)}.Polaris-ResourceItem__ListItem+.Polaris-ResourceItem__ListItem{border-top:var(--pc-resource-list-separator-border)}.Polaris-ResourceItem__ListItem.Polaris-ResourceItem--focused{outline:var(--p-border-width-050) solid var(--p-color-border-focus);outline-offset:calc(var(--p-space-050)*-1);z-index:var(--pc-resource-item-clickable-stacking-order);border-radius:var(--p-border-radius-0)}.Polaris-ResourceItem__ListItem.Polaris-ResourceItem--focused:after{content:none}@media (min-width: 30.625em){.Polaris-ResourceItem__ListItem.Polaris-ResourceItem--focused{border-radius:var(--p-border-radius-300)}.Polaris-ResourceItem__ListItem.Polaris-ResourceItem--focused:first-of-type{border-bottom-left-radius:var(--p-border-radius-0);border-bottom-right-radius:var(--p-border-radius-0)}.Polaris-ResourceItem__ListItem.Polaris-ResourceItem--focused:last-of-type{border-top-left-radius:var(--p-border-radius-0);border-top-right-radius:var(--p-border-radius-0)}}.Polaris-ResourceItem__ListItem.Polaris-ResourceItem--focused:only-child{border-radius:var(--p-border-radius-0)}@media (min-width: 30.625em){.Polaris-ResourceItem__ListItem.Polaris-ResourceItem--focused:only-child{border-radius:var(--p-border-radius-300)}}.Polaris-ResourceItem__ListItem.Polaris-ResourceItem--focused.Polaris-ResourceItem--selectable{border-radius:var(--p-border-radius-0)}@media (min-width: 30.625em){.Polaris-ResourceItem__ListItem.Polaris-ResourceItem--focused.Polaris-ResourceItem--selectable:last-child{border-bottom-left-radius:var(--p-border-radius-300);border-bottom-right-radius:var(--p-border-radius-300)}.Polaris-ResourceItem__ListItem.Polaris-ResourceItem--focused.Polaris-ResourceItem--selectable.Polaris-ResourceItem--hasBulkActions.Polaris-ResourceItem--selected:last-child{border-bottom-left-radius:var(--p-border-radius-0);border-bottom-right-radius:var(--p-border-radius-0)}}.Polaris-Select{--pc-select-backdrop:10;--pc-select-content:20;--pc-select-input:30;position:relative}.Polaris-Select select::-ms-expand{display:none}.Polaris-Select:not(.Polaris-Select--disabled):not(.Polaris-Select--error):hover .Polaris-Select__Backdrop{border-color:var(--p-color-input-border-hover);background-color:var(--p-color-input-bg-surface-hover)}.Polaris-Select:not(.Polaris-Select--disabled):not(.Polaris-Select--error) .Polaris-Select__Input:active~.Polaris-Select__Backdrop{border:none;box-shadow:var(--p-shadow-inset-200);background-color:var(--p-color-input-bg-surface-active)}.Polaris-Select--disabled .Polaris-Select__Content{color:var(--p-color-text-disabled)}.Polaris-Select--disabled .Polaris-Select__InlineLabel{color:inherit}.Polaris-Select--disabled .Polaris-Select__Icon svg{fill:var(--p-color-icon-disabled)}.Polaris-Select--disabled .Polaris-Select__Backdrop{border-color:var(--p-color-border-disabled);background-color:var(--p-color-bg-surface-disabled)}.Polaris-Select--disabled .Polaris-Select__Backdrop:before{background-color:var(--p-color-input-bg-surface)}.Polaris-Select--disabled .Polaris-Select__Backdrop:hover{cursor:default}.Polaris-Select__Content{font-size:var(--p-font-size-325);font-weight:var(--p-font-weight-regular);line-height:var(--p-font-line-height-500);border:none;letter-spacing:initial;position:relative;z-index:var(--pc-select-content);display:flex;align-items:center;width:100%;min-height:var(--pg-control-height);padding:var(--p-space-150) var(--p-space-200) var(--p-space-150) var(--p-space-300)}.Polaris-Select__SelectedOption{flex:1 1;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.Polaris-Select__Prefix{padding-right:var(--p-space-100)}.Polaris-Select__Icon svg{fill:var(--p-color-icon-secondary)}.Polaris-Select__Input{font-size:var(--p-font-size-325);font-weight:var(--p-font-weight-regular);line-height:var(--p-font-line-height-500);font-family:var(--p-font-family-sans);letter-spacing:initial;position:absolute;text-rendering:auto;top:0;left:0;z-index:var(--pc-select-input);width:100%;height:100%;margin:0;opacity:0;-webkit-appearance:none;-moz-appearance:none;appearance:none;border:none;padding:var(--p-space-150) var(--p-space-200) var(--p-space-150) var(--p-space-300)}.Polaris-Select__Backdrop{z-index:var(--pc-select-backdrop);top:0;right:0;bottom:0;left:0;border:var(--p-border-width-0165) solid var(--p-color-input-border);border-radius:var(--p-border-radius-200);background-color:var(--p-color-input-bg-surface);position:absolute}.Polaris-Select--error .Polaris-Select__Backdrop{border-color:var(--p-color-border-critical-secondary);background-color:var(--p-color-bg-surface-critical)}.Polaris-Select--error .Polaris-Select__Backdrop.Polaris-Select--hover,.Polaris-Select--error .Polaris-Select__Backdrop:hover{border-color:var(--p-color-border-critical)}.Polaris-Select--error .Polaris-Select__Input:focus-visible~.Polaris-Select__Backdrop{border-color:var(--p-color-border-critical-secondary);border-width:var(--p-border-width-025);background-color:var(--p-color-bg-surface-critical)}.Polaris-Select__Input:focus-visible~.Polaris-Select__Backdrop{border-color:var(--p-color-input-border-active);border-width:var(--p-border-width-025);background-color:var(--p-color-input-bg-surface-active);outline:var(--p-border-width-050) solid var(--p-color-border-focus);outline-offset:var(--p-space-025)}.Polaris-Select--toneMagic .Polaris-Select__Content{color:var(--p-color-text-magic)}.Polaris-Select--toneMagic .Polaris-Select__InlineLabel{color:inherit}.Polaris-Select--toneMagic .Polaris-Select__Backdrop{border-color:var(--p-color-border-magic-secondary);background-color:var(--p-color-bg-surface-magic)}.Polaris-Select--toneMagic .Polaris-Select__Icon svg{fill:var(--p-color-icon-magic)}.Polaris-Select--toneMagic:not(.Polaris-Select--disabled):not(.Polaris-Select--error):not(:focus-within):hover .Polaris-Select__Backdrop{border-color:var(--p-color-border-magic-secondary-hover);background-color:var(--p-color-bg-surface-magic-hover)}.Polaris-Select--toneMagic:not(.Polaris-Select--disabled):not(.Polaris-Select--error) .Polaris-Select__Input:focus-visible~.Polaris-Select__Content{color:var(--p-color-text)}.Polaris-Select--toneMagic:not(.Polaris-Select--disabled):not(.Polaris-Select--error) .Polaris-Select__Input:focus-visible~.Polaris-Select__Content .Polaris-Select__Icon svg{fill:var(--p-color-icon-secondary)}@media (-ms-high-contrast: active){.Polaris-Select__Content{color:windowText;-ms-high-contrast-adjust:none}.Polaris-Select__InlineLabel{color:inherit}.Polaris-Select__InlineLabel:after{content:":"}.Polaris-Select__SelectedOption{color:inherit}.Polaris-Select__Icon svg{fill:buttonText}.Polaris-Select__Backdrop:after{display:none}.Polaris-Select__Input:focus~.Polaris-Select__Content{color:highlightText}.Polaris-Select__Input:focus~.Polaris-Select__Backdrop{background-color:highlight}.Polaris-Select--disabled .Polaris-Select__Content{color:grayText}.Polaris-Select--disabled .Polaris-Select__Icon{opacity:1}.Polaris-Select--disabled .Polaris-Select__Icon svg{fill:grayText}}.Polaris-ResourceList__FiltersWrapper{padding:var(--p-space-300)}.Polaris-ResourceList__FiltersWrapper+.Polaris-ResourceList__ResourceListWrapper>:first-child:is(.Polaris-ResourceList){border-top:var(--pc-resource-list-separator-border)}.Polaris-ResourceList__HeaderOuterWrapper{position:relative;background-color:var(--p-color-bg-surface);z-index:var(--pc-resource-list-header-outer-wrapper-stacking-order);border-top-left-radius:var(--p-border-radius-200);border-top-right-radius:var(--p-border-radius-200)}.Polaris-ResourceList__HeaderOuterWrapper+.Polaris-ResourceList,.Polaris-ResourceList__HeaderOuterWrapper+.Polaris-ResourceList__BulkActionsWrapper+.Polaris-ResourceList{border-top:var(--pc-resource-list-separator-border)}.Polaris-ResourceList__HeaderWrapper--disabled{pointer-events:none}.Polaris-ResourceList__HeaderWrapper--overlay{position:absolute;top:0;right:0;bottom:0;left:0;z-index:var(--pc-resource-list-header-overlay-stacking-order);background-color:#ffffff80}.Polaris-ResourceList__FiltersWrapper+.Polaris-ResourceList__ResourceListWrapper>.Polaris-ResourceList__HeaderOuterWrapper{margin-top:calc(var(--p-space-400)*-1)}.Polaris-ResourceList__HeaderWrapper{position:relative;display:flex;width:100%;background-color:var(--p-color-bg-surface);border-radius:var(--p-border-radius-200);min-height:3.25rem;align-items:center;padding:var(--p-space-200) var(--p-space-300)}@media (min-width: 48em){.Polaris-ResourceList__HeaderWrapper{min-height:3rem}}.Polaris-ResourceList__HeaderWrapper--isSticky{box-shadow:var(--p-shadow-100);border-radius:0}.Polaris-ResourceList__HeaderContentWrapper{position:absolute;z-index:var(--pc-resource-list-content-wrapper-stacking-order);right:var(--p-space-300);left:var(--p-space-300);top:0;bottom:0;display:flex;min-height:var(--pg-control-height);opacity:1;transition:opacity var(--p-motion-ease) var(--p-motion-duration-200);align-items:center}.Polaris-ResourceList__HeaderWrapper--inSelectMode .Polaris-ResourceList__HeaderContentWrapper{opacity:0}.Polaris-ResourceList__SortWrapper,.Polaris-ResourceList__AlternateToolWrapper{position:relative;display:flex;flex:1 1;align-items:center}.Polaris-ResourceList__HeaderWrapper--hasSelect .Polaris-ResourceList__SortWrapper,.Polaris-ResourceList__HeaderWrapper--hasSelect .Polaris-ResourceList__AlternateToolWrapper{padding-right:var(--p-space-200)}@media (min-width: 30.625em){.Polaris-ResourceList__SortWrapper,.Polaris-ResourceList__AlternateToolWrapper{position:relative;left:auto;flex:0 1 auto;margin-left:var(--p-space-400)}.Polaris-ResourceList__HeaderWrapper--hasAlternateTool.Polaris-ResourceList__HeaderWrapper--hasSelect .Polaris-ResourceList__SortWrapper,.Polaris-ResourceList__HeaderWrapper--hasAlternateTool.Polaris-ResourceList__HeaderWrapper--hasSelect .Polaris-ResourceList__AlternateToolWrapper,.Polaris-ResourceList__HeaderWrapper--hasSort.Polaris-ResourceList__HeaderWrapper--hasSelect .Polaris-ResourceList__SortWrapper,.Polaris-ResourceList__HeaderWrapper--hasSort.Polaris-ResourceList__HeaderWrapper--hasSelect .Polaris-ResourceList__AlternateToolWrapper{padding-right:0}}.Polaris-ResourceList__SortWrapper{min-width:0;max-width:100%}.Polaris-ResourceList__SortWrapper>*{max-width:100%}.Polaris-ResourceList__HeaderTitleWrapper{white-space:nowrap;text-overflow:ellipsis;flex:1 1;align-self:center}.Polaris-ResourceList__HeaderWrapper--hasAlternateTool .Polaris-ResourceList__HeaderTitleWrapper,.Polaris-ResourceList__HeaderWrapper--hasSort .Polaris-ResourceList__HeaderTitleWrapper{display:none}@media (min-width: 30.625em){.Polaris-ResourceList__HeaderWrapper--hasSelect .Polaris-ResourceList__HeaderTitleWrapper,.Polaris-ResourceList__HeaderWrapper--hasAlternateTool.Polaris-ResourceList__HeaderWrapper--hasSelect .Polaris-ResourceList__HeaderTitleWrapper,.Polaris-ResourceList__HeaderWrapper--hasSort.Polaris-ResourceList__HeaderWrapper--hasSelect .Polaris-ResourceList__HeaderTitleWrapper{display:none}.Polaris-ResourceList__HeaderWrapper--hasAlternateTool .Polaris-ResourceList__HeaderTitleWrapper,.Polaris-ResourceList__HeaderWrapper--hasSort .Polaris-ResourceList__HeaderTitleWrapper{display:block}}.Polaris-ResourceList__SelectAllActionsWrapper{z-index:var(--pc-resource-list-bulk-actions-wrapper-stacking-order);position:absolute;left:0;width:100%;display:flex;align-items:center}@media (min-width: 30.625em){.Polaris-ResourceList__SelectAllActionsWrapper{flex:0 1 auto;align-self:flex-start}}.Polaris-ResourceList__SelectAllActionsWrapperSticky{position:fixed;top:auto;bottom:0}.Polaris-ResourceList__SelectAllActionsWrapperAtEnd{opacity:0;transition:opacity var(--p-motion-duration-100) var(--p-motion-ease)}.Polaris-ResourceList__SelectAllActionsWrapperAtEndAppear{opacity:1}.Polaris-ResourceList__BulkActionsWrapper{position:relative;z-index:var(--pc-resource-list-bulk-actions-wrapper-stacking-order);width:100%;visibility:hidden;opacity:0;transition:opacity var(--p-motion-duration-100) var(--p-motion-ease),visibility var(--p-motion-duration-100) var(--p-motion-ease)}.Polaris-ResourceList__BulkActionsWrapper.Polaris-ResourceList__BulkActionsWrapperVisible{visibility:visible;opacity:1}.Polaris-ResourceList__PaginationWrapper{z-index:var(--pc-pagination-index)}@media (min-width: 48em){.Polaris-ResourceList__PaginationWrapper{position:sticky;bottom:0}}.Polaris-ResourceList__CheckableButtonWrapper{display:none;height:100%}@media (min-width: 30.625em){.Polaris-ResourceList__CheckableButtonWrapper{flex:1 1;display:block}}.Polaris-ResourceList__SelectButtonWrapper{position:relative;flex:none}@media (min-width: 30.625em){.Polaris-ResourceList__SelectButtonWrapper{display:none}}.Polaris-ResourceList__EmptySearchResultWrapper{padding-top:var(--p-space-800);padding-bottom:var(--p-space-800)}@media (min-height: 37.5em){.Polaris-ResourceList__EmptySearchResultWrapper{padding-top:var(--p-space-1600);padding-bottom:var(--p-space-1600)}}.Polaris-ResourceList__ResourceListWrapper{--pc-resource-list-stacking-order:1;--pc-resource-list-content-wrapper-stacking-order:1;--pc-resource-list-overlay-stacking-order:3;--pc-resource-list-header-overlay-stacking-order:4;--pc-resource-list-spinner-stacking-order:4;--pc-pagination-index:30;--pc-resource-list-bulk-actions-wrapper-stacking-order:31;--pc-resource-list-header-outer-wrapper-stacking-order:31;--pc-resource-list-separator-border:var(--p-border-width-025) solid var(--p-color-border);position:relative}.Polaris-ResourceList{position:relative;z-index:var(--pc-resource-list-stacking-order);margin:0;padding:0;list-style:none}.Polaris-ResourceList__ItemWrapper{position:relative;z-index:var(--pc-resource-list-stacking-order);overflow:hidden;max-width:100%}.Polaris-ResourceList__ItemWrapper+.Polaris-ResourceList__ItemWrapper{border-top:var(--pc-resource-list-separator-border)}.Polaris-ResourceList__ItemWrapper--isLoading{min-height:4rem}.Polaris-ResourceList__SpinnerContainer{position:absolute;top:0;right:0;bottom:0;left:0;z-index:var(--pc-resource-list-spinner-stacking-order);display:flex;justify-content:center}.Polaris-ResourceList__LoadingOverlay{position:absolute;top:0;right:0;bottom:0;left:0;z-index:var(--pc-resource-list-overlay-stacking-order);display:flex;justify-content:center;background-color:#ffffff80}.Polaris-ResourceList__DisabledPointerEvents{pointer-events:none}.Polaris-ResourceList--disableTextSelection{-webkit-user-select:none;user-select:none}.Polaris-SelectAllActions{display:flex;gap:var(--p-space-200);align-items:center;justify-content:flex-start;width:100%;transition:var(--p-motion-duration-100) var(--p-motion-ease);transition-property:transform,opacity}.Polaris-SelectAllActions.Polaris-SelectAllActions--selectAllActionsNotSticky{transform:none;opacity:1}.Polaris-SelectAllActions__SelectAllActions--entering,.Polaris-SelectAllActions__SelectAllActions--exiting{display:flex;opacity:0}.Polaris-SelectAllActions__SelectAllActions--entering:not(:is(.Polaris-SelectAllActions--selectAllActionsNotSticky,.Polaris-SelectAllActions__SelectAllActions--hasPagination)),.Polaris-SelectAllActions__SelectAllActions--exiting:not(:is(.Polaris-SelectAllActions--selectAllActionsNotSticky,.Polaris-SelectAllActions__SelectAllActions--hasPagination)){transform:translateY(100%)}.Polaris-SelectAllActions__SelectAllActions--exited{display:none;opacity:0}.Polaris-SelectAllActions__SelectAllActions--exited:not(:is(.Polaris-SelectAllActions--selectAllActionsNotSticky,.Polaris-SelectAllActions__SelectAllActions--hasPagination)){transform:translateY(100%)}.Polaris-SelectAllActions__SelectAllActions--entered{opacity:1;display:flex;transform:translateY(0)}.Polaris-SelectAllActions__AllAction{border:0;background:none;padding:0;cursor:pointer;color:var(--p-color-text-emphasis);outline:none;position:relative}.Polaris-SelectAllActions__AllAction:after{content:"";position:absolute;z-index:1;top:-.0625rem;right:-.0625rem;bottom:-.0625rem;left:-.0625rem;display:block;pointer-events:none;box-shadow:0 0 0 -.0625rem var(--p-color-border-focus);border-radius:var(--p-border-radius-100)}.Polaris-SelectAllActions__AllAction:hover,.Polaris-SelectAllActions__AllAction:focus{color:var(--p-color-text-emphasis-hover)}.Polaris-SelectAllActions__AllAction:active{color:var(--p-color-text-emphasis-active)}.Polaris-SelectAllActions__AllAction:focus-visible:not(:active):after{box-shadow:0 0 0 .125rem var(--p-color-border-focus);outline:var(--p-border-width-025) solid transparent}.Polaris-SkeletonBodyText__SkeletonBodyTextContainer{width:100%}.Polaris-SkeletonBodyText{height:var(--p-space-200);display:flex;background-color:var(--p-color-bg-fill-tertiary);border-radius:var(--p-border-radius-100)}@media screen and (-ms-high-contrast: active){.Polaris-SkeletonBodyText{background-color:grayText}}.Polaris-SkeletonBodyText:last-child:not(:first-child){width:80%}.Polaris-SkeletonBodyText+.Polaris-SkeletonBodyText{margin-top:var(--p-space-300)}.Polaris-SkeletonDisplayText__DisplayText{--pc-skeleton-display-text-height:var(--p-font-line-height-500);--pc-skeleton-display-text-height-not-condensed:var( --p-font-line-height-500 );max-width:var(--pc-skeleton-display-text-max-width, 120px);display:flex;background-color:var(--p-color-bg-fill-tertiary);border-radius:var(--p-border-radius-100);height:var(--pc-skeleton-display-text-height)}@media screen and (-ms-high-contrast: active){.Polaris-SkeletonDisplayText__DisplayText{background-color:grayText}}@media (min-width: 48em){.Polaris-SkeletonDisplayText__DisplayText{height:var(--pc-skeleton-display-text-height-not-condensed)}}.Polaris-SkeletonDisplayText--sizeSmall{--pc-skeleton-display-text-height:var(--p-font-line-height-600);--pc-skeleton-display-text-height-not-condensed:var( --p-font-line-height-700 )}.Polaris-SkeletonDisplayText--sizeMedium,.Polaris-SkeletonDisplayText--sizeLarge{--pc-skeleton-display-text-height:var(--p-font-line-height-700);--pc-skeleton-display-text-height-not-condensed:var( --p-font-line-height-800 )}.Polaris-SkeletonDisplayText--sizeExtraLarge{--pc-skeleton-display-text-height:2.25rem;--pc-skeleton-display-text-height-not-condensed:2.75rem}:root{--pc-skeleton-page-max-width:62.375rem;--pc-skeleton-page-max-width-narrow:41.375rem}@media screen and (-ms-high-contrast: active){.Polaris-SkeletonPage__SkeletonTitle{background-color:grayText}}.Polaris-SkeletonTabs__Tabs{display:flex;width:100%;overflow:auto}@media (min-width: 48em){.Polaris-SkeletonTabs__Tabs{overflow:visible}}.Polaris-SkeletonTabs__Tab{position:relative;display:flex;align-items:center;height:calc(var(--p-height-800) + var(--p-height-400));padding:var(--p-space-200) var(--p-space-300);margin-right:var(--p-space-100)}.Polaris-SkeletonTabs__Tab:last-child{margin-right:0}@media (min-width: 48em){.Polaris-SkeletonTabs__Tab{height:calc(var(--p-height-700) + var(--p-height-400))}}.Polaris-SkeletonTabs__TabText{width:var(--p-width-1600);height:var(--p-space-300);background-color:var(--p-color-bg-fill-tertiary);border-radius:var(--p-border-radius-100)}@media screen and (-ms-high-contrast: active){.Polaris-SkeletonTabs__TabText{background-color:grayText}}.Polaris-SkeletonTabs--fitted{flex-wrap:nowrap}.Polaris-SkeletonTabs--fitted .Polaris-SkeletonTabs__Tab{justify-content:flex-start}@media (min-width: 48em){.Polaris-SkeletonTabs--fitted .Polaris-SkeletonTabs__Tab{flex:1 1 100%;justify-content:center}}@media (min-width: 48em){.Polaris-SkeletonTabs--fitted .Polaris-SkeletonTabs__TabText{width:100%}}.Polaris-SkeletonThumbnail{--pc-skeleton-thumbnail-extra-small-size:1.5rem;--pc-skeleton-thumbnail-small-size:2.5rem;--pc-skeleton-thumbnail-medium-size:3.75rem;--pc-skeleton-thumbnail-large-size:5rem;display:flex;background-color:var(--p-color-bg-fill-tertiary);border-radius:var(--p-border-radius-200)}@media screen and (-ms-high-contrast: active){.Polaris-SkeletonThumbnail{background-color:grayText}}.Polaris-SkeletonThumbnail--sizeExtraSmall{height:var(--pc-skeleton-thumbnail-extra-small-size);width:var(--pc-skeleton-thumbnail-extra-small-size)}.Polaris-SkeletonThumbnail--sizeSmall{height:var(--pc-skeleton-thumbnail-small-size);width:var(--pc-skeleton-thumbnail-small-size)}.Polaris-SkeletonThumbnail--sizeMedium{height:var(--pc-skeleton-thumbnail-medium-size);width:var(--pc-skeleton-thumbnail-medium-size)}.Polaris-SkeletonThumbnail--sizeLarge{height:var(--pc-skeleton-thumbnail-large-size);width:var(--pc-skeleton-thumbnail-large-size)}.Polaris-Thumbnail{--pc-thumbnail-extra-small-size:1.5rem;--pc-thumbnail-small-size:2.5rem;--pc-thumbnail-medium-size:3.75rem;--pc-thumbnail-large-size:5rem;position:relative;display:block;overflow:hidden;background:var(--p-color-bg-surface);min-width:var(--pc-thumbnail-extra-small-size);max-width:100%;border-radius:var(--p-border-radius-200)}.Polaris-Thumbnail:after{content:"";top:0;left:0;right:0;bottom:0;position:absolute;border-radius:var(--p-border-radius-200);box-shadow:var(--p-shadow-border-inset);display:block;padding-bottom:100%}.Polaris-Thumbnail.Polaris-Thumbnail--sizeExtraSmall,.Polaris-Thumbnail.Polaris-Thumbnail--sizeExtraSmall:after{border-radius:var(--p-border-radius-150)}.Polaris-Thumbnail:before{content:"";display:block;padding-bottom:100%}.Polaris-Thumbnail--sizeExtraSmall{width:var(--pc-thumbnail-extra-small-size)}.Polaris-Thumbnail--sizeSmall{width:var(--pc-thumbnail-small-size)}.Polaris-Thumbnail--sizeMedium{width:var(--pc-thumbnail-medium-size)}.Polaris-Thumbnail--sizeLarge{width:var(--pc-thumbnail-large-size)}.Polaris-Thumbnail--transparent{background:transparent}.Polaris-Thumbnail>*{position:absolute;top:0;right:0;bottom:0;left:0;margin:auto;max-width:100%;max-height:100%;color:var(--p-color-icon-secondary)}.Polaris-Thumbnail>* svg{fill:currentColor}.Polaris-TopBar-SearchDismissOverlay{position:fixed;top:0;left:0;right:0;z-index:var(--p-z-index-7);height:100%}.Polaris-TopBar-SearchDismissOverlay--visible{background-color:transparent;animation:none}.Polaris-TopBar-Search{position:fixed;visibility:hidden;z-index:var(--p-z-index-8);pointer-events:none;top:var(--pg-top-bar-height);left:0;right:0;box-shadow:var(--p-shadow-600);overflow:hidden}@media (min-width: 30.625em){.Polaris-TopBar-Search{position:absolute;top:100%;max-width:36.25rem;margin:var(--p-space-100) var(--p-space-500) 0;border-radius:var(--p-border-radius-200)}}@media (min-width: 48em){.Polaris-TopBar-Search{margin:var(--p-space-100) var(--p-space-800) 0}}.Polaris-TopBar-Search__SearchContent{background-color:var(--p-color-bg-surface)}.Polaris-TopBar-Search--visible{visibility:initial;pointer-events:all}.Polaris-TopBar-Search__Results{position:relative;display:flex;flex-direction:column;max-height:calc(100vh - var(--pg-top-bar-height));margin:0}@media (min-width: 30.625em){.Polaris-TopBar-Search__Results{max-height:60vh}}.Polaris-TopBar-SearchField{--pc-search-field-backdrop:1;--pc-search-field-input:2;--pc-search-field-icon:3;--pc-search-field-action:3;--pc-search-field-icon-size:1.125rem;z-index:var(--p-z-index-11);position:relative;display:flex;flex:1 1 auto;align-items:center;border:var(--p-border-width-025) solid transparent;width:100%}.Polaris-TopBar-SearchField--focused .Polaris-TopBar-SearchField__Input,.Polaris-TopBar-SearchField__Input:focus{color:var(--p-color-text-inverse)}.Polaris-TopBar-SearchField--focused .Polaris-TopBar-SearchField__Input::placeholder,.Polaris-TopBar-SearchField__Input:focus::placeholder{color:var(--p-color-text-inverse-secondary)}.Polaris-TopBar-SearchField__Input:focus-visible~.Polaris-TopBar-SearchField__Backdrop:after{box-shadow:0 0 0 .125rem var(--p-color-border-focus);outline:var(--p-border-width-025) solid transparent}.Polaris-TopBar-SearchField__Input:focus-visible~.Polaris-TopBar-SearchField__BackdropShowFocusBorder{border:var(--p-border-width-025) solid var(--pc-top-bar-border)}.Polaris-TopBar-SearchField__Input:focus-visible~.Polaris-TopBar-SearchField__Icon svg{fill:var(--p-color-icon-secondary)}.Polaris-TopBar-SearchField__Input:focus-visible:not(:active)~.Polaris-TopBar-SearchField__Backdrop{outline:var(--p-border-width-050) solid var(--p-color-border-focus);outline-offset:var(--p-space-050)}.Polaris-TopBar-SearchField__Input:focus-visible:not(:active)~.Polaris-TopBar-SearchField__Icon svg{fill:var(--p-color-icon-secondary)}.Polaris-TopBar-SearchField--focused .Polaris-TopBar-SearchField__BackdropShowFocusBorder{border:var(--p-border-width-025) solid var(--pc-top-bar-border)}.Polaris-TopBar-SearchField--focused .Polaris-TopBar-SearchField__Icon svg{fill:var(--p-color-icon-inverse)}.Polaris-TopBar-SearchField__Input{font-size:var(--p-font-size-325);font-weight:var(--p-font-weight-regular);line-height:var(--p-font-line-height-500);border:none;letter-spacing:initial;z-index:var(--pc-search-field-input);height:2rem;width:100%;padding:0 calc(var(--pc-search-field-icon-size) + var(--p-space-300));border:var(--p-border-width-0165) solid var(--p-color-border-inverse);border-radius:var(--p-border-radius-200);background-color:transparent;outline:none;color:var(--p-color-text-inverse-secondary);-webkit-backface-visibility:hidden;backface-visibility:hidden;will-change:fill,color;transition:fill var(--p-motion-duration-200) var(--p-motion-ease),color var(--p-motion-duration-200) var(--p-motion-ease)}.Polaris-TopBar-SearchField__Input:hover{border-color:var(--p-color-border-inverse-hover)}.Polaris-TopBar-SearchField__Input:active,.Polaris-TopBar-SearchField__Input:focus{box-shadow:inset 0 0 0 var(--p-border-width-025) var(--p-color-border-inverse-active)}.Polaris-TopBar-SearchField__Input::placeholder{color:var(--p-color-text-inverse-secondary)}.Polaris-TopBar-SearchField__Input::-webkit-search-decoration,.Polaris-TopBar-SearchField__Input::-webkit-search-cancel-button{-webkit-appearance:none;-moz-appearance:none;appearance:none}.Polaris-TopBar-SearchField__Icon{position:absolute;z-index:var(--pc-search-field-icon);top:50%;left:var(--p-space-200);display:flex;height:var(--pc-search-field-icon-size);width:var(--pc-search-field-icon-size);pointer-events:none;transform:translateY(-50%)}.Polaris-TopBar-SearchField__Icon svg{fill:var(--p-color-icon-secondary)}.Polaris-TopBar-SearchField__Clear{position:relative;position:absolute;right:var(--p-space-100);z-index:var(--pc-search-field-action);border:none;-webkit-appearance:none;-moz-appearance:none;appearance:none;background:transparent;padding:var(--p-space-100)}.Polaris-TopBar-SearchField__Clear:after{content:"";position:absolute;z-index:1;top:-.0625rem;right:-.0625rem;bottom:-.0625rem;left:-.0625rem;display:block;pointer-events:none;box-shadow:0 0 0 -.0625rem var(--p-color-border-focus);border-radius:var(--p-border-radius-200)}.Polaris-TopBar-SearchField__Clear svg{fill:var(--p-color-icon-secondary)}.Polaris-TopBar-SearchField__Clear:focus,.Polaris-TopBar-SearchField__Clear:hover{outline:none}.Polaris-TopBar-SearchField__Clear:hover svg,.Polaris-TopBar-SearchField__Clear:focus svg{fill:var(--p-color-icon-inverse)}.Polaris-TopBar-SearchField__Clear:focus-visible:after{box-shadow:0 0 0 .125rem var(--p-color-border-focus);outline:var(--p-border-width-025) solid transparent}.Polaris-TopBar-SearchField__Clear:active svg{fill:var(--p-color-icon-active)}.Polaris-TopBar-SearchField__Clear:active:after{border:none}.Polaris-TopBar-SearchField__Backdrop{position:absolute;z-index:var(--pc-search-field-backdrop);top:0;right:0;bottom:0;left:0;background-color:var(--p-color-bg-surface-inverse);border-radius:var(--p-border-radius-200)}.Polaris-TopBar-SearchField__Backdrop:after{content:none}.Polaris-MessageIndicator__MessageIndicatorWrapper{position:relative}.Polaris-MessageIndicator{--pc-message-indicator-size:.75rem;--pc-message-indicator-position:-.1875rem;position:absolute;z-index:1;top:var(--pc-message-indicator-position);right:var(--pc-message-indicator-position);width:var(--pc-message-indicator-size);height:var(--pc-message-indicator-size);border-radius:var(--p-border-radius-full);background-color:var(--p-color-icon-info);border:solid var(--p-border-width-050) var(--p-color-bg)}.Polaris-Menu-Message__Section{max-width:20.3125rem;margin-top:var(--p-space-200);padding-top:var(--p-space-200);border-top:var(--p-border-width-025) solid var(--p-color-border-secondary)}.Polaris-TopBar-Menu__ActivatorWrapper{height:var(--pg-top-bar-height);display:flex;align-items:center}.Polaris-TopBar-Menu__Activator{-webkit-appearance:none;-moz-appearance:none;appearance:none;margin:0;padding:0;background:none;border:none;font-size:inherit;line-height:inherit;color:inherit;color:var(--p-color-text-inverse);position:relative;display:flex;justify-content:center;align-items:center;min-width:auto;min-height:2rem;padding:var(--p-space-150);border:0;cursor:pointer;transition:background-color var(--p-motion-duration-100);margin-right:var(--p-space-200);border-radius:var(--p-border-radius-200);background-color:var(--p-color-bg-fill-inverse)}.Polaris-TopBar-Menu__Activator:focus{outline:none}.Polaris-TopBar-Menu__Activator:after{content:"";position:absolute;z-index:1;top:-.0625rem;right:-.0625rem;bottom:-.0625rem;left:-.0625rem;display:block;pointer-events:none;box-shadow:0 0 0 -.0625rem var(--p-color-border-focus);border-radius:var(--p-border-radius-100)}.Polaris-TopBar-Menu__Activator:focus{background-color:var(--p-color-bg-fill-inverse-hover);outline:none}.Polaris-TopBar-Menu__Activator:focus-visible{outline:var(--p-border-width-050) solid var(--p-color-border-focus);outline-offset:var(--p-space-050)}.Polaris-TopBar-Menu__Activator:focus-visible:after{content:none}.Polaris-TopBar-Menu__Activator:hover{background-color:var(--p-color-bg-fill-inverse-hover)}.Polaris-TopBar-Menu__Activator:active,.Polaris-TopBar-Menu__Activator[aria-expanded=true]{background-color:var(--p-color-bg-fill-inverse-active);outline:none;transition:none}.Polaris-TopBar-Menu__Activator:active:after,.Polaris-TopBar-Menu__Activator[aria-expanded=true]:after{border:none}.Polaris-TopBar-Menu__Activator:active p,.Polaris-TopBar-Menu__Activator[aria-expanded=true] p{color:var(--p-color-text-inverse)}@media (max-width: 47.9975em){.Polaris-TopBar-Menu__Activator{margin-right:var(--p-space-200);background-color:var(--p-color-bg-inverse)}.Polaris-TopBar-Menu__Activator:focus,.Polaris-TopBar-Menu__Activator:hover,.Polaris-TopBar-Menu__Activator:active,.Polaris-TopBar-Menu__Activator[aria-expanded=true]{opacity:.85}}.Polaris-TopBar-Menu__Activator--userMenu{padding:var(--p-space-050)}.Polaris-TopBar-Menu__Section{margin-top:var(--p-space-200);padding-top:var(--p-space-200);border-top:var(--p-border-width-025) solid var(--p-color-border-secondary)}.Polaris-TopBar-UserMenu__Details{max-width:10rem;margin-right:0;padding:0 var(--p-space-200) 0 .625rem}@media (max-width: 47.9975em){.Polaris-TopBar-UserMenu__Details{display:none}}.Polaris-TopBar{position:relative;height:var(--pg-top-bar-height);box-shadow:var(--p-shadow-100);background-color:var(--p-color-bg-inverse);gap:var(--p-space-100)}@media (min-width: 48em){.Polaris-TopBar{gap:var(--p-space-600);grid-template-columns:minmax(15rem,1fr) minmax(auto,30rem) 1fr}}.Polaris-TopBar:after{content:"";position:absolute;bottom:0;width:100%;border-bottom:var(--p-border-width-025) solid transparent}.Polaris-TopBar__Container{display:grid;grid-template-columns:1fr minmax(auto,30rem) 1fr;align-items:center;width:calc(100vw - var(--pc-app-provider-scrollbar-width))}.Polaris-TopBar__LogoDisplayControl{display:none}@media (min-width: 48em){.Polaris-TopBar__LogoDisplayControl{display:flex}}.Polaris-TopBar__LogoDisplayContainer{display:flex}.Polaris-TopBar__LogoContainer{flex:0 0 var(--pg-layout-width-nav-base);align-items:center;height:100%;padding:0 var(--p-space-200) 0 var(--p-space-400);flex-basis:var(--pg-layout-width-nav-base);flex-basis:calc(var(--pg-layout-width-nav-base) + constant(safe-area-inset-left));flex-basis:calc(var(--pg-layout-width-nav-base) + env(safe-area-inset-left));padding-left:var(--p-space-400);padding-left:calc(var(--p-space-400) + constant(safe-area-inset-left));padding-left:calc(var(--p-space-400) + env(safe-area-inset-left))}.Polaris-TopBar__LogoContainer.Polaris-TopBar--hasLogoSuffix{gap:var(--p-space-200)}.Polaris-TopBar__Logo,.Polaris-TopBar__LogoLink{display:block}.Polaris-TopBar__Logo:focus-visible,.Polaris-TopBar__LogoLink:focus-visible{outline:var(--p-border-width-050) solid var(--p-color-border-focus);outline-offset:var(--p-space-150);border-radius:var(--p-border-radius-200)}.Polaris-TopBar__ContextControl{display:none}@media (min-width: 48em){.Polaris-TopBar__ContextControl{width:var(--pg-layout-width-nav-base);display:block}}@media (min-width: 90em){.Polaris-TopBar__ContextControl{width:var(--pg-layout-width-nav-base)}}.Polaris-TopBar__NavigationIcon{-webkit-appearance:none;-moz-appearance:none;appearance:none;margin:0;padding:0;background:none;border:none;font-size:inherit;line-height:inherit;color:inherit;cursor:pointer;position:relative;align-self:center;margin-left:calc(var(--p-space-200) + var(--p-space-050));margin-right:var(--p-space-200);padding:var(--p-space-200);border-radius:var(--p-border-radius-100);color:var(--p-color-icon-inverse);transition:var(--p-motion-duration-150) color var(--p-motion-ease) var(--p-motion-duration-50)}.Polaris-TopBar__NavigationIcon:focus{outline:none}.Polaris-TopBar__NavigationIcon.Polaris-TopBar--focused:active,.Polaris-TopBar__NavigationIcon:hover{background-color:var(--p-color-bg-fill-inverse-hover)}.Polaris-TopBar__NavigationIcon:after{content:"";position:absolute;top:calc(var(--p-space-200)*-1);left:calc(var(--p-space-200)*-1);width:calc(100% + var(--p-space-500));height:calc(100% + var(--p-space-500))}@media (min-width: 48em){.Polaris-TopBar__NavigationIcon{display:none}}.Polaris-TopBar__NavigationIcon .Polaris-TopBar__IconWrapper{position:relative}.Polaris-TopBar__NavigationIcon .Polaris-TopBar__IconWrapper:after{content:"";position:absolute;z-index:1;top:-.4375rem;right:-.4375rem;bottom:-.4375rem;left:-.4375rem;display:block;pointer-events:none;box-shadow:0 0 0 -.4375rem var(--p-color-border-focus);border-radius:var(--p-border-radius-100)}.Polaris-TopBar__NavigationIcon:focus-visible:not(:active) .Polaris-TopBar__IconWrapper:after{box-shadow:0 0 0 .125rem var(--p-color-border-focus);outline:var(--p-border-width-025) solid transparent}.Polaris-TopBar__LeftContent{display:flex}.Polaris-TopBar__Search{z-index:var(--p-z-index-1);display:flex;flex:1 1 auto;align-items:center;justify-content:center;height:100%}@media (min-width: 48em){.Polaris-TopBar__Search{position:relative}}.Polaris-TopBar__RightContent{display:flex;justify-content:flex-end}.Polaris-TopBar__SecondaryMenu{margin-left:var(--p-space-200)}.Polaris-TopBar__SecondaryMenu svg{fill:var(--p-color-icon-inverse)}.Polaris-VideoThumbnail__Thumbnail{position:relative;padding-bottom:56.25%;background-size:cover;background-position:center center;background-repeat:no-repeat;width:100%;height:100%}.Polaris-VideoThumbnail__ThumbnailContainer{position:relative;height:100%}.Polaris-VideoThumbnail__PlayButton{--pc-play-button-focused-state-overlay:rgba(223, 227, 232, .3);position:absolute;top:0;left:0;width:100%;height:100%;padding:0;border:none;background:transparent;transition:opacity var(--p-motion-duration-200) var(--p-motion-ease-in);cursor:pointer}.Polaris-VideoThumbnail__PlayButton:focus{outline:none;box-shadow:inset .125rem 0 0 var(--p-color-border-focus);background-image:linear-gradient(var(--pc-play-button-focused-state-overlay),var(--pc-play-button-focused-state-overlay))}.Polaris-VideoThumbnail__PlayButton:focus .Polaris-VideoThumbnail__Timestamp{background-color:var( --p-color-video-thumbnail-play-button-bg-fill-hover )}.Polaris-VideoThumbnail__PlayButton:hover .Polaris-VideoThumbnail__Timestamp{background-color:var(--p-color-video-thumbnail-play-button-bg-fill-hover)}.Polaris-VideoThumbnail__PlayIcon{fill:var(--p-color-video-thumbnail-play-button-text-on-bg-fill)}.Polaris-VideoThumbnail__Timestamp{position:absolute;bottom:0;padding:var(--p-space-100) var(--p-space-200) var(--p-space-100) var(--p-space-100);margin-bottom:var(--p-space-400);margin-left:var(--p-space-400);border-radius:var(--p-border-radius-200);color:var(--p-color-video-thumbnail-play-button-text-on-bg-fill);background-color:var(--p-color-video-thumbnail-play-button-bg-fill);text-align:center;transition:background-color var(--p-motion-duration-200) var(--p-motion-ease-in)}.Polaris-VideoThumbnail__Progress{position:absolute;bottom:0;width:100%;background-color:var(--p-color-bg-surface);height:.375rem;overflow:hidden}.Polaris-VideoThumbnail__Indicator{height:inherit;width:100%;transform-origin:left;transform:scaleX(0);background-color:var(--p-color-bg-fill-brand);transition:transform var(--p-motion-duration-500) var(--p-motion-ease)}.Polaris-VideoThumbnail__ProgressBar,.Polaris-VideoThumbnail__Label{position:absolute!important;top:0;width:.0625rem!important;height:.0625rem!important;margin:0!important;padding:0!important;overflow:hidden!important;clip-path:inset(50%)!important;border:0!important;white-space:nowrap!important} diff --git a/packages/app/assets/graphiql/extensions/graphiql/assets/index-DXUIzzsu.js b/packages/app/assets/graphiql/extensions/graphiql/assets/index-DXUIzzsu.js new file mode 100644 index 00000000000..504e497f832 --- /dev/null +++ b/packages/app/assets/graphiql/extensions/graphiql/assets/index-DXUIzzsu.js @@ -0,0 +1 @@ +var ee=Object.defineProperty;var te=(e,c,g)=>c in e?ee(e,c,{enumerable:!0,configurable:!0,writable:!0,value:g}):e[c]=g;var $=(e,c,g)=>te(e,typeof c!="symbol"?c+"":c,g);function l(e){return e===null?"null":Array.isArray(e)?"array":typeof e}function h(e){return l(e)==="object"}function re(e){return Array.isArray(e)&&e.length>0&&e.every(c=>"message"in c)}function J(e,c){return e.length<124?e:c}const ne="graphql-transport-ws";var f=(e=>(e[e.InternalServerError=4500]="InternalServerError",e[e.InternalClientError=4005]="InternalClientError",e[e.BadRequest=4400]="BadRequest",e[e.BadResponse=4004]="BadResponse",e[e.Unauthorized=4401]="Unauthorized",e[e.Forbidden=4403]="Forbidden",e[e.SubprotocolNotAcceptable=4406]="SubprotocolNotAcceptable",e[e.ConnectionInitialisationTimeout=4408]="ConnectionInitialisationTimeout",e[e.ConnectionAcknowledgementTimeout=4504]="ConnectionAcknowledgementTimeout",e[e.SubscriberAlreadyExists=4409]="SubscriberAlreadyExists",e[e.TooManyInitialisationRequests=4429]="TooManyInitialisationRequests",e))(f||{}),m=(e=>(e.ConnectionInit="connection_init",e.ConnectionAck="connection_ack",e.Ping="ping",e.Pong="pong",e.Subscribe="subscribe",e.Next="next",e.Error="error",e.Complete="complete",e))(m||{});function H(e){if(!h(e))throw new Error(`Message is expected to be an object, but got ${l(e)}`);if(!e.type)throw new Error("Message is missing the 'type' property");if(typeof e.type!="string")throw new Error(`Message is expects the 'type' property to be a string, but got ${l(e.type)}`);switch(e.type){case"connection_init":case"connection_ack":case"ping":case"pong":{if(e.payload!=null&&!h(e.payload))throw new Error(`"${e.type}" message expects the 'payload' property to be an object or nullish or missing, but got "${e.payload}"`);break}case"subscribe":{if(typeof e.id!="string")throw new Error(`"${e.type}" message expects the 'id' property to be a string, but got ${l(e.id)}`);if(!e.id)throw new Error(`"${e.type}" message requires a non-empty 'id' property`);if(!h(e.payload))throw new Error(`"${e.type}" message expects the 'payload' property to be an object, but got ${l(e.payload)}`);if(typeof e.payload.query!="string")throw new Error(`"${e.type}" message payload expects the 'query' property to be a string, but got ${l(e.payload.query)}`);if(e.payload.variables!=null&&!h(e.payload.variables))throw new Error(`"${e.type}" message payload expects the 'variables' property to be a an object or nullish or missing, but got ${l(e.payload.variables)}`);if(e.payload.operationName!=null&&l(e.payload.operationName)!=="string")throw new Error(`"${e.type}" message payload expects the 'operationName' property to be a string or nullish or missing, but got ${l(e.payload.operationName)}`);if(e.payload.extensions!=null&&!h(e.payload.extensions))throw new Error(`"${e.type}" message payload expects the 'extensions' property to be a an object or nullish or missing, but got ${l(e.payload.extensions)}`);break}case"next":{if(typeof e.id!="string")throw new Error(`"${e.type}" message expects the 'id' property to be a string, but got ${l(e.id)}`);if(!e.id)throw new Error(`"${e.type}" message requires a non-empty 'id' property`);if(!h(e.payload))throw new Error(`"${e.type}" message expects the 'payload' property to be an object, but got ${l(e.payload)}`);break}case"error":{if(typeof e.id!="string")throw new Error(`"${e.type}" message expects the 'id' property to be a string, but got ${l(e.id)}`);if(!e.id)throw new Error(`"${e.type}" message requires a non-empty 'id' property`);if(!re(e.payload))throw new Error(`"${e.type}" message expects the 'payload' property to be an array of GraphQL errors, but got ${JSON.stringify(e.payload)}`);break}case"complete":{if(typeof e.id!="string")throw new Error(`"${e.type}" message expects the 'id' property to be a string, but got ${l(e.id)}`);if(!e.id)throw new Error(`"${e.type}" message requires a non-empty 'id' property`);break}default:throw new Error(`Invalid message 'type' property "${e.type}"`)}return e}function oe(e,c){return H(typeof e=="string"?JSON.parse(e,c):e)}function N(e,c){return H(e),JSON.stringify(e,c)}function pe(e){const{url:c,connectionParams:g,lazy:K=!0,onNonLazyError:R=console.error,lazyCloseTimeout:O=0,keepAlive:q=0,disablePong:V,connectionAckWaitTimeout:W=0,retryAttempts:j=5,retryWait:X=async function(s){const t=Math.pow(2,s);await new Promise(o=>setTimeout(o,t*1e3+Math.floor(Math.random()*2700+300)))},shouldRetry:Y=F,on:n,webSocketImpl:M,generateID:Z=function(){return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,s=>{const t=Math.random()*16|0;return(s=="x"?t:t&3|8).toString(16)})},jsonMessageReplacer:B,jsonMessageReviver:C}=e;let x;if(M){if(!se(M))throw new Error("Invalid WebSocket implementation provided");x=M}else typeof WebSocket<"u"?x=WebSocket:typeof global<"u"?x=global.WebSocket||global.MozWebSocket:typeof window<"u"&&(x=window.WebSocket||window.MozWebSocket);if(!x)throw new Error("WebSocket implementation missing; on Node you can `import WebSocket from 'ws';` and pass `webSocketImpl: WebSocket` to `createClient`");const E=x,u=(()=>{const r=(()=>{const t={};return{on(o,a){return t[o]=a,()=>{delete t[o]}},emit(o){var a;"id"in o&&((a=t[o.id])==null||a.call(t,o))}}})(),s={connecting:n!=null&&n.connecting?[n.connecting]:[],opened:n!=null&&n.opened?[n.opened]:[],connected:n!=null&&n.connected?[n.connected]:[],ping:n!=null&&n.ping?[n.ping]:[],pong:n!=null&&n.pong?[n.pong]:[],message:n!=null&&n.message?[r.emit,n.message]:[r.emit],closed:n!=null&&n.closed?[n.closed]:[],error:n!=null&&n.error?[n.error]:[]};return{onMessage:r.on,on(t,o){const a=s[t];return a.push(o),()=>{a.splice(a.indexOf(o),1)}},emit(t,...o){for(const a of[...s[t]])a(...o)}}})();function z(r){const s=[u.on("error",t=>{s.forEach(o=>o()),r(t)}),u.on("closed",t=>{s.forEach(o=>o()),r(t)})]}let w,b=0,_,I=!1,P=0,G=!1;async function L(){clearTimeout(_);const[r,s]=await(w??(w=new Promise((a,d)=>(async()=>{if(I){if(await X(P),!b)return w=void 0,d({code:1e3,reason:"All Subscriptions Gone"});P++}u.emit("connecting",I);const i=new E(typeof c=="function"?await c():c,ne);let S,T;function A(){isFinite(q)&&q>0&&(clearTimeout(T),T=setTimeout(()=>{i.readyState===E.OPEN&&(i.send(N({type:m.Ping})),u.emit("ping",!1,void 0))},q))}z(y=>{w=void 0,clearTimeout(S),clearTimeout(T),d(y),y instanceof Q&&(i.close(4499,"Terminated"),i.onerror=null,i.onclose=null)}),i.onerror=y=>u.emit("error",y),i.onclose=y=>u.emit("closed",y),i.onopen=async()=>{try{u.emit("opened",i);const y=typeof g=="function"?await g():g;if(i.readyState!==E.OPEN)return;i.send(N(y?{type:m.ConnectionInit,payload:y}:{type:m.ConnectionInit},B)),isFinite(W)&&W>0&&(S=setTimeout(()=>{i.close(f.ConnectionAcknowledgementTimeout,"Connection acknowledgement timeout")},W)),A()}catch(y){u.emit("error",y),i.close(f.InternalClientError,J(y instanceof Error?y.message:String(y),"Internal client error"))}};let k=!1;i.onmessage=({data:y})=>{try{const p=oe(y,C);if(u.emit("message",p),p.type==="ping"||p.type==="pong"){u.emit(p.type,!0,p.payload),p.type==="pong"?A():V||(i.send(N(p.payload?{type:m.Pong,payload:p.payload}:{type:m.Pong})),u.emit("pong",!1,p.payload));return}if(k)return;if(p.type!==m.ConnectionAck)throw new Error(`First message cannot be of type ${p.type}`);clearTimeout(S),k=!0,u.emit("connected",i,p.payload,I),I=!1,P=0,a([i,new Promise((ae,v)=>z(v))])}catch(p){i.onmessage=null,u.emit("error",p),i.close(f.BadResponse,J(p instanceof Error?p.message:String(p),"Bad response"))}}})())));r.readyState===E.CLOSING&&await s;let t=()=>{};const o=new Promise(a=>t=a);return[r,t,Promise.race([o.then(()=>{if(!b){const a=()=>r.close(1e3,"Normal Closure");isFinite(O)&&O>0?_=setTimeout(()=>{r.readyState===E.OPEN&&a()},O):a()}}),s])]}function U(r){if(F(r)&&(ie(r.code)||[f.InternalServerError,f.InternalClientError,f.BadRequest,f.BadResponse,f.Unauthorized,f.SubprotocolNotAcceptable,f.SubscriberAlreadyExists,f.TooManyInitialisationRequests].includes(r.code)))throw r;if(G)return!1;if(F(r)&&r.code===1e3)return b>0;if(!j||P>=j||!Y(r))throw r;return I=!0}K||(async()=>{for(b++;;)try{const[,,r]=await L();await r}catch(r){try{if(!U(r))return}catch(s){return R==null?void 0:R(s)}}})();function D(r,s){const t=Z(r);let o=!1,a=!1,d=()=>{b--,o=!0};return(async()=>{for(b++;;)try{const[i,S,T]=await L();if(o)return S();const A=u.onMessage(t,k=>{switch(k.type){case m.Next:{s.next(k.payload);return}case m.Error:{a=!0,o=!0,s.error(k.payload),d();return}case m.Complete:{o=!0,d();return}}});i.send(N({id:t,type:m.Subscribe,payload:r},B)),d=()=>{!o&&i.readyState===E.OPEN&&i.send(N({id:t,type:m.Complete},B)),b--,o=!0,S()},await T.finally(A);return}catch(i){if(!U(i))return}})().then(()=>{a||s.complete()}).catch(i=>{s.error(i)}),()=>{o||d()}}return{on:u.on,subscribe:D,iterate(r){const s=[],t={done:!1,error:null,resolve:()=>{}},o=D(r,{next(d){s.push(d),t.resolve()},error(d){t.done=!0,t.error=d,t.resolve()},complete(){t.done=!0,t.resolve()}}),a=(async function*(){for(;;){for(s.length||await new Promise(i=>t.resolve=i);s.length;)yield s.shift();if(t.error)throw t.error;if(t.done)return}})();return a.throw=async d=>(t.done||(t.done=!0,t.error=d,t.resolve()),{done:!0,value:void 0}),a.return=async()=>(o(),{done:!0,value:void 0}),a},async dispose(){if(G=!0,w){const[r]=await w;r.close(1e3,"Normal Closure")}},terminate(){w&&u.emit("closed",new Q)}}}class Q extends Error{constructor(){super(...arguments);$(this,"name","TerminatedCloseEvent");$(this,"message","4499: Terminated");$(this,"code",4499);$(this,"reason","Terminated");$(this,"wasClean",!1)}}function F(e){return h(e)&&"code"in e&&"reason"in e}function ie(e){return[1e3,1001,1006,1005,1012,1013,1014].includes(e)?!1:e>=1e3&&e<=1999}function se(e){return typeof e=="function"&&"constructor"in e&&"CLOSED"in e&&"CLOSING"in e&&"CONNECTING"in e&&"OPEN"in e}export{f as CloseCode,ne as GRAPHQL_TRANSPORT_WS_PROTOCOL,m as MessageType,Q as TerminatedCloseEvent,pe as createClient,oe as parseMessage,N as stringifyMessage,H as validateMessage}; diff --git a/packages/app/assets/graphiql/extensions/graphiql/assets/index-DurqXJRt.js b/packages/app/assets/graphiql/extensions/graphiql/assets/index-DurqXJRt.js new file mode 100644 index 00000000000..a1aedc43a36 --- /dev/null +++ b/packages/app/assets/graphiql/extensions/graphiql/assets/index-DurqXJRt.js @@ -0,0 +1,418 @@ +const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["extensions/graphiql/assets/monaco-editor-DHweyzAq.js","extensions/graphiql/assets/mouseTarget-BLbOaqWL.js","extensions/graphiql/assets/monaco-editor-CjcUWNYt.css","extensions/graphiql/assets/lite-DLBSE-o4.js"])))=>i.map(i=>d[i]); +function II(e,t){for(var n=0;nr[i]})}}}return Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const i of document.querySelectorAll('link[rel="modulepreload"]'))r(i);new MutationObserver(i=>{for(const o of i)if(o.type==="childList")for(const a of o.addedNodes)a.tagName==="LINK"&&a.rel==="modulepreload"&&r(a)}).observe(document,{childList:!0,subtree:!0});function n(i){const o={};return i.integrity&&(o.integrity=i.integrity),i.referrerPolicy&&(o.referrerPolicy=i.referrerPolicy),i.crossOrigin==="use-credentials"?o.credentials="include":i.crossOrigin==="anonymous"?o.credentials="omit":o.credentials="same-origin",o}function r(i){if(i.ep)return;i.ep=!0;const o=n(i);fetch(i.href,o)}})();function Kl(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Om={exports:{}},zu={},Mm={exports:{}},Ue={};/** + * @license React + * react.production.min.js + * + * Copyright (c) Facebook, Inc. and its affiliates. + * + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + */var Tx;function DI(){if(Tx)return Ue;Tx=1;var e=Symbol.for("react.element"),t=Symbol.for("react.portal"),n=Symbol.for("react.fragment"),r=Symbol.for("react.strict_mode"),i=Symbol.for("react.profiler"),o=Symbol.for("react.provider"),a=Symbol.for("react.context"),l=Symbol.for("react.forward_ref"),c=Symbol.for("react.suspense"),f=Symbol.for("react.memo"),p=Symbol.for("react.lazy"),h=Symbol.iterator;function g(j){return j===null||typeof j!="object"?null:(j=h&&j[h]||j["@@iterator"],typeof j=="function"?j:null)}var b={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},y=Object.assign,w={};function _(j,R,re){this.props=j,this.context=R,this.refs=w,this.updater=re||b}_.prototype.isReactComponent={},_.prototype.setState=function(j,R){if(typeof j!="object"&&typeof j!="function"&&j!=null)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,j,R,"setState")},_.prototype.forceUpdate=function(j){this.updater.enqueueForceUpdate(this,j,"forceUpdate")};function T(){}T.prototype=_.prototype;function N(j,R,re){this.props=j,this.context=R,this.refs=w,this.updater=re||b}var C=N.prototype=new T;C.constructor=N,y(C,_.prototype),C.isPureReactComponent=!0;var A=Array.isArray,D=Object.prototype.hasOwnProperty,L={current:null},F={key:!0,ref:!0,__self:!0,__source:!0};function H(j,R,re){var Y,se={},ue=null,le=null;if(R!=null)for(Y in R.ref!==void 0&&(le=R.ref),R.key!==void 0&&(ue=""+R.key),R)D.call(R,Y)&&!F.hasOwnProperty(Y)&&(se[Y]=R[Y]);var te=arguments.length-2;if(te===1)se.children=re;else if(1{i.current=e},[e]),v.useEffect(()=>{if(!r)return;Promise.resolve(i.current()).catch(()=>{});const o=setInterval(()=>{Promise.resolve(i.current()).catch(()=>{})},n);return()=>clearInterval(o)},[n,r])}function HI(e){const{baseUrl:t,pingInterval:n=2e3,statusInterval:r=5e3,pingTimeout:i=3e3}=e,[o,a]=v.useState({serverIsLive:!0,appIsInstalled:!0}),l=v.useRef([]),c=v.useCallback(async()=>{const p=setTimeout(()=>{a(h=>({...h,serverIsLive:!1}))},i);l.current.push(p);try{(await fetch(`${t}/graphiql/ping`,{method:"GET"})).status===200?(l.current.forEach(g=>clearTimeout(g)),l.current=[],a(g=>({...g,serverIsLive:!0}))):a(g=>({...g,serverIsLive:!1}))}catch{a(h=>({...h,serverIsLive:!1}))}},[t,i]),f=v.useCallback(async()=>{try{const h=await(await fetch(`${t}/graphiql/status`,{method:"GET"})).json();h.status==="OK"?a(g=>({...g,appIsInstalled:!0,storeFqdn:h.storeFqdn,appName:h.appName,appUrl:h.appUrl})):a(g=>({...g,appIsInstalled:!1}))}catch{a(p=>({...p,appIsInstalled:!1}))}},[t]);return Ax(c,{interval:n}),Ax(f,{interval:r}),o}const qI={selector:"[data-polaris-scrollable]"},Ix={props:{"data-polaris-unstyled":!0}},WI={selector:"[data-polaris-top-bar]"};var nS=["xs","sm","md","lg","xl"],GI={"breakpoints-xs":{value:"0px",description:"Commonly used for sizing containers (e.g. max-width). See below for media query usage."},"breakpoints-sm":{value:"490px",description:"Commonly used for sizing containers (e.g. max-width). See below for media query usage."},"breakpoints-md":{value:"768px",description:"Commonly used for sizing containers (e.g. max-width). See below for media query usage."},"breakpoints-lg":{value:"1040px",description:"Commonly used for sizing containers (e.g. max-width). See below for media query usage."},"breakpoints-xl":{value:"1440px",description:"Commonly used for sizing containers (e.g. max-width). See below for media query usage."}};function QI(e,t){var n=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(n!=null){var r,i,o,a,l=[],c=!0,f=!1;try{if(o=(n=n.call(e)).next,t!==0)for(;!(c=(r=o.call(n)).done)&&(l.push(r.value),l.length!==t);c=!0);}catch(p){f=!0,i=p}finally{try{if(!c&&n.return!=null&&(a=n.return(),Object(a)!==a))return}finally{if(f)throw i}}return l}}function YI(e,t){return t||(t=e.slice(0)),e.raw=t,e}function dp(e,t){return XI(e)||QI(e,t)||ZI(e,t)||JI()}function XI(e){if(Array.isArray(e))return e}function ZI(e,t){if(e){if(typeof e=="string")return Dx(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(e);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Dx(e,t)}}function Dx(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);nr!=null);return t.length?Object.fromEntries(t):void 0}function hl(e,t,n,r){if(!r)return{};let i;return gS(r)?i=Object.fromEntries(Object.entries(r).map(([o,a])=>[o,`var(--p-${n}-${a})`])):i={[nS[0]]:`var(--p-${n}-${r})`},Object.fromEntries(Object.entries(i).map(([o,a])=>[`--pc-${e}-${t}-${o}`,a]))}function CD(e,t,n){return n?gS(n)?Object.fromEntries(Object.entries(n).map(([r,i])=>[`--pc-${e}-${t}-${r}`,i])):{[`--pc-${e}-${t}-${nS[0]}`]:n}:{}}const vS=v.createContext(!1),Y2=typeof window>"u"||typeof document>"u",ig=Y2?v.useEffect:v.useLayoutEffect;function ND(e,t,n,r){const i=v.useRef(t),o=v.useRef(r);ig(()=>{i.current=t},[t]),ig(()=>{o.current=r},[r]),v.useEffect(()=>{let a;a=window;const l=o.current,c=f=>i.current(f);return a.addEventListener(e,c,l),()=>{a.removeEventListener(e,c,l)}},[e,n])}const yS={navigationBarCollapsed:"767.95px",stackedContent:"1039.95px"},xS={media:"",addListener:Hu,removeListener:Hu,matches:!1,onchange:Hu,addEventListener:Hu,removeEventListener:Hu,dispatchEvent:e=>!0};function Hu(){}function Bm(){return typeof window>"u"?xS:window.matchMedia(`(max-width: ${yS.navigationBarCollapsed})`)}function AD(){return typeof window>"u"?xS:window.matchMedia(`(max-width: ${yS.stackedContent})`)}const og=ID(mS.breakpoints);function jx(e,t){return Object.fromEntries(!Y2&&!t?og.map(([n,r])=>[n,window.matchMedia(r).matches]):og.map(([n])=>[n,!1]))}function X2(e){const[t,n]=v.useState(jx(e==null?void 0:e.defaults,!0));return ig(()=>{const r=og.map(([o,a])=>window.matchMedia(a)),i=()=>n(jx());return r.forEach(o=>{o.addListener?o.addListener(i):o.addEventListener("change",i)}),i(),()=>{r.forEach(o=>{o.removeListener?o.removeListener(i):o.removeEventListener("change",i)})}},[]),t}function ID(e){return Object.entries(iD(e)).map(([n,r])=>Object.entries(r).map(([i,o])=>[`${n.split("-")[1]}${DD(i)}`,o])).flat()}function DD(e){return e.charAt(0).toUpperCase()+e.slice(1)}function sg(e,t,n){let r,i,o,a,l,c,f=0,p=!1,h=!1,g=!0;const b=!t&&t!==0;if(typeof e!="function")throw new TypeError("Expected a function");const y=t||0;typeof n=="object"&&(p=!!n.leading,h="maxWait"in n,o=h?Math.max(Number(n.maxWait)||0,y):void 0,g="trailing"in n?!!n.trailing:g);function w(Z){const ee=r,U=i;return r=void 0,i=void 0,f=Z,a=e.apply(U,ee),a}function _(Z,ee){return b?(cancelAnimationFrame(l),requestAnimationFrame(Z)):setTimeout(Z,ee)}function T(Z){if(b)return cancelAnimationFrame(Z);clearTimeout(Z)}function N(Z){return f=Z,l=_(D,y),p?w(Z):a}function C(Z){const ee=Z-c,U=Z-f,O=y-ee;return h&&o?Math.min(O,o-U):O}function A(Z){const ee=Z-c,U=Z-f;return c===void 0||ee>=y||ee<0||h&&o&&U>=o}function D(){const Z=Date.now();if(A(Z))return L(Z);l=_(D,C(Z))}function L(Z){return l=void 0,g&&r?w(Z):(r=i=void 0,a)}function F(){l!==void 0&&T(l),f=0,r=c=i=l=void 0}function H(){return l===void 0?a:L(Date.now())}function $(){return l!==void 0}function Q(...Z){const ee=Date.now(),U=A(ee);if(r=Z,i=this,c=ee,U){if(l===void 0)return N(c);if(h)return l=_(D,y),w(c)}return l===void 0&&(l=_(D,y)),a}return Q.cancel=F,Q.flush=H,Q.pending=$,Q}class x0{static get zero(){return new x0}constructor({top:t=0,left:n=0,width:r=0,height:i=0}={}){this.top=t,this.left=n,this.width=r,this.height=i}get center(){return{x:this.left+this.width/2,y:this.top+this.height/2}}}function _d(e){if(!(e instanceof Element))return new x0({width:window.innerWidth,height:window.innerHeight});const t=e.getBoundingClientRect();return new x0({top:t.top,left:t.left,width:t.width,height:t.height})}const Td=1e3/60;class RD{constructor(t){this.stickyItems=[],this.stuckItems=[],this.container=null,this.topBarOffset=0,this.handleResize=sg(()=>{this.manageStickyItems()},Td,{leading:!0,trailing:!0,maxWait:Td}),this.handleScroll=sg(()=>{this.manageStickyItems()},Td,{leading:!0,trailing:!0,maxWait:Td}),t&&this.setContainer(t)}registerStickyItem(t){this.stickyItems.push(t)}unregisterStickyItem(t){const n=this.stickyItems.findIndex(({stickyNode:r})=>t===r);this.stickyItems.splice(n,1)}setContainer(t){this.container=t,wS(t)&&this.setTopBarOffset(t),this.container.addEventListener("scroll",this.handleScroll),window.addEventListener("resize",this.handleResize),this.manageStickyItems()}removeScrollListener(){this.container&&(this.container.removeEventListener("scroll",this.handleScroll),window.removeEventListener("resize",this.handleResize))}manageStickyItems(){if(this.stickyItems.length<=0)return;const t=this.container?LD(this.container):0,n=_d(this.container).top+this.topBarOffset;this.stickyItems.forEach(r=>{const{handlePositioning:i}=r,{sticky:o,top:a,left:l,width:c}=this.evaluateStickyItem(r,t,n);this.updateStuckItems(r,o),i(o,a,l,c)})}evaluateStickyItem(t,n,r){var _;const{stickyNode:i,placeHolderNode:o,boundingElement:a,offset:l,disableWhenStacked:c}=t;if(c&&AD().matches)return{sticky:!1,top:0,left:0,width:"auto"};const f=l?this.getOffset(i)+parseInt(mS.space["space-500"],10):this.getOffset(i),p=n+f,h=o.getBoundingClientRect().top-r+n,g=r+f,b=o.getBoundingClientRect().width,y=o.getBoundingClientRect().left;let w;if(a==null)w=p>=h;else{const T=i.getBoundingClientRect().height||((_=i.firstElementChild)==null?void 0:_.getBoundingClientRect().height)||0,N=a.getBoundingClientRect().bottom-T+n-r;w=p>=h&&pn===i);this.stuckItems.splice(r,1)}getOffset(t){if(this.stuckItems.length===0)return 0;let n=0,r=0;const i=this.stuckItems.length,o=_d(t);for(;rt===r)>=0}setTopBarOffset(t){const n=t.querySelector(`:not(${qI.selector}) ${WI.selector}`);this.topBarOffset=n?n.clientHeight:0}}function wS(e){return e===document}function LD(e){return wS(e)?document.body.scrollTop||document.documentElement.scrollTop:e.scrollTop}function PD(e,t){const n=e.left,r=e.left+e.width,i=t.left;return t.left+t.widthe.clientHeight}class OD{constructor(){this.scrollLocks=0,this.locked=!1}registerScrollLock(){this.scrollLocks+=1,this.handleScrollLocking()}unregisterScrollLock(){this.scrollLocks-=1,this.handleScrollLocking()}handleScrollLocking(){if(Y2)return;const{scrollLocks:t}=this,{body:n}=document,r=n.firstElementChild;t===0?(n.removeAttribute(Bx),n.removeAttribute(Vx),r&&r.removeAttribute(Ux),window.scroll(0,kd),this.locked=!1):t>0&&!this.locked&&(kd=window.pageYOffset,n.setAttribute(Bx,""),FD()||n.setAttribute(Vx,""),r&&(r.setAttribute(Ux,""),r.scrollTop=kd),this.locked=!0)}resetScrollPosition(){kd=0}}const MD=/\[(.*?)\]|(\w+)/g;function zx(e,t,n){if(e==null)return;const r=Array.isArray(t)?t:$D(t);let i=e;for(let o=0;o{const o=i.substring(1,i.length-1);if(n[o]===void 0){const a=JSON.stringify(n);throw new Error(`Error in translation for key '${t}'. No replacement found for key '${o}'. The following replacements were passed: '${a}'`)}return n[o]}):r:""}translationKeyExists(t){return!!zx(this.translation,t)}}const VD=v.createContext(void 0),SS=v.createContext(void 0),UD=v.createContext(void 0),zD=v.createContext(void 0),_S=v.createContext(void 0),HD=v.createContext(void 0);class qD extends v.PureComponent{componentDidMount(){this.attachListener()}componentDidUpdate({passive:t,...n}){this.detachListener(n),this.attachListener()}componentWillUnmount(){this.detachListener()}render(){return null}attachListener(){const{event:t,handler:n,capture:r,passive:i}=this.props;window.addEventListener(t,n,{capture:r,passive:i})}detachListener(t){const{event:n,handler:r,capture:i}=t||this.props;window.removeEventListener(n,r,i)}}const WD=function({children:t}){const[n,r]=v.useState(Bm().matches),i=v.useCallback(sg(()=>{n!==Bm().matches&&r(!n)},40,{trailing:!0,leading:!0,maxWait:40}),[n]);v.useEffect(()=>{r(Bm().matches)},[]);const o=v.useMemo(()=>({isNavigationCollapsed:n}),[n]);return z.createElement(HD.Provider,{value:o},z.createElement(qD,{event:"resize",handler:i}),t)};function TS(){const[e,t]=v.useState(!1);return v.useEffect(()=>{t(!0)},[]),e}const GD=v.createContext(void 0);function QD(e,t){return z.createElement("div",{id:"PolarisPortalsContainer",ref:t})}const YD=v.forwardRef(QD);function XD({children:e,container:t}){const n=TS(),r=v.useRef(null),i=v.useMemo(()=>t?{container:t}:n?{container:r.current}:{container:null},[t,n]);return z.createElement(GD.Provider,{value:i},e,t?null:z.createElement(YD,{ref:r}))}const ZD=v.createContext(void 0);function JD({children:e}){const[t,n]=v.useState([]),r=v.useCallback(a=>{n(l=>[...l,a])},[]),i=v.useCallback(a=>{let l=!0;return n(c=>{const f=[...c],p=f.indexOf(a);return p===-1?l=!1:f.splice(p,1),f}),l},[]),o=v.useMemo(()=>({trapFocusList:t,add:r,remove:i}),[r,t,i]);return z.createElement(ZD.Provider,{value:o},e)}const KD=v.createContext(void 0),eR={tooltip:0,hovercard:0};function tR({children:e}){const[t,n]=v.useState(eR),r=v.useCallback(a=>{n(l=>({...l,[a]:l[a]+1}))},[]),i=v.useCallback(a=>{n(l=>({...l,[a]:l[a]-1}))},[]),o=v.useMemo(()=>({presenceList:Object.entries(t).reduce((a,l)=>{const[c,f]=l;return{...a,[c]:f>=1}},{}),presenceCounter:t,addPresence:r,removePresence:i}),[r,i,t]);return z.createElement(KD.Provider,{value:o},e)}const nR=20,t0=30,rR=t0+10;function iR(){var i;const e=document.createElement("div");e.setAttribute("style",`position: absolute; opacity: 0; transform: translate3d(-9999px, -9999px, 0); pointer-events: none; width:${t0}px; height:${t0}px;`);const t=document.createElement("div");t.setAttribute("style",`width:100%; height: ${rR}; overflow:scroll; scrollbar-width: thin;`),e.appendChild(t),document.body.appendChild(e);const n=t0-(((i=e.firstElementChild)==null?void 0:i.clientWidth)??0),r=Math.min(n,nR);document.documentElement.style.setProperty("--pc-app-provider-scrollbar-width",`${r}px`),document.body.removeChild(e)}class oR extends v.Component{constructor(t){super(t),this.setBodyStyles=()=>{document.body.style.backgroundColor="var(--p-color-bg)",document.body.style.color="var(--p-color-text)"},this.setRootAttributes=()=>{const i=this.getThemeName();wD.forEach(o=>{document.documentElement.classList.toggle(xD(o),o===i)})},this.getThemeName=()=>this.props.theme??hp,this.stickyManager=new RD,this.scrollLockManager=new OD;const{i18n:n,linkComponent:r}=this.props;this.state={link:r,intl:new qx(n)}}componentDidMount(){if(document!=null){this.stickyManager.setContainer(document),this.setBodyStyles(),this.setRootAttributes();const t=navigator.userAgent.includes("Safari")&&!navigator.userAgent.includes("Chrome")&&(navigator.userAgent.includes("Version/16.1")||navigator.userAgent.includes("Version/16.2")||navigator.userAgent.includes("Version/16.3")),n=navigator.userAgent.includes("Shopify Mobile/iOS")&&(navigator.userAgent.includes("OS 16_1")||navigator.userAgent.includes("OS 16_2")||navigator.userAgent.includes("OS 16_3"));(t||n)&&document.documentElement.classList.add("Polaris-Safari-16-Font-Optical-Sizing-Patch")}iR()}componentDidUpdate({i18n:t,linkComponent:n}){const{i18n:r,linkComponent:i}=this.props;this.setRootAttributes(),!(r===t&&i===n)&&this.setState({link:i,intl:new qx(r)})}render(){const{children:t,features:n}=this.props,r=this.getThemeName(),{intl:i,link:o}=this.state;return z.createElement(TD.Provider,{value:r},z.createElement(_D.Provider,{value:kD(r)},z.createElement(VD.Provider,{value:n},z.createElement(SS.Provider,{value:i},z.createElement(UD.Provider,{value:this.scrollLockManager},z.createElement(zD.Provider,{value:this.stickyManager},z.createElement(_S.Provider,{value:o},z.createElement(WD,null,z.createElement(XD,null,z.createElement(JD,null,z.createElement(tR,null,t)))))))))))}}var kS=function(t){return z.createElement("svg",Object.assign({viewBox:"0 0 20 20"},t),z.createElement("path",{d:"M10 6a.75.75 0 0 1 .75.75v3.5a.75.75 0 0 1-1.5 0v-3.5a.75.75 0 0 1 .75-.75Z"}),z.createElement("path",{d:"M11 13a1 1 0 1 1-2 0 1 1 0 0 1 2 0Z"}),z.createElement("path",{fillRule:"evenodd",d:"M17 10a7 7 0 1 1-14 0 7 7 0 0 1 14 0Zm-1.5 0a5.5 5.5 0 1 1-11 0 5.5 5.5 0 0 1 11 0Z"}))};kS.displayName="AlertCircleIcon";var CS=function(t){return z.createElement("svg",Object.assign({viewBox:"0 0 20 20"},t),z.createElement("path",{d:"M10 6a.75.75 0 0 1 .75.75v3.5a.75.75 0 0 1-1.5 0v-3.5a.75.75 0 0 1 .75-.75Z"}),z.createElement("path",{d:"M11 13a1 1 0 1 1-2 0 1 1 0 0 1 2 0Z"}),z.createElement("path",{fillRule:"evenodd",d:"M11.237 3.177a1.75 1.75 0 0 0-2.474 0l-5.586 5.585a1.75 1.75 0 0 0 0 2.475l5.586 5.586a1.75 1.75 0 0 0 2.474 0l5.586-5.586a1.75 1.75 0 0 0 0-2.475l-5.586-5.585Zm-1.414 1.06a.25.25 0 0 1 .354 0l5.586 5.586a.25.25 0 0 1 0 .354l-5.586 5.585a.25.25 0 0 1-.354 0l-5.586-5.585a.25.25 0 0 1 0-.354l5.586-5.586Z"}))};CS.displayName="AlertDiamondIcon";var NS=function(t){return z.createElement("svg",Object.assign({viewBox:"0 0 20 20"},t),z.createElement("path",{d:"M10 6.75a.75.75 0 0 1 .75.75v3.5a.75.75 0 1 1-1.5 0v-3.5a.75.75 0 0 1 .75-.75Z"}),z.createElement("path",{d:"M11 13.5a1 1 0 1 1-2 0 1 1 0 0 1 2 0Z"}),z.createElement("path",{fillRule:"evenodd",d:"M10 3.5c-1.045 0-1.784.702-2.152 1.447a449.26 449.26 0 0 1-2.005 3.847l-.028.052a403.426 403.426 0 0 0-2.008 3.856c-.372.752-.478 1.75.093 2.614.57.863 1.542 1.184 2.464 1.184h7.272c.922 0 1.895-.32 2.464-1.184.57-.864.465-1.862.093-2.614-.21-.424-1.113-2.147-2.004-3.847l-.032-.061a429.497 429.497 0 0 1-2.005-3.847c-.368-.745-1.107-1.447-2.152-1.447Zm-.808 2.112c.404-.816 1.212-.816 1.616 0 .202.409 1.112 2.145 2.022 3.88a418.904 418.904 0 0 1 2.018 3.875c.404.817 0 1.633-1.212 1.633h-7.272c-1.212 0-1.617-.816-1.212-1.633.202-.408 1.113-2.147 2.023-3.883a421.932 421.932 0 0 0 2.017-3.872Z"}))};NS.displayName="AlertTriangleIcon";var AS=function(t){return z.createElement("svg",Object.assign({viewBox:"0 0 20 20"},t),z.createElement("path",{fillRule:"evenodd",d:"M15.78 5.97a.75.75 0 0 1 0 1.06l-6.5 6.5a.75.75 0 0 1-1.06 0l-3.25-3.25a.75.75 0 1 1 1.06-1.06l2.72 2.72 5.97-5.97a.75.75 0 0 1 1.06 0Z"}))};AS.displayName="CheckIcon";var IS=function(t){return z.createElement("svg",Object.assign({viewBox:"0 0 20 20"},t),z.createElement("path",{fillRule:"evenodd",d:"M5.72 8.47a.75.75 0 0 1 1.06 0l3.47 3.47 3.47-3.47a.75.75 0 1 1 1.06 1.06l-4 4a.75.75 0 0 1-1.06 0l-4-4a.75.75 0 0 1 0-1.06Z"}))};IS.displayName="ChevronDownIcon";var DS=function(t){return z.createElement("svg",Object.assign({viewBox:"0 0 20 20"},t),z.createElement("path",{fillRule:"evenodd",d:"M14.53 12.28a.75.75 0 0 1-1.06 0l-3.47-3.47-3.47 3.47a.75.75 0 0 1-1.06-1.06l4-4a.75.75 0 0 1 1.06 0l4 4a.75.75 0 0 1 0 1.06Z"}))};DS.displayName="ChevronUpIcon";var RS=function(t){return z.createElement("svg",Object.assign({viewBox:"0 0 20 20"},t),z.createElement("path",{d:"M10 14a.75.75 0 0 1-.75-.75v-3.5a.75.75 0 0 1 1.5 0v3.5a.75.75 0 0 1-.75.75Z"}),z.createElement("path",{d:"M9 7a1 1 0 1 1 2 0 1 1 0 0 1-2 0Z"}),z.createElement("path",{fillRule:"evenodd",d:"M17 10a7 7 0 1 1-14 0 7 7 0 0 1 14 0Zm-1.5 0a5.5 5.5 0 1 1-11 0 5.5 5.5 0 0 1 11 0Z"}))};RS.displayName="InfoIcon";var Z2=function(t){return z.createElement("svg",Object.assign({viewBox:"0 0 20 20"},t),z.createElement("path",{d:"M10.884 4.323a1.25 1.25 0 0 0-1.768 0l-2.646 2.647a.75.75 0 0 0 1.06 1.06l2.47-2.47 2.47 2.47a.75.75 0 1 0 1.06-1.06l-2.646-2.647Z"}),z.createElement("path",{d:"m13.53 13.03-2.646 2.647a1.25 1.25 0 0 1-1.768 0l-2.646-2.647a.75.75 0 0 1 1.06-1.06l2.47 2.47 2.47-2.47a.75.75 0 0 1 1.06 1.06Z"}))};Z2.displayName="SelectIcon";var LS=function(t){return z.createElement("svg",Object.assign({viewBox:"0 0 20 20"},t),z.createElement("path",{d:"M12.72 13.78a.75.75 0 1 0 1.06-1.06l-2.72-2.72 2.72-2.72a.75.75 0 0 0-1.06-1.06l-2.72 2.72-2.72-2.72a.75.75 0 0 0-1.06 1.06l2.72 2.72-2.72 2.72a.75.75 0 1 0 1.06 1.06l2.72-2.72 2.72 2.72Z"}))};LS.displayName="XIcon";const PS=({currentTarget:e})=>e.blur();var nn={Button:"Polaris-Button",disabled:"Polaris-Button--disabled",pressed:"Polaris-Button--pressed",variantPrimary:"Polaris-Button--variantPrimary",variantSecondary:"Polaris-Button--variantSecondary",variantTertiary:"Polaris-Button--variantTertiary",variantPlain:"Polaris-Button--variantPlain",removeUnderline:"Polaris-Button--removeUnderline",variantMonochromePlain:"Polaris-Button--variantMonochromePlain",toneSuccess:"Polaris-Button--toneSuccess",toneCritical:"Polaris-Button--toneCritical",sizeMicro:"Polaris-Button--sizeMicro",sizeSlim:"Polaris-Button--sizeSlim",sizeMedium:"Polaris-Button--sizeMedium",sizeLarge:"Polaris-Button--sizeLarge",textAlignCenter:"Polaris-Button--textAlignCenter",textAlignStart:"Polaris-Button--textAlignStart",textAlignLeft:"Polaris-Button--textAlignLeft",textAlignEnd:"Polaris-Button--textAlignEnd",textAlignRight:"Polaris-Button--textAlignRight",fullWidth:"Polaris-Button--fullWidth",iconOnly:"Polaris-Button--iconOnly",iconWithText:"Polaris-Button--iconWithText",disclosure:"Polaris-Button--disclosure",loading:"Polaris-Button--loading",pressable:"Polaris-Button--pressable",hidden:"Polaris-Button--hidden",Icon:"Polaris-Button__Icon",Spinner:"Polaris-Button__Spinner"},qu={Icon:"Polaris-Icon",toneInherit:"Polaris-Icon--toneInherit",toneBase:"Polaris-Icon--toneBase",toneSubdued:"Polaris-Icon--toneSubdued",toneCaution:"Polaris-Icon--toneCaution",toneWarning:"Polaris-Icon--toneWarning",toneCritical:"Polaris-Icon--toneCritical",toneInteractive:"Polaris-Icon--toneInteractive",toneInfo:"Polaris-Icon--toneInfo",toneSuccess:"Polaris-Icon--toneSuccess",tonePrimary:"Polaris-Icon--tonePrimary",toneEmphasis:"Polaris-Icon--toneEmphasis",toneMagic:"Polaris-Icon--toneMagic",toneTextCaution:"Polaris-Icon--toneTextCaution",toneTextWarning:"Polaris-Icon--toneTextWarning",toneTextCritical:"Polaris-Icon--toneTextCritical",toneTextInfo:"Polaris-Icon--toneTextInfo",toneTextPrimary:"Polaris-Icon--toneTextPrimary",toneTextSuccess:"Polaris-Icon--toneTextSuccess",toneTextMagic:"Polaris-Icon--toneTextMagic",Svg:"Polaris-Icon__Svg",Img:"Polaris-Icon__Img",Placeholder:"Polaris-Icon__Placeholder"},li={root:"Polaris-Text--root",block:"Polaris-Text--block",truncate:"Polaris-Text--truncate",visuallyHidden:"Polaris-Text--visuallyHidden",start:"Polaris-Text--start",center:"Polaris-Text--center",end:"Polaris-Text--end",justify:"Polaris-Text--justify",base:"Polaris-Text--base",inherit:"Polaris-Text--inherit",disabled:"Polaris-Text--disabled",success:"Polaris-Text--success",critical:"Polaris-Text--critical",caution:"Polaris-Text--caution",subdued:"Polaris-Text--subdued",magic:"Polaris-Text--magic","magic-subdued":"Polaris-Text__magic--subdued","text-inverse":"Polaris-Text__text--inverse","text-inverse-secondary":"Polaris-Text--textInverseSecondary",headingXs:"Polaris-Text--headingXs",headingSm:"Polaris-Text--headingSm",headingMd:"Polaris-Text--headingMd",headingLg:"Polaris-Text--headingLg",headingXl:"Polaris-Text--headingXl",heading2xl:"Polaris-Text--heading2xl",heading3xl:"Polaris-Text--heading3xl",bodyXs:"Polaris-Text--bodyXs",bodySm:"Polaris-Text--bodySm",bodyMd:"Polaris-Text--bodyMd",bodyLg:"Polaris-Text--bodyLg",regular:"Polaris-Text--regular",medium:"Polaris-Text--medium",semibold:"Polaris-Text--semibold",bold:"Polaris-Text--bold",break:"Polaris-Text--break",numeric:"Polaris-Text--numeric","line-through":"Polaris-Text__line--through"};const Wr=({alignment:e,as:t,breakWord:n,children:r,tone:i,fontWeight:o,id:a,numeric:l=!1,truncate:c=!1,variant:f,visuallyHidden:p=!1,textDecorationLine:h})=>{const g=t||(p?"span":"p"),b=Vn(li.root,f&&li[f],o&&li[o],(e||c)&&li.block,e&&li[e],n&&li.break,i&&li[i],l&&li.numeric,c&&li.truncate,p&&li.visuallyHidden,h&&li[h]);return z.createElement(g,Object.assign({className:b},a&&{id:a}),r)};function Ns({source:e,tone:t,accessibilityLabel:n}){let r;typeof e=="function"?r="function":e==="placeholder"?r="placeholder":r="external";const i=Vn(qu.Icon,t&&qu[Vr("tone",t)]),{mdDown:o}=X2(),a=e,l={function:z.createElement(a,Object.assign({className:qu.Svg,focusable:"false","aria-hidden":"true"},o?{viewBox:"1 1 18 18"}:{})),placeholder:z.createElement("div",{className:qu.Placeholder}),external:z.createElement("img",{className:qu.Img,src:`data:image/svg+xml;utf8,${e}`,alt:"","aria-hidden":"true"})};return z.createElement("span",{className:i},n&&z.createElement(Wr,{as:"span",visuallyHidden:!0},n),l[r])}var Wx={Spinner:"Polaris-Spinner",sizeSmall:"Polaris-Spinner--sizeSmall",sizeLarge:"Polaris-Spinner--sizeLarge"};function sR({size:e="large",accessibilityLabel:t,hasFocusableParent:n}){const r=TS(),i=Vn(Wx.Spinner,e&&Wx[Vr("size",e)]),o=e==="large"?z.createElement("svg",{viewBox:"0 0 44 44",xmlns:"http://www.w3.org/2000/svg"},z.createElement("path",{d:"M15.542 1.487A21.507 21.507 0 00.5 22c0 11.874 9.626 21.5 21.5 21.5 9.847 0 18.364-6.675 20.809-16.072a1.5 1.5 0 00-2.904-.756C37.803 34.755 30.473 40.5 22 40.5 11.783 40.5 3.5 32.217 3.5 22c0-8.137 5.3-15.247 12.942-17.65a1.5 1.5 0 10-.9-2.863z"})):z.createElement("svg",{viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg"},z.createElement("path",{d:"M7.229 1.173a9.25 9.25 0 1011.655 11.412 1.25 1.25 0 10-2.4-.698 6.75 6.75 0 11-8.506-8.329 1.25 1.25 0 10-.75-2.385z"})),a={...!n&&{role:"status"}},l=(r||!n)&&z.createElement(Wr,{as:"span",visuallyHidden:!0},t);return z.createElement(z.Fragment,null,z.createElement("span",{className:i},o),z.createElement("span",a,l))}function aR(e,t){const n=v.useCallback(r=>{e&&(r.preventDefault(),r.stopPropagation())},[e]);return e?n:t}function lR(){return v.useContext(_S)}const FS=v.memo(v.forwardRef(function(t,n){const r=lR();if(r)return z.createElement(r,Object.assign({},Ix.props,t,{ref:n}));const{external:i,url:o,target:a,...l}=t;let c;i?c="_blank":c=a??void 0;const f=c==="_blank"?"noopener noreferrer":void 0;return z.createElement("a",Object.assign({target:c},l,{href:o,rel:f},Ix.props,{ref:n}))}));function uR({id:e,children:t,className:n,url:r,external:i,target:o,download:a,submit:l,disabled:c,loading:f,pressed:p,accessibilityLabel:h,role:g,ariaControls:b,ariaExpanded:y,ariaDescribedBy:w,ariaChecked:_,onClick:T,onFocus:N,onBlur:C,onKeyDown:A,onKeyPress:D,onKeyUp:L,onMouseEnter:F,onTouchStart:H,...$}){let Q;const Z={id:e,className:n,"aria-label":h},ee={...Z,role:g,onClick:T,onFocus:N,onBlur:C,onMouseUp:PS,onMouseEnter:F,onTouchStart:H},U=aR(c,T);return r?Q=c?z.createElement("a",Z,t):z.createElement(FS,Object.assign({},ee,{url:r,external:i,target:o,download:a},$),t):Q=z.createElement("button",Object.assign({},ee,{"aria-disabled":c,type:l?"submit":"button","aria-busy":f?!0:void 0,"aria-controls":b,"aria-expanded":y,"aria-describedby":w,"aria-checked":_,"aria-pressed":p,onKeyDown:A,onKeyUp:L,onKeyPress:D,onClick:U,tabIndex:c?-1:void 0},$),t),Q}class cR extends Error{constructor(t=""){super(`${t&&`${t} `}Your application must be wrapped in an component. See https://polaris.shopify.com/components/app-provider for implementation instructions.`),this.name="MissingAppProviderError"}}function mp(){const e=v.useContext(SS);if(!e)throw new cR("No i18n was provided.");return e}function n0({id:e,children:t,url:n,disabled:r,external:i,download:o,target:a,submit:l,loading:c,pressed:f,accessibilityLabel:p,role:h,ariaControls:g,ariaExpanded:b,ariaDescribedBy:y,ariaChecked:w,onClick:_,onFocus:T,onBlur:N,onKeyDown:C,onKeyPress:A,onKeyUp:D,onMouseEnter:L,onTouchStart:F,onPointerDown:H,icon:$,disclosure:Q,removeUnderline:Z,size:ee="medium",textAlign:U="center",fullWidth:O,dataPrimaryLink:G,tone:X,variant:K="secondary"}){const P=mp(),B=r||c,{mdUp:q}=X2(),j=Vn(nn.Button,nn.pressable,nn[Vr("variant",K)],nn[Vr("size",ee)],nn[Vr("textAlign",U)],O&&nn.fullWidth,Q&&nn.disclosure,$&&t&&nn.iconWithText,$&&t==null&&nn.iconOnly,B&&nn.disabled,c&&nn.loading,f&&!r&&!n&&nn.pressed,Z&&nn.removeUnderline,X&&nn[Vr("tone",X)]),R=Q?z.createElement("span",{className:c?nn.hidden:nn.Icon},z.createElement(Ns,{source:c?"placeholder":dR(Q,DS,IS)})):null,re=fR($)?z.createElement(Ns,{source:c?"placeholder":$}):$,Y=re?z.createElement("span",{className:c?nn.hidden:nn.Icon},re):null,se=["plain","monochromePlain"].includes(K);let ue="medium";se?ue="regular":K==="primary"&&(ue=q?"medium":"semibold");let le="bodySm";(ee==="large"||se&&ee!=="micro")&&(le="bodyMd");const te=t?z.createElement(Wr,{as:"span",variant:le,fontWeight:ue,key:r?"text-disabled":"text"},t):null,de=c?z.createElement("span",{className:nn.Spinner},z.createElement(sR,{size:"small",accessibilityLabel:P.translate("Polaris.Button.spinnerAccessibilityLabel")})):null,ve={id:e,className:j,accessibilityLabel:p,ariaDescribedBy:y,role:h,onClick:_,onFocus:T,onBlur:N,onMouseUp:PS,onMouseEnter:L,onTouchStart:F,"data-primary-link":G},_e={url:n,external:i,download:o,target:a},Re={submit:l,disabled:B,loading:c,ariaControls:g,ariaExpanded:b,ariaChecked:w,pressed:f,onKeyDown:C,onKeyUp:D,onKeyPress:A,onPointerDown:H};return z.createElement(uR,Object.assign({},ve,_e,Re),de,Y,te,R)}function fR(e){return typeof e=="string"||typeof e=="object"&&e.body||typeof e=="function"}function dR(e,t,n){return e==="select"?Z2:e==="up"?t:n}function pR({content:e,onAction:t,plain:n,destructive:r,...i},o,a){const l=n?"plain":void 0,c=r?"primary":void 0,f=!(o!=null&&o.tone)&&r?"critical":o==null?void 0:o.tone;return z.createElement(n0,Object.assign({key:a,onClick:t,tone:f,variant:l||c},i,o),e)}var Cd={listReset:"Polaris-Box--listReset",Box:"Polaris-Box",visuallyHidden:"Polaris-Box--visuallyHidden",printHidden:"Polaris-Box--printHidden"};const bi=v.forwardRef(({as:e="div",background:t,borderColor:n,borderStyle:r,borderWidth:i,borderBlockStartWidth:o,borderBlockEndWidth:a,borderInlineStartWidth:l,borderInlineEndWidth:c,borderRadius:f,borderEndStartRadius:p,borderEndEndRadius:h,borderStartStartRadius:g,borderStartEndRadius:b,children:y,color:w,id:_,minHeight:T,minWidth:N,maxWidth:C,overflowX:A,overflowY:D,outlineColor:L,outlineStyle:F,outlineWidth:H,padding:$,paddingBlock:Q,paddingBlockStart:Z,paddingBlockEnd:ee,paddingInline:U,paddingInlineStart:O,paddingInlineEnd:G,role:X,shadow:K,tabIndex:P,width:B,printHidden:q,visuallyHidden:j,position:R,insetBlockStart:re,insetBlockEnd:Y,insetInlineStart:se,insetInlineEnd:ue,zIndex:le,opacity:te,...de},ve)=>{const _e=r||(n||i||o||a||l||c?"solid":void 0),Re=F||(L||H?"solid":void 0),we={"--pc-box-color":w?`var(--p-color-${w})`:void 0,"--pc-box-background":t?`var(--p-color-${t})`:void 0,"--pc-box-border-color":n?n==="transparent"?"transparent":`var(--p-color-${n})`:void 0,"--pc-box-border-style":_e,"--pc-box-border-radius":f?`var(--p-border-radius-${f})`:void 0,"--pc-box-border-end-start-radius":p?`var(--p-border-radius-${p})`:void 0,"--pc-box-border-end-end-radius":h?`var(--p-border-radius-${h})`:void 0,"--pc-box-border-start-start-radius":g?`var(--p-border-radius-${g})`:void 0,"--pc-box-border-start-end-radius":b?`var(--p-border-radius-${b})`:void 0,"--pc-box-border-width":i?`var(--p-border-width-${i})`:void 0,"--pc-box-border-block-start-width":o?`var(--p-border-width-${o})`:void 0,"--pc-box-border-block-end-width":a?`var(--p-border-width-${a})`:void 0,"--pc-box-border-inline-start-width":l?`var(--p-border-width-${l})`:void 0,"--pc-box-border-inline-end-width":c?`var(--p-border-width-${c})`:void 0,"--pc-box-min-height":T,"--pc-box-min-width":N,"--pc-box-max-width":C,"--pc-box-outline-color":L?`var(--p-color-${L})`:void 0,"--pc-box-outline-style":Re,"--pc-box-outline-width":H?`var(--p-border-width-${H})`:void 0,"--pc-box-overflow-x":A,"--pc-box-overflow-y":D,...hl("box","padding-block-start","space",Z||Q||$),...hl("box","padding-block-end","space",ee||Q||$),...hl("box","padding-inline-start","space",O||U||$),...hl("box","padding-inline-end","space",G||U||$),"--pc-box-shadow":K?`var(--p-shadow-${K})`:void 0,"--pc-box-width":B,position:R,"--pc-box-inset-block-start":re?`var(--p-space-${re})`:void 0,"--pc-box-inset-block-end":Y?`var(--p-space-${Y})`:void 0,"--pc-box-inset-inline-start":se?`var(--p-space-${se})`:void 0,"--pc-box-inset-inline-end":ue?`var(--p-space-${ue})`:void 0,zIndex:le,opacity:te},je=Vn(Cd.Box,j&&Cd.visuallyHidden,q&&Cd.printHidden,e==="ul"&&Cd.listReset);return z.createElement(e,{className:je,id:_,ref:ve,style:bS(we),role:X,tabIndex:P,...de},y)});bi.displayName="Box";var hR={InlineStack:"Polaris-InlineStack"};const Bl=function({as:t="div",align:n,direction:r="row",blockAlign:i,gap:o,wrap:a=!0,children:l}){const c={"--pc-inline-stack-align":n,"--pc-inline-stack-block-align":i,"--pc-inline-stack-wrap":a?"wrap":"nowrap",...hl("inline-stack","gap","space",o),...CD("inline-stack","flex-direction",r)};return z.createElement(t,{className:hR.InlineStack,style:c},l)};var Vm={BlockStack:"Polaris-BlockStack",listReset:"Polaris-BlockStack--listReset",fieldsetReset:"Polaris-BlockStack--fieldsetReset"};const bc=({as:e="div",children:t,align:n,inlineAlign:r,gap:i,id:o,reverseOrder:a=!1,...l})=>{const c=Vn(Vm.BlockStack,(e==="ul"||e==="ol")&&Vm.listReset,e==="fieldset"&&Vm.fieldsetReset),f={"--pc-block-stack-align":n?`${n}`:null,"--pc-block-stack-inline-align":r?`${r}`:null,"--pc-block-stack-order":a?"column-reverse":"column",...hl("block-stack","gap","space",i)};return z.createElement(e,{className:c,id:o,style:bS(f),...l},t)},mR=v.createContext(!1);var il={Badge:"Polaris-Badge",toneSuccess:"Polaris-Badge--toneSuccess","toneSuccess-strong":"Polaris-Badge__toneSuccess--strong",toneInfo:"Polaris-Badge--toneInfo","toneInfo-strong":"Polaris-Badge__toneInfo--strong",toneAttention:"Polaris-Badge--toneAttention","toneAttention-strong":"Polaris-Badge__toneAttention--strong",toneWarning:"Polaris-Badge--toneWarning","toneWarning-strong":"Polaris-Badge__toneWarning--strong",toneCritical:"Polaris-Badge--toneCritical","toneCritical-strong":"Polaris-Badge__toneCritical--strong",toneNew:"Polaris-Badge--toneNew",toneMagic:"Polaris-Badge--toneMagic","toneRead-only":"Polaris-Badge__toneRead--only",toneEnabled:"Polaris-Badge--toneEnabled",sizeLarge:"Polaris-Badge--sizeLarge",withinFilter:"Polaris-Badge--withinFilter",Icon:"Polaris-Badge__Icon",PipContainer:"Polaris-Badge__PipContainer"};let qn;(function(e){e.Info="info",e.Success="success",e.Warning="warning",e.Critical="critical",e.Attention="attention",e.New="new",e.Magic="magic",e.InfoStrong="info-strong",e.SuccessStrong="success-strong",e.WarningStrong="warning-strong",e.CriticalStrong="critical-strong",e.AttentionStrong="attention-strong",e.ReadOnly="read-only",e.Enabled="enabled"})(qn||(qn={}));let oc;(function(e){e.Incomplete="incomplete",e.PartiallyComplete="partiallyComplete",e.Complete="complete"})(oc||(oc={}));function OS(e,t,n){let r="",i="";if(!t&&!n)return"";switch(t){case oc.Incomplete:r=e.translate("Polaris.Badge.PROGRESS_LABELS.incomplete");break;case oc.PartiallyComplete:r=e.translate("Polaris.Badge.PROGRESS_LABELS.partiallyComplete");break;case oc.Complete:r=e.translate("Polaris.Badge.PROGRESS_LABELS.complete");break}switch(n){case qn.Info:case qn.InfoStrong:i=e.translate("Polaris.Badge.TONE_LABELS.info");break;case qn.Success:case qn.SuccessStrong:i=e.translate("Polaris.Badge.TONE_LABELS.success");break;case qn.Warning:case qn.WarningStrong:i=e.translate("Polaris.Badge.TONE_LABELS.warning");break;case qn.Critical:case qn.CriticalStrong:i=e.translate("Polaris.Badge.TONE_LABELS.critical");break;case qn.Attention:case qn.AttentionStrong:i=e.translate("Polaris.Badge.TONE_LABELS.attention");break;case qn.New:i=e.translate("Polaris.Badge.TONE_LABELS.new");break;case qn.ReadOnly:i=e.translate("Polaris.Badge.TONE_LABELS.readOnly");break;case qn.Enabled:i=e.translate("Polaris.Badge.TONE_LABELS.enabled");break}return!n&&t?r:n&&!t?i:e.translate("Polaris.Badge.progressAndTone",{progressLabel:r,toneLabel:i})}var Um={Pip:"Polaris-Badge-Pip",toneInfo:"Polaris-Badge-Pip--toneInfo",toneSuccess:"Polaris-Badge-Pip--toneSuccess",toneNew:"Polaris-Badge-Pip--toneNew",toneAttention:"Polaris-Badge-Pip--toneAttention",toneWarning:"Polaris-Badge-Pip--toneWarning",toneCritical:"Polaris-Badge-Pip--toneCritical",progressIncomplete:"Polaris-Badge-Pip--progressIncomplete",progressPartiallyComplete:"Polaris-Badge-Pip--progressPartiallyComplete",progressComplete:"Polaris-Badge-Pip--progressComplete"};function gR({tone:e,progress:t="complete",accessibilityLabelOverride:n}){const r=mp(),i=Vn(Um.Pip,e&&Um[Vr("tone",e)],t&&Um[Vr("progress",t)]),o=n||OS(r,t,e);return z.createElement("span",{className:i},z.createElement(Wr,{as:"span",visuallyHidden:!0},o))}const Gx="medium",bR={complete:()=>z.createElement("svg",{viewBox:"0 0 20 20"},z.createElement("path",{d:"M6 10c0-.93 0-1.395.102-1.776a3 3 0 0 1 2.121-2.122C8.605 6 9.07 6 10 6c.93 0 1.395 0 1.776.102a3 3 0 0 1 2.122 2.122C14 8.605 14 9.07 14 10s0 1.395-.102 1.777a3 3 0 0 1-2.122 2.12C11.395 14 10.93 14 10 14s-1.395 0-1.777-.102a3 3 0 0 1-2.12-2.121C6 11.395 6 10.93 6 10Z"})),partiallyComplete:()=>z.createElement("svg",{viewBox:"0 0 20 20"},z.createElement("path",{fillRule:"evenodd",d:"m8.888 6.014-.017-.018-.02.02c-.253.013-.45.038-.628.086a3 3 0 0 0-2.12 2.122C6 8.605 6 9.07 6 10s0 1.395.102 1.777a3 3 0 0 0 2.121 2.12C8.605 14 9.07 14 10 14c.93 0 1.395 0 1.776-.102a3 3 0 0 0 2.122-2.121C14 11.395 14 10.93 14 10c0-.93 0-1.395-.102-1.776a3 3 0 0 0-2.122-2.122C11.395 6 10.93 6 10 6c-.475 0-.829 0-1.112.014ZM8.446 7.34a1.75 1.75 0 0 0-1.041.94l4.314 4.315c.443-.2.786-.576.941-1.042L8.446 7.34Zm4.304 2.536L10.124 7.25c.908.001 1.154.013 1.329.06a1.75 1.75 0 0 1 1.237 1.237c.047.175.059.42.06 1.329ZM8.547 12.69c.182.05.442.06 1.453.06h.106L7.25 9.894V10c0 1.01.01 1.27.06 1.453a1.75 1.75 0 0 0 1.237 1.237Z"})),incomplete:()=>z.createElement("svg",{viewBox:"0 0 20 20"},z.createElement("path",{fillRule:"evenodd",d:"M8.547 12.69c.183.05.443.06 1.453.06s1.27-.01 1.453-.06a1.75 1.75 0 0 0 1.237-1.237c.05-.182.06-.443.06-1.453s-.01-1.27-.06-1.453a1.75 1.75 0 0 0-1.237-1.237c-.182-.05-.443-.06-1.453-.06s-1.27.01-1.453.06A1.75 1.75 0 0 0 7.31 8.547c-.05.183-.06.443-.06 1.453s.01 1.27.06 1.453a1.75 1.75 0 0 0 1.237 1.237ZM6.102 8.224C6 8.605 6 9.07 6 10s0 1.395.102 1.777a3 3 0 0 0 2.122 2.12C8.605 14 9.07 14 10 14s1.395 0 1.777-.102a3 3 0 0 0 2.12-2.121C14 11.395 14 10.93 14 10c0-.93 0-1.395-.102-1.776a3 3 0 0 0-2.121-2.122C11.395 6 10.93 6 10 6c-.93 0-1.395 0-1.776.102a3 3 0 0 0-2.122 2.122Z"}))};function Cl({children:e,tone:t,progress:n,icon:r,size:i=Gx,toneAndProgressLabelOverride:o}){const a=mp(),l=v.useContext(mR),c=Vn(il.Badge,t&&il[Vr("tone",t)],i&&i!==Gx&&il[Vr("size",i)],l&&il.withinFilter),f=o||OS(a,n,t);let p=!!f&&z.createElement(Wr,{as:"span",visuallyHidden:!0},f);return n&&!r&&(p=z.createElement("span",{className:il.Icon},z.createElement(Ns,{accessibilityLabel:f,source:bR[n]}))),z.createElement("span",{className:c},p,r&&z.createElement("span",{className:il.Icon},z.createElement(Ns,{source:r})),e&&z.createElement(Wr,{as:"span",variant:"bodySm",fontWeight:t==="new"?"medium":void 0},e))}Cl.Pip=gR;function MS(e){const[t,n]=v.useState(e);return{value:t,toggle:v.useCallback(()=>n(r=>!r),[]),setTrue:v.useCallback(()=>n(!0),[]),setFalse:v.useCallback(()=>n(!1),[])}}var zm={exports:{}},ar={},Hm={exports:{}},qm={};/** + * @license React + * scheduler.production.min.js + * + * Copyright (c) Facebook, Inc. and its affiliates. + * + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + */var Qx;function vR(){return Qx||(Qx=1,(function(e){function t(P,B){var q=P.length;P.push(B);e:for(;0>>1,R=P[j];if(0>>1;ji(se,q))uei(le,se)?(P[j]=le,P[ue]=q,j=ue):(P[j]=se,P[Y]=q,j=Y);else if(uei(le,q))P[j]=le,P[ue]=q,j=ue;else break e}}return B}function i(P,B){var q=P.sortIndex-B.sortIndex;return q!==0?q:P.id-B.id}if(typeof performance=="object"&&typeof performance.now=="function"){var o=performance;e.unstable_now=function(){return o.now()}}else{var a=Date,l=a.now();e.unstable_now=function(){return a.now()-l}}var c=[],f=[],p=1,h=null,g=3,b=!1,y=!1,w=!1,_=typeof setTimeout=="function"?setTimeout:null,T=typeof clearTimeout=="function"?clearTimeout:null,N=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function C(P){for(var B=n(f);B!==null;){if(B.callback===null)r(f);else if(B.startTime<=P)r(f),B.sortIndex=B.expirationTime,t(c,B);else break;B=n(f)}}function A(P){if(w=!1,C(P),!y)if(n(c)!==null)y=!0,X(D);else{var B=n(f);B!==null&&K(A,B.startTime-P)}}function D(P,B){y=!1,w&&(w=!1,T(H),H=-1),b=!0;var q=g;try{for(C(B),h=n(c);h!==null&&(!(h.expirationTime>B)||P&&!Z());){var j=h.callback;if(typeof j=="function"){h.callback=null,g=h.priorityLevel;var R=j(h.expirationTime<=B);B=e.unstable_now(),typeof R=="function"?h.callback=R:h===n(c)&&r(c),C(B)}else r(c);h=n(c)}if(h!==null)var re=!0;else{var Y=n(f);Y!==null&&K(A,Y.startTime-B),re=!1}return re}finally{h=null,g=q,b=!1}}var L=!1,F=null,H=-1,$=5,Q=-1;function Z(){return!(e.unstable_now()-Q<$)}function ee(){if(F!==null){var P=e.unstable_now();Q=P;var B=!0;try{B=F(!0,P)}finally{B?U():(L=!1,F=null)}}else L=!1}var U;if(typeof N=="function")U=function(){N(ee)};else if(typeof MessageChannel<"u"){var O=new MessageChannel,G=O.port2;O.port1.onmessage=ee,U=function(){G.postMessage(null)}}else U=function(){_(ee,0)};function X(P){F=P,L||(L=!0,U())}function K(P,B){H=_(function(){P(e.unstable_now())},B)}e.unstable_IdlePriority=5,e.unstable_ImmediatePriority=1,e.unstable_LowPriority=4,e.unstable_NormalPriority=3,e.unstable_Profiling=null,e.unstable_UserBlockingPriority=2,e.unstable_cancelCallback=function(P){P.callback=null},e.unstable_continueExecution=function(){y||b||(y=!0,X(D))},e.unstable_forceFrameRate=function(P){0>P||125j?(P.sortIndex=q,t(f,P),n(c)===null&&P===n(f)&&(w?(T(H),H=-1):w=!0,K(A,q-j))):(P.sortIndex=R,t(c,P),y||b||(y=!0,X(D))),P},e.unstable_shouldYield=Z,e.unstable_wrapCallback=function(P){var B=g;return function(){var q=g;g=B;try{return P.apply(this,arguments)}finally{g=q}}}})(qm)),qm}var Yx;function yR(){return Yx||(Yx=1,Hm.exports=vR()),Hm.exports}/** + * @license React + * react-dom.production.min.js + * + * Copyright (c) Facebook, Inc. and its affiliates. + * + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + */var Xx;function xR(){if(Xx)return ar;Xx=1;var e=Gc(),t=yR();function n(s){for(var u="https://reactjs.org/docs/error-decoder.html?invariant="+s,d=1;d"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),c=Object.prototype.hasOwnProperty,f=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,p={},h={};function g(s){return c.call(h,s)?!0:c.call(p,s)?!1:f.test(s)?h[s]=!0:(p[s]=!0,!1)}function b(s,u,d,m){if(d!==null&&d.type===0)return!1;switch(typeof u){case"function":case"symbol":return!0;case"boolean":return m?!1:d!==null?!d.acceptsBooleans:(s=s.toLowerCase().slice(0,5),s!=="data-"&&s!=="aria-");default:return!1}}function y(s,u,d,m){if(u===null||typeof u>"u"||b(s,u,d,m))return!0;if(m)return!1;if(d!==null)switch(d.type){case 3:return!u;case 4:return u===!1;case 5:return isNaN(u);case 6:return isNaN(u)||1>u}return!1}function w(s,u,d,m,x,S,I){this.acceptsBooleans=u===2||u===3||u===4,this.attributeName=m,this.attributeNamespace=x,this.mustUseProperty=d,this.propertyName=s,this.type=u,this.sanitizeURL=S,this.removeEmptyString=I}var _={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(s){_[s]=new w(s,0,!1,s,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(s){var u=s[0];_[u]=new w(u,1,!1,s[1],null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(s){_[s]=new w(s,2,!1,s.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(s){_[s]=new w(s,2,!1,s,null,!1,!1)}),"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(s){_[s]=new w(s,3,!1,s.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(s){_[s]=new w(s,3,!0,s,null,!1,!1)}),["capture","download"].forEach(function(s){_[s]=new w(s,4,!1,s,null,!1,!1)}),["cols","rows","size","span"].forEach(function(s){_[s]=new w(s,6,!1,s,null,!1,!1)}),["rowSpan","start"].forEach(function(s){_[s]=new w(s,5,!1,s.toLowerCase(),null,!1,!1)});var T=/[\-:]([a-z])/g;function N(s){return s[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(s){var u=s.replace(T,N);_[u]=new w(u,1,!1,s,null,!1,!1)}),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(s){var u=s.replace(T,N);_[u]=new w(u,1,!1,s,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(function(s){var u=s.replace(T,N);_[u]=new w(u,1,!1,s,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(s){_[s]=new w(s,1,!1,s.toLowerCase(),null,!1,!1)}),_.xlinkHref=new w("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(s){_[s]=new w(s,1,!1,s.toLowerCase(),null,!0,!0)});function C(s,u,d,m){var x=_.hasOwnProperty(u)?_[u]:null;(x!==null?x.type!==0:m||!(2V||x[I]!==S[V]){var W=` +`+x[I].replace(" at new "," at ");return s.displayName&&W.includes("")&&(W=W.replace("",s.displayName)),W}while(1<=I&&0<=V);break}}}finally{re=!1,Error.prepareStackTrace=d}return(s=s?s.displayName||s.name:"")?R(s):""}function se(s){switch(s.tag){case 5:return R(s.type);case 16:return R("Lazy");case 13:return R("Suspense");case 19:return R("SuspenseList");case 0:case 2:case 15:return s=Y(s.type,!1),s;case 11:return s=Y(s.type.render,!1),s;case 1:return s=Y(s.type,!0),s;default:return""}}function ue(s){if(s==null)return null;if(typeof s=="function")return s.displayName||s.name||null;if(typeof s=="string")return s;switch(s){case F:return"Fragment";case L:return"Portal";case $:return"Profiler";case H:return"StrictMode";case U:return"Suspense";case O:return"SuspenseList"}if(typeof s=="object")switch(s.$$typeof){case Z:return(s.displayName||"Context")+".Consumer";case Q:return(s._context.displayName||"Context")+".Provider";case ee:var u=s.render;return s=s.displayName,s||(s=u.displayName||u.name||"",s=s!==""?"ForwardRef("+s+")":"ForwardRef"),s;case G:return u=s.displayName||null,u!==null?u:ue(s.type)||"Memo";case X:u=s._payload,s=s._init;try{return ue(s(u))}catch{}}return null}function le(s){var u=s.type;switch(s.tag){case 24:return"Cache";case 9:return(u.displayName||"Context")+".Consumer";case 10:return(u._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return s=u.render,s=s.displayName||s.name||"",u.displayName||(s!==""?"ForwardRef("+s+")":"ForwardRef");case 7:return"Fragment";case 5:return u;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return ue(u);case 8:return u===H?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if(typeof u=="function")return u.displayName||u.name||null;if(typeof u=="string")return u}return null}function te(s){switch(typeof s){case"boolean":case"number":case"string":case"undefined":return s;case"object":return s;default:return""}}function de(s){var u=s.type;return(s=s.nodeName)&&s.toLowerCase()==="input"&&(u==="checkbox"||u==="radio")}function ve(s){var u=de(s)?"checked":"value",d=Object.getOwnPropertyDescriptor(s.constructor.prototype,u),m=""+s[u];if(!s.hasOwnProperty(u)&&typeof d<"u"&&typeof d.get=="function"&&typeof d.set=="function"){var x=d.get,S=d.set;return Object.defineProperty(s,u,{configurable:!0,get:function(){return x.call(this)},set:function(I){m=""+I,S.call(this,I)}}),Object.defineProperty(s,u,{enumerable:d.enumerable}),{getValue:function(){return m},setValue:function(I){m=""+I},stopTracking:function(){s._valueTracker=null,delete s[u]}}}}function _e(s){s._valueTracker||(s._valueTracker=ve(s))}function Re(s){if(!s)return!1;var u=s._valueTracker;if(!u)return!0;var d=u.getValue(),m="";return s&&(m=de(s)?s.checked?"true":"false":s.value),s=m,s!==d?(u.setValue(s),!0):!1}function we(s){if(s=s||(typeof document<"u"?document:void 0),typeof s>"u")return null;try{return s.activeElement||s.body}catch{return s.body}}function je(s,u){var d=u.checked;return q({},u,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:d??s._wrapperState.initialChecked})}function Ge(s,u){var d=u.defaultValue==null?"":u.defaultValue,m=u.checked!=null?u.checked:u.defaultChecked;d=te(u.value!=null?u.value:d),s._wrapperState={initialChecked:m,initialValue:d,controlled:u.type==="checkbox"||u.type==="radio"?u.checked!=null:u.value!=null}}function Qe(s,u){u=u.checked,u!=null&&C(s,"checked",u,!1)}function Ye(s,u){Qe(s,u);var d=te(u.value),m=u.type;if(d!=null)m==="number"?(d===0&&s.value===""||s.value!=d)&&(s.value=""+d):s.value!==""+d&&(s.value=""+d);else if(m==="submit"||m==="reset"){s.removeAttribute("value");return}u.hasOwnProperty("value")?nt(s,u.type,d):u.hasOwnProperty("defaultValue")&&nt(s,u.type,te(u.defaultValue)),u.checked==null&&u.defaultChecked!=null&&(s.defaultChecked=!!u.defaultChecked)}function wt(s,u,d){if(u.hasOwnProperty("value")||u.hasOwnProperty("defaultValue")){var m=u.type;if(!(m!=="submit"&&m!=="reset"||u.value!==void 0&&u.value!==null))return;u=""+s._wrapperState.initialValue,d||u===s.value||(s.value=u),s.defaultValue=u}d=s.name,d!==""&&(s.name=""),s.defaultChecked=!!s._wrapperState.initialChecked,d!==""&&(s.name=d)}function nt(s,u,d){(u!=="number"||we(s.ownerDocument)!==s)&&(d==null?s.defaultValue=""+s._wrapperState.initialValue:s.defaultValue!==""+d&&(s.defaultValue=""+d))}var Kt=Array.isArray;function sn(s,u,d,m){if(s=s.options,u){u={};for(var x=0;x"+u.valueOf().toString()+"",u=lt.firstChild;s.firstChild;)s.removeChild(s.firstChild);for(;u.firstChild;)s.appendChild(u.firstChild)}});function $t(s,u){if(u){var d=s.firstChild;if(d&&d===s.lastChild&&d.nodeType===3){d.nodeValue=u;return}}s.textContent=u}var an={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},yn=["Webkit","ms","Moz","O"];Object.keys(an).forEach(function(s){yn.forEach(function(u){u=u+s.charAt(0).toUpperCase()+s.substring(1),an[u]=an[s]})});function Jr(s,u,d){return u==null||typeof u=="boolean"||u===""?"":d||typeof u!="number"||u===0||an.hasOwnProperty(s)&&an[s]?(""+u).trim():u+"px"}function Ar(s,u){s=s.style;for(var d in u)if(u.hasOwnProperty(d)){var m=d.indexOf("--")===0,x=Jr(d,u[d],m);d==="float"&&(d="cssFloat"),m?s.setProperty(d,x):s[d]=x}}var Ho=q({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function Ii(s,u){if(u){if(Ho[s]&&(u.children!=null||u.dangerouslySetInnerHTML!=null))throw Error(n(137,s));if(u.dangerouslySetInnerHTML!=null){if(u.children!=null)throw Error(n(60));if(typeof u.dangerouslySetInnerHTML!="object"||!("__html"in u.dangerouslySetInnerHTML))throw Error(n(61))}if(u.style!=null&&typeof u.style!="object")throw Error(n(62))}}function mr(s,u){if(s.indexOf("-")===-1)return typeof u.is=="string";switch(s){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var gr=null;function Di(s){return s=s.target||s.srcElement||window,s.correspondingUseElement&&(s=s.correspondingUseElement),s.nodeType===3?s.parentNode:s}var qo=null,Ri=null,fo=null;function po(s){if(s=Nu(s)){if(typeof qo!="function")throw Error(n(280));var u=s.stateNode;u&&(u=$f(u),qo(s.stateNode,s.type,u))}}function ho(s){Ri?fo?fo.push(s):fo=[s]:Ri=s}function $s(){if(Ri){var s=Ri,u=fo;if(fo=Ri=null,po(s),u)for(s=0;s>>=0,s===0?32:31-(WN(s)/GN|0)|0}var xf=64,wf=4194304;function cu(s){switch(s&-s){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return s&4194240;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return s&130023424;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return s}}function Ef(s,u){var d=s.pendingLanes;if(d===0)return 0;var m=0,x=s.suspendedLanes,S=s.pingedLanes,I=d&268435455;if(I!==0){var V=I&~x;V!==0?m=cu(V):(S&=I,S!==0&&(m=cu(S)))}else I=d&~x,I!==0?m=cu(I):S!==0&&(m=cu(S));if(m===0)return 0;if(u!==0&&u!==m&&(u&x)===0&&(x=m&-m,S=u&-u,x>=S||x===16&&(S&4194240)!==0))return u;if((m&4)!==0&&(m|=d&16),u=s.entangledLanes,u!==0)for(s=s.entanglements,u&=m;0d;d++)u.push(s);return u}function fu(s,u,d){s.pendingLanes|=u,u!==536870912&&(s.suspendedLanes=0,s.pingedLanes=0),s=s.eventTimes,u=31-ei(u),s[u]=d}function ZN(s,u){var d=s.pendingLanes&~u;s.pendingLanes=u,s.suspendedLanes=0,s.pingedLanes=0,s.expiredLanes&=u,s.mutableReadLanes&=u,s.entangledLanes&=u,u=s.entanglements;var m=s.eventTimes;for(s=s.expirationTimes;0=yu),vy=" ",yy=!1;function xy(s,u){switch(s){case"keyup":return TA.indexOf(u.keyCode)!==-1;case"keydown":return u.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function wy(s){return s=s.detail,typeof s=="object"&&"data"in s?s.data:null}var $a=!1;function CA(s,u){switch(s){case"compositionend":return wy(u);case"keypress":return u.which!==32?null:(yy=!0,vy);case"textInput":return s=u.data,s===vy&&yy?null:s;default:return null}}function NA(s,u){if($a)return s==="compositionend"||!gh&&xy(s,u)?(s=dy(),Cf=ch=ts=null,$a=!1,s):null;switch(s){case"paste":return null;case"keypress":if(!(u.ctrlKey||u.altKey||u.metaKey)||u.ctrlKey&&u.altKey){if(u.char&&1=u)return{node:d,offset:u-s};s=m}e:{for(;d;){if(d.nextSibling){d=d.nextSibling;break e}d=d.parentNode}d=void 0}d=Ny(d)}}function Iy(s,u){return s&&u?s===u?!0:s&&s.nodeType===3?!1:u&&u.nodeType===3?Iy(s,u.parentNode):"contains"in s?s.contains(u):s.compareDocumentPosition?!!(s.compareDocumentPosition(u)&16):!1:!1}function Dy(){for(var s=window,u=we();u instanceof s.HTMLIFrameElement;){try{var d=typeof u.contentWindow.location.href=="string"}catch{d=!1}if(d)s=u.contentWindow;else break;u=we(s.document)}return u}function yh(s){var u=s&&s.nodeName&&s.nodeName.toLowerCase();return u&&(u==="input"&&(s.type==="text"||s.type==="search"||s.type==="tel"||s.type==="url"||s.type==="password")||u==="textarea"||s.contentEditable==="true")}function MA(s){var u=Dy(),d=s.focusedElem,m=s.selectionRange;if(u!==d&&d&&d.ownerDocument&&Iy(d.ownerDocument.documentElement,d)){if(m!==null&&yh(d)){if(u=m.start,s=m.end,s===void 0&&(s=u),"selectionStart"in d)d.selectionStart=u,d.selectionEnd=Math.min(s,d.value.length);else if(s=(u=d.ownerDocument||document)&&u.defaultView||window,s.getSelection){s=s.getSelection();var x=d.textContent.length,S=Math.min(m.start,x);m=m.end===void 0?S:Math.min(m.end,x),!s.extend&&S>m&&(x=m,m=S,S=x),x=Ay(d,S);var I=Ay(d,m);x&&I&&(s.rangeCount!==1||s.anchorNode!==x.node||s.anchorOffset!==x.offset||s.focusNode!==I.node||s.focusOffset!==I.offset)&&(u=u.createRange(),u.setStart(x.node,x.offset),s.removeAllRanges(),S>m?(s.addRange(u),s.extend(I.node,I.offset)):(u.setEnd(I.node,I.offset),s.addRange(u)))}}for(u=[],s=d;s=s.parentNode;)s.nodeType===1&&u.push({element:s,left:s.scrollLeft,top:s.scrollTop});for(typeof d.focus=="function"&&d.focus(),d=0;d=document.documentMode,ja=null,xh=null,Su=null,wh=!1;function Ry(s,u,d){var m=d.window===d?d.document:d.nodeType===9?d:d.ownerDocument;wh||ja==null||ja!==we(m)||(m=ja,"selectionStart"in m&&yh(m)?m={start:m.selectionStart,end:m.selectionEnd}:(m=(m.ownerDocument&&m.ownerDocument.defaultView||window).getSelection(),m={anchorNode:m.anchorNode,anchorOffset:m.anchorOffset,focusNode:m.focusNode,focusOffset:m.focusOffset}),Su&&Eu(Su,m)||(Su=m,m=Ff(xh,"onSelect"),0Ha||(s.current=Lh[Ha],Lh[Ha]=null,Ha--)}function ht(s,u){Ha++,Lh[Ha]=s.current,s.current=u}var os={},An=is(os),er=is(!1),Vs=os;function qa(s,u){var d=s.type.contextTypes;if(!d)return os;var m=s.stateNode;if(m&&m.__reactInternalMemoizedUnmaskedChildContext===u)return m.__reactInternalMemoizedMaskedChildContext;var x={},S;for(S in d)x[S]=u[S];return m&&(s=s.stateNode,s.__reactInternalMemoizedUnmaskedChildContext=u,s.__reactInternalMemoizedMaskedChildContext=x),x}function tr(s){return s=s.childContextTypes,s!=null}function jf(){yt(er),yt(An)}function Gy(s,u,d){if(An.current!==os)throw Error(n(168));ht(An,u),ht(er,d)}function Qy(s,u,d){var m=s.stateNode;if(u=u.childContextTypes,typeof m.getChildContext!="function")return d;m=m.getChildContext();for(var x in m)if(!(x in u))throw Error(n(108,le(s)||"Unknown",x));return q({},d,m)}function Bf(s){return s=(s=s.stateNode)&&s.__reactInternalMemoizedMergedChildContext||os,Vs=An.current,ht(An,s),ht(er,er.current),!0}function Yy(s,u,d){var m=s.stateNode;if(!m)throw Error(n(169));d?(s=Qy(s,u,Vs),m.__reactInternalMemoizedMergedChildContext=s,yt(er),yt(An),ht(An,s)):yt(er),ht(er,d)}var xo=null,Vf=!1,Ph=!1;function Xy(s){xo===null?xo=[s]:xo.push(s)}function YA(s){Vf=!0,Xy(s)}function ss(){if(!Ph&&xo!==null){Ph=!0;var s=0,u=ot;try{var d=xo;for(ot=1;s>=I,x-=I,wo=1<<32-ei(u)+x|d<Me?(cn=Fe,Fe=null):cn=Fe.sibling;var Je=pe(ne,Fe,oe[Me],ye);if(Je===null){Fe===null&&(Fe=cn);break}s&&Fe&&Je.alternate===null&&u(ne,Fe),J=S(Je,J,Me),Pe===null?Ie=Je:Pe.sibling=Je,Pe=Je,Fe=cn}if(Me===oe.length)return d(ne,Fe),Et&&zs(ne,Me),Ie;if(Fe===null){for(;MeMe?(cn=Fe,Fe=null):cn=Fe.sibling;var ms=pe(ne,Fe,Je.value,ye);if(ms===null){Fe===null&&(Fe=cn);break}s&&Fe&&ms.alternate===null&&u(ne,Fe),J=S(ms,J,Me),Pe===null?Ie=ms:Pe.sibling=ms,Pe=ms,Fe=cn}if(Je.done)return d(ne,Fe),Et&&zs(ne,Me),Ie;if(Fe===null){for(;!Je.done;Me++,Je=oe.next())Je=me(ne,Je.value,ye),Je!==null&&(J=S(Je,J,Me),Pe===null?Ie=Je:Pe.sibling=Je,Pe=Je);return Et&&zs(ne,Me),Ie}for(Fe=m(ne,Fe);!Je.done;Me++,Je=oe.next())Je=Se(Fe,ne,Me,Je.value,ye),Je!==null&&(s&&Je.alternate!==null&&Fe.delete(Je.key===null?Me:Je.key),J=S(Je,J,Me),Pe===null?Ie=Je:Pe.sibling=Je,Pe=Je);return s&&Fe.forEach(function(AI){return u(ne,AI)}),Et&&zs(ne,Me),Ie}function Bt(ne,J,oe,ye){if(typeof oe=="object"&&oe!==null&&oe.type===F&&oe.key===null&&(oe=oe.props.children),typeof oe=="object"&&oe!==null){switch(oe.$$typeof){case D:e:{for(var Ie=oe.key,Pe=J;Pe!==null;){if(Pe.key===Ie){if(Ie=oe.type,Ie===F){if(Pe.tag===7){d(ne,Pe.sibling),J=x(Pe,oe.props.children),J.return=ne,ne=J;break e}}else if(Pe.elementType===Ie||typeof Ie=="object"&&Ie!==null&&Ie.$$typeof===X&&n5(Ie)===Pe.type){d(ne,Pe.sibling),J=x(Pe,oe.props),J.ref=Au(ne,Pe,oe),J.return=ne,ne=J;break e}d(ne,Pe);break}else u(ne,Pe);Pe=Pe.sibling}oe.type===F?(J=Zs(oe.props.children,ne.mode,ye,oe.key),J.return=ne,ne=J):(ye=md(oe.type,oe.key,oe.props,null,ne.mode,ye),ye.ref=Au(ne,J,oe),ye.return=ne,ne=ye)}return I(ne);case L:e:{for(Pe=oe.key;J!==null;){if(J.key===Pe)if(J.tag===4&&J.stateNode.containerInfo===oe.containerInfo&&J.stateNode.implementation===oe.implementation){d(ne,J.sibling),J=x(J,oe.children||[]),J.return=ne,ne=J;break e}else{d(ne,J);break}else u(ne,J);J=J.sibling}J=Dm(oe,ne.mode,ye),J.return=ne,ne=J}return I(ne);case X:return Pe=oe._init,Bt(ne,J,Pe(oe._payload),ye)}if(Kt(oe))return ke(ne,J,oe,ye);if(B(oe))return Ae(ne,J,oe,ye);qf(ne,oe)}return typeof oe=="string"&&oe!==""||typeof oe=="number"?(oe=""+oe,J!==null&&J.tag===6?(d(ne,J.sibling),J=x(J,oe),J.return=ne,ne=J):(d(ne,J),J=Im(oe,ne.mode,ye),J.return=ne,ne=J),I(ne)):d(ne,J)}return Bt}var Ya=r5(!0),i5=r5(!1),Wf=is(null),Gf=null,Xa=null,Bh=null;function Vh(){Bh=Xa=Gf=null}function Uh(s){var u=Wf.current;yt(Wf),s._currentValue=u}function zh(s,u,d){for(;s!==null;){var m=s.alternate;if((s.childLanes&u)!==u?(s.childLanes|=u,m!==null&&(m.childLanes|=u)):m!==null&&(m.childLanes&u)!==u&&(m.childLanes|=u),s===d)break;s=s.return}}function Za(s,u){Gf=s,Bh=Xa=null,s=s.dependencies,s!==null&&s.firstContext!==null&&((s.lanes&u)!==0&&(nr=!0),s.firstContext=null)}function Pr(s){var u=s._currentValue;if(Bh!==s)if(s={context:s,memoizedValue:u,next:null},Xa===null){if(Gf===null)throw Error(n(308));Xa=s,Gf.dependencies={lanes:0,firstContext:s}}else Xa=Xa.next=s;return u}var Hs=null;function Hh(s){Hs===null?Hs=[s]:Hs.push(s)}function o5(s,u,d,m){var x=u.interleaved;return x===null?(d.next=d,Hh(u)):(d.next=x.next,x.next=d),u.interleaved=d,So(s,m)}function So(s,u){s.lanes|=u;var d=s.alternate;for(d!==null&&(d.lanes|=u),d=s,s=s.return;s!==null;)s.childLanes|=u,d=s.alternate,d!==null&&(d.childLanes|=u),d=s,s=s.return;return d.tag===3?d.stateNode:null}var as=!1;function qh(s){s.updateQueue={baseState:s.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function s5(s,u){s=s.updateQueue,u.updateQueue===s&&(u.updateQueue={baseState:s.baseState,firstBaseUpdate:s.firstBaseUpdate,lastBaseUpdate:s.lastBaseUpdate,shared:s.shared,effects:s.effects})}function _o(s,u){return{eventTime:s,lane:u,tag:0,payload:null,callback:null,next:null}}function ls(s,u,d){var m=s.updateQueue;if(m===null)return null;if(m=m.shared,(Xe&2)!==0){var x=m.pending;return x===null?u.next=u:(u.next=x.next,x.next=u),m.pending=u,So(s,d)}return x=m.interleaved,x===null?(u.next=u,Hh(m)):(u.next=x.next,x.next=u),m.interleaved=u,So(s,d)}function Qf(s,u,d){if(u=u.updateQueue,u!==null&&(u=u.shared,(d&4194240)!==0)){var m=u.lanes;m&=s.pendingLanes,d|=m,u.lanes=d,oh(s,d)}}function a5(s,u){var d=s.updateQueue,m=s.alternate;if(m!==null&&(m=m.updateQueue,d===m)){var x=null,S=null;if(d=d.firstBaseUpdate,d!==null){do{var I={eventTime:d.eventTime,lane:d.lane,tag:d.tag,payload:d.payload,callback:d.callback,next:null};S===null?x=S=I:S=S.next=I,d=d.next}while(d!==null);S===null?x=S=u:S=S.next=u}else x=S=u;d={baseState:m.baseState,firstBaseUpdate:x,lastBaseUpdate:S,shared:m.shared,effects:m.effects},s.updateQueue=d;return}s=d.lastBaseUpdate,s===null?d.firstBaseUpdate=u:s.next=u,d.lastBaseUpdate=u}function Yf(s,u,d,m){var x=s.updateQueue;as=!1;var S=x.firstBaseUpdate,I=x.lastBaseUpdate,V=x.shared.pending;if(V!==null){x.shared.pending=null;var W=V,ae=W.next;W.next=null,I===null?S=ae:I.next=ae,I=W;var he=s.alternate;he!==null&&(he=he.updateQueue,V=he.lastBaseUpdate,V!==I&&(V===null?he.firstBaseUpdate=ae:V.next=ae,he.lastBaseUpdate=W))}if(S!==null){var me=x.baseState;I=0,he=ae=W=null,V=S;do{var pe=V.lane,Se=V.eventTime;if((m&pe)===pe){he!==null&&(he=he.next={eventTime:Se,lane:0,tag:V.tag,payload:V.payload,callback:V.callback,next:null});e:{var ke=s,Ae=V;switch(pe=u,Se=d,Ae.tag){case 1:if(ke=Ae.payload,typeof ke=="function"){me=ke.call(Se,me,pe);break e}me=ke;break e;case 3:ke.flags=ke.flags&-65537|128;case 0:if(ke=Ae.payload,pe=typeof ke=="function"?ke.call(Se,me,pe):ke,pe==null)break e;me=q({},me,pe);break e;case 2:as=!0}}V.callback!==null&&V.lane!==0&&(s.flags|=64,pe=x.effects,pe===null?x.effects=[V]:pe.push(V))}else Se={eventTime:Se,lane:pe,tag:V.tag,payload:V.payload,callback:V.callback,next:null},he===null?(ae=he=Se,W=me):he=he.next=Se,I|=pe;if(V=V.next,V===null){if(V=x.shared.pending,V===null)break;pe=V,V=pe.next,pe.next=null,x.lastBaseUpdate=pe,x.shared.pending=null}}while(!0);if(he===null&&(W=me),x.baseState=W,x.firstBaseUpdate=ae,x.lastBaseUpdate=he,u=x.shared.interleaved,u!==null){x=u;do I|=x.lane,x=x.next;while(x!==u)}else S===null&&(x.shared.lanes=0);Gs|=I,s.lanes=I,s.memoizedState=me}}function l5(s,u,d){if(s=u.effects,u.effects=null,s!==null)for(u=0;ud?d:4,s(!0);var m=Xh.transition;Xh.transition={};try{s(!1),u()}finally{ot=d,Xh.transition=m}}function C5(){return Fr().memoizedState}function KA(s,u,d){var m=ds(s);if(d={lane:m,action:d,hasEagerState:!1,eagerState:null,next:null},N5(s))A5(u,d);else if(d=o5(s,u,d,m),d!==null){var x=Hn();si(d,s,m,x),I5(d,u,m)}}function eI(s,u,d){var m=ds(s),x={lane:m,action:d,hasEagerState:!1,eagerState:null,next:null};if(N5(s))A5(u,x);else{var S=s.alternate;if(s.lanes===0&&(S===null||S.lanes===0)&&(S=u.lastRenderedReducer,S!==null))try{var I=u.lastRenderedState,V=S(I,d);if(x.hasEagerState=!0,x.eagerState=V,ti(V,I)){var W=u.interleaved;W===null?(x.next=x,Hh(u)):(x.next=W.next,W.next=x),u.interleaved=x;return}}catch{}finally{}d=o5(s,u,x,m),d!==null&&(x=Hn(),si(d,s,m,x),I5(d,u,m))}}function N5(s){var u=s.alternate;return s===kt||u!==null&&u===kt}function A5(s,u){Lu=Jf=!0;var d=s.pending;d===null?u.next=u:(u.next=d.next,d.next=u),s.pending=u}function I5(s,u,d){if((d&4194240)!==0){var m=u.lanes;m&=s.pendingLanes,d|=m,u.lanes=d,oh(s,d)}}var td={readContext:Pr,useCallback:In,useContext:In,useEffect:In,useImperativeHandle:In,useInsertionEffect:In,useLayoutEffect:In,useMemo:In,useReducer:In,useRef:In,useState:In,useDebugValue:In,useDeferredValue:In,useTransition:In,useMutableSource:In,useSyncExternalStore:In,useId:In,unstable_isNewReconciler:!1},tI={readContext:Pr,useCallback:function(s,u){return Bi().memoizedState=[s,u===void 0?null:u],s},useContext:Pr,useEffect:y5,useImperativeHandle:function(s,u,d){return d=d!=null?d.concat([s]):null,Kf(4194308,4,E5.bind(null,u,s),d)},useLayoutEffect:function(s,u){return Kf(4194308,4,s,u)},useInsertionEffect:function(s,u){return Kf(4,2,s,u)},useMemo:function(s,u){var d=Bi();return u=u===void 0?null:u,s=s(),d.memoizedState=[s,u],s},useReducer:function(s,u,d){var m=Bi();return u=d!==void 0?d(u):u,m.memoizedState=m.baseState=u,s={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:s,lastRenderedState:u},m.queue=s,s=s.dispatch=KA.bind(null,kt,s),[m.memoizedState,s]},useRef:function(s){var u=Bi();return s={current:s},u.memoizedState=s},useState:b5,useDebugValue:rm,useDeferredValue:function(s){return Bi().memoizedState=s},useTransition:function(){var s=b5(!1),u=s[0];return s=JA.bind(null,s[1]),Bi().memoizedState=s,[u,s]},useMutableSource:function(){},useSyncExternalStore:function(s,u,d){var m=kt,x=Bi();if(Et){if(d===void 0)throw Error(n(407));d=d()}else{if(d=u(),un===null)throw Error(n(349));(Ws&30)!==0||d5(m,u,d)}x.memoizedState=d;var S={value:d,getSnapshot:u};return x.queue=S,y5(h5.bind(null,m,S,s),[s]),m.flags|=2048,Ou(9,p5.bind(null,m,S,d,u),void 0,null),d},useId:function(){var s=Bi(),u=un.identifierPrefix;if(Et){var d=Eo,m=wo;d=(m&~(1<<32-ei(m)-1)).toString(32)+d,u=":"+u+"R"+d,d=Pu++,0<\/script>",s=s.removeChild(s.firstChild)):typeof m.is=="string"?s=I.createElement(d,{is:m.is}):(s=I.createElement(d),d==="select"&&(I=s,m.multiple?I.multiple=!0:m.size&&(I.size=m.size))):s=I.createElementNS(s,d),s[$i]=u,s[Cu]=m,X5(s,u,!1,!1),u.stateNode=s;e:{switch(I=mr(d,m),d){case"dialog":vt("cancel",s),vt("close",s),x=m;break;case"iframe":case"object":case"embed":vt("load",s),x=m;break;case"video":case"audio":for(x=0;x<_u.length;x++)vt(_u[x],s);x=m;break;case"source":vt("error",s),x=m;break;case"img":case"image":case"link":vt("error",s),vt("load",s),x=m;break;case"details":vt("toggle",s),x=m;break;case"input":Ge(s,m),x=je(s,m),vt("invalid",s);break;case"option":x=m;break;case"select":s._wrapperState={wasMultiple:!!m.multiple},x=q({},m,{value:void 0}),vt("invalid",s);break;case"textarea":Gt(s,m),x=_t(s,m),vt("invalid",s);break;default:x=m}Ii(d,x),V=x;for(S in V)if(V.hasOwnProperty(S)){var W=V[S];S==="style"?Ar(s,W):S==="dangerouslySetInnerHTML"?(W=W?W.__html:void 0,W!=null&&It(s,W)):S==="children"?typeof W=="string"?(d!=="textarea"||W!=="")&&$t(s,W):typeof W=="number"&&$t(s,""+W):S!=="suppressContentEditableWarning"&&S!=="suppressHydrationWarning"&&S!=="autoFocus"&&(i.hasOwnProperty(S)?W!=null&&S==="onScroll"&&vt("scroll",s):W!=null&&C(s,S,W,I))}switch(d){case"input":_e(s),wt(s,m,!1);break;case"textarea":_e(s),Qt(s);break;case"option":m.value!=null&&s.setAttribute("value",""+te(m.value));break;case"select":s.multiple=!!m.multiple,S=m.value,S!=null?sn(s,!!m.multiple,S,!1):m.defaultValue!=null&&sn(s,!!m.multiple,m.defaultValue,!0);break;default:typeof x.onClick=="function"&&(s.onclick=Mf)}switch(d){case"button":case"input":case"select":case"textarea":m=!!m.autoFocus;break e;case"img":m=!0;break e;default:m=!1}}m&&(u.flags|=4)}u.ref!==null&&(u.flags|=512,u.flags|=2097152)}return Dn(u),null;case 6:if(s&&u.stateNode!=null)J5(s,u,s.memoizedProps,m);else{if(typeof m!="string"&&u.stateNode===null)throw Error(n(166));if(d=qs(Ru.current),qs(ji.current),Hf(u)){if(m=u.stateNode,d=u.memoizedProps,m[$i]=u,(S=m.nodeValue!==d)&&(s=vr,s!==null))switch(s.tag){case 3:Of(m.nodeValue,d,(s.mode&1)!==0);break;case 5:s.memoizedProps.suppressHydrationWarning!==!0&&Of(m.nodeValue,d,(s.mode&1)!==0)}S&&(u.flags|=4)}else m=(d.nodeType===9?d:d.ownerDocument).createTextNode(m),m[$i]=u,u.stateNode=m}return Dn(u),null;case 13:if(yt(Tt),m=u.memoizedState,s===null||s.memoizedState!==null&&s.memoizedState.dehydrated!==null){if(Et&&yr!==null&&(u.mode&1)!==0&&(u.flags&128)===0)t5(),Qa(),u.flags|=98560,S=!1;else if(S=Hf(u),m!==null&&m.dehydrated!==null){if(s===null){if(!S)throw Error(n(318));if(S=u.memoizedState,S=S!==null?S.dehydrated:null,!S)throw Error(n(317));S[$i]=u}else Qa(),(u.flags&128)===0&&(u.memoizedState=null),u.flags|=4;Dn(u),S=!1}else ni!==null&&(Tm(ni),ni=null),S=!0;if(!S)return u.flags&65536?u:null}return(u.flags&128)!==0?(u.lanes=d,u):(m=m!==null,m!==(s!==null&&s.memoizedState!==null)&&m&&(u.child.flags|=8192,(u.mode&1)!==0&&(s===null||(Tt.current&1)!==0?tn===0&&(tn=3):Nm())),u.updateQueue!==null&&(u.flags|=4),Dn(u),null);case 4:return Ja(),hm(s,u),s===null&&Tu(u.stateNode.containerInfo),Dn(u),null;case 10:return Uh(u.type._context),Dn(u),null;case 17:return tr(u.type)&&jf(),Dn(u),null;case 19:if(yt(Tt),S=u.memoizedState,S===null)return Dn(u),null;if(m=(u.flags&128)!==0,I=S.rendering,I===null)if(m)Mu(S,!1);else{if(tn!==0||s!==null&&(s.flags&128)!==0)for(s=u.child;s!==null;){if(I=Xf(s),I!==null){for(u.flags|=128,Mu(S,!1),m=I.updateQueue,m!==null&&(u.updateQueue=m,u.flags|=4),u.subtreeFlags=0,m=d,d=u.child;d!==null;)S=d,s=m,S.flags&=14680066,I=S.alternate,I===null?(S.childLanes=0,S.lanes=s,S.child=null,S.subtreeFlags=0,S.memoizedProps=null,S.memoizedState=null,S.updateQueue=null,S.dependencies=null,S.stateNode=null):(S.childLanes=I.childLanes,S.lanes=I.lanes,S.child=I.child,S.subtreeFlags=0,S.deletions=null,S.memoizedProps=I.memoizedProps,S.memoizedState=I.memoizedState,S.updateQueue=I.updateQueue,S.type=I.type,s=I.dependencies,S.dependencies=s===null?null:{lanes:s.lanes,firstContext:s.firstContext}),d=d.sibling;return ht(Tt,Tt.current&1|2),u.child}s=s.sibling}S.tail!==null&&jt()>nl&&(u.flags|=128,m=!0,Mu(S,!1),u.lanes=4194304)}else{if(!m)if(s=Xf(I),s!==null){if(u.flags|=128,m=!0,d=s.updateQueue,d!==null&&(u.updateQueue=d,u.flags|=4),Mu(S,!0),S.tail===null&&S.tailMode==="hidden"&&!I.alternate&&!Et)return Dn(u),null}else 2*jt()-S.renderingStartTime>nl&&d!==1073741824&&(u.flags|=128,m=!0,Mu(S,!1),u.lanes=4194304);S.isBackwards?(I.sibling=u.child,u.child=I):(d=S.last,d!==null?d.sibling=I:u.child=I,S.last=I)}return S.tail!==null?(u=S.tail,S.rendering=u,S.tail=u.sibling,S.renderingStartTime=jt(),u.sibling=null,d=Tt.current,ht(Tt,m?d&1|2:d&1),u):(Dn(u),null);case 22:case 23:return Cm(),m=u.memoizedState!==null,s!==null&&s.memoizedState!==null!==m&&(u.flags|=8192),m&&(u.mode&1)!==0?(xr&1073741824)!==0&&(Dn(u),u.subtreeFlags&6&&(u.flags|=8192)):Dn(u),null;case 24:return null;case 25:return null}throw Error(n(156,u.tag))}function uI(s,u){switch(Oh(u),u.tag){case 1:return tr(u.type)&&jf(),s=u.flags,s&65536?(u.flags=s&-65537|128,u):null;case 3:return Ja(),yt(er),yt(An),Yh(),s=u.flags,(s&65536)!==0&&(s&128)===0?(u.flags=s&-65537|128,u):null;case 5:return Gh(u),null;case 13:if(yt(Tt),s=u.memoizedState,s!==null&&s.dehydrated!==null){if(u.alternate===null)throw Error(n(340));Qa()}return s=u.flags,s&65536?(u.flags=s&-65537|128,u):null;case 19:return yt(Tt),null;case 4:return Ja(),null;case 10:return Uh(u.type._context),null;case 22:case 23:return Cm(),null;case 24:return null;default:return null}}var od=!1,Rn=!1,cI=typeof WeakSet=="function"?WeakSet:Set,Te=null;function el(s,u){var d=s.ref;if(d!==null)if(typeof d=="function")try{d(null)}catch(m){Dt(s,u,m)}else d.current=null}function mm(s,u,d){try{d()}catch(m){Dt(s,u,m)}}var K5=!1;function fI(s,u){if(Ch=Tf,s=Dy(),yh(s)){if("selectionStart"in s)var d={start:s.selectionStart,end:s.selectionEnd};else e:{d=(d=s.ownerDocument)&&d.defaultView||window;var m=d.getSelection&&d.getSelection();if(m&&m.rangeCount!==0){d=m.anchorNode;var x=m.anchorOffset,S=m.focusNode;m=m.focusOffset;try{d.nodeType,S.nodeType}catch{d=null;break e}var I=0,V=-1,W=-1,ae=0,he=0,me=s,pe=null;t:for(;;){for(var Se;me!==d||x!==0&&me.nodeType!==3||(V=I+x),me!==S||m!==0&&me.nodeType!==3||(W=I+m),me.nodeType===3&&(I+=me.nodeValue.length),(Se=me.firstChild)!==null;)pe=me,me=Se;for(;;){if(me===s)break t;if(pe===d&&++ae===x&&(V=I),pe===S&&++he===m&&(W=I),(Se=me.nextSibling)!==null)break;me=pe,pe=me.parentNode}me=Se}d=V===-1||W===-1?null:{start:V,end:W}}else d=null}d=d||{start:0,end:0}}else d=null;for(Nh={focusedElem:s,selectionRange:d},Tf=!1,Te=u;Te!==null;)if(u=Te,s=u.child,(u.subtreeFlags&1028)!==0&&s!==null)s.return=u,Te=s;else for(;Te!==null;){u=Te;try{var ke=u.alternate;if((u.flags&1024)!==0)switch(u.tag){case 0:case 11:case 15:break;case 1:if(ke!==null){var Ae=ke.memoizedProps,Bt=ke.memoizedState,ne=u.stateNode,J=ne.getSnapshotBeforeUpdate(u.elementType===u.type?Ae:ri(u.type,Ae),Bt);ne.__reactInternalSnapshotBeforeUpdate=J}break;case 3:var oe=u.stateNode.containerInfo;oe.nodeType===1?oe.textContent="":oe.nodeType===9&&oe.documentElement&&oe.removeChild(oe.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(n(163))}}catch(ye){Dt(u,u.return,ye)}if(s=u.sibling,s!==null){s.return=u.return,Te=s;break}Te=u.return}return ke=K5,K5=!1,ke}function $u(s,u,d){var m=u.updateQueue;if(m=m!==null?m.lastEffect:null,m!==null){var x=m=m.next;do{if((x.tag&s)===s){var S=x.destroy;x.destroy=void 0,S!==void 0&&mm(u,d,S)}x=x.next}while(x!==m)}}function sd(s,u){if(u=u.updateQueue,u=u!==null?u.lastEffect:null,u!==null){var d=u=u.next;do{if((d.tag&s)===s){var m=d.create;d.destroy=m()}d=d.next}while(d!==u)}}function gm(s){var u=s.ref;if(u!==null){var d=s.stateNode;switch(s.tag){case 5:s=d;break;default:s=d}typeof u=="function"?u(s):u.current=s}}function ex(s){var u=s.alternate;u!==null&&(s.alternate=null,ex(u)),s.child=null,s.deletions=null,s.sibling=null,s.tag===5&&(u=s.stateNode,u!==null&&(delete u[$i],delete u[Cu],delete u[Rh],delete u[GA],delete u[QA])),s.stateNode=null,s.return=null,s.dependencies=null,s.memoizedProps=null,s.memoizedState=null,s.pendingProps=null,s.stateNode=null,s.updateQueue=null}function tx(s){return s.tag===5||s.tag===3||s.tag===4}function nx(s){e:for(;;){for(;s.sibling===null;){if(s.return===null||tx(s.return))return null;s=s.return}for(s.sibling.return=s.return,s=s.sibling;s.tag!==5&&s.tag!==6&&s.tag!==18;){if(s.flags&2||s.child===null||s.tag===4)continue e;s.child.return=s,s=s.child}if(!(s.flags&2))return s.stateNode}}function bm(s,u,d){var m=s.tag;if(m===5||m===6)s=s.stateNode,u?d.nodeType===8?d.parentNode.insertBefore(s,u):d.insertBefore(s,u):(d.nodeType===8?(u=d.parentNode,u.insertBefore(s,d)):(u=d,u.appendChild(s)),d=d._reactRootContainer,d!=null||u.onclick!==null||(u.onclick=Mf));else if(m!==4&&(s=s.child,s!==null))for(bm(s,u,d),s=s.sibling;s!==null;)bm(s,u,d),s=s.sibling}function vm(s,u,d){var m=s.tag;if(m===5||m===6)s=s.stateNode,u?d.insertBefore(s,u):d.appendChild(s);else if(m!==4&&(s=s.child,s!==null))for(vm(s,u,d),s=s.sibling;s!==null;)vm(s,u,d),s=s.sibling}var xn=null,ii=!1;function us(s,u,d){for(d=d.child;d!==null;)rx(s,u,d),d=d.sibling}function rx(s,u,d){if(Mi&&typeof Mi.onCommitFiberUnmount=="function")try{Mi.onCommitFiberUnmount(yf,d)}catch{}switch(d.tag){case 5:Rn||el(d,u);case 6:var m=xn,x=ii;xn=null,us(s,u,d),xn=m,ii=x,xn!==null&&(ii?(s=xn,d=d.stateNode,s.nodeType===8?s.parentNode.removeChild(d):s.removeChild(d)):xn.removeChild(d.stateNode));break;case 18:xn!==null&&(ii?(s=xn,d=d.stateNode,s.nodeType===8?Dh(s.parentNode,d):s.nodeType===1&&Dh(s,d),gu(s)):Dh(xn,d.stateNode));break;case 4:m=xn,x=ii,xn=d.stateNode.containerInfo,ii=!0,us(s,u,d),xn=m,ii=x;break;case 0:case 11:case 14:case 15:if(!Rn&&(m=d.updateQueue,m!==null&&(m=m.lastEffect,m!==null))){x=m=m.next;do{var S=x,I=S.destroy;S=S.tag,I!==void 0&&((S&2)!==0||(S&4)!==0)&&mm(d,u,I),x=x.next}while(x!==m)}us(s,u,d);break;case 1:if(!Rn&&(el(d,u),m=d.stateNode,typeof m.componentWillUnmount=="function"))try{m.props=d.memoizedProps,m.state=d.memoizedState,m.componentWillUnmount()}catch(V){Dt(d,u,V)}us(s,u,d);break;case 21:us(s,u,d);break;case 22:d.mode&1?(Rn=(m=Rn)||d.memoizedState!==null,us(s,u,d),Rn=m):us(s,u,d);break;default:us(s,u,d)}}function ix(s){var u=s.updateQueue;if(u!==null){s.updateQueue=null;var d=s.stateNode;d===null&&(d=s.stateNode=new cI),u.forEach(function(m){var x=xI.bind(null,s,m);d.has(m)||(d.add(m),m.then(x,x))})}}function oi(s,u){var d=u.deletions;if(d!==null)for(var m=0;mx&&(x=I),m&=~S}if(m=x,m=jt()-m,m=(120>m?120:480>m?480:1080>m?1080:1920>m?1920:3e3>m?3e3:4320>m?4320:1960*pI(m/1960))-m,10s?16:s,fs===null)var m=!1;else{if(s=fs,fs=null,fd=0,(Xe&6)!==0)throw Error(n(331));var x=Xe;for(Xe|=4,Te=s.current;Te!==null;){var S=Te,I=S.child;if((Te.flags&16)!==0){var V=S.deletions;if(V!==null){for(var W=0;Wjt()-wm?Ys(s,0):xm|=d),ir(s,u)}function bx(s,u){u===0&&((s.mode&1)===0?u=1:(u=wf,wf<<=1,(wf&130023424)===0&&(wf=4194304)));var d=Hn();s=So(s,u),s!==null&&(fu(s,u,d),ir(s,d))}function yI(s){var u=s.memoizedState,d=0;u!==null&&(d=u.retryLane),bx(s,d)}function xI(s,u){var d=0;switch(s.tag){case 13:var m=s.stateNode,x=s.memoizedState;x!==null&&(d=x.retryLane);break;case 19:m=s.stateNode;break;default:throw Error(n(314))}m!==null&&m.delete(u),bx(s,d)}var vx;vx=function(s,u,d){if(s!==null)if(s.memoizedProps!==u.pendingProps||er.current)nr=!0;else{if((s.lanes&d)===0&&(u.flags&128)===0)return nr=!1,aI(s,u,d);nr=(s.flags&131072)!==0}else nr=!1,Et&&(u.flags&1048576)!==0&&Zy(u,zf,u.index);switch(u.lanes=0,u.tag){case 2:var m=u.type;id(s,u),s=u.pendingProps;var x=qa(u,An.current);Za(u,d),x=Jh(null,u,m,s,x,d);var S=Kh();return u.flags|=1,typeof x=="object"&&x!==null&&typeof x.render=="function"&&x.$$typeof===void 0?(u.tag=1,u.memoizedState=null,u.updateQueue=null,tr(m)?(S=!0,Bf(u)):S=!1,u.memoizedState=x.state!==null&&x.state!==void 0?x.state:null,qh(u),x.updater=nd,u.stateNode=x,x._reactInternals=u,om(u,m,s,d),u=um(null,u,m,!0,S,d)):(u.tag=0,Et&&S&&Fh(u),zn(null,u,x,d),u=u.child),u;case 16:m=u.elementType;e:{switch(id(s,u),s=u.pendingProps,x=m._init,m=x(m._payload),u.type=m,x=u.tag=EI(m),s=ri(m,s),x){case 0:u=lm(null,u,m,s,d);break e;case 1:u=H5(null,u,m,s,d);break e;case 11:u=j5(null,u,m,s,d);break e;case 14:u=B5(null,u,m,ri(m.type,s),d);break e}throw Error(n(306,m,""))}return u;case 0:return m=u.type,x=u.pendingProps,x=u.elementType===m?x:ri(m,x),lm(s,u,m,x,d);case 1:return m=u.type,x=u.pendingProps,x=u.elementType===m?x:ri(m,x),H5(s,u,m,x,d);case 3:e:{if(q5(u),s===null)throw Error(n(387));m=u.pendingProps,S=u.memoizedState,x=S.element,s5(s,u),Yf(u,m,null,d);var I=u.memoizedState;if(m=I.element,S.isDehydrated)if(S={element:m,isDehydrated:!1,cache:I.cache,pendingSuspenseBoundaries:I.pendingSuspenseBoundaries,transitions:I.transitions},u.updateQueue.baseState=S,u.memoizedState=S,u.flags&256){x=Ka(Error(n(423)),u),u=W5(s,u,m,d,x);break e}else if(m!==x){x=Ka(Error(n(424)),u),u=W5(s,u,m,d,x);break e}else for(yr=rs(u.stateNode.containerInfo.firstChild),vr=u,Et=!0,ni=null,d=i5(u,null,m,d),u.child=d;d;)d.flags=d.flags&-3|4096,d=d.sibling;else{if(Qa(),m===x){u=To(s,u,d);break e}zn(s,u,m,d)}u=u.child}return u;case 5:return u5(u),s===null&&$h(u),m=u.type,x=u.pendingProps,S=s!==null?s.memoizedProps:null,I=x.children,Ah(m,x)?I=null:S!==null&&Ah(m,S)&&(u.flags|=32),z5(s,u),zn(s,u,I,d),u.child;case 6:return s===null&&$h(u),null;case 13:return G5(s,u,d);case 4:return Wh(u,u.stateNode.containerInfo),m=u.pendingProps,s===null?u.child=Ya(u,null,m,d):zn(s,u,m,d),u.child;case 11:return m=u.type,x=u.pendingProps,x=u.elementType===m?x:ri(m,x),j5(s,u,m,x,d);case 7:return zn(s,u,u.pendingProps,d),u.child;case 8:return zn(s,u,u.pendingProps.children,d),u.child;case 12:return zn(s,u,u.pendingProps.children,d),u.child;case 10:e:{if(m=u.type._context,x=u.pendingProps,S=u.memoizedProps,I=x.value,ht(Wf,m._currentValue),m._currentValue=I,S!==null)if(ti(S.value,I)){if(S.children===x.children&&!er.current){u=To(s,u,d);break e}}else for(S=u.child,S!==null&&(S.return=u);S!==null;){var V=S.dependencies;if(V!==null){I=S.child;for(var W=V.firstContext;W!==null;){if(W.context===m){if(S.tag===1){W=_o(-1,d&-d),W.tag=2;var ae=S.updateQueue;if(ae!==null){ae=ae.shared;var he=ae.pending;he===null?W.next=W:(W.next=he.next,he.next=W),ae.pending=W}}S.lanes|=d,W=S.alternate,W!==null&&(W.lanes|=d),zh(S.return,d,u),V.lanes|=d;break}W=W.next}}else if(S.tag===10)I=S.type===u.type?null:S.child;else if(S.tag===18){if(I=S.return,I===null)throw Error(n(341));I.lanes|=d,V=I.alternate,V!==null&&(V.lanes|=d),zh(I,d,u),I=S.sibling}else I=S.child;if(I!==null)I.return=S;else for(I=S;I!==null;){if(I===u){I=null;break}if(S=I.sibling,S!==null){S.return=I.return,I=S;break}I=I.return}S=I}zn(s,u,x.children,d),u=u.child}return u;case 9:return x=u.type,m=u.pendingProps.children,Za(u,d),x=Pr(x),m=m(x),u.flags|=1,zn(s,u,m,d),u.child;case 14:return m=u.type,x=ri(m,u.pendingProps),x=ri(m.type,x),B5(s,u,m,x,d);case 15:return V5(s,u,u.type,u.pendingProps,d);case 17:return m=u.type,x=u.pendingProps,x=u.elementType===m?x:ri(m,x),id(s,u),u.tag=1,tr(m)?(s=!0,Bf(u)):s=!1,Za(u,d),R5(u,m,x),om(u,m,x,d),um(null,u,m,!0,s,d);case 19:return Y5(s,u,d);case 22:return U5(s,u,d)}throw Error(n(156,u.tag))};function yx(s,u){return js(s,u)}function wI(s,u,d,m){this.tag=s,this.key=d,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=u,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=m,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function Mr(s,u,d,m){return new wI(s,u,d,m)}function Am(s){return s=s.prototype,!(!s||!s.isReactComponent)}function EI(s){if(typeof s=="function")return Am(s)?1:0;if(s!=null){if(s=s.$$typeof,s===ee)return 11;if(s===G)return 14}return 2}function hs(s,u){var d=s.alternate;return d===null?(d=Mr(s.tag,u,s.key,s.mode),d.elementType=s.elementType,d.type=s.type,d.stateNode=s.stateNode,d.alternate=s,s.alternate=d):(d.pendingProps=u,d.type=s.type,d.flags=0,d.subtreeFlags=0,d.deletions=null),d.flags=s.flags&14680064,d.childLanes=s.childLanes,d.lanes=s.lanes,d.child=s.child,d.memoizedProps=s.memoizedProps,d.memoizedState=s.memoizedState,d.updateQueue=s.updateQueue,u=s.dependencies,d.dependencies=u===null?null:{lanes:u.lanes,firstContext:u.firstContext},d.sibling=s.sibling,d.index=s.index,d.ref=s.ref,d}function md(s,u,d,m,x,S){var I=2;if(m=s,typeof s=="function")Am(s)&&(I=1);else if(typeof s=="string")I=5;else e:switch(s){case F:return Zs(d.children,x,S,u);case H:I=8,x|=8;break;case $:return s=Mr(12,d,u,x|2),s.elementType=$,s.lanes=S,s;case U:return s=Mr(13,d,u,x),s.elementType=U,s.lanes=S,s;case O:return s=Mr(19,d,u,x),s.elementType=O,s.lanes=S,s;case K:return gd(d,x,S,u);default:if(typeof s=="object"&&s!==null)switch(s.$$typeof){case Q:I=10;break e;case Z:I=9;break e;case ee:I=11;break e;case G:I=14;break e;case X:I=16,m=null;break e}throw Error(n(130,s==null?s:typeof s,""))}return u=Mr(I,d,u,x),u.elementType=s,u.type=m,u.lanes=S,u}function Zs(s,u,d,m){return s=Mr(7,s,m,u),s.lanes=d,s}function gd(s,u,d,m){return s=Mr(22,s,m,u),s.elementType=K,s.lanes=d,s.stateNode={isHidden:!1},s}function Im(s,u,d){return s=Mr(6,s,null,u),s.lanes=d,s}function Dm(s,u,d){return u=Mr(4,s.children!==null?s.children:[],s.key,u),u.lanes=d,u.stateNode={containerInfo:s.containerInfo,pendingChildren:null,implementation:s.implementation},u}function SI(s,u,d,m,x){this.tag=u,this.containerInfo=s,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=ih(0),this.expirationTimes=ih(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=ih(0),this.identifierPrefix=m,this.onRecoverableError=x,this.mutableSourceEagerHydrationData=null}function Rm(s,u,d,m,x,S,I,V,W){return s=new SI(s,u,d,V,W),u===1?(u=1,S===!0&&(u|=8)):u=0,S=Mr(3,null,null,u),s.current=S,S.stateNode=s,S.memoizedState={element:m,isDehydrated:d,cache:null,transitions:null,pendingSuspenseBoundaries:null},qh(S),s}function _I(s,u,d){var m=3"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(t){console.error(t)}}return e(),zm.exports=xR(),zm.exports}var jn=$S();const wR=Kl(jn);var Js={hidden:"Polaris-Labelled--hidden",LabelWrapper:"Polaris-Labelled__LabelWrapper",disabled:"Polaris-Labelled--disabled",HelpText:"Polaris-Labelled__HelpText",readOnly:"Polaris-Labelled--readOnly",Error:"Polaris-Labelled__Error",Action:"Polaris-Labelled__Action"},Jx={InlineError:"Polaris-InlineError",Icon:"Polaris-InlineError__Icon"};function ER({message:e,fieldID:t}){return e?z.createElement("div",{id:SR(t),className:Jx.InlineError},z.createElement("div",{className:Jx.Icon},z.createElement(Ns,{source:kS})),z.createElement(Wr,{as:"span",variant:"bodyMd"},e)):null}function SR(e){return`${e}Error`}var Nd={Label:"Polaris-Label",hidden:"Polaris-Label--hidden",Text:"Polaris-Label__Text",RequiredIndicator:"Polaris-Label__RequiredIndicator"};function _R(e){return`${e}Label`}function TR({children:e,id:t,hidden:n,requiredIndicator:r}){const i=Vn(Nd.Label,n&&Nd.hidden);return z.createElement("div",{className:i},z.createElement("label",{id:_R(t),htmlFor:t,className:Vn(Nd.Text,r&&Nd.RequiredIndicator)},z.createElement(Wr,{as:"span",variant:"bodyMd"},e)))}function kR({id:e,label:t,error:n,action:r,helpText:i,children:o,labelHidden:a,requiredIndicator:l,disabled:c,readOnly:f,...p}){const h=Vn(a&&Js.hidden,c&&Js.disabled,f&&Js.readOnly),g=r?z.createElement("div",{className:Js.Action},pR(r,{variant:"plain"})):null,b=i?z.createElement("div",{className:Js.HelpText,id:jS(e),"aria-disabled":c},z.createElement(Wr,{as:"span",tone:"subdued",variant:"bodyMd",breakWord:!0},i)):null,y=n&&typeof n!="boolean"&&z.createElement("div",{className:Js.Error},z.createElement(ER,{message:n,fieldID:e})),w=t?z.createElement("div",{className:Js.LabelWrapper},z.createElement(TR,Object.assign({id:e,requiredIndicator:l},p,{hidden:!1}),t),g):null;return z.createElement("div",{className:h},w,o,y,b)}function jS(e){return`${e}HelpText`}function CR(e,t=()=>!0){return v.Children.toArray(e).filter(n=>v.isValidElement(n)&&t(n))}const BS=v.createContext(!1);var oa={Banner:"Polaris-Banner",keyFocused:"Polaris-Banner--keyFocused",withinContentContainer:"Polaris-Banner--withinContentContainer",withinPage:"Polaris-Banner--withinPage",DismissIcon:"Polaris-Banner__DismissIcon","text-success-on-bg-fill":"Polaris-Banner--textSuccessOnBgFill","text-success":"Polaris-Banner__text--success","text-warning-on-bg-fill":"Polaris-Banner--textWarningOnBgFill","text-warning":"Polaris-Banner__text--warning","text-critical-on-bg-fill":"Polaris-Banner--textCriticalOnBgFill","text-critical":"Polaris-Banner__text--critical","text-info-on-bg-fill":"Polaris-Banner--textInfoOnBgFill","text-info":"Polaris-Banner__text--info","icon-secondary":"Polaris-Banner__icon--secondary"};const Wm={success:{withinPage:{background:"bg-fill-success",text:"text-success-on-bg-fill",icon:"text-success-on-bg-fill"},withinContentContainer:{background:"bg-surface-success",text:"text-success",icon:"text-success"},icon:AS},warning:{withinPage:{background:"bg-fill-warning",text:"text-warning-on-bg-fill",icon:"text-warning-on-bg-fill"},withinContentContainer:{background:"bg-surface-warning",text:"text-warning",icon:"text-warning"},icon:NS},critical:{withinPage:{background:"bg-fill-critical",text:"text-critical-on-bg-fill",icon:"text-critical-on-bg-fill"},withinContentContainer:{background:"bg-surface-critical",text:"text-critical",icon:"text-critical"},icon:CS},info:{withinPage:{background:"bg-fill-info",text:"text-info-on-bg-fill",icon:"text-info-on-bg-fill"},withinContentContainer:{background:"bg-surface-info",text:"text-info",icon:"text-info"},icon:RS}};function NR(e){const t=v.useRef(null),[n,r]=v.useState(!1);return v.useImperativeHandle(e,()=>({focus:()=>{var l;(l=t.current)==null||l.focus(),r(!0)}}),[]),{wrapperRef:t,handleKeyUp:l=>{l.target===t.current&&r(!0)},handleBlur:()=>r(!1),handleMouseUp:l=>{l.currentTarget.blur(),r(!1)},shouldShowFocus:n}}var Es={ButtonGroup:"Polaris-ButtonGroup",Item:"Polaris-ButtonGroup__Item","Item-plain":"Polaris-ButtonGroup__Item--plain",variantSegmented:"Polaris-ButtonGroup--variantSegmented","Item-focused":"Polaris-ButtonGroup__Item--focused",fullWidth:"Polaris-ButtonGroup--fullWidth",extraTight:"Polaris-ButtonGroup--extraTight",tight:"Polaris-ButtonGroup--tight",loose:"Polaris-ButtonGroup--loose",noWrap:"Polaris-ButtonGroup--noWrap"};function AR({button:e}){const{value:t,setTrue:n,setFalse:r}=MS(!1),i=Vn(Es.Item,t&&Es["Item-focused"],e.props.variant==="plain"&&Es["Item-plain"]);return z.createElement("div",{className:i,onFocus:n,onBlur:r},e)}function IR({children:e,gap:t,variant:n,fullWidth:r,connectedTop:i,noWrap:o}){const a=Vn(Es.ButtonGroup,t&&Es[t],n&&Es[Vr("variant",n)],r&&Es.fullWidth,o&&Es.noWrap),l=CR(e).map((c,f)=>z.createElement(AR,{button:c,key:f}));return z.createElement("div",{className:a,"data-buttongroup-variant":n,"data-buttongroup-connected-top":i,"data-buttongroup-full-width":r,"data-buttongroup-no-wrap":o},l)}const DR=v.forwardRef(function(t,n){const{tone:r,stopAnnouncements:i}=t,o=v.useContext(vS),{wrapperRef:a,handleKeyUp:l,handleBlur:c,handleMouseUp:f,shouldShowFocus:p}=NR(n),h=Vn(oa.Banner,p&&oa.keyFocused,o?oa.withinContentContainer:oa.withinPage);return z.createElement(BS.Provider,{value:!0},z.createElement("div",{className:h,tabIndex:0,ref:a,role:r==="warning"||r==="critical"?"alert":"status","aria-live":i?"off":"polite",onMouseUp:f,onKeyUp:l,onBlur:c},z.createElement(RR,t)))});function RR({tone:e="info",icon:t,hideIcon:n,onDismiss:r,action:i,secondaryAction:o,title:a,children:l}){const c=mp(),f=v.useContext(vS),p=!a&&!f,h=Object.keys(Wm).includes(e)?e:"info",g=Wm[h][f?"withinContentContainer":"withinPage"],b={backgroundColor:g.background,textColor:g.text,bannerTitle:a?z.createElement(Wr,{as:"h2",variant:"headingSm",breakWord:!0},a):null,bannerIcon:n?null:z.createElement("span",{className:oa[g.icon]},z.createElement(Ns,{source:t??Wm[h].icon})),actionButtons:i||o?z.createElement(IR,null,i&&z.createElement(n0,Object.assign({onClick:i.onAction},i),i.content),o&&z.createElement(n0,Object.assign({onClick:o.onAction},o),o.content)):null,dismissButton:r?z.createElement(n0,{variant:"tertiary",icon:z.createElement("span",{className:oa[p?"icon-secondary":g.icon]},z.createElement(Ns,{source:LS})),onClick:r,accessibilityLabel:c.translate("Polaris.Banner.dismissButton")}):null},y=l?z.createElement(Wr,{as:"span",variant:"bodyMd"},l):null;return f?z.createElement(FR,b,y):p?z.createElement(PR,b,y):z.createElement(LR,b,y)}function LR({backgroundColor:e,textColor:t,bannerTitle:n,bannerIcon:r,actionButtons:i,dismissButton:o,children:a}){const{smUp:l}=X2(),c=a||i;return z.createElement(bi,{width:"100%"},z.createElement(bc,{align:"space-between"},z.createElement(bi,{background:e,color:t,borderStartStartRadius:l?"300":void 0,borderStartEndRadius:l?"300":void 0,borderEndStartRadius:!c&&l?"300":void 0,borderEndEndRadius:!c&&l?"300":void 0,padding:"300"},z.createElement(Bl,{align:"space-between",blockAlign:"center",gap:"200",wrap:!1},z.createElement(Bl,{gap:"100",wrap:!1},r,n),o)),c&&z.createElement(bi,{padding:{xs:"300",md:"400"},paddingBlockStart:"300"},z.createElement(bc,{gap:"200"},z.createElement("div",null,a),i))))}function PR({backgroundColor:e,bannerIcon:t,actionButtons:n,dismissButton:r,children:i}){const[o,a]=v.useState("center"),l=v.useRef(null),c=v.useRef(null),f=v.useRef(null),p=v.useCallback(()=>{var b,y,w;const h=(b=l.current)==null?void 0:b.offsetHeight,g=((y=c.current)==null?void 0:y.offsetHeight)||((w=f.current)==null?void 0:w.offsetHeight);!h||!g||(h>g?a("start"):a("center"))},[]);return v.useEffect(()=>p(),[p]),ND("resize",p),z.createElement(bi,{width:"100%",padding:"300",borderRadius:"300"},z.createElement(Bl,{align:"space-between",blockAlign:o,wrap:!1},z.createElement(bi,{width:"100%"},z.createElement(Bl,{gap:"200",wrap:!1,blockAlign:o},t?z.createElement("div",{ref:c},z.createElement(bi,{background:e,borderRadius:"200",padding:"100"},t)):null,z.createElement(bi,{ref:l,width:"100%"},z.createElement(bc,{gap:"200"},z.createElement("div",null,i),n)))),z.createElement("div",{ref:f,className:oa.DismissIcon},r)))}function FR({backgroundColor:e,textColor:t,bannerTitle:n,bannerIcon:r,actionButtons:i,dismissButton:o,children:a}){return z.createElement(bi,{width:"100%",background:e,padding:"200",borderRadius:"200",color:t},z.createElement(Bl,{align:"space-between",blockAlign:"start",wrap:!1,gap:"200"},z.createElement(Bl,{gap:"150",wrap:!1},r,z.createElement(bi,{width:"100%"},z.createElement(bc,{gap:"200"},z.createElement(bc,{gap:"050"},n,z.createElement("div",null,a)),i))),o))}var Gm={Link:"Polaris-Link",monochrome:"Polaris-Link--monochrome",removeUnderline:"Polaris-Link--removeUnderline"};function Kx({url:e,children:t,onClick:n,external:r,target:i,id:o,monochrome:a,removeUnderline:l,accessibilityLabel:c,dataPrimaryLink:f}){return z.createElement(BS.Consumer,null,p=>{const h=a||p,g=Vn(Gm.Link,h&&Gm.monochrome,l&&Gm.removeUnderline);return e?z.createElement(FS,{onClick:n,className:g,url:e,external:r,target:i,id:o,"aria-label":c,"data-primary-link":f},t):z.createElement("button",{type:"button",onClick:n,className:g,id:o,"aria-label":c,"data-primary-link":f},t)})}var Ui={Select:"Polaris-Select",disabled:"Polaris-Select--disabled",error:"Polaris-Select--error",Backdrop:"Polaris-Select__Backdrop",Input:"Polaris-Select__Input",Content:"Polaris-Select__Content",InlineLabel:"Polaris-Select__InlineLabel",Icon:"Polaris-Select__Icon",SelectedOption:"Polaris-Select__SelectedOption",Prefix:"Polaris-Select__Prefix",hover:"Polaris-Select--hover",toneMagic:"Polaris-Select--toneMagic"};const e3="";function OR({options:e,label:t,labelAction:n,labelHidden:r,labelInline:i,disabled:o,helpText:a,placeholder:l,id:c,name:f,value:p=e3,error:h,onChange:g,onFocus:b,onBlur:y,requiredIndicator:w,tone:_}){const{value:T,toggle:N}=MS(!1),C=v.useId(),A=c??C,D=i?!0:r,L=Vn(Ui.Select,h&&Ui.error,_&&Ui[Vr("tone",_)],o&&Ui.disabled),F=v.useCallback(P=>{N(),b==null||b(P)},[b,N]),H=v.useCallback(P=>{N(),y==null||y(P)},[y,N]),$=g?P=>g(P.currentTarget.value,A):void 0,Q=[];a&&Q.push(jS(A)),h&&Q.push(`${A}Error`);let ee=(e||[]).map(MR);l&&(ee=[{label:l,value:e3,disabled:!0},...ee]);const U=i&&z.createElement(bi,{paddingInlineEnd:"100"},z.createElement(Wr,{as:"span",variant:"bodyMd",tone:_&&_==="magic"&&!T?"magic-subdued":"subdued",truncate:!0},t)),O=$R(ee,p),G=O.prefix&&z.createElement("div",{className:Ui.Prefix},O.prefix),X=z.createElement("div",{className:Ui.Content,"aria-hidden":!0,"aria-disabled":o},U,G,z.createElement("span",{className:Ui.SelectedOption},O.label),z.createElement("span",{className:Ui.Icon},z.createElement(Ns,{source:Z2}))),K=ee.map(BR);return z.createElement(kR,{id:A,label:t,error:h,action:n,labelHidden:D,helpText:a,requiredIndicator:w,disabled:o},z.createElement("div",{className:L},z.createElement("select",{id:A,name:f,value:p,className:Ui.Input,disabled:o,onFocus:F,onBlur:H,onChange:$,"aria-invalid":!!h,"aria-describedby":Q.length?Q.join(" "):void 0,"aria-required":w},K),X,z.createElement("div",{className:Ui.Backdrop})))}function t3(e){return typeof e=="string"}function J2(e){return typeof e=="object"&&"options"in e&&e.options!=null}function n3(e){return{label:e,value:e}}function MR(e){if(t3(e))return n3(e);if(J2(e)){const{title:t,options:n}=e;return{title:t,options:n.map(r=>t3(r)?n3(r):r)}}return e}function $R(e,t){const n=jR(e);let r=n.find(i=>t===i.value);return r===void 0&&(r=n.find(i=>!i.hidden)),r||{value:"",label:""}}function jR(e){let t=[];return e.forEach(n=>{J2(n)?t=t.concat(n.options):t.push(n)}),t}function r3(e){const{value:t,label:n,prefix:r,key:i,...o}=e;return z.createElement("option",Object.assign({key:i??t,value:t},o),n)}function BR(e){if(J2(e)){const{title:t,options:n}=e;return z.createElement("optgroup",{label:t,key:t},n.map(r3))}return r3(e)}var VS=function(t){return z.createElement("svg",Object.assign({viewBox:"0 0 20 20"},t),z.createElement("path",{d:"M10 6a.75.75 0 0 1 .75.75v3.5a.75.75 0 0 1-1.5 0v-3.5a.75.75 0 0 1 .75-.75Z"}),z.createElement("path",{d:"M11 13a1 1 0 1 1-2 0 1 1 0 0 1 2 0Z"}),z.createElement("path",{fillRule:"evenodd",d:"M17 10a7 7 0 1 1-14 0 7 7 0 0 1 14 0Zm-1.5 0a5.5 5.5 0 1 1-11 0 5.5 5.5 0 0 1 11 0Z"}))};VS.displayName="AlertCircleIcon";var K2=function(t){return z.createElement("svg",Object.assign({viewBox:"0 0 20 20"},t),z.createElement("path",{fillRule:"evenodd",d:"M17 10a7 7 0 1 1-14 0 7 7 0 0 1 14 0Zm-3.677 4.383a5.5 5.5 0 0 1-7.706-7.706l7.706 7.706Zm1.06-1.06-7.706-7.706a5.5 5.5 0 0 1 7.706 7.706Z"}))};K2.displayName="DisabledIcon";var ag=function(t){return z.createElement("svg",Object.assign({viewBox:"0 0 20 20"},t),z.createElement("path",{fillRule:"evenodd",d:"M15.842 4.175a3.746 3.746 0 0 0-5.298 0l-2.116 2.117a3.75 3.75 0 0 0 .01 5.313l.338.336a.75.75 0 1 0 1.057-1.064l-.339-.337a2.25 2.25 0 0 1-.005-3.187l2.116-2.117a2.246 2.246 0 1 1 3.173 3.18l-1.052 1.047a.75.75 0 0 0 1.058 1.064l1.052-1.047a3.746 3.746 0 0 0 .006-5.305Zm-11.664 11.67a3.75 3.75 0 0 0 5.304 0l2.121-2.121a3.75 3.75 0 0 0 0-5.303l-.362-.362a.75.75 0 0 0-1.06 1.06l.362.362a2.25 2.25 0 0 1 0 3.182l-2.122 2.122a2.25 2.25 0 1 1-3.182-3.182l1.07-1.07a.75.75 0 1 0-1.062-1.06l-1.069 1.069a3.75 3.75 0 0 0 0 5.303Z"}))};ag.displayName="LinkIcon";function VR({status:e}){const{serverIsLive:t,appIsInstalled:n}=e;return t?n?k.jsx(Cl,{tone:"success",progress:"complete",children:"Running"}):k.jsx(Cl,{tone:"attention",icon:VS,children:"App uninstalled"}):k.jsx(Cl,{tone:"critical",icon:K2,children:"Disconnected"})}function UR({isVisible:e}){return e?k.jsx(DR,{tone:"critical",icon:K2,children:k.jsxs("p",{children:["The server has been stopped. Restart ",k.jsx("code",{children:"dev"})," from the CLI."]})}):null}const zR="_Container_6rz6x_1";function HR({status:e}){const{storeFqdn:t,appName:n,appUrl:r}=e;return!t||!n||!r?null:k.jsxs("div",{className:zR,children:[k.jsx(Kx,{url:`https://${t}/admin`,target:"_blank",removeUnderline:!0,children:k.jsx(Cl,{tone:"info",icon:ag,children:t})}),k.jsx(Kx,{url:r,target:"_blank",removeUnderline:!0,children:k.jsx(Cl,{tone:"info",icon:ag,children:n})})]})}function qR({versions:e,value:t,onChange:n}){return k.jsx(OR,{label:"API version",labelHidden:!0,options:e.map(r=>({label:r,value:r})),value:t,onChange:n})}/** + * Copyright (c) Meta Platforms, Inc. and affiliates. + * + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + * + * @lightSyntaxTransform + * @noflow + * @nolint + * @preventMunge + * @preserve-invariant-messages + */var Qm,i3;function WR(){if(i3)return Qm;i3=1;var e=Object.create,t=Object.defineProperty,n=Object.getOwnPropertyDescriptor,r=Object.getOwnPropertyNames,i=Object.getPrototypeOf,o=Object.prototype.hasOwnProperty,a=(P,B)=>{for(var q in B)t(P,q,{get:B[q],enumerable:!0})},l=(P,B,q,j)=>{if(B&&typeof B=="object"||typeof B=="function")for(let R of r(B))!o.call(P,R)&&R!==q&&t(P,R,{get:()=>B[R],enumerable:!(j=n(B,R))||j.enumerable});return P},c=(P,B,q)=>(q=P!=null?e(i(P)):{},l(!P||!P.__esModule?t(q,"default",{value:P,enumerable:!0}):q,P)),f=P=>l(t({},"__esModule",{value:!0}),P),p={};a(p,{$dispatcherGuard:()=>H,$makeReadOnly:()=>Q,$reset:()=>$,$structuralCheck:()=>K,c:()=>C,clearRenderCounterRegistry:()=>ee,renderCounterRegistry:()=>Z,useRenderCounter:()=>G}),Qm=f(p);var h=c(Gc()),{useRef:g,useEffect:b,isValidElement:y}=h,w,_=(w=h.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE)!=null?w:h.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,T=Symbol.for("react.memo_cache_sentinel"),N,C=typeof((N=h.__COMPILER_RUNTIME)==null?void 0:N.c)=="function"?h.__COMPILER_RUNTIME.c:function(B){return h.useMemo(()=>{const q=new Array(B);for(let j=0;j{A[P]=()=>{throw new Error(`[React] Unexpected React hook call (${P}) from a React compiled function. Check that all hooks are called directly and named according to convention ('use[A-Z]') `)}});var D=null;A.useMemoCache=P=>{if(D==null)throw new Error("React Compiler internal invariant violation: unexpected null dispatcher");return D.useMemoCache(P)};function L(P){return _.ReactCurrentDispatcher.current=P,_.ReactCurrentDispatcher.current}var F=[];function H(P){const B=_.ReactCurrentDispatcher.current;if(P===0){if(F.push(B),F.length===1&&(D=B),B===A)throw new Error("[React] Unexpected call to custom hook or component from a React compiled function. Check that (1) all hooks are called directly and named according to convention ('use[A-Z]') and (2) components are returned as JSX instead of being directly invoked.");L(A)}else if(P===1){const q=F.pop();if(q==null)throw new Error("React Compiler internal error: unexpected null in guard stack");F.length===0&&(D=null),L(q)}else if(P===2)F.push(B),L(D);else if(P===3){const q=F.pop();if(q==null)throw new Error("React Compiler internal error: unexpected null in guard stack");L(q)}else throw new Error("React Compiler internal error: unreachable block"+P)}function $(P){for(let B=0;B{B.count=0})}function U(P,B){let q=Z.get(P);q==null&&(q=new Set,Z.set(P,q)),q.add(B)}function O(P,B){const q=Z.get(P);q!=null&&q.delete(B)}function G(P){const B=g(null);B.current!=null&&(B.current.count+=1),b(()=>{if(B.current==null){const q={count:0};U(P,q),B.current=q}return()=>{B.current!==null&&O(P,B.current)}})}var X=new Set;function K(P,B,q,j,R,re){function Y(le,te,de,ve){const _e=`${j}:${re} [${R}] ${q}${de} changed from ${le} to ${te} at depth ${ve}`;X.has(_e)||(X.add(_e),console.error(_e))}const se=2;function ue(le,te,de,ve){if(!(ve>se)){if(le===te)return;if(typeof le!=typeof te)Y(`type ${typeof le}`,`type ${typeof te}`,de,ve);else if(typeof le=="object"){const _e=Array.isArray(le),Re=Array.isArray(te);if(le===null&&te!==null)Y("null",`type ${typeof te}`,de,ve);else if(te===null)Y(`type ${typeof le}`,"null",de,ve);else if(le instanceof Map)if(!(te instanceof Map))Y("Map instance","other value",de,ve);else if(le.size!==te.size)Y(`Map instance with size ${le.size}`,`Map instance with size ${te.size}`,de,ve);else for(const[we,je]of le)te.has(we)?ue(je,te.get(we),`${de}.get(${we})`,ve+1):Y(`Map instance with key ${we}`,`Map instance without key ${we}`,de,ve);else if(te instanceof Map)Y("other value","Map instance",de,ve);else if(le instanceof Set)if(!(te instanceof Set))Y("Set instance","other value",de,ve);else if(le.size!==te.size)Y(`Set instance with size ${le.size}`,`Set instance with size ${te.size}`,de,ve);else for(const we of te)le.has(we)||Y(`Set instance without element ${we}`,`Set instance with element ${we}`,de,ve);else if(te instanceof Set)Y("other value","Set instance",de,ve);else if(_e||Re)if(_e!==Re)Y(`type ${_e?"array":"object"}`,`type ${Re?"array":"object"}`,de,ve);else if(le.length!==te.length)Y(`array with length ${le.length}`,`array with length ${te.length}`,de,ve);else for(let we=0;wev.createElement("svg",{height:"1em",viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-labelledby":t,...n},e?v.createElement("title",{id:t},e):null,v.createElement("path",{d:"M5.0484 1.40838C6.12624 0.33054 7.87376 0.330541 8.9516 1.40838L12.5916 5.0484C13.6695 6.12624 13.6695 7.87376 12.5916 8.9516L8.9516 12.5916C7.87376 13.6695 6.12624 13.6695 5.0484 12.5916L1.40838 8.9516C0.33054 7.87376 0.330541 6.12624 1.40838 5.0484L5.0484 1.40838Z",stroke:"currentColor",strokeWidth:1.2}),v.createElement("rect",{x:6,y:6,width:2,height:2,rx:1,fill:"currentColor"})),QR=({title:e,titleId:t,...n})=>v.createElement("svg",{height:"1em",viewBox:"0 0 14 9",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-labelledby":t,...n},e?v.createElement("title",{id:t},e):null,v.createElement("path",{d:"M1 1L7 7L13 1",stroke:"currentColor",strokeWidth:1.5})),YR=({title:e,titleId:t,...n})=>v.createElement("svg",{height:"1em",viewBox:"0 0 7 10",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-labelledby":t,...n},e?v.createElement("title",{id:t},e):null,v.createElement("path",{d:"M6 1.04819L2 5.04819L6 9.04819",stroke:"currentColor",strokeWidth:1.75})),XR=({title:e,titleId:t,...n})=>v.createElement("svg",{height:"1em",viewBox:"0 0 14 9",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-labelledby":t,...n},e?v.createElement("title",{id:t},e):null,v.createElement("path",{d:"M13 8L7 2L1 8",stroke:"currentColor",strokeWidth:1.5})),ZR=({title:e,titleId:t,...n})=>v.createElement("svg",{height:"1em",viewBox:"0 0 14 14",stroke:"currentColor",strokeWidth:3,xmlns:"http://www.w3.org/2000/svg","aria-labelledby":t,...n},e?v.createElement("title",{id:t},e):null,v.createElement("path",{d:"M1 1L12.9998 12.9997"}),v.createElement("path",{d:"M13 1L1.00079 13.0003"})),JR=({title:e,titleId:t,...n})=>v.createElement("svg",{height:"1em",viewBox:"-2 -2 22 22",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-labelledby":t,...n},e?v.createElement("title",{id:t},e):null,v.createElement("path",{d:"M11.25 14.2105V15.235C11.25 16.3479 10.3479 17.25 9.23501 17.25H2.76499C1.65214 17.25 0.75 16.3479 0.75 15.235L0.75 8.76499C0.75 7.65214 1.65214 6.75 2.76499 6.75L3.78947 6.75",stroke:"currentColor",strokeWidth:1.5}),v.createElement("rect",{x:6.75,y:.75,width:10.5,height:10.5,rx:2.2069,stroke:"currentColor",strokeWidth:1.5})),KR=({title:e,titleId:t,...n})=>v.createElement("svg",{height:"1em",viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-labelledby":t,...n},e?v.createElement("title",{id:t},e):null,v.createElement("path",{d:"M5.0484 1.40838C6.12624 0.33054 7.87376 0.330541 8.9516 1.40838L12.5916 5.0484C13.6695 6.12624 13.6695 7.87376 12.5916 8.9516L8.9516 12.5916C7.87376 13.6695 6.12624 13.6695 5.0484 12.5916L1.40838 8.9516C0.33054 7.87376 0.330541 6.12624 1.40838 5.0484L5.0484 1.40838Z",stroke:"currentColor",strokeWidth:1.2}),v.createElement("path",{d:"M5 9L9 5",stroke:"currentColor",strokeWidth:1.2}),v.createElement("path",{d:"M5 5L9 9",stroke:"currentColor",strokeWidth:1.2})),eL=({title:e,titleId:t,...n})=>v.createElement("svg",{height:"1em",viewBox:"0 0 12 12",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-labelledby":t,...n},e?v.createElement("title",{id:t},e):null,v.createElement("path",{d:"M4 8L8 4",stroke:"currentColor",strokeWidth:1.2}),v.createElement("path",{d:"M4 4L8 8",stroke:"currentColor",strokeWidth:1.2}),v.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M8.5 1.2H9C9.99411 1.2 10.8 2.00589 10.8 3V9C10.8 9.99411 9.99411 10.8 9 10.8H8.5V12H9C10.6569 12 12 10.6569 12 9V3C12 1.34315 10.6569 0 9 0H8.5V1.2ZM3.5 1.2V0H3C1.34315 0 0 1.34315 0 3V9C0 10.6569 1.34315 12 3 12H3.5V10.8H3C2.00589 10.8 1.2 9.99411 1.2 9V3C1.2 2.00589 2.00589 1.2 3 1.2H3.5Z",fill:"currentColor"})),tL=({title:e,titleId:t,...n})=>v.createElement("svg",{height:"1em",viewBox:"0 0 12 12",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-labelledby":t,...n},e?v.createElement("title",{id:t},e):null,v.createElement("rect",{x:.6,y:.6,width:10.8,height:10.8,rx:3.4,stroke:"currentColor",strokeWidth:1.2}),v.createElement("path",{d:"M4 8L8 4",stroke:"currentColor",strokeWidth:1.2}),v.createElement("path",{d:"M4 4L8 8",stroke:"currentColor",strokeWidth:1.2})),nL=({title:e,titleId:t,...n})=>v.createElement("svg",{height:"1em",viewBox:"0 0.5 12 12",xmlns:"http://www.w3.org/2000/svg","aria-labelledby":t,...n},e?v.createElement("title",{id:t},e):null,v.createElement("rect",{x:7,y:5.5,width:2,height:2,rx:1,transform:"rotate(90 7 5.5)",fill:"currentColor"}),v.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M10.8 9L10.8 9.5C10.8 10.4941 9.99411 11.3 9 11.3L3 11.3C2.00589 11.3 1.2 10.4941 1.2 9.5L1.2 9L-3.71547e-07 9L-3.93402e-07 9.5C-4.65826e-07 11.1569 1.34314 12.5 3 12.5L9 12.5C10.6569 12.5 12 11.1569 12 9.5L12 9L10.8 9ZM10.8 4L12 4L12 3.5C12 1.84315 10.6569 0.5 9 0.5L3 0.5C1.34315 0.5 -5.87117e-08 1.84315 -1.31135e-07 3.5L-1.5299e-07 4L1.2 4L1.2 3.5C1.2 2.50589 2.00589 1.7 3 1.7L9 1.7C9.99411 1.7 10.8 2.50589 10.8 3.5L10.8 4Z",fill:"currentColor"})),rL=({title:e,titleId:t,...n})=>v.createElement("svg",{height:"1em",viewBox:"0 0 20 24",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-labelledby":t,...n},e?v.createElement("title",{id:t},e):null,v.createElement("path",{d:"M0.75 3C0.75 1.75736 1.75736 0.75 3 0.75H17.25C17.8023 0.75 18.25 1.19772 18.25 1.75V5.25",stroke:"currentColor",strokeWidth:1.5}),v.createElement("path",{d:"M0.75 3C0.75 4.24264 1.75736 5.25 3 5.25H18.25C18.8023 5.25 19.25 5.69771 19.25 6.25V22.25C19.25 22.8023 18.8023 23.25 18.25 23.25H3C1.75736 23.25 0.75 22.2426 0.75 21V3Z",stroke:"currentColor",strokeWidth:1.5}),v.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3 5.25C1.75736 5.25 0.75 4.24264 0.75 3V21C0.75 22.2426 1.75736 23.25 3 23.25H18.25C18.8023 23.25 19.25 22.8023 19.25 22.25V6.25C19.25 5.69771 18.8023 5.25 18.25 5.25H3ZM13 11L6 11V12.5L13 12.5V11Z",fill:"currentColor"})),iL=({title:e,titleId:t,...n})=>v.createElement("svg",{height:"1em",viewBox:"0 0 20 24",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-labelledby":t,...n},e?v.createElement("title",{id:t},e):null,v.createElement("path",{d:"M0.75 3C0.75 4.24264 1.75736 5.25 3 5.25H17.25M0.75 3C0.75 1.75736 1.75736 0.75 3 0.75H16.25C16.8023 0.75 17.25 1.19772 17.25 1.75V5.25M0.75 3V21C0.75 22.2426 1.75736 23.25 3 23.25H18.25C18.8023 23.25 19.25 22.8023 19.25 22.25V6.25C19.25 5.69771 18.8023 5.25 18.25 5.25H17.25",stroke:"currentColor",strokeWidth:1.5}),v.createElement("line",{x1:13,y1:11.75,x2:6,y2:11.75,stroke:"currentColor",strokeWidth:1.5})),oL=({title:e,titleId:t,...n})=>v.createElement("svg",{height:"1em",viewBox:"0 0 12 12",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-labelledby":t,...n},e?v.createElement("title",{id:t},e):null,v.createElement("rect",{x:5,y:5,width:2,height:2,rx:1,fill:"currentColor"}),v.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M8.5 1.2H9C9.99411 1.2 10.8 2.00589 10.8 3V9C10.8 9.99411 9.99411 10.8 9 10.8H8.5V12H9C10.6569 12 12 10.6569 12 9V3C12 1.34315 10.6569 0 9 0H8.5V1.2ZM3.5 1.2V0H3C1.34315 0 0 1.34315 0 3V9C0 10.6569 1.34315 12 3 12H3.5V10.8H3C2.00589 10.8 1.2 9.99411 1.2 9V3C1.2 2.00589 2.00589 1.2 3 1.2H3.5Z",fill:"currentColor"})),sL=({title:e,titleId:t,...n})=>v.createElement("svg",{height:"1em",viewBox:"0 0 12 13",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-labelledby":t,...n},e?v.createElement("title",{id:t},e):null,v.createElement("rect",{x:.6,y:1.1,width:10.8,height:10.8,rx:2.4,stroke:"currentColor",strokeWidth:1.2}),v.createElement("rect",{x:5,y:5.5,width:2,height:2,rx:1,fill:"currentColor"})),aL=({title:e,titleId:t,...n})=>v.createElement("svg",{height:"1em",viewBox:"0 0 24 20",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-labelledby":t,...n},e?v.createElement("title",{id:t},e):null,v.createElement("path",{d:"M1.59375 9.52344L4.87259 12.9944L8.07872 9.41249",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"square"}),v.createElement("path",{d:"M13.75 5.25V10.75H18.75",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"square"}),v.createElement("path",{d:"M4.95427 11.9332C4.55457 10.0629 4.74441 8.11477 5.49765 6.35686C6.25089 4.59894 7.5305 3.11772 9.16034 2.11709C10.7902 1.11647 12.6901 0.645626 14.5986 0.769388C16.5071 0.893151 18.3303 1.60543 19.8172 2.80818C21.3042 4.01093 22.3818 5.64501 22.9017 7.48548C23.4216 9.32595 23.3582 11.2823 22.7203 13.0853C22.0824 14.8883 20.9013 16.4492 19.3396 17.5532C17.778 18.6572 15.9125 19.25 14 19.25",stroke:"currentColor",strokeWidth:1.5})),lL=({title:e,titleId:t,...n})=>v.createElement("svg",{height:"1em",viewBox:"0 0 12 12",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-labelledby":t,...n},e?v.createElement("title",{id:t},e):null,v.createElement("circle",{cx:6,cy:6,r:5.4,stroke:"currentColor",strokeWidth:1.2,strokeDasharray:"4.241025 4.241025",transform:"rotate(22.5 6 6)"}),v.createElement("circle",{cx:6,cy:6,r:1,fill:"currentColor"})),uL=({title:e,titleId:t,...n})=>v.createElement("svg",{height:"1em",viewBox:"0 0 19 18",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-labelledby":t,...n},e?v.createElement("title",{id:t},e):null,v.createElement("path",{d:"M1.5 14.5653C1.5 15.211 1.75652 15.8303 2.21314 16.2869C2.66975 16.7435 3.28905 17 3.9348 17C4.58054 17 5.19984 16.7435 5.65646 16.2869C6.11307 15.8303 6.36959 15.211 6.36959 14.5653V12.1305H3.9348C3.28905 12.1305 2.66975 12.387 2.21314 12.8437C1.75652 13.3003 1.5 13.9195 1.5 14.5653Z",stroke:"currentColor",strokeWidth:1.125,strokeLinecap:"round",strokeLinejoin:"round"}),v.createElement("path",{d:"M3.9348 1.00063C3.28905 1.00063 2.66975 1.25715 2.21314 1.71375C1.75652 2.17035 1.5 2.78964 1.5 3.43537C1.5 4.0811 1.75652 4.70038 2.21314 5.15698C2.66975 5.61358 3.28905 5.8701 3.9348 5.8701H6.36959V3.43537C6.36959 2.78964 6.11307 2.17035 5.65646 1.71375C5.19984 1.25715 4.58054 1.00063 3.9348 1.00063Z",stroke:"currentColor",strokeWidth:1.125,strokeLinecap:"round",strokeLinejoin:"round"}),v.createElement("path",{d:"M15.0652 12.1305H12.6304V14.5653C12.6304 15.0468 12.7732 15.5175 13.0407 15.9179C13.3083 16.3183 13.6885 16.6304 14.1334 16.8147C14.5783 16.9989 15.0679 17.0472 15.5402 16.9532C16.0125 16.8593 16.4464 16.6274 16.7869 16.2869C17.1274 15.9464 17.3593 15.5126 17.4532 15.0403C17.5472 14.568 17.4989 14.0784 17.3147 13.6335C17.1304 13.1886 16.8183 12.8084 16.4179 12.5409C16.0175 12.2733 15.5468 12.1305 15.0652 12.1305Z",stroke:"currentColor",strokeWidth:1.125,strokeLinecap:"round",strokeLinejoin:"round"}),v.createElement("path",{d:"M12.6318 5.86775H6.36955V12.1285H12.6318V5.86775Z",stroke:"currentColor",strokeWidth:1.125,strokeLinecap:"round",strokeLinejoin:"round"}),v.createElement("path",{d:"M17.5 3.43473C17.5 2.789 17.2435 2.16972 16.7869 1.71312C16.3303 1.25652 15.711 1 15.0652 1C14.4195 1 13.8002 1.25652 13.3435 1.71312C12.8869 2.16972 12.6304 2.789 12.6304 3.43473V5.86946H15.0652C15.711 5.86946 16.3303 5.61295 16.7869 5.15635C17.2435 4.69975 17.5 4.08046 17.5 3.43473Z",stroke:"currentColor",strokeWidth:1.125,strokeLinecap:"round",strokeLinejoin:"round"})),cL=({title:e,titleId:t,...n})=>v.createElement("svg",{height:"1em",viewBox:"0 0 13 13",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-labelledby":t,...n},e?v.createElement("title",{id:t},e):null,v.createElement("circle",{cx:5,cy:5,r:4.35,stroke:"currentColor",strokeWidth:1.3}),v.createElement("line",{x1:8.45962,y1:8.54038,x2:11.7525,y2:11.8333,stroke:"currentColor",strokeWidth:1.3})),fL=({title:e,titleId:t,...n})=>v.createElement("svg",{height:"1em",viewBox:"-2 -2 22 22",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-labelledby":t,...n},e?v.createElement("title",{id:t},e):null,v.createElement("path",{d:"M17.2492 6V2.9569C17.2492 1.73806 16.2611 0.75 15.0423 0.75L2.9569 0.75C1.73806 0.75 0.75 1.73806 0.75 2.9569L0.75 6",stroke:"currentColor",strokeWidth:1.5}),v.createElement("path",{d:"M0.749873 12V15.0431C0.749873 16.2619 1.73794 17.25 2.95677 17.25H15.0421C16.261 17.25 17.249 16.2619 17.249 15.0431V12",stroke:"currentColor",strokeWidth:1.5}),v.createElement("path",{d:"M6 4.5L9 7.5L12 4.5",stroke:"currentColor",strokeWidth:1.5}),v.createElement("path",{d:"M12 13.5L9 10.5L6 13.5",stroke:"currentColor",strokeWidth:1.5})),dL=({title:e,titleId:t,...n})=>v.createElement("svg",{height:"1em",viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-labelledby":t,...n},e?v.createElement("title",{id:t},e):null,v.createElement("path",{d:"M0.75 13.25L0.0554307 12.967C-0.0593528 13.2488 0.00743073 13.5719 0.224488 13.7851C0.441545 13.9983 0.765869 14.0592 1.04549 13.9393L0.75 13.25ZM12.8214 1.83253L12.2911 2.36286L12.2911 2.36286L12.8214 1.83253ZM12.8214 3.90194L13.3517 4.43227L12.8214 3.90194ZM10.0981 1.17859L9.56773 0.648259L10.0981 1.17859ZM12.1675 1.17859L12.6978 0.648258L12.6978 0.648257L12.1675 1.17859ZM2.58049 8.75697L3.27506 9.03994L2.58049 8.75697ZM2.70066 8.57599L3.23099 9.10632L2.70066 8.57599ZM5.2479 11.4195L4.95355 10.7297L5.2479 11.4195ZM5.42036 11.303L4.89003 10.7727L5.42036 11.303ZM4.95355 10.7297C4.08882 11.0987 3.41842 11.362 2.73535 11.6308C2.05146 11.9 1.35588 12.1743 0.454511 12.5607L1.04549 13.9393C1.92476 13.5624 2.60256 13.2951 3.28469 13.0266C3.96762 12.7578 4.65585 12.4876 5.54225 12.1093L4.95355 10.7297ZM1.44457 13.533L3.27506 9.03994L1.88592 8.474L0.0554307 12.967L1.44457 13.533ZM3.23099 9.10632L10.6284 1.70892L9.56773 0.648259L2.17033 8.04566L3.23099 9.10632ZM11.6371 1.70892L12.2911 2.36286L13.3517 1.3022L12.6978 0.648258L11.6371 1.70892ZM12.2911 3.37161L4.89003 10.7727L5.95069 11.8333L13.3517 4.43227L12.2911 3.37161ZM12.2911 2.36286C12.5696 2.64142 12.5696 3.09305 12.2911 3.37161L13.3517 4.43227C14.2161 3.56792 14.2161 2.16654 13.3517 1.3022L12.2911 2.36286ZM10.6284 1.70892C10.9069 1.43036 11.3586 1.43036 11.6371 1.70892L12.6978 0.648257C11.8335 -0.216088 10.4321 -0.216084 9.56773 0.648259L10.6284 1.70892ZM3.27506 9.03994C3.26494 9.06479 3.24996 9.08735 3.23099 9.10632L2.17033 8.04566C2.04793 8.16806 1.95123 8.31369 1.88592 8.474L3.27506 9.03994ZM5.54225 12.1093C5.69431 12.0444 5.83339 11.9506 5.95069 11.8333L4.89003 10.7727C4.90863 10.7541 4.92988 10.7398 4.95355 10.7297L5.54225 12.1093Z",fill:"currentColor"}),v.createElement("path",{d:"M11.5 4.5L9.5 2.5",stroke:"currentColor",strokeWidth:1.4026,strokeLinecap:"round",strokeLinejoin:"round"}),v.createElement("path",{d:"M5.5 10.5L3.5 8.5",stroke:"currentColor",strokeWidth:1.4026,strokeLinecap:"round",strokeLinejoin:"round"})),pL=({title:e,titleId:t,...n})=>v.createElement("svg",{height:"1em",viewBox:"0 0 16 18",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-labelledby":t,...n},e?v.createElement("title",{id:t},e):null,v.createElement("path",{d:"M1.32226e-07 1.6609C7.22332e-08 0.907329 0.801887 0.424528 1.46789 0.777117L15.3306 8.11621C16.0401 8.49182 16.0401 9.50818 15.3306 9.88379L1.46789 17.2229C0.801886 17.5755 1.36076e-06 17.0927 1.30077e-06 16.3391L1.32226e-07 1.6609Z",fill:"currentColor"})),hL=({title:e,titleId:t,...n})=>v.createElement("svg",{height:"1em",viewBox:"0 0 10 16",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg","aria-labelledby":t,...n},e?v.createElement("title",{id:t},e):null,v.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M4.25 9.25V13.5H5.75V9.25L10 9.25V7.75L5.75 7.75V3.5H4.25V7.75L0 7.75V9.25L4.25 9.25Z"})),mL=({title:e,titleId:t,...n})=>v.createElement("svg",{width:25,height:25,viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-labelledby":t,...n},e?v.createElement("title",{id:t},e):null,v.createElement("path",{d:"M10.2852 24.0745L13.7139 18.0742",stroke:"currentColor",strokeWidth:1.5625}),v.createElement("path",{d:"M14.5742 24.0749L17.1457 19.7891",stroke:"currentColor",strokeWidth:1.5625}),v.createElement("path",{d:"M19.4868 24.0735L20.7229 21.7523C21.3259 20.6143 21.5457 19.3122 21.3496 18.0394C21.1535 16.7666 20.5519 15.591 19.6342 14.6874L23.7984 6.87853C24.0123 6.47728 24.0581 6.00748 23.9256 5.57249C23.7932 5.1375 23.4933 4.77294 23.0921 4.55901C22.6908 4.34509 22.221 4.29932 21.7861 4.43178C21.3511 4.56424 20.9865 4.86408 20.7726 5.26533L16.6084 13.0742C15.3474 12.8142 14.0362 12.9683 12.8699 13.5135C11.7035 14.0586 10.7443 14.9658 10.135 16.1L6 24.0735",stroke:"currentColor",strokeWidth:1.5625}),v.createElement("path",{d:"M4 15L5 13L7 12L5 11L4 9L3 11L1 12L3 13L4 15Z",stroke:"currentColor",strokeWidth:1.5625,strokeLinejoin:"round"}),v.createElement("path",{d:"M11.5 8L12.6662 5.6662L15 4.5L12.6662 3.3338L11.5 1L10.3338 3.3338L8 4.5L10.3338 5.6662L11.5 8Z",stroke:"currentColor",strokeWidth:1.5625,strokeLinejoin:"round"})),gL=({title:e,titleId:t,...n})=>v.createElement("svg",{height:"1em",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-labelledby":t,...n},e?v.createElement("title",{id:t},e):null,v.createElement("path",{d:"M4.75 9.25H1.25V12.75",stroke:"currentColor",strokeWidth:1,strokeLinecap:"square"}),v.createElement("path",{d:"M11.25 6.75H14.75V3.25",stroke:"currentColor",strokeWidth:1,strokeLinecap:"square"}),v.createElement("path",{d:"M14.1036 6.65539C13.8 5.27698 13.0387 4.04193 11.9437 3.15131C10.8487 2.26069 9.48447 1.76694 8.0731 1.75043C6.66173 1.73392 5.28633 2.19563 4.17079 3.0604C3.05526 3.92516 2.26529 5.14206 1.92947 6.513",stroke:"currentColor",strokeWidth:1}),v.createElement("path",{d:"M1.89635 9.34461C2.20001 10.723 2.96131 11.9581 4.05631 12.8487C5.15131 13.7393 6.51553 14.2331 7.9269 14.2496C9.33827 14.2661 10.7137 13.8044 11.8292 12.9396C12.9447 12.0748 13.7347 10.8579 14.0705 9.487",stroke:"currentColor",strokeWidth:1})),bL=({title:e,titleId:t,...n})=>v.createElement("svg",{height:"1em",viewBox:"0 0 13 13",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-labelledby":t,...n},e?v.createElement("title",{id:t},e):null,v.createElement("rect",{x:.6,y:.6,width:11.8,height:11.8,rx:5.9,stroke:"currentColor",strokeWidth:1.2}),v.createElement("path",{d:"M4.25 7.5C4.25 6 5.75 5 6.5 6.5C7.25 8 8.75 7 8.75 5.5",stroke:"currentColor",strokeWidth:1.2})),vL=({title:e,titleId:t,...n})=>v.createElement("svg",{height:"1em",viewBox:"0 0 21 20",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-labelledby":t,...n},e?v.createElement("title",{id:t},e):null,v.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M9.29186 1.92702C9.06924 1.82745 8.87014 1.68202 8.70757 1.50024L7.86631 0.574931C7.62496 0.309957 7.30773 0.12592 6.95791 0.0479385C6.60809 -0.0300431 6.24274 0.00182978 5.91171 0.139208C5.58068 0.276585 5.3001 0.512774 5.10828 0.815537C4.91645 1.1183 4.82272 1.47288 4.83989 1.83089L4.90388 3.08019C4.91612 3.32348 4.87721 3.56662 4.78968 3.79394C4.70215 4.02126 4.56794 4.2277 4.39571 4.39994C4.22347 4.57219 4.01704 4.7064 3.78974 4.79394C3.56243 4.88147 3.3193 4.92038 3.07603 4.90814L1.8308 4.84414C1.47162 4.82563 1.11553 4.91881 0.811445 5.11086C0.507359 5.30292 0.270203 5.58443 0.132561 5.91671C-0.00508149 6.249 -0.0364554 6.61576 0.0427496 6.9666C0.121955 7.31744 0.307852 7.63514 0.5749 7.87606L1.50016 8.71204C1.68193 8.87461 1.82735 9.07373 1.92692 9.29636C2.02648 9.51898 2.07794 9.76012 2.07794 10.004C2.07794 10.2479 2.02648 10.489 1.92692 10.7116C1.82735 10.9343 1.68193 11.1334 1.50016 11.296L0.5749 12.1319C0.309856 12.3729 0.125575 12.6898 0.0471809 13.0393C-0.0312128 13.3888 9.64098e-05 13.754 0.13684 14.0851C0.273583 14.4162 0.509106 14.6971 0.811296 14.8894C1.11349 15.0817 1.46764 15.1762 1.82546 15.1599L3.0707 15.0959C3.31397 15.0836 3.5571 15.1225 3.7844 15.2101C4.01171 15.2976 4.21814 15.4318 4.39037 15.6041C4.56261 15.7763 4.69682 15.9827 4.78435 16.2101C4.87188 16.4374 4.91078 16.6805 4.89855 16.9238L4.83455 18.1691C4.81605 18.5283 4.90921 18.8844 5.10126 19.1885C5.2933 19.4926 5.5748 19.7298 5.90707 19.8674C6.23934 20.0051 6.60608 20.0365 6.9569 19.9572C7.30772 19.878 7.6254 19.6921 7.86631 19.4251L8.7129 18.4998C8.87547 18.318 9.07458 18.1725 9.29719 18.073C9.51981 17.9734 9.76093 17.9219 10.0048 17.9219C10.2487 17.9219 10.4898 17.9734 10.7124 18.073C10.935 18.1725 11.1341 18.318 11.2967 18.4998L12.1326 19.4251C12.3735 19.6921 12.6912 19.878 13.042 19.9572C13.3929 20.0365 13.7596 20.0051 14.0919 19.8674C14.4241 19.7298 14.7056 19.4926 14.8977 19.1885C15.0897 18.8844 15.1829 18.5283 15.1644 18.1691L15.1004 16.9238C15.0882 16.6805 15.1271 16.4374 15.2146 16.2101C15.3021 15.9827 15.4363 15.7763 15.6086 15.6041C15.7808 15.4318 15.9872 15.2976 16.2145 15.2101C16.4418 15.1225 16.685 15.0836 16.9282 15.0959L18.1735 15.1599C18.5326 15.1784 18.8887 15.0852 19.1928 14.8931C19.4969 14.7011 19.7341 14.4196 19.8717 14.0873C20.0093 13.755 20.0407 13.3882 19.9615 13.0374C19.8823 12.6866 19.6964 12.3689 19.4294 12.1279L18.5041 11.292C18.3223 11.1294 18.1769 10.9303 18.0774 10.7076C17.9778 10.485 17.9263 10.2439 17.9263 10C17.9263 9.75612 17.9778 9.51499 18.0774 9.29236C18.1769 9.06973 18.3223 8.87062 18.5041 8.70804L19.4294 7.87206C19.6964 7.63114 19.8823 7.31344 19.9615 6.9626C20.0407 6.61176 20.0093 6.245 19.8717 5.91271C19.7341 5.58043 19.4969 5.29892 19.1928 5.10686C18.8887 4.91481 18.5326 4.82163 18.1735 4.84014L16.9282 4.90414C16.685 4.91638 16.4418 4.87747 16.2145 4.78994C15.9872 4.7024 15.7808 4.56818 15.6086 4.39594C15.4363 4.2237 15.3021 4.01726 15.2146 3.78994C15.1271 3.56262 15.0882 3.31948 15.1004 3.07619L15.1644 1.83089C15.1829 1.4717 15.0897 1.11559 14.8977 0.811487C14.7056 0.507385 14.4241 0.270217 14.0919 0.132568C13.7596 -0.00508182 13.3929 -0.0364573 13.042 0.0427519C12.6912 0.121961 12.3735 0.307869 12.1326 0.574931L11.2914 1.50024C11.1288 1.68202 10.9297 1.82745 10.7071 1.92702C10.4845 2.02659 10.2433 2.07805 9.99947 2.07805C9.7556 2.07805 9.51448 2.02659 9.29186 1.92702ZM14.3745 10C14.3745 12.4162 12.4159 14.375 9.99977 14.375C7.58365 14.375 5.625 12.4162 5.625 10C5.625 7.58375 7.58365 5.625 9.99977 5.625C12.4159 5.625 14.3745 7.58375 14.3745 10Z",fill:"currentColor"})),yL=({title:e,titleId:t,...n})=>v.createElement("svg",{height:"1em",viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-labelledby":t,...n},e?v.createElement("title",{id:t},e):null,v.createElement("path",{d:"M6.5782 1.07092C6.71096 0.643026 7.28904 0.643027 7.4218 1.07092L8.59318 4.84622C8.65255 5.03758 8.82284 5.16714 9.01498 5.16714L12.8056 5.16714C13.2353 5.16714 13.4139 5.74287 13.0663 6.00732L9.99962 8.34058C9.84418 8.45885 9.77913 8.66848 9.83851 8.85984L11.0099 12.6351C11.1426 13.063 10.675 13.4189 10.3274 13.1544L7.26069 10.8211C7.10524 10.7029 6.89476 10.7029 6.73931 10.8211L3.6726 13.1544C3.32502 13.4189 2.85735 13.063 2.99012 12.6351L4.16149 8.85984C4.22087 8.66848 4.15582 8.45885 4.00038 8.34058L0.933671 6.00732C0.586087 5.74287 0.764722 5.16714 1.19436 5.16714L4.98502 5.16714C5.17716 5.16714 5.34745 5.03758 5.40682 4.84622L6.5782 1.07092Z",fill:"currentColor",stroke:"currentColor"})),xL=({title:e,titleId:t,...n})=>v.createElement("svg",{height:"1em",viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-labelledby":t,...n},e?v.createElement("title",{id:t},e):null,v.createElement("path",{d:"M6.5782 1.07092C6.71096 0.643026 7.28904 0.643027 7.4218 1.07092L8.59318 4.84622C8.65255 5.03758 8.82284 5.16714 9.01498 5.16714L12.8056 5.16714C13.2353 5.16714 13.4139 5.74287 13.0663 6.00732L9.99962 8.34058C9.84418 8.45885 9.77913 8.66848 9.83851 8.85984L11.0099 12.6351C11.1426 13.063 10.675 13.4189 10.3274 13.1544L7.26069 10.8211C7.10524 10.7029 6.89476 10.7029 6.73931 10.8211L3.6726 13.1544C3.32502 13.4189 2.85735 13.063 2.99012 12.6351L4.16149 8.85984C4.22087 8.66848 4.15582 8.45885 4.00038 8.34058L0.933671 6.00732C0.586087 5.74287 0.764722 5.16714 1.19436 5.16714L4.98502 5.16714C5.17716 5.16714 5.34745 5.03758 5.40682 4.84622L6.5782 1.07092Z",stroke:"currentColor",strokeWidth:1.5})),wL=({title:e,titleId:t,...n})=>v.createElement("svg",{height:"1em",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-labelledby":t,...n},e?v.createElement("title",{id:t},e):null,v.createElement("rect",{width:16,height:16,rx:2,fill:"currentColor"})),EL=({title:e,titleId:t,...n})=>v.createElement("svg",{width:"1em",height:"5em",xmlns:"http://www.w3.org/2000/svg",fillRule:"evenodd","aria-hidden":"true",viewBox:"0 0 23 23",style:{height:"1.5em"},clipRule:"evenodd","aria-labelledby":t,...n},e?v.createElement("title",{id:t},e):null,v.createElement("path",{d:"M19 24h-14c-1.104 0-2-.896-2-2v-17h-1v-2h6v-1.5c0-.827.673-1.5 1.5-1.5h5c.825 0 1.5.671 1.5 1.5v1.5h6v2h-1v17c0 1.104-.896 2-2 2zm0-19h-14v16.5c0 .276.224.5.5.5h13c.276 0 .5-.224.5-.5v-16.5zm-7 7.586l3.293-3.293 1.414 1.414-3.293 3.293 3.293 3.293-1.414 1.414-3.293-3.293-3.293 3.293-1.414-1.414 3.293-3.293-3.293-3.293 1.414-1.414 3.293 3.293zm2-10.586h-4v1h4v-1z",fill:"currentColor",strokeWidth:.25,stroke:"currentColor"})),SL=({title:e,titleId:t,...n})=>v.createElement("svg",{height:"1em",viewBox:"0 0 13 13",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-labelledby":t,...n},e?v.createElement("title",{id:t},e):null,v.createElement("rect",{x:.6,y:.6,width:11.8,height:11.8,rx:5.9,stroke:"currentColor",strokeWidth:1.2}),v.createElement("rect",{x:5.5,y:5.5,width:2,height:2,rx:1,fill:"currentColor"})),_L=tt(GR),TL=tt(QR),kL=tt(YR),CL=tt(XR),eb=tt(ZR),NL=tt(JR),AL=tt(KR),IL=tt(eL),DL=tt(tL),RL=tt(nL),LL=tt(rL),PL=tt(iL),FL=tt(oL),OL=tt(sL),ML=tt(aL),$L=tt(lL),jL=tt(uL),BL=tt(cL),VL=tt(fL),UL=tt(dL),zL=tt(pL),HL=tt(hL),qL=tt(mL),WL=tt(gL),GL=tt(bL),QL=tt(vL),YL=tt(yL),XL=tt(xL),ZL=tt(wL),JL=tt(EL),Ad=tt(SL);function tt(e){const t=e.name.replace("Svg","").replaceAll(/([A-Z])/g," $1").trimStart().toLowerCase()+" icon",n=r=>{const i=Ne.c(2);let o;return i[0]!==r?(o=k.jsx(e,{title:t,...r}),i[0]=r,i[1]=o):o=i[1],o};return n.displayName=e.name,n}const KL="modulepreload",eP=function(e){return"/"+e},o3={},Yi=function(t,n,r){let i=Promise.resolve();if(n&&n.length>0){let a=function(f){return Promise.all(f.map(p=>Promise.resolve(p).then(h=>({status:"fulfilled",value:h}),h=>({status:"rejected",reason:h}))))};document.getElementsByTagName("link");const l=document.querySelector("meta[property=csp-nonce]"),c=(l==null?void 0:l.nonce)||(l==null?void 0:l.getAttribute("nonce"));i=a(n.map(f=>{if(f=eP(f),f in o3)return;o3[f]=!0;const p=f.endsWith(".css"),h=p?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${f}"]${h}`))return;const g=document.createElement("link");if(g.rel=p?"stylesheet":KL,p||(g.as="script"),g.crossOrigin="",g.href=f,c&&g.setAttribute("nonce",c),document.head.appendChild(g),p)return new Promise((b,y)=>{g.addEventListener("load",b),g.addEventListener("error",()=>y(new Error(`Unable to preload CSS for ${f}`)))})}))}function o(a){const l=new Event("vite:preloadError",{cancelable:!0});if(l.payload=a,window.dispatchEvent(l),!l.defaultPrevented)throw a}return i.then(a=>{for(const l of a||[])l.status==="rejected"&&o(l.reason);return t().catch(o)})};class tP{constructor(){this.listeners=[],this.unexpectedErrorHandler=function(t){setTimeout(()=>{throw t.stack?Vl.isErrorNoTelemetry(t)?new Vl(t.message+` + +`+t.stack):new Error(t.message+` + +`+t.stack):t},0)}}emit(t){this.listeners.forEach(n=>{n(t)})}onUnexpectedError(t){this.unexpectedErrorHandler(t),this.emit(t)}onUnexpectedExternalError(t){this.unexpectedErrorHandler(t)}}const US=new tP;function Ym(e){zS(e)||US.onUnexpectedError(e)}function Kne(e){zS(e)||US.onUnexpectedExternalError(e)}function ere(e){if(e instanceof Error){const{name:t,message:n}=e,r=e.stacktrace||e.stack;return{$isError:!0,name:t,message:n,stack:r,noTelemetry:Vl.isErrorNoTelemetry(e)}}return e}const w0="Canceled";function zS(e){return e instanceof nP?!0:e instanceof Error&&e.name===w0&&e.message===w0}class nP extends Error{constructor(){super(w0),this.name=this.message}}function tre(){const e=new Error(w0);return e.name=e.message,e}function nre(e){return e?new Error(`Illegal argument: ${e}`):new Error("Illegal argument")}function rre(e){return e?new Error(`Illegal state: ${e}`):new Error("Illegal state")}class ire extends Error{constructor(t){super("NotSupported"),t&&(this.message=t)}}class Vl extends Error{constructor(t){super(t),this.name="CodeExpectedError"}static fromError(t){if(t instanceof Vl)return t;const n=new Vl;return n.message=t.message,n.stack=t.stack,n}static isErrorNoTelemetry(t){return t.name==="CodeExpectedError"}}class HS extends Error{constructor(t){super(t||"An unexpected bug occurred."),Object.setPrototypeOf(this,HS.prototype)}}function qS(e,t){const n=this;let r=!1,i;return function(){return r||(r=!0,i=e.apply(n,arguments)),i}}var lg;(function(e){function t(A){return A&&typeof A=="object"&&typeof A[Symbol.iterator]=="function"}e.is=t;const n=Object.freeze([]);function r(){return n}e.empty=r;function*i(A){yield A}e.single=i;function o(A){return t(A)?A:i(A)}e.wrap=o;function a(A){return A||n}e.from=a;function*l(A){for(let D=A.length-1;D>=0;D--)yield A[D]}e.reverse=l;function c(A){return!A||A[Symbol.iterator]().next().done===!0}e.isEmpty=c;function f(A){return A[Symbol.iterator]().next().value}e.first=f;function p(A,D){let L=0;for(const F of A)if(D(F,L++))return!0;return!1}e.some=p;function h(A,D){for(const L of A)if(D(L))return L}e.find=h;function*g(A,D){for(const L of A)D(L)&&(yield L)}e.filter=g;function*b(A,D){let L=0;for(const F of A)yield D(F,L++)}e.map=b;function*y(A,D){let L=0;for(const F of A)yield*D(F,L++)}e.flatMap=y;function*w(...A){for(const D of A)yield*D}e.concat=w;function _(A,D,L){let F=L;for(const H of A)F=D(F,H);return F}e.reduce=_;function*T(A,D,L=A.length){for(D<0&&(D+=A.length),L<0?L+=A.length:L>A.length&&(L=A.length);D1)throw new AggregateError(t,"Encountered errors while disposing of store");return Array.isArray(e)?[]:e}else if(e)return e.dispose(),e}function rP(...e){return vc(()=>tb(e))}function vc(e){return{dispose:qS(()=>{e()})}}const cp=class cp{constructor(){this._toDispose=new Set,this._isDisposed=!1}dispose(){this._isDisposed||(this._isDisposed=!0,this.clear())}get isDisposed(){return this._isDisposed}clear(){if(this._toDispose.size!==0)try{tb(this._toDispose)}finally{this._toDispose.clear()}}add(t){if(!t)return t;if(t===this)throw new Error("Cannot register a disposable on itself!");return this._isDisposed?cp.DISABLE_DISPOSED_WARNING||console.warn(new Error("Trying to add a disposable to a DisposableStore that has already been disposed of. The added object will be leaked!").stack):this._toDispose.add(t),t}deleteAndLeak(t){t&&this._toDispose.has(t)&&this._toDispose.delete(t)}};cp.DISABLE_DISPOSED_WARNING=!1;let yc=cp;const Kv=class Kv{constructor(){this._store=new yc,this._store}dispose(){this._store.dispose()}_register(t){if(t===this)throw new Error("Cannot register a disposable on itself!");return this._store.add(t)}};Kv.None=Object.freeze({dispose(){}});let ya=Kv;class are{constructor(){this._isDisposed=!1}get value(){return this._isDisposed?void 0:this._value}set value(t){var n;this._isDisposed||t===this._value||((n=this._value)==null||n.dispose(),this._value=t)}clear(){this.value=void 0}dispose(){var t;this._isDisposed=!0,(t=this._value)==null||t.dispose(),this._value=void 0}}class lre{constructor(t){this._disposable=t,this._counter=1}acquire(){return this._counter++,this}release(){return--this._counter===0&&this._disposable.dispose(),this}}class ure{constructor(t){this.object=t}dispose(){}}class cre{constructor(){this._store=new Map,this._isDisposed=!1}dispose(){this._isDisposed=!0,this.clearAndDisposeAll()}clearAndDisposeAll(){if(this._store.size)try{tb(this._store.values())}finally{this._store.clear()}}get(t){return this._store.get(t)}set(t,n,r=!1){var i;this._isDisposed&&console.warn(new Error("Trying to add a disposable to a DisposableMap that has already been disposed of. The added object will be leaked!").stack),r||(i=this._store.get(t))==null||i.dispose(),this._store.set(t,n)}deleteAndDispose(t){var n;(n=this._store.get(t))==null||n.dispose(),this._store.delete(t)}[Symbol.iterator](){return this._store[Symbol.iterator]()}}var Ao;let Nt=(Ao=class{constructor(t){this.element=t,this.next=Ao.Undefined,this.prev=Ao.Undefined}},Ao.Undefined=new Ao(void 0),Ao);class iP{constructor(){this._first=Nt.Undefined,this._last=Nt.Undefined,this._size=0}get size(){return this._size}isEmpty(){return this._first===Nt.Undefined}clear(){let t=this._first;for(;t!==Nt.Undefined;){const n=t.next;t.prev=Nt.Undefined,t.next=Nt.Undefined,t=n}this._first=Nt.Undefined,this._last=Nt.Undefined,this._size=0}unshift(t){return this._insert(t,!1)}push(t){return this._insert(t,!0)}_insert(t,n){const r=new Nt(t);if(this._first===Nt.Undefined)this._first=r,this._last=r;else if(n){const o=this._last;this._last=r,r.prev=o,o.next=r}else{const o=this._first;this._first=r,r.next=o,o.prev=r}this._size+=1;let i=!1;return()=>{i||(i=!0,this._remove(r))}}shift(){if(this._first!==Nt.Undefined){const t=this._first.element;return this._remove(this._first),t}}pop(){if(this._last!==Nt.Undefined){const t=this._last.element;return this._remove(this._last),t}}_remove(t){if(t.prev!==Nt.Undefined&&t.next!==Nt.Undefined){const n=t.prev;n.next=t.next,t.next.prev=n}else t.prev===Nt.Undefined&&t.next===Nt.Undefined?(this._first=Nt.Undefined,this._last=Nt.Undefined):t.next===Nt.Undefined?(this._last=this._last.prev,this._last.next=Nt.Undefined):t.prev===Nt.Undefined&&(this._first=this._first.next,this._first.prev=Nt.Undefined);this._size-=1}*[Symbol.iterator](){let t=this._first;for(;t!==Nt.Undefined;)yield t.element,t=t.next}}const oP=globalThis.performance&&typeof globalThis.performance.now=="function";class nb{static create(t){return new nb(t)}constructor(t){this._now=oP&&t===!1?Date.now:globalThis.performance.now.bind(globalThis.performance),this._startTime=this._now(),this._stopTime=-1}stop(){this._stopTime=this._now()}reset(){this._startTime=this._now(),this._stopTime=-1}elapsed(){return this._stopTime!==-1?this._stopTime-this._startTime:this._now()-this._startTime}}var E0;(function(e){e.None=()=>ya.None;function t(U,O){return g(U,()=>{},0,void 0,!0,void 0,O)}e.defer=t;function n(U){return(O,G=null,X)=>{let K=!1,P;return P=U(B=>{if(!K)return P?P.dispose():K=!0,O.call(G,B)},null,X),K&&P.dispose(),P}}e.once=n;function r(U,O){return e.once(e.filter(U,O))}e.onceIf=r;function i(U,O,G){return p((X,K=null,P)=>U(B=>X.call(K,O(B)),null,P),G)}e.map=i;function o(U,O,G){return p((X,K=null,P)=>U(B=>{O(B),X.call(K,B)},null,P),G)}e.forEach=o;function a(U,O,G){return p((X,K=null,P)=>U(B=>O(B)&&X.call(K,B),null,P),G)}e.filter=a;function l(U){return U}e.signal=l;function c(...U){return(O,G=null,X)=>{const K=rP(...U.map(P=>P(B=>O.call(G,B))));return h(K,X)}}e.any=c;function f(U,O,G,X){let K=G;return i(U,P=>(K=O(K,P),K),X)}e.reduce=f;function p(U,O){let G;const X={onWillAddFirstListener(){G=U(K.fire,K)},onDidRemoveLastListener(){G==null||G.dispose()}},K=new ur(X);return O==null||O.add(K),K.event}function h(U,O){return O instanceof Array?O.push(U):O&&O.add(U),U}function g(U,O,G=100,X=!1,K=!1,P,B){let q,j,R,re=0,Y;const se={leakWarningThreshold:P,onWillAddFirstListener(){q=U(le=>{re++,j=O(j,le),X&&!R&&(ue.fire(j),j=void 0),Y=()=>{const te=j;j=void 0,R=void 0,(!X||re>1)&&ue.fire(te),re=0},typeof G=="number"?(clearTimeout(R),R=setTimeout(Y,G)):R===void 0&&(R=0,queueMicrotask(Y))})},onWillRemoveListener(){K&&re>0&&(Y==null||Y())},onDidRemoveLastListener(){Y=void 0,q.dispose()}},ue=new ur(se);return B==null||B.add(ue),ue.event}e.debounce=g;function b(U,O=0,G){return e.debounce(U,(X,K)=>X?(X.push(K),X):[K],O,void 0,!0,void 0,G)}e.accumulate=b;function y(U,O=(X,K)=>X===K,G){let X=!0,K;return a(U,P=>{const B=X||!O(P,K);return X=!1,K=P,B},G)}e.latch=y;function w(U,O,G){return[e.filter(U,O,G),e.filter(U,X=>!O(X),G)]}e.split=w;function _(U,O=!1,G=[],X){let K=G.slice(),P=U(j=>{K?K.push(j):q.fire(j)});X&&X.add(P);const B=()=>{K==null||K.forEach(j=>q.fire(j)),K=null},q=new ur({onWillAddFirstListener(){P||(P=U(j=>q.fire(j)),X&&X.add(P))},onDidAddFirstListener(){K&&(O?setTimeout(B):B())},onDidRemoveLastListener(){P&&P.dispose(),P=null}});return X&&X.add(q),q.event}e.buffer=_;function T(U,O){return(X,K,P)=>{const B=O(new C);return U(function(q){const j=B.evaluate(q);j!==N&&X.call(K,j)},void 0,P)}}e.chain=T;const N=Symbol("HaltChainable");class C{constructor(){this.steps=[]}map(O){return this.steps.push(O),this}forEach(O){return this.steps.push(G=>(O(G),G)),this}filter(O){return this.steps.push(G=>O(G)?G:N),this}reduce(O,G){let X=G;return this.steps.push(K=>(X=O(X,K),X)),this}latch(O=(G,X)=>G===X){let G=!0,X;return this.steps.push(K=>{const P=G||!O(K,X);return G=!1,X=K,P?K:N}),this}evaluate(O){for(const G of this.steps)if(O=G(O),O===N)break;return O}}function A(U,O,G=X=>X){const X=(...q)=>B.fire(G(...q)),K=()=>U.on(O,X),P=()=>U.removeListener(O,X),B=new ur({onWillAddFirstListener:K,onDidRemoveLastListener:P});return B.event}e.fromNodeEventEmitter=A;function D(U,O,G=X=>X){const X=(...q)=>B.fire(G(...q)),K=()=>U.addEventListener(O,X),P=()=>U.removeEventListener(O,X),B=new ur({onWillAddFirstListener:K,onDidRemoveLastListener:P});return B.event}e.fromDOMEventEmitter=D;function L(U){return new Promise(O=>n(U)(O))}e.toPromise=L;function F(U){const O=new ur;return U.then(G=>{O.fire(G)},()=>{O.fire(void 0)}).finally(()=>{O.dispose()}),O.event}e.fromPromise=F;function H(U,O){return U(G=>O.fire(G))}e.forward=H;function $(U,O,G){return O(G),U(X=>O(X))}e.runAndSubscribe=$;class Q{constructor(O,G){this._observable=O,this._counter=0,this._hasChanged=!1;const X={onWillAddFirstListener:()=>{O.addObserver(this),this._observable.reportChanges()},onDidRemoveLastListener:()=>{O.removeObserver(this)}};this.emitter=new ur(X),G&&G.add(this.emitter)}beginUpdate(O){this._counter++}handlePossibleChange(O){}handleChange(O,G){this._hasChanged=!0}endUpdate(O){this._counter--,this._counter===0&&(this._observable.reportChanges(),this._hasChanged&&(this._hasChanged=!1,this.emitter.fire(this._observable.get())))}}function Z(U,O){return new Q(U,O).emitter.event}e.fromObservable=Z;function ee(U){return(O,G,X)=>{let K=0,P=!1;const B={beginUpdate(){K++},endUpdate(){K--,K===0&&(U.reportChanges(),P&&(P=!1,O.call(G)))},handlePossibleChange(){},handleChange(){P=!0}};U.addObserver(B),U.reportChanges();const q={dispose(){U.removeObserver(B)}};return X instanceof yc?X.add(q):Array.isArray(X)&&X.push(q),q}}e.fromObservableLight=ee})(E0||(E0={}));const Sl=class Sl{constructor(t){this.listenerCount=0,this.invocationCount=0,this.elapsedOverall=0,this.durations=[],this.name=`${t}_${Sl._idPool++}`,Sl.all.add(this)}start(t){this._stopWatch=new nb,this.listenerCount=t}stop(){if(this._stopWatch){const t=this._stopWatch.elapsed();this.durations.push(t),this.elapsedOverall+=t,this.invocationCount+=1,this._stopWatch=void 0}}};Sl.all=new Set,Sl._idPool=0;let ug=Sl,sP=-1;const fp=class fp{constructor(t,n,r=(fp._idPool++).toString(16).padStart(3,"0")){this._errorHandler=t,this.threshold=n,this.name=r,this._warnCountdown=0}dispose(){var t;(t=this._stacks)==null||t.clear()}check(t,n){const r=this.threshold;if(r<=0||n{const o=this._stacks.get(t.value)||0;this._stacks.set(t.value,o-1)}}getMostFrequentStack(){if(!this._stacks)return;let t,n=0;for(const[r,i]of this._stacks)(!t||n{var l,c,f,p,h;if(this._leakageMon&&this._size>this._leakageMon.threshold**2){const g=`[${this._leakageMon.name}] REFUSES to accept new listeners because it exceeded its threshold by far (${this._size} vs ${this._leakageMon.threshold})`;console.warn(g);const b=this._leakageMon.getMostFrequentStack()??["UNKNOWN stack",-1],y=new lP(`${g}. HINT: Stack shows most frequent listener (${b[1]}-times)`,b[0]);return(((l=this._options)==null?void 0:l.onListenerError)||Ym)(y),ya.None}if(this._disposed)return ya.None;n&&(t=t.bind(n));const i=new Xm(t);let o;this._leakageMon&&this._size>=Math.ceil(this._leakageMon.threshold*.2)&&(i.stack=rb.create(),o=this._leakageMon.check(i.stack,this._size+1)),this._listeners?this._listeners instanceof Xm?(this._deliveryQueue??(this._deliveryQueue=new WS),this._listeners=[this._listeners,i]):this._listeners.push(i):((f=(c=this._options)==null?void 0:c.onWillAddFirstListener)==null||f.call(c,this),this._listeners=i,(h=(p=this._options)==null?void 0:p.onDidAddFirstListener)==null||h.call(p,this)),this._size++;const a=vc(()=>{o==null||o(),this._removeListener(i)});return r instanceof yc?r.add(a):Array.isArray(r)&&r.push(a),a}),this._event}_removeListener(t){var o,a,l,c;if((a=(o=this._options)==null?void 0:o.onWillRemoveListener)==null||a.call(o,this),!this._listeners)return;if(this._size===1){this._listeners=void 0,(c=(l=this._options)==null?void 0:l.onDidRemoveLastListener)==null||c.call(l,this),this._size=0;return}const n=this._listeners,r=n.indexOf(t);if(r===-1)throw console.log("disposed?",this._disposed),console.log("size?",this._size),console.log("arr?",JSON.stringify(this._listeners)),new Error("Attempted to dispose unknown listener");this._size--,n[r]=void 0;const i=this._deliveryQueue.current===this;if(this._size*uP<=n.length){let f=0;for(let p=0;p0}}const fre=()=>new WS;class WS{constructor(){this.i=-1,this.end=0}enqueue(t,n,r){this.i=0,this.end=r,this.current=t,this.value=n}reset(){this.i=this.end,this.current=void 0,this.value=void 0}}class cP extends ur{constructor(t){super(t),this._isPaused=0,this._eventQueue=new iP,this._mergeFn=t==null?void 0:t.merge}pause(){this._isPaused++}resume(){if(this._isPaused!==0&&--this._isPaused===0)if(this._mergeFn){if(this._eventQueue.size>0){const t=Array.from(this._eventQueue);this._eventQueue.clear(),super.fire(this._mergeFn(t))}}else for(;!this._isPaused&&this._eventQueue.size!==0;)super.fire(this._eventQueue.shift())}fire(t){this._size&&(this._isPaused!==0?this._eventQueue.push(t):super.fire(t))}}class dre extends cP{constructor(t){super(t),this._delay=t.delay??100}fire(t){this._handle||(this.pause(),this._handle=setTimeout(()=>{this._handle=void 0,this.resume()},this._delay)),super.fire(t)}}class pre extends ur{constructor(t){super(t),this._queuedEvents=[],this._mergeFn=t==null?void 0:t.merge}fire(t){this.hasListeners()&&(this._queuedEvents.push(t),this._queuedEvents.length===1&&queueMicrotask(()=>{this._mergeFn?super.fire(this._mergeFn(this._queuedEvents)):this._queuedEvents.forEach(n=>super.fire(n)),this._queuedEvents=[]}))}}class hre{constructor(){this.hasListeners=!1,this.events=[],this.emitter=new ur({onWillAddFirstListener:()=>this.onFirstListenerAdd(),onDidRemoveLastListener:()=>this.onLastListenerRemove()})}get event(){return this.emitter.event}add(t){const n={event:t,listener:null};return this.events.push(n),this.hasListeners&&this.hook(n),vc(qS(()=>{this.hasListeners&&this.unhook(n);const i=this.events.indexOf(n);this.events.splice(i,1)}))}onFirstListenerAdd(){this.hasListeners=!0,this.events.forEach(t=>this.hook(t))}onLastListenerRemove(){this.hasListeners=!1,this.events.forEach(t=>this.unhook(t))}hook(t){t.listener=t.event(n=>this.emitter.fire(n))}unhook(t){var n;(n=t.listener)==null||n.dispose(),t.listener=null}dispose(){var t;this.emitter.dispose();for(const n of this.events)(t=n.listener)==null||t.dispose();this.events=[]}}class mre{constructor(){this.data=[]}wrapEvent(t,n,r){return(i,o,a)=>t(l=>{const c=this.data[this.data.length-1];if(!n){c?c.buffers.push(()=>i.call(o,l)):i.call(o,l);return}const f=c;if(!f){i.call(o,n(r,l));return}f.items??(f.items=[]),f.items.push(l),f.buffers.length===0&&c.buffers.push(()=>{f.reducedResult??(f.reducedResult=r?f.items.reduce(n,r):f.items.reduce(n)),i.call(o,f.reducedResult)})},void 0,a)}bufferEvents(t){const n={buffers:new Array};this.data.push(n);const r=t();return this.data.pop(),n.buffers.forEach(i=>i()),r}}class gre{constructor(){this.listening=!1,this.inputEvent=E0.None,this.inputEventListener=ya.None,this.emitter=new ur({onDidAddFirstListener:()=>{this.listening=!0,this.inputEventListener=this.inputEvent(this.emitter.fire,this.emitter)},onDidRemoveLastListener:()=>{this.listening=!1,this.inputEventListener.dispose()}}),this.event=this.emitter.event}set input(t){this.inputEvent=t,this.listening&&(this.inputEventListener.dispose(),this.inputEventListener=t(this.emitter.fire,this.emitter))}dispose(){this.inputEventListener.dispose(),this.emitter.dispose()}}const GS=Object.freeze(function(e,t){const n=setTimeout(e.bind(t),0);return{dispose(){clearTimeout(n)}}});var S0;(function(e){function t(n){return n===e.None||n===e.Cancelled||n instanceof r0?!0:!n||typeof n!="object"?!1:typeof n.isCancellationRequested=="boolean"&&typeof n.onCancellationRequested=="function"}e.isCancellationToken=t,e.None=Object.freeze({isCancellationRequested:!1,onCancellationRequested:E0.None}),e.Cancelled=Object.freeze({isCancellationRequested:!0,onCancellationRequested:GS})})(S0||(S0={}));class r0{constructor(){this._isCancelled=!1,this._emitter=null}cancel(){this._isCancelled||(this._isCancelled=!0,this._emitter&&(this._emitter.fire(void 0),this.dispose()))}get isCancellationRequested(){return this._isCancelled}get onCancellationRequested(){return this._isCancelled?GS:(this._emitter||(this._emitter=new ur),this._emitter.event)}dispose(){this._emitter&&(this._emitter.dispose(),this._emitter=null)}}class QS{constructor(t){this._token=void 0,this._parentListener=void 0,this._parentListener=t&&t.onCancellationRequested(this.cancel,this)}get token(){return this._token||(this._token=new r0),this._token}cancel(){this._token?this._token instanceof r0&&this._token.cancel():this._token=S0.Cancelled}dispose(t=!1){var n;t&&this.cancel(),(n=this._parentListener)==null||n.dispose(),this._token?this._token instanceof r0&&this._token.dispose():this._token=S0.None}}function bre(e){const t=new QS;return e.add({dispose(){t.cancel()}}),t.token}class ib{constructor(){this._keyCodeToStr=[],this._strToKeyCode=Object.create(null)}define(t,n){this._keyCodeToStr[t]=n,this._strToKeyCode[n.toLowerCase()]=t}keyCodeToStr(t){return this._keyCodeToStr[t]}strToKeyCode(t){return this._strToKeyCode[t.toLowerCase()]||0}}const i0=new ib,fg=new ib,dg=new ib,fP=new Array(230),dP=Object.create(null),pP=Object.create(null),YS=[];for(let e=0;e<=193;e++)YS[e]=-1;(function(){const t=[[1,0,"None",0,"unknown",0,"VK_UNKNOWN","",""],[1,1,"Hyper",0,"",0,"","",""],[1,2,"Super",0,"",0,"","",""],[1,3,"Fn",0,"",0,"","",""],[1,4,"FnLock",0,"",0,"","",""],[1,5,"Suspend",0,"",0,"","",""],[1,6,"Resume",0,"",0,"","",""],[1,7,"Turbo",0,"",0,"","",""],[1,8,"Sleep",0,"",0,"VK_SLEEP","",""],[1,9,"WakeUp",0,"",0,"","",""],[0,10,"KeyA",31,"A",65,"VK_A","",""],[0,11,"KeyB",32,"B",66,"VK_B","",""],[0,12,"KeyC",33,"C",67,"VK_C","",""],[0,13,"KeyD",34,"D",68,"VK_D","",""],[0,14,"KeyE",35,"E",69,"VK_E","",""],[0,15,"KeyF",36,"F",70,"VK_F","",""],[0,16,"KeyG",37,"G",71,"VK_G","",""],[0,17,"KeyH",38,"H",72,"VK_H","",""],[0,18,"KeyI",39,"I",73,"VK_I","",""],[0,19,"KeyJ",40,"J",74,"VK_J","",""],[0,20,"KeyK",41,"K",75,"VK_K","",""],[0,21,"KeyL",42,"L",76,"VK_L","",""],[0,22,"KeyM",43,"M",77,"VK_M","",""],[0,23,"KeyN",44,"N",78,"VK_N","",""],[0,24,"KeyO",45,"O",79,"VK_O","",""],[0,25,"KeyP",46,"P",80,"VK_P","",""],[0,26,"KeyQ",47,"Q",81,"VK_Q","",""],[0,27,"KeyR",48,"R",82,"VK_R","",""],[0,28,"KeyS",49,"S",83,"VK_S","",""],[0,29,"KeyT",50,"T",84,"VK_T","",""],[0,30,"KeyU",51,"U",85,"VK_U","",""],[0,31,"KeyV",52,"V",86,"VK_V","",""],[0,32,"KeyW",53,"W",87,"VK_W","",""],[0,33,"KeyX",54,"X",88,"VK_X","",""],[0,34,"KeyY",55,"Y",89,"VK_Y","",""],[0,35,"KeyZ",56,"Z",90,"VK_Z","",""],[0,36,"Digit1",22,"1",49,"VK_1","",""],[0,37,"Digit2",23,"2",50,"VK_2","",""],[0,38,"Digit3",24,"3",51,"VK_3","",""],[0,39,"Digit4",25,"4",52,"VK_4","",""],[0,40,"Digit5",26,"5",53,"VK_5","",""],[0,41,"Digit6",27,"6",54,"VK_6","",""],[0,42,"Digit7",28,"7",55,"VK_7","",""],[0,43,"Digit8",29,"8",56,"VK_8","",""],[0,44,"Digit9",30,"9",57,"VK_9","",""],[0,45,"Digit0",21,"0",48,"VK_0","",""],[1,46,"Enter",3,"Enter",13,"VK_RETURN","",""],[1,47,"Escape",9,"Escape",27,"VK_ESCAPE","",""],[1,48,"Backspace",1,"Backspace",8,"VK_BACK","",""],[1,49,"Tab",2,"Tab",9,"VK_TAB","",""],[1,50,"Space",10,"Space",32,"VK_SPACE","",""],[0,51,"Minus",88,"-",189,"VK_OEM_MINUS","-","OEM_MINUS"],[0,52,"Equal",86,"=",187,"VK_OEM_PLUS","=","OEM_PLUS"],[0,53,"BracketLeft",92,"[",219,"VK_OEM_4","[","OEM_4"],[0,54,"BracketRight",94,"]",221,"VK_OEM_6","]","OEM_6"],[0,55,"Backslash",93,"\\",220,"VK_OEM_5","\\","OEM_5"],[0,56,"IntlHash",0,"",0,"","",""],[0,57,"Semicolon",85,";",186,"VK_OEM_1",";","OEM_1"],[0,58,"Quote",95,"'",222,"VK_OEM_7","'","OEM_7"],[0,59,"Backquote",91,"`",192,"VK_OEM_3","`","OEM_3"],[0,60,"Comma",87,",",188,"VK_OEM_COMMA",",","OEM_COMMA"],[0,61,"Period",89,".",190,"VK_OEM_PERIOD",".","OEM_PERIOD"],[0,62,"Slash",90,"/",191,"VK_OEM_2","/","OEM_2"],[1,63,"CapsLock",8,"CapsLock",20,"VK_CAPITAL","",""],[1,64,"F1",59,"F1",112,"VK_F1","",""],[1,65,"F2",60,"F2",113,"VK_F2","",""],[1,66,"F3",61,"F3",114,"VK_F3","",""],[1,67,"F4",62,"F4",115,"VK_F4","",""],[1,68,"F5",63,"F5",116,"VK_F5","",""],[1,69,"F6",64,"F6",117,"VK_F6","",""],[1,70,"F7",65,"F7",118,"VK_F7","",""],[1,71,"F8",66,"F8",119,"VK_F8","",""],[1,72,"F9",67,"F9",120,"VK_F9","",""],[1,73,"F10",68,"F10",121,"VK_F10","",""],[1,74,"F11",69,"F11",122,"VK_F11","",""],[1,75,"F12",70,"F12",123,"VK_F12","",""],[1,76,"PrintScreen",0,"",0,"","",""],[1,77,"ScrollLock",84,"ScrollLock",145,"VK_SCROLL","",""],[1,78,"Pause",7,"PauseBreak",19,"VK_PAUSE","",""],[1,79,"Insert",19,"Insert",45,"VK_INSERT","",""],[1,80,"Home",14,"Home",36,"VK_HOME","",""],[1,81,"PageUp",11,"PageUp",33,"VK_PRIOR","",""],[1,82,"Delete",20,"Delete",46,"VK_DELETE","",""],[1,83,"End",13,"End",35,"VK_END","",""],[1,84,"PageDown",12,"PageDown",34,"VK_NEXT","",""],[1,85,"ArrowRight",17,"RightArrow",39,"VK_RIGHT","Right",""],[1,86,"ArrowLeft",15,"LeftArrow",37,"VK_LEFT","Left",""],[1,87,"ArrowDown",18,"DownArrow",40,"VK_DOWN","Down",""],[1,88,"ArrowUp",16,"UpArrow",38,"VK_UP","Up",""],[1,89,"NumLock",83,"NumLock",144,"VK_NUMLOCK","",""],[1,90,"NumpadDivide",113,"NumPad_Divide",111,"VK_DIVIDE","",""],[1,91,"NumpadMultiply",108,"NumPad_Multiply",106,"VK_MULTIPLY","",""],[1,92,"NumpadSubtract",111,"NumPad_Subtract",109,"VK_SUBTRACT","",""],[1,93,"NumpadAdd",109,"NumPad_Add",107,"VK_ADD","",""],[1,94,"NumpadEnter",3,"",0,"","",""],[1,95,"Numpad1",99,"NumPad1",97,"VK_NUMPAD1","",""],[1,96,"Numpad2",100,"NumPad2",98,"VK_NUMPAD2","",""],[1,97,"Numpad3",101,"NumPad3",99,"VK_NUMPAD3","",""],[1,98,"Numpad4",102,"NumPad4",100,"VK_NUMPAD4","",""],[1,99,"Numpad5",103,"NumPad5",101,"VK_NUMPAD5","",""],[1,100,"Numpad6",104,"NumPad6",102,"VK_NUMPAD6","",""],[1,101,"Numpad7",105,"NumPad7",103,"VK_NUMPAD7","",""],[1,102,"Numpad8",106,"NumPad8",104,"VK_NUMPAD8","",""],[1,103,"Numpad9",107,"NumPad9",105,"VK_NUMPAD9","",""],[1,104,"Numpad0",98,"NumPad0",96,"VK_NUMPAD0","",""],[1,105,"NumpadDecimal",112,"NumPad_Decimal",110,"VK_DECIMAL","",""],[0,106,"IntlBackslash",97,"OEM_102",226,"VK_OEM_102","",""],[1,107,"ContextMenu",58,"ContextMenu",93,"","",""],[1,108,"Power",0,"",0,"","",""],[1,109,"NumpadEqual",0,"",0,"","",""],[1,110,"F13",71,"F13",124,"VK_F13","",""],[1,111,"F14",72,"F14",125,"VK_F14","",""],[1,112,"F15",73,"F15",126,"VK_F15","",""],[1,113,"F16",74,"F16",127,"VK_F16","",""],[1,114,"F17",75,"F17",128,"VK_F17","",""],[1,115,"F18",76,"F18",129,"VK_F18","",""],[1,116,"F19",77,"F19",130,"VK_F19","",""],[1,117,"F20",78,"F20",131,"VK_F20","",""],[1,118,"F21",79,"F21",132,"VK_F21","",""],[1,119,"F22",80,"F22",133,"VK_F22","",""],[1,120,"F23",81,"F23",134,"VK_F23","",""],[1,121,"F24",82,"F24",135,"VK_F24","",""],[1,122,"Open",0,"",0,"","",""],[1,123,"Help",0,"",0,"","",""],[1,124,"Select",0,"",0,"","",""],[1,125,"Again",0,"",0,"","",""],[1,126,"Undo",0,"",0,"","",""],[1,127,"Cut",0,"",0,"","",""],[1,128,"Copy",0,"",0,"","",""],[1,129,"Paste",0,"",0,"","",""],[1,130,"Find",0,"",0,"","",""],[1,131,"AudioVolumeMute",117,"AudioVolumeMute",173,"VK_VOLUME_MUTE","",""],[1,132,"AudioVolumeUp",118,"AudioVolumeUp",175,"VK_VOLUME_UP","",""],[1,133,"AudioVolumeDown",119,"AudioVolumeDown",174,"VK_VOLUME_DOWN","",""],[1,134,"NumpadComma",110,"NumPad_Separator",108,"VK_SEPARATOR","",""],[0,135,"IntlRo",115,"ABNT_C1",193,"VK_ABNT_C1","",""],[1,136,"KanaMode",0,"",0,"","",""],[0,137,"IntlYen",0,"",0,"","",""],[1,138,"Convert",0,"",0,"","",""],[1,139,"NonConvert",0,"",0,"","",""],[1,140,"Lang1",0,"",0,"","",""],[1,141,"Lang2",0,"",0,"","",""],[1,142,"Lang3",0,"",0,"","",""],[1,143,"Lang4",0,"",0,"","",""],[1,144,"Lang5",0,"",0,"","",""],[1,145,"Abort",0,"",0,"","",""],[1,146,"Props",0,"",0,"","",""],[1,147,"NumpadParenLeft",0,"",0,"","",""],[1,148,"NumpadParenRight",0,"",0,"","",""],[1,149,"NumpadBackspace",0,"",0,"","",""],[1,150,"NumpadMemoryStore",0,"",0,"","",""],[1,151,"NumpadMemoryRecall",0,"",0,"","",""],[1,152,"NumpadMemoryClear",0,"",0,"","",""],[1,153,"NumpadMemoryAdd",0,"",0,"","",""],[1,154,"NumpadMemorySubtract",0,"",0,"","",""],[1,155,"NumpadClear",131,"Clear",12,"VK_CLEAR","",""],[1,156,"NumpadClearEntry",0,"",0,"","",""],[1,0,"",5,"Ctrl",17,"VK_CONTROL","",""],[1,0,"",4,"Shift",16,"VK_SHIFT","",""],[1,0,"",6,"Alt",18,"VK_MENU","",""],[1,0,"",57,"Meta",91,"VK_COMMAND","",""],[1,157,"ControlLeft",5,"",0,"VK_LCONTROL","",""],[1,158,"ShiftLeft",4,"",0,"VK_LSHIFT","",""],[1,159,"AltLeft",6,"",0,"VK_LMENU","",""],[1,160,"MetaLeft",57,"",0,"VK_LWIN","",""],[1,161,"ControlRight",5,"",0,"VK_RCONTROL","",""],[1,162,"ShiftRight",4,"",0,"VK_RSHIFT","",""],[1,163,"AltRight",6,"",0,"VK_RMENU","",""],[1,164,"MetaRight",57,"",0,"VK_RWIN","",""],[1,165,"BrightnessUp",0,"",0,"","",""],[1,166,"BrightnessDown",0,"",0,"","",""],[1,167,"MediaPlay",0,"",0,"","",""],[1,168,"MediaRecord",0,"",0,"","",""],[1,169,"MediaFastForward",0,"",0,"","",""],[1,170,"MediaRewind",0,"",0,"","",""],[1,171,"MediaTrackNext",124,"MediaTrackNext",176,"VK_MEDIA_NEXT_TRACK","",""],[1,172,"MediaTrackPrevious",125,"MediaTrackPrevious",177,"VK_MEDIA_PREV_TRACK","",""],[1,173,"MediaStop",126,"MediaStop",178,"VK_MEDIA_STOP","",""],[1,174,"Eject",0,"",0,"","",""],[1,175,"MediaPlayPause",127,"MediaPlayPause",179,"VK_MEDIA_PLAY_PAUSE","",""],[1,176,"MediaSelect",128,"LaunchMediaPlayer",181,"VK_MEDIA_LAUNCH_MEDIA_SELECT","",""],[1,177,"LaunchMail",129,"LaunchMail",180,"VK_MEDIA_LAUNCH_MAIL","",""],[1,178,"LaunchApp2",130,"LaunchApp2",183,"VK_MEDIA_LAUNCH_APP2","",""],[1,179,"LaunchApp1",0,"",0,"VK_MEDIA_LAUNCH_APP1","",""],[1,180,"SelectTask",0,"",0,"","",""],[1,181,"LaunchScreenSaver",0,"",0,"","",""],[1,182,"BrowserSearch",120,"BrowserSearch",170,"VK_BROWSER_SEARCH","",""],[1,183,"BrowserHome",121,"BrowserHome",172,"VK_BROWSER_HOME","",""],[1,184,"BrowserBack",122,"BrowserBack",166,"VK_BROWSER_BACK","",""],[1,185,"BrowserForward",123,"BrowserForward",167,"VK_BROWSER_FORWARD","",""],[1,186,"BrowserStop",0,"",0,"VK_BROWSER_STOP","",""],[1,187,"BrowserRefresh",0,"",0,"VK_BROWSER_REFRESH","",""],[1,188,"BrowserFavorites",0,"",0,"VK_BROWSER_FAVORITES","",""],[1,189,"ZoomToggle",0,"",0,"","",""],[1,190,"MailReply",0,"",0,"","",""],[1,191,"MailForward",0,"",0,"","",""],[1,192,"MailSend",0,"",0,"","",""],[1,0,"",114,"KeyInComposition",229,"","",""],[1,0,"",116,"ABNT_C2",194,"VK_ABNT_C2","",""],[1,0,"",96,"OEM_8",223,"VK_OEM_8","",""],[1,0,"",0,"",0,"VK_KANA","",""],[1,0,"",0,"",0,"VK_HANGUL","",""],[1,0,"",0,"",0,"VK_JUNJA","",""],[1,0,"",0,"",0,"VK_FINAL","",""],[1,0,"",0,"",0,"VK_HANJA","",""],[1,0,"",0,"",0,"VK_KANJI","",""],[1,0,"",0,"",0,"VK_CONVERT","",""],[1,0,"",0,"",0,"VK_NONCONVERT","",""],[1,0,"",0,"",0,"VK_ACCEPT","",""],[1,0,"",0,"",0,"VK_MODECHANGE","",""],[1,0,"",0,"",0,"VK_SELECT","",""],[1,0,"",0,"",0,"VK_PRINT","",""],[1,0,"",0,"",0,"VK_EXECUTE","",""],[1,0,"",0,"",0,"VK_SNAPSHOT","",""],[1,0,"",0,"",0,"VK_HELP","",""],[1,0,"",0,"",0,"VK_APPS","",""],[1,0,"",0,"",0,"VK_PROCESSKEY","",""],[1,0,"",0,"",0,"VK_PACKET","",""],[1,0,"",0,"",0,"VK_DBE_SBCSCHAR","",""],[1,0,"",0,"",0,"VK_DBE_DBCSCHAR","",""],[1,0,"",0,"",0,"VK_ATTN","",""],[1,0,"",0,"",0,"VK_CRSEL","",""],[1,0,"",0,"",0,"VK_EXSEL","",""],[1,0,"",0,"",0,"VK_EREOF","",""],[1,0,"",0,"",0,"VK_PLAY","",""],[1,0,"",0,"",0,"VK_ZOOM","",""],[1,0,"",0,"",0,"VK_NONAME","",""],[1,0,"",0,"",0,"VK_PA1","",""],[1,0,"",0,"",0,"VK_OEM_CLEAR","",""]],n=[],r=[];for(const i of t){const[o,a,l,c,f,p,h,g,b]=i;if(r[a]||(r[a]=!0,dP[l]=a,pP[l.toLowerCase()]=a,o&&(YS[a]=c)),!n[c]){if(n[c]=!0,!f)throw new Error(`String representation missing for key code ${c} around scan code ${l}`);i0.define(c,f),fg.define(c,g||f),dg.define(c,b||g||f)}p&&(fP[p]=c)}})();var s3;(function(e){function t(l){return i0.keyCodeToStr(l)}e.toString=t;function n(l){return i0.strToKeyCode(l)}e.fromString=n;function r(l){return fg.keyCodeToStr(l)}e.toUserSettingsUS=r;function i(l){return dg.keyCodeToStr(l)}e.toUserSettingsGeneral=i;function o(l){return fg.strToKeyCode(l)||dg.strToKeyCode(l)}e.fromUserSettings=o;function a(l){if(l>=98&&l<=113)return null;switch(l){case 16:return"Up";case 18:return"Down";case 15:return"Left";case 17:return"Right"}return i0.keyCodeToStr(l)}e.toElectronAccelerator=a})(s3||(s3={}));function hP(e,t){const n=(t&65535)<<16>>>0;return(e|n)>>>0}function mP(){return globalThis._VSCODE_NLS_MESSAGES}function XS(){return globalThis._VSCODE_NLS_LANGUAGE}const gP=XS()==="pseudo"||typeof document<"u"&&document.location&&document.location.hash.indexOf("pseudo=true")>=0;function _0(e,t){let n;return t.length===0?n=e:n=e.replace(/\{(\d+)\}/g,(r,i)=>{const o=i[0],a=t[o];let l=r;return typeof a=="string"?l=a:(typeof a=="number"||typeof a=="boolean"||a===void 0||a===null)&&(l=String(a)),l}),gP&&(n="["+n.replace(/[aouei]/g,"$&$&")+"]"),n}function ft(e,t,...n){return _0(typeof e=="number"?ZS(e,t):t,n)}function ZS(e,t){var r;const n=(r=mP())==null?void 0:r[e];if(typeof n!="string"){if(typeof t=="string")return t;throw new Error(`!!! NLS MISSING: ${e} !!!`)}return n}function vre(e,t,...n){let r;typeof e=="number"?r=ZS(e,t):r=t;const i=_0(r,n);return{value:i,original:t===r?i:_0(t,n)}}const ml="en";let T0=!1,k0=!1,o0=!1,JS=!1,ob=!1,sb=!1,KS=!1,Id,s0=ml,a3=ml,bP,ci;const Io=globalThis;let _n;var J8;typeof Io.vscode<"u"&&typeof Io.vscode.process<"u"?_n=Io.vscode.process:typeof process<"u"&&typeof((J8=process==null?void 0:process.versions)==null?void 0:J8.node)=="string"&&(_n=process);var K8;const vP=typeof((K8=_n==null?void 0:_n.versions)==null?void 0:K8.electron)=="string",yP=vP&&(_n==null?void 0:_n.type)==="renderer";var eS;if(typeof _n=="object"){T0=_n.platform==="win32",k0=_n.platform==="darwin",o0=_n.platform==="linux",o0&&_n.env.SNAP&&_n.env.SNAP_REVISION,_n.env.CI||_n.env.BUILD_ARTIFACTSTAGINGDIRECTORY,Id=ml,s0=ml;const e=_n.env.VSCODE_NLS_CONFIG;if(e)try{const t=JSON.parse(e);Id=t.userLocale,a3=t.osLocale,s0=t.resolvedLanguage||ml,bP=(eS=t.languagePack)==null?void 0:eS.translationsConfigFile}catch{}JS=!0}else typeof navigator=="object"&&!yP?(ci=navigator.userAgent,T0=ci.indexOf("Windows")>=0,k0=ci.indexOf("Macintosh")>=0,sb=(ci.indexOf("Macintosh")>=0||ci.indexOf("iPad")>=0||ci.indexOf("iPhone")>=0)&&!!navigator.maxTouchPoints&&navigator.maxTouchPoints>0,o0=ci.indexOf("Linux")>=0,KS=(ci==null?void 0:ci.indexOf("Mobi"))>=0,ob=!0,s0=XS()||ml,Id=navigator.language.toLowerCase(),a3=Id):console.error("Unable to resolve platform.");const xc=T0,xP=k0,yre=o0,xre=JS,wre=ob,wP=ob&&typeof Io.importScripts=="function",Ere=wP?Io.origin:void 0,Sre=sb,_re=KS,to=ci,Tre=s0,EP=typeof Io.postMessage=="function"&&!Io.importScripts,kre=(()=>{if(EP){const e=[];Io.addEventListener("message",n=>{if(n.data&&n.data.vscodeScheduleAsyncWork)for(let r=0,i=e.length;r{const r=++t;e.push({id:r,callback:n}),Io.postMessage({vscodeScheduleAsyncWork:r},"*")}}return e=>setTimeout(e)})(),Cre=k0||sb?2:T0?1:3;let l3=!0,u3=!1;function Nre(){if(!u3){u3=!0;const e=new Uint8Array(2);e[0]=1,e[1]=2,l3=new Uint16Array(e.buffer)[0]===513}return l3}const SP=!!(to&&to.indexOf("Chrome")>=0),Are=!!(to&&to.indexOf("Firefox")>=0),Ire=!!(!SP&&to&&to.indexOf("Safari")>=0),Dre=!!(to&&to.indexOf("Edg/")>=0),Rre=!!(to&&to.indexOf("Android")>=0);var c3={};let Nl;const Zm=globalThis.vscode;var tS;if(typeof Zm<"u"&&typeof Zm.process<"u"){const e=Zm.process;Nl={get platform(){return e.platform},get arch(){return e.arch},get env(){return e.env},cwd(){return e.cwd()}}}else typeof process<"u"&&typeof((tS=process==null?void 0:process.versions)==null?void 0:tS.node)=="string"?Nl={get platform(){return process.platform},get arch(){return process.arch},get env(){return c3},cwd(){return c3.VSCODE_CWD||process.cwd()}}:Nl={get platform(){return xc?"win32":xP?"darwin":"linux"},get arch(){},get env(){return{}},cwd(){return"/"}};const C0=Nl.cwd,_P=Nl.env,TP=Nl.platform,kP=65,CP=97,NP=90,AP=122,ks=46,pn=47,lr=92,gs=58,IP=63;class e_ extends Error{constructor(t,n,r){let i;typeof n=="string"&&n.indexOf("not ")===0?(i="must not be",n=n.replace(/^not /,"")):i="must be";const o=t.indexOf(".")!==-1?"property":"argument";let a=`The "${t}" ${o} ${i} of type ${n}`;a+=`. Received type ${typeof r}`,super(a),this.code="ERR_INVALID_ARG_TYPE"}}function DP(e,t){if(e===null||typeof e!="object")throw new e_(t,"Object",e)}function Rt(e,t){if(typeof e!="string")throw new e_(t,"string",e)}const Vo=TP==="win32";function Ve(e){return e===pn||e===lr}function pg(e){return e===pn}function bs(e){return e>=kP&&e<=NP||e>=CP&&e<=AP}function N0(e,t,n,r){let i="",o=0,a=-1,l=0,c=0;for(let f=0;f<=e.length;++f){if(f2){const p=i.lastIndexOf(n);p===-1?(i="",o=0):(i=i.slice(0,p),o=i.length-1-i.lastIndexOf(n)),a=f,l=0;continue}else if(i.length!==0){i="",o=0,a=f,l=0;continue}}t&&(i+=i.length>0?`${n}..`:"..",o=2)}else i.length>0?i+=`${n}${e.slice(a+1,f)}`:i=e.slice(a+1,f),o=f-a-1;a=f,l=0}else c===ks&&l!==-1?++l:l=-1}return i}function RP(e){return e?`${e[0]==="."?"":"."}${e}`:""}function t_(e,t){DP(t,"pathObject");const n=t.dir||t.root,r=t.base||`${t.name||""}${RP(t.ext)}`;return n?n===t.root?`${n}${r}`:`${n}${e}${r}`:r}const Bn={resolve(...e){let t="",n="",r=!1;for(let i=e.length-1;i>=-1;i--){let o;if(i>=0){if(o=e[i],Rt(o,`paths[${i}]`),o.length===0)continue}else t.length===0?o=C0():(o=_P[`=${t}`]||C0(),(o===void 0||o.slice(0,2).toLowerCase()!==t.toLowerCase()&&o.charCodeAt(2)===lr)&&(o=`${t}\\`));const a=o.length;let l=0,c="",f=!1;const p=o.charCodeAt(0);if(a===1)Ve(p)&&(l=1,f=!0);else if(Ve(p))if(f=!0,Ve(o.charCodeAt(1))){let h=2,g=h;for(;h2&&Ve(o.charCodeAt(2))&&(f=!0,l=3));if(c.length>0)if(t.length>0){if(c.toLowerCase()!==t.toLowerCase())continue}else t=c;if(r){if(t.length>0)break}else if(n=`${o.slice(l)}\\${n}`,r=f,f&&t.length>0)break}return n=N0(n,!r,"\\",Ve),r?`${t}\\${n}`:`${t}${n}`||"."},normalize(e){Rt(e,"path");const t=e.length;if(t===0)return".";let n=0,r,i=!1;const o=e.charCodeAt(0);if(t===1)return pg(o)?"\\":e;if(Ve(o))if(i=!0,Ve(e.charCodeAt(1))){let l=2,c=l;for(;l2&&Ve(e.charCodeAt(2))&&(i=!0,n=3));let a=n0&&Ve(e.charCodeAt(t-1))&&(a+="\\"),r===void 0?i?`\\${a}`:a:i?`${r}\\${a}`:`${r}${a}`},isAbsolute(e){Rt(e,"path");const t=e.length;if(t===0)return!1;const n=e.charCodeAt(0);return Ve(n)||t>2&&bs(n)&&e.charCodeAt(1)===gs&&Ve(e.charCodeAt(2))},join(...e){if(e.length===0)return".";let t,n;for(let o=0;o0&&(t===void 0?t=n=a:t+=`\\${a}`)}if(t===void 0)return".";let r=!0,i=0;if(typeof n=="string"&&Ve(n.charCodeAt(0))){++i;const o=n.length;o>1&&Ve(n.charCodeAt(1))&&(++i,o>2&&(Ve(n.charCodeAt(2))?++i:r=!1))}if(r){for(;i=2&&(t=`\\${t.slice(i)}`)}return Bn.normalize(t)},relative(e,t){if(Rt(e,"from"),Rt(t,"to"),e===t)return"";const n=Bn.resolve(e),r=Bn.resolve(t);if(n===r||(e=n.toLowerCase(),t=r.toLowerCase(),e===t))return"";let i=0;for(;ii&&e.charCodeAt(o-1)===lr;)o--;const a=o-i;let l=0;for(;ll&&t.charCodeAt(c-1)===lr;)c--;const f=c-l,p=ap){if(t.charCodeAt(l+g)===lr)return r.slice(l+g+1);if(g===2)return r.slice(l+g)}a>p&&(e.charCodeAt(i+g)===lr?h=g:g===2&&(h=3)),h===-1&&(h=0)}let b="";for(g=i+h+1;g<=o;++g)(g===o||e.charCodeAt(g)===lr)&&(b+=b.length===0?"..":"\\..");return l+=h,b.length>0?`${b}${r.slice(l,c)}`:(r.charCodeAt(l)===lr&&++l,r.slice(l,c))},toNamespacedPath(e){if(typeof e!="string"||e.length===0)return e;const t=Bn.resolve(e);if(t.length<=2)return e;if(t.charCodeAt(0)===lr){if(t.charCodeAt(1)===lr){const n=t.charCodeAt(2);if(n!==IP&&n!==ks)return`\\\\?\\UNC\\${t.slice(2)}`}}else if(bs(t.charCodeAt(0))&&t.charCodeAt(1)===gs&&t.charCodeAt(2)===lr)return`\\\\?\\${t}`;return e},dirname(e){Rt(e,"path");const t=e.length;if(t===0)return".";let n=-1,r=0;const i=e.charCodeAt(0);if(t===1)return Ve(i)?e:".";if(Ve(i)){if(n=r=1,Ve(e.charCodeAt(1))){let l=2,c=l;for(;l2&&Ve(e.charCodeAt(2))?3:2,r=n);let o=-1,a=!0;for(let l=t-1;l>=r;--l)if(Ve(e.charCodeAt(l))){if(!a){o=l;break}}else a=!1;if(o===-1){if(n===-1)return".";o=n}return e.slice(0,o)},basename(e,t){t!==void 0&&Rt(t,"suffix"),Rt(e,"path");let n=0,r=-1,i=!0,o;if(e.length>=2&&bs(e.charCodeAt(0))&&e.charCodeAt(1)===gs&&(n=2),t!==void 0&&t.length>0&&t.length<=e.length){if(t===e)return"";let a=t.length-1,l=-1;for(o=e.length-1;o>=n;--o){const c=e.charCodeAt(o);if(Ve(c)){if(!i){n=o+1;break}}else l===-1&&(i=!1,l=o+1),a>=0&&(c===t.charCodeAt(a)?--a===-1&&(r=o):(a=-1,r=l))}return n===r?r=l:r===-1&&(r=e.length),e.slice(n,r)}for(o=e.length-1;o>=n;--o)if(Ve(e.charCodeAt(o))){if(!i){n=o+1;break}}else r===-1&&(i=!1,r=o+1);return r===-1?"":e.slice(n,r)},extname(e){Rt(e,"path");let t=0,n=-1,r=0,i=-1,o=!0,a=0;e.length>=2&&e.charCodeAt(1)===gs&&bs(e.charCodeAt(0))&&(t=r=2);for(let l=e.length-1;l>=t;--l){const c=e.charCodeAt(l);if(Ve(c)){if(!o){r=l+1;break}continue}i===-1&&(o=!1,i=l+1),c===ks?n===-1?n=l:a!==1&&(a=1):n!==-1&&(a=-1)}return n===-1||i===-1||a===0||a===1&&n===i-1&&n===r+1?"":e.slice(n,i)},format:t_.bind(null,"\\"),parse(e){Rt(e,"path");const t={root:"",dir:"",base:"",ext:"",name:""};if(e.length===0)return t;const n=e.length;let r=0,i=e.charCodeAt(0);if(n===1)return Ve(i)?(t.root=t.dir=e,t):(t.base=t.name=e,t);if(Ve(i)){if(r=1,Ve(e.charCodeAt(1))){let h=2,g=h;for(;h0&&(t.root=e.slice(0,r));let o=-1,a=r,l=-1,c=!0,f=e.length-1,p=0;for(;f>=r;--f){if(i=e.charCodeAt(f),Ve(i)){if(!c){a=f+1;break}continue}l===-1&&(c=!1,l=f+1),i===ks?o===-1?o=f:p!==1&&(p=1):o!==-1&&(p=-1)}return l!==-1&&(o===-1||p===0||p===1&&o===l-1&&o===a+1?t.base=t.name=e.slice(a,l):(t.name=e.slice(a,o),t.base=e.slice(a,l),t.ext=e.slice(o,l))),a>0&&a!==r?t.dir=e.slice(0,a-1):t.dir=t.root,t},sep:"\\",delimiter:";",win32:null,posix:null},LP=(()=>{if(Vo){const e=/\\/g;return()=>{const t=C0().replace(e,"/");return t.slice(t.indexOf("/"))}}return()=>C0()})(),Zn={resolve(...e){let t="",n=!1;for(let r=e.length-1;r>=-1&&!n;r--){const i=r>=0?e[r]:LP();Rt(i,`paths[${r}]`),i.length!==0&&(t=`${i}/${t}`,n=i.charCodeAt(0)===pn)}return t=N0(t,!n,"/",pg),n?`/${t}`:t.length>0?t:"."},normalize(e){if(Rt(e,"path"),e.length===0)return".";const t=e.charCodeAt(0)===pn,n=e.charCodeAt(e.length-1)===pn;return e=N0(e,!t,"/",pg),e.length===0?t?"/":n?"./":".":(n&&(e+="/"),t?`/${e}`:e)},isAbsolute(e){return Rt(e,"path"),e.length>0&&e.charCodeAt(0)===pn},join(...e){if(e.length===0)return".";let t;for(let n=0;n0&&(t===void 0?t=r:t+=`/${r}`)}return t===void 0?".":Zn.normalize(t)},relative(e,t){if(Rt(e,"from"),Rt(t,"to"),e===t||(e=Zn.resolve(e),t=Zn.resolve(t),e===t))return"";const n=1,r=e.length,i=r-n,o=1,a=t.length-o,l=il){if(t.charCodeAt(o+f)===pn)return t.slice(o+f+1);if(f===0)return t.slice(o+f)}else i>l&&(e.charCodeAt(n+f)===pn?c=f:f===0&&(c=0));let p="";for(f=n+c+1;f<=r;++f)(f===r||e.charCodeAt(f)===pn)&&(p+=p.length===0?"..":"/..");return`${p}${t.slice(o+c)}`},toNamespacedPath(e){return e},dirname(e){if(Rt(e,"path"),e.length===0)return".";const t=e.charCodeAt(0)===pn;let n=-1,r=!0;for(let i=e.length-1;i>=1;--i)if(e.charCodeAt(i)===pn){if(!r){n=i;break}}else r=!1;return n===-1?t?"/":".":t&&n===1?"//":e.slice(0,n)},basename(e,t){t!==void 0&&Rt(t,"ext"),Rt(e,"path");let n=0,r=-1,i=!0,o;if(t!==void 0&&t.length>0&&t.length<=e.length){if(t===e)return"";let a=t.length-1,l=-1;for(o=e.length-1;o>=0;--o){const c=e.charCodeAt(o);if(c===pn){if(!i){n=o+1;break}}else l===-1&&(i=!1,l=o+1),a>=0&&(c===t.charCodeAt(a)?--a===-1&&(r=o):(a=-1,r=l))}return n===r?r=l:r===-1&&(r=e.length),e.slice(n,r)}for(o=e.length-1;o>=0;--o)if(e.charCodeAt(o)===pn){if(!i){n=o+1;break}}else r===-1&&(i=!1,r=o+1);return r===-1?"":e.slice(n,r)},extname(e){Rt(e,"path");let t=-1,n=0,r=-1,i=!0,o=0;for(let a=e.length-1;a>=0;--a){const l=e.charCodeAt(a);if(l===pn){if(!i){n=a+1;break}continue}r===-1&&(i=!1,r=a+1),l===ks?t===-1?t=a:o!==1&&(o=1):t!==-1&&(o=-1)}return t===-1||r===-1||o===0||o===1&&t===r-1&&t===n+1?"":e.slice(t,r)},format:t_.bind(null,"/"),parse(e){Rt(e,"path");const t={root:"",dir:"",base:"",ext:"",name:""};if(e.length===0)return t;const n=e.charCodeAt(0)===pn;let r;n?(t.root="/",r=1):r=0;let i=-1,o=0,a=-1,l=!0,c=e.length-1,f=0;for(;c>=r;--c){const p=e.charCodeAt(c);if(p===pn){if(!l){o=c+1;break}continue}a===-1&&(l=!1,a=c+1),p===ks?i===-1?i=c:f!==1&&(f=1):i!==-1&&(f=-1)}if(a!==-1){const p=o===0&&n?1:o;i===-1||f===0||f===1&&i===a-1&&i===o+1?t.base=t.name=e.slice(p,a):(t.name=e.slice(p,i),t.base=e.slice(p,a),t.ext=e.slice(i,a))}return o>0?t.dir=e.slice(0,o-1):n&&(t.dir="/"),t},sep:"/",delimiter:":",win32:null,posix:null};Zn.win32=Bn.win32=Bn;Zn.posix=Bn.posix=Zn;const Lre=Vo?Bn.normalize:Zn.normalize,Pre=Vo?Bn.join:Zn.join,Fre=Vo?Bn.resolve:Zn.resolve,Ore=Vo?Bn.relative:Zn.relative,Mre=Vo?Bn.dirname:Zn.dirname,$re=Vo?Bn.basename:Zn.basename,jre=Vo?Bn.extname:Zn.extname,Bre=Vo?Bn.sep:Zn.sep,PP=/^\w[\w\d+.-]*$/,FP=/^\//,OP=/^\/\//;function MP(e,t){if(!e.scheme&&t)throw new Error(`[UriError]: Scheme is missing: {scheme: "", authority: "${e.authority}", path: "${e.path}", query: "${e.query}", fragment: "${e.fragment}"}`);if(e.scheme&&!PP.test(e.scheme))throw new Error("[UriError]: Scheme contains illegal characters.");if(e.path){if(e.authority){if(!FP.test(e.path))throw new Error('[UriError]: If a URI contains an authority component, then the path component must either be empty or begin with a slash ("/") character')}else if(OP.test(e.path))throw new Error('[UriError]: If a URI does not contain an authority component, then the path cannot begin with two slash characters ("//")')}}function $P(e,t){return!e&&!t?"file":e}function jP(e,t){switch(e){case"https":case"http":case"file":t?t[0]!==di&&(t=di+t):t=di;break}return t}const ut="",di="/",BP=/^(([^:/?#]+?):)?(\/\/([^/?#]*))?([^?#]*)(\?([^#]*))?(#(.*))?/;let Ul=class a0{static isUri(t){return t instanceof a0?!0:t?typeof t.authority=="string"&&typeof t.fragment=="string"&&typeof t.path=="string"&&typeof t.query=="string"&&typeof t.scheme=="string"&&typeof t.fsPath=="string"&&typeof t.with=="function"&&typeof t.toString=="function":!1}constructor(t,n,r,i,o,a=!1){typeof t=="object"?(this.scheme=t.scheme||ut,this.authority=t.authority||ut,this.path=t.path||ut,this.query=t.query||ut,this.fragment=t.fragment||ut):(this.scheme=$P(t,a),this.authority=n||ut,this.path=jP(this.scheme,r||ut),this.query=i||ut,this.fragment=o||ut,MP(this,a))}get fsPath(){return hg(this,!1)}with(t){if(!t)return this;let{scheme:n,authority:r,path:i,query:o,fragment:a}=t;return n===void 0?n=this.scheme:n===null&&(n=ut),r===void 0?r=this.authority:r===null&&(r=ut),i===void 0?i=this.path:i===null&&(i=ut),o===void 0?o=this.query:o===null&&(o=ut),a===void 0?a=this.fragment:a===null&&(a=ut),n===this.scheme&&r===this.authority&&i===this.path&&o===this.query&&a===this.fragment?this:new ol(n,r,i,o,a)}static parse(t,n=!1){const r=BP.exec(t);return r?new ol(r[2]||ut,Dd(r[4]||ut),Dd(r[5]||ut),Dd(r[7]||ut),Dd(r[9]||ut),n):new ol(ut,ut,ut,ut,ut)}static file(t){let n=ut;if(xc&&(t=t.replace(/\\/g,di)),t[0]===di&&t[1]===di){const r=t.indexOf(di,2);r===-1?(n=t.substring(2),t=di):(n=t.substring(2,r),t=t.substring(r)||di)}return new ol("file",n,t,ut,ut)}static from(t,n){return new ol(t.scheme,t.authority,t.path,t.query,t.fragment,n)}static joinPath(t,...n){if(!t.path)throw new Error("[UriError]: cannot call joinPath on URI without path");let r;return xc&&t.scheme==="file"?r=a0.file(Bn.join(hg(t,!0),...n)).path:r=Zn.join(t.path,...n),t.with({path:r})}toString(t=!1){return mg(this,t)}toJSON(){return this}static revive(t){if(t){if(t instanceof a0)return t;{const n=new ol(t);return n._formatted=t.external??null,n._fsPath=t._sep===n_?t.fsPath??null:null,n}}else return t}};const n_=xc?1:void 0;class ol extends Ul{constructor(){super(...arguments),this._formatted=null,this._fsPath=null}get fsPath(){return this._fsPath||(this._fsPath=hg(this,!1)),this._fsPath}toString(t=!1){return t?mg(this,!0):(this._formatted||(this._formatted=mg(this,!1)),this._formatted)}toJSON(){const t={$mid:1};return this._fsPath&&(t.fsPath=this._fsPath,t._sep=n_),this._formatted&&(t.external=this._formatted),this.path&&(t.path=this.path),this.scheme&&(t.scheme=this.scheme),this.authority&&(t.authority=this.authority),this.query&&(t.query=this.query),this.fragment&&(t.fragment=this.fragment),t}}const r_={58:"%3A",47:"%2F",63:"%3F",35:"%23",91:"%5B",93:"%5D",64:"%40",33:"%21",36:"%24",38:"%26",39:"%27",40:"%28",41:"%29",42:"%2A",43:"%2B",44:"%2C",59:"%3B",61:"%3D",32:"%20"};function f3(e,t,n){let r,i=-1;for(let o=0;o=97&&a<=122||a>=65&&a<=90||a>=48&&a<=57||a===45||a===46||a===95||a===126||t&&a===47||n&&a===91||n&&a===93||n&&a===58)i!==-1&&(r+=encodeURIComponent(e.substring(i,o)),i=-1),r!==void 0&&(r+=e.charAt(o));else{r===void 0&&(r=e.substr(0,o));const l=r_[a];l!==void 0?(i!==-1&&(r+=encodeURIComponent(e.substring(i,o)),i=-1),r+=l):i===-1&&(i=o)}}return i!==-1&&(r+=encodeURIComponent(e.substring(i))),r!==void 0?r:e}function VP(e){let t;for(let n=0;n1&&e.scheme==="file"?n=`//${e.authority}${e.path}`:e.path.charCodeAt(0)===47&&(e.path.charCodeAt(1)>=65&&e.path.charCodeAt(1)<=90||e.path.charCodeAt(1)>=97&&e.path.charCodeAt(1)<=122)&&e.path.charCodeAt(2)===58?t?n=e.path.substr(1):n=e.path[1].toLowerCase()+e.path.substr(2):n=e.path,xc&&(n=n.replace(/\//g,"\\")),n}function mg(e,t){const n=t?VP:f3;let r="",{scheme:i,authority:o,path:a,query:l,fragment:c}=e;if(i&&(r+=i,r+=":"),(o||i==="file")&&(r+=di,r+=di),o){let f=o.indexOf("@");if(f!==-1){const p=o.substr(0,f);o=o.substr(f+1),f=p.lastIndexOf(":"),f===-1?r+=n(p,!1,!1):(r+=n(p.substr(0,f),!1,!1),r+=":",r+=n(p.substr(f+1),!1,!0)),r+="@"}o=o.toLowerCase(),f=o.lastIndexOf(":"),f===-1?r+=n(o,!1,!0):(r+=n(o.substr(0,f),!1,!0),r+=o.substr(f))}if(a){if(a.length>=3&&a.charCodeAt(0)===47&&a.charCodeAt(2)===58){const f=a.charCodeAt(1);f>=65&&f<=90&&(a=`/${String.fromCharCode(f+32)}:${a.substr(3)}`)}else if(a.length>=2&&a.charCodeAt(1)===58){const f=a.charCodeAt(0);f>=65&&f<=90&&(a=`${String.fromCharCode(f+32)}:${a.substr(2)}`)}r+=n(a,!0,!1)}return l&&(r+="?",r+=n(l,!1,!1)),c&&(r+="#",r+=t?c:f3(c,!1,!1)),r}function i_(e){try{return decodeURIComponent(e)}catch{return e.length>3?e.substr(0,3)+i_(e.substr(3)):e}}const d3=/(%[0-9A-Za-z][0-9A-Za-z])+/g;function Dd(e){return e.match(d3)?e.replace(d3,t=>i_(t)):e}let wc=class ta{constructor(t,n){this.lineNumber=t,this.column=n}with(t=this.lineNumber,n=this.column){return t===this.lineNumber&&n===this.column?this:new ta(t,n)}delta(t=0,n=0){return this.with(this.lineNumber+t,this.column+n)}equals(t){return ta.equals(this,t)}static equals(t,n){return!t&&!n?!0:!!t&&!!n&&t.lineNumber===n.lineNumber&&t.column===n.column}isBefore(t){return ta.isBefore(this,t)}static isBefore(t,n){return t.lineNumberr||t===r&&n>i?(this.startLineNumber=r,this.startColumn=i,this.endLineNumber=t,this.endColumn=n):(this.startLineNumber=t,this.startColumn=n,this.endLineNumber=r,this.endColumn=i)}isEmpty(){return Ut.isEmpty(this)}static isEmpty(t){return t.startLineNumber===t.endLineNumber&&t.startColumn===t.endColumn}containsPosition(t){return Ut.containsPosition(this,t)}static containsPosition(t,n){return!(n.lineNumbert.endLineNumber||n.lineNumber===t.startLineNumber&&n.columnt.endColumn)}static strictContainsPosition(t,n){return!(n.lineNumbert.endLineNumber||n.lineNumber===t.startLineNumber&&n.column<=t.startColumn||n.lineNumber===t.endLineNumber&&n.column>=t.endColumn)}containsRange(t){return Ut.containsRange(this,t)}static containsRange(t,n){return!(n.startLineNumbert.endLineNumber||n.endLineNumber>t.endLineNumber||n.startLineNumber===t.startLineNumber&&n.startColumnt.endColumn)}strictContainsRange(t){return Ut.strictContainsRange(this,t)}static strictContainsRange(t,n){return!(n.startLineNumbert.endLineNumber||n.endLineNumber>t.endLineNumber||n.startLineNumber===t.startLineNumber&&n.startColumn<=t.startColumn||n.endLineNumber===t.endLineNumber&&n.endColumn>=t.endColumn)}plusRange(t){return Ut.plusRange(this,t)}static plusRange(t,n){let r,i,o,a;return n.startLineNumbert.endLineNumber?(o=n.endLineNumber,a=n.endColumn):n.endLineNumber===t.endLineNumber?(o=n.endLineNumber,a=Math.max(n.endColumn,t.endColumn)):(o=t.endLineNumber,a=t.endColumn),new Ut(r,i,o,a)}intersectRanges(t){return Ut.intersectRanges(this,t)}static intersectRanges(t,n){let r=t.startLineNumber,i=t.startColumn,o=t.endLineNumber,a=t.endColumn;const l=n.startLineNumber,c=n.startColumn,f=n.endLineNumber,p=n.endColumn;return rf?(o=f,a=p):o===f&&(a=Math.min(a,p)),r>o||r===o&&i>a?null:new Ut(r,i,o,a)}equalsRange(t){return Ut.equalsRange(this,t)}static equalsRange(t,n){return!t&&!n?!0:!!t&&!!n&&t.startLineNumber===n.startLineNumber&&t.startColumn===n.startColumn&&t.endLineNumber===n.endLineNumber&&t.endColumn===n.endColumn}getEndPosition(){return Ut.getEndPosition(this)}static getEndPosition(t){return new wc(t.endLineNumber,t.endColumn)}getStartPosition(){return Ut.getStartPosition(this)}static getStartPosition(t){return new wc(t.startLineNumber,t.startColumn)}toString(){return"["+this.startLineNumber+","+this.startColumn+" -> "+this.endLineNumber+","+this.endColumn+"]"}setEndPosition(t,n){return new Ut(this.startLineNumber,this.startColumn,t,n)}setStartPosition(t,n){return new Ut(t,n,this.endLineNumber,this.endColumn)}collapseToStart(){return Ut.collapseToStart(this)}static collapseToStart(t){return new Ut(t.startLineNumber,t.startColumn,t.startLineNumber,t.startColumn)}collapseToEnd(){return Ut.collapseToEnd(this)}static collapseToEnd(t){return new Ut(t.endLineNumber,t.endColumn,t.endLineNumber,t.endColumn)}delta(t){return new Ut(this.startLineNumber+t,this.startColumn,this.endLineNumber+t,this.endColumn)}static fromPositions(t,n=t){return new Ut(t.lineNumber,t.column,n.lineNumber,n.column)}static lift(t){return t?new Ut(t.startLineNumber,t.startColumn,t.endLineNumber,t.endColumn):null}static isIRange(t){return t&&typeof t.startLineNumber=="number"&&typeof t.startColumn=="number"&&typeof t.endLineNumber=="number"&&typeof t.endColumn=="number"}static areIntersectingOrTouching(t,n){return!(t.endLineNumbert.startLineNumber}toJSON(){return this}};class wr extends Xi{constructor(t,n,r,i){super(t,n,r,i),this.selectionStartLineNumber=t,this.selectionStartColumn=n,this.positionLineNumber=r,this.positionColumn=i}toString(){return"["+this.selectionStartLineNumber+","+this.selectionStartColumn+" -> "+this.positionLineNumber+","+this.positionColumn+"]"}equalsSelection(t){return wr.selectionsEqual(this,t)}static selectionsEqual(t,n){return t.selectionStartLineNumber===n.selectionStartLineNumber&&t.selectionStartColumn===n.selectionStartColumn&&t.positionLineNumber===n.positionLineNumber&&t.positionColumn===n.positionColumn}getDirection(){return this.selectionStartLineNumber===this.startLineNumber&&this.selectionStartColumn===this.startColumn?0:1}setEndPosition(t,n){return this.getDirection()===0?new wr(this.startLineNumber,this.startColumn,t,n):new wr(t,n,this.startLineNumber,this.startColumn)}getPosition(){return new wc(this.positionLineNumber,this.positionColumn)}getSelectionStart(){return new wc(this.selectionStartLineNumber,this.selectionStartColumn)}setStartPosition(t,n){return this.getDirection()===0?new wr(t,n,this.endLineNumber,this.endColumn):new wr(this.endLineNumber,this.endColumn,t,n)}static fromPositions(t,n=t){return new wr(t.lineNumber,t.column,n.lineNumber,n.column)}static fromRange(t,n){return n===0?new wr(t.startLineNumber,t.startColumn,t.endLineNumber,t.endColumn):new wr(t.endLineNumber,t.endColumn,t.startLineNumber,t.startColumn)}static liftSelection(t){return new wr(t.selectionStartLineNumber,t.selectionStartColumn,t.positionLineNumber,t.positionColumn)}static selectionsArrEqual(t,n){if(t&&!n||!t&&n)return!1;if(!t&&!n)return!0;if(t.length!==n.length)return!1;for(let r=0,i=t.length;r"u"}function Wre(e){return!ab(e)}function ab(e){return UP(e)||e===null}function Gre(e,t){if(!e)throw new Error(t?`Unexpected type, expected '${t}'`:"Unexpected type")}function Qre(e){if(ab(e))throw new Error("Assertion Failed: argument is undefined or null");return e}function zP(e){return typeof e=="function"}function Yre(e,t){const n=Math.min(e.length,t.length);for(let r=0;r{this._tokenizationSupports.get(t)===n&&(this._tokenizationSupports.delete(t),this.handleChange([t]))})}get(t){return this._tokenizationSupports.get(t)||null}registerFactory(t,n){var i;(i=this._factories.get(t))==null||i.dispose();const r=new GP(this,t,n);return this._factories.set(t,r),vc(()=>{const o=this._factories.get(t);!o||o!==r||(this._factories.delete(t),o.dispose())})}async getOrCreate(t){const n=this.get(t);if(n)return n;const r=this._factories.get(t);return!r||r.isResolved?null:(await r.resolve(),this.get(t))}isResolved(t){if(this.get(t))return!0;const r=this._factories.get(t);return!!(!r||r.isResolved)}setColorMap(t){this._colorMap=t,this._onDidChange.fire({changedLanguages:Array.from(this._tokenizationSupports.keys()),changedColorMap:!0})}getColorMap(){return this._colorMap}getDefaultBackground(){return this._colorMap&&this._colorMap.length>2?this._colorMap[2]:null}};class GP extends ya{get isResolved(){return this._isResolved}constructor(t,n,r){super(),this._registry=t,this._languageId=n,this._factory=r,this._isDisposed=!1,this._resolvePromise=null,this._isResolved=!1}dispose(){this._isDisposed=!0,super.dispose()}async resolve(){return this._resolvePromise||(this._resolvePromise=this._create()),this._resolvePromise}async _create(){const t=await this._factory.tokenizationSupport;this._isResolved=!0,t&&!this._isDisposed&&this._register(this._registry.register(this._languageId,t))}}let QP=class{constructor(t,n,r){this.offset=t,this.type=n,this.language=r,this._tokenBrand=void 0}toString(){return"("+this.offset+", "+this.type+")"}};class Kre{constructor(t,n){this.tokens=t,this.endState=n,this._tokenizationResultBrand=void 0}}class eie{constructor(t,n){this.tokens=t,this.endState=n,this._encodedTokenizationResultBrand=void 0}}var p3;(function(e){e[e.Increase=0]="Increase",e[e.Decrease=1]="Decrease"})(p3||(p3={}));var h3;(function(e){const t=new Map;t.set(0,De.symbolMethod),t.set(1,De.symbolFunction),t.set(2,De.symbolConstructor),t.set(3,De.symbolField),t.set(4,De.symbolVariable),t.set(5,De.symbolClass),t.set(6,De.symbolStruct),t.set(7,De.symbolInterface),t.set(8,De.symbolModule),t.set(9,De.symbolProperty),t.set(10,De.symbolEvent),t.set(11,De.symbolOperator),t.set(12,De.symbolUnit),t.set(13,De.symbolValue),t.set(15,De.symbolEnum),t.set(14,De.symbolConstant),t.set(15,De.symbolEnum),t.set(16,De.symbolEnumMember),t.set(17,De.symbolKeyword),t.set(27,De.symbolSnippet),t.set(18,De.symbolText),t.set(19,De.symbolColor),t.set(20,De.symbolFile),t.set(21,De.symbolReference),t.set(22,De.symbolCustomColor),t.set(23,De.symbolFolder),t.set(24,De.symbolTypeParameter),t.set(25,De.account),t.set(26,De.issues);function n(o){let a=t.get(o);return a||(console.info("No codicon found for CompletionItemKind "+o),a=De.symbolProperty),a}e.toIcon=n;const r=new Map;r.set("method",0),r.set("function",1),r.set("constructor",2),r.set("field",3),r.set("variable",4),r.set("class",5),r.set("struct",6),r.set("interface",7),r.set("module",8),r.set("property",9),r.set("event",10),r.set("operator",11),r.set("unit",12),r.set("value",13),r.set("constant",14),r.set("enum",15),r.set("enum-member",16),r.set("enumMember",16),r.set("keyword",17),r.set("snippet",27),r.set("text",18),r.set("color",19),r.set("file",20),r.set("reference",21),r.set("customcolor",22),r.set("folder",23),r.set("type-parameter",24),r.set("typeParameter",24),r.set("account",25),r.set("issue",26);function i(o,a){let l=r.get(o);return typeof l>"u"&&!a&&(l=9),l}e.fromString=i})(h3||(h3={}));var m3;(function(e){e[e.Automatic=0]="Automatic",e[e.Explicit=1]="Explicit"})(m3||(m3={}));class tie{constructor(t,n,r,i){this.range=t,this.text=n,this.completionKind=r,this.isSnippetText=i}equals(t){return Xi.lift(this.range).equalsRange(t.range)&&this.text===t.text&&this.completionKind===t.completionKind&&this.isSnippetText===t.isSnippetText}}var g3;(function(e){e[e.Automatic=0]="Automatic",e[e.PasteAs=1]="PasteAs"})(g3||(g3={}));var b3;(function(e){e[e.Invoke=1]="Invoke",e[e.TriggerCharacter=2]="TriggerCharacter",e[e.ContentChange=3]="ContentChange"})(b3||(b3={}));var v3;(function(e){e[e.Text=0]="Text",e[e.Read=1]="Read",e[e.Write=2]="Write"})(v3||(v3={}));function nie(e){return e&&Ul.isUri(e.uri)&&Xi.isIRange(e.range)&&(Xi.isIRange(e.originSelectionRange)||Xi.isIRange(e.targetSelectionRange))}const YP={17:ft("Array","array"),16:ft("Boolean","boolean"),4:ft("Class","class"),13:ft("Constant","constant"),8:ft("Constructor","constructor"),9:ft("Enum","enumeration"),21:ft("EnumMember","enumeration member"),23:ft("Event","event"),7:ft("Field","field"),0:ft("File","file"),11:ft("Function","function"),10:ft("Interface","interface"),19:ft("Key","key"),5:ft("Method","method"),1:ft("Module","module"),2:ft("Namespace","namespace"),20:ft("Null","null"),15:ft("Number","number"),18:ft("Object","object"),24:ft("Operator","operator"),3:ft("Package","package"),6:ft("Property","property"),14:ft("String","string"),22:ft("Struct","struct"),25:ft("TypeParameter","type parameter"),12:ft("Variable","variable")};function rie(e,t){return ft("symbolAriaLabel","{0} ({1})",e,YP[t])}var y3;(function(e){const t=new Map;t.set(0,De.symbolFile),t.set(1,De.symbolModule),t.set(2,De.symbolNamespace),t.set(3,De.symbolPackage),t.set(4,De.symbolClass),t.set(5,De.symbolMethod),t.set(6,De.symbolProperty),t.set(7,De.symbolField),t.set(8,De.symbolConstructor),t.set(9,De.symbolEnum),t.set(10,De.symbolInterface),t.set(11,De.symbolFunction),t.set(12,De.symbolVariable),t.set(13,De.symbolConstant),t.set(14,De.symbolString),t.set(15,De.symbolNumber),t.set(16,De.symbolBoolean),t.set(17,De.symbolArray),t.set(18,De.symbolObject),t.set(19,De.symbolKey),t.set(20,De.symbolNull),t.set(21,De.symbolEnumMember),t.set(22,De.symbolStruct),t.set(23,De.symbolEvent),t.set(24,De.symbolOperator),t.set(25,De.symbolTypeParameter);function n(r){let i=t.get(r);return i||(console.info("No codicon found for SymbolKind "+r),i=De.symbolProperty),i}e.toIcon=n})(y3||(y3={}));var Wn;let iie=(Wn=class{static fromValue(t){switch(t){case"comment":return Wn.Comment;case"imports":return Wn.Imports;case"region":return Wn.Region}return new Wn(t)}constructor(t){this.value=t}},Wn.Comment=new Wn("comment"),Wn.Imports=new Wn("imports"),Wn.Region=new Wn("region"),Wn);var x3;(function(e){e[e.AIGenerated=1]="AIGenerated"})(x3||(x3={}));var w3;(function(e){e[e.Invoke=0]="Invoke",e[e.Automatic=1]="Automatic"})(w3||(w3={}));var E3;(function(e){function t(n){return!n||typeof n!="object"?!1:typeof n.id=="string"&&typeof n.title=="string"}e.is=t})(E3||(E3={}));var S3;(function(e){e[e.Type=1]="Type",e[e.Parameter=2]="Parameter"})(S3||(S3={}));class oie{constructor(t){this.createSupport=t,this._tokenizationSupport=null}dispose(){this._tokenizationSupport&&this._tokenizationSupport.then(t=>{t&&t.dispose()})}get tokenizationSupport(){return this._tokenizationSupport||(this._tokenizationSupport=this.createSupport()),this._tokenizationSupport}}const sie=new s_,aie=new s_;var _3;(function(e){e[e.Invoke=0]="Invoke",e[e.Automatic=1]="Automatic"})(_3||(_3={}));var T3;(function(e){e[e.Unknown=0]="Unknown",e[e.Disabled=1]="Disabled",e[e.Enabled=2]="Enabled"})(T3||(T3={}));var k3;(function(e){e[e.Invoke=1]="Invoke",e[e.Auto=2]="Auto"})(k3||(k3={}));var C3;(function(e){e[e.None=0]="None",e[e.KeepWhitespace=1]="KeepWhitespace",e[e.InsertAsSnippet=4]="InsertAsSnippet"})(C3||(C3={}));var N3;(function(e){e[e.Method=0]="Method",e[e.Function=1]="Function",e[e.Constructor=2]="Constructor",e[e.Field=3]="Field",e[e.Variable=4]="Variable",e[e.Class=5]="Class",e[e.Struct=6]="Struct",e[e.Interface=7]="Interface",e[e.Module=8]="Module",e[e.Property=9]="Property",e[e.Event=10]="Event",e[e.Operator=11]="Operator",e[e.Unit=12]="Unit",e[e.Value=13]="Value",e[e.Constant=14]="Constant",e[e.Enum=15]="Enum",e[e.EnumMember=16]="EnumMember",e[e.Keyword=17]="Keyword",e[e.Text=18]="Text",e[e.Color=19]="Color",e[e.File=20]="File",e[e.Reference=21]="Reference",e[e.Customcolor=22]="Customcolor",e[e.Folder=23]="Folder",e[e.TypeParameter=24]="TypeParameter",e[e.User=25]="User",e[e.Issue=26]="Issue",e[e.Snippet=27]="Snippet"})(N3||(N3={}));var A3;(function(e){e[e.Deprecated=1]="Deprecated"})(A3||(A3={}));var I3;(function(e){e[e.Invoke=0]="Invoke",e[e.TriggerCharacter=1]="TriggerCharacter",e[e.TriggerForIncompleteCompletions=2]="TriggerForIncompleteCompletions"})(I3||(I3={}));var D3;(function(e){e[e.EXACT=0]="EXACT",e[e.ABOVE=1]="ABOVE",e[e.BELOW=2]="BELOW"})(D3||(D3={}));var R3;(function(e){e[e.NotSet=0]="NotSet",e[e.ContentFlush=1]="ContentFlush",e[e.RecoverFromMarkers=2]="RecoverFromMarkers",e[e.Explicit=3]="Explicit",e[e.Paste=4]="Paste",e[e.Undo=5]="Undo",e[e.Redo=6]="Redo"})(R3||(R3={}));var L3;(function(e){e[e.LF=1]="LF",e[e.CRLF=2]="CRLF"})(L3||(L3={}));var P3;(function(e){e[e.Text=0]="Text",e[e.Read=1]="Read",e[e.Write=2]="Write"})(P3||(P3={}));var F3;(function(e){e[e.None=0]="None",e[e.Keep=1]="Keep",e[e.Brackets=2]="Brackets",e[e.Advanced=3]="Advanced",e[e.Full=4]="Full"})(F3||(F3={}));var O3;(function(e){e[e.acceptSuggestionOnCommitCharacter=0]="acceptSuggestionOnCommitCharacter",e[e.acceptSuggestionOnEnter=1]="acceptSuggestionOnEnter",e[e.accessibilitySupport=2]="accessibilitySupport",e[e.accessibilityPageSize=3]="accessibilityPageSize",e[e.ariaLabel=4]="ariaLabel",e[e.ariaRequired=5]="ariaRequired",e[e.autoClosingBrackets=6]="autoClosingBrackets",e[e.autoClosingComments=7]="autoClosingComments",e[e.screenReaderAnnounceInlineSuggestion=8]="screenReaderAnnounceInlineSuggestion",e[e.autoClosingDelete=9]="autoClosingDelete",e[e.autoClosingOvertype=10]="autoClosingOvertype",e[e.autoClosingQuotes=11]="autoClosingQuotes",e[e.autoIndent=12]="autoIndent",e[e.automaticLayout=13]="automaticLayout",e[e.autoSurround=14]="autoSurround",e[e.bracketPairColorization=15]="bracketPairColorization",e[e.guides=16]="guides",e[e.codeLens=17]="codeLens",e[e.codeLensFontFamily=18]="codeLensFontFamily",e[e.codeLensFontSize=19]="codeLensFontSize",e[e.colorDecorators=20]="colorDecorators",e[e.colorDecoratorsLimit=21]="colorDecoratorsLimit",e[e.columnSelection=22]="columnSelection",e[e.comments=23]="comments",e[e.contextmenu=24]="contextmenu",e[e.copyWithSyntaxHighlighting=25]="copyWithSyntaxHighlighting",e[e.cursorBlinking=26]="cursorBlinking",e[e.cursorSmoothCaretAnimation=27]="cursorSmoothCaretAnimation",e[e.cursorStyle=28]="cursorStyle",e[e.cursorSurroundingLines=29]="cursorSurroundingLines",e[e.cursorSurroundingLinesStyle=30]="cursorSurroundingLinesStyle",e[e.cursorWidth=31]="cursorWidth",e[e.disableLayerHinting=32]="disableLayerHinting",e[e.disableMonospaceOptimizations=33]="disableMonospaceOptimizations",e[e.domReadOnly=34]="domReadOnly",e[e.dragAndDrop=35]="dragAndDrop",e[e.dropIntoEditor=36]="dropIntoEditor",e[e.emptySelectionClipboard=37]="emptySelectionClipboard",e[e.experimentalWhitespaceRendering=38]="experimentalWhitespaceRendering",e[e.extraEditorClassName=39]="extraEditorClassName",e[e.fastScrollSensitivity=40]="fastScrollSensitivity",e[e.find=41]="find",e[e.fixedOverflowWidgets=42]="fixedOverflowWidgets",e[e.folding=43]="folding",e[e.foldingStrategy=44]="foldingStrategy",e[e.foldingHighlight=45]="foldingHighlight",e[e.foldingImportsByDefault=46]="foldingImportsByDefault",e[e.foldingMaximumRegions=47]="foldingMaximumRegions",e[e.unfoldOnClickAfterEndOfLine=48]="unfoldOnClickAfterEndOfLine",e[e.fontFamily=49]="fontFamily",e[e.fontInfo=50]="fontInfo",e[e.fontLigatures=51]="fontLigatures",e[e.fontSize=52]="fontSize",e[e.fontWeight=53]="fontWeight",e[e.fontVariations=54]="fontVariations",e[e.formatOnPaste=55]="formatOnPaste",e[e.formatOnType=56]="formatOnType",e[e.glyphMargin=57]="glyphMargin",e[e.gotoLocation=58]="gotoLocation",e[e.hideCursorInOverviewRuler=59]="hideCursorInOverviewRuler",e[e.hover=60]="hover",e[e.inDiffEditor=61]="inDiffEditor",e[e.inlineSuggest=62]="inlineSuggest",e[e.inlineEdit=63]="inlineEdit",e[e.letterSpacing=64]="letterSpacing",e[e.lightbulb=65]="lightbulb",e[e.lineDecorationsWidth=66]="lineDecorationsWidth",e[e.lineHeight=67]="lineHeight",e[e.lineNumbers=68]="lineNumbers",e[e.lineNumbersMinChars=69]="lineNumbersMinChars",e[e.linkedEditing=70]="linkedEditing",e[e.links=71]="links",e[e.matchBrackets=72]="matchBrackets",e[e.minimap=73]="minimap",e[e.mouseStyle=74]="mouseStyle",e[e.mouseWheelScrollSensitivity=75]="mouseWheelScrollSensitivity",e[e.mouseWheelZoom=76]="mouseWheelZoom",e[e.multiCursorMergeOverlapping=77]="multiCursorMergeOverlapping",e[e.multiCursorModifier=78]="multiCursorModifier",e[e.multiCursorPaste=79]="multiCursorPaste",e[e.multiCursorLimit=80]="multiCursorLimit",e[e.occurrencesHighlight=81]="occurrencesHighlight",e[e.overviewRulerBorder=82]="overviewRulerBorder",e[e.overviewRulerLanes=83]="overviewRulerLanes",e[e.padding=84]="padding",e[e.pasteAs=85]="pasteAs",e[e.parameterHints=86]="parameterHints",e[e.peekWidgetDefaultFocus=87]="peekWidgetDefaultFocus",e[e.placeholder=88]="placeholder",e[e.definitionLinkOpensInPeek=89]="definitionLinkOpensInPeek",e[e.quickSuggestions=90]="quickSuggestions",e[e.quickSuggestionsDelay=91]="quickSuggestionsDelay",e[e.readOnly=92]="readOnly",e[e.readOnlyMessage=93]="readOnlyMessage",e[e.renameOnType=94]="renameOnType",e[e.renderControlCharacters=95]="renderControlCharacters",e[e.renderFinalNewline=96]="renderFinalNewline",e[e.renderLineHighlight=97]="renderLineHighlight",e[e.renderLineHighlightOnlyWhenFocus=98]="renderLineHighlightOnlyWhenFocus",e[e.renderValidationDecorations=99]="renderValidationDecorations",e[e.renderWhitespace=100]="renderWhitespace",e[e.revealHorizontalRightPadding=101]="revealHorizontalRightPadding",e[e.roundedSelection=102]="roundedSelection",e[e.rulers=103]="rulers",e[e.scrollbar=104]="scrollbar",e[e.scrollBeyondLastColumn=105]="scrollBeyondLastColumn",e[e.scrollBeyondLastLine=106]="scrollBeyondLastLine",e[e.scrollPredominantAxis=107]="scrollPredominantAxis",e[e.selectionClipboard=108]="selectionClipboard",e[e.selectionHighlight=109]="selectionHighlight",e[e.selectOnLineNumbers=110]="selectOnLineNumbers",e[e.showFoldingControls=111]="showFoldingControls",e[e.showUnused=112]="showUnused",e[e.snippetSuggestions=113]="snippetSuggestions",e[e.smartSelect=114]="smartSelect",e[e.smoothScrolling=115]="smoothScrolling",e[e.stickyScroll=116]="stickyScroll",e[e.stickyTabStops=117]="stickyTabStops",e[e.stopRenderingLineAfter=118]="stopRenderingLineAfter",e[e.suggest=119]="suggest",e[e.suggestFontSize=120]="suggestFontSize",e[e.suggestLineHeight=121]="suggestLineHeight",e[e.suggestOnTriggerCharacters=122]="suggestOnTriggerCharacters",e[e.suggestSelection=123]="suggestSelection",e[e.tabCompletion=124]="tabCompletion",e[e.tabIndex=125]="tabIndex",e[e.unicodeHighlighting=126]="unicodeHighlighting",e[e.unusualLineTerminators=127]="unusualLineTerminators",e[e.useShadowDOM=128]="useShadowDOM",e[e.useTabStops=129]="useTabStops",e[e.wordBreak=130]="wordBreak",e[e.wordSegmenterLocales=131]="wordSegmenterLocales",e[e.wordSeparators=132]="wordSeparators",e[e.wordWrap=133]="wordWrap",e[e.wordWrapBreakAfterCharacters=134]="wordWrapBreakAfterCharacters",e[e.wordWrapBreakBeforeCharacters=135]="wordWrapBreakBeforeCharacters",e[e.wordWrapColumn=136]="wordWrapColumn",e[e.wordWrapOverride1=137]="wordWrapOverride1",e[e.wordWrapOverride2=138]="wordWrapOverride2",e[e.wrappingIndent=139]="wrappingIndent",e[e.wrappingStrategy=140]="wrappingStrategy",e[e.showDeprecated=141]="showDeprecated",e[e.inlayHints=142]="inlayHints",e[e.editorClassName=143]="editorClassName",e[e.pixelRatio=144]="pixelRatio",e[e.tabFocusMode=145]="tabFocusMode",e[e.layoutInfo=146]="layoutInfo",e[e.wrappingInfo=147]="wrappingInfo",e[e.defaultColorDecorators=148]="defaultColorDecorators",e[e.colorDecoratorsActivatedOn=149]="colorDecoratorsActivatedOn",e[e.inlineCompletionsAccessibilityVerbose=150]="inlineCompletionsAccessibilityVerbose"})(O3||(O3={}));var M3;(function(e){e[e.TextDefined=0]="TextDefined",e[e.LF=1]="LF",e[e.CRLF=2]="CRLF"})(M3||(M3={}));var $3;(function(e){e[e.LF=0]="LF",e[e.CRLF=1]="CRLF"})($3||($3={}));var j3;(function(e){e[e.Left=1]="Left",e[e.Center=2]="Center",e[e.Right=3]="Right"})(j3||(j3={}));var B3;(function(e){e[e.Increase=0]="Increase",e[e.Decrease=1]="Decrease"})(B3||(B3={}));var V3;(function(e){e[e.None=0]="None",e[e.Indent=1]="Indent",e[e.IndentOutdent=2]="IndentOutdent",e[e.Outdent=3]="Outdent"})(V3||(V3={}));var U3;(function(e){e[e.Both=0]="Both",e[e.Right=1]="Right",e[e.Left=2]="Left",e[e.None=3]="None"})(U3||(U3={}));var z3;(function(e){e[e.Type=1]="Type",e[e.Parameter=2]="Parameter"})(z3||(z3={}));var H3;(function(e){e[e.Automatic=0]="Automatic",e[e.Explicit=1]="Explicit"})(H3||(H3={}));var q3;(function(e){e[e.Invoke=0]="Invoke",e[e.Automatic=1]="Automatic"})(q3||(q3={}));var sa;(function(e){e[e.DependsOnKbLayout=-1]="DependsOnKbLayout",e[e.Unknown=0]="Unknown",e[e.Backspace=1]="Backspace",e[e.Tab=2]="Tab",e[e.Enter=3]="Enter",e[e.Shift=4]="Shift",e[e.Ctrl=5]="Ctrl",e[e.Alt=6]="Alt",e[e.PauseBreak=7]="PauseBreak",e[e.CapsLock=8]="CapsLock",e[e.Escape=9]="Escape",e[e.Space=10]="Space",e[e.PageUp=11]="PageUp",e[e.PageDown=12]="PageDown",e[e.End=13]="End",e[e.Home=14]="Home",e[e.LeftArrow=15]="LeftArrow",e[e.UpArrow=16]="UpArrow",e[e.RightArrow=17]="RightArrow",e[e.DownArrow=18]="DownArrow",e[e.Insert=19]="Insert",e[e.Delete=20]="Delete",e[e.Digit0=21]="Digit0",e[e.Digit1=22]="Digit1",e[e.Digit2=23]="Digit2",e[e.Digit3=24]="Digit3",e[e.Digit4=25]="Digit4",e[e.Digit5=26]="Digit5",e[e.Digit6=27]="Digit6",e[e.Digit7=28]="Digit7",e[e.Digit8=29]="Digit8",e[e.Digit9=30]="Digit9",e[e.KeyA=31]="KeyA",e[e.KeyB=32]="KeyB",e[e.KeyC=33]="KeyC",e[e.KeyD=34]="KeyD",e[e.KeyE=35]="KeyE",e[e.KeyF=36]="KeyF",e[e.KeyG=37]="KeyG",e[e.KeyH=38]="KeyH",e[e.KeyI=39]="KeyI",e[e.KeyJ=40]="KeyJ",e[e.KeyK=41]="KeyK",e[e.KeyL=42]="KeyL",e[e.KeyM=43]="KeyM",e[e.KeyN=44]="KeyN",e[e.KeyO=45]="KeyO",e[e.KeyP=46]="KeyP",e[e.KeyQ=47]="KeyQ",e[e.KeyR=48]="KeyR",e[e.KeyS=49]="KeyS",e[e.KeyT=50]="KeyT",e[e.KeyU=51]="KeyU",e[e.KeyV=52]="KeyV",e[e.KeyW=53]="KeyW",e[e.KeyX=54]="KeyX",e[e.KeyY=55]="KeyY",e[e.KeyZ=56]="KeyZ",e[e.Meta=57]="Meta",e[e.ContextMenu=58]="ContextMenu",e[e.F1=59]="F1",e[e.F2=60]="F2",e[e.F3=61]="F3",e[e.F4=62]="F4",e[e.F5=63]="F5",e[e.F6=64]="F6",e[e.F7=65]="F7",e[e.F8=66]="F8",e[e.F9=67]="F9",e[e.F10=68]="F10",e[e.F11=69]="F11",e[e.F12=70]="F12",e[e.F13=71]="F13",e[e.F14=72]="F14",e[e.F15=73]="F15",e[e.F16=74]="F16",e[e.F17=75]="F17",e[e.F18=76]="F18",e[e.F19=77]="F19",e[e.F20=78]="F20",e[e.F21=79]="F21",e[e.F22=80]="F22",e[e.F23=81]="F23",e[e.F24=82]="F24",e[e.NumLock=83]="NumLock",e[e.ScrollLock=84]="ScrollLock",e[e.Semicolon=85]="Semicolon",e[e.Equal=86]="Equal",e[e.Comma=87]="Comma",e[e.Minus=88]="Minus",e[e.Period=89]="Period",e[e.Slash=90]="Slash",e[e.Backquote=91]="Backquote",e[e.BracketLeft=92]="BracketLeft",e[e.Backslash=93]="Backslash",e[e.BracketRight=94]="BracketRight",e[e.Quote=95]="Quote",e[e.OEM_8=96]="OEM_8",e[e.IntlBackslash=97]="IntlBackslash",e[e.Numpad0=98]="Numpad0",e[e.Numpad1=99]="Numpad1",e[e.Numpad2=100]="Numpad2",e[e.Numpad3=101]="Numpad3",e[e.Numpad4=102]="Numpad4",e[e.Numpad5=103]="Numpad5",e[e.Numpad6=104]="Numpad6",e[e.Numpad7=105]="Numpad7",e[e.Numpad8=106]="Numpad8",e[e.Numpad9=107]="Numpad9",e[e.NumpadMultiply=108]="NumpadMultiply",e[e.NumpadAdd=109]="NumpadAdd",e[e.NUMPAD_SEPARATOR=110]="NUMPAD_SEPARATOR",e[e.NumpadSubtract=111]="NumpadSubtract",e[e.NumpadDecimal=112]="NumpadDecimal",e[e.NumpadDivide=113]="NumpadDivide",e[e.KEY_IN_COMPOSITION=114]="KEY_IN_COMPOSITION",e[e.ABNT_C1=115]="ABNT_C1",e[e.ABNT_C2=116]="ABNT_C2",e[e.AudioVolumeMute=117]="AudioVolumeMute",e[e.AudioVolumeUp=118]="AudioVolumeUp",e[e.AudioVolumeDown=119]="AudioVolumeDown",e[e.BrowserSearch=120]="BrowserSearch",e[e.BrowserHome=121]="BrowserHome",e[e.BrowserBack=122]="BrowserBack",e[e.BrowserForward=123]="BrowserForward",e[e.MediaTrackNext=124]="MediaTrackNext",e[e.MediaTrackPrevious=125]="MediaTrackPrevious",e[e.MediaStop=126]="MediaStop",e[e.MediaPlayPause=127]="MediaPlayPause",e[e.LaunchMediaPlayer=128]="LaunchMediaPlayer",e[e.LaunchMail=129]="LaunchMail",e[e.LaunchApp2=130]="LaunchApp2",e[e.Clear=131]="Clear",e[e.MAX_VALUE=132]="MAX_VALUE"})(sa||(sa={}));var bg;(function(e){e[e.Hint=1]="Hint",e[e.Info=2]="Info",e[e.Warning=4]="Warning",e[e.Error=8]="Error"})(bg||(bg={}));var vg;(function(e){e[e.Unnecessary=1]="Unnecessary",e[e.Deprecated=2]="Deprecated"})(vg||(vg={}));var W3;(function(e){e[e.Inline=1]="Inline",e[e.Gutter=2]="Gutter"})(W3||(W3={}));var G3;(function(e){e[e.Normal=1]="Normal",e[e.Underlined=2]="Underlined"})(G3||(G3={}));var Q3;(function(e){e[e.UNKNOWN=0]="UNKNOWN",e[e.TEXTAREA=1]="TEXTAREA",e[e.GUTTER_GLYPH_MARGIN=2]="GUTTER_GLYPH_MARGIN",e[e.GUTTER_LINE_NUMBERS=3]="GUTTER_LINE_NUMBERS",e[e.GUTTER_LINE_DECORATIONS=4]="GUTTER_LINE_DECORATIONS",e[e.GUTTER_VIEW_ZONE=5]="GUTTER_VIEW_ZONE",e[e.CONTENT_TEXT=6]="CONTENT_TEXT",e[e.CONTENT_EMPTY=7]="CONTENT_EMPTY",e[e.CONTENT_VIEW_ZONE=8]="CONTENT_VIEW_ZONE",e[e.CONTENT_WIDGET=9]="CONTENT_WIDGET",e[e.OVERVIEW_RULER=10]="OVERVIEW_RULER",e[e.SCROLLBAR=11]="SCROLLBAR",e[e.OVERLAY_WIDGET=12]="OVERLAY_WIDGET",e[e.OUTSIDE_EDITOR=13]="OUTSIDE_EDITOR"})(Q3||(Q3={}));var Y3;(function(e){e[e.AIGenerated=1]="AIGenerated"})(Y3||(Y3={}));var X3;(function(e){e[e.Invoke=0]="Invoke",e[e.Automatic=1]="Automatic"})(X3||(X3={}));var Z3;(function(e){e[e.TOP_RIGHT_CORNER=0]="TOP_RIGHT_CORNER",e[e.BOTTOM_RIGHT_CORNER=1]="BOTTOM_RIGHT_CORNER",e[e.TOP_CENTER=2]="TOP_CENTER"})(Z3||(Z3={}));var J3;(function(e){e[e.Left=1]="Left",e[e.Center=2]="Center",e[e.Right=4]="Right",e[e.Full=7]="Full"})(J3||(J3={}));var K3;(function(e){e[e.Word=0]="Word",e[e.Line=1]="Line",e[e.Suggest=2]="Suggest"})(K3||(K3={}));var e4;(function(e){e[e.Left=0]="Left",e[e.Right=1]="Right",e[e.None=2]="None",e[e.LeftOfInjectedText=3]="LeftOfInjectedText",e[e.RightOfInjectedText=4]="RightOfInjectedText"})(e4||(e4={}));var t4;(function(e){e[e.Off=0]="Off",e[e.On=1]="On",e[e.Relative=2]="Relative",e[e.Interval=3]="Interval",e[e.Custom=4]="Custom"})(t4||(t4={}));var n4;(function(e){e[e.None=0]="None",e[e.Text=1]="Text",e[e.Blocks=2]="Blocks"})(n4||(n4={}));var r4;(function(e){e[e.Smooth=0]="Smooth",e[e.Immediate=1]="Immediate"})(r4||(r4={}));var i4;(function(e){e[e.Auto=1]="Auto",e[e.Hidden=2]="Hidden",e[e.Visible=3]="Visible"})(i4||(i4={}));var yg;(function(e){e[e.LTR=0]="LTR",e[e.RTL=1]="RTL"})(yg||(yg={}));var o4;(function(e){e.Off="off",e.OnCode="onCode",e.On="on"})(o4||(o4={}));var s4;(function(e){e[e.Invoke=1]="Invoke",e[e.TriggerCharacter=2]="TriggerCharacter",e[e.ContentChange=3]="ContentChange"})(s4||(s4={}));var a4;(function(e){e[e.File=0]="File",e[e.Module=1]="Module",e[e.Namespace=2]="Namespace",e[e.Package=3]="Package",e[e.Class=4]="Class",e[e.Method=5]="Method",e[e.Property=6]="Property",e[e.Field=7]="Field",e[e.Constructor=8]="Constructor",e[e.Enum=9]="Enum",e[e.Interface=10]="Interface",e[e.Function=11]="Function",e[e.Variable=12]="Variable",e[e.Constant=13]="Constant",e[e.String=14]="String",e[e.Number=15]="Number",e[e.Boolean=16]="Boolean",e[e.Array=17]="Array",e[e.Object=18]="Object",e[e.Key=19]="Key",e[e.Null=20]="Null",e[e.EnumMember=21]="EnumMember",e[e.Struct=22]="Struct",e[e.Event=23]="Event",e[e.Operator=24]="Operator",e[e.TypeParameter=25]="TypeParameter"})(a4||(a4={}));var l4;(function(e){e[e.Deprecated=1]="Deprecated"})(l4||(l4={}));var u4;(function(e){e[e.Hidden=0]="Hidden",e[e.Blink=1]="Blink",e[e.Smooth=2]="Smooth",e[e.Phase=3]="Phase",e[e.Expand=4]="Expand",e[e.Solid=5]="Solid"})(u4||(u4={}));var c4;(function(e){e[e.Line=1]="Line",e[e.Block=2]="Block",e[e.Underline=3]="Underline",e[e.LineThin=4]="LineThin",e[e.BlockOutline=5]="BlockOutline",e[e.UnderlineThin=6]="UnderlineThin"})(c4||(c4={}));var f4;(function(e){e[e.AlwaysGrowsWhenTypingAtEdges=0]="AlwaysGrowsWhenTypingAtEdges",e[e.NeverGrowsWhenTypingAtEdges=1]="NeverGrowsWhenTypingAtEdges",e[e.GrowsOnlyWhenTypingBefore=2]="GrowsOnlyWhenTypingBefore",e[e.GrowsOnlyWhenTypingAfter=3]="GrowsOnlyWhenTypingAfter"})(f4||(f4={}));var d4;(function(e){e[e.None=0]="None",e[e.Same=1]="Same",e[e.Indent=2]="Indent",e[e.DeepIndent=3]="DeepIndent"})(d4||(d4={}));const _l=class _l{static chord(t,n){return hP(t,n)}};_l.CtrlCmd=2048,_l.Shift=1024,_l.Alt=512,_l.WinCtrl=256;let Hi=_l;function lie(){return{editor:void 0,languages:void 0,CancellationTokenSource:QS,Emitter:ur,KeyCode:sa,KeyMod:Hi,Position:wc,Range:Xi,Selection:wr,SelectionDirection:yg,MarkerSeverity:bg,MarkerTag:vg,Uri:Ul,Token:QP}}const lb=typeof navigator<"u"&&navigator.userAgent.includes("Mac");function ha(e,t="⌘"){return lb?e.replace("Ctrl",t):e}const Ht=Object.freeze({prettify:{key:"Shift-Ctrl-P",keybindings:[Hi.Shift|Hi.WinCtrl|sa.KeyP]},mergeFragments:{key:"Shift-Ctrl-M",keybindings:[Hi.Shift|Hi.WinCtrl|sa.KeyM]},runQuery:{key:"Ctrl-Enter",keybindings:[Hi.CtrlCmd|sa.Enter]},autoComplete:{key:"Space"},copyQuery:{key:"Shift-Ctrl-C",keybindings:[Hi.Shift|Hi.WinCtrl|sa.KeyC]},refetchSchema:{key:"Shift-Ctrl-R"},searchInEditor:{key:"Ctrl-F"},searchInDocs:{key:"Ctrl-Alt-K"}}),Pt={headers:"headers",visiblePlugin:"visiblePlugin",query:"query",variables:"variables",tabs:"tabState",persistHeaders:"shouldPersistHeaders",theme:"theme"},XP=`# Welcome to GraphiQL +# +# GraphiQL is an in-browser tool for writing, validating, and testing +# GraphQL queries. +# +# Type queries into this side of the screen, and you will see intelligent +# typeaheads aware of the current GraphQL type schema and live syntax and +# validation errors highlighted within the text. +# +# GraphQL queries typically start with a "{" character. Lines that start +# with a # are ignored. +# +# An example GraphQL query might look like: +# +# { +# field(arg: "value") { +# subField +# } +# } +# +# Keyboard shortcuts: +# +# Prettify query: ${Ht.prettify.key} (or press the prettify button) +# +# Merge fragments: ${Ht.mergeFragments.key} (or press the merge button) +# +# Run Query: ${ha(Ht.runQuery.key,"Cmd")} (or press the play button) +# +# Auto Complete: ${Ht.autoComplete.key} (or just start typing) +# + +`,vi={prettify:{id:"graphql-prettify",label:"Prettify Editors",contextMenuGroupId:"graphql",keybindings:Ht.prettify.keybindings},mergeFragments:{id:"graphql-merge",label:"Merge Fragments into Query",contextMenuGroupId:"graphql",keybindings:Ht.mergeFragments.keybindings},runQuery:{id:"graphql-run",label:"Run Operation",contextMenuGroupId:"graphql",keybindings:Ht.runQuery.keybindings},copyQuery:{id:"graphql-copy",label:"Copy Query",contextMenuGroupId:"graphql",keybindings:Ht.copyQuery.keybindings}},Al={operation:"operation.graphql",schema:"schema.graphql",variables:"variables.json",requestHeaders:"request-headers.json",response:"response.json"},a_={allowComments:!0,trailingCommas:"ignore"},xg={validateVariablesJSON:{},jsonDiagnosticSettings:{validate:!0,schemaValidation:"error",...a_}},ZP=async e=>{const[t,{printers:n},{parsers:r}]=await Promise.all([Yi(()=>import("./standalone-BazYaFez.js"),[]),Yi(()=>import("./graphql-DdEmrhCw.js"),[]),Yi(()=>import("./graphql-DdCuI2lM.js").then(i=>i.g),[])]);return t.format(e,{parser:"graphql",plugins:[{printers:n},{parsers:r}]})},wg={dark:"graphiql-DARK",light:"graphiql-LIGHT"},ct={transparent:"#ffffff00",bg:{dark:"#212a3b",light:"#ffffffff"},primary:{dark:"#ff5794",light:"#d60590"},primaryBg:{dark:"#ff579419",light:"#d6059019"},secondary:{dark:"#b7c2d711",light:"#3b4b6811"}},p4=e=>({"editor.background":ct.transparent,"scrollbar.shadow":ct.transparent,"textLink.foreground":ct.primary[e],"textLink.activeForeground":ct.primary[e],"editorLink.activeForeground":ct.primary[e],"editorHoverWidget.background":ct.bg[e],"list.hoverBackground":ct.primaryBg[e],"list.highlightForeground":ct.primary[e],"list.focusHighlightForeground":ct.primary[e],"menu.background":ct.bg[e],"editorSuggestWidget.background":ct.bg[e],"editorSuggestWidget.selectedBackground":ct.primaryBg[e],"editorSuggestWidget.selectedForeground":ct.primary[e],"quickInput.background":ct.bg[e],"quickInputList.focusForeground":e==="dark"?"#ffffff":"#444444","highlighted.label":ct.primary[e],"quickInput.widget":ct.primary[e],highlight:ct.primary[e],"editorWidget.background":ct.bg[e],"input.background":ct.secondary[e],focusBorder:ct.primary[e],"toolbar.hoverBackground":ct.primaryBg[e],"inputOption.hoverBackground":ct.primaryBg[e],"quickInputList.focusBackground":ct.primaryBg[e],"editorWidget.resizeBorder":ct.primary[e],"pickerGroup.foreground":ct.primary[e],"menu.selectionBackground":ct.primaryBg[e],"menu.selectionForeground":ct.primary[e]}),h4={dark:{base:"vs-dark",inherit:!0,colors:p4("dark"),rules:[{token:"argument.identifier.gql",foreground:"#908aff"}]},light:{base:"vs",inherit:!0,colors:p4("light"),rules:[{token:"argument.identifier.gql",foreground:"#6c69ce"}]}},m4=e=>{let t;const n=new Set,r=(f,p)=>{const h=typeof f=="function"?f(t):f;if(!Object.is(h,t)){const g=t;t=p??(typeof h!="object"||h===null)?h:Object.assign({},t,h),n.forEach(b=>b(t,g))}},i=()=>t,l={setState:r,getState:i,getInitialState:()=>c,subscribe:f=>(n.add(f),()=>n.delete(f))},c=t=e(r,i,l);return l},gp=(e=>e?m4(e):m4),JP=e=>e;function ub(e,t=JP){const n=z.useSyncExternalStore(e.subscribe,z.useCallback(()=>t(e.getState()),[e,t]),z.useCallback(()=>t(e.getInitialState()),[e,t]));return z.useDebugValue(n),n}const g4=e=>{const t=gp(e),n=r=>ub(t,r);return Object.assign(n,t),n},KP=(e=>e?g4(e):g4),b4=e=>Symbol.iterator in e,v4=e=>"entries"in e,y4=(e,t)=>{const n=e instanceof Map?e:new Map(e.entries()),r=t instanceof Map?t:new Map(t.entries());if(n.size!==r.size)return!1;for(const[i,o]of n)if(!r.has(i)||!Object.is(o,r.get(i)))return!1;return!0},eF=(e,t)=>{const n=e[Symbol.iterator](),r=t[Symbol.iterator]();let i=n.next(),o=r.next();for(;!i.done&&!o.done;){if(!Object.is(i.value,o.value))return!1;i=n.next(),o=r.next()}return!!i.done&&!!o.done};function tF(e,t){return Object.is(e,t)?!0:typeof e!="object"||e===null||typeof t!="object"||t===null||Object.getPrototypeOf(e)!==Object.getPrototypeOf(t)?!1:b4(e)&&b4(t)?v4(e)&&v4(t)?y4(e,t):eF(e,t):y4({entries:()=>Object.entries(e)},{entries:()=>Object.entries(t)})}function l_(e){const t=z.useRef(void 0);return n=>{const r=e(n);return tF(t.current,r)?t.current:t.current=r}}var nF=Object.defineProperty,rF=Object.defineProperties,iF=Object.getOwnPropertyDescriptors,x4=Object.getOwnPropertySymbols,oF=Object.prototype.hasOwnProperty,sF=Object.prototype.propertyIsEnumerable,Eg=(e,t)=>(t=Symbol[e])?t:Symbol.for("Symbol."+e),w4=(e,t,n)=>t in e?nF(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,kr=(e,t)=>{for(var n in t||(t={}))oF.call(t,n)&&w4(e,n,t[n]);if(x4)for(var n of x4(t))sF.call(t,n)&&w4(e,n,t[n]);return e},Ec=(e,t)=>rF(e,iF(t)),l0=function(e,t){this[0]=e,this[1]=t},aF=(e,t,n)=>{var r=(a,l,c,f)=>{try{var p=n[a](l),h=(l=p.value)instanceof l0,g=p.done;Promise.resolve(h?l[0]:l).then(b=>h?r(a==="return"?a:"next",l[1]?{done:b.done,value:b.value}:b,c,f):c({value:b,done:g})).catch(b=>r("throw",b,c,f))}catch(b){f(b)}},i=a=>o[a]=l=>new Promise((c,f)=>r(a,l,c,f)),o={};return n=n.apply(e,t),o[Eg("asyncIterator")]=()=>o,i("next"),i("throw"),i("return"),o},lF=(e,t,n)=>(t=e[Eg("asyncIterator")])?t.call(e):(e=e[Eg("iterator")](),t={},n=(r,i)=>(i=e[r])&&(t[r]=o=>new Promise((a,l,c)=>(o=i.call(e,o),c=o.done,Promise.resolve(o.value).then(f=>a({value:f,done:c}),l)))),n("next"),n("return"),t);function uF(e){return typeof e=="object"&&e!==null&&typeof e.then=="function"}function cF(e){return new Promise((t,n)=>{const r=e.subscribe({next(i){t(i),r.unsubscribe()},error:n,complete(){n(new Error("no value resolved"))}})})}function u_(e){return typeof e=="object"&&e!==null&&"subscribe"in e&&typeof e.subscribe=="function"}function c_(e){return typeof e=="object"&&e!==null&&(e[Symbol.toStringTag]==="AsyncGenerator"||Symbol.asyncIterator in e)}async function fF(e){var t;const n=(t=("return"in e?e:e[Symbol.asyncIterator]()).return)==null?void 0:t.bind(e),r=await("next"in e?e:e[Symbol.asyncIterator]()).next.bind(e)();return n==null||n(),r.value}async function dF(e){const t=await e;return c_(t)?fF(t):u_(t)?cF(t):t}function Ke(e,t){if(!!!e)throw new Error(t)}function Do(e){return typeof e=="object"&&e!==null}function zr(e,t){if(!!!e)throw new Error(t??"Unexpected invariant triggered.")}const pF=/\r\n|[\n\r]/g;function Sg(e,t){let n=0,r=1;for(const i of e.body.matchAll(pF)){if(typeof i.index=="number"||zr(!1),i.index>=t)break;n=i.index+i[0].length,r+=1}return{line:r,column:t+1-n}}function hF(e){return f_(e.source,Sg(e.source,e.start))}function f_(e,t){const n=e.locationOffset.column-1,r="".padStart(n)+e.body,i=t.line-1,o=e.locationOffset.line-1,a=t.line+o,l=t.line===1?n:0,c=t.column+l,f=`${e.name}:${a}:${c} +`,p=r.split(/\r\n|[\n\r]/g),h=p[i];if(h.length>120){const g=Math.floor(c/80),b=c%80,y=[];for(let w=0;w["|",w]),["|","^".padStart(b)],["|",y[g+1]]])}return f+E4([[`${a-1} |`,p[i-1]],[`${a} |`,h],["|","^".padStart(c)],[`${a+1} |`,p[i+1]]])}function E4(e){const t=e.filter(([r,i])=>i!==void 0),n=Math.max(...t.map(([r])=>r.length));return t.map(([r,i])=>r.padStart(n)+(i?" "+i:"")).join(` +`)}function mF(e){const t=e[0];return t==null||"kind"in t||"length"in t?{nodes:t,source:e[1],positions:e[2],path:e[3],originalError:e[4],extensions:e[5]}:t}class ge extends Error{constructor(t,...n){var r,i,o;const{nodes:a,source:l,positions:c,path:f,originalError:p,extensions:h}=mF(n);super(t),this.name="GraphQLError",this.path=f??void 0,this.originalError=p??void 0,this.nodes=S4(Array.isArray(a)?a:a?[a]:void 0);const g=S4((r=this.nodes)===null||r===void 0?void 0:r.map(y=>y.loc).filter(y=>y!=null));this.source=l??(g==null||(i=g[0])===null||i===void 0?void 0:i.source),this.positions=c??(g==null?void 0:g.map(y=>y.start)),this.locations=c&&l?c.map(y=>Sg(l,y)):g==null?void 0:g.map(y=>Sg(y.source,y.start));const b=Do(p==null?void 0:p.extensions)?p==null?void 0:p.extensions:void 0;this.extensions=(o=h??b)!==null&&o!==void 0?o: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}}),p!=null&&p.stack?Object.defineProperty(this,"stack",{value:p.stack,writable:!0,configurable:!0}):Error.captureStackTrace?Error.captureStackTrace(this,ge):Object.defineProperty(this,"stack",{value:Error().stack,writable:!0,configurable:!0})}get[Symbol.toStringTag](){return"GraphQLError"}toString(){let t=this.message;if(this.nodes)for(const n of this.nodes)n.loc&&(t+=` + +`+hF(n.loc));else if(this.source&&this.locations)for(const n of this.locations)t+=` + +`+f_(this.source,n);return t}toJSON(){const t={message:this.message};return this.locations!=null&&(t.locations=this.locations),this.path!=null&&(t.path=this.path),this.extensions!=null&&Object.keys(this.extensions).length>0&&(t.extensions=this.extensions),t}}function S4(e){return e===void 0||e.length===0?void 0:e}function mn(e,t,n){return new ge(`Syntax Error: ${n}`,{source:e,positions:[t]})}let gF=class{constructor(t,n,r){this.start=t.start,this.end=n.end,this.startToken=t,this.endToken=n,this.source=r}get[Symbol.toStringTag](){return"Location"}toJSON(){return{start:this.start,end:this.end}}},d_=class{constructor(t,n,r,i,o,a){this.kind=t,this.start=n,this.end=r,this.line=i,this.column=o,this.value=a,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}}};const p_={Name:[],Document:["definitions"],OperationDefinition:["name","variableDefinitions","directives","selectionSet"],VariableDefinition:["variable","type","defaultValue","directives"],Variable:["name"],SelectionSet:["selections"],Field:["alias","name","arguments","directives","selectionSet"],Argument:["name","value"],FragmentSpread:["name","directives"],InlineFragment:["typeCondition","directives","selectionSet"],FragmentDefinition:["name","variableDefinitions","typeCondition","directives","selectionSet"],IntValue:[],FloatValue:[],StringValue:[],BooleanValue:[],NullValue:[],EnumValue:[],ListValue:["values"],ObjectValue:["fields"],ObjectField:["name","value"],Directive:["name","arguments"],NamedType:["name"],ListType:["type"],NonNullType:["type"],SchemaDefinition:["description","directives","operationTypes"],OperationTypeDefinition:["type"],ScalarTypeDefinition:["description","name","directives"],ObjectTypeDefinition:["description","name","interfaces","directives","fields"],FieldDefinition:["description","name","arguments","type","directives"],InputValueDefinition:["description","name","type","defaultValue","directives"],InterfaceTypeDefinition:["description","name","interfaces","directives","fields"],UnionTypeDefinition:["description","name","directives","types"],EnumTypeDefinition:["description","name","directives","values"],EnumValueDefinition:["description","name","directives"],InputObjectTypeDefinition:["description","name","directives","fields"],DirectiveDefinition:["description","name","arguments","locations"],SchemaExtension:["directives","operationTypes"],ScalarTypeExtension:["name","directives"],ObjectTypeExtension:["name","interfaces","directives","fields"],InterfaceTypeExtension:["name","interfaces","directives","fields"],UnionTypeExtension:["name","directives","types"],EnumTypeExtension:["name","directives","values"],InputObjectTypeExtension:["name","directives","fields"]},bF=new Set(Object.keys(p_));function _g(e){const t=e==null?void 0:e.kind;return typeof t=="string"&&bF.has(t)}var Qn;(function(e){e.QUERY="query",e.MUTATION="mutation",e.SUBSCRIPTION="subscription"})(Qn||(Qn={}));var Le;(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"})(Le||(Le={}));var M;(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"})(M||(M={}));function Tg(e){return e===9||e===32}function Sc(e){return e>=48&&e<=57}function h_(e){return e>=97&&e<=122||e>=65&&e<=90}function cb(e){return h_(e)||e===95}function m_(e){return h_(e)||Sc(e)||e===95}function vF(e){var t;let n=Number.MAX_SAFE_INTEGER,r=null,i=-1;for(let a=0;al===0?a:a.slice(n)).slice((t=r)!==null&&t!==void 0?t:0,i+1)}function yF(e){let t=0;for(;t1&&r.slice(1).every(b=>b.length===0||Tg(b.charCodeAt(0))),a=n.endsWith('\\"""'),l=e.endsWith('"')&&!a,c=e.endsWith("\\"),f=l||c,p=!i||e.length>70||f||o||a;let h="";const g=i&&Tg(e.charCodeAt(0));return(p&&!g||o)&&(h+=` +`),h+=n,(p||f)&&(h+=` +`),'"""'+h+'"""'}var fe;(function(e){e.SOF="",e.EOF="",e.BANG="!",e.DOLLAR="$",e.AMP="&",e.PAREN_L="(",e.PAREN_R=")",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"})(fe||(fe={}));class EF{constructor(t){const n=new d_(fe.SOF,0,0,0,0);this.source=t,this.lastToken=n,this.token=n,this.line=1,this.lineStart=0}get[Symbol.toStringTag](){return"Lexer"}advance(){return this.lastToken=this.token,this.token=this.lookahead()}lookahead(){let t=this.token;if(t.kind!==fe.EOF)do if(t.next)t=t.next;else{const n=_F(this,t.end);t.next=n,n.prev=t,t=n}while(t.kind===fe.COMMENT);return t}}function SF(e){return e===fe.BANG||e===fe.DOLLAR||e===fe.AMP||e===fe.PAREN_L||e===fe.PAREN_R||e===fe.SPREAD||e===fe.COLON||e===fe.EQUALS||e===fe.AT||e===fe.BRACKET_L||e===fe.BRACKET_R||e===fe.BRACE_L||e===fe.PIPE||e===fe.BRACE_R}function eu(e){return e>=0&&e<=55295||e>=57344&&e<=1114111}function bp(e,t){return g_(e.charCodeAt(t))&&b_(e.charCodeAt(t+1))}function g_(e){return e>=55296&&e<=56319}function b_(e){return e>=56320&&e<=57343}function xa(e,t){const n=e.source.body.codePointAt(t);if(n===void 0)return fe.EOF;if(n>=32&&n<=126){const r=String.fromCodePoint(n);return r==='"'?`'"'`:`"${r}"`}return"U+"+n.toString(16).toUpperCase().padStart(4,"0")}function Xt(e,t,n,r,i){const o=e.line,a=1+n-e.lineStart;return new d_(t,n,r,o,a,i)}function _F(e,t){const n=e.source.body,r=n.length;let i=t;for(;i=48&&e<=57?e-48:e>=65&&e<=70?e-55:e>=97&&e<=102?e-87:-1}function IF(e,t){const 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:` +`,size:2};case 114:return{value:"\r",size:2};case 116:return{value:" ",size:2}}throw mn(e.source,t,`Invalid character escape sequence: "${n.slice(t,t+2)}".`)}function DF(e,t){const n=e.source.body,r=n.length;let i=e.lineStart,o=t+3,a=o,l="";const c=[];for(;ov_?"["+$F(e)+"]":"{ "+n.map(([i,o])=>i+": "+vp(o,t)).join(", ")+" }"}function MF(e,t){if(e.length===0)return"[]";if(t.length>v_)return"[Array]";const n=Math.min(LF,e.length),r=e.length-n,i=[];for(let o=0;o1&&i.push(`... ${r} more items`),"["+i.join(", ")+"]"}function $F(e){const t=Object.prototype.toString.call(e).replace(/^\[object /,"").replace(/]$/,"");if(t==="Object"&&typeof e.constructor=="function"){const n=e.constructor.name;if(typeof n=="string"&&n!=="")return n}return t}const jF=globalThis.process&&!0,Si=jF?function(t,n){return t instanceof n}:function(t,n){if(t instanceof n)return!0;if(typeof t=="object"&&t!==null){var r;const i=n.prototype[Symbol.toStringTag],o=Symbol.toStringTag in t?t[Symbol.toStringTag]:(r=t.constructor)===null||r===void 0?void 0:r.name;if(i===o){const a=xe(t);throw new Error(`Cannot use ${i} "${a}" from another module or realm. + +Ensure that there is only one instance of "graphql" in the node_modules +directory. If different versions of "graphql" are the dependencies of other +relied on modules, use "resolutions" to ensure only one version is installed. + +https://yarnpkg.com/en/docs/selective-version-resolutions + +Duplicate "graphql" modules cannot be used at the same time since different +versions may have different capabilities and behavior. The data from one +version used in the function from another could produce confusing and +spurious results.`)}}return!1};class y_{constructor(t,n="GraphQL request",r={line:1,column:1}){typeof t=="string"||Ke(!1,`Body must be a string. Received: ${xe(t)}.`),this.body=t,this.name=n,this.locationOffset=r,this.locationOffset.line>0||Ke(!1,"line in locationOffset is 1-indexed and must be positive."),this.locationOffset.column>0||Ke(!1,"column in locationOffset is 1-indexed and must be positive.")}get[Symbol.toStringTag](){return"Source"}}function BF(e){return Si(e,y_)}function Yc(e,t){const n=new x_(e,t),r=n.parseDocument();return Object.defineProperty(r,"tokenCount",{enumerable:!1,value:n.tokenCount}),r}function VF(e,t){const n=new x_(e,t);n.expectToken(fe.SOF);const r=n.parseValueLiteral(!1);return n.expectToken(fe.EOF),r}class x_{constructor(t,n={}){const r=BF(t)?t:new y_(t);this._lexer=new EF(r),this._options=n,this._tokenCounter=0}get tokenCount(){return this._tokenCounter}parseName(){const t=this.expectToken(fe.NAME);return this.node(t,{kind:M.NAME,value:t.value})}parseDocument(){return this.node(this._lexer.token,{kind:M.DOCUMENT,definitions:this.many(fe.SOF,this.parseDefinition,fe.EOF)})}parseDefinition(){if(this.peek(fe.BRACE_L))return this.parseOperationDefinition();const t=this.peekDescription(),n=t?this._lexer.lookahead():this._lexer.token;if(n.kind===fe.NAME){switch(n.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()}if(t)throw mn(this._lexer.source,this._lexer.token.start,"Unexpected description, descriptions are supported only on type definitions.");switch(n.value){case"query":case"mutation":case"subscription":return this.parseOperationDefinition();case"fragment":return this.parseFragmentDefinition();case"extend":return this.parseTypeSystemExtension()}}throw this.unexpected(n)}parseOperationDefinition(){const t=this._lexer.token;if(this.peek(fe.BRACE_L))return this.node(t,{kind:M.OPERATION_DEFINITION,operation:Qn.QUERY,name:void 0,variableDefinitions:[],directives:[],selectionSet:this.parseSelectionSet()});const n=this.parseOperationType();let r;return this.peek(fe.NAME)&&(r=this.parseName()),this.node(t,{kind:M.OPERATION_DEFINITION,operation:n,name:r,variableDefinitions:this.parseVariableDefinitions(),directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet()})}parseOperationType(){const t=this.expectToken(fe.NAME);switch(t.value){case"query":return Qn.QUERY;case"mutation":return Qn.MUTATION;case"subscription":return Qn.SUBSCRIPTION}throw this.unexpected(t)}parseVariableDefinitions(){return this.optionalMany(fe.PAREN_L,this.parseVariableDefinition,fe.PAREN_R)}parseVariableDefinition(){return this.node(this._lexer.token,{kind:M.VARIABLE_DEFINITION,variable:this.parseVariable(),type:(this.expectToken(fe.COLON),this.parseTypeReference()),defaultValue:this.expectOptionalToken(fe.EQUALS)?this.parseConstValueLiteral():void 0,directives:this.parseConstDirectives()})}parseVariable(){const t=this._lexer.token;return this.expectToken(fe.DOLLAR),this.node(t,{kind:M.VARIABLE,name:this.parseName()})}parseSelectionSet(){return this.node(this._lexer.token,{kind:M.SELECTION_SET,selections:this.many(fe.BRACE_L,this.parseSelection,fe.BRACE_R)})}parseSelection(){return this.peek(fe.SPREAD)?this.parseFragment():this.parseField()}parseField(){const t=this._lexer.token,n=this.parseName();let r,i;return this.expectOptionalToken(fe.COLON)?(r=n,i=this.parseName()):i=n,this.node(t,{kind:M.FIELD,alias:r,name:i,arguments:this.parseArguments(!1),directives:this.parseDirectives(!1),selectionSet:this.peek(fe.BRACE_L)?this.parseSelectionSet():void 0})}parseArguments(t){const n=t?this.parseConstArgument:this.parseArgument;return this.optionalMany(fe.PAREN_L,n,fe.PAREN_R)}parseArgument(t=!1){const n=this._lexer.token,r=this.parseName();return this.expectToken(fe.COLON),this.node(n,{kind:M.ARGUMENT,name:r,value:this.parseValueLiteral(t)})}parseConstArgument(){return this.parseArgument(!0)}parseFragment(){const t=this._lexer.token;this.expectToken(fe.SPREAD);const n=this.expectOptionalKeyword("on");return!n&&this.peek(fe.NAME)?this.node(t,{kind:M.FRAGMENT_SPREAD,name:this.parseFragmentName(),directives:this.parseDirectives(!1)}):this.node(t,{kind:M.INLINE_FRAGMENT,typeCondition:n?this.parseNamedType():void 0,directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet()})}parseFragmentDefinition(){const t=this._lexer.token;return this.expectKeyword("fragment"),this._options.allowLegacyFragmentVariables===!0?this.node(t,{kind:M.FRAGMENT_DEFINITION,name:this.parseFragmentName(),variableDefinitions:this.parseVariableDefinitions(),typeCondition:(this.expectKeyword("on"),this.parseNamedType()),directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet()}):this.node(t,{kind:M.FRAGMENT_DEFINITION,name:this.parseFragmentName(),typeCondition:(this.expectKeyword("on"),this.parseNamedType()),directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet()})}parseFragmentName(){if(this._lexer.token.value==="on")throw this.unexpected();return this.parseName()}parseValueLiteral(t){const n=this._lexer.token;switch(n.kind){case fe.BRACKET_L:return this.parseList(t);case fe.BRACE_L:return this.parseObject(t);case fe.INT:return this.advanceLexer(),this.node(n,{kind:M.INT,value:n.value});case fe.FLOAT:return this.advanceLexer(),this.node(n,{kind:M.FLOAT,value:n.value});case fe.STRING:case fe.BLOCK_STRING:return this.parseStringLiteral();case fe.NAME:switch(this.advanceLexer(),n.value){case"true":return this.node(n,{kind:M.BOOLEAN,value:!0});case"false":return this.node(n,{kind:M.BOOLEAN,value:!1});case"null":return this.node(n,{kind:M.NULL});default:return this.node(n,{kind:M.ENUM,value:n.value})}case fe.DOLLAR:if(t)if(this.expectToken(fe.DOLLAR),this._lexer.token.kind===fe.NAME){const r=this._lexer.token.value;throw mn(this._lexer.source,n.start,`Unexpected variable "$${r}" in constant value.`)}else throw this.unexpected(n);return this.parseVariable();default:throw this.unexpected()}}parseConstValueLiteral(){return this.parseValueLiteral(!0)}parseStringLiteral(){const t=this._lexer.token;return this.advanceLexer(),this.node(t,{kind:M.STRING,value:t.value,block:t.kind===fe.BLOCK_STRING})}parseList(t){const n=()=>this.parseValueLiteral(t);return this.node(this._lexer.token,{kind:M.LIST,values:this.any(fe.BRACKET_L,n,fe.BRACKET_R)})}parseObject(t){const n=()=>this.parseObjectField(t);return this.node(this._lexer.token,{kind:M.OBJECT,fields:this.any(fe.BRACE_L,n,fe.BRACE_R)})}parseObjectField(t){const n=this._lexer.token,r=this.parseName();return this.expectToken(fe.COLON),this.node(n,{kind:M.OBJECT_FIELD,name:r,value:this.parseValueLiteral(t)})}parseDirectives(t){const n=[];for(;this.peek(fe.AT);)n.push(this.parseDirective(t));return n}parseConstDirectives(){return this.parseDirectives(!0)}parseDirective(t){const n=this._lexer.token;return this.expectToken(fe.AT),this.node(n,{kind:M.DIRECTIVE,name:this.parseName(),arguments:this.parseArguments(t)})}parseTypeReference(){const t=this._lexer.token;let n;if(this.expectOptionalToken(fe.BRACKET_L)){const r=this.parseTypeReference();this.expectToken(fe.BRACKET_R),n=this.node(t,{kind:M.LIST_TYPE,type:r})}else n=this.parseNamedType();return this.expectOptionalToken(fe.BANG)?this.node(t,{kind:M.NON_NULL_TYPE,type:n}):n}parseNamedType(){return this.node(this._lexer.token,{kind:M.NAMED_TYPE,name:this.parseName()})}peekDescription(){return this.peek(fe.STRING)||this.peek(fe.BLOCK_STRING)}parseDescription(){if(this.peekDescription())return this.parseStringLiteral()}parseSchemaDefinition(){const t=this._lexer.token,n=this.parseDescription();this.expectKeyword("schema");const r=this.parseConstDirectives(),i=this.many(fe.BRACE_L,this.parseOperationTypeDefinition,fe.BRACE_R);return this.node(t,{kind:M.SCHEMA_DEFINITION,description:n,directives:r,operationTypes:i})}parseOperationTypeDefinition(){const t=this._lexer.token,n=this.parseOperationType();this.expectToken(fe.COLON);const r=this.parseNamedType();return this.node(t,{kind:M.OPERATION_TYPE_DEFINITION,operation:n,type:r})}parseScalarTypeDefinition(){const t=this._lexer.token,n=this.parseDescription();this.expectKeyword("scalar");const r=this.parseName(),i=this.parseConstDirectives();return this.node(t,{kind:M.SCALAR_TYPE_DEFINITION,description:n,name:r,directives:i})}parseObjectTypeDefinition(){const t=this._lexer.token,n=this.parseDescription();this.expectKeyword("type");const r=this.parseName(),i=this.parseImplementsInterfaces(),o=this.parseConstDirectives(),a=this.parseFieldsDefinition();return this.node(t,{kind:M.OBJECT_TYPE_DEFINITION,description:n,name:r,interfaces:i,directives:o,fields:a})}parseImplementsInterfaces(){return this.expectOptionalKeyword("implements")?this.delimitedMany(fe.AMP,this.parseNamedType):[]}parseFieldsDefinition(){return this.optionalMany(fe.BRACE_L,this.parseFieldDefinition,fe.BRACE_R)}parseFieldDefinition(){const t=this._lexer.token,n=this.parseDescription(),r=this.parseName(),i=this.parseArgumentDefs();this.expectToken(fe.COLON);const o=this.parseTypeReference(),a=this.parseConstDirectives();return this.node(t,{kind:M.FIELD_DEFINITION,description:n,name:r,arguments:i,type:o,directives:a})}parseArgumentDefs(){return this.optionalMany(fe.PAREN_L,this.parseInputValueDef,fe.PAREN_R)}parseInputValueDef(){const t=this._lexer.token,n=this.parseDescription(),r=this.parseName();this.expectToken(fe.COLON);const i=this.parseTypeReference();let o;this.expectOptionalToken(fe.EQUALS)&&(o=this.parseConstValueLiteral());const a=this.parseConstDirectives();return this.node(t,{kind:M.INPUT_VALUE_DEFINITION,description:n,name:r,type:i,defaultValue:o,directives:a})}parseInterfaceTypeDefinition(){const t=this._lexer.token,n=this.parseDescription();this.expectKeyword("interface");const r=this.parseName(),i=this.parseImplementsInterfaces(),o=this.parseConstDirectives(),a=this.parseFieldsDefinition();return this.node(t,{kind:M.INTERFACE_TYPE_DEFINITION,description:n,name:r,interfaces:i,directives:o,fields:a})}parseUnionTypeDefinition(){const t=this._lexer.token,n=this.parseDescription();this.expectKeyword("union");const r=this.parseName(),i=this.parseConstDirectives(),o=this.parseUnionMemberTypes();return this.node(t,{kind:M.UNION_TYPE_DEFINITION,description:n,name:r,directives:i,types:o})}parseUnionMemberTypes(){return this.expectOptionalToken(fe.EQUALS)?this.delimitedMany(fe.PIPE,this.parseNamedType):[]}parseEnumTypeDefinition(){const t=this._lexer.token,n=this.parseDescription();this.expectKeyword("enum");const r=this.parseName(),i=this.parseConstDirectives(),o=this.parseEnumValuesDefinition();return this.node(t,{kind:M.ENUM_TYPE_DEFINITION,description:n,name:r,directives:i,values:o})}parseEnumValuesDefinition(){return this.optionalMany(fe.BRACE_L,this.parseEnumValueDefinition,fe.BRACE_R)}parseEnumValueDefinition(){const t=this._lexer.token,n=this.parseDescription(),r=this.parseEnumValueName(),i=this.parseConstDirectives();return this.node(t,{kind:M.ENUM_VALUE_DEFINITION,description:n,name:r,directives:i})}parseEnumValueName(){if(this._lexer.token.value==="true"||this._lexer.token.value==="false"||this._lexer.token.value==="null")throw mn(this._lexer.source,this._lexer.token.start,`${Rd(this._lexer.token)} is reserved and cannot be used for an enum value.`);return this.parseName()}parseInputObjectTypeDefinition(){const t=this._lexer.token,n=this.parseDescription();this.expectKeyword("input");const r=this.parseName(),i=this.parseConstDirectives(),o=this.parseInputFieldsDefinition();return this.node(t,{kind:M.INPUT_OBJECT_TYPE_DEFINITION,description:n,name:r,directives:i,fields:o})}parseInputFieldsDefinition(){return this.optionalMany(fe.BRACE_L,this.parseInputValueDef,fe.BRACE_R)}parseTypeSystemExtension(){const t=this._lexer.lookahead();if(t.kind===fe.NAME)switch(t.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(t)}parseSchemaExtension(){const t=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("schema");const n=this.parseConstDirectives(),r=this.optionalMany(fe.BRACE_L,this.parseOperationTypeDefinition,fe.BRACE_R);if(n.length===0&&r.length===0)throw this.unexpected();return this.node(t,{kind:M.SCHEMA_EXTENSION,directives:n,operationTypes:r})}parseScalarTypeExtension(){const t=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("scalar");const n=this.parseName(),r=this.parseConstDirectives();if(r.length===0)throw this.unexpected();return this.node(t,{kind:M.SCALAR_TYPE_EXTENSION,name:n,directives:r})}parseObjectTypeExtension(){const t=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("type");const n=this.parseName(),r=this.parseImplementsInterfaces(),i=this.parseConstDirectives(),o=this.parseFieldsDefinition();if(r.length===0&&i.length===0&&o.length===0)throw this.unexpected();return this.node(t,{kind:M.OBJECT_TYPE_EXTENSION,name:n,interfaces:r,directives:i,fields:o})}parseInterfaceTypeExtension(){const t=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("interface");const n=this.parseName(),r=this.parseImplementsInterfaces(),i=this.parseConstDirectives(),o=this.parseFieldsDefinition();if(r.length===0&&i.length===0&&o.length===0)throw this.unexpected();return this.node(t,{kind:M.INTERFACE_TYPE_EXTENSION,name:n,interfaces:r,directives:i,fields:o})}parseUnionTypeExtension(){const t=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("union");const n=this.parseName(),r=this.parseConstDirectives(),i=this.parseUnionMemberTypes();if(r.length===0&&i.length===0)throw this.unexpected();return this.node(t,{kind:M.UNION_TYPE_EXTENSION,name:n,directives:r,types:i})}parseEnumTypeExtension(){const t=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("enum");const n=this.parseName(),r=this.parseConstDirectives(),i=this.parseEnumValuesDefinition();if(r.length===0&&i.length===0)throw this.unexpected();return this.node(t,{kind:M.ENUM_TYPE_EXTENSION,name:n,directives:r,values:i})}parseInputObjectTypeExtension(){const t=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("input");const n=this.parseName(),r=this.parseConstDirectives(),i=this.parseInputFieldsDefinition();if(r.length===0&&i.length===0)throw this.unexpected();return this.node(t,{kind:M.INPUT_OBJECT_TYPE_EXTENSION,name:n,directives:r,fields:i})}parseDirectiveDefinition(){const t=this._lexer.token,n=this.parseDescription();this.expectKeyword("directive"),this.expectToken(fe.AT);const r=this.parseName(),i=this.parseArgumentDefs(),o=this.expectOptionalKeyword("repeatable");this.expectKeyword("on");const a=this.parseDirectiveLocations();return this.node(t,{kind:M.DIRECTIVE_DEFINITION,description:n,name:r,arguments:i,repeatable:o,locations:a})}parseDirectiveLocations(){return this.delimitedMany(fe.PIPE,this.parseDirectiveLocation)}parseDirectiveLocation(){const t=this._lexer.token,n=this.parseName();if(Object.prototype.hasOwnProperty.call(Le,n.value))return n;throw this.unexpected(t)}node(t,n){return this._options.noLocation!==!0&&(n.loc=new gF(t,this._lexer.lastToken,this._lexer.source)),n}peek(t){return this._lexer.token.kind===t}expectToken(t){const n=this._lexer.token;if(n.kind===t)return this.advanceLexer(),n;throw mn(this._lexer.source,n.start,`Expected ${w_(t)}, found ${Rd(n)}.`)}expectOptionalToken(t){return this._lexer.token.kind===t?(this.advanceLexer(),!0):!1}expectKeyword(t){const n=this._lexer.token;if(n.kind===fe.NAME&&n.value===t)this.advanceLexer();else throw mn(this._lexer.source,n.start,`Expected "${t}", found ${Rd(n)}.`)}expectOptionalKeyword(t){const n=this._lexer.token;return n.kind===fe.NAME&&n.value===t?(this.advanceLexer(),!0):!1}unexpected(t){const n=t??this._lexer.token;return mn(this._lexer.source,n.start,`Unexpected ${Rd(n)}.`)}any(t,n,r){this.expectToken(t);const i=[];for(;!this.expectOptionalToken(r);)i.push(n.call(this));return i}optionalMany(t,n,r){if(this.expectOptionalToken(t)){const i=[];do i.push(n.call(this));while(!this.expectOptionalToken(r));return i}return[]}many(t,n,r){this.expectToken(t);const i=[];do i.push(n.call(this));while(!this.expectOptionalToken(r));return i}delimitedMany(t,n){this.expectOptionalToken(t);const r=[];do r.push(n.call(this));while(this.expectOptionalToken(t));return r}advanceLexer(){const{maxTokens:t}=this._options,n=this._lexer.advance();if(n.kind!==fe.EOF&&(++this._tokenCounter,t!==void 0&&this._tokenCounter>t))throw mn(this._lexer.source,n.start,`Document contains more that ${t} tokens. Parsing aborted.`)}}function Rd(e){const t=e.value;return w_(e.kind)+(t!=null?` "${t}"`:"")}function w_(e){return SF(e)?`"${e}"`:e}const UF=5;function As(e,t){const[n,r]=t?[e,t]:[void 0,e];let i=" Did you mean ";n&&(i+=n+" ");const o=r.map(c=>`"${c}"`);switch(o.length){case 0:return"";case 1:return i+o[0]+"?";case 2:return i+o[0]+" or "+o[1]+"?"}const a=o.slice(0,UF),l=a.pop();return i+a.join(", ")+", or "+l+"?"}function T4(e){return e}function wa(e,t){const n=Object.create(null);for(const r of e)n[t(r)]=r;return n}function aa(e,t,n){const r=Object.create(null);for(const i of e)r[t(i)]=n(i);return r}function Co(e,t){const n=Object.create(null);for(const r of Object.keys(e))n[r]=t(e[r],r);return n}function fb(e,t){let n=0,r=0;for(;n0);let l=0;do++r,l=l*10+o-kg,o=t.charCodeAt(r);while(Ld(o)&&l>0);if(al)return 1}else{if(io)return 1;++n,++r}}return e.length-t.length}const kg=48,zF=57;function Ld(e){return!isNaN(e)&&kg<=e&&e<=zF}function Na(e,t){const n=Object.create(null),r=new HF(e),i=Math.floor(e.length*.4)+1;for(const o of t){const a=r.measure(o,i);a!==void 0&&(n[o]=a)}return Object.keys(n).sort((o,a)=>{const l=n[o]-n[a];return l!==0?l:fb(o,a)})}class HF{constructor(t){this._input=t,this._inputLowerCase=t.toLowerCase(),this._inputArray=k4(this._inputLowerCase),this._rows=[new Array(t.length+1).fill(0),new Array(t.length+1).fill(0),new Array(t.length+1).fill(0)]}measure(t,n){if(this._input===t)return 0;const r=t.toLowerCase();if(this._inputLowerCase===r)return 1;let i=k4(r),o=this._inputArray;if(i.lengthn)return;const c=this._rows;for(let p=0;p<=l;p++)c[0][p]=p;for(let p=1;p<=a;p++){const h=c[(p-1)%3],g=c[p%3];let b=g[0]=p;for(let y=1;y<=l;y++){const w=i[p-1]===o[y-1]?0:1;let _=Math.min(h[y]+1,g[y-1]+1,h[y-1]+w);if(p>1&&y>1&&i[p-1]===o[y-2]&&i[p-2]===o[y-1]){const T=c[(p-2)%3][y-2];_=Math.min(_,T+1)}_n)return}const f=c[a%3][l];return f<=n?f:void 0}}function k4(e){const t=e.length,n=new Array(t);for(let r=0;re.value},Variable:{leave:e=>"$"+e.name},Document:{leave:e=>Ce(e.definitions,` + +`)},OperationDefinition:{leave(e){const t=qe("(",Ce(e.variableDefinitions,", "),")"),n=Ce([e.operation,Ce([e.name,t]),Ce(e.directives," ")]," ");return(n==="query"?"":n+" ")+e.selectionSet}},VariableDefinition:{leave:({variable:e,type:t,defaultValue:n,directives:r})=>e+": "+t+qe(" = ",n)+qe(" ",Ce(r," "))},SelectionSet:{leave:({selections:e})=>ui(e)},Field:{leave({alias:e,name:t,arguments:n,directives:r,selectionSet:i}){const o=qe("",e,": ")+t;let a=o+qe("(",Ce(n,", "),")");return a.length>XF&&(a=o+qe(`( +`,u0(Ce(n,` +`)),` +)`)),Ce([a,Ce(r," "),i]," ")}},Argument:{leave:({name:e,value:t})=>e+": "+t},FragmentSpread:{leave:({name:e,directives:t})=>"..."+e+qe(" ",Ce(t," "))},InlineFragment:{leave:({typeCondition:e,directives:t,selectionSet:n})=>Ce(["...",qe("on ",e),Ce(t," "),n]," ")},FragmentDefinition:{leave:({name:e,typeCondition:t,variableDefinitions:n,directives:r,selectionSet:i})=>`fragment ${e}${qe("(",Ce(n,", "),")")} on ${t} ${qe("",Ce(r," ")," ")}`+i},IntValue:{leave:({value:e})=>e},FloatValue:{leave:({value:e})=>e},StringValue:{leave:({value:e,block:t})=>t?wF(e):qF(e)},BooleanValue:{leave:({value:e})=>e?"true":"false"},NullValue:{leave:()=>"null"},EnumValue:{leave:({value:e})=>e},ListValue:{leave:({values:e})=>"["+Ce(e,", ")+"]"},ObjectValue:{leave:({fields:e})=>"{"+Ce(e,", ")+"}"},ObjectField:{leave:({name:e,value:t})=>e+": "+t},Directive:{leave:({name:e,arguments:t})=>"@"+e+qe("(",Ce(t,", "),")")},NamedType:{leave:({name:e})=>e},ListType:{leave:({type:e})=>"["+e+"]"},NonNullType:{leave:({type:e})=>e+"!"},SchemaDefinition:{leave:({description:e,directives:t,operationTypes:n})=>qe("",e,` +`)+Ce(["schema",Ce(t," "),ui(n)]," ")},OperationTypeDefinition:{leave:({operation:e,type:t})=>e+": "+t},ScalarTypeDefinition:{leave:({description:e,name:t,directives:n})=>qe("",e,` +`)+Ce(["scalar",t,Ce(n," ")]," ")},ObjectTypeDefinition:{leave:({description:e,name:t,interfaces:n,directives:r,fields:i})=>qe("",e,` +`)+Ce(["type",t,qe("implements ",Ce(n," & ")),Ce(r," "),ui(i)]," ")},FieldDefinition:{leave:({description:e,name:t,arguments:n,type:r,directives:i})=>qe("",e,` +`)+t+(C4(n)?qe(`( +`,u0(Ce(n,` +`)),` +)`):qe("(",Ce(n,", "),")"))+": "+r+qe(" ",Ce(i," "))},InputValueDefinition:{leave:({description:e,name:t,type:n,defaultValue:r,directives:i})=>qe("",e,` +`)+Ce([t+": "+n,qe("= ",r),Ce(i," ")]," ")},InterfaceTypeDefinition:{leave:({description:e,name:t,interfaces:n,directives:r,fields:i})=>qe("",e,` +`)+Ce(["interface",t,qe("implements ",Ce(n," & ")),Ce(r," "),ui(i)]," ")},UnionTypeDefinition:{leave:({description:e,name:t,directives:n,types:r})=>qe("",e,` +`)+Ce(["union",t,Ce(n," "),qe("= ",Ce(r," | "))]," ")},EnumTypeDefinition:{leave:({description:e,name:t,directives:n,values:r})=>qe("",e,` +`)+Ce(["enum",t,Ce(n," "),ui(r)]," ")},EnumValueDefinition:{leave:({description:e,name:t,directives:n})=>qe("",e,` +`)+Ce([t,Ce(n," ")]," ")},InputObjectTypeDefinition:{leave:({description:e,name:t,directives:n,fields:r})=>qe("",e,` +`)+Ce(["input",t,Ce(n," "),ui(r)]," ")},DirectiveDefinition:{leave:({description:e,name:t,arguments:n,repeatable:r,locations:i})=>qe("",e,` +`)+"directive @"+t+(C4(n)?qe(`( +`,u0(Ce(n,` +`)),` +)`):qe("(",Ce(n,", "),")"))+(r?" repeatable":"")+" on "+Ce(i," | ")},SchemaExtension:{leave:({directives:e,operationTypes:t})=>Ce(["extend schema",Ce(e," "),ui(t)]," ")},ScalarTypeExtension:{leave:({name:e,directives:t})=>Ce(["extend scalar",e,Ce(t," ")]," ")},ObjectTypeExtension:{leave:({name:e,interfaces:t,directives:n,fields:r})=>Ce(["extend type",e,qe("implements ",Ce(t," & ")),Ce(n," "),ui(r)]," ")},InterfaceTypeExtension:{leave:({name:e,interfaces:t,directives:n,fields:r})=>Ce(["extend interface",e,qe("implements ",Ce(t," & ")),Ce(n," "),ui(r)]," ")},UnionTypeExtension:{leave:({name:e,directives:t,types:n})=>Ce(["extend union",e,Ce(t," "),qe("= ",Ce(n," | "))]," ")},EnumTypeExtension:{leave:({name:e,directives:t,values:n})=>Ce(["extend enum",e,Ce(t," "),ui(n)]," ")},InputObjectTypeExtension:{leave:({name:e,directives:t,fields:n})=>Ce(["extend input",e,Ce(t," "),ui(n)]," ")}};function Ce(e,t=""){var n;return(n=e==null?void 0:e.filter(r=>r).join(t))!==null&&n!==void 0?n:""}function ui(e){return qe(`{ +`,u0(Ce(e,` +`)),` +}`)}function qe(e,t,n=""){return t!=null&&t!==""?e+t+n:""}function u0(e){return qe(" ",e.replace(/\n/g,` + `))}function C4(e){var t;return(t=e==null?void 0:e.some(n=>n.includes(` +`)))!==null&&t!==void 0?t:!1}function Cg(e,t){switch(e.kind){case M.NULL:return null;case M.INT:return parseInt(e.value,10);case M.FLOAT:return parseFloat(e.value);case M.STRING:case M.ENUM:case M.BOOLEAN:return e.value;case M.LIST:return e.values.map(n=>Cg(n,t));case M.OBJECT:return aa(e.fields,n=>n.name.value,n=>Cg(n.value,t));case M.VARIABLE:return t==null?void 0:t[e.name.value]}}function _i(e){if(e!=null||Ke(!1,"Must provide name."),typeof e=="string"||Ke(!1,"Expected name to be a string."),e.length===0)throw new ge("Expected name to be a non-empty string.");for(let t=1;ta(Cg(l,c)),this.extensions=Xr(t.extensions),this.astNode=t.astNode,this.extensionASTNodes=(o=t.extensionASTNodes)!==null&&o!==void 0?o:[],t.specifiedByURL==null||typeof t.specifiedByURL=="string"||Ke(!1,`${this.name} must provide "specifiedByURL" as a string, but got: ${xe(t.specifiedByURL)}.`),t.serialize==null||typeof t.serialize=="function"||Ke(!1,`${this.name} must provide "serialize" function. If this custom Scalar is also used as an input type, ensure "parseValue" and "parseLiteral" functions are also provided.`),t.parseLiteral&&(typeof t.parseValue=="function"&&typeof t.parseLiteral=="function"||Ke(!1,`${this.name} must provide both "parseValue" and "parseLiteral" functions.`))}get[Symbol.toStringTag](){return"GraphQLScalarType"}toConfig(){return{name:this.name,description:this.description,specifiedByURL:this.specifiedByURL,serialize:this.serialize,parseValue:this.parseValue,parseLiteral:this.parseLiteral,extensions:this.extensions,astNode:this.astNode,extensionASTNodes:this.extensionASTNodes}}toString(){return this.name}toJSON(){return this.toString()}}class wi{constructor(t){var n;this.name=_i(t.name),this.description=t.description,this.isTypeOf=t.isTypeOf,this.extensions=Xr(t.extensions),this.astNode=t.astNode,this.extensionASTNodes=(n=t.extensionASTNodes)!==null&&n!==void 0?n:[],this._fields=()=>k_(t),this._interfaces=()=>T_(t),t.isTypeOf==null||typeof t.isTypeOf=="function"||Ke(!1,`${this.name} must provide "isTypeOf" as a function, but got: ${xe(t.isTypeOf)}.`)}get[Symbol.toStringTag](){return"GraphQLObjectType"}getFields(){return typeof this._fields=="function"&&(this._fields=this._fields()),this._fields}getInterfaces(){return typeof this._interfaces=="function"&&(this._interfaces=this._interfaces()),this._interfaces}toConfig(){return{name:this.name,description:this.description,interfaces:this.getInterfaces(),fields:N_(this.getFields()),isTypeOf:this.isTypeOf,extensions:this.extensions,astNode:this.astNode,extensionASTNodes:this.extensionASTNodes}}toString(){return this.name}toJSON(){return this.toString()}}function T_(e){var t;const n=S_((t=e.interfaces)!==null&&t!==void 0?t:[]);return Array.isArray(n)||Ke(!1,`${e.name} interfaces must be an Array or a function which returns an Array.`),n}function k_(e){const t=__(e.fields);return Dl(t)||Ke(!1,`${e.name} fields must be an object with field names as keys or a function which returns such an object.`),Co(t,(n,r)=>{var i;Dl(n)||Ke(!1,`${e.name}.${r} field config must be an object.`),n.resolve==null||typeof n.resolve=="function"||Ke(!1,`${e.name}.${r} field resolver must be a function if provided, but got: ${xe(n.resolve)}.`);const o=(i=n.args)!==null&&i!==void 0?i:{};return Dl(o)||Ke(!1,`${e.name}.${r} args must be an object with argument names as keys.`),{name:_i(r),description:n.description,type:n.type,args:C_(o),resolve:n.resolve,subscribe:n.subscribe,deprecationReason:n.deprecationReason,extensions:Xr(n.extensions),astNode:n.astNode}})}function C_(e){return Object.entries(e).map(([t,n])=>({name:_i(t),description:n.description,type:n.type,defaultValue:n.defaultValue,deprecationReason:n.deprecationReason,extensions:Xr(n.extensions),astNode:n.astNode}))}function Dl(e){return Do(e)&&!Array.isArray(e)}function N_(e){return Co(e,t=>({description:t.description,type:t.type,args:A_(t.args),resolve:t.resolve,subscribe:t.subscribe,deprecationReason:t.deprecationReason,extensions:t.extensions,astNode:t.astNode}))}function A_(e){return aa(e,t=>t.name,t=>({description:t.description,type:t.type,defaultValue:t.defaultValue,deprecationReason:t.deprecationReason,extensions:t.extensions,astNode:t.astNode}))}function Xc(e){return rt(e.type)&&e.defaultValue===void 0}class _c{constructor(t){var n;this.name=_i(t.name),this.description=t.description,this.resolveType=t.resolveType,this.extensions=Xr(t.extensions),this.astNode=t.astNode,this.extensionASTNodes=(n=t.extensionASTNodes)!==null&&n!==void 0?n:[],this._fields=k_.bind(void 0,t),this._interfaces=T_.bind(void 0,t),t.resolveType==null||typeof t.resolveType=="function"||Ke(!1,`${this.name} must provide "resolveType" as a function, but got: ${xe(t.resolveType)}.`)}get[Symbol.toStringTag](){return"GraphQLInterfaceType"}getFields(){return typeof this._fields=="function"&&(this._fields=this._fields()),this._fields}getInterfaces(){return typeof this._interfaces=="function"&&(this._interfaces=this._interfaces()),this._interfaces}toConfig(){return{name:this.name,description:this.description,interfaces:this.getInterfaces(),fields:N_(this.getFields()),resolveType:this.resolveType,extensions:this.extensions,astNode:this.astNode,extensionASTNodes:this.extensionASTNodes}}toString(){return this.name}toJSON(){return this.toString()}}class I0{constructor(t){var n;this.name=_i(t.name),this.description=t.description,this.resolveType=t.resolveType,this.extensions=Xr(t.extensions),this.astNode=t.astNode,this.extensionASTNodes=(n=t.extensionASTNodes)!==null&&n!==void 0?n:[],this._types=nO.bind(void 0,t),t.resolveType==null||typeof t.resolveType=="function"||Ke(!1,`${this.name} must provide "resolveType" as a function, but got: ${xe(t.resolveType)}.`)}get[Symbol.toStringTag](){return"GraphQLUnionType"}getTypes(){return typeof this._types=="function"&&(this._types=this._types()),this._types}toConfig(){return{name:this.name,description:this.description,types:this.getTypes(),resolveType:this.resolveType,extensions:this.extensions,astNode:this.astNode,extensionASTNodes:this.extensionASTNodes}}toString(){return this.name}toJSON(){return this.toString()}}function nO(e){const t=S_(e.types);return Array.isArray(t)||Ke(!1,`Must provide Array of types or a function which returns such an array for Union ${e.name}.`),t}class Ea{constructor(t){var n;this.name=_i(t.name),this.description=t.description,this.extensions=Xr(t.extensions),this.astNode=t.astNode,this.extensionASTNodes=(n=t.extensionASTNodes)!==null&&n!==void 0?n:[],this._values=typeof t.values=="function"?t.values:N4(this.name,t.values),this._valueLookup=null,this._nameLookup=null}get[Symbol.toStringTag](){return"GraphQLEnumType"}getValues(){return typeof this._values=="function"&&(this._values=N4(this.name,this._values())),this._values}getValue(t){return this._nameLookup===null&&(this._nameLookup=wa(this.getValues(),n=>n.name)),this._nameLookup[t]}serialize(t){this._valueLookup===null&&(this._valueLookup=new Map(this.getValues().map(r=>[r.value,r])));const n=this._valueLookup.get(t);if(n===void 0)throw new ge(`Enum "${this.name}" cannot represent value: ${xe(t)}`);return n.name}parseValue(t){if(typeof t!="string"){const r=xe(t);throw new ge(`Enum "${this.name}" cannot represent non-string value: ${r}.`+Pd(this,r))}const n=this.getValue(t);if(n==null)throw new ge(`Value "${t}" does not exist in "${this.name}" enum.`+Pd(this,t));return n.value}parseLiteral(t,n){if(t.kind!==M.ENUM){const i=bt(t);throw new ge(`Enum "${this.name}" cannot represent non-enum value: ${i}.`+Pd(this,i),{nodes:t})}const r=this.getValue(t.value);if(r==null){const i=bt(t);throw new ge(`Value "${i}" does not exist in "${this.name}" enum.`+Pd(this,i),{nodes:t})}return r.value}toConfig(){const t=aa(this.getValues(),n=>n.name,n=>({description:n.description,value:n.value,deprecationReason:n.deprecationReason,extensions:n.extensions,astNode:n.astNode}));return{name:this.name,description:this.description,values:t,extensions:this.extensions,astNode:this.astNode,extensionASTNodes:this.extensionASTNodes}}toString(){return this.name}toJSON(){return this.toString()}}function Pd(e,t){const n=e.getValues().map(i=>i.name),r=Na(t,n);return As("the enum value",r)}function N4(e,t){return Dl(t)||Ke(!1,`${e} values must be an object with value names as keys.`),Object.entries(t).map(([n,r])=>(Dl(r)||Ke(!1,`${e}.${n} must refer to an object with a "value" key representing an internal value but got: ${xe(r)}.`),{name:JF(n),description:r.description,value:r.value!==void 0?r.value:n,deprecationReason:r.deprecationReason,extensions:Xr(r.extensions),astNode:r.astNode}))}class Tc{constructor(t){var n,r;this.name=_i(t.name),this.description=t.description,this.extensions=Xr(t.extensions),this.astNode=t.astNode,this.extensionASTNodes=(n=t.extensionASTNodes)!==null&&n!==void 0?n:[],this.isOneOf=(r=t.isOneOf)!==null&&r!==void 0?r:!1,this._fields=rO.bind(void 0,t)}get[Symbol.toStringTag](){return"GraphQLInputObjectType"}getFields(){return typeof this._fields=="function"&&(this._fields=this._fields()),this._fields}toConfig(){const t=Co(this.getFields(),n=>({description:n.description,type:n.type,defaultValue:n.defaultValue,deprecationReason:n.deprecationReason,extensions:n.extensions,astNode:n.astNode}));return{name:this.name,description:this.description,fields:t,extensions:this.extensions,astNode:this.astNode,extensionASTNodes:this.extensionASTNodes,isOneOf:this.isOneOf}}toString(){return this.name}toJSON(){return this.toString()}}function rO(e){const t=__(e.fields);return Dl(t)||Ke(!1,`${e.name} fields must be an object with field names as keys or a function which returns such an object.`),Co(t,(n,r)=>(!("resolve"in n)||Ke(!1,`${e.name}.${r} field has a resolve property, but Input Types cannot define resolvers.`),{name:_i(r),description:n.description,type:n.type,defaultValue:n.defaultValue,deprecationReason:n.deprecationReason,extensions:Xr(n.extensions),astNode:n.astNode}))}function I_(e){return rt(e.type)&&e.defaultValue===void 0}function Ng(e,t){return e===t?!0:rt(e)&&rt(t)||Cn(e)&&Cn(t)?Ng(e.ofType,t.ofType):!1}function Rl(e,t,n){return t===n?!0:rt(n)?rt(t)?Rl(e,t.ofType,n.ofType):!1:rt(t)?Rl(e,t.ofType,n):Cn(n)?Cn(t)?Rl(e,t.ofType,n.ofType):!1:Cn(t)?!1:Cs(n)&&(it(t)||et(t))&&e.isSubType(n,t)}function A4(e,t,n){return t===n?!0:Cs(t)?Cs(n)?e.getPossibleTypes(t).some(r=>e.isSubType(n,r)):e.isSubType(t,n):Cs(n)?e.isSubType(n,t):!1}const Km=2147483647,e1=-2147483648,iO=new Lo({name:"Int",description:"The `Int` scalar type represents non-fractional signed whole numeric values. Int can represent values between -(2^31) and 2^31 - 1.",serialize(e){const t=Zc(e);if(typeof t=="boolean")return t?1:0;let n=t;if(typeof t=="string"&&t!==""&&(n=Number(t)),typeof n!="number"||!Number.isInteger(n))throw new ge(`Int cannot represent non-integer value: ${xe(t)}`);if(n>Km||nKm||eKm||te.name===t)}function Zc(e){if(Do(e)){if(typeof e.valueOf=="function"){const t=e.valueOf();if(!Do(t))return t}if(typeof e.toJSON=="function")return e.toJSON()}return e}function P_(e){return Si(e,Po)}class Po{constructor(t){var n,r;this.name=_i(t.name),this.description=t.description,this.locations=t.locations,this.isRepeatable=(n=t.isRepeatable)!==null&&n!==void 0?n:!1,this.extensions=Xr(t.extensions),this.astNode=t.astNode,Array.isArray(t.locations)||Ke(!1,`@${t.name} locations must be an Array.`);const i=(r=t.args)!==null&&r!==void 0?r:{};Do(i)&&!Array.isArray(i)||Ke(!1,`@${t.name} args must be an object with argument names as keys.`),this.args=C_(i)}get[Symbol.toStringTag](){return"GraphQLDirective"}toConfig(){return{name:this.name,description:this.description,locations:this.locations,args:A_(this.args),isRepeatable:this.isRepeatable,extensions:this.extensions,astNode:this.astNode}}toString(){return"@"+this.name}toJSON(){return this.toString()}}const F_=new Po({name:"include",description:"Directs the executor to include this field or fragment only when the `if` argument is true.",locations:[Le.FIELD,Le.FRAGMENT_SPREAD,Le.INLINE_FRAGMENT],args:{if:{type:new ze(_r),description:"Included when true."}}}),O_=new Po({name:"skip",description:"Directs the executor to skip this field or fragment when the `if` argument is true.",locations:[Le.FIELD,Le.FRAGMENT_SPREAD,Le.INLINE_FRAGMENT],args:{if:{type:new ze(_r),description:"Skipped when true."}}}),M_="No longer supported",mb=new Po({name:"deprecated",description:"Marks an element of a GraphQL schema as no longer supported.",locations:[Le.FIELD_DEFINITION,Le.ARGUMENT_DEFINITION,Le.INPUT_FIELD_DEFINITION,Le.ENUM_VALUE],args:{reason:{type:qt,description:"Explains why this element was deprecated, usually also including a suggestion for how to access supported similar data. Formatted using the Markdown syntax, as specified by [CommonMark](https://commonmark.org/).",defaultValue:M_}}}),$_=new Po({name:"specifiedBy",description:"Exposes a URL that specifies the behavior of this scalar.",locations:[Le.SCALAR],args:{url:{type:new ze(qt),description:"The URL that specifies the behavior of this scalar."}}}),j_=new Po({name:"oneOf",description:"Indicates exactly one field must be supplied and this field must not be `null`.",locations:[Le.INPUT_OBJECT],args:{}}),Aa=Object.freeze([F_,O_,mb,$_,j_]);function oO(e){return Aa.some(({name:t})=>t===e.name)}function sO(e){return typeof e=="object"&&typeof(e==null?void 0:e[Symbol.iterator])=="function"}function la(e,t){if(rt(t)){const n=la(e,t.ofType);return(n==null?void 0:n.kind)===M.NULL?null:n}if(e===null)return{kind:M.NULL};if(e===void 0)return null;if(Cn(t)){const n=t.ofType;if(sO(e)){const r=[];for(const i of e){const o=la(i,n);o!=null&&r.push(o)}return{kind:M.LIST,values:r}}return la(e,n)}if(Ft(t)){if(!Do(e))return null;const n=[];for(const r of Object.values(t.getFields())){const i=la(e[r.name],r.type);i&&n.push({kind:M.OBJECT_FIELD,name:{kind:M.NAME,value:r.name},value:i})}return{kind:M.OBJECT,fields:n}}if(Is(t)){const n=t.serialize(e);if(n==null)return null;if(typeof n=="boolean")return{kind:M.BOOLEAN,value:n};if(typeof n=="number"&&Number.isFinite(n)){const r=String(n);return I4.test(r)?{kind:M.INT,value:r}:{kind:M.FLOAT,value:r}}if(typeof n=="string")return Un(t)?{kind:M.ENUM,value:n}:t===R_&&I4.test(n)?{kind:M.INT,value:n}:{kind:M.STRING,value:n};throw new TypeError(`Cannot convert value to AST: ${xe(n)}.`)}zr(!1,"Unexpected input type: "+xe(t))}const I4=/^-?(?:0|[1-9][0-9]*)$/,gb=new wi({name:"__Schema",description:"A GraphQL Schema defines the capabilities of a GraphQL server. It exposes all available types and directives on the server, as well as the entry points for query, mutation, and subscription operations.",fields:()=>({description:{type:qt,resolve:e=>e.description},types:{description:"A list of all types supported by this server.",type:new ze(new $n(new ze(yi))),resolve(e){return Object.values(e.getTypeMap())}},queryType:{description:"The type that query operations will be rooted at.",type:new ze(yi),resolve:e=>e.getQueryType()},mutationType:{description:"If this server supports mutation, the type that mutation operations will be rooted at.",type:yi,resolve:e=>e.getMutationType()},subscriptionType:{description:"If this server support subscription, the type that subscription operations will be rooted at.",type:yi,resolve:e=>e.getSubscriptionType()},directives:{description:"A list of all directives supported by this server.",type:new ze(new $n(new ze(B_))),resolve:e=>e.getDirectives()}})}),B_=new wi({name:"__Directive",description:`A Directive provides a way to describe alternate runtime execution and type validation behavior in a GraphQL document. + +In some cases, you need to provide options to alter GraphQL's execution behavior in ways field arguments will not suffice, such as conditionally including or skipping a field. Directives provide this by describing additional information to the executor.`,fields:()=>({name:{type:new ze(qt),resolve:e=>e.name},description:{type:qt,resolve:e=>e.description},isRepeatable:{type:new ze(_r),resolve:e=>e.isRepeatable},locations:{type:new ze(new $n(new ze(V_))),resolve:e=>e.locations},args:{type:new ze(new $n(new ze(wp))),args:{includeDeprecated:{type:_r,defaultValue:!1}},resolve(e,{includeDeprecated:t}){return t?e.args:e.args.filter(n=>n.deprecationReason==null)}}})}),V_=new Ea({name:"__DirectiveLocation",description:"A Directive can be adjacent to many parts of the GraphQL language, a __DirectiveLocation describes one such possible adjacencies.",values:{QUERY:{value:Le.QUERY,description:"Location adjacent to a query operation."},MUTATION:{value:Le.MUTATION,description:"Location adjacent to a mutation operation."},SUBSCRIPTION:{value:Le.SUBSCRIPTION,description:"Location adjacent to a subscription operation."},FIELD:{value:Le.FIELD,description:"Location adjacent to a field."},FRAGMENT_DEFINITION:{value:Le.FRAGMENT_DEFINITION,description:"Location adjacent to a fragment definition."},FRAGMENT_SPREAD:{value:Le.FRAGMENT_SPREAD,description:"Location adjacent to a fragment spread."},INLINE_FRAGMENT:{value:Le.INLINE_FRAGMENT,description:"Location adjacent to an inline fragment."},VARIABLE_DEFINITION:{value:Le.VARIABLE_DEFINITION,description:"Location adjacent to a variable definition."},SCHEMA:{value:Le.SCHEMA,description:"Location adjacent to a schema definition."},SCALAR:{value:Le.SCALAR,description:"Location adjacent to a scalar definition."},OBJECT:{value:Le.OBJECT,description:"Location adjacent to an object type definition."},FIELD_DEFINITION:{value:Le.FIELD_DEFINITION,description:"Location adjacent to a field definition."},ARGUMENT_DEFINITION:{value:Le.ARGUMENT_DEFINITION,description:"Location adjacent to an argument definition."},INTERFACE:{value:Le.INTERFACE,description:"Location adjacent to an interface definition."},UNION:{value:Le.UNION,description:"Location adjacent to a union definition."},ENUM:{value:Le.ENUM,description:"Location adjacent to an enum definition."},ENUM_VALUE:{value:Le.ENUM_VALUE,description:"Location adjacent to an enum value definition."},INPUT_OBJECT:{value:Le.INPUT_OBJECT,description:"Location adjacent to an input object type definition."},INPUT_FIELD_DEFINITION:{value:Le.INPUT_FIELD_DEFINITION,description:"Location adjacent to an input object field definition."}}}),yi=new wi({name:"__Type",description:"The fundamental unit of any GraphQL Schema is the type. There are many kinds of types in GraphQL as represented by the `__TypeKind` enum.\n\nDepending on the kind of a type, certain fields describe information about that type. Scalar types provide no information beyond a name, description and optional `specifiedByURL`, while Enum types provide their values. Object and Interface types provide the fields they describe. Abstract types, Union and Interface, provide the Object types possible at runtime. List and NonNull types compose other types.",fields:()=>({kind:{type:new ze(H_),resolve(e){if(so(e))return dt.SCALAR;if(et(e))return dt.OBJECT;if(it(e))return dt.INTERFACE;if(dr(e))return dt.UNION;if(Un(e))return dt.ENUM;if(Ft(e))return dt.INPUT_OBJECT;if(Cn(e))return dt.LIST;if(rt(e))return dt.NON_NULL;zr(!1,`Unexpected type: "${xe(e)}".`)}},name:{type:qt,resolve:e=>"name"in e?e.name:void 0},description:{type:qt,resolve:e=>"description"in e?e.description:void 0},specifiedByURL:{type:qt,resolve:e=>"specifiedByURL"in e?e.specifiedByURL:void 0},fields:{type:new $n(new ze(U_)),args:{includeDeprecated:{type:_r,defaultValue:!1}},resolve(e,{includeDeprecated:t}){if(et(e)||it(e)){const n=Object.values(e.getFields());return t?n:n.filter(r=>r.deprecationReason==null)}}},interfaces:{type:new $n(new ze(yi)),resolve(e){if(et(e)||it(e))return e.getInterfaces()}},possibleTypes:{type:new $n(new ze(yi)),resolve(e,t,n,{schema:r}){if(Cs(e))return r.getPossibleTypes(e)}},enumValues:{type:new $n(new ze(z_)),args:{includeDeprecated:{type:_r,defaultValue:!1}},resolve(e,{includeDeprecated:t}){if(Un(e)){const n=e.getValues();return t?n:n.filter(r=>r.deprecationReason==null)}}},inputFields:{type:new $n(new ze(wp)),args:{includeDeprecated:{type:_r,defaultValue:!1}},resolve(e,{includeDeprecated:t}){if(Ft(e)){const n=Object.values(e.getFields());return t?n:n.filter(r=>r.deprecationReason==null)}}},ofType:{type:yi,resolve:e=>"ofType"in e?e.ofType:void 0},isOneOf:{type:_r,resolve:e=>{if(Ft(e))return e.isOneOf}}})}),U_=new wi({name:"__Field",description:"Object and Interface types are described by a list of Fields, each of which has a name, potentially a list of arguments, and a return type.",fields:()=>({name:{type:new ze(qt),resolve:e=>e.name},description:{type:qt,resolve:e=>e.description},args:{type:new ze(new $n(new ze(wp))),args:{includeDeprecated:{type:_r,defaultValue:!1}},resolve(e,{includeDeprecated:t}){return t?e.args:e.args.filter(n=>n.deprecationReason==null)}},type:{type:new ze(yi),resolve:e=>e.type},isDeprecated:{type:new ze(_r),resolve:e=>e.deprecationReason!=null},deprecationReason:{type:qt,resolve:e=>e.deprecationReason}})}),wp=new wi({name:"__InputValue",description:"Arguments provided to Fields or Directives and the input fields of an InputObject are represented as Input Values which describe their type and optionally a default value.",fields:()=>({name:{type:new ze(qt),resolve:e=>e.name},description:{type:qt,resolve:e=>e.description},type:{type:new ze(yi),resolve:e=>e.type},defaultValue:{type:qt,description:"A GraphQL-formatted string representing the default value for this input value.",resolve(e){const{type:t,defaultValue:n}=e,r=la(n,t);return r?bt(r):null}},isDeprecated:{type:new ze(_r),resolve:e=>e.deprecationReason!=null},deprecationReason:{type:qt,resolve:e=>e.deprecationReason}})}),z_=new wi({name:"__EnumValue",description:"One possible value for a given Enum. Enum values are unique values, not a placeholder for a string or numeric value. However an Enum value is returned in a JSON response as a string.",fields:()=>({name:{type:new ze(qt),resolve:e=>e.name},description:{type:qt,resolve:e=>e.description},isDeprecated:{type:new ze(_r),resolve:e=>e.deprecationReason!=null},deprecationReason:{type:qt,resolve:e=>e.deprecationReason}})});var dt;(function(e){e.SCALAR="SCALAR",e.OBJECT="OBJECT",e.INTERFACE="INTERFACE",e.UNION="UNION",e.ENUM="ENUM",e.INPUT_OBJECT="INPUT_OBJECT",e.LIST="LIST",e.NON_NULL="NON_NULL"})(dt||(dt={}));const H_=new Ea({name:"__TypeKind",description:"An enum describing what kind of type a given `__Type` is.",values:{SCALAR:{value:dt.SCALAR,description:"Indicates this type is a scalar."},OBJECT:{value:dt.OBJECT,description:"Indicates this type is an object. `fields` and `interfaces` are valid fields."},INTERFACE:{value:dt.INTERFACE,description:"Indicates this type is an interface. `fields`, `interfaces`, and `possibleTypes` are valid fields."},UNION:{value:dt.UNION,description:"Indicates this type is a union. `possibleTypes` is a valid field."},ENUM:{value:dt.ENUM,description:"Indicates this type is an enum. `enumValues` is a valid field."},INPUT_OBJECT:{value:dt.INPUT_OBJECT,description:"Indicates this type is an input object. `inputFields` is a valid field."},LIST:{value:dt.LIST,description:"Indicates this type is a list. `ofType` is a valid field."},NON_NULL:{value:dt.NON_NULL,description:"Indicates this type is a non-null. `ofType` is a valid field."}}}),D0={name:"__schema",type:new ze(gb),description:"Access the current type schema of this server.",args:[],resolve:(e,t,n,{schema:r})=>r,deprecationReason:void 0,extensions:Object.create(null),astNode:void 0},R0={name:"__type",type:yi,description:"Request the type information of a single type.",args:[{name:"name",description:void 0,type:new ze(qt),defaultValue:void 0,deprecationReason:void 0,extensions:Object.create(null),astNode:void 0}],resolve:(e,{name:t},n,{schema:r})=>r.getType(t),deprecationReason:void 0,extensions:Object.create(null),astNode:void 0},L0={name:"__typename",type:new ze(qt),description:"The name of the current Object type at runtime.",args:[],resolve:(e,t,n,{parentType:r})=>r.name,deprecationReason:void 0,extensions:Object.create(null),astNode:void 0},Ep=Object.freeze([gb,B_,V_,yi,U_,wp,z_,H_]);function bb(e){return Ep.some(({name:t})=>e.name===t)}function Ag(e){return Si(e,vb)}function aO(e){if(!Ag(e))throw new Error(`Expected ${xe(e)} to be a GraphQL schema.`);return e}class vb{constructor(t){var n,r;this.__validationErrors=t.assumeValid===!0?[]:void 0,Do(t)||Ke(!1,"Must provide configuration object."),!t.types||Array.isArray(t.types)||Ke(!1,`"types" must be Array if provided but got: ${xe(t.types)}.`),!t.directives||Array.isArray(t.directives)||Ke(!1,`"directives" must be Array if provided but got: ${xe(t.directives)}.`),this.description=t.description,this.extensions=Xr(t.extensions),this.astNode=t.astNode,this.extensionASTNodes=(n=t.extensionASTNodes)!==null&&n!==void 0?n:[],this._queryType=t.query,this._mutationType=t.mutation,this._subscriptionType=t.subscription,this._directives=(r=t.directives)!==null&&r!==void 0?r:Aa;const i=new Set(t.types);if(t.types!=null)for(const o of t.types)i.delete(o),pi(o,i);this._queryType!=null&&pi(this._queryType,i),this._mutationType!=null&&pi(this._mutationType,i),this._subscriptionType!=null&&pi(this._subscriptionType,i);for(const o of this._directives)if(P_(o))for(const a of o.args)pi(a.type,i);pi(gb,i),this._typeMap=Object.create(null),this._subTypeMap=Object.create(null),this._implementationsMap=Object.create(null);for(const o of i){if(o==null)continue;const a=o.name;if(a||Ke(!1,"One of the provided types for building the Schema is missing a name."),this._typeMap[a]!==void 0)throw new Error(`Schema must contain uniquely named types but contains multiple types named "${a}".`);if(this._typeMap[a]=o,it(o)){for(const l of o.getInterfaces())if(it(l)){let c=this._implementationsMap[l.name];c===void 0&&(c=this._implementationsMap[l.name]={objects:[],interfaces:[]}),c.interfaces.push(o)}}else if(et(o)){for(const l of o.getInterfaces())if(it(l)){let c=this._implementationsMap[l.name];c===void 0&&(c=this._implementationsMap[l.name]={objects:[],interfaces:[]}),c.objects.push(o)}}}}get[Symbol.toStringTag](){return"GraphQLSchema"}getQueryType(){return this._queryType}getMutationType(){return this._mutationType}getSubscriptionType(){return this._subscriptionType}getRootType(t){switch(t){case Qn.QUERY:return this.getQueryType();case Qn.MUTATION:return this.getMutationType();case Qn.SUBSCRIPTION:return this.getSubscriptionType()}}getTypeMap(){return this._typeMap}getType(t){return this.getTypeMap()[t]}getPossibleTypes(t){return dr(t)?t.getTypes():this.getImplementations(t).objects}getImplementations(t){const n=this._implementationsMap[t.name];return n??{objects:[],interfaces:[]}}isSubType(t,n){let r=this._subTypeMap[t.name];if(r===void 0){if(r=Object.create(null),dr(t))for(const i of t.getTypes())r[i.name]=!0;else{const i=this.getImplementations(t);for(const o of i.objects)r[o.name]=!0;for(const o of i.interfaces)r[o.name]=!0}this._subTypeMap[t.name]=r}return r[n.name]!==void 0}getDirectives(){return this._directives}getDirective(t){return this.getDirectives().find(n=>n.name===t)}toConfig(){return{description:this.description,query:this.getQueryType(),mutation:this.getMutationType(),subscription:this.getSubscriptionType(),types:Object.values(this.getTypeMap()),directives:this.getDirectives(),extensions:this.extensions,astNode:this.astNode,extensionASTNodes:this.extensionASTNodes,assumeValid:this.__validationErrors!==void 0}}}function pi(e,t){const n=Tn(e);if(!t.has(n)){if(t.add(n),dr(n))for(const r of n.getTypes())pi(r,t);else if(et(n)||it(n)){for(const r of n.getInterfaces())pi(r,t);for(const r of Object.values(n.getFields())){pi(r.type,t);for(const i of r.args)pi(i.type,t)}}else if(Ft(n))for(const r of Object.values(n.getFields()))pi(r.type,t)}return t}function lO(e){if(aO(e),e.__validationErrors)return e.__validationErrors;const t=new uO(e);cO(t),fO(t),dO(t);const n=t.getErrors();return e.__validationErrors=n,n}class uO{constructor(t){this._errors=[],this.schema=t}reportError(t,n){const r=Array.isArray(n)?n.filter(Boolean):n;this._errors.push(new ge(t,{nodes:r}))}getErrors(){return this._errors}}function cO(e){const t=e.schema,n=t.getQueryType();if(!n)e.reportError("Query root type must be provided.",t.astNode);else if(!et(n)){var r;e.reportError(`Query root type must be Object type, it cannot be ${xe(n)}.`,(r=t1(t,Qn.QUERY))!==null&&r!==void 0?r:n.astNode)}const i=t.getMutationType();if(i&&!et(i)){var o;e.reportError(`Mutation root type must be Object type if provided, it cannot be ${xe(i)}.`,(o=t1(t,Qn.MUTATION))!==null&&o!==void 0?o:i.astNode)}const a=t.getSubscriptionType();if(a&&!et(a)){var l;e.reportError(`Subscription root type must be Object type if provided, it cannot be ${xe(a)}.`,(l=t1(t,Qn.SUBSCRIPTION))!==null&&l!==void 0?l:a.astNode)}}function t1(e,t){var n;return(n=[e.astNode,...e.extensionASTNodes].flatMap(r=>{var i;return(i=r==null?void 0:r.operationTypes)!==null&&i!==void 0?i:[]}).find(r=>r.operation===t))===null||n===void 0?void 0:n.type}function fO(e){for(const n of e.schema.getDirectives()){if(!P_(n)){e.reportError(`Expected directive but got: ${xe(n)}.`,n==null?void 0:n.astNode);continue}Sa(e,n),n.locations.length===0&&e.reportError(`Directive @${n.name} must include 1 or more locations.`,n.astNode);for(const r of n.args)if(Sa(e,r),gi(r.type)||e.reportError(`The type of @${n.name}(${r.name}:) must be Input Type but got: ${xe(r.type)}.`,r.astNode),Xc(r)&&r.deprecationReason!=null){var t;e.reportError(`Required argument @${n.name}(${r.name}:) cannot be deprecated.`,[yb(r.astNode),(t=r.astNode)===null||t===void 0?void 0:t.type])}}}function Sa(e,t){t.name.startsWith("__")&&e.reportError(`Name "${t.name}" must not begin with "__", which is reserved by GraphQL introspection.`,t.astNode)}function dO(e){const t=yO(e),n=e.schema.getTypeMap();for(const r of Object.values(n)){if(!hb(r)){e.reportError(`Expected GraphQL named type but got: ${xe(r)}.`,r.astNode);continue}bb(r)||Sa(e,r),et(r)||it(r)?(D4(e,r),R4(e,r)):dr(r)?mO(e,r):Un(r)?gO(e,r):Ft(r)&&(bO(e,r),t(r))}}function D4(e,t){const n=Object.values(t.getFields());n.length===0&&e.reportError(`Type ${t.name} must define one or more fields.`,[t.astNode,...t.extensionASTNodes]);for(const a of n){if(Sa(e,a),!Il(a.type)){var r;e.reportError(`The type of ${t.name}.${a.name} must be Output Type but got: ${xe(a.type)}.`,(r=a.astNode)===null||r===void 0?void 0:r.type)}for(const l of a.args){const c=l.name;if(Sa(e,l),!gi(l.type)){var i;e.reportError(`The type of ${t.name}.${a.name}(${c}:) must be Input Type but got: ${xe(l.type)}.`,(i=l.astNode)===null||i===void 0?void 0:i.type)}if(Xc(l)&&l.deprecationReason!=null){var o;e.reportError(`Required argument ${t.name}.${a.name}(${c}:) cannot be deprecated.`,[yb(l.astNode),(o=l.astNode)===null||o===void 0?void 0:o.type])}}}}function R4(e,t){const n=Object.create(null);for(const r of t.getInterfaces()){if(!it(r)){e.reportError(`Type ${xe(t)} must only implement Interface types, it cannot implement ${xe(r)}.`,sc(t,r));continue}if(t===r){e.reportError(`Type ${t.name} cannot implement itself because it would create a circular reference.`,sc(t,r));continue}if(n[r.name]){e.reportError(`Type ${t.name} can only implement ${r.name} once.`,sc(t,r));continue}n[r.name]=!0,hO(e,t,r),pO(e,t,r)}}function pO(e,t,n){const r=t.getFields();for(const c of Object.values(n.getFields())){const f=c.name,p=r[f];if(!p){e.reportError(`Interface field ${n.name}.${f} expected but ${t.name} does not provide it.`,[c.astNode,t.astNode,...t.extensionASTNodes]);continue}if(!Rl(e.schema,p.type,c.type)){var i,o;e.reportError(`Interface field ${n.name}.${f} expects type ${xe(c.type)} but ${t.name}.${f} is type ${xe(p.type)}.`,[(i=c.astNode)===null||i===void 0?void 0:i.type,(o=p.astNode)===null||o===void 0?void 0:o.type])}for(const h of c.args){const g=h.name,b=p.args.find(y=>y.name===g);if(!b){e.reportError(`Interface field argument ${n.name}.${f}(${g}:) expected but ${t.name}.${f} does not provide it.`,[h.astNode,p.astNode]);continue}if(!Ng(h.type,b.type)){var a,l;e.reportError(`Interface field argument ${n.name}.${f}(${g}:) expects type ${xe(h.type)} but ${t.name}.${f}(${g}:) is type ${xe(b.type)}.`,[(a=h.astNode)===null||a===void 0?void 0:a.type,(l=b.astNode)===null||l===void 0?void 0:l.type])}}for(const h of p.args){const g=h.name;!c.args.find(y=>y.name===g)&&Xc(h)&&e.reportError(`Object field ${t.name}.${f} includes required argument ${g} that is missing from the Interface field ${n.name}.${f}.`,[h.astNode,c.astNode])}}}function hO(e,t,n){const r=t.getInterfaces();for(const i of n.getInterfaces())r.includes(i)||e.reportError(i===t?`Type ${t.name} cannot implement ${n.name} because it would create a circular reference.`:`Type ${t.name} must implement ${i.name} because it is implemented by ${n.name}.`,[...sc(n,i),...sc(t,n)])}function mO(e,t){const n=t.getTypes();n.length===0&&e.reportError(`Union type ${t.name} must define one or more member types.`,[t.astNode,...t.extensionASTNodes]);const r=Object.create(null);for(const i of n){if(r[i.name]){e.reportError(`Union type ${t.name} can only include type ${i.name} once.`,L4(t,i.name));continue}r[i.name]=!0,et(i)||e.reportError(`Union type ${t.name} can only include Object types, it cannot include ${xe(i)}.`,L4(t,String(i)))}}function gO(e,t){const n=t.getValues();n.length===0&&e.reportError(`Enum type ${t.name} must define one or more values.`,[t.astNode,...t.extensionASTNodes]);for(const r of n)Sa(e,r)}function bO(e,t){const n=Object.values(t.getFields());n.length===0&&e.reportError(`Input Object type ${t.name} must define one or more fields.`,[t.astNode,...t.extensionASTNodes]);for(const o of n){if(Sa(e,o),!gi(o.type)){var r;e.reportError(`The type of ${t.name}.${o.name} must be Input Type but got: ${xe(o.type)}.`,(r=o.astNode)===null||r===void 0?void 0:r.type)}if(I_(o)&&o.deprecationReason!=null){var i;e.reportError(`Required input field ${t.name}.${o.name} cannot be deprecated.`,[yb(o.astNode),(i=o.astNode)===null||i===void 0?void 0:i.type])}t.isOneOf&&vO(t,o,e)}}function vO(e,t,n){if(rt(t.type)){var r;n.reportError(`OneOf input field ${e.name}.${t.name} must be nullable.`,(r=t.astNode)===null||r===void 0?void 0:r.type)}t.defaultValue!==void 0&&n.reportError(`OneOf input field ${e.name}.${t.name} cannot have a default value.`,t.astNode)}function yO(e){const t=Object.create(null),n=[],r=Object.create(null);return i;function i(o){if(t[o.name])return;t[o.name]=!0,r[o.name]=n.length;const a=Object.values(o.getFields());for(const l of a)if(rt(l.type)&&Ft(l.type.ofType)){const c=l.type.ofType,f=r[c.name];if(n.push(l),f===void 0)i(c);else{const p=n.slice(f),h=p.map(g=>g.name).join(".");e.reportError(`Cannot reference Input Object "${c.name}" within itself through a series of non-null fields: "${h}".`,p.map(g=>g.astNode))}n.pop()}r[o.name]=void 0}}function sc(e,t){const{astNode:n,extensionASTNodes:r}=e;return(n!=null?[n,...r]:r).flatMap(o=>{var a;return(a=o.interfaces)!==null&&a!==void 0?a:[]}).filter(o=>o.name.value===t.name)}function L4(e,t){const{astNode:n,extensionASTNodes:r}=e;return(n!=null?[n,...r]:r).flatMap(o=>{var a;return(a=o.types)!==null&&a!==void 0?a:[]}).filter(o=>o.name.value===t)}function yb(e){var t;return e==null||(t=e.directives)===null||t===void 0?void 0:t.find(n=>n.name.value===mb.name)}function Cr(e,t){switch(t.kind){case M.LIST_TYPE:{const n=Cr(e,t.type);return n&&new $n(n)}case M.NON_NULL_TYPE:{const n=Cr(e,t.type);return n&&new ze(n)}case M.NAMED_TYPE:return e.getType(t.name.value)}}class q_{constructor(t,n,r){this._schema=t,this._typeStack=[],this._parentTypeStack=[],this._inputTypeStack=[],this._fieldDefStack=[],this._defaultValueStack=[],this._directive=null,this._argument=null,this._enumValue=null,this._getFieldDef=r??xO,n&&(gi(n)&&this._inputTypeStack.push(n),Ro(n)&&this._parentTypeStack.push(n),Il(n)&&this._typeStack.push(n))}get[Symbol.toStringTag](){return"TypeInfo"}getType(){if(this._typeStack.length>0)return this._typeStack[this._typeStack.length-1]}getParentType(){if(this._parentTypeStack.length>0)return this._parentTypeStack[this._parentTypeStack.length-1]}getInputType(){if(this._inputTypeStack.length>0)return this._inputTypeStack[this._inputTypeStack.length-1]}getParentInputType(){if(this._inputTypeStack.length>1)return this._inputTypeStack[this._inputTypeStack.length-2]}getFieldDef(){if(this._fieldDefStack.length>0)return this._fieldDefStack[this._fieldDefStack.length-1]}getDefaultValue(){if(this._defaultValueStack.length>0)return this._defaultValueStack[this._defaultValueStack.length-1]}getDirective(){return this._directive}getArgument(){return this._argument}getEnumValue(){return this._enumValue}enter(t){const n=this._schema;switch(t.kind){case M.SELECTION_SET:{const i=Tn(this.getType());this._parentTypeStack.push(Ro(i)?i:void 0);break}case M.FIELD:{const i=this.getParentType();let o,a;i&&(o=this._getFieldDef(n,i,t),o&&(a=o.type)),this._fieldDefStack.push(o),this._typeStack.push(Il(a)?a:void 0);break}case M.DIRECTIVE:this._directive=n.getDirective(t.name.value);break;case M.OPERATION_DEFINITION:{const i=n.getRootType(t.operation);this._typeStack.push(et(i)?i:void 0);break}case M.INLINE_FRAGMENT:case M.FRAGMENT_DEFINITION:{const i=t.typeCondition,o=i?Cr(n,i):Tn(this.getType());this._typeStack.push(Il(o)?o:void 0);break}case M.VARIABLE_DEFINITION:{const i=Cr(n,t.type);this._inputTypeStack.push(gi(i)?i:void 0);break}case M.ARGUMENT:{var r;let i,o;const a=(r=this.getDirective())!==null&&r!==void 0?r:this.getFieldDef();a&&(i=a.args.find(l=>l.name===t.name.value),i&&(o=i.type)),this._argument=i,this._defaultValueStack.push(i?i.defaultValue:void 0),this._inputTypeStack.push(gi(o)?o:void 0);break}case M.LIST:{const i=pb(this.getInputType()),o=Cn(i)?i.ofType:i;this._defaultValueStack.push(void 0),this._inputTypeStack.push(gi(o)?o:void 0);break}case M.OBJECT_FIELD:{const i=Tn(this.getInputType());let o,a;Ft(i)&&(a=i.getFields()[t.name.value],a&&(o=a.type)),this._defaultValueStack.push(a?a.defaultValue:void 0),this._inputTypeStack.push(gi(o)?o:void 0);break}case M.ENUM:{const i=Tn(this.getInputType());let o;Un(i)&&(o=i.getValue(t.value)),this._enumValue=o;break}}}leave(t){switch(t.kind){case M.SELECTION_SET:this._parentTypeStack.pop();break;case M.FIELD:this._fieldDefStack.pop(),this._typeStack.pop();break;case M.DIRECTIVE:this._directive=null;break;case M.OPERATION_DEFINITION:case M.INLINE_FRAGMENT:case M.FRAGMENT_DEFINITION:this._typeStack.pop();break;case M.VARIABLE_DEFINITION:this._inputTypeStack.pop();break;case M.ARGUMENT:this._argument=null,this._defaultValueStack.pop(),this._inputTypeStack.pop();break;case M.LIST:case M.OBJECT_FIELD:this._defaultValueStack.pop(),this._inputTypeStack.pop();break;case M.ENUM:this._enumValue=null;break}}}function xO(e,t,n){const r=n.name.value;if(r===D0.name&&e.getQueryType()===t)return D0;if(r===R0.name&&e.getQueryType()===t)return R0;if(r===L0.name&&Ro(t))return L0;if(et(t)||it(t))return t.getFields()[r]}function wO(e,t){return{enter(...n){const r=n[0];e.enter(r);const i=A0(t,r.kind).enter;if(i){const o=i.apply(t,n);return o!==void 0&&(e.leave(r),_g(o)&&e.enter(o)),o}},leave(...n){const r=n[0],i=A0(t,r.kind).leave;let o;return i&&(o=i.apply(t,n)),e.leave(r),o}}}function EO(e){return e.kind===M.OPERATION_DEFINITION||e.kind===M.FRAGMENT_DEFINITION}function SO(e){return e.kind===M.SCHEMA_DEFINITION||Jc(e)||e.kind===M.DIRECTIVE_DEFINITION}function Jc(e){return e.kind===M.SCALAR_TYPE_DEFINITION||e.kind===M.OBJECT_TYPE_DEFINITION||e.kind===M.INTERFACE_TYPE_DEFINITION||e.kind===M.UNION_TYPE_DEFINITION||e.kind===M.ENUM_TYPE_DEFINITION||e.kind===M.INPUT_OBJECT_TYPE_DEFINITION}function _O(e){return e.kind===M.SCHEMA_EXTENSION||xb(e)}function xb(e){return e.kind===M.SCALAR_TYPE_EXTENSION||e.kind===M.OBJECT_TYPE_EXTENSION||e.kind===M.INTERFACE_TYPE_EXTENSION||e.kind===M.UNION_TYPE_EXTENSION||e.kind===M.ENUM_TYPE_EXTENSION||e.kind===M.INPUT_OBJECT_TYPE_EXTENSION}function TO(e){return{Document(t){for(const n of t.definitions)if(!EO(n)){const r=n.kind===M.SCHEMA_DEFINITION||n.kind===M.SCHEMA_EXTENSION?"schema":'"'+n.name.value+'"';e.reportError(new ge(`The ${r} definition is not executable.`,{nodes:n}))}return!1}}}function kO(e){return{Field(t){const n=e.getParentType();if(n&&!e.getFieldDef()){const i=e.getSchema(),o=t.name.value;let a=As("to use an inline fragment on",CO(i,n,o));a===""&&(a=As(NO(n,o))),e.reportError(new ge(`Cannot query field "${o}" on type "${n.name}".`+a,{nodes:t}))}}}}function CO(e,t,n){if(!Cs(t))return[];const r=new Set,i=Object.create(null);for(const a of e.getPossibleTypes(t))if(a.getFields()[n]){r.add(a),i[a.name]=1;for(const l of a.getInterfaces()){var o;l.getFields()[n]&&(r.add(l),i[l.name]=((o=i[l.name])!==null&&o!==void 0?o:0)+1)}}return[...r].sort((a,l)=>{const c=i[l.name]-i[a.name];return c!==0?c:it(a)&&e.isSubType(a,l)?-1:it(l)&&e.isSubType(l,a)?1:fb(a.name,l.name)}).map(a=>a.name)}function NO(e,t){if(et(e)||it(e)){const n=Object.keys(e.getFields());return Na(t,n)}return[]}function AO(e){return{InlineFragment(t){const n=t.typeCondition;if(n){const r=Cr(e.getSchema(),n);if(r&&!Ro(r)){const i=bt(n);e.reportError(new ge(`Fragment cannot condition on non composite type "${i}".`,{nodes:n}))}}},FragmentDefinition(t){const n=Cr(e.getSchema(),t.typeCondition);if(n&&!Ro(n)){const r=bt(t.typeCondition);e.reportError(new ge(`Fragment "${t.name.value}" cannot condition on non composite type "${r}".`,{nodes:t.typeCondition}))}}}}function IO(e){return{...W_(e),Argument(t){const n=e.getArgument(),r=e.getFieldDef(),i=e.getParentType();if(!n&&r&&i){const o=t.name.value,a=r.args.map(c=>c.name),l=Na(o,a);e.reportError(new ge(`Unknown argument "${o}" on field "${i.name}.${r.name}".`+As(l),{nodes:t}))}}}}function W_(e){const t=Object.create(null),n=e.getSchema(),r=n?n.getDirectives():Aa;for(const a of r)t[a.name]=a.args.map(l=>l.name);const i=e.getDocument().definitions;for(const a of i)if(a.kind===M.DIRECTIVE_DEFINITION){var o;const l=(o=a.arguments)!==null&&o!==void 0?o:[];t[a.name.value]=l.map(c=>c.name.value)}return{Directive(a){const l=a.name.value,c=t[l];if(a.arguments&&c)for(const f of a.arguments){const p=f.name.value;if(!c.includes(p)){const h=Na(p,c);e.reportError(new ge(`Unknown argument "${p}" on directive "@${l}".`+As(h),{nodes:f}))}}return!1}}}function G_(e){const t=Object.create(null),n=e.getSchema(),r=n?n.getDirectives():Aa;for(const o of r)t[o.name]=o.locations;const i=e.getDocument().definitions;for(const o of i)o.kind===M.DIRECTIVE_DEFINITION&&(t[o.name.value]=o.locations.map(a=>a.value));return{Directive(o,a,l,c,f){const p=o.name.value,h=t[p];if(!h){e.reportError(new ge(`Unknown directive "@${p}".`,{nodes:o}));return}const g=DO(f);g&&!h.includes(g)&&e.reportError(new ge(`Directive "@${p}" may not be used on ${g}.`,{nodes:o}))}}}function DO(e){const t=e[e.length-1];switch("kind"in t||zr(!1),t.kind){case M.OPERATION_DEFINITION:return RO(t.operation);case M.FIELD:return Le.FIELD;case M.FRAGMENT_SPREAD:return Le.FRAGMENT_SPREAD;case M.INLINE_FRAGMENT:return Le.INLINE_FRAGMENT;case M.FRAGMENT_DEFINITION:return Le.FRAGMENT_DEFINITION;case M.VARIABLE_DEFINITION:return Le.VARIABLE_DEFINITION;case M.SCHEMA_DEFINITION:case M.SCHEMA_EXTENSION:return Le.SCHEMA;case M.SCALAR_TYPE_DEFINITION:case M.SCALAR_TYPE_EXTENSION:return Le.SCALAR;case M.OBJECT_TYPE_DEFINITION:case M.OBJECT_TYPE_EXTENSION:return Le.OBJECT;case M.FIELD_DEFINITION:return Le.FIELD_DEFINITION;case M.INTERFACE_TYPE_DEFINITION:case M.INTERFACE_TYPE_EXTENSION:return Le.INTERFACE;case M.UNION_TYPE_DEFINITION:case M.UNION_TYPE_EXTENSION:return Le.UNION;case M.ENUM_TYPE_DEFINITION:case M.ENUM_TYPE_EXTENSION:return Le.ENUM;case M.ENUM_VALUE_DEFINITION:return Le.ENUM_VALUE;case M.INPUT_OBJECT_TYPE_DEFINITION:case M.INPUT_OBJECT_TYPE_EXTENSION:return Le.INPUT_OBJECT;case M.INPUT_VALUE_DEFINITION:{const n=e[e.length-3];return"kind"in n||zr(!1),n.kind===M.INPUT_OBJECT_TYPE_DEFINITION?Le.INPUT_FIELD_DEFINITION:Le.ARGUMENT_DEFINITION}default:zr(!1,"Unexpected kind: "+xe(t.kind))}}function RO(e){switch(e){case Qn.QUERY:return Le.QUERY;case Qn.MUTATION:return Le.MUTATION;case Qn.SUBSCRIPTION:return Le.SUBSCRIPTION}}function LO(e){return{FragmentSpread(t){const n=t.name.value;e.getFragment(n)||e.reportError(new ge(`Unknown fragment "${n}".`,{nodes:t.name}))}}}function Q_(e){const t=e.getSchema(),n=t?t.getTypeMap():Object.create(null),r=Object.create(null);for(const o of e.getDocument().definitions)Jc(o)&&(r[o.name.value]=!0);const i=[...Object.keys(n),...Object.keys(r)];return{NamedType(o,a,l,c,f){const p=o.name.value;if(!n[p]&&!r[p]){var h;const g=(h=f[2])!==null&&h!==void 0?h:l,b=g!=null&&PO(g);if(b&&P4.includes(p))return;const y=Na(p,b?P4.concat(i):i);e.reportError(new ge(`Unknown type "${p}".`+As(y),{nodes:o}))}}}}const P4=[...xp,...Ep].map(e=>e.name);function PO(e){return"kind"in e&&(SO(e)||_O(e))}function FO(e){let t=0;return{Document(n){t=n.definitions.filter(r=>r.kind===M.OPERATION_DEFINITION).length},OperationDefinition(n){!n.name&&t>1&&e.reportError(new ge("This anonymous operation must be the only defined operation.",{nodes:n}))}}}function OO(e){var t,n,r;const i=e.getSchema(),o=(t=(n=(r=i==null?void 0:i.astNode)!==null&&r!==void 0?r:i==null?void 0:i.getQueryType())!==null&&n!==void 0?n:i==null?void 0:i.getMutationType())!==null&&t!==void 0?t:i==null?void 0:i.getSubscriptionType();let a=0;return{SchemaDefinition(l){if(o){e.reportError(new ge("Cannot define a new schema within a schema extension.",{nodes:l}));return}a>0&&e.reportError(new ge("Must provide only one schema definition.",{nodes:l})),++a}}}const MO=3;function $O(e){function t(n,r=Object.create(null),i=0){if(n.kind===M.FRAGMENT_SPREAD){const o=n.name.value;if(r[o]===!0)return!1;const a=e.getFragment(o);if(!a)return!1;try{return r[o]=!0,t(a,r,i)}finally{r[o]=void 0}}if(n.kind===M.FIELD&&(n.name.value==="fields"||n.name.value==="interfaces"||n.name.value==="possibleTypes"||n.name.value==="inputFields")&&(i++,i>=MO))return!0;if("selectionSet"in n&&n.selectionSet){for(const o of n.selectionSet.selections)if(t(o,r,i))return!0}return!1}return{Field(n){if((n.name.value==="__schema"||n.name.value==="__type")&&t(n))return e.reportError(new ge("Maximum introspection depth exceeded",{nodes:[n]})),!1}}}function jO(e){const t=Object.create(null),n=[],r=Object.create(null);return{OperationDefinition:()=>!1,FragmentDefinition(o){return i(o),!1}};function i(o){if(t[o.name.value])return;const a=o.name.value;t[a]=!0;const l=e.getFragmentSpreads(o.selectionSet);if(l.length!==0){r[a]=n.length;for(const c of l){const f=c.name.value,p=r[f];if(n.push(c),p===void 0){const h=e.getFragment(f);h&&i(h)}else{const h=n.slice(p),g=h.slice(0,-1).map(b=>'"'+b.name.value+'"').join(", ");e.reportError(new ge(`Cannot spread fragment "${f}" within itself`+(g!==""?` via ${g}.`:"."),{nodes:h}))}n.pop()}r[a]=void 0}}}function BO(e){let t=Object.create(null);return{OperationDefinition:{enter(){t=Object.create(null)},leave(n){const r=e.getRecursiveVariableUsages(n);for(const{node:i}of r){const o=i.name.value;t[o]!==!0&&e.reportError(new ge(n.name?`Variable "$${o}" is not defined by operation "${n.name.value}".`:`Variable "$${o}" is not defined.`,{nodes:[i,n]}))}}},VariableDefinition(n){t[n.variable.name.value]=!0}}}function VO(e){const t=[],n=[];return{OperationDefinition(r){return t.push(r),!1},FragmentDefinition(r){return n.push(r),!1},Document:{leave(){const r=Object.create(null);for(const i of t)for(const o of e.getRecursivelyReferencedFragments(i))r[o.name.value]=!0;for(const i of n){const o=i.name.value;r[o]!==!0&&e.reportError(new ge(`Fragment "${o}" is never used.`,{nodes:i}))}}}}}function UO(e){let t=[];return{OperationDefinition:{enter(){t=[]},leave(n){const r=Object.create(null),i=e.getRecursiveVariableUsages(n);for(const{node:o}of i)r[o.name.value]=!0;for(const o of t){const a=o.variable.name.value;r[a]!==!0&&e.reportError(new ge(n.name?`Variable "$${a}" is never used in operation "${n.name.value}".`:`Variable "$${a}" is never used.`,{nodes:o}))}}},VariableDefinition(n){t.push(n)}}}function wb(e){switch(e.kind){case M.OBJECT:return{...e,fields:zO(e.fields)};case M.LIST:return{...e,values:e.values.map(wb)};case M.INT:case M.FLOAT:case M.STRING:case M.BOOLEAN:case M.NULL:case M.ENUM:case M.VARIABLE:return e}}function zO(e){return e.map(t=>({...t,value:wb(t.value)})).sort((t,n)=>fb(t.name.value,n.name.value))}function Y_(e){return Array.isArray(e)?e.map(([t,n])=>`subfields "${t}" conflict because `+Y_(n)).join(" and "):e}function HO(e){const t=new J_,n=new XO,r=new Map;return{SelectionSet(i){const o=qO(e,r,t,n,e.getParentType(),i);for(const[[a,l],c,f]of o){const p=Y_(l);e.reportError(new ge(`Fields "${a}" conflict because ${p}. Use different aliases on the fields to fetch both if this was intentional.`,{nodes:c.concat(f)}))}}}}function qO(e,t,n,r,i,o){const a=[],[l,c]=O0(e,t,i,o);if(GO(e,a,t,n,r,l),c.length!==0)for(let f=0;f1)for(let c=0;c[o.value,a]));return n.every(o=>{const a=o.value,l=i.get(o.name.value);return l===void 0?!1:F4(a)===F4(l)})}function F4(e){return bt(wb(e))}function Ig(e,t){return Cn(e)?Cn(t)?Ig(e.ofType,t.ofType):!0:Cn(t)?!0:rt(e)?rt(t)?Ig(e.ofType,t.ofType):!0:rt(t)?!0:Is(e)||Is(t)?e!==t:!1}function O0(e,t,n,r){const i=t.get(r);if(i)return i;const o=Object.create(null),a=Object.create(null);Z_(e,n,r,o,a);const l=[o,Object.keys(a)];return t.set(r,l),l}function Dg(e,t,n){const r=t.get(n.selectionSet);if(r)return r;const i=Cr(e.getSchema(),n.typeCondition);return O0(e,t,i,n.selectionSet)}function Z_(e,t,n,r,i){for(const o of n.selections)switch(o.kind){case M.FIELD:{const a=o.name.value;let l;(et(t)||it(t))&&(l=t.getFields()[a]);const c=o.alias?o.alias.value:a;r[c]||(r[c]=[]),r[c].push([t,o,l]);break}case M.FRAGMENT_SPREAD:i[o.name.value]=!0;break;case M.INLINE_FRAGMENT:{const a=o.typeCondition,l=a?Cr(e.getSchema(),a):t;Z_(e,l,o.selectionSet,r,i);break}}}function YO(e,t,n,r){if(e.length>0)return[[t,e.map(([i])=>i)],[n,...e.map(([,i])=>i).flat()],[r,...e.map(([,,i])=>i).flat()]]}class J_{constructor(){this._data=new Map}has(t,n,r){var i;const o=(i=this._data.get(t))===null||i===void 0?void 0:i.get(n);return o===void 0?!1:r?!0:r===o}add(t,n,r){const i=this._data.get(t);i===void 0?this._data.set(t,new Map([[n,r]])):i.set(n,r)}}class XO{constructor(){this._orderedPairSet=new J_}has(t,n,r){return to.name.value));for(const o of r.args)if(!i.has(o.name)&&Xc(o)){const a=xe(o.type);e.reportError(new ge(`Field "${r.name}" argument "${o.name}" of type "${a}" is required, but it was not provided.`,{nodes:t}))}}}}}function K_(e){var t;const n=Object.create(null),r=e.getSchema(),i=(t=r==null?void 0:r.getDirectives())!==null&&t!==void 0?t:Aa;for(const l of i)n[l.name]=wa(l.args.filter(Xc),c=>c.name);const o=e.getDocument().definitions;for(const l of o)if(l.kind===M.DIRECTIVE_DEFINITION){var a;const c=(a=l.arguments)!==null&&a!==void 0?a:[];n[l.name.value]=wa(c.filter(iM),f=>f.name.value)}return{Directive:{leave(l){const c=l.name.value,f=n[c];if(f){var p;const h=(p=l.arguments)!==null&&p!==void 0?p:[],g=new Set(h.map(b=>b.name.value));for(const[b,y]of Object.entries(f))if(!g.has(b)){const w=yp(y.type)?xe(y.type):bt(y.type);e.reportError(new ge(`Directive "@${c}" argument "${b}" of type "${w}" is required, but it was not provided.`,{nodes:l}))}}}}}}function iM(e){return e.type.kind===M.NON_NULL_TYPE&&e.defaultValue==null}function oM(e){return{Field(t){const n=e.getType(),r=t.selectionSet;if(n)if(Is(Tn(n))){if(r){const i=t.name.value,o=xe(n);e.reportError(new ge(`Field "${i}" must not have a selection since type "${o}" has no subfields.`,{nodes:r}))}}else if(r){if(r.selections.length===0){const i=t.name.value,o=xe(n);e.reportError(new ge(`Field "${i}" of type "${o}" must have at least one field selected.`,{nodes:t}))}}else{const i=t.name.value,o=xe(n);e.reportError(new ge(`Field "${i}" of type "${o}" must have a selection of subfields. Did you mean "${i} { ... }"?`,{nodes:t}))}}}}function _s(e,t,n){if(e){if(e.kind===M.VARIABLE){const r=e.name.value;if(n==null||n[r]===void 0)return;const i=n[r];return i===null&&rt(t)?void 0:i}if(rt(t))return e.kind===M.NULL?void 0:_s(e,t.ofType,n);if(e.kind===M.NULL)return null;if(Cn(t)){const r=t.ofType;if(e.kind===M.LIST){const o=[];for(const a of e.values)if(O4(a,n)){if(rt(r))return;o.push(null)}else{const l=_s(a,r,n);if(l===void 0)return;o.push(l)}return o}const i=_s(e,r,n);return i===void 0?void 0:[i]}if(Ft(t)){if(e.kind!==M.OBJECT)return;const r=Object.create(null),i=wa(e.fields,o=>o.name.value);for(const o of Object.values(t.getFields())){const a=i[o.name];if(!a||O4(a.value,n)){if(o.defaultValue!==void 0)r[o.name]=o.defaultValue;else if(rt(o.type))return;continue}const l=_s(a.value,o.type,n);if(l===void 0)return;r[o.name]=l}if(t.isOneOf){const o=Object.keys(r);if(o.length!==1||r[o[0]]===null)return}return r}if(Is(t)){let r;try{r=t.parseLiteral(e,n)}catch{return}return r===void 0?void 0:r}zr(!1,"Unexpected input type: "+xe(t))}}function O4(e,t){return e.kind===M.VARIABLE&&(t==null||t[e.name.value]===void 0)}function sM(e,t,n){var r;const i={},o=(r=t.arguments)!==null&&r!==void 0?r:[],a=wa(o,l=>l.name.value);for(const l of e.args){const c=l.name,f=l.type,p=a[c];if(!p){if(l.defaultValue!==void 0)i[c]=l.defaultValue;else if(rt(f))throw new ge(`Argument "${c}" of required type "${xe(f)}" was not provided.`,{nodes:t});continue}const h=p.value;let g=h.kind===M.NULL;if(h.kind===M.VARIABLE){const y=h.name.value;if(n==null||!aM(n,y)){if(l.defaultValue!==void 0)i[c]=l.defaultValue;else if(rt(f))throw new ge(`Argument "${c}" of required type "${xe(f)}" was provided the variable "$${y}" which was not provided a runtime value.`,{nodes:h});continue}g=n[y]==null}if(g&&rt(f))throw new ge(`Argument "${c}" of non-null type "${xe(f)}" must not be null.`,{nodes:h});const b=_s(h,f,n);if(b===void 0)throw new ge(`Argument "${c}" has invalid value ${bt(h)}.`,{nodes:h});i[c]=b}return i}function kc(e,t,n){var r;const i=(r=t.directives)===null||r===void 0?void 0:r.find(o=>o.name.value===e.name);if(i)return sM(e,i,n)}function aM(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function lM(e,t,n,r,i){const o=new Map;return Rg(e,t,n,r,i,o,new Set),o}function Rg(e,t,n,r,i,o,a){for(const l of i.selections)switch(l.kind){case M.FIELD:{if(!n1(n,l))continue;const c=uM(l),f=o.get(c);f!==void 0?f.push(l):o.set(c,[l]);break}case M.INLINE_FRAGMENT:{if(!n1(n,l)||!M4(e,l,r))continue;Rg(e,t,n,r,l.selectionSet,o,a);break}case M.FRAGMENT_SPREAD:{const c=l.name.value;if(a.has(c)||!n1(n,l))continue;a.add(c);const f=t[c];if(!f||!M4(e,f,r))continue;Rg(e,t,n,r,f.selectionSet,o,a);break}}}function n1(e,t){const n=kc(O_,t,e);if((n==null?void 0:n.if)===!0)return!1;const r=kc(F_,t,e);return(r==null?void 0:r.if)!==!1}function M4(e,t,n){const r=t.typeCondition;if(!r)return!0;const i=Cr(e,r);return i===n?!0:Cs(i)?e.isSubType(i,n):!1}function uM(e){return e.alias?e.alias.value:e.name.value}function cM(e){return{OperationDefinition(t){if(t.operation==="subscription"){const n=e.getSchema(),r=n.getSubscriptionType();if(r){const i=t.name?t.name.value:null,o=Object.create(null),a=e.getDocument(),l=Object.create(null);for(const f of a.definitions)f.kind===M.FRAGMENT_DEFINITION&&(l[f.name.value]=f);const c=lM(n,l,o,r,t.selectionSet);if(c.size>1){const h=[...c.values()].slice(1).flat();e.reportError(new ge(i!=null?`Subscription "${i}" must select only one top level field.`:"Anonymous Subscription must select only one top level field.",{nodes:h}))}for(const f of c.values())f[0].name.value.startsWith("__")&&e.reportError(new ge(i!=null?`Subscription "${i}" must not select an introspection top level field.`:"Anonymous Subscription must not select an introspection top level field.",{nodes:f}))}}}}}function Sb(e,t){const n=new Map;for(const r of e){const i=t(r),o=n.get(i);o===void 0?n.set(i,[r]):o.push(r)}return n}function fM(e){return{DirectiveDefinition(r){var i;const o=(i=r.arguments)!==null&&i!==void 0?i:[];return n(`@${r.name.value}`,o)},InterfaceTypeDefinition:t,InterfaceTypeExtension:t,ObjectTypeDefinition:t,ObjectTypeExtension:t};function t(r){var i;const o=r.name.value,a=(i=r.fields)!==null&&i!==void 0?i:[];for(const c of a){var l;const f=c.name.value,p=(l=c.arguments)!==null&&l!==void 0?l:[];n(`${o}.${f}`,p)}return!1}function n(r,i){const o=Sb(i,a=>a.name.value);for(const[a,l]of o)l.length>1&&e.reportError(new ge(`Argument "${r}(${a}:)" can only be defined once.`,{nodes:l.map(c=>c.name)}));return!1}}function e7(e){return{Field:t,Directive:t};function t(n){var r;const i=(r=n.arguments)!==null&&r!==void 0?r:[],o=Sb(i,a=>a.name.value);for(const[a,l]of o)l.length>1&&e.reportError(new ge(`There can be only one argument named "${a}".`,{nodes:l.map(c=>c.name)}))}}function dM(e){const t=Object.create(null),n=e.getSchema();return{DirectiveDefinition(r){const i=r.name.value;if(n!=null&&n.getDirective(i)){e.reportError(new ge(`Directive "@${i}" already exists in the schema. It cannot be redefined.`,{nodes:r.name}));return}return t[i]?e.reportError(new ge(`There can be only one directive named "@${i}".`,{nodes:[t[i],r.name]})):t[i]=r.name,!1}}}function t7(e){const t=Object.create(null),n=e.getSchema(),r=n?n.getDirectives():Aa;for(const l of r)t[l.name]=!l.isRepeatable;const i=e.getDocument().definitions;for(const l of i)l.kind===M.DIRECTIVE_DEFINITION&&(t[l.name.value]=!l.repeatable);const o=Object.create(null),a=Object.create(null);return{enter(l){if(!("directives"in l)||!l.directives)return;let c;if(l.kind===M.SCHEMA_DEFINITION||l.kind===M.SCHEMA_EXTENSION)c=o;else if(Jc(l)||xb(l)){const f=l.name.value;c=a[f],c===void 0&&(a[f]=c=Object.create(null))}else c=Object.create(null);for(const f of l.directives){const p=f.name.value;t[p]&&(c[p]?e.reportError(new ge(`The directive "@${p}" can only be used once at this location.`,{nodes:[c[p],f]})):c[p]=f)}}}}function pM(e){const t=e.getSchema(),n=t?t.getTypeMap():Object.create(null),r=Object.create(null);return{EnumTypeDefinition:i,EnumTypeExtension:i};function i(o){var a;const l=o.name.value;r[l]||(r[l]=Object.create(null));const c=(a=o.values)!==null&&a!==void 0?a:[],f=r[l];for(const p of c){const h=p.name.value,g=n[l];Un(g)&&g.getValue(h)?e.reportError(new ge(`Enum value "${l}.${h}" already exists in the schema. It cannot also be defined in this type extension.`,{nodes:p.name})):f[h]?e.reportError(new ge(`Enum value "${l}.${h}" can only be defined once.`,{nodes:[f[h],p.name]})):f[h]=p.name}return!1}}function hM(e){const t=e.getSchema(),n=t?t.getTypeMap():Object.create(null),r=Object.create(null);return{InputObjectTypeDefinition:i,InputObjectTypeExtension:i,InterfaceTypeDefinition:i,InterfaceTypeExtension:i,ObjectTypeDefinition:i,ObjectTypeExtension:i};function i(o){var a;const l=o.name.value;r[l]||(r[l]=Object.create(null));const c=(a=o.fields)!==null&&a!==void 0?a:[],f=r[l];for(const p of c){const h=p.name.value;mM(n[l],h)?e.reportError(new ge(`Field "${l}.${h}" already exists in the schema. It cannot also be defined in this type extension.`,{nodes:p.name})):f[h]?e.reportError(new ge(`Field "${l}.${h}" can only be defined once.`,{nodes:[f[h],p.name]})):f[h]=p.name}return!1}}function mM(e,t){return et(e)||it(e)||Ft(e)?e.getFields()[t]!=null:!1}function gM(e){const t=Object.create(null);return{OperationDefinition:()=>!1,FragmentDefinition(n){const r=n.name.value;return t[r]?e.reportError(new ge(`There can be only one fragment named "${r}".`,{nodes:[t[r],n.name]})):t[r]=n.name,!1}}}function n7(e){const t=[];let n=Object.create(null);return{ObjectValue:{enter(){t.push(n),n=Object.create(null)},leave(){const r=t.pop();r||zr(!1),n=r}},ObjectField(r){const i=r.name.value;n[i]?e.reportError(new ge(`There can be only one input field named "${i}".`,{nodes:[n[i],r.name]})):n[i]=r.name}}}function bM(e){const t=Object.create(null);return{OperationDefinition(n){const r=n.name;return r&&(t[r.value]?e.reportError(new ge(`There can be only one operation named "${r.value}".`,{nodes:[t[r.value],r]})):t[r.value]=r),!1},FragmentDefinition:()=>!1}}function vM(e){const t=e.getSchema(),n=Object.create(null),r=t?{query:t.getQueryType(),mutation:t.getMutationType(),subscription:t.getSubscriptionType()}:{};return{SchemaDefinition:i,SchemaExtension:i};function i(o){var a;const l=(a=o.operationTypes)!==null&&a!==void 0?a:[];for(const c of l){const f=c.operation,p=n[f];r[f]?e.reportError(new ge(`Type for ${f} already defined in the schema. It cannot be redefined.`,{nodes:c})):p?e.reportError(new ge(`There can be only one ${f} type in schema.`,{nodes:[p,c]})):n[f]=c}return!1}}function yM(e){const t=Object.create(null),n=e.getSchema();return{ScalarTypeDefinition:r,ObjectTypeDefinition:r,InterfaceTypeDefinition:r,UnionTypeDefinition:r,EnumTypeDefinition:r,InputObjectTypeDefinition:r};function r(i){const o=i.name.value;if(n!=null&&n.getType(o)){e.reportError(new ge(`Type "${o}" already exists in the schema. It cannot also be defined in this type definition.`,{nodes:i.name}));return}return t[o]?e.reportError(new ge(`There can be only one type named "${o}".`,{nodes:[t[o],i.name]})):t[o]=i.name,!1}}function xM(e){return{OperationDefinition(t){var n;const r=(n=t.variableDefinitions)!==null&&n!==void 0?n:[],i=Sb(r,o=>o.variable.name.value);for(const[o,a]of i)a.length>1&&e.reportError(new ge(`There can be only one variable named "$${o}".`,{nodes:a.map(l=>l.variable.name)}))}}}function wM(e){let t={};return{OperationDefinition:{enter(){t={}}},VariableDefinition(n){t[n.variable.name.value]=n},ListValue(n){const r=pb(e.getParentInputType());if(!Cn(r))return Ks(e,n),!1},ObjectValue(n){const r=Tn(e.getInputType());if(!Ft(r))return Ks(e,n),!1;const i=wa(n.fields,o=>o.name.value);for(const o of Object.values(r.getFields()))if(!i[o.name]&&I_(o)){const l=xe(o.type);e.reportError(new ge(`Field "${r.name}.${o.name}" of required type "${l}" was not provided.`,{nodes:n}))}r.isOneOf&&EM(e,n,r,i,t)},ObjectField(n){const r=Tn(e.getParentInputType());if(!e.getInputType()&&Ft(r)){const o=Na(n.name.value,Object.keys(r.getFields()));e.reportError(new ge(`Field "${n.name.value}" is not defined by type "${r.name}".`+As(o),{nodes:n}))}},NullValue(n){const r=e.getInputType();rt(r)&&e.reportError(new ge(`Expected value of type "${xe(r)}", found ${bt(n)}.`,{nodes:n}))},EnumValue:n=>Ks(e,n),IntValue:n=>Ks(e,n),FloatValue:n=>Ks(e,n),StringValue:n=>Ks(e,n),BooleanValue:n=>Ks(e,n)}}function Ks(e,t){const n=e.getInputType();if(!n)return;const r=Tn(n);if(!Is(r)){const i=xe(n);e.reportError(new ge(`Expected value of type "${i}", found ${bt(t)}.`,{nodes:t}));return}try{if(r.parseLiteral(t,void 0)===void 0){const o=xe(n);e.reportError(new ge(`Expected value of type "${o}", found ${bt(t)}.`,{nodes:t}))}}catch(i){const o=xe(n);i instanceof ge?e.reportError(i):e.reportError(new ge(`Expected value of type "${o}", found ${bt(t)}; `+i.message,{nodes:t,originalError:i}))}}function EM(e,t,n,r,i){var o;const a=Object.keys(r);if(a.length!==1){e.reportError(new ge(`OneOf Input Object "${n.name}" must specify exactly one key.`,{nodes:[t]}));return}const c=(o=r[a[0]])===null||o===void 0?void 0:o.value,f=!c||c.kind===M.NULL,p=(c==null?void 0:c.kind)===M.VARIABLE;if(f){e.reportError(new ge(`Field "${n.name}.${a[0]}" must be non-null.`,{nodes:[t]}));return}if(p){const h=c.name.value;i[h].type.kind!==M.NON_NULL_TYPE&&e.reportError(new ge(`Variable "${h}" must be non-nullable to be used for OneOf Input Object "${n.name}".`,{nodes:[t]}))}}function SM(e){return{VariableDefinition(t){const n=Cr(e.getSchema(),t.type);if(n!==void 0&&!gi(n)){const r=t.variable.name.value,i=bt(t.type);e.reportError(new ge(`Variable "$${r}" cannot be non-input type "${i}".`,{nodes:t.type}))}}}}function _M(e){let t=Object.create(null);return{OperationDefinition:{enter(){t=Object.create(null)},leave(n){const r=e.getRecursiveVariableUsages(n);for(const{node:i,type:o,defaultValue:a}of r){const l=i.name.value,c=t[l];if(c&&o){const f=e.getSchema(),p=Cr(f,c.type);if(p&&!TM(f,p,c.defaultValue,o,a)){const h=xe(p),g=xe(o);e.reportError(new ge(`Variable "$${l}" of type "${h}" used in position expecting type "${g}".`,{nodes:[c,i]}))}}}}},VariableDefinition(n){t[n.variable.name.value]=n}}}function TM(e,t,n,r,i){if(rt(r)&&!rt(t)){if(!(n!=null&&n.kind!==M.NULL)&&!(i!==void 0))return!1;const l=r.ofType;return Rl(e,t,l)}return Rl(e,t,r)}const kM=Object.freeze([$O]);Object.freeze([TO,bM,FO,cM,Q_,AO,SM,oM,kO,gM,LO,VO,ZO,jO,xM,BO,UO,G_,t7,IO,e7,wM,rM,_M,HO,n7,...kM]);const CM=Object.freeze([OO,vM,yM,pM,hM,fM,dM,Q_,G_,t7,KO,W_,e7,n7,K_]);class NM{constructor(t,n){this._ast=t,this._fragments=void 0,this._fragmentSpreads=new Map,this._recursivelyReferencedFragments=new Map,this._onError=n}get[Symbol.toStringTag](){return"ASTValidationContext"}reportError(t){this._onError(t)}getDocument(){return this._ast}getFragment(t){let n;if(this._fragments)n=this._fragments;else{n=Object.create(null);for(const r of this.getDocument().definitions)r.kind===M.FRAGMENT_DEFINITION&&(n[r.name.value]=r);this._fragments=n}return n[t]}getFragmentSpreads(t){let n=this._fragmentSpreads.get(t);if(!n){n=[];const r=[t];let i;for(;i=r.pop();)for(const o of i.selections)o.kind===M.FRAGMENT_SPREAD?n.push(o):o.selectionSet&&r.push(o.selectionSet);this._fragmentSpreads.set(t,n)}return n}getRecursivelyReferencedFragments(t){let n=this._recursivelyReferencedFragments.get(t);if(!n){n=[];const r=Object.create(null),i=[t.selectionSet];let o;for(;o=i.pop();)for(const a of this.getFragmentSpreads(o)){const l=a.name.value;if(r[l]!==!0){r[l]=!0;const c=this.getFragment(l);c&&(n.push(c),i.push(c.selectionSet))}}this._recursivelyReferencedFragments.set(t,n)}return n}}class AM extends NM{constructor(t,n,r){super(t,r),this._schema=n}get[Symbol.toStringTag](){return"SDLValidationContext"}getSchema(){return this._schema}}function IM(e,t,n=CM){const r=[],i=new AM(e,t,a=>{r.push(a)}),o=n.map(a=>a(i));return xi(e,YF(o)),r}function DM(e){const t=IM(e);if(t.length!==0)throw new Error(t.map(n=>n.message).join(` + +`))}function RM(e){const t={descriptions:!0,specifiedByUrl:!1,directiveIsRepeatable:!1,schemaDescription:!1,inputValueDeprecation:!1,oneOf:!1,...e},n=t.descriptions?"description":"",r=t.specifiedByUrl?"specifiedByURL":"",i=t.directiveIsRepeatable?"isRepeatable":"",o=t.schemaDescription?n:"";function a(c){return t.inputValueDeprecation?c:""}const l=t.oneOf?"isOneOf":"";return` + query IntrospectionQuery { + __schema { + ${o} + queryType { name kind } + mutationType { name kind } + subscriptionType { name kind } + types { + ...FullType + } + directives { + name + ${n} + ${i} + locations + args${a("(includeDeprecated: true)")} { + ...InputValue + } + } + } + } + + fragment FullType on __Type { + kind + name + ${n} + ${r} + ${l} + fields(includeDeprecated: true) { + name + ${n} + args${a("(includeDeprecated: true)")} { + ...InputValue + } + type { + ...TypeRef + } + isDeprecated + deprecationReason + } + inputFields${a("(includeDeprecated: true)")} { + ...InputValue + } + interfaces { + ...TypeRef + } + enumValues(includeDeprecated: true) { + name + ${n} + isDeprecated + deprecationReason + } + possibleTypes { + ...TypeRef + } + } + + fragment InputValue on __InputValue { + name + ${n} + type { ...TypeRef } + defaultValue + ${a("isDeprecated")} + ${a("deprecationReason")} + } + + fragment TypeRef on __Type { + kind + name + ofType { + kind + name + ofType { + kind + name + ofType { + kind + name + ofType { + kind + name + ofType { + kind + name + ofType { + kind + name + ofType { + kind + name + ofType { + kind + name + ofType { + kind + name + } + } + } + } + } + } + } + } + } + } + `}function LM(e,t){Do(e)&&Do(e.__schema)||Ke(!1,`Invalid or incomplete introspection result. Ensure that you are passing "data" property of introspection response and no "errors" was returned alongside: ${xe(e)}.`);const n=e.__schema,r=aa(n.types,$=>$.name,$=>g($));for(const $ of[...xp,...Ep])r[$.name]&&(r[$.name]=$);const i=n.queryType?p(n.queryType):null,o=n.mutationType?p(n.mutationType):null,a=n.subscriptionType?p(n.subscriptionType):null,l=n.directives?n.directives.map(H):[];return new vb({description:n.description,query:i,mutation:o,subscription:a,types:Object.values(r),directives:l,assumeValid:void 0});function c($){if($.kind===dt.LIST){const Q=$.ofType;if(!Q)throw new Error("Decorated type deeper than introspection query.");return new $n(c(Q))}if($.kind===dt.NON_NULL){const Q=$.ofType;if(!Q)throw new Error("Decorated type deeper than introspection query.");const Z=c(Q);return new ze(tO(Z))}return f($)}function f($){const Q=$.name;if(!Q)throw new Error(`Unknown type reference: ${xe($)}.`);const Z=r[Q];if(!Z)throw new Error(`Invalid or incomplete schema, unknown type: ${Q}. Ensure that a full introspection query is used in order to build a client schema.`);return Z}function p($){return KF(f($))}function h($){return eO(f($))}function g($){if($!=null&&$.name!=null&&$.kind!=null)switch($.kind){case dt.SCALAR:return b($);case dt.OBJECT:return w($);case dt.INTERFACE:return _($);case dt.UNION:return T($);case dt.ENUM:return N($);case dt.INPUT_OBJECT:return C($)}const Q=xe($);throw new Error(`Invalid or incomplete introspection result. Ensure that a full introspection query is used in order to build a client schema: ${Q}.`)}function b($){return new Lo({name:$.name,description:$.description,specifiedByURL:$.specifiedByURL})}function y($){if($.interfaces===null&&$.kind===dt.INTERFACE)return[];if(!$.interfaces){const Q=xe($);throw new Error(`Introspection result missing interfaces: ${Q}.`)}return $.interfaces.map(h)}function w($){return new wi({name:$.name,description:$.description,interfaces:()=>y($),fields:()=>A($)})}function _($){return new _c({name:$.name,description:$.description,interfaces:()=>y($),fields:()=>A($)})}function T($){if(!$.possibleTypes){const Q=xe($);throw new Error(`Introspection result missing possibleTypes: ${Q}.`)}return new I0({name:$.name,description:$.description,types:()=>$.possibleTypes.map(p)})}function N($){if(!$.enumValues){const Q=xe($);throw new Error(`Introspection result missing enumValues: ${Q}.`)}return new Ea({name:$.name,description:$.description,values:aa($.enumValues,Q=>Q.name,Q=>({description:Q.description,deprecationReason:Q.deprecationReason}))})}function C($){if(!$.inputFields){const Q=xe($);throw new Error(`Introspection result missing inputFields: ${Q}.`)}return new Tc({name:$.name,description:$.description,fields:()=>L($.inputFields),isOneOf:$.isOneOf})}function A($){if(!$.fields)throw new Error(`Introspection result missing fields: ${xe($)}.`);return aa($.fields,Q=>Q.name,D)}function D($){const Q=c($.type);if(!Il(Q)){const Z=xe(Q);throw new Error(`Introspection must provide output type for fields, but received: ${Z}.`)}if(!$.args){const Z=xe($);throw new Error(`Introspection result missing field args: ${Z}.`)}return{description:$.description,deprecationReason:$.deprecationReason,type:Q,args:L($.args)}}function L($){return aa($,Q=>Q.name,F)}function F($){const Q=c($.type);if(!gi(Q)){const ee=xe(Q);throw new Error(`Introspection must provide input type for arguments, but received: ${ee}.`)}const Z=$.defaultValue!=null?_s(VF($.defaultValue),Q):void 0;return{description:$.description,type:Q,defaultValue:Z,deprecationReason:$.deprecationReason}}function H($){if(!$.args){const Q=xe($);throw new Error(`Introspection result missing directive args: ${Q}.`)}if(!$.locations){const Q=xe($);throw new Error(`Introspection result missing directive locations: ${Q}.`)}return new Po({name:$.name,description:$.description,isRepeatable:$.isRepeatable,locations:$.locations.slice(),args:L($.args)})}}function PM(e,t,n){var r,i,o,a;const l=[],c=Object.create(null),f=[];let p;const h=[];for(const R of t.definitions)if(R.kind===M.SCHEMA_DEFINITION)p=R;else if(R.kind===M.SCHEMA_EXTENSION)h.push(R);else if(Jc(R))l.push(R);else if(xb(R)){const re=R.name.value,Y=c[re];c[re]=Y?Y.concat([R]):[R]}else R.kind===M.DIRECTIVE_DEFINITION&&f.push(R);if(Object.keys(c).length===0&&l.length===0&&f.length===0&&h.length===0&&p==null)return e;const g=Object.create(null);for(const R of e.types)g[R.name]=N(R);for(const R of l){var b;const re=R.name.value;g[re]=(b=$4[re])!==null&&b!==void 0?b:j(R)}const y={query:e.query&&_(e.query),mutation:e.mutation&&_(e.mutation),subscription:e.subscription&&_(e.subscription),...p&&Z([p]),...Z(h)};return{description:(r=p)===null||r===void 0||(i=r.description)===null||i===void 0?void 0:i.value,...y,types:Object.values(g),directives:[...e.directives.map(T),...f.map(O)],extensions:Object.create(null),astNode:(o=p)!==null&&o!==void 0?o:e.astNode,extensionASTNodes:e.extensionASTNodes.concat(h),assumeValid:(a=n==null?void 0:n.assumeValid)!==null&&a!==void 0?a:!1};function w(R){return Cn(R)?new $n(w(R.ofType)):rt(R)?new ze(w(R.ofType)):_(R)}function _(R){return g[R.name]}function T(R){const re=R.toConfig();return new Po({...re,args:Co(re.args,Q)})}function N(R){if(bb(R)||L_(R))return R;if(so(R))return D(R);if(et(R))return L(R);if(it(R))return F(R);if(dr(R))return H(R);if(Un(R))return A(R);if(Ft(R))return C(R);zr(!1,"Unexpected type: "+xe(R))}function C(R){var re;const Y=R.toConfig(),se=(re=c[Y.name])!==null&&re!==void 0?re:[];return new Tc({...Y,fields:()=>({...Co(Y.fields,ue=>({...ue,type:w(ue.type)})),...K(se)}),extensionASTNodes:Y.extensionASTNodes.concat(se)})}function A(R){var re;const Y=R.toConfig(),se=(re=c[R.name])!==null&&re!==void 0?re:[];return new Ea({...Y,values:{...Y.values,...P(se)},extensionASTNodes:Y.extensionASTNodes.concat(se)})}function D(R){var re;const Y=R.toConfig(),se=(re=c[Y.name])!==null&&re!==void 0?re:[];let ue=Y.specifiedByURL;for(const te of se){var le;ue=(le=j4(te))!==null&&le!==void 0?le:ue}return new Lo({...Y,specifiedByURL:ue,extensionASTNodes:Y.extensionASTNodes.concat(se)})}function L(R){var re;const Y=R.toConfig(),se=(re=c[Y.name])!==null&&re!==void 0?re:[];return new wi({...Y,interfaces:()=>[...R.getInterfaces().map(_),...B(se)],fields:()=>({...Co(Y.fields,$),...G(se)}),extensionASTNodes:Y.extensionASTNodes.concat(se)})}function F(R){var re;const Y=R.toConfig(),se=(re=c[Y.name])!==null&&re!==void 0?re:[];return new _c({...Y,interfaces:()=>[...R.getInterfaces().map(_),...B(se)],fields:()=>({...Co(Y.fields,$),...G(se)}),extensionASTNodes:Y.extensionASTNodes.concat(se)})}function H(R){var re;const Y=R.toConfig(),se=(re=c[Y.name])!==null&&re!==void 0?re:[];return new I0({...Y,types:()=>[...R.getTypes().map(_),...q(se)],extensionASTNodes:Y.extensionASTNodes.concat(se)})}function $(R){return{...R,type:w(R.type),args:R.args&&Co(R.args,Q)}}function Q(R){return{...R,type:w(R.type)}}function Z(R){const re={};for(const se of R){var Y;const ue=(Y=se.operationTypes)!==null&&Y!==void 0?Y:[];for(const le of ue)re[le.operation]=ee(le.type)}return re}function ee(R){var re;const Y=R.name.value,se=(re=$4[Y])!==null&&re!==void 0?re:g[Y];if(se===void 0)throw new Error(`Unknown type: "${Y}".`);return se}function U(R){return R.kind===M.LIST_TYPE?new $n(U(R.type)):R.kind===M.NON_NULL_TYPE?new ze(U(R.type)):ee(R)}function O(R){var re;return new Po({name:R.name.value,description:(re=R.description)===null||re===void 0?void 0:re.value,locations:R.locations.map(({value:Y})=>Y),isRepeatable:R.repeatable,args:X(R.arguments),astNode:R})}function G(R){const re=Object.create(null);for(const ue of R){var Y;const le=(Y=ue.fields)!==null&&Y!==void 0?Y:[];for(const te of le){var se;re[te.name.value]={type:U(te.type),description:(se=te.description)===null||se===void 0?void 0:se.value,args:X(te.arguments),deprecationReason:Fd(te),astNode:te}}}return re}function X(R){const re=R??[],Y=Object.create(null);for(const ue of re){var se;const le=U(ue.type);Y[ue.name.value]={type:le,description:(se=ue.description)===null||se===void 0?void 0:se.value,defaultValue:_s(ue.defaultValue,le),deprecationReason:Fd(ue),astNode:ue}}return Y}function K(R){const re=Object.create(null);for(const ue of R){var Y;const le=(Y=ue.fields)!==null&&Y!==void 0?Y:[];for(const te of le){var se;const de=U(te.type);re[te.name.value]={type:de,description:(se=te.description)===null||se===void 0?void 0:se.value,defaultValue:_s(te.defaultValue,de),deprecationReason:Fd(te),astNode:te}}}return re}function P(R){const re=Object.create(null);for(const ue of R){var Y;const le=(Y=ue.values)!==null&&Y!==void 0?Y:[];for(const te of le){var se;re[te.name.value]={description:(se=te.description)===null||se===void 0?void 0:se.value,deprecationReason:Fd(te),astNode:te}}}return re}function B(R){return R.flatMap(re=>{var Y,se;return(Y=(se=re.interfaces)===null||se===void 0?void 0:se.map(ee))!==null&&Y!==void 0?Y:[]})}function q(R){return R.flatMap(re=>{var Y,se;return(Y=(se=re.types)===null||se===void 0?void 0:se.map(ee))!==null&&Y!==void 0?Y:[]})}function j(R){var re;const Y=R.name.value,se=(re=c[Y])!==null&&re!==void 0?re:[];switch(R.kind){case M.OBJECT_TYPE_DEFINITION:{var ue;const Re=[R,...se];return new wi({name:Y,description:(ue=R.description)===null||ue===void 0?void 0:ue.value,interfaces:()=>B(Re),fields:()=>G(Re),astNode:R,extensionASTNodes:se})}case M.INTERFACE_TYPE_DEFINITION:{var le;const Re=[R,...se];return new _c({name:Y,description:(le=R.description)===null||le===void 0?void 0:le.value,interfaces:()=>B(Re),fields:()=>G(Re),astNode:R,extensionASTNodes:se})}case M.ENUM_TYPE_DEFINITION:{var te;const Re=[R,...se];return new Ea({name:Y,description:(te=R.description)===null||te===void 0?void 0:te.value,values:P(Re),astNode:R,extensionASTNodes:se})}case M.UNION_TYPE_DEFINITION:{var de;const Re=[R,...se];return new I0({name:Y,description:(de=R.description)===null||de===void 0?void 0:de.value,types:()=>q(Re),astNode:R,extensionASTNodes:se})}case M.SCALAR_TYPE_DEFINITION:{var ve;return new Lo({name:Y,description:(ve=R.description)===null||ve===void 0?void 0:ve.value,specifiedByURL:j4(R),astNode:R,extensionASTNodes:se})}case M.INPUT_OBJECT_TYPE_DEFINITION:{var _e;const Re=[R,...se];return new Tc({name:Y,description:(_e=R.description)===null||_e===void 0?void 0:_e.value,fields:()=>K(Re),astNode:R,extensionASTNodes:se,isOneOf:FM(R)})}}}}const $4=wa([...xp,...Ep],e=>e.name);function Fd(e){const t=kc(mb,e);return t==null?void 0:t.reason}function j4(e){const t=kc($_,e);return t==null?void 0:t.url}function FM(e){return!!kc(j_,e)}function OM(e,t){e!=null&&e.kind===M.DOCUMENT||Ke(!1,"Must provide valid Document AST."),(t==null?void 0:t.assumeValid)!==!0&&(t==null?void 0:t.assumeValidSDL)!==!0&&DM(e);const r=PM({description:void 0,types:[],directives:[],extensions:Object.create(null),extensionASTNodes:[],assumeValid:!1},e,t);if(r.astNode==null)for(const o of r.types)switch(o.name){case"Query":r.query=o;break;case"Mutation":r.mutation=o;break;case"Subscription":r.subscription=o;break}const i=[...r.directives,...Aa.filter(o=>r.directives.every(a=>a.name!==o.name))];return new vb({...r,directives:i})}function B4(e){return $M(e,t=>!oO(t),MM)}function MM(e){return!L_(e)&&!bb(e)}function $M(e,t,n){const r=e.getDirectives().filter(t),i=Object.values(e.getTypeMap()).filter(n);return[jM(e),...r.map(o=>QM(o)),...i.map(o=>VM(o))].filter(Boolean).join(` + +`)}function jM(e){if(e.description==null&&BM(e))return;const t=[],n=e.getQueryType();n&&t.push(` query: ${n.name}`);const r=e.getMutationType();r&&t.push(` mutation: ${r.name}`);const i=e.getSubscriptionType();return i&&t.push(` subscription: ${i.name}`),Gr(e)+`schema { +${t.join(` +`)} +}`}function BM(e){const t=e.getQueryType();if(t&&t.name!=="Query")return!1;const n=e.getMutationType();if(n&&n.name!=="Mutation")return!1;const r=e.getSubscriptionType();return!(r&&r.name!=="Subscription")}function VM(e){if(so(e))return UM(e);if(et(e))return zM(e);if(it(e))return HM(e);if(dr(e))return qM(e);if(Un(e))return WM(e);if(Ft(e))return GM(e);zr(!1,"Unexpected type: "+xe(e))}function UM(e){return Gr(e)+`scalar ${e.name}`+YM(e)}function r7(e){const t=e.getInterfaces();return t.length?" implements "+t.map(n=>n.name).join(" & "):""}function zM(e){return Gr(e)+`type ${e.name}`+r7(e)+i7(e)}function HM(e){return Gr(e)+`interface ${e.name}`+r7(e)+i7(e)}function qM(e){const t=e.getTypes(),n=t.length?" = "+t.join(" | "):"";return Gr(e)+"union "+e.name+n}function WM(e){const t=e.getValues().map((n,r)=>Gr(n," ",!r)+" "+n.name+Tb(n.deprecationReason));return Gr(e)+`enum ${e.name}`+_b(t)}function GM(e){const t=Object.values(e.getFields()).map((n,r)=>Gr(n," ",!r)+" "+Lg(n));return Gr(e)+`input ${e.name}`+(e.isOneOf?" @oneOf":"")+_b(t)}function i7(e){const t=Object.values(e.getFields()).map((n,r)=>Gr(n," ",!r)+" "+n.name+o7(n.args," ")+": "+String(n.type)+Tb(n.deprecationReason));return _b(t)}function _b(e){return e.length!==0?` { +`+e.join(` +`)+` +}`:""}function o7(e,t=""){return e.length===0?"":e.every(n=>!n.description)?"("+e.map(Lg).join(", ")+")":`( +`+e.map((n,r)=>Gr(n," "+t,!r)+" "+t+Lg(n)).join(` +`)+` +`+t+")"}function Lg(e){const t=la(e.defaultValue,e.type);let n=e.name+": "+String(e.type);return t&&(n+=` = ${bt(t)}`),n+Tb(e.deprecationReason)}function QM(e){return Gr(e)+"directive @"+e.name+o7(e.args)+(e.isRepeatable?" repeatable":"")+" on "+e.locations.join(" | ")}function Tb(e){return e==null?"":e!==M_?` @deprecated(reason: ${bt({kind:M.STRING,value:e})})`:" @deprecated"}function YM(e){return e.specifiedByURL==null?"":` @specifiedBy(url: ${bt({kind:M.STRING,value:e.specifiedByURL})})`}function Gr(e,t="",n=!0){const{description:r}=e;if(r==null)return"";const i=bt({kind:M.STRING,value:r,block:xF(r)});return(t&&!n?` +`+t:t)+i.replace(/\n/g,` +`+t)+` +`}var XM=new TextDecoder;async function ZM(e,t){if(!e.ok||!e.body||e.bodyUsed)return e;let n=e.headers.get("content-type");if(!n||!~n.indexOf("multipart/"))return e;let r=n.indexOf("boundary="),i="-";if(~r){let o=r+9,a=n.indexOf(";",o);i=n.slice(o,a>-1?a:void 0).trim().replace(/"/g,"")}return(async function*(o,a,l){let c,f,p,h=o.getReader(),g=!l||!1,b=a.length,y="",w=[];try{let _;e:for(;!(_=await h.read()).done;){let T=XM.decode(_.value);c=y.length,y+=T;let N=T.indexOf(a);for(~N?c+=N:c=y.indexOf(a),w=[];~c;){let C=y.slice(0,c),A=y.slice(c+b);if(f){let D=C.indexOf(`\r +\r +`)+4,L=C.lastIndexOf(`\r +`,D),F=!1,H=C.slice(D,L>-1?void 0:L),$=String(C.slice(0,D)).trim().split(`\r +`),Q={},Z=$.length;for(;p=$[--Z];p=p.split(": "),Q[p.shift().toLowerCase()]=p.join(": "));if(p=Q["content-type"],p&&~p.indexOf("application/json"))try{H=JSON.parse(H),F=!0}catch{}if(p={headers:Q,body:H,json:F},g?yield p:w.push(p),A.slice(0,2)==="--")break e}else a=`\r +`+a,f=b+=2;y=A,c=y.indexOf(a)}w.length&&(yield w)}}finally{w.length&&(yield w),await h.cancel()}})(e.body,`--${i}`,t)}function JM(e,t,n){const r=(async function*(){yield*e})(),i=r.return.bind(r);if(t&&(r.return=(...o)=>(t(),i(...o))),n){const o=r.throw.bind(r);r.throw=a=>(n(a),o(a))}return r}function V4(){const e={};return e.promise=new Promise((t,n)=>{e.resolve=t,e.reject=n}),e}function KM(){let e={type:"running"},t=V4();const n=[];function r(a){e.type==="running"&&(n.push(a),t.resolve(),t=V4())}const i=(async function*(){for(;;)if(n.length>0)yield n.shift();else{if(e.type==="error")throw e.error;if(e.type==="finished")return;await t.promise}})(),o=JM(i,()=>{e.type==="running"&&(e={type:"finished"},t.resolve())},a=>{e.type==="running"&&(e={type:"error",error:a},t.resolve())});return{pushValue:r,asyncIterableIterator:o}}const s7=e=>{const{pushValue:t,asyncIterableIterator:n}=KM(),r=e({next:a=>{t(a)},complete:()=>{n.return()},error:a=>{n.throw(a)}}),i=n.return;let o;return n.return=()=>(o===void 0&&(r(),o=i()),o),n};function e$(e){return typeof e=="object"&&e!==null&&(e[Symbol.toStringTag]==="AsyncGenerator"||Symbol.asyncIterator&&Symbol.asyncIterator in e)}const t$=e=>typeof e=="object"&&e!==null&&"code"in e,n$=(e,t)=>{let n=!1;return xi(e,{OperationDefinition(r){var i;t===((i=r.name)==null?void 0:i.value)&&r.operation==="subscription"&&(n=!0)}}),n},r$=(e,t)=>async(n,r)=>(await t(e.url,{method:"POST",body:JSON.stringify(n),headers:kr(kr({"content-type":"application/json"},e.headers),r==null?void 0:r.headers)})).json();async function i$(e,t){let n;try{const{createClient:r}=await Yi(async()=>{const{createClient:i}=await import("./index-DXUIzzsu.js");return{createClient:i}},[]);return n=r({url:e,connectionParams:t}),a7(n)}catch(r){if(t$(r)&&r.code==="MODULE_NOT_FOUND")throw new Error("You need to install the 'graphql-ws' package to use websockets when passing a 'subscriptionUrl'");console.error(`Error creating websocket client for ${e}`,r)}}const a7=e=>t=>s7(n=>e.subscribe(t,Ec(kr({},n),{error(r){r instanceof CloseEvent?n.error(new Error(`Socket closed with event ${r.code} ${r.reason||""}`.trim())):n.error(r)}}))),o$=e=>t=>{const n=e.request(t);return s7(r=>n.subscribe(r).unsubscribe)},s$=(e,t)=>function(n,r){return aF(this,null,function*(){const i=yield new l0(t(e.url,{method:"POST",body:JSON.stringify(n),headers:kr(kr({"content-type":"application/json",accept:"application/json, multipart/mixed"},e.headers),r==null?void 0:r.headers)}).then(f=>ZM(f,{})));if(!e$(i))return yield i.json();try{for(var o=lF(i),a,l,c;a=!(l=yield new l0(o.next())).done;a=!1){const f=l.value;if(f.some(p=>!p.json)){const p=f.map(h=>`Headers:: +${h.headers} + +Body:: +${h.body}`);throw new Error(`Expected multipart chunks to be of json type. got: +${p}`)}yield f.map(p=>p.body)}}catch(f){c=[f]}finally{try{a&&(l=o.return)&&(yield new l0(l.call(o)))}finally{if(c)throw c[0]}}})};async function a$(e,t){if(e.wsClient)return a7(e.wsClient);if(e.subscriptionUrl)return i$(e.subscriptionUrl,kr(kr({},e.wsConnectionParams),t==null?void 0:t.headers));const n=e.legacyClient||e.legacyWsClient;if(n)return o$(n)}function l$(e){const t=e.fetch||typeof window<"u"&&window.fetch;if(!t)throw new Error("No valid fetcher implementation available");e.enableIncrementalDelivery=e.enableIncrementalDelivery!==!1;const n=r$(e,t),r=e.enableIncrementalDelivery?s$(e,t):n;return async(i,o)=>{if(i.operationName==="IntrospectionQuery")return(e.schemaFetcher||n)(i,o);if(o!=null&&o.documentAST&&n$(o.documentAST,i.operationName||void 0)){const a=await a$(e,o);if(!a)throw new Error(`Your GraphiQL createFetcher is not properly configured for websocket subscriptions yet. ${e.subscriptionUrl?`Provided URL ${e.subscriptionUrl} failed`:"Please provide subscriptionUrl, wsClient or legacyClient option first."}`);return a(i)}return r(i,o)}}function Pg(e){return JSON.stringify(e,null,2)}function u$(e){return Ec(kr({},e),{message:e.message,stack:e.stack})}function U4(e){return e instanceof Error?u$(e):e}function ac(e){return Array.isArray(e)?Pg({errors:e.map(t=>U4(t))}):Pg({errors:[U4(e)]})}function Fg(e){return Pg(e)}function c$(e,t,n){const r=[];if(!e||!t)return{insertions:r,result:t};let i;try{i=Yc(t)}catch{return{insertions:r,result:t}}const o=n||f$,a=new q_(e);return xi(i,{leave(l){a.leave(l)},enter(l){if(a.enter(l),l.kind==="Field"&&!l.selectionSet){const c=a.getType(),f=l7(h$(c),o);if(f&&l.loc){const p=p$(t,l.loc.start);r.push({index:l.loc.end,string:" "+bt(f).replaceAll(` +`,` +`+p)})}}}}),{insertions:r,result:d$(t,r)}}function f$(e){if(!("getFields"in e))return[];const t=e.getFields();if(t.id)return["id"];if(t.edges)return["edges"];if(t.node)return["node"];const n=[];for(const r of Object.keys(t))Is(t[r].type)&&n.push(r);return n}function l7(e,t){const n=Tn(e);if(!e||Is(e))return;const r=t(n);if(!(!Array.isArray(r)||r.length===0||!("getFields"in n)))return{kind:M.SELECTION_SET,selections:r.map(i=>{const o=n.getFields()[i],a=o?o.type:null;return{kind:M.FIELD,name:{kind:M.NAME,value:i},selectionSet:l7(a,t)}})}}function d$(e,t){if(t.length===0)return e;let n="",r=0;for(const{index:i,string:o}of t)n+=e.slice(r,i)+o,r=i;return n+=e.slice(r),n}function p$(e,t){let n=t,r=t;for(;n;){const i=e.charCodeAt(n-1);if(i===10||i===13||i===8232||i===8233)break;n--,i!==9&&i!==11&&i!==12&&i!==32&&i!==160&&(r=n)}return e.slice(n,r)}function h$(e){if(e)return e}function m$(e,t){var n;const r=new Map,i=[];for(const o of e)if(o.kind==="Field"){const a=t(o),l=r.get(a);if((n=o.directives)!=null&&n.length){const c=kr({},o);i.push(c)}else if(l!=null&&l.selectionSet&&o.selectionSet)l.selectionSet.selections=[...l.selectionSet.selections,...o.selectionSet.selections];else if(!l){const c=kr({},o);r.set(a,c),i.push(c)}}else i.push(o);return i}function u7(e,t,n){var r;const i=n?Tn(n).name:null,o=[],a=[];for(let l of t){if(l.kind==="FragmentSpread"){const c=l.name.value;if(!l.directives||l.directives.length===0){if(a.includes(c))continue;a.push(c)}const f=e[l.name.value];if(f){const{typeCondition:p,directives:h,selectionSet:g}=f;l={kind:M.INLINE_FRAGMENT,typeCondition:p,directives:h,selectionSet:g}}}if(l.kind===M.INLINE_FRAGMENT&&(!l.directives||((r=l.directives)==null?void 0:r.length)===0)){const c=l.typeCondition?l.typeCondition.name.value:null;if(!c||c===i){o.push(...u7(e,l.selectionSet.selections,n));continue}}o.push(l)}return o}function g$(e,t){const n=t?new q_(t):null,r=Object.create(null);for(const a of e.definitions)a.kind===M.FRAGMENT_DEFINITION&&(r[a.name.value]=a);const i={SelectionSet(a){const l=n?n.getParentType():null;let{selections:c}=a;return c=u7(r,c,l),Ec(kr({},a),{selections:c})},FragmentDefinition(){return null}},o=xi(e,n?wO(n,i):i);return xi(o,{SelectionSet(a){let{selections:l}=a;return l=m$(l,c=>c.alias?c.alias.value:c.name.value),Ec(kr({},a),{selections:l})},FragmentDefinition(){return null}})}function b$(e,t,n){if(!n||n.length<1)return;const r=n.map(i=>{var o;return(o=i.name)==null?void 0:o.value});if(t&&r.includes(t))return t;if(t&&e){const i=e.map(o=>{var a;return(a=o.name)==null?void 0:a.value}).indexOf(t);if(i!==-1&&i"u"?this.storage=null:this.storage={getItem:localStorage.getItem.bind(localStorage),setItem:localStorage.setItem.bind(localStorage),removeItem:localStorage.removeItem.bind(localStorage),get length(){let n=0;for(const r in localStorage)r.indexOf(`${Od}:`)===0&&(n+=1);return n},clear(){for(const n in localStorage)n.indexOf(`${Od}:`)===0&&localStorage.removeItem(n)}}}get(t){if(!this.storage)return null;const n=`${Od}:${t}`,r=this.storage.getItem(n);return r==="null"||r==="undefined"?(this.storage.removeItem(n),null):r||null}set(t,n){let r=!1,i=null;if(this.storage){const o=`${Od}:${t}`;if(n)try{this.storage.setItem(o,n)}catch(a){i=a instanceof Error?a:new Error(`${a}`),r=v$(this.storage,a)}else this.storage.removeItem(o)}return{isQuotaError:r,error:i}}clear(){this.storage&&this.storage.clear()}}const Od="graphiql";class z4{constructor(t,n,r=null){this.key=t,this.storage=n,this.maxSize=r,this.items=this.fetchAll()}get length(){return this.items.length}contains(t){return this.items.some(n=>n.query===t.query&&n.variables===t.variables&&n.headers===t.headers&&n.operationName===t.operationName)}edit(t,n){if(typeof n=="number"&&this.items[n]){const i=this.items[n];if(i.query===t.query&&i.variables===t.variables&&i.headers===t.headers&&i.operationName===t.operationName){this.items.splice(n,1,t),this.save();return}}const r=this.items.findIndex(i=>i.query===t.query&&i.variables===t.variables&&i.headers===t.headers&&i.operationName===t.operationName);r!==-1&&(this.items.splice(r,1,t),this.save())}delete(t){const n=this.items.findIndex(r=>r.query===t.query&&r.variables===t.variables&&r.headers===t.headers&&r.operationName===t.operationName);n!==-1&&(this.items.splice(n,1),this.save())}fetchRecent(){return this.items.at(-1)}fetchAll(){const t=this.storage.get(this.key);return t?JSON.parse(t)[this.key]:[]}push(t){const n=[...this.items,t];this.maxSize&&n.length>this.maxSize&&n.shift();for(let r=0;r<5;r++){const i=this.storage.set(this.key,JSON.stringify({[this.key]:n}));if(!(i!=null&&i.error))this.items=n;else if(i.isQuotaError&&this.maxSize)n.shift();else return}}save(){this.storage.set(this.key,JSON.stringify({[this.key]:this.items}))}}const x$=1e5;let w$=class{constructor(t,n){this.storage=t,this.maxHistoryLength=n,this.updateHistory=({query:r,variables:i,headers:o,operationName:a})=>{if(!this.shouldSaveQuery(r,i,o,this.history.fetchRecent()))return;this.history.push({query:r,variables:i,headers:o,operationName:a});const l=this.history.items,c=this.favorite.items;this.queries=l.concat(c)},this.deleteHistory=({query:r,variables:i,headers:o,operationName:a,favorite:l},c=!1)=>{function f(p){const h=p.items.find(g=>g.query===r&&g.variables===i&&g.headers===o&&g.operationName===a);h&&p.delete(h)}(l||c)&&f(this.favorite),(!l||c)&&f(this.history),this.queries=[...this.history.items,...this.favorite.items]},this.history=new z4("queries",this.storage,this.maxHistoryLength),this.favorite=new z4("favorites",this.storage,null),this.queries=[...this.history.fetchAll(),...this.favorite.fetchAll()]}shouldSaveQuery(t,n,r,i){if(!t)return!1;try{Yc(t)}catch{return!1}return t.length>x$?!1:i?!(JSON.stringify(t)===JSON.stringify(i.query)&&(JSON.stringify(n)===JSON.stringify(i.variables)&&(JSON.stringify(r)===JSON.stringify(i.headers)||r&&!i.headers)||n&&!i.variables)):!0}toggleFavorite({query:t,variables:n,headers:r,operationName:i,label:o,favorite:a}){const l={query:t,variables:n,headers:r,operationName:i,label:o};a?(l.favorite=!1,this.favorite.delete(l),this.history.push(l)):(l.favorite=!0,this.favorite.push(l),this.history.delete(l)),this.queries=[...this.history.items,...this.favorite.items]}editLabel({query:t,variables:n,headers:r,operationName:i,label:o,favorite:a},l){const c={query:t,variables:n,headers:r,operationName:i,label:o};a?this.favorite.edit(Ec(kr({},c),{favorite:a}),l):this.history.edit(c,l),this.queries=[...this.history.items,...this.favorite.items]}};function E$({defaultQuery:e,defaultHeaders:t,headers:n,query:r,variables:i,defaultTabs:o=[{query:r??e,variables:i,headers:n??t}],shouldPersistHeaders:a,storage:l}){const c=l.get(Pt.tabs);try{if(!c)throw new Error("Storage for tabs is empty");const f=JSON.parse(c),p=a?n:void 0;if(S$(f)){const h=M0({query:r,variables:i,headers:p});let g=-1;for(let b=0;b=0)f.activeTabIndex=g;else{const b=r?kb(r):null;f.tabs.push({id:f7(),hash:h,title:b||Cb,query:r,variables:i,headers:n,operationName:b,response:null}),f.activeTabIndex=f.tabs.length-1}return f}throw new Error("Storage for tabs is invalid")}catch{return{activeTabIndex:0,tabs:o.map(c7)}}}function S$(e){return e&&typeof e=="object"&&!Array.isArray(e)&&T$(e,"activeTabIndex")&&"tabs"in e&&Array.isArray(e.tabs)&&e.tabs.every(_$)}function _$(e){return e&&typeof e=="object"&&!Array.isArray(e)&&H4(e,"id")&&H4(e,"title")&&Wu(e,"query")&&Wu(e,"variables")&&Wu(e,"headers")&&Wu(e,"operationName")&&Wu(e,"response")}function T$(e,t){return t in e&&typeof e[t]=="number"}function H4(e,t){return t in e&&typeof e[t]=="string"}function Wu(e,t){return t in e&&(typeof e[t]=="string"||e[t]===null)}function q4(e,t=!1){return JSON.stringify(e,(n,r)=>n==="hash"||n==="response"||!t&&n==="headers"?null:r)}function c7({query:e=null,variables:t=null,headers:n=null}={}){const r=e?kb(e):null;return{id:f7(),hash:M0({query:e,variables:t,headers:n}),title:r||Cb,query:e,variables:t,headers:n,operationName:r,response:null}}function W4(e,t){return{...e,tabs:e.tabs.map((n,r)=>{if(r!==e.activeTabIndex)return n;const i={...n,...t};return{...i,hash:M0(i),title:i.operationName||(i.query?kb(i.query):void 0)||Cb}})}}function f7(){const e=()=>Math.floor((1+Math.random())*65536).toString(16).slice(1);return`${e()}${e()}-${e()}-${e()}-${e()}-${e()}${e()}${e()}`}function M0(e){return[e.query??"",e.variables??"",e.headers??""].join("|")}function kb(e){const n=/^(?!#).*(query|subscription|mutation)\s+([a-zA-Z0-9_]+)/m.exec(e);return(n==null?void 0:n[2])??null}function k$(e){const t=e.get(Pt.tabs);if(t){const n=JSON.parse(t);e.set(Pt.tabs,JSON.stringify(n,(r,i)=>r==="headers"?null:i))}}const Cb="",Nb=e=>t=>ub(e,t&&l_(t));async function C$(){const{MouseTargetFactory:e}=await Yi(async()=>{const{MouseTargetFactory:n}=await import("./mouseTarget-BLbOaqWL.js").then(r=>r.g5);return{MouseTargetFactory:n}},[]),t=e._doHitTestWithCaretPositionFromPoint;e._doHitTestWithCaretPositionFromPoint=(...n)=>{const[r,i]=n;return r.viewDomNode.ownerDocument.caretPositionFromPoint(i.clientX,i.clientY)?t(...n):{type:0}}}const Sp=gp((e,t)=>({actions:{async initialize(){if(!!t().monaco)return;const[r,{initializeMode:i}]=await Promise.all([Yi(()=>import("./monaco-editor-DHweyzAq.js").then(a=>a.b),__vite__mapDeps([0,1,2])),Yi(()=>import("./lite-DLBSE-o4.js"),__vite__mapDeps([3,0,1,2]))]);globalThis.__MONACO=r,r.languages.json.jsonDefaults.setDiagnosticsOptions(a_),r.editor.defineTheme(wg.dark,h4.dark),r.editor.defineTheme(wg.light,h4.light),navigator.userAgent.includes("Firefox/")&&C$();const o=i({diagnosticSettings:xg});e({monaco:r,monacoGraphQL:o})}}})),tu=Nb(Sp);function zl(e,t){let n;return function(...r){n&&clearTimeout(n),n=setTimeout(()=>{n=null,t(...r)},e)}}function d7(e,t,n){const r=Ne.c(10),{updateActiveTabValues:i}=Uo();let o;r[0]!==n?(o=p=>({editor:p[n==="variables"?"variableEditor":"headerEditor"],storage:p.storage}),r[0]=n,r[1]=o):o=r[1];const{editor:a,storage:l}=vn(o);let c,f;r[2]!==e||r[3]!==a||r[4]!==l||r[5]!==t||r[6]!==n||r[7]!==i?(c=()=>{if(!a)return;const p=zl(500,y=>{t!==null&&l.set(t,y)}),h=zl(100,y=>{i({[n]:y})}),g=y=>{const w=a.getValue();p(w),h(w),e==null||e(w)},b=a.getModel().onDidChangeContent(g);return()=>{b.dispose()}},f=[e,a,t,n,i,l],r[2]=e,r[3]=a,r[4]=l,r[5]=t,r[6]=n,r[7]=i,r[8]=c,r[9]=f):(c=r[8],f=r[9]),v.useEffect(c,f)}const G4=(e,t)=>{const n=Ne.c(4),r=v.useRef(!1);let i,o;n[0]===Symbol.for("react.memo_cache_sentinel")?(i=()=>()=>{r.current=!1},o=[],n[0]=i,n[1]=o):(i=n[0],o=n[1]),v.useEffect(i,o);let a;n[2]!==e?(a=()=>{if(r.current)return e();r.current=!0},n[2]=e,n[3]=a):a=n[3],v.useEffect(a,t)},N$=e=>()=>e;function A$(e,t=!1){const n=e.length;let r=0,i="",o=0,a=16,l=0,c=0,f=0,p=0,h=0;function g(C,A){let D=0,L=0;for(;D=48&&F<=57)L=L*16+F-48;else if(F>=65&&F<=70)L=L*16+F-65+10;else if(F>=97&&F<=102)L=L*16+F-97+10;else break;r++,D++}return D=n){C+=e.substring(A,r),h=2;break}const D=e.charCodeAt(r);if(D===34){C+=e.substring(A,r),r++;break}if(D===92){if(C+=e.substring(A,r),r++,r>=n){h=2;break}switch(e.charCodeAt(r++)){case 34:C+='"';break;case 92:C+="\\";break;case 47:C+="/";break;case 98:C+="\b";break;case 102:C+="\f";break;case 110:C+=` +`;break;case 114:C+="\r";break;case 116:C+=" ";break;case 117:const F=g(4);F>=0?C+=String.fromCharCode(F):h=4;break;default:h=5}A=r;continue}if(D>=0&&D<=31)if(Gu(D)){C+=e.substring(A,r),h=2;break}else h=6;r++}return C}function _(){if(i="",h=0,o=r,c=l,p=f,r>=n)return o=n,a=17;let C=e.charCodeAt(r);if(r1(C)){do r++,i+=String.fromCharCode(C),C=e.charCodeAt(r);while(r1(C));return a=15}if(Gu(C))return r++,i+=String.fromCharCode(C),C===13&&e.charCodeAt(r)===10&&(r++,i+=` +`),l++,f=r,a=14;switch(C){case 123:return r++,a=1;case 125:return r++,a=2;case 91:return r++,a=3;case 93:return r++,a=4;case 58:return r++,a=6;case 44:return r++,a=5;case 34:return r++,i=w(),a=10;case 47:const A=r-1;if(e.charCodeAt(r+1)===47){for(r+=2;r=12&&C<=15);return C}return{setPosition:b,getPosition:()=>r,scan:t?N:_,getToken:()=>a,getTokenValue:()=>i,getTokenOffset:()=>o,getTokenLength:()=>r-o,getTokenStartLine:()=>c,getTokenStartCharacter:()=>o-p,getTokenError:()=>h}}function r1(e){return e===32||e===9}function Gu(e){return e===10||e===13}function sl(e){return e>=48&&e<=57}var Q4;(function(e){e[e.lineFeed=10]="lineFeed",e[e.carriageReturn=13]="carriageReturn",e[e.space=32]="space",e[e._0=48]="_0",e[e._1=49]="_1",e[e._2=50]="_2",e[e._3=51]="_3",e[e._4=52]="_4",e[e._5=53]="_5",e[e._6=54]="_6",e[e._7=55]="_7",e[e._8=56]="_8",e[e._9=57]="_9",e[e.a=97]="a",e[e.b=98]="b",e[e.c=99]="c",e[e.d=100]="d",e[e.e=101]="e",e[e.f=102]="f",e[e.g=103]="g",e[e.h=104]="h",e[e.i=105]="i",e[e.j=106]="j",e[e.k=107]="k",e[e.l=108]="l",e[e.m=109]="m",e[e.n=110]="n",e[e.o=111]="o",e[e.p=112]="p",e[e.q=113]="q",e[e.r=114]="r",e[e.s=115]="s",e[e.t=116]="t",e[e.u=117]="u",e[e.v=118]="v",e[e.w=119]="w",e[e.x=120]="x",e[e.y=121]="y",e[e.z=122]="z",e[e.A=65]="A",e[e.B=66]="B",e[e.C=67]="C",e[e.D=68]="D",e[e.E=69]="E",e[e.F=70]="F",e[e.G=71]="G",e[e.H=72]="H",e[e.I=73]="I",e[e.J=74]="J",e[e.K=75]="K",e[e.L=76]="L",e[e.M=77]="M",e[e.N=78]="N",e[e.O=79]="O",e[e.P=80]="P",e[e.Q=81]="Q",e[e.R=82]="R",e[e.S=83]="S",e[e.T=84]="T",e[e.U=85]="U",e[e.V=86]="V",e[e.W=87]="W",e[e.X=88]="X",e[e.Y=89]="Y",e[e.Z=90]="Z",e[e.asterisk=42]="asterisk",e[e.backslash=92]="backslash",e[e.closeBrace=125]="closeBrace",e[e.closeBracket=93]="closeBracket",e[e.colon=58]="colon",e[e.comma=44]="comma",e[e.dot=46]="dot",e[e.doubleQuote=34]="doubleQuote",e[e.minus=45]="minus",e[e.openBrace=123]="openBrace",e[e.openBracket=91]="openBracket",e[e.plus=43]="plus",e[e.slash=47]="slash",e[e.formFeed=12]="formFeed",e[e.tab=9]="tab"})(Q4||(Q4={}));new Array(20).fill(0).map((e,t)=>" ".repeat(t));const al=200;new Array(al).fill(0).map((e,t)=>` +`+" ".repeat(t)),new Array(al).fill(0).map((e,t)=>"\r"+" ".repeat(t)),new Array(al).fill(0).map((e,t)=>`\r +`+" ".repeat(t)),new Array(al).fill(0).map((e,t)=>` +`+" ".repeat(t)),new Array(al).fill(0).map((e,t)=>"\r"+" ".repeat(t)),new Array(al).fill(0).map((e,t)=>`\r +`+" ".repeat(t));var $0;(function(e){e.DEFAULT={allowTrailingComma:!1}})($0||($0={}));function I$(e,t=[],n=$0.DEFAULT){let r=null,i=[];const o=[];function a(c){Array.isArray(i)?i.push(c):r!==null&&(i[r]=c)}return D$(e,{onObjectBegin:()=>{const c={};a(c),o.push(i),i=c,r=null},onObjectProperty:c=>{r=c},onObjectEnd:()=>{i=o.pop()},onArrayBegin:()=>{const c=[];a(c),o.push(i),i=c,r=null},onArrayEnd:()=>{i=o.pop()},onLiteralValue:a,onError:(c,f,p)=>{t.push({error:c,offset:f,length:p})}},n),i[0]}function D$(e,t,n=$0.DEFAULT){const r=A$(e,!1),i=[];let o=0;function a(O){return O?()=>o===0&&O(r.getTokenOffset(),r.getTokenLength(),r.getTokenStartLine(),r.getTokenStartCharacter()):()=>!0}function l(O){return O?G=>o===0&&O(G,r.getTokenOffset(),r.getTokenLength(),r.getTokenStartLine(),r.getTokenStartCharacter()):()=>!0}function c(O){return O?G=>o===0&&O(G,r.getTokenOffset(),r.getTokenLength(),r.getTokenStartLine(),r.getTokenStartCharacter(),()=>i.slice()):()=>!0}function f(O){return O?()=>{o>0?o++:O(r.getTokenOffset(),r.getTokenLength(),r.getTokenStartLine(),r.getTokenStartCharacter(),()=>i.slice())===!1&&(o=1)}:()=>!0}function p(O){return O?()=>{o>0&&o--,o===0&&O(r.getTokenOffset(),r.getTokenLength(),r.getTokenStartLine(),r.getTokenStartCharacter())}:()=>!0}const h=f(t.onObjectBegin),g=c(t.onObjectProperty),b=p(t.onObjectEnd),y=f(t.onArrayBegin),w=p(t.onArrayEnd),_=c(t.onLiteralValue),T=l(t.onSeparator),N=a(t.onComment),C=l(t.onError),A=n&&n.disallowComments,D=n&&n.allowTrailingComma;function L(){for(;;){const O=r.scan();switch(r.getTokenError()){case 4:F(14);break;case 5:F(15);break;case 3:F(13);break;case 1:A||F(11);break;case 2:F(12);break;case 6:F(16);break}switch(O){case 12:case 13:A?F(10):N();break;case 16:F(1);break;case 15:case 14:break;default:return O}}}function F(O,G=[],X=[]){if(C(O),G.length+X.length>0){let K=r.getToken();for(;K!==17;){if(G.indexOf(K)!==-1){L();break}else if(X.indexOf(K)!==-1)break;K=L()}}}function H(O){const G=r.getTokenValue();return O?_(G):(g(G),i.push(G)),L(),!0}function $(){switch(r.getToken()){case 11:const O=r.getTokenValue();let G=Number(O);isNaN(G)&&(F(2),G=0),_(G);break;case 7:_(null);break;case 8:_(!0);break;case 9:_(!1);break;default:return!1}return L(),!0}function Q(){return r.getToken()!==10?(F(3,[],[2,5]),!1):(H(!1),r.getToken()===6?(T(":"),L(),U()||F(4,[],[2,5])):F(5,[],[2,5]),i.pop(),!0)}function Z(){h(),L();let O=!1;for(;r.getToken()!==2&&r.getToken()!==17;){if(r.getToken()===5){if(O||F(4,[],[]),T(","),L(),r.getToken()===2&&D)break}else O&&F(6,[],[]);Q()||F(4,[],[2,5]),O=!0}return b(),r.getToken()!==2?F(7,[2],[]):L(),!0}function ee(){y(),L();let O=!0,G=!1;for(;r.getToken()!==4&&r.getToken()!==17;){if(r.getToken()===5){if(G||F(4,[],[]),T(","),L(),r.getToken()===4&&D)break}else G&&F(6,[],[]);O?(i.push(0),O=!1):i[i.length-1]++,U()||F(4,[],[4,5]),G=!0}return w(),O||i.pop(),r.getToken()!==4?F(8,[4],[]):L(),!0}function U(){switch(r.getToken()){case 3:return ee();case 1:return Z();case 10:return H(!0);default:return $()}}return L(),r.getToken()===17?n.allowEmptyContent?!0:(F(4,[],[]),!1):U()?(r.getToken()!==17&&F(9,[],[]),!0):(F(4,[],[]),!1)}var Y4;(function(e){e[e.None=0]="None",e[e.UnexpectedEndOfComment=1]="UnexpectedEndOfComment",e[e.UnexpectedEndOfString=2]="UnexpectedEndOfString",e[e.UnexpectedEndOfNumber=3]="UnexpectedEndOfNumber",e[e.InvalidUnicode=4]="InvalidUnicode",e[e.InvalidEscapeCharacter=5]="InvalidEscapeCharacter",e[e.InvalidCharacter=6]="InvalidCharacter"})(Y4||(Y4={}));var X4;(function(e){e[e.OpenBraceToken=1]="OpenBraceToken",e[e.CloseBraceToken=2]="CloseBraceToken",e[e.OpenBracketToken=3]="OpenBracketToken",e[e.CloseBracketToken=4]="CloseBracketToken",e[e.CommaToken=5]="CommaToken",e[e.ColonToken=6]="ColonToken",e[e.NullKeyword=7]="NullKeyword",e[e.TrueKeyword=8]="TrueKeyword",e[e.FalseKeyword=9]="FalseKeyword",e[e.StringLiteral=10]="StringLiteral",e[e.NumericLiteral=11]="NumericLiteral",e[e.LineCommentTrivia=12]="LineCommentTrivia",e[e.BlockCommentTrivia=13]="BlockCommentTrivia",e[e.LineBreakTrivia=14]="LineBreakTrivia",e[e.Trivia=15]="Trivia",e[e.Unknown=16]="Unknown",e[e.EOF=17]="EOF"})(X4||(X4={}));const R$=I$;var Z4;(function(e){e[e.InvalidSymbol=1]="InvalidSymbol",e[e.InvalidNumberFormat=2]="InvalidNumberFormat",e[e.PropertyNameExpected=3]="PropertyNameExpected",e[e.ValueExpected=4]="ValueExpected",e[e.ColonExpected=5]="ColonExpected",e[e.CommaExpected=6]="CommaExpected",e[e.CloseBraceExpected=7]="CloseBraceExpected",e[e.CloseBracketExpected=8]="CloseBracketExpected",e[e.EndOfFileExpected=9]="EndOfFileExpected",e[e.InvalidCommentToken=10]="InvalidCommentToken",e[e.UnexpectedEndOfComment=11]="UnexpectedEndOfComment",e[e.UnexpectedEndOfString=12]="UnexpectedEndOfString",e[e.UnexpectedEndOfNumber=13]="UnexpectedEndOfNumber",e[e.InvalidUnicode=14]="InvalidUnicode",e[e.InvalidEscapeCharacter=15]="InvalidEscapeCharacter",e[e.InvalidCharacter=16]="InvalidCharacter"})(Z4||(Z4={}));function L$(e){switch(e){case 1:return"InvalidSymbol";case 2:return"InvalidNumberFormat";case 3:return"PropertyNameExpected";case 4:return"ValueExpected";case 5:return"ColonExpected";case 6:return"CommaExpected";case 7:return"CloseBraceExpected";case 8:return"CloseBracketExpected";case 9:return"EndOfFileExpected";case 10:return"InvalidCommentToken";case 11:return"UnexpectedEndOfComment";case 12:return"UnexpectedEndOfString";case 13:return"UnexpectedEndOfNumber";case 14:return"InvalidUnicode";case 15:return"InvalidEscapeCharacter";case 16:return"InvalidCharacter"}return""}async function J4(e){const[t,{printers:n},{parsers:r}]=await Promise.all([Yi(()=>import("./standalone-BazYaFez.js"),[]),Yi(()=>import("./estree-B2JyRpo9.js"),[]),Yi(()=>import("./babel-x28rIyeM.js").then(i=>i.b),[])]);return t.format(e,{parser:"jsonc",plugins:[{printers:n},{parsers:r}],printWidth:0})}const P$=new Intl.ListFormat("en",{style:"long",type:"conjunction"});function F$(e){const t=[],n=R$(e,t,{allowTrailingComma:!0,allowEmptyContent:!0});if(t.length){const r=P$.format(t.map(({error:i})=>L$(i)));throw new SyntaxError(r)}return n}function Og(e=""){let t;try{t=F$(e)}catch(r){throw new Error(`are invalid JSON: ${r instanceof Error?r.message:r}.`)}if(!t)return;if(!(typeof t=="object"&&!Array.isArray(t)))throw new TypeError("are not a JSON object.");return t}const O$=e=>(t,n)=>{function r({query:a,variables:l,headers:c,response:f}){const{queryEditor:p,variableEditor:h,headerEditor:g,responseEditor:b,defaultHeaders:y}=n();p==null||p.setValue(a??""),h==null||h.setValue(l??""),g==null||g.setValue(c??y??""),b==null||b.setValue(f??"")}function i(a){const{queryEditor:l,variableEditor:c,headerEditor:f,responseEditor:p,operationName:h}=n();return W4(a,{query:(l==null?void 0:l.getValue())??null,variables:(c==null?void 0:c.getValue())??null,headers:(f==null?void 0:f.getValue())??null,response:(p==null?void 0:p.getValue())??null,operationName:h??null})}return{...e,actions:{addTab(){t(({defaultHeaders:a,onTabChange:l,tabs:c,activeTabIndex:f,actions:p})=>{const h=i({tabs:c,activeTabIndex:f}),g={tabs:[...h.tabs,c7({headers:a})],activeTabIndex:h.tabs.length};return p.storeTabs(g),r(g.tabs[g.activeTabIndex]),l==null||l(g),g})},changeTab(a){t(({actions:l,onTabChange:c,tabs:f})=>{l.stop();const p={tabs:f,activeTabIndex:a};return l.storeTabs(p),r(p.tabs[p.activeTabIndex]),c==null||c(p),p})},moveTab(a){t(({onTabChange:l,actions:c,tabs:f,activeTabIndex:p})=>{const h=f[p],g={tabs:a,activeTabIndex:a.indexOf(h)};return c.storeTabs(g),r(g.tabs[g.activeTabIndex]),l==null||l(g),g})},closeTab(a){t(({activeTabIndex:l,onTabChange:c,actions:f,tabs:p})=>{l===a&&f.stop();const h={tabs:p.filter((g,b)=>a!==b),activeTabIndex:Math.max(l-1,0)};return f.storeTabs(h),r(h.tabs[h.activeTabIndex]),c==null||c(h),h})},updateActiveTabValues(a){t(({activeTabIndex:l,tabs:c,onTabChange:f,actions:p})=>{const h=W4({tabs:c,activeTabIndex:l},a);return p.storeTabs(h),f==null||f(h),h})},setEditor({headerEditor:a,queryEditor:l,responseEditor:c,variableEditor:f}){const p=Object.entries({headerEditor:a,queryEditor:l,responseEditor:c,variableEditor:f}).filter(([g,b])=>b),h=Object.fromEntries(p);t(h)},setOperationName(a){t(({onEditOperationName:l,actions:c})=>(c.updateActiveTabValues({operationName:a}),l==null||l(a),{operationName:a}))},setShouldPersistHeaders(a){const{headerEditor:l,tabs:c,activeTabIndex:f,storage:p}=n();if(a){p.set(Pt.headers,(l==null?void 0:l.getValue())??"");const h=q4({tabs:c,activeTabIndex:f},!0);p.set(Pt.tabs,h)}else p.set(Pt.headers,""),k$(p);p.set(Pt.persistHeaders,a.toString()),t({shouldPersistHeaders:a})},storeTabs({tabs:a,activeTabIndex:l}){const{shouldPersistHeaders:c,storage:f}=n();zl(500,h=>{f.set(Pt.tabs,h)})(q4({tabs:a,activeTabIndex:l},c))},setOperationFacts({documentAST:a,operationName:l,operations:c}){t({documentAST:a,operationName:l,operations:c})},async copyQuery(){const{queryEditor:a,onCopyQuery:l}=n();if(!a)return;const c=a.getValue();l==null||l(c);try{await navigator.clipboard.writeText(c)}catch(f){console.warn("Failed to copy query!",f)}},async prettifyEditors(){const{queryEditor:a,headerEditor:l,variableEditor:c,onPrettifyQuery:f}=n();if(c)try{const p=c.getValue(),h=await J4(p);h!==p&&c.setValue(h)}catch(p){console.warn("Parsing variables JSON failed, skip prettification.",p)}if(l)try{const p=l.getValue(),h=await J4(p);h!==p&&l.setValue(h)}catch(p){console.warn("Parsing headers JSON failed, skip prettification.",p)}if(a)try{const p=a.getValue(),h=await f(p);h!==p&&a.setValue(h)}catch(p){console.warn("Parsing query failed, skip prettification.",p)}},mergeQuery(){const{queryEditor:a,documentAST:l,schema:c}=n(),f=a==null?void 0:a.getValue();!l||!f||a.setValue(bt(g$(l,c)))}}}};var K4;(function(e){function t(n){return typeof n=="string"}e.is=t})(K4||(K4={}));var Mg;(function(e){function t(n){return typeof n=="string"}e.is=t})(Mg||(Mg={}));var e6;(function(e){e.MIN_VALUE=-2147483648,e.MAX_VALUE=2147483647;function t(n){return typeof n=="number"&&e.MIN_VALUE<=n&&n<=e.MAX_VALUE}e.is=t})(e6||(e6={}));var j0;(function(e){e.MIN_VALUE=0,e.MAX_VALUE=2147483647;function t(n){return typeof n=="number"&&e.MIN_VALUE<=n&&n<=e.MAX_VALUE}e.is=t})(j0||(j0={}));var hi;(function(e){function t(r,i){return r===Number.MAX_VALUE&&(r=j0.MAX_VALUE),i===Number.MAX_VALUE&&(i=j0.MAX_VALUE),{line:r,character:i}}e.create=t;function n(r){let i=r;return ie.objectLiteral(i)&&ie.uinteger(i.line)&&ie.uinteger(i.character)}e.is=n})(hi||(hi={}));var Wt;(function(e){function t(r,i,o,a){if(ie.uinteger(r)&&ie.uinteger(i)&&ie.uinteger(o)&&ie.uinteger(a))return{start:hi.create(r,i),end:hi.create(o,a)};if(hi.is(r)&&hi.is(i))return{start:r,end:i};throw new Error(`Range#create called with invalid arguments[${r}, ${i}, ${o}, ${a}]`)}e.create=t;function n(r){let i=r;return ie.objectLiteral(i)&&hi.is(i.start)&&hi.is(i.end)}e.is=n})(Wt||(Wt={}));var B0;(function(e){function t(r,i){return{uri:r,range:i}}e.create=t;function n(r){let i=r;return ie.objectLiteral(i)&&Wt.is(i.range)&&(ie.string(i.uri)||ie.undefined(i.uri))}e.is=n})(B0||(B0={}));var t6;(function(e){function t(r,i,o,a){return{targetUri:r,targetRange:i,targetSelectionRange:o,originSelectionRange:a}}e.create=t;function n(r){let i=r;return ie.objectLiteral(i)&&Wt.is(i.targetRange)&&ie.string(i.targetUri)&&Wt.is(i.targetSelectionRange)&&(Wt.is(i.originSelectionRange)||ie.undefined(i.originSelectionRange))}e.is=n})(t6||(t6={}));var $g;(function(e){function t(r,i,o,a){return{red:r,green:i,blue:o,alpha:a}}e.create=t;function n(r){const i=r;return ie.objectLiteral(i)&&ie.numberRange(i.red,0,1)&&ie.numberRange(i.green,0,1)&&ie.numberRange(i.blue,0,1)&&ie.numberRange(i.alpha,0,1)}e.is=n})($g||($g={}));var n6;(function(e){function t(r,i){return{range:r,color:i}}e.create=t;function n(r){const i=r;return ie.objectLiteral(i)&&Wt.is(i.range)&&$g.is(i.color)}e.is=n})(n6||(n6={}));var r6;(function(e){function t(r,i,o){return{label:r,textEdit:i,additionalTextEdits:o}}e.create=t;function n(r){const i=r;return ie.objectLiteral(i)&&ie.string(i.label)&&(ie.undefined(i.textEdit)||ql.is(i))&&(ie.undefined(i.additionalTextEdits)||ie.typedArray(i.additionalTextEdits,ql.is))}e.is=n})(r6||(r6={}));var i6;(function(e){e.Comment="comment",e.Imports="imports",e.Region="region"})(i6||(i6={}));var o6;(function(e){function t(r,i,o,a,l,c){const f={startLine:r,endLine:i};return ie.defined(o)&&(f.startCharacter=o),ie.defined(a)&&(f.endCharacter=a),ie.defined(l)&&(f.kind=l),ie.defined(c)&&(f.collapsedText=c),f}e.create=t;function n(r){const i=r;return ie.objectLiteral(i)&&ie.uinteger(i.startLine)&&ie.uinteger(i.startLine)&&(ie.undefined(i.startCharacter)||ie.uinteger(i.startCharacter))&&(ie.undefined(i.endCharacter)||ie.uinteger(i.endCharacter))&&(ie.undefined(i.kind)||ie.string(i.kind))}e.is=n})(o6||(o6={}));var jg;(function(e){function t(r,i){return{location:r,message:i}}e.create=t;function n(r){let i=r;return ie.defined(i)&&B0.is(i.location)&&ie.string(i.message)}e.is=n})(jg||(jg={}));var s6;(function(e){e.Error=1,e.Warning=2,e.Information=3,e.Hint=4})(s6||(s6={}));var a6;(function(e){e.Unnecessary=1,e.Deprecated=2})(a6||(a6={}));var l6;(function(e){function t(n){const r=n;return ie.objectLiteral(r)&&ie.string(r.href)}e.is=t})(l6||(l6={}));var V0;(function(e){function t(r,i,o,a,l,c){let f={range:r,message:i};return ie.defined(o)&&(f.severity=o),ie.defined(a)&&(f.code=a),ie.defined(l)&&(f.source=l),ie.defined(c)&&(f.relatedInformation=c),f}e.create=t;function n(r){var i;let o=r;return ie.defined(o)&&Wt.is(o.range)&&ie.string(o.message)&&(ie.number(o.severity)||ie.undefined(o.severity))&&(ie.integer(o.code)||ie.string(o.code)||ie.undefined(o.code))&&(ie.undefined(o.codeDescription)||ie.string((i=o.codeDescription)===null||i===void 0?void 0:i.href))&&(ie.string(o.source)||ie.undefined(o.source))&&(ie.undefined(o.relatedInformation)||ie.typedArray(o.relatedInformation,jg.is))}e.is=n})(V0||(V0={}));var Hl;(function(e){function t(r,i,...o){let a={title:r,command:i};return ie.defined(o)&&o.length>0&&(a.arguments=o),a}e.create=t;function n(r){let i=r;return ie.defined(i)&&ie.string(i.title)&&ie.string(i.command)}e.is=n})(Hl||(Hl={}));var ql;(function(e){function t(o,a){return{range:o,newText:a}}e.replace=t;function n(o,a){return{range:{start:o,end:o},newText:a}}e.insert=n;function r(o){return{range:o,newText:""}}e.del=r;function i(o){const a=o;return ie.objectLiteral(a)&&ie.string(a.newText)&&Wt.is(a.range)}e.is=i})(ql||(ql={}));var Bg;(function(e){function t(r,i,o){const a={label:r};return i!==void 0&&(a.needsConfirmation=i),o!==void 0&&(a.description=o),a}e.create=t;function n(r){const i=r;return ie.objectLiteral(i)&&ie.string(i.label)&&(ie.boolean(i.needsConfirmation)||i.needsConfirmation===void 0)&&(ie.string(i.description)||i.description===void 0)}e.is=n})(Bg||(Bg={}));var Wl;(function(e){function t(n){const r=n;return ie.string(r)}e.is=t})(Wl||(Wl={}));var u6;(function(e){function t(o,a,l){return{range:o,newText:a,annotationId:l}}e.replace=t;function n(o,a,l){return{range:{start:o,end:o},newText:a,annotationId:l}}e.insert=n;function r(o,a){return{range:o,newText:"",annotationId:a}}e.del=r;function i(o){const a=o;return ql.is(a)&&(Bg.is(a.annotationId)||Wl.is(a.annotationId))}e.is=i})(u6||(u6={}));var Vg;(function(e){function t(r,i){return{textDocument:r,edits:i}}e.create=t;function n(r){let i=r;return ie.defined(i)&&Wg.is(i.textDocument)&&Array.isArray(i.edits)}e.is=n})(Vg||(Vg={}));var Ug;(function(e){function t(r,i,o){let a={kind:"create",uri:r};return i!==void 0&&(i.overwrite!==void 0||i.ignoreIfExists!==void 0)&&(a.options=i),o!==void 0&&(a.annotationId=o),a}e.create=t;function n(r){let i=r;return i&&i.kind==="create"&&ie.string(i.uri)&&(i.options===void 0||(i.options.overwrite===void 0||ie.boolean(i.options.overwrite))&&(i.options.ignoreIfExists===void 0||ie.boolean(i.options.ignoreIfExists)))&&(i.annotationId===void 0||Wl.is(i.annotationId))}e.is=n})(Ug||(Ug={}));var zg;(function(e){function t(r,i,o,a){let l={kind:"rename",oldUri:r,newUri:i};return o!==void 0&&(o.overwrite!==void 0||o.ignoreIfExists!==void 0)&&(l.options=o),a!==void 0&&(l.annotationId=a),l}e.create=t;function n(r){let i=r;return i&&i.kind==="rename"&&ie.string(i.oldUri)&&ie.string(i.newUri)&&(i.options===void 0||(i.options.overwrite===void 0||ie.boolean(i.options.overwrite))&&(i.options.ignoreIfExists===void 0||ie.boolean(i.options.ignoreIfExists)))&&(i.annotationId===void 0||Wl.is(i.annotationId))}e.is=n})(zg||(zg={}));var Hg;(function(e){function t(r,i,o){let a={kind:"delete",uri:r};return i!==void 0&&(i.recursive!==void 0||i.ignoreIfNotExists!==void 0)&&(a.options=i),o!==void 0&&(a.annotationId=o),a}e.create=t;function n(r){let i=r;return i&&i.kind==="delete"&&ie.string(i.uri)&&(i.options===void 0||(i.options.recursive===void 0||ie.boolean(i.options.recursive))&&(i.options.ignoreIfNotExists===void 0||ie.boolean(i.options.ignoreIfNotExists)))&&(i.annotationId===void 0||Wl.is(i.annotationId))}e.is=n})(Hg||(Hg={}));var qg;(function(e){function t(n){let r=n;return r&&(r.changes!==void 0||r.documentChanges!==void 0)&&(r.documentChanges===void 0||r.documentChanges.every(i=>ie.string(i.kind)?Ug.is(i)||zg.is(i)||Hg.is(i):Vg.is(i)))}e.is=t})(qg||(qg={}));var c6;(function(e){function t(r){return{uri:r}}e.create=t;function n(r){let i=r;return ie.defined(i)&&ie.string(i.uri)}e.is=n})(c6||(c6={}));var f6;(function(e){function t(r,i){return{uri:r,version:i}}e.create=t;function n(r){let i=r;return ie.defined(i)&&ie.string(i.uri)&&ie.integer(i.version)}e.is=n})(f6||(f6={}));var Wg;(function(e){function t(r,i){return{uri:r,version:i}}e.create=t;function n(r){let i=r;return ie.defined(i)&&ie.string(i.uri)&&(i.version===null||ie.integer(i.version))}e.is=n})(Wg||(Wg={}));var d6;(function(e){function t(r,i,o,a){return{uri:r,languageId:i,version:o,text:a}}e.create=t;function n(r){let i=r;return ie.defined(i)&&ie.string(i.uri)&&ie.string(i.languageId)&&ie.integer(i.version)&&ie.string(i.text)}e.is=n})(d6||(d6={}));var Gg;(function(e){e.PlainText="plaintext",e.Markdown="markdown";function t(n){const r=n;return r===e.PlainText||r===e.Markdown}e.is=t})(Gg||(Gg={}));var Cc;(function(e){function t(n){const r=n;return ie.objectLiteral(n)&&Gg.is(r.kind)&&ie.string(r.value)}e.is=t})(Cc||(Cc={}));var p6;(function(e){e.Text=1,e.Method=2,e.Function=3,e.Constructor=4,e.Field=5,e.Variable=6,e.Class=7,e.Interface=8,e.Module=9,e.Property=10,e.Unit=11,e.Value=12,e.Enum=13,e.Keyword=14,e.Snippet=15,e.Color=16,e.File=17,e.Reference=18,e.Folder=19,e.EnumMember=20,e.Constant=21,e.Struct=22,e.Event=23,e.Operator=24,e.TypeParameter=25})(p6||(p6={}));var h6;(function(e){e.PlainText=1,e.Snippet=2})(h6||(h6={}));var m6;(function(e){e.Deprecated=1})(m6||(m6={}));var g6;(function(e){function t(r,i,o){return{newText:r,insert:i,replace:o}}e.create=t;function n(r){const i=r;return i&&ie.string(i.newText)&&Wt.is(i.insert)&&Wt.is(i.replace)}e.is=n})(g6||(g6={}));var b6;(function(e){e.asIs=1,e.adjustIndentation=2})(b6||(b6={}));var v6;(function(e){function t(n){const r=n;return r&&(ie.string(r.detail)||r.detail===void 0)&&(ie.string(r.description)||r.description===void 0)}e.is=t})(v6||(v6={}));var y6;(function(e){function t(n){return{label:n}}e.create=t})(y6||(y6={}));var x6;(function(e){function t(n,r){return{items:n||[],isIncomplete:!!r}}e.create=t})(x6||(x6={}));var U0;(function(e){function t(r){return r.replace(/[\\`*_{}[\]()#+\-.!]/g,"\\$&")}e.fromPlainText=t;function n(r){const i=r;return ie.string(i)||ie.objectLiteral(i)&&ie.string(i.language)&&ie.string(i.value)}e.is=n})(U0||(U0={}));var w6;(function(e){function t(n){let r=n;return!!r&&ie.objectLiteral(r)&&(Cc.is(r.contents)||U0.is(r.contents)||ie.typedArray(r.contents,U0.is))&&(n.range===void 0||Wt.is(n.range))}e.is=t})(w6||(w6={}));var E6;(function(e){function t(n,r){return r?{label:n,documentation:r}:{label:n}}e.create=t})(E6||(E6={}));var S6;(function(e){function t(n,r,...i){let o={label:n};return ie.defined(r)&&(o.documentation=r),ie.defined(i)?o.parameters=i:o.parameters=[],o}e.create=t})(S6||(S6={}));var _6;(function(e){e.Text=1,e.Read=2,e.Write=3})(_6||(_6={}));var T6;(function(e){function t(n,r){let i={range:n};return ie.number(r)&&(i.kind=r),i}e.create=t})(T6||(T6={}));var k6;(function(e){e.File=1,e.Module=2,e.Namespace=3,e.Package=4,e.Class=5,e.Method=6,e.Property=7,e.Field=8,e.Constructor=9,e.Enum=10,e.Interface=11,e.Function=12,e.Variable=13,e.Constant=14,e.String=15,e.Number=16,e.Boolean=17,e.Array=18,e.Object=19,e.Key=20,e.Null=21,e.EnumMember=22,e.Struct=23,e.Event=24,e.Operator=25,e.TypeParameter=26})(k6||(k6={}));var C6;(function(e){e.Deprecated=1})(C6||(C6={}));var N6;(function(e){function t(n,r,i,o,a){let l={name:n,kind:r,location:{uri:o,range:i}};return a&&(l.containerName=a),l}e.create=t})(N6||(N6={}));var A6;(function(e){function t(n,r,i,o){return o!==void 0?{name:n,kind:r,location:{uri:i,range:o}}:{name:n,kind:r,location:{uri:i}}}e.create=t})(A6||(A6={}));var I6;(function(e){function t(r,i,o,a,l,c){let f={name:r,detail:i,kind:o,range:a,selectionRange:l};return c!==void 0&&(f.children=c),f}e.create=t;function n(r){let i=r;return i&&ie.string(i.name)&&ie.number(i.kind)&&Wt.is(i.range)&&Wt.is(i.selectionRange)&&(i.detail===void 0||ie.string(i.detail))&&(i.deprecated===void 0||ie.boolean(i.deprecated))&&(i.children===void 0||Array.isArray(i.children))&&(i.tags===void 0||Array.isArray(i.tags))}e.is=n})(I6||(I6={}));var D6;(function(e){e.Empty="",e.QuickFix="quickfix",e.Refactor="refactor",e.RefactorExtract="refactor.extract",e.RefactorInline="refactor.inline",e.RefactorRewrite="refactor.rewrite",e.Source="source",e.SourceOrganizeImports="source.organizeImports",e.SourceFixAll="source.fixAll"})(D6||(D6={}));var z0;(function(e){e.Invoked=1,e.Automatic=2})(z0||(z0={}));var R6;(function(e){function t(r,i,o){let a={diagnostics:r};return i!=null&&(a.only=i),o!=null&&(a.triggerKind=o),a}e.create=t;function n(r){let i=r;return ie.defined(i)&&ie.typedArray(i.diagnostics,V0.is)&&(i.only===void 0||ie.typedArray(i.only,ie.string))&&(i.triggerKind===void 0||i.triggerKind===z0.Invoked||i.triggerKind===z0.Automatic)}e.is=n})(R6||(R6={}));var L6;(function(e){function t(r,i,o){let a={title:r},l=!0;return typeof i=="string"?(l=!1,a.kind=i):Hl.is(i)?a.command=i:a.edit=i,l&&o!==void 0&&(a.kind=o),a}e.create=t;function n(r){let i=r;return i&&ie.string(i.title)&&(i.diagnostics===void 0||ie.typedArray(i.diagnostics,V0.is))&&(i.kind===void 0||ie.string(i.kind))&&(i.edit!==void 0||i.command!==void 0)&&(i.command===void 0||Hl.is(i.command))&&(i.isPreferred===void 0||ie.boolean(i.isPreferred))&&(i.edit===void 0||qg.is(i.edit))}e.is=n})(L6||(L6={}));var P6;(function(e){function t(r,i){let o={range:r};return ie.defined(i)&&(o.data=i),o}e.create=t;function n(r){let i=r;return ie.defined(i)&&Wt.is(i.range)&&(ie.undefined(i.command)||Hl.is(i.command))}e.is=n})(P6||(P6={}));var F6;(function(e){function t(r,i){return{tabSize:r,insertSpaces:i}}e.create=t;function n(r){let i=r;return ie.defined(i)&&ie.uinteger(i.tabSize)&&ie.boolean(i.insertSpaces)}e.is=n})(F6||(F6={}));var O6;(function(e){function t(r,i,o){return{range:r,target:i,data:o}}e.create=t;function n(r){let i=r;return ie.defined(i)&&Wt.is(i.range)&&(ie.undefined(i.target)||ie.string(i.target))}e.is=n})(O6||(O6={}));var M6;(function(e){function t(r,i){return{range:r,parent:i}}e.create=t;function n(r){let i=r;return ie.objectLiteral(i)&&Wt.is(i.range)&&(i.parent===void 0||e.is(i.parent))}e.is=n})(M6||(M6={}));var $6;(function(e){e.namespace="namespace",e.type="type",e.class="class",e.enum="enum",e.interface="interface",e.struct="struct",e.typeParameter="typeParameter",e.parameter="parameter",e.variable="variable",e.property="property",e.enumMember="enumMember",e.event="event",e.function="function",e.method="method",e.macro="macro",e.keyword="keyword",e.modifier="modifier",e.comment="comment",e.string="string",e.number="number",e.regexp="regexp",e.operator="operator",e.decorator="decorator"})($6||($6={}));var j6;(function(e){e.declaration="declaration",e.definition="definition",e.readonly="readonly",e.static="static",e.deprecated="deprecated",e.abstract="abstract",e.async="async",e.modification="modification",e.documentation="documentation",e.defaultLibrary="defaultLibrary"})(j6||(j6={}));var B6;(function(e){function t(n){const r=n;return ie.objectLiteral(r)&&(r.resultId===void 0||typeof r.resultId=="string")&&Array.isArray(r.data)&&(r.data.length===0||typeof r.data[0]=="number")}e.is=t})(B6||(B6={}));var V6;(function(e){function t(r,i){return{range:r,text:i}}e.create=t;function n(r){const i=r;return i!=null&&Wt.is(i.range)&&ie.string(i.text)}e.is=n})(V6||(V6={}));var U6;(function(e){function t(r,i,o){return{range:r,variableName:i,caseSensitiveLookup:o}}e.create=t;function n(r){const i=r;return i!=null&&Wt.is(i.range)&&ie.boolean(i.caseSensitiveLookup)&&(ie.string(i.variableName)||i.variableName===void 0)}e.is=n})(U6||(U6={}));var z6;(function(e){function t(r,i){return{range:r,expression:i}}e.create=t;function n(r){const i=r;return i!=null&&Wt.is(i.range)&&(ie.string(i.expression)||i.expression===void 0)}e.is=n})(z6||(z6={}));var H6;(function(e){function t(r,i){return{frameId:r,stoppedLocation:i}}e.create=t;function n(r){const i=r;return ie.defined(i)&&Wt.is(r.stoppedLocation)}e.is=n})(H6||(H6={}));var Qg;(function(e){e.Type=1,e.Parameter=2;function t(n){return n===1||n===2}e.is=t})(Qg||(Qg={}));var Yg;(function(e){function t(r){return{value:r}}e.create=t;function n(r){const i=r;return ie.objectLiteral(i)&&(i.tooltip===void 0||ie.string(i.tooltip)||Cc.is(i.tooltip))&&(i.location===void 0||B0.is(i.location))&&(i.command===void 0||Hl.is(i.command))}e.is=n})(Yg||(Yg={}));var q6;(function(e){function t(r,i,o){const a={position:r,label:i};return o!==void 0&&(a.kind=o),a}e.create=t;function n(r){const i=r;return ie.objectLiteral(i)&&hi.is(i.position)&&(ie.string(i.label)||ie.typedArray(i.label,Yg.is))&&(i.kind===void 0||Qg.is(i.kind))&&i.textEdits===void 0||ie.typedArray(i.textEdits,ql.is)&&(i.tooltip===void 0||ie.string(i.tooltip)||Cc.is(i.tooltip))&&(i.paddingLeft===void 0||ie.boolean(i.paddingLeft))&&(i.paddingRight===void 0||ie.boolean(i.paddingRight))}e.is=n})(q6||(q6={}));var W6;(function(e){function t(n){return{kind:"snippet",value:n}}e.createSnippet=t})(W6||(W6={}));var G6;(function(e){function t(n,r,i,o){return{insertText:n,filterText:r,range:i,command:o}}e.create=t})(G6||(G6={}));var Q6;(function(e){function t(n){return{items:n}}e.create=t})(Q6||(Q6={}));var Y6;(function(e){e.Invoked=0,e.Automatic=1})(Y6||(Y6={}));var X6;(function(e){function t(n,r){return{range:n,text:r}}e.create=t})(X6||(X6={}));var Z6;(function(e){function t(n,r){return{triggerKind:n,selectedCompletionInfo:r}}e.create=t})(Z6||(Z6={}));var J6;(function(e){function t(n){const r=n;return ie.objectLiteral(r)&&Mg.is(r.uri)&&ie.string(r.name)}e.is=t})(J6||(J6={}));var K6;(function(e){function t(o,a,l,c){return new M$(o,a,l,c)}e.create=t;function n(o){let a=o;return!!(ie.defined(a)&&ie.string(a.uri)&&(ie.undefined(a.languageId)||ie.string(a.languageId))&&ie.uinteger(a.lineCount)&&ie.func(a.getText)&&ie.func(a.positionAt)&&ie.func(a.offsetAt))}e.is=n;function r(o,a){let l=o.getText(),c=i(a,(p,h)=>{let g=p.range.start.line-h.range.start.line;return g===0?p.range.start.character-h.range.start.character:g}),f=l.length;for(let p=c.length-1;p>=0;p--){let h=c[p],g=o.offsetAt(h.range.start),b=o.offsetAt(h.range.end);if(b<=f)l=l.substring(0,g)+h.newText+l.substring(b,l.length);else throw new Error("Overlapping edit");f=g}return l}e.applyEdits=r;function i(o,a){if(o.length<=1)return o;const l=o.length/2|0,c=o.slice(0,l),f=o.slice(l);i(c,a),i(f,a);let p=0,h=0,g=0;for(;p0&&t.push(n.length),this._lineOffsets=t}return this._lineOffsets}positionAt(t){t=Math.max(Math.min(t,this._content.length),0);let n=this.getLineOffsets(),r=0,i=n.length;if(i===0)return hi.create(0,t);for(;rt?i=a:r=a+1}let o=r-1;return hi.create(o,t-n[o])}offsetAt(t){let n=this.getLineOffsets();if(t.line>=n.length)return this._content.length;if(t.line<0)return 0;let r=n[t.line],i=t.line+1"u"}e.undefined=r;function i(b){return b===!0||b===!1}e.boolean=i;function o(b){return t.call(b)==="[object String]"}e.string=o;function a(b){return t.call(b)==="[object Number]"}e.number=a;function l(b,y,w){return t.call(b)==="[object Number]"&&y<=b&&b<=w}e.numberRange=l;function c(b){return t.call(b)==="[object Number]"&&-2147483648<=b&&b<=2147483647}e.integer=c;function f(b){return t.call(b)==="[object Number]"&&0<=b&&b<=2147483647}e.uinteger=f;function p(b){return t.call(b)==="[object Function]"}e.func=p;function h(b){return b!==null&&typeof b=="object"}e.objectLiteral=h;function g(b,y){return Array.isArray(b)&&b.every(y)}e.typedArray=g})(ie||(ie={}));class ew{constructor(t){this._start=0,this._pos=0,this.getStartOfToken=()=>this._start,this.getCurrentPosition=()=>this._pos,this.eol=()=>this._sourceText.length===this._pos,this.sol=()=>this._pos===0,this.peek=()=>this._sourceText.charAt(this._pos)||null,this.next=()=>{const n=this._sourceText.charAt(this._pos);return this._pos++,n},this.eat=n=>{if(this._testNextCharacter(n))return this._start=this._pos,this._pos++,this._sourceText.charAt(this._pos-1)},this.eatWhile=n=>{let r=this._testNextCharacter(n),i=!1;for(r&&(i=r,this._start=this._pos);r;)this._pos++,r=this._testNextCharacter(n),i=!0;return i},this.eatSpace=()=>this.eatWhile(/[\s\u00a0]/),this.skipToEnd=()=>{this._pos=this._sourceText.length},this.skipTo=n=>{this._pos=n},this.match=(n,r=!0,i=!1)=>{let o=null,a=null;return typeof n=="string"?(a=new RegExp(n,i?"i":"g").test(this._sourceText.slice(this._pos,this._pos+n.length)),o=n):n instanceof RegExp&&(a=this._sourceText.slice(this._pos).match(n),o=a==null?void 0:a[0]),a!=null&&(typeof n=="string"||a instanceof Array&&this._sourceText.startsWith(a[0],this._pos))?(r&&(this._start=this._pos,o&&o.length&&(this._pos+=o.length)),a):!1},this.backUp=n=>{this._pos-=n},this.column=()=>this._pos,this.indentation=()=>{const n=this._sourceText.match(/\s*/);let r=0;if(n&&n.length!==0){const i=n[0];let o=0;for(;i.length>o;)i.charCodeAt(o)===9?r+=2:r++,o++}return r},this.current=()=>this._sourceText.slice(this._start,this._pos),this._sourceText=t}_testNextCharacter(t){const n=this._sourceText.charAt(this._pos);let r=!1;return typeof t=="string"?r=n===t:r=t instanceof RegExp?t.test(n):t(n),r}}function Vt(e){return{ofRule:e}}function Ze(e,t){return{ofRule:e,isList:!0,separator:t}}function $$(e,t){const n=e.match;return e.match=r=>{let i=!1;return n&&(i=n(r)),i&&t.every(o=>o.match&&!o.match(r))},e}function i1(e,t){return{style:t,match:n=>n.kind===e}}function Be(e,t){return{style:t||"punctuation",match:n=>n.kind==="Punctuation"&&n.value===e}}const j$=e=>e===" "||e===" "||e===","||e===` +`||e==="\r"||e==="\uFEFF"||e===" ",B$={Name:/^[_A-Za-z][_0-9A-Za-z]*/,Punctuation:/^(?:!|\$|\(|\)|\.\.\.|:|=|&|@|\[|]|\{|\||\})/,Number:/^-?(?:0|(?:[1-9][0-9]*))(?:\.[0-9]*)?(?:[eE][+-]?[0-9]+)?/,String:/^(?:"""(?:\\"""|[^"]|"[^"]|""[^"])*(?:""")?|"(?:[^"\\]|\\(?:"|\/|\\|b|f|n|r|t|u[0-9a-fA-F]{4}))*"?)/,Comment:/^#.*/},V$={Document:[Ze("Definition")],Definition(e){switch(e.value){case"{":return"ShortQuery";case"query":return"Query";case"mutation":return"Mutation";case"subscription":return"Subscription";case"fragment":return M.FRAGMENT_DEFINITION;case"schema":return"SchemaDef";case"scalar":return"ScalarDef";case"type":return"ObjectTypeDef";case"interface":return"InterfaceDef";case"union":return"UnionDef";case"enum":return"EnumDef";case"input":return"InputDef";case"extend":return"ExtendDef";case"directive":return"DirectiveDef"}},ShortQuery:["SelectionSet"],Query:[En("query"),Vt(mt("def")),Vt("VariableDefinitions"),Ze("Directive"),"SelectionSet"],Mutation:[En("mutation"),Vt(mt("def")),Vt("VariableDefinitions"),Ze("Directive"),"SelectionSet"],Subscription:[En("subscription"),Vt(mt("def")),Vt("VariableDefinitions"),Ze("Directive"),"SelectionSet"],VariableDefinitions:[Be("("),Ze("VariableDefinition"),Be(")")],VariableDefinition:["Variable",Be(":"),"Type",Vt("DefaultValue")],Variable:[Be("$","variable"),mt("variable")],DefaultValue:[Be("="),"Value"],SelectionSet:[Be("{"),Ze("Selection"),Be("}")],Selection(e,t){return e.value==="..."?t.match(/[\s\u00a0,]*(on\b|@|{)/,!1)?"InlineFragment":"FragmentSpread":t.match(/[\s\u00a0,]*:/,!1)?"AliasedField":"Field"},AliasedField:[mt("property"),Be(":"),mt("qualifier"),Vt("Arguments"),Ze("Directive"),Vt("SelectionSet")],Field:[mt("property"),Vt("Arguments"),Ze("Directive"),Vt("SelectionSet")],Arguments:[Be("("),Ze("Argument"),Be(")")],Argument:[mt("attribute"),Be(":"),"Value"],FragmentSpread:[Be("..."),mt("def"),Ze("Directive")],InlineFragment:[Be("..."),Vt("TypeCondition"),Ze("Directive"),"SelectionSet"],FragmentDefinition:[En("fragment"),Vt($$(mt("def"),[En("on")])),"TypeCondition",Ze("Directive"),"SelectionSet"],TypeCondition:[En("on"),"NamedType"],Value(e){switch(e.kind){case"Number":return"NumberValue";case"String":return"StringValue";case"Punctuation":switch(e.value){case"[":return"ListValue";case"{":return"ObjectValue";case"$":return"Variable";case"&":return"NamedType"}return null;case"Name":switch(e.value){case"true":case"false":return"BooleanValue"}return e.value==="null"?"NullValue":"EnumValue"}},NumberValue:[i1("Number","number")],StringValue:[{style:"string",match:e=>e.kind==="String",update(e,t){t.value.startsWith('"""')&&(e.inBlockstring=!t.value.slice(3).endsWith('"""'))}}],BooleanValue:[i1("Name","builtin")],NullValue:[i1("Name","keyword")],EnumValue:[mt("string-2")],ListValue:[Be("["),Ze("Value"),Be("]")],ObjectValue:[Be("{"),Ze("ObjectField"),Be("}")],ObjectField:[mt("attribute"),Be(":"),"Value"],Type(e){return e.value==="["?"ListType":"NonNullType"},ListType:[Be("["),"Type",Be("]"),Vt(Be("!"))],NonNullType:["NamedType",Vt(Be("!"))],NamedType:[U$("atom")],Directive:[Be("@","meta"),mt("meta"),Vt("Arguments")],DirectiveDef:[En("directive"),Be("@","meta"),mt("meta"),Vt("ArgumentsDef"),En("on"),Ze("DirectiveLocation",Be("|"))],InterfaceDef:[En("interface"),mt("atom"),Vt("Implements"),Ze("Directive"),Be("{"),Ze("FieldDef"),Be("}")],Implements:[En("implements"),Ze("NamedType",Be("&"))],DirectiveLocation:[mt("string-2")],SchemaDef:[En("schema"),Ze("Directive"),Be("{"),Ze("OperationTypeDef"),Be("}")],OperationTypeDef:[mt("keyword"),Be(":"),mt("atom")],ScalarDef:[En("scalar"),mt("atom"),Ze("Directive")],ObjectTypeDef:[En("type"),mt("atom"),Vt("Implements"),Ze("Directive"),Be("{"),Ze("FieldDef"),Be("}")],FieldDef:[mt("property"),Vt("ArgumentsDef"),Be(":"),"Type",Ze("Directive")],ArgumentsDef:[Be("("),Ze("InputValueDef"),Be(")")],InputValueDef:[mt("attribute"),Be(":"),"Type",Vt("DefaultValue"),Ze("Directive")],UnionDef:[En("union"),mt("atom"),Ze("Directive"),Be("="),Ze("UnionMember",Be("|"))],UnionMember:["NamedType"],EnumDef:[En("enum"),mt("atom"),Ze("Directive"),Be("{"),Ze("EnumValueDef"),Be("}")],EnumValueDef:[mt("string-2"),Ze("Directive")],InputDef:[En("input"),mt("atom"),Ze("Directive"),Be("{"),Ze("InputValueDef"),Be("}")],ExtendDef:[En("extend"),"ExtensionDefinition"],ExtensionDefinition(e){switch(e.value){case"schema":return M.SCHEMA_EXTENSION;case"scalar":return M.SCALAR_TYPE_EXTENSION;case"type":return M.OBJECT_TYPE_EXTENSION;case"interface":return M.INTERFACE_TYPE_EXTENSION;case"union":return M.UNION_TYPE_EXTENSION;case"enum":return M.ENUM_TYPE_EXTENSION;case"input":return M.INPUT_OBJECT_TYPE_EXTENSION}},[M.SCHEMA_EXTENSION]:["SchemaDef"],[M.SCALAR_TYPE_EXTENSION]:["ScalarDef"],[M.OBJECT_TYPE_EXTENSION]:["ObjectTypeDef"],[M.INTERFACE_TYPE_EXTENSION]:["InterfaceDef"],[M.UNION_TYPE_EXTENSION]:["UnionDef"],[M.ENUM_TYPE_EXTENSION]:["EnumDef"],[M.INPUT_OBJECT_TYPE_EXTENSION]:["InputDef"]};function En(e){return{style:"keyword",match:t=>t.kind==="Name"&&t.value===e}}function mt(e){return{style:e,match:t=>t.kind==="Name",update(t,n){t.name=n.value}}}function U$(e){return{style:e,match:t=>t.kind==="Name",update(t,n){var r;!((r=t.prevState)===null||r===void 0)&&r.prevState&&(t.name=n.value,t.prevState.prevState.type=n.value)}}}function z$(e={eatWhitespace:t=>t.eatWhile(j$),lexRules:B$,parseRules:V$,editorConfig:{}}){return{startState(){const t={level:0,step:0,name:null,kind:null,type:null,rule:null,needsSeparator:!1,prevState:null};return Ku(e.parseRules,t,M.DOCUMENT),t},token(t,n){return H$(t,n,e)}}}function H$(e,t,n){var r;if(t.inBlockstring)return e.match(/.*"""/)?(t.inBlockstring=!1,"string"):(e.skipToEnd(),"string");const{lexRules:i,parseRules:o,eatWhitespace:a,editorConfig:l}=n;if(t.rule&&t.rule.length===0?Ab(t):t.needsAdvance&&(t.needsAdvance=!1,Xg(t,!0)),e.sol()){const p=(l==null?void 0:l.tabSize)||2;t.indentLevel=Math.floor(e.indentation()/p)}if(a(e))return"ws";const c=W$(i,e);if(!c)return e.match(/\S+/)||e.match(/\s/),Ku(o1,t,"Invalid"),"invalidchar";if(c.kind==="Comment")return Ku(o1,t,"Comment"),"comment";const f=tw({},t);if(c.kind==="Punctuation"){if(/^[{([]/.test(c.value))t.indentLevel!==void 0&&(t.levels=(t.levels||[]).concat(t.indentLevel+1));else if(/^[})\]]/.test(c.value)){const p=t.levels=(t.levels||[]).slice(0,-1);t.indentLevel&&p.length>0&&p.at(-1){let t=lc.UNKNOWN;if(e)try{xi(Yc(e),{enter(n){if(n.kind==="Document"){t=lc.EXECUTABLE;return}return Q$.includes(n.kind)?(t=lc.TYPE_SYSTEM,gl):!1}})}catch{return t}return t};function X$(e,t){return Y$(e)}function Z$(e,t,n=0){let r=null,i=null,o=null;const a=G$(e,(l,c,f,p)=>{if(!(p!==t.line||l.getCurrentPosition()+n=0;i--)t(n[i])}function ej(e,t){let n,r,i,o,a,l,c,f,p,h,g;return K$(t,b=>{var y;switch(b.kind){case At.QUERY:case"ShortQuery":h=e.getQueryType();break;case At.MUTATION:h=e.getMutationType();break;case At.SUBSCRIPTION:h=e.getSubscriptionType();break;case At.INLINE_FRAGMENT:case At.FRAGMENT_DEFINITION:b.type&&(h=e.getType(b.type));break;case At.FIELD:case At.ALIASED_FIELD:{!h||!b.name?a=null:(a=p?rw(e,p,b.name):null,h=a?a.type:null);break}case At.SELECTION_SET:p=Tn(h);break;case At.DIRECTIVE:i=b.name?e.getDirective(b.name):null;break;case At.INTERFACE_DEF:b.name&&(c=null,g=new _c({name:b.name,interfaces:[],fields:{}}));break;case At.OBJECT_TYPE_DEF:b.name&&(g=null,c=new wi({name:b.name,interfaces:[],fields:{}}));break;case At.ARGUMENTS:{if(b.prevState)switch(b.prevState.kind){case At.FIELD:r=a&&a.args;break;case At.DIRECTIVE:r=i&&i.args;break;case At.ALIASED_FIELD:{const C=(y=b.prevState)===null||y===void 0?void 0:y.name;if(!C){r=null;break}const A=p?rw(e,p,C):null;if(!A){r=null;break}r=A.args;break}default:r=null;break}else r=null;break}case At.ARGUMENT:if(r){for(let C=0;CC.value===b.name):null;break;case At.LIST_VALUE:const _=pb(l);l=_ instanceof $n?_.ofType:null;break;case At.OBJECT_VALUE:const T=Tn(l);f=T instanceof Tc?T.getFields():null;break;case At.OBJECT_FIELD:const N=b.name&&f?f[b.name]:null;l=N==null?void 0:N.type,a=N,h=a?a.type:null;break;case At.NAMED_TYPE:b.name&&(h=e.getType(b.name));break}}),{argDef:n,argDefs:r,directiveDef:i,enumValue:o,fieldDef:a,inputType:l,objectFieldDefs:f,parentType:p,type:h,interfaceDef:g,objectTypeDef:c}}const tj={ALIASED_FIELD:"AliasedField",ARGUMENTS:"Arguments",SHORT_QUERY:"ShortQuery",QUERY:"Query",MUTATION:"Mutation",SUBSCRIPTION:"Subscription",TYPE_CONDITION:"TypeCondition",INVALID:"Invalid",COMMENT:"Comment",SCHEMA_DEF:"SchemaDef",SCALAR_DEF:"ScalarDef",OBJECT_TYPE_DEF:"ObjectTypeDef",OBJECT_VALUE:"ObjectValue",LIST_VALUE:"ListValue",INTERFACE_DEF:"InterfaceDef",UNION_DEF:"UnionDef",ENUM_DEF:"EnumDef",ENUM_VALUE:"EnumValue",FIELD_DEF:"FieldDef",INPUT_DEF:"InputDef",INPUT_VALUE_DEF:"InputValueDef",ARGUMENTS_DEF:"ArgumentsDef",EXTEND_DEF:"ExtendDef",EXTENSION_DEFINITION:"ExtensionDefinition",DIRECTIVE_DEF:"DirectiveDef",IMPLEMENTS:"Implements",VARIABLE_DEFINITIONS:"VariableDefinitions",TYPE:"Type",VARIABLE:"Variable"},At=Object.assign(Object.assign({},M),tj);var Er;(function(e){e.Text=1,e.Method=2,e.Function=3,e.Constructor=4,e.Field=5,e.Variable=6,e.Class=7,e.Interface=8,e.Module=9,e.Property=10,e.Unit=11,e.Value=12,e.Enum=13,e.Keyword=14,e.Snippet=15,e.Color=16,e.File=17,e.Reference=18,e.Folder=19,e.EnumMember=20,e.Constant=21,e.Struct=22,e.Event=23,e.Operator=24,e.TypeParameter=25})(Er||(Er={}));Er.Function,Er.Function,Er.Function,Er.Function,Er.Function,Er.Function;Er.Function,Er.Function,Er.Function,Er.Function,Er.Constructor;var Qu={exports:{}},iw;function nj(){if(iw)return Qu.exports;iw=1;function e(t,n){if(t!=null)return t;var r=new Error(n!==void 0?n:"Got unexpected "+t);throw r.framesToPop=1,r}return Qu.exports=e,Qu.exports.default=e,Object.defineProperty(Qu.exports,"__esModule",{value:!0}),Qu.exports}var rj=nj();const ow=Kl(rj),ij=(e,t)=>{if(!t)return[];const n=new Map,r=new Set;xi(e,{FragmentDefinition(a){n.set(a.name.value,!0)},FragmentSpread(a){r.has(a.name.value)||r.add(a.name.value)}});const i=new Set;for(const a of r)!n.has(a)&&t.has(a)&&i.add(ow(t.get(a)));const o=[];for(const a of i)xi(a,{FragmentSpread(l){!r.has(l.name.value)&&t.get(l.name.value)&&(i.add(ow(t.get(l.name.value))),r.add(l.name.value))}}),n.has(a.name.value)||o.push(a);return o};class oj{constructor(t,n){this.lessThanOrEqualTo=r=>this.line + * + * Copyright (c) 2014-present, Jon Schlinkert. + * Released under the MIT License. + */var s1,sw;function uj(){return sw||(sw=1,s1=function(t){return typeof t=="object"?t===null:typeof t!="function"}),s1}/*! + * isobject + * + * Copyright (c) 2014-2017, Jon Schlinkert. + * Released under the MIT License. + */var a1,aw;function p7(){return aw||(aw=1,a1=function(t){return t!=null&&typeof t=="object"&&Array.isArray(t)===!1}),a1}/*! + * is-plain-object + * + * Copyright (c) 2014-2017, Jon Schlinkert. + * Released under the MIT License. + */var l1,lw;function cj(){if(lw)return l1;lw=1;var e=p7();function t(n){return e(n)===!0&&Object.prototype.toString.call(n)==="[object Object]"}return l1=function(r){var i,o;return!(t(r)===!1||(i=r.constructor,typeof i!="function")||(o=i.prototype,t(o)===!1)||o.hasOwnProperty("isPrototypeOf")===!1)},l1}/*! + * set-value + * + * Copyright (c) Jon Schlinkert (https://github.com/jonschlinkert). + * Released under the MIT License. + */var u1,uw;function fj(){if(uw)return u1;uw=1;const{deleteProperty:e}=Reflect,t=uj(),n=cj(),r=b=>typeof b=="object"&&b!==null||typeof b=="function",i=b=>b==="__proto__"||b==="constructor"||b==="prototype",o=b=>{if(!t(b))throw new TypeError("Object keys must be strings or symbols");if(i(b))throw new Error(`Cannot set unsafe key: "${b}"`)},a=b=>Array.isArray(b)?b.flat().map(String).join(","):b,l=(b,y)=>{if(typeof b!="string"||!y)return b;let w=b+";";return y.arrays!==void 0&&(w+=`arrays=${y.arrays};`),y.separator!==void 0&&(w+=`separator=${y.separator};`),y.split!==void 0&&(w+=`split=${y.split};`),y.merge!==void 0&&(w+=`merge=${y.merge};`),y.preservePaths!==void 0&&(w+=`preservePaths=${y.preservePaths};`),w},c=(b,y,w)=>{const _=a(y?l(b,y):b);o(_);const T=g.cache.get(_)||w();return g.cache.set(_,T),T},f=(b,y={})=>{const w=y.separator||".",_=w==="/"?!1:y.preservePaths;if(typeof b=="string"&&_!==!1&&/\//.test(b))return[b];const T=[];let N="";const C=A=>{let D;A.trim()!==""&&Number.isInteger(D=Number(A))?T.push(D):T.push(A)};for(let A=0;Ay&&typeof y.split=="function"?y.split(b):typeof b=="symbol"?[b]:Array.isArray(b)?b:c(b,y,()=>f(b,y)),h=(b,y,w,_)=>{if(o(y),w===void 0)e(b,y);else if(_&&_.merge){const T=_.merge==="function"?_.merge:Object.assign;T&&n(b[y])&&n(w)?b[y]=T(b[y],w):b[y]=w}else b[y]=w;return b},g=(b,y,w,_)=>{if(!y||!r(b))return b;const T=p(y,_);let N=b;for(let C=0;C{g.cache=new Map},u1=g,u1}var dj=fj();const c1=Kl(dj);/*! + * get-value + * + * Copyright (c) 2014-2018, Jon Schlinkert. + * Released under the MIT License. + */var f1,cw;function pj(){if(cw)return f1;cw=1;const e=p7();f1=function(o,a,l){if(e(l)||(l={default:l}),!i(o))return typeof l.default<"u"?l.default:o;typeof a=="number"&&(a=String(a));const c=Array.isArray(a),f=typeof a=="string",p=l.separator||".",h=l.joinChar||(typeof p=="string"?p:".");if(!f&&!c)return o;if(f&&a in o)return r(a,o,l)?o[a]:l.default;let g=c?a:n(a,p,l),b=g.length,y=0;do{let w=g[y];for(typeof w=="number"&&(w=String(w));w&&w.slice(-1)==="\\";)w=t([w.slice(0,-1),g[++y]||""],h,l);if(w in o){if(!r(w,o,l))return l.default;o=o[w]}else{let _=!1,T=y+1;for(;T(t,n)=>{function r(){const{queryEditor:i,schema:o,getDefaultFieldNames:a}=n();if(!i)return;const l=i.getValue(),{insertions:c,result:f=""}=c$(o,l,a);if(!c.length)return f;const p=i.getModel(),h=i.getSelection(),g=p.getOffsetAt(h.getPosition());p.setValue(f);let b=0;const y=c.map(({index:N,string:C})=>{const A=p.getPositionAt(N+b),D=p.getPositionAt(N+(b+=C.length));return{range:new Xi(A.lineNumber,A.column,D.lineNumber,D.column),options:{className:"auto-inserted-leaf",hoverMessage:{value:"Automatically added leaf fields"},isWholeLine:!1}}}),w=i.createDecorationsCollection([]);w.set(y),setTimeout(()=>{w.clear()},7e3);let _=g;for(const{index:N,string:C}of c)N(i==null||i.unsubscribe(),{isFetching:!1,subscription:null}))},async run(){const{externalFragments:i,headerEditor:o,queryEditor:a,responseEditor:l,variableEditor:c,actions:f,operationName:p,documentAST:h,subscription:g,overrideOperationName:b,queryId:y,fetcher:w}=n();if(!a||!l)return;if(g){f.stop();return}function _(F){l==null||l.setValue(F),f.updateActiveTabValues({response:F})}function T(F,H){if(!H)return;_(ac({message:`${H===c?"Variables":"Request headers"} ${F.message}`}))}const N=y+1;t({queryId:N});let C=r()||a.getValue(),A;try{A=Og(c==null?void 0:c.getValue())}catch(F){T(F,c);return}let D;try{D=Og(o==null?void 0:o.getValue())}catch(F){T(F,o);return}const L=h?ij(h,i):[];L.length&&(C+=` +`+L.map(F=>bt(F)).join(` +`)),_(""),t({isFetching:!0});try{const F={},H=ee=>{if(N!==n().queryId)return;let U=Array.isArray(ee)?ee:!1;if(!U&&typeof ee=="object"&&"hasNext"in ee&&(U=[ee]),U){for(const O of U)h7(F,O);t({isFetching:!1}),_(Fg(F))}else t({isFetching:!1}),_(Fg(ee))},Z=await w({query:C,variables:A,operationName:b??p},{headers:D,documentAST:h});if(u_(Z)){const ee=Z.subscribe({next(U){H(U)},error(U){t({isFetching:!1}),_(ac(U)),t({subscription:null})},complete(){t({isFetching:!1,subscription:null})}});t({subscription:ee})}else if(c_(Z)){t({subscription:{unsubscribe:()=>{var U,O;return(O=(U=Z[Symbol.asyncIterator]()).return)==null?void 0:O.call(U)}}});for await(const U of Z)H(U);t({isFetching:!1,subscription:null})}else H(Z)}catch(F){t({isFetching:!1}),_(ac(F)),t({subscription:null})}}}}},Yu=new WeakMap;function h7(e,t){var n,r,i;let o=["data",...t.path??[]];for(const f of[e,t])if(f.pending){let p=Yu.get(e);p===void 0&&(p=new Map,Yu.set(e,p));for(const{id:h,path:g}of f.pending)p.set(h,["data",...g])}const{items:a,data:l,id:c}=t;if(a)if(c){if(o=(n=Yu.get(e))==null?void 0:n.get(c),o===void 0)throw new Error("Invalid incremental delivery format.");mj(e,o.join(".")).push(...a)}else{o=["data",...t.path??[]];for(const f of a)c1(e,o.join("."),f),o[o.length-1]++}if(l){if(c){if(o=(r=Yu.get(e))==null?void 0:r.get(c),o===void 0)throw new Error("Invalid incremental delivery format.");const{subPath:f}=t;f!==void 0&&(o=[...o,...f])}c1(e,o.join("."),l,{merge:!0})}if(t.errors&&(e.errors||(e.errors=[]),e.errors.push(...t.errors)),t.extensions&&c1(e,"extensions",t.extensions,{merge:!0}),t.incremental)for(const f of t.incremental)h7(e,f);if(t.completed)for(const{id:f,errors:p}of t.completed)(i=Yu.get(e))==null||i.delete(f),p&&(e.errors||(e.errors=[]),e.errors.push(...p))}const bj=e=>t=>({plugins:[],visiblePlugin:null,...e,actions:{setVisiblePlugin(n=null){t(r=>{const{visiblePlugin:i,plugins:o,onTogglePluginVisibility:a,storage:l}=r,c=typeof n=="string",f=n&&o.find(p=>(c?p.title:p)===n)||null;return f===i?r:(a==null||a(f),l.set(Pt.visiblePlugin,(f==null?void 0:f.title)??""),{visiblePlugin:f})})},setPlugins(n){const r=new Set,i="All GraphiQL plugins must have a unique title";for(const{title:o}of n){if(typeof o!="string"||!o)throw new Error(i);if(r.has(o))throw new Error(`${i}, found two plugins with the title '${o}'`);r.add(o)}t({plugins:n})}}}),vj=e=>(t,n)=>({...e,fetchError:null,isIntrospecting:!1,schema:null,validationErrors:[],schemaReference:null,requestCounter:0,shouldIntrospect:!0,actions:{setSchemaReference(r){t({schemaReference:r})},async introspect(){const{requestCounter:r,shouldIntrospect:i,onSchemaChange:o,headerEditor:a,fetcher:l,inputValueDeprecation:c,introspectionQueryName:f,schemaDescription:p}=n();if(!i)return;const h=r+1;t({requestCounter:h,isIntrospecting:!0,fetchError:null});try{let g=function(A){const D=dF(l({query:A,operationName:f},y));if(!uF(D))throw new TypeError("Fetcher did not return a Promise for introspection.");return D},b;try{b=Og(a==null?void 0:a.getValue())}catch(A){throw new Error(`Introspection failed. Request headers ${A instanceof Error?A.message:A}`)}const y=b?{headers:b}:{},w=RM({inputValueDeprecation:c,schemaDescription:p}),_=f==="IntrospectionQuery"?w:w.replace("query IntrospectionQuery",`query ${f}`);let T=await g(_);(typeof T!="object"||!("data"in T))&&(T=await g(w.replace("subscriptionType { name }",""))),t({isIntrospecting:!1});let N;if(T.data&&"__schema"in T.data)N=T.data;else{const A=typeof T=="string"?T:Fg(T);t({fetchError:A})}if(h!==n().requestCounter||!N)return;const C=LM(N);t({schema:C}),o==null||o(C)}catch(g){if(h!==n().requestCounter)return;g instanceof Error&&delete g.stack,t({isIntrospecting:!1,fetchError:ac(g)})}}}}),yj=({editorTheme:e})=>(t,n)=>({theme:null,actions:{setTheme(r){const{storage:i}=n();i.set(Pt.theme,r??""),document.body.classList.remove("graphiql-light","graphiql-dark"),r&&document.body.classList.add(`graphiql-${r}`);const{monaco:o}=Sp.getState(),a=r??xj(),l=e[a];o==null||o.editor.setTheme(l),t({theme:r,monacoTheme:l})}}});function xj(){return window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light"}const m7=v.createContext(null),wj=e=>{const t=Ne.c(5);if(!e.fetcher)throw new TypeError("The `GraphiQLProvider` component requires a `fetcher` function to be passed as prop.");if(e.validationRules)throw new TypeError("The `validationRules` prop has been removed. Use custom GraphQL worker, see https://github.com/graphql/graphiql/tree/main/packages/monaco-graphql#custom-webworker-for-passing-non-static-config-to-worker.");if(e.query)throw new TypeError(`The \`query\` prop has been removed. Use \`initialQuery\` prop instead, or set value programmatically using: + +const queryEditor = useGraphiQL(state => state.queryEditor) + +useEffect(() => { + queryEditor.setValue(query) +}, [query])`);if(e.variables)throw new TypeError(`The \`variables\` prop has been removed. Use \`initialVariables\` prop instead, or set value programmatically using: + +const variableEditor = useGraphiQL(state => state.variableEditor) + +useEffect(() => { + variableEditor.setValue(variables) +}, [variables])`);if(e.headers)throw new TypeError(`The \`headers\` prop has been removed. Use \`initialHeaders\` prop instead, or set value programmatically using: + +const headerEditor = useGraphiQL(state => state.headerEditor) + +useEffect(() => { + headerEditor.setValue(headers) +}, [headers])`);if(e.response)throw new TypeError(`The \`response\` prop has been removed. Set value programmatically using: + +const responseEditor = useGraphiQL(state => state.responseEditor) + +useEffect(() => { + responseEditor.setValue(response) +}, [response])`);const{actions:n}=tu(),[r,i]=v.useState(!1);let o;t[0]!==n?(o=()=>{n.initialize(),i(!0)},t[0]=n,t[1]=o):o=t[1];let a;if(t[2]===Symbol.for("react.memo_cache_sentinel")?(a=[],t[2]=a):a=t[2],v.useEffect(o,a),!r)return null;let l;return t[3]!==e?(l=k.jsx(Ej,{...e}),t[3]=e,t[4]=l):l=t[4],l},Ej=e=>{const t=Ne.c(76);let n,r,i,o,a,l,c,f,p,h,g,b,y,w,_,T,N,C,A,D,L,F,H,$,Q,Z,ee;t[0]!==e?({defaultHeaders:i,defaultQuery:T,defaultTabs:o,externalFragments:a,onEditOperationName:p,onTabChange:g,shouldPersistHeaders:A,onCopyQuery:f,onPrettifyQuery:D,dangerouslyAssumeSchemaIsValid:L,fetcher:l,inputValueDeprecation:F,introspectionQueryName:H,onSchemaChange:h,schema:_,schemaDescription:$,getDefaultFieldNames:c,operationName:Q,onTogglePluginVisibility:b,plugins:Z,referencePlugin:w,visiblePlugin:ee,children:r,defaultTheme:N,editorTheme:C,storage:n,...y}=e,t[0]=e,t[1]=n,t[2]=r,t[3]=i,t[4]=o,t[5]=a,t[6]=l,t[7]=c,t[8]=f,t[9]=p,t[10]=h,t[11]=g,t[12]=b,t[13]=y,t[14]=w,t[15]=_,t[16]=T,t[17]=N,t[18]=C,t[19]=A,t[20]=D,t[21]=L,t[22]=F,t[23]=H,t[24]=$,t[25]=Q,t[26]=Z,t[27]=ee):(n=t[1],r=t[2],i=t[3],o=t[4],a=t[5],l=t[6],c=t[7],f=t[8],p=t[9],h=t[10],g=t[11],b=t[12],y=t[13],w=t[14],_=t[15],T=t[16],N=t[17],C=t[18],A=t[19],D=t[20],L=t[21],F=t[22],H=t[23],$=t[24],Q=t[25],Z=t[26],ee=t[27]);const U=T===void 0?XP:T,O=A===void 0?!1:A,G=D===void 0?ZP:D,X=L===void 0?!1:L,K=F===void 0?!1:F,P=H===void 0?"IntrospectionQuery":H,B=$===void 0?!1:$,q=Q===void 0?null:Q;let j;t[28]!==Z?(j=Z===void 0?[]:Z,t[28]=Z,t[29]=j):j=t[29];const R=j,re=N===void 0?null:N,Y=C===void 0?wg:C,se=v.useRef(null),ue=v.useId();if(se.current===null){let Qe;if(t[30]!==n||t[31]!==i||t[32]!==U||t[33]!==o||t[34]!==re||t[35]!==Y||t[36]!==a||t[37]!==l||t[38]!==c||t[39]!==K||t[40]!==P||t[41]!==f||t[42]!==p||t[43]!==G||t[44]!==h||t[45]!==g||t[46]!==b||t[47]!==q||t[48]!==R||t[49]!==y.initialHeaders||t[50]!==y.initialQuery||t[51]!==y.initialVariables||t[52]!==w||t[53]!==B||t[54]!==O||t[55]!==ue||t[56]!==ee){const Ye=new y$(n),wt=function(){const _t=Ye.get(Pt.visiblePlugin),Gt=R.find(Mt=>Mt.title===_t);return Gt||(_t&&Ye.set(Pt.visiblePlugin,""),ee)},nt=function(){const _t=Ye.get(Pt.theme);switch(_t){case"light":return"light";case"dark":return"dark";default:return typeof _t=="string"&&Ye.set(Pt.theme,""),re}};Qe=function(){const _t=y.initialQuery??Ye.get(Pt.query),Gt=y.initialVariables??Ye.get(Pt.variables),Mt=y.initialHeaders??Ye.get(Pt.headers),{tabs:Qt,activeTabIndex:hr}=E$({defaultHeaders:i,defaultQuery:U,defaultTabs:o,headers:Mt,query:_t,shouldPersistHeaders:O,storage:Ye,variables:Gt}),at=Ye.get(Pt.persistHeaders)!==null,lt=O!==!1&&at?Ye.get(Pt.persistHeaders)==="true":O,It=KP((...an)=>{const yn=an,Jr=N$({storage:Ye})(...yn),Ar=O$({activeTabIndex:hr,defaultHeaders:i,defaultQuery:U,externalFragments:Sj(a),initialHeaders:Mt??i??"",initialQuery:_t??(hr===0?Qt[0].query:null)??"",initialVariables:Gt??"",onCopyQuery:f,onEditOperationName:p,onPrettifyQuery:G,onTabChange:g,shouldPersistHeaders:lt,tabs:Qt,uriInstanceId:ue.replaceAll(/[:«»]/g,"")+"-"})(...yn),Ho=gj({fetcher:l,getDefaultFieldNames:c,overrideOperationName:q})(...yn),Ii=bj({onTogglePluginVisibility:b,referencePlugin:w})(...yn),mr=vj({inputValueDeprecation:K,introspectionQueryName:P,onSchemaChange:h,schemaDescription:B})(...yn),gr=yj({editorTheme:Y})(...yn);return{...Jr,...Ar,...Ho,...Ii,...mr,...gr,actions:{...Ar.actions,...Ho.actions,...Ii.actions,...mr.actions,...gr.actions}}}),{actions:$t}=It.getState();return $t.storeTabs({activeTabIndex:hr,tabs:Qt}),$t.setPlugins(R),$t.setVisiblePlugin(wt()),$t.setTheme(nt()),It}(),t[30]=n,t[31]=i,t[32]=U,t[33]=o,t[34]=re,t[35]=Y,t[36]=a,t[37]=l,t[38]=c,t[39]=K,t[40]=P,t[41]=f,t[42]=p,t[43]=G,t[44]=h,t[45]=g,t[46]=b,t[47]=q,t[48]=R,t[49]=y.initialHeaders,t[50]=y.initialQuery,t[51]=y.initialVariables,t[52]=w,t[53]=B,t[54]=O,t[55]=ue,t[56]=ee,t[57]=Qe}else Qe=t[57];se.current=Qe}let le,te;t[58]!==l?(le=()=>{se.current.setState({fetcher:l})},te=[l],t[58]=l,t[59]=le,t[60]=te):(le=t[59],te=t[60]),G4(le,te);let de,ve;t[61]!==R||t[62]!==ee?(de=()=>{const{actions:Qe}=se.current.getState();Qe.setPlugins(R),Qe.setVisiblePlugin(ee)},ve=[R,ee],t[61]=R,t[62]=ee,t[63]=de,t[64]=ve):(de=t[63],ve=t[64]),G4(de,ve);let _e;t[65]!==X||t[66]!==_?(_e=()=>{const Qe=Ag(_)||_==null?_:void 0,Ye=!Qe||X?[]:lO(Qe),wt=se.current;wt.setState(Kt=>{const{requestCounter:sn}=Kt;return{requestCounter:sn+1,schema:Qe,shouldIntrospect:!Ag(_)&&_!==null,validationErrors:Ye}});const{actions:nt}=wt.getState();nt.introspect()},t[65]=X,t[66]=_,t[67]=_e):_e=t[67];let Re;t[68]!==X||t[69]!==l||t[70]!==_?(Re=[_,X,l],t[68]=X,t[69]=l,t[70]=_,t[71]=Re):Re=t[71],v.useEffect(_e,Re);let we,je;t[72]===Symbol.for("react.memo_cache_sentinel")?(we=()=>{const Qe=function(wt){if(wt.ctrlKey&&wt.key==="R"){const{actions:nt}=se.current.getState();nt.introspect()}};return window.addEventListener("keydown",Qe),()=>{window.removeEventListener("keydown",Qe)}},je=[],t[72]=we,t[73]=je):(we=t[72],je=t[73]),v.useEffect(we,je);let Ge;return t[74]!==r?(Ge=k.jsx(m7.Provider,{value:se,children:r}),t[74]=r,t[75]=Ge):Ge=t[75],Ge};function vn(e){const t=v.useContext(m7);if(!t)throw new Error(`"useGraphiQL" hook must be used within a component. +It looks like you are trying to use the hook outside the GraphiQL provider tree.`);return ub(t.current,l_(e))}const Uo=()=>vn(_j);function Sj(e){const t=new Map;if(e)if(Array.isArray(e))for(const n of e)t.set(n.name.value,n);else if(typeof e=="string")xi(Yc(e),{FragmentDefinition(n){t.set(n.name.value,n)}});else throw new TypeError("The `externalFragments` prop must either be a string that contains the fragment definitions in SDL or a list of `FragmentDefinitionNode` objects.");return t}function _j(e){return e.actions}function Ti(...e){return t=>{const n=Object.create(null);for(const r of e)n[r]=t[r];return n}}function Nc(e){return()=>{for(const t of e)t.dispose()}}const _p=e=>{var t;const n=e.currentTarget;n===document.activeElement&&e.code==="Enter"&&(e.preventDefault(),(t=n.querySelector("textarea"))==null||t.focus())};function Tp({uri:e,value:t}){const{monaco:n}=Sp.getState();if(!n)throw new Error("Monaco editor is not initialized");const r=Ul.file(e),i=n.editor.getModel(r),o=r.path.split(".").at(-1);return i??n.editor.createModel(t,o,r)}function kp(e,t){const{model:n}=t;if(!n)throw new Error("options.model is required");const r=n.uri.path.split(".").at(-1),{monaco:i}=Sp.getState();if(!i)throw new Error("Monaco editor is not initialized");return i.editor.create(e.current,{language:r,automaticLayout:!0,fontSize:15,minimap:{enabled:!1},tabSize:2,renderLineHighlight:"none",stickyScroll:{enabled:!1},overviewRulerLanes:0,scrollbar:{verticalScrollbarSize:10},scrollBeyondLastLine:!1,fontFamily:'"Fira Code"',fontLigatures:!0,lineNumbersMinChars:2,tabIndex:-1,...t})}const fw={};function Tj(e){let t=fw[e];if(t)return t;t=fw[e]=[];for(let n=0;n<128;n++){const r=String.fromCharCode(n);t.push(r)}for(let n=0;n=55296&&p<=57343?i+="���":i+=String.fromCharCode(p),o+=6;continue}}if((l&248)===240&&o+91114111?i+="����":(h-=65536,i+=String.fromCharCode(55296+(h>>10),56320+(h&1023))),o+=9;continue}}i+="�"}return i})}Gl.defaultChars=";/?:@&=+$,#";Gl.componentChars="";const dw={};function kj(e){let t=dw[e];if(t)return t;t=dw[e]=[];for(let n=0;n<128;n++){const r=String.fromCharCode(n);/^[0-9a-z]$/i.test(r)?t.push(r):t.push("%"+("0"+n.toString(16).toUpperCase()).slice(-2))}for(let n=0;n"u"&&(n=!0);const r=kj(t);let i="";for(let o=0,a=e.length;o=55296&&l<=57343){if(l>=55296&&l<=56319&&o+1=56320&&c<=57343){i+=encodeURIComponent(e[o]+e[o+1]),o++;continue}}i+="%EF%BF%BD";continue}i+=encodeURIComponent(e[o])}return i}Kc.defaultChars=";/?:@&=+$,-_.!~*'()#";Kc.componentChars="-_.!~*'()";function Ib(e){let t="";return t+=e.protocol||"",t+=e.slashes?"//":"",t+=e.auth?e.auth+"@":"",e.hostname&&e.hostname.indexOf(":")!==-1?t+="["+e.hostname+"]":t+=e.hostname||"",t+=e.port?":"+e.port:"",t+=e.pathname||"",t+=e.search||"",t+=e.hash||"",t}function H0(){this.protocol=null,this.slashes=null,this.auth=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.pathname=null}const Cj=/^([a-z0-9.+-]+:)/i,Nj=/:[0-9]*$/,Aj=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,Ij=["<",">",'"',"`"," ","\r",` +`," "],Dj=["{","}","|","\\","^","`"].concat(Ij),Rj=["'"].concat(Dj),pw=["%","/","?",";","#"].concat(Rj),hw=["/","?","#"],Lj=255,mw=/^[+a-z0-9A-Z_-]{0,63}$/,Pj=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,gw={javascript:!0,"javascript:":!0},bw={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0};function Db(e,t){if(e&&e instanceof H0)return e;const n=new H0;return n.parse(e,t),n}H0.prototype.parse=function(e,t){let n,r,i,o=e;if(o=o.trim(),!t&&e.split("#").length===1){const f=Aj.exec(o);if(f)return this.pathname=f[1],f[2]&&(this.search=f[2]),this}let a=Cj.exec(o);if(a&&(a=a[0],n=a.toLowerCase(),this.protocol=a,o=o.substr(a.length)),(t||a||o.match(/^\/\/[^@\/]+@[^@\/]+/))&&(i=o.substr(0,2)==="//",i&&!(a&&gw[a])&&(o=o.substr(2),this.slashes=!0)),!gw[a]&&(i||a&&!bw[a])){let f=-1;for(let y=0;y127?N+="x":N+=T[C];if(!N.match(mw)){const C=y.slice(0,w),A=y.slice(w+1),D=T.match(Pj);D&&(C.push(D[1]),A.unshift(D[2])),A.length&&(o=A.join(".")+o),this.hostname=C.join(".");break}}}}this.hostname.length>Lj&&(this.hostname=""),b&&(this.hostname=this.hostname.substr(1,this.hostname.length-2))}const l=o.indexOf("#");l!==-1&&(this.hash=o.substr(l),o=o.slice(0,l));const c=o.indexOf("?");return c!==-1&&(this.search=o.substr(c),o=o.slice(0,c)),o&&(this.pathname=o),bw[n]&&this.hostname&&!this.pathname&&(this.pathname=""),this};H0.prototype.parseHost=function(e){let t=Nj.exec(e);t&&(t=t[0],t!==":"&&(this.port=t.substr(1)),e=e.substr(0,e.length-t.length)),e&&(this.hostname=e)};const Fj=Object.freeze(Object.defineProperty({__proto__:null,decode:Gl,encode:Kc,format:Ib,parse:Db},Symbol.toStringTag,{value:"Module"})),g7=/[\0-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,b7=/[\0-\x1F\x7F-\x9F]/,Oj=/[\xAD\u0600-\u0605\u061C\u06DD\u070F\u0890\u0891\u08E2\u180E\u200B-\u200F\u202A-\u202E\u2060-\u2064\u2066-\u206F\uFEFF\uFFF9-\uFFFB]|\uD804[\uDCBD\uDCCD]|\uD80D[\uDC30-\uDC3F]|\uD82F[\uDCA0-\uDCA3]|\uD834[\uDD73-\uDD7A]|\uDB40[\uDC01\uDC20-\uDC7F]/,Rb=/[!-#%-\*,-\/:;\?@\[-\]_\{\}\xA1\xA7\xAB\xB6\xB7\xBB\xBF\u037E\u0387\u055A-\u055F\u0589\u058A\u05BE\u05C0\u05C3\u05C6\u05F3\u05F4\u0609\u060A\u060C\u060D\u061B\u061D-\u061F\u066A-\u066D\u06D4\u0700-\u070D\u07F7-\u07F9\u0830-\u083E\u085E\u0964\u0965\u0970\u09FD\u0A76\u0AF0\u0C77\u0C84\u0DF4\u0E4F\u0E5A\u0E5B\u0F04-\u0F12\u0F14\u0F3A-\u0F3D\u0F85\u0FD0-\u0FD4\u0FD9\u0FDA\u104A-\u104F\u10FB\u1360-\u1368\u1400\u166E\u169B\u169C\u16EB-\u16ED\u1735\u1736\u17D4-\u17D6\u17D8-\u17DA\u1800-\u180A\u1944\u1945\u1A1E\u1A1F\u1AA0-\u1AA6\u1AA8-\u1AAD\u1B5A-\u1B60\u1B7D\u1B7E\u1BFC-\u1BFF\u1C3B-\u1C3F\u1C7E\u1C7F\u1CC0-\u1CC7\u1CD3\u2010-\u2027\u2030-\u2043\u2045-\u2051\u2053-\u205E\u207D\u207E\u208D\u208E\u2308-\u230B\u2329\u232A\u2768-\u2775\u27C5\u27C6\u27E6-\u27EF\u2983-\u2998\u29D8-\u29DB\u29FC\u29FD\u2CF9-\u2CFC\u2CFE\u2CFF\u2D70\u2E00-\u2E2E\u2E30-\u2E4F\u2E52-\u2E5D\u3001-\u3003\u3008-\u3011\u3014-\u301F\u3030\u303D\u30A0\u30FB\uA4FE\uA4FF\uA60D-\uA60F\uA673\uA67E\uA6F2-\uA6F7\uA874-\uA877\uA8CE\uA8CF\uA8F8-\uA8FA\uA8FC\uA92E\uA92F\uA95F\uA9C1-\uA9CD\uA9DE\uA9DF\uAA5C-\uAA5F\uAADE\uAADF\uAAF0\uAAF1\uABEB\uFD3E\uFD3F\uFE10-\uFE19\uFE30-\uFE52\uFE54-\uFE61\uFE63\uFE68\uFE6A\uFE6B\uFF01-\uFF03\uFF05-\uFF0A\uFF0C-\uFF0F\uFF1A\uFF1B\uFF1F\uFF20\uFF3B-\uFF3D\uFF3F\uFF5B\uFF5D\uFF5F-\uFF65]|\uD800[\uDD00-\uDD02\uDF9F\uDFD0]|\uD801\uDD6F|\uD802[\uDC57\uDD1F\uDD3F\uDE50-\uDE58\uDE7F\uDEF0-\uDEF6\uDF39-\uDF3F\uDF99-\uDF9C]|\uD803[\uDEAD\uDF55-\uDF59\uDF86-\uDF89]|\uD804[\uDC47-\uDC4D\uDCBB\uDCBC\uDCBE-\uDCC1\uDD40-\uDD43\uDD74\uDD75\uDDC5-\uDDC8\uDDCD\uDDDB\uDDDD-\uDDDF\uDE38-\uDE3D\uDEA9]|\uD805[\uDC4B-\uDC4F\uDC5A\uDC5B\uDC5D\uDCC6\uDDC1-\uDDD7\uDE41-\uDE43\uDE60-\uDE6C\uDEB9\uDF3C-\uDF3E]|\uD806[\uDC3B\uDD44-\uDD46\uDDE2\uDE3F-\uDE46\uDE9A-\uDE9C\uDE9E-\uDEA2\uDF00-\uDF09]|\uD807[\uDC41-\uDC45\uDC70\uDC71\uDEF7\uDEF8\uDF43-\uDF4F\uDFFF]|\uD809[\uDC70-\uDC74]|\uD80B[\uDFF1\uDFF2]|\uD81A[\uDE6E\uDE6F\uDEF5\uDF37-\uDF3B\uDF44]|\uD81B[\uDE97-\uDE9A\uDFE2]|\uD82F\uDC9F|\uD836[\uDE87-\uDE8B]|\uD83A[\uDD5E\uDD5F]/,v7=/[\$\+<->\^`\|~\xA2-\xA6\xA8\xA9\xAC\xAE-\xB1\xB4\xB8\xD7\xF7\u02C2-\u02C5\u02D2-\u02DF\u02E5-\u02EB\u02ED\u02EF-\u02FF\u0375\u0384\u0385\u03F6\u0482\u058D-\u058F\u0606-\u0608\u060B\u060E\u060F\u06DE\u06E9\u06FD\u06FE\u07F6\u07FE\u07FF\u0888\u09F2\u09F3\u09FA\u09FB\u0AF1\u0B70\u0BF3-\u0BFA\u0C7F\u0D4F\u0D79\u0E3F\u0F01-\u0F03\u0F13\u0F15-\u0F17\u0F1A-\u0F1F\u0F34\u0F36\u0F38\u0FBE-\u0FC5\u0FC7-\u0FCC\u0FCE\u0FCF\u0FD5-\u0FD8\u109E\u109F\u1390-\u1399\u166D\u17DB\u1940\u19DE-\u19FF\u1B61-\u1B6A\u1B74-\u1B7C\u1FBD\u1FBF-\u1FC1\u1FCD-\u1FCF\u1FDD-\u1FDF\u1FED-\u1FEF\u1FFD\u1FFE\u2044\u2052\u207A-\u207C\u208A-\u208C\u20A0-\u20C0\u2100\u2101\u2103-\u2106\u2108\u2109\u2114\u2116-\u2118\u211E-\u2123\u2125\u2127\u2129\u212E\u213A\u213B\u2140-\u2144\u214A-\u214D\u214F\u218A\u218B\u2190-\u2307\u230C-\u2328\u232B-\u2426\u2440-\u244A\u249C-\u24E9\u2500-\u2767\u2794-\u27C4\u27C7-\u27E5\u27F0-\u2982\u2999-\u29D7\u29DC-\u29FB\u29FE-\u2B73\u2B76-\u2B95\u2B97-\u2BFF\u2CE5-\u2CEA\u2E50\u2E51\u2E80-\u2E99\u2E9B-\u2EF3\u2F00-\u2FD5\u2FF0-\u2FFF\u3004\u3012\u3013\u3020\u3036\u3037\u303E\u303F\u309B\u309C\u3190\u3191\u3196-\u319F\u31C0-\u31E3\u31EF\u3200-\u321E\u322A-\u3247\u3250\u3260-\u327F\u328A-\u32B0\u32C0-\u33FF\u4DC0-\u4DFF\uA490-\uA4C6\uA700-\uA716\uA720\uA721\uA789\uA78A\uA828-\uA82B\uA836-\uA839\uAA77-\uAA79\uAB5B\uAB6A\uAB6B\uFB29\uFBB2-\uFBC2\uFD40-\uFD4F\uFDCF\uFDFC-\uFDFF\uFE62\uFE64-\uFE66\uFE69\uFF04\uFF0B\uFF1C-\uFF1E\uFF3E\uFF40\uFF5C\uFF5E\uFFE0-\uFFE6\uFFE8-\uFFEE\uFFFC\uFFFD]|\uD800[\uDD37-\uDD3F\uDD79-\uDD89\uDD8C-\uDD8E\uDD90-\uDD9C\uDDA0\uDDD0-\uDDFC]|\uD802[\uDC77\uDC78\uDEC8]|\uD805\uDF3F|\uD807[\uDFD5-\uDFF1]|\uD81A[\uDF3C-\uDF3F\uDF45]|\uD82F\uDC9C|\uD833[\uDF50-\uDFC3]|\uD834[\uDC00-\uDCF5\uDD00-\uDD26\uDD29-\uDD64\uDD6A-\uDD6C\uDD83\uDD84\uDD8C-\uDDA9\uDDAE-\uDDEA\uDE00-\uDE41\uDE45\uDF00-\uDF56]|\uD835[\uDEC1\uDEDB\uDEFB\uDF15\uDF35\uDF4F\uDF6F\uDF89\uDFA9\uDFC3]|\uD836[\uDC00-\uDDFF\uDE37-\uDE3A\uDE6D-\uDE74\uDE76-\uDE83\uDE85\uDE86]|\uD838[\uDD4F\uDEFF]|\uD83B[\uDCAC\uDCB0\uDD2E\uDEF0\uDEF1]|\uD83C[\uDC00-\uDC2B\uDC30-\uDC93\uDCA0-\uDCAE\uDCB1-\uDCBF\uDCC1-\uDCCF\uDCD1-\uDCF5\uDD0D-\uDDAD\uDDE6-\uDE02\uDE10-\uDE3B\uDE40-\uDE48\uDE50\uDE51\uDE60-\uDE65\uDF00-\uDFFF]|\uD83D[\uDC00-\uDED7\uDEDC-\uDEEC\uDEF0-\uDEFC\uDF00-\uDF76\uDF7B-\uDFD9\uDFE0-\uDFEB\uDFF0]|\uD83E[\uDC00-\uDC0B\uDC10-\uDC47\uDC50-\uDC59\uDC60-\uDC87\uDC90-\uDCAD\uDCB0\uDCB1\uDD00-\uDE53\uDE60-\uDE6D\uDE70-\uDE7C\uDE80-\uDE88\uDE90-\uDEBD\uDEBF-\uDEC5\uDECE-\uDEDB\uDEE0-\uDEE8\uDEF0-\uDEF8\uDF00-\uDF92\uDF94-\uDFCA]/,y7=/[ \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]/,Mj=Object.freeze(Object.defineProperty({__proto__:null,Any:g7,Cc:b7,Cf:Oj,P:Rb,S:v7,Z:y7},Symbol.toStringTag,{value:"Module"})),$j=new Uint16Array('ᵁ<Õıʊҝջאٵ۞ޢߖࠏ੊ઑඡ๭༉༦჊ረዡᐕᒝᓃᓟᔥ\0\0\0\0\0\0ᕫᛍᦍᰒᷝ὾⁠↰⊍⏀⏻⑂⠤⤒ⴈ⹈⿎〖㊺㘹㞬㣾㨨㩱㫠㬮ࠀEMabcfglmnoprstu\\bfms„‹•˜¦³¹ÈÏlig耻Æ䃆P耻&䀦cute耻Á䃁reve;䄂Āiyx}rc耻Â䃂;䐐r;쀀𝔄rave耻À䃀pha;䎑acr;䄀d;橓Āgp¡on;䄄f;쀀𝔸plyFunction;恡ing耻Å䃅Ācs¾Ãr;쀀𝒜ign;扔ilde耻Ã䃃ml耻Ä䃄ЀaceforsuåûþėĜĢħĪĀcrêòkslash;或Ŷöø;櫧ed;挆y;䐑ƀcrtąċĔause;戵noullis;愬a;䎒r;쀀𝔅pf;쀀𝔹eve;䋘còēmpeq;扎܀HOacdefhilorsuōőŖƀƞƢƵƷƺǜȕɳɸɾcy;䐧PY耻©䂩ƀcpyŝŢźute;䄆Ā;iŧŨ拒talDifferentialD;慅leys;愭ȀaeioƉƎƔƘron;䄌dil耻Ç䃇rc;䄈nint;戰ot;䄊ĀdnƧƭilla;䂸terDot;䂷òſi;䎧rcleȀDMPTLJNjǑǖot;抙inus;抖lus;投imes;抗oĀcsǢǸkwiseContourIntegral;戲eCurlyĀDQȃȏoubleQuote;思uote;怙ȀlnpuȞȨɇɕonĀ;eȥȦ户;橴ƀgitȯȶȺruent;扡nt;戯ourIntegral;戮ĀfrɌɎ;愂oduct;成nterClockwiseContourIntegral;戳oss;樯cr;쀀𝒞pĀ;Cʄʅ拓ap;才րDJSZacefiosʠʬʰʴʸˋ˗ˡ˦̳ҍĀ;oŹʥtrahd;椑cy;䐂cy;䐅cy;䐏ƀgrsʿ˄ˇger;怡r;憡hv;櫤Āayː˕ron;䄎;䐔lĀ;t˝˞戇a;䎔r;쀀𝔇Āaf˫̧Ācm˰̢riticalȀADGT̖̜̀̆cute;䂴oŴ̋̍;䋙bleAcute;䋝rave;䁠ilde;䋜ond;拄ferentialD;慆Ѱ̽\0\0\0͔͂\0Ѕf;쀀𝔻ƀ;DE͈͉͍䂨ot;惜qual;扐blèCDLRUVͣͲ΂ϏϢϸontourIntegraìȹoɴ͹\0\0ͻ»͉nArrow;懓Āeo·ΤftƀARTΐΖΡrrow;懐ightArrow;懔eåˊngĀLRΫτeftĀARγιrrow;柸ightArrow;柺ightArrow;柹ightĀATϘϞrrow;懒ee;抨pɁϩ\0\0ϯrrow;懑ownArrow;懕erticalBar;戥ǹABLRTaВЪаўѿͼrrowƀ;BUНОТ憓ar;椓pArrow;懵reve;䌑eft˒к\0ц\0ѐightVector;楐eeVector;楞ectorĀ;Bљњ憽ar;楖ightǔѧ\0ѱeeVector;楟ectorĀ;BѺѻ懁ar;楗eeĀ;A҆҇护rrow;憧ĀctҒҗr;쀀𝒟rok;䄐ࠀNTacdfglmopqstuxҽӀӄӋӞӢӧӮӵԡԯԶՒ՝ՠեG;䅊H耻Ð䃐cute耻É䃉ƀaiyӒӗӜron;䄚rc耻Ê䃊;䐭ot;䄖r;쀀𝔈rave耻È䃈ement;戈ĀapӺӾcr;䄒tyɓԆ\0\0ԒmallSquare;旻erySmallSquare;斫ĀgpԦԪon;䄘f;쀀𝔼silon;䎕uĀaiԼՉlĀ;TՂՃ橵ilde;扂librium;懌Āci՗՚r;愰m;橳a;䎗ml耻Ë䃋Āipժկsts;戃onentialE;慇ʀcfiosօֈ֍ֲ׌y;䐤r;쀀𝔉lledɓ֗\0\0֣mallSquare;旼erySmallSquare;斪Ͱֺ\0ֿ\0\0ׄf;쀀𝔽All;戀riertrf;愱cò׋؀JTabcdfgorstר׬ׯ׺؀ؒؖ؛؝أ٬ٲcy;䐃耻>䀾mmaĀ;d׷׸䎓;䏜reve;䄞ƀeiy؇،ؐdil;䄢rc;䄜;䐓ot;䄠r;쀀𝔊;拙pf;쀀𝔾eater̀EFGLSTصلَٖٛ٦qualĀ;Lؾؿ扥ess;招ullEqual;执reater;檢ess;扷lantEqual;橾ilde;扳cr;쀀𝒢;扫ЀAacfiosuڅڋږڛڞڪھۊRDcy;䐪Āctڐڔek;䋇;䁞irc;䄤r;愌lbertSpace;愋ǰگ\0ڲf;愍izontalLine;攀Āctۃۅòکrok;䄦mpńېۘownHumðįqual;扏܀EJOacdfgmnostuۺ۾܃܇܎ܚܞܡܨ݄ݸދޏޕcy;䐕lig;䄲cy;䐁cute耻Í䃍Āiyܓܘrc耻Î䃎;䐘ot;䄰r;愑rave耻Ì䃌ƀ;apܠܯܿĀcgܴܷr;䄪inaryI;慈lieóϝǴ݉\0ݢĀ;eݍݎ戬Āgrݓݘral;戫section;拂isibleĀCTݬݲomma;恣imes;恢ƀgptݿރވon;䄮f;쀀𝕀a;䎙cr;愐ilde;䄨ǫޚ\0ޞcy;䐆l耻Ï䃏ʀcfosuެ޷޼߂ߐĀiyޱ޵rc;䄴;䐙r;쀀𝔍pf;쀀𝕁ǣ߇\0ߌr;쀀𝒥rcy;䐈kcy;䐄΀HJacfosߤߨ߽߬߱ࠂࠈcy;䐥cy;䐌ppa;䎚Āey߶߻dil;䄶;䐚r;쀀𝔎pf;쀀𝕂cr;쀀𝒦րJTaceflmostࠥࠩࠬࡐࡣ঳সে্਷ੇcy;䐉耻<䀼ʀcmnpr࠷࠼ࡁࡄࡍute;䄹bda;䎛g;柪lacetrf;愒r;憞ƀaeyࡗ࡜ࡡron;䄽dil;䄻;䐛Āfsࡨ॰tԀACDFRTUVarࡾࢩࢱࣦ࣠ࣼयज़ΐ४Ānrࢃ࢏gleBracket;柨rowƀ;BR࢙࢚࢞憐ar;懤ightArrow;懆eiling;挈oǵࢷ\0ࣃbleBracket;柦nǔࣈ\0࣒eeVector;楡ectorĀ;Bࣛࣜ懃ar;楙loor;挊ightĀAV࣯ࣵrrow;憔ector;楎Āerँगeƀ;AVउऊऐ抣rrow;憤ector;楚iangleƀ;BEतथऩ抲ar;槏qual;抴pƀDTVषूौownVector;楑eeVector;楠ectorĀ;Bॖॗ憿ar;楘ectorĀ;B॥०憼ar;楒ightáΜs̀EFGLSTॾঋকঝঢভqualGreater;拚ullEqual;扦reater;扶ess;檡lantEqual;橽ilde;扲r;쀀𝔏Ā;eঽা拘ftarrow;懚idot;䄿ƀnpw৔ਖਛgȀLRlr৞৷ਂਐeftĀAR০৬rrow;柵ightArrow;柷ightArrow;柶eftĀarγਊightáοightáϊf;쀀𝕃erĀLRਢਬeftArrow;憙ightArrow;憘ƀchtਾੀੂòࡌ;憰rok;䅁;扪Ѐacefiosuਗ਼੝੠੷੼અઋ઎p;椅y;䐜Ādl੥੯iumSpace;恟lintrf;愳r;쀀𝔐nusPlus;戓pf;쀀𝕄cò੶;䎜ҀJacefostuણધભીଔଙඑ඗ඞcy;䐊cute;䅃ƀaey઴હાron;䅇dil;䅅;䐝ƀgswે૰଎ativeƀMTV૓૟૨ediumSpace;怋hiĀcn૦૘ë૙eryThiî૙tedĀGL૸ଆreaterGreateòٳessLesóੈLine;䀊r;쀀𝔑ȀBnptଢନଷ଺reak;恠BreakingSpace;䂠f;愕ڀ;CDEGHLNPRSTV୕ୖ୪୼஡௫ఄ౞಄ದ೘ൡඅ櫬Āou୛୤ngruent;扢pCap;扭oubleVerticalBar;戦ƀlqxஃஊ஛ement;戉ualĀ;Tஒஓ扠ilde;쀀≂̸ists;戄reater΀;EFGLSTஶஷ஽௉௓௘௥扯qual;扱ullEqual;쀀≧̸reater;쀀≫̸ess;批lantEqual;쀀⩾̸ilde;扵umpń௲௽ownHump;쀀≎̸qual;쀀≏̸eĀfsఊధtTriangleƀ;BEచఛడ拪ar;쀀⧏̸qual;括s̀;EGLSTవశ఼ౄోౘ扮qual;扰reater;扸ess;쀀≪̸lantEqual;쀀⩽̸ilde;扴estedĀGL౨౹reaterGreater;쀀⪢̸essLess;쀀⪡̸recedesƀ;ESಒಓಛ技qual;쀀⪯̸lantEqual;拠ĀeiಫಹverseElement;戌ghtTriangleƀ;BEೋೌ೒拫ar;쀀⧐̸qual;拭ĀquೝഌuareSuĀbp೨೹setĀ;E೰ೳ쀀⊏̸qual;拢ersetĀ;Eഃആ쀀⊐̸qual;拣ƀbcpഓതൎsetĀ;Eഛഞ쀀⊂⃒qual;抈ceedsȀ;ESTലള഻െ抁qual;쀀⪰̸lantEqual;拡ilde;쀀≿̸ersetĀ;E൘൛쀀⊃⃒qual;抉ildeȀ;EFT൮൯൵ൿ扁qual;扄ullEqual;扇ilde;扉erticalBar;戤cr;쀀𝒩ilde耻Ñ䃑;䎝܀Eacdfgmoprstuvලෂ෉෕ෛ෠෧෼ขภยา฿ไlig;䅒cute耻Ó䃓Āiy෎ීrc耻Ô䃔;䐞blac;䅐r;쀀𝔒rave耻Ò䃒ƀaei෮ෲ෶cr;䅌ga;䎩cron;䎟pf;쀀𝕆enCurlyĀDQฎบoubleQuote;怜uote;怘;橔Āclวฬr;쀀𝒪ash耻Ø䃘iŬื฼de耻Õ䃕es;樷ml耻Ö䃖erĀBP๋๠Āar๐๓r;怾acĀek๚๜;揞et;掴arenthesis;揜Ҁacfhilors๿ງຊຏຒດຝະ໼rtialD;戂y;䐟r;쀀𝔓i;䎦;䎠usMinus;䂱Āipຢອncareplanåڝf;愙Ȁ;eio຺ູ໠໤檻cedesȀ;EST່້໏໚扺qual;檯lantEqual;扼ilde;找me;怳Ādp໩໮uct;戏ortionĀ;aȥ໹l;戝Āci༁༆r;쀀𝒫;䎨ȀUfos༑༖༛༟OT耻"䀢r;쀀𝔔pf;愚cr;쀀𝒬؀BEacefhiorsu༾གྷཇའཱིྦྷྪྭ႖ႩႴႾarr;椐G耻®䂮ƀcnrཎནབute;䅔g;柫rĀ;tཛྷཝ憠l;椖ƀaeyཧཬཱron;䅘dil;䅖;䐠Ā;vླྀཹ愜erseĀEUྂྙĀlq྇ྎement;戋uilibrium;懋pEquilibrium;楯r»ཹo;䎡ghtЀACDFTUVa࿁࿫࿳ဢဨၛႇϘĀnr࿆࿒gleBracket;柩rowƀ;BL࿜࿝࿡憒ar;懥eftArrow;懄eiling;按oǵ࿹\0စbleBracket;柧nǔည\0နeeVector;楝ectorĀ;Bဝသ懂ar;楕loor;挋Āerိ၃eƀ;AVဵံြ抢rrow;憦ector;楛iangleƀ;BEၐၑၕ抳ar;槐qual;抵pƀDTVၣၮၸownVector;楏eeVector;楜ectorĀ;Bႂႃ憾ar;楔ectorĀ;B႑႒懀ar;楓Āpuႛ႞f;愝ndImplies;楰ightarrow;懛ĀchႹႼr;愛;憱leDelayed;槴ڀHOacfhimoqstuფჱჷჽᄙᄞᅑᅖᅡᅧᆵᆻᆿĀCcჩხHcy;䐩y;䐨FTcy;䐬cute;䅚ʀ;aeiyᄈᄉᄎᄓᄗ檼ron;䅠dil;䅞rc;䅜;䐡r;쀀𝔖ortȀDLRUᄪᄴᄾᅉownArrow»ОeftArrow»࢚ightArrow»࿝pArrow;憑gma;䎣allCircle;战pf;쀀𝕊ɲᅭ\0\0ᅰt;戚areȀ;ISUᅻᅼᆉᆯ斡ntersection;抓uĀbpᆏᆞsetĀ;Eᆗᆘ抏qual;抑ersetĀ;Eᆨᆩ抐qual;抒nion;抔cr;쀀𝒮ar;拆ȀbcmpᇈᇛሉላĀ;sᇍᇎ拐etĀ;Eᇍᇕqual;抆ĀchᇠህeedsȀ;ESTᇭᇮᇴᇿ扻qual;檰lantEqual;扽ilde;承Tháྌ;我ƀ;esሒሓሣ拑rsetĀ;Eሜም抃qual;抇et»ሓրHRSacfhiorsሾቄ቉ቕ቞ቱቶኟዂወዑORN耻Þ䃞ADE;愢ĀHc቎ቒcy;䐋y;䐦Ābuቚቜ;䀉;䎤ƀaeyብቪቯron;䅤dil;䅢;䐢r;쀀𝔗Āeiቻ኉Dzኀ\0ኇefore;戴a;䎘Ācn኎ኘkSpace;쀀  Space;怉ldeȀ;EFTካኬኲኼ戼qual;扃ullEqual;扅ilde;扈pf;쀀𝕋ipleDot;惛Āctዖዛr;쀀𝒯rok;䅦ૡዷጎጚጦ\0ጬጱ\0\0\0\0\0ጸጽ፷ᎅ\0᏿ᐄᐊᐐĀcrዻጁute耻Ú䃚rĀ;oጇገ憟cir;楉rǣጓ\0጖y;䐎ve;䅬Āiyጞጣrc耻Û䃛;䐣blac;䅰r;쀀𝔘rave耻Ù䃙acr;䅪Ādiፁ፩erĀBPፈ፝Āarፍፐr;䁟acĀekፗፙ;揟et;掵arenthesis;揝onĀ;P፰፱拃lus;抎Āgp፻፿on;䅲f;쀀𝕌ЀADETadps᎕ᎮᎸᏄϨᏒᏗᏳrrowƀ;BDᅐᎠᎤar;椒ownArrow;懅ownArrow;憕quilibrium;楮eeĀ;AᏋᏌ报rrow;憥ownáϳerĀLRᏞᏨeftArrow;憖ightArrow;憗iĀ;lᏹᏺ䏒on;䎥ing;䅮cr;쀀𝒰ilde;䅨ml耻Ü䃜ҀDbcdefosvᐧᐬᐰᐳᐾᒅᒊᒐᒖash;披ar;櫫y;䐒ashĀ;lᐻᐼ抩;櫦Āerᑃᑅ;拁ƀbtyᑌᑐᑺar;怖Ā;iᑏᑕcalȀBLSTᑡᑥᑪᑴar;戣ine;䁼eparator;杘ilde;所ThinSpace;怊r;쀀𝔙pf;쀀𝕍cr;쀀𝒱dash;抪ʀcefosᒧᒬᒱᒶᒼirc;䅴dge;拀r;쀀𝔚pf;쀀𝕎cr;쀀𝒲Ȁfiosᓋᓐᓒᓘr;쀀𝔛;䎞pf;쀀𝕏cr;쀀𝒳ҀAIUacfosuᓱᓵᓹᓽᔄᔏᔔᔚᔠcy;䐯cy;䐇cy;䐮cute耻Ý䃝Āiyᔉᔍrc;䅶;䐫r;쀀𝔜pf;쀀𝕐cr;쀀𝒴ml;䅸ЀHacdefosᔵᔹᔿᕋᕏᕝᕠᕤcy;䐖cute;䅹Āayᕄᕉron;䅽;䐗ot;䅻Dzᕔ\0ᕛoWidtè૙a;䎖r;愨pf;愤cr;쀀𝒵௡ᖃᖊᖐ\0ᖰᖶᖿ\0\0\0\0ᗆᗛᗫᙟ᙭\0ᚕ᚛ᚲᚹ\0ᚾcute耻á䃡reve;䄃̀;Ediuyᖜᖝᖡᖣᖨᖭ戾;쀀∾̳;房rc耻â䃢te肻´̆;䐰lig耻æ䃦Ā;r²ᖺ;쀀𝔞rave耻à䃠ĀepᗊᗖĀfpᗏᗔsym;愵èᗓha;䎱ĀapᗟcĀclᗤᗧr;䄁g;樿ɤᗰ\0\0ᘊʀ;adsvᗺᗻᗿᘁᘇ戧nd;橕;橜lope;橘;橚΀;elmrszᘘᘙᘛᘞᘿᙏᙙ戠;榤e»ᘙsdĀ;aᘥᘦ戡ѡᘰᘲᘴᘶᘸᘺᘼᘾ;榨;榩;榪;榫;榬;榭;榮;榯tĀ;vᙅᙆ戟bĀ;dᙌᙍ抾;榝Āptᙔᙗh;戢»¹arr;捼Āgpᙣᙧon;䄅f;쀀𝕒΀;Eaeiop዁ᙻᙽᚂᚄᚇᚊ;橰cir;橯;扊d;手s;䀧roxĀ;e዁ᚒñᚃing耻å䃥ƀctyᚡᚦᚨr;쀀𝒶;䀪mpĀ;e዁ᚯñʈilde耻ã䃣ml耻ä䃤Āciᛂᛈoninôɲnt;樑ࠀNabcdefiklnoprsu᛭ᛱᜰ᜼ᝃᝈ᝸᝽០៦ᠹᡐᜍ᤽᥈ᥰot;櫭Ācrᛶ᜞kȀcepsᜀᜅᜍᜓong;扌psilon;䏶rime;怵imĀ;e᜚᜛戽q;拍Ŷᜢᜦee;抽edĀ;gᜬᜭ挅e»ᜭrkĀ;t፜᜷brk;掶Āoyᜁᝁ;䐱quo;怞ʀcmprtᝓ᝛ᝡᝤᝨausĀ;eĊĉptyv;榰séᜌnoõēƀahwᝯ᝱ᝳ;䎲;愶een;扬r;쀀𝔟g΀costuvwឍឝឳេ៕៛៞ƀaiuបពរðݠrc;旯p»፱ƀdptឤឨឭot;樀lus;樁imes;樂ɱឹ\0\0ើcup;樆ar;昅riangleĀdu៍្own;施p;斳plus;樄eåᑄåᒭarow;植ƀako៭ᠦᠵĀcn៲ᠣkƀlst៺֫᠂ozenge;槫riangleȀ;dlr᠒᠓᠘᠝斴own;斾eft;旂ight;斸k;搣Ʊᠫ\0ᠳƲᠯ\0ᠱ;斒;斑4;斓ck;斈ĀeoᠾᡍĀ;qᡃᡆ쀀=⃥uiv;쀀≡⃥t;挐Ȁptwxᡙᡞᡧᡬf;쀀𝕓Ā;tᏋᡣom»Ꮜtie;拈؀DHUVbdhmptuvᢅᢖᢪᢻᣗᣛᣬ᣿ᤅᤊᤐᤡȀLRlrᢎᢐᢒᢔ;敗;敔;敖;敓ʀ;DUduᢡᢢᢤᢦᢨ敐;敦;敩;敤;敧ȀLRlrᢳᢵᢷᢹ;敝;敚;敜;教΀;HLRhlrᣊᣋᣍᣏᣑᣓᣕ救;敬;散;敠;敫;敢;敟ox;槉ȀLRlrᣤᣦᣨᣪ;敕;敒;攐;攌ʀ;DUduڽ᣷᣹᣻᣽;敥;敨;攬;攴inus;抟lus;択imes;抠ȀLRlrᤙᤛᤝ᤟;敛;敘;攘;攔΀;HLRhlrᤰᤱᤳᤵᤷ᤻᤹攂;敪;敡;敞;攼;攤;攜Āevģ᥂bar耻¦䂦Ȁceioᥑᥖᥚᥠr;쀀𝒷mi;恏mĀ;e᜚᜜lƀ;bhᥨᥩᥫ䁜;槅sub;柈Ŭᥴ᥾lĀ;e᥹᥺怢t»᥺pƀ;Eeįᦅᦇ;檮Ā;qۜۛೡᦧ\0᧨ᨑᨕᨲ\0ᨷᩐ\0\0᪴\0\0᫁\0\0ᬡᬮ᭍᭒\0᯽\0ᰌƀcpr᦭ᦲ᧝ute;䄇̀;abcdsᦿᧀᧄ᧊᧕᧙戩nd;橄rcup;橉Āau᧏᧒p;橋p;橇ot;橀;쀀∩︀Āeo᧢᧥t;恁îړȀaeiu᧰᧻ᨁᨅǰ᧵\0᧸s;橍on;䄍dil耻ç䃧rc;䄉psĀ;sᨌᨍ橌m;橐ot;䄋ƀdmnᨛᨠᨦil肻¸ƭptyv;榲t脀¢;eᨭᨮ䂢räƲr;쀀𝔠ƀceiᨽᩀᩍy;䑇ckĀ;mᩇᩈ朓ark»ᩈ;䏇r΀;Ecefms᩟᩠ᩢᩫ᪤᪪᪮旋;槃ƀ;elᩩᩪᩭ䋆q;扗eɡᩴ\0\0᪈rrowĀlr᩼᪁eft;憺ight;憻ʀRSacd᪒᪔᪖᪚᪟»ཇ;擈st;抛irc;抚ash;抝nint;樐id;櫯cir;槂ubsĀ;u᪻᪼晣it»᪼ˬ᫇᫔᫺\0ᬊonĀ;eᫍᫎ䀺Ā;qÇÆɭ᫙\0\0᫢aĀ;t᫞᫟䀬;䁀ƀ;fl᫨᫩᫫戁îᅠeĀmx᫱᫶ent»᫩eóɍǧ᫾\0ᬇĀ;dኻᬂot;橭nôɆƀfryᬐᬔᬗ;쀀𝕔oäɔ脀©;sŕᬝr;愗Āaoᬥᬩrr;憵ss;朗Ācuᬲᬷr;쀀𝒸Ābpᬼ᭄Ā;eᭁᭂ櫏;櫑Ā;eᭉᭊ櫐;櫒dot;拯΀delprvw᭠᭬᭷ᮂᮬᯔ᯹arrĀlr᭨᭪;椸;椵ɰ᭲\0\0᭵r;拞c;拟arrĀ;p᭿ᮀ憶;椽̀;bcdosᮏᮐᮖᮡᮥᮨ截rcap;橈Āauᮛᮞp;橆p;橊ot;抍r;橅;쀀∪︀Ȁalrv᮵ᮿᯞᯣrrĀ;mᮼᮽ憷;椼yƀevwᯇᯔᯘqɰᯎ\0\0ᯒreã᭳uã᭵ee;拎edge;拏en耻¤䂤earrowĀlrᯮ᯳eft»ᮀight»ᮽeäᯝĀciᰁᰇoninôǷnt;戱lcty;挭ঀAHabcdefhijlorstuwz᰸᰻᰿ᱝᱩᱵᲊᲞᲬᲷ᳻᳿ᴍᵻᶑᶫᶻ᷆᷍rò΁ar;楥Ȁglrs᱈ᱍ᱒᱔ger;怠eth;愸òᄳhĀ;vᱚᱛ怐»ऊūᱡᱧarow;椏aã̕Āayᱮᱳron;䄏;䐴ƀ;ao̲ᱼᲄĀgrʿᲁr;懊tseq;橷ƀglmᲑᲔᲘ耻°䂰ta;䎴ptyv;榱ĀirᲣᲨsht;楿;쀀𝔡arĀlrᲳᲵ»ࣜ»သʀaegsv᳂͸᳖᳜᳠mƀ;oș᳊᳔ndĀ;ș᳑uit;晦amma;䏝in;拲ƀ;io᳧᳨᳸䃷de脀÷;o᳧ᳰntimes;拇nø᳷cy;䑒cɯᴆ\0\0ᴊrn;挞op;挍ʀlptuwᴘᴝᴢᵉᵕlar;䀤f;쀀𝕕ʀ;emps̋ᴭᴷᴽᵂqĀ;d͒ᴳot;扑inus;戸lus;戔quare;抡blebarwedgåúnƀadhᄮᵝᵧownarrowóᲃarpoonĀlrᵲᵶefôᲴighôᲶŢᵿᶅkaro÷གɯᶊ\0\0ᶎrn;挟op;挌ƀcotᶘᶣᶦĀryᶝᶡ;쀀𝒹;䑕l;槶rok;䄑Ādrᶰᶴot;拱iĀ;fᶺ᠖斿Āah᷀᷃ròЩaòྦangle;榦Āci᷒ᷕy;䑟grarr;柿ऀDacdefglmnopqrstuxḁḉḙḸոḼṉṡṾấắẽỡἪἷὄ὎὚ĀDoḆᴴoôᲉĀcsḎḔute耻é䃩ter;橮ȀaioyḢḧḱḶron;䄛rĀ;cḭḮ扖耻ê䃪lon;払;䑍ot;䄗ĀDrṁṅot;扒;쀀𝔢ƀ;rsṐṑṗ檚ave耻è䃨Ā;dṜṝ檖ot;檘Ȁ;ilsṪṫṲṴ檙nters;揧;愓Ā;dṹṺ檕ot;檗ƀapsẅẉẗcr;䄓tyƀ;svẒẓẕ戅et»ẓpĀ1;ẝẤijạả;怄;怅怃ĀgsẪẬ;䅋p;怂ĀgpẴẸon;䄙f;쀀𝕖ƀalsỄỎỒrĀ;sỊị拕l;槣us;橱iƀ;lvỚớở䎵on»ớ;䏵ȀcsuvỪỳἋἣĀioữḱrc»Ḯɩỹ\0\0ỻíՈantĀglἂἆtr»ṝess»Ṻƀaeiἒ἖Ἒls;䀽st;扟vĀ;DȵἠD;橸parsl;槥ĀDaἯἳot;打rr;楱ƀcdiἾὁỸr;愯oô͒ĀahὉὋ;䎷耻ð䃰Āmrὓὗl耻ë䃫o;悬ƀcipὡὤὧl;䀡sôծĀeoὬὴctatioîՙnentialåչৡᾒ\0ᾞ\0ᾡᾧ\0\0ῆῌ\0ΐ\0ῦῪ \0 ⁚llingdotseñṄy;䑄male;晀ƀilrᾭᾳ῁lig;耀ffiɩᾹ\0\0᾽g;耀ffig;耀ffl;쀀𝔣lig;耀filig;쀀fjƀaltῙ῜ῡt;晭ig;耀flns;斱of;䆒ǰ΅\0ῳf;쀀𝕗ĀakֿῷĀ;vῼ´拔;櫙artint;樍Āao‌⁕Ācs‑⁒ႉ‸⁅⁈\0⁐β•‥‧‪‬\0‮耻½䂽;慓耻¼䂼;慕;慙;慛Ƴ‴\0‶;慔;慖ʴ‾⁁\0\0⁃耻¾䂾;慗;慜5;慘ƶ⁌\0⁎;慚;慝8;慞l;恄wn;挢cr;쀀𝒻ࢀEabcdefgijlnorstv₂₉₟₥₰₴⃰⃵⃺⃿℃ℒℸ̗ℾ⅒↞Ā;lٍ₇;檌ƀcmpₐₕ₝ute;䇵maĀ;dₜ᳚䎳;檆reve;䄟Āiy₪₮rc;䄝;䐳ot;䄡Ȁ;lqsؾق₽⃉ƀ;qsؾٌ⃄lanô٥Ȁ;cdl٥⃒⃥⃕c;檩otĀ;o⃜⃝檀Ā;l⃢⃣檂;檄Ā;e⃪⃭쀀⋛︀s;檔r;쀀𝔤Ā;gٳ؛mel;愷cy;䑓Ȁ;Eajٚℌℎℐ;檒;檥;檤ȀEaesℛℝ℩ℴ;扩pĀ;p℣ℤ檊rox»ℤĀ;q℮ℯ檈Ā;q℮ℛim;拧pf;쀀𝕘Āci⅃ⅆr;愊mƀ;el٫ⅎ⅐;檎;檐茀>;cdlqr׮ⅠⅪⅮⅳⅹĀciⅥⅧ;檧r;橺ot;拗Par;榕uest;橼ʀadelsↄⅪ←ٖ↛ǰ↉\0↎proø₞r;楸qĀlqؿ↖lesó₈ií٫Āen↣↭rtneqq;쀀≩︀Å↪ԀAabcefkosy⇄⇇⇱⇵⇺∘∝∯≨≽ròΠȀilmr⇐⇔⇗⇛rsðᒄf»․ilôکĀdr⇠⇤cy;䑊ƀ;cwࣴ⇫⇯ir;楈;憭ar;意irc;䄥ƀalr∁∎∓rtsĀ;u∉∊晥it»∊lip;怦con;抹r;쀀𝔥sĀew∣∩arow;椥arow;椦ʀamopr∺∾≃≞≣rr;懿tht;戻kĀlr≉≓eftarrow;憩ightarrow;憪f;쀀𝕙bar;怕ƀclt≯≴≸r;쀀𝒽asè⇴rok;䄧Ābp⊂⊇ull;恃hen»ᱛૡ⊣\0⊪\0⊸⋅⋎\0⋕⋳\0\0⋸⌢⍧⍢⍿\0⎆⎪⎴cute耻í䃭ƀ;iyݱ⊰⊵rc耻î䃮;䐸Ācx⊼⊿y;䐵cl耻¡䂡ĀfrΟ⋉;쀀𝔦rave耻ì䃬Ȁ;inoܾ⋝⋩⋮Āin⋢⋦nt;樌t;戭fin;槜ta;愩lig;䄳ƀaop⋾⌚⌝ƀcgt⌅⌈⌗r;䄫ƀelpܟ⌏⌓inåގarôܠh;䄱f;抷ed;䆵ʀ;cfotӴ⌬⌱⌽⍁are;愅inĀ;t⌸⌹戞ie;槝doô⌙ʀ;celpݗ⍌⍐⍛⍡al;抺Āgr⍕⍙eróᕣã⍍arhk;樗rod;樼Ȁcgpt⍯⍲⍶⍻y;䑑on;䄯f;쀀𝕚a;䎹uest耻¿䂿Āci⎊⎏r;쀀𝒾nʀ;EdsvӴ⎛⎝⎡ӳ;拹ot;拵Ā;v⎦⎧拴;拳Ā;iݷ⎮lde;䄩ǫ⎸\0⎼cy;䑖l耻ï䃯̀cfmosu⏌⏗⏜⏡⏧⏵Āiy⏑⏕rc;䄵;䐹r;쀀𝔧ath;䈷pf;쀀𝕛ǣ⏬\0⏱r;쀀𝒿rcy;䑘kcy;䑔Ѐacfghjos␋␖␢␧␭␱␵␻ppaĀ;v␓␔䎺;䏰Āey␛␠dil;䄷;䐺r;쀀𝔨reen;䄸cy;䑅cy;䑜pf;쀀𝕜cr;쀀𝓀஀ABEHabcdefghjlmnoprstuv⑰⒁⒆⒍⒑┎┽╚▀♎♞♥♹♽⚚⚲⛘❝❨➋⟀⠁⠒ƀart⑷⑺⑼rò৆òΕail;椛arr;椎Ā;gঔ⒋;檋ar;楢ॣ⒥\0⒪\0⒱\0\0\0\0\0⒵Ⓔ\0ⓆⓈⓍ\0⓹ute;䄺mptyv;榴raîࡌbda;䎻gƀ;dlࢎⓁⓃ;榑åࢎ;檅uo耻«䂫rЀ;bfhlpst࢙ⓞⓦⓩ⓫⓮⓱⓵Ā;f࢝ⓣs;椟s;椝ë≒p;憫l;椹im;楳l;憢ƀ;ae⓿─┄檫il;椙Ā;s┉┊檭;쀀⪭︀ƀabr┕┙┝rr;椌rk;杲Āak┢┬cĀek┨┪;䁻;䁛Āes┱┳;榋lĀdu┹┻;榏;榍Ȁaeuy╆╋╖╘ron;䄾Ādi═╔il;䄼ìࢰâ┩;䐻Ȁcqrs╣╦╭╽a;椶uoĀ;rนᝆĀdu╲╷har;楧shar;楋h;憲ʀ;fgqs▋▌উ◳◿扤tʀahlrt▘▤▷◂◨rrowĀ;t࢙□aé⓶arpoonĀdu▯▴own»њp»०eftarrows;懇ightƀahs◍◖◞rrowĀ;sࣴࢧarpoonó྘quigarro÷⇰hreetimes;拋ƀ;qs▋ও◺lanôবʀ;cdgsব☊☍☝☨c;檨otĀ;o☔☕橿Ā;r☚☛檁;檃Ā;e☢☥쀀⋚︀s;檓ʀadegs☳☹☽♉♋pproøⓆot;拖qĀgq♃♅ôউgtò⒌ôছiíলƀilr♕࣡♚sht;楼;쀀𝔩Ā;Eজ♣;檑š♩♶rĀdu▲♮Ā;l॥♳;楪lk;斄cy;䑙ʀ;achtੈ⚈⚋⚑⚖rò◁orneòᴈard;楫ri;旺Āio⚟⚤dot;䅀ustĀ;a⚬⚭掰che»⚭ȀEaes⚻⚽⛉⛔;扨pĀ;p⛃⛄檉rox»⛄Ā;q⛎⛏檇Ā;q⛎⚻im;拦Ѐabnoptwz⛩⛴⛷✚✯❁❇❐Ānr⛮⛱g;柬r;懽rëࣁgƀlmr⛿✍✔eftĀar০✇ightá৲apsto;柼ightá৽parrowĀlr✥✩efô⓭ight;憬ƀafl✶✹✽r;榅;쀀𝕝us;樭imes;樴š❋❏st;戗áፎƀ;ef❗❘᠀旊nge»❘arĀ;l❤❥䀨t;榓ʀachmt❳❶❼➅➇ròࢨorneòᶌarĀ;d྘➃;業;怎ri;抿̀achiqt➘➝ੀ➢➮➻quo;怹r;쀀𝓁mƀ;egল➪➬;檍;檏Ābu┪➳oĀ;rฟ➹;怚rok;䅂萀<;cdhilqrࠫ⟒☹⟜⟠⟥⟪⟰Āci⟗⟙;檦r;橹reå◲mes;拉arr;楶uest;橻ĀPi⟵⟹ar;榖ƀ;ef⠀भ᠛旃rĀdu⠇⠍shar;楊har;楦Āen⠗⠡rtneqq;쀀≨︀Å⠞܀Dacdefhilnopsu⡀⡅⢂⢎⢓⢠⢥⢨⣚⣢⣤ઃ⣳⤂Dot;戺Ȁclpr⡎⡒⡣⡽r耻¯䂯Āet⡗⡙;時Ā;e⡞⡟朠se»⡟Ā;sျ⡨toȀ;dluျ⡳⡷⡻owîҌefôएðᏑker;斮Āoy⢇⢌mma;権;䐼ash;怔asuredangle»ᘦr;쀀𝔪o;愧ƀcdn⢯⢴⣉ro耻µ䂵Ȁ;acdᑤ⢽⣀⣄sôᚧir;櫰ot肻·Ƶusƀ;bd⣒ᤃ⣓戒Ā;uᴼ⣘;横ţ⣞⣡p;櫛ò−ðઁĀdp⣩⣮els;抧f;쀀𝕞Āct⣸⣽r;쀀𝓂pos»ᖝƀ;lm⤉⤊⤍䎼timap;抸ఀGLRVabcdefghijlmoprstuvw⥂⥓⥾⦉⦘⧚⧩⨕⨚⩘⩝⪃⪕⪤⪨⬄⬇⭄⭿⮮ⰴⱧⱼ⳩Āgt⥇⥋;쀀⋙̸Ā;v⥐௏쀀≫⃒ƀelt⥚⥲⥶ftĀar⥡⥧rrow;懍ightarrow;懎;쀀⋘̸Ā;v⥻ే쀀≪⃒ightarrow;懏ĀDd⦎⦓ash;抯ash;抮ʀbcnpt⦣⦧⦬⦱⧌la»˞ute;䅄g;쀀∠⃒ʀ;Eiop඄⦼⧀⧅⧈;쀀⩰̸d;쀀≋̸s;䅉roø඄urĀ;a⧓⧔普lĀ;s⧓ସdz⧟\0⧣p肻 ଷmpĀ;e௹ఀʀaeouy⧴⧾⨃⨐⨓ǰ⧹\0⧻;橃on;䅈dil;䅆ngĀ;dൾ⨊ot;쀀⩭̸p;橂;䐽ash;怓΀;Aadqsxஒ⨩⨭⨻⩁⩅⩐rr;懗rĀhr⨳⨶k;椤Ā;oᏲᏰot;쀀≐̸uiöୣĀei⩊⩎ar;椨í஘istĀ;s஠டr;쀀𝔫ȀEest௅⩦⩹⩼ƀ;qs஼⩭௡ƀ;qs஼௅⩴lanô௢ií௪Ā;rஶ⪁»ஷƀAap⪊⪍⪑rò⥱rr;憮ar;櫲ƀ;svྍ⪜ྌĀ;d⪡⪢拼;拺cy;䑚΀AEadest⪷⪺⪾⫂⫅⫶⫹rò⥦;쀀≦̸rr;憚r;急Ȁ;fqs఻⫎⫣⫯tĀar⫔⫙rro÷⫁ightarro÷⪐ƀ;qs఻⪺⫪lanôౕĀ;sౕ⫴»శiíౝĀ;rవ⫾iĀ;eచథiäඐĀpt⬌⬑f;쀀𝕟膀¬;in⬙⬚⬶䂬nȀ;Edvஉ⬤⬨⬮;쀀⋹̸ot;쀀⋵̸ǡஉ⬳⬵;拷;拶iĀ;vಸ⬼ǡಸ⭁⭃;拾;拽ƀaor⭋⭣⭩rȀ;ast୻⭕⭚⭟lleì୻l;쀀⫽⃥;쀀∂̸lint;樔ƀ;ceಒ⭰⭳uåಥĀ;cಘ⭸Ā;eಒ⭽ñಘȀAait⮈⮋⮝⮧rò⦈rrƀ;cw⮔⮕⮙憛;쀀⤳̸;쀀↝̸ghtarrow»⮕riĀ;eೋೖ΀chimpqu⮽⯍⯙⬄୸⯤⯯Ȁ;cerല⯆ഷ⯉uå൅;쀀𝓃ortɭ⬅\0\0⯖ará⭖mĀ;e൮⯟Ā;q൴൳suĀbp⯫⯭å೸åഋƀbcp⯶ⰑⰙȀ;Ees⯿ⰀഢⰄ抄;쀀⫅̸etĀ;eഛⰋqĀ;qണⰀcĀ;eലⰗñസȀ;EesⰢⰣൟⰧ抅;쀀⫆̸etĀ;e൘ⰮqĀ;qൠⰣȀgilrⰽⰿⱅⱇìௗlde耻ñ䃱çృiangleĀlrⱒⱜeftĀ;eచⱚñదightĀ;eೋⱥñ೗Ā;mⱬⱭ䎽ƀ;esⱴⱵⱹ䀣ro;愖p;怇ҀDHadgilrsⲏⲔⲙⲞⲣⲰⲶⳓⳣash;抭arr;椄p;쀀≍⃒ash;抬ĀetⲨⲬ;쀀≥⃒;쀀>⃒nfin;槞ƀAetⲽⳁⳅrr;椂;쀀≤⃒Ā;rⳊⳍ쀀<⃒ie;쀀⊴⃒ĀAtⳘⳜrr;椃rie;쀀⊵⃒im;쀀∼⃒ƀAan⳰⳴ⴂrr;懖rĀhr⳺⳽k;椣Ā;oᏧᏥear;椧ቓ᪕\0\0\0\0\0\0\0\0\0\0\0\0\0ⴭ\0ⴸⵈⵠⵥ⵲ⶄᬇ\0\0ⶍⶫ\0ⷈⷎ\0ⷜ⸙⸫⸾⹃Ācsⴱ᪗ute耻ó䃳ĀiyⴼⵅrĀ;c᪞ⵂ耻ô䃴;䐾ʀabios᪠ⵒⵗLjⵚlac;䅑v;樸old;榼lig;䅓Ācr⵩⵭ir;榿;쀀𝔬ͯ⵹\0\0⵼\0ⶂn;䋛ave耻ò䃲;槁Ābmⶈ෴ar;榵Ȁacitⶕ⶘ⶥⶨrò᪀Āir⶝ⶠr;榾oss;榻nå๒;槀ƀaeiⶱⶵⶹcr;䅍ga;䏉ƀcdnⷀⷅǍron;䎿;榶pf;쀀𝕠ƀaelⷔ⷗ǒr;榷rp;榹΀;adiosvⷪⷫⷮ⸈⸍⸐⸖戨rò᪆Ȁ;efmⷷⷸ⸂⸅橝rĀ;oⷾⷿ愴f»ⷿ耻ª䂪耻º䂺gof;抶r;橖lope;橗;橛ƀclo⸟⸡⸧ò⸁ash耻ø䃸l;折iŬⸯ⸴de耻õ䃵esĀ;aǛ⸺s;樶ml耻ö䃶bar;挽ૡ⹞\0⹽\0⺀⺝\0⺢⺹\0\0⻋ຜ\0⼓\0\0⼫⾼\0⿈rȀ;astЃ⹧⹲຅脀¶;l⹭⹮䂶leìЃɩ⹸\0\0⹻m;櫳;櫽y;䐿rʀcimpt⺋⺏⺓ᡥ⺗nt;䀥od;䀮il;怰enk;怱r;쀀𝔭ƀimo⺨⺰⺴Ā;v⺭⺮䏆;䏕maô੶ne;明ƀ;tv⺿⻀⻈䏀chfork»´;䏖Āau⻏⻟nĀck⻕⻝kĀ;h⇴⻛;愎ö⇴sҀ;abcdemst⻳⻴ᤈ⻹⻽⼄⼆⼊⼎䀫cir;樣ir;樢Āouᵀ⼂;樥;橲n肻±ຝim;樦wo;樧ƀipu⼙⼠⼥ntint;樕f;쀀𝕡nd耻£䂣Ԁ;Eaceinosu່⼿⽁⽄⽇⾁⾉⾒⽾⾶;檳p;檷uå໙Ā;c໎⽌̀;acens່⽙⽟⽦⽨⽾pproø⽃urlyeñ໙ñ໎ƀaes⽯⽶⽺pprox;檹qq;檵im;拨iíໟmeĀ;s⾈ຮ怲ƀEas⽸⾐⽺ð⽵ƀdfp໬⾙⾯ƀals⾠⾥⾪lar;挮ine;挒urf;挓Ā;t໻⾴ï໻rel;抰Āci⿀⿅r;쀀𝓅;䏈ncsp;怈̀fiopsu⿚⋢⿟⿥⿫⿱r;쀀𝔮pf;쀀𝕢rime;恗cr;쀀𝓆ƀaeo⿸〉〓tĀei⿾々rnionóڰnt;樖stĀ;e【】䀿ñἙô༔઀ABHabcdefhilmnoprstux぀けさすムㄎㄫㅇㅢㅲㆎ㈆㈕㈤㈩㉘㉮㉲㊐㊰㊷ƀartぇおがròႳòϝail;検aròᱥar;楤΀cdenqrtとふへみわゔヌĀeuねぱ;쀀∽̱te;䅕iãᅮmptyv;榳gȀ;del࿑らるろ;榒;榥å࿑uo耻»䂻rր;abcfhlpstw࿜ガクシスゼゾダッデナp;極Ā;f࿠ゴs;椠;椳s;椞ë≝ð✮l;楅im;楴l;憣;憝Āaiパフil;椚oĀ;nホボ戶aló༞ƀabrョリヮrò៥rk;杳ĀakンヽcĀekヹ・;䁽;䁝Āes㄂㄄;榌lĀduㄊㄌ;榎;榐Ȁaeuyㄗㄜㄧㄩron;䅙Ādiㄡㄥil;䅗ì࿲âヺ;䑀Ȁclqsㄴㄷㄽㅄa;椷dhar;楩uoĀ;rȎȍh;憳ƀacgㅎㅟངlȀ;ipsླྀㅘㅛႜnåႻarôྩt;断ƀilrㅩဣㅮsht;楽;쀀𝔯ĀaoㅷㆆrĀduㅽㅿ»ѻĀ;l႑ㆄ;楬Ā;vㆋㆌ䏁;䏱ƀgns㆕ㇹㇼht̀ahlrstㆤㆰ㇂㇘㇤㇮rrowĀ;t࿜ㆭaéトarpoonĀduㆻㆿowîㅾp»႒eftĀah㇊㇐rrowó࿪arpoonóՑightarrows;應quigarro÷ニhreetimes;拌g;䋚ingdotseñἲƀahm㈍㈐㈓rò࿪aòՑ;怏oustĀ;a㈞㈟掱che»㈟mid;櫮Ȁabpt㈲㈽㉀㉒Ānr㈷㈺g;柭r;懾rëဃƀafl㉇㉊㉎r;榆;쀀𝕣us;樮imes;樵Āap㉝㉧rĀ;g㉣㉤䀩t;榔olint;樒arò㇣Ȁachq㉻㊀Ⴜ㊅quo;怺r;쀀𝓇Ābu・㊊oĀ;rȔȓƀhir㊗㊛㊠reåㇸmes;拊iȀ;efl㊪ၙᠡ㊫方tri;槎luhar;楨;愞ൡ㋕㋛㋟㌬㌸㍱\0㍺㎤\0\0㏬㏰\0㐨㑈㑚㒭㒱㓊㓱\0㘖\0\0㘳cute;䅛quï➺Ԁ;Eaceinpsyᇭ㋳㋵㋿㌂㌋㌏㌟㌦㌩;檴ǰ㋺\0㋼;檸on;䅡uåᇾĀ;dᇳ㌇il;䅟rc;䅝ƀEas㌖㌘㌛;檶p;檺im;择olint;樓iíሄ;䑁otƀ;be㌴ᵇ㌵担;橦΀Aacmstx㍆㍊㍗㍛㍞㍣㍭rr;懘rĀhr㍐㍒ë∨Ā;oਸ਼਴t耻§䂧i;䀻war;椩mĀin㍩ðnuóñt;朶rĀ;o㍶⁕쀀𝔰Ȁacoy㎂㎆㎑㎠rp;景Āhy㎋㎏cy;䑉;䑈rtɭ㎙\0\0㎜iäᑤaraì⹯耻­䂭Āgm㎨㎴maƀ;fv㎱㎲㎲䏃;䏂Ѐ;deglnprካ㏅㏉㏎㏖㏞㏡㏦ot;橪Ā;q኱ኰĀ;E㏓㏔檞;檠Ā;E㏛㏜檝;檟e;扆lus;樤arr;楲aròᄽȀaeit㏸㐈㐏㐗Āls㏽㐄lsetmé㍪hp;樳parsl;槤Ādlᑣ㐔e;挣Ā;e㐜㐝檪Ā;s㐢㐣檬;쀀⪬︀ƀflp㐮㐳㑂tcy;䑌Ā;b㐸㐹䀯Ā;a㐾㐿槄r;挿f;쀀𝕤aĀdr㑍ЂesĀ;u㑔㑕晠it»㑕ƀcsu㑠㑹㒟Āau㑥㑯pĀ;sᆈ㑫;쀀⊓︀pĀ;sᆴ㑵;쀀⊔︀uĀbp㑿㒏ƀ;esᆗᆜ㒆etĀ;eᆗ㒍ñᆝƀ;esᆨᆭ㒖etĀ;eᆨ㒝ñᆮƀ;afᅻ㒦ְrť㒫ֱ»ᅼaròᅈȀcemt㒹㒾㓂㓅r;쀀𝓈tmîñiì㐕aræᆾĀar㓎㓕rĀ;f㓔ឿ昆Āan㓚㓭ightĀep㓣㓪psiloîỠhé⺯s»⡒ʀbcmnp㓻㕞ሉ㖋㖎Ҁ;Edemnprs㔎㔏㔑㔕㔞㔣㔬㔱㔶抂;櫅ot;檽Ā;dᇚ㔚ot;櫃ult;櫁ĀEe㔨㔪;櫋;把lus;檿arr;楹ƀeiu㔽㕒㕕tƀ;en㔎㕅㕋qĀ;qᇚ㔏eqĀ;q㔫㔨m;櫇Ābp㕚㕜;櫕;櫓c̀;acensᇭ㕬㕲㕹㕻㌦pproø㋺urlyeñᇾñᇳƀaes㖂㖈㌛pproø㌚qñ㌗g;晪ڀ123;Edehlmnps㖩㖬㖯ሜ㖲㖴㗀㗉㗕㗚㗟㗨㗭耻¹䂹耻²䂲耻³䂳;櫆Āos㖹㖼t;檾ub;櫘Ā;dሢ㗅ot;櫄sĀou㗏㗒l;柉b;櫗arr;楻ult;櫂ĀEe㗤㗦;櫌;抋lus;櫀ƀeiu㗴㘉㘌tƀ;enሜ㗼㘂qĀ;qሢ㖲eqĀ;q㗧㗤m;櫈Ābp㘑㘓;櫔;櫖ƀAan㘜㘠㘭rr;懙rĀhr㘦㘨ë∮Ā;oਫ਩war;椪lig耻ß䃟௡㙑㙝㙠ዎ㙳㙹\0㙾㛂\0\0\0\0\0㛛㜃\0㜉㝬\0\0\0㞇ɲ㙖\0\0㙛get;挖;䏄rë๟ƀaey㙦㙫㙰ron;䅥dil;䅣;䑂lrec;挕r;쀀𝔱Ȁeiko㚆㚝㚵㚼Dz㚋\0㚑eĀ4fኄኁaƀ;sv㚘㚙㚛䎸ym;䏑Ācn㚢㚲kĀas㚨㚮pproø዁im»ኬsðኞĀas㚺㚮ð዁rn耻þ䃾Ǭ̟㛆⋧es膀×;bd㛏㛐㛘䃗Ā;aᤏ㛕r;樱;樰ƀeps㛡㛣㜀á⩍Ȁ;bcf҆㛬㛰㛴ot;挶ir;櫱Ā;o㛹㛼쀀𝕥rk;櫚á㍢rime;怴ƀaip㜏㜒㝤dåቈ΀adempst㜡㝍㝀㝑㝗㝜㝟ngleʀ;dlqr㜰㜱㜶㝀㝂斵own»ᶻeftĀ;e⠀㜾ñम;扜ightĀ;e㊪㝋ñၚot;旬inus;樺lus;樹b;槍ime;樻ezium;揢ƀcht㝲㝽㞁Āry㝷㝻;쀀𝓉;䑆cy;䑛rok;䅧Āio㞋㞎xô᝷headĀlr㞗㞠eftarro÷ࡏightarrow»ཝऀAHabcdfghlmoprstuw㟐㟓㟗㟤㟰㟼㠎㠜㠣㠴㡑㡝㡫㢩㣌㣒㣪㣶ròϭar;楣Ācr㟜㟢ute耻ú䃺òᅐrǣ㟪\0㟭y;䑞ve;䅭Āiy㟵㟺rc耻û䃻;䑃ƀabh㠃㠆㠋ròᎭlac;䅱aòᏃĀir㠓㠘sht;楾;쀀𝔲rave耻ù䃹š㠧㠱rĀlr㠬㠮»ॗ»ႃlk;斀Āct㠹㡍ɯ㠿\0\0㡊rnĀ;e㡅㡆挜r»㡆op;挏ri;旸Āal㡖㡚cr;䅫肻¨͉Āgp㡢㡦on;䅳f;쀀𝕦̀adhlsuᅋ㡸㡽፲㢑㢠ownáᎳarpoonĀlr㢈㢌efô㠭ighô㠯iƀ;hl㢙㢚㢜䏅»ᏺon»㢚parrows;懈ƀcit㢰㣄㣈ɯ㢶\0\0㣁rnĀ;e㢼㢽挝r»㢽op;挎ng;䅯ri;旹cr;쀀𝓊ƀdir㣙㣝㣢ot;拰lde;䅩iĀ;f㜰㣨»᠓Āam㣯㣲rò㢨l耻ü䃼angle;榧ހABDacdeflnoprsz㤜㤟㤩㤭㦵㦸㦽㧟㧤㧨㧳㧹㧽㨁㨠ròϷarĀ;v㤦㤧櫨;櫩asèϡĀnr㤲㤷grt;榜΀eknprst㓣㥆㥋㥒㥝㥤㦖appá␕othinçẖƀhir㓫⻈㥙opô⾵Ā;hᎷ㥢ïㆍĀiu㥩㥭gmá㎳Ābp㥲㦄setneqĀ;q㥽㦀쀀⊊︀;쀀⫋︀setneqĀ;q㦏㦒쀀⊋︀;쀀⫌︀Āhr㦛㦟etá㚜iangleĀlr㦪㦯eft»थight»ၑy;䐲ash»ံƀelr㧄㧒㧗ƀ;beⷪ㧋㧏ar;抻q;扚lip;拮Ābt㧜ᑨaòᑩr;쀀𝔳tré㦮suĀbp㧯㧱»ജ»൙pf;쀀𝕧roð໻tré㦴Ācu㨆㨋r;쀀𝓋Ābp㨐㨘nĀEe㦀㨖»㥾nĀEe㦒㨞»㦐igzag;榚΀cefoprs㨶㨻㩖㩛㩔㩡㩪irc;䅵Ādi㩀㩑Ābg㩅㩉ar;機eĀ;qᗺ㩏;扙erp;愘r;쀀𝔴pf;쀀𝕨Ā;eᑹ㩦atèᑹcr;쀀𝓌ૣណ㪇\0㪋\0㪐㪛\0\0㪝㪨㪫㪯\0\0㫃㫎\0㫘ៜ៟tré៑r;쀀𝔵ĀAa㪔㪗ròσrò৶;䎾ĀAa㪡㪤ròθrò৫að✓is;拻ƀdptឤ㪵㪾Āfl㪺ឩ;쀀𝕩imåឲĀAa㫇㫊ròώròਁĀcq㫒ីr;쀀𝓍Āpt៖㫜ré។Ѐacefiosu㫰㫽㬈㬌㬑㬕㬛㬡cĀuy㫶㫻te耻ý䃽;䑏Āiy㬂㬆rc;䅷;䑋n耻¥䂥r;쀀𝔶cy;䑗pf;쀀𝕪cr;쀀𝓎Ācm㬦㬩y;䑎l耻ÿ䃿Ԁacdefhiosw㭂㭈㭔㭘㭤㭩㭭㭴㭺㮀cute;䅺Āay㭍㭒ron;䅾;䐷ot;䅼Āet㭝㭡træᕟa;䎶r;쀀𝔷cy;䐶grarr;懝pf;쀀𝕫cr;쀀𝓏Ājn㮅㮇;怍j;怌'.split("").map(e=>e.charCodeAt(0))),jj=new Uint16Array("Ȁaglq \x1Bɭ\0\0p;䀦os;䀧t;䀾t;䀼uot;䀢".split("").map(e=>e.charCodeAt(0)));var d1;const Bj=new Map([[0,65533],[128,8364],[130,8218],[131,402],[132,8222],[133,8230],[134,8224],[135,8225],[136,710],[137,8240],[138,352],[139,8249],[140,338],[142,381],[145,8216],[146,8217],[147,8220],[148,8221],[149,8226],[150,8211],[151,8212],[152,732],[153,8482],[154,353],[155,8250],[156,339],[158,382],[159,376]]),Vj=(d1=String.fromCodePoint)!==null&&d1!==void 0?d1:function(e){let t="";return e>65535&&(e-=65536,t+=String.fromCharCode(e>>>10&1023|55296),e=56320|e&1023),t+=String.fromCharCode(e),t};function Uj(e){var t;return e>=55296&&e<=57343||e>1114111?65533:(t=Bj.get(e))!==null&&t!==void 0?t:e}var gn;(function(e){e[e.NUM=35]="NUM",e[e.SEMI=59]="SEMI",e[e.EQUALS=61]="EQUALS",e[e.ZERO=48]="ZERO",e[e.NINE=57]="NINE",e[e.LOWER_A=97]="LOWER_A",e[e.LOWER_F=102]="LOWER_F",e[e.LOWER_X=120]="LOWER_X",e[e.LOWER_Z=122]="LOWER_Z",e[e.UPPER_A=65]="UPPER_A",e[e.UPPER_F=70]="UPPER_F",e[e.UPPER_Z=90]="UPPER_Z"})(gn||(gn={}));const zj=32;var Ts;(function(e){e[e.VALUE_LENGTH=49152]="VALUE_LENGTH",e[e.BRANCH_LENGTH=16256]="BRANCH_LENGTH",e[e.JUMP_TABLE=127]="JUMP_TABLE"})(Ts||(Ts={}));function Zg(e){return e>=gn.ZERO&&e<=gn.NINE}function Hj(e){return e>=gn.UPPER_A&&e<=gn.UPPER_F||e>=gn.LOWER_A&&e<=gn.LOWER_F}function qj(e){return e>=gn.UPPER_A&&e<=gn.UPPER_Z||e>=gn.LOWER_A&&e<=gn.LOWER_Z||Zg(e)}function Wj(e){return e===gn.EQUALS||qj(e)}var dn;(function(e){e[e.EntityStart=0]="EntityStart",e[e.NumericStart=1]="NumericStart",e[e.NumericDecimal=2]="NumericDecimal",e[e.NumericHex=3]="NumericHex",e[e.NamedEntity=4]="NamedEntity"})(dn||(dn={}));var Ss;(function(e){e[e.Legacy=0]="Legacy",e[e.Strict=1]="Strict",e[e.Attribute=2]="Attribute"})(Ss||(Ss={}));class Gj{constructor(t,n,r){this.decodeTree=t,this.emitCodePoint=n,this.errors=r,this.state=dn.EntityStart,this.consumed=1,this.result=0,this.treeIndex=0,this.excess=1,this.decodeMode=Ss.Strict}startEntity(t){this.decodeMode=t,this.state=dn.EntityStart,this.result=0,this.treeIndex=0,this.excess=1,this.consumed=1}write(t,n){switch(this.state){case dn.EntityStart:return t.charCodeAt(n)===gn.NUM?(this.state=dn.NumericStart,this.consumed+=1,this.stateNumericStart(t,n+1)):(this.state=dn.NamedEntity,this.stateNamedEntity(t,n));case dn.NumericStart:return this.stateNumericStart(t,n);case dn.NumericDecimal:return this.stateNumericDecimal(t,n);case dn.NumericHex:return this.stateNumericHex(t,n);case dn.NamedEntity:return this.stateNamedEntity(t,n)}}stateNumericStart(t,n){return n>=t.length?-1:(t.charCodeAt(n)|zj)===gn.LOWER_X?(this.state=dn.NumericHex,this.consumed+=1,this.stateNumericHex(t,n+1)):(this.state=dn.NumericDecimal,this.stateNumericDecimal(t,n))}addToNumericResult(t,n,r,i){if(n!==r){const o=r-n;this.result=this.result*Math.pow(i,o)+parseInt(t.substr(n,o),i),this.consumed+=o}}stateNumericHex(t,n){const r=n;for(;n>14;for(;n>14,o!==0){if(a===gn.SEMI)return this.emitNamedEntityData(this.treeIndex,o,this.consumed+this.excess);this.decodeMode!==Ss.Strict&&(this.result=this.treeIndex,this.consumed+=this.excess,this.excess=0)}}return-1}emitNotTerminatedNamedEntity(){var t;const{result:n,decodeTree:r}=this,i=(r[n]&Ts.VALUE_LENGTH)>>14;return this.emitNamedEntityData(n,i,this.consumed),(t=this.errors)===null||t===void 0||t.missingSemicolonAfterCharacterReference(),this.consumed}emitNamedEntityData(t,n,r){const{decodeTree:i}=this;return this.emitCodePoint(n===1?i[t]&~Ts.VALUE_LENGTH:i[t+1],r),n===3&&this.emitCodePoint(i[t+2],r),r}end(){var t;switch(this.state){case dn.NamedEntity:return this.result!==0&&(this.decodeMode!==Ss.Attribute||this.result===this.treeIndex)?this.emitNotTerminatedNamedEntity():0;case dn.NumericDecimal:return this.emitNumericEntity(0,2);case dn.NumericHex:return this.emitNumericEntity(0,3);case dn.NumericStart:return(t=this.errors)===null||t===void 0||t.absenceOfDigitsInNumericCharacterReference(this.consumed),0;case dn.EntityStart:return 0}}}function x7(e){let t="";const n=new Gj(e,r=>t+=Vj(r));return function(i,o){let a=0,l=0;for(;(l=i.indexOf("&",l))>=0;){t+=i.slice(a,l),n.startEntity(o);const f=n.write(i,l+1);if(f<0){a=l+n.end();break}a=l+f,l=f===0?a+1:a}const c=t+i.slice(a);return t="",c}}function Qj(e,t,n,r){const i=(t&Ts.BRANCH_LENGTH)>>7,o=t&Ts.JUMP_TABLE;if(i===0)return o!==0&&r===o?n:-1;if(o){const c=r-o;return c<0||c>=i?-1:e[n+c]-1}let a=n,l=a+i-1;for(;a<=l;){const c=a+l>>>1,f=e[c];if(fr)l=c-1;else return e[c+i]}return-1}const Yj=x7($j);x7(jj);function w7(e,t=Ss.Legacy){return Yj(e,t)}function Xj(e){return Object.prototype.toString.call(e)}function Lb(e){return Xj(e)==="[object String]"}const Zj=Object.prototype.hasOwnProperty;function Jj(e,t){return Zj.call(e,t)}function Cp(e){return Array.prototype.slice.call(arguments,1).forEach(function(n){if(n){if(typeof n!="object")throw new TypeError(n+"must be object");Object.keys(n).forEach(function(r){e[r]=n[r]})}}),e}function E7(e,t,n){return[].concat(e.slice(0,t),n,e.slice(t+1))}function Pb(e){return!(e>=55296&&e<=57343||e>=64976&&e<=65007||(e&65535)===65535||(e&65535)===65534||e>=0&&e<=8||e===11||e>=14&&e<=31||e>=127&&e<=159||e>1114111)}function q0(e){if(e>65535){e-=65536;const t=55296+(e>>10),n=56320+(e&1023);return String.fromCharCode(t,n)}return String.fromCharCode(e)}const S7=/\\([!"#$%&'()*+,\-./:;<=>?@[\\\]^_`{|}~])/g,Kj=/&([a-z#][a-z0-9]{1,31});/gi,eB=new RegExp(S7.source+"|"+Kj.source,"gi"),tB=/^#((?:x[a-f0-9]{1,8}|[0-9]{1,8}))$/i;function nB(e,t){if(t.charCodeAt(0)===35&&tB.test(t)){const r=t[1].toLowerCase()==="x"?parseInt(t.slice(2),16):parseInt(t.slice(1),10);return Pb(r)?q0(r):e}const n=w7(e);return n!==e?n:e}function rB(e){return e.indexOf("\\")<0?e:e.replace(S7,"$1")}function Ql(e){return e.indexOf("\\")<0&&e.indexOf("&")<0?e:e.replace(eB,function(t,n,r){return n||nB(t,r)})}const iB=/[&<>"]/,oB=/[&<>"]/g,sB={"&":"&","<":"<",">":">",'"':"""};function aB(e){return sB[e]}function Ds(e){return iB.test(e)?e.replace(oB,aB):e}const lB=/[.?*+^$[\]\\(){}|-]/g;function uB(e){return e.replace(lB,"\\$&")}function gt(e){switch(e){case 9:case 32:return!0}return!1}function Ac(e){if(e>=8192&&e<=8202)return!0;switch(e){case 9:case 10:case 11:case 12:case 13:case 32:case 160:case 5760:case 8239:case 8287:case 12288:return!0}return!1}function Ic(e){return Rb.test(e)||v7.test(e)}function Dc(e){switch(e){case 33:case 34:case 35:case 36:case 37:case 38:case 39:case 40:case 41:case 42:case 43:case 44:case 45:case 46:case 47:case 58:case 59:case 60:case 61:case 62:case 63:case 64:case 91:case 92:case 93:case 94:case 95:case 96:case 123:case 124:case 125:case 126:return!0;default:return!1}}function Np(e){return e=e.trim().replace(/\s+/g," "),"ẞ".toLowerCase()==="Ṿ"&&(e=e.replace(/ẞ/g,"ß")),e.toLowerCase().toUpperCase()}const cB={mdurl:Fj,ucmicro:Mj},fB=Object.freeze(Object.defineProperty({__proto__:null,arrayReplaceAt:E7,assign:Cp,escapeHtml:Ds,escapeRE:uB,fromCodePoint:q0,has:Jj,isMdAsciiPunct:Dc,isPunctChar:Ic,isSpace:gt,isString:Lb,isValidEntityCode:Pb,isWhiteSpace:Ac,lib:cB,normalizeReference:Np,unescapeAll:Ql,unescapeMd:rB},Symbol.toStringTag,{value:"Module"}));function dB(e,t,n){let r,i,o,a;const l=e.posMax,c=e.pos;for(e.pos=t+1,r=1;e.pos32))return o;if(r===41){if(a===0)break;a--}i++}return t===i||a!==0||(o.str=Ql(e.slice(t,i)),o.pos=i,o.ok=!0),o}function hB(e,t,n,r){let i,o=t;const a={ok:!1,can_continue:!1,pos:0,str:"",marker:0};if(r)a.str=r.str,a.marker=r.marker;else{if(o>=n)return a;let l=e.charCodeAt(o);if(l!==34&&l!==39&&l!==40)return a;t++,o++,l===40&&(l=41),a.marker=l}for(;o"+Ds(o.content)+""};ao.code_block=function(e,t,n,r,i){const o=e[t];return""+Ds(e[t].content)+` +`};ao.fence=function(e,t,n,r,i){const o=e[t],a=o.info?Ql(o.info).trim():"";let l="",c="";if(a){const p=a.split(/(\s+)/g);l=p[0],c=p.slice(2).join("")}let f;if(n.highlight?f=n.highlight(o.content,l,c)||Ds(o.content):f=Ds(o.content),f.indexOf("${f} +`}return`
${f}
+`};ao.image=function(e,t,n,r,i){const o=e[t];return o.attrs[o.attrIndex("alt")][1]=i.renderInlineAsText(o.children,n,r),i.renderToken(e,t,n)};ao.hardbreak=function(e,t,n){return n.xhtmlOut?`
+`:`
+`};ao.softbreak=function(e,t,n){return n.breaks?n.xhtmlOut?`
+`:`
+`:` +`};ao.text=function(e,t){return Ds(e[t].content)};ao.html_block=function(e,t){return e[t].content};ao.html_inline=function(e,t){return e[t].content};function nu(){this.rules=Cp({},ao)}nu.prototype.renderAttrs=function(t){let n,r,i;if(!t.attrs)return"";for(i="",n=0,r=t.attrs.length;n +`:">",o};nu.prototype.renderInline=function(e,t,n){let r="";const i=this.rules;for(let o=0,a=e.length;o=0&&(r=this.attrs[n][1]),r};ki.prototype.attrJoin=function(t,n){const r=this.attrIndex(t);r<0?this.attrPush([t,n]):this.attrs[r][1]=this.attrs[r][1]+" "+n};function _7(e,t,n){this.src=e,this.env=n,this.tokens=[],this.inlineMode=!1,this.md=t}_7.prototype.Token=ki;const gB=/\r\n?|\n/g,bB=/\0/g;function vB(e){let t;t=e.src.replace(gB,` +`),t=t.replace(bB,"�"),e.src=t}function yB(e){let t;e.inlineMode?(t=new e.Token("inline","",0),t.content=e.src,t.map=[0,1],t.children=[],e.tokens.push(t)):e.md.block.parse(e.src,e.md,e.env,e.tokens)}function xB(e){const t=e.tokens;for(let n=0,r=t.length;n\s]/i.test(e)}function EB(e){return/^<\/a\s*>/i.test(e)}function SB(e){const t=e.tokens;if(e.md.options.linkify)for(let n=0,r=t.length;n=0;a--){const l=i[a];if(l.type==="link_close"){for(a--;i[a].level!==l.level&&i[a].type!=="link_open";)a--;continue}if(l.type==="html_inline"&&(wB(l.content)&&o>0&&o--,EB(l.content)&&o++),!(o>0)&&l.type==="text"&&e.md.linkify.test(l.content)){const c=l.content;let f=e.md.linkify.match(c);const p=[];let h=l.level,g=0;f.length>0&&f[0].index===0&&a>0&&i[a-1].type==="text_special"&&(f=f.slice(1));for(let b=0;bg){const D=new e.Token("text","",0);D.content=c.slice(g,T),D.level=h,p.push(D)}const N=new e.Token("link_open","a",1);N.attrs=[["href",w]],N.level=h++,N.markup="linkify",N.info="auto",p.push(N);const C=new e.Token("text","",0);C.content=_,C.level=h,p.push(C);const A=new e.Token("link_close","a",-1);A.level=--h,A.markup="linkify",A.info="auto",p.push(A),g=f[b].lastIndex}if(g=0;n--){const r=e[n];r.type==="text"&&!t&&(r.content=r.content.replace(TB,CB)),r.type==="link_open"&&r.info==="auto"&&t--,r.type==="link_close"&&r.info==="auto"&&t++}}function AB(e){let t=0;for(let n=e.length-1;n>=0;n--){const r=e[n];r.type==="text"&&!t&&T7.test(r.content)&&(r.content=r.content.replace(/\+-/g,"±").replace(/\.{2,}/g,"…").replace(/([?!])…/g,"$1..").replace(/([?!]){4,}/g,"$1$1$1").replace(/,{2,}/g,",").replace(/(^|[^-])---(?=[^-]|$)/mg,"$1—").replace(/(^|\s)--(?=\s|$)/mg,"$1–").replace(/(^|[^-\s])--(?=[^-\s]|$)/mg,"$1–")),r.type==="link_open"&&r.info==="auto"&&t--,r.type==="link_close"&&r.info==="auto"&&t++}}function IB(e){let t;if(e.md.options.typographer)for(t=e.tokens.length-1;t>=0;t--)e.tokens[t].type==="inline"&&(_B.test(e.tokens[t].content)&&NB(e.tokens[t].children),T7.test(e.tokens[t].content)&&AB(e.tokens[t].children))}const DB=/['"]/,vw=/['"]/g,yw="’";function Md(e,t,n){return e.slice(0,t)+n+e.slice(t+1)}function RB(e,t){let n;const r=[];for(let i=0;i=0&&!(r[n].level<=a);n--);if(r.length=n+1,o.type!=="text")continue;let l=o.content,c=0,f=l.length;e:for(;c=0)y=l.charCodeAt(p.index-1);else for(n=i-1;n>=0&&!(e[n].type==="softbreak"||e[n].type==="hardbreak");n--)if(e[n].content){y=e[n].content.charCodeAt(e[n].content.length-1);break}let w=32;if(c=48&&y<=57&&(g=h=!1),h&&g&&(h=_,g=T),!h&&!g){b&&(o.content=Md(o.content,p.index,yw));continue}if(g)for(n=r.length-1;n>=0;n--){let A=r[n];if(r[n].level=0;t--)e.tokens[t].type!=="inline"||!DB.test(e.tokens[t].content)||RB(e.tokens[t].children,e)}function PB(e){let t,n;const r=e.tokens,i=r.length;for(let o=0;o0&&this.level++,this.tokens.push(r),r};lo.prototype.isEmpty=function(t){return this.bMarks[t]+this.tShift[t]>=this.eMarks[t]};lo.prototype.skipEmptyLines=function(t){for(let n=this.lineMax;tn;)if(!gt(this.src.charCodeAt(--t)))return t+1;return t};lo.prototype.skipChars=function(t,n){for(let r=this.src.length;tr;)if(n!==this.src.charCodeAt(--t))return t+1;return t};lo.prototype.getLines=function(t,n,r,i){if(t>=n)return"";const o=new Array(n-t);for(let a=0,l=t;lr?o[a]=new Array(c-r+1).join(" ")+this.src.slice(p,h):o[a]=this.src.slice(p,h)}return o.join("")};lo.prototype.Token=ki;const FB=65536;function h1(e,t){const n=e.bMarks[t]+e.tShift[t],r=e.eMarks[t];return e.src.slice(n,r)}function xw(e){const t=[],n=e.length;let r=0,i=e.charCodeAt(r),o=!1,a=0,l="";for(;rn)return!1;let i=t+1;if(e.sCount[i]=4)return!1;let o=e.bMarks[i]+e.tShift[i];if(o>=e.eMarks[i])return!1;const a=e.src.charCodeAt(o++);if(a!==124&&a!==45&&a!==58||o>=e.eMarks[i])return!1;const l=e.src.charCodeAt(o++);if(l!==124&&l!==45&&l!==58&&!gt(l)||a===45&>(l))return!1;for(;o=4)return!1;f=xw(c),f.length&&f[0]===""&&f.shift(),f.length&&f[f.length-1]===""&&f.pop();const h=f.length;if(h===0||h!==p.length)return!1;if(r)return!0;const g=e.parentType;e.parentType="table";const b=e.md.block.ruler.getRules("blockquote"),y=e.push("table_open","table",1),w=[t,0];y.map=w;const _=e.push("thead_open","thead",1);_.map=[t,t+1];const T=e.push("tr_open","tr",1);T.map=[t,t+1];for(let A=0;A=4||(f=xw(c),f.length&&f[0]===""&&f.shift(),f.length&&f[f.length-1]===""&&f.pop(),C+=h-f.length,C>FB))break;if(i===t+2){const L=e.push("tbody_open","tbody",1);L.map=N=[t+2,0]}const D=e.push("tr_open","tr",1);D.map=[i,i+1];for(let L=0;L=4){r++,i=r;continue}break}e.line=i;const o=e.push("code_block","code",0);return o.content=e.getLines(t,i,4+e.blkIndent,!1)+` +`,o.map=[t,e.line],!0}function $B(e,t,n,r){let i=e.bMarks[t]+e.tShift[t],o=e.eMarks[t];if(e.sCount[t]-e.blkIndent>=4||i+3>o)return!1;const a=e.src.charCodeAt(i);if(a!==126&&a!==96)return!1;let l=i;i=e.skipChars(i,a);let c=i-l;if(c<3)return!1;const f=e.src.slice(l,i),p=e.src.slice(i,o);if(a===96&&p.indexOf(String.fromCharCode(a))>=0)return!1;if(r)return!0;let h=t,g=!1;for(;h++,!(h>=n||(i=l=e.bMarks[h]+e.tShift[h],o=e.eMarks[h],i=4)&&(i=e.skipChars(i,a),!(i-l=4||e.src.charCodeAt(i)!==62)return!1;if(r)return!0;const l=[],c=[],f=[],p=[],h=e.md.block.ruler.getRules("blockquote"),g=e.parentType;e.parentType="blockquote";let b=!1,y;for(y=t;y=o)break;if(e.src.charCodeAt(i++)===62&&!C){let D=e.sCount[y]+1,L,F;e.src.charCodeAt(i)===32?(i++,D++,F=!1,L=!0):e.src.charCodeAt(i)===9?(L=!0,(e.bsCount[y]+D)%4===3?(i++,D++,F=!1):F=!0):L=!1;let H=D;for(l.push(e.bMarks[y]),e.bMarks[y]=i;i=o,c.push(e.bsCount[y]),e.bsCount[y]=e.sCount[y]+1+(L?1:0),f.push(e.sCount[y]),e.sCount[y]=H-D,p.push(e.tShift[y]),e.tShift[y]=i-e.bMarks[y];continue}if(b)break;let A=!1;for(let D=0,L=h.length;D";const T=[t,0];_.map=T,e.md.block.tokenize(e,t,y);const N=e.push("blockquote_close","blockquote",-1);N.markup=">",e.lineMax=a,e.parentType=g,T[1]=e.line;for(let C=0;C=4)return!1;let o=e.bMarks[t]+e.tShift[t];const a=e.src.charCodeAt(o++);if(a!==42&&a!==45&&a!==95)return!1;let l=1;for(;o=r)return-1;let o=e.src.charCodeAt(i++);if(o<48||o>57)return-1;for(;;){if(i>=r)return-1;if(o=e.src.charCodeAt(i++),o>=48&&o<=57){if(i-n>=10)return-1;continue}if(o===41||o===46)break;return-1}return i=4||e.listIndent>=0&&e.sCount[c]-e.listIndent>=4&&e.sCount[c]=e.blkIndent&&(p=!0);let h,g,b;if((b=Ew(e,c))>=0){if(h=!0,a=e.bMarks[c]+e.tShift[c],g=Number(e.src.slice(a,b-1)),p&&g!==1)return!1}else if((b=ww(e,c))>=0)h=!1;else return!1;if(p&&e.skipSpaces(b)>=e.eMarks[c])return!1;if(r)return!0;const y=e.src.charCodeAt(b-1),w=e.tokens.length;h?(l=e.push("ordered_list_open","ol",1),g!==1&&(l.attrs=[["start",g]])):l=e.push("bullet_list_open","ul",1);const _=[c,0];l.map=_,l.markup=String.fromCharCode(y);let T=!1;const N=e.md.block.ruler.getRules("list"),C=e.parentType;for(e.parentType="list";c=i?F=1:F=D-A,F>4&&(F=1);const H=A+F;l=e.push("list_item_open","li",1),l.markup=String.fromCharCode(y);const $=[c,0];l.map=$,h&&(l.info=e.src.slice(a,b-1));const Q=e.tight,Z=e.tShift[c],ee=e.sCount[c],U=e.listIndent;if(e.listIndent=e.blkIndent,e.blkIndent=H,e.tight=!0,e.tShift[c]=L-e.bMarks[c],e.sCount[c]=D,L>=i&&e.isEmpty(c+1)?e.line=Math.min(e.line+2,n):e.md.block.tokenize(e,c,n,!0),(!e.tight||T)&&(f=!1),T=e.line-c>1&&e.isEmpty(e.line-1),e.blkIndent=e.listIndent,e.listIndent=U,e.tShift[c]=Z,e.sCount[c]=ee,e.tight=Q,l=e.push("list_item_close","li",-1),l.markup=String.fromCharCode(y),c=e.line,$[1]=c,c>=n||e.sCount[c]=4)break;let O=!1;for(let G=0,X=N.length;G=4||e.src.charCodeAt(i)!==91)return!1;function l(N){const C=e.lineMax;if(N>=C||e.isEmpty(N))return null;let A=!1;if(e.sCount[N]-e.blkIndent>3&&(A=!0),e.sCount[N]<0&&(A=!0),!A){const F=e.md.block.ruler.getRules("reference"),H=e.parentType;e.parentType="reference";let $=!1;for(let Q=0,Z=F.length;Q"u"&&(e.env.references={}),typeof e.env.references[T]>"u"&&(e.env.references[T]={title:_,href:h}),e.line=a),!0):!1}const HB=["address","article","aside","base","basefont","blockquote","body","caption","center","col","colgroup","dd","details","dialog","dir","div","dl","dt","fieldset","figcaption","figure","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hr","html","iframe","legend","li","link","main","menu","menuitem","nav","noframes","ol","optgroup","option","p","param","search","section","summary","table","tbody","td","tfoot","th","thead","title","tr","track","ul"],qB="[a-zA-Z_:][a-zA-Z0-9:._-]*",WB="[^\"'=<>`\\x00-\\x20]+",GB="'[^']*'",QB='"[^"]*"',YB="(?:"+WB+"|"+GB+"|"+QB+")",XB="(?:\\s+"+qB+"(?:\\s*=\\s*"+YB+")?)",k7="<[A-Za-z][A-Za-z0-9\\-]*"+XB+"*\\s*\\/?>",C7="<\\/[A-Za-z][A-Za-z0-9\\-]*\\s*>",ZB="",JB="<[?][\\s\\S]*?[?]>",KB="]*>",eV="",tV=new RegExp("^(?:"+k7+"|"+C7+"|"+ZB+"|"+JB+"|"+KB+"|"+eV+")"),nV=new RegExp("^(?:"+k7+"|"+C7+")"),ll=[[/^<(script|pre|style|textarea)(?=(\s|>|$))/i,/<\/(script|pre|style|textarea)>/i,!0],[/^/,!0],[/^<\?/,/\?>/,!0],[/^/,!0],[/^/,!0],[new RegExp("^|$))","i"),/^$/,!0],[new RegExp(nV.source+"\\s*$"),/^$/,!1]];function rV(e,t,n,r){let i=e.bMarks[t]+e.tShift[t],o=e.eMarks[t];if(e.sCount[t]-e.blkIndent>=4||!e.md.options.html||e.src.charCodeAt(i)!==60)return!1;let a=e.src.slice(i,o),l=0;for(;l=4)return!1;let a=e.src.charCodeAt(i);if(a!==35||i>=o)return!1;let l=1;for(a=e.src.charCodeAt(++i);a===35&&i6||ii&>(e.src.charCodeAt(c-1))&&(o=c),e.line=t+1;const f=e.push("heading_open","h"+String(l),1);f.markup="########".slice(0,l),f.map=[t,e.line];const p=e.push("inline","",0);p.content=e.src.slice(i,o).trim(),p.map=[t,e.line],p.children=[];const h=e.push("heading_close","h"+String(l),-1);return h.markup="########".slice(0,l),!0}function oV(e,t,n){const r=e.md.block.ruler.getRules("paragraph");if(e.sCount[t]-e.blkIndent>=4)return!1;const i=e.parentType;e.parentType="paragraph";let o=0,a,l=t+1;for(;l3)continue;if(e.sCount[l]>=e.blkIndent){let b=e.bMarks[l]+e.tShift[l];const y=e.eMarks[l];if(b=y))){o=a===61?1:2;break}}if(e.sCount[l]<0)continue;let g=!1;for(let b=0,y=r.length;b3||e.sCount[o]<0)continue;let f=!1;for(let p=0,h=r.length;p=n||e.sCount[a]=o){e.line=n;break}const c=e.line;let f=!1;for(let p=0;p=e.line)throw new Error("block rule didn't increment state.line");break}if(!f)throw new Error("none of the block rules matched");e.tight=!l,e.isEmpty(e.line-1)&&(l=!0),a=e.line,a0&&(this.level++,this._prev_delimiters.push(this.delimiters),this.delimiters=[],i={delimiters:this.delimiters}),this.pendingLevel=this.level,this.tokens.push(r),this.tokens_meta.push(i),r};ef.prototype.scanDelims=function(e,t){const n=this.posMax,r=this.src.charCodeAt(e),i=e>0?this.src.charCodeAt(e-1):32;let o=e;for(;o0)return!1;const n=e.pos,r=e.posMax;if(n+3>r||e.src.charCodeAt(n)!==58||e.src.charCodeAt(n+1)!==47||e.src.charCodeAt(n+2)!==47)return!1;const i=e.pending.match(uV);if(!i)return!1;const o=i[1],a=e.md.linkify.matchAtStart(e.src.slice(n-o.length));if(!a)return!1;let l=a.url;if(l.length<=o.length)return!1;l=l.replace(/\*+$/,"");const c=e.md.normalizeLink(l);if(!e.md.validateLink(c))return!1;if(!t){e.pending=e.pending.slice(0,-o.length);const f=e.push("link_open","a",1);f.attrs=[["href",c]],f.markup="linkify",f.info="auto";const p=e.push("text","",0);p.content=e.md.normalizeLinkText(l);const h=e.push("link_close","a",-1);h.markup="linkify",h.info="auto"}return e.pos+=l.length-o.length,!0}function fV(e,t){let n=e.pos;if(e.src.charCodeAt(n)!==10)return!1;const r=e.pending.length-1,i=e.posMax;if(!t)if(r>=0&&e.pending.charCodeAt(r)===32)if(r>=1&&e.pending.charCodeAt(r-1)===32){let o=r-1;for(;o>=1&&e.pending.charCodeAt(o-1)===32;)o--;e.pending=e.pending.slice(0,o),e.push("hardbreak","br",0)}else e.pending=e.pending.slice(0,-1),e.push("softbreak","br",0);else e.push("softbreak","br",0);for(n++;n?@[]^_`{|}~-".split("").forEach(function(e){Ob[e.charCodeAt(0)]=1});function dV(e,t){let n=e.pos;const r=e.posMax;if(e.src.charCodeAt(n)!==92||(n++,n>=r))return!1;let i=e.src.charCodeAt(n);if(i===10){for(t||e.push("hardbreak","br",0),n++;n=55296&&i<=56319&&n+1=56320&&l<=57343&&(o+=e.src[n+1],n++)}const a="\\"+o;if(!t){const l=e.push("text_special","",0);i<256&&Ob[i]!==0?l.content=o:l.content=a,l.markup=a,l.info="escape"}return e.pos=n+1,!0}function pV(e,t){let n=e.pos;if(e.src.charCodeAt(n)!==96)return!1;const i=n;n++;const o=e.posMax;for(;n=0;r--){const i=t[r];if(i.marker!==95&&i.marker!==42||i.end===-1)continue;const o=t[i.end],a=r>0&&t[r-1].end===i.end+1&&t[r-1].marker===i.marker&&t[r-1].token===i.token-1&&t[i.end+1].token===o.token+1,l=String.fromCharCode(i.marker),c=e.tokens[i.token];c.type=a?"strong_open":"em_open",c.tag=a?"strong":"em",c.nesting=1,c.markup=a?l+l:l,c.content="";const f=e.tokens[o.token];f.type=a?"strong_close":"em_close",f.tag=a?"strong":"em",f.nesting=-1,f.markup=a?l+l:l,f.content="",a&&(e.tokens[t[r-1].token].content="",e.tokens[t[i.end+1].token].content="",r--)}}function bV(e){const t=e.tokens_meta,n=e.tokens_meta.length;_w(e,e.delimiters);for(let r=0;r=h)return!1;if(c=y,i=e.md.helpers.parseLinkDestination(e.src,y,e.posMax),i.ok){for(a=e.md.normalizeLink(i.str),e.md.validateLink(a)?y=i.pos:a="",c=y;y=h||e.src.charCodeAt(y)!==41)&&(f=!0),y++}if(f){if(typeof e.env.references>"u")return!1;if(y=0?r=e.src.slice(c,y++):y=b+1):y=b+1,r||(r=e.src.slice(g,b)),o=e.env.references[Np(r)],!o)return e.pos=p,!1;a=o.href,l=o.title}if(!t){e.pos=g,e.posMax=b;const w=e.push("link_open","a",1),_=[["href",a]];w.attrs=_,l&&_.push(["title",l]),e.linkLevel++,e.md.inline.tokenize(e),e.linkLevel--,e.push("link_close","a",-1)}return e.pos=y,e.posMax=h,!0}function yV(e,t){let n,r,i,o,a,l,c,f,p="";const h=e.pos,g=e.posMax;if(e.src.charCodeAt(e.pos)!==33||e.src.charCodeAt(e.pos+1)!==91)return!1;const b=e.pos+2,y=e.md.helpers.parseLinkLabel(e,e.pos+1,!1);if(y<0)return!1;if(o=y+1,o=g)return!1;for(f=o,l=e.md.helpers.parseLinkDestination(e.src,o,e.posMax),l.ok&&(p=e.md.normalizeLink(l.str),e.md.validateLink(p)?o=l.pos:p=""),f=o;o=g||e.src.charCodeAt(o)!==41)return e.pos=h,!1;o++}else{if(typeof e.env.references>"u")return!1;if(o=0?i=e.src.slice(f,o++):o=y+1):o=y+1,i||(i=e.src.slice(b,y)),a=e.env.references[Np(i)],!a)return e.pos=h,!1;p=a.href,c=a.title}if(!t){r=e.src.slice(b,y);const w=[];e.md.inline.parse(r,e.md,e.env,w);const _=e.push("image","img",0),T=[["src",p],["alt",""]];_.attrs=T,_.children=w,_.content=r,c&&T.push(["title",c])}return e.pos=o,e.posMax=g,!0}const xV=/^([a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*)$/,wV=/^([a-zA-Z][a-zA-Z0-9+.-]{1,31}):([^<>\x00-\x20]*)$/;function EV(e,t){let n=e.pos;if(e.src.charCodeAt(n)!==60)return!1;const r=e.pos,i=e.posMax;for(;;){if(++n>=i)return!1;const a=e.src.charCodeAt(n);if(a===60)return!1;if(a===62)break}const o=e.src.slice(r+1,n);if(wV.test(o)){const a=e.md.normalizeLink(o);if(!e.md.validateLink(a))return!1;if(!t){const l=e.push("link_open","a",1);l.attrs=[["href",a]],l.markup="autolink",l.info="auto";const c=e.push("text","",0);c.content=e.md.normalizeLinkText(o);const f=e.push("link_close","a",-1);f.markup="autolink",f.info="auto"}return e.pos+=o.length+2,!0}if(xV.test(o)){const a=e.md.normalizeLink("mailto:"+o);if(!e.md.validateLink(a))return!1;if(!t){const l=e.push("link_open","a",1);l.attrs=[["href",a]],l.markup="autolink",l.info="auto";const c=e.push("text","",0);c.content=e.md.normalizeLinkText(o);const f=e.push("link_close","a",-1);f.markup="autolink",f.info="auto"}return e.pos+=o.length+2,!0}return!1}function SV(e){return/^\s]/i.test(e)}function _V(e){return/^<\/a\s*>/i.test(e)}function TV(e){const t=e|32;return t>=97&&t<=122}function kV(e,t){if(!e.md.options.html)return!1;const n=e.posMax,r=e.pos;if(e.src.charCodeAt(r)!==60||r+2>=n)return!1;const i=e.src.charCodeAt(r+1);if(i!==33&&i!==63&&i!==47&&!TV(i))return!1;const o=e.src.slice(r).match(tV);if(!o)return!1;if(!t){const a=e.push("html_inline","",0);a.content=o[0],SV(a.content)&&e.linkLevel++,_V(a.content)&&e.linkLevel--}return e.pos+=o[0].length,!0}const CV=/^&#((?:x[a-f0-9]{1,6}|[0-9]{1,7}));/i,NV=/^&([a-z][a-z0-9]{1,31});/i;function AV(e,t){const n=e.pos,r=e.posMax;if(e.src.charCodeAt(n)!==38||n+1>=r)return!1;if(e.src.charCodeAt(n+1)===35){const o=e.src.slice(n).match(CV);if(o){if(!t){const a=o[1][0].toLowerCase()==="x"?parseInt(o[1].slice(1),16):parseInt(o[1],10),l=e.push("text_special","",0);l.content=Pb(a)?q0(a):q0(65533),l.markup=o[0],l.info="entity"}return e.pos+=o[0].length,!0}}else{const o=e.src.slice(n).match(NV);if(o){const a=w7(o[0]);if(a!==o[0]){if(!t){const l=e.push("text_special","",0);l.content=a,l.markup=o[0],l.info="entity"}return e.pos+=o[0].length,!0}}}return!1}function Tw(e){const t={},n=e.length;if(!n)return;let r=0,i=-2;const o=[];for(let a=0;ac;f-=o[f]+1){const h=e[f];if(h.marker===l.marker&&h.open&&h.end<0){let g=!1;if((h.close||l.open)&&(h.length+l.length)%3===0&&(h.length%3!==0||l.length%3!==0)&&(g=!0),!g){const b=f>0&&!e[f-1].open?o[f-1]+1:0;o[a]=a-f+b,o[f]=b,l.open=!1,h.end=a,h.close=!1,p=-1,i=-2;break}}}p!==-1&&(t[l.marker][(l.open?3:0)+(l.length||0)%3]=p)}}function IV(e){const t=e.tokens_meta,n=e.tokens_meta.length;Tw(e.delimiters);for(let r=0;r0&&r++,i[t].type==="text"&&t+1=e.pos)throw new Error("inline rule didn't increment state.pos");break}}else e.pos=e.posMax;a||e.pos++,o[t]=e.pos};tf.prototype.tokenize=function(e){const t=this.ruler.getRules(""),n=t.length,r=e.posMax,i=e.md.options.maxNesting;for(;e.pos=e.pos)throw new Error("inline rule didn't increment state.pos");break}}if(a){if(e.pos>=r)break;continue}e.pending+=e.src[e.pos++]}e.pending&&e.pushPending()};tf.prototype.parse=function(e,t,n,r){const i=new this.State(e,t,n,r);this.tokenize(i);const o=this.ruler2.getRules(""),a=o.length;for(let l=0;l|$))",t.tpl_email_fuzzy="(^|"+n+'|"|\\(|'+t.src_ZCc+")("+t.src_email_name+"@"+t.tpl_host_fuzzy_strict+")",t.tpl_link_fuzzy="(^|(?![.:/\\-_@])(?:[$+<=>^`||]|"+t.src_ZPCc+"))((?![$+<=>^`||])"+t.tpl_host_port_fuzzy_strict+t.src_path+")",t.tpl_link_no_ip_fuzzy="(^|(?![.:/\\-_@])(?:[$+<=>^`||]|"+t.src_ZPCc+"))((?![$+<=>^`||])"+t.tpl_host_port_no_ip_fuzzy_strict+t.src_path+")",t}function Jg(e){return Array.prototype.slice.call(arguments,1).forEach(function(n){n&&Object.keys(n).forEach(function(r){e[r]=n[r]})}),e}function Ip(e){return Object.prototype.toString.call(e)}function LV(e){return Ip(e)==="[object String]"}function PV(e){return Ip(e)==="[object Object]"}function FV(e){return Ip(e)==="[object RegExp]"}function kw(e){return Ip(e)==="[object Function]"}function OV(e){return e.replace(/[.?*+^$[\]\\(){}|-]/g,"\\$&")}const I7={fuzzyLink:!0,fuzzyEmail:!0,fuzzyIP:!1};function MV(e){return Object.keys(e||{}).reduce(function(t,n){return t||I7.hasOwnProperty(n)},!1)}const $V={"http:":{validate:function(e,t,n){const r=e.slice(t);return n.re.http||(n.re.http=new RegExp("^\\/\\/"+n.re.src_auth+n.re.src_host_port_strict+n.re.src_path,"i")),n.re.http.test(r)?r.match(n.re.http)[0].length:0}},"https:":"http:","ftp:":"http:","//":{validate:function(e,t,n){const r=e.slice(t);return n.re.no_http||(n.re.no_http=new RegExp("^"+n.re.src_auth+"(?:localhost|(?:(?:"+n.re.src_domain+")\\.)+"+n.re.src_domain_root+")"+n.re.src_port+n.re.src_host_terminator+n.re.src_path,"i")),n.re.no_http.test(r)?t>=3&&e[t-3]===":"||t>=3&&e[t-3]==="/"?0:r.match(n.re.no_http)[0].length:0}},"mailto:":{validate:function(e,t,n){const r=e.slice(t);return n.re.mailto||(n.re.mailto=new RegExp("^"+n.re.src_email_name+"@"+n.re.src_host_strict,"i")),n.re.mailto.test(r)?r.match(n.re.mailto)[0].length:0}}},jV="a[cdefgilmnoqrstuwxz]|b[abdefghijmnorstvwyz]|c[acdfghiklmnoruvwxyz]|d[ejkmoz]|e[cegrstu]|f[ijkmor]|g[abdefghilmnpqrstuwy]|h[kmnrtu]|i[delmnoqrst]|j[emop]|k[eghimnprwyz]|l[abcikrstuvy]|m[acdeghklmnopqrstuvwxyz]|n[acefgilopruz]|om|p[aefghklmnrstwy]|qa|r[eosuw]|s[abcdeghijklmnortuvxyz]|t[cdfghjklmnortvwz]|u[agksyz]|v[aceginu]|w[fs]|y[et]|z[amw]",BV="biz|com|edu|gov|net|org|pro|web|xxx|aero|asia|coop|info|museum|name|shop|рф".split("|");function VV(e){e.__index__=-1,e.__text_cache__=""}function UV(e){return function(t,n){const r=t.slice(n);return e.test(r)?r.match(e)[0].length:0}}function Cw(){return function(e,t){t.normalize(e)}}function W0(e){const t=e.re=RV(e.__opts__),n=e.__tlds__.slice();e.onCompile(),e.__tlds_replaced__||n.push(jV),n.push(t.src_xn),t.src_tlds=n.join("|");function r(l){return l.replace("%TLDS%",t.src_tlds)}t.email_fuzzy=RegExp(r(t.tpl_email_fuzzy),"i"),t.link_fuzzy=RegExp(r(t.tpl_link_fuzzy),"i"),t.link_no_ip_fuzzy=RegExp(r(t.tpl_link_no_ip_fuzzy),"i"),t.host_fuzzy_test=RegExp(r(t.tpl_host_fuzzy_test),"i");const i=[];e.__compiled__={};function o(l,c){throw new Error('(LinkifyIt) Invalid schema "'+l+'": '+c)}Object.keys(e.__schemas__).forEach(function(l){const c=e.__schemas__[l];if(c===null)return;const f={validate:null,link:null};if(e.__compiled__[l]=f,PV(c)){FV(c.validate)?f.validate=UV(c.validate):kw(c.validate)?f.validate=c.validate:o(l,c),kw(c.normalize)?f.normalize=c.normalize:c.normalize?o(l,c):f.normalize=Cw();return}if(LV(c)){i.push(l);return}o(l,c)}),i.forEach(function(l){e.__compiled__[e.__schemas__[l]]&&(e.__compiled__[l].validate=e.__compiled__[e.__schemas__[l]].validate,e.__compiled__[l].normalize=e.__compiled__[e.__schemas__[l]].normalize)}),e.__compiled__[""]={validate:null,normalize:Cw()};const a=Object.keys(e.__compiled__).filter(function(l){return l.length>0&&e.__compiled__[l]}).map(OV).join("|");e.re.schema_test=RegExp("(^|(?!_)(?:[><|]|"+t.src_ZPCc+"))("+a+")","i"),e.re.schema_search=RegExp("(^|(?!_)(?:[><|]|"+t.src_ZPCc+"))("+a+")","ig"),e.re.schema_at_start=RegExp("^"+e.re.schema_search.source,"i"),e.re.pretest=RegExp("("+e.re.schema_test.source+")|("+e.re.host_fuzzy_test.source+")|@","i"),VV(e)}function zV(e,t){const n=e.__index__,r=e.__last_index__,i=e.__text_cache__.slice(n,r);this.schema=e.__schema__.toLowerCase(),this.index=n+t,this.lastIndex=r+t,this.raw=i,this.text=i,this.url=i}function Kg(e,t){const n=new zV(e,t);return e.__compiled__[n.schema].normalize(n,e),n}function Nr(e,t){if(!(this instanceof Nr))return new Nr(e,t);t||MV(e)&&(t=e,e={}),this.__opts__=Jg({},I7,t),this.__index__=-1,this.__last_index__=-1,this.__schema__="",this.__text_cache__="",this.__schemas__=Jg({},$V,e),this.__compiled__={},this.__tlds__=BV,this.__tlds_replaced__=!1,this.re={},W0(this)}Nr.prototype.add=function(t,n){return this.__schemas__[t]=n,W0(this),this};Nr.prototype.set=function(t){return this.__opts__=Jg(this.__opts__,t),this};Nr.prototype.test=function(t){if(this.__text_cache__=t,this.__index__=-1,!t.length)return!1;let n,r,i,o,a,l,c,f,p;if(this.re.schema_test.test(t)){for(c=this.re.schema_search,c.lastIndex=0;(n=c.exec(t))!==null;)if(o=this.testSchemaAt(t,n[2],c.lastIndex),o){this.__schema__=n[2],this.__index__=n.index+n[1].length,this.__last_index__=n.index+n[0].length+o;break}}return this.__opts__.fuzzyLink&&this.__compiled__["http:"]&&(f=t.search(this.re.host_fuzzy_test),f>=0&&(this.__index__<0||f=0&&(i=t.match(this.re.email_fuzzy))!==null&&(a=i.index+i[1].length,l=i.index+i[0].length,(this.__index__<0||athis.__last_index__)&&(this.__schema__="mailto:",this.__index__=a,this.__last_index__=l))),this.__index__>=0};Nr.prototype.pretest=function(t){return this.re.pretest.test(t)};Nr.prototype.testSchemaAt=function(t,n,r){return this.__compiled__[n.toLowerCase()]?this.__compiled__[n.toLowerCase()].validate(t,r,this):0};Nr.prototype.match=function(t){const n=[];let r=0;this.__index__>=0&&this.__text_cache__===t&&(n.push(Kg(this,r)),r=this.__last_index__);let i=r?t.slice(r):t;for(;this.test(i);)n.push(Kg(this,r)),i=i.slice(this.__last_index__),r+=this.__last_index__;return n.length?n:null};Nr.prototype.matchAtStart=function(t){if(this.__text_cache__=t,this.__index__=-1,!t.length)return null;const n=this.re.schema_at_start.exec(t);if(!n)return null;const r=this.testSchemaAt(t,n[2],n[0].length);return r?(this.__schema__=n[2],this.__index__=n.index+n[1].length,this.__last_index__=n.index+n[0].length+r,Kg(this,0)):null};Nr.prototype.tlds=function(t,n){return t=Array.isArray(t)?t:[t],n?(this.__tlds__=this.__tlds__.concat(t).sort().filter(function(r,i,o){return r!==o[i-1]}).reverse(),W0(this),this):(this.__tlds__=t.slice(),this.__tlds_replaced__=!0,W0(this),this)};Nr.prototype.normalize=function(t){t.schema||(t.url="http://"+t.url),t.schema==="mailto:"&&!/^mailto:/i.test(t.url)&&(t.url="mailto:"+t.url)};Nr.prototype.onCompile=function(){};const Ll=2147483647,Wi=36,Mb=1,Rc=26,HV=38,qV=700,D7=72,R7=128,L7="-",WV=/^xn--/,GV=/[^\0-\x7F]/,QV=/[\x2E\u3002\uFF0E\uFF61]/g,YV={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},b1=Wi-Mb,Gi=Math.floor,v1=String.fromCharCode;function ws(e){throw new RangeError(YV[e])}function XV(e,t){const n=[];let r=e.length;for(;r--;)n[r]=t(e[r]);return n}function P7(e,t){const n=e.split("@");let r="";n.length>1&&(r=n[0]+"@",e=n[1]),e=e.replace(QV,".");const i=e.split("."),o=XV(i,t).join(".");return r+o}function F7(e){const t=[];let n=0;const r=e.length;for(;n=55296&&i<=56319&&nString.fromCodePoint(...e),JV=function(e){return e>=48&&e<58?26+(e-48):e>=65&&e<91?e-65:e>=97&&e<123?e-97:Wi},Nw=function(e,t){return e+22+75*(e<26)-((t!=0)<<5)},O7=function(e,t,n){let r=0;for(e=n?Gi(e/qV):e>>1,e+=Gi(e/t);e>b1*Rc>>1;r+=Wi)e=Gi(e/b1);return Gi(r+(b1+1)*e/(e+HV))},M7=function(e){const t=[],n=e.length;let r=0,i=R7,o=D7,a=e.lastIndexOf(L7);a<0&&(a=0);for(let l=0;l=128&&ws("not-basic"),t.push(e.charCodeAt(l));for(let l=a>0?a+1:0;l=n&&ws("invalid-input");const g=JV(e.charCodeAt(l++));g>=Wi&&ws("invalid-input"),g>Gi((Ll-r)/p)&&ws("overflow"),r+=g*p;const b=h<=o?Mb:h>=o+Rc?Rc:h-o;if(gGi(Ll/y)&&ws("overflow"),p*=y}const f=t.length+1;o=O7(r-c,f,c==0),Gi(r/f)>Ll-i&&ws("overflow"),i+=Gi(r/f),r%=f,t.splice(r++,0,i)}return String.fromCodePoint(...t)},$7=function(e){const t=[];e=F7(e);const n=e.length;let r=R7,i=0,o=D7;for(const c of e)c<128&&t.push(v1(c));const a=t.length;let l=a;for(a&&t.push(L7);l=r&&pGi((Ll-i)/f)&&ws("overflow"),i+=(c-r)*f,r=c;for(const p of e)if(pLl&&ws("overflow"),p===r){let h=i;for(let g=Wi;;g+=Wi){const b=g<=o?Mb:g>=o+Rc?Rc:g-o;if(h=0))try{t.hostname=j7.toASCII(t.hostname)}catch{}return Kc(Ib(t))}function uU(e){const t=Db(e,!0);if(t.hostname&&(!t.protocol||B7.indexOf(t.protocol)>=0))try{t.hostname=j7.toUnicode(t.hostname)}catch{}return Gl(Ib(t),Gl.defaultChars+"%")}function Qr(e,t){if(!(this instanceof Qr))return new Qr(e,t);t||Lb(e)||(t=e||{},e="default"),this.inline=new tf,this.block=new Ap,this.core=new Fb,this.renderer=new nu,this.linkify=new Nr,this.validateLink=aU,this.normalizeLink=lU,this.normalizeLinkText=uU,this.utils=fB,this.helpers=Cp({},mB),this.options={},this.configure(e),t&&this.set(t)}Qr.prototype.set=function(e){return Cp(this.options,e),this};Qr.prototype.configure=function(e){const t=this;if(Lb(e)){const n=e;if(e=iU[n],!e)throw new Error('Wrong `markdown-it` preset "'+n+'", check name')}if(!e)throw new Error("Wrong `markdown-it` preset, can't be empty");return e.options&&t.set(e.options),e.components&&Object.keys(e.components).forEach(function(n){e.components[n].rules&&t[n].ruler.enableOnly(e.components[n].rules),e.components[n].rules2&&t[n].ruler2.enableOnly(e.components[n].rules2)}),this};Qr.prototype.enable=function(e,t){let n=[];Array.isArray(e)||(e=[e]),["core","block","inline"].forEach(function(i){n=n.concat(this[i].ruler.enable(e,!0))},this),n=n.concat(this.inline.ruler2.enable(e,!0));const r=e.filter(function(i){return n.indexOf(i)<0});if(r.length&&!t)throw new Error("MarkdownIt. Failed to enable unknown rule(s): "+r);return this};Qr.prototype.disable=function(e,t){let n=[];Array.isArray(e)||(e=[e]),["core","block","inline"].forEach(function(i){n=n.concat(this[i].ruler.disable(e,!0))},this),n=n.concat(this.inline.ruler2.disable(e,!0));const r=e.filter(function(i){return n.indexOf(i)<0});if(r.length&&!t)throw new Error("MarkdownIt. Failed to disable unknown rule(s): "+r);return this};Qr.prototype.use=function(e){const t=[this].concat(Array.prototype.slice.call(arguments,1));return e.apply(e,t),this};Qr.prototype.parse=function(e,t){if(typeof e!="string")throw new Error("Input data should be a String");const n=new this.core.State(e,this,t);return this.core.process(n),n.tokens};Qr.prototype.render=function(e,t){return t=t||{},this.renderer.render(this.parse(e,t),this.options,t)};Qr.prototype.parseInline=function(e,t){const n=new this.core.State(e,this,t);return n.inlineMode=!0,this.core.process(n),n.tokens};Qr.prototype.renderInline=function(e,t){return t=t||{},this.renderer.render(this.parseInline(e,t),this.options,t)};const cU=new Qr({breaks:!1,linkify:!0});function y1(e){const t=Ne.c(26),{defaultSizeRelation:n,direction:r,initiallyHidden:i,onHiddenElementChange:o,sizeThresholdFirst:a,sizeThresholdSecond:l,storageKey:c}=e,f=n===void 0?1:n,p=a===void 0?100:a,h=l===void 0?100:l,g=vn(fU);let b;t[0]!==i||t[1]!==g||t[2]!==c?(b=()=>{const Z=c&&g.get(c);return Z===jd||i==="first"?"first":Z===Bd||i==="second"?"second":null},t[0]=i,t[1]=g,t[2]=c,t[3]=b):b=t[3];const[y,w]=v.useState(b),_=v.useRef(null),T=v.useRef(null),N=v.useRef(null),C=v.useRef(`${f}`);let A;t[4]!==g||t[5]!==c?(A=()=>{const Z=c&&g.get(c)||C.current;_.current&&(_.current.style.flex=Z===jd||Z===Bd?C.current:Z),N.current&&(N.current.style.flex="1")},t[4]=g,t[5]=c,t[6]=A):A=t[6];let D;t[7]!==r||t[8]!==g||t[9]!==c?(D=[r,g,c],t[7]=r,t[8]=g,t[9]=c,t[10]=D):D=t[10],v.useEffect(A,D);let L,F;t[11]!==y||t[12]!==g||t[13]!==c?(L=()=>{const Z=function(O){if(O.style.left="-1000px",O.style.position="absolute",O.style.opacity="0",!_.current)return;const G=parseFloat(_.current.style.flex);(!Number.isFinite(G)||G<1)&&(_.current.style.flex="1")},ee=function(O){if(O.style.left="",O.style.position="",O.style.opacity="",!c)return;const G=g.get(c);_.current&&G!==jd&&G!==Bd&&(_.current.style.flex=G||C.current)};for(const U of["first","second"]){const O=(U==="first"?_:N).current;O&&(U===y?Z(O):ee(O))}},F=[y,g,c],t[11]=y,t[12]=g,t[13]=c,t[14]=L,t[15]=F):(L=t[14],F=t[15]),v.useEffect(L,F);let H,$;t[16]!==r||t[17]!==o||t[18]!==p||t[19]!==h||t[20]!==g||t[21]!==c?($=()=>{if(!T.current||!_.current||!N.current)return;const Z=zl(500,re=>{c&&g.set(c,re)}),ee=function(Y){w(se=>Y===se?se:(o==null||o(Y),Y))},U=T.current,O=_.current,G=O.parentElement,X=r==="horizontal",K=X?"clientX":"clientY",P=X?"left":"top",B=X?"right":"bottom",q=X?"clientWidth":"clientHeight",j=function(Y){if(!(Y.target===Y.currentTarget))return;Y.preventDefault();const ue=Y[K]-U.getBoundingClientRect()[P],le=function(ve){if(ve.buttons===0)return te();const _e=G.getBoundingClientRect(),Re=ve[K]-_e[P]-ue,we=_e[B]-ve[K]+ue-U[q];if(Re{U.removeEventListener("mousedown",j),U.removeEventListener("dblclick",R)}},H=[r,o,p,h,g,c],t[16]=r,t[17]=o,t[18]=p,t[19]=h,t[20]=g,t[21]=c,t[22]=H,t[23]=$):(H=t[22],$=t[23]),v.useEffect($,H);let Q;return t[24]!==y?(Q={dragBarRef:T,hiddenElement:y,firstRef:_,setHiddenElement:w,secondRef:N},t[24]=y,t[25]=Q):Q=t[25],Q}function fU(e){return e.storage}const jd="hide-first",Bd="hide-second";function V7(e){var t,n,r="";if(typeof e=="string"||typeof e=="number")r+=e;else if(typeof e=="object")if(Array.isArray(e))for(t=0;t{let n=!1;const r=e.map(i=>{const o=Aw(i,t);return!n&&typeof o=="function"&&(n=!0),o});if(n)return()=>{for(let i=0;i{const{children:a,...l}=o,c=v.useMemo(()=>l,Object.values(l));return k.jsx(n.Provider,{value:c,children:a})};r.displayName=e+"Provider";function i(o){const a=v.useContext(n);if(a)return a;if(t!==void 0)return t;throw new Error(`\`${o}\` must be used within \`${e}\``)}return[r,i]}function Ia(e,t=[]){let n=[];function r(o,a){const l=v.createContext(a),c=n.length;n=[...n,a];const f=h=>{var T;const{scope:g,children:b,...y}=h,w=((T=g==null?void 0:g[e])==null?void 0:T[c])||l,_=v.useMemo(()=>y,Object.values(y));return k.jsx(w.Provider,{value:_,children:b})};f.displayName=o+"Provider";function p(h,g){var w;const b=((w=g==null?void 0:g[e])==null?void 0:w[c])||l,y=v.useContext(b);if(y)return y;if(a!==void 0)return a;throw new Error(`\`${h}\` must be used within \`${o}\``)}return[f,p]}const i=()=>{const o=n.map(a=>v.createContext(a));return function(l){const c=(l==null?void 0:l[e])||o;return v.useMemo(()=>({[`__scope${e}`]:{...l,[e]:c}}),[l,c])}};return i.scopeName=e,[r,pU(i,...t)]}function pU(...e){const t=e[0];if(e.length===1)return t;const n=()=>{const r=e.map(i=>({useScope:i(),scopeName:i.scopeName}));return function(o){const a=r.reduce((l,{useScope:c,scopeName:f})=>{const h=c(o)[`__scope${f}`];return{...l,...h}},{});return v.useMemo(()=>({[`__scope${t.scopeName}`]:a}),[a])}};return n.scopeName=t.scopeName,n}var Rs=globalThis!=null&&globalThis.document?v.useLayoutEffect:()=>{},hU=W2[" useInsertionEffect ".trim().toString()]||Rs;function Rp({prop:e,defaultProp:t,onChange:n=()=>{},caller:r}){const[i,o,a]=mU({defaultProp:t,onChange:n}),l=e!==void 0,c=l?e:i;{const p=v.useRef(e!==void 0);v.useEffect(()=>{const h=p.current;h!==l&&console.warn(`${r} is changing from ${h?"controlled":"uncontrolled"} to ${l?"controlled":"uncontrolled"}. Components should not switch from controlled to uncontrolled (or vice versa). Decide between using a controlled or uncontrolled value for the lifetime of the component.`),p.current=l},[l,r])}const f=v.useCallback(p=>{var h;if(l){const g=gU(p)?p(e):p;g!==e&&((h=a.current)==null||h.call(a,g))}else o(p)},[l,e,o,a]);return[c,f]}function mU({defaultProp:e,onChange:t}){const[n,r]=v.useState(e),i=v.useRef(n),o=v.useRef(t);return hU(()=>{o.current=t},[t]),v.useEffect(()=>{var a;i.current!==n&&((a=o.current)==null||a.call(o,n),i.current=n)},[n,i]),[n,r,o]}function gU(e){return typeof e=="function"}function Lc(e){const t=bU(e),n=v.forwardRef((r,i)=>{const{children:o,...a}=r,l=v.Children.toArray(o),c=l.find(yU);if(c){const f=c.props.children,p=l.map(h=>h===c?v.Children.count(f)>1?v.Children.only(null):v.isValidElement(f)?f.props.children:null:h);return k.jsx(t,{...a,ref:i,children:v.isValidElement(f)?v.cloneElement(f,void 0,p):null})}return k.jsx(t,{...a,ref:i,children:o})});return n.displayName=`${e}.Slot`,n}function bU(e){const t=v.forwardRef((n,r)=>{const{children:i,...o}=n;if(v.isValidElement(i)){const a=wU(i),l=xU(o,i.props);return i.type!==v.Fragment&&(l.ref=r?Dp(r,a):a),v.cloneElement(i,l)}return v.Children.count(i)>1?v.Children.only(null):null});return t.displayName=`${e}.SlotClone`,t}var U7=Symbol("radix.slottable");function vU(e){const t=({children:n})=>k.jsx(k.Fragment,{children:n});return t.displayName=`${e}.Slottable`,t.__radixId=U7,t}function yU(e){return v.isValidElement(e)&&typeof e.type=="function"&&"__radixId"in e.type&&e.type.__radixId===U7}function xU(e,t){const n={...t};for(const r in t){const i=e[r],o=t[r];/^on[A-Z]/.test(r)?i&&o?n[r]=(...l)=>{const c=o(...l);return i(...l),c}:i&&(n[r]=i):r==="style"?n[r]={...i,...o}:r==="className"&&(n[r]=[i,o].filter(Boolean).join(" "))}return{...e,...n}}function wU(e){var r,i;let t=(r=Object.getOwnPropertyDescriptor(e.props,"ref"))==null?void 0:r.get,n=t&&"isReactWarning"in t&&t.isReactWarning;return n?e.ref:(t=(i=Object.getOwnPropertyDescriptor(e,"ref"))==null?void 0:i.get,n=t&&"isReactWarning"in t&&t.isReactWarning,n?e.props.ref:e.props.ref||e.ref)}var EU=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],Ot=EU.reduce((e,t)=>{const n=Lc(`Primitive.${t}`),r=v.forwardRef((i,o)=>{const{asChild:a,...l}=i,c=a?n:t;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),k.jsx(c,{...l,ref:o})});return r.displayName=`Primitive.${t}`,{...e,[t]:r}},{});function z7(e,t){e&&jn.flushSync(()=>e.dispatchEvent(t))}function H7(e){const t=e+"CollectionProvider",[n,r]=Ia(t),[i,o]=n(t,{collectionRef:{current:null},itemMap:new Map}),a=w=>{const{scope:_,children:T}=w,N=z.useRef(null),C=z.useRef(new Map).current;return k.jsx(i,{scope:_,itemMap:C,collectionRef:N,children:T})};a.displayName=t;const l=e+"CollectionSlot",c=Lc(l),f=z.forwardRef((w,_)=>{const{scope:T,children:N}=w,C=o(l,T),A=on(_,C.collectionRef);return k.jsx(c,{ref:A,children:N})});f.displayName=l;const p=e+"CollectionItemSlot",h="data-radix-collection-item",g=Lc(p),b=z.forwardRef((w,_)=>{const{scope:T,children:N,...C}=w,A=z.useRef(null),D=on(_,A),L=o(p,T);return z.useEffect(()=>(L.itemMap.set(A,{ref:A,...C}),()=>void L.itemMap.delete(A))),k.jsx(g,{[h]:"",ref:D,children:N})});b.displayName=p;function y(w){const _=o(e+"CollectionConsumer",w);return z.useCallback(()=>{const N=_.collectionRef.current;if(!N)return[];const C=Array.from(N.querySelectorAll(`[${h}]`));return Array.from(_.itemMap.values()).sort((L,F)=>C.indexOf(L.ref.current)-C.indexOf(F.ref.current))},[_.collectionRef,_.itemMap])}return[{Provider:a,Slot:f,ItemSlot:b},y,r]}var SU=v.createContext(void 0);function q7(e){const t=v.useContext(SU);return e||t||"ltr"}function Fo(e){const t=v.useRef(e);return v.useEffect(()=>{t.current=e}),v.useMemo(()=>(...n)=>{var r;return(r=t.current)==null?void 0:r.call(t,...n)},[])}function _U(e,t=globalThis==null?void 0:globalThis.document){const n=Fo(e);v.useEffect(()=>{const r=i=>{i.key==="Escape"&&n(i)};return t.addEventListener("keydown",r,{capture:!0}),()=>t.removeEventListener("keydown",r,{capture:!0})},[n,t])}var TU="DismissableLayer",e2="dismissableLayer.update",kU="dismissableLayer.pointerDownOutside",CU="dismissableLayer.focusOutside",Iw,W7=v.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),Lp=v.forwardRef((e,t)=>{const{disableOutsidePointerEvents:n=!1,onEscapeKeyDown:r,onPointerDownOutside:i,onFocusOutside:o,onInteractOutside:a,onDismiss:l,...c}=e,f=v.useContext(W7),[p,h]=v.useState(null),g=(p==null?void 0:p.ownerDocument)??(globalThis==null?void 0:globalThis.document),[,b]=v.useState({}),y=on(t,F=>h(F)),w=Array.from(f.layers),[_]=[...f.layersWithOutsidePointerEventsDisabled].slice(-1),T=w.indexOf(_),N=p?w.indexOf(p):-1,C=f.layersWithOutsidePointerEventsDisabled.size>0,A=N>=T,D=IU(F=>{const H=F.target,$=[...f.branches].some(Q=>Q.contains(H));!A||$||(i==null||i(F),a==null||a(F),F.defaultPrevented||l==null||l())},g),L=DU(F=>{const H=F.target;[...f.branches].some(Q=>Q.contains(H))||(o==null||o(F),a==null||a(F),F.defaultPrevented||l==null||l())},g);return _U(F=>{N===f.layers.size-1&&(r==null||r(F),!F.defaultPrevented&&l&&(F.preventDefault(),l()))},g),v.useEffect(()=>{if(p)return n&&(f.layersWithOutsidePointerEventsDisabled.size===0&&(Iw=g.body.style.pointerEvents,g.body.style.pointerEvents="none"),f.layersWithOutsidePointerEventsDisabled.add(p)),f.layers.add(p),Dw(),()=>{n&&f.layersWithOutsidePointerEventsDisabled.size===1&&(g.body.style.pointerEvents=Iw)}},[p,g,n,f]),v.useEffect(()=>()=>{p&&(f.layers.delete(p),f.layersWithOutsidePointerEventsDisabled.delete(p),Dw())},[p,f]),v.useEffect(()=>{const F=()=>b({});return document.addEventListener(e2,F),()=>document.removeEventListener(e2,F)},[]),k.jsx(Ot.div,{...c,ref:y,style:{pointerEvents:C?A?"auto":"none":void 0,...e.style},onFocusCapture:$e(e.onFocusCapture,L.onFocusCapture),onBlurCapture:$e(e.onBlurCapture,L.onBlurCapture),onPointerDownCapture:$e(e.onPointerDownCapture,D.onPointerDownCapture)})});Lp.displayName=TU;var NU="DismissableLayerBranch",AU=v.forwardRef((e,t)=>{const n=v.useContext(W7),r=v.useRef(null),i=on(t,r);return v.useEffect(()=>{const o=r.current;if(o)return n.branches.add(o),()=>{n.branches.delete(o)}},[n.branches]),k.jsx(Ot.div,{...e,ref:i})});AU.displayName=NU;function IU(e,t=globalThis==null?void 0:globalThis.document){const n=Fo(e),r=v.useRef(!1),i=v.useRef(()=>{});return v.useEffect(()=>{const o=l=>{if(l.target&&!r.current){let c=function(){G7(kU,n,f,{discrete:!0})};const f={originalEvent:l};l.pointerType==="touch"?(t.removeEventListener("click",i.current),i.current=c,t.addEventListener("click",i.current,{once:!0})):c()}else t.removeEventListener("click",i.current);r.current=!1},a=window.setTimeout(()=>{t.addEventListener("pointerdown",o)},0);return()=>{window.clearTimeout(a),t.removeEventListener("pointerdown",o),t.removeEventListener("click",i.current)}},[t,n]),{onPointerDownCapture:()=>r.current=!0}}function DU(e,t=globalThis==null?void 0:globalThis.document){const n=Fo(e),r=v.useRef(!1);return v.useEffect(()=>{const i=o=>{o.target&&!r.current&&G7(CU,n,{originalEvent:o},{discrete:!1})};return t.addEventListener("focusin",i),()=>t.removeEventListener("focusin",i)},[t,n]),{onFocusCapture:()=>r.current=!0,onBlurCapture:()=>r.current=!1}}function Dw(){const e=new CustomEvent(e2);document.dispatchEvent(e)}function G7(e,t,n,{discrete:r}){const i=n.originalEvent.target,o=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:n});t&&i.addEventListener(e,t,{once:!0}),r?z7(i,o):i.dispatchEvent(o)}var x1=0;function Q7(){v.useEffect(()=>{const e=document.querySelectorAll("[data-radix-focus-guard]");return document.body.insertAdjacentElement("afterbegin",e[0]??Rw()),document.body.insertAdjacentElement("beforeend",e[1]??Rw()),x1++,()=>{x1===1&&document.querySelectorAll("[data-radix-focus-guard]").forEach(t=>t.remove()),x1--}},[])}function Rw(){const e=document.createElement("span");return e.setAttribute("data-radix-focus-guard",""),e.tabIndex=0,e.style.outline="none",e.style.opacity="0",e.style.position="fixed",e.style.pointerEvents="none",e}var w1="focusScope.autoFocusOnMount",E1="focusScope.autoFocusOnUnmount",Lw={bubbles:!1,cancelable:!0},RU="FocusScope",$b=v.forwardRef((e,t)=>{const{loop:n=!1,trapped:r=!1,onMountAutoFocus:i,onUnmountAutoFocus:o,...a}=e,[l,c]=v.useState(null),f=Fo(i),p=Fo(o),h=v.useRef(null),g=on(t,w=>c(w)),b=v.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;v.useEffect(()=>{if(r){let w=function(C){if(b.paused||!l)return;const A=C.target;l.contains(A)?h.current=A:ys(h.current,{select:!0})},_=function(C){if(b.paused||!l)return;const A=C.relatedTarget;A!==null&&(l.contains(A)||ys(h.current,{select:!0}))},T=function(C){if(document.activeElement===document.body)for(const D of C)D.removedNodes.length>0&&ys(l)};document.addEventListener("focusin",w),document.addEventListener("focusout",_);const N=new MutationObserver(T);return l&&N.observe(l,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",w),document.removeEventListener("focusout",_),N.disconnect()}}},[r,l,b.paused]),v.useEffect(()=>{if(l){Fw.add(b);const w=document.activeElement;if(!l.contains(w)){const T=new CustomEvent(w1,Lw);l.addEventListener(w1,f),l.dispatchEvent(T),T.defaultPrevented||(LU($U(Y7(l)),{select:!0}),document.activeElement===w&&ys(l))}return()=>{l.removeEventListener(w1,f),setTimeout(()=>{const T=new CustomEvent(E1,Lw);l.addEventListener(E1,p),l.dispatchEvent(T),T.defaultPrevented||ys(w??document.body,{select:!0}),l.removeEventListener(E1,p),Fw.remove(b)},0)}}},[l,f,p,b]);const y=v.useCallback(w=>{if(!n&&!r||b.paused)return;const _=w.key==="Tab"&&!w.altKey&&!w.ctrlKey&&!w.metaKey,T=document.activeElement;if(_&&T){const N=w.currentTarget,[C,A]=PU(N);C&&A?!w.shiftKey&&T===A?(w.preventDefault(),n&&ys(C,{select:!0})):w.shiftKey&&T===C&&(w.preventDefault(),n&&ys(A,{select:!0})):T===N&&w.preventDefault()}},[n,r,b.paused]);return k.jsx(Ot.div,{tabIndex:-1,...a,ref:g,onKeyDown:y})});$b.displayName=RU;function LU(e,{select:t=!1}={}){const n=document.activeElement;for(const r of e)if(ys(r,{select:t}),document.activeElement!==n)return}function PU(e){const t=Y7(e),n=Pw(t,e),r=Pw(t.reverse(),e);return[n,r]}function Y7(e){const t=[],n=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:r=>{const i=r.tagName==="INPUT"&&r.type==="hidden";return r.disabled||r.hidden||i?NodeFilter.FILTER_SKIP:r.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;n.nextNode();)t.push(n.currentNode);return t}function Pw(e,t){for(const n of e)if(!FU(n,{upTo:t}))return n}function FU(e,{upTo:t}){if(getComputedStyle(e).visibility==="hidden")return!0;for(;e;){if(t!==void 0&&e===t)return!1;if(getComputedStyle(e).display==="none")return!0;e=e.parentElement}return!1}function OU(e){return e instanceof HTMLInputElement&&"select"in e}function ys(e,{select:t=!1}={}){if(e&&e.focus){const n=document.activeElement;e.focus({preventScroll:!0}),e!==n&&OU(e)&&t&&e.select()}}var Fw=MU();function MU(){let e=[];return{add(t){const n=e[0];t!==n&&(n==null||n.pause()),e=Ow(e,t),e.unshift(t)},remove(t){var n;e=Ow(e,t),(n=e[0])==null||n.resume()}}}function Ow(e,t){const n=[...e],r=n.indexOf(t);return r!==-1&&n.splice(r,1),n}function $U(e){return e.filter(t=>t.tagName!=="A")}var jU=W2[" useId ".trim().toString()]||(()=>{}),BU=0;function ma(e){const[t,n]=v.useState(jU());return Rs(()=>{n(r=>r??String(BU++))},[e]),e||(t?`radix-${t}`:"")}const VU=["top","right","bottom","left"],Oo=Math.min,Mn=Math.max,Pc=Math.round,Vd=Math.floor,Zi=e=>({x:e,y:e}),UU={left:"right",right:"left",bottom:"top",top:"bottom"},zU={start:"end",end:"start"};function t2(e,t,n){return Mn(e,Oo(t,n))}function no(e,t){return typeof e=="function"?e(t):e}function Mo(e){return e.split("-")[0]}function ru(e){return e.split("-")[1]}function jb(e){return e==="x"?"y":"x"}function Bb(e){return e==="y"?"height":"width"}const HU=new Set(["top","bottom"]);function Qi(e){return HU.has(Mo(e))?"y":"x"}function Vb(e){return jb(Qi(e))}function qU(e,t,n){n===void 0&&(n=!1);const r=ru(e),i=Vb(e),o=Bb(i);let a=i==="x"?r===(n?"end":"start")?"right":"left":r==="start"?"bottom":"top";return t.reference[o]>t.floating[o]&&(a=G0(a)),[a,G0(a)]}function WU(e){const t=G0(e);return[n2(e),t,n2(t)]}function n2(e){return e.replace(/start|end/g,t=>zU[t])}const Mw=["left","right"],$w=["right","left"],GU=["top","bottom"],QU=["bottom","top"];function YU(e,t,n){switch(e){case"top":case"bottom":return n?t?$w:Mw:t?Mw:$w;case"left":case"right":return t?GU:QU;default:return[]}}function XU(e,t,n,r){const i=ru(e);let o=YU(Mo(e),n==="start",r);return i&&(o=o.map(a=>a+"-"+i),t&&(o=o.concat(o.map(n2)))),o}function G0(e){return e.replace(/left|right|bottom|top/g,t=>UU[t])}function ZU(e){return{top:0,right:0,bottom:0,left:0,...e}}function X7(e){return typeof e!="number"?ZU(e):{top:e,right:e,bottom:e,left:e}}function Q0(e){const{x:t,y:n,width:r,height:i}=e;return{width:r,height:i,top:n,left:t,right:t+r,bottom:n+i,x:t,y:n}}function jw(e,t,n){let{reference:r,floating:i}=e;const o=Qi(t),a=Vb(t),l=Bb(a),c=Mo(t),f=o==="y",p=r.x+r.width/2-i.width/2,h=r.y+r.height/2-i.height/2,g=r[l]/2-i[l]/2;let b;switch(c){case"top":b={x:p,y:r.y-i.height};break;case"bottom":b={x:p,y:r.y+r.height};break;case"right":b={x:r.x+r.width,y:h};break;case"left":b={x:r.x-i.width,y:h};break;default:b={x:r.x,y:r.y}}switch(ru(t)){case"start":b[a]-=g*(n&&f?-1:1);break;case"end":b[a]+=g*(n&&f?-1:1);break}return b}const JU=async(e,t,n)=>{const{placement:r="bottom",strategy:i="absolute",middleware:o=[],platform:a}=n,l=o.filter(Boolean),c=await(a.isRTL==null?void 0:a.isRTL(t));let f=await a.getElementRects({reference:e,floating:t,strategy:i}),{x:p,y:h}=jw(f,r,c),g=r,b={},y=0;for(let w=0;w({name:"arrow",options:e,async fn(t){const{x:n,y:r,placement:i,rects:o,platform:a,elements:l,middlewareData:c}=t,{element:f,padding:p=0}=no(e,t)||{};if(f==null)return{};const h=X7(p),g={x:n,y:r},b=Vb(i),y=Bb(b),w=await a.getDimensions(f),_=b==="y",T=_?"top":"left",N=_?"bottom":"right",C=_?"clientHeight":"clientWidth",A=o.reference[y]+o.reference[b]-g[b]-o.floating[y],D=g[b]-o.reference[b],L=await(a.getOffsetParent==null?void 0:a.getOffsetParent(f));let F=L?L[C]:0;(!F||!await(a.isElement==null?void 0:a.isElement(L)))&&(F=l.floating[C]||o.floating[y]);const H=A/2-D/2,$=F/2-w[y]/2-1,Q=Oo(h[T],$),Z=Oo(h[N],$),ee=Q,U=F-w[y]-Z,O=F/2-w[y]/2+H,G=t2(ee,O,U),X=!c.arrow&&ru(i)!=null&&O!==G&&o.reference[y]/2-(OO<=0)){var Z,ee;const O=(((Z=o.flip)==null?void 0:Z.index)||0)+1,G=F[O];if(G&&(!(h==="alignment"?N!==Qi(G):!1)||Q.every(P=>Qi(P.placement)===N?P.overflows[0]>0:!0)))return{data:{index:O,overflows:Q},reset:{placement:G}};let X=(ee=Q.filter(K=>K.overflows[0]<=0).sort((K,P)=>K.overflows[1]-P.overflows[1])[0])==null?void 0:ee.placement;if(!X)switch(b){case"bestFit":{var U;const K=(U=Q.filter(P=>{if(L){const B=Qi(P.placement);return B===N||B==="y"}return!0}).map(P=>[P.placement,P.overflows.filter(B=>B>0).reduce((B,q)=>B+q,0)]).sort((P,B)=>P[1]-B[1])[0])==null?void 0:U[0];K&&(X=K);break}case"initialPlacement":X=l;break}if(i!==X)return{reset:{placement:X}}}return{}}}};function Bw(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function Vw(e){return VU.some(t=>e[t]>=0)}const tz=function(e){return e===void 0&&(e={}),{name:"hide",options:e,async fn(t){const{rects:n}=t,{strategy:r="referenceHidden",...i}=no(e,t);switch(r){case"referenceHidden":{const o=await Yl(t,{...i,elementContext:"reference"}),a=Bw(o,n.reference);return{data:{referenceHiddenOffsets:a,referenceHidden:Vw(a)}}}case"escaped":{const o=await Yl(t,{...i,altBoundary:!0}),a=Bw(o,n.floating);return{data:{escapedOffsets:a,escaped:Vw(a)}}}default:return{}}}}},Z7=new Set(["left","top"]);async function nz(e,t){const{placement:n,platform:r,elements:i}=e,o=await(r.isRTL==null?void 0:r.isRTL(i.floating)),a=Mo(n),l=ru(n),c=Qi(n)==="y",f=Z7.has(a)?-1:1,p=o&&c?-1:1,h=no(t,e);let{mainAxis:g,crossAxis:b,alignmentAxis:y}=typeof h=="number"?{mainAxis:h,crossAxis:0,alignmentAxis:null}:{mainAxis:h.mainAxis||0,crossAxis:h.crossAxis||0,alignmentAxis:h.alignmentAxis};return l&&typeof y=="number"&&(b=l==="end"?y*-1:y),c?{x:b*p,y:g*f}:{x:g*f,y:b*p}}const rz=function(e){return e===void 0&&(e=0),{name:"offset",options:e,async fn(t){var n,r;const{x:i,y:o,placement:a,middlewareData:l}=t,c=await nz(t,e);return a===((n=l.offset)==null?void 0:n.placement)&&(r=l.arrow)!=null&&r.alignmentOffset?{}:{x:i+c.x,y:o+c.y,data:{...c,placement:a}}}}},iz=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(t){const{x:n,y:r,placement:i}=t,{mainAxis:o=!0,crossAxis:a=!1,limiter:l={fn:_=>{let{x:T,y:N}=_;return{x:T,y:N}}},...c}=no(e,t),f={x:n,y:r},p=await Yl(t,c),h=Qi(Mo(i)),g=jb(h);let b=f[g],y=f[h];if(o){const _=g==="y"?"top":"left",T=g==="y"?"bottom":"right",N=b+p[_],C=b-p[T];b=t2(N,b,C)}if(a){const _=h==="y"?"top":"left",T=h==="y"?"bottom":"right",N=y+p[_],C=y-p[T];y=t2(N,y,C)}const w=l.fn({...t,[g]:b,[h]:y});return{...w,data:{x:w.x-n,y:w.y-r,enabled:{[g]:o,[h]:a}}}}}},oz=function(e){return e===void 0&&(e={}),{options:e,fn(t){const{x:n,y:r,placement:i,rects:o,middlewareData:a}=t,{offset:l=0,mainAxis:c=!0,crossAxis:f=!0}=no(e,t),p={x:n,y:r},h=Qi(i),g=jb(h);let b=p[g],y=p[h];const w=no(l,t),_=typeof w=="number"?{mainAxis:w,crossAxis:0}:{mainAxis:0,crossAxis:0,...w};if(c){const C=g==="y"?"height":"width",A=o.reference[g]-o.floating[C]+_.mainAxis,D=o.reference[g]+o.reference[C]-_.mainAxis;bD&&(b=D)}if(f){var T,N;const C=g==="y"?"width":"height",A=Z7.has(Mo(i)),D=o.reference[h]-o.floating[C]+(A&&((T=a.offset)==null?void 0:T[h])||0)+(A?0:_.crossAxis),L=o.reference[h]+o.reference[C]+(A?0:((N=a.offset)==null?void 0:N[h])||0)-(A?_.crossAxis:0);yL&&(y=L)}return{[g]:b,[h]:y}}}},sz=function(e){return e===void 0&&(e={}),{name:"size",options:e,async fn(t){var n,r;const{placement:i,rects:o,platform:a,elements:l}=t,{apply:c=()=>{},...f}=no(e,t),p=await Yl(t,f),h=Mo(i),g=ru(i),b=Qi(i)==="y",{width:y,height:w}=o.floating;let _,T;h==="top"||h==="bottom"?(_=h,T=g===(await(a.isRTL==null?void 0:a.isRTL(l.floating))?"start":"end")?"left":"right"):(T=h,_=g==="end"?"top":"bottom");const N=w-p.top-p.bottom,C=y-p.left-p.right,A=Oo(w-p[_],N),D=Oo(y-p[T],C),L=!t.middlewareData.shift;let F=A,H=D;if((n=t.middlewareData.shift)!=null&&n.enabled.x&&(H=C),(r=t.middlewareData.shift)!=null&&r.enabled.y&&(F=N),L&&!g){const Q=Mn(p.left,0),Z=Mn(p.right,0),ee=Mn(p.top,0),U=Mn(p.bottom,0);b?H=y-2*(Q!==0||Z!==0?Q+Z:Mn(p.left,p.right)):F=w-2*(ee!==0||U!==0?ee+U:Mn(p.top,p.bottom))}await c({...t,availableWidth:H,availableHeight:F});const $=await a.getDimensions(l.floating);return y!==$.width||w!==$.height?{reset:{rects:!0}}:{}}}};function Pp(){return typeof window<"u"}function iu(e){return J7(e)?(e.nodeName||"").toLowerCase():"#document"}function Tr(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function uo(e){var t;return(t=(J7(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}function J7(e){return Pp()?e instanceof Node||e instanceof Tr(e).Node:!1}function Yn(e){return Pp()?e instanceof Element||e instanceof Tr(e).Element:!1}function ro(e){return Pp()?e instanceof HTMLElement||e instanceof Tr(e).HTMLElement:!1}function Uw(e){return!Pp()||typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof Tr(e).ShadowRoot}const az=new Set(["inline","contents"]);function nf(e){const{overflow:t,overflowX:n,overflowY:r,display:i}=Ei(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&!az.has(i)}const lz=new Set(["table","td","th"]);function uz(e){return lz.has(iu(e))}const cz=[":popover-open",":modal"];function Fp(e){return cz.some(t=>{try{return e.matches(t)}catch{return!1}})}const fz=["transform","translate","scale","rotate","perspective"],dz=["transform","translate","scale","rotate","perspective","filter"],pz=["paint","layout","strict","content"];function Ub(e){const t=zb(),n=Yn(e)?Ei(e):e;return fz.some(r=>n[r]?n[r]!=="none":!1)||(n.containerType?n.containerType!=="normal":!1)||!t&&(n.backdropFilter?n.backdropFilter!=="none":!1)||!t&&(n.filter?n.filter!=="none":!1)||dz.some(r=>(n.willChange||"").includes(r))||pz.some(r=>(n.contain||"").includes(r))}function hz(e){let t=Ls(e);for(;ro(t)&&!Xl(t);){if(Ub(t))return t;if(Fp(t))return null;t=Ls(t)}return null}function zb(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}const mz=new Set(["html","body","#document"]);function Xl(e){return mz.has(iu(e))}function Ei(e){return Tr(e).getComputedStyle(e)}function Op(e){return Yn(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function Ls(e){if(iu(e)==="html")return e;const t=e.assignedSlot||e.parentNode||Uw(e)&&e.host||uo(e);return Uw(t)?t.host:t}function K7(e){const t=Ls(e);return Xl(t)?e.ownerDocument?e.ownerDocument.body:e.body:ro(t)&&nf(t)?t:K7(t)}function Fc(e,t,n){var r;t===void 0&&(t=[]),n===void 0&&(n=!0);const i=K7(e),o=i===((r=e.ownerDocument)==null?void 0:r.body),a=Tr(i);if(o){const l=r2(a);return t.concat(a,a.visualViewport||[],nf(i)?i:[],l&&n?Fc(l):[])}return t.concat(i,Fc(i,[],n))}function r2(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function eT(e){const t=Ei(e);let n=parseFloat(t.width)||0,r=parseFloat(t.height)||0;const i=ro(e),o=i?e.offsetWidth:n,a=i?e.offsetHeight:r,l=Pc(n)!==o||Pc(r)!==a;return l&&(n=o,r=a),{width:n,height:r,$:l}}function Hb(e){return Yn(e)?e:e.contextElement}function Pl(e){const t=Hb(e);if(!ro(t))return Zi(1);const n=t.getBoundingClientRect(),{width:r,height:i,$:o}=eT(t);let a=(o?Pc(n.width):n.width)/r,l=(o?Pc(n.height):n.height)/i;return(!a||!Number.isFinite(a))&&(a=1),(!l||!Number.isFinite(l))&&(l=1),{x:a,y:l}}const gz=Zi(0);function tT(e){const t=Tr(e);return!zb()||!t.visualViewport?gz:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function bz(e,t,n){return t===void 0&&(t=!1),!n||t&&n!==Tr(e)?!1:t}function _a(e,t,n,r){t===void 0&&(t=!1),n===void 0&&(n=!1);const i=e.getBoundingClientRect(),o=Hb(e);let a=Zi(1);t&&(r?Yn(r)&&(a=Pl(r)):a=Pl(e));const l=bz(o,n,r)?tT(o):Zi(0);let c=(i.left+l.x)/a.x,f=(i.top+l.y)/a.y,p=i.width/a.x,h=i.height/a.y;if(o){const g=Tr(o),b=r&&Yn(r)?Tr(r):r;let y=g,w=r2(y);for(;w&&r&&b!==y;){const _=Pl(w),T=w.getBoundingClientRect(),N=Ei(w),C=T.left+(w.clientLeft+parseFloat(N.paddingLeft))*_.x,A=T.top+(w.clientTop+parseFloat(N.paddingTop))*_.y;c*=_.x,f*=_.y,p*=_.x,h*=_.y,c+=C,f+=A,y=Tr(w),w=r2(y)}}return Q0({width:p,height:h,x:c,y:f})}function Mp(e,t){const n=Op(e).scrollLeft;return t?t.left+n:_a(uo(e)).left+n}function nT(e,t){const n=e.getBoundingClientRect(),r=n.left+t.scrollLeft-Mp(e,n),i=n.top+t.scrollTop;return{x:r,y:i}}function vz(e){let{elements:t,rect:n,offsetParent:r,strategy:i}=e;const o=i==="fixed",a=uo(r),l=t?Fp(t.floating):!1;if(r===a||l&&o)return n;let c={scrollLeft:0,scrollTop:0},f=Zi(1);const p=Zi(0),h=ro(r);if((h||!h&&!o)&&((iu(r)!=="body"||nf(a))&&(c=Op(r)),ro(r))){const b=_a(r);f=Pl(r),p.x=b.x+r.clientLeft,p.y=b.y+r.clientTop}const g=a&&!h&&!o?nT(a,c):Zi(0);return{width:n.width*f.x,height:n.height*f.y,x:n.x*f.x-c.scrollLeft*f.x+p.x+g.x,y:n.y*f.y-c.scrollTop*f.y+p.y+g.y}}function yz(e){return Array.from(e.getClientRects())}function xz(e){const t=uo(e),n=Op(e),r=e.ownerDocument.body,i=Mn(t.scrollWidth,t.clientWidth,r.scrollWidth,r.clientWidth),o=Mn(t.scrollHeight,t.clientHeight,r.scrollHeight,r.clientHeight);let a=-n.scrollLeft+Mp(e);const l=-n.scrollTop;return Ei(r).direction==="rtl"&&(a+=Mn(t.clientWidth,r.clientWidth)-i),{width:i,height:o,x:a,y:l}}const zw=25;function wz(e,t){const n=Tr(e),r=uo(e),i=n.visualViewport;let o=r.clientWidth,a=r.clientHeight,l=0,c=0;if(i){o=i.width,a=i.height;const p=zb();(!p||p&&t==="fixed")&&(l=i.offsetLeft,c=i.offsetTop)}const f=Mp(r);if(f<=0){const p=r.ownerDocument,h=p.body,g=getComputedStyle(h),b=p.compatMode==="CSS1Compat"&&parseFloat(g.marginLeft)+parseFloat(g.marginRight)||0,y=Math.abs(r.clientWidth-h.clientWidth-b);y<=zw&&(o-=y)}else f<=zw&&(o+=f);return{width:o,height:a,x:l,y:c}}const Ez=new Set(["absolute","fixed"]);function Sz(e,t){const n=_a(e,!0,t==="fixed"),r=n.top+e.clientTop,i=n.left+e.clientLeft,o=ro(e)?Pl(e):Zi(1),a=e.clientWidth*o.x,l=e.clientHeight*o.y,c=i*o.x,f=r*o.y;return{width:a,height:l,x:c,y:f}}function Hw(e,t,n){let r;if(t==="viewport")r=wz(e,n);else if(t==="document")r=xz(uo(e));else if(Yn(t))r=Sz(t,n);else{const i=tT(e);r={x:t.x-i.x,y:t.y-i.y,width:t.width,height:t.height}}return Q0(r)}function rT(e,t){const n=Ls(e);return n===t||!Yn(n)||Xl(n)?!1:Ei(n).position==="fixed"||rT(n,t)}function _z(e,t){const n=t.get(e);if(n)return n;let r=Fc(e,[],!1).filter(l=>Yn(l)&&iu(l)!=="body"),i=null;const o=Ei(e).position==="fixed";let a=o?Ls(e):e;for(;Yn(a)&&!Xl(a);){const l=Ei(a),c=Ub(a);!c&&l.position==="fixed"&&(i=null),(o?!c&&!i:!c&&l.position==="static"&&!!i&&Ez.has(i.position)||nf(a)&&!c&&rT(e,a))?r=r.filter(p=>p!==a):i=l,a=Ls(a)}return t.set(e,r),r}function Tz(e){let{element:t,boundary:n,rootBoundary:r,strategy:i}=e;const a=[...n==="clippingAncestors"?Fp(t)?[]:_z(t,this._c):[].concat(n),r],l=a[0],c=a.reduce((f,p)=>{const h=Hw(t,p,i);return f.top=Mn(h.top,f.top),f.right=Oo(h.right,f.right),f.bottom=Oo(h.bottom,f.bottom),f.left=Mn(h.left,f.left),f},Hw(t,l,i));return{width:c.right-c.left,height:c.bottom-c.top,x:c.left,y:c.top}}function kz(e){const{width:t,height:n}=eT(e);return{width:t,height:n}}function Cz(e,t,n){const r=ro(t),i=uo(t),o=n==="fixed",a=_a(e,!0,o,t);let l={scrollLeft:0,scrollTop:0};const c=Zi(0);function f(){c.x=Mp(i)}if(r||!r&&!o)if((iu(t)!=="body"||nf(i))&&(l=Op(t)),r){const b=_a(t,!0,o,t);c.x=b.x+t.clientLeft,c.y=b.y+t.clientTop}else i&&f();o&&!r&&i&&f();const p=i&&!r&&!o?nT(i,l):Zi(0),h=a.left+l.scrollLeft-c.x-p.x,g=a.top+l.scrollTop-c.y-p.y;return{x:h,y:g,width:a.width,height:a.height}}function S1(e){return Ei(e).position==="static"}function qw(e,t){if(!ro(e)||Ei(e).position==="fixed")return null;if(t)return t(e);let n=e.offsetParent;return uo(e)===n&&(n=n.ownerDocument.body),n}function iT(e,t){const n=Tr(e);if(Fp(e))return n;if(!ro(e)){let i=Ls(e);for(;i&&!Xl(i);){if(Yn(i)&&!S1(i))return i;i=Ls(i)}return n}let r=qw(e,t);for(;r&&uz(r)&&S1(r);)r=qw(r,t);return r&&Xl(r)&&S1(r)&&!Ub(r)?n:r||hz(e)||n}const Nz=async function(e){const t=this.getOffsetParent||iT,n=this.getDimensions,r=await n(e.floating);return{reference:Cz(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:r.width,height:r.height}}};function Az(e){return Ei(e).direction==="rtl"}const Iz={convertOffsetParentRelativeRectToViewportRelativeRect:vz,getDocumentElement:uo,getClippingRect:Tz,getOffsetParent:iT,getElementRects:Nz,getClientRects:yz,getDimensions:kz,getScale:Pl,isElement:Yn,isRTL:Az};function oT(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}function Dz(e,t){let n=null,r;const i=uo(e);function o(){var l;clearTimeout(r),(l=n)==null||l.disconnect(),n=null}function a(l,c){l===void 0&&(l=!1),c===void 0&&(c=1),o();const f=e.getBoundingClientRect(),{left:p,top:h,width:g,height:b}=f;if(l||t(),!g||!b)return;const y=Vd(h),w=Vd(i.clientWidth-(p+g)),_=Vd(i.clientHeight-(h+b)),T=Vd(p),C={rootMargin:-y+"px "+-w+"px "+-_+"px "+-T+"px",threshold:Mn(0,Oo(1,c))||1};let A=!0;function D(L){const F=L[0].intersectionRatio;if(F!==c){if(!A)return a();F?a(!1,F):r=setTimeout(()=>{a(!1,1e-7)},1e3)}F===1&&!oT(f,e.getBoundingClientRect())&&a(),A=!1}try{n=new IntersectionObserver(D,{...C,root:i.ownerDocument})}catch{n=new IntersectionObserver(D,C)}n.observe(e)}return a(!0),o}function sT(e,t,n,r){r===void 0&&(r={});const{ancestorScroll:i=!0,ancestorResize:o=!0,elementResize:a=typeof ResizeObserver=="function",layoutShift:l=typeof IntersectionObserver=="function",animationFrame:c=!1}=r,f=Hb(e),p=i||o?[...f?Fc(f):[],...Fc(t)]:[];p.forEach(T=>{i&&T.addEventListener("scroll",n,{passive:!0}),o&&T.addEventListener("resize",n)});const h=f&&l?Dz(f,n):null;let g=-1,b=null;a&&(b=new ResizeObserver(T=>{let[N]=T;N&&N.target===f&&b&&(b.unobserve(t),cancelAnimationFrame(g),g=requestAnimationFrame(()=>{var C;(C=b)==null||C.observe(t)})),n()}),f&&!c&&b.observe(f),b.observe(t));let y,w=c?_a(e):null;c&&_();function _(){const T=_a(e);w&&!oT(w,T)&&n(),w=T,y=requestAnimationFrame(_)}return n(),()=>{var T;p.forEach(N=>{i&&N.removeEventListener("scroll",n),o&&N.removeEventListener("resize",n)}),h==null||h(),(T=b)==null||T.disconnect(),b=null,c&&cancelAnimationFrame(y)}}const _1=Yl,Rz=rz,Lz=iz,Pz=ez,Fz=sz,Oz=tz,Ww=KU,Mz=oz,$z=(e,t,n)=>{const r=new Map,i={platform:Iz,...n},o={...i.platform,_c:r};return JU(e,t,{...i,platform:o})};var jz=typeof document<"u",Bz=function(){},c0=jz?v.useLayoutEffect:Bz;function Y0(e,t){if(e===t)return!0;if(typeof e!=typeof t)return!1;if(typeof e=="function"&&e.toString()===t.toString())return!0;let n,r,i;if(e&&t&&typeof e=="object"){if(Array.isArray(e)){if(n=e.length,n!==t.length)return!1;for(r=n;r--!==0;)if(!Y0(e[r],t[r]))return!1;return!0}if(i=Object.keys(e),n=i.length,n!==Object.keys(t).length)return!1;for(r=n;r--!==0;)if(!{}.hasOwnProperty.call(t,i[r]))return!1;for(r=n;r--!==0;){const o=i[r];if(!(o==="_owner"&&e.$$typeof)&&!Y0(e[o],t[o]))return!1}return!0}return e!==e&&t!==t}function aT(e){return typeof window>"u"?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function Gw(e,t){const n=aT(e);return Math.round(t*n)/n}function T1(e){const t=v.useRef(e);return c0(()=>{t.current=e}),t}function lT(e){e===void 0&&(e={});const{placement:t="bottom",strategy:n="absolute",middleware:r=[],platform:i,elements:{reference:o,floating:a}={},transform:l=!0,whileElementsMounted:c,open:f}=e,[p,h]=v.useState({x:0,y:0,strategy:n,placement:t,middlewareData:{},isPositioned:!1}),[g,b]=v.useState(r);Y0(g,r)||b(r);const[y,w]=v.useState(null),[_,T]=v.useState(null),N=v.useCallback(P=>{P!==L.current&&(L.current=P,w(P))},[]),C=v.useCallback(P=>{P!==F.current&&(F.current=P,T(P))},[]),A=o||y,D=a||_,L=v.useRef(null),F=v.useRef(null),H=v.useRef(p),$=c!=null,Q=T1(c),Z=T1(i),ee=T1(f),U=v.useCallback(()=>{if(!L.current||!F.current)return;const P={placement:t,strategy:n,middleware:g};Z.current&&(P.platform=Z.current),$z(L.current,F.current,P).then(B=>{const q={...B,isPositioned:ee.current!==!1};O.current&&!Y0(H.current,q)&&(H.current=q,jn.flushSync(()=>{h(q)}))})},[g,t,n,Z,ee]);c0(()=>{f===!1&&H.current.isPositioned&&(H.current.isPositioned=!1,h(P=>({...P,isPositioned:!1})))},[f]);const O=v.useRef(!1);c0(()=>(O.current=!0,()=>{O.current=!1}),[]),c0(()=>{if(A&&(L.current=A),D&&(F.current=D),A&&D){if(Q.current)return Q.current(A,D,U);U()}},[A,D,U,Q,$]);const G=v.useMemo(()=>({reference:L,floating:F,setReference:N,setFloating:C}),[N,C]),X=v.useMemo(()=>({reference:A,floating:D}),[A,D]),K=v.useMemo(()=>{const P={position:n,left:0,top:0};if(!X.floating)return P;const B=Gw(X.floating,p.x),q=Gw(X.floating,p.y);return l?{...P,transform:"translate("+B+"px, "+q+"px)",...aT(X.floating)>=1.5&&{willChange:"transform"}}:{position:n,left:B,top:q}},[n,l,X.floating,p.x,p.y]);return v.useMemo(()=>({...p,update:U,refs:G,elements:X,floatingStyles:K}),[p,U,G,X,K])}const Vz=e=>{function t(n){return{}.hasOwnProperty.call(n,"current")}return{name:"arrow",options:e,fn(n){const{element:r,padding:i}=typeof e=="function"?e(n):e;return r&&t(r)?r.current!=null?Ww({element:r.current,padding:i}).fn(n):{}:r?Ww({element:r,padding:i}).fn(n):{}}}},qb=(e,t)=>({...Rz(e),options:[e,t]}),uT=(e,t)=>({...Lz(e),options:[e,t]}),Uz=(e,t)=>({...Mz(e),options:[e,t]}),cT=(e,t)=>({...Pz(e),options:[e,t]}),fT=(e,t)=>({...Fz(e),options:[e,t]}),zz=(e,t)=>({...Oz(e),options:[e,t]}),Hz=(e,t)=>({...Vz(e),options:[e,t]});var qz="Arrow",dT=v.forwardRef((e,t)=>{const{children:n,width:r=10,height:i=5,...o}=e;return k.jsx(Ot.svg,{...o,ref:t,width:r,height:i,viewBox:"0 0 30 10",preserveAspectRatio:"none",children:e.asChild?n:k.jsx("polygon",{points:"0,0 30,0 15,10"})})});dT.displayName=qz;var Wz=dT;function Gz(e){const[t,n]=v.useState(void 0);return Rs(()=>{if(e){n({width:e.offsetWidth,height:e.offsetHeight});const r=new ResizeObserver(i=>{if(!Array.isArray(i)||!i.length)return;const o=i[0];let a,l;if("borderBoxSize"in o){const c=o.borderBoxSize,f=Array.isArray(c)?c[0]:c;a=f.inlineSize,l=f.blockSize}else a=e.offsetWidth,l=e.offsetHeight;n({width:a,height:l})});return r.observe(e,{box:"border-box"}),()=>r.unobserve(e)}else n(void 0)},[e]),t}var Wb="Popper",[pT,$p]=Ia(Wb),[Qz,hT]=pT(Wb),mT=e=>{const{__scopePopper:t,children:n}=e,[r,i]=v.useState(null);return k.jsx(Qz,{scope:t,anchor:r,onAnchorChange:i,children:n})};mT.displayName=Wb;var gT="PopperAnchor",bT=v.forwardRef((e,t)=>{const{__scopePopper:n,virtualRef:r,...i}=e,o=hT(gT,n),a=v.useRef(null),l=on(t,a),c=v.useRef(null);return v.useEffect(()=>{const f=c.current;c.current=(r==null?void 0:r.current)||a.current,f!==c.current&&o.onAnchorChange(c.current)}),r?null:k.jsx(Ot.div,{...i,ref:l})});bT.displayName=gT;var Gb="PopperContent",[Yz,Xz]=pT(Gb),vT=v.forwardRef((e,t)=>{var le,te,de,ve,_e,Re;const{__scopePopper:n,side:r="bottom",sideOffset:i=0,align:o="center",alignOffset:a=0,arrowPadding:l=0,avoidCollisions:c=!0,collisionBoundary:f=[],collisionPadding:p=0,sticky:h="partial",hideWhenDetached:g=!1,updatePositionStrategy:b="optimized",onPlaced:y,...w}=e,_=hT(Gb,n),[T,N]=v.useState(null),C=on(t,we=>N(we)),[A,D]=v.useState(null),L=Gz(A),F=(L==null?void 0:L.width)??0,H=(L==null?void 0:L.height)??0,$=r+(o!=="center"?"-"+o:""),Q=typeof p=="number"?p:{top:0,right:0,bottom:0,left:0,...p},Z=Array.isArray(f)?f:[f],ee=Z.length>0,U={padding:Q,boundary:Z.filter(Jz),altBoundary:ee},{refs:O,floatingStyles:G,placement:X,isPositioned:K,middlewareData:P}=lT({strategy:"fixed",placement:$,whileElementsMounted:(...we)=>sT(...we,{animationFrame:b==="always"}),elements:{reference:_.anchor},middleware:[qb({mainAxis:i+H,alignmentAxis:a}),c&&uT({mainAxis:!0,crossAxis:!1,limiter:h==="partial"?Uz():void 0,...U}),c&&cT({...U}),fT({...U,apply:({elements:we,rects:je,availableWidth:Ge,availableHeight:Qe})=>{const{width:Ye,height:wt}=je.reference,nt=we.floating.style;nt.setProperty("--radix-popper-available-width",`${Ge}px`),nt.setProperty("--radix-popper-available-height",`${Qe}px`),nt.setProperty("--radix-popper-anchor-width",`${Ye}px`),nt.setProperty("--radix-popper-anchor-height",`${wt}px`)}}),A&&Hz({element:A,padding:l}),Kz({arrowWidth:F,arrowHeight:H}),g&&zz({strategy:"referenceHidden",...U})]}),[B,q]=wT(X),j=Fo(y);Rs(()=>{K&&(j==null||j())},[K,j]);const R=(le=P.arrow)==null?void 0:le.x,re=(te=P.arrow)==null?void 0:te.y,Y=((de=P.arrow)==null?void 0:de.centerOffset)!==0,[se,ue]=v.useState();return Rs(()=>{T&&ue(window.getComputedStyle(T).zIndex)},[T]),k.jsx("div",{ref:O.setFloating,"data-radix-popper-content-wrapper":"",style:{...G,transform:K?G.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:se,"--radix-popper-transform-origin":[(ve=P.transformOrigin)==null?void 0:ve.x,(_e=P.transformOrigin)==null?void 0:_e.y].join(" "),...((Re=P.hide)==null?void 0:Re.referenceHidden)&&{visibility:"hidden",pointerEvents:"none"}},dir:e.dir,children:k.jsx(Yz,{scope:n,placedSide:B,onArrowChange:D,arrowX:R,arrowY:re,shouldHideArrow:Y,children:k.jsx(Ot.div,{"data-side":B,"data-align":q,...w,ref:C,style:{...w.style,animation:K?void 0:"none"}})})})});vT.displayName=Gb;var yT="PopperArrow",Zz={top:"bottom",right:"left",bottom:"top",left:"right"},xT=v.forwardRef(function(t,n){const{__scopePopper:r,...i}=t,o=Xz(yT,r),a=Zz[o.placedSide];return k.jsx("span",{ref:o.onArrowChange,style:{position:"absolute",left:o.arrowX,top:o.arrowY,[a]:0,transformOrigin:{top:"",right:"0 0",bottom:"center 0",left:"100% 0"}[o.placedSide],transform:{top:"translateY(100%)",right:"translateY(50%) rotate(90deg) translateX(-50%)",bottom:"rotate(180deg)",left:"translateY(50%) rotate(-90deg) translateX(50%)"}[o.placedSide],visibility:o.shouldHideArrow?"hidden":void 0},children:k.jsx(Wz,{...i,ref:n,style:{...i.style,display:"block"}})})});xT.displayName=yT;function Jz(e){return e!==null}var Kz=e=>({name:"transformOrigin",options:e,fn(t){var _,T,N;const{placement:n,rects:r,middlewareData:i}=t,a=((_=i.arrow)==null?void 0:_.centerOffset)!==0,l=a?0:e.arrowWidth,c=a?0:e.arrowHeight,[f,p]=wT(n),h={start:"0%",center:"50%",end:"100%"}[p],g=(((T=i.arrow)==null?void 0:T.x)??0)+l/2,b=(((N=i.arrow)==null?void 0:N.y)??0)+c/2;let y="",w="";return f==="bottom"?(y=a?h:`${g}px`,w=`${-c}px`):f==="top"?(y=a?h:`${g}px`,w=`${r.floating.height+c}px`):f==="right"?(y=`${-c}px`,w=a?h:`${b}px`):f==="left"&&(y=`${r.floating.width+c}px`,w=a?h:`${b}px`),{data:{x:y,y:w}}}});function wT(e){const[t,n="center"]=e.split("-");return[t,n]}var ET=mT,ST=bT,_T=vT,TT=xT,eH="Portal",jp=v.forwardRef((e,t)=>{var l;const{container:n,...r}=e,[i,o]=v.useState(!1);Rs(()=>o(!0),[]);const a=n||i&&((l=globalThis==null?void 0:globalThis.document)==null?void 0:l.body);return a?wR.createPortal(k.jsx(Ot.div,{...r,ref:t}),a):null});jp.displayName=eH;function tH(e,t){return v.useReducer((n,r)=>t[n][r]??n,e)}var co=e=>{const{present:t,children:n}=e,r=nH(t),i=typeof n=="function"?n({present:r.isPresent}):v.Children.only(n),o=on(r.ref,rH(i));return typeof n=="function"||r.isPresent?v.cloneElement(i,{ref:o}):null};co.displayName="Presence";function nH(e){const[t,n]=v.useState(),r=v.useRef(null),i=v.useRef(e),o=v.useRef("none"),a=e?"mounted":"unmounted",[l,c]=tH(a,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return v.useEffect(()=>{const f=Ud(r.current);o.current=l==="mounted"?f:"none"},[l]),Rs(()=>{const f=r.current,p=i.current;if(p!==e){const g=o.current,b=Ud(f);e?c("MOUNT"):b==="none"||(f==null?void 0:f.display)==="none"?c("UNMOUNT"):c(p&&g!==b?"ANIMATION_OUT":"UNMOUNT"),i.current=e}},[e,c]),Rs(()=>{if(t){let f;const p=t.ownerDocument.defaultView??window,h=b=>{const w=Ud(r.current).includes(CSS.escape(b.animationName));if(b.target===t&&w&&(c("ANIMATION_END"),!i.current)){const _=t.style.animationFillMode;t.style.animationFillMode="forwards",f=p.setTimeout(()=>{t.style.animationFillMode==="forwards"&&(t.style.animationFillMode=_)})}},g=b=>{b.target===t&&(o.current=Ud(r.current))};return t.addEventListener("animationstart",g),t.addEventListener("animationcancel",h),t.addEventListener("animationend",h),()=>{p.clearTimeout(f),t.removeEventListener("animationstart",g),t.removeEventListener("animationcancel",h),t.removeEventListener("animationend",h)}}else c("ANIMATION_END")},[t,c]),{isPresent:["mounted","unmountSuspended"].includes(l),ref:v.useCallback(f=>{r.current=f?getComputedStyle(f):null,n(f)},[])}}function Ud(e){return(e==null?void 0:e.animationName)||"none"}function rH(e){var r,i;let t=(r=Object.getOwnPropertyDescriptor(e.props,"ref"))==null?void 0:r.get,n=t&&"isReactWarning"in t&&t.isReactWarning;return n?e.ref:(t=(i=Object.getOwnPropertyDescriptor(e,"ref"))==null?void 0:i.get,n=t&&"isReactWarning"in t&&t.isReactWarning,n?e.props.ref:e.props.ref||e.ref)}var k1="rovingFocusGroup.onEntryFocus",iH={bubbles:!1,cancelable:!0},rf="RovingFocusGroup",[i2,kT,oH]=H7(rf),[sH,CT]=Ia(rf,[oH]),[aH,lH]=sH(rf),NT=v.forwardRef((e,t)=>k.jsx(i2.Provider,{scope:e.__scopeRovingFocusGroup,children:k.jsx(i2.Slot,{scope:e.__scopeRovingFocusGroup,children:k.jsx(uH,{...e,ref:t})})}));NT.displayName=rf;var uH=v.forwardRef((e,t)=>{const{__scopeRovingFocusGroup:n,orientation:r,loop:i=!1,dir:o,currentTabStopId:a,defaultCurrentTabStopId:l,onCurrentTabStopIdChange:c,onEntryFocus:f,preventScrollOnEntryFocus:p=!1,...h}=e,g=v.useRef(null),b=on(t,g),y=q7(o),[w,_]=Rp({prop:a,defaultProp:l??null,onChange:c,caller:rf}),[T,N]=v.useState(!1),C=Fo(f),A=kT(n),D=v.useRef(!1),[L,F]=v.useState(0);return v.useEffect(()=>{const H=g.current;if(H)return H.addEventListener(k1,C),()=>H.removeEventListener(k1,C)},[C]),k.jsx(aH,{scope:n,orientation:r,dir:y,loop:i,currentTabStopId:w,onItemFocus:v.useCallback(H=>_(H),[_]),onItemShiftTab:v.useCallback(()=>N(!0),[]),onFocusableItemAdd:v.useCallback(()=>F(H=>H+1),[]),onFocusableItemRemove:v.useCallback(()=>F(H=>H-1),[]),children:k.jsx(Ot.div,{tabIndex:T||L===0?-1:0,"data-orientation":r,...h,ref:b,style:{outline:"none",...e.style},onMouseDown:$e(e.onMouseDown,()=>{D.current=!0}),onFocus:$e(e.onFocus,H=>{const $=!D.current;if(H.target===H.currentTarget&&$&&!T){const Q=new CustomEvent(k1,iH);if(H.currentTarget.dispatchEvent(Q),!Q.defaultPrevented){const Z=A().filter(X=>X.focusable),ee=Z.find(X=>X.active),U=Z.find(X=>X.id===w),G=[ee,U,...Z].filter(Boolean).map(X=>X.ref.current);DT(G,p)}}D.current=!1}),onBlur:$e(e.onBlur,()=>N(!1))})})}),AT="RovingFocusGroupItem",IT=v.forwardRef((e,t)=>{const{__scopeRovingFocusGroup:n,focusable:r=!0,active:i=!1,tabStopId:o,children:a,...l}=e,c=ma(),f=o||c,p=lH(AT,n),h=p.currentTabStopId===f,g=kT(n),{onFocusableItemAdd:b,onFocusableItemRemove:y,currentTabStopId:w}=p;return v.useEffect(()=>{if(r)return b(),()=>y()},[r,b,y]),k.jsx(i2.ItemSlot,{scope:n,id:f,focusable:r,active:i,children:k.jsx(Ot.span,{tabIndex:h?0:-1,"data-orientation":p.orientation,...l,ref:t,onMouseDown:$e(e.onMouseDown,_=>{r?p.onItemFocus(f):_.preventDefault()}),onFocus:$e(e.onFocus,()=>p.onItemFocus(f)),onKeyDown:$e(e.onKeyDown,_=>{if(_.key==="Tab"&&_.shiftKey){p.onItemShiftTab();return}if(_.target!==_.currentTarget)return;const T=dH(_,p.orientation,p.dir);if(T!==void 0){if(_.metaKey||_.ctrlKey||_.altKey||_.shiftKey)return;_.preventDefault();let C=g().filter(A=>A.focusable).map(A=>A.ref.current);if(T==="last")C.reverse();else if(T==="prev"||T==="next"){T==="prev"&&C.reverse();const A=C.indexOf(_.currentTarget);C=p.loop?pH(C,A+1):C.slice(A+1)}setTimeout(()=>DT(C))}}),children:typeof a=="function"?a({isCurrentTabStop:h,hasTabStop:w!=null}):a})})});IT.displayName=AT;var cH={ArrowLeft:"prev",ArrowUp:"prev",ArrowRight:"next",ArrowDown:"next",PageUp:"first",Home:"first",PageDown:"last",End:"last"};function fH(e,t){return t!=="rtl"?e:e==="ArrowLeft"?"ArrowRight":e==="ArrowRight"?"ArrowLeft":e}function dH(e,t,n){const r=fH(e.key,n);if(!(t==="vertical"&&["ArrowLeft","ArrowRight"].includes(r))&&!(t==="horizontal"&&["ArrowUp","ArrowDown"].includes(r)))return cH[r]}function DT(e,t=!1){const n=document.activeElement;for(const r of e)if(r===n||(r.focus({preventScroll:t}),document.activeElement!==n))return}function pH(e,t){return e.map((n,r)=>e[(t+r)%e.length])}var hH=NT,mH=IT,gH=function(e){if(typeof document>"u")return null;var t=Array.isArray(e)?e[0]:e;return t.ownerDocument.body},ul=new WeakMap,zd=new WeakMap,Hd={},C1=0,RT=function(e){return e&&(e.host||RT(e.parentNode))},bH=function(e,t){return t.map(function(n){if(e.contains(n))return n;var r=RT(n);return r&&e.contains(r)?r:(console.error("aria-hidden",n,"in not contained inside",e,". Doing nothing"),null)}).filter(function(n){return!!n})},vH=function(e,t,n,r){var i=bH(t,Array.isArray(e)?e:[e]);Hd[n]||(Hd[n]=new WeakMap);var o=Hd[n],a=[],l=new Set,c=new Set(i),f=function(h){!h||l.has(h)||(l.add(h),f(h.parentNode))};i.forEach(f);var p=function(h){!h||c.has(h)||Array.prototype.forEach.call(h.children,function(g){if(l.has(g))p(g);else try{var b=g.getAttribute(r),y=b!==null&&b!=="false",w=(ul.get(g)||0)+1,_=(o.get(g)||0)+1;ul.set(g,w),o.set(g,_),a.push(g),w===1&&y&&zd.set(g,!0),_===1&&g.setAttribute(n,"true"),y||g.setAttribute(r,"true")}catch(T){console.error("aria-hidden: cannot operate on ",g,T)}})};return p(t),l.clear(),C1++,function(){a.forEach(function(h){var g=ul.get(h)-1,b=o.get(h)-1;ul.set(h,g),o.set(h,b),g||(zd.has(h)||h.removeAttribute(r),zd.delete(h)),b||h.removeAttribute(n)}),C1--,C1||(ul=new WeakMap,ul=new WeakMap,zd=new WeakMap,Hd={})}},LT=function(e,t,n){n===void 0&&(n="data-aria-hidden");var r=Array.from(Array.isArray(e)?e:[e]),i=gH(e);return i?(r.push.apply(r,Array.from(i.querySelectorAll("[aria-live], script"))),vH(r,i,n,"aria-hidden")):function(){return null}},qi=function(){return qi=Object.assign||function(t){for(var n,r=1,i=arguments.length;r"u")return FH;var t=OH(e),n=document.documentElement.clientWidth,r=window.innerWidth;return{left:t[0],top:t[1],right:t[2],gap:Math.max(0,r-n+t[2]-t[0])}},$H=MT(),Fl="data-scroll-locked",jH=function(e,t,n,r){var i=e.left,o=e.top,a=e.right,l=e.gap;return n===void 0&&(n="margin"),` + .`.concat(xH,` { + overflow: hidden `).concat(r,`; + padding-right: `).concat(l,"px ").concat(r,`; + } + body[`).concat(Fl,`] { + overflow: hidden `).concat(r,`; + overscroll-behavior: contain; + `).concat([t&&"position: relative ".concat(r,";"),n==="margin"&&` + padding-left: `.concat(i,`px; + padding-top: `).concat(o,`px; + padding-right: `).concat(a,`px; + margin-left:0; + margin-top:0; + margin-right: `).concat(l,"px ").concat(r,`; + `),n==="padding"&&"padding-right: ".concat(l,"px ").concat(r,";")].filter(Boolean).join(""),` + } + + .`).concat(f0,` { + right: `).concat(l,"px ").concat(r,`; + } + + .`).concat(d0,` { + margin-right: `).concat(l,"px ").concat(r,`; + } + + .`).concat(f0," .").concat(f0,` { + right: 0 `).concat(r,`; + } + + .`).concat(d0," .").concat(d0,` { + margin-right: 0 `).concat(r,`; + } + + body[`).concat(Fl,`] { + `).concat(wH,": ").concat(l,`px; + } +`)},Yw=function(){var e=parseInt(document.body.getAttribute(Fl)||"0",10);return isFinite(e)?e:0},BH=function(){v.useEffect(function(){return document.body.setAttribute(Fl,(Yw()+1).toString()),function(){var e=Yw()-1;e<=0?document.body.removeAttribute(Fl):document.body.setAttribute(Fl,e.toString())}},[])},VH=function(e){var t=e.noRelative,n=e.noImportant,r=e.gapMode,i=r===void 0?"margin":r;BH();var o=v.useMemo(function(){return MH(i)},[i]);return v.createElement($H,{styles:jH(o,!t,i,n?"":"!important")})},o2=!1;if(typeof window<"u")try{var qd=Object.defineProperty({},"passive",{get:function(){return o2=!0,!0}});window.addEventListener("test",qd,qd),window.removeEventListener("test",qd,qd)}catch{o2=!1}var cl=o2?{passive:!1}:!1,UH=function(e){return e.tagName==="TEXTAREA"},$T=function(e,t){if(!(e instanceof Element))return!1;var n=window.getComputedStyle(e);return n[t]!=="hidden"&&!(n.overflowY===n.overflowX&&!UH(e)&&n[t]==="visible")},zH=function(e){return $T(e,"overflowY")},HH=function(e){return $T(e,"overflowX")},Xw=function(e,t){var n=t.ownerDocument,r=t;do{typeof ShadowRoot<"u"&&r instanceof ShadowRoot&&(r=r.host);var i=jT(e,r);if(i){var o=BT(e,r),a=o[1],l=o[2];if(a>l)return!0}r=r.parentNode}while(r&&r!==n.body);return!1},qH=function(e){var t=e.scrollTop,n=e.scrollHeight,r=e.clientHeight;return[t,n,r]},WH=function(e){var t=e.scrollLeft,n=e.scrollWidth,r=e.clientWidth;return[t,n,r]},jT=function(e,t){return e==="v"?zH(t):HH(t)},BT=function(e,t){return e==="v"?qH(t):WH(t)},GH=function(e,t){return e==="h"&&t==="rtl"?-1:1},QH=function(e,t,n,r,i){var o=GH(e,window.getComputedStyle(t).direction),a=o*r,l=n.target,c=t.contains(l),f=!1,p=a>0,h=0,g=0;do{if(!l)break;var b=BT(e,l),y=b[0],w=b[1],_=b[2],T=w-_-o*y;(y||T)&&jT(e,l)&&(h+=T,g+=y);var N=l.parentNode;l=N&&N.nodeType===Node.DOCUMENT_FRAGMENT_NODE?N.host:N}while(!c&&l!==document.body||c&&(t.contains(l)||t===l));return(p&&Math.abs(h)<1||!p&&Math.abs(g)<1)&&(f=!0),f},Wd=function(e){return"changedTouches"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},Zw=function(e){return[e.deltaX,e.deltaY]},Jw=function(e){return e&&"current"in e?e.current:e},YH=function(e,t){return e[0]===t[0]&&e[1]===t[1]},XH=function(e){return` + .block-interactivity-`.concat(e,` {pointer-events: none;} + .allow-interactivity-`).concat(e,` {pointer-events: all;} +`)},ZH=0,fl=[];function JH(e){var t=v.useRef([]),n=v.useRef([0,0]),r=v.useRef(),i=v.useState(ZH++)[0],o=v.useState(MT)[0],a=v.useRef(e);v.useEffect(function(){a.current=e},[e]),v.useEffect(function(){if(e.inert){document.body.classList.add("block-interactivity-".concat(i));var w=yH([e.lockRef.current],(e.shards||[]).map(Jw),!0).filter(Boolean);return w.forEach(function(_){return _.classList.add("allow-interactivity-".concat(i))}),function(){document.body.classList.remove("block-interactivity-".concat(i)),w.forEach(function(_){return _.classList.remove("allow-interactivity-".concat(i))})}}},[e.inert,e.lockRef.current,e.shards]);var l=v.useCallback(function(w,_){if("touches"in w&&w.touches.length===2||w.type==="wheel"&&w.ctrlKey)return!a.current.allowPinchZoom;var T=Wd(w),N=n.current,C="deltaX"in w?w.deltaX:N[0]-T[0],A="deltaY"in w?w.deltaY:N[1]-T[1],D,L=w.target,F=Math.abs(C)>Math.abs(A)?"h":"v";if("touches"in w&&F==="h"&&L.type==="range")return!1;var H=Xw(F,L);if(!H)return!0;if(H?D=F:(D=F==="v"?"h":"v",H=Xw(F,L)),!H)return!1;if(!r.current&&"changedTouches"in w&&(C||A)&&(r.current=D),!D)return!0;var $=r.current||D;return QH($,_,w,$==="h"?C:A)},[]),c=v.useCallback(function(w){var _=w;if(!(!fl.length||fl[fl.length-1]!==o)){var T="deltaY"in _?Zw(_):Wd(_),N=t.current.filter(function(D){return D.name===_.type&&(D.target===_.target||_.target===D.shadowParent)&&YH(D.delta,T)})[0];if(N&&N.should){_.cancelable&&_.preventDefault();return}if(!N){var C=(a.current.shards||[]).map(Jw).filter(Boolean).filter(function(D){return D.contains(_.target)}),A=C.length>0?l(_,C[0]):!a.current.noIsolation;A&&_.cancelable&&_.preventDefault()}}},[]),f=v.useCallback(function(w,_,T,N){var C={name:w,delta:_,target:T,should:N,shadowParent:KH(T)};t.current.push(C),setTimeout(function(){t.current=t.current.filter(function(A){return A!==C})},1)},[]),p=v.useCallback(function(w){n.current=Wd(w),r.current=void 0},[]),h=v.useCallback(function(w){f(w.type,Zw(w),w.target,l(w,e.lockRef.current))},[]),g=v.useCallback(function(w){f(w.type,Wd(w),w.target,l(w,e.lockRef.current))},[]);v.useEffect(function(){return fl.push(o),e.setCallbacks({onScrollCapture:h,onWheelCapture:h,onTouchMoveCapture:g}),document.addEventListener("wheel",c,cl),document.addEventListener("touchmove",c,cl),document.addEventListener("touchstart",p,cl),function(){fl=fl.filter(function(w){return w!==o}),document.removeEventListener("wheel",c,cl),document.removeEventListener("touchmove",c,cl),document.removeEventListener("touchstart",p,cl)}},[]);var b=e.removeScrollBar,y=e.inert;return v.createElement(v.Fragment,null,y?v.createElement(o,{styles:XH(i)}):null,b?v.createElement(VH,{noRelative:e.noRelative,gapMode:e.gapMode}):null)}function KH(e){for(var t=null;e!==null;)e instanceof ShadowRoot&&(t=e.host,e=e.host),e=e.parentNode;return t}const eq=NH(OT,JH);var Qb=v.forwardRef(function(e,t){return v.createElement(Bp,qi({},e,{ref:t,sideCar:eq}))});Qb.classNames=Bp.classNames;var s2=["Enter"," "],tq=["ArrowDown","PageUp","Home"],VT=["ArrowUp","PageDown","End"],nq=[...tq,...VT],rq={ltr:[...s2,"ArrowRight"],rtl:[...s2,"ArrowLeft"]},iq={ltr:["ArrowLeft"],rtl:["ArrowRight"]},of="Menu",[Oc,oq,sq]=H7(of),[Da,UT]=Ia(of,[sq,$p,CT]),Vp=$p(),zT=CT(),[aq,Ra]=Da(of),[lq,sf]=Da(of),HT=e=>{const{__scopeMenu:t,open:n=!1,children:r,dir:i,onOpenChange:o,modal:a=!0}=e,l=Vp(t),[c,f]=v.useState(null),p=v.useRef(!1),h=Fo(o),g=q7(i);return v.useEffect(()=>{const b=()=>{p.current=!0,document.addEventListener("pointerdown",y,{capture:!0,once:!0}),document.addEventListener("pointermove",y,{capture:!0,once:!0})},y=()=>p.current=!1;return document.addEventListener("keydown",b,{capture:!0}),()=>{document.removeEventListener("keydown",b,{capture:!0}),document.removeEventListener("pointerdown",y,{capture:!0}),document.removeEventListener("pointermove",y,{capture:!0})}},[]),k.jsx(ET,{...l,children:k.jsx(aq,{scope:t,open:n,onOpenChange:h,content:c,onContentChange:f,children:k.jsx(lq,{scope:t,onClose:v.useCallback(()=>h(!1),[h]),isUsingKeyboardRef:p,dir:g,modal:a,children:r})})})};HT.displayName=of;var uq="MenuAnchor",Yb=v.forwardRef((e,t)=>{const{__scopeMenu:n,...r}=e,i=Vp(n);return k.jsx(ST,{...i,...r,ref:t})});Yb.displayName=uq;var Xb="MenuPortal",[cq,qT]=Da(Xb,{forceMount:void 0}),WT=e=>{const{__scopeMenu:t,forceMount:n,children:r,container:i}=e,o=Ra(Xb,t);return k.jsx(cq,{scope:t,forceMount:n,children:k.jsx(co,{present:n||o.open,children:k.jsx(jp,{asChild:!0,container:i,children:r})})})};WT.displayName=Xb;var Hr="MenuContent",[fq,Zb]=Da(Hr),GT=v.forwardRef((e,t)=>{const n=qT(Hr,e.__scopeMenu),{forceMount:r=n.forceMount,...i}=e,o=Ra(Hr,e.__scopeMenu),a=sf(Hr,e.__scopeMenu);return k.jsx(Oc.Provider,{scope:e.__scopeMenu,children:k.jsx(co,{present:r||o.open,children:k.jsx(Oc.Slot,{scope:e.__scopeMenu,children:a.modal?k.jsx(dq,{...i,ref:t}):k.jsx(pq,{...i,ref:t})})})})}),dq=v.forwardRef((e,t)=>{const n=Ra(Hr,e.__scopeMenu),r=v.useRef(null),i=on(t,r);return v.useEffect(()=>{const o=r.current;if(o)return LT(o)},[]),k.jsx(Jb,{...e,ref:i,trapFocus:n.open,disableOutsidePointerEvents:n.open,disableOutsideScroll:!0,onFocusOutside:$e(e.onFocusOutside,o=>o.preventDefault(),{checkForDefaultPrevented:!1}),onDismiss:()=>n.onOpenChange(!1)})}),pq=v.forwardRef((e,t)=>{const n=Ra(Hr,e.__scopeMenu);return k.jsx(Jb,{...e,ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,disableOutsideScroll:!1,onDismiss:()=>n.onOpenChange(!1)})}),hq=Lc("MenuContent.ScrollLock"),Jb=v.forwardRef((e,t)=>{const{__scopeMenu:n,loop:r=!1,trapFocus:i,onOpenAutoFocus:o,onCloseAutoFocus:a,disableOutsidePointerEvents:l,onEntryFocus:c,onEscapeKeyDown:f,onPointerDownOutside:p,onFocusOutside:h,onInteractOutside:g,onDismiss:b,disableOutsideScroll:y,...w}=e,_=Ra(Hr,n),T=sf(Hr,n),N=Vp(n),C=zT(n),A=oq(n),[D,L]=v.useState(null),F=v.useRef(null),H=on(t,F,_.onContentChange),$=v.useRef(0),Q=v.useRef(""),Z=v.useRef(0),ee=v.useRef(null),U=v.useRef("right"),O=v.useRef(0),G=y?Qb:v.Fragment,X=y?{as:hq,allowPinchZoom:!0}:void 0,K=B=>{var le,te;const q=Q.current+B,j=A().filter(de=>!de.disabled),R=document.activeElement,re=(le=j.find(de=>de.ref.current===R))==null?void 0:le.textValue,Y=j.map(de=>de.textValue),se=kq(Y,q,re),ue=(te=j.find(de=>de.textValue===se))==null?void 0:te.ref.current;(function de(ve){Q.current=ve,window.clearTimeout($.current),ve!==""&&($.current=window.setTimeout(()=>de(""),1e3))})(q),ue&&setTimeout(()=>ue.focus())};v.useEffect(()=>()=>window.clearTimeout($.current),[]),Q7();const P=v.useCallback(B=>{var j,R;return U.current===((j=ee.current)==null?void 0:j.side)&&Nq(B,(R=ee.current)==null?void 0:R.area)},[]);return k.jsx(fq,{scope:n,searchRef:Q,onItemEnter:v.useCallback(B=>{P(B)&&B.preventDefault()},[P]),onItemLeave:v.useCallback(B=>{var q;P(B)||((q=F.current)==null||q.focus(),L(null))},[P]),onTriggerLeave:v.useCallback(B=>{P(B)&&B.preventDefault()},[P]),pointerGraceTimerRef:Z,onPointerGraceIntentChange:v.useCallback(B=>{ee.current=B},[]),children:k.jsx(G,{...X,children:k.jsx($b,{asChild:!0,trapped:i,onMountAutoFocus:$e(o,B=>{var q;B.preventDefault(),(q=F.current)==null||q.focus({preventScroll:!0})}),onUnmountAutoFocus:a,children:k.jsx(Lp,{asChild:!0,disableOutsidePointerEvents:l,onEscapeKeyDown:f,onPointerDownOutside:p,onFocusOutside:h,onInteractOutside:g,onDismiss:b,children:k.jsx(hH,{asChild:!0,...C,dir:T.dir,orientation:"vertical",loop:r,currentTabStopId:D,onCurrentTabStopIdChange:L,onEntryFocus:$e(c,B=>{T.isUsingKeyboardRef.current||B.preventDefault()}),preventScrollOnEntryFocus:!0,children:k.jsx(_T,{role:"menu","aria-orientation":"vertical","data-state":uk(_.open),"data-radix-menu-content":"",dir:T.dir,...N,...w,ref:H,style:{outline:"none",...w.style},onKeyDown:$e(w.onKeyDown,B=>{const j=B.target.closest("[data-radix-menu-content]")===B.currentTarget,R=B.ctrlKey||B.altKey||B.metaKey,re=B.key.length===1;j&&(B.key==="Tab"&&B.preventDefault(),!R&&re&&K(B.key));const Y=F.current;if(B.target!==Y||!nq.includes(B.key))return;B.preventDefault();const ue=A().filter(le=>!le.disabled).map(le=>le.ref.current);VT.includes(B.key)&&ue.reverse(),_q(ue)}),onBlur:$e(e.onBlur,B=>{B.currentTarget.contains(B.target)||(window.clearTimeout($.current),Q.current="")}),onPointerMove:$e(e.onPointerMove,Mc(B=>{const q=B.target,j=O.current!==B.clientX;if(B.currentTarget.contains(q)&&j){const R=B.clientX>O.current?"right":"left";U.current=R,O.current=B.clientX}}))})})})})})})});GT.displayName=Hr;var mq="MenuGroup",Kb=v.forwardRef((e,t)=>{const{__scopeMenu:n,...r}=e;return k.jsx(Ot.div,{role:"group",...r,ref:t})});Kb.displayName=mq;var gq="MenuLabel",QT=v.forwardRef((e,t)=>{const{__scopeMenu:n,...r}=e;return k.jsx(Ot.div,{...r,ref:t})});QT.displayName=gq;var X0="MenuItem",Kw="menu.itemSelect",Up=v.forwardRef((e,t)=>{const{disabled:n=!1,onSelect:r,...i}=e,o=v.useRef(null),a=sf(X0,e.__scopeMenu),l=Zb(X0,e.__scopeMenu),c=on(t,o),f=v.useRef(!1),p=()=>{const h=o.current;if(!n&&h){const g=new CustomEvent(Kw,{bubbles:!0,cancelable:!0});h.addEventListener(Kw,b=>r==null?void 0:r(b),{once:!0}),z7(h,g),g.defaultPrevented?f.current=!1:a.onClose()}};return k.jsx(YT,{...i,ref:c,disabled:n,onClick:$e(e.onClick,p),onPointerDown:h=>{var g;(g=e.onPointerDown)==null||g.call(e,h),f.current=!0},onPointerUp:$e(e.onPointerUp,h=>{var g;f.current||(g=h.currentTarget)==null||g.click()}),onKeyDown:$e(e.onKeyDown,h=>{const g=l.searchRef.current!=="";n||g&&h.key===" "||s2.includes(h.key)&&(h.currentTarget.click(),h.preventDefault())})})});Up.displayName=X0;var YT=v.forwardRef((e,t)=>{const{__scopeMenu:n,disabled:r=!1,textValue:i,...o}=e,a=Zb(X0,n),l=zT(n),c=v.useRef(null),f=on(t,c),[p,h]=v.useState(!1),[g,b]=v.useState("");return v.useEffect(()=>{const y=c.current;y&&b((y.textContent??"").trim())},[o.children]),k.jsx(Oc.ItemSlot,{scope:n,disabled:r,textValue:i??g,children:k.jsx(mH,{asChild:!0,...l,focusable:!r,children:k.jsx(Ot.div,{role:"menuitem","data-highlighted":p?"":void 0,"aria-disabled":r||void 0,"data-disabled":r?"":void 0,...o,ref:f,onPointerMove:$e(e.onPointerMove,Mc(y=>{r?a.onItemLeave(y):(a.onItemEnter(y),y.defaultPrevented||y.currentTarget.focus({preventScroll:!0}))})),onPointerLeave:$e(e.onPointerLeave,Mc(y=>a.onItemLeave(y))),onFocus:$e(e.onFocus,()=>h(!0)),onBlur:$e(e.onBlur,()=>h(!1))})})})}),bq="MenuCheckboxItem",XT=v.forwardRef((e,t)=>{const{checked:n=!1,onCheckedChange:r,...i}=e;return k.jsx(tk,{scope:e.__scopeMenu,checked:n,children:k.jsx(Up,{role:"menuitemcheckbox","aria-checked":Z0(n)?"mixed":n,...i,ref:t,"data-state":tv(n),onSelect:$e(i.onSelect,()=>r==null?void 0:r(Z0(n)?!0:!n),{checkForDefaultPrevented:!1})})})});XT.displayName=bq;var ZT="MenuRadioGroup",[vq,yq]=Da(ZT,{value:void 0,onValueChange:()=>{}}),JT=v.forwardRef((e,t)=>{const{value:n,onValueChange:r,...i}=e,o=Fo(r);return k.jsx(vq,{scope:e.__scopeMenu,value:n,onValueChange:o,children:k.jsx(Kb,{...i,ref:t})})});JT.displayName=ZT;var KT="MenuRadioItem",ek=v.forwardRef((e,t)=>{const{value:n,...r}=e,i=yq(KT,e.__scopeMenu),o=n===i.value;return k.jsx(tk,{scope:e.__scopeMenu,checked:o,children:k.jsx(Up,{role:"menuitemradio","aria-checked":o,...r,ref:t,"data-state":tv(o),onSelect:$e(r.onSelect,()=>{var a;return(a=i.onValueChange)==null?void 0:a.call(i,n)},{checkForDefaultPrevented:!1})})})});ek.displayName=KT;var ev="MenuItemIndicator",[tk,xq]=Da(ev,{checked:!1}),nk=v.forwardRef((e,t)=>{const{__scopeMenu:n,forceMount:r,...i}=e,o=xq(ev,n);return k.jsx(co,{present:r||Z0(o.checked)||o.checked===!0,children:k.jsx(Ot.span,{...i,ref:t,"data-state":tv(o.checked)})})});nk.displayName=ev;var wq="MenuSeparator",rk=v.forwardRef((e,t)=>{const{__scopeMenu:n,...r}=e;return k.jsx(Ot.div,{role:"separator","aria-orientation":"horizontal",...r,ref:t})});rk.displayName=wq;var Eq="MenuArrow",ik=v.forwardRef((e,t)=>{const{__scopeMenu:n,...r}=e,i=Vp(n);return k.jsx(TT,{...i,...r,ref:t})});ik.displayName=Eq;var Sq="MenuSub",[die,ok]=Da(Sq),ec="MenuSubTrigger",sk=v.forwardRef((e,t)=>{const n=Ra(ec,e.__scopeMenu),r=sf(ec,e.__scopeMenu),i=ok(ec,e.__scopeMenu),o=Zb(ec,e.__scopeMenu),a=v.useRef(null),{pointerGraceTimerRef:l,onPointerGraceIntentChange:c}=o,f={__scopeMenu:e.__scopeMenu},p=v.useCallback(()=>{a.current&&window.clearTimeout(a.current),a.current=null},[]);return v.useEffect(()=>p,[p]),v.useEffect(()=>{const h=l.current;return()=>{window.clearTimeout(h),c(null)}},[l,c]),k.jsx(Yb,{asChild:!0,...f,children:k.jsx(YT,{id:i.triggerId,"aria-haspopup":"menu","aria-expanded":n.open,"aria-controls":i.contentId,"data-state":uk(n.open),...e,ref:Dp(t,i.onTriggerChange),onClick:h=>{var g;(g=e.onClick)==null||g.call(e,h),!(e.disabled||h.defaultPrevented)&&(h.currentTarget.focus(),n.open||n.onOpenChange(!0))},onPointerMove:$e(e.onPointerMove,Mc(h=>{o.onItemEnter(h),!h.defaultPrevented&&!e.disabled&&!n.open&&!a.current&&(o.onPointerGraceIntentChange(null),a.current=window.setTimeout(()=>{n.onOpenChange(!0),p()},100))})),onPointerLeave:$e(e.onPointerLeave,Mc(h=>{var b,y;p();const g=(b=n.content)==null?void 0:b.getBoundingClientRect();if(g){const w=(y=n.content)==null?void 0:y.dataset.side,_=w==="right",T=_?-5:5,N=g[_?"left":"right"],C=g[_?"right":"left"];o.onPointerGraceIntentChange({area:[{x:h.clientX+T,y:h.clientY},{x:N,y:g.top},{x:C,y:g.top},{x:C,y:g.bottom},{x:N,y:g.bottom}],side:w}),window.clearTimeout(l.current),l.current=window.setTimeout(()=>o.onPointerGraceIntentChange(null),300)}else{if(o.onTriggerLeave(h),h.defaultPrevented)return;o.onPointerGraceIntentChange(null)}})),onKeyDown:$e(e.onKeyDown,h=>{var b;const g=o.searchRef.current!=="";e.disabled||g&&h.key===" "||rq[r.dir].includes(h.key)&&(n.onOpenChange(!0),(b=n.content)==null||b.focus(),h.preventDefault())})})})});sk.displayName=ec;var ak="MenuSubContent",lk=v.forwardRef((e,t)=>{const n=qT(Hr,e.__scopeMenu),{forceMount:r=n.forceMount,...i}=e,o=Ra(Hr,e.__scopeMenu),a=sf(Hr,e.__scopeMenu),l=ok(ak,e.__scopeMenu),c=v.useRef(null),f=on(t,c);return k.jsx(Oc.Provider,{scope:e.__scopeMenu,children:k.jsx(co,{present:r||o.open,children:k.jsx(Oc.Slot,{scope:e.__scopeMenu,children:k.jsx(Jb,{id:l.contentId,"aria-labelledby":l.triggerId,...i,ref:f,align:"start",side:a.dir==="rtl"?"left":"right",disableOutsidePointerEvents:!1,disableOutsideScroll:!1,trapFocus:!1,onOpenAutoFocus:p=>{var h;a.isUsingKeyboardRef.current&&((h=c.current)==null||h.focus()),p.preventDefault()},onCloseAutoFocus:p=>p.preventDefault(),onFocusOutside:$e(e.onFocusOutside,p=>{p.target!==l.trigger&&o.onOpenChange(!1)}),onEscapeKeyDown:$e(e.onEscapeKeyDown,p=>{a.onClose(),p.preventDefault()}),onKeyDown:$e(e.onKeyDown,p=>{var b;const h=p.currentTarget.contains(p.target),g=iq[a.dir].includes(p.key);h&&g&&(o.onOpenChange(!1),(b=l.trigger)==null||b.focus(),p.preventDefault())})})})})})});lk.displayName=ak;function uk(e){return e?"open":"closed"}function Z0(e){return e==="indeterminate"}function tv(e){return Z0(e)?"indeterminate":e?"checked":"unchecked"}function _q(e){const t=document.activeElement;for(const n of e)if(n===t||(n.focus(),document.activeElement!==t))return}function Tq(e,t){return e.map((n,r)=>e[(t+r)%e.length])}function kq(e,t,n){const i=t.length>1&&Array.from(t).every(f=>f===t[0])?t[0]:t,o=n?e.indexOf(n):-1;let a=Tq(e,Math.max(o,0));i.length===1&&(a=a.filter(f=>f!==n));const c=a.find(f=>f.toLowerCase().startsWith(i.toLowerCase()));return c!==n?c:void 0}function Cq(e,t){const{x:n,y:r}=e;let i=!1;for(let o=0,a=t.length-1;or!=g>r&&n<(h-f)*(r-p)/(g-p)+f&&(i=!i)}return i}function Nq(e,t){if(!t)return!1;const n={x:e.clientX,y:e.clientY};return Cq(n,t)}function Mc(e){return t=>t.pointerType==="mouse"?e(t):void 0}var Aq=HT,Iq=Yb,Dq=WT,Rq=GT,Lq=Kb,Pq=QT,Fq=Up,Oq=XT,Mq=JT,$q=ek,jq=nk,Bq=rk,Vq=ik,Uq=sk,zq=lk,zp="DropdownMenu",[Hq,pie]=Ia(zp,[UT]),Jn=UT(),[qq,ck]=Hq(zp),fk=e=>{const{__scopeDropdownMenu:t,children:n,dir:r,open:i,defaultOpen:o,onOpenChange:a,modal:l=!0}=e,c=Jn(t),f=v.useRef(null),[p,h]=Rp({prop:i,defaultProp:o??!1,onChange:a,caller:zp});return k.jsx(qq,{scope:t,triggerId:ma(),triggerRef:f,contentId:ma(),open:p,onOpenChange:h,onOpenToggle:v.useCallback(()=>h(g=>!g),[h]),modal:l,children:k.jsx(Aq,{...c,open:p,onOpenChange:h,dir:r,modal:l,children:n})})};fk.displayName=zp;var dk="DropdownMenuTrigger",pk=v.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,disabled:r=!1,...i}=e,o=ck(dk,n),a=Jn(n);return k.jsx(Iq,{asChild:!0,...a,children:k.jsx(Ot.button,{type:"button",id:o.triggerId,"aria-haspopup":"menu","aria-expanded":o.open,"aria-controls":o.open?o.contentId:void 0,"data-state":o.open?"open":"closed","data-disabled":r?"":void 0,disabled:r,...i,ref:Dp(t,o.triggerRef),onPointerDown:$e(e.onPointerDown,l=>{!r&&l.button===0&&l.ctrlKey===!1&&(o.onOpenToggle(),o.open||l.preventDefault())}),onKeyDown:$e(e.onKeyDown,l=>{r||(["Enter"," "].includes(l.key)&&o.onOpenToggle(),l.key==="ArrowDown"&&o.onOpenChange(!0),["Enter"," ","ArrowDown"].includes(l.key)&&l.preventDefault())})})})});pk.displayName=dk;var Wq="DropdownMenuPortal",hk=e=>{const{__scopeDropdownMenu:t,...n}=e,r=Jn(t);return k.jsx(Dq,{...r,...n})};hk.displayName=Wq;var mk="DropdownMenuContent",gk=v.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,...r}=e,i=ck(mk,n),o=Jn(n),a=v.useRef(!1);return k.jsx(Rq,{id:i.contentId,"aria-labelledby":i.triggerId,...o,...r,ref:t,onCloseAutoFocus:$e(e.onCloseAutoFocus,l=>{var c;a.current||(c=i.triggerRef.current)==null||c.focus(),a.current=!1,l.preventDefault()}),onInteractOutside:$e(e.onInteractOutside,l=>{const c=l.detail.originalEvent,f=c.button===0&&c.ctrlKey===!0,p=c.button===2||f;(!i.modal||p)&&(a.current=!0)}),style:{...e.style,"--radix-dropdown-menu-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-dropdown-menu-content-available-width":"var(--radix-popper-available-width)","--radix-dropdown-menu-content-available-height":"var(--radix-popper-available-height)","--radix-dropdown-menu-trigger-width":"var(--radix-popper-anchor-width)","--radix-dropdown-menu-trigger-height":"var(--radix-popper-anchor-height)"}})});gk.displayName=mk;var Gq="DropdownMenuGroup",Qq=v.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,...r}=e,i=Jn(n);return k.jsx(Lq,{...i,...r,ref:t})});Qq.displayName=Gq;var Yq="DropdownMenuLabel",Xq=v.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,...r}=e,i=Jn(n);return k.jsx(Pq,{...i,...r,ref:t})});Xq.displayName=Yq;var Zq="DropdownMenuItem",bk=v.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,...r}=e,i=Jn(n);return k.jsx(Fq,{...i,...r,ref:t})});bk.displayName=Zq;var Jq="DropdownMenuCheckboxItem",Kq=v.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,...r}=e,i=Jn(n);return k.jsx(Oq,{...i,...r,ref:t})});Kq.displayName=Jq;var eW="DropdownMenuRadioGroup",tW=v.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,...r}=e,i=Jn(n);return k.jsx(Mq,{...i,...r,ref:t})});tW.displayName=eW;var nW="DropdownMenuRadioItem",rW=v.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,...r}=e,i=Jn(n);return k.jsx($q,{...i,...r,ref:t})});rW.displayName=nW;var iW="DropdownMenuItemIndicator",oW=v.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,...r}=e,i=Jn(n);return k.jsx(jq,{...i,...r,ref:t})});oW.displayName=iW;var sW="DropdownMenuSeparator",aW=v.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,...r}=e,i=Jn(n);return k.jsx(Bq,{...i,...r,ref:t})});aW.displayName=sW;var lW="DropdownMenuArrow",uW=v.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,...r}=e,i=Jn(n);return k.jsx(Vq,{...i,...r,ref:t})});uW.displayName=lW;var cW="DropdownMenuSubTrigger",fW=v.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,...r}=e,i=Jn(n);return k.jsx(Uq,{...i,...r,ref:t})});fW.displayName=cW;var dW="DropdownMenuSubContent",pW=v.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,...r}=e,i=Jn(n);return k.jsx(zq,{...i,...r,ref:t,style:{...e.style,"--radix-dropdown-menu-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-dropdown-menu-content-available-width":"var(--radix-popper-available-width)","--radix-dropdown-menu-content-available-height":"var(--radix-popper-available-height)","--radix-dropdown-menu-trigger-width":"var(--radix-popper-anchor-width)","--radix-dropdown-menu-trigger-height":"var(--radix-popper-anchor-height)"}})});pW.displayName=dW;var hW=fk,mW=pk,gW=hk,bW=gk,vW=bk;const vk=v.forwardRef((e,t)=>{const n=Ne.c(6);let r;n[0]!==e.className?(r=st("graphiql-un-styled",e.className),n[0]=e.className,n[1]=r):r=n[1];let i;return n[2]!==e||n[3]!==t||n[4]!==r?(i=k.jsx(mW,{asChild:!0,children:k.jsx("button",{...e,ref:t,className:r})}),n[2]=e,n[3]=t,n[4]=r,n[5]=i):i=n[5],i});vk.displayName="DropdownMenuButton";const yW=e=>{const t=Ne.c(14);let n,r,i,o,a;t[0]!==e?({children:n,align:o,sideOffset:a,className:r,...i}=e,t[0]=e,t[1]=n,t[2]=r,t[3]=i,t[4]=o,t[5]=a):(n=t[1],r=t[2],i=t[3],o=t[4],a=t[5]);const l=o===void 0?"start":o,c=a===void 0?5:a;let f;t[6]!==r?(f=st("graphiql-dropdown-content",r),t[6]=r,t[7]=f):f=t[7];let p;return t[8]!==l||t[9]!==n||t[10]!==i||t[11]!==c||t[12]!==f?(p=k.jsx(gW,{children:k.jsx(bW,{align:l,sideOffset:c,className:f,...i,children:n})}),t[8]=l,t[9]=n,t[10]=i,t[11]=c,t[12]=f,t[13]=p):p=t[13],p},xW=e=>{const t=Ne.c(10);let n,r,i;t[0]!==e?({className:r,children:n,...i}=e,t[0]=e,t[1]=n,t[2]=r,t[3]=i):(n=t[1],r=t[2],i=t[3]);let o;t[4]!==r?(o=st("graphiql-dropdown-item",r),t[4]=r,t[5]=o):o=t[5];let a;return t[6]!==n||t[7]!==i||t[8]!==o?(a=k.jsx(vW,{className:o,...i,children:n}),t[6]=n,t[7]=i,t[8]=o,t[9]=a):a=t[9],a},Gd=Object.assign(hW,{Button:vk,Item:xW,Content:yW});var wW=Object.freeze({position:"absolute",border:0,width:1,height:1,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",wordWrap:"normal"}),EW="VisuallyHidden",yk=v.forwardRef((e,t)=>k.jsx(Ot.span,{...e,ref:t,style:{...wW,...e.style}}));yk.displayName=EW;var J0=yk,[Hp,hie]=Ia("Tooltip",[$p]),qp=$p(),xk="TooltipProvider",SW=700,a2="tooltip.open",[_W,nv]=Hp(xk),wk=e=>{const{__scopeTooltip:t,delayDuration:n=SW,skipDelayDuration:r=300,disableHoverableContent:i=!1,children:o}=e,a=v.useRef(!0),l=v.useRef(!1),c=v.useRef(0);return v.useEffect(()=>{const f=c.current;return()=>window.clearTimeout(f)},[]),k.jsx(_W,{scope:t,isOpenDelayedRef:a,delayDuration:n,onOpen:v.useCallback(()=>{window.clearTimeout(c.current),a.current=!1},[]),onClose:v.useCallback(()=>{window.clearTimeout(c.current),c.current=window.setTimeout(()=>a.current=!0,r)},[r]),isPointerInTransitRef:l,onPointerInTransitChange:v.useCallback(f=>{l.current=f},[]),disableHoverableContent:i,children:o})};wk.displayName=xk;var $c="Tooltip",[TW,af]=Hp($c),Ek=e=>{const{__scopeTooltip:t,children:n,open:r,defaultOpen:i,onOpenChange:o,disableHoverableContent:a,delayDuration:l}=e,c=nv($c,e.__scopeTooltip),f=qp(t),[p,h]=v.useState(null),g=ma(),b=v.useRef(0),y=a??c.disableHoverableContent,w=l??c.delayDuration,_=v.useRef(!1),[T,N]=Rp({prop:r,defaultProp:i??!1,onChange:F=>{F?(c.onOpen(),document.dispatchEvent(new CustomEvent(a2))):c.onClose(),o==null||o(F)},caller:$c}),C=v.useMemo(()=>T?_.current?"delayed-open":"instant-open":"closed",[T]),A=v.useCallback(()=>{window.clearTimeout(b.current),b.current=0,_.current=!1,N(!0)},[N]),D=v.useCallback(()=>{window.clearTimeout(b.current),b.current=0,N(!1)},[N]),L=v.useCallback(()=>{window.clearTimeout(b.current),b.current=window.setTimeout(()=>{_.current=!0,N(!0),b.current=0},w)},[w,N]);return v.useEffect(()=>()=>{b.current&&(window.clearTimeout(b.current),b.current=0)},[]),k.jsx(ET,{...f,children:k.jsx(TW,{scope:t,contentId:g,open:T,stateAttribute:C,trigger:p,onTriggerChange:h,onTriggerEnter:v.useCallback(()=>{c.isOpenDelayedRef.current?L():A()},[c.isOpenDelayedRef,L,A]),onTriggerLeave:v.useCallback(()=>{y?D():(window.clearTimeout(b.current),b.current=0)},[D,y]),onOpen:A,onClose:D,disableHoverableContent:y,children:n})})};Ek.displayName=$c;var l2="TooltipTrigger",Sk=v.forwardRef((e,t)=>{const{__scopeTooltip:n,...r}=e,i=af(l2,n),o=nv(l2,n),a=qp(n),l=v.useRef(null),c=on(t,l,i.onTriggerChange),f=v.useRef(!1),p=v.useRef(!1),h=v.useCallback(()=>f.current=!1,[]);return v.useEffect(()=>()=>document.removeEventListener("pointerup",h),[h]),k.jsx(ST,{asChild:!0,...a,children:k.jsx(Ot.button,{"aria-describedby":i.open?i.contentId:void 0,"data-state":i.stateAttribute,...r,ref:c,onPointerMove:$e(e.onPointerMove,g=>{g.pointerType!=="touch"&&!p.current&&!o.isPointerInTransitRef.current&&(i.onTriggerEnter(),p.current=!0)}),onPointerLeave:$e(e.onPointerLeave,()=>{i.onTriggerLeave(),p.current=!1}),onPointerDown:$e(e.onPointerDown,()=>{i.open&&i.onClose(),f.current=!0,document.addEventListener("pointerup",h,{once:!0})}),onFocus:$e(e.onFocus,()=>{f.current||i.onOpen()}),onBlur:$e(e.onBlur,i.onClose),onClick:$e(e.onClick,i.onClose)})})});Sk.displayName=l2;var rv="TooltipPortal",[kW,CW]=Hp(rv,{forceMount:void 0}),_k=e=>{const{__scopeTooltip:t,forceMount:n,children:r,container:i}=e,o=af(rv,t);return k.jsx(kW,{scope:t,forceMount:n,children:k.jsx(co,{present:n||o.open,children:k.jsx(jp,{asChild:!0,container:i,children:r})})})};_k.displayName=rv;var Zl="TooltipContent",Tk=v.forwardRef((e,t)=>{const n=CW(Zl,e.__scopeTooltip),{forceMount:r=n.forceMount,side:i="top",...o}=e,a=af(Zl,e.__scopeTooltip);return k.jsx(co,{present:r||a.open,children:a.disableHoverableContent?k.jsx(kk,{side:i,...o,ref:t}):k.jsx(NW,{side:i,...o,ref:t})})}),NW=v.forwardRef((e,t)=>{const n=af(Zl,e.__scopeTooltip),r=nv(Zl,e.__scopeTooltip),i=v.useRef(null),o=on(t,i),[a,l]=v.useState(null),{trigger:c,onClose:f}=n,p=i.current,{onPointerInTransitChange:h}=r,g=v.useCallback(()=>{l(null),h(!1)},[h]),b=v.useCallback((y,w)=>{const _=y.currentTarget,T={x:y.clientX,y:y.clientY},N=LW(T,_.getBoundingClientRect()),C=PW(T,N),A=FW(w.getBoundingClientRect()),D=MW([...C,...A]);l(D),h(!0)},[h]);return v.useEffect(()=>()=>g(),[g]),v.useEffect(()=>{if(c&&p){const y=_=>b(_,p),w=_=>b(_,c);return c.addEventListener("pointerleave",y),p.addEventListener("pointerleave",w),()=>{c.removeEventListener("pointerleave",y),p.removeEventListener("pointerleave",w)}}},[c,p,b,g]),v.useEffect(()=>{if(a){const y=w=>{const _=w.target,T={x:w.clientX,y:w.clientY},N=(c==null?void 0:c.contains(_))||(p==null?void 0:p.contains(_)),C=!OW(T,a);N?g():C&&(g(),f())};return document.addEventListener("pointermove",y),()=>document.removeEventListener("pointermove",y)}},[c,p,a,f,g]),k.jsx(kk,{...e,ref:o})}),[AW,IW]=Hp($c,{isInside:!1}),DW=vU("TooltipContent"),kk=v.forwardRef((e,t)=>{const{__scopeTooltip:n,children:r,"aria-label":i,onEscapeKeyDown:o,onPointerDownOutside:a,...l}=e,c=af(Zl,n),f=qp(n),{onClose:p}=c;return v.useEffect(()=>(document.addEventListener(a2,p),()=>document.removeEventListener(a2,p)),[p]),v.useEffect(()=>{if(c.trigger){const h=g=>{const b=g.target;b!=null&&b.contains(c.trigger)&&p()};return window.addEventListener("scroll",h,{capture:!0}),()=>window.removeEventListener("scroll",h,{capture:!0})}},[c.trigger,p]),k.jsx(Lp,{asChild:!0,disableOutsidePointerEvents:!1,onEscapeKeyDown:o,onPointerDownOutside:a,onFocusOutside:h=>h.preventDefault(),onDismiss:p,children:k.jsxs(_T,{"data-state":c.stateAttribute,...f,...l,ref:t,style:{...l.style,"--radix-tooltip-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-tooltip-content-available-width":"var(--radix-popper-available-width)","--radix-tooltip-content-available-height":"var(--radix-popper-available-height)","--radix-tooltip-trigger-width":"var(--radix-popper-anchor-width)","--radix-tooltip-trigger-height":"var(--radix-popper-anchor-height)"},children:[k.jsx(DW,{children:r}),k.jsx(AW,{scope:n,isInside:!0,children:k.jsx(J0,{id:c.contentId,role:"tooltip",children:i||r})})]})})});Tk.displayName=Zl;var Ck="TooltipArrow",RW=v.forwardRef((e,t)=>{const{__scopeTooltip:n,...r}=e,i=qp(n);return IW(Ck,n).isInside?null:k.jsx(TT,{...i,...r,ref:t})});RW.displayName=Ck;function LW(e,t){const n=Math.abs(t.top-e.y),r=Math.abs(t.bottom-e.y),i=Math.abs(t.right-e.x),o=Math.abs(t.left-e.x);switch(Math.min(n,r,i,o)){case o:return"left";case i:return"right";case n:return"top";case r:return"bottom";default:throw new Error("unreachable")}}function PW(e,t,n=5){const r=[];switch(t){case"top":r.push({x:e.x-n,y:e.y+n},{x:e.x+n,y:e.y+n});break;case"bottom":r.push({x:e.x-n,y:e.y-n},{x:e.x+n,y:e.y-n});break;case"left":r.push({x:e.x+n,y:e.y-n},{x:e.x+n,y:e.y+n});break;case"right":r.push({x:e.x-n,y:e.y-n},{x:e.x-n,y:e.y+n});break}return r}function FW(e){const{top:t,right:n,bottom:r,left:i}=e;return[{x:i,y:t},{x:n,y:t},{x:n,y:r},{x:i,y:r}]}function OW(e,t){const{x:n,y:r}=e;let i=!1;for(let o=0,a=t.length-1;or!=g>r&&n<(h-f)*(r-p)/(g-p)+f&&(i=!i)}return i}function MW(e){const t=e.slice();return t.sort((n,r)=>n.xr.x?1:n.yr.y?1:0),$W(t)}function $W(e){if(e.length<=1)return e.slice();const t=[];for(let r=0;r=2;){const o=t[t.length-1],a=t[t.length-2];if((o.x-a.x)*(i.y-a.y)>=(o.y-a.y)*(i.x-a.x))t.pop();else break}t.push(i)}t.pop();const n=[];for(let r=e.length-1;r>=0;r--){const i=e[r];for(;n.length>=2;){const o=n[n.length-1],a=n[n.length-2];if((o.x-a.x)*(i.y-a.y)>=(o.y-a.y)*(i.x-a.x))n.pop();else break}n.push(i)}return n.pop(),t.length===1&&n.length===1&&t[0].x===n[0].x&&t[0].y===n[0].y?t:t.concat(n)}var jW=wk,BW=Ek,VW=Sk,UW=_k,zW=Tk;const HW=e=>{const t=Ne.c(10),{children:n,align:r,side:i,sideOffset:o,label:a}=e,l=r===void 0?"start":r,c=i===void 0?"bottom":i,f=o===void 0?5:o;let p;t[0]!==n?(p=k.jsx(VW,{asChild:!0,children:n}),t[0]=n,t[1]=p):p=t[1];let h;t[2]!==l||t[3]!==a||t[4]!==c||t[5]!==f?(h=k.jsx(UW,{children:k.jsx(zW,{className:"graphiql-tooltip",align:l,side:c,sideOffset:f,children:a})}),t[2]=l,t[3]=a,t[4]=c,t[5]=f,t[6]=h):h=t[6];let g;return t[7]!==p||t[8]!==h?(g=k.jsxs(BW,{children:[p,h]}),t[7]=p,t[8]=h,t[9]=g):g=t[9],g},cr=Object.assign(HW,{Provider:jW}),qW=()=>{const e=Ne.c(18),{setOperationName:t,run:n,stop:r}=Uo();let i;e[0]===Symbol.for("react.memo_cache_sentinel")?(i=Ti("operations","operationName","isFetching","overrideOperationName"),e[0]=i):i=e[0];const{operations:o,operationName:a,isFetching:l,overrideOperationName:c}=vn(i);let f;e[1]!==o?(f=o===void 0?[]:o,e[1]=o,e[2]=f):f=e[2];const p=f,h=vn(WW),g=p.length>1&&typeof c!="string",b=l||h,y=`${b?"Stop":"Execute"} query (${ha(Ht.runQuery.key,"Cmd")})`;let w;e[3]!==b?(w=b?k.jsx(ZL,{}):k.jsx(zL,{}),e[3]=b,e[4]=w):w=e[4];let _;e[5]!==y||e[6]!==w?(_={type:"button",className:"graphiql-execute-button",children:w,"aria-label":y},e[5]=y,e[6]=w,e[7]=_):_=e[7];const T=_;let N;return e[8]!==T||e[9]!==g||e[10]!==b||e[11]!==y||e[12]!==a||e[13]!==p||e[14]!==n||e[15]!==t||e[16]!==r?(N=g&&!b?k.jsxs(Gd,{children:[k.jsx(cr,{label:y,children:k.jsx(Gd.Button,{...T})}),k.jsx(Gd.Content,{children:p.map((C,A)=>{const D=C.name?C.name.value:``;return k.jsx(Gd.Item,{onSelect:()=>{var L;const F=(L=C.name)==null?void 0:L.value;F&&F!==a&&t(F),n()},children:D},`${D}-${A}`)})})]}):k.jsx(cr,{label:y,children:k.jsx("button",{...T,onClick:b?r:n})}),e[8]=T,e[9]=g,e[10]=b,e[11]=y,e[12]=a,e[13]=p,e[14]=n,e[15]=t,e[16]=r,e[17]=N):N=e[17],N};function WW(e){return!!e.subscription}const rn=v.forwardRef((e,t)=>{const n=Ne.c(6);let r;n[0]!==e.className?(r=st("graphiql-un-styled",e.className),n[0]=e.className,n[1]=r):r=n[1];let i;return n[2]!==e||n[3]!==t||n[4]!==r?(i=k.jsx("button",{...e,ref:t,className:r}),n[2]=e,n[3]=t,n[4]=r,n[5]=i):i=n[5],i});rn.displayName="UnStyledButton";const mi=v.forwardRef((e,t)=>{const n=Ne.c(7);let r;n[0]!==e.className||n[1]!==e.state?(r=st("graphiql-button",{success:"graphiql-button-success",error:"graphiql-button-error"}[e.state],e.className),n[0]=e.className,n[1]=e.state,n[2]=r):r=n[2];let i;return n[3]!==e||n[4]!==t||n[5]!==r?(i=k.jsx("button",{...e,ref:t,className:r}),n[3]=e,n[4]=t,n[5]=r,n[6]=i):i=n[6],i});mi.displayName="Button";const p0=v.forwardRef((e,t)=>{const n=Ne.c(19);let r,i,o;n[0]!==e?({label:r,onClick:i,...o}=e,n[0]=e,n[1]=r,n[2]=i,n[3]=o):(r=n[1],i=n[2],o=n[3]);const[a,l]=v.useState(null);let c;n[4]!==i?(c=_=>{try{i&&i(_),l(null)}catch(T){const N=T;l(N instanceof Error?N:new Error(`Toolbar button click failed: ${N}`))}},n[4]=i,n[5]=c):c=n[5];const f=c,p=a&&"error";let h;n[6]!==o.className||n[7]!==p?(h=st("graphiql-toolbar-button",p,o.className),n[6]=o.className,n[7]=p,n[8]=h):h=n[8];const g=a?a.message:r,b=a?"true":o["aria-invalid"];let y;n[9]!==f||n[10]!==o||n[11]!==t||n[12]!==h||n[13]!==g||n[14]!==b?(y=k.jsx(rn,{...o,ref:t,type:"button",className:h,onClick:f,"aria-label":g,"aria-invalid":b}),n[9]=f,n[10]=o,n[11]=t,n[12]=h,n[13]=g,n[14]=b,n[15]=y):y=n[15];let w;return n[16]!==r||n[17]!==y?(w=k.jsx(cr,{label:r,children:y}),n[16]=r,n[17]=y,n[18]=w):w=n[18],w});p0.displayName="ToolbarButton";const GW=e=>{const t=Ne.c(19);let n,r;t[0]!==e?({onEdit:n,...r}=e,t[0]=e,t[1]=n,t[2]=r):(n=t[1],r=t[2]);const{setEditor:i,run:o,prettifyEditors:a,mergeQuery:l}=Uo();let c;t[3]===Symbol.for("react.memo_cache_sentinel")?(c=Ti("initialHeaders","shouldPersistHeaders","uriInstanceId"),t[3]=c):c=t[3];const{initialHeaders:f,shouldPersistHeaders:p,uriInstanceId:h}=vn(c),g=v.useRef(null),b=tu(QW);d7(n,p?Pt.headers:null,"headers");let y;t[4]!==f||t[5]!==l||t[6]!==b||t[7]!==a||t[8]!==o||t[9]!==i||t[10]!==h?(y=()=>{if(!b)return;const N=Tp({uri:`${h}${Al.requestHeaders}`,value:f}),C=kp(g,{model:N});i({headerEditor:C});const A=[C.addAction({...vi.runQuery,run:o}),C.addAction({...vi.prettify,run:a}),C.addAction({...vi.mergeFragments,run:l}),C,N];return Nc(A)},t[4]=f,t[5]=l,t[6]=b,t[7]=a,t[8]=o,t[9]=i,t[10]=h,t[11]=y):y=t[11];let w;t[12]!==b?(w=[b],t[12]=b,t[13]=w):w=t[13],v.useEffect(y,w);let _;t[14]!==r.className?(_=st("graphiql-editor",r.className),t[14]=r.className,t[15]=_):_=t[15];let T;return t[16]!==r||t[17]!==_?(T=k.jsx("div",{ref:g,tabIndex:0,onKeyDown:_p,...r,className:_}),t[16]=r,t[17]=_,t[18]=T):T=t[18],T};function QW(e){return e.monaco}const YW=e=>{var t;const n=Ne.c(14),{path:r}=e;let i;n[0]===Symbol.for("react.memo_cache_sentinel")?(i={width:null,height:null},n[0]=i):i=n[0];const[o,a]=v.useState(i),{width:l,height:c}=o,[f,p]=v.useState(null),h=v.useRef(null),g=(t=Nk(r))==null?void 0:t.href;let b,y;n[1]!==g?(b=()=>{if(!g){a({width:null,height:null}),p(null);return}fetch(g,{method:"HEAD"}).then(C=>{p(C.headers.get("Content-Type"))}).catch(()=>{p(null)})},y=[g],n[1]=g,n[2]=b,n[3]=y):(b=n[2],y=n[3]),v.useEffect(b,y);let w;n[4]===Symbol.for("react.memo_cache_sentinel")?(w=()=>{a({width:h.current.naturalWidth,height:h.current.naturalHeight})},n[4]=w):w=n[4];let _;n[5]!==g?(_=k.jsx("img",{alt:"",onLoad:w,ref:h,src:g}),n[5]=g,n[6]=_):_=n[6];let T;n[7]!==c||n[8]!==f||n[9]!==l?(T=l!==null&&c!==null&&k.jsxs("div",{children:[l,"x",c,f&&" "+f]}),n[7]=c,n[8]=f,n[9]=l,n[10]=T):T=n[10];let N;return n[11]!==_||n[12]!==T?(N=k.jsxs("div",{children:[_,T]}),n[11]=_,n[12]=T,n[13]=N):N=n[13],N},eE=Object.assign(YW,{shouldRender(e){const t=Nk(e);return t?/\.(bmp|gif|jpe?g|png|svg|webp)$/.test(t.pathname):!1}});function Nk(e){const t=e.slice(1).trim();try{return new URL(t,location.protocol+"//"+location.host)}catch{}}const mie=e=>"getModeId"in e?e.getModeId():e.getLanguageId();function XW(e){return new oj(e.lineNumber-1,e.column-1)}const gie=e=>{const{schema:t,documentAST:n,introspectionJSON:r,introspectionJSONString:i,documentString:o,...a}=e;if(t)return{...a,documentString:B4(t)};if(i)return{...a,introspectionJSONString:i};if(o)return{...a,documentString:o};if(r)return{...a,introspectionJSONString:JSON.stringify(r)};if(n){const l=OM(n,a.buildSchemaOptions);return{...a,documentString:B4(l)}}throw new Error("No schema supplied")},ZW=e=>{const t=Ne.c(53);let n,r,i;t[0]!==e?({onClickReference:n,onEdit:r,...i}=e,t[0]=e,t[1]=n,t[2]=r,t[3]=i):(n=t[1],r=t[2],i=t[3]);const{setOperationName:o,setEditor:a,updateActiveTabValues:l,setVisiblePlugin:c,setSchemaReference:f,run:p,setOperationFacts:h,copyQuery:g,prettifyEditors:b,mergeQuery:y}=Uo();let w;t[4]===Symbol.for("react.memo_cache_sentinel")?(w=Ti("initialQuery","schema","referencePlugin","operations","operationName","externalFragments","uriInstanceId","storage","monacoTheme"),t[4]=w):w=t[4];const{initialQuery:_,schema:T,referencePlugin:N,operations:C,operationName:A,externalFragments:D,uriInstanceId:L,storage:F,monacoTheme:H}=vn(w),$=v.useRef(null),Q=v.useRef(null);let Z,ee;t[5]!==n?(Z=()=>{Q.current=n},ee=[n],t[5]=n,t[6]=Z,t[7]=ee):(Z=t[6],ee=t[7]),v.useEffect(Z,ee);let U;t[8]!==A||t[9]!==C||t[10]!==T||t[11]!==h?(U=function(le){const te=lj(T,le.getValue()),de=b$(C,A,te==null?void 0:te.operations);return h({documentAST:te==null?void 0:te.documentAST,operationName:de,operations:te==null?void 0:te.operations}),te?{...te,operationName:de}:null},t[8]=A,t[9]=C,t[10]=T,t[11]=h,t[12]=U):U=t[12];const O=U,G=v.useRef(null);let X,K;t[13]!==A||t[14]!==C||t[15]!==p||t[16]!==o?(X=()=>{G.current=ue=>{var le;if(!C){p();return}const te=ue.getPosition(),de=ue.getModel().getOffsetAt(te);let ve;for(const _e of C)_e.loc&&_e.loc.start<=de&&_e.loc.end>=de&&(ve=(le=_e.name)==null?void 0:le.value);ve&&ve!==A&&o(ve),p()}},K=[A,C,p,o],t[13]=A,t[14]=C,t[15]=p,t[16]=o,t[17]=X,t[18]=K):(X=t[17],K=t[18]),v.useEffect(X,K);const{monacoGraphQL:P,monaco:B}=tu();let q;t[19]!==g||t[20]!==O||t[21]!==_||t[22]!==y||t[23]!==B||t[24]!==P||t[25]!==H||t[26]!==r||t[27]!==A||t[28]!==b||t[29]!==a||t[30]!==o||t[31]!==F||t[32]!==l||t[33]!==L?(q=()=>{if(!B||!P)return;const ue=Ul.file(`${L}${Al.operation}`),le=Ul.file(`${L}${Al.variables}`),{validateVariablesJSON:te}=xg;te[ue.toString()]=[le.toString()],P.setDiagnosticSettings(xg);const de=Tp({uri:ue.path.replace("/",""),value:_}),ve=kp($,{model:de,theme:H});a({queryEditor:ve});const _e=zl(100,()=>{const we=ve.getValue();F.set(Pt.query,we);const je=O(ve);r==null||r(we,je==null?void 0:je.documentAST),je!=null&&je.operationName&&A!==je.operationName&&o(je.operationName),l({query:we,operationName:(je==null?void 0:je.operationName)??null})});O(ve);const Re=[de.onDidChangeContent(_e),ve.addAction({...vi.runQuery,run:(...we)=>{const je=we;return G.current(...je)}}),ve.addAction({...vi.copyQuery,run:g}),ve.addAction({...vi.prettify,run:b}),ve.addAction({...vi.mergeFragments,run:y}),ve,de];return Nc(Re)},t[19]=g,t[20]=O,t[21]=_,t[22]=y,t[23]=B,t[24]=P,t[25]=H,t[26]=r,t[27]=A,t[28]=b,t[29]=a,t[30]=o,t[31]=F,t[32]=l,t[33]=L,t[34]=q):q=t[34];let j;t[35]!==B||t[36]!==P?(j=[B,P],t[35]=B,t[36]=P,t[37]=j):j=t[37],v.useEffect(q,j);let R,re;t[38]!==D||t[39]!==B||t[40]!==P||t[41]!==N||t[42]!==T||t[43]!==f||t[44]!==c||t[45]!==L?(re=()=>{if(!T||!B||!P||(P.setSchemaConfig([{uri:`${L}${Al.schema}`,schema:T}]),P.setExternalFragmentDefinitions([...D.values()]),!N))return;let ue;ue=null;const le=[B.languages.registerDefinitionProvider("graphql",{provideDefinition(te,de,ve){const _e=XW(de),Re=J$(te.getValue(),_e,T);if(!Re)return;const{typeInfo:we,token:je}=Re,{kind:Ge,step:Qe}=je.state;if(Ge==="Field"&&Qe===0&&we.fieldDef||Ge==="AliasedField"&&Qe===2&&we.fieldDef||Ge==="ObjectField"&&Qe===0&&we.fieldDef||Ge==="Directive"&&Qe===1&&we.directiveDef||Ge==="Variable"&&we.type||Ge==="Argument"&&Qe===0&&we.argDef||Ge==="EnumValue"&&we.enumValue&&"description"in we.enumValue||Ge==="NamedType"&&we.type&&"description"in we.type){ue={kind:Ge,typeInfo:we};const{lineNumber:Ye,column:wt}=de,nt=new Xi(Ye,wt,Ye,wt);return[{uri:te.uri,range:nt}]}ue=null}}),B.languages.registerReferenceProvider("graphql",{provideReferences(te,de,ve,_e){var Re;const{lineNumber:we,column:je}=de;if(!ue)return;c(N),f(ue),(Re=Q.current)==null||Re.call(Q,ue);const Ge=new Xi(we,je,we,je);return[{uri:te.uri,range:Ge}]}})];return Nc(le)},R=[T,N,f,c,D,L,P,B],t[38]=D,t[39]=B,t[40]=P,t[41]=N,t[42]=T,t[43]=f,t[44]=c,t[45]=L,t[46]=R,t[47]=re):(R=t[46],re=t[47]),v.useEffect(re,R);let Y;t[48]!==i.className?(Y=st("graphiql-editor",i.className),t[48]=i.className,t[49]=Y):Y=t[49];let se;return t[50]!==i||t[51]!==Y?(se=k.jsx("div",{ref:$,tabIndex:0,onKeyDown:_p,...i,className:Y}),t[50]=i,t[51]=Y,t[52]=se):se=t[52],se};var Qd={},tE;function JW(){if(tE)return Qd;tE=1;var e=$S();return Qd.createRoot=e.createRoot,Qd.hydrateRoot=e.hydrateRoot,Qd}var Ak=JW();const KW=e=>{const t=Ne.c(22);let n,r;t[0]!==e?({responseTooltip:n,...r}=e,t[0]=e,t[1]=n,t[2]=r):(n=t[1],r=t[2]);const{setEditor:i,run:o}=Uo();let a;t[3]===Symbol.for("react.memo_cache_sentinel")?(a=Ti("fetchError","validationErrors","responseEditor","uriInstanceId"),t[3]=a):a=t[3];const{fetchError:l,validationErrors:c,responseEditor:f,uriInstanceId:p}=vn(a),h=v.useRef(null),g=tu(eG);let b,y;t[4]!==l||t[5]!==f||t[6]!==c?(b=()=>{l&&(f==null||f.setValue(l)),c.length&&(f==null||f.setValue(ac(c)))},y=[f,l,c],t[4]=l,t[5]=f,t[6]=c,t[7]=b,t[8]=y):(b=t[7],y=t[8]),v.useEffect(b,y);let w;t[9]!==n||t[10]!==g||t[11]!==o||t[12]!==i||t[13]!==p?(w=()=>{if(!g)return;const C=Tp({uri:`${p}${Al.response}`,value:""}),A=kp(h,{model:C,readOnly:!0,lineNumbers:"off",wordWrap:"on",contextmenu:!1});i({responseEditor:A});let D,L;const F=(Q,Z)=>{if(!(Q.uri===C.uri))return null;const U=Q.getWordAtPosition(Z);if(!(U!=null&&U.word.startsWith("/"))||!eE.shouldRender(U.word))return null;const G=`hover-${Z.lineNumber}-${Z.column}`;return L&&clearTimeout(L),L=setTimeout(()=>{const X=document.querySelector(`[data-id="${G}"]`);X&&(D==null||D.unmount(),D=Ak.createRoot(X),D.render(k.jsxs(k.Fragment,{children:[n&&k.jsx(n,{position:Z,word:U}),k.jsx(eE,{path:U.word})]})))},500),{range:new Xi(Z.lineNumber,U.startColumn,Z.lineNumber,U.endColumn),contents:[{value:`
Loading...
`,supportHtml:!0}]}},H=C.getLanguageId(),$=[g.languages.registerHoverProvider(H,{provideHover:F}),A.addAction({...vi.runQuery,run:o}),A,C];return Nc($)},t[9]=n,t[10]=g,t[11]=o,t[12]=i,t[13]=p,t[14]=w):w=t[14];let _;t[15]!==g?(_=[g],t[15]=g,t[16]=_):_=t[16],v.useEffect(w,_);let T;t[17]!==r.className?(T=st("result-window",r.className),t[17]=r.className,t[18]=T):T=t[18];let N;return t[19]!==r||t[20]!==T?(N=k.jsx("section",{ref:h,"aria-label":"Result Window","aria-live":"polite","aria-atomic":"true",tabIndex:0,onKeyDown:_p,...r,className:T}),t[19]=r,t[20]=T,t[21]=N):N=t[21],N};function eG(e){return e.monaco}const tG=e=>{const t=Ne.c(19);let n,r;t[0]!==e?({onEdit:n,...r}=e,t[0]=e,t[1]=n,t[2]=r):(n=t[1],r=t[2]);const{setEditor:i,run:o,prettifyEditors:a,mergeQuery:l}=Uo();let c;t[3]===Symbol.for("react.memo_cache_sentinel")?(c=Ti("initialVariables","uriInstanceId"),t[3]=c):c=t[3];const{initialVariables:f,uriInstanceId:p}=vn(c),h=v.useRef(null),g=tu(nG);d7(n,Pt.variables,"variables");let b;t[4]!==f||t[5]!==l||t[6]!==g||t[7]!==a||t[8]!==o||t[9]!==i||t[10]!==p?(b=()=>{if(!g)return;const T=Tp({uri:`${p}${Al.variables}`,value:f}),N=kp(h,{model:T});i({variableEditor:N});const C=[N.addAction({...vi.runQuery,run:o}),N.addAction({...vi.prettify,run:a}),N.addAction({...vi.mergeFragments,run:l}),N,T];return Nc(C)},t[4]=f,t[5]=l,t[6]=g,t[7]=a,t[8]=o,t[9]=i,t[10]=p,t[11]=b):b=t[11];let y;t[12]!==g?(y=[g],t[12]=g,t[13]=y):y=t[13],v.useEffect(b,y);let w;t[14]!==r.className?(w=st("graphiql-editor",r.className),t[14]=r.className,t[15]=w):w=t[15];let _;return t[16]!==r||t[17]!==w?(_=k.jsx("div",{ref:h,tabIndex:0,onKeyDown:_p,...r,className:w}),t[16]=r,t[17]=w,t[18]=_):_=t[18],_};function nG(e){return e.monaco}const u2=v.forwardRef((e,t)=>{const n=Ne.c(6);let r;n[0]!==e.className?(r=st("graphiql-button-group",e.className),n[0]=e.className,n[1]=r):r=n[1];let i;return n[2]!==e||n[3]!==t||n[4]!==r?(i=k.jsx("div",{...e,ref:t,className:r}),n[2]=e,n[3]=t,n[4]=r,n[5]=i):i=n[5],i});u2.displayName="ButtonGroup";var Wp="Dialog",[Ik,bie]=Ia(Wp),[rG,Ci]=Ik(Wp),Dk=e=>{const{__scopeDialog:t,children:n,open:r,defaultOpen:i,onOpenChange:o,modal:a=!0}=e,l=v.useRef(null),c=v.useRef(null),[f,p]=Rp({prop:r,defaultProp:i??!1,onChange:o,caller:Wp});return k.jsx(rG,{scope:t,triggerRef:l,contentRef:c,contentId:ma(),titleId:ma(),descriptionId:ma(),open:f,onOpenChange:p,onOpenToggle:v.useCallback(()=>p(h=>!h),[p]),modal:a,children:n})};Dk.displayName=Wp;var Rk="DialogTrigger",Lk=v.forwardRef((e,t)=>{const{__scopeDialog:n,...r}=e,i=Ci(Rk,n),o=on(t,i.triggerRef);return k.jsx(Ot.button,{type:"button","aria-haspopup":"dialog","aria-expanded":i.open,"aria-controls":i.contentId,"data-state":sv(i.open),...r,ref:o,onClick:$e(e.onClick,i.onOpenToggle)})});Lk.displayName=Rk;var iv="DialogPortal",[iG,Pk]=Ik(iv,{forceMount:void 0}),Fk=e=>{const{__scopeDialog:t,forceMount:n,children:r,container:i}=e,o=Ci(iv,t);return k.jsx(iG,{scope:t,forceMount:n,children:v.Children.map(r,a=>k.jsx(co,{present:n||o.open,children:k.jsx(jp,{asChild:!0,container:i,children:a})}))})};Fk.displayName=iv;var K0="DialogOverlay",Ok=v.forwardRef((e,t)=>{const n=Pk(K0,e.__scopeDialog),{forceMount:r=n.forceMount,...i}=e,o=Ci(K0,e.__scopeDialog);return o.modal?k.jsx(co,{present:r||o.open,children:k.jsx(sG,{...i,ref:t})}):null});Ok.displayName=K0;var oG=Lc("DialogOverlay.RemoveScroll"),sG=v.forwardRef((e,t)=>{const{__scopeDialog:n,...r}=e,i=Ci(K0,n);return k.jsx(Qb,{as:oG,allowPinchZoom:!0,shards:[i.contentRef],children:k.jsx(Ot.div,{"data-state":sv(i.open),...r,ref:t,style:{pointerEvents:"auto",...r.style}})})}),Ta="DialogContent",Mk=v.forwardRef((e,t)=>{const n=Pk(Ta,e.__scopeDialog),{forceMount:r=n.forceMount,...i}=e,o=Ci(Ta,e.__scopeDialog);return k.jsx(co,{present:r||o.open,children:o.modal?k.jsx(aG,{...i,ref:t}):k.jsx(lG,{...i,ref:t})})});Mk.displayName=Ta;var aG=v.forwardRef((e,t)=>{const n=Ci(Ta,e.__scopeDialog),r=v.useRef(null),i=on(t,n.contentRef,r);return v.useEffect(()=>{const o=r.current;if(o)return LT(o)},[]),k.jsx($k,{...e,ref:i,trapFocus:n.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:$e(e.onCloseAutoFocus,o=>{var a;o.preventDefault(),(a=n.triggerRef.current)==null||a.focus()}),onPointerDownOutside:$e(e.onPointerDownOutside,o=>{const a=o.detail.originalEvent,l=a.button===0&&a.ctrlKey===!0;(a.button===2||l)&&o.preventDefault()}),onFocusOutside:$e(e.onFocusOutside,o=>o.preventDefault())})}),lG=v.forwardRef((e,t)=>{const n=Ci(Ta,e.__scopeDialog),r=v.useRef(!1),i=v.useRef(!1);return k.jsx($k,{...e,ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:o=>{var a,l;(a=e.onCloseAutoFocus)==null||a.call(e,o),o.defaultPrevented||(r.current||(l=n.triggerRef.current)==null||l.focus(),o.preventDefault()),r.current=!1,i.current=!1},onInteractOutside:o=>{var c,f;(c=e.onInteractOutside)==null||c.call(e,o),o.defaultPrevented||(r.current=!0,o.detail.originalEvent.type==="pointerdown"&&(i.current=!0));const a=o.target;((f=n.triggerRef.current)==null?void 0:f.contains(a))&&o.preventDefault(),o.detail.originalEvent.type==="focusin"&&i.current&&o.preventDefault()}})}),$k=v.forwardRef((e,t)=>{const{__scopeDialog:n,trapFocus:r,onOpenAutoFocus:i,onCloseAutoFocus:o,...a}=e,l=Ci(Ta,n),c=v.useRef(null),f=on(t,c);return Q7(),k.jsxs(k.Fragment,{children:[k.jsx($b,{asChild:!0,loop:!0,trapped:r,onMountAutoFocus:i,onUnmountAutoFocus:o,children:k.jsx(Lp,{role:"dialog",id:l.contentId,"aria-describedby":l.descriptionId,"aria-labelledby":l.titleId,"data-state":sv(l.open),...a,ref:f,onDismiss:()=>l.onOpenChange(!1)})}),k.jsxs(k.Fragment,{children:[k.jsx(uG,{titleId:l.titleId}),k.jsx(fG,{contentRef:c,descriptionId:l.descriptionId})]})]})}),ov="DialogTitle",jk=v.forwardRef((e,t)=>{const{__scopeDialog:n,...r}=e,i=Ci(ov,n);return k.jsx(Ot.h2,{id:i.titleId,...r,ref:t})});jk.displayName=ov;var Bk="DialogDescription",Vk=v.forwardRef((e,t)=>{const{__scopeDialog:n,...r}=e,i=Ci(Bk,n);return k.jsx(Ot.p,{id:i.descriptionId,...r,ref:t})});Vk.displayName=Bk;var Uk="DialogClose",zk=v.forwardRef((e,t)=>{const{__scopeDialog:n,...r}=e,i=Ci(Uk,n);return k.jsx(Ot.button,{type:"button",...r,ref:t,onClick:$e(e.onClick,()=>i.onOpenChange(!1))})});zk.displayName=Uk;function sv(e){return e?"open":"closed"}var Hk="DialogTitleWarning",[vie,qk]=dU(Hk,{contentName:Ta,titleName:ov,docsSlug:"dialog"}),uG=({titleId:e})=>{const t=qk(Hk),n=`\`${t.contentName}\` requires a \`${t.titleName}\` for the component to be accessible for screen reader users. + +If you want to hide the \`${t.titleName}\`, you can wrap it with our VisuallyHidden component. + +For more information, see https://radix-ui.com/primitives/docs/components/${t.docsSlug}`;return v.useEffect(()=>{e&&(document.getElementById(e)||console.error(n))},[n,e]),null},cG="DialogDescriptionWarning",fG=({contentRef:e,descriptionId:t})=>{const r=`Warning: Missing \`Description\` or \`aria-describedby={undefined}\` for {${qk(cG).contentName}}.`;return v.useEffect(()=>{var o;const i=(o=e.current)==null?void 0:o.getAttribute("aria-describedby");t&&i&&(document.getElementById(t)||console.warn(r))},[r,e,t]),null},dG=Dk,pG=Lk,hG=Fk,mG=Ok,gG=Mk,bG=jk,vG=Vk,yG=zk;const Wk=v.forwardRef((e,t)=>{const n=Ne.c(8);let r;n[0]!==e.className?(r=st("graphiql-dialog-close",e.className),n[0]=e.className,n[1]=r):r=n[1];let i,o;n[2]===Symbol.for("react.memo_cache_sentinel")?(i=k.jsx(J0,{children:"Close dialog"}),o=k.jsx(eb,{}),n[2]=i,n[3]=o):(i=n[2],o=n[3]);let a;return n[4]!==e||n[5]!==t||n[6]!==r?(a=k.jsx(yG,{asChild:!0,children:k.jsxs(rn,{...e,ref:t,type:"button",className:r,children:[i,o]})}),n[4]=e,n[5]=t,n[6]=r,n[7]=a):a=n[7],a});Wk.displayName="Dialog.Close";const xG=e=>{const t=Ne.c(9);let n,r;t[0]!==e?({children:n,...r}=e,t[0]=e,t[1]=n,t[2]=r):(n=t[1],r=t[2]);let i;t[3]===Symbol.for("react.memo_cache_sentinel")?(i=k.jsx(mG,{className:"graphiql-dialog-overlay"}),t[3]=i):i=t[3];let o;t[4]!==n?(o=k.jsxs(hG,{children:[i,k.jsx(gG,{className:"graphiql-dialog",children:n})]}),t[4]=n,t[5]=o):o=t[5];let a;return t[6]!==r||t[7]!==o?(a=k.jsx(dG,{...r,children:o}),t[6]=r,t[7]=o,t[8]=a):a=t[8],a},vs=Object.assign(xG,{Close:Wk,Title:bG,Trigger:pG,Description:vG}),io=v.forwardRef((e,t)=>{const n=Ne.c(18);let r,i,o,a;n[0]!==e?({children:r,onlyShowFirstChild:i,type:a,...o}=e,n[0]=e,n[1]=r,n[2]=i,n[3]=o,n[4]=a):(r=n[1],i=n[2],o=n[3],a=n[4]);const l=`graphiql-markdown-${a}`,c=i&&"graphiql-markdown-preview";let f;n[5]!==o.className||n[6]!==l||n[7]!==c?(f=st(l,c,o.className),n[5]=o.className,n[6]=l,n[7]=c,n[8]=f):f=n[8];let p;n[9]!==r?(p=cU.render(r),n[9]=r,n[10]=p):p=n[10];let h;n[11]!==p?(h={__html:p},n[11]=p,n[12]=h):h=n[12];let g;return n[13]!==o||n[14]!==t||n[15]!==f||n[16]!==h?(g=k.jsx("div",{...o,ref:t,className:f,dangerouslySetInnerHTML:h}),n[13]=o,n[14]=t,n[15]=f,n[16]=h,n[17]=g):g=n[17],g});io.displayName="MarkdownContent";const ep=v.forwardRef((e,t)=>{const n=Ne.c(6);let r;n[0]!==e.className?(r=st("graphiql-spinner",e.className),n[0]=e.className,n[1]=r):r=n[1];let i;return n[2]!==e||n[3]!==t||n[4]!==r?(i=k.jsx("div",{...e,ref:t,className:r}),n[2]=e,n[3]=t,n[4]=r,n[5]=i):i=n[5],i});ep.displayName="Spinner";const Gk=v.createContext({});function lf(e){const t=v.useRef(null);return t.current===null&&(t.current=e()),t.current}const av=typeof window<"u",Qk=av?v.useLayoutEffect:v.useEffect,lv=v.createContext(null);function uv(e,t){e.indexOf(t)===-1&&e.push(t)}function cv(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}function wG([...e],t,n){const r=t<0?e.length+t:t;if(r>=0&&rn>t?t:n{};const jo={},Yk=e=>/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(e);function Xk(e){return typeof e=="object"&&e!==null}const Zk=e=>/^0[^.\s]+$/u.test(e);function dv(e){let t;return()=>(t===void 0&&(t=e()),t)}const qr=e=>e,EG=(e,t)=>n=>t(e(n)),uf=(...e)=>e.reduce(EG),jc=(e,t,n)=>{const r=t-e;return r===0?1:(n-e)/r};class pv{constructor(){this.subscriptions=[]}add(t){return uv(this.subscriptions,t),()=>cv(this.subscriptions,t)}notify(t,n,r){const i=this.subscriptions.length;if(i)if(i===1)this.subscriptions[0](t,n,r);else for(let o=0;oe*1e3,Ur=e=>e/1e3;function Jk(e,t){return t?e*(1e3/t):0}const Kk=(e,t,n)=>(((1-3*n+3*t)*e+(3*n-6*t))*e+3*t)*e,SG=1e-7,_G=12;function TG(e,t,n,r,i){let o,a,l=0;do a=t+(n-t)/2,o=Kk(a,r,i)-e,o>0?n=a:t=a;while(Math.abs(o)>SG&&++l<_G);return a}function cf(e,t,n,r){if(e===t&&n===r)return qr;const i=o=>TG(o,0,1,e,n);return o=>o===0||o===1?o:Kk(i(o),t,r)}const eC=e=>t=>t<=.5?e(2*t)/2:(2-e(2*(1-t)))/2,tC=e=>t=>1-e(1-t),nC=cf(.33,1.53,.69,.99),hv=tC(nC),rC=eC(hv),iC=e=>(e*=2)<1?.5*hv(e):.5*(2-Math.pow(2,-10*(e-1))),mv=e=>1-Math.sin(Math.acos(e)),oC=tC(mv),sC=eC(mv),kG=cf(.42,0,1,1),CG=cf(0,0,.58,1),aC=cf(.42,0,.58,1),NG=e=>Array.isArray(e)&&typeof e[0]!="number",lC=e=>Array.isArray(e)&&typeof e[0]=="number",AG={linear:qr,easeIn:kG,easeInOut:aC,easeOut:CG,circIn:mv,circInOut:sC,circOut:oC,backIn:hv,backInOut:rC,backOut:nC,anticipate:iC},IG=e=>typeof e=="string",nE=e=>{if(lC(e)){fv(e.length===4);const[t,n,r,i]=e;return cf(t,n,r,i)}else if(IG(e))return AG[e];return e},Yd=["setup","read","resolveKeyframes","preUpdate","update","preRender","render","postRender"];function DG(e,t){let n=new Set,r=new Set,i=!1,o=!1;const a=new WeakSet;let l={delta:0,timestamp:0,isProcessing:!1};function c(p){a.has(p)&&(f.schedule(p),e()),p(l)}const f={schedule:(p,h=!1,g=!1)=>{const y=g&&i?n:r;return h&&a.add(p),y.has(p)||y.add(p),p},cancel:p=>{r.delete(p),a.delete(p)},process:p=>{if(l=p,i){o=!0;return}i=!0,[n,r]=[r,n],n.forEach(c),n.clear(),i=!1,o&&(o=!1,f.process(p))}};return f}const RG=40;function uC(e,t){let n=!1,r=!0;const i={delta:0,timestamp:0,isProcessing:!1},o=()=>n=!0,a=Yd.reduce((C,A)=>(C[A]=DG(o),C),{}),{setup:l,read:c,resolveKeyframes:f,preUpdate:p,update:h,preRender:g,render:b,postRender:y}=a,w=()=>{const C=jo.useManualTiming?i.timestamp:performance.now();n=!1,jo.useManualTiming||(i.delta=r?1e3/60:Math.max(Math.min(C-i.timestamp,RG),1)),i.timestamp=C,i.isProcessing=!0,l.process(i),c.process(i),f.process(i),p.process(i),h.process(i),g.process(i),b.process(i),y.process(i),i.isProcessing=!1,n&&t&&(r=!1,e(w))},_=()=>{n=!0,r=!0,i.isProcessing||e(w)};return{schedule:Yd.reduce((C,A)=>{const D=a[A];return C[A]=(L,F=!1,H=!1)=>(n||_(),D.schedule(L,F,H)),C},{}),cancel:C=>{for(let A=0;A(h0===void 0&&fr.set(Sn.isProcessing||jo.useManualTiming?Sn.timestamp:performance.now()),h0),set:e=>{h0=e,queueMicrotask(LG)}},cC=e=>t=>typeof t=="string"&&t.startsWith(e),gv=cC("--"),PG=cC("var(--"),bv=e=>PG(e)?FG.test(e.split("/*")[0].trim()):!1,FG=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu,ou={test:e=>typeof e=="number",parse:parseFloat,transform:e=>e},Bc={...ou,transform:e=>$o(0,1,e)},Xd={...ou,default:1},uc=e=>Math.round(e*1e5)/1e5,vv=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu;function OG(e){return e==null}const MG=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu,yv=(e,t)=>n=>!!(typeof n=="string"&&MG.test(n)&&n.startsWith(e)||t&&!OG(n)&&Object.prototype.hasOwnProperty.call(n,t)),fC=(e,t,n)=>r=>{if(typeof r!="string")return r;const[i,o,a,l]=r.match(vv);return{[e]:parseFloat(i),[t]:parseFloat(o),[n]:parseFloat(a),alpha:l!==void 0?parseFloat(l):1}},$G=e=>$o(0,255,e),R1={...ou,transform:e=>Math.round($G(e))},ua={test:yv("rgb","red"),parse:fC("red","green","blue"),transform:({red:e,green:t,blue:n,alpha:r=1})=>"rgba("+R1.transform(e)+", "+R1.transform(t)+", "+R1.transform(n)+", "+uc(Bc.transform(r))+")"};function jG(e){let t="",n="",r="",i="";return e.length>5?(t=e.substring(1,3),n=e.substring(3,5),r=e.substring(5,7),i=e.substring(7,9)):(t=e.substring(1,2),n=e.substring(2,3),r=e.substring(3,4),i=e.substring(4,5),t+=t,n+=n,r+=r,i+=i),{red:parseInt(t,16),green:parseInt(n,16),blue:parseInt(r,16),alpha:i?parseInt(i,16)/255:1}}const c2={test:yv("#"),parse:jG,transform:ua.transform},ff=e=>({test:t=>typeof t=="string"&&t.endsWith(e)&&t.split(" ").length===1,parse:parseFloat,transform:t=>`${t}${e}`}),xs=ff("deg"),Ki=ff("%"),Oe=ff("px"),BG=ff("vh"),VG=ff("vw"),rE={...Ki,parse:e=>Ki.parse(e)/100,transform:e=>Ki.transform(e*100)},bl={test:yv("hsl","hue"),parse:fC("hue","saturation","lightness"),transform:({hue:e,saturation:t,lightness:n,alpha:r=1})=>"hsla("+Math.round(e)+", "+Ki.transform(uc(t))+", "+Ki.transform(uc(n))+", "+uc(Bc.transform(r))+")"},Zt={test:e=>ua.test(e)||c2.test(e)||bl.test(e),parse:e=>ua.test(e)?ua.parse(e):bl.test(e)?bl.parse(e):c2.parse(e),transform:e=>typeof e=="string"?e:e.hasOwnProperty("red")?ua.transform(e):bl.transform(e),getAnimatableNone:e=>{const t=Zt.parse(e);return t.alpha=0,Zt.transform(t)}},UG=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu;function zG(e){var t,n;return isNaN(e)&&typeof e=="string"&&(((t=e.match(vv))==null?void 0:t.length)||0)+(((n=e.match(UG))==null?void 0:n.length)||0)>0}const dC="number",pC="color",HG="var",qG="var(",iE="${}",WG=/var\s*\(\s*--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)|#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\)|-?(?:\d+(?:\.\d+)?|\.\d+)/giu;function Vc(e){const t=e.toString(),n=[],r={color:[],number:[],var:[]},i=[];let o=0;const l=t.replace(WG,c=>(Zt.test(c)?(r.color.push(o),i.push(pC),n.push(Zt.parse(c))):c.startsWith(qG)?(r.var.push(o),i.push(HG),n.push(c)):(r.number.push(o),i.push(dC),n.push(parseFloat(c))),++o,iE)).split(iE);return{values:n,split:l,indexes:r,types:i}}function hC(e){return Vc(e).values}function mC(e){const{split:t,types:n}=Vc(e),r=t.length;return i=>{let o="";for(let a=0;atypeof e=="number"?0:Zt.test(e)?Zt.getAnimatableNone(e):e;function QG(e){const t=hC(e);return mC(e)(t.map(GG))}const Ps={test:zG,parse:hC,createTransformer:mC,getAnimatableNone:QG};function L1(e,t,n){return n<0&&(n+=1),n>1&&(n-=1),n<1/6?e+(t-e)*6*n:n<1/2?t:n<2/3?e+(t-e)*(2/3-n)*6:e}function YG({hue:e,saturation:t,lightness:n,alpha:r}){e/=360,t/=100,n/=100;let i=0,o=0,a=0;if(!t)i=o=a=n;else{const l=n<.5?n*(1+t):n+t-n*t,c=2*n-l;i=L1(c,l,e+1/3),o=L1(c,l,e),a=L1(c,l,e-1/3)}return{red:Math.round(i*255),green:Math.round(o*255),blue:Math.round(a*255),alpha:r}}function tp(e,t){return n=>n>0?t:e}const St=(e,t,n)=>e+(t-e)*n,P1=(e,t,n)=>{const r=e*e,i=n*(t*t-r)+r;return i<0?0:Math.sqrt(i)},XG=[c2,ua,bl],ZG=e=>XG.find(t=>t.test(e));function oE(e){const t=ZG(e);if(!t)return!1;let n=t.parse(e);return t===bl&&(n=YG(n)),n}const sE=(e,t)=>{const n=oE(e),r=oE(t);if(!n||!r)return tp(e,t);const i={...n};return o=>(i.red=P1(n.red,r.red,o),i.green=P1(n.green,r.green,o),i.blue=P1(n.blue,r.blue,o),i.alpha=St(n.alpha,r.alpha,o),ua.transform(i))},f2=new Set(["none","hidden"]);function JG(e,t){return f2.has(e)?n=>n<=0?e:t:n=>n>=1?t:e}function KG(e,t){return n=>St(e,t,n)}function xv(e){return typeof e=="number"?KG:typeof e=="string"?bv(e)?tp:Zt.test(e)?sE:nQ:Array.isArray(e)?gC:typeof e=="object"?Zt.test(e)?sE:eQ:tp}function gC(e,t){const n=[...e],r=n.length,i=e.map((o,a)=>xv(o)(o,t[a]));return o=>{for(let a=0;a{for(const o in r)n[o]=r[o](i);return n}}function tQ(e,t){const n=[],r={color:0,var:0,number:0};for(let i=0;i{const n=Ps.createTransformer(t),r=Vc(e),i=Vc(t);return r.indexes.var.length===i.indexes.var.length&&r.indexes.color.length===i.indexes.color.length&&r.indexes.number.length>=i.indexes.number.length?f2.has(e)&&!i.values.length||f2.has(t)&&!r.values.length?JG(e,t):uf(gC(tQ(r,i),i.values),n):tp(e,t)};function bC(e,t,n){return typeof e=="number"&&typeof t=="number"&&typeof n=="number"?St(e,t,n):xv(e)(e,t)}const rQ=e=>{const t=({timestamp:n})=>e(n);return{start:(n=!0)=>xt.update(t,n),stop:()=>Bo(t),now:()=>Sn.isProcessing?Sn.timestamp:fr.now()}},vC=(e,t,n=10)=>{let r="";const i=Math.max(Math.round(t/n),2);for(let o=0;o=np?1/0:t}function iQ(e,t=100,n){const r=n({...e,keyframes:[0,t]}),i=Math.min(wv(r),np);return{type:"keyframes",ease:o=>r.next(i*o).value/t,duration:Ur(i)}}const oQ=5;function yC(e,t,n){const r=Math.max(t-oQ,0);return Jk(n-e(r),t-r)}const Lt={stiffness:100,damping:10,mass:1,velocity:0,duration:800,bounce:.3,visualDuration:.3,restSpeed:{granular:.01,default:2},restDelta:{granular:.005,default:.5},minDuration:.01,maxDuration:10,minDamping:.05,maxDamping:1},aE=.001;function sQ({duration:e=Lt.duration,bounce:t=Lt.bounce,velocity:n=Lt.velocity,mass:r=Lt.mass}){let i,o,a=1-t;a=$o(Lt.minDamping,Lt.maxDamping,a),e=$o(Lt.minDuration,Lt.maxDuration,Ur(e)),a<1?(i=f=>{const p=f*a,h=p*e,g=p-n,b=d2(f,a),y=Math.exp(-h);return aE-g/b*y},o=f=>{const h=f*a*e,g=h*n+n,b=Math.pow(a,2)*Math.pow(f,2)*e,y=Math.exp(-h),w=d2(Math.pow(f,2),a);return(-i(f)+aE>0?-1:1)*((g-b)*y)/w}):(i=f=>{const p=Math.exp(-f*e),h=(f-n)*e+1;return-.001+p*h},o=f=>{const p=Math.exp(-f*e),h=(n-f)*(e*e);return p*h});const l=5/e,c=lQ(i,o,l);if(e=Ji(e),isNaN(c))return{stiffness:Lt.stiffness,damping:Lt.damping,duration:e};{const f=Math.pow(c,2)*r;return{stiffness:f,damping:a*2*Math.sqrt(r*f),duration:e}}}const aQ=12;function lQ(e,t,n){let r=n;for(let i=1;ie[n]!==void 0)}function fQ(e){let t={velocity:Lt.velocity,stiffness:Lt.stiffness,damping:Lt.damping,mass:Lt.mass,isResolvedFromDuration:!1,...e};if(!lE(e,cQ)&&lE(e,uQ))if(e.visualDuration){const n=e.visualDuration,r=2*Math.PI/(n*1.2),i=r*r,o=2*$o(.05,1,1-(e.bounce||0))*Math.sqrt(i);t={...t,mass:Lt.mass,stiffness:i,damping:o}}else{const n=sQ(e);t={...t,...n,mass:Lt.mass},t.isResolvedFromDuration=!0}return t}function rp(e=Lt.visualDuration,t=Lt.bounce){const n=typeof e!="object"?{visualDuration:e,keyframes:[0,1],bounce:t}:e;let{restSpeed:r,restDelta:i}=n;const o=n.keyframes[0],a=n.keyframes[n.keyframes.length-1],l={done:!1,value:o},{stiffness:c,damping:f,mass:p,duration:h,velocity:g,isResolvedFromDuration:b}=fQ({...n,velocity:-Ur(n.velocity||0)}),y=g||0,w=f/(2*Math.sqrt(c*p)),_=a-o,T=Ur(Math.sqrt(c/p)),N=Math.abs(_)<5;r||(r=N?Lt.restSpeed.granular:Lt.restSpeed.default),i||(i=N?Lt.restDelta.granular:Lt.restDelta.default);let C;if(w<1){const D=d2(T,w);C=L=>{const F=Math.exp(-w*T*L);return a-F*((y+w*T*_)/D*Math.sin(D*L)+_*Math.cos(D*L))}}else if(w===1)C=D=>a-Math.exp(-T*D)*(_+(y+T*_)*D);else{const D=T*Math.sqrt(w*w-1);C=L=>{const F=Math.exp(-w*T*L),H=Math.min(D*L,300);return a-F*((y+w*T*_)*Math.sinh(H)+D*_*Math.cosh(H))/D}}const A={calculatedDuration:b&&h||null,next:D=>{const L=C(D);if(b)l.done=D>=h;else{let F=D===0?y:0;w<1&&(F=D===0?Ji(y):yC(C,D,L));const H=Math.abs(F)<=r,$=Math.abs(a-L)<=i;l.done=H&&$}return l.value=l.done?a:L,l},toString:()=>{const D=Math.min(wv(A),np),L=vC(F=>A.next(D*F).value,D,30);return D+"ms "+L},toTransition:()=>{}};return A}rp.applyToOptions=e=>{const t=iQ(e,100,rp);return e.ease=t.ease,e.duration=Ji(t.duration),e.type="keyframes",e};function p2({keyframes:e,velocity:t=0,power:n=.8,timeConstant:r=325,bounceDamping:i=10,bounceStiffness:o=500,modifyTarget:a,min:l,max:c,restDelta:f=.5,restSpeed:p}){const h=e[0],g={done:!1,value:h},b=H=>l!==void 0&&Hc,y=H=>l===void 0?c:c===void 0||Math.abs(l-H)-w*Math.exp(-H/r),C=H=>T+N(H),A=H=>{const $=N(H),Q=C(H);g.done=Math.abs($)<=f,g.value=g.done?T:Q};let D,L;const F=H=>{b(g.value)&&(D=H,L=rp({keyframes:[g.value,y(g.value)],velocity:yC(C,H,g.value),damping:i,stiffness:o,restDelta:f,restSpeed:p}))};return F(0),{calculatedDuration:null,next:H=>{let $=!1;return!L&&D===void 0&&($=!0,A(H),F(H)),D!==void 0&&H>=D?L.next(H-D):(!$&&A(H),g)}}}function dQ(e,t,n){const r=[],i=n||jo.mix||bC,o=e.length-1;for(let a=0;at[0];if(o===2&&t[0]===t[1])return()=>t[1];const a=e[0]===e[1];e[0]>e[o-1]&&(e=[...e].reverse(),t=[...t].reverse());const l=dQ(t,r,i),c=l.length,f=p=>{if(a&&p1)for(;hf($o(e[0],e[o-1],p)):f}function pQ(e,t){const n=e[e.length-1];for(let r=1;r<=t;r++){const i=jc(0,t,r);e.push(St(n,1,i))}}function hQ(e){const t=[0];return pQ(t,e.length-1),t}function mQ(e,t){return e.map(n=>n*t)}function gQ(e,t){return e.map(()=>t||aC).splice(0,e.length-1)}function cc({duration:e=300,keyframes:t,times:n,ease:r="easeInOut"}){const i=NG(r)?r.map(nE):nE(r),o={done:!1,value:t[0]},a=mQ(n&&n.length===t.length?n:hQ(t),e),l=xC(a,t,{ease:Array.isArray(i)?i:gQ(t,i)});return{calculatedDuration:e,next:c=>(o.value=l(c),o.done=c>=e,o)}}const bQ=e=>e!==null;function Ev(e,{repeat:t,repeatType:n="loop"},r,i=1){const o=e.filter(bQ),l=i<0||t&&n!=="loop"&&t%2===1?0:o.length-1;return!l||r===void 0?o[l]:r}const vQ={decay:p2,inertia:p2,tween:cc,keyframes:cc,spring:rp};function wC(e){typeof e.type=="string"&&(e.type=vQ[e.type])}class Sv{constructor(){this.updateFinished()}get finished(){return this._finished}updateFinished(){this._finished=new Promise(t=>{this.resolve=t})}notifyFinished(){this.resolve()}then(t,n){return this.finished.then(t,n)}}const yQ=e=>e/100;class _v extends Sv{constructor(t){super(),this.state="idle",this.startTime=null,this.isStopped=!1,this.currentTime=0,this.holdTime=null,this.playbackSpeed=1,this.stop=()=>{var r,i;const{motionValue:n}=this.options;n&&n.updatedAt!==fr.now()&&this.tick(fr.now()),this.isStopped=!0,this.state!=="idle"&&(this.teardown(),(i=(r=this.options).onStop)==null||i.call(r))},this.options=t,this.initAnimation(),this.play(),t.autoplay===!1&&this.pause()}initAnimation(){const{options:t}=this;wC(t);const{type:n=cc,repeat:r=0,repeatDelay:i=0,repeatType:o,velocity:a=0}=t;let{keyframes:l}=t;const c=n||cc;c!==cc&&typeof l[0]!="number"&&(this.mixKeyframes=uf(yQ,bC(l[0],l[1])),l=[0,100]);const f=c({...t,keyframes:l});o==="mirror"&&(this.mirroredGenerator=c({...t,keyframes:[...l].reverse(),velocity:-a})),f.calculatedDuration===null&&(f.calculatedDuration=wv(f));const{calculatedDuration:p}=f;this.calculatedDuration=p,this.resolvedDuration=p+i,this.totalDuration=this.resolvedDuration*(r+1)-i,this.generator=f}updateTime(t){const n=Math.round(t-this.startTime)*this.playbackSpeed;this.holdTime!==null?this.currentTime=this.holdTime:this.currentTime=n}tick(t,n=!1){const{generator:r,totalDuration:i,mixKeyframes:o,mirroredGenerator:a,resolvedDuration:l,calculatedDuration:c}=this;if(this.startTime===null)return r.next(0);const{delay:f=0,keyframes:p,repeat:h,repeatType:g,repeatDelay:b,type:y,onUpdate:w,finalKeyframe:_}=this.options;this.speed>0?this.startTime=Math.min(this.startTime,t):this.speed<0&&(this.startTime=Math.min(t-i/this.speed,this.startTime)),n?this.currentTime=t:this.updateTime(t);const T=this.currentTime-f*(this.playbackSpeed>=0?1:-1),N=this.playbackSpeed>=0?T<0:T>i;this.currentTime=Math.max(T,0),this.state==="finished"&&this.holdTime===null&&(this.currentTime=i);let C=this.currentTime,A=r;if(h){const H=Math.min(this.currentTime,i)/l;let $=Math.floor(H),Q=H%1;!Q&&H>=1&&(Q=1),Q===1&&$--,$=Math.min($,h+1),!!($%2)&&(g==="reverse"?(Q=1-Q,b&&(Q-=b/l)):g==="mirror"&&(A=a)),C=$o(0,1,Q)*l}const D=N?{done:!1,value:p[0]}:A.next(C);o&&(D.value=o(D.value));let{done:L}=D;!N&&c!==null&&(L=this.playbackSpeed>=0?this.currentTime>=i:this.currentTime<=0);const F=this.holdTime===null&&(this.state==="finished"||this.state==="running"&&L);return F&&y!==p2&&(D.value=Ev(p,this.options,_,this.speed)),w&&w(D.value),F&&this.finish(),D}then(t,n){return this.finished.then(t,n)}get duration(){return Ur(this.calculatedDuration)}get iterationDuration(){const{delay:t=0}=this.options||{};return this.duration+Ur(t)}get time(){return Ur(this.currentTime)}set time(t){var n;t=Ji(t),this.currentTime=t,this.startTime===null||this.holdTime!==null||this.playbackSpeed===0?this.holdTime=t:this.driver&&(this.startTime=this.driver.now()-t/this.playbackSpeed),(n=this.driver)==null||n.start(!1)}get speed(){return this.playbackSpeed}set speed(t){this.updateTime(fr.now());const n=this.playbackSpeed!==t;this.playbackSpeed=t,n&&(this.time=Ur(this.currentTime))}play(){var i,o;if(this.isStopped)return;const{driver:t=rQ,startTime:n}=this.options;this.driver||(this.driver=t(a=>this.tick(a))),(o=(i=this.options).onPlay)==null||o.call(i);const r=this.driver.now();this.state==="finished"?(this.updateFinished(),this.startTime=r):this.holdTime!==null?this.startTime=r-this.holdTime:this.startTime||(this.startTime=n??r),this.state==="finished"&&this.speed<0&&(this.startTime+=this.calculatedDuration),this.holdTime=null,this.state="running",this.driver.start()}pause(){this.state="paused",this.updateTime(fr.now()),this.holdTime=this.currentTime}complete(){this.state!=="running"&&this.play(),this.state="finished",this.holdTime=null}finish(){var t,n;this.notifyFinished(),this.teardown(),this.state="finished",(n=(t=this.options).onComplete)==null||n.call(t)}cancel(){var t,n;this.holdTime=null,this.startTime=0,this.tick(0),this.teardown(),(n=(t=this.options).onCancel)==null||n.call(t)}teardown(){this.state="idle",this.stopDriver(),this.startTime=this.holdTime=null}stopDriver(){this.driver&&(this.driver.stop(),this.driver=void 0)}sample(t){return this.startTime=0,this.tick(t,!0)}attachTimeline(t){var n;return this.options.allowFlatten&&(this.options.type="keyframes",this.options.ease="linear",this.initAnimation()),(n=this.driver)==null||n.stop(),t.observe(this)}}function xQ(e){for(let t=1;te*180/Math.PI,h2=e=>{const t=ca(Math.atan2(e[1],e[0]));return m2(t)},wQ={x:4,y:5,translateX:4,translateY:5,scaleX:0,scaleY:3,scale:e=>(Math.abs(e[0])+Math.abs(e[3]))/2,rotate:h2,rotateZ:h2,skewX:e=>ca(Math.atan(e[1])),skewY:e=>ca(Math.atan(e[2])),skew:e=>(Math.abs(e[1])+Math.abs(e[2]))/2},m2=e=>(e=e%360,e<0&&(e+=360),e),uE=h2,cE=e=>Math.sqrt(e[0]*e[0]+e[1]*e[1]),fE=e=>Math.sqrt(e[4]*e[4]+e[5]*e[5]),EQ={x:12,y:13,z:14,translateX:12,translateY:13,translateZ:14,scaleX:cE,scaleY:fE,scale:e=>(cE(e)+fE(e))/2,rotateX:e=>m2(ca(Math.atan2(e[6],e[5]))),rotateY:e=>m2(ca(Math.atan2(-e[2],e[0]))),rotateZ:uE,rotate:uE,skewX:e=>ca(Math.atan(e[4])),skewY:e=>ca(Math.atan(e[1])),skew:e=>(Math.abs(e[1])+Math.abs(e[4]))/2};function g2(e){return e.includes("scale")?1:0}function b2(e,t){if(!e||e==="none")return g2(t);const n=e.match(/^matrix3d\(([-\d.e\s,]+)\)$/u);let r,i;if(n)r=EQ,i=n;else{const l=e.match(/^matrix\(([-\d.e\s,]+)\)$/u);r=wQ,i=l}if(!i)return g2(t);const o=r[t],a=i[1].split(",").map(_Q);return typeof o=="function"?o(a):a[o]}const SQ=(e,t)=>{const{transform:n="none"}=getComputedStyle(e);return b2(n,t)};function _Q(e){return parseFloat(e.trim())}const su=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],au=new Set(su),dE=e=>e===ou||e===Oe,TQ=new Set(["x","y","z"]),kQ=su.filter(e=>!TQ.has(e));function CQ(e){const t=[];return kQ.forEach(n=>{const r=e.getValue(n);r!==void 0&&(t.push([n,r.get()]),r.set(n.startsWith("scale")?1:0))}),t}const ga={width:({x:e},{paddingLeft:t="0",paddingRight:n="0"})=>e.max-e.min-parseFloat(t)-parseFloat(n),height:({y:e},{paddingTop:t="0",paddingBottom:n="0"})=>e.max-e.min-parseFloat(t)-parseFloat(n),top:(e,{top:t})=>parseFloat(t),left:(e,{left:t})=>parseFloat(t),bottom:({y:e},{top:t})=>parseFloat(t)+(e.max-e.min),right:({x:e},{left:t})=>parseFloat(t)+(e.max-e.min),x:(e,{transform:t})=>b2(t,"x"),y:(e,{transform:t})=>b2(t,"y")};ga.translateX=ga.x;ga.translateY=ga.y;const ba=new Set;let v2=!1,y2=!1,x2=!1;function EC(){if(y2){const e=Array.from(ba).filter(r=>r.needsMeasurement),t=new Set(e.map(r=>r.element)),n=new Map;t.forEach(r=>{const i=CQ(r);i.length&&(n.set(r,i),r.render())}),e.forEach(r=>r.measureInitialState()),t.forEach(r=>{r.render();const i=n.get(r);i&&i.forEach(([o,a])=>{var l;(l=r.getValue(o))==null||l.set(a)})}),e.forEach(r=>r.measureEndState()),e.forEach(r=>{r.suspendedScrollY!==void 0&&window.scrollTo(0,r.suspendedScrollY)})}y2=!1,v2=!1,ba.forEach(e=>e.complete(x2)),ba.clear()}function SC(){ba.forEach(e=>{e.readKeyframes(),e.needsMeasurement&&(y2=!0)})}function NQ(){x2=!0,SC(),EC(),x2=!1}class Tv{constructor(t,n,r,i,o,a=!1){this.state="pending",this.isAsync=!1,this.needsMeasurement=!1,this.unresolvedKeyframes=[...t],this.onComplete=n,this.name=r,this.motionValue=i,this.element=o,this.isAsync=a}scheduleResolve(){this.state="scheduled",this.isAsync?(ba.add(this),v2||(v2=!0,xt.read(SC),xt.resolveKeyframes(EC))):(this.readKeyframes(),this.complete())}readKeyframes(){const{unresolvedKeyframes:t,name:n,element:r,motionValue:i}=this;if(t[0]===null){const o=i==null?void 0:i.get(),a=t[t.length-1];if(o!==void 0)t[0]=o;else if(r&&n){const l=r.readValue(n,a);l!=null&&(t[0]=l)}t[0]===void 0&&(t[0]=a),i&&o===void 0&&i.set(t[0])}xQ(t)}setFinalKeyframe(){}measureInitialState(){}renderEndStyles(){}measureEndState(){}complete(t=!1){this.state="complete",this.onComplete(this.unresolvedKeyframes,this.finalKeyframe,t),ba.delete(this)}cancel(){this.state==="scheduled"&&(ba.delete(this),this.state="pending")}resume(){this.state==="pending"&&this.scheduleResolve()}}const AQ=e=>e.startsWith("--");function IQ(e,t,n){AQ(t)?e.style.setProperty(t,n):e.style[t]=n}const DQ=dv(()=>window.ScrollTimeline!==void 0),RQ={};function LQ(e,t){const n=dv(e);return()=>RQ[t]??n()}const _C=LQ(()=>{try{document.createElement("div").animate({opacity:0},{easing:"linear(0, 1)"})}catch{return!1}return!0},"linearEasing"),tc=([e,t,n,r])=>`cubic-bezier(${e}, ${t}, ${n}, ${r})`,pE={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:tc([0,.65,.55,1]),circOut:tc([.55,0,1,.45]),backIn:tc([.31,.01,.66,-.59]),backOut:tc([.33,1.53,.69,.99])};function TC(e,t){if(e)return typeof e=="function"?_C()?vC(e,t):"ease-out":lC(e)?tc(e):Array.isArray(e)?e.map(n=>TC(n,t)||pE.easeOut):pE[e]}function PQ(e,t,n,{delay:r=0,duration:i=300,repeat:o=0,repeatType:a="loop",ease:l="easeOut",times:c}={},f=void 0){const p={[t]:n};c&&(p.offset=c);const h=TC(l,i);Array.isArray(h)&&(p.easing=h);const g={delay:r,duration:i,easing:Array.isArray(h)?"linear":h,fill:"both",iterations:o+1,direction:a==="reverse"?"alternate":"normal"};return f&&(g.pseudoElement=f),e.animate(p,g)}function kC(e){return typeof e=="function"&&"applyToOptions"in e}function FQ({type:e,...t}){return kC(e)&&_C()?e.applyToOptions(t):(t.duration??(t.duration=300),t.ease??(t.ease="easeOut"),t)}class OQ extends Sv{constructor(t){if(super(),this.finishedTime=null,this.isStopped=!1,!t)return;const{element:n,name:r,keyframes:i,pseudoElement:o,allowFlatten:a=!1,finalKeyframe:l,onComplete:c}=t;this.isPseudoElement=!!o,this.allowFlatten=a,this.options=t,fv(typeof t.type!="string");const f=FQ(t);this.animation=PQ(n,r,i,f,o),f.autoplay===!1&&this.animation.pause(),this.animation.onfinish=()=>{if(this.finishedTime=this.time,!o){const p=Ev(i,this.options,l,this.speed);this.updateMotionValue?this.updateMotionValue(p):IQ(n,r,p),this.animation.cancel()}c==null||c(),this.notifyFinished()}}play(){this.isStopped||(this.animation.play(),this.state==="finished"&&this.updateFinished())}pause(){this.animation.pause()}complete(){var t,n;(n=(t=this.animation).finish)==null||n.call(t)}cancel(){try{this.animation.cancel()}catch{}}stop(){if(this.isStopped)return;this.isStopped=!0;const{state:t}=this;t==="idle"||t==="finished"||(this.updateMotionValue?this.updateMotionValue():this.commitStyles(),this.isPseudoElement||this.cancel())}commitStyles(){var t,n;this.isPseudoElement||(n=(t=this.animation).commitStyles)==null||n.call(t)}get duration(){var n,r;const t=((r=(n=this.animation.effect)==null?void 0:n.getComputedTiming)==null?void 0:r.call(n).duration)||0;return Ur(Number(t))}get iterationDuration(){const{delay:t=0}=this.options||{};return this.duration+Ur(t)}get time(){return Ur(Number(this.animation.currentTime)||0)}set time(t){this.finishedTime=null,this.animation.currentTime=Ji(t)}get speed(){return this.animation.playbackRate}set speed(t){t<0&&(this.finishedTime=null),this.animation.playbackRate=t}get state(){return this.finishedTime!==null?"finished":this.animation.playState}get startTime(){return Number(this.animation.startTime)}set startTime(t){this.animation.startTime=t}attachTimeline({timeline:t,observe:n}){var r;return this.allowFlatten&&((r=this.animation.effect)==null||r.updateTiming({easing:"linear"})),this.animation.onfinish=null,t&&DQ()?(this.animation.timeline=t,qr):n(this)}}const CC={anticipate:iC,backInOut:rC,circInOut:sC};function MQ(e){return e in CC}function $Q(e){typeof e.ease=="string"&&MQ(e.ease)&&(e.ease=CC[e.ease])}const hE=10;class jQ extends OQ{constructor(t){$Q(t),wC(t),super(t),t.startTime&&(this.startTime=t.startTime),this.options=t}updateMotionValue(t){const{motionValue:n,onUpdate:r,onComplete:i,element:o,...a}=this.options;if(!n)return;if(t!==void 0){n.set(t);return}const l=new _v({...a,autoplay:!1}),c=Ji(this.finishedTime??this.time);n.setWithVelocity(l.sample(c-hE).value,l.sample(c).value,hE),l.stop()}}const mE=(e,t)=>t==="zIndex"?!1:!!(typeof e=="number"||Array.isArray(e)||typeof e=="string"&&(Ps.test(e)||e==="0")&&!e.startsWith("url("));function BQ(e){const t=e[0];if(e.length===1)return!0;for(let n=0;nObject.hasOwnProperty.call(Element.prototype,"animate"));function HQ(e){var p;const{motionValue:t,name:n,repeatDelay:r,repeatType:i,damping:o,type:a}=e;if(!(((p=t==null?void 0:t.owner)==null?void 0:p.current)instanceof HTMLElement))return!1;const{onUpdate:c,transformTemplate:f}=t.owner.getProps();return zQ()&&n&&UQ.has(n)&&(n!=="transform"||!f)&&!c&&!r&&i!=="mirror"&&o!==0&&a!=="inertia"}const qQ=40;class WQ extends Sv{constructor({autoplay:t=!0,delay:n=0,type:r="keyframes",repeat:i=0,repeatDelay:o=0,repeatType:a="loop",keyframes:l,name:c,motionValue:f,element:p,...h}){var y;super(),this.stop=()=>{var w,_;this._animation&&(this._animation.stop(),(w=this.stopTimeline)==null||w.call(this)),(_=this.keyframeResolver)==null||_.cancel()},this.createdAt=fr.now();const g={autoplay:t,delay:n,type:r,repeat:i,repeatDelay:o,repeatType:a,name:c,motionValue:f,element:p,...h},b=(p==null?void 0:p.KeyframeResolver)||Tv;this.keyframeResolver=new b(l,(w,_,T)=>this.onKeyframesResolved(w,_,g,!T),c,f,p),(y=this.keyframeResolver)==null||y.scheduleResolve()}onKeyframesResolved(t,n,r,i){this.keyframeResolver=void 0;const{name:o,type:a,velocity:l,delay:c,isHandoff:f,onUpdate:p}=r;this.resolvedAt=fr.now(),VQ(t,o,a,l)||((jo.instantAnimations||!c)&&(p==null||p(Ev(t,r,n))),t[0]=t[t.length-1],w2(r),r.repeat=0);const g={startTime:i?this.resolvedAt?this.resolvedAt-this.createdAt>qQ?this.resolvedAt:this.createdAt:this.createdAt:void 0,finalKeyframe:n,...r,keyframes:t},b=!f&&HQ(g)?new jQ({...g,element:g.motionValue.owner.current}):new _v(g);b.finished.then(()=>this.notifyFinished()).catch(qr),this.pendingTimeline&&(this.stopTimeline=b.attachTimeline(this.pendingTimeline),this.pendingTimeline=void 0),this._animation=b}get finished(){return this._animation?this.animation.finished:this._finished}then(t,n){return this.finished.finally(t).then(()=>{})}get animation(){var t;return this._animation||((t=this.keyframeResolver)==null||t.resume(),NQ()),this._animation}get duration(){return this.animation.duration}get iterationDuration(){return this.animation.iterationDuration}get time(){return this.animation.time}set time(t){this.animation.time=t}get speed(){return this.animation.speed}get state(){return this.animation.state}set speed(t){this.animation.speed=t}get startTime(){return this.animation.startTime}attachTimeline(t){return this._animation?this.stopTimeline=this.animation.attachTimeline(t):this.pendingTimeline=t,()=>this.stop()}play(){this.animation.play()}pause(){this.animation.pause()}complete(){this.animation.complete()}cancel(){var t;this._animation&&this.animation.cancel(),(t=this.keyframeResolver)==null||t.cancel()}}const GQ=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u;function QQ(e){const t=GQ.exec(e);if(!t)return[,];const[,n,r,i]=t;return[`--${n??r}`,i]}function NC(e,t,n=1){const[r,i]=QQ(e);if(!r)return;const o=window.getComputedStyle(t).getPropertyValue(r);if(o){const a=o.trim();return Yk(a)?parseFloat(a):a}return bv(i)?NC(i,t,n+1):i}function kv(e,t){return(e==null?void 0:e[t])??(e==null?void 0:e.default)??e}const AC=new Set(["width","height","top","left","right","bottom",...su]),YQ={test:e=>e==="auto",parse:e=>e},IC=e=>t=>t.test(e),DC=[ou,Oe,Ki,xs,VG,BG,YQ],gE=e=>DC.find(IC(e));function XQ(e){return typeof e=="number"?e===0:e!==null?e==="none"||e==="0"||Zk(e):!0}const ZQ=new Set(["brightness","contrast","saturate","opacity"]);function JQ(e){const[t,n]=e.slice(0,-1).split("(");if(t==="drop-shadow")return e;const[r]=n.match(vv)||[];if(!r)return e;const i=n.replace(r,"");let o=ZQ.has(t)?1:0;return r!==n&&(o*=100),t+"("+o+i+")"}const KQ=/\b([a-z-]*)\(.*?\)/gu,E2={...Ps,getAnimatableNone:e=>{const t=e.match(KQ);return t?t.map(JQ).join(" "):e}},bE={...ou,transform:Math.round},eY={rotate:xs,rotateX:xs,rotateY:xs,rotateZ:xs,scale:Xd,scaleX:Xd,scaleY:Xd,scaleZ:Xd,skew:xs,skewX:xs,skewY:xs,distance:Oe,translateX:Oe,translateY:Oe,translateZ:Oe,x:Oe,y:Oe,z:Oe,perspective:Oe,transformPerspective:Oe,opacity:Bc,originX:rE,originY:rE,originZ:Oe},Cv={borderWidth:Oe,borderTopWidth:Oe,borderRightWidth:Oe,borderBottomWidth:Oe,borderLeftWidth:Oe,borderRadius:Oe,radius:Oe,borderTopLeftRadius:Oe,borderTopRightRadius:Oe,borderBottomRightRadius:Oe,borderBottomLeftRadius:Oe,width:Oe,maxWidth:Oe,height:Oe,maxHeight:Oe,top:Oe,right:Oe,bottom:Oe,left:Oe,padding:Oe,paddingTop:Oe,paddingRight:Oe,paddingBottom:Oe,paddingLeft:Oe,margin:Oe,marginTop:Oe,marginRight:Oe,marginBottom:Oe,marginLeft:Oe,backgroundPositionX:Oe,backgroundPositionY:Oe,...eY,zIndex:bE,fillOpacity:Bc,strokeOpacity:Bc,numOctaves:bE},tY={...Cv,color:Zt,backgroundColor:Zt,outlineColor:Zt,fill:Zt,stroke:Zt,borderColor:Zt,borderTopColor:Zt,borderRightColor:Zt,borderBottomColor:Zt,borderLeftColor:Zt,filter:E2,WebkitFilter:E2},RC=e=>tY[e];function LC(e,t){let n=RC(e);return n!==E2&&(n=Ps),n.getAnimatableNone?n.getAnimatableNone(t):void 0}const nY=new Set(["auto","none","0"]);function rY(e,t,n){let r=0,i;for(;r{t.getValue(c).set(f)}),this.resolveNoneKeyframes()}}function oY(e,t,n){if(e instanceof EventTarget)return[e];if(typeof e=="string"){let r=document;const i=(n==null?void 0:n[e])??r.querySelectorAll(e);return i?Array.from(i):[]}return Array.from(e)}const PC=(e,t)=>t&&typeof e=="number"?t.transform(e):e;function sY(e){return Xk(e)&&"offsetHeight"in e}const vE=30,aY=e=>!isNaN(parseFloat(e)),fc={current:void 0};class lY{constructor(t,n={}){this.canTrackVelocity=null,this.events={},this.updateAndNotify=r=>{var o;const i=fr.now();if(this.updatedAt!==i&&this.setPrevFrameValue(),this.prev=this.current,this.setCurrent(r),this.current!==this.prev&&((o=this.events.change)==null||o.notify(this.current),this.dependents))for(const a of this.dependents)a.dirty()},this.hasAnimated=!1,this.setCurrent(t),this.owner=n.owner}setCurrent(t){this.current=t,this.updatedAt=fr.now(),this.canTrackVelocity===null&&t!==void 0&&(this.canTrackVelocity=aY(this.current))}setPrevFrameValue(t=this.current){this.prevFrameValue=t,this.prevUpdatedAt=this.updatedAt}onChange(t){return this.on("change",t)}on(t,n){this.events[t]||(this.events[t]=new pv);const r=this.events[t].add(n);return t==="change"?()=>{r(),xt.read(()=>{this.events.change.getSize()||this.stop()})}:r}clearListeners(){for(const t in this.events)this.events[t].clear()}attach(t,n){this.passiveEffect=t,this.stopPassiveEffect=n}set(t){this.passiveEffect?this.passiveEffect(t,this.updateAndNotify):this.updateAndNotify(t)}setWithVelocity(t,n,r){this.set(n),this.prev=void 0,this.prevFrameValue=t,this.prevUpdatedAt=this.updatedAt-r}jump(t,n=!0){this.updateAndNotify(t),this.prev=t,this.prevUpdatedAt=this.prevFrameValue=void 0,n&&this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}dirty(){var t;(t=this.events.change)==null||t.notify(this.current)}addDependent(t){this.dependents||(this.dependents=new Set),this.dependents.add(t)}removeDependent(t){this.dependents&&this.dependents.delete(t)}get(){return fc.current&&fc.current.push(this),this.current}getPrevious(){return this.prev}getVelocity(){const t=fr.now();if(!this.canTrackVelocity||this.prevFrameValue===void 0||t-this.updatedAt>vE)return 0;const n=Math.min(this.updatedAt-this.prevUpdatedAt,vE);return Jk(parseFloat(this.current)-parseFloat(this.prevFrameValue),n)}start(t){return this.stop(),new Promise(n=>{this.hasAnimated=!0,this.animation=t(n),this.events.animationStart&&this.events.animationStart.notify()}).then(()=>{this.events.animationComplete&&this.events.animationComplete.notify(),this.clearAnimation()})}stop(){this.animation&&(this.animation.stop(),this.events.animationCancel&&this.events.animationCancel.notify()),this.clearAnimation()}isAnimating(){return!!this.animation}clearAnimation(){delete this.animation}destroy(){var t,n;(t=this.dependents)==null||t.clear(),(n=this.events.destroy)==null||n.notify(),this.clearListeners(),this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}}function ka(e,t){return new lY(e,t)}const{schedule:Nv}=uC(queueMicrotask,!1),fi={x:!1,y:!1};function FC(){return fi.x||fi.y}function uY(e){return e==="x"||e==="y"?fi[e]?null:(fi[e]=!0,()=>{fi[e]=!1}):fi.x||fi.y?null:(fi.x=fi.y=!0,()=>{fi.x=fi.y=!1})}function OC(e,t){const n=oY(e),r=new AbortController,i={passive:!0,...t,signal:r.signal};return[n,i,()=>r.abort()]}function yE(e){return!(e.pointerType==="touch"||FC())}function cY(e,t,n={}){const[r,i,o]=OC(e,n),a=l=>{if(!yE(l))return;const{target:c}=l,f=t(c,l);if(typeof f!="function"||!c)return;const p=h=>{yE(h)&&(f(h),c.removeEventListener("pointerleave",p))};c.addEventListener("pointerleave",p,i)};return r.forEach(l=>{l.addEventListener("pointerenter",a,i)}),o}const MC=(e,t)=>t?e===t?!0:MC(e,t.parentElement):!1,Av=e=>e.pointerType==="mouse"?typeof e.button!="number"||e.button<=0:e.isPrimary!==!1,fY=new Set(["BUTTON","INPUT","SELECT","TEXTAREA","A"]);function dY(e){return fY.has(e.tagName)||e.tabIndex!==-1}const m0=new WeakSet;function xE(e){return t=>{t.key==="Enter"&&e(t)}}function F1(e,t){e.dispatchEvent(new PointerEvent("pointer"+t,{isPrimary:!0,bubbles:!0}))}const pY=(e,t)=>{const n=e.currentTarget;if(!n)return;const r=xE(()=>{if(m0.has(n))return;F1(n,"down");const i=xE(()=>{F1(n,"up")}),o=()=>F1(n,"cancel");n.addEventListener("keyup",i,t),n.addEventListener("blur",o,t)});n.addEventListener("keydown",r,t),n.addEventListener("blur",()=>n.removeEventListener("keydown",r),t)};function wE(e){return Av(e)&&!FC()}function hY(e,t,n={}){const[r,i,o]=OC(e,n),a=l=>{const c=l.currentTarget;if(!wE(l))return;m0.add(c);const f=t(c,l),p=(b,y)=>{window.removeEventListener("pointerup",h),window.removeEventListener("pointercancel",g),m0.has(c)&&m0.delete(c),wE(b)&&typeof f=="function"&&f(b,{success:y})},h=b=>{p(b,c===window||c===document||n.useGlobalTarget||MC(c,b.target))},g=b=>{p(b,!1)};window.addEventListener("pointerup",h,i),window.addEventListener("pointercancel",g,i)};return r.forEach(l=>{(n.useGlobalTarget?window:l).addEventListener("pointerdown",a,i),sY(l)&&(l.addEventListener("focus",f=>pY(f,i)),!dY(l)&&!l.hasAttribute("tabindex")&&(l.tabIndex=0))}),o}function $C(e){return Xk(e)&&"ownerSVGElement"in e}function mY(e){return $C(e)&&e.tagName==="svg"}function gY(...e){const t=!Array.isArray(e[0]),n=t?0:-1,r=e[0+n],i=e[1+n],o=e[2+n],a=e[3+n],l=xC(i,o,a);return t?l(r):l}const kn=e=>!!(e&&e.getVelocity),bY=[...DC,Zt,Ps],vY=e=>bY.find(IC(e)),Iv=v.createContext({transformPagePoint:e=>e,isStatic:!1,reducedMotion:"never"});function yY(e=!0){const t=v.useContext(lv);if(t===null)return[!0,null];const{isPresent:n,onExitComplete:r,register:i}=t,o=v.useId();v.useEffect(()=>{if(e)return i(o)},[e]);const a=v.useCallback(()=>e&&r&&r(o),[o,r,e]);return!n&&r?[!1,a]:[!0]}const jC=v.createContext({strict:!1}),EE={animation:["animate","variants","whileHover","whileTap","exit","whileInView","whileFocus","whileDrag"],exit:["exit"],drag:["drag","dragControls"],focus:["whileFocus"],hover:["whileHover","onHoverStart","onHoverEnd"],tap:["whileTap","onTap","onTapStart","onTapCancel"],pan:["onPan","onPanStart","onPanSessionStart","onPanEnd"],inView:["whileInView","onViewportEnter","onViewportLeave"],layout:["layout","layoutId"]},Jl={};for(const e in EE)Jl[e]={isEnabled:t=>EE[e].some(n=>!!t[n])};function xY(e){for(const t in e)Jl[t]={...Jl[t],...e[t]}}const wY=new Set(["animate","exit","variants","initial","style","values","variants","transition","transformTemplate","custom","inherit","onBeforeLayoutMeasure","onAnimationStart","onAnimationComplete","onUpdate","onDragStart","onDrag","onDragEnd","onMeasureDragConstraints","onDirectionLock","onDragTransitionEnd","_dragX","_dragY","onHoverStart","onHoverEnd","onViewportEnter","onViewportLeave","globalTapTarget","ignoreStrict","viewport"]);function ip(e){return e.startsWith("while")||e.startsWith("drag")&&e!=="draggable"||e.startsWith("layout")||e.startsWith("onTap")||e.startsWith("onPan")||e.startsWith("onLayout")||wY.has(e)}let BC=e=>!ip(e);function EY(e){typeof e=="function"&&(BC=t=>t.startsWith("on")?!ip(t):e(t))}try{EY(require("@emotion/is-prop-valid").default)}catch{}function SY(e,t,n){const r={};for(const i in e)i==="values"&&typeof e.values=="object"||(BC(i)||n===!0&&ip(i)||!t&&!ip(i)||e.draggable&&i.startsWith("onDrag"))&&(r[i]=e[i]);return r}const Gp=v.createContext({});function Qp(e){return e!==null&&typeof e=="object"&&typeof e.start=="function"}function Uc(e){return typeof e=="string"||Array.isArray(e)}const Dv=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],Rv=["initial",...Dv];function Yp(e){return Qp(e.animate)||Rv.some(t=>Uc(e[t]))}function VC(e){return!!(Yp(e)||e.variants)}function _Y(e,t){if(Yp(e)){const{initial:n,animate:r}=e;return{initial:n===!1||Uc(n)?n:void 0,animate:Uc(r)?r:void 0}}return e.inherit!==!1?t:{}}function TY(e){const{initial:t,animate:n}=_Y(e,v.useContext(Gp));return v.useMemo(()=>({initial:t,animate:n}),[SE(t),SE(n)])}function SE(e){return Array.isArray(e)?e.join(" "):e}const zc={};function kY(e){for(const t in e)zc[t]=e[t],gv(t)&&(zc[t].isCSSVariable=!0)}function UC(e,{layout:t,layoutId:n}){return au.has(e)||e.startsWith("origin")||(t||n!==void 0)&&(!!zc[e]||e==="opacity")}const CY={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},NY=su.length;function AY(e,t,n){let r="",i=!0;for(let o=0;o({style:{},transform:{},transformOrigin:{},vars:{}});function zC(e,t,n){for(const r in t)!kn(t[r])&&!UC(r,n)&&(e[r]=t[r])}function IY({transformTemplate:e},t){return v.useMemo(()=>{const n=Pv();return Lv(n,t,e),Object.assign({},n.vars,n.style)},[t])}function DY(e,t){const n=e.style||{},r={};return zC(r,n,e),Object.assign(r,IY(e,t)),r}function RY(e,t){const n={},r=DY(e,t);return e.drag&&e.dragListener!==!1&&(n.draggable=!1,r.userSelect=r.WebkitUserSelect=r.WebkitTouchCallout="none",r.touchAction=e.drag===!0?"none":`pan-${e.drag==="x"?"y":"x"}`),e.tabIndex===void 0&&(e.onTap||e.onTapStart||e.whileTap)&&(n.tabIndex=0),n.style=r,n}const LY={offset:"stroke-dashoffset",array:"stroke-dasharray"},PY={offset:"strokeDashoffset",array:"strokeDasharray"};function FY(e,t,n=1,r=0,i=!0){e.pathLength=1;const o=i?LY:PY;e[o.offset]=Oe.transform(-r);const a=Oe.transform(t),l=Oe.transform(n);e[o.array]=`${a} ${l}`}function HC(e,{attrX:t,attrY:n,attrScale:r,pathLength:i,pathSpacing:o=1,pathOffset:a=0,...l},c,f,p){if(Lv(e,l,f),c){e.style.viewBox&&(e.attrs.viewBox=e.style.viewBox);return}e.attrs=e.style,e.style={};const{attrs:h,style:g}=e;h.transform&&(g.transform=h.transform,delete h.transform),(g.transform||h.transformOrigin)&&(g.transformOrigin=h.transformOrigin??"50% 50%",delete h.transformOrigin),g.transform&&(g.transformBox=(p==null?void 0:p.transformBox)??"fill-box",delete h.transformBox),t!==void 0&&(h.x=t),n!==void 0&&(h.y=n),r!==void 0&&(h.scale=r),i!==void 0&&FY(h,i,o,a,!1)}const qC=()=>({...Pv(),attrs:{}}),WC=e=>typeof e=="string"&&e.toLowerCase()==="svg";function OY(e,t,n,r){const i=v.useMemo(()=>{const o=qC();return HC(o,t,WC(r),e.transformTemplate,e.style),{...o.attrs,style:{...o.style}}},[t]);if(e.style){const o={};zC(o,e.style,e),i.style={...o,...i.style}}return i}const MY=["animate","circle","defs","desc","ellipse","g","image","line","filter","marker","mask","metadata","path","pattern","polygon","polyline","rect","stop","switch","symbol","svg","text","tspan","use","view"];function Fv(e){return typeof e!="string"||e.includes("-")?!1:!!(MY.indexOf(e)>-1||/[A-Z]/u.test(e))}function $Y(e,t,n,{latestValues:r},i,o=!1){const l=(Fv(e)?OY:RY)(t,r,i,e),c=SY(t,typeof e=="string",o),f=e!==v.Fragment?{...c,...l,ref:n}:{},{children:p}=t,h=v.useMemo(()=>kn(p)?p.get():p,[p]);return v.createElement(e,{...f,children:h})}function _E(e){const t=[{},{}];return e==null||e.values.forEach((n,r)=>{t[0][r]=n.get(),t[1][r]=n.getVelocity()}),t}function Ov(e,t,n,r){if(typeof t=="function"){const[i,o]=_E(r);t=t(n!==void 0?n:e.custom,i,o)}if(typeof t=="string"&&(t=e.variants&&e.variants[t]),typeof t=="function"){const[i,o]=_E(r);t=t(n!==void 0?n:e.custom,i,o)}return t}function g0(e){return kn(e)?e.get():e}function jY({scrapeMotionValuesFromProps:e,createRenderState:t},n,r,i){return{latestValues:BY(n,r,i,e),renderState:t()}}function BY(e,t,n,r){const i={},o=r(e,{});for(const g in o)i[g]=g0(o[g]);let{initial:a,animate:l}=e;const c=Yp(e),f=VC(e);t&&f&&!c&&e.inherit!==!1&&(a===void 0&&(a=t.initial),l===void 0&&(l=t.animate));let p=n?n.initial===!1:!1;p=p||a===!1;const h=p?l:a;if(h&&typeof h!="boolean"&&!Qp(h)){const g=Array.isArray(h)?h:[h];for(let b=0;b(t,n)=>{const r=v.useContext(Gp),i=v.useContext(lv),o=()=>jY(e,t,r,i);return n?o():lf(o)};function Mv(e,t,n){var o;const{style:r}=e,i={};for(const a in r)(kn(r[a])||t.style&&kn(t.style[a])||UC(a,e)||((o=n==null?void 0:n.getValue(a))==null?void 0:o.liveStyle)!==void 0)&&(i[a]=r[a]);return i}const VY=GC({scrapeMotionValuesFromProps:Mv,createRenderState:Pv});function QC(e,t,n){const r=Mv(e,t,n);for(const i in e)if(kn(e[i])||kn(t[i])){const o=su.indexOf(i)!==-1?"attr"+i.charAt(0).toUpperCase()+i.substring(1):i;r[o]=e[i]}return r}const UY=GC({scrapeMotionValuesFromProps:QC,createRenderState:qC}),zY=Symbol.for("motionComponentSymbol");function vl(e){return e&&typeof e=="object"&&Object.prototype.hasOwnProperty.call(e,"current")}function HY(e,t,n){return v.useCallback(r=>{r&&e.onMount&&e.onMount(r),t&&(r?t.mount(r):t.unmount()),n&&(typeof n=="function"?n(r):vl(n)&&(n.current=r))},[t])}const $v=e=>e.replace(/([a-z])([A-Z])/gu,"$1-$2").toLowerCase(),qY="framerAppearId",YC="data-"+$v(qY),XC=v.createContext({});function WY(e,t,n,r,i){var w,_;const{visualElement:o}=v.useContext(Gp),a=v.useContext(jC),l=v.useContext(lv),c=v.useContext(Iv).reducedMotion,f=v.useRef(null);r=r||a.renderer,!f.current&&r&&(f.current=r(e,{visualState:t,parent:o,props:n,presenceContext:l,blockInitialAnimation:l?l.initial===!1:!1,reducedMotionConfig:c}));const p=f.current,h=v.useContext(XC);p&&!p.projection&&i&&(p.type==="html"||p.type==="svg")&&GY(f.current,n,i,h);const g=v.useRef(!1);v.useInsertionEffect(()=>{p&&g.current&&p.update(n,l)});const b=n[YC],y=v.useRef(!!b&&!((w=window.MotionHandoffIsComplete)!=null&&w.call(window,b))&&((_=window.MotionHasOptimisedAnimation)==null?void 0:_.call(window,b)));return Qk(()=>{p&&(g.current=!0,window.MotionIsMounted=!0,p.updateFeatures(),p.scheduleRenderMicrotask(),y.current&&p.animationState&&p.animationState.animateChanges())}),v.useEffect(()=>{p&&(!y.current&&p.animationState&&p.animationState.animateChanges(),y.current&&(queueMicrotask(()=>{var T;(T=window.MotionHandoffMarkAsComplete)==null||T.call(window,b)}),y.current=!1),p.enteringChildren=void 0)}),p}function GY(e,t,n,r){const{layoutId:i,layout:o,drag:a,dragConstraints:l,layoutScroll:c,layoutRoot:f,layoutCrossfade:p}=t;e.projection=new n(e.latestValues,t["data-framer-portal-id"]?void 0:ZC(e.parent)),e.projection.setOptions({layoutId:i,layout:o,alwaysMeasureLayout:!!a||l&&vl(l),visualElement:e,animationType:typeof o=="string"?o:"both",initialPromotionConfig:r,crossfade:p,layoutScroll:c,layoutRoot:f})}function ZC(e){if(e)return e.options.allowProjection!==!1?e.projection:ZC(e.parent)}function O1(e,{forwardMotionProps:t=!1}={},n,r){n&&xY(n);const i=Fv(e)?UY:VY;function o(l,c){let f;const p={...v.useContext(Iv),...l,layoutId:QY(l)},{isStatic:h}=p,g=TY(l),b=i(l,h);if(!h&&av){YY();const y=XY(p);f=y.MeasureLayout,g.visualElement=WY(e,b,p,r,y.ProjectionNode)}return k.jsxs(Gp.Provider,{value:g,children:[f&&g.visualElement?k.jsx(f,{visualElement:g.visualElement,...p}):null,$Y(e,l,HY(b,g.visualElement,c),b,h,t)]})}o.displayName=`motion.${typeof e=="string"?e:`create(${e.displayName??e.name??""})`}`;const a=v.forwardRef(o);return a[zY]=e,a}function QY({layoutId:e}){const t=v.useContext(Gk).id;return t&&e!==void 0?t+"-"+e:e}function YY(e,t){v.useContext(jC).strict}function XY(e){const{drag:t,layout:n}=Jl;if(!t&&!n)return{};const r={...t,...n};return{MeasureLayout:t!=null&&t.isEnabled(e)||n!=null&&n.isEnabled(e)?r.MeasureLayout:void 0,ProjectionNode:r.ProjectionNode}}function ZY(e,t){if(typeof Proxy>"u")return O1;const n=new Map,r=(o,a)=>O1(o,a,e,t),i=(o,a)=>r(o,a);return new Proxy(i,{get:(o,a)=>a==="create"?r:(n.has(a)||n.set(a,O1(a,void 0,e,t)),n.get(a))})}function JC({top:e,left:t,right:n,bottom:r}){return{x:{min:t,max:n},y:{min:e,max:r}}}function JY({x:e,y:t}){return{top:t.min,right:e.max,bottom:t.max,left:e.min}}function KY(e,t){if(!t)return e;const n=t({x:e.left,y:e.top}),r=t({x:e.right,y:e.bottom});return{top:n.y,left:n.x,bottom:r.y,right:r.x}}function M1(e){return e===void 0||e===1}function S2({scale:e,scaleX:t,scaleY:n}){return!M1(e)||!M1(t)||!M1(n)}function na(e){return S2(e)||KC(e)||e.z||e.rotate||e.rotateX||e.rotateY||e.skewX||e.skewY}function KC(e){return TE(e.x)||TE(e.y)}function TE(e){return e&&e!=="0%"}function op(e,t,n){const r=e-n,i=t*r;return n+i}function kE(e,t,n,r,i){return i!==void 0&&(e=op(e,i,r)),op(e,n,r)+t}function _2(e,t=0,n=1,r,i){e.min=kE(e.min,t,n,r,i),e.max=kE(e.max,t,n,r,i)}function e9(e,{x:t,y:n}){_2(e.x,t.translate,t.scale,t.originPoint),_2(e.y,n.translate,n.scale,n.originPoint)}const CE=.999999999999,NE=1.0000000000001;function eX(e,t,n,r=!1){const i=n.length;if(!i)return;t.x=t.y=1;let o,a;for(let l=0;lCE&&(t.x=1),t.yCE&&(t.y=1)}function yl(e,t){e.min=e.min+t,e.max=e.max+t}function AE(e,t,n,r,i=.5){const o=St(e.min,e.max,i);_2(e,t,n,o,r)}function xl(e,t){AE(e.x,t.x,t.scaleX,t.scale,t.originX),AE(e.y,t.y,t.scaleY,t.scale,t.originY)}function t9(e,t){return JC(KY(e.getBoundingClientRect(),t))}function tX(e,t,n){const r=t9(e,n),{scroll:i}=t;return i&&(yl(r.x,i.offset.x),yl(r.y,i.offset.y)),r}const IE=()=>({translate:0,scale:1,origin:0,originPoint:0}),wl=()=>({x:IE(),y:IE()}),DE=()=>({min:0,max:0}),zt=()=>({x:DE(),y:DE()}),T2={current:null},n9={current:!1};function nX(){if(n9.current=!0,!!av)if(window.matchMedia){const e=window.matchMedia("(prefers-reduced-motion)"),t=()=>T2.current=e.matches;e.addEventListener("change",t),t()}else T2.current=!1}const rX=new WeakMap;function iX(e,t,n){for(const r in t){const i=t[r],o=n[r];if(kn(i))e.addValue(r,i);else if(kn(o))e.addValue(r,ka(i,{owner:e}));else if(o!==i)if(e.hasValue(r)){const a=e.getValue(r);a.liveStyle===!0?a.jump(i):a.hasAnimated||a.set(i)}else{const a=e.getStaticValue(r);e.addValue(r,ka(a!==void 0?a:i,{owner:e}))}}for(const r in n)t[r]===void 0&&e.removeValue(r);return t}const RE=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"];class oX{scrapeMotionValuesFromProps(t,n,r){return{}}constructor({parent:t,props:n,presenceContext:r,reducedMotionConfig:i,blockInitialAnimation:o,visualState:a},l={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.values=new Map,this.KeyframeResolver=Tv,this.features={},this.valueSubscriptions=new Map,this.prevMotionValues={},this.events={},this.propEventSubscriptions={},this.notifyUpdate=()=>this.notify("Update",this.latestValues),this.render=()=>{this.current&&(this.triggerBuild(),this.renderInstance(this.current,this.renderState,this.props.style,this.projection))},this.renderScheduledAt=0,this.scheduleRender=()=>{const g=fr.now();this.renderScheduledAtthis.bindToMotionValue(i,r)),n9.current||nX(),this.shouldReduceMotion=this.reducedMotionConfig==="never"?!1:this.reducedMotionConfig==="always"?!0:T2.current,(n=this.parent)==null||n.addChild(this),this.update(this.props,this.presenceContext)}unmount(){var t;this.projection&&this.projection.unmount(),Bo(this.notifyUpdate),Bo(this.render),this.valueSubscriptions.forEach(n=>n()),this.valueSubscriptions.clear(),this.removeFromVariantTree&&this.removeFromVariantTree(),(t=this.parent)==null||t.removeChild(this);for(const n in this.events)this.events[n].clear();for(const n in this.features){const r=this.features[n];r&&(r.unmount(),r.isMounted=!1)}this.current=null}addChild(t){this.children.add(t),this.enteringChildren??(this.enteringChildren=new Set),this.enteringChildren.add(t)}removeChild(t){this.children.delete(t),this.enteringChildren&&this.enteringChildren.delete(t)}bindToMotionValue(t,n){this.valueSubscriptions.has(t)&&this.valueSubscriptions.get(t)();const r=au.has(t);r&&this.onBindTransform&&this.onBindTransform();const i=n.on("change",a=>{this.latestValues[t]=a,this.props.onUpdate&&xt.preRender(this.notifyUpdate),r&&this.projection&&(this.projection.isTransformDirty=!0),this.scheduleRender()});let o;window.MotionCheckAppearSync&&(o=window.MotionCheckAppearSync(this,t,n)),this.valueSubscriptions.set(t,()=>{i(),o&&o(),n.owner&&n.stop()})}sortNodePosition(t){return!this.current||!this.sortInstanceNodePosition||this.type!==t.type?0:this.sortInstanceNodePosition(this.current,t.current)}updateFeatures(){let t="animation";for(t in Jl){const n=Jl[t];if(!n)continue;const{isEnabled:r,Feature:i}=n;if(!this.features[t]&&i&&r(this.props)&&(this.features[t]=new i(this)),this.features[t]){const o=this.features[t];o.isMounted?o.update():(o.mount(),o.isMounted=!0)}}}triggerBuild(){this.build(this.renderState,this.latestValues,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):zt()}getStaticValue(t){return this.latestValues[t]}setStaticValue(t,n){this.latestValues[t]=n}update(t,n){(t.transformTemplate||this.props.transformTemplate)&&this.scheduleRender(),this.prevProps=this.props,this.props=t,this.prevPresenceContext=this.presenceContext,this.presenceContext=n;for(let r=0;rn.variantChildren.delete(t)}addValue(t,n){const r=this.values.get(t);n!==r&&(r&&this.removeValue(t),this.bindToMotionValue(t,n),this.values.set(t,n),this.latestValues[t]=n.get())}removeValue(t){this.values.delete(t);const n=this.valueSubscriptions.get(t);n&&(n(),this.valueSubscriptions.delete(t)),delete this.latestValues[t],this.removeValueFromRenderState(t,this.renderState)}hasValue(t){return this.values.has(t)}getValue(t,n){if(this.props.values&&this.props.values[t])return this.props.values[t];let r=this.values.get(t);return r===void 0&&n!==void 0&&(r=ka(n===null?void 0:n,{owner:this}),this.addValue(t,r)),r}readValue(t,n){let r=this.latestValues[t]!==void 0||!this.current?this.latestValues[t]:this.getBaseTargetFromProps(this.props,t)??this.readValueFromInstance(this.current,t,this.options);return r!=null&&(typeof r=="string"&&(Yk(r)||Zk(r))?r=parseFloat(r):!vY(r)&&Ps.test(n)&&(r=LC(t,n)),this.setBaseTarget(t,kn(r)?r.get():r)),kn(r)?r.get():r}setBaseTarget(t,n){this.baseTarget[t]=n}getBaseTarget(t){var o;const{initial:n}=this.props;let r;if(typeof n=="string"||typeof n=="object"){const a=Ov(this.props,n,(o=this.presenceContext)==null?void 0:o.custom);a&&(r=a[t])}if(n&&r!==void 0)return r;const i=this.getBaseTargetFromProps(this.props,t);return i!==void 0&&!kn(i)?i:this.initialValues[t]!==void 0&&r===void 0?void 0:this.baseTarget[t]}on(t,n){return this.events[t]||(this.events[t]=new pv),this.events[t].add(n)}notify(t,...n){this.events[t]&&this.events[t].notify(...n)}scheduleRenderMicrotask(){Nv.render(this.render)}}class r9 extends oX{constructor(){super(...arguments),this.KeyframeResolver=iY}sortInstanceNodePosition(t,n){return t.compareDocumentPosition(n)&2?1:-1}getBaseTargetFromProps(t,n){return t.style?t.style[n]:void 0}removeValueFromRenderState(t,{vars:n,style:r}){delete n[t],delete r[t]}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);const{children:t}=this.props;kn(t)&&(this.childSubscription=t.on("change",n=>{this.current&&(this.current.textContent=`${n}`)}))}}function i9(e,{style:t,vars:n},r,i){const o=e.style;let a;for(a in t)o[a]=t[a];i==null||i.applyProjectionStyles(o,r);for(a in n)o.setProperty(a,n[a])}function sX(e){return window.getComputedStyle(e)}class aX extends r9{constructor(){super(...arguments),this.type="html",this.renderInstance=i9}readValueFromInstance(t,n){var r;if(au.has(n))return(r=this.projection)!=null&&r.isProjecting?g2(n):SQ(t,n);{const i=sX(t),o=(gv(n)?i.getPropertyValue(n):i[n])||0;return typeof o=="string"?o.trim():o}}measureInstanceViewportBox(t,{transformPagePoint:n}){return t9(t,n)}build(t,n,r){Lv(t,n,r.transformTemplate)}scrapeMotionValuesFromProps(t,n,r){return Mv(t,n,r)}}const o9=new Set(["baseFrequency","diffuseConstant","kernelMatrix","kernelUnitLength","keySplines","keyTimes","limitingConeAngle","markerHeight","markerWidth","numOctaves","targetX","targetY","surfaceScale","specularConstant","specularExponent","stdDeviation","tableValues","viewBox","gradientTransform","pathLength","startOffset","textLength","lengthAdjust"]);function lX(e,t,n,r){i9(e,t,void 0,r);for(const i in t.attrs)e.setAttribute(o9.has(i)?i:$v(i),t.attrs[i])}class uX extends r9{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1,this.measureInstanceViewportBox=zt}getBaseTargetFromProps(t,n){return t[n]}readValueFromInstance(t,n){if(au.has(n)){const r=RC(n);return r&&r.default||0}return n=o9.has(n)?n:$v(n),t.getAttribute(n)}scrapeMotionValuesFromProps(t,n,r){return QC(t,n,r)}build(t,n,r){HC(t,n,this.isSVGTag,r.transformTemplate,r.style)}renderInstance(t,n,r,i){lX(t,n,r,i)}mount(t){this.isSVGTag=WC(t.tagName),super.mount(t)}}const cX=(e,t)=>Fv(e)?new uX(t):new aX(t,{allowProjection:e!==v.Fragment});function Ol(e,t,n){const r=e.getProps();return Ov(r,t,n!==void 0?n:r.custom,e)}const k2=e=>Array.isArray(e);function fX(e,t,n){e.hasValue(t)?e.getValue(t).set(n):e.addValue(t,ka(n))}function dX(e){return k2(e)?e[e.length-1]||0:e}function pX(e,t){const n=Ol(e,t);let{transitionEnd:r={},transition:i={},...o}=n||{};o={...o,...r};for(const a in o){const l=dX(o[a]);fX(e,a,l)}}function hX(e){return!!(kn(e)&&e.add)}function C2(e,t){const n=e.getValue("willChange");if(hX(n))return n.add(t);if(!n&&jo.WillChange){const r=new jo.WillChange("auto");e.addValue("willChange",r),r.add(t)}}function s9(e){return e.props[YC]}const mX=e=>e!==null;function gX(e,{repeat:t,repeatType:n="loop"},r){const i=e.filter(mX),o=t&&n!=="loop"&&t%2===1?0:i.length-1;return i[o]}const bX={type:"spring",stiffness:500,damping:25,restSpeed:10},vX=e=>({type:"spring",stiffness:550,damping:e===0?2*Math.sqrt(550):30,restSpeed:10}),yX={type:"keyframes",duration:.8},xX={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},wX=(e,{keyframes:t})=>t.length>2?yX:au.has(e)?e.startsWith("scale")?vX(t[1]):bX:xX;function EX({when:e,delay:t,delayChildren:n,staggerChildren:r,staggerDirection:i,repeat:o,repeatType:a,repeatDelay:l,from:c,elapsed:f,...p}){return!!Object.keys(p).length}const jv=(e,t,n,r={},i,o)=>a=>{const l=kv(r,e)||{},c=l.delay||r.delay||0;let{elapsed:f=0}=r;f=f-Ji(c);const p={keyframes:Array.isArray(n)?n:[null,n],ease:"easeOut",velocity:t.getVelocity(),...l,delay:-f,onUpdate:g=>{t.set(g),l.onUpdate&&l.onUpdate(g)},onComplete:()=>{a(),l.onComplete&&l.onComplete()},name:e,motionValue:t,element:o?void 0:i};EX(l)||Object.assign(p,wX(e,p)),p.duration&&(p.duration=Ji(p.duration)),p.repeatDelay&&(p.repeatDelay=Ji(p.repeatDelay)),p.from!==void 0&&(p.keyframes[0]=p.from);let h=!1;if((p.type===!1||p.duration===0&&!p.repeatDelay)&&(w2(p),p.delay===0&&(h=!0)),(jo.instantAnimations||jo.skipAnimations)&&(h=!0,w2(p),p.delay=0),p.allowFlatten=!l.type&&!l.ease,h&&!o&&t.get()!==void 0){const g=gX(p.keyframes,l);if(g!==void 0){xt.update(()=>{p.onUpdate(g),p.onComplete()});return}}return l.isSync?new _v(p):new WQ(p)};function SX({protectedKeys:e,needsAnimating:t},n){const r=e.hasOwnProperty(n)&&t[n]!==!0;return t[n]=!1,r}function a9(e,t,{delay:n=0,transitionOverride:r,type:i}={}){let{transition:o=e.getDefaultTransition(),transitionEnd:a,...l}=t;r&&(o=r);const c=[],f=i&&e.animationState&&e.animationState.getState()[i];for(const p in l){const h=e.getValue(p,e.latestValues[p]??null),g=l[p];if(g===void 0||f&&SX(f,p))continue;const b={delay:n,...kv(o||{},p)},y=h.get();if(y!==void 0&&!h.isAnimating&&!Array.isArray(g)&&g===y&&!b.velocity)continue;let w=!1;if(window.MotionHandoffAnimation){const T=s9(e);if(T){const N=window.MotionHandoffAnimation(T,p,xt);N!==null&&(b.startTime=N,w=!0)}}C2(e,p),h.start(jv(p,h,g,e.shouldReduceMotion&&AC.has(p)?{type:!1}:b,e,w));const _=h.animation;_&&c.push(_)}return a&&Promise.all(c).then(()=>{xt.update(()=>{a&&pX(e,a)})}),c}function l9(e,t,n,r=0,i=1){const o=Array.from(e).sort((f,p)=>f.sortNodePosition(p)).indexOf(t),a=e.size,l=(a-1)*r;return typeof n=="function"?n(o,a):i===1?o*r:l-o*r}function N2(e,t,n={}){var c;const r=Ol(e,t,n.type==="exit"?(c=e.presenceContext)==null?void 0:c.custom:void 0);let{transition:i=e.getDefaultTransition()||{}}=r||{};n.transitionOverride&&(i=n.transitionOverride);const o=r?()=>Promise.all(a9(e,r,n)):()=>Promise.resolve(),a=e.variantChildren&&e.variantChildren.size?(f=0)=>{const{delayChildren:p=0,staggerChildren:h,staggerDirection:g}=i;return _X(e,t,f,p,h,g,n)}:()=>Promise.resolve(),{when:l}=i;if(l){const[f,p]=l==="beforeChildren"?[o,a]:[a,o];return f().then(()=>p())}else return Promise.all([o(),a(n.delay)])}function _X(e,t,n=0,r=0,i=0,o=1,a){const l=[];for(const c of e.variantChildren)c.notify("AnimationStart",t),l.push(N2(c,t,{...a,delay:n+(typeof r=="function"?0:r)+l9(e.variantChildren,c,r,i,o)}).then(()=>c.notify("AnimationComplete",t)));return Promise.all(l)}function TX(e,t,n={}){e.notify("AnimationStart",t);let r;if(Array.isArray(t)){const i=t.map(o=>N2(e,o,n));r=Promise.all(i)}else if(typeof t=="string")r=N2(e,t,n);else{const i=typeof t=="function"?Ol(e,t,n.custom):t;r=Promise.all(a9(e,i,n))}return r.then(()=>{e.notify("AnimationComplete",t)})}function u9(e,t){if(!Array.isArray(t))return!1;const n=t.length;if(n!==e.length)return!1;for(let r=0;rPromise.all(t.map(({animation:n,options:r})=>TX(e,n,r)))}function IX(e){let t=AX(e),n=LE(),r=!0;const i=c=>(f,p)=>{var g;const h=Ol(e,p,c==="exit"?(g=e.presenceContext)==null?void 0:g.custom:void 0);if(h){const{transition:b,transitionEnd:y,...w}=h;f={...f,...w,...y}}return f};function o(c){t=c(e)}function a(c){const{props:f}=e,p=c9(e.parent)||{},h=[],g=new Set;let b={},y=1/0;for(let _=0;_y&&A,$=!1;const Q=Array.isArray(C)?C:[C];let Z=Q.reduce(i(T),{});D===!1&&(Z={});const{prevResolvedValues:ee={}}=N,U={...ee,...Z},O=K=>{H=!0,g.has(K)&&($=!0,g.delete(K)),N.needsAnimating[K]=!0;const P=e.getValue(K);P&&(P.liveStyle=!1)};for(const K in U){const P=Z[K],B=ee[K];if(b.hasOwnProperty(K))continue;let q=!1;k2(P)&&k2(B)?q=!u9(P,B):q=P!==B,q?P!=null?O(K):g.add(K):P!==void 0&&g.has(K)?O(K):N.protectedKeys[K]=!0}N.prevProp=C,N.prevResolvedValues=Z,N.isActive&&(b={...b,...Z}),r&&e.blockInitialAnimation&&(H=!1);const G=L&&F;H&&(!G||$)&&h.push(...Q.map(K=>{const P={type:T};if(typeof K=="string"&&r&&!G&&e.manuallyAnimateOnMount&&e.parent){const{parent:B}=e,q=Ol(B,K);if(B.enteringChildren&&q){const{delayChildren:j}=q.transition||{};P.delay=l9(B.enteringChildren,e,j)}}return{animation:K,options:P}}))}if(g.size){const _={};if(typeof f.initial!="boolean"){const T=Ol(e,Array.isArray(f.initial)?f.initial[0]:f.initial);T&&T.transition&&(_.transition=T.transition)}g.forEach(T=>{const N=e.getBaseTarget(T),C=e.getValue(T);C&&(C.liveStyle=!0),_[T]=N??null}),h.push({animation:_})}let w=!!h.length;return r&&(f.initial===!1||f.initial===f.animate)&&!e.manuallyAnimateOnMount&&(w=!1),r=!1,w?t(h):Promise.resolve()}function l(c,f){var h;if(n[c].isActive===f)return Promise.resolve();(h=e.variantChildren)==null||h.forEach(g=>{var b;return(b=g.animationState)==null?void 0:b.setActive(c,f)}),n[c].isActive=f;const p=a(c);for(const g in n)n[g].protectedKeys={};return p}return{animateChanges:a,setActive:l,setAnimateFunction:o,getState:()=>n,reset:()=>{n=LE()}}}function DX(e,t){return typeof t=="string"?t!==e:Array.isArray(t)?!u9(t,e):!1}function ea(e=!1){return{isActive:e,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function LE(){return{animate:ea(!0),whileInView:ea(),whileHover:ea(),whileTap:ea(),whileDrag:ea(),whileFocus:ea(),exit:ea()}}class Fs{constructor(t){this.isMounted=!1,this.node=t}update(){}}class RX extends Fs{constructor(t){super(t),t.animationState||(t.animationState=IX(t))}updateAnimationControlsSubscription(){const{animate:t}=this.node.getProps();Qp(t)&&(this.unmountControls=t.subscribe(this.node))}mount(){this.updateAnimationControlsSubscription()}update(){const{animate:t}=this.node.getProps(),{animate:n}=this.node.prevProps||{};t!==n&&this.updateAnimationControlsSubscription()}unmount(){var t;this.node.animationState.reset(),(t=this.unmountControls)==null||t.call(this)}}let LX=0;class PX extends Fs{constructor(){super(...arguments),this.id=LX++}update(){if(!this.node.presenceContext)return;const{isPresent:t,onExitComplete:n}=this.node.presenceContext,{isPresent:r}=this.node.prevPresenceContext||{};if(!this.node.animationState||t===r)return;const i=this.node.animationState.setActive("exit",!t);n&&!t&&i.then(()=>{n(this.id)})}mount(){const{register:t,onExitComplete:n}=this.node.presenceContext||{};n&&n(this.id),t&&(this.unmount=t(this.id))}unmount(){}}const FX={animation:{Feature:RX},exit:{Feature:PX}};function Hc(e,t,n,r={passive:!0}){return e.addEventListener(t,n,r),()=>e.removeEventListener(t,n)}function df(e){return{point:{x:e.pageX,y:e.pageY}}}const OX=e=>t=>Av(t)&&e(t,df(t));function dc(e,t,n,r){return Hc(e,t,OX(n),r)}const f9=1e-4,MX=1-f9,$X=1+f9,d9=.01,jX=0-d9,BX=0+d9;function Xn(e){return e.max-e.min}function VX(e,t,n){return Math.abs(e-t)<=n}function PE(e,t,n,r=.5){e.origin=r,e.originPoint=St(t.min,t.max,e.origin),e.scale=Xn(n)/Xn(t),e.translate=St(n.min,n.max,e.origin)-e.originPoint,(e.scale>=MX&&e.scale<=$X||isNaN(e.scale))&&(e.scale=1),(e.translate>=jX&&e.translate<=BX||isNaN(e.translate))&&(e.translate=0)}function pc(e,t,n,r){PE(e.x,t.x,n.x,r?r.originX:void 0),PE(e.y,t.y,n.y,r?r.originY:void 0)}function FE(e,t,n){e.min=n.min+t.min,e.max=e.min+Xn(t)}function UX(e,t,n){FE(e.x,t.x,n.x),FE(e.y,t.y,n.y)}function OE(e,t,n){e.min=t.min-n.min,e.max=e.min+Xn(t)}function hc(e,t,n){OE(e.x,t.x,n.x),OE(e.y,t.y,n.y)}function Br(e){return[e("x"),e("y")]}const p9=({current:e})=>e?e.ownerDocument.defaultView:null,ME=(e,t)=>Math.abs(e-t);function zX(e,t){const n=ME(e.x,t.x),r=ME(e.y,t.y);return Math.sqrt(n**2+r**2)}class h9{constructor(t,n,{transformPagePoint:r,contextWindow:i=window,dragSnapToOrigin:o=!1,distanceThreshold:a=3}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.handlers={},this.contextWindow=window,this.updatePoint=()=>{if(!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const g=j1(this.lastMoveEventInfo,this.history),b=this.startEvent!==null,y=zX(g.offset,{x:0,y:0})>=this.distanceThreshold;if(!b&&!y)return;const{point:w}=g,{timestamp:_}=Sn;this.history.push({...w,timestamp:_});const{onStart:T,onMove:N}=this.handlers;b||(T&&T(this.lastMoveEvent,g),this.startEvent=this.lastMoveEvent),N&&N(this.lastMoveEvent,g)},this.handlePointerMove=(g,b)=>{this.lastMoveEvent=g,this.lastMoveEventInfo=$1(b,this.transformPagePoint),xt.update(this.updatePoint,!0)},this.handlePointerUp=(g,b)=>{this.end();const{onEnd:y,onSessionEnd:w,resumeAnimation:_}=this.handlers;if(this.dragSnapToOrigin&&_&&_(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const T=j1(g.type==="pointercancel"?this.lastMoveEventInfo:$1(b,this.transformPagePoint),this.history);this.startEvent&&y&&y(g,T),w&&w(g,T)},!Av(t))return;this.dragSnapToOrigin=o,this.handlers=n,this.transformPagePoint=r,this.distanceThreshold=a,this.contextWindow=i||window;const l=df(t),c=$1(l,this.transformPagePoint),{point:f}=c,{timestamp:p}=Sn;this.history=[{...f,timestamp:p}];const{onSessionStart:h}=n;h&&h(t,j1(c,this.history)),this.removeListeners=uf(dc(this.contextWindow,"pointermove",this.handlePointerMove),dc(this.contextWindow,"pointerup",this.handlePointerUp),dc(this.contextWindow,"pointercancel",this.handlePointerUp))}updateHandlers(t){this.handlers=t}end(){this.removeListeners&&this.removeListeners(),Bo(this.updatePoint)}}function $1(e,t){return t?{point:t(e.point)}:e}function $E(e,t){return{x:e.x-t.x,y:e.y-t.y}}function j1({point:e},t){return{point:e,delta:$E(e,m9(t)),offset:$E(e,HX(t)),velocity:qX(t,.1)}}function HX(e){return e[0]}function m9(e){return e[e.length-1]}function qX(e,t){if(e.length<2)return{x:0,y:0};let n=e.length-1,r=null;const i=m9(e);for(;n>=0&&(r=e[n],!(i.timestamp-r.timestamp>Ji(t)));)n--;if(!r)return{x:0,y:0};const o=Ur(i.timestamp-r.timestamp);if(o===0)return{x:0,y:0};const a={x:(i.x-r.x)/o,y:(i.y-r.y)/o};return a.x===1/0&&(a.x=0),a.y===1/0&&(a.y=0),a}function WX(e,{min:t,max:n},r){return t!==void 0&&en&&(e=r?St(n,e,r.max):Math.min(e,n)),e}function jE(e,t,n){return{min:t!==void 0?e.min+t:void 0,max:n!==void 0?e.max+n-(e.max-e.min):void 0}}function GX(e,{top:t,left:n,bottom:r,right:i}){return{x:jE(e.x,n,i),y:jE(e.y,t,r)}}function BE(e,t){let n=t.min-e.min,r=t.max-e.max;return t.max-t.minr?n=jc(t.min,t.max-r,e.min):r>i&&(n=jc(e.min,e.max-i,t.min)),$o(0,1,n)}function XX(e,t){const n={};return t.min!==void 0&&(n.min=t.min-e.min),t.max!==void 0&&(n.max=t.max-e.min),n}const A2=.35;function ZX(e=A2){return e===!1?e=0:e===!0&&(e=A2),{x:VE(e,"left","right"),y:VE(e,"top","bottom")}}function VE(e,t,n){return{min:UE(e,t),max:UE(e,n)}}function UE(e,t){return typeof e=="number"?e:e[t]||0}const JX=new WeakMap;class KX{constructor(t){this.openDragLock=null,this.isDragging=!1,this.currentDirection=null,this.originPoint={x:0,y:0},this.constraints=!1,this.hasMutatedConstraints=!1,this.elastic=zt(),this.latestPointerEvent=null,this.latestPanInfo=null,this.visualElement=t}start(t,{snapToCursor:n=!1,distanceThreshold:r}={}){const{presenceContext:i}=this.visualElement;if(i&&i.isPresent===!1)return;const o=h=>{const{dragSnapToOrigin:g}=this.getProps();g?this.pauseAnimation():this.stopAnimation(),n&&this.snapToCursor(df(h).point)},a=(h,g)=>{const{drag:b,dragPropagation:y,onDragStart:w}=this.getProps();if(b&&!y&&(this.openDragLock&&this.openDragLock(),this.openDragLock=uY(b),!this.openDragLock))return;this.latestPointerEvent=h,this.latestPanInfo=g,this.isDragging=!0,this.currentDirection=null,this.resolveConstraints(),this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!0,this.visualElement.projection.target=void 0),Br(T=>{let N=this.getAxisMotionValue(T).get()||0;if(Ki.test(N)){const{projection:C}=this.visualElement;if(C&&C.layout){const A=C.layout.layoutBox[T];A&&(N=Xn(A)*(parseFloat(N)/100))}}this.originPoint[T]=N}),w&&xt.postRender(()=>w(h,g)),C2(this.visualElement,"transform");const{animationState:_}=this.visualElement;_&&_.setActive("whileDrag",!0)},l=(h,g)=>{this.latestPointerEvent=h,this.latestPanInfo=g;const{dragPropagation:b,dragDirectionLock:y,onDirectionLock:w,onDrag:_}=this.getProps();if(!b&&!this.openDragLock)return;const{offset:T}=g;if(y&&this.currentDirection===null){this.currentDirection=eZ(T),this.currentDirection!==null&&w&&w(this.currentDirection);return}this.updateAxis("x",g.point,T),this.updateAxis("y",g.point,T),this.visualElement.render(),_&&_(h,g)},c=(h,g)=>{this.latestPointerEvent=h,this.latestPanInfo=g,this.stop(h,g),this.latestPointerEvent=null,this.latestPanInfo=null},f=()=>Br(h=>{var g;return this.getAnimationState(h)==="paused"&&((g=this.getAxisMotionValue(h).animation)==null?void 0:g.play())}),{dragSnapToOrigin:p}=this.getProps();this.panSession=new h9(t,{onSessionStart:o,onStart:a,onMove:l,onSessionEnd:c,resumeAnimation:f},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:p,distanceThreshold:r,contextWindow:p9(this.visualElement)})}stop(t,n){const r=t||this.latestPointerEvent,i=n||this.latestPanInfo,o=this.isDragging;if(this.cancel(),!o||!i||!r)return;const{velocity:a}=i;this.startAnimation(a);const{onDragEnd:l}=this.getProps();l&&xt.postRender(()=>l(r,i))}cancel(){this.isDragging=!1;const{projection:t,animationState:n}=this.visualElement;t&&(t.isAnimationBlocked=!1),this.panSession&&this.panSession.end(),this.panSession=void 0;const{dragPropagation:r}=this.getProps();!r&&this.openDragLock&&(this.openDragLock(),this.openDragLock=null),n&&n.setActive("whileDrag",!1)}updateAxis(t,n,r){const{drag:i}=this.getProps();if(!r||!Zd(t,i,this.currentDirection))return;const o=this.getAxisMotionValue(t);let a=this.originPoint[t]+r[t];this.constraints&&this.constraints[t]&&(a=WX(a,this.constraints[t],this.elastic[t])),o.set(a)}resolveConstraints(){var o;const{dragConstraints:t,dragElastic:n}=this.getProps(),r=this.visualElement.projection&&!this.visualElement.projection.layout?this.visualElement.projection.measure(!1):(o=this.visualElement.projection)==null?void 0:o.layout,i=this.constraints;t&&vl(t)?this.constraints||(this.constraints=this.resolveRefConstraints()):t&&r?this.constraints=GX(r.layoutBox,t):this.constraints=!1,this.elastic=ZX(n),i!==this.constraints&&r&&this.constraints&&!this.hasMutatedConstraints&&Br(a=>{this.constraints!==!1&&this.getAxisMotionValue(a)&&(this.constraints[a]=XX(r.layoutBox[a],this.constraints[a]))})}resolveRefConstraints(){const{dragConstraints:t,onMeasureDragConstraints:n}=this.getProps();if(!t||!vl(t))return!1;const r=t.current,{projection:i}=this.visualElement;if(!i||!i.layout)return!1;const o=tX(r,i.root,this.visualElement.getTransformPagePoint());let a=QX(i.layout.layoutBox,o);if(n){const l=n(JY(a));this.hasMutatedConstraints=!!l,l&&(a=JC(l))}return a}startAnimation(t){const{drag:n,dragMomentum:r,dragElastic:i,dragTransition:o,dragSnapToOrigin:a,onDragTransitionEnd:l}=this.getProps(),c=this.constraints||{},f=Br(p=>{if(!Zd(p,n,this.currentDirection))return;let h=c&&c[p]||{};a&&(h={min:0,max:0});const g=i?200:1e6,b=i?40:1e7,y={type:"inertia",velocity:r?t[p]:0,bounceStiffness:g,bounceDamping:b,timeConstant:750,restDelta:1,restSpeed:10,...o,...h};return this.startAxisValueAnimation(p,y)});return Promise.all(f).then(l)}startAxisValueAnimation(t,n){const r=this.getAxisMotionValue(t);return C2(this.visualElement,t),r.start(jv(t,r,0,n,this.visualElement,!1))}stopAnimation(){Br(t=>this.getAxisMotionValue(t).stop())}pauseAnimation(){Br(t=>{var n;return(n=this.getAxisMotionValue(t).animation)==null?void 0:n.pause()})}getAnimationState(t){var n;return(n=this.getAxisMotionValue(t).animation)==null?void 0:n.state}getAxisMotionValue(t){const n=`_drag${t.toUpperCase()}`,r=this.visualElement.getProps(),i=r[n];return i||this.visualElement.getValue(t,(r.initial?r.initial[t]:void 0)||0)}snapToCursor(t){Br(n=>{const{drag:r}=this.getProps();if(!Zd(n,r,this.currentDirection))return;const{projection:i}=this.visualElement,o=this.getAxisMotionValue(n);if(i&&i.layout){const{min:a,max:l}=i.layout.layoutBox[n];o.set(t[n]-St(a,l,.5))}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;const{drag:t,dragConstraints:n}=this.getProps(),{projection:r}=this.visualElement;if(!vl(n)||!r||!this.constraints)return;this.stopAnimation();const i={x:0,y:0};Br(a=>{const l=this.getAxisMotionValue(a);if(l&&this.constraints!==!1){const c=l.get();i[a]=YX({min:c,max:c},this.constraints[a])}});const{transformTemplate:o}=this.visualElement.getProps();this.visualElement.current.style.transform=o?o({},""):"none",r.root&&r.root.updateScroll(),r.updateLayout(),this.resolveConstraints(),Br(a=>{if(!Zd(a,t,null))return;const l=this.getAxisMotionValue(a),{min:c,max:f}=this.constraints[a];l.set(St(c,f,i[a]))})}addListeners(){if(!this.visualElement.current)return;JX.set(this.visualElement,this);const t=this.visualElement.current,n=dc(t,"pointerdown",c=>{const{drag:f,dragListener:p=!0}=this.getProps();f&&p&&this.start(c)}),r=()=>{const{dragConstraints:c}=this.getProps();vl(c)&&c.current&&(this.constraints=this.resolveRefConstraints())},{projection:i}=this.visualElement,o=i.addEventListener("measure",r);i&&!i.layout&&(i.root&&i.root.updateScroll(),i.updateLayout()),xt.read(r);const a=Hc(window,"resize",()=>this.scalePositionWithinConstraints()),l=i.addEventListener("didUpdate",(({delta:c,hasLayoutChanged:f})=>{this.isDragging&&f&&(Br(p=>{const h=this.getAxisMotionValue(p);h&&(this.originPoint[p]+=c[p].translate,h.set(h.get()+c[p].translate))}),this.visualElement.render())}));return()=>{a(),n(),o(),l&&l()}}getProps(){const t=this.visualElement.getProps(),{drag:n=!1,dragDirectionLock:r=!1,dragPropagation:i=!1,dragConstraints:o=!1,dragElastic:a=A2,dragMomentum:l=!0}=t;return{...t,drag:n,dragDirectionLock:r,dragPropagation:i,dragConstraints:o,dragElastic:a,dragMomentum:l}}}function Zd(e,t,n){return(t===!0||t===e)&&(n===null||n===e)}function eZ(e,t=10){let n=null;return Math.abs(e.y)>t?n="y":Math.abs(e.x)>t&&(n="x"),n}class tZ extends Fs{constructor(t){super(t),this.removeGroupControls=qr,this.removeListeners=qr,this.controls=new KX(t)}mount(){const{dragControls:t}=this.node.getProps();t&&(this.removeGroupControls=t.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||qr}unmount(){this.removeGroupControls(),this.removeListeners()}}const zE=e=>(t,n)=>{e&&xt.postRender(()=>e(t,n))};class nZ extends Fs{constructor(){super(...arguments),this.removePointerDownListener=qr}onPointerDown(t){this.session=new h9(t,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:p9(this.node)})}createPanHandlers(){const{onPanSessionStart:t,onPanStart:n,onPan:r,onPanEnd:i}=this.node.getProps();return{onSessionStart:zE(t),onStart:zE(n),onMove:r,onEnd:(o,a)=>{delete this.session,i&&xt.postRender(()=>i(o,a))}}}mount(){this.removePointerDownListener=dc(this.node.current,"pointerdown",t=>this.onPointerDown(t))}update(){this.session&&this.session.updateHandlers(this.createPanHandlers())}unmount(){this.removePointerDownListener(),this.session&&this.session.end()}}const b0={hasAnimatedSinceResize:!0,hasEverUpdated:!1};function HE(e,t){return t.max===t.min?0:e/(t.max-t.min)*100}const Xu={correct:(e,t)=>{if(!t.target)return e;if(typeof e=="string")if(Oe.test(e))e=parseFloat(e);else return e;const n=HE(e,t.target.x),r=HE(e,t.target.y);return`${n}% ${r}%`}},rZ={correct:(e,{treeScale:t,projectionDelta:n})=>{const r=e,i=Ps.parse(e);if(i.length>5)return r;const o=Ps.createTransformer(e),a=typeof i[0]!="number"?1:0,l=n.x.scale*t.x,c=n.y.scale*t.y;i[0+a]/=l,i[1+a]/=c;const f=St(l,c,.5);return typeof i[2+a]=="number"&&(i[2+a]/=f),typeof i[3+a]=="number"&&(i[3+a]/=f),o(i)}};let B1=!1;class iZ extends v.Component{componentDidMount(){const{visualElement:t,layoutGroup:n,switchLayoutGroup:r,layoutId:i}=this.props,{projection:o}=t;kY(oZ),o&&(n.group&&n.group.add(o),r&&r.register&&i&&r.register(o),B1&&o.root.didUpdate(),o.addEventListener("animationComplete",()=>{this.safeToRemove()}),o.setOptions({...o.options,onExitComplete:()=>this.safeToRemove()})),b0.hasEverUpdated=!0}getSnapshotBeforeUpdate(t){const{layoutDependency:n,visualElement:r,drag:i,isPresent:o}=this.props,{projection:a}=r;return a&&(a.isPresent=o,B1=!0,i||t.layoutDependency!==n||n===void 0||t.isPresent!==o?a.willUpdate():this.safeToRemove(),t.isPresent!==o&&(o?a.promote():a.relegate()||xt.postRender(()=>{const l=a.getStack();(!l||!l.members.length)&&this.safeToRemove()}))),null}componentDidUpdate(){const{projection:t}=this.props.visualElement;t&&(t.root.didUpdate(),Nv.postRender(()=>{!t.currentAnimation&&t.isLead()&&this.safeToRemove()}))}componentWillUnmount(){const{visualElement:t,layoutGroup:n,switchLayoutGroup:r}=this.props,{projection:i}=t;B1=!0,i&&(i.scheduleCheckAfterUnmount(),n&&n.group&&n.group.remove(i),r&&r.deregister&&r.deregister(i))}safeToRemove(){const{safeToRemove:t}=this.props;t&&t()}render(){return null}}function g9(e){const[t,n]=yY(),r=v.useContext(Gk);return k.jsx(iZ,{...e,layoutGroup:r,switchLayoutGroup:v.useContext(XC),isPresent:t,safeToRemove:n})}const oZ={borderRadius:{...Xu,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:Xu,borderTopRightRadius:Xu,borderBottomLeftRadius:Xu,borderBottomRightRadius:Xu,boxShadow:rZ};function sZ(e,t,n){const r=kn(e)?e:ka(e);return r.start(jv("",r,t,n)),r.animation}const aZ=(e,t)=>e.depth-t.depth;class lZ{constructor(){this.children=[],this.isDirty=!1}add(t){uv(this.children,t),this.isDirty=!0}remove(t){cv(this.children,t),this.isDirty=!0}forEach(t){this.isDirty&&this.children.sort(aZ),this.isDirty=!1,this.children.forEach(t)}}function uZ(e,t){const n=fr.now(),r=({timestamp:i})=>{const o=i-n;o>=t&&(Bo(r),e(o-t))};return xt.setup(r,!0),()=>Bo(r)}const b9=["TopLeft","TopRight","BottomLeft","BottomRight"],cZ=b9.length,qE=e=>typeof e=="string"?parseFloat(e):e,WE=e=>typeof e=="number"||Oe.test(e);function fZ(e,t,n,r,i,o){i?(e.opacity=St(0,n.opacity??1,dZ(r)),e.opacityExit=St(t.opacity??1,0,pZ(r))):o&&(e.opacity=St(t.opacity??1,n.opacity??1,r));for(let a=0;art?1:n(jc(e,t,r))}function QE(e,t){e.min=t.min,e.max=t.max}function $r(e,t){QE(e.x,t.x),QE(e.y,t.y)}function YE(e,t){e.translate=t.translate,e.scale=t.scale,e.originPoint=t.originPoint,e.origin=t.origin}function XE(e,t,n,r,i){return e-=t,e=op(e,1/n,r),i!==void 0&&(e=op(e,1/i,r)),e}function hZ(e,t=0,n=1,r=.5,i,o=e,a=e){if(Ki.test(t)&&(t=parseFloat(t),t=St(a.min,a.max,t/100)-a.min),typeof t!="number")return;let l=St(o.min,o.max,r);e===o&&(l-=t),e.min=XE(e.min,t,n,l,i),e.max=XE(e.max,t,n,l,i)}function ZE(e,t,[n,r,i],o,a){hZ(e,t[n],t[r],t[i],t.scale,o,a)}const mZ=["x","scaleX","originX"],gZ=["y","scaleY","originY"];function JE(e,t,n,r){ZE(e.x,t,mZ,n?n.x:void 0,r?r.x:void 0),ZE(e.y,t,gZ,n?n.y:void 0,r?r.y:void 0)}function KE(e){return e.translate===0&&e.scale===1}function y9(e){return KE(e.x)&&KE(e.y)}function e8(e,t){return e.min===t.min&&e.max===t.max}function bZ(e,t){return e8(e.x,t.x)&&e8(e.y,t.y)}function t8(e,t){return Math.round(e.min)===Math.round(t.min)&&Math.round(e.max)===Math.round(t.max)}function x9(e,t){return t8(e.x,t.x)&&t8(e.y,t.y)}function n8(e){return Xn(e.x)/Xn(e.y)}function r8(e,t){return e.translate===t.translate&&e.scale===t.scale&&e.originPoint===t.originPoint}class vZ{constructor(){this.members=[]}add(t){uv(this.members,t),t.scheduleRender()}remove(t){if(cv(this.members,t),t===this.prevLead&&(this.prevLead=void 0),t===this.lead){const n=this.members[this.members.length-1];n&&this.promote(n)}}relegate(t){const n=this.members.findIndex(i=>t===i);if(n===0)return!1;let r;for(let i=n;i>=0;i--){const o=this.members[i];if(o.isPresent!==!1){r=o;break}}return r?(this.promote(r),!0):!1}promote(t,n){const r=this.lead;if(t!==r&&(this.prevLead=r,this.lead=t,t.show(),r)){r.instance&&r.scheduleRender(),t.scheduleRender(),t.resumeFrom=r,n&&(t.resumeFrom.preserveOpacity=!0),r.snapshot&&(t.snapshot=r.snapshot,t.snapshot.latestValues=r.animationValues||r.latestValues),t.root&&t.root.isUpdating&&(t.isLayoutDirty=!0);const{crossfade:i}=t.options;i===!1&&r.hide()}}exitAnimationComplete(){this.members.forEach(t=>{const{options:n,resumingFrom:r}=t;n.onExitComplete&&n.onExitComplete(),r&&r.options.onExitComplete&&r.options.onExitComplete()})}scheduleRender(){this.members.forEach(t=>{t.instance&&t.scheduleRender(!1)})}removeLeadSnapshot(){this.lead&&this.lead.snapshot&&(this.lead.snapshot=void 0)}}function yZ(e,t,n){let r="";const i=e.x.translate/t.x,o=e.y.translate/t.y,a=(n==null?void 0:n.z)||0;if((i||o||a)&&(r=`translate3d(${i}px, ${o}px, ${a}px) `),(t.x!==1||t.y!==1)&&(r+=`scale(${1/t.x}, ${1/t.y}) `),n){const{transformPerspective:f,rotate:p,rotateX:h,rotateY:g,skewX:b,skewY:y}=n;f&&(r=`perspective(${f}px) ${r}`),p&&(r+=`rotate(${p}deg) `),h&&(r+=`rotateX(${h}deg) `),g&&(r+=`rotateY(${g}deg) `),b&&(r+=`skewX(${b}deg) `),y&&(r+=`skewY(${y}deg) `)}const l=e.x.scale*t.x,c=e.y.scale*t.y;return(l!==1||c!==1)&&(r+=`scale(${l}, ${c})`),r||"none"}const V1=["","X","Y","Z"],xZ=1e3;let wZ=0;function U1(e,t,n,r){const{latestValues:i}=t;i[e]&&(n[e]=i[e],t.setStaticValue(e,0),r&&(r[e]=0))}function w9(e){if(e.hasCheckedOptimisedAppear=!0,e.root===e)return;const{visualElement:t}=e.options;if(!t)return;const n=s9(t);if(window.MotionHasOptimisedAnimation(n,"transform")){const{layout:i,layoutId:o}=e.options;window.MotionCancelOptimisedAnimation(n,"transform",xt,!(i||o))}const{parent:r}=e;r&&!r.hasCheckedOptimisedAppear&&w9(r)}function E9({attachResizeListener:e,defaultParent:t,measureScroll:n,checkIsScrollRoot:r,resetTransform:i}){return class{constructor(a={},l=t==null?void 0:t()){this.id=wZ++,this.animationId=0,this.animationCommitId=0,this.children=new Set,this.options={},this.isTreeAnimating=!1,this.isAnimationBlocked=!1,this.isLayoutDirty=!1,this.isProjectionDirty=!1,this.isSharedProjectionDirty=!1,this.isTransformDirty=!1,this.updateManuallyBlocked=!1,this.updateBlockedByResize=!1,this.isUpdating=!1,this.isSVG=!1,this.needsReset=!1,this.shouldResetTransform=!1,this.hasCheckedOptimisedAppear=!1,this.treeScale={x:1,y:1},this.eventHandlers=new Map,this.hasTreeAnimated=!1,this.updateScheduled=!1,this.scheduleUpdate=()=>this.update(),this.projectionUpdateScheduled=!1,this.checkUpdateFailed=()=>{this.isUpdating&&(this.isUpdating=!1,this.clearAllSnapshots())},this.updateProjection=()=>{this.projectionUpdateScheduled=!1,this.nodes.forEach(_Z),this.nodes.forEach(NZ),this.nodes.forEach(AZ),this.nodes.forEach(TZ)},this.resolvedRelativeTargetAt=0,this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=a,this.root=l?l.root||l:this,this.path=l?[...l.path,l]:[],this.parent=l,this.depth=l?l.depth+1:0;for(let c=0;cthis.root.updateBlockedByResize=!1;xt.read(()=>{h=window.innerWidth}),e(a,()=>{const b=window.innerWidth;b!==h&&(h=b,this.root.updateBlockedByResize=!0,p&&p(),p=uZ(g,250),b0.hasAnimatedSinceResize&&(b0.hasAnimatedSinceResize=!1,this.nodes.forEach(s8)))})}l&&this.root.registerSharedNode(l,this),this.options.animate!==!1&&f&&(l||c)&&this.addEventListener("didUpdate",({delta:p,hasLayoutChanged:h,hasRelativeLayoutChanged:g,layout:b})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}const y=this.options.transition||f.getDefaultTransition()||PZ,{onLayoutAnimationStart:w,onLayoutAnimationComplete:_}=f.getProps(),T=!this.targetLayout||!x9(this.targetLayout,b),N=!h&&g;if(this.options.layoutRoot||this.resumeFrom||N||h&&(T||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0);const C={...kv(y,"layout"),onPlay:w,onComplete:_};(f.shouldReduceMotion||this.options.layoutRoot)&&(C.delay=0,C.type=!1),this.startAnimation(C),this.setAnimationOrigin(p,N)}else h||s8(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=b})}unmount(){this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this);const a=this.getStack();a&&a.remove(this),this.parent&&this.parent.children.delete(this),this.instance=void 0,this.eventHandlers.clear(),Bo(this.updateProjection)}blockUpdate(){this.updateManuallyBlocked=!0}unblockUpdate(){this.updateManuallyBlocked=!1}isUpdateBlocked(){return this.updateManuallyBlocked||this.updateBlockedByResize}isTreeAnimationBlocked(){return this.isAnimationBlocked||this.parent&&this.parent.isTreeAnimationBlocked()||!1}startUpdate(){this.isUpdateBlocked()||(this.isUpdating=!0,this.nodes&&this.nodes.forEach(IZ),this.animationId++)}getTransformTemplate(){const{visualElement:a}=this.options;return a&&a.getProps().transformTemplate}willUpdate(a=!0){if(this.root.hasTreeAnimated=!0,this.root.isUpdateBlocked()){this.options.onExitComplete&&this.options.onExitComplete();return}if(window.MotionCancelOptimisedAnimation&&!this.hasCheckedOptimisedAppear&&w9(this),!this.root.isUpdating&&this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let p=0;p{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){this.snapshot||!this.instance||(this.snapshot=this.measure(),this.snapshot&&!Xn(this.snapshot.measuredBox.x)&&!Xn(this.snapshot.measuredBox.y)&&(this.snapshot=void 0))}updateLayout(){if(!this.instance||(this.updateScroll(),!(this.options.alwaysMeasureLayout&&this.isLead())&&!this.isLayoutDirty))return;if(this.resumeFrom&&!this.resumeFrom.instance)for(let c=0;c{const D=A/1e3;a8(h.x,a.x,D),a8(h.y,a.y,D),this.setTargetDelta(h),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout&&(hc(g,this.layout.layoutBox,this.relativeParent.layout.layoutBox),RZ(this.relativeTarget,this.relativeTargetOrigin,g,D),C&&bZ(this.relativeTarget,C)&&(this.isProjectionDirty=!1),C||(C=zt()),$r(C,this.relativeTarget)),w&&(this.animationValues=p,fZ(p,f,this.latestValues,D,N,T)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=D},this.mixTargetDelta(this.options.layoutRoot?1e3:0)}startAnimation(a){var l,c,f;this.notifyListeners("animationStart"),(l=this.currentAnimation)==null||l.stop(),(f=(c=this.resumingFrom)==null?void 0:c.currentAnimation)==null||f.stop(),this.pendingAnimation&&(Bo(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=xt.update(()=>{b0.hasAnimatedSinceResize=!0,this.motionValue||(this.motionValue=ka(0)),this.currentAnimation=sZ(this.motionValue,[0,1e3],{...a,velocity:0,isSync:!0,onUpdate:p=>{this.mixTargetDelta(p),a.onUpdate&&a.onUpdate(p)},onStop:()=>{},onComplete:()=>{a.onComplete&&a.onComplete(),this.completeAnimation()}}),this.resumingFrom&&(this.resumingFrom.currentAnimation=this.currentAnimation),this.pendingAnimation=void 0})}completeAnimation(){this.resumingFrom&&(this.resumingFrom.currentAnimation=void 0,this.resumingFrom.preserveOpacity=void 0);const a=this.getStack();a&&a.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners("animationComplete")}finishAnimation(){this.currentAnimation&&(this.mixTargetDelta&&this.mixTargetDelta(xZ),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){const a=this.getLead();let{targetWithTransforms:l,target:c,layout:f,latestValues:p}=a;if(!(!l||!c||!f)){if(this!==a&&this.layout&&f&&S9(this.options.animationType,this.layout.layoutBox,f.layoutBox)){c=this.target||zt();const h=Xn(this.layout.layoutBox.x);c.x.min=a.target.x.min,c.x.max=c.x.min+h;const g=Xn(this.layout.layoutBox.y);c.y.min=a.target.y.min,c.y.max=c.y.min+g}$r(l,c),xl(l,p),pc(this.projectionDeltaWithTransform,this.layoutCorrected,l,p)}}registerSharedNode(a,l){this.sharedNodes.has(a)||this.sharedNodes.set(a,new vZ),this.sharedNodes.get(a).add(l);const f=l.options.initialPromotionConfig;l.promote({transition:f?f.transition:void 0,preserveFollowOpacity:f&&f.shouldPreserveFollowOpacity?f.shouldPreserveFollowOpacity(l):void 0})}isLead(){const a=this.getStack();return a?a.lead===this:!0}getLead(){var l;const{layoutId:a}=this.options;return a?((l=this.getStack())==null?void 0:l.lead)||this:this}getPrevLead(){var l;const{layoutId:a}=this.options;return a?(l=this.getStack())==null?void 0:l.prevLead:void 0}getStack(){const{layoutId:a}=this.options;if(a)return this.root.sharedNodes.get(a)}promote({needsReset:a,transition:l,preserveFollowOpacity:c}={}){const f=this.getStack();f&&f.promote(this,c),a&&(this.projectionDelta=void 0,this.needsReset=!0),l&&this.setOptions({transition:l})}relegate(){const a=this.getStack();return a?a.relegate(this):!1}resetSkewAndRotation(){const{visualElement:a}=this.options;if(!a)return;let l=!1;const{latestValues:c}=a;if((c.z||c.rotate||c.rotateX||c.rotateY||c.rotateZ||c.skewX||c.skewY)&&(l=!0),!l)return;const f={};c.z&&U1("z",a,f,this.animationValues);for(let p=0;p{var l;return(l=a.currentAnimation)==null?void 0:l.stop()}),this.root.nodes.forEach(i8),this.root.sharedNodes.clear()}}}function EZ(e){e.updateLayout()}function SZ(e){var n;const t=((n=e.resumeFrom)==null?void 0:n.snapshot)||e.snapshot;if(e.isLead()&&e.layout&&t&&e.hasListeners("didUpdate")){const{layoutBox:r,measuredBox:i}=e.layout,{animationType:o}=e.options,a=t.source!==e.layout.source;o==="size"?Br(h=>{const g=a?t.measuredBox[h]:t.layoutBox[h],b=Xn(g);g.min=r[h].min,g.max=g.min+b}):S9(o,t.layoutBox,r)&&Br(h=>{const g=a?t.measuredBox[h]:t.layoutBox[h],b=Xn(r[h]);g.max=g.min+b,e.relativeTarget&&!e.currentAnimation&&(e.isProjectionDirty=!0,e.relativeTarget[h].max=e.relativeTarget[h].min+b)});const l=wl();pc(l,r,t.layoutBox);const c=wl();a?pc(c,e.applyTransform(i,!0),t.measuredBox):pc(c,r,t.layoutBox);const f=!y9(l);let p=!1;if(!e.resumeFrom){const h=e.getClosestProjectingParent();if(h&&!h.resumeFrom){const{snapshot:g,layout:b}=h;if(g&&b){const y=zt();hc(y,t.layoutBox,g.layoutBox);const w=zt();hc(w,r,b.layoutBox),x9(y,w)||(p=!0),h.options.layoutRoot&&(e.relativeTarget=w,e.relativeTargetOrigin=y,e.relativeParent=h)}}}e.notifyListeners("didUpdate",{layout:r,snapshot:t,delta:c,layoutDelta:l,hasLayoutChanged:f,hasRelativeLayoutChanged:p})}else if(e.isLead()){const{onExitComplete:r}=e.options;r&&r()}e.options.transition=void 0}function _Z(e){e.parent&&(e.isProjecting()||(e.isProjectionDirty=e.parent.isProjectionDirty),e.isSharedProjectionDirty||(e.isSharedProjectionDirty=!!(e.isProjectionDirty||e.parent.isProjectionDirty||e.parent.isSharedProjectionDirty)),e.isTransformDirty||(e.isTransformDirty=e.parent.isTransformDirty))}function TZ(e){e.isProjectionDirty=e.isSharedProjectionDirty=e.isTransformDirty=!1}function kZ(e){e.clearSnapshot()}function i8(e){e.clearMeasurements()}function o8(e){e.isLayoutDirty=!1}function CZ(e){const{visualElement:t}=e.options;t&&t.getProps().onBeforeLayoutMeasure&&t.notify("BeforeLayoutMeasure"),e.resetTransform()}function s8(e){e.finishAnimation(),e.targetDelta=e.relativeTarget=e.target=void 0,e.isProjectionDirty=!0}function NZ(e){e.resolveTargetDelta()}function AZ(e){e.calcProjection()}function IZ(e){e.resetSkewAndRotation()}function DZ(e){e.removeLeadSnapshot()}function a8(e,t,n){e.translate=St(t.translate,0,n),e.scale=St(t.scale,1,n),e.origin=t.origin,e.originPoint=t.originPoint}function l8(e,t,n,r){e.min=St(t.min,n.min,r),e.max=St(t.max,n.max,r)}function RZ(e,t,n,r){l8(e.x,t.x,n.x,r),l8(e.y,t.y,n.y,r)}function LZ(e){return e.animationValues&&e.animationValues.opacityExit!==void 0}const PZ={duration:.45,ease:[.4,0,.1,1]},u8=e=>typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(e),c8=u8("applewebkit/")&&!u8("chrome/")?Math.round:qr;function f8(e){e.min=c8(e.min),e.max=c8(e.max)}function FZ(e){f8(e.x),f8(e.y)}function S9(e,t,n){return e==="position"||e==="preserve-aspect"&&!VX(n8(t),n8(n),.2)}function OZ(e){var t;return e!==e.root&&((t=e.scroll)==null?void 0:t.wasRoot)}const MZ=E9({attachResizeListener:(e,t)=>Hc(e,"resize",t),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}),checkIsScrollRoot:()=>!0}),z1={current:void 0},_9=E9({measureScroll:e=>({x:e.scrollLeft,y:e.scrollTop}),defaultParent:()=>{if(!z1.current){const e=new MZ({});e.mount(window),e.setOptions({layoutScroll:!0}),z1.current=e}return z1.current},resetTransform:(e,t)=>{e.style.transform=t!==void 0?t:"none"},checkIsScrollRoot:e=>window.getComputedStyle(e).position==="fixed"}),$Z={pan:{Feature:nZ},drag:{Feature:tZ,ProjectionNode:_9,MeasureLayout:g9}};function d8(e,t,n){const{props:r}=e;e.animationState&&r.whileHover&&e.animationState.setActive("whileHover",n==="Start");const i="onHover"+n,o=r[i];o&&xt.postRender(()=>o(t,df(t)))}class jZ extends Fs{mount(){const{current:t}=this.node;t&&(this.unmount=cY(t,(n,r)=>(d8(this.node,r,"Start"),i=>d8(this.node,i,"End"))))}unmount(){}}class BZ extends Fs{constructor(){super(...arguments),this.isActive=!1}onFocus(){let t=!1;try{t=this.node.current.matches(":focus-visible")}catch{t=!0}!t||!this.node.animationState||(this.node.animationState.setActive("whileFocus",!0),this.isActive=!0)}onBlur(){!this.isActive||!this.node.animationState||(this.node.animationState.setActive("whileFocus",!1),this.isActive=!1)}mount(){this.unmount=uf(Hc(this.node.current,"focus",()=>this.onFocus()),Hc(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}function p8(e,t,n){const{props:r}=e;if(e.current instanceof HTMLButtonElement&&e.current.disabled)return;e.animationState&&r.whileTap&&e.animationState.setActive("whileTap",n==="Start");const i="onTap"+(n==="End"?"":n),o=r[i];o&&xt.postRender(()=>o(t,df(t)))}class VZ extends Fs{mount(){const{current:t}=this.node;t&&(this.unmount=hY(t,(n,r)=>(p8(this.node,r,"Start"),(i,{success:o})=>p8(this.node,i,o?"End":"Cancel")),{useGlobalTarget:this.node.props.globalTapTarget}))}unmount(){}}const I2=new WeakMap,H1=new WeakMap,UZ=e=>{const t=I2.get(e.target);t&&t(e)},zZ=e=>{e.forEach(UZ)};function HZ({root:e,...t}){const n=e||document;H1.has(n)||H1.set(n,{});const r=H1.get(n),i=JSON.stringify(t);return r[i]||(r[i]=new IntersectionObserver(zZ,{root:e,...t})),r[i]}function qZ(e,t,n){const r=HZ(t);return I2.set(e,n),r.observe(e),()=>{I2.delete(e),r.unobserve(e)}}const WZ={some:0,all:1};class GZ extends Fs{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){this.unmount();const{viewport:t={}}=this.node.getProps(),{root:n,margin:r,amount:i="some",once:o}=t,a={root:n?n.current:void 0,rootMargin:r,threshold:typeof i=="number"?i:WZ[i]},l=c=>{const{isIntersecting:f}=c;if(this.isInView===f||(this.isInView=f,o&&!f&&this.hasEnteredView))return;f&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",f);const{onViewportEnter:p,onViewportLeave:h}=this.node.getProps(),g=f?p:h;g&&g(c)};return qZ(this.node.current,a,l)}mount(){this.startObserver()}update(){if(typeof IntersectionObserver>"u")return;const{props:t,prevProps:n}=this.node;["amount","margin","root"].some(QZ(t,n))&&this.startObserver()}unmount(){}}function QZ({viewport:e={}},{viewport:t={}}={}){return n=>e[n]!==t[n]}const YZ={inView:{Feature:GZ},tap:{Feature:VZ},focus:{Feature:BZ},hover:{Feature:jZ}},XZ={layout:{ProjectionNode:_9,MeasureLayout:g9}},ZZ={...FX,...YZ,...$Z,...XZ},T9=ZY(ZZ,cX);function k9(e){const t=lf(()=>ka(e)),{isStatic:n}=v.useContext(Iv);if(n){const[,r]=v.useState(e);v.useEffect(()=>t.on("change",r),[])}return t}function C9(e,t){const n=k9(t()),r=()=>n.set(t());return r(),Qk(()=>{const i=()=>xt.preRender(r,!1,!0),o=e.map(a=>a.on("change",i));return()=>{o.forEach(a=>a()),Bo(r)}}),n}function JZ(e){fc.current=[],e();const t=C9(fc.current,e);return fc.current=void 0,t}function KZ(e,t,n,r){if(typeof e=="function")return JZ(e);const i=typeof t=="function"?t:gY(t,n,r);return Array.isArray(e)?h8(e,i):h8([e],([o])=>i(o))}function h8(e,t){const n=lf(()=>[]);return C9(e,()=>{n.length=0;const r=e.length;for(let i=0;ip.value===t);if(i===-1)return e;const o=r>0?1:-1,a=e[i+o];if(!a)return e;const l=e[i],c=a.layout,f=St(c.min,c.max,.5);return o===1&&l.layout.max+n>f||o===-1&&l.layout.min+nT9[t]),c=[],f=v.useRef(!1),p={axis:n,registerItem:(h,g)=>{const b=c.findIndex(y=>h===y.value);b!==-1?c[b].layout=g[n]:c.push({value:h,layout:g[n]}),c.sort(iJ)},updateOrder:(h,g,b)=>{if(f.current)return;const y=eJ(c,h,g,b);c!==y&&(f.current=!0,r(y.map(rJ).filter(w=>i.indexOf(w)!==-1)))}};return v.useEffect(()=>{f.current=!1}),k.jsx(l,{...o,ref:a,ignoreStrict:!0,children:k.jsx(N9.Provider,{value:p,children:e})})}const nJ=v.forwardRef(tJ);function rJ(e){return e.value}function iJ(e,t){return e.layout.min-t.layout.min}function m8(e,t=0){return kn(e)?e:k9(t)}function oJ({children:e,style:t={},value:n,as:r="li",onDrag:i,layout:o=!0,...a},l){const c=lf(()=>T9[r]),f=v.useContext(N9),p={x:m8(t.x),y:m8(t.y)},h=KZ([p.x,p.y],([w,_])=>w||_?1:"unset"),{axis:g,registerItem:b,updateOrder:y}=f;return k.jsx(c,{drag:g,...a,dragSnapToOrigin:!0,style:{...t,x:p.x,y:p.y,zIndex:h},layout:o,onDrag:(w,_)=>{const{velocity:T}=_;T[g]&&y(n,p[g].get(),T[g]),i&&i(w,_)},onLayoutMeasure:w=>b(n,w),ref:l,ignoreStrict:!0,children:e})}const sJ=v.forwardRef(oJ),A9=v.forwardRef((e,t)=>{const n=Ne.c(16);let r,i,o,a,l;n[0]!==e?({isActive:o,value:l,children:r,className:i,...a}=e,n[0]=e,n[1]=r,n[2]=i,n[3]=o,n[4]=a,n[5]=l):(r=n[1],i=n[2],o=n[3],a=n[4],l=n[5]);const c=o&&"graphiql-tab-active";let f;n[6]!==i||n[7]!==c?(f=st("graphiql-tab",c,i),n[6]=i,n[7]=c,n[8]=f):f=n[8];let p;return n[9]!==r||n[10]!==o||n[11]!==a||n[12]!==t||n[13]!==f||n[14]!==l?(p=k.jsx(sJ,{...a,ref:t,value:l,"aria-selected":o,dragElastic:!1,role:"tab",className:f,children:r}),n[9]=r,n[10]=o,n[11]=a,n[12]=t,n[13]=f,n[14]=l,n[15]=p):p=n[15],p});A9.displayName="Tab";const I9=v.forwardRef((e,t)=>{const n=Ne.c(11);let r,i,o;n[0]!==e?({children:r,className:i,...o}=e,n[0]=e,n[1]=r,n[2]=i,n[3]=o):(r=n[1],i=n[2],o=n[3]);let a;n[4]!==i?(a=st("graphiql-tab-button",i),n[4]=i,n[5]=a):a=n[5];let l;return n[6]!==r||n[7]!==o||n[8]!==t||n[9]!==a?(l=k.jsx(rn,{...o,ref:t,type:"button",className:a,children:r}),n[6]=r,n[7]=o,n[8]=t,n[9]=a,n[10]=l):l=n[10],l});I9.displayName="Tab.Button";const D9=v.forwardRef((e,t)=>{const n=Ne.c(7);let r;n[0]!==e.className?(r=st("graphiql-tab-close",e.className),n[0]=e.className,n[1]=r):r=n[1];let i;n[2]===Symbol.for("react.memo_cache_sentinel")?(i=k.jsx(eb,{}),n[2]=i):i=n[2];let o;return n[3]!==e||n[4]!==t||n[5]!==r?(o=k.jsx(rn,{"aria-label":"Close Tab",...e,ref:t,type:"button",className:r,children:i}),n[3]=e,n[4]=t,n[5]=r,n[6]=o):o=n[6],o});D9.displayName="Tab.Close";const q1=Object.assign(A9,{Button:I9,Close:D9}),R9=v.forwardRef((e,t)=>{const n=Ne.c(15);let r,i,o,a,l;n[0]!==e?({values:l,onReorder:o,children:r,className:i,...a}=e,n[0]=e,n[1]=r,n[2]=i,n[3]=o,n[4]=a,n[5]=l):(r=n[1],i=n[2],o=n[3],a=n[4],l=n[5]);let c;n[6]!==i?(c=st("graphiql-tabs",i),n[6]=i,n[7]=c):c=n[7];let f;return n[8]!==r||n[9]!==o||n[10]!==a||n[11]!==t||n[12]!==c||n[13]!==l?(f=k.jsx(nJ,{...a,ref:t,values:l,onReorder:o,axis:"x",role:"tablist",className:c,children:r}),n[8]=r,n[9]=o,n[10]=a,n[11]=t,n[12]=c,n[13]=l,n[14]=f):f=n[14],f});R9.displayName="Tabs";const D2=gp((e,t)=>({historyStorage:null,actions:{addToHistory(n){const{historyStorage:r}=t();r==null||r.updateHistory(n),e({})},editLabel(n,r){const{historyStorage:i}=t();i==null||i.editLabel(n,r),e({})},toggleFavorite(n){const{historyStorage:r}=t();r==null||r.toggleFavorite(n),e({})},setActive:n=>n,deleteFromHistory(n,r){const{historyStorage:i}=t();i==null||i.deleteHistory(n,r),e({})}}})),aJ=e=>{const t=Ne.c(11),{maxHistoryLength:n,children:r}=e,i=n===void 0?20:n;let o;t[0]===Symbol.for("react.memo_cache_sentinel")?(o=Ti("isFetching","tabs","activeTabIndex","storage"),t[0]=o):o=t[0];const{isFetching:a,tabs:l,activeTabIndex:c,storage:f}=vn(o),p=l[c];let h;t[1]!==i||t[2]!==f?(h=new w$(f,i),t[1]=i,t[2]=f,t[3]=h):h=t[3];const g=h;let b,y;t[4]!==g?(b=()=>{D2.setState({historyStorage:g})},y=[g],t[4]=g,t[5]=b,t[6]=y):(b=t[5],y=t[6]),v.useEffect(b,y);let w,_;return t[7]!==p||t[8]!==a?(w=()=>{if(!a)return;const{addToHistory:T}=D2.getState().actions;T({query:p.query??void 0,variables:p.variables??void 0,headers:p.headers??void 0,operationName:p.operationName??void 0})},_=[a,p],t[7]=p,t[8]=a,t[9]=w,t[10]=_):(w=t[9],_=t[10]),v.useEffect(w,_),r},L9=Nb(D2),lJ=[],uJ=()=>L9(cJ),P9=()=>L9(fJ);function cJ(e){var t;return((t=e.historyStorage)==null?void 0:t.queries)??lJ}function fJ(e){return e.actions}function dJ(e,t){for(const n of e)t(n,!0)}const pJ=()=>{const e=Ne.c(13),t=uJ(),{deleteFromHistory:n}=P9();let r;r=t.slice().map(mJ).reverse();const i=r.filter(gJ);i.length&&(r=r.filter(bJ));const[o,a]=v.useState(null);let l,c;e[0]!==o?(l=()=>{o&&setTimeout(()=>{a(null)},2e3)},c=[o],e[0]=o,e[1]=l,e[2]=c):(l=e[1],c=e[2]),v.useEffect(l,c);const f=()=>{try{dJ(r,n),a("success")}catch{a("error")}},p=!!i.length,h=!!r.length,g="History",b="graphiql-history",y=(o||h)&&k.jsx(mi,{type:"button",state:o||void 0,disabled:!r.length,onClick:f,children:{success:"Cleared",error:"Failed to Clear"}[o]||"Clear"});let w;e[3]!==y?(w=k.jsxs("div",{className:"graphiql-history-header",children:["History",y]}),e[3]=y,e[4]=w):w=e[4];const _=p&&k.jsx("ul",{className:"graphiql-history-items",children:i.map(vJ)});let T;e[5]!==p||e[6]!==h?(T=p&&h&&k.jsx("div",{className:"graphiql-history-item-spacer"}),e[5]=p,e[6]=h,e[7]=T):T=e[7];const N=h&&k.jsx("ul",{className:"graphiql-history-items",children:r.map(yJ)});let C;return e[8]!==w||e[9]!==_||e[10]!==T||e[11]!==N?(C=k.jsxs("section",{"aria-label":g,className:b,children:[w,_,T,N]}),e[8]=w,e[9]=_,e[10]=T,e[11]=N,e[12]=C):C=e[12],C},F9=e=>{const t=Ne.c(39),{editLabel:n,toggleFavorite:r,deleteFromHistory:i,setActive:o}=P9();let a;t[0]===Symbol.for("react.memo_cache_sentinel")?(a=Ti("headerEditor","queryEditor","variableEditor"),t[0]=a):a=t[0];const{headerEditor:l,queryEditor:c,variableEditor:f}=vn(a),p=v.useRef(null),h=v.useRef(null),[g,b]=v.useState(!1);let y,w;t[1]!==g?(y=()=>{var P;g&&((P=p.current)==null||P.focus())},w=[g],t[1]=g,t[2]=y,t[3]=w):(y=t[2],w=t[3]),v.useEffect(y,w);let _;t[4]!==e.item.label||t[5]!==e.item.operationName||t[6]!==e.item.query?(_=e.item.label||e.item.operationName||hJ(e.item.query),t[4]=e.item.label,t[5]=e.item.operationName,t[6]=e.item.query,t[7]=_):_=t[7];const T=_;let N;t[8]!==n||t[9]!==e.item?(N=()=>{var P;b(!1);const{index:B,...q}=e.item;n({...q,label:(P=p.current)==null?void 0:P.value},B)},t[8]=n,t[9]=e.item,t[10]=N):N=t[10];const C=N;let A;t[11]===Symbol.for("react.memo_cache_sentinel")?(A=()=>{b(!1)},t[11]=A):A=t[11];const D=A;let L;t[12]===Symbol.for("react.memo_cache_sentinel")?(L=P=>{P.stopPropagation(),b(!0)},t[12]=L):L=t[12];const F=L;let H;t[13]!==l||t[14]!==e.item||t[15]!==c||t[16]!==o||t[17]!==f?(H=()=>{const{query:P,variables:B,headers:q}=e.item;c==null||c.setValue(P??""),f==null||f.setValue(B??""),l==null||l.setValue(q??""),o(e.item)},t[13]=l,t[14]=e.item,t[15]=c,t[16]=o,t[17]=f,t[18]=H):H=t[18];const $=H;let Q;t[19]!==i||t[20]!==e.item?(Q=P=>{P.stopPropagation(),i(e.item)},t[19]=i,t[20]=e.item,t[21]=Q):Q=t[21];const Z=Q;let ee;t[22]!==e.item||t[23]!==r?(ee=P=>{P.stopPropagation(),r(e.item)},t[22]=e.item,t[23]=r,t[24]=ee):ee=t[24];const U=ee,O=g&&"editable";let G;t[25]!==O?(G=st("graphiql-history-item",O),t[25]=O,t[26]=G):G=t[26];let X;t[27]!==T||t[28]!==n||t[29]!==Z||t[30]!==$||t[31]!==C||t[32]!==U||t[33]!==g||t[34]!==e.item?(X=g?k.jsxs(k.Fragment,{children:[k.jsx("input",{type:"text",defaultValue:e.item.label,ref:p,onKeyDown:P=>{P.key==="Esc"?b(!1):P.key==="Enter"&&(b(!1),n({...e.item,label:P.currentTarget.value}))},placeholder:"Type a label"}),k.jsx(rn,{type:"button",ref:h,onClick:C,children:"Save"}),k.jsx(rn,{type:"button",ref:h,onClick:D,children:k.jsx(eb,{})})]}):k.jsxs(k.Fragment,{children:[k.jsx(cr,{label:"Set active",children:k.jsx(rn,{type:"button",className:"graphiql-history-item-label",onClick:$,"aria-label":"Set active",children:T})}),k.jsx(cr,{label:"Edit label",children:k.jsx(rn,{type:"button",className:"graphiql-history-item-action",onClick:F,"aria-label":"Edit label",children:k.jsx(UL,{"aria-hidden":"true"})})}),k.jsx(cr,{label:e.item.favorite?"Remove favorite":"Add favorite",children:k.jsx(rn,{type:"button",className:"graphiql-history-item-action",onClick:U,"aria-label":e.item.favorite?"Remove favorite":"Add favorite",children:e.item.favorite?k.jsx(YL,{"aria-hidden":"true"}):k.jsx(XL,{"aria-hidden":"true"})})}),k.jsx(cr,{label:"Delete from history",children:k.jsx(rn,{type:"button",className:"graphiql-history-item-action",onClick:Z,"aria-label":"Delete from history",children:k.jsx(JL,{"aria-hidden":"true"})})})]}),t[27]=T,t[28]=n,t[29]=Z,t[30]=$,t[31]=C,t[32]=U,t[33]=g,t[34]=e.item,t[35]=X):X=t[35];let K;return t[36]!==G||t[37]!==X?(K=k.jsx("li",{className:G,children:X}),t[36]=G,t[37]=X,t[38]=K):K=t[38],K};function hJ(e){return e==null?void 0:e.split(` +`).map(t=>t.replace(/#(.*)/,"")).join(" ").replaceAll("{"," { ").replaceAll("}"," } ").replaceAll(/[\s]{2,}/g," ")}function mJ(e,t){return{...e,index:t}}function gJ(e){return e.favorite}function bJ(e){return!e.favorite}function vJ(e){return k.jsx(F9,{item:e},e.index)}function yJ(e){return k.jsx(F9,{item:e},e.index)}const g8={title:"History",icon:ML,content:pJ};function xJ(e,t){if(e==="Field"&&t.fieldDef||e==="AliasedField"&&t.fieldDef)return SJ(t);if(e==="Directive"&&t.directiveDef)return EJ(t);if(e==="Argument"&&t.argDef)return wJ(t);if(e==="EnumValue"&&t.enumValue)return TJ(t);if(e==="NamedType"&&t.type)return _J(t)}function wJ(e){return e.directiveDef?{kind:"Argument",schema:e.schema,argument:e.argDef,directive:e.directiveDef}:{kind:"Argument",schema:e.schema,argument:e.argDef,field:e.fieldDef,type:O9(e.fieldDef)?null:e.parentType}}function EJ(e){return{kind:"Directive",schema:e.schema,directive:e.directiveDef}}function SJ(e){return{kind:"Field",schema:e.schema,field:e.fieldDef,type:O9(e.fieldDef)?null:e.parentType}}function _J(e,t){return{kind:"Type",schema:e.schema,type:t||e.type}}function TJ(e){return{kind:"EnumValue",value:e.enumValue||void 0,type:e.inputType?Tn(e.inputType):void 0}}function O9(e){return e.name.slice(0,2)==="__"}const kJ=e=>e?bt(e):"",M9=e=>{const t=Ne.c(12),{field:n}=e;if(!("defaultValue"in n)||n.defaultValue===void 0)return null;const r=n.defaultValue,i=n.type;let o,a,l,c;if(t[0]!==n.defaultValue||t[1]!==n.type){c=Symbol.for("react.early_return_sentinel");e:{const h=la(r,i);if(!h){c=null;break e}l=" = ",o="graphiql-doc-explorer-default-value",a=kJ(h)}t[0]=n.defaultValue,t[1]=n.type,t[2]=o,t[3]=a,t[4]=l,t[5]=c}else o=t[2],a=t[3],l=t[4],c=t[5];if(c!==Symbol.for("react.early_return_sentinel"))return c;let f;t[6]!==o||t[7]!==a?(f=k.jsx("span",{className:o,children:a}),t[6]=o,t[7]=a,t[8]=f):f=t[8];let p;return t[9]!==l||t[10]!==f?(p=k.jsxs(k.Fragment,{children:[l,f]}),t[9]=l,t[10]=f,t[11]=p):p=t[11],p};function sp(e,t){return rt(e)?k.jsxs(k.Fragment,{children:[sp(e.ofType,t),"!"]}):Cn(e)?k.jsxs(k.Fragment,{children:["[",sp(e.ofType,t),"]"]}):t(e)}const No=e=>{const t=Ne.c(5),{type:n}=e,{push:r}=eh();let i;t[0]!==r?(i=a=>k.jsx("a",{className:"graphiql-doc-explorer-type-name",onClick:l=>{l.preventDefault(),r({name:a.name,def:a})},href:"#",children:a.name}),t[0]=r,t[1]=i):i=t[1];let o;return t[2]!==i||t[3]!==n?(o=sp(n,i),t[2]=i,t[3]=n,t[4]=o):o=t[4],o},ap=e=>{const t=Ne.c(19),{arg:n,showDefaultValue:r,inline:i}=e;let o;t[0]!==n.name?(o=k.jsx("span",{className:"graphiql-doc-explorer-argument-name",children:n.name}),t[0]=n.name,t[1]=o):o=t[1];let a;t[2]!==n.type?(a=k.jsx(No,{type:n.type}),t[2]=n.type,t[3]=a):a=t[3];let l;t[4]!==n||t[5]!==r?(l=r!==!1&&k.jsx(M9,{field:n}),t[4]=n,t[5]=r,t[6]=l):l=t[6];let c;t[7]!==o||t[8]!==a||t[9]!==l?(c=k.jsxs("span",{children:[o,": ",a,l]}),t[7]=o,t[8]=a,t[9]=l,t[10]=c):c=t[10];const f=c;if(i)return f;let p;t[11]!==n.description?(p=n.description?k.jsx(io,{type:"description",children:n.description}):null,t[11]=n.description,t[12]=p):p=t[12];let h;t[13]!==n.deprecationReason?(h=n.deprecationReason?k.jsxs("div",{className:"graphiql-doc-explorer-argument-deprecation",children:[k.jsx("div",{className:"graphiql-doc-explorer-argument-deprecation-label",children:"Deprecated"}),k.jsx(io,{type:"deprecation",children:n.deprecationReason})]}):null,t[13]=n.deprecationReason,t[14]=h):h=t[14];let g;return t[15]!==f||t[16]!==p||t[17]!==h?(g=k.jsxs("div",{className:"graphiql-doc-explorer-argument",children:[f,p,h]}),t[15]=f,t[16]=p,t[17]=h,t[18]=g):g=t[18],g},$9=e=>{const t=Ne.c(3);let n;return t[0]!==e.children||t[1]!==e.preview?(n=e.children?k.jsxs("div",{className:"graphiql-doc-explorer-deprecation",children:[k.jsx("div",{className:"graphiql-doc-explorer-deprecation-label",children:"Deprecated"}),k.jsx(io,{type:"deprecation",onlyShowFirstChild:e.preview??!0,children:e.children})]}):null,t[0]=e.children,t[1]=e.preview,t[2]=n):n=t[2],n},CJ=e=>{const t=Ne.c(2),{directive:n}=e;let r;return t[0]!==n.name.value?(r=k.jsxs("span",{className:"graphiql-doc-explorer-directive",children:["@",n.name.value]}),t[0]=n.name.value,t[1]=r):r=t[1],r},Yr=e=>{const t=Ne.c(10),{title:n,children:r}=e,i=NJ[n];let o;t[0]!==i?(o=k.jsx(i,{}),t[0]=i,t[1]=o):o=t[1];let a;t[2]!==o||t[3]!==n?(a=k.jsxs("div",{className:"graphiql-doc-explorer-section-title",children:[o,n]}),t[2]=o,t[3]=n,t[4]=a):a=t[4];let l;t[5]!==r?(l=k.jsx("div",{className:"graphiql-doc-explorer-section-content",children:r}),t[5]=r,t[6]=l):l=t[6];let c;return t[7]!==a||t[8]!==l?(c=k.jsxs("div",{children:[a,l]}),t[7]=a,t[8]=l,t[9]=c):c=t[9],c},NJ={Arguments:_L,"Deprecated Arguments":AL,"Deprecated Enum Values":IL,"Deprecated Fields":DL,Directives:RL,"Enum Values":FL,Fields:OL,Implements:$L,Implementations:Ad,"Possible Types":Ad,"Root Types":GL,Type:Ad,"All Schema Types":Ad},AJ=e=>{const t=Ne.c(15),{field:n}=e;let r;t[0]!==n.description?(r=n.description?k.jsx(io,{type:"description",children:n.description}):null,t[0]=n.description,t[1]=r):r=t[1];let i;t[2]!==n.deprecationReason?(i=k.jsx($9,{preview:!1,children:n.deprecationReason}),t[2]=n.deprecationReason,t[3]=i):i=t[3];let o;t[4]!==n.type?(o=k.jsx(Yr,{title:"Type",children:k.jsx(No,{type:n.type})}),t[4]=n.type,t[5]=o):o=t[5];let a,l;t[6]!==n?(a=k.jsx(IJ,{field:n}),l=k.jsx(DJ,{field:n}),t[6]=n,t[7]=a,t[8]=l):(a=t[7],l=t[8]);let c;return t[9]!==r||t[10]!==i||t[11]!==o||t[12]!==a||t[13]!==l?(c=k.jsxs(k.Fragment,{children:[r,i,o,a,l]}),t[9]=r,t[10]=i,t[11]=o,t[12]=a,t[13]=l,t[14]=c):c=t[14],c},IJ=e=>{const t=Ne.c(12),{field:n}=e,[r,i]=v.useState(!1);let o;t[0]===Symbol.for("react.memo_cache_sentinel")?(o=()=>{i(!0)},t[0]=o):o=t[0];const a=o;if(!("args"in n))return null;let l,c,f;if(t[1]!==n.args){l=[],c=[];for(const g of n.args)g.deprecationReason?c.push(g):l.push(g);f=l.length>0?k.jsx(Yr,{title:"Arguments",children:l.map(RJ)}):null,t[1]=n.args,t[2]=l,t[3]=c,t[4]=f}else l=t[2],c=t[3],f=t[4];let p;t[5]!==l.length||t[6]!==c||t[7]!==r?(p=c.length>0?r||l.length===0?k.jsx(Yr,{title:"Deprecated Arguments",children:c.map(LJ)}):k.jsx(mi,{type:"button",onClick:a,children:"Show Deprecated Arguments"}):null,t[5]=l.length,t[6]=c,t[7]=r,t[8]=p):p=t[8];let h;return t[9]!==f||t[10]!==p?(h=k.jsxs(k.Fragment,{children:[f,p]}),t[9]=f,t[10]=p,t[11]=h):h=t[11],h},DJ=e=>{var t;const n=Ne.c(4),{field:r}=e,i=(t=r.astNode)==null?void 0:t.directives;if(!(i!=null&&i.length))return null;let o;n[0]!==i?(o=i.map(PJ),n[0]=i,n[1]=o):o=n[1];let a;return n[2]!==o?(a=k.jsx(Yr,{title:"Directives",children:o}),n[2]=o,n[3]=a):a=n[3],a};function RJ(e){return k.jsx(ap,{arg:e},e.name)}function LJ(e){return k.jsx(ap,{arg:e},e.name)}function PJ(e){return k.jsx("div",{children:k.jsx(CJ,{directive:e})},e.name.value)}const FJ=e=>{const t=Ne.c(43),{schema:n}=e;let r;t[0]!==n?(r=n.getQueryType(),t[0]=n,t[1]=r):r=t[1];const i=r;let o;t[2]!==n?(o=n.getMutationType(),t[2]=n,t[3]=o):o=t[3];const a=o;let l;t[4]!==n?(l=n.getSubscriptionType(),t[4]=n,t[5]=l):l=t[5];const c=l;let f,p,h,g,b;if(t[6]!==a||t[7]!==i||t[8]!==n||t[9]!==c){const T=n.getTypeMap(),N=i==null?void 0:i.name,C=a==null?void 0:a.name,A=c==null?void 0:c.name;let D;t[15]!==A||t[16]!==N||t[17]!==C?(D=[N,C,A],t[15]=A,t[16]=N,t[17]=C,t[18]=D):D=t[18];const L=D,F=n.description||"A GraphQL schema provides a root type for each kind of operation.";t[19]!==F?(g=k.jsx(io,{type:"description",children:F}),t[19]=F,t[20]=g):g=t[20];let H;t[21]!==i?(H=i?k.jsxs("div",{children:[k.jsx("span",{className:"graphiql-doc-explorer-root-type",children:"query"}),": ",k.jsx(No,{type:i})]}):null,t[21]=i,t[22]=H):H=t[22];let $;t[23]!==a?($=a&&k.jsxs("div",{children:[k.jsx("span",{className:"graphiql-doc-explorer-root-type",children:"mutation"}),": ",k.jsx(No,{type:a})]}),t[23]=a,t[24]=$):$=t[24];let Q;t[25]!==c?(Q=c&&k.jsxs("div",{children:[k.jsx("span",{className:"graphiql-doc-explorer-root-type",children:"subscription"}),": ",k.jsx(No,{type:c})]}),t[25]=c,t[26]=Q):Q=t[26],t[27]!==H||t[28]!==$||t[29]!==Q?(b=k.jsxs(Yr,{title:"Root Types",children:[H,$,Q]}),t[27]=H,t[28]=$,t[29]=Q,t[30]=b):b=t[30],f=Yr,h="All Schema Types";let Z;t[31]!==L?(Z=ee=>L.includes(ee.name)||ee.name.startsWith("__")?null:k.jsx("div",{children:k.jsx(No,{type:ee})},ee.name),t[31]=L,t[32]=Z):Z=t[32],p=Object.values(T).map(Z),t[6]=a,t[7]=i,t[8]=n,t[9]=c,t[10]=f,t[11]=p,t[12]=h,t[13]=g,t[14]=b}else f=t[10],p=t[11],h=t[12],g=t[13],b=t[14];let y;t[33]!==p?(y=k.jsx("div",{children:p}),t[33]=p,t[34]=y):y=t[34];let w;t[35]!==f||t[36]!==h||t[37]!==y?(w=k.jsx(f,{title:h,children:y}),t[35]=f,t[36]=h,t[37]=y,t[38]=w):w=t[38];let _;return t[39]!==g||t[40]!==b||t[41]!==w?(_=k.jsxs(k.Fragment,{children:[g,b,w]}),t[39]=g,t[40]=b,t[41]=w,t[42]=_):_=t[42],_},j9=typeof document<"u"?z.useLayoutEffect:()=>{};var W1;const OJ=(W1=z.useInsertionEffect)!==null&&W1!==void 0?W1:j9;function MJ(e){const t=v.useRef(null);return OJ(()=>{t.current=e},[e]),v.useCallback((...n)=>{const r=t.current;return r==null?void 0:r(...n)},[])}const Os=e=>{var t;return(t=e==null?void 0:e.ownerDocument)!==null&&t!==void 0?t:document},fa=e=>e&&"window"in e&&e.window===e?e:Os(e).defaultView||window;function $J(e){return e!==null&&typeof e=="object"&&"nodeType"in e&&typeof e.nodeType=="number"}function jJ(e){return $J(e)&&e.nodeType===Node.DOCUMENT_FRAGMENT_NODE&&"host"in e}let BJ=!1;function Bv(){return BJ}function B9(e,t){if(!Bv())return t&&e?e.contains(t):!1;if(!e||!t)return!1;let n=t;for(;n!==null;){if(n===e)return!0;n.tagName==="SLOT"&&n.assignedSlot?n=n.assignedSlot.parentNode:jJ(n)?n=n.host:n=n.parentNode}return!1}const R2=(e=document)=>{var t;if(!Bv())return e.activeElement;let n=e.activeElement;for(;n&&"shadowRoot"in n&&(!((t=n.shadowRoot)===null||t===void 0)&&t.activeElement);)n=n.shadowRoot.activeElement;return n};function V9(e){return Bv()&&e.target.shadowRoot&&e.composedPath?e.composedPath()[0]:e.target}function VJ(e){var t;if(typeof window>"u"||window.navigator==null)return!1;let n=(t=window.navigator.userAgentData)===null||t===void 0?void 0:t.brands;return Array.isArray(n)&&n.some(r=>e.test(r.brand))||e.test(window.navigator.userAgent)}function UJ(e){var t;return typeof window<"u"&&window.navigator!=null?e.test(((t=window.navigator.userAgentData)===null||t===void 0?void 0:t.platform)||window.navigator.platform):!1}function U9(e){let t=null;return()=>(t==null&&(t=e()),t)}const zJ=U9(function(){return UJ(/^Mac/i)}),HJ=U9(function(){return VJ(/Android/i)});function z9(){let e=v.useRef(new Map),t=v.useCallback((i,o,a,l)=>{let c=l!=null&&l.once?(...f)=>{e.current.delete(a),a(...f)}:a;e.current.set(a,{type:o,eventTarget:i,fn:c,options:l}),i.addEventListener(o,c,l)},[]),n=v.useCallback((i,o,a,l)=>{var c;let f=((c=e.current.get(a))===null||c===void 0?void 0:c.fn)||a;i.removeEventListener(o,f,l),e.current.delete(a)},[]),r=v.useCallback(()=>{e.current.forEach((i,o)=>{n(i.eventTarget,i.type,o,i.options)})},[n]);return v.useEffect(()=>r,[r]),{addGlobalListener:t,removeGlobalListener:n,removeAllGlobalListeners:r}}function qJ(e){return e.pointerType===""&&e.isTrusted?!0:HJ()&&e.pointerType?e.type==="click"&&e.buttons===1:e.detail===0&&!e.pointerType}function H9(e){let t=e;return t.nativeEvent=e,t.isDefaultPrevented=()=>t.defaultPrevented,t.isPropagationStopped=()=>t.cancelBubble,t.persist=()=>{},t}function WJ(e,t){Object.defineProperty(e,"target",{value:t}),Object.defineProperty(e,"currentTarget",{value:t})}function q9(e){let t=v.useRef({isFocused:!1,observer:null});j9(()=>{const r=t.current;return()=>{r.observer&&(r.observer.disconnect(),r.observer=null)}},[]);let n=MJ(r=>{e==null||e(r)});return v.useCallback(r=>{if(r.target instanceof HTMLButtonElement||r.target instanceof HTMLInputElement||r.target instanceof HTMLTextAreaElement||r.target instanceof HTMLSelectElement){t.current.isFocused=!0;let i=r.target,o=a=>{if(t.current.isFocused=!1,i.disabled){let l=H9(a);n(l)}t.current.observer&&(t.current.observer.disconnect(),t.current.observer=null)};i.addEventListener("focusout",o,{once:!0}),t.current.observer=new MutationObserver(()=>{if(t.current.isFocused&&i.disabled){var a;(a=t.current.observer)===null||a===void 0||a.disconnect();let l=i===document.activeElement?null:document.activeElement;i.dispatchEvent(new FocusEvent("blur",{relatedTarget:l})),i.dispatchEvent(new FocusEvent("focusout",{bubbles:!0,relatedTarget:l}))}}),t.current.observer.observe(i,{attributes:!0,attributeFilter:["disabled"]})}},[n])}let GJ=!1,pf=null,L2=new Set,mc=new Map,Ca=!1,P2=!1;const QJ={Tab:!0,Escape:!0};function Vv(e,t){for(let n of L2)n(e,t)}function YJ(e){return!(e.metaKey||!zJ()&&e.altKey||e.ctrlKey||e.key==="Control"||e.key==="Shift"||e.key==="Meta")}function lp(e){Ca=!0,YJ(e)&&(pf="keyboard",Vv("keyboard",e))}function Ml(e){pf="pointer",(e.type==="mousedown"||e.type==="pointerdown")&&(Ca=!0,Vv("pointer",e))}function W9(e){qJ(e)&&(Ca=!0,pf="virtual")}function G9(e){e.target===window||e.target===document||GJ||!e.isTrusted||(!Ca&&!P2&&(pf="virtual",Vv("virtual",e)),Ca=!1,P2=!1)}function Q9(){Ca=!1,P2=!0}function F2(e){if(typeof window>"u"||typeof document>"u"||mc.get(fa(e)))return;const t=fa(e),n=Os(e);let r=t.HTMLElement.prototype.focus;t.HTMLElement.prototype.focus=function(){Ca=!0,r.apply(this,arguments)},n.addEventListener("keydown",lp,!0),n.addEventListener("keyup",lp,!0),n.addEventListener("click",W9,!0),t.addEventListener("focus",G9,!0),t.addEventListener("blur",Q9,!1),typeof PointerEvent<"u"&&(n.addEventListener("pointerdown",Ml,!0),n.addEventListener("pointermove",Ml,!0),n.addEventListener("pointerup",Ml,!0)),t.addEventListener("beforeunload",()=>{Y9(e)},{once:!0}),mc.set(t,{focus:r})}const Y9=(e,t)=>{const n=fa(e),r=Os(e);t&&r.removeEventListener("DOMContentLoaded",t),mc.has(n)&&(n.HTMLElement.prototype.focus=mc.get(n).focus,r.removeEventListener("keydown",lp,!0),r.removeEventListener("keyup",lp,!0),r.removeEventListener("click",W9,!0),n.removeEventListener("focus",G9,!0),n.removeEventListener("blur",Q9,!1),typeof PointerEvent<"u"&&(r.removeEventListener("pointerdown",Ml,!0),r.removeEventListener("pointermove",Ml,!0),r.removeEventListener("pointerup",Ml,!0)),mc.delete(n))};function XJ(e){const t=Os(e);let n;return t.readyState!=="loading"?F2(e):(n=()=>{F2(e)},t.addEventListener("DOMContentLoaded",n)),()=>Y9(e,n)}typeof document<"u"&&XJ();function X9(){return pf!=="pointer"}const ZJ=new Set(["checkbox","radio","range","color","file","image","button","submit","reset"]);function JJ(e,t,n){let r=Os(n==null?void 0:n.target);const i=typeof window<"u"?fa(n==null?void 0:n.target).HTMLInputElement:HTMLInputElement,o=typeof window<"u"?fa(n==null?void 0:n.target).HTMLTextAreaElement:HTMLTextAreaElement,a=typeof window<"u"?fa(n==null?void 0:n.target).HTMLElement:HTMLElement,l=typeof window<"u"?fa(n==null?void 0:n.target).KeyboardEvent:KeyboardEvent;return e=e||r.activeElement instanceof i&&!ZJ.has(r.activeElement.type)||r.activeElement instanceof o||r.activeElement instanceof a&&r.activeElement.isContentEditable,!(e&&t==="keyboard"&&n instanceof l&&!QJ[n.key])}function KJ(e,t,n){F2(),v.useEffect(()=>{let r=(i,o)=>{JJ(!!(n!=null&&n.isTextInput),i,o)&&e(X9())};return L2.add(r),()=>{L2.delete(r)}},t)}function eK(e){let{isDisabled:t,onFocus:n,onBlur:r,onFocusChange:i}=e;const o=v.useCallback(c=>{if(c.target===c.currentTarget)return r&&r(c),i&&i(!1),!0},[r,i]),a=q9(o),l=v.useCallback(c=>{const f=Os(c.target),p=f?R2(f):R2();c.target===c.currentTarget&&p===V9(c.nativeEvent)&&(n&&n(c),i&&i(!0),a(c))},[i,n,a]);return{focusProps:{onFocus:!t&&(n||i||r)?l:void 0,onBlur:!t&&(r||i)?o:void 0}}}function tK(e){let{isDisabled:t,onBlurWithin:n,onFocusWithin:r,onFocusWithinChange:i}=e,o=v.useRef({isFocusWithin:!1}),{addGlobalListener:a,removeAllGlobalListeners:l}=z9(),c=v.useCallback(h=>{h.currentTarget.contains(h.target)&&o.current.isFocusWithin&&!h.currentTarget.contains(h.relatedTarget)&&(o.current.isFocusWithin=!1,l(),n&&n(h),i&&i(!1))},[n,i,o,l]),f=q9(c),p=v.useCallback(h=>{if(!h.currentTarget.contains(h.target))return;const g=Os(h.target),b=R2(g);if(!o.current.isFocusWithin&&b===V9(h.nativeEvent)){r&&r(h),i&&i(!0),o.current.isFocusWithin=!0,f(h);let y=h.currentTarget;a(g,"focus",w=>{if(o.current.isFocusWithin&&!B9(y,w.target)){let _=new g.defaultView.FocusEvent("blur",{relatedTarget:w.target});WJ(_,y);let T=H9(_);c(T)}},{capture:!0})}},[r,i,f,a,c]);return t?{focusWithinProps:{onFocus:void 0,onBlur:void 0}}:{focusWithinProps:{onFocus:p,onBlur:c}}}let O2=!1,Jd=0;function nK(){O2=!0,setTimeout(()=>{O2=!1},50)}function b8(e){e.pointerType==="touch"&&nK()}function rK(){if(!(typeof document>"u"))return Jd===0&&typeof PointerEvent<"u"&&document.addEventListener("pointerup",b8),Jd++,()=>{Jd--,!(Jd>0)&&typeof PointerEvent<"u"&&document.removeEventListener("pointerup",b8)}}function Z9(e){let{onHoverStart:t,onHoverChange:n,onHoverEnd:r,isDisabled:i}=e,[o,a]=v.useState(!1),l=v.useRef({isHovered:!1,ignoreEmulatedMouseEvents:!1,pointerType:"",target:null}).current;v.useEffect(rK,[]);let{addGlobalListener:c,removeAllGlobalListeners:f}=z9(),{hoverProps:p,triggerHoverEnd:h}=v.useMemo(()=>{let g=(w,_)=>{if(l.pointerType=_,i||_==="touch"||l.isHovered||!w.currentTarget.contains(w.target))return;l.isHovered=!0;let T=w.currentTarget;l.target=T,c(Os(w.target),"pointerover",N=>{l.isHovered&&l.target&&!B9(l.target,N.target)&&b(N,N.pointerType)},{capture:!0}),t&&t({type:"hoverstart",target:T,pointerType:_}),n&&n(!0),a(!0)},b=(w,_)=>{let T=l.target;l.pointerType="",l.target=null,!(_==="touch"||!l.isHovered||!T)&&(l.isHovered=!1,f(),r&&r({type:"hoverend",target:T,pointerType:_}),n&&n(!1),a(!1))},y={};return typeof PointerEvent<"u"&&(y.onPointerEnter=w=>{O2&&w.pointerType==="mouse"||g(w,w.pointerType)},y.onPointerLeave=w=>{!i&&w.currentTarget.contains(w.target)&&b(w,w.pointerType)}),{hoverProps:y,triggerHoverEnd:b}},[t,n,r,i,l,c,f]);return v.useEffect(()=>{i&&h({currentTarget:l.target},l.pointerType)},[i]),{hoverProps:p,isHovered:o}}function J9(e={}){let{autoFocus:t=!1,isTextInput:n,within:r}=e,i=v.useRef({isFocused:!1,isFocusVisible:t||X9()}),[o,a]=v.useState(!1),[l,c]=v.useState(()=>i.current.isFocused&&i.current.isFocusVisible),f=v.useCallback(()=>c(i.current.isFocused&&i.current.isFocusVisible),[]),p=v.useCallback(b=>{i.current.isFocused=b,a(b),f()},[f]);KJ(b=>{i.current.isFocusVisible=b,f()},[],{isTextInput:n});let{focusProps:h}=eK({isDisabled:r,onFocusChange:p}),{focusWithinProps:g}=tK({isDisabled:!r,onFocusWithinChange:p});return{isFocused:o,isFocusVisible:l,focusProps:r?g:h}}var iK=Object.defineProperty,oK=(e,t,n)=>t in e?iK(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,G1=(e,t,n)=>(oK(e,typeof t!="symbol"?t+"":t,n),n);let sK=class{constructor(){G1(this,"current",this.detect()),G1(this,"handoffState","pending"),G1(this,"currentId",0)}set(t){this.current!==t&&(this.handoffState="pending",this.currentId=0,this.current=t)}reset(){this.set(this.detect())}nextId(){return++this.currentId}get isServer(){return this.current==="server"}get isClient(){return this.current==="client"}detect(){return typeof window>"u"||typeof document>"u"?"server":"client"}handoff(){this.handoffState==="pending"&&(this.handoffState="complete")}get isHandoffComplete(){return this.handoffState==="complete"}},va=new sK;function hf(e){var t;return va.isServer?null:e==null?document:(t=e==null?void 0:e.ownerDocument)!=null?t:document}function aK(e){var t,n;return va.isServer?null:e==null?document:(n=(t=e==null?void 0:e.getRootNode)==null?void 0:t.call(e))!=null?n:document}function lK(e){var t,n;return(n=(t=aK(e))==null?void 0:t.activeElement)!=null?n:null}function K9(e){return lK(e)===e}function eN(e){typeof queueMicrotask=="function"?queueMicrotask(e):Promise.resolve().then(e).catch(t=>setTimeout(()=>{throw t}))}function Zr(){let e=[],t={addEventListener(n,r,i,o){return n.addEventListener(r,i,o),t.add(()=>n.removeEventListener(r,i,o))},requestAnimationFrame(...n){let r=requestAnimationFrame(...n);return t.add(()=>cancelAnimationFrame(r))},nextFrame(...n){return t.requestAnimationFrame(()=>t.requestAnimationFrame(...n))},setTimeout(...n){let r=setTimeout(...n);return t.add(()=>clearTimeout(r))},microTask(...n){let r={current:!0};return eN(()=>{r.current&&n[0]()}),t.add(()=>{r.current=!1})},style(n,r,i){let o=n.style.getPropertyValue(r);return Object.assign(n.style,{[r]:i}),this.add(()=>{Object.assign(n.style,{[r]:o})})},group(n){let r=Zr();return n(r),this.add(()=>r.dispose())},add(n){return e.includes(n)||e.push(n),()=>{let r=e.indexOf(n);if(r>=0)for(let i of e.splice(r,1))i()}},dispose(){for(let n of e.splice(0))n()}};return t}function lu(){let[e]=v.useState(Zr);return v.useEffect(()=>()=>e.dispose(),[e]),e}let Jt=(e,t)=>{va.isServer?v.useEffect(e,t):v.useLayoutEffect(e,t)};function La(e){let t=v.useRef(e);return Jt(()=>{t.current=e},[e]),t}let We=function(e){let t=La(e);return z.useCallback((...n)=>t.current(...n),[t])};function uK(e){let t=e.width/2,n=e.height/2;return{top:e.clientY-n,right:e.clientX+t,bottom:e.clientY+n,left:e.clientX-t}}function cK(e,t){return!(!e||!t||e.rightt.right||e.bottomt.bottom)}function fK({disabled:e=!1}={}){let t=v.useRef(null),[n,r]=v.useState(!1),i=lu(),o=We(()=>{t.current=null,r(!1),i.dispose()}),a=We(l=>{if(i.dispose(),t.current===null){t.current=l.currentTarget,r(!0);{let c=hf(l.currentTarget);i.addEventListener(c,"pointerup",o,!1),i.addEventListener(c,"pointermove",f=>{if(t.current){let p=uK(f);r(cK(p,t.current.getBoundingClientRect()))}},!1),i.addEventListener(c,"pointercancel",o,!1)}}});return{pressed:n,pressProps:e?{}:{onPointerDown:a,onPointerUp:o,onClick:o}}}function Pa(e){return v.useMemo(()=>e,Object.values(e))}let dK=v.createContext(void 0);function Uv(){return v.useContext(dK)}function v8(...e){return Array.from(new Set(e.flatMap(t=>typeof t=="string"?t.split(" "):[]))).filter(Boolean).join(" ")}function oo(e,t,...n){if(e in t){let i=t[e];return typeof i=="function"?i(...n):i}let r=new Error(`Tried to handle "${e}" but there is no handler defined. Only defined handlers are: ${Object.keys(t).map(i=>`"${i}"`).join(", ")}.`);throw Error.captureStackTrace&&Error.captureStackTrace(r,oo),r}var M2=(e=>(e[e.None=0]="None",e[e.RenderStrategy=1]="RenderStrategy",e[e.Static=2]="Static",e))(M2||{}),pK=(e=>(e[e.Unmount=0]="Unmount",e[e.Hidden=1]="Hidden",e))(pK||{});function Ni(){let e=mK();return v.useCallback(t=>hK({mergeRefs:e,...t}),[e])}function hK({ourProps:e,theirProps:t,slot:n,defaultTag:r,features:i,visible:o=!0,name:a,mergeRefs:l}){l=l??gK;let c=tN(t,e);if(o)return Kd(c,n,r,a,l);let f=i??0;if(f&2){let{static:p=!1,...h}=c;if(p)return Kd(h,n,r,a,l)}if(f&1){let{unmount:p=!0,...h}=c;return oo(p?0:1,{0(){return null},1(){return Kd({...h,hidden:!0,style:{display:"none"}},n,r,a,l)}})}return Kd(c,n,r,a,l)}function Kd(e,t={},n,r,i){let{as:o=n,children:a,refName:l="ref",...c}=Q1(e,["unmount","static"]),f=e.ref!==void 0?{[l]:e.ref}:{},p=typeof a=="function"?a(t):a;"className"in c&&c.className&&typeof c.className=="function"&&(c.className=c.className(t)),c["aria-labelledby"]&&c["aria-labelledby"]===c.id&&(c["aria-labelledby"]=void 0);let h={};if(t){let g=!1,b=[];for(let[y,w]of Object.entries(t))typeof w=="boolean"&&(g=!0),w===!0&&b.push(y.replace(/([A-Z])/g,_=>`-${_.toLowerCase()}`));if(g){h["data-headlessui-state"]=b.join(" ");for(let y of b)h[`data-${y}`]=""}}if(v0(o)&&(Object.keys(ra(c)).length>0||Object.keys(ra(h)).length>0))if(!v.isValidElement(p)||Array.isArray(p)&&p.length>1||vK(p)){if(Object.keys(ra(c)).length>0)throw new Error(['Passing props on "Fragment"!',"",`The current component <${r} /> is rendering a "Fragment".`,"However we need to passthrough the following props:",Object.keys(ra(c)).concat(Object.keys(ra(h))).map(g=>` - ${g}`).join(` +`),"","You can apply a few solutions:",['Add an `as="..."` prop, to ensure that we render an actual element instead of a "Fragment".',"Render a single element as the child so that we can forward the props onto that element."].map(g=>` - ${g}`).join(` +`)].join(` +`))}else{let g=p.props,b=g==null?void 0:g.className,y=typeof b=="function"?(...T)=>v8(b(...T),c.className):v8(b,c.className),w=y?{className:y}:{},_=tN(p.props,ra(Q1(c,["ref"])));for(let T in h)T in _&&delete h[T];return v.cloneElement(p,Object.assign({},_,h,f,{ref:i(bK(p),f.ref)},w))}return v.createElement(o,Object.assign({},Q1(c,["ref"]),!v0(o)&&f,!v0(o)&&h),p)}function mK(){let e=v.useRef([]),t=v.useCallback(n=>{for(let r of e.current)r!=null&&(typeof r=="function"?r(n):r.current=n)},[]);return(...n)=>{if(!n.every(r=>r==null))return e.current=n,t}}function gK(...e){return e.every(t=>t==null)?void 0:t=>{for(let n of e)n!=null&&(typeof n=="function"?n(t):n.current=t)}}function tN(...e){if(e.length===0)return{};if(e.length===1)return e[0];let t={},n={};for(let r of e)for(let i in r)i.startsWith("on")&&typeof r[i]=="function"?(n[i]!=null||(n[i]=[]),n[i].push(r[i])):t[i]=r[i];if(t.disabled||t["aria-disabled"])for(let r in n)/^(on(?:Click|Pointer|Mouse|Key)(?:Down|Up|Press)?)$/.test(r)&&(n[r]=[i=>{var o;return(o=i==null?void 0:i.preventDefault)==null?void 0:o.call(i)}]);for(let r in n)Object.assign(t,{[r](i,...o){let a=n[r];for(let l of a){if((i instanceof Event||(i==null?void 0:i.nativeEvent)instanceof Event)&&i.defaultPrevented)return;l(i,...o)}}});return t}function zv(...e){if(e.length===0)return{};if(e.length===1)return e[0];let t={},n={};for(let r of e)for(let i in r)i.startsWith("on")&&typeof r[i]=="function"?(n[i]!=null||(n[i]=[]),n[i].push(r[i])):t[i]=r[i];for(let r in n)Object.assign(t,{[r](...i){let o=n[r];for(let a of o)a==null||a(...i)}});return t}function Ai(e){var t;return Object.assign(v.forwardRef(e),{displayName:(t=e.displayName)!=null?t:e.name})}function ra(e){let t=Object.assign({},e);for(let n in t)t[n]===void 0&&delete t[n];return t}function Q1(e,t=[]){let n=Object.assign({},e);for(let r of t)r in n&&delete n[r];return n}function bK(e){return z.version.split(".")[0]>="19"?e.props.ref:e.ref}function v0(e){return e===v.Fragment||e===Symbol.for("react.fragment")}function vK(e){return v0(e.type)}function yK(e,t,n){let[r,i]=v.useState(n),o=e!==void 0,a=v.useRef(o),l=v.useRef(!1),c=v.useRef(!1);return o&&!a.current&&!l.current?(l.current=!0,a.current=o,console.error("A component is changing from uncontrolled to controlled. This may be caused by the value changing from undefined to a defined value, which should not happen.")):!o&&a.current&&!c.current&&(c.current=!0,a.current=o,console.error("A component is changing from controlled to uncontrolled. This may be caused by the value changing from a defined value to undefined, which should not happen.")),[o?e:r,We(f=>(o||jn.flushSync(()=>i(f)),t==null?void 0:t(f)))]}function xK(e){let[t]=v.useState(e);return t}function nN(e={},t=null,n=[]){for(let[r,i]of Object.entries(e))iN(n,rN(t,r),i);return n}function rN(e,t){return e?e+"["+t+"]":t}function iN(e,t,n){if(Array.isArray(n))for(let[r,i]of n.entries())iN(e,rN(t,r.toString()),i);else n instanceof Date?e.push([t,n.toISOString()]):typeof n=="boolean"?e.push([t,n?"1":"0"]):typeof n=="string"?e.push([t,n]):typeof n=="number"?e.push([t,`${n}`]):n==null?e.push([t,""]):wK(n)&&!v.isValidElement(n)&&nN(n,t,e)}function wK(e){if(Object.prototype.toString.call(e)!=="[object Object]")return!1;let t=Object.getPrototypeOf(e);return t===null||Object.getPrototypeOf(t)===null}let EK="span";var Hv=(e=>(e[e.None=1]="None",e[e.Focusable=2]="Focusable",e[e.Hidden=4]="Hidden",e))(Hv||{});function SK(e,t){var n;let{features:r=1,...i}=e,o={ref:t,"aria-hidden":(r&2)===2?!0:(n=i["aria-hidden"])!=null?n:void 0,hidden:(r&4)===4?!0:void 0,style:{position:"fixed",top:1,left:1,width:1,height:0,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",borderWidth:"0",...(r&4)===4&&(r&2)!==2&&{display:"none"}}};return Ni()({ourProps:o,theirProps:i,slot:{},defaultTag:EK,name:"Hidden"})}let oN=Ai(SK),_K=v.createContext(null);function TK({children:e}){let t=v.useContext(_K);if(!t)return z.createElement(z.Fragment,null,e);let{target:n}=t;return n?jn.createPortal(z.createElement(z.Fragment,null,e),n):null}function kK({data:e,form:t,disabled:n,onReset:r,overrides:i}){let[o,a]=v.useState(null),l=lu();return v.useEffect(()=>{if(r&&o)return l.addEventListener(o,"reset",r)},[o,t,r]),z.createElement(TK,null,z.createElement(CK,{setForm:a,formId:t}),nN(e).map(([c,f])=>z.createElement(oN,{features:Hv.Hidden,...ra({key:c,as:"input",type:"hidden",hidden:!0,readOnly:!0,form:t,disabled:n,name:c,value:f,...i})})))}function CK({setForm:e,formId:t}){return v.useEffect(()=>{if(t){let n=document.getElementById(t);n&&e(n)}},[e,t]),t?null:z.createElement(oN,{features:Hv.Hidden,as:"input",type:"hidden",hidden:!0,readOnly:!0,ref:n=>{if(!n)return;let r=n.closest("form");r&&e(r)}})}let NK=v.createContext(void 0);function sN(){return v.useContext(NK)}function aN(e){return typeof e!="object"||e===null?!1:"nodeType"in e}function Xp(e){return aN(e)&&"tagName"in e}function Ms(e){return Xp(e)&&"accessKey"in e}function da(e){return Xp(e)&&"tabIndex"in e}function AK(e){return Xp(e)&&"style"in e}function IK(e){return Ms(e)&&e.nodeName==="IFRAME"}function up(e){return Ms(e)&&e.nodeName==="INPUT"}function y8(e){return Ms(e)&&e.nodeName==="LABEL"}function DK(e){return Ms(e)&&e.nodeName==="FIELDSET"}function lN(e){return Ms(e)&&e.nodeName==="LEGEND"}function RK(e){return Xp(e)?e.matches('a[href],audio[controls],button,details,embed,iframe,img[usemap],input:not([type="hidden"]),label,select,textarea,video[controls]'):!1}function x8(e){let t=e.parentElement,n=null;for(;t&&!DK(t);)lN(t)&&(n=t),t=t.parentElement;let r=(t==null?void 0:t.getAttribute("disabled"))==="";return r&&LK(n)?!1:r}function LK(e){if(!e)return!1;let t=e.previousElementSibling;for(;t!==null;){if(lN(t))return!1;t=t.previousElementSibling}return!0}let uN=Symbol();function PK(e,t=!0){return Object.assign(e,{[uN]:t})}function zo(...e){let t=v.useRef(e);v.useEffect(()=>{t.current=e},[e]);let n=We(r=>{for(let i of t.current)i!=null&&(typeof i=="function"?i(r):i.current=r)});return e.every(r=>r==null||(r==null?void 0:r[uN]))?void 0:n}let qv=v.createContext(null);qv.displayName="DescriptionContext";function cN(){let e=v.useContext(qv);if(e===null){let t=new Error("You used a component, but it is not inside a relevant parent.");throw Error.captureStackTrace&&Error.captureStackTrace(t,cN),t}return e}function FK(){var e,t;return(t=(e=v.useContext(qv))==null?void 0:e.value)!=null?t:void 0}let OK="p";function MK(e,t){let n=v.useId(),r=Uv(),{id:i=`headlessui-description-${n}`,...o}=e,a=cN(),l=zo(t);Jt(()=>a.register(i),[i,a.register]);let c=Pa({...a.slot,disabled:r||!1}),f={ref:l,...a.props,id:i};return Ni()({ourProps:f,theirProps:o,slot:c,defaultTag:OK,name:a.name||"Description"})}let $K=Ai(MK);Object.assign($K,{});var Gn=(e=>(e.Space=" ",e.Enter="Enter",e.Escape="Escape",e.Backspace="Backspace",e.Delete="Delete",e.ArrowLeft="ArrowLeft",e.ArrowUp="ArrowUp",e.ArrowRight="ArrowRight",e.ArrowDown="ArrowDown",e.Home="Home",e.End="End",e.PageUp="PageUp",e.PageDown="PageDown",e.Tab="Tab",e))(Gn||{});let Zp=v.createContext(null);Zp.displayName="LabelContext";function fN(){let e=v.useContext(Zp);if(e===null){let t=new Error("You used a