diff --git a/404.html b/404.html index 4ec16f72..2c71bb1b 100644 --- a/404.html +++ b/404.html @@ -4,8 +4,8 @@ Page Not Found | ethdebug format - - + +
Skip to main content

Page Not Found

We could not find what you were looking for.

Please contact the owner of the site that linked you to the original URL and let them know their link is broken.

diff --git a/assets/js/ce1d6aaa.1c976806.js b/assets/js/ce1d6aaa.1c976806.js new file mode 100644 index 00000000..3c36f04d --- /dev/null +++ b/assets/js/ce1d6aaa.1c976806.js @@ -0,0 +1 @@ +(self.webpackChunk_ethdebug_format_web=self.webpackChunk_ethdebug_format_web||[]).push([[8470],{72052:(e,t,n)=>{"use strict";n.r(t),n.d(t,{assets:()=>l,contentTitle:()=>o,default:()=>u,frontMatter:()=>r,metadata:()=>c,toc:()=>d});var i=n(52322),s=n(45392),a=(n(84560),n(51114));const r={sidebar_position:4},o="Evaluating pointer expressions",c={id:"implementation-guides/pointers/evaluating-expressions",title:"Evaluating pointer expressions",description:"Expression evaluation is a bit more interesting than reading raw region data,",source:"@site/docs/implementation-guides/pointers/evaluating-expressions.mdx",sourceDirName:"implementation-guides/pointers",slug:"/implementation-guides/pointers/evaluating-expressions",permalink:"/format/docs/implementation-guides/pointers/evaluating-expressions",draft:!1,unlisted:!1,editUrl:"https://github.com/ethdebug/format/tree/main/packages/web/docs/implementation-guides/pointers/evaluating-expressions.mdx",tags:[],version:"current",sidebarPosition:4,frontMatter:{sidebar_position:4},sidebar:"docsSidebar",previous:{title:"Reading from pointer regions",permalink:"/format/docs/implementation-guides/pointers/reading-from-regions"},next:{title:"The dereference function",permalink:"/format/docs/implementation-guides/pointers/dereference-logic/"}},l={},d=[{value:"Evaluating constants, literals, and variables",id:"evaluating-constants-literals-and-variables",level:2},{value:"Evaluating arithmetic operations",id:"evaluating-arithmetic-operations",level:2},{value:"Evaluating resize expressions",id:"evaluating-resize-expressions",level:2},{value:"Evaluating keccak256 hashes",id:"evaluating-keccak256-hashes",level:2},{value:"Evaluating property lookups",id:"evaluating-property-lookups",level:2},{value:"Evaluating machine state reads",id:"evaluating-machine-state-reads",level:2},{value:"Note on "$this" region lookups",id:"note-on-this-region-lookups",level:2}];function h(e){const t={a:"a",code:"code",em:"em",h1:"h1",h2:"h2",p:"p",strong:"strong",...(0,s.a)(),...e.components},{Details:n}=t;return n||function(e,t){throw new Error("Expected "+(t?"component":"object")+" `"+e+"` to be defined: you likely forgot to import, pass, or provide it.")}("Details",!0),(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(t.h1,{id:"evaluating-pointer-expressions",children:"Evaluating pointer expressions"}),"\n",(0,i.jsx)(t.p,{children:"Expression evaluation is a bit more interesting than reading raw region data,\nbut, still, performing this evaluation becomes relatively straightforward\nif variable and region references are pre-evaluated:"}),"\n",(0,i.jsx)(a.Z,{packageName:"@ethdebug/pointers",sourcePath:"src/evaluate.ts",extract:e=>e.getExportedDeclarations().get("EvaluateOptions")[0]}),"\n",(0,i.jsxs)(t.p,{children:["The main ",(0,i.jsx)(t.code,{children:"evaluate()"})," function uses type guards to dispatch to the appropriate\nspecific logic based on the kind of expression:"]}),"\n",(0,i.jsxs)(n,{children:[(0,i.jsxs)("summary",{children:["Source code of ",(0,i.jsx)(t.code,{children:"evaluate(expression: Pointer.Expression, options: EvaluateOptions)"})]}),(0,i.jsx)(a.Z,{packageName:"@ethdebug/pointers",sourcePath:"src/evaluate.ts",extract:e=>e.getExportedDeclarations().get("evaluate")[0]})]}),"\n",(0,i.jsx)(t.h2,{id:"evaluating-constants-literals-and-variables",children:"Evaluating constants, literals, and variables"}),"\n",(0,i.jsx)(t.p,{children:"Evaluating constant expressions is quite straightforward:"}),"\n",(0,i.jsx)(a.Z,{packageName:"@ethdebug/pointers",sourcePath:"src/evaluate.ts",extract:e=>e.getFunction("evaluateConstant")}),"\n",(0,i.jsx)(t.p,{children:"Evaluating literals involves detecting hex string vs. number and converting\nappropriate to bytes:"}),"\n",(0,i.jsx)(a.Z,{packageName:"@ethdebug/pointers",sourcePath:"src/evaluate.ts",extract:e=>e.getFunction("evaluateLiteral")}),"\n",(0,i.jsxs)(t.p,{children:["Variable lookups, of course, require consulting the ",(0,i.jsx)(t.code,{children:"variables"})," map passed\nin ",(0,i.jsx)(t.code,{children:"EvaluateOptions"}),":"]}),"\n",(0,i.jsx)(a.Z,{packageName:"@ethdebug/pointers",sourcePath:"src/evaluate.ts",extract:e=>e.getFunction("evaluateVariable")}),"\n",(0,i.jsx)(t.h2,{id:"evaluating-arithmetic-operations",children:"Evaluating arithmetic operations"}),"\n",(0,i.jsx)(t.p,{children:"Doing arithmetic operations follows the logic one might expect: recurse on\nthe operands of the expression and join the results appropriately. Note the\nslight differences in implementation for operations that accept any number\nof operands (sums, products), vs. operations that only accept two operands\n(differences, quotients, remainders)."}),"\n",(0,i.jsx)(t.p,{children:"Evaluating sums:"}),"\n",(0,i.jsx)(a.Z,{packageName:"@ethdebug/pointers",sourcePath:"src/evaluate.ts",extract:e=>e.getFunction("evaluateArithmeticSum")}),"\n",(0,i.jsx)(t.p,{children:"Evaluating products:"}),"\n",(0,i.jsx)(a.Z,{packageName:"@ethdebug/pointers",sourcePath:"src/evaluate.ts",extract:e=>e.getFunction("evaluateArithmeticProduct")}),"\n",(0,i.jsx)(t.p,{children:"Evaluating differences:"}),"\n",(0,i.jsx)(a.Z,{packageName:"@ethdebug/pointers",sourcePath:"src/evaluate.ts",extract:e=>e.getFunction("evaluateArithmeticDifference")}),"\n",(0,i.jsxs)(t.p,{children:[(0,i.jsx)(t.strong,{children:"Note"})," how this function operates on unsigned values only by bounding the\nresult below at 0."]}),"\n",(0,i.jsx)(t.p,{children:"Evaluating quotients:"}),"\n",(0,i.jsx)(a.Z,{packageName:"@ethdebug/pointers",sourcePath:"src/evaluate.ts",extract:e=>e.getFunction("evaluateArithmeticQuotient")}),"\n",(0,i.jsx)(t.p,{children:"(Quotients of course use integer division only.)"}),"\n",(0,i.jsx)(t.p,{children:"Evaluating remainders:"}),"\n",(0,i.jsx)(a.Z,{packageName:"@ethdebug/pointers",sourcePath:"src/evaluate.ts",extract:e=>e.getFunction("evaluateArithmeticRemainder")}),"\n",(0,i.jsx)(t.h2,{id:"evaluating-resize-expressions",children:"Evaluating resize expressions"}),"\n",(0,i.jsxs)(t.p,{children:["This schema provides the ",(0,i.jsx)(t.code,{children:'{ "$sized": }'})," construct to allow\nexplicitly resizing a subexpression. This implementation uses the\n",(0,i.jsx)(t.a,{href:"/docs/implementation-guides/pointers/types/data-and-machines",children:(0,i.jsx)(t.code,{children:"Data.prototype.resizeTo()"})}),"\nmethod to perform this operation."]}),"\n",(0,i.jsx)(a.Z,{packageName:"@ethdebug/pointers",sourcePath:"src/evaluate.ts",extract:e=>e.getFunction("evaluateResize")}),"\n",(0,i.jsx)(t.h2,{id:"evaluating-keccak256-hashes",children:"Evaluating keccak256 hashes"}),"\n",(0,i.jsx)(t.p,{children:"Many data types in storage are addressed by way of keccak256 hashing. This\nprocess is somewhat non-trivial because the bytes width of the inputs and the\nprocess for concatenating them must match compiler behavior exactly."}),"\n",(0,i.jsxs)(t.p,{children:["See Solidity's\n",(0,i.jsx)(t.a,{href:"https://docs.soliditylang.org/en/latest/internals/layout_in_storage.html",children:"Layout of State Variables in Storage"}),"\ndocumentation for an example of how one high-level EVM language makes heavy\nuse of hashing to allocate persistent data."]}),"\n",(0,i.jsx)(a.Z,{packageName:"@ethdebug/pointers",sourcePath:"src/evaluate.ts",extract:e=>e.getFunction("evaluateKeccak256")}),"\n",(0,i.jsx)(t.h2,{id:"evaluating-property-lookups",children:"Evaluating property lookups"}),"\n",(0,i.jsx)(t.p,{children:"Pointer expressions can compose values taken from the properties of other,\nnamed regions. This not only provides a convenient way to avoid duplication\nwhen writing pointer expressions, but also it is necessary for types with\nparticularly complex data allocations."}),"\n",(0,i.jsxs)(t.p,{children:["Currently, the specification defines lookup operations for three properties:\n",(0,i.jsx)(t.code,{children:"offset"}),", ",(0,i.jsx)(t.code,{children:"length"}),", and ",(0,i.jsx)(t.code,{children:"slot"}),". Runtime checks are required to prevent\naccessing properties that aren't available on the target region (e.g.\nmemory regions do not contain a ",(0,i.jsx)(t.code,{children:"slot"})," property)."]}),"\n",(0,i.jsxs)(t.p,{children:["Since all of these lookups function in the same way, this reference\nimplementation needs only a single\n",(0,i.jsx)(t.code,{children:'evaluateLookup'})," function:"]}),"\n",(0,i.jsx)(a.Z,{packageName:"@ethdebug/pointers",sourcePath:"src/evaluate.ts",extract:e=>e.getFunction("evaluateLookup")}),"\n",(0,i.jsx)(t.p,{children:"(The use of generic types here serves mostly to appease the type-checker; the\nminimal type safety it affords is insignificant compared to runtime data\nconsistency concerns, which hopefully the implementation makes clear via its\nuse of runtime definedness checks.)"}),"\n",(0,i.jsx)(t.h2,{id:"evaluating-machine-state-reads",children:"Evaluating machine state reads"}),"\n",(0,i.jsxs)(t.p,{children:["Finally, the last kind of expression defined by this specification is for\nreading raw data from the machine state. A ",(0,i.jsx)(t.code,{children:"Pointer.Expression.Read"})," should\nevaluate to the raw bytes stored at runtime in the region identified by a\nparticular name."]}),"\n",(0,i.jsxs)(t.p,{children:["Thanks to ",(0,i.jsx)(t.code,{children:"evaluate()"}),"'s requirement that its input regions-by-name map\ncontains only concrete\n",(0,i.jsx)(t.a,{href:"/docs/implementation-guides/pointers/types/cursors",children:(0,i.jsx)(t.code,{children:"Cursor.Region"})}),"\nobjects, and by leveraging the existing\n",(0,i.jsxs)(t.a,{href:"/docs/implementation-guides/pointers/reading-from-regions",children:[(0,i.jsx)(t.code,{children:"read()"})," functionality"]}),",\nthis function presents no surprises:"]}),"\n",(0,i.jsx)(a.Z,{packageName:"@ethdebug/pointers",sourcePath:"src/evaluate.ts",extract:e=>e.getFunction("evaluateRead")}),"\n",(0,i.jsxs)(t.h2,{id:"note-on-this-region-lookups",children:["Note on ",(0,i.jsx)(t.code,{children:'"$this"'})," region lookups"]}),"\n",(0,i.jsxs)(t.p,{children:["Astute readers might notice that these docs contain no mention until now\nabout how to implement support for expressions that reference the region in\nwhich they are defined, a mechanism the schema permits via the special region\nname identifier ",(0,i.jsx)(t.code,{children:'"$this"'}),"."]}),"\n",(0,i.jsxs)(t.p,{children:["Performing ",(0,i.jsx)(t.em,{children:"read"})," operations against ",(0,i.jsx)(t.code,{children:'"$this"'})," region is meaningless since\nthis schema does not afford any mechanism for defining regions recursively\ndown to a base case (or similar composition). Thus, the only syntactic\nconstruct for self-referential reads resembles, e.g., defining a storage region\nwhose ",(0,i.jsx)(t.code,{children:"slot"})," is ",(0,i.jsx)(t.code,{children:'{ $read: "$this" }'}),". Evaluating this ",(0,i.jsx)(t.code,{children:"slot"})," would require\nknowing the slot before knowing where to read, and knowing the slow requires\nknowing the machine value, ad nauseum."]}),"\n",(0,i.jsxs)(t.p,{children:[(0,i.jsx)(t.em,{children:"Property lookup expressions"}),", on the other hand, are completely\nacceptable\u2014provided they do not include circular references of any cycle\nlength."]}),"\n",(0,i.jsxs)(t.p,{children:["Since the ",(0,i.jsx)(t.code,{children:"evaluate<.*>()"})," functions here are written to accept only one\nexpression at a time, this reference implementation relegates this concern to a\nhigher-level module; proper use of ",(0,i.jsx)(t.code,{children:"evaluate()"})," here requires its\n",(0,i.jsx)(t.code,{children:"options.regions"})," map to include a pre-evaluated (albeit partial)\n",(0,i.jsx)(t.code,{children:'"$this"'})," region."]}),"\n",(0,i.jsxs)(t.p,{children:["The logic for creating ",(0,i.jsx)(t.code,{children:'"$this"'})," regions and calling ",(0,i.jsx)(t.code,{children:"evaluate()"})," correctly\nis described in the section pertaining to that area of the code. Be\nforewarned that this reference implementation takes a na\xefve trial-and-error\napproach for determining property evaluation order; implementations requiring\na more robust strategy will need to do some amount of pre-processing."]})]})}function u(e={}){const{wrapper:t}={...(0,s.a)(),...e.components};return t?(0,i.jsx)(t,{...e,children:(0,i.jsx)(h,{...e})}):h(e)}},48313:e=>{function t(e){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}t.keys=()=>[],t.resolve=t,t.id=48313,e.exports=t},51114:(e,t,n)=>{"use strict";n.d(t,{Z:()=>c});var i=n(84560),s=n.n(i),a=n(20477),r=n(42408);var o=n(52322);function c(e){let{packageName:t,sourcePath:n,extract:i,...c}=e;const l=function(e){const{packages:t}=(0,r.eZ)("project-code-plugin");if(!(e in t))throw new Error(`Unknown package name ${e}`);const{sourceFiles:n}=t[e],i=new a.IKL({useInMemoryFileSystem:!0});for(const{filePath:s,text:a}of n)i.createSourceFile(s,a,{overwrite:!0});return i}(t),d=l.getSourceFileOrThrow(n);if(!i)return(0,o.jsx)(s(),{title:n,language:"typescript",showLineNumbers:!0,children:d.getFullText()});const h=i(d,l);return(0,o.jsx)(s(),{language:"typescript",...c,children:h.getFullText().trim()})}},56699:()=>{},68379:()=>{},68382:()=>{},78867:()=>{},21212:()=>{},89854:()=>{},25800:()=>{},93037:()=>{},26996:()=>{}}]); \ No newline at end of file diff --git a/assets/js/ce1d6aaa.5c9950bd.js b/assets/js/ce1d6aaa.5c9950bd.js deleted file mode 100644 index 442c39bb..00000000 --- a/assets/js/ce1d6aaa.5c9950bd.js +++ /dev/null @@ -1 +0,0 @@ -(self.webpackChunk_ethdebug_format_web=self.webpackChunk_ethdebug_format_web||[]).push([[8470],{72052:(e,t,n)=>{"use strict";n.r(t),n.d(t,{assets:()=>l,contentTitle:()=>r,default:()=>u,frontMatter:()=>o,metadata:()=>c,toc:()=>d});var i=n(52322),a=n(45392),s=(n(84560),n(51114));const o={sidebar_position:4},r="Evaluating pointer expressions",c={id:"implementation-guides/pointers/evaluating-expressions",title:"Evaluating pointer expressions",description:"Expression evaluation is a bit more interesting than reading raw region data,",source:"@site/docs/implementation-guides/pointers/evaluating-expressions.mdx",sourceDirName:"implementation-guides/pointers",slug:"/implementation-guides/pointers/evaluating-expressions",permalink:"/format/docs/implementation-guides/pointers/evaluating-expressions",draft:!1,unlisted:!1,editUrl:"https://github.com/ethdebug/format/tree/main/packages/web/docs/implementation-guides/pointers/evaluating-expressions.mdx",tags:[],version:"current",sidebarPosition:4,frontMatter:{sidebar_position:4},sidebar:"docsSidebar",previous:{title:"Reading from pointer regions",permalink:"/format/docs/implementation-guides/pointers/reading-from-regions"},next:{title:"The dereference function",permalink:"/format/docs/implementation-guides/pointers/dereference-logic/"}},l={},d=[{value:"Evaluating constants, literals, and variables",id:"evaluating-constants-literals-and-variables",level:2},{value:"Evaluating arithmetic operations",id:"evaluating-arithmetic-operations",level:2},{value:"Evaluating keccak256 hashes",id:"evaluating-keccak256-hashes",level:2},{value:"Evaluating property lookups",id:"evaluating-property-lookups",level:2},{value:"Evaluating machine state reads",id:"evaluating-machine-state-reads",level:2},{value:"Note on "$this" region lookups",id:"note-on-this-region-lookups",level:2}];function h(e){const t={a:"a",admonition:"admonition",code:"code",em:"em",h1:"h1",h2:"h2",p:"p",strong:"strong",...(0,a.a)(),...e.components},{Details:n}=t;return n||function(e,t){throw new Error("Expected "+(t?"component":"object")+" `"+e+"` to be defined: you likely forgot to import, pass, or provide it.")}("Details",!0),(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(t.h1,{id:"evaluating-pointer-expressions",children:"Evaluating pointer expressions"}),"\n",(0,i.jsx)(t.p,{children:"Expression evaluation is a bit more interesting than reading raw region data,\nbut, still, performing this evaluation becomes relatively straightforward\nif variable and region references are pre-evaluated:"}),"\n",(0,i.jsx)(s.Z,{packageName:"@ethdebug/pointers",sourcePath:"src/evaluate.ts",extract:e=>e.getExportedDeclarations().get("EvaluateOptions")[0]}),"\n",(0,i.jsxs)(t.p,{children:["The main ",(0,i.jsx)(t.code,{children:"evaluate()"})," function uses type guards to dispatch to the appropriate\nspecific logic based on the kind of expression:"]}),"\n",(0,i.jsxs)(n,{children:[(0,i.jsxs)("summary",{children:["Source code of ",(0,i.jsx)(t.code,{children:"evaluate(expression: Pointer.Expression, options: EvaluateOptions)"})]}),(0,i.jsx)(s.Z,{packageName:"@ethdebug/pointers",sourcePath:"src/evaluate.ts",extract:e=>e.getExportedDeclarations().get("evaluate")[0]})]}),"\n",(0,i.jsx)(t.h2,{id:"evaluating-constants-literals-and-variables",children:"Evaluating constants, literals, and variables"}),"\n",(0,i.jsx)(t.p,{children:"Evaluating constant expressions is quite straightforward:"}),"\n",(0,i.jsx)(s.Z,{packageName:"@ethdebug/pointers",sourcePath:"src/evaluate.ts",extract:e=>e.getFunction("evaluateConstant")}),"\n",(0,i.jsx)(t.p,{children:"Evaluating literals involves detecting hex string vs. number and converting\nappropriate to bytes:"}),"\n",(0,i.jsx)(s.Z,{packageName:"@ethdebug/pointers",sourcePath:"src/evaluate.ts",extract:e=>e.getFunction("evaluateLiteral")}),"\n",(0,i.jsxs)(t.p,{children:["Variable lookups, of course, require consulting the ",(0,i.jsx)(t.code,{children:"variables"})," map passed\nin ",(0,i.jsx)(t.code,{children:"EvaluateOptions"}),":"]}),"\n",(0,i.jsx)(s.Z,{packageName:"@ethdebug/pointers",sourcePath:"src/evaluate.ts",extract:e=>e.getFunction("evaluateVariable")}),"\n",(0,i.jsx)(t.h2,{id:"evaluating-arithmetic-operations",children:"Evaluating arithmetic operations"}),"\n",(0,i.jsx)(t.p,{children:"Doing arithmetic operations follows the logic one might expect: recurse on\nthe operands of the expression and join the results appropriately. Note the\nslight differences in implementation for operations that accept any number\nof operands (sums, products), vs. operations that only accept two operands\n(differences, quotients, remainders)."}),"\n",(0,i.jsx)(t.p,{children:"Evaluating sums:"}),"\n",(0,i.jsx)(s.Z,{packageName:"@ethdebug/pointers",sourcePath:"src/evaluate.ts",extract:e=>e.getFunction("evaluateArithmeticSum")}),"\n",(0,i.jsx)(t.p,{children:"Evaluating products:"}),"\n",(0,i.jsx)(s.Z,{packageName:"@ethdebug/pointers",sourcePath:"src/evaluate.ts",extract:e=>e.getFunction("evaluateArithmeticProduct")}),"\n",(0,i.jsx)(t.p,{children:"Evaluating differences:"}),"\n",(0,i.jsx)(s.Z,{packageName:"@ethdebug/pointers",sourcePath:"src/evaluate.ts",extract:e=>e.getFunction("evaluateArithmeticDifference")}),"\n",(0,i.jsxs)(t.p,{children:[(0,i.jsx)(t.strong,{children:"Note"})," how this function operates on unsigned values only by bounding the\nresult below at 0."]}),"\n",(0,i.jsx)(t.p,{children:"Evaluating quotients:"}),"\n",(0,i.jsx)(s.Z,{packageName:"@ethdebug/pointers",sourcePath:"src/evaluate.ts",extract:e=>e.getFunction("evaluateArithmeticQuotient")}),"\n",(0,i.jsx)(t.p,{children:"(Quotients of course use integer division only.)"}),"\n",(0,i.jsx)(t.p,{children:"Evaluating remainders:"}),"\n",(0,i.jsx)(s.Z,{packageName:"@ethdebug/pointers",sourcePath:"src/evaluate.ts",extract:e=>e.getFunction("evaluateArithmeticRemainder")}),"\n",(0,i.jsx)(t.h2,{id:"evaluating-keccak256-hashes",children:"Evaluating keccak256 hashes"}),"\n",(0,i.jsx)(t.p,{children:"Many data types in storage are addressed by way of keccak256 hashing. This\nprocess is somewhat non-trivial because the bytes width of the inputs and the\nprocess for concatenating them must match compiler behavior exactly."}),"\n",(0,i.jsxs)(t.p,{children:["See Solidity's\n",(0,i.jsx)(t.a,{href:"https://docs.soliditylang.org/en/latest/internals/layout_in_storage.html",children:"Layout of State Variables in Storage"}),"\ndocumentation for an example of how one high-level EVM language makes heavy\nuse of hashing to allocate persistent data."]}),"\n",(0,i.jsxs)(t.admonition,{type:"warning",children:[(0,i.jsx)(t.p,{children:"This area of the schema is likely incomplete and could still use additional\nspecification. Be warned that, while this implementation may match the schema\nitself, it may not be fully sufficient for expressing all kinds of data\nallocations."}),(0,i.jsx)(t.p,{children:"Please stay tuned as this work continues being refined."})]}),"\n",(0,i.jsx)(s.Z,{packageName:"@ethdebug/pointers",sourcePath:"src/evaluate.ts",extract:e=>e.getFunction("evaluateKeccak256")}),"\n",(0,i.jsx)(t.h2,{id:"evaluating-property-lookups",children:"Evaluating property lookups"}),"\n",(0,i.jsx)(t.p,{children:"Pointer expressions can compose values taken from the properties of other,\nnamed regions. This not only provides a convenient way to avoid duplication\nwhen writing pointer expressions, but also it is necessary for types with\nparticularly complex data allocations."}),"\n",(0,i.jsxs)(t.p,{children:["Currently, the specification defines lookup operations for three properties:\n",(0,i.jsx)(t.code,{children:"offset"}),", ",(0,i.jsx)(t.code,{children:"length"}),", and ",(0,i.jsx)(t.code,{children:"slot"}),". Runtime checks are required to prevent\naccessing properties that aren't available on the target region (e.g.\nmemory regions do not contain a ",(0,i.jsx)(t.code,{children:"slot"})," property)."]}),"\n",(0,i.jsxs)(t.p,{children:["Since all of these lookups function in the same way, this reference\nimplementation needs only a single\n",(0,i.jsx)(t.code,{children:'evaluateLookup'})," function:"]}),"\n",(0,i.jsx)(s.Z,{packageName:"@ethdebug/pointers",sourcePath:"src/evaluate.ts",extract:e=>e.getFunction("evaluateLookup")}),"\n",(0,i.jsx)(t.p,{children:"(The use of generic types here serves mostly to appease the type-checker; the\nminimal type safety it affords is insignificant compared to runtime data\nconsistency concerns, which hopefully the implementation makes clear via its\nuse of runtime definedness checks.)"}),"\n",(0,i.jsx)(t.h2,{id:"evaluating-machine-state-reads",children:"Evaluating machine state reads"}),"\n",(0,i.jsxs)(t.p,{children:["Finally, the last kind of expression defined by this specification is for\nreading raw data from the machine state. A ",(0,i.jsx)(t.code,{children:"Pointer.Expression.Read"})," should\nevaluate to the raw bytes stored at runtime in the region identified by a\nparticular name."]}),"\n",(0,i.jsxs)(t.p,{children:["Thanks to ",(0,i.jsx)(t.code,{children:"evaluate()"}),"'s requirement that its input regions-by-name map\ncontains only concrete\n",(0,i.jsx)(t.a,{href:"/docs/implementation-guides/pointers/types/cursors",children:(0,i.jsx)(t.code,{children:"Cursor.Region"})}),"\nobjects, and by leveraging the existing\n",(0,i.jsxs)(t.a,{href:"/docs/implementation-guides/pointers/reading-from-regions",children:[(0,i.jsx)(t.code,{children:"read()"})," functionality"]}),",\nthis function presents no surprises:"]}),"\n",(0,i.jsx)(s.Z,{packageName:"@ethdebug/pointers",sourcePath:"src/evaluate.ts",extract:e=>e.getFunction("evaluateRead")}),"\n",(0,i.jsxs)(t.h2,{id:"note-on-this-region-lookups",children:["Note on ",(0,i.jsx)(t.code,{children:'"$this"'})," region lookups"]}),"\n",(0,i.jsxs)(t.p,{children:["Astute readers might notice that these docs contain no mention until now\nabout how to implement support for expressions that reference the region in\nwhich they are defined, a mechanism the schema permits via the special region\nname identifier ",(0,i.jsx)(t.code,{children:'"$this"'}),"."]}),"\n",(0,i.jsxs)(t.p,{children:["Performing ",(0,i.jsx)(t.em,{children:"read"})," operations against ",(0,i.jsx)(t.code,{children:'"$this"'})," region is meaningless since\nthis schema does not afford any mechanism for defining regions recursively\ndown to a base case (or similar composition). Thus, the only syntactic\nconstruct for self-referential reads resembles, e.g., defining a storage region\nwhose ",(0,i.jsx)(t.code,{children:"slot"})," is ",(0,i.jsx)(t.code,{children:'{ $read: "$this" }'}),". Evaluating this ",(0,i.jsx)(t.code,{children:"slot"})," would require\nknowing the slot before knowing where to read, and knowing the slow requires\nknowing the machine value, ad nauseum."]}),"\n",(0,i.jsxs)(t.p,{children:[(0,i.jsx)(t.em,{children:"Property lookup expressions"}),", on the other hand, are completely\nacceptable\u2014provided they do not include circular references of any cycle\nlength."]}),"\n",(0,i.jsxs)(t.p,{children:["Since the ",(0,i.jsx)(t.code,{children:"evaluate<.*>()"})," functions here are written to accept only one\nexpression at a time, this reference implementation relegates this concern to a\nhigher-level module; proper use of ",(0,i.jsx)(t.code,{children:"evaluate()"})," here requires its\n",(0,i.jsx)(t.code,{children:"options.regions"})," map to include a pre-evaluated (albeit partial)\n",(0,i.jsx)(t.code,{children:'"$this"'})," region."]}),"\n",(0,i.jsxs)(t.p,{children:["The logic for creating ",(0,i.jsx)(t.code,{children:'"$this"'})," regions and calling ",(0,i.jsx)(t.code,{children:"evaluate()"})," correctly\nis described in the section pertaining to that area of the code. Be\nforewarned that this reference implementation takes a na\xefve trial-and-error\napproach for determining property evaluation order; implementations requiring\na more robust strategy will need to do some amount of pre-processing."]})]})}function u(e={}){const{wrapper:t}={...(0,a.a)(),...e.components};return t?(0,i.jsx)(t,{...e,children:(0,i.jsx)(h,{...e})}):h(e)}},48313:e=>{function t(e){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}t.keys=()=>[],t.resolve=t,t.id=48313,e.exports=t},51114:(e,t,n)=>{"use strict";n.d(t,{Z:()=>c});var i=n(84560),a=n.n(i),s=n(20477),o=n(42408);var r=n(52322);function c(e){let{packageName:t,sourcePath:n,extract:i,...c}=e;const l=function(e){const{packages:t}=(0,o.eZ)("project-code-plugin");if(!(e in t))throw new Error(`Unknown package name ${e}`);const{sourceFiles:n}=t[e],i=new s.IKL({useInMemoryFileSystem:!0});for(const{filePath:a,text:s}of n)i.createSourceFile(a,s,{overwrite:!0});return i}(t),d=l.getSourceFileOrThrow(n);if(!i)return(0,r.jsx)(a(),{title:n,language:"typescript",showLineNumbers:!0,children:d.getFullText()});const h=i(d,l);return(0,r.jsx)(a(),{language:"typescript",...c,children:h.getFullText().trim()})}},56699:()=>{},68379:()=>{},68382:()=>{},78867:()=>{},21212:()=>{},89854:()=>{},25800:()=>{},93037:()=>{},26996:()=>{}}]); \ No newline at end of file diff --git a/assets/js/common.3be48381.js b/assets/js/common.3be48381.js new file mode 100644 index 00000000..d497f5b0 --- /dev/null +++ b/assets/js/common.3be48381.js @@ -0,0 +1,8 @@ +/*! For license information please see common.3be48381.js.LICENSE.txt */ +(self.webpackChunk_ethdebug_format_web=self.webpackChunk_ethdebug_format_web||[]).push([[8592],{43159:(e,t,n)=>{var r,o,i,s,a=n(90682),u=n(96111),c=n(21500);r=e.exports,o="parse",i=()=>f,Object.defineProperty(r,o,{get:i,set:s,enumerable:!0,configurable:!0});const l=c.LRParser.deserialize({version:14,states:"%QO]QPOOOOQO'#Cd'#CdOtQQO'#CgO!PQPO'#ClOOQO'#Cs'#CsQOQPOOOOQO'#Ci'#CiO!WQPO'#ChO!]QPO'#CuOOQO,59R,59RO!eQPO,59ROOQO'#Cm'#CmO!jQPO'#CyOOQO,59W,59WO!rQPO,59WO]QPO,59SO!wQQO,59aO#SQPO,59aOOQO1G.m1G.mO#[QPO,59eO#cQPO,59eOOQO1G.r1G.rOOQO1G.n1G.nOOQO,59Y,59YO#kQQO1G.{OOQO-E6l-E6lOOQO,59Z,59ZO#vQPO1G/POOQO-E6m-E6mPwQQO'#CnP]QPO'#Co",stateData:"$R~OfOSPOSQOS~OSSOTSOUSOVSOYQO_ROhPO~OXXOhUOjUO~O^]O~P]Ok_O~Ol`OXiX~OXbO~OlcO^mX~O^eO~OhUOjUOXia~OlhOXia~O^ma~P]OlkO^ma~OhUOjUOXii~O^mi~P]OPQj~",goto:"!}nPPPPPPPPoPPow!PPPo!V!_!ePPP!kP!wPPP!z]SOR_cknQWQVg`hmXVQ`hmQ[RVjcknQaWRiaQd[RldQTOWZRcknRf_RYQR^R",nodeNames:"\u26a0 LineComment BlockComment JsonText True False Null Number String } { Object Property PropertyName ] [ Array ArrayValue",maxTerm:29,nodeProps:[["group",-7,4,5,6,7,8,11,16,"Value"],["openedBy",9,"{",14,"["],["closedBy",10,"}",15,"]"]],skippedNodes:[0,1,2],repeatNodeCount:2,tokenData:"!!`~R!OXY$RYZ$RZ[$R[]$R]^$Rpq$Rrs$Wtu.Xwx0b{|2Y|}6p}!O2Y!O!P2l!P!Q6u!Q!R3l!R![5Q![!]8t!c!k.X!k!l8y!l!p.X!p!q@}!q!}.X!}#OB|#O#P/S#P#QCR#R#S.X#T#Y.X#Y#ZCW#Z#b.X#b#cHU#c#h.X#h#iLU#i#o.X#o#p!!U#q#r!!Z$f$g$R$g$IV.X$IV$IW$R$IW$I|.X$I|$I}$R$I}$JO$R$JU;'S.X;'S;=`0[<%l?HT.X?HT?HU$R?HUO.X~$WOf~~$ZXOp$vpq$Wqr$Wrs%`s#O$W#O#P&s#P;'S$W;'S;=`.R<%lO$W~$yVOr$vrs%`s#O$v#O#P%e#P;'S$v;'S;=`&m<%lO$v~%eOh~~%haYZ$v]^$vrs$vwx$v!Q!R$v#O#P$v#T#U$v#U#V$v#Y#Z$v#b#c$v#f#g$v#h#i$v#i#j$v#j#k$v#l#m$v$I|$I}$v$I}$JO$v~&pP;=`<%l$v~&vbYZ$v]^$vrs$Wwx$v!P!Q(O!Q!R$v#O#P$W#T#U$v#U#V$W#Y#Z$W#b#c$W#f#g$W#h#i$W#i#j*c#j#k$v#l#m$v$I|$I}$v$I}$JO$v~(RWpq(Oqr(Ors%`s#O(O#O#P(k#P;'S(O;'S;=`*]<%lO(O~(nXrs(O!P!Q(O#O#P(O#U#V(O#Y#Z(O#b#c(O#f#g(O#h#i(O#i#j)Z~)^R!Q![)g!c!i)g#T#Z)g~)jR!Q![)s!c!i)s#T#Z)s~)vR!Q![*P!c!i*P#T#Z*P~*SR!Q![(O!c!i(O#T#Z(O~*`P;=`<%l(O~*f]Or$vrs%`s!Q$v!Q![+_![!c$v!c!i+_!i#O$v#O#P%e#P#T$v#T#Z+_#Z;'S$v;'S;=`&m<%lO$v~+b]Or$vrs%`s!Q$v!Q![,Z![!c$v!c!i,Z!i#O$v#O#P%e#P#T$v#T#Z,Z#Z;'S$v;'S;=`&m<%lO$v~,^]Or$vrs%`s!Q$v!Q![-V![!c$v!c!i-V!i#O$v#O#P%e#P#T$v#T#Z-V#Z;'S$v;'S;=`&m<%lO$v~-Y]Or$vrs%`s!Q$v!Q![$W![!c$v!c!i$W!i#O$v#O#P%e#P#T$v#T#Z$W#Z;'S$v;'S;=`&m<%lO$v~.UP;=`<%l$WQ.^[jQtu.X!Q![.X!c!}.X#O#P/S#R#S.X#T#o.X$g$IV.X$IW$I|.X$JU;'S.X;'S;=`0[<%l?HT.X?HUO.XQ/VP#i#j/YQ/]R!Q![/f!c!i/f#T#Z/fQ/iR!Q![/r!c!i/r#T#Z/rQ/uR!Q![0O!c!i0O#T#Z0OQ0RR!Q![.X!c!i.X#T#Z.XQ0_P;=`<%l.X~0eVOw0bwx%`x#O0b#O#P0z#P;'S0b;'S;=`2S<%lO0b~0}aYZ0b]^0brs0bwx0b!Q!R0b#O#P0b#T#U0b#U#V0b#Y#Z0b#b#c0b#f#g0b#h#i0b#i#j0b#j#k0b#l#m0b$I|$I}0b$I}$JO0b~2VP;=`<%l0bP2]T!O!P2l!Q!R3l!R![5Q!k!l5c!p!q6dP2oP!Q![2rP2wRVP!Q![2r!g!h3Q#X#Y3QP3TR{|3^}!O3^!Q![3dP3aP!Q![3dP3iPVP!Q![3dP3qTVP!O!P2r!Q![4Q!g!h3Q#X#Y3Q#l#m4fP4TQ!O!P4Z!Q![4QP4`QVP!g!h3Q#X#Y3QP4iR!Q![4r!c!i4r#T#Z4rP4wRVP!Q![4r!c!i4r#T#Z4rP5VSVP!O!P2r!Q![5Q!g!h3Q#X#Y3QP5fP#b#c5iP5lP#Y#Z5oP5rP#]#^5uP5xP#b#c5{P6OP#]#^6RP6UP#h#i6XP6[P#m#n6_P6dOVPP6gP#T#U6jP6mP!p!q6_~6uOl~~6xQz{7O!P!Q8V~7RTOz7Oz{7b{;'S7O;'S;=`8P<%lO7O~7eVOz7Oz{7b{!P7O!P!Q7z!Q;'S7O;'S;=`8P<%lO7O~8POQ~~8SP;=`<%l7O~8[UP~OY8VZ]8V^$I|8V$JO;'S8V;'S;=`8n<%lO8V~8qP;=`<%l8V~8yOk~R9O^jQtu.X!Q![.X!c!}.X#O#P/S#R#S.X#T#b.X#b#c9z#c#o.X$g$IV.X$IW$I|.X$JU;'S.X;'S;=`0[<%l?HT.X?HUO.XR:P^jQtu.X!Q![.X!c!}.X#O#P/S#R#S.X#T#Y.X#Y#Z:{#Z#o.X$g$IV.X$IW$I|.X$JU;'S.X;'S;=`0[<%l?HT.X?HUO.XR;Q^jQtu.X!Q![.X!c!}.X#O#P/S#R#S.X#T#].X#]#^;|#^#o.X$g$IV.X$IW$I|.X$JU;'S.X;'S;=`0[<%l?HT.X?HUO.XRO#^#o.X$g$IV.X$IW$I|.X$JU;'S.X;'S;=`0[<%l?HT.X?HUO.XR>T^jQtu.X!Q![.X!c!}.X#O#P/S#R#S.X#T#h.X#h#i?P#i#o.X$g$IV.X$IW$I|.X$JU;'S.X;'S;=`0[<%l?HT.X?HUO.XR?U^jQtu.X!Q![.X!c!}.X#O#P/S#R#S.X#T#m.X#m#n@Q#n#o.X$g$IV.X$IW$I|.X$JU;'S.X;'S;=`0[<%l?HT.X?HUO.XR@X[VPjQtu.X!Q![.X!c!}.X#O#P/S#R#S.X#T#o.X$g$IV.X$IW$I|.X$JU;'S.X;'S;=`0[<%l?HT.X?HUO.XRAS]jQtu.X!Q![.X!c!}.X#O#P/S#R#S.X#T#UA{#U#o.X$g$IV.X$IW$I|.X$JU;'S.X;'S;=`0[<%l?HT.X?HUO.XRBQ^jQtu.X!Q![.X!c!p.X!p!q@Q!q!}.X#O#P/S#R#S.X#T#o.X$g$IV.X$IW$I|.X$JU;'S.X;'S;=`0[<%l?HT.X?HUO.X~CRO_~~CWO^~RC]]jQtu.X!Q![.X!c!}.X#O#P/S#R#S.X#T#UDU#U#o.X$g$IV.X$IW$I|.X$JU;'S.X;'S;=`0[<%l?HT.X?HUO.XRDZ^jQtu.X!Q![.X!c!}.X#O#P/S#R#S.X#T#`.X#`#aEV#a#o.X$g$IV.X$IW$I|.X$JU;'S.X;'S;=`0[<%l?HT.X?HUO.XRE[^jQtu.X!Q![.X!c!}.X#O#P/S#R#S.X#T#g.X#g#hFW#h#o.X$g$IV.X$IW$I|.X$JU;'S.X;'S;=`0[<%l?HT.X?HUO.XRF]^jQtu.X!Q![.X!c!}.X#O#P/S#R#S.X#T#X.X#X#YGX#Y#o.X$g$IV.X$IW$I|.X$JU;'S.X;'S;=`0[<%l?HT.X?HUO.XRG`[TPjQtu.X!Q![.X!c!}.X#O#P/S#R#S.X#T#o.X$g$IV.X$IW$I|.X$JU;'S.X;'S;=`0[<%l?HT.X?HUO.XRHZ^jQtu.X!Q![.X!c!}.X#O#P/S#R#S.X#T#i.X#i#jIV#j#o.X$g$IV.X$IW$I|.X$JU;'S.X;'S;=`0[<%l?HT.X?HUO.XRI[^jQtu.X!Q![.X!c!}.X#O#P/S#R#S.X#T#`.X#`#aJW#a#o.X$g$IV.X$IW$I|.X$JU;'S.X;'S;=`0[<%l?HT.X?HUO.XRJ]^jQtu.X!Q![.X!c!}.X#O#P/S#R#S.X#T#`.X#`#aKX#a#o.X$g$IV.X$IW$I|.X$JU;'S.X;'S;=`0[<%l?HT.X?HUO.XRK`[UPjQtu.X!Q![.X!c!}.X#O#P/S#R#S.X#T#o.X$g$IV.X$IW$I|.X$JU;'S.X;'S;=`0[<%l?HT.X?HUO.XRLZ^jQtu.X!Q![.X!c!}.X#O#P/S#R#S.X#T#f.X#f#gMV#g#o.X$g$IV.X$IW$I|.X$JU;'S.X;'S;=`0[<%l?HT.X?HUO.XRM[^jQtu.X!Q![.X!c!}.X#O#P/S#R#S.X#T#i.X#i#jNW#j#o.X$g$IV.X$IW$I|.X$JU;'S.X;'S;=`0[<%l?HT.X?HUO.XRN]^jQtu.X!Q![.X!c!}.X#O#P/S#R#S.X#T#X.X#X#Y! X#Y#o.X$g$IV.X$IW$I|.X$JU;'S.X;'S;=`0[<%l?HT.X?HUO.XR! `[SPjQtu.X!Q![.X!c!}.X#O#P/S#R#S.X#T#o.X$g$IV.X$IW$I|.X$JU;'S.X;'S;=`0[<%l?HT.X?HUO.X~!!ZOY~~!!`OX~",tokenizers:[0,1],topRules:{JsonText:[0,3]},dialects:{json5:137},tokenPrec:0});function f(e,t,{dialect:n="json",tabWidth:r=4}={}){let o="JSON5"===n?(i=u,i&&i.__esModule?i.default:i).parse(e,t):JSON.parse(e,t);var i;let s=l.configure({strict:!0,dialect:"JSON5"===n?"json5":"json"}).parse(e),c=new Map,f=[""];return s.iterate({enter(t){let n=t.type.prop(a.NodeProp.group);if((null==n?void 0:n.includes("Value"))&&d(c,m(f),{value:h(e,t.from,r),valueEnd:h(e,t.to,r)}),"PropertyName"===t.name){let n=e.slice(t.from,t.to),o="'"===n[0]||'"'==n[0];f.push(o?n.slice(1,-1):n),d(c,m(f),{key:h(e,t.from,r),keyEnd:h(e,t.to,r)})}else"Array"===t.name&&f.push(0)},leave(e){"Property"===e.name||"Array"===e.name?f.pop():"ArrayValue"===e.name&&f[f.length-1]++}}),{data:o,pointers:Object.fromEntries(c)}}function d(e,t,n){let r=e.get(t);r={...r,...n},e.set(t,r)}function h(e,t,n){let r=function(e,t){let n=0;for(let r=0;r"~"===e?"~0":"~1"))+"/":String(n)+"/";return t.slice(0,-1)}},84560:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=r(n(2784)),i=r(n(54318)),s=r(n(5750));e.exports=(s.default,e=>e.reference?o.default.createElement(i.default,{...e}):o.default.createElement(s.default,{...e}))},54318:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var o=Object.getOwnPropertyDescriptor(t,n);o&&!("get"in o?!t.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,o)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),o=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),i=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&r(t,e,n);return o(t,e),t},s=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.codeReducer=t.parseCustomization=t.parseReference=void 0;const a=i(n(2784)),u=s(n(5750)),c="See full example on GitHub",l={code:"loading...",error:null,loading:null},f={fontSize:".9em",fontWeight:600,color:"#0E75DD",textAlign:"center",paddingBottom:"13px",textDecoration:"underline"};function d(e){const t=e.slice(e.indexOf("https"),-1),[n,r]=t.split("#"),o=globalThis||{};o.URL||(o.URL=URL);const[i,s,a,u,...c]=new o.URL(n).pathname.split("/").slice(1),[l,f]=r?r.split("-").map((e=>parseInt(e.slice(1),10)-1)):[0,1/0];return{url:`https://raw.githubusercontent.com/${i}/${s}/${u}/${c.join("/")}`,fromLine:l,toLine:f,title:c.join("/")}}function h(e){var t,n,r,o;const i=null===(n=null===(t=null==e?void 0:e.match(/title="(?.*?)"/))||void 0===t?void 0:t.groups)||void 0===n?void 0:n.title,s=null==e?void 0:e.match(/referenceLinkText="(?<referenceLinkText>.*?)"/),a=null!==(o=null===(r=null==s?void 0:s.groups)||void 0===r?void 0:r.referenceLinkText)&&void 0!==o?o:c,u=null==e?void 0:e.match(/customStyling/),l=1===(null==u?void 0:u.length);return{title:i,linkText:a,noteStyling:1===(null==u?void 0:u.length)?{}:f,useCustomStyling:l}}function p(e,{type:t,value:n}){switch(t){case"reset":return l;case"loading":return{...e,loading:!0};case"loaded":return{...e,code:n,loading:!1};case"error":return{...e,error:n,loading:!1};default:return e}}t.parseReference=d,t.parseCustomization=h,t.codeReducer=p,t.default=function(e){const[t,n]=(0,a.useReducer)(p,l),r=d(e.children);!1!==t.loading&&async function({url:e,fromLine:t,toLine:n},r){let o;try{o=await fetch(e)}catch(a){return r({type:"error",value:a})}if(200!==o.status)return r({type:"error",value:await o.text()});const i=(await o.text()).split("\n").slice(t,(n||t)+1),s=i.reduce(((e,t)=>{if(0===t.length)return e;const n=t.match(/^\s+/);return n?Math.min(e,n[0].length):0}),1/0);r({type:"loaded",value:i.map((e=>e.slice(s))).join("\n")})}(r,n);const o=h(e.metastring),i={...e,metastring:o.title?` title="${o.title}"`:` title="${r.title}"`,children:l.code};return a.default.createElement("div",null,a.default.createElement(u.default,{...i},t.code),a.default.createElement("div",{style:o.noteStyling,className:o.useCustomStyling?"github-codeblock-reference-link":""},a.default.createElement("a",{href:e.children,target:"_blank"},o.linkText)))}},77501:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Cache=void 0;t.Cache=class{constructor(e={}){this._stats={hits:0,misses:0},this._data={},this._stdTTL=e.stdTTL}get stats(){return this._stats}get(e){const t=this._data[e];if(t&&(!this._stdTTL||(new Date).getTime()-t.ts<this._stdTTL))return this._stats.hits+=1,t.val;this._stats.misses+=1}set(e,t){this._data[e]={ts:(new Date).getTime(),val:t}}has(e){return e in this._data}purge(){Object.assign(this._stats,{hits:0,misses:0}),this._data={}}}},89728:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ResolveCrawler=void 0;const r=n(78458),o=n(5091),i=n(72579),s=n(18045);t.ResolveCrawler=class{constructor(e,t,n){this._resolved=n,this.resolvers=[],this.pointerGraph=new o.DepGraph({circular:!0}),this.pointerStemGraph=new o.DepGraph({circular:!0}),this.computeGraph=(e,t=[],n="#",r=[])=>{n||(n="#");let o=this._runner.computeRef({val:e,jsonPointer:n,pointerStack:r});if(void 0!==o)this._resolveRef({ref:o,val:e,parentPath:t,pointerStack:r,parentPointer:n,cacheKey:n,resolvingPointer:this.jsonPointer});else if("object"==typeof e)for(const i in e){if(!e.hasOwnProperty(i))continue;const a=e[i],u=s.addToJSONPointer(n,i);o=this._runner.computeRef({key:i,val:a,jsonPointer:u,pointerStack:r}),t.push(i),void 0!==o?this._resolveRef({ref:o,val:a,parentPath:t,parentPointer:u,pointerStack:r,cacheKey:s.uriToJSONPointer(o),resolvingPointer:this.jsonPointer}):"object"==typeof a&&this.computeGraph(a,t,u,r),t.pop()}},this._resolveRef=e=>{const{pointerStack:t,parentPath:n,parentPointer:o,ref:a}=e;if(s.uriIsJSONPointer(a)){if(this._runner.dereferenceInline){const e=s.uriToJSONPointer(a);let c;try{c=(0,r.pointerToPath)(e)}catch(u){return void this._resolved.errors.push({code:"PARSE_POINTER",message:`'${a}' JSON pointer is invalid`,uri:this._runner.baseUri,uriStack:this._runner.uriStack,pointerStack:[],path:[]})}let l=c.length>0;for(const t in c)if(n[t]!==c[t]){l=!1;break}if(l)return;this.pointerStemGraph.hasNode(e)||this.pointerStemGraph.addNode(e);let f="#",d="";for(let t=0;t<n.length;t++){const r=n[t];if(r===c[t])f+=`/${r}`;else{d+=`/${r}`;const t=`${f}${d}`;t!==o&&t!==e&&(this.pointerStemGraph.hasNode(t)||this.pointerStemGraph.addNode(t),this.pointerStemGraph.addDependency(t,e))}}this.pointerGraph.hasNode(o)||this.pointerGraph.addNode(o),this.pointerGraph.hasNode(e)||this.pointerGraph.addNode(e);const h=`${this._runner.baseUri.toString()}${e}`;this._runner.graph.hasNode(h)||this._runner.graph.addNode(h,{refMap:{}}),this._runner.root!==h&&this._runner.graph.addDependency(this._runner.root,h),this.pointerGraph.addDependency(o,e),this.jsonPointer&&(t.length<2||!t.includes(e))&&(t.push(e),this.computeGraph(i(this._runner.source,c),c,e,t),t.pop())}}else{const t=a.toString();this._runner.graph.hasNode(t)||this._runner.graph.addNode(t,{refMap:{}}),this._runner.root!==t&&this._runner.graph.addDependency(this._runner.root,t),this._runner.dereferenceRemote&&!this._runner.atMaxUriDepth()&&this.resolvers.push(this._runner.lookupAndResolveUri(e))}},this.jsonPointer=t,this._runner=e}}},20028:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.defaultGetRef=t.Cache=void 0;n(22970).__exportStar(n(88737),t);var r=n(77501);Object.defineProperty(t,"Cache",{enumerable:!0,get:function(){return r.Cache}});var o=n(62163);Object.defineProperty(t,"defaultGetRef",{enumerable:!0,get:function(){return o.defaultGetRef}})},88737:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Resolver=void 0;const r=n(5091),o=n(77501),i=n(62163);t.Resolver=class{constructor(e={}){this.ctx={},this.uriCache=e.uriCache||new o.Cache,this.resolvers=e.resolvers||{},this.getRef=e.getRef,this.transformRef=e.transformRef,this.dereferenceInline=void 0===e.dereferenceInline||e.dereferenceInline,this.dereferenceRemote=void 0===e.dereferenceRemote||e.dereferenceRemote,this.parseResolveResult=e.parseResolveResult,this.transformDereferenceResult=e.transformDereferenceResult,this.ctx=e.ctx}resolve(e,t={}){const n=new r.DepGraph({circular:!0});return new i.ResolveRunner(e,n,Object.assign(Object.assign({uriCache:this.uriCache,resolvers:this.resolvers,getRef:this.getRef,transformRef:this.transformRef,dereferenceInline:this.dereferenceInline,dereferenceRemote:this.dereferenceRemote,parseResolveResult:this.parseResolveResult,transformDereferenceResult:this.transformDereferenceResult},t),{ctx:Object.assign({},this.ctx||{},t.ctx||{})})).resolve(t)}}},62163:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ResolveRunner=t.defaultGetRef=void 0;const r=n(22970),o=n(78458),i=n(84441),s=n(5091),a=n(30412),u=n(72579),c=n(16765),l=n(30957),f=n(47156),d=n(77501),h=n(89728),p=n(18045),m=n(6238);let g=0;t.defaultGetRef=(e,t)=>{if(t&&"object"==typeof t&&"string"==typeof t.$ref)return t.$ref};class y{constructor(e,n=new s.DepGraph({circular:!0}),a={}){this.ctx={},this.computeRef=e=>{const t=this.getRef(e.key,e.val);if(void 0===t)return;let n=new f.ExtendedURI(t);if("#"!==t[0]){if(this.isFile(n)){let e=n.toString();n.is("absolute")||(e=this.baseUri.toString()?(0,i.join)((0,i.dirname)(this.baseUri.toString()),(0,i.stripRoot)(e)):""),e&&(n=new l((0,i.toFSPath)(e)).fragment(n.fragment()))}else(n.scheme().includes("http")||""===n.scheme()&&this.baseUri.scheme().includes("http"))&&""!==this.baseUri.authority()&&""===n.authority()&&(n=n.absoluteTo(this.baseUri))}return String(n).length>0&&this.isFile(this.baseUri)&&this.isFile(n)&&this.baseUri.path()===n.path()&&(n=new f.ExtendedURI(`#${n.fragment()}`)),this.transformRef?this.transformRef(Object.assign(Object.assign({},e),{ref:n,uri:this.baseUri}),this.ctx):n},this.atMaxUriDepth=()=>this.uriStack.length>=100,this.lookupUri=e=>r.__awaiter(this,void 0,void 0,(function*(){const{ref:t}=e;let n=t.scheme();!this.resolvers[n]&&this.isFile(t)&&(n="file");const r=this.resolvers[n];if(!r)throw new Error(`No resolver defined for scheme '${t.scheme()||"file"}' in ref ${t.toString()}`);let o=yield r.resolve(t,this.ctx);if(this.parseResolveResult)try{o=(yield this.parseResolveResult({uriResult:o,result:o,targetAuthority:t,parentAuthority:this.baseUri,parentPath:e.parentPath,fragment:e.fragment})).result}catch(i){throw new Error(`Could not parse remote reference response for '${t.toString()}' - ${String(i)}`)}return new y(o,this.graph,{depth:this.depth+1,baseUri:t.toString(),root:t,uriStack:this.uriStack,uriCache:this.uriCache,resolvers:this.resolvers,transformRef:this.transformRef,parseResolveResult:this.parseResolveResult,transformDereferenceResult:this.transformDereferenceResult,dereferenceRemote:this.dereferenceRemote,dereferenceInline:this.dereferenceInline,ctx:this.ctx})})),this.lookupAndResolveUri=e=>r.__awaiter(this,void 0,void 0,(function*(){const{val:t,ref:n,resolvingPointer:r,parentPointer:i,pointerStack:s}=e,a=e.parentPath?e.parentPath.slice():[],u=this.computeUriCacheKey(n),l={uri:n,pointerStack:s,targetPath:r===i?[]:a};if(this.uriStack.includes(u))return l.resolved={result:t,graph:this.graph,refMap:{},errors:[],runner:this},l;{let e;const r=this.baseUri.toString(),i=r&&0!==this.depth?r:null;try{if(this.atMaxUriDepth())throw new Error(`Max uri depth (${this.uriStack.length}) reached. Halting, this is probably a circular loop.`);e=yield this.lookupUri({ref:n.clone().fragment(""),fragment:n.fragment(),cacheKey:u,parentPath:a}),i&&(e.uriStack=e.uriStack.concat(i))}catch(f){l.error={code:"RESOLVE_URI",message:String(f),uri:n,uriStack:i?this.uriStack.concat(i):this.uriStack,pointerStack:s,path:a}}if(e&&(l.resolved=yield e.resolve({jsonPointer:p.uriToJSONPointer(n),parentPath:a}),l.resolved.errors.length))for(const s of l.resolved.errors)if("POINTER_MISSING"===s.code&&s.path.join("/")===n.fragment().slice(1)){const e=n.fragment?(0,o.trimStart)(s.path,(0,o.trimStart)(n.fragment(),"/").split("/")):s.path;e&&e.length?c(l.resolved.result,e,t):l.resolved.result&&(l.resolved.result=t)}}return l})),this.id=g+=1,this.depth=a.depth||0,this._source=e,this.resolvers=a.resolvers||{};const u=a.baseUri||"";let h=new l(u||"");this.isFile(h)&&(h=new l((0,i.toFSPath)(u))),this.baseUri=h,this.uriStack=a.uriStack||[],this.uriCache=a.uriCache||new d.Cache,this.root=a.root&&a.root.toString()||this.baseUri.toString()||"root",this.graph=n,this.graph.hasNode(this.root)||this.graph.addNode(this.root,{refMap:{},data:this._source}),this.baseUri&&0===this.depth&&this.uriCache.set(this.computeUriCacheKey(this.baseUri),this),this.getRef=a.getRef||t.defaultGetRef,this.transformRef=a.transformRef,this.depth?this.dereferenceInline=!0:this.dereferenceInline=void 0===a.dereferenceInline||a.dereferenceInline,this.dereferenceRemote=void 0===a.dereferenceRemote||a.dereferenceRemote,this.parseResolveResult=a.parseResolveResult,this.transformDereferenceResult=a.transformDereferenceResult,this.ctx=a.ctx,this.lookupUri=m(this.lookupUri,{serializer:this._cacheKeySerializer,cache:{create:()=>this.uriCache}})}get source(){return this._source}resolve(e){return r.__awaiter(this,void 0,void 0,(function*(){const t={result:this.source,graph:this.graph,refMap:{},errors:[],runner:this};let n;const r=e&&e.jsonPointer&&e.jsonPointer.trim();if(r&&"#"!==r&&"#/"!==r){try{n=(0,o.pointerToPath)(r)}catch(f){return t.errors.push({code:"PARSE_POINTER",message:`'${r}' JSON pointer is invalid`,uri:this.baseUri,uriStack:this.uriStack,pointerStack:[],path:[]}),t}t.result=u(t.result,n)}if(void 0===t.result)return t.errors.push({code:"POINTER_MISSING",message:`'${r}' does not exist @ '${this.baseUri.toString()}'`,uri:this.baseUri,uriStack:this.uriStack,pointerStack:[],path:n||[]}),t;const i=new h.ResolveCrawler(this,r,t);i.computeGraph(t.result,n,r||"");let s=[];if(i.resolvers.length&&(s=yield Promise.all(i.resolvers)),s.length)for(const e of s){let r=e.targetPath;r.length||(r=n||[]),t.refMap[String(this.baseUri.clone().fragment((0,o.pathToPointer)(r)))]=String(e.uri),this._setGraphNodeEdge(String(this.root),(0,o.pathToPointer)(r),String(e.uri)),e.error&&t.errors.push(e.error),e.resolved&&(e.resolved.errors&&(t.errors=t.errors.concat(e.resolved.errors)),void 0!==e.resolved.result&&(this._source=(0,a.default)(this._source,(t=>{if(e.resolved){if(!r.length)return e.resolved.result;c(t,r,e.resolved.result),this._setGraphNodeData(String(e.uri),e.resolved.result)}}))))}if("object"==typeof this._source?(this.dereferenceInline&&(this._source=(0,a.default)(this._source,(e=>{let n=[];try{n=i.pointerGraph.overallOrder();for(const r of n){const n=i.pointerGraph.dependantsOf(r);if(!n.length)continue;const s=(0,o.pointerToPath)(r),l=0===s.length?(0,a.original)(e):u(e,s);for(const a of n){let n;const u=(0,o.pointerToPath)(a),f=i.pointerStemGraph.dependenciesOf(r);for(const e of f)if((0,o.startsWith)(u,(0,o.pointerToPath)(e))){n=!0;break}n||(t.refMap[(0,o.pathToPointer)(u)]=(0,o.pathToPointer)(s),this._setGraphNodeEdge(this.root,(0,o.pathToPointer)(u),(0,o.pathToPointer)(s)),void 0!==l?(c(e,u,l),this._setGraphNodeData((0,o.pathToPointer)(s),l)):t.errors.push({code:"POINTER_MISSING",message:`'${r}' does not exist`,path:u,uri:this.baseUri,uriStack:this.uriStack,pointerStack:[]}))}}}catch(r){}}))),t.result=n?u(this._source,n):this._source):t.result=this._source,this.transformDereferenceResult){const o=new l(r||"");try{const{result:n,error:r}=yield this.transformDereferenceResult({source:this.source,result:t.result,targetAuthority:o,parentAuthority:this.baseUri,parentPath:e&&e.parentPath||[],fragment:o.fragment()});if(t.result=n,r)throw new Error(`Could not transform dereferenced result for '${o.toString()}' - ${String(r)}`)}catch(d){t.errors.push({code:"TRANSFORM_DEREFERENCED",message:`Error: Could not transform dereferenced result for '${this.baseUri.toString()}${""!==o.fragment()?`#${o.fragment()}`:""}' - ${String(d)}`,uri:o,uriStack:this.uriStack,pointerStack:[],path:n})}}return this._setGraphNodeData(this.root,this._source),t}))}_cacheKeySerializer(e){return e&&"object"==typeof e&&e.cacheKey?e.cacheKey:JSON.stringify(arguments)}computeUriCacheKey(e){return e.clone().fragment("").toString()}isFile(e){const t=e.scheme();if("file"===t)return!0;if(t){if(!this.resolvers[t])return!0}else{if("/"===e.toString().charAt(0))return!0;if(this.baseUri){const e=this.baseUri.scheme();return Boolean(!e||"file"===e||!this.resolvers[e])}}return!1}_setGraphNodeData(e,t){if(!this.graph.hasNode(e))return;const n=this.graph.getNodeData(e)||{};n.data=t,this.graph.setNodeData(e,n)}_setGraphNodeEdge(e,t,n){if(!this.graph.hasNode(e))return;const r=this.graph.getNodeData(e)||{};r.refMap=r.refMap||{},r.refMap[t]=n,this.graph.setNodeData(e,r)}}t.ResolveRunner=y},47156:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ExtendedURI=void 0;const r=n(30957);t.ExtendedURI=class extends r{constructor(e){super(e),this._value=e.trim()}get length(){return this._value.length}}},18045:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.uriIsJSONPointer=t.uriToJSONPointer=t.addToJSONPointer=void 0;const n=(e,t,n)=>{const r=e.toString();let o="",i=r,s=0,a=i.indexOf(t);for(;a>-1;)o+=r.substring(s,s+a)+n,i=i.substring(a+t.length,i.length),s+=a+t.length,a=i.indexOf(t);return i.length>0&&(o+=r.substring(r.length-i.length,r.length)),o};t.addToJSONPointer=(e,t)=>{return`${e}/${r=t,n(n(r,"~","~0"),"/","~1")}`;var r};t.uriToJSONPointer=e=>"length"in e&&0===e.length?"":""!==e.fragment()?`#${e.fragment()}`:""===e.href()?"#":"";t.uriIsJSONPointer=e=>(!("length"in e)||e.length>0)&&""===e.path()},78458:(e,t,n)=>{"use strict";n.r(t),n.d(t,{BUNDLE_ROOT:()=>re,ERRORS_ROOT:()=>oe,KEYS:()=>Fe,bundleTarget:()=>ie,decodePointer:()=>Q,decodePointerFragment:()=>ae,decodePointerUriFragment:()=>Q,decycle:()=>ue,encodePointer:()=>ce,encodePointerFragment:()=>M,encodePointerUriFragment:()=>L,encodeUriPointer:()=>B,extractPointerFromRef:()=>le,extractSourceFromRef:()=>Z,getFirstPrimitiveProperty:()=>fe,getJsonPathForPosition:()=>de,getLastPathSegment:()=>he,getLocationForJsonPath:()=>pe,hasRef:()=>I,isExternalRef:()=>G,isLocalRef:()=>N,isPlainObject:()=>A,parseTree:()=>ge,parseWithPointers:()=>me,pathToPointer:()=>z,pointerToPath:()=>X,remapRefs:()=>W,renameObjectKey:()=>_e,reparentBundleTarget:()=>Ee,resolveExternalRef:()=>xe,resolveExternalRefWithLocation:()=>De,resolveInlineRef:()=>te,resolveInlineRefWithLocation:()=>ne,safeParse:()=>Se,safeStringify:()=>Oe,startsWith:()=>$e,stringify:()=>Ae,toPropertyPath:()=>Pe,trapAccess:()=>Ne,traverse:()=>J,trimStart:()=>Te});var r,o=n(76635),i=n(84441);function s(e,t){void 0===t&&(t=!1);var n=e.length,r=0,o="",i=0,s=16,l=0,f=0,d=0,h=0,p=0;function m(t,n){for(var o=0,i=0;o<t||!n;){var s=e.charCodeAt(r);if(s>=48&&s<=57)i=16*i+s-48;else if(s>=65&&s<=70)i=16*i+s-65+10;else{if(!(s>=97&&s<=102))break;i=16*i+s-97+10}r++,o++}return o<t&&(i=-1),i}function g(){if(o="",p=0,i=r,f=l,h=d,r>=n)return i=n,s=17;var t=e.charCodeAt(r);if(a(t)){do{r++,o+=String.fromCharCode(t),t=e.charCodeAt(r)}while(a(t));return s=15}if(u(t))return r++,o+=String.fromCharCode(t),13===t&&10===e.charCodeAt(r)&&(r++,o+="\n"),l++,d=r,s=14;switch(t){case 123:return r++,s=1;case 125:return r++,s=2;case 91:return r++,s=3;case 93:return r++,s=4;case 58:return r++,s=6;case 44:return r++,s=5;case 34:return r++,o=function(){for(var t="",o=r;;){if(r>=n){t+=e.substring(o,r),p=2;break}var i=e.charCodeAt(r);if(34===i){t+=e.substring(o,r),r++;break}if(92!==i){if(i>=0&&i<=31){if(u(i)){t+=e.substring(o,r),p=2;break}p=6}r++}else{if(t+=e.substring(o,r),++r>=n){p=2;break}switch(e.charCodeAt(r++)){case 34:t+='"';break;case 92:t+="\\";break;case 47:t+="/";break;case 98:t+="\b";break;case 102:t+="\f";break;case 110:t+="\n";break;case 114:t+="\r";break;case 116:t+="\t";break;case 117:var s=m(4,!0);s>=0?t+=String.fromCharCode(s):p=4;break;default:p=5}o=r}}return t}(),s=10;case 47:var g=r-1;if(47===e.charCodeAt(r+1)){for(r+=2;r<n&&!u(e.charCodeAt(r));)r++;return o=e.substring(g,r),s=12}if(42===e.charCodeAt(r+1)){r+=2;for(var v=n-1,b=!1;r<v;){var _=e.charCodeAt(r);if(42===_&&47===e.charCodeAt(r+1)){r+=2,b=!0;break}r++,u(_)&&(13===_&&10===e.charCodeAt(r)&&r++,l++,d=r)}return b||(r++,p=1),o=e.substring(g,r),s=13}return o+=String.fromCharCode(t),r++,s=16;case 45:if(o+=String.fromCharCode(t),++r===n||!c(e.charCodeAt(r)))return s=16;case 48:case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:return o+=function(){var t=r;if(48===e.charCodeAt(r))r++;else for(r++;r<e.length&&c(e.charCodeAt(r));)r++;if(r<e.length&&46===e.charCodeAt(r)){if(!(++r<e.length&&c(e.charCodeAt(r))))return p=3,e.substring(t,r);for(r++;r<e.length&&c(e.charCodeAt(r));)r++}var n=r;if(r<e.length&&(69===e.charCodeAt(r)||101===e.charCodeAt(r)))if((++r<e.length&&43===e.charCodeAt(r)||45===e.charCodeAt(r))&&r++,r<e.length&&c(e.charCodeAt(r))){for(r++;r<e.length&&c(e.charCodeAt(r));)r++;n=r}else p=3;return e.substring(t,n)}(),s=11;default:for(;r<n&&y(t);)r++,t=e.charCodeAt(r);if(i!==r){switch(o=e.substring(i,r)){case"true":return s=8;case"false":return s=9;case"null":return s=7}return s=16}return o+=String.fromCharCode(t),r++,s=16}}function y(e){if(a(e)||u(e))return!1;switch(e){case 125:case 93:case 123:case 91:case 34:case 58:case 44:case 47:return!1}return!0}return{setPosition:function(e){r=e,o="",i=0,s=16,p=0},getPosition:function(){return r},scan:t?function(){var e;do{e=g()}while(e>=12&&e<=15);return e}:g,getToken:function(){return s},getTokenValue:function(){return o},getTokenOffset:function(){return i},getTokenLength:function(){return r-i},getTokenStartLine:function(){return f},getTokenStartCharacter:function(){return i-h},getTokenError:function(){return p}}}function a(e){return 32===e||9===e||11===e||12===e||160===e||5760===e||e>=8192&&e<=8203||8239===e||8287===e||12288===e||65279===e}function u(e){return 10===e||13===e||8232===e||8233===e}function c(e){return e>=48&&e<=57}function l(e,t,n){void 0===n&&(n=r.DEFAULT);var o=s(e,!1);function i(e){return e?function(){return e(o.getTokenOffset(),o.getTokenLength(),o.getTokenStartLine(),o.getTokenStartCharacter())}:function(){return!0}}function a(e){return e?function(t){return e(t,o.getTokenOffset(),o.getTokenLength(),o.getTokenStartLine(),o.getTokenStartCharacter())}:function(){return!0}}var u=i(t.onObjectBegin),c=a(t.onObjectProperty),l=i(t.onObjectEnd),f=i(t.onArrayBegin),d=i(t.onArrayEnd),h=a(t.onLiteralValue),p=a(t.onSeparator),m=i(t.onComment),g=a(t.onError),y=n&&n.disallowComments,v=n&&n.allowTrailingComma;function b(){for(;;){var e=o.scan();switch(o.getTokenError()){case 4:_(14);break;case 5:_(15);break;case 3:_(13);break;case 1:y||_(11);break;case 2:_(12);break;case 6:_(16)}switch(e){case 12:case 13:y?_(10):m();break;case 16:_(1);break;case 15:case 14:break;default:return e}}}function _(e,t,n){if(void 0===t&&(t=[]),void 0===n&&(n=[]),g(e),t.length+n.length>0)for(var r=o.getToken();17!==r;){if(-1!==t.indexOf(r)){b();break}if(-1!==n.indexOf(r))break;r=b()}}function w(e){var t=o.getTokenValue();return e?h(t):c(t),b(),!0}function E(){switch(o.getToken()){case 3:return function(){f(),b();for(var e=!1;4!==o.getToken()&&17!==o.getToken();){if(5===o.getToken()){if(e||_(4,[],[]),p(","),b(),4===o.getToken()&&v)break}else e&&_(6,[],[]);E()||_(4,[],[4,5]),e=!0}return d(),4!==o.getToken()?_(8,[4],[]):b(),!0}();case 1:return function(){u(),b();for(var e=!1;2!==o.getToken()&&17!==o.getToken();){if(5===o.getToken()){if(e||_(4,[],[]),p(","),b(),2===o.getToken()&&v)break}else e&&_(6,[],[]);(10!==o.getToken()?(_(3,[],[2,5]),0):(w(!1),6===o.getToken()?(p(":"),b(),E()||_(4,[],[2,5])):_(5,[],[2,5]),1))||_(4,[],[2,5]),e=!0}return l(),2!==o.getToken()?_(7,[2],[]):b(),!0}();case 10:return w(!0);default:return function(){switch(o.getToken()){case 11:var e=0;try{"number"!=typeof(e=JSON.parse(o.getTokenValue()))&&(_(2),e=0)}catch(t){_(2)}h(e);break;case 7:h(null);break;case 8:h(!0);break;case 9:h(!1);break;default:return!1}return b(),!0}()}}return b(),17===o.getToken()?!!n.allowEmptyContent||(_(4,[],[]),!1):E()?(17!==o.getToken()&&_(9,[],[]),!0):(_(4,[],[]),!1)}!function(e){e.DEFAULT={allowTrailingComma:!1}}(r||(r={}));var f=s,d=function e(t,n,r){if(void 0===r&&(r=!1),function(e,t,n){return void 0===n&&(n=!1),t>=e.offset&&t<e.offset+e.length||n&&t===e.offset+e.length}(t,n,r)){var o=t.children;if(Array.isArray(o))for(var i=0;i<o.length&&o[i].offset<=n;i++){var s=e(o[i],n,r);if(s)return s}return t}},h=function e(t){if(!t.parent||!t.parent.children)return[];var n=e(t.parent);if("property"===t.parent.type){var r=t.parent.children[0].value;n.push(r)}else if("array"===t.parent.type){var o=t.parent.children.indexOf(t);-1!==o&&n.push(o)}return n},p=l;function m(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"<unknown ParseErrorCode>"}const g=`__object_order_${Math.floor(Date.now()/36e5)}__`,y=Symbol.for(g),v=(String(y),{defineProperty:(e,t,n)=>(!Object.prototype.hasOwnProperty.call(e,t)&&y in e?e[y].push(t):"value"in n&&t===y&&-1===n.value.lastIndexOf(y)&&n.value.push(y),Reflect.defineProperty(e,t,n)),deleteProperty(e,t){const n=Object.prototype.hasOwnProperty.call(e,t),r=Reflect.deleteProperty(e,t);if(r&&n&&y in e){const n=e[y].indexOf(t);-1!==n&&e[y].splice(n,1)}return r},ownKeys:e=>y in e?e[y]:Reflect.ownKeys(e),set(e,t,n){const r=Object.prototype.hasOwnProperty.call(e,t),o=Reflect.set(e,t,n);return o&&!r&&y in e&&e[y].push(t),o}});function b(e,t=Reflect.ownKeys(e)){E(e);const n=new Proxy(e,v);return function(e,t){y in e?(e[y].length=0,e[y].push(...t)):Reflect.defineProperty(e,y,{configurable:!0,value:t})}(n,t),n}function _(e){return null!==e&&"object"==typeof e}function w(e){if(!_(e))return!1;if(void 0!==e[Symbol.toStringTag]){const t=Object.getPrototypeOf(e);return null===t||t===Object.prototype}return"Object"===function(e){const t=e[Symbol.toStringTag];if("string"==typeof t)return t;const n=Reflect.apply(Object.prototype.toString,e,[]);return n.slice(8,n.length-1)}(e)}function E(e,t){if(function(){if("undefined"==typeof process||!_(process)||!_(process.env))return!1;return!1}()&&!w(e))throw new TypeError(t)}var k,x,D,S,C;!function(e){e.None="none",e.Declared="declared",e.InheritedFromService="inheritedFromService"}(k||(k={})),function(e){e.Unspecified="unspecified",e.Simple="simple",e.Matrix="matrix",e.Label="label",e.Form="form",e.CommaDelimited="commaDelimited",e.SpaceDelimited="spaceDelimited",e.PipeDelimited="pipeDelimited",e.DeepObject="deepObject",e.TabDelimited="tabDelimited"}(x||(x={})),function(e){e[e.Error=0]="Error",e[e.Warning=1]="Warning",e[e.Information=2]="Information",e[e.Hint=3]="Hint"}(D||(D={})),function(e){e.Article="article",e.HttpService="http_service",e.HttpServer="http_server",e.HttpOperation="http_operation",e.HttpCallback="http_callback",e.Model="model",e.Generic="generic",e.Unknown="unknown",e.TableOfContents="table_of_contents",e.SpectralRuleset="spectral_ruleset",e.Styleguide="styleguide",e.Image="image",e.StoplightResolutions="stoplight_resolutions",e.StoplightOverride="stoplight_override"}(S||(S={})),function(e){e.Json="json",e.Markdown="markdown",e.Yaml="yaml",e.Javascript="javascript",e.Apng="apng",e.Avif="avif",e.Bmp="bmp",e.Gif="gif",e.Jpeg="jpeg",e.Png="png",e.Svg="svg",e.Webp="webp"}(C||(C={}));var O=n(27822),$=n.n(O);function A(e){if("object"!=typeof e||null===e)return!1;const t=Object.getPrototypeOf(e);return null===t||t===Object.prototype||"function"==typeof e.constructor&&Function.toString.call(Object)===Function.toString.call(e.constructor)}function P(e,t,n){if(!A(e)&&!Array.isArray(e)||!(t in e))throw new ReferenceError(`Could not resolve '${n}'`)}function j(e){if("string"!=typeof e.$ref)throw new TypeError("$ref should be a string")}const F=e=>A(e)&&"$ref"in e,I=e=>F(e)&&"string"==typeof e.$ref,N=e=>e.length>0&&("#"===e||/^#\S*$/.test(e)),T=(e,t,n)=>{const r=e.toString();let o="",i=r,s=0,a=i.indexOf(t);for(;a>-1;)o+=r.substring(s,s+a)+n,i=i.substring(a+t.length,i.length),s+=a+t.length,a=i.indexOf(t);return i.length>0&&(o+=r.substring(r.length-i.length,r.length)),o},M=e=>"number"==typeof e?e:T(T(e,"~","~0"),"/","~1"),R=/[^a-zA\u2013Z0\u20139_.!~*'()\/\-\u{D800}-\u{DFFF}]/gu;function B(e){return e.replace(R,encodeURIComponent)}const L=e=>{const t=M(e);return"number"==typeof t?t:B(t)},z=e=>U(e),U=e=>{if(e&&"object"!=typeof e)throw new TypeError("Invalid type: path must be an array of segments.");return 0===e.length?"#":`#/${e.map(L).join("/")}`};function q(e){try{return decodeURIComponent(e)}catch(t){return e}}const V=/%[0-9a-f]+/gi,Q=e=>{let t;try{t=decodeURIComponent(e)}catch(n){t=e.replace(V,q)}return T(T(t,"~1","/"),"~0","~")},X=e=>H(e),H=e=>{if("string"!=typeof e)throw new TypeError("Invalid type: JSON Pointers are represented as strings.");if(0===e.length||"#"!==e[0])throw new URIError("Invalid JSON Pointer syntax; URI fragment identifiers must begin with a hash.");if(1===e.length)return[];if("/"!==e[1])throw new URIError("Invalid JSON Pointer syntax.");return(e=>{const t=e.length,n=[];let r=-1;for(;++r<t;)n.push(Q(e[r]));return n})(e.substring(2).split("/"))},K=(e,t,n)=>{const r={value:e,path:n};t.onEnter&&t.onEnter(r);for(const o of Object.keys(e)){const r=e[o];t.onProperty&&t.onProperty({parent:e,parentPath:n,property:o,propertyValue:r}),"object"==typeof r&&null!==r&&K(r,t,n.concat(o))}t.onLeave&&t.onLeave(r)},J=(e,t)=>{"object"==typeof e&&null!==e&&K(e,"function"==typeof t?{onProperty:t}:t,[])};function W(e,t,n){J(e,{onProperty({property:e,propertyValue:r,parent:o}){"$ref"===e&&"string"==typeof r&&r.startsWith(t)&&(o.$ref=`${n}${r.slice(t.length)}`)}})}const G=e=>e.length>0&&"#"!==e[0],Z=e=>{if("string"!=typeof e||0===e.length||!G(e))return null;const t=e.indexOf("#");return-1===t?e:e.slice(0,t)};function Y(e,t){return A(t)&&A(e)&&("summary"in e||"description"in e)?Object.assign(Object.assign(Object.assign({},t),"description"in e?{description:e.description}:null),"summary"in e?{summary:e.summary}:null):t}function*ee(e,t,n){F(e.value)&&(j(e.value),yield[-1,e.value]);for(const[r,o]of t.entries())P(e.value,o,n),e.value=e.value[o],F(e.value)&&(j(e.value),yield[r,e.value])}function te(e,t){return ne(e,t).value}function ne(e,t){return function e(t,n,r,o){if(null!==Z(n))throw new ReferenceError("Cannot resolve external references");const i=X(n);let s=[...i];"#"===n&&F(t)&&(j(t),i.unshift(...X(t.$ref)));const a={value:t};for(const[u,c]of ee(a,i,n)){if(r.includes(c))return{source:null,location:null!=o?o:s,value:r[r.length-1]};r.push(c);const n=e(t,c.$ref,r,s);a.value=n.value,(s=n.location).push(...i.slice(u+1))}return{source:null,location:s,value:r.length>0?Y(r[r.length-1],a.value):a.value}}(e,t,[])}const re="#/__bundled__",oe="#/__errors__",ie=({document:e,path:t,bundleRoot:n="#/__bundled__",errorsRoot:r="#/__errors__",cloneDocument:i=!0,keyProvider:s},a)=>{if(t===n||t===r)throw new Error("Roots do not make any sense");const u=i?(0,o.cloneDeep)(e):e;return se(u,X(n),X(r),t,s)(t,{[t]:!0},a)},se=(e,t,n,r,i)=>{const s=new Set,a=(u,c,l,f={},d={},h={})=>{const p=X(u),m=(0,o.get)(e,p);J(l||m,{onEnter:({value:n})=>{if(I(n)&&N(n.$ref)){const l=n.$ref;if(h[l])return;if(l===u&&(f[l]="#"),f[l])return void(n.$ref=f[l]);let p,m,g,y,v;try{let n;p=X(l),i&&(n=i({document:e,path:p})),n||(n=(({document:e,path:t})=>0===t.length?"root":Array.isArray((0,o.get)(e,t.slice(0,-1)))?`${t[t.length-2]}_${t[t.length-1]}`:String(t[t.length-1]))({document:e,path:p})),g=n;let r=1;for(;s.has(g);)if(g=`${n}_${++r}`,r>20)throw new Error(`Keys ${n}_2 through ${n}_20 already taken.`);s.add(g),m=[...t,g],y=z(m)}catch(e){h[l]=e instanceof Error?e.message:String(e)}if(!p||!m||!y)return;if("object"==typeof e&&null!==e&&!(v=(0,o.get)(e,p)))try{v=te(Object(e),l)}catch(e){}void 0!==v&&(f[l]=y,n.$ref=y,(0,o.has)(d,m)||(Array.isArray(v)?(0,o.set)(d,m,new Array(v.length).fill(null)):"object"==typeof v&&(0,o.setWith)(d,m,{},Object),(0,o.set)(d,m,v),"#"===l?function(e,t,n,r){const i=n.map((e=>`[${JSON.stringify(e)}]`)).join(""),s=JSON.parse(JSON.stringify((0,o.omit)(Object(e),i))),a={};(0,o.set)(t,r,s),(0,o.set)(s,n,a),W(s,"#",z(r)),a.$ref="#"}(e,d,X(r),m):c[l]||(c[l]=!0,a(u,c,v,f,d,h),c[l]=!1)))}}});const g=(0,o.get)(d,t);return g&&Object.keys(g).length&&(0,o.set)(m,t,g),(Object.keys(h).length||(0,o.has)(e,n))&&(0,o.set)(m,n,(0,o.has)(e,n)?(0,o.get)(e,n):h),m};return a},ae=e=>T(T(e,"~1","/"),"~0","~"),ue=(e,t)=>{const n=new WeakMap;return function e(r,o){let i;if(t&&(r=t(r)),A(r)||Array.isArray(r)){const t=n.get(r);return t?{$ref:t}:(n.set(r,z(o)),Array.isArray(r)?i=r.map(((t,n)=>e(t,[...o,String(n)]))):(i={},Object.keys(r).forEach((t=>{i[t]=e(r[t],[...o,t])}))),n.delete(r),i)}return r}(e,[])},ce=e=>T(T(e,"~","~0"),"//","/~1"),le=e=>{if("string"!=typeof e||0===e.length)return null;const t=e.indexOf("#");return-1===t?null:e.slice(t)},fe=e=>{const t=f(e,!0);if(t.scan(),1!==t.getToken())return;if(t.scan(),2===t.getToken())return;if(10!==t.getToken())throw new SyntaxError("Unexpected character");const n=t.getTokenValue();if(t.scan(),6!==t.getToken())throw new SyntaxError("Colon expected");switch(t.scan(),t.getToken()){case 10:return[n,t.getTokenValue()];case 11:return[n,Number(t.getTokenValue())];case 8:return[n,!0];case 9:return[n,!1];case 7:return[n,null];case 16:throw new SyntaxError("Unexpected character");case 17:throw new SyntaxError("Unexpected end of file");default:return}},de=({lineMap:e,ast:t},n)=>{const r=e[n.line],o=e[n.line+1];if(void 0===r)return;const i=d(t,void 0===o?r+n.character:Math.min(o,r+n.character),!0);if(void 0===i)return;const s=h(i);return 0!==s.length?s:void 0};function he(e){return ae(e.split("/").pop()||"")}const pe=({ast:e},t,n=!1)=>{const r=function(e,t,n){e:for(const r of t){const t=Number.isInteger(Number(r))?Number(r):r;if("string"==typeof t||"number"==typeof t&&"array"!==e.type){if("object"!==e.type||!Array.isArray(e.children))return n?e:void 0;for(const n of e.children)if(Array.isArray(n.children)&&n.children[0].value===String(t)&&2===n.children.length){e=n.children[1];continue e}return n?e:void 0}if("array"!==e.type||t<0||!Array.isArray(e.children)||t>=e.children.length)return n?e:void 0;e=e.children[t]}return e}(e,t,n);if(void 0!==r&&void 0!==r.range)return{range:r.range}},me=(e,t={disallowComments:!0})=>{const n=[],{ast:r,data:o,lineMap:i}=ge(e,n,t);return{data:o,diagnostics:n,ast:r,lineMap:i}};function ge(e,t=[],n){const r=ve(e);let o={type:"array",offset:-1,length:-1,children:[],parent:void 0},i=null,s=[];const a=new WeakMap,u=[];function c(e){"property"===o.type&&(o.length=e-o.offset,o=o.parent)}function l(e,t,n){return{start:{line:e,character:t},end:{line:e,character:t+n}}}function f(e){return o.children.push(e),e}function d(e){Array.isArray(s)?s.push(e):null!==i&&(s[i]=e)}function h(e){d(e),u.push(s),s=e,i=null}function g(){s=u.pop()}p(e,{onObjectBegin:(e,t,r,i)=>{o=f({type:"object",offset:e,length:-1,parent:o,children:[],range:l(r,i,t)}),!1===n.ignoreDuplicateKeys&&a.set(o,[]),h(function(e){return e?b({}):{}}(!0===n.preserveKeyOrder))},onObjectProperty:(e,r,u,c,d)=>{if((o=f({type:"property",offset:r,length:-1,parent:o,children:[]})).children.push({type:"string",value:e,offset:r,length:u,parent:o}),!1===n.ignoreDuplicateKeys){const n=a.get(o.parent);n&&(0!==n.length&&n.includes(e)?t.push({range:l(c,d,u),message:"DuplicateKey",severity:D.Error,path:be(o),code:20}):n.push(e))}!0===n.preserveKeyOrder&&function(e,t){if(!(t in e))return;const n=e[y],r=n.indexOf(t);-1!==r&&(n.splice(r,1),n.push(t))}(s,e),i=e},onObjectEnd:(e,t,r,i)=>{!1===n.ignoreDuplicateKeys&&a.delete(o),o.length=e+t-o.offset,o.range&&(o.range.end.line=r,o.range.end.character=i+t),o=o.parent,c(e+t),g()},onArrayBegin:(e,t,n,r)=>{o=f({type:"array",offset:e,length:-1,parent:o,children:[],range:l(n,r,t)}),h([])},onArrayEnd:(e,t,n,r)=>{o.length=e+t-o.offset,o.range&&(o.range.end.line=n,o.range.end.character=r+t),o=o.parent,c(e+t),g()},onLiteralValue:(e,t,n,r,i)=>{f({type:ye(e),offset:t,length:n,parent:o,value:e,range:l(r,i,n)}),c(t+n),d(e)},onSeparator:(e,t)=>{"property"===o.type&&(":"===e?o.colonOffset=t:","===e&&c(t))},onError:(e,n,r,o,i)=>{t.push({range:l(o,i,r),message:m(e),severity:D.Error,code:e})}},n);const v=o.children[0];return v&&delete v.parent,{ast:v,data:s[0],lineMap:r}}function ye(e){switch(typeof e){case"boolean":return"boolean";case"number":return"number";case"string":return"string";default:return"null"}}const ve=e=>{const t=[0];let n=0;for(;n<e.length;n++)"\n"===e[n]&&t.push(n+1);return t.push(n+1),t};function be(e,t=[]){return"property"===e.type&&t.unshift(e.children[0].value),void 0!==e.parent?("array"===e.parent.type&&void 0!==e.parent.parent&&t.unshift(e.parent.children.indexOf(e)),be(e.parent,t)):t}const _e=(e,t,n)=>{if(!e||!Object.hasOwnProperty.call(e,t)||t===n)return e;const r={};for(const[o,i]of Object.entries(e))o===t?r[n]=i:o in r||(r[o]=i);return r};function we(e){return A(e)||Array.isArray(e)}function Ee(e,t,n){if(n.length<=1||t.length<=1)throw Error("Source/target path must not be empty and point at root");if(0===t.indexOf(n))throw Error("Target path cannot be contained within source");const r=X(t);let o=e;for(const a of r){if(!we(o))return;o=o[a]}if(!we(o))return;const i=X(n);let s=e;for(const[a,u]of i.entries()){if(!we(s)||u in s)return;const e=a===i.length-1?o:{};s[u]=e,s=e}delete e[r[0]],function e(t,n,r){for(const o of Object.keys(t)){const i=t[o];if("$ref"!==o)we(i)&&e(i,n,r);else{if("string"!=typeof i||!N(i))continue;0===i.indexOf(n)&&(t[o]=i.replace(n,r))}}}(e,t,n)}async function ke(e,t,n,r,o){let s=function(e,t){const n=Z(t);return null===n?e:(0,i.isAbsolute)(n)?n:(0,i.join)((0,i.dirname)(e),n)}(t,n);const a=le(n)||"#",u=await e[s],c=X(a);let l=[...c];const f={value:u};for(const[i,d]of ee(f,c,a)){if(r.includes(d))return{source:t,location:null!=o?o:l,value:r[r.length-1]};r.push(d);const n=await ke(e,s,d.$ref,r,l);({source:s,location:l}=n),f.value=n.value,l.push(...c.slice(i+1))}return{source:s,location:l,value:r.length>0?Y(r[r.length-1],f.value):f.value}}async function xe(e,t,n){return(await De(e,t,n)).value}function De(e,t,n){return ke(e,t,n,[])}const Se=(e,t)=>{if("string"!=typeof e)return e;try{const n=Ce(e);return"string"==typeof n?n:JSON.parse(e,t)}catch(e){return}},Ce=e=>{const t=Number(e);return Number.isFinite(t)?String(t)===e?t:e:NaN},Oe=(e,t,n)=>{if("string"==typeof e)return e;try{return JSON.stringify(e,t,n)}catch(r){return $()(e,t,n)}},$e=(e,t)=>{if(e instanceof Array){if(t instanceof Array){if(t.length>e.length)return!1;for(const n in t){if(!t.hasOwnProperty(n))continue;const r=parseInt(e[n]),o=parseInt(t[n]);if(isNaN(r)&&isNaN(o)){if(e[n]!==t[n])return!1}else if(r!==o)return!1}}}else{if("string"!=typeof e)return!1;if("string"==typeof t)return e.startsWith(t)}return!0},Ae=(e,t,n)=>{const r=Oe(e,t,n);if(void 0===r)throw new Error("The value could not be stringified");return r};function Pe(e){return e.replace(/^(\/|#\/)/,"").split("/").map(ae).map(je).join(".")}function je(e){return e.includes(".")?`["${e.replace(/"/g,'\\"')}"]`:e}const Fe=Symbol.for(g),Ie={ownKeys:e=>Fe in e?e[Fe]:Reflect.ownKeys(e)},Ne=e=>new Proxy(e,Ie);function Te(e,t){if("string"==typeof e&&"string"==typeof t)return(0,o.trimStart)(e,t);if(!(e&&Array.isArray(e)&&e.length&&t&&Array.isArray(t)&&t.length))return e;let n=0;for(const r in e)if(e.hasOwnProperty(r)){if(e[r]!==t[r])break;n++}return e.slice(n)}},84441:(e,t,n)=>{"use strict";function r(e){let t="";return e.absolute&&("file"===e.protocol?(e.drive&&(t+=e.drive),t+="/"):(t+=e.protocol+"://",e.origin&&(t+=e.origin+"/"))),""===(t+=e.path.join("/"))&&(t="."),t}function o(e,t,n,r){this.message=e,this.expected=t,this.found=n,this.location=r,this.name="SyntaxError","function"==typeof Error.captureStackTrace&&Error.captureStackTrace(this,o)}n.r(t),n.d(t,{basename:()=>l,deserializeSrn:()=>w,dirname:()=>f,extname:()=>d,format:()=>r,isAbsolute:()=>h,isURL:()=>p,join:()=>m,normalize:()=>a,parse:()=>s,relative:()=>g,resolve:()=>y,sep:()=>v,serializeSrn:()=>E,startsWithWindowsDrive:()=>b,stripRoot:()=>_,toFSPath:()=>a}),function(e,t){function n(){this.constructor=e}n.prototype=t.prototype,e.prototype=new n}(o,Error),o.buildMessage=function(e,t){var n={literal:function(e){return'"'+o(e.text)+'"'},class:function(e){var t,n="";for(t=0;t<e.parts.length;t++)n+=e.parts[t]instanceof Array?i(e.parts[t][0])+"-"+i(e.parts[t][1]):i(e.parts[t]);return"["+(e.inverted?"^":"")+n+"]"},any:function(e){return"any character"},end:function(e){return"end of input"},other:function(e){return e.description}};function r(e){return e.charCodeAt(0).toString(16).toUpperCase()}function o(e){return e.replace(/\\/g,"\\\\").replace(/"/g,'\\"').replace(/\0/g,"\\0").replace(/\t/g,"\\t").replace(/\n/g,"\\n").replace(/\r/g,"\\r").replace(/[\x00-\x0F]/g,(function(e){return"\\x0"+r(e)})).replace(/[\x10-\x1F\x7F-\x9F]/g,(function(e){return"\\x"+r(e)}))}function i(e){return e.replace(/\\/g,"\\\\").replace(/\]/g,"\\]").replace(/\^/g,"\\^").replace(/-/g,"\\-").replace(/\0/g,"\\0").replace(/\t/g,"\\t").replace(/\n/g,"\\n").replace(/\r/g,"\\r").replace(/[\x00-\x0F]/g,(function(e){return"\\x0"+r(e)})).replace(/[\x10-\x1F\x7F-\x9F]/g,(function(e){return"\\x"+r(e)}))}return"Expected "+function(e){var t,r,o,i=new Array(e.length);for(t=0;t<e.length;t++)i[t]=(o=e[t],n[o.type](o));if(i.sort(),i.length>0){for(t=1,r=1;t<i.length;t++)i[t-1]!==i[t]&&(i[r]=i[t],r++);i.length=r}switch(i.length){case 1:return i[0];case 2:return i[0]+" or "+i[1];default:return i.slice(0,-1).join(", ")+", or "+i[i.length-1]}}(e)+" but "+function(e){return e?'"'+o(e)+'"':"end of input"}(t)+" found."};var i=function(e,t){t=void 0!==t?t:{};var n,r,i,s,a={},u={Path:te},c=te,l=function(e,t,n,r){return{protocol:e,origin:t,absolute:!0,...n,...r}},f=function(e,t,n){return{protocol:e,origin:t,absolute:!0,...n,path:[]}},d="http://",h=W("http://",!0),p=function(e){return"http"},m="https://",g=W("https://",!0),y=function(e){return"https"},v="",b=function(){return null},_=function(e,t,n){return{protocol:e,origin:null,absolute:!0,...t,...n}},w="file://",E=W("file://",!0),k="file:",x=W("file:",!0),D=function(e){return"file"},S=function(e,t){return{protocol:"file",origin:null,absolute:!0,...e,...t}},C=/^[A-Za-z]/,O=G([["A","Z"],["a","z"]],!1,!1),$=":",A=W(":",!1),P=function(e){return{drive:e.toLowerCase()+":"}},j=function(){return{drive:null}},F=function(){return{drive:null}},I=function(e){return{protocol:null,origin:null,absolute:!1,drive:null,...e}},N=function(e){return{path:e}},T=function(e,t){return[e,...t]},M=function(e){return[e]},R=".",B=W(".",!1),L="/",z=W("/",!1),U="\\",q=W("\\",!1),V=/^[^\/\\]/,Q=G(["/","\\"],!0,!1),X=0,H=[{line:1,column:1}],K=0,J=[];if("startRule"in t){if(!(t.startRule in u))throw new Error("Can't start parsing from rule \""+t.startRule+'".');c=u[t.startRule]}function W(e,t){return{type:"literal",text:e,ignoreCase:t}}function G(e,t,n){return{type:"class",parts:e,inverted:t,ignoreCase:n}}function Z(t){var n,r=H[t];if(r)return r;for(n=t-1;!H[n];)n--;for(r={line:(r=H[n]).line,column:r.column};n<t;)10===e.charCodeAt(n)?(r.line++,r.column=1):r.column++,n++;return H[t]=r,r}function Y(e,t){var n=Z(e),r=Z(t);return{start:{offset:e,line:n.line,column:n.column},end:{offset:t,line:r.line,column:r.column}}}function ee(e){X<K||(X>K&&(K=X,J=[]),J.push(e))}function te(){var t;return(t=function(){var e,t,n,r,o;return e=X,(t=ne())!==a&&(n=re())!==a&&(r=ie())!==a&&(o=se())!==a?e=t=l(t,n,r,o):(X=e,e=a),e===a&&(e=X,(t=ne())!==a&&(n=re())!==a&&(r=function(){var e;return(e=v)!==a&&(e=F()),e}())!==a?e=t=f(t,n,r):(X=e,e=a)),e}())===a&&(t=function(){var t,n,r,o;return t=X,(n=function(){var t;return e.substr(X,7).toLowerCase()===w?(t=e.substr(X,7),X+=7):(t=a,ee(E)),t===a&&(e.substr(X,5).toLowerCase()===k?(t=e.substr(X,5),X+=5):(t=a,ee(x))),t!==a&&(t=D()),t}())!==a&&(r=oe())!==a&&(o=se())!==a?t=n=_(n,r,o):(X=t,t=a),t}())===a&&(t=function(){var e,t,n;return e=X,(t=oe())!==a&&(n=se())!==a?e=t=S(t,n):(X=e,e=a),e}())===a&&(t=function(){var t,n;return t=X,function(){var t;return(t=function(){var t,n,r;return t=X,46===e.charCodeAt(X)?(n=R,X++):(n=a,ee(B)),n!==a&&(r=ue())!==a?t=n=[n,r]:(X=t,t=a),t}())===a&&(t=v),t}()!==a&&(n=se())!==a?t=I(n):(X=t,t=a),t}()),t}function ne(){var t,n;return e.substr(X,7).toLowerCase()===d?(n=e.substr(X,7),X+=7):(n=a,ee(h)),n!==a&&(n=p()),(t=n)===a&&(t=function(){var t;return e.substr(X,8).toLowerCase()===m?(t=e.substr(X,8),X+=8):(t=a,ee(g)),t!==a&&(t=y()),t}()),t}function re(){var t,n,r;if(t=X,n=[],(r=ce())!==a)for(;r!==a;)n.push(r),r=ce();else n=a;return(t=n!==a?e.substring(t,X):n)===a&&(t=X,(n=v)!==a&&(n=b()),t=n),t}function oe(){var t;return(t=function(){var t,n,r,o;return t=X,(n=ue())===a&&(n=null),n!==a?(C.test(e.charAt(X))?(r=e.charAt(X),X++):(r=a,ee(O)),r!==a?(58===e.charCodeAt(X)?(o=$,X++):(o=a,ee(A)),o!==a&&ue()!==a?t=n=P(r):(X=t,t=a)):(X=t,t=a)):(X=t,t=a),t}())===a&&(t=ie()),t}function ie(){var e;return(e=ue())!==a&&(e=j()),e}function se(){var e;return(e=function e(){var t,n,r;return t=X,(n=ae())!==a&&ue()!==a&&(r=e())!==a?t=n=T(n,r):(X=t,t=a),t===a&&(t=X,(n=ae())!==a&&(n=M(n)),t=n),t}())!==a&&(e=N(e)),e}function ae(){var t,n,r;if(t=X,n=[],(r=ce())!==a)for(;r!==a;)n.push(r),r=ce();else n=a;return(t=n!==a?e.substring(t,X):n)===a&&(t=v),t}function ue(){var t;return 47===e.charCodeAt(X)?(t=L,X++):(t=a,ee(z)),t===a&&(92===e.charCodeAt(X)?(t=U,X++):(t=a,ee(q))),t}function ce(){var t;return V.test(e.charAt(X))?(t=e.charAt(X),X++):(t=a,ee(Q)),t}if((n=c())!==a&&X===e.length)return n;throw n!==a&&X<e.length&&ee({type:"end"}),r=J,i=K<e.length?e.charAt(K):null,s=K<e.length?Y(K,K+1):Y(K,K),new o(o.buildMessage(r,i),r,i,s)};function s(e){if("string"!=typeof e)throw new Error(`@stoplight/path: Cannot parse ${e} because it is not a string`);return i(e,{})}function a(e){return r(u(s(e)))}function u(e){let t=e.path;t=t.filter((e=>""!==e&&"."!==e));const n=[];for(const r of t)".."===r&&n.length&&".."!==n[n.length-1]?n.pop():".."===r&&e.absolute||n.push(r);return e.path=n,e}function c(e){let t=e.lastIndexOf(".");".."===e&&(t=-1),"."===e&&(t=-1);let n=e,r="";return t>0&&(n=e.slice(0,t),r=e.slice(t)),{name:n,ext:r}}const l=(e,t)=>{const n=u(s(e)).path.pop();if(!n)return"";const{name:r,ext:o}=c(n);return!0===t||t===o?r:`${r}${o}`},f=e=>{const t=u(s(e));return t.path.pop(),r(u(t))},d=e=>{const t=u(s(e)).path.pop();if(!t)return"";const{ext:n}=c(t);return n};function h(e){return s(e).absolute}function p(e){const t=s(e);return"http"===t.protocol||"https"===t.protocol}const m=(...e)=>{if(0===e.length)return".";const t=e.map(s),n=Object.assign({},t[0]);for(let r=1;r<t.length;r++){const o=t[r];if(o.absolute)throw new Error('Cannot join an absolute path "'+e[r]+'" in the middle of other paths.');for(const e of o.path)n.path.push(e)}return r(u(n))};function g(e,t){const n=u(s(t));if(!n.absolute)return r(n);const o=u(s(e));if(n.origin!==o.origin)return r(n);if(!o.absolute)return r(n);if(o.drive!==n.drive)return r(n);const i=Math.min(o.path.length,n.path.length);for(let r=0;r<i&&o.path[0]===n.path[0];r++)o.path.shift(),n.path.shift();return n.path.unshift(...o.path.fill("..")),r({origin:null,drive:null,absolute:!1,protocol:null,path:n.path})}function y(...e){if(0===e.length)return".";const t=u(s(e[e.length-1]));return t.absolute?r(t):m(...e)}const v="/",b=e=>null!==s(e).drive,_=e=>s(e).path.filter(Boolean).join("/");function w(e){const[t,n,r,...o]=e.split("/"),i=o.length?`/${o.join("/")}`:void 0;let s,a;return i&&(s=o.find((e=>e.includes("."))))&&(a=c(s).ext),{shortcode:t,orgSlug:n,projectSlug:r,uri:i,file:s,ext:a}}function E({shortcode:e,orgSlug:t,projectSlug:n,uri:r=""}){return[e,t,n,r.replace(/^\//,"")].filter(Boolean).join("/")}},4407:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.MissingRefError=t.ValidationError=t.CodeGen=t.Name=t.nil=t.stringify=t.str=t._=t.KeywordCxt=t.Ajv2020=void 0;const r=n(49241),o=n(19282),i=n(86825),s=n(99412),a="https://json-schema.org/draft/2020-12/schema";class u extends r.default{constructor(e={}){super({...e,dynamicRef:!0,next:!0,unevaluated:!0})}_addVocabularies(){super._addVocabularies(),o.default.forEach((e=>this.addVocabulary(e))),this.opts.discriminator&&this.addKeyword(i.default)}_addDefaultMetaSchema(){super._addDefaultMetaSchema();const{$data:e,meta:t}=this.opts;t&&(s.default.call(this,e),this.refs["http://json-schema.org/schema"]=a)}defaultMeta(){return this.opts.defaultMeta=super.defaultMeta()||(this.getSchema(a)?a:void 0)}}t.Ajv2020=u,e.exports=t=u,e.exports.Ajv2020=u,Object.defineProperty(t,"__esModule",{value:!0}),t.default=u;var c=n(4998);Object.defineProperty(t,"KeywordCxt",{enumerable:!0,get:function(){return c.KeywordCxt}});var l=n(15923);Object.defineProperty(t,"_",{enumerable:!0,get:function(){return l._}}),Object.defineProperty(t,"str",{enumerable:!0,get:function(){return l.str}}),Object.defineProperty(t,"stringify",{enumerable:!0,get:function(){return l.stringify}}),Object.defineProperty(t,"nil",{enumerable:!0,get:function(){return l.nil}}),Object.defineProperty(t,"Name",{enumerable:!0,get:function(){return l.Name}}),Object.defineProperty(t,"CodeGen",{enumerable:!0,get:function(){return l.CodeGen}});var f=n(14282);Object.defineProperty(t,"ValidationError",{enumerable:!0,get:function(){return f.default}});var d=n(24186);Object.defineProperty(t,"MissingRefError",{enumerable:!0,get:function(){return d.default}})},80477:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.regexpCode=t.getEsmExportName=t.getProperty=t.safeStringify=t.stringify=t.strConcat=t.addCodeArg=t.str=t._=t.nil=t._Code=t.Name=t.IDENTIFIER=t._CodeOrName=void 0;class n{}t._CodeOrName=n,t.IDENTIFIER=/^[a-z$_][a-z$_0-9]*$/i;class r extends n{constructor(e){if(super(),!t.IDENTIFIER.test(e))throw new Error("CodeGen: name must be a valid identifier");this.str=e}toString(){return this.str}emptyStr(){return!1}get names(){return{[this.str]:1}}}t.Name=r;class o extends n{constructor(e){super(),this._items="string"==typeof e?[e]:e}toString(){return this.str}emptyStr(){if(this._items.length>1)return!1;const e=this._items[0];return""===e||'""'===e}get str(){var e;return null!==(e=this._str)&&void 0!==e?e:this._str=this._items.reduce(((e,t)=>`${e}${t}`),"")}get names(){var e;return null!==(e=this._names)&&void 0!==e?e:this._names=this._items.reduce(((e,t)=>(t instanceof r&&(e[t.str]=(e[t.str]||0)+1),e)),{})}}function i(e,...t){const n=[e[0]];let r=0;for(;r<t.length;)u(n,t[r]),n.push(e[++r]);return new o(n)}t._Code=o,t.nil=new o(""),t._=i;const s=new o("+");function a(e,...t){const n=[l(e[0])];let r=0;for(;r<t.length;)n.push(s),u(n,t[r]),n.push(s,l(e[++r]));return function(e){let t=1;for(;t<e.length-1;){if(e[t]===s){const n=c(e[t-1],e[t+1]);if(void 0!==n){e.splice(t-1,3,n);continue}e[t++]="+"}t++}}(n),new o(n)}function u(e,t){var n;t instanceof o?e.push(...t._items):t instanceof r?e.push(t):e.push("number"==typeof(n=t)||"boolean"==typeof n||null===n?n:l(Array.isArray(n)?n.join(","):n))}function c(e,t){if('""'===t)return e;if('""'===e)return t;if("string"==typeof e){if(t instanceof r||'"'!==e[e.length-1])return;return"string"!=typeof t?`${e.slice(0,-1)}${t}"`:'"'===t[0]?e.slice(0,-1)+t.slice(1):void 0}return"string"!=typeof t||'"'!==t[0]||e instanceof r?void 0:`"${e}${t.slice(1)}`}function l(e){return JSON.stringify(e).replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029")}t.str=a,t.addCodeArg=u,t.strConcat=function(e,t){return t.emptyStr()?e:e.emptyStr()?t:a`${e}${t}`},t.stringify=function(e){return new o(l(e))},t.safeStringify=l,t.getProperty=function(e){return"string"==typeof e&&t.IDENTIFIER.test(e)?new o(`.${e}`):i`[${e}]`},t.getEsmExportName=function(e){if("string"==typeof e&&t.IDENTIFIER.test(e))return new o(`${e}`);throw new Error(`CodeGen: invalid export name: ${e}, use explicit $id name mapping`)},t.regexpCode=function(e){return new o(e.toString())}},15923:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.or=t.and=t.not=t.CodeGen=t.operators=t.varKinds=t.ValueScopeName=t.ValueScope=t.Scope=t.Name=t.regexpCode=t.stringify=t.getProperty=t.nil=t.strConcat=t.str=t._=void 0;const r=n(80477),o=n(91131);var i=n(80477);Object.defineProperty(t,"_",{enumerable:!0,get:function(){return i._}}),Object.defineProperty(t,"str",{enumerable:!0,get:function(){return i.str}}),Object.defineProperty(t,"strConcat",{enumerable:!0,get:function(){return i.strConcat}}),Object.defineProperty(t,"nil",{enumerable:!0,get:function(){return i.nil}}),Object.defineProperty(t,"getProperty",{enumerable:!0,get:function(){return i.getProperty}}),Object.defineProperty(t,"stringify",{enumerable:!0,get:function(){return i.stringify}}),Object.defineProperty(t,"regexpCode",{enumerable:!0,get:function(){return i.regexpCode}}),Object.defineProperty(t,"Name",{enumerable:!0,get:function(){return i.Name}});var s=n(91131);Object.defineProperty(t,"Scope",{enumerable:!0,get:function(){return s.Scope}}),Object.defineProperty(t,"ValueScope",{enumerable:!0,get:function(){return s.ValueScope}}),Object.defineProperty(t,"ValueScopeName",{enumerable:!0,get:function(){return s.ValueScopeName}}),Object.defineProperty(t,"varKinds",{enumerable:!0,get:function(){return s.varKinds}}),t.operators={GT:new r._Code(">"),GTE:new r._Code(">="),LT:new r._Code("<"),LTE:new r._Code("<="),EQ:new r._Code("==="),NEQ:new r._Code("!=="),NOT:new r._Code("!"),OR:new r._Code("||"),AND:new r._Code("&&"),ADD:new r._Code("+")};class a{optimizeNodes(){return this}optimizeNames(e,t){return this}}class u extends a{constructor(e,t,n){super(),this.varKind=e,this.name=t,this.rhs=n}render({es5:e,_n:t}){const n=e?o.varKinds.var:this.varKind,r=void 0===this.rhs?"":` = ${this.rhs}`;return`${n} ${this.name}${r};`+t}optimizeNames(e,t){if(e[this.name.str])return this.rhs&&(this.rhs=P(this.rhs,e,t)),this}get names(){return this.rhs instanceof r._CodeOrName?this.rhs.names:{}}}class c extends a{constructor(e,t,n){super(),this.lhs=e,this.rhs=t,this.sideEffects=n}render({_n:e}){return`${this.lhs} = ${this.rhs};`+e}optimizeNames(e,t){if(!(this.lhs instanceof r.Name)||e[this.lhs.str]||this.sideEffects)return this.rhs=P(this.rhs,e,t),this}get names(){return A(this.lhs instanceof r.Name?{}:{...this.lhs.names},this.rhs)}}class l extends c{constructor(e,t,n,r){super(e,n,r),this.op=t}render({_n:e}){return`${this.lhs} ${this.op}= ${this.rhs};`+e}}class f extends a{constructor(e){super(),this.label=e,this.names={}}render({_n:e}){return`${this.label}:`+e}}class d extends a{constructor(e){super(),this.label=e,this.names={}}render({_n:e}){return`break${this.label?` ${this.label}`:""};`+e}}class h extends a{constructor(e){super(),this.error=e}render({_n:e}){return`throw ${this.error};`+e}get names(){return this.error.names}}class p extends a{constructor(e){super(),this.code=e}render({_n:e}){return`${this.code};`+e}optimizeNodes(){return`${this.code}`?this:void 0}optimizeNames(e,t){return this.code=P(this.code,e,t),this}get names(){return this.code instanceof r._CodeOrName?this.code.names:{}}}class m extends a{constructor(e=[]){super(),this.nodes=e}render(e){return this.nodes.reduce(((t,n)=>t+n.render(e)),"")}optimizeNodes(){const{nodes:e}=this;let t=e.length;for(;t--;){const n=e[t].optimizeNodes();Array.isArray(n)?e.splice(t,1,...n):n?e[t]=n:e.splice(t,1)}return e.length>0?this:void 0}optimizeNames(e,t){const{nodes:n}=this;let r=n.length;for(;r--;){const o=n[r];o.optimizeNames(e,t)||(j(e,o.names),n.splice(r,1))}return n.length>0?this:void 0}get names(){return this.nodes.reduce(((e,t)=>$(e,t.names)),{})}}class g extends m{render(e){return"{"+e._n+super.render(e)+"}"+e._n}}class y extends m{}class v extends g{}v.kind="else";class b extends g{constructor(e,t){super(t),this.condition=e}render(e){let t=`if(${this.condition})`+super.render(e);return this.else&&(t+="else "+this.else.render(e)),t}optimizeNodes(){super.optimizeNodes();const e=this.condition;if(!0===e)return this.nodes;let t=this.else;if(t){const e=t.optimizeNodes();t=this.else=Array.isArray(e)?new v(e):e}return t?!1===e?t instanceof b?t:t.nodes:this.nodes.length?this:new b(F(e),t instanceof b?[t]:t.nodes):!1!==e&&this.nodes.length?this:void 0}optimizeNames(e,t){var n;if(this.else=null===(n=this.else)||void 0===n?void 0:n.optimizeNames(e,t),super.optimizeNames(e,t)||this.else)return this.condition=P(this.condition,e,t),this}get names(){const e=super.names;return A(e,this.condition),this.else&&$(e,this.else.names),e}}b.kind="if";class _ extends g{}_.kind="for";class w extends _{constructor(e){super(),this.iteration=e}render(e){return`for(${this.iteration})`+super.render(e)}optimizeNames(e,t){if(super.optimizeNames(e,t))return this.iteration=P(this.iteration,e,t),this}get names(){return $(super.names,this.iteration.names)}}class E extends _{constructor(e,t,n,r){super(),this.varKind=e,this.name=t,this.from=n,this.to=r}render(e){const t=e.es5?o.varKinds.var:this.varKind,{name:n,from:r,to:i}=this;return`for(${t} ${n}=${r}; ${n}<${i}; ${n}++)`+super.render(e)}get names(){const e=A(super.names,this.from);return A(e,this.to)}}class k extends _{constructor(e,t,n,r){super(),this.loop=e,this.varKind=t,this.name=n,this.iterable=r}render(e){return`for(${this.varKind} ${this.name} ${this.loop} ${this.iterable})`+super.render(e)}optimizeNames(e,t){if(super.optimizeNames(e,t))return this.iterable=P(this.iterable,e,t),this}get names(){return $(super.names,this.iterable.names)}}class x extends g{constructor(e,t,n){super(),this.name=e,this.args=t,this.async=n}render(e){return`${this.async?"async ":""}function ${this.name}(${this.args})`+super.render(e)}}x.kind="func";class D extends m{render(e){return"return "+super.render(e)}}D.kind="return";class S extends g{render(e){let t="try"+super.render(e);return this.catch&&(t+=this.catch.render(e)),this.finally&&(t+=this.finally.render(e)),t}optimizeNodes(){var e,t;return super.optimizeNodes(),null===(e=this.catch)||void 0===e||e.optimizeNodes(),null===(t=this.finally)||void 0===t||t.optimizeNodes(),this}optimizeNames(e,t){var n,r;return super.optimizeNames(e,t),null===(n=this.catch)||void 0===n||n.optimizeNames(e,t),null===(r=this.finally)||void 0===r||r.optimizeNames(e,t),this}get names(){const e=super.names;return this.catch&&$(e,this.catch.names),this.finally&&$(e,this.finally.names),e}}class C extends g{constructor(e){super(),this.error=e}render(e){return`catch(${this.error})`+super.render(e)}}C.kind="catch";class O extends g{render(e){return"finally"+super.render(e)}}O.kind="finally";function $(e,t){for(const n in t)e[n]=(e[n]||0)+(t[n]||0);return e}function A(e,t){return t instanceof r._CodeOrName?$(e,t.names):e}function P(e,t,n){return e instanceof r.Name?i(e):(o=e)instanceof r._Code&&o._items.some((e=>e instanceof r.Name&&1===t[e.str]&&void 0!==n[e.str]))?new r._Code(e._items.reduce(((e,t)=>(t instanceof r.Name&&(t=i(t)),t instanceof r._Code?e.push(...t._items):e.push(t),e)),[])):e;var o;function i(e){const r=n[e.str];return void 0===r||1!==t[e.str]?e:(delete t[e.str],r)}}function j(e,t){for(const n in t)e[n]=(e[n]||0)-(t[n]||0)}function F(e){return"boolean"==typeof e||"number"==typeof e||null===e?!e:r._`!${M(e)}`}t.CodeGen=class{constructor(e,t={}){this._values={},this._blockStarts=[],this._constants={},this.opts={...t,_n:t.lines?"\n":""},this._extScope=e,this._scope=new o.Scope({parent:e}),this._nodes=[new y]}toString(){return this._root.render(this.opts)}name(e){return this._scope.name(e)}scopeName(e){return this._extScope.name(e)}scopeValue(e,t){const n=this._extScope.value(e,t);return(this._values[n.prefix]||(this._values[n.prefix]=new Set)).add(n),n}getScopeValue(e,t){return this._extScope.getValue(e,t)}scopeRefs(e){return this._extScope.scopeRefs(e,this._values)}scopeCode(){return this._extScope.scopeCode(this._values)}_def(e,t,n,r){const o=this._scope.toName(t);return void 0!==n&&r&&(this._constants[o.str]=n),this._leafNode(new u(e,o,n)),o}const(e,t,n){return this._def(o.varKinds.const,e,t,n)}let(e,t,n){return this._def(o.varKinds.let,e,t,n)}var(e,t,n){return this._def(o.varKinds.var,e,t,n)}assign(e,t,n){return this._leafNode(new c(e,t,n))}add(e,n){return this._leafNode(new l(e,t.operators.ADD,n))}code(e){return"function"==typeof e?e():e!==r.nil&&this._leafNode(new p(e)),this}object(...e){const t=["{"];for(const[n,o]of e)t.length>1&&t.push(","),t.push(n),(n!==o||this.opts.es5)&&(t.push(":"),(0,r.addCodeArg)(t,o));return t.push("}"),new r._Code(t)}if(e,t,n){if(this._blockNode(new b(e)),t&&n)this.code(t).else().code(n).endIf();else if(t)this.code(t).endIf();else if(n)throw new Error('CodeGen: "else" body without "then" body');return this}elseIf(e){return this._elseNode(new b(e))}else(){return this._elseNode(new v)}endIf(){return this._endBlockNode(b,v)}_for(e,t){return this._blockNode(e),t&&this.code(t).endFor(),this}for(e,t){return this._for(new w(e),t)}forRange(e,t,n,r,i=(this.opts.es5?o.varKinds.var:o.varKinds.let)){const s=this._scope.toName(e);return this._for(new E(i,s,t,n),(()=>r(s)))}forOf(e,t,n,i=o.varKinds.const){const s=this._scope.toName(e);if(this.opts.es5){const e=t instanceof r.Name?t:this.var("_arr",t);return this.forRange("_i",0,r._`${e}.length`,(t=>{this.var(s,r._`${e}[${t}]`),n(s)}))}return this._for(new k("of",i,s,t),(()=>n(s)))}forIn(e,t,n,i=(this.opts.es5?o.varKinds.var:o.varKinds.const)){if(this.opts.ownProperties)return this.forOf(e,r._`Object.keys(${t})`,n);const s=this._scope.toName(e);return this._for(new k("in",i,s,t),(()=>n(s)))}endFor(){return this._endBlockNode(_)}label(e){return this._leafNode(new f(e))}break(e){return this._leafNode(new d(e))}return(e){const t=new D;if(this._blockNode(t),this.code(e),1!==t.nodes.length)throw new Error('CodeGen: "return" should have one node');return this._endBlockNode(D)}try(e,t,n){if(!t&&!n)throw new Error('CodeGen: "try" without "catch" and "finally"');const r=new S;if(this._blockNode(r),this.code(e),t){const e=this.name("e");this._currNode=r.catch=new C(e),t(e)}return n&&(this._currNode=r.finally=new O,this.code(n)),this._endBlockNode(C,O)}throw(e){return this._leafNode(new h(e))}block(e,t){return this._blockStarts.push(this._nodes.length),e&&this.code(e).endBlock(t),this}endBlock(e){const t=this._blockStarts.pop();if(void 0===t)throw new Error("CodeGen: not in self-balancing block");const n=this._nodes.length-t;if(n<0||void 0!==e&&n!==e)throw new Error(`CodeGen: wrong number of nodes: ${n} vs ${e} expected`);return this._nodes.length=t,this}func(e,t=r.nil,n,o){return this._blockNode(new x(e,t,n)),o&&this.code(o).endFunc(),this}endFunc(){return this._endBlockNode(x)}optimize(e=1){for(;e-- >0;)this._root.optimizeNodes(),this._root.optimizeNames(this._root.names,this._constants)}_leafNode(e){return this._currNode.nodes.push(e),this}_blockNode(e){this._currNode.nodes.push(e),this._nodes.push(e)}_endBlockNode(e,t){const n=this._currNode;if(n instanceof e||t&&n instanceof t)return this._nodes.pop(),this;throw new Error(`CodeGen: not in block "${t?`${e.kind}/${t.kind}`:e.kind}"`)}_elseNode(e){const t=this._currNode;if(!(t instanceof b))throw new Error('CodeGen: "else" without "if"');return this._currNode=t.else=e,this}get _root(){return this._nodes[0]}get _currNode(){const e=this._nodes;return e[e.length-1]}set _currNode(e){const t=this._nodes;t[t.length-1]=e}},t.not=F;const I=T(t.operators.AND);t.and=function(...e){return e.reduce(I)};const N=T(t.operators.OR);function T(e){return(t,n)=>t===r.nil?n:n===r.nil?t:r._`${M(t)} ${e} ${M(n)}`}function M(e){return e instanceof r.Name?e:r._`(${e})`}t.or=function(...e){return e.reduce(N)}},91131:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ValueScope=t.ValueScopeName=t.Scope=t.varKinds=t.UsedValueState=void 0;const r=n(80477);class o extends Error{constructor(e){super(`CodeGen: "code" for ${e} not defined`),this.value=e.value}}var i;!function(e){e[e.Started=0]="Started",e[e.Completed=1]="Completed"}(i||(t.UsedValueState=i={})),t.varKinds={const:new r.Name("const"),let:new r.Name("let"),var:new r.Name("var")};class s{constructor({prefixes:e,parent:t}={}){this._names={},this._prefixes=e,this._parent=t}toName(e){return e instanceof r.Name?e:this.name(e)}name(e){return new r.Name(this._newName(e))}_newName(e){return`${e}${(this._names[e]||this._nameGroup(e)).index++}`}_nameGroup(e){var t,n;if((null===(n=null===(t=this._parent)||void 0===t?void 0:t._prefixes)||void 0===n?void 0:n.has(e))||this._prefixes&&!this._prefixes.has(e))throw new Error(`CodeGen: prefix "${e}" is not allowed in this scope`);return this._names[e]={prefix:e,index:0}}}t.Scope=s;class a extends r.Name{constructor(e,t){super(t),this.prefix=e}setValue(e,{property:t,itemIndex:n}){this.value=e,this.scopePath=r._`.${new r.Name(t)}[${n}]`}}t.ValueScopeName=a;const u=r._`\n`;t.ValueScope=class extends s{constructor(e){super(e),this._values={},this._scope=e.scope,this.opts={...e,_n:e.lines?u:r.nil}}get(){return this._scope}name(e){return new a(e,this._newName(e))}value(e,t){var n;if(void 0===t.ref)throw new Error("CodeGen: ref must be passed in value");const r=this.toName(e),{prefix:o}=r,i=null!==(n=t.key)&&void 0!==n?n:t.ref;let s=this._values[o];if(s){const e=s.get(i);if(e)return e}else s=this._values[o]=new Map;s.set(i,r);const a=this._scope[o]||(this._scope[o]=[]),u=a.length;return a[u]=t.ref,r.setValue(t,{property:o,itemIndex:u}),r}getValue(e,t){const n=this._values[e];if(n)return n.get(t)}scopeRefs(e,t=this._values){return this._reduceValues(t,(t=>{if(void 0===t.scopePath)throw new Error(`CodeGen: name "${t}" has no value`);return r._`${e}${t.scopePath}`}))}scopeCode(e=this._values,t,n){return this._reduceValues(e,(e=>{if(void 0===e.value)throw new Error(`CodeGen: name "${e}" has no value`);return e.value.code}),t,n)}_reduceValues(e,n,s={},a){let u=r.nil;for(const c in e){const l=e[c];if(!l)continue;const f=s[c]=s[c]||new Map;l.forEach((e=>{if(f.has(e))return;f.set(e,i.Started);let s=n(e);if(s){const n=this.opts.es5?t.varKinds.var:t.varKinds.const;u=r._`${u}${n} ${e} = ${s};${this.opts._n}`}else{if(!(s=null==a?void 0:a(e)))throw new o(e);u=r._`${u}${s}${this.opts._n}`}f.set(e,i.Completed)}))}return u}}},76028:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.extendErrors=t.resetErrorsCount=t.reportExtraError=t.reportError=t.keyword$DataError=t.keywordError=void 0;const r=n(15923),o=n(91571),i=n(92115);function s(e,t){const n=e.const("err",t);e.if(r._`${i.default.vErrors} === null`,(()=>e.assign(i.default.vErrors,r._`[${n}]`)),r._`${i.default.vErrors}.push(${n})`),e.code(r._`${i.default.errors}++`)}function a(e,t){const{gen:n,validateName:o,schemaEnv:i}=e;i.$async?n.throw(r._`new ${e.ValidationError}(${t})`):(n.assign(r._`${o}.errors`,t),n.return(!1))}t.keywordError={message:({keyword:e})=>r.str`must pass "${e}" keyword validation`},t.keyword$DataError={message:({keyword:e,schemaType:t})=>t?r.str`"${e}" keyword must be ${t} ($data)`:r.str`"${e}" keyword is invalid ($data)`},t.reportError=function(e,n=t.keywordError,o,i){const{it:u}=e,{gen:l,compositeRule:f,allErrors:d}=u,h=c(e,n,o);(null!=i?i:f||d)?s(l,h):a(u,r._`[${h}]`)},t.reportExtraError=function(e,n=t.keywordError,r){const{it:o}=e,{gen:u,compositeRule:l,allErrors:f}=o;s(u,c(e,n,r)),l||f||a(o,i.default.vErrors)},t.resetErrorsCount=function(e,t){e.assign(i.default.errors,t),e.if(r._`${i.default.vErrors} !== null`,(()=>e.if(t,(()=>e.assign(r._`${i.default.vErrors}.length`,t)),(()=>e.assign(i.default.vErrors,null)))))},t.extendErrors=function({gen:e,keyword:t,schemaValue:n,data:o,errsCount:s,it:a}){if(void 0===s)throw new Error("ajv implementation error");const u=e.name("err");e.forRange("i",s,i.default.errors,(s=>{e.const(u,r._`${i.default.vErrors}[${s}]`),e.if(r._`${u}.instancePath === undefined`,(()=>e.assign(r._`${u}.instancePath`,(0,r.strConcat)(i.default.instancePath,a.errorPath)))),e.assign(r._`${u}.schemaPath`,r.str`${a.errSchemaPath}/${t}`),a.opts.verbose&&(e.assign(r._`${u}.schema`,n),e.assign(r._`${u}.data`,o))}))};const u={keyword:new r.Name("keyword"),schemaPath:new r.Name("schemaPath"),params:new r.Name("params"),propertyName:new r.Name("propertyName"),message:new r.Name("message"),schema:new r.Name("schema"),parentSchema:new r.Name("parentSchema")};function c(e,t,n){const{createErrors:o}=e.it;return!1===o?r._`{}`:function(e,t,n={}){const{gen:o,it:s}=e,a=[l(s,n),f(e,n)];return function(e,{params:t,message:n},o){const{keyword:s,data:a,schemaValue:c,it:l}=e,{opts:f,propertyName:d,topSchemaRef:h,schemaPath:p}=l;o.push([u.keyword,s],[u.params,"function"==typeof t?t(e):t||r._`{}`]),f.messages&&o.push([u.message,"function"==typeof n?n(e):n]);f.verbose&&o.push([u.schema,c],[u.parentSchema,r._`${h}${p}`],[i.default.data,a]);d&&o.push([u.propertyName,d])}(e,t,a),o.object(...a)}(e,t,n)}function l({errorPath:e},{instancePath:t}){const n=t?r.str`${e}${(0,o.getErrorPath)(t,o.Type.Str)}`:e;return[i.default.instancePath,(0,r.strConcat)(i.default.instancePath,n)]}function f({keyword:e,it:{errSchemaPath:t}},{schemaPath:n,parentSchema:i}){let s=i?t:r.str`${t}/${e}`;return n&&(s=r.str`${s}${(0,o.getErrorPath)(n,o.Type.Str)}`),[u.schemaPath,s]}},76968:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.resolveSchema=t.getCompilingSchema=t.resolveRef=t.compileSchema=t.SchemaEnv=void 0;const r=n(15923),o=n(14282),i=n(92115),s=n(48147),a=n(91571),u=n(4998);class c{constructor(e){var t;let n;this.refs={},this.dynamicAnchors={},"object"==typeof e.schema&&(n=e.schema),this.schema=e.schema,this.schemaId=e.schemaId,this.root=e.root||this,this.baseId=null!==(t=e.baseId)&&void 0!==t?t:(0,s.normalizeId)(null==n?void 0:n[e.schemaId||"$id"]),this.schemaPath=e.schemaPath,this.localRefs=e.localRefs,this.meta=e.meta,this.$async=null==n?void 0:n.$async,this.refs={}}}function l(e){const t=d.call(this,e);if(t)return t;const n=(0,s.getFullPath)(this.opts.uriResolver,e.root.baseId),{es5:a,lines:c}=this.opts.code,{ownProperties:l}=this.opts,f=new r.CodeGen(this.scope,{es5:a,lines:c,ownProperties:l});let h;e.$async&&(h=f.scopeValue("Error",{ref:o.default,code:r._`require("ajv/dist/runtime/validation_error").default`}));const p=f.scopeName("validate");e.validateName=p;const m={gen:f,allErrors:this.opts.allErrors,data:i.default.data,parentData:i.default.parentData,parentDataProperty:i.default.parentDataProperty,dataNames:[i.default.data],dataPathArr:[r.nil],dataLevel:0,dataTypes:[],definedProperties:new Set,topSchemaRef:f.scopeValue("schema",!0===this.opts.code.source?{ref:e.schema,code:(0,r.stringify)(e.schema)}:{ref:e.schema}),validateName:p,ValidationError:h,schema:e.schema,schemaEnv:e,rootId:n,baseId:e.baseId||n,schemaPath:r.nil,errSchemaPath:e.schemaPath||(this.opts.jtd?"":"#"),errorPath:r._`""`,opts:this.opts,self:this};let g;try{this._compilations.add(e),(0,u.validateFunctionCode)(m),f.optimize(this.opts.code.optimize);const t=f.toString();g=`${f.scopeRefs(i.default.scope)}return ${t}`,this.opts.code.process&&(g=this.opts.code.process(g,e));const n=new Function(`${i.default.self}`,`${i.default.scope}`,g)(this,this.scope.get());if(this.scope.value(p,{ref:n}),n.errors=null,n.schema=e.schema,n.schemaEnv=e,e.$async&&(n.$async=!0),!0===this.opts.code.source&&(n.source={validateName:p,validateCode:t,scopeValues:f._values}),this.opts.unevaluated){const{props:e,items:t}=m;n.evaluated={props:e instanceof r.Name?void 0:e,items:t instanceof r.Name?void 0:t,dynamicProps:e instanceof r.Name,dynamicItems:t instanceof r.Name},n.source&&(n.source.evaluated=(0,r.stringify)(n.evaluated))}return e.validate=n,e}catch(y){throw delete e.validate,delete e.validateName,g&&this.logger.error("Error compiling schema, function code:",g),y}finally{this._compilations.delete(e)}}function f(e){return(0,s.inlineRef)(e.schema,this.opts.inlineRefs)?e.schema:e.validate?e:l.call(this,e)}function d(e){for(const r of this._compilations)if(n=e,(t=r).schema===n.schema&&t.root===n.root&&t.baseId===n.baseId)return r;var t,n}function h(e,t){let n;for(;"string"==typeof(n=this.refs[t]);)t=n;return n||this.schemas[t]||p.call(this,e,t)}function p(e,t){const n=this.opts.uriResolver.parse(t),r=(0,s._getFullPath)(this.opts.uriResolver,n);let o=(0,s.getFullPath)(this.opts.uriResolver,e.baseId,void 0);if(Object.keys(e.schema).length>0&&r===o)return g.call(this,n,e);const i=(0,s.normalizeId)(r),a=this.refs[i]||this.schemas[i];if("string"==typeof a){const t=p.call(this,e,a);if("object"!=typeof(null==t?void 0:t.schema))return;return g.call(this,n,t)}if("object"==typeof(null==a?void 0:a.schema)){if(a.validate||l.call(this,a),i===(0,s.normalizeId)(t)){const{schema:t}=a,{schemaId:n}=this.opts,r=t[n];return r&&(o=(0,s.resolveUrl)(this.opts.uriResolver,o,r)),new c({schema:t,schemaId:n,root:e,baseId:o})}return g.call(this,n,a)}}t.SchemaEnv=c,t.compileSchema=l,t.resolveRef=function(e,t,n){var r;n=(0,s.resolveUrl)(this.opts.uriResolver,t,n);const o=e.refs[n];if(o)return o;let i=h.call(this,e,n);if(void 0===i){const o=null===(r=e.localRefs)||void 0===r?void 0:r[n],{schemaId:s}=this.opts;o&&(i=new c({schema:o,schemaId:s,root:e,baseId:t}))}return void 0!==i?e.refs[n]=f.call(this,i):void 0},t.getCompilingSchema=d,t.resolveSchema=p;const m=new Set(["properties","patternProperties","enum","dependencies","definitions"]);function g(e,{baseId:t,schema:n,root:r}){var o;if("/"!==(null===(o=e.fragment)||void 0===o?void 0:o[0]))return;for(const c of e.fragment.slice(1).split("/")){if("boolean"==typeof n)return;const e=n[(0,a.unescapeFragment)(c)];if(void 0===e)return;const r="object"==typeof(n=e)&&n[this.opts.schemaId];!m.has(c)&&r&&(t=(0,s.resolveUrl)(this.opts.uriResolver,t,r))}let i;if("boolean"!=typeof n&&n.$ref&&!(0,a.schemaHasRulesButRef)(n,this.RULES)){const e=(0,s.resolveUrl)(this.opts.uriResolver,t,n.$ref);i=p.call(this,r,e)}const{schemaId:u}=this.opts;return i=i||new c({schema:n,schemaId:u,root:r,baseId:t}),i.schema!==i.root.schema?i:void 0}},92115:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(15923),o={data:new r.Name("data"),valCxt:new r.Name("valCxt"),instancePath:new r.Name("instancePath"),parentData:new r.Name("parentData"),parentDataProperty:new r.Name("parentDataProperty"),rootData:new r.Name("rootData"),dynamicAnchors:new r.Name("dynamicAnchors"),vErrors:new r.Name("vErrors"),errors:new r.Name("errors"),this:new r.Name("this"),self:new r.Name("self"),scope:new r.Name("scope"),json:new r.Name("json"),jsonPos:new r.Name("jsonPos"),jsonLen:new r.Name("jsonLen"),jsonPart:new r.Name("jsonPart")};t.default=o},24186:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(48147);class o extends Error{constructor(e,t,n,o){super(o||`can't resolve reference ${n} from id ${t}`),this.missingRef=(0,r.resolveUrl)(e,t,n),this.missingSchema=(0,r.normalizeId)((0,r.getFullPath)(e,this.missingRef))}}t.default=o},48147:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getSchemaRefs=t.resolveUrl=t.normalizeId=t._getFullPath=t.getFullPath=t.inlineRef=void 0;const r=n(91571),o=n(69378),i=n(19522),s=new Set(["type","format","pattern","maxLength","minLength","maxProperties","minProperties","maxItems","minItems","maximum","minimum","uniqueItems","multipleOf","required","enum","const"]);t.inlineRef=function(e,t=!0){return"boolean"==typeof e||(!0===t?!u(e):!!t&&c(e)<=t)};const a=new Set(["$ref","$recursiveRef","$recursiveAnchor","$dynamicRef","$dynamicAnchor"]);function u(e){for(const t in e){if(a.has(t))return!0;const n=e[t];if(Array.isArray(n)&&n.some(u))return!0;if("object"==typeof n&&u(n))return!0}return!1}function c(e){let t=0;for(const n in e){if("$ref"===n)return 1/0;if(t++,!s.has(n)&&("object"==typeof e[n]&&(0,r.eachItem)(e[n],(e=>t+=c(e))),t===1/0))return 1/0}return t}function l(e,t="",n){!1!==n&&(t=h(t));const r=e.parse(t);return f(e,r)}function f(e,t){return e.serialize(t).split("#")[0]+"#"}t.getFullPath=l,t._getFullPath=f;const d=/#\/?$/;function h(e){return e?e.replace(d,""):""}t.normalizeId=h,t.resolveUrl=function(e,t,n){return n=h(n),e.resolve(t,n)};const p=/^[a-z_][-a-z0-9._]*$/i;t.getSchemaRefs=function(e,t){if("boolean"==typeof e)return{};const{schemaId:n,uriResolver:r}=this.opts,s=h(e[n]||t),a={"":s},u=l(r,s,!1),c={},f=new Set;return i(e,{allKeys:!0},((e,t,r,o)=>{if(void 0===o)return;const i=u+t;let s=a[o];function l(t){const n=this.opts.uriResolver.resolve;if(t=h(s?n(s,t):t),f.has(t))throw m(t);f.add(t);let r=this.refs[t];return"string"==typeof r&&(r=this.refs[r]),"object"==typeof r?d(e,r.schema,t):t!==h(i)&&("#"===t[0]?(d(e,c[t],t),c[t]=e):this.refs[t]=i),t}function g(e){if("string"==typeof e){if(!p.test(e))throw new Error(`invalid anchor "${e}"`);l.call(this,`#${e}`)}}"string"==typeof e[n]&&(s=l.call(this,e[n])),g.call(this,e.$anchor),g.call(this,e.$dynamicAnchor),a[t]=s})),c;function d(e,t,n){if(void 0!==t&&!o(e,t))throw m(n)}function m(e){return new Error(`reference "${e}" resolves to more than one schema`)}}},22825:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getRules=t.isJSONType=void 0;const n=new Set(["string","number","integer","boolean","null","object","array"]);t.isJSONType=function(e){return"string"==typeof e&&n.has(e)},t.getRules=function(){const e={number:{type:"number",rules:[]},string:{type:"string",rules:[]},array:{type:"array",rules:[]},object:{type:"object",rules:[]}};return{types:{...e,integer:!0,boolean:!0,null:!0},rules:[{rules:[]},e.number,e.string,e.array,e.object],post:{rules:[]},all:{},keywords:{}}}},91571:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.checkStrictMode=t.getErrorPath=t.Type=t.useFunc=t.setEvaluated=t.evaluatedPropsToName=t.mergeEvaluated=t.eachItem=t.unescapeJsonPointer=t.escapeJsonPointer=t.escapeFragment=t.unescapeFragment=t.schemaRefOrVal=t.schemaHasRulesButRef=t.schemaHasRules=t.checkUnknownRules=t.alwaysValidSchema=t.toHash=void 0;const r=n(15923),o=n(80477);function i(e,t=e.schema){const{opts:n,self:r}=e;if(!n.strictSchema)return;if("boolean"==typeof t)return;const o=r.RULES.keywords;for(const i in t)o[i]||p(e,`unknown keyword: "${i}"`)}function s(e,t){if("boolean"==typeof e)return!e;for(const n in e)if(t[n])return!0;return!1}function a(e){return"number"==typeof e?`${e}`:e.replace(/~/g,"~0").replace(/\//g,"~1")}function u(e){return e.replace(/~1/g,"/").replace(/~0/g,"~")}function c({mergeNames:e,mergeToName:t,mergeValues:n,resultToName:o}){return(i,s,a,u)=>{const c=void 0===a?s:a instanceof r.Name?(s instanceof r.Name?e(i,s,a):t(i,s,a),a):s instanceof r.Name?(t(i,a,s),s):n(s,a);return u!==r.Name||c instanceof r.Name?c:o(i,c)}}function l(e,t){if(!0===t)return e.var("props",!0);const n=e.var("props",r._`{}`);return void 0!==t&&f(e,n,t),n}function f(e,t,n){Object.keys(n).forEach((n=>e.assign(r._`${t}${(0,r.getProperty)(n)}`,!0)))}t.toHash=function(e){const t={};for(const n of e)t[n]=!0;return t},t.alwaysValidSchema=function(e,t){return"boolean"==typeof t?t:0===Object.keys(t).length||(i(e,t),!s(t,e.self.RULES.all))},t.checkUnknownRules=i,t.schemaHasRules=s,t.schemaHasRulesButRef=function(e,t){if("boolean"==typeof e)return!e;for(const n in e)if("$ref"!==n&&t.all[n])return!0;return!1},t.schemaRefOrVal=function({topSchemaRef:e,schemaPath:t},n,o,i){if(!i){if("number"==typeof n||"boolean"==typeof n)return n;if("string"==typeof n)return r._`${n}`}return r._`${e}${t}${(0,r.getProperty)(o)}`},t.unescapeFragment=function(e){return u(decodeURIComponent(e))},t.escapeFragment=function(e){return encodeURIComponent(a(e))},t.escapeJsonPointer=a,t.unescapeJsonPointer=u,t.eachItem=function(e,t){if(Array.isArray(e))for(const n of e)t(n);else t(e)},t.mergeEvaluated={props:c({mergeNames:(e,t,n)=>e.if(r._`${n} !== true && ${t} !== undefined`,(()=>{e.if(r._`${t} === true`,(()=>e.assign(n,!0)),(()=>e.assign(n,r._`${n} || {}`).code(r._`Object.assign(${n}, ${t})`)))})),mergeToName:(e,t,n)=>e.if(r._`${n} !== true`,(()=>{!0===t?e.assign(n,!0):(e.assign(n,r._`${n} || {}`),f(e,n,t))})),mergeValues:(e,t)=>!0===e||{...e,...t},resultToName:l}),items:c({mergeNames:(e,t,n)=>e.if(r._`${n} !== true && ${t} !== undefined`,(()=>e.assign(n,r._`${t} === true ? true : ${n} > ${t} ? ${n} : ${t}`))),mergeToName:(e,t,n)=>e.if(r._`${n} !== true`,(()=>e.assign(n,!0===t||r._`${n} > ${t} ? ${n} : ${t}`))),mergeValues:(e,t)=>!0===e||Math.max(e,t),resultToName:(e,t)=>e.var("items",t)})},t.evaluatedPropsToName=l,t.setEvaluated=f;const d={};var h;function p(e,t,n=e.opts.strictSchema){if(n){if(t=`strict mode: ${t}`,!0===n)throw new Error(t);e.self.logger.warn(t)}}t.useFunc=function(e,t){return e.scopeValue("func",{ref:t,code:d[t.code]||(d[t.code]=new o._Code(t.code))})},function(e){e[e.Num=0]="Num",e[e.Str=1]="Str"}(h||(t.Type=h={})),t.getErrorPath=function(e,t,n){if(e instanceof r.Name){const o=t===h.Num;return n?o?r._`"[" + ${e} + "]"`:r._`"['" + ${e} + "']"`:o?r._`"/" + ${e}`:r._`"/" + ${e}.replace(/~/g, "~0").replace(/\\//g, "~1")`}return n?(0,r.getProperty)(e).toString():"/"+a(e)},t.checkStrictMode=p},34540:(e,t)=>{"use strict";function n(e,t){return t.rules.some((t=>r(e,t)))}function r(e,t){var n;return void 0!==e[t.keyword]||(null===(n=t.definition.implements)||void 0===n?void 0:n.some((t=>void 0!==e[t])))}Object.defineProperty(t,"__esModule",{value:!0}),t.shouldUseRule=t.shouldUseGroup=t.schemaHasRulesForType=void 0,t.schemaHasRulesForType=function({schema:e,self:t},r){const o=t.RULES.types[r];return o&&!0!==o&&n(e,o)},t.shouldUseGroup=n,t.shouldUseRule=r},12175:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.boolOrEmptySchema=t.topBoolOrEmptySchema=void 0;const r=n(76028),o=n(15923),i=n(92115),s={message:"boolean schema is false"};function a(e,t){const{gen:n,data:o}=e,i={gen:n,keyword:"false schema",data:o,schema:!1,schemaCode:!1,schemaValue:!1,params:{},it:e};(0,r.reportError)(i,s,void 0,t)}t.topBoolOrEmptySchema=function(e){const{gen:t,schema:n,validateName:r}=e;!1===n?a(e,!1):"object"==typeof n&&!0===n.$async?t.return(i.default.data):(t.assign(o._`${r}.errors`,null),t.return(!0))},t.boolOrEmptySchema=function(e,t){const{gen:n,schema:r}=e;!1===r?(n.var(t,!1),a(e)):n.var(t,!0)}},31411:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.reportTypeError=t.checkDataTypes=t.checkDataType=t.coerceAndCheckDataType=t.getJSONTypes=t.getSchemaTypes=t.DataType=void 0;const r=n(22825),o=n(34540),i=n(76028),s=n(15923),a=n(91571);var u;function c(e){const t=Array.isArray(e)?e:e?[e]:[];if(t.every(r.isJSONType))return t;throw new Error("type must be JSONType or JSONType[]: "+t.join(","))}!function(e){e[e.Correct=0]="Correct",e[e.Wrong=1]="Wrong"}(u||(t.DataType=u={})),t.getSchemaTypes=function(e){const t=c(e.type);if(t.includes("null")){if(!1===e.nullable)throw new Error("type: null contradicts nullable: false")}else{if(!t.length&&void 0!==e.nullable)throw new Error('"nullable" cannot be used without "type"');!0===e.nullable&&t.push("null")}return t},t.getJSONTypes=c,t.coerceAndCheckDataType=function(e,t){const{gen:n,data:r,opts:i}=e,a=function(e,t){return t?e.filter((e=>l.has(e)||"array"===t&&"array"===e)):[]}(t,i.coerceTypes),c=t.length>0&&!(0===a.length&&1===t.length&&(0,o.schemaHasRulesForType)(e,t[0]));if(c){const o=d(t,r,i.strictNumbers,u.Wrong);n.if(o,(()=>{a.length?function(e,t,n){const{gen:r,data:o,opts:i}=e,a=r.let("dataType",s._`typeof ${o}`),u=r.let("coerced",s._`undefined`);"array"===i.coerceTypes&&r.if(s._`${a} == 'object' && Array.isArray(${o}) && ${o}.length == 1`,(()=>r.assign(o,s._`${o}[0]`).assign(a,s._`typeof ${o}`).if(d(t,o,i.strictNumbers),(()=>r.assign(u,o)))));r.if(s._`${u} !== undefined`);for(const s of n)(l.has(s)||"array"===s&&"array"===i.coerceTypes)&&c(s);function c(e){switch(e){case"string":return void r.elseIf(s._`${a} == "number" || ${a} == "boolean"`).assign(u,s._`"" + ${o}`).elseIf(s._`${o} === null`).assign(u,s._`""`);case"number":return void r.elseIf(s._`${a} == "boolean" || ${o} === null + || (${a} == "string" && ${o} && ${o} == +${o})`).assign(u,s._`+${o}`);case"integer":return void r.elseIf(s._`${a} === "boolean" || ${o} === null + || (${a} === "string" && ${o} && ${o} == +${o} && !(${o} % 1))`).assign(u,s._`+${o}`);case"boolean":return void r.elseIf(s._`${o} === "false" || ${o} === 0 || ${o} === null`).assign(u,!1).elseIf(s._`${o} === "true" || ${o} === 1`).assign(u,!0);case"null":return r.elseIf(s._`${o} === "" || ${o} === 0 || ${o} === false`),void r.assign(u,null);case"array":r.elseIf(s._`${a} === "string" || ${a} === "number" + || ${a} === "boolean" || ${o} === null`).assign(u,s._`[${o}]`)}}r.else(),p(e),r.endIf(),r.if(s._`${u} !== undefined`,(()=>{r.assign(o,u),function({gen:e,parentData:t,parentDataProperty:n},r){e.if(s._`${t} !== undefined`,(()=>e.assign(s._`${t}[${n}]`,r)))}(e,u)}))}(e,t,a):p(e)}))}return c};const l=new Set(["string","number","integer","boolean","null"]);function f(e,t,n,r=u.Correct){const o=r===u.Correct?s.operators.EQ:s.operators.NEQ;let i;switch(e){case"null":return s._`${t} ${o} null`;case"array":i=s._`Array.isArray(${t})`;break;case"object":i=s._`${t} && typeof ${t} == "object" && !Array.isArray(${t})`;break;case"integer":i=a(s._`!(${t} % 1) && !isNaN(${t})`);break;case"number":i=a();break;default:return s._`typeof ${t} ${o} ${e}`}return r===u.Correct?i:(0,s.not)(i);function a(e=s.nil){return(0,s.and)(s._`typeof ${t} == "number"`,e,n?s._`isFinite(${t})`:s.nil)}}function d(e,t,n,r){if(1===e.length)return f(e[0],t,n,r);let o;const i=(0,a.toHash)(e);if(i.array&&i.object){const e=s._`typeof ${t} != "object"`;o=i.null?e:s._`!${t} || ${e}`,delete i.null,delete i.array,delete i.object}else o=s.nil;i.number&&delete i.integer;for(const a in i)o=(0,s.and)(o,f(a,t,n,r));return o}t.checkDataType=f,t.checkDataTypes=d;const h={message:({schema:e})=>`must be ${e}`,params:({schema:e,schemaValue:t})=>"string"==typeof e?s._`{type: ${e}}`:s._`{type: ${t}}`};function p(e){const t=function(e){const{gen:t,data:n,schema:r}=e,o=(0,a.schemaRefOrVal)(e,r,"type");return{gen:t,keyword:"type",data:n,schema:r.type,schemaCode:o,schemaValue:o,parentSchema:r,params:{},it:e}}(e);(0,i.reportError)(t,h)}t.reportTypeError=p},14911:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.assignDefaults=void 0;const r=n(15923),o=n(91571);function i(e,t,n){const{gen:i,compositeRule:s,data:a,opts:u}=e;if(void 0===n)return;const c=r._`${a}${(0,r.getProperty)(t)}`;if(s)return void(0,o.checkStrictMode)(e,`default is ignored for: ${c}`);let l=r._`${c} === undefined`;"empty"===u.useDefaults&&(l=r._`${l} || ${c} === null || ${c} === ""`),i.if(l,r._`${c} = ${(0,r.stringify)(n)}`)}t.assignDefaults=function(e,t){const{properties:n,items:r}=e.schema;if("object"===t&&n)for(const o in n)i(e,o,n[o].default);else"array"===t&&Array.isArray(r)&&r.forEach(((t,n)=>i(e,n,t.default)))}},4998:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getData=t.KeywordCxt=t.validateFunctionCode=void 0;const r=n(12175),o=n(31411),i=n(34540),s=n(31411),a=n(14911),u=n(47366),c=n(62795),l=n(15923),f=n(92115),d=n(48147),h=n(91571),p=n(76028);function m({gen:e,validateName:t,schema:n,schemaEnv:r,opts:o},i){o.code.es5?e.func(t,l._`${f.default.data}, ${f.default.valCxt}`,r.$async,(()=>{e.code(l._`"use strict"; ${g(n,o)}`),function(e,t){e.if(f.default.valCxt,(()=>{e.var(f.default.instancePath,l._`${f.default.valCxt}.${f.default.instancePath}`),e.var(f.default.parentData,l._`${f.default.valCxt}.${f.default.parentData}`),e.var(f.default.parentDataProperty,l._`${f.default.valCxt}.${f.default.parentDataProperty}`),e.var(f.default.rootData,l._`${f.default.valCxt}.${f.default.rootData}`),t.dynamicRef&&e.var(f.default.dynamicAnchors,l._`${f.default.valCxt}.${f.default.dynamicAnchors}`)}),(()=>{e.var(f.default.instancePath,l._`""`),e.var(f.default.parentData,l._`undefined`),e.var(f.default.parentDataProperty,l._`undefined`),e.var(f.default.rootData,f.default.data),t.dynamicRef&&e.var(f.default.dynamicAnchors,l._`{}`)}))}(e,o),e.code(i)})):e.func(t,l._`${f.default.data}, ${function(e){return l._`{${f.default.instancePath}="", ${f.default.parentData}, ${f.default.parentDataProperty}, ${f.default.rootData}=${f.default.data}${e.dynamicRef?l._`, ${f.default.dynamicAnchors}={}`:l.nil}}={}`}(o)}`,r.$async,(()=>e.code(g(n,o)).code(i)))}function g(e,t){const n="object"==typeof e&&e[t.schemaId];return n&&(t.code.source||t.code.process)?l._`/*# sourceURL=${n} */`:l.nil}function y(e,t){b(e)&&(_(e),v(e))?function(e,t){const{schema:n,gen:r,opts:o}=e;o.$comment&&n.$comment&&E(e);(function(e){const t=e.schema[e.opts.schemaId];t&&(e.baseId=(0,d.resolveUrl)(e.opts.uriResolver,e.baseId,t))})(e),function(e){if(e.schema.$async&&!e.schemaEnv.$async)throw new Error("async schema in sync schema")}(e);const i=r.const("_errs",f.default.errors);w(e,i),r.var(t,l._`${i} === ${f.default.errors}`)}(e,t):(0,r.boolOrEmptySchema)(e,t)}function v({schema:e,self:t}){if("boolean"==typeof e)return!e;for(const n in e)if(t.RULES.all[n])return!0;return!1}function b(e){return"boolean"!=typeof e.schema}function _(e){(0,h.checkUnknownRules)(e),function(e){const{schema:t,errSchemaPath:n,opts:r,self:o}=e;t.$ref&&r.ignoreKeywordsWithRef&&(0,h.schemaHasRulesButRef)(t,o.RULES)&&o.logger.warn(`$ref: keywords ignored in schema at path "${n}"`)}(e)}function w(e,t){if(e.opts.jtd)return k(e,[],!1,t);const n=(0,o.getSchemaTypes)(e.schema);k(e,n,!(0,o.coerceAndCheckDataType)(e,n),t)}function E({gen:e,schemaEnv:t,schema:n,errSchemaPath:r,opts:o}){const i=n.$comment;if(!0===o.$comment)e.code(l._`${f.default.self}.logger.log(${i})`);else if("function"==typeof o.$comment){const n=l.str`${r}/$comment`,o=e.scopeValue("root",{ref:t.root});e.code(l._`${f.default.self}.opts.$comment(${i}, ${n}, ${o}.schema)`)}}function k(e,t,n,r){const{gen:o,schema:a,data:u,allErrors:c,opts:d,self:p}=e,{RULES:m}=p;function g(h){(0,i.shouldUseGroup)(a,h)&&(h.type?(o.if((0,s.checkDataType)(h.type,u,d.strictNumbers)),x(e,h),1===t.length&&t[0]===h.type&&n&&(o.else(),(0,s.reportTypeError)(e)),o.endIf()):x(e,h),c||o.if(l._`${f.default.errors} === ${r||0}`))}!a.$ref||!d.ignoreKeywordsWithRef&&(0,h.schemaHasRulesButRef)(a,m)?(d.jtd||function(e,t){if(e.schemaEnv.meta||!e.opts.strictTypes)return;(function(e,t){if(!t.length)return;if(!e.dataTypes.length)return void(e.dataTypes=t);t.forEach((t=>{S(e.dataTypes,t)||C(e,`type "${t}" not allowed by context "${e.dataTypes.join(",")}"`)})),function(e,t){const n=[];for(const r of e.dataTypes)S(t,r)?n.push(r):t.includes("integer")&&"number"===r&&n.push("integer");e.dataTypes=n}(e,t)})(e,t),e.opts.allowUnionTypes||function(e,t){t.length>1&&(2!==t.length||!t.includes("null"))&&C(e,"use allowUnionTypes to allow union type keyword")}(e,t);!function(e,t){const n=e.self.RULES.all;for(const r in n){const o=n[r];if("object"==typeof o&&(0,i.shouldUseRule)(e.schema,o)){const{type:n}=o.definition;n.length&&!n.some((e=>D(t,e)))&&C(e,`missing type "${n.join(",")}" for keyword "${r}"`)}}}(e,e.dataTypes)}(e,t),o.block((()=>{for(const e of m.rules)g(e);g(m.post)}))):o.block((()=>$(e,"$ref",m.all.$ref.definition)))}function x(e,t){const{gen:n,schema:r,opts:{useDefaults:o}}=e;o&&(0,a.assignDefaults)(e,t.type),n.block((()=>{for(const n of t.rules)(0,i.shouldUseRule)(r,n)&&$(e,n.keyword,n.definition,t.type)}))}function D(e,t){return e.includes(t)||"number"===t&&e.includes("integer")}function S(e,t){return e.includes(t)||"integer"===t&&e.includes("number")}function C(e,t){t+=` at "${e.schemaEnv.baseId+e.errSchemaPath}" (strictTypes)`,(0,h.checkStrictMode)(e,t,e.opts.strictTypes)}t.validateFunctionCode=function(e){b(e)&&(_(e),v(e))?function(e){const{schema:t,opts:n,gen:r}=e;m(e,(()=>{n.$comment&&t.$comment&&E(e),function(e){const{schema:t,opts:n}=e;void 0!==t.default&&n.useDefaults&&n.strictSchema&&(0,h.checkStrictMode)(e,"default is ignored in the schema root")}(e),r.let(f.default.vErrors,null),r.let(f.default.errors,0),n.unevaluated&&function(e){const{gen:t,validateName:n}=e;e.evaluated=t.const("evaluated",l._`${n}.evaluated`),t.if(l._`${e.evaluated}.dynamicProps`,(()=>t.assign(l._`${e.evaluated}.props`,l._`undefined`))),t.if(l._`${e.evaluated}.dynamicItems`,(()=>t.assign(l._`${e.evaluated}.items`,l._`undefined`)))}(e),w(e),function(e){const{gen:t,schemaEnv:n,validateName:r,ValidationError:o,opts:i}=e;n.$async?t.if(l._`${f.default.errors} === 0`,(()=>t.return(f.default.data)),(()=>t.throw(l._`new ${o}(${f.default.vErrors})`))):(t.assign(l._`${r}.errors`,f.default.vErrors),i.unevaluated&&function({gen:e,evaluated:t,props:n,items:r}){n instanceof l.Name&&e.assign(l._`${t}.props`,n);r instanceof l.Name&&e.assign(l._`${t}.items`,r)}(e),t.return(l._`${f.default.errors} === 0`))}(e)}))}(e):m(e,(()=>(0,r.topBoolOrEmptySchema)(e)))};class O{constructor(e,t,n){if((0,u.validateKeywordUsage)(e,t,n),this.gen=e.gen,this.allErrors=e.allErrors,this.keyword=n,this.data=e.data,this.schema=e.schema[n],this.$data=t.$data&&e.opts.$data&&this.schema&&this.schema.$data,this.schemaValue=(0,h.schemaRefOrVal)(e,this.schema,n,this.$data),this.schemaType=t.schemaType,this.parentSchema=e.schema,this.params={},this.it=e,this.def=t,this.$data)this.schemaCode=e.gen.const("vSchema",j(this.$data,e));else if(this.schemaCode=this.schemaValue,!(0,u.validSchemaType)(this.schema,t.schemaType,t.allowUndefined))throw new Error(`${n} value must be ${JSON.stringify(t.schemaType)}`);("code"in t?t.trackErrors:!1!==t.errors)&&(this.errsCount=e.gen.const("_errs",f.default.errors))}result(e,t,n){this.failResult((0,l.not)(e),t,n)}failResult(e,t,n){this.gen.if(e),n?n():this.error(),t?(this.gen.else(),t(),this.allErrors&&this.gen.endIf()):this.allErrors?this.gen.endIf():this.gen.else()}pass(e,t){this.failResult((0,l.not)(e),void 0,t)}fail(e){if(void 0===e)return this.error(),void(this.allErrors||this.gen.if(!1));this.gen.if(e),this.error(),this.allErrors?this.gen.endIf():this.gen.else()}fail$data(e){if(!this.$data)return this.fail(e);const{schemaCode:t}=this;this.fail(l._`${t} !== undefined && (${(0,l.or)(this.invalid$data(),e)})`)}error(e,t,n){if(t)return this.setParams(t),this._error(e,n),void this.setParams({});this._error(e,n)}_error(e,t){(e?p.reportExtraError:p.reportError)(this,this.def.error,t)}$dataError(){(0,p.reportError)(this,this.def.$dataError||p.keyword$DataError)}reset(){if(void 0===this.errsCount)throw new Error('add "trackErrors" to keyword definition');(0,p.resetErrorsCount)(this.gen,this.errsCount)}ok(e){this.allErrors||this.gen.if(e)}setParams(e,t){t?Object.assign(this.params,e):this.params=e}block$data(e,t,n=l.nil){this.gen.block((()=>{this.check$data(e,n),t()}))}check$data(e=l.nil,t=l.nil){if(!this.$data)return;const{gen:n,schemaCode:r,schemaType:o,def:i}=this;n.if((0,l.or)(l._`${r} === undefined`,t)),e!==l.nil&&n.assign(e,!0),(o.length||i.validateSchema)&&(n.elseIf(this.invalid$data()),this.$dataError(),e!==l.nil&&n.assign(e,!1)),n.else()}invalid$data(){const{gen:e,schemaCode:t,schemaType:n,def:r,it:o}=this;return(0,l.or)(function(){if(n.length){if(!(t instanceof l.Name))throw new Error("ajv implementation error");const e=Array.isArray(n)?n:[n];return l._`${(0,s.checkDataTypes)(e,t,o.opts.strictNumbers,s.DataType.Wrong)}`}return l.nil}(),function(){if(r.validateSchema){const n=e.scopeValue("validate$data",{ref:r.validateSchema});return l._`!${n}(${t})`}return l.nil}())}subschema(e,t){const n=(0,c.getSubschema)(this.it,e);(0,c.extendSubschemaData)(n,this.it,e),(0,c.extendSubschemaMode)(n,e);const r={...this.it,...n,items:void 0,props:void 0};return y(r,t),r}mergeEvaluated(e,t){const{it:n,gen:r}=this;n.opts.unevaluated&&(!0!==n.props&&void 0!==e.props&&(n.props=h.mergeEvaluated.props(r,e.props,n.props,t)),!0!==n.items&&void 0!==e.items&&(n.items=h.mergeEvaluated.items(r,e.items,n.items,t)))}mergeValidEvaluated(e,t){const{it:n,gen:r}=this;if(n.opts.unevaluated&&(!0!==n.props||!0!==n.items))return r.if(t,(()=>this.mergeEvaluated(e,l.Name))),!0}}function $(e,t,n,r){const o=new O(e,n,t);"code"in n?n.code(o,r):o.$data&&n.validate?(0,u.funcKeywordCode)(o,n):"macro"in n?(0,u.macroKeywordCode)(o,n):(n.compile||n.validate)&&(0,u.funcKeywordCode)(o,n)}t.KeywordCxt=O;const A=/^\/(?:[^~]|~0|~1)*$/,P=/^([0-9]+)(#|\/(?:[^~]|~0|~1)*)?$/;function j(e,{dataLevel:t,dataNames:n,dataPathArr:r}){let o,i;if(""===e)return f.default.rootData;if("/"===e[0]){if(!A.test(e))throw new Error(`Invalid JSON-pointer: ${e}`);o=e,i=f.default.rootData}else{const s=P.exec(e);if(!s)throw new Error(`Invalid JSON-pointer: ${e}`);const a=+s[1];if(o=s[2],"#"===o){if(a>=t)throw new Error(u("property/index",a));return r[t-a]}if(a>t)throw new Error(u("data",a));if(i=n[t-a],!o)return i}let s=i;const a=o.split("/");for(const c of a)c&&(i=l._`${i}${(0,l.getProperty)((0,h.unescapeJsonPointer)(c))}`,s=l._`${s} && ${i}`);return s;function u(e,n){return`Cannot access ${e} ${n} levels up, current level is ${t}`}}t.getData=j},47366:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.validateKeywordUsage=t.validSchemaType=t.funcKeywordCode=t.macroKeywordCode=void 0;const r=n(15923),o=n(92115),i=n(7861),s=n(76028);function a(e){const{gen:t,data:n,it:o}=e;t.if(o.parentData,(()=>t.assign(n,r._`${o.parentData}[${o.parentDataProperty}]`)))}function u(e,t,n){if(void 0===n)throw new Error(`keyword "${t}" failed to compile`);return e.scopeValue("keyword","function"==typeof n?{ref:n}:{ref:n,code:(0,r.stringify)(n)})}t.macroKeywordCode=function(e,t){const{gen:n,keyword:o,schema:i,parentSchema:s,it:a}=e,c=t.macro.call(a.self,i,s,a),l=u(n,o,c);!1!==a.opts.validateSchema&&a.self.validateSchema(c,!0);const f=n.name("valid");e.subschema({schema:c,schemaPath:r.nil,errSchemaPath:`${a.errSchemaPath}/${o}`,topSchemaRef:l,compositeRule:!0},f),e.pass(f,(()=>e.error(!0)))},t.funcKeywordCode=function(e,t){var n;const{gen:c,keyword:l,schema:f,parentSchema:d,$data:h,it:p}=e;!function({schemaEnv:e},t){if(t.async&&!e.$async)throw new Error("async keyword in sync schema")}(p,t);const m=!h&&t.compile?t.compile.call(p.self,f,d,p):t.validate,g=u(c,l,m),y=c.let("valid");function v(n=(t.async?r._`await `:r.nil)){const s=p.opts.passContext?o.default.this:o.default.self,a=!("compile"in t&&!h||!1===t.schema);c.assign(y,r._`${n}${(0,i.callValidateCode)(e,g,s,a)}`,t.modifying)}function b(e){var n;c.if((0,r.not)(null!==(n=t.valid)&&void 0!==n?n:y),e)}e.block$data(y,(function(){if(!1===t.errors)v(),t.modifying&&a(e),b((()=>e.error()));else{const n=t.async?function(){const e=c.let("ruleErrs",null);return c.try((()=>v(r._`await `)),(t=>c.assign(y,!1).if(r._`${t} instanceof ${p.ValidationError}`,(()=>c.assign(e,r._`${t}.errors`)),(()=>c.throw(t))))),e}():function(){const e=r._`${g}.errors`;return c.assign(e,null),v(r.nil),e}();t.modifying&&a(e),b((()=>function(e,t){const{gen:n}=e;n.if(r._`Array.isArray(${t})`,(()=>{n.assign(o.default.vErrors,r._`${o.default.vErrors} === null ? ${t} : ${o.default.vErrors}.concat(${t})`).assign(o.default.errors,r._`${o.default.vErrors}.length`),(0,s.extendErrors)(e)}),(()=>e.error()))}(e,n)))}})),e.ok(null!==(n=t.valid)&&void 0!==n?n:y)},t.validSchemaType=function(e,t,n=!1){return!t.length||t.some((t=>"array"===t?Array.isArray(e):"object"===t?e&&"object"==typeof e&&!Array.isArray(e):typeof e==t||n&&void 0===e))},t.validateKeywordUsage=function({schema:e,opts:t,self:n,errSchemaPath:r},o,i){if(Array.isArray(o.keyword)?!o.keyword.includes(i):o.keyword!==i)throw new Error("ajv implementation error");const s=o.dependencies;if(null==s?void 0:s.some((t=>!Object.prototype.hasOwnProperty.call(e,t))))throw new Error(`parent schema must have dependencies of ${i}: ${s.join(",")}`);if(o.validateSchema){if(!o.validateSchema(e[i])){const e=`keyword "${i}" value is invalid at path "${r}": `+n.errorsText(o.validateSchema.errors);if("log"!==t.validateSchema)throw new Error(e);n.logger.error(e)}}}},62795:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.extendSubschemaMode=t.extendSubschemaData=t.getSubschema=void 0;const r=n(15923),o=n(91571);t.getSubschema=function(e,{keyword:t,schemaProp:n,schema:i,schemaPath:s,errSchemaPath:a,topSchemaRef:u}){if(void 0!==t&&void 0!==i)throw new Error('both "keyword" and "schema" passed, only one allowed');if(void 0!==t){const i=e.schema[t];return void 0===n?{schema:i,schemaPath:r._`${e.schemaPath}${(0,r.getProperty)(t)}`,errSchemaPath:`${e.errSchemaPath}/${t}`}:{schema:i[n],schemaPath:r._`${e.schemaPath}${(0,r.getProperty)(t)}${(0,r.getProperty)(n)}`,errSchemaPath:`${e.errSchemaPath}/${t}/${(0,o.escapeFragment)(n)}`}}if(void 0!==i){if(void 0===s||void 0===a||void 0===u)throw new Error('"schemaPath", "errSchemaPath" and "topSchemaRef" are required with "schema"');return{schema:i,schemaPath:s,topSchemaRef:u,errSchemaPath:a}}throw new Error('either "keyword" or "schema" must be passed')},t.extendSubschemaData=function(e,t,{dataProp:n,dataPropType:i,data:s,dataTypes:a,propertyName:u}){if(void 0!==s&&void 0!==n)throw new Error('both "data" and "dataProp" passed, only one allowed');const{gen:c}=t;if(void 0!==n){const{errorPath:s,dataPathArr:a,opts:u}=t;l(c.let("data",r._`${t.data}${(0,r.getProperty)(n)}`,!0)),e.errorPath=r.str`${s}${(0,o.getErrorPath)(n,i,u.jsPropertySyntax)}`,e.parentDataProperty=r._`${n}`,e.dataPathArr=[...a,e.parentDataProperty]}if(void 0!==s){l(s instanceof r.Name?s:c.let("data",s,!0)),void 0!==u&&(e.propertyName=u)}function l(n){e.data=n,e.dataLevel=t.dataLevel+1,e.dataTypes=[],t.definedProperties=new Set,e.parentData=t.data,e.dataNames=[...t.dataNames,n]}a&&(e.dataTypes=a)},t.extendSubschemaMode=function(e,{jtdDiscriminator:t,jtdMetadata:n,compositeRule:r,createErrors:o,allErrors:i}){void 0!==r&&(e.compositeRule=r),void 0!==o&&(e.createErrors=o),void 0!==i&&(e.allErrors=i),e.jtdDiscriminator=t,e.jtdMetadata=n}},49241:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.CodeGen=t.Name=t.nil=t.stringify=t.str=t._=t.KeywordCxt=void 0;var r=n(4998);Object.defineProperty(t,"KeywordCxt",{enumerable:!0,get:function(){return r.KeywordCxt}});var o=n(15923);Object.defineProperty(t,"_",{enumerable:!0,get:function(){return o._}}),Object.defineProperty(t,"str",{enumerable:!0,get:function(){return o.str}}),Object.defineProperty(t,"stringify",{enumerable:!0,get:function(){return o.stringify}}),Object.defineProperty(t,"nil",{enumerable:!0,get:function(){return o.nil}}),Object.defineProperty(t,"Name",{enumerable:!0,get:function(){return o.Name}}),Object.defineProperty(t,"CodeGen",{enumerable:!0,get:function(){return o.CodeGen}});const i=n(14282),s=n(24186),a=n(22825),u=n(76968),c=n(15923),l=n(48147),f=n(31411),d=n(91571),h=n(338),p=n(32726),m=(e,t)=>new RegExp(e,t);m.code="new RegExp";const g=["removeAdditional","useDefaults","coerceTypes"],y=new Set(["validate","serialize","parse","wrapper","root","schema","keyword","pattern","formats","validate$data","func","obj","Error"]),v={errorDataPath:"",format:"`validateFormats: false` can be used instead.",nullable:'"nullable" keyword is supported by default.',jsonPointers:"Deprecated jsPropertySyntax can be used instead.",extendRefs:"Deprecated ignoreKeywordsWithRef can be used instead.",missingRefs:"Pass empty schema with $id that should be ignored to ajv.addSchema.",processCode:"Use option `code: {process: (code, schemaEnv: object) => string}`",sourceCode:"Use option `code: {source: true}`",strictDefaults:"It is default now, see option `strict`.",strictKeywords:"It is default now, see option `strict`.",uniqueItems:'"uniqueItems" keyword is always validated.',unknownFormats:"Disable strict mode or pass `true` to `ajv.addFormat` (or `formats` option).",cache:"Map is used as cache, schema object as key.",serialize:"Map is used as cache, schema object as key.",ajvErrors:"It is default now."},b={ignoreKeywordsWithRef:"",jsPropertySyntax:"",unicode:'"minLength"/"maxLength" account for unicode characters by default.'};function _(e){var t,n,r,o,i,s,a,u,c,l,f,d,h,g,y,v,b,_,w,E,k,x,D,S,C;const O=e.strict,$=null===(t=e.code)||void 0===t?void 0:t.optimize,A=!0===$||void 0===$?1:$||0,P=null!==(r=null===(n=e.code)||void 0===n?void 0:n.regExp)&&void 0!==r?r:m,j=null!==(o=e.uriResolver)&&void 0!==o?o:p.default;return{strictSchema:null===(s=null!==(i=e.strictSchema)&&void 0!==i?i:O)||void 0===s||s,strictNumbers:null===(u=null!==(a=e.strictNumbers)&&void 0!==a?a:O)||void 0===u||u,strictTypes:null!==(l=null!==(c=e.strictTypes)&&void 0!==c?c:O)&&void 0!==l?l:"log",strictTuples:null!==(d=null!==(f=e.strictTuples)&&void 0!==f?f:O)&&void 0!==d?d:"log",strictRequired:null!==(g=null!==(h=e.strictRequired)&&void 0!==h?h:O)&&void 0!==g&&g,code:e.code?{...e.code,optimize:A,regExp:P}:{optimize:A,regExp:P},loopRequired:null!==(y=e.loopRequired)&&void 0!==y?y:200,loopEnum:null!==(v=e.loopEnum)&&void 0!==v?v:200,meta:null===(b=e.meta)||void 0===b||b,messages:null===(_=e.messages)||void 0===_||_,inlineRefs:null===(w=e.inlineRefs)||void 0===w||w,schemaId:null!==(E=e.schemaId)&&void 0!==E?E:"$id",addUsedSchema:null===(k=e.addUsedSchema)||void 0===k||k,validateSchema:null===(x=e.validateSchema)||void 0===x||x,validateFormats:null===(D=e.validateFormats)||void 0===D||D,unicodeRegExp:null===(S=e.unicodeRegExp)||void 0===S||S,int32range:null===(C=e.int32range)||void 0===C||C,uriResolver:j}}class w{constructor(e={}){this.schemas={},this.refs={},this.formats={},this._compilations=new Set,this._loading={},this._cache=new Map,e=this.opts={...e,..._(e)};const{es5:t,lines:n}=this.opts.code;this.scope=new c.ValueScope({scope:{},prefixes:y,es5:t,lines:n}),this.logger=function(e){if(!1===e)return O;if(void 0===e)return console;if(e.log&&e.warn&&e.error)return e;throw new Error("logger must implement log, warn and error methods")}(e.logger);const r=e.validateFormats;e.validateFormats=!1,this.RULES=(0,a.getRules)(),E.call(this,v,e,"NOT SUPPORTED"),E.call(this,b,e,"DEPRECATED","warn"),this._metaOpts=C.call(this),e.formats&&D.call(this),this._addVocabularies(),this._addDefaultMetaSchema(),e.keywords&&S.call(this,e.keywords),"object"==typeof e.meta&&this.addMetaSchema(e.meta),x.call(this),e.validateFormats=r}_addVocabularies(){this.addKeyword("$async")}_addDefaultMetaSchema(){const{$data:e,meta:t,schemaId:n}=this.opts;let r=h;"id"===n&&(r={...h},r.id=r.$id,delete r.$id),t&&e&&this.addMetaSchema(r,r[n],!1)}defaultMeta(){const{meta:e,schemaId:t}=this.opts;return this.opts.defaultMeta="object"==typeof e?e[t]||e:void 0}validate(e,t){let n;if("string"==typeof e){if(n=this.getSchema(e),!n)throw new Error(`no schema with key or ref "${e}"`)}else n=this.compile(e);const r=n(t);return"$async"in n||(this.errors=n.errors),r}compile(e,t){const n=this._addSchema(e,t);return n.validate||this._compileSchemaEnv(n)}compileAsync(e,t){if("function"!=typeof this.opts.loadSchema)throw new Error("options.loadSchema should be a function");const{loadSchema:n}=this.opts;return r.call(this,e,t);async function r(e,t){await o.call(this,e.$schema);const n=this._addSchema(e,t);return n.validate||i.call(this,n)}async function o(e){e&&!this.getSchema(e)&&await r.call(this,{$ref:e},!0)}async function i(e){try{return this._compileSchemaEnv(e)}catch(t){if(!(t instanceof s.default))throw t;return a.call(this,t),await u.call(this,t.missingSchema),i.call(this,e)}}function a({missingSchema:e,missingRef:t}){if(this.refs[e])throw new Error(`AnySchema ${e} is loaded but ${t} cannot be resolved`)}async function u(e){const n=await c.call(this,e);this.refs[e]||await o.call(this,n.$schema),this.refs[e]||this.addSchema(n,e,t)}async function c(e){const t=this._loading[e];if(t)return t;try{return await(this._loading[e]=n(e))}finally{delete this._loading[e]}}}addSchema(e,t,n,r=this.opts.validateSchema){if(Array.isArray(e)){for(const t of e)this.addSchema(t,void 0,n,r);return this}let o;if("object"==typeof e){const{schemaId:t}=this.opts;if(o=e[t],void 0!==o&&"string"!=typeof o)throw new Error(`schema ${t} must be string`)}return t=(0,l.normalizeId)(t||o),this._checkUnique(t),this.schemas[t]=this._addSchema(e,n,t,r,!0),this}addMetaSchema(e,t,n=this.opts.validateSchema){return this.addSchema(e,t,!0,n),this}validateSchema(e,t){if("boolean"==typeof e)return!0;let n;if(n=e.$schema,void 0!==n&&"string"!=typeof n)throw new Error("$schema must be a string");if(n=n||this.opts.defaultMeta||this.defaultMeta(),!n)return this.logger.warn("meta-schema not available"),this.errors=null,!0;const r=this.validate(n,e);if(!r&&t){const e="schema is invalid: "+this.errorsText();if("log"!==this.opts.validateSchema)throw new Error(e);this.logger.error(e)}return r}getSchema(e){let t;for(;"string"==typeof(t=k.call(this,e));)e=t;if(void 0===t){const{schemaId:n}=this.opts,r=new u.SchemaEnv({schema:{},schemaId:n});if(t=u.resolveSchema.call(this,r,e),!t)return;this.refs[e]=t}return t.validate||this._compileSchemaEnv(t)}removeSchema(e){if(e instanceof RegExp)return this._removeAllSchemas(this.schemas,e),this._removeAllSchemas(this.refs,e),this;switch(typeof e){case"undefined":return this._removeAllSchemas(this.schemas),this._removeAllSchemas(this.refs),this._cache.clear(),this;case"string":{const t=k.call(this,e);return"object"==typeof t&&this._cache.delete(t.schema),delete this.schemas[e],delete this.refs[e],this}case"object":{const t=e;this._cache.delete(t);let n=e[this.opts.schemaId];return n&&(n=(0,l.normalizeId)(n),delete this.schemas[n],delete this.refs[n]),this}default:throw new Error("ajv.removeSchema: invalid parameter")}}addVocabulary(e){for(const t of e)this.addKeyword(t);return this}addKeyword(e,t){let n;if("string"==typeof e)n=e,"object"==typeof t&&(this.logger.warn("these parameters are deprecated, see docs for addKeyword"),t.keyword=n);else{if("object"!=typeof e||void 0!==t)throw new Error("invalid addKeywords parameters");if(n=(t=e).keyword,Array.isArray(n)&&!n.length)throw new Error("addKeywords: keyword must be string or non-empty array")}if(A.call(this,n,t),!t)return(0,d.eachItem)(n,(e=>P.call(this,e))),this;F.call(this,t);const r={...t,type:(0,f.getJSONTypes)(t.type),schemaType:(0,f.getJSONTypes)(t.schemaType)};return(0,d.eachItem)(n,0===r.type.length?e=>P.call(this,e,r):e=>r.type.forEach((t=>P.call(this,e,r,t)))),this}getKeyword(e){const t=this.RULES.all[e];return"object"==typeof t?t.definition:!!t}removeKeyword(e){const{RULES:t}=this;delete t.keywords[e],delete t.all[e];for(const n of t.rules){const t=n.rules.findIndex((t=>t.keyword===e));t>=0&&n.rules.splice(t,1)}return this}addFormat(e,t){return"string"==typeof t&&(t=new RegExp(t)),this.formats[e]=t,this}errorsText(e=this.errors,{separator:t=", ",dataVar:n="data"}={}){return e&&0!==e.length?e.map((e=>`${n}${e.instancePath} ${e.message}`)).reduce(((e,n)=>e+t+n)):"No errors"}$dataMetaSchema(e,t){const n=this.RULES.all;e=JSON.parse(JSON.stringify(e));for(const r of t){const t=r.split("/").slice(1);let o=e;for(const e of t)o=o[e];for(const e in n){const t=n[e];if("object"!=typeof t)continue;const{$data:r}=t.definition,i=o[e];r&&i&&(o[e]=N(i))}}return e}_removeAllSchemas(e,t){for(const n in e){const r=e[n];t&&!t.test(n)||("string"==typeof r?delete e[n]:r&&!r.meta&&(this._cache.delete(r.schema),delete e[n]))}}_addSchema(e,t,n,r=this.opts.validateSchema,o=this.opts.addUsedSchema){let i;const{schemaId:s}=this.opts;if("object"==typeof e)i=e[s];else{if(this.opts.jtd)throw new Error("schema must be object");if("boolean"!=typeof e)throw new Error("schema must be object or boolean")}let a=this._cache.get(e);if(void 0!==a)return a;n=(0,l.normalizeId)(i||n);const c=l.getSchemaRefs.call(this,e,n);return a=new u.SchemaEnv({schema:e,schemaId:s,meta:t,baseId:n,localRefs:c}),this._cache.set(a.schema,a),o&&!n.startsWith("#")&&(n&&this._checkUnique(n),this.refs[n]=a),r&&this.validateSchema(e,!0),a}_checkUnique(e){if(this.schemas[e]||this.refs[e])throw new Error(`schema with key or id "${e}" already exists`)}_compileSchemaEnv(e){if(e.meta?this._compileMetaSchema(e):u.compileSchema.call(this,e),!e.validate)throw new Error("ajv implementation error");return e.validate}_compileMetaSchema(e){const t=this.opts;this.opts=this._metaOpts;try{u.compileSchema.call(this,e)}finally{this.opts=t}}}function E(e,t,n,r="error"){for(const o in e){const i=o;i in t&&this.logger[r](`${n}: option ${o}. ${e[i]}`)}}function k(e){return e=(0,l.normalizeId)(e),this.schemas[e]||this.refs[e]}function x(){const e=this.opts.schemas;if(e)if(Array.isArray(e))this.addSchema(e);else for(const t in e)this.addSchema(e[t],t)}function D(){for(const e in this.opts.formats){const t=this.opts.formats[e];t&&this.addFormat(e,t)}}function S(e){if(Array.isArray(e))this.addVocabulary(e);else{this.logger.warn("keywords option as map is deprecated, pass array");for(const t in e){const n=e[t];n.keyword||(n.keyword=t),this.addKeyword(n)}}}function C(){const e={...this.opts};for(const t of g)delete e[t];return e}w.ValidationError=i.default,w.MissingRefError=s.default,t.default=w;const O={log(){},warn(){},error(){}};const $=/^[a-z_$][a-z0-9_$:-]*$/i;function A(e,t){const{RULES:n}=this;if((0,d.eachItem)(e,(e=>{if(n.keywords[e])throw new Error(`Keyword ${e} is already defined`);if(!$.test(e))throw new Error(`Keyword ${e} has invalid name`)})),t&&t.$data&&!("code"in t)&&!("validate"in t))throw new Error('$data keyword must have "code" or "validate" function')}function P(e,t,n){var r;const o=null==t?void 0:t.post;if(n&&o)throw new Error('keyword with "post" flag cannot have "type"');const{RULES:i}=this;let s=o?i.post:i.rules.find((({type:e})=>e===n));if(s||(s={type:n,rules:[]},i.rules.push(s)),i.keywords[e]=!0,!t)return;const a={keyword:e,definition:{...t,type:(0,f.getJSONTypes)(t.type),schemaType:(0,f.getJSONTypes)(t.schemaType)}};t.before?j.call(this,s,a,t.before):s.rules.push(a),i.all[e]=a,null===(r=t.implements)||void 0===r||r.forEach((e=>this.addKeyword(e)))}function j(e,t,n){const r=e.rules.findIndex((e=>e.keyword===n));r>=0?e.rules.splice(r,0,t):(e.rules.push(t),this.logger.warn(`rule ${n} is not defined`))}function F(e){let{metaSchema:t}=e;void 0!==t&&(e.$data&&this.opts.$data&&(t=N(t)),e.validateSchema=this.compile(t,!0))}const I={$ref:"https://raw.githubusercontent.com/ajv-validator/ajv/master/lib/refs/data.json#"};function N(e){return{anyOf:[e,I]}}},99412:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(47322),o=n(70764),i=n(5124),s=n(96666),a=n(43182),u=n(71637),c=n(27889),l=n(83575),f=["/properties"];t.default=function(e){return[r,o,i,s,a,t(this,u),c,t(this,l)].forEach((e=>this.addMetaSchema(e,void 0,!1))),this;function t(t,n){return e?t.$dataMetaSchema(n,f):n}}},10487:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(69378);r.code='require("ajv/dist/runtime/equal").default',t.default=r},77079:(e,t)=>{"use strict";function n(e){const t=e.length;let n,r=0,o=0;for(;o<t;)r++,n=e.charCodeAt(o++),n>=55296&&n<=56319&&o<t&&(n=e.charCodeAt(o),56320==(64512&n)&&o++);return r}Object.defineProperty(t,"__esModule",{value:!0}),t.default=n,n.code='require("ajv/dist/runtime/ucs2length").default'},32726:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(12854);r.code='require("ajv/dist/runtime/uri").default',t.default=r},14282:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});class n extends Error{constructor(e){super("validation failed"),this.errors=e,this.ajv=this.validation=!0}}t.default=n},78789:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.validateAdditionalItems=void 0;const r=n(15923),o=n(91571),i={keyword:"additionalItems",type:"array",schemaType:["boolean","object"],before:"uniqueItems",error:{message:({params:{len:e}})=>r.str`must NOT have more than ${e} items`,params:({params:{len:e}})=>r._`{limit: ${e}}`},code(e){const{parentSchema:t,it:n}=e,{items:r}=t;Array.isArray(r)?s(e,r):(0,o.checkStrictMode)(n,'"additionalItems" is ignored when "items" is not an array of schemas')}};function s(e,t){const{gen:n,schema:i,data:s,keyword:a,it:u}=e;u.items=!0;const c=n.const("len",r._`${s}.length`);if(!1===i)e.setParams({len:t.length}),e.pass(r._`${c} <= ${t.length}`);else if("object"==typeof i&&!(0,o.alwaysValidSchema)(u,i)){const i=n.var("valid",r._`${c} <= ${t.length}`);n.if((0,r.not)(i),(()=>function(i){n.forRange("i",t.length,c,(t=>{e.subschema({keyword:a,dataProp:t,dataPropType:o.Type.Num},i),u.allErrors||n.if((0,r.not)(i),(()=>n.break()))}))}(i))),e.ok(i)}}t.validateAdditionalItems=s,t.default=i},12964:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(7861),o=n(15923),i=n(92115),s=n(91571),a={keyword:"additionalProperties",type:["object"],schemaType:["boolean","object"],allowUndefined:!0,trackErrors:!0,error:{message:"must NOT have additional properties",params:({params:e})=>o._`{additionalProperty: ${e.additionalProperty}}`},code(e){const{gen:t,schema:n,parentSchema:a,data:u,errsCount:c,it:l}=e;if(!c)throw new Error("ajv implementation error");const{allErrors:f,opts:d}=l;if(l.props=!0,"all"!==d.removeAdditional&&(0,s.alwaysValidSchema)(l,n))return;const h=(0,r.allSchemaProperties)(a.properties),p=(0,r.allSchemaProperties)(a.patternProperties);function m(e){t.code(o._`delete ${u}[${e}]`)}function g(r){if("all"===d.removeAdditional||d.removeAdditional&&!1===n)m(r);else{if(!1===n)return e.setParams({additionalProperty:r}),e.error(),void(f||t.break());if("object"==typeof n&&!(0,s.alwaysValidSchema)(l,n)){const n=t.name("valid");"failing"===d.removeAdditional?(y(r,n,!1),t.if((0,o.not)(n),(()=>{e.reset(),m(r)}))):(y(r,n),f||t.if((0,o.not)(n),(()=>t.break())))}}}function y(t,n,r){const o={keyword:"additionalProperties",dataProp:t,dataPropType:s.Type.Str};!1===r&&Object.assign(o,{compositeRule:!0,createErrors:!1,allErrors:!1}),e.subschema(o,n)}t.forIn("key",u,(n=>{h.length||p.length?t.if(function(n){let i;if(h.length>8){const e=(0,s.schemaRefOrVal)(l,a.properties,"properties");i=(0,r.isOwnProperty)(t,e,n)}else i=h.length?(0,o.or)(...h.map((e=>o._`${n} === ${e}`))):o.nil;return p.length&&(i=(0,o.or)(i,...p.map((t=>o._`${(0,r.usePattern)(e,t)}.test(${n})`)))),(0,o.not)(i)}(n),(()=>g(n))):g(n)})),e.ok(o._`${c} === ${i.default.errors}`)}};t.default=a},9076:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(91571),o={keyword:"allOf",schemaType:"array",code(e){const{gen:t,schema:n,it:o}=e;if(!Array.isArray(n))throw new Error("ajv implementation error");const i=t.name("valid");n.forEach(((t,n)=>{if((0,r.alwaysValidSchema)(o,t))return;const s=e.subschema({keyword:"allOf",schemaProp:n},i);e.ok(i),e.mergeEvaluated(s)}))}};t.default=o},17361:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r={keyword:"anyOf",schemaType:"array",trackErrors:!0,code:n(7861).validateUnion,error:{message:"must match a schema in anyOf"}};t.default=r},25483:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(15923),o=n(91571),i={keyword:"contains",type:"array",schemaType:["object","boolean"],before:"uniqueItems",trackErrors:!0,error:{message:({params:{min:e,max:t}})=>void 0===t?r.str`must contain at least ${e} valid item(s)`:r.str`must contain at least ${e} and no more than ${t} valid item(s)`,params:({params:{min:e,max:t}})=>void 0===t?r._`{minContains: ${e}}`:r._`{minContains: ${e}, maxContains: ${t}}`},code(e){const{gen:t,schema:n,parentSchema:i,data:s,it:a}=e;let u,c;const{minContains:l,maxContains:f}=i;a.opts.next?(u=void 0===l?1:l,c=f):u=1;const d=t.const("len",r._`${s}.length`);if(e.setParams({min:u,max:c}),void 0===c&&0===u)return void(0,o.checkStrictMode)(a,'"minContains" == 0 without "maxContains": "contains" keyword ignored');if(void 0!==c&&u>c)return(0,o.checkStrictMode)(a,'"minContains" > "maxContains" is always invalid'),void e.fail();if((0,o.alwaysValidSchema)(a,n)){let t=r._`${d} >= ${u}`;return void 0!==c&&(t=r._`${t} && ${d} <= ${c}`),void e.pass(t)}a.items=!0;const h=t.name("valid");function p(){const e=t.name("_valid"),n=t.let("count",0);m(e,(()=>t.if(e,(()=>function(e){t.code(r._`${e}++`),void 0===c?t.if(r._`${e} >= ${u}`,(()=>t.assign(h,!0).break())):(t.if(r._`${e} > ${c}`,(()=>t.assign(h,!1).break())),1===u?t.assign(h,!0):t.if(r._`${e} >= ${u}`,(()=>t.assign(h,!0))))}(n)))))}function m(n,r){t.forRange("i",0,d,(t=>{e.subschema({keyword:"contains",dataProp:t,dataPropType:o.Type.Num,compositeRule:!0},n),r()}))}void 0===c&&1===u?m(h,(()=>t.if(h,(()=>t.break())))):0===u?(t.let(h,!0),void 0!==c&&t.if(r._`${s}.length > 0`,p)):(t.let(h,!1),p()),e.result(h,(()=>e.reset()))}};t.default=i},61958:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.validateSchemaDeps=t.validatePropertyDeps=t.error=void 0;const r=n(15923),o=n(91571),i=n(7861);t.error={message:({params:{property:e,depsCount:t,deps:n}})=>{const o=1===t?"property":"properties";return r.str`must have ${o} ${n} when property ${e} is present`},params:({params:{property:e,depsCount:t,deps:n,missingProperty:o}})=>r._`{property: ${e}, + missingProperty: ${o}, + depsCount: ${t}, + deps: ${n}}`};const s={keyword:"dependencies",type:"object",schemaType:"object",error:t.error,code(e){const[t,n]=function({schema:e}){const t={},n={};for(const r in e){if("__proto__"===r)continue;(Array.isArray(e[r])?t:n)[r]=e[r]}return[t,n]}(e);a(e,t),u(e,n)}};function a(e,t=e.schema){const{gen:n,data:o,it:s}=e;if(0===Object.keys(t).length)return;const a=n.let("missing");for(const u in t){const c=t[u];if(0===c.length)continue;const l=(0,i.propertyInData)(n,o,u,s.opts.ownProperties);e.setParams({property:u,depsCount:c.length,deps:c.join(", ")}),s.allErrors?n.if(l,(()=>{for(const t of c)(0,i.checkReportMissingProp)(e,t)})):(n.if(r._`${l} && (${(0,i.checkMissingProp)(e,c,a)})`),(0,i.reportMissingProp)(e,a),n.else())}}function u(e,t=e.schema){const{gen:n,data:r,keyword:s,it:a}=e,u=n.name("valid");for(const c in t)(0,o.alwaysValidSchema)(a,t[c])||(n.if((0,i.propertyInData)(n,r,c,a.opts.ownProperties),(()=>{const t=e.subschema({keyword:s,schemaProp:c},u);e.mergeValidEvaluated(t,u)}),(()=>n.var(u,!0))),e.ok(u))}t.validatePropertyDeps=a,t.validateSchemaDeps=u,t.default=s},94341:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(61958),o={keyword:"dependentSchemas",type:"object",schemaType:"object",code:e=>(0,r.validateSchemaDeps)(e)};t.default=o},18686:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(15923),o=n(91571),i={keyword:"if",schemaType:["object","boolean"],trackErrors:!0,error:{message:({params:e})=>r.str`must match "${e.ifClause}" schema`,params:({params:e})=>r._`{failingKeyword: ${e.ifClause}}`},code(e){const{gen:t,parentSchema:n,it:i}=e;void 0===n.then&&void 0===n.else&&(0,o.checkStrictMode)(i,'"if" without "then" and "else" is ignored');const a=s(i,"then"),u=s(i,"else");if(!a&&!u)return;const c=t.let("valid",!0),l=t.name("_valid");if(function(){const t=e.subschema({keyword:"if",compositeRule:!0,createErrors:!1,allErrors:!1},l);e.mergeEvaluated(t)}(),e.reset(),a&&u){const n=t.let("ifClause");e.setParams({ifClause:n}),t.if(l,f("then",n),f("else",n))}else a?t.if(l,f("then")):t.if((0,r.not)(l),f("else"));function f(n,o){return()=>{const i=e.subschema({keyword:n},l);t.assign(c,l),e.mergeValidEvaluated(i,c),o?t.assign(o,r._`${n}`):e.setParams({ifClause:n})}}e.pass(c,(()=>e.error(!0)))}};function s(e,t){const n=e.schema[t];return void 0!==n&&!(0,o.alwaysValidSchema)(e,n)}t.default=i},74741:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(78789),o=n(65068),i=n(9256),s=n(14882),a=n(25483),u=n(61958),c=n(88806),l=n(12964),f=n(97558),d=n(52914),h=n(69546),p=n(17361),m=n(74872),g=n(9076),y=n(18686),v=n(15269);t.default=function(e=!1){const t=[h.default,p.default,m.default,g.default,y.default,v.default,c.default,l.default,u.default,f.default,d.default];return e?t.push(o.default,s.default):t.push(r.default,i.default),t.push(a.default),t}},9256:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.validateTuple=void 0;const r=n(15923),o=n(91571),i=n(7861),s={keyword:"items",type:"array",schemaType:["object","array","boolean"],before:"uniqueItems",code(e){const{schema:t,it:n}=e;if(Array.isArray(t))return a(e,"additionalItems",t);n.items=!0,(0,o.alwaysValidSchema)(n,t)||e.ok((0,i.validateArray)(e))}};function a(e,t,n=e.schema){const{gen:i,parentSchema:s,data:a,keyword:u,it:c}=e;!function(e){const{opts:r,errSchemaPath:i}=c,s=n.length,a=s===e.minItems&&(s===e.maxItems||!1===e[t]);if(r.strictTuples&&!a){const e=`"${u}" is ${s}-tuple, but minItems or maxItems/${t} are not specified or different at path "${i}"`;(0,o.checkStrictMode)(c,e,r.strictTuples)}}(s),c.opts.unevaluated&&n.length&&!0!==c.items&&(c.items=o.mergeEvaluated.items(i,n.length,c.items));const l=i.name("valid"),f=i.const("len",r._`${a}.length`);n.forEach(((t,n)=>{(0,o.alwaysValidSchema)(c,t)||(i.if(r._`${f} > ${n}`,(()=>e.subschema({keyword:u,schemaProp:n,dataProp:n},l))),e.ok(l))}))}t.validateTuple=a,t.default=s},14882:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(15923),o=n(91571),i=n(7861),s=n(78789),a={keyword:"items",type:"array",schemaType:["object","boolean"],before:"uniqueItems",error:{message:({params:{len:e}})=>r.str`must NOT have more than ${e} items`,params:({params:{len:e}})=>r._`{limit: ${e}}`},code(e){const{schema:t,parentSchema:n,it:r}=e,{prefixItems:a}=n;r.items=!0,(0,o.alwaysValidSchema)(r,t)||(a?(0,s.validateAdditionalItems)(e,a):e.ok((0,i.validateArray)(e)))}};t.default=a},69546:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(91571),o={keyword:"not",schemaType:["object","boolean"],trackErrors:!0,code(e){const{gen:t,schema:n,it:o}=e;if((0,r.alwaysValidSchema)(o,n))return void e.fail();const i=t.name("valid");e.subschema({keyword:"not",compositeRule:!0,createErrors:!1,allErrors:!1},i),e.failResult(i,(()=>e.reset()),(()=>e.error()))},error:{message:"must NOT be valid"}};t.default=o},74872:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(15923),o=n(91571),i={keyword:"oneOf",schemaType:"array",trackErrors:!0,error:{message:"must match exactly one schema in oneOf",params:({params:e})=>r._`{passingSchemas: ${e.passing}}`},code(e){const{gen:t,schema:n,parentSchema:i,it:s}=e;if(!Array.isArray(n))throw new Error("ajv implementation error");if(s.opts.discriminator&&i.discriminator)return;const a=n,u=t.let("valid",!1),c=t.let("passing",null),l=t.name("_valid");e.setParams({passing:c}),t.block((function(){a.forEach(((n,i)=>{let a;(0,o.alwaysValidSchema)(s,n)?t.var(l,!0):a=e.subschema({keyword:"oneOf",schemaProp:i,compositeRule:!0},l),i>0&&t.if(r._`${l} && ${u}`).assign(u,!1).assign(c,r._`[${c}, ${i}]`).else(),t.if(l,(()=>{t.assign(u,!0),t.assign(c,i),a&&e.mergeEvaluated(a,r.Name)}))}))})),e.result(u,(()=>e.reset()),(()=>e.error(!0)))}};t.default=i},52914:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(7861),o=n(15923),i=n(91571),s=n(91571),a={keyword:"patternProperties",type:"object",schemaType:"object",code(e){const{gen:t,schema:n,data:a,parentSchema:u,it:c}=e,{opts:l}=c,f=(0,r.allSchemaProperties)(n),d=f.filter((e=>(0,i.alwaysValidSchema)(c,n[e])));if(0===f.length||d.length===f.length&&(!c.opts.unevaluated||!0===c.props))return;const h=l.strictSchema&&!l.allowMatchingProperties&&u.properties,p=t.name("valid");!0===c.props||c.props instanceof o.Name||(c.props=(0,s.evaluatedPropsToName)(t,c.props));const{props:m}=c;function g(e){for(const t in h)new RegExp(e).test(t)&&(0,i.checkStrictMode)(c,`property ${t} matches pattern ${e} (use allowMatchingProperties)`)}function y(n){t.forIn("key",a,(i=>{t.if(o._`${(0,r.usePattern)(e,n)}.test(${i})`,(()=>{const r=d.includes(n);r||e.subschema({keyword:"patternProperties",schemaProp:n,dataProp:i,dataPropType:s.Type.Str},p),c.opts.unevaluated&&!0!==m?t.assign(o._`${m}[${i}]`,!0):r||c.allErrors||t.if((0,o.not)(p),(()=>t.break()))}))}))}!function(){for(const e of f)h&&g(e),c.allErrors?y(e):(t.var(p,!0),y(e),t.if(p))}()}};t.default=a},65068:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(9256),o={keyword:"prefixItems",type:"array",schemaType:["array"],before:"uniqueItems",code:e=>(0,r.validateTuple)(e,"items")};t.default=o},97558:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(4998),o=n(7861),i=n(91571),s=n(12964),a={keyword:"properties",type:"object",schemaType:"object",code(e){const{gen:t,schema:n,parentSchema:a,data:u,it:c}=e;"all"===c.opts.removeAdditional&&void 0===a.additionalProperties&&s.default.code(new r.KeywordCxt(c,s.default,"additionalProperties"));const l=(0,o.allSchemaProperties)(n);for(const r of l)c.definedProperties.add(r);c.opts.unevaluated&&l.length&&!0!==c.props&&(c.props=i.mergeEvaluated.props(t,(0,i.toHash)(l),c.props));const f=l.filter((e=>!(0,i.alwaysValidSchema)(c,n[e])));if(0===f.length)return;const d=t.name("valid");for(const r of f)h(r)?p(r):(t.if((0,o.propertyInData)(t,u,r,c.opts.ownProperties)),p(r),c.allErrors||t.else().var(d,!0),t.endIf()),e.it.definedProperties.add(r),e.ok(d);function h(e){return c.opts.useDefaults&&!c.compositeRule&&void 0!==n[e].default}function p(t){e.subschema({keyword:"properties",schemaProp:t,dataProp:t},d)}}};t.default=a},88806:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(15923),o=n(91571),i={keyword:"propertyNames",type:"object",schemaType:["object","boolean"],error:{message:"property name must be valid",params:({params:e})=>r._`{propertyName: ${e.propertyName}}`},code(e){const{gen:t,schema:n,data:i,it:s}=e;if((0,o.alwaysValidSchema)(s,n))return;const a=t.name("valid");t.forIn("key",i,(n=>{e.setParams({propertyName:n}),e.subschema({keyword:"propertyNames",data:n,dataTypes:["string"],propertyName:n,compositeRule:!0},a),t.if((0,r.not)(a),(()=>{e.error(!0),s.allErrors||t.break()}))})),e.ok(a)}};t.default=i},15269:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(91571),o={keyword:["then","else"],schemaType:["object","boolean"],code({keyword:e,parentSchema:t,it:n}){void 0===t.if&&(0,r.checkStrictMode)(n,`"${e}" without "if" is ignored`)}};t.default=o},7861:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.validateUnion=t.validateArray=t.usePattern=t.callValidateCode=t.schemaProperties=t.allSchemaProperties=t.noPropertyInData=t.propertyInData=t.isOwnProperty=t.hasPropFunc=t.reportMissingProp=t.checkMissingProp=t.checkReportMissingProp=void 0;const r=n(15923),o=n(91571),i=n(92115),s=n(91571);function a(e){return e.scopeValue("func",{ref:Object.prototype.hasOwnProperty,code:r._`Object.prototype.hasOwnProperty`})}function u(e,t,n){return r._`${a(e)}.call(${t}, ${n})`}function c(e,t,n,o){const i=r._`${t}${(0,r.getProperty)(n)} === undefined`;return o?(0,r.or)(i,(0,r.not)(u(e,t,n))):i}function l(e){return e?Object.keys(e).filter((e=>"__proto__"!==e)):[]}t.checkReportMissingProp=function(e,t){const{gen:n,data:o,it:i}=e;n.if(c(n,o,t,i.opts.ownProperties),(()=>{e.setParams({missingProperty:r._`${t}`},!0),e.error()}))},t.checkMissingProp=function({gen:e,data:t,it:{opts:n}},o,i){return(0,r.or)(...o.map((o=>(0,r.and)(c(e,t,o,n.ownProperties),r._`${i} = ${o}`))))},t.reportMissingProp=function(e,t){e.setParams({missingProperty:t},!0),e.error()},t.hasPropFunc=a,t.isOwnProperty=u,t.propertyInData=function(e,t,n,o){const i=r._`${t}${(0,r.getProperty)(n)} !== undefined`;return o?r._`${i} && ${u(e,t,n)}`:i},t.noPropertyInData=c,t.allSchemaProperties=l,t.schemaProperties=function(e,t){return l(t).filter((n=>!(0,o.alwaysValidSchema)(e,t[n])))},t.callValidateCode=function({schemaCode:e,data:t,it:{gen:n,topSchemaRef:o,schemaPath:s,errorPath:a},it:u},c,l,f){const d=f?r._`${e}, ${t}, ${o}${s}`:t,h=[[i.default.instancePath,(0,r.strConcat)(i.default.instancePath,a)],[i.default.parentData,u.parentData],[i.default.parentDataProperty,u.parentDataProperty],[i.default.rootData,i.default.rootData]];u.opts.dynamicRef&&h.push([i.default.dynamicAnchors,i.default.dynamicAnchors]);const p=r._`${d}, ${n.object(...h)}`;return l!==r.nil?r._`${c}.call(${l}, ${p})`:r._`${c}(${p})`};const f=r._`new RegExp`;t.usePattern=function({gen:e,it:{opts:t}},n){const o=t.unicodeRegExp?"u":"",{regExp:i}=t.code,a=i(n,o);return e.scopeValue("pattern",{key:a.toString(),ref:a,code:r._`${"new RegExp"===i.code?f:(0,s.useFunc)(e,i)}(${n}, ${o})`})},t.validateArray=function(e){const{gen:t,data:n,keyword:i,it:s}=e,a=t.name("valid");if(s.allErrors){const e=t.let("valid",!0);return u((()=>t.assign(e,!1))),e}return t.var(a,!0),u((()=>t.break())),a;function u(s){const u=t.const("len",r._`${n}.length`);t.forRange("i",0,u,(n=>{e.subschema({keyword:i,dataProp:n,dataPropType:o.Type.Num},a),t.if((0,r.not)(a),s)}))}},t.validateUnion=function(e){const{gen:t,schema:n,keyword:i,it:s}=e;if(!Array.isArray(n))throw new Error("ajv implementation error");if(n.some((e=>(0,o.alwaysValidSchema)(s,e)))&&!s.opts.unevaluated)return;const a=t.let("valid",!1),u=t.name("_valid");t.block((()=>n.forEach(((n,o)=>{const s=e.subschema({keyword:i,schemaProp:o,compositeRule:!0},u);t.assign(a,r._`${a} || ${u}`);e.mergeValidEvaluated(s,u)||t.if((0,r.not)(a))})))),e.result(a,(()=>e.reset()),(()=>e.error(!0)))}},95923:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n={keyword:"id",code(){throw new Error('NOT SUPPORTED: keyword "id", use "$id" for schema ID')}};t.default=n},35479:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(95923),o=n(61905),i=["$schema","$id","$defs","$vocabulary",{keyword:"$comment"},"definitions",r.default,o.default];t.default=i},61905:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.callRef=t.getValidate=void 0;const r=n(24186),o=n(7861),i=n(15923),s=n(92115),a=n(76968),u=n(91571),c={keyword:"$ref",schemaType:"string",code(e){const{gen:t,schema:n,it:o}=e,{baseId:s,schemaEnv:u,validateName:c,opts:d,self:h}=o,{root:p}=u;if(("#"===n||"#/"===n)&&s===p.baseId)return function(){if(u===p)return f(e,c,u,u.$async);const n=t.scopeValue("root",{ref:p});return f(e,i._`${n}.validate`,p,p.$async)}();const m=a.resolveRef.call(h,p,s,n);if(void 0===m)throw new r.default(o.opts.uriResolver,s,n);return m instanceof a.SchemaEnv?function(t){const n=l(e,t);f(e,n,t,t.$async)}(m):function(r){const o=t.scopeValue("schema",!0===d.code.source?{ref:r,code:(0,i.stringify)(r)}:{ref:r}),s=t.name("valid"),a=e.subschema({schema:r,dataTypes:[],schemaPath:i.nil,topSchemaRef:o,errSchemaPath:n},s);e.mergeEvaluated(a),e.ok(s)}(m)}};function l(e,t){const{gen:n}=e;return t.validate?n.scopeValue("validate",{ref:t.validate}):i._`${n.scopeValue("wrapper",{ref:t})}.validate`}function f(e,t,n,r){const{gen:a,it:c}=e,{allErrors:l,schemaEnv:f,opts:d}=c,h=d.passContext?s.default.this:i.nil;function p(e){const t=i._`${e}.errors`;a.assign(s.default.vErrors,i._`${s.default.vErrors} === null ? ${t} : ${s.default.vErrors}.concat(${t})`),a.assign(s.default.errors,i._`${s.default.vErrors}.length`)}function m(e){var t;if(!c.opts.unevaluated)return;const r=null===(t=null==n?void 0:n.validate)||void 0===t?void 0:t.evaluated;if(!0!==c.props)if(r&&!r.dynamicProps)void 0!==r.props&&(c.props=u.mergeEvaluated.props(a,r.props,c.props));else{const t=a.var("props",i._`${e}.evaluated.props`);c.props=u.mergeEvaluated.props(a,t,c.props,i.Name)}if(!0!==c.items)if(r&&!r.dynamicItems)void 0!==r.items&&(c.items=u.mergeEvaluated.items(a,r.items,c.items));else{const t=a.var("items",i._`${e}.evaluated.items`);c.items=u.mergeEvaluated.items(a,t,c.items,i.Name)}}r?function(){if(!f.$async)throw new Error("async schema referenced by sync schema");const n=a.let("valid");a.try((()=>{a.code(i._`await ${(0,o.callValidateCode)(e,t,h)}`),m(t),l||a.assign(n,!0)}),(e=>{a.if(i._`!(${e} instanceof ${c.ValidationError})`,(()=>a.throw(e))),p(e),l||a.assign(n,!1)})),e.ok(n)}():e.result((0,o.callValidateCode)(e,t,h),(()=>m(t)),(()=>p(t)))}t.getValidate=l,t.callRef=f,t.default=c},86825:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(15923),o=n(91072),i=n(76968),s=n(91571),a={keyword:"discriminator",type:"object",schemaType:"object",error:{message:({params:{discrError:e,tagName:t}})=>e===o.DiscrError.Tag?`tag "${t}" must be string`:`value of tag "${t}" must be in oneOf`,params:({params:{discrError:e,tag:t,tagName:n}})=>r._`{error: ${e}, tag: ${n}, tagValue: ${t}}`},code(e){const{gen:t,data:n,schema:a,parentSchema:u,it:c}=e,{oneOf:l}=u;if(!c.opts.discriminator)throw new Error("discriminator: requires discriminator option");const f=a.propertyName;if("string"!=typeof f)throw new Error("discriminator: requires propertyName");if(a.mapping)throw new Error("discriminator: mapping is not supported");if(!l)throw new Error("discriminator: requires oneOf keyword");const d=t.let("valid",!1),h=t.const("tag",r._`${n}${(0,r.getProperty)(f)}`);function p(n){const o=t.name("valid"),i=e.subschema({keyword:"oneOf",schemaProp:n},o);return e.mergeEvaluated(i,r.Name),o}t.if(r._`typeof ${h} == "string"`,(()=>function(){const n=function(){var e;const t={},n=o(u);let r=!0;for(let u=0;u<l.length;u++){let t=l[u];(null==t?void 0:t.$ref)&&!(0,s.schemaHasRulesButRef)(t,c.self.RULES)&&(t=i.resolveRef.call(c.self,c.schemaEnv.root,c.baseId,null==t?void 0:t.$ref),t instanceof i.SchemaEnv&&(t=t.schema));const d=null===(e=null==t?void 0:t.properties)||void 0===e?void 0:e[f];if("object"!=typeof d)throw new Error(`discriminator: oneOf subschemas (or referenced schemas) must have "properties/${f}"`);r=r&&(n||o(t)),a(d,u)}if(!r)throw new Error(`discriminator: "${f}" must be required`);return t;function o({required:e}){return Array.isArray(e)&&e.includes(f)}function a(e,t){if(e.const)d(e.const,t);else{if(!e.enum)throw new Error(`discriminator: "properties/${f}" must have "const" or "enum"`);for(const n of e.enum)d(n,t)}}function d(e,n){if("string"!=typeof e||e in t)throw new Error(`discriminator: "${f}" values must be unique strings`);t[e]=n}}();t.if(!1);for(const e in n)t.elseIf(r._`${h} === ${e}`),t.assign(d,p(n[e]));t.else(),e.error(!1,{discrError:o.DiscrError.Mapping,tag:h,tagName:f}),t.endIf()}()),(()=>e.error(!1,{discrError:o.DiscrError.Tag,tag:h,tagName:f}))),e.ok(d)}};t.default=a},91072:(e,t)=>{"use strict";var n;Object.defineProperty(t,"__esModule",{value:!0}),t.DiscrError=void 0,function(e){e.Tag="tag",e.Mapping="mapping"}(n||(t.DiscrError=n={}))},19282:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(35479),o=n(31226),i=n(74741),s=n(82175),a=n(72628),u=n(22163),c=n(50051),l=n(17148),f=[s.default,r.default,o.default,(0,i.default)(!0),c.default,l.metadataVocabulary,l.contentVocabulary,a.default,u.default];t.default=f},34960:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.dynamicAnchor=void 0;const r=n(15923),o=n(92115),i=n(76968),s=n(61905),a={keyword:"$dynamicAnchor",schemaType:"string",code:e=>u(e,e.schema)};function u(e,t){const{gen:n,it:a}=e;a.schemaEnv.root.dynamicAnchors[t]=!0;const u=r._`${o.default.dynamicAnchors}${(0,r.getProperty)(t)}`,c="#"===a.errSchemaPath?a.validateName:function(e){const{schemaEnv:t,schema:n,self:r}=e.it,{root:o,baseId:a,localRefs:u,meta:c}=t.root,{schemaId:l}=r.opts,f=new i.SchemaEnv({schema:n,schemaId:l,root:o,baseId:a,localRefs:u,meta:c});return i.compileSchema.call(r,f),(0,s.getValidate)(e,f)}(e);n.if(r._`!${u}`,(()=>n.assign(u,c)))}t.dynamicAnchor=u,t.default=a},5139:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.dynamicRef=void 0;const r=n(15923),o=n(92115),i=n(61905),s={keyword:"$dynamicRef",schemaType:"string",code:e=>a(e,e.schema)};function a(e,t){const{gen:n,keyword:s,it:a}=e;if("#"!==t[0])throw new Error(`"${s}" only supports hash fragment reference`);const u=t.slice(1);if(a.allErrors)c();else{const t=n.let("valid",!1);c(t),e.ok(t)}function c(e){if(a.schemaEnv.root.dynamicAnchors[u]){const t=n.let("_v",r._`${o.default.dynamicAnchors}${(0,r.getProperty)(u)}`);n.if(t,l(t,e),l(a.validateName,e))}else l(a.validateName,e)()}function l(t,r){return r?()=>n.block((()=>{(0,i.callRef)(e,t),n.let(r,!0)})):()=>(0,i.callRef)(e,t)}}t.dynamicRef=a,t.default=s},82175:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(34960),o=n(5139),i=n(77374),s=n(29873),a=[r.default,o.default,i.default,s.default];t.default=a},77374:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(34960),o=n(91571),i={keyword:"$recursiveAnchor",schemaType:"boolean",code(e){e.schema?(0,r.dynamicAnchor)(e,""):(0,o.checkStrictMode)(e.it,"$recursiveAnchor: false is ignored")}};t.default=i},29873:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(5139),o={keyword:"$recursiveRef",schemaType:"string",code:e=>(0,r.dynamicRef)(e,e.schema)};t.default=o},41656:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(15923),o={keyword:"format",type:["number","string"],schemaType:"string",$data:!0,error:{message:({schemaCode:e})=>r.str`must match format "${e}"`,params:({schemaCode:e})=>r._`{format: ${e}}`},code(e,t){const{gen:n,data:o,$data:i,schema:s,schemaCode:a,it:u}=e,{opts:c,errSchemaPath:l,schemaEnv:f,self:d}=u;c.validateFormats&&(i?function(){const i=n.scopeValue("formats",{ref:d.formats,code:c.code.formats}),s=n.const("fDef",r._`${i}[${a}]`),u=n.let("fType"),l=n.let("format");n.if(r._`typeof ${s} == "object" && !(${s} instanceof RegExp)`,(()=>n.assign(u,r._`${s}.type || "string"`).assign(l,r._`${s}.validate`)),(()=>n.assign(u,r._`"string"`).assign(l,s))),e.fail$data((0,r.or)(!1===c.strictSchema?r.nil:r._`${a} && !${l}`,function(){const e=f.$async?r._`(${s}.async ? await ${l}(${o}) : ${l}(${o}))`:r._`${l}(${o})`,n=r._`(typeof ${l} == "function" ? ${e} : ${l}.test(${o}))`;return r._`${l} && ${l} !== true && ${u} === ${t} && !${n}`}()))}():function(){const i=d.formats[s];if(!i)return void function(){if(!1===c.strictSchema)return void d.logger.warn(e());throw new Error(e());function e(){return`unknown format "${s}" ignored in schema at path "${l}"`}}();if(!0===i)return;const[a,u,h]=function(e){const t=e instanceof RegExp?(0,r.regexpCode)(e):c.code.formats?r._`${c.code.formats}${(0,r.getProperty)(s)}`:void 0,o=n.scopeValue("formats",{key:s,ref:e,code:t});if("object"==typeof e&&!(e instanceof RegExp))return[e.type||"string",e.validate,r._`${o}.validate`];return["string",e,o]}(i);a===t&&e.pass(function(){if("object"==typeof i&&!(i instanceof RegExp)&&i.async){if(!f.$async)throw new Error("async format in sync schema");return r._`await ${h}(${o})`}return"function"==typeof u?r._`${h}(${o})`:r._`${h}.test(${o})`}())}())}};t.default=o},50051:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=[n(41656).default];t.default=r},17148:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.contentVocabulary=t.metadataVocabulary=void 0,t.metadataVocabulary=["title","description","default","deprecated","readOnly","writeOnly","examples"],t.contentVocabulary=["contentMediaType","contentEncoding","contentSchema"]},72628:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(22913),o=n(94341),i=n(83014),s=[r.default,o.default,i.default];t.default=s},22163:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(96953),o=n(21540),i=[r.default,o.default];t.default=i},21540:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(15923),o=n(91571),i={keyword:"unevaluatedItems",type:"array",schemaType:["boolean","object"],error:{message:({params:{len:e}})=>r.str`must NOT have more than ${e} items`,params:({params:{len:e}})=>r._`{limit: ${e}}`},code(e){const{gen:t,schema:n,data:i,it:s}=e,a=s.items||0;if(!0===a)return;const u=t.const("len",r._`${i}.length`);if(!1===n)e.setParams({len:a}),e.fail(r._`${u} > ${a}`);else if("object"==typeof n&&!(0,o.alwaysValidSchema)(s,n)){const n=t.var("valid",r._`${u} <= ${a}`);t.if((0,r.not)(n),(()=>function(n,i){t.forRange("i",i,u,(i=>{e.subschema({keyword:"unevaluatedItems",dataProp:i,dataPropType:o.Type.Num},n),s.allErrors||t.if((0,r.not)(n),(()=>t.break()))}))}(n,a))),e.ok(n)}s.items=!0}};t.default=i},96953:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(15923),o=n(91571),i=n(92115),s={keyword:"unevaluatedProperties",type:"object",schemaType:["boolean","object"],trackErrors:!0,error:{message:"must NOT have unevaluated properties",params:({params:e})=>r._`{unevaluatedProperty: ${e.unevaluatedProperty}}`},code(e){const{gen:t,schema:n,data:s,errsCount:a,it:u}=e;if(!a)throw new Error("ajv implementation error");const{allErrors:c,props:l}=u;function f(i){if(!1===n)return e.setParams({unevaluatedProperty:i}),e.error(),void(c||t.break());if(!(0,o.alwaysValidSchema)(u,n)){const n=t.name("valid");e.subschema({keyword:"unevaluatedProperties",dataProp:i,dataPropType:o.Type.Str},n),c||t.if((0,r.not)(n),(()=>t.break()))}}l instanceof r.Name?t.if(r._`${l} !== true`,(()=>t.forIn("key",s,(e=>t.if(function(e,t){return r._`!${e} || !${e}[${t}]`}(l,e),(()=>f(e))))))):!0!==l&&t.forIn("key",s,(e=>void 0===l?f(e):t.if(function(e,t){const n=[];for(const o in e)!0===e[o]&&n.push(r._`${t} !== ${o}`);return(0,r.and)(...n)}(l,e),(()=>f(e))))),u.props=!0,e.ok(r._`${a} === ${i.default.errors}`)}};t.default=s},11498:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(15923),o=n(91571),i=n(10487),s={keyword:"const",$data:!0,error:{message:"must be equal to constant",params:({schemaCode:e})=>r._`{allowedValue: ${e}}`},code(e){const{gen:t,data:n,$data:s,schemaCode:a,schema:u}=e;s||u&&"object"==typeof u?e.fail$data(r._`!${(0,o.useFunc)(t,i.default)}(${n}, ${a})`):e.fail(r._`${u} !== ${n}`)}};t.default=s},22913:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(61958),o={keyword:"dependentRequired",type:"object",schemaType:"object",error:r.error,code:e=>(0,r.validatePropertyDeps)(e)};t.default=o},70269:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(15923),o=n(91571),i=n(10487),s={keyword:"enum",schemaType:"array",$data:!0,error:{message:"must be equal to one of the allowed values",params:({schemaCode:e})=>r._`{allowedValues: ${e}}`},code(e){const{gen:t,data:n,$data:s,schema:a,schemaCode:u,it:c}=e;if(!s&&0===a.length)throw new Error("enum must have non-empty array");const l=a.length>=c.opts.loopEnum;let f;const d=()=>null!=f?f:f=(0,o.useFunc)(t,i.default);let h;if(l||s)h=t.let("valid"),e.block$data(h,(function(){t.assign(h,!1),t.forOf("v",u,(e=>t.if(r._`${d()}(${n}, ${e})`,(()=>t.assign(h,!0).break()))))}));else{if(!Array.isArray(a))throw new Error("ajv implementation error");const e=t.const("vSchema",u);h=(0,r.or)(...a.map(((t,o)=>function(e,t){const o=a[t];return"object"==typeof o&&null!==o?r._`${d()}(${n}, ${e}[${t}])`:r._`${n} === ${o}`}(e,o))))}e.pass(h)}};t.default=s},31226:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(94885),o=n(32066),i=n(97997),s=n(52787),a=n(12674),u=n(35390),c=n(20262),l=n(86534),f=n(11498),d=n(70269),h=[r.default,o.default,i.default,s.default,a.default,u.default,c.default,l.default,{keyword:"type",schemaType:["string","array"]},{keyword:"nullable",schemaType:"boolean"},f.default,d.default];t.default=h},83014:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(91571),o={keyword:["maxContains","minContains"],type:"array",schemaType:"number",code({keyword:e,parentSchema:t,it:n}){void 0===t.contains&&(0,r.checkStrictMode)(n,`"${e}" without "contains" is ignored`)}};t.default=o},20262:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(15923),o={keyword:["maxItems","minItems"],type:"array",schemaType:"number",$data:!0,error:{message({keyword:e,schemaCode:t}){const n="maxItems"===e?"more":"fewer";return r.str`must NOT have ${n} than ${t} items`},params:({schemaCode:e})=>r._`{limit: ${e}}`},code(e){const{keyword:t,data:n,schemaCode:o}=e,i="maxItems"===t?r.operators.GT:r.operators.LT;e.fail$data(r._`${n}.length ${i} ${o}`)}};t.default=o},97997:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(15923),o=n(91571),i=n(77079),s={keyword:["maxLength","minLength"],type:"string",schemaType:"number",$data:!0,error:{message({keyword:e,schemaCode:t}){const n="maxLength"===e?"more":"fewer";return r.str`must NOT have ${n} than ${t} characters`},params:({schemaCode:e})=>r._`{limit: ${e}}`},code(e){const{keyword:t,data:n,schemaCode:s,it:a}=e,u="maxLength"===t?r.operators.GT:r.operators.LT,c=!1===a.opts.unicode?r._`${n}.length`:r._`${(0,o.useFunc)(e.gen,i.default)}(${n})`;e.fail$data(r._`${c} ${u} ${s}`)}};t.default=s},94885:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(15923),o=r.operators,i={maximum:{okStr:"<=",ok:o.LTE,fail:o.GT},minimum:{okStr:">=",ok:o.GTE,fail:o.LT},exclusiveMaximum:{okStr:"<",ok:o.LT,fail:o.GTE},exclusiveMinimum:{okStr:">",ok:o.GT,fail:o.LTE}},s={message:({keyword:e,schemaCode:t})=>r.str`must be ${i[e].okStr} ${t}`,params:({keyword:e,schemaCode:t})=>r._`{comparison: ${i[e].okStr}, limit: ${t}}`},a={keyword:Object.keys(i),type:"number",schemaType:"number",$data:!0,error:s,code(e){const{keyword:t,data:n,schemaCode:o}=e;e.fail$data(r._`${n} ${i[t].fail} ${o} || isNaN(${n})`)}};t.default=a},12674:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(15923),o={keyword:["maxProperties","minProperties"],type:"object",schemaType:"number",$data:!0,error:{message({keyword:e,schemaCode:t}){const n="maxProperties"===e?"more":"fewer";return r.str`must NOT have ${n} than ${t} properties`},params:({schemaCode:e})=>r._`{limit: ${e}}`},code(e){const{keyword:t,data:n,schemaCode:o}=e,i="maxProperties"===t?r.operators.GT:r.operators.LT;e.fail$data(r._`Object.keys(${n}).length ${i} ${o}`)}};t.default=o},32066:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(15923),o={keyword:"multipleOf",type:"number",schemaType:"number",$data:!0,error:{message:({schemaCode:e})=>r.str`must be multiple of ${e}`,params:({schemaCode:e})=>r._`{multipleOf: ${e}}`},code(e){const{gen:t,data:n,schemaCode:o,it:i}=e,s=i.opts.multipleOfPrecision,a=t.let("res"),u=s?r._`Math.abs(Math.round(${a}) - ${a}) > 1e-${s}`:r._`${a} !== parseInt(${a})`;e.fail$data(r._`(${o} === 0 || (${a} = ${n}/${o}, ${u}))`)}};t.default=o},52787:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(7861),o=n(15923),i={keyword:"pattern",type:"string",schemaType:"string",$data:!0,error:{message:({schemaCode:e})=>o.str`must match pattern "${e}"`,params:({schemaCode:e})=>o._`{pattern: ${e}}`},code(e){const{data:t,$data:n,schema:i,schemaCode:s,it:a}=e,u=a.opts.unicodeRegExp?"u":"",c=n?o._`(new RegExp(${s}, ${u}))`:(0,r.usePattern)(e,i);e.fail$data(o._`!${c}.test(${t})`)}};t.default=i},35390:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(7861),o=n(15923),i=n(91571),s={keyword:"required",type:"object",schemaType:"array",$data:!0,error:{message:({params:{missingProperty:e}})=>o.str`must have required property '${e}'`,params:({params:{missingProperty:e}})=>o._`{missingProperty: ${e}}`},code(e){const{gen:t,schema:n,schemaCode:s,data:a,$data:u,it:c}=e,{opts:l}=c;if(!u&&0===n.length)return;const f=n.length>=l.loopRequired;if(c.allErrors?function(){if(f||u)e.block$data(o.nil,d);else for(const t of n)(0,r.checkReportMissingProp)(e,t)}():function(){const i=t.let("missing");if(f||u){const n=t.let("valid",!0);e.block$data(n,(()=>function(n,i){e.setParams({missingProperty:n}),t.forOf(n,s,(()=>{t.assign(i,(0,r.propertyInData)(t,a,n,l.ownProperties)),t.if((0,o.not)(i),(()=>{e.error(),t.break()}))}),o.nil)}(i,n))),e.ok(n)}else t.if((0,r.checkMissingProp)(e,n,i)),(0,r.reportMissingProp)(e,i),t.else()}(),l.strictRequired){const t=e.parentSchema.properties,{definedProperties:r}=e.it;for(const e of n)if(void 0===(null==t?void 0:t[e])&&!r.has(e)){const t=`required property "${e}" is not defined at "${c.schemaEnv.baseId+c.errSchemaPath}" (strictRequired)`;(0,i.checkStrictMode)(c,t,c.opts.strictRequired)}}function d(){t.forOf("prop",s,(n=>{e.setParams({missingProperty:n}),t.if((0,r.noPropertyInData)(t,a,n,l.ownProperties),(()=>e.error()))}))}}};t.default=s},86534:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(31411),o=n(15923),i=n(91571),s=n(10487),a={keyword:"uniqueItems",type:"array",schemaType:"boolean",$data:!0,error:{message:({params:{i:e,j:t}})=>o.str`must NOT have duplicate items (items ## ${t} and ${e} are identical)`,params:({params:{i:e,j:t}})=>o._`{i: ${e}, j: ${t}}`},code(e){const{gen:t,data:n,$data:a,schema:u,parentSchema:c,schemaCode:l,it:f}=e;if(!a&&!u)return;const d=t.let("valid"),h=c.items?(0,r.getSchemaTypes)(c.items):[];function p(i,s){const a=t.name("item"),u=(0,r.checkDataTypes)(h,a,f.opts.strictNumbers,r.DataType.Wrong),c=t.const("indices",o._`{}`);t.for(o._`;${i}--;`,(()=>{t.let(a,o._`${n}[${i}]`),t.if(u,o._`continue`),h.length>1&&t.if(o._`typeof ${a} == "string"`,o._`${a} += "_"`),t.if(o._`typeof ${c}[${a}] == "number"`,(()=>{t.assign(s,o._`${c}[${a}]`),e.error(),t.assign(d,!1).break()})).code(o._`${c}[${a}] = ${i}`)}))}function m(r,a){const u=(0,i.useFunc)(t,s.default),c=t.name("outer");t.label(c).for(o._`;${r}--;`,(()=>t.for(o._`${a} = ${r}; ${a}--;`,(()=>t.if(o._`${u}(${n}[${r}], ${n}[${a}])`,(()=>{e.error(),t.assign(d,!1).break(c)}))))))}e.block$data(d,(function(){const r=t.let("i",o._`${n}.length`),i=t.let("j");e.setParams({i:r,j:i}),t.assign(d,!0),t.if(o._`${r} > 1`,(()=>(h.length>0&&!h.some((e=>"object"===e||"array"===e))?p:m)(r,i)))}),o._`${l} === false`),e.ok(d)}};t.default=a},5750:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>B});var r=n(2784),o=n(89741),i=n(40489),s=n(60361),a=n(97683);function u(){const{prism:e}=(0,a.L)(),{colorMode:t}=(0,s.I)(),n=e.theme,r=e.darkTheme||n;return"dark"===t?r:n}var c=n(90211),l=n(84501),f=n.n(l);const d=/title=(?<quote>["'])(?<title>.*?)\1/,h=/\{(?<range>[\d,-]+)\}/,p={js:{start:"\\/\\/",end:""},jsBlock:{start:"\\/\\*",end:"\\*\\/"},jsx:{start:"\\{\\s*\\/\\*",end:"\\*\\/\\s*\\}"},bash:{start:"#",end:""},html:{start:"\x3c!--",end:"--\x3e"}},m={...p,lua:{start:"--",end:""},wasm:{start:"\\;\\;",end:""},tex:{start:"%",end:""},vb:{start:"['\u2018\u2019]",end:""},vbnet:{start:"(?:_\\s*)?['\u2018\u2019]",end:""},rem:{start:"[Rr][Ee][Mm]\\b",end:""},f90:{start:"!",end:""},ml:{start:"\\(\\*",end:"\\*\\)"},cobol:{start:"\\*>",end:""}},g=Object.keys(p);function y(e,t){const n=e.map((e=>{const{start:n,end:r}=m[e];return`(?:${n}\\s*(${t.flatMap((e=>[e.line,e.block?.start,e.block?.end].filter(Boolean))).join("|")})\\s*${r})`})).join("|");return new RegExp(`^\\s*(?:${n})\\s*$`)}function v(e,t){let n=e.replace(/\n$/,"");const{language:r,magicComments:o,metastring:i}=t;if(i&&h.test(i)){const e=i.match(h).groups.range;if(0===o.length)throw new Error(`A highlight range has been given in code block's metastring (\`\`\` ${i}), but no magic comment config is available. Docusaurus applies the first magic comment entry's className for metastring ranges.`);const t=o[0].className,r=f()(e).filter((e=>e>0)).map((e=>[e-1,[t]]));return{lineClassNames:Object.fromEntries(r),code:n}}if(void 0===r)return{lineClassNames:{},code:n};const s=function(e,t){switch(e){case"js":case"javascript":case"ts":case"typescript":return y(["js","jsBlock"],t);case"jsx":case"tsx":return y(["js","jsBlock","jsx"],t);case"html":return y(["js","jsBlock","html"],t);case"python":case"py":case"bash":return y(["bash"],t);case"markdown":case"md":return y(["html","jsx","bash"],t);case"tex":case"latex":case"matlab":return y(["tex"],t);case"lua":case"haskell":case"sql":return y(["lua"],t);case"wasm":return y(["wasm"],t);case"vb":case"vba":case"visual-basic":return y(["vb","rem"],t);case"vbnet":return y(["vbnet","rem"],t);case"batch":return y(["rem"],t);case"basic":return y(["rem","f90"],t);case"fsharp":return y(["js","ml"],t);case"ocaml":case"sml":return y(["ml"],t);case"fortran":return y(["f90"],t);case"cobol":return y(["cobol"],t);default:return y(g,t)}}(r,o),a=n.split("\n"),u=Object.fromEntries(o.map((e=>[e.className,{start:0,range:""}]))),c=Object.fromEntries(o.filter((e=>e.line)).map((e=>{let{className:t,line:n}=e;return[n,t]}))),l=Object.fromEntries(o.filter((e=>e.block)).map((e=>{let{className:t,block:n}=e;return[n.start,t]}))),d=Object.fromEntries(o.filter((e=>e.block)).map((e=>{let{className:t,block:n}=e;return[n.end,t]})));for(let f=0;f<a.length;){const e=a[f].match(s);if(!e){f+=1;continue}const t=e.slice(1).find((e=>void 0!==e));c[t]?u[c[t]].range+=`${f},`:l[t]?u[l[t]].start=f:d[t]&&(u[d[t]].range+=`${u[d[t]].start}-${f-1},`),a.splice(f,1)}n=a.join("\n");const p={};return Object.entries(u).forEach((e=>{let[t,{range:n}]=e;f()(n).forEach((e=>{p[e]??=[],p[e].push(t)}))})),{lineClassNames:p,code:n}}const b={codeBlockContainer:"codeBlockContainer_ZGJx"};var _=n(52322);function w(e){let{as:t,...n}=e;const r=function(e){const t={color:"--prism-color",backgroundColor:"--prism-background-color"},n={};return Object.entries(e.plain).forEach((e=>{let[r,o]=e;const i=t[r];i&&"string"==typeof o&&(n[i]=o)})),n}(u());return(0,_.jsx)(t,{...n,style:r,className:(0,i.Z)(n.className,b.codeBlockContainer,c.k.common.codeBlock)})}const E={codeBlockContent:"codeBlockContent_qZBB",codeBlockTitle:"codeBlockTitle_zAEH",codeBlock:"codeBlock_TAPP",codeBlockStandalone:"codeBlockStandalone_K9VJ",codeBlockLines:"codeBlockLines_AdAo",codeBlockLinesWithNumbering:"codeBlockLinesWithNumbering_p5De",buttonGroup:"buttonGroup_TNwR"};function k(e){let{children:t,className:n}=e;return(0,_.jsx)(w,{as:"pre",tabIndex:0,className:(0,i.Z)(E.codeBlockStandalone,"thin-scrollbar",n),children:(0,_.jsx)("code",{className:E.codeBlockLines,children:t})})}var x=n(6335);const D={attributes:!0,characterData:!0,childList:!0,subtree:!0};function S(e,t){const[n,o]=(0,r.useState)(),i=(0,r.useCallback)((()=>{o(e.current?.closest("[role=tabpanel][hidden]"))}),[e,o]);(0,r.useEffect)((()=>{i()}),[i]),function(e,t,n){void 0===n&&(n=D);const o=(0,x.zX)(t),i=(0,x.Ql)(n);(0,r.useEffect)((()=>{const t=new MutationObserver(o);return e&&t.observe(e,i),()=>t.disconnect()}),[e,o,i])}(n,(e=>{e.forEach((e=>{"attributes"===e.type&&"hidden"===e.attributeName&&(t(),i())}))}),{attributes:!0,characterData:!1,childList:!1,subtree:!1})}var C=n(16935);const O={codeLine:"codeLine_DPDv",codeLineNumber:"codeLineNumber_YxQB",codeLineContent:"codeLineContent_SOIp"};function $(e){let{line:t,classNames:n,showLineNumbers:r,getLineProps:o,getTokenProps:s}=e;1===t.length&&"\n"===t[0].content&&(t[0].content="");const a=o({line:t,className:(0,i.Z)(n,r&&O.codeLine)}),u=t.map(((e,t)=>(0,_.jsx)("span",{...s({token:e})},t)));return(0,_.jsxs)("span",{...a,children:[r?(0,_.jsxs)(_.Fragment,{children:[(0,_.jsx)("span",{className:O.codeLineNumber}),(0,_.jsx)("span",{className:O.codeLineContent,children:u})]}):u,(0,_.jsx)("br",{})]})}var A=n(1077);function P(e){return(0,_.jsx)("svg",{viewBox:"0 0 24 24",...e,children:(0,_.jsx)("path",{fill:"currentColor",d:"M19,21H8V7H19M19,5H8A2,2 0 0,0 6,7V21A2,2 0 0,0 8,23H19A2,2 0 0,0 21,21V7A2,2 0 0,0 19,5M16,1H4A2,2 0 0,0 2,3V17H4V3H16V1Z"})})}function j(e){return(0,_.jsx)("svg",{viewBox:"0 0 24 24",...e,children:(0,_.jsx)("path",{fill:"currentColor",d:"M21,7L9,19L3.5,13.5L4.91,12.09L9,16.17L19.59,5.59L21,7Z"})})}const F={copyButtonCopied:"copyButtonCopied_Mzdr",copyButtonIcons:"copyButtonIcons_MVhB",copyButtonIcon:"copyButtonIcon_yxgH",copyButtonSuccessIcon:"copyButtonSuccessIcon_QJLJ"};function I(e){let{code:t,className:n}=e;const[o,s]=(0,r.useState)(!1),a=(0,r.useRef)(void 0),u=(0,r.useCallback)((()=>{!function(e,t){let{target:n=document.body}=void 0===t?{}:t;if("string"!=typeof e)throw new TypeError(`Expected parameter \`text\` to be a \`string\`, got \`${typeof e}\`.`);const r=document.createElement("textarea"),o=document.activeElement;r.value=e,r.setAttribute("readonly",""),r.style.contain="strict",r.style.position="absolute",r.style.left="-9999px",r.style.fontSize="12pt";const i=document.getSelection(),s=i.rangeCount>0&&i.getRangeAt(0);n.append(r),r.select(),r.selectionStart=0,r.selectionEnd=e.length;let a=!1;try{a=document.execCommand("copy")}catch{}r.remove(),s&&(i.removeAllRanges(),i.addRange(s)),o&&o.focus()}(t),s(!0),a.current=window.setTimeout((()=>{s(!1)}),1e3)}),[t]);return(0,r.useEffect)((()=>()=>window.clearTimeout(a.current)),[]),(0,_.jsx)("button",{type:"button","aria-label":o?(0,A.translate)({id:"theme.CodeBlock.copied",message:"Copied",description:"The copied button label on code blocks"}):(0,A.translate)({id:"theme.CodeBlock.copyButtonAriaLabel",message:"Copy code to clipboard",description:"The ARIA label for copy code blocks button"}),title:(0,A.translate)({id:"theme.CodeBlock.copy",message:"Copy",description:"The copy button label on code blocks"}),className:(0,i.Z)("clean-btn",n,F.copyButton,o&&F.copyButtonCopied),onClick:u,children:(0,_.jsxs)("span",{className:F.copyButtonIcons,"aria-hidden":"true",children:[(0,_.jsx)(P,{className:F.copyButtonIcon}),(0,_.jsx)(j,{className:F.copyButtonSuccessIcon})]})})}function N(e){return(0,_.jsx)("svg",{viewBox:"0 0 24 24",...e,children:(0,_.jsx)("path",{fill:"currentColor",d:"M4 19h6v-2H4v2zM20 5H4v2h16V5zm-3 6H4v2h13.25c1.1 0 2 .9 2 2s-.9 2-2 2H15v-2l-3 3l3 3v-2h2c2.21 0 4-1.79 4-4s-1.79-4-4-4z"})})}const T={wordWrapButtonIcon:"wordWrapButtonIcon_SMj9",wordWrapButtonEnabled:"wordWrapButtonEnabled_vR9E"};function M(e){let{className:t,onClick:n,isEnabled:r}=e;const o=(0,A.translate)({id:"theme.CodeBlock.wordWrapToggle",message:"Toggle word wrap",description:"The title attribute for toggle word wrapping button of code block lines"});return(0,_.jsx)("button",{type:"button",onClick:n,className:(0,i.Z)("clean-btn",t,r&&T.wordWrapButtonEnabled),"aria-label":o,title:o,children:(0,_.jsx)(N,{className:T.wordWrapButtonIcon,"aria-hidden":"true"})})}function R(e){let{children:t,className:n="",metastring:o,title:s,showLineNumbers:c,language:l}=e;const{prism:{defaultLanguage:f,magicComments:h}}=(0,a.L)(),p=function(e){return e?.toLowerCase()}(l??function(e){const t=e.split(" ").find((e=>e.startsWith("language-")));return t?.replace(/language-/,"")}(n)??f),m=u(),g=function(){const[e,t]=(0,r.useState)(!1),[n,o]=(0,r.useState)(!1),i=(0,r.useRef)(null),s=(0,r.useCallback)((()=>{const n=i.current.querySelector("code");e?n.removeAttribute("style"):(n.style.whiteSpace="pre-wrap",n.style.overflowWrap="anywhere"),t((e=>!e))}),[i,e]),a=(0,r.useCallback)((()=>{const{scrollWidth:e,clientWidth:t}=i.current,n=e>t||i.current.querySelector("code").hasAttribute("style");o(n)}),[i]);return S(i,a),(0,r.useEffect)((()=>{a()}),[e,a]),(0,r.useEffect)((()=>(window.addEventListener("resize",a,{passive:!0}),()=>{window.removeEventListener("resize",a)})),[a]),{codeBlockRef:i,isEnabled:e,isCodeScrollable:n,toggle:s}}(),y=function(e){return e?.match(d)?.groups.title??""}(o)||s,{lineClassNames:b,code:k}=v(t,{metastring:o,language:p,magicComments:h}),x=c??function(e){return Boolean(e?.includes("showLineNumbers"))}(o);return(0,_.jsxs)(w,{as:"div",className:(0,i.Z)(n,p&&!n.includes(`language-${p}`)&&`language-${p}`),children:[y&&(0,_.jsx)("div",{className:E.codeBlockTitle,children:y}),(0,_.jsxs)("div",{className:E.codeBlockContent,children:[(0,_.jsx)(C.y$,{theme:m,code:k,language:p??"text",children:e=>{let{className:t,style:n,tokens:r,getLineProps:o,getTokenProps:s}=e;return(0,_.jsx)("pre",{tabIndex:0,ref:g.codeBlockRef,className:(0,i.Z)(t,E.codeBlock,"thin-scrollbar"),style:n,children:(0,_.jsx)("code",{className:(0,i.Z)(E.codeBlockLines,x&&E.codeBlockLinesWithNumbering),children:r.map(((e,t)=>(0,_.jsx)($,{line:e,getLineProps:o,getTokenProps:s,classNames:b[t],showLineNumbers:x},t)))})})}}),(0,_.jsxs)("div",{className:E.buttonGroup,children:[(g.isEnabled||g.isCodeScrollable)&&(0,_.jsx)(M,{className:E.codeButton,onClick:()=>g.toggle(),isEnabled:g.isEnabled}),(0,_.jsx)(I,{className:E.codeButton,code:k})]})]})]})}function B(e){let{children:t,...n}=e;const i=(0,o.Z)(),s=function(e){return r.Children.toArray(e).some((e=>(0,r.isValidElement)(e)))?e:Array.isArray(e)?e.join(""):e}(t),a="string"==typeof s?R:k;return(0,_.jsx)(a,{...n,children:s},String(i))}},98480:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>m});var r=n(2784),o=n(40489),i=n(42530),s=n(89741),a=n(28698);const u={details:"details_B4FW",isBrowser:"isBrowser_Cof9",collapsibleContent:"collapsibleContent_VYua"};var c=n(52322);function l(e){return!!e&&("SUMMARY"===e.tagName||l(e.parentElement))}function f(e,t){return!!e&&(e===t||f(e.parentElement,t))}function d(e){let{summary:t,children:n,...d}=e;(0,i.Z)().collectAnchor(d.id);const h=(0,s.Z)(),p=(0,r.useRef)(null),{collapsed:m,setCollapsed:g}=(0,a.u)({initialState:!d.open}),[y,v]=(0,r.useState)(d.open),b=r.isValidElement(t)?t:(0,c.jsx)("summary",{children:t??"Details"});return(0,c.jsxs)("details",{...d,ref:p,open:y,"data-collapsed":m,className:(0,o.Z)(u.details,h&&u.isBrowser,d.className),onMouseDown:e=>{l(e.target)&&e.detail>1&&e.preventDefault()},onClick:e=>{e.stopPropagation();const t=e.target;l(t)&&f(t,p.current)&&(e.preventDefault(),m?(g(!1),v(!0)):g(!0))},children:[b,(0,c.jsx)(a.z,{lazy:!1,collapsed:m,disableSSRStyle:!0,onCollapseTransitionEnd:e=>{g(e),v(!e)},children:(0,c.jsx)("div",{className:u.collapsibleContent,children:n})})]})}const h={details:"details_SZgV"},p="alert alert--info";function m(e){let{...t}=e;return(0,c.jsx)(d,{...t,className:(0,o.Z)(p,h.details,t.className)})}},82009:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>s});n(2784);var r=n(40489);const o={tabItem:"tabItem_OMyP"};var i=n(52322);function s(e){let{children:t,hidden:n,className:s}=e;return(0,i.jsx)("div",{role:"tabpanel",className:(0,r.Z)(o.tabItem,s),hidden:n,children:t})}},77336:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>E});var r=n(2784),o=n(40489),i=n(24126),s=n(7267),a=n(70164),u=n(32424),c=n(42244),l=n(37611);function f(e){return r.Children.toArray(e).filter((e=>"\n"!==e)).map((e=>{if(!e||(0,r.isValidElement)(e)&&function(e){const{props:t}=e;return!!t&&"object"==typeof t&&"value"in t}(e))return e;throw new Error(`Docusaurus error: Bad <Tabs> child <${"string"==typeof e.type?e.type:e.type.name}>: all children of the <Tabs> component should be <TabItem>, and every <TabItem> should have a unique "value" prop.`)}))?.filter(Boolean)??[]}function d(e){const{values:t,children:n}=e;return(0,r.useMemo)((()=>{const e=t??function(e){return f(e).map((e=>{let{props:{value:t,label:n,attributes:r,default:o}}=e;return{value:t,label:n,attributes:r,default:o}}))}(n);return function(e){const t=(0,c.l)(e,((e,t)=>e.value===t.value));if(t.length>0)throw new Error(`Docusaurus error: Duplicate values "${t.map((e=>e.value)).join(", ")}" found in <Tabs>. Every value needs to be unique.`)}(e),e}),[t,n])}function h(e){let{value:t,tabValues:n}=e;return n.some((e=>e.value===t))}function p(e){let{queryString:t=!1,groupId:n}=e;const o=(0,s.k6)(),i=function(e){let{queryString:t=!1,groupId:n}=e;if("string"==typeof t)return t;if(!1===t)return null;if(!0===t&&!n)throw new Error('Docusaurus error: The <Tabs> component groupId prop is required if queryString=true, because this value is used as the search param name. You can also provide an explicit value such as queryString="my-search-param".');return n??null}({queryString:t,groupId:n});return[(0,u._X)(i),(0,r.useCallback)((e=>{if(!i)return;const t=new URLSearchParams(o.location.search);t.set(i,e),o.replace({...o.location,search:t.toString()})}),[i,o])]}function m(e){const{defaultValue:t,queryString:n=!1,groupId:o}=e,i=d(e),[s,u]=(0,r.useState)((()=>function(e){let{defaultValue:t,tabValues:n}=e;if(0===n.length)throw new Error("Docusaurus error: the <Tabs> component requires at least one <TabItem> children component");if(t){if(!h({value:t,tabValues:n}))throw new Error(`Docusaurus error: The <Tabs> has a defaultValue "${t}" but none of its children has the corresponding value. Available values are: ${n.map((e=>e.value)).join(", ")}. If you intend to show no default tab, use defaultValue={null} instead.`);return t}const r=n.find((e=>e.default))??n[0];if(!r)throw new Error("Unexpected error: 0 tabValues");return r.value}({defaultValue:t,tabValues:i}))),[c,f]=p({queryString:n,groupId:o}),[m,g]=function(e){let{groupId:t}=e;const n=function(e){return e?`docusaurus.tab.${e}`:null}(t),[o,i]=(0,l.Nk)(n);return[o,(0,r.useCallback)((e=>{n&&i.set(e)}),[n,i])]}({groupId:o}),y=(()=>{const e=c??m;return h({value:e,tabValues:i})?e:null})();(0,a.Z)((()=>{y&&u(y)}),[y]);return{selectedValue:s,selectValue:(0,r.useCallback)((e=>{if(!h({value:e,tabValues:i}))throw new Error(`Can't select invalid tab value=${e}`);u(e),f(e),g(e)}),[f,g,i]),tabValues:i}}var g=n(89741);const y={tabList:"tabList_M0Dn",tabItem:"tabItem_ysIP"};var v=n(52322);function b(e){let{className:t,block:n,selectedValue:r,selectValue:s,tabValues:a}=e;const u=[],{blockElementScrollPositionUntilNextRender:c}=(0,i.o5)(),l=e=>{const t=e.currentTarget,n=u.indexOf(t),o=a[n].value;o!==r&&(c(t),s(o))},f=e=>{let t=null;switch(e.key){case"Enter":l(e);break;case"ArrowRight":{const n=u.indexOf(e.currentTarget)+1;t=u[n]??u[0];break}case"ArrowLeft":{const n=u.indexOf(e.currentTarget)-1;t=u[n]??u[u.length-1];break}}t?.focus()};return(0,v.jsx)("ul",{role:"tablist","aria-orientation":"horizontal",className:(0,o.Z)("tabs",{"tabs--block":n},t),children:a.map((e=>{let{value:t,label:n,attributes:i}=e;return(0,v.jsx)("li",{role:"tab",tabIndex:r===t?0:-1,"aria-selected":r===t,ref:e=>u.push(e),onKeyDown:f,onClick:l,...i,className:(0,o.Z)("tabs__item",y.tabItem,i?.className,{"tabs__item--active":r===t}),children:n??t},t)}))})}function _(e){let{lazy:t,children:n,selectedValue:o}=e;const i=(Array.isArray(n)?n:[n]).filter(Boolean);if(t){const e=i.find((e=>e.props.value===o));return e?(0,r.cloneElement)(e,{className:"margin-top--md"}):null}return(0,v.jsx)("div",{className:"margin-top--md",children:i.map(((e,t)=>(0,r.cloneElement)(e,{key:t,hidden:e.props.value!==o})))})}function w(e){const t=m(e);return(0,v.jsxs)("div",{className:(0,o.Z)("tabs-container",y.tabList),children:[(0,v.jsx)(b,{...t,...e}),(0,v.jsx)(_,{...t,...e})]})}function E(e){const t=(0,g.Z)();return(0,v.jsx)(w,{...e,children:f(e.children)},String(t))}},14963:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=r(n(2784)),i=r(n(1077)),s=n(9966);t.default=function(){return o.default.createElement(o.default.Fragment,null,o.default.createElement(s.TypeLabel,null),"\xa0:\xa0",o.default.createElement(s.FalseLabel,null),o.default.createElement("div",{style:{marginTop:"var(--ifm-table-cell-padding)"}},o.default.createElement(i.default,{values:{id:"json-schema.labels.false"}},"Always invalid")))}},48800:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=r(n(2784)),i=r(n(1077)),s=n(9966),a=n(94598),u=n(77740),c=n(54884);t.default=function(e){let{schema:t}=e;const n=(0,a.useJSVOptionsContext)(),r="boolean"!=typeof t,l=r?t.description:void 0;return o.default.createElement(o.default.Fragment,null,o.default.createElement(s.TypeLabel,null),"\xa0:\xa0",o.default.createElement(s.TrueLabel,null),o.default.createElement("div",{style:{marginTop:"var(--ifm-table-cell-padding)"}},o.default.createElement(i.default,{values:{id:"json-schema.labels.true"}},"Always valid")),r&&o.default.createElement("div",{style:{marginTop:"var(--ifm-table-cell-padding)"}},o.default.createElement(u.QualifierMessages,{schema:t,options:n})),void 0!==l&&o.default.createElement(c.CreateDescription,{description:l}))}},38753:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=r(n(2784)),i=n(77740),s=n(94598),a=n(9966),u=n(54884);t.default=function(e){const{schema:t,nullable:n,description:r}=e,c=(0,s.useJSVOptionsContext)();return o.default.createElement(o.default.Fragment,null,o.default.createElement(a.TypeLabel,null),"\xa0:\xa0",o.default.createElement(a.BooleanLabel,null),o.default.createElement("div",{style:{marginTop:"var(--ifm-table-cell-padding)"}},o.default.createElement(i.QualifierMessages,{schema:t,options:c,nullable:n})),void 0!==r&&o.default.createElement(u.CreateDescription,{description:r}))}},96187:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=r(n(2784)),i=n(94598);t.default=function(e){const{description:t}=e,{DescriptionComponent:n}=(0,i.useJSVOptionsContext)();return o.default.createElement("div",{style:{marginTop:"var(--ifm-table-cell-padding)"}},n?o.default.createElement(n,{description:t}):t)}},15093:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=r(n(2784)),i=n(77740),s=n(94598),a=n(9966),u=n(54884);t.default=function(e){const{schema:t,nullable:n,description:r}=e,c=(0,s.useJSVOptionsContext)();return o.default.createElement(o.default.Fragment,null,o.default.createElement(a.TypeLabel,null),"\xa0:\xa0",o.default.createElement(a.IntegerLabel,null),o.default.createElement("div",{style:{marginTop:"var(--ifm-table-cell-padding)"}},o.default.createElement(i.QualifierMessages,{schema:t,options:c,nullable:n})),void 0!==r&&o.default.createElement(u.CreateDescription,{description:r}))}},18938:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=r(n(2784)),i=n(77740),s=n(94598),a=n(9966),u=n(54884);t.default=function(e){const{schema:t,description:n}=e,r=(0,s.useJSVOptionsContext)();return o.default.createElement(o.default.Fragment,null,o.default.createElement(a.TypeLabel,null),"\xa0:\xa0",o.default.createElement(a.NullLabel,null),o.default.createElement("div",{style:{marginTop:"var(--ifm-table-cell-padding)"}},o.default.createElement(i.QualifierMessages,{schema:t,options:r})),void 0!==n&&o.default.createElement(u.CreateDescription,{description:n}))}},1996:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=r(n(2784)),i=n(77740),s=n(94598),a=n(9966),u=n(54884);t.default=function(e){const{schema:t,description:n,nullable:r}=e,c=(0,s.useJSVOptionsContext)();return o.default.createElement(o.default.Fragment,null,o.default.createElement(a.TypeLabel,null),"\xa0:\xa0",o.default.createElement(a.NumberLabel,null),o.default.createElement("div",{style:{marginTop:"var(--ifm-table-cell-padding)"}},o.default.createElement(i.QualifierMessages,{schema:t,options:c,nullable:r})),void 0!==n&&o.default.createElement(u.CreateDescription,{description:n}))}},76559:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=r(n(2784)),i=n(77740),s=n(94598),a=n(9966),u=n(54884);t.default=function(e){const{schema:t,nullable:n,description:r}=e,c=(0,s.useJSVOptionsContext)(),l=t.format;return o.default.createElement(o.default.Fragment,null,o.default.createElement(a.TypeLabel,null),"\xa0:\xa0",o.default.createElement(a.StringLabel,{format:l}),o.default.createElement("div",{style:{marginTop:"var(--ifm-table-cell-padding)"}},o.default.createElement(i.QualifierMessages,{schema:t,options:c,nullable:n})),void 0!==r&&o.default.createElement(u.CreateDescription,{description:r}))}},95566:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=r(n(2784)),i=n(94598),s=n(85685);t.default=function(e){const{value:t,schema:n}=e,{ValueComponent:r}=(0,i.useJSVOptionsContext)();return r?o.default.createElement(r,{value:t,schema:n}):(0,s.printSchemaType)(t)}},85901:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=r(n(2784)),i=n(51074);t.default=function(e){const{schema:t}=e;let n=t.dependencies,r=Object.entries(n).reduce(((e,t)=>{let[n,r]=t;return Array.isArray(r)?e.dependentRequired[n]=r:e.dependentSchemas[n]=r,e}),{dependentRequired:{},dependentSchemas:{}});return o.default.createElement(o.default.Fragment,null,Object.keys(r.dependentRequired).length>0&&o.default.createElement(i.DependentRequired,{schema:{dependentRequired:r.dependentRequired}}),Object.keys(r.dependentSchemas).length>0&&o.default.createElement(i.DependentSchemas,{schema:{dependentSchemas:r.dependentSchemas}}))}},31892:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=r(n(2784)),i=n(14043);t.default=function(e){const{schema:t}=e;let n=t.dependentRequired,r={allOf:Object.entries(n).map((e=>{let[t,n]=e;return{if:{type:"object",required:[t]},then:{type:"object",required:n}}}))};return o.default.createElement(i.AllOfSchema,{schema:r})}},79131:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=r(n(2784)),i=n(14043);t.default=function(e){const{schema:t}=e;let n=t.dependentSchemas,r={allOf:Object.entries(n).map((e=>{let[t,n]=e;return{if:{type:"object",required:[t]},then:n}}))};return o.default.createElement(i.AllOfSchema,{schema:r})}},54742:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=r(n(2784)),i=r(n(82009)),s=r(n(77336)),a=n(2204),u=n(94598),c=n(9966);t.default=function(e){const{schema:t}=e,n=void 0!==t.then,r=void 0!==t.else;let l=[{value:"schema_if",label:o.default.createElement(c.IfLabel,null)},n&&{value:"schema_then",label:o.default.createElement(c.ThenLabel,null)},r&&{value:"schema_else",label:o.default.createElement(c.ElseLabel,null)}].filter((e=>"boolean"!=typeof e));return o.default.createElement(s.default,{defaultValue:"schema_if",values:l},l.map((e=>o.default.createElement(i.default,{value:e.value,key:e.value},function(e,t){switch(e){case"schema_if":return o.default.createElement(u.SchemaHierarchyComponent,{innerJsonPointer:"/if"},o.default.createElement(a.CreateNodes,{schema:t.if}));case"schema_then":return o.default.createElement(u.SchemaHierarchyComponent,{innerJsonPointer:"/then"},o.default.createElement(a.CreateNodes,{schema:t.then}));case"schema_else":return o.default.createElement(u.SchemaHierarchyComponent,{innerJsonPointer:"/else"},o.default.createElement(a.CreateNodes,{schema:t.else}))}}(e.value,t)))))}},51074:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.SchemaConditional=t.Dependencies=t.DependentSchemas=t.DependentRequired=t.IfElseThen=void 0;var o=n(54742);Object.defineProperty(t,"IfElseThen",{enumerable:!0,get:function(){return r(o).default}});var i=n(31892);Object.defineProperty(t,"DependentRequired",{enumerable:!0,get:function(){return r(i).default}});var s=n(79131);Object.defineProperty(t,"DependentSchemas",{enumerable:!0,get:function(){return r(s).default}});var a=n(85901);Object.defineProperty(t,"Dependencies",{enumerable:!0,get:function(){return r(a).default}});var u=n(94845);Object.defineProperty(t,"SchemaConditional",{enumerable:!0,get:function(){return r(u).default}})},53303:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=r(n(2784)),i=r(n(1077)),s=n(2204),a=n(94598);function u(e){let{count:t}=e;return o.default.createElement("code",null,o.default.createElement(i.default,{values:{id:"json-schema.keywords.additionalItemsEntry",count:t}},"items[{count},...]"))}t.default=function(e){const{schema:t}=e;let n=t.additionalItems;if(void 0===n||"boolean"==typeof n)return o.default.createElement(o.default.Fragment,null);const r=Array.isArray(t.items)?t.items.length:1;return o.default.createElement("ul",null,o.default.createElement(a.SchemaHierarchyComponent,{innerJsonPointer:"/additionalItems"},o.default.createElement(s.CreateEdge,{key:"array_additionalItems",name:o.default.createElement(u,{count:r}),schema:n,required:void 0!==t.minItems&&r>=t.minItems-1})))}},3606:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=r(n(2784)),i=r(n(1077)),s=n(2204),a=n(94598);t.default=function(e){const{schema:t}=e;let n=t.contains;if(void 0===n)return o.default.createElement(o.default.Fragment,null);const r=o.default.createElement("code",null,o.default.createElement(i.default,{values:{id:"json-schema.keywords.containsEntry"}},"items[..., x, ...]"));return o.default.createElement("ul",null,o.default.createElement(a.SchemaHierarchyComponent,{innerJsonPointer:"/contains"},o.default.createElement(s.CreateEdge,{key:"contains",name:r,schema:n,required:void 0!==t.minContains&&t.minContains>0})))}},55242:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=r(n(2784)),i=r(n(30559)),s=r(n(3606)),a=r(n(77610)),u=r(n(53303)),c=r(n(96912)),l=n(77740),f=n(94598),d=n(9966),h=n(54884);t.default=function(e){const{schema:t,nullable:n,description:r}=e,p=(0,f.useJSVOptionsContext)();return o.default.createElement(o.default.Fragment,null,o.default.createElement(d.TypeLabel,null),"\xa0:\xa0",o.default.createElement(d.ArrayLabel,null),o.default.createElement(a.default,{schema:t}),o.default.createElement(i.default,{schema:t}),o.default.createElement(u.default,{schema:t}),o.default.createElement(c.default,{schema:t}),o.default.createElement(s.default,{schema:t}),o.default.createElement("div",{style:{marginTop:"var(--ifm-table-cell-padding)"}},o.default.createElement(l.QualifierMessages,{schema:t,options:p,nullable:n})),void 0!==r&&o.default.createElement(h.CreateDescription,{description:r}))}},30559:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=r(n(2784)),i=r(n(1077)),s=n(2204),a=n(94598);function u(e){let{index:t,isArray:n}=e,r=n?t:"x";return o.default.createElement("code",null,o.default.createElement(i.default,{values:{id:"json-schema.keywords.itemsEntry",index:r}},"items[{index}]"))}t.default=function(e){const{schema:t}=e;let n=t.items;if(void 0===n)return o.default.createElement(o.default.Fragment,null);const r=Array.isArray(t.prefixItems)?t.prefixItems.length:0,i=Array.isArray(n),c=Array.isArray(n)?n:[n],l=c.length;return o.default.createElement("ul",null,c.map(((e,n)=>o.default.createElement(a.SchemaHierarchyComponent,{key:`array_items_${n}`,innerJsonPointer:"/items"+(i?`/${n}`:"")},o.default.createElement(s.CreateEdge,{name:o.default.createElement(u,{index:r+n,isArray:i}),schema:e,required:void 0!==t.minItems&&t.minItems>=l})))))}},77610:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=r(n(2784)),i=r(n(1077)),s=n(2204),a=n(94598);function u(e){let{count:t}=e;return o.default.createElement("code",null,o.default.createElement(i.default,{values:{id:"json-schema.keywords.prefixItemsEntry",count:t}},"items[{count}]"))}t.default=function(e){const{schema:t}=e;let n=t.prefixItems;if(void 0===n)return o.default.createElement(o.default.Fragment,null);let r=Array.isArray(n),i=Array.isArray(n)?n.length:1,c=Array.isArray(n)?n:[n];return o.default.createElement("ul",null,c.map(((e,n)=>o.default.createElement(a.SchemaHierarchyComponent,{key:`schema_hierarchy_${n}`,innerJsonPointer:"/prefixItems"+(r?`/${n}`:"")},o.default.createElement(s.CreateEdge,{key:`array_prefixItems_${n}`,name:o.default.createElement(u,{count:n}),schema:e,required:void 0!==t.minItems&&t.minItems>=i})))))}},96912:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=r(n(2784)),i=r(n(1077)),s=n(2204),a=n(94598);function u(){return o.default.createElement("code",null,o.default.createElement(i.default,{values:{id:"json-schema.keywords.unevaluatedItemsEntry"}},"items[y]"))}t.default=function(e){const{schema:t}=e;let n=t.unevaluatedItems;return void 0===n||"boolean"==typeof n?o.default.createElement(o.default.Fragment,null):o.default.createElement("ul",null,o.default.createElement(a.SchemaHierarchyComponent,{innerJsonPointer:"/unevaluatedItems"},o.default.createElement(s.CreateEdge,{key:"array_unevaluatedItems",name:o.default.createElement(u,null),schema:n,required:!1})))}},39820:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.CreateArray=void 0;var o=n(55242);Object.defineProperty(t,"CreateArray",{enumerable:!0,get:function(){return r(o).default}})},54884:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.CreateValue=t.CreateDescription=t.CreateAlwaysInvalid=t.CreateAlwaysValid=t.CreateNull=t.CreateInteger=t.CreateNumber=t.CreateBoolean=t.CreateString=t.CreateArray=t.CreateObject=t.SchemaConditional=t.SchemaComposition=void 0;var o=n(14043);Object.defineProperty(t,"SchemaComposition",{enumerable:!0,get:function(){return o.SchemaComposition}});var i=n(51074);Object.defineProperty(t,"SchemaConditional",{enumerable:!0,get:function(){return i.SchemaConditional}});var s=n(52313);Object.defineProperty(t,"CreateObject",{enumerable:!0,get:function(){return s.CreateObject}});var a=n(39820);Object.defineProperty(t,"CreateArray",{enumerable:!0,get:function(){return a.CreateArray}});var u=n(76559);Object.defineProperty(t,"CreateString",{enumerable:!0,get:function(){return r(u).default}});var c=n(38753);Object.defineProperty(t,"CreateBoolean",{enumerable:!0,get:function(){return r(c).default}});var l=n(1996);Object.defineProperty(t,"CreateNumber",{enumerable:!0,get:function(){return r(l).default}});var f=n(15093);Object.defineProperty(t,"CreateInteger",{enumerable:!0,get:function(){return r(f).default}});var d=n(18938);Object.defineProperty(t,"CreateNull",{enumerable:!0,get:function(){return r(d).default}});var h=n(48800);Object.defineProperty(t,"CreateAlwaysValid",{enumerable:!0,get:function(){return r(h).default}});var p=n(14963);Object.defineProperty(t,"CreateAlwaysInvalid",{enumerable:!0,get:function(){return r(p).default}});var m=n(96187);Object.defineProperty(t,"CreateDescription",{enumerable:!0,get:function(){return r(m).default}});var g=n(95566);Object.defineProperty(t,"CreateValue",{enumerable:!0,get:function(){return r(g).default}})},34446:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=r(n(2784)),i=r(n(1077)),s=n(2204),a=n(94598);function u(){return o.default.createElement("code",null,o.default.createElement(i.default,{values:{id:"json-schema.labels.additionalProperties"}},"property name*"))}t.default=function(e){const{schema:t}=e;let n=t.additionalProperties;return void 0===n||"boolean"==typeof n?o.default.createElement(o.default.Fragment,null):o.default.createElement("ul",null,o.default.createElement(a.SchemaHierarchyComponent,{innerJsonPointer:"/additionalProperties"},o.default.createElement(s.CreateEdge,{key:"object_additionalProperties",name:o.default.createElement(u,null),schema:n,required:!1})))}},18315:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=r(n(2784)),i=r(n(34446)),s=r(n(48439)),a=r(n(92190)),u=r(n(32457)),c=r(n(24595)),l=r(n(1431)),f=n(77740),d=n(94598),h=n(9966),p=n(54884);t.default=function(e){const{schema:t,nullable:n,description:r}=e,m=(0,d.useJSVOptionsContext)();return o.default.createElement(o.default.Fragment,null,o.default.createElement(h.TypeLabel,null),"\xa0:\xa0",o.default.createElement(h.ObjectLabel,null),o.default.createElement(c.default,{schema:t}),o.default.createElement(s.default,{schema:t}),o.default.createElement(a.default,{schema:t}),o.default.createElement(u.default,{schema:t}),o.default.createElement(i.default,{schema:t}),o.default.createElement(l.default,{schema:t}),o.default.createElement("div",{style:{marginTop:"var(--ifm-table-cell-padding)"}},o.default.createElement(f.QualifierMessages,{schema:t,options:m,nullable:n})),void 0!==r&&o.default.createElement(p.CreateDescription,{description:r}))}},92190:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=r(n(2784)),i=n(2204),s=n(94598),a=n(77740);t.default=function(e){const{schema:t}=e,n=t.patternProperties;return void 0===n?o.default.createElement(o.default.Fragment,null):o.default.createElement("ul",null,Object.entries(n).map((e=>{let[t,n]=e;return o.default.createElement(s.SchemaHierarchyComponent,{key:`object_patternProperties_${t}`,innerJsonPointer:`/patternProperties/${(0,a.encodeStringForJSONPointer)(t)}`},o.default.createElement(i.CreateEdge,{name:o.default.createElement("code",null,t),schema:n,required:!1}))})))}},48439:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=r(n(2784)),i=n(2204),s=n(94598),a=n(77740);t.default=function(e){const{schema:t}=e,n=t.properties;return void 0===n?o.default.createElement(o.default.Fragment,null):o.default.createElement("ul",null,Object.entries(n).map((e=>{let[n,r]=e;return o.default.createElement(s.SchemaHierarchyComponent,{key:`object_properties_${n}`,innerJsonPointer:`/properties/${(0,a.encodeStringForJSONPointer)(n)}`},o.default.createElement(i.CreateEdge,{name:o.default.createElement("strong",null,n),schema:r,required:!!Array.isArray(t.required)&&t.required.includes(n)}))})))}},32457:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=r(n(2784)),i=n(2204),s=n(94598);t.default=function(e){const{schema:t}=e;let n=t.propertyNames;if(void 0===n||"boolean"==typeof n||void 0===n.pattern)return o.default.createElement(o.default.Fragment,null);let r=n.pattern,a={...n};return delete a.pattern,o.default.createElement("ul",null,o.default.createElement(s.SchemaHierarchyComponent,{innerJsonPointer:"/propertyNames"},o.default.createElement(i.CreateEdge,{key:"propertyNames",name:o.default.createElement("code",null,r),schema:a,required:!1})))}},1431:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=r(n(2784)),i=r(n(1077)),s=n(2204),a=n(94598);function u(){return o.default.createElement("code",null,o.default.createElement(i.default,{values:{id:"json-schema.labels.unevaluatedProperties"}},"property name*"))}t.default=function(e){const{schema:t}=e;let n=t.unevaluatedProperties;return void 0===n||"boolean"==typeof n?o.default.createElement(o.default.Fragment,null):o.default.createElement("ul",null,o.default.createElement(a.SchemaHierarchyComponent,{innerJsonPointer:"/unevaluatedProperties"},o.default.createElement(s.CreateEdge,{key:"object_unevaluatedProperties",name:o.default.createElement(u,null),schema:n,required:!1})))}},24595:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=r(n(2784)),i=n(2204),s=n(94598),a=n(77740);t.default=function(e){const{schema:t}=e,n=t.required||[],r=Object.keys(t.properties||{}),u=n.filter((e=>!r.includes(e)));return 0===u.length?o.default.createElement(o.default.Fragment,null):o.default.createElement("ul",null,u.map(((e,t)=>o.default.createElement(s.SchemaHierarchyComponent,{key:`object_unlisted_properties_${t}`,innerJsonPointer:`/properties/${(0,a.encodeStringForJSONPointer)(e)}`},o.default.createElement(i.CreateEdge,{name:o.default.createElement("strong",null,e),schema:!0,required:!0})))))}},52313:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.CreateObject=void 0;var o=n(18315);Object.defineProperty(t,"CreateObject",{enumerable:!0,get:function(){return r(o).default}})},65296:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=r(n(2784)),i=r(n(82009)),s=r(n(77336)),a=n(2204),u=n(94598),c=n(77740);t.default=function(e){const{schema:t}=e;let n=t.allOf,r="allOf";return o.default.createElement("div",null,o.default.createElement("span",{className:"badge badge--info"},r),o.default.createElement(s.default,null,n.map(((e,t)=>o.default.createElement(i.default,{key:`schema_${r}_${t}`,value:`schema_${r}_${t}`,label:o.default.createElement(c.GenerateFriendlyName,{schema:e})},o.default.createElement(u.SchemaHierarchyComponent,{innerJsonPointer:`/allOf/${t}`},o.default.createElement(a.CreateNodes,{schema:e})))))))}},74517:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=r(n(2784)),i=r(n(82009)),s=r(n(77336)),a=n(2204),u=n(94598),c=n(77740);t.default=function(e){const{schema:t}=e;let n=t.anyOf,r="anyOf";return o.default.createElement("div",null,o.default.createElement("span",{className:"badge badge--info"},r),o.default.createElement(s.default,null,n.map(((e,t)=>o.default.createElement(i.default,{key:`schema_${r}_${t}`,value:`schema_${r}_${t}`,label:o.default.createElement(c.GenerateFriendlyName,{schema:e})},o.default.createElement(u.SchemaHierarchyComponent,{innerJsonPointer:`/anyOf/${t}`},o.default.createElement(a.CreateNodes,{schema:e})))))))}},14043:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.SchemaComposition=t.NotSchema=t.OneOfSchema=t.AnyOfSchema=t.AllOfSchema=void 0;var o=n(70213);Object.defineProperty(t,"AllOfSchema",{enumerable:!0,get:function(){return r(o).default}});var i=n(74517);Object.defineProperty(t,"AnyOfSchema",{enumerable:!0,get:function(){return r(i).default}});var s=n(49549);Object.defineProperty(t,"OneOfSchema",{enumerable:!0,get:function(){return r(s).default}});var a=n(83291);Object.defineProperty(t,"NotSchema",{enumerable:!0,get:function(){return r(a).default}});var u=n(17228);Object.defineProperty(t,"SchemaComposition",{enumerable:!0,get:function(){return r(u).default}})},83291:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=r(n(2784)),i=n(2204),s=n(94598);t.default=function(e){const{schema:t}=e;let n=t.not;return o.default.createElement("div",null,o.default.createElement("span",{className:"badge badge--danger"},"not"),o.default.createElement("br",null),o.default.createElement(s.SchemaHierarchyComponent,{innerJsonPointer:"/not"},o.default.createElement(i.CreateNodes,{schema:n})))}},49549:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=r(n(2784)),i=r(n(82009)),s=r(n(77336)),a=n(2204),u=n(94598),c=n(77740);t.default=function(e){const{schema:t}=e;let n=t.oneOf,r="oneOf";return o.default.createElement("div",null,o.default.createElement("span",{className:"badge badge--info"},r),o.default.createElement(s.default,null,n.map(((e,t)=>o.default.createElement(i.default,{key:`schema_${r}_${t}`,value:`schema_${r}_${t}`,label:o.default.createElement(c.GenerateFriendlyName,{schema:e})},o.default.createElement(u.SchemaHierarchyComponent,{innerJsonPointer:`/oneOf/${t}`},o.default.createElement(a.CreateNodes,{schema:e})))))))}},17228:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=r(n(2784)),i=n(14043);t.default=function(e){const{schema:t}=e;return o.default.createElement(o.default.Fragment,null,void 0!==t.oneOf&&o.default.createElement(i.OneOfSchema,{schema:t}),void 0!==t.anyOf&&o.default.createElement(i.AnyOfSchema,{schema:t}),void 0!==t.allOf&&o.default.createElement(i.AllOfSchema,{schema:t}),void 0!==t.not&&o.default.createElement(i.NotSchema,{schema:t}))}},83327:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=r(n(2784)),i=r(n(98480));t.default=function(e){const{summary:t,children:n,detailsProps:r}=e;return o.default.createElement(i.default,{summary:o.default.createElement("summary",null,t),...r},n)}},50279:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=r(n(2784)),i=n(2204);t.default=function(e){let{name:t,schema:n,required:r}=e;return o.default.createElement(i.SchemaItem,{name:t,schema:n,required:r})}},42360:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=r(n(2784)),i=n(2204),s=n(54884),a=n(2204),u=n(77740);t.default=function(e){const{schema:t}=e;if("boolean"==typeof t)return o.default.createElement(a.CreateValidOrInvalid,{schema:t});const n=(0,u.isSchemaComposition)(t),r=(0,u.isSchemaConditional)(t);return o.default.createElement(o.default.Fragment,null,o.default.createElement(i.CreateTypes,{schema:t}),n&&o.default.createElement(s.SchemaComposition,{schema:t}),r&&o.default.createElement(s.SchemaConditional,{schema:t}))}},8563:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=r(n(2784)),i=r(n(82009)),s=r(n(77336)),a=n(2204),u=n(77740);function c(e){const{schema:t,type:n,nullable:r}=e;return o.default.createElement(a.RenderProvidedType,{schema:t,type:n,nullable:r})}function l(e){const{schema:t,types:n,nullable:r}=e;return o.default.createElement(s.default,{defaultValue:n[0].value,values:n,key:"multiple_types"},n.map((e=>o.default.createElement(i.default,{key:e.value,value:e.value},o.default.createElement(a.RenderProvidedType,{type:e.value,schema:t,nullable:r})))))}t.default=function(e){const{schema:t}=e,n=(0,u.detectedTypes)(t),r=n.includes("null");if(1===n.length||r&&2===n.length){const e=n.find((e=>"null"!==e))||n[0];return o.default.createElement(c,{schema:t,type:e,nullable:r})}if(n.length>1){const e=n.filter((e=>"null"!==e)).map((e=>({value:e,label:o.default.createElement(a.TypeLabelSwitch,{type:e})})));return o.default.createElement(l,{schema:t,types:e,nullable:r})}return(0,u.isSchemaComposition)(t)?o.default.createElement(o.default.Fragment,null):o.default.createElement(a.CreateValidOrInvalid,{schema:t})}},67189:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=r(n(2784)),i=n(54884);t.default=function(e){const{schema:t}=e;return o.default.createElement(o.default.Fragment,null,t&&o.default.createElement(i.CreateAlwaysValid,{schema:t}),!t&&o.default.createElement(i.CreateAlwaysInvalid,null))}},99798:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=r(n(2784)),i=n(54884);t.default=function(e){let{schema:t,type:n,nullable:r}=e;const s={description:t.description,nullable:r};switch(n){case"array":return o.default.createElement(i.CreateArray,{schema:t,...s});case"object":return o.default.createElement(i.CreateObject,{schema:t,...s});case"string":return o.default.createElement(i.CreateString,{schema:t,...s});case"boolean":return o.default.createElement(i.CreateBoolean,{schema:t,...s});case"number":return o.default.createElement(i.CreateNumber,{schema:t,...s});case"integer":return o.default.createElement(i.CreateInteger,{schema:t,...s});default:return o.default.createElement(i.CreateNull,{schema:t,...s})}}},25321:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=r(n(2784)),i=n(2204),s=n(94598),a=n(9966),u=n(77740),c=r(n(86448));t.default=function(e){let{schema:t,name:n,required:r}=e;const{jsonPointer:l,level:f}=(0,s.useSchemaHierarchyContext)();let d=t,h="boolean"!=typeof d&&!0===d.deprecated,p="boolean"!=typeof d&&!0===d.readOnly,m="boolean"!=typeof d&&!0===d.writeOnly,g="boolean"!=typeof d&&(void 0!==d.const||Array.isArray(d.enum)&&1===d.enum.length),y=!h&&r;const v=o.default.createElement(o.default.Fragment,null,n,"\xa0",o.default.createElement(u.GenerateFriendlyName,{schema:t}),y&&o.default.createElement(o.default.Fragment,null,"\xa0"),y&&o.default.createElement(a.RequiredLabel,null),h&&o.default.createElement(o.default.Fragment,null,"\xa0"),h&&o.default.createElement(a.DeprecatedLabel,null),p&&o.default.createElement(o.default.Fragment,null,"\xa0"),p&&o.default.createElement(a.ReadOnlyLabel,null),m&&o.default.createElement(o.default.Fragment,null,"\xa0"),m&&o.default.createElement(a.WriteOnlyLabel,null),g&&o.default.createElement(o.default.Fragment,null,"\xa0"),g&&o.default.createElement(a.ConstantLabel,null));return o.default.createElement("li",{className:c.default.schemaItem,id:l,"data-level":f},o.default.createElement(i.Collapsible,{summary:v,detailsProps:{open:!1}},o.default.createElement(o.default.Fragment,null,o.default.createElement(i.CreateNodes,{schema:t}))))}},40080:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=r(n(2784)),i=n(9966);t.default=function(e){const{type:t,...n}=e;switch(t){case"string":return o.default.createElement(i.StringLabel,{...n});case"number":return o.default.createElement(i.NumberLabel,{...n});case"boolean":return o.default.createElement(i.BooleanLabel,{...n});case"object":return o.default.createElement(i.ObjectLabel,{...n});case"array":return o.default.createElement(i.ArrayLabel,{...n});case"integer":return o.default.createElement(i.IntegerLabel,{...n});case"null":return o.default.createElement(i.NullLabel,{...n});case!0:return o.default.createElement(i.TrueLabel,{...n});case!1:return o.default.createElement(i.FalseLabel,{...n});default:return o.default.createElement("span",{style:{opacity:"0.6"}},t)}}},2204:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.SchemaItem=t.RenderProvidedType=t.TypeLabelSwitch=t.CreateTypes=t.CreateValidOrInvalid=t.CreateEdge=t.CreateNodes=t.Collapsible=void 0;var o=n(83327);Object.defineProperty(t,"Collapsible",{enumerable:!0,get:function(){return r(o).default}});var i=n(14130);Object.defineProperty(t,"CreateNodes",{enumerable:!0,get:function(){return r(i).default}});var s=n(50279);Object.defineProperty(t,"CreateEdge",{enumerable:!0,get:function(){return r(s).default}});var a=n(67189);Object.defineProperty(t,"CreateValidOrInvalid",{enumerable:!0,get:function(){return r(a).default}});var u=n(8563);Object.defineProperty(t,"CreateTypes",{enumerable:!0,get:function(){return r(u).default}});var c=n(40080);Object.defineProperty(t,"TypeLabelSwitch",{enumerable:!0,get:function(){return r(c).default}});var l=n(99798);Object.defineProperty(t,"RenderProvidedType",{enumerable:!0,get:function(){return r(l).default}});var f=n(25321);Object.defineProperty(t,"SchemaItem",{enumerable:!0,get:function(){return r(f).default}})},94598:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var o=Object.getOwnPropertyDescriptor(t,n);o&&!("get"in o?!t.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,o)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),o=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),o(n(60168),t),o(n(50121),t)},60168:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.JSVOptionsContextProvider=t.useJSVOptionsContext=t.JSVOptionsContext=void 0;const r=n(2784);t.JSVOptionsContext=(0,r.createContext)({fullSchema:!1,showExamples:!1,qualifierMessagesOrder:void 0,DescriptionComponent:void 0,UnresolvedRefsComponent:void 0});t.useJSVOptionsContext=()=>(0,r.useContext)(t.JSVOptionsContext),t.JSVOptionsContextProvider=t.JSVOptionsContext.Provider},50121:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var o=Object.getOwnPropertyDescriptor(t,n);o&&!("get"in o?!t.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,o)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),o=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),i=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&r(t,e,n);return o(t,e),t};Object.defineProperty(t,"__esModule",{value:!0}),t.SchemaHierarchyComponent=t.SchemaHierarchyContextProvider=t.useSchemaHierarchyContext=t.SchemaHierarchyContext=void 0;const s=i(n(2784));t.SchemaHierarchyContext=(0,s.createContext)({jsonPointer:"",level:0});t.useSchemaHierarchyContext=()=>(0,s.useContext)(t.SchemaHierarchyContext),t.SchemaHierarchyContextProvider=t.SchemaHierarchyContext.Provider,t.SchemaHierarchyComponent=function(e){let{innerJsonPointer:n,children:r}=e;const{jsonPointer:o,level:i}=(0,t.useSchemaHierarchyContext)();return s.default.createElement(t.SchemaHierarchyContextProvider,{value:{jsonPointer:`${o}${n}`,level:i+1}},r)}},70056:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var o=Object.getOwnPropertyDescriptor(t,n);o&&!("get"in o?!t.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,o)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),o=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),i=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&r(t,e,n);return o(t,e),t};Object.defineProperty(t,"__esModule",{value:!0});const s=i(n(2784)),a=n(20028),u=n(2204),c=n(94598),l=n(9966);function f(e){const{error:t}=e;return s.default.createElement("div",null,s.default.createElement(l.ErrorOccurredLabel,{error:t}))}function d(e){const{schema:t,viewerOptions:n}=e,r="boolean"!=typeof t&&void 0!==t.title?t.title:"Schema",o={fullSchema:t,...n};return s.default.createElement(c.SchemaHierarchyContextProvider,{value:{jsonPointer:"",level:0}},s.default.createElement(c.JSVOptionsContextProvider,{value:o},s.default.createElement(u.Collapsible,{summary:s.default.createElement("strong",null,r),detailsProps:{open:!0,className:e.className||"json-schema-viewer"}},s.default.createElement(u.CreateNodes,{schema:t}))))}t.default=function(e){const{schema:t,resolverOptions:n,viewerOptions:r}=e,[o,i]=(0,s.useState)(void 0),[u,c]=(0,s.useState)(void 0);return(0,s.useEffect)((()=>{(new a.Resolver).resolve(t,n).then((e=>{c(e.result)})).catch((e=>{i(e)}))}),[]),void 0!==o?s.default.createElement(f,{error:o}):void 0===u?s.default.createElement(l.LoadingLabel,null):s.default.createElement(d,{schema:u,viewerOptions:r,className:e.className})}},34929:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=r(n(2784)),i=r(n(1077));t.default=function(){const e=o.default.createElement(o.default.Fragment,null,"\xa0");return o.default.createElement(o.default.Fragment,null,e,o.default.createElement("strong",null,o.default.createElement(i.default,{values:{id:"json-schema.labels.and"}},"AND")),e)}},23492:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=r(n(2784)),i=r(n(1077));t.default=function(){return o.default.createElement("span",{style:{opacity:"0.6"}},o.default.createElement(i.default,{values:{id:"json-schema.keywords.array"}},"array"))}},29277:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=r(n(2784)),i=r(n(1077));t.default=function(){return o.default.createElement("span",{style:{opacity:"0.6"}},o.default.createElement(i.default,{values:{id:"json-schema.keywords.boolean"}},"boolean"))}},59164:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=r(n(2784)),i=r(n(1077)),s=r(n(89754));t.default=function(){return o.default.createElement("strong",{className:s.default.constant},o.default.createElement(i.default,{values:{id:"json-schema.keywords.const"}},"constant"))}},55548:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=r(n(2784)),i=r(n(1077)),s=r(n(3350));t.default=function(){return o.default.createElement("strong",{className:s.default.deprecated},o.default.createElement(i.default,{values:{id:"json-schema.keywords.deprecated"}},"deprecated"))}},66113:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=r(n(2784)),i=r(n(1077));t.default=function(){return o.default.createElement("strong",null,o.default.createElement(i.default,{values:{id:"json-schema.keywords.else"}},"Else"))}},43297:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=r(n(2784)),i=r(n(1077));t.default=function(e){const{error:t}=e;return o.default.createElement(i.default,{values:{id:"json-schema.labels.errorOccurred",message:t.message}},"Something bad happens : {message}")}},94315:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=r(n(2784)),i=r(n(1077));t.default=function(){return o.default.createElement("span",{style:{opacity:"0.6"}},o.default.createElement(i.default,{values:{id:"json-schema.keywords.false"}},"none"))}},61380:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=r(n(2784)),i=r(n(1077));t.default=function(){return o.default.createElement("strong",null,o.default.createElement(i.default,{values:{id:"json-schema.keywords.if"}},"If"))}},15973:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=r(n(2784)),i=r(n(1077));t.default=function(){return o.default.createElement("span",{style:{opacity:"0.6"}},o.default.createElement(i.default,{values:{id:"json-schema.keywords.integer"}},"integer"))}},3207:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=r(n(2784)),i=r(n(1077));t.default=function(){return o.default.createElement("div",null,o.default.createElement(i.default,{values:{id:"json-schema.labels.loading"}},"Loading ...."))}},83204:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=r(n(2784)),i=r(n(1077));t.default=function(){return o.default.createElement("strong",null,o.default.createElement(i.default,{values:{id:"json-schema.labels.not"}},"NOT"))}},6760:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=r(n(2784)),i=r(n(1077));t.default=function(){return o.default.createElement("span",{style:{opacity:"0.6"}},o.default.createElement(i.default,{values:{id:"json-schema.keywords.null"}},"null"))}},17487:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=r(n(2784)),i=r(n(1077));t.default=function(){return o.default.createElement("span",{style:{opacity:"0.6"}},o.default.createElement(i.default,{values:{id:"json-schema.keywords.number"}},"number"))}},93594:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=r(n(2784)),i=r(n(1077));t.default=function(){return o.default.createElement("span",{style:{opacity:"0.6"}},o.default.createElement(i.default,{values:{id:"json-schema.keywords.object"}},"object"))}},27532:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=r(n(2784)),i=r(n(1077));t.default=function(){const e=o.default.createElement(o.default.Fragment,null,"\xa0");return o.default.createElement(o.default.Fragment,null,e,o.default.createElement("strong",null,o.default.createElement(i.default,{values:{id:"json-schema.labels.or"}},"OR")),e)}},23373:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=r(n(2784)),i=r(n(1077)),s=r(n(65950));t.default=function(){return o.default.createElement("strong",{className:s.default.readOnly},o.default.createElement(i.default,{values:{id:"json-schema.keywords.readOnly"}},"readOnly"))}},35405:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=r(n(2784)),i=r(n(1077)),s=r(n(43654));t.default=function(){return o.default.createElement("strong",{className:s.default.required},o.default.createElement(i.default,{values:{id:"json-schema.keywords.required"}},"required"))}},74591:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=r(n(2784)),i=r(n(1077));t.default=function(e){let{format:t}=e;return o.default.createElement("span",{style:{opacity:"0.6"}},o.default.createElement(i.default,{values:{id:"json-schema.keywords.string"}},"string"),void 0!==t&&o.default.createElement(o.default.Fragment,null,"\xa0",`(${t})`))}},77502:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=r(n(2784)),i=r(n(1077));t.default=function(){return o.default.createElement("strong",null,o.default.createElement(i.default,{values:{id:"json-schema.keywords.then"}},"Then"))}},83978:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=r(n(2784)),i=r(n(1077));t.default=function(){return o.default.createElement("span",{style:{opacity:"0.6"}},o.default.createElement(i.default,{values:{id:"json-schema.keywords.true"}},"any"))}},74731:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=r(n(2784)),i=r(n(1077));t.default=function(){return o.default.createElement("strong",null,o.default.createElement(i.default,{values:{id:"json-schema.keywords.type",count:1}},"type"))}},82093:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=r(n(2784)),i=r(n(1077)),s=r(n(65128));t.default=function(){return o.default.createElement("strong",{className:s.default.writeOnly},o.default.createElement(i.default,{values:{id:"json-schema.keywords.writeOnly"}},"writeOnly"))}},25006:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=r(n(2784)),i=r(n(1077));t.default=function(){const e=o.default.createElement(o.default.Fragment,null,"\xa0");return o.default.createElement(o.default.Fragment,null,e,o.default.createElement("strong",null,o.default.createElement(i.default,{values:{id:"json-schema.labels.xor"}},"XOR")),e)}},9966:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.ConstantLabel=t.XorLabel=t.NotLabel=t.OrLabel=t.AndLabel=t.NullLabel=t.IntegerLabel=t.NumberLabel=t.BooleanLabel=t.StringLabel=t.FalseLabel=t.TrueLabel=t.WriteOnlyLabel=t.ReadOnlyLabel=t.DeprecatedLabel=t.RequiredLabel=t.ErrorOccurredLabel=t.LoadingLabel=t.ElseLabel=t.ThenLabel=t.IfLabel=t.TypeLabel=t.ArrayLabel=t.ObjectLabel=void 0;var o=n(93594);Object.defineProperty(t,"ObjectLabel",{enumerable:!0,get:function(){return r(o).default}});var i=n(23492);Object.defineProperty(t,"ArrayLabel",{enumerable:!0,get:function(){return r(i).default}});var s=n(74731);Object.defineProperty(t,"TypeLabel",{enumerable:!0,get:function(){return r(s).default}});var a=n(61380);Object.defineProperty(t,"IfLabel",{enumerable:!0,get:function(){return r(a).default}});var u=n(77502);Object.defineProperty(t,"ThenLabel",{enumerable:!0,get:function(){return r(u).default}});var c=n(66113);Object.defineProperty(t,"ElseLabel",{enumerable:!0,get:function(){return r(c).default}});var l=n(3207);Object.defineProperty(t,"LoadingLabel",{enumerable:!0,get:function(){return r(l).default}});var f=n(43297);Object.defineProperty(t,"ErrorOccurredLabel",{enumerable:!0,get:function(){return r(f).default}});var d=n(35405);Object.defineProperty(t,"RequiredLabel",{enumerable:!0,get:function(){return r(d).default}});var h=n(55548);Object.defineProperty(t,"DeprecatedLabel",{enumerable:!0,get:function(){return r(h).default}});var p=n(23373);Object.defineProperty(t,"ReadOnlyLabel",{enumerable:!0,get:function(){return r(p).default}});var m=n(82093);Object.defineProperty(t,"WriteOnlyLabel",{enumerable:!0,get:function(){return r(m).default}});var g=n(83978);Object.defineProperty(t,"TrueLabel",{enumerable:!0,get:function(){return r(g).default}});var y=n(94315);Object.defineProperty(t,"FalseLabel",{enumerable:!0,get:function(){return r(y).default}});var v=n(74591);Object.defineProperty(t,"StringLabel",{enumerable:!0,get:function(){return r(v).default}});var b=n(29277);Object.defineProperty(t,"BooleanLabel",{enumerable:!0,get:function(){return r(b).default}});var _=n(17487);Object.defineProperty(t,"NumberLabel",{enumerable:!0,get:function(){return r(_).default}});var w=n(15973);Object.defineProperty(t,"IntegerLabel",{enumerable:!0,get:function(){return r(w).default}});var E=n(6760);Object.defineProperty(t,"NullLabel",{enumerable:!0,get:function(){return r(E).default}});var k=n(34929);Object.defineProperty(t,"AndLabel",{enumerable:!0,get:function(){return r(k).default}});var x=n(27532);Object.defineProperty(t,"OrLabel",{enumerable:!0,get:function(){return r(x).default}});var D=n(83204);Object.defineProperty(t,"NotLabel",{enumerable:!0,get:function(){return r(D).default}});var S=n(25006);Object.defineProperty(t,"XorLabel",{enumerable:!0,get:function(){return r(S).default}});var C=n(59164);Object.defineProperty(t,"ConstantLabel",{enumerable:!0,get:function(){return r(C).default}})},93325:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=r(n(2784)),i=r(n(1077)),s=n(9966);function a(e){let{value:t}=e;return o.default.createElement("code",null,o.default.createElement(i.default,{values:{id:"json-schema.keywords.minContains",count:t}},"at least {count} valid item(s)"))}function u(e){let{value:t}=e;return o.default.createElement("code",null,o.default.createElement(i.default,{values:{id:"json-schema.keywords.maxContains",count:t}},"at most {count} valid item(s)"))}t.default=function(e){const{schema:t}=e;let n=t,r=void 0!==n.minContains&&void 0!==n.maxContains;const c=o.default.createElement("strong",null,o.default.createElement(i.default,{values:{id:"json-schema.labels.contains"}},"Must contain : "));return o.default.createElement("div",{key:r?"minContainsAndmaxContains":void 0!==n.minContains?"minContains":"maxContains"},c,"\xa0",void 0!==n.minContains&&o.default.createElement(a,{value:n.minContains}),r&&o.default.createElement(s.AndLabel,null),void 0!==n.maxContains&&o.default.createElement(u,{value:n.maxContains}))}},40877:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=r(n(2784)),i=r(n(1077)),s=n(9966);function a(e){let{value:t}=e;return o.default.createElement("code",null,o.default.createElement(i.default,{values:{id:"json-schema.keywords.minItems",count:t}},">= {count}"))}function u(e){let{value:t}=e;return o.default.createElement("code",null,o.default.createElement(i.default,{values:{id:"json-schema.keywords.maxItems",count:t}},"<= {count}"))}t.default=function(e){const{schema:t}=e;let n=void 0!==t.minItems&&void 0!==t.maxItems;const r=o.default.createElement("strong",null,o.default.createElement(i.default,{values:{id:"json-schema.labels.lengthItems"}},"Length :"));return o.default.createElement("div",{key:n?"minItemsAndmaxItems":void 0!==t.minItems?"minItems":"maxItems"},r,"\xa0",void 0!==t.minItems&&o.default.createElement(a,{value:t.minItems}),n&&o.default.createElement(s.AndLabel,null),void 0!==t.maxItems&&o.default.createElement(u,{value:t.maxItems}))}},92065:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=r(n(2784)),i=r(n(1077));t.default=function(){const e=o.default.createElement("strong",null,o.default.createElement(i.default,{values:{id:"json-schema.labels.uniqueItems"}},"Unique items :")),t=o.default.createElement("code",null,o.default.createElement(i.default,{values:{id:"json-schema.labels.uniqueItemsOnly"}},"yes"));return o.default.createElement("div",{key:"uniqueItems"},e,"\xa0",t)}},69705:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=r(n(2784)),i=r(n(1077)),s=n(54884);t.default=function(e){const{schema:t}=e,n=o.default.createElement("strong",null,o.default.createElement(i.default,{values:{id:"json-schema.labels.const"}},"Constant value :"));return o.default.createElement("div",{key:"const"},n,"\xa0",o.default.createElement(s.CreateValue,{value:t.const,schema:t}))}},47131:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=r(n(2784)),i=r(n(1077)),s=n(85685);t.default=function(e){const{schema:t}=e,n=o.default.createElement("strong",null,o.default.createElement(i.default,{values:{id:"json-schema.labels.contentEncoding"}},"Encoding :"));return o.default.createElement("div",{key:"contentEncoding"},n,"\xa0",(0,s.printSchemaType)(t.contentEncoding))}},76884:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=r(n(2784)),i=r(n(1077)),s=n(85685);t.default=function(e){const{schema:t}=e,n=o.default.createElement("strong",null,o.default.createElement(i.default,{values:{id:"json-schema.labels.contentMediaType"}},"Media type :"));return o.default.createElement("div",{key:"contentMediaType"},n,"\xa0",(0,s.printSchemaType)(t.contentMediaType))}},85734:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=r(n(2784)),i=r(n(1077)),s=n(2204),a=n(94598);t.default=function(e){const{schema:t}=e,n=o.default.createElement("strong",null,o.default.createElement(i.default,{values:{id:"json-schema.labels.contentSchema"}},"Decoded content must be validated against this schema :"));return o.default.createElement("div",{key:"contentSchema"},n,"\xa0",o.default.createElement(s.Collapsible,{summary:o.default.createElement("strong",null,"Schema"),detailsProps:{open:!0}},o.default.createElement(a.SchemaHierarchyComponent,{innerJsonPointer:"/contentSchema"},o.default.createElement(s.CreateNodes,{schema:t.contentSchema}))))}},69617:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=r(n(2784)),i=r(n(1077)),s=n(54884);t.default=function(e){const{schema:t}=e,n=o.default.createElement("strong",null,o.default.createElement(i.default,{values:{id:"json-schema.labels.default"}},"Default value :"));return o.default.createElement("div",{key:"default"},n,"\xa0",o.default.createElement(s.CreateValue,{value:t.default,schema:t}))}},99272:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=r(n(2784)),i=r(n(1077));t.default=function(){const e=o.default.createElement(i.default,{values:{id:"json-schema.labels.deprecated"}},"Deprecated");return o.default.createElement("div",{key:"deprecated"},"\ud83d\udea8\xa0",e)}},78661:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=r(n(2784)),i=r(n(1077)),s=n(54884);t.default=function(e){const{schema:t}=e,n=o.default.createElement("strong",null,o.default.createElement(i.default,{values:{id:"json-schema.labels.enum"}},"Possible values :"));return o.default.createElement("div",{key:"enum"},n,"\xa0",o.default.createElement("ul",null,t.enum.map(((e,n)=>o.default.createElement("li",{key:n},o.default.createElement(s.CreateValue,{value:e,schema:t}))))))}},21499:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=r(n(2784)),i=r(n(1077)),s=r(n(82009)),a=r(n(77336)),u=n(54884);t.default=function(e){const{schema:t}=e,n=o.default.createElement("strong",null,o.default.createElement(i.default,{values:{id:"json-schema.labels.examples"}},"Example values :"));let r=t.examples.map(((e,t)=>({id:t,value:e,label:o.default.createElement(i.default,{values:{id:"json-schema.labels.exampleItem",index:t}},"Example {index}")})));return o.default.createElement("div",{key:"examples"},n,"\xa0",o.default.createElement(a.default,null,r.map((e=>o.default.createElement(s.default,{key:e.id,value:e.id.toString(),label:e.label},o.default.createElement(u.CreateValue,{value:e.value,schema:t}))))))}},34785:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=r(n(2784)),i=r(n(1077));t.default=function(){const e=o.default.createElement(i.default,{values:{id:"json-schema.labels.noExtraItems"}},"No extra item(s) are authorized in this array");return o.default.createElement("div",{key:"no-extra-items"},"\ud83d\udea8\xa0",e)}},71722:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=r(n(2784)),i=r(n(1077));t.default=function(){const e=o.default.createElement(i.default,{values:{id:"json-schema.labels.noExtraProperties"}},"No extra propertie(s) are authorized in this object");return o.default.createElement("div",{key:"no-extra-properties"},"\ud83d\udea8\xa0",e)}},7004:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=r(n(2784)),i=r(n(1077));t.default=function(){const e=o.default.createElement(i.default,{values:{id:"json-schema.labels.nullable"}},"Nullable");return o.default.createElement("div",{key:"nullable"},"\u2753\xa0",e)}},81165:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=r(n(2784)),i=r(n(1077)),s=n(9966);function a(e){let{value:t,exclusive:n}=e;return n?o.default.createElement(i.default,{values:{id:"json-schema.keywords.minimumExlusive",count:t}},"> {count}"):o.default.createElement(i.default,{values:{id:"json-schema.keywords.minimum",count:t}},">= {count}")}function u(e){let{value:t,exclusive:n}=e;return n?o.default.createElement(i.default,{values:{id:"json-schema.keywords.maximumExlusive",count:t}},"< {count}"):o.default.createElement(i.default,{values:{id:"json-schema.keywords.maximum",count:t}},"<= {count}")}t.default=function(e){const{schema:t}=e;let n=t.exclusiveMinimum||t.minimum,r=void 0!==t.exclusiveMinimum,c=t.exclusiveMaximum||t.maximum,l=void 0!==t.exclusiveMaximum;const f=void 0!==n&&void 0!==c,d=o.default.createElement("strong",null,o.default.createElement(i.default,{values:{id:"json-schema.labels.numberMinimumMaximum"}},"Possible values :"));return o.default.createElement("div",{key:"number-range"},d,"\xa0",void 0!==n&&o.default.createElement("code",null,o.default.createElement(a,{exclusive:r,value:n})),f&&o.default.createElement(s.AndLabel,null),void 0!==c&&o.default.createElement("code",null,o.default.createElement(u,{exclusive:l,value:c})))}},72040:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=r(n(2784)),i=r(n(1077));t.default=function(e){const{schema:t}=e;return o.default.createElement("div",{key:"multipleOf"},o.default.createElement("strong",null,o.default.createElement(i.default,{values:{id:"json-schema.labels.multipleOf"}},"Possible values :")),"\xa0",o.default.createElement("code",null,o.default.createElement(i.default,{values:{id:"json-schema.keywords.multipleOf",count:t.multipleOf}},"multiple of {count}")))}},85769:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=r(n(2784)),i=r(n(1077)),s=n(9966);function a(e){let{value:t}=e;return o.default.createElement("code",null,o.default.createElement(i.default,{values:{id:"json-schema.keywords.minProperties",count:t}},">= {count} propertie(s)"))}function u(e){let{value:t}=e;return o.default.createElement("code",null,o.default.createElement(i.default,{values:{id:"json-schema.keywords.maxProperties",count:t}},"<= {count} propertie(s)"))}t.default=function(e){const{schema:t}=e;let n=void 0!==t.minProperties&&void 0!==t.maxProperties;const r=o.default.createElement("strong",null,o.default.createElement(i.default,{values:{id:"json-schema.labels.lengthProperties"}},"Length :"));return o.default.createElement("div",{key:n?"minPropertiesAndMaxProperties":void 0!==t.minProperties?"minProperties":"maxProperties"},r,"\xa0",void 0!==t.minProperties&&o.default.createElement(a,{value:t.minProperties}),n&&o.default.createElement(s.AndLabel,null),void 0!==t.maxProperties&&o.default.createElement(u,{value:t.maxProperties}))}},74490:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=r(n(2784)),i=r(n(1077));t.default=function(e){const{schema:t}=e;return o.default.createElement("div",{key:"pattern"},o.default.createElement("strong",null,o.default.createElement(i.default,{values:{id:"json-schema.labels.pattern"}},"Pattern :")),"\xa0",o.default.createElement("code",null,t.pattern))}},16272:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var o=Object.getOwnPropertyDescriptor(t,n);o&&!("get"in o?!t.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,o)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),o=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),i=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&r(t,e,n);return o(t,e),t},s=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.DEFAULT_ORDER=t.CHECKS_MAP=void 0;const a=s(n(2784)),u=i(n(85685)),c=n(7639),l={nullable:{match:e=>{let{nullable:t}=e;return!0===t},Component:()=>a.default.createElement(u.NullableQM,{key:"nullable"})},deprecated:{match:e=>{let{schema:t}=e;return!0===t.deprecated},Component:()=>a.default.createElement(u.DeprecatedQM,{key:"deprecated"})},readOnly:{match:e=>{let{schema:t}=e;return!0===t.readOnly},Component:()=>a.default.createElement(u.ReadOnlyQM,{key:"readOnly"})},writeOnly:{match:e=>{let{schema:t}=e;return!0===t.writeOnly},Component:()=>a.default.createElement(u.WriteOnlyQM,{key:"writeOnly"})},enum:{match:e=>{let{schema:t}=e;return void 0!==t.enum},Component:e=>{let{schema:t}=e;return a.default.createElement(u.EnumQM,{key:"enum",schema:t})}},stringLength:{match:e=>{let{schema:t}=e;return void 0!==t.minLength||void 0!==t.maxLength},Component:e=>{let{schema:t}=e;return a.default.createElement(u.StringLengthQM,{key:"stringLength",schema:t})}},objectProperties:{match:e=>{let{schema:t}=e;return void 0!==t.minProperties||void 0!==t.maxProperties},Component:e=>{let{schema:t}=e;return a.default.createElement(u.ObjectPropertiesQM,{key:"objectProperties",schema:t})}},"no-extra-properties":{match:e=>{let{schema:t}=e;return!1===t.additionalProperties||!1===t.unevaluatedProperties},Component:()=>a.default.createElement(u.NoExtraPropertiesQM,{key:"no-extra-properties"})},arrayItems:{match:e=>{let{schema:t}=e;return void 0!==t.minItems||void 0!==t.maxItems},Component:e=>{let{schema:t}=e;return a.default.createElement(u.ArrayNumberOfItemsQM,{key:"arrayItems",schema:t})}},arrayContains:{match:e=>{let{schema:t}=e;return void 0!==t.minContains||void 0!==t.maxContains},Component:e=>{let{schema:t}=e;return a.default.createElement(u.ArrayContainsNumberQM,{key:"arrayContains",schema:t})}},"no-extra-items":{match:e=>{let{schema:t}=e;return!1===t.unevaluatedItems||!1===t.items||!1===t.additionalItems},Component:()=>a.default.createElement(u.NoExtraItemsQM,{key:"no-extra-items"})},"number-range":{match:e=>{let{schema:t}=e;return void 0!==t.minimum||void 0!==t.exclusiveMinimum||void 0!==t.maximum||void 0!==t.exclusiveMaximum},Component:e=>{let{schema:t}=e;return a.default.createElement(u.NumberBoundsQM,{key:"number-range",schema:t})}},pattern:{match:e=>{let{schema:t}=e;return void 0!==t.pattern},Component:e=>{let{schema:t}=e;return a.default.createElement(u.PatternQM,{key:"pattern",schema:t})}},multipleOf:{match:e=>{let{schema:t}=e;return void 0!==t.multipleOf},Component:e=>{let{schema:t}=e;return a.default.createElement(u.MultipleOfQM,{key:"multipleOf",schema:t})}},uniqueItems:{match:e=>{let{schema:t}=e;return void 0!==t.uniqueItems&&!0===t.uniqueItems},Component:()=>a.default.createElement(u.ArrayUniqueItemsQM,{key:"uniqueItems"})},default:{match:e=>{let{schema:t}=e;return void 0!==t.default},Component:e=>{let{schema:t}=e;return a.default.createElement(u.DefaultValueQM,{key:"default",schema:t})}},const:{match:e=>{let{schema:t}=e;return void 0!==t.const},Component:e=>{let{schema:t}=e;return a.default.createElement(u.ConstantQM,{key:"const",schema:t})}},examples:{match:e=>{let{schema:t,options:n}=e;return!0===n.showExamples&&void 0!==t.examples},Component:e=>{let{schema:t}=e;return a.default.createElement(u.ExamplesQM,{key:"examples",schema:t})}},contentMediaType:{match:e=>{let{schema:t}=e;return void 0!==t.contentMediaType},Component:e=>{let{schema:t}=e;return a.default.createElement(u.ContentMediaTypeQM,{key:"contentMediaType",schema:t})}},contentEncoding:{match:e=>{let{schema:t}=e;return void 0!==t.contentEncoding},Component:e=>{let{schema:t}=e;return a.default.createElement(u.ContentEncodingQM,{key:"contentEncoding",schema:t})}},contentSchema:{match:e=>{let{schema:t}=e;return void 0!==t.contentSchema},Component:e=>{let{schema:t}=e;return a.default.createElement(u.ContentSchemaQM,{key:"contentSchema",schema:t})}},unsolvedRefs:{match:e=>{let{schema:t}=e;return(0,c.hasUnresolvedRefs)(t)},Component:e=>a.default.createElement(u.UnsolvedRefsQM,{key:"unsolvedRefs",...e})}};t.CHECKS_MAP=l;t.DEFAULT_ORDER=["nullable","deprecated","readOnly","writeOnly","enum","stringLength","objectProperties","no-extra-properties","arrayItems","arrayContains","no-extra-items","number-range","pattern","multipleOf","uniqueItems","contentEncoding","contentMediaType","contentSchema","default","const","examples","unsolvedRefs"]},88870:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=r(n(2784)),i=r(n(1077));t.default=function(){const e=o.default.createElement(i.default,{values:{id:"json-schema.labels.readOnly"}},"read only");return o.default.createElement("div",{key:"readOnly"},"\ud83d\udea8\xa0",e)}},6165:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=r(n(2784)),i=r(n(1077)),s=n(9966);function a(e){let{value:t}=e;return o.default.createElement("code",null,o.default.createElement(i.default,{values:{id:"json-schema.keywords.minLength",count:t}},">= {count} character(s)"))}function u(e){let{value:t}=e;return o.default.createElement("code",null,o.default.createElement(i.default,{values:{id:"json-schema.keywords.maxLength",count:t}},"<= {count} character(s)"))}t.default=function(e){const{schema:t}=e;let n=void 0!==t.minLength&&void 0!==t.maxLength;const r=o.default.createElement("strong",null,o.default.createElement(i.default,{values:{id:"json-schema.labels.length"}},"Length :"));return o.default.createElement("div",{key:n?"minLengthAndmaxLength":void 0!==t.minLength?"minLength":"maxLength"},r,"\xa0",void 0!==t.minLength&&o.default.createElement(a,{value:t.minLength}),n&&o.default.createElement(s.AndLabel,null),void 0!==t.maxLength&&o.default.createElement(u,{value:t.maxLength}))}},70951:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=r(n(2784)),i=r(n(1077));t.default=function(e){const{schema:t,options:{UnresolvedRefsComponent:n}}=e,r=o.default.createElement("strong",null,o.default.createElement(i.default,{values:{id:"json-schema.labels.unsolvedRefs"}},"Unsolved ref(s) :"));let s=[t.$ref,t.$dynamicRef,t.$recursiveRef].filter((e=>void 0!==e)).join(" ");return o.default.createElement("div",{key:"unsolvedRefs"},n?o.default.createElement(n,{schema:t}):o.default.createElement(o.default.Fragment,null,r,"\xa0",s))}},64832:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=r(n(2784)),i=r(n(1077));t.default=function(){const e=o.default.createElement(i.default,{values:{id:"json-schema.labels.writeOnly"}},"write only");return o.default.createElement("div",{key:"writeOnly"},"\ud83d\udea8\xa0",e)}},85685:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.QUALIFIERS_DEFAULT_ORDER=t.QUALIFIERS_MAP=t.UnsolvedRefsQM=t.ContentSchemaQM=t.ContentEncodingQM=t.ContentMediaTypeQM=t.NullableQM=t.WriteOnlyQM=t.ReadOnlyQM=t.DeprecatedQM=t.ExamplesQM=t.ConstantQM=t.DefaultValueQM=t.ArrayUniqueItemsQM=t.MultipleOfQM=t.PatternQM=t.NumberBoundsQM=t.NoExtraItemsQM=t.ArrayContainsNumberQM=t.ArrayNumberOfItemsQM=t.NoExtraPropertiesQM=t.ObjectPropertiesQM=t.StringLengthQM=t.EnumQM=t.printSchemaType=void 0;const o=r(n(2784)),i=r(n(84560));t.printSchemaType=function(e){return["string","number","bigint","boolean"].includes(typeof e)?o.default.createElement("code",null,e.toString()):o.default.createElement(i.default,{language:"json"},`${JSON.stringify(e)}`)};var s=n(78661);Object.defineProperty(t,"EnumQM",{enumerable:!0,get:function(){return r(s).default}});var a=n(6165);Object.defineProperty(t,"StringLengthQM",{enumerable:!0,get:function(){return r(a).default}});var u=n(85769);Object.defineProperty(t,"ObjectPropertiesQM",{enumerable:!0,get:function(){return r(u).default}});var c=n(71722);Object.defineProperty(t,"NoExtraPropertiesQM",{enumerable:!0,get:function(){return r(c).default}});var l=n(40877);Object.defineProperty(t,"ArrayNumberOfItemsQM",{enumerable:!0,get:function(){return r(l).default}});var f=n(93325);Object.defineProperty(t,"ArrayContainsNumberQM",{enumerable:!0,get:function(){return r(f).default}});var d=n(34785);Object.defineProperty(t,"NoExtraItemsQM",{enumerable:!0,get:function(){return r(d).default}});var h=n(81165);Object.defineProperty(t,"NumberBoundsQM",{enumerable:!0,get:function(){return r(h).default}});var p=n(74490);Object.defineProperty(t,"PatternQM",{enumerable:!0,get:function(){return r(p).default}});var m=n(72040);Object.defineProperty(t,"MultipleOfQM",{enumerable:!0,get:function(){return r(m).default}});var g=n(92065);Object.defineProperty(t,"ArrayUniqueItemsQM",{enumerable:!0,get:function(){return r(g).default}});var y=n(69617);Object.defineProperty(t,"DefaultValueQM",{enumerable:!0,get:function(){return r(y).default}});var v=n(69705);Object.defineProperty(t,"ConstantQM",{enumerable:!0,get:function(){return r(v).default}});var b=n(21499);Object.defineProperty(t,"ExamplesQM",{enumerable:!0,get:function(){return r(b).default}});var _=n(99272);Object.defineProperty(t,"DeprecatedQM",{enumerable:!0,get:function(){return r(_).default}});var w=n(88870);Object.defineProperty(t,"ReadOnlyQM",{enumerable:!0,get:function(){return r(w).default}});var E=n(64832);Object.defineProperty(t,"WriteOnlyQM",{enumerable:!0,get:function(){return r(E).default}});var k=n(7004);Object.defineProperty(t,"NullableQM",{enumerable:!0,get:function(){return r(k).default}});var x=n(76884);Object.defineProperty(t,"ContentMediaTypeQM",{enumerable:!0,get:function(){return r(x).default}});var D=n(47131);Object.defineProperty(t,"ContentEncodingQM",{enumerable:!0,get:function(){return r(D).default}});var S=n(85734);Object.defineProperty(t,"ContentSchemaQM",{enumerable:!0,get:function(){return r(S).default}});var C=n(70951);Object.defineProperty(t,"UnsolvedRefsQM",{enumerable:!0,get:function(){return r(C).default}});var O=n(16272);Object.defineProperty(t,"QUALIFIERS_MAP",{enumerable:!0,get:function(){return O.CHECKS_MAP}}),Object.defineProperty(t,"QUALIFIERS_DEFAULT_ORDER",{enumerable:!0,get:function(){return O.DEFAULT_ORDER}})},7639:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.detectedTypes=t.hasUnresolvedRefs=t.isNull=t.isBoolean=t.isSchemaConditional=t.isSchemaComposition=t.isInteger=t.isNumeric=t.isStringType=t.isArrayType=t.isObjectType=void 0;t.isObjectType=e=>"boolean"!=typeof e&&("object"===e.type||void 0!==e.properties||void 0!==e.additionalProperties||void 0!==e.patternProperties||void 0!==e.propertyNames||void 0!==e.minProperties||void 0!==e.maxProperties||void 0!==e.required||void 0!==e.unevaluatedProperties);t.isArrayType=e=>{var t;return"boolean"!=typeof e&&("array"===e.type||void 0!==e.items||void 0!==e.minItems||void 0!==e.maxItems||void 0!==e.additionalItems||void 0!==e.contains||void 0!==e.minContains||void 0!==e.maxContains||void 0!==e.prefixItems||void 0!==e.unevaluatedItems||Array.isArray(e.const)||(null===(t=e.enum)||void 0===t?void 0:t.some((e=>Array.isArray(e)))))};t.isStringType=e=>{var t;return"boolean"!=typeof e&&("string"===e.type||void 0!==e.minLength||void 0!==e.maxLength||void 0!==e.pattern||(null===(t=e.enum)||void 0===t?void 0:t.some((e=>"string"==typeof e)))||"string"==typeof e.const)};t.isNumeric=e=>{var t;return"boolean"!=typeof e&&("number"===e.type||void 0!==e.multipleOf||void 0!==e.minimum||void 0!==e.exclusiveMinimum||void 0!==e.maximum||void 0!==e.exclusiveMaximum||(null===(t=e.enum)||void 0===t?void 0:t.some((e=>"number"==typeof e)))||"number"==typeof e.const)};t.isInteger=e=>{var t;return"boolean"!=typeof e&&("integer"===e.type||1===e.multipleOf||(null===(t=e.enum)||void 0===t?void 0:t.some((e=>"bigint"==typeof e)))||"bigint"==typeof e.const)};t.isSchemaComposition=e=>"boolean"!=typeof e&&(void 0!==e.allOf||void 0!==e.anyOf||void 0!==e.oneOf||void 0!==e.not);t.isSchemaConditional=e=>"boolean"!=typeof e&&(void 0!==e.if||void 0!==e.dependencies||void 0!==e.dependentRequired||void 0!==e.dependentSchemas);t.isBoolean=e=>{var t;return"boolean"!=typeof e&&("boolean"===e.type||(null===(t=e.enum)||void 0===t?void 0:t.some((e=>"boolean"==typeof e)))||"boolean"==typeof e.const)};t.isNull=e=>{var t;return"boolean"!=typeof e&&("null"===e.type||(null===(t=e.enum)||void 0===t?void 0:t.some((e=>null===e)))||null===e.const)};function*n(e){(0,t.isNull)(e)&&(yield"null"),(0,t.isObjectType)(e)&&(yield"object"),(0,t.isArrayType)(e)&&(yield"array"),(0,t.isStringType)(e)&&(yield"string"),(0,t.isBoolean)(e)&&(yield"boolean"),(0,t.isInteger)(e)&&(yield"integer"),!(0,t.isInteger)(e)&&(0,t.isNumeric)(e)&&(yield"number")}t.hasUnresolvedRefs=e=>"boolean"!=typeof e&&(void 0!==e.$ref||void 0!==e.$dynamicRef||void 0!==e.$recursiveRef),t.detectedTypes=function(e){const t=Array.isArray(e.type)?e.type:void 0!==e.type?[e.type]:[];return 0!==t.length?[...new Set(t)]:[...n(e)]}},41168:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.encodeStringForJSONPointer=void 0,t.encodeStringForJSONPointer=function(e){return e.replace(/~/g,"~0").replace(/\//g,"~1").replace(/%/g,"%25")}},40578:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=r(n(2784)),i=n(77740),s=n(2204),a=n(9966);function u(e,t){return!(t<=1)&&e!==t-1}function c(e){let{schema:t}=e;if("boolean"==typeof t)return o.default.createElement(s.TypeLabelSwitch,{type:t});if(t.title)return o.default.createElement(o.default.Fragment,null,t.title);const n=(0,i.detectedTypes)(t);return 0===n.length?o.default.createElement(l,{schema:t}):o.default.createElement(o.default.Fragment,null,n.map(((e,r)=>o.default.createElement(o.default.Fragment,{key:r},o.default.createElement(f,{schema:t,type:e}),u(r,n.length)&&o.default.createElement(a.OrLabel,null)))))}function l(e){let{schema:t}=e;if(void 0!==t.not)return o.default.createElement(o.default.Fragment,null,o.default.createElement(a.NotLabel,null)," ( ",o.default.createElement(c,{schema:t.not})," ) ");if(t.anyOf||t.oneOf||t.allOf){const e=t.anyOf?o.default.createElement(a.OrLabel,null):t.oneOf?o.default.createElement(a.XorLabel,null):o.default.createElement(a.AndLabel,null),n=t.allOf||t.anyOf||t.oneOf;return o.default.createElement(o.default.Fragment,null,n.map(((t,r)=>o.default.createElement(o.default.Fragment,{key:r},o.default.createElement(c,{schema:t}),u(r,n.length)&&e))))}return o.default.createElement(s.TypeLabelSwitch,{type:!0})}function f(e){let{schema:t,type:n}=e;if("string"===n&&void 0!==t.format)return o.default.createElement(s.TypeLabelSwitch,{type:t.format});if("array"===n)return o.default.createElement(d,{schema:t});if(!["array","object"].includes(n)){if(void 0!==t.const)return o.default.createElement("code",null,`${JSON.stringify(t.const)}`);if(void 0!==t.enum&&1===t.enum.length)return o.default.createElement("code",null,`${JSON.stringify(t.enum[0])}`)}return o.default.createElement(s.TypeLabelSwitch,{type:n})}function d(e){let{schema:t}=e;if([void 0,!1].includes(t.items)&&[void 0,!1].includes(t.prefixItems)&&void 0===t.contains)return o.default.createElement(s.TypeLabelSwitch,{type:"array"});let n=[];if(Array.isArray(t.prefixItems)&&n.push(...t.prefixItems.map(((e,t)=>o.default.createElement(c,{schema:e,key:`prefixItems_${t}`})))),void 0!==t.items&&"boolean"!=typeof t.items){let e=Array.isArray(t.items)?t.items:[t.items];n.push(...e.map(((e,t)=>o.default.createElement(c,{schema:e,key:`items_${t}`}))))}return void 0!==t.additionalItems&&"boolean"!=typeof t.additionalItems&&n.push(o.default.createElement(c,{schema:t.additionalItems,key:"additionalItems"})),void 0!==t.unevaluatedItems&&"boolean"!=typeof t.unevaluatedItems&&n.push(o.default.createElement(c,{schema:t.unevaluatedItems,key:"unevaluatedItems"})),void 0!==t.contains&&n.push(o.default.createElement(o.default.Fragment,{key:"before_contains"},"..."),o.default.createElement(c,{schema:t.contains,key:"contains"})),!1!==t.unevaluatedItems&&!1!==t.items&&!1!==t.additionalItems&&n.push(o.default.createElement(o.default.Fragment,{key:"open_tuple"},"...")),o.default.createElement(o.default.Fragment,null,"(",n.map(((e,t)=>o.default.createElement(o.default.Fragment,{key:t},e,u(t,n.length)&&","))),")[]")}t.default=c},72223:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=r(n(2784)),i=n(85685);t.default=function(e){const{options:t}=e,n=t.qualifierMessagesOrder||i.QUALIFIERS_DEFAULT_ORDER;return o.default.createElement(o.default.Fragment,null,n.filter((t=>i.QUALIFIERS_MAP[t].match(e))).map((t=>i.QUALIFIERS_MAP[t].Component(e))))}},77740:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var o=Object.getOwnPropertyDescriptor(t,n);o&&!("get"in o?!t.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,o)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),o=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)},i=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.QualifierMessages=t.GenerateFriendlyName=void 0;var s=n(40578);Object.defineProperty(t,"GenerateFriendlyName",{enumerable:!0,get:function(){return i(s).default}});var a=n(72223);Object.defineProperty(t,"QualifierMessages",{enumerable:!0,get:function(){return i(a).default}}),o(n(7639),t),o(n(41168),t)},75548:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var o=Object.getOwnPropertyDescriptor(t,n);o&&!("get"in o?!t.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,o)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),o=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),i=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&r(t,e,n);return o(t,e),t};Object.defineProperty(t,"__esModule",{value:!0}),t.referencesYaml=t.referencesId=t.describeSchema=void 0;const s=i(n(45984)),a=n(77107);function u(e,t){if(!t)return e;let n=s.parseDocument(e);for(const r of t.slice(2).split("/"))if(n=n.get(r,!0),!n)throw new Error(`Pointer ${t} not found in schema`);return s.stringify(n)}function c(e){return 1===Object.keys(e).length&&"id"in e}function l(e){return 1===Object.keys(e).length&&"yaml"in e}t.describeSchema=function(e){let{schema:t,pointer:n}=e;if("string"==typeof n&&!n.startsWith("#"))throw new Error("`pointer` option must start with '#'");return c(t)?function(e){let{schema:{id:t},pointer:n}=e;const[r,o]=t.split("#"),i=o?function(e){const t=e.filter((e=>"string"==typeof e)).map((e=>e.slice(1))).join("");if(0===t.length)return;return`#${t}`}([`#${o}`,n]):n,c=a.schemaYamls[r];if(!c)throw new Error(`Unknown schema with $id "${r}"`);const l=u(c,i),f=s.parse(l),d=s.parse(c);return{id:r,pointer:i,yaml:l,schema:f,rootSchema:d}}({schema:t,pointer:n}):l(t)?function(e){let{schema:{yaml:t},pointer:n}=e;const r=u(t,n),o=s.parse(r),i=s.parse(t),a=o.$id;return a?{id:a,pointer:n,yaml:r,schema:o,rootSchema:i}:{pointer:n,yaml:r,schema:o,rootSchema:i}}({schema:t,pointer:n}):function(e){let{schema:t,pointer:n}=e;const r=u(s.stringify(t),n),o=s.parse(r),i=o.$id;return i?{id:i,pointer:n,yaml:r,schema:o,rootSchema:t}:{pointer:n,yaml:r,schema:o,rootSchema:t}}({schema:t,pointer:n})},t.referencesId=c,t.referencesYaml=l},99372:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var o=Object.getOwnPropertyDescriptor(t,n);o&&!("get"in o?!t.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,o)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),o=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),t.schemaIds=t.schemas=void 0,o(n(75548),t);var i=n(52109);Object.defineProperty(t,"schemas",{enumerable:!0,get:function(){return i.schemas}}),Object.defineProperty(t,"schemaIds",{enumerable:!0,get:function(){return i.schemaIds}})},52109:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.schemas=t.schemaIds=void 0;const r=n(75548),o=n(77107);t.schemaIds=Object.keys(o.schemaYamls),t.schemas=t.schemaIds.map((e=>({[e]:(0,r.describeSchema)({schema:{id:e}}).schema}))).reduce(((e,t)=>Object.assign(Object.assign({},e),t)),{})},77107:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.schemaYamls=void 0,t.schemaYamls={"schema:ethdebug/format/materials/compilation":'$schema: "https://json-schema.org/draft/2020-12/schema"\n$id: "schema:ethdebug/format/materials/compilation"\n\ntitle: ethdebug/format/materials/compilation\ndescription: |\n An object representing a single invocation of a compiler.\n\ntype: object\nproperties:\n id:\n description: |\n Compilation ID. Optional, but **should** be specified.\n\n This value **should** be globally-unique and generated only from the\n compiler inputs (settings, sources, etc.); the same compiler inputs/\n settings **should** produce the same identifier.\n\n $ref: "schema:ethdebug/format/materials/id"\n\n compiler:\n type: object\n title: Compiler name and version\n properties:\n name:\n type: string\n description: Compiler name\n\n version:\n type: string\n description: |\n Compiler version.\n\n This value **should** be specified using the most detailed version\n representation available, i.e., including source control hash and\n compiler build information whenever possible.\n\n required:\n - name\n - version\n\n examples:\n - name: lllc\n version: 0.4.12-develop.2017.6.27+commit.b83f77e0.Linux.g++\n\n settings:\n description: |\n Compiler settings in a format native to the compiler.\n\n For compilers whose settings includes full source representations, this\n field **should** be specified in such a way that avoids large data\n redundancies (e.g. if compiler settings contain full source\n representations, then this field would significantly duplicate the\n information represented by the `sources` field in this object).\n\n In situations where settings information duplicates information\n represented elsewhere in **ethdebug/format**, compilers **may** adopt\n any reasonable strategy, e.g.:\n - omit duplications partially (leaving the rest of the settings\n intact)\n - omit this field entirely\n - specify this field as a hash of the full settings\n representation (with the expectation that users of this format will\n have access to the full representation by some other means)\n\n allOf:\n - true\n\n sources:\n type: array\n items:\n $ref: "schema:ethdebug/format/materials/source"\n\nrequired:\n - compiler\n - sources\n\nexamples:\n - compiler:\n name: lllc\n version: 0.4.12-develop.2017.6.27+commit.b83f77e0.Linux.g++\n sources:\n - id: 0\n path: stdin\n contents: |\n (add 1 (mul 2 (add 3 4)))\n language: LLL\n',"schema:ethdebug/format/materials/id":'$schema: "https://json-schema.org/draft/2020-12/schema"\n$id: "schema:ethdebug/format/materials/id"\n\ntitle: ethdebug/format/materials/id\ndescription: An opaque external ID (likely generated by compiler)\n\ntype:\n - number\n - string\n\nexamples:\n - 5\n - "five"\n',"schema:ethdebug/format/materials/reference":'$schema: "https://json-schema.org/draft/2020-12/schema"\n$id: "schema:ethdebug/format/materials/reference"\n\ntitle: ethdebug/format/materials/reference\ndescription: A reference to an external resource by ID\n\ntype: object\nproperties:\n id:\n $ref: "schema:ethdebug/format/materials/id"\n\n type:\n enum:\n - compilation\n - source\n\nrequired: [id]\n\nunevaluatedProperties: false\n\nexamples:\n - id: 1\n',"schema:ethdebug/format/materials/source-range":'$schema: "https://json-schema.org/draft/2020-12/schema"\n$id: "schema:ethdebug/format/materials/source-range"\n\ntitle: ethdebug/format/materials/source-range\ndescription: |\n A range of bytes in a particular source.\n\n Note that this refers to the bytes range in the original character encoding\n for the source, not the character encoding used for strings in this JSON\n format (UTF-8). For compilers that support input sources in encodings other\n than this format\'s transmission encoding, compilers **must** address source\n ranges in this original encoding, and debuggers **must** re-encode source\n contents obtained from this format _before_ performing any range addressing.\n\n (Compilers that only accept UTF-8 or ASCII are naturally exempt from this\n concern.)\n\ntype: object\nproperties:\n compilation:\n title: Compilation reference by ID\n $ref: "schema:ethdebug/format/materials/reference"\n\n source:\n title: Source reference by ID\n $ref: "schema:ethdebug/format/materials/reference"\n\n range:\n type: object\n properties:\n offset:\n description: Byte offset at beginning of range\n type: number\n\n length:\n description: Number of bytes contained in range\n type: number\n\n unevaluatedProperties: false\n\n required:\n - offset\n - length\n\nunevaluatedProperties: false\n\nrequired:\n - source\n - range\n\nexamples:\n - source:\n id: 5\n range:\n offset: 20\n length: 100\n',"schema:ethdebug/format/materials/source":'$schema: "https://json-schema.org/draft/2020-12/schema"\n$id: "schema:ethdebug/format/materials/source"\n\ntitle: ethdebug/format/materials/source\ndescription: |\n An object representing one unit of compiler input, the raw text contents and\n identifying metadata (such as file path) that were given to the compiler as\n part of a compilation.\n\ntype: object\nproperties:\n id:\n description: |\n Source identifier. This field **must** be unique for all sources\n within a single compiler invocation (compilation).\n $ref: "schema:ethdebug/format/materials/id"\n\n path:\n type: string\n description: |\n Hierarchical file-system-like path to this source. This value may\n be an absolute path, a path relative to some root directory, a path\n to some resource within a package, etc.\n\n This value does not need to correspond to any file on disk (either\n physical or virtual), and might instead refer to a path identifier\n for a source that was generated by a compiler or other development tool.\n\n This format makes no specific restrictions on how paths should be\n specified (e.g., no restriction on path separators, etc.), other than\n that values for this field should match what users observe elsewhere for\n the inputs/outputs of this particular compiler invocation.\n\n If no path information is available for a particular source, e.g. if the\n source was provided to the compiler via shell standard input, this field\n should indicate that somehow (e.g., specifying `"path": "stdin"` or\n similar).\n\n This field\'s value **should** be unique across all sources within the\n same compilation.\n\n contents:\n description: |\n The full contents of the source, possibly re-encoded as UTF-8 to\n match parent JSON encoding.\n\n In cases where input source used a different encoding, this object\n **must** also specify an `encoding` property to indicate the\n encoding originally used. Where relevant, debuggers **must** also\n convert these `contents` back to the specified original encoding so\n as to match code author expectations.\n\n type: string\n\n encoding:\n description: |\n Character encoding of original source `contents`. This property\n is **required** if this encoding does not match the JSON transmission\n encoding (UTF-8), since the value of the `contents` property will\n represent the text of the source of this JSON encoding.\n\n This property **must not** appear in objects that do not specify\n a `contents` property.\n\n type: string\n\n language:\n description: |\n The high-level language that the source contents are written in.\n\n type: string\n\nrequired:\n - id\n - path\n - contents\n - language\n\nexamples:\n - id: 5\n path: ./contracts/SimpleStorage.sol\n contents: |\n // SPDX-License-Identifier: GPL-3.0\n pragma solidity >=0.4.16 <0.9.0;\n\n contract SimpleStorage {\n uint storedData;\n\n function set(uint x) public {\n storedData = x;\n }\n\n function get() public view returns (uint) {\n return storedData;\n }\n }\n\n language:\n Solidity\n',"schema:ethdebug/format/pointer/collection/conditional":'$schema: "https://json-schema.org/draft/2020-12/schema"\n$id: "schema:ethdebug/format/pointer/collection/conditional"\n\ntitle: ethdebug/format/pointer/collection/conditional\ndescription: |\n A pointer defined conditionally based on the non-zero-ness of some expression\n\ntype: object\n\nproperties:\n if:\n $ref: "schema:ethdebug/format/pointer/expression"\n then:\n $ref: "schema:ethdebug/format/pointer"\n else:\n $ref: "schema:ethdebug/format/pointer"\n\nrequired:\n - if\n - then\n\nadditionalProperties: false\n\nexamples:\n - if: 0\n then:\n location: memory\n offset: 0\n length: 1\n else:\n location: memory\n offset: 1\n length: 1\n',"schema:ethdebug/format/pointer/collection/group":'$schema: "https://json-schema.org/draft/2020-12/schema"\n$id: "schema:ethdebug/format/pointer/collection/group"\n\ntitle: ethdebug/format/pointer/collection/group\ndescription: |\n A composite collection of pointers\ntype: object\nproperties:\n group:\n type: array\n items:\n $ref: "schema:ethdebug/format/pointer"\n minItems: 1\nrequired:\n - group\nadditionalProperties: false\n\nexamples:\n - group:\n - name: "data-pointer"\n location: stack\n slot: 0\n - location: memory\n offset:\n $read: "data-pointer"\n length: 32\n',"schema:ethdebug/format/pointer/collection/list":'$schema: "https://json-schema.org/draft/2020-12/schema"\n$id: "schema:ethdebug/format/pointer/collection/list"\n\ntitle: ethdebug/format/pointer/collection/list\ndescription: |\n An ordered list of pointers, indexed starting at zero.\ntype: object\n\nproperties:\n list:\n type: object\n properties:\n count:\n description: |\n The size of the list that this collection represents.\n $ref: "schema:ethdebug/format/pointer/expression"\n each:\n description: |\n An identifier name whose value as an expression resolves to the index\n in the list\n $ref: "schema:ethdebug/format/pointer/identifier"\n is:\n description: |\n The dynamically-generated pointer repeated as a list\n $ref: "schema:ethdebug/format/pointer"\n required:\n - count\n - each\n - is\n\nrequired:\n - list\n\nadditionalProperties: false\n\nexamples:\n - list:\n count: 5\n each: "index"\n is:\n location: memory\n offset:\n $read: "index"\n length: 1\n',"schema:ethdebug/format/pointer/collection/scope":'$schema: "https://json-schema.org/draft/2020-12/schema"\n$id: "schema:ethdebug/format/pointer/collection/scope"\n\ntitle: ethdebug/format/pointer/collection/scope\ndescription: |\n A pointer defined with the aid of additional variables with values specified\n as expressions.\n\n Variables are specified by the `define` field as an object mapping of\n expression by identifier. Variables are specified **in order**, so that\n later appearing variables may reference earlier ones in the same object.\n\ntype: object\n\nproperties:\n define:\n title: Mapping of variables to expression value\n type: object\n patternProperties:\n "^[a-zA-Z_\\\\-]+[a-zA-Z0-9$_\\\\-]*$":\n $ref: "schema:ethdebug/format/pointer/expression"\n additionalProperties: false\n in:\n $ref: "schema:ethdebug/format/pointer"\n\nrequired:\n - define\n - in\n\nadditionalProperties: false\n\nexamples:\n - define:\n example-offset:\n $sum: [1, 2]\n example-length:\n $product: [2, $wordsize]\n in:\n name: example\n location: memory\n offset: example-offset\n length: example-length\n',"schema:ethdebug/format/pointer/collection":'$schema: "https://json-schema.org/draft/2020-12/schema"\n$id: "schema:ethdebug/format/pointer/collection"\n\ntitle: ethdebug/format/pointer/collection\ndescription: |\n A representation of a collection of pointers to data in the EVM\ntype: object\n\nallOf:\n - oneOf:\n - required:\n - group\n - required:\n - list\n - required:\n - if\n - required:\n - define\n - if:\n required:\n - group\n then:\n $ref: "schema:ethdebug/format/pointer/collection/group"\n\n - if:\n required:\n - list\n then:\n $ref: "schema:ethdebug/format/pointer/collection/list"\n\n - if:\n required:\n - if\n then:\n $ref: "schema:ethdebug/format/pointer/collection/conditional"\n\n - if:\n required:\n - define\n then:\n $ref: "schema:ethdebug/format/pointer/collection/scope"\n',"schema:ethdebug/format/pointer/expression":'$schema: "https://json-schema.org/draft/2020-12/schema"\n$id: "schema:ethdebug/format/pointer/expression"\n\ntitle: ethdebug/format/pointer/expression\ndescription: |\n A schema for describing expressions that evaluate to values.\n\noneOf:\n - $ref: "#/$defs/Literal"\n - $ref: "#/$defs/Variable"\n - $ref: "#/$defs/Constant"\n - $ref: "#/$defs/Arithmetic"\n - $ref: "#/$defs/Lookup"\n - $ref: "#/$defs/Read"\n - $ref: "#/$defs/Keccak256"\n - $ref: "#/$defs/Resize"\n\n$defs:\n Literal:\n title: Literal value\n description: |\n An unsigned number or a `0x`-prefixed string of hexadecimal digits\n\n oneOf:\n - type: integer\n description: A non-negative integer literal\n min: 0\n\n - type: string\n description: |\n A `0x`-prefixed hexadecimal string representing literal bytes\n pattern: "^0x[0-9a-fA-F]{1,}$"\n\n examples:\n - 5\n - "0x0000000000000000000000000000000000000000000000000000000000000000"\n\n Constant:\n title: Constant value\n type: string\n enum:\n - $wordsize\n\n Variable:\n title: Variable identifier\n description: |\n A string that matches an identifier used in an earlier declaration of\n a scalar variable. This expression evaluates to the value of that\n variable.\n $ref: "schema:ethdebug/format/pointer/identifier"\n\n Arithmetic:\n title: Arithmetic operation\n type: object\n properties:\n "$sum":\n description: |\n A list of expressions to be added together.\n $ref: "#/$defs/Operands"\n "$difference":\n description: |\n A tuple of two expressions where the second is to be subtracted from\n the first.\n\n If the second operand is larger than the first, the result of this\n arithmetic operation is defined to equal zero (`0`).\n\n (i.e., `{ "$difference": [a, b] }` equals `a` minus `b`.)\n $ref: "#/$defs/Operands"\n minItems: 2\n maxItems: 2\n "$product":\n description: |\n A list of expressions to be multipled.\n $ref: "#/$defs/Operands"\n "$quotient":\n description: |\n A tuple of two expressions where the first corresponds to the\n dividend and the second corresponds to the divisor, for the purposes\n of doing integer division.\n\n (i.e., `{ "$quotient": [a, b] }` equals `a` divided by `b`.)\n $ref: "#/$defs/Operands"\n minItems: 2\n maxItems: 2\n "$remainder":\n description: |\n A tuple of two expressions where the first corresponds to the\n dividend and the second corresponds to the divisor, for the purposes\n of computing the modular-arithmetic remainder.\n\n (i.e., `{ "$remainder": [a, b] }` equals `a` mod `b`.)\n $ref: "#/$defs/Operands"\n minItems: 2\n maxItems: 2\n additionalProperties: false\n minProperties: 1\n maxProperties: 1\n examples:\n - "$sum": [5, 3, 4]\n - "$difference": [5, 3]\n - "$product": [5, 3, 0]\n - "$quotient": [5, 3]\n - "$remainder":\n - "$product":\n - 2\n - 2\n - 2\n - 2\n - 3\n\n Operands:\n type: array\n items:\n $ref: "schema:ethdebug/format/pointer/expression"\n\n Lookup:\n title: Lookup region definition\n description: |\n An object of the form `{ ".<property-name>": "<region>" }`, to\n denote that this expression is equivalent to the defined value for\n the property named `<property-name>` inside the region referenced as\n `<region>`.\n\n `<property-name>` **must** be a valid and present property on the\n corresponding region, or it **must** correspond to an optional property\n whose schema specifies a default value for that property.\n type: object\n patternProperties:\n "^\\\\.(offset|length|slot)$":\n $ref: "#/$defs/Reference"\n additionalProperties: false\n minProperties: 1\n maxProperties: 1\n\n examples:\n - .offset: "array-count"\n - .length: "array-item"\n - .offset: $this\n\n\n Read:\n title: Read region bytes\n description: |\n An object of the form `{ "$read": "<region>" }`. The value of this\n expression equals the raw bytes present in the running machine state\n in the referenced region.\n type: object\n properties:\n $read:\n $ref: "#/$defs/Reference"\n required:\n - $read\n additionalProperties: false\n examples:\n - $read: "struct-start"\n\n Reference:\n title: Region reference\n description: |\n A string value that **must** either be the `"name"` of at least one\n region declared with `{ "name": "<region>" }` previously in some root\n pointer representation, or it **must** be the literal value `"$this"`,\n which indicates a reference to the region containing this expression.\n\n If more than one region is defined with the same name, resolution is\n defined as firstly resolving to the latest earlier sibling that declares\n the matching name, then secondly resolving to the parent if it matches,\n then to parent\'s earlier siblings, and so on.\n type: string\n\n oneOf:\n - $ref: "schema:ethdebug/format/pointer/identifier"\n - const: "$this"\n description: |\n Indicates a reference to the region containing this expression.\n\n Keccak256:\n title: Keccak256 hash\n description: |\n An object of the form `{ "$keccak256": [...values] }`, indicating that this\n expression evaluates to the Solidity-style keccak256 hash of the\n tightly-packed bytes encoded by `values`.\n type: object\n properties:\n $keccak256:\n title: Array of hashed values\n type: array\n items:\n $ref: "schema:ethdebug/format/pointer/expression"\n additionalProperties: false\n required:\n - $keccak256\n examples:\n - $keccak256:\n - 0\n - "0x00"\n\n Resize:\n title: Resize data\n description: |\n An object of the form `{ "$sized<N>": <expression> }`, where `<N>` is the\n smallest decimal representation of an unsigned integer and where\n `<expression>` is another expression.\n\n This object\'s value is evaluated as follows, based on the number\n represented by `<N>` and the bytes width of `<expression>`:\n - If the width equals `<N>`, this object evalutes to the same value as\n `<expression>` (equivalent to the identity function or no-op).\n - If the width is less than `<N>`, this object evalutes to the same value\n as `<expression>` but with additional zero-bytes (`0x00`) prepended on\n the left (most significant) side, such that the resulting bytes width\n equals `<N>`.\n - If the width exceeds `<N>`, this object evalutes to the same value\n as `<expression>` but with a number of bytes removed from the left\n (most significant) side until the bytes width equals `<N>`.\n\n (These cases match the behavior that Solidity uses for resizing its\n `bytesN`/`uintN` types.)\n type: object\n additionalProperties: false\n patternProperties:\n "^\\\\$sized([1-9]+[0-9]*)$":\n $ref: "schema:ethdebug/format/pointer/expression"\n minProperties: 1\n maxProperties: 1\n examples:\n - $sized2: "0x00" # 0x0000\n - $sized2: "0xffffff" # 0xffff\n\nexamples:\n - 0\n - $sum:\n - .offset: "array-start"\n - .length: "array-start"\n - 1\n - $keccak256:\n - 5\n - .offset: "array-start"\n',"schema:ethdebug/format/pointer/identifier":'$schema: "https://json-schema.org/draft/2020-12/schema"\n$id: "schema:ethdebug/format/pointer/identifier"\n\ntitle: ethdebug/format/pointer/identifier\ndescription: |\n An identifier for use within the context of a root pointer\ntype: string\npattern: "^[a-zA-Z_\\\\-]+[a-zA-Z0-9$_\\\\-]*$"\n\nexamples:\n - a\n - a0\n - -$\n - __init__\n',"schema:ethdebug/format/pointer/region/base":'$schema: "https://json-schema.org/draft/2020-12/schema"\n$id: "schema:ethdebug/format/pointer/region/base"\n\ntitle: ethdebug/format/pointer/region/base\ndescription: |\n Common schema for all region schemas, regardless of `"location": ...`.\n\ntype: object\nproperties:\n name:\n $ref: "schema:ethdebug/format/pointer/identifier"\n\n location:\n type: string\n\nrequired:\n - location\n\nexamples:\n - name: "array-item"\n location: memory\n',"schema:ethdebug/format/pointer/region/calldata":'$schema: "https://json-schema.org/draft/2020-12/schema"\n$id: "schema:ethdebug/format/pointer/region/calldata"\n\ntitle: ethdebug/format/pointer/region/calldata\ndescription: |\n A schema for representing a region of data in message calldata.\n\n This schema is constructed by extending the base region schema\n and the schema for the slice addressing scheme.\ntype: object\n\nallOf:\n - title: \'{\xa0"location":\xa0"calldata"\xa0}\' # note: whitespace chars are \\255 (nbsp)\n properties:\n location:\n const: calldata\n\n required:\n - location\n - $ref: "schema:ethdebug/format/pointer/region/base"\n - $ref: "schema:ethdebug/format/pointer/scheme/slice"\n\nunevaluatedProperties: false\n\nexamples:\n - location: calldata\n offset: "0x04"\n length: 32\n',"schema:ethdebug/format/pointer/region/code":'$schema: "https://json-schema.org/draft/2020-12/schema"\n$id: "schema:ethdebug/format/pointer/region/code"\n\ntitle: ethdebug/format/pointer/region/code\ndescription: |\n A schema for representing a region of data in EVM bytecode.\n\n This schema is constructed by extending the base region schema\n and the schema for the slice addressing scheme.\ntype: object\n\nallOf:\n - title: \'{\xa0"location":\xa0"code"\xa0}\' # note: whitespace chars are \\255 (nbsp)\n properties:\n location:\n const: code\n\n required:\n - location\n - $ref: "schema:ethdebug/format/pointer/region/base"\n - $ref: "schema:ethdebug/format/pointer/scheme/slice"\n\nunevaluatedProperties: false\n\nexamples:\n - location: code\n offset: "0x04"\n length: 32\n',"schema:ethdebug/format/pointer/region/memory":'$schema: "https://json-schema.org/draft/2020-12/schema"\n$id: "schema:ethdebug/format/pointer/region/memory"\n\ntitle: ethdebug/format/pointer/region/memory\ndescription: |\n A schema for representing a region of data in EVM memory. Pointer regions\n within memory represent a single/atomic sequence of byte locations.\n\n This schema is constructed by extending the base region schema\n and the schema for the slice addressing scheme.\ntype: object\n\nallOf:\n - title: \'{\xa0"location":\xa0"memory"\xa0}\' # note: whitespace chars are \\255 (nbsp)\n properties:\n location:\n const: memory\n\n required:\n - location\n - $ref: "schema:ethdebug/format/pointer/region/base"\n - $ref: "schema:ethdebug/format/pointer/scheme/slice"\n\nunevaluatedProperties: false\n\nexamples:\n - location: memory\n offset: "0x04"\n length: 32\n',"schema:ethdebug/format/pointer/region/returndata":'$schema: "https://json-schema.org/draft/2020-12/schema"\n$id: "schema:ethdebug/format/pointer/region/returndata"\n\ntitle: ethdebug/format/pointer/region/returndata\ndescription: |\n A schema for representing a region of data in message returndata.\n\n This schema is constructed by extending the base region schema\n and the schema for the slice addressing scheme.\ntype: object\n\nallOf:\n - title: \'{\xa0"location":\xa0"returndata"\xa0}\' # note: whitespace chars are \\255 (nbsp)\n properties:\n location:\n const: returndata\n\n required:\n - location\n - $ref: "schema:ethdebug/format/pointer/region/base"\n - $ref: "schema:ethdebug/format/pointer/scheme/slice"\n\nunevaluatedProperties: false\n\nexamples:\n - location: returndata\n offset: "0x04"\n length: 32\n',"schema:ethdebug/format/pointer/region/stack":'$schema: "https://json-schema.org/draft/2020-12/schema"\n$id: "schema:ethdebug/format/pointer/region/stack"\n\ntitle: ethdebug/format/pointer/region/stack\ndescription: |\n A schema for representing a region of data in the EVM.\n\n Describes stack slots as number of positions from the top (at time of\n observation). Debuggers reading this information **should** immediately\n convert these positions to absolute positions from the bottom.\n\n This schema is constructed by extending the base region schema\n and the schema for the segment addressing scheme.\ntype: object\n\nallOf:\n - title: \'{\xa0"location":\xa0"stack"\xa0}\' # note: whitespace chars are \\255 (nbsp)\n properties:\n location:\n const: stack\n\n required:\n - location\n\n - $ref: "schema:ethdebug/format/pointer/region/base"\n - $ref: "schema:ethdebug/format/pointer/scheme/segment"\n\nunevaluatedProperties: false\n\nexamples:\n - location: stack\n slot: 0\n - location: stack\n slot: 1\n length:\n $product:\n - $wordsize\n - 2\n',"schema:ethdebug/format/pointer/region/storage":'$schema: "https://json-schema.org/draft/2020-12/schema"\n$id: "schema:ethdebug/format/pointer/region/storage"\n\ntitle: ethdebug/format/pointer/region/storage\ndescription: |\n A schema for representing a region of data in EVM storage.\n\n This schema is constructed by extending the base region schema\n and the schema for the segment addressing scheme.\ntype: object\n\nallOf:\n - title: \'{\xa0"location":\xa0"storage"\xa0}\' # note: whitespace chars are \\255 (nbsp)\n properties:\n location:\n const: storage\n\n required:\n - location\n\n - $ref: "schema:ethdebug/format/pointer/region/base"\n - $ref: "schema:ethdebug/format/pointer/scheme/segment"\n\nunevaluatedProperties: false\n\nexamples:\n - location: storage\n slot: "0x03"\n - location: storage\n slot: "0x06"\n length:\n $product:\n - $wordsize\n - 2\n - location: storage\n slot: "0x08"\n offset:\n $quotient:\n - $wordsize\n - 2\n length:\n $quotient:\n - $wordsize\n - 2\n',"schema:ethdebug/format/pointer/region/transient":'$schema: "https://json-schema.org/draft/2020-12/schema"\n$id: "schema:ethdebug/format/pointer/region/transient"\n\ntitle: ethdebug/format/pointer/region/transient\ndescription: |\n A schema for representing a region of data in EVM transient storage.\n\n This schema is constructed by extending the base region schema\n and the schema for the segment addressing scheme.\ntype: object\n\nallOf:\n - title: \'{\xa0"location":\xa0"transient"\xa0}\' # note: whitespace chars are \\255 (nbsp)\n properties:\n location:\n const: transient\n\n required:\n - location\n\n - $ref: "schema:ethdebug/format/pointer/region/base"\n - $ref: "schema:ethdebug/format/pointer/scheme/segment"\n\nunevaluatedProperties: false\n\nexamples:\n - location: transient\n slot: "0x03"\n - location: transient\n slot: "0x06"\n length:\n $product:\n - $wordsize\n - 2\n - location: transient\n slot: "0x08"\n offset:\n $quotient:\n - $wordsize\n - 2\n length:\n $quotient:\n - $wordsize\n - 2\n',"schema:ethdebug/format/pointer/region":'$schema: "https://json-schema.org/draft/2020-12/schema"\n$id: "schema:ethdebug/format/pointer/region"\n\ntitle: ethdebug/format/pointer/region\ndescription: |\n A representation of a region of data in the EVM\ntype: object\n\nproperties:\n location:\n $ref: "#/$defs/Location"\n\n\nallOf:\n - if:\n properties:\n location:\n const: stack\n\n then:\n $ref: "schema:ethdebug/format/pointer/region/stack"\n\n - if:\n properties:\n location:\n const: memory\n\n then:\n $ref: "schema:ethdebug/format/pointer/region/memory"\n\n - if:\n properties:\n location:\n const: storage\n then:\n $ref: "schema:ethdebug/format/pointer/region/storage"\n\n - if:\n properties:\n location:\n const: calldata\n then:\n $ref: "schema:ethdebug/format/pointer/region/calldata"\n\n - if:\n properties:\n location:\n const: returndata\n then:\n $ref: "schema:ethdebug/format/pointer/region/returndata"\n\n - if:\n properties:\n location:\n const: transient\n then:\n $ref: "schema:ethdebug/format/pointer/region/transient"\n\n - if:\n properties:\n location:\n const: code\n then:\n $ref: "schema:ethdebug/format/pointer/region/code"\n\n$defs:\n Location:\n type: string\n enum:\n - stack\n - memory\n - storage\n - calldata\n - returndata\n - transient\n - code\n\nunevaluatedProperties: false\n\nexamples:\n - location: storage\n slot: "0x0000000000000000000000000000000000000000000000000000000000000000"\n\n',"schema:ethdebug/format/pointer/scheme/segment":'$schema: "https://json-schema.org/draft/2020-12/schema"\n$id: "schema:ethdebug/format/pointer/scheme/segment"\n\ntitle: ethdebug/format/pointer/scheme/segment\ndescription: |\n An addressing scheme for pointing to a range of bytes in a data location\n arranged as individually-addressable word-sized slots.\n\n **Note** that this addressing scheme permits addressing byte ranges that\n extend beyond the last byte of a particular slot, or even covering the range\n of multiple slots.\n\n In such cases, this schema defines the range as the concatenation of bytes\n across slots such that the address of the first byte after the end of slot\n `p` (i.e., `{ "offset": "$wordsize" }`) is interpreted as the first byte of\n slot `p + 1`.\n\ntype: object\n\nproperties:\n slot:\n $ref: "schema:ethdebug/format/pointer/expression"\n offset:\n description: |\n The starting byte index within the slot.\n\n This field is **optional**. If unspecified, it has the default value of\n `0`, indicating that the segment begins at the start of the specified\n slot.\n\n This field\'s expression must resolve to a value _n_ such that\n 0 \u2264 _n_ \\< `$wordsize` (i.e., the offset **must**\n begin inside the slot).\n $ref: "schema:ethdebug/format/pointer/expression"\n default: 0\n length:\n description: |\n The length of the bytes range this segment represents.\n\n This field is **optional**. If unspecified, its default value indicates\n that the segment ends at the end of the slot.\n\n If this field has value larger than the default value, i.e., if the\n segment extends beyond the last byte in the slot, then this segment is\n defined to be the concatenation of the sequentially-addressed slot(s)\n following following the slot specified.\n $ref: "schema:ethdebug/format/pointer/expression"\n default:\n $difference:\n - $wordsize\n - .offset: $this\n\nrequired:\n - slot\n\nexamples:\n - slot: 0\n - slot: 1\n length:\n $product:\n - $wordsize\n - 3\n',"schema:ethdebug/format/pointer/scheme/slice":'$schema: "https://json-schema.org/draft/2020-12/schema"\n$id: "schema:ethdebug/format/pointer/scheme/slice"\n\ntitle: ethdebug/format/pointer/scheme/slice\ndescription: |\n An addressing scheme for pointing to a range of sequential bytes inside\n a data location whose structure is that of a regular bytes array\n (i.e., where bytes are indexed by byte offset, with no concept of word).\n\ntype: object\n\nproperties:\n offset:\n description: |\n The index of the byte (starting from zero) in the data location where\n the slice begins.\n $ref: "schema:ethdebug/format/pointer/expression"\n length:\n description: |\n The length of the slice in number of bytes.\n $ref: "schema:ethdebug/format/pointer/expression"\n\nrequired:\n - offset\n - length\n\nexamples:\n - offset: 0\n length: 32\n',"schema:ethdebug/format/pointer":'$schema: "https://json-schema.org/draft/2020-12/schema"\n$id: "schema:ethdebug/format/pointer"\n\ntitle: ethdebug/format/pointer\ndescription: |\n A schema for representing a pointer to a data position or a range of data\n positions in the EVM.\n\n An **ethdebug/format/pointer** is either a single region or a structured\n collection of other pointers.\n\ntype: object\n\nif:\n required: [location]\nthen:\n $ref: "schema:ethdebug/format/pointer/region"\nelse:\n $ref: "schema:ethdebug/format/pointer/collection"\n\nexamples:\n - # example: a single particular storage slot\n location: storage\n slot: 2\n\n - # example `uint256[] memory` allocation pointer\n # this pointer composes an ordered list of other pointers\n group:\n # declare the first sub-pointer to be the "array-start" region of data\n # corresponding to the first item in the stack (at time of observation)\n - name: "array-start"\n location: stack\n slot: 0\n\n # declare the "array-count" region to be at the offset indicated by\n # the value at "array-start"\n - name: "array-count"\n location: memory\n offset:\n $read: "array-start"\n length: $wordsize\n\n # thirdly, declare a sub-pointer that is a dynamic list whose size is\n # indicated by the value at "array-count", where each "item-index"\n # corresponds to a discrete "array-item" region\n - list:\n count:\n $read: "array-count"\n each: "item-index"\n is:\n name: "array-item"\n location: "memory"\n offset:\n # array items are positioned so that the item with index 0\n # immediately follows "array-count", and each subsequent item\n # immediately follows the previous.\n $sum:\n - .offset: "array-count"\n - .length: "array-count"\n - $product:\n - "item-index"\n - .length: "array-item"\n length: $wordsize\n\n - # example `struct Record { uint128 x; uint128 y }` in memory\n group:\n - name: "struct-start"\n location: stack\n slot: 0\n\n - name: "struct-member-0"\n location: memory\n # the first struct member begins at the offset indicated by the value\n # at "struct-start"\n offset:\n $read: "struct-start"\n length: $wordsize\n\n - name: "struct-member-1"\n location: memory\n # the second struct member immediately follows the first\n offset:\n $sum:\n - .offset: "struct-member-0"\n - .length: "struct-member-0"\n length: $wordsize\n\n - # example `(struct Record { uint256 x; uint256 y; })[] memory`\n group:\n # declare the first sub-pointer to be the "array-start" region of data\n # corresponding to the first item in the stack (at time of observation)\n - name: "array-start"\n location: stack\n slot: 0\n\n # declares the "array-count" region in memory at the offset indicated\n # by "array-start" and of length equal to word size\n - name: "array-count"\n location: memory\n offset:\n $read: "array-start"\n length: $wordsize\n\n # declare this to include a list of pointers of size indicated by the\n # value at "array-count", where each "item-index" corresponds to a\n # group of pointers\n - list:\n count:\n $read: "array-count"\n each: "item-index"\n is:\n group:\n # each element in the list includes a "struct-pointer" region\n # in memory (laid out sequentially in a block as the raw\n # array data)\n - name: "struct-pointer"\n location: memory\n offset:\n $sum:\n - .offset: "array-count"\n - .length: "array-count"\n - $product:\n - "item-index"\n - .length: "struct-pointer"\n length: $wordsize\n\n # following that pointer leads to the region corresponding to\n # the first member of the struct\n - name: "struct-member-0"\n location: memory\n offset:\n $read: "struct-pointer"\n length: $wordsize\n\n # the second struct member immediately follows the first\n - name: "struct-member-1"\n location: memory\n offset:\n $sum:\n - .offset: "struct-member-0"\n - .length: "struct-member-0"\n length: $wordsize\n\n - # example `string storage` allocation\n define:\n "contract-variable-slot": 0\n in:\n group:\n # for short strings, the length is stored as 2n in the last byte of slot\n - name: "length-flag"\n location: storage\n slot: contract-variable-slot\n offset:\n $difference: [$wordsize, 1]\n length: 1\n\n # long strings may use full word to describe length as 2n+1\n - name: "long-string-length-data"\n location: storage\n slot: contract-variable-slot\n offset: 0\n length: $wordsize\n\n # define the region representing the string data itself conditionally\n # based on odd or even length data\n - if:\n $remainder:\n - $sum:\n - $read: "length-flag"\n - 1\n - 2\n\n # short string case (flag is even)\n then:\n define:\n "string-length":\n $quotient: [{ $read: "length-flag" }, 2]\n in:\n name: "string"\n location: storage\n slot: "contract-variable-slot"\n offset: 0\n length: "string-length"\n\n # long string case (flag is odd)\n else:\n define:\n "string-length":\n $quotient:\n - $difference:\n - $read: "long-string-length-data"\n - 1\n - 2\n\n "start-slot":\n $keccak256:\n - $sized32: "contract-variable-slot"\n\n "total-slots":\n # account for both zero and nonzero slot remainders by adding\n # $wordsize-1 to the length before dividing\n $quotient:\n - $sum: ["string-length", { $difference: [$wordsize, 1] }]\n - $wordsize\n in:\n list:\n count: "total-slots"\n each: "i"\n is:\n define:\n "current-slot":\n $sum: ["start-slot", "i"]\n "previous-length":\n $product: ["i", $wordsize]\n in:\n # conditional based on whether this is the last slot:\n # is the string length longer than the previous length\n # plus this whole slot?\n if:\n $difference:\n - "string-length"\n - $sum: ["previous-length", "$wordsize"]\n then:\n # include the whole slot\n name: "string"\n location: storage\n slot: "current-slot"\n else:\n # include only what\'s left in the string\n name: "string"\n location: storage\n slot: "current-slot"\n offset: 0\n length:\n $difference: ["string-length", "previous-length"]\n',"schema:ethdebug/format/type/base":'$schema: "https://json-schema.org/draft/2020-12/schema"\n$id: "schema:ethdebug/format/type/base"\n\ntitle: ethdebug/format/type/base\ndescription:\n Defines the minimally necessary schema for a data type.\n Types belong to a particular `class` (`"elementary"` or `"complex"`),\n and are further identified by a particular `kind`.\ntype: object\noneOf:\n - $ref: "#/$defs/ElementaryType"\n - $ref: "#/$defs/ComplexType"\n\n$defs:\n ElementaryType:\n title: Base elementary type\n description:\n Represents an elementary type (one that does not compose other types)\n type: object\n properties:\n class:\n type: string\n const: elementary\n kind:\n type: string\n contains:\n not:\n description:\n "Elementary types **must not** specify a `contains` field\n (to make it easier to discriminate elementary vs. complex)"\n required:\n - kind\n examples:\n - kind: uint\n bits: 256\n\n ComplexType:\n title: Base complex type\n description:\n Represents a complex type, one that composes other types (e.g., arrays,\n structs, mappings)\n type: object\n properties:\n class:\n type: string\n const: complex\n description: Indicates that this is a complex type\n kind:\n type: string\n description: The specific kind of complex type, e.g., array or struct\n contains:\n title: Complex type `contains` field\n description:\n Either a type wrapper, an array of type wrappers, or an object\n mapping to type wrappers.\n oneOf:\n - $ref: "#/$defs/TypeWrapper"\n - $ref: "#/$defs/TypeWrapperArray"\n - $ref: "#/$defs/TypeWrapperObject"\n\n required:\n - kind\n - contains\n examples:\n - kind: array\n contains:\n type:\n kind: uint\n bits: 256\n - kind: struct\n contains:\n - member: x\n type:\n kind: uint\n bits: 256\n - member: y\n type:\n kind: uint\n bits: 256\n - kind: mapping\n contains:\n key:\n type:\n kind: address\n payable: true\n value:\n type:\n kind: uint\n bits: 256\n\n TypeWrapper:\n title: \'{ "type": ... }\'\n description:\n A wrapper around a type. Defines a `"type"` field that may include a full\n Type representation or a reference to a known Type by ID. Note that this\n schema permits additional properties on the same object.\n type: object\n properties:\n type:\n oneOf:\n - $ref: "schema:ethdebug/format/type/base"\n - $ref: "schema:ethdebug/format/type/reference"\n\n required:\n - type\n\n TypeWrapperArray:\n title: \'{ "type": ... }[]\'\n description: A list of wrapped types, where the wrapper may add fields\n type: array\n items:\n $ref: "#/$defs/TypeWrapper"\n\n TypeWrapperObject:\n title: \'{ "key": { "type": ... }, ... }\'\n description:\n A key-value mapping of wrapped types, where the wrapper may add fields\n type: object\n additionalProperties:\n $ref: "#/$defs/TypeWrapper"\n',"schema:ethdebug/format/type/complex/alias":'$schema: "https://json-schema.org/draft/2020-12/schema"\n$id: "schema:ethdebug/format/type/complex/alias"\n\ntitle: ethdebug/format/type/complex/alias\ndescription:\n Schema representing a type alias to another type\n\ntype: object\nproperties:\n class:\n type: string\n const: complex\n kind:\n type: string\n const: alias\n contains:\n $ref: "schema:ethdebug/format/type/wrapper"\n definition:\n $ref: "schema:ethdebug/format/type/definition"\n\nrequired:\n - kind\n - contains\n\nexamples:\n - kind: alias\n contains:\n type:\n kind: uint\n bits: 256\n\n - kind: alias\n contains:\n type:\n kind: array\n contains:\n type:\n class: elementary\n kind: super-uint # unsupported type\n blits: -256\n',"schema:ethdebug/format/type/complex/array":'$schema: "https://json-schema.org/draft/2020-12/schema"\n$id: "schema:ethdebug/format/type/complex/array"\n\ntitle: ethdebug/format/type/complex/array\ntype: object\nproperties:\n class:\n type: string\n const: complex\n kind:\n type: string\n const: array\n contains:\n $ref: "schema:ethdebug/format/type/wrapper"\n\nrequired:\n - kind\n - contains\n\nexamples:\n - kind: array\n contains:\n type:\n kind: uint\n bits: 256\n\n - kind: array\n contains:\n type:\n kind: array\n contains:\n type:\n class: elementary\n kind: super-uint # unsupported type\n blits: -256\n',"schema:ethdebug/format/type/complex/function":'$schema: "https://json-schema.org/draft/2020-12/schema"\n$id: "schema:ethdebug/format/type/complex/function"\n\ntitle: ethdebug/format/type/complex/function\ndescription: |\n Schema for representing a function type.\n\n Type representations must indicate whether they represent a function that is\n called internally (within the semantics of the language) or a function that\n is called externally (via EVM contract call semantics and the Solidity ABI).\n Internal function types require the `"internal": true` field; external\n function types require `"external": true`.\n\n Note that external function types may include a representation of the\n contract type that defines or provides this function as an external\n interface.\n\ntype: object\nproperties:\n class:\n type: string\n const: complex\n kind:\n type: string\n const: function\n contains:\n type: object\n title: Parameter and return types\n description: |\n Types this function type composes. Function types inherently compose\n two groupings of types (an ordered list of parameter types and typically\n either a return value or return parameters). Function types\' `contains`\n field is organized as a mapping of `parameters` types (a type wrapper for\n a tuple type) and an optional `returns` type (either a generic type\n wrapper or a type wrapper for a tuple type).\n\n This definition applies for both cases (internal and external function\n types). Each of those specific types may expand this `contains` field\n schema with other semantic details (such as an external function type\n indicating the contract type from which it is exposed).\n properties:\n parameters:\n $ref: "#/$defs/Parameters"\n returns:\n type: object\n title: Return type (or tuple of types)\n description: |\n To accommodate languages differing in whether functions return single\n values or lists of values, this field may be either a generic type\n wrapper or explicitly defined as a type wrapper around a tuple type.\n\n Debuggers that implement this schema **should** be aware that\n languages whose functions return sole values might return tuple\n types. Resolving this ambiguity remains outside the scope of the\n schema (but compilers **must** be consistent when representing\n function types in this schema).\n anyOf:\n - $ref: "schema:ethdebug/format/type/wrapper"\n - $ref: "#/$defs/Parameters"\n required:\n - parameters\n definition:\n $ref: "schema:ethdebug/format/type/definition"\n\noneOf:\n - type: object\n title: External function type\n properties:\n internal:\n const: false\n external:\n const: true\n contains:\n type: object\n title: Additional contents\n properties:\n contract:\n type: object\n title: Contract type providing external function\n description:\n A wrapper around the contract type that composes this external\n function type.\n allOf:\n - $ref: "schema:ethdebug/format/type/wrapper"\n - type: object\n title: Contract type wrapper\n properties:\n type:\n $ref: "schema:ethdebug/format/type/elementary/contract"\n required:\n - external\n\n - type: object\n title: Internal function type\n properties:\n internal:\n const: true\n external:\n const: false\n required:\n - internal\n\nexamples:\n - kind: function\n internal: true\n definition:\n name: increment\n contains:\n parameters:\n type:\n kind: tuple\n contains:\n - name: value\n type:\n kind: uint\n bits: 256\n returns:\n type:\n kind: uint\n bits: 256\n - kind: function\n external: true\n definition:\n name: withdraw\n contains:\n contract:\n type:\n kind: contract\n payable: true\n interface: true\n definition:\n name: Bank\n parameters:\n type:\n kind: tuple\n contains:\n - name: beneficiary\n type:\n kind: address\n payable: true\n - name: amount\n type:\n kind: ufixed\n bits: 128\n places: 18\n returns:\n type:\n kind: tuple\n contains: []\n\n$defs:\n Parameters:\n type: object\n title: Parameters\n description:\n A type wrapper around a tuple of types. This schema uses a tuple type to\n represent an ordered list of types.\n allOf:\n - $ref: "schema:ethdebug/format/type/wrapper"\n - title: Tuple type wrapper\n type: object\n properties:\n type:\n $ref: "schema:ethdebug/format/type/complex/tuple"\n',"schema:ethdebug/format/type/complex/mapping":'$schema: "https://json-schema.org/draft/2020-12/schema"\n$id: "schema:ethdebug/format/type/complex/mapping"\n\ntitle: ethdebug/format/type/complex/mapping\ndescription:\n Schema for representing mapping types\n\ntype: object\nproperties:\n class:\n type: string\n const: complex\n kind:\n type: string\n const: mapping\n contains:\n type: object\n title: Mapping key/value types\n properties:\n key:\n $ref: "schema:ethdebug/format/type/wrapper"\n value:\n $ref: "schema:ethdebug/format/type/wrapper"\n required:\n - key\n - value\n\nrequired:\n - kind\n - contains\n\nexamples:\n - kind: mapping\n contains:\n key:\n type:\n kind: address\n value:\n type:\n kind: uint\n bits: 256\n',"schema:ethdebug/format/type/complex/struct":'$schema: "https://json-schema.org/draft/2020-12/schema"\n$id: "schema:ethdebug/format/type/complex/struct"\n\ntitle: ethdebug/format/type/complex/struct\ndescription:\n Schema for representing struct types\n\ntype: object\nproperties:\n class:\n type: string\n const: complex\n kind:\n type: string\n const: struct\n contains:\n type: array\n items:\n $ref: "#/$defs/MemberField"\n definition:\n $ref: "schema:ethdebug/format/type/definition"\n\nrequired:\n - kind\n - contains\n\nexamples:\n - kind: struct\n contains:\n - name: x\n type:\n kind: uint\n bits: 128\n - name: y\n type:\n kind: uint\n bits: 128\n\n$defs:\n MemberField:\n type: object\n title: MemberField\n description:\n A schema representing a member field inside a struct type. This is an\n **ethdebug/format/type/wrapper** with additional fields.\n allOf:\n - $ref: "schema:ethdebug/format/type/wrapper"\n - title: Additional fields\n description:\n An object with optional `name` property for identifying named struct\n member fields. **Note** that this language does not specify that a\n struct must be consistent in its use of naming for all fields or none\n type: object\n properties:\n name:\n type: string\n',"schema:ethdebug/format/type/complex/tuple":'$schema: "https://json-schema.org/draft/2020-12/schema"\n$id: "schema:ethdebug/format/type/complex/tuple"\n\ntitle: ethdebug/format/type/complex/tuple\ndescription:\n Schema for representing tuple types\n\ntype: object\nproperties:\n class:\n type: string\n const: complex\n kind:\n type: string\n const: tuple\n contains:\n type: array\n items:\n $ref: "#/$defs/Element"\n\nrequired:\n - kind\n - contains\n\nexamples:\n - # empty tuple type\n kind: tuple\n contains: []\n\n - kind: tuple\n contains:\n - name: x\n type:\n kind: uint\n bits: 128\n - name: y\n type:\n kind: uint\n bits: 128\n\n$defs:\n Element:\n type: object\n title: Element\n description:\n An optionally named element type within a tuple. This is an\n **ethdebug/format/type/wrapper** with additional fields.\n allOf:\n - $ref: "schema:ethdebug/format/type/wrapper"\n - title: Additional fields\n type: object\n properties:\n name:\n type: string\n description:\n For tuple types where positional element types are identified\n by name, this field **should** include this information.\n\n This schema makes no restriction on whether all-or-no elements\n have names, and so this field may be sparse across elements of\n the same tuple.\n',"schema:ethdebug/format/type/complex":'$schema: "https://json-schema.org/draft/2020-12/schema"\n$id: "schema:ethdebug/format/type/complex"\n\ntitle: ethdebug/format/type/complex\ndescription:\n Canonical representation of a complex type\n\ntype: object\nproperties:\n kind:\n $ref: "#/$defs/Kind"\nrequired:\n - kind\n\nallOf:\n - if:\n properties:\n kind:\n const: alias\n then:\n $ref: "schema:ethdebug/format/type/complex/alias"\n\n - if:\n properties:\n kind:\n const: tuple\n then:\n $ref: "schema:ethdebug/format/type/complex/tuple"\n\n - if:\n properties:\n kind:\n const: array\n then:\n $ref: "schema:ethdebug/format/type/complex/array"\n\n - if:\n properties:\n kind:\n const: mapping\n then:\n $ref: "schema:ethdebug/format/type/complex/mapping"\n\n - if:\n properties:\n kind:\n const: struct\n then:\n $ref: "schema:ethdebug/format/type/complex/struct"\n\n - if:\n properties:\n kind:\n const: function\n then:\n $ref: "schema:ethdebug/format/type/complex/function"\n\n$defs:\n Kind:\n title: Known complex kind\n description:\n A schema for the values of `kind` reserved for known complex types\n included in ethdebug/format\n type: string\n enum:\n - alias\n - tuple\n - array\n - mapping\n - struct\n - function\n',"schema:ethdebug/format/type/definition":'$schema: "https://json-schema.org/draft/2020-12/schema"\n$id: "schema:ethdebug/format/type/definition"\n\ntitle: ethdebug/format/type/definition\ndescription: |\n Object containing name and location information for a type.\n\n This schema does not require any particular field, but it **must** contain\n at least one property.\n\ntype: object\nproperties:\n name:\n type: string\n\n location:\n $ref: "schema:ethdebug/format/materials/source-range"\n\nanyOf:\n - title: Required `name`\n required: [name]\n - title: Required `location`\n required: [location]\n\nexamples:\n - name: Ballot\n location:\n source:\n id: 5\n range:\n offset: 10\n length: 56\n',"schema:ethdebug/format/type/elementary/address":'$schema: "https://json-schema.org/draft/2020-12/schema"\n$id: "schema:ethdebug/format/type/elementary/address"\n\ntitle: ethdebug/format/type/elementary/address\ndescription:\n Schema describing the representation of an address type\n\ntype: object\nproperties:\n class:\n const: elementary\n kind:\n const: address\n payable:\n type: boolean\n description:\n If this field is omitted, this type represents an address whose\n payability is not known.\nrequired:\n - kind\nexamples:\n - # a type for addresses of unknown payability\n kind: address\n\n - # a type for payable addresses\n kind: address\n payable: true\n',"schema:ethdebug/format/type/elementary/bool":'$schema: "https://json-schema.org/draft/2020-12/schema"\n$id: "schema:ethdebug/format/type/elementary/bool"\n\ntitle: ethdebug/format/type/elementary/bool\ndescription:\n Schema describing the representation of the boolean type\n\ntype: object\nproperties:\n class:\n const: elementary\n kind:\n const: bool\nrequired:\n - kind\nexamples:\n - kind: bool\n',"schema:ethdebug/format/type/elementary/bytes":'$schema: "https://json-schema.org/draft/2020-12/schema"\n$id: "schema:ethdebug/format/type/elementary/bytes"\n\ntitle: ethdebug/format/type/elementary/bytes\ndescription:\n Schema describing the representation of a type of bytes string\n (either dynamic or static)\n\ntype: object\nproperties:\n class:\n const: elementary\n kind:\n const: bytes\n size:\n type: number\n description:\n The number of bytes in the bytes string. If this field is omitted, this\n type is the dynamic bytes string type.\n minimum: 1\nrequired:\n - kind\nexamples:\n - # example static bytes type\n kind: bytes\n size: 32\n - # example dynamic bytes type\n kind: bytes\n',"schema:ethdebug/format/type/elementary/contract":'$schema: "https://json-schema.org/draft/2020-12/schema"\n$id: "schema:ethdebug/format/type/elementary/contract"\n\ntitle: ethdebug/format/type/elementary/contract\ndescription:\n Schema describing the representation of a contract type\n\ntype: object\nproperties:\n class:\n const: elementary\n kind:\n const: contract\n payable:\n type: boolean\n description:\n If this field is omitted, this type represents an address whose\n payability is not known.\n definition:\n $ref: "schema:ethdebug/format/type/definition"\n\noneOf:\n - title: Normal contract type\n properties:\n library:\n const: false\n interface:\n const: false\n\n - title: Contract library type\n properties:\n library:\n const: true\n description:\n Indicates that this is a type representing a library\n required:\n - library\n\n - title: Contract interface type\n properties:\n interface:\n const: true\n description:\n Indicates that this is a type representing an interface\n required:\n - interface\n\nrequired:\n - kind\n\nexamples:\n - kind: contract\n\n - kind: contract\n library: false\n interface: false\n payable: true\n',"schema:ethdebug/format/type/elementary/enum":'$schema: "https://json-schema.org/draft/2020-12/schema"\n$id: "schema:ethdebug/format/type/elementary/enum"\n\ntitle: ethdebug/format/type/elementary/enum\ndescription:\n Schema describing the representation of an enumerated type\n\ntype: object\nproperties:\n class:\n const: elementary\n kind:\n const: enum\n values:\n description:\n The allowed values of an enum. This format makes no restriction on which\n values are allowed here.\n type: array\n items: true\n definition:\n $ref: "schema:ethdebug/format/type/definition"\n\nrequired:\n - kind\n - values\n\nexamples:\n - kind: enum\n values:\n - A\n - B\n - C\n',"schema:ethdebug/format/type/elementary/fixed":'$schema: "https://json-schema.org/draft/2020-12/schema"\n$id: "schema:ethdebug/format/type/elementary/fixed"\n\ntitle: ethdebug/format/type/elementary/fixed\ndescription:\n Schema describing the representation of a signed fixed decimal type\n\ntype: object\nproperties:\n class:\n const: elementary\n kind:\n const: fixed\n bits:\n type: number\n multipleOf: 8\n minimum: 8\n maximum: 256\n places:\n type: number\n description:\n How many decimal places, implying that a raw value `v` of this type\n should be interpreted as `v / (10**places)`\n minimum: 1\n maximum: 80\nrequired:\n - kind\n - bits\n - places\nexamples:\n - kind: fixed\n bits: 256\n places: 10\n',"schema:ethdebug/format/type/elementary/int":'$schema: "https://json-schema.org/draft/2020-12/schema"\n$id: "schema:ethdebug/format/type/elementary/int"\n\ntitle: ethdebug/format/type/elementary/int\ndescription:\n Schema describing the representation of a signed integer type\n\ntype: object\nproperties:\n class:\n const: elementary\n kind:\n const: int\n bits:\n type: number\n multipleOf: 8\n minimum: 8\n maximum: 256\nrequired:\n - kind\n - bits\nexamples:\n - kind: int\n bits: 256\n',"schema:ethdebug/format/type/elementary/string":'$schema: "https://json-schema.org/draft/2020-12/schema"\n$id: "schema:ethdebug/format/type/elementary/string"\n\ntitle: ethdebug/format/type/elementary/string\ndescription:\n Schema describing the representation of a string type\n\ntype: object\nproperties:\n class:\n const: elementary\n kind:\n const: string\n encoding:\n type: string\n default: utf-8\nrequired:\n - kind\nexamples:\n - kind: string\n - kind: string\n encoding: utf-16\n',"schema:ethdebug/format/type/elementary/ufixed":'$schema: "https://json-schema.org/draft/2020-12/schema"\n$id: "schema:ethdebug/format/type/elementary/ufixed"\n\ntitle: ethdebug/format/type/elementary/ufixed\ndescription:\n Schema describing the representation of an unsigned fixed decimal type\n\ntype: object\nproperties:\n class:\n const: elementary\n kind:\n const: ufixed\n bits:\n type: number\n multipleOf: 8\n minimum: 8\n maximum: 256\n places:\n type: number\n description:\n How many decimal places, implying that a raw value `v` of this type\n should be interpreted as `v / (10**places)`\n minimum: 1\n maximum: 80\nrequired:\n - kind\n - bits\n - places\nexamples:\n - kind: ufixed\n bits: 256\n places: 10\n\n',"schema:ethdebug/format/type/elementary/uint":'$schema: "https://json-schema.org/draft/2020-12/schema"\n$id: "schema:ethdebug/format/type/elementary/uint"\n\ntitle: ethdebug/format/type/elementary/uint\ndescription:\n Schema describing the representation of an unsigned integer type\n\ntype: object\nproperties:\n class:\n const: elementary\n kind:\n const: uint\n bits:\n type: number\n multipleOf: 8\n minimum: 8\n maximum: 256\nrequired:\n - kind\n - bits\nexamples:\n - kind: uint\n bits: 256\n',"schema:ethdebug/format/type/elementary":'$schema: "https://json-schema.org/draft/2020-12/schema"\n$id: "schema:ethdebug/format/type/elementary"\n\ntitle: ethdebug/format/type/elementary\ndescription:\n Canonical representation of an elementary type\n\ntype: object\nproperties:\n kind:\n $ref: "#/$defs/Kind"\nrequired:\n - kind\n\nallOf:\n - if:\n properties:\n kind:\n const: uint\n then:\n $ref: "schema:ethdebug/format/type/elementary/uint"\n\n - if:\n properties:\n kind:\n const: int\n then:\n $ref: "schema:ethdebug/format/type/elementary/int"\n\n - if:\n properties:\n kind:\n const: bool\n then:\n $ref: "schema:ethdebug/format/type/elementary/bool"\n\n - if:\n properties:\n kind:\n const: bytes\n then:\n $ref: "schema:ethdebug/format/type/elementary/bytes"\n\n - if:\n properties:\n kind:\n const: string\n then:\n $ref: "schema:ethdebug/format/type/elementary/string"\n\n - if:\n properties:\n kind:\n const: ufixed\n then:\n $ref: "schema:ethdebug/format/type/elementary/ufixed"\n\n - if:\n properties:\n kind:\n const: fixed\n then:\n $ref: "schema:ethdebug/format/type/elementary/fixed"\n - if:\n properties:\n kind:\n const: address\n then:\n $ref: "schema:ethdebug/format/type/elementary/address"\n\n - if:\n properties:\n kind:\n const: contract\n then:\n $ref: "schema:ethdebug/format/type/elementary/contract"\n\n - if:\n properties:\n kind:\n const: enum\n then:\n $ref: "schema:ethdebug/format/type/elementary/enum"\n\n$defs:\n Kind:\n title: Known elementary kind\n description:\n A schema for the values of `kind` reserved for known elementary types\n included in ethdebug/format\n type: string\n enum:\n - uint\n - int\n - bool\n - bytes\n - string\n - ufixed\n - fixed\n - address\n - contract\n - enum\n',"schema:ethdebug/format/type/reference":'$schema: "https://json-schema.org/draft/2020-12/schema"\n$id: "schema:ethdebug/format/type/reference"\n\ntitle: ethdebug/format/type/reference\ndescription: A reference to a known type by ID\ntype: object\nproperties:\n id:\n type:\n - string\n - number\nadditionalProperties: false\nrequired:\n - id\nexamples:\n - id: 5\n',"schema:ethdebug/format/type/wrapper":'$schema: "https://json-schema.org/draft/2020-12/schema"\n$id: "schema:ethdebug/format/type/wrapper"\n\ntitle: ethdebug/format/type/wrapper\ndescription:\n A wrapper around a type. Defines a `"type"` field that may include a full\n Type representation or a reference to a known Type by ID. Note that this\n schema permits additional properties on the same object.\ntype: object\nproperties:\n type:\n # Discriminate between reference and type based on presence of `id`\n if:\n required:\n - id\n then:\n $ref: "schema:ethdebug/format/type/reference"\n else:\n $ref: "schema:ethdebug/format/type"\n\nrequired:\n - type\n\nexamples:\n - name: beneficiary\n type:\n kind: address\n payable: true\n - type:\n id: "<opaque-id>"\n\n$defs:\n Array:\n title: \'{ "type": ... }[]\'\n description: A list of wrapped types, where the wrapper may add fields\n type: array\n items:\n $ref: "schema:ethdebug/format/type/wrapper"\n\n Object:\n title: \'{ "key": { "type": ... }, ... }\'\n description:\n A key-value mapping of wrapped types, where the wrapper may add fields\n type: object\n additionalProperties:\n $ref: "schema:ethdebug/format/type/wrapper"\n',"schema:ethdebug/format/type":'$schema: "https://json-schema.org/draft/2020-12/schema"\n$id: "schema:ethdebug/format/type"\n\ntitle: ethdebug/format/type\ndescription:\n Canonical representation for all types.\ntype: object\n\nif:\n type: object\n title: Known kind\n description:\n If `kind` adheres to the set of known kinds defined by this format\n properties:\n kind:\n anyOf:\n - $ref: "schema:ethdebug/format/type/elementary#/$defs/Kind"\n - $ref: "schema:ethdebug/format/type/complex#/$defs/Kind"\n\nthen:\n type: object\n title: KnownType\n description:\n Then the object must adhere to exactly one known kind of type\n allOf:\n - if:\n properties:\n kind:\n $ref: "schema:ethdebug/format/type/elementary#/$defs/Kind"\n then:\n $ref: "schema:ethdebug/format/type/elementary"\n - if:\n properties:\n kind:\n $ref: "schema:ethdebug/format/type/complex#/$defs/Kind"\n then:\n $ref: "schema:ethdebug/format/type/complex"\n\nelse:\n type: object\n description:\n Else the object must be a valid **ethdebug/format/type/base** with\n additional constraints\n allOf:\n - $ref: "schema:ethdebug/format/type/base"\n - title: Required `class` field\n required:\n - class\n - title: Specialized complex type `contains` field\n type: object\n if:\n description:\n If this object is a complex type\n properties:\n class:\n const: complex\n then:\n description:\n Then the `contains` field must adhere to\n **ethdebug/format/type/wrapper** schemas, not the\n **ethdebug/format/type/base** equivalent.\n\n (i.e., these additional constraints must apply recursively)\n properties:\n contains:\n oneOf:\n - $ref: "schema:ethdebug/format/type/wrapper"\n - $ref: "schema:ethdebug/format/type/wrapper#/$defs/Array"\n - $ref: "schema:ethdebug/format/type/wrapper#/$defs/Object"\n'}},64223:(e,t,n)=>{"use strict";n.d(t,{Z:()=>ui});var r={};n.r(r),n.d(r,{boolean:()=>S,booleanish:()=>C,commaOrSpaceSeparated:()=>j,commaSeparated:()=>P,number:()=>$,overloadedBoolean:()=>O,spaceSeparated:()=>A});var o={};n.r(o),n.d(o,{attentionMarkers:()=>fn,contentInitial:()=>on,disable:()=>dn,document:()=>rn,flow:()=>an,flowInitial:()=>sn,insideSpan:()=>ln,string:()=>un,text:()=>cn});var i=n(2784),s=n(70056),a=n.n(s),u=n(84560),c=n.n(u),l=n(77336),f=n(82009),d=n(99372);const h={"schema:ethdebug/format/type/base":{title:"ethdebug/format/type/base schema",href:"/spec/type/base"},"schema:ethdebug/format/type/base#/$defs/TypeWrapper":{title:"Base type wrapper schema",href:"/spec/type/base#base-type-wrapper-schema"},"schema:ethdebug/format/type/wrapper":{title:"Type wrapper schema",href:"/spec/type/concepts#type-wrapper-schema"},"schema:ethdebug/format/type/reference":{title:"Type reference schema",href:"/spec/type/concepts#type-reference-schema"},"schema:ethdebug/format/type/definition":{title:"Type definition schema",href:"/spec/type/concepts#type-definition-schema"},"schema:ethdebug/format/type":{href:"/spec/type"},"schema:ethdebug/format/type/elementary":{href:"/spec/type#elementary-type-schema"},"schema:ethdebug/format/type/complex":{href:"/spec/type#complex-type-schema"},...["uint","int","ufixed","fixed","bool","bytes","string","address","contract","enum"].map((e=>({[`schema:ethdebug/format/type/elementary/${e}`]:{href:`/spec/type/elementary/${e}`}}))).reduce(((e,t)=>({...e,...t})),{}),...["alias","tuple","array","mapping","struct","function"].map((e=>({[`schema:ethdebug/format/type/complex/${e}`]:{href:`/spec/type/complex/${e}`}}))).reduce(((e,t)=>({...e,...t})),{}),"schema:ethdebug/format/type/complex/function#/$defs/Parameters":{title:"Parameters schema",href:"/spec/type/complex/function#parameters-schema"},"schema:ethdebug/format/pointer":{href:"/spec/pointer"},"schema:ethdebug/format/pointer/region":{href:"/spec/pointer/region"},"schema:ethdebug/format/pointer/region/base":{href:"/spec/pointer/region/base"},...["stack","memory","storage","calldata","returndata","transient","code"].map((e=>({[`schema:ethdebug/format/pointer/region/${e}`]:{href:`/spec/pointer/region/location/${e}`}}))).reduce(((e,t)=>({...e,...t})),{}),...["slice","segment"].map((e=>({[`schema:ethdebug/format/pointer/scheme/${e}`]:{href:`/spec/pointer/region/scheme/${e}`}}))).reduce(((e,t)=>({...e,...t})),{}),"schema:ethdebug/format/pointer/collection":{href:"/spec/pointer/collection"},...["group","list","conditional","scope"].map((e=>({[`schema:ethdebug/format/pointer/collection/${e}`]:{href:`/spec/pointer/collection/${e}`}}))).reduce(((e,t)=>({...e,...t})),{}),"schema:ethdebug/format/pointer/expression":{href:"/spec/pointer/expression"},...Object.entries({Literal:{title:"Literal values schema",anchor:"#literal-values"},Variable:{title:"Variable expression schema",anchor:"#variables"},Arithmetic:{title:"Arithmetic operation expression schema",anchor:"#arithmetic-operations"},Lookup:{title:"Lookup expression schema",anchor:"#lookup-region-definition"},Read:{title:"Read expression schema",anchor:"#reading-from-the-evm"},Keccak256:{title:"Keccak256 hash expression schema",anchor:"#keccak256-hashes"},Resize:{title:"Resize operation schema",anchor:"#resize-operations"},Reference:{title:"Region reference",anchor:"#region-references"}}).map((e=>{let[t,{title:n,anchor:r}]=e;return{[`schema:ethdebug/format/pointer/expression#/$defs/${t}`]:{title:n,href:`/spec/pointer/expression${r}`}}})).reduce(((e,t)=>({...e,...t})),{}),"schema:ethdebug/format/materials/id":{title:"Identifier schema",href:"/spec/materials/id#identifier-schema"},"schema:ethdebug/format/materials/reference":{title:"Identifier schema",href:"/spec/materials/id#reference-schema"},"schema:ethdebug/format/materials/compilation":{title:"Compilation schema",href:"/spec/materials/compilation"},"schema:ethdebug/format/materials/source":{title:"Source schema",href:"/spec/materials/source"}};var p=n(35849);const m=/^[$_\p{ID_Start}][$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,g=/^[$_\p{ID_Start}][-$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,y={};function v(e,t){return((t||y).jsx?g:m).test(e)}const b=/[ \t\n\f\r]/g;function _(e){return""===e.replace(b,"")}class w{constructor(e,t,n){this.property=e,this.normal=t,n&&(this.space=n)}}function E(e,t){const n={},r={};let o=-1;for(;++o<e.length;)Object.assign(n,e[o].property),Object.assign(r,e[o].normal);return new w(n,r,t)}function k(e){return e.toLowerCase()}w.prototype.property={},w.prototype.normal={},w.prototype.space=null;class x{constructor(e,t){this.property=e,this.attribute=t}}x.prototype.space=null,x.prototype.boolean=!1,x.prototype.booleanish=!1,x.prototype.overloadedBoolean=!1,x.prototype.number=!1,x.prototype.commaSeparated=!1,x.prototype.spaceSeparated=!1,x.prototype.commaOrSpaceSeparated=!1,x.prototype.mustUseProperty=!1,x.prototype.defined=!1;let D=0;const S=F(),C=F(),O=F(),$=F(),A=F(),P=F(),j=F();function F(){return 2**++D}const I=Object.keys(r);class N extends x{constructor(e,t,n,o){let i=-1;if(super(e,t),T(this,"space",o),"number"==typeof n)for(;++i<I.length;){const e=I[i];T(this,I[i],(n&r[e])===r[e])}}}function T(e,t,n){n&&(e[t]=n)}N.prototype.defined=!0;const M={}.hasOwnProperty;function R(e){const t={},n={};let r;for(r in e.properties)if(M.call(e.properties,r)){const o=e.properties[r],i=new N(r,e.transform(e.attributes||{},r),o,e.space);e.mustUseProperty&&e.mustUseProperty.includes(r)&&(i.mustUseProperty=!0),t[r]=i,n[k(r)]=r,n[k(i.attribute)]=r}return new w(t,n,e.space)}const B=R({space:"xlink",transform:(e,t)=>"xlink:"+t.slice(5).toLowerCase(),properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null}}),L=R({space:"xml",transform:(e,t)=>"xml:"+t.slice(3).toLowerCase(),properties:{xmlLang:null,xmlBase:null,xmlSpace:null}});function z(e,t){return t in e?e[t]:t}function U(e,t){return z(e,t.toLowerCase())}const q=R({space:"xmlns",attributes:{xmlnsxlink:"xmlns:xlink"},transform:U,properties:{xmlns:null,xmlnsXLink:null}}),V=R({transform:(e,t)=>"role"===t?t:"aria-"+t.slice(4).toLowerCase(),properties:{ariaActiveDescendant:null,ariaAtomic:C,ariaAutoComplete:null,ariaBusy:C,ariaChecked:C,ariaColCount:$,ariaColIndex:$,ariaColSpan:$,ariaControls:A,ariaCurrent:null,ariaDescribedBy:A,ariaDetails:null,ariaDisabled:C,ariaDropEffect:A,ariaErrorMessage:null,ariaExpanded:C,ariaFlowTo:A,ariaGrabbed:C,ariaHasPopup:null,ariaHidden:C,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:A,ariaLevel:$,ariaLive:null,ariaModal:C,ariaMultiLine:C,ariaMultiSelectable:C,ariaOrientation:null,ariaOwns:A,ariaPlaceholder:null,ariaPosInSet:$,ariaPressed:C,ariaReadOnly:C,ariaRelevant:null,ariaRequired:C,ariaRoleDescription:A,ariaRowCount:$,ariaRowIndex:$,ariaRowSpan:$,ariaSelected:C,ariaSetSize:$,ariaSort:null,ariaValueMax:$,ariaValueMin:$,ariaValueNow:$,ariaValueText:null,role:null}}),Q=R({space:"html",attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},transform:U,mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:P,acceptCharset:A,accessKey:A,action:null,allow:null,allowFullScreen:S,allowPaymentRequest:S,allowUserMedia:S,alt:null,as:null,async:S,autoCapitalize:null,autoComplete:A,autoFocus:S,autoPlay:S,blocking:A,capture:S,charSet:null,checked:S,cite:null,className:A,cols:$,colSpan:null,content:null,contentEditable:C,controls:S,controlsList:A,coords:$|P,crossOrigin:null,data:null,dateTime:null,decoding:null,default:S,defer:S,dir:null,dirName:null,disabled:S,download:O,draggable:C,encType:null,enterKeyHint:null,fetchPriority:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:S,formTarget:null,headers:A,height:$,hidden:S,high:$,href:null,hrefLang:null,htmlFor:A,httpEquiv:A,id:null,imageSizes:null,imageSrcSet:null,inert:S,inputMode:null,integrity:null,is:null,isMap:S,itemId:null,itemProp:A,itemRef:A,itemScope:S,itemType:A,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:S,low:$,manifest:null,max:null,maxLength:$,media:null,method:null,min:null,minLength:$,multiple:S,muted:S,name:null,nonce:null,noModule:S,noValidate:S,onAbort:null,onAfterPrint:null,onAuxClick:null,onBeforeMatch:null,onBeforePrint:null,onBeforeToggle:null,onBeforeUnload:null,onBlur:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onContextLost:null,onContextMenu:null,onContextRestored:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnded:null,onError:null,onFocus:null,onFormData:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLanguageChange:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadEnd:null,onLoadStart:null,onMessage:null,onMessageError:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRejectionHandled:null,onReset:null,onResize:null,onScroll:null,onScrollEnd:null,onSecurityPolicyViolation:null,onSeeked:null,onSeeking:null,onSelect:null,onSlotChange:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnhandledRejection:null,onUnload:null,onVolumeChange:null,onWaiting:null,onWheel:null,open:S,optimum:$,pattern:null,ping:A,placeholder:null,playsInline:S,popover:null,popoverTarget:null,popoverTargetAction:null,poster:null,preload:null,readOnly:S,referrerPolicy:null,rel:A,required:S,reversed:S,rows:$,rowSpan:$,sandbox:A,scope:null,scoped:S,seamless:S,selected:S,shadowRootDelegatesFocus:S,shadowRootMode:null,shape:null,size:$,sizes:null,slot:null,span:$,spellCheck:C,src:null,srcDoc:null,srcLang:null,srcSet:null,start:$,step:null,style:null,tabIndex:$,target:null,title:null,translate:null,type:null,typeMustMatch:S,useMap:null,value:C,width:$,wrap:null,align:null,aLink:null,archive:A,axis:null,background:null,bgColor:null,border:$,borderColor:null,bottomMargin:$,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:S,declare:S,event:null,face:null,frame:null,frameBorder:null,hSpace:$,leftMargin:$,link:null,longDesc:null,lowSrc:null,marginHeight:$,marginWidth:$,noResize:S,noHref:S,noShade:S,noWrap:S,object:null,profile:null,prompt:null,rev:null,rightMargin:$,rules:null,scheme:null,scrolling:C,standby:null,summary:null,text:null,topMargin:$,valueType:null,version:null,vAlign:null,vLink:null,vSpace:$,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:S,disableRemotePlayback:S,prefix:null,property:null,results:$,security:null,unselectable:null}}),X=R({space:"svg",attributes:{accentHeight:"accent-height",alignmentBaseline:"alignment-baseline",arabicForm:"arabic-form",baselineShift:"baseline-shift",capHeight:"cap-height",className:"class",clipPath:"clip-path",clipRule:"clip-rule",colorInterpolation:"color-interpolation",colorInterpolationFilters:"color-interpolation-filters",colorProfile:"color-profile",colorRendering:"color-rendering",crossOrigin:"crossorigin",dataType:"datatype",dominantBaseline:"dominant-baseline",enableBackground:"enable-background",fillOpacity:"fill-opacity",fillRule:"fill-rule",floodColor:"flood-color",floodOpacity:"flood-opacity",fontFamily:"font-family",fontSize:"font-size",fontSizeAdjust:"font-size-adjust",fontStretch:"font-stretch",fontStyle:"font-style",fontVariant:"font-variant",fontWeight:"font-weight",glyphName:"glyph-name",glyphOrientationHorizontal:"glyph-orientation-horizontal",glyphOrientationVertical:"glyph-orientation-vertical",hrefLang:"hreflang",horizAdvX:"horiz-adv-x",horizOriginX:"horiz-origin-x",horizOriginY:"horiz-origin-y",imageRendering:"image-rendering",letterSpacing:"letter-spacing",lightingColor:"lighting-color",markerEnd:"marker-end",markerMid:"marker-mid",markerStart:"marker-start",navDown:"nav-down",navDownLeft:"nav-down-left",navDownRight:"nav-down-right",navLeft:"nav-left",navNext:"nav-next",navPrev:"nav-prev",navRight:"nav-right",navUp:"nav-up",navUpLeft:"nav-up-left",navUpRight:"nav-up-right",onAbort:"onabort",onActivate:"onactivate",onAfterPrint:"onafterprint",onBeforePrint:"onbeforeprint",onBegin:"onbegin",onCancel:"oncancel",onCanPlay:"oncanplay",onCanPlayThrough:"oncanplaythrough",onChange:"onchange",onClick:"onclick",onClose:"onclose",onCopy:"oncopy",onCueChange:"oncuechange",onCut:"oncut",onDblClick:"ondblclick",onDrag:"ondrag",onDragEnd:"ondragend",onDragEnter:"ondragenter",onDragExit:"ondragexit",onDragLeave:"ondragleave",onDragOver:"ondragover",onDragStart:"ondragstart",onDrop:"ondrop",onDurationChange:"ondurationchange",onEmptied:"onemptied",onEnd:"onend",onEnded:"onended",onError:"onerror",onFocus:"onfocus",onFocusIn:"onfocusin",onFocusOut:"onfocusout",onHashChange:"onhashchange",onInput:"oninput",onInvalid:"oninvalid",onKeyDown:"onkeydown",onKeyPress:"onkeypress",onKeyUp:"onkeyup",onLoad:"onload",onLoadedData:"onloadeddata",onLoadedMetadata:"onloadedmetadata",onLoadStart:"onloadstart",onMessage:"onmessage",onMouseDown:"onmousedown",onMouseEnter:"onmouseenter",onMouseLeave:"onmouseleave",onMouseMove:"onmousemove",onMouseOut:"onmouseout",onMouseOver:"onmouseover",onMouseUp:"onmouseup",onMouseWheel:"onmousewheel",onOffline:"onoffline",onOnline:"ononline",onPageHide:"onpagehide",onPageShow:"onpageshow",onPaste:"onpaste",onPause:"onpause",onPlay:"onplay",onPlaying:"onplaying",onPopState:"onpopstate",onProgress:"onprogress",onRateChange:"onratechange",onRepeat:"onrepeat",onReset:"onreset",onResize:"onresize",onScroll:"onscroll",onSeeked:"onseeked",onSeeking:"onseeking",onSelect:"onselect",onShow:"onshow",onStalled:"onstalled",onStorage:"onstorage",onSubmit:"onsubmit",onSuspend:"onsuspend",onTimeUpdate:"ontimeupdate",onToggle:"ontoggle",onUnload:"onunload",onVolumeChange:"onvolumechange",onWaiting:"onwaiting",onZoom:"onzoom",overlinePosition:"overline-position",overlineThickness:"overline-thickness",paintOrder:"paint-order",panose1:"panose-1",pointerEvents:"pointer-events",referrerPolicy:"referrerpolicy",renderingIntent:"rendering-intent",shapeRendering:"shape-rendering",stopColor:"stop-color",stopOpacity:"stop-opacity",strikethroughPosition:"strikethrough-position",strikethroughThickness:"strikethrough-thickness",strokeDashArray:"stroke-dasharray",strokeDashOffset:"stroke-dashoffset",strokeLineCap:"stroke-linecap",strokeLineJoin:"stroke-linejoin",strokeMiterLimit:"stroke-miterlimit",strokeOpacity:"stroke-opacity",strokeWidth:"stroke-width",tabIndex:"tabindex",textAnchor:"text-anchor",textDecoration:"text-decoration",textRendering:"text-rendering",transformOrigin:"transform-origin",typeOf:"typeof",underlinePosition:"underline-position",underlineThickness:"underline-thickness",unicodeBidi:"unicode-bidi",unicodeRange:"unicode-range",unitsPerEm:"units-per-em",vAlphabetic:"v-alphabetic",vHanging:"v-hanging",vIdeographic:"v-ideographic",vMathematical:"v-mathematical",vectorEffect:"vector-effect",vertAdvY:"vert-adv-y",vertOriginX:"vert-origin-x",vertOriginY:"vert-origin-y",wordSpacing:"word-spacing",writingMode:"writing-mode",xHeight:"x-height",playbackOrder:"playbackorder",timelineBegin:"timelinebegin"},transform:z,properties:{about:j,accentHeight:$,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:$,amplitude:$,arabicForm:null,ascent:$,attributeName:null,attributeType:null,azimuth:$,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:$,by:null,calcMode:null,capHeight:$,className:A,clip:null,clipPath:null,clipPathUnits:null,clipRule:null,color:null,colorInterpolation:null,colorInterpolationFilters:null,colorProfile:null,colorRendering:null,content:null,contentScriptType:null,contentStyleType:null,crossOrigin:null,cursor:null,cx:null,cy:null,d:null,dataType:null,defaultAction:null,descent:$,diffuseConstant:$,direction:null,display:null,dur:null,divisor:$,dominantBaseline:null,download:S,dx:null,dy:null,edgeMode:null,editable:null,elevation:$,enableBackground:null,end:null,event:null,exponent:$,externalResourcesRequired:null,fill:null,fillOpacity:$,fillRule:null,filter:null,filterRes:null,filterUnits:null,floodColor:null,floodOpacity:null,focusable:null,focusHighlight:null,fontFamily:null,fontSize:null,fontSizeAdjust:null,fontStretch:null,fontStyle:null,fontVariant:null,fontWeight:null,format:null,fr:null,from:null,fx:null,fy:null,g1:P,g2:P,glyphName:P,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:$,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:$,horizOriginX:$,horizOriginY:$,id:null,ideographic:$,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:$,k:$,k1:$,k2:$,k3:$,k4:$,kernelMatrix:j,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:$,local:null,markerEnd:null,markerMid:null,markerStart:null,markerHeight:null,markerUnits:null,markerWidth:null,mask:null,maskContentUnits:null,maskUnits:null,mathematical:null,max:null,media:null,mediaCharacterEncoding:null,mediaContentEncodings:null,mediaSize:$,mediaTime:null,method:null,min:null,mode:null,name:null,navDown:null,navDownLeft:null,navDownRight:null,navLeft:null,navNext:null,navPrev:null,navRight:null,navUp:null,navUpLeft:null,navUpRight:null,numOctaves:null,observer:null,offset:null,onAbort:null,onActivate:null,onAfterPrint:null,onBeforePrint:null,onBegin:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnd:null,onEnded:null,onError:null,onFocus:null,onFocusIn:null,onFocusOut:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadStart:null,onMessage:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onMouseWheel:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRepeat:null,onReset:null,onResize:null,onScroll:null,onSeeked:null,onSeeking:null,onSelect:null,onShow:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnload:null,onVolumeChange:null,onWaiting:null,onZoom:null,opacity:null,operator:null,order:null,orient:null,orientation:null,origin:null,overflow:null,overlay:null,overlinePosition:$,overlineThickness:$,paintOrder:null,panose1:null,path:null,pathLength:$,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:A,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:$,pointsAtY:$,pointsAtZ:$,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:j,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:j,rev:j,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:j,requiredFeatures:j,requiredFonts:j,requiredFormats:j,resource:null,restart:null,result:null,rotate:null,rx:null,ry:null,scale:null,seed:null,shapeRendering:null,side:null,slope:null,snapshotTime:null,specularConstant:$,specularExponent:$,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:$,strikethroughThickness:$,string:null,stroke:null,strokeDashArray:j,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:$,strokeOpacity:$,strokeWidth:null,style:null,surfaceScale:$,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:j,tabIndex:$,tableValues:null,target:null,targetX:$,targetY:$,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:j,to:null,transform:null,transformOrigin:null,u1:null,u2:null,underlinePosition:$,underlineThickness:$,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:$,values:null,vAlphabetic:$,vMathematical:$,vectorEffect:null,vHanging:$,vIdeographic:$,version:null,vertAdvY:$,vertOriginX:$,vertOriginY:$,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:$,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null}}),H=E([L,B,q,V,Q],"html"),K=E([L,B,q,V,X],"svg"),J=/^data[-\w.:]+$/i,W=/-[a-z]/g,G=/[A-Z]/g;function Z(e){return"-"+e.toLowerCase()}function Y(e){return e.charAt(1).toUpperCase()}const ee={classId:"classID",dataType:"datatype",itemId:"itemID",strokeDashArray:"strokeDasharray",strokeDashOffset:"strokeDashoffset",strokeLineCap:"strokeLinecap",strokeLineJoin:"strokeLinejoin",strokeMiterLimit:"strokeMiterlimit",typeOf:"typeof",xLinkActuate:"xlinkActuate",xLinkArcRole:"xlinkArcrole",xLinkHref:"xlinkHref",xLinkRole:"xlinkRole",xLinkShow:"xlinkShow",xLinkTitle:"xlinkTitle",xLinkType:"xlinkType",xmlnsXLink:"xmlnsXlink"};var te=n(63338);const ne=te.default||te,re=ie("end"),oe=ie("start");function ie(e){return function(t){const n=t&&t.position&&t.position[e]||{};if("number"==typeof n.line&&n.line>0&&"number"==typeof n.column&&n.column>0)return{line:n.line,column:n.column,offset:"number"==typeof n.offset&&n.offset>-1?n.offset:void 0}}}function se(e){return e&&"object"==typeof e?"position"in e||"type"in e?ue(e.position):"start"in e||"end"in e?ue(e):"line"in e||"column"in e?ae(e):"":""}function ae(e){return ce(e&&e.line)+":"+ce(e&&e.column)}function ue(e){return ae(e&&e.start)+"-"+ae(e&&e.end)}function ce(e){return e&&"number"==typeof e?e:1}class le extends Error{constructor(e,t,n){super(),"string"==typeof t&&(n=t,t=void 0);let r="",o={},i=!1;if(t&&(o="line"in t&&"column"in t||"start"in t&&"end"in t?{place:t}:"type"in t?{ancestors:[t],place:t.position}:{...t}),"string"==typeof e?r=e:!o.cause&&e&&(i=!0,r=e.message,o.cause=e),!o.ruleId&&!o.source&&"string"==typeof n){const e=n.indexOf(":");-1===e?o.ruleId=n:(o.source=n.slice(0,e),o.ruleId=n.slice(e+1))}if(!o.place&&o.ancestors&&o.ancestors){const e=o.ancestors[o.ancestors.length-1];e&&(o.place=e.position)}const s=o.place&&"start"in o.place?o.place.start:o.place;this.ancestors=o.ancestors||void 0,this.cause=o.cause||void 0,this.column=s?s.column:void 0,this.fatal=void 0,this.file,this.message=r,this.line=s?s.line:void 0,this.name=se(o.place)||"1:1",this.place=o.place||void 0,this.reason=this.message,this.ruleId=o.ruleId||void 0,this.source=o.source||void 0,this.stack=i&&o.cause&&"string"==typeof o.cause.stack?o.cause.stack:"",this.actual,this.expected,this.note,this.url}}le.prototype.file="",le.prototype.name="",le.prototype.reason="",le.prototype.message="",le.prototype.stack="",le.prototype.column=void 0,le.prototype.line=void 0,le.prototype.ancestors=void 0,le.prototype.cause=void 0,le.prototype.fatal=void 0,le.prototype.place=void 0,le.prototype.ruleId=void 0,le.prototype.source=void 0;const fe={}.hasOwnProperty,de=new Map,he=/[A-Z]/g,pe=/-([a-z])/g,me=new Set(["table","tbody","thead","tfoot","tr"]),ge=new Set(["td","th"]),ye="https://github.com/syntax-tree/hast-util-to-jsx-runtime";function ve(e,t){if(!t||void 0===t.Fragment)throw new TypeError("Expected `Fragment` in options");const n=t.filePath||void 0;let r;if(t.development){if("function"!=typeof t.jsxDEV)throw new TypeError("Expected `jsxDEV` in options when `development: true`");r=function(e,t){return n;function n(n,r,o,i){const s=Array.isArray(o.children),a=oe(n);return t(r,o,i,s,{columnNumber:a?a.column-1:void 0,fileName:e,lineNumber:a?a.line:void 0},void 0)}}(n,t.jsxDEV)}else{if("function"!=typeof t.jsx)throw new TypeError("Expected `jsx` in production options");if("function"!=typeof t.jsxs)throw new TypeError("Expected `jsxs` in production options");r=function(e,t,n){return r;function r(e,r,o,i){const s=Array.isArray(o.children)?n:t;return i?s(r,o,i):s(r,o)}}(0,t.jsx,t.jsxs)}const o={Fragment:t.Fragment,ancestors:[],components:t.components||{},create:r,elementAttributeNameCase:t.elementAttributeNameCase||"react",evaluater:t.createEvaluater?t.createEvaluater():void 0,filePath:n,ignoreInvalidStyle:t.ignoreInvalidStyle||!1,passKeys:!1!==t.passKeys,passNode:t.passNode||!1,schema:"svg"===t.space?K:H,stylePropertyNameCase:t.stylePropertyNameCase||"dom",tableCellAlignToStyle:!1!==t.tableCellAlignToStyle},i=be(o,e,void 0);return i&&"string"!=typeof i?i:o.create(e,o.Fragment,{children:i||void 0},void 0)}function be(e,t,n){return"element"===t.type?function(e,t,n){const r=e.schema;let o=r;"svg"===t.tagName.toLowerCase()&&"html"===r.space&&(o=K,e.schema=o);e.ancestors.push(t);const i=xe(e,t.tagName,!1),s=function(e,t){const n={};let r,o;for(o in t.properties)if("children"!==o&&fe.call(t.properties,o)){const i=ke(e,o,t.properties[o]);if(i){const[o,s]=i;e.tableCellAlignToStyle&&"align"===o&&"string"==typeof s&&ge.has(t.tagName)?r=s:n[o]=s}}if(r){(n.style||(n.style={}))["css"===e.stylePropertyNameCase?"text-align":"textAlign"]=r}return n}(e,t);let a=Ee(e,t);me.has(t.tagName)&&(a=a.filter((function(e){return"string"!=typeof e||!("object"==typeof(t=e)?"text"===t.type&&_(t.value):_(t));var t})));return _e(e,s,i,t),we(s,a),e.ancestors.pop(),e.schema=r,e.create(t,i,s,n)}(e,t,n):"mdxFlowExpression"===t.type||"mdxTextExpression"===t.type?function(e,t){if(t.data&&t.data.estree&&e.evaluater){const n=t.data.estree.body[0];return n.type,e.evaluater.evaluateExpression(n.expression)}De(e,t.position)}(e,t):"mdxJsxFlowElement"===t.type||"mdxJsxTextElement"===t.type?function(e,t,n){const r=e.schema;let o=r;"svg"===t.name&&"html"===r.space&&(o=K,e.schema=o);e.ancestors.push(t);const i=null===t.name?e.Fragment:xe(e,t.name,!0),s=function(e,t){const n={};for(const r of t.attributes)if("mdxJsxExpressionAttribute"===r.type)if(r.data&&r.data.estree&&e.evaluater){const t=r.data.estree.body[0];t.type;const o=t.expression;o.type;const i=o.properties[0];i.type,Object.assign(n,e.evaluater.evaluateExpression(i.argument))}else De(e,t.position);else{const o=r.name;let i;if(r.value&&"object"==typeof r.value)if(r.value.data&&r.value.data.estree&&e.evaluater){const t=r.value.data.estree.body[0];t.type,i=e.evaluater.evaluateExpression(t.expression)}else De(e,t.position);else i=null===r.value||r.value;n[o]=i}return n}(e,t),a=Ee(e,t);return _e(e,s,i,t),we(s,a),e.ancestors.pop(),e.schema=r,e.create(t,i,s,n)}(e,t,n):"mdxjsEsm"===t.type?function(e,t){if(t.data&&t.data.estree&&e.evaluater)return e.evaluater.evaluateProgram(t.data.estree);De(e,t.position)}(e,t):"root"===t.type?function(e,t,n){const r={};return we(r,Ee(e,t)),e.create(t,e.Fragment,r,n)}(e,t,n):"text"===t.type?function(e,t){return t.value}(0,t):void 0}function _e(e,t,n,r){"string"!=typeof n&&n!==e.Fragment&&e.passNode&&(t.node=r)}function we(e,t){if(t.length>0){const n=t.length>1?t:t[0];n&&(e.children=n)}}function Ee(e,t){const n=[];let r=-1;const o=e.passKeys?new Map:de;for(;++r<t.children.length;){const i=t.children[r];let s;if(e.passKeys){const e="element"===i.type?i.tagName:"mdxJsxFlowElement"===i.type||"mdxJsxTextElement"===i.type?i.name:void 0;if(e){const t=o.get(e)||0;s=e+"-"+t,o.set(e,t+1)}}const a=be(e,i,s);void 0!==a&&n.push(a)}return n}function ke(e,t,n){const r=function(e,t){const n=k(t);let r=t,o=x;if(n in e.normal)return e.property[e.normal[n]];if(n.length>4&&"data"===n.slice(0,4)&&J.test(t)){if("-"===t.charAt(4)){const e=t.slice(5).replace(W,Y);r="data"+e.charAt(0).toUpperCase()+e.slice(1)}else{const e=t.slice(4);if(!W.test(e)){let n=e.replace(G,Z);"-"!==n.charAt(0)&&(n="-"+n),t="data"+n}}o=N}return new o(r,t)}(e.schema,t);if(!(null==n||"number"==typeof n&&Number.isNaN(n))){if(Array.isArray(n)&&(n=r.commaSeparated?function(e,t){const n=t||{};return(""===e[e.length-1]?[...e,""]:e).join((n.padRight?" ":"")+","+(!1===n.padLeft?"":" ")).trim()}(n):n.join(" ").trim()),"style"===r.property){let t="object"==typeof n?n:function(e,t){const n={};try{ne(t,r)}catch(o){if(!e.ignoreInvalidStyle){const t=o,n=new le("Cannot parse `style` attribute",{ancestors:e.ancestors,cause:t,ruleId:"style",source:"hast-util-to-jsx-runtime"});throw n.file=e.filePath||void 0,n.url=ye+"#cannot-parse-style-attribute",n}}return n;function r(e,t){let r=e;"--"!==r.slice(0,2)&&("-ms-"===r.slice(0,4)&&(r="ms-"+r.slice(4)),r=r.replace(pe,Ce)),n[r]=t}}(e,String(n));return"css"===e.stylePropertyNameCase&&(t=function(e){const t={};let n;for(n in e)fe.call(e,n)&&(t[Se(n)]=e[n]);return t}(t)),["style",t]}return["react"===e.elementAttributeNameCase&&r.space?ee[r.property]||r.property:r.attribute,n]}}function xe(e,t,n){let r;if(n)if(t.includes(".")){const e=t.split(".");let n,o=-1;for(;++o<e.length;){const t=v(e[o])?{type:"Identifier",name:e[o]}:{type:"Literal",value:e[o]};n=n?{type:"MemberExpression",object:n,property:t,computed:Boolean(o&&"Literal"===t.type),optional:!1}:t}r=n}else r=v(t)&&!/^[a-z]/.test(t)?{type:"Identifier",name:t}:{type:"Literal",value:t};else r={type:"Literal",value:t};if("Literal"===r.type){const t=r.value;return fe.call(e.components,t)?e.components[t]:t}if(e.evaluater)return e.evaluater.evaluateExpression(r);De(e)}function De(e,t){const n=new le("Cannot handle MDX estrees without `createEvaluater`",{ancestors:e.ancestors,place:t,ruleId:"mdx-estree",source:"hast-util-to-jsx-runtime"});throw n.file=e.filePath||void 0,n.url=ye+"#cannot-handle-mdx-estrees-without-createevaluater",n}function Se(e){let t=e.replace(he,Oe);return"ms-"===t.slice(0,3)&&(t="-"+t),t}function Ce(e,t){return t.toUpperCase()}function Oe(e){return"-"+e.toLowerCase()}const $e={action:["form"],cite:["blockquote","del","ins","q"],data:["object"],formAction:["button","input"],href:["a","area","base","link"],icon:["menuitem"],itemId:null,manifest:["html"],ping:["a","area"],poster:["video"],src:["audio","embed","iframe","img","input","script","source","track","video"]};var Ae=n(52322);const Pe={};function je(e,t,n){if(function(e){return Boolean(e&&"object"==typeof e)}(e)){if("value"in e)return"html"!==e.type||n?e.value:"";if(t&&"alt"in e&&e.alt)return e.alt;if("children"in e)return Fe(e.children,t,n)}return Array.isArray(e)?Fe(e,t,n):""}function Fe(e,t,n){const r=[];let o=-1;for(;++o<e.length;)r[o]=je(e[o],t,n);return r.join("")}function Ie(e,t,n,r){const o=e.length;let i,s=0;if(t=t<0?-t>o?0:o+t:t>o?o:t,n=n>0?n:0,r.length<1e4)i=Array.from(r),i.unshift(t,n),e.splice(...i);else for(n&&e.splice(t,n);s<r.length;)i=r.slice(s,s+1e4),i.unshift(t,0),e.splice(...i),s+=1e4,t+=1e4}function Ne(e,t){return e.length>0?(Ie(e,e.length,0,t),e):t}function Te(e){const t={};let n,r,o,i,s,a,u,c=-1;for(;++c<e.length;){for(;c in t;)c=t[c];if(n=e[c],c&&"chunkFlow"===n[1].type&&"listItemPrefix"===e[c-1][1].type&&(a=n[1]._tokenizer.events,o=0,o<a.length&&"lineEndingBlank"===a[o][1].type&&(o+=2),o<a.length&&"content"===a[o][1].type))for(;++o<a.length&&"content"!==a[o][1].type;)"chunkText"===a[o][1].type&&(a[o][1]._isInFirstContentOfListItem=!0,o++);if("enter"===n[0])n[1].contentType&&(Object.assign(t,Me(e,c)),c=t[c],u=!0);else if(n[1]._container){for(o=c,r=void 0;o--&&(i=e[o],"lineEnding"===i[1].type||"lineEndingBlank"===i[1].type);)"enter"===i[0]&&(r&&(e[r][1].type="lineEndingBlank"),i[1].type="lineEnding",r=o);r&&(n[1].end=Object.assign({},e[r][1].start),s=e.slice(r,c),s.unshift(n),Ie(e,r,c-r+1,s))}}return!u}function Me(e,t){const n=e[t][1],r=e[t][2];let o=t-1;const i=[],s=n._tokenizer||r.parser[n.contentType](n.start),a=s.events,u=[],c={};let l,f,d=-1,h=n,p=0,m=0;const g=[m];for(;h;){for(;e[++o][1]!==h;);i.push(o),h._tokenizer||(l=r.sliceStream(h),h.next||l.push(null),f&&s.defineSkip(h.start),h._isInFirstContentOfListItem&&(s._gfmTasklistFirstContentOfListItem=!0),s.write(l),h._isInFirstContentOfListItem&&(s._gfmTasklistFirstContentOfListItem=void 0)),f=h,h=h.next}for(h=n;++d<a.length;)"exit"===a[d][0]&&"enter"===a[d-1][0]&&a[d][1].type===a[d-1][1].type&&a[d][1].start.line!==a[d][1].end.line&&(m=d+1,g.push(m),h._tokenizer=void 0,h.previous=void 0,h=h.next);for(s.events=[],h?(h._tokenizer=void 0,h.previous=void 0):g.pop(),d=g.length;d--;){const t=a.slice(g[d],g[d+1]),n=i.pop();u.unshift([n,n+t.length-1]),Ie(e,n,2,t)}for(d=-1;++d<u.length;)c[p+u[d][0]]=p+u[d][1],p+=u[d][1]-u[d][0]-1;return c}const Re={}.hasOwnProperty;function Be(e,t){let n;for(n in t){const r=(Re.call(e,n)?e[n]:void 0)||(e[n]={}),o=t[n];let i;if(o)for(i in o){Re.call(r,i)||(r[i]=[]);const e=o[i];Le(r[i],Array.isArray(e)?e:e?[e]:[])}}}function Le(e,t){let n=-1;const r=[];for(;++n<t.length;)("after"===t[n].add?e:r).push(t[n]);Ie(e,0,0,r)}const ze=Ye(/\p{P}/u),Ue=Ye(/[A-Za-z]/),qe=Ye(/[\dA-Za-z]/),Ve=Ye(/[#-'*+\--9=?A-Z^-~]/);function Qe(e){return null!==e&&(e<32||127===e)}const Xe=Ye(/\d/),He=Ye(/[\dA-Fa-f]/),Ke=Ye(/[!-/:-@[-`{-~]/);function Je(e){return null!==e&&e<-2}function We(e){return null!==e&&(e<0||32===e)}function Ge(e){return-2===e||-1===e||32===e}const Ze=Ye(/\s/);function Ye(e){return function(t){return null!==t&&t>-1&&e.test(String.fromCharCode(t))}}function et(e,t,n,r){const o=r?r-1:Number.POSITIVE_INFINITY;let i=0;return function(r){if(Ge(r))return e.enter(n),s(r);return t(r)};function s(r){return Ge(r)&&i++<o?(e.consume(r),s):(e.exit(n),t(r))}}const tt={tokenize:function(e){const t=e.attempt(this.parser.constructs.contentInitial,(function(n){if(null===n)return void e.consume(n);return e.enter("lineEnding"),e.consume(n),e.exit("lineEnding"),et(e,t,"linePrefix")}),(function(t){return e.enter("paragraph"),r(t)}));let n;return t;function r(t){const r=e.enter("chunkText",{contentType:"text",previous:n});return n&&(n.next=r),n=r,o(t)}function o(t){return null===t?(e.exit("chunkText"),e.exit("paragraph"),void e.consume(t)):Je(t)?(e.consume(t),e.exit("chunkText"),r):(e.consume(t),o)}}};const nt={tokenize:function(e){const t=this,n=[];let r,o,i,s=0;return a;function a(r){if(s<n.length){const o=n[s];return t.containerState=o[1],e.attempt(o[0].continuation,u,c)(r)}return c(r)}function u(e){if(s++,t.containerState._closeFlow){t.containerState._closeFlow=void 0,r&&v();const n=t.events.length;let o,i=n;for(;i--;)if("exit"===t.events[i][0]&&"chunkFlow"===t.events[i][1].type){o=t.events[i][1].end;break}y(s);let a=n;for(;a<t.events.length;)t.events[a][1].end=Object.assign({},o),a++;return Ie(t.events,i+1,0,t.events.slice(n)),t.events.length=a,c(e)}return a(e)}function c(o){if(s===n.length){if(!r)return d(o);if(r.currentConstruct&&r.currentConstruct.concrete)return p(o);t.interrupt=Boolean(r.currentConstruct&&!r._gfmTableDynamicInterruptHack)}return t.containerState={},e.check(rt,l,f)(o)}function l(e){return r&&v(),y(s),d(e)}function f(e){return t.parser.lazy[t.now().line]=s!==n.length,i=t.now().offset,p(e)}function d(n){return t.containerState={},e.attempt(rt,h,p)(n)}function h(e){return s++,n.push([t.currentConstruct,t.containerState]),d(e)}function p(n){return null===n?(r&&v(),y(0),void e.consume(n)):(r=r||t.parser.flow(t.now()),e.enter("chunkFlow",{contentType:"flow",previous:o,_tokenizer:r}),m(n))}function m(n){return null===n?(g(e.exit("chunkFlow"),!0),y(0),void e.consume(n)):Je(n)?(e.consume(n),g(e.exit("chunkFlow")),s=0,t.interrupt=void 0,a):(e.consume(n),m)}function g(e,n){const a=t.sliceStream(e);if(n&&a.push(null),e.previous=o,o&&(o.next=e),o=e,r.defineSkip(e.start),r.write(a),t.parser.lazy[e.start.line]){let e=r.events.length;for(;e--;)if(r.events[e][1].start.offset<i&&(!r.events[e][1].end||r.events[e][1].end.offset>i))return;const n=t.events.length;let o,a,u=n;for(;u--;)if("exit"===t.events[u][0]&&"chunkFlow"===t.events[u][1].type){if(o){a=t.events[u][1].end;break}o=!0}for(y(s),e=n;e<t.events.length;)t.events[e][1].end=Object.assign({},a),e++;Ie(t.events,u+1,0,t.events.slice(n)),t.events.length=e}}function y(r){let o=n.length;for(;o-- >r;){const r=n[o];t.containerState=r[1],r[0].exit.call(t,e)}n.length=r}function v(){r.write([null]),o=void 0,r=void 0,t.containerState._closeFlow=void 0}}},rt={tokenize:function(e,t,n){return et(e,e.attempt(this.parser.constructs.document,t,n),"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}};const ot={tokenize:function(e,t,n){return function(t){return Ge(t)?et(e,r,"linePrefix")(t):r(t)};function r(e){return null===e||Je(e)?t(e):n(e)}},partial:!0};const it={tokenize:function(e,t){let n;return function(t){return e.enter("content"),n=e.enter("chunkContent",{contentType:"content"}),r(t)};function r(t){return null===t?o(t):Je(t)?e.check(st,i,o)(t):(e.consume(t),r)}function o(n){return e.exit("chunkContent"),e.exit("content"),t(n)}function i(t){return e.consume(t),e.exit("chunkContent"),n.next=e.enter("chunkContent",{contentType:"content",previous:n}),n=n.next,r}},resolve:function(e){return Te(e),e}},st={tokenize:function(e,t,n){const r=this;return function(t){return e.exit("chunkContent"),e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),et(e,o,"linePrefix")};function o(o){if(null===o||Je(o))return n(o);const i=r.events[r.events.length-1];return!r.parser.constructs.disable.null.includes("codeIndented")&&i&&"linePrefix"===i[1].type&&i[2].sliceSerialize(i[1],!0).length>=4?t(o):e.interrupt(r.parser.constructs.flow,n,t)(o)}},partial:!0};const at={tokenize:function(e){const t=this,n=e.attempt(ot,(function(r){if(null===r)return void e.consume(r);return e.enter("lineEndingBlank"),e.consume(r),e.exit("lineEndingBlank"),t.currentConstruct=void 0,n}),e.attempt(this.parser.constructs.flowInitial,r,et(e,e.attempt(this.parser.constructs.flow,r,e.attempt(it,r)),"linePrefix")));return n;function r(r){if(null!==r)return e.enter("lineEnding"),e.consume(r),e.exit("lineEnding"),t.currentConstruct=void 0,n;e.consume(r)}}};const ut={resolveAll:dt()},ct=ft("string"),lt=ft("text");function ft(e){return{tokenize:function(t){const n=this,r=this.parser.constructs[e],o=t.attempt(r,i,s);return i;function i(e){return u(e)?o(e):s(e)}function s(e){if(null!==e)return t.enter("data"),t.consume(e),a;t.consume(e)}function a(e){return u(e)?(t.exit("data"),o(e)):(t.consume(e),a)}function u(e){if(null===e)return!0;const t=r[e];let o=-1;if(t)for(;++o<t.length;){const e=t[o];if(!e.previous||e.previous.call(n,n.previous))return!0}return!1}},resolveAll:dt("text"===e?ht:void 0)}}function dt(e){return function(t,n){let r,o=-1;for(;++o<=t.length;)void 0===r?t[o]&&"data"===t[o][1].type&&(r=o,o++):t[o]&&"data"===t[o][1].type||(o!==r+2&&(t[r][1].end=t[o-1][1].end,t.splice(r+2,o-r-2),o=r+2),r=void 0);return e?e(t,n):t}}function ht(e,t){let n=0;for(;++n<=e.length;)if((n===e.length||"lineEnding"===e[n][1].type)&&"data"===e[n-1][1].type){const r=e[n-1][1],o=t.sliceStream(r);let i,s=o.length,a=-1,u=0;for(;s--;){const e=o[s];if("string"==typeof e){for(a=e.length;32===e.charCodeAt(a-1);)u++,a--;if(a)break;a=-1}else if(-2===e)i=!0,u++;else if(-1!==e){s++;break}}if(u){const o={type:n===e.length||i||u<2?"lineSuffix":"hardBreakTrailing",start:{line:r.end.line,column:r.end.column-u,offset:r.end.offset-u,_index:r.start._index+s,_bufferIndex:s?a:r.start._bufferIndex+a},end:Object.assign({},r.end)};r.end=Object.assign({},o.start),r.start.offset===r.end.offset?Object.assign(r,o):(e.splice(n,0,["enter",o,t],["exit",o,t]),n+=2)}n++}return e}function pt(e,t,n){const r=[];let o=-1;for(;++o<e.length;){const i=e[o].resolveAll;i&&!r.includes(i)&&(t=i(t,n),r.push(i))}return t}function mt(e,t,n){let r=Object.assign(n?Object.assign({},n):{line:1,column:1,offset:0},{_index:0,_bufferIndex:-1});const o={},i=[];let s=[],a=[],u=!0;const c={consume:function(e){Je(e)?(r.line++,r.column=1,r.offset+=-3===e?2:1,_()):-1!==e&&(r.column++,r.offset++);r._bufferIndex<0?r._index++:(r._bufferIndex++,r._bufferIndex===s[r._index].length&&(r._bufferIndex=-1,r._index++));l.previous=e,u=!0},enter:function(e,t){const n=t||{};return n.type=e,n.start=p(),l.events.push(["enter",n,l]),a.push(n),n},exit:function(e){const t=a.pop();return t.end=p(),l.events.push(["exit",t,l]),t},attempt:v((function(e,t){b(e,t.from)})),check:v(y),interrupt:v(y,{interrupt:!0})},l={previous:null,code:null,containerState:{},events:[],parser:e,sliceStream:h,sliceSerialize:function(e,t){return function(e,t){let n=-1;const r=[];let o;for(;++n<e.length;){const i=e[n];let s;if("string"==typeof i)s=i;else switch(i){case-5:s="\r";break;case-4:s="\n";break;case-3:s="\r\n";break;case-2:s=t?" ":"\t";break;case-1:if(!t&&o)continue;s=" ";break;default:s=String.fromCharCode(i)}o=-2===i,r.push(s)}return r.join("")}(h(e),t)},now:p,defineSkip:function(e){o[e.line]=e.column,_()},write:function(e){if(s=Ne(s,e),m(),null!==s[s.length-1])return[];return b(t,0),l.events=pt(i,l.events,l),l.events}};let f,d=t.tokenize.call(l,c);return t.resolveAll&&i.push(t),l;function h(e){return function(e,t){const n=t.start._index,r=t.start._bufferIndex,o=t.end._index,i=t.end._bufferIndex;let s;if(n===o)s=[e[n].slice(r,i)];else{if(s=e.slice(n,o),r>-1){const e=s[0];"string"==typeof e?s[0]=e.slice(r):s.shift()}i>0&&s.push(e[o].slice(0,i))}return s}(s,e)}function p(){const{line:e,column:t,offset:n,_index:o,_bufferIndex:i}=r;return{line:e,column:t,offset:n,_index:o,_bufferIndex:i}}function m(){let e;for(;r._index<s.length;){const t=s[r._index];if("string"==typeof t)for(e=r._index,r._bufferIndex<0&&(r._bufferIndex=0);r._index===e&&r._bufferIndex<t.length;)g(t.charCodeAt(r._bufferIndex));else g(t)}}function g(e){u=void 0,f=e,d=d(e)}function y(e,t){t.restore()}function v(e,t){return function(n,o,i){let s,f,d,h;return Array.isArray(n)?m(n):"tokenize"in n?m([n]):function(e){return t;function t(t){const n=null!==t&&e[t],r=null!==t&&e.null;return m([...Array.isArray(n)?n:n?[n]:[],...Array.isArray(r)?r:r?[r]:[]])(t)}}(n);function m(e){return s=e,f=0,0===e.length?i:g(e[f])}function g(e){return function(n){h=function(){const e=p(),t=l.previous,n=l.currentConstruct,o=l.events.length,i=Array.from(a);return{restore:s,from:o};function s(){r=e,l.previous=t,l.currentConstruct=n,l.events.length=o,a=i,_()}}(),d=e,e.partial||(l.currentConstruct=e);if(e.name&&l.parser.constructs.disable.null.includes(e.name))return v(n);return e.tokenize.call(t?Object.assign(Object.create(l),t):l,c,y,v)(n)}}function y(t){return u=!0,e(d,h),o}function v(e){return u=!0,h.restore(),++f<s.length?g(s[f]):i}}}function b(e,t){e.resolveAll&&!i.includes(e)&&i.push(e),e.resolve&&Ie(l.events,t,l.events.length-t,e.resolve(l.events.slice(t),l)),e.resolveTo&&(l.events=e.resolveTo(l.events,l))}function _(){r.line in o&&r.column<2&&(r.column=o[r.line],r.offset+=o[r.line]-1)}}const gt={name:"thematicBreak",tokenize:function(e,t,n){let r,o=0;return function(t){return e.enter("thematicBreak"),function(e){return r=e,i(e)}(t)};function i(i){return i===r?(e.enter("thematicBreakSequence"),s(i)):o>=3&&(null===i||Je(i))?(e.exit("thematicBreak"),t(i)):n(i)}function s(t){return t===r?(e.consume(t),o++,s):(e.exit("thematicBreakSequence"),Ge(t)?et(e,i,"whitespace")(t):i(t))}}};const yt={name:"list",tokenize:function(e,t,n){const r=this,o=r.events[r.events.length-1];let i=o&&"linePrefix"===o[1].type?o[2].sliceSerialize(o[1],!0).length:0,s=0;return function(t){const o=r.containerState.type||(42===t||43===t||45===t?"listUnordered":"listOrdered");if("listUnordered"===o?!r.containerState.marker||t===r.containerState.marker:Xe(t)){if(r.containerState.type||(r.containerState.type=o,e.enter(o,{_container:!0})),"listUnordered"===o)return e.enter("listItemPrefix"),42===t||45===t?e.check(gt,n,u)(t):u(t);if(!r.interrupt||49===t)return e.enter("listItemPrefix"),e.enter("listItemValue"),a(t)}return n(t)};function a(t){return Xe(t)&&++s<10?(e.consume(t),a):(!r.interrupt||s<2)&&(r.containerState.marker?t===r.containerState.marker:41===t||46===t)?(e.exit("listItemValue"),u(t)):n(t)}function u(t){return e.enter("listItemMarker"),e.consume(t),e.exit("listItemMarker"),r.containerState.marker=r.containerState.marker||t,e.check(ot,r.interrupt?n:c,e.attempt(vt,f,l))}function c(e){return r.containerState.initialBlankLine=!0,i++,f(e)}function l(t){return Ge(t)?(e.enter("listItemPrefixWhitespace"),e.consume(t),e.exit("listItemPrefixWhitespace"),f):n(t)}function f(n){return r.containerState.size=i+r.sliceSerialize(e.exit("listItemPrefix"),!0).length,t(n)}},continuation:{tokenize:function(e,t,n){const r=this;return r.containerState._closeFlow=void 0,e.check(ot,o,i);function o(n){return r.containerState.furtherBlankLines=r.containerState.furtherBlankLines||r.containerState.initialBlankLine,et(e,t,"listItemIndent",r.containerState.size+1)(n)}function i(n){return r.containerState.furtherBlankLines||!Ge(n)?(r.containerState.furtherBlankLines=void 0,r.containerState.initialBlankLine=void 0,s(n)):(r.containerState.furtherBlankLines=void 0,r.containerState.initialBlankLine=void 0,e.attempt(bt,t,s)(n))}function s(o){return r.containerState._closeFlow=!0,r.interrupt=void 0,et(e,e.attempt(yt,t,n),"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(o)}}},exit:function(e){e.exit(this.containerState.type)}},vt={tokenize:function(e,t,n){const r=this;return et(e,(function(e){const o=r.events[r.events.length-1];return!Ge(e)&&o&&"listItemPrefixWhitespace"===o[1].type?t(e):n(e)}),"listItemPrefixWhitespace",r.parser.constructs.disable.null.includes("codeIndented")?void 0:5)},partial:!0},bt={tokenize:function(e,t,n){const r=this;return et(e,(function(e){const o=r.events[r.events.length-1];return o&&"listItemIndent"===o[1].type&&o[2].sliceSerialize(o[1],!0).length===r.containerState.size?t(e):n(e)}),"listItemIndent",r.containerState.size+1)},partial:!0};const _t={name:"blockQuote",tokenize:function(e,t,n){const r=this;return function(t){if(62===t){const n=r.containerState;return n.open||(e.enter("blockQuote",{_container:!0}),n.open=!0),e.enter("blockQuotePrefix"),e.enter("blockQuoteMarker"),e.consume(t),e.exit("blockQuoteMarker"),o}return n(t)};function o(n){return Ge(n)?(e.enter("blockQuotePrefixWhitespace"),e.consume(n),e.exit("blockQuotePrefixWhitespace"),e.exit("blockQuotePrefix"),t):(e.exit("blockQuotePrefix"),t(n))}},continuation:{tokenize:function(e,t,n){const r=this;return function(t){if(Ge(t))return et(e,o,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(t);return o(t)};function o(r){return e.attempt(_t,t,n)(r)}}},exit:function(e){e.exit("blockQuote")}};function wt(e,t,n,r,o,i,s,a,u){const c=u||Number.POSITIVE_INFINITY;let l=0;return function(t){if(60===t)return e.enter(r),e.enter(o),e.enter(i),e.consume(t),e.exit(i),f;if(null===t||32===t||41===t||Qe(t))return n(t);return e.enter(r),e.enter(s),e.enter(a),e.enter("chunkString",{contentType:"string"}),p(t)};function f(n){return 62===n?(e.enter(i),e.consume(n),e.exit(i),e.exit(o),e.exit(r),t):(e.enter(a),e.enter("chunkString",{contentType:"string"}),d(n))}function d(t){return 62===t?(e.exit("chunkString"),e.exit(a),f(t)):null===t||60===t||Je(t)?n(t):(e.consume(t),92===t?h:d)}function h(t){return 60===t||62===t||92===t?(e.consume(t),d):d(t)}function p(o){return l||null!==o&&41!==o&&!We(o)?l<c&&40===o?(e.consume(o),l++,p):41===o?(e.consume(o),l--,p):null===o||32===o||40===o||Qe(o)?n(o):(e.consume(o),92===o?m:p):(e.exit("chunkString"),e.exit(a),e.exit(s),e.exit(r),t(o))}function m(t){return 40===t||41===t||92===t?(e.consume(t),p):p(t)}}function Et(e,t,n,r,o,i){const s=this;let a,u=0;return function(t){return e.enter(r),e.enter(o),e.consume(t),e.exit(o),e.enter(i),c};function c(f){return u>999||null===f||91===f||93===f&&!a||94===f&&!u&&"_hiddenFootnoteSupport"in s.parser.constructs?n(f):93===f?(e.exit(i),e.enter(o),e.consume(f),e.exit(o),e.exit(r),t):Je(f)?(e.enter("lineEnding"),e.consume(f),e.exit("lineEnding"),c):(e.enter("chunkString",{contentType:"string"}),l(f))}function l(t){return null===t||91===t||93===t||Je(t)||u++>999?(e.exit("chunkString"),c(t)):(e.consume(t),a||(a=!Ge(t)),92===t?f:l)}function f(t){return 91===t||92===t||93===t?(e.consume(t),u++,l):l(t)}}function kt(e,t,n,r,o,i){let s;return function(t){if(34===t||39===t||40===t)return e.enter(r),e.enter(o),e.consume(t),e.exit(o),s=40===t?41:t,a;return n(t)};function a(n){return n===s?(e.enter(o),e.consume(n),e.exit(o),e.exit(r),t):(e.enter(i),u(n))}function u(t){return t===s?(e.exit(i),a(s)):null===t?n(t):Je(t)?(e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),et(e,u,"linePrefix")):(e.enter("chunkString",{contentType:"string"}),c(t))}function c(t){return t===s||null===t||Je(t)?(e.exit("chunkString"),u(t)):(e.consume(t),92===t?l:c)}function l(t){return t===s||92===t?(e.consume(t),c):c(t)}}function xt(e,t){let n;return function r(o){if(Je(o))return e.enter("lineEnding"),e.consume(o),e.exit("lineEnding"),n=!0,r;if(Ge(o))return et(e,r,n?"linePrefix":"lineSuffix")(o);return t(o)}}function Dt(e){return e.replace(/[\t\n\r ]+/g," ").replace(/^ | $/g,"").toLowerCase().toUpperCase()}const St={name:"definition",tokenize:function(e,t,n){const r=this;let o;return function(t){return e.enter("definition"),function(t){return Et.call(r,e,i,n,"definitionLabel","definitionLabelMarker","definitionLabelString")(t)}(t)};function i(t){return o=Dt(r.sliceSerialize(r.events[r.events.length-1][1]).slice(1,-1)),58===t?(e.enter("definitionMarker"),e.consume(t),e.exit("definitionMarker"),s):n(t)}function s(t){return We(t)?xt(e,a)(t):a(t)}function a(t){return wt(e,u,n,"definitionDestination","definitionDestinationLiteral","definitionDestinationLiteralMarker","definitionDestinationRaw","definitionDestinationString")(t)}function u(t){return e.attempt(Ct,c,c)(t)}function c(t){return Ge(t)?et(e,l,"whitespace")(t):l(t)}function l(i){return null===i||Je(i)?(e.exit("definition"),r.parser.defined.push(o),t(i)):n(i)}}},Ct={tokenize:function(e,t,n){return function(t){return We(t)?xt(e,r)(t):n(t)};function r(t){return kt(e,o,n,"definitionTitle","definitionTitleMarker","definitionTitleString")(t)}function o(t){return Ge(t)?et(e,i,"whitespace")(t):i(t)}function i(e){return null===e||Je(e)?t(e):n(e)}},partial:!0};const Ot={name:"codeIndented",tokenize:function(e,t,n){const r=this;return function(t){return e.enter("codeIndented"),et(e,o,"linePrefix",5)(t)};function o(e){const t=r.events[r.events.length-1];return t&&"linePrefix"===t[1].type&&t[2].sliceSerialize(t[1],!0).length>=4?i(e):n(e)}function i(t){return null===t?a(t):Je(t)?e.attempt($t,i,a)(t):(e.enter("codeFlowValue"),s(t))}function s(t){return null===t||Je(t)?(e.exit("codeFlowValue"),i(t)):(e.consume(t),s)}function a(n){return e.exit("codeIndented"),t(n)}}},$t={tokenize:function(e,t,n){const r=this;return o;function o(t){return r.parser.lazy[r.now().line]?n(t):Je(t)?(e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),o):et(e,i,"linePrefix",5)(t)}function i(e){const i=r.events[r.events.length-1];return i&&"linePrefix"===i[1].type&&i[2].sliceSerialize(i[1],!0).length>=4?t(e):Je(e)?o(e):n(e)}},partial:!0};const At={name:"headingAtx",tokenize:function(e,t,n){let r=0;return function(t){return e.enter("atxHeading"),function(t){return e.enter("atxHeadingSequence"),o(t)}(t)};function o(t){return 35===t&&r++<6?(e.consume(t),o):null===t||We(t)?(e.exit("atxHeadingSequence"),i(t)):n(t)}function i(n){return 35===n?(e.enter("atxHeadingSequence"),s(n)):null===n||Je(n)?(e.exit("atxHeading"),t(n)):Ge(n)?et(e,i,"whitespace")(n):(e.enter("atxHeadingText"),a(n))}function s(t){return 35===t?(e.consume(t),s):(e.exit("atxHeadingSequence"),i(t))}function a(t){return null===t||35===t||We(t)?(e.exit("atxHeadingText"),i(t)):(e.consume(t),a)}},resolve:function(e,t){let n,r,o=e.length-2,i=3;"whitespace"===e[i][1].type&&(i+=2);o-2>i&&"whitespace"===e[o][1].type&&(o-=2);"atxHeadingSequence"===e[o][1].type&&(i===o-1||o-4>i&&"whitespace"===e[o-2][1].type)&&(o-=i+1===o?2:4);o>i&&(n={type:"atxHeadingText",start:e[i][1].start,end:e[o][1].end},r={type:"chunkText",start:e[i][1].start,end:e[o][1].end,contentType:"text"},Ie(e,i,o-i+1,[["enter",n,t],["enter",r,t],["exit",r,t],["exit",n,t]]));return e}};const Pt={name:"setextUnderline",tokenize:function(e,t,n){const r=this;let o;return function(t){let s,a=r.events.length;for(;a--;)if("lineEnding"!==r.events[a][1].type&&"linePrefix"!==r.events[a][1].type&&"content"!==r.events[a][1].type){s="paragraph"===r.events[a][1].type;break}if(!r.parser.lazy[r.now().line]&&(r.interrupt||s))return e.enter("setextHeadingLine"),o=t,function(t){return e.enter("setextHeadingLineSequence"),i(t)}(t);return n(t)};function i(t){return t===o?(e.consume(t),i):(e.exit("setextHeadingLineSequence"),Ge(t)?et(e,s,"lineSuffix")(t):s(t))}function s(r){return null===r||Je(r)?(e.exit("setextHeadingLine"),t(r)):n(r)}},resolveTo:function(e,t){let n,r,o,i=e.length;for(;i--;)if("enter"===e[i][0]){if("content"===e[i][1].type){n=i;break}"paragraph"===e[i][1].type&&(r=i)}else"content"===e[i][1].type&&e.splice(i,1),o||"definition"!==e[i][1].type||(o=i);const s={type:"setextHeading",start:Object.assign({},e[r][1].start),end:Object.assign({},e[e.length-1][1].end)};e[r][1].type="setextHeadingText",o?(e.splice(r,0,["enter",s,t]),e.splice(o+1,0,["exit",e[n][1],t]),e[n][1].end=Object.assign({},e[o][1].end)):e[n][1]=s;return e.push(["exit",s,t]),e}};const jt=["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"],Ft=["pre","script","style","textarea"],It={name:"htmlFlow",tokenize:function(e,t,n){const r=this;let o,i,s,a,u;return function(t){return function(t){return e.enter("htmlFlow"),e.enter("htmlFlowData"),e.consume(t),c}(t)};function c(a){return 33===a?(e.consume(a),l):47===a?(e.consume(a),i=!0,h):63===a?(e.consume(a),o=3,r.interrupt?t:I):Ue(a)?(e.consume(a),s=String.fromCharCode(a),p):n(a)}function l(i){return 45===i?(e.consume(i),o=2,f):91===i?(e.consume(i),o=5,a=0,d):Ue(i)?(e.consume(i),o=4,r.interrupt?t:I):n(i)}function f(o){return 45===o?(e.consume(o),r.interrupt?t:I):n(o)}function d(o){const i="CDATA[";return o===i.charCodeAt(a++)?(e.consume(o),6===a?r.interrupt?t:S:d):n(o)}function h(t){return Ue(t)?(e.consume(t),s=String.fromCharCode(t),p):n(t)}function p(a){if(null===a||47===a||62===a||We(a)){const u=47===a,c=s.toLowerCase();return u||i||!Ft.includes(c)?jt.includes(s.toLowerCase())?(o=6,u?(e.consume(a),m):r.interrupt?t(a):S(a)):(o=7,r.interrupt&&!r.parser.lazy[r.now().line]?n(a):i?g(a):y(a)):(o=1,r.interrupt?t(a):S(a))}return 45===a||qe(a)?(e.consume(a),s+=String.fromCharCode(a),p):n(a)}function m(o){return 62===o?(e.consume(o),r.interrupt?t:S):n(o)}function g(t){return Ge(t)?(e.consume(t),g):x(t)}function y(t){return 47===t?(e.consume(t),x):58===t||95===t||Ue(t)?(e.consume(t),v):Ge(t)?(e.consume(t),y):x(t)}function v(t){return 45===t||46===t||58===t||95===t||qe(t)?(e.consume(t),v):b(t)}function b(t){return 61===t?(e.consume(t),_):Ge(t)?(e.consume(t),b):y(t)}function _(t){return null===t||60===t||61===t||62===t||96===t?n(t):34===t||39===t?(e.consume(t),u=t,w):Ge(t)?(e.consume(t),_):E(t)}function w(t){return t===u?(e.consume(t),u=null,k):null===t||Je(t)?n(t):(e.consume(t),w)}function E(t){return null===t||34===t||39===t||47===t||60===t||61===t||62===t||96===t||We(t)?b(t):(e.consume(t),E)}function k(e){return 47===e||62===e||Ge(e)?y(e):n(e)}function x(t){return 62===t?(e.consume(t),D):n(t)}function D(t){return null===t||Je(t)?S(t):Ge(t)?(e.consume(t),D):n(t)}function S(t){return 45===t&&2===o?(e.consume(t),A):60===t&&1===o?(e.consume(t),P):62===t&&4===o?(e.consume(t),N):63===t&&3===o?(e.consume(t),I):93===t&&5===o?(e.consume(t),F):!Je(t)||6!==o&&7!==o?null===t||Je(t)?(e.exit("htmlFlowData"),C(t)):(e.consume(t),S):(e.exit("htmlFlowData"),e.check(Nt,T,C)(t))}function C(t){return e.check(Tt,O,T)(t)}function O(t){return e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),$}function $(t){return null===t||Je(t)?C(t):(e.enter("htmlFlowData"),S(t))}function A(t){return 45===t?(e.consume(t),I):S(t)}function P(t){return 47===t?(e.consume(t),s="",j):S(t)}function j(t){if(62===t){const n=s.toLowerCase();return Ft.includes(n)?(e.consume(t),N):S(t)}return Ue(t)&&s.length<8?(e.consume(t),s+=String.fromCharCode(t),j):S(t)}function F(t){return 93===t?(e.consume(t),I):S(t)}function I(t){return 62===t?(e.consume(t),N):45===t&&2===o?(e.consume(t),I):S(t)}function N(t){return null===t||Je(t)?(e.exit("htmlFlowData"),T(t)):(e.consume(t),N)}function T(n){return e.exit("htmlFlow"),t(n)}},resolveTo:function(e){let t=e.length;for(;t--&&("enter"!==e[t][0]||"htmlFlow"!==e[t][1].type););t>1&&"linePrefix"===e[t-2][1].type&&(e[t][1].start=e[t-2][1].start,e[t+1][1].start=e[t-2][1].start,e.splice(t-2,2));return e},concrete:!0},Nt={tokenize:function(e,t,n){return function(r){return e.enter("lineEnding"),e.consume(r),e.exit("lineEnding"),e.attempt(ot,t,n)}},partial:!0},Tt={tokenize:function(e,t,n){const r=this;return function(t){if(Je(t))return e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),o;return n(t)};function o(e){return r.parser.lazy[r.now().line]?n(e):t(e)}},partial:!0};const Mt={tokenize:function(e,t,n){const r=this;return function(t){if(null===t)return n(t);return e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),o};function o(e){return r.parser.lazy[r.now().line]?n(e):t(e)}},partial:!0},Rt={name:"codeFenced",tokenize:function(e,t,n){const r=this,o={tokenize:function(e,t,n){let o=0;return s;function s(t){return e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),u}function u(t){return e.enter("codeFencedFence"),Ge(t)?et(e,c,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(t):c(t)}function c(t){return t===i?(e.enter("codeFencedFenceSequence"),l(t)):n(t)}function l(t){return t===i?(o++,e.consume(t),l):o>=a?(e.exit("codeFencedFenceSequence"),Ge(t)?et(e,f,"whitespace")(t):f(t)):n(t)}function f(r){return null===r||Je(r)?(e.exit("codeFencedFence"),t(r)):n(r)}},partial:!0};let i,s=0,a=0;return function(t){return function(t){const n=r.events[r.events.length-1];return s=n&&"linePrefix"===n[1].type?n[2].sliceSerialize(n[1],!0).length:0,i=t,e.enter("codeFenced"),e.enter("codeFencedFence"),e.enter("codeFencedFenceSequence"),u(t)}(t)};function u(t){return t===i?(a++,e.consume(t),u):a<3?n(t):(e.exit("codeFencedFenceSequence"),Ge(t)?et(e,c,"whitespace")(t):c(t))}function c(n){return null===n||Je(n)?(e.exit("codeFencedFence"),r.interrupt?t(n):e.check(Mt,h,v)(n)):(e.enter("codeFencedFenceInfo"),e.enter("chunkString",{contentType:"string"}),l(n))}function l(t){return null===t||Je(t)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),c(t)):Ge(t)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),et(e,f,"whitespace")(t)):96===t&&t===i?n(t):(e.consume(t),l)}function f(t){return null===t||Je(t)?c(t):(e.enter("codeFencedFenceMeta"),e.enter("chunkString",{contentType:"string"}),d(t))}function d(t){return null===t||Je(t)?(e.exit("chunkString"),e.exit("codeFencedFenceMeta"),c(t)):96===t&&t===i?n(t):(e.consume(t),d)}function h(t){return e.attempt(o,v,p)(t)}function p(t){return e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),m}function m(t){return s>0&&Ge(t)?et(e,g,"linePrefix",s+1)(t):g(t)}function g(t){return null===t||Je(t)?e.check(Mt,h,v)(t):(e.enter("codeFlowValue"),y(t))}function y(t){return null===t||Je(t)?(e.exit("codeFlowValue"),g(t)):(e.consume(t),y)}function v(n){return e.exit("codeFenced"),t(n)}},concrete:!0};const Bt=document.createElement("i");function Lt(e){const t="&"+e+";";Bt.innerHTML=t;const n=Bt.textContent;return(59!==n.charCodeAt(n.length-1)||"semi"===e)&&(n!==t&&n)}const zt={name:"characterReference",tokenize:function(e,t,n){const r=this;let o,i,s=0;return function(t){return e.enter("characterReference"),e.enter("characterReferenceMarker"),e.consume(t),e.exit("characterReferenceMarker"),a};function a(t){return 35===t?(e.enter("characterReferenceMarkerNumeric"),e.consume(t),e.exit("characterReferenceMarkerNumeric"),u):(e.enter("characterReferenceValue"),o=31,i=qe,c(t))}function u(t){return 88===t||120===t?(e.enter("characterReferenceMarkerHexadecimal"),e.consume(t),e.exit("characterReferenceMarkerHexadecimal"),e.enter("characterReferenceValue"),o=6,i=He,c):(e.enter("characterReferenceValue"),o=7,i=Xe,c(t))}function c(a){if(59===a&&s){const o=e.exit("characterReferenceValue");return i!==qe||Lt(r.sliceSerialize(o))?(e.enter("characterReferenceMarker"),e.consume(a),e.exit("characterReferenceMarker"),e.exit("characterReference"),t):n(a)}return i(a)&&s++<o?(e.consume(a),c):n(a)}}};const Ut={name:"characterEscape",tokenize:function(e,t,n){return function(t){return e.enter("characterEscape"),e.enter("escapeMarker"),e.consume(t),e.exit("escapeMarker"),r};function r(r){return Ke(r)?(e.enter("characterEscapeValue"),e.consume(r),e.exit("characterEscapeValue"),e.exit("characterEscape"),t):n(r)}}};const qt={name:"lineEnding",tokenize:function(e,t){return function(n){return e.enter("lineEnding"),e.consume(n),e.exit("lineEnding"),et(e,t,"linePrefix")}}};const Vt={name:"labelEnd",tokenize:function(e,t,n){const r=this;let o,i,s=r.events.length;for(;s--;)if(("labelImage"===r.events[s][1].type||"labelLink"===r.events[s][1].type)&&!r.events[s][1]._balanced){o=r.events[s][1];break}return function(t){if(!o)return n(t);if(o._inactive)return l(t);return i=r.parser.defined.includes(Dt(r.sliceSerialize({start:o.end,end:r.now()}))),e.enter("labelEnd"),e.enter("labelMarker"),e.consume(t),e.exit("labelMarker"),e.exit("labelEnd"),a};function a(t){return 40===t?e.attempt(Qt,c,i?c:l)(t):91===t?e.attempt(Xt,c,i?u:l)(t):i?c(t):l(t)}function u(t){return e.attempt(Ht,c,l)(t)}function c(e){return t(e)}function l(e){return o._balanced=!0,n(e)}},resolveTo:function(e,t){let n,r,o,i,s=e.length,a=0;for(;s--;)if(n=e[s][1],r){if("link"===n.type||"labelLink"===n.type&&n._inactive)break;"enter"===e[s][0]&&"labelLink"===n.type&&(n._inactive=!0)}else if(o){if("enter"===e[s][0]&&("labelImage"===n.type||"labelLink"===n.type)&&!n._balanced&&(r=s,"labelLink"!==n.type)){a=2;break}}else"labelEnd"===n.type&&(o=s);const u={type:"labelLink"===e[r][1].type?"link":"image",start:Object.assign({},e[r][1].start),end:Object.assign({},e[e.length-1][1].end)},c={type:"label",start:Object.assign({},e[r][1].start),end:Object.assign({},e[o][1].end)},l={type:"labelText",start:Object.assign({},e[r+a+2][1].end),end:Object.assign({},e[o-2][1].start)};return i=[["enter",u,t],["enter",c,t]],i=Ne(i,e.slice(r+1,r+a+3)),i=Ne(i,[["enter",l,t]]),i=Ne(i,pt(t.parser.constructs.insideSpan.null,e.slice(r+a+4,o-3),t)),i=Ne(i,[["exit",l,t],e[o-2],e[o-1],["exit",c,t]]),i=Ne(i,e.slice(o+1)),i=Ne(i,[["exit",u,t]]),Ie(e,r,e.length,i),e},resolveAll:function(e){let t=-1;for(;++t<e.length;){const n=e[t][1];"labelImage"!==n.type&&"labelLink"!==n.type&&"labelEnd"!==n.type||(e.splice(t+1,"labelImage"===n.type?4:2),n.type="data",t++)}return e}},Qt={tokenize:function(e,t,n){return function(t){return e.enter("resource"),e.enter("resourceMarker"),e.consume(t),e.exit("resourceMarker"),r};function r(t){return We(t)?xt(e,o)(t):o(t)}function o(t){return 41===t?c(t):wt(e,i,s,"resourceDestination","resourceDestinationLiteral","resourceDestinationLiteralMarker","resourceDestinationRaw","resourceDestinationString",32)(t)}function i(t){return We(t)?xt(e,a)(t):c(t)}function s(e){return n(e)}function a(t){return 34===t||39===t||40===t?kt(e,u,n,"resourceTitle","resourceTitleMarker","resourceTitleString")(t):c(t)}function u(t){return We(t)?xt(e,c)(t):c(t)}function c(r){return 41===r?(e.enter("resourceMarker"),e.consume(r),e.exit("resourceMarker"),e.exit("resource"),t):n(r)}}},Xt={tokenize:function(e,t,n){const r=this;return function(t){return Et.call(r,e,o,i,"reference","referenceMarker","referenceString")(t)};function o(e){return r.parser.defined.includes(Dt(r.sliceSerialize(r.events[r.events.length-1][1]).slice(1,-1)))?t(e):n(e)}function i(e){return n(e)}}},Ht={tokenize:function(e,t,n){return function(t){return e.enter("reference"),e.enter("referenceMarker"),e.consume(t),e.exit("referenceMarker"),r};function r(r){return 93===r?(e.enter("referenceMarker"),e.consume(r),e.exit("referenceMarker"),e.exit("reference"),t):n(r)}}};const Kt={name:"labelStartImage",tokenize:function(e,t,n){const r=this;return function(t){return e.enter("labelImage"),e.enter("labelImageMarker"),e.consume(t),e.exit("labelImageMarker"),o};function o(t){return 91===t?(e.enter("labelMarker"),e.consume(t),e.exit("labelMarker"),e.exit("labelImage"),i):n(t)}function i(e){return 94===e&&"_hiddenFootnoteSupport"in r.parser.constructs?n(e):t(e)}},resolveAll:Vt.resolveAll};function Jt(e){return null===e||We(e)||Ze(e)?1:function(e){return Ke(e)||ze(e)}(e)?2:void 0}const Wt={name:"attention",tokenize:function(e,t){const n=this.parser.constructs.attentionMarkers.null,r=this.previous,o=Jt(r);let i;return function(t){return i=t,e.enter("attentionSequence"),s(t)};function s(a){if(a===i)return e.consume(a),s;const u=e.exit("attentionSequence"),c=Jt(a),l=!c||2===c&&o||n.includes(a),f=!o||2===o&&c||n.includes(r);return u._open=Boolean(42===i?l:l&&(o||!f)),u._close=Boolean(42===i?f:f&&(c||!l)),t(a)}},resolveAll:function(e,t){let n,r,o,i,s,a,u,c,l=-1;for(;++l<e.length;)if("enter"===e[l][0]&&"attentionSequence"===e[l][1].type&&e[l][1]._close)for(n=l;n--;)if("exit"===e[n][0]&&"attentionSequence"===e[n][1].type&&e[n][1]._open&&t.sliceSerialize(e[n][1]).charCodeAt(0)===t.sliceSerialize(e[l][1]).charCodeAt(0)){if((e[n][1]._close||e[l][1]._open)&&(e[l][1].end.offset-e[l][1].start.offset)%3&&!((e[n][1].end.offset-e[n][1].start.offset+e[l][1].end.offset-e[l][1].start.offset)%3))continue;a=e[n][1].end.offset-e[n][1].start.offset>1&&e[l][1].end.offset-e[l][1].start.offset>1?2:1;const f=Object.assign({},e[n][1].end),d=Object.assign({},e[l][1].start);Gt(f,-a),Gt(d,a),i={type:a>1?"strongSequence":"emphasisSequence",start:f,end:Object.assign({},e[n][1].end)},s={type:a>1?"strongSequence":"emphasisSequence",start:Object.assign({},e[l][1].start),end:d},o={type:a>1?"strongText":"emphasisText",start:Object.assign({},e[n][1].end),end:Object.assign({},e[l][1].start)},r={type:a>1?"strong":"emphasis",start:Object.assign({},i.start),end:Object.assign({},s.end)},e[n][1].end=Object.assign({},i.start),e[l][1].start=Object.assign({},s.end),u=[],e[n][1].end.offset-e[n][1].start.offset&&(u=Ne(u,[["enter",e[n][1],t],["exit",e[n][1],t]])),u=Ne(u,[["enter",r,t],["enter",i,t],["exit",i,t],["enter",o,t]]),u=Ne(u,pt(t.parser.constructs.insideSpan.null,e.slice(n+1,l),t)),u=Ne(u,[["exit",o,t],["enter",s,t],["exit",s,t],["exit",r,t]]),e[l][1].end.offset-e[l][1].start.offset?(c=2,u=Ne(u,[["enter",e[l][1],t],["exit",e[l][1],t]])):c=0,Ie(e,n-1,l-n+3,u),l=n+u.length-c-2;break}l=-1;for(;++l<e.length;)"attentionSequence"===e[l][1].type&&(e[l][1].type="data");return e}};function Gt(e,t){e.column+=t,e.offset+=t,e._bufferIndex+=t}const Zt={name:"autolink",tokenize:function(e,t,n){let r=0;return function(t){return e.enter("autolink"),e.enter("autolinkMarker"),e.consume(t),e.exit("autolinkMarker"),e.enter("autolinkProtocol"),o};function o(t){return Ue(t)?(e.consume(t),i):u(t)}function i(e){return 43===e||45===e||46===e||qe(e)?(r=1,s(e)):u(e)}function s(t){return 58===t?(e.consume(t),r=0,a):(43===t||45===t||46===t||qe(t))&&r++<32?(e.consume(t),s):(r=0,u(t))}function a(r){return 62===r?(e.exit("autolinkProtocol"),e.enter("autolinkMarker"),e.consume(r),e.exit("autolinkMarker"),e.exit("autolink"),t):null===r||32===r||60===r||Qe(r)?n(r):(e.consume(r),a)}function u(t){return 64===t?(e.consume(t),c):Ve(t)?(e.consume(t),u):n(t)}function c(e){return qe(e)?l(e):n(e)}function l(n){return 46===n?(e.consume(n),r=0,c):62===n?(e.exit("autolinkProtocol").type="autolinkEmail",e.enter("autolinkMarker"),e.consume(n),e.exit("autolinkMarker"),e.exit("autolink"),t):f(n)}function f(t){if((45===t||qe(t))&&r++<63){const n=45===t?f:l;return e.consume(t),n}return n(t)}}};const Yt={name:"htmlText",tokenize:function(e,t,n){const r=this;let o,i,s;return function(t){return e.enter("htmlText"),e.enter("htmlTextData"),e.consume(t),a};function a(t){return 33===t?(e.consume(t),u):47===t?(e.consume(t),_):63===t?(e.consume(t),v):Ue(t)?(e.consume(t),k):n(t)}function u(t){return 45===t?(e.consume(t),c):91===t?(e.consume(t),i=0,h):Ue(t)?(e.consume(t),y):n(t)}function c(t){return 45===t?(e.consume(t),d):n(t)}function l(t){return null===t?n(t):45===t?(e.consume(t),f):Je(t)?(s=l,j(t)):(e.consume(t),l)}function f(t){return 45===t?(e.consume(t),d):l(t)}function d(e){return 62===e?P(e):45===e?f(e):l(e)}function h(t){const r="CDATA[";return t===r.charCodeAt(i++)?(e.consume(t),6===i?p:h):n(t)}function p(t){return null===t?n(t):93===t?(e.consume(t),m):Je(t)?(s=p,j(t)):(e.consume(t),p)}function m(t){return 93===t?(e.consume(t),g):p(t)}function g(t){return 62===t?P(t):93===t?(e.consume(t),g):p(t)}function y(t){return null===t||62===t?P(t):Je(t)?(s=y,j(t)):(e.consume(t),y)}function v(t){return null===t?n(t):63===t?(e.consume(t),b):Je(t)?(s=v,j(t)):(e.consume(t),v)}function b(e){return 62===e?P(e):v(e)}function _(t){return Ue(t)?(e.consume(t),w):n(t)}function w(t){return 45===t||qe(t)?(e.consume(t),w):E(t)}function E(t){return Je(t)?(s=E,j(t)):Ge(t)?(e.consume(t),E):P(t)}function k(t){return 45===t||qe(t)?(e.consume(t),k):47===t||62===t||We(t)?x(t):n(t)}function x(t){return 47===t?(e.consume(t),P):58===t||95===t||Ue(t)?(e.consume(t),D):Je(t)?(s=x,j(t)):Ge(t)?(e.consume(t),x):P(t)}function D(t){return 45===t||46===t||58===t||95===t||qe(t)?(e.consume(t),D):S(t)}function S(t){return 61===t?(e.consume(t),C):Je(t)?(s=S,j(t)):Ge(t)?(e.consume(t),S):x(t)}function C(t){return null===t||60===t||61===t||62===t||96===t?n(t):34===t||39===t?(e.consume(t),o=t,O):Je(t)?(s=C,j(t)):Ge(t)?(e.consume(t),C):(e.consume(t),$)}function O(t){return t===o?(e.consume(t),o=void 0,A):null===t?n(t):Je(t)?(s=O,j(t)):(e.consume(t),O)}function $(t){return null===t||34===t||39===t||60===t||61===t||96===t?n(t):47===t||62===t||We(t)?x(t):(e.consume(t),$)}function A(e){return 47===e||62===e||We(e)?x(e):n(e)}function P(r){return 62===r?(e.consume(r),e.exit("htmlTextData"),e.exit("htmlText"),t):n(r)}function j(t){return e.exit("htmlTextData"),e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),F}function F(t){return Ge(t)?et(e,I,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(t):I(t)}function I(t){return e.enter("htmlTextData"),s(t)}}};const en={name:"labelStartLink",tokenize:function(e,t,n){const r=this;return function(t){return e.enter("labelLink"),e.enter("labelMarker"),e.consume(t),e.exit("labelMarker"),e.exit("labelLink"),o};function o(e){return 94===e&&"_hiddenFootnoteSupport"in r.parser.constructs?n(e):t(e)}},resolveAll:Vt.resolveAll};const tn={name:"hardBreakEscape",tokenize:function(e,t,n){return function(t){return e.enter("hardBreakEscape"),e.consume(t),r};function r(r){return Je(r)?(e.exit("hardBreakEscape"),t(r)):n(r)}}};const nn={name:"codeText",tokenize:function(e,t,n){let r,o,i=0;return function(t){return e.enter("codeText"),e.enter("codeTextSequence"),s(t)};function s(t){return 96===t?(e.consume(t),i++,s):(e.exit("codeTextSequence"),a(t))}function a(t){return null===t?n(t):32===t?(e.enter("space"),e.consume(t),e.exit("space"),a):96===t?(o=e.enter("codeTextSequence"),r=0,c(t)):Je(t)?(e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),a):(e.enter("codeTextData"),u(t))}function u(t){return null===t||32===t||96===t||Je(t)?(e.exit("codeTextData"),a(t)):(e.consume(t),u)}function c(n){return 96===n?(e.consume(n),r++,c):r===i?(e.exit("codeTextSequence"),e.exit("codeText"),t(n)):(o.type="codeTextData",u(n))}},resolve:function(e){let t,n,r=e.length-4,o=3;if(!("lineEnding"!==e[o][1].type&&"space"!==e[o][1].type||"lineEnding"!==e[r][1].type&&"space"!==e[r][1].type))for(t=o;++t<r;)if("codeTextData"===e[t][1].type){e[o][1].type="codeTextPadding",e[r][1].type="codeTextPadding",o+=2,r-=2;break}t=o-1,r++;for(;++t<=r;)void 0===n?t!==r&&"lineEnding"!==e[t][1].type&&(n=t):t!==r&&"lineEnding"!==e[t][1].type||(e[n][1].type="codeTextData",t!==n+2&&(e[n][1].end=e[t-1][1].end,e.splice(n+2,t-n-2),r-=t-n-2,t=n+2),n=void 0);return e},previous:function(e){return 96!==e||"characterEscape"===this.events[this.events.length-1][1].type}};const rn={42:yt,43:yt,45:yt,48:yt,49:yt,50:yt,51:yt,52:yt,53:yt,54:yt,55:yt,56:yt,57:yt,62:_t},on={91:St},sn={[-2]:Ot,[-1]:Ot,32:Ot},an={35:At,42:gt,45:[Pt,gt],60:It,61:Pt,95:gt,96:Rt,126:Rt},un={38:zt,92:Ut},cn={[-5]:qt,[-4]:qt,[-3]:qt,33:Kt,38:zt,42:Wt,60:[Zt,Yt],91:en,92:[tn,Ut],93:Vt,95:Wt,96:nn},ln={null:[Wt,ut]},fn={null:[42,95]},dn={null:[]};function hn(e){const t=function(e){const t={};let n=-1;for(;++n<e.length;)Be(t,e[n]);return t}([o,...(e||{}).extensions||[]]),n={defined:[],lazy:{},constructs:t,content:r(tt),document:r(nt),flow:r(at),string:r(ct),text:r(lt)};return n;function r(e){return function(t){return mt(n,e,t)}}}const pn=/[\0\t\n\r]/g;function mn(e,t){const n=Number.parseInt(e,t);return n<9||11===n||n>13&&n<32||n>126&&n<160||n>55295&&n<57344||n>64975&&n<65008||65535==(65535&n)||65534==(65535&n)||n>1114111?"\ufffd":String.fromCodePoint(n)}const gn=/\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi;function yn(e,t,n){if(t)return t;if(35===n.charCodeAt(0)){const e=n.charCodeAt(1),t=120===e||88===e;return mn(n.slice(t?2:1),t?16:10)}return Lt(n)||e}const vn={}.hasOwnProperty;function bn(e,t,n){return"string"!=typeof t&&(n=t,t=void 0),function(e){const t={transforms:[],canContainEols:["emphasis","fragment","heading","paragraph","strong"],enter:{autolink:i(ee),autolinkProtocol:D,autolinkEmail:D,atxHeading:i(W),blockQuote:i(Q),characterEscape:D,characterReference:D,codeFenced:i(X),codeFencedFenceInfo:s,codeFencedFenceMeta:s,codeIndented:i(X,s),codeText:i(H,s),codeTextData:D,data:D,codeFlowValue:D,definition:i(K),definitionDestinationString:s,definitionLabelString:s,definitionTitleString:s,emphasis:i(J),hardBreakEscape:i(G),hardBreakTrailing:i(G),htmlFlow:i(Z,s),htmlFlowData:D,htmlText:i(Z,s),htmlTextData:D,image:i(Y),label:s,link:i(ee),listItem:i(ne),listItemValue:d,listOrdered:i(te,f),listUnordered:i(te),paragraph:i(re),reference:B,referenceString:s,resourceDestinationString:s,resourceTitleString:s,setextHeading:i(W),strong:i(oe),thematicBreak:i(ae)},exit:{atxHeading:u(),atxHeadingSequence:w,autolink:u(),autolinkEmail:V,autolinkProtocol:q,blockQuote:u(),characterEscapeValue:S,characterReferenceMarkerHexadecimal:z,characterReferenceMarkerNumeric:z,characterReferenceValue:U,codeFenced:u(g),codeFencedFence:m,codeFencedFenceInfo:h,codeFencedFenceMeta:p,codeFlowValue:S,codeIndented:u(y),codeText:u(P),codeTextData:S,data:S,definition:u(),definitionDestinationString:_,definitionLabelString:v,definitionTitleString:b,emphasis:u(),hardBreakEscape:u(O),hardBreakTrailing:u(O),htmlFlow:u($),htmlFlowData:S,htmlText:u(A),htmlTextData:S,image:u(F),label:N,labelText:I,lineEnding:C,link:u(j),listItem:u(),listOrdered:u(),listUnordered:u(),paragraph:u(),referenceString:L,resourceDestinationString:T,resourceTitleString:M,resource:R,setextHeading:u(x),setextHeadingLineSequence:k,setextHeadingText:E,strong:u(),thematicBreak:u()}};wn(t,(e||{}).mdastExtensions||[]);const n={};return r;function r(e){let r={type:"root",children:[]};const i={stack:[r],tokenStack:[],config:t,enter:a,exit:c,buffer:s,resume:l,data:n},u=[];let f=-1;for(;++f<e.length;)if("listOrdered"===e[f][1].type||"listUnordered"===e[f][1].type)if("enter"===e[f][0])u.push(f);else{f=o(e,u.pop(),f)}for(f=-1;++f<e.length;){const n=t[e[f][0]];vn.call(n,e[f][1].type)&&n[e[f][1].type].call(Object.assign({sliceSerialize:e[f][2].sliceSerialize},i),e[f][1])}if(i.tokenStack.length>0){const e=i.tokenStack[i.tokenStack.length-1];(e[1]||kn).call(i,void 0,e[0])}for(r.position={start:_n(e.length>0?e[0][1].start:{line:1,column:1,offset:0}),end:_n(e.length>0?e[e.length-2][1].end:{line:1,column:1,offset:0})},f=-1;++f<t.transforms.length;)r=t.transforms[f](r)||r;return r}function o(e,t,n){let r,o,i,s,a=t-1,u=-1,c=!1;for(;++a<=n;){const t=e[a];switch(t[1].type){case"listUnordered":case"listOrdered":case"blockQuote":"enter"===t[0]?u++:u--,s=void 0;break;case"lineEndingBlank":"enter"===t[0]&&(!r||s||u||i||(i=a),s=void 0);break;case"linePrefix":case"listItemValue":case"listItemMarker":case"listItemPrefix":case"listItemPrefixWhitespace":break;default:s=void 0}if(!u&&"enter"===t[0]&&"listItemPrefix"===t[1].type||-1===u&&"exit"===t[0]&&("listUnordered"===t[1].type||"listOrdered"===t[1].type)){if(r){let s=a;for(o=void 0;s--;){const t=e[s];if("lineEnding"===t[1].type||"lineEndingBlank"===t[1].type){if("exit"===t[0])continue;o&&(e[o][1].type="lineEndingBlank",c=!0),t[1].type="lineEnding",o=s}else if("linePrefix"!==t[1].type&&"blockQuotePrefix"!==t[1].type&&"blockQuotePrefixWhitespace"!==t[1].type&&"blockQuoteMarker"!==t[1].type&&"listItemIndent"!==t[1].type)break}i&&(!o||i<o)&&(r._spread=!0),r.end=Object.assign({},o?e[o][1].start:t[1].end),e.splice(o||a,0,["exit",r,t[2]]),a++,n++}if("listItemPrefix"===t[1].type){const o={type:"listItem",_spread:!1,start:Object.assign({},t[1].start),end:void 0};r=o,e.splice(a,0,["enter",o,t[2]]),a++,n++,i=void 0,s=!0}}}return e[t][1]._spread=c,n}function i(e,t){return n;function n(n){a.call(this,e(n),n),t&&t.call(this,n)}}function s(){this.stack.push({type:"fragment",children:[]})}function a(e,t,n){this.stack[this.stack.length-1].children.push(e),this.stack.push(e),this.tokenStack.push([t,n]),e.position={start:_n(t.start),end:void 0}}function u(e){return t;function t(t){e&&e.call(this,t),c.call(this,t)}}function c(e,t){const n=this.stack.pop(),r=this.tokenStack.pop();if(!r)throw new Error("Cannot close `"+e.type+"` ("+se({start:e.start,end:e.end})+"): it\u2019s not open");if(r[0].type!==e.type)if(t)t.call(this,e,r[0]);else{(r[1]||kn).call(this,e,r[0])}n.position.end=_n(e.end)}function l(){return function(e,t){const n=t||Pe;return je(e,"boolean"!=typeof n.includeImageAlt||n.includeImageAlt,"boolean"!=typeof n.includeHtml||n.includeHtml)}(this.stack.pop())}function f(){this.data.expectingFirstListItemValue=!0}function d(e){if(this.data.expectingFirstListItemValue){this.stack[this.stack.length-2].start=Number.parseInt(this.sliceSerialize(e),10),this.data.expectingFirstListItemValue=void 0}}function h(){const e=this.resume();this.stack[this.stack.length-1].lang=e}function p(){const e=this.resume();this.stack[this.stack.length-1].meta=e}function m(){this.data.flowCodeInside||(this.buffer(),this.data.flowCodeInside=!0)}function g(){const e=this.resume();this.stack[this.stack.length-1].value=e.replace(/^(\r?\n|\r)|(\r?\n|\r)$/g,""),this.data.flowCodeInside=void 0}function y(){const e=this.resume();this.stack[this.stack.length-1].value=e.replace(/(\r?\n|\r)$/g,"")}function v(e){const t=this.resume(),n=this.stack[this.stack.length-1];n.label=t,n.identifier=Dt(this.sliceSerialize(e)).toLowerCase()}function b(){const e=this.resume();this.stack[this.stack.length-1].title=e}function _(){const e=this.resume();this.stack[this.stack.length-1].url=e}function w(e){const t=this.stack[this.stack.length-1];if(!t.depth){const n=this.sliceSerialize(e).length;t.depth=n}}function E(){this.data.setextHeadingSlurpLineEnding=!0}function k(e){this.stack[this.stack.length-1].depth=61===this.sliceSerialize(e).codePointAt(0)?1:2}function x(){this.data.setextHeadingSlurpLineEnding=void 0}function D(e){const t=this.stack[this.stack.length-1].children;let n=t[t.length-1];n&&"text"===n.type||(n=ie(),n.position={start:_n(e.start),end:void 0},t.push(n)),this.stack.push(n)}function S(e){const t=this.stack.pop();t.value+=this.sliceSerialize(e),t.position.end=_n(e.end)}function C(e){const n=this.stack[this.stack.length-1];if(this.data.atHardBreak){return n.children[n.children.length-1].position.end=_n(e.end),void(this.data.atHardBreak=void 0)}!this.data.setextHeadingSlurpLineEnding&&t.canContainEols.includes(n.type)&&(D.call(this,e),S.call(this,e))}function O(){this.data.atHardBreak=!0}function $(){const e=this.resume();this.stack[this.stack.length-1].value=e}function A(){const e=this.resume();this.stack[this.stack.length-1].value=e}function P(){const e=this.resume();this.stack[this.stack.length-1].value=e}function j(){const e=this.stack[this.stack.length-1];if(this.data.inReference){const t=this.data.referenceType||"shortcut";e.type+="Reference",e.referenceType=t,delete e.url,delete e.title}else delete e.identifier,delete e.label;this.data.referenceType=void 0}function F(){const e=this.stack[this.stack.length-1];if(this.data.inReference){const t=this.data.referenceType||"shortcut";e.type+="Reference",e.referenceType=t,delete e.url,delete e.title}else delete e.identifier,delete e.label;this.data.referenceType=void 0}function I(e){const t=this.sliceSerialize(e),n=this.stack[this.stack.length-2];n.label=function(e){return e.replace(gn,yn)}(t),n.identifier=Dt(t).toLowerCase()}function N(){const e=this.stack[this.stack.length-1],t=this.resume(),n=this.stack[this.stack.length-1];if(this.data.inReference=!0,"link"===n.type){const t=e.children;n.children=t}else n.alt=t}function T(){const e=this.resume();this.stack[this.stack.length-1].url=e}function M(){const e=this.resume();this.stack[this.stack.length-1].title=e}function R(){this.data.inReference=void 0}function B(){this.data.referenceType="collapsed"}function L(e){const t=this.resume(),n=this.stack[this.stack.length-1];n.label=t,n.identifier=Dt(this.sliceSerialize(e)).toLowerCase(),this.data.referenceType="full"}function z(e){this.data.characterReferenceType=e.type}function U(e){const t=this.sliceSerialize(e),n=this.data.characterReferenceType;let r;if(n)r=mn(t,"characterReferenceMarkerNumeric"===n?10:16),this.data.characterReferenceType=void 0;else{r=Lt(t)}const o=this.stack.pop();o.value+=r,o.position.end=_n(e.end)}function q(e){S.call(this,e);this.stack[this.stack.length-1].url=this.sliceSerialize(e)}function V(e){S.call(this,e);this.stack[this.stack.length-1].url="mailto:"+this.sliceSerialize(e)}function Q(){return{type:"blockquote",children:[]}}function X(){return{type:"code",lang:null,meta:null,value:""}}function H(){return{type:"inlineCode",value:""}}function K(){return{type:"definition",identifier:"",label:null,title:null,url:""}}function J(){return{type:"emphasis",children:[]}}function W(){return{type:"heading",depth:0,children:[]}}function G(){return{type:"break"}}function Z(){return{type:"html",value:""}}function Y(){return{type:"image",title:null,url:"",alt:null}}function ee(){return{type:"link",title:null,url:"",children:[]}}function te(e){return{type:"list",ordered:"listOrdered"===e.type,start:null,spread:e._spread,children:[]}}function ne(e){return{type:"listItem",spread:e._spread,checked:null,children:[]}}function re(){return{type:"paragraph",children:[]}}function oe(){return{type:"strong",children:[]}}function ie(){return{type:"text",value:""}}function ae(){return{type:"thematicBreak"}}}(n)(function(e){for(;!Te(e););return e}(hn(n).document().write(function(){let e,t=1,n="",r=!0;return function(o,i,s){const a=[];let u,c,l,f,d;for(o=n+("string"==typeof o?o.toString():new TextDecoder(i||void 0).decode(o)),l=0,n="",r&&(65279===o.charCodeAt(0)&&l++,r=void 0);l<o.length;){if(pn.lastIndex=l,u=pn.exec(o),f=u&&void 0!==u.index?u.index:o.length,d=o.charCodeAt(f),!u){n=o.slice(l);break}if(10===d&&l===f&&e)a.push(-3),e=void 0;else switch(e&&(a.push(-5),e=void 0),l<f&&(a.push(o.slice(l,f)),t+=f-l),d){case 0:a.push(65533),t++;break;case 9:for(c=4*Math.ceil(t/4),a.push(-2);t++<c;)a.push(-1);break;case 10:a.push(-4),t=1;break;default:e=!0,t=1}l=f+1}return s&&(e&&a.push(-5),n&&a.push(n),a.push(null)),a}}()(e,t,!0))))}function _n(e){return{line:e.line,column:e.column,offset:e.offset}}function wn(e,t){let n=-1;for(;++n<t.length;){const r=t[n];Array.isArray(r)?wn(e,r):En(e,r)}}function En(e,t){let n;for(n in t)if(vn.call(t,n))switch(n){case"canContainEols":{const r=t[n];r&&e[n].push(...r);break}case"transforms":{const r=t[n];r&&e[n].push(...r);break}case"enter":case"exit":{const r=t[n];r&&Object.assign(e[n],r);break}}}function kn(e,t){throw e?new Error("Cannot close `"+e.type+"` ("+se({start:e.start,end:e.end})+"): a different token (`"+t.type+"`, "+se({start:t.start,end:t.end})+") is open"):new Error("Cannot close document, a token (`"+t.type+"`, "+se({start:t.start,end:t.end})+") is still open")}function xn(e){const t=this;t.parser=function(n){return bn(n,{...t.data("settings"),...e,extensions:t.data("micromarkExtensions")||[],mdastExtensions:t.data("fromMarkdownExtensions")||[]})}}const Dn="object"==typeof self?self:globalThis,Sn=e=>((e,t)=>{const n=(t,n)=>(e.set(n,t),t),r=o=>{if(e.has(o))return e.get(o);const[i,s]=t[o];switch(i){case 0:case-1:return n(s,o);case 1:{const e=n([],o);for(const t of s)e.push(r(t));return e}case 2:{const e=n({},o);for(const[t,n]of s)e[r(t)]=r(n);return e}case 3:return n(new Date(s),o);case 4:{const{source:e,flags:t}=s;return n(new RegExp(e,t),o)}case 5:{const e=n(new Map,o);for(const[t,n]of s)e.set(r(t),r(n));return e}case 6:{const e=n(new Set,o);for(const t of s)e.add(r(t));return e}case 7:{const{name:e,message:t}=s;return n(new Dn[e](t),o)}case 8:return n(BigInt(s),o);case"BigInt":return n(Object(BigInt(s)),o)}return n(new Dn[i](s),o)};return r})(new Map,e)(0),Cn="",{toString:On}={},{keys:$n}=Object,An=e=>{const t=typeof e;if("object"!==t||!e)return[0,t];const n=On.call(e).slice(8,-1);switch(n){case"Array":return[1,Cn];case"Object":return[2,Cn];case"Date":return[3,Cn];case"RegExp":return[4,Cn];case"Map":return[5,Cn];case"Set":return[6,Cn]}return n.includes("Array")?[1,n]:n.includes("Error")?[7,n]:[2,n]},Pn=([e,t])=>0===e&&("function"===t||"symbol"===t),jn=(e,{json:t,lossy:n}={})=>{const r=[];return((e,t,n,r)=>{const o=(e,t)=>{const o=r.push(e)-1;return n.set(t,o),o},i=r=>{if(n.has(r))return n.get(r);let[s,a]=An(r);switch(s){case 0:{let t=r;switch(a){case"bigint":s=8,t=r.toString();break;case"function":case"symbol":if(e)throw new TypeError("unable to serialize "+a);t=null;break;case"undefined":return o([-1],r)}return o([s,t],r)}case 1:{if(a)return o([a,[...r]],r);const e=[],t=o([s,e],r);for(const n of r)e.push(i(n));return t}case 2:{if(a)switch(a){case"BigInt":return o([a,r.toString()],r);case"Boolean":case"Number":case"String":return o([a,r.valueOf()],r)}if(t&&"toJSON"in r)return i(r.toJSON());const n=[],u=o([s,n],r);for(const t of $n(r))!e&&Pn(An(r[t]))||n.push([i(t),i(r[t])]);return u}case 3:return o([s,r.toISOString()],r);case 4:{const{source:e,flags:t}=r;return o([s,{source:e,flags:t}],r)}case 5:{const t=[],n=o([s,t],r);for(const[o,s]of r)(e||!Pn(An(o))&&!Pn(An(s)))&&t.push([i(o),i(s)]);return n}case 6:{const t=[],n=o([s,t],r);for(const o of r)!e&&Pn(An(o))||t.push(i(o));return n}}const{message:u}=r;return o([s,{name:a,message:u}],r)};return i})(!(t||n),!!t,new Map,r)(e),r},Fn="function"==typeof structuredClone?(e,t)=>t&&("json"in t||"lossy"in t)?Sn(jn(e,t)):structuredClone(e):(e,t)=>Sn(jn(e,t));function In(e){const t=[];let n=-1,r=0,o=0;for(;++n<e.length;){const i=e.charCodeAt(n);let s="";if(37===i&&qe(e.charCodeAt(n+1))&&qe(e.charCodeAt(n+2)))o=2;else if(i<128)/[!#$&-;=?-Z_a-z~]/.test(String.fromCharCode(i))||(s=String.fromCharCode(i));else if(i>55295&&i<57344){const t=e.charCodeAt(n+1);i<56320&&t>56319&&t<57344?(s=String.fromCharCode(i,t),o=1):s="\ufffd"}else s=String.fromCharCode(i);s&&(t.push(e.slice(r,n),encodeURIComponent(s)),r=n+o+1,s=""),o&&(n+=o,o=0)}return t.join("")+e.slice(r)}function Nn(e,t){const n=[{type:"text",value:"\u21a9"}];return t>1&&n.push({type:"element",tagName:"sup",properties:{},children:[{type:"text",value:String(t)}]}),n}function Tn(e,t){return"Back to reference "+(e+1)+(t>1?"-"+t:"")}const Mn=function(e){if(null==e)return Bn;if("function"==typeof e)return Rn(e);if("object"==typeof e)return Array.isArray(e)?function(e){const t=[];let n=-1;for(;++n<e.length;)t[n]=Mn(e[n]);return Rn(r);function r(...e){let n=-1;for(;++n<t.length;)if(t[n].apply(this,e))return!0;return!1}}(e):function(e){const t=e;return Rn(n);function n(n){const r=n;let o;for(o in e)if(r[o]!==t[o])return!1;return!0}}(e);if("string"==typeof e)return function(e){return Rn(t);function t(t){return t&&t.type===e}}(e);throw new Error("Expected function, string, or object as test")};function Rn(e){return function(t,n,r){return Boolean(Ln(t)&&e.call(this,t,"number"==typeof n?n:void 0,r||void 0))}}function Bn(){return!0}function Ln(e){return null!==e&&"object"==typeof e&&"type"in e}const zn=[],Un=!0,qn=!1,Vn="skip";function Qn(e,t,n,r){let o;"function"==typeof t&&"function"!=typeof n?(r=n,n=t):o=t;const i=Mn(o),s=r?-1:1;!function e(o,a,u){const c=o&&"object"==typeof o?o:{};if("string"==typeof c.type){const e="string"==typeof c.tagName?c.tagName:"string"==typeof c.name?c.name:void 0;Object.defineProperty(l,"name",{value:"node ("+o.type+(e?"<"+e+">":"")+")"})}return l;function l(){let c,l,f,d=zn;if((!t||i(o,a,u[u.length-1]||void 0))&&(d=function(e){if(Array.isArray(e))return e;if("number"==typeof e)return[Un,e];return null==e?zn:[e]}(n(o,u)),d[0]===qn))return d;if("children"in o&&o.children){const t=o;if(t.children&&d[0]!==Vn)for(l=(r?t.children.length:-1)+s,f=u.concat(t);l>-1&&l<t.children.length;){const n=t.children[l];if(c=e(n,l,f)(),c[0]===qn)return c;l="number"==typeof c[1]?c[1]:l+s}}return d}}(e,void 0,[])()}function Xn(e,t,n,r){let o,i,s;"function"==typeof t&&"function"!=typeof n?(i=void 0,s=t,o=n):(i=t,s=n,o=r),Qn(e,i,(function(e,t){const n=t[t.length-1],r=n?n.children.indexOf(e):void 0;return s(e,r,n)}),o)}function Hn(e,t){const n=t.referenceType;let r="]";if("collapsed"===n?r+="[]":"full"===n&&(r+="["+(t.label||t.identifier)+"]"),"imageReference"===t.type)return[{type:"text",value:"!["+t.alt+r}];const o=e.all(t),i=o[0];i&&"text"===i.type?i.value="["+i.value:o.unshift({type:"text",value:"["});const s=o[o.length-1];return s&&"text"===s.type?s.value+=r:o.push({type:"text",value:r}),o}function Kn(e){const t=e.spread;return null==t?e.children.length>1:t}const Jn=9,Wn=32;function Gn(e){const t=String(e),n=/\r?\n|\r/g;let r=n.exec(t),o=0;const i=[];for(;r;)i.push(Zn(t.slice(o,r.index),o>0,!0),r[0]),o=r.index+r[0].length,r=n.exec(t);return i.push(Zn(t.slice(o),o>0,!1)),i.join("")}function Zn(e,t,n){let r=0,o=e.length;if(t){let t=e.codePointAt(r);for(;t===Jn||t===Wn;)r++,t=e.codePointAt(r)}if(n){let t=e.codePointAt(o-1);for(;t===Jn||t===Wn;)o--,t=e.codePointAt(o-1)}return o>r?e.slice(r,o):""}const Yn={blockquote:function(e,t){const n={type:"element",tagName:"blockquote",properties:{},children:e.wrap(e.all(t),!0)};return e.patch(t,n),e.applyData(t,n)},break:function(e,t){const n={type:"element",tagName:"br",properties:{},children:[]};return e.patch(t,n),[e.applyData(t,n),{type:"text",value:"\n"}]},code:function(e,t){const n=t.value?t.value+"\n":"",r={};t.lang&&(r.className=["language-"+t.lang]);let o={type:"element",tagName:"code",properties:r,children:[{type:"text",value:n}]};return t.meta&&(o.data={meta:t.meta}),e.patch(t,o),o=e.applyData(t,o),o={type:"element",tagName:"pre",properties:{},children:[o]},e.patch(t,o),o},delete:function(e,t){const n={type:"element",tagName:"del",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)},emphasis:function(e,t){const n={type:"element",tagName:"em",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)},footnoteReference:function(e,t){const n="string"==typeof e.options.clobberPrefix?e.options.clobberPrefix:"user-content-",r=String(t.identifier).toUpperCase(),o=In(r.toLowerCase()),i=e.footnoteOrder.indexOf(r);let s,a=e.footnoteCounts.get(r);void 0===a?(a=0,e.footnoteOrder.push(r),s=e.footnoteOrder.length):s=i+1,a+=1,e.footnoteCounts.set(r,a);const u={type:"element",tagName:"a",properties:{href:"#"+n+"fn-"+o,id:n+"fnref-"+o+(a>1?"-"+a:""),dataFootnoteRef:!0,ariaDescribedBy:["footnote-label"]},children:[{type:"text",value:String(s)}]};e.patch(t,u);const c={type:"element",tagName:"sup",properties:{},children:[u]};return e.patch(t,c),e.applyData(t,c)},heading:function(e,t){const n={type:"element",tagName:"h"+t.depth,properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)},html:function(e,t){if(e.options.allowDangerousHtml){const n={type:"raw",value:t.value};return e.patch(t,n),e.applyData(t,n)}},imageReference:function(e,t){const n=String(t.identifier).toUpperCase(),r=e.definitionById.get(n);if(!r)return Hn(e,t);const o={src:In(r.url||""),alt:t.alt};null!==r.title&&void 0!==r.title&&(o.title=r.title);const i={type:"element",tagName:"img",properties:o,children:[]};return e.patch(t,i),e.applyData(t,i)},image:function(e,t){const n={src:In(t.url)};null!==t.alt&&void 0!==t.alt&&(n.alt=t.alt),null!==t.title&&void 0!==t.title&&(n.title=t.title);const r={type:"element",tagName:"img",properties:n,children:[]};return e.patch(t,r),e.applyData(t,r)},inlineCode:function(e,t){const n={type:"text",value:t.value.replace(/\r?\n|\r/g," ")};e.patch(t,n);const r={type:"element",tagName:"code",properties:{},children:[n]};return e.patch(t,r),e.applyData(t,r)},linkReference:function(e,t){const n=String(t.identifier).toUpperCase(),r=e.definitionById.get(n);if(!r)return Hn(e,t);const o={href:In(r.url||"")};null!==r.title&&void 0!==r.title&&(o.title=r.title);const i={type:"element",tagName:"a",properties:o,children:e.all(t)};return e.patch(t,i),e.applyData(t,i)},link:function(e,t){const n={href:In(t.url)};null!==t.title&&void 0!==t.title&&(n.title=t.title);const r={type:"element",tagName:"a",properties:n,children:e.all(t)};return e.patch(t,r),e.applyData(t,r)},listItem:function(e,t,n){const r=e.all(t),o=n?function(e){let t=!1;if("list"===e.type){t=e.spread||!1;const n=e.children;let r=-1;for(;!t&&++r<n.length;)t=Kn(n[r])}return t}(n):Kn(t),i={},s=[];if("boolean"==typeof t.checked){const e=r[0];let n;e&&"element"===e.type&&"p"===e.tagName?n=e:(n={type:"element",tagName:"p",properties:{},children:[]},r.unshift(n)),n.children.length>0&&n.children.unshift({type:"text",value:" "}),n.children.unshift({type:"element",tagName:"input",properties:{type:"checkbox",checked:t.checked,disabled:!0},children:[]}),i.className=["task-list-item"]}let a=-1;for(;++a<r.length;){const e=r[a];(o||0!==a||"element"!==e.type||"p"!==e.tagName)&&s.push({type:"text",value:"\n"}),"element"!==e.type||"p"!==e.tagName||o?s.push(e):s.push(...e.children)}const u=r[r.length-1];u&&(o||"element"!==u.type||"p"!==u.tagName)&&s.push({type:"text",value:"\n"});const c={type:"element",tagName:"li",properties:i,children:s};return e.patch(t,c),e.applyData(t,c)},list:function(e,t){const n={},r=e.all(t);let o=-1;for("number"==typeof t.start&&1!==t.start&&(n.start=t.start);++o<r.length;){const e=r[o];if("element"===e.type&&"li"===e.tagName&&e.properties&&Array.isArray(e.properties.className)&&e.properties.className.includes("task-list-item")){n.className=["contains-task-list"];break}}const i={type:"element",tagName:t.ordered?"ol":"ul",properties:n,children:e.wrap(r,!0)};return e.patch(t,i),e.applyData(t,i)},paragraph:function(e,t){const n={type:"element",tagName:"p",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)},root:function(e,t){const n={type:"root",children:e.wrap(e.all(t))};return e.patch(t,n),e.applyData(t,n)},strong:function(e,t){const n={type:"element",tagName:"strong",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)},table:function(e,t){const n=e.all(t),r=n.shift(),o=[];if(r){const n={type:"element",tagName:"thead",properties:{},children:e.wrap([r],!0)};e.patch(t.children[0],n),o.push(n)}if(n.length>0){const r={type:"element",tagName:"tbody",properties:{},children:e.wrap(n,!0)},i=oe(t.children[1]),s=re(t.children[t.children.length-1]);i&&s&&(r.position={start:i,end:s}),o.push(r)}const i={type:"element",tagName:"table",properties:{},children:e.wrap(o,!0)};return e.patch(t,i),e.applyData(t,i)},tableCell:function(e,t){const n={type:"element",tagName:"td",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)},tableRow:function(e,t,n){const r=n?n.children:void 0,o=0===(r?r.indexOf(t):1)?"th":"td",i=n&&"table"===n.type?n.align:void 0,s=i?i.length:t.children.length;let a=-1;const u=[];for(;++a<s;){const n=t.children[a],r={},s=i?i[a]:void 0;s&&(r.align=s);let c={type:"element",tagName:o,properties:r,children:[]};n&&(c.children=e.all(n),e.patch(n,c),c=e.applyData(n,c)),u.push(c)}const c={type:"element",tagName:"tr",properties:{},children:e.wrap(u,!0)};return e.patch(t,c),e.applyData(t,c)},text:function(e,t){const n={type:"text",value:Gn(String(t.value))};return e.patch(t,n),e.applyData(t,n)},thematicBreak:function(e,t){const n={type:"element",tagName:"hr",properties:{},children:[]};return e.patch(t,n),e.applyData(t,n)},toml:er,yaml:er,definition:er,footnoteDefinition:er};function er(){}const tr={}.hasOwnProperty,nr={};function rr(e,t){e.position&&(t.position=function(e){const t=oe(e),n=re(e);if(t&&n)return{start:t,end:n}}(e))}function or(e,t){let n=t;if(e&&e.data){const t=e.data.hName,r=e.data.hChildren,o=e.data.hProperties;if("string"==typeof t)if("element"===n.type)n.tagName=t;else{n={type:"element",tagName:t,properties:{},children:"children"in n?n.children:[n]}}"element"===n.type&&o&&Object.assign(n.properties,Fn(o)),"children"in n&&n.children&&null!=r&&(n.children=r)}return n}function ir(e,t){const n=t.data||{},r=!("value"in t)||tr.call(n,"hProperties")||tr.call(n,"hChildren")?{type:"element",tagName:"div",properties:{},children:e.all(t)}:{type:"text",value:t.value};return e.patch(t,r),e.applyData(t,r)}function sr(e,t){const n=[];let r=-1;for(t&&n.push({type:"text",value:"\n"});++r<e.length;)r&&n.push({type:"text",value:"\n"}),n.push(e[r]);return t&&e.length>0&&n.push({type:"text",value:"\n"}),n}function ar(e){let t=0,n=e.charCodeAt(t);for(;9===n||32===n;)t++,n=e.charCodeAt(t);return e.slice(t)}function ur(e,t){const n=function(e,t){const n=t||nr,r=new Map,o=new Map,i=new Map,s={...Yn,...n.handlers},a={all:function(e){const t=[];if("children"in e){const n=e.children;let r=-1;for(;++r<n.length;){const o=a.one(n[r],e);if(o){if(r&&"break"===n[r-1].type&&(Array.isArray(o)||"text"!==o.type||(o.value=ar(o.value)),!Array.isArray(o)&&"element"===o.type)){const e=o.children[0];e&&"text"===e.type&&(e.value=ar(e.value))}Array.isArray(o)?t.push(...o):t.push(o)}}}return t},applyData:or,definitionById:r,footnoteById:o,footnoteCounts:i,footnoteOrder:[],handlers:s,one:function(e,t){const n=e.type,r=a.handlers[n];if(tr.call(a.handlers,n)&&r)return r(a,e,t);if(a.options.passThrough&&a.options.passThrough.includes(n)){if("children"in e){const{children:t,...n}=e,r=Fn(n);return r.children=a.all(e),r}return Fn(e)}return(a.options.unknownHandler||ir)(a,e,t)},options:n,patch:rr,wrap:sr};return Xn(e,(function(e){if("definition"===e.type||"footnoteDefinition"===e.type){const t="definition"===e.type?r:o,n=String(e.identifier).toUpperCase();t.has(n)||t.set(n,e)}})),a}(e,t),r=n.one(e,void 0),o=function(e){const t="string"==typeof e.options.clobberPrefix?e.options.clobberPrefix:"user-content-",n=e.options.footnoteBackContent||Nn,r=e.options.footnoteBackLabel||Tn,o=e.options.footnoteLabel||"Footnotes",i=e.options.footnoteLabelTagName||"h2",s=e.options.footnoteLabelProperties||{className:["sr-only"]},a=[];let u=-1;for(;++u<e.footnoteOrder.length;){const o=e.footnoteById.get(e.footnoteOrder[u]);if(!o)continue;const i=e.all(o),s=String(o.identifier).toUpperCase(),c=In(s.toLowerCase());let l=0;const f=[],d=e.footnoteCounts.get(s);for(;void 0!==d&&++l<=d;){f.length>0&&f.push({type:"text",value:" "});let e="string"==typeof n?n:n(u,l);"string"==typeof e&&(e={type:"text",value:e}),f.push({type:"element",tagName:"a",properties:{href:"#"+t+"fnref-"+c+(l>1?"-"+l:""),dataFootnoteBackref:"",ariaLabel:"string"==typeof r?r:r(u,l),className:["data-footnote-backref"]},children:Array.isArray(e)?e:[e]})}const h=i[i.length-1];if(h&&"element"===h.type&&"p"===h.tagName){const e=h.children[h.children.length-1];e&&"text"===e.type?e.value+=" ":h.children.push({type:"text",value:" "}),h.children.push(...f)}else i.push(...f);const p={type:"element",tagName:"li",properties:{id:t+"fn-"+c},children:e.wrap(i,!0)};e.patch(o,p),a.push(p)}if(0!==a.length)return{type:"element",tagName:"section",properties:{dataFootnotes:!0,className:["footnotes"]},children:[{type:"element",tagName:i,properties:{...Fn(s),id:"footnote-label"},children:[{type:"text",value:o}]},{type:"text",value:"\n"},{type:"element",tagName:"ol",properties:{},children:e.wrap(a,!0)},{type:"text",value:"\n"}]}}(n),i=Array.isArray(r)?{type:"root",children:r}:r||{type:"root",children:[]};return o&&i.children.push({type:"text",value:"\n"},o),i}function cr(e,t){return e&&"run"in e?async function(n,r){const o=ur(n,t);await e.run(o,r)}:function(n){return ur(n,t||e)}}function lr(e){if(e)throw e}var fr=n(49385);function dr(e){if("object"!=typeof e||null===e)return!1;const t=Object.getPrototypeOf(e);return!(null!==t&&t!==Object.prototype&&null!==Object.getPrototypeOf(t)||Symbol.toStringTag in e||Symbol.iterator in e)}function hr(){const e=[],t={run:function(...t){let n=-1;const r=t.pop();if("function"!=typeof r)throw new TypeError("Expected function as last argument, not "+r);!function o(i,...s){const a=e[++n];let u=-1;if(i)r(i);else{for(;++u<t.length;)null!==s[u]&&void 0!==s[u]||(s[u]=t[u]);t=s,a?function(e,t){let n;return r;function r(...t){const r=e.length>t.length;let a;r&&t.push(o);try{a=e.apply(this,t)}catch(i){if(r&&n)throw i;return o(i)}r||(a instanceof Promise?a.then(s,o):a instanceof Error?o(a):s(a))}function o(e,...r){n||(n=!0,t(e,...r))}function s(e){o(null,e)}}(a,o)(...s):r(null,...s)}}(null,...t)},use:function(n){if("function"!=typeof n)throw new TypeError("Expected `middelware` to be a function, not "+n);return e.push(n),t}};return t}const pr={basename:function(e,t){if(void 0!==t&&"string"!=typeof t)throw new TypeError('"ext" argument must be a string');mr(e);let n,r=0,o=-1,i=e.length;if(void 0===t||0===t.length||t.length>e.length){for(;i--;)if(47===e.codePointAt(i)){if(n){r=i+1;break}}else o<0&&(n=!0,o=i+1);return o<0?"":e.slice(r,o)}if(t===e)return"";let s=-1,a=t.length-1;for(;i--;)if(47===e.codePointAt(i)){if(n){r=i+1;break}}else s<0&&(n=!0,s=i+1),a>-1&&(e.codePointAt(i)===t.codePointAt(a--)?a<0&&(o=i):(a=-1,o=s));r===o?o=s:o<0&&(o=e.length);return e.slice(r,o)},dirname:function(e){if(mr(e),0===e.length)return".";let t,n=-1,r=e.length;for(;--r;)if(47===e.codePointAt(r)){if(t){n=r;break}}else t||(t=!0);return n<0?47===e.codePointAt(0)?"/":".":1===n&&47===e.codePointAt(0)?"//":e.slice(0,n)},extname:function(e){mr(e);let t,n=e.length,r=-1,o=0,i=-1,s=0;for(;n--;){const a=e.codePointAt(n);if(47!==a)r<0&&(t=!0,r=n+1),46===a?i<0?i=n:1!==s&&(s=1):i>-1&&(s=-1);else if(t){o=n+1;break}}if(i<0||r<0||0===s||1===s&&i===r-1&&i===o+1)return"";return e.slice(i,r)},join:function(...e){let t,n=-1;for(;++n<e.length;)mr(e[n]),e[n]&&(t=void 0===t?e[n]:t+"/"+e[n]);return void 0===t?".":function(e){mr(e);const t=47===e.codePointAt(0);let n=function(e,t){let n,r,o="",i=0,s=-1,a=0,u=-1;for(;++u<=e.length;){if(u<e.length)n=e.codePointAt(u);else{if(47===n)break;n=47}if(47===n){if(s===u-1||1===a);else if(s!==u-1&&2===a){if(o.length<2||2!==i||46!==o.codePointAt(o.length-1)||46!==o.codePointAt(o.length-2))if(o.length>2){if(r=o.lastIndexOf("/"),r!==o.length-1){r<0?(o="",i=0):(o=o.slice(0,r),i=o.length-1-o.lastIndexOf("/")),s=u,a=0;continue}}else if(o.length>0){o="",i=0,s=u,a=0;continue}t&&(o=o.length>0?o+"/..":"..",i=2)}else o.length>0?o+="/"+e.slice(s+1,u):o=e.slice(s+1,u),i=u-s-1;s=u,a=0}else 46===n&&a>-1?a++:a=-1}return o}(e,!t);0!==n.length||t||(n=".");n.length>0&&47===e.codePointAt(e.length-1)&&(n+="/");return t?"/"+n:n}(t)},sep:"/"};function mr(e){if("string"!=typeof e)throw new TypeError("Path must be a string. Received "+JSON.stringify(e))}const gr={cwd:function(){return"/"}};function yr(e){return Boolean(null!==e&&"object"==typeof e&&"href"in e&&e.href&&"protocol"in e&&e.protocol&&void 0===e.auth)}function vr(e){if("string"==typeof e)e=new URL(e);else if(!yr(e)){const t=new TypeError('The "path" argument must be of type string or an instance of URL. Received `'+e+"`");throw t.code="ERR_INVALID_ARG_TYPE",t}if("file:"!==e.protocol){const e=new TypeError("The URL must be of scheme file");throw e.code="ERR_INVALID_URL_SCHEME",e}return function(e){if(""!==e.hostname){const e=new TypeError('File URL host must be "localhost" or empty on darwin');throw e.code="ERR_INVALID_FILE_URL_HOST",e}const t=e.pathname;let n=-1;for(;++n<t.length;)if(37===t.codePointAt(n)&&50===t.codePointAt(n+1)){const e=t.codePointAt(n+2);if(70===e||102===e){const e=new TypeError("File URL path must not include encoded / characters");throw e.code="ERR_INVALID_FILE_URL_PATH",e}}return decodeURIComponent(t)}(e)}const br=["history","path","basename","stem","extname","dirname"];class _r{constructor(e){let t;t=e?yr(e)?{path:e}:"string"==typeof e||function(e){return Boolean(e&&"object"==typeof e&&"byteLength"in e&&"byteOffset"in e)}(e)?{value:e}:e:{},this.cwd=gr.cwd(),this.data={},this.history=[],this.messages=[],this.value,this.map,this.result,this.stored;let n,r=-1;for(;++r<br.length;){const e=br[r];e in t&&void 0!==t[e]&&null!==t[e]&&(this[e]="history"===e?[...t[e]]:t[e])}for(n in t)br.includes(n)||(this[n]=t[n])}get basename(){return"string"==typeof this.path?pr.basename(this.path):void 0}set basename(e){Er(e,"basename"),wr(e,"basename"),this.path=pr.join(this.dirname||"",e)}get dirname(){return"string"==typeof this.path?pr.dirname(this.path):void 0}set dirname(e){kr(this.basename,"dirname"),this.path=pr.join(e||"",this.basename)}get extname(){return"string"==typeof this.path?pr.extname(this.path):void 0}set extname(e){if(wr(e,"extname"),kr(this.dirname,"extname"),e){if(46!==e.codePointAt(0))throw new Error("`extname` must start with `.`");if(e.includes(".",1))throw new Error("`extname` cannot contain multiple dots")}this.path=pr.join(this.dirname,this.stem+(e||""))}get path(){return this.history[this.history.length-1]}set path(e){yr(e)&&(e=vr(e)),Er(e,"path"),this.path!==e&&this.history.push(e)}get stem(){return"string"==typeof this.path?pr.basename(this.path,this.extname):void 0}set stem(e){Er(e,"stem"),wr(e,"stem"),this.path=pr.join(this.dirname||"",e+(this.extname||""))}fail(e,t,n){const r=this.message(e,t,n);throw r.fatal=!0,r}info(e,t,n){const r=this.message(e,t,n);return r.fatal=void 0,r}message(e,t,n){const r=new le(e,t,n);return this.path&&(r.name=this.path+":"+r.name,r.file=this.path),r.fatal=!1,this.messages.push(r),r}toString(e){if(void 0===this.value)return"";if("string"==typeof this.value)return this.value;return new TextDecoder(e||void 0).decode(this.value)}}function wr(e,t){if(e&&e.includes(pr.sep))throw new Error("`"+t+"` cannot be a path: did not expect `"+pr.sep+"`")}function Er(e,t){if(!e)throw new Error("`"+t+"` cannot be empty")}function kr(e,t){if(!e)throw new Error("Setting `"+t+"` requires `path` to be set too")}const xr=function(e){const t=this.constructor.prototype,n=t[e],r=function(){return n.apply(r,arguments)};Object.setPrototypeOf(r,t);const o=Object.getOwnPropertyNames(n);for(const i of o){const e=Object.getOwnPropertyDescriptor(n,i);e&&Object.defineProperty(r,i,e)}return r},Dr={}.hasOwnProperty;class Sr extends xr{constructor(){super("copy"),this.Compiler=void 0,this.Parser=void 0,this.attachers=[],this.compiler=void 0,this.freezeIndex=-1,this.frozen=void 0,this.namespace={},this.parser=void 0,this.transformers=hr()}copy(){const e=new Sr;let t=-1;for(;++t<this.attachers.length;){const n=this.attachers[t];e.use(...n)}return e.data(fr(!0,{},this.namespace)),e}data(e,t){return"string"==typeof e?2===arguments.length?(Ar("data",this.frozen),this.namespace[e]=t,this):Dr.call(this.namespace,e)&&this.namespace[e]||void 0:e?(Ar("data",this.frozen),this.namespace=e,this):this.namespace}freeze(){if(this.frozen)return this;const e=this;for(;++this.freezeIndex<this.attachers.length;){const[t,...n]=this.attachers[this.freezeIndex];if(!1===n[0])continue;!0===n[0]&&(n[0]=void 0);const r=t.call(e,...n);"function"==typeof r&&this.transformers.use(r)}return this.frozen=!0,this.freezeIndex=Number.POSITIVE_INFINITY,this}parse(e){this.freeze();const t=Fr(e),n=this.parser||this.Parser;return Or("parse",n),n(String(t),t)}process(e,t){const n=this;return this.freeze(),Or("process",this.parser||this.Parser),$r("process",this.compiler||this.Compiler),t?r(void 0,t):new Promise(r);function r(r,o){const i=Fr(e),s=n.parse(i);function a(e,n){e||!n?o(e):r?r(n):t(void 0,n)}n.run(s,i,(function(e,t,r){if(e||!t||!r)return a(e);const o=t,i=n.stringify(o,r);var s;"string"==typeof(s=i)||function(e){return Boolean(e&&"object"==typeof e&&"byteLength"in e&&"byteOffset"in e)}(s)?r.value=i:r.result=i,a(e,r)}))}}processSync(e){let t,n=!1;return this.freeze(),Or("processSync",this.parser||this.Parser),$r("processSync",this.compiler||this.Compiler),this.process(e,(function(e,r){n=!0,lr(e),t=r})),jr("processSync","process",n),t}run(e,t,n){Pr(e),this.freeze();const r=this.transformers;return n||"function"!=typeof t||(n=t,t=void 0),n?o(void 0,n):new Promise(o);function o(o,i){const s=Fr(t);r.run(e,s,(function(t,r,s){const a=r||e;t?i(t):o?o(a):n(void 0,a,s)}))}}runSync(e,t){let n,r=!1;return this.run(e,t,(function(e,t){lr(e),n=t,r=!0})),jr("runSync","run",r),n}stringify(e,t){this.freeze();const n=Fr(t),r=this.compiler||this.Compiler;return $r("stringify",r),Pr(e),r(e,n)}use(e,...t){const n=this.attachers,r=this.namespace;if(Ar("use",this.frozen),null==e);else if("function"==typeof e)a(e,t);else{if("object"!=typeof e)throw new TypeError("Expected usable value, not `"+e+"`");Array.isArray(e)?s(e):i(e)}return this;function o(e){if("function"==typeof e)a(e,[]);else{if("object"!=typeof e)throw new TypeError("Expected usable value, not `"+e+"`");if(Array.isArray(e)){const[t,...n]=e;a(t,n)}else i(e)}}function i(e){if(!("plugins"in e)&&!("settings"in e))throw new Error("Expected usable value but received an empty preset, which is probably a mistake: presets typically come with `plugins` and sometimes with `settings`, but this has neither");s(e.plugins),e.settings&&(r.settings=fr(!0,r.settings,e.settings))}function s(e){let t=-1;if(null==e);else{if(!Array.isArray(e))throw new TypeError("Expected a list of plugins, not `"+e+"`");for(;++t<e.length;){o(e[t])}}}function a(e,t){let r=-1,o=-1;for(;++r<n.length;)if(n[r][0]===e){o=r;break}if(-1===o)n.push([e,...t]);else if(t.length>0){let[r,...i]=t;const s=n[o][1];dr(s)&&dr(r)&&(r=fr(!0,s,r)),n[o]=[e,r,...i]}}}}const Cr=(new Sr).freeze();function Or(e,t){if("function"!=typeof t)throw new TypeError("Cannot `"+e+"` without `parser`")}function $r(e,t){if("function"!=typeof t)throw new TypeError("Cannot `"+e+"` without `compiler`")}function Ar(e,t){if(t)throw new Error("Cannot call `"+e+"` on a frozen processor.\nCreate a new processor first, by calling it: use `processor()` instead of `processor`.")}function Pr(e){if(!dr(e)||"string"!=typeof e.type)throw new TypeError("Expected node, got `"+e+"`")}function jr(e,t,n){if(!n)throw new Error("`"+e+"` finished async. Use `"+t+"` instead")}function Fr(e){return function(e){return Boolean(e&&"object"==typeof e&&"message"in e&&"messages"in e)}(e)?e:new _r(e)}const Ir=[],Nr={allowDangerousHtml:!0},Tr=/^(https?|ircs?|mailto|xmpp)$/i,Mr=[{from:"astPlugins",id:"remove-buggy-html-in-markdown-parser"},{from:"allowDangerousHtml",id:"remove-buggy-html-in-markdown-parser"},{from:"allowNode",id:"replace-allownode-allowedtypes-and-disallowedtypes",to:"allowElement"},{from:"allowedTypes",id:"replace-allownode-allowedtypes-and-disallowedtypes",to:"allowedElements"},{from:"disallowedTypes",id:"replace-allownode-allowedtypes-and-disallowedtypes",to:"disallowedElements"},{from:"escapeHtml",id:"remove-buggy-html-in-markdown-parser"},{from:"includeElementIndex",id:"#remove-includeelementindex"},{from:"includeNodeIndex",id:"change-includenodeindex-to-includeelementindex"},{from:"linkTarget",id:"remove-linktarget"},{from:"plugins",id:"change-plugins-to-remarkplugins",to:"remarkPlugins"},{from:"rawSourcePos",id:"#remove-rawsourcepos"},{from:"renderers",id:"change-renderers-to-components",to:"components"},{from:"source",id:"change-source-to-children",to:"children"},{from:"sourcePos",id:"#remove-sourcepos"},{from:"transformImageUri",id:"#add-urltransform",to:"urlTransform"},{from:"transformLinkUri",id:"#add-urltransform",to:"urlTransform"}];function Rr(e){const t=e.allowedElements,n=e.allowElement,r=e.children||"",o=e.className,i=e.components,s=e.disallowedElements,a=e.rehypePlugins||Ir,u=e.remarkPlugins||Ir,c=e.remarkRehypeOptions?{...e.remarkRehypeOptions,...Nr}:Nr,l=e.skipHtml,f=e.unwrapDisallowed,d=e.urlTransform||Br,h=Cr().use(xn).use(u).use(cr,c).use(a),p=new _r;"string"==typeof r&&(p.value=r);for(const y of Mr)Object.hasOwn(e,y.from)&&(y.from,y.to&&y.to,y.id);const m=h.parse(p);let g=h.runSync(m,p);return o&&(g={type:"element",tagName:"div",properties:{className:o},children:"root"===g.type?g.children:[g]}),Xn(g,(function(e,r,o){if("raw"===e.type&&o&&"number"==typeof r)return l?o.children.splice(r,1):o.children[r]={type:"text",value:e.value},r;if("element"===e.type){let t;for(t in $e)if(Object.hasOwn($e,t)&&Object.hasOwn(e.properties,t)){const n=e.properties[t],r=$e[t];(null===r||r.includes(e.tagName))&&(e.properties[t]=d(String(n||""),t,e))}}if("element"===e.type){let i=t?!t.includes(e.tagName):!!s&&s.includes(e.tagName);if(!i&&n&&"number"==typeof r&&(i=!n(e,r,o)),i&&o&&"number"==typeof r)return f&&e.children?o.children.splice(r,1,...e.children):o.children.splice(r,1),r}})),ve(g,{Fragment:Ae.Fragment,components:i,ignoreInvalidStyle:!0,jsx:Ae.jsx,jsxs:Ae.jsxs,passKeys:!0,passNode:!0})}function Br(e){const t=e.indexOf(":"),n=e.indexOf("?"),r=e.indexOf("#"),o=e.indexOf("/");return t<0||o>-1&&t>o||n>-1&&t>n||r>-1&&t>r||Tr.test(e.slice(0,t))?e:""}function Lr(e){const{id:t,pointer:n,schema:r,yaml:o}=(0,d.describeSchema)(e),i=t?t.startsWith("schema:")?t.slice(7):t:void 0,s=i&&n?`${i}${n}`:i||void 0;return(0,Ae.jsxs)(l.default,{groupId:"schema-language",children:[(0,Ae.jsx)(f.default,{value:"yaml",label:"YAML",children:(0,Ae.jsx)(c(),{className:"schema-listing",language:"yaml",showLineNumbers:!0,title:s||"schema.yaml",children:o})}),(0,Ae.jsx)(f.default,{value:"json",label:"JSON",children:(0,Ae.jsx)(c(),{className:"schema-listing",language:"json",showLineNumbers:!0,title:s?`${s}`:"schema.json",children:JSON.stringify(r,void 0,2)})})]})}function zr(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Ur(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function qr(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Ur(Object(n),!0).forEach((function(t){zr(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Ur(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Vr(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function Qr(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function Xr(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Hr(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Kr(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Hr(Object(n),!0).forEach((function(t){Xr(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Hr(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Jr(e){return function t(){for(var n=this,r=arguments.length,o=new Array(r),i=0;i<r;i++)o[i]=arguments[i];return o.length>=e.length?e.apply(this,o):function(){for(var e=arguments.length,r=new Array(e),i=0;i<e;i++)r[i]=arguments[i];return t.apply(n,[].concat(o,r))}}}function Wr(e){return{}.toString.call(e).includes("Object")}function Gr(e){return"function"==typeof e}var Zr=Jr((function(e,t){throw new Error(e[t]||e.default)}))({initialIsRequired:"initial state is required",initialType:"initial state should be an object",initialContent:"initial state shouldn't be an empty object",handlerType:"handler should be an object or a function",handlersType:"all handlers should be a functions",selectorType:"selector should be a function",changeType:"provided value of changes should be an object",changeField:'it seams you want to change a field in the state which is not specified in the "initial" state',default:"an unknown error accured in `state-local` package"}),Yr={changes:function(e,t){return Wr(t)||Zr("changeType"),Object.keys(t).some((function(t){return n=e,r=t,!Object.prototype.hasOwnProperty.call(n,r);var n,r}))&&Zr("changeField"),t},selector:function(e){Gr(e)||Zr("selectorType")},handler:function(e){Gr(e)||Wr(e)||Zr("handlerType"),Wr(e)&&Object.values(e).some((function(e){return!Gr(e)}))&&Zr("handlersType")},initial:function(e){var t;e||Zr("initialIsRequired"),Wr(e)||Zr("initialType"),t=e,Object.keys(t).length||Zr("initialContent")}};function eo(e,t){return Gr(t)?t(e.current):t}function to(e,t){return e.current=Kr(Kr({},e.current),t),t}function no(e,t,n){return Gr(t)?t(e.current):Object.keys(n).forEach((function(n){var r;return null===(r=t[n])||void 0===r?void 0:r.call(t,e.current[n])})),n}const ro={create:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};Yr.initial(e),Yr.handler(t);var n={current:e},r=Jr(no)(n,t),o=Jr(to)(n),i=Jr(Yr.changes)(e),s=Jr(eo)(n);return[function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:function(e){return e};return Yr.selector(e),e(n.current)},function(e){!function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return function(e){return t.reduceRight((function(e,t){return t(e)}),e)}}(r,o,i,s)(e)}]}};const oo={paths:{vs:"https://cdn.jsdelivr.net/npm/monaco-editor@0.43.0/min/vs"}};const io=function(e){return{}.toString.call(e).includes("Object")};var so={configIsRequired:"the configuration object is required",configType:"the configuration object should be an object",default:"an unknown error accured in `@monaco-editor/loader` package",deprecation:"Deprecation warning!\n You are using deprecated way of configuration.\n\n Instead of using\n monaco.config({ urls: { monacoBase: '...' } })\n use\n monaco.config({ paths: { vs: '...' } })\n\n For more please check the link https://github.com/suren-atoyan/monaco-loader#config\n "},ao=function(e){return function t(){for(var n=this,r=arguments.length,o=new Array(r),i=0;i<r;i++)o[i]=arguments[i];return o.length>=e.length?e.apply(this,o):function(){for(var e=arguments.length,r=new Array(e),i=0;i<e;i++)r[i]=arguments[i];return t.apply(n,[].concat(o,r))}}}((function(e,t){throw new Error(e[t]||e.default)}))(so),uo={config:function(e){return e||ao("configIsRequired"),io(e)||ao("configType"),e.urls?(console.warn(so.deprecation),{paths:{vs:e.urls.monacoBase}}):e}};const co=uo;const lo=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return function(e){return t.reduceRight((function(e,t){return t(e)}),e)}};const fo=function e(t,n){return Object.keys(n).forEach((function(r){n[r]instanceof Object&&t[r]&&Object.assign(n[r],e(t[r],n[r]))})),qr(qr({},t),n)};var ho={type:"cancelation",msg:"operation is manually canceled"};const po=function(e){var t=!1,n=new Promise((function(n,r){e.then((function(e){return t?r(ho):n(e)})),e.catch(r)}));return n.cancel=function(){return t=!0},n};var mo,go,yo=ro.create({config:oo,isInitialized:!1,resolve:null,reject:null,monaco:null}),vo=(go=2,function(e){if(Array.isArray(e))return e}(mo=yo)||function(e,t){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e)){var n=[],r=!0,o=!1,i=void 0;try{for(var s,a=e[Symbol.iterator]();!(r=(s=a.next()).done)&&(n.push(s.value),!t||n.length!==t);r=!0);}catch(u){o=!0,i=u}finally{try{r||null==a.return||a.return()}finally{if(o)throw i}}return n}}(mo,go)||function(e,t){if(e){if("string"==typeof e)return Qr(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Qr(e,t):void 0}}(mo,go)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),bo=vo[0],_o=vo[1];function wo(e){return document.body.appendChild(e)}function Eo(e){var t=bo((function(e){return{config:e.config,reject:e.reject}})),n=function(e){var t=document.createElement("script");return e&&(t.src=e),t}("".concat(t.config.paths.vs,"/loader.js"));return n.onload=function(){return e()},n.onerror=t.reject,n}function ko(){var e=bo((function(e){return{config:e.config,resolve:e.resolve,reject:e.reject}})),t=window.require;t.config(e.config),t(["vs/editor/editor.main"],(function(t){xo(t),e.resolve(t)}),(function(t){e.reject(t)}))}function xo(e){bo().monaco||_o({monaco:e})}var Do=new Promise((function(e,t){return _o({resolve:e,reject:t})})),So={config:function(e){var t=co.config(e),n=t.monaco,r=Vr(t,["monaco"]);_o((function(e){return{config:fo(e.config,r),monaco:n}}))},init:function(){var e=bo((function(e){return{monaco:e.monaco,isInitialized:e.isInitialized,resolve:e.resolve}}));if(!e.isInitialized){if(_o({isInitialized:!0}),e.monaco)return e.resolve(e.monaco),po(Do);if(window.monaco&&window.monaco.editor)return xo(window.monaco),e.resolve(window.monaco),po(Do);lo(wo,Eo)(ko)}return po(Do)},__getMonacoInstance:function(){return bo((function(e){return e.monaco}))}};const Co=So;var Oo={wrapper:{display:"flex",position:"relative",textAlign:"initial"},fullWidth:{width:"100%"},hide:{display:"none"}},$o={container:{display:"flex",height:"100%",width:"100%",justifyContent:"center",alignItems:"center"}};var Ao=function({children:e}){return i.createElement("div",{style:$o.container},e)};var Po=function({width:e,height:t,isEditorReady:n,loading:r,_ref:o,className:s,wrapperProps:a}){return i.createElement("section",{style:{...Oo.wrapper,width:e,height:t},...a},!n&&i.createElement(Ao,null,r),i.createElement("div",{ref:o,style:{...Oo.fullWidth,...!n&&Oo.hide},className:s}))},jo=(0,i.memo)(Po);var Fo=function(e){(0,i.useEffect)(e,[])};var Io=function(e,t,n=!0){let r=(0,i.useRef)(!0);(0,i.useEffect)(r.current||!n?()=>{r.current=!1}:e,t)};function No(){}function To(e,t,n,r){return function(e,t){return e.editor.getModel(Mo(e,t))}(e,r)||function(e,t,n,r){return e.editor.createModel(t,n,r?Mo(e,r):void 0)}(e,t,n,r)}function Mo(e,t){return e.Uri.parse(t)}var Ro=function({original:e,modified:t,language:n,originalLanguage:r,modifiedLanguage:o,originalModelPath:s,modifiedModelPath:a,keepCurrentOriginalModel:u=!1,keepCurrentModifiedModel:c=!1,theme:l="light",loading:f="Loading...",options:d={},height:h="100%",width:p="100%",className:m,wrapperProps:g={},beforeMount:y=No,onMount:v=No}){let[b,_]=(0,i.useState)(!1),[w,E]=(0,i.useState)(!0),k=(0,i.useRef)(null),x=(0,i.useRef)(null),D=(0,i.useRef)(null),S=(0,i.useRef)(v),C=(0,i.useRef)(y),O=(0,i.useRef)(!1);Fo((()=>{let e=Co.init();return e.then((e=>(x.current=e)&&E(!1))).catch((e=>"cancelation"!==e?.type&&console.error("Monaco initialization: error:",e))),()=>k.current?function(){let e=k.current?.getModel();u||e?.original?.dispose(),c||e?.modified?.dispose(),k.current?.dispose()}():e.cancel()})),Io((()=>{if(k.current&&x.current){let t=k.current.getOriginalEditor(),o=To(x.current,e||"",r||n||"text",s||"");o!==t.getModel()&&t.setModel(o)}}),[s],b),Io((()=>{if(k.current&&x.current){let e=k.current.getModifiedEditor(),r=To(x.current,t||"",o||n||"text",a||"");r!==e.getModel()&&e.setModel(r)}}),[a],b),Io((()=>{let e=k.current.getModifiedEditor();e.getOption(x.current.editor.EditorOption.readOnly)?e.setValue(t||""):t!==e.getValue()&&(e.executeEdits("",[{range:e.getModel().getFullModelRange(),text:t||"",forceMoveMarkers:!0}]),e.pushUndoStop())}),[t],b),Io((()=>{k.current?.getModel()?.original.setValue(e||"")}),[e],b),Io((()=>{let{original:e,modified:t}=k.current.getModel();x.current.editor.setModelLanguage(e,r||n||"text"),x.current.editor.setModelLanguage(t,o||n||"text")}),[n,r,o],b),Io((()=>{x.current?.editor.setTheme(l)}),[l],b),Io((()=>{k.current?.updateOptions(d)}),[d],b);let $=(0,i.useCallback)((()=>{if(!x.current)return;C.current(x.current);let i=To(x.current,e||"",r||n||"text",s||""),u=To(x.current,t||"",o||n||"text",a||"");k.current?.setModel({original:i,modified:u})}),[n,t,o,e,r,s,a]),A=(0,i.useCallback)((()=>{!O.current&&D.current&&(k.current=x.current.editor.createDiffEditor(D.current,{automaticLayout:!0,...d}),$(),x.current?.editor.setTheme(l),_(!0),O.current=!0)}),[d,l,$]);return(0,i.useEffect)((()=>{b&&S.current(k.current,x.current)}),[b]),(0,i.useEffect)((()=>{!w&&!b&&A()}),[w,b,A]),i.createElement(jo,{width:p,height:h,isEditorReady:b,loading:f,_ref:D,className:m,wrapperProps:g})};(0,i.memo)(Ro);var Bo=function(){let[e,t]=(0,i.useState)(Co.__getMonacoInstance());return Fo((()=>{let n;return e||(n=Co.init(),n.then((e=>{t(e)}))),()=>n?.cancel()})),e};var Lo=function(e){let t=(0,i.useRef)();return(0,i.useEffect)((()=>{t.current=e}),[e]),t.current},zo=new Map;var Uo=function({defaultValue:e,defaultLanguage:t,defaultPath:n,value:r,language:o,path:s,theme:a="light",line:u,loading:c="Loading...",options:l={},overrideServices:f={},saveViewState:d=!0,keepCurrentModel:h=!1,width:p="100%",height:m="100%",className:g,wrapperProps:y={},beforeMount:v=No,onMount:b=No,onChange:_,onValidate:w=No}){let[E,k]=(0,i.useState)(!1),[x,D]=(0,i.useState)(!0),S=(0,i.useRef)(null),C=(0,i.useRef)(null),O=(0,i.useRef)(null),$=(0,i.useRef)(b),A=(0,i.useRef)(v),P=(0,i.useRef)(),j=(0,i.useRef)(r),F=Lo(s),I=(0,i.useRef)(!1),N=(0,i.useRef)(!1);Fo((()=>{let e=Co.init();return e.then((e=>(S.current=e)&&D(!1))).catch((e=>"cancelation"!==e?.type&&console.error("Monaco initialization: error:",e))),()=>C.current?(P.current?.dispose(),h?d&&zo.set(s,C.current.saveViewState()):C.current.getModel()?.dispose(),void C.current.dispose()):e.cancel()})),Io((()=>{let i=To(S.current,e||r||"",t||o||"",s||n||"");i!==C.current?.getModel()&&(d&&zo.set(F,C.current?.saveViewState()),C.current?.setModel(i),d&&C.current?.restoreViewState(zo.get(s)))}),[s],E),Io((()=>{C.current?.updateOptions(l)}),[l],E),Io((()=>{!C.current||void 0===r||(C.current.getOption(S.current.editor.EditorOption.readOnly)?C.current.setValue(r):r!==C.current.getValue()&&(N.current=!0,C.current.executeEdits("",[{range:C.current.getModel().getFullModelRange(),text:r,forceMoveMarkers:!0}]),C.current.pushUndoStop(),N.current=!1))}),[r],E),Io((()=>{let e=C.current?.getModel();e&&o&&S.current?.editor.setModelLanguage(e,o)}),[o],E),Io((()=>{void 0!==u&&C.current?.revealLine(u)}),[u],E),Io((()=>{S.current?.editor.setTheme(a)}),[a],E);let T=(0,i.useCallback)((()=>{if(O.current&&S.current&&!I.current){A.current(S.current);let i=s||n,c=To(S.current,r||e||"",t||o||"",i||"");C.current=S.current?.editor.create(O.current,{model:c,automaticLayout:!0,...l},f),d&&C.current.restoreViewState(zo.get(i)),S.current.editor.setTheme(a),void 0!==u&&C.current.revealLine(u),k(!0),I.current=!0}}),[e,t,n,r,o,s,l,f,d,a,u]);return(0,i.useEffect)((()=>{E&&$.current(C.current,S.current)}),[E]),(0,i.useEffect)((()=>{!x&&!E&&T()}),[x,E,T]),j.current=r,(0,i.useEffect)((()=>{E&&_&&(P.current?.dispose(),P.current=C.current?.onDidChangeModelContent((e=>{N.current||_(C.current.getValue(),e)})))}),[E,_]),(0,i.useEffect)((()=>{if(E){let e=S.current.editor.onDidChangeMarkers((e=>{let t=C.current.getModel()?.uri;if(t&&e.find((e=>e.path===t.path))){let e=S.current.editor.getModelMarkers({resource:t});w?.(e)}}));return()=>{e?.dispose()}}return()=>{}}),[E,w]),i.createElement(jo,{width:p,height:m,isEditorReady:E,loading:c,_ref:O,className:g,wrapperProps:y})},qo=(0,i.memo)(Uo),Vo=n(60361),Qo=n(43159),Xo=n.n(Qo),Ho=n(22038),Ko=n.n(Ho),Jo=n(404);function Wo(){return Wo=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Wo.apply(this,arguments)}var Go={enum:1,type:0},Zo=/"/g,Yo=/NOT/g,ei=/\//g,ti=function(e){var t=e.value,n=e.suggestions,r=e.format,o=void 0===r?function(e){return"Did you mean '"+e+"'?"}:r;if(!t)return"";var i=n.reduce((function(e,n){var r=Ko()(t,n);return e.distance>r?{value:n,distance:r}:e}),{distance:1/0,value:""});return i.distance<t.length?o(i.value):""},ni=function(e){return e.split("/").pop()},ri=function(e){var t=e.object,n=e.pnter,r=e.fallback;try{return Jo.get(t,n)}catch(o){return r}},oi=function(e){var t=e.errors,n=e.data,r=e.schema,o=e.basePath,i=void 0===o?"{base}":o;if(!Array.isArray(t)||0===t.length)return[];var s=function(e){var t=e.reduce((function(e,t){var n,r,o,i,s,a,u=t.instancePath+(null!=(n=null!=(r=null==(o=t.params)?void 0:o.additionalProperty)?r:null==(i=t.params)?void 0:i.missingProperty)?n:""),c=e[u];return c?((null!=(s=Go[t.keyword])?s:0)>(null!=(a=Go[c.keyword])?a:0)&&(e[u]=t),e):(e[u]=t,e)}),{});return Object.values(t)}(t);return s.map((function(e){var t,o=(i+e.instancePath).replace(ei,"."),s=ni(e.instancePath),a={errorType:e.keyword},u=(s?"property '"+s+"'":o)+" "+e.message.replace(Zo,"'").replace(Yo,"not");switch(e.keyword){case"additionalProperties":var c=e.params.additionalProperty,l=e.schemaPath.replace("#","").replace("/additionalProperties",""),f=ri({object:r,pnter:l,fallback:{properties:{}}}).properties;t={message:"'"+c+"' property is not expected to be here",suggestion:ti({value:c,suggestions:Object.keys(null!=f?f:{}),format:function(e){return"Did you mean property '"+e+"'?"}}),path:o,context:a};break;case"enum":var d=e.params.allowedValues.map((function(e){return e.toString()})),h=ni(e.instancePath),p=ri({object:n,pnter:e.instancePath,fallback:""});t={message:"'"+h+"' property must be equal to one of the allowed values",suggestion:ti({value:p,suggestions:d}),path:o,context:Wo({},a,{allowedValues:e.params.allowedValues})};break;case"type":t={message:"'"+ni(e.instancePath)+"' property type must be "+e.params.type,path:o,context:a};break;case"required":t={message:o+" must have required property '"+e.params.missingProperty+"'",path:o,context:a};break;case"const":return{message:"'"+s+"' property must be equal to the allowed value",path:o,context:Wo({},a,{allowedValue:e.params.allowedValue})};default:return{message:u,path:o,context:a}}for(var m=0,g=Object.entries(t);m<g.length;m++){var y=g[m],v=y[0],b=y[1];null!=b&&""!==b||delete t[v]}return t}))},ii=n(4407),si=n.n(ii);function ai(e){const{schema:t}=(0,d.describeSchema)(e),{colorMode:n}=(0,Vo.I)(),r=t.examples?.[0]??{},o=(0,i.useRef)(null),s=Bo(),a=2,u=new(si())({schemas:Object.values(d.schemas),allErrors:!0,strict:!1}),[c,l]=(0,i.useState)(r),[f,h]=(0,i.useState)(!1);function p(e){console.error(e)}return(0,i.useEffect)((()=>{f&&function(){const t=u.getSchema(e.schema.id);if(!t)return p("Unable to validate schema");const n=function(){try{return Xo().parse(c,void 0,{tabWidth:a})}catch{return{data:"",pointers:{}}}}();t(n.data);const r=oi({schema:d.schemas[e.schema.id],data:n.data,errors:t.errors});console.log(r,t.errors),function(e,t){const n=o.current?.getModel();if(!n||!s)return p("Unable to validate schema");let r=[];if(e)for(const[o,i]of Object.entries(e)){let e=i.path.replace("{base}","").replace(/\./g,"/"),n=t.pointers[e],o=i.message.replace("{base}","").replace(/\./g,"/");"const"==i.context.errorType&&(o=`Expecting a constant value of "${i.context.allowedValue}"`),n&&o&&(r.push({startLineNumber:n.value.line+1,startColumn:n.value.column+1,endColumn:n.valueEnd.column+1,endLineNumber:n.valueEnd.line+1,message:o,severity:s.MarkerSeverity.Error}),n.key&&n.keyEnd&&r.push({startLineNumber:n.key.line+1,startColumn:n.key.column+1,endColumn:n.keyEnd.column+1,endLineNumber:n.keyEnd.line+1,message:o,severity:s.MarkerSeverity.Error}))}s.editor.setModelMarkers(n,"EthDebug",r)}(r,n)}()}),[c]),(0,Ae.jsx)("section",{className:"playground-container",children:(0,Ae.jsx)(qo,{height:"50vh",language:"json",theme:"dark"==n?"vs-dark":"vs-light",defaultValue:JSON.stringify(r,void 0,a),onChange:function(e){h(!0),l(e)},onMount:function(e){o.current=e},options:{contextmenu:!1,autoIndent:"advanced",tabSize:a}})})}function ui(e){const t=(0,d.describeSchema)(e),{id:n,rootSchema:r,yaml:o,pointer:i}=t,s=ci(r,n||"");return(0,Ae.jsxs)(l.default,{children:[(0,Ae.jsx)(f.default,{value:"viewer",label:"Explore",children:(0,Ae.jsx)(p.Gi.Provider,{value:{rootSchemaInfo:t,schemaIndex:h},children:(0,Ae.jsx)(a(),{schema:s,resolverOptions:{jsonPointer:i,resolvers:{schema:{resolve:e=>{const t=e.toString(),{schema:n}=(0,d.describeSchema)({schema:{id:t}});return ci(n,t)}}}},viewerOptions:{showExamples:!0,ValueComponent:e=>{let{value:t}=e;return["string","number","bigint","boolean"].includes(typeof t)?(0,Ae.jsx)("code",{children:t.toString()}):(0,Ae.jsx)(c(),{language:"json",children:`${JSON.stringify(t,void 0,2)}`})},DescriptionComponent:e=>{let{description:t}=e;return(0,Ae.jsx)(Rr,{children:t})}}})})}),(0,Ae.jsx)(f.default,{value:"listing",label:"View source",children:(0,Ae.jsx)(Lr,{schema:e.schema,pointer:e.pointer})}),(0,Ae.jsx)(f.default,{value:"playground",label:"Playground",children:(0,Ae.jsx)(ai,{schema:e.schema,pointer:e.pointer})})]})}function ci(e,t){return li(fi(e),`${t}#`)}function li(e,t){return Array.isArray(e)?e.map(((e,n)=>li(e,`${t}/${n}`))):null!==e&&"object"==typeof e?Object.entries(e).reduce(((e,n)=>{let[r,o]=n;return e[r]=li(o,`${t}/${r}`),e}),{[p.D9]:t.endsWith("#")?t.slice(0,-1):t}):e}function fi(e){if(!e||"object"!=typeof e)return e;if(Array.isArray(e))return e.map(fi);if(1===Object.keys(e).length&&"$ref"in e)return e;const{$ref:t,...n}=e,r=Object.entries(n).reduce(((e,t)=>{let[n,r]=t;return e[n]=fi(r),e}),{});if(!t)return r;const o=["allOf","oneOf","anyOf"].find((t=>!(t in e)));if(!o)throw new Error(`Could not find available composition keyword in ${JSON.stringify(e)}`);return r[o]=[{$ref:t}],r}},35849:(e,t,n)=>{"use strict";n.d(t,{D9:()=>s,Gi:()=>o,J5:()=>i});var r=n(2784);const o=(0,r.createContext)({schemaIndex:{}}),i=()=>(0,r.useContext)(o),s=Symbol("__$internalId")},94845:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>i});n(2784);var r=n(51074),o=n(52322);function i(e){const{schema:t}=e,n=void 0!==t.if,i=void 0!==t.dependentRequired,s=void 0!==t.dependentSchemas,a=void 0!==t.dependencies;return(0,o.jsxs)(o.Fragment,{children:[n&&(0,o.jsx)(r.IfElseThen,{schema:t}),i&&(0,o.jsx)(r.DependentRequired,{schema:t}),s&&(0,o.jsx)(r.DependentSchemas,{schema:t}),a&&(0,o.jsx)(r.Dependencies,{schema:t})]})}},70213:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>d});n(2784);var r=n(65296),o=n.n(r),i=n(77336),s=n(82009),a=n(94598),u=n(2204),c=n(52322);function l(e){let{propertyName:t,schemasByConst:n}=e;const{jsonPointer:r,level:o}=(0,a.useSchemaHierarchyContext)();return(0,c.jsxs)("div",{children:[(0,c.jsx)("hr",{}),(0,c.jsx)("span",{className:"badge badge--info",children:"polymorphic discriminator"}),"\xa0 The value of the ",(0,c.jsx)("strong",{children:t})," field determines which sub-schema applies:",(0,c.jsx)(i.default,{children:Object.entries(n).map((e=>{let[t,{schema:n,index:i}]=e;return(0,c.jsx)(s.default,{label:t,value:t,children:(0,c.jsx)(a.SchemaHierarchyContextProvider,{value:{level:o+1,jsonPointer:`${r}/allOf/${i}/then`},children:(0,c.jsx)(u.CreateNodes,{schema:n})})},t)}))})]})}function f(e){let{propertyNames:t,schemasByPropertyName:n}=e;const{jsonPointer:r,level:o}=(0,a.useSchemaHierarchyContext)();return(0,c.jsxs)("div",{children:[(0,c.jsx)("hr",{}),(0,c.jsx)("span",{className:"badge badge--info",children:"mutually-exclusive required properties"}),"\xa0 This object must specify exactly one of the following:",(0,c.jsx)("ul",{children:t.map(((e,t)=>(0,c.jsx)("li",{children:(0,c.jsx)("code",{children:e})},t)))}),"Depending on which required property is used, one of the following sub-schemas applies:",(0,c.jsx)(i.default,{children:Object.entries(n).map((e=>{let[t,{schema:n,index:i}]=e;return(0,c.jsx)(s.default,{label:"title"in n&&"string"==typeof n.title&&n.title||t,value:t,children:(0,c.jsx)(a.SchemaHierarchyContextProvider,{value:{level:o+1,jsonPointer:`${r}/allOf/${i+1}/then`},children:(0,c.jsx)(u.CreateNodes,{schema:n})})},t)}))})]})}function d(e){const{schema:t}=e,n=function(e){const{allOf:t}=e;if(!t.every((e=>{if("boolean"==typeof e)return!1;const{title:t,description:n,if:r,then:o,...i}=e;return!!r&&!!o&&0===Object.keys(i).length})))return;if(!t.every((e=>{const{if:t}=e;if("boolean"==typeof t||!("properties"in t)||!t.properties)return!1;const n=t.properties;if(1!==Object.keys(n).length)return!1;const r=n[Object.keys(n)[0]];return"object"==typeof r&&"const"in r&&"string"==typeof r.const&&!!r.const})))return;const n=Object.keys(t[0].if.properties)[0],r=t.map(((e,t)=>{let{if:r,then:o}=e;return{[r.properties[n].const]:{schema:o,index:t}}})).reduce(((e,t)=>({...e,...t})),{});return Object.keys(r).length===t.length?{propertyName:n,schemasByConst:r}:void 0}(t);if(n)return(0,c.jsx)(l,{...n});const r=function(e){const{allOf:t}=e,[n,...r]=t;if("boolean"==typeof n||!("oneOf"in n))return;const{oneOf:o}=n;if(!o||!o.every((e=>"object"==typeof e&&"required"in e&&e.required instanceof Array&&1===e.required.length)))return;const i=o.map((e=>{let{required:[t]}=e;return t}));if(r.length!==i.length)return;if(!r.every((e=>{if("boolean"==typeof e)return!1;const{title:t,description:n,if:r,then:o,...i}=e;return!!r&&!!o&&0===Object.keys(i).length})))return;if(!r.every((e=>{const{if:t}=e;if("boolean"==typeof t||!("required"in t))return!1;const{required:n}=t;if(!n||1!==n.length)return!1;const[r]=n;return"string"==typeof r&&!!r})))return;return{propertyNames:i,schemasByPropertyName:r.map(((e,t)=>{let{if:{required:[n]},then:r}=e;return{[n]:{schema:r,index:t}}})).reduce(((e,t)=>({...e,...t})),{})}}(t);return r?(0,c.jsx)(f,{...r}):(0,c.jsx)(c.Fragment,{children:(0,c.jsx)(o(),{...e})})}},14130:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>h});n(2784);var r=n(42360),o=n.n(r),i=n(94598),s=n(35849),a=n(27718),u=n(2204),c=n(77740),l=n(54884),f=n(52322);function d(e){let{schemaWithoutUnnecessaryComposition:t,unnecessaryCompositionKeyword:n,unnecessarilyComposedSchema:r}=e;const o=(0,i.useJSVOptionsContext)(),{schemaIndex:d}=(0,s.J5)(),p=r,m=t,{documentation:g,semantics:y}=function(e){if("boolean"==typeof e)return{documentation:{},semantics:e};const{title:t,description:n,examples:r,default:o,[s.D9]:i,...a}=e;return{documentation:{title:t,description:n,examples:r,default:o},semantics:a}}(m);if(0===Object.keys(y).length||1===Object.keys(y).length&&"type"in y&&"object"==typeof p&&"type"in p&&("string"==typeof y.type&&y.type===p.type||y.type instanceof Array&&p.type instanceof Array&&y.type.length===p.type.length&&y.type.every((e=>p.type.includes(e))))){const{description:e}=g;return(0,f.jsxs)(f.Fragment,{children:[(0,f.jsx)(c.QualifierMessages,{schema:g,options:o}),e&&(0,f.jsx)(l.CreateDescription,{description:e}),(0,f.jsx)("hr",{}),(0,f.jsx)(i.SchemaHierarchyComponent,{innerJsonPointer:`/${n}/0`,children:(0,f.jsx)(h,{schema:r})})]})}const{[s.D9]:v}=p;if(v&&v in d){const{href:e,title:t=`${v.startsWith("schema:")?v.slice(7):v} schema`}=d[v];return(0,f.jsxs)(f.Fragment,{children:[(0,f.jsx)("span",{className:"badge badge--info",children:"extensions"}),"\xa0 This schema extends the ",(0,f.jsx)(a.Z,{to:e,children:t}),".",(0,f.jsx)("p",{children:(0,f.jsx)(h,{schema:m})})]})}return(0,f.jsxs)(f.Fragment,{children:[(0,f.jsx)("span",{className:"badge badge--info",children:"extensions"}),"\xa0 These extensions apply to the base schema below:",(0,f.jsx)("p",{children:(0,f.jsx)(h,{schema:m})}),(0,f.jsx)(u.Collapsible,{summary:(0,f.jsxs)(f.Fragment,{children:[(0,f.jsx)("strong",{children:(0,f.jsx)(c.GenerateFriendlyName,{schema:p})}),"\xa0",(0,f.jsx)("span",{className:"badge badge--info",children:"base schema"})]}),detailsProps:{open:!0},children:(0,f.jsx)(i.SchemaHierarchyComponent,{innerJsonPointer:`/${n}/0`,children:(0,f.jsx)(h,{schema:r})})})]})}function h(e){const{level:t}=(0,i.useSchemaHierarchyContext)(),{schemaIndex:n}=(0,s.J5)(),{schema:r,...u}=e,{[s.D9]:c}=r;if(c&&c in n&&t>0){const{href:e,title:t=`${c.startsWith("schema:")?c.slice(7):c} schema`}=n[c];return(0,f.jsx)(f.Fragment,{children:(0,f.jsxs)("p",{children:["See ",(0,f.jsx)(a.Z,{to:e,children:t})," documentation."]})})}const l=function(e){if("boolean"==typeof e)return;const t=["allOf","oneOf","anyOf"].filter((t=>t in e&&1===(e[t]||[]).length));if(1!==t.length)return;const[n]=t,{[n]:r,...o}=e,[i]=r;return{unnecessarilyComposedSchema:i,unnecessaryCompositionKeyword:n,schemaWithoutUnnecessaryComposition:o}}(r);return l?(0,f.jsx)(d,{...l}):(0,f.jsx)(f.Fragment,{children:(0,f.jsx)(o(),{schema:r,...u})})}},5091:(e,t)=>{function n(e,t,n,r){var i={};return function(s){if(!i[s]){var a={},u=[],c=[];for(c.push({node:s,processed:!1});c.length>0;){var l=c[c.length-1],f=l.processed,d=l.node;if(f)c.pop(),u.pop(),a[d]=!1,i[d]=!0,t&&0!==e[d].length||n.push(d);else{if(i[d]){c.pop();continue}if(a[d]){if(r){c.pop();continue}throw u.push(d),new o(u)}a[d]=!0,u.push(d);for(var h=e[d],p=h.length-1;p>=0;p--)c.push({node:h[p],processed:!1});l.processed=!0}}}}}var r=t.DepGraph=function(e){this.nodes={},this.outgoingEdges={},this.incomingEdges={},this.circular=e&&!!e.circular};r.prototype={size:function(){return Object.keys(this.nodes).length},addNode:function(e,t){this.hasNode(e)||(this.nodes[e]=2===arguments.length?t:e,this.outgoingEdges[e]=[],this.incomingEdges[e]=[])},removeNode:function(e){this.hasNode(e)&&(delete this.nodes[e],delete this.outgoingEdges[e],delete this.incomingEdges[e],[this.incomingEdges,this.outgoingEdges].forEach((function(t){Object.keys(t).forEach((function(n){var r=t[n].indexOf(e);r>=0&&t[n].splice(r,1)}),this)})))},hasNode:function(e){return this.nodes.hasOwnProperty(e)},getNodeData:function(e){if(this.hasNode(e))return this.nodes[e];throw new Error("Node does not exist: "+e)},setNodeData:function(e,t){if(!this.hasNode(e))throw new Error("Node does not exist: "+e);this.nodes[e]=t},addDependency:function(e,t){if(!this.hasNode(e))throw new Error("Node does not exist: "+e);if(!this.hasNode(t))throw new Error("Node does not exist: "+t);return-1===this.outgoingEdges[e].indexOf(t)&&this.outgoingEdges[e].push(t),-1===this.incomingEdges[t].indexOf(e)&&this.incomingEdges[t].push(e),!0},removeDependency:function(e,t){var n;this.hasNode(e)&&(n=this.outgoingEdges[e].indexOf(t))>=0&&this.outgoingEdges[e].splice(n,1),this.hasNode(t)&&(n=this.incomingEdges[t].indexOf(e))>=0&&this.incomingEdges[t].splice(n,1)},clone:function(){var e=this,t=new r;return Object.keys(e.nodes).forEach((function(n){t.nodes[n]=e.nodes[n],t.outgoingEdges[n]=e.outgoingEdges[n].slice(0),t.incomingEdges[n]=e.incomingEdges[n].slice(0)})),t},directDependenciesOf:function(e){if(this.hasNode(e))return this.outgoingEdges[e].slice(0);throw new Error("Node does not exist: "+e)},directDependantsOf:function(e){if(this.hasNode(e))return this.incomingEdges[e].slice(0);throw new Error("Node does not exist: "+e)},dependenciesOf:function(e,t){if(this.hasNode(e)){var r=[];n(this.outgoingEdges,t,r,this.circular)(e);var o=r.indexOf(e);return o>=0&&r.splice(o,1),r}throw new Error("Node does not exist: "+e)},dependantsOf:function(e,t){if(this.hasNode(e)){var r=[];n(this.incomingEdges,t,r,this.circular)(e);var o=r.indexOf(e);return o>=0&&r.splice(o,1),r}throw new Error("Node does not exist: "+e)},overallOrder:function(e){var t=this,r=[],o=Object.keys(this.nodes);if(0===o.length)return r;if(!this.circular){var i=n(this.outgoingEdges,!1,[],this.circular);o.forEach((function(e){i(e)}))}var s=n(this.outgoingEdges,e,r,this.circular);return o.filter((function(e){return 0===t.incomingEdges[e].length})).forEach((function(e){s(e)})),this.circular&&o.filter((function(e){return-1===r.indexOf(e)})).forEach((function(e){s(e)})),r},entryNodes:function(){var e=this;return Object.keys(this.nodes).filter((function(t){return 0===e.incomingEdges[t].length}))}},r.prototype.directDependentsOf=r.prototype.directDependantsOf,r.prototype.dependentsOf=r.prototype.dependantsOf;var o=t.DepGraphCycleError=function(e){var t="Dependency Cycle Found: "+e.join(" -> "),n=new Error(t);return n.cyclePath=e,Object.setPrototypeOf(n,Object.getPrototypeOf(this)),Error.captureStackTrace&&Error.captureStackTrace(n,o),n};o.prototype=Object.create(Error.prototype,{constructor:{value:Error,enumerable:!1,writable:!0,configurable:!0}}),Object.setPrototypeOf(o,Error)},49385:e=>{"use strict";var t=Object.prototype.hasOwnProperty,n=Object.prototype.toString,r=Object.defineProperty,o=Object.getOwnPropertyDescriptor,i=function(e){return"function"==typeof Array.isArray?Array.isArray(e):"[object Array]"===n.call(e)},s=function(e){if(!e||"[object Object]"!==n.call(e))return!1;var r,o=t.call(e,"constructor"),i=e.constructor&&e.constructor.prototype&&t.call(e.constructor.prototype,"isPrototypeOf");if(e.constructor&&!o&&!i)return!1;for(r in e);return void 0===r||t.call(e,r)},a=function(e,t){r&&"__proto__"===t.name?r(e,t.name,{enumerable:!0,configurable:!0,value:t.newValue,writable:!0}):e[t.name]=t.newValue},u=function(e,n){if("__proto__"===n){if(!t.call(e,n))return;if(o)return o(e,n).value}return e[n]};e.exports=function e(){var t,n,r,o,c,l,f=arguments[0],d=1,h=arguments.length,p=!1;for("boolean"==typeof f&&(p=f,f=arguments[1]||{},d=2),(null==f||"object"!=typeof f&&"function"!=typeof f)&&(f={});d<h;++d)if(null!=(t=arguments[d]))for(n in t)r=u(f,n),f!==(o=u(t,n))&&(p&&o&&(s(o)||(c=i(o)))?(c?(c=!1,l=r&&i(r)?r:[]):l=r&&s(r)?r:{},a(f,{name:n,newValue:e(p,l,o)})):void 0!==o&&a(f,{name:n,newValue:o}));return f}},69378:e=>{"use strict";e.exports=function e(t,n){if(t===n)return!0;if(t&&n&&"object"==typeof t&&"object"==typeof n){if(t.constructor!==n.constructor)return!1;var r,o,i;if(Array.isArray(t)){if((r=t.length)!=n.length)return!1;for(o=r;0!=o--;)if(!e(t[o],n[o]))return!1;return!0}if(t.constructor===RegExp)return t.source===n.source&&t.flags===n.flags;if(t.valueOf!==Object.prototype.valueOf)return t.valueOf()===n.valueOf();if(t.toString!==Object.prototype.toString)return t.toString()===n.toString();if((r=(i=Object.keys(t)).length)!==Object.keys(n).length)return!1;for(o=r;0!=o--;)if(!Object.prototype.hasOwnProperty.call(n,i[o]))return!1;for(o=r;0!=o--;){var s=i[o];if(!e(t[s],n[s]))return!1}return!0}return t!=t&&n!=n}},6238:e=>{function t(e,t,n,r){var o,i=null==(o=r)||"number"==typeof o||"boolean"==typeof o?r:n(r),s=t.get(i);return void 0===s&&(s=e.call(this,r),t.set(i,s)),s}function n(e,t,n){var r=Array.prototype.slice.call(arguments,3),o=n(r),i=t.get(o);return void 0===i&&(i=e.apply(this,r),t.set(o,i)),i}function r(e,t,n,r,o){return n.bind(t,e,r,o)}function o(e,o){return r(e,this,1===e.length?t:n,o.cache.create(),o.serializer)}function i(){return JSON.stringify(arguments)}function s(){this.cache=Object.create(null)}s.prototype.has=function(e){return e in this.cache},s.prototype.get=function(e){return this.cache[e]},s.prototype.set=function(e,t){this.cache[e]=t};var a={create:function(){return new s}};e.exports=function(e,t){var n=t&&t.cache?t.cache:a,r=t&&t.serializer?t.serializer:i;return(t&&t.strategy?t.strategy:o)(e,{cache:n,serializer:r})},e.exports.strategies={variadic:function(e,t){return r(e,this,n,t.cache.create(),t.serializer)},monadic:function(e,n){return r(e,this,t,n.cache.create(),n.serializer)}}},50340:(e,t)=>{function n(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];throw Error("[Immer] minified error nr: "+e+(n.length?" "+n.map((function(e){return"'"+e+"'"})).join(","):"")+". Find the full error at: https://bit.ly/3cXEKWf")}function r(e){return!!e&&!!e[K]}function o(e){var t;return!!e&&(function(e){if(!e||"object"!=typeof e)return!1;var t=Object.getPrototypeOf(e);if(null===t)return!0;var n=Object.hasOwnProperty.call(t,"constructor")&&t.constructor;return n===Object||"function"==typeof n&&Function.toString.call(n)===W}(e)||Array.isArray(e)||!!e[H]||!!(null===(t=e.constructor)||void 0===t?void 0:t[H])||f(e)||d(e))}function i(e,t,n){void 0===n&&(n=!1),0===s(e)?(n?Object.keys:G)(e).forEach((function(r){n&&"symbol"==typeof r||t(r,e[r],e)})):e.forEach((function(n,r){return t(r,n,e)}))}function s(e){var t=e[K];return t?t.t>3?t.t-4:t.t:Array.isArray(e)?1:f(e)?2:d(e)?3:0}function a(e,t){return 2===s(e)?e.has(t):Object.prototype.hasOwnProperty.call(e,t)}function u(e,t){return 2===s(e)?e.get(t):e[t]}function c(e,t,n){var r=s(e);2===r?e.set(t,n):3===r?e.add(n):e[t]=n}function l(e,t){return e===t?0!==e||1/e==1/t:e!=e&&t!=t}function f(e){return q&&e instanceof Map}function d(e){return V&&e instanceof Set}function h(e){return e.i||e.u}function p(e){if(Array.isArray(e))return Array.prototype.slice.call(e);var t=Z(e);delete t[K];for(var n=G(t),r=0;r<n.length;r++){var o=n[r],i=t[o];!1===i.writable&&(i.writable=!0,i.configurable=!0),(i.get||i.set)&&(t[o]={configurable:!0,writable:!0,enumerable:i.enumerable,value:e[o]})}return Object.create(Object.getPrototypeOf(e),t)}function m(e,t){return void 0===t&&(t=!1),y(e)||r(e)||!o(e)||(s(e)>1&&(e.set=e.add=e.clear=e.delete=g),Object.freeze(e),t&&i(e,(function(e,t){return m(t,!0)}),!0)),e}function g(){n(2)}function y(e){return null==e||"object"!=typeof e||Object.isFrozen(e)}function v(e){var t=Y[e];return t||n(18,e),t}function b(e,t){Y[e]||(Y[e]=t)}function _(){return z}function w(e,t){t&&(v("Patches"),e.o=[],e.v=[],e.s=t)}function E(e){k(e),e.p.forEach(D),e.p=null}function k(e){e===z&&(z=e.l)}function x(e){return z={p:[],l:z,h:e,_:!0,m:0}}function D(e){var t=e[K];0===t.t||1===t.t?t.j():t.O=!0}function S(e,t){t.m=t.p.length;var r=t.p[0],i=void 0!==e&&e!==r;return t.h.S||v("ES5").P(t,e,i),i?(r[K].g&&(E(t),n(4)),o(e)&&(e=C(t,e),t.l||$(t,e)),t.o&&v("Patches").M(r[K].u,e,t.o,t.v)):e=C(t,r,[]),E(t),t.o&&t.s(t.o,t.v),e!==X?e:void 0}function C(e,t,n){if(y(t))return t;var r=t[K];if(!r)return i(t,(function(o,i){return O(e,r,t,o,i,n)}),!0),t;if(r.A!==e)return t;if(!r.g)return $(e,r.u,!0),r.u;if(!r.R){r.R=!0,r.A.m--;var o=4===r.t||5===r.t?r.i=p(r.k):r.i,s=o,a=!1;3===r.t&&(s=new Set(o),o.clear(),a=!0),i(s,(function(t,i){return O(e,r,o,t,i,n,a)})),$(e,o,!1),n&&e.o&&v("Patches").F(r,n,e.o,e.v)}return r.i}function O(e,t,n,i,s,u,l){if(r(s)){var f=C(e,s,u&&t&&3!==t.t&&!a(t.N,i)?u.concat(i):void 0);if(c(n,i,f),!r(f))return;e._=!1}else l&&n.add(s);if(o(s)&&!y(s)){if(!e.h.D&&e.m<1)return;C(e,s),t&&t.A.l||$(e,s)}}function $(e,t,n){void 0===n&&(n=!1),!e.l&&e.h.D&&e._&&m(t,n)}function A(e,t){var n=e[K];return(n?h(n):e)[t]}function P(e,t){if(t in e)for(var n=Object.getPrototypeOf(e);n;){var r=Object.getOwnPropertyDescriptor(n,t);if(r)return r;n=Object.getPrototypeOf(n)}}function j(e){e.g||(e.g=!0,e.l&&j(e.l))}function F(e){e.i||(e.i=p(e.u))}function I(e,t,n){var r=f(t)?v("MapSet").K(t,n):d(t)?v("MapSet").$(t,n):e.S?function(e,t){var n=Array.isArray(e),r={t:n?1:0,A:t?t.A:_(),g:!1,R:!1,N:{},l:t,u:e,k:null,i:null,j:null,C:!1},o=r,i=ee;n&&(o=[r],i=te);var s=Proxy.revocable(o,i),a=s.revoke,u=s.proxy;return r.k=u,r.j=a,u}(t,n):v("ES5").I(t,n);return(n?n.A:_()).p.push(r),r}function N(e){return r(e)||n(22,e),function e(t){if(!o(t))return t;var n,r=t[K],a=s(t);if(r){if(!r.g&&(r.t<4||!v("ES5").J(r)))return r.u;r.R=!0,n=T(t,a),r.R=!1}else n=T(t,a);return i(n,(function(t,o){r&&u(r.u,t)===o||c(n,t,e(o))})),3===a?new Set(n):n}(e)}function T(e,t){switch(t){case 2:return new Map(e);case 3:return Array.from(e)}return p(e)}function M(){function e(e,t){var n=s[e];return n?n.enumerable=t:s[e]=n={configurable:!0,enumerable:t,get:function(){return ee.get(this[K],e)},set:function(t){ee.set(this[K],e,t)}},n}function t(e){for(var t=e.length-1;t>=0;t--){var r=e[t][K];if(!r.g)switch(r.t){case 5:o(r)&&j(r);break;case 4:n(r)&&j(r)}}}function n(e){for(var t=e.u,n=e.k,r=G(n),o=r.length-1;o>=0;o--){var i=r[o];if(i!==K){var s=t[i];if(void 0===s&&!a(t,i))return!0;var u=n[i],c=u&&u[K];if(c?c.u!==s:!l(u,s))return!0}}var f=!!t[K];return r.length!==G(t).length+(f?0:1)}function o(e){var t=e.k;if(t.length!==e.u.length)return!0;var n=Object.getOwnPropertyDescriptor(t,t.length-1);if(n&&!n.get)return!0;for(var r=0;r<t.length;r++)if(!t.hasOwnProperty(r))return!0;return!1}var s={};b("ES5",{I:function(t,n){var r=Array.isArray(t),o=function(t,n){if(t){for(var r=Array(n.length),o=0;o<n.length;o++)Object.defineProperty(r,""+o,e(o,!0));return r}var i=Z(n);delete i[K];for(var s=G(i),a=0;a<s.length;a++){var u=s[a];i[u]=e(u,t||!!i[u].enumerable)}return Object.create(Object.getPrototypeOf(n),i)}(r,t),i={t:r?5:4,A:n?n.A:_(),g:!1,R:!1,N:{},l:n,u:t,k:o,i:null,O:!1,C:!1};return Object.defineProperty(o,K,{value:i,writable:!0}),o},P:function(e,n,s){s?r(n)&&n[K].A===e&&t(e.p):(e.o&&function e(t){if(t&&"object"==typeof t){var n=t[K];if(n){var r=n.u,s=n.k,u=n.N,c=n.t;if(4===c)i(s,(function(t){t!==K&&(void 0!==r[t]||a(r,t)?u[t]||e(s[t]):(u[t]=!0,j(n)))})),i(r,(function(e){void 0!==s[e]||a(s,e)||(u[e]=!1,j(n))}));else if(5===c){if(o(n)&&(j(n),u.length=!0),s.length<r.length)for(var l=s.length;l<r.length;l++)u[l]=!1;else for(var f=r.length;f<s.length;f++)u[f]=!0;for(var d=Math.min(s.length,r.length),h=0;h<d;h++)s.hasOwnProperty(h)||(u[h]=!0),void 0===u[h]&&e(s[h])}}}}(e.p[0]),t(e.p))},J:function(e){return 4===e.t?n(e):o(e)}})}function R(){function e(t){if(!o(t))return t;if(Array.isArray(t))return t.map(e);if(f(t))return new Map(Array.from(t.entries()).map((function(t){return[t[0],e(t[1])]})));if(d(t))return new Set(Array.from(t).map(e));var n=Object.create(Object.getPrototypeOf(t));for(var r in t)n[r]=e(t[r]);return a(t,H)&&(n[H]=t[H]),n}function t(t){return r(t)?e(t):t}var c="add";b("Patches",{W:function(t,r){return r.forEach((function(r){for(var o=r.path,i=r.op,a=t,l=0;l<o.length-1;l++){var f=s(a),d=o[l];"string"!=typeof d&&"number"!=typeof d&&(d=""+d),0!==f&&1!==f||"__proto__"!==d&&"constructor"!==d||n(24),"function"==typeof a&&"prototype"===d&&n(24),"object"!=typeof(a=u(a,d))&&n(15,o.join("/"))}var h=s(a),p=e(r.value),m=o[o.length-1];switch(i){case"replace":switch(h){case 2:return a.set(m,p);case 3:n(16);default:return a[m]=p}case c:switch(h){case 1:return"-"===m?a.push(p):a.splice(m,0,p);case 2:return a.set(m,p);case 3:return a.add(p);default:return a[m]=p}case"remove":switch(h){case 1:return a.splice(m,1);case 2:return a.delete(m);case 3:return a.delete(r.value);default:return delete a[m]}default:n(17,i)}})),t},F:function(e,n,r,o){switch(e.t){case 0:case 4:case 2:return function(e,n,r,o){var s=e.u,l=e.i;i(e.N,(function(e,i){var f=u(s,e),d=u(l,e),h=i?a(s,e)?"replace":c:"remove";if(f!==d||"replace"!==h){var p=n.concat(e);r.push("remove"===h?{op:h,path:p}:{op:h,path:p,value:d}),o.push(h===c?{op:"remove",path:p}:"remove"===h?{op:c,path:p,value:t(f)}:{op:"replace",path:p,value:t(f)})}}))}(e,n,r,o);case 5:case 1:return function(e,n,r,o){var i=e.u,s=e.N,a=e.i;if(a.length<i.length){var u=[a,i];i=u[0],a=u[1];var l=[o,r];r=l[0],o=l[1]}for(var f=0;f<i.length;f++)if(s[f]&&a[f]!==i[f]){var d=n.concat([f]);r.push({op:"replace",path:d,value:t(a[f])}),o.push({op:"replace",path:d,value:t(i[f])})}for(var h=i.length;h<a.length;h++){var p=n.concat([h]);r.push({op:c,path:p,value:t(a[h])})}i.length<a.length&&o.push({op:"replace",path:n.concat(["length"]),value:i.length})}(e,n,r,o);case 3:return function(e,t,n,r){var o=e.u,i=e.i,s=0;o.forEach((function(e){if(!i.has(e)){var o=t.concat([s]);n.push({op:"remove",path:o,value:e}),r.unshift({op:c,path:o,value:e})}s++})),s=0,i.forEach((function(e){if(!o.has(e)){var i=t.concat([s]);n.push({op:c,path:i,value:e}),r.unshift({op:"remove",path:i,value:e})}s++}))}(e,n,r,o)}},M:function(e,t,n,r){n.push({op:"replace",path:[],value:t===X?void 0:t}),r.push({op:"replace",path:[],value:e})}})}function B(){function e(e,t){function n(){this.constructor=e}a(e,t),e.prototype=(n.prototype=t.prototype,new n)}function t(e){e.i||(e.N=new Map,e.i=new Map(e.u))}function r(e){e.i||(e.i=new Set,e.u.forEach((function(t){if(o(t)){var n=I(e.A.h,t,e);e.p.set(t,n),e.i.add(n)}else e.i.add(t)})))}function s(e){e.O&&n(3,JSON.stringify(h(e)))}var a=function(e,t){return(a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},u=function(){function n(e,t){return this[K]={t:2,l:t,A:t?t.A:_(),g:!1,R:!1,i:void 0,N:void 0,u:e,k:this,C:!1,O:!1},this}e(n,Map);var r=n.prototype;return Object.defineProperty(r,"size",{get:function(){return h(this[K]).size}}),r.has=function(e){return h(this[K]).has(e)},r.set=function(e,n){var r=this[K];return s(r),h(r).has(e)&&h(r).get(e)===n||(t(r),j(r),r.N.set(e,!0),r.i.set(e,n),r.N.set(e,!0)),this},r.delete=function(e){if(!this.has(e))return!1;var n=this[K];return s(n),t(n),j(n),n.u.has(e)?n.N.set(e,!1):n.N.delete(e),n.i.delete(e),!0},r.clear=function(){var e=this[K];s(e),h(e).size&&(t(e),j(e),e.N=new Map,i(e.u,(function(t){e.N.set(t,!1)})),e.i.clear())},r.forEach=function(e,t){var n=this;h(this[K]).forEach((function(r,o){e.call(t,n.get(o),o,n)}))},r.get=function(e){var n=this[K];s(n);var r=h(n).get(e);if(n.R||!o(r))return r;if(r!==n.u.get(e))return r;var i=I(n.A.h,r,n);return t(n),n.i.set(e,i),i},r.keys=function(){return h(this[K]).keys()},r.values=function(){var e,t=this,n=this.keys();return(e={})[J]=function(){return t.values()},e.next=function(){var e=n.next();return e.done?e:{done:!1,value:t.get(e.value)}},e},r.entries=function(){var e,t=this,n=this.keys();return(e={})[J]=function(){return t.entries()},e.next=function(){var e=n.next();if(e.done)return e;var r=t.get(e.value);return{done:!1,value:[e.value,r]}},e},r[J]=function(){return this.entries()},n}(),c=function(){function t(e,t){return this[K]={t:3,l:t,A:t?t.A:_(),g:!1,R:!1,i:void 0,u:e,k:this,p:new Map,O:!1,C:!1},this}e(t,Set);var n=t.prototype;return Object.defineProperty(n,"size",{get:function(){return h(this[K]).size}}),n.has=function(e){var t=this[K];return s(t),t.i?!!t.i.has(e)||!(!t.p.has(e)||!t.i.has(t.p.get(e))):t.u.has(e)},n.add=function(e){var t=this[K];return s(t),this.has(e)||(r(t),j(t),t.i.add(e)),this},n.delete=function(e){if(!this.has(e))return!1;var t=this[K];return s(t),r(t),j(t),t.i.delete(e)||!!t.p.has(e)&&t.i.delete(t.p.get(e))},n.clear=function(){var e=this[K];s(e),h(e).size&&(r(e),j(e),e.i.clear())},n.values=function(){var e=this[K];return s(e),r(e),e.i.values()},n.entries=function(){var e=this[K];return s(e),r(e),e.i.entries()},n.keys=function(){return this.values()},n[J]=function(){return this.values()},n.forEach=function(e,t){for(var n=this.values(),r=n.next();!r.done;)e.call(t,r.value,r.value,this),r=n.next()},t}();b("MapSet",{K:function(e,t){return new u(e,t)},$:function(e,t){return new c(e,t)}})}var L;Object.defineProperty(t,"__esModule",{value:!0});var z,U="undefined"!=typeof Symbol&&"symbol"==typeof Symbol("x"),q="undefined"!=typeof Map,V="undefined"!=typeof Set,Q="undefined"!=typeof Proxy&&void 0!==Proxy.revocable&&"undefined"!=typeof Reflect,X=U?Symbol.for("immer-nothing"):((L={})["immer-nothing"]=!0,L),H=U?Symbol.for("immer-draftable"):"__$immer_draftable",K=U?Symbol.for("immer-state"):"__$immer_state",J="undefined"!=typeof Symbol&&Symbol.iterator||"@@iterator",W=""+Object.prototype.constructor,G="undefined"!=typeof Reflect&&Reflect.ownKeys?Reflect.ownKeys:void 0!==Object.getOwnPropertySymbols?function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:Object.getOwnPropertyNames,Z=Object.getOwnPropertyDescriptors||function(e){var t={};return G(e).forEach((function(n){t[n]=Object.getOwnPropertyDescriptor(e,n)})),t},Y={},ee={get:function(e,t){if(t===K)return e;var n=h(e);if(!a(n,t))return function(e,t,n){var r,o=P(t,n);return o?"value"in o?o.value:null===(r=o.get)||void 0===r?void 0:r.call(e.k):void 0}(e,n,t);var r=n[t];return e.R||!o(r)?r:r===A(e.u,t)?(F(e),e.i[t]=I(e.A.h,r,e)):r},has:function(e,t){return t in h(e)},ownKeys:function(e){return Reflect.ownKeys(h(e))},set:function(e,t,n){var r=P(h(e),t);if(null==r?void 0:r.set)return r.set.call(e.k,n),!0;if(!e.g){var o=A(h(e),t),i=null==o?void 0:o[K];if(i&&i.u===n)return e.i[t]=n,e.N[t]=!1,!0;if(l(n,o)&&(void 0!==n||a(e.u,t)))return!0;F(e),j(e)}return e.i[t]===n&&(void 0!==n||t in e.i)||Number.isNaN(n)&&Number.isNaN(e.i[t])||(e.i[t]=n,e.N[t]=!0),!0},deleteProperty:function(e,t){return void 0!==A(e.u,t)||t in e.u?(e.N[t]=!1,F(e),j(e)):delete e.N[t],e.i&&delete e.i[t],!0},getOwnPropertyDescriptor:function(e,t){var n=h(e),r=Reflect.getOwnPropertyDescriptor(n,t);return r?{writable:!0,configurable:1!==e.t||"length"!==t,enumerable:r.enumerable,value:n[t]}:r},defineProperty:function(){n(11)},getPrototypeOf:function(e){return Object.getPrototypeOf(e.u)},setPrototypeOf:function(){n(12)}},te={};i(ee,(function(e,t){te[e]=function(){return arguments[0]=arguments[0][0],t.apply(this,arguments)}})),te.deleteProperty=function(e,t){return te.set.call(this,e,t,void 0)},te.set=function(e,t,n){return ee.set.call(this,e[0],t,n,e[0])};var ne=function(){function e(e){var t=this;this.S=Q,this.D=!0,this.produce=function(e,r,i){if("function"==typeof e&&"function"!=typeof r){var s=r;r=e;var a=t;return function(e){var t=this;void 0===e&&(e=s);for(var n=arguments.length,o=Array(n>1?n-1:0),i=1;i<n;i++)o[i-1]=arguments[i];return a.produce(e,(function(e){var n;return(n=r).call.apply(n,[t,e].concat(o))}))}}var u;if("function"!=typeof r&&n(6),void 0!==i&&"function"!=typeof i&&n(7),o(e)){var c=x(t),l=I(t,e,void 0),f=!0;try{u=r(l),f=!1}finally{f?E(c):k(c)}return"undefined"!=typeof Promise&&u instanceof Promise?u.then((function(e){return w(c,i),S(e,c)}),(function(e){throw E(c),e})):(w(c,i),S(u,c))}if(!e||"object"!=typeof e){if(void 0===(u=r(e))&&(u=e),u===X&&(u=void 0),t.D&&m(u,!0),i){var d=[],h=[];v("Patches").M(e,u,d,h),i(d,h)}return u}n(21,e)},this.produceWithPatches=function(e,n){if("function"==typeof e)return function(n){for(var r=arguments.length,o=Array(r>1?r-1:0),i=1;i<r;i++)o[i-1]=arguments[i];return t.produceWithPatches(n,(function(t){return e.apply(void 0,[t].concat(o))}))};var r,o,i=t.produce(e,n,(function(e,t){r=e,o=t}));return"undefined"!=typeof Promise&&i instanceof Promise?i.then((function(e){return[e,r,o]})):[i,r,o]},"boolean"==typeof(null==e?void 0:e.useProxies)&&this.setUseProxies(e.useProxies),"boolean"==typeof(null==e?void 0:e.autoFreeze)&&this.setAutoFreeze(e.autoFreeze)}var t=e.prototype;return t.createDraft=function(e){o(e)||n(8),r(e)&&(e=N(e));var t=x(this),i=I(this,e,void 0);return i[K].C=!0,k(t),i},t.finishDraft=function(e,t){var n=(e&&e[K]).A;return w(n,t),S(void 0,n)},t.setAutoFreeze=function(e){this.D=e},t.setUseProxies=function(e){e&&!Q&&n(20),this.S=e},t.applyPatches=function(e,t){var n;for(n=t.length-1;n>=0;n--){var o=t[n];if(0===o.path.length&&"replace"===o.op){e=o.value;break}}n>-1&&(t=t.slice(n+1));var i=v("Patches").W;return r(e)?i(e,t):this.produce(e,(function(e){return i(e,t)}))},e}(),re=new ne,oe=re.produce,ie=re.produceWithPatches.bind(re),se=re.setAutoFreeze.bind(re),ae=re.setUseProxies.bind(re),ue=re.applyPatches.bind(re),ce=re.createDraft.bind(re),le=re.finishDraft.bind(re);t.Immer=ne,t.applyPatches=ue,t.castDraft=function(e){return e},t.castImmutable=function(e){return e},t.createDraft=ce,t.current=N,t.default=oe,t.enableAllPlugins=function(){M(),B(),R()},t.enableES5=M,t.enableMapSet=B,t.enablePatches=R,t.finishDraft=le,t.freeze=m,t.immerable=H,t.isDraft=r,t.isDraftable=o,t.nothing=X,t.original=function(e){return r(e)||n(23,e),e[K].u},t.produce=oe,t.produceWithPatches=ie,t.setAutoFreeze=se,t.setUseProxies=ae},30412:(e,t,n)=>{"use strict";e.exports=n(50340)},6299:e=>{var t=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,n=/\n/g,r=/^\s*/,o=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,i=/^:\s*/,s=/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/,a=/^[;\s]*/,u=/^\s+|\s+$/g,c="";function l(e){return e?e.replace(u,c):c}e.exports=function(e,u){if("string"!=typeof e)throw new TypeError("First argument must be a string");if(!e)return[];u=u||{};var f=1,d=1;function h(e){var t=e.match(n);t&&(f+=t.length);var r=e.lastIndexOf("\n");d=~r?e.length-r:d+e.length}function p(){var e={line:f,column:d};return function(t){return t.position=new m(e),b(),t}}function m(e){this.start=e,this.end={line:f,column:d},this.source=u.source}m.prototype.content=e;var g=[];function y(t){var n=new Error(u.source+":"+f+":"+d+": "+t);if(n.reason=t,n.filename=u.source,n.line=f,n.column=d,n.source=e,!u.silent)throw n;g.push(n)}function v(t){var n=t.exec(e);if(n){var r=n[0];return h(r),e=e.slice(r.length),n}}function b(){v(r)}function _(e){var t;for(e=e||[];t=w();)!1!==t&&e.push(t);return e}function w(){var t=p();if("/"==e.charAt(0)&&"*"==e.charAt(1)){for(var n=2;c!=e.charAt(n)&&("*"!=e.charAt(n)||"/"!=e.charAt(n+1));)++n;if(n+=2,c===e.charAt(n-1))return y("End of comment missing");var r=e.slice(2,n-2);return d+=2,h(r),e=e.slice(n),d+=2,t({type:"comment",comment:r})}}function E(){var e=p(),n=v(o);if(n){if(w(),!v(i))return y("property missing ':'");var r=v(s),u=e({type:"declaration",property:l(n[0].replace(t,c)),value:r?l(r[0].replace(t,c)):c});return v(a),u}}return b(),function(){var e,t=[];for(_(t);e=E();)!1!==e&&(t.push(e),_(t));return t}()}},19522:e=>{"use strict";var t=e.exports=function(e,t,r){"function"==typeof t&&(r=t,t={}),n(t,"function"==typeof(r=t.cb||r)?r:r.pre||function(){},r.post||function(){},e,"",e)};function n(e,r,o,i,s,a,u,c,l,f){if(i&&"object"==typeof i&&!Array.isArray(i)){for(var d in r(i,s,a,u,c,l,f),i){var h=i[d];if(Array.isArray(h)){if(d in t.arrayKeywords)for(var p=0;p<h.length;p++)n(e,r,o,h[p],s+"/"+d+"/"+p,a,s,d,i,p)}else if(d in t.propsKeywords){if(h&&"object"==typeof h)for(var m in h)n(e,r,o,h[m],s+"/"+d+"/"+m.replace(/~/g,"~0").replace(/\//g,"~1"),a,s,d,i,m)}else(d in t.keywords||e.allKeys&&!(d in t.skipKeywords))&&n(e,r,o,h,s+"/"+d,a,s,d,i)}o(i,s,a,u,c,l,f)}}t.keywords={additionalItems:!0,items:!0,contains:!0,additionalProperties:!0,propertyNames:!0,not:!0,if:!0,then:!0,else:!0},t.arrayKeywords={items:!0,allOf:!0,anyOf:!0,oneOf:!0},t.propsKeywords={$defs:!0,definitions:!0,properties:!0,patternProperties:!0,dependencies:!0},t.skipKeywords={default:!0,enum:!0,const:!0,required:!0,maximum:!0,minimum:!0,exclusiveMaximum:!0,exclusiveMinimum:!0,multipleOf:!0,maxLength:!0,minLength:!0,pattern:!0,format:!0,maxItems:!0,minItems:!0,uniqueItems:!0,maxProperties:!0,minProperties:!0}},96111:function(e){e.exports=function(){"use strict";function e(e,t){return e(t={exports:{}},t.exports),t.exports}var t=e((function(e){var t=e.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=t)})),n=e((function(e){var t=e.exports={version:"2.6.5"};"number"==typeof __e&&(__e=t)})),r=(n.version,function(e){return"object"==typeof e?null!==e:"function"==typeof e}),o=function(e){if(!r(e))throw TypeError(e+" is not an object!");return e},i=function(e){try{return!!e()}catch(t){return!0}},s=!i((function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})),a=t.document,u=r(a)&&r(a.createElement),c=function(e){return u?a.createElement(e):{}},l=!s&&!i((function(){return 7!=Object.defineProperty(c("div"),"a",{get:function(){return 7}}).a})),f=function(e,t){if(!r(e))return e;var n,o;if(t&&"function"==typeof(n=e.toString)&&!r(o=n.call(e)))return o;if("function"==typeof(n=e.valueOf)&&!r(o=n.call(e)))return o;if(!t&&"function"==typeof(n=e.toString)&&!r(o=n.call(e)))return o;throw TypeError("Can't convert object to primitive value")},d=Object.defineProperty,h={f:s?Object.defineProperty:function(e,t,n){if(o(e),t=f(t,!0),o(n),l)try{return d(e,t,n)}catch(r){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(e[t]=n.value),e}},p=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}},m=s?function(e,t,n){return h.f(e,t,p(1,n))}:function(e,t,n){return e[t]=n,e},g={}.hasOwnProperty,y=function(e,t){return g.call(e,t)},v=0,b=Math.random(),_=function(e){return"Symbol(".concat(void 0===e?"":e,")_",(++v+b).toString(36))},w=!1,E=e((function(e){var r="__core-js_shared__",o=t[r]||(t[r]={});(e.exports=function(e,t){return o[e]||(o[e]=void 0!==t?t:{})})("versions",[]).push({version:n.version,mode:w?"pure":"global",copyright:"\xa9 2019 Denis Pushkarev (zloirock.ru)"})})),k=E("native-function-to-string",Function.toString),x=e((function(e){var r=_("src"),o="toString",i=(""+k).split(o);n.inspectSource=function(e){return k.call(e)},(e.exports=function(e,n,o,s){var a="function"==typeof o;a&&(y(o,"name")||m(o,"name",n)),e[n]!==o&&(a&&(y(o,r)||m(o,r,e[n]?""+e[n]:i.join(String(n)))),e===t?e[n]=o:s?e[n]?e[n]=o:m(e,n,o):(delete e[n],m(e,n,o)))})(Function.prototype,o,(function(){return"function"==typeof this&&this[r]||k.call(this)}))})),D=function(e){if("function"!=typeof e)throw TypeError(e+" is not a function!");return e},S=function(e,t,n){if(D(e),void 0===t)return e;switch(n){case 1:return function(n){return e.call(t,n)};case 2:return function(n,r){return e.call(t,n,r)};case 3:return function(n,r,o){return e.call(t,n,r,o)}}return function(){return e.apply(t,arguments)}},C="prototype",O=function(e,r,o){var i,s,a,u,c=e&O.F,l=e&O.G,f=e&O.S,d=e&O.P,h=e&O.B,p=l?t:f?t[r]||(t[r]={}):(t[r]||{})[C],g=l?n:n[r]||(n[r]={}),y=g[C]||(g[C]={});for(i in l&&(o=r),o)a=((s=!c&&p&&void 0!==p[i])?p:o)[i],u=h&&s?S(a,t):d&&"function"==typeof a?S(Function.call,a):a,p&&x(p,i,a,e&O.U),g[i]!=a&&m(g,i,u),d&&y[i]!=a&&(y[i]=a)};t.core=n,O.F=1,O.G=2,O.S=4,O.P=8,O.B=16,O.W=32,O.U=64,O.R=128;var $,A=O,P=Math.ceil,j=Math.floor,F=function(e){return isNaN(e=+e)?0:(e>0?j:P)(e)},I=function(e){if(null==e)throw TypeError("Can't call method on "+e);return e},N=($=!1,function(e,t){var n,r,o=String(I(e)),i=F(t),s=o.length;return i<0||i>=s?$?"":void 0:(n=o.charCodeAt(i))<55296||n>56319||i+1===s||(r=o.charCodeAt(i+1))<56320||r>57343?$?o.charAt(i):n:$?o.slice(i,i+2):r-56320+(n-55296<<10)+65536});A(A.P,"String",{codePointAt:function(e){return N(this,e)}}),n.String.codePointAt;var T=Math.max,M=Math.min,R=function(e,t){return(e=F(e))<0?T(e+t,0):M(e,t)},B=String.fromCharCode,L=String.fromCodePoint;A(A.S+A.F*(!!L&&1!=L.length),"String",{fromCodePoint:function(e){for(var t,n=arguments,r=[],o=arguments.length,i=0;o>i;){if(t=+n[i++],R(t,1114111)!==t)throw RangeError(t+" is not a valid code point");r.push(t<65536?B(t):B(55296+((t-=65536)>>10),t%1024+56320))}return r.join("")}}),n.String.fromCodePoint;var z,U,q,V,Q,X,H,K,J,W,G,Z,Y,ee,te={Space_Separator:/[\u1680\u2000-\u200A\u202F\u205F\u3000]/,ID_Start:/[\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\u0860-\u086A\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\u09FC\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-\u312E\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FEA\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]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDD40-\uDD74\uDE80-\uDE9C\uDEA0-\uDED0\uDF00-\uDF1F\uDF2D-\uDF4A\uDF50-\uDF75\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF\uDFD1-\uDFD5]|\uD801[\uDC00-\uDC9D\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00\uDE10-\uDE13\uDE15-\uDE17\uDE19-\uDE33\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE4\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2]|\uD804[\uDC03-\uDC37\uDC83-\uDCAF\uDCD0-\uDCE8\uDD03-\uDD26\uDD50-\uDD72\uDD76\uDD83-\uDDB2\uDDC1-\uDDC4\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE2B\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEDE\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3D\uDF50\uDF5D-\uDF61]|\uD805[\uDC00-\uDC34\uDC47-\uDC4A\uDC80-\uDCAF\uDCC4\uDCC5\uDCC7\uDD80-\uDDAE\uDDD8-\uDDDB\uDE00-\uDE2F\uDE44\uDE80-\uDEAA\uDF00-\uDF19]|\uD806[\uDCA0-\uDCDF\uDCFF\uDE00\uDE0B-\uDE32\uDE3A\uDE50\uDE5C-\uDE83\uDE86-\uDE89\uDEC0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC2E\uDC40\uDC72-\uDC8F\uDD00-\uDD06\uDD08\uDD09\uDD0B-\uDD30\uDD46]|\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC80-\uDD43]|[\uD80C\uD81C-\uD820\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872\uD874-\uD879][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDED0-\uDEED\uDF00-\uDF2F\uDF40-\uDF43\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDF00-\uDF44\uDF50\uDF93-\uDF9F\uDFE0\uDFE1]|\uD821[\uDC00-\uDFEC]|\uD822[\uDC00-\uDEF2]|\uD82C[\uDC00-\uDD1E\uDD70-\uDEFB]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB]|\uD83A[\uDC00-\uDCC4\uDD00-\uDD43]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDED6\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF34\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1\uDEB0-\uDFFF]|\uD87A[\uDC00-\uDFE0]|\uD87E[\uDC00-\uDE1D]/,ID_Continue:/[\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\u0860-\u086A\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\u09FC\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-\u0AFF\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\u0D00-\u0D03\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\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-\u1CF9\u1D00-\u1DF9\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\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-\u312E\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FEA\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]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDD40-\uDD74\uDDFD\uDE80-\uDE9C\uDEA0-\uDED0\uDEE0\uDF00-\uDF1F\uDF2D-\uDF4A\uDF50-\uDF7A\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF\uDFD1-\uDFD5]|\uD801[\uDC00-\uDC9D\uDCA0-\uDCA9\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00-\uDE03\uDE05\uDE06\uDE0C-\uDE13\uDE15-\uDE17\uDE19-\uDE33\uDE38-\uDE3A\uDE3F\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE6\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2]|\uD804[\uDC00-\uDC46\uDC66-\uDC6F\uDC7F-\uDCBA\uDCD0-\uDCE8\uDCF0-\uDCF9\uDD00-\uDD34\uDD36-\uDD3F\uDD50-\uDD73\uDD76\uDD80-\uDDC4\uDDCA-\uDDCC\uDDD0-\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE37\uDE3E\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEEA\uDEF0-\uDEF9\uDF00-\uDF03\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3C-\uDF44\uDF47\uDF48\uDF4B-\uDF4D\uDF50\uDF57\uDF5D-\uDF63\uDF66-\uDF6C\uDF70-\uDF74]|\uD805[\uDC00-\uDC4A\uDC50-\uDC59\uDC80-\uDCC5\uDCC7\uDCD0-\uDCD9\uDD80-\uDDB5\uDDB8-\uDDC0\uDDD8-\uDDDD\uDE00-\uDE40\uDE44\uDE50-\uDE59\uDE80-\uDEB7\uDEC0-\uDEC9\uDF00-\uDF19\uDF1D-\uDF2B\uDF30-\uDF39]|\uD806[\uDCA0-\uDCE9\uDCFF\uDE00-\uDE3E\uDE47\uDE50-\uDE83\uDE86-\uDE99\uDEC0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC36\uDC38-\uDC40\uDC50-\uDC59\uDC72-\uDC8F\uDC92-\uDCA7\uDCA9-\uDCB6\uDD00-\uDD06\uDD08\uDD09\uDD0B-\uDD36\uDD3A\uDD3C\uDD3D\uDD3F-\uDD47\uDD50-\uDD59]|\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC80-\uDD43]|[\uD80C\uD81C-\uD820\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872\uD874-\uD879][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDE60-\uDE69\uDED0-\uDEED\uDEF0-\uDEF4\uDF00-\uDF36\uDF40-\uDF43\uDF50-\uDF59\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDF00-\uDF44\uDF50-\uDF7E\uDF8F-\uDF9F\uDFE0\uDFE1]|\uD821[\uDC00-\uDFEC]|\uD822[\uDC00-\uDEF2]|\uD82C[\uDC00-\uDD1E\uDD70-\uDEFB]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99\uDC9D\uDC9E]|\uD834[\uDD65-\uDD69\uDD6D-\uDD72\uDD7B-\uDD82\uDD85-\uDD8B\uDDAA-\uDDAD\uDE42-\uDE44]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB\uDFCE-\uDFFF]|\uD836[\uDE00-\uDE36\uDE3B-\uDE6C\uDE75\uDE84\uDE9B-\uDE9F\uDEA1-\uDEAF]|\uD838[\uDC00-\uDC06\uDC08-\uDC18\uDC1B-\uDC21\uDC23\uDC24\uDC26-\uDC2A]|\uD83A[\uDC00-\uDCC4\uDCD0-\uDCD6\uDD00-\uDD4A\uDD50-\uDD59]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDED6\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF34\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1\uDEB0-\uDFFF]|\uD87A[\uDC00-\uDFE0]|\uD87E[\uDC00-\uDE1D]|\uDB40[\uDD00-\uDDEF]/},ne={isSpaceSeparator:function(e){return"string"==typeof e&&te.Space_Separator.test(e)},isIdStartChar:function(e){return"string"==typeof e&&(e>="a"&&e<="z"||e>="A"&&e<="Z"||"$"===e||"_"===e||te.ID_Start.test(e))},isIdContinueChar:function(e){return"string"==typeof e&&(e>="a"&&e<="z"||e>="A"&&e<="Z"||e>="0"&&e<="9"||"$"===e||"_"===e||"\u200c"===e||"\u200d"===e||te.ID_Continue.test(e))},isDigit:function(e){return"string"==typeof e&&/[0-9]/.test(e)},isHexDigit:function(e){return"string"==typeof e&&/[0-9A-Fa-f]/.test(e)}},re=function(e,t){z=String(e),U="start",q=[],V=0,Q=1,X=0,H=void 0,K=void 0,J=void 0;do{H=ie(),pe[U]()}while("eof"!==H.type);return"function"==typeof t?oe({"":J},"",t):J};function oe(e,t,n){var r=e[t];if(null!=r&&"object"==typeof r)if(Array.isArray(r))for(var o=0;o<r.length;o++){var i=String(o),s=oe(r,i,n);void 0===s?delete r[i]:Object.defineProperty(r,i,{value:s,writable:!0,enumerable:!0,configurable:!0})}else for(var a in r){var u=oe(r,a,n);void 0===u?delete r[a]:Object.defineProperty(r,a,{value:u,writable:!0,enumerable:!0,configurable:!0})}return n.call(e,t,r)}function ie(){for(W="default",G="",Z=!1,Y=1;;){ee=se();var e=ue[W]();if(e)return e}}function se(){if(z[V])return String.fromCodePoint(z.codePointAt(V))}function ae(){var e=se();return"\n"===e?(Q++,X=0):e?X+=e.length:X++,e&&(V+=e.length),e}var ue={default:function(){switch(ee){case"\t":case"\v":case"\f":case" ":case"\xa0":case"\ufeff":case"\n":case"\r":case"\u2028":case"\u2029":return void ae();case"/":return ae(),void(W="comment");case void 0:return ae(),ce("eof")}if(!ne.isSpaceSeparator(ee))return ue[U]();ae()},comment:function(){switch(ee){case"*":return ae(),void(W="multiLineComment");case"/":return ae(),void(W="singleLineComment")}throw ye(ae())},multiLineComment:function(){switch(ee){case"*":return ae(),void(W="multiLineCommentAsterisk");case void 0:throw ye(ae())}ae()},multiLineCommentAsterisk:function(){switch(ee){case"*":return void ae();case"/":return ae(),void(W="default");case void 0:throw ye(ae())}ae(),W="multiLineComment"},singleLineComment:function(){switch(ee){case"\n":case"\r":case"\u2028":case"\u2029":return ae(),void(W="default");case void 0:return ae(),ce("eof")}ae()},value:function(){switch(ee){case"{":case"[":return ce("punctuator",ae());case"n":return ae(),le("ull"),ce("null",null);case"t":return ae(),le("rue"),ce("boolean",!0);case"f":return ae(),le("alse"),ce("boolean",!1);case"-":case"+":return"-"===ae()&&(Y=-1),void(W="sign");case".":return G=ae(),void(W="decimalPointLeading");case"0":return G=ae(),void(W="zero");case"1":case"2":case"3":case"4":case"5":case"6":case"7":case"8":case"9":return G=ae(),void(W="decimalInteger");case"I":return ae(),le("nfinity"),ce("numeric",1/0);case"N":return ae(),le("aN"),ce("numeric",NaN);case'"':case"'":return Z='"'===ae(),G="",void(W="string")}throw ye(ae())},identifierNameStartEscape:function(){if("u"!==ee)throw ye(ae());ae();var e=he();switch(e){case"$":case"_":break;default:if(!ne.isIdStartChar(e))throw be()}G+=e,W="identifierName"},identifierName:function(){switch(ee){case"$":case"_":case"\u200c":case"\u200d":return void(G+=ae());case"\\":return ae(),void(W="identifierNameEscape")}if(!ne.isIdContinueChar(ee))return ce("identifier",G);G+=ae()},identifierNameEscape:function(){if("u"!==ee)throw ye(ae());ae();var e=he();switch(e){case"$":case"_":case"\u200c":case"\u200d":break;default:if(!ne.isIdContinueChar(e))throw be()}G+=e,W="identifierName"},sign:function(){switch(ee){case".":return G=ae(),void(W="decimalPointLeading");case"0":return G=ae(),void(W="zero");case"1":case"2":case"3":case"4":case"5":case"6":case"7":case"8":case"9":return G=ae(),void(W="decimalInteger");case"I":return ae(),le("nfinity"),ce("numeric",Y*(1/0));case"N":return ae(),le("aN"),ce("numeric",NaN)}throw ye(ae())},zero:function(){switch(ee){case".":return G+=ae(),void(W="decimalPoint");case"e":case"E":return G+=ae(),void(W="decimalExponent");case"x":case"X":return G+=ae(),void(W="hexadecimal")}return ce("numeric",0*Y)},decimalInteger:function(){switch(ee){case".":return G+=ae(),void(W="decimalPoint");case"e":case"E":return G+=ae(),void(W="decimalExponent")}if(!ne.isDigit(ee))return ce("numeric",Y*Number(G));G+=ae()},decimalPointLeading:function(){if(ne.isDigit(ee))return G+=ae(),void(W="decimalFraction");throw ye(ae())},decimalPoint:function(){switch(ee){case"e":case"E":return G+=ae(),void(W="decimalExponent")}return ne.isDigit(ee)?(G+=ae(),void(W="decimalFraction")):ce("numeric",Y*Number(G))},decimalFraction:function(){switch(ee){case"e":case"E":return G+=ae(),void(W="decimalExponent")}if(!ne.isDigit(ee))return ce("numeric",Y*Number(G));G+=ae()},decimalExponent:function(){switch(ee){case"+":case"-":return G+=ae(),void(W="decimalExponentSign")}if(ne.isDigit(ee))return G+=ae(),void(W="decimalExponentInteger");throw ye(ae())},decimalExponentSign:function(){if(ne.isDigit(ee))return G+=ae(),void(W="decimalExponentInteger");throw ye(ae())},decimalExponentInteger:function(){if(!ne.isDigit(ee))return ce("numeric",Y*Number(G));G+=ae()},hexadecimal:function(){if(ne.isHexDigit(ee))return G+=ae(),void(W="hexadecimalInteger");throw ye(ae())},hexadecimalInteger:function(){if(!ne.isHexDigit(ee))return ce("numeric",Y*Number(G));G+=ae()},string:function(){switch(ee){case"\\":return ae(),void(G+=fe());case'"':return Z?(ae(),ce("string",G)):void(G+=ae());case"'":return Z?void(G+=ae()):(ae(),ce("string",G));case"\n":case"\r":throw ye(ae());case"\u2028":case"\u2029":_e(ee);break;case void 0:throw ye(ae())}G+=ae()},start:function(){switch(ee){case"{":case"[":return ce("punctuator",ae())}W="value"},beforePropertyName:function(){switch(ee){case"$":case"_":return G=ae(),void(W="identifierName");case"\\":return ae(),void(W="identifierNameStartEscape");case"}":return ce("punctuator",ae());case'"':case"'":return Z='"'===ae(),void(W="string")}if(ne.isIdStartChar(ee))return G+=ae(),void(W="identifierName");throw ye(ae())},afterPropertyName:function(){if(":"===ee)return ce("punctuator",ae());throw ye(ae())},beforePropertyValue:function(){W="value"},afterPropertyValue:function(){switch(ee){case",":case"}":return ce("punctuator",ae())}throw ye(ae())},beforeArrayValue:function(){if("]"===ee)return ce("punctuator",ae());W="value"},afterArrayValue:function(){switch(ee){case",":case"]":return ce("punctuator",ae())}throw ye(ae())},end:function(){throw ye(ae())}};function ce(e,t){return{type:e,value:t,line:Q,column:X}}function le(e){for(var t=0,n=e;t<n.length;t+=1){var r=n[t];if(se()!==r)throw ye(ae());ae()}}function fe(){switch(se()){case"b":return ae(),"\b";case"f":return ae(),"\f";case"n":return ae(),"\n";case"r":return ae(),"\r";case"t":return ae(),"\t";case"v":return ae(),"\v";case"0":if(ae(),ne.isDigit(se()))throw ye(ae());return"\0";case"x":return ae(),de();case"u":return ae(),he();case"\n":case"\u2028":case"\u2029":return ae(),"";case"\r":return ae(),"\n"===se()&&ae(),"";case"1":case"2":case"3":case"4":case"5":case"6":case"7":case"8":case"9":case void 0:throw ye(ae())}return ae()}function de(){var e="",t=se();if(!ne.isHexDigit(t))throw ye(ae());if(e+=ae(),t=se(),!ne.isHexDigit(t))throw ye(ae());return e+=ae(),String.fromCodePoint(parseInt(e,16))}function he(){for(var e="",t=4;t-- >0;){var n=se();if(!ne.isHexDigit(n))throw ye(ae());e+=ae()}return String.fromCodePoint(parseInt(e,16))}var pe={start:function(){if("eof"===H.type)throw ve();me()},beforePropertyName:function(){switch(H.type){case"identifier":case"string":return K=H.value,void(U="afterPropertyName");case"punctuator":return void ge();case"eof":throw ve()}},afterPropertyName:function(){if("eof"===H.type)throw ve();U="beforePropertyValue"},beforePropertyValue:function(){if("eof"===H.type)throw ve();me()},beforeArrayValue:function(){if("eof"===H.type)throw ve();"punctuator"!==H.type||"]"!==H.value?me():ge()},afterPropertyValue:function(){if("eof"===H.type)throw ve();switch(H.value){case",":return void(U="beforePropertyName");case"}":ge()}},afterArrayValue:function(){if("eof"===H.type)throw ve();switch(H.value){case",":return void(U="beforeArrayValue");case"]":ge()}},end:function(){}};function me(){var e;switch(H.type){case"punctuator":switch(H.value){case"{":e={};break;case"[":e=[]}break;case"null":case"boolean":case"numeric":case"string":e=H.value}if(void 0===J)J=e;else{var t=q[q.length-1];Array.isArray(t)?t.push(e):Object.defineProperty(t,K,{value:e,writable:!0,enumerable:!0,configurable:!0})}if(null!==e&&"object"==typeof e)q.push(e),U=Array.isArray(e)?"beforeArrayValue":"beforePropertyName";else{var n=q[q.length-1];U=null==n?"end":Array.isArray(n)?"afterArrayValue":"afterPropertyValue"}}function ge(){q.pop();var e=q[q.length-1];U=null==e?"end":Array.isArray(e)?"afterArrayValue":"afterPropertyValue"}function ye(e){return Ee(void 0===e?"JSON5: invalid end of input at "+Q+":"+X:"JSON5: invalid character '"+we(e)+"' at "+Q+":"+X)}function ve(){return Ee("JSON5: invalid end of input at "+Q+":"+X)}function be(){return Ee("JSON5: invalid identifier character at "+Q+":"+(X-=5))}function _e(e){console.warn("JSON5: '"+we(e)+"' in strings is not valid ECMAScript; consider escaping")}function we(e){var t={"'":"\\'",'"':'\\"',"\\":"\\\\","\b":"\\b","\f":"\\f","\n":"\\n","\r":"\\r","\t":"\\t","\v":"\\v","\0":"\\0","\u2028":"\\u2028","\u2029":"\\u2029"};if(t[e])return t[e];if(e<" "){var n=e.charCodeAt(0).toString(16);return"\\x"+("00"+n).substring(n.length)}return e}function Ee(e){var t=new SyntaxError(e);return t.lineNumber=Q,t.columnNumber=X,t}return{parse:re,stringify:function(e,t,n){var r,o,i,s=[],a="",u="";if(null==t||"object"!=typeof t||Array.isArray(t)||(n=t.space,i=t.quote,t=t.replacer),"function"==typeof t)o=t;else if(Array.isArray(t)){r=[];for(var c=0,l=t;c<l.length;c+=1){var f=l[c],d=void 0;"string"==typeof f?d=f:("number"==typeof f||f instanceof String||f instanceof Number)&&(d=String(f)),void 0!==d&&r.indexOf(d)<0&&r.push(d)}}return n instanceof Number?n=Number(n):n instanceof String&&(n=String(n)),"number"==typeof n?n>0&&(n=Math.min(10,Math.floor(n)),u=" ".substr(0,n)):"string"==typeof n&&(u=n.substr(0,10)),h("",{"":e});function h(e,t){var n=t[e];switch(null!=n&&("function"==typeof n.toJSON5?n=n.toJSON5(e):"function"==typeof n.toJSON&&(n=n.toJSON(e))),o&&(n=o.call(t,e,n)),n instanceof Number?n=Number(n):n instanceof String?n=String(n):n instanceof Boolean&&(n=n.valueOf()),n){case null:return"null";case!0:return"true";case!1:return"false"}return"string"==typeof n?p(n,!1):"number"==typeof n?String(n):"object"==typeof n?Array.isArray(n)?y(n):m(n):void 0}function p(e){for(var t={"'":.1,'"':.2},n={"'":"\\'",'"':'\\"',"\\":"\\\\","\b":"\\b","\f":"\\f","\n":"\\n","\r":"\\r","\t":"\\t","\v":"\\v","\0":"\\0","\u2028":"\\u2028","\u2029":"\\u2029"},r="",o=0;o<e.length;o++){var s=e[o];switch(s){case"'":case'"':t[s]++,r+=s;continue;case"\0":if(ne.isDigit(e[o+1])){r+="\\x00";continue}}if(n[s])r+=n[s];else if(s<" "){var a=s.charCodeAt(0).toString(16);r+="\\x"+("00"+a).substring(a.length)}else r+=s}var u=i||Object.keys(t).reduce((function(e,n){return t[e]<t[n]?e:n}));return u+(r=r.replace(new RegExp(u,"g"),n[u]))+u}function m(e){if(s.indexOf(e)>=0)throw TypeError("Converting circular structure to JSON5");s.push(e);var t=a;a+=u;for(var n,o,i=[],c=0,l=r||Object.keys(e);c<l.length;c+=1){var f=l[c],d=h(f,e);if(void 0!==d){var p=g(f)+":";""!==u&&(p+=" "),p+=d,i.push(p)}}if(0===i.length)n="{}";else if(""===u)n="{"+(o=i.join(","))+"}";else{var m=",\n"+a;o=i.join(m),n="{\n"+a+o+",\n"+t+"}"}return s.pop(),a=t,n}function g(e){if(0===e.length)return p(e,!0);var t=String.fromCodePoint(e.codePointAt(0));if(!ne.isIdStartChar(t))return p(e,!0);for(var n=t.length;n<e.length;n++)if(!ne.isIdContinueChar(String.fromCodePoint(e.codePointAt(n))))return p(e,!0);return e}function y(e){if(s.indexOf(e)>=0)throw TypeError("Converting circular structure to JSON5");s.push(e);var t=a;a+=u;for(var n,r=[],o=0;o<e.length;o++){var i=h(String(o),e);r.push(void 0!==i?i:"null")}if(0===r.length)n="[]";else if(""===u)n="["+r.join(",")+"]";else{var c=",\n"+a,l=r.join(c);n="[\n"+a+l+",\n"+t+"]"}return s.pop(),a=t,n}}}}()},404:(e,t)=>{var n=/~/,r=/~[01]/g;function o(e){switch(e){case"~1":return"/";case"~0":return"~"}throw new Error("Invalid tilde escape: "+e)}function i(e){return n.test(e)?e.replace(r,o):e}function s(e){if("string"==typeof e){if(""===(e=e.split("/"))[0])return e;throw new Error("Invalid JSON pointer.")}if(Array.isArray(e)){for(const t of e)if("string"!=typeof t&&"number"!=typeof t)throw new Error("Invalid JSON pointer. Must be of type string or number.");return e}throw new Error("Invalid JSON pointer.")}function a(e,t){if("object"!=typeof e)throw new Error("Invalid input object.");var n=(t=s(t)).length;if(1===n)return e;for(var r=1;r<n;){if(e=e[i(t[r++])],n===r)return e;if("object"!=typeof e||null===e)return}}function u(e,t,n){if("object"!=typeof e)throw new Error("Invalid input object.");if(0===(t=s(t)).length)throw new Error("Invalid JSON pointer for set.");return function(e,t,n){for(var r,o,s=1,a=t.length;s<a;){if("constructor"===t[s]||"prototype"===t[s]||"__proto__"===t[s])return e;if(r=i(t[s++]),o=a>s,void 0===e[r]&&(Array.isArray(e)&&"-"===r&&(r=e.length),o&&(""!==t[s]&&t[s]<1/0||"-"===t[s]?e[r]=[]:e[r]={})),!o)break;e=e[r]}var u=e[r];return void 0===n?delete e[r]:e[r]=n,u}(e,t,n)}t.get=a,t.set=u,t.compile=function(e){var t=s(e);return{get:function(e){return a(e,t)},set:function(e,n){return u(e,t,n)}}}},22038:e=>{"use strict";const t=[],n=[],r=(e,r)=>{if(e===r)return 0;const o=e;e.length>r.length&&(e=r,r=o);let i=e.length,s=r.length;for(;i>0&&e.charCodeAt(~-i)===r.charCodeAt(~-s);)i--,s--;let a,u,c,l,f=0;for(;f<i&&e.charCodeAt(f)===r.charCodeAt(f);)f++;if(i-=f,s-=f,0===i)return s;let d=0,h=0;for(;d<i;)n[d]=e.charCodeAt(f+d),t[d]=++d;for(;h<s;)for(a=r.charCodeAt(f+h),c=h++,u=h,d=0;d<i;d++)l=a===n[d]?c:c+1,c=t[d],u=t[d]=c>u?l>u?u+1:l:l>c?c+1:l;return u};e.exports=r,e.exports.default=r},89612:(e,t,n)=>{var r=n(52118),o=n(96909),i=n(98138),s=n(4174),a=n(7942);function u(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}u.prototype.clear=r,u.prototype.delete=o,u.prototype.get=i,u.prototype.has=s,u.prototype.set=a,e.exports=u},80235:(e,t,n)=>{var r=n(3945),o=n(21846),i=n(88028),s=n(72344),a=n(94769);function u(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}u.prototype.clear=r,u.prototype.delete=o,u.prototype.get=i,u.prototype.has=s,u.prototype.set=a,e.exports=u},10326:(e,t,n)=>{var r=n(38761)(n(37772),"Map");e.exports=r},96738:(e,t,n)=>{var r=n(92411),o=n(36417),i=n(86928),s=n(79493),a=n(24150);function u(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}u.prototype.clear=r,u.prototype.delete=o,u.prototype.get=i,u.prototype.has=s,u.prototype.set=a,e.exports=u},50857:(e,t,n)=>{var r=n(37772).Symbol;e.exports=r},50343:e=>{e.exports=function(e,t){for(var n=-1,r=null==e?0:e.length,o=Array(r);++n<r;)o[n]=t(e[n],n,e);return o}},60091:(e,t,n)=>{var r=n(13940),o=n(41225),i=Object.prototype.hasOwnProperty;e.exports=function(e,t,n){var s=e[t];i.call(e,t)&&o(s,n)&&(void 0!==n||t in e)||r(e,t,n)}},22218:(e,t,n)=>{var r=n(41225);e.exports=function(e,t){for(var n=e.length;n--;)if(r(e[n][0],t))return n;return-1}},13940:(e,t,n)=>{var r=n(83043);e.exports=function(e,t,n){"__proto__"==t&&r?r(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n}},13324:(e,t,n)=>{var r=n(17297),o=n(33812);e.exports=function(e,t){for(var n=0,i=(t=r(t,e)).length;null!=e&&n<i;)e=e[o(t[n++])];return n&&n==i?e:void 0}},53366:(e,t,n)=>{var r=n(50857),o=n(62107),i=n(37157),s=r?r.toStringTag:void 0;e.exports=function(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":s&&s in Object(e)?o(e):i(e)}},6840:(e,t,n)=>{var r=n(61049),o=n(47394),i=n(29259),s=n(87035),a=/^\[object .+?Constructor\]$/,u=Function.prototype,c=Object.prototype,l=u.toString,f=c.hasOwnProperty,d=RegExp("^"+l.call(f).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");e.exports=function(e){return!(!i(e)||o(e))&&(r(e)?d:a).test(s(e))}},82857:(e,t,n)=>{var r=n(60091),o=n(17297),i=n(39045),s=n(29259),a=n(33812);e.exports=function(e,t,n,u){if(!s(e))return e;for(var c=-1,l=(t=o(t,e)).length,f=l-1,d=e;null!=d&&++c<l;){var h=a(t[c]),p=n;if("__proto__"===h||"constructor"===h||"prototype"===h)return e;if(c!=f){var m=d[h];void 0===(p=u?u(m,h,d):void 0)&&(p=s(m)?m:i(t[c+1])?[]:{})}r(d,h,p),d=d[h]}return e}},1054:(e,t,n)=>{var r=n(50857),o=n(50343),i=n(86152),s=n(4795),a=r?r.prototype:void 0,u=a?a.toString:void 0;e.exports=function e(t){if("string"==typeof t)return t;if(i(t))return o(t,e)+"";if(s(t))return u?u.call(t):"";var n=t+"";return"0"==n&&1/t==-Infinity?"-0":n}},17297:(e,t,n)=>{var r=n(86152),o=n(21401),i=n(54452),s=n(66188);e.exports=function(e,t){return r(e)?e:o(e,t)?[e]:i(s(e))}},24019:(e,t,n)=>{var r=n(37772)["__core-js_shared__"];e.exports=r},83043:(e,t,n)=>{var r=n(38761),o=function(){try{var e=r(Object,"defineProperty");return e({},"",{}),e}catch(t){}}();e.exports=o},51242:(e,t,n)=>{var r="object"==typeof n.g&&n.g&&n.g.Object===Object&&n.g;e.exports=r},27937:(e,t,n)=>{var r=n(98304);e.exports=function(e,t){var n=e.__data__;return r(t)?n["string"==typeof t?"string":"hash"]:n.map}},38761:(e,t,n)=>{var r=n(6840),o=n(98109);e.exports=function(e,t){var n=o(e,t);return r(n)?n:void 0}},62107:(e,t,n)=>{var r=n(50857),o=Object.prototype,i=o.hasOwnProperty,s=o.toString,a=r?r.toStringTag:void 0;e.exports=function(e){var t=i.call(e,a),n=e[a];try{e[a]=void 0;var r=!0}catch(u){}var o=s.call(e);return r&&(t?e[a]=n:delete e[a]),o}},98109:e=>{e.exports=function(e,t){return null==e?void 0:e[t]}},52118:(e,t,n)=>{var r=n(99191);e.exports=function(){this.__data__=r?r(null):{},this.size=0}},96909:e=>{e.exports=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}},98138:(e,t,n)=>{var r=n(99191),o=Object.prototype.hasOwnProperty;e.exports=function(e){var t=this.__data__;if(r){var n=t[e];return"__lodash_hash_undefined__"===n?void 0:n}return o.call(t,e)?t[e]:void 0}},4174:(e,t,n)=>{var r=n(99191),o=Object.prototype.hasOwnProperty;e.exports=function(e){var t=this.__data__;return r?void 0!==t[e]:o.call(t,e)}},7942:(e,t,n)=>{var r=n(99191);e.exports=function(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=r&&void 0===t?"__lodash_hash_undefined__":t,this}},39045:e=>{var t=/^(?:0|[1-9]\d*)$/;e.exports=function(e,n){var r=typeof e;return!!(n=null==n?9007199254740991:n)&&("number"==r||"symbol"!=r&&t.test(e))&&e>-1&&e%1==0&&e<n}},21401:(e,t,n)=>{var r=n(86152),o=n(4795),i=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,s=/^\w*$/;e.exports=function(e,t){if(r(e))return!1;var n=typeof e;return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=e&&!o(e))||(s.test(e)||!i.test(e)||null!=t&&e in Object(t))}},98304:e=>{e.exports=function(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e}},47394:(e,t,n)=>{var r,o=n(24019),i=(r=/[^.]+$/.exec(o&&o.keys&&o.keys.IE_PROTO||""))?"Symbol(src)_1."+r:"";e.exports=function(e){return!!i&&i in e}},3945:e=>{e.exports=function(){this.__data__=[],this.size=0}},21846:(e,t,n)=>{var r=n(22218),o=Array.prototype.splice;e.exports=function(e){var t=this.__data__,n=r(t,e);return!(n<0)&&(n==t.length-1?t.pop():o.call(t,n,1),--this.size,!0)}},88028:(e,t,n)=>{var r=n(22218);e.exports=function(e){var t=this.__data__,n=r(t,e);return n<0?void 0:t[n][1]}},72344:(e,t,n)=>{var r=n(22218);e.exports=function(e){return r(this.__data__,e)>-1}},94769:(e,t,n)=>{var r=n(22218);e.exports=function(e,t){var n=this.__data__,o=r(n,e);return o<0?(++this.size,n.push([e,t])):n[o][1]=t,this}},92411:(e,t,n)=>{var r=n(89612),o=n(80235),i=n(10326);e.exports=function(){this.size=0,this.__data__={hash:new r,map:new(i||o),string:new r}}},36417:(e,t,n)=>{var r=n(27937);e.exports=function(e){var t=r(this,e).delete(e);return this.size-=t?1:0,t}},86928:(e,t,n)=>{var r=n(27937);e.exports=function(e){return r(this,e).get(e)}},79493:(e,t,n)=>{var r=n(27937);e.exports=function(e){return r(this,e).has(e)}},24150:(e,t,n)=>{var r=n(27937);e.exports=function(e,t){var n=r(this,e),o=n.size;return n.set(e,t),this.size+=n.size==o?0:1,this}},77777:(e,t,n)=>{var r=n(30733);e.exports=function(e){var t=r(e,(function(e){return 500===n.size&&n.clear(),e})),n=t.cache;return t}},99191:(e,t,n)=>{var r=n(38761)(Object,"create");e.exports=r},37157:e=>{var t=Object.prototype.toString;e.exports=function(e){return t.call(e)}},37772:(e,t,n)=>{var r=n(51242),o="object"==typeof self&&self&&self.Object===Object&&self,i=r||o||Function("return this")();e.exports=i},54452:(e,t,n)=>{var r=n(77777),o=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,i=/\\(\\)?/g,s=r((function(e){var t=[];return 46===e.charCodeAt(0)&&t.push(""),e.replace(o,(function(e,n,r,o){t.push(r?o.replace(i,"$1"):n||e)})),t}));e.exports=s},33812:(e,t,n)=>{var r=n(4795);e.exports=function(e){if("string"==typeof e||r(e))return e;var t=e+"";return"0"==t&&1/e==-Infinity?"-0":t}},87035:e=>{var t=Function.prototype.toString;e.exports=function(e){if(null!=e){try{return t.call(e)}catch(n){}try{return e+""}catch(n){}}return""}},41225:e=>{e.exports=function(e,t){return e===t||e!=e&&t!=t}},72579:(e,t,n)=>{var r=n(13324);e.exports=function(e,t,n){var o=null==e?void 0:r(e,t);return void 0===o?n:o}},86152:e=>{var t=Array.isArray;e.exports=t},61049:(e,t,n)=>{var r=n(53366),o=n(29259);e.exports=function(e){if(!o(e))return!1;var t=r(e);return"[object Function]"==t||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t}},29259:e=>{e.exports=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}},15125:e=>{e.exports=function(e){return null!=e&&"object"==typeof e}},4795:(e,t,n)=>{var r=n(53366),o=n(15125);e.exports=function(e){return"symbol"==typeof e||o(e)&&"[object Symbol]"==r(e)}},76635:function(e,t,n){var r;e=n.nmd(e),function(){var o,i="Expected a function",s="__lodash_hash_undefined__",a="__lodash_placeholder__",u=16,c=32,l=64,f=128,d=256,h=1/0,p=9007199254740991,m=NaN,g=4294967295,y=[["ary",f],["bind",1],["bindKey",2],["curry",8],["curryRight",u],["flip",512],["partial",c],["partialRight",l],["rearg",d]],v="[object Arguments]",b="[object Array]",_="[object Boolean]",w="[object Date]",E="[object Error]",k="[object Function]",x="[object GeneratorFunction]",D="[object Map]",S="[object Number]",C="[object Object]",O="[object Promise]",$="[object RegExp]",A="[object Set]",P="[object String]",j="[object Symbol]",F="[object WeakMap]",I="[object ArrayBuffer]",N="[object DataView]",T="[object Float32Array]",M="[object Float64Array]",R="[object Int8Array]",B="[object Int16Array]",L="[object Int32Array]",z="[object Uint8Array]",U="[object Uint8ClampedArray]",q="[object Uint16Array]",V="[object Uint32Array]",Q=/\b__p \+= '';/g,X=/\b(__p \+=) '' \+/g,H=/(__e\(.*?\)|\b__t\)) \+\n'';/g,K=/&(?:amp|lt|gt|quot|#39);/g,J=/[&<>"']/g,W=RegExp(K.source),G=RegExp(J.source),Z=/<%-([\s\S]+?)%>/g,Y=/<%([\s\S]+?)%>/g,ee=/<%=([\s\S]+?)%>/g,te=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,ne=/^\w*$/,re=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,oe=/[\\^$.*+?()[\]{}|]/g,ie=RegExp(oe.source),se=/^\s+/,ae=/\s/,ue=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,ce=/\{\n\/\* \[wrapped with (.+)\] \*/,le=/,? & /,fe=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,de=/[()=,{}\[\]\/\s]/,he=/\\(\\)?/g,pe=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,me=/\w*$/,ge=/^[-+]0x[0-9a-f]+$/i,ye=/^0b[01]+$/i,ve=/^\[object .+?Constructor\]$/,be=/^0o[0-7]+$/i,_e=/^(?:0|[1-9]\d*)$/,we=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,Ee=/($^)/,ke=/['\n\r\u2028\u2029\\]/g,xe="\\ud800-\\udfff",De="\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff",Se="\\u2700-\\u27bf",Ce="a-z\\xdf-\\xf6\\xf8-\\xff",Oe="A-Z\\xc0-\\xd6\\xd8-\\xde",$e="\\ufe0e\\ufe0f",Ae="\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",Pe="['\u2019]",je="["+xe+"]",Fe="["+Ae+"]",Ie="["+De+"]",Ne="\\d+",Te="["+Se+"]",Me="["+Ce+"]",Re="[^"+xe+Ae+Ne+Se+Ce+Oe+"]",Be="\\ud83c[\\udffb-\\udfff]",Le="[^"+xe+"]",ze="(?:\\ud83c[\\udde6-\\uddff]){2}",Ue="[\\ud800-\\udbff][\\udc00-\\udfff]",qe="["+Oe+"]",Ve="\\u200d",Qe="(?:"+Me+"|"+Re+")",Xe="(?:"+qe+"|"+Re+")",He="(?:['\u2019](?:d|ll|m|re|s|t|ve))?",Ke="(?:['\u2019](?:D|LL|M|RE|S|T|VE))?",Je="(?:"+Ie+"|"+Be+")"+"?",We="["+$e+"]?",Ge=We+Je+("(?:"+Ve+"(?:"+[Le,ze,Ue].join("|")+")"+We+Je+")*"),Ze="(?:"+[Te,ze,Ue].join("|")+")"+Ge,Ye="(?:"+[Le+Ie+"?",Ie,ze,Ue,je].join("|")+")",et=RegExp(Pe,"g"),tt=RegExp(Ie,"g"),nt=RegExp(Be+"(?="+Be+")|"+Ye+Ge,"g"),rt=RegExp([qe+"?"+Me+"+"+He+"(?="+[Fe,qe,"$"].join("|")+")",Xe+"+"+Ke+"(?="+[Fe,qe+Qe,"$"].join("|")+")",qe+"?"+Qe+"+"+He,qe+"+"+Ke,"\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])","\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",Ne,Ze].join("|"),"g"),ot=RegExp("["+Ve+xe+De+$e+"]"),it=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,st=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],at=-1,ut={};ut[T]=ut[M]=ut[R]=ut[B]=ut[L]=ut[z]=ut[U]=ut[q]=ut[V]=!0,ut[v]=ut[b]=ut[I]=ut[_]=ut[N]=ut[w]=ut[E]=ut[k]=ut[D]=ut[S]=ut[C]=ut[$]=ut[A]=ut[P]=ut[F]=!1;var ct={};ct[v]=ct[b]=ct[I]=ct[N]=ct[_]=ct[w]=ct[T]=ct[M]=ct[R]=ct[B]=ct[L]=ct[D]=ct[S]=ct[C]=ct[$]=ct[A]=ct[P]=ct[j]=ct[z]=ct[U]=ct[q]=ct[V]=!0,ct[E]=ct[k]=ct[F]=!1;var lt={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},ft=parseFloat,dt=parseInt,ht="object"==typeof n.g&&n.g&&n.g.Object===Object&&n.g,pt="object"==typeof self&&self&&self.Object===Object&&self,mt=ht||pt||Function("return this")(),gt=t&&!t.nodeType&&t,yt=gt&&e&&!e.nodeType&&e,vt=yt&&yt.exports===gt,bt=vt&&ht.process,_t=function(){try{var e=yt&&yt.require&&yt.require("util").types;return e||bt&&bt.binding&&bt.binding("util")}catch(t){}}(),wt=_t&&_t.isArrayBuffer,Et=_t&&_t.isDate,kt=_t&&_t.isMap,xt=_t&&_t.isRegExp,Dt=_t&&_t.isSet,St=_t&&_t.isTypedArray;function Ct(e,t,n){switch(n.length){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2])}return e.apply(t,n)}function Ot(e,t,n,r){for(var o=-1,i=null==e?0:e.length;++o<i;){var s=e[o];t(r,s,n(s),e)}return r}function $t(e,t){for(var n=-1,r=null==e?0:e.length;++n<r&&!1!==t(e[n],n,e););return e}function At(e,t){for(var n=null==e?0:e.length;n--&&!1!==t(e[n],n,e););return e}function Pt(e,t){for(var n=-1,r=null==e?0:e.length;++n<r;)if(!t(e[n],n,e))return!1;return!0}function jt(e,t){for(var n=-1,r=null==e?0:e.length,o=0,i=[];++n<r;){var s=e[n];t(s,n,e)&&(i[o++]=s)}return i}function Ft(e,t){return!!(null==e?0:e.length)&&qt(e,t,0)>-1}function It(e,t,n){for(var r=-1,o=null==e?0:e.length;++r<o;)if(n(t,e[r]))return!0;return!1}function Nt(e,t){for(var n=-1,r=null==e?0:e.length,o=Array(r);++n<r;)o[n]=t(e[n],n,e);return o}function Tt(e,t){for(var n=-1,r=t.length,o=e.length;++n<r;)e[o+n]=t[n];return e}function Mt(e,t,n,r){var o=-1,i=null==e?0:e.length;for(r&&i&&(n=e[++o]);++o<i;)n=t(n,e[o],o,e);return n}function Rt(e,t,n,r){var o=null==e?0:e.length;for(r&&o&&(n=e[--o]);o--;)n=t(n,e[o],o,e);return n}function Bt(e,t){for(var n=-1,r=null==e?0:e.length;++n<r;)if(t(e[n],n,e))return!0;return!1}var Lt=Ht("length");function zt(e,t,n){var r;return n(e,(function(e,n,o){if(t(e,n,o))return r=n,!1})),r}function Ut(e,t,n,r){for(var o=e.length,i=n+(r?1:-1);r?i--:++i<o;)if(t(e[i],i,e))return i;return-1}function qt(e,t,n){return t==t?function(e,t,n){var r=n-1,o=e.length;for(;++r<o;)if(e[r]===t)return r;return-1}(e,t,n):Ut(e,Qt,n)}function Vt(e,t,n,r){for(var o=n-1,i=e.length;++o<i;)if(r(e[o],t))return o;return-1}function Qt(e){return e!=e}function Xt(e,t){var n=null==e?0:e.length;return n?Wt(e,t)/n:m}function Ht(e){return function(t){return null==t?o:t[e]}}function Kt(e){return function(t){return null==e?o:e[t]}}function Jt(e,t,n,r,o){return o(e,(function(e,o,i){n=r?(r=!1,e):t(n,e,o,i)})),n}function Wt(e,t){for(var n,r=-1,i=e.length;++r<i;){var s=t(e[r]);s!==o&&(n=n===o?s:n+s)}return n}function Gt(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}function Zt(e){return e?e.slice(0,gn(e)+1).replace(se,""):e}function Yt(e){return function(t){return e(t)}}function en(e,t){return Nt(t,(function(t){return e[t]}))}function tn(e,t){return e.has(t)}function nn(e,t){for(var n=-1,r=e.length;++n<r&&qt(t,e[n],0)>-1;);return n}function rn(e,t){for(var n=e.length;n--&&qt(t,e[n],0)>-1;);return n}var on=Kt({"\xc0":"A","\xc1":"A","\xc2":"A","\xc3":"A","\xc4":"A","\xc5":"A","\xe0":"a","\xe1":"a","\xe2":"a","\xe3":"a","\xe4":"a","\xe5":"a","\xc7":"C","\xe7":"c","\xd0":"D","\xf0":"d","\xc8":"E","\xc9":"E","\xca":"E","\xcb":"E","\xe8":"e","\xe9":"e","\xea":"e","\xeb":"e","\xcc":"I","\xcd":"I","\xce":"I","\xcf":"I","\xec":"i","\xed":"i","\xee":"i","\xef":"i","\xd1":"N","\xf1":"n","\xd2":"O","\xd3":"O","\xd4":"O","\xd5":"O","\xd6":"O","\xd8":"O","\xf2":"o","\xf3":"o","\xf4":"o","\xf5":"o","\xf6":"o","\xf8":"o","\xd9":"U","\xda":"U","\xdb":"U","\xdc":"U","\xf9":"u","\xfa":"u","\xfb":"u","\xfc":"u","\xdd":"Y","\xfd":"y","\xff":"y","\xc6":"Ae","\xe6":"ae","\xde":"Th","\xfe":"th","\xdf":"ss","\u0100":"A","\u0102":"A","\u0104":"A","\u0101":"a","\u0103":"a","\u0105":"a","\u0106":"C","\u0108":"C","\u010a":"C","\u010c":"C","\u0107":"c","\u0109":"c","\u010b":"c","\u010d":"c","\u010e":"D","\u0110":"D","\u010f":"d","\u0111":"d","\u0112":"E","\u0114":"E","\u0116":"E","\u0118":"E","\u011a":"E","\u0113":"e","\u0115":"e","\u0117":"e","\u0119":"e","\u011b":"e","\u011c":"G","\u011e":"G","\u0120":"G","\u0122":"G","\u011d":"g","\u011f":"g","\u0121":"g","\u0123":"g","\u0124":"H","\u0126":"H","\u0125":"h","\u0127":"h","\u0128":"I","\u012a":"I","\u012c":"I","\u012e":"I","\u0130":"I","\u0129":"i","\u012b":"i","\u012d":"i","\u012f":"i","\u0131":"i","\u0134":"J","\u0135":"j","\u0136":"K","\u0137":"k","\u0138":"k","\u0139":"L","\u013b":"L","\u013d":"L","\u013f":"L","\u0141":"L","\u013a":"l","\u013c":"l","\u013e":"l","\u0140":"l","\u0142":"l","\u0143":"N","\u0145":"N","\u0147":"N","\u014a":"N","\u0144":"n","\u0146":"n","\u0148":"n","\u014b":"n","\u014c":"O","\u014e":"O","\u0150":"O","\u014d":"o","\u014f":"o","\u0151":"o","\u0154":"R","\u0156":"R","\u0158":"R","\u0155":"r","\u0157":"r","\u0159":"r","\u015a":"S","\u015c":"S","\u015e":"S","\u0160":"S","\u015b":"s","\u015d":"s","\u015f":"s","\u0161":"s","\u0162":"T","\u0164":"T","\u0166":"T","\u0163":"t","\u0165":"t","\u0167":"t","\u0168":"U","\u016a":"U","\u016c":"U","\u016e":"U","\u0170":"U","\u0172":"U","\u0169":"u","\u016b":"u","\u016d":"u","\u016f":"u","\u0171":"u","\u0173":"u","\u0174":"W","\u0175":"w","\u0176":"Y","\u0177":"y","\u0178":"Y","\u0179":"Z","\u017b":"Z","\u017d":"Z","\u017a":"z","\u017c":"z","\u017e":"z","\u0132":"IJ","\u0133":"ij","\u0152":"Oe","\u0153":"oe","\u0149":"'n","\u017f":"s"}),sn=Kt({"&":"&","<":"<",">":">",'"':""","'":"'"});function an(e){return"\\"+lt[e]}function un(e){return ot.test(e)}function cn(e){var t=-1,n=Array(e.size);return e.forEach((function(e,r){n[++t]=[r,e]})),n}function ln(e,t){return function(n){return e(t(n))}}function fn(e,t){for(var n=-1,r=e.length,o=0,i=[];++n<r;){var s=e[n];s!==t&&s!==a||(e[n]=a,i[o++]=n)}return i}function dn(e){var t=-1,n=Array(e.size);return e.forEach((function(e){n[++t]=e})),n}function hn(e){var t=-1,n=Array(e.size);return e.forEach((function(e){n[++t]=[e,e]})),n}function pn(e){return un(e)?function(e){var t=nt.lastIndex=0;for(;nt.test(e);)++t;return t}(e):Lt(e)}function mn(e){return un(e)?function(e){return e.match(nt)||[]}(e):function(e){return e.split("")}(e)}function gn(e){for(var t=e.length;t--&&ae.test(e.charAt(t)););return t}var yn=Kt({"&":"&","<":"<",">":">",""":'"',"'":"'"});var vn=function e(t){var n,r=(t=null==t?mt:vn.defaults(mt.Object(),t,vn.pick(mt,st))).Array,ae=t.Date,xe=t.Error,De=t.Function,Se=t.Math,Ce=t.Object,Oe=t.RegExp,$e=t.String,Ae=t.TypeError,Pe=r.prototype,je=De.prototype,Fe=Ce.prototype,Ie=t["__core-js_shared__"],Ne=je.toString,Te=Fe.hasOwnProperty,Me=0,Re=(n=/[^.]+$/.exec(Ie&&Ie.keys&&Ie.keys.IE_PROTO||""))?"Symbol(src)_1."+n:"",Be=Fe.toString,Le=Ne.call(Ce),ze=mt._,Ue=Oe("^"+Ne.call(Te).replace(oe,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),qe=vt?t.Buffer:o,Ve=t.Symbol,Qe=t.Uint8Array,Xe=qe?qe.allocUnsafe:o,He=ln(Ce.getPrototypeOf,Ce),Ke=Ce.create,Je=Fe.propertyIsEnumerable,We=Pe.splice,Ge=Ve?Ve.isConcatSpreadable:o,Ze=Ve?Ve.iterator:o,Ye=Ve?Ve.toStringTag:o,nt=function(){try{var e=hi(Ce,"defineProperty");return e({},"",{}),e}catch(t){}}(),ot=t.clearTimeout!==mt.clearTimeout&&t.clearTimeout,lt=ae&&ae.now!==mt.Date.now&&ae.now,ht=t.setTimeout!==mt.setTimeout&&t.setTimeout,pt=Se.ceil,gt=Se.floor,yt=Ce.getOwnPropertySymbols,bt=qe?qe.isBuffer:o,_t=t.isFinite,Lt=Pe.join,Kt=ln(Ce.keys,Ce),bn=Se.max,_n=Se.min,wn=ae.now,En=t.parseInt,kn=Se.random,xn=Pe.reverse,Dn=hi(t,"DataView"),Sn=hi(t,"Map"),Cn=hi(t,"Promise"),On=hi(t,"Set"),$n=hi(t,"WeakMap"),An=hi(Ce,"create"),Pn=$n&&new $n,jn={},Fn=Bi(Dn),In=Bi(Sn),Nn=Bi(Cn),Tn=Bi(On),Mn=Bi($n),Rn=Ve?Ve.prototype:o,Bn=Rn?Rn.valueOf:o,Ln=Rn?Rn.toString:o;function zn(e){if(na(e)&&!Qs(e)&&!(e instanceof Qn)){if(e instanceof Vn)return e;if(Te.call(e,"__wrapped__"))return Li(e)}return new Vn(e)}var Un=function(){function e(){}return function(t){if(!ta(t))return{};if(Ke)return Ke(t);e.prototype=t;var n=new e;return e.prototype=o,n}}();function qn(){}function Vn(e,t){this.__wrapped__=e,this.__actions__=[],this.__chain__=!!t,this.__index__=0,this.__values__=o}function Qn(e){this.__wrapped__=e,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=g,this.__views__=[]}function Xn(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function Hn(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function Kn(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function Jn(e){var t=-1,n=null==e?0:e.length;for(this.__data__=new Kn;++t<n;)this.add(e[t])}function Wn(e){var t=this.__data__=new Hn(e);this.size=t.size}function Gn(e,t){var n=Qs(e),r=!n&&Vs(e),o=!n&&!r&&Js(e),i=!n&&!r&&!o&&la(e),s=n||r||o||i,a=s?Gt(e.length,$e):[],u=a.length;for(var c in e)!t&&!Te.call(e,c)||s&&("length"==c||o&&("offset"==c||"parent"==c)||i&&("buffer"==c||"byteLength"==c||"byteOffset"==c)||_i(c,u))||a.push(c);return a}function Zn(e){var t=e.length;return t?e[Jr(0,t-1)]:o}function Yn(e,t){return Ti(Po(e),ur(t,0,e.length))}function er(e){return Ti(Po(e))}function tr(e,t,n){(n!==o&&!zs(e[t],n)||n===o&&!(t in e))&&sr(e,t,n)}function nr(e,t,n){var r=e[t];Te.call(e,t)&&zs(r,n)&&(n!==o||t in e)||sr(e,t,n)}function rr(e,t){for(var n=e.length;n--;)if(zs(e[n][0],t))return n;return-1}function or(e,t,n,r){return hr(e,(function(e,o,i){t(r,e,n(e),i)})),r}function ir(e,t){return e&&jo(t,ja(t),e)}function sr(e,t,n){"__proto__"==t&&nt?nt(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n}function ar(e,t){for(var n=-1,i=t.length,s=r(i),a=null==e;++n<i;)s[n]=a?o:Ca(e,t[n]);return s}function ur(e,t,n){return e==e&&(n!==o&&(e=e<=n?e:n),t!==o&&(e=e>=t?e:t)),e}function cr(e,t,n,r,i,s){var a,u=1&t,c=2&t,l=4&t;if(n&&(a=i?n(e,r,i,s):n(e)),a!==o)return a;if(!ta(e))return e;var f=Qs(e);if(f){if(a=function(e){var t=e.length,n=new e.constructor(t);t&&"string"==typeof e[0]&&Te.call(e,"index")&&(n.index=e.index,n.input=e.input);return n}(e),!u)return Po(e,a)}else{var d=gi(e),h=d==k||d==x;if(Js(e))return Do(e,u);if(d==C||d==v||h&&!i){if(a=c||h?{}:vi(e),!u)return c?function(e,t){return jo(e,mi(e),t)}(e,function(e,t){return e&&jo(t,Fa(t),e)}(a,e)):function(e,t){return jo(e,pi(e),t)}(e,ir(a,e))}else{if(!ct[d])return i?e:{};a=function(e,t,n){var r=e.constructor;switch(t){case I:return So(e);case _:case w:return new r(+e);case N:return function(e,t){var n=t?So(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.byteLength)}(e,n);case T:case M:case R:case B:case L:case z:case U:case q:case V:return Co(e,n);case D:return new r;case S:case P:return new r(e);case $:return function(e){var t=new e.constructor(e.source,me.exec(e));return t.lastIndex=e.lastIndex,t}(e);case A:return new r;case j:return o=e,Bn?Ce(Bn.call(o)):{}}var o}(e,d,u)}}s||(s=new Wn);var p=s.get(e);if(p)return p;s.set(e,a),aa(e)?e.forEach((function(r){a.add(cr(r,t,n,r,e,s))})):ra(e)&&e.forEach((function(r,o){a.set(o,cr(r,t,n,o,e,s))}));var m=f?o:(l?c?si:ii:c?Fa:ja)(e);return $t(m||e,(function(r,o){m&&(r=e[o=r]),nr(a,o,cr(r,t,n,o,e,s))})),a}function lr(e,t,n){var r=n.length;if(null==e)return!r;for(e=Ce(e);r--;){var i=n[r],s=t[i],a=e[i];if(a===o&&!(i in e)||!s(a))return!1}return!0}function fr(e,t,n){if("function"!=typeof e)throw new Ae(i);return ji((function(){e.apply(o,n)}),t)}function dr(e,t,n,r){var o=-1,i=Ft,s=!0,a=e.length,u=[],c=t.length;if(!a)return u;n&&(t=Nt(t,Yt(n))),r?(i=It,s=!1):t.length>=200&&(i=tn,s=!1,t=new Jn(t));e:for(;++o<a;){var l=e[o],f=null==n?l:n(l);if(l=r||0!==l?l:0,s&&f==f){for(var d=c;d--;)if(t[d]===f)continue e;u.push(l)}else i(t,f,r)||u.push(l)}return u}zn.templateSettings={escape:Z,evaluate:Y,interpolate:ee,variable:"",imports:{_:zn}},zn.prototype=qn.prototype,zn.prototype.constructor=zn,Vn.prototype=Un(qn.prototype),Vn.prototype.constructor=Vn,Qn.prototype=Un(qn.prototype),Qn.prototype.constructor=Qn,Xn.prototype.clear=function(){this.__data__=An?An(null):{},this.size=0},Xn.prototype.delete=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t},Xn.prototype.get=function(e){var t=this.__data__;if(An){var n=t[e];return n===s?o:n}return Te.call(t,e)?t[e]:o},Xn.prototype.has=function(e){var t=this.__data__;return An?t[e]!==o:Te.call(t,e)},Xn.prototype.set=function(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=An&&t===o?s:t,this},Hn.prototype.clear=function(){this.__data__=[],this.size=0},Hn.prototype.delete=function(e){var t=this.__data__,n=rr(t,e);return!(n<0)&&(n==t.length-1?t.pop():We.call(t,n,1),--this.size,!0)},Hn.prototype.get=function(e){var t=this.__data__,n=rr(t,e);return n<0?o:t[n][1]},Hn.prototype.has=function(e){return rr(this.__data__,e)>-1},Hn.prototype.set=function(e,t){var n=this.__data__,r=rr(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this},Kn.prototype.clear=function(){this.size=0,this.__data__={hash:new Xn,map:new(Sn||Hn),string:new Xn}},Kn.prototype.delete=function(e){var t=fi(this,e).delete(e);return this.size-=t?1:0,t},Kn.prototype.get=function(e){return fi(this,e).get(e)},Kn.prototype.has=function(e){return fi(this,e).has(e)},Kn.prototype.set=function(e,t){var n=fi(this,e),r=n.size;return n.set(e,t),this.size+=n.size==r?0:1,this},Jn.prototype.add=Jn.prototype.push=function(e){return this.__data__.set(e,s),this},Jn.prototype.has=function(e){return this.__data__.has(e)},Wn.prototype.clear=function(){this.__data__=new Hn,this.size=0},Wn.prototype.delete=function(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n},Wn.prototype.get=function(e){return this.__data__.get(e)},Wn.prototype.has=function(e){return this.__data__.has(e)},Wn.prototype.set=function(e,t){var n=this.__data__;if(n instanceof Hn){var r=n.__data__;if(!Sn||r.length<199)return r.push([e,t]),this.size=++n.size,this;n=this.__data__=new Kn(r)}return n.set(e,t),this.size=n.size,this};var hr=No(wr),pr=No(Er,!0);function mr(e,t){var n=!0;return hr(e,(function(e,r,o){return n=!!t(e,r,o)})),n}function gr(e,t,n){for(var r=-1,i=e.length;++r<i;){var s=e[r],a=t(s);if(null!=a&&(u===o?a==a&&!ca(a):n(a,u)))var u=a,c=s}return c}function yr(e,t){var n=[];return hr(e,(function(e,r,o){t(e,r,o)&&n.push(e)})),n}function vr(e,t,n,r,o){var i=-1,s=e.length;for(n||(n=bi),o||(o=[]);++i<s;){var a=e[i];t>0&&n(a)?t>1?vr(a,t-1,n,r,o):Tt(o,a):r||(o[o.length]=a)}return o}var br=To(),_r=To(!0);function wr(e,t){return e&&br(e,t,ja)}function Er(e,t){return e&&_r(e,t,ja)}function kr(e,t){return jt(t,(function(t){return Zs(e[t])}))}function xr(e,t){for(var n=0,r=(t=wo(t,e)).length;null!=e&&n<r;)e=e[Ri(t[n++])];return n&&n==r?e:o}function Dr(e,t,n){var r=t(e);return Qs(e)?r:Tt(r,n(e))}function Sr(e){return null==e?e===o?"[object Undefined]":"[object Null]":Ye&&Ye in Ce(e)?function(e){var t=Te.call(e,Ye),n=e[Ye];try{e[Ye]=o;var r=!0}catch(s){}var i=Be.call(e);r&&(t?e[Ye]=n:delete e[Ye]);return i}(e):function(e){return Be.call(e)}(e)}function Cr(e,t){return e>t}function Or(e,t){return null!=e&&Te.call(e,t)}function $r(e,t){return null!=e&&t in Ce(e)}function Ar(e,t,n){for(var i=n?It:Ft,s=e[0].length,a=e.length,u=a,c=r(a),l=1/0,f=[];u--;){var d=e[u];u&&t&&(d=Nt(d,Yt(t))),l=_n(d.length,l),c[u]=!n&&(t||s>=120&&d.length>=120)?new Jn(u&&d):o}d=e[0];var h=-1,p=c[0];e:for(;++h<s&&f.length<l;){var m=d[h],g=t?t(m):m;if(m=n||0!==m?m:0,!(p?tn(p,g):i(f,g,n))){for(u=a;--u;){var y=c[u];if(!(y?tn(y,g):i(e[u],g,n)))continue e}p&&p.push(g),f.push(m)}}return f}function Pr(e,t,n){var r=null==(e=$i(e,t=wo(t,e)))?e:e[Ri(Gi(t))];return null==r?o:Ct(r,e,n)}function jr(e){return na(e)&&Sr(e)==v}function Fr(e,t,n,r,i){return e===t||(null==e||null==t||!na(e)&&!na(t)?e!=e&&t!=t:function(e,t,n,r,i,s){var a=Qs(e),u=Qs(t),c=a?b:gi(e),l=u?b:gi(t),f=(c=c==v?C:c)==C,d=(l=l==v?C:l)==C,h=c==l;if(h&&Js(e)){if(!Js(t))return!1;a=!0,f=!1}if(h&&!f)return s||(s=new Wn),a||la(e)?ri(e,t,n,r,i,s):function(e,t,n,r,o,i,s){switch(n){case N:if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case I:return!(e.byteLength!=t.byteLength||!i(new Qe(e),new Qe(t)));case _:case w:case S:return zs(+e,+t);case E:return e.name==t.name&&e.message==t.message;case $:case P:return e==t+"";case D:var a=cn;case A:var u=1&r;if(a||(a=dn),e.size!=t.size&&!u)return!1;var c=s.get(e);if(c)return c==t;r|=2,s.set(e,t);var l=ri(a(e),a(t),r,o,i,s);return s.delete(e),l;case j:if(Bn)return Bn.call(e)==Bn.call(t)}return!1}(e,t,c,n,r,i,s);if(!(1&n)){var p=f&&Te.call(e,"__wrapped__"),m=d&&Te.call(t,"__wrapped__");if(p||m){var g=p?e.value():e,y=m?t.value():t;return s||(s=new Wn),i(g,y,n,r,s)}}if(!h)return!1;return s||(s=new Wn),function(e,t,n,r,i,s){var a=1&n,u=ii(e),c=u.length,l=ii(t),f=l.length;if(c!=f&&!a)return!1;var d=c;for(;d--;){var h=u[d];if(!(a?h in t:Te.call(t,h)))return!1}var p=s.get(e),m=s.get(t);if(p&&m)return p==t&&m==e;var g=!0;s.set(e,t),s.set(t,e);var y=a;for(;++d<c;){var v=e[h=u[d]],b=t[h];if(r)var _=a?r(b,v,h,t,e,s):r(v,b,h,e,t,s);if(!(_===o?v===b||i(v,b,n,r,s):_)){g=!1;break}y||(y="constructor"==h)}if(g&&!y){var w=e.constructor,E=t.constructor;w==E||!("constructor"in e)||!("constructor"in t)||"function"==typeof w&&w instanceof w&&"function"==typeof E&&E instanceof E||(g=!1)}return s.delete(e),s.delete(t),g}(e,t,n,r,i,s)}(e,t,n,r,Fr,i))}function Ir(e,t,n,r){var i=n.length,s=i,a=!r;if(null==e)return!s;for(e=Ce(e);i--;){var u=n[i];if(a&&u[2]?u[1]!==e[u[0]]:!(u[0]in e))return!1}for(;++i<s;){var c=(u=n[i])[0],l=e[c],f=u[1];if(a&&u[2]){if(l===o&&!(c in e))return!1}else{var d=new Wn;if(r)var h=r(l,f,c,e,t,d);if(!(h===o?Fr(f,l,3,r,d):h))return!1}}return!0}function Nr(e){return!(!ta(e)||(t=e,Re&&Re in t))&&(Zs(e)?Ue:ve).test(Bi(e));var t}function Tr(e){return"function"==typeof e?e:null==e?ou:"object"==typeof e?Qs(e)?Ur(e[0],e[1]):zr(e):hu(e)}function Mr(e){if(!Di(e))return Kt(e);var t=[];for(var n in Ce(e))Te.call(e,n)&&"constructor"!=n&&t.push(n);return t}function Rr(e){if(!ta(e))return function(e){var t=[];if(null!=e)for(var n in Ce(e))t.push(n);return t}(e);var t=Di(e),n=[];for(var r in e)("constructor"!=r||!t&&Te.call(e,r))&&n.push(r);return n}function Br(e,t){return e<t}function Lr(e,t){var n=-1,o=Hs(e)?r(e.length):[];return hr(e,(function(e,r,i){o[++n]=t(e,r,i)})),o}function zr(e){var t=di(e);return 1==t.length&&t[0][2]?Ci(t[0][0],t[0][1]):function(n){return n===e||Ir(n,e,t)}}function Ur(e,t){return Ei(e)&&Si(t)?Ci(Ri(e),t):function(n){var r=Ca(n,e);return r===o&&r===t?Oa(n,e):Fr(t,r,3)}}function qr(e,t,n,r,i){e!==t&&br(t,(function(s,a){if(i||(i=new Wn),ta(s))!function(e,t,n,r,i,s,a){var u=Ai(e,n),c=Ai(t,n),l=a.get(c);if(l)return void tr(e,n,l);var f=s?s(u,c,n+"",e,t,a):o,d=f===o;if(d){var h=Qs(c),p=!h&&Js(c),m=!h&&!p&&la(c);f=c,h||p||m?Qs(u)?f=u:Ks(u)?f=Po(u):p?(d=!1,f=Do(c,!0)):m?(d=!1,f=Co(c,!0)):f=[]:ia(c)||Vs(c)?(f=u,Vs(u)?f=va(u):ta(u)&&!Zs(u)||(f=vi(c))):d=!1}d&&(a.set(c,f),i(f,c,r,s,a),a.delete(c));tr(e,n,f)}(e,t,a,n,qr,r,i);else{var u=r?r(Ai(e,a),s,a+"",e,t,i):o;u===o&&(u=s),tr(e,a,u)}}),Fa)}function Vr(e,t){var n=e.length;if(n)return _i(t+=t<0?n:0,n)?e[t]:o}function Qr(e,t,n){t=t.length?Nt(t,(function(e){return Qs(e)?function(t){return xr(t,1===e.length?e[0]:e)}:e})):[ou];var r=-1;t=Nt(t,Yt(li()));var o=Lr(e,(function(e,n,o){var i=Nt(t,(function(t){return t(e)}));return{criteria:i,index:++r,value:e}}));return function(e,t){var n=e.length;for(e.sort(t);n--;)e[n]=e[n].value;return e}(o,(function(e,t){return function(e,t,n){var r=-1,o=e.criteria,i=t.criteria,s=o.length,a=n.length;for(;++r<s;){var u=Oo(o[r],i[r]);if(u)return r>=a?u:u*("desc"==n[r]?-1:1)}return e.index-t.index}(e,t,n)}))}function Xr(e,t,n){for(var r=-1,o=t.length,i={};++r<o;){var s=t[r],a=xr(e,s);n(a,s)&&eo(i,wo(s,e),a)}return i}function Hr(e,t,n,r){var o=r?Vt:qt,i=-1,s=t.length,a=e;for(e===t&&(t=Po(t)),n&&(a=Nt(e,Yt(n)));++i<s;)for(var u=0,c=t[i],l=n?n(c):c;(u=o(a,l,u,r))>-1;)a!==e&&We.call(a,u,1),We.call(e,u,1);return e}function Kr(e,t){for(var n=e?t.length:0,r=n-1;n--;){var o=t[n];if(n==r||o!==i){var i=o;_i(o)?We.call(e,o,1):ho(e,o)}}return e}function Jr(e,t){return e+gt(kn()*(t-e+1))}function Wr(e,t){var n="";if(!e||t<1||t>p)return n;do{t%2&&(n+=e),(t=gt(t/2))&&(e+=e)}while(t);return n}function Gr(e,t){return Fi(Oi(e,t,ou),e+"")}function Zr(e){return Zn(za(e))}function Yr(e,t){var n=za(e);return Ti(n,ur(t,0,n.length))}function eo(e,t,n,r){if(!ta(e))return e;for(var i=-1,s=(t=wo(t,e)).length,a=s-1,u=e;null!=u&&++i<s;){var c=Ri(t[i]),l=n;if("__proto__"===c||"constructor"===c||"prototype"===c)return e;if(i!=a){var f=u[c];(l=r?r(f,c,u):o)===o&&(l=ta(f)?f:_i(t[i+1])?[]:{})}nr(u,c,l),u=u[c]}return e}var to=Pn?function(e,t){return Pn.set(e,t),e}:ou,no=nt?function(e,t){return nt(e,"toString",{configurable:!0,enumerable:!1,value:tu(t),writable:!0})}:ou;function ro(e){return Ti(za(e))}function oo(e,t,n){var o=-1,i=e.length;t<0&&(t=-t>i?0:i+t),(n=n>i?i:n)<0&&(n+=i),i=t>n?0:n-t>>>0,t>>>=0;for(var s=r(i);++o<i;)s[o]=e[o+t];return s}function io(e,t){var n;return hr(e,(function(e,r,o){return!(n=t(e,r,o))})),!!n}function so(e,t,n){var r=0,o=null==e?r:e.length;if("number"==typeof t&&t==t&&o<=2147483647){for(;r<o;){var i=r+o>>>1,s=e[i];null!==s&&!ca(s)&&(n?s<=t:s<t)?r=i+1:o=i}return o}return ao(e,t,ou,n)}function ao(e,t,n,r){var i=0,s=null==e?0:e.length;if(0===s)return 0;for(var a=(t=n(t))!=t,u=null===t,c=ca(t),l=t===o;i<s;){var f=gt((i+s)/2),d=n(e[f]),h=d!==o,p=null===d,m=d==d,g=ca(d);if(a)var y=r||m;else y=l?m&&(r||h):u?m&&h&&(r||!p):c?m&&h&&!p&&(r||!g):!p&&!g&&(r?d<=t:d<t);y?i=f+1:s=f}return _n(s,4294967294)}function uo(e,t){for(var n=-1,r=e.length,o=0,i=[];++n<r;){var s=e[n],a=t?t(s):s;if(!n||!zs(a,u)){var u=a;i[o++]=0===s?0:s}}return i}function co(e){return"number"==typeof e?e:ca(e)?m:+e}function lo(e){if("string"==typeof e)return e;if(Qs(e))return Nt(e,lo)+"";if(ca(e))return Ln?Ln.call(e):"";var t=e+"";return"0"==t&&1/e==-1/0?"-0":t}function fo(e,t,n){var r=-1,o=Ft,i=e.length,s=!0,a=[],u=a;if(n)s=!1,o=It;else if(i>=200){var c=t?null:Go(e);if(c)return dn(c);s=!1,o=tn,u=new Jn}else u=t?[]:a;e:for(;++r<i;){var l=e[r],f=t?t(l):l;if(l=n||0!==l?l:0,s&&f==f){for(var d=u.length;d--;)if(u[d]===f)continue e;t&&u.push(f),a.push(l)}else o(u,f,n)||(u!==a&&u.push(f),a.push(l))}return a}function ho(e,t){return null==(e=$i(e,t=wo(t,e)))||delete e[Ri(Gi(t))]}function po(e,t,n,r){return eo(e,t,n(xr(e,t)),r)}function mo(e,t,n,r){for(var o=e.length,i=r?o:-1;(r?i--:++i<o)&&t(e[i],i,e););return n?oo(e,r?0:i,r?i+1:o):oo(e,r?i+1:0,r?o:i)}function go(e,t){var n=e;return n instanceof Qn&&(n=n.value()),Mt(t,(function(e,t){return t.func.apply(t.thisArg,Tt([e],t.args))}),n)}function yo(e,t,n){var o=e.length;if(o<2)return o?fo(e[0]):[];for(var i=-1,s=r(o);++i<o;)for(var a=e[i],u=-1;++u<o;)u!=i&&(s[i]=dr(s[i]||a,e[u],t,n));return fo(vr(s,1),t,n)}function vo(e,t,n){for(var r=-1,i=e.length,s=t.length,a={};++r<i;){var u=r<s?t[r]:o;n(a,e[r],u)}return a}function bo(e){return Ks(e)?e:[]}function _o(e){return"function"==typeof e?e:ou}function wo(e,t){return Qs(e)?e:Ei(e,t)?[e]:Mi(ba(e))}var Eo=Gr;function ko(e,t,n){var r=e.length;return n=n===o?r:n,!t&&n>=r?e:oo(e,t,n)}var xo=ot||function(e){return mt.clearTimeout(e)};function Do(e,t){if(t)return e.slice();var n=e.length,r=Xe?Xe(n):new e.constructor(n);return e.copy(r),r}function So(e){var t=new e.constructor(e.byteLength);return new Qe(t).set(new Qe(e)),t}function Co(e,t){var n=t?So(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.length)}function Oo(e,t){if(e!==t){var n=e!==o,r=null===e,i=e==e,s=ca(e),a=t!==o,u=null===t,c=t==t,l=ca(t);if(!u&&!l&&!s&&e>t||s&&a&&c&&!u&&!l||r&&a&&c||!n&&c||!i)return 1;if(!r&&!s&&!l&&e<t||l&&n&&i&&!r&&!s||u&&n&&i||!a&&i||!c)return-1}return 0}function $o(e,t,n,o){for(var i=-1,s=e.length,a=n.length,u=-1,c=t.length,l=bn(s-a,0),f=r(c+l),d=!o;++u<c;)f[u]=t[u];for(;++i<a;)(d||i<s)&&(f[n[i]]=e[i]);for(;l--;)f[u++]=e[i++];return f}function Ao(e,t,n,o){for(var i=-1,s=e.length,a=-1,u=n.length,c=-1,l=t.length,f=bn(s-u,0),d=r(f+l),h=!o;++i<f;)d[i]=e[i];for(var p=i;++c<l;)d[p+c]=t[c];for(;++a<u;)(h||i<s)&&(d[p+n[a]]=e[i++]);return d}function Po(e,t){var n=-1,o=e.length;for(t||(t=r(o));++n<o;)t[n]=e[n];return t}function jo(e,t,n,r){var i=!n;n||(n={});for(var s=-1,a=t.length;++s<a;){var u=t[s],c=r?r(n[u],e[u],u,n,e):o;c===o&&(c=e[u]),i?sr(n,u,c):nr(n,u,c)}return n}function Fo(e,t){return function(n,r){var o=Qs(n)?Ot:or,i=t?t():{};return o(n,e,li(r,2),i)}}function Io(e){return Gr((function(t,n){var r=-1,i=n.length,s=i>1?n[i-1]:o,a=i>2?n[2]:o;for(s=e.length>3&&"function"==typeof s?(i--,s):o,a&&wi(n[0],n[1],a)&&(s=i<3?o:s,i=1),t=Ce(t);++r<i;){var u=n[r];u&&e(t,u,r,s)}return t}))}function No(e,t){return function(n,r){if(null==n)return n;if(!Hs(n))return e(n,r);for(var o=n.length,i=t?o:-1,s=Ce(n);(t?i--:++i<o)&&!1!==r(s[i],i,s););return n}}function To(e){return function(t,n,r){for(var o=-1,i=Ce(t),s=r(t),a=s.length;a--;){var u=s[e?a:++o];if(!1===n(i[u],u,i))break}return t}}function Mo(e){return function(t){var n=un(t=ba(t))?mn(t):o,r=n?n[0]:t.charAt(0),i=n?ko(n,1).join(""):t.slice(1);return r[e]()+i}}function Ro(e){return function(t){return Mt(Za(Va(t).replace(et,"")),e,"")}}function Bo(e){return function(){var t=arguments;switch(t.length){case 0:return new e;case 1:return new e(t[0]);case 2:return new e(t[0],t[1]);case 3:return new e(t[0],t[1],t[2]);case 4:return new e(t[0],t[1],t[2],t[3]);case 5:return new e(t[0],t[1],t[2],t[3],t[4]);case 6:return new e(t[0],t[1],t[2],t[3],t[4],t[5]);case 7:return new e(t[0],t[1],t[2],t[3],t[4],t[5],t[6])}var n=Un(e.prototype),r=e.apply(n,t);return ta(r)?r:n}}function Lo(e){return function(t,n,r){var i=Ce(t);if(!Hs(t)){var s=li(n,3);t=ja(t),n=function(e){return s(i[e],e,i)}}var a=e(t,n,r);return a>-1?i[s?t[a]:a]:o}}function zo(e){return oi((function(t){var n=t.length,r=n,s=Vn.prototype.thru;for(e&&t.reverse();r--;){var a=t[r];if("function"!=typeof a)throw new Ae(i);if(s&&!u&&"wrapper"==ui(a))var u=new Vn([],!0)}for(r=u?r:n;++r<n;){var c=ui(a=t[r]),l="wrapper"==c?ai(a):o;u=l&&ki(l[0])&&424==l[1]&&!l[4].length&&1==l[9]?u[ui(l[0])].apply(u,l[3]):1==a.length&&ki(a)?u[c]():u.thru(a)}return function(){var e=arguments,r=e[0];if(u&&1==e.length&&Qs(r))return u.plant(r).value();for(var o=0,i=n?t[o].apply(this,e):r;++o<n;)i=t[o].call(this,i);return i}}))}function Uo(e,t,n,i,s,a,u,c,l,d){var h=t&f,p=1&t,m=2&t,g=24&t,y=512&t,v=m?o:Bo(e);return function f(){for(var b=arguments.length,_=r(b),w=b;w--;)_[w]=arguments[w];if(g)var E=ci(f),k=function(e,t){for(var n=e.length,r=0;n--;)e[n]===t&&++r;return r}(_,E);if(i&&(_=$o(_,i,s,g)),a&&(_=Ao(_,a,u,g)),b-=k,g&&b<d){var x=fn(_,E);return Jo(e,t,Uo,f.placeholder,n,_,x,c,l,d-b)}var D=p?n:this,S=m?D[e]:e;return b=_.length,c?_=function(e,t){var n=e.length,r=_n(t.length,n),i=Po(e);for(;r--;){var s=t[r];e[r]=_i(s,n)?i[s]:o}return e}(_,c):y&&b>1&&_.reverse(),h&&l<b&&(_.length=l),this&&this!==mt&&this instanceof f&&(S=v||Bo(S)),S.apply(D,_)}}function qo(e,t){return function(n,r){return function(e,t,n,r){return wr(e,(function(e,o,i){t(r,n(e),o,i)})),r}(n,e,t(r),{})}}function Vo(e,t){return function(n,r){var i;if(n===o&&r===o)return t;if(n!==o&&(i=n),r!==o){if(i===o)return r;"string"==typeof n||"string"==typeof r?(n=lo(n),r=lo(r)):(n=co(n),r=co(r)),i=e(n,r)}return i}}function Qo(e){return oi((function(t){return t=Nt(t,Yt(li())),Gr((function(n){var r=this;return e(t,(function(e){return Ct(e,r,n)}))}))}))}function Xo(e,t){var n=(t=t===o?" ":lo(t)).length;if(n<2)return n?Wr(t,e):t;var r=Wr(t,pt(e/pn(t)));return un(t)?ko(mn(r),0,e).join(""):r.slice(0,e)}function Ho(e){return function(t,n,i){return i&&"number"!=typeof i&&wi(t,n,i)&&(n=i=o),t=pa(t),n===o?(n=t,t=0):n=pa(n),function(e,t,n,o){for(var i=-1,s=bn(pt((t-e)/(n||1)),0),a=r(s);s--;)a[o?s:++i]=e,e+=n;return a}(t,n,i=i===o?t<n?1:-1:pa(i),e)}}function Ko(e){return function(t,n){return"string"==typeof t&&"string"==typeof n||(t=ya(t),n=ya(n)),e(t,n)}}function Jo(e,t,n,r,i,s,a,u,f,d){var h=8&t;t|=h?c:l,4&(t&=~(h?l:c))||(t&=-4);var p=[e,t,i,h?s:o,h?a:o,h?o:s,h?o:a,u,f,d],m=n.apply(o,p);return ki(e)&&Pi(m,p),m.placeholder=r,Ii(m,e,t)}function Wo(e){var t=Se[e];return function(e,n){if(e=ya(e),(n=null==n?0:_n(ma(n),292))&&_t(e)){var r=(ba(e)+"e").split("e");return+((r=(ba(t(r[0]+"e"+(+r[1]+n)))+"e").split("e"))[0]+"e"+(+r[1]-n))}return t(e)}}var Go=On&&1/dn(new On([,-0]))[1]==h?function(e){return new On(e)}:cu;function Zo(e){return function(t){var n=gi(t);return n==D?cn(t):n==A?hn(t):function(e,t){return Nt(t,(function(t){return[t,e[t]]}))}(t,e(t))}}function Yo(e,t,n,s,h,p,m,g){var y=2&t;if(!y&&"function"!=typeof e)throw new Ae(i);var v=s?s.length:0;if(v||(t&=-97,s=h=o),m=m===o?m:bn(ma(m),0),g=g===o?g:ma(g),v-=h?h.length:0,t&l){var b=s,_=h;s=h=o}var w=y?o:ai(e),E=[e,t,n,s,h,b,_,p,m,g];if(w&&function(e,t){var n=e[1],r=t[1],o=n|r,i=o<131,s=r==f&&8==n||r==f&&n==d&&e[7].length<=t[8]||384==r&&t[7].length<=t[8]&&8==n;if(!i&&!s)return e;1&r&&(e[2]=t[2],o|=1&n?0:4);var u=t[3];if(u){var c=e[3];e[3]=c?$o(c,u,t[4]):u,e[4]=c?fn(e[3],a):t[4]}(u=t[5])&&(c=e[5],e[5]=c?Ao(c,u,t[6]):u,e[6]=c?fn(e[5],a):t[6]);(u=t[7])&&(e[7]=u);r&f&&(e[8]=null==e[8]?t[8]:_n(e[8],t[8]));null==e[9]&&(e[9]=t[9]);e[0]=t[0],e[1]=o}(E,w),e=E[0],t=E[1],n=E[2],s=E[3],h=E[4],!(g=E[9]=E[9]===o?y?0:e.length:bn(E[9]-v,0))&&24&t&&(t&=-25),t&&1!=t)k=8==t||t==u?function(e,t,n){var i=Bo(e);return function s(){for(var a=arguments.length,u=r(a),c=a,l=ci(s);c--;)u[c]=arguments[c];var f=a<3&&u[0]!==l&&u[a-1]!==l?[]:fn(u,l);return(a-=f.length)<n?Jo(e,t,Uo,s.placeholder,o,u,f,o,o,n-a):Ct(this&&this!==mt&&this instanceof s?i:e,this,u)}}(e,t,g):t!=c&&33!=t||h.length?Uo.apply(o,E):function(e,t,n,o){var i=1&t,s=Bo(e);return function t(){for(var a=-1,u=arguments.length,c=-1,l=o.length,f=r(l+u),d=this&&this!==mt&&this instanceof t?s:e;++c<l;)f[c]=o[c];for(;u--;)f[c++]=arguments[++a];return Ct(d,i?n:this,f)}}(e,t,n,s);else var k=function(e,t,n){var r=1&t,o=Bo(e);return function t(){return(this&&this!==mt&&this instanceof t?o:e).apply(r?n:this,arguments)}}(e,t,n);return Ii((w?to:Pi)(k,E),e,t)}function ei(e,t,n,r){return e===o||zs(e,Fe[n])&&!Te.call(r,n)?t:e}function ti(e,t,n,r,i,s){return ta(e)&&ta(t)&&(s.set(t,e),qr(e,t,o,ti,s),s.delete(t)),e}function ni(e){return ia(e)?o:e}function ri(e,t,n,r,i,s){var a=1&n,u=e.length,c=t.length;if(u!=c&&!(a&&c>u))return!1;var l=s.get(e),f=s.get(t);if(l&&f)return l==t&&f==e;var d=-1,h=!0,p=2&n?new Jn:o;for(s.set(e,t),s.set(t,e);++d<u;){var m=e[d],g=t[d];if(r)var y=a?r(g,m,d,t,e,s):r(m,g,d,e,t,s);if(y!==o){if(y)continue;h=!1;break}if(p){if(!Bt(t,(function(e,t){if(!tn(p,t)&&(m===e||i(m,e,n,r,s)))return p.push(t)}))){h=!1;break}}else if(m!==g&&!i(m,g,n,r,s)){h=!1;break}}return s.delete(e),s.delete(t),h}function oi(e){return Fi(Oi(e,o,Xi),e+"")}function ii(e){return Dr(e,ja,pi)}function si(e){return Dr(e,Fa,mi)}var ai=Pn?function(e){return Pn.get(e)}:cu;function ui(e){for(var t=e.name+"",n=jn[t],r=Te.call(jn,t)?n.length:0;r--;){var o=n[r],i=o.func;if(null==i||i==e)return o.name}return t}function ci(e){return(Te.call(zn,"placeholder")?zn:e).placeholder}function li(){var e=zn.iteratee||iu;return e=e===iu?Tr:e,arguments.length?e(arguments[0],arguments[1]):e}function fi(e,t){var n,r,o=e.__data__;return("string"==(r=typeof(n=t))||"number"==r||"symbol"==r||"boolean"==r?"__proto__"!==n:null===n)?o["string"==typeof t?"string":"hash"]:o.map}function di(e){for(var t=ja(e),n=t.length;n--;){var r=t[n],o=e[r];t[n]=[r,o,Si(o)]}return t}function hi(e,t){var n=function(e,t){return null==e?o:e[t]}(e,t);return Nr(n)?n:o}var pi=yt?function(e){return null==e?[]:(e=Ce(e),jt(yt(e),(function(t){return Je.call(e,t)})))}:gu,mi=yt?function(e){for(var t=[];e;)Tt(t,pi(e)),e=He(e);return t}:gu,gi=Sr;function yi(e,t,n){for(var r=-1,o=(t=wo(t,e)).length,i=!1;++r<o;){var s=Ri(t[r]);if(!(i=null!=e&&n(e,s)))break;e=e[s]}return i||++r!=o?i:!!(o=null==e?0:e.length)&&ea(o)&&_i(s,o)&&(Qs(e)||Vs(e))}function vi(e){return"function"!=typeof e.constructor||Di(e)?{}:Un(He(e))}function bi(e){return Qs(e)||Vs(e)||!!(Ge&&e&&e[Ge])}function _i(e,t){var n=typeof e;return!!(t=null==t?p:t)&&("number"==n||"symbol"!=n&&_e.test(e))&&e>-1&&e%1==0&&e<t}function wi(e,t,n){if(!ta(n))return!1;var r=typeof t;return!!("number"==r?Hs(n)&&_i(t,n.length):"string"==r&&t in n)&&zs(n[t],e)}function Ei(e,t){if(Qs(e))return!1;var n=typeof e;return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=e&&!ca(e))||(ne.test(e)||!te.test(e)||null!=t&&e in Ce(t))}function ki(e){var t=ui(e),n=zn[t];if("function"!=typeof n||!(t in Qn.prototype))return!1;if(e===n)return!0;var r=ai(n);return!!r&&e===r[0]}(Dn&&gi(new Dn(new ArrayBuffer(1)))!=N||Sn&&gi(new Sn)!=D||Cn&&gi(Cn.resolve())!=O||On&&gi(new On)!=A||$n&&gi(new $n)!=F)&&(gi=function(e){var t=Sr(e),n=t==C?e.constructor:o,r=n?Bi(n):"";if(r)switch(r){case Fn:return N;case In:return D;case Nn:return O;case Tn:return A;case Mn:return F}return t});var xi=Ie?Zs:yu;function Di(e){var t=e&&e.constructor;return e===("function"==typeof t&&t.prototype||Fe)}function Si(e){return e==e&&!ta(e)}function Ci(e,t){return function(n){return null!=n&&(n[e]===t&&(t!==o||e in Ce(n)))}}function Oi(e,t,n){return t=bn(t===o?e.length-1:t,0),function(){for(var o=arguments,i=-1,s=bn(o.length-t,0),a=r(s);++i<s;)a[i]=o[t+i];i=-1;for(var u=r(t+1);++i<t;)u[i]=o[i];return u[t]=n(a),Ct(e,this,u)}}function $i(e,t){return t.length<2?e:xr(e,oo(t,0,-1))}function Ai(e,t){if(("constructor"!==t||"function"!=typeof e[t])&&"__proto__"!=t)return e[t]}var Pi=Ni(to),ji=ht||function(e,t){return mt.setTimeout(e,t)},Fi=Ni(no);function Ii(e,t,n){var r=t+"";return Fi(e,function(e,t){var n=t.length;if(!n)return e;var r=n-1;return t[r]=(n>1?"& ":"")+t[r],t=t.join(n>2?", ":" "),e.replace(ue,"{\n/* [wrapped with "+t+"] */\n")}(r,function(e,t){return $t(y,(function(n){var r="_."+n[0];t&n[1]&&!Ft(e,r)&&e.push(r)})),e.sort()}(function(e){var t=e.match(ce);return t?t[1].split(le):[]}(r),n)))}function Ni(e){var t=0,n=0;return function(){var r=wn(),i=16-(r-n);if(n=r,i>0){if(++t>=800)return arguments[0]}else t=0;return e.apply(o,arguments)}}function Ti(e,t){var n=-1,r=e.length,i=r-1;for(t=t===o?r:t;++n<t;){var s=Jr(n,i),a=e[s];e[s]=e[n],e[n]=a}return e.length=t,e}var Mi=function(e){var t=Ns(e,(function(e){return 500===n.size&&n.clear(),e})),n=t.cache;return t}((function(e){var t=[];return 46===e.charCodeAt(0)&&t.push(""),e.replace(re,(function(e,n,r,o){t.push(r?o.replace(he,"$1"):n||e)})),t}));function Ri(e){if("string"==typeof e||ca(e))return e;var t=e+"";return"0"==t&&1/e==-1/0?"-0":t}function Bi(e){if(null!=e){try{return Ne.call(e)}catch(t){}try{return e+""}catch(t){}}return""}function Li(e){if(e instanceof Qn)return e.clone();var t=new Vn(e.__wrapped__,e.__chain__);return t.__actions__=Po(e.__actions__),t.__index__=e.__index__,t.__values__=e.__values__,t}var zi=Gr((function(e,t){return Ks(e)?dr(e,vr(t,1,Ks,!0)):[]})),Ui=Gr((function(e,t){var n=Gi(t);return Ks(n)&&(n=o),Ks(e)?dr(e,vr(t,1,Ks,!0),li(n,2)):[]})),qi=Gr((function(e,t){var n=Gi(t);return Ks(n)&&(n=o),Ks(e)?dr(e,vr(t,1,Ks,!0),o,n):[]}));function Vi(e,t,n){var r=null==e?0:e.length;if(!r)return-1;var o=null==n?0:ma(n);return o<0&&(o=bn(r+o,0)),Ut(e,li(t,3),o)}function Qi(e,t,n){var r=null==e?0:e.length;if(!r)return-1;var i=r-1;return n!==o&&(i=ma(n),i=n<0?bn(r+i,0):_n(i,r-1)),Ut(e,li(t,3),i,!0)}function Xi(e){return(null==e?0:e.length)?vr(e,1):[]}function Hi(e){return e&&e.length?e[0]:o}var Ki=Gr((function(e){var t=Nt(e,bo);return t.length&&t[0]===e[0]?Ar(t):[]})),Ji=Gr((function(e){var t=Gi(e),n=Nt(e,bo);return t===Gi(n)?t=o:n.pop(),n.length&&n[0]===e[0]?Ar(n,li(t,2)):[]})),Wi=Gr((function(e){var t=Gi(e),n=Nt(e,bo);return(t="function"==typeof t?t:o)&&n.pop(),n.length&&n[0]===e[0]?Ar(n,o,t):[]}));function Gi(e){var t=null==e?0:e.length;return t?e[t-1]:o}var Zi=Gr(Yi);function Yi(e,t){return e&&e.length&&t&&t.length?Hr(e,t):e}var es=oi((function(e,t){var n=null==e?0:e.length,r=ar(e,t);return Kr(e,Nt(t,(function(e){return _i(e,n)?+e:e})).sort(Oo)),r}));function ts(e){return null==e?e:xn.call(e)}var ns=Gr((function(e){return fo(vr(e,1,Ks,!0))})),rs=Gr((function(e){var t=Gi(e);return Ks(t)&&(t=o),fo(vr(e,1,Ks,!0),li(t,2))})),os=Gr((function(e){var t=Gi(e);return t="function"==typeof t?t:o,fo(vr(e,1,Ks,!0),o,t)}));function is(e){if(!e||!e.length)return[];var t=0;return e=jt(e,(function(e){if(Ks(e))return t=bn(e.length,t),!0})),Gt(t,(function(t){return Nt(e,Ht(t))}))}function ss(e,t){if(!e||!e.length)return[];var n=is(e);return null==t?n:Nt(n,(function(e){return Ct(t,o,e)}))}var as=Gr((function(e,t){return Ks(e)?dr(e,t):[]})),us=Gr((function(e){return yo(jt(e,Ks))})),cs=Gr((function(e){var t=Gi(e);return Ks(t)&&(t=o),yo(jt(e,Ks),li(t,2))})),ls=Gr((function(e){var t=Gi(e);return t="function"==typeof t?t:o,yo(jt(e,Ks),o,t)})),fs=Gr(is);var ds=Gr((function(e){var t=e.length,n=t>1?e[t-1]:o;return n="function"==typeof n?(e.pop(),n):o,ss(e,n)}));function hs(e){var t=zn(e);return t.__chain__=!0,t}function ps(e,t){return t(e)}var ms=oi((function(e){var t=e.length,n=t?e[0]:0,r=this.__wrapped__,i=function(t){return ar(t,e)};return!(t>1||this.__actions__.length)&&r instanceof Qn&&_i(n)?((r=r.slice(n,+n+(t?1:0))).__actions__.push({func:ps,args:[i],thisArg:o}),new Vn(r,this.__chain__).thru((function(e){return t&&!e.length&&e.push(o),e}))):this.thru(i)}));var gs=Fo((function(e,t,n){Te.call(e,n)?++e[n]:sr(e,n,1)}));var ys=Lo(Vi),vs=Lo(Qi);function bs(e,t){return(Qs(e)?$t:hr)(e,li(t,3))}function _s(e,t){return(Qs(e)?At:pr)(e,li(t,3))}var ws=Fo((function(e,t,n){Te.call(e,n)?e[n].push(t):sr(e,n,[t])}));var Es=Gr((function(e,t,n){var o=-1,i="function"==typeof t,s=Hs(e)?r(e.length):[];return hr(e,(function(e){s[++o]=i?Ct(t,e,n):Pr(e,t,n)})),s})),ks=Fo((function(e,t,n){sr(e,n,t)}));function xs(e,t){return(Qs(e)?Nt:Lr)(e,li(t,3))}var Ds=Fo((function(e,t,n){e[n?0:1].push(t)}),(function(){return[[],[]]}));var Ss=Gr((function(e,t){if(null==e)return[];var n=t.length;return n>1&&wi(e,t[0],t[1])?t=[]:n>2&&wi(t[0],t[1],t[2])&&(t=[t[0]]),Qr(e,vr(t,1),[])})),Cs=lt||function(){return mt.Date.now()};function Os(e,t,n){return t=n?o:t,t=e&&null==t?e.length:t,Yo(e,f,o,o,o,o,t)}function $s(e,t){var n;if("function"!=typeof t)throw new Ae(i);return e=ma(e),function(){return--e>0&&(n=t.apply(this,arguments)),e<=1&&(t=o),n}}var As=Gr((function(e,t,n){var r=1;if(n.length){var o=fn(n,ci(As));r|=c}return Yo(e,r,t,n,o)})),Ps=Gr((function(e,t,n){var r=3;if(n.length){var o=fn(n,ci(Ps));r|=c}return Yo(t,r,e,n,o)}));function js(e,t,n){var r,s,a,u,c,l,f=0,d=!1,h=!1,p=!0;if("function"!=typeof e)throw new Ae(i);function m(t){var n=r,i=s;return r=s=o,f=t,u=e.apply(i,n)}function g(e){var n=e-l;return l===o||n>=t||n<0||h&&e-f>=a}function y(){var e=Cs();if(g(e))return v(e);c=ji(y,function(e){var n=t-(e-l);return h?_n(n,a-(e-f)):n}(e))}function v(e){return c=o,p&&r?m(e):(r=s=o,u)}function b(){var e=Cs(),n=g(e);if(r=arguments,s=this,l=e,n){if(c===o)return function(e){return f=e,c=ji(y,t),d?m(e):u}(l);if(h)return xo(c),c=ji(y,t),m(l)}return c===o&&(c=ji(y,t)),u}return t=ya(t)||0,ta(n)&&(d=!!n.leading,a=(h="maxWait"in n)?bn(ya(n.maxWait)||0,t):a,p="trailing"in n?!!n.trailing:p),b.cancel=function(){c!==o&&xo(c),f=0,r=l=s=c=o},b.flush=function(){return c===o?u:v(Cs())},b}var Fs=Gr((function(e,t){return fr(e,1,t)})),Is=Gr((function(e,t,n){return fr(e,ya(t)||0,n)}));function Ns(e,t){if("function"!=typeof e||null!=t&&"function"!=typeof t)throw new Ae(i);var n=function(){var r=arguments,o=t?t.apply(this,r):r[0],i=n.cache;if(i.has(o))return i.get(o);var s=e.apply(this,r);return n.cache=i.set(o,s)||i,s};return n.cache=new(Ns.Cache||Kn),n}function Ts(e){if("function"!=typeof e)throw new Ae(i);return function(){var t=arguments;switch(t.length){case 0:return!e.call(this);case 1:return!e.call(this,t[0]);case 2:return!e.call(this,t[0],t[1]);case 3:return!e.call(this,t[0],t[1],t[2])}return!e.apply(this,t)}}Ns.Cache=Kn;var Ms=Eo((function(e,t){var n=(t=1==t.length&&Qs(t[0])?Nt(t[0],Yt(li())):Nt(vr(t,1),Yt(li()))).length;return Gr((function(r){for(var o=-1,i=_n(r.length,n);++o<i;)r[o]=t[o].call(this,r[o]);return Ct(e,this,r)}))})),Rs=Gr((function(e,t){var n=fn(t,ci(Rs));return Yo(e,c,o,t,n)})),Bs=Gr((function(e,t){var n=fn(t,ci(Bs));return Yo(e,l,o,t,n)})),Ls=oi((function(e,t){return Yo(e,d,o,o,o,t)}));function zs(e,t){return e===t||e!=e&&t!=t}var Us=Ko(Cr),qs=Ko((function(e,t){return e>=t})),Vs=jr(function(){return arguments}())?jr:function(e){return na(e)&&Te.call(e,"callee")&&!Je.call(e,"callee")},Qs=r.isArray,Xs=wt?Yt(wt):function(e){return na(e)&&Sr(e)==I};function Hs(e){return null!=e&&ea(e.length)&&!Zs(e)}function Ks(e){return na(e)&&Hs(e)}var Js=bt||yu,Ws=Et?Yt(Et):function(e){return na(e)&&Sr(e)==w};function Gs(e){if(!na(e))return!1;var t=Sr(e);return t==E||"[object DOMException]"==t||"string"==typeof e.message&&"string"==typeof e.name&&!ia(e)}function Zs(e){if(!ta(e))return!1;var t=Sr(e);return t==k||t==x||"[object AsyncFunction]"==t||"[object Proxy]"==t}function Ys(e){return"number"==typeof e&&e==ma(e)}function ea(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=p}function ta(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}function na(e){return null!=e&&"object"==typeof e}var ra=kt?Yt(kt):function(e){return na(e)&&gi(e)==D};function oa(e){return"number"==typeof e||na(e)&&Sr(e)==S}function ia(e){if(!na(e)||Sr(e)!=C)return!1;var t=He(e);if(null===t)return!0;var n=Te.call(t,"constructor")&&t.constructor;return"function"==typeof n&&n instanceof n&&Ne.call(n)==Le}var sa=xt?Yt(xt):function(e){return na(e)&&Sr(e)==$};var aa=Dt?Yt(Dt):function(e){return na(e)&&gi(e)==A};function ua(e){return"string"==typeof e||!Qs(e)&&na(e)&&Sr(e)==P}function ca(e){return"symbol"==typeof e||na(e)&&Sr(e)==j}var la=St?Yt(St):function(e){return na(e)&&ea(e.length)&&!!ut[Sr(e)]};var fa=Ko(Br),da=Ko((function(e,t){return e<=t}));function ha(e){if(!e)return[];if(Hs(e))return ua(e)?mn(e):Po(e);if(Ze&&e[Ze])return function(e){for(var t,n=[];!(t=e.next()).done;)n.push(t.value);return n}(e[Ze]());var t=gi(e);return(t==D?cn:t==A?dn:za)(e)}function pa(e){return e?(e=ya(e))===h||e===-1/0?17976931348623157e292*(e<0?-1:1):e==e?e:0:0===e?e:0}function ma(e){var t=pa(e),n=t%1;return t==t?n?t-n:t:0}function ga(e){return e?ur(ma(e),0,g):0}function ya(e){if("number"==typeof e)return e;if(ca(e))return m;if(ta(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=ta(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=Zt(e);var n=ye.test(e);return n||be.test(e)?dt(e.slice(2),n?2:8):ge.test(e)?m:+e}function va(e){return jo(e,Fa(e))}function ba(e){return null==e?"":lo(e)}var _a=Io((function(e,t){if(Di(t)||Hs(t))jo(t,ja(t),e);else for(var n in t)Te.call(t,n)&&nr(e,n,t[n])})),wa=Io((function(e,t){jo(t,Fa(t),e)})),Ea=Io((function(e,t,n,r){jo(t,Fa(t),e,r)})),ka=Io((function(e,t,n,r){jo(t,ja(t),e,r)})),xa=oi(ar);var Da=Gr((function(e,t){e=Ce(e);var n=-1,r=t.length,i=r>2?t[2]:o;for(i&&wi(t[0],t[1],i)&&(r=1);++n<r;)for(var s=t[n],a=Fa(s),u=-1,c=a.length;++u<c;){var l=a[u],f=e[l];(f===o||zs(f,Fe[l])&&!Te.call(e,l))&&(e[l]=s[l])}return e})),Sa=Gr((function(e){return e.push(o,ti),Ct(Na,o,e)}));function Ca(e,t,n){var r=null==e?o:xr(e,t);return r===o?n:r}function Oa(e,t){return null!=e&&yi(e,t,$r)}var $a=qo((function(e,t,n){null!=t&&"function"!=typeof t.toString&&(t=Be.call(t)),e[t]=n}),tu(ou)),Aa=qo((function(e,t,n){null!=t&&"function"!=typeof t.toString&&(t=Be.call(t)),Te.call(e,t)?e[t].push(n):e[t]=[n]}),li),Pa=Gr(Pr);function ja(e){return Hs(e)?Gn(e):Mr(e)}function Fa(e){return Hs(e)?Gn(e,!0):Rr(e)}var Ia=Io((function(e,t,n){qr(e,t,n)})),Na=Io((function(e,t,n,r){qr(e,t,n,r)})),Ta=oi((function(e,t){var n={};if(null==e)return n;var r=!1;t=Nt(t,(function(t){return t=wo(t,e),r||(r=t.length>1),t})),jo(e,si(e),n),r&&(n=cr(n,7,ni));for(var o=t.length;o--;)ho(n,t[o]);return n}));var Ma=oi((function(e,t){return null==e?{}:function(e,t){return Xr(e,t,(function(t,n){return Oa(e,n)}))}(e,t)}));function Ra(e,t){if(null==e)return{};var n=Nt(si(e),(function(e){return[e]}));return t=li(t),Xr(e,n,(function(e,n){return t(e,n[0])}))}var Ba=Zo(ja),La=Zo(Fa);function za(e){return null==e?[]:en(e,ja(e))}var Ua=Ro((function(e,t,n){return t=t.toLowerCase(),e+(n?qa(t):t)}));function qa(e){return Ga(ba(e).toLowerCase())}function Va(e){return(e=ba(e))&&e.replace(we,on).replace(tt,"")}var Qa=Ro((function(e,t,n){return e+(n?"-":"")+t.toLowerCase()})),Xa=Ro((function(e,t,n){return e+(n?" ":"")+t.toLowerCase()})),Ha=Mo("toLowerCase");var Ka=Ro((function(e,t,n){return e+(n?"_":"")+t.toLowerCase()}));var Ja=Ro((function(e,t,n){return e+(n?" ":"")+Ga(t)}));var Wa=Ro((function(e,t,n){return e+(n?" ":"")+t.toUpperCase()})),Ga=Mo("toUpperCase");function Za(e,t,n){return e=ba(e),(t=n?o:t)===o?function(e){return it.test(e)}(e)?function(e){return e.match(rt)||[]}(e):function(e){return e.match(fe)||[]}(e):e.match(t)||[]}var Ya=Gr((function(e,t){try{return Ct(e,o,t)}catch(n){return Gs(n)?n:new xe(n)}})),eu=oi((function(e,t){return $t(t,(function(t){t=Ri(t),sr(e,t,As(e[t],e))})),e}));function tu(e){return function(){return e}}var nu=zo(),ru=zo(!0);function ou(e){return e}function iu(e){return Tr("function"==typeof e?e:cr(e,1))}var su=Gr((function(e,t){return function(n){return Pr(n,e,t)}})),au=Gr((function(e,t){return function(n){return Pr(e,n,t)}}));function uu(e,t,n){var r=ja(t),o=kr(t,r);null!=n||ta(t)&&(o.length||!r.length)||(n=t,t=e,e=this,o=kr(t,ja(t)));var i=!(ta(n)&&"chain"in n&&!n.chain),s=Zs(e);return $t(o,(function(n){var r=t[n];e[n]=r,s&&(e.prototype[n]=function(){var t=this.__chain__;if(i||t){var n=e(this.__wrapped__);return(n.__actions__=Po(this.__actions__)).push({func:r,args:arguments,thisArg:e}),n.__chain__=t,n}return r.apply(e,Tt([this.value()],arguments))})})),e}function cu(){}var lu=Qo(Nt),fu=Qo(Pt),du=Qo(Bt);function hu(e){return Ei(e)?Ht(Ri(e)):function(e){return function(t){return xr(t,e)}}(e)}var pu=Ho(),mu=Ho(!0);function gu(){return[]}function yu(){return!1}var vu=Vo((function(e,t){return e+t}),0),bu=Wo("ceil"),_u=Vo((function(e,t){return e/t}),1),wu=Wo("floor");var Eu,ku=Vo((function(e,t){return e*t}),1),xu=Wo("round"),Du=Vo((function(e,t){return e-t}),0);return zn.after=function(e,t){if("function"!=typeof t)throw new Ae(i);return e=ma(e),function(){if(--e<1)return t.apply(this,arguments)}},zn.ary=Os,zn.assign=_a,zn.assignIn=wa,zn.assignInWith=Ea,zn.assignWith=ka,zn.at=xa,zn.before=$s,zn.bind=As,zn.bindAll=eu,zn.bindKey=Ps,zn.castArray=function(){if(!arguments.length)return[];var e=arguments[0];return Qs(e)?e:[e]},zn.chain=hs,zn.chunk=function(e,t,n){t=(n?wi(e,t,n):t===o)?1:bn(ma(t),0);var i=null==e?0:e.length;if(!i||t<1)return[];for(var s=0,a=0,u=r(pt(i/t));s<i;)u[a++]=oo(e,s,s+=t);return u},zn.compact=function(e){for(var t=-1,n=null==e?0:e.length,r=0,o=[];++t<n;){var i=e[t];i&&(o[r++]=i)}return o},zn.concat=function(){var e=arguments.length;if(!e)return[];for(var t=r(e-1),n=arguments[0],o=e;o--;)t[o-1]=arguments[o];return Tt(Qs(n)?Po(n):[n],vr(t,1))},zn.cond=function(e){var t=null==e?0:e.length,n=li();return e=t?Nt(e,(function(e){if("function"!=typeof e[1])throw new Ae(i);return[n(e[0]),e[1]]})):[],Gr((function(n){for(var r=-1;++r<t;){var o=e[r];if(Ct(o[0],this,n))return Ct(o[1],this,n)}}))},zn.conforms=function(e){return function(e){var t=ja(e);return function(n){return lr(n,e,t)}}(cr(e,1))},zn.constant=tu,zn.countBy=gs,zn.create=function(e,t){var n=Un(e);return null==t?n:ir(n,t)},zn.curry=function e(t,n,r){var i=Yo(t,8,o,o,o,o,o,n=r?o:n);return i.placeholder=e.placeholder,i},zn.curryRight=function e(t,n,r){var i=Yo(t,u,o,o,o,o,o,n=r?o:n);return i.placeholder=e.placeholder,i},zn.debounce=js,zn.defaults=Da,zn.defaultsDeep=Sa,zn.defer=Fs,zn.delay=Is,zn.difference=zi,zn.differenceBy=Ui,zn.differenceWith=qi,zn.drop=function(e,t,n){var r=null==e?0:e.length;return r?oo(e,(t=n||t===o?1:ma(t))<0?0:t,r):[]},zn.dropRight=function(e,t,n){var r=null==e?0:e.length;return r?oo(e,0,(t=r-(t=n||t===o?1:ma(t)))<0?0:t):[]},zn.dropRightWhile=function(e,t){return e&&e.length?mo(e,li(t,3),!0,!0):[]},zn.dropWhile=function(e,t){return e&&e.length?mo(e,li(t,3),!0):[]},zn.fill=function(e,t,n,r){var i=null==e?0:e.length;return i?(n&&"number"!=typeof n&&wi(e,t,n)&&(n=0,r=i),function(e,t,n,r){var i=e.length;for((n=ma(n))<0&&(n=-n>i?0:i+n),(r=r===o||r>i?i:ma(r))<0&&(r+=i),r=n>r?0:ga(r);n<r;)e[n++]=t;return e}(e,t,n,r)):[]},zn.filter=function(e,t){return(Qs(e)?jt:yr)(e,li(t,3))},zn.flatMap=function(e,t){return vr(xs(e,t),1)},zn.flatMapDeep=function(e,t){return vr(xs(e,t),h)},zn.flatMapDepth=function(e,t,n){return n=n===o?1:ma(n),vr(xs(e,t),n)},zn.flatten=Xi,zn.flattenDeep=function(e){return(null==e?0:e.length)?vr(e,h):[]},zn.flattenDepth=function(e,t){return(null==e?0:e.length)?vr(e,t=t===o?1:ma(t)):[]},zn.flip=function(e){return Yo(e,512)},zn.flow=nu,zn.flowRight=ru,zn.fromPairs=function(e){for(var t=-1,n=null==e?0:e.length,r={};++t<n;){var o=e[t];r[o[0]]=o[1]}return r},zn.functions=function(e){return null==e?[]:kr(e,ja(e))},zn.functionsIn=function(e){return null==e?[]:kr(e,Fa(e))},zn.groupBy=ws,zn.initial=function(e){return(null==e?0:e.length)?oo(e,0,-1):[]},zn.intersection=Ki,zn.intersectionBy=Ji,zn.intersectionWith=Wi,zn.invert=$a,zn.invertBy=Aa,zn.invokeMap=Es,zn.iteratee=iu,zn.keyBy=ks,zn.keys=ja,zn.keysIn=Fa,zn.map=xs,zn.mapKeys=function(e,t){var n={};return t=li(t,3),wr(e,(function(e,r,o){sr(n,t(e,r,o),e)})),n},zn.mapValues=function(e,t){var n={};return t=li(t,3),wr(e,(function(e,r,o){sr(n,r,t(e,r,o))})),n},zn.matches=function(e){return zr(cr(e,1))},zn.matchesProperty=function(e,t){return Ur(e,cr(t,1))},zn.memoize=Ns,zn.merge=Ia,zn.mergeWith=Na,zn.method=su,zn.methodOf=au,zn.mixin=uu,zn.negate=Ts,zn.nthArg=function(e){return e=ma(e),Gr((function(t){return Vr(t,e)}))},zn.omit=Ta,zn.omitBy=function(e,t){return Ra(e,Ts(li(t)))},zn.once=function(e){return $s(2,e)},zn.orderBy=function(e,t,n,r){return null==e?[]:(Qs(t)||(t=null==t?[]:[t]),Qs(n=r?o:n)||(n=null==n?[]:[n]),Qr(e,t,n))},zn.over=lu,zn.overArgs=Ms,zn.overEvery=fu,zn.overSome=du,zn.partial=Rs,zn.partialRight=Bs,zn.partition=Ds,zn.pick=Ma,zn.pickBy=Ra,zn.property=hu,zn.propertyOf=function(e){return function(t){return null==e?o:xr(e,t)}},zn.pull=Zi,zn.pullAll=Yi,zn.pullAllBy=function(e,t,n){return e&&e.length&&t&&t.length?Hr(e,t,li(n,2)):e},zn.pullAllWith=function(e,t,n){return e&&e.length&&t&&t.length?Hr(e,t,o,n):e},zn.pullAt=es,zn.range=pu,zn.rangeRight=mu,zn.rearg=Ls,zn.reject=function(e,t){return(Qs(e)?jt:yr)(e,Ts(li(t,3)))},zn.remove=function(e,t){var n=[];if(!e||!e.length)return n;var r=-1,o=[],i=e.length;for(t=li(t,3);++r<i;){var s=e[r];t(s,r,e)&&(n.push(s),o.push(r))}return Kr(e,o),n},zn.rest=function(e,t){if("function"!=typeof e)throw new Ae(i);return Gr(e,t=t===o?t:ma(t))},zn.reverse=ts,zn.sampleSize=function(e,t,n){return t=(n?wi(e,t,n):t===o)?1:ma(t),(Qs(e)?Yn:Yr)(e,t)},zn.set=function(e,t,n){return null==e?e:eo(e,t,n)},zn.setWith=function(e,t,n,r){return r="function"==typeof r?r:o,null==e?e:eo(e,t,n,r)},zn.shuffle=function(e){return(Qs(e)?er:ro)(e)},zn.slice=function(e,t,n){var r=null==e?0:e.length;return r?(n&&"number"!=typeof n&&wi(e,t,n)?(t=0,n=r):(t=null==t?0:ma(t),n=n===o?r:ma(n)),oo(e,t,n)):[]},zn.sortBy=Ss,zn.sortedUniq=function(e){return e&&e.length?uo(e):[]},zn.sortedUniqBy=function(e,t){return e&&e.length?uo(e,li(t,2)):[]},zn.split=function(e,t,n){return n&&"number"!=typeof n&&wi(e,t,n)&&(t=n=o),(n=n===o?g:n>>>0)?(e=ba(e))&&("string"==typeof t||null!=t&&!sa(t))&&!(t=lo(t))&&un(e)?ko(mn(e),0,n):e.split(t,n):[]},zn.spread=function(e,t){if("function"!=typeof e)throw new Ae(i);return t=null==t?0:bn(ma(t),0),Gr((function(n){var r=n[t],o=ko(n,0,t);return r&&Tt(o,r),Ct(e,this,o)}))},zn.tail=function(e){var t=null==e?0:e.length;return t?oo(e,1,t):[]},zn.take=function(e,t,n){return e&&e.length?oo(e,0,(t=n||t===o?1:ma(t))<0?0:t):[]},zn.takeRight=function(e,t,n){var r=null==e?0:e.length;return r?oo(e,(t=r-(t=n||t===o?1:ma(t)))<0?0:t,r):[]},zn.takeRightWhile=function(e,t){return e&&e.length?mo(e,li(t,3),!1,!0):[]},zn.takeWhile=function(e,t){return e&&e.length?mo(e,li(t,3)):[]},zn.tap=function(e,t){return t(e),e},zn.throttle=function(e,t,n){var r=!0,o=!0;if("function"!=typeof e)throw new Ae(i);return ta(n)&&(r="leading"in n?!!n.leading:r,o="trailing"in n?!!n.trailing:o),js(e,t,{leading:r,maxWait:t,trailing:o})},zn.thru=ps,zn.toArray=ha,zn.toPairs=Ba,zn.toPairsIn=La,zn.toPath=function(e){return Qs(e)?Nt(e,Ri):ca(e)?[e]:Po(Mi(ba(e)))},zn.toPlainObject=va,zn.transform=function(e,t,n){var r=Qs(e),o=r||Js(e)||la(e);if(t=li(t,4),null==n){var i=e&&e.constructor;n=o?r?new i:[]:ta(e)&&Zs(i)?Un(He(e)):{}}return(o?$t:wr)(e,(function(e,r,o){return t(n,e,r,o)})),n},zn.unary=function(e){return Os(e,1)},zn.union=ns,zn.unionBy=rs,zn.unionWith=os,zn.uniq=function(e){return e&&e.length?fo(e):[]},zn.uniqBy=function(e,t){return e&&e.length?fo(e,li(t,2)):[]},zn.uniqWith=function(e,t){return t="function"==typeof t?t:o,e&&e.length?fo(e,o,t):[]},zn.unset=function(e,t){return null==e||ho(e,t)},zn.unzip=is,zn.unzipWith=ss,zn.update=function(e,t,n){return null==e?e:po(e,t,_o(n))},zn.updateWith=function(e,t,n,r){return r="function"==typeof r?r:o,null==e?e:po(e,t,_o(n),r)},zn.values=za,zn.valuesIn=function(e){return null==e?[]:en(e,Fa(e))},zn.without=as,zn.words=Za,zn.wrap=function(e,t){return Rs(_o(t),e)},zn.xor=us,zn.xorBy=cs,zn.xorWith=ls,zn.zip=fs,zn.zipObject=function(e,t){return vo(e||[],t||[],nr)},zn.zipObjectDeep=function(e,t){return vo(e||[],t||[],eo)},zn.zipWith=ds,zn.entries=Ba,zn.entriesIn=La,zn.extend=wa,zn.extendWith=Ea,uu(zn,zn),zn.add=vu,zn.attempt=Ya,zn.camelCase=Ua,zn.capitalize=qa,zn.ceil=bu,zn.clamp=function(e,t,n){return n===o&&(n=t,t=o),n!==o&&(n=(n=ya(n))==n?n:0),t!==o&&(t=(t=ya(t))==t?t:0),ur(ya(e),t,n)},zn.clone=function(e){return cr(e,4)},zn.cloneDeep=function(e){return cr(e,5)},zn.cloneDeepWith=function(e,t){return cr(e,5,t="function"==typeof t?t:o)},zn.cloneWith=function(e,t){return cr(e,4,t="function"==typeof t?t:o)},zn.conformsTo=function(e,t){return null==t||lr(e,t,ja(t))},zn.deburr=Va,zn.defaultTo=function(e,t){return null==e||e!=e?t:e},zn.divide=_u,zn.endsWith=function(e,t,n){e=ba(e),t=lo(t);var r=e.length,i=n=n===o?r:ur(ma(n),0,r);return(n-=t.length)>=0&&e.slice(n,i)==t},zn.eq=zs,zn.escape=function(e){return(e=ba(e))&&G.test(e)?e.replace(J,sn):e},zn.escapeRegExp=function(e){return(e=ba(e))&&ie.test(e)?e.replace(oe,"\\$&"):e},zn.every=function(e,t,n){var r=Qs(e)?Pt:mr;return n&&wi(e,t,n)&&(t=o),r(e,li(t,3))},zn.find=ys,zn.findIndex=Vi,zn.findKey=function(e,t){return zt(e,li(t,3),wr)},zn.findLast=vs,zn.findLastIndex=Qi,zn.findLastKey=function(e,t){return zt(e,li(t,3),Er)},zn.floor=wu,zn.forEach=bs,zn.forEachRight=_s,zn.forIn=function(e,t){return null==e?e:br(e,li(t,3),Fa)},zn.forInRight=function(e,t){return null==e?e:_r(e,li(t,3),Fa)},zn.forOwn=function(e,t){return e&&wr(e,li(t,3))},zn.forOwnRight=function(e,t){return e&&Er(e,li(t,3))},zn.get=Ca,zn.gt=Us,zn.gte=qs,zn.has=function(e,t){return null!=e&&yi(e,t,Or)},zn.hasIn=Oa,zn.head=Hi,zn.identity=ou,zn.includes=function(e,t,n,r){e=Hs(e)?e:za(e),n=n&&!r?ma(n):0;var o=e.length;return n<0&&(n=bn(o+n,0)),ua(e)?n<=o&&e.indexOf(t,n)>-1:!!o&&qt(e,t,n)>-1},zn.indexOf=function(e,t,n){var r=null==e?0:e.length;if(!r)return-1;var o=null==n?0:ma(n);return o<0&&(o=bn(r+o,0)),qt(e,t,o)},zn.inRange=function(e,t,n){return t=pa(t),n===o?(n=t,t=0):n=pa(n),function(e,t,n){return e>=_n(t,n)&&e<bn(t,n)}(e=ya(e),t,n)},zn.invoke=Pa,zn.isArguments=Vs,zn.isArray=Qs,zn.isArrayBuffer=Xs,zn.isArrayLike=Hs,zn.isArrayLikeObject=Ks,zn.isBoolean=function(e){return!0===e||!1===e||na(e)&&Sr(e)==_},zn.isBuffer=Js,zn.isDate=Ws,zn.isElement=function(e){return na(e)&&1===e.nodeType&&!ia(e)},zn.isEmpty=function(e){if(null==e)return!0;if(Hs(e)&&(Qs(e)||"string"==typeof e||"function"==typeof e.splice||Js(e)||la(e)||Vs(e)))return!e.length;var t=gi(e);if(t==D||t==A)return!e.size;if(Di(e))return!Mr(e).length;for(var n in e)if(Te.call(e,n))return!1;return!0},zn.isEqual=function(e,t){return Fr(e,t)},zn.isEqualWith=function(e,t,n){var r=(n="function"==typeof n?n:o)?n(e,t):o;return r===o?Fr(e,t,o,n):!!r},zn.isError=Gs,zn.isFinite=function(e){return"number"==typeof e&&_t(e)},zn.isFunction=Zs,zn.isInteger=Ys,zn.isLength=ea,zn.isMap=ra,zn.isMatch=function(e,t){return e===t||Ir(e,t,di(t))},zn.isMatchWith=function(e,t,n){return n="function"==typeof n?n:o,Ir(e,t,di(t),n)},zn.isNaN=function(e){return oa(e)&&e!=+e},zn.isNative=function(e){if(xi(e))throw new xe("Unsupported core-js use. Try https://npms.io/search?q=ponyfill.");return Nr(e)},zn.isNil=function(e){return null==e},zn.isNull=function(e){return null===e},zn.isNumber=oa,zn.isObject=ta,zn.isObjectLike=na,zn.isPlainObject=ia,zn.isRegExp=sa,zn.isSafeInteger=function(e){return Ys(e)&&e>=-9007199254740991&&e<=p},zn.isSet=aa,zn.isString=ua,zn.isSymbol=ca,zn.isTypedArray=la,zn.isUndefined=function(e){return e===o},zn.isWeakMap=function(e){return na(e)&&gi(e)==F},zn.isWeakSet=function(e){return na(e)&&"[object WeakSet]"==Sr(e)},zn.join=function(e,t){return null==e?"":Lt.call(e,t)},zn.kebabCase=Qa,zn.last=Gi,zn.lastIndexOf=function(e,t,n){var r=null==e?0:e.length;if(!r)return-1;var i=r;return n!==o&&(i=(i=ma(n))<0?bn(r+i,0):_n(i,r-1)),t==t?function(e,t,n){for(var r=n+1;r--;)if(e[r]===t)return r;return r}(e,t,i):Ut(e,Qt,i,!0)},zn.lowerCase=Xa,zn.lowerFirst=Ha,zn.lt=fa,zn.lte=da,zn.max=function(e){return e&&e.length?gr(e,ou,Cr):o},zn.maxBy=function(e,t){return e&&e.length?gr(e,li(t,2),Cr):o},zn.mean=function(e){return Xt(e,ou)},zn.meanBy=function(e,t){return Xt(e,li(t,2))},zn.min=function(e){return e&&e.length?gr(e,ou,Br):o},zn.minBy=function(e,t){return e&&e.length?gr(e,li(t,2),Br):o},zn.stubArray=gu,zn.stubFalse=yu,zn.stubObject=function(){return{}},zn.stubString=function(){return""},zn.stubTrue=function(){return!0},zn.multiply=ku,zn.nth=function(e,t){return e&&e.length?Vr(e,ma(t)):o},zn.noConflict=function(){return mt._===this&&(mt._=ze),this},zn.noop=cu,zn.now=Cs,zn.pad=function(e,t,n){e=ba(e);var r=(t=ma(t))?pn(e):0;if(!t||r>=t)return e;var o=(t-r)/2;return Xo(gt(o),n)+e+Xo(pt(o),n)},zn.padEnd=function(e,t,n){e=ba(e);var r=(t=ma(t))?pn(e):0;return t&&r<t?e+Xo(t-r,n):e},zn.padStart=function(e,t,n){e=ba(e);var r=(t=ma(t))?pn(e):0;return t&&r<t?Xo(t-r,n)+e:e},zn.parseInt=function(e,t,n){return n||null==t?t=0:t&&(t=+t),En(ba(e).replace(se,""),t||0)},zn.random=function(e,t,n){if(n&&"boolean"!=typeof n&&wi(e,t,n)&&(t=n=o),n===o&&("boolean"==typeof t?(n=t,t=o):"boolean"==typeof e&&(n=e,e=o)),e===o&&t===o?(e=0,t=1):(e=pa(e),t===o?(t=e,e=0):t=pa(t)),e>t){var r=e;e=t,t=r}if(n||e%1||t%1){var i=kn();return _n(e+i*(t-e+ft("1e-"+((i+"").length-1))),t)}return Jr(e,t)},zn.reduce=function(e,t,n){var r=Qs(e)?Mt:Jt,o=arguments.length<3;return r(e,li(t,4),n,o,hr)},zn.reduceRight=function(e,t,n){var r=Qs(e)?Rt:Jt,o=arguments.length<3;return r(e,li(t,4),n,o,pr)},zn.repeat=function(e,t,n){return t=(n?wi(e,t,n):t===o)?1:ma(t),Wr(ba(e),t)},zn.replace=function(){var e=arguments,t=ba(e[0]);return e.length<3?t:t.replace(e[1],e[2])},zn.result=function(e,t,n){var r=-1,i=(t=wo(t,e)).length;for(i||(i=1,e=o);++r<i;){var s=null==e?o:e[Ri(t[r])];s===o&&(r=i,s=n),e=Zs(s)?s.call(e):s}return e},zn.round=xu,zn.runInContext=e,zn.sample=function(e){return(Qs(e)?Zn:Zr)(e)},zn.size=function(e){if(null==e)return 0;if(Hs(e))return ua(e)?pn(e):e.length;var t=gi(e);return t==D||t==A?e.size:Mr(e).length},zn.snakeCase=Ka,zn.some=function(e,t,n){var r=Qs(e)?Bt:io;return n&&wi(e,t,n)&&(t=o),r(e,li(t,3))},zn.sortedIndex=function(e,t){return so(e,t)},zn.sortedIndexBy=function(e,t,n){return ao(e,t,li(n,2))},zn.sortedIndexOf=function(e,t){var n=null==e?0:e.length;if(n){var r=so(e,t);if(r<n&&zs(e[r],t))return r}return-1},zn.sortedLastIndex=function(e,t){return so(e,t,!0)},zn.sortedLastIndexBy=function(e,t,n){return ao(e,t,li(n,2),!0)},zn.sortedLastIndexOf=function(e,t){if(null==e?0:e.length){var n=so(e,t,!0)-1;if(zs(e[n],t))return n}return-1},zn.startCase=Ja,zn.startsWith=function(e,t,n){return e=ba(e),n=null==n?0:ur(ma(n),0,e.length),t=lo(t),e.slice(n,n+t.length)==t},zn.subtract=Du,zn.sum=function(e){return e&&e.length?Wt(e,ou):0},zn.sumBy=function(e,t){return e&&e.length?Wt(e,li(t,2)):0},zn.template=function(e,t,n){var r=zn.templateSettings;n&&wi(e,t,n)&&(t=o),e=ba(e),t=Ea({},t,r,ei);var i,s,a=Ea({},t.imports,r.imports,ei),u=ja(a),c=en(a,u),l=0,f=t.interpolate||Ee,d="__p += '",h=Oe((t.escape||Ee).source+"|"+f.source+"|"+(f===ee?pe:Ee).source+"|"+(t.evaluate||Ee).source+"|$","g"),p="//# sourceURL="+(Te.call(t,"sourceURL")?(t.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++at+"]")+"\n";e.replace(h,(function(t,n,r,o,a,u){return r||(r=o),d+=e.slice(l,u).replace(ke,an),n&&(i=!0,d+="' +\n__e("+n+") +\n'"),a&&(s=!0,d+="';\n"+a+";\n__p += '"),r&&(d+="' +\n((__t = ("+r+")) == null ? '' : __t) +\n'"),l=u+t.length,t})),d+="';\n";var m=Te.call(t,"variable")&&t.variable;if(m){if(de.test(m))throw new xe("Invalid `variable` option passed into `_.template`")}else d="with (obj) {\n"+d+"\n}\n";d=(s?d.replace(Q,""):d).replace(X,"$1").replace(H,"$1;"),d="function("+(m||"obj")+") {\n"+(m?"":"obj || (obj = {});\n")+"var __t, __p = ''"+(i?", __e = _.escape":"")+(s?", __j = Array.prototype.join;\nfunction print() { __p += __j.call(arguments, '') }\n":";\n")+d+"return __p\n}";var g=Ya((function(){return De(u,p+"return "+d).apply(o,c)}));if(g.source=d,Gs(g))throw g;return g},zn.times=function(e,t){if((e=ma(e))<1||e>p)return[];var n=g,r=_n(e,g);t=li(t),e-=g;for(var o=Gt(r,t);++n<e;)t(n);return o},zn.toFinite=pa,zn.toInteger=ma,zn.toLength=ga,zn.toLower=function(e){return ba(e).toLowerCase()},zn.toNumber=ya,zn.toSafeInteger=function(e){return e?ur(ma(e),-9007199254740991,p):0===e?e:0},zn.toString=ba,zn.toUpper=function(e){return ba(e).toUpperCase()},zn.trim=function(e,t,n){if((e=ba(e))&&(n||t===o))return Zt(e);if(!e||!(t=lo(t)))return e;var r=mn(e),i=mn(t);return ko(r,nn(r,i),rn(r,i)+1).join("")},zn.trimEnd=function(e,t,n){if((e=ba(e))&&(n||t===o))return e.slice(0,gn(e)+1);if(!e||!(t=lo(t)))return e;var r=mn(e);return ko(r,0,rn(r,mn(t))+1).join("")},zn.trimStart=function(e,t,n){if((e=ba(e))&&(n||t===o))return e.replace(se,"");if(!e||!(t=lo(t)))return e;var r=mn(e);return ko(r,nn(r,mn(t))).join("")},zn.truncate=function(e,t){var n=30,r="...";if(ta(t)){var i="separator"in t?t.separator:i;n="length"in t?ma(t.length):n,r="omission"in t?lo(t.omission):r}var s=(e=ba(e)).length;if(un(e)){var a=mn(e);s=a.length}if(n>=s)return e;var u=n-pn(r);if(u<1)return r;var c=a?ko(a,0,u).join(""):e.slice(0,u);if(i===o)return c+r;if(a&&(u+=c.length-u),sa(i)){if(e.slice(u).search(i)){var l,f=c;for(i.global||(i=Oe(i.source,ba(me.exec(i))+"g")),i.lastIndex=0;l=i.exec(f);)var d=l.index;c=c.slice(0,d===o?u:d)}}else if(e.indexOf(lo(i),u)!=u){var h=c.lastIndexOf(i);h>-1&&(c=c.slice(0,h))}return c+r},zn.unescape=function(e){return(e=ba(e))&&W.test(e)?e.replace(K,yn):e},zn.uniqueId=function(e){var t=++Me;return ba(e)+t},zn.upperCase=Wa,zn.upperFirst=Ga,zn.each=bs,zn.eachRight=_s,zn.first=Hi,uu(zn,(Eu={},wr(zn,(function(e,t){Te.call(zn.prototype,t)||(Eu[t]=e)})),Eu),{chain:!1}),zn.VERSION="4.17.21",$t(["bind","bindKey","curry","curryRight","partial","partialRight"],(function(e){zn[e].placeholder=zn})),$t(["drop","take"],(function(e,t){Qn.prototype[e]=function(n){n=n===o?1:bn(ma(n),0);var r=this.__filtered__&&!t?new Qn(this):this.clone();return r.__filtered__?r.__takeCount__=_n(n,r.__takeCount__):r.__views__.push({size:_n(n,g),type:e+(r.__dir__<0?"Right":"")}),r},Qn.prototype[e+"Right"]=function(t){return this.reverse()[e](t).reverse()}})),$t(["filter","map","takeWhile"],(function(e,t){var n=t+1,r=1==n||3==n;Qn.prototype[e]=function(e){var t=this.clone();return t.__iteratees__.push({iteratee:li(e,3),type:n}),t.__filtered__=t.__filtered__||r,t}})),$t(["head","last"],(function(e,t){var n="take"+(t?"Right":"");Qn.prototype[e]=function(){return this[n](1).value()[0]}})),$t(["initial","tail"],(function(e,t){var n="drop"+(t?"":"Right");Qn.prototype[e]=function(){return this.__filtered__?new Qn(this):this[n](1)}})),Qn.prototype.compact=function(){return this.filter(ou)},Qn.prototype.find=function(e){return this.filter(e).head()},Qn.prototype.findLast=function(e){return this.reverse().find(e)},Qn.prototype.invokeMap=Gr((function(e,t){return"function"==typeof e?new Qn(this):this.map((function(n){return Pr(n,e,t)}))})),Qn.prototype.reject=function(e){return this.filter(Ts(li(e)))},Qn.prototype.slice=function(e,t){e=ma(e);var n=this;return n.__filtered__&&(e>0||t<0)?new Qn(n):(e<0?n=n.takeRight(-e):e&&(n=n.drop(e)),t!==o&&(n=(t=ma(t))<0?n.dropRight(-t):n.take(t-e)),n)},Qn.prototype.takeRightWhile=function(e){return this.reverse().takeWhile(e).reverse()},Qn.prototype.toArray=function(){return this.take(g)},wr(Qn.prototype,(function(e,t){var n=/^(?:filter|find|map|reject)|While$/.test(t),r=/^(?:head|last)$/.test(t),i=zn[r?"take"+("last"==t?"Right":""):t],s=r||/^find/.test(t);i&&(zn.prototype[t]=function(){var t=this.__wrapped__,a=r?[1]:arguments,u=t instanceof Qn,c=a[0],l=u||Qs(t),f=function(e){var t=i.apply(zn,Tt([e],a));return r&&d?t[0]:t};l&&n&&"function"==typeof c&&1!=c.length&&(u=l=!1);var d=this.__chain__,h=!!this.__actions__.length,p=s&&!d,m=u&&!h;if(!s&&l){t=m?t:new Qn(this);var g=e.apply(t,a);return g.__actions__.push({func:ps,args:[f],thisArg:o}),new Vn(g,d)}return p&&m?e.apply(this,a):(g=this.thru(f),p?r?g.value()[0]:g.value():g)})})),$t(["pop","push","shift","sort","splice","unshift"],(function(e){var t=Pe[e],n=/^(?:push|sort|unshift)$/.test(e)?"tap":"thru",r=/^(?:pop|shift)$/.test(e);zn.prototype[e]=function(){var e=arguments;if(r&&!this.__chain__){var o=this.value();return t.apply(Qs(o)?o:[],e)}return this[n]((function(n){return t.apply(Qs(n)?n:[],e)}))}})),wr(Qn.prototype,(function(e,t){var n=zn[t];if(n){var r=n.name+"";Te.call(jn,r)||(jn[r]=[]),jn[r].push({name:t,func:n})}})),jn[Uo(o,2).name]=[{name:"wrapper",func:o}],Qn.prototype.clone=function(){var e=new Qn(this.__wrapped__);return e.__actions__=Po(this.__actions__),e.__dir__=this.__dir__,e.__filtered__=this.__filtered__,e.__iteratees__=Po(this.__iteratees__),e.__takeCount__=this.__takeCount__,e.__views__=Po(this.__views__),e},Qn.prototype.reverse=function(){if(this.__filtered__){var e=new Qn(this);e.__dir__=-1,e.__filtered__=!0}else(e=this.clone()).__dir__*=-1;return e},Qn.prototype.value=function(){var e=this.__wrapped__.value(),t=this.__dir__,n=Qs(e),r=t<0,o=n?e.length:0,i=function(e,t,n){var r=-1,o=n.length;for(;++r<o;){var i=n[r],s=i.size;switch(i.type){case"drop":e+=s;break;case"dropRight":t-=s;break;case"take":t=_n(t,e+s);break;case"takeRight":e=bn(e,t-s)}}return{start:e,end:t}}(0,o,this.__views__),s=i.start,a=i.end,u=a-s,c=r?a:s-1,l=this.__iteratees__,f=l.length,d=0,h=_n(u,this.__takeCount__);if(!n||!r&&o==u&&h==u)return go(e,this.__actions__);var p=[];e:for(;u--&&d<h;){for(var m=-1,g=e[c+=t];++m<f;){var y=l[m],v=y.iteratee,b=y.type,_=v(g);if(2==b)g=_;else if(!_){if(1==b)continue e;break e}}p[d++]=g}return p},zn.prototype.at=ms,zn.prototype.chain=function(){return hs(this)},zn.prototype.commit=function(){return new Vn(this.value(),this.__chain__)},zn.prototype.next=function(){this.__values__===o&&(this.__values__=ha(this.value()));var e=this.__index__>=this.__values__.length;return{done:e,value:e?o:this.__values__[this.__index__++]}},zn.prototype.plant=function(e){for(var t,n=this;n instanceof qn;){var r=Li(n);r.__index__=0,r.__values__=o,t?i.__wrapped__=r:t=r;var i=r;n=n.__wrapped__}return i.__wrapped__=e,t},zn.prototype.reverse=function(){var e=this.__wrapped__;if(e instanceof Qn){var t=e;return this.__actions__.length&&(t=new Qn(this)),(t=t.reverse()).__actions__.push({func:ps,args:[ts],thisArg:o}),new Vn(t,this.__chain__)}return this.thru(ts)},zn.prototype.toJSON=zn.prototype.valueOf=zn.prototype.value=function(){return go(this.__wrapped__,this.__actions__)},zn.prototype.first=zn.prototype.head,Ze&&(zn.prototype[Ze]=function(){return this}),zn}();mt._=vn,(r=function(){return vn}.call(t,n,t,e))===o||(e.exports=r)}.call(this)},30733:(e,t,n)=>{var r=n(96738);function o(e,t){if("function"!=typeof e||null!=t&&"function"!=typeof t)throw new TypeError("Expected a function");var n=function(){var r=arguments,o=t?t.apply(this,r):r[0],i=n.cache;if(i.has(o))return i.get(o);var s=e.apply(this,r);return n.cache=i.set(o,s)||i,s};return n.cache=new(o.Cache||r),n}o.Cache=r,e.exports=o},16765:(e,t,n)=>{var r=n(82857);e.exports=function(e,t,n){return null==e?e:r(e,t,n)}},66188:(e,t,n)=>{var r=n(1054);e.exports=function(e){return null==e?"":r(e)}},86448:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>r});const r={schemaItem:"schemaItem_Ndoq",schemaName:"schemaName_R3Uj",strikethrough:"strikethrough_Q6D2"}},89754:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>r});const r={constant:"constant_8nJK"}},3350:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>r});const r={deprecated:"deprecated__nvj"}},65950:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>r});const r={readOnly:"readOnly_Kxax"}},43654:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>r});const r={required:"required_SaMx"}},65128:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>r});const r={writeOnly:"writeOnly_OAXI"}},84501:(e,t)=>{function n(e){let t,n=[];for(let r of e.split(",").map((e=>e.trim())))if(/^-?\d+$/.test(r))n.push(parseInt(r,10));else if(t=r.match(/^(-?\d+)(-|\.\.\.?|\u2025|\u2026|\u22EF)(-?\d+)$/)){let[e,r,o,i]=t;if(r&&i){r=parseInt(r),i=parseInt(i);const e=r<i?1:-1;"-"!==o&&".."!==o&&"\u2025"!==o||(i+=e);for(let t=r;t!==i;t+=e)n.push(t)}}return n}t.default=n,e.exports=n},27822:(e,t,n)=>{"use strict";const r=n(25308);e.exports=r,r.default=r},25308:e=>{"use strict";e.exports=function(e,n,r){var o,i="";if(t="",arguments.length>1){if("number"==typeof r)for(o=0;o<r;o+=1)i+=" ";else"string"==typeof r&&(i=r);if(""!==i){if(null!=n){if("function"==typeof n)return a("",{"":e},[],n,i);if(Array.isArray(n))return u("",e,[],n,i)}return c("",e,[],i)}if("function"==typeof n)return f("",{"":e},[],n);if(Array.isArray(n))return l("",e,[],n)}return d("",e,[])};var t="";const n=/[\x00-\x1f\x22\x5c]/,r=/[\x00-\x1f\x22\x5c]/g,o=["\\u0000","\\u0001","\\u0002","\\u0003","\\u0004","\\u0005","\\u0006","\\u0007","\\b","\\t","\\n","\\u000b","\\f","\\r","\\u000e","\\u000f","\\u0010","\\u0011","\\u0012","\\u0013","\\u0014","\\u0015","\\u0016","\\u0017","\\u0018","\\u0019","\\u001a","\\u001b","\\u001c","\\u001d","\\u001e","\\u001f","","",'\\"',"","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","\\\\"];function i(e){return o[e.charCodeAt(0)]}function s(e){if(e.length<5e3&&!n.test(e))return e;if(e.length>100)return e.replace(r,i);for(var t="",s=0,a=0;a<e.length;a++){const n=e.charCodeAt(a);(34===n||92===n||n<32)&&(t+=s===a?o[n]:`${e.slice(s,a)}${o[n]}`,s=a+1)}return 0===s?t=e:s!==a&&(t+=e.slice(s)),t}function a(e,n,r,o,i){var u,c,l;const f=t;var d=n[e];switch("object"==typeof d&&null!==d&&"function"==typeof d.toJSON&&(d=d.toJSON(e)),typeof(d=o.call(n,e,d))){case"object":if(null===d)return"null";for(u=0;u<r.length;u++)if(r[u]===d)return'"[Circular]"';if(Array.isArray(d)){if(0===d.length)return"[]";for(r.push(d),c="[",c+=`\n${t+=i}`,l=`,\n${t}`,u=0;u<d.length-1;u++){const e=a(u,d,r,o,i);c+=void 0!==e?e:"null",c+=l}const e=a(u,d,r,o,i);return c+=void 0!==e?e:"null",""!==t&&(c+=`\n${f}`),c+="]",r.pop(),t=f,c}var p=h(Object.keys(d));if(0===p.length)return"{}";r.push(d),c="{",c+=`\n${t+=i}`,l=`,\n${t}`;var m="";for(u=0;u<p.length;u++){const t=a(e=p[u],d,r,o,i);void 0!==t&&(c+=`${m}"${s(e)}": ${t}`,m=l)}return""!==m?c+=`\n${f}`:c="{",c+="}",r.pop(),t=f,c;case"string":return`"${s(d)}"`;case"number":return isFinite(d)?String(d):"null";case"boolean":return!0===d?"true":"false"}}function u(e,n,r,o,i){var a,c,l;const f=t;switch("object"==typeof n&&null!==n&&"function"==typeof n.toJSON&&(n=n.toJSON(e)),typeof n){case"object":if(null===n)return"null";for(a=0;a<r.length;a++)if(r[a]===n)return'"[Circular]"';if(Array.isArray(n)){if(0===n.length)return"[]";for(r.push(n),c="[",c+=`\n${t+=i}`,l=`,\n${t}`,a=0;a<n.length-1;a++){const e=u(a,n[a],r,o,i);c+=void 0!==e?e:"null",c+=l}const e=u(a,n[a],r,o,i);return c+=void 0!==e?e:"null",""!==t&&(c+=`\n${f}`),c+="]",r.pop(),t=f,c}if(0===o.length)return"{}";r.push(n),c="{",c+=`\n${t+=i}`,l=`,\n${t}`;var d="";for(a=0;a<o.length;a++)if("string"==typeof o[a]||"number"==typeof o[a]){const t=u(e=o[a],n[e],r,o,i);void 0!==t&&(c+=`${d}"${s(e)}": ${t}`,d=l)}return""!==d?c+=`\n${f}`:c="{",c+="}",r.pop(),t=f,c;case"string":return`"${s(n)}"`;case"number":return isFinite(n)?String(n):"null";case"boolean":return!0===n?"true":"false"}}function c(e,n,r,o){var i,a,u;const l=t;switch(typeof n){case"object":if(null===n)return"null";if("function"==typeof n.toJSON){if("object"!=typeof(n=n.toJSON(e)))return c(e,n,r,o);if(null===n)return"null"}for(i=0;i<r.length;i++)if(r[i]===n)return'"[Circular]"';if(Array.isArray(n)){if(0===n.length)return"[]";for(r.push(n),a="[",a+=`\n${t+=o}`,u=`,\n${t}`,i=0;i<n.length-1;i++){const e=c(i,n[i],r,o);a+=void 0!==e?e:"null",a+=u}const e=c(i,n[i],r,o);return a+=void 0!==e?e:"null",""!==t&&(a+=`\n${l}`),a+="]",r.pop(),t=l,a}var f=h(Object.keys(n));if(0===f.length)return"{}";r.push(n),a="{",a+=`\n${t+=o}`,u=`,\n${t}`;var d="";for(i=0;i<f.length;i++){const t=c(e=f[i],n[e],r,o);void 0!==t&&(a+=`${d}"${s(e)}": ${t}`,d=u)}return""!==d?a+=`\n${l}`:a="{",a+="}",r.pop(),t=l,a;case"string":return`"${s(n)}"`;case"number":return isFinite(n)?String(n):"null";case"boolean":return!0===n?"true":"false"}}function l(e,t,n,r){var o,i;switch("object"==typeof t&&null!==t&&"function"==typeof t.toJSON&&(t=t.toJSON(e)),typeof t){case"object":if(null===t)return"null";for(o=0;o<n.length;o++)if(n[o]===t)return'"[Circular]"';if(Array.isArray(t)){if(0===t.length)return"[]";for(n.push(t),i="[",o=0;o<t.length-1;o++){const e=l(o,t[o],n,r);i+=void 0!==e?e:"null",i+=","}const e=l(o,t[o],n,r);return i+=void 0!==e?e:"null",i+="]",n.pop(),i}if(0===r.length)return"{}";n.push(t),i="{";var a="";for(o=0;o<r.length;o++)if("string"==typeof r[o]||"number"==typeof r[o]){const u=l(e=r[o],t[e],n,r);void 0!==u&&(i+=`${a}"${s(e)}":${u}`,a=",")}return i+="}",n.pop(),i;case"string":return`"${s(t)}"`;case"number":return isFinite(t)?String(t):"null";case"boolean":return!0===t?"true":"false"}}function f(e,t,n,r){var o,i,a=t[e];switch("object"==typeof a&&null!==a&&"function"==typeof a.toJSON&&(a=a.toJSON(e)),typeof(a=r.call(t,e,a))){case"object":if(null===a)return"null";for(o=0;o<n.length;o++)if(n[o]===a)return'"[Circular]"';if(Array.isArray(a)){if(0===a.length)return"[]";for(n.push(a),i="[",o=0;o<a.length-1;o++){const e=f(o,a,n,r);i+=void 0!==e?e:"null",i+=","}const e=f(o,a,n,r);return i+=void 0!==e?e:"null",i+="]",n.pop(),i}var u=h(Object.keys(a));if(0===u.length)return"{}";n.push(a),i="{";var c="";for(o=0;o<u.length;o++){const t=f(e=u[o],a,n,r);void 0!==t&&(i+=`${c}"${s(e)}":${t}`,c=",")}return i+="}",n.pop(),i;case"string":return`"${s(a)}"`;case"number":return isFinite(a)?String(a):"null";case"boolean":return!0===a?"true":"false"}}function d(e,t,n){var r,o;switch(typeof t){case"object":if(null===t)return"null";if("function"==typeof t.toJSON){if("object"!=typeof(t=t.toJSON(e)))return d(e,t,n);if(null===t)return"null"}for(r=0;r<n.length;r++)if(n[r]===t)return'"[Circular]"';if(Array.isArray(t)){if(0===t.length)return"[]";for(n.push(t),o="[",r=0;r<t.length-1;r++){const e=d(r,t[r],n);o+=void 0!==e?e:"null",o+=","}const e=d(r,t[r],n);return o+=void 0!==e?e:"null",o+="]",n.pop(),o}var i=h(Object.keys(t));if(0===i.length)return"{}";n.push(t);var a="";for(o="{",r=0;r<i.length;r++){const u=d(e=i[r],t[e],n);void 0!==u&&(o+=`${a}"${s(e)}":${u}`,a=",")}return o+="}",n.pop(),o;case"string":return`"${s(t)}"`;case"number":return isFinite(t)?String(t):"null";case"boolean":return!0===t?"true":"false"}}function h(e){for(var t=1;t<e.length;t++){const r=e[t];for(var n=t;0!==n&&e[n-1]>r;)e[n]=e[n-1],n--;e[n]=r}return e}},63338:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var o=r(n(6299));t.default=function(e,t){var n=null;if(!e||"string"!=typeof e)return n;var r=(0,o.default)(e),i="function"==typeof t;return r.forEach((function(e){if("declaration"===e.type){var r=e.property,o=e.value;i?t(r,o,e):o&&((n=n||{})[r]=o)}})),n}},12854:function(e,t){!function(e){"use strict";function t(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];if(t.length>1){t[0]=t[0].slice(0,-1);for(var r=t.length-1,o=1;o<r;++o)t[o]=t[o].slice(1,-1);return t[r]=t[r].slice(1),t.join("")}return t[0]}function n(e){return"(?:"+e+")"}function r(e){return void 0===e?"undefined":null===e?"null":Object.prototype.toString.call(e).split(" ").pop().split("]").shift().toLowerCase()}function o(e){return e.toUpperCase()}function i(e){return null!=e?e instanceof Array?e:"number"!=typeof e.length||e.split||e.setInterval||e.call?[e]:Array.prototype.slice.call(e):[]}function s(e,t){var n=e;if(t)for(var r in t)n[r]=t[r];return n}function a(e){var r="[A-Za-z]",o="[0-9]",i=t(o,"[A-Fa-f]"),s=n(n("%[EFef]"+i+"%"+i+i+"%"+i+i)+"|"+n("%[89A-Fa-f]"+i+"%"+i+i)+"|"+n("%"+i+i)),a="[\\!\\$\\&\\'\\(\\)\\*\\+\\,\\;\\=]",u=t("[\\:\\/\\?\\#\\[\\]\\@]",a),c=e?"[\\uE000-\\uF8FF]":"[]",l=t(r,o,"[\\-\\.\\_\\~]",e?"[\\xA0-\\u200D\\u2010-\\u2029\\u202F-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFEF]":"[]"),f=n(r+t(r,o,"[\\+\\-\\.]")+"*"),d=n(n(s+"|"+t(l,a,"[\\:]"))+"*"),h=(n(n("25[0-5]")+"|"+n("2[0-4]"+o)+"|"+n("1"+o+o)+"|"+n("[1-9]"+o)+"|"+o),n(n("25[0-5]")+"|"+n("2[0-4]"+o)+"|"+n("1"+o+o)+"|"+n("0?[1-9]"+o)+"|0?0?"+o)),p=n(h+"\\."+h+"\\."+h+"\\."+h),m=n(i+"{1,4}"),g=n(n(m+"\\:"+m)+"|"+p),y=n(n(m+"\\:")+"{6}"+g),v=n("\\:\\:"+n(m+"\\:")+"{5}"+g),b=n(n(m)+"?\\:\\:"+n(m+"\\:")+"{4}"+g),_=n(n(n(m+"\\:")+"{0,1}"+m)+"?\\:\\:"+n(m+"\\:")+"{3}"+g),w=n(n(n(m+"\\:")+"{0,2}"+m)+"?\\:\\:"+n(m+"\\:")+"{2}"+g),E=n(n(n(m+"\\:")+"{0,3}"+m)+"?\\:\\:"+m+"\\:"+g),k=n(n(n(m+"\\:")+"{0,4}"+m)+"?\\:\\:"+g),x=n(n(n(m+"\\:")+"{0,5}"+m)+"?\\:\\:"+m),D=n(n(n(m+"\\:")+"{0,6}"+m)+"?\\:\\:"),S=n([y,v,b,_,w,E,k,x,D].join("|")),C=n(n(l+"|"+s)+"+"),O=(n(S+"\\%25"+C),n(S+n("\\%25|\\%(?!"+i+"{2})")+C)),$=n("[vV]"+i+"+\\."+t(l,a,"[\\:]")+"+"),A=n("\\["+n(O+"|"+S+"|"+$)+"\\]"),P=n(n(s+"|"+t(l,a))+"*"),j=n(A+"|"+p+"(?!"+P+")|"+P),F=n(o+"*"),I=n(n(d+"@")+"?"+j+n("\\:"+F)+"?"),N=n(s+"|"+t(l,a,"[\\:\\@]")),T=n(N+"*"),M=n(N+"+"),R=n(n(s+"|"+t(l,a,"[\\@]"))+"+"),B=n(n("\\/"+T)+"*"),L=n("\\/"+n(M+B)+"?"),z=n(R+B),U=n(M+B),q="(?!"+N+")",V=(n(B+"|"+L+"|"+z+"|"+U+"|"+q),n(n(N+"|"+t("[\\/\\?]",c))+"*")),Q=n(n(N+"|[\\/\\?]")+"*"),X=n(n("\\/\\/"+I+B)+"|"+L+"|"+U+"|"+q),H=n(f+"\\:"+X+n("\\?"+V)+"?"+n("\\#"+Q)+"?"),K=n(n("\\/\\/"+I+B)+"|"+L+"|"+z+"|"+q),J=n(K+n("\\?"+V)+"?"+n("\\#"+Q)+"?");return n(H+"|"+J),n(f+"\\:"+X+n("\\?"+V)+"?"),n(n("\\/\\/("+n("("+d+")@")+"?("+j+")"+n("\\:("+F+")")+"?)")+"?("+B+"|"+L+"|"+U+"|"+q+")"),n("\\?("+V+")"),n("\\#("+Q+")"),n(n("\\/\\/("+n("("+d+")@")+"?("+j+")"+n("\\:("+F+")")+"?)")+"?("+B+"|"+L+"|"+z+"|"+q+")"),n("\\?("+V+")"),n("\\#("+Q+")"),n(n("\\/\\/("+n("("+d+")@")+"?("+j+")"+n("\\:("+F+")")+"?)")+"?("+B+"|"+L+"|"+U+"|"+q+")"),n("\\?("+V+")"),n("\\#("+Q+")"),n("("+d+")@"),n("\\:("+F+")"),{NOT_SCHEME:new RegExp(t("[^]",r,o,"[\\+\\-\\.]"),"g"),NOT_USERINFO:new RegExp(t("[^\\%\\:]",l,a),"g"),NOT_HOST:new RegExp(t("[^\\%\\[\\]\\:]",l,a),"g"),NOT_PATH:new RegExp(t("[^\\%\\/\\:\\@]",l,a),"g"),NOT_PATH_NOSCHEME:new RegExp(t("[^\\%\\/\\@]",l,a),"g"),NOT_QUERY:new RegExp(t("[^\\%]",l,a,"[\\:\\@\\/\\?]",c),"g"),NOT_FRAGMENT:new RegExp(t("[^\\%]",l,a,"[\\:\\@\\/\\?]"),"g"),ESCAPE:new RegExp(t("[^]",l,a),"g"),UNRESERVED:new RegExp(l,"g"),OTHER_CHARS:new RegExp(t("[^\\%]",l,u),"g"),PCT_ENCODED:new RegExp(s,"g"),IPV4ADDRESS:new RegExp("^("+p+")$"),IPV6ADDRESS:new RegExp("^\\[?("+S+")"+n(n("\\%25|\\%(?!"+i+"{2})")+"("+C+")")+"?\\]?$")}}var u=a(!1),c=a(!0),l=function(){function e(e,t){var n=[],r=!0,o=!1,i=void 0;try{for(var s,a=e[Symbol.iterator]();!(r=(s=a.next()).done)&&(n.push(s.value),!t||n.length!==t);r=!0);}catch(u){o=!0,i=u}finally{try{!r&&a.return&&a.return()}finally{if(o)throw i}}return n}return function(t,n){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return e(t,n);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),f=function(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)},d=2147483647,h=36,p=1,m=26,g=38,y=700,v=72,b=128,_="-",w=/^xn--/,E=/[^\0-\x7E]/,k=/[\x2E\u3002\uFF0E\uFF61]/g,x={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},D=h-p,S=Math.floor,C=String.fromCharCode;function O(e){throw new RangeError(x[e])}function $(e,t){for(var n=[],r=e.length;r--;)n[r]=t(e[r]);return n}function A(e,t){var n=e.split("@"),r="";return n.length>1&&(r=n[0]+"@",e=n[1]),r+$((e=e.replace(k,".")).split("."),t).join(".")}function P(e){for(var t=[],n=0,r=e.length;n<r;){var o=e.charCodeAt(n++);if(o>=55296&&o<=56319&&n<r){var i=e.charCodeAt(n++);56320==(64512&i)?t.push(((1023&o)<<10)+(1023&i)+65536):(t.push(o),n--)}else t.push(o)}return t}var j=function(e){return e-48<10?e-22:e-65<26?e-65:e-97<26?e-97:h},F=function(e,t){return e+22+75*(e<26)-((0!=t)<<5)},I=function(e,t,n){var r=0;for(e=n?S(e/y):e>>1,e+=S(e/t);e>D*m>>1;r+=h)e=S(e/D);return S(r+(D+1)*e/(e+g))},N=function(e){var t=[],n=e.length,r=0,o=b,i=v,s=e.lastIndexOf(_);s<0&&(s=0);for(var a=0;a<s;++a)e.charCodeAt(a)>=128&&O("not-basic"),t.push(e.charCodeAt(a));for(var u=s>0?s+1:0;u<n;){for(var c=r,l=1,f=h;;f+=h){u>=n&&O("invalid-input");var g=j(e.charCodeAt(u++));(g>=h||g>S((d-r)/l))&&O("overflow"),r+=g*l;var y=f<=i?p:f>=i+m?m:f-i;if(g<y)break;var w=h-y;l>S(d/w)&&O("overflow"),l*=w}var E=t.length+1;i=I(r-c,E,0==c),S(r/E)>d-o&&O("overflow"),o+=S(r/E),r%=E,t.splice(r++,0,o)}return String.fromCodePoint.apply(String,t)},T=function(e){var t=[],n=(e=P(e)).length,r=b,o=0,i=v,s=!0,a=!1,u=void 0;try{for(var c,l=e[Symbol.iterator]();!(s=(c=l.next()).done);s=!0){var f=c.value;f<128&&t.push(C(f))}}catch(X){a=!0,u=X}finally{try{!s&&l.return&&l.return()}finally{if(a)throw u}}var g=t.length,y=g;for(g&&t.push(_);y<n;){var w=d,E=!0,k=!1,x=void 0;try{for(var D,$=e[Symbol.iterator]();!(E=(D=$.next()).done);E=!0){var A=D.value;A>=r&&A<w&&(w=A)}}catch(X){k=!0,x=X}finally{try{!E&&$.return&&$.return()}finally{if(k)throw x}}var j=y+1;w-r>S((d-o)/j)&&O("overflow"),o+=(w-r)*j,r=w;var N=!0,T=!1,M=void 0;try{for(var R,B=e[Symbol.iterator]();!(N=(R=B.next()).done);N=!0){var L=R.value;if(L<r&&++o>d&&O("overflow"),L==r){for(var z=o,U=h;;U+=h){var q=U<=i?p:U>=i+m?m:U-i;if(z<q)break;var V=z-q,Q=h-q;t.push(C(F(q+V%Q,0))),z=S(V/Q)}t.push(C(F(z,0))),i=I(o,j,y==g),o=0,++y}}}catch(X){T=!0,M=X}finally{try{!N&&B.return&&B.return()}finally{if(T)throw M}}++o,++r}return t.join("")},M=function(e){return A(e,(function(e){return w.test(e)?N(e.slice(4).toLowerCase()):e}))},R=function(e){return A(e,(function(e){return E.test(e)?"xn--"+T(e):e}))},B={version:"2.1.0",ucs2:{decode:P,encode:function(e){return String.fromCodePoint.apply(String,f(e))}},decode:N,encode:T,toASCII:R,toUnicode:M},L={};function z(e){var t=e.charCodeAt(0);return t<16?"%0"+t.toString(16).toUpperCase():t<128?"%"+t.toString(16).toUpperCase():t<2048?"%"+(t>>6|192).toString(16).toUpperCase()+"%"+(63&t|128).toString(16).toUpperCase():"%"+(t>>12|224).toString(16).toUpperCase()+"%"+(t>>6&63|128).toString(16).toUpperCase()+"%"+(63&t|128).toString(16).toUpperCase()}function U(e){for(var t="",n=0,r=e.length;n<r;){var o=parseInt(e.substr(n+1,2),16);if(o<128)t+=String.fromCharCode(o),n+=3;else if(o>=194&&o<224){if(r-n>=6){var i=parseInt(e.substr(n+4,2),16);t+=String.fromCharCode((31&o)<<6|63&i)}else t+=e.substr(n,6);n+=6}else if(o>=224){if(r-n>=9){var s=parseInt(e.substr(n+4,2),16),a=parseInt(e.substr(n+7,2),16);t+=String.fromCharCode((15&o)<<12|(63&s)<<6|63&a)}else t+=e.substr(n,9);n+=9}else t+=e.substr(n,3),n+=3}return t}function q(e,t){function n(e){var n=U(e);return n.match(t.UNRESERVED)?n:e}return e.scheme&&(e.scheme=String(e.scheme).replace(t.PCT_ENCODED,n).toLowerCase().replace(t.NOT_SCHEME,"")),void 0!==e.userinfo&&(e.userinfo=String(e.userinfo).replace(t.PCT_ENCODED,n).replace(t.NOT_USERINFO,z).replace(t.PCT_ENCODED,o)),void 0!==e.host&&(e.host=String(e.host).replace(t.PCT_ENCODED,n).toLowerCase().replace(t.NOT_HOST,z).replace(t.PCT_ENCODED,o)),void 0!==e.path&&(e.path=String(e.path).replace(t.PCT_ENCODED,n).replace(e.scheme?t.NOT_PATH:t.NOT_PATH_NOSCHEME,z).replace(t.PCT_ENCODED,o)),void 0!==e.query&&(e.query=String(e.query).replace(t.PCT_ENCODED,n).replace(t.NOT_QUERY,z).replace(t.PCT_ENCODED,o)),void 0!==e.fragment&&(e.fragment=String(e.fragment).replace(t.PCT_ENCODED,n).replace(t.NOT_FRAGMENT,z).replace(t.PCT_ENCODED,o)),e}function V(e){return e.replace(/^0*(.*)/,"$1")||"0"}function Q(e,t){var n=e.match(t.IPV4ADDRESS)||[],r=l(n,2)[1];return r?r.split(".").map(V).join("."):e}function X(e,t){var n=e.match(t.IPV6ADDRESS)||[],r=l(n,3),o=r[1],i=r[2];if(o){for(var s=o.toLowerCase().split("::").reverse(),a=l(s,2),u=a[0],c=a[1],f=c?c.split(":").map(V):[],d=u.split(":").map(V),h=t.IPV4ADDRESS.test(d[d.length-1]),p=h?7:8,m=d.length-p,g=Array(p),y=0;y<p;++y)g[y]=f[y]||d[m+y]||"";h&&(g[p-1]=Q(g[p-1],t));var v=g.reduce((function(e,t,n){if(!t||"0"===t){var r=e[e.length-1];r&&r.index+r.length===n?r.length++:e.push({index:n,length:1})}return e}),[]).sort((function(e,t){return t.length-e.length}))[0],b=void 0;if(v&&v.length>1){var _=g.slice(0,v.index),w=g.slice(v.index+v.length);b=_.join(":")+"::"+w.join(":")}else b=g.join(":");return i&&(b+="%"+i),b}return e}var H=/^(?:([^:\/?#]+):)?(?:\/\/((?:([^\/?#@]*)@)?(\[[^\/?#\]]+\]|[^\/?#:]*)(?:\:(\d*))?))?([^?#]*)(?:\?([^#]*))?(?:#((?:.|\n|\r)*))?/i,K=void 0==="".match(/(){0}/)[1];function J(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n={},r=!1!==t.iri?c:u;"suffix"===t.reference&&(e=(t.scheme?t.scheme+":":"")+"//"+e);var o=e.match(H);if(o){K?(n.scheme=o[1],n.userinfo=o[3],n.host=o[4],n.port=parseInt(o[5],10),n.path=o[6]||"",n.query=o[7],n.fragment=o[8],isNaN(n.port)&&(n.port=o[5])):(n.scheme=o[1]||void 0,n.userinfo=-1!==e.indexOf("@")?o[3]:void 0,n.host=-1!==e.indexOf("//")?o[4]:void 0,n.port=parseInt(o[5],10),n.path=o[6]||"",n.query=-1!==e.indexOf("?")?o[7]:void 0,n.fragment=-1!==e.indexOf("#")?o[8]:void 0,isNaN(n.port)&&(n.port=e.match(/\/\/(?:.|\n)*\:(?:\/|\?|\#|$)/)?o[4]:void 0)),n.host&&(n.host=X(Q(n.host,r),r)),void 0!==n.scheme||void 0!==n.userinfo||void 0!==n.host||void 0!==n.port||n.path||void 0!==n.query?void 0===n.scheme?n.reference="relative":void 0===n.fragment?n.reference="absolute":n.reference="uri":n.reference="same-document",t.reference&&"suffix"!==t.reference&&t.reference!==n.reference&&(n.error=n.error||"URI is not a "+t.reference+" reference.");var i=L[(t.scheme||n.scheme||"").toLowerCase()];if(t.unicodeSupport||i&&i.unicodeSupport)q(n,r);else{if(n.host&&(t.domainHost||i&&i.domainHost))try{n.host=B.toASCII(n.host.replace(r.PCT_ENCODED,U).toLowerCase())}catch(s){n.error=n.error||"Host's domain name can not be converted to ASCII via punycode: "+s}q(n,u)}i&&i.parse&&i.parse(n,t)}else n.error=n.error||"URI can not be parsed.";return n}function W(e,t){var n=!1!==t.iri?c:u,r=[];return void 0!==e.userinfo&&(r.push(e.userinfo),r.push("@")),void 0!==e.host&&r.push(X(Q(String(e.host),n),n).replace(n.IPV6ADDRESS,(function(e,t,n){return"["+t+(n?"%25"+n:"")+"]"}))),"number"!=typeof e.port&&"string"!=typeof e.port||(r.push(":"),r.push(String(e.port))),r.length?r.join(""):void 0}var G=/^\.\.?\//,Z=/^\/\.(\/|$)/,Y=/^\/\.\.(\/|$)/,ee=/^\/?(?:.|\n)*?(?=\/|$)/;function te(e){for(var t=[];e.length;)if(e.match(G))e=e.replace(G,"");else if(e.match(Z))e=e.replace(Z,"/");else if(e.match(Y))e=e.replace(Y,"/"),t.pop();else if("."===e||".."===e)e="";else{var n=e.match(ee);if(!n)throw new Error("Unexpected dot segment condition");var r=n[0];e=e.slice(r.length),t.push(r)}return t.join("")}function ne(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.iri?c:u,r=[],o=L[(t.scheme||e.scheme||"").toLowerCase()];if(o&&o.serialize&&o.serialize(e,t),e.host)if(n.IPV6ADDRESS.test(e.host));else if(t.domainHost||o&&o.domainHost)try{e.host=t.iri?B.toUnicode(e.host):B.toASCII(e.host.replace(n.PCT_ENCODED,U).toLowerCase())}catch(a){e.error=e.error||"Host's domain name can not be converted to "+(t.iri?"Unicode":"ASCII")+" via punycode: "+a}q(e,n),"suffix"!==t.reference&&e.scheme&&(r.push(e.scheme),r.push(":"));var i=W(e,t);if(void 0!==i&&("suffix"!==t.reference&&r.push("//"),r.push(i),e.path&&"/"!==e.path.charAt(0)&&r.push("/")),void 0!==e.path){var s=e.path;t.absolutePath||o&&o.absolutePath||(s=te(s)),void 0===i&&(s=s.replace(/^\/\//,"/%2F")),r.push(s)}return void 0!==e.query&&(r.push("?"),r.push(e.query)),void 0!==e.fragment&&(r.push("#"),r.push(e.fragment)),r.join("")}function re(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r={};return arguments[3]||(e=J(ne(e,n),n),t=J(ne(t,n),n)),!(n=n||{}).tolerant&&t.scheme?(r.scheme=t.scheme,r.userinfo=t.userinfo,r.host=t.host,r.port=t.port,r.path=te(t.path||""),r.query=t.query):(void 0!==t.userinfo||void 0!==t.host||void 0!==t.port?(r.userinfo=t.userinfo,r.host=t.host,r.port=t.port,r.path=te(t.path||""),r.query=t.query):(t.path?("/"===t.path.charAt(0)?r.path=te(t.path):(void 0===e.userinfo&&void 0===e.host&&void 0===e.port||e.path?e.path?r.path=e.path.slice(0,e.path.lastIndexOf("/")+1)+t.path:r.path=t.path:r.path="/"+t.path,r.path=te(r.path)),r.query=t.query):(r.path=e.path,void 0!==t.query?r.query=t.query:r.query=e.query),r.userinfo=e.userinfo,r.host=e.host,r.port=e.port),r.scheme=e.scheme),r.fragment=t.fragment,r}function oe(e,t,n){var r=s({scheme:"null"},n);return ne(re(J(e,r),J(t,r),r,!0),r)}function ie(e,t){return"string"==typeof e?e=ne(J(e,t),t):"object"===r(e)&&(e=J(ne(e,t),t)),e}function se(e,t,n){return"string"==typeof e?e=ne(J(e,n),n):"object"===r(e)&&(e=ne(e,n)),"string"==typeof t?t=ne(J(t,n),n):"object"===r(t)&&(t=ne(t,n)),e===t}function ae(e,t){return e&&e.toString().replace(t&&t.iri?c.ESCAPE:u.ESCAPE,z)}function ue(e,t){return e&&e.toString().replace(t&&t.iri?c.PCT_ENCODED:u.PCT_ENCODED,U)}var ce={scheme:"http",domainHost:!0,parse:function(e,t){return e.host||(e.error=e.error||"HTTP URIs must have a host."),e},serialize:function(e,t){var n="https"===String(e.scheme).toLowerCase();return e.port!==(n?443:80)&&""!==e.port||(e.port=void 0),e.path||(e.path="/"),e}},le={scheme:"https",domainHost:ce.domainHost,parse:ce.parse,serialize:ce.serialize};function fe(e){return"boolean"==typeof e.secure?e.secure:"wss"===String(e.scheme).toLowerCase()}var de={scheme:"ws",domainHost:!0,parse:function(e,t){var n=e;return n.secure=fe(n),n.resourceName=(n.path||"/")+(n.query?"?"+n.query:""),n.path=void 0,n.query=void 0,n},serialize:function(e,t){if(e.port!==(fe(e)?443:80)&&""!==e.port||(e.port=void 0),"boolean"==typeof e.secure&&(e.scheme=e.secure?"wss":"ws",e.secure=void 0),e.resourceName){var n=e.resourceName.split("?"),r=l(n,2),o=r[0],i=r[1];e.path=o&&"/"!==o?o:void 0,e.query=i,e.resourceName=void 0}return e.fragment=void 0,e}},he={scheme:"wss",domainHost:de.domainHost,parse:de.parse,serialize:de.serialize},pe={},me="[A-Za-z0-9\\-\\.\\_\\~\\xA0-\\u200D\\u2010-\\u2029\\u202F-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFEF]",ge="[0-9A-Fa-f]",ye=n(n("%[EFef]"+ge+"%"+ge+ge+"%"+ge+ge)+"|"+n("%[89A-Fa-f]"+ge+"%"+ge+ge)+"|"+n("%"+ge+ge)),ve="[A-Za-z0-9\\!\\$\\%\\'\\*\\+\\-\\^\\_\\`\\{\\|\\}\\~]",be=t("[\\!\\$\\%\\'\\(\\)\\*\\+\\,\\-\\.0-9\\<\\>A-Z\\x5E-\\x7E]",'[\\"\\\\]'),_e="[\\!\\$\\'\\(\\)\\*\\+\\,\\;\\:\\@]",we=new RegExp(me,"g"),Ee=new RegExp(ye,"g"),ke=new RegExp(t("[^]",ve,"[\\.]",'[\\"]',be),"g"),xe=new RegExp(t("[^]",me,_e),"g"),De=xe;function Se(e){var t=U(e);return t.match(we)?t:e}var Ce={scheme:"mailto",parse:function(e,t){var n=e,r=n.to=n.path?n.path.split(","):[];if(n.path=void 0,n.query){for(var o=!1,i={},s=n.query.split("&"),a=0,u=s.length;a<u;++a){var c=s[a].split("=");switch(c[0]){case"to":for(var l=c[1].split(","),f=0,d=l.length;f<d;++f)r.push(l[f]);break;case"subject":n.subject=ue(c[1],t);break;case"body":n.body=ue(c[1],t);break;default:o=!0,i[ue(c[0],t)]=ue(c[1],t)}}o&&(n.headers=i)}n.query=void 0;for(var h=0,p=r.length;h<p;++h){var m=r[h].split("@");if(m[0]=ue(m[0]),t.unicodeSupport)m[1]=ue(m[1],t).toLowerCase();else try{m[1]=B.toASCII(ue(m[1],t).toLowerCase())}catch(g){n.error=n.error||"Email address's domain name can not be converted to ASCII via punycode: "+g}r[h]=m.join("@")}return n},serialize:function(e,t){var n=e,r=i(e.to);if(r){for(var s=0,a=r.length;s<a;++s){var u=String(r[s]),c=u.lastIndexOf("@"),l=u.slice(0,c).replace(Ee,Se).replace(Ee,o).replace(ke,z),f=u.slice(c+1);try{f=t.iri?B.toUnicode(f):B.toASCII(ue(f,t).toLowerCase())}catch(m){n.error=n.error||"Email address's domain name can not be converted to "+(t.iri?"Unicode":"ASCII")+" via punycode: "+m}r[s]=l+"@"+f}n.path=r.join(",")}var d=e.headers=e.headers||{};e.subject&&(d.subject=e.subject),e.body&&(d.body=e.body);var h=[];for(var p in d)d[p]!==pe[p]&&h.push(p.replace(Ee,Se).replace(Ee,o).replace(xe,z)+"="+d[p].replace(Ee,Se).replace(Ee,o).replace(De,z));return h.length&&(n.query=h.join("&")),n}},Oe=/^([^\:]+)\:(.*)/,$e={scheme:"urn",parse:function(e,t){var n=e.path&&e.path.match(Oe),r=e;if(n){var o=t.scheme||r.scheme||"urn",i=n[1].toLowerCase(),s=n[2],a=o+":"+(t.nid||i),u=L[a];r.nid=i,r.nss=s,r.path=void 0,u&&(r=u.parse(r,t))}else r.error=r.error||"URN can not be parsed.";return r},serialize:function(e,t){var n=t.scheme||e.scheme||"urn",r=e.nid,o=n+":"+(t.nid||r),i=L[o];i&&(e=i.serialize(e,t));var s=e,a=e.nss;return s.path=(r||t.nid)+":"+a,s}},Ae=/^[0-9A-Fa-f]{8}(?:\-[0-9A-Fa-f]{4}){3}\-[0-9A-Fa-f]{12}$/,Pe={scheme:"urn:uuid",parse:function(e,t){var n=e;return n.uuid=n.nss,n.nss=void 0,t.tolerant||n.uuid&&n.uuid.match(Ae)||(n.error=n.error||"UUID is not valid."),n},serialize:function(e,t){var n=e;return n.nss=(e.uuid||"").toLowerCase(),n}};L[ce.scheme]=ce,L[le.scheme]=le,L[de.scheme]=de,L[he.scheme]=he,L[Ce.scheme]=Ce,L[$e.scheme]=$e,L[Pe.scheme]=Pe,e.SCHEMES=L,e.pctEncChar=z,e.pctDecChars=U,e.parse=J,e.removeDotSegments=te,e.serialize=ne,e.resolveComponents=re,e.resolve=oe,e.normalize=ie,e.equal=se,e.escapeComponent=ae,e.unescapeComponent=ue,Object.defineProperty(e,"__esModule",{value:!0})}(t)},69569:function(e,t,n){var r,o;!function(i,s){"use strict";e.exports?e.exports=s():void 0===(o="function"==typeof(r=s)?r.call(t,n,t,e):r)||(e.exports=o)}(0,(function(e){"use strict";var t=e&&e.IPv6;return{best:function(e){var t,n,r=e.toLowerCase().split(":"),o=r.length,i=8;for(""===r[0]&&""===r[1]&&""===r[2]?(r.shift(),r.shift()):""===r[0]&&""===r[1]?r.shift():""===r[o-1]&&""===r[o-2]&&r.pop(),-1!==r[(o=r.length)-1].indexOf(".")&&(i=7),t=0;t<o&&""!==r[t];t++);if(t<i)for(r.splice(t,1,"0000");r.length<i;)r.splice(t,0,"0000");for(var s=0;s<i;s++){n=r[s].split("");for(var a=0;a<3&&("0"===n[0]&&n.length>1);a++)n.splice(0,1);r[s]=n.join("")}var u=-1,c=0,l=0,f=-1,d=!1;for(s=0;s<i;s++)d?"0"===r[s]?l+=1:(d=!1,l>c&&(u=f,c=l)):"0"===r[s]&&(d=!0,f=s,l=1);l>c&&(u=f,c=l),c>1&&r.splice(u,c,""),o=r.length;var h="";for(""===r[0]&&(h=":"),s=0;s<o&&(h+=r[s],s!==o-1);s++)h+=":";return""===r[o-1]&&(h+=":"),h},noConflict:function(){return e.IPv6===this&&(e.IPv6=t),this}}}))},34171:function(e,t,n){var r,o;!function(i,s){"use strict";e.exports?e.exports=s():void 0===(o="function"==typeof(r=s)?r.call(t,n,t,e):r)||(e.exports=o)}(0,(function(e){"use strict";var t=e&&e.SecondLevelDomains,n={list:{ac:" com gov mil net org ",ae:" ac co gov mil name net org pro sch ",af:" com edu gov net org ",al:" com edu gov mil net org ",ao:" co ed gv it og pb ",ar:" com edu gob gov int mil net org tur ",at:" ac co gv or ",au:" asn com csiro edu gov id net org ",ba:" co com edu gov mil net org rs unbi unmo unsa untz unze ",bb:" biz co com edu gov info net org store tv ",bh:" biz cc com edu gov info net org ",bn:" com edu gov net org ",bo:" com edu gob gov int mil net org tv ",br:" adm adv agr am arq art ato b bio blog bmd cim cng cnt com coop ecn edu eng esp etc eti far flog fm fnd fot fst g12 ggf gov imb ind inf jor jus lel mat med mil mus net nom not ntr odo org ppg pro psc psi qsl rec slg srv tmp trd tur tv vet vlog wiki zlg ",bs:" com edu gov net org ",bz:" du et om ov rg ",ca:" ab bc mb nb nf nl ns nt nu on pe qc sk yk ",ck:" biz co edu gen gov info net org ",cn:" ac ah bj com cq edu fj gd gov gs gx gz ha hb he hi hl hn jl js jx ln mil net nm nx org qh sc sd sh sn sx tj tw xj xz yn zj ",co:" com edu gov mil net nom org ",cr:" ac c co ed fi go or sa ",cy:" ac biz com ekloges gov ltd name net org parliament press pro tm ",do:" art com edu gob gov mil net org sld web ",dz:" art asso com edu gov net org pol ",ec:" com edu fin gov info med mil net org pro ",eg:" com edu eun gov mil name net org sci ",er:" com edu gov ind mil net org rochest w ",es:" com edu gob nom org ",et:" biz com edu gov info name net org ",fj:" ac biz com info mil name net org pro ",fk:" ac co gov net nom org ",fr:" asso com f gouv nom prd presse tm ",gg:" co net org ",gh:" com edu gov mil org ",gn:" ac com gov net org ",gr:" com edu gov mil net org ",gt:" com edu gob ind mil net org ",gu:" com edu gov net org ",hk:" com edu gov idv net org ",hu:" 2000 agrar bolt casino city co erotica erotika film forum games hotel info ingatlan jogasz konyvelo lakas media news org priv reklam sex shop sport suli szex tm tozsde utazas video ",id:" ac co go mil net or sch web ",il:" ac co gov idf k12 muni net org ",in:" ac co edu ernet firm gen gov i ind mil net nic org res ",iq:" com edu gov i mil net org ",ir:" ac co dnssec gov i id net org sch ",it:" edu gov ",je:" co net org ",jo:" com edu gov mil name net org sch ",jp:" ac ad co ed go gr lg ne or ",ke:" ac co go info me mobi ne or sc ",kh:" com edu gov mil net org per ",ki:" biz com de edu gov info mob net org tel ",km:" asso com coop edu gouv k medecin mil nom notaires pharmaciens presse tm veterinaire ",kn:" edu gov net org ",kr:" ac busan chungbuk chungnam co daegu daejeon es gangwon go gwangju gyeongbuk gyeonggi gyeongnam hs incheon jeju jeonbuk jeonnam k kg mil ms ne or pe re sc seoul ulsan ",kw:" com edu gov net org ",ky:" com edu gov net org ",kz:" com edu gov mil net org ",lb:" com edu gov net org ",lk:" assn com edu gov grp hotel int ltd net ngo org sch soc web ",lr:" com edu gov net org ",lv:" asn com conf edu gov id mil net org ",ly:" com edu gov id med net org plc sch ",ma:" ac co gov m net org press ",mc:" asso tm ",me:" ac co edu gov its net org priv ",mg:" com edu gov mil nom org prd tm ",mk:" com edu gov inf name net org pro ",ml:" com edu gov net org presse ",mn:" edu gov org ",mo:" com edu gov net org ",mt:" com edu gov net org ",mv:" aero biz com coop edu gov info int mil museum name net org pro ",mw:" ac co com coop edu gov int museum net org ",mx:" com edu gob net org ",my:" com edu gov mil name net org sch ",nf:" arts com firm info net other per rec store web ",ng:" biz com edu gov mil mobi name net org sch ",ni:" ac co com edu gob mil net nom org ",np:" com edu gov mil net org ",nr:" biz com edu gov info net org ",om:" ac biz co com edu gov med mil museum net org pro sch ",pe:" com edu gob mil net nom org sld ",ph:" com edu gov i mil net ngo org ",pk:" biz com edu fam gob gok gon gop gos gov net org web ",pl:" art bialystok biz com edu gda gdansk gorzow gov info katowice krakow lodz lublin mil net ngo olsztyn org poznan pwr radom slupsk szczecin torun warszawa waw wroc wroclaw zgora ",pr:" ac biz com edu est gov info isla name net org pro prof ",ps:" com edu gov net org plo sec ",pw:" belau co ed go ne or ",ro:" arts com firm info nom nt org rec store tm www ",rs:" ac co edu gov in org ",sb:" com edu gov net org ",sc:" com edu gov net org ",sh:" co com edu gov net nom org ",sl:" com edu gov net org ",st:" co com consulado edu embaixada gov mil net org principe saotome store ",sv:" com edu gob org red ",sz:" ac co org ",tr:" av bbs bel biz com dr edu gen gov info k12 name net org pol tel tsk tv web ",tt:" aero biz cat co com coop edu gov info int jobs mil mobi museum name net org pro tel travel ",tw:" club com ebiz edu game gov idv mil net org ",mu:" ac co com gov net or org ",mz:" ac co edu gov org ",na:" co com ",nz:" ac co cri geek gen govt health iwi maori mil net org parliament school ",pa:" abo ac com edu gob ing med net nom org sld ",pt:" com edu gov int net nome org publ ",py:" com edu gov mil net org ",qa:" com edu gov mil net org ",re:" asso com nom ",ru:" ac adygeya altai amur arkhangelsk astrakhan bashkiria belgorod bir bryansk buryatia cbg chel chelyabinsk chita chukotka chuvashia com dagestan e-burg edu gov grozny int irkutsk ivanovo izhevsk jar joshkar-ola kalmykia kaluga kamchatka karelia kazan kchr kemerovo khabarovsk khakassia khv kirov koenig komi kostroma kranoyarsk kuban kurgan kursk lipetsk magadan mari mari-el marine mil mordovia mosreg msk murmansk nalchik net nnov nov novosibirsk nsk omsk orenburg org oryol penza perm pp pskov ptz rnd ryazan sakhalin samara saratov simbirsk smolensk spb stavropol stv surgut tambov tatarstan tom tomsk tsaritsyn tsk tula tuva tver tyumen udm udmurtia ulan-ude vladikavkaz vladimir vladivostok volgograd vologda voronezh vrn vyatka yakutia yamal yekaterinburg yuzhno-sakhalinsk ",rw:" ac co com edu gouv gov int mil net ",sa:" com edu gov med net org pub sch ",sd:" com edu gov info med net org tv ",se:" a ac b bd c d e f g h i k l m n o org p parti pp press r s t tm u w x y z ",sg:" com edu gov idn net org per ",sn:" art com edu gouv org perso univ ",sy:" com edu gov mil net news org ",th:" ac co go in mi net or ",tj:" ac biz co com edu go gov info int mil name net nic org test web ",tn:" agrinet com defense edunet ens fin gov ind info intl mincom nat net org perso rnrt rns rnu tourism ",tz:" ac co go ne or ",ua:" biz cherkassy chernigov chernovtsy ck cn co com crimea cv dn dnepropetrovsk donetsk dp edu gov if in ivano-frankivsk kh kharkov kherson khmelnitskiy kiev kirovograd km kr ks kv lg lugansk lutsk lviv me mk net nikolaev od odessa org pl poltava pp rovno rv sebastopol sumy te ternopil uzhgorod vinnica vn zaporizhzhe zhitomir zp zt ",ug:" ac co go ne or org sc ",uk:" ac bl british-library co cym gov govt icnet jet lea ltd me mil mod national-library-scotland nel net nhs nic nls org orgn parliament plc police sch scot soc ",us:" dni fed isa kids nsn ",uy:" com edu gub mil net org ",ve:" co com edu gob info mil net org web ",vi:" co com k12 net org ",vn:" ac biz com edu gov health info int name net org pro ",ye:" co com gov ltd me net org plc ",yu:" ac co edu gov org ",za:" ac agric alt bourse city co cybernet db edu gov grondar iaccess imt inca landesign law mil net ngo nis nom olivetti org pix school tm web ",zm:" ac co com edu gov net org sch ",com:"ar br cn de eu gb gr hu jpn kr no qc ru sa se uk us uy za ",net:"gb jp se uk ",org:"ae",de:"com "},has:function(e){var t=e.lastIndexOf(".");if(t<=0||t>=e.length-1)return!1;var r=e.lastIndexOf(".",t-1);if(r<=0||r>=t-1)return!1;var o=n.list[e.slice(t+1)];return!!o&&o.indexOf(" "+e.slice(r+1,t)+" ")>=0},is:function(e){var t=e.lastIndexOf(".");if(t<=0||t>=e.length-1)return!1;if(e.lastIndexOf(".",t-1)>=0)return!1;var r=n.list[e.slice(t+1)];return!!r&&r.indexOf(" "+e.slice(0,t)+" ")>=0},get:function(e){var t=e.lastIndexOf(".");if(t<=0||t>=e.length-1)return null;var r=e.lastIndexOf(".",t-1);if(r<=0||r>=t-1)return null;var o=n.list[e.slice(t+1)];return o?o.indexOf(" "+e.slice(r+1,t)+" ")<0?null:e.slice(r+1):null},noConflict:function(){return e.SecondLevelDomains===this&&(e.SecondLevelDomains=t),this}};return n}))},30957:function(e,t,n){var r,o,i;!function(s,a){"use strict";e.exports?e.exports=a(n(9942),n(69569),n(34171)):(o=[n(9942),n(69569),n(34171)],void 0===(i="function"==typeof(r=a)?r.apply(t,o):r)||(e.exports=i))}(0,(function(e,t,n,r){"use strict";var o=r&&r.URI;function i(e,t){var n=arguments.length>=1;if(!(this instanceof i))return n?arguments.length>=2?new i(e,t):new i(e):new i;if(void 0===e){if(n)throw new TypeError("undefined is not a valid argument for URI");e="undefined"!=typeof location?location.href+"":""}if(null===e&&n)throw new TypeError("null is not a valid argument for URI");return this.href(e),void 0!==t?this.absoluteTo(t):this}i.version="1.19.11";var s=i.prototype,a=Object.prototype.hasOwnProperty;function u(e){return e.replace(/([.*+?^=!:${}()|[\]\/\\])/g,"\\$1")}function c(e){return void 0===e?"Undefined":String(Object.prototype.toString.call(e)).slice(8,-1)}function l(e){return"Array"===c(e)}function f(e,t){var n,r,o={};if("RegExp"===c(t))o=null;else if(l(t))for(n=0,r=t.length;n<r;n++)o[t[n]]=!0;else o[t]=!0;for(n=0,r=e.length;n<r;n++){(o&&void 0!==o[e[n]]||!o&&t.test(e[n]))&&(e.splice(n,1),r--,n--)}return e}function d(e,t){var n,r;if(l(t)){for(n=0,r=t.length;n<r;n++)if(!d(e,t[n]))return!1;return!0}var o=c(t);for(n=0,r=e.length;n<r;n++)if("RegExp"===o){if("string"==typeof e[n]&&e[n].match(t))return!0}else if(e[n]===t)return!0;return!1}function h(e,t){if(!l(e)||!l(t))return!1;if(e.length!==t.length)return!1;e.sort(),t.sort();for(var n=0,r=e.length;n<r;n++)if(e[n]!==t[n])return!1;return!0}function p(e){return e.replace(/^\/+|\/+$/g,"")}function m(e){return escape(e)}function g(e){return encodeURIComponent(e).replace(/[!'()*]/g,m).replace(/\*/g,"%2A")}i._parts=function(){return{protocol:null,username:null,password:null,hostname:null,urn:null,port:null,path:null,query:null,fragment:null,preventInvalidHostname:i.preventInvalidHostname,duplicateQueryParameters:i.duplicateQueryParameters,escapeQuerySpace:i.escapeQuerySpace}},i.preventInvalidHostname=!1,i.duplicateQueryParameters=!1,i.escapeQuerySpace=!0,i.protocol_expression=/^[a-z][a-z0-9.+-]*$/i,i.idn_expression=/[^a-z0-9\._-]/i,i.punycode_expression=/(xn--)/i,i.ip4_expression=/^\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}$/,i.ip6_expression=/^\s*((([0-9A-Fa-f]{1,4}:){7}([0-9A-Fa-f]{1,4}|:))|(([0-9A-Fa-f]{1,4}:){6}(:[0-9A-Fa-f]{1,4}|((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(([0-9A-Fa-f]{1,4}:){5}(((:[0-9A-Fa-f]{1,4}){1,2})|:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(([0-9A-Fa-f]{1,4}:){4}(((:[0-9A-Fa-f]{1,4}){1,3})|((:[0-9A-Fa-f]{1,4})?:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){3}(((:[0-9A-Fa-f]{1,4}){1,4})|((:[0-9A-Fa-f]{1,4}){0,2}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){2}(((:[0-9A-Fa-f]{1,4}){1,5})|((:[0-9A-Fa-f]{1,4}){0,3}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){1}(((:[0-9A-Fa-f]{1,4}){1,6})|((:[0-9A-Fa-f]{1,4}){0,4}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(:(((:[0-9A-Fa-f]{1,4}){1,7})|((:[0-9A-Fa-f]{1,4}){0,5}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:)))(%.+)?\s*$/,i.find_uri_expression=/\b((?:[a-z][\w-]+:(?:\/{1,3}|[a-z0-9%])|www\d{0,3}[.]|[a-z0-9.\-]+[.][a-z]{2,4}\/)(?:[^\s()<>]+|\(([^\s()<>]+|(\([^\s()<>]+\)))*\))+(?:\(([^\s()<>]+|(\([^\s()<>]+\)))*\)|[^\s`!()\[\]{};:'".,<>?\xab\xbb\u201c\u201d\u2018\u2019]))/gi,i.findUri={start:/\b(?:([a-z][a-z0-9.+-]*:\/\/)|www\.)/gi,end:/[\s\r\n]|$/,trim:/[`!()\[\]{};:'".,<>?\xab\xbb\u201c\u201d\u201e\u2018\u2019]+$/,parens:/(\([^\)]*\)|\[[^\]]*\]|\{[^}]*\}|<[^>]*>)/g},i.leading_whitespace_expression=/^[\x00-\x20\u00a0\u1680\u2000-\u200a\u2028\u2029\u202f\u205f\u3000\ufeff]+/,i.ascii_tab_whitespace=/[\u0009\u000A\u000D]+/g,i.defaultPorts={http:"80",https:"443",ftp:"21",gopher:"70",ws:"80",wss:"443"},i.hostProtocols=["http","https"],i.invalid_hostname_characters=/[^a-zA-Z0-9\.\-:_]/,i.domAttributes={a:"href",blockquote:"cite",link:"href",base:"href",script:"src",form:"action",img:"src",area:"href",iframe:"src",embed:"src",source:"src",track:"src",input:"src",audio:"src",video:"src"},i.getDomAttribute=function(e){if(e&&e.nodeName){var t=e.nodeName.toLowerCase();if("input"!==t||"image"===e.type)return i.domAttributes[t]}},i.encode=g,i.decode=decodeURIComponent,i.iso8859=function(){i.encode=escape,i.decode=unescape},i.unicode=function(){i.encode=g,i.decode=decodeURIComponent},i.characters={pathname:{encode:{expression:/%(24|26|2B|2C|3B|3D|3A|40)/gi,map:{"%24":"$","%26":"&","%2B":"+","%2C":",","%3B":";","%3D":"=","%3A":":","%40":"@"}},decode:{expression:/[\/\?#]/g,map:{"/":"%2F","?":"%3F","#":"%23"}}},reserved:{encode:{expression:/%(21|23|24|26|27|28|29|2A|2B|2C|2F|3A|3B|3D|3F|40|5B|5D)/gi,map:{"%3A":":","%2F":"/","%3F":"?","%23":"#","%5B":"[","%5D":"]","%40":"@","%21":"!","%24":"$","%26":"&","%27":"'","%28":"(","%29":")","%2A":"*","%2B":"+","%2C":",","%3B":";","%3D":"="}}},urnpath:{encode:{expression:/%(21|24|27|28|29|2A|2B|2C|3B|3D|40)/gi,map:{"%21":"!","%24":"$","%27":"'","%28":"(","%29":")","%2A":"*","%2B":"+","%2C":",","%3B":";","%3D":"=","%40":"@"}},decode:{expression:/[\/\?#:]/g,map:{"/":"%2F","?":"%3F","#":"%23",":":"%3A"}}}},i.encodeQuery=function(e,t){var n=i.encode(e+"");return void 0===t&&(t=i.escapeQuerySpace),t?n.replace(/%20/g,"+"):n},i.decodeQuery=function(e,t){e+="",void 0===t&&(t=i.escapeQuerySpace);try{return i.decode(t?e.replace(/\+/g,"%20"):e)}catch(n){return e}};var y,v={encode:"encode",decode:"decode"},b=function(e,t){return function(n){try{return i[t](n+"").replace(i.characters[e][t].expression,(function(n){return i.characters[e][t].map[n]}))}catch(r){return n}}};for(y in v)i[y+"PathSegment"]=b("pathname",v[y]),i[y+"UrnPathSegment"]=b("urnpath",v[y]);var _=function(e,t,n){return function(r){var o;o=n?function(e){return i[t](i[n](e))}:i[t];for(var s=(r+"").split(e),a=0,u=s.length;a<u;a++)s[a]=o(s[a]);return s.join(e)}};function w(e){return function(t,n){return void 0===t?this._parts[e]||"":(this._parts[e]=t||null,this.build(!n),this)}}function E(e,t){return function(n,r){return void 0===n?this._parts[e]||"":(null!==n&&(n+="").charAt(0)===t&&(n=n.substring(1)),this._parts[e]=n,this.build(!r),this)}}i.decodePath=_("/","decodePathSegment"),i.decodeUrnPath=_(":","decodeUrnPathSegment"),i.recodePath=_("/","encodePathSegment","decode"),i.recodeUrnPath=_(":","encodeUrnPathSegment","decode"),i.encodeReserved=b("reserved","encode"),i.parse=function(e,t){var n;return t||(t={preventInvalidHostname:i.preventInvalidHostname}),(n=(e=(e=e.replace(i.leading_whitespace_expression,"")).replace(i.ascii_tab_whitespace,"")).indexOf("#"))>-1&&(t.fragment=e.substring(n+1)||null,e=e.substring(0,n)),(n=e.indexOf("?"))>-1&&(t.query=e.substring(n+1)||null,e=e.substring(0,n)),"//"===(e=(e=e.replace(/^(https?|ftp|wss?)?:+[/\\]*/i,"$1://")).replace(/^[/\\]{2,}/i,"//")).substring(0,2)?(t.protocol=null,e=e.substring(2),e=i.parseAuthority(e,t)):(n=e.indexOf(":"))>-1&&(t.protocol=e.substring(0,n)||null,t.protocol&&!t.protocol.match(i.protocol_expression)?t.protocol=void 0:"//"===e.substring(n+1,n+3).replace(/\\/g,"/")?(e=e.substring(n+3),e=i.parseAuthority(e,t)):(e=e.substring(n+1),t.urn=!0)),t.path=e,t},i.parseHost=function(e,t){e||(e="");var n,r,o=(e=e.replace(/\\/g,"/")).indexOf("/");if(-1===o&&(o=e.length),"["===e.charAt(0))n=e.indexOf("]"),t.hostname=e.substring(1,n)||null,t.port=e.substring(n+2,o)||null,"/"===t.port&&(t.port=null);else{var s=e.indexOf(":"),a=e.indexOf("/"),u=e.indexOf(":",s+1);-1!==u&&(-1===a||u<a)?(t.hostname=e.substring(0,o)||null,t.port=null):(r=e.substring(0,o).split(":"),t.hostname=r[0]||null,t.port=r[1]||null)}return t.hostname&&"/"!==e.substring(o).charAt(0)&&(o++,e="/"+e),t.preventInvalidHostname&&i.ensureValidHostname(t.hostname,t.protocol),t.port&&i.ensureValidPort(t.port),e.substring(o)||"/"},i.parseAuthority=function(e,t){return e=i.parseUserinfo(e,t),i.parseHost(e,t)},i.parseUserinfo=function(e,t){var n=e;-1!==e.indexOf("\\")&&(e=e.replace(/\\/g,"/"));var r,o=e.indexOf("/"),s=e.lastIndexOf("@",o>-1?o:e.length-1);return s>-1&&(-1===o||s<o)?(r=e.substring(0,s).split(":"),t.username=r[0]?i.decode(r[0]):null,r.shift(),t.password=r[0]?i.decode(r.join(":")):null,e=n.substring(s+1)):(t.username=null,t.password=null),e},i.parseQuery=function(e,t){if(!e)return{};if(!(e=e.replace(/&+/g,"&").replace(/^\?*&*|&+$/g,"")))return{};for(var n,r,o,s={},u=e.split("&"),c=u.length,l=0;l<c;l++)n=u[l].split("="),r=i.decodeQuery(n.shift(),t),o=n.length?i.decodeQuery(n.join("="),t):null,"__proto__"!==r&&(a.call(s,r)?("string"!=typeof s[r]&&null!==s[r]||(s[r]=[s[r]]),s[r].push(o)):s[r]=o);return s},i.build=function(e){var t="",n=!1;return e.protocol&&(t+=e.protocol+":"),e.urn||!t&&!e.hostname||(t+="//",n=!0),t+=i.buildAuthority(e)||"","string"==typeof e.path&&("/"!==e.path.charAt(0)&&n&&(t+="/"),t+=e.path),"string"==typeof e.query&&e.query&&(t+="?"+e.query),"string"==typeof e.fragment&&e.fragment&&(t+="#"+e.fragment),t},i.buildHost=function(e){var t="";return e.hostname?(i.ip6_expression.test(e.hostname)?t+="["+e.hostname+"]":t+=e.hostname,e.port&&(t+=":"+e.port),t):""},i.buildAuthority=function(e){return i.buildUserinfo(e)+i.buildHost(e)},i.buildUserinfo=function(e){var t="";return e.username&&(t+=i.encode(e.username)),e.password&&(t+=":"+i.encode(e.password)),t&&(t+="@"),t},i.buildQuery=function(e,t,n){var r,o,s,u,c="";for(o in e)if("__proto__"!==o&&a.call(e,o))if(l(e[o]))for(r={},s=0,u=e[o].length;s<u;s++)void 0!==e[o][s]&&void 0===r[e[o][s]+""]&&(c+="&"+i.buildQueryParameter(o,e[o][s],n),!0!==t&&(r[e[o][s]+""]=!0));else void 0!==e[o]&&(c+="&"+i.buildQueryParameter(o,e[o],n));return c.substring(1)},i.buildQueryParameter=function(e,t,n){return i.encodeQuery(e,n)+(null!==t?"="+i.encodeQuery(t,n):"")},i.addQuery=function(e,t,n){if("object"==typeof t)for(var r in t)a.call(t,r)&&i.addQuery(e,r,t[r]);else{if("string"!=typeof t)throw new TypeError("URI.addQuery() accepts an object, string as the name parameter");if(void 0===e[t])return void(e[t]=n);"string"==typeof e[t]&&(e[t]=[e[t]]),l(n)||(n=[n]),e[t]=(e[t]||[]).concat(n)}},i.setQuery=function(e,t,n){if("object"==typeof t)for(var r in t)a.call(t,r)&&i.setQuery(e,r,t[r]);else{if("string"!=typeof t)throw new TypeError("URI.setQuery() accepts an object, string as the name parameter");e[t]=void 0===n?null:n}},i.removeQuery=function(e,t,n){var r,o,s;if(l(t))for(r=0,o=t.length;r<o;r++)e[t[r]]=void 0;else if("RegExp"===c(t))for(s in e)t.test(s)&&(e[s]=void 0);else if("object"==typeof t)for(s in t)a.call(t,s)&&i.removeQuery(e,s,t[s]);else{if("string"!=typeof t)throw new TypeError("URI.removeQuery() accepts an object, string, RegExp as the first parameter");void 0!==n?"RegExp"===c(n)?!l(e[t])&&n.test(e[t])?e[t]=void 0:e[t]=f(e[t],n):e[t]!==String(n)||l(n)&&1!==n.length?l(e[t])&&(e[t]=f(e[t],n)):e[t]=void 0:e[t]=void 0}},i.hasQuery=function(e,t,n,r){switch(c(t)){case"String":break;case"RegExp":for(var o in e)if(a.call(e,o)&&t.test(o)&&(void 0===n||i.hasQuery(e,o,n)))return!0;return!1;case"Object":for(var s in t)if(a.call(t,s)&&!i.hasQuery(e,s,t[s]))return!1;return!0;default:throw new TypeError("URI.hasQuery() accepts a string, regular expression or object as the name parameter")}switch(c(n)){case"Undefined":return t in e;case"Boolean":return n===Boolean(l(e[t])?e[t].length:e[t]);case"Function":return!!n(e[t],t,e);case"Array":return!!l(e[t])&&(r?d:h)(e[t],n);case"RegExp":return l(e[t])?!!r&&d(e[t],n):Boolean(e[t]&&e[t].match(n));case"Number":n=String(n);case"String":return l(e[t])?!!r&&d(e[t],n):e[t]===n;default:throw new TypeError("URI.hasQuery() accepts undefined, boolean, string, number, RegExp, Function as the value parameter")}},i.joinPaths=function(){for(var e=[],t=[],n=0,r=0;r<arguments.length;r++){var o=new i(arguments[r]);e.push(o);for(var s=o.segment(),a=0;a<s.length;a++)"string"==typeof s[a]&&t.push(s[a]),s[a]&&n++}if(!t.length||!n)return new i("");var u=new i("").segment(t);return""!==e[0].path()&&"/"!==e[0].path().slice(0,1)||u.path("/"+u.path()),u.normalize()},i.commonPath=function(e,t){var n,r=Math.min(e.length,t.length);for(n=0;n<r;n++)if(e.charAt(n)!==t.charAt(n)){n--;break}return n<1?e.charAt(0)===t.charAt(0)&&"/"===e.charAt(0)?"/":"":("/"===e.charAt(n)&&"/"===t.charAt(n)||(n=e.substring(0,n).lastIndexOf("/")),e.substring(0,n+1))},i.withinString=function(e,t,n){n||(n={});var r=n.start||i.findUri.start,o=n.end||i.findUri.end,s=n.trim||i.findUri.trim,a=n.parens||i.findUri.parens,u=/[a-z0-9-]=["']?$/i;for(r.lastIndex=0;;){var c=r.exec(e);if(!c)break;var l=c.index;if(n.ignoreHtml){var f=e.slice(Math.max(l-3,0),l);if(f&&u.test(f))continue}for(var d=l+e.slice(l).search(o),h=e.slice(l,d),p=-1;;){var m=a.exec(h);if(!m)break;var g=m.index+m[0].length;p=Math.max(p,g)}if(!((h=p>-1?h.slice(0,p)+h.slice(p).replace(s,""):h.replace(s,"")).length<=c[0].length||n.ignore&&n.ignore.test(h))){var y=t(h,l,d=l+h.length,e);void 0!==y?(y=String(y),e=e.slice(0,l)+y+e.slice(d),r.lastIndex=l+y.length):r.lastIndex=d}}return r.lastIndex=0,e},i.ensureValidHostname=function(t,n){var r=!!t,o=!1;if(!!n&&(o=d(i.hostProtocols,n)),o&&!r)throw new TypeError("Hostname cannot be empty, if protocol is "+n);if(t&&t.match(i.invalid_hostname_characters)){if(!e)throw new TypeError('Hostname "'+t+'" contains characters other than [A-Z0-9.-:_] and Punycode.js is not available');if(e.toASCII(t).match(i.invalid_hostname_characters))throw new TypeError('Hostname "'+t+'" contains characters other than [A-Z0-9.-:_]')}},i.ensureValidPort=function(e){if(e){var t=Number(e);if(!(/^[0-9]+$/.test(t)&&t>0&&t<65536))throw new TypeError('Port "'+e+'" is not a valid port')}},i.noConflict=function(e){if(e){var t={URI:this.noConflict()};return r.URITemplate&&"function"==typeof r.URITemplate.noConflict&&(t.URITemplate=r.URITemplate.noConflict()),r.IPv6&&"function"==typeof r.IPv6.noConflict&&(t.IPv6=r.IPv6.noConflict()),r.SecondLevelDomains&&"function"==typeof r.SecondLevelDomains.noConflict&&(t.SecondLevelDomains=r.SecondLevelDomains.noConflict()),t}return r.URI===this&&(r.URI=o),this},s.build=function(e){return!0===e?this._deferred_build=!0:(void 0===e||this._deferred_build)&&(this._string=i.build(this._parts),this._deferred_build=!1),this},s.clone=function(){return new i(this)},s.valueOf=s.toString=function(){return this.build(!1)._string},s.protocol=w("protocol"),s.username=w("username"),s.password=w("password"),s.hostname=w("hostname"),s.port=w("port"),s.query=E("query","?"),s.fragment=E("fragment","#"),s.search=function(e,t){var n=this.query(e,t);return"string"==typeof n&&n.length?"?"+n:n},s.hash=function(e,t){var n=this.fragment(e,t);return"string"==typeof n&&n.length?"#"+n:n},s.pathname=function(e,t){if(void 0===e||!0===e){var n=this._parts.path||(this._parts.hostname?"/":"");return e?(this._parts.urn?i.decodeUrnPath:i.decodePath)(n):n}return this._parts.urn?this._parts.path=e?i.recodeUrnPath(e):"":this._parts.path=e?i.recodePath(e):"/",this.build(!t),this},s.path=s.pathname,s.href=function(e,t){var n;if(void 0===e)return this.toString();this._string="",this._parts=i._parts();var r=e instanceof i,o="object"==typeof e&&(e.hostname||e.path||e.pathname);e.nodeName&&(e=e[i.getDomAttribute(e)]||"",o=!1);if(!r&&o&&void 0!==e.pathname&&(e=e.toString()),"string"==typeof e||e instanceof String)this._parts=i.parse(String(e),this._parts);else{if(!r&&!o)throw new TypeError("invalid input");var s=r?e._parts:e;for(n in s)"query"!==n&&a.call(this._parts,n)&&(this._parts[n]=s[n]);s.query&&this.query(s.query,!1)}return this.build(!t),this},s.is=function(e){var t=!1,r=!1,o=!1,s=!1,a=!1,u=!1,c=!1,l=!this._parts.urn;switch(this._parts.hostname&&(l=!1,r=i.ip4_expression.test(this._parts.hostname),o=i.ip6_expression.test(this._parts.hostname),a=(s=!(t=r||o))&&n&&n.has(this._parts.hostname),u=s&&i.idn_expression.test(this._parts.hostname),c=s&&i.punycode_expression.test(this._parts.hostname)),e.toLowerCase()){case"relative":return l;case"absolute":return!l;case"domain":case"name":return s;case"sld":return a;case"ip":return t;case"ip4":case"ipv4":case"inet4":return r;case"ip6":case"ipv6":case"inet6":return o;case"idn":return u;case"url":return!this._parts.urn;case"urn":return!!this._parts.urn;case"punycode":return c}return null};var k=s.protocol,x=s.port,D=s.hostname;s.protocol=function(e,t){if(e&&!(e=e.replace(/:(\/\/)?$/,"")).match(i.protocol_expression))throw new TypeError('Protocol "'+e+"\" contains characters other than [A-Z0-9.+-] or doesn't start with [A-Z]");return k.call(this,e,t)},s.scheme=s.protocol,s.port=function(e,t){return this._parts.urn?void 0===e?"":this:(void 0!==e&&(0===e&&(e=null),e&&(":"===(e+="").charAt(0)&&(e=e.substring(1)),i.ensureValidPort(e))),x.call(this,e,t))},s.hostname=function(e,t){if(this._parts.urn)return void 0===e?"":this;if(void 0!==e){var n={preventInvalidHostname:this._parts.preventInvalidHostname};if("/"!==i.parseHost(e,n))throw new TypeError('Hostname "'+e+'" contains characters other than [A-Z0-9.-]');e=n.hostname,this._parts.preventInvalidHostname&&i.ensureValidHostname(e,this._parts.protocol)}return D.call(this,e,t)},s.origin=function(e,t){if(this._parts.urn)return void 0===e?"":this;if(void 0===e){var n=this.protocol();return this.authority()?(n?n+"://":"")+this.authority():""}var r=i(e);return this.protocol(r.protocol()).authority(r.authority()).build(!t),this},s.host=function(e,t){if(this._parts.urn)return void 0===e?"":this;if(void 0===e)return this._parts.hostname?i.buildHost(this._parts):"";if("/"!==i.parseHost(e,this._parts))throw new TypeError('Hostname "'+e+'" contains characters other than [A-Z0-9.-]');return this.build(!t),this},s.authority=function(e,t){if(this._parts.urn)return void 0===e?"":this;if(void 0===e)return this._parts.hostname?i.buildAuthority(this._parts):"";if("/"!==i.parseAuthority(e,this._parts))throw new TypeError('Hostname "'+e+'" contains characters other than [A-Z0-9.-]');return this.build(!t),this},s.userinfo=function(e,t){if(this._parts.urn)return void 0===e?"":this;if(void 0===e){var n=i.buildUserinfo(this._parts);return n?n.substring(0,n.length-1):n}return"@"!==e[e.length-1]&&(e+="@"),i.parseUserinfo(e,this._parts),this.build(!t),this},s.resource=function(e,t){var n;return void 0===e?this.path()+this.search()+this.hash():(n=i.parse(e),this._parts.path=n.path,this._parts.query=n.query,this._parts.fragment=n.fragment,this.build(!t),this)},s.subdomain=function(e,t){if(this._parts.urn)return void 0===e?"":this;if(void 0===e){if(!this._parts.hostname||this.is("IP"))return"";var n=this._parts.hostname.length-this.domain().length-1;return this._parts.hostname.substring(0,n)||""}var r=this._parts.hostname.length-this.domain().length,o=this._parts.hostname.substring(0,r),s=new RegExp("^"+u(o));if(e&&"."!==e.charAt(e.length-1)&&(e+="."),-1!==e.indexOf(":"))throw new TypeError("Domains cannot contain colons");return e&&i.ensureValidHostname(e,this._parts.protocol),this._parts.hostname=this._parts.hostname.replace(s,e),this.build(!t),this},s.domain=function(e,t){if(this._parts.urn)return void 0===e?"":this;if("boolean"==typeof e&&(t=e,e=void 0),void 0===e){if(!this._parts.hostname||this.is("IP"))return"";var n=this._parts.hostname.match(/\./g);if(n&&n.length<2)return this._parts.hostname;var r=this._parts.hostname.length-this.tld(t).length-1;return r=this._parts.hostname.lastIndexOf(".",r-1)+1,this._parts.hostname.substring(r)||""}if(!e)throw new TypeError("cannot set domain empty");if(-1!==e.indexOf(":"))throw new TypeError("Domains cannot contain colons");if(i.ensureValidHostname(e,this._parts.protocol),!this._parts.hostname||this.is("IP"))this._parts.hostname=e;else{var o=new RegExp(u(this.domain())+"$");this._parts.hostname=this._parts.hostname.replace(o,e)}return this.build(!t),this},s.tld=function(e,t){if(this._parts.urn)return void 0===e?"":this;if("boolean"==typeof e&&(t=e,e=void 0),void 0===e){if(!this._parts.hostname||this.is("IP"))return"";var r=this._parts.hostname.lastIndexOf("."),o=this._parts.hostname.substring(r+1);return!0!==t&&n&&n.list[o.toLowerCase()]&&n.get(this._parts.hostname)||o}var i;if(!e)throw new TypeError("cannot set TLD empty");if(e.match(/[^a-zA-Z0-9-]/)){if(!n||!n.is(e))throw new TypeError('TLD "'+e+'" contains characters other than [A-Z0-9]');i=new RegExp(u(this.tld())+"$"),this._parts.hostname=this._parts.hostname.replace(i,e)}else{if(!this._parts.hostname||this.is("IP"))throw new ReferenceError("cannot set TLD on non-domain host");i=new RegExp(u(this.tld())+"$"),this._parts.hostname=this._parts.hostname.replace(i,e)}return this.build(!t),this},s.directory=function(e,t){if(this._parts.urn)return void 0===e?"":this;if(void 0===e||!0===e){if(!this._parts.path&&!this._parts.hostname)return"";if("/"===this._parts.path)return"/";var n=this._parts.path.length-this.filename().length-1,r=this._parts.path.substring(0,n)||(this._parts.hostname?"/":"");return e?i.decodePath(r):r}var o=this._parts.path.length-this.filename().length,s=this._parts.path.substring(0,o),a=new RegExp("^"+u(s));return this.is("relative")||(e||(e="/"),"/"!==e.charAt(0)&&(e="/"+e)),e&&"/"!==e.charAt(e.length-1)&&(e+="/"),e=i.recodePath(e),this._parts.path=this._parts.path.replace(a,e),this.build(!t),this},s.filename=function(e,t){if(this._parts.urn)return void 0===e?"":this;if("string"!=typeof e){if(!this._parts.path||"/"===this._parts.path)return"";var n=this._parts.path.lastIndexOf("/"),r=this._parts.path.substring(n+1);return e?i.decodePathSegment(r):r}var o=!1;"/"===e.charAt(0)&&(e=e.substring(1)),e.match(/\.?\//)&&(o=!0);var s=new RegExp(u(this.filename())+"$");return e=i.recodePath(e),this._parts.path=this._parts.path.replace(s,e),o?this.normalizePath(t):this.build(!t),this},s.suffix=function(e,t){if(this._parts.urn)return void 0===e?"":this;if(void 0===e||!0===e){if(!this._parts.path||"/"===this._parts.path)return"";var n,r,o=this.filename(),s=o.lastIndexOf(".");return-1===s?"":(n=o.substring(s+1),r=/^[a-z0-9%]+$/i.test(n)?n:"",e?i.decodePathSegment(r):r)}"."===e.charAt(0)&&(e=e.substring(1));var a,c=this.suffix();if(c)a=e?new RegExp(u(c)+"$"):new RegExp(u("."+c)+"$");else{if(!e)return this;this._parts.path+="."+i.recodePath(e)}return a&&(e=i.recodePath(e),this._parts.path=this._parts.path.replace(a,e)),this.build(!t),this},s.segment=function(e,t,n){var r=this._parts.urn?":":"/",o=this.path(),i="/"===o.substring(0,1),s=o.split(r);if(void 0!==e&&"number"!=typeof e&&(n=t,t=e,e=void 0),void 0!==e&&"number"!=typeof e)throw new Error('Bad segment "'+e+'", must be 0-based integer');if(i&&s.shift(),e<0&&(e=Math.max(s.length+e,0)),void 0===t)return void 0===e?s:s[e];if(null===e||void 0===s[e])if(l(t)){s=[];for(var a=0,u=t.length;a<u;a++)(t[a].length||s.length&&s[s.length-1].length)&&(s.length&&!s[s.length-1].length&&s.pop(),s.push(p(t[a])))}else(t||"string"==typeof t)&&(t=p(t),""===s[s.length-1]?s[s.length-1]=t:s.push(t));else t?s[e]=p(t):s.splice(e,1);return i&&s.unshift(""),this.path(s.join(r),n)},s.segmentCoded=function(e,t,n){var r,o,s;if("number"!=typeof e&&(n=t,t=e,e=void 0),void 0===t){if(l(r=this.segment(e,t,n)))for(o=0,s=r.length;o<s;o++)r[o]=i.decode(r[o]);else r=void 0!==r?i.decode(r):void 0;return r}if(l(t))for(o=0,s=t.length;o<s;o++)t[o]=i.encode(t[o]);else t="string"==typeof t||t instanceof String?i.encode(t):t;return this.segment(e,t,n)};var S=s.query;return s.query=function(e,t){if(!0===e)return i.parseQuery(this._parts.query,this._parts.escapeQuerySpace);if("function"==typeof e){var n=i.parseQuery(this._parts.query,this._parts.escapeQuerySpace),r=e.call(this,n);return this._parts.query=i.buildQuery(r||n,this._parts.duplicateQueryParameters,this._parts.escapeQuerySpace),this.build(!t),this}return void 0!==e&&"string"!=typeof e?(this._parts.query=i.buildQuery(e,this._parts.duplicateQueryParameters,this._parts.escapeQuerySpace),this.build(!t),this):S.call(this,e,t)},s.setQuery=function(e,t,n){var r=i.parseQuery(this._parts.query,this._parts.escapeQuerySpace);if("string"==typeof e||e instanceof String)r[e]=void 0!==t?t:null;else{if("object"!=typeof e)throw new TypeError("URI.addQuery() accepts an object, string as the name parameter");for(var o in e)a.call(e,o)&&(r[o]=e[o])}return this._parts.query=i.buildQuery(r,this._parts.duplicateQueryParameters,this._parts.escapeQuerySpace),"string"!=typeof e&&(n=t),this.build(!n),this},s.addQuery=function(e,t,n){var r=i.parseQuery(this._parts.query,this._parts.escapeQuerySpace);return i.addQuery(r,e,void 0===t?null:t),this._parts.query=i.buildQuery(r,this._parts.duplicateQueryParameters,this._parts.escapeQuerySpace),"string"!=typeof e&&(n=t),this.build(!n),this},s.removeQuery=function(e,t,n){var r=i.parseQuery(this._parts.query,this._parts.escapeQuerySpace);return i.removeQuery(r,e,t),this._parts.query=i.buildQuery(r,this._parts.duplicateQueryParameters,this._parts.escapeQuerySpace),"string"!=typeof e&&(n=t),this.build(!n),this},s.hasQuery=function(e,t,n){var r=i.parseQuery(this._parts.query,this._parts.escapeQuerySpace);return i.hasQuery(r,e,t,n)},s.setSearch=s.setQuery,s.addSearch=s.addQuery,s.removeSearch=s.removeQuery,s.hasSearch=s.hasQuery,s.normalize=function(){return this._parts.urn?this.normalizeProtocol(!1).normalizePath(!1).normalizeQuery(!1).normalizeFragment(!1).build():this.normalizeProtocol(!1).normalizeHostname(!1).normalizePort(!1).normalizePath(!1).normalizeQuery(!1).normalizeFragment(!1).build()},s.normalizeProtocol=function(e){return"string"==typeof this._parts.protocol&&(this._parts.protocol=this._parts.protocol.toLowerCase(),this.build(!e)),this},s.normalizeHostname=function(n){return this._parts.hostname&&(this.is("IDN")&&e?this._parts.hostname=e.toASCII(this._parts.hostname):this.is("IPv6")&&t&&(this._parts.hostname=t.best(this._parts.hostname)),this._parts.hostname=this._parts.hostname.toLowerCase(),this.build(!n)),this},s.normalizePort=function(e){return"string"==typeof this._parts.protocol&&this._parts.port===i.defaultPorts[this._parts.protocol]&&(this._parts.port=null,this.build(!e)),this},s.normalizePath=function(e){var t,n=this._parts.path;if(!n)return this;if(this._parts.urn)return this._parts.path=i.recodeUrnPath(this._parts.path),this.build(!e),this;if("/"===this._parts.path)return this;var r,o,s="";for("/"!==(n=i.recodePath(n)).charAt(0)&&(t=!0,n="/"+n),"/.."!==n.slice(-3)&&"/."!==n.slice(-2)||(n+="/"),n=n.replace(/(\/(\.\/)+)|(\/\.$)/g,"/").replace(/\/{2,}/g,"/"),t&&(s=n.substring(1).match(/^(\.\.\/)+/)||"")&&(s=s[0]);-1!==(r=n.search(/\/\.\.(\/|$)/));)0!==r?(-1===(o=n.substring(0,r).lastIndexOf("/"))&&(o=r),n=n.substring(0,o)+n.substring(r+3)):n=n.substring(3);return t&&this.is("relative")&&(n=s+n.substring(1)),this._parts.path=n,this.build(!e),this},s.normalizePathname=s.normalizePath,s.normalizeQuery=function(e){return"string"==typeof this._parts.query&&(this._parts.query.length?this.query(i.parseQuery(this._parts.query,this._parts.escapeQuerySpace)):this._parts.query=null,this.build(!e)),this},s.normalizeFragment=function(e){return this._parts.fragment||(this._parts.fragment=null,this.build(!e)),this},s.normalizeSearch=s.normalizeQuery,s.normalizeHash=s.normalizeFragment,s.iso8859=function(){var e=i.encode,t=i.decode;i.encode=escape,i.decode=decodeURIComponent;try{this.normalize()}finally{i.encode=e,i.decode=t}return this},s.unicode=function(){var e=i.encode,t=i.decode;i.encode=g,i.decode=unescape;try{this.normalize()}finally{i.encode=e,i.decode=t}return this},s.readable=function(){var t=this.clone();t.username("").password("").normalize();var n="";if(t._parts.protocol&&(n+=t._parts.protocol+"://"),t._parts.hostname&&(t.is("punycode")&&e?(n+=e.toUnicode(t._parts.hostname),t._parts.port&&(n+=":"+t._parts.port)):n+=t.host()),t._parts.hostname&&t._parts.path&&"/"!==t._parts.path.charAt(0)&&(n+="/"),n+=t.path(!0),t._parts.query){for(var r="",o=0,s=t._parts.query.split("&"),a=s.length;o<a;o++){var u=(s[o]||"").split("=");r+="&"+i.decodeQuery(u[0],this._parts.escapeQuerySpace).replace(/&/g,"%26"),void 0!==u[1]&&(r+="="+i.decodeQuery(u[1],this._parts.escapeQuerySpace).replace(/&/g,"%26"))}n+="?"+r.substring(1)}return n+=i.decodeQuery(t.hash(),!0)},s.absoluteTo=function(e){var t,n,r,o=this.clone(),s=["protocol","username","password","hostname","port"];if(this._parts.urn)throw new Error("URNs do not have any generally defined hierarchical components");if(e instanceof i||(e=new i(e)),o._parts.protocol)return o;if(o._parts.protocol=e._parts.protocol,this._parts.hostname)return o;for(n=0;r=s[n];n++)o._parts[r]=e._parts[r];return o._parts.path?(".."===o._parts.path.substring(-2)&&(o._parts.path+="/"),"/"!==o.path().charAt(0)&&(t=(t=e.directory())||(0===e.path().indexOf("/")?"/":""),o._parts.path=(t?t+"/":"")+o._parts.path,o.normalizePath())):(o._parts.path=e._parts.path,o._parts.query||(o._parts.query=e._parts.query)),o.build(),o},s.relativeTo=function(e){var t,n,r,o,s,a=this.clone().normalize();if(a._parts.urn)throw new Error("URNs do not have any generally defined hierarchical components");if(e=new i(e).normalize(),t=a._parts,n=e._parts,o=a.path(),s=e.path(),"/"!==o.charAt(0))throw new Error("URI is already relative");if("/"!==s.charAt(0))throw new Error("Cannot calculate a URI relative to another relative URI");if(t.protocol===n.protocol&&(t.protocol=null),t.username!==n.username||t.password!==n.password)return a.build();if(null!==t.protocol||null!==t.username||null!==t.password)return a.build();if(t.hostname!==n.hostname||t.port!==n.port)return a.build();if(t.hostname=null,t.port=null,o===s)return t.path="",a.build();if(!(r=i.commonPath(o,s)))return a.build();var u=n.path.substring(r.length).replace(/[^\/]*$/,"").replace(/.*?\//g,"../");return t.path=u+t.path.substring(r.length)||"./",a.build()},s.equals=function(e){var t,n,r,o,s,u=this.clone(),c=new i(e),f={};if(u.normalize(),c.normalize(),u.toString()===c.toString())return!0;if(r=u.query(),o=c.query(),u.query(""),c.query(""),u.toString()!==c.toString())return!1;if(r.length!==o.length)return!1;for(s in t=i.parseQuery(r,this._parts.escapeQuerySpace),n=i.parseQuery(o,this._parts.escapeQuerySpace),t)if(a.call(t,s)){if(l(t[s])){if(!h(t[s],n[s]))return!1}else if(t[s]!==n[s])return!1;f[s]=!0}for(s in n)if(a.call(n,s)&&!f[s])return!1;return!0},s.preventInvalidHostname=function(e){return this._parts.preventInvalidHostname=!!e,this},s.duplicateQueryParameters=function(e){return this._parts.duplicateQueryParameters=!!e,this},s.escapeQuerySpace=function(e){return this._parts.escapeQuerySpace=!!e,this},i}))},9942:function(e,t,n){var r;e=n.nmd(e),function(o){t&&t.nodeType,e&&e.nodeType;var i="object"==typeof n.g&&n.g;i.global!==i&&i.window!==i&&i.self;var s,a=2147483647,u=36,c=1,l=26,f=38,d=700,h=72,p=128,m="-",g=/^xn--/,y=/[^\x20-\x7E]/,v=/[\x2E\u3002\uFF0E\uFF61]/g,b={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},_=u-c,w=Math.floor,E=String.fromCharCode;function k(e){throw new RangeError(b[e])}function x(e,t){for(var n=e.length,r=[];n--;)r[n]=t(e[n]);return r}function D(e,t){var n=e.split("@"),r="";return n.length>1&&(r=n[0]+"@",e=n[1]),r+x((e=e.replace(v,".")).split("."),t).join(".")}function S(e){for(var t,n,r=[],o=0,i=e.length;o<i;)(t=e.charCodeAt(o++))>=55296&&t<=56319&&o<i?56320==(64512&(n=e.charCodeAt(o++)))?r.push(((1023&t)<<10)+(1023&n)+65536):(r.push(t),o--):r.push(t);return r}function C(e){return x(e,(function(e){var t="";return e>65535&&(t+=E((e-=65536)>>>10&1023|55296),e=56320|1023&e),t+=E(e)})).join("")}function O(e,t){return e+22+75*(e<26)-((0!=t)<<5)}function $(e,t,n){var r=0;for(e=n?w(e/d):e>>1,e+=w(e/t);e>_*l>>1;r+=u)e=w(e/_);return w(r+(_+1)*e/(e+f))}function A(e){var t,n,r,o,i,s,f,d,g,y,v,b=[],_=e.length,E=0,x=p,D=h;for((n=e.lastIndexOf(m))<0&&(n=0),r=0;r<n;++r)e.charCodeAt(r)>=128&&k("not-basic"),b.push(e.charCodeAt(r));for(o=n>0?n+1:0;o<_;){for(i=E,s=1,f=u;o>=_&&k("invalid-input"),((d=(v=e.charCodeAt(o++))-48<10?v-22:v-65<26?v-65:v-97<26?v-97:u)>=u||d>w((a-E)/s))&&k("overflow"),E+=d*s,!(d<(g=f<=D?c:f>=D+l?l:f-D));f+=u)s>w(a/(y=u-g))&&k("overflow"),s*=y;D=$(E-i,t=b.length+1,0==i),w(E/t)>a-x&&k("overflow"),x+=w(E/t),E%=t,b.splice(E++,0,x)}return C(b)}function P(e){var t,n,r,o,i,s,f,d,g,y,v,b,_,x,D,C=[];for(b=(e=S(e)).length,t=p,n=0,i=h,s=0;s<b;++s)(v=e[s])<128&&C.push(E(v));for(r=o=C.length,o&&C.push(m);r<b;){for(f=a,s=0;s<b;++s)(v=e[s])>=t&&v<f&&(f=v);for(f-t>w((a-n)/(_=r+1))&&k("overflow"),n+=(f-t)*_,t=f,s=0;s<b;++s)if((v=e[s])<t&&++n>a&&k("overflow"),v==t){for(d=n,g=u;!(d<(y=g<=i?c:g>=i+l?l:g-i));g+=u)D=d-y,x=u-y,C.push(E(O(y+D%x,0))),d=w(D/x);C.push(E(O(d,0))),i=$(n,_,r==o),n=0,++r}++n,++t}return C.join("")}s={version:"1.3.2",ucs2:{decode:S,encode:C},decode:A,encode:P,toASCII:function(e){return D(e,(function(e){return y.test(e)?"xn--"+P(e):e}))},toUnicode:function(e){return D(e,(function(e){return g.test(e)?A(e.slice(4).toLowerCase()):e}))}},void 0===(r=function(){return s}.call(t,n,t,e))||(e.exports=r)}()},90682:(e,t)=>{"use strict";const n=1024;let r=0;class o{constructor(e,t){this.from=e,this.to=t}}class i{constructor(e={}){this.id=r++,this.perNode=!!e.perNode,this.deserialize=e.deserialize||(()=>{throw new Error("This node type doesn't define a deserialize function")})}add(e){if(this.perNode)throw new RangeError("Can't add per-node props to node types");return"function"!=typeof e&&(e=u.match(e)),t=>{let n=e(t);return void 0===n?null:[this,n]}}}i.closedBy=new i({deserialize:e=>e.split(" ")}),i.openedBy=new i({deserialize:e=>e.split(" ")}),i.group=new i({deserialize:e=>e.split(" ")}),i.isolate=new i({deserialize:e=>{if(e&&"rtl"!=e&&"ltr"!=e&&"auto"!=e)throw new RangeError("Invalid value for isolate: "+e);return e||"auto"}}),i.contextHash=new i({perNode:!0}),i.lookAhead=new i({perNode:!0}),i.mounted=new i({perNode:!0});class s{constructor(e,t,n){this.tree=e,this.overlay=t,this.parser=n}static get(e){return e&&e.props&&e.props[i.mounted.id]}}const a=Object.create(null);class u{constructor(e,t,n,r=0){this.name=e,this.props=t,this.id=n,this.flags=r}static define(e){let t=e.props&&e.props.length?Object.create(null):a,n=(e.top?1:0)|(e.skipped?2:0)|(e.error?4:0)|(null==e.name?8:0),r=new u(e.name||"",t,e.id,n);if(e.props)for(let o of e.props)if(Array.isArray(o)||(o=o(r)),o){if(o[0].perNode)throw new RangeError("Can't store a per-node prop on a node type");t[o[0].id]=o[1]}return r}prop(e){return this.props[e.id]}get isTop(){return(1&this.flags)>0}get isSkipped(){return(2&this.flags)>0}get isError(){return(4&this.flags)>0}get isAnonymous(){return(8&this.flags)>0}is(e){if("string"==typeof e){if(this.name==e)return!0;let t=this.prop(i.group);return!!t&&t.indexOf(e)>-1}return this.id==e}static match(e){let t=Object.create(null);for(let n in e)for(let r of n.split(" "))t[r]=e[n];return e=>{for(let n=e.prop(i.group),r=-1;r<(n?n.length:0);r++){let o=t[r<0?e.name:n[r]];if(o)return o}}}}u.none=new u("",Object.create(null),0,8);class c{constructor(e){this.types=e;for(let t=0;t<e.length;t++)if(e[t].id!=t)throw new RangeError("Node type ids should correspond to array positions when creating a node set")}extend(...e){let t=[];for(let n of this.types){let r=null;for(let t of e){let e=t(n);e&&(r||(r=Object.assign({},n.props)),r[e[0].id]=e[1])}t.push(r?new u(n.name,r,n.id,n.flags):n)}return new c(t)}}const l=new WeakMap,f=new WeakMap;var d;t.IterMode=void 0,(d=t.IterMode||(t.IterMode={}))[d.ExcludeBuffers=1]="ExcludeBuffers",d[d.IncludeAnonymous=2]="IncludeAnonymous",d[d.IgnoreMounts=4]="IgnoreMounts",d[d.IgnoreOverlays=8]="IgnoreOverlays";class h{constructor(e,t,n,r,o){if(this.type=e,this.children=t,this.positions=n,this.length=r,this.props=null,o&&o.length){this.props=Object.create(null);for(let[e,t]of o)this.props["number"==typeof e?e:e.id]=t}}toString(){let e=s.get(this);if(e&&!e.overlay)return e.tree.toString();let t="";for(let n of this.children){let e=n.toString();e&&(t&&(t+=","),t+=e)}return this.type.name?(/\W/.test(this.type.name)&&!this.type.isError?JSON.stringify(this.type.name):this.type.name)+(t.length?"("+t+")":""):t}cursor(e=0){return new S(this.topNode,e)}cursorAt(e,t=0,n=0){let r=l.get(this)||this.topNode,o=new S(r);return o.moveTo(e,t),l.set(this,o._tree),o}get topNode(){return new b(this,0,0,null)}resolve(e,t=0){let n=y(l.get(this)||this.topNode,e,t,!1);return l.set(this,n),n}resolveInner(e,t=0){let n=y(f.get(this)||this.topNode,e,t,!0);return f.set(this,n),n}resolveStack(e,t=0){return function(e,t,n){let r=e.resolveInner(t,n),o=null;for(let i=r instanceof b?r:r.context.parent;i;i=i.parent)if(i.index<0){let e=i.parent;(o||(o=[r])).push(e.resolve(t,n)),i=e}else{let e=s.get(i.tree);if(e&&e.overlay&&e.overlay[0].from<=t&&e.overlay[e.overlay.length-1].to>=t){let s=new b(e.tree,e.overlay[0].from+i.from,-1,i);(o||(o=[r])).push(y(s,t,n,!1))}}return o?x(o):r}(this,e,t)}iterate(e){let{enter:n,leave:r,from:o=0,to:i=this.length}=e,s=e.mode||0,a=(s&t.IterMode.IncludeAnonymous)>0;for(let u=this.cursor(s|t.IterMode.IncludeAnonymous);;){let e=!1;if(u.from<=i&&u.to>=o&&(!a&&u.type.isAnonymous||!1!==n(u))){if(u.firstChild())continue;e=!0}for(;e&&r&&(a||!u.type.isAnonymous)&&r(u),!u.nextSibling();){if(!u.parent())return;e=!0}}}prop(e){return e.perNode?this.props?this.props[e.id]:void 0:this.type.prop(e)}get propValues(){let e=[];if(this.props)for(let t in this.props)e.push([+t,this.props[t]]);return e}balance(e={}){return this.children.length<=8?this:A(u.none,this.children,this.positions,0,this.children.length,0,this.length,((e,t,n)=>new h(this.type,e,t,n,this.propValues)),e.makeTree||((e,t,n)=>new h(u.none,e,t,n)))}static build(e){return function(e){var t;let{buffer:r,nodeSet:o,maxBufferLength:s=n,reused:a=[],minRepeatType:u=o.types.length}=e,c=Array.isArray(r)?new p(r,r.length):r,l=o.types,f=0,d=0;function g(e,t,n,r,i,h){let{id:p,start:k,end:x,size:D}=c,S=d;for(;D<0;){if(c.next(),-1==D){let t=a[p];return n.push(t),void r.push(k-e)}if(-3==D)return void(f=p);if(-4==D)return void(d=p);throw new RangeError(`Unrecognized record size: ${D}`)}let C,O,$=l[p],P=k-e;if(x-k<=s&&(O=w(c.pos-t,i))){let t=new Uint16Array(O.size-O.skip),n=c.pos-O.size,r=t.length;for(;c.pos>n;)r=E(O.start,t,r);C=new m(t,x-O.start,o),P=O.start-e}else{let e=c.pos-D;c.next();let t=[],n=[],r=p>=u?p:-1,o=0,i=x;for(;c.pos>e;)r>=0&&c.id==r&&c.size>=0?(c.end<=i-s&&(b(t,n,k,o,c.end,i,r,S),o=t.length,i=c.end),c.next()):h>2500?y(k,e,t,n):g(k,e,t,n,r,h+1);if(r>=0&&o>0&&o<t.length&&b(t,n,k,o,k,i,r,S),t.reverse(),n.reverse(),r>-1&&o>0){let e=v($);C=A($,t,n,0,t.length,0,x-k,e,e)}else C=_($,t,n,x-k,S-x)}n.push(C),r.push(P)}function y(e,t,n,r){let i=[],a=0,u=-1;for(;c.pos>t;){let{id:e,start:t,end:n,size:r}=c;if(r>4)c.next();else{if(u>-1&&t<u)break;u<0&&(u=n-s),i.push(e,t,n),a++,c.next()}}if(a){let t=new Uint16Array(4*a),s=i[i.length-2];for(let e=i.length-3,n=0;e>=0;e-=3)t[n++]=i[e],t[n++]=i[e+1]-s,t[n++]=i[e+2]-s,t[n++]=n;n.push(new m(t,i[2]-s,o)),r.push(s-e)}}function v(e){return(t,n,r)=>{let o,s,a=0,u=t.length-1;if(u>=0&&(o=t[u])instanceof h){if(!u&&o.type==e&&o.length==r)return o;(s=o.prop(i.lookAhead))&&(a=n[u]+o.length+s)}return _(e,t,n,r,a)}}function b(e,t,n,r,i,s,a,u){let c=[],l=[];for(;e.length>r;)c.push(e.pop()),l.push(t.pop()+n-i);e.push(_(o.types[a],c,l,s-i,u-s)),t.push(i-n)}function _(e,t,n,r,o=0,s){if(f){let e=[i.contextHash,f];s=s?[e].concat(s):[e]}if(o>25){let e=[i.lookAhead,o];s=s?[e].concat(s):[e]}return new h(e,t,n,r,s)}function w(e,t){let n=c.fork(),r=0,o=0,i=0,a=n.end-s,l={size:0,start:0,skip:0};e:for(let s=n.pos-e;n.pos>s;){let e=n.size;if(n.id==t&&e>=0){l.size=r,l.start=o,l.skip=i,i+=4,r+=4,n.next();continue}let c=n.pos-e;if(e<0||c<s||n.start<a)break;let f=n.id>=u?4:0,d=n.start;for(n.next();n.pos>c;){if(n.size<0){if(-3!=n.size)break e;f+=4}else n.id>=u&&(f+=4);n.next()}o=d,r+=e,i+=f}return(t<0||r==e)&&(l.size=r,l.start=o,l.skip=i),l.size>4?l:void 0}function E(e,t,n){let{id:r,start:o,end:i,size:s}=c;if(c.next(),s>=0&&r<u){let a=n;if(s>4){let r=c.pos-(s-4);for(;c.pos>r;)n=E(e,t,n)}t[--n]=a,t[--n]=i-e,t[--n]=o-e,t[--n]=r}else-3==s?f=r:-4==s&&(d=r);return n}let k=[],x=[];for(;c.pos>0;)g(e.start||0,e.bufferStart||0,k,x,-1,0);let D=null!==(t=e.length)&&void 0!==t?t:k.length?x[0]+k[0].length:0;return new h(l[e.topID],k.reverse(),x.reverse(),D)}(e)}}h.empty=new h(u.none,[],[],0);class p{constructor(e,t){this.buffer=e,this.index=t}get id(){return this.buffer[this.index-4]}get start(){return this.buffer[this.index-3]}get end(){return this.buffer[this.index-2]}get size(){return this.buffer[this.index-1]}get pos(){return this.index}next(){this.index-=4}fork(){return new p(this.buffer,this.index)}}class m{constructor(e,t,n){this.buffer=e,this.length=t,this.set=n}get type(){return u.none}toString(){let e=[];for(let t=0;t<this.buffer.length;)e.push(this.childString(t)),t=this.buffer[t+3];return e.join(",")}childString(e){let t=this.buffer[e],n=this.buffer[e+3],r=this.set.types[t],o=r.name;if(/\W/.test(o)&&!r.isError&&(o=JSON.stringify(o)),n==(e+=4))return o;let i=[];for(;e<n;)i.push(this.childString(e)),e=this.buffer[e+3];return o+"("+i.join(",")+")"}findChild(e,t,n,r,o){let{buffer:i}=this,s=-1;for(let a=e;a!=t&&!(g(o,r,i[a+1],i[a+2])&&(s=a,n>0));a=i[a+3]);return s}slice(e,t,n){let r=this.buffer,o=new Uint16Array(t-e),i=0;for(let s=e,a=0;s<t;){o[a++]=r[s++],o[a++]=r[s++]-n;let t=o[a++]=r[s++]-n;o[a++]=r[s++]-e,i=Math.max(i,t)}return new m(o,i,this.set)}}function g(e,t,n,r){switch(e){case-2:return n<t;case-1:return r>=t&&n<t;case 0:return n<t&&r>t;case 1:return n<=t&&r>t;case 2:return r>t;case 4:return!0}}function y(e,n,r,o){for(var i;e.from==e.to||(r<1?e.from>=n:e.from>n)||(r>-1?e.to<=n:e.to<n);){let t=!o&&e instanceof b&&e.index<0?null:e.parent;if(!t)return e;e=t}let s=o?0:t.IterMode.IgnoreOverlays;if(o)for(let t=e,a=t.parent;a;t=a,a=t.parent)t instanceof b&&t.index<0&&(null===(i=a.enter(n,r,s))||void 0===i?void 0:i.from)!=t.from&&(e=a);for(;;){let t=e.enter(n,r,s);if(!t)return e;e=t}}class v{cursor(e=0){return new S(this,e)}getChild(e,t=null,n=null){let r=_(this,e,t,n);return r.length?r[0]:null}getChildren(e,t=null,n=null){return _(this,e,t,n)}resolve(e,t=0){return y(this,e,t,!1)}resolveInner(e,t=0){return y(this,e,t,!0)}matchContext(e){return w(this,e)}enterUnfinishedNodesBefore(e){let t=this.childBefore(e),n=this;for(;t;){let e=t.lastChild;if(!e||e.to!=t.to)break;e.type.isError&&e.from==e.to?(n=t,t=e.prevSibling):t=e}return n}get node(){return this}get next(){return this.parent}}class b extends v{constructor(e,t,n,r){super(),this._tree=e,this.from=t,this.index=n,this._parent=r}get type(){return this._tree.type}get name(){return this._tree.type.name}get to(){return this.from+this._tree.length}nextChild(e,n,r,o,i=0){for(let a=this;;){for(let{children:u,positions:c}=a._tree,l=n>0?u.length:-1;e!=l;e+=n){let l=u[e],f=c[e]+a.from;if(g(o,r,f,f+l.length))if(l instanceof m){if(i&t.IterMode.ExcludeBuffers)continue;let s=l.findChild(0,l.buffer.length,n,r-f,o);if(s>-1)return new k(new E(a,l,e,f),null,s)}else if(i&t.IterMode.IncludeAnonymous||!l.type.isAnonymous||C(l)){let u;if(!(i&t.IterMode.IgnoreMounts)&&(u=s.get(l))&&!u.overlay)return new b(u.tree,f,e,a);let c=new b(l,f,e,a);return i&t.IterMode.IncludeAnonymous||!c.type.isAnonymous?c:c.nextChild(n<0?l.children.length-1:0,n,r,o)}}if(i&t.IterMode.IncludeAnonymous||!a.type.isAnonymous)return null;if(e=a.index>=0?a.index+n:n<0?-1:a._parent._tree.children.length,a=a._parent,!a)return null}}get firstChild(){return this.nextChild(0,1,0,4)}get lastChild(){return this.nextChild(this._tree.children.length-1,-1,0,4)}childAfter(e){return this.nextChild(0,1,e,2)}childBefore(e){return this.nextChild(this._tree.children.length-1,-1,e,-2)}enter(e,n,r=0){let o;if(!(r&t.IterMode.IgnoreOverlays)&&(o=s.get(this._tree))&&o.overlay){let t=e-this.from;for(let{from:e,to:r}of o.overlay)if((n>0?e<=t:e<t)&&(n<0?r>=t:r>t))return new b(o.tree,o.overlay[0].from+this.from,-1,this)}return this.nextChild(0,1,e,n,r)}nextSignificantParent(){let e=this;for(;e.type.isAnonymous&&e._parent;)e=e._parent;return e}get parent(){return this._parent?this._parent.nextSignificantParent():null}get nextSibling(){return this._parent&&this.index>=0?this._parent.nextChild(this.index+1,1,0,4):null}get prevSibling(){return this._parent&&this.index>=0?this._parent.nextChild(this.index-1,-1,0,4):null}get tree(){return this._tree}toTree(){return this._tree}toString(){return this._tree.toString()}}function _(e,t,n,r){let o=e.cursor(),i=[];if(!o.firstChild())return i;if(null!=n)for(let s=!1;!s;)if(s=o.type.is(n),!o.nextSibling())return i;for(;;){if(null!=r&&o.type.is(r))return i;if(o.type.is(t)&&i.push(o.node),!o.nextSibling())return null==r?i:[]}}function w(e,t,n=t.length-1){for(let r=e.parent;n>=0;r=r.parent){if(!r)return!1;if(!r.type.isAnonymous){if(t[n]&&t[n]!=r.name)return!1;n--}}return!0}class E{constructor(e,t,n,r){this.parent=e,this.buffer=t,this.index=n,this.start=r}}class k extends v{get name(){return this.type.name}get from(){return this.context.start+this.context.buffer.buffer[this.index+1]}get to(){return this.context.start+this.context.buffer.buffer[this.index+2]}constructor(e,t,n){super(),this.context=e,this._parent=t,this.index=n,this.type=e.buffer.set.types[e.buffer.buffer[n]]}child(e,t,n){let{buffer:r}=this.context,o=r.findChild(this.index+4,r.buffer[this.index+3],e,t-this.context.start,n);return o<0?null:new k(this.context,this,o)}get firstChild(){return this.child(1,0,4)}get lastChild(){return this.child(-1,0,4)}childAfter(e){return this.child(1,e,2)}childBefore(e){return this.child(-1,e,-2)}enter(e,n,r=0){if(r&t.IterMode.ExcludeBuffers)return null;let{buffer:o}=this.context,i=o.findChild(this.index+4,o.buffer[this.index+3],n>0?1:-1,e-this.context.start,n);return i<0?null:new k(this.context,this,i)}get parent(){return this._parent||this.context.parent.nextSignificantParent()}externalSibling(e){return this._parent?null:this.context.parent.nextChild(this.context.index+e,e,0,4)}get nextSibling(){let{buffer:e}=this.context,t=e.buffer[this.index+3];return t<(this._parent?e.buffer[this._parent.index+3]:e.buffer.length)?new k(this.context,this._parent,t):this.externalSibling(1)}get prevSibling(){let{buffer:e}=this.context,t=this._parent?this._parent.index+4:0;return this.index==t?this.externalSibling(-1):new k(this.context,this._parent,e.findChild(t,this.index,-1,0,4))}get tree(){return null}toTree(){let e=[],t=[],{buffer:n}=this.context,r=this.index+4,o=n.buffer[this.index+3];if(o>r){let i=n.buffer[this.index+1];e.push(n.slice(r,o,i)),t.push(0)}return new h(this.type,e,t,this.to-this.from)}toString(){return this.context.buffer.childString(this.index)}}function x(e){if(!e.length)return null;let t=0,n=e[0];for(let i=1;i<e.length;i++){let r=e[i];(r.from>n.from||r.to<n.to)&&(n=r,t=i)}let r=n instanceof b&&n.index<0?null:n.parent,o=e.slice();return r?o[t]=r:o.splice(t,1),new D(o,n)}class D{constructor(e,t){this.heads=e,this.node=t}get next(){return x(this.heads)}}class S{get name(){return this.type.name}constructor(e,t=0){if(this.mode=t,this.buffer=null,this.stack=[],this.index=0,this.bufferNode=null,e instanceof b)this.yieldNode(e);else{this._tree=e.context.parent,this.buffer=e.context;for(let t=e._parent;t;t=t._parent)this.stack.unshift(t.index);this.bufferNode=e,this.yieldBuf(e.index)}}yieldNode(e){return!!e&&(this._tree=e,this.type=e.type,this.from=e.from,this.to=e.to,!0)}yieldBuf(e,t){this.index=e;let{start:n,buffer:r}=this.buffer;return this.type=t||r.set.types[r.buffer[e]],this.from=n+r.buffer[e+1],this.to=n+r.buffer[e+2],!0}yield(e){return!!e&&(e instanceof b?(this.buffer=null,this.yieldNode(e)):(this.buffer=e.context,this.yieldBuf(e.index,e.type)))}toString(){return this.buffer?this.buffer.buffer.childString(this.index):this._tree.toString()}enterChild(e,t,n){if(!this.buffer)return this.yield(this._tree.nextChild(e<0?this._tree._tree.children.length-1:0,e,t,n,this.mode));let{buffer:r}=this.buffer,o=r.findChild(this.index+4,r.buffer[this.index+3],e,t-this.buffer.start,n);return!(o<0)&&(this.stack.push(this.index),this.yieldBuf(o))}firstChild(){return this.enterChild(1,0,4)}lastChild(){return this.enterChild(-1,0,4)}childAfter(e){return this.enterChild(1,e,2)}childBefore(e){return this.enterChild(-1,e,-2)}enter(e,n,r=this.mode){return this.buffer?!(r&t.IterMode.ExcludeBuffers)&&this.enterChild(1,e,n):this.yield(this._tree.enter(e,n,r))}parent(){if(!this.buffer)return this.yieldNode(this.mode&t.IterMode.IncludeAnonymous?this._tree._parent:this._tree.parent);if(this.stack.length)return this.yieldBuf(this.stack.pop());let e=this.mode&t.IterMode.IncludeAnonymous?this.buffer.parent:this.buffer.parent.nextSignificantParent();return this.buffer=null,this.yieldNode(e)}sibling(e){if(!this.buffer)return!!this._tree._parent&&this.yield(this._tree.index<0?null:this._tree._parent.nextChild(this._tree.index+e,e,0,4,this.mode));let{buffer:t}=this.buffer,n=this.stack.length-1;if(e<0){let e=n<0?0:this.stack[n]+4;if(this.index!=e)return this.yieldBuf(t.findChild(e,this.index,-1,0,4))}else{let e=t.buffer[this.index+3];if(e<(n<0?t.buffer.length:t.buffer[this.stack[n]+3]))return this.yieldBuf(e)}return n<0&&this.yield(this.buffer.parent.nextChild(this.buffer.index+e,e,0,4,this.mode))}nextSibling(){return this.sibling(1)}prevSibling(){return this.sibling(-1)}atLastNode(e){let n,r,{buffer:o}=this;if(o){if(e>0){if(this.index<o.buffer.buffer.length)return!1}else for(let e=0;e<this.index;e++)if(o.buffer.buffer[e+3]<this.index)return!1;({index:n,parent:r}=o)}else({index:n,_parent:r}=this._tree);for(;r;({index:n,_parent:r}=r))if(n>-1)for(let o=n+e,i=e<0?-1:r._tree.children.length;o!=i;o+=e){let e=r._tree.children[o];if(this.mode&t.IterMode.IncludeAnonymous||e instanceof m||!e.type.isAnonymous||C(e))return!1}return!0}move(e,t){if(t&&this.enterChild(e,0,4))return!0;for(;;){if(this.sibling(e))return!0;if(this.atLastNode(e)||!this.parent())return!1}}next(e=!0){return this.move(1,e)}prev(e=!0){return this.move(-1,e)}moveTo(e,t=0){for(;(this.from==this.to||(t<1?this.from>=e:this.from>e)||(t>-1?this.to<=e:this.to<e))&&this.parent(););for(;this.enterChild(1,e,t););return this}get node(){if(!this.buffer)return this._tree;let e=this.bufferNode,t=null,n=0;if(e&&e.context==this.buffer)e:for(let r=this.index,o=this.stack.length;o>=0;){for(let i=e;i;i=i._parent)if(i.index==r){if(r==this.index)return i;t=i,n=o+1;break e}r=this.stack[--o]}for(let r=n;r<this.stack.length;r++)t=new k(this.buffer,t,this.stack[r]);return this.bufferNode=new k(this.buffer,t,this.index)}get tree(){return this.buffer?null:this._tree._tree}iterate(e,t){for(let n=0;;){let r=!1;if(this.type.isAnonymous||!1!==e(this)){if(this.firstChild()){n++;continue}this.type.isAnonymous||(r=!0)}for(;r&&t&&t(this),r=this.type.isAnonymous,!this.nextSibling();){if(!n)return;this.parent(),n--,r=!0}}}matchContext(e){if(!this.buffer)return w(this.node,e);let{buffer:t}=this.buffer,{types:n}=t.set;for(let r=e.length-1,o=this.stack.length-1;r>=0;o--){if(o<0)return w(this.node,e,r);let i=n[t.buffer[this.stack[o]]];if(!i.isAnonymous){if(e[r]&&e[r]!=i.name)return!1;r--}}return!0}}function C(e){return e.children.some((e=>e instanceof m||!e.type.isAnonymous||C(e)))}const O=new WeakMap;function $(e,t){if(!e.isAnonymous||t instanceof m||t.type!=e)return 1;let n=O.get(t);if(null==n){n=1;for(let r of t.children){if(r.type!=e||!(r instanceof h)){n=1;break}n+=$(e,r)}O.set(t,n)}return n}function A(e,t,n,r,o,i,s,a,u){let c=0;for(let h=r;h<o;h++)c+=$(e,t[h]);let l=Math.ceil(1.5*c/8),f=[],d=[];return function t(n,r,o,s,a){for(let c=o;c<s;){let o=c,h=r[c],p=$(e,n[c]);for(c++;c<s;c++){let t=$(e,n[c]);if(p+t>=l)break;p+=t}if(c==o+1){if(p>l){let e=n[o];t(e.children,e.positions,0,e.children.length,r[o]+a);continue}f.push(n[o])}else{let t=r[c-1]+n[c-1].length-h;f.push(A(e,n,r,o,c,h,t,null,u))}d.push(h+a-i)}}(t,n,r,o,0),(a||u)(f,d,s)}class P{constructor(e,t,n,r,o=!1,i=!1){this.from=e,this.to=t,this.tree=n,this.offset=r,this.open=(o?1:0)|(i?2:0)}get openStart(){return(1&this.open)>0}get openEnd(){return(2&this.open)>0}static addTree(e,t=[],n=!1){let r=[new P(0,e.length,e,0,!1,n)];for(let o of t)o.to>e.length&&r.push(o);return r}static applyChanges(e,t,n=128){if(!t.length)return e;let r=[],o=1,i=e.length?e[0]:null;for(let s=0,a=0,u=0;;s++){let c=s<t.length?t[s]:null,l=c?c.fromA:1e9;if(l-a>=n)for(;i&&i.from<l;){let t=i;if(a>=t.from||l<=t.to||u){let e=Math.max(t.from,a)-u,n=Math.min(t.to,l)-u;t=e>=n?null:new P(e,n,t.tree,t.offset+u,s>0,!!c)}if(t&&r.push(t),i.to>l)break;i=o<e.length?e[o++]:null}if(!c)break;a=c.toA,u=c.toA-c.toB}return r}}class j{constructor(e){this.string=e}get length(){return this.string.length}chunk(e){return this.string.slice(e)}get lineChunks(){return!1}read(e,t){return this.string.slice(e,t)}}class F{constructor(e,t,n,r,o){this.parser=e,this.parse=t,this.overlay=n,this.target=r,this.from=o}}function I(e){if(!e.length||e.some((e=>e.from>=e.to)))throw new RangeError("Invalid inner parse ranges given: "+JSON.stringify(e))}class N{constructor(e,t,n,r,o,i,s){this.parser=e,this.predicate=t,this.mounts=n,this.index=r,this.start=o,this.target=i,this.prev=s,this.depth=0,this.ranges=[]}}const T=new i({perNode:!0});class M{constructor(e,t,n,r,o){this.nest=t,this.input=n,this.fragments=r,this.ranges=o,this.inner=[],this.innerDone=0,this.baseTree=null,this.stoppedAt=null,this.baseParse=e}advance(){if(this.baseParse){let e=this.baseParse.advance();if(!e)return null;if(this.baseParse=null,this.baseTree=e,this.startInner(),null!=this.stoppedAt)for(let t of this.inner)t.parse.stopAt(this.stoppedAt)}if(this.innerDone==this.inner.length){let e=this.baseTree;return null!=this.stoppedAt&&(e=new h(e.type,e.children,e.positions,e.length,e.propValues.concat([[T,this.stoppedAt]]))),e}let e=this.inner[this.innerDone],t=e.parse.advance();if(t){this.innerDone++;let n=Object.assign(Object.create(null),e.target.props);n[i.mounted.id]=new s(t,e.overlay,e.parser),e.target.props=n}return null}get parsedPos(){if(this.baseParse)return 0;let e=this.input.length;for(let t=this.innerDone;t<this.inner.length;t++)this.inner[t].from<e&&(e=Math.min(e,this.inner[t].parse.parsedPos));return e}stopAt(e){if(this.stoppedAt=e,this.baseParse)this.baseParse.stopAt(e);else for(let t=this.innerDone;t<this.inner.length;t++)this.inner[t].parse.stopAt(e)}startInner(){let e=new U(this.fragments),n=null,r=null,i=new S(new b(this.baseTree,this.ranges[0].from,0,null),t.IterMode.IncludeAnonymous|t.IterMode.IgnoreMounts);e:for(let t,s;;){let a,u=!0;if(null!=this.stoppedAt&&i.from>=this.stoppedAt)u=!1;else if(e.hasNode(i)){if(n){let e=n.mounts.find((e=>e.frag.from<=i.from&&e.frag.to>=i.to&&e.mount.overlay));if(e)for(let t of e.mount.overlay){let r=t.from+e.pos,o=t.to+e.pos;r>=i.from&&o<=i.to&&!n.ranges.some((e=>e.from<o&&e.to>r))&&n.ranges.push({from:r,to:o})}}u=!1}else if(r&&(s=R(r.ranges,i.from,i.to)))u=2!=s;else if(!i.type.isAnonymous&&(t=this.nest(i,this.input))&&(i.from<i.to||!t.overlay)){i.tree||L(i);let s=e.findMounts(i.from,t.parser);if("function"==typeof t.overlay)n=new N(t.parser,t.overlay,s,this.inner.length,i.from,i.tree,n);else{let e=q(this.ranges,t.overlay||(i.from<i.to?[new o(i.from,i.to)]:[]));e.length&&I(e),!e.length&&t.overlay||this.inner.push(new F(t.parser,e.length?t.parser.startParse(this.input,Q(s,e),e):t.parser.startParse(""),t.overlay?t.overlay.map((e=>new o(e.from-i.from,e.to-i.from))):null,i.tree,e.length?e[0].from:i.from)),t.overlay?e.length&&(r={ranges:e,depth:0,prev:r}):u=!1}}else n&&(a=n.predicate(i))&&(!0===a&&(a=new o(i.from,i.to)),a.from<a.to&&n.ranges.push(a));if(u&&i.firstChild())n&&n.depth++,r&&r.depth++;else for(;!i.nextSibling();){if(!i.parent())break e;if(n&&! --n.depth){let e=q(this.ranges,n.ranges);e.length&&(I(e),this.inner.splice(n.index,0,new F(n.parser,n.parser.startParse(this.input,Q(n.mounts,e),e),n.ranges.map((e=>new o(e.from-n.start,e.to-n.start))),n.target,e[0].from))),n=n.prev}r&&! --r.depth&&(r=r.prev)}}}}function R(e,t,n){for(let r of e){if(r.from>=n)break;if(r.to>t)return r.from<=t&&r.to>=n?2:1}return 0}function B(e,t,n,r,o,i){if(t<n){let s=e.buffer[t+1];r.push(e.slice(t,n,s)),o.push(s-i)}}function L(e){let{node:t}=e,n=[],r=t.context.buffer;do{n.push(e.index),e.parent()}while(!e.tree);let o=e.tree,i=o.children.indexOf(r),s=o.children[i],a=s.buffer,c=[i];o.children[i]=function e(r,o,i,u,l,f){let d=n[f],p=[],m=[];B(s,r,d,p,m,u);let g=a[d+1],y=a[d+2];c.push(p.length);let v=f?e(d+4,a[d+3],s.set.types[a[d]],g,y-g,f-1):t.toTree();return p.push(v),m.push(g-u),B(s,a[d+3],o,p,m,u),new h(i,p,m,l)}(0,a.length,u.none,0,s.length,n.length-1);for(let u of c){let t=e.tree.children[u],n=e.tree.positions[u];e.yield(new b(t,n+e.from,u,e._tree))}}class z{constructor(e,n){this.offset=n,this.done=!1,this.cursor=e.cursor(t.IterMode.IncludeAnonymous|t.IterMode.IgnoreMounts)}moveTo(e){let{cursor:n}=this,r=e-this.offset;for(;!this.done&&n.from<r;)n.to>=e&&n.enter(r,1,t.IterMode.IgnoreOverlays|t.IterMode.ExcludeBuffers)||n.next(!1)||(this.done=!0)}hasNode(e){if(this.moveTo(e.from),!this.done&&this.cursor.from+this.offset==e.from&&this.cursor.tree)for(let t=this.cursor.tree;;){if(t==e.tree)return!0;if(!(t.children.length&&0==t.positions[0]&&t.children[0]instanceof h))break;t=t.children[0]}return!1}}class U{constructor(e){var t;if(this.fragments=e,this.curTo=0,this.fragI=0,e.length){let n=this.curFrag=e[0];this.curTo=null!==(t=n.tree.prop(T))&&void 0!==t?t:n.to,this.inner=new z(n.tree,-n.offset)}else this.curFrag=this.inner=null}hasNode(e){for(;this.curFrag&&e.from>=this.curTo;)this.nextFrag();return this.curFrag&&this.curFrag.from<=e.from&&this.curTo>=e.to&&this.inner.hasNode(e)}nextFrag(){var e;if(this.fragI++,this.fragI==this.fragments.length)this.curFrag=this.inner=null;else{let t=this.curFrag=this.fragments[this.fragI];this.curTo=null!==(e=t.tree.prop(T))&&void 0!==e?e:t.to,this.inner=new z(t.tree,-t.offset)}}findMounts(e,t){var n;let r=[];if(this.inner){this.inner.cursor.moveTo(e,1);for(let e=this.inner.cursor.node;e;e=e.parent){let o=null===(n=e.tree)||void 0===n?void 0:n.prop(i.mounted);if(o&&o.parser==t)for(let t=this.fragI;t<this.fragments.length;t++){let n=this.fragments[t];if(n.from>=e.to)break;n.tree==this.curFrag.tree&&r.push({frag:n,pos:e.from-n.offset,mount:o})}}}return r}}function q(e,t){let n=null,r=t;for(let i=1,s=0;i<e.length;i++){let a=e[i-1].to,u=e[i].from;for(;s<r.length;s++){let e=r[s];if(e.from>=u)break;e.to<=a||(n||(r=n=t.slice()),e.from<a?(n[s]=new o(e.from,a),e.to>u&&n.splice(s+1,0,new o(u,e.to))):e.to>u?n[s--]=new o(u,e.to):n.splice(s--,1))}}return r}function V(e,t,n,r){let i=0,s=0,a=!1,u=!1,c=-1e9,l=[];for(;;){let f=i==e.length?1e9:a?e[i].to:e[i].from,d=s==t.length?1e9:u?t[s].to:t[s].from;if(a!=u){let e=Math.max(c,n),t=Math.min(f,d,r);e<t&&l.push(new o(e,t))}if(c=Math.min(f,d),1e9==c)break;f==c&&(a?(a=!1,i++):a=!0),d==c&&(u?(u=!1,s++):u=!0)}return l}function Q(e,t){let n=[];for(let{pos:r,mount:i,frag:s}of e){let e=r+(i.overlay?i.overlay[0].from:0),a=e+i.tree.length,u=Math.max(s.from,e),c=Math.min(s.to,a);if(i.overlay){let a=V(t,i.overlay.map((e=>new o(e.from+r,e.to+r))),u,c);for(let t=0,r=u;;t++){let o=t==a.length,u=o?c:a[t].from;if(u>r&&n.push(new P(r,u,i.tree,-e,s.from>=r||s.openStart,s.to<=u||s.openEnd)),o)break;r=a[t].to}}else n.push(new P(u,c,i.tree,-e,s.from>=e||s.openStart,s.to<=a||s.openEnd))}return n}t.DefaultBufferLength=n,t.MountedTree=s,t.NodeProp=i,t.NodeSet=c,t.NodeType=u,t.NodeWeakMap=class{constructor(){this.map=new WeakMap}setBuffer(e,t,n){let r=this.map.get(e);r||this.map.set(e,r=new Map),r.set(t,n)}getBuffer(e,t){let n=this.map.get(e);return n&&n.get(t)}set(e,t){e instanceof k?this.setBuffer(e.context.buffer,e.index,t):e instanceof b&&this.map.set(e.tree,t)}get(e){return e instanceof k?this.getBuffer(e.context.buffer,e.index):e instanceof b?this.map.get(e.tree):void 0}cursorSet(e,t){e.buffer?this.setBuffer(e.buffer.buffer,e.index,t):this.map.set(e.tree,t)}cursorGet(e){return e.buffer?this.getBuffer(e.buffer.buffer,e.index):this.map.get(e.tree)}},t.Parser=class{startParse(e,t,n){return"string"==typeof e&&(e=new j(e)),n=n?n.length?n.map((e=>new o(e.from,e.to))):[new o(0,0)]:[new o(0,e.length)],this.createParse(e,t||[],n)}parse(e,t,n){let r=this.startParse(e,t,n);for(;;){let e=r.advance();if(e)return e}}},t.Tree=h,t.TreeBuffer=m,t.TreeCursor=S,t.TreeFragment=P,t.parseMixed=function(e){return(t,n,r,o)=>new M(t,e,n,r,o)}},21500:(e,t,n)=>{"use strict";var r=n(90682);class o{constructor(e,t,n,r,o,i,s,a,u,c=0,l){this.p=e,this.stack=t,this.state=n,this.reducePos=r,this.pos=o,this.score=i,this.buffer=s,this.bufferBase=a,this.curContext=u,this.lookAhead=c,this.parent=l}toString(){return`[${this.stack.filter(((e,t)=>t%3==0)).concat(this.state)}]@${this.pos}${this.score?"!"+this.score:""}`}static start(e,t,n=0){let r=e.parser.context;return new o(e,[],t,n,n,0,[],0,r?new i(r,r.start):null,0,null)}get context(){return this.curContext?this.curContext.context:null}pushState(e,t){this.stack.push(this.state,t,this.bufferBase+this.buffer.length),this.state=e}reduce(e){var t;let n=e>>19,r=65535&e,{parser:o}=this.p;this.reducePos<this.pos-25&&this.setLookAhead(this.pos);let i=o.dynamicPrecedence(r);if(i&&(this.score+=i),0==n)return this.pushState(o.getGoto(this.state,r,!0),this.reducePos),r<o.minRepeatTerm&&this.storeNode(r,this.reducePos,this.reducePos,4,!0),void this.reduceContext(r,this.reducePos);let s=this.stack.length-3*(n-1)-(262144&e?6:0),a=s?this.stack[s-2]:this.p.ranges[0].from,u=this.reducePos-a;u>=2e3&&!(null===(t=this.p.parser.nodeSet.types[r])||void 0===t?void 0:t.isAnonymous)&&(a==this.p.lastBigReductionStart?(this.p.bigReductionCount++,this.p.lastBigReductionSize=u):this.p.lastBigReductionSize<u&&(this.p.bigReductionCount=1,this.p.lastBigReductionStart=a,this.p.lastBigReductionSize=u));let c=s?this.stack[s-1]:0,l=this.bufferBase+this.buffer.length-c;if(r<o.minRepeatTerm||131072&e){let e=o.stateFlag(this.state,1)?this.pos:this.reducePos;this.storeNode(r,a,e,l+4,!0)}if(262144&e)this.state=this.stack[s];else{let e=this.stack[s-3];this.state=o.getGoto(e,r,!0)}for(;this.stack.length>s;)this.stack.pop();this.reduceContext(r,a)}storeNode(e,t,n,r=4,o=!1){if(0==e&&(!this.stack.length||this.stack[this.stack.length-1]<this.buffer.length+this.bufferBase)){let e=this,r=this.buffer.length;if(0==r&&e.parent&&(r=e.bufferBase-e.parent.bufferBase,e=e.parent),r>0&&0==e.buffer[r-4]&&e.buffer[r-1]>-1){if(t==n)return;if(e.buffer[r-2]>=t)return void(e.buffer[r-2]=n)}}if(o&&this.pos!=n){let o=this.buffer.length;if(o>0&&0!=this.buffer[o-4])for(;o>0&&this.buffer[o-2]>n;)this.buffer[o]=this.buffer[o-4],this.buffer[o+1]=this.buffer[o-3],this.buffer[o+2]=this.buffer[o-2],this.buffer[o+3]=this.buffer[o-1],o-=4,r>4&&(r-=4);this.buffer[o]=e,this.buffer[o+1]=t,this.buffer[o+2]=n,this.buffer[o+3]=r}else this.buffer.push(e,t,n,r)}shift(e,t,n,r){if(131072&e)this.pushState(65535&e,this.pos);else if(0==(262144&e)){let o=e,{parser:i}=this.p;(r>this.pos||t<=i.maxNode)&&(this.pos=r,i.stateFlag(o,1)||(this.reducePos=r)),this.pushState(o,n),this.shiftContext(t,n),t<=i.maxNode&&this.buffer.push(t,n,r,4)}else this.pos=r,this.shiftContext(t,n),t<=this.p.parser.maxNode&&this.buffer.push(t,n,r,4)}apply(e,t,n,r){65536&e?this.reduce(e):this.shift(e,t,n,r)}useNode(e,t){let n=this.p.reused.length-1;(n<0||this.p.reused[n]!=e)&&(this.p.reused.push(e),n++);let r=this.pos;this.reducePos=this.pos=r+e.length,this.pushState(t,r),this.buffer.push(n,r,this.reducePos,-1),this.curContext&&this.updateContext(this.curContext.tracker.reuse(this.curContext.context,e,this,this.p.stream.reset(this.pos-e.length)))}split(){let e=this,t=e.buffer.length;for(;t>0&&e.buffer[t-2]>e.reducePos;)t-=4;let n=e.buffer.slice(t),r=e.bufferBase+t;for(;e&&r==e.bufferBase;)e=e.parent;return new o(this.p,this.stack.slice(),this.state,this.reducePos,this.pos,this.score,n,r,this.curContext,this.lookAhead,e)}recoverByDelete(e,t){let n=e<=this.p.parser.maxNode;n&&this.storeNode(e,this.pos,t,4),this.storeNode(0,this.pos,t,n?8:4),this.pos=this.reducePos=t,this.score-=190}canShift(e){for(let t=new s(this);;){let n=this.p.parser.stateSlot(t.state,4)||this.p.parser.hasAction(t.state,e);if(0==n)return!1;if(0==(65536&n))return!0;t.reduce(n)}}recoverByInsert(e){if(this.stack.length>=300)return[];let t=this.p.parser.nextStates(this.state);if(t.length>8||this.stack.length>=120){let n=[];for(let r,o=0;o<t.length;o+=2)(r=t[o+1])!=this.state&&this.p.parser.hasAction(r,e)&&n.push(t[o],r);if(this.stack.length<120)for(let e=0;n.length<8&&e<t.length;e+=2){let r=t[e+1];n.some(((e,t)=>1&t&&e==r))||n.push(t[e],r)}t=n}let n=[];for(let r=0;r<t.length&&n.length<4;r+=2){let e=t[r+1];if(e==this.state)continue;let o=this.split();o.pushState(e,this.pos),o.storeNode(0,o.pos,o.pos,4,!0),o.shiftContext(t[r],this.pos),o.reducePos=this.pos,o.score-=200,n.push(o)}return n}forceReduce(){let{parser:e}=this.p,t=e.stateSlot(this.state,5);if(0==(65536&t))return!1;if(!e.validAction(this.state,t)){let n=t>>19,r=65535&t,o=this.stack.length-3*n;if(o<0||e.getGoto(this.stack[o],r,!1)<0){let e=this.findForcedReduction();if(null==e)return!1;t=e}this.storeNode(0,this.pos,this.pos,4,!0),this.score-=100}return this.reducePos=this.pos,this.reduce(t),!0}findForcedReduction(){let{parser:e}=this.p,t=[],n=(r,o)=>{if(!t.includes(r))return t.push(r),e.allActions(r,(t=>{if(393216&t);else if(65536&t){let n=(t>>19)-o;if(n>1){let r=65535&t,o=this.stack.length-3*n;if(o>=0&&e.getGoto(this.stack[o],r,!1)>=0)return n<<19|65536|r}}else{let e=n(t,o+1);if(null!=e)return e}}))};return n(this.state,0)}forceAll(){for(;!this.p.parser.stateFlag(this.state,2);)if(!this.forceReduce()){this.storeNode(0,this.pos,this.pos,4,!0);break}return this}get deadEnd(){if(3!=this.stack.length)return!1;let{parser:e}=this.p;return 65535==e.data[e.stateSlot(this.state,1)]&&!e.stateSlot(this.state,4)}restart(){this.storeNode(0,this.pos,this.pos,4,!0),this.state=this.stack[0],this.stack.length=0}sameState(e){if(this.state!=e.state||this.stack.length!=e.stack.length)return!1;for(let t=0;t<this.stack.length;t+=3)if(this.stack[t]!=e.stack[t])return!1;return!0}get parser(){return this.p.parser}dialectEnabled(e){return this.p.parser.dialect.flags[e]}shiftContext(e,t){this.curContext&&this.updateContext(this.curContext.tracker.shift(this.curContext.context,e,this,this.p.stream.reset(t)))}reduceContext(e,t){this.curContext&&this.updateContext(this.curContext.tracker.reduce(this.curContext.context,e,this,this.p.stream.reset(t)))}emitContext(){let e=this.buffer.length-1;(e<0||-3!=this.buffer[e])&&this.buffer.push(this.curContext.hash,this.pos,this.pos,-3)}emitLookAhead(){let e=this.buffer.length-1;(e<0||-4!=this.buffer[e])&&this.buffer.push(this.lookAhead,this.pos,this.pos,-4)}updateContext(e){if(e!=this.curContext.context){let t=new i(this.curContext.tracker,e);t.hash!=this.curContext.hash&&this.emitContext(),this.curContext=t}}setLookAhead(e){e>this.lookAhead&&(this.emitLookAhead(),this.lookAhead=e)}close(){this.curContext&&this.curContext.tracker.strict&&this.emitContext(),this.lookAhead>0&&this.emitLookAhead()}}class i{constructor(e,t){this.tracker=e,this.context=t,this.hash=e.strict?e.hash(t):0}}class s{constructor(e){this.start=e,this.state=e.state,this.stack=e.stack,this.base=this.stack.length}reduce(e){let t=65535&e,n=e>>19;0==n?(this.stack==this.start.stack&&(this.stack=this.stack.slice()),this.stack.push(this.state,0,0),this.base+=3):this.base-=3*(n-1);let r=this.start.p.parser.getGoto(this.stack[this.base-3],t,!0);this.state=r}}class a{constructor(e,t,n){this.stack=e,this.pos=t,this.index=n,this.buffer=e.buffer,0==this.index&&this.maybeNext()}static create(e,t=e.bufferBase+e.buffer.length){return new a(e,t,t-e.bufferBase)}maybeNext(){let e=this.stack.parent;null!=e&&(this.index=this.stack.bufferBase-e.bufferBase,this.stack=e,this.buffer=e.buffer)}get id(){return this.buffer[this.index-4]}get start(){return this.buffer[this.index-3]}get end(){return this.buffer[this.index-2]}get size(){return this.buffer[this.index-1]}next(){this.index-=4,this.pos-=4,0==this.index&&this.maybeNext()}fork(){return new a(this.stack,this.pos,this.index)}}function u(e,t=Uint16Array){if("string"!=typeof e)return e;let n=null;for(let r=0,o=0;r<e.length;){let i=0;for(;;){let t=e.charCodeAt(r++),n=!1;if(126==t){i=65535;break}t>=92&&t--,t>=34&&t--;let o=t-32;if(o>=46&&(o-=46,n=!0),i+=o,n)break;i*=46}n?n[o++]=i:n=new t(i)}return n}class c{constructor(){this.start=-1,this.value=-1,this.end=-1,this.extended=-1,this.lookAhead=0,this.mask=0,this.context=0}}const l=new c;class f{constructor(e,t){this.input=e,this.ranges=t,this.chunk="",this.chunkOff=0,this.chunk2="",this.chunk2Pos=0,this.next=-1,this.token=l,this.rangeIndex=0,this.pos=this.chunkPos=t[0].from,this.range=t[0],this.end=t[t.length-1].to,this.readNext()}resolveOffset(e,t){let n=this.range,r=this.rangeIndex,o=this.pos+e;for(;o<n.from;){if(!r)return null;let e=this.ranges[--r];o-=n.from-e.to,n=e}for(;t<0?o>n.to:o>=n.to;){if(r==this.ranges.length-1)return null;let e=this.ranges[++r];o+=e.from-n.to,n=e}return o}clipPos(e){if(e>=this.range.from&&e<this.range.to)return e;for(let t of this.ranges)if(t.to>e)return Math.max(e,t.from);return this.end}peek(e){let t,n,r=this.chunkOff+e;if(r>=0&&r<this.chunk.length)t=this.pos+e,n=this.chunk.charCodeAt(r);else{let r=this.resolveOffset(e,1);if(null==r)return-1;if(t=r,t>=this.chunk2Pos&&t<this.chunk2Pos+this.chunk2.length)n=this.chunk2.charCodeAt(t-this.chunk2Pos);else{let e=this.rangeIndex,r=this.range;for(;r.to<=t;)r=this.ranges[++e];this.chunk2=this.input.chunk(this.chunk2Pos=t),t+this.chunk2.length>r.to&&(this.chunk2=this.chunk2.slice(0,r.to-t)),n=this.chunk2.charCodeAt(0)}}return t>=this.token.lookAhead&&(this.token.lookAhead=t+1),n}acceptToken(e,t=0){let n=t?this.resolveOffset(t,-1):this.pos;if(null==n||n<this.token.start)throw new RangeError("Token end out of bounds");this.token.value=e,this.token.end=n}acceptTokenTo(e,t){this.token.value=e,this.token.end=t}getChunk(){if(this.pos>=this.chunk2Pos&&this.pos<this.chunk2Pos+this.chunk2.length){let{chunk:e,chunkPos:t}=this;this.chunk=this.chunk2,this.chunkPos=this.chunk2Pos,this.chunk2=e,this.chunk2Pos=t,this.chunkOff=this.pos-this.chunkPos}else{this.chunk2=this.chunk,this.chunk2Pos=this.chunkPos;let e=this.input.chunk(this.pos),t=this.pos+e.length;this.chunk=t>this.range.to?e.slice(0,this.range.to-this.pos):e,this.chunkPos=this.pos,this.chunkOff=0}}readNext(){return this.chunkOff>=this.chunk.length&&(this.getChunk(),this.chunkOff==this.chunk.length)?this.next=-1:this.next=this.chunk.charCodeAt(this.chunkOff)}advance(e=1){for(this.chunkOff+=e;this.pos+e>=this.range.to;){if(this.rangeIndex==this.ranges.length-1)return this.setDone();e-=this.range.to-this.pos,this.range=this.ranges[++this.rangeIndex],this.pos=this.range.from}return this.pos+=e,this.pos>=this.token.lookAhead&&(this.token.lookAhead=this.pos+1),this.readNext()}setDone(){return this.pos=this.chunkPos=this.end,this.range=this.ranges[this.rangeIndex=this.ranges.length-1],this.chunk="",this.next=-1}reset(e,t){if(t?(this.token=t,t.start=e,t.lookAhead=e+1,t.value=t.extended=-1):this.token=l,this.pos!=e){if(this.pos=e,e==this.end)return this.setDone(),this;for(;e<this.range.from;)this.range=this.ranges[--this.rangeIndex];for(;e>=this.range.to;)this.range=this.ranges[++this.rangeIndex];e>=this.chunkPos&&e<this.chunkPos+this.chunk.length?this.chunkOff=e-this.chunkPos:(this.chunk="",this.chunkOff=0),this.readNext()}return this}read(e,t){if(e>=this.chunkPos&&t<=this.chunkPos+this.chunk.length)return this.chunk.slice(e-this.chunkPos,t-this.chunkPos);if(e>=this.chunk2Pos&&t<=this.chunk2Pos+this.chunk2.length)return this.chunk2.slice(e-this.chunk2Pos,t-this.chunk2Pos);if(e>=this.range.from&&t<=this.range.to)return this.input.read(e,t);let n="";for(let r of this.ranges){if(r.from>=t)break;r.to>e&&(n+=this.input.read(Math.max(r.from,e),Math.min(r.to,t)))}return n}}class d{constructor(e,t){this.data=e,this.id=t}token(e,t){let{parser:n}=t.p;p(this.data,e,t,this.id,n.data,n.tokenPrecTable)}}d.prototype.contextual=d.prototype.fallback=d.prototype.extend=!1;class h{constructor(e,t,n){this.precTable=t,this.elseToken=n,this.data="string"==typeof e?u(e):e}token(e,t){let n=e.pos,r=0;for(;;){let n=e.next<0,o=e.resolveOffset(1,1);if(p(this.data,e,t,0,this.data,this.precTable),e.token.value>-1)break;if(null==this.elseToken)return;if(n||r++,null==o)break;e.reset(o,e.token)}r&&(e.reset(n,e.token),e.acceptToken(this.elseToken,r))}}h.prototype.contextual=d.prototype.fallback=d.prototype.extend=!1;function p(e,t,n,r,o,i){let s=0,a=1<<r,{dialect:u}=n.p.parser;e:for(;0!=(a&e[s]);){let n=e[s+1];for(let f=s+3;f<n;f+=2)if((e[f+1]&a)>0){let n=e[f];if(u.allows(n)&&(-1==t.token.value||t.token.value==n||g(n,t.token.value,o,i))){t.acceptToken(n);break}}let r=t.next,c=0,l=e[s+2];if(!(t.next<0&&l>c&&65535==e[n+3*l-3])){for(;c<l;){let o=c+l>>1,i=n+o+(o<<1),a=e[i],u=e[i+1]||65536;if(r<a)l=o;else{if(!(r>=u)){s=e[i+2],t.advance();continue e}c=o+1}}break}s=e[n+3*l-1]}}function m(e,t,n){for(let r,o=t;65535!=(r=e[o]);o++)if(r==n)return o-t;return-1}function g(e,t,n,r){let o=m(n,r,t);return o<0||m(n,r,e)<o}const y="undefined"!=typeof process&&process.env&&/\bparse\b/.test(process.env.LOG);let v=null;function b(e,t,n){let o=e.cursor(r.IterMode.IncludeAnonymous);for(o.moveTo(t);;)if(!(n<0?o.childBefore(t):o.childAfter(t)))for(;;){if((n<0?o.to<t:o.from>t)&&!o.type.isError)return n<0?Math.max(0,Math.min(o.to-1,t-25)):Math.min(e.length,Math.max(o.from+1,t+25));if(n<0?o.prevSibling():o.nextSibling())break;if(!o.parent())return n<0?0:e.length}}class _{constructor(e,t){this.fragments=e,this.nodeSet=t,this.i=0,this.fragment=null,this.safeFrom=-1,this.safeTo=-1,this.trees=[],this.start=[],this.index=[],this.nextFragment()}nextFragment(){let e=this.fragment=this.i==this.fragments.length?null:this.fragments[this.i++];if(e){for(this.safeFrom=e.openStart?b(e.tree,e.from+e.offset,1)-e.offset:e.from,this.safeTo=e.openEnd?b(e.tree,e.to+e.offset,-1)-e.offset:e.to;this.trees.length;)this.trees.pop(),this.start.pop(),this.index.pop();this.trees.push(e.tree),this.start.push(-e.offset),this.index.push(0),this.nextStart=this.safeFrom}else this.nextStart=1e9}nodeAt(e){if(e<this.nextStart)return null;for(;this.fragment&&this.safeTo<=e;)this.nextFragment();if(!this.fragment)return null;for(;;){let t=this.trees.length-1;if(t<0)return this.nextFragment(),null;let n=this.trees[t],o=this.index[t];if(o==n.children.length){this.trees.pop(),this.start.pop(),this.index.pop();continue}let i=n.children[o],s=this.start[t]+n.positions[o];if(s>e)return this.nextStart=s,null;if(i instanceof r.Tree){if(s==e){if(s<this.safeFrom)return null;let e=s+i.length;if(e<=this.safeTo){let t=i.prop(r.NodeProp.lookAhead);if(!t||e+t<this.fragment.to)return i}}this.index[t]++,s+i.length>=Math.max(this.safeFrom,e)&&(this.trees.push(i),this.start.push(s),this.index.push(0))}else this.index[t]++,this.nextStart=s+i.length}}}class w{constructor(e,t){this.stream=t,this.tokens=[],this.mainToken=null,this.actions=[],this.tokens=e.tokenizers.map((e=>new c))}getActions(e){let t=0,n=null,{parser:r}=e.p,{tokenizers:o}=r,i=r.stateSlot(e.state,3),s=e.curContext?e.curContext.hash:0,a=0;for(let u=0;u<o.length;u++){if(0==(1<<u&i))continue;let r=o[u],c=this.tokens[u];if((!n||r.fallback)&&((r.contextual||c.start!=e.pos||c.mask!=i||c.context!=s)&&(this.updateCachedToken(c,r,e),c.mask=i,c.context=s),c.lookAhead>c.end+25&&(a=Math.max(c.lookAhead,a)),0!=c.value)){let o=t;if(c.extended>-1&&(t=this.addActions(e,c.extended,c.end,t)),t=this.addActions(e,c.value,c.end,t),!r.extend&&(n=c,t>o))break}}for(;this.actions.length>t;)this.actions.pop();return a&&e.setLookAhead(a),n||e.pos!=this.stream.end||(n=new c,n.value=e.p.parser.eofTerm,n.start=n.end=e.pos,t=this.addActions(e,n.value,n.end,t)),this.mainToken=n,this.actions}getMainToken(e){if(this.mainToken)return this.mainToken;let t=new c,{pos:n,p:r}=e;return t.start=n,t.end=Math.min(n+1,r.stream.end),t.value=n==r.stream.end?r.parser.eofTerm:0,t}updateCachedToken(e,t,n){let r=this.stream.clipPos(n.pos);if(t.token(this.stream.reset(r,e),n),e.value>-1){let{parser:t}=n.p;for(let r=0;r<t.specialized.length;r++)if(t.specialized[r]==e.value){let o=t.specializers[r](this.stream.read(e.start,e.end),n);if(o>=0&&n.p.parser.dialect.allows(o>>1)){0==(1&o)?e.value=o>>1:e.extended=o>>1;break}}}else e.value=0,e.end=this.stream.clipPos(r+1)}putAction(e,t,n,r){for(let o=0;o<r;o+=3)if(this.actions[o]==e)return r;return this.actions[r++]=e,this.actions[r++]=t,this.actions[r++]=n,r}addActions(e,t,n,r){let{state:o}=e,{parser:i}=e.p,{data:s}=i;for(let a=0;a<2;a++)for(let e=i.stateSlot(o,a?2:1);;e+=3){if(65535==s[e]){if(1!=s[e+1]){0==r&&2==s[e+1]&&(r=this.putAction(C(s,e+2),t,n,r));break}e=C(s,e+2)}s[e]==t&&(r=this.putAction(C(s,e+1),t,n,r))}return r}}class E{constructor(e,t,n,r){this.parser=e,this.input=t,this.ranges=r,this.recovering=0,this.nextStackID=9812,this.minStackPos=0,this.reused=[],this.stoppedAt=null,this.lastBigReductionStart=-1,this.lastBigReductionSize=0,this.bigReductionCount=0,this.stream=new f(t,r),this.tokens=new w(e,this.stream),this.topTerm=e.top[1];let{from:i}=r[0];this.stacks=[o.start(this,e.top[0],i)],this.fragments=n.length&&this.stream.end-i>4*e.bufferLength?new _(n,e.nodeSet):null}get parsedPos(){return this.minStackPos}advance(){let e,t,n=this.stacks,r=this.minStackPos,o=this.stacks=[];if(this.bigReductionCount>300&&1==n.length){let[e]=n;for(;e.forceReduce()&&e.stack.length&&e.stack[e.stack.length-2]>=this.lastBigReductionStart;);this.bigReductionCount=this.lastBigReductionSize=0}for(let i=0;i<n.length;i++){let s=n[i];for(;;){if(this.tokens.mainToken=null,s.pos>r)o.push(s);else{if(this.advanceStack(s,o,n))continue;{e||(e=[],t=[]),e.push(s);let n=this.tokens.getMainToken(s);t.push(n.value,n.end)}}break}}if(!o.length){let t=e&&function(e){let t=null;for(let n of e){let e=n.p.stoppedAt;(n.pos==n.p.stream.end||null!=e&&n.pos>e)&&n.p.parser.stateFlag(n.state,2)&&(!t||t.score<n.score)&&(t=n)}return t}(e);if(t)return y&&console.log("Finish with "+this.stackID(t)),this.stackToTree(t);if(this.parser.strict)throw y&&e&&console.log("Stuck with token "+(this.tokens.mainToken?this.parser.getName(this.tokens.mainToken.value):"none")),new SyntaxError("No parse at "+r);this.recovering||(this.recovering=5)}if(this.recovering&&e){let n=null!=this.stoppedAt&&e[0].pos>this.stoppedAt?e[0]:this.runRecovery(e,t,o);if(n)return y&&console.log("Force-finish "+this.stackID(n)),this.stackToTree(n.forceAll())}if(this.recovering){let e=1==this.recovering?1:3*this.recovering;if(o.length>e)for(o.sort(((e,t)=>t.score-e.score));o.length>e;)o.pop();o.some((e=>e.reducePos>r))&&this.recovering--}else if(o.length>1){e:for(let e=0;e<o.length-1;e++){let t=o[e];for(let n=e+1;n<o.length;n++){let r=o[n];if(t.sameState(r)||t.buffer.length>500&&r.buffer.length>500){if(!((t.score-r.score||t.buffer.length-r.buffer.length)>0)){o.splice(e--,1);continue e}o.splice(n--,1)}}}o.length>12&&o.splice(12,o.length-12)}this.minStackPos=o[0].pos;for(let i=1;i<o.length;i++)o[i].pos<this.minStackPos&&(this.minStackPos=o[i].pos);return null}stopAt(e){if(null!=this.stoppedAt&&this.stoppedAt<e)throw new RangeError("Can't move stoppedAt forward");this.stoppedAt=e}advanceStack(e,t,n){let o=e.pos,{parser:i}=this,s=y?this.stackID(e)+" -> ":"";if(null!=this.stoppedAt&&o>this.stoppedAt)return e.forceReduce()?e:null;if(this.fragments){let t=e.curContext&&e.curContext.tracker.strict,n=t?e.curContext.hash:0;for(let a=this.fragments.nodeAt(o);a;){let o=this.parser.nodeSet.types[a.type.id]==a.type?i.getGoto(e.state,a.type.id):-1;if(o>-1&&a.length&&(!t||(a.prop(r.NodeProp.contextHash)||0)==n))return e.useNode(a,o),y&&console.log(s+this.stackID(e)+` (via reuse of ${i.getName(a.type.id)})`),!0;if(!(a instanceof r.Tree)||0==a.children.length||a.positions[0]>0)break;let u=a.children[0];if(!(u instanceof r.Tree&&0==a.positions[0]))break;a=u}}let a=i.stateSlot(e.state,4);if(a>0)return e.reduce(a),y&&console.log(s+this.stackID(e)+` (via always-reduce ${i.getName(65535&a)})`),!0;if(e.stack.length>=8400)for(;e.stack.length>6e3&&e.forceReduce(););let u=this.tokens.getActions(e);for(let r=0;r<u.length;){let a=u[r++],c=u[r++],l=u[r++],f=r==u.length||!n,d=f?e:e.split(),h=this.tokens.mainToken;if(d.apply(a,c,h?h.start:d.pos,l),y&&console.log(s+this.stackID(d)+` (via ${0==(65536&a)?"shift":`reduce of ${i.getName(65535&a)}`} for ${i.getName(c)} @ ${o}${d==e?"":", split"})`),f)return!0;d.pos>o?t.push(d):n.push(d)}return!1}advanceFully(e,t){let n=e.pos;for(;;){if(!this.advanceStack(e,null,null))return!1;if(e.pos>n)return k(e,t),!0}}runRecovery(e,t,n){let r=null,o=!1;for(let i=0;i<e.length;i++){let s=e[i],a=t[i<<1],u=t[1+(i<<1)],c=y?this.stackID(s)+" -> ":"";if(s.deadEnd){if(o)continue;if(o=!0,s.restart(),y&&console.log(c+this.stackID(s)+" (restarted)"),this.advanceFully(s,n))continue}let l=s.split(),f=c;for(let e=0;l.forceReduce()&&e<10;e++){if(y&&console.log(f+this.stackID(l)+" (via force-reduce)"),this.advanceFully(l,n))break;y&&(f=this.stackID(l)+" -> ")}for(let e of s.recoverByInsert(a))y&&console.log(c+this.stackID(e)+" (via recover-insert)"),this.advanceFully(e,n);this.stream.end>s.pos?(u==s.pos&&(u++,a=0),s.recoverByDelete(a,u),y&&console.log(c+this.stackID(s)+` (via recover-delete ${this.parser.getName(a)})`),k(s,n)):(!r||r.score<s.score)&&(r=s)}return r}stackToTree(e){return e.close(),r.Tree.build({buffer:a.create(e),nodeSet:this.parser.nodeSet,topID:this.topTerm,maxBufferLength:this.parser.bufferLength,reused:this.reused,start:this.ranges[0].from,length:e.pos-this.ranges[0].from,minRepeatType:this.parser.minRepeatTerm})}stackID(e){let t=(v||(v=new WeakMap)).get(e);return t||v.set(e,t=String.fromCodePoint(this.nextStackID++)),t+e}}function k(e,t){for(let n=0;n<t.length;n++){let r=t[n];if(r.pos==e.pos&&r.sameState(e))return void(t[n].score<e.score&&(t[n]=e))}t.push(e)}class x{constructor(e,t,n){this.source=e,this.flags=t,this.disabled=n}allows(e){return!this.disabled||0==this.disabled[e]}}const D=e=>e;class S extends r.Parser{constructor(e){if(super(),this.wrappers=[],14!=e.version)throw new RangeError(`Parser version (${e.version}) doesn't match runtime version (14)`);let t=e.nodeNames.split(" ");this.minRepeatTerm=t.length;for(let r=0;r<e.repeatNodeCount;r++)t.push("");let n=Object.keys(e.topRules).map((t=>e.topRules[t][1])),o=[];for(let r=0;r<t.length;r++)o.push([]);function i(e,t,n){o[e].push([t,t.deserialize(String(n))])}if(e.nodeProps)for(let a of e.nodeProps){let e=a[0];"string"==typeof e&&(e=r.NodeProp[e]);for(let t=1;t<a.length;){let n=a[t++];if(n>=0)i(n,e,a[t++]);else{let r=a[t+-n];for(let o=-n;o>0;o--)i(a[t++],e,r);t++}}}this.nodeSet=new r.NodeSet(t.map(((t,i)=>r.NodeType.define({name:i>=this.minRepeatTerm?void 0:t,id:i,props:o[i],top:n.indexOf(i)>-1,error:0==i,skipped:e.skippedNodes&&e.skippedNodes.indexOf(i)>-1})))),e.propSources&&(this.nodeSet=this.nodeSet.extend(...e.propSources)),this.strict=!1,this.bufferLength=r.DefaultBufferLength;let s=u(e.tokenData);this.context=e.context,this.specializerSpecs=e.specialized||[],this.specialized=new Uint16Array(this.specializerSpecs.length);for(let r=0;r<this.specializerSpecs.length;r++)this.specialized[r]=this.specializerSpecs[r].term;this.specializers=this.specializerSpecs.map(O),this.states=u(e.states,Uint32Array),this.data=u(e.stateData),this.goto=u(e.goto),this.maxTerm=e.maxTerm,this.tokenizers=e.tokenizers.map((e=>"number"==typeof e?new d(s,e):e)),this.topRules=e.topRules,this.dialects=e.dialects||{},this.dynamicPrecedences=e.dynamicPrecedences||null,this.tokenPrecTable=e.tokenPrec,this.termNames=e.termNames||null,this.maxNode=this.nodeSet.types.length-1,this.dialect=this.parseDialect(),this.top=this.topRules[Object.keys(this.topRules)[0]]}createParse(e,t,n){let r=new E(this,e,t,n);for(let o of this.wrappers)r=o(r,e,t,n);return r}getGoto(e,t,n=!1){let r=this.goto;if(t>=r[0])return-1;for(let o=r[t+1];;){let t=r[o++],i=1&t,s=r[o++];if(i&&n)return s;for(let n=o+(t>>1);o<n;o++)if(r[o]==e)return s;if(i)return-1}}hasAction(e,t){let n=this.data;for(let r=0;r<2;r++)for(let o,i=this.stateSlot(e,r?2:1);;i+=3){if(65535==(o=n[i])){if(1!=n[i+1]){if(2==n[i+1])return C(n,i+2);break}o=n[i=C(n,i+2)]}if(o==t||0==o)return C(n,i+1)}return 0}stateSlot(e,t){return this.states[6*e+t]}stateFlag(e,t){return(this.stateSlot(e,0)&t)>0}validAction(e,t){return!!this.allActions(e,(e=>e==t||null))}allActions(e,t){let n=this.stateSlot(e,4),r=n?t(n):void 0;for(let o=this.stateSlot(e,1);null==r;o+=3){if(65535==this.data[o]){if(1!=this.data[o+1])break;o=C(this.data,o+2)}r=t(C(this.data,o+1))}return r}nextStates(e){let t=[];for(let n=this.stateSlot(e,1);;n+=3){if(65535==this.data[n]){if(1!=this.data[n+1])break;n=C(this.data,n+2)}if(0==(1&this.data[n+2])){let e=this.data[n+1];t.some(((t,n)=>1&n&&t==e))||t.push(this.data[n],e)}}return t}configure(e){let t=Object.assign(Object.create(S.prototype),this);if(e.props&&(t.nodeSet=this.nodeSet.extend(...e.props)),e.top){let n=this.topRules[e.top];if(!n)throw new RangeError(`Invalid top rule name ${e.top}`);t.top=n}return e.tokenizers&&(t.tokenizers=this.tokenizers.map((t=>{let n=e.tokenizers.find((e=>e.from==t));return n?n.to:t}))),e.specializers&&(t.specializers=this.specializers.slice(),t.specializerSpecs=this.specializerSpecs.map(((n,r)=>{let o=e.specializers.find((e=>e.from==n.external));if(!o)return n;let i=Object.assign(Object.assign({},n),{external:o.to});return t.specializers[r]=O(i),i}))),e.contextTracker&&(t.context=e.contextTracker),e.dialect&&(t.dialect=this.parseDialect(e.dialect)),null!=e.strict&&(t.strict=e.strict),e.wrap&&(t.wrappers=t.wrappers.concat(e.wrap)),null!=e.bufferLength&&(t.bufferLength=e.bufferLength),t}hasWrappers(){return this.wrappers.length>0}getName(e){return this.termNames?this.termNames[e]:String(e<=this.maxNode&&this.nodeSet.types[e].name||e)}get eofTerm(){return this.maxNode+1}get topNode(){return this.nodeSet.types[this.top[1]]}dynamicPrecedence(e){let t=this.dynamicPrecedences;return null==t?0:t[e]||0}parseDialect(e){let t=Object.keys(this.dialects),n=t.map((()=>!1));if(e)for(let o of e.split(" ")){let e=t.indexOf(o);e>=0&&(n[e]=!0)}let r=null;for(let o=0;o<t.length;o++)if(!n[o])for(let e,n=this.dialects[t[o]];65535!=(e=this.data[n++]);)(r||(r=new Uint8Array(this.maxTerm+1)))[e]=1;return new x(e,n,r)}static deserialize(e){return new S(e)}}function C(e,t){return e[t]|e[t+1]<<16}function O(e){if(e.external){let t=e.extend?1:0;return(n,r)=>e.external(n,r)<<1|t}return e.get}t.ContextTracker=class{constructor(e){this.start=e.start,this.shift=e.shift||D,this.reduce=e.reduce||D,this.reuse=e.reuse||D,this.hash=e.hash||(()=>0),this.strict=!1!==e.strict}},t.ExternalTokenizer=class{constructor(e,t={}){this.token=e,this.contextual=!!t.contextual,this.fallback=!!t.fallback,this.extend=!!t.extend}},t.InputStream=f,t.LRParser=S,t.LocalTokenGroup=h,t.Stack=o},45392:(e,t,n)=>{"use strict";n.d(t,{Z:()=>a,a:()=>s});var r=n(2784);const o={},i=r.createContext(o);function s(e){const t=r.useContext(i);return r.useMemo((function(){return"function"==typeof e?e(t):{...t,...e}}),[t,e])}function a(e){let t;return t=e.disableParentContext?"function"==typeof e.components?e.components(o):e.components||o:s(e.components),r.createElement(i.Provider,{value:t},e.children)}},22970:(e,t,n)=>{"use strict";n.r(t),n.d(t,{__addDisposableResource:()=>I,__assign:()=>i,__asyncDelegator:()=>D,__asyncGenerator:()=>x,__asyncValues:()=>S,__await:()=>k,__awaiter:()=>p,__classPrivateFieldGet:()=>P,__classPrivateFieldIn:()=>F,__classPrivateFieldSet:()=>j,__createBinding:()=>g,__decorate:()=>a,__disposeResources:()=>T,__esDecorate:()=>c,__exportStar:()=>y,__extends:()=>o,__generator:()=>m,__importDefault:()=>A,__importStar:()=>$,__makeTemplateObject:()=>C,__metadata:()=>h,__param:()=>u,__propKey:()=>f,__read:()=>b,__rest:()=>s,__runInitializers:()=>l,__setFunctionName:()=>d,__spread:()=>_,__spreadArray:()=>E,__spreadArrays:()=>w,__values:()=>v,default:()=>M});var r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},r(e,t)};function o(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var i=function(){return i=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},i.apply(this,arguments)};function s(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n}function a(e,t,n,r){var o,i=arguments.length,s=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,n,r);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(i<3?o(s):i>3?o(t,n,s):o(t,n))||s);return i>3&&s&&Object.defineProperty(t,n,s),s}function u(e,t){return function(n,r){t(n,r,e)}}function c(e,t,n,r,o,i){function s(e){if(void 0!==e&&"function"!=typeof e)throw new TypeError("Function expected");return e}for(var a,u=r.kind,c="getter"===u?"get":"setter"===u?"set":"value",l=!t&&e?r.static?e:e.prototype:null,f=t||(l?Object.getOwnPropertyDescriptor(l,r.name):{}),d=!1,h=n.length-1;h>=0;h--){var p={};for(var m in r)p[m]="access"===m?{}:r[m];for(var m in r.access)p.access[m]=r.access[m];p.addInitializer=function(e){if(d)throw new TypeError("Cannot add initializers after decoration has completed");i.push(s(e||null))};var g=(0,n[h])("accessor"===u?{get:f.get,set:f.set}:f[c],p);if("accessor"===u){if(void 0===g)continue;if(null===g||"object"!=typeof g)throw new TypeError("Object expected");(a=s(g.get))&&(f.get=a),(a=s(g.set))&&(f.set=a),(a=s(g.init))&&o.unshift(a)}else(a=s(g))&&("field"===u?o.unshift(a):f[c]=a)}l&&Object.defineProperty(l,r.name,f),d=!0}function l(e,t,n){for(var r=arguments.length>2,o=0;o<t.length;o++)n=r?t[o].call(e,n):t[o].call(e);return r?n:void 0}function f(e){return"symbol"==typeof e?e:"".concat(e)}function d(e,t,n){return"symbol"==typeof t&&(t=t.description?"[".concat(t.description,"]"):""),Object.defineProperty(e,"name",{configurable:!0,value:n?"".concat(n," ",t):t})}function h(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)}function p(e,t,n,r){return new(n||(n=Promise))((function(o,i){function s(e){try{u(r.next(e))}catch(t){i(t)}}function a(e){try{u(r.throw(e))}catch(t){i(t)}}function u(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(s,a)}u((r=r.apply(e,t||[])).next())}))}function m(e,t){var n,r,o,i,s={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:a(0),throw:a(1),return:a(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function a(a){return function(u){return function(a){if(n)throw new TypeError("Generator is already executing.");for(;i&&(i=0,a[0]&&(s=0)),s;)try{if(n=1,r&&(o=2&a[0]?r.return:a[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,a[1])).done)return o;switch(r=0,o&&(a=[2&a[0],o.value]),a[0]){case 0:case 1:o=a;break;case 4:return s.label++,{value:a[1],done:!1};case 5:s.label++,r=a[1],a=[0];continue;case 7:a=s.ops.pop(),s.trys.pop();continue;default:if(!(o=s.trys,(o=o.length>0&&o[o.length-1])||6!==a[0]&&2!==a[0])){s=0;continue}if(3===a[0]&&(!o||a[1]>o[0]&&a[1]<o[3])){s.label=a[1];break}if(6===a[0]&&s.label<o[1]){s.label=o[1],o=a;break}if(o&&s.label<o[2]){s.label=o[2],s.ops.push(a);break}o[2]&&s.ops.pop(),s.trys.pop();continue}a=t.call(e,s)}catch(u){a=[6,u],r=0}finally{n=o=0}if(5&a[0])throw a[1];return{value:a[0]?a[1]:void 0,done:!0}}([a,u])}}}var g=Object.create?function(e,t,n,r){void 0===r&&(r=n);var o=Object.getOwnPropertyDescriptor(t,n);o&&!("get"in o?!t.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,o)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]};function y(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||g(t,e,n)}function v(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function b(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,o,i=n.call(e),s=[];try{for(;(void 0===t||t-- >0)&&!(r=i.next()).done;)s.push(r.value)}catch(a){o={error:a}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(o)throw o.error}}return s}function _(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(b(arguments[t]));return e}function w(){for(var e=0,t=0,n=arguments.length;t<n;t++)e+=arguments[t].length;var r=Array(e),o=0;for(t=0;t<n;t++)for(var i=arguments[t],s=0,a=i.length;s<a;s++,o++)r[o]=i[s];return r}function E(e,t,n){if(n||2===arguments.length)for(var r,o=0,i=t.length;o<i;o++)!r&&o in t||(r||(r=Array.prototype.slice.call(t,0,o)),r[o]=t[o]);return e.concat(r||Array.prototype.slice.call(t))}function k(e){return this instanceof k?(this.v=e,this):new k(e)}function x(e,t,n){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var r,o=n.apply(e,t||[]),i=[];return r={},s("next"),s("throw"),s("return"),r[Symbol.asyncIterator]=function(){return this},r;function s(e){o[e]&&(r[e]=function(t){return new Promise((function(n,r){i.push([e,t,n,r])>1||a(e,t)}))})}function a(e,t){try{(n=o[e](t)).value instanceof k?Promise.resolve(n.value.v).then(u,c):l(i[0][2],n)}catch(r){l(i[0][3],r)}var n}function u(e){a("next",e)}function c(e){a("throw",e)}function l(e,t){e(t),i.shift(),i.length&&a(i[0][0],i[0][1])}}function D(e){var t,n;return t={},r("next"),r("throw",(function(e){throw e})),r("return"),t[Symbol.iterator]=function(){return this},t;function r(r,o){t[r]=e[r]?function(t){return(n=!n)?{value:k(e[r](t)),done:!1}:o?o(t):t}:o}}function S(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t,n=e[Symbol.asyncIterator];return n?n.call(e):(e=v(e),t={},r("next"),r("throw"),r("return"),t[Symbol.asyncIterator]=function(){return this},t);function r(n){t[n]=e[n]&&function(t){return new Promise((function(r,o){(function(e,t,n,r){Promise.resolve(r).then((function(t){e({value:t,done:n})}),t)})(r,o,(t=e[n](t)).done,t.value)}))}}}function C(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e}var O=Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t};function $(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&g(t,e,n);return O(t,e),t}function A(e){return e&&e.__esModule?e:{default:e}}function P(e,t,n,r){if("a"===n&&!r)throw new TypeError("Private accessor was defined without a getter");if("function"==typeof t?e!==t||!r:!t.has(e))throw new TypeError("Cannot read private member from an object whose class did not declare it");return"m"===n?r:"a"===n?r.call(e):r?r.value:t.get(e)}function j(e,t,n,r,o){if("m"===r)throw new TypeError("Private method is not writable");if("a"===r&&!o)throw new TypeError("Private accessor was defined without a setter");if("function"==typeof t?e!==t||!o:!t.has(e))throw new TypeError("Cannot write private member to an object whose class did not declare it");return"a"===r?o.call(e,n):o?o.value=n:t.set(e,n),n}function F(e,t){if(null===t||"object"!=typeof t&&"function"!=typeof t)throw new TypeError("Cannot use 'in' operator on non-object");return"function"==typeof e?t===e:e.has(t)}function I(e,t,n){if(null!=t){if("object"!=typeof t&&"function"!=typeof t)throw new TypeError("Object expected.");var r;if(n){if(!Symbol.asyncDispose)throw new TypeError("Symbol.asyncDispose is not defined.");r=t[Symbol.asyncDispose]}if(void 0===r){if(!Symbol.dispose)throw new TypeError("Symbol.dispose is not defined.");r=t[Symbol.dispose]}if("function"!=typeof r)throw new TypeError("Object not disposable.");e.stack.push({value:t,dispose:r,async:n})}else n&&e.stack.push({async:!0});return t}var N="function"==typeof SuppressedError?SuppressedError:function(e,t,n){var r=new Error(n);return r.name="SuppressedError",r.error=e,r.suppressed=t,r};function T(e){function t(t){e.error=e.hasError?new N(t,e.error,"An error was suppressed during disposal."):t,e.hasError=!0}return function n(){for(;e.stack.length;){var r=e.stack.pop();try{var o=r.dispose&&r.dispose.call(r.value);if(r.async)return Promise.resolve(o).then(n,(function(e){return t(e),n()}))}catch(i){t(i)}}if(e.hasError)throw e.error}()}const M={__extends:o,__assign:i,__rest:s,__decorate:a,__param:u,__metadata:h,__awaiter:p,__generator:m,__createBinding:g,__exportStar:y,__values:v,__read:b,__spread:_,__spreadArrays:w,__spreadArray:E,__await:k,__asyncGenerator:x,__asyncDelegator:D,__asyncValues:S,__makeTemplateObject:C,__importStar:$,__importDefault:A,__classPrivateFieldGet:P,__classPrivateFieldSet:j,__classPrivateFieldIn:F,__addDisposableResource:I,__disposeResources:T}},45984:(e,t,n)=>{"use strict";n.r(t),n.d(t,{Alias:()=>B,CST:()=>r,Composer:()=>Zt,Document:()=>xt,Lexer:()=>Cn,LineCounter:()=>On,Pair:()=>ye,Parser:()=>Nn,Scalar:()=>U,Schema:()=>kt,YAMLError:()=>St,YAMLMap:()=>ke,YAMLParseError:()=>Ct,YAMLSeq:()=>De,YAMLWarning:()=>Ot,default:()=>zn,isAlias:()=>d,isCollection:()=>v,isDocument:()=>h,isMap:()=>p,isNode:()=>b,isPair:()=>m,isScalar:()=>g,isSeq:()=>y,parse:()=>Bn,parseAllDocuments:()=>Mn,parseDocument:()=>Rn,stringify:()=>Ln,visit:()=>x,visitAsync:()=>S});var r={};n.r(r),n.d(r,{BOM:()=>hn,DOCUMENT:()=>pn,FLOW_END:()=>mn,SCALAR:()=>gn,createScalarToken:()=>en,isCollection:()=>yn,isScalar:()=>vn,prettyToken:()=>bn,resolveAsScalar:()=>Yt,setScalarValue:()=>tn,stringify:()=>on,tokenType:()=>_n,visit:()=>fn});var o={};n.r(o),n.d(o,{Alias:()=>B,CST:()=>r,Composer:()=>Zt,Document:()=>xt,Lexer:()=>Cn,LineCounter:()=>On,Pair:()=>ye,Parser:()=>Nn,Scalar:()=>U,Schema:()=>kt,YAMLError:()=>St,YAMLMap:()=>ke,YAMLParseError:()=>Ct,YAMLSeq:()=>De,YAMLWarning:()=>Ot,isAlias:()=>d,isCollection:()=>v,isDocument:()=>h,isMap:()=>p,isNode:()=>b,isPair:()=>m,isScalar:()=>g,isSeq:()=>y,parse:()=>Bn,parseAllDocuments:()=>Mn,parseDocument:()=>Rn,stringify:()=>Ln,visit:()=>x,visitAsync:()=>S});const i=Symbol.for("yaml.alias"),s=Symbol.for("yaml.document"),a=Symbol.for("yaml.map"),u=Symbol.for("yaml.pair"),c=Symbol.for("yaml.scalar"),l=Symbol.for("yaml.seq"),f=Symbol.for("yaml.node.type"),d=e=>!!e&&"object"==typeof e&&e[f]===i,h=e=>!!e&&"object"==typeof e&&e[f]===s,p=e=>!!e&&"object"==typeof e&&e[f]===a,m=e=>!!e&&"object"==typeof e&&e[f]===u,g=e=>!!e&&"object"==typeof e&&e[f]===c,y=e=>!!e&&"object"==typeof e&&e[f]===l;function v(e){if(e&&"object"==typeof e)switch(e[f]){case a:case l:return!0}return!1}function b(e){if(e&&"object"==typeof e)switch(e[f]){case i:case a:case c:case l:return!0}return!1}const _=e=>(g(e)||v(e))&&!!e.anchor,w=Symbol("break visit"),E=Symbol("skip children"),k=Symbol("remove node");function x(e,t){const n=O(t);if(h(e)){D(null,e.contents,n,Object.freeze([e]))===k&&(e.contents=null)}else D(null,e,n,Object.freeze([]))}function D(e,t,n,r){const o=$(e,t,n,r);if(b(o)||m(o))return A(e,r,o),D(e,o,n,r);if("symbol"!=typeof o)if(v(t)){r=Object.freeze(r.concat(t));for(let e=0;e<t.items.length;++e){const o=D(e,t.items[e],n,r);if("number"==typeof o)e=o-1;else{if(o===w)return w;o===k&&(t.items.splice(e,1),e-=1)}}}else if(m(t)){r=Object.freeze(r.concat(t));const e=D("key",t.key,n,r);if(e===w)return w;e===k&&(t.key=null);const o=D("value",t.value,n,r);if(o===w)return w;o===k&&(t.value=null)}return o}async function S(e,t){const n=O(t);if(h(e)){await C(null,e.contents,n,Object.freeze([e]))===k&&(e.contents=null)}else await C(null,e,n,Object.freeze([]))}async function C(e,t,n,r){const o=await $(e,t,n,r);if(b(o)||m(o))return A(e,r,o),C(e,o,n,r);if("symbol"!=typeof o)if(v(t)){r=Object.freeze(r.concat(t));for(let e=0;e<t.items.length;++e){const o=await C(e,t.items[e],n,r);if("number"==typeof o)e=o-1;else{if(o===w)return w;o===k&&(t.items.splice(e,1),e-=1)}}}else if(m(t)){r=Object.freeze(r.concat(t));const e=await C("key",t.key,n,r);if(e===w)return w;e===k&&(t.key=null);const o=await C("value",t.value,n,r);if(o===w)return w;o===k&&(t.value=null)}return o}function O(e){return"object"==typeof e&&(e.Collection||e.Node||e.Value)?Object.assign({Alias:e.Node,Map:e.Node,Scalar:e.Node,Seq:e.Node},e.Value&&{Map:e.Value,Scalar:e.Value,Seq:e.Value},e.Collection&&{Map:e.Collection,Seq:e.Collection},e):e}function $(e,t,n,r){return"function"==typeof n?n(e,t,r):p(t)?n.Map?.(e,t,r):y(t)?n.Seq?.(e,t,r):m(t)?n.Pair?.(e,t,r):g(t)?n.Scalar?.(e,t,r):d(t)?n.Alias?.(e,t,r):void 0}function A(e,t,n){const r=t[t.length-1];if(v(r))r.items[e]=n;else if(m(r))"key"===e?r.key=n:r.value=n;else{if(!h(r)){const e=d(r)?"alias":"scalar";throw new Error(`Cannot replace node with ${e} parent`)}r.contents=n}}x.BREAK=w,x.SKIP=E,x.REMOVE=k,S.BREAK=w,S.SKIP=E,S.REMOVE=k;const P={"!":"%21",",":"%2C","[":"%5B","]":"%5D","{":"%7B","}":"%7D"};class j{constructor(e,t){this.docStart=null,this.docEnd=!1,this.yaml=Object.assign({},j.defaultYaml,e),this.tags=Object.assign({},j.defaultTags,t)}clone(){const e=new j(this.yaml,this.tags);return e.docStart=this.docStart,e}atDocument(){const e=new j(this.yaml,this.tags);switch(this.yaml.version){case"1.1":this.atNextDocument=!0;break;case"1.2":this.atNextDocument=!1,this.yaml={explicit:j.defaultYaml.explicit,version:"1.2"},this.tags=Object.assign({},j.defaultTags)}return e}add(e,t){this.atNextDocument&&(this.yaml={explicit:j.defaultYaml.explicit,version:"1.1"},this.tags=Object.assign({},j.defaultTags),this.atNextDocument=!1);const n=e.trim().split(/[ \t]+/),r=n.shift();switch(r){case"%TAG":{if(2!==n.length&&(t(0,"%TAG directive should contain exactly two parts"),n.length<2))return!1;const[e,r]=n;return this.tags[e]=r,!0}case"%YAML":{if(this.yaml.explicit=!0,1!==n.length)return t(0,"%YAML directive should contain exactly one part"),!1;const[e]=n;if("1.1"===e||"1.2"===e)return this.yaml.version=e,!0;return t(6,`Unsupported YAML version ${e}`,/^\d+\.\d+$/.test(e)),!1}default:return t(0,`Unknown directive ${r}`,!0),!1}}tagName(e,t){if("!"===e)return"!";if("!"!==e[0])return t(`Not a valid tag: ${e}`),null;if("<"===e[1]){const n=e.slice(2,-1);return"!"===n||"!!"===n?(t(`Verbatim tags aren't resolved, so ${e} is invalid.`),null):(">"!==e[e.length-1]&&t("Verbatim tags must end with a >"),n)}const[,n,r]=e.match(/^(.*!)([^!]*)$/s);r||t(`The ${e} tag has no suffix`);const o=this.tags[n];if(o)try{return o+decodeURIComponent(r)}catch(i){return t(String(i)),null}return"!"===n?e:(t(`Could not resolve tag: ${e}`),null)}tagString(e){for(const[t,n]of Object.entries(this.tags))if(e.startsWith(n))return t+e.substring(n.length).replace(/[!,[\]{}]/g,(e=>P[e]));return"!"===e[0]?e:`!<${e}>`}toString(e){const t=this.yaml.explicit?[`%YAML ${this.yaml.version||"1.2"}`]:[],n=Object.entries(this.tags);let r;if(e&&n.length>0&&b(e.contents)){const t={};x(e.contents,((e,n)=>{b(n)&&n.tag&&(t[n.tag]=!0)})),r=Object.keys(t)}else r=[];for(const[o,i]of n)"!!"===o&&"tag:yaml.org,2002:"===i||e&&!r.some((e=>e.startsWith(i)))||t.push(`%TAG ${o} ${i}`);return t.join("\n")}}function F(e){if(/[\x00-\x19\s,[\]{}]/.test(e)){const t=JSON.stringify(e);throw new Error(`Anchor must not contain whitespace or control characters: ${t}`)}return!0}function I(e){const t=new Set;return x(e,{Value(e,n){n.anchor&&t.add(n.anchor)}}),t}function N(e,t){for(let n=1;;++n){const r=`${e}${n}`;if(!t.has(r))return r}}function T(e,t,n,r){if(r&&"object"==typeof r)if(Array.isArray(r))for(let o=0,i=r.length;o<i;++o){const t=r[o],n=T(e,r,String(o),t);void 0===n?delete r[o]:n!==t&&(r[o]=n)}else if(r instanceof Map)for(const o of Array.from(r.keys())){const t=r.get(o),n=T(e,r,o,t);void 0===n?r.delete(o):n!==t&&r.set(o,n)}else if(r instanceof Set)for(const o of Array.from(r)){const t=T(e,r,o,o);void 0===t?r.delete(o):t!==o&&(r.delete(o),r.add(t))}else for(const[o,i]of Object.entries(r)){const t=T(e,r,o,i);void 0===t?delete r[o]:t!==i&&(r[o]=t)}return e.call(t,n,r)}function M(e,t,n){if(Array.isArray(e))return e.map(((e,t)=>M(e,String(t),n)));if(e&&"function"==typeof e.toJSON){if(!n||!_(e))return e.toJSON(t,n);const r={aliasCount:0,count:1,res:void 0};n.anchors.set(e,r),n.onCreate=e=>{r.res=e,delete n.onCreate};const o=e.toJSON(t,n);return n.onCreate&&n.onCreate(o),o}return"bigint"!=typeof e||n?.keep?e:Number(e)}j.defaultYaml={explicit:!1,version:"1.2"},j.defaultTags={"!!":"tag:yaml.org,2002:"};class R{constructor(e){Object.defineProperty(this,f,{value:e})}clone(){const e=Object.create(Object.getPrototypeOf(this),Object.getOwnPropertyDescriptors(this));return this.range&&(e.range=this.range.slice()),e}toJS(e,{mapAsMap:t,maxAliasCount:n,onAnchor:r,reviver:o}={}){if(!h(e))throw new TypeError("A document argument is required");const i={anchors:new Map,doc:e,keep:!0,mapAsMap:!0===t,mapKeyWarned:!1,maxAliasCount:"number"==typeof n?n:100},s=M(this,"",i);if("function"==typeof r)for(const{count:a,res:u}of i.anchors.values())r(u,a);return"function"==typeof o?T(o,{"":s},"",s):s}}class B extends R{constructor(e){super(i),this.source=e,Object.defineProperty(this,"tag",{set(){throw new Error("Alias nodes cannot have tags")}})}resolve(e){let t;return x(e,{Node:(e,n)=>{if(n===this)return x.BREAK;n.anchor===this.source&&(t=n)}}),t}toJSON(e,t){if(!t)return{source:this.source};const{anchors:n,doc:r,maxAliasCount:o}=t,i=this.resolve(r);if(!i){const e=`Unresolved alias (the anchor must be set before the alias): ${this.source}`;throw new ReferenceError(e)}let s=n.get(i);if(s||(M(i,null,t),s=n.get(i)),!s||void 0===s.res){throw new ReferenceError("This should not happen: Alias anchor was not resolved?")}if(o>=0&&(s.count+=1,0===s.aliasCount&&(s.aliasCount=L(r,i,n)),s.count*s.aliasCount>o)){throw new ReferenceError("Excessive alias count indicates a resource exhaustion attack")}return s.res}toString(e,t,n){const r=`*${this.source}`;if(e){if(F(this.source),e.options.verifyAliasOrder&&!e.anchors.has(this.source)){const e=`Unresolved alias (the anchor must be set before the alias): ${this.source}`;throw new Error(e)}if(e.implicitKey)return`${r} `}return r}}function L(e,t,n){if(d(t)){const r=t.resolve(e),o=n&&r&&n.get(r);return o?o.count*o.aliasCount:0}if(v(t)){let r=0;for(const o of t.items){const t=L(e,o,n);t>r&&(r=t)}return r}if(m(t)){const r=L(e,t.key,n),o=L(e,t.value,n);return Math.max(r,o)}return 1}const z=e=>!e||"function"!=typeof e&&"object"!=typeof e;class U extends R{constructor(e){super(c),this.value=e}toJSON(e,t){return t?.keep?this.value:M(this.value,e,t)}toString(){return String(this.value)}}U.BLOCK_FOLDED="BLOCK_FOLDED",U.BLOCK_LITERAL="BLOCK_LITERAL",U.PLAIN="PLAIN",U.QUOTE_DOUBLE="QUOTE_DOUBLE",U.QUOTE_SINGLE="QUOTE_SINGLE";const q="tag:yaml.org,2002:";function V(e,t,n){if(h(e)&&(e=e.contents),b(e))return e;if(m(e)){const t=n.schema[a].createNode?.(n.schema,null,n);return t.items.push(e),t}(e instanceof String||e instanceof Number||e instanceof Boolean||"undefined"!=typeof BigInt&&e instanceof BigInt)&&(e=e.valueOf());const{aliasDuplicateObjects:r,onAnchor:o,onTagObj:i,schema:s,sourceObjects:u}=n;let c;if(r&&e&&"object"==typeof e){if(c=u.get(e),c)return c.anchor||(c.anchor=o(e)),new B(c.anchor);c={anchor:null,node:null},u.set(e,c)}t?.startsWith("!!")&&(t=q+t.slice(2));let f=function(e,t,n){if(t){const e=n.filter((e=>e.tag===t)),r=e.find((e=>!e.format))??e[0];if(!r)throw new Error(`Tag ${t} not found`);return r}return n.find((t=>t.identify?.(e)&&!t.format))}(e,t,s.tags);if(!f){if(e&&"function"==typeof e.toJSON&&(e=e.toJSON()),!e||"object"!=typeof e){const t=new U(e);return c&&(c.node=t),t}f=e instanceof Map?s[a]:Symbol.iterator in Object(e)?s[l]:s[a]}i&&(i(f),delete n.onTagObj);const d=f?.createNode?f.createNode(n.schema,e,n):"function"==typeof f?.nodeClass?.from?f.nodeClass.from(n.schema,e,n):new U(e);return t?d.tag=t:f.default||(d.tag=f.tag),c&&(c.node=d),d}function Q(e,t,n){let r=n;for(let o=t.length-1;o>=0;--o){const e=t[o];if("number"==typeof e&&Number.isInteger(e)&&e>=0){const t=[];t[e]=r,r=t}else r=new Map([[e,r]])}return V(r,void 0,{aliasDuplicateObjects:!1,keepUndefined:!1,onAnchor:()=>{throw new Error("This should not happen, please report a bug.")},schema:e,sourceObjects:new Map})}const X=e=>null==e||"object"==typeof e&&!!e[Symbol.iterator]().next().done;class H extends R{constructor(e,t){super(e),Object.defineProperty(this,"schema",{value:t,configurable:!0,enumerable:!1,writable:!0})}clone(e){const t=Object.create(Object.getPrototypeOf(this),Object.getOwnPropertyDescriptors(this));return e&&(t.schema=e),t.items=t.items.map((t=>b(t)||m(t)?t.clone(e):t)),this.range&&(t.range=this.range.slice()),t}addIn(e,t){if(X(e))this.add(t);else{const[n,...r]=e,o=this.get(n,!0);if(v(o))o.addIn(r,t);else{if(void 0!==o||!this.schema)throw new Error(`Expected YAML collection at ${n}. Remaining path: ${r}`);this.set(n,Q(this.schema,r,t))}}}deleteIn(e){const[t,...n]=e;if(0===n.length)return this.delete(t);const r=this.get(t,!0);if(v(r))return r.deleteIn(n);throw new Error(`Expected YAML collection at ${t}. Remaining path: ${n}`)}getIn(e,t){const[n,...r]=e,o=this.get(n,!0);return 0===r.length?!t&&g(o)?o.value:o:v(o)?o.getIn(r,t):void 0}hasAllNullValues(e){return this.items.every((t=>{if(!m(t))return!1;const n=t.value;return null==n||e&&g(n)&&null==n.value&&!n.commentBefore&&!n.comment&&!n.tag}))}hasIn(e){const[t,...n]=e;if(0===n.length)return this.has(t);const r=this.get(t,!0);return!!v(r)&&r.hasIn(n)}setIn(e,t){const[n,...r]=e;if(0===r.length)this.set(n,t);else{const e=this.get(n,!0);if(v(e))e.setIn(r,t);else{if(void 0!==e||!this.schema)throw new Error(`Expected YAML collection at ${n}. Remaining path: ${r}`);this.set(n,Q(this.schema,r,t))}}}}H.maxFlowStringSingleLineLength=60;const K=e=>e.replace(/^(?!$)(?: $)?/gm,"#");function J(e,t){return/^\n+$/.test(e)?e.substring(1):t?e.replace(/^(?! *$)/gm,t):e}const W=(e,t,n)=>e.endsWith("\n")?J(n,t):n.includes("\n")?"\n"+J(n,t):(e.endsWith(" ")?"":" ")+n,G="flow",Z="block",Y="quoted";function ee(e,t,n="flow",{indentAtStart:r,lineWidth:o=80,minContentWidth:i=20,onFold:s,onOverflow:a}={}){if(!o||o<0)return e;const u=Math.max(1+i,1+o-t.length);if(e.length<=u)return e;const c=[],l={};let f,d,h=o-t.length;"number"==typeof r&&(r>o-Math.max(2,i)?c.push(0):h=o-r);let p=!1,m=-1,g=-1,y=-1;n===Z&&(m=te(e,m),-1!==m&&(h=m+u));for(let b;b=e[m+=1];){if(n===Y&&"\\"===b){switch(g=m,e[m+1]){case"x":m+=3;break;case"u":m+=5;break;case"U":m+=9;break;default:m+=1}y=m}if("\n"===b)n===Z&&(m=te(e,m)),h=m+u,f=void 0;else{if(" "===b&&d&&" "!==d&&"\n"!==d&&"\t"!==d){const t=e[m+1];t&&" "!==t&&"\n"!==t&&"\t"!==t&&(f=m)}if(m>=h)if(f)c.push(f),h=f+u,f=void 0;else if(n===Y){for(;" "===d||"\t"===d;)d=b,b=e[m+=1],p=!0;const t=m>y+1?m-2:g-1;if(l[t])return e;c.push(t),l[t]=!0,h=t+u,f=void 0}else p=!0}d=b}if(p&&a&&a(),0===c.length)return e;s&&s();let v=e.slice(0,c[0]);for(let b=0;b<c.length;++b){const r=c[b],o=c[b+1]||e.length;0===r?v=`\n${t}${e.slice(0,o)}`:(n===Y&&l[r]&&(v+=`${e[r]}\\`),v+=`\n${t}${e.slice(r+1,o)}`)}return v}function te(e,t){let n=e[t+1];for(;" "===n||"\t"===n;){do{n=e[t+=1]}while(n&&"\n"!==n);n=e[t+1]}return t}const ne=(e,t)=>({indentAtStart:t?e.indent.length:e.indentAtStart,lineWidth:e.options.lineWidth,minContentWidth:e.options.minContentWidth}),re=e=>/^(%|---|\.\.\.)/m.test(e);function oe(e,t){const n=JSON.stringify(e);if(t.options.doubleQuotedAsJSON)return n;const{implicitKey:r}=t,o=t.options.doubleQuotedMinMultiLineLength,i=t.indent||(re(e)?" ":"");let s="",a=0;for(let u=0,c=n[u];c;c=n[++u])if(" "===c&&"\\"===n[u+1]&&"n"===n[u+2]&&(s+=n.slice(a,u)+"\\ ",u+=1,a=u,c="\\"),"\\"===c)switch(n[u+1]){case"u":{s+=n.slice(a,u);const e=n.substr(u+2,4);switch(e){case"0000":s+="\\0";break;case"0007":s+="\\a";break;case"000b":s+="\\v";break;case"001b":s+="\\e";break;case"0085":s+="\\N";break;case"00a0":s+="\\_";break;case"2028":s+="\\L";break;case"2029":s+="\\P";break;default:"00"===e.substr(0,2)?s+="\\x"+e.substr(2):s+=n.substr(u,6)}u+=5,a=u+1}break;case"n":if(r||'"'===n[u+2]||n.length<o)u+=1;else{for(s+=n.slice(a,u)+"\n\n";"\\"===n[u+2]&&"n"===n[u+3]&&'"'!==n[u+4];)s+="\n",u+=2;s+=i," "===n[u+2]&&(s+="\\"),u+=1,a=u+1}break;default:u+=1}return s=a?s+n.slice(a):n,r?s:ee(s,i,Y,ne(t,!1))}function ie(e,t){if(!1===t.options.singleQuote||t.implicitKey&&e.includes("\n")||/[ \t]\n|\n[ \t]/.test(e))return oe(e,t);const n=t.indent||(re(e)?" ":""),r="'"+e.replace(/'/g,"''").replace(/\n+/g,`$&\n${n}`)+"'";return t.implicitKey?r:ee(r,n,G,ne(t,!1))}function se(e,t){const{singleQuote:n}=t.options;let r;if(!1===n)r=oe;else{const t=e.includes('"'),o=e.includes("'");r=t&&!o?ie:o&&!t?oe:n?ie:oe}return r(e,t)}let ae;try{ae=new RegExp("(^|(?<!\n))\n+(?!\n|$)","g")}catch{ae=/\n+(?!\n|$)/g}function ue({comment:e,type:t,value:n},r,o,i){const{blockQuote:s,commentString:a,lineWidth:u}=r.options;if(!s||/\n[\t ]+$/.test(n)||/^\s*$/.test(n))return se(n,r);const c=r.indent||(r.forceBlockIndent||re(n)?" ":""),l="literal"===s||"folded"!==s&&t!==U.BLOCK_FOLDED&&(t===U.BLOCK_LITERAL||!function(e,t,n){if(!t||t<0)return!1;const r=t-n,o=e.length;if(o<=r)return!1;for(let i=0,s=0;i<o;++i)if("\n"===e[i]){if(i-s>r)return!0;if(s=i+1,o-s<=r)return!1}return!0}(n,u,c.length));if(!n)return l?"|\n":">\n";let f,d;for(d=n.length;d>0;--d){const e=n[d-1];if("\n"!==e&&"\t"!==e&&" "!==e)break}let h=n.substring(d);const p=h.indexOf("\n");-1===p?f="-":n===h||p!==h.length-1?(f="+",i&&i()):f="",h&&(n=n.slice(0,-h.length),"\n"===h[h.length-1]&&(h=h.slice(0,-1)),h=h.replace(ae,`$&${c}`));let m,g=!1,y=-1;for(m=0;m<n.length;++m){const e=n[m];if(" "===e)g=!0;else{if("\n"!==e)break;y=m}}let v=n.substring(0,y<m?y+1:m);v&&(n=n.substring(v.length),v=v.replace(/\n+/g,`$&${c}`));let b=(l?"|":">")+(g?c?"2":"1":"")+f;if(e&&(b+=" "+a(e.replace(/ ?[\r\n]+/g," ")),o&&o()),l)return`${b}\n${c}${v}${n=n.replace(/\n+/g,`$&${c}`)}${h}`;return`${b}\n${c}${ee(`${v}${n=n.replace(/\n+/g,"\n$&").replace(/(?:^|\n)([\t ].*)(?:([\n\t ]*)\n(?![\n\t ]))?/g,"$1$2").replace(/\n+/g,`$&${c}`)}${h}`,c,Z,ne(r,!0))}`}function ce(e,t,n,r){const{implicitKey:o,inFlow:i}=t,s="string"==typeof e.value?e:Object.assign({},e,{value:String(e.value)});let{type:a}=e;a!==U.QUOTE_DOUBLE&&/[\x00-\x08\x0b-\x1f\x7f-\x9f\u{D800}-\u{DFFF}]/u.test(s.value)&&(a=U.QUOTE_DOUBLE);const u=e=>{switch(e){case U.BLOCK_FOLDED:case U.BLOCK_LITERAL:return o||i?se(s.value,t):ue(s,t,n,r);case U.QUOTE_DOUBLE:return oe(s.value,t);case U.QUOTE_SINGLE:return ie(s.value,t);case U.PLAIN:return function(e,t,n,r){const{type:o,value:i}=e,{actualString:s,implicitKey:a,indent:u,indentStep:c,inFlow:l}=t;if(a&&i.includes("\n")||l&&/[[\]{},]/.test(i))return se(i,t);if(!i||/^[\n\t ,[\]{}#&*!|>'"%@`]|^[?-]$|^[?-][ \t]|[\n:][ \t]|[ \t]\n|[\n\t ]#|[\n\t :]$/.test(i))return a||l||!i.includes("\n")?se(i,t):ue(e,t,n,r);if(!a&&!l&&o!==U.PLAIN&&i.includes("\n"))return ue(e,t,n,r);if(re(i)){if(""===u)return t.forceBlockIndent=!0,ue(e,t,n,r);if(a&&u===c)return se(i,t)}const f=i.replace(/\n+/g,`$&\n${u}`);if(s){const e=e=>e.default&&"tag:yaml.org,2002:str"!==e.tag&&e.test?.test(f),{compat:n,tags:r}=t.doc.schema;if(r.some(e)||n?.some(e))return se(i,t)}return a?f:ee(f,u,G,ne(t,!1))}(s,t,n,r);default:return null}};let c=u(a);if(null===c){const{defaultKeyType:e,defaultStringType:n}=t.options,r=o&&e||n;if(c=u(r),null===c)throw new Error(`Unsupported default string type ${r}`)}return c}function le(e,t){const n=Object.assign({blockQuote:!0,commentString:K,defaultKeyType:null,defaultStringType:"PLAIN",directives:null,doubleQuotedAsJSON:!1,doubleQuotedMinMultiLineLength:40,falseStr:"false",flowCollectionPadding:!0,indentSeq:!0,lineWidth:80,minContentWidth:20,nullStr:"null",simpleKeys:!1,singleQuote:null,trueStr:"true",verifyAliasOrder:!0},e.schema.toStringOptions,t);let r;switch(n.collectionStyle){case"block":r=!1;break;case"flow":r=!0;break;default:r=null}return{anchors:new Set,doc:e,flowCollectionPadding:n.flowCollectionPadding?" ":"",indent:"",indentStep:"number"==typeof n.indent?" ".repeat(n.indent):" ",inFlow:r,options:n}}function fe(e,t,n,r){if(m(e))return e.toString(t,n,r);if(d(e)){if(t.doc.directives)return e.toString(t);if(t.resolvedAliases?.has(e))throw new TypeError("Cannot stringify circular structure without alias nodes");t.resolvedAliases?t.resolvedAliases.add(e):t.resolvedAliases=new Set([e]),e=e.resolve(t.doc)}let o;const i=b(e)?e:t.doc.createNode(e,{onTagObj:e=>o=e});o||(o=function(e,t){if(t.tag){const n=e.filter((e=>e.tag===t.tag));if(n.length>0)return n.find((e=>e.format===t.format))??n[0]}let n,r;if(g(t)){r=t.value;const o=e.filter((e=>e.identify?.(r)));n=o.find((e=>e.format===t.format))??o.find((e=>!e.format))}else r=t,n=e.find((e=>e.nodeClass&&r instanceof e.nodeClass));if(!n)throw new Error(`Tag not resolved for ${r?.constructor?.name??typeof r} value`);return n}(t.doc.schema.tags,i));const s=function(e,t,{anchors:n,doc:r}){if(!r.directives)return"";const o=[],i=(g(e)||v(e))&&e.anchor;i&&F(i)&&(n.add(i),o.push(`&${i}`));const s=e.tag?e.tag:t.default?null:t.tag;return s&&o.push(r.directives.tagString(s)),o.join(" ")}(i,o,t);s.length>0&&(t.indentAtStart=(t.indentAtStart??0)+s.length+1);const a="function"==typeof o.stringify?o.stringify(i,t,n,r):g(i)?ce(i,t,n,r):i.toString(t,n,r);return s?g(i)||"{"===a[0]||"["===a[0]?`${s} ${a}`:`${s}\n${t.indent}${a}`:a}function de(e,t){"debug"!==e&&"warn"!==e||("undefined"!=typeof process&&process.emitWarning?process.emitWarning(t):console.warn(t))}function he(e,t,{key:n,value:r}){if(e?.doc.schema.merge&&pe(n))if(r=d(r)?r.resolve(e.doc):r,y(r))for(const o of r.items)me(e,t,o);else if(Array.isArray(r))for(const o of r)me(e,t,o);else me(e,t,r);else{const o=M(n,"",e);if(t instanceof Map)t.set(o,M(r,o,e));else if(t instanceof Set)t.add(o);else{const i=function(e,t,n){if(null===t)return"";if("object"!=typeof t)return String(t);if(b(e)&&n?.doc){const t=le(n.doc,{});t.anchors=new Set;for(const e of n.anchors.keys())t.anchors.add(e.anchor);t.inFlow=!0,t.inStringifyKey=!0;const r=e.toString(t);if(!n.mapKeyWarned){let e=JSON.stringify(r);e.length>40&&(e=e.substring(0,36)+'..."'),de(n.doc.options.logLevel,`Keys with collection values will be stringified due to JS Object restrictions: ${e}. Set mapAsMap: true to use object keys.`),n.mapKeyWarned=!0}return r}return JSON.stringify(t)}(n,o,e),s=M(r,i,e);i in t?Object.defineProperty(t,i,{value:s,writable:!0,enumerable:!0,configurable:!0}):t[i]=s}}return t}const pe=e=>"<<"===e||g(e)&&"<<"===e.value&&(!e.type||e.type===U.PLAIN);function me(e,t,n){const r=e&&d(n)?n.resolve(e.doc):n;if(!p(r))throw new Error("Merge sources must be maps or map aliases");const o=r.toJSON(null,e,Map);for(const[i,s]of o)t instanceof Map?t.has(i)||t.set(i,s):t instanceof Set?t.add(i):Object.prototype.hasOwnProperty.call(t,i)||Object.defineProperty(t,i,{value:s,writable:!0,enumerable:!0,configurable:!0});return t}function ge(e,t,n){const r=V(e,void 0,n),o=V(t,void 0,n);return new ye(r,o)}class ye{constructor(e,t=null){Object.defineProperty(this,f,{value:u}),this.key=e,this.value=t}clone(e){let{key:t,value:n}=this;return b(t)&&(t=t.clone(e)),b(n)&&(n=n.clone(e)),new ye(t,n)}toJSON(e,t){return he(t,t?.mapAsMap?new Map:{},this)}toString(e,t,n){return e?.doc?function({key:e,value:t},n,r,o){const{allNullValues:i,doc:s,indent:a,indentStep:u,options:{commentString:c,indentSeq:l,simpleKeys:f}}=n;let d=b(e)&&e.comment||null;if(f){if(d)throw new Error("With simple keys, key nodes cannot have comments");if(v(e))throw new Error("With simple keys, collection cannot be used as a key value")}let h=!f&&(!e||d&&null==t&&!n.inFlow||v(e)||(g(e)?e.type===U.BLOCK_FOLDED||e.type===U.BLOCK_LITERAL:"object"==typeof e));n=Object.assign({},n,{allNullValues:!1,implicitKey:!h&&(f||!i),indent:a+u});let p,m,_,w=!1,E=!1,k=fe(e,n,(()=>w=!0),(()=>E=!0));if(!h&&!n.inFlow&&k.length>1024){if(f)throw new Error("With simple keys, single line scalar must not span more than 1024 characters");h=!0}if(n.inFlow){if(i||null==t)return w&&r&&r(),""===k?"?":h?`? ${k}`:k}else if(i&&!f||null==t&&h)return k=`? ${k}`,d&&!w?k+=W(k,n.indent,c(d)):E&&o&&o(),k;w&&(d=null),h?(d&&(k+=W(k,n.indent,c(d))),k=`? ${k}\n${a}:`):(k=`${k}:`,d&&(k+=W(k,n.indent,c(d)))),b(t)?(p=!!t.spaceBefore,m=t.commentBefore,_=t.comment):(p=!1,m=null,_=null,t&&"object"==typeof t&&(t=s.createNode(t))),n.implicitKey=!1,h||d||!g(t)||(n.indentAtStart=k.length+1),E=!1,l||!(u.length>=2)||n.inFlow||h||!y(t)||t.flow||t.tag||t.anchor||(n.indent=n.indent.substring(2));let x=!1;const D=fe(t,n,(()=>x=!0),(()=>E=!0));let S=" ";if(d||p||m)S=p?"\n":"",m&&(S+=`\n${J(c(m),n.indent)}`),""!==D||n.inFlow?S+=`\n${n.indent}`:"\n"===S&&(S="\n\n");else if(!h&&v(t)){const e=D[0],r=D.indexOf("\n"),o=-1!==r,i=n.inFlow??t.flow??0===t.items.length;if(o||!i){let t=!1;if(o&&("&"===e||"!"===e)){let n=D.indexOf(" ");"&"===e&&-1!==n&&n<r&&"!"===D[n+1]&&(n=D.indexOf(" ",n+1)),(-1===n||r<n)&&(t=!0)}t||(S=`\n${n.indent}`)}}else""!==D&&"\n"!==D[0]||(S="");return k+=S+D,n.inFlow?x&&r&&r():_&&!x?k+=W(k,n.indent,c(_)):E&&o&&o(),k}(this,e,t,n):JSON.stringify(this)}}function ve(e,t,n){return(t.inFlow??e.flow?_e:be)(e,t,n)}function be({comment:e,items:t},n,{blockItemPrefix:r,flowChars:o,itemIndent:i,onChompKeep:s,onComment:a}){const{indent:u,options:{commentString:c}}=n,l=Object.assign({},n,{indent:i,type:null});let f=!1;const d=[];for(let p=0;p<t.length;++p){const e=t[p];let o=null;if(b(e))!f&&e.spaceBefore&&d.push(""),we(n,d,e.commentBefore,f),e.comment&&(o=e.comment);else if(m(e)){const t=b(e.key)?e.key:null;t&&(!f&&t.spaceBefore&&d.push(""),we(n,d,t.commentBefore,f))}f=!1;let s=fe(e,l,(()=>o=null),(()=>f=!0));o&&(s+=W(s,i,c(o))),f&&o&&(f=!1),d.push(r+s)}let h;if(0===d.length)h=o.start+o.end;else{h=d[0];for(let e=1;e<d.length;++e){const t=d[e];h+=t?`\n${u}${t}`:"\n"}}return e?(h+="\n"+J(c(e),u),a&&a()):f&&s&&s(),h}function _e({comment:e,items:t},n,{flowChars:r,itemIndent:o,onComment:i}){const{indent:s,indentStep:a,flowCollectionPadding:u,options:{commentString:c}}=n;o+=a;const l=Object.assign({},n,{indent:o,inFlow:!0,type:null});let f=!1,d=0;const h=[];for(let v=0;v<t.length;++v){const e=t[v];let r=null;if(b(e))e.spaceBefore&&h.push(""),we(n,h,e.commentBefore,!1),e.comment&&(r=e.comment);else if(m(e)){const t=b(e.key)?e.key:null;t&&(t.spaceBefore&&h.push(""),we(n,h,t.commentBefore,!1),t.comment&&(f=!0));const o=b(e.value)?e.value:null;o?(o.comment&&(r=o.comment),o.commentBefore&&(f=!0)):null==e.value&&t?.comment&&(r=t.comment)}r&&(f=!0);let i=fe(e,l,(()=>r=null));v<t.length-1&&(i+=","),r&&(i+=W(i,o,c(r))),!f&&(h.length>d||i.includes("\n"))&&(f=!0),h.push(i),d=h.length}let p;const{start:g,end:y}=r;if(0===h.length)p=g+y;else{if(!f){f=h.reduce(((e,t)=>e+t.length+2),2)>H.maxFlowStringSingleLineLength}if(f){p=g;for(const e of h)p+=e?`\n${a}${s}${e}`:"\n";p+=`\n${s}${y}`}else p=`${g}${u}${h.join(" ")}${u}${y}`}return e&&(p+=W(p,s,c(e)),i&&i()),p}function we({indent:e,options:{commentString:t}},n,r,o){if(r&&o&&(r=r.replace(/^\n+/,"")),r){const o=J(t(r),e);n.push(o.trimStart())}}function Ee(e,t){const n=g(t)?t.value:t;for(const r of e)if(m(r)){if(r.key===t||r.key===n)return r;if(g(r.key)&&r.key.value===n)return r}}class ke extends H{static get tagName(){return"tag:yaml.org,2002:map"}constructor(e){super(a,e),this.items=[]}static from(e,t,n){const{keepUndefined:r,replacer:o}=n,i=new this(e),s=(e,s)=>{if("function"==typeof o)s=o.call(t,e,s);else if(Array.isArray(o)&&!o.includes(e))return;(void 0!==s||r)&&i.items.push(ge(e,s,n))};if(t instanceof Map)for(const[a,u]of t)s(a,u);else if(t&&"object"==typeof t)for(const a of Object.keys(t))s(a,t[a]);return"function"==typeof e.sortMapEntries&&i.items.sort(e.sortMapEntries),i}add(e,t){let n;n=m(e)?e:e&&"object"==typeof e&&"key"in e?new ye(e.key,e.value):new ye(e,e?.value);const r=Ee(this.items,n.key),o=this.schema?.sortMapEntries;if(r){if(!t)throw new Error(`Key ${n.key} already set`);g(r.value)&&z(n.value)?r.value.value=n.value:r.value=n.value}else if(o){const e=this.items.findIndex((e=>o(n,e)<0));-1===e?this.items.push(n):this.items.splice(e,0,n)}else this.items.push(n)}delete(e){const t=Ee(this.items,e);if(!t)return!1;return this.items.splice(this.items.indexOf(t),1).length>0}get(e,t){const n=Ee(this.items,e),r=n?.value;return(!t&&g(r)?r.value:r)??void 0}has(e){return!!Ee(this.items,e)}set(e,t){this.add(new ye(e,t),!0)}toJSON(e,t,n){const r=n?new n:t?.mapAsMap?new Map:{};t?.onCreate&&t.onCreate(r);for(const o of this.items)he(t,r,o);return r}toString(e,t,n){if(!e)return JSON.stringify(this);for(const r of this.items)if(!m(r))throw new Error(`Map items must all be pairs; found ${JSON.stringify(r)} instead`);return!e.allNullValues&&this.hasAllNullValues(!1)&&(e=Object.assign({},e,{allNullValues:!0})),ve(this,e,{blockItemPrefix:"",flowChars:{start:"{",end:"}"},itemIndent:e.indent||"",onChompKeep:n,onComment:t})}}const xe={collection:"map",default:!0,nodeClass:ke,tag:"tag:yaml.org,2002:map",resolve:(e,t)=>(p(e)||t("Expected a mapping for this tag"),e),createNode:(e,t,n)=>ke.from(e,t,n)};class De extends H{static get tagName(){return"tag:yaml.org,2002:seq"}constructor(e){super(l,e),this.items=[]}add(e){this.items.push(e)}delete(e){const t=Se(e);if("number"!=typeof t)return!1;return this.items.splice(t,1).length>0}get(e,t){const n=Se(e);if("number"!=typeof n)return;const r=this.items[n];return!t&&g(r)?r.value:r}has(e){const t=Se(e);return"number"==typeof t&&t<this.items.length}set(e,t){const n=Se(e);if("number"!=typeof n)throw new Error(`Expected a valid index, not ${e}.`);const r=this.items[n];g(r)&&z(t)?r.value=t:this.items[n]=t}toJSON(e,t){const n=[];t?.onCreate&&t.onCreate(n);let r=0;for(const o of this.items)n.push(M(o,String(r++),t));return n}toString(e,t,n){return e?ve(this,e,{blockItemPrefix:"- ",flowChars:{start:"[",end:"]"},itemIndent:(e.indent||"")+" ",onChompKeep:n,onComment:t}):JSON.stringify(this)}static from(e,t,n){const{replacer:r}=n,o=new this(e);if(t&&Symbol.iterator in Object(t)){let e=0;for(let i of t){if("function"==typeof r){const n=t instanceof Set?i:String(e++);i=r.call(t,n,i)}o.items.push(V(i,void 0,n))}}return o}}function Se(e){let t=g(e)?e.value:e;return t&&"string"==typeof t&&(t=Number(t)),"number"==typeof t&&Number.isInteger(t)&&t>=0?t:null}const Ce={collection:"seq",default:!0,nodeClass:De,tag:"tag:yaml.org,2002:seq",resolve:(e,t)=>(y(e)||t("Expected a sequence for this tag"),e),createNode:(e,t,n)=>De.from(e,t,n)},Oe={identify:e=>"string"==typeof e,default:!0,tag:"tag:yaml.org,2002:str",resolve:e=>e,stringify:(e,t,n,r)=>ce(e,t=Object.assign({actualString:!0},t),n,r)},$e={identify:e=>null==e,createNode:()=>new U(null),default:!0,tag:"tag:yaml.org,2002:null",test:/^(?:~|[Nn]ull|NULL)?$/,resolve:()=>new U(null),stringify:({source:e},t)=>"string"==typeof e&&$e.test.test(e)?e:t.options.nullStr},Ae={identify:e=>"boolean"==typeof e,default:!0,tag:"tag:yaml.org,2002:bool",test:/^(?:[Tt]rue|TRUE|[Ff]alse|FALSE)$/,resolve:e=>new U("t"===e[0]||"T"===e[0]),stringify({source:e,value:t},n){if(e&&Ae.test.test(e)){if(t===("t"===e[0]||"T"===e[0]))return e}return t?n.options.trueStr:n.options.falseStr}};function Pe({format:e,minFractionDigits:t,tag:n,value:r}){if("bigint"==typeof r)return String(r);const o="number"==typeof r?r:Number(r);if(!isFinite(o))return isNaN(o)?".nan":o<0?"-.inf":".inf";let i=JSON.stringify(r);if(!e&&t&&(!n||"tag:yaml.org,2002:float"===n)&&/^\d/.test(i)){let e=i.indexOf(".");e<0&&(e=i.length,i+=".");let n=t-(i.length-e-1);for(;n-- >0;)i+="0"}return i}const je={identify:e=>"number"==typeof e,default:!0,tag:"tag:yaml.org,2002:float",test:/^(?:[-+]?\.(?:inf|Inf|INF|nan|NaN|NAN))$/,resolve:e=>"nan"===e.slice(-3).toLowerCase()?NaN:"-"===e[0]?Number.NEGATIVE_INFINITY:Number.POSITIVE_INFINITY,stringify:Pe},Fe={identify:e=>"number"==typeof e,default:!0,tag:"tag:yaml.org,2002:float",format:"EXP",test:/^[-+]?(?:\.[0-9]+|[0-9]+(?:\.[0-9]*)?)[eE][-+]?[0-9]+$/,resolve:e=>parseFloat(e),stringify(e){const t=Number(e.value);return isFinite(t)?t.toExponential():Pe(e)}},Ie={identify:e=>"number"==typeof e,default:!0,tag:"tag:yaml.org,2002:float",test:/^[-+]?(?:\.[0-9]+|[0-9]+\.[0-9]*)$/,resolve(e){const t=new U(parseFloat(e)),n=e.indexOf(".");return-1!==n&&"0"===e[e.length-1]&&(t.minFractionDigits=e.length-n-1),t},stringify:Pe},Ne=e=>"bigint"==typeof e||Number.isInteger(e),Te=(e,t,n,{intAsBigInt:r})=>r?BigInt(e):parseInt(e.substring(t),n);function Me(e,t,n){const{value:r}=e;return Ne(r)&&r>=0?n+r.toString(t):Pe(e)}const Re={identify:e=>Ne(e)&&e>=0,default:!0,tag:"tag:yaml.org,2002:int",format:"OCT",test:/^0o[0-7]+$/,resolve:(e,t,n)=>Te(e,2,8,n),stringify:e=>Me(e,8,"0o")},Be={identify:Ne,default:!0,tag:"tag:yaml.org,2002:int",test:/^[-+]?[0-9]+$/,resolve:(e,t,n)=>Te(e,0,10,n),stringify:Pe},Le={identify:e=>Ne(e)&&e>=0,default:!0,tag:"tag:yaml.org,2002:int",format:"HEX",test:/^0x[0-9a-fA-F]+$/,resolve:(e,t,n)=>Te(e,2,16,n),stringify:e=>Me(e,16,"0x")},ze=[xe,Ce,Oe,$e,Ae,Re,Be,Le,je,Fe,Ie];function Ue(e){return"bigint"==typeof e||Number.isInteger(e)}const qe=({value:e})=>JSON.stringify(e),Ve=[xe,Ce].concat([{identify:e=>"string"==typeof e,default:!0,tag:"tag:yaml.org,2002:str",resolve:e=>e,stringify:qe},{identify:e=>null==e,createNode:()=>new U(null),default:!0,tag:"tag:yaml.org,2002:null",test:/^null$/,resolve:()=>null,stringify:qe},{identify:e=>"boolean"==typeof e,default:!0,tag:"tag:yaml.org,2002:bool",test:/^true|false$/,resolve:e=>"true"===e,stringify:qe},{identify:Ue,default:!0,tag:"tag:yaml.org,2002:int",test:/^-?(?:0|[1-9][0-9]*)$/,resolve:(e,t,{intAsBigInt:n})=>n?BigInt(e):parseInt(e,10),stringify:({value:e})=>Ue(e)?e.toString():JSON.stringify(e)},{identify:e=>"number"==typeof e,default:!0,tag:"tag:yaml.org,2002:float",test:/^-?(?:0|[1-9][0-9]*)(?:\.[0-9]*)?(?:[eE][-+]?[0-9]+)?$/,resolve:e=>parseFloat(e),stringify:qe}],{default:!0,tag:"",test:/^/,resolve:(e,t)=>(t(`Unresolved plain scalar ${JSON.stringify(e)}`),e)}),Qe={identify:e=>e instanceof Uint8Array,default:!1,tag:"tag:yaml.org,2002:binary",resolve(e,t){if("function"==typeof Buffer)return Buffer.from(e,"base64");if("function"==typeof atob){const t=atob(e.replace(/[\n\r]/g,"")),n=new Uint8Array(t.length);for(let e=0;e<t.length;++e)n[e]=t.charCodeAt(e);return n}return t("This environment does not support reading binary tags; either Buffer or atob is required"),e},stringify({comment:e,type:t,value:n},r,o,i){const s=n;let a;if("function"==typeof Buffer)a=s instanceof Buffer?s.toString("base64"):Buffer.from(s.buffer).toString("base64");else{if("function"!=typeof btoa)throw new Error("This environment does not support writing binary tags; either Buffer or btoa is required");{let e="";for(let t=0;t<s.length;++t)e+=String.fromCharCode(s[t]);a=btoa(e)}}if(t||(t=U.BLOCK_LITERAL),t!==U.QUOTE_DOUBLE){const e=Math.max(r.options.lineWidth-r.indent.length,r.options.minContentWidth),n=Math.ceil(a.length/e),o=new Array(n);for(let t=0,r=0;t<n;++t,r+=e)o[t]=a.substr(r,e);a=o.join(t===U.BLOCK_LITERAL?"\n":" ")}return ce({comment:e,type:t,value:a},r,o,i)}};function Xe(e,t){if(y(e))for(let n=0;n<e.items.length;++n){let r=e.items[n];if(!m(r)){if(p(r)){r.items.length>1&&t("Each pair must have its own sequence indicator");const e=r.items[0]||new ye(new U(null));if(r.commentBefore&&(e.key.commentBefore=e.key.commentBefore?`${r.commentBefore}\n${e.key.commentBefore}`:r.commentBefore),r.comment){const t=e.value??e.key;t.comment=t.comment?`${r.comment}\n${t.comment}`:r.comment}r=e}e.items[n]=m(r)?r:new ye(r)}}else t("Expected a sequence for this tag");return e}function He(e,t,n){const{replacer:r}=n,o=new De(e);o.tag="tag:yaml.org,2002:pairs";let i=0;if(t&&Symbol.iterator in Object(t))for(let s of t){let e,a;if("function"==typeof r&&(s=r.call(t,String(i++),s)),Array.isArray(s)){if(2!==s.length)throw new TypeError(`Expected [key, value] tuple: ${s}`);e=s[0],a=s[1]}else if(s&&s instanceof Object){const t=Object.keys(s);if(1!==t.length)throw new TypeError(`Expected tuple with one key, not ${t.length} keys`);e=t[0],a=s[e]}else e=s;o.items.push(ge(e,a,n))}return o}const Ke={collection:"seq",default:!1,tag:"tag:yaml.org,2002:pairs",resolve:Xe,createNode:He};class Je extends De{constructor(){super(),this.add=ke.prototype.add.bind(this),this.delete=ke.prototype.delete.bind(this),this.get=ke.prototype.get.bind(this),this.has=ke.prototype.has.bind(this),this.set=ke.prototype.set.bind(this),this.tag=Je.tag}toJSON(e,t){if(!t)return super.toJSON(e);const n=new Map;t?.onCreate&&t.onCreate(n);for(const r of this.items){let e,o;if(m(r)?(e=M(r.key,"",t),o=M(r.value,e,t)):e=M(r,"",t),n.has(e))throw new Error("Ordered maps must not include duplicate keys");n.set(e,o)}return n}static from(e,t,n){const r=He(e,t,n),o=new this;return o.items=r.items,o}}Je.tag="tag:yaml.org,2002:omap";const We={collection:"seq",identify:e=>e instanceof Map,nodeClass:Je,default:!1,tag:"tag:yaml.org,2002:omap",resolve(e,t){const n=Xe(e,t),r=[];for(const{key:o}of n.items)g(o)&&(r.includes(o.value)?t(`Ordered maps must not include duplicate keys: ${o.value}`):r.push(o.value));return Object.assign(new Je,n)},createNode:(e,t,n)=>Je.from(e,t,n)};function Ge({value:e,source:t},n){return t&&(e?Ze:Ye).test.test(t)?t:e?n.options.trueStr:n.options.falseStr}const Ze={identify:e=>!0===e,default:!0,tag:"tag:yaml.org,2002:bool",test:/^(?:Y|y|[Yy]es|YES|[Tt]rue|TRUE|[Oo]n|ON)$/,resolve:()=>new U(!0),stringify:Ge},Ye={identify:e=>!1===e,default:!0,tag:"tag:yaml.org,2002:bool",test:/^(?:N|n|[Nn]o|NO|[Ff]alse|FALSE|[Oo]ff|OFF)$/i,resolve:()=>new U(!1),stringify:Ge},et={identify:e=>"number"==typeof e,default:!0,tag:"tag:yaml.org,2002:float",test:/^[-+]?\.(?:inf|Inf|INF|nan|NaN|NAN)$/,resolve:e=>"nan"===e.slice(-3).toLowerCase()?NaN:"-"===e[0]?Number.NEGATIVE_INFINITY:Number.POSITIVE_INFINITY,stringify:Pe},tt={identify:e=>"number"==typeof e,default:!0,tag:"tag:yaml.org,2002:float",format:"EXP",test:/^[-+]?(?:[0-9][0-9_]*)?(?:\.[0-9_]*)?[eE][-+]?[0-9]+$/,resolve:e=>parseFloat(e.replace(/_/g,"")),stringify(e){const t=Number(e.value);return isFinite(t)?t.toExponential():Pe(e)}},nt={identify:e=>"number"==typeof e,default:!0,tag:"tag:yaml.org,2002:float",test:/^[-+]?(?:[0-9][0-9_]*)?\.[0-9_]*$/,resolve(e){const t=new U(parseFloat(e.replace(/_/g,""))),n=e.indexOf(".");if(-1!==n){const r=e.substring(n+1).replace(/_/g,"");"0"===r[r.length-1]&&(t.minFractionDigits=r.length)}return t},stringify:Pe},rt=e=>"bigint"==typeof e||Number.isInteger(e);function ot(e,t,n,{intAsBigInt:r}){const o=e[0];if("-"!==o&&"+"!==o||(t+=1),e=e.substring(t).replace(/_/g,""),r){switch(n){case 2:e=`0b${e}`;break;case 8:e=`0o${e}`;break;case 16:e=`0x${e}`}const t=BigInt(e);return"-"===o?BigInt(-1)*t:t}const i=parseInt(e,n);return"-"===o?-1*i:i}function it(e,t,n){const{value:r}=e;if(rt(r)){const e=r.toString(t);return r<0?"-"+n+e.substr(1):n+e}return Pe(e)}const st={identify:rt,default:!0,tag:"tag:yaml.org,2002:int",format:"BIN",test:/^[-+]?0b[0-1_]+$/,resolve:(e,t,n)=>ot(e,2,2,n),stringify:e=>it(e,2,"0b")},at={identify:rt,default:!0,tag:"tag:yaml.org,2002:int",format:"OCT",test:/^[-+]?0[0-7_]+$/,resolve:(e,t,n)=>ot(e,1,8,n),stringify:e=>it(e,8,"0")},ut={identify:rt,default:!0,tag:"tag:yaml.org,2002:int",test:/^[-+]?[0-9][0-9_]*$/,resolve:(e,t,n)=>ot(e,0,10,n),stringify:Pe},ct={identify:rt,default:!0,tag:"tag:yaml.org,2002:int",format:"HEX",test:/^[-+]?0x[0-9a-fA-F_]+$/,resolve:(e,t,n)=>ot(e,2,16,n),stringify:e=>it(e,16,"0x")};class lt extends ke{constructor(e){super(e),this.tag=lt.tag}add(e){let t;t=m(e)?e:e&&"object"==typeof e&&"key"in e&&"value"in e&&null===e.value?new ye(e.key,null):new ye(e,null);Ee(this.items,t.key)||this.items.push(t)}get(e,t){const n=Ee(this.items,e);return!t&&m(n)?g(n.key)?n.key.value:n.key:n}set(e,t){if("boolean"!=typeof t)throw new Error("Expected boolean value for set(key, value) in a YAML set, not "+typeof t);const n=Ee(this.items,e);n&&!t?this.items.splice(this.items.indexOf(n),1):!n&&t&&this.items.push(new ye(e))}toJSON(e,t){return super.toJSON(e,t,Set)}toString(e,t,n){if(!e)return JSON.stringify(this);if(this.hasAllNullValues(!0))return super.toString(Object.assign({},e,{allNullValues:!0}),t,n);throw new Error("Set items must all have null values")}static from(e,t,n){const{replacer:r}=n,o=new this(e);if(t&&Symbol.iterator in Object(t))for(let i of t)"function"==typeof r&&(i=r.call(t,i,i)),o.items.push(ge(i,null,n));return o}}lt.tag="tag:yaml.org,2002:set";const ft={collection:"map",identify:e=>e instanceof Set,nodeClass:lt,default:!1,tag:"tag:yaml.org,2002:set",createNode:(e,t,n)=>lt.from(e,t,n),resolve(e,t){if(p(e)){if(e.hasAllNullValues(!0))return Object.assign(new lt,e);t("Set items must all have null values")}else t("Expected a mapping for this tag");return e}};function dt(e,t){const n=e[0],r="-"===n||"+"===n?e.substring(1):e,o=e=>t?BigInt(e):Number(e),i=r.replace(/_/g,"").split(":").reduce(((e,t)=>e*o(60)+o(t)),o(0));return"-"===n?o(-1)*i:i}function ht(e){let{value:t}=e,n=e=>e;if("bigint"==typeof t)n=e=>BigInt(e);else if(isNaN(t)||!isFinite(t))return Pe(e);let r="";t<0&&(r="-",t*=n(-1));const o=n(60),i=[t%o];return t<60?i.unshift(0):(t=(t-i[0])/o,i.unshift(t%o),t>=60&&(t=(t-i[0])/o,i.unshift(t))),r+i.map((e=>String(e).padStart(2,"0"))).join(":").replace(/000000\d*$/,"")}const pt={identify:e=>"bigint"==typeof e||Number.isInteger(e),default:!0,tag:"tag:yaml.org,2002:int",format:"TIME",test:/^[-+]?[0-9][0-9_]*(?::[0-5]?[0-9])+$/,resolve:(e,t,{intAsBigInt:n})=>dt(e,n),stringify:ht},mt={identify:e=>"number"==typeof e,default:!0,tag:"tag:yaml.org,2002:float",format:"TIME",test:/^[-+]?[0-9][0-9_]*(?::[0-5]?[0-9])+\.[0-9_]*$/,resolve:e=>dt(e,!1),stringify:ht},gt={identify:e=>e instanceof Date,default:!0,tag:"tag:yaml.org,2002:timestamp",test:RegExp("^([0-9]{4})-([0-9]{1,2})-([0-9]{1,2})(?:(?:t|T|[ \\t]+)([0-9]{1,2}):([0-9]{1,2}):([0-9]{1,2}(\\.[0-9]+)?)(?:[ \\t]*(Z|[-+][012]?[0-9](?::[0-9]{2})?))?)?$"),resolve(e){const t=e.match(gt.test);if(!t)throw new Error("!!timestamp expects a date, starting with yyyy-mm-dd");const[,n,r,o,i,s,a]=t.map(Number),u=t[7]?Number((t[7]+"00").substr(1,3)):0;let c=Date.UTC(n,r-1,o,i||0,s||0,a||0,u);const l=t[8];if(l&&"Z"!==l){let e=dt(l,!1);Math.abs(e)<30&&(e*=60),c-=6e4*e}return new Date(c)},stringify:({value:e})=>e.toISOString().replace(/((T00:00)?:00)?\.000Z$/,"")},yt=[xe,Ce,Oe,$e,Ze,Ye,st,at,ut,ct,et,tt,nt,Qe,We,Ke,ft,pt,mt,gt],vt=new Map([["core",ze],["failsafe",[xe,Ce,Oe]],["json",Ve],["yaml11",yt],["yaml-1.1",yt]]),bt={binary:Qe,bool:Ae,float:Ie,floatExp:Fe,floatNaN:je,floatTime:mt,int:Be,intHex:Le,intOct:Re,intTime:pt,map:xe,null:$e,omap:We,pairs:Ke,seq:Ce,set:ft,timestamp:gt},_t={"tag:yaml.org,2002:binary":Qe,"tag:yaml.org,2002:omap":We,"tag:yaml.org,2002:pairs":Ke,"tag:yaml.org,2002:set":ft,"tag:yaml.org,2002:timestamp":gt};function wt(e,t){let n=vt.get(t);if(!n){if(!Array.isArray(e)){const e=Array.from(vt.keys()).filter((e=>"yaml11"!==e)).map((e=>JSON.stringify(e))).join(", ");throw new Error(`Unknown schema "${t}"; use one of ${e} or define customTags array`)}n=[]}if(Array.isArray(e))for(const r of e)n=n.concat(r);else"function"==typeof e&&(n=e(n.slice()));return n.map((e=>{if("string"!=typeof e)return e;const t=bt[e];if(t)return t;const n=Object.keys(bt).map((e=>JSON.stringify(e))).join(", ");throw new Error(`Unknown custom tag "${e}"; use one of ${n}`)}))}const Et=(e,t)=>e.key<t.key?-1:e.key>t.key?1:0;class kt{constructor({compat:e,customTags:t,merge:n,resolveKnownTags:r,schema:o,sortMapEntries:i,toStringDefaults:s}){this.compat=Array.isArray(e)?wt(e,"compat"):e?wt(null,e):null,this.merge=!!n,this.name="string"==typeof o&&o||"core",this.knownTags=r?_t:{},this.tags=wt(t,this.name),this.toStringOptions=s??null,Object.defineProperty(this,a,{value:xe}),Object.defineProperty(this,c,{value:Oe}),Object.defineProperty(this,l,{value:Ce}),this.sortMapEntries="function"==typeof i?i:!0===i?Et:null}clone(){const e=Object.create(kt.prototype,Object.getOwnPropertyDescriptors(this));return e.tags=this.tags.slice(),e}}class xt{constructor(e,t,n){this.commentBefore=null,this.comment=null,this.errors=[],this.warnings=[],Object.defineProperty(this,f,{value:s});let r=null;"function"==typeof t||Array.isArray(t)?r=t:void 0===n&&t&&(n=t,t=void 0);const o=Object.assign({intAsBigInt:!1,keepSourceTokens:!1,logLevel:"warn",prettyErrors:!0,strict:!0,uniqueKeys:!0,version:"1.2"},n);this.options=o;let{version:i}=o;n?._directives?(this.directives=n._directives.atDocument(),this.directives.yaml.explicit&&(i=this.directives.yaml.version)):this.directives=new j({version:i}),this.setSchema(i,n),this.contents=void 0===e?null:this.createNode(e,r,n)}clone(){const e=Object.create(xt.prototype,{[f]:{value:s}});return e.commentBefore=this.commentBefore,e.comment=this.comment,e.errors=this.errors.slice(),e.warnings=this.warnings.slice(),e.options=Object.assign({},this.options),this.directives&&(e.directives=this.directives.clone()),e.schema=this.schema.clone(),e.contents=b(this.contents)?this.contents.clone(e.schema):this.contents,this.range&&(e.range=this.range.slice()),e}add(e){Dt(this.contents)&&this.contents.add(e)}addIn(e,t){Dt(this.contents)&&this.contents.addIn(e,t)}createAlias(e,t){if(!e.anchor){const n=I(this);e.anchor=!t||n.has(t)?N(t||"a",n):t}return new B(e.anchor)}createNode(e,t,n){let r;if("function"==typeof t)e=t.call({"":e},"",e),r=t;else if(Array.isArray(t)){const e=e=>"number"==typeof e||e instanceof String||e instanceof Number,n=t.filter(e).map(String);n.length>0&&(t=t.concat(n)),r=t}else void 0===n&&t&&(n=t,t=void 0);const{aliasDuplicateObjects:o,anchorPrefix:i,flow:s,keepUndefined:a,onTagObj:u,tag:c}=n??{},{onAnchor:l,setAnchors:f,sourceObjects:d}=function(e,t){const n=[],r=new Map;let o=null;return{onAnchor:r=>{n.push(r),o||(o=I(e));const i=N(t,o);return o.add(i),i},setAnchors:()=>{for(const e of n){const t=r.get(e);if("object"!=typeof t||!t.anchor||!g(t.node)&&!v(t.node)){const t=new Error("Failed to resolve repeated object (this should not happen)");throw t.source=e,t}t.node.anchor=t.anchor}},sourceObjects:r}}(this,i||"a"),h=V(e,c,{aliasDuplicateObjects:o??!0,keepUndefined:a??!1,onAnchor:l,onTagObj:u,replacer:r,schema:this.schema,sourceObjects:d});return s&&v(h)&&(h.flow=!0),f(),h}createPair(e,t,n={}){const r=this.createNode(e,null,n),o=this.createNode(t,null,n);return new ye(r,o)}delete(e){return!!Dt(this.contents)&&this.contents.delete(e)}deleteIn(e){return X(e)?null!=this.contents&&(this.contents=null,!0):!!Dt(this.contents)&&this.contents.deleteIn(e)}get(e,t){return v(this.contents)?this.contents.get(e,t):void 0}getIn(e,t){return X(e)?!t&&g(this.contents)?this.contents.value:this.contents:v(this.contents)?this.contents.getIn(e,t):void 0}has(e){return!!v(this.contents)&&this.contents.has(e)}hasIn(e){return X(e)?void 0!==this.contents:!!v(this.contents)&&this.contents.hasIn(e)}set(e,t){null==this.contents?this.contents=Q(this.schema,[e],t):Dt(this.contents)&&this.contents.set(e,t)}setIn(e,t){X(e)?this.contents=t:null==this.contents?this.contents=Q(this.schema,Array.from(e),t):Dt(this.contents)&&this.contents.setIn(e,t)}setSchema(e,t={}){let n;switch("number"==typeof e&&(e=String(e)),e){case"1.1":this.directives?this.directives.yaml.version="1.1":this.directives=new j({version:"1.1"}),n={merge:!0,resolveKnownTags:!1,schema:"yaml-1.1"};break;case"1.2":case"next":this.directives?this.directives.yaml.version=e:this.directives=new j({version:e}),n={merge:!1,resolveKnownTags:!0,schema:"core"};break;case null:this.directives&&delete this.directives,n=null;break;default:{const t=JSON.stringify(e);throw new Error(`Expected '1.1', '1.2' or null as first argument, but found: ${t}`)}}if(t.schema instanceof Object)this.schema=t.schema;else{if(!n)throw new Error("With a null YAML version, the { schema: Schema } option is required");this.schema=new kt(Object.assign(n,t))}}toJS({json:e,jsonArg:t,mapAsMap:n,maxAliasCount:r,onAnchor:o,reviver:i}={}){const s={anchors:new Map,doc:this,keep:!e,mapAsMap:!0===n,mapKeyWarned:!1,maxAliasCount:"number"==typeof r?r:100},a=M(this.contents,t??"",s);if("function"==typeof o)for(const{count:u,res:c}of s.anchors.values())o(c,u);return"function"==typeof i?T(i,{"":a},"",a):a}toJSON(e,t){return this.toJS({json:!0,jsonArg:e,mapAsMap:!1,onAnchor:t})}toString(e={}){if(this.errors.length>0)throw new Error("Document with errors cannot be stringified");if("indent"in e&&(!Number.isInteger(e.indent)||Number(e.indent)<=0)){const t=JSON.stringify(e.indent);throw new Error(`"indent" option must be a positive integer, not ${t}`)}return function(e,t){const n=[];let r=!0===t.directives;if(!1!==t.directives&&e.directives){const t=e.directives.toString(e);t?(n.push(t),r=!0):e.directives.docStart&&(r=!0)}r&&n.push("---");const o=le(e,t),{commentString:i}=o.options;if(e.commentBefore){1!==n.length&&n.unshift("");const t=i(e.commentBefore);n.unshift(J(t,""))}let s=!1,a=null;if(e.contents){if(b(e.contents)){if(e.contents.spaceBefore&&r&&n.push(""),e.contents.commentBefore){const t=i(e.contents.commentBefore);n.push(J(t,""))}o.forceBlockIndent=!!e.comment,a=e.contents.comment}const t=a?void 0:()=>s=!0;let u=fe(e.contents,o,(()=>a=null),t);a&&(u+=W(u,"",i(a))),"|"!==u[0]&&">"!==u[0]||"---"!==n[n.length-1]?n.push(u):n[n.length-1]=`--- ${u}`}else n.push(fe(e.contents,o));if(e.directives?.docEnd)if(e.comment){const t=i(e.comment);t.includes("\n")?(n.push("..."),n.push(J(t,""))):n.push(`... ${t}`)}else n.push("...");else{let t=e.comment;t&&s&&(t=t.replace(/^\n+/,"")),t&&(s&&!a||""===n[n.length-1]||n.push(""),n.push(J(i(t),"")))}return n.join("\n")+"\n"}(this,e)}}function Dt(e){if(v(e))return!0;throw new Error("Expected a YAML collection as document contents")}class St extends Error{constructor(e,t,n,r){super(),this.name=e,this.code=n,this.message=r,this.pos=t}}class Ct extends St{constructor(e,t,n){super("YAMLParseError",e,t,n)}}class Ot extends St{constructor(e,t,n){super("YAMLWarning",e,t,n)}}const $t=(e,t)=>n=>{if(-1===n.pos[0])return;n.linePos=n.pos.map((e=>t.linePos(e)));const{line:r,col:o}=n.linePos[0];n.message+=` at line ${r}, column ${o}`;let i=o-1,s=e.substring(t.lineStarts[r-1],t.lineStarts[r]).replace(/[\n\r]+$/,"");if(i>=60&&s.length>80){const e=Math.min(i-39,s.length-79);s="\u2026"+s.substring(e),i-=e-1}if(s.length>80&&(s=s.substring(0,79)+"\u2026"),r>1&&/^ *$/.test(s.substring(0,i))){let n=e.substring(t.lineStarts[r-2],t.lineStarts[r-1]);n.length>80&&(n=n.substring(0,79)+"\u2026\n"),s=n+s}if(/[^ ]/.test(s)){let e=1;const t=n.linePos[1];t&&t.line===r&&t.col>o&&(e=Math.max(1,Math.min(t.col-o,80-i)));const a=" ".repeat(i)+"^".repeat(e);n.message+=`:\n\n${s}\n${a}\n`}};function At(e,{flow:t,indicator:n,next:r,offset:o,onError:i,startOnNewline:s}){let a=!1,u=s,c=s,l="",f="",d=!1,h=!1,p=!1,m=null,g=null,y=null,v=null,b=null;for(const E of e)switch(p&&("space"!==E.type&&"newline"!==E.type&&"comma"!==E.type&&i(E.offset,"MISSING_CHAR","Tags and anchors must be separated from the next token by white space"),p=!1),E.type){case"space":!t&&u&&"doc-start"!==n&&"\t"===E.source[0]&&i(E,"TAB_AS_INDENT","Tabs are not allowed as indentation"),c=!0;break;case"comment":{c||i(E,"MISSING_CHAR","Comments must be separated from other tokens by white space characters");const e=E.source.substring(1)||" ";l?l+=f+e:l=e,f="",u=!1;break}case"newline":u?l?l+=E.source:a=!0:f+=E.source,u=!0,d=!0,(m||g)&&(h=!0),c=!0;break;case"anchor":m&&i(E,"MULTIPLE_ANCHORS","A node can have at most one anchor"),E.source.endsWith(":")&&i(E.offset+E.source.length-1,"BAD_ALIAS","Anchor ending in : is ambiguous",!0),m=E,null===b&&(b=E.offset),u=!1,c=!1,p=!0;break;case"tag":g&&i(E,"MULTIPLE_TAGS","A node can have at most one tag"),g=E,null===b&&(b=E.offset),u=!1,c=!1,p=!0;break;case n:(m||g)&&i(E,"BAD_PROP_ORDER",`Anchors and tags must be after the ${E.source} indicator`),v&&i(E,"UNEXPECTED_TOKEN",`Unexpected ${E.source} in ${t??"collection"}`),v=E,u=!1,c=!1;break;case"comma":if(t){y&&i(E,"UNEXPECTED_TOKEN",`Unexpected , in ${t}`),y=E,u=!1,c=!1;break}default:i(E,"UNEXPECTED_TOKEN",`Unexpected ${E.type} token`),u=!1,c=!1}const _=e[e.length-1],w=_?_.offset+_.source.length:o;return p&&r&&"space"!==r.type&&"newline"!==r.type&&"comma"!==r.type&&("scalar"!==r.type||""!==r.source)&&i(r.offset,"MISSING_CHAR","Tags and anchors must be separated from the next token by white space"),{comma:y,found:v,spaceBefore:a,comment:l,hasNewline:d,hasNewlineAfterProp:h,anchor:m,tag:g,end:w,start:b??w}}function Pt(e){if(!e)return null;switch(e.type){case"alias":case"scalar":case"double-quoted-scalar":case"single-quoted-scalar":if(e.source.includes("\n"))return!0;if(e.end)for(const t of e.end)if("newline"===t.type)return!0;return!1;case"flow-collection":for(const t of e.items){for(const e of t.start)if("newline"===e.type)return!0;if(t.sep)for(const e of t.sep)if("newline"===e.type)return!0;if(Pt(t.key)||Pt(t.value))return!0}return!1;default:return!0}}function jt(e,t,n){if("flow-collection"===t?.type){const r=t.end[0];if(r.indent===e&&("]"===r.source||"}"===r.source)&&Pt(t)){n(r,"BAD_INDENT","Flow end indicator should be more indented than parent",!0)}}}function Ft(e,t,n){const{uniqueKeys:r}=e.options;if(!1===r)return!1;const o="function"==typeof r?r:(t,n)=>t===n||g(t)&&g(n)&&t.value===n.value&&!("<<"===t.value&&e.schema.merge);return t.some((e=>o(e.key,n)))}const It="All mapping items must start at the same column";function Nt(e,t,n,r){let o="";if(e){let i=!1,s="";for(const a of e){const{source:e,type:u}=a;switch(u){case"space":i=!0;break;case"comment":{n&&!i&&r(a,"MISSING_CHAR","Comments must be separated from other tokens by white space characters");const t=e.substring(1)||" ";o?o+=s+t:o=t,s="";break}case"newline":o&&(s+=e),i=!0;break;default:r(a,"UNEXPECTED_TOKEN",`Unexpected ${u} at node end`)}t+=e.length}}return{comment:o,offset:t}}const Tt="Block collections are not allowed within flow collections",Mt=e=>e&&("block-map"===e.type||"block-seq"===e.type);function Rt(e,t,n,r,o,i){const s="block-map"===n.type?function({composeNode:e,composeEmptyNode:t},n,r,o,i){const s=new(i?.nodeClass??ke)(n.schema);n.atRoot&&(n.atRoot=!1);let a=r.offset,u=null;for(const c of r.items){const{start:i,key:l,sep:f,value:d}=c,h=At(i,{indicator:"explicit-key-ind",next:l??f?.[0],offset:a,onError:o,startOnNewline:!0}),p=!h.found;if(p){if(l&&("block-seq"===l.type?o(a,"BLOCK_AS_IMPLICIT_KEY","A block sequence may not be used as an implicit map key"):"indent"in l&&l.indent!==r.indent&&o(a,"BAD_INDENT",It)),!h.anchor&&!h.tag&&!f){u=h.end,h.comment&&(s.comment?s.comment+="\n"+h.comment:s.comment=h.comment);continue}(h.hasNewlineAfterProp||Pt(l))&&o(l??i[i.length-1],"MULTILINE_IMPLICIT_KEY","Implicit keys need to be on a single line")}else h.found?.indent!==r.indent&&o(a,"BAD_INDENT",It);const m=h.end,g=l?e(n,l,h,o):t(n,m,i,null,h,o);n.schema.compat&&jt(r.indent,l,o),Ft(n,s.items,g)&&o(m,"DUPLICATE_KEY","Map keys must be unique");const y=At(f??[],{indicator:"map-value-ind",next:d,offset:g.range[2],onError:o,startOnNewline:!l||"block-scalar"===l.type});if(a=y.end,y.found){p&&("block-map"!==d?.type||y.hasNewline||o(a,"BLOCK_AS_IMPLICIT_KEY","Nested mappings are not allowed in compact mappings"),n.options.strict&&h.start<y.found.offset-1024&&o(g.range,"KEY_OVER_1024_CHARS","The : indicator must be at most 1024 chars after the start of an implicit block mapping key"));const i=d?e(n,d,y,o):t(n,a,f,null,y,o);n.schema.compat&&jt(r.indent,d,o),a=i.range[2];const u=new ye(g,i);n.options.keepSourceTokens&&(u.srcToken=c),s.items.push(u)}else{p&&o(g.range,"MISSING_CHAR","Implicit map keys need to be followed by map values"),y.comment&&(g.comment?g.comment+="\n"+y.comment:g.comment=y.comment);const e=new ye(g);n.options.keepSourceTokens&&(e.srcToken=c),s.items.push(e)}}return u&&u<a&&o(u,"IMPOSSIBLE","Map comment with trailing content"),s.range=[r.offset,a,u??a],s}(e,t,n,r,i):"block-seq"===n.type?function({composeNode:e,composeEmptyNode:t},n,r,o,i){const s=new(i?.nodeClass??De)(n.schema);n.atRoot&&(n.atRoot=!1);let a=r.offset,u=null;for(const{start:c,value:l}of r.items){const i=At(c,{indicator:"seq-item-ind",next:l,offset:a,onError:o,startOnNewline:!0});if(!i.found){if(!(i.anchor||i.tag||l)){u=i.end,i.comment&&(s.comment=i.comment);continue}l&&"block-seq"===l.type?o(i.end,"BAD_INDENT","All sequence items must start at the same column"):o(a,"MISSING_CHAR","Sequence item without - indicator")}const f=l?e(n,l,i,o):t(n,i.end,c,null,i,o);n.schema.compat&&jt(r.indent,l,o),a=f.range[2],s.items.push(f)}return s.range=[r.offset,a,u??a],s}(e,t,n,r,i):function({composeNode:e,composeEmptyNode:t},n,r,o,i){const s="{"===r.start.source,a=s?"flow map":"flow sequence",u=new(i?.nodeClass??(s?ke:De))(n.schema);u.flow=!0;const c=n.atRoot;c&&(n.atRoot=!1);let l=r.offset+r.start.source.length;for(let g=0;g<r.items.length;++g){const i=r.items[g],{start:c,key:f,sep:d,value:h}=i,p=At(c,{flow:a,indicator:"explicit-key-ind",next:f??d?.[0],offset:l,onError:o,startOnNewline:!1});if(!p.found){if(!(p.anchor||p.tag||d||h)){0===g&&p.comma?o(p.comma,"UNEXPECTED_TOKEN",`Unexpected , in ${a}`):g<r.items.length-1&&o(p.start,"UNEXPECTED_TOKEN",`Unexpected empty item in ${a}`),p.comment&&(u.comment?u.comment+="\n"+p.comment:u.comment=p.comment),l=p.end;continue}!s&&n.options.strict&&Pt(f)&&o(f,"MULTILINE_IMPLICIT_KEY","Implicit keys of flow sequence pairs need to be on a single line")}if(0===g)p.comma&&o(p.comma,"UNEXPECTED_TOKEN",`Unexpected , in ${a}`);else if(p.comma||o(p.start,"MISSING_CHAR",`Missing , between ${a} items`),p.comment){let e="";e:for(const t of c)switch(t.type){case"comma":case"space":break;case"comment":e=t.source.substring(1);break e;default:break e}if(e){let t=u.items[u.items.length-1];m(t)&&(t=t.value??t.key),t.comment?t.comment+="\n"+e:t.comment=e,p.comment=p.comment.substring(e.length+1)}}if(s||d||p.found){const r=p.end,m=f?e(n,f,p,o):t(n,r,c,null,p,o);Mt(f)&&o(m.range,"BLOCK_IN_FLOW",Tt);const g=At(d??[],{flow:a,indicator:"map-value-ind",next:h,offset:m.range[2],onError:o,startOnNewline:!1});if(g.found){if(!s&&!p.found&&n.options.strict){if(d)for(const e of d){if(e===g.found)break;if("newline"===e.type){o(e,"MULTILINE_IMPLICIT_KEY","Implicit keys of flow sequence pairs need to be on a single line");break}}p.start<g.found.offset-1024&&o(g.found,"KEY_OVER_1024_CHARS","The : indicator must be at most 1024 chars after the start of an implicit flow sequence key")}}else h&&("source"in h&&h.source&&":"===h.source[0]?o(h,"MISSING_CHAR",`Missing space after : in ${a}`):o(g.start,"MISSING_CHAR",`Missing , or : between ${a} items`));const y=h?e(n,h,g,o):g.found?t(n,g.end,d,null,g,o):null;y?Mt(h)&&o(y.range,"BLOCK_IN_FLOW",Tt):g.comment&&(m.comment?m.comment+="\n"+g.comment:m.comment=g.comment);const v=new ye(m,y);if(n.options.keepSourceTokens&&(v.srcToken=i),s){const e=u;Ft(n,e.items,m)&&o(r,"DUPLICATE_KEY","Map keys must be unique"),e.items.push(v)}else{const e=new ke(n.schema);e.flow=!0,e.items.push(v),u.items.push(e)}l=y?y.range[2]:g.end}else{const r=h?e(n,h,p,o):t(n,p.end,d,null,p,o);u.items.push(r),l=r.range[2],Mt(h)&&o(r.range,"BLOCK_IN_FLOW",Tt)}}const f=s?"}":"]",[d,...h]=r.end;let p=l;if(d&&d.source===f)p=d.offset+d.source.length;else{const e=a[0].toUpperCase()+a.substring(1);o(l,c?"MISSING_CHAR":"BAD_INDENT",c?`${e} must end with a ${f}`:`${e} in block collection must be sufficiently indented and end with a ${f}`),d&&1!==d.source.length&&h.unshift(d)}if(h.length>0){const e=Nt(h,p,n.options.strict,o);e.comment&&(u.comment?u.comment+="\n"+e.comment:u.comment=e.comment),u.range=[r.offset,p,e.offset]}else u.range=[r.offset,p,p];return u}(e,t,n,r,i),a=s.constructor;return"!"===o||o===a.tagName?(s.tag=a.tagName,s):(o&&(s.tag=o),s)}function Bt(e,t,n){const r=e.offset,o=function({offset:e,props:t},n,r){if("block-scalar-header"!==t[0].type)return r(t[0],"IMPOSSIBLE","Block scalar header not found"),null;const{source:o}=t[0],i=o[0];let s=0,a="",u=-1;for(let d=1;d<o.length;++d){const t=o[d];if(a||"-"!==t&&"+"!==t){const n=Number(t);!s&&n?s=n:-1===u&&(u=e+d)}else a=t}-1!==u&&r(u,"UNEXPECTED_TOKEN",`Block scalar header includes extra characters: ${o}`);let c=!1,l="",f=o.length;for(let d=1;d<t.length;++d){const e=t[d];switch(e.type){case"space":c=!0;case"newline":f+=e.source.length;break;case"comment":if(n&&!c){r(e,"MISSING_CHAR","Comments must be separated from other tokens by white space characters")}f+=e.source.length,l=e.source.substring(1);break;case"error":r(e,"UNEXPECTED_TOKEN",e.message),f+=e.source.length;break;default:{r(e,"UNEXPECTED_TOKEN",`Unexpected token in block scalar header: ${e.type}`);const t=e.source;t&&"string"==typeof t&&(f+=t.length)}}}return{mode:i,indent:s,chomp:a,comment:l,length:f}}(e,t,n);if(!o)return{value:"",type:null,comment:"",range:[r,r,r]};const i=">"===o.mode?U.BLOCK_FOLDED:U.BLOCK_LITERAL,s=e.source?function(e){const t=e.split(/\n( *)/),n=t[0],r=n.match(/^( *)/),o=[r?.[1]?[r[1],n.slice(r[1].length)]:["",n]];for(let i=1;i<t.length;i+=2)o.push([t[i],t[i+1]]);return o}(e.source):[];let a=s.length;for(let m=s.length-1;m>=0;--m){const e=s[m][1];if(""!==e&&"\r"!==e)break;a=m}if(0===a){const t="+"===o.chomp&&s.length>0?"\n".repeat(Math.max(1,s.length-1)):"";let n=r+o.length;return e.source&&(n+=e.source.length),{value:t,type:i,comment:o.comment,range:[r,n,n]}}let u=e.indent+o.indent,c=e.offset+o.length,l=0;for(let m=0;m<a;++m){const[e,t]=s[m];if(""!==t&&"\r"!==t){if(e.length<u){const t="Block scalars with more-indented leading empty lines must use an explicit indentation indicator";n(c+e.length,"MISSING_CHAR",t)}0===o.indent&&(u=e.length),l=m;break}0===o.indent&&e.length>u&&(u=e.length),c+=e.length+t.length+1}for(let m=s.length-1;m>=a;--m)s[m][0].length>u&&(a=m+1);let f="",d="",h=!1;for(let m=0;m<l;++m)f+=s[m][0].slice(u)+"\n";for(let m=l;m<a;++m){let[e,t]=s[m];c+=e.length+t.length+1;const r="\r"===t[t.length-1];if(r&&(t=t.slice(0,-1)),t&&e.length<u){const i=`Block scalar lines must not be less indented than their ${o.indent?"explicit indentation indicator":"first line"}`;n(c-t.length-(r?2:1),"BAD_INDENT",i),e=""}i===U.BLOCK_LITERAL?(f+=d+e.slice(u)+t,d="\n"):e.length>u||"\t"===t[0]?(" "===d?d="\n":h||"\n"!==d||(d="\n\n"),f+=d+e.slice(u)+t,d="\n",h=!0):""===t?"\n"===d?f+="\n":d="\n":(f+=d+t,d=" ",h=!1)}switch(o.chomp){case"-":break;case"+":for(let e=a;e<s.length;++e)f+="\n"+s[e][0].slice(u);"\n"!==f[f.length-1]&&(f+="\n");break;default:f+="\n"}const p=r+o.length+e.source.length;return{value:f,type:i,comment:o.comment,range:[r,p,p]}}function Lt(e,t,n){const{offset:r,type:o,source:i,end:s}=e;let a,u;const c=(e,t,o)=>n(r+e,t,o);switch(o){case"scalar":a=U.PLAIN,u=function(e,t){let n="";switch(e[0]){case"\t":n="a tab character";break;case",":n="flow indicator character ,";break;case"%":n="directive indicator character %";break;case"|":case">":n=`block scalar indicator ${e[0]}`;break;case"@":case"`":n=`reserved character ${e[0]}`}n&&t(0,"BAD_SCALAR_START",`Plain value cannot start with ${n}`);return zt(e)}(i,c);break;case"single-quoted-scalar":a=U.QUOTE_SINGLE,u=function(e,t){"'"===e[e.length-1]&&1!==e.length||t(e.length,"MISSING_CHAR","Missing closing 'quote");return zt(e.slice(1,-1)).replace(/''/g,"'")}(i,c);break;case"double-quoted-scalar":a=U.QUOTE_DOUBLE,u=function(e,t){let n="";for(let r=1;r<e.length-1;++r){const o=e[r];if("\r"!==o||"\n"!==e[r+1])if("\n"===o){const{fold:t,offset:o}=Ut(e,r);n+=t,r=o}else if("\\"===o){let o=e[++r];const i=qt[o];if(i)n+=i;else if("\n"===o)for(o=e[r+1];" "===o||"\t"===o;)o=e[1+ ++r];else if("\r"===o&&"\n"===e[r+1])for(o=e[1+ ++r];" "===o||"\t"===o;)o=e[1+ ++r];else if("x"===o||"u"===o||"U"===o){const i={x:2,u:4,U:8}[o];n+=Vt(e,r+1,i,t),r+=i}else{const o=e.substr(r-1,2);t(r-1,"BAD_DQ_ESCAPE",`Invalid escape sequence ${o}`),n+=o}}else if(" "===o||"\t"===o){const t=r;let i=e[r+1];for(;" "===i||"\t"===i;)i=e[1+ ++r];"\n"===i||"\r"===i&&"\n"===e[r+2]||(n+=r>t?e.slice(t,r+1):o)}else n+=o}'"'===e[e.length-1]&&1!==e.length||t(e.length,"MISSING_CHAR",'Missing closing "quote');return n}(i,c);break;default:return n(e,"UNEXPECTED_TOKEN",`Expected a flow scalar value, but found: ${o}`),{value:"",type:null,comment:"",range:[r,r+i.length,r+i.length]}}const l=r+i.length,f=Nt(s,l,t,n);return{value:u,type:a,comment:f.comment,range:[r,l,f.offset]}}function zt(e){let t,n;try{t=new RegExp("(.*?)(?<![ \t])[ \t]*\r?\n","sy"),n=new RegExp("[ \t]*(.*?)(?:(?<![ \t])[ \t]*)?\r?\n","sy")}catch(u){t=/(.*?)[ \t]*\r?\n/sy,n=/[ \t]*(.*?)[ \t]*\r?\n/sy}let r=t.exec(e);if(!r)return e;let o=r[1],i=" ",s=t.lastIndex;for(n.lastIndex=s;r=n.exec(e);)""===r[1]?"\n"===i?o+=i:i="\n":(o+=i+r[1],i=" "),s=n.lastIndex;const a=/[ \t]*(.*)/sy;return a.lastIndex=s,r=a.exec(e),o+i+(r?.[1]??"")}function Ut(e,t){let n="",r=e[t+1];for(;!(" "!==r&&"\t"!==r&&"\n"!==r&&"\r"!==r||"\r"===r&&"\n"!==e[t+2]);)"\n"===r&&(n+="\n"),r=e[(t+=1)+1];return n||(n=" "),{fold:n,offset:t}}const qt={0:"\0",a:"\x07",b:"\b",e:"\x1b",f:"\f",n:"\n",r:"\r",t:"\t",v:"\v",N:"\x85",_:"\xa0",L:"\u2028",P:"\u2029"," ":" ",'"':'"',"/":"/","\\":"\\","\t":"\t"};function Vt(e,t,n,r){const o=e.substr(t,n),i=o.length===n&&/^[0-9a-fA-F]+$/.test(o)?parseInt(o,16):NaN;if(isNaN(i)){const o=e.substr(t-2,n+2);return r(t-2,"BAD_DQ_ESCAPE",`Invalid escape sequence ${o}`),o}return String.fromCodePoint(i)}function Qt(e,t,n,r){const{value:o,type:i,comment:s,range:a}="block-scalar"===t.type?Bt(t,e.options.strict,r):Lt(t,e.options.strict,r),u=n?e.directives.tagName(n.source,(e=>r(n,"TAG_RESOLVE_FAILED",e))):null,l=n&&u?function(e,t,n,r,o){if("!"===n)return e[c];const i=[];for(const a of e.tags)if(!a.collection&&a.tag===n){if(!a.default||!a.test)return a;i.push(a)}for(const a of i)if(a.test?.test(t))return a;const s=e.knownTags[n];if(s&&!s.collection)return e.tags.push(Object.assign({},s,{default:!1,test:void 0})),s;return o(r,"TAG_RESOLVE_FAILED",`Unresolved tag: ${n}`,"tag:yaml.org,2002:str"!==n),e[c]}(e.schema,o,u,n,r):"scalar"===t.type?function({directives:e,schema:t},n,r,o){const i=t.tags.find((e=>e.default&&e.test?.test(n)))||t[c];if(t.compat){const s=t.compat.find((e=>e.default&&e.test?.test(n)))??t[c];if(i.tag!==s.tag){o(r,"TAG_RESOLVE_FAILED",`Value may be parsed as either ${e.tagString(i.tag)} or ${e.tagString(s.tag)}`,!0)}}return i}(e,o,t,r):e.schema[c];let f;try{const i=l.resolve(o,(e=>r(n??t,"TAG_RESOLVE_FAILED",e)),e.options);f=g(i)?i:new U(i)}catch(d){const e=d instanceof Error?d.message:String(d);r(n??t,"TAG_RESOLVE_FAILED",e),f=new U(o)}return f.range=a,f.source=o,i&&(f.type=i),u&&(f.tag=u),l.format&&(f.format=l.format),s&&(f.comment=s),f}function Xt(e,t,n){if(t){null===n&&(n=t.length);for(let r=n-1;r>=0;--r){let n=t[r];switch(n.type){case"space":case"comment":case"newline":e-=n.source.length;continue}for(n=t[++r];"space"===n?.type;)e+=n.source.length,n=t[++r];break}}return e}const Ht={composeNode:Kt,composeEmptyNode:Jt};function Kt(e,t,n,r){const{spaceBefore:o,comment:i,anchor:s,tag:a}=n;let u,c=!0;switch(t.type){case"alias":u=function({options:e},{offset:t,source:n,end:r},o){const i=new B(n.substring(1));""===i.source&&o(t,"BAD_ALIAS","Alias cannot be an empty string");i.source.endsWith(":")&&o(t+n.length-1,"BAD_ALIAS","Alias ending in : is ambiguous",!0);const s=t+n.length,a=Nt(r,s,e.strict,o);i.range=[t,s,a.offset],a.comment&&(i.comment=a.comment);return i}(e,t,r),(s||a)&&r(t,"ALIAS_PROPS","An alias node must not specify any properties");break;case"scalar":case"single-quoted-scalar":case"double-quoted-scalar":case"block-scalar":u=Qt(e,t,a,r),s&&(u.anchor=s.source.substring(1));break;case"block-map":case"block-seq":case"flow-collection":u=function(e,t,n,r,o){const i=r?t.directives.tagName(r.source,(e=>o(r,"TAG_RESOLVE_FAILED",e))):null,s="block-map"===n.type?"map":"block-seq"===n.type?"seq":"{"===n.start.source?"map":"seq";if(!r||!i||"!"===i||i===ke.tagName&&"map"===s||i===De.tagName&&"seq"===s||!s)return Rt(e,t,n,o,i);let a=t.schema.tags.find((e=>e.tag===i&&e.collection===s));if(!a){const u=t.schema.knownTags[i];if(!u||u.collection!==s)return u?.collection?o(r,"BAD_COLLECTION_TYPE",`${u.tag} used for ${s} collection, but expects ${u.collection}`,!0):o(r,"TAG_RESOLVE_FAILED",`Unresolved tag: ${i}`,!0),Rt(e,t,n,o,i);t.schema.tags.push(Object.assign({},u,{default:!1})),a=u}const u=Rt(e,t,n,o,i,a),c=a.resolve?.(u,(e=>o(r,"TAG_RESOLVE_FAILED",e)),t.options)??u,l=b(c)?c:new U(c);return l.range=u.range,l.tag=i,a?.format&&(l.format=a.format),l}(Ht,e,t,a,r),s&&(u.anchor=s.source.substring(1));break;default:r(t,"UNEXPECTED_TOKEN","error"===t.type?t.message:`Unsupported token (type: ${t.type})`),u=Jt(e,t.offset,void 0,null,n,r),c=!1}return s&&""===u.anchor&&r(s,"BAD_ALIAS","Anchor cannot be an empty string"),o&&(u.spaceBefore=!0),i&&("scalar"===t.type&&""===t.source?u.comment=i:u.commentBefore=i),e.options.keepSourceTokens&&c&&(u.srcToken=t),u}function Jt(e,t,n,r,{spaceBefore:o,comment:i,anchor:s,tag:a,end:u},c){const l=Qt(e,{type:"scalar",offset:Xt(t,n,r),indent:-1,source:""},a,c);return s&&(l.anchor=s.source.substring(1),""===l.anchor&&c(s,"BAD_ALIAS","Anchor cannot be an empty string")),o&&(l.spaceBefore=!0),i&&(l.comment=i,l.range[2]=u),l}function Wt(e){if("number"==typeof e)return[e,e+1];if(Array.isArray(e))return 2===e.length?e:[e[0],e[1]];const{offset:t,source:n}=e;return[t,t+("string"==typeof n?n.length:1)]}function Gt(e){let t="",n=!1,r=!1;for(let o=0;o<e.length;++o){const i=e[o];switch(i[0]){case"#":t+=(""===t?"":r?"\n\n":"\n")+(i.substring(1)||" "),n=!0,r=!1;break;case"%":"#"!==e[o+1]?.[0]&&(o+=1),n=!1;break;default:n||(r=!0),n=!1}}return{comment:t,afterEmptyLine:r}}class Zt{constructor(e={}){this.doc=null,this.atDirectives=!1,this.prelude=[],this.errors=[],this.warnings=[],this.onError=(e,t,n,r)=>{const o=Wt(e);r?this.warnings.push(new Ot(o,t,n)):this.errors.push(new Ct(o,t,n))},this.directives=new j({version:e.version||"1.2"}),this.options=e}decorate(e,t){const{comment:n,afterEmptyLine:r}=Gt(this.prelude);if(n){const o=e.contents;if(t)e.comment=e.comment?`${e.comment}\n${n}`:n;else if(r||e.directives.docStart||!o)e.commentBefore=n;else if(v(o)&&!o.flow&&o.items.length>0){let e=o.items[0];m(e)&&(e=e.key);const t=e.commentBefore;e.commentBefore=t?`${n}\n${t}`:n}else{const e=o.commentBefore;o.commentBefore=e?`${n}\n${e}`:n}}t?(Array.prototype.push.apply(e.errors,this.errors),Array.prototype.push.apply(e.warnings,this.warnings)):(e.errors=this.errors,e.warnings=this.warnings),this.prelude=[],this.errors=[],this.warnings=[]}streamInfo(){return{comment:Gt(this.prelude).comment,directives:this.directives,errors:this.errors,warnings:this.warnings}}*compose(e,t=!1,n=-1){for(const r of e)yield*this.next(r);yield*this.end(t,n)}*next(e){switch(e.type){case"directive":this.directives.add(e.source,((t,n,r)=>{const o=Wt(e);o[0]+=t,this.onError(o,"BAD_DIRECTIVE",n,r)})),this.prelude.push(e.source),this.atDirectives=!0;break;case"document":{const t=function(e,t,{offset:n,start:r,value:o,end:i},s){const a=Object.assign({_directives:t},e),u=new xt(void 0,a),c={atRoot:!0,directives:u.directives,options:u.options,schema:u.schema},l=At(r,{indicator:"doc-start",next:o??i?.[0],offset:n,onError:s,startOnNewline:!0});l.found&&(u.directives.docStart=!0,!o||"block-map"!==o.type&&"block-seq"!==o.type||l.hasNewline||s(l.end,"MISSING_CHAR","Block collection cannot start on same line with directives-end marker")),u.contents=o?Kt(c,o,l,s):Jt(c,l.end,r,null,l,s);const f=u.contents.range[2],d=Nt(i,f,!1,s);return d.comment&&(u.comment=d.comment),u.range=[n,f,d.offset],u}(this.options,this.directives,e,this.onError);this.atDirectives&&!t.directives.docStart&&this.onError(e,"MISSING_CHAR","Missing directives-end/doc-start indicator line"),this.decorate(t,!1),this.doc&&(yield this.doc),this.doc=t,this.atDirectives=!1;break}case"byte-order-mark":case"space":break;case"comment":case"newline":this.prelude.push(e.source);break;case"error":{const t=e.source?`${e.message}: ${JSON.stringify(e.source)}`:e.message,n=new Ct(Wt(e),"UNEXPECTED_TOKEN",t);this.atDirectives||!this.doc?this.errors.push(n):this.doc.errors.push(n);break}case"doc-end":{if(!this.doc){const t="Unexpected doc-end without preceding document";this.errors.push(new Ct(Wt(e),"UNEXPECTED_TOKEN",t));break}this.doc.directives.docEnd=!0;const t=Nt(e.end,e.offset+e.source.length,this.doc.options.strict,this.onError);if(this.decorate(this.doc,!0),t.comment){const e=this.doc.comment;this.doc.comment=e?`${e}\n${t.comment}`:t.comment}this.doc.range[2]=t.offset;break}default:this.errors.push(new Ct(Wt(e),"UNEXPECTED_TOKEN",`Unsupported token ${e.type}`))}}*end(e=!1,t=-1){if(this.doc)this.decorate(this.doc,!0),yield this.doc,this.doc=null;else if(e){const e=Object.assign({_directives:this.directives},this.options),n=new xt(void 0,e);this.atDirectives&&this.onError(t,"MISSING_CHAR","Missing directives-end indicator line"),n.range=[0,t,t],this.decorate(n,!1),yield n}}}function Yt(e,t=!0,n){if(e){const r=(e,t,r)=>{const o="number"==typeof e?e:Array.isArray(e)?e[0]:e.offset;if(!n)throw new Ct([o,o+1],t,r);n(o,t,r)};switch(e.type){case"scalar":case"single-quoted-scalar":case"double-quoted-scalar":return Lt(e,t,r);case"block-scalar":return Bt(e,t,r)}}return null}function en(e,t){const{implicitKey:n=!1,indent:r,inFlow:o=!1,offset:i=-1,type:s="PLAIN"}=t,a=ce({type:s,value:e},{implicitKey:n,indent:r>0?" ".repeat(r):"",inFlow:o,options:{blockQuote:!0,lineWidth:-1}}),u=t.end??[{type:"newline",offset:-1,indent:r,source:"\n"}];switch(a[0]){case"|":case">":{const e=a.indexOf("\n"),t=a.substring(0,e),n=a.substring(e+1)+"\n",o=[{type:"block-scalar-header",offset:i,indent:r,source:t}];return nn(o,u)||o.push({type:"newline",offset:-1,indent:r,source:"\n"}),{type:"block-scalar",offset:i,indent:r,props:o,source:n}}case'"':return{type:"double-quoted-scalar",offset:i,indent:r,source:a,end:u};case"'":return{type:"single-quoted-scalar",offset:i,indent:r,source:a,end:u};default:return{type:"scalar",offset:i,indent:r,source:a,end:u}}}function tn(e,t,n={}){let{afterKey:r=!1,implicitKey:o=!1,inFlow:i=!1,type:s}=n,a="indent"in e?e.indent:null;if(r&&"number"==typeof a&&(a+=2),!s)switch(e.type){case"single-quoted-scalar":s="QUOTE_SINGLE";break;case"double-quoted-scalar":s="QUOTE_DOUBLE";break;case"block-scalar":{const t=e.props[0];if("block-scalar-header"!==t.type)throw new Error("Invalid block scalar header");s=">"===t.source[0]?"BLOCK_FOLDED":"BLOCK_LITERAL";break}default:s="PLAIN"}const u=ce({type:s,value:t},{implicitKey:o||null===a,indent:null!==a&&a>0?" ".repeat(a):"",inFlow:i,options:{blockQuote:!0,lineWidth:-1}});switch(u[0]){case"|":case">":!function(e,t){const n=t.indexOf("\n"),r=t.substring(0,n),o=t.substring(n+1)+"\n";if("block-scalar"===e.type){const t=e.props[0];if("block-scalar-header"!==t.type)throw new Error("Invalid block scalar header");t.source=r,e.source=o}else{const{offset:t}=e,n="indent"in e?e.indent:-1,i=[{type:"block-scalar-header",offset:t,indent:n,source:r}];nn(i,"end"in e?e.end:void 0)||i.push({type:"newline",offset:-1,indent:n,source:"\n"});for(const r of Object.keys(e))"type"!==r&&"offset"!==r&&delete e[r];Object.assign(e,{type:"block-scalar",indent:n,props:i,source:o})}}(e,u);break;case'"':rn(e,u,"double-quoted-scalar");break;case"'":rn(e,u,"single-quoted-scalar");break;default:rn(e,u,"scalar")}}function nn(e,t){if(t)for(const n of t)switch(n.type){case"space":case"comment":e.push(n);break;case"newline":return e.push(n),!0}return!1}function rn(e,t,n){switch(e.type){case"scalar":case"double-quoted-scalar":case"single-quoted-scalar":e.type=n,e.source=t;break;case"block-scalar":{const r=e.props.slice(1);let o=t.length;"block-scalar-header"===e.props[0].type&&(o-=e.props[0].source.length);for(const e of r)e.offset+=o;delete e.props,Object.assign(e,{type:n,source:t,end:r});break}case"block-map":case"block-seq":{const r={type:"newline",offset:e.offset+t.length,indent:e.indent,source:"\n"};delete e.items,Object.assign(e,{type:n,source:t,end:[r]});break}default:{const r="indent"in e?e.indent:-1,o="end"in e&&Array.isArray(e.end)?e.end.filter((e=>"space"===e.type||"comment"===e.type||"newline"===e.type)):[];for(const t of Object.keys(e))"type"!==t&&"offset"!==t&&delete e[t];Object.assign(e,{type:n,indent:r,source:t,end:o})}}}const on=e=>"type"in e?sn(e):an(e);function sn(e){switch(e.type){case"block-scalar":{let t="";for(const n of e.props)t+=sn(n);return t+e.source}case"block-map":case"block-seq":{let t="";for(const n of e.items)t+=an(n);return t}case"flow-collection":{let t=e.start.source;for(const n of e.items)t+=an(n);for(const n of e.end)t+=n.source;return t}case"document":{let t=an(e);if(e.end)for(const n of e.end)t+=n.source;return t}default:{let t=e.source;if("end"in e&&e.end)for(const n of e.end)t+=n.source;return t}}}function an({start:e,key:t,sep:n,value:r}){let o="";for(const i of e)o+=i.source;if(t&&(o+=sn(t)),n)for(const i of n)o+=i.source;return r&&(o+=sn(r)),o}const un=Symbol("break visit"),cn=Symbol("skip children"),ln=Symbol("remove item");function fn(e,t){"type"in e&&"document"===e.type&&(e={start:e.start,value:e.value}),dn(Object.freeze([]),e,t)}function dn(e,t,n){let r=n(t,e);if("symbol"==typeof r)return r;for(const o of["key","value"]){const i=t[o];if(i&&"items"in i){for(let t=0;t<i.items.length;++t){const r=dn(Object.freeze(e.concat([[o,t]])),i.items[t],n);if("number"==typeof r)t=r-1;else{if(r===un)return un;r===ln&&(i.items.splice(t,1),t-=1)}}"function"==typeof r&&"key"===o&&(r=r(t,e))}}return"function"==typeof r?r(t,e):r}fn.BREAK=un,fn.SKIP=cn,fn.REMOVE=ln,fn.itemAtPath=(e,t)=>{let n=e;for(const[r,o]of t){const e=n?.[r];if(!e||!("items"in e))return;n=e.items[o]}return n},fn.parentCollection=(e,t)=>{const n=fn.itemAtPath(e,t.slice(0,-1)),r=t[t.length-1][0],o=n?.[r];if(o&&"items"in o)return o;throw new Error("Parent collection not found")};const hn="\ufeff",pn="\x02",mn="\x18",gn="\x1f",yn=e=>!!e&&"items"in e,vn=e=>!!e&&("scalar"===e.type||"single-quoted-scalar"===e.type||"double-quoted-scalar"===e.type||"block-scalar"===e.type);function bn(e){switch(e){case hn:return"<BOM>";case pn:return"<DOC>";case mn:return"<FLOW_END>";case gn:return"<SCALAR>";default:return JSON.stringify(e)}}function _n(e){switch(e){case hn:return"byte-order-mark";case pn:return"doc-mode";case mn:return"flow-error-end";case gn:return"scalar";case"---":return"doc-start";case"...":return"doc-end";case"":case"\n":case"\r\n":return"newline";case"-":return"seq-item-ind";case"?":return"explicit-key-ind";case":":return"map-value-ind";case"{":return"flow-map-start";case"}":return"flow-map-end";case"[":return"flow-seq-start";case"]":return"flow-seq-end";case",":return"comma"}switch(e[0]){case" ":case"\t":return"space";case"#":return"comment";case"%":return"directive-line";case"*":return"alias";case"&":return"anchor";case"!":return"tag";case"'":return"single-quoted-scalar";case'"':return"double-quoted-scalar";case"|":case">":return"block-scalar-header"}return null}function wn(e){switch(e){case void 0:case" ":case"\n":case"\r":case"\t":return!0;default:return!1}}const En="0123456789ABCDEFabcdef".split(""),kn="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz-#;/?:@&=+$_.!~*'()".split(""),xn=",[]{}".split(""),Dn=" ,[]{}\n\r\t".split(""),Sn=e=>!e||Dn.includes(e);class Cn{constructor(){this.atEnd=!1,this.blockScalarIndent=-1,this.blockScalarKeep=!1,this.buffer="",this.flowKey=!1,this.flowLevel=0,this.indentNext=0,this.indentValue=0,this.lineEndPos=null,this.next=null,this.pos=0}*lex(e,t=!1){e&&(this.buffer=this.buffer?this.buffer+e:e,this.lineEndPos=null),this.atEnd=!t;let n=this.next??"stream";for(;n&&(t||this.hasChars(1));)n=yield*this.parseNext(n)}atLineEnd(){let e=this.pos,t=this.buffer[e];for(;" "===t||"\t"===t;)t=this.buffer[++e];return!t||"#"===t||"\n"===t||"\r"===t&&"\n"===this.buffer[e+1]}charAt(e){return this.buffer[this.pos+e]}continueScalar(e){let t=this.buffer[e];if(this.indentNext>0){let n=0;for(;" "===t;)t=this.buffer[++n+e];if("\r"===t){const t=this.buffer[n+e+1];if("\n"===t||!t&&!this.atEnd)return e+n+1}return"\n"===t||n>=this.indentNext||!t&&!this.atEnd?e+n:-1}if("-"===t||"."===t){const t=this.buffer.substr(e,3);if(("---"===t||"..."===t)&&wn(this.buffer[e+3]))return-1}return e}getLine(){let e=this.lineEndPos;return("number"!=typeof e||-1!==e&&e<this.pos)&&(e=this.buffer.indexOf("\n",this.pos),this.lineEndPos=e),-1===e?this.atEnd?this.buffer.substring(this.pos):null:("\r"===this.buffer[e-1]&&(e-=1),this.buffer.substring(this.pos,e))}hasChars(e){return this.pos+e<=this.buffer.length}setNext(e){return this.buffer=this.buffer.substring(this.pos),this.pos=0,this.lineEndPos=null,this.next=e,null}peek(e){return this.buffer.substr(this.pos,e)}*parseNext(e){switch(e){case"stream":return yield*this.parseStream();case"line-start":return yield*this.parseLineStart();case"block-start":return yield*this.parseBlockStart();case"doc":return yield*this.parseDocument();case"flow":return yield*this.parseFlowCollection();case"quoted-scalar":return yield*this.parseQuotedScalar();case"block-scalar":return yield*this.parseBlockScalar();case"plain-scalar":return yield*this.parsePlainScalar()}}*parseStream(){let e=this.getLine();if(null===e)return this.setNext("stream");if(e[0]===hn&&(yield*this.pushCount(1),e=e.substring(1)),"%"===e[0]){let t=e.length;const n=e.indexOf("#");if(-1!==n){const r=e[n-1];" "!==r&&"\t"!==r||(t=n-1)}for(;;){const n=e[t-1];if(" "!==n&&"\t"!==n)break;t-=1}const r=(yield*this.pushCount(t))+(yield*this.pushSpaces(!0));return yield*this.pushCount(e.length-r),this.pushNewline(),"stream"}if(this.atLineEnd()){const t=yield*this.pushSpaces(!0);return yield*this.pushCount(e.length-t),yield*this.pushNewline(),"stream"}return yield pn,yield*this.parseLineStart()}*parseLineStart(){const e=this.charAt(0);if(!e&&!this.atEnd)return this.setNext("line-start");if("-"===e||"."===e){if(!this.atEnd&&!this.hasChars(4))return this.setNext("line-start");const e=this.peek(3);if("---"===e&&wn(this.charAt(3)))return yield*this.pushCount(3),this.indentValue=0,this.indentNext=0,"doc";if("..."===e&&wn(this.charAt(3)))return yield*this.pushCount(3),"stream"}return this.indentValue=yield*this.pushSpaces(!1),this.indentNext>this.indentValue&&!wn(this.charAt(1))&&(this.indentNext=this.indentValue),yield*this.parseBlockStart()}*parseBlockStart(){const[e,t]=this.peek(2);if(!t&&!this.atEnd)return this.setNext("block-start");if(("-"===e||"?"===e||":"===e)&&wn(t)){const e=(yield*this.pushCount(1))+(yield*this.pushSpaces(!0));return this.indentNext=this.indentValue+1,this.indentValue+=e,yield*this.parseBlockStart()}return"doc"}*parseDocument(){yield*this.pushSpaces(!0);const e=this.getLine();if(null===e)return this.setNext("doc");let t=yield*this.pushIndicators();switch(e[t]){case"#":yield*this.pushCount(e.length-t);case void 0:return yield*this.pushNewline(),yield*this.parseLineStart();case"{":case"[":return yield*this.pushCount(1),this.flowKey=!1,this.flowLevel=1,"flow";case"}":case"]":return yield*this.pushCount(1),"doc";case"*":return yield*this.pushUntil(Sn),"doc";case'"':case"'":return yield*this.parseQuotedScalar();case"|":case">":return t+=(yield*this.parseBlockScalarHeader()),t+=(yield*this.pushSpaces(!0)),yield*this.pushCount(e.length-t),yield*this.pushNewline(),yield*this.parseBlockScalar();default:return yield*this.parsePlainScalar()}}*parseFlowCollection(){let e,t,n=-1;do{e=yield*this.pushNewline(),e>0?(t=yield*this.pushSpaces(!1),this.indentValue=n=t):t=0,t+=(yield*this.pushSpaces(!0))}while(e+t>0);const r=this.getLine();if(null===r)return this.setNext("flow");if(-1!==n&&n<this.indentNext&&"#"!==r[0]||0===n&&(r.startsWith("---")||r.startsWith("..."))&&wn(r[3])){if(!(n===this.indentNext-1&&1===this.flowLevel&&("]"===r[0]||"}"===r[0])))return this.flowLevel=0,yield mn,yield*this.parseLineStart()}let o=0;for(;","===r[o];)o+=(yield*this.pushCount(1)),o+=(yield*this.pushSpaces(!0)),this.flowKey=!1;switch(o+=(yield*this.pushIndicators()),r[o]){case void 0:return"flow";case"#":return yield*this.pushCount(r.length-o),"flow";case"{":case"[":return yield*this.pushCount(1),this.flowKey=!1,this.flowLevel+=1,"flow";case"}":case"]":return yield*this.pushCount(1),this.flowKey=!0,this.flowLevel-=1,this.flowLevel?"flow":"doc";case"*":return yield*this.pushUntil(Sn),"flow";case'"':case"'":return this.flowKey=!0,yield*this.parseQuotedScalar();case":":{const e=this.charAt(1);if(this.flowKey||wn(e)||","===e)return this.flowKey=!1,yield*this.pushCount(1),yield*this.pushSpaces(!0),"flow"}default:return this.flowKey=!1,yield*this.parsePlainScalar()}}*parseQuotedScalar(){const e=this.charAt(0);let t=this.buffer.indexOf(e,this.pos+1);if("'"===e)for(;-1!==t&&"'"===this.buffer[t+1];)t=this.buffer.indexOf("'",t+2);else for(;-1!==t;){let e=0;for(;"\\"===this.buffer[t-1-e];)e+=1;if(e%2==0)break;t=this.buffer.indexOf('"',t+1)}const n=this.buffer.substring(0,t);let r=n.indexOf("\n",this.pos);if(-1!==r){for(;-1!==r;){const e=this.continueScalar(r+1);if(-1===e)break;r=n.indexOf("\n",e)}-1!==r&&(t=r-("\r"===n[r-1]?2:1))}if(-1===t){if(!this.atEnd)return this.setNext("quoted-scalar");t=this.buffer.length}return yield*this.pushToIndex(t+1,!1),this.flowLevel?"flow":"doc"}*parseBlockScalarHeader(){this.blockScalarIndent=-1,this.blockScalarKeep=!1;let e=this.pos;for(;;){const t=this.buffer[++e];if("+"===t)this.blockScalarKeep=!0;else if(t>"0"&&t<="9")this.blockScalarIndent=Number(t)-1;else if("-"!==t)break}return yield*this.pushUntil((e=>wn(e)||"#"===e))}*parseBlockScalar(){let e,t=this.pos-1,n=0;e:for(let r=this.pos;e=this.buffer[r];++r)switch(e){case" ":n+=1;break;case"\n":t=r,n=0;break;case"\r":{const e=this.buffer[r+1];if(!e&&!this.atEnd)return this.setNext("block-scalar");if("\n"===e)break}default:break e}if(!e&&!this.atEnd)return this.setNext("block-scalar");if(n>=this.indentNext){-1===this.blockScalarIndent?this.indentNext=n:this.indentNext+=this.blockScalarIndent;do{const e=this.continueScalar(t+1);if(-1===e)break;t=this.buffer.indexOf("\n",e)}while(-1!==t);if(-1===t){if(!this.atEnd)return this.setNext("block-scalar");t=this.buffer.length}}if(!this.blockScalarKeep)for(;;){let e=t-1,r=this.buffer[e];"\r"===r&&(r=this.buffer[--e]);const o=e;for(;" "===r||"\t"===r;)r=this.buffer[--e];if(!("\n"===r&&e>=this.pos&&e+1+n>o))break;t=e}return yield gn,yield*this.pushToIndex(t+1,!0),yield*this.parseLineStart()}*parsePlainScalar(){const e=this.flowLevel>0;let t,n=this.pos-1,r=this.pos-1;for(;t=this.buffer[++r];)if(":"===t){const t=this.buffer[r+1];if(wn(t)||e&&","===t)break;n=r}else if(wn(t)){let o=this.buffer[r+1];if("\r"===t&&("\n"===o?(r+=1,t="\n",o=this.buffer[r+1]):n=r),"#"===o||e&&xn.includes(o))break;if("\n"===t){const e=this.continueScalar(r+1);if(-1===e)break;r=Math.max(r,e-2)}}else{if(e&&xn.includes(t))break;n=r}return t||this.atEnd?(yield gn,yield*this.pushToIndex(n+1,!0),e?"flow":"doc"):this.setNext("plain-scalar")}*pushCount(e){return e>0?(yield this.buffer.substr(this.pos,e),this.pos+=e,e):0}*pushToIndex(e,t){const n=this.buffer.slice(this.pos,e);return n?(yield n,this.pos+=n.length,n.length):(t&&(yield""),0)}*pushIndicators(){switch(this.charAt(0)){case"!":return(yield*this.pushTag())+(yield*this.pushSpaces(!0))+(yield*this.pushIndicators());case"&":return(yield*this.pushUntil(Sn))+(yield*this.pushSpaces(!0))+(yield*this.pushIndicators());case"-":case"?":case":":{const e=this.flowLevel>0,t=this.charAt(1);if(wn(t)||e&&xn.includes(t))return e?this.flowKey&&(this.flowKey=!1):this.indentNext=this.indentValue+1,(yield*this.pushCount(1))+(yield*this.pushSpaces(!0))+(yield*this.pushIndicators())}}return 0}*pushTag(){if("<"===this.charAt(1)){let e=this.pos+2,t=this.buffer[e];for(;!wn(t)&&">"!==t;)t=this.buffer[++e];return yield*this.pushToIndex(">"===t?e+1:e,!1)}{let e=this.pos+1,t=this.buffer[e];for(;t;)if(kn.includes(t))t=this.buffer[++e];else{if("%"!==t||!En.includes(this.buffer[e+1])||!En.includes(this.buffer[e+2]))break;t=this.buffer[e+=3]}return yield*this.pushToIndex(e,!1)}}*pushNewline(){const e=this.buffer[this.pos];return"\n"===e?yield*this.pushCount(1):"\r"===e&&"\n"===this.charAt(1)?yield*this.pushCount(2):0}*pushSpaces(e){let t,n=this.pos-1;do{t=this.buffer[++n]}while(" "===t||e&&"\t"===t);const r=n-this.pos;return r>0&&(yield this.buffer.substr(this.pos,r),this.pos=n),r}*pushUntil(e){let t=this.pos,n=this.buffer[t];for(;!e(n);)n=this.buffer[++t];return yield*this.pushToIndex(t,!1)}}class On{constructor(){this.lineStarts=[],this.addNewLine=e=>this.lineStarts.push(e),this.linePos=e=>{let t=0,n=this.lineStarts.length;for(;t<n;){const r=t+n>>1;this.lineStarts[r]<e?t=r+1:n=r}if(this.lineStarts[t]===e)return{line:t+1,col:1};if(0===t)return{line:0,col:e};return{line:t,col:e-this.lineStarts[t-1]+1}}}}function $n(e,t){for(let n=0;n<e.length;++n)if(e[n].type===t)return!0;return!1}function An(e){for(let t=0;t<e.length;++t)switch(e[t].type){case"space":case"comment":case"newline":break;default:return t}return-1}function Pn(e){switch(e?.type){case"alias":case"scalar":case"single-quoted-scalar":case"double-quoted-scalar":case"flow-collection":return!0;default:return!1}}function jn(e){switch(e.type){case"document":return e.start;case"block-map":{const t=e.items[e.items.length-1];return t.sep??t.start}case"block-seq":return e.items[e.items.length-1].start;default:return[]}}function Fn(e){if(0===e.length)return[];let t=e.length;e:for(;--t>=0;)switch(e[t].type){case"doc-start":case"explicit-key-ind":case"map-value-ind":case"seq-item-ind":case"newline":break e}for(;"space"===e[++t]?.type;);return e.splice(t,e.length)}function In(e){if("flow-seq-start"===e.start.type)for(const t of e.items)!t.sep||t.value||$n(t.start,"explicit-key-ind")||$n(t.sep,"map-value-ind")||(t.key&&(t.value=t.key),delete t.key,Pn(t.value)?t.value.end?Array.prototype.push.apply(t.value.end,t.sep):t.value.end=t.sep:Array.prototype.push.apply(t.start,t.sep),delete t.sep)}class Nn{constructor(e){this.atNewLine=!0,this.atScalar=!1,this.indent=0,this.offset=0,this.onKeyLine=!1,this.stack=[],this.source="",this.type="",this.lexer=new Cn,this.onNewLine=e}*parse(e,t=!1){this.onNewLine&&0===this.offset&&this.onNewLine(0);for(const n of this.lexer.lex(e,t))yield*this.next(n);t||(yield*this.end())}*next(e){if(this.source=e,this.atScalar)return this.atScalar=!1,yield*this.step(),void(this.offset+=e.length);const t=_n(e);if(t)if("scalar"===t)this.atNewLine=!1,this.atScalar=!0,this.type="scalar";else{switch(this.type=t,yield*this.step(),t){case"newline":this.atNewLine=!0,this.indent=0,this.onNewLine&&this.onNewLine(this.offset+e.length);break;case"space":this.atNewLine&&" "===e[0]&&(this.indent+=e.length);break;case"explicit-key-ind":case"map-value-ind":case"seq-item-ind":this.atNewLine&&(this.indent+=e.length);break;case"doc-mode":case"flow-error-end":return;default:this.atNewLine=!1}this.offset+=e.length}else{const t=`Not a YAML token: ${e}`;yield*this.pop({type:"error",offset:this.offset,message:t,source:e}),this.offset+=e.length}}*end(){for(;this.stack.length>0;)yield*this.pop()}get sourceToken(){return{type:this.type,offset:this.offset,indent:this.indent,source:this.source}}*step(){const e=this.peek(1);if("doc-end"!==this.type||e&&"doc-end"===e.type){if(!e)return yield*this.stream();switch(e.type){case"document":return yield*this.document(e);case"alias":case"scalar":case"single-quoted-scalar":case"double-quoted-scalar":return yield*this.scalar(e);case"block-scalar":return yield*this.blockScalar(e);case"block-map":return yield*this.blockMap(e);case"block-seq":return yield*this.blockSequence(e);case"flow-collection":return yield*this.flowCollection(e);case"doc-end":return yield*this.documentEnd(e)}yield*this.pop()}else{for(;this.stack.length>0;)yield*this.pop();this.stack.push({type:"doc-end",offset:this.offset,source:this.source})}}peek(e){return this.stack[this.stack.length-e]}*pop(e){const t=e??this.stack.pop();if(t)if(0===this.stack.length)yield t;else{const e=this.peek(1);switch("block-scalar"===t.type?t.indent="indent"in e?e.indent:0:"flow-collection"===t.type&&"document"===e.type&&(t.indent=0),"flow-collection"===t.type&&In(t),e.type){case"document":e.value=t;break;case"block-scalar":e.props.push(t);break;case"block-map":{const n=e.items[e.items.length-1];if(n.value)return e.items.push({start:[],key:t,sep:[]}),void(this.onKeyLine=!0);if(!n.sep)return Object.assign(n,{key:t,sep:[]}),void(this.onKeyLine=!$n(n.start,"explicit-key-ind"));n.value=t;break}case"block-seq":{const n=e.items[e.items.length-1];n.value?e.items.push({start:[],value:t}):n.value=t;break}case"flow-collection":{const n=e.items[e.items.length-1];return void(!n||n.value?e.items.push({start:[],key:t,sep:[]}):n.sep?n.value=t:Object.assign(n,{key:t,sep:[]}))}default:yield*this.pop(),yield*this.pop(t)}if(!("document"!==e.type&&"block-map"!==e.type&&"block-seq"!==e.type||"block-map"!==t.type&&"block-seq"!==t.type)){const n=t.items[t.items.length-1];n&&!n.sep&&!n.value&&n.start.length>0&&-1===An(n.start)&&(0===t.indent||n.start.every((e=>"comment"!==e.type||e.indent<t.indent)))&&("document"===e.type?e.end=n.start:e.items.push({start:n.start}),t.items.splice(-1,1))}}else{const e="Tried to pop an empty stack";yield{type:"error",offset:this.offset,source:"",message:e}}}*stream(){switch(this.type){case"directive-line":return void(yield{type:"directive",offset:this.offset,source:this.source});case"byte-order-mark":case"space":case"comment":case"newline":return void(yield this.sourceToken);case"doc-mode":case"doc-start":{const e={type:"document",offset:this.offset,start:[]};return"doc-start"===this.type&&e.start.push(this.sourceToken),void this.stack.push(e)}}yield{type:"error",offset:this.offset,message:`Unexpected ${this.type} token in YAML stream`,source:this.source}}*document(e){if(e.value)return yield*this.lineEnd(e);switch(this.type){case"doc-start":return void(-1!==An(e.start)?(yield*this.pop(),yield*this.step()):e.start.push(this.sourceToken));case"anchor":case"tag":case"space":case"comment":case"newline":return void e.start.push(this.sourceToken)}const t=this.startBlockValue(e);t?this.stack.push(t):yield{type:"error",offset:this.offset,message:`Unexpected ${this.type} token in YAML document`,source:this.source}}*scalar(e){if("map-value-ind"===this.type){const t=Fn(jn(this.peek(2)));let n;e.end?(n=e.end,n.push(this.sourceToken),delete e.end):n=[this.sourceToken];const r={type:"block-map",offset:e.offset,indent:e.indent,items:[{start:t,key:e,sep:n}]};this.onKeyLine=!0,this.stack[this.stack.length-1]=r}else yield*this.lineEnd(e)}*blockScalar(e){switch(this.type){case"space":case"comment":case"newline":return void e.props.push(this.sourceToken);case"scalar":if(e.source=this.source,this.atNewLine=!0,this.indent=0,this.onNewLine){let e=this.source.indexOf("\n")+1;for(;0!==e;)this.onNewLine(this.offset+e),e=this.source.indexOf("\n",e)+1}yield*this.pop();break;default:yield*this.pop(),yield*this.step()}}*blockMap(e){const t=e.items[e.items.length-1];switch(this.type){case"newline":if(this.onKeyLine=!1,t.value){const n="end"in t.value?t.value.end:void 0,r=Array.isArray(n)?n[n.length-1]:void 0;"comment"===r?.type?n?.push(this.sourceToken):e.items.push({start:[this.sourceToken]})}else t.sep?t.sep.push(this.sourceToken):t.start.push(this.sourceToken);return;case"space":case"comment":if(t.value)e.items.push({start:[this.sourceToken]});else if(t.sep)t.sep.push(this.sourceToken);else{if(this.atIndentedComment(t.start,e.indent)){const n=e.items[e.items.length-2],r=n?.value?.end;if(Array.isArray(r))return Array.prototype.push.apply(r,t.start),r.push(this.sourceToken),void e.items.pop()}t.start.push(this.sourceToken)}return}if(this.indent>=e.indent){const n=!this.onKeyLine&&this.indent===e.indent&&t.sep;let r=[];if(n&&t.sep&&!t.value){const n=[];for(let r=0;r<t.sep.length;++r){const o=t.sep[r];switch(o.type){case"newline":n.push(r);break;case"space":break;case"comment":o.indent>e.indent&&(n.length=0);break;default:n.length=0}}n.length>=2&&(r=t.sep.splice(n[1]))}switch(this.type){case"anchor":case"tag":return void(n||t.value?(r.push(this.sourceToken),e.items.push({start:r}),this.onKeyLine=!0):t.sep?t.sep.push(this.sourceToken):t.start.push(this.sourceToken));case"explicit-key-ind":return t.sep||$n(t.start,"explicit-key-ind")?n||t.value?(r.push(this.sourceToken),e.items.push({start:r})):this.stack.push({type:"block-map",offset:this.offset,indent:this.indent,items:[{start:[this.sourceToken]}]}):t.start.push(this.sourceToken),void(this.onKeyLine=!0);case"map-value-ind":if($n(t.start,"explicit-key-ind"))if(t.sep)if(t.value)e.items.push({start:[],key:null,sep:[this.sourceToken]});else if($n(t.sep,"map-value-ind"))this.stack.push({type:"block-map",offset:this.offset,indent:this.indent,items:[{start:r,key:null,sep:[this.sourceToken]}]});else if(Pn(t.key)&&!$n(t.sep,"newline")){const e=Fn(t.start),n=t.key,r=t.sep;r.push(this.sourceToken),delete t.key,delete t.sep,this.stack.push({type:"block-map",offset:this.offset,indent:this.indent,items:[{start:e,key:n,sep:r}]})}else r.length>0?t.sep=t.sep.concat(r,this.sourceToken):t.sep.push(this.sourceToken);else if($n(t.start,"newline"))Object.assign(t,{key:null,sep:[this.sourceToken]});else{const e=Fn(t.start);this.stack.push({type:"block-map",offset:this.offset,indent:this.indent,items:[{start:e,key:null,sep:[this.sourceToken]}]})}else t.sep?t.value||n?e.items.push({start:r,key:null,sep:[this.sourceToken]}):$n(t.sep,"map-value-ind")?this.stack.push({type:"block-map",offset:this.offset,indent:this.indent,items:[{start:[],key:null,sep:[this.sourceToken]}]}):t.sep.push(this.sourceToken):Object.assign(t,{key:null,sep:[this.sourceToken]});return void(this.onKeyLine=!0);case"alias":case"scalar":case"single-quoted-scalar":case"double-quoted-scalar":{const o=this.flowScalar(this.type);return void(n||t.value?(e.items.push({start:r,key:o,sep:[]}),this.onKeyLine=!0):t.sep?this.stack.push(o):(Object.assign(t,{key:o,sep:[]}),this.onKeyLine=!0))}default:{const o=this.startBlockValue(e);if(o)return n&&"block-seq"!==o.type&&$n(t.start,"explicit-key-ind")&&e.items.push({start:r}),void this.stack.push(o)}}}yield*this.pop(),yield*this.step()}*blockSequence(e){const t=e.items[e.items.length-1];switch(this.type){case"newline":if(t.value){const n="end"in t.value?t.value.end:void 0,r=Array.isArray(n)?n[n.length-1]:void 0;"comment"===r?.type?n?.push(this.sourceToken):e.items.push({start:[this.sourceToken]})}else t.start.push(this.sourceToken);return;case"space":case"comment":if(t.value)e.items.push({start:[this.sourceToken]});else{if(this.atIndentedComment(t.start,e.indent)){const n=e.items[e.items.length-2],r=n?.value?.end;if(Array.isArray(r))return Array.prototype.push.apply(r,t.start),r.push(this.sourceToken),void e.items.pop()}t.start.push(this.sourceToken)}return;case"anchor":case"tag":if(t.value||this.indent<=e.indent)break;return void t.start.push(this.sourceToken);case"seq-item-ind":if(this.indent!==e.indent)break;return void(t.value||$n(t.start,"seq-item-ind")?e.items.push({start:[this.sourceToken]}):t.start.push(this.sourceToken))}if(this.indent>e.indent){const t=this.startBlockValue(e);if(t)return void this.stack.push(t)}yield*this.pop(),yield*this.step()}*flowCollection(e){const t=e.items[e.items.length-1];if("flow-error-end"===this.type){let e;do{yield*this.pop(),e=this.peek(1)}while(e&&"flow-collection"===e.type)}else if(0===e.end.length){switch(this.type){case"comma":case"explicit-key-ind":return void(!t||t.sep?e.items.push({start:[this.sourceToken]}):t.start.push(this.sourceToken));case"map-value-ind":return void(!t||t.value?e.items.push({start:[],key:null,sep:[this.sourceToken]}):t.sep?t.sep.push(this.sourceToken):Object.assign(t,{key:null,sep:[this.sourceToken]}));case"space":case"comment":case"newline":case"anchor":case"tag":return void(!t||t.value?e.items.push({start:[this.sourceToken]}):t.sep?t.sep.push(this.sourceToken):t.start.push(this.sourceToken));case"alias":case"scalar":case"single-quoted-scalar":case"double-quoted-scalar":{const n=this.flowScalar(this.type);return void(!t||t.value?e.items.push({start:[],key:n,sep:[]}):t.sep?this.stack.push(n):Object.assign(t,{key:n,sep:[]}))}case"flow-map-end":case"flow-seq-end":return void e.end.push(this.sourceToken)}const n=this.startBlockValue(e);n?this.stack.push(n):(yield*this.pop(),yield*this.step())}else{const t=this.peek(2);if("block-map"===t.type&&("map-value-ind"===this.type&&t.indent===e.indent||"newline"===this.type&&!t.items[t.items.length-1].sep))yield*this.pop(),yield*this.step();else if("map-value-ind"===this.type&&"flow-collection"!==t.type){const n=Fn(jn(t));In(e);const r=e.end.splice(1,e.end.length);r.push(this.sourceToken);const o={type:"block-map",offset:e.offset,indent:e.indent,items:[{start:n,key:e,sep:r}]};this.onKeyLine=!0,this.stack[this.stack.length-1]=o}else yield*this.lineEnd(e)}}flowScalar(e){if(this.onNewLine){let e=this.source.indexOf("\n")+1;for(;0!==e;)this.onNewLine(this.offset+e),e=this.source.indexOf("\n",e)+1}return{type:e,offset:this.offset,indent:this.indent,source:this.source}}startBlockValue(e){switch(this.type){case"alias":case"scalar":case"single-quoted-scalar":case"double-quoted-scalar":return this.flowScalar(this.type);case"block-scalar-header":return{type:"block-scalar",offset:this.offset,indent:this.indent,props:[this.sourceToken],source:""};case"flow-map-start":case"flow-seq-start":return{type:"flow-collection",offset:this.offset,indent:this.indent,start:this.sourceToken,items:[],end:[]};case"seq-item-ind":return{type:"block-seq",offset:this.offset,indent:this.indent,items:[{start:[this.sourceToken]}]};case"explicit-key-ind":{this.onKeyLine=!0;const t=Fn(jn(e));return t.push(this.sourceToken),{type:"block-map",offset:this.offset,indent:this.indent,items:[{start:t}]}}case"map-value-ind":{this.onKeyLine=!0;const t=Fn(jn(e));return{type:"block-map",offset:this.offset,indent:this.indent,items:[{start:t,key:null,sep:[this.sourceToken]}]}}}return null}atIndentedComment(e,t){return"comment"===this.type&&(!(this.indent<=t)&&e.every((e=>"newline"===e.type||"space"===e.type)))}*documentEnd(e){"doc-mode"!==this.type&&(e.end?e.end.push(this.sourceToken):e.end=[this.sourceToken],"newline"===this.type&&(yield*this.pop()))}*lineEnd(e){switch(this.type){case"comma":case"doc-start":case"doc-end":case"flow-seq-end":case"flow-map-end":case"map-value-ind":yield*this.pop(),yield*this.step();break;case"newline":this.onKeyLine=!1;default:e.end?e.end.push(this.sourceToken):e.end=[this.sourceToken],"newline"===this.type&&(yield*this.pop())}}}function Tn(e){const t=!1!==e.prettyErrors;return{lineCounter:e.lineCounter||t&&new On||null,prettyErrors:t}}function Mn(e,t={}){const{lineCounter:n,prettyErrors:r}=Tn(t),o=new Nn(n?.addNewLine),i=new Zt(t),s=Array.from(i.compose(o.parse(e)));if(r&&n)for(const a of s)a.errors.forEach($t(e,n)),a.warnings.forEach($t(e,n));return s.length>0?s:Object.assign([],{empty:!0},i.streamInfo())}function Rn(e,t={}){const{lineCounter:n,prettyErrors:r}=Tn(t),o=new Nn(n?.addNewLine),i=new Zt(t);let s=null;for(const a of i.compose(o.parse(e),!0,e.length))if(s){if("silent"!==s.options.logLevel){s.errors.push(new Ct(a.range.slice(0,2),"MULTIPLE_DOCS","Source contains multiple documents; please use YAML.parseAllDocuments()"));break}}else s=a;return r&&n&&(s.errors.forEach($t(e,n)),s.warnings.forEach($t(e,n))),s}function Bn(e,t,n){let r;"function"==typeof t?r=t:void 0===n&&t&&"object"==typeof t&&(n=t);const o=Rn(e,n);if(!o)return null;if(o.warnings.forEach((e=>de(o.options.logLevel,e))),o.errors.length>0){if("silent"!==o.options.logLevel)throw o.errors[0];o.errors=[]}return o.toJS(Object.assign({reviver:r},n))}function Ln(e,t,n){let r=null;if("function"==typeof t||Array.isArray(t)?r=t:void 0===n&&t&&(n=t),"string"==typeof n&&(n=n.length),"number"==typeof n){const e=Math.round(n);n=e<1?void 0:e>8?{indent:8}:{indent:e}}if(void 0===e){const{keepUndefined:e}=n??t??{};if(!e)return}return new xt(e,r,n).toString(n)}const zn=o},338:e=>{"use strict";e.exports=JSON.parse('{"$id":"https://raw.githubusercontent.com/ajv-validator/ajv/master/lib/refs/data.json#","description":"Meta-schema for $data reference (JSON AnySchema extension proposal)","type":"object","required":["$data"],"properties":{"$data":{"type":"string","anyOf":[{"format":"relative-json-pointer"},{"format":"json-pointer"}]}},"additionalProperties":false}')},70764:e=>{"use strict";e.exports=JSON.parse('{"$schema":"https://json-schema.org/draft/2020-12/schema","$id":"https://json-schema.org/draft/2020-12/meta/applicator","$vocabulary":{"https://json-schema.org/draft/2020-12/vocab/applicator":true},"$dynamicAnchor":"meta","title":"Applicator vocabulary meta-schema","type":["object","boolean"],"properties":{"prefixItems":{"$ref":"#/$defs/schemaArray"},"items":{"$dynamicRef":"#meta"},"contains":{"$dynamicRef":"#meta"},"additionalProperties":{"$dynamicRef":"#meta"},"properties":{"type":"object","additionalProperties":{"$dynamicRef":"#meta"},"default":{}},"patternProperties":{"type":"object","additionalProperties":{"$dynamicRef":"#meta"},"propertyNames":{"format":"regex"},"default":{}},"dependentSchemas":{"type":"object","additionalProperties":{"$dynamicRef":"#meta"},"default":{}},"propertyNames":{"$dynamicRef":"#meta"},"if":{"$dynamicRef":"#meta"},"then":{"$dynamicRef":"#meta"},"else":{"$dynamicRef":"#meta"},"allOf":{"$ref":"#/$defs/schemaArray"},"anyOf":{"$ref":"#/$defs/schemaArray"},"oneOf":{"$ref":"#/$defs/schemaArray"},"not":{"$dynamicRef":"#meta"}},"$defs":{"schemaArray":{"type":"array","minItems":1,"items":{"$dynamicRef":"#meta"}}}}')},96666:e=>{"use strict";e.exports=JSON.parse('{"$schema":"https://json-schema.org/draft/2020-12/schema","$id":"https://json-schema.org/draft/2020-12/meta/content","$vocabulary":{"https://json-schema.org/draft/2020-12/vocab/content":true},"$dynamicAnchor":"meta","title":"Content vocabulary meta-schema","type":["object","boolean"],"properties":{"contentEncoding":{"type":"string"},"contentMediaType":{"type":"string"},"contentSchema":{"$dynamicRef":"#meta"}}}')},43182:e=>{"use strict";e.exports=JSON.parse('{"$schema":"https://json-schema.org/draft/2020-12/schema","$id":"https://json-schema.org/draft/2020-12/meta/core","$vocabulary":{"https://json-schema.org/draft/2020-12/vocab/core":true},"$dynamicAnchor":"meta","title":"Core vocabulary meta-schema","type":["object","boolean"],"properties":{"$id":{"$ref":"#/$defs/uriReferenceString","$comment":"Non-empty fragments not allowed.","pattern":"^[^#]*#?$"},"$schema":{"$ref":"#/$defs/uriString"},"$ref":{"$ref":"#/$defs/uriReferenceString"},"$anchor":{"$ref":"#/$defs/anchorString"},"$dynamicRef":{"$ref":"#/$defs/uriReferenceString"},"$dynamicAnchor":{"$ref":"#/$defs/anchorString"},"$vocabulary":{"type":"object","propertyNames":{"$ref":"#/$defs/uriString"},"additionalProperties":{"type":"boolean"}},"$comment":{"type":"string"},"$defs":{"type":"object","additionalProperties":{"$dynamicRef":"#meta"}}},"$defs":{"anchorString":{"type":"string","pattern":"^[A-Za-z_][-A-Za-z0-9._]*$"},"uriString":{"type":"string","format":"uri"},"uriReferenceString":{"type":"string","format":"uri-reference"}}}')},71637:e=>{"use strict";e.exports=JSON.parse('{"$schema":"https://json-schema.org/draft/2020-12/schema","$id":"https://json-schema.org/draft/2020-12/meta/format-annotation","$vocabulary":{"https://json-schema.org/draft/2020-12/vocab/format-annotation":true},"$dynamicAnchor":"meta","title":"Format vocabulary meta-schema for annotation results","type":["object","boolean"],"properties":{"format":{"type":"string"}}}')},27889:e=>{"use strict";e.exports=JSON.parse('{"$schema":"https://json-schema.org/draft/2020-12/schema","$id":"https://json-schema.org/draft/2020-12/meta/meta-data","$vocabulary":{"https://json-schema.org/draft/2020-12/vocab/meta-data":true},"$dynamicAnchor":"meta","title":"Meta-data vocabulary meta-schema","type":["object","boolean"],"properties":{"title":{"type":"string"},"description":{"type":"string"},"default":true,"deprecated":{"type":"boolean","default":false},"readOnly":{"type":"boolean","default":false},"writeOnly":{"type":"boolean","default":false},"examples":{"type":"array","items":true}}}')},5124:e=>{"use strict";e.exports=JSON.parse('{"$schema":"https://json-schema.org/draft/2020-12/schema","$id":"https://json-schema.org/draft/2020-12/meta/unevaluated","$vocabulary":{"https://json-schema.org/draft/2020-12/vocab/unevaluated":true},"$dynamicAnchor":"meta","title":"Unevaluated applicator vocabulary meta-schema","type":["object","boolean"],"properties":{"unevaluatedItems":{"$dynamicRef":"#meta"},"unevaluatedProperties":{"$dynamicRef":"#meta"}}}')},83575:e=>{"use strict";e.exports=JSON.parse('{"$schema":"https://json-schema.org/draft/2020-12/schema","$id":"https://json-schema.org/draft/2020-12/meta/validation","$vocabulary":{"https://json-schema.org/draft/2020-12/vocab/validation":true},"$dynamicAnchor":"meta","title":"Validation vocabulary meta-schema","type":["object","boolean"],"properties":{"type":{"anyOf":[{"$ref":"#/$defs/simpleTypes"},{"type":"array","items":{"$ref":"#/$defs/simpleTypes"},"minItems":1,"uniqueItems":true}]},"const":true,"enum":{"type":"array","items":true},"multipleOf":{"type":"number","exclusiveMinimum":0},"maximum":{"type":"number"},"exclusiveMaximum":{"type":"number"},"minimum":{"type":"number"},"exclusiveMinimum":{"type":"number"},"maxLength":{"$ref":"#/$defs/nonNegativeInteger"},"minLength":{"$ref":"#/$defs/nonNegativeIntegerDefault0"},"pattern":{"type":"string","format":"regex"},"maxItems":{"$ref":"#/$defs/nonNegativeInteger"},"minItems":{"$ref":"#/$defs/nonNegativeIntegerDefault0"},"uniqueItems":{"type":"boolean","default":false},"maxContains":{"$ref":"#/$defs/nonNegativeInteger"},"minContains":{"$ref":"#/$defs/nonNegativeInteger","default":1},"maxProperties":{"$ref":"#/$defs/nonNegativeInteger"},"minProperties":{"$ref":"#/$defs/nonNegativeIntegerDefault0"},"required":{"$ref":"#/$defs/stringArray"},"dependentRequired":{"type":"object","additionalProperties":{"$ref":"#/$defs/stringArray"}}},"$defs":{"nonNegativeInteger":{"type":"integer","minimum":0},"nonNegativeIntegerDefault0":{"$ref":"#/$defs/nonNegativeInteger","default":0},"simpleTypes":{"enum":["array","boolean","integer","null","number","object","string"]},"stringArray":{"type":"array","items":{"type":"string"},"uniqueItems":true,"default":[]}}}')},47322:e=>{"use strict";e.exports=JSON.parse('{"$schema":"https://json-schema.org/draft/2020-12/schema","$id":"https://json-schema.org/draft/2020-12/schema","$vocabulary":{"https://json-schema.org/draft/2020-12/vocab/core":true,"https://json-schema.org/draft/2020-12/vocab/applicator":true,"https://json-schema.org/draft/2020-12/vocab/unevaluated":true,"https://json-schema.org/draft/2020-12/vocab/validation":true,"https://json-schema.org/draft/2020-12/vocab/meta-data":true,"https://json-schema.org/draft/2020-12/vocab/format-annotation":true,"https://json-schema.org/draft/2020-12/vocab/content":true},"$dynamicAnchor":"meta","title":"Core and Validation specifications meta-schema","allOf":[{"$ref":"meta/core"},{"$ref":"meta/applicator"},{"$ref":"meta/unevaluated"},{"$ref":"meta/validation"},{"$ref":"meta/meta-data"},{"$ref":"meta/format-annotation"},{"$ref":"meta/content"}],"type":["object","boolean"],"$comment":"This meta-schema also defines keywords that have appeared in previous drafts in order to prevent incompatible extensions as they remain in common use.","properties":{"definitions":{"$comment":"\\"definitions\\" has been replaced by \\"$defs\\".","type":"object","additionalProperties":{"$dynamicRef":"#meta"},"deprecated":true,"default":{}},"dependencies":{"$comment":"\\"dependencies\\" has been split and replaced by \\"dependentSchemas\\" and \\"dependentRequired\\" in order to serve their differing semantics.","type":"object","additionalProperties":{"anyOf":[{"$dynamicRef":"#meta"},{"$ref":"meta/validation#/$defs/stringArray"}]},"deprecated":true,"default":{}},"$recursiveAnchor":{"$comment":"\\"$recursiveAnchor\\" has been replaced by \\"$dynamicAnchor\\".","$ref":"meta/core#/$defs/anchorString","deprecated":true},"$recursiveRef":{"$comment":"\\"$recursiveRef\\" has been replaced by \\"$dynamicRef\\".","$ref":"meta/core#/$defs/uriReferenceString","deprecated":true}}}')}}]); \ No newline at end of file diff --git a/assets/js/common.654c0765.js.LICENSE.txt b/assets/js/common.3be48381.js.LICENSE.txt similarity index 100% rename from assets/js/common.654c0765.js.LICENSE.txt rename to assets/js/common.3be48381.js.LICENSE.txt diff --git a/assets/js/common.654c0765.js b/assets/js/common.654c0765.js deleted file mode 100644 index 4da1d727..00000000 --- a/assets/js/common.654c0765.js +++ /dev/null @@ -1,8 +0,0 @@ -/*! For license information please see common.654c0765.js.LICENSE.txt */ -(self.webpackChunk_ethdebug_format_web=self.webpackChunk_ethdebug_format_web||[]).push([[8592],{43159:(e,t,n)=>{var r,o,i,s,a=n(90682),u=n(96111),c=n(21500);r=e.exports,o="parse",i=()=>f,Object.defineProperty(r,o,{get:i,set:s,enumerable:!0,configurable:!0});const l=c.LRParser.deserialize({version:14,states:"%QO]QPOOOOQO'#Cd'#CdOtQQO'#CgO!PQPO'#ClOOQO'#Cs'#CsQOQPOOOOQO'#Ci'#CiO!WQPO'#ChO!]QPO'#CuOOQO,59R,59RO!eQPO,59ROOQO'#Cm'#CmO!jQPO'#CyOOQO,59W,59WO!rQPO,59WO]QPO,59SO!wQQO,59aO#SQPO,59aOOQO1G.m1G.mO#[QPO,59eO#cQPO,59eOOQO1G.r1G.rOOQO1G.n1G.nOOQO,59Y,59YO#kQQO1G.{OOQO-E6l-E6lOOQO,59Z,59ZO#vQPO1G/POOQO-E6m-E6mPwQQO'#CnP]QPO'#Co",stateData:"$R~OfOSPOSQOS~OSSOTSOUSOVSOYQO_ROhPO~OXXOhUOjUO~O^]O~P]Ok_O~Ol`OXiX~OXbO~OlcO^mX~O^eO~OhUOjUOXia~OlhOXia~O^ma~P]OlkO^ma~OhUOjUOXii~O^mi~P]OPQj~",goto:"!}nPPPPPPPPoPPow!PPPo!V!_!ePPP!kP!wPPP!z]SOR_cknQWQVg`hmXVQ`hmQ[RVjcknQaWRiaQd[RldQTOWZRcknRf_RYQR^R",nodeNames:"\u26a0 LineComment BlockComment JsonText True False Null Number String } { Object Property PropertyName ] [ Array ArrayValue",maxTerm:29,nodeProps:[["group",-7,4,5,6,7,8,11,16,"Value"],["openedBy",9,"{",14,"["],["closedBy",10,"}",15,"]"]],skippedNodes:[0,1,2],repeatNodeCount:2,tokenData:"!!`~R!OXY$RYZ$RZ[$R[]$R]^$Rpq$Rrs$Wtu.Xwx0b{|2Y|}6p}!O2Y!O!P2l!P!Q6u!Q!R3l!R![5Q![!]8t!c!k.X!k!l8y!l!p.X!p!q@}!q!}.X!}#OB|#O#P/S#P#QCR#R#S.X#T#Y.X#Y#ZCW#Z#b.X#b#cHU#c#h.X#h#iLU#i#o.X#o#p!!U#q#r!!Z$f$g$R$g$IV.X$IV$IW$R$IW$I|.X$I|$I}$R$I}$JO$R$JU;'S.X;'S;=`0[<%l?HT.X?HT?HU$R?HUO.X~$WOf~~$ZXOp$vpq$Wqr$Wrs%`s#O$W#O#P&s#P;'S$W;'S;=`.R<%lO$W~$yVOr$vrs%`s#O$v#O#P%e#P;'S$v;'S;=`&m<%lO$v~%eOh~~%haYZ$v]^$vrs$vwx$v!Q!R$v#O#P$v#T#U$v#U#V$v#Y#Z$v#b#c$v#f#g$v#h#i$v#i#j$v#j#k$v#l#m$v$I|$I}$v$I}$JO$v~&pP;=`<%l$v~&vbYZ$v]^$vrs$Wwx$v!P!Q(O!Q!R$v#O#P$W#T#U$v#U#V$W#Y#Z$W#b#c$W#f#g$W#h#i$W#i#j*c#j#k$v#l#m$v$I|$I}$v$I}$JO$v~(RWpq(Oqr(Ors%`s#O(O#O#P(k#P;'S(O;'S;=`*]<%lO(O~(nXrs(O!P!Q(O#O#P(O#U#V(O#Y#Z(O#b#c(O#f#g(O#h#i(O#i#j)Z~)^R!Q![)g!c!i)g#T#Z)g~)jR!Q![)s!c!i)s#T#Z)s~)vR!Q![*P!c!i*P#T#Z*P~*SR!Q![(O!c!i(O#T#Z(O~*`P;=`<%l(O~*f]Or$vrs%`s!Q$v!Q![+_![!c$v!c!i+_!i#O$v#O#P%e#P#T$v#T#Z+_#Z;'S$v;'S;=`&m<%lO$v~+b]Or$vrs%`s!Q$v!Q![,Z![!c$v!c!i,Z!i#O$v#O#P%e#P#T$v#T#Z,Z#Z;'S$v;'S;=`&m<%lO$v~,^]Or$vrs%`s!Q$v!Q![-V![!c$v!c!i-V!i#O$v#O#P%e#P#T$v#T#Z-V#Z;'S$v;'S;=`&m<%lO$v~-Y]Or$vrs%`s!Q$v!Q![$W![!c$v!c!i$W!i#O$v#O#P%e#P#T$v#T#Z$W#Z;'S$v;'S;=`&m<%lO$v~.UP;=`<%l$WQ.^[jQtu.X!Q![.X!c!}.X#O#P/S#R#S.X#T#o.X$g$IV.X$IW$I|.X$JU;'S.X;'S;=`0[<%l?HT.X?HUO.XQ/VP#i#j/YQ/]R!Q![/f!c!i/f#T#Z/fQ/iR!Q![/r!c!i/r#T#Z/rQ/uR!Q![0O!c!i0O#T#Z0OQ0RR!Q![.X!c!i.X#T#Z.XQ0_P;=`<%l.X~0eVOw0bwx%`x#O0b#O#P0z#P;'S0b;'S;=`2S<%lO0b~0}aYZ0b]^0brs0bwx0b!Q!R0b#O#P0b#T#U0b#U#V0b#Y#Z0b#b#c0b#f#g0b#h#i0b#i#j0b#j#k0b#l#m0b$I|$I}0b$I}$JO0b~2VP;=`<%l0bP2]T!O!P2l!Q!R3l!R![5Q!k!l5c!p!q6dP2oP!Q![2rP2wRVP!Q![2r!g!h3Q#X#Y3QP3TR{|3^}!O3^!Q![3dP3aP!Q![3dP3iPVP!Q![3dP3qTVP!O!P2r!Q![4Q!g!h3Q#X#Y3Q#l#m4fP4TQ!O!P4Z!Q![4QP4`QVP!g!h3Q#X#Y3QP4iR!Q![4r!c!i4r#T#Z4rP4wRVP!Q![4r!c!i4r#T#Z4rP5VSVP!O!P2r!Q![5Q!g!h3Q#X#Y3QP5fP#b#c5iP5lP#Y#Z5oP5rP#]#^5uP5xP#b#c5{P6OP#]#^6RP6UP#h#i6XP6[P#m#n6_P6dOVPP6gP#T#U6jP6mP!p!q6_~6uOl~~6xQz{7O!P!Q8V~7RTOz7Oz{7b{;'S7O;'S;=`8P<%lO7O~7eVOz7Oz{7b{!P7O!P!Q7z!Q;'S7O;'S;=`8P<%lO7O~8POQ~~8SP;=`<%l7O~8[UP~OY8VZ]8V^$I|8V$JO;'S8V;'S;=`8n<%lO8V~8qP;=`<%l8V~8yOk~R9O^jQtu.X!Q![.X!c!}.X#O#P/S#R#S.X#T#b.X#b#c9z#c#o.X$g$IV.X$IW$I|.X$JU;'S.X;'S;=`0[<%l?HT.X?HUO.XR:P^jQtu.X!Q![.X!c!}.X#O#P/S#R#S.X#T#Y.X#Y#Z:{#Z#o.X$g$IV.X$IW$I|.X$JU;'S.X;'S;=`0[<%l?HT.X?HUO.XR;Q^jQtu.X!Q![.X!c!}.X#O#P/S#R#S.X#T#].X#]#^;|#^#o.X$g$IV.X$IW$I|.X$JU;'S.X;'S;=`0[<%l?HT.X?HUO.XR<R^jQtu.X!Q![.X!c!}.X#O#P/S#R#S.X#T#b.X#b#c<}#c#o.X$g$IV.X$IW$I|.X$JU;'S.X;'S;=`0[<%l?HT.X?HUO.XR=S^jQtu.X!Q![.X!c!}.X#O#P/S#R#S.X#T#].X#]#^>O#^#o.X$g$IV.X$IW$I|.X$JU;'S.X;'S;=`0[<%l?HT.X?HUO.XR>T^jQtu.X!Q![.X!c!}.X#O#P/S#R#S.X#T#h.X#h#i?P#i#o.X$g$IV.X$IW$I|.X$JU;'S.X;'S;=`0[<%l?HT.X?HUO.XR?U^jQtu.X!Q![.X!c!}.X#O#P/S#R#S.X#T#m.X#m#n@Q#n#o.X$g$IV.X$IW$I|.X$JU;'S.X;'S;=`0[<%l?HT.X?HUO.XR@X[VPjQtu.X!Q![.X!c!}.X#O#P/S#R#S.X#T#o.X$g$IV.X$IW$I|.X$JU;'S.X;'S;=`0[<%l?HT.X?HUO.XRAS]jQtu.X!Q![.X!c!}.X#O#P/S#R#S.X#T#UA{#U#o.X$g$IV.X$IW$I|.X$JU;'S.X;'S;=`0[<%l?HT.X?HUO.XRBQ^jQtu.X!Q![.X!c!p.X!p!q@Q!q!}.X#O#P/S#R#S.X#T#o.X$g$IV.X$IW$I|.X$JU;'S.X;'S;=`0[<%l?HT.X?HUO.X~CRO_~~CWO^~RC]]jQtu.X!Q![.X!c!}.X#O#P/S#R#S.X#T#UDU#U#o.X$g$IV.X$IW$I|.X$JU;'S.X;'S;=`0[<%l?HT.X?HUO.XRDZ^jQtu.X!Q![.X!c!}.X#O#P/S#R#S.X#T#`.X#`#aEV#a#o.X$g$IV.X$IW$I|.X$JU;'S.X;'S;=`0[<%l?HT.X?HUO.XRE[^jQtu.X!Q![.X!c!}.X#O#P/S#R#S.X#T#g.X#g#hFW#h#o.X$g$IV.X$IW$I|.X$JU;'S.X;'S;=`0[<%l?HT.X?HUO.XRF]^jQtu.X!Q![.X!c!}.X#O#P/S#R#S.X#T#X.X#X#YGX#Y#o.X$g$IV.X$IW$I|.X$JU;'S.X;'S;=`0[<%l?HT.X?HUO.XRG`[TPjQtu.X!Q![.X!c!}.X#O#P/S#R#S.X#T#o.X$g$IV.X$IW$I|.X$JU;'S.X;'S;=`0[<%l?HT.X?HUO.XRHZ^jQtu.X!Q![.X!c!}.X#O#P/S#R#S.X#T#i.X#i#jIV#j#o.X$g$IV.X$IW$I|.X$JU;'S.X;'S;=`0[<%l?HT.X?HUO.XRI[^jQtu.X!Q![.X!c!}.X#O#P/S#R#S.X#T#`.X#`#aJW#a#o.X$g$IV.X$IW$I|.X$JU;'S.X;'S;=`0[<%l?HT.X?HUO.XRJ]^jQtu.X!Q![.X!c!}.X#O#P/S#R#S.X#T#`.X#`#aKX#a#o.X$g$IV.X$IW$I|.X$JU;'S.X;'S;=`0[<%l?HT.X?HUO.XRK`[UPjQtu.X!Q![.X!c!}.X#O#P/S#R#S.X#T#o.X$g$IV.X$IW$I|.X$JU;'S.X;'S;=`0[<%l?HT.X?HUO.XRLZ^jQtu.X!Q![.X!c!}.X#O#P/S#R#S.X#T#f.X#f#gMV#g#o.X$g$IV.X$IW$I|.X$JU;'S.X;'S;=`0[<%l?HT.X?HUO.XRM[^jQtu.X!Q![.X!c!}.X#O#P/S#R#S.X#T#i.X#i#jNW#j#o.X$g$IV.X$IW$I|.X$JU;'S.X;'S;=`0[<%l?HT.X?HUO.XRN]^jQtu.X!Q![.X!c!}.X#O#P/S#R#S.X#T#X.X#X#Y! X#Y#o.X$g$IV.X$IW$I|.X$JU;'S.X;'S;=`0[<%l?HT.X?HUO.XR! `[SPjQtu.X!Q![.X!c!}.X#O#P/S#R#S.X#T#o.X$g$IV.X$IW$I|.X$JU;'S.X;'S;=`0[<%l?HT.X?HUO.X~!!ZOY~~!!`OX~",tokenizers:[0,1],topRules:{JsonText:[0,3]},dialects:{json5:137},tokenPrec:0});function f(e,t,{dialect:n="json",tabWidth:r=4}={}){let o="JSON5"===n?(i=u,i&&i.__esModule?i.default:i).parse(e,t):JSON.parse(e,t);var i;let s=l.configure({strict:!0,dialect:"JSON5"===n?"json5":"json"}).parse(e),c=new Map,f=[""];return s.iterate({enter(t){let n=t.type.prop(a.NodeProp.group);if((null==n?void 0:n.includes("Value"))&&d(c,m(f),{value:h(e,t.from,r),valueEnd:h(e,t.to,r)}),"PropertyName"===t.name){let n=e.slice(t.from,t.to),o="'"===n[0]||'"'==n[0];f.push(o?n.slice(1,-1):n),d(c,m(f),{key:h(e,t.from,r),keyEnd:h(e,t.to,r)})}else"Array"===t.name&&f.push(0)},leave(e){"Property"===e.name||"Array"===e.name?f.pop():"ArrayValue"===e.name&&f[f.length-1]++}}),{data:o,pointers:Object.fromEntries(c)}}function d(e,t,n){let r=e.get(t);r={...r,...n},e.set(t,r)}function h(e,t,n){let r=function(e,t){let n=0;for(let r=0;r<t;r++)"\n"===e[r]&&n++;return n}(e,t),o=e.lastIndexOf("\n",t-1)+1,i=function(e,t,n,r){let o=0;for(let i=t;i<n;i++)o+="\t"===e[i]?r:1;return o}(e,o,t,n);return{line:r,column:i,pos:t}}const p=/[~/]/g;function m(e){let t="";for(let n of e)t+="string"==typeof n?n.replace(p,(e=>"~"===e?"~0":"~1"))+"/":String(n)+"/";return t.slice(0,-1)}},84560:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=r(n(2784)),i=r(n(54318)),s=r(n(5750));e.exports=(s.default,e=>e.reference?o.default.createElement(i.default,{...e}):o.default.createElement(s.default,{...e}))},54318:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var o=Object.getOwnPropertyDescriptor(t,n);o&&!("get"in o?!t.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,o)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),o=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),i=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&r(t,e,n);return o(t,e),t},s=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.codeReducer=t.parseCustomization=t.parseReference=void 0;const a=i(n(2784)),u=s(n(5750)),c="See full example on GitHub",l={code:"loading...",error:null,loading:null},f={fontSize:".9em",fontWeight:600,color:"#0E75DD",textAlign:"center",paddingBottom:"13px",textDecoration:"underline"};function d(e){const t=e.slice(e.indexOf("https"),-1),[n,r]=t.split("#"),o=globalThis||{};o.URL||(o.URL=URL);const[i,s,a,u,...c]=new o.URL(n).pathname.split("/").slice(1),[l,f]=r?r.split("-").map((e=>parseInt(e.slice(1),10)-1)):[0,1/0];return{url:`https://raw.githubusercontent.com/${i}/${s}/${u}/${c.join("/")}`,fromLine:l,toLine:f,title:c.join("/")}}function h(e){var t,n,r,o;const i=null===(n=null===(t=null==e?void 0:e.match(/title="(?<title>.*?)"/))||void 0===t?void 0:t.groups)||void 0===n?void 0:n.title,s=null==e?void 0:e.match(/referenceLinkText="(?<referenceLinkText>.*?)"/),a=null!==(o=null===(r=null==s?void 0:s.groups)||void 0===r?void 0:r.referenceLinkText)&&void 0!==o?o:c,u=null==e?void 0:e.match(/customStyling/),l=1===(null==u?void 0:u.length);return{title:i,linkText:a,noteStyling:1===(null==u?void 0:u.length)?{}:f,useCustomStyling:l}}function p(e,{type:t,value:n}){switch(t){case"reset":return l;case"loading":return{...e,loading:!0};case"loaded":return{...e,code:n,loading:!1};case"error":return{...e,error:n,loading:!1};default:return e}}t.parseReference=d,t.parseCustomization=h,t.codeReducer=p,t.default=function(e){const[t,n]=(0,a.useReducer)(p,l),r=d(e.children);!1!==t.loading&&async function({url:e,fromLine:t,toLine:n},r){let o;try{o=await fetch(e)}catch(a){return r({type:"error",value:a})}if(200!==o.status)return r({type:"error",value:await o.text()});const i=(await o.text()).split("\n").slice(t,(n||t)+1),s=i.reduce(((e,t)=>{if(0===t.length)return e;const n=t.match(/^\s+/);return n?Math.min(e,n[0].length):0}),1/0);r({type:"loaded",value:i.map((e=>e.slice(s))).join("\n")})}(r,n);const o=h(e.metastring),i={...e,metastring:o.title?` title="${o.title}"`:` title="${r.title}"`,children:l.code};return a.default.createElement("div",null,a.default.createElement(u.default,{...i},t.code),a.default.createElement("div",{style:o.noteStyling,className:o.useCustomStyling?"github-codeblock-reference-link":""},a.default.createElement("a",{href:e.children,target:"_blank"},o.linkText)))}},77501:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Cache=void 0;t.Cache=class{constructor(e={}){this._stats={hits:0,misses:0},this._data={},this._stdTTL=e.stdTTL}get stats(){return this._stats}get(e){const t=this._data[e];if(t&&(!this._stdTTL||(new Date).getTime()-t.ts<this._stdTTL))return this._stats.hits+=1,t.val;this._stats.misses+=1}set(e,t){this._data[e]={ts:(new Date).getTime(),val:t}}has(e){return e in this._data}purge(){Object.assign(this._stats,{hits:0,misses:0}),this._data={}}}},89728:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ResolveCrawler=void 0;const r=n(78458),o=n(5091),i=n(72579),s=n(18045);t.ResolveCrawler=class{constructor(e,t,n){this._resolved=n,this.resolvers=[],this.pointerGraph=new o.DepGraph({circular:!0}),this.pointerStemGraph=new o.DepGraph({circular:!0}),this.computeGraph=(e,t=[],n="#",r=[])=>{n||(n="#");let o=this._runner.computeRef({val:e,jsonPointer:n,pointerStack:r});if(void 0!==o)this._resolveRef({ref:o,val:e,parentPath:t,pointerStack:r,parentPointer:n,cacheKey:n,resolvingPointer:this.jsonPointer});else if("object"==typeof e)for(const i in e){if(!e.hasOwnProperty(i))continue;const a=e[i],u=s.addToJSONPointer(n,i);o=this._runner.computeRef({key:i,val:a,jsonPointer:u,pointerStack:r}),t.push(i),void 0!==o?this._resolveRef({ref:o,val:a,parentPath:t,parentPointer:u,pointerStack:r,cacheKey:s.uriToJSONPointer(o),resolvingPointer:this.jsonPointer}):"object"==typeof a&&this.computeGraph(a,t,u,r),t.pop()}},this._resolveRef=e=>{const{pointerStack:t,parentPath:n,parentPointer:o,ref:a}=e;if(s.uriIsJSONPointer(a)){if(this._runner.dereferenceInline){const e=s.uriToJSONPointer(a);let c;try{c=(0,r.pointerToPath)(e)}catch(u){return void this._resolved.errors.push({code:"PARSE_POINTER",message:`'${a}' JSON pointer is invalid`,uri:this._runner.baseUri,uriStack:this._runner.uriStack,pointerStack:[],path:[]})}let l=c.length>0;for(const t in c)if(n[t]!==c[t]){l=!1;break}if(l)return;this.pointerStemGraph.hasNode(e)||this.pointerStemGraph.addNode(e);let f="#",d="";for(let t=0;t<n.length;t++){const r=n[t];if(r===c[t])f+=`/${r}`;else{d+=`/${r}`;const t=`${f}${d}`;t!==o&&t!==e&&(this.pointerStemGraph.hasNode(t)||this.pointerStemGraph.addNode(t),this.pointerStemGraph.addDependency(t,e))}}this.pointerGraph.hasNode(o)||this.pointerGraph.addNode(o),this.pointerGraph.hasNode(e)||this.pointerGraph.addNode(e);const h=`${this._runner.baseUri.toString()}${e}`;this._runner.graph.hasNode(h)||this._runner.graph.addNode(h,{refMap:{}}),this._runner.root!==h&&this._runner.graph.addDependency(this._runner.root,h),this.pointerGraph.addDependency(o,e),this.jsonPointer&&(t.length<2||!t.includes(e))&&(t.push(e),this.computeGraph(i(this._runner.source,c),c,e,t),t.pop())}}else{const t=a.toString();this._runner.graph.hasNode(t)||this._runner.graph.addNode(t,{refMap:{}}),this._runner.root!==t&&this._runner.graph.addDependency(this._runner.root,t),this._runner.dereferenceRemote&&!this._runner.atMaxUriDepth()&&this.resolvers.push(this._runner.lookupAndResolveUri(e))}},this.jsonPointer=t,this._runner=e}}},20028:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.defaultGetRef=t.Cache=void 0;n(22970).__exportStar(n(88737),t);var r=n(77501);Object.defineProperty(t,"Cache",{enumerable:!0,get:function(){return r.Cache}});var o=n(62163);Object.defineProperty(t,"defaultGetRef",{enumerable:!0,get:function(){return o.defaultGetRef}})},88737:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Resolver=void 0;const r=n(5091),o=n(77501),i=n(62163);t.Resolver=class{constructor(e={}){this.ctx={},this.uriCache=e.uriCache||new o.Cache,this.resolvers=e.resolvers||{},this.getRef=e.getRef,this.transformRef=e.transformRef,this.dereferenceInline=void 0===e.dereferenceInline||e.dereferenceInline,this.dereferenceRemote=void 0===e.dereferenceRemote||e.dereferenceRemote,this.parseResolveResult=e.parseResolveResult,this.transformDereferenceResult=e.transformDereferenceResult,this.ctx=e.ctx}resolve(e,t={}){const n=new r.DepGraph({circular:!0});return new i.ResolveRunner(e,n,Object.assign(Object.assign({uriCache:this.uriCache,resolvers:this.resolvers,getRef:this.getRef,transformRef:this.transformRef,dereferenceInline:this.dereferenceInline,dereferenceRemote:this.dereferenceRemote,parseResolveResult:this.parseResolveResult,transformDereferenceResult:this.transformDereferenceResult},t),{ctx:Object.assign({},this.ctx||{},t.ctx||{})})).resolve(t)}}},62163:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ResolveRunner=t.defaultGetRef=void 0;const r=n(22970),o=n(78458),i=n(84441),s=n(5091),a=n(30412),u=n(72579),c=n(16765),l=n(30957),f=n(47156),d=n(77501),h=n(89728),p=n(18045),m=n(6238);let g=0;t.defaultGetRef=(e,t)=>{if(t&&"object"==typeof t&&"string"==typeof t.$ref)return t.$ref};class y{constructor(e,n=new s.DepGraph({circular:!0}),a={}){this.ctx={},this.computeRef=e=>{const t=this.getRef(e.key,e.val);if(void 0===t)return;let n=new f.ExtendedURI(t);if("#"!==t[0]){if(this.isFile(n)){let e=n.toString();n.is("absolute")||(e=this.baseUri.toString()?(0,i.join)((0,i.dirname)(this.baseUri.toString()),(0,i.stripRoot)(e)):""),e&&(n=new l((0,i.toFSPath)(e)).fragment(n.fragment()))}else(n.scheme().includes("http")||""===n.scheme()&&this.baseUri.scheme().includes("http"))&&""!==this.baseUri.authority()&&""===n.authority()&&(n=n.absoluteTo(this.baseUri))}return String(n).length>0&&this.isFile(this.baseUri)&&this.isFile(n)&&this.baseUri.path()===n.path()&&(n=new f.ExtendedURI(`#${n.fragment()}`)),this.transformRef?this.transformRef(Object.assign(Object.assign({},e),{ref:n,uri:this.baseUri}),this.ctx):n},this.atMaxUriDepth=()=>this.uriStack.length>=100,this.lookupUri=e=>r.__awaiter(this,void 0,void 0,(function*(){const{ref:t}=e;let n=t.scheme();!this.resolvers[n]&&this.isFile(t)&&(n="file");const r=this.resolvers[n];if(!r)throw new Error(`No resolver defined for scheme '${t.scheme()||"file"}' in ref ${t.toString()}`);let o=yield r.resolve(t,this.ctx);if(this.parseResolveResult)try{o=(yield this.parseResolveResult({uriResult:o,result:o,targetAuthority:t,parentAuthority:this.baseUri,parentPath:e.parentPath,fragment:e.fragment})).result}catch(i){throw new Error(`Could not parse remote reference response for '${t.toString()}' - ${String(i)}`)}return new y(o,this.graph,{depth:this.depth+1,baseUri:t.toString(),root:t,uriStack:this.uriStack,uriCache:this.uriCache,resolvers:this.resolvers,transformRef:this.transformRef,parseResolveResult:this.parseResolveResult,transformDereferenceResult:this.transformDereferenceResult,dereferenceRemote:this.dereferenceRemote,dereferenceInline:this.dereferenceInline,ctx:this.ctx})})),this.lookupAndResolveUri=e=>r.__awaiter(this,void 0,void 0,(function*(){const{val:t,ref:n,resolvingPointer:r,parentPointer:i,pointerStack:s}=e,a=e.parentPath?e.parentPath.slice():[],u=this.computeUriCacheKey(n),l={uri:n,pointerStack:s,targetPath:r===i?[]:a};if(this.uriStack.includes(u))return l.resolved={result:t,graph:this.graph,refMap:{},errors:[],runner:this},l;{let e;const r=this.baseUri.toString(),i=r&&0!==this.depth?r:null;try{if(this.atMaxUriDepth())throw new Error(`Max uri depth (${this.uriStack.length}) reached. Halting, this is probably a circular loop.`);e=yield this.lookupUri({ref:n.clone().fragment(""),fragment:n.fragment(),cacheKey:u,parentPath:a}),i&&(e.uriStack=e.uriStack.concat(i))}catch(f){l.error={code:"RESOLVE_URI",message:String(f),uri:n,uriStack:i?this.uriStack.concat(i):this.uriStack,pointerStack:s,path:a}}if(e&&(l.resolved=yield e.resolve({jsonPointer:p.uriToJSONPointer(n),parentPath:a}),l.resolved.errors.length))for(const s of l.resolved.errors)if("POINTER_MISSING"===s.code&&s.path.join("/")===n.fragment().slice(1)){const e=n.fragment?(0,o.trimStart)(s.path,(0,o.trimStart)(n.fragment(),"/").split("/")):s.path;e&&e.length?c(l.resolved.result,e,t):l.resolved.result&&(l.resolved.result=t)}}return l})),this.id=g+=1,this.depth=a.depth||0,this._source=e,this.resolvers=a.resolvers||{};const u=a.baseUri||"";let h=new l(u||"");this.isFile(h)&&(h=new l((0,i.toFSPath)(u))),this.baseUri=h,this.uriStack=a.uriStack||[],this.uriCache=a.uriCache||new d.Cache,this.root=a.root&&a.root.toString()||this.baseUri.toString()||"root",this.graph=n,this.graph.hasNode(this.root)||this.graph.addNode(this.root,{refMap:{},data:this._source}),this.baseUri&&0===this.depth&&this.uriCache.set(this.computeUriCacheKey(this.baseUri),this),this.getRef=a.getRef||t.defaultGetRef,this.transformRef=a.transformRef,this.depth?this.dereferenceInline=!0:this.dereferenceInline=void 0===a.dereferenceInline||a.dereferenceInline,this.dereferenceRemote=void 0===a.dereferenceRemote||a.dereferenceRemote,this.parseResolveResult=a.parseResolveResult,this.transformDereferenceResult=a.transformDereferenceResult,this.ctx=a.ctx,this.lookupUri=m(this.lookupUri,{serializer:this._cacheKeySerializer,cache:{create:()=>this.uriCache}})}get source(){return this._source}resolve(e){return r.__awaiter(this,void 0,void 0,(function*(){const t={result:this.source,graph:this.graph,refMap:{},errors:[],runner:this};let n;const r=e&&e.jsonPointer&&e.jsonPointer.trim();if(r&&"#"!==r&&"#/"!==r){try{n=(0,o.pointerToPath)(r)}catch(f){return t.errors.push({code:"PARSE_POINTER",message:`'${r}' JSON pointer is invalid`,uri:this.baseUri,uriStack:this.uriStack,pointerStack:[],path:[]}),t}t.result=u(t.result,n)}if(void 0===t.result)return t.errors.push({code:"POINTER_MISSING",message:`'${r}' does not exist @ '${this.baseUri.toString()}'`,uri:this.baseUri,uriStack:this.uriStack,pointerStack:[],path:n||[]}),t;const i=new h.ResolveCrawler(this,r,t);i.computeGraph(t.result,n,r||"");let s=[];if(i.resolvers.length&&(s=yield Promise.all(i.resolvers)),s.length)for(const e of s){let r=e.targetPath;r.length||(r=n||[]),t.refMap[String(this.baseUri.clone().fragment((0,o.pathToPointer)(r)))]=String(e.uri),this._setGraphNodeEdge(String(this.root),(0,o.pathToPointer)(r),String(e.uri)),e.error&&t.errors.push(e.error),e.resolved&&(e.resolved.errors&&(t.errors=t.errors.concat(e.resolved.errors)),void 0!==e.resolved.result&&(this._source=(0,a.default)(this._source,(t=>{if(e.resolved){if(!r.length)return e.resolved.result;c(t,r,e.resolved.result),this._setGraphNodeData(String(e.uri),e.resolved.result)}}))))}if("object"==typeof this._source?(this.dereferenceInline&&(this._source=(0,a.default)(this._source,(e=>{let n=[];try{n=i.pointerGraph.overallOrder();for(const r of n){const n=i.pointerGraph.dependantsOf(r);if(!n.length)continue;const s=(0,o.pointerToPath)(r),l=0===s.length?(0,a.original)(e):u(e,s);for(const a of n){let n;const u=(0,o.pointerToPath)(a),f=i.pointerStemGraph.dependenciesOf(r);for(const e of f)if((0,o.startsWith)(u,(0,o.pointerToPath)(e))){n=!0;break}n||(t.refMap[(0,o.pathToPointer)(u)]=(0,o.pathToPointer)(s),this._setGraphNodeEdge(this.root,(0,o.pathToPointer)(u),(0,o.pathToPointer)(s)),void 0!==l?(c(e,u,l),this._setGraphNodeData((0,o.pathToPointer)(s),l)):t.errors.push({code:"POINTER_MISSING",message:`'${r}' does not exist`,path:u,uri:this.baseUri,uriStack:this.uriStack,pointerStack:[]}))}}}catch(r){}}))),t.result=n?u(this._source,n):this._source):t.result=this._source,this.transformDereferenceResult){const o=new l(r||"");try{const{result:n,error:r}=yield this.transformDereferenceResult({source:this.source,result:t.result,targetAuthority:o,parentAuthority:this.baseUri,parentPath:e&&e.parentPath||[],fragment:o.fragment()});if(t.result=n,r)throw new Error(`Could not transform dereferenced result for '${o.toString()}' - ${String(r)}`)}catch(d){t.errors.push({code:"TRANSFORM_DEREFERENCED",message:`Error: Could not transform dereferenced result for '${this.baseUri.toString()}${""!==o.fragment()?`#${o.fragment()}`:""}' - ${String(d)}`,uri:o,uriStack:this.uriStack,pointerStack:[],path:n})}}return this._setGraphNodeData(this.root,this._source),t}))}_cacheKeySerializer(e){return e&&"object"==typeof e&&e.cacheKey?e.cacheKey:JSON.stringify(arguments)}computeUriCacheKey(e){return e.clone().fragment("").toString()}isFile(e){const t=e.scheme();if("file"===t)return!0;if(t){if(!this.resolvers[t])return!0}else{if("/"===e.toString().charAt(0))return!0;if(this.baseUri){const e=this.baseUri.scheme();return Boolean(!e||"file"===e||!this.resolvers[e])}}return!1}_setGraphNodeData(e,t){if(!this.graph.hasNode(e))return;const n=this.graph.getNodeData(e)||{};n.data=t,this.graph.setNodeData(e,n)}_setGraphNodeEdge(e,t,n){if(!this.graph.hasNode(e))return;const r=this.graph.getNodeData(e)||{};r.refMap=r.refMap||{},r.refMap[t]=n,this.graph.setNodeData(e,r)}}t.ResolveRunner=y},47156:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ExtendedURI=void 0;const r=n(30957);t.ExtendedURI=class extends r{constructor(e){super(e),this._value=e.trim()}get length(){return this._value.length}}},18045:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.uriIsJSONPointer=t.uriToJSONPointer=t.addToJSONPointer=void 0;const n=(e,t,n)=>{const r=e.toString();let o="",i=r,s=0,a=i.indexOf(t);for(;a>-1;)o+=r.substring(s,s+a)+n,i=i.substring(a+t.length,i.length),s+=a+t.length,a=i.indexOf(t);return i.length>0&&(o+=r.substring(r.length-i.length,r.length)),o};t.addToJSONPointer=(e,t)=>{return`${e}/${r=t,n(n(r,"~","~0"),"/","~1")}`;var r};t.uriToJSONPointer=e=>"length"in e&&0===e.length?"":""!==e.fragment()?`#${e.fragment()}`:""===e.href()?"#":"";t.uriIsJSONPointer=e=>(!("length"in e)||e.length>0)&&""===e.path()},78458:(e,t,n)=>{"use strict";n.r(t),n.d(t,{BUNDLE_ROOT:()=>re,ERRORS_ROOT:()=>oe,KEYS:()=>Fe,bundleTarget:()=>ie,decodePointer:()=>Q,decodePointerFragment:()=>ae,decodePointerUriFragment:()=>Q,decycle:()=>ue,encodePointer:()=>ce,encodePointerFragment:()=>M,encodePointerUriFragment:()=>L,encodeUriPointer:()=>B,extractPointerFromRef:()=>le,extractSourceFromRef:()=>Z,getFirstPrimitiveProperty:()=>fe,getJsonPathForPosition:()=>de,getLastPathSegment:()=>he,getLocationForJsonPath:()=>pe,hasRef:()=>I,isExternalRef:()=>G,isLocalRef:()=>N,isPlainObject:()=>A,parseTree:()=>ge,parseWithPointers:()=>me,pathToPointer:()=>z,pointerToPath:()=>X,remapRefs:()=>W,renameObjectKey:()=>_e,reparentBundleTarget:()=>Ee,resolveExternalRef:()=>xe,resolveExternalRefWithLocation:()=>De,resolveInlineRef:()=>te,resolveInlineRefWithLocation:()=>ne,safeParse:()=>Se,safeStringify:()=>Oe,startsWith:()=>$e,stringify:()=>Ae,toPropertyPath:()=>Pe,trapAccess:()=>Ne,traverse:()=>J,trimStart:()=>Te});var r,o=n(76635),i=n(84441);function s(e,t){void 0===t&&(t=!1);var n=e.length,r=0,o="",i=0,s=16,l=0,f=0,d=0,h=0,p=0;function m(t,n){for(var o=0,i=0;o<t||!n;){var s=e.charCodeAt(r);if(s>=48&&s<=57)i=16*i+s-48;else if(s>=65&&s<=70)i=16*i+s-65+10;else{if(!(s>=97&&s<=102))break;i=16*i+s-97+10}r++,o++}return o<t&&(i=-1),i}function g(){if(o="",p=0,i=r,f=l,h=d,r>=n)return i=n,s=17;var t=e.charCodeAt(r);if(a(t)){do{r++,o+=String.fromCharCode(t),t=e.charCodeAt(r)}while(a(t));return s=15}if(u(t))return r++,o+=String.fromCharCode(t),13===t&&10===e.charCodeAt(r)&&(r++,o+="\n"),l++,d=r,s=14;switch(t){case 123:return r++,s=1;case 125:return r++,s=2;case 91:return r++,s=3;case 93:return r++,s=4;case 58:return r++,s=6;case 44:return r++,s=5;case 34:return r++,o=function(){for(var t="",o=r;;){if(r>=n){t+=e.substring(o,r),p=2;break}var i=e.charCodeAt(r);if(34===i){t+=e.substring(o,r),r++;break}if(92!==i){if(i>=0&&i<=31){if(u(i)){t+=e.substring(o,r),p=2;break}p=6}r++}else{if(t+=e.substring(o,r),++r>=n){p=2;break}switch(e.charCodeAt(r++)){case 34:t+='"';break;case 92:t+="\\";break;case 47:t+="/";break;case 98:t+="\b";break;case 102:t+="\f";break;case 110:t+="\n";break;case 114:t+="\r";break;case 116:t+="\t";break;case 117:var s=m(4,!0);s>=0?t+=String.fromCharCode(s):p=4;break;default:p=5}o=r}}return t}(),s=10;case 47:var g=r-1;if(47===e.charCodeAt(r+1)){for(r+=2;r<n&&!u(e.charCodeAt(r));)r++;return o=e.substring(g,r),s=12}if(42===e.charCodeAt(r+1)){r+=2;for(var v=n-1,b=!1;r<v;){var _=e.charCodeAt(r);if(42===_&&47===e.charCodeAt(r+1)){r+=2,b=!0;break}r++,u(_)&&(13===_&&10===e.charCodeAt(r)&&r++,l++,d=r)}return b||(r++,p=1),o=e.substring(g,r),s=13}return o+=String.fromCharCode(t),r++,s=16;case 45:if(o+=String.fromCharCode(t),++r===n||!c(e.charCodeAt(r)))return s=16;case 48:case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:return o+=function(){var t=r;if(48===e.charCodeAt(r))r++;else for(r++;r<e.length&&c(e.charCodeAt(r));)r++;if(r<e.length&&46===e.charCodeAt(r)){if(!(++r<e.length&&c(e.charCodeAt(r))))return p=3,e.substring(t,r);for(r++;r<e.length&&c(e.charCodeAt(r));)r++}var n=r;if(r<e.length&&(69===e.charCodeAt(r)||101===e.charCodeAt(r)))if((++r<e.length&&43===e.charCodeAt(r)||45===e.charCodeAt(r))&&r++,r<e.length&&c(e.charCodeAt(r))){for(r++;r<e.length&&c(e.charCodeAt(r));)r++;n=r}else p=3;return e.substring(t,n)}(),s=11;default:for(;r<n&&y(t);)r++,t=e.charCodeAt(r);if(i!==r){switch(o=e.substring(i,r)){case"true":return s=8;case"false":return s=9;case"null":return s=7}return s=16}return o+=String.fromCharCode(t),r++,s=16}}function y(e){if(a(e)||u(e))return!1;switch(e){case 125:case 93:case 123:case 91:case 34:case 58:case 44:case 47:return!1}return!0}return{setPosition:function(e){r=e,o="",i=0,s=16,p=0},getPosition:function(){return r},scan:t?function(){var e;do{e=g()}while(e>=12&&e<=15);return e}:g,getToken:function(){return s},getTokenValue:function(){return o},getTokenOffset:function(){return i},getTokenLength:function(){return r-i},getTokenStartLine:function(){return f},getTokenStartCharacter:function(){return i-h},getTokenError:function(){return p}}}function a(e){return 32===e||9===e||11===e||12===e||160===e||5760===e||e>=8192&&e<=8203||8239===e||8287===e||12288===e||65279===e}function u(e){return 10===e||13===e||8232===e||8233===e}function c(e){return e>=48&&e<=57}function l(e,t,n){void 0===n&&(n=r.DEFAULT);var o=s(e,!1);function i(e){return e?function(){return e(o.getTokenOffset(),o.getTokenLength(),o.getTokenStartLine(),o.getTokenStartCharacter())}:function(){return!0}}function a(e){return e?function(t){return e(t,o.getTokenOffset(),o.getTokenLength(),o.getTokenStartLine(),o.getTokenStartCharacter())}:function(){return!0}}var u=i(t.onObjectBegin),c=a(t.onObjectProperty),l=i(t.onObjectEnd),f=i(t.onArrayBegin),d=i(t.onArrayEnd),h=a(t.onLiteralValue),p=a(t.onSeparator),m=i(t.onComment),g=a(t.onError),y=n&&n.disallowComments,v=n&&n.allowTrailingComma;function b(){for(;;){var e=o.scan();switch(o.getTokenError()){case 4:_(14);break;case 5:_(15);break;case 3:_(13);break;case 1:y||_(11);break;case 2:_(12);break;case 6:_(16)}switch(e){case 12:case 13:y?_(10):m();break;case 16:_(1);break;case 15:case 14:break;default:return e}}}function _(e,t,n){if(void 0===t&&(t=[]),void 0===n&&(n=[]),g(e),t.length+n.length>0)for(var r=o.getToken();17!==r;){if(-1!==t.indexOf(r)){b();break}if(-1!==n.indexOf(r))break;r=b()}}function w(e){var t=o.getTokenValue();return e?h(t):c(t),b(),!0}function E(){switch(o.getToken()){case 3:return function(){f(),b();for(var e=!1;4!==o.getToken()&&17!==o.getToken();){if(5===o.getToken()){if(e||_(4,[],[]),p(","),b(),4===o.getToken()&&v)break}else e&&_(6,[],[]);E()||_(4,[],[4,5]),e=!0}return d(),4!==o.getToken()?_(8,[4],[]):b(),!0}();case 1:return function(){u(),b();for(var e=!1;2!==o.getToken()&&17!==o.getToken();){if(5===o.getToken()){if(e||_(4,[],[]),p(","),b(),2===o.getToken()&&v)break}else e&&_(6,[],[]);(10!==o.getToken()?(_(3,[],[2,5]),0):(w(!1),6===o.getToken()?(p(":"),b(),E()||_(4,[],[2,5])):_(5,[],[2,5]),1))||_(4,[],[2,5]),e=!0}return l(),2!==o.getToken()?_(7,[2],[]):b(),!0}();case 10:return w(!0);default:return function(){switch(o.getToken()){case 11:var e=0;try{"number"!=typeof(e=JSON.parse(o.getTokenValue()))&&(_(2),e=0)}catch(t){_(2)}h(e);break;case 7:h(null);break;case 8:h(!0);break;case 9:h(!1);break;default:return!1}return b(),!0}()}}return b(),17===o.getToken()?!!n.allowEmptyContent||(_(4,[],[]),!1):E()?(17!==o.getToken()&&_(9,[],[]),!0):(_(4,[],[]),!1)}!function(e){e.DEFAULT={allowTrailingComma:!1}}(r||(r={}));var f=s,d=function e(t,n,r){if(void 0===r&&(r=!1),function(e,t,n){return void 0===n&&(n=!1),t>=e.offset&&t<e.offset+e.length||n&&t===e.offset+e.length}(t,n,r)){var o=t.children;if(Array.isArray(o))for(var i=0;i<o.length&&o[i].offset<=n;i++){var s=e(o[i],n,r);if(s)return s}return t}},h=function e(t){if(!t.parent||!t.parent.children)return[];var n=e(t.parent);if("property"===t.parent.type){var r=t.parent.children[0].value;n.push(r)}else if("array"===t.parent.type){var o=t.parent.children.indexOf(t);-1!==o&&n.push(o)}return n},p=l;function m(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"<unknown ParseErrorCode>"}const g=`__object_order_${Math.floor(Date.now()/36e5)}__`,y=Symbol.for(g),v=(String(y),{defineProperty:(e,t,n)=>(!Object.prototype.hasOwnProperty.call(e,t)&&y in e?e[y].push(t):"value"in n&&t===y&&-1===n.value.lastIndexOf(y)&&n.value.push(y),Reflect.defineProperty(e,t,n)),deleteProperty(e,t){const n=Object.prototype.hasOwnProperty.call(e,t),r=Reflect.deleteProperty(e,t);if(r&&n&&y in e){const n=e[y].indexOf(t);-1!==n&&e[y].splice(n,1)}return r},ownKeys:e=>y in e?e[y]:Reflect.ownKeys(e),set(e,t,n){const r=Object.prototype.hasOwnProperty.call(e,t),o=Reflect.set(e,t,n);return o&&!r&&y in e&&e[y].push(t),o}});function b(e,t=Reflect.ownKeys(e)){E(e);const n=new Proxy(e,v);return function(e,t){y in e?(e[y].length=0,e[y].push(...t)):Reflect.defineProperty(e,y,{configurable:!0,value:t})}(n,t),n}function _(e){return null!==e&&"object"==typeof e}function w(e){if(!_(e))return!1;if(void 0!==e[Symbol.toStringTag]){const t=Object.getPrototypeOf(e);return null===t||t===Object.prototype}return"Object"===function(e){const t=e[Symbol.toStringTag];if("string"==typeof t)return t;const n=Reflect.apply(Object.prototype.toString,e,[]);return n.slice(8,n.length-1)}(e)}function E(e,t){if(function(){if("undefined"==typeof process||!_(process)||!_(process.env))return!1;return!1}()&&!w(e))throw new TypeError(t)}var k,x,D,S,C;!function(e){e.None="none",e.Declared="declared",e.InheritedFromService="inheritedFromService"}(k||(k={})),function(e){e.Unspecified="unspecified",e.Simple="simple",e.Matrix="matrix",e.Label="label",e.Form="form",e.CommaDelimited="commaDelimited",e.SpaceDelimited="spaceDelimited",e.PipeDelimited="pipeDelimited",e.DeepObject="deepObject",e.TabDelimited="tabDelimited"}(x||(x={})),function(e){e[e.Error=0]="Error",e[e.Warning=1]="Warning",e[e.Information=2]="Information",e[e.Hint=3]="Hint"}(D||(D={})),function(e){e.Article="article",e.HttpService="http_service",e.HttpServer="http_server",e.HttpOperation="http_operation",e.HttpCallback="http_callback",e.Model="model",e.Generic="generic",e.Unknown="unknown",e.TableOfContents="table_of_contents",e.SpectralRuleset="spectral_ruleset",e.Styleguide="styleguide",e.Image="image",e.StoplightResolutions="stoplight_resolutions",e.StoplightOverride="stoplight_override"}(S||(S={})),function(e){e.Json="json",e.Markdown="markdown",e.Yaml="yaml",e.Javascript="javascript",e.Apng="apng",e.Avif="avif",e.Bmp="bmp",e.Gif="gif",e.Jpeg="jpeg",e.Png="png",e.Svg="svg",e.Webp="webp"}(C||(C={}));var O=n(27822),$=n.n(O);function A(e){if("object"!=typeof e||null===e)return!1;const t=Object.getPrototypeOf(e);return null===t||t===Object.prototype||"function"==typeof e.constructor&&Function.toString.call(Object)===Function.toString.call(e.constructor)}function P(e,t,n){if(!A(e)&&!Array.isArray(e)||!(t in e))throw new ReferenceError(`Could not resolve '${n}'`)}function j(e){if("string"!=typeof e.$ref)throw new TypeError("$ref should be a string")}const F=e=>A(e)&&"$ref"in e,I=e=>F(e)&&"string"==typeof e.$ref,N=e=>e.length>0&&("#"===e||/^#\S*$/.test(e)),T=(e,t,n)=>{const r=e.toString();let o="",i=r,s=0,a=i.indexOf(t);for(;a>-1;)o+=r.substring(s,s+a)+n,i=i.substring(a+t.length,i.length),s+=a+t.length,a=i.indexOf(t);return i.length>0&&(o+=r.substring(r.length-i.length,r.length)),o},M=e=>"number"==typeof e?e:T(T(e,"~","~0"),"/","~1"),R=/[^a-zA\u2013Z0\u20139_.!~*'()\/\-\u{D800}-\u{DFFF}]/gu;function B(e){return e.replace(R,encodeURIComponent)}const L=e=>{const t=M(e);return"number"==typeof t?t:B(t)},z=e=>U(e),U=e=>{if(e&&"object"!=typeof e)throw new TypeError("Invalid type: path must be an array of segments.");return 0===e.length?"#":`#/${e.map(L).join("/")}`};function q(e){try{return decodeURIComponent(e)}catch(t){return e}}const V=/%[0-9a-f]+/gi,Q=e=>{let t;try{t=decodeURIComponent(e)}catch(n){t=e.replace(V,q)}return T(T(t,"~1","/"),"~0","~")},X=e=>H(e),H=e=>{if("string"!=typeof e)throw new TypeError("Invalid type: JSON Pointers are represented as strings.");if(0===e.length||"#"!==e[0])throw new URIError("Invalid JSON Pointer syntax; URI fragment identifiers must begin with a hash.");if(1===e.length)return[];if("/"!==e[1])throw new URIError("Invalid JSON Pointer syntax.");return(e=>{const t=e.length,n=[];let r=-1;for(;++r<t;)n.push(Q(e[r]));return n})(e.substring(2).split("/"))},K=(e,t,n)=>{const r={value:e,path:n};t.onEnter&&t.onEnter(r);for(const o of Object.keys(e)){const r=e[o];t.onProperty&&t.onProperty({parent:e,parentPath:n,property:o,propertyValue:r}),"object"==typeof r&&null!==r&&K(r,t,n.concat(o))}t.onLeave&&t.onLeave(r)},J=(e,t)=>{"object"==typeof e&&null!==e&&K(e,"function"==typeof t?{onProperty:t}:t,[])};function W(e,t,n){J(e,{onProperty({property:e,propertyValue:r,parent:o}){"$ref"===e&&"string"==typeof r&&r.startsWith(t)&&(o.$ref=`${n}${r.slice(t.length)}`)}})}const G=e=>e.length>0&&"#"!==e[0],Z=e=>{if("string"!=typeof e||0===e.length||!G(e))return null;const t=e.indexOf("#");return-1===t?e:e.slice(0,t)};function Y(e,t){return A(t)&&A(e)&&("summary"in e||"description"in e)?Object.assign(Object.assign(Object.assign({},t),"description"in e?{description:e.description}:null),"summary"in e?{summary:e.summary}:null):t}function*ee(e,t,n){F(e.value)&&(j(e.value),yield[-1,e.value]);for(const[r,o]of t.entries())P(e.value,o,n),e.value=e.value[o],F(e.value)&&(j(e.value),yield[r,e.value])}function te(e,t){return ne(e,t).value}function ne(e,t){return function e(t,n,r,o){if(null!==Z(n))throw new ReferenceError("Cannot resolve external references");const i=X(n);let s=[...i];"#"===n&&F(t)&&(j(t),i.unshift(...X(t.$ref)));const a={value:t};for(const[u,c]of ee(a,i,n)){if(r.includes(c))return{source:null,location:null!=o?o:s,value:r[r.length-1]};r.push(c);const n=e(t,c.$ref,r,s);a.value=n.value,(s=n.location).push(...i.slice(u+1))}return{source:null,location:s,value:r.length>0?Y(r[r.length-1],a.value):a.value}}(e,t,[])}const re="#/__bundled__",oe="#/__errors__",ie=({document:e,path:t,bundleRoot:n="#/__bundled__",errorsRoot:r="#/__errors__",cloneDocument:i=!0,keyProvider:s},a)=>{if(t===n||t===r)throw new Error("Roots do not make any sense");const u=i?(0,o.cloneDeep)(e):e;return se(u,X(n),X(r),t,s)(t,{[t]:!0},a)},se=(e,t,n,r,i)=>{const s=new Set,a=(u,c,l,f={},d={},h={})=>{const p=X(u),m=(0,o.get)(e,p);J(l||m,{onEnter:({value:n})=>{if(I(n)&&N(n.$ref)){const l=n.$ref;if(h[l])return;if(l===u&&(f[l]="#"),f[l])return void(n.$ref=f[l]);let p,m,g,y,v;try{let n;p=X(l),i&&(n=i({document:e,path:p})),n||(n=(({document:e,path:t})=>0===t.length?"root":Array.isArray((0,o.get)(e,t.slice(0,-1)))?`${t[t.length-2]}_${t[t.length-1]}`:String(t[t.length-1]))({document:e,path:p})),g=n;let r=1;for(;s.has(g);)if(g=`${n}_${++r}`,r>20)throw new Error(`Keys ${n}_2 through ${n}_20 already taken.`);s.add(g),m=[...t,g],y=z(m)}catch(e){h[l]=e instanceof Error?e.message:String(e)}if(!p||!m||!y)return;if("object"==typeof e&&null!==e&&!(v=(0,o.get)(e,p)))try{v=te(Object(e),l)}catch(e){}void 0!==v&&(f[l]=y,n.$ref=y,(0,o.has)(d,m)||(Array.isArray(v)?(0,o.set)(d,m,new Array(v.length).fill(null)):"object"==typeof v&&(0,o.setWith)(d,m,{},Object),(0,o.set)(d,m,v),"#"===l?function(e,t,n,r){const i=n.map((e=>`[${JSON.stringify(e)}]`)).join(""),s=JSON.parse(JSON.stringify((0,o.omit)(Object(e),i))),a={};(0,o.set)(t,r,s),(0,o.set)(s,n,a),W(s,"#",z(r)),a.$ref="#"}(e,d,X(r),m):c[l]||(c[l]=!0,a(u,c,v,f,d,h),c[l]=!1)))}}});const g=(0,o.get)(d,t);return g&&Object.keys(g).length&&(0,o.set)(m,t,g),(Object.keys(h).length||(0,o.has)(e,n))&&(0,o.set)(m,n,(0,o.has)(e,n)?(0,o.get)(e,n):h),m};return a},ae=e=>T(T(e,"~1","/"),"~0","~"),ue=(e,t)=>{const n=new WeakMap;return function e(r,o){let i;if(t&&(r=t(r)),A(r)||Array.isArray(r)){const t=n.get(r);return t?{$ref:t}:(n.set(r,z(o)),Array.isArray(r)?i=r.map(((t,n)=>e(t,[...o,String(n)]))):(i={},Object.keys(r).forEach((t=>{i[t]=e(r[t],[...o,t])}))),n.delete(r),i)}return r}(e,[])},ce=e=>T(T(e,"~","~0"),"//","/~1"),le=e=>{if("string"!=typeof e||0===e.length)return null;const t=e.indexOf("#");return-1===t?null:e.slice(t)},fe=e=>{const t=f(e,!0);if(t.scan(),1!==t.getToken())return;if(t.scan(),2===t.getToken())return;if(10!==t.getToken())throw new SyntaxError("Unexpected character");const n=t.getTokenValue();if(t.scan(),6!==t.getToken())throw new SyntaxError("Colon expected");switch(t.scan(),t.getToken()){case 10:return[n,t.getTokenValue()];case 11:return[n,Number(t.getTokenValue())];case 8:return[n,!0];case 9:return[n,!1];case 7:return[n,null];case 16:throw new SyntaxError("Unexpected character");case 17:throw new SyntaxError("Unexpected end of file");default:return}},de=({lineMap:e,ast:t},n)=>{const r=e[n.line],o=e[n.line+1];if(void 0===r)return;const i=d(t,void 0===o?r+n.character:Math.min(o,r+n.character),!0);if(void 0===i)return;const s=h(i);return 0!==s.length?s:void 0};function he(e){return ae(e.split("/").pop()||"")}const pe=({ast:e},t,n=!1)=>{const r=function(e,t,n){e:for(const r of t){const t=Number.isInteger(Number(r))?Number(r):r;if("string"==typeof t||"number"==typeof t&&"array"!==e.type){if("object"!==e.type||!Array.isArray(e.children))return n?e:void 0;for(const n of e.children)if(Array.isArray(n.children)&&n.children[0].value===String(t)&&2===n.children.length){e=n.children[1];continue e}return n?e:void 0}if("array"!==e.type||t<0||!Array.isArray(e.children)||t>=e.children.length)return n?e:void 0;e=e.children[t]}return e}(e,t,n);if(void 0!==r&&void 0!==r.range)return{range:r.range}},me=(e,t={disallowComments:!0})=>{const n=[],{ast:r,data:o,lineMap:i}=ge(e,n,t);return{data:o,diagnostics:n,ast:r,lineMap:i}};function ge(e,t=[],n){const r=ve(e);let o={type:"array",offset:-1,length:-1,children:[],parent:void 0},i=null,s=[];const a=new WeakMap,u=[];function c(e){"property"===o.type&&(o.length=e-o.offset,o=o.parent)}function l(e,t,n){return{start:{line:e,character:t},end:{line:e,character:t+n}}}function f(e){return o.children.push(e),e}function d(e){Array.isArray(s)?s.push(e):null!==i&&(s[i]=e)}function h(e){d(e),u.push(s),s=e,i=null}function g(){s=u.pop()}p(e,{onObjectBegin:(e,t,r,i)=>{o=f({type:"object",offset:e,length:-1,parent:o,children:[],range:l(r,i,t)}),!1===n.ignoreDuplicateKeys&&a.set(o,[]),h(function(e){return e?b({}):{}}(!0===n.preserveKeyOrder))},onObjectProperty:(e,r,u,c,d)=>{if((o=f({type:"property",offset:r,length:-1,parent:o,children:[]})).children.push({type:"string",value:e,offset:r,length:u,parent:o}),!1===n.ignoreDuplicateKeys){const n=a.get(o.parent);n&&(0!==n.length&&n.includes(e)?t.push({range:l(c,d,u),message:"DuplicateKey",severity:D.Error,path:be(o),code:20}):n.push(e))}!0===n.preserveKeyOrder&&function(e,t){if(!(t in e))return;const n=e[y],r=n.indexOf(t);-1!==r&&(n.splice(r,1),n.push(t))}(s,e),i=e},onObjectEnd:(e,t,r,i)=>{!1===n.ignoreDuplicateKeys&&a.delete(o),o.length=e+t-o.offset,o.range&&(o.range.end.line=r,o.range.end.character=i+t),o=o.parent,c(e+t),g()},onArrayBegin:(e,t,n,r)=>{o=f({type:"array",offset:e,length:-1,parent:o,children:[],range:l(n,r,t)}),h([])},onArrayEnd:(e,t,n,r)=>{o.length=e+t-o.offset,o.range&&(o.range.end.line=n,o.range.end.character=r+t),o=o.parent,c(e+t),g()},onLiteralValue:(e,t,n,r,i)=>{f({type:ye(e),offset:t,length:n,parent:o,value:e,range:l(r,i,n)}),c(t+n),d(e)},onSeparator:(e,t)=>{"property"===o.type&&(":"===e?o.colonOffset=t:","===e&&c(t))},onError:(e,n,r,o,i)=>{t.push({range:l(o,i,r),message:m(e),severity:D.Error,code:e})}},n);const v=o.children[0];return v&&delete v.parent,{ast:v,data:s[0],lineMap:r}}function ye(e){switch(typeof e){case"boolean":return"boolean";case"number":return"number";case"string":return"string";default:return"null"}}const ve=e=>{const t=[0];let n=0;for(;n<e.length;n++)"\n"===e[n]&&t.push(n+1);return t.push(n+1),t};function be(e,t=[]){return"property"===e.type&&t.unshift(e.children[0].value),void 0!==e.parent?("array"===e.parent.type&&void 0!==e.parent.parent&&t.unshift(e.parent.children.indexOf(e)),be(e.parent,t)):t}const _e=(e,t,n)=>{if(!e||!Object.hasOwnProperty.call(e,t)||t===n)return e;const r={};for(const[o,i]of Object.entries(e))o===t?r[n]=i:o in r||(r[o]=i);return r};function we(e){return A(e)||Array.isArray(e)}function Ee(e,t,n){if(n.length<=1||t.length<=1)throw Error("Source/target path must not be empty and point at root");if(0===t.indexOf(n))throw Error("Target path cannot be contained within source");const r=X(t);let o=e;for(const a of r){if(!we(o))return;o=o[a]}if(!we(o))return;const i=X(n);let s=e;for(const[a,u]of i.entries()){if(!we(s)||u in s)return;const e=a===i.length-1?o:{};s[u]=e,s=e}delete e[r[0]],function e(t,n,r){for(const o of Object.keys(t)){const i=t[o];if("$ref"!==o)we(i)&&e(i,n,r);else{if("string"!=typeof i||!N(i))continue;0===i.indexOf(n)&&(t[o]=i.replace(n,r))}}}(e,t,n)}async function ke(e,t,n,r,o){let s=function(e,t){const n=Z(t);return null===n?e:(0,i.isAbsolute)(n)?n:(0,i.join)((0,i.dirname)(e),n)}(t,n);const a=le(n)||"#",u=await e[s],c=X(a);let l=[...c];const f={value:u};for(const[i,d]of ee(f,c,a)){if(r.includes(d))return{source:t,location:null!=o?o:l,value:r[r.length-1]};r.push(d);const n=await ke(e,s,d.$ref,r,l);({source:s,location:l}=n),f.value=n.value,l.push(...c.slice(i+1))}return{source:s,location:l,value:r.length>0?Y(r[r.length-1],f.value):f.value}}async function xe(e,t,n){return(await De(e,t,n)).value}function De(e,t,n){return ke(e,t,n,[])}const Se=(e,t)=>{if("string"!=typeof e)return e;try{const n=Ce(e);return"string"==typeof n?n:JSON.parse(e,t)}catch(e){return}},Ce=e=>{const t=Number(e);return Number.isFinite(t)?String(t)===e?t:e:NaN},Oe=(e,t,n)=>{if("string"==typeof e)return e;try{return JSON.stringify(e,t,n)}catch(r){return $()(e,t,n)}},$e=(e,t)=>{if(e instanceof Array){if(t instanceof Array){if(t.length>e.length)return!1;for(const n in t){if(!t.hasOwnProperty(n))continue;const r=parseInt(e[n]),o=parseInt(t[n]);if(isNaN(r)&&isNaN(o)){if(e[n]!==t[n])return!1}else if(r!==o)return!1}}}else{if("string"!=typeof e)return!1;if("string"==typeof t)return e.startsWith(t)}return!0},Ae=(e,t,n)=>{const r=Oe(e,t,n);if(void 0===r)throw new Error("The value could not be stringified");return r};function Pe(e){return e.replace(/^(\/|#\/)/,"").split("/").map(ae).map(je).join(".")}function je(e){return e.includes(".")?`["${e.replace(/"/g,'\\"')}"]`:e}const Fe=Symbol.for(g),Ie={ownKeys:e=>Fe in e?e[Fe]:Reflect.ownKeys(e)},Ne=e=>new Proxy(e,Ie);function Te(e,t){if("string"==typeof e&&"string"==typeof t)return(0,o.trimStart)(e,t);if(!(e&&Array.isArray(e)&&e.length&&t&&Array.isArray(t)&&t.length))return e;let n=0;for(const r in e)if(e.hasOwnProperty(r)){if(e[r]!==t[r])break;n++}return e.slice(n)}},84441:(e,t,n)=>{"use strict";function r(e){let t="";return e.absolute&&("file"===e.protocol?(e.drive&&(t+=e.drive),t+="/"):(t+=e.protocol+"://",e.origin&&(t+=e.origin+"/"))),""===(t+=e.path.join("/"))&&(t="."),t}function o(e,t,n,r){this.message=e,this.expected=t,this.found=n,this.location=r,this.name="SyntaxError","function"==typeof Error.captureStackTrace&&Error.captureStackTrace(this,o)}n.r(t),n.d(t,{basename:()=>l,deserializeSrn:()=>w,dirname:()=>f,extname:()=>d,format:()=>r,isAbsolute:()=>h,isURL:()=>p,join:()=>m,normalize:()=>a,parse:()=>s,relative:()=>g,resolve:()=>y,sep:()=>v,serializeSrn:()=>E,startsWithWindowsDrive:()=>b,stripRoot:()=>_,toFSPath:()=>a}),function(e,t){function n(){this.constructor=e}n.prototype=t.prototype,e.prototype=new n}(o,Error),o.buildMessage=function(e,t){var n={literal:function(e){return'"'+o(e.text)+'"'},class:function(e){var t,n="";for(t=0;t<e.parts.length;t++)n+=e.parts[t]instanceof Array?i(e.parts[t][0])+"-"+i(e.parts[t][1]):i(e.parts[t]);return"["+(e.inverted?"^":"")+n+"]"},any:function(e){return"any character"},end:function(e){return"end of input"},other:function(e){return e.description}};function r(e){return e.charCodeAt(0).toString(16).toUpperCase()}function o(e){return e.replace(/\\/g,"\\\\").replace(/"/g,'\\"').replace(/\0/g,"\\0").replace(/\t/g,"\\t").replace(/\n/g,"\\n").replace(/\r/g,"\\r").replace(/[\x00-\x0F]/g,(function(e){return"\\x0"+r(e)})).replace(/[\x10-\x1F\x7F-\x9F]/g,(function(e){return"\\x"+r(e)}))}function i(e){return e.replace(/\\/g,"\\\\").replace(/\]/g,"\\]").replace(/\^/g,"\\^").replace(/-/g,"\\-").replace(/\0/g,"\\0").replace(/\t/g,"\\t").replace(/\n/g,"\\n").replace(/\r/g,"\\r").replace(/[\x00-\x0F]/g,(function(e){return"\\x0"+r(e)})).replace(/[\x10-\x1F\x7F-\x9F]/g,(function(e){return"\\x"+r(e)}))}return"Expected "+function(e){var t,r,o,i=new Array(e.length);for(t=0;t<e.length;t++)i[t]=(o=e[t],n[o.type](o));if(i.sort(),i.length>0){for(t=1,r=1;t<i.length;t++)i[t-1]!==i[t]&&(i[r]=i[t],r++);i.length=r}switch(i.length){case 1:return i[0];case 2:return i[0]+" or "+i[1];default:return i.slice(0,-1).join(", ")+", or "+i[i.length-1]}}(e)+" but "+function(e){return e?'"'+o(e)+'"':"end of input"}(t)+" found."};var i=function(e,t){t=void 0!==t?t:{};var n,r,i,s,a={},u={Path:te},c=te,l=function(e,t,n,r){return{protocol:e,origin:t,absolute:!0,...n,...r}},f=function(e,t,n){return{protocol:e,origin:t,absolute:!0,...n,path:[]}},d="http://",h=W("http://",!0),p=function(e){return"http"},m="https://",g=W("https://",!0),y=function(e){return"https"},v="",b=function(){return null},_=function(e,t,n){return{protocol:e,origin:null,absolute:!0,...t,...n}},w="file://",E=W("file://",!0),k="file:",x=W("file:",!0),D=function(e){return"file"},S=function(e,t){return{protocol:"file",origin:null,absolute:!0,...e,...t}},C=/^[A-Za-z]/,O=G([["A","Z"],["a","z"]],!1,!1),$=":",A=W(":",!1),P=function(e){return{drive:e.toLowerCase()+":"}},j=function(){return{drive:null}},F=function(){return{drive:null}},I=function(e){return{protocol:null,origin:null,absolute:!1,drive:null,...e}},N=function(e){return{path:e}},T=function(e,t){return[e,...t]},M=function(e){return[e]},R=".",B=W(".",!1),L="/",z=W("/",!1),U="\\",q=W("\\",!1),V=/^[^\/\\]/,Q=G(["/","\\"],!0,!1),X=0,H=[{line:1,column:1}],K=0,J=[];if("startRule"in t){if(!(t.startRule in u))throw new Error("Can't start parsing from rule \""+t.startRule+'".');c=u[t.startRule]}function W(e,t){return{type:"literal",text:e,ignoreCase:t}}function G(e,t,n){return{type:"class",parts:e,inverted:t,ignoreCase:n}}function Z(t){var n,r=H[t];if(r)return r;for(n=t-1;!H[n];)n--;for(r={line:(r=H[n]).line,column:r.column};n<t;)10===e.charCodeAt(n)?(r.line++,r.column=1):r.column++,n++;return H[t]=r,r}function Y(e,t){var n=Z(e),r=Z(t);return{start:{offset:e,line:n.line,column:n.column},end:{offset:t,line:r.line,column:r.column}}}function ee(e){X<K||(X>K&&(K=X,J=[]),J.push(e))}function te(){var t;return(t=function(){var e,t,n,r,o;return e=X,(t=ne())!==a&&(n=re())!==a&&(r=ie())!==a&&(o=se())!==a?e=t=l(t,n,r,o):(X=e,e=a),e===a&&(e=X,(t=ne())!==a&&(n=re())!==a&&(r=function(){var e;return(e=v)!==a&&(e=F()),e}())!==a?e=t=f(t,n,r):(X=e,e=a)),e}())===a&&(t=function(){var t,n,r,o;return t=X,(n=function(){var t;return e.substr(X,7).toLowerCase()===w?(t=e.substr(X,7),X+=7):(t=a,ee(E)),t===a&&(e.substr(X,5).toLowerCase()===k?(t=e.substr(X,5),X+=5):(t=a,ee(x))),t!==a&&(t=D()),t}())!==a&&(r=oe())!==a&&(o=se())!==a?t=n=_(n,r,o):(X=t,t=a),t}())===a&&(t=function(){var e,t,n;return e=X,(t=oe())!==a&&(n=se())!==a?e=t=S(t,n):(X=e,e=a),e}())===a&&(t=function(){var t,n;return t=X,function(){var t;return(t=function(){var t,n,r;return t=X,46===e.charCodeAt(X)?(n=R,X++):(n=a,ee(B)),n!==a&&(r=ue())!==a?t=n=[n,r]:(X=t,t=a),t}())===a&&(t=v),t}()!==a&&(n=se())!==a?t=I(n):(X=t,t=a),t}()),t}function ne(){var t,n;return e.substr(X,7).toLowerCase()===d?(n=e.substr(X,7),X+=7):(n=a,ee(h)),n!==a&&(n=p()),(t=n)===a&&(t=function(){var t;return e.substr(X,8).toLowerCase()===m?(t=e.substr(X,8),X+=8):(t=a,ee(g)),t!==a&&(t=y()),t}()),t}function re(){var t,n,r;if(t=X,n=[],(r=ce())!==a)for(;r!==a;)n.push(r),r=ce();else n=a;return(t=n!==a?e.substring(t,X):n)===a&&(t=X,(n=v)!==a&&(n=b()),t=n),t}function oe(){var t;return(t=function(){var t,n,r,o;return t=X,(n=ue())===a&&(n=null),n!==a?(C.test(e.charAt(X))?(r=e.charAt(X),X++):(r=a,ee(O)),r!==a?(58===e.charCodeAt(X)?(o=$,X++):(o=a,ee(A)),o!==a&&ue()!==a?t=n=P(r):(X=t,t=a)):(X=t,t=a)):(X=t,t=a),t}())===a&&(t=ie()),t}function ie(){var e;return(e=ue())!==a&&(e=j()),e}function se(){var e;return(e=function e(){var t,n,r;return t=X,(n=ae())!==a&&ue()!==a&&(r=e())!==a?t=n=T(n,r):(X=t,t=a),t===a&&(t=X,(n=ae())!==a&&(n=M(n)),t=n),t}())!==a&&(e=N(e)),e}function ae(){var t,n,r;if(t=X,n=[],(r=ce())!==a)for(;r!==a;)n.push(r),r=ce();else n=a;return(t=n!==a?e.substring(t,X):n)===a&&(t=v),t}function ue(){var t;return 47===e.charCodeAt(X)?(t=L,X++):(t=a,ee(z)),t===a&&(92===e.charCodeAt(X)?(t=U,X++):(t=a,ee(q))),t}function ce(){var t;return V.test(e.charAt(X))?(t=e.charAt(X),X++):(t=a,ee(Q)),t}if((n=c())!==a&&X===e.length)return n;throw n!==a&&X<e.length&&ee({type:"end"}),r=J,i=K<e.length?e.charAt(K):null,s=K<e.length?Y(K,K+1):Y(K,K),new o(o.buildMessage(r,i),r,i,s)};function s(e){if("string"!=typeof e)throw new Error(`@stoplight/path: Cannot parse ${e} because it is not a string`);return i(e,{})}function a(e){return r(u(s(e)))}function u(e){let t=e.path;t=t.filter((e=>""!==e&&"."!==e));const n=[];for(const r of t)".."===r&&n.length&&".."!==n[n.length-1]?n.pop():".."===r&&e.absolute||n.push(r);return e.path=n,e}function c(e){let t=e.lastIndexOf(".");".."===e&&(t=-1),"."===e&&(t=-1);let n=e,r="";return t>0&&(n=e.slice(0,t),r=e.slice(t)),{name:n,ext:r}}const l=(e,t)=>{const n=u(s(e)).path.pop();if(!n)return"";const{name:r,ext:o}=c(n);return!0===t||t===o?r:`${r}${o}`},f=e=>{const t=u(s(e));return t.path.pop(),r(u(t))},d=e=>{const t=u(s(e)).path.pop();if(!t)return"";const{ext:n}=c(t);return n};function h(e){return s(e).absolute}function p(e){const t=s(e);return"http"===t.protocol||"https"===t.protocol}const m=(...e)=>{if(0===e.length)return".";const t=e.map(s),n=Object.assign({},t[0]);for(let r=1;r<t.length;r++){const o=t[r];if(o.absolute)throw new Error('Cannot join an absolute path "'+e[r]+'" in the middle of other paths.');for(const e of o.path)n.path.push(e)}return r(u(n))};function g(e,t){const n=u(s(t));if(!n.absolute)return r(n);const o=u(s(e));if(n.origin!==o.origin)return r(n);if(!o.absolute)return r(n);if(o.drive!==n.drive)return r(n);const i=Math.min(o.path.length,n.path.length);for(let r=0;r<i&&o.path[0]===n.path[0];r++)o.path.shift(),n.path.shift();return n.path.unshift(...o.path.fill("..")),r({origin:null,drive:null,absolute:!1,protocol:null,path:n.path})}function y(...e){if(0===e.length)return".";const t=u(s(e[e.length-1]));return t.absolute?r(t):m(...e)}const v="/",b=e=>null!==s(e).drive,_=e=>s(e).path.filter(Boolean).join("/");function w(e){const[t,n,r,...o]=e.split("/"),i=o.length?`/${o.join("/")}`:void 0;let s,a;return i&&(s=o.find((e=>e.includes("."))))&&(a=c(s).ext),{shortcode:t,orgSlug:n,projectSlug:r,uri:i,file:s,ext:a}}function E({shortcode:e,orgSlug:t,projectSlug:n,uri:r=""}){return[e,t,n,r.replace(/^\//,"")].filter(Boolean).join("/")}},4407:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.MissingRefError=t.ValidationError=t.CodeGen=t.Name=t.nil=t.stringify=t.str=t._=t.KeywordCxt=t.Ajv2020=void 0;const r=n(49241),o=n(19282),i=n(86825),s=n(99412),a="https://json-schema.org/draft/2020-12/schema";class u extends r.default{constructor(e={}){super({...e,dynamicRef:!0,next:!0,unevaluated:!0})}_addVocabularies(){super._addVocabularies(),o.default.forEach((e=>this.addVocabulary(e))),this.opts.discriminator&&this.addKeyword(i.default)}_addDefaultMetaSchema(){super._addDefaultMetaSchema();const{$data:e,meta:t}=this.opts;t&&(s.default.call(this,e),this.refs["http://json-schema.org/schema"]=a)}defaultMeta(){return this.opts.defaultMeta=super.defaultMeta()||(this.getSchema(a)?a:void 0)}}t.Ajv2020=u,e.exports=t=u,e.exports.Ajv2020=u,Object.defineProperty(t,"__esModule",{value:!0}),t.default=u;var c=n(4998);Object.defineProperty(t,"KeywordCxt",{enumerable:!0,get:function(){return c.KeywordCxt}});var l=n(15923);Object.defineProperty(t,"_",{enumerable:!0,get:function(){return l._}}),Object.defineProperty(t,"str",{enumerable:!0,get:function(){return l.str}}),Object.defineProperty(t,"stringify",{enumerable:!0,get:function(){return l.stringify}}),Object.defineProperty(t,"nil",{enumerable:!0,get:function(){return l.nil}}),Object.defineProperty(t,"Name",{enumerable:!0,get:function(){return l.Name}}),Object.defineProperty(t,"CodeGen",{enumerable:!0,get:function(){return l.CodeGen}});var f=n(14282);Object.defineProperty(t,"ValidationError",{enumerable:!0,get:function(){return f.default}});var d=n(24186);Object.defineProperty(t,"MissingRefError",{enumerable:!0,get:function(){return d.default}})},80477:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.regexpCode=t.getEsmExportName=t.getProperty=t.safeStringify=t.stringify=t.strConcat=t.addCodeArg=t.str=t._=t.nil=t._Code=t.Name=t.IDENTIFIER=t._CodeOrName=void 0;class n{}t._CodeOrName=n,t.IDENTIFIER=/^[a-z$_][a-z$_0-9]*$/i;class r extends n{constructor(e){if(super(),!t.IDENTIFIER.test(e))throw new Error("CodeGen: name must be a valid identifier");this.str=e}toString(){return this.str}emptyStr(){return!1}get names(){return{[this.str]:1}}}t.Name=r;class o extends n{constructor(e){super(),this._items="string"==typeof e?[e]:e}toString(){return this.str}emptyStr(){if(this._items.length>1)return!1;const e=this._items[0];return""===e||'""'===e}get str(){var e;return null!==(e=this._str)&&void 0!==e?e:this._str=this._items.reduce(((e,t)=>`${e}${t}`),"")}get names(){var e;return null!==(e=this._names)&&void 0!==e?e:this._names=this._items.reduce(((e,t)=>(t instanceof r&&(e[t.str]=(e[t.str]||0)+1),e)),{})}}function i(e,...t){const n=[e[0]];let r=0;for(;r<t.length;)u(n,t[r]),n.push(e[++r]);return new o(n)}t._Code=o,t.nil=new o(""),t._=i;const s=new o("+");function a(e,...t){const n=[l(e[0])];let r=0;for(;r<t.length;)n.push(s),u(n,t[r]),n.push(s,l(e[++r]));return function(e){let t=1;for(;t<e.length-1;){if(e[t]===s){const n=c(e[t-1],e[t+1]);if(void 0!==n){e.splice(t-1,3,n);continue}e[t++]="+"}t++}}(n),new o(n)}function u(e,t){var n;t instanceof o?e.push(...t._items):t instanceof r?e.push(t):e.push("number"==typeof(n=t)||"boolean"==typeof n||null===n?n:l(Array.isArray(n)?n.join(","):n))}function c(e,t){if('""'===t)return e;if('""'===e)return t;if("string"==typeof e){if(t instanceof r||'"'!==e[e.length-1])return;return"string"!=typeof t?`${e.slice(0,-1)}${t}"`:'"'===t[0]?e.slice(0,-1)+t.slice(1):void 0}return"string"!=typeof t||'"'!==t[0]||e instanceof r?void 0:`"${e}${t.slice(1)}`}function l(e){return JSON.stringify(e).replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029")}t.str=a,t.addCodeArg=u,t.strConcat=function(e,t){return t.emptyStr()?e:e.emptyStr()?t:a`${e}${t}`},t.stringify=function(e){return new o(l(e))},t.safeStringify=l,t.getProperty=function(e){return"string"==typeof e&&t.IDENTIFIER.test(e)?new o(`.${e}`):i`[${e}]`},t.getEsmExportName=function(e){if("string"==typeof e&&t.IDENTIFIER.test(e))return new o(`${e}`);throw new Error(`CodeGen: invalid export name: ${e}, use explicit $id name mapping`)},t.regexpCode=function(e){return new o(e.toString())}},15923:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.or=t.and=t.not=t.CodeGen=t.operators=t.varKinds=t.ValueScopeName=t.ValueScope=t.Scope=t.Name=t.regexpCode=t.stringify=t.getProperty=t.nil=t.strConcat=t.str=t._=void 0;const r=n(80477),o=n(91131);var i=n(80477);Object.defineProperty(t,"_",{enumerable:!0,get:function(){return i._}}),Object.defineProperty(t,"str",{enumerable:!0,get:function(){return i.str}}),Object.defineProperty(t,"strConcat",{enumerable:!0,get:function(){return i.strConcat}}),Object.defineProperty(t,"nil",{enumerable:!0,get:function(){return i.nil}}),Object.defineProperty(t,"getProperty",{enumerable:!0,get:function(){return i.getProperty}}),Object.defineProperty(t,"stringify",{enumerable:!0,get:function(){return i.stringify}}),Object.defineProperty(t,"regexpCode",{enumerable:!0,get:function(){return i.regexpCode}}),Object.defineProperty(t,"Name",{enumerable:!0,get:function(){return i.Name}});var s=n(91131);Object.defineProperty(t,"Scope",{enumerable:!0,get:function(){return s.Scope}}),Object.defineProperty(t,"ValueScope",{enumerable:!0,get:function(){return s.ValueScope}}),Object.defineProperty(t,"ValueScopeName",{enumerable:!0,get:function(){return s.ValueScopeName}}),Object.defineProperty(t,"varKinds",{enumerable:!0,get:function(){return s.varKinds}}),t.operators={GT:new r._Code(">"),GTE:new r._Code(">="),LT:new r._Code("<"),LTE:new r._Code("<="),EQ:new r._Code("==="),NEQ:new r._Code("!=="),NOT:new r._Code("!"),OR:new r._Code("||"),AND:new r._Code("&&"),ADD:new r._Code("+")};class a{optimizeNodes(){return this}optimizeNames(e,t){return this}}class u extends a{constructor(e,t,n){super(),this.varKind=e,this.name=t,this.rhs=n}render({es5:e,_n:t}){const n=e?o.varKinds.var:this.varKind,r=void 0===this.rhs?"":` = ${this.rhs}`;return`${n} ${this.name}${r};`+t}optimizeNames(e,t){if(e[this.name.str])return this.rhs&&(this.rhs=P(this.rhs,e,t)),this}get names(){return this.rhs instanceof r._CodeOrName?this.rhs.names:{}}}class c extends a{constructor(e,t,n){super(),this.lhs=e,this.rhs=t,this.sideEffects=n}render({_n:e}){return`${this.lhs} = ${this.rhs};`+e}optimizeNames(e,t){if(!(this.lhs instanceof r.Name)||e[this.lhs.str]||this.sideEffects)return this.rhs=P(this.rhs,e,t),this}get names(){return A(this.lhs instanceof r.Name?{}:{...this.lhs.names},this.rhs)}}class l extends c{constructor(e,t,n,r){super(e,n,r),this.op=t}render({_n:e}){return`${this.lhs} ${this.op}= ${this.rhs};`+e}}class f extends a{constructor(e){super(),this.label=e,this.names={}}render({_n:e}){return`${this.label}:`+e}}class d extends a{constructor(e){super(),this.label=e,this.names={}}render({_n:e}){return`break${this.label?` ${this.label}`:""};`+e}}class h extends a{constructor(e){super(),this.error=e}render({_n:e}){return`throw ${this.error};`+e}get names(){return this.error.names}}class p extends a{constructor(e){super(),this.code=e}render({_n:e}){return`${this.code};`+e}optimizeNodes(){return`${this.code}`?this:void 0}optimizeNames(e,t){return this.code=P(this.code,e,t),this}get names(){return this.code instanceof r._CodeOrName?this.code.names:{}}}class m extends a{constructor(e=[]){super(),this.nodes=e}render(e){return this.nodes.reduce(((t,n)=>t+n.render(e)),"")}optimizeNodes(){const{nodes:e}=this;let t=e.length;for(;t--;){const n=e[t].optimizeNodes();Array.isArray(n)?e.splice(t,1,...n):n?e[t]=n:e.splice(t,1)}return e.length>0?this:void 0}optimizeNames(e,t){const{nodes:n}=this;let r=n.length;for(;r--;){const o=n[r];o.optimizeNames(e,t)||(j(e,o.names),n.splice(r,1))}return n.length>0?this:void 0}get names(){return this.nodes.reduce(((e,t)=>$(e,t.names)),{})}}class g extends m{render(e){return"{"+e._n+super.render(e)+"}"+e._n}}class y extends m{}class v extends g{}v.kind="else";class b extends g{constructor(e,t){super(t),this.condition=e}render(e){let t=`if(${this.condition})`+super.render(e);return this.else&&(t+="else "+this.else.render(e)),t}optimizeNodes(){super.optimizeNodes();const e=this.condition;if(!0===e)return this.nodes;let t=this.else;if(t){const e=t.optimizeNodes();t=this.else=Array.isArray(e)?new v(e):e}return t?!1===e?t instanceof b?t:t.nodes:this.nodes.length?this:new b(F(e),t instanceof b?[t]:t.nodes):!1!==e&&this.nodes.length?this:void 0}optimizeNames(e,t){var n;if(this.else=null===(n=this.else)||void 0===n?void 0:n.optimizeNames(e,t),super.optimizeNames(e,t)||this.else)return this.condition=P(this.condition,e,t),this}get names(){const e=super.names;return A(e,this.condition),this.else&&$(e,this.else.names),e}}b.kind="if";class _ extends g{}_.kind="for";class w extends _{constructor(e){super(),this.iteration=e}render(e){return`for(${this.iteration})`+super.render(e)}optimizeNames(e,t){if(super.optimizeNames(e,t))return this.iteration=P(this.iteration,e,t),this}get names(){return $(super.names,this.iteration.names)}}class E extends _{constructor(e,t,n,r){super(),this.varKind=e,this.name=t,this.from=n,this.to=r}render(e){const t=e.es5?o.varKinds.var:this.varKind,{name:n,from:r,to:i}=this;return`for(${t} ${n}=${r}; ${n}<${i}; ${n}++)`+super.render(e)}get names(){const e=A(super.names,this.from);return A(e,this.to)}}class k extends _{constructor(e,t,n,r){super(),this.loop=e,this.varKind=t,this.name=n,this.iterable=r}render(e){return`for(${this.varKind} ${this.name} ${this.loop} ${this.iterable})`+super.render(e)}optimizeNames(e,t){if(super.optimizeNames(e,t))return this.iterable=P(this.iterable,e,t),this}get names(){return $(super.names,this.iterable.names)}}class x extends g{constructor(e,t,n){super(),this.name=e,this.args=t,this.async=n}render(e){return`${this.async?"async ":""}function ${this.name}(${this.args})`+super.render(e)}}x.kind="func";class D extends m{render(e){return"return "+super.render(e)}}D.kind="return";class S extends g{render(e){let t="try"+super.render(e);return this.catch&&(t+=this.catch.render(e)),this.finally&&(t+=this.finally.render(e)),t}optimizeNodes(){var e,t;return super.optimizeNodes(),null===(e=this.catch)||void 0===e||e.optimizeNodes(),null===(t=this.finally)||void 0===t||t.optimizeNodes(),this}optimizeNames(e,t){var n,r;return super.optimizeNames(e,t),null===(n=this.catch)||void 0===n||n.optimizeNames(e,t),null===(r=this.finally)||void 0===r||r.optimizeNames(e,t),this}get names(){const e=super.names;return this.catch&&$(e,this.catch.names),this.finally&&$(e,this.finally.names),e}}class C extends g{constructor(e){super(),this.error=e}render(e){return`catch(${this.error})`+super.render(e)}}C.kind="catch";class O extends g{render(e){return"finally"+super.render(e)}}O.kind="finally";function $(e,t){for(const n in t)e[n]=(e[n]||0)+(t[n]||0);return e}function A(e,t){return t instanceof r._CodeOrName?$(e,t.names):e}function P(e,t,n){return e instanceof r.Name?i(e):(o=e)instanceof r._Code&&o._items.some((e=>e instanceof r.Name&&1===t[e.str]&&void 0!==n[e.str]))?new r._Code(e._items.reduce(((e,t)=>(t instanceof r.Name&&(t=i(t)),t instanceof r._Code?e.push(...t._items):e.push(t),e)),[])):e;var o;function i(e){const r=n[e.str];return void 0===r||1!==t[e.str]?e:(delete t[e.str],r)}}function j(e,t){for(const n in t)e[n]=(e[n]||0)-(t[n]||0)}function F(e){return"boolean"==typeof e||"number"==typeof e||null===e?!e:r._`!${M(e)}`}t.CodeGen=class{constructor(e,t={}){this._values={},this._blockStarts=[],this._constants={},this.opts={...t,_n:t.lines?"\n":""},this._extScope=e,this._scope=new o.Scope({parent:e}),this._nodes=[new y]}toString(){return this._root.render(this.opts)}name(e){return this._scope.name(e)}scopeName(e){return this._extScope.name(e)}scopeValue(e,t){const n=this._extScope.value(e,t);return(this._values[n.prefix]||(this._values[n.prefix]=new Set)).add(n),n}getScopeValue(e,t){return this._extScope.getValue(e,t)}scopeRefs(e){return this._extScope.scopeRefs(e,this._values)}scopeCode(){return this._extScope.scopeCode(this._values)}_def(e,t,n,r){const o=this._scope.toName(t);return void 0!==n&&r&&(this._constants[o.str]=n),this._leafNode(new u(e,o,n)),o}const(e,t,n){return this._def(o.varKinds.const,e,t,n)}let(e,t,n){return this._def(o.varKinds.let,e,t,n)}var(e,t,n){return this._def(o.varKinds.var,e,t,n)}assign(e,t,n){return this._leafNode(new c(e,t,n))}add(e,n){return this._leafNode(new l(e,t.operators.ADD,n))}code(e){return"function"==typeof e?e():e!==r.nil&&this._leafNode(new p(e)),this}object(...e){const t=["{"];for(const[n,o]of e)t.length>1&&t.push(","),t.push(n),(n!==o||this.opts.es5)&&(t.push(":"),(0,r.addCodeArg)(t,o));return t.push("}"),new r._Code(t)}if(e,t,n){if(this._blockNode(new b(e)),t&&n)this.code(t).else().code(n).endIf();else if(t)this.code(t).endIf();else if(n)throw new Error('CodeGen: "else" body without "then" body');return this}elseIf(e){return this._elseNode(new b(e))}else(){return this._elseNode(new v)}endIf(){return this._endBlockNode(b,v)}_for(e,t){return this._blockNode(e),t&&this.code(t).endFor(),this}for(e,t){return this._for(new w(e),t)}forRange(e,t,n,r,i=(this.opts.es5?o.varKinds.var:o.varKinds.let)){const s=this._scope.toName(e);return this._for(new E(i,s,t,n),(()=>r(s)))}forOf(e,t,n,i=o.varKinds.const){const s=this._scope.toName(e);if(this.opts.es5){const e=t instanceof r.Name?t:this.var("_arr",t);return this.forRange("_i",0,r._`${e}.length`,(t=>{this.var(s,r._`${e}[${t}]`),n(s)}))}return this._for(new k("of",i,s,t),(()=>n(s)))}forIn(e,t,n,i=(this.opts.es5?o.varKinds.var:o.varKinds.const)){if(this.opts.ownProperties)return this.forOf(e,r._`Object.keys(${t})`,n);const s=this._scope.toName(e);return this._for(new k("in",i,s,t),(()=>n(s)))}endFor(){return this._endBlockNode(_)}label(e){return this._leafNode(new f(e))}break(e){return this._leafNode(new d(e))}return(e){const t=new D;if(this._blockNode(t),this.code(e),1!==t.nodes.length)throw new Error('CodeGen: "return" should have one node');return this._endBlockNode(D)}try(e,t,n){if(!t&&!n)throw new Error('CodeGen: "try" without "catch" and "finally"');const r=new S;if(this._blockNode(r),this.code(e),t){const e=this.name("e");this._currNode=r.catch=new C(e),t(e)}return n&&(this._currNode=r.finally=new O,this.code(n)),this._endBlockNode(C,O)}throw(e){return this._leafNode(new h(e))}block(e,t){return this._blockStarts.push(this._nodes.length),e&&this.code(e).endBlock(t),this}endBlock(e){const t=this._blockStarts.pop();if(void 0===t)throw new Error("CodeGen: not in self-balancing block");const n=this._nodes.length-t;if(n<0||void 0!==e&&n!==e)throw new Error(`CodeGen: wrong number of nodes: ${n} vs ${e} expected`);return this._nodes.length=t,this}func(e,t=r.nil,n,o){return this._blockNode(new x(e,t,n)),o&&this.code(o).endFunc(),this}endFunc(){return this._endBlockNode(x)}optimize(e=1){for(;e-- >0;)this._root.optimizeNodes(),this._root.optimizeNames(this._root.names,this._constants)}_leafNode(e){return this._currNode.nodes.push(e),this}_blockNode(e){this._currNode.nodes.push(e),this._nodes.push(e)}_endBlockNode(e,t){const n=this._currNode;if(n instanceof e||t&&n instanceof t)return this._nodes.pop(),this;throw new Error(`CodeGen: not in block "${t?`${e.kind}/${t.kind}`:e.kind}"`)}_elseNode(e){const t=this._currNode;if(!(t instanceof b))throw new Error('CodeGen: "else" without "if"');return this._currNode=t.else=e,this}get _root(){return this._nodes[0]}get _currNode(){const e=this._nodes;return e[e.length-1]}set _currNode(e){const t=this._nodes;t[t.length-1]=e}},t.not=F;const I=T(t.operators.AND);t.and=function(...e){return e.reduce(I)};const N=T(t.operators.OR);function T(e){return(t,n)=>t===r.nil?n:n===r.nil?t:r._`${M(t)} ${e} ${M(n)}`}function M(e){return e instanceof r.Name?e:r._`(${e})`}t.or=function(...e){return e.reduce(N)}},91131:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ValueScope=t.ValueScopeName=t.Scope=t.varKinds=t.UsedValueState=void 0;const r=n(80477);class o extends Error{constructor(e){super(`CodeGen: "code" for ${e} not defined`),this.value=e.value}}var i;!function(e){e[e.Started=0]="Started",e[e.Completed=1]="Completed"}(i||(t.UsedValueState=i={})),t.varKinds={const:new r.Name("const"),let:new r.Name("let"),var:new r.Name("var")};class s{constructor({prefixes:e,parent:t}={}){this._names={},this._prefixes=e,this._parent=t}toName(e){return e instanceof r.Name?e:this.name(e)}name(e){return new r.Name(this._newName(e))}_newName(e){return`${e}${(this._names[e]||this._nameGroup(e)).index++}`}_nameGroup(e){var t,n;if((null===(n=null===(t=this._parent)||void 0===t?void 0:t._prefixes)||void 0===n?void 0:n.has(e))||this._prefixes&&!this._prefixes.has(e))throw new Error(`CodeGen: prefix "${e}" is not allowed in this scope`);return this._names[e]={prefix:e,index:0}}}t.Scope=s;class a extends r.Name{constructor(e,t){super(t),this.prefix=e}setValue(e,{property:t,itemIndex:n}){this.value=e,this.scopePath=r._`.${new r.Name(t)}[${n}]`}}t.ValueScopeName=a;const u=r._`\n`;t.ValueScope=class extends s{constructor(e){super(e),this._values={},this._scope=e.scope,this.opts={...e,_n:e.lines?u:r.nil}}get(){return this._scope}name(e){return new a(e,this._newName(e))}value(e,t){var n;if(void 0===t.ref)throw new Error("CodeGen: ref must be passed in value");const r=this.toName(e),{prefix:o}=r,i=null!==(n=t.key)&&void 0!==n?n:t.ref;let s=this._values[o];if(s){const e=s.get(i);if(e)return e}else s=this._values[o]=new Map;s.set(i,r);const a=this._scope[o]||(this._scope[o]=[]),u=a.length;return a[u]=t.ref,r.setValue(t,{property:o,itemIndex:u}),r}getValue(e,t){const n=this._values[e];if(n)return n.get(t)}scopeRefs(e,t=this._values){return this._reduceValues(t,(t=>{if(void 0===t.scopePath)throw new Error(`CodeGen: name "${t}" has no value`);return r._`${e}${t.scopePath}`}))}scopeCode(e=this._values,t,n){return this._reduceValues(e,(e=>{if(void 0===e.value)throw new Error(`CodeGen: name "${e}" has no value`);return e.value.code}),t,n)}_reduceValues(e,n,s={},a){let u=r.nil;for(const c in e){const l=e[c];if(!l)continue;const f=s[c]=s[c]||new Map;l.forEach((e=>{if(f.has(e))return;f.set(e,i.Started);let s=n(e);if(s){const n=this.opts.es5?t.varKinds.var:t.varKinds.const;u=r._`${u}${n} ${e} = ${s};${this.opts._n}`}else{if(!(s=null==a?void 0:a(e)))throw new o(e);u=r._`${u}${s}${this.opts._n}`}f.set(e,i.Completed)}))}return u}}},76028:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.extendErrors=t.resetErrorsCount=t.reportExtraError=t.reportError=t.keyword$DataError=t.keywordError=void 0;const r=n(15923),o=n(91571),i=n(92115);function s(e,t){const n=e.const("err",t);e.if(r._`${i.default.vErrors} === null`,(()=>e.assign(i.default.vErrors,r._`[${n}]`)),r._`${i.default.vErrors}.push(${n})`),e.code(r._`${i.default.errors}++`)}function a(e,t){const{gen:n,validateName:o,schemaEnv:i}=e;i.$async?n.throw(r._`new ${e.ValidationError}(${t})`):(n.assign(r._`${o}.errors`,t),n.return(!1))}t.keywordError={message:({keyword:e})=>r.str`must pass "${e}" keyword validation`},t.keyword$DataError={message:({keyword:e,schemaType:t})=>t?r.str`"${e}" keyword must be ${t} ($data)`:r.str`"${e}" keyword is invalid ($data)`},t.reportError=function(e,n=t.keywordError,o,i){const{it:u}=e,{gen:l,compositeRule:f,allErrors:d}=u,h=c(e,n,o);(null!=i?i:f||d)?s(l,h):a(u,r._`[${h}]`)},t.reportExtraError=function(e,n=t.keywordError,r){const{it:o}=e,{gen:u,compositeRule:l,allErrors:f}=o;s(u,c(e,n,r)),l||f||a(o,i.default.vErrors)},t.resetErrorsCount=function(e,t){e.assign(i.default.errors,t),e.if(r._`${i.default.vErrors} !== null`,(()=>e.if(t,(()=>e.assign(r._`${i.default.vErrors}.length`,t)),(()=>e.assign(i.default.vErrors,null)))))},t.extendErrors=function({gen:e,keyword:t,schemaValue:n,data:o,errsCount:s,it:a}){if(void 0===s)throw new Error("ajv implementation error");const u=e.name("err");e.forRange("i",s,i.default.errors,(s=>{e.const(u,r._`${i.default.vErrors}[${s}]`),e.if(r._`${u}.instancePath === undefined`,(()=>e.assign(r._`${u}.instancePath`,(0,r.strConcat)(i.default.instancePath,a.errorPath)))),e.assign(r._`${u}.schemaPath`,r.str`${a.errSchemaPath}/${t}`),a.opts.verbose&&(e.assign(r._`${u}.schema`,n),e.assign(r._`${u}.data`,o))}))};const u={keyword:new r.Name("keyword"),schemaPath:new r.Name("schemaPath"),params:new r.Name("params"),propertyName:new r.Name("propertyName"),message:new r.Name("message"),schema:new r.Name("schema"),parentSchema:new r.Name("parentSchema")};function c(e,t,n){const{createErrors:o}=e.it;return!1===o?r._`{}`:function(e,t,n={}){const{gen:o,it:s}=e,a=[l(s,n),f(e,n)];return function(e,{params:t,message:n},o){const{keyword:s,data:a,schemaValue:c,it:l}=e,{opts:f,propertyName:d,topSchemaRef:h,schemaPath:p}=l;o.push([u.keyword,s],[u.params,"function"==typeof t?t(e):t||r._`{}`]),f.messages&&o.push([u.message,"function"==typeof n?n(e):n]);f.verbose&&o.push([u.schema,c],[u.parentSchema,r._`${h}${p}`],[i.default.data,a]);d&&o.push([u.propertyName,d])}(e,t,a),o.object(...a)}(e,t,n)}function l({errorPath:e},{instancePath:t}){const n=t?r.str`${e}${(0,o.getErrorPath)(t,o.Type.Str)}`:e;return[i.default.instancePath,(0,r.strConcat)(i.default.instancePath,n)]}function f({keyword:e,it:{errSchemaPath:t}},{schemaPath:n,parentSchema:i}){let s=i?t:r.str`${t}/${e}`;return n&&(s=r.str`${s}${(0,o.getErrorPath)(n,o.Type.Str)}`),[u.schemaPath,s]}},76968:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.resolveSchema=t.getCompilingSchema=t.resolveRef=t.compileSchema=t.SchemaEnv=void 0;const r=n(15923),o=n(14282),i=n(92115),s=n(48147),a=n(91571),u=n(4998);class c{constructor(e){var t;let n;this.refs={},this.dynamicAnchors={},"object"==typeof e.schema&&(n=e.schema),this.schema=e.schema,this.schemaId=e.schemaId,this.root=e.root||this,this.baseId=null!==(t=e.baseId)&&void 0!==t?t:(0,s.normalizeId)(null==n?void 0:n[e.schemaId||"$id"]),this.schemaPath=e.schemaPath,this.localRefs=e.localRefs,this.meta=e.meta,this.$async=null==n?void 0:n.$async,this.refs={}}}function l(e){const t=d.call(this,e);if(t)return t;const n=(0,s.getFullPath)(this.opts.uriResolver,e.root.baseId),{es5:a,lines:c}=this.opts.code,{ownProperties:l}=this.opts,f=new r.CodeGen(this.scope,{es5:a,lines:c,ownProperties:l});let h;e.$async&&(h=f.scopeValue("Error",{ref:o.default,code:r._`require("ajv/dist/runtime/validation_error").default`}));const p=f.scopeName("validate");e.validateName=p;const m={gen:f,allErrors:this.opts.allErrors,data:i.default.data,parentData:i.default.parentData,parentDataProperty:i.default.parentDataProperty,dataNames:[i.default.data],dataPathArr:[r.nil],dataLevel:0,dataTypes:[],definedProperties:new Set,topSchemaRef:f.scopeValue("schema",!0===this.opts.code.source?{ref:e.schema,code:(0,r.stringify)(e.schema)}:{ref:e.schema}),validateName:p,ValidationError:h,schema:e.schema,schemaEnv:e,rootId:n,baseId:e.baseId||n,schemaPath:r.nil,errSchemaPath:e.schemaPath||(this.opts.jtd?"":"#"),errorPath:r._`""`,opts:this.opts,self:this};let g;try{this._compilations.add(e),(0,u.validateFunctionCode)(m),f.optimize(this.opts.code.optimize);const t=f.toString();g=`${f.scopeRefs(i.default.scope)}return ${t}`,this.opts.code.process&&(g=this.opts.code.process(g,e));const n=new Function(`${i.default.self}`,`${i.default.scope}`,g)(this,this.scope.get());if(this.scope.value(p,{ref:n}),n.errors=null,n.schema=e.schema,n.schemaEnv=e,e.$async&&(n.$async=!0),!0===this.opts.code.source&&(n.source={validateName:p,validateCode:t,scopeValues:f._values}),this.opts.unevaluated){const{props:e,items:t}=m;n.evaluated={props:e instanceof r.Name?void 0:e,items:t instanceof r.Name?void 0:t,dynamicProps:e instanceof r.Name,dynamicItems:t instanceof r.Name},n.source&&(n.source.evaluated=(0,r.stringify)(n.evaluated))}return e.validate=n,e}catch(y){throw delete e.validate,delete e.validateName,g&&this.logger.error("Error compiling schema, function code:",g),y}finally{this._compilations.delete(e)}}function f(e){return(0,s.inlineRef)(e.schema,this.opts.inlineRefs)?e.schema:e.validate?e:l.call(this,e)}function d(e){for(const r of this._compilations)if(n=e,(t=r).schema===n.schema&&t.root===n.root&&t.baseId===n.baseId)return r;var t,n}function h(e,t){let n;for(;"string"==typeof(n=this.refs[t]);)t=n;return n||this.schemas[t]||p.call(this,e,t)}function p(e,t){const n=this.opts.uriResolver.parse(t),r=(0,s._getFullPath)(this.opts.uriResolver,n);let o=(0,s.getFullPath)(this.opts.uriResolver,e.baseId,void 0);if(Object.keys(e.schema).length>0&&r===o)return g.call(this,n,e);const i=(0,s.normalizeId)(r),a=this.refs[i]||this.schemas[i];if("string"==typeof a){const t=p.call(this,e,a);if("object"!=typeof(null==t?void 0:t.schema))return;return g.call(this,n,t)}if("object"==typeof(null==a?void 0:a.schema)){if(a.validate||l.call(this,a),i===(0,s.normalizeId)(t)){const{schema:t}=a,{schemaId:n}=this.opts,r=t[n];return r&&(o=(0,s.resolveUrl)(this.opts.uriResolver,o,r)),new c({schema:t,schemaId:n,root:e,baseId:o})}return g.call(this,n,a)}}t.SchemaEnv=c,t.compileSchema=l,t.resolveRef=function(e,t,n){var r;n=(0,s.resolveUrl)(this.opts.uriResolver,t,n);const o=e.refs[n];if(o)return o;let i=h.call(this,e,n);if(void 0===i){const o=null===(r=e.localRefs)||void 0===r?void 0:r[n],{schemaId:s}=this.opts;o&&(i=new c({schema:o,schemaId:s,root:e,baseId:t}))}return void 0!==i?e.refs[n]=f.call(this,i):void 0},t.getCompilingSchema=d,t.resolveSchema=p;const m=new Set(["properties","patternProperties","enum","dependencies","definitions"]);function g(e,{baseId:t,schema:n,root:r}){var o;if("/"!==(null===(o=e.fragment)||void 0===o?void 0:o[0]))return;for(const c of e.fragment.slice(1).split("/")){if("boolean"==typeof n)return;const e=n[(0,a.unescapeFragment)(c)];if(void 0===e)return;const r="object"==typeof(n=e)&&n[this.opts.schemaId];!m.has(c)&&r&&(t=(0,s.resolveUrl)(this.opts.uriResolver,t,r))}let i;if("boolean"!=typeof n&&n.$ref&&!(0,a.schemaHasRulesButRef)(n,this.RULES)){const e=(0,s.resolveUrl)(this.opts.uriResolver,t,n.$ref);i=p.call(this,r,e)}const{schemaId:u}=this.opts;return i=i||new c({schema:n,schemaId:u,root:r,baseId:t}),i.schema!==i.root.schema?i:void 0}},92115:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(15923),o={data:new r.Name("data"),valCxt:new r.Name("valCxt"),instancePath:new r.Name("instancePath"),parentData:new r.Name("parentData"),parentDataProperty:new r.Name("parentDataProperty"),rootData:new r.Name("rootData"),dynamicAnchors:new r.Name("dynamicAnchors"),vErrors:new r.Name("vErrors"),errors:new r.Name("errors"),this:new r.Name("this"),self:new r.Name("self"),scope:new r.Name("scope"),json:new r.Name("json"),jsonPos:new r.Name("jsonPos"),jsonLen:new r.Name("jsonLen"),jsonPart:new r.Name("jsonPart")};t.default=o},24186:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(48147);class o extends Error{constructor(e,t,n,o){super(o||`can't resolve reference ${n} from id ${t}`),this.missingRef=(0,r.resolveUrl)(e,t,n),this.missingSchema=(0,r.normalizeId)((0,r.getFullPath)(e,this.missingRef))}}t.default=o},48147:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getSchemaRefs=t.resolveUrl=t.normalizeId=t._getFullPath=t.getFullPath=t.inlineRef=void 0;const r=n(91571),o=n(69378),i=n(19522),s=new Set(["type","format","pattern","maxLength","minLength","maxProperties","minProperties","maxItems","minItems","maximum","minimum","uniqueItems","multipleOf","required","enum","const"]);t.inlineRef=function(e,t=!0){return"boolean"==typeof e||(!0===t?!u(e):!!t&&c(e)<=t)};const a=new Set(["$ref","$recursiveRef","$recursiveAnchor","$dynamicRef","$dynamicAnchor"]);function u(e){for(const t in e){if(a.has(t))return!0;const n=e[t];if(Array.isArray(n)&&n.some(u))return!0;if("object"==typeof n&&u(n))return!0}return!1}function c(e){let t=0;for(const n in e){if("$ref"===n)return 1/0;if(t++,!s.has(n)&&("object"==typeof e[n]&&(0,r.eachItem)(e[n],(e=>t+=c(e))),t===1/0))return 1/0}return t}function l(e,t="",n){!1!==n&&(t=h(t));const r=e.parse(t);return f(e,r)}function f(e,t){return e.serialize(t).split("#")[0]+"#"}t.getFullPath=l,t._getFullPath=f;const d=/#\/?$/;function h(e){return e?e.replace(d,""):""}t.normalizeId=h,t.resolveUrl=function(e,t,n){return n=h(n),e.resolve(t,n)};const p=/^[a-z_][-a-z0-9._]*$/i;t.getSchemaRefs=function(e,t){if("boolean"==typeof e)return{};const{schemaId:n,uriResolver:r}=this.opts,s=h(e[n]||t),a={"":s},u=l(r,s,!1),c={},f=new Set;return i(e,{allKeys:!0},((e,t,r,o)=>{if(void 0===o)return;const i=u+t;let s=a[o];function l(t){const n=this.opts.uriResolver.resolve;if(t=h(s?n(s,t):t),f.has(t))throw m(t);f.add(t);let r=this.refs[t];return"string"==typeof r&&(r=this.refs[r]),"object"==typeof r?d(e,r.schema,t):t!==h(i)&&("#"===t[0]?(d(e,c[t],t),c[t]=e):this.refs[t]=i),t}function g(e){if("string"==typeof e){if(!p.test(e))throw new Error(`invalid anchor "${e}"`);l.call(this,`#${e}`)}}"string"==typeof e[n]&&(s=l.call(this,e[n])),g.call(this,e.$anchor),g.call(this,e.$dynamicAnchor),a[t]=s})),c;function d(e,t,n){if(void 0!==t&&!o(e,t))throw m(n)}function m(e){return new Error(`reference "${e}" resolves to more than one schema`)}}},22825:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getRules=t.isJSONType=void 0;const n=new Set(["string","number","integer","boolean","null","object","array"]);t.isJSONType=function(e){return"string"==typeof e&&n.has(e)},t.getRules=function(){const e={number:{type:"number",rules:[]},string:{type:"string",rules:[]},array:{type:"array",rules:[]},object:{type:"object",rules:[]}};return{types:{...e,integer:!0,boolean:!0,null:!0},rules:[{rules:[]},e.number,e.string,e.array,e.object],post:{rules:[]},all:{},keywords:{}}}},91571:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.checkStrictMode=t.getErrorPath=t.Type=t.useFunc=t.setEvaluated=t.evaluatedPropsToName=t.mergeEvaluated=t.eachItem=t.unescapeJsonPointer=t.escapeJsonPointer=t.escapeFragment=t.unescapeFragment=t.schemaRefOrVal=t.schemaHasRulesButRef=t.schemaHasRules=t.checkUnknownRules=t.alwaysValidSchema=t.toHash=void 0;const r=n(15923),o=n(80477);function i(e,t=e.schema){const{opts:n,self:r}=e;if(!n.strictSchema)return;if("boolean"==typeof t)return;const o=r.RULES.keywords;for(const i in t)o[i]||p(e,`unknown keyword: "${i}"`)}function s(e,t){if("boolean"==typeof e)return!e;for(const n in e)if(t[n])return!0;return!1}function a(e){return"number"==typeof e?`${e}`:e.replace(/~/g,"~0").replace(/\//g,"~1")}function u(e){return e.replace(/~1/g,"/").replace(/~0/g,"~")}function c({mergeNames:e,mergeToName:t,mergeValues:n,resultToName:o}){return(i,s,a,u)=>{const c=void 0===a?s:a instanceof r.Name?(s instanceof r.Name?e(i,s,a):t(i,s,a),a):s instanceof r.Name?(t(i,a,s),s):n(s,a);return u!==r.Name||c instanceof r.Name?c:o(i,c)}}function l(e,t){if(!0===t)return e.var("props",!0);const n=e.var("props",r._`{}`);return void 0!==t&&f(e,n,t),n}function f(e,t,n){Object.keys(n).forEach((n=>e.assign(r._`${t}${(0,r.getProperty)(n)}`,!0)))}t.toHash=function(e){const t={};for(const n of e)t[n]=!0;return t},t.alwaysValidSchema=function(e,t){return"boolean"==typeof t?t:0===Object.keys(t).length||(i(e,t),!s(t,e.self.RULES.all))},t.checkUnknownRules=i,t.schemaHasRules=s,t.schemaHasRulesButRef=function(e,t){if("boolean"==typeof e)return!e;for(const n in e)if("$ref"!==n&&t.all[n])return!0;return!1},t.schemaRefOrVal=function({topSchemaRef:e,schemaPath:t},n,o,i){if(!i){if("number"==typeof n||"boolean"==typeof n)return n;if("string"==typeof n)return r._`${n}`}return r._`${e}${t}${(0,r.getProperty)(o)}`},t.unescapeFragment=function(e){return u(decodeURIComponent(e))},t.escapeFragment=function(e){return encodeURIComponent(a(e))},t.escapeJsonPointer=a,t.unescapeJsonPointer=u,t.eachItem=function(e,t){if(Array.isArray(e))for(const n of e)t(n);else t(e)},t.mergeEvaluated={props:c({mergeNames:(e,t,n)=>e.if(r._`${n} !== true && ${t} !== undefined`,(()=>{e.if(r._`${t} === true`,(()=>e.assign(n,!0)),(()=>e.assign(n,r._`${n} || {}`).code(r._`Object.assign(${n}, ${t})`)))})),mergeToName:(e,t,n)=>e.if(r._`${n} !== true`,(()=>{!0===t?e.assign(n,!0):(e.assign(n,r._`${n} || {}`),f(e,n,t))})),mergeValues:(e,t)=>!0===e||{...e,...t},resultToName:l}),items:c({mergeNames:(e,t,n)=>e.if(r._`${n} !== true && ${t} !== undefined`,(()=>e.assign(n,r._`${t} === true ? true : ${n} > ${t} ? ${n} : ${t}`))),mergeToName:(e,t,n)=>e.if(r._`${n} !== true`,(()=>e.assign(n,!0===t||r._`${n} > ${t} ? ${n} : ${t}`))),mergeValues:(e,t)=>!0===e||Math.max(e,t),resultToName:(e,t)=>e.var("items",t)})},t.evaluatedPropsToName=l,t.setEvaluated=f;const d={};var h;function p(e,t,n=e.opts.strictSchema){if(n){if(t=`strict mode: ${t}`,!0===n)throw new Error(t);e.self.logger.warn(t)}}t.useFunc=function(e,t){return e.scopeValue("func",{ref:t,code:d[t.code]||(d[t.code]=new o._Code(t.code))})},function(e){e[e.Num=0]="Num",e[e.Str=1]="Str"}(h||(t.Type=h={})),t.getErrorPath=function(e,t,n){if(e instanceof r.Name){const o=t===h.Num;return n?o?r._`"[" + ${e} + "]"`:r._`"['" + ${e} + "']"`:o?r._`"/" + ${e}`:r._`"/" + ${e}.replace(/~/g, "~0").replace(/\\//g, "~1")`}return n?(0,r.getProperty)(e).toString():"/"+a(e)},t.checkStrictMode=p},34540:(e,t)=>{"use strict";function n(e,t){return t.rules.some((t=>r(e,t)))}function r(e,t){var n;return void 0!==e[t.keyword]||(null===(n=t.definition.implements)||void 0===n?void 0:n.some((t=>void 0!==e[t])))}Object.defineProperty(t,"__esModule",{value:!0}),t.shouldUseRule=t.shouldUseGroup=t.schemaHasRulesForType=void 0,t.schemaHasRulesForType=function({schema:e,self:t},r){const o=t.RULES.types[r];return o&&!0!==o&&n(e,o)},t.shouldUseGroup=n,t.shouldUseRule=r},12175:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.boolOrEmptySchema=t.topBoolOrEmptySchema=void 0;const r=n(76028),o=n(15923),i=n(92115),s={message:"boolean schema is false"};function a(e,t){const{gen:n,data:o}=e,i={gen:n,keyword:"false schema",data:o,schema:!1,schemaCode:!1,schemaValue:!1,params:{},it:e};(0,r.reportError)(i,s,void 0,t)}t.topBoolOrEmptySchema=function(e){const{gen:t,schema:n,validateName:r}=e;!1===n?a(e,!1):"object"==typeof n&&!0===n.$async?t.return(i.default.data):(t.assign(o._`${r}.errors`,null),t.return(!0))},t.boolOrEmptySchema=function(e,t){const{gen:n,schema:r}=e;!1===r?(n.var(t,!1),a(e)):n.var(t,!0)}},31411:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.reportTypeError=t.checkDataTypes=t.checkDataType=t.coerceAndCheckDataType=t.getJSONTypes=t.getSchemaTypes=t.DataType=void 0;const r=n(22825),o=n(34540),i=n(76028),s=n(15923),a=n(91571);var u;function c(e){const t=Array.isArray(e)?e:e?[e]:[];if(t.every(r.isJSONType))return t;throw new Error("type must be JSONType or JSONType[]: "+t.join(","))}!function(e){e[e.Correct=0]="Correct",e[e.Wrong=1]="Wrong"}(u||(t.DataType=u={})),t.getSchemaTypes=function(e){const t=c(e.type);if(t.includes("null")){if(!1===e.nullable)throw new Error("type: null contradicts nullable: false")}else{if(!t.length&&void 0!==e.nullable)throw new Error('"nullable" cannot be used without "type"');!0===e.nullable&&t.push("null")}return t},t.getJSONTypes=c,t.coerceAndCheckDataType=function(e,t){const{gen:n,data:r,opts:i}=e,a=function(e,t){return t?e.filter((e=>l.has(e)||"array"===t&&"array"===e)):[]}(t,i.coerceTypes),c=t.length>0&&!(0===a.length&&1===t.length&&(0,o.schemaHasRulesForType)(e,t[0]));if(c){const o=d(t,r,i.strictNumbers,u.Wrong);n.if(o,(()=>{a.length?function(e,t,n){const{gen:r,data:o,opts:i}=e,a=r.let("dataType",s._`typeof ${o}`),u=r.let("coerced",s._`undefined`);"array"===i.coerceTypes&&r.if(s._`${a} == 'object' && Array.isArray(${o}) && ${o}.length == 1`,(()=>r.assign(o,s._`${o}[0]`).assign(a,s._`typeof ${o}`).if(d(t,o,i.strictNumbers),(()=>r.assign(u,o)))));r.if(s._`${u} !== undefined`);for(const s of n)(l.has(s)||"array"===s&&"array"===i.coerceTypes)&&c(s);function c(e){switch(e){case"string":return void r.elseIf(s._`${a} == "number" || ${a} == "boolean"`).assign(u,s._`"" + ${o}`).elseIf(s._`${o} === null`).assign(u,s._`""`);case"number":return void r.elseIf(s._`${a} == "boolean" || ${o} === null - || (${a} == "string" && ${o} && ${o} == +${o})`).assign(u,s._`+${o}`);case"integer":return void r.elseIf(s._`${a} === "boolean" || ${o} === null - || (${a} === "string" && ${o} && ${o} == +${o} && !(${o} % 1))`).assign(u,s._`+${o}`);case"boolean":return void r.elseIf(s._`${o} === "false" || ${o} === 0 || ${o} === null`).assign(u,!1).elseIf(s._`${o} === "true" || ${o} === 1`).assign(u,!0);case"null":return r.elseIf(s._`${o} === "" || ${o} === 0 || ${o} === false`),void r.assign(u,null);case"array":r.elseIf(s._`${a} === "string" || ${a} === "number" - || ${a} === "boolean" || ${o} === null`).assign(u,s._`[${o}]`)}}r.else(),p(e),r.endIf(),r.if(s._`${u} !== undefined`,(()=>{r.assign(o,u),function({gen:e,parentData:t,parentDataProperty:n},r){e.if(s._`${t} !== undefined`,(()=>e.assign(s._`${t}[${n}]`,r)))}(e,u)}))}(e,t,a):p(e)}))}return c};const l=new Set(["string","number","integer","boolean","null"]);function f(e,t,n,r=u.Correct){const o=r===u.Correct?s.operators.EQ:s.operators.NEQ;let i;switch(e){case"null":return s._`${t} ${o} null`;case"array":i=s._`Array.isArray(${t})`;break;case"object":i=s._`${t} && typeof ${t} == "object" && !Array.isArray(${t})`;break;case"integer":i=a(s._`!(${t} % 1) && !isNaN(${t})`);break;case"number":i=a();break;default:return s._`typeof ${t} ${o} ${e}`}return r===u.Correct?i:(0,s.not)(i);function a(e=s.nil){return(0,s.and)(s._`typeof ${t} == "number"`,e,n?s._`isFinite(${t})`:s.nil)}}function d(e,t,n,r){if(1===e.length)return f(e[0],t,n,r);let o;const i=(0,a.toHash)(e);if(i.array&&i.object){const e=s._`typeof ${t} != "object"`;o=i.null?e:s._`!${t} || ${e}`,delete i.null,delete i.array,delete i.object}else o=s.nil;i.number&&delete i.integer;for(const a in i)o=(0,s.and)(o,f(a,t,n,r));return o}t.checkDataType=f,t.checkDataTypes=d;const h={message:({schema:e})=>`must be ${e}`,params:({schema:e,schemaValue:t})=>"string"==typeof e?s._`{type: ${e}}`:s._`{type: ${t}}`};function p(e){const t=function(e){const{gen:t,data:n,schema:r}=e,o=(0,a.schemaRefOrVal)(e,r,"type");return{gen:t,keyword:"type",data:n,schema:r.type,schemaCode:o,schemaValue:o,parentSchema:r,params:{},it:e}}(e);(0,i.reportError)(t,h)}t.reportTypeError=p},14911:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.assignDefaults=void 0;const r=n(15923),o=n(91571);function i(e,t,n){const{gen:i,compositeRule:s,data:a,opts:u}=e;if(void 0===n)return;const c=r._`${a}${(0,r.getProperty)(t)}`;if(s)return void(0,o.checkStrictMode)(e,`default is ignored for: ${c}`);let l=r._`${c} === undefined`;"empty"===u.useDefaults&&(l=r._`${l} || ${c} === null || ${c} === ""`),i.if(l,r._`${c} = ${(0,r.stringify)(n)}`)}t.assignDefaults=function(e,t){const{properties:n,items:r}=e.schema;if("object"===t&&n)for(const o in n)i(e,o,n[o].default);else"array"===t&&Array.isArray(r)&&r.forEach(((t,n)=>i(e,n,t.default)))}},4998:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getData=t.KeywordCxt=t.validateFunctionCode=void 0;const r=n(12175),o=n(31411),i=n(34540),s=n(31411),a=n(14911),u=n(47366),c=n(62795),l=n(15923),f=n(92115),d=n(48147),h=n(91571),p=n(76028);function m({gen:e,validateName:t,schema:n,schemaEnv:r,opts:o},i){o.code.es5?e.func(t,l._`${f.default.data}, ${f.default.valCxt}`,r.$async,(()=>{e.code(l._`"use strict"; ${g(n,o)}`),function(e,t){e.if(f.default.valCxt,(()=>{e.var(f.default.instancePath,l._`${f.default.valCxt}.${f.default.instancePath}`),e.var(f.default.parentData,l._`${f.default.valCxt}.${f.default.parentData}`),e.var(f.default.parentDataProperty,l._`${f.default.valCxt}.${f.default.parentDataProperty}`),e.var(f.default.rootData,l._`${f.default.valCxt}.${f.default.rootData}`),t.dynamicRef&&e.var(f.default.dynamicAnchors,l._`${f.default.valCxt}.${f.default.dynamicAnchors}`)}),(()=>{e.var(f.default.instancePath,l._`""`),e.var(f.default.parentData,l._`undefined`),e.var(f.default.parentDataProperty,l._`undefined`),e.var(f.default.rootData,f.default.data),t.dynamicRef&&e.var(f.default.dynamicAnchors,l._`{}`)}))}(e,o),e.code(i)})):e.func(t,l._`${f.default.data}, ${function(e){return l._`{${f.default.instancePath}="", ${f.default.parentData}, ${f.default.parentDataProperty}, ${f.default.rootData}=${f.default.data}${e.dynamicRef?l._`, ${f.default.dynamicAnchors}={}`:l.nil}}={}`}(o)}`,r.$async,(()=>e.code(g(n,o)).code(i)))}function g(e,t){const n="object"==typeof e&&e[t.schemaId];return n&&(t.code.source||t.code.process)?l._`/*# sourceURL=${n} */`:l.nil}function y(e,t){b(e)&&(_(e),v(e))?function(e,t){const{schema:n,gen:r,opts:o}=e;o.$comment&&n.$comment&&E(e);(function(e){const t=e.schema[e.opts.schemaId];t&&(e.baseId=(0,d.resolveUrl)(e.opts.uriResolver,e.baseId,t))})(e),function(e){if(e.schema.$async&&!e.schemaEnv.$async)throw new Error("async schema in sync schema")}(e);const i=r.const("_errs",f.default.errors);w(e,i),r.var(t,l._`${i} === ${f.default.errors}`)}(e,t):(0,r.boolOrEmptySchema)(e,t)}function v({schema:e,self:t}){if("boolean"==typeof e)return!e;for(const n in e)if(t.RULES.all[n])return!0;return!1}function b(e){return"boolean"!=typeof e.schema}function _(e){(0,h.checkUnknownRules)(e),function(e){const{schema:t,errSchemaPath:n,opts:r,self:o}=e;t.$ref&&r.ignoreKeywordsWithRef&&(0,h.schemaHasRulesButRef)(t,o.RULES)&&o.logger.warn(`$ref: keywords ignored in schema at path "${n}"`)}(e)}function w(e,t){if(e.opts.jtd)return k(e,[],!1,t);const n=(0,o.getSchemaTypes)(e.schema);k(e,n,!(0,o.coerceAndCheckDataType)(e,n),t)}function E({gen:e,schemaEnv:t,schema:n,errSchemaPath:r,opts:o}){const i=n.$comment;if(!0===o.$comment)e.code(l._`${f.default.self}.logger.log(${i})`);else if("function"==typeof o.$comment){const n=l.str`${r}/$comment`,o=e.scopeValue("root",{ref:t.root});e.code(l._`${f.default.self}.opts.$comment(${i}, ${n}, ${o}.schema)`)}}function k(e,t,n,r){const{gen:o,schema:a,data:u,allErrors:c,opts:d,self:p}=e,{RULES:m}=p;function g(h){(0,i.shouldUseGroup)(a,h)&&(h.type?(o.if((0,s.checkDataType)(h.type,u,d.strictNumbers)),x(e,h),1===t.length&&t[0]===h.type&&n&&(o.else(),(0,s.reportTypeError)(e)),o.endIf()):x(e,h),c||o.if(l._`${f.default.errors} === ${r||0}`))}!a.$ref||!d.ignoreKeywordsWithRef&&(0,h.schemaHasRulesButRef)(a,m)?(d.jtd||function(e,t){if(e.schemaEnv.meta||!e.opts.strictTypes)return;(function(e,t){if(!t.length)return;if(!e.dataTypes.length)return void(e.dataTypes=t);t.forEach((t=>{S(e.dataTypes,t)||C(e,`type "${t}" not allowed by context "${e.dataTypes.join(",")}"`)})),function(e,t){const n=[];for(const r of e.dataTypes)S(t,r)?n.push(r):t.includes("integer")&&"number"===r&&n.push("integer");e.dataTypes=n}(e,t)})(e,t),e.opts.allowUnionTypes||function(e,t){t.length>1&&(2!==t.length||!t.includes("null"))&&C(e,"use allowUnionTypes to allow union type keyword")}(e,t);!function(e,t){const n=e.self.RULES.all;for(const r in n){const o=n[r];if("object"==typeof o&&(0,i.shouldUseRule)(e.schema,o)){const{type:n}=o.definition;n.length&&!n.some((e=>D(t,e)))&&C(e,`missing type "${n.join(",")}" for keyword "${r}"`)}}}(e,e.dataTypes)}(e,t),o.block((()=>{for(const e of m.rules)g(e);g(m.post)}))):o.block((()=>$(e,"$ref",m.all.$ref.definition)))}function x(e,t){const{gen:n,schema:r,opts:{useDefaults:o}}=e;o&&(0,a.assignDefaults)(e,t.type),n.block((()=>{for(const n of t.rules)(0,i.shouldUseRule)(r,n)&&$(e,n.keyword,n.definition,t.type)}))}function D(e,t){return e.includes(t)||"number"===t&&e.includes("integer")}function S(e,t){return e.includes(t)||"integer"===t&&e.includes("number")}function C(e,t){t+=` at "${e.schemaEnv.baseId+e.errSchemaPath}" (strictTypes)`,(0,h.checkStrictMode)(e,t,e.opts.strictTypes)}t.validateFunctionCode=function(e){b(e)&&(_(e),v(e))?function(e){const{schema:t,opts:n,gen:r}=e;m(e,(()=>{n.$comment&&t.$comment&&E(e),function(e){const{schema:t,opts:n}=e;void 0!==t.default&&n.useDefaults&&n.strictSchema&&(0,h.checkStrictMode)(e,"default is ignored in the schema root")}(e),r.let(f.default.vErrors,null),r.let(f.default.errors,0),n.unevaluated&&function(e){const{gen:t,validateName:n}=e;e.evaluated=t.const("evaluated",l._`${n}.evaluated`),t.if(l._`${e.evaluated}.dynamicProps`,(()=>t.assign(l._`${e.evaluated}.props`,l._`undefined`))),t.if(l._`${e.evaluated}.dynamicItems`,(()=>t.assign(l._`${e.evaluated}.items`,l._`undefined`)))}(e),w(e),function(e){const{gen:t,schemaEnv:n,validateName:r,ValidationError:o,opts:i}=e;n.$async?t.if(l._`${f.default.errors} === 0`,(()=>t.return(f.default.data)),(()=>t.throw(l._`new ${o}(${f.default.vErrors})`))):(t.assign(l._`${r}.errors`,f.default.vErrors),i.unevaluated&&function({gen:e,evaluated:t,props:n,items:r}){n instanceof l.Name&&e.assign(l._`${t}.props`,n);r instanceof l.Name&&e.assign(l._`${t}.items`,r)}(e),t.return(l._`${f.default.errors} === 0`))}(e)}))}(e):m(e,(()=>(0,r.topBoolOrEmptySchema)(e)))};class O{constructor(e,t,n){if((0,u.validateKeywordUsage)(e,t,n),this.gen=e.gen,this.allErrors=e.allErrors,this.keyword=n,this.data=e.data,this.schema=e.schema[n],this.$data=t.$data&&e.opts.$data&&this.schema&&this.schema.$data,this.schemaValue=(0,h.schemaRefOrVal)(e,this.schema,n,this.$data),this.schemaType=t.schemaType,this.parentSchema=e.schema,this.params={},this.it=e,this.def=t,this.$data)this.schemaCode=e.gen.const("vSchema",j(this.$data,e));else if(this.schemaCode=this.schemaValue,!(0,u.validSchemaType)(this.schema,t.schemaType,t.allowUndefined))throw new Error(`${n} value must be ${JSON.stringify(t.schemaType)}`);("code"in t?t.trackErrors:!1!==t.errors)&&(this.errsCount=e.gen.const("_errs",f.default.errors))}result(e,t,n){this.failResult((0,l.not)(e),t,n)}failResult(e,t,n){this.gen.if(e),n?n():this.error(),t?(this.gen.else(),t(),this.allErrors&&this.gen.endIf()):this.allErrors?this.gen.endIf():this.gen.else()}pass(e,t){this.failResult((0,l.not)(e),void 0,t)}fail(e){if(void 0===e)return this.error(),void(this.allErrors||this.gen.if(!1));this.gen.if(e),this.error(),this.allErrors?this.gen.endIf():this.gen.else()}fail$data(e){if(!this.$data)return this.fail(e);const{schemaCode:t}=this;this.fail(l._`${t} !== undefined && (${(0,l.or)(this.invalid$data(),e)})`)}error(e,t,n){if(t)return this.setParams(t),this._error(e,n),void this.setParams({});this._error(e,n)}_error(e,t){(e?p.reportExtraError:p.reportError)(this,this.def.error,t)}$dataError(){(0,p.reportError)(this,this.def.$dataError||p.keyword$DataError)}reset(){if(void 0===this.errsCount)throw new Error('add "trackErrors" to keyword definition');(0,p.resetErrorsCount)(this.gen,this.errsCount)}ok(e){this.allErrors||this.gen.if(e)}setParams(e,t){t?Object.assign(this.params,e):this.params=e}block$data(e,t,n=l.nil){this.gen.block((()=>{this.check$data(e,n),t()}))}check$data(e=l.nil,t=l.nil){if(!this.$data)return;const{gen:n,schemaCode:r,schemaType:o,def:i}=this;n.if((0,l.or)(l._`${r} === undefined`,t)),e!==l.nil&&n.assign(e,!0),(o.length||i.validateSchema)&&(n.elseIf(this.invalid$data()),this.$dataError(),e!==l.nil&&n.assign(e,!1)),n.else()}invalid$data(){const{gen:e,schemaCode:t,schemaType:n,def:r,it:o}=this;return(0,l.or)(function(){if(n.length){if(!(t instanceof l.Name))throw new Error("ajv implementation error");const e=Array.isArray(n)?n:[n];return l._`${(0,s.checkDataTypes)(e,t,o.opts.strictNumbers,s.DataType.Wrong)}`}return l.nil}(),function(){if(r.validateSchema){const n=e.scopeValue("validate$data",{ref:r.validateSchema});return l._`!${n}(${t})`}return l.nil}())}subschema(e,t){const n=(0,c.getSubschema)(this.it,e);(0,c.extendSubschemaData)(n,this.it,e),(0,c.extendSubschemaMode)(n,e);const r={...this.it,...n,items:void 0,props:void 0};return y(r,t),r}mergeEvaluated(e,t){const{it:n,gen:r}=this;n.opts.unevaluated&&(!0!==n.props&&void 0!==e.props&&(n.props=h.mergeEvaluated.props(r,e.props,n.props,t)),!0!==n.items&&void 0!==e.items&&(n.items=h.mergeEvaluated.items(r,e.items,n.items,t)))}mergeValidEvaluated(e,t){const{it:n,gen:r}=this;if(n.opts.unevaluated&&(!0!==n.props||!0!==n.items))return r.if(t,(()=>this.mergeEvaluated(e,l.Name))),!0}}function $(e,t,n,r){const o=new O(e,n,t);"code"in n?n.code(o,r):o.$data&&n.validate?(0,u.funcKeywordCode)(o,n):"macro"in n?(0,u.macroKeywordCode)(o,n):(n.compile||n.validate)&&(0,u.funcKeywordCode)(o,n)}t.KeywordCxt=O;const A=/^\/(?:[^~]|~0|~1)*$/,P=/^([0-9]+)(#|\/(?:[^~]|~0|~1)*)?$/;function j(e,{dataLevel:t,dataNames:n,dataPathArr:r}){let o,i;if(""===e)return f.default.rootData;if("/"===e[0]){if(!A.test(e))throw new Error(`Invalid JSON-pointer: ${e}`);o=e,i=f.default.rootData}else{const s=P.exec(e);if(!s)throw new Error(`Invalid JSON-pointer: ${e}`);const a=+s[1];if(o=s[2],"#"===o){if(a>=t)throw new Error(u("property/index",a));return r[t-a]}if(a>t)throw new Error(u("data",a));if(i=n[t-a],!o)return i}let s=i;const a=o.split("/");for(const c of a)c&&(i=l._`${i}${(0,l.getProperty)((0,h.unescapeJsonPointer)(c))}`,s=l._`${s} && ${i}`);return s;function u(e,n){return`Cannot access ${e} ${n} levels up, current level is ${t}`}}t.getData=j},47366:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.validateKeywordUsage=t.validSchemaType=t.funcKeywordCode=t.macroKeywordCode=void 0;const r=n(15923),o=n(92115),i=n(7861),s=n(76028);function a(e){const{gen:t,data:n,it:o}=e;t.if(o.parentData,(()=>t.assign(n,r._`${o.parentData}[${o.parentDataProperty}]`)))}function u(e,t,n){if(void 0===n)throw new Error(`keyword "${t}" failed to compile`);return e.scopeValue("keyword","function"==typeof n?{ref:n}:{ref:n,code:(0,r.stringify)(n)})}t.macroKeywordCode=function(e,t){const{gen:n,keyword:o,schema:i,parentSchema:s,it:a}=e,c=t.macro.call(a.self,i,s,a),l=u(n,o,c);!1!==a.opts.validateSchema&&a.self.validateSchema(c,!0);const f=n.name("valid");e.subschema({schema:c,schemaPath:r.nil,errSchemaPath:`${a.errSchemaPath}/${o}`,topSchemaRef:l,compositeRule:!0},f),e.pass(f,(()=>e.error(!0)))},t.funcKeywordCode=function(e,t){var n;const{gen:c,keyword:l,schema:f,parentSchema:d,$data:h,it:p}=e;!function({schemaEnv:e},t){if(t.async&&!e.$async)throw new Error("async keyword in sync schema")}(p,t);const m=!h&&t.compile?t.compile.call(p.self,f,d,p):t.validate,g=u(c,l,m),y=c.let("valid");function v(n=(t.async?r._`await `:r.nil)){const s=p.opts.passContext?o.default.this:o.default.self,a=!("compile"in t&&!h||!1===t.schema);c.assign(y,r._`${n}${(0,i.callValidateCode)(e,g,s,a)}`,t.modifying)}function b(e){var n;c.if((0,r.not)(null!==(n=t.valid)&&void 0!==n?n:y),e)}e.block$data(y,(function(){if(!1===t.errors)v(),t.modifying&&a(e),b((()=>e.error()));else{const n=t.async?function(){const e=c.let("ruleErrs",null);return c.try((()=>v(r._`await `)),(t=>c.assign(y,!1).if(r._`${t} instanceof ${p.ValidationError}`,(()=>c.assign(e,r._`${t}.errors`)),(()=>c.throw(t))))),e}():function(){const e=r._`${g}.errors`;return c.assign(e,null),v(r.nil),e}();t.modifying&&a(e),b((()=>function(e,t){const{gen:n}=e;n.if(r._`Array.isArray(${t})`,(()=>{n.assign(o.default.vErrors,r._`${o.default.vErrors} === null ? ${t} : ${o.default.vErrors}.concat(${t})`).assign(o.default.errors,r._`${o.default.vErrors}.length`),(0,s.extendErrors)(e)}),(()=>e.error()))}(e,n)))}})),e.ok(null!==(n=t.valid)&&void 0!==n?n:y)},t.validSchemaType=function(e,t,n=!1){return!t.length||t.some((t=>"array"===t?Array.isArray(e):"object"===t?e&&"object"==typeof e&&!Array.isArray(e):typeof e==t||n&&void 0===e))},t.validateKeywordUsage=function({schema:e,opts:t,self:n,errSchemaPath:r},o,i){if(Array.isArray(o.keyword)?!o.keyword.includes(i):o.keyword!==i)throw new Error("ajv implementation error");const s=o.dependencies;if(null==s?void 0:s.some((t=>!Object.prototype.hasOwnProperty.call(e,t))))throw new Error(`parent schema must have dependencies of ${i}: ${s.join(",")}`);if(o.validateSchema){if(!o.validateSchema(e[i])){const e=`keyword "${i}" value is invalid at path "${r}": `+n.errorsText(o.validateSchema.errors);if("log"!==t.validateSchema)throw new Error(e);n.logger.error(e)}}}},62795:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.extendSubschemaMode=t.extendSubschemaData=t.getSubschema=void 0;const r=n(15923),o=n(91571);t.getSubschema=function(e,{keyword:t,schemaProp:n,schema:i,schemaPath:s,errSchemaPath:a,topSchemaRef:u}){if(void 0!==t&&void 0!==i)throw new Error('both "keyword" and "schema" passed, only one allowed');if(void 0!==t){const i=e.schema[t];return void 0===n?{schema:i,schemaPath:r._`${e.schemaPath}${(0,r.getProperty)(t)}`,errSchemaPath:`${e.errSchemaPath}/${t}`}:{schema:i[n],schemaPath:r._`${e.schemaPath}${(0,r.getProperty)(t)}${(0,r.getProperty)(n)}`,errSchemaPath:`${e.errSchemaPath}/${t}/${(0,o.escapeFragment)(n)}`}}if(void 0!==i){if(void 0===s||void 0===a||void 0===u)throw new Error('"schemaPath", "errSchemaPath" and "topSchemaRef" are required with "schema"');return{schema:i,schemaPath:s,topSchemaRef:u,errSchemaPath:a}}throw new Error('either "keyword" or "schema" must be passed')},t.extendSubschemaData=function(e,t,{dataProp:n,dataPropType:i,data:s,dataTypes:a,propertyName:u}){if(void 0!==s&&void 0!==n)throw new Error('both "data" and "dataProp" passed, only one allowed');const{gen:c}=t;if(void 0!==n){const{errorPath:s,dataPathArr:a,opts:u}=t;l(c.let("data",r._`${t.data}${(0,r.getProperty)(n)}`,!0)),e.errorPath=r.str`${s}${(0,o.getErrorPath)(n,i,u.jsPropertySyntax)}`,e.parentDataProperty=r._`${n}`,e.dataPathArr=[...a,e.parentDataProperty]}if(void 0!==s){l(s instanceof r.Name?s:c.let("data",s,!0)),void 0!==u&&(e.propertyName=u)}function l(n){e.data=n,e.dataLevel=t.dataLevel+1,e.dataTypes=[],t.definedProperties=new Set,e.parentData=t.data,e.dataNames=[...t.dataNames,n]}a&&(e.dataTypes=a)},t.extendSubschemaMode=function(e,{jtdDiscriminator:t,jtdMetadata:n,compositeRule:r,createErrors:o,allErrors:i}){void 0!==r&&(e.compositeRule=r),void 0!==o&&(e.createErrors=o),void 0!==i&&(e.allErrors=i),e.jtdDiscriminator=t,e.jtdMetadata=n}},49241:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.CodeGen=t.Name=t.nil=t.stringify=t.str=t._=t.KeywordCxt=void 0;var r=n(4998);Object.defineProperty(t,"KeywordCxt",{enumerable:!0,get:function(){return r.KeywordCxt}});var o=n(15923);Object.defineProperty(t,"_",{enumerable:!0,get:function(){return o._}}),Object.defineProperty(t,"str",{enumerable:!0,get:function(){return o.str}}),Object.defineProperty(t,"stringify",{enumerable:!0,get:function(){return o.stringify}}),Object.defineProperty(t,"nil",{enumerable:!0,get:function(){return o.nil}}),Object.defineProperty(t,"Name",{enumerable:!0,get:function(){return o.Name}}),Object.defineProperty(t,"CodeGen",{enumerable:!0,get:function(){return o.CodeGen}});const i=n(14282),s=n(24186),a=n(22825),u=n(76968),c=n(15923),l=n(48147),f=n(31411),d=n(91571),h=n(338),p=n(32726),m=(e,t)=>new RegExp(e,t);m.code="new RegExp";const g=["removeAdditional","useDefaults","coerceTypes"],y=new Set(["validate","serialize","parse","wrapper","root","schema","keyword","pattern","formats","validate$data","func","obj","Error"]),v={errorDataPath:"",format:"`validateFormats: false` can be used instead.",nullable:'"nullable" keyword is supported by default.',jsonPointers:"Deprecated jsPropertySyntax can be used instead.",extendRefs:"Deprecated ignoreKeywordsWithRef can be used instead.",missingRefs:"Pass empty schema with $id that should be ignored to ajv.addSchema.",processCode:"Use option `code: {process: (code, schemaEnv: object) => string}`",sourceCode:"Use option `code: {source: true}`",strictDefaults:"It is default now, see option `strict`.",strictKeywords:"It is default now, see option `strict`.",uniqueItems:'"uniqueItems" keyword is always validated.',unknownFormats:"Disable strict mode or pass `true` to `ajv.addFormat` (or `formats` option).",cache:"Map is used as cache, schema object as key.",serialize:"Map is used as cache, schema object as key.",ajvErrors:"It is default now."},b={ignoreKeywordsWithRef:"",jsPropertySyntax:"",unicode:'"minLength"/"maxLength" account for unicode characters by default.'};function _(e){var t,n,r,o,i,s,a,u,c,l,f,d,h,g,y,v,b,_,w,E,k,x,D,S,C;const O=e.strict,$=null===(t=e.code)||void 0===t?void 0:t.optimize,A=!0===$||void 0===$?1:$||0,P=null!==(r=null===(n=e.code)||void 0===n?void 0:n.regExp)&&void 0!==r?r:m,j=null!==(o=e.uriResolver)&&void 0!==o?o:p.default;return{strictSchema:null===(s=null!==(i=e.strictSchema)&&void 0!==i?i:O)||void 0===s||s,strictNumbers:null===(u=null!==(a=e.strictNumbers)&&void 0!==a?a:O)||void 0===u||u,strictTypes:null!==(l=null!==(c=e.strictTypes)&&void 0!==c?c:O)&&void 0!==l?l:"log",strictTuples:null!==(d=null!==(f=e.strictTuples)&&void 0!==f?f:O)&&void 0!==d?d:"log",strictRequired:null!==(g=null!==(h=e.strictRequired)&&void 0!==h?h:O)&&void 0!==g&&g,code:e.code?{...e.code,optimize:A,regExp:P}:{optimize:A,regExp:P},loopRequired:null!==(y=e.loopRequired)&&void 0!==y?y:200,loopEnum:null!==(v=e.loopEnum)&&void 0!==v?v:200,meta:null===(b=e.meta)||void 0===b||b,messages:null===(_=e.messages)||void 0===_||_,inlineRefs:null===(w=e.inlineRefs)||void 0===w||w,schemaId:null!==(E=e.schemaId)&&void 0!==E?E:"$id",addUsedSchema:null===(k=e.addUsedSchema)||void 0===k||k,validateSchema:null===(x=e.validateSchema)||void 0===x||x,validateFormats:null===(D=e.validateFormats)||void 0===D||D,unicodeRegExp:null===(S=e.unicodeRegExp)||void 0===S||S,int32range:null===(C=e.int32range)||void 0===C||C,uriResolver:j}}class w{constructor(e={}){this.schemas={},this.refs={},this.formats={},this._compilations=new Set,this._loading={},this._cache=new Map,e=this.opts={...e,..._(e)};const{es5:t,lines:n}=this.opts.code;this.scope=new c.ValueScope({scope:{},prefixes:y,es5:t,lines:n}),this.logger=function(e){if(!1===e)return O;if(void 0===e)return console;if(e.log&&e.warn&&e.error)return e;throw new Error("logger must implement log, warn and error methods")}(e.logger);const r=e.validateFormats;e.validateFormats=!1,this.RULES=(0,a.getRules)(),E.call(this,v,e,"NOT SUPPORTED"),E.call(this,b,e,"DEPRECATED","warn"),this._metaOpts=C.call(this),e.formats&&D.call(this),this._addVocabularies(),this._addDefaultMetaSchema(),e.keywords&&S.call(this,e.keywords),"object"==typeof e.meta&&this.addMetaSchema(e.meta),x.call(this),e.validateFormats=r}_addVocabularies(){this.addKeyword("$async")}_addDefaultMetaSchema(){const{$data:e,meta:t,schemaId:n}=this.opts;let r=h;"id"===n&&(r={...h},r.id=r.$id,delete r.$id),t&&e&&this.addMetaSchema(r,r[n],!1)}defaultMeta(){const{meta:e,schemaId:t}=this.opts;return this.opts.defaultMeta="object"==typeof e?e[t]||e:void 0}validate(e,t){let n;if("string"==typeof e){if(n=this.getSchema(e),!n)throw new Error(`no schema with key or ref "${e}"`)}else n=this.compile(e);const r=n(t);return"$async"in n||(this.errors=n.errors),r}compile(e,t){const n=this._addSchema(e,t);return n.validate||this._compileSchemaEnv(n)}compileAsync(e,t){if("function"!=typeof this.opts.loadSchema)throw new Error("options.loadSchema should be a function");const{loadSchema:n}=this.opts;return r.call(this,e,t);async function r(e,t){await o.call(this,e.$schema);const n=this._addSchema(e,t);return n.validate||i.call(this,n)}async function o(e){e&&!this.getSchema(e)&&await r.call(this,{$ref:e},!0)}async function i(e){try{return this._compileSchemaEnv(e)}catch(t){if(!(t instanceof s.default))throw t;return a.call(this,t),await u.call(this,t.missingSchema),i.call(this,e)}}function a({missingSchema:e,missingRef:t}){if(this.refs[e])throw new Error(`AnySchema ${e} is loaded but ${t} cannot be resolved`)}async function u(e){const n=await c.call(this,e);this.refs[e]||await o.call(this,n.$schema),this.refs[e]||this.addSchema(n,e,t)}async function c(e){const t=this._loading[e];if(t)return t;try{return await(this._loading[e]=n(e))}finally{delete this._loading[e]}}}addSchema(e,t,n,r=this.opts.validateSchema){if(Array.isArray(e)){for(const t of e)this.addSchema(t,void 0,n,r);return this}let o;if("object"==typeof e){const{schemaId:t}=this.opts;if(o=e[t],void 0!==o&&"string"!=typeof o)throw new Error(`schema ${t} must be string`)}return t=(0,l.normalizeId)(t||o),this._checkUnique(t),this.schemas[t]=this._addSchema(e,n,t,r,!0),this}addMetaSchema(e,t,n=this.opts.validateSchema){return this.addSchema(e,t,!0,n),this}validateSchema(e,t){if("boolean"==typeof e)return!0;let n;if(n=e.$schema,void 0!==n&&"string"!=typeof n)throw new Error("$schema must be a string");if(n=n||this.opts.defaultMeta||this.defaultMeta(),!n)return this.logger.warn("meta-schema not available"),this.errors=null,!0;const r=this.validate(n,e);if(!r&&t){const e="schema is invalid: "+this.errorsText();if("log"!==this.opts.validateSchema)throw new Error(e);this.logger.error(e)}return r}getSchema(e){let t;for(;"string"==typeof(t=k.call(this,e));)e=t;if(void 0===t){const{schemaId:n}=this.opts,r=new u.SchemaEnv({schema:{},schemaId:n});if(t=u.resolveSchema.call(this,r,e),!t)return;this.refs[e]=t}return t.validate||this._compileSchemaEnv(t)}removeSchema(e){if(e instanceof RegExp)return this._removeAllSchemas(this.schemas,e),this._removeAllSchemas(this.refs,e),this;switch(typeof e){case"undefined":return this._removeAllSchemas(this.schemas),this._removeAllSchemas(this.refs),this._cache.clear(),this;case"string":{const t=k.call(this,e);return"object"==typeof t&&this._cache.delete(t.schema),delete this.schemas[e],delete this.refs[e],this}case"object":{const t=e;this._cache.delete(t);let n=e[this.opts.schemaId];return n&&(n=(0,l.normalizeId)(n),delete this.schemas[n],delete this.refs[n]),this}default:throw new Error("ajv.removeSchema: invalid parameter")}}addVocabulary(e){for(const t of e)this.addKeyword(t);return this}addKeyword(e,t){let n;if("string"==typeof e)n=e,"object"==typeof t&&(this.logger.warn("these parameters are deprecated, see docs for addKeyword"),t.keyword=n);else{if("object"!=typeof e||void 0!==t)throw new Error("invalid addKeywords parameters");if(n=(t=e).keyword,Array.isArray(n)&&!n.length)throw new Error("addKeywords: keyword must be string or non-empty array")}if(A.call(this,n,t),!t)return(0,d.eachItem)(n,(e=>P.call(this,e))),this;F.call(this,t);const r={...t,type:(0,f.getJSONTypes)(t.type),schemaType:(0,f.getJSONTypes)(t.schemaType)};return(0,d.eachItem)(n,0===r.type.length?e=>P.call(this,e,r):e=>r.type.forEach((t=>P.call(this,e,r,t)))),this}getKeyword(e){const t=this.RULES.all[e];return"object"==typeof t?t.definition:!!t}removeKeyword(e){const{RULES:t}=this;delete t.keywords[e],delete t.all[e];for(const n of t.rules){const t=n.rules.findIndex((t=>t.keyword===e));t>=0&&n.rules.splice(t,1)}return this}addFormat(e,t){return"string"==typeof t&&(t=new RegExp(t)),this.formats[e]=t,this}errorsText(e=this.errors,{separator:t=", ",dataVar:n="data"}={}){return e&&0!==e.length?e.map((e=>`${n}${e.instancePath} ${e.message}`)).reduce(((e,n)=>e+t+n)):"No errors"}$dataMetaSchema(e,t){const n=this.RULES.all;e=JSON.parse(JSON.stringify(e));for(const r of t){const t=r.split("/").slice(1);let o=e;for(const e of t)o=o[e];for(const e in n){const t=n[e];if("object"!=typeof t)continue;const{$data:r}=t.definition,i=o[e];r&&i&&(o[e]=N(i))}}return e}_removeAllSchemas(e,t){for(const n in e){const r=e[n];t&&!t.test(n)||("string"==typeof r?delete e[n]:r&&!r.meta&&(this._cache.delete(r.schema),delete e[n]))}}_addSchema(e,t,n,r=this.opts.validateSchema,o=this.opts.addUsedSchema){let i;const{schemaId:s}=this.opts;if("object"==typeof e)i=e[s];else{if(this.opts.jtd)throw new Error("schema must be object");if("boolean"!=typeof e)throw new Error("schema must be object or boolean")}let a=this._cache.get(e);if(void 0!==a)return a;n=(0,l.normalizeId)(i||n);const c=l.getSchemaRefs.call(this,e,n);return a=new u.SchemaEnv({schema:e,schemaId:s,meta:t,baseId:n,localRefs:c}),this._cache.set(a.schema,a),o&&!n.startsWith("#")&&(n&&this._checkUnique(n),this.refs[n]=a),r&&this.validateSchema(e,!0),a}_checkUnique(e){if(this.schemas[e]||this.refs[e])throw new Error(`schema with key or id "${e}" already exists`)}_compileSchemaEnv(e){if(e.meta?this._compileMetaSchema(e):u.compileSchema.call(this,e),!e.validate)throw new Error("ajv implementation error");return e.validate}_compileMetaSchema(e){const t=this.opts;this.opts=this._metaOpts;try{u.compileSchema.call(this,e)}finally{this.opts=t}}}function E(e,t,n,r="error"){for(const o in e){const i=o;i in t&&this.logger[r](`${n}: option ${o}. ${e[i]}`)}}function k(e){return e=(0,l.normalizeId)(e),this.schemas[e]||this.refs[e]}function x(){const e=this.opts.schemas;if(e)if(Array.isArray(e))this.addSchema(e);else for(const t in e)this.addSchema(e[t],t)}function D(){for(const e in this.opts.formats){const t=this.opts.formats[e];t&&this.addFormat(e,t)}}function S(e){if(Array.isArray(e))this.addVocabulary(e);else{this.logger.warn("keywords option as map is deprecated, pass array");for(const t in e){const n=e[t];n.keyword||(n.keyword=t),this.addKeyword(n)}}}function C(){const e={...this.opts};for(const t of g)delete e[t];return e}w.ValidationError=i.default,w.MissingRefError=s.default,t.default=w;const O={log(){},warn(){},error(){}};const $=/^[a-z_$][a-z0-9_$:-]*$/i;function A(e,t){const{RULES:n}=this;if((0,d.eachItem)(e,(e=>{if(n.keywords[e])throw new Error(`Keyword ${e} is already defined`);if(!$.test(e))throw new Error(`Keyword ${e} has invalid name`)})),t&&t.$data&&!("code"in t)&&!("validate"in t))throw new Error('$data keyword must have "code" or "validate" function')}function P(e,t,n){var r;const o=null==t?void 0:t.post;if(n&&o)throw new Error('keyword with "post" flag cannot have "type"');const{RULES:i}=this;let s=o?i.post:i.rules.find((({type:e})=>e===n));if(s||(s={type:n,rules:[]},i.rules.push(s)),i.keywords[e]=!0,!t)return;const a={keyword:e,definition:{...t,type:(0,f.getJSONTypes)(t.type),schemaType:(0,f.getJSONTypes)(t.schemaType)}};t.before?j.call(this,s,a,t.before):s.rules.push(a),i.all[e]=a,null===(r=t.implements)||void 0===r||r.forEach((e=>this.addKeyword(e)))}function j(e,t,n){const r=e.rules.findIndex((e=>e.keyword===n));r>=0?e.rules.splice(r,0,t):(e.rules.push(t),this.logger.warn(`rule ${n} is not defined`))}function F(e){let{metaSchema:t}=e;void 0!==t&&(e.$data&&this.opts.$data&&(t=N(t)),e.validateSchema=this.compile(t,!0))}const I={$ref:"https://raw.githubusercontent.com/ajv-validator/ajv/master/lib/refs/data.json#"};function N(e){return{anyOf:[e,I]}}},99412:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(47322),o=n(70764),i=n(5124),s=n(96666),a=n(43182),u=n(71637),c=n(27889),l=n(83575),f=["/properties"];t.default=function(e){return[r,o,i,s,a,t(this,u),c,t(this,l)].forEach((e=>this.addMetaSchema(e,void 0,!1))),this;function t(t,n){return e?t.$dataMetaSchema(n,f):n}}},10487:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(69378);r.code='require("ajv/dist/runtime/equal").default',t.default=r},77079:(e,t)=>{"use strict";function n(e){const t=e.length;let n,r=0,o=0;for(;o<t;)r++,n=e.charCodeAt(o++),n>=55296&&n<=56319&&o<t&&(n=e.charCodeAt(o),56320==(64512&n)&&o++);return r}Object.defineProperty(t,"__esModule",{value:!0}),t.default=n,n.code='require("ajv/dist/runtime/ucs2length").default'},32726:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(12854);r.code='require("ajv/dist/runtime/uri").default',t.default=r},14282:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});class n extends Error{constructor(e){super("validation failed"),this.errors=e,this.ajv=this.validation=!0}}t.default=n},78789:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.validateAdditionalItems=void 0;const r=n(15923),o=n(91571),i={keyword:"additionalItems",type:"array",schemaType:["boolean","object"],before:"uniqueItems",error:{message:({params:{len:e}})=>r.str`must NOT have more than ${e} items`,params:({params:{len:e}})=>r._`{limit: ${e}}`},code(e){const{parentSchema:t,it:n}=e,{items:r}=t;Array.isArray(r)?s(e,r):(0,o.checkStrictMode)(n,'"additionalItems" is ignored when "items" is not an array of schemas')}};function s(e,t){const{gen:n,schema:i,data:s,keyword:a,it:u}=e;u.items=!0;const c=n.const("len",r._`${s}.length`);if(!1===i)e.setParams({len:t.length}),e.pass(r._`${c} <= ${t.length}`);else if("object"==typeof i&&!(0,o.alwaysValidSchema)(u,i)){const i=n.var("valid",r._`${c} <= ${t.length}`);n.if((0,r.not)(i),(()=>function(i){n.forRange("i",t.length,c,(t=>{e.subschema({keyword:a,dataProp:t,dataPropType:o.Type.Num},i),u.allErrors||n.if((0,r.not)(i),(()=>n.break()))}))}(i))),e.ok(i)}}t.validateAdditionalItems=s,t.default=i},12964:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(7861),o=n(15923),i=n(92115),s=n(91571),a={keyword:"additionalProperties",type:["object"],schemaType:["boolean","object"],allowUndefined:!0,trackErrors:!0,error:{message:"must NOT have additional properties",params:({params:e})=>o._`{additionalProperty: ${e.additionalProperty}}`},code(e){const{gen:t,schema:n,parentSchema:a,data:u,errsCount:c,it:l}=e;if(!c)throw new Error("ajv implementation error");const{allErrors:f,opts:d}=l;if(l.props=!0,"all"!==d.removeAdditional&&(0,s.alwaysValidSchema)(l,n))return;const h=(0,r.allSchemaProperties)(a.properties),p=(0,r.allSchemaProperties)(a.patternProperties);function m(e){t.code(o._`delete ${u}[${e}]`)}function g(r){if("all"===d.removeAdditional||d.removeAdditional&&!1===n)m(r);else{if(!1===n)return e.setParams({additionalProperty:r}),e.error(),void(f||t.break());if("object"==typeof n&&!(0,s.alwaysValidSchema)(l,n)){const n=t.name("valid");"failing"===d.removeAdditional?(y(r,n,!1),t.if((0,o.not)(n),(()=>{e.reset(),m(r)}))):(y(r,n),f||t.if((0,o.not)(n),(()=>t.break())))}}}function y(t,n,r){const o={keyword:"additionalProperties",dataProp:t,dataPropType:s.Type.Str};!1===r&&Object.assign(o,{compositeRule:!0,createErrors:!1,allErrors:!1}),e.subschema(o,n)}t.forIn("key",u,(n=>{h.length||p.length?t.if(function(n){let i;if(h.length>8){const e=(0,s.schemaRefOrVal)(l,a.properties,"properties");i=(0,r.isOwnProperty)(t,e,n)}else i=h.length?(0,o.or)(...h.map((e=>o._`${n} === ${e}`))):o.nil;return p.length&&(i=(0,o.or)(i,...p.map((t=>o._`${(0,r.usePattern)(e,t)}.test(${n})`)))),(0,o.not)(i)}(n),(()=>g(n))):g(n)})),e.ok(o._`${c} === ${i.default.errors}`)}};t.default=a},9076:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(91571),o={keyword:"allOf",schemaType:"array",code(e){const{gen:t,schema:n,it:o}=e;if(!Array.isArray(n))throw new Error("ajv implementation error");const i=t.name("valid");n.forEach(((t,n)=>{if((0,r.alwaysValidSchema)(o,t))return;const s=e.subschema({keyword:"allOf",schemaProp:n},i);e.ok(i),e.mergeEvaluated(s)}))}};t.default=o},17361:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r={keyword:"anyOf",schemaType:"array",trackErrors:!0,code:n(7861).validateUnion,error:{message:"must match a schema in anyOf"}};t.default=r},25483:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(15923),o=n(91571),i={keyword:"contains",type:"array",schemaType:["object","boolean"],before:"uniqueItems",trackErrors:!0,error:{message:({params:{min:e,max:t}})=>void 0===t?r.str`must contain at least ${e} valid item(s)`:r.str`must contain at least ${e} and no more than ${t} valid item(s)`,params:({params:{min:e,max:t}})=>void 0===t?r._`{minContains: ${e}}`:r._`{minContains: ${e}, maxContains: ${t}}`},code(e){const{gen:t,schema:n,parentSchema:i,data:s,it:a}=e;let u,c;const{minContains:l,maxContains:f}=i;a.opts.next?(u=void 0===l?1:l,c=f):u=1;const d=t.const("len",r._`${s}.length`);if(e.setParams({min:u,max:c}),void 0===c&&0===u)return void(0,o.checkStrictMode)(a,'"minContains" == 0 without "maxContains": "contains" keyword ignored');if(void 0!==c&&u>c)return(0,o.checkStrictMode)(a,'"minContains" > "maxContains" is always invalid'),void e.fail();if((0,o.alwaysValidSchema)(a,n)){let t=r._`${d} >= ${u}`;return void 0!==c&&(t=r._`${t} && ${d} <= ${c}`),void e.pass(t)}a.items=!0;const h=t.name("valid");function p(){const e=t.name("_valid"),n=t.let("count",0);m(e,(()=>t.if(e,(()=>function(e){t.code(r._`${e}++`),void 0===c?t.if(r._`${e} >= ${u}`,(()=>t.assign(h,!0).break())):(t.if(r._`${e} > ${c}`,(()=>t.assign(h,!1).break())),1===u?t.assign(h,!0):t.if(r._`${e} >= ${u}`,(()=>t.assign(h,!0))))}(n)))))}function m(n,r){t.forRange("i",0,d,(t=>{e.subschema({keyword:"contains",dataProp:t,dataPropType:o.Type.Num,compositeRule:!0},n),r()}))}void 0===c&&1===u?m(h,(()=>t.if(h,(()=>t.break())))):0===u?(t.let(h,!0),void 0!==c&&t.if(r._`${s}.length > 0`,p)):(t.let(h,!1),p()),e.result(h,(()=>e.reset()))}};t.default=i},61958:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.validateSchemaDeps=t.validatePropertyDeps=t.error=void 0;const r=n(15923),o=n(91571),i=n(7861);t.error={message:({params:{property:e,depsCount:t,deps:n}})=>{const o=1===t?"property":"properties";return r.str`must have ${o} ${n} when property ${e} is present`},params:({params:{property:e,depsCount:t,deps:n,missingProperty:o}})=>r._`{property: ${e}, - missingProperty: ${o}, - depsCount: ${t}, - deps: ${n}}`};const s={keyword:"dependencies",type:"object",schemaType:"object",error:t.error,code(e){const[t,n]=function({schema:e}){const t={},n={};for(const r in e){if("__proto__"===r)continue;(Array.isArray(e[r])?t:n)[r]=e[r]}return[t,n]}(e);a(e,t),u(e,n)}};function a(e,t=e.schema){const{gen:n,data:o,it:s}=e;if(0===Object.keys(t).length)return;const a=n.let("missing");for(const u in t){const c=t[u];if(0===c.length)continue;const l=(0,i.propertyInData)(n,o,u,s.opts.ownProperties);e.setParams({property:u,depsCount:c.length,deps:c.join(", ")}),s.allErrors?n.if(l,(()=>{for(const t of c)(0,i.checkReportMissingProp)(e,t)})):(n.if(r._`${l} && (${(0,i.checkMissingProp)(e,c,a)})`),(0,i.reportMissingProp)(e,a),n.else())}}function u(e,t=e.schema){const{gen:n,data:r,keyword:s,it:a}=e,u=n.name("valid");for(const c in t)(0,o.alwaysValidSchema)(a,t[c])||(n.if((0,i.propertyInData)(n,r,c,a.opts.ownProperties),(()=>{const t=e.subschema({keyword:s,schemaProp:c},u);e.mergeValidEvaluated(t,u)}),(()=>n.var(u,!0))),e.ok(u))}t.validatePropertyDeps=a,t.validateSchemaDeps=u,t.default=s},94341:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(61958),o={keyword:"dependentSchemas",type:"object",schemaType:"object",code:e=>(0,r.validateSchemaDeps)(e)};t.default=o},18686:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(15923),o=n(91571),i={keyword:"if",schemaType:["object","boolean"],trackErrors:!0,error:{message:({params:e})=>r.str`must match "${e.ifClause}" schema`,params:({params:e})=>r._`{failingKeyword: ${e.ifClause}}`},code(e){const{gen:t,parentSchema:n,it:i}=e;void 0===n.then&&void 0===n.else&&(0,o.checkStrictMode)(i,'"if" without "then" and "else" is ignored');const a=s(i,"then"),u=s(i,"else");if(!a&&!u)return;const c=t.let("valid",!0),l=t.name("_valid");if(function(){const t=e.subschema({keyword:"if",compositeRule:!0,createErrors:!1,allErrors:!1},l);e.mergeEvaluated(t)}(),e.reset(),a&&u){const n=t.let("ifClause");e.setParams({ifClause:n}),t.if(l,f("then",n),f("else",n))}else a?t.if(l,f("then")):t.if((0,r.not)(l),f("else"));function f(n,o){return()=>{const i=e.subschema({keyword:n},l);t.assign(c,l),e.mergeValidEvaluated(i,c),o?t.assign(o,r._`${n}`):e.setParams({ifClause:n})}}e.pass(c,(()=>e.error(!0)))}};function s(e,t){const n=e.schema[t];return void 0!==n&&!(0,o.alwaysValidSchema)(e,n)}t.default=i},74741:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(78789),o=n(65068),i=n(9256),s=n(14882),a=n(25483),u=n(61958),c=n(88806),l=n(12964),f=n(97558),d=n(52914),h=n(69546),p=n(17361),m=n(74872),g=n(9076),y=n(18686),v=n(15269);t.default=function(e=!1){const t=[h.default,p.default,m.default,g.default,y.default,v.default,c.default,l.default,u.default,f.default,d.default];return e?t.push(o.default,s.default):t.push(r.default,i.default),t.push(a.default),t}},9256:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.validateTuple=void 0;const r=n(15923),o=n(91571),i=n(7861),s={keyword:"items",type:"array",schemaType:["object","array","boolean"],before:"uniqueItems",code(e){const{schema:t,it:n}=e;if(Array.isArray(t))return a(e,"additionalItems",t);n.items=!0,(0,o.alwaysValidSchema)(n,t)||e.ok((0,i.validateArray)(e))}};function a(e,t,n=e.schema){const{gen:i,parentSchema:s,data:a,keyword:u,it:c}=e;!function(e){const{opts:r,errSchemaPath:i}=c,s=n.length,a=s===e.minItems&&(s===e.maxItems||!1===e[t]);if(r.strictTuples&&!a){const e=`"${u}" is ${s}-tuple, but minItems or maxItems/${t} are not specified or different at path "${i}"`;(0,o.checkStrictMode)(c,e,r.strictTuples)}}(s),c.opts.unevaluated&&n.length&&!0!==c.items&&(c.items=o.mergeEvaluated.items(i,n.length,c.items));const l=i.name("valid"),f=i.const("len",r._`${a}.length`);n.forEach(((t,n)=>{(0,o.alwaysValidSchema)(c,t)||(i.if(r._`${f} > ${n}`,(()=>e.subschema({keyword:u,schemaProp:n,dataProp:n},l))),e.ok(l))}))}t.validateTuple=a,t.default=s},14882:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(15923),o=n(91571),i=n(7861),s=n(78789),a={keyword:"items",type:"array",schemaType:["object","boolean"],before:"uniqueItems",error:{message:({params:{len:e}})=>r.str`must NOT have more than ${e} items`,params:({params:{len:e}})=>r._`{limit: ${e}}`},code(e){const{schema:t,parentSchema:n,it:r}=e,{prefixItems:a}=n;r.items=!0,(0,o.alwaysValidSchema)(r,t)||(a?(0,s.validateAdditionalItems)(e,a):e.ok((0,i.validateArray)(e)))}};t.default=a},69546:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(91571),o={keyword:"not",schemaType:["object","boolean"],trackErrors:!0,code(e){const{gen:t,schema:n,it:o}=e;if((0,r.alwaysValidSchema)(o,n))return void e.fail();const i=t.name("valid");e.subschema({keyword:"not",compositeRule:!0,createErrors:!1,allErrors:!1},i),e.failResult(i,(()=>e.reset()),(()=>e.error()))},error:{message:"must NOT be valid"}};t.default=o},74872:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(15923),o=n(91571),i={keyword:"oneOf",schemaType:"array",trackErrors:!0,error:{message:"must match exactly one schema in oneOf",params:({params:e})=>r._`{passingSchemas: ${e.passing}}`},code(e){const{gen:t,schema:n,parentSchema:i,it:s}=e;if(!Array.isArray(n))throw new Error("ajv implementation error");if(s.opts.discriminator&&i.discriminator)return;const a=n,u=t.let("valid",!1),c=t.let("passing",null),l=t.name("_valid");e.setParams({passing:c}),t.block((function(){a.forEach(((n,i)=>{let a;(0,o.alwaysValidSchema)(s,n)?t.var(l,!0):a=e.subschema({keyword:"oneOf",schemaProp:i,compositeRule:!0},l),i>0&&t.if(r._`${l} && ${u}`).assign(u,!1).assign(c,r._`[${c}, ${i}]`).else(),t.if(l,(()=>{t.assign(u,!0),t.assign(c,i),a&&e.mergeEvaluated(a,r.Name)}))}))})),e.result(u,(()=>e.reset()),(()=>e.error(!0)))}};t.default=i},52914:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(7861),o=n(15923),i=n(91571),s=n(91571),a={keyword:"patternProperties",type:"object",schemaType:"object",code(e){const{gen:t,schema:n,data:a,parentSchema:u,it:c}=e,{opts:l}=c,f=(0,r.allSchemaProperties)(n),d=f.filter((e=>(0,i.alwaysValidSchema)(c,n[e])));if(0===f.length||d.length===f.length&&(!c.opts.unevaluated||!0===c.props))return;const h=l.strictSchema&&!l.allowMatchingProperties&&u.properties,p=t.name("valid");!0===c.props||c.props instanceof o.Name||(c.props=(0,s.evaluatedPropsToName)(t,c.props));const{props:m}=c;function g(e){for(const t in h)new RegExp(e).test(t)&&(0,i.checkStrictMode)(c,`property ${t} matches pattern ${e} (use allowMatchingProperties)`)}function y(n){t.forIn("key",a,(i=>{t.if(o._`${(0,r.usePattern)(e,n)}.test(${i})`,(()=>{const r=d.includes(n);r||e.subschema({keyword:"patternProperties",schemaProp:n,dataProp:i,dataPropType:s.Type.Str},p),c.opts.unevaluated&&!0!==m?t.assign(o._`${m}[${i}]`,!0):r||c.allErrors||t.if((0,o.not)(p),(()=>t.break()))}))}))}!function(){for(const e of f)h&&g(e),c.allErrors?y(e):(t.var(p,!0),y(e),t.if(p))}()}};t.default=a},65068:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(9256),o={keyword:"prefixItems",type:"array",schemaType:["array"],before:"uniqueItems",code:e=>(0,r.validateTuple)(e,"items")};t.default=o},97558:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(4998),o=n(7861),i=n(91571),s=n(12964),a={keyword:"properties",type:"object",schemaType:"object",code(e){const{gen:t,schema:n,parentSchema:a,data:u,it:c}=e;"all"===c.opts.removeAdditional&&void 0===a.additionalProperties&&s.default.code(new r.KeywordCxt(c,s.default,"additionalProperties"));const l=(0,o.allSchemaProperties)(n);for(const r of l)c.definedProperties.add(r);c.opts.unevaluated&&l.length&&!0!==c.props&&(c.props=i.mergeEvaluated.props(t,(0,i.toHash)(l),c.props));const f=l.filter((e=>!(0,i.alwaysValidSchema)(c,n[e])));if(0===f.length)return;const d=t.name("valid");for(const r of f)h(r)?p(r):(t.if((0,o.propertyInData)(t,u,r,c.opts.ownProperties)),p(r),c.allErrors||t.else().var(d,!0),t.endIf()),e.it.definedProperties.add(r),e.ok(d);function h(e){return c.opts.useDefaults&&!c.compositeRule&&void 0!==n[e].default}function p(t){e.subschema({keyword:"properties",schemaProp:t,dataProp:t},d)}}};t.default=a},88806:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(15923),o=n(91571),i={keyword:"propertyNames",type:"object",schemaType:["object","boolean"],error:{message:"property name must be valid",params:({params:e})=>r._`{propertyName: ${e.propertyName}}`},code(e){const{gen:t,schema:n,data:i,it:s}=e;if((0,o.alwaysValidSchema)(s,n))return;const a=t.name("valid");t.forIn("key",i,(n=>{e.setParams({propertyName:n}),e.subschema({keyword:"propertyNames",data:n,dataTypes:["string"],propertyName:n,compositeRule:!0},a),t.if((0,r.not)(a),(()=>{e.error(!0),s.allErrors||t.break()}))})),e.ok(a)}};t.default=i},15269:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(91571),o={keyword:["then","else"],schemaType:["object","boolean"],code({keyword:e,parentSchema:t,it:n}){void 0===t.if&&(0,r.checkStrictMode)(n,`"${e}" without "if" is ignored`)}};t.default=o},7861:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.validateUnion=t.validateArray=t.usePattern=t.callValidateCode=t.schemaProperties=t.allSchemaProperties=t.noPropertyInData=t.propertyInData=t.isOwnProperty=t.hasPropFunc=t.reportMissingProp=t.checkMissingProp=t.checkReportMissingProp=void 0;const r=n(15923),o=n(91571),i=n(92115),s=n(91571);function a(e){return e.scopeValue("func",{ref:Object.prototype.hasOwnProperty,code:r._`Object.prototype.hasOwnProperty`})}function u(e,t,n){return r._`${a(e)}.call(${t}, ${n})`}function c(e,t,n,o){const i=r._`${t}${(0,r.getProperty)(n)} === undefined`;return o?(0,r.or)(i,(0,r.not)(u(e,t,n))):i}function l(e){return e?Object.keys(e).filter((e=>"__proto__"!==e)):[]}t.checkReportMissingProp=function(e,t){const{gen:n,data:o,it:i}=e;n.if(c(n,o,t,i.opts.ownProperties),(()=>{e.setParams({missingProperty:r._`${t}`},!0),e.error()}))},t.checkMissingProp=function({gen:e,data:t,it:{opts:n}},o,i){return(0,r.or)(...o.map((o=>(0,r.and)(c(e,t,o,n.ownProperties),r._`${i} = ${o}`))))},t.reportMissingProp=function(e,t){e.setParams({missingProperty:t},!0),e.error()},t.hasPropFunc=a,t.isOwnProperty=u,t.propertyInData=function(e,t,n,o){const i=r._`${t}${(0,r.getProperty)(n)} !== undefined`;return o?r._`${i} && ${u(e,t,n)}`:i},t.noPropertyInData=c,t.allSchemaProperties=l,t.schemaProperties=function(e,t){return l(t).filter((n=>!(0,o.alwaysValidSchema)(e,t[n])))},t.callValidateCode=function({schemaCode:e,data:t,it:{gen:n,topSchemaRef:o,schemaPath:s,errorPath:a},it:u},c,l,f){const d=f?r._`${e}, ${t}, ${o}${s}`:t,h=[[i.default.instancePath,(0,r.strConcat)(i.default.instancePath,a)],[i.default.parentData,u.parentData],[i.default.parentDataProperty,u.parentDataProperty],[i.default.rootData,i.default.rootData]];u.opts.dynamicRef&&h.push([i.default.dynamicAnchors,i.default.dynamicAnchors]);const p=r._`${d}, ${n.object(...h)}`;return l!==r.nil?r._`${c}.call(${l}, ${p})`:r._`${c}(${p})`};const f=r._`new RegExp`;t.usePattern=function({gen:e,it:{opts:t}},n){const o=t.unicodeRegExp?"u":"",{regExp:i}=t.code,a=i(n,o);return e.scopeValue("pattern",{key:a.toString(),ref:a,code:r._`${"new RegExp"===i.code?f:(0,s.useFunc)(e,i)}(${n}, ${o})`})},t.validateArray=function(e){const{gen:t,data:n,keyword:i,it:s}=e,a=t.name("valid");if(s.allErrors){const e=t.let("valid",!0);return u((()=>t.assign(e,!1))),e}return t.var(a,!0),u((()=>t.break())),a;function u(s){const u=t.const("len",r._`${n}.length`);t.forRange("i",0,u,(n=>{e.subschema({keyword:i,dataProp:n,dataPropType:o.Type.Num},a),t.if((0,r.not)(a),s)}))}},t.validateUnion=function(e){const{gen:t,schema:n,keyword:i,it:s}=e;if(!Array.isArray(n))throw new Error("ajv implementation error");if(n.some((e=>(0,o.alwaysValidSchema)(s,e)))&&!s.opts.unevaluated)return;const a=t.let("valid",!1),u=t.name("_valid");t.block((()=>n.forEach(((n,o)=>{const s=e.subschema({keyword:i,schemaProp:o,compositeRule:!0},u);t.assign(a,r._`${a} || ${u}`);e.mergeValidEvaluated(s,u)||t.if((0,r.not)(a))})))),e.result(a,(()=>e.reset()),(()=>e.error(!0)))}},95923:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n={keyword:"id",code(){throw new Error('NOT SUPPORTED: keyword "id", use "$id" for schema ID')}};t.default=n},35479:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(95923),o=n(61905),i=["$schema","$id","$defs","$vocabulary",{keyword:"$comment"},"definitions",r.default,o.default];t.default=i},61905:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.callRef=t.getValidate=void 0;const r=n(24186),o=n(7861),i=n(15923),s=n(92115),a=n(76968),u=n(91571),c={keyword:"$ref",schemaType:"string",code(e){const{gen:t,schema:n,it:o}=e,{baseId:s,schemaEnv:u,validateName:c,opts:d,self:h}=o,{root:p}=u;if(("#"===n||"#/"===n)&&s===p.baseId)return function(){if(u===p)return f(e,c,u,u.$async);const n=t.scopeValue("root",{ref:p});return f(e,i._`${n}.validate`,p,p.$async)}();const m=a.resolveRef.call(h,p,s,n);if(void 0===m)throw new r.default(o.opts.uriResolver,s,n);return m instanceof a.SchemaEnv?function(t){const n=l(e,t);f(e,n,t,t.$async)}(m):function(r){const o=t.scopeValue("schema",!0===d.code.source?{ref:r,code:(0,i.stringify)(r)}:{ref:r}),s=t.name("valid"),a=e.subschema({schema:r,dataTypes:[],schemaPath:i.nil,topSchemaRef:o,errSchemaPath:n},s);e.mergeEvaluated(a),e.ok(s)}(m)}};function l(e,t){const{gen:n}=e;return t.validate?n.scopeValue("validate",{ref:t.validate}):i._`${n.scopeValue("wrapper",{ref:t})}.validate`}function f(e,t,n,r){const{gen:a,it:c}=e,{allErrors:l,schemaEnv:f,opts:d}=c,h=d.passContext?s.default.this:i.nil;function p(e){const t=i._`${e}.errors`;a.assign(s.default.vErrors,i._`${s.default.vErrors} === null ? ${t} : ${s.default.vErrors}.concat(${t})`),a.assign(s.default.errors,i._`${s.default.vErrors}.length`)}function m(e){var t;if(!c.opts.unevaluated)return;const r=null===(t=null==n?void 0:n.validate)||void 0===t?void 0:t.evaluated;if(!0!==c.props)if(r&&!r.dynamicProps)void 0!==r.props&&(c.props=u.mergeEvaluated.props(a,r.props,c.props));else{const t=a.var("props",i._`${e}.evaluated.props`);c.props=u.mergeEvaluated.props(a,t,c.props,i.Name)}if(!0!==c.items)if(r&&!r.dynamicItems)void 0!==r.items&&(c.items=u.mergeEvaluated.items(a,r.items,c.items));else{const t=a.var("items",i._`${e}.evaluated.items`);c.items=u.mergeEvaluated.items(a,t,c.items,i.Name)}}r?function(){if(!f.$async)throw new Error("async schema referenced by sync schema");const n=a.let("valid");a.try((()=>{a.code(i._`await ${(0,o.callValidateCode)(e,t,h)}`),m(t),l||a.assign(n,!0)}),(e=>{a.if(i._`!(${e} instanceof ${c.ValidationError})`,(()=>a.throw(e))),p(e),l||a.assign(n,!1)})),e.ok(n)}():e.result((0,o.callValidateCode)(e,t,h),(()=>m(t)),(()=>p(t)))}t.getValidate=l,t.callRef=f,t.default=c},86825:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(15923),o=n(91072),i=n(76968),s=n(91571),a={keyword:"discriminator",type:"object",schemaType:"object",error:{message:({params:{discrError:e,tagName:t}})=>e===o.DiscrError.Tag?`tag "${t}" must be string`:`value of tag "${t}" must be in oneOf`,params:({params:{discrError:e,tag:t,tagName:n}})=>r._`{error: ${e}, tag: ${n}, tagValue: ${t}}`},code(e){const{gen:t,data:n,schema:a,parentSchema:u,it:c}=e,{oneOf:l}=u;if(!c.opts.discriminator)throw new Error("discriminator: requires discriminator option");const f=a.propertyName;if("string"!=typeof f)throw new Error("discriminator: requires propertyName");if(a.mapping)throw new Error("discriminator: mapping is not supported");if(!l)throw new Error("discriminator: requires oneOf keyword");const d=t.let("valid",!1),h=t.const("tag",r._`${n}${(0,r.getProperty)(f)}`);function p(n){const o=t.name("valid"),i=e.subschema({keyword:"oneOf",schemaProp:n},o);return e.mergeEvaluated(i,r.Name),o}t.if(r._`typeof ${h} == "string"`,(()=>function(){const n=function(){var e;const t={},n=o(u);let r=!0;for(let u=0;u<l.length;u++){let t=l[u];(null==t?void 0:t.$ref)&&!(0,s.schemaHasRulesButRef)(t,c.self.RULES)&&(t=i.resolveRef.call(c.self,c.schemaEnv.root,c.baseId,null==t?void 0:t.$ref),t instanceof i.SchemaEnv&&(t=t.schema));const d=null===(e=null==t?void 0:t.properties)||void 0===e?void 0:e[f];if("object"!=typeof d)throw new Error(`discriminator: oneOf subschemas (or referenced schemas) must have "properties/${f}"`);r=r&&(n||o(t)),a(d,u)}if(!r)throw new Error(`discriminator: "${f}" must be required`);return t;function o({required:e}){return Array.isArray(e)&&e.includes(f)}function a(e,t){if(e.const)d(e.const,t);else{if(!e.enum)throw new Error(`discriminator: "properties/${f}" must have "const" or "enum"`);for(const n of e.enum)d(n,t)}}function d(e,n){if("string"!=typeof e||e in t)throw new Error(`discriminator: "${f}" values must be unique strings`);t[e]=n}}();t.if(!1);for(const e in n)t.elseIf(r._`${h} === ${e}`),t.assign(d,p(n[e]));t.else(),e.error(!1,{discrError:o.DiscrError.Mapping,tag:h,tagName:f}),t.endIf()}()),(()=>e.error(!1,{discrError:o.DiscrError.Tag,tag:h,tagName:f}))),e.ok(d)}};t.default=a},91072:(e,t)=>{"use strict";var n;Object.defineProperty(t,"__esModule",{value:!0}),t.DiscrError=void 0,function(e){e.Tag="tag",e.Mapping="mapping"}(n||(t.DiscrError=n={}))},19282:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(35479),o=n(31226),i=n(74741),s=n(82175),a=n(72628),u=n(22163),c=n(50051),l=n(17148),f=[s.default,r.default,o.default,(0,i.default)(!0),c.default,l.metadataVocabulary,l.contentVocabulary,a.default,u.default];t.default=f},34960:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.dynamicAnchor=void 0;const r=n(15923),o=n(92115),i=n(76968),s=n(61905),a={keyword:"$dynamicAnchor",schemaType:"string",code:e=>u(e,e.schema)};function u(e,t){const{gen:n,it:a}=e;a.schemaEnv.root.dynamicAnchors[t]=!0;const u=r._`${o.default.dynamicAnchors}${(0,r.getProperty)(t)}`,c="#"===a.errSchemaPath?a.validateName:function(e){const{schemaEnv:t,schema:n,self:r}=e.it,{root:o,baseId:a,localRefs:u,meta:c}=t.root,{schemaId:l}=r.opts,f=new i.SchemaEnv({schema:n,schemaId:l,root:o,baseId:a,localRefs:u,meta:c});return i.compileSchema.call(r,f),(0,s.getValidate)(e,f)}(e);n.if(r._`!${u}`,(()=>n.assign(u,c)))}t.dynamicAnchor=u,t.default=a},5139:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.dynamicRef=void 0;const r=n(15923),o=n(92115),i=n(61905),s={keyword:"$dynamicRef",schemaType:"string",code:e=>a(e,e.schema)};function a(e,t){const{gen:n,keyword:s,it:a}=e;if("#"!==t[0])throw new Error(`"${s}" only supports hash fragment reference`);const u=t.slice(1);if(a.allErrors)c();else{const t=n.let("valid",!1);c(t),e.ok(t)}function c(e){if(a.schemaEnv.root.dynamicAnchors[u]){const t=n.let("_v",r._`${o.default.dynamicAnchors}${(0,r.getProperty)(u)}`);n.if(t,l(t,e),l(a.validateName,e))}else l(a.validateName,e)()}function l(t,r){return r?()=>n.block((()=>{(0,i.callRef)(e,t),n.let(r,!0)})):()=>(0,i.callRef)(e,t)}}t.dynamicRef=a,t.default=s},82175:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(34960),o=n(5139),i=n(77374),s=n(29873),a=[r.default,o.default,i.default,s.default];t.default=a},77374:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(34960),o=n(91571),i={keyword:"$recursiveAnchor",schemaType:"boolean",code(e){e.schema?(0,r.dynamicAnchor)(e,""):(0,o.checkStrictMode)(e.it,"$recursiveAnchor: false is ignored")}};t.default=i},29873:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(5139),o={keyword:"$recursiveRef",schemaType:"string",code:e=>(0,r.dynamicRef)(e,e.schema)};t.default=o},41656:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(15923),o={keyword:"format",type:["number","string"],schemaType:"string",$data:!0,error:{message:({schemaCode:e})=>r.str`must match format "${e}"`,params:({schemaCode:e})=>r._`{format: ${e}}`},code(e,t){const{gen:n,data:o,$data:i,schema:s,schemaCode:a,it:u}=e,{opts:c,errSchemaPath:l,schemaEnv:f,self:d}=u;c.validateFormats&&(i?function(){const i=n.scopeValue("formats",{ref:d.formats,code:c.code.formats}),s=n.const("fDef",r._`${i}[${a}]`),u=n.let("fType"),l=n.let("format");n.if(r._`typeof ${s} == "object" && !(${s} instanceof RegExp)`,(()=>n.assign(u,r._`${s}.type || "string"`).assign(l,r._`${s}.validate`)),(()=>n.assign(u,r._`"string"`).assign(l,s))),e.fail$data((0,r.or)(!1===c.strictSchema?r.nil:r._`${a} && !${l}`,function(){const e=f.$async?r._`(${s}.async ? await ${l}(${o}) : ${l}(${o}))`:r._`${l}(${o})`,n=r._`(typeof ${l} == "function" ? ${e} : ${l}.test(${o}))`;return r._`${l} && ${l} !== true && ${u} === ${t} && !${n}`}()))}():function(){const i=d.formats[s];if(!i)return void function(){if(!1===c.strictSchema)return void d.logger.warn(e());throw new Error(e());function e(){return`unknown format "${s}" ignored in schema at path "${l}"`}}();if(!0===i)return;const[a,u,h]=function(e){const t=e instanceof RegExp?(0,r.regexpCode)(e):c.code.formats?r._`${c.code.formats}${(0,r.getProperty)(s)}`:void 0,o=n.scopeValue("formats",{key:s,ref:e,code:t});if("object"==typeof e&&!(e instanceof RegExp))return[e.type||"string",e.validate,r._`${o}.validate`];return["string",e,o]}(i);a===t&&e.pass(function(){if("object"==typeof i&&!(i instanceof RegExp)&&i.async){if(!f.$async)throw new Error("async format in sync schema");return r._`await ${h}(${o})`}return"function"==typeof u?r._`${h}(${o})`:r._`${h}.test(${o})`}())}())}};t.default=o},50051:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=[n(41656).default];t.default=r},17148:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.contentVocabulary=t.metadataVocabulary=void 0,t.metadataVocabulary=["title","description","default","deprecated","readOnly","writeOnly","examples"],t.contentVocabulary=["contentMediaType","contentEncoding","contentSchema"]},72628:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(22913),o=n(94341),i=n(83014),s=[r.default,o.default,i.default];t.default=s},22163:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(96953),o=n(21540),i=[r.default,o.default];t.default=i},21540:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(15923),o=n(91571),i={keyword:"unevaluatedItems",type:"array",schemaType:["boolean","object"],error:{message:({params:{len:e}})=>r.str`must NOT have more than ${e} items`,params:({params:{len:e}})=>r._`{limit: ${e}}`},code(e){const{gen:t,schema:n,data:i,it:s}=e,a=s.items||0;if(!0===a)return;const u=t.const("len",r._`${i}.length`);if(!1===n)e.setParams({len:a}),e.fail(r._`${u} > ${a}`);else if("object"==typeof n&&!(0,o.alwaysValidSchema)(s,n)){const n=t.var("valid",r._`${u} <= ${a}`);t.if((0,r.not)(n),(()=>function(n,i){t.forRange("i",i,u,(i=>{e.subschema({keyword:"unevaluatedItems",dataProp:i,dataPropType:o.Type.Num},n),s.allErrors||t.if((0,r.not)(n),(()=>t.break()))}))}(n,a))),e.ok(n)}s.items=!0}};t.default=i},96953:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(15923),o=n(91571),i=n(92115),s={keyword:"unevaluatedProperties",type:"object",schemaType:["boolean","object"],trackErrors:!0,error:{message:"must NOT have unevaluated properties",params:({params:e})=>r._`{unevaluatedProperty: ${e.unevaluatedProperty}}`},code(e){const{gen:t,schema:n,data:s,errsCount:a,it:u}=e;if(!a)throw new Error("ajv implementation error");const{allErrors:c,props:l}=u;function f(i){if(!1===n)return e.setParams({unevaluatedProperty:i}),e.error(),void(c||t.break());if(!(0,o.alwaysValidSchema)(u,n)){const n=t.name("valid");e.subschema({keyword:"unevaluatedProperties",dataProp:i,dataPropType:o.Type.Str},n),c||t.if((0,r.not)(n),(()=>t.break()))}}l instanceof r.Name?t.if(r._`${l} !== true`,(()=>t.forIn("key",s,(e=>t.if(function(e,t){return r._`!${e} || !${e}[${t}]`}(l,e),(()=>f(e))))))):!0!==l&&t.forIn("key",s,(e=>void 0===l?f(e):t.if(function(e,t){const n=[];for(const o in e)!0===e[o]&&n.push(r._`${t} !== ${o}`);return(0,r.and)(...n)}(l,e),(()=>f(e))))),u.props=!0,e.ok(r._`${a} === ${i.default.errors}`)}};t.default=s},11498:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(15923),o=n(91571),i=n(10487),s={keyword:"const",$data:!0,error:{message:"must be equal to constant",params:({schemaCode:e})=>r._`{allowedValue: ${e}}`},code(e){const{gen:t,data:n,$data:s,schemaCode:a,schema:u}=e;s||u&&"object"==typeof u?e.fail$data(r._`!${(0,o.useFunc)(t,i.default)}(${n}, ${a})`):e.fail(r._`${u} !== ${n}`)}};t.default=s},22913:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(61958),o={keyword:"dependentRequired",type:"object",schemaType:"object",error:r.error,code:e=>(0,r.validatePropertyDeps)(e)};t.default=o},70269:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(15923),o=n(91571),i=n(10487),s={keyword:"enum",schemaType:"array",$data:!0,error:{message:"must be equal to one of the allowed values",params:({schemaCode:e})=>r._`{allowedValues: ${e}}`},code(e){const{gen:t,data:n,$data:s,schema:a,schemaCode:u,it:c}=e;if(!s&&0===a.length)throw new Error("enum must have non-empty array");const l=a.length>=c.opts.loopEnum;let f;const d=()=>null!=f?f:f=(0,o.useFunc)(t,i.default);let h;if(l||s)h=t.let("valid"),e.block$data(h,(function(){t.assign(h,!1),t.forOf("v",u,(e=>t.if(r._`${d()}(${n}, ${e})`,(()=>t.assign(h,!0).break()))))}));else{if(!Array.isArray(a))throw new Error("ajv implementation error");const e=t.const("vSchema",u);h=(0,r.or)(...a.map(((t,o)=>function(e,t){const o=a[t];return"object"==typeof o&&null!==o?r._`${d()}(${n}, ${e}[${t}])`:r._`${n} === ${o}`}(e,o))))}e.pass(h)}};t.default=s},31226:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(94885),o=n(32066),i=n(97997),s=n(52787),a=n(12674),u=n(35390),c=n(20262),l=n(86534),f=n(11498),d=n(70269),h=[r.default,o.default,i.default,s.default,a.default,u.default,c.default,l.default,{keyword:"type",schemaType:["string","array"]},{keyword:"nullable",schemaType:"boolean"},f.default,d.default];t.default=h},83014:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(91571),o={keyword:["maxContains","minContains"],type:"array",schemaType:"number",code({keyword:e,parentSchema:t,it:n}){void 0===t.contains&&(0,r.checkStrictMode)(n,`"${e}" without "contains" is ignored`)}};t.default=o},20262:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(15923),o={keyword:["maxItems","minItems"],type:"array",schemaType:"number",$data:!0,error:{message({keyword:e,schemaCode:t}){const n="maxItems"===e?"more":"fewer";return r.str`must NOT have ${n} than ${t} items`},params:({schemaCode:e})=>r._`{limit: ${e}}`},code(e){const{keyword:t,data:n,schemaCode:o}=e,i="maxItems"===t?r.operators.GT:r.operators.LT;e.fail$data(r._`${n}.length ${i} ${o}`)}};t.default=o},97997:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(15923),o=n(91571),i=n(77079),s={keyword:["maxLength","minLength"],type:"string",schemaType:"number",$data:!0,error:{message({keyword:e,schemaCode:t}){const n="maxLength"===e?"more":"fewer";return r.str`must NOT have ${n} than ${t} characters`},params:({schemaCode:e})=>r._`{limit: ${e}}`},code(e){const{keyword:t,data:n,schemaCode:s,it:a}=e,u="maxLength"===t?r.operators.GT:r.operators.LT,c=!1===a.opts.unicode?r._`${n}.length`:r._`${(0,o.useFunc)(e.gen,i.default)}(${n})`;e.fail$data(r._`${c} ${u} ${s}`)}};t.default=s},94885:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(15923),o=r.operators,i={maximum:{okStr:"<=",ok:o.LTE,fail:o.GT},minimum:{okStr:">=",ok:o.GTE,fail:o.LT},exclusiveMaximum:{okStr:"<",ok:o.LT,fail:o.GTE},exclusiveMinimum:{okStr:">",ok:o.GT,fail:o.LTE}},s={message:({keyword:e,schemaCode:t})=>r.str`must be ${i[e].okStr} ${t}`,params:({keyword:e,schemaCode:t})=>r._`{comparison: ${i[e].okStr}, limit: ${t}}`},a={keyword:Object.keys(i),type:"number",schemaType:"number",$data:!0,error:s,code(e){const{keyword:t,data:n,schemaCode:o}=e;e.fail$data(r._`${n} ${i[t].fail} ${o} || isNaN(${n})`)}};t.default=a},12674:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(15923),o={keyword:["maxProperties","minProperties"],type:"object",schemaType:"number",$data:!0,error:{message({keyword:e,schemaCode:t}){const n="maxProperties"===e?"more":"fewer";return r.str`must NOT have ${n} than ${t} properties`},params:({schemaCode:e})=>r._`{limit: ${e}}`},code(e){const{keyword:t,data:n,schemaCode:o}=e,i="maxProperties"===t?r.operators.GT:r.operators.LT;e.fail$data(r._`Object.keys(${n}).length ${i} ${o}`)}};t.default=o},32066:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(15923),o={keyword:"multipleOf",type:"number",schemaType:"number",$data:!0,error:{message:({schemaCode:e})=>r.str`must be multiple of ${e}`,params:({schemaCode:e})=>r._`{multipleOf: ${e}}`},code(e){const{gen:t,data:n,schemaCode:o,it:i}=e,s=i.opts.multipleOfPrecision,a=t.let("res"),u=s?r._`Math.abs(Math.round(${a}) - ${a}) > 1e-${s}`:r._`${a} !== parseInt(${a})`;e.fail$data(r._`(${o} === 0 || (${a} = ${n}/${o}, ${u}))`)}};t.default=o},52787:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(7861),o=n(15923),i={keyword:"pattern",type:"string",schemaType:"string",$data:!0,error:{message:({schemaCode:e})=>o.str`must match pattern "${e}"`,params:({schemaCode:e})=>o._`{pattern: ${e}}`},code(e){const{data:t,$data:n,schema:i,schemaCode:s,it:a}=e,u=a.opts.unicodeRegExp?"u":"",c=n?o._`(new RegExp(${s}, ${u}))`:(0,r.usePattern)(e,i);e.fail$data(o._`!${c}.test(${t})`)}};t.default=i},35390:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(7861),o=n(15923),i=n(91571),s={keyword:"required",type:"object",schemaType:"array",$data:!0,error:{message:({params:{missingProperty:e}})=>o.str`must have required property '${e}'`,params:({params:{missingProperty:e}})=>o._`{missingProperty: ${e}}`},code(e){const{gen:t,schema:n,schemaCode:s,data:a,$data:u,it:c}=e,{opts:l}=c;if(!u&&0===n.length)return;const f=n.length>=l.loopRequired;if(c.allErrors?function(){if(f||u)e.block$data(o.nil,d);else for(const t of n)(0,r.checkReportMissingProp)(e,t)}():function(){const i=t.let("missing");if(f||u){const n=t.let("valid",!0);e.block$data(n,(()=>function(n,i){e.setParams({missingProperty:n}),t.forOf(n,s,(()=>{t.assign(i,(0,r.propertyInData)(t,a,n,l.ownProperties)),t.if((0,o.not)(i),(()=>{e.error(),t.break()}))}),o.nil)}(i,n))),e.ok(n)}else t.if((0,r.checkMissingProp)(e,n,i)),(0,r.reportMissingProp)(e,i),t.else()}(),l.strictRequired){const t=e.parentSchema.properties,{definedProperties:r}=e.it;for(const e of n)if(void 0===(null==t?void 0:t[e])&&!r.has(e)){const t=`required property "${e}" is not defined at "${c.schemaEnv.baseId+c.errSchemaPath}" (strictRequired)`;(0,i.checkStrictMode)(c,t,c.opts.strictRequired)}}function d(){t.forOf("prop",s,(n=>{e.setParams({missingProperty:n}),t.if((0,r.noPropertyInData)(t,a,n,l.ownProperties),(()=>e.error()))}))}}};t.default=s},86534:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(31411),o=n(15923),i=n(91571),s=n(10487),a={keyword:"uniqueItems",type:"array",schemaType:"boolean",$data:!0,error:{message:({params:{i:e,j:t}})=>o.str`must NOT have duplicate items (items ## ${t} and ${e} are identical)`,params:({params:{i:e,j:t}})=>o._`{i: ${e}, j: ${t}}`},code(e){const{gen:t,data:n,$data:a,schema:u,parentSchema:c,schemaCode:l,it:f}=e;if(!a&&!u)return;const d=t.let("valid"),h=c.items?(0,r.getSchemaTypes)(c.items):[];function p(i,s){const a=t.name("item"),u=(0,r.checkDataTypes)(h,a,f.opts.strictNumbers,r.DataType.Wrong),c=t.const("indices",o._`{}`);t.for(o._`;${i}--;`,(()=>{t.let(a,o._`${n}[${i}]`),t.if(u,o._`continue`),h.length>1&&t.if(o._`typeof ${a} == "string"`,o._`${a} += "_"`),t.if(o._`typeof ${c}[${a}] == "number"`,(()=>{t.assign(s,o._`${c}[${a}]`),e.error(),t.assign(d,!1).break()})).code(o._`${c}[${a}] = ${i}`)}))}function m(r,a){const u=(0,i.useFunc)(t,s.default),c=t.name("outer");t.label(c).for(o._`;${r}--;`,(()=>t.for(o._`${a} = ${r}; ${a}--;`,(()=>t.if(o._`${u}(${n}[${r}], ${n}[${a}])`,(()=>{e.error(),t.assign(d,!1).break(c)}))))))}e.block$data(d,(function(){const r=t.let("i",o._`${n}.length`),i=t.let("j");e.setParams({i:r,j:i}),t.assign(d,!0),t.if(o._`${r} > 1`,(()=>(h.length>0&&!h.some((e=>"object"===e||"array"===e))?p:m)(r,i)))}),o._`${l} === false`),e.ok(d)}};t.default=a},5750:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>B});var r=n(2784),o=n(89741),i=n(40489),s=n(60361),a=n(97683);function u(){const{prism:e}=(0,a.L)(),{colorMode:t}=(0,s.I)(),n=e.theme,r=e.darkTheme||n;return"dark"===t?r:n}var c=n(90211),l=n(84501),f=n.n(l);const d=/title=(?<quote>["'])(?<title>.*?)\1/,h=/\{(?<range>[\d,-]+)\}/,p={js:{start:"\\/\\/",end:""},jsBlock:{start:"\\/\\*",end:"\\*\\/"},jsx:{start:"\\{\\s*\\/\\*",end:"\\*\\/\\s*\\}"},bash:{start:"#",end:""},html:{start:"\x3c!--",end:"--\x3e"}},m={...p,lua:{start:"--",end:""},wasm:{start:"\\;\\;",end:""},tex:{start:"%",end:""},vb:{start:"['\u2018\u2019]",end:""},vbnet:{start:"(?:_\\s*)?['\u2018\u2019]",end:""},rem:{start:"[Rr][Ee][Mm]\\b",end:""},f90:{start:"!",end:""},ml:{start:"\\(\\*",end:"\\*\\)"},cobol:{start:"\\*>",end:""}},g=Object.keys(p);function y(e,t){const n=e.map((e=>{const{start:n,end:r}=m[e];return`(?:${n}\\s*(${t.flatMap((e=>[e.line,e.block?.start,e.block?.end].filter(Boolean))).join("|")})\\s*${r})`})).join("|");return new RegExp(`^\\s*(?:${n})\\s*$`)}function v(e,t){let n=e.replace(/\n$/,"");const{language:r,magicComments:o,metastring:i}=t;if(i&&h.test(i)){const e=i.match(h).groups.range;if(0===o.length)throw new Error(`A highlight range has been given in code block's metastring (\`\`\` ${i}), but no magic comment config is available. Docusaurus applies the first magic comment entry's className for metastring ranges.`);const t=o[0].className,r=f()(e).filter((e=>e>0)).map((e=>[e-1,[t]]));return{lineClassNames:Object.fromEntries(r),code:n}}if(void 0===r)return{lineClassNames:{},code:n};const s=function(e,t){switch(e){case"js":case"javascript":case"ts":case"typescript":return y(["js","jsBlock"],t);case"jsx":case"tsx":return y(["js","jsBlock","jsx"],t);case"html":return y(["js","jsBlock","html"],t);case"python":case"py":case"bash":return y(["bash"],t);case"markdown":case"md":return y(["html","jsx","bash"],t);case"tex":case"latex":case"matlab":return y(["tex"],t);case"lua":case"haskell":case"sql":return y(["lua"],t);case"wasm":return y(["wasm"],t);case"vb":case"vba":case"visual-basic":return y(["vb","rem"],t);case"vbnet":return y(["vbnet","rem"],t);case"batch":return y(["rem"],t);case"basic":return y(["rem","f90"],t);case"fsharp":return y(["js","ml"],t);case"ocaml":case"sml":return y(["ml"],t);case"fortran":return y(["f90"],t);case"cobol":return y(["cobol"],t);default:return y(g,t)}}(r,o),a=n.split("\n"),u=Object.fromEntries(o.map((e=>[e.className,{start:0,range:""}]))),c=Object.fromEntries(o.filter((e=>e.line)).map((e=>{let{className:t,line:n}=e;return[n,t]}))),l=Object.fromEntries(o.filter((e=>e.block)).map((e=>{let{className:t,block:n}=e;return[n.start,t]}))),d=Object.fromEntries(o.filter((e=>e.block)).map((e=>{let{className:t,block:n}=e;return[n.end,t]})));for(let f=0;f<a.length;){const e=a[f].match(s);if(!e){f+=1;continue}const t=e.slice(1).find((e=>void 0!==e));c[t]?u[c[t]].range+=`${f},`:l[t]?u[l[t]].start=f:d[t]&&(u[d[t]].range+=`${u[d[t]].start}-${f-1},`),a.splice(f,1)}n=a.join("\n");const p={};return Object.entries(u).forEach((e=>{let[t,{range:n}]=e;f()(n).forEach((e=>{p[e]??=[],p[e].push(t)}))})),{lineClassNames:p,code:n}}const b={codeBlockContainer:"codeBlockContainer_ZGJx"};var _=n(52322);function w(e){let{as:t,...n}=e;const r=function(e){const t={color:"--prism-color",backgroundColor:"--prism-background-color"},n={};return Object.entries(e.plain).forEach((e=>{let[r,o]=e;const i=t[r];i&&"string"==typeof o&&(n[i]=o)})),n}(u());return(0,_.jsx)(t,{...n,style:r,className:(0,i.Z)(n.className,b.codeBlockContainer,c.k.common.codeBlock)})}const E={codeBlockContent:"codeBlockContent_qZBB",codeBlockTitle:"codeBlockTitle_zAEH",codeBlock:"codeBlock_TAPP",codeBlockStandalone:"codeBlockStandalone_K9VJ",codeBlockLines:"codeBlockLines_AdAo",codeBlockLinesWithNumbering:"codeBlockLinesWithNumbering_p5De",buttonGroup:"buttonGroup_TNwR"};function k(e){let{children:t,className:n}=e;return(0,_.jsx)(w,{as:"pre",tabIndex:0,className:(0,i.Z)(E.codeBlockStandalone,"thin-scrollbar",n),children:(0,_.jsx)("code",{className:E.codeBlockLines,children:t})})}var x=n(6335);const D={attributes:!0,characterData:!0,childList:!0,subtree:!0};function S(e,t){const[n,o]=(0,r.useState)(),i=(0,r.useCallback)((()=>{o(e.current?.closest("[role=tabpanel][hidden]"))}),[e,o]);(0,r.useEffect)((()=>{i()}),[i]),function(e,t,n){void 0===n&&(n=D);const o=(0,x.zX)(t),i=(0,x.Ql)(n);(0,r.useEffect)((()=>{const t=new MutationObserver(o);return e&&t.observe(e,i),()=>t.disconnect()}),[e,o,i])}(n,(e=>{e.forEach((e=>{"attributes"===e.type&&"hidden"===e.attributeName&&(t(),i())}))}),{attributes:!0,characterData:!1,childList:!1,subtree:!1})}var C=n(16935);const O={codeLine:"codeLine_DPDv",codeLineNumber:"codeLineNumber_YxQB",codeLineContent:"codeLineContent_SOIp"};function $(e){let{line:t,classNames:n,showLineNumbers:r,getLineProps:o,getTokenProps:s}=e;1===t.length&&"\n"===t[0].content&&(t[0].content="");const a=o({line:t,className:(0,i.Z)(n,r&&O.codeLine)}),u=t.map(((e,t)=>(0,_.jsx)("span",{...s({token:e})},t)));return(0,_.jsxs)("span",{...a,children:[r?(0,_.jsxs)(_.Fragment,{children:[(0,_.jsx)("span",{className:O.codeLineNumber}),(0,_.jsx)("span",{className:O.codeLineContent,children:u})]}):u,(0,_.jsx)("br",{})]})}var A=n(1077);function P(e){return(0,_.jsx)("svg",{viewBox:"0 0 24 24",...e,children:(0,_.jsx)("path",{fill:"currentColor",d:"M19,21H8V7H19M19,5H8A2,2 0 0,0 6,7V21A2,2 0 0,0 8,23H19A2,2 0 0,0 21,21V7A2,2 0 0,0 19,5M16,1H4A2,2 0 0,0 2,3V17H4V3H16V1Z"})})}function j(e){return(0,_.jsx)("svg",{viewBox:"0 0 24 24",...e,children:(0,_.jsx)("path",{fill:"currentColor",d:"M21,7L9,19L3.5,13.5L4.91,12.09L9,16.17L19.59,5.59L21,7Z"})})}const F={copyButtonCopied:"copyButtonCopied_Mzdr",copyButtonIcons:"copyButtonIcons_MVhB",copyButtonIcon:"copyButtonIcon_yxgH",copyButtonSuccessIcon:"copyButtonSuccessIcon_QJLJ"};function I(e){let{code:t,className:n}=e;const[o,s]=(0,r.useState)(!1),a=(0,r.useRef)(void 0),u=(0,r.useCallback)((()=>{!function(e,t){let{target:n=document.body}=void 0===t?{}:t;if("string"!=typeof e)throw new TypeError(`Expected parameter \`text\` to be a \`string\`, got \`${typeof e}\`.`);const r=document.createElement("textarea"),o=document.activeElement;r.value=e,r.setAttribute("readonly",""),r.style.contain="strict",r.style.position="absolute",r.style.left="-9999px",r.style.fontSize="12pt";const i=document.getSelection(),s=i.rangeCount>0&&i.getRangeAt(0);n.append(r),r.select(),r.selectionStart=0,r.selectionEnd=e.length;let a=!1;try{a=document.execCommand("copy")}catch{}r.remove(),s&&(i.removeAllRanges(),i.addRange(s)),o&&o.focus()}(t),s(!0),a.current=window.setTimeout((()=>{s(!1)}),1e3)}),[t]);return(0,r.useEffect)((()=>()=>window.clearTimeout(a.current)),[]),(0,_.jsx)("button",{type:"button","aria-label":o?(0,A.translate)({id:"theme.CodeBlock.copied",message:"Copied",description:"The copied button label on code blocks"}):(0,A.translate)({id:"theme.CodeBlock.copyButtonAriaLabel",message:"Copy code to clipboard",description:"The ARIA label for copy code blocks button"}),title:(0,A.translate)({id:"theme.CodeBlock.copy",message:"Copy",description:"The copy button label on code blocks"}),className:(0,i.Z)("clean-btn",n,F.copyButton,o&&F.copyButtonCopied),onClick:u,children:(0,_.jsxs)("span",{className:F.copyButtonIcons,"aria-hidden":"true",children:[(0,_.jsx)(P,{className:F.copyButtonIcon}),(0,_.jsx)(j,{className:F.copyButtonSuccessIcon})]})})}function N(e){return(0,_.jsx)("svg",{viewBox:"0 0 24 24",...e,children:(0,_.jsx)("path",{fill:"currentColor",d:"M4 19h6v-2H4v2zM20 5H4v2h16V5zm-3 6H4v2h13.25c1.1 0 2 .9 2 2s-.9 2-2 2H15v-2l-3 3l3 3v-2h2c2.21 0 4-1.79 4-4s-1.79-4-4-4z"})})}const T={wordWrapButtonIcon:"wordWrapButtonIcon_SMj9",wordWrapButtonEnabled:"wordWrapButtonEnabled_vR9E"};function M(e){let{className:t,onClick:n,isEnabled:r}=e;const o=(0,A.translate)({id:"theme.CodeBlock.wordWrapToggle",message:"Toggle word wrap",description:"The title attribute for toggle word wrapping button of code block lines"});return(0,_.jsx)("button",{type:"button",onClick:n,className:(0,i.Z)("clean-btn",t,r&&T.wordWrapButtonEnabled),"aria-label":o,title:o,children:(0,_.jsx)(N,{className:T.wordWrapButtonIcon,"aria-hidden":"true"})})}function R(e){let{children:t,className:n="",metastring:o,title:s,showLineNumbers:c,language:l}=e;const{prism:{defaultLanguage:f,magicComments:h}}=(0,a.L)(),p=function(e){return e?.toLowerCase()}(l??function(e){const t=e.split(" ").find((e=>e.startsWith("language-")));return t?.replace(/language-/,"")}(n)??f),m=u(),g=function(){const[e,t]=(0,r.useState)(!1),[n,o]=(0,r.useState)(!1),i=(0,r.useRef)(null),s=(0,r.useCallback)((()=>{const n=i.current.querySelector("code");e?n.removeAttribute("style"):(n.style.whiteSpace="pre-wrap",n.style.overflowWrap="anywhere"),t((e=>!e))}),[i,e]),a=(0,r.useCallback)((()=>{const{scrollWidth:e,clientWidth:t}=i.current,n=e>t||i.current.querySelector("code").hasAttribute("style");o(n)}),[i]);return S(i,a),(0,r.useEffect)((()=>{a()}),[e,a]),(0,r.useEffect)((()=>(window.addEventListener("resize",a,{passive:!0}),()=>{window.removeEventListener("resize",a)})),[a]),{codeBlockRef:i,isEnabled:e,isCodeScrollable:n,toggle:s}}(),y=function(e){return e?.match(d)?.groups.title??""}(o)||s,{lineClassNames:b,code:k}=v(t,{metastring:o,language:p,magicComments:h}),x=c??function(e){return Boolean(e?.includes("showLineNumbers"))}(o);return(0,_.jsxs)(w,{as:"div",className:(0,i.Z)(n,p&&!n.includes(`language-${p}`)&&`language-${p}`),children:[y&&(0,_.jsx)("div",{className:E.codeBlockTitle,children:y}),(0,_.jsxs)("div",{className:E.codeBlockContent,children:[(0,_.jsx)(C.y$,{theme:m,code:k,language:p??"text",children:e=>{let{className:t,style:n,tokens:r,getLineProps:o,getTokenProps:s}=e;return(0,_.jsx)("pre",{tabIndex:0,ref:g.codeBlockRef,className:(0,i.Z)(t,E.codeBlock,"thin-scrollbar"),style:n,children:(0,_.jsx)("code",{className:(0,i.Z)(E.codeBlockLines,x&&E.codeBlockLinesWithNumbering),children:r.map(((e,t)=>(0,_.jsx)($,{line:e,getLineProps:o,getTokenProps:s,classNames:b[t],showLineNumbers:x},t)))})})}}),(0,_.jsxs)("div",{className:E.buttonGroup,children:[(g.isEnabled||g.isCodeScrollable)&&(0,_.jsx)(M,{className:E.codeButton,onClick:()=>g.toggle(),isEnabled:g.isEnabled}),(0,_.jsx)(I,{className:E.codeButton,code:k})]})]})]})}function B(e){let{children:t,...n}=e;const i=(0,o.Z)(),s=function(e){return r.Children.toArray(e).some((e=>(0,r.isValidElement)(e)))?e:Array.isArray(e)?e.join(""):e}(t),a="string"==typeof s?R:k;return(0,_.jsx)(a,{...n,children:s},String(i))}},98480:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>m});var r=n(2784),o=n(40489),i=n(42530),s=n(89741),a=n(28698);const u={details:"details_B4FW",isBrowser:"isBrowser_Cof9",collapsibleContent:"collapsibleContent_VYua"};var c=n(52322);function l(e){return!!e&&("SUMMARY"===e.tagName||l(e.parentElement))}function f(e,t){return!!e&&(e===t||f(e.parentElement,t))}function d(e){let{summary:t,children:n,...d}=e;(0,i.Z)().collectAnchor(d.id);const h=(0,s.Z)(),p=(0,r.useRef)(null),{collapsed:m,setCollapsed:g}=(0,a.u)({initialState:!d.open}),[y,v]=(0,r.useState)(d.open),b=r.isValidElement(t)?t:(0,c.jsx)("summary",{children:t??"Details"});return(0,c.jsxs)("details",{...d,ref:p,open:y,"data-collapsed":m,className:(0,o.Z)(u.details,h&&u.isBrowser,d.className),onMouseDown:e=>{l(e.target)&&e.detail>1&&e.preventDefault()},onClick:e=>{e.stopPropagation();const t=e.target;l(t)&&f(t,p.current)&&(e.preventDefault(),m?(g(!1),v(!0)):g(!0))},children:[b,(0,c.jsx)(a.z,{lazy:!1,collapsed:m,disableSSRStyle:!0,onCollapseTransitionEnd:e=>{g(e),v(!e)},children:(0,c.jsx)("div",{className:u.collapsibleContent,children:n})})]})}const h={details:"details_SZgV"},p="alert alert--info";function m(e){let{...t}=e;return(0,c.jsx)(d,{...t,className:(0,o.Z)(p,h.details,t.className)})}},82009:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>s});n(2784);var r=n(40489);const o={tabItem:"tabItem_OMyP"};var i=n(52322);function s(e){let{children:t,hidden:n,className:s}=e;return(0,i.jsx)("div",{role:"tabpanel",className:(0,r.Z)(o.tabItem,s),hidden:n,children:t})}},77336:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>E});var r=n(2784),o=n(40489),i=n(24126),s=n(7267),a=n(70164),u=n(32424),c=n(42244),l=n(37611);function f(e){return r.Children.toArray(e).filter((e=>"\n"!==e)).map((e=>{if(!e||(0,r.isValidElement)(e)&&function(e){const{props:t}=e;return!!t&&"object"==typeof t&&"value"in t}(e))return e;throw new Error(`Docusaurus error: Bad <Tabs> child <${"string"==typeof e.type?e.type:e.type.name}>: all children of the <Tabs> component should be <TabItem>, and every <TabItem> should have a unique "value" prop.`)}))?.filter(Boolean)??[]}function d(e){const{values:t,children:n}=e;return(0,r.useMemo)((()=>{const e=t??function(e){return f(e).map((e=>{let{props:{value:t,label:n,attributes:r,default:o}}=e;return{value:t,label:n,attributes:r,default:o}}))}(n);return function(e){const t=(0,c.l)(e,((e,t)=>e.value===t.value));if(t.length>0)throw new Error(`Docusaurus error: Duplicate values "${t.map((e=>e.value)).join(", ")}" found in <Tabs>. Every value needs to be unique.`)}(e),e}),[t,n])}function h(e){let{value:t,tabValues:n}=e;return n.some((e=>e.value===t))}function p(e){let{queryString:t=!1,groupId:n}=e;const o=(0,s.k6)(),i=function(e){let{queryString:t=!1,groupId:n}=e;if("string"==typeof t)return t;if(!1===t)return null;if(!0===t&&!n)throw new Error('Docusaurus error: The <Tabs> component groupId prop is required if queryString=true, because this value is used as the search param name. You can also provide an explicit value such as queryString="my-search-param".');return n??null}({queryString:t,groupId:n});return[(0,u._X)(i),(0,r.useCallback)((e=>{if(!i)return;const t=new URLSearchParams(o.location.search);t.set(i,e),o.replace({...o.location,search:t.toString()})}),[i,o])]}function m(e){const{defaultValue:t,queryString:n=!1,groupId:o}=e,i=d(e),[s,u]=(0,r.useState)((()=>function(e){let{defaultValue:t,tabValues:n}=e;if(0===n.length)throw new Error("Docusaurus error: the <Tabs> component requires at least one <TabItem> children component");if(t){if(!h({value:t,tabValues:n}))throw new Error(`Docusaurus error: The <Tabs> has a defaultValue "${t}" but none of its children has the corresponding value. Available values are: ${n.map((e=>e.value)).join(", ")}. If you intend to show no default tab, use defaultValue={null} instead.`);return t}const r=n.find((e=>e.default))??n[0];if(!r)throw new Error("Unexpected error: 0 tabValues");return r.value}({defaultValue:t,tabValues:i}))),[c,f]=p({queryString:n,groupId:o}),[m,g]=function(e){let{groupId:t}=e;const n=function(e){return e?`docusaurus.tab.${e}`:null}(t),[o,i]=(0,l.Nk)(n);return[o,(0,r.useCallback)((e=>{n&&i.set(e)}),[n,i])]}({groupId:o}),y=(()=>{const e=c??m;return h({value:e,tabValues:i})?e:null})();(0,a.Z)((()=>{y&&u(y)}),[y]);return{selectedValue:s,selectValue:(0,r.useCallback)((e=>{if(!h({value:e,tabValues:i}))throw new Error(`Can't select invalid tab value=${e}`);u(e),f(e),g(e)}),[f,g,i]),tabValues:i}}var g=n(89741);const y={tabList:"tabList_M0Dn",tabItem:"tabItem_ysIP"};var v=n(52322);function b(e){let{className:t,block:n,selectedValue:r,selectValue:s,tabValues:a}=e;const u=[],{blockElementScrollPositionUntilNextRender:c}=(0,i.o5)(),l=e=>{const t=e.currentTarget,n=u.indexOf(t),o=a[n].value;o!==r&&(c(t),s(o))},f=e=>{let t=null;switch(e.key){case"Enter":l(e);break;case"ArrowRight":{const n=u.indexOf(e.currentTarget)+1;t=u[n]??u[0];break}case"ArrowLeft":{const n=u.indexOf(e.currentTarget)-1;t=u[n]??u[u.length-1];break}}t?.focus()};return(0,v.jsx)("ul",{role:"tablist","aria-orientation":"horizontal",className:(0,o.Z)("tabs",{"tabs--block":n},t),children:a.map((e=>{let{value:t,label:n,attributes:i}=e;return(0,v.jsx)("li",{role:"tab",tabIndex:r===t?0:-1,"aria-selected":r===t,ref:e=>u.push(e),onKeyDown:f,onClick:l,...i,className:(0,o.Z)("tabs__item",y.tabItem,i?.className,{"tabs__item--active":r===t}),children:n??t},t)}))})}function _(e){let{lazy:t,children:n,selectedValue:o}=e;const i=(Array.isArray(n)?n:[n]).filter(Boolean);if(t){const e=i.find((e=>e.props.value===o));return e?(0,r.cloneElement)(e,{className:"margin-top--md"}):null}return(0,v.jsx)("div",{className:"margin-top--md",children:i.map(((e,t)=>(0,r.cloneElement)(e,{key:t,hidden:e.props.value!==o})))})}function w(e){const t=m(e);return(0,v.jsxs)("div",{className:(0,o.Z)("tabs-container",y.tabList),children:[(0,v.jsx)(b,{...t,...e}),(0,v.jsx)(_,{...t,...e})]})}function E(e){const t=(0,g.Z)();return(0,v.jsx)(w,{...e,children:f(e.children)},String(t))}},14963:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=r(n(2784)),i=r(n(1077)),s=n(9966);t.default=function(){return o.default.createElement(o.default.Fragment,null,o.default.createElement(s.TypeLabel,null),"\xa0:\xa0",o.default.createElement(s.FalseLabel,null),o.default.createElement("div",{style:{marginTop:"var(--ifm-table-cell-padding)"}},o.default.createElement(i.default,{values:{id:"json-schema.labels.false"}},"Always invalid")))}},48800:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=r(n(2784)),i=r(n(1077)),s=n(9966),a=n(94598),u=n(77740),c=n(54884);t.default=function(e){let{schema:t}=e;const n=(0,a.useJSVOptionsContext)(),r="boolean"!=typeof t,l=r?t.description:void 0;return o.default.createElement(o.default.Fragment,null,o.default.createElement(s.TypeLabel,null),"\xa0:\xa0",o.default.createElement(s.TrueLabel,null),o.default.createElement("div",{style:{marginTop:"var(--ifm-table-cell-padding)"}},o.default.createElement(i.default,{values:{id:"json-schema.labels.true"}},"Always valid")),r&&o.default.createElement("div",{style:{marginTop:"var(--ifm-table-cell-padding)"}},o.default.createElement(u.QualifierMessages,{schema:t,options:n})),void 0!==l&&o.default.createElement(c.CreateDescription,{description:l}))}},38753:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=r(n(2784)),i=n(77740),s=n(94598),a=n(9966),u=n(54884);t.default=function(e){const{schema:t,nullable:n,description:r}=e,c=(0,s.useJSVOptionsContext)();return o.default.createElement(o.default.Fragment,null,o.default.createElement(a.TypeLabel,null),"\xa0:\xa0",o.default.createElement(a.BooleanLabel,null),o.default.createElement("div",{style:{marginTop:"var(--ifm-table-cell-padding)"}},o.default.createElement(i.QualifierMessages,{schema:t,options:c,nullable:n})),void 0!==r&&o.default.createElement(u.CreateDescription,{description:r}))}},96187:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=r(n(2784)),i=n(94598);t.default=function(e){const{description:t}=e,{DescriptionComponent:n}=(0,i.useJSVOptionsContext)();return o.default.createElement("div",{style:{marginTop:"var(--ifm-table-cell-padding)"}},n?o.default.createElement(n,{description:t}):t)}},15093:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=r(n(2784)),i=n(77740),s=n(94598),a=n(9966),u=n(54884);t.default=function(e){const{schema:t,nullable:n,description:r}=e,c=(0,s.useJSVOptionsContext)();return o.default.createElement(o.default.Fragment,null,o.default.createElement(a.TypeLabel,null),"\xa0:\xa0",o.default.createElement(a.IntegerLabel,null),o.default.createElement("div",{style:{marginTop:"var(--ifm-table-cell-padding)"}},o.default.createElement(i.QualifierMessages,{schema:t,options:c,nullable:n})),void 0!==r&&o.default.createElement(u.CreateDescription,{description:r}))}},18938:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=r(n(2784)),i=n(77740),s=n(94598),a=n(9966),u=n(54884);t.default=function(e){const{schema:t,description:n}=e,r=(0,s.useJSVOptionsContext)();return o.default.createElement(o.default.Fragment,null,o.default.createElement(a.TypeLabel,null),"\xa0:\xa0",o.default.createElement(a.NullLabel,null),o.default.createElement("div",{style:{marginTop:"var(--ifm-table-cell-padding)"}},o.default.createElement(i.QualifierMessages,{schema:t,options:r})),void 0!==n&&o.default.createElement(u.CreateDescription,{description:n}))}},1996:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=r(n(2784)),i=n(77740),s=n(94598),a=n(9966),u=n(54884);t.default=function(e){const{schema:t,description:n,nullable:r}=e,c=(0,s.useJSVOptionsContext)();return o.default.createElement(o.default.Fragment,null,o.default.createElement(a.TypeLabel,null),"\xa0:\xa0",o.default.createElement(a.NumberLabel,null),o.default.createElement("div",{style:{marginTop:"var(--ifm-table-cell-padding)"}},o.default.createElement(i.QualifierMessages,{schema:t,options:c,nullable:r})),void 0!==n&&o.default.createElement(u.CreateDescription,{description:n}))}},76559:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=r(n(2784)),i=n(77740),s=n(94598),a=n(9966),u=n(54884);t.default=function(e){const{schema:t,nullable:n,description:r}=e,c=(0,s.useJSVOptionsContext)(),l=t.format;return o.default.createElement(o.default.Fragment,null,o.default.createElement(a.TypeLabel,null),"\xa0:\xa0",o.default.createElement(a.StringLabel,{format:l}),o.default.createElement("div",{style:{marginTop:"var(--ifm-table-cell-padding)"}},o.default.createElement(i.QualifierMessages,{schema:t,options:c,nullable:n})),void 0!==r&&o.default.createElement(u.CreateDescription,{description:r}))}},95566:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=r(n(2784)),i=n(94598),s=n(85685);t.default=function(e){const{value:t,schema:n}=e,{ValueComponent:r}=(0,i.useJSVOptionsContext)();return r?o.default.createElement(r,{value:t,schema:n}):(0,s.printSchemaType)(t)}},85901:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=r(n(2784)),i=n(51074);t.default=function(e){const{schema:t}=e;let n=t.dependencies,r=Object.entries(n).reduce(((e,t)=>{let[n,r]=t;return Array.isArray(r)?e.dependentRequired[n]=r:e.dependentSchemas[n]=r,e}),{dependentRequired:{},dependentSchemas:{}});return o.default.createElement(o.default.Fragment,null,Object.keys(r.dependentRequired).length>0&&o.default.createElement(i.DependentRequired,{schema:{dependentRequired:r.dependentRequired}}),Object.keys(r.dependentSchemas).length>0&&o.default.createElement(i.DependentSchemas,{schema:{dependentSchemas:r.dependentSchemas}}))}},31892:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=r(n(2784)),i=n(14043);t.default=function(e){const{schema:t}=e;let n=t.dependentRequired,r={allOf:Object.entries(n).map((e=>{let[t,n]=e;return{if:{type:"object",required:[t]},then:{type:"object",required:n}}}))};return o.default.createElement(i.AllOfSchema,{schema:r})}},79131:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=r(n(2784)),i=n(14043);t.default=function(e){const{schema:t}=e;let n=t.dependentSchemas,r={allOf:Object.entries(n).map((e=>{let[t,n]=e;return{if:{type:"object",required:[t]},then:n}}))};return o.default.createElement(i.AllOfSchema,{schema:r})}},54742:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=r(n(2784)),i=r(n(82009)),s=r(n(77336)),a=n(2204),u=n(94598),c=n(9966);t.default=function(e){const{schema:t}=e,n=void 0!==t.then,r=void 0!==t.else;let l=[{value:"schema_if",label:o.default.createElement(c.IfLabel,null)},n&&{value:"schema_then",label:o.default.createElement(c.ThenLabel,null)},r&&{value:"schema_else",label:o.default.createElement(c.ElseLabel,null)}].filter((e=>"boolean"!=typeof e));return o.default.createElement(s.default,{defaultValue:"schema_if",values:l},l.map((e=>o.default.createElement(i.default,{value:e.value,key:e.value},function(e,t){switch(e){case"schema_if":return o.default.createElement(u.SchemaHierarchyComponent,{innerJsonPointer:"/if"},o.default.createElement(a.CreateNodes,{schema:t.if}));case"schema_then":return o.default.createElement(u.SchemaHierarchyComponent,{innerJsonPointer:"/then"},o.default.createElement(a.CreateNodes,{schema:t.then}));case"schema_else":return o.default.createElement(u.SchemaHierarchyComponent,{innerJsonPointer:"/else"},o.default.createElement(a.CreateNodes,{schema:t.else}))}}(e.value,t)))))}},51074:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.SchemaConditional=t.Dependencies=t.DependentSchemas=t.DependentRequired=t.IfElseThen=void 0;var o=n(54742);Object.defineProperty(t,"IfElseThen",{enumerable:!0,get:function(){return r(o).default}});var i=n(31892);Object.defineProperty(t,"DependentRequired",{enumerable:!0,get:function(){return r(i).default}});var s=n(79131);Object.defineProperty(t,"DependentSchemas",{enumerable:!0,get:function(){return r(s).default}});var a=n(85901);Object.defineProperty(t,"Dependencies",{enumerable:!0,get:function(){return r(a).default}});var u=n(94845);Object.defineProperty(t,"SchemaConditional",{enumerable:!0,get:function(){return r(u).default}})},53303:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=r(n(2784)),i=r(n(1077)),s=n(2204),a=n(94598);function u(e){let{count:t}=e;return o.default.createElement("code",null,o.default.createElement(i.default,{values:{id:"json-schema.keywords.additionalItemsEntry",count:t}},"items[{count},...]"))}t.default=function(e){const{schema:t}=e;let n=t.additionalItems;if(void 0===n||"boolean"==typeof n)return o.default.createElement(o.default.Fragment,null);const r=Array.isArray(t.items)?t.items.length:1;return o.default.createElement("ul",null,o.default.createElement(a.SchemaHierarchyComponent,{innerJsonPointer:"/additionalItems"},o.default.createElement(s.CreateEdge,{key:"array_additionalItems",name:o.default.createElement(u,{count:r}),schema:n,required:void 0!==t.minItems&&r>=t.minItems-1})))}},3606:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=r(n(2784)),i=r(n(1077)),s=n(2204),a=n(94598);t.default=function(e){const{schema:t}=e;let n=t.contains;if(void 0===n)return o.default.createElement(o.default.Fragment,null);const r=o.default.createElement("code",null,o.default.createElement(i.default,{values:{id:"json-schema.keywords.containsEntry"}},"items[..., x, ...]"));return o.default.createElement("ul",null,o.default.createElement(a.SchemaHierarchyComponent,{innerJsonPointer:"/contains"},o.default.createElement(s.CreateEdge,{key:"contains",name:r,schema:n,required:void 0!==t.minContains&&t.minContains>0})))}},55242:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=r(n(2784)),i=r(n(30559)),s=r(n(3606)),a=r(n(77610)),u=r(n(53303)),c=r(n(96912)),l=n(77740),f=n(94598),d=n(9966),h=n(54884);t.default=function(e){const{schema:t,nullable:n,description:r}=e,p=(0,f.useJSVOptionsContext)();return o.default.createElement(o.default.Fragment,null,o.default.createElement(d.TypeLabel,null),"\xa0:\xa0",o.default.createElement(d.ArrayLabel,null),o.default.createElement(a.default,{schema:t}),o.default.createElement(i.default,{schema:t}),o.default.createElement(u.default,{schema:t}),o.default.createElement(c.default,{schema:t}),o.default.createElement(s.default,{schema:t}),o.default.createElement("div",{style:{marginTop:"var(--ifm-table-cell-padding)"}},o.default.createElement(l.QualifierMessages,{schema:t,options:p,nullable:n})),void 0!==r&&o.default.createElement(h.CreateDescription,{description:r}))}},30559:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=r(n(2784)),i=r(n(1077)),s=n(2204),a=n(94598);function u(e){let{index:t,isArray:n}=e,r=n?t:"x";return o.default.createElement("code",null,o.default.createElement(i.default,{values:{id:"json-schema.keywords.itemsEntry",index:r}},"items[{index}]"))}t.default=function(e){const{schema:t}=e;let n=t.items;if(void 0===n)return o.default.createElement(o.default.Fragment,null);const r=Array.isArray(t.prefixItems)?t.prefixItems.length:0,i=Array.isArray(n),c=Array.isArray(n)?n:[n],l=c.length;return o.default.createElement("ul",null,c.map(((e,n)=>o.default.createElement(a.SchemaHierarchyComponent,{key:`array_items_${n}`,innerJsonPointer:"/items"+(i?`/${n}`:"")},o.default.createElement(s.CreateEdge,{name:o.default.createElement(u,{index:r+n,isArray:i}),schema:e,required:void 0!==t.minItems&&t.minItems>=l})))))}},77610:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=r(n(2784)),i=r(n(1077)),s=n(2204),a=n(94598);function u(e){let{count:t}=e;return o.default.createElement("code",null,o.default.createElement(i.default,{values:{id:"json-schema.keywords.prefixItemsEntry",count:t}},"items[{count}]"))}t.default=function(e){const{schema:t}=e;let n=t.prefixItems;if(void 0===n)return o.default.createElement(o.default.Fragment,null);let r=Array.isArray(n),i=Array.isArray(n)?n.length:1,c=Array.isArray(n)?n:[n];return o.default.createElement("ul",null,c.map(((e,n)=>o.default.createElement(a.SchemaHierarchyComponent,{key:`schema_hierarchy_${n}`,innerJsonPointer:"/prefixItems"+(r?`/${n}`:"")},o.default.createElement(s.CreateEdge,{key:`array_prefixItems_${n}`,name:o.default.createElement(u,{count:n}),schema:e,required:void 0!==t.minItems&&t.minItems>=i})))))}},96912:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=r(n(2784)),i=r(n(1077)),s=n(2204),a=n(94598);function u(){return o.default.createElement("code",null,o.default.createElement(i.default,{values:{id:"json-schema.keywords.unevaluatedItemsEntry"}},"items[y]"))}t.default=function(e){const{schema:t}=e;let n=t.unevaluatedItems;return void 0===n||"boolean"==typeof n?o.default.createElement(o.default.Fragment,null):o.default.createElement("ul",null,o.default.createElement(a.SchemaHierarchyComponent,{innerJsonPointer:"/unevaluatedItems"},o.default.createElement(s.CreateEdge,{key:"array_unevaluatedItems",name:o.default.createElement(u,null),schema:n,required:!1})))}},39820:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.CreateArray=void 0;var o=n(55242);Object.defineProperty(t,"CreateArray",{enumerable:!0,get:function(){return r(o).default}})},54884:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.CreateValue=t.CreateDescription=t.CreateAlwaysInvalid=t.CreateAlwaysValid=t.CreateNull=t.CreateInteger=t.CreateNumber=t.CreateBoolean=t.CreateString=t.CreateArray=t.CreateObject=t.SchemaConditional=t.SchemaComposition=void 0;var o=n(14043);Object.defineProperty(t,"SchemaComposition",{enumerable:!0,get:function(){return o.SchemaComposition}});var i=n(51074);Object.defineProperty(t,"SchemaConditional",{enumerable:!0,get:function(){return i.SchemaConditional}});var s=n(52313);Object.defineProperty(t,"CreateObject",{enumerable:!0,get:function(){return s.CreateObject}});var a=n(39820);Object.defineProperty(t,"CreateArray",{enumerable:!0,get:function(){return a.CreateArray}});var u=n(76559);Object.defineProperty(t,"CreateString",{enumerable:!0,get:function(){return r(u).default}});var c=n(38753);Object.defineProperty(t,"CreateBoolean",{enumerable:!0,get:function(){return r(c).default}});var l=n(1996);Object.defineProperty(t,"CreateNumber",{enumerable:!0,get:function(){return r(l).default}});var f=n(15093);Object.defineProperty(t,"CreateInteger",{enumerable:!0,get:function(){return r(f).default}});var d=n(18938);Object.defineProperty(t,"CreateNull",{enumerable:!0,get:function(){return r(d).default}});var h=n(48800);Object.defineProperty(t,"CreateAlwaysValid",{enumerable:!0,get:function(){return r(h).default}});var p=n(14963);Object.defineProperty(t,"CreateAlwaysInvalid",{enumerable:!0,get:function(){return r(p).default}});var m=n(96187);Object.defineProperty(t,"CreateDescription",{enumerable:!0,get:function(){return r(m).default}});var g=n(95566);Object.defineProperty(t,"CreateValue",{enumerable:!0,get:function(){return r(g).default}})},34446:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=r(n(2784)),i=r(n(1077)),s=n(2204),a=n(94598);function u(){return o.default.createElement("code",null,o.default.createElement(i.default,{values:{id:"json-schema.labels.additionalProperties"}},"property name*"))}t.default=function(e){const{schema:t}=e;let n=t.additionalProperties;return void 0===n||"boolean"==typeof n?o.default.createElement(o.default.Fragment,null):o.default.createElement("ul",null,o.default.createElement(a.SchemaHierarchyComponent,{innerJsonPointer:"/additionalProperties"},o.default.createElement(s.CreateEdge,{key:"object_additionalProperties",name:o.default.createElement(u,null),schema:n,required:!1})))}},18315:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=r(n(2784)),i=r(n(34446)),s=r(n(48439)),a=r(n(92190)),u=r(n(32457)),c=r(n(24595)),l=r(n(1431)),f=n(77740),d=n(94598),h=n(9966),p=n(54884);t.default=function(e){const{schema:t,nullable:n,description:r}=e,m=(0,d.useJSVOptionsContext)();return o.default.createElement(o.default.Fragment,null,o.default.createElement(h.TypeLabel,null),"\xa0:\xa0",o.default.createElement(h.ObjectLabel,null),o.default.createElement(c.default,{schema:t}),o.default.createElement(s.default,{schema:t}),o.default.createElement(a.default,{schema:t}),o.default.createElement(u.default,{schema:t}),o.default.createElement(i.default,{schema:t}),o.default.createElement(l.default,{schema:t}),o.default.createElement("div",{style:{marginTop:"var(--ifm-table-cell-padding)"}},o.default.createElement(f.QualifierMessages,{schema:t,options:m,nullable:n})),void 0!==r&&o.default.createElement(p.CreateDescription,{description:r}))}},92190:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=r(n(2784)),i=n(2204),s=n(94598),a=n(77740);t.default=function(e){const{schema:t}=e,n=t.patternProperties;return void 0===n?o.default.createElement(o.default.Fragment,null):o.default.createElement("ul",null,Object.entries(n).map((e=>{let[t,n]=e;return o.default.createElement(s.SchemaHierarchyComponent,{key:`object_patternProperties_${t}`,innerJsonPointer:`/patternProperties/${(0,a.encodeStringForJSONPointer)(t)}`},o.default.createElement(i.CreateEdge,{name:o.default.createElement("code",null,t),schema:n,required:!1}))})))}},48439:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=r(n(2784)),i=n(2204),s=n(94598),a=n(77740);t.default=function(e){const{schema:t}=e,n=t.properties;return void 0===n?o.default.createElement(o.default.Fragment,null):o.default.createElement("ul",null,Object.entries(n).map((e=>{let[n,r]=e;return o.default.createElement(s.SchemaHierarchyComponent,{key:`object_properties_${n}`,innerJsonPointer:`/properties/${(0,a.encodeStringForJSONPointer)(n)}`},o.default.createElement(i.CreateEdge,{name:o.default.createElement("strong",null,n),schema:r,required:!!Array.isArray(t.required)&&t.required.includes(n)}))})))}},32457:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=r(n(2784)),i=n(2204),s=n(94598);t.default=function(e){const{schema:t}=e;let n=t.propertyNames;if(void 0===n||"boolean"==typeof n||void 0===n.pattern)return o.default.createElement(o.default.Fragment,null);let r=n.pattern,a={...n};return delete a.pattern,o.default.createElement("ul",null,o.default.createElement(s.SchemaHierarchyComponent,{innerJsonPointer:"/propertyNames"},o.default.createElement(i.CreateEdge,{key:"propertyNames",name:o.default.createElement("code",null,r),schema:a,required:!1})))}},1431:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=r(n(2784)),i=r(n(1077)),s=n(2204),a=n(94598);function u(){return o.default.createElement("code",null,o.default.createElement(i.default,{values:{id:"json-schema.labels.unevaluatedProperties"}},"property name*"))}t.default=function(e){const{schema:t}=e;let n=t.unevaluatedProperties;return void 0===n||"boolean"==typeof n?o.default.createElement(o.default.Fragment,null):o.default.createElement("ul",null,o.default.createElement(a.SchemaHierarchyComponent,{innerJsonPointer:"/unevaluatedProperties"},o.default.createElement(s.CreateEdge,{key:"object_unevaluatedProperties",name:o.default.createElement(u,null),schema:n,required:!1})))}},24595:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=r(n(2784)),i=n(2204),s=n(94598),a=n(77740);t.default=function(e){const{schema:t}=e,n=t.required||[],r=Object.keys(t.properties||{}),u=n.filter((e=>!r.includes(e)));return 0===u.length?o.default.createElement(o.default.Fragment,null):o.default.createElement("ul",null,u.map(((e,t)=>o.default.createElement(s.SchemaHierarchyComponent,{key:`object_unlisted_properties_${t}`,innerJsonPointer:`/properties/${(0,a.encodeStringForJSONPointer)(e)}`},o.default.createElement(i.CreateEdge,{name:o.default.createElement("strong",null,e),schema:!0,required:!0})))))}},52313:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.CreateObject=void 0;var o=n(18315);Object.defineProperty(t,"CreateObject",{enumerable:!0,get:function(){return r(o).default}})},65296:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=r(n(2784)),i=r(n(82009)),s=r(n(77336)),a=n(2204),u=n(94598),c=n(77740);t.default=function(e){const{schema:t}=e;let n=t.allOf,r="allOf";return o.default.createElement("div",null,o.default.createElement("span",{className:"badge badge--info"},r),o.default.createElement(s.default,null,n.map(((e,t)=>o.default.createElement(i.default,{key:`schema_${r}_${t}`,value:`schema_${r}_${t}`,label:o.default.createElement(c.GenerateFriendlyName,{schema:e})},o.default.createElement(u.SchemaHierarchyComponent,{innerJsonPointer:`/allOf/${t}`},o.default.createElement(a.CreateNodes,{schema:e})))))))}},74517:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=r(n(2784)),i=r(n(82009)),s=r(n(77336)),a=n(2204),u=n(94598),c=n(77740);t.default=function(e){const{schema:t}=e;let n=t.anyOf,r="anyOf";return o.default.createElement("div",null,o.default.createElement("span",{className:"badge badge--info"},r),o.default.createElement(s.default,null,n.map(((e,t)=>o.default.createElement(i.default,{key:`schema_${r}_${t}`,value:`schema_${r}_${t}`,label:o.default.createElement(c.GenerateFriendlyName,{schema:e})},o.default.createElement(u.SchemaHierarchyComponent,{innerJsonPointer:`/anyOf/${t}`},o.default.createElement(a.CreateNodes,{schema:e})))))))}},14043:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.SchemaComposition=t.NotSchema=t.OneOfSchema=t.AnyOfSchema=t.AllOfSchema=void 0;var o=n(70213);Object.defineProperty(t,"AllOfSchema",{enumerable:!0,get:function(){return r(o).default}});var i=n(74517);Object.defineProperty(t,"AnyOfSchema",{enumerable:!0,get:function(){return r(i).default}});var s=n(49549);Object.defineProperty(t,"OneOfSchema",{enumerable:!0,get:function(){return r(s).default}});var a=n(83291);Object.defineProperty(t,"NotSchema",{enumerable:!0,get:function(){return r(a).default}});var u=n(17228);Object.defineProperty(t,"SchemaComposition",{enumerable:!0,get:function(){return r(u).default}})},83291:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=r(n(2784)),i=n(2204),s=n(94598);t.default=function(e){const{schema:t}=e;let n=t.not;return o.default.createElement("div",null,o.default.createElement("span",{className:"badge badge--danger"},"not"),o.default.createElement("br",null),o.default.createElement(s.SchemaHierarchyComponent,{innerJsonPointer:"/not"},o.default.createElement(i.CreateNodes,{schema:n})))}},49549:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=r(n(2784)),i=r(n(82009)),s=r(n(77336)),a=n(2204),u=n(94598),c=n(77740);t.default=function(e){const{schema:t}=e;let n=t.oneOf,r="oneOf";return o.default.createElement("div",null,o.default.createElement("span",{className:"badge badge--info"},r),o.default.createElement(s.default,null,n.map(((e,t)=>o.default.createElement(i.default,{key:`schema_${r}_${t}`,value:`schema_${r}_${t}`,label:o.default.createElement(c.GenerateFriendlyName,{schema:e})},o.default.createElement(u.SchemaHierarchyComponent,{innerJsonPointer:`/oneOf/${t}`},o.default.createElement(a.CreateNodes,{schema:e})))))))}},17228:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=r(n(2784)),i=n(14043);t.default=function(e){const{schema:t}=e;return o.default.createElement(o.default.Fragment,null,void 0!==t.oneOf&&o.default.createElement(i.OneOfSchema,{schema:t}),void 0!==t.anyOf&&o.default.createElement(i.AnyOfSchema,{schema:t}),void 0!==t.allOf&&o.default.createElement(i.AllOfSchema,{schema:t}),void 0!==t.not&&o.default.createElement(i.NotSchema,{schema:t}))}},83327:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=r(n(2784)),i=r(n(98480));t.default=function(e){const{summary:t,children:n,detailsProps:r}=e;return o.default.createElement(i.default,{summary:o.default.createElement("summary",null,t),...r},n)}},50279:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=r(n(2784)),i=n(2204);t.default=function(e){let{name:t,schema:n,required:r}=e;return o.default.createElement(i.SchemaItem,{name:t,schema:n,required:r})}},42360:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=r(n(2784)),i=n(2204),s=n(54884),a=n(2204),u=n(77740);t.default=function(e){const{schema:t}=e;if("boolean"==typeof t)return o.default.createElement(a.CreateValidOrInvalid,{schema:t});const n=(0,u.isSchemaComposition)(t),r=(0,u.isSchemaConditional)(t);return o.default.createElement(o.default.Fragment,null,o.default.createElement(i.CreateTypes,{schema:t}),n&&o.default.createElement(s.SchemaComposition,{schema:t}),r&&o.default.createElement(s.SchemaConditional,{schema:t}))}},8563:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=r(n(2784)),i=r(n(82009)),s=r(n(77336)),a=n(2204),u=n(77740);function c(e){const{schema:t,type:n,nullable:r}=e;return o.default.createElement(a.RenderProvidedType,{schema:t,type:n,nullable:r})}function l(e){const{schema:t,types:n,nullable:r}=e;return o.default.createElement(s.default,{defaultValue:n[0].value,values:n,key:"multiple_types"},n.map((e=>o.default.createElement(i.default,{key:e.value,value:e.value},o.default.createElement(a.RenderProvidedType,{type:e.value,schema:t,nullable:r})))))}t.default=function(e){const{schema:t}=e,n=(0,u.detectedTypes)(t),r=n.includes("null");if(1===n.length||r&&2===n.length){const e=n.find((e=>"null"!==e))||n[0];return o.default.createElement(c,{schema:t,type:e,nullable:r})}if(n.length>1){const e=n.filter((e=>"null"!==e)).map((e=>({value:e,label:o.default.createElement(a.TypeLabelSwitch,{type:e})})));return o.default.createElement(l,{schema:t,types:e,nullable:r})}return(0,u.isSchemaComposition)(t)?o.default.createElement(o.default.Fragment,null):o.default.createElement(a.CreateValidOrInvalid,{schema:t})}},67189:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=r(n(2784)),i=n(54884);t.default=function(e){const{schema:t}=e;return o.default.createElement(o.default.Fragment,null,t&&o.default.createElement(i.CreateAlwaysValid,{schema:t}),!t&&o.default.createElement(i.CreateAlwaysInvalid,null))}},99798:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=r(n(2784)),i=n(54884);t.default=function(e){let{schema:t,type:n,nullable:r}=e;const s={description:t.description,nullable:r};switch(n){case"array":return o.default.createElement(i.CreateArray,{schema:t,...s});case"object":return o.default.createElement(i.CreateObject,{schema:t,...s});case"string":return o.default.createElement(i.CreateString,{schema:t,...s});case"boolean":return o.default.createElement(i.CreateBoolean,{schema:t,...s});case"number":return o.default.createElement(i.CreateNumber,{schema:t,...s});case"integer":return o.default.createElement(i.CreateInteger,{schema:t,...s});default:return o.default.createElement(i.CreateNull,{schema:t,...s})}}},25321:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=r(n(2784)),i=n(2204),s=n(94598),a=n(9966),u=n(77740),c=r(n(86448));t.default=function(e){let{schema:t,name:n,required:r}=e;const{jsonPointer:l,level:f}=(0,s.useSchemaHierarchyContext)();let d=t,h="boolean"!=typeof d&&!0===d.deprecated,p="boolean"!=typeof d&&!0===d.readOnly,m="boolean"!=typeof d&&!0===d.writeOnly,g="boolean"!=typeof d&&(void 0!==d.const||Array.isArray(d.enum)&&1===d.enum.length),y=!h&&r;const v=o.default.createElement(o.default.Fragment,null,n,"\xa0",o.default.createElement(u.GenerateFriendlyName,{schema:t}),y&&o.default.createElement(o.default.Fragment,null,"\xa0"),y&&o.default.createElement(a.RequiredLabel,null),h&&o.default.createElement(o.default.Fragment,null,"\xa0"),h&&o.default.createElement(a.DeprecatedLabel,null),p&&o.default.createElement(o.default.Fragment,null,"\xa0"),p&&o.default.createElement(a.ReadOnlyLabel,null),m&&o.default.createElement(o.default.Fragment,null,"\xa0"),m&&o.default.createElement(a.WriteOnlyLabel,null),g&&o.default.createElement(o.default.Fragment,null,"\xa0"),g&&o.default.createElement(a.ConstantLabel,null));return o.default.createElement("li",{className:c.default.schemaItem,id:l,"data-level":f},o.default.createElement(i.Collapsible,{summary:v,detailsProps:{open:!1}},o.default.createElement(o.default.Fragment,null,o.default.createElement(i.CreateNodes,{schema:t}))))}},40080:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=r(n(2784)),i=n(9966);t.default=function(e){const{type:t,...n}=e;switch(t){case"string":return o.default.createElement(i.StringLabel,{...n});case"number":return o.default.createElement(i.NumberLabel,{...n});case"boolean":return o.default.createElement(i.BooleanLabel,{...n});case"object":return o.default.createElement(i.ObjectLabel,{...n});case"array":return o.default.createElement(i.ArrayLabel,{...n});case"integer":return o.default.createElement(i.IntegerLabel,{...n});case"null":return o.default.createElement(i.NullLabel,{...n});case!0:return o.default.createElement(i.TrueLabel,{...n});case!1:return o.default.createElement(i.FalseLabel,{...n});default:return o.default.createElement("span",{style:{opacity:"0.6"}},t)}}},2204:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.SchemaItem=t.RenderProvidedType=t.TypeLabelSwitch=t.CreateTypes=t.CreateValidOrInvalid=t.CreateEdge=t.CreateNodes=t.Collapsible=void 0;var o=n(83327);Object.defineProperty(t,"Collapsible",{enumerable:!0,get:function(){return r(o).default}});var i=n(14130);Object.defineProperty(t,"CreateNodes",{enumerable:!0,get:function(){return r(i).default}});var s=n(50279);Object.defineProperty(t,"CreateEdge",{enumerable:!0,get:function(){return r(s).default}});var a=n(67189);Object.defineProperty(t,"CreateValidOrInvalid",{enumerable:!0,get:function(){return r(a).default}});var u=n(8563);Object.defineProperty(t,"CreateTypes",{enumerable:!0,get:function(){return r(u).default}});var c=n(40080);Object.defineProperty(t,"TypeLabelSwitch",{enumerable:!0,get:function(){return r(c).default}});var l=n(99798);Object.defineProperty(t,"RenderProvidedType",{enumerable:!0,get:function(){return r(l).default}});var f=n(25321);Object.defineProperty(t,"SchemaItem",{enumerable:!0,get:function(){return r(f).default}})},94598:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var o=Object.getOwnPropertyDescriptor(t,n);o&&!("get"in o?!t.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,o)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),o=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),o(n(60168),t),o(n(50121),t)},60168:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.JSVOptionsContextProvider=t.useJSVOptionsContext=t.JSVOptionsContext=void 0;const r=n(2784);t.JSVOptionsContext=(0,r.createContext)({fullSchema:!1,showExamples:!1,qualifierMessagesOrder:void 0,DescriptionComponent:void 0,UnresolvedRefsComponent:void 0});t.useJSVOptionsContext=()=>(0,r.useContext)(t.JSVOptionsContext),t.JSVOptionsContextProvider=t.JSVOptionsContext.Provider},50121:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var o=Object.getOwnPropertyDescriptor(t,n);o&&!("get"in o?!t.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,o)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),o=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),i=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&r(t,e,n);return o(t,e),t};Object.defineProperty(t,"__esModule",{value:!0}),t.SchemaHierarchyComponent=t.SchemaHierarchyContextProvider=t.useSchemaHierarchyContext=t.SchemaHierarchyContext=void 0;const s=i(n(2784));t.SchemaHierarchyContext=(0,s.createContext)({jsonPointer:"",level:0});t.useSchemaHierarchyContext=()=>(0,s.useContext)(t.SchemaHierarchyContext),t.SchemaHierarchyContextProvider=t.SchemaHierarchyContext.Provider,t.SchemaHierarchyComponent=function(e){let{innerJsonPointer:n,children:r}=e;const{jsonPointer:o,level:i}=(0,t.useSchemaHierarchyContext)();return s.default.createElement(t.SchemaHierarchyContextProvider,{value:{jsonPointer:`${o}${n}`,level:i+1}},r)}},70056:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var o=Object.getOwnPropertyDescriptor(t,n);o&&!("get"in o?!t.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,o)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),o=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),i=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&r(t,e,n);return o(t,e),t};Object.defineProperty(t,"__esModule",{value:!0});const s=i(n(2784)),a=n(20028),u=n(2204),c=n(94598),l=n(9966);function f(e){const{error:t}=e;return s.default.createElement("div",null,s.default.createElement(l.ErrorOccurredLabel,{error:t}))}function d(e){const{schema:t,viewerOptions:n}=e,r="boolean"!=typeof t&&void 0!==t.title?t.title:"Schema",o={fullSchema:t,...n};return s.default.createElement(c.SchemaHierarchyContextProvider,{value:{jsonPointer:"",level:0}},s.default.createElement(c.JSVOptionsContextProvider,{value:o},s.default.createElement(u.Collapsible,{summary:s.default.createElement("strong",null,r),detailsProps:{open:!0,className:e.className||"json-schema-viewer"}},s.default.createElement(u.CreateNodes,{schema:t}))))}t.default=function(e){const{schema:t,resolverOptions:n,viewerOptions:r}=e,[o,i]=(0,s.useState)(void 0),[u,c]=(0,s.useState)(void 0);return(0,s.useEffect)((()=>{(new a.Resolver).resolve(t,n).then((e=>{c(e.result)})).catch((e=>{i(e)}))}),[]),void 0!==o?s.default.createElement(f,{error:o}):void 0===u?s.default.createElement(l.LoadingLabel,null):s.default.createElement(d,{schema:u,viewerOptions:r,className:e.className})}},34929:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=r(n(2784)),i=r(n(1077));t.default=function(){const e=o.default.createElement(o.default.Fragment,null,"\xa0");return o.default.createElement(o.default.Fragment,null,e,o.default.createElement("strong",null,o.default.createElement(i.default,{values:{id:"json-schema.labels.and"}},"AND")),e)}},23492:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=r(n(2784)),i=r(n(1077));t.default=function(){return o.default.createElement("span",{style:{opacity:"0.6"}},o.default.createElement(i.default,{values:{id:"json-schema.keywords.array"}},"array"))}},29277:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=r(n(2784)),i=r(n(1077));t.default=function(){return o.default.createElement("span",{style:{opacity:"0.6"}},o.default.createElement(i.default,{values:{id:"json-schema.keywords.boolean"}},"boolean"))}},59164:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=r(n(2784)),i=r(n(1077)),s=r(n(89754));t.default=function(){return o.default.createElement("strong",{className:s.default.constant},o.default.createElement(i.default,{values:{id:"json-schema.keywords.const"}},"constant"))}},55548:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=r(n(2784)),i=r(n(1077)),s=r(n(3350));t.default=function(){return o.default.createElement("strong",{className:s.default.deprecated},o.default.createElement(i.default,{values:{id:"json-schema.keywords.deprecated"}},"deprecated"))}},66113:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=r(n(2784)),i=r(n(1077));t.default=function(){return o.default.createElement("strong",null,o.default.createElement(i.default,{values:{id:"json-schema.keywords.else"}},"Else"))}},43297:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=r(n(2784)),i=r(n(1077));t.default=function(e){const{error:t}=e;return o.default.createElement(i.default,{values:{id:"json-schema.labels.errorOccurred",message:t.message}},"Something bad happens : {message}")}},94315:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=r(n(2784)),i=r(n(1077));t.default=function(){return o.default.createElement("span",{style:{opacity:"0.6"}},o.default.createElement(i.default,{values:{id:"json-schema.keywords.false"}},"none"))}},61380:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=r(n(2784)),i=r(n(1077));t.default=function(){return o.default.createElement("strong",null,o.default.createElement(i.default,{values:{id:"json-schema.keywords.if"}},"If"))}},15973:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=r(n(2784)),i=r(n(1077));t.default=function(){return o.default.createElement("span",{style:{opacity:"0.6"}},o.default.createElement(i.default,{values:{id:"json-schema.keywords.integer"}},"integer"))}},3207:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=r(n(2784)),i=r(n(1077));t.default=function(){return o.default.createElement("div",null,o.default.createElement(i.default,{values:{id:"json-schema.labels.loading"}},"Loading ...."))}},83204:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=r(n(2784)),i=r(n(1077));t.default=function(){return o.default.createElement("strong",null,o.default.createElement(i.default,{values:{id:"json-schema.labels.not"}},"NOT"))}},6760:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=r(n(2784)),i=r(n(1077));t.default=function(){return o.default.createElement("span",{style:{opacity:"0.6"}},o.default.createElement(i.default,{values:{id:"json-schema.keywords.null"}},"null"))}},17487:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=r(n(2784)),i=r(n(1077));t.default=function(){return o.default.createElement("span",{style:{opacity:"0.6"}},o.default.createElement(i.default,{values:{id:"json-schema.keywords.number"}},"number"))}},93594:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=r(n(2784)),i=r(n(1077));t.default=function(){return o.default.createElement("span",{style:{opacity:"0.6"}},o.default.createElement(i.default,{values:{id:"json-schema.keywords.object"}},"object"))}},27532:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=r(n(2784)),i=r(n(1077));t.default=function(){const e=o.default.createElement(o.default.Fragment,null,"\xa0");return o.default.createElement(o.default.Fragment,null,e,o.default.createElement("strong",null,o.default.createElement(i.default,{values:{id:"json-schema.labels.or"}},"OR")),e)}},23373:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=r(n(2784)),i=r(n(1077)),s=r(n(65950));t.default=function(){return o.default.createElement("strong",{className:s.default.readOnly},o.default.createElement(i.default,{values:{id:"json-schema.keywords.readOnly"}},"readOnly"))}},35405:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=r(n(2784)),i=r(n(1077)),s=r(n(43654));t.default=function(){return o.default.createElement("strong",{className:s.default.required},o.default.createElement(i.default,{values:{id:"json-schema.keywords.required"}},"required"))}},74591:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=r(n(2784)),i=r(n(1077));t.default=function(e){let{format:t}=e;return o.default.createElement("span",{style:{opacity:"0.6"}},o.default.createElement(i.default,{values:{id:"json-schema.keywords.string"}},"string"),void 0!==t&&o.default.createElement(o.default.Fragment,null,"\xa0",`(${t})`))}},77502:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=r(n(2784)),i=r(n(1077));t.default=function(){return o.default.createElement("strong",null,o.default.createElement(i.default,{values:{id:"json-schema.keywords.then"}},"Then"))}},83978:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=r(n(2784)),i=r(n(1077));t.default=function(){return o.default.createElement("span",{style:{opacity:"0.6"}},o.default.createElement(i.default,{values:{id:"json-schema.keywords.true"}},"any"))}},74731:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=r(n(2784)),i=r(n(1077));t.default=function(){return o.default.createElement("strong",null,o.default.createElement(i.default,{values:{id:"json-schema.keywords.type",count:1}},"type"))}},82093:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=r(n(2784)),i=r(n(1077)),s=r(n(65128));t.default=function(){return o.default.createElement("strong",{className:s.default.writeOnly},o.default.createElement(i.default,{values:{id:"json-schema.keywords.writeOnly"}},"writeOnly"))}},25006:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=r(n(2784)),i=r(n(1077));t.default=function(){const e=o.default.createElement(o.default.Fragment,null,"\xa0");return o.default.createElement(o.default.Fragment,null,e,o.default.createElement("strong",null,o.default.createElement(i.default,{values:{id:"json-schema.labels.xor"}},"XOR")),e)}},9966:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.ConstantLabel=t.XorLabel=t.NotLabel=t.OrLabel=t.AndLabel=t.NullLabel=t.IntegerLabel=t.NumberLabel=t.BooleanLabel=t.StringLabel=t.FalseLabel=t.TrueLabel=t.WriteOnlyLabel=t.ReadOnlyLabel=t.DeprecatedLabel=t.RequiredLabel=t.ErrorOccurredLabel=t.LoadingLabel=t.ElseLabel=t.ThenLabel=t.IfLabel=t.TypeLabel=t.ArrayLabel=t.ObjectLabel=void 0;var o=n(93594);Object.defineProperty(t,"ObjectLabel",{enumerable:!0,get:function(){return r(o).default}});var i=n(23492);Object.defineProperty(t,"ArrayLabel",{enumerable:!0,get:function(){return r(i).default}});var s=n(74731);Object.defineProperty(t,"TypeLabel",{enumerable:!0,get:function(){return r(s).default}});var a=n(61380);Object.defineProperty(t,"IfLabel",{enumerable:!0,get:function(){return r(a).default}});var u=n(77502);Object.defineProperty(t,"ThenLabel",{enumerable:!0,get:function(){return r(u).default}});var c=n(66113);Object.defineProperty(t,"ElseLabel",{enumerable:!0,get:function(){return r(c).default}});var l=n(3207);Object.defineProperty(t,"LoadingLabel",{enumerable:!0,get:function(){return r(l).default}});var f=n(43297);Object.defineProperty(t,"ErrorOccurredLabel",{enumerable:!0,get:function(){return r(f).default}});var d=n(35405);Object.defineProperty(t,"RequiredLabel",{enumerable:!0,get:function(){return r(d).default}});var h=n(55548);Object.defineProperty(t,"DeprecatedLabel",{enumerable:!0,get:function(){return r(h).default}});var p=n(23373);Object.defineProperty(t,"ReadOnlyLabel",{enumerable:!0,get:function(){return r(p).default}});var m=n(82093);Object.defineProperty(t,"WriteOnlyLabel",{enumerable:!0,get:function(){return r(m).default}});var g=n(83978);Object.defineProperty(t,"TrueLabel",{enumerable:!0,get:function(){return r(g).default}});var y=n(94315);Object.defineProperty(t,"FalseLabel",{enumerable:!0,get:function(){return r(y).default}});var v=n(74591);Object.defineProperty(t,"StringLabel",{enumerable:!0,get:function(){return r(v).default}});var b=n(29277);Object.defineProperty(t,"BooleanLabel",{enumerable:!0,get:function(){return r(b).default}});var _=n(17487);Object.defineProperty(t,"NumberLabel",{enumerable:!0,get:function(){return r(_).default}});var w=n(15973);Object.defineProperty(t,"IntegerLabel",{enumerable:!0,get:function(){return r(w).default}});var E=n(6760);Object.defineProperty(t,"NullLabel",{enumerable:!0,get:function(){return r(E).default}});var k=n(34929);Object.defineProperty(t,"AndLabel",{enumerable:!0,get:function(){return r(k).default}});var x=n(27532);Object.defineProperty(t,"OrLabel",{enumerable:!0,get:function(){return r(x).default}});var D=n(83204);Object.defineProperty(t,"NotLabel",{enumerable:!0,get:function(){return r(D).default}});var S=n(25006);Object.defineProperty(t,"XorLabel",{enumerable:!0,get:function(){return r(S).default}});var C=n(59164);Object.defineProperty(t,"ConstantLabel",{enumerable:!0,get:function(){return r(C).default}})},93325:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=r(n(2784)),i=r(n(1077)),s=n(9966);function a(e){let{value:t}=e;return o.default.createElement("code",null,o.default.createElement(i.default,{values:{id:"json-schema.keywords.minContains",count:t}},"at least {count} valid item(s)"))}function u(e){let{value:t}=e;return o.default.createElement("code",null,o.default.createElement(i.default,{values:{id:"json-schema.keywords.maxContains",count:t}},"at most {count} valid item(s)"))}t.default=function(e){const{schema:t}=e;let n=t,r=void 0!==n.minContains&&void 0!==n.maxContains;const c=o.default.createElement("strong",null,o.default.createElement(i.default,{values:{id:"json-schema.labels.contains"}},"Must contain : "));return o.default.createElement("div",{key:r?"minContainsAndmaxContains":void 0!==n.minContains?"minContains":"maxContains"},c,"\xa0",void 0!==n.minContains&&o.default.createElement(a,{value:n.minContains}),r&&o.default.createElement(s.AndLabel,null),void 0!==n.maxContains&&o.default.createElement(u,{value:n.maxContains}))}},40877:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=r(n(2784)),i=r(n(1077)),s=n(9966);function a(e){let{value:t}=e;return o.default.createElement("code",null,o.default.createElement(i.default,{values:{id:"json-schema.keywords.minItems",count:t}},">= {count}"))}function u(e){let{value:t}=e;return o.default.createElement("code",null,o.default.createElement(i.default,{values:{id:"json-schema.keywords.maxItems",count:t}},"<= {count}"))}t.default=function(e){const{schema:t}=e;let n=void 0!==t.minItems&&void 0!==t.maxItems;const r=o.default.createElement("strong",null,o.default.createElement(i.default,{values:{id:"json-schema.labels.lengthItems"}},"Length :"));return o.default.createElement("div",{key:n?"minItemsAndmaxItems":void 0!==t.minItems?"minItems":"maxItems"},r,"\xa0",void 0!==t.minItems&&o.default.createElement(a,{value:t.minItems}),n&&o.default.createElement(s.AndLabel,null),void 0!==t.maxItems&&o.default.createElement(u,{value:t.maxItems}))}},92065:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=r(n(2784)),i=r(n(1077));t.default=function(){const e=o.default.createElement("strong",null,o.default.createElement(i.default,{values:{id:"json-schema.labels.uniqueItems"}},"Unique items :")),t=o.default.createElement("code",null,o.default.createElement(i.default,{values:{id:"json-schema.labels.uniqueItemsOnly"}},"yes"));return o.default.createElement("div",{key:"uniqueItems"},e,"\xa0",t)}},69705:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=r(n(2784)),i=r(n(1077)),s=n(54884);t.default=function(e){const{schema:t}=e,n=o.default.createElement("strong",null,o.default.createElement(i.default,{values:{id:"json-schema.labels.const"}},"Constant value :"));return o.default.createElement("div",{key:"const"},n,"\xa0",o.default.createElement(s.CreateValue,{value:t.const,schema:t}))}},47131:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=r(n(2784)),i=r(n(1077)),s=n(85685);t.default=function(e){const{schema:t}=e,n=o.default.createElement("strong",null,o.default.createElement(i.default,{values:{id:"json-schema.labels.contentEncoding"}},"Encoding :"));return o.default.createElement("div",{key:"contentEncoding"},n,"\xa0",(0,s.printSchemaType)(t.contentEncoding))}},76884:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=r(n(2784)),i=r(n(1077)),s=n(85685);t.default=function(e){const{schema:t}=e,n=o.default.createElement("strong",null,o.default.createElement(i.default,{values:{id:"json-schema.labels.contentMediaType"}},"Media type :"));return o.default.createElement("div",{key:"contentMediaType"},n,"\xa0",(0,s.printSchemaType)(t.contentMediaType))}},85734:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=r(n(2784)),i=r(n(1077)),s=n(2204),a=n(94598);t.default=function(e){const{schema:t}=e,n=o.default.createElement("strong",null,o.default.createElement(i.default,{values:{id:"json-schema.labels.contentSchema"}},"Decoded content must be validated against this schema :"));return o.default.createElement("div",{key:"contentSchema"},n,"\xa0",o.default.createElement(s.Collapsible,{summary:o.default.createElement("strong",null,"Schema"),detailsProps:{open:!0}},o.default.createElement(a.SchemaHierarchyComponent,{innerJsonPointer:"/contentSchema"},o.default.createElement(s.CreateNodes,{schema:t.contentSchema}))))}},69617:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=r(n(2784)),i=r(n(1077)),s=n(54884);t.default=function(e){const{schema:t}=e,n=o.default.createElement("strong",null,o.default.createElement(i.default,{values:{id:"json-schema.labels.default"}},"Default value :"));return o.default.createElement("div",{key:"default"},n,"\xa0",o.default.createElement(s.CreateValue,{value:t.default,schema:t}))}},99272:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=r(n(2784)),i=r(n(1077));t.default=function(){const e=o.default.createElement(i.default,{values:{id:"json-schema.labels.deprecated"}},"Deprecated");return o.default.createElement("div",{key:"deprecated"},"\ud83d\udea8\xa0",e)}},78661:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=r(n(2784)),i=r(n(1077)),s=n(54884);t.default=function(e){const{schema:t}=e,n=o.default.createElement("strong",null,o.default.createElement(i.default,{values:{id:"json-schema.labels.enum"}},"Possible values :"));return o.default.createElement("div",{key:"enum"},n,"\xa0",o.default.createElement("ul",null,t.enum.map(((e,n)=>o.default.createElement("li",{key:n},o.default.createElement(s.CreateValue,{value:e,schema:t}))))))}},21499:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=r(n(2784)),i=r(n(1077)),s=r(n(82009)),a=r(n(77336)),u=n(54884);t.default=function(e){const{schema:t}=e,n=o.default.createElement("strong",null,o.default.createElement(i.default,{values:{id:"json-schema.labels.examples"}},"Example values :"));let r=t.examples.map(((e,t)=>({id:t,value:e,label:o.default.createElement(i.default,{values:{id:"json-schema.labels.exampleItem",index:t}},"Example {index}")})));return o.default.createElement("div",{key:"examples"},n,"\xa0",o.default.createElement(a.default,null,r.map((e=>o.default.createElement(s.default,{key:e.id,value:e.id.toString(),label:e.label},o.default.createElement(u.CreateValue,{value:e.value,schema:t}))))))}},34785:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=r(n(2784)),i=r(n(1077));t.default=function(){const e=o.default.createElement(i.default,{values:{id:"json-schema.labels.noExtraItems"}},"No extra item(s) are authorized in this array");return o.default.createElement("div",{key:"no-extra-items"},"\ud83d\udea8\xa0",e)}},71722:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=r(n(2784)),i=r(n(1077));t.default=function(){const e=o.default.createElement(i.default,{values:{id:"json-schema.labels.noExtraProperties"}},"No extra propertie(s) are authorized in this object");return o.default.createElement("div",{key:"no-extra-properties"},"\ud83d\udea8\xa0",e)}},7004:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=r(n(2784)),i=r(n(1077));t.default=function(){const e=o.default.createElement(i.default,{values:{id:"json-schema.labels.nullable"}},"Nullable");return o.default.createElement("div",{key:"nullable"},"\u2753\xa0",e)}},81165:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=r(n(2784)),i=r(n(1077)),s=n(9966);function a(e){let{value:t,exclusive:n}=e;return n?o.default.createElement(i.default,{values:{id:"json-schema.keywords.minimumExlusive",count:t}},"> {count}"):o.default.createElement(i.default,{values:{id:"json-schema.keywords.minimum",count:t}},">= {count}")}function u(e){let{value:t,exclusive:n}=e;return n?o.default.createElement(i.default,{values:{id:"json-schema.keywords.maximumExlusive",count:t}},"< {count}"):o.default.createElement(i.default,{values:{id:"json-schema.keywords.maximum",count:t}},"<= {count}")}t.default=function(e){const{schema:t}=e;let n=t.exclusiveMinimum||t.minimum,r=void 0!==t.exclusiveMinimum,c=t.exclusiveMaximum||t.maximum,l=void 0!==t.exclusiveMaximum;const f=void 0!==n&&void 0!==c,d=o.default.createElement("strong",null,o.default.createElement(i.default,{values:{id:"json-schema.labels.numberMinimumMaximum"}},"Possible values :"));return o.default.createElement("div",{key:"number-range"},d,"\xa0",void 0!==n&&o.default.createElement("code",null,o.default.createElement(a,{exclusive:r,value:n})),f&&o.default.createElement(s.AndLabel,null),void 0!==c&&o.default.createElement("code",null,o.default.createElement(u,{exclusive:l,value:c})))}},72040:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=r(n(2784)),i=r(n(1077));t.default=function(e){const{schema:t}=e;return o.default.createElement("div",{key:"multipleOf"},o.default.createElement("strong",null,o.default.createElement(i.default,{values:{id:"json-schema.labels.multipleOf"}},"Possible values :")),"\xa0",o.default.createElement("code",null,o.default.createElement(i.default,{values:{id:"json-schema.keywords.multipleOf",count:t.multipleOf}},"multiple of {count}")))}},85769:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=r(n(2784)),i=r(n(1077)),s=n(9966);function a(e){let{value:t}=e;return o.default.createElement("code",null,o.default.createElement(i.default,{values:{id:"json-schema.keywords.minProperties",count:t}},">= {count} propertie(s)"))}function u(e){let{value:t}=e;return o.default.createElement("code",null,o.default.createElement(i.default,{values:{id:"json-schema.keywords.maxProperties",count:t}},"<= {count} propertie(s)"))}t.default=function(e){const{schema:t}=e;let n=void 0!==t.minProperties&&void 0!==t.maxProperties;const r=o.default.createElement("strong",null,o.default.createElement(i.default,{values:{id:"json-schema.labels.lengthProperties"}},"Length :"));return o.default.createElement("div",{key:n?"minPropertiesAndMaxProperties":void 0!==t.minProperties?"minProperties":"maxProperties"},r,"\xa0",void 0!==t.minProperties&&o.default.createElement(a,{value:t.minProperties}),n&&o.default.createElement(s.AndLabel,null),void 0!==t.maxProperties&&o.default.createElement(u,{value:t.maxProperties}))}},74490:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=r(n(2784)),i=r(n(1077));t.default=function(e){const{schema:t}=e;return o.default.createElement("div",{key:"pattern"},o.default.createElement("strong",null,o.default.createElement(i.default,{values:{id:"json-schema.labels.pattern"}},"Pattern :")),"\xa0",o.default.createElement("code",null,t.pattern))}},16272:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var o=Object.getOwnPropertyDescriptor(t,n);o&&!("get"in o?!t.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,o)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),o=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),i=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&r(t,e,n);return o(t,e),t},s=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.DEFAULT_ORDER=t.CHECKS_MAP=void 0;const a=s(n(2784)),u=i(n(85685)),c=n(7639),l={nullable:{match:e=>{let{nullable:t}=e;return!0===t},Component:()=>a.default.createElement(u.NullableQM,{key:"nullable"})},deprecated:{match:e=>{let{schema:t}=e;return!0===t.deprecated},Component:()=>a.default.createElement(u.DeprecatedQM,{key:"deprecated"})},readOnly:{match:e=>{let{schema:t}=e;return!0===t.readOnly},Component:()=>a.default.createElement(u.ReadOnlyQM,{key:"readOnly"})},writeOnly:{match:e=>{let{schema:t}=e;return!0===t.writeOnly},Component:()=>a.default.createElement(u.WriteOnlyQM,{key:"writeOnly"})},enum:{match:e=>{let{schema:t}=e;return void 0!==t.enum},Component:e=>{let{schema:t}=e;return a.default.createElement(u.EnumQM,{key:"enum",schema:t})}},stringLength:{match:e=>{let{schema:t}=e;return void 0!==t.minLength||void 0!==t.maxLength},Component:e=>{let{schema:t}=e;return a.default.createElement(u.StringLengthQM,{key:"stringLength",schema:t})}},objectProperties:{match:e=>{let{schema:t}=e;return void 0!==t.minProperties||void 0!==t.maxProperties},Component:e=>{let{schema:t}=e;return a.default.createElement(u.ObjectPropertiesQM,{key:"objectProperties",schema:t})}},"no-extra-properties":{match:e=>{let{schema:t}=e;return!1===t.additionalProperties||!1===t.unevaluatedProperties},Component:()=>a.default.createElement(u.NoExtraPropertiesQM,{key:"no-extra-properties"})},arrayItems:{match:e=>{let{schema:t}=e;return void 0!==t.minItems||void 0!==t.maxItems},Component:e=>{let{schema:t}=e;return a.default.createElement(u.ArrayNumberOfItemsQM,{key:"arrayItems",schema:t})}},arrayContains:{match:e=>{let{schema:t}=e;return void 0!==t.minContains||void 0!==t.maxContains},Component:e=>{let{schema:t}=e;return a.default.createElement(u.ArrayContainsNumberQM,{key:"arrayContains",schema:t})}},"no-extra-items":{match:e=>{let{schema:t}=e;return!1===t.unevaluatedItems||!1===t.items||!1===t.additionalItems},Component:()=>a.default.createElement(u.NoExtraItemsQM,{key:"no-extra-items"})},"number-range":{match:e=>{let{schema:t}=e;return void 0!==t.minimum||void 0!==t.exclusiveMinimum||void 0!==t.maximum||void 0!==t.exclusiveMaximum},Component:e=>{let{schema:t}=e;return a.default.createElement(u.NumberBoundsQM,{key:"number-range",schema:t})}},pattern:{match:e=>{let{schema:t}=e;return void 0!==t.pattern},Component:e=>{let{schema:t}=e;return a.default.createElement(u.PatternQM,{key:"pattern",schema:t})}},multipleOf:{match:e=>{let{schema:t}=e;return void 0!==t.multipleOf},Component:e=>{let{schema:t}=e;return a.default.createElement(u.MultipleOfQM,{key:"multipleOf",schema:t})}},uniqueItems:{match:e=>{let{schema:t}=e;return void 0!==t.uniqueItems&&!0===t.uniqueItems},Component:()=>a.default.createElement(u.ArrayUniqueItemsQM,{key:"uniqueItems"})},default:{match:e=>{let{schema:t}=e;return void 0!==t.default},Component:e=>{let{schema:t}=e;return a.default.createElement(u.DefaultValueQM,{key:"default",schema:t})}},const:{match:e=>{let{schema:t}=e;return void 0!==t.const},Component:e=>{let{schema:t}=e;return a.default.createElement(u.ConstantQM,{key:"const",schema:t})}},examples:{match:e=>{let{schema:t,options:n}=e;return!0===n.showExamples&&void 0!==t.examples},Component:e=>{let{schema:t}=e;return a.default.createElement(u.ExamplesQM,{key:"examples",schema:t})}},contentMediaType:{match:e=>{let{schema:t}=e;return void 0!==t.contentMediaType},Component:e=>{let{schema:t}=e;return a.default.createElement(u.ContentMediaTypeQM,{key:"contentMediaType",schema:t})}},contentEncoding:{match:e=>{let{schema:t}=e;return void 0!==t.contentEncoding},Component:e=>{let{schema:t}=e;return a.default.createElement(u.ContentEncodingQM,{key:"contentEncoding",schema:t})}},contentSchema:{match:e=>{let{schema:t}=e;return void 0!==t.contentSchema},Component:e=>{let{schema:t}=e;return a.default.createElement(u.ContentSchemaQM,{key:"contentSchema",schema:t})}},unsolvedRefs:{match:e=>{let{schema:t}=e;return(0,c.hasUnresolvedRefs)(t)},Component:e=>a.default.createElement(u.UnsolvedRefsQM,{key:"unsolvedRefs",...e})}};t.CHECKS_MAP=l;t.DEFAULT_ORDER=["nullable","deprecated","readOnly","writeOnly","enum","stringLength","objectProperties","no-extra-properties","arrayItems","arrayContains","no-extra-items","number-range","pattern","multipleOf","uniqueItems","contentEncoding","contentMediaType","contentSchema","default","const","examples","unsolvedRefs"]},88870:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=r(n(2784)),i=r(n(1077));t.default=function(){const e=o.default.createElement(i.default,{values:{id:"json-schema.labels.readOnly"}},"read only");return o.default.createElement("div",{key:"readOnly"},"\ud83d\udea8\xa0",e)}},6165:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=r(n(2784)),i=r(n(1077)),s=n(9966);function a(e){let{value:t}=e;return o.default.createElement("code",null,o.default.createElement(i.default,{values:{id:"json-schema.keywords.minLength",count:t}},">= {count} character(s)"))}function u(e){let{value:t}=e;return o.default.createElement("code",null,o.default.createElement(i.default,{values:{id:"json-schema.keywords.maxLength",count:t}},"<= {count} character(s)"))}t.default=function(e){const{schema:t}=e;let n=void 0!==t.minLength&&void 0!==t.maxLength;const r=o.default.createElement("strong",null,o.default.createElement(i.default,{values:{id:"json-schema.labels.length"}},"Length :"));return o.default.createElement("div",{key:n?"minLengthAndmaxLength":void 0!==t.minLength?"minLength":"maxLength"},r,"\xa0",void 0!==t.minLength&&o.default.createElement(a,{value:t.minLength}),n&&o.default.createElement(s.AndLabel,null),void 0!==t.maxLength&&o.default.createElement(u,{value:t.maxLength}))}},70951:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=r(n(2784)),i=r(n(1077));t.default=function(e){const{schema:t,options:{UnresolvedRefsComponent:n}}=e,r=o.default.createElement("strong",null,o.default.createElement(i.default,{values:{id:"json-schema.labels.unsolvedRefs"}},"Unsolved ref(s) :"));let s=[t.$ref,t.$dynamicRef,t.$recursiveRef].filter((e=>void 0!==e)).join(" ");return o.default.createElement("div",{key:"unsolvedRefs"},n?o.default.createElement(n,{schema:t}):o.default.createElement(o.default.Fragment,null,r,"\xa0",s))}},64832:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=r(n(2784)),i=r(n(1077));t.default=function(){const e=o.default.createElement(i.default,{values:{id:"json-schema.labels.writeOnly"}},"write only");return o.default.createElement("div",{key:"writeOnly"},"\ud83d\udea8\xa0",e)}},85685:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.QUALIFIERS_DEFAULT_ORDER=t.QUALIFIERS_MAP=t.UnsolvedRefsQM=t.ContentSchemaQM=t.ContentEncodingQM=t.ContentMediaTypeQM=t.NullableQM=t.WriteOnlyQM=t.ReadOnlyQM=t.DeprecatedQM=t.ExamplesQM=t.ConstantQM=t.DefaultValueQM=t.ArrayUniqueItemsQM=t.MultipleOfQM=t.PatternQM=t.NumberBoundsQM=t.NoExtraItemsQM=t.ArrayContainsNumberQM=t.ArrayNumberOfItemsQM=t.NoExtraPropertiesQM=t.ObjectPropertiesQM=t.StringLengthQM=t.EnumQM=t.printSchemaType=void 0;const o=r(n(2784)),i=r(n(84560));t.printSchemaType=function(e){return["string","number","bigint","boolean"].includes(typeof e)?o.default.createElement("code",null,e.toString()):o.default.createElement(i.default,{language:"json"},`${JSON.stringify(e)}`)};var s=n(78661);Object.defineProperty(t,"EnumQM",{enumerable:!0,get:function(){return r(s).default}});var a=n(6165);Object.defineProperty(t,"StringLengthQM",{enumerable:!0,get:function(){return r(a).default}});var u=n(85769);Object.defineProperty(t,"ObjectPropertiesQM",{enumerable:!0,get:function(){return r(u).default}});var c=n(71722);Object.defineProperty(t,"NoExtraPropertiesQM",{enumerable:!0,get:function(){return r(c).default}});var l=n(40877);Object.defineProperty(t,"ArrayNumberOfItemsQM",{enumerable:!0,get:function(){return r(l).default}});var f=n(93325);Object.defineProperty(t,"ArrayContainsNumberQM",{enumerable:!0,get:function(){return r(f).default}});var d=n(34785);Object.defineProperty(t,"NoExtraItemsQM",{enumerable:!0,get:function(){return r(d).default}});var h=n(81165);Object.defineProperty(t,"NumberBoundsQM",{enumerable:!0,get:function(){return r(h).default}});var p=n(74490);Object.defineProperty(t,"PatternQM",{enumerable:!0,get:function(){return r(p).default}});var m=n(72040);Object.defineProperty(t,"MultipleOfQM",{enumerable:!0,get:function(){return r(m).default}});var g=n(92065);Object.defineProperty(t,"ArrayUniqueItemsQM",{enumerable:!0,get:function(){return r(g).default}});var y=n(69617);Object.defineProperty(t,"DefaultValueQM",{enumerable:!0,get:function(){return r(y).default}});var v=n(69705);Object.defineProperty(t,"ConstantQM",{enumerable:!0,get:function(){return r(v).default}});var b=n(21499);Object.defineProperty(t,"ExamplesQM",{enumerable:!0,get:function(){return r(b).default}});var _=n(99272);Object.defineProperty(t,"DeprecatedQM",{enumerable:!0,get:function(){return r(_).default}});var w=n(88870);Object.defineProperty(t,"ReadOnlyQM",{enumerable:!0,get:function(){return r(w).default}});var E=n(64832);Object.defineProperty(t,"WriteOnlyQM",{enumerable:!0,get:function(){return r(E).default}});var k=n(7004);Object.defineProperty(t,"NullableQM",{enumerable:!0,get:function(){return r(k).default}});var x=n(76884);Object.defineProperty(t,"ContentMediaTypeQM",{enumerable:!0,get:function(){return r(x).default}});var D=n(47131);Object.defineProperty(t,"ContentEncodingQM",{enumerable:!0,get:function(){return r(D).default}});var S=n(85734);Object.defineProperty(t,"ContentSchemaQM",{enumerable:!0,get:function(){return r(S).default}});var C=n(70951);Object.defineProperty(t,"UnsolvedRefsQM",{enumerable:!0,get:function(){return r(C).default}});var O=n(16272);Object.defineProperty(t,"QUALIFIERS_MAP",{enumerable:!0,get:function(){return O.CHECKS_MAP}}),Object.defineProperty(t,"QUALIFIERS_DEFAULT_ORDER",{enumerable:!0,get:function(){return O.DEFAULT_ORDER}})},7639:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.detectedTypes=t.hasUnresolvedRefs=t.isNull=t.isBoolean=t.isSchemaConditional=t.isSchemaComposition=t.isInteger=t.isNumeric=t.isStringType=t.isArrayType=t.isObjectType=void 0;t.isObjectType=e=>"boolean"!=typeof e&&("object"===e.type||void 0!==e.properties||void 0!==e.additionalProperties||void 0!==e.patternProperties||void 0!==e.propertyNames||void 0!==e.minProperties||void 0!==e.maxProperties||void 0!==e.required||void 0!==e.unevaluatedProperties);t.isArrayType=e=>{var t;return"boolean"!=typeof e&&("array"===e.type||void 0!==e.items||void 0!==e.minItems||void 0!==e.maxItems||void 0!==e.additionalItems||void 0!==e.contains||void 0!==e.minContains||void 0!==e.maxContains||void 0!==e.prefixItems||void 0!==e.unevaluatedItems||Array.isArray(e.const)||(null===(t=e.enum)||void 0===t?void 0:t.some((e=>Array.isArray(e)))))};t.isStringType=e=>{var t;return"boolean"!=typeof e&&("string"===e.type||void 0!==e.minLength||void 0!==e.maxLength||void 0!==e.pattern||(null===(t=e.enum)||void 0===t?void 0:t.some((e=>"string"==typeof e)))||"string"==typeof e.const)};t.isNumeric=e=>{var t;return"boolean"!=typeof e&&("number"===e.type||void 0!==e.multipleOf||void 0!==e.minimum||void 0!==e.exclusiveMinimum||void 0!==e.maximum||void 0!==e.exclusiveMaximum||(null===(t=e.enum)||void 0===t?void 0:t.some((e=>"number"==typeof e)))||"number"==typeof e.const)};t.isInteger=e=>{var t;return"boolean"!=typeof e&&("integer"===e.type||1===e.multipleOf||(null===(t=e.enum)||void 0===t?void 0:t.some((e=>"bigint"==typeof e)))||"bigint"==typeof e.const)};t.isSchemaComposition=e=>"boolean"!=typeof e&&(void 0!==e.allOf||void 0!==e.anyOf||void 0!==e.oneOf||void 0!==e.not);t.isSchemaConditional=e=>"boolean"!=typeof e&&(void 0!==e.if||void 0!==e.dependencies||void 0!==e.dependentRequired||void 0!==e.dependentSchemas);t.isBoolean=e=>{var t;return"boolean"!=typeof e&&("boolean"===e.type||(null===(t=e.enum)||void 0===t?void 0:t.some((e=>"boolean"==typeof e)))||"boolean"==typeof e.const)};t.isNull=e=>{var t;return"boolean"!=typeof e&&("null"===e.type||(null===(t=e.enum)||void 0===t?void 0:t.some((e=>null===e)))||null===e.const)};function*n(e){(0,t.isNull)(e)&&(yield"null"),(0,t.isObjectType)(e)&&(yield"object"),(0,t.isArrayType)(e)&&(yield"array"),(0,t.isStringType)(e)&&(yield"string"),(0,t.isBoolean)(e)&&(yield"boolean"),(0,t.isInteger)(e)&&(yield"integer"),!(0,t.isInteger)(e)&&(0,t.isNumeric)(e)&&(yield"number")}t.hasUnresolvedRefs=e=>"boolean"!=typeof e&&(void 0!==e.$ref||void 0!==e.$dynamicRef||void 0!==e.$recursiveRef),t.detectedTypes=function(e){const t=Array.isArray(e.type)?e.type:void 0!==e.type?[e.type]:[];return 0!==t.length?[...new Set(t)]:[...n(e)]}},41168:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.encodeStringForJSONPointer=void 0,t.encodeStringForJSONPointer=function(e){return e.replace(/~/g,"~0").replace(/\//g,"~1").replace(/%/g,"%25")}},40578:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=r(n(2784)),i=n(77740),s=n(2204),a=n(9966);function u(e,t){return!(t<=1)&&e!==t-1}function c(e){let{schema:t}=e;if("boolean"==typeof t)return o.default.createElement(s.TypeLabelSwitch,{type:t});if(t.title)return o.default.createElement(o.default.Fragment,null,t.title);const n=(0,i.detectedTypes)(t);return 0===n.length?o.default.createElement(l,{schema:t}):o.default.createElement(o.default.Fragment,null,n.map(((e,r)=>o.default.createElement(o.default.Fragment,{key:r},o.default.createElement(f,{schema:t,type:e}),u(r,n.length)&&o.default.createElement(a.OrLabel,null)))))}function l(e){let{schema:t}=e;if(void 0!==t.not)return o.default.createElement(o.default.Fragment,null,o.default.createElement(a.NotLabel,null)," ( ",o.default.createElement(c,{schema:t.not})," ) ");if(t.anyOf||t.oneOf||t.allOf){const e=t.anyOf?o.default.createElement(a.OrLabel,null):t.oneOf?o.default.createElement(a.XorLabel,null):o.default.createElement(a.AndLabel,null),n=t.allOf||t.anyOf||t.oneOf;return o.default.createElement(o.default.Fragment,null,n.map(((t,r)=>o.default.createElement(o.default.Fragment,{key:r},o.default.createElement(c,{schema:t}),u(r,n.length)&&e))))}return o.default.createElement(s.TypeLabelSwitch,{type:!0})}function f(e){let{schema:t,type:n}=e;if("string"===n&&void 0!==t.format)return o.default.createElement(s.TypeLabelSwitch,{type:t.format});if("array"===n)return o.default.createElement(d,{schema:t});if(!["array","object"].includes(n)){if(void 0!==t.const)return o.default.createElement("code",null,`${JSON.stringify(t.const)}`);if(void 0!==t.enum&&1===t.enum.length)return o.default.createElement("code",null,`${JSON.stringify(t.enum[0])}`)}return o.default.createElement(s.TypeLabelSwitch,{type:n})}function d(e){let{schema:t}=e;if([void 0,!1].includes(t.items)&&[void 0,!1].includes(t.prefixItems)&&void 0===t.contains)return o.default.createElement(s.TypeLabelSwitch,{type:"array"});let n=[];if(Array.isArray(t.prefixItems)&&n.push(...t.prefixItems.map(((e,t)=>o.default.createElement(c,{schema:e,key:`prefixItems_${t}`})))),void 0!==t.items&&"boolean"!=typeof t.items){let e=Array.isArray(t.items)?t.items:[t.items];n.push(...e.map(((e,t)=>o.default.createElement(c,{schema:e,key:`items_${t}`}))))}return void 0!==t.additionalItems&&"boolean"!=typeof t.additionalItems&&n.push(o.default.createElement(c,{schema:t.additionalItems,key:"additionalItems"})),void 0!==t.unevaluatedItems&&"boolean"!=typeof t.unevaluatedItems&&n.push(o.default.createElement(c,{schema:t.unevaluatedItems,key:"unevaluatedItems"})),void 0!==t.contains&&n.push(o.default.createElement(o.default.Fragment,{key:"before_contains"},"..."),o.default.createElement(c,{schema:t.contains,key:"contains"})),!1!==t.unevaluatedItems&&!1!==t.items&&!1!==t.additionalItems&&n.push(o.default.createElement(o.default.Fragment,{key:"open_tuple"},"...")),o.default.createElement(o.default.Fragment,null,"(",n.map(((e,t)=>o.default.createElement(o.default.Fragment,{key:t},e,u(t,n.length)&&","))),")[]")}t.default=c},72223:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=r(n(2784)),i=n(85685);t.default=function(e){const{options:t}=e,n=t.qualifierMessagesOrder||i.QUALIFIERS_DEFAULT_ORDER;return o.default.createElement(o.default.Fragment,null,n.filter((t=>i.QUALIFIERS_MAP[t].match(e))).map((t=>i.QUALIFIERS_MAP[t].Component(e))))}},77740:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var o=Object.getOwnPropertyDescriptor(t,n);o&&!("get"in o?!t.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,o)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),o=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)},i=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.QualifierMessages=t.GenerateFriendlyName=void 0;var s=n(40578);Object.defineProperty(t,"GenerateFriendlyName",{enumerable:!0,get:function(){return i(s).default}});var a=n(72223);Object.defineProperty(t,"QualifierMessages",{enumerable:!0,get:function(){return i(a).default}}),o(n(7639),t),o(n(41168),t)},75548:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var o=Object.getOwnPropertyDescriptor(t,n);o&&!("get"in o?!t.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,o)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),o=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),i=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&r(t,e,n);return o(t,e),t};Object.defineProperty(t,"__esModule",{value:!0}),t.referencesYaml=t.referencesId=t.describeSchema=void 0;const s=i(n(45984)),a=n(77107);function u(e,t){if(!t)return e;let n=s.parseDocument(e);for(const r of t.slice(2).split("/"))if(n=n.get(r,!0),!n)throw new Error(`Pointer ${t} not found in schema`);return s.stringify(n)}function c(e){return 1===Object.keys(e).length&&"id"in e}function l(e){return 1===Object.keys(e).length&&"yaml"in e}t.describeSchema=function(e){let{schema:t,pointer:n}=e;if("string"==typeof n&&!n.startsWith("#"))throw new Error("`pointer` option must start with '#'");return c(t)?function(e){let{schema:{id:t},pointer:n}=e;const[r,o]=t.split("#"),i=o?function(e){const t=e.filter((e=>"string"==typeof e)).map((e=>e.slice(1))).join("");if(0===t.length)return;return`#${t}`}([`#${o}`,n]):n,c=a.schemaYamls[r];if(!c)throw new Error(`Unknown schema with $id "${r}"`);const l=u(c,i),f=s.parse(l),d=s.parse(c);return{id:r,pointer:i,yaml:l,schema:f,rootSchema:d}}({schema:t,pointer:n}):l(t)?function(e){let{schema:{yaml:t},pointer:n}=e;const r=u(t,n),o=s.parse(r),i=s.parse(t),a=o.$id;return a?{id:a,pointer:n,yaml:r,schema:o,rootSchema:i}:{pointer:n,yaml:r,schema:o,rootSchema:i}}({schema:t,pointer:n}):function(e){let{schema:t,pointer:n}=e;const r=u(s.stringify(t),n),o=s.parse(r),i=o.$id;return i?{id:i,pointer:n,yaml:r,schema:o,rootSchema:t}:{pointer:n,yaml:r,schema:o,rootSchema:t}}({schema:t,pointer:n})},t.referencesId=c,t.referencesYaml=l},99372:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var o=Object.getOwnPropertyDescriptor(t,n);o&&!("get"in o?!t.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,o)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),o=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),t.schemaIds=t.schemas=void 0,o(n(75548),t);var i=n(52109);Object.defineProperty(t,"schemas",{enumerable:!0,get:function(){return i.schemas}}),Object.defineProperty(t,"schemaIds",{enumerable:!0,get:function(){return i.schemaIds}})},52109:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.schemas=t.schemaIds=void 0;const r=n(75548),o=n(77107);t.schemaIds=Object.keys(o.schemaYamls),t.schemas=t.schemaIds.map((e=>({[e]:(0,r.describeSchema)({schema:{id:e}}).schema}))).reduce(((e,t)=>Object.assign(Object.assign({},e),t)),{})},77107:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.schemaYamls=void 0,t.schemaYamls={"schema:ethdebug/format/materials/compilation":'$schema: "https://json-schema.org/draft/2020-12/schema"\n$id: "schema:ethdebug/format/materials/compilation"\n\ntitle: ethdebug/format/materials/compilation\ndescription: |\n An object representing a single invocation of a compiler.\n\ntype: object\nproperties:\n id:\n description: |\n Compilation ID. Optional, but **should** be specified.\n\n This value **should** be globally-unique and generated only from the\n compiler inputs (settings, sources, etc.); the same compiler inputs/\n settings **should** produce the same identifier.\n\n $ref: "schema:ethdebug/format/materials/id"\n\n compiler:\n type: object\n title: Compiler name and version\n properties:\n name:\n type: string\n description: Compiler name\n\n version:\n type: string\n description: |\n Compiler version.\n\n This value **should** be specified using the most detailed version\n representation available, i.e., including source control hash and\n compiler build information whenever possible.\n\n required:\n - name\n - version\n\n examples:\n - name: lllc\n version: 0.4.12-develop.2017.6.27+commit.b83f77e0.Linux.g++\n\n settings:\n description: |\n Compiler settings in a format native to the compiler.\n\n For compilers whose settings includes full source representations, this\n field **should** be specified in such a way that avoids large data\n redundancies (e.g. if compiler settings contain full source\n representations, then this field would significantly duplicate the\n information represented by the `sources` field in this object).\n\n In situations where settings information duplicates information\n represented elsewhere in **ethdebug/format**, compilers **may** adopt\n any reasonable strategy, e.g.:\n - omit duplications partially (leaving the rest of the settings\n intact)\n - omit this field entirely\n - specify this field as a hash of the full settings\n representation (with the expectation that users of this format will\n have access to the full representation by some other means)\n\n allOf:\n - true\n\n sources:\n type: array\n items:\n $ref: "schema:ethdebug/format/materials/source"\n\nrequired:\n - compiler\n - sources\n\nexamples:\n - compiler:\n name: lllc\n version: 0.4.12-develop.2017.6.27+commit.b83f77e0.Linux.g++\n sources:\n - id: 0\n path: stdin\n contents: |\n (add 1 (mul 2 (add 3 4)))\n language: LLL\n',"schema:ethdebug/format/materials/id":'$schema: "https://json-schema.org/draft/2020-12/schema"\n$id: "schema:ethdebug/format/materials/id"\n\ntitle: ethdebug/format/materials/id\ndescription: An opaque external ID (likely generated by compiler)\n\ntype:\n - number\n - string\n\nexamples:\n - 5\n - "five"\n',"schema:ethdebug/format/materials/reference":'$schema: "https://json-schema.org/draft/2020-12/schema"\n$id: "schema:ethdebug/format/materials/reference"\n\ntitle: ethdebug/format/materials/reference\ndescription: A reference to an external resource by ID\n\ntype: object\nproperties:\n id:\n $ref: "schema:ethdebug/format/materials/id"\n\n type:\n enum:\n - compilation\n - source\n\nrequired: [id]\n\nunevaluatedProperties: false\n\nexamples:\n - id: 1\n',"schema:ethdebug/format/materials/source-range":'$schema: "https://json-schema.org/draft/2020-12/schema"\n$id: "schema:ethdebug/format/materials/source-range"\n\ntitle: ethdebug/format/materials/source-range\ndescription: |\n A range of bytes in a particular source.\n\n Note that this refers to the bytes range in the original character encoding\n for the source, not the character encoding used for strings in this JSON\n format (UTF-8). For compilers that support input sources in encodings other\n than this format\'s transmission encoding, compilers **must** address source\n ranges in this original encoding, and debuggers **must** re-encode source\n contents obtained from this format _before_ performing any range addressing.\n\n (Compilers that only accept UTF-8 or ASCII are naturally exempt from this\n concern.)\n\ntype: object\nproperties:\n compilation:\n title: Compilation reference by ID\n $ref: "schema:ethdebug/format/materials/reference"\n\n source:\n title: Source reference by ID\n $ref: "schema:ethdebug/format/materials/reference"\n\n range:\n type: object\n properties:\n offset:\n description: Byte offset at beginning of range\n type: number\n\n length:\n description: Number of bytes contained in range\n type: number\n\n unevaluatedProperties: false\n\n required:\n - offset\n - length\n\nunevaluatedProperties: false\n\nrequired:\n - source\n - range\n\nexamples:\n - source:\n id: 5\n range:\n offset: 20\n length: 100\n',"schema:ethdebug/format/materials/source":'$schema: "https://json-schema.org/draft/2020-12/schema"\n$id: "schema:ethdebug/format/materials/source"\n\ntitle: ethdebug/format/materials/source\ndescription: |\n An object representing one unit of compiler input, the raw text contents and\n identifying metadata (such as file path) that were given to the compiler as\n part of a compilation.\n\ntype: object\nproperties:\n id:\n description: |\n Source identifier. This field **must** be unique for all sources\n within a single compiler invocation (compilation).\n $ref: "schema:ethdebug/format/materials/id"\n\n path:\n type: string\n description: |\n Hierarchical file-system-like path to this source. This value may\n be an absolute path, a path relative to some root directory, a path\n to some resource within a package, etc.\n\n This value does not need to correspond to any file on disk (either\n physical or virtual), and might instead refer to a path identifier\n for a source that was generated by a compiler or other development tool.\n\n This format makes no specific restrictions on how paths should be\n specified (e.g., no restriction on path separators, etc.), other than\n that values for this field should match what users observe elsewhere for\n the inputs/outputs of this particular compiler invocation.\n\n If no path information is available for a particular source, e.g. if the\n source was provided to the compiler via shell standard input, this field\n should indicate that somehow (e.g., specifying `"path": "stdin"` or\n similar).\n\n This field\'s value **should** be unique across all sources within the\n same compilation.\n\n contents:\n description: |\n The full contents of the source, possibly re-encoded as UTF-8 to\n match parent JSON encoding.\n\n In cases where input source used a different encoding, this object\n **must** also specify an `encoding` property to indicate the\n encoding originally used. Where relevant, debuggers **must** also\n convert these `contents` back to the specified original encoding so\n as to match code author expectations.\n\n type: string\n\n encoding:\n description: |\n Character encoding of original source `contents`. This property\n is **required** if this encoding does not match the JSON transmission\n encoding (UTF-8), since the value of the `contents` property will\n represent the text of the source of this JSON encoding.\n\n This property **must not** appear in objects that do not specify\n a `contents` property.\n\n type: string\n\n language:\n description: |\n The high-level language that the source contents are written in.\n\n type: string\n\nrequired:\n - id\n - path\n - contents\n - language\n\nexamples:\n - id: 5\n path: ./contracts/SimpleStorage.sol\n contents: |\n // SPDX-License-Identifier: GPL-3.0\n pragma solidity >=0.4.16 <0.9.0;\n\n contract SimpleStorage {\n uint storedData;\n\n function set(uint x) public {\n storedData = x;\n }\n\n function get() public view returns (uint) {\n return storedData;\n }\n }\n\n language:\n Solidity\n',"schema:ethdebug/format/pointer/collection/conditional":'$schema: "https://json-schema.org/draft/2020-12/schema"\n$id: "schema:ethdebug/format/pointer/collection/conditional"\n\ntitle: ethdebug/format/pointer/collection/conditional\ndescription: |\n A pointer defined conditionally based on the non-zero-ness of some expression\n\ntype: object\n\nproperties:\n if:\n $ref: "schema:ethdebug/format/pointer/expression"\n then:\n $ref: "schema:ethdebug/format/pointer"\n else:\n $ref: "schema:ethdebug/format/pointer"\n\nrequired:\n - if\n - then\n\nadditionalProperties: false\n\nexamples:\n - if: 0\n then:\n location: memory\n offset: 0\n length: 1\n else:\n location: memory\n offset: 1\n length: 1\n',"schema:ethdebug/format/pointer/collection/group":'$schema: "https://json-schema.org/draft/2020-12/schema"\n$id: "schema:ethdebug/format/pointer/collection/group"\n\ntitle: ethdebug/format/pointer/collection/group\ndescription: |\n A composite collection of pointers\ntype: object\nproperties:\n group:\n type: array\n items:\n $ref: "schema:ethdebug/format/pointer"\n minItems: 1\nrequired:\n - group\nadditionalProperties: false\n\nexamples:\n - group:\n - name: "data-pointer"\n location: stack\n slot: 0\n - location: memory\n offset:\n $read: "data-pointer"\n length: 32\n',"schema:ethdebug/format/pointer/collection/list":'$schema: "https://json-schema.org/draft/2020-12/schema"\n$id: "schema:ethdebug/format/pointer/collection/list"\n\ntitle: ethdebug/format/pointer/collection/list\ndescription: |\n An ordered list of pointers, indexed starting at zero.\ntype: object\n\nproperties:\n list:\n type: object\n properties:\n count:\n description: |\n The size of the list that this collection represents.\n $ref: "schema:ethdebug/format/pointer/expression"\n each:\n description: |\n An identifier name whose value as an expression resolves to the index\n in the list\n $ref: "schema:ethdebug/format/pointer/identifier"\n is:\n description: |\n The dynamically-generated pointer repeated as a list\n $ref: "schema:ethdebug/format/pointer"\n required:\n - count\n - each\n - is\n\nrequired:\n - list\n\nadditionalProperties: false\n\nexamples:\n - list:\n count: 5\n each: "index"\n is:\n location: memory\n offset:\n $read: "index"\n length: 1\n',"schema:ethdebug/format/pointer/collection/scope":'$schema: "https://json-schema.org/draft/2020-12/schema"\n$id: "schema:ethdebug/format/pointer/collection/scope"\n\ntitle: ethdebug/format/pointer/collection/scope\ndescription: |\n A pointer defined with the aid of additional variables with values specified\n as expressions.\n\n Variables are specified by the `define` field as an object mapping of\n expression by identifier. Variables are specified **in order**, so that\n later appearing variables may reference earlier ones in the same object.\n\ntype: object\n\nproperties:\n define:\n title: Mapping of variables to expression value\n type: object\n patternProperties:\n "^[a-zA-Z_\\\\-]+[a-zA-Z0-9$_\\\\-]*$":\n $ref: "schema:ethdebug/format/pointer/expression"\n additionalProperties: false\n in:\n $ref: "schema:ethdebug/format/pointer"\n\nrequired:\n - define\n - in\n\nadditionalProperties: false\n\nexamples:\n - define:\n example-offset:\n $sum: [1, 2]\n example-length:\n $product: [2, $wordsize]\n in:\n name: example\n location: memory\n offset: example-offset\n length: example-length\n',"schema:ethdebug/format/pointer/collection":'$schema: "https://json-schema.org/draft/2020-12/schema"\n$id: "schema:ethdebug/format/pointer/collection"\n\ntitle: ethdebug/format/pointer/collection\ndescription: |\n A representation of a collection of pointers to data in the EVM\ntype: object\n\nallOf:\n - oneOf:\n - required:\n - group\n - required:\n - list\n - required:\n - if\n - required:\n - define\n - if:\n required:\n - group\n then:\n $ref: "schema:ethdebug/format/pointer/collection/group"\n\n - if:\n required:\n - list\n then:\n $ref: "schema:ethdebug/format/pointer/collection/list"\n\n - if:\n required:\n - if\n then:\n $ref: "schema:ethdebug/format/pointer/collection/conditional"\n\n - if:\n required:\n - define\n then:\n $ref: "schema:ethdebug/format/pointer/collection/scope"\n',"schema:ethdebug/format/pointer/expression":'$schema: "https://json-schema.org/draft/2020-12/schema"\n$id: "schema:ethdebug/format/pointer/expression"\n\ntitle: ethdebug/format/pointer/expression\ndescription: |\n A schema for describing expressions that evaluate to values.\n\noneOf:\n - $ref: "#/$defs/Literal"\n - $ref: "#/$defs/Variable"\n - $ref: "#/$defs/Constant"\n - $ref: "#/$defs/Arithmetic"\n - $ref: "#/$defs/Lookup"\n - $ref: "#/$defs/Read"\n - $ref: "#/$defs/Keccak256"\n\n$defs:\n Literal:\n title: Literal value\n description: |\n An unsigned number or a `0x`-prefixed string of hexadecimal digits\n\n oneOf:\n - type: integer\n description: A non-negative integer literal\n min: 0\n\n - type: string\n description: |\n A `0x`-prefixed hexadecimal string representing literal bytes\n pattern: "^0x[0-9a-fA-F]{1,}$"\n\n examples:\n - 5\n - "0x0000000000000000000000000000000000000000000000000000000000000000"\n\n Constant:\n title: Constant value\n type: string\n enum:\n - $wordsize\n\n Variable:\n title: Variable identifier\n description: |\n A string that matches an identifier used in an earlier declaration of\n a scalar variable. This expression evaluates to the value of that\n variable.\n $ref: "schema:ethdebug/format/pointer/identifier"\n\n Arithmetic:\n title: Arithmetic operation\n type: object\n properties:\n "$sum":\n description: |\n A list of expressions to be added together.\n $ref: "#/$defs/Operands"\n "$difference":\n description: |\n A tuple of two expressions where the second is to be subtracted from\n the first.\n\n If the second operand is larger than the first, the result of this\n arithmetic operation is defined to equal zero (`0`).\n\n (i.e., `{ "$difference": [a, b] }` equals `a` minus `b`.)\n $ref: "#/$defs/Operands"\n minItems: 2\n maxItems: 2\n "$product":\n description: |\n A list of expressions to be multipled.\n $ref: "#/$defs/Operands"\n "$quotient":\n description: |\n A tuple of two expressions where the first corresponds to the\n dividend and the second corresponds to the divisor, for the purposes\n of doing integer division.\n\n (i.e., `{ "$quotient": [a, b] }` equals `a` divided by `b`.)\n $ref: "#/$defs/Operands"\n minItems: 2\n maxItems: 2\n "$remainder":\n description: |\n A tuple of two expressions where the first corresponds to the\n dividend and the second corresponds to the divisor, for the purposes\n of computing the modular-arithmetic remainder.\n\n (i.e., `{ "$remainder": [a, b] }` equals `a` mod `b`.)\n $ref: "#/$defs/Operands"\n minItems: 2\n maxItems: 2\n additionalProperties: false\n minProperties: 1\n maxProperties: 1\n examples:\n - "$sum": [5, 3, 4]\n - "$difference": [5, 3]\n - "$product": [5, 3, 0]\n - "$quotient": [5, 3]\n - "$remainder":\n - "$product":\n - 2\n - 2\n - 2\n - 2\n - 3\n\n Operands:\n type: array\n items:\n $ref: "schema:ethdebug/format/pointer/expression"\n\n Lookup:\n title: Lookup region definition\n description: |\n An object of the form `{ ".<property-name>": "<region>" }`, to\n denote that this expression is equivalent to the defined value for\n the property named `<property-name>` inside the region referenced as\n `<region>`.\n\n `<property-name>` **must** be a valid and present property on the\n corresponding region, or it **must** correspond to an optional property\n whose schema specifies a default value for that property.\n type: object\n patternProperties:\n "^\\\\.(offset|length|slot)$":\n $ref: "#/$defs/Reference"\n additionalProperties: false\n minProperties: 1\n maxProperties: 1\n\n examples:\n - .offset: "array-count"\n - .length: "array-item"\n - .offset: $this\n\n\n Read:\n title: Read region bytes\n description: |\n An object of the form `{ "$read": "<region>" }`. The value of this\n expression equals the raw bytes present in the running machine state\n in the referenced region.\n type: object\n properties:\n $read:\n $ref: "#/$defs/Reference"\n required:\n - $read\n additionalProperties: false\n examples:\n - $read: "struct-start"\n\n Reference:\n title: Region reference\n description: |\n A string value that **must** either be the `"name"` of at least one\n region declared with `{ "name": "<region>" }` previously in some root\n pointer representation, or it **must** be the literal value `"$this"`,\n which indicates a reference to the region containing this expression.\n\n If more than one region is defined with the same name, resolution is\n defined as firstly resolving to the latest earlier sibling that declares\n the matching name, then secondly resolving to the parent if it matches,\n then to parent\'s earlier siblings, and so on.\n type: string\n\n oneOf:\n - $ref: "schema:ethdebug/format/pointer/identifier"\n - const: "$this"\n description: |\n Indicates a reference to the region containing this expression.\n\n Keccak256:\n title: Keccak256 hash\n description: |\n An object of the form `{ "keccak256": [...values] }`, indicating that this\n expression evaluates to the Solidity-style keccak256 hash of the\n tightly-packed bytes encoded by `values`.\n type: object\n properties:\n $keccak256:\n title: Array of hashed values\n type: array\n items:\n $ref: "schema:ethdebug/format/pointer/expression"\n additionalProperties: false\n required:\n - $keccak256\n examples:\n - $keccak256:\n - 0\n - "0x00"\n\nexamples:\n - 0\n - $sum:\n - .offset: "array-start"\n - .length: "array-start"\n - 1\n - $keccak256:\n - 5\n - .offset: "array-start"\n',"schema:ethdebug/format/pointer/identifier":'$schema: "https://json-schema.org/draft/2020-12/schema"\n$id: "schema:ethdebug/format/pointer/identifier"\n\ntitle: ethdebug/format/pointer/identifier\ndescription: |\n An identifier for use within the context of a root pointer\ntype: string\npattern: "^[a-zA-Z_\\\\-]+[a-zA-Z0-9$_\\\\-]*$"\n\nexamples:\n - a\n - a0\n - -$\n - __init__\n',"schema:ethdebug/format/pointer/region/base":'$schema: "https://json-schema.org/draft/2020-12/schema"\n$id: "schema:ethdebug/format/pointer/region/base"\n\ntitle: ethdebug/format/pointer/region/base\ndescription: |\n Common schema for all region schemas, regardless of `"location": ...`.\n\ntype: object\nproperties:\n name:\n $ref: "schema:ethdebug/format/pointer/identifier"\n\n location:\n type: string\n\nrequired:\n - location\n\nexamples:\n - name: "array-item"\n location: memory\n',"schema:ethdebug/format/pointer/region/calldata":'$schema: "https://json-schema.org/draft/2020-12/schema"\n$id: "schema:ethdebug/format/pointer/region/calldata"\n\ntitle: ethdebug/format/pointer/region/calldata\ndescription: |\n A schema for representing a region of data in message calldata.\n\n This schema is constructed by extending the base region schema\n and the schema for the slice addressing scheme.\ntype: object\n\nallOf:\n - title: \'{\xa0"location":\xa0"calldata"\xa0}\' # note: whitespace chars are \\255 (nbsp)\n properties:\n location:\n const: calldata\n\n required:\n - location\n - $ref: "schema:ethdebug/format/pointer/region/base"\n - $ref: "schema:ethdebug/format/pointer/scheme/slice"\n\nunevaluatedProperties: false\n\nexamples:\n - location: calldata\n offset: "0x04"\n length: 32\n',"schema:ethdebug/format/pointer/region/code":'$schema: "https://json-schema.org/draft/2020-12/schema"\n$id: "schema:ethdebug/format/pointer/region/code"\n\ntitle: ethdebug/format/pointer/region/code\ndescription: |\n A schema for representing a region of data in EVM bytecode.\n\n This schema is constructed by extending the base region schema\n and the schema for the slice addressing scheme.\ntype: object\n\nallOf:\n - title: \'{\xa0"location":\xa0"code"\xa0}\' # note: whitespace chars are \\255 (nbsp)\n properties:\n location:\n const: code\n\n required:\n - location\n - $ref: "schema:ethdebug/format/pointer/region/base"\n - $ref: "schema:ethdebug/format/pointer/scheme/slice"\n\nunevaluatedProperties: false\n\nexamples:\n - location: code\n offset: "0x04"\n length: 32\n',"schema:ethdebug/format/pointer/region/memory":'$schema: "https://json-schema.org/draft/2020-12/schema"\n$id: "schema:ethdebug/format/pointer/region/memory"\n\ntitle: ethdebug/format/pointer/region/memory\ndescription: |\n A schema for representing a region of data in EVM memory. Pointer regions\n within memory represent a single/atomic sequence of byte locations.\n\n This schema is constructed by extending the base region schema\n and the schema for the slice addressing scheme.\ntype: object\n\nallOf:\n - title: \'{\xa0"location":\xa0"memory"\xa0}\' # note: whitespace chars are \\255 (nbsp)\n properties:\n location:\n const: memory\n\n required:\n - location\n - $ref: "schema:ethdebug/format/pointer/region/base"\n - $ref: "schema:ethdebug/format/pointer/scheme/slice"\n\nunevaluatedProperties: false\n\nexamples:\n - location: memory\n offset: "0x04"\n length: 32\n',"schema:ethdebug/format/pointer/region/returndata":'$schema: "https://json-schema.org/draft/2020-12/schema"\n$id: "schema:ethdebug/format/pointer/region/returndata"\n\ntitle: ethdebug/format/pointer/region/returndata\ndescription: |\n A schema for representing a region of data in message returndata.\n\n This schema is constructed by extending the base region schema\n and the schema for the slice addressing scheme.\ntype: object\n\nallOf:\n - title: \'{\xa0"location":\xa0"returndata"\xa0}\' # note: whitespace chars are \\255 (nbsp)\n properties:\n location:\n const: returndata\n\n required:\n - location\n - $ref: "schema:ethdebug/format/pointer/region/base"\n - $ref: "schema:ethdebug/format/pointer/scheme/slice"\n\nunevaluatedProperties: false\n\nexamples:\n - location: returndata\n offset: "0x04"\n length: 32\n',"schema:ethdebug/format/pointer/region/stack":'$schema: "https://json-schema.org/draft/2020-12/schema"\n$id: "schema:ethdebug/format/pointer/region/stack"\n\ntitle: ethdebug/format/pointer/region/stack\ndescription: |\n A schema for representing a region of data in the EVM.\n\n Describes stack slots as number of positions from the top (at time of\n observation). Debuggers reading this information **should** immediately\n convert these positions to absolute positions from the bottom.\n\n This schema is constructed by extending the base region schema\n and the schema for the segment addressing scheme.\ntype: object\n\nallOf:\n - title: \'{\xa0"location":\xa0"stack"\xa0}\' # note: whitespace chars are \\255 (nbsp)\n properties:\n location:\n const: stack\n\n required:\n - location\n\n - $ref: "schema:ethdebug/format/pointer/region/base"\n - $ref: "schema:ethdebug/format/pointer/scheme/segment"\n\nunevaluatedProperties: false\n\nexamples:\n - location: stack\n slot: 0\n - location: stack\n slot: 1\n length:\n $product:\n - $wordsize\n - 2\n',"schema:ethdebug/format/pointer/region/storage":'$schema: "https://json-schema.org/draft/2020-12/schema"\n$id: "schema:ethdebug/format/pointer/region/storage"\n\ntitle: ethdebug/format/pointer/region/storage\ndescription: |\n A schema for representing a region of data in EVM storage.\n\n This schema is constructed by extending the base region schema\n and the schema for the segment addressing scheme.\ntype: object\n\nallOf:\n - title: \'{\xa0"location":\xa0"storage"\xa0}\' # note: whitespace chars are \\255 (nbsp)\n properties:\n location:\n const: storage\n\n required:\n - location\n\n - $ref: "schema:ethdebug/format/pointer/region/base"\n - $ref: "schema:ethdebug/format/pointer/scheme/segment"\n\nunevaluatedProperties: false\n\nexamples:\n - location: storage\n slot: "0x03"\n - location: storage\n slot: "0x06"\n length:\n $product:\n - $wordsize\n - 2\n - location: storage\n slot: "0x08"\n offset:\n $quotient:\n - $wordsize\n - 2\n length:\n $quotient:\n - $wordsize\n - 2\n',"schema:ethdebug/format/pointer/region/transient":'$schema: "https://json-schema.org/draft/2020-12/schema"\n$id: "schema:ethdebug/format/pointer/region/transient"\n\ntitle: ethdebug/format/pointer/region/transient\ndescription: |\n A schema for representing a region of data in EVM transient storage.\n\n This schema is constructed by extending the base region schema\n and the schema for the segment addressing scheme.\ntype: object\n\nallOf:\n - title: \'{\xa0"location":\xa0"transient"\xa0}\' # note: whitespace chars are \\255 (nbsp)\n properties:\n location:\n const: transient\n\n required:\n - location\n\n - $ref: "schema:ethdebug/format/pointer/region/base"\n - $ref: "schema:ethdebug/format/pointer/scheme/segment"\n\nunevaluatedProperties: false\n\nexamples:\n - location: transient\n slot: "0x03"\n - location: transient\n slot: "0x06"\n length:\n $product:\n - $wordsize\n - 2\n - location: transient\n slot: "0x08"\n offset:\n $quotient:\n - $wordsize\n - 2\n length:\n $quotient:\n - $wordsize\n - 2\n',"schema:ethdebug/format/pointer/region":'$schema: "https://json-schema.org/draft/2020-12/schema"\n$id: "schema:ethdebug/format/pointer/region"\n\ntitle: ethdebug/format/pointer/region\ndescription: |\n A representation of a region of data in the EVM\ntype: object\n\nproperties:\n location:\n $ref: "#/$defs/Location"\n\n\nallOf:\n - if:\n properties:\n location:\n const: stack\n\n then:\n $ref: "schema:ethdebug/format/pointer/region/stack"\n\n - if:\n properties:\n location:\n const: memory\n\n then:\n $ref: "schema:ethdebug/format/pointer/region/memory"\n\n - if:\n properties:\n location:\n const: storage\n then:\n $ref: "schema:ethdebug/format/pointer/region/storage"\n\n - if:\n properties:\n location:\n const: calldata\n then:\n $ref: "schema:ethdebug/format/pointer/region/calldata"\n\n - if:\n properties:\n location:\n const: returndata\n then:\n $ref: "schema:ethdebug/format/pointer/region/returndata"\n\n - if:\n properties:\n location:\n const: transient\n then:\n $ref: "schema:ethdebug/format/pointer/region/transient"\n\n - if:\n properties:\n location:\n const: code\n then:\n $ref: "schema:ethdebug/format/pointer/region/code"\n\n$defs:\n Location:\n type: string\n enum:\n - stack\n - memory\n - storage\n - calldata\n - returndata\n - transient\n - code\n\nunevaluatedProperties: false\n\nexamples:\n - location: storage\n slot: "0x0000000000000000000000000000000000000000000000000000000000000000"\n\n',"schema:ethdebug/format/pointer/scheme/segment":'$schema: "https://json-schema.org/draft/2020-12/schema"\n$id: "schema:ethdebug/format/pointer/scheme/segment"\n\ntitle: ethdebug/format/pointer/scheme/segment\ndescription: |\n An addressing scheme for pointing to a range of bytes in a data location\n arranged as individually-addressable word-sized slots.\n\n **Note** that this addressing scheme permits addressing byte ranges that\n extend beyond the last byte of a particular slot, or even covering the range\n of multiple slots.\n\n In such cases, this schema defines the range as the concatenation of bytes\n across slots such that the address of the first byte after the end of slot\n `p` (i.e., `{ "offset": "$wordsize" }`) is interpreted as the first byte of\n slot `p + 1`.\n\ntype: object\n\nproperties:\n slot:\n $ref: "schema:ethdebug/format/pointer/expression"\n offset:\n description: |\n The starting byte index within the slot.\n\n This field is **optional**. If unspecified, it has the default value of\n `0`, indicating that the segment begins at the start of the specified\n slot.\n\n This field\'s expression must resolve to a value _n_ such that\n 0 \u2264 _n_ \\< `$wordsize` (i.e., the offset **must**\n begin inside the slot).\n $ref: "schema:ethdebug/format/pointer/expression"\n default: 0\n length:\n description: |\n The length of the bytes range this segment represents.\n\n This field is **optional**. If unspecified, its default value indicates\n that the segment ends at the end of the slot.\n\n If this field has value larger than the default value, i.e., if the\n segment extends beyond the last byte in the slot, then this segment is\n defined to be the concatenation of the sequentially-addressed slot(s)\n following following the slot specified.\n $ref: "schema:ethdebug/format/pointer/expression"\n default:\n $difference:\n - $wordsize\n - .offset: $this\n\nrequired:\n - slot\n\nexamples:\n - slot: 0\n - slot: 1\n length:\n $product:\n - $wordsize\n - 3\n',"schema:ethdebug/format/pointer/scheme/slice":'$schema: "https://json-schema.org/draft/2020-12/schema"\n$id: "schema:ethdebug/format/pointer/scheme/slice"\n\ntitle: ethdebug/format/pointer/scheme/slice\ndescription: |\n An addressing scheme for pointing to a range of sequential bytes inside\n a data location whose structure is that of a regular bytes array\n (i.e., where bytes are indexed by byte offset, with no concept of word).\n\ntype: object\n\nproperties:\n offset:\n description: |\n The index of the byte (starting from zero) in the data location where\n the slice begins.\n $ref: "schema:ethdebug/format/pointer/expression"\n length:\n description: |\n The length of the slice in number of bytes.\n $ref: "schema:ethdebug/format/pointer/expression"\n\nrequired:\n - offset\n - length\n\nexamples:\n - offset: 0\n length: 32\n',"schema:ethdebug/format/pointer":'$schema: "https://json-schema.org/draft/2020-12/schema"\n$id: "schema:ethdebug/format/pointer"\n\ntitle: ethdebug/format/pointer\ndescription: |\n A schema for representing a pointer to a data position or a range of data\n positions in the EVM.\n\n An **ethdebug/format/pointer** is either a single region or a structured\n collection of other pointers.\n\ntype: object\n\nif:\n required: [location]\nthen:\n $ref: "schema:ethdebug/format/pointer/region"\nelse:\n $ref: "schema:ethdebug/format/pointer/collection"\n\nexamples:\n - # example: a single particular storage slot\n location: storage\n slot: 2\n\n - # example `uint256[] memory` allocation pointer\n # this pointer composes an ordered list of other pointers\n group:\n # declare the first sub-pointer to be the "array-start" region of data\n # corresponding to the first item in the stack (at time of observation)\n - name: "array-start"\n location: stack\n slot: 0\n\n # declare the "array-count" region to be at the offset indicated by\n # the value at "array-start"\n - name: "array-count"\n location: memory\n offset:\n $read: "array-start"\n length: $wordsize\n\n # thirdly, declare a sub-pointer that is a dynamic list whose size is\n # indicated by the value at "array-count", where each "item-index"\n # corresponds to a discrete "array-item" region\n - list:\n count:\n $read: "array-count"\n each: "item-index"\n is:\n name: "array-item"\n location: "memory"\n offset:\n # array items are positioned so that the item with index 0\n # immediately follows "array-count", and each subsequent item\n # immediately follows the previous.\n $sum:\n - .offset: "array-count"\n - .length: "array-count"\n - $product:\n - "item-index"\n - .length: "array-item"\n length: $wordsize\n\n - # example `struct Record { uint128 x; uint128 y }` in memory\n group:\n - name: "struct-start"\n location: stack\n slot: 0\n\n - name: "struct-member-0"\n location: memory\n # the first struct member begins at the offset indicated by the value\n # at "struct-start"\n offset:\n $read: "struct-start"\n length: $wordsize\n\n - name: "struct-member-1"\n location: memory\n # the second struct member immediately follows the first\n offset:\n $sum:\n - .offset: "struct-member-0"\n - .length: "struct-member-0"\n length: $wordsize\n\n - # example `(struct Record { uint256 x; uint256 y; })[] memory`\n group:\n # declare the first sub-pointer to be the "array-start" region of data\n # corresponding to the first item in the stack (at time of observation)\n - name: "array-start"\n location: stack\n slot: 0\n\n # declares the "array-count" region in memory at the offset indicated\n # by "array-start" and of length equal to word size\n - name: "array-count"\n location: memory\n offset:\n $read: "array-start"\n length: $wordsize\n\n # declare this to include a list of pointers of size indicated by the\n # value at "array-count", where each "item-index" corresponds to a\n # group of pointers\n - list:\n count:\n $read: "array-count"\n each: "item-index"\n is:\n group:\n # each element in the list includes a "struct-pointer" region\n # in memory (laid out sequentially in a block as the raw\n # array data)\n - name: "struct-pointer"\n location: memory\n offset:\n $sum:\n - .offset: "array-count"\n - .length: "array-count"\n - $product:\n - "item-index"\n - .length: "struct-pointer"\n length: $wordsize\n\n # following that pointer leads to the region corresponding to\n # the first member of the struct\n - name: "struct-member-0"\n location: memory\n offset:\n $read: "struct-pointer"\n length: $wordsize\n\n # the second struct member immediately follows the first\n - name: "struct-member-1"\n location: memory\n offset:\n $sum:\n - .offset: "struct-member-0"\n - .length: "struct-member-0"\n length: $wordsize\n\n - # example `string storage` allocation\n define:\n "contract-variable-slot": 0\n in:\n group:\n # for short strings, the length is stored as 2n in the last byte of slot\n - name: "length-flag"\n location: storage\n slot: contract-variable-slot\n offset:\n $difference: [$wordsize, 1]\n length: 1\n\n # long strings may use full word to describe length as 2n+1\n - name: "long-string-length-data"\n location: storage\n slot: contract-variable-slot\n offset: 0\n length: $wordsize\n\n # define the region representing the string data itself conditionally\n # based on odd or even length data\n - if:\n $remainder:\n - $sum:\n - $read: "length-flag"\n - 1\n - 2\n\n # short string case (flag is even)\n then:\n define:\n "string-length":\n $quotient: [{ $read: "length-flag" }, 2]\n in:\n name: "string"\n location: storage\n slot: "contract-variable-slot"\n offset: 0\n length: "string-length"\n\n # long string case (flag is odd)\n else:\n define:\n "string-length":\n $quotient:\n - $difference:\n - $read: "long-string-length-data"\n - 1\n - 2\n\n "start-slot":\n $keccak256: ["contract-variable-slot"]\n\n "total-slots":\n # account for both zero and nonzero slot remainders by adding\n # $wordsize-1 to the length before dividing\n $quotient:\n - $sum: ["string-length", { $difference: [$wordsize, 1] }]\n - $wordsize\n in:\n list:\n count: "total-slots"\n each: "i"\n is:\n define:\n "current-slot":\n $sum: ["start-slot", "i"]\n "previous-length":\n $product: ["i", $wordsize]\n in:\n # conditional based on whether this is the last slot:\n # is the string length longer than the previous length\n # plus this whole slot?\n if:\n $difference:\n - "string-length"\n - $sum: ["previous-length", "$wordsize"]\n then:\n # include the whole slot\n name: "string"\n location: storage\n slot: "current-slot"\n else:\n # include only what\'s left in the string\n name: "string"\n location: storage\n slot: "current-slot"\n offset: 0\n length:\n $difference: ["string-length", "previous-length"]\n',"schema:ethdebug/format/type/base":'$schema: "https://json-schema.org/draft/2020-12/schema"\n$id: "schema:ethdebug/format/type/base"\n\ntitle: ethdebug/format/type/base\ndescription:\n Defines the minimally necessary schema for a data type.\n Types belong to a particular `class` (`"elementary"` or `"complex"`),\n and are further identified by a particular `kind`.\ntype: object\noneOf:\n - $ref: "#/$defs/ElementaryType"\n - $ref: "#/$defs/ComplexType"\n\n$defs:\n ElementaryType:\n title: Base elementary type\n description:\n Represents an elementary type (one that does not compose other types)\n type: object\n properties:\n class:\n type: string\n const: elementary\n kind:\n type: string\n contains:\n not:\n description:\n "Elementary types **must not** specify a `contains` field\n (to make it easier to discriminate elementary vs. complex)"\n required:\n - kind\n examples:\n - kind: uint\n bits: 256\n\n ComplexType:\n title: Base complex type\n description:\n Represents a complex type, one that composes other types (e.g., arrays,\n structs, mappings)\n type: object\n properties:\n class:\n type: string\n const: complex\n description: Indicates that this is a complex type\n kind:\n type: string\n description: The specific kind of complex type, e.g., array or struct\n contains:\n title: Complex type `contains` field\n description:\n Either a type wrapper, an array of type wrappers, or an object\n mapping to type wrappers.\n oneOf:\n - $ref: "#/$defs/TypeWrapper"\n - $ref: "#/$defs/TypeWrapperArray"\n - $ref: "#/$defs/TypeWrapperObject"\n\n required:\n - kind\n - contains\n examples:\n - kind: array\n contains:\n type:\n kind: uint\n bits: 256\n - kind: struct\n contains:\n - member: x\n type:\n kind: uint\n bits: 256\n - member: y\n type:\n kind: uint\n bits: 256\n - kind: mapping\n contains:\n key:\n type:\n kind: address\n payable: true\n value:\n type:\n kind: uint\n bits: 256\n\n TypeWrapper:\n title: \'{ "type": ... }\'\n description:\n A wrapper around a type. Defines a `"type"` field that may include a full\n Type representation or a reference to a known Type by ID. Note that this\n schema permits additional properties on the same object.\n type: object\n properties:\n type:\n oneOf:\n - $ref: "schema:ethdebug/format/type/base"\n - $ref: "schema:ethdebug/format/type/reference"\n\n required:\n - type\n\n TypeWrapperArray:\n title: \'{ "type": ... }[]\'\n description: A list of wrapped types, where the wrapper may add fields\n type: array\n items:\n $ref: "#/$defs/TypeWrapper"\n\n TypeWrapperObject:\n title: \'{ "key": { "type": ... }, ... }\'\n description:\n A key-value mapping of wrapped types, where the wrapper may add fields\n type: object\n additionalProperties:\n $ref: "#/$defs/TypeWrapper"\n',"schema:ethdebug/format/type/complex/alias":'$schema: "https://json-schema.org/draft/2020-12/schema"\n$id: "schema:ethdebug/format/type/complex/alias"\n\ntitle: ethdebug/format/type/complex/alias\ndescription:\n Schema representing a type alias to another type\n\ntype: object\nproperties:\n class:\n type: string\n const: complex\n kind:\n type: string\n const: alias\n contains:\n $ref: "schema:ethdebug/format/type/wrapper"\n definition:\n $ref: "schema:ethdebug/format/type/definition"\n\nrequired:\n - kind\n - contains\n\nexamples:\n - kind: alias\n contains:\n type:\n kind: uint\n bits: 256\n\n - kind: alias\n contains:\n type:\n kind: array\n contains:\n type:\n class: elementary\n kind: super-uint # unsupported type\n blits: -256\n',"schema:ethdebug/format/type/complex/array":'$schema: "https://json-schema.org/draft/2020-12/schema"\n$id: "schema:ethdebug/format/type/complex/array"\n\ntitle: ethdebug/format/type/complex/array\ntype: object\nproperties:\n class:\n type: string\n const: complex\n kind:\n type: string\n const: array\n contains:\n $ref: "schema:ethdebug/format/type/wrapper"\n\nrequired:\n - kind\n - contains\n\nexamples:\n - kind: array\n contains:\n type:\n kind: uint\n bits: 256\n\n - kind: array\n contains:\n type:\n kind: array\n contains:\n type:\n class: elementary\n kind: super-uint # unsupported type\n blits: -256\n',"schema:ethdebug/format/type/complex/function":'$schema: "https://json-schema.org/draft/2020-12/schema"\n$id: "schema:ethdebug/format/type/complex/function"\n\ntitle: ethdebug/format/type/complex/function\ndescription: |\n Schema for representing a function type.\n\n Type representations must indicate whether they represent a function that is\n called internally (within the semantics of the language) or a function that\n is called externally (via EVM contract call semantics and the Solidity ABI).\n Internal function types require the `"internal": true` field; external\n function types require `"external": true`.\n\n Note that external function types may include a representation of the\n contract type that defines or provides this function as an external\n interface.\n\ntype: object\nproperties:\n class:\n type: string\n const: complex\n kind:\n type: string\n const: function\n contains:\n type: object\n title: Parameter and return types\n description: |\n Types this function type composes. Function types inherently compose\n two groupings of types (an ordered list of parameter types and typically\n either a return value or return parameters). Function types\' `contains`\n field is organized as a mapping of `parameters` types (a type wrapper for\n a tuple type) and an optional `returns` type (either a generic type\n wrapper or a type wrapper for a tuple type).\n\n This definition applies for both cases (internal and external function\n types). Each of those specific types may expand this `contains` field\n schema with other semantic details (such as an external function type\n indicating the contract type from which it is exposed).\n properties:\n parameters:\n $ref: "#/$defs/Parameters"\n returns:\n type: object\n title: Return type (or tuple of types)\n description: |\n To accommodate languages differing in whether functions return single\n values or lists of values, this field may be either a generic type\n wrapper or explicitly defined as a type wrapper around a tuple type.\n\n Debuggers that implement this schema **should** be aware that\n languages whose functions return sole values might return tuple\n types. Resolving this ambiguity remains outside the scope of the\n schema (but compilers **must** be consistent when representing\n function types in this schema).\n anyOf:\n - $ref: "schema:ethdebug/format/type/wrapper"\n - $ref: "#/$defs/Parameters"\n required:\n - parameters\n definition:\n $ref: "schema:ethdebug/format/type/definition"\n\noneOf:\n - type: object\n title: External function type\n properties:\n internal:\n const: false\n external:\n const: true\n contains:\n type: object\n title: Additional contents\n properties:\n contract:\n type: object\n title: Contract type providing external function\n description:\n A wrapper around the contract type that composes this external\n function type.\n allOf:\n - $ref: "schema:ethdebug/format/type/wrapper"\n - type: object\n title: Contract type wrapper\n properties:\n type:\n $ref: "schema:ethdebug/format/type/elementary/contract"\n required:\n - external\n\n - type: object\n title: Internal function type\n properties:\n internal:\n const: true\n external:\n const: false\n required:\n - internal\n\nexamples:\n - kind: function\n internal: true\n definition:\n name: increment\n contains:\n parameters:\n type:\n kind: tuple\n contains:\n - name: value\n type:\n kind: uint\n bits: 256\n returns:\n type:\n kind: uint\n bits: 256\n - kind: function\n external: true\n definition:\n name: withdraw\n contains:\n contract:\n type:\n kind: contract\n payable: true\n interface: true\n definition:\n name: Bank\n parameters:\n type:\n kind: tuple\n contains:\n - name: beneficiary\n type:\n kind: address\n payable: true\n - name: amount\n type:\n kind: ufixed\n bits: 128\n places: 18\n returns:\n type:\n kind: tuple\n contains: []\n\n$defs:\n Parameters:\n type: object\n title: Parameters\n description:\n A type wrapper around a tuple of types. This schema uses a tuple type to\n represent an ordered list of types.\n allOf:\n - $ref: "schema:ethdebug/format/type/wrapper"\n - title: Tuple type wrapper\n type: object\n properties:\n type:\n $ref: "schema:ethdebug/format/type/complex/tuple"\n',"schema:ethdebug/format/type/complex/mapping":'$schema: "https://json-schema.org/draft/2020-12/schema"\n$id: "schema:ethdebug/format/type/complex/mapping"\n\ntitle: ethdebug/format/type/complex/mapping\ndescription:\n Schema for representing mapping types\n\ntype: object\nproperties:\n class:\n type: string\n const: complex\n kind:\n type: string\n const: mapping\n contains:\n type: object\n title: Mapping key/value types\n properties:\n key:\n $ref: "schema:ethdebug/format/type/wrapper"\n value:\n $ref: "schema:ethdebug/format/type/wrapper"\n required:\n - key\n - value\n\nrequired:\n - kind\n - contains\n\nexamples:\n - kind: mapping\n contains:\n key:\n type:\n kind: address\n value:\n type:\n kind: uint\n bits: 256\n',"schema:ethdebug/format/type/complex/struct":'$schema: "https://json-schema.org/draft/2020-12/schema"\n$id: "schema:ethdebug/format/type/complex/struct"\n\ntitle: ethdebug/format/type/complex/struct\ndescription:\n Schema for representing struct types\n\ntype: object\nproperties:\n class:\n type: string\n const: complex\n kind:\n type: string\n const: struct\n contains:\n type: array\n items:\n $ref: "#/$defs/MemberField"\n definition:\n $ref: "schema:ethdebug/format/type/definition"\n\nrequired:\n - kind\n - contains\n\nexamples:\n - kind: struct\n contains:\n - name: x\n type:\n kind: uint\n bits: 128\n - name: y\n type:\n kind: uint\n bits: 128\n\n$defs:\n MemberField:\n type: object\n title: MemberField\n description:\n A schema representing a member field inside a struct type. This is an\n **ethdebug/format/type/wrapper** with additional fields.\n allOf:\n - $ref: "schema:ethdebug/format/type/wrapper"\n - title: Additional fields\n description:\n An object with optional `name` property for identifying named struct\n member fields. **Note** that this language does not specify that a\n struct must be consistent in its use of naming for all fields or none\n type: object\n properties:\n name:\n type: string\n',"schema:ethdebug/format/type/complex/tuple":'$schema: "https://json-schema.org/draft/2020-12/schema"\n$id: "schema:ethdebug/format/type/complex/tuple"\n\ntitle: ethdebug/format/type/complex/tuple\ndescription:\n Schema for representing tuple types\n\ntype: object\nproperties:\n class:\n type: string\n const: complex\n kind:\n type: string\n const: tuple\n contains:\n type: array\n items:\n $ref: "#/$defs/Element"\n\nrequired:\n - kind\n - contains\n\nexamples:\n - # empty tuple type\n kind: tuple\n contains: []\n\n - kind: tuple\n contains:\n - name: x\n type:\n kind: uint\n bits: 128\n - name: y\n type:\n kind: uint\n bits: 128\n\n$defs:\n Element:\n type: object\n title: Element\n description:\n An optionally named element type within a tuple. This is an\n **ethdebug/format/type/wrapper** with additional fields.\n allOf:\n - $ref: "schema:ethdebug/format/type/wrapper"\n - title: Additional fields\n type: object\n properties:\n name:\n type: string\n description:\n For tuple types where positional element types are identified\n by name, this field **should** include this information.\n\n This schema makes no restriction on whether all-or-no elements\n have names, and so this field may be sparse across elements of\n the same tuple.\n',"schema:ethdebug/format/type/complex":'$schema: "https://json-schema.org/draft/2020-12/schema"\n$id: "schema:ethdebug/format/type/complex"\n\ntitle: ethdebug/format/type/complex\ndescription:\n Canonical representation of a complex type\n\ntype: object\nproperties:\n kind:\n $ref: "#/$defs/Kind"\nrequired:\n - kind\n\nallOf:\n - if:\n properties:\n kind:\n const: alias\n then:\n $ref: "schema:ethdebug/format/type/complex/alias"\n\n - if:\n properties:\n kind:\n const: tuple\n then:\n $ref: "schema:ethdebug/format/type/complex/tuple"\n\n - if:\n properties:\n kind:\n const: array\n then:\n $ref: "schema:ethdebug/format/type/complex/array"\n\n - if:\n properties:\n kind:\n const: mapping\n then:\n $ref: "schema:ethdebug/format/type/complex/mapping"\n\n - if:\n properties:\n kind:\n const: struct\n then:\n $ref: "schema:ethdebug/format/type/complex/struct"\n\n - if:\n properties:\n kind:\n const: function\n then:\n $ref: "schema:ethdebug/format/type/complex/function"\n\n$defs:\n Kind:\n title: Known complex kind\n description:\n A schema for the values of `kind` reserved for known complex types\n included in ethdebug/format\n type: string\n enum:\n - alias\n - tuple\n - array\n - mapping\n - struct\n - function\n',"schema:ethdebug/format/type/definition":'$schema: "https://json-schema.org/draft/2020-12/schema"\n$id: "schema:ethdebug/format/type/definition"\n\ntitle: ethdebug/format/type/definition\ndescription: |\n Object containing name and location information for a type.\n\n This schema does not require any particular field, but it **must** contain\n at least one property.\n\ntype: object\nproperties:\n name:\n type: string\n\n location:\n $ref: "schema:ethdebug/format/materials/source-range"\n\nanyOf:\n - title: Required `name`\n required: [name]\n - title: Required `location`\n required: [location]\n\nexamples:\n - name: Ballot\n location:\n source:\n id: 5\n range:\n offset: 10\n length: 56\n',"schema:ethdebug/format/type/elementary/address":'$schema: "https://json-schema.org/draft/2020-12/schema"\n$id: "schema:ethdebug/format/type/elementary/address"\n\ntitle: ethdebug/format/type/elementary/address\ndescription:\n Schema describing the representation of an address type\n\ntype: object\nproperties:\n class:\n const: elementary\n kind:\n const: address\n payable:\n type: boolean\n description:\n If this field is omitted, this type represents an address whose\n payability is not known.\nrequired:\n - kind\nexamples:\n - # a type for addresses of unknown payability\n kind: address\n\n - # a type for payable addresses\n kind: address\n payable: true\n',"schema:ethdebug/format/type/elementary/bool":'$schema: "https://json-schema.org/draft/2020-12/schema"\n$id: "schema:ethdebug/format/type/elementary/bool"\n\ntitle: ethdebug/format/type/elementary/bool\ndescription:\n Schema describing the representation of the boolean type\n\ntype: object\nproperties:\n class:\n const: elementary\n kind:\n const: bool\nrequired:\n - kind\nexamples:\n - kind: bool\n',"schema:ethdebug/format/type/elementary/bytes":'$schema: "https://json-schema.org/draft/2020-12/schema"\n$id: "schema:ethdebug/format/type/elementary/bytes"\n\ntitle: ethdebug/format/type/elementary/bytes\ndescription:\n Schema describing the representation of a type of bytes string\n (either dynamic or static)\n\ntype: object\nproperties:\n class:\n const: elementary\n kind:\n const: bytes\n size:\n type: number\n description:\n The number of bytes in the bytes string. If this field is omitted, this\n type is the dynamic bytes string type.\n minimum: 1\nrequired:\n - kind\nexamples:\n - # example static bytes type\n kind: bytes\n size: 32\n - # example dynamic bytes type\n kind: bytes\n',"schema:ethdebug/format/type/elementary/contract":'$schema: "https://json-schema.org/draft/2020-12/schema"\n$id: "schema:ethdebug/format/type/elementary/contract"\n\ntitle: ethdebug/format/type/elementary/contract\ndescription:\n Schema describing the representation of a contract type\n\ntype: object\nproperties:\n class:\n const: elementary\n kind:\n const: contract\n payable:\n type: boolean\n description:\n If this field is omitted, this type represents an address whose\n payability is not known.\n definition:\n $ref: "schema:ethdebug/format/type/definition"\n\noneOf:\n - title: Normal contract type\n properties:\n library:\n const: false\n interface:\n const: false\n\n - title: Contract library type\n properties:\n library:\n const: true\n description:\n Indicates that this is a type representing a library\n required:\n - library\n\n - title: Contract interface type\n properties:\n interface:\n const: true\n description:\n Indicates that this is a type representing an interface\n required:\n - interface\n\nrequired:\n - kind\n\nexamples:\n - kind: contract\n\n - kind: contract\n library: false\n interface: false\n payable: true\n',"schema:ethdebug/format/type/elementary/enum":'$schema: "https://json-schema.org/draft/2020-12/schema"\n$id: "schema:ethdebug/format/type/elementary/enum"\n\ntitle: ethdebug/format/type/elementary/enum\ndescription:\n Schema describing the representation of an enumerated type\n\ntype: object\nproperties:\n class:\n const: elementary\n kind:\n const: enum\n values:\n description:\n The allowed values of an enum. This format makes no restriction on which\n values are allowed here.\n type: array\n items: true\n definition:\n $ref: "schema:ethdebug/format/type/definition"\n\nrequired:\n - kind\n - values\n\nexamples:\n - kind: enum\n values:\n - A\n - B\n - C\n',"schema:ethdebug/format/type/elementary/fixed":'$schema: "https://json-schema.org/draft/2020-12/schema"\n$id: "schema:ethdebug/format/type/elementary/fixed"\n\ntitle: ethdebug/format/type/elementary/fixed\ndescription:\n Schema describing the representation of a signed fixed decimal type\n\ntype: object\nproperties:\n class:\n const: elementary\n kind:\n const: fixed\n bits:\n type: number\n multipleOf: 8\n minimum: 8\n maximum: 256\n places:\n type: number\n description:\n How many decimal places, implying that a raw value `v` of this type\n should be interpreted as `v / (10**places)`\n minimum: 1\n maximum: 80\nrequired:\n - kind\n - bits\n - places\nexamples:\n - kind: fixed\n bits: 256\n places: 10\n',"schema:ethdebug/format/type/elementary/int":'$schema: "https://json-schema.org/draft/2020-12/schema"\n$id: "schema:ethdebug/format/type/elementary/int"\n\ntitle: ethdebug/format/type/elementary/int\ndescription:\n Schema describing the representation of a signed integer type\n\ntype: object\nproperties:\n class:\n const: elementary\n kind:\n const: int\n bits:\n type: number\n multipleOf: 8\n minimum: 8\n maximum: 256\nrequired:\n - kind\n - bits\nexamples:\n - kind: int\n bits: 256\n',"schema:ethdebug/format/type/elementary/string":'$schema: "https://json-schema.org/draft/2020-12/schema"\n$id: "schema:ethdebug/format/type/elementary/string"\n\ntitle: ethdebug/format/type/elementary/string\ndescription:\n Schema describing the representation of a string type\n\ntype: object\nproperties:\n class:\n const: elementary\n kind:\n const: string\n encoding:\n type: string\n default: utf-8\nrequired:\n - kind\nexamples:\n - kind: string\n - kind: string\n encoding: utf-16\n',"schema:ethdebug/format/type/elementary/ufixed":'$schema: "https://json-schema.org/draft/2020-12/schema"\n$id: "schema:ethdebug/format/type/elementary/ufixed"\n\ntitle: ethdebug/format/type/elementary/ufixed\ndescription:\n Schema describing the representation of an unsigned fixed decimal type\n\ntype: object\nproperties:\n class:\n const: elementary\n kind:\n const: ufixed\n bits:\n type: number\n multipleOf: 8\n minimum: 8\n maximum: 256\n places:\n type: number\n description:\n How many decimal places, implying that a raw value `v` of this type\n should be interpreted as `v / (10**places)`\n minimum: 1\n maximum: 80\nrequired:\n - kind\n - bits\n - places\nexamples:\n - kind: ufixed\n bits: 256\n places: 10\n\n',"schema:ethdebug/format/type/elementary/uint":'$schema: "https://json-schema.org/draft/2020-12/schema"\n$id: "schema:ethdebug/format/type/elementary/uint"\n\ntitle: ethdebug/format/type/elementary/uint\ndescription:\n Schema describing the representation of an unsigned integer type\n\ntype: object\nproperties:\n class:\n const: elementary\n kind:\n const: uint\n bits:\n type: number\n multipleOf: 8\n minimum: 8\n maximum: 256\nrequired:\n - kind\n - bits\nexamples:\n - kind: uint\n bits: 256\n',"schema:ethdebug/format/type/elementary":'$schema: "https://json-schema.org/draft/2020-12/schema"\n$id: "schema:ethdebug/format/type/elementary"\n\ntitle: ethdebug/format/type/elementary\ndescription:\n Canonical representation of an elementary type\n\ntype: object\nproperties:\n kind:\n $ref: "#/$defs/Kind"\nrequired:\n - kind\n\nallOf:\n - if:\n properties:\n kind:\n const: uint\n then:\n $ref: "schema:ethdebug/format/type/elementary/uint"\n\n - if:\n properties:\n kind:\n const: int\n then:\n $ref: "schema:ethdebug/format/type/elementary/int"\n\n - if:\n properties:\n kind:\n const: bool\n then:\n $ref: "schema:ethdebug/format/type/elementary/bool"\n\n - if:\n properties:\n kind:\n const: bytes\n then:\n $ref: "schema:ethdebug/format/type/elementary/bytes"\n\n - if:\n properties:\n kind:\n const: string\n then:\n $ref: "schema:ethdebug/format/type/elementary/string"\n\n - if:\n properties:\n kind:\n const: ufixed\n then:\n $ref: "schema:ethdebug/format/type/elementary/ufixed"\n\n - if:\n properties:\n kind:\n const: fixed\n then:\n $ref: "schema:ethdebug/format/type/elementary/fixed"\n - if:\n properties:\n kind:\n const: address\n then:\n $ref: "schema:ethdebug/format/type/elementary/address"\n\n - if:\n properties:\n kind:\n const: contract\n then:\n $ref: "schema:ethdebug/format/type/elementary/contract"\n\n - if:\n properties:\n kind:\n const: enum\n then:\n $ref: "schema:ethdebug/format/type/elementary/enum"\n\n$defs:\n Kind:\n title: Known elementary kind\n description:\n A schema for the values of `kind` reserved for known elementary types\n included in ethdebug/format\n type: string\n enum:\n - uint\n - int\n - bool\n - bytes\n - string\n - ufixed\n - fixed\n - address\n - contract\n - enum\n',"schema:ethdebug/format/type/reference":'$schema: "https://json-schema.org/draft/2020-12/schema"\n$id: "schema:ethdebug/format/type/reference"\n\ntitle: ethdebug/format/type/reference\ndescription: A reference to a known type by ID\ntype: object\nproperties:\n id:\n type:\n - string\n - number\nadditionalProperties: false\nrequired:\n - id\nexamples:\n - id: 5\n',"schema:ethdebug/format/type/wrapper":'$schema: "https://json-schema.org/draft/2020-12/schema"\n$id: "schema:ethdebug/format/type/wrapper"\n\ntitle: ethdebug/format/type/wrapper\ndescription:\n A wrapper around a type. Defines a `"type"` field that may include a full\n Type representation or a reference to a known Type by ID. Note that this\n schema permits additional properties on the same object.\ntype: object\nproperties:\n type:\n # Discriminate between reference and type based on presence of `id`\n if:\n required:\n - id\n then:\n $ref: "schema:ethdebug/format/type/reference"\n else:\n $ref: "schema:ethdebug/format/type"\n\nrequired:\n - type\n\nexamples:\n - name: beneficiary\n type:\n kind: address\n payable: true\n - type:\n id: "<opaque-id>"\n\n$defs:\n Array:\n title: \'{ "type": ... }[]\'\n description: A list of wrapped types, where the wrapper may add fields\n type: array\n items:\n $ref: "schema:ethdebug/format/type/wrapper"\n\n Object:\n title: \'{ "key": { "type": ... }, ... }\'\n description:\n A key-value mapping of wrapped types, where the wrapper may add fields\n type: object\n additionalProperties:\n $ref: "schema:ethdebug/format/type/wrapper"\n',"schema:ethdebug/format/type":'$schema: "https://json-schema.org/draft/2020-12/schema"\n$id: "schema:ethdebug/format/type"\n\ntitle: ethdebug/format/type\ndescription:\n Canonical representation for all types.\ntype: object\n\nif:\n type: object\n title: Known kind\n description:\n If `kind` adheres to the set of known kinds defined by this format\n properties:\n kind:\n anyOf:\n - $ref: "schema:ethdebug/format/type/elementary#/$defs/Kind"\n - $ref: "schema:ethdebug/format/type/complex#/$defs/Kind"\n\nthen:\n type: object\n title: KnownType\n description:\n Then the object must adhere to exactly one known kind of type\n allOf:\n - if:\n properties:\n kind:\n $ref: "schema:ethdebug/format/type/elementary#/$defs/Kind"\n then:\n $ref: "schema:ethdebug/format/type/elementary"\n - if:\n properties:\n kind:\n $ref: "schema:ethdebug/format/type/complex#/$defs/Kind"\n then:\n $ref: "schema:ethdebug/format/type/complex"\n\nelse:\n type: object\n description:\n Else the object must be a valid **ethdebug/format/type/base** with\n additional constraints\n allOf:\n - $ref: "schema:ethdebug/format/type/base"\n - title: Required `class` field\n required:\n - class\n - title: Specialized complex type `contains` field\n type: object\n if:\n description:\n If this object is a complex type\n properties:\n class:\n const: complex\n then:\n description:\n Then the `contains` field must adhere to\n **ethdebug/format/type/wrapper** schemas, not the\n **ethdebug/format/type/base** equivalent.\n\n (i.e., these additional constraints must apply recursively)\n properties:\n contains:\n oneOf:\n - $ref: "schema:ethdebug/format/type/wrapper"\n - $ref: "schema:ethdebug/format/type/wrapper#/$defs/Array"\n - $ref: "schema:ethdebug/format/type/wrapper#/$defs/Object"\n'}},64223:(e,t,n)=>{"use strict";n.d(t,{Z:()=>ui});var r={};n.r(r),n.d(r,{boolean:()=>S,booleanish:()=>C,commaOrSpaceSeparated:()=>j,commaSeparated:()=>P,number:()=>$,overloadedBoolean:()=>O,spaceSeparated:()=>A});var o={};n.r(o),n.d(o,{attentionMarkers:()=>fn,contentInitial:()=>on,disable:()=>dn,document:()=>rn,flow:()=>an,flowInitial:()=>sn,insideSpan:()=>ln,string:()=>un,text:()=>cn});var i=n(2784),s=n(70056),a=n.n(s),u=n(84560),c=n.n(u),l=n(77336),f=n(82009),d=n(99372);const h={"schema:ethdebug/format/type/base":{title:"ethdebug/format/type/base schema",href:"/spec/type/base"},"schema:ethdebug/format/type/base#/$defs/TypeWrapper":{title:"Base type wrapper schema",href:"/spec/type/base#base-type-wrapper-schema"},"schema:ethdebug/format/type/wrapper":{title:"Type wrapper schema",href:"/spec/type/concepts#type-wrapper-schema"},"schema:ethdebug/format/type/reference":{title:"Type reference schema",href:"/spec/type/concepts#type-reference-schema"},"schema:ethdebug/format/type/definition":{title:"Type definition schema",href:"/spec/type/concepts#type-definition-schema"},"schema:ethdebug/format/type":{href:"/spec/type"},"schema:ethdebug/format/type/elementary":{href:"/spec/type#elementary-type-schema"},"schema:ethdebug/format/type/complex":{href:"/spec/type#complex-type-schema"},...["uint","int","ufixed","fixed","bool","bytes","string","address","contract","enum"].map((e=>({[`schema:ethdebug/format/type/elementary/${e}`]:{href:`/spec/type/elementary/${e}`}}))).reduce(((e,t)=>({...e,...t})),{}),...["alias","tuple","array","mapping","struct","function"].map((e=>({[`schema:ethdebug/format/type/complex/${e}`]:{href:`/spec/type/complex/${e}`}}))).reduce(((e,t)=>({...e,...t})),{}),"schema:ethdebug/format/type/complex/function#/$defs/Parameters":{title:"Parameters schema",href:"/spec/type/complex/function#parameters-schema"},"schema:ethdebug/format/pointer":{href:"/spec/pointer"},"schema:ethdebug/format/pointer/region":{href:"/spec/pointer/region"},"schema:ethdebug/format/pointer/region/base":{href:"/spec/pointer/region/base"},...["stack","memory","storage","calldata","returndata","transient","code"].map((e=>({[`schema:ethdebug/format/pointer/region/${e}`]:{href:`/spec/pointer/region/location/${e}`}}))).reduce(((e,t)=>({...e,...t})),{}),...["slice","segment"].map((e=>({[`schema:ethdebug/format/pointer/scheme/${e}`]:{href:`/spec/pointer/region/scheme/${e}`}}))).reduce(((e,t)=>({...e,...t})),{}),"schema:ethdebug/format/pointer/collection":{href:"/spec/pointer/collection"},...["group","list","conditional","scope"].map((e=>({[`schema:ethdebug/format/pointer/collection/${e}`]:{href:`/spec/pointer/collection/${e}`}}))).reduce(((e,t)=>({...e,...t})),{}),"schema:ethdebug/format/pointer/expression":{href:"/spec/pointer/expression"},"schema:ethdebug/format/pointer/expression#/$defs/Literal":{title:"Literal values schema",href:"/spec/pointer/expression#literal-values"},"schema:ethdebug/format/pointer/expression#/$defs/Scalar":{title:"Scalar variable expression schema",href:"/spec/pointer/expression#scalar-variables"},"schema:ethdebug/format/pointer/expression#/$defs/Arithmetic":{title:"Arithmetic operation expression schema",href:"/spec/pointer/expression#arithmetic-operations"},"schema:ethdebug/format/pointer/expression#/$defs/Lookup":{title:"Lookup expression schema",href:"/spec/pointer/expression#lookup-region-definition"},"schema:ethdebug/format/pointer/expression#/$defs/Read":{title:"Read expression schema",href:"/spec/pointer/expression#reading-from-the-evm"},"schema:ethdebug/format/pointer/expression#/$defs/Keccak256":{title:"Keccak256 hash expression schema",href:"/spec/pointer/expression#keccak256-hashes"},"schema:ethdebug/format/pointer/expression#/$defs/Reference":{title:"Region reference",href:"/spec/pointer/expression#region-references"},"schema:ethdebug/format/materials/id":{title:"Identifier schema",href:"/spec/materials/id#identifier-schema"},"schema:ethdebug/format/materials/reference":{title:"Identifier schema",href:"/spec/materials/id#reference-schema"},"schema:ethdebug/format/materials/compilation":{title:"Compilation schema",href:"/spec/materials/compilation"},"schema:ethdebug/format/materials/source":{title:"Source schema",href:"/spec/materials/source"}};var p=n(35849);const m=/^[$_\p{ID_Start}][$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,g=/^[$_\p{ID_Start}][-$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,y={};function v(e,t){return((t||y).jsx?g:m).test(e)}const b=/[ \t\n\f\r]/g;function _(e){return""===e.replace(b,"")}class w{constructor(e,t,n){this.property=e,this.normal=t,n&&(this.space=n)}}function E(e,t){const n={},r={};let o=-1;for(;++o<e.length;)Object.assign(n,e[o].property),Object.assign(r,e[o].normal);return new w(n,r,t)}function k(e){return e.toLowerCase()}w.prototype.property={},w.prototype.normal={},w.prototype.space=null;class x{constructor(e,t){this.property=e,this.attribute=t}}x.prototype.space=null,x.prototype.boolean=!1,x.prototype.booleanish=!1,x.prototype.overloadedBoolean=!1,x.prototype.number=!1,x.prototype.commaSeparated=!1,x.prototype.spaceSeparated=!1,x.prototype.commaOrSpaceSeparated=!1,x.prototype.mustUseProperty=!1,x.prototype.defined=!1;let D=0;const S=F(),C=F(),O=F(),$=F(),A=F(),P=F(),j=F();function F(){return 2**++D}const I=Object.keys(r);class N extends x{constructor(e,t,n,o){let i=-1;if(super(e,t),T(this,"space",o),"number"==typeof n)for(;++i<I.length;){const e=I[i];T(this,I[i],(n&r[e])===r[e])}}}function T(e,t,n){n&&(e[t]=n)}N.prototype.defined=!0;const M={}.hasOwnProperty;function R(e){const t={},n={};let r;for(r in e.properties)if(M.call(e.properties,r)){const o=e.properties[r],i=new N(r,e.transform(e.attributes||{},r),o,e.space);e.mustUseProperty&&e.mustUseProperty.includes(r)&&(i.mustUseProperty=!0),t[r]=i,n[k(r)]=r,n[k(i.attribute)]=r}return new w(t,n,e.space)}const B=R({space:"xlink",transform:(e,t)=>"xlink:"+t.slice(5).toLowerCase(),properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null}}),L=R({space:"xml",transform:(e,t)=>"xml:"+t.slice(3).toLowerCase(),properties:{xmlLang:null,xmlBase:null,xmlSpace:null}});function z(e,t){return t in e?e[t]:t}function U(e,t){return z(e,t.toLowerCase())}const q=R({space:"xmlns",attributes:{xmlnsxlink:"xmlns:xlink"},transform:U,properties:{xmlns:null,xmlnsXLink:null}}),V=R({transform:(e,t)=>"role"===t?t:"aria-"+t.slice(4).toLowerCase(),properties:{ariaActiveDescendant:null,ariaAtomic:C,ariaAutoComplete:null,ariaBusy:C,ariaChecked:C,ariaColCount:$,ariaColIndex:$,ariaColSpan:$,ariaControls:A,ariaCurrent:null,ariaDescribedBy:A,ariaDetails:null,ariaDisabled:C,ariaDropEffect:A,ariaErrorMessage:null,ariaExpanded:C,ariaFlowTo:A,ariaGrabbed:C,ariaHasPopup:null,ariaHidden:C,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:A,ariaLevel:$,ariaLive:null,ariaModal:C,ariaMultiLine:C,ariaMultiSelectable:C,ariaOrientation:null,ariaOwns:A,ariaPlaceholder:null,ariaPosInSet:$,ariaPressed:C,ariaReadOnly:C,ariaRelevant:null,ariaRequired:C,ariaRoleDescription:A,ariaRowCount:$,ariaRowIndex:$,ariaRowSpan:$,ariaSelected:C,ariaSetSize:$,ariaSort:null,ariaValueMax:$,ariaValueMin:$,ariaValueNow:$,ariaValueText:null,role:null}}),Q=R({space:"html",attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},transform:U,mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:P,acceptCharset:A,accessKey:A,action:null,allow:null,allowFullScreen:S,allowPaymentRequest:S,allowUserMedia:S,alt:null,as:null,async:S,autoCapitalize:null,autoComplete:A,autoFocus:S,autoPlay:S,blocking:A,capture:S,charSet:null,checked:S,cite:null,className:A,cols:$,colSpan:null,content:null,contentEditable:C,controls:S,controlsList:A,coords:$|P,crossOrigin:null,data:null,dateTime:null,decoding:null,default:S,defer:S,dir:null,dirName:null,disabled:S,download:O,draggable:C,encType:null,enterKeyHint:null,fetchPriority:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:S,formTarget:null,headers:A,height:$,hidden:S,high:$,href:null,hrefLang:null,htmlFor:A,httpEquiv:A,id:null,imageSizes:null,imageSrcSet:null,inert:S,inputMode:null,integrity:null,is:null,isMap:S,itemId:null,itemProp:A,itemRef:A,itemScope:S,itemType:A,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:S,low:$,manifest:null,max:null,maxLength:$,media:null,method:null,min:null,minLength:$,multiple:S,muted:S,name:null,nonce:null,noModule:S,noValidate:S,onAbort:null,onAfterPrint:null,onAuxClick:null,onBeforeMatch:null,onBeforePrint:null,onBeforeToggle:null,onBeforeUnload:null,onBlur:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onContextLost:null,onContextMenu:null,onContextRestored:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnded:null,onError:null,onFocus:null,onFormData:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLanguageChange:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadEnd:null,onLoadStart:null,onMessage:null,onMessageError:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRejectionHandled:null,onReset:null,onResize:null,onScroll:null,onScrollEnd:null,onSecurityPolicyViolation:null,onSeeked:null,onSeeking:null,onSelect:null,onSlotChange:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnhandledRejection:null,onUnload:null,onVolumeChange:null,onWaiting:null,onWheel:null,open:S,optimum:$,pattern:null,ping:A,placeholder:null,playsInline:S,popover:null,popoverTarget:null,popoverTargetAction:null,poster:null,preload:null,readOnly:S,referrerPolicy:null,rel:A,required:S,reversed:S,rows:$,rowSpan:$,sandbox:A,scope:null,scoped:S,seamless:S,selected:S,shadowRootDelegatesFocus:S,shadowRootMode:null,shape:null,size:$,sizes:null,slot:null,span:$,spellCheck:C,src:null,srcDoc:null,srcLang:null,srcSet:null,start:$,step:null,style:null,tabIndex:$,target:null,title:null,translate:null,type:null,typeMustMatch:S,useMap:null,value:C,width:$,wrap:null,align:null,aLink:null,archive:A,axis:null,background:null,bgColor:null,border:$,borderColor:null,bottomMargin:$,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:S,declare:S,event:null,face:null,frame:null,frameBorder:null,hSpace:$,leftMargin:$,link:null,longDesc:null,lowSrc:null,marginHeight:$,marginWidth:$,noResize:S,noHref:S,noShade:S,noWrap:S,object:null,profile:null,prompt:null,rev:null,rightMargin:$,rules:null,scheme:null,scrolling:C,standby:null,summary:null,text:null,topMargin:$,valueType:null,version:null,vAlign:null,vLink:null,vSpace:$,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:S,disableRemotePlayback:S,prefix:null,property:null,results:$,security:null,unselectable:null}}),X=R({space:"svg",attributes:{accentHeight:"accent-height",alignmentBaseline:"alignment-baseline",arabicForm:"arabic-form",baselineShift:"baseline-shift",capHeight:"cap-height",className:"class",clipPath:"clip-path",clipRule:"clip-rule",colorInterpolation:"color-interpolation",colorInterpolationFilters:"color-interpolation-filters",colorProfile:"color-profile",colorRendering:"color-rendering",crossOrigin:"crossorigin",dataType:"datatype",dominantBaseline:"dominant-baseline",enableBackground:"enable-background",fillOpacity:"fill-opacity",fillRule:"fill-rule",floodColor:"flood-color",floodOpacity:"flood-opacity",fontFamily:"font-family",fontSize:"font-size",fontSizeAdjust:"font-size-adjust",fontStretch:"font-stretch",fontStyle:"font-style",fontVariant:"font-variant",fontWeight:"font-weight",glyphName:"glyph-name",glyphOrientationHorizontal:"glyph-orientation-horizontal",glyphOrientationVertical:"glyph-orientation-vertical",hrefLang:"hreflang",horizAdvX:"horiz-adv-x",horizOriginX:"horiz-origin-x",horizOriginY:"horiz-origin-y",imageRendering:"image-rendering",letterSpacing:"letter-spacing",lightingColor:"lighting-color",markerEnd:"marker-end",markerMid:"marker-mid",markerStart:"marker-start",navDown:"nav-down",navDownLeft:"nav-down-left",navDownRight:"nav-down-right",navLeft:"nav-left",navNext:"nav-next",navPrev:"nav-prev",navRight:"nav-right",navUp:"nav-up",navUpLeft:"nav-up-left",navUpRight:"nav-up-right",onAbort:"onabort",onActivate:"onactivate",onAfterPrint:"onafterprint",onBeforePrint:"onbeforeprint",onBegin:"onbegin",onCancel:"oncancel",onCanPlay:"oncanplay",onCanPlayThrough:"oncanplaythrough",onChange:"onchange",onClick:"onclick",onClose:"onclose",onCopy:"oncopy",onCueChange:"oncuechange",onCut:"oncut",onDblClick:"ondblclick",onDrag:"ondrag",onDragEnd:"ondragend",onDragEnter:"ondragenter",onDragExit:"ondragexit",onDragLeave:"ondragleave",onDragOver:"ondragover",onDragStart:"ondragstart",onDrop:"ondrop",onDurationChange:"ondurationchange",onEmptied:"onemptied",onEnd:"onend",onEnded:"onended",onError:"onerror",onFocus:"onfocus",onFocusIn:"onfocusin",onFocusOut:"onfocusout",onHashChange:"onhashchange",onInput:"oninput",onInvalid:"oninvalid",onKeyDown:"onkeydown",onKeyPress:"onkeypress",onKeyUp:"onkeyup",onLoad:"onload",onLoadedData:"onloadeddata",onLoadedMetadata:"onloadedmetadata",onLoadStart:"onloadstart",onMessage:"onmessage",onMouseDown:"onmousedown",onMouseEnter:"onmouseenter",onMouseLeave:"onmouseleave",onMouseMove:"onmousemove",onMouseOut:"onmouseout",onMouseOver:"onmouseover",onMouseUp:"onmouseup",onMouseWheel:"onmousewheel",onOffline:"onoffline",onOnline:"ononline",onPageHide:"onpagehide",onPageShow:"onpageshow",onPaste:"onpaste",onPause:"onpause",onPlay:"onplay",onPlaying:"onplaying",onPopState:"onpopstate",onProgress:"onprogress",onRateChange:"onratechange",onRepeat:"onrepeat",onReset:"onreset",onResize:"onresize",onScroll:"onscroll",onSeeked:"onseeked",onSeeking:"onseeking",onSelect:"onselect",onShow:"onshow",onStalled:"onstalled",onStorage:"onstorage",onSubmit:"onsubmit",onSuspend:"onsuspend",onTimeUpdate:"ontimeupdate",onToggle:"ontoggle",onUnload:"onunload",onVolumeChange:"onvolumechange",onWaiting:"onwaiting",onZoom:"onzoom",overlinePosition:"overline-position",overlineThickness:"overline-thickness",paintOrder:"paint-order",panose1:"panose-1",pointerEvents:"pointer-events",referrerPolicy:"referrerpolicy",renderingIntent:"rendering-intent",shapeRendering:"shape-rendering",stopColor:"stop-color",stopOpacity:"stop-opacity",strikethroughPosition:"strikethrough-position",strikethroughThickness:"strikethrough-thickness",strokeDashArray:"stroke-dasharray",strokeDashOffset:"stroke-dashoffset",strokeLineCap:"stroke-linecap",strokeLineJoin:"stroke-linejoin",strokeMiterLimit:"stroke-miterlimit",strokeOpacity:"stroke-opacity",strokeWidth:"stroke-width",tabIndex:"tabindex",textAnchor:"text-anchor",textDecoration:"text-decoration",textRendering:"text-rendering",transformOrigin:"transform-origin",typeOf:"typeof",underlinePosition:"underline-position",underlineThickness:"underline-thickness",unicodeBidi:"unicode-bidi",unicodeRange:"unicode-range",unitsPerEm:"units-per-em",vAlphabetic:"v-alphabetic",vHanging:"v-hanging",vIdeographic:"v-ideographic",vMathematical:"v-mathematical",vectorEffect:"vector-effect",vertAdvY:"vert-adv-y",vertOriginX:"vert-origin-x",vertOriginY:"vert-origin-y",wordSpacing:"word-spacing",writingMode:"writing-mode",xHeight:"x-height",playbackOrder:"playbackorder",timelineBegin:"timelinebegin"},transform:z,properties:{about:j,accentHeight:$,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:$,amplitude:$,arabicForm:null,ascent:$,attributeName:null,attributeType:null,azimuth:$,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:$,by:null,calcMode:null,capHeight:$,className:A,clip:null,clipPath:null,clipPathUnits:null,clipRule:null,color:null,colorInterpolation:null,colorInterpolationFilters:null,colorProfile:null,colorRendering:null,content:null,contentScriptType:null,contentStyleType:null,crossOrigin:null,cursor:null,cx:null,cy:null,d:null,dataType:null,defaultAction:null,descent:$,diffuseConstant:$,direction:null,display:null,dur:null,divisor:$,dominantBaseline:null,download:S,dx:null,dy:null,edgeMode:null,editable:null,elevation:$,enableBackground:null,end:null,event:null,exponent:$,externalResourcesRequired:null,fill:null,fillOpacity:$,fillRule:null,filter:null,filterRes:null,filterUnits:null,floodColor:null,floodOpacity:null,focusable:null,focusHighlight:null,fontFamily:null,fontSize:null,fontSizeAdjust:null,fontStretch:null,fontStyle:null,fontVariant:null,fontWeight:null,format:null,fr:null,from:null,fx:null,fy:null,g1:P,g2:P,glyphName:P,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:$,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:$,horizOriginX:$,horizOriginY:$,id:null,ideographic:$,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:$,k:$,k1:$,k2:$,k3:$,k4:$,kernelMatrix:j,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:$,local:null,markerEnd:null,markerMid:null,markerStart:null,markerHeight:null,markerUnits:null,markerWidth:null,mask:null,maskContentUnits:null,maskUnits:null,mathematical:null,max:null,media:null,mediaCharacterEncoding:null,mediaContentEncodings:null,mediaSize:$,mediaTime:null,method:null,min:null,mode:null,name:null,navDown:null,navDownLeft:null,navDownRight:null,navLeft:null,navNext:null,navPrev:null,navRight:null,navUp:null,navUpLeft:null,navUpRight:null,numOctaves:null,observer:null,offset:null,onAbort:null,onActivate:null,onAfterPrint:null,onBeforePrint:null,onBegin:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnd:null,onEnded:null,onError:null,onFocus:null,onFocusIn:null,onFocusOut:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadStart:null,onMessage:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onMouseWheel:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRepeat:null,onReset:null,onResize:null,onScroll:null,onSeeked:null,onSeeking:null,onSelect:null,onShow:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnload:null,onVolumeChange:null,onWaiting:null,onZoom:null,opacity:null,operator:null,order:null,orient:null,orientation:null,origin:null,overflow:null,overlay:null,overlinePosition:$,overlineThickness:$,paintOrder:null,panose1:null,path:null,pathLength:$,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:A,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:$,pointsAtY:$,pointsAtZ:$,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:j,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:j,rev:j,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:j,requiredFeatures:j,requiredFonts:j,requiredFormats:j,resource:null,restart:null,result:null,rotate:null,rx:null,ry:null,scale:null,seed:null,shapeRendering:null,side:null,slope:null,snapshotTime:null,specularConstant:$,specularExponent:$,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:$,strikethroughThickness:$,string:null,stroke:null,strokeDashArray:j,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:$,strokeOpacity:$,strokeWidth:null,style:null,surfaceScale:$,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:j,tabIndex:$,tableValues:null,target:null,targetX:$,targetY:$,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:j,to:null,transform:null,transformOrigin:null,u1:null,u2:null,underlinePosition:$,underlineThickness:$,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:$,values:null,vAlphabetic:$,vMathematical:$,vectorEffect:null,vHanging:$,vIdeographic:$,version:null,vertAdvY:$,vertOriginX:$,vertOriginY:$,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:$,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null}}),H=E([L,B,q,V,Q],"html"),K=E([L,B,q,V,X],"svg"),J=/^data[-\w.:]+$/i,W=/-[a-z]/g,G=/[A-Z]/g;function Z(e){return"-"+e.toLowerCase()}function Y(e){return e.charAt(1).toUpperCase()}const ee={classId:"classID",dataType:"datatype",itemId:"itemID",strokeDashArray:"strokeDasharray",strokeDashOffset:"strokeDashoffset",strokeLineCap:"strokeLinecap",strokeLineJoin:"strokeLinejoin",strokeMiterLimit:"strokeMiterlimit",typeOf:"typeof",xLinkActuate:"xlinkActuate",xLinkArcRole:"xlinkArcrole",xLinkHref:"xlinkHref",xLinkRole:"xlinkRole",xLinkShow:"xlinkShow",xLinkTitle:"xlinkTitle",xLinkType:"xlinkType",xmlnsXLink:"xmlnsXlink"};var te=n(63338);const ne=te.default||te,re=ie("end"),oe=ie("start");function ie(e){return function(t){const n=t&&t.position&&t.position[e]||{};if("number"==typeof n.line&&n.line>0&&"number"==typeof n.column&&n.column>0)return{line:n.line,column:n.column,offset:"number"==typeof n.offset&&n.offset>-1?n.offset:void 0}}}function se(e){return e&&"object"==typeof e?"position"in e||"type"in e?ue(e.position):"start"in e||"end"in e?ue(e):"line"in e||"column"in e?ae(e):"":""}function ae(e){return ce(e&&e.line)+":"+ce(e&&e.column)}function ue(e){return ae(e&&e.start)+"-"+ae(e&&e.end)}function ce(e){return e&&"number"==typeof e?e:1}class le extends Error{constructor(e,t,n){super(),"string"==typeof t&&(n=t,t=void 0);let r="",o={},i=!1;if(t&&(o="line"in t&&"column"in t||"start"in t&&"end"in t?{place:t}:"type"in t?{ancestors:[t],place:t.position}:{...t}),"string"==typeof e?r=e:!o.cause&&e&&(i=!0,r=e.message,o.cause=e),!o.ruleId&&!o.source&&"string"==typeof n){const e=n.indexOf(":");-1===e?o.ruleId=n:(o.source=n.slice(0,e),o.ruleId=n.slice(e+1))}if(!o.place&&o.ancestors&&o.ancestors){const e=o.ancestors[o.ancestors.length-1];e&&(o.place=e.position)}const s=o.place&&"start"in o.place?o.place.start:o.place;this.ancestors=o.ancestors||void 0,this.cause=o.cause||void 0,this.column=s?s.column:void 0,this.fatal=void 0,this.file,this.message=r,this.line=s?s.line:void 0,this.name=se(o.place)||"1:1",this.place=o.place||void 0,this.reason=this.message,this.ruleId=o.ruleId||void 0,this.source=o.source||void 0,this.stack=i&&o.cause&&"string"==typeof o.cause.stack?o.cause.stack:"",this.actual,this.expected,this.note,this.url}}le.prototype.file="",le.prototype.name="",le.prototype.reason="",le.prototype.message="",le.prototype.stack="",le.prototype.column=void 0,le.prototype.line=void 0,le.prototype.ancestors=void 0,le.prototype.cause=void 0,le.prototype.fatal=void 0,le.prototype.place=void 0,le.prototype.ruleId=void 0,le.prototype.source=void 0;const fe={}.hasOwnProperty,de=new Map,he=/[A-Z]/g,pe=/-([a-z])/g,me=new Set(["table","tbody","thead","tfoot","tr"]),ge=new Set(["td","th"]),ye="https://github.com/syntax-tree/hast-util-to-jsx-runtime";function ve(e,t){if(!t||void 0===t.Fragment)throw new TypeError("Expected `Fragment` in options");const n=t.filePath||void 0;let r;if(t.development){if("function"!=typeof t.jsxDEV)throw new TypeError("Expected `jsxDEV` in options when `development: true`");r=function(e,t){return n;function n(n,r,o,i){const s=Array.isArray(o.children),a=oe(n);return t(r,o,i,s,{columnNumber:a?a.column-1:void 0,fileName:e,lineNumber:a?a.line:void 0},void 0)}}(n,t.jsxDEV)}else{if("function"!=typeof t.jsx)throw new TypeError("Expected `jsx` in production options");if("function"!=typeof t.jsxs)throw new TypeError("Expected `jsxs` in production options");r=function(e,t,n){return r;function r(e,r,o,i){const s=Array.isArray(o.children)?n:t;return i?s(r,o,i):s(r,o)}}(0,t.jsx,t.jsxs)}const o={Fragment:t.Fragment,ancestors:[],components:t.components||{},create:r,elementAttributeNameCase:t.elementAttributeNameCase||"react",evaluater:t.createEvaluater?t.createEvaluater():void 0,filePath:n,ignoreInvalidStyle:t.ignoreInvalidStyle||!1,passKeys:!1!==t.passKeys,passNode:t.passNode||!1,schema:"svg"===t.space?K:H,stylePropertyNameCase:t.stylePropertyNameCase||"dom",tableCellAlignToStyle:!1!==t.tableCellAlignToStyle},i=be(o,e,void 0);return i&&"string"!=typeof i?i:o.create(e,o.Fragment,{children:i||void 0},void 0)}function be(e,t,n){return"element"===t.type?function(e,t,n){const r=e.schema;let o=r;"svg"===t.tagName.toLowerCase()&&"html"===r.space&&(o=K,e.schema=o);e.ancestors.push(t);const i=xe(e,t.tagName,!1),s=function(e,t){const n={};let r,o;for(o in t.properties)if("children"!==o&&fe.call(t.properties,o)){const i=ke(e,o,t.properties[o]);if(i){const[o,s]=i;e.tableCellAlignToStyle&&"align"===o&&"string"==typeof s&&ge.has(t.tagName)?r=s:n[o]=s}}if(r){(n.style||(n.style={}))["css"===e.stylePropertyNameCase?"text-align":"textAlign"]=r}return n}(e,t);let a=Ee(e,t);me.has(t.tagName)&&(a=a.filter((function(e){return"string"!=typeof e||!("object"==typeof(t=e)?"text"===t.type&&_(t.value):_(t));var t})));return _e(e,s,i,t),we(s,a),e.ancestors.pop(),e.schema=r,e.create(t,i,s,n)}(e,t,n):"mdxFlowExpression"===t.type||"mdxTextExpression"===t.type?function(e,t){if(t.data&&t.data.estree&&e.evaluater){const n=t.data.estree.body[0];return n.type,e.evaluater.evaluateExpression(n.expression)}De(e,t.position)}(e,t):"mdxJsxFlowElement"===t.type||"mdxJsxTextElement"===t.type?function(e,t,n){const r=e.schema;let o=r;"svg"===t.name&&"html"===r.space&&(o=K,e.schema=o);e.ancestors.push(t);const i=null===t.name?e.Fragment:xe(e,t.name,!0),s=function(e,t){const n={};for(const r of t.attributes)if("mdxJsxExpressionAttribute"===r.type)if(r.data&&r.data.estree&&e.evaluater){const t=r.data.estree.body[0];t.type;const o=t.expression;o.type;const i=o.properties[0];i.type,Object.assign(n,e.evaluater.evaluateExpression(i.argument))}else De(e,t.position);else{const o=r.name;let i;if(r.value&&"object"==typeof r.value)if(r.value.data&&r.value.data.estree&&e.evaluater){const t=r.value.data.estree.body[0];t.type,i=e.evaluater.evaluateExpression(t.expression)}else De(e,t.position);else i=null===r.value||r.value;n[o]=i}return n}(e,t),a=Ee(e,t);return _e(e,s,i,t),we(s,a),e.ancestors.pop(),e.schema=r,e.create(t,i,s,n)}(e,t,n):"mdxjsEsm"===t.type?function(e,t){if(t.data&&t.data.estree&&e.evaluater)return e.evaluater.evaluateProgram(t.data.estree);De(e,t.position)}(e,t):"root"===t.type?function(e,t,n){const r={};return we(r,Ee(e,t)),e.create(t,e.Fragment,r,n)}(e,t,n):"text"===t.type?function(e,t){return t.value}(0,t):void 0}function _e(e,t,n,r){"string"!=typeof n&&n!==e.Fragment&&e.passNode&&(t.node=r)}function we(e,t){if(t.length>0){const n=t.length>1?t:t[0];n&&(e.children=n)}}function Ee(e,t){const n=[];let r=-1;const o=e.passKeys?new Map:de;for(;++r<t.children.length;){const i=t.children[r];let s;if(e.passKeys){const e="element"===i.type?i.tagName:"mdxJsxFlowElement"===i.type||"mdxJsxTextElement"===i.type?i.name:void 0;if(e){const t=o.get(e)||0;s=e+"-"+t,o.set(e,t+1)}}const a=be(e,i,s);void 0!==a&&n.push(a)}return n}function ke(e,t,n){const r=function(e,t){const n=k(t);let r=t,o=x;if(n in e.normal)return e.property[e.normal[n]];if(n.length>4&&"data"===n.slice(0,4)&&J.test(t)){if("-"===t.charAt(4)){const e=t.slice(5).replace(W,Y);r="data"+e.charAt(0).toUpperCase()+e.slice(1)}else{const e=t.slice(4);if(!W.test(e)){let n=e.replace(G,Z);"-"!==n.charAt(0)&&(n="-"+n),t="data"+n}}o=N}return new o(r,t)}(e.schema,t);if(!(null==n||"number"==typeof n&&Number.isNaN(n))){if(Array.isArray(n)&&(n=r.commaSeparated?function(e,t){const n=t||{};return(""===e[e.length-1]?[...e,""]:e).join((n.padRight?" ":"")+","+(!1===n.padLeft?"":" ")).trim()}(n):n.join(" ").trim()),"style"===r.property){let t="object"==typeof n?n:function(e,t){const n={};try{ne(t,r)}catch(o){if(!e.ignoreInvalidStyle){const t=o,n=new le("Cannot parse `style` attribute",{ancestors:e.ancestors,cause:t,ruleId:"style",source:"hast-util-to-jsx-runtime"});throw n.file=e.filePath||void 0,n.url=ye+"#cannot-parse-style-attribute",n}}return n;function r(e,t){let r=e;"--"!==r.slice(0,2)&&("-ms-"===r.slice(0,4)&&(r="ms-"+r.slice(4)),r=r.replace(pe,Ce)),n[r]=t}}(e,String(n));return"css"===e.stylePropertyNameCase&&(t=function(e){const t={};let n;for(n in e)fe.call(e,n)&&(t[Se(n)]=e[n]);return t}(t)),["style",t]}return["react"===e.elementAttributeNameCase&&r.space?ee[r.property]||r.property:r.attribute,n]}}function xe(e,t,n){let r;if(n)if(t.includes(".")){const e=t.split(".");let n,o=-1;for(;++o<e.length;){const t=v(e[o])?{type:"Identifier",name:e[o]}:{type:"Literal",value:e[o]};n=n?{type:"MemberExpression",object:n,property:t,computed:Boolean(o&&"Literal"===t.type),optional:!1}:t}r=n}else r=v(t)&&!/^[a-z]/.test(t)?{type:"Identifier",name:t}:{type:"Literal",value:t};else r={type:"Literal",value:t};if("Literal"===r.type){const t=r.value;return fe.call(e.components,t)?e.components[t]:t}if(e.evaluater)return e.evaluater.evaluateExpression(r);De(e)}function De(e,t){const n=new le("Cannot handle MDX estrees without `createEvaluater`",{ancestors:e.ancestors,place:t,ruleId:"mdx-estree",source:"hast-util-to-jsx-runtime"});throw n.file=e.filePath||void 0,n.url=ye+"#cannot-handle-mdx-estrees-without-createevaluater",n}function Se(e){let t=e.replace(he,Oe);return"ms-"===t.slice(0,3)&&(t="-"+t),t}function Ce(e,t){return t.toUpperCase()}function Oe(e){return"-"+e.toLowerCase()}const $e={action:["form"],cite:["blockquote","del","ins","q"],data:["object"],formAction:["button","input"],href:["a","area","base","link"],icon:["menuitem"],itemId:null,manifest:["html"],ping:["a","area"],poster:["video"],src:["audio","embed","iframe","img","input","script","source","track","video"]};var Ae=n(52322);const Pe={};function je(e,t,n){if(function(e){return Boolean(e&&"object"==typeof e)}(e)){if("value"in e)return"html"!==e.type||n?e.value:"";if(t&&"alt"in e&&e.alt)return e.alt;if("children"in e)return Fe(e.children,t,n)}return Array.isArray(e)?Fe(e,t,n):""}function Fe(e,t,n){const r=[];let o=-1;for(;++o<e.length;)r[o]=je(e[o],t,n);return r.join("")}function Ie(e,t,n,r){const o=e.length;let i,s=0;if(t=t<0?-t>o?0:o+t:t>o?o:t,n=n>0?n:0,r.length<1e4)i=Array.from(r),i.unshift(t,n),e.splice(...i);else for(n&&e.splice(t,n);s<r.length;)i=r.slice(s,s+1e4),i.unshift(t,0),e.splice(...i),s+=1e4,t+=1e4}function Ne(e,t){return e.length>0?(Ie(e,e.length,0,t),e):t}function Te(e){const t={};let n,r,o,i,s,a,u,c=-1;for(;++c<e.length;){for(;c in t;)c=t[c];if(n=e[c],c&&"chunkFlow"===n[1].type&&"listItemPrefix"===e[c-1][1].type&&(a=n[1]._tokenizer.events,o=0,o<a.length&&"lineEndingBlank"===a[o][1].type&&(o+=2),o<a.length&&"content"===a[o][1].type))for(;++o<a.length&&"content"!==a[o][1].type;)"chunkText"===a[o][1].type&&(a[o][1]._isInFirstContentOfListItem=!0,o++);if("enter"===n[0])n[1].contentType&&(Object.assign(t,Me(e,c)),c=t[c],u=!0);else if(n[1]._container){for(o=c,r=void 0;o--&&(i=e[o],"lineEnding"===i[1].type||"lineEndingBlank"===i[1].type);)"enter"===i[0]&&(r&&(e[r][1].type="lineEndingBlank"),i[1].type="lineEnding",r=o);r&&(n[1].end=Object.assign({},e[r][1].start),s=e.slice(r,c),s.unshift(n),Ie(e,r,c-r+1,s))}}return!u}function Me(e,t){const n=e[t][1],r=e[t][2];let o=t-1;const i=[],s=n._tokenizer||r.parser[n.contentType](n.start),a=s.events,u=[],c={};let l,f,d=-1,h=n,p=0,m=0;const g=[m];for(;h;){for(;e[++o][1]!==h;);i.push(o),h._tokenizer||(l=r.sliceStream(h),h.next||l.push(null),f&&s.defineSkip(h.start),h._isInFirstContentOfListItem&&(s._gfmTasklistFirstContentOfListItem=!0),s.write(l),h._isInFirstContentOfListItem&&(s._gfmTasklistFirstContentOfListItem=void 0)),f=h,h=h.next}for(h=n;++d<a.length;)"exit"===a[d][0]&&"enter"===a[d-1][0]&&a[d][1].type===a[d-1][1].type&&a[d][1].start.line!==a[d][1].end.line&&(m=d+1,g.push(m),h._tokenizer=void 0,h.previous=void 0,h=h.next);for(s.events=[],h?(h._tokenizer=void 0,h.previous=void 0):g.pop(),d=g.length;d--;){const t=a.slice(g[d],g[d+1]),n=i.pop();u.unshift([n,n+t.length-1]),Ie(e,n,2,t)}for(d=-1;++d<u.length;)c[p+u[d][0]]=p+u[d][1],p+=u[d][1]-u[d][0]-1;return c}const Re={}.hasOwnProperty;function Be(e,t){let n;for(n in t){const r=(Re.call(e,n)?e[n]:void 0)||(e[n]={}),o=t[n];let i;if(o)for(i in o){Re.call(r,i)||(r[i]=[]);const e=o[i];Le(r[i],Array.isArray(e)?e:e?[e]:[])}}}function Le(e,t){let n=-1;const r=[];for(;++n<t.length;)("after"===t[n].add?e:r).push(t[n]);Ie(e,0,0,r)}const ze=Ye(/\p{P}/u),Ue=Ye(/[A-Za-z]/),qe=Ye(/[\dA-Za-z]/),Ve=Ye(/[#-'*+\--9=?A-Z^-~]/);function Qe(e){return null!==e&&(e<32||127===e)}const Xe=Ye(/\d/),He=Ye(/[\dA-Fa-f]/),Ke=Ye(/[!-/:-@[-`{-~]/);function Je(e){return null!==e&&e<-2}function We(e){return null!==e&&(e<0||32===e)}function Ge(e){return-2===e||-1===e||32===e}const Ze=Ye(/\s/);function Ye(e){return function(t){return null!==t&&t>-1&&e.test(String.fromCharCode(t))}}function et(e,t,n,r){const o=r?r-1:Number.POSITIVE_INFINITY;let i=0;return function(r){if(Ge(r))return e.enter(n),s(r);return t(r)};function s(r){return Ge(r)&&i++<o?(e.consume(r),s):(e.exit(n),t(r))}}const tt={tokenize:function(e){const t=e.attempt(this.parser.constructs.contentInitial,(function(n){if(null===n)return void e.consume(n);return e.enter("lineEnding"),e.consume(n),e.exit("lineEnding"),et(e,t,"linePrefix")}),(function(t){return e.enter("paragraph"),r(t)}));let n;return t;function r(t){const r=e.enter("chunkText",{contentType:"text",previous:n});return n&&(n.next=r),n=r,o(t)}function o(t){return null===t?(e.exit("chunkText"),e.exit("paragraph"),void e.consume(t)):Je(t)?(e.consume(t),e.exit("chunkText"),r):(e.consume(t),o)}}};const nt={tokenize:function(e){const t=this,n=[];let r,o,i,s=0;return a;function a(r){if(s<n.length){const o=n[s];return t.containerState=o[1],e.attempt(o[0].continuation,u,c)(r)}return c(r)}function u(e){if(s++,t.containerState._closeFlow){t.containerState._closeFlow=void 0,r&&v();const n=t.events.length;let o,i=n;for(;i--;)if("exit"===t.events[i][0]&&"chunkFlow"===t.events[i][1].type){o=t.events[i][1].end;break}y(s);let a=n;for(;a<t.events.length;)t.events[a][1].end=Object.assign({},o),a++;return Ie(t.events,i+1,0,t.events.slice(n)),t.events.length=a,c(e)}return a(e)}function c(o){if(s===n.length){if(!r)return d(o);if(r.currentConstruct&&r.currentConstruct.concrete)return p(o);t.interrupt=Boolean(r.currentConstruct&&!r._gfmTableDynamicInterruptHack)}return t.containerState={},e.check(rt,l,f)(o)}function l(e){return r&&v(),y(s),d(e)}function f(e){return t.parser.lazy[t.now().line]=s!==n.length,i=t.now().offset,p(e)}function d(n){return t.containerState={},e.attempt(rt,h,p)(n)}function h(e){return s++,n.push([t.currentConstruct,t.containerState]),d(e)}function p(n){return null===n?(r&&v(),y(0),void e.consume(n)):(r=r||t.parser.flow(t.now()),e.enter("chunkFlow",{contentType:"flow",previous:o,_tokenizer:r}),m(n))}function m(n){return null===n?(g(e.exit("chunkFlow"),!0),y(0),void e.consume(n)):Je(n)?(e.consume(n),g(e.exit("chunkFlow")),s=0,t.interrupt=void 0,a):(e.consume(n),m)}function g(e,n){const a=t.sliceStream(e);if(n&&a.push(null),e.previous=o,o&&(o.next=e),o=e,r.defineSkip(e.start),r.write(a),t.parser.lazy[e.start.line]){let e=r.events.length;for(;e--;)if(r.events[e][1].start.offset<i&&(!r.events[e][1].end||r.events[e][1].end.offset>i))return;const n=t.events.length;let o,a,u=n;for(;u--;)if("exit"===t.events[u][0]&&"chunkFlow"===t.events[u][1].type){if(o){a=t.events[u][1].end;break}o=!0}for(y(s),e=n;e<t.events.length;)t.events[e][1].end=Object.assign({},a),e++;Ie(t.events,u+1,0,t.events.slice(n)),t.events.length=e}}function y(r){let o=n.length;for(;o-- >r;){const r=n[o];t.containerState=r[1],r[0].exit.call(t,e)}n.length=r}function v(){r.write([null]),o=void 0,r=void 0,t.containerState._closeFlow=void 0}}},rt={tokenize:function(e,t,n){return et(e,e.attempt(this.parser.constructs.document,t,n),"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}};const ot={tokenize:function(e,t,n){return function(t){return Ge(t)?et(e,r,"linePrefix")(t):r(t)};function r(e){return null===e||Je(e)?t(e):n(e)}},partial:!0};const it={tokenize:function(e,t){let n;return function(t){return e.enter("content"),n=e.enter("chunkContent",{contentType:"content"}),r(t)};function r(t){return null===t?o(t):Je(t)?e.check(st,i,o)(t):(e.consume(t),r)}function o(n){return e.exit("chunkContent"),e.exit("content"),t(n)}function i(t){return e.consume(t),e.exit("chunkContent"),n.next=e.enter("chunkContent",{contentType:"content",previous:n}),n=n.next,r}},resolve:function(e){return Te(e),e}},st={tokenize:function(e,t,n){const r=this;return function(t){return e.exit("chunkContent"),e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),et(e,o,"linePrefix")};function o(o){if(null===o||Je(o))return n(o);const i=r.events[r.events.length-1];return!r.parser.constructs.disable.null.includes("codeIndented")&&i&&"linePrefix"===i[1].type&&i[2].sliceSerialize(i[1],!0).length>=4?t(o):e.interrupt(r.parser.constructs.flow,n,t)(o)}},partial:!0};const at={tokenize:function(e){const t=this,n=e.attempt(ot,(function(r){if(null===r)return void e.consume(r);return e.enter("lineEndingBlank"),e.consume(r),e.exit("lineEndingBlank"),t.currentConstruct=void 0,n}),e.attempt(this.parser.constructs.flowInitial,r,et(e,e.attempt(this.parser.constructs.flow,r,e.attempt(it,r)),"linePrefix")));return n;function r(r){if(null!==r)return e.enter("lineEnding"),e.consume(r),e.exit("lineEnding"),t.currentConstruct=void 0,n;e.consume(r)}}};const ut={resolveAll:dt()},ct=ft("string"),lt=ft("text");function ft(e){return{tokenize:function(t){const n=this,r=this.parser.constructs[e],o=t.attempt(r,i,s);return i;function i(e){return u(e)?o(e):s(e)}function s(e){if(null!==e)return t.enter("data"),t.consume(e),a;t.consume(e)}function a(e){return u(e)?(t.exit("data"),o(e)):(t.consume(e),a)}function u(e){if(null===e)return!0;const t=r[e];let o=-1;if(t)for(;++o<t.length;){const e=t[o];if(!e.previous||e.previous.call(n,n.previous))return!0}return!1}},resolveAll:dt("text"===e?ht:void 0)}}function dt(e){return function(t,n){let r,o=-1;for(;++o<=t.length;)void 0===r?t[o]&&"data"===t[o][1].type&&(r=o,o++):t[o]&&"data"===t[o][1].type||(o!==r+2&&(t[r][1].end=t[o-1][1].end,t.splice(r+2,o-r-2),o=r+2),r=void 0);return e?e(t,n):t}}function ht(e,t){let n=0;for(;++n<=e.length;)if((n===e.length||"lineEnding"===e[n][1].type)&&"data"===e[n-1][1].type){const r=e[n-1][1],o=t.sliceStream(r);let i,s=o.length,a=-1,u=0;for(;s--;){const e=o[s];if("string"==typeof e){for(a=e.length;32===e.charCodeAt(a-1);)u++,a--;if(a)break;a=-1}else if(-2===e)i=!0,u++;else if(-1!==e){s++;break}}if(u){const o={type:n===e.length||i||u<2?"lineSuffix":"hardBreakTrailing",start:{line:r.end.line,column:r.end.column-u,offset:r.end.offset-u,_index:r.start._index+s,_bufferIndex:s?a:r.start._bufferIndex+a},end:Object.assign({},r.end)};r.end=Object.assign({},o.start),r.start.offset===r.end.offset?Object.assign(r,o):(e.splice(n,0,["enter",o,t],["exit",o,t]),n+=2)}n++}return e}function pt(e,t,n){const r=[];let o=-1;for(;++o<e.length;){const i=e[o].resolveAll;i&&!r.includes(i)&&(t=i(t,n),r.push(i))}return t}function mt(e,t,n){let r=Object.assign(n?Object.assign({},n):{line:1,column:1,offset:0},{_index:0,_bufferIndex:-1});const o={},i=[];let s=[],a=[],u=!0;const c={consume:function(e){Je(e)?(r.line++,r.column=1,r.offset+=-3===e?2:1,_()):-1!==e&&(r.column++,r.offset++);r._bufferIndex<0?r._index++:(r._bufferIndex++,r._bufferIndex===s[r._index].length&&(r._bufferIndex=-1,r._index++));l.previous=e,u=!0},enter:function(e,t){const n=t||{};return n.type=e,n.start=p(),l.events.push(["enter",n,l]),a.push(n),n},exit:function(e){const t=a.pop();return t.end=p(),l.events.push(["exit",t,l]),t},attempt:v((function(e,t){b(e,t.from)})),check:v(y),interrupt:v(y,{interrupt:!0})},l={previous:null,code:null,containerState:{},events:[],parser:e,sliceStream:h,sliceSerialize:function(e,t){return function(e,t){let n=-1;const r=[];let o;for(;++n<e.length;){const i=e[n];let s;if("string"==typeof i)s=i;else switch(i){case-5:s="\r";break;case-4:s="\n";break;case-3:s="\r\n";break;case-2:s=t?" ":"\t";break;case-1:if(!t&&o)continue;s=" ";break;default:s=String.fromCharCode(i)}o=-2===i,r.push(s)}return r.join("")}(h(e),t)},now:p,defineSkip:function(e){o[e.line]=e.column,_()},write:function(e){if(s=Ne(s,e),m(),null!==s[s.length-1])return[];return b(t,0),l.events=pt(i,l.events,l),l.events}};let f,d=t.tokenize.call(l,c);return t.resolveAll&&i.push(t),l;function h(e){return function(e,t){const n=t.start._index,r=t.start._bufferIndex,o=t.end._index,i=t.end._bufferIndex;let s;if(n===o)s=[e[n].slice(r,i)];else{if(s=e.slice(n,o),r>-1){const e=s[0];"string"==typeof e?s[0]=e.slice(r):s.shift()}i>0&&s.push(e[o].slice(0,i))}return s}(s,e)}function p(){const{line:e,column:t,offset:n,_index:o,_bufferIndex:i}=r;return{line:e,column:t,offset:n,_index:o,_bufferIndex:i}}function m(){let e;for(;r._index<s.length;){const t=s[r._index];if("string"==typeof t)for(e=r._index,r._bufferIndex<0&&(r._bufferIndex=0);r._index===e&&r._bufferIndex<t.length;)g(t.charCodeAt(r._bufferIndex));else g(t)}}function g(e){u=void 0,f=e,d=d(e)}function y(e,t){t.restore()}function v(e,t){return function(n,o,i){let s,f,d,h;return Array.isArray(n)?m(n):"tokenize"in n?m([n]):function(e){return t;function t(t){const n=null!==t&&e[t],r=null!==t&&e.null;return m([...Array.isArray(n)?n:n?[n]:[],...Array.isArray(r)?r:r?[r]:[]])(t)}}(n);function m(e){return s=e,f=0,0===e.length?i:g(e[f])}function g(e){return function(n){h=function(){const e=p(),t=l.previous,n=l.currentConstruct,o=l.events.length,i=Array.from(a);return{restore:s,from:o};function s(){r=e,l.previous=t,l.currentConstruct=n,l.events.length=o,a=i,_()}}(),d=e,e.partial||(l.currentConstruct=e);if(e.name&&l.parser.constructs.disable.null.includes(e.name))return v(n);return e.tokenize.call(t?Object.assign(Object.create(l),t):l,c,y,v)(n)}}function y(t){return u=!0,e(d,h),o}function v(e){return u=!0,h.restore(),++f<s.length?g(s[f]):i}}}function b(e,t){e.resolveAll&&!i.includes(e)&&i.push(e),e.resolve&&Ie(l.events,t,l.events.length-t,e.resolve(l.events.slice(t),l)),e.resolveTo&&(l.events=e.resolveTo(l.events,l))}function _(){r.line in o&&r.column<2&&(r.column=o[r.line],r.offset+=o[r.line]-1)}}const gt={name:"thematicBreak",tokenize:function(e,t,n){let r,o=0;return function(t){return e.enter("thematicBreak"),function(e){return r=e,i(e)}(t)};function i(i){return i===r?(e.enter("thematicBreakSequence"),s(i)):o>=3&&(null===i||Je(i))?(e.exit("thematicBreak"),t(i)):n(i)}function s(t){return t===r?(e.consume(t),o++,s):(e.exit("thematicBreakSequence"),Ge(t)?et(e,i,"whitespace")(t):i(t))}}};const yt={name:"list",tokenize:function(e,t,n){const r=this,o=r.events[r.events.length-1];let i=o&&"linePrefix"===o[1].type?o[2].sliceSerialize(o[1],!0).length:0,s=0;return function(t){const o=r.containerState.type||(42===t||43===t||45===t?"listUnordered":"listOrdered");if("listUnordered"===o?!r.containerState.marker||t===r.containerState.marker:Xe(t)){if(r.containerState.type||(r.containerState.type=o,e.enter(o,{_container:!0})),"listUnordered"===o)return e.enter("listItemPrefix"),42===t||45===t?e.check(gt,n,u)(t):u(t);if(!r.interrupt||49===t)return e.enter("listItemPrefix"),e.enter("listItemValue"),a(t)}return n(t)};function a(t){return Xe(t)&&++s<10?(e.consume(t),a):(!r.interrupt||s<2)&&(r.containerState.marker?t===r.containerState.marker:41===t||46===t)?(e.exit("listItemValue"),u(t)):n(t)}function u(t){return e.enter("listItemMarker"),e.consume(t),e.exit("listItemMarker"),r.containerState.marker=r.containerState.marker||t,e.check(ot,r.interrupt?n:c,e.attempt(vt,f,l))}function c(e){return r.containerState.initialBlankLine=!0,i++,f(e)}function l(t){return Ge(t)?(e.enter("listItemPrefixWhitespace"),e.consume(t),e.exit("listItemPrefixWhitespace"),f):n(t)}function f(n){return r.containerState.size=i+r.sliceSerialize(e.exit("listItemPrefix"),!0).length,t(n)}},continuation:{tokenize:function(e,t,n){const r=this;return r.containerState._closeFlow=void 0,e.check(ot,o,i);function o(n){return r.containerState.furtherBlankLines=r.containerState.furtherBlankLines||r.containerState.initialBlankLine,et(e,t,"listItemIndent",r.containerState.size+1)(n)}function i(n){return r.containerState.furtherBlankLines||!Ge(n)?(r.containerState.furtherBlankLines=void 0,r.containerState.initialBlankLine=void 0,s(n)):(r.containerState.furtherBlankLines=void 0,r.containerState.initialBlankLine=void 0,e.attempt(bt,t,s)(n))}function s(o){return r.containerState._closeFlow=!0,r.interrupt=void 0,et(e,e.attempt(yt,t,n),"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(o)}}},exit:function(e){e.exit(this.containerState.type)}},vt={tokenize:function(e,t,n){const r=this;return et(e,(function(e){const o=r.events[r.events.length-1];return!Ge(e)&&o&&"listItemPrefixWhitespace"===o[1].type?t(e):n(e)}),"listItemPrefixWhitespace",r.parser.constructs.disable.null.includes("codeIndented")?void 0:5)},partial:!0},bt={tokenize:function(e,t,n){const r=this;return et(e,(function(e){const o=r.events[r.events.length-1];return o&&"listItemIndent"===o[1].type&&o[2].sliceSerialize(o[1],!0).length===r.containerState.size?t(e):n(e)}),"listItemIndent",r.containerState.size+1)},partial:!0};const _t={name:"blockQuote",tokenize:function(e,t,n){const r=this;return function(t){if(62===t){const n=r.containerState;return n.open||(e.enter("blockQuote",{_container:!0}),n.open=!0),e.enter("blockQuotePrefix"),e.enter("blockQuoteMarker"),e.consume(t),e.exit("blockQuoteMarker"),o}return n(t)};function o(n){return Ge(n)?(e.enter("blockQuotePrefixWhitespace"),e.consume(n),e.exit("blockQuotePrefixWhitespace"),e.exit("blockQuotePrefix"),t):(e.exit("blockQuotePrefix"),t(n))}},continuation:{tokenize:function(e,t,n){const r=this;return function(t){if(Ge(t))return et(e,o,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(t);return o(t)};function o(r){return e.attempt(_t,t,n)(r)}}},exit:function(e){e.exit("blockQuote")}};function wt(e,t,n,r,o,i,s,a,u){const c=u||Number.POSITIVE_INFINITY;let l=0;return function(t){if(60===t)return e.enter(r),e.enter(o),e.enter(i),e.consume(t),e.exit(i),f;if(null===t||32===t||41===t||Qe(t))return n(t);return e.enter(r),e.enter(s),e.enter(a),e.enter("chunkString",{contentType:"string"}),p(t)};function f(n){return 62===n?(e.enter(i),e.consume(n),e.exit(i),e.exit(o),e.exit(r),t):(e.enter(a),e.enter("chunkString",{contentType:"string"}),d(n))}function d(t){return 62===t?(e.exit("chunkString"),e.exit(a),f(t)):null===t||60===t||Je(t)?n(t):(e.consume(t),92===t?h:d)}function h(t){return 60===t||62===t||92===t?(e.consume(t),d):d(t)}function p(o){return l||null!==o&&41!==o&&!We(o)?l<c&&40===o?(e.consume(o),l++,p):41===o?(e.consume(o),l--,p):null===o||32===o||40===o||Qe(o)?n(o):(e.consume(o),92===o?m:p):(e.exit("chunkString"),e.exit(a),e.exit(s),e.exit(r),t(o))}function m(t){return 40===t||41===t||92===t?(e.consume(t),p):p(t)}}function Et(e,t,n,r,o,i){const s=this;let a,u=0;return function(t){return e.enter(r),e.enter(o),e.consume(t),e.exit(o),e.enter(i),c};function c(f){return u>999||null===f||91===f||93===f&&!a||94===f&&!u&&"_hiddenFootnoteSupport"in s.parser.constructs?n(f):93===f?(e.exit(i),e.enter(o),e.consume(f),e.exit(o),e.exit(r),t):Je(f)?(e.enter("lineEnding"),e.consume(f),e.exit("lineEnding"),c):(e.enter("chunkString",{contentType:"string"}),l(f))}function l(t){return null===t||91===t||93===t||Je(t)||u++>999?(e.exit("chunkString"),c(t)):(e.consume(t),a||(a=!Ge(t)),92===t?f:l)}function f(t){return 91===t||92===t||93===t?(e.consume(t),u++,l):l(t)}}function kt(e,t,n,r,o,i){let s;return function(t){if(34===t||39===t||40===t)return e.enter(r),e.enter(o),e.consume(t),e.exit(o),s=40===t?41:t,a;return n(t)};function a(n){return n===s?(e.enter(o),e.consume(n),e.exit(o),e.exit(r),t):(e.enter(i),u(n))}function u(t){return t===s?(e.exit(i),a(s)):null===t?n(t):Je(t)?(e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),et(e,u,"linePrefix")):(e.enter("chunkString",{contentType:"string"}),c(t))}function c(t){return t===s||null===t||Je(t)?(e.exit("chunkString"),u(t)):(e.consume(t),92===t?l:c)}function l(t){return t===s||92===t?(e.consume(t),c):c(t)}}function xt(e,t){let n;return function r(o){if(Je(o))return e.enter("lineEnding"),e.consume(o),e.exit("lineEnding"),n=!0,r;if(Ge(o))return et(e,r,n?"linePrefix":"lineSuffix")(o);return t(o)}}function Dt(e){return e.replace(/[\t\n\r ]+/g," ").replace(/^ | $/g,"").toLowerCase().toUpperCase()}const St={name:"definition",tokenize:function(e,t,n){const r=this;let o;return function(t){return e.enter("definition"),function(t){return Et.call(r,e,i,n,"definitionLabel","definitionLabelMarker","definitionLabelString")(t)}(t)};function i(t){return o=Dt(r.sliceSerialize(r.events[r.events.length-1][1]).slice(1,-1)),58===t?(e.enter("definitionMarker"),e.consume(t),e.exit("definitionMarker"),s):n(t)}function s(t){return We(t)?xt(e,a)(t):a(t)}function a(t){return wt(e,u,n,"definitionDestination","definitionDestinationLiteral","definitionDestinationLiteralMarker","definitionDestinationRaw","definitionDestinationString")(t)}function u(t){return e.attempt(Ct,c,c)(t)}function c(t){return Ge(t)?et(e,l,"whitespace")(t):l(t)}function l(i){return null===i||Je(i)?(e.exit("definition"),r.parser.defined.push(o),t(i)):n(i)}}},Ct={tokenize:function(e,t,n){return function(t){return We(t)?xt(e,r)(t):n(t)};function r(t){return kt(e,o,n,"definitionTitle","definitionTitleMarker","definitionTitleString")(t)}function o(t){return Ge(t)?et(e,i,"whitespace")(t):i(t)}function i(e){return null===e||Je(e)?t(e):n(e)}},partial:!0};const Ot={name:"codeIndented",tokenize:function(e,t,n){const r=this;return function(t){return e.enter("codeIndented"),et(e,o,"linePrefix",5)(t)};function o(e){const t=r.events[r.events.length-1];return t&&"linePrefix"===t[1].type&&t[2].sliceSerialize(t[1],!0).length>=4?i(e):n(e)}function i(t){return null===t?a(t):Je(t)?e.attempt($t,i,a)(t):(e.enter("codeFlowValue"),s(t))}function s(t){return null===t||Je(t)?(e.exit("codeFlowValue"),i(t)):(e.consume(t),s)}function a(n){return e.exit("codeIndented"),t(n)}}},$t={tokenize:function(e,t,n){const r=this;return o;function o(t){return r.parser.lazy[r.now().line]?n(t):Je(t)?(e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),o):et(e,i,"linePrefix",5)(t)}function i(e){const i=r.events[r.events.length-1];return i&&"linePrefix"===i[1].type&&i[2].sliceSerialize(i[1],!0).length>=4?t(e):Je(e)?o(e):n(e)}},partial:!0};const At={name:"headingAtx",tokenize:function(e,t,n){let r=0;return function(t){return e.enter("atxHeading"),function(t){return e.enter("atxHeadingSequence"),o(t)}(t)};function o(t){return 35===t&&r++<6?(e.consume(t),o):null===t||We(t)?(e.exit("atxHeadingSequence"),i(t)):n(t)}function i(n){return 35===n?(e.enter("atxHeadingSequence"),s(n)):null===n||Je(n)?(e.exit("atxHeading"),t(n)):Ge(n)?et(e,i,"whitespace")(n):(e.enter("atxHeadingText"),a(n))}function s(t){return 35===t?(e.consume(t),s):(e.exit("atxHeadingSequence"),i(t))}function a(t){return null===t||35===t||We(t)?(e.exit("atxHeadingText"),i(t)):(e.consume(t),a)}},resolve:function(e,t){let n,r,o=e.length-2,i=3;"whitespace"===e[i][1].type&&(i+=2);o-2>i&&"whitespace"===e[o][1].type&&(o-=2);"atxHeadingSequence"===e[o][1].type&&(i===o-1||o-4>i&&"whitespace"===e[o-2][1].type)&&(o-=i+1===o?2:4);o>i&&(n={type:"atxHeadingText",start:e[i][1].start,end:e[o][1].end},r={type:"chunkText",start:e[i][1].start,end:e[o][1].end,contentType:"text"},Ie(e,i,o-i+1,[["enter",n,t],["enter",r,t],["exit",r,t],["exit",n,t]]));return e}};const Pt={name:"setextUnderline",tokenize:function(e,t,n){const r=this;let o;return function(t){let s,a=r.events.length;for(;a--;)if("lineEnding"!==r.events[a][1].type&&"linePrefix"!==r.events[a][1].type&&"content"!==r.events[a][1].type){s="paragraph"===r.events[a][1].type;break}if(!r.parser.lazy[r.now().line]&&(r.interrupt||s))return e.enter("setextHeadingLine"),o=t,function(t){return e.enter("setextHeadingLineSequence"),i(t)}(t);return n(t)};function i(t){return t===o?(e.consume(t),i):(e.exit("setextHeadingLineSequence"),Ge(t)?et(e,s,"lineSuffix")(t):s(t))}function s(r){return null===r||Je(r)?(e.exit("setextHeadingLine"),t(r)):n(r)}},resolveTo:function(e,t){let n,r,o,i=e.length;for(;i--;)if("enter"===e[i][0]){if("content"===e[i][1].type){n=i;break}"paragraph"===e[i][1].type&&(r=i)}else"content"===e[i][1].type&&e.splice(i,1),o||"definition"!==e[i][1].type||(o=i);const s={type:"setextHeading",start:Object.assign({},e[r][1].start),end:Object.assign({},e[e.length-1][1].end)};e[r][1].type="setextHeadingText",o?(e.splice(r,0,["enter",s,t]),e.splice(o+1,0,["exit",e[n][1],t]),e[n][1].end=Object.assign({},e[o][1].end)):e[n][1]=s;return e.push(["exit",s,t]),e}};const jt=["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"],Ft=["pre","script","style","textarea"],It={name:"htmlFlow",tokenize:function(e,t,n){const r=this;let o,i,s,a,u;return function(t){return function(t){return e.enter("htmlFlow"),e.enter("htmlFlowData"),e.consume(t),c}(t)};function c(a){return 33===a?(e.consume(a),l):47===a?(e.consume(a),i=!0,h):63===a?(e.consume(a),o=3,r.interrupt?t:I):Ue(a)?(e.consume(a),s=String.fromCharCode(a),p):n(a)}function l(i){return 45===i?(e.consume(i),o=2,f):91===i?(e.consume(i),o=5,a=0,d):Ue(i)?(e.consume(i),o=4,r.interrupt?t:I):n(i)}function f(o){return 45===o?(e.consume(o),r.interrupt?t:I):n(o)}function d(o){const i="CDATA[";return o===i.charCodeAt(a++)?(e.consume(o),6===a?r.interrupt?t:S:d):n(o)}function h(t){return Ue(t)?(e.consume(t),s=String.fromCharCode(t),p):n(t)}function p(a){if(null===a||47===a||62===a||We(a)){const u=47===a,c=s.toLowerCase();return u||i||!Ft.includes(c)?jt.includes(s.toLowerCase())?(o=6,u?(e.consume(a),m):r.interrupt?t(a):S(a)):(o=7,r.interrupt&&!r.parser.lazy[r.now().line]?n(a):i?g(a):y(a)):(o=1,r.interrupt?t(a):S(a))}return 45===a||qe(a)?(e.consume(a),s+=String.fromCharCode(a),p):n(a)}function m(o){return 62===o?(e.consume(o),r.interrupt?t:S):n(o)}function g(t){return Ge(t)?(e.consume(t),g):x(t)}function y(t){return 47===t?(e.consume(t),x):58===t||95===t||Ue(t)?(e.consume(t),v):Ge(t)?(e.consume(t),y):x(t)}function v(t){return 45===t||46===t||58===t||95===t||qe(t)?(e.consume(t),v):b(t)}function b(t){return 61===t?(e.consume(t),_):Ge(t)?(e.consume(t),b):y(t)}function _(t){return null===t||60===t||61===t||62===t||96===t?n(t):34===t||39===t?(e.consume(t),u=t,w):Ge(t)?(e.consume(t),_):E(t)}function w(t){return t===u?(e.consume(t),u=null,k):null===t||Je(t)?n(t):(e.consume(t),w)}function E(t){return null===t||34===t||39===t||47===t||60===t||61===t||62===t||96===t||We(t)?b(t):(e.consume(t),E)}function k(e){return 47===e||62===e||Ge(e)?y(e):n(e)}function x(t){return 62===t?(e.consume(t),D):n(t)}function D(t){return null===t||Je(t)?S(t):Ge(t)?(e.consume(t),D):n(t)}function S(t){return 45===t&&2===o?(e.consume(t),A):60===t&&1===o?(e.consume(t),P):62===t&&4===o?(e.consume(t),N):63===t&&3===o?(e.consume(t),I):93===t&&5===o?(e.consume(t),F):!Je(t)||6!==o&&7!==o?null===t||Je(t)?(e.exit("htmlFlowData"),C(t)):(e.consume(t),S):(e.exit("htmlFlowData"),e.check(Nt,T,C)(t))}function C(t){return e.check(Tt,O,T)(t)}function O(t){return e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),$}function $(t){return null===t||Je(t)?C(t):(e.enter("htmlFlowData"),S(t))}function A(t){return 45===t?(e.consume(t),I):S(t)}function P(t){return 47===t?(e.consume(t),s="",j):S(t)}function j(t){if(62===t){const n=s.toLowerCase();return Ft.includes(n)?(e.consume(t),N):S(t)}return Ue(t)&&s.length<8?(e.consume(t),s+=String.fromCharCode(t),j):S(t)}function F(t){return 93===t?(e.consume(t),I):S(t)}function I(t){return 62===t?(e.consume(t),N):45===t&&2===o?(e.consume(t),I):S(t)}function N(t){return null===t||Je(t)?(e.exit("htmlFlowData"),T(t)):(e.consume(t),N)}function T(n){return e.exit("htmlFlow"),t(n)}},resolveTo:function(e){let t=e.length;for(;t--&&("enter"!==e[t][0]||"htmlFlow"!==e[t][1].type););t>1&&"linePrefix"===e[t-2][1].type&&(e[t][1].start=e[t-2][1].start,e[t+1][1].start=e[t-2][1].start,e.splice(t-2,2));return e},concrete:!0},Nt={tokenize:function(e,t,n){return function(r){return e.enter("lineEnding"),e.consume(r),e.exit("lineEnding"),e.attempt(ot,t,n)}},partial:!0},Tt={tokenize:function(e,t,n){const r=this;return function(t){if(Je(t))return e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),o;return n(t)};function o(e){return r.parser.lazy[r.now().line]?n(e):t(e)}},partial:!0};const Mt={tokenize:function(e,t,n){const r=this;return function(t){if(null===t)return n(t);return e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),o};function o(e){return r.parser.lazy[r.now().line]?n(e):t(e)}},partial:!0},Rt={name:"codeFenced",tokenize:function(e,t,n){const r=this,o={tokenize:function(e,t,n){let o=0;return s;function s(t){return e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),u}function u(t){return e.enter("codeFencedFence"),Ge(t)?et(e,c,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(t):c(t)}function c(t){return t===i?(e.enter("codeFencedFenceSequence"),l(t)):n(t)}function l(t){return t===i?(o++,e.consume(t),l):o>=a?(e.exit("codeFencedFenceSequence"),Ge(t)?et(e,f,"whitespace")(t):f(t)):n(t)}function f(r){return null===r||Je(r)?(e.exit("codeFencedFence"),t(r)):n(r)}},partial:!0};let i,s=0,a=0;return function(t){return function(t){const n=r.events[r.events.length-1];return s=n&&"linePrefix"===n[1].type?n[2].sliceSerialize(n[1],!0).length:0,i=t,e.enter("codeFenced"),e.enter("codeFencedFence"),e.enter("codeFencedFenceSequence"),u(t)}(t)};function u(t){return t===i?(a++,e.consume(t),u):a<3?n(t):(e.exit("codeFencedFenceSequence"),Ge(t)?et(e,c,"whitespace")(t):c(t))}function c(n){return null===n||Je(n)?(e.exit("codeFencedFence"),r.interrupt?t(n):e.check(Mt,h,v)(n)):(e.enter("codeFencedFenceInfo"),e.enter("chunkString",{contentType:"string"}),l(n))}function l(t){return null===t||Je(t)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),c(t)):Ge(t)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),et(e,f,"whitespace")(t)):96===t&&t===i?n(t):(e.consume(t),l)}function f(t){return null===t||Je(t)?c(t):(e.enter("codeFencedFenceMeta"),e.enter("chunkString",{contentType:"string"}),d(t))}function d(t){return null===t||Je(t)?(e.exit("chunkString"),e.exit("codeFencedFenceMeta"),c(t)):96===t&&t===i?n(t):(e.consume(t),d)}function h(t){return e.attempt(o,v,p)(t)}function p(t){return e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),m}function m(t){return s>0&&Ge(t)?et(e,g,"linePrefix",s+1)(t):g(t)}function g(t){return null===t||Je(t)?e.check(Mt,h,v)(t):(e.enter("codeFlowValue"),y(t))}function y(t){return null===t||Je(t)?(e.exit("codeFlowValue"),g(t)):(e.consume(t),y)}function v(n){return e.exit("codeFenced"),t(n)}},concrete:!0};const Bt=document.createElement("i");function Lt(e){const t="&"+e+";";Bt.innerHTML=t;const n=Bt.textContent;return(59!==n.charCodeAt(n.length-1)||"semi"===e)&&(n!==t&&n)}const zt={name:"characterReference",tokenize:function(e,t,n){const r=this;let o,i,s=0;return function(t){return e.enter("characterReference"),e.enter("characterReferenceMarker"),e.consume(t),e.exit("characterReferenceMarker"),a};function a(t){return 35===t?(e.enter("characterReferenceMarkerNumeric"),e.consume(t),e.exit("characterReferenceMarkerNumeric"),u):(e.enter("characterReferenceValue"),o=31,i=qe,c(t))}function u(t){return 88===t||120===t?(e.enter("characterReferenceMarkerHexadecimal"),e.consume(t),e.exit("characterReferenceMarkerHexadecimal"),e.enter("characterReferenceValue"),o=6,i=He,c):(e.enter("characterReferenceValue"),o=7,i=Xe,c(t))}function c(a){if(59===a&&s){const o=e.exit("characterReferenceValue");return i!==qe||Lt(r.sliceSerialize(o))?(e.enter("characterReferenceMarker"),e.consume(a),e.exit("characterReferenceMarker"),e.exit("characterReference"),t):n(a)}return i(a)&&s++<o?(e.consume(a),c):n(a)}}};const Ut={name:"characterEscape",tokenize:function(e,t,n){return function(t){return e.enter("characterEscape"),e.enter("escapeMarker"),e.consume(t),e.exit("escapeMarker"),r};function r(r){return Ke(r)?(e.enter("characterEscapeValue"),e.consume(r),e.exit("characterEscapeValue"),e.exit("characterEscape"),t):n(r)}}};const qt={name:"lineEnding",tokenize:function(e,t){return function(n){return e.enter("lineEnding"),e.consume(n),e.exit("lineEnding"),et(e,t,"linePrefix")}}};const Vt={name:"labelEnd",tokenize:function(e,t,n){const r=this;let o,i,s=r.events.length;for(;s--;)if(("labelImage"===r.events[s][1].type||"labelLink"===r.events[s][1].type)&&!r.events[s][1]._balanced){o=r.events[s][1];break}return function(t){if(!o)return n(t);if(o._inactive)return l(t);return i=r.parser.defined.includes(Dt(r.sliceSerialize({start:o.end,end:r.now()}))),e.enter("labelEnd"),e.enter("labelMarker"),e.consume(t),e.exit("labelMarker"),e.exit("labelEnd"),a};function a(t){return 40===t?e.attempt(Qt,c,i?c:l)(t):91===t?e.attempt(Xt,c,i?u:l)(t):i?c(t):l(t)}function u(t){return e.attempt(Ht,c,l)(t)}function c(e){return t(e)}function l(e){return o._balanced=!0,n(e)}},resolveTo:function(e,t){let n,r,o,i,s=e.length,a=0;for(;s--;)if(n=e[s][1],r){if("link"===n.type||"labelLink"===n.type&&n._inactive)break;"enter"===e[s][0]&&"labelLink"===n.type&&(n._inactive=!0)}else if(o){if("enter"===e[s][0]&&("labelImage"===n.type||"labelLink"===n.type)&&!n._balanced&&(r=s,"labelLink"!==n.type)){a=2;break}}else"labelEnd"===n.type&&(o=s);const u={type:"labelLink"===e[r][1].type?"link":"image",start:Object.assign({},e[r][1].start),end:Object.assign({},e[e.length-1][1].end)},c={type:"label",start:Object.assign({},e[r][1].start),end:Object.assign({},e[o][1].end)},l={type:"labelText",start:Object.assign({},e[r+a+2][1].end),end:Object.assign({},e[o-2][1].start)};return i=[["enter",u,t],["enter",c,t]],i=Ne(i,e.slice(r+1,r+a+3)),i=Ne(i,[["enter",l,t]]),i=Ne(i,pt(t.parser.constructs.insideSpan.null,e.slice(r+a+4,o-3),t)),i=Ne(i,[["exit",l,t],e[o-2],e[o-1],["exit",c,t]]),i=Ne(i,e.slice(o+1)),i=Ne(i,[["exit",u,t]]),Ie(e,r,e.length,i),e},resolveAll:function(e){let t=-1;for(;++t<e.length;){const n=e[t][1];"labelImage"!==n.type&&"labelLink"!==n.type&&"labelEnd"!==n.type||(e.splice(t+1,"labelImage"===n.type?4:2),n.type="data",t++)}return e}},Qt={tokenize:function(e,t,n){return function(t){return e.enter("resource"),e.enter("resourceMarker"),e.consume(t),e.exit("resourceMarker"),r};function r(t){return We(t)?xt(e,o)(t):o(t)}function o(t){return 41===t?c(t):wt(e,i,s,"resourceDestination","resourceDestinationLiteral","resourceDestinationLiteralMarker","resourceDestinationRaw","resourceDestinationString",32)(t)}function i(t){return We(t)?xt(e,a)(t):c(t)}function s(e){return n(e)}function a(t){return 34===t||39===t||40===t?kt(e,u,n,"resourceTitle","resourceTitleMarker","resourceTitleString")(t):c(t)}function u(t){return We(t)?xt(e,c)(t):c(t)}function c(r){return 41===r?(e.enter("resourceMarker"),e.consume(r),e.exit("resourceMarker"),e.exit("resource"),t):n(r)}}},Xt={tokenize:function(e,t,n){const r=this;return function(t){return Et.call(r,e,o,i,"reference","referenceMarker","referenceString")(t)};function o(e){return r.parser.defined.includes(Dt(r.sliceSerialize(r.events[r.events.length-1][1]).slice(1,-1)))?t(e):n(e)}function i(e){return n(e)}}},Ht={tokenize:function(e,t,n){return function(t){return e.enter("reference"),e.enter("referenceMarker"),e.consume(t),e.exit("referenceMarker"),r};function r(r){return 93===r?(e.enter("referenceMarker"),e.consume(r),e.exit("referenceMarker"),e.exit("reference"),t):n(r)}}};const Kt={name:"labelStartImage",tokenize:function(e,t,n){const r=this;return function(t){return e.enter("labelImage"),e.enter("labelImageMarker"),e.consume(t),e.exit("labelImageMarker"),o};function o(t){return 91===t?(e.enter("labelMarker"),e.consume(t),e.exit("labelMarker"),e.exit("labelImage"),i):n(t)}function i(e){return 94===e&&"_hiddenFootnoteSupport"in r.parser.constructs?n(e):t(e)}},resolveAll:Vt.resolveAll};function Jt(e){return null===e||We(e)||Ze(e)?1:function(e){return Ke(e)||ze(e)}(e)?2:void 0}const Wt={name:"attention",tokenize:function(e,t){const n=this.parser.constructs.attentionMarkers.null,r=this.previous,o=Jt(r);let i;return function(t){return i=t,e.enter("attentionSequence"),s(t)};function s(a){if(a===i)return e.consume(a),s;const u=e.exit("attentionSequence"),c=Jt(a),l=!c||2===c&&o||n.includes(a),f=!o||2===o&&c||n.includes(r);return u._open=Boolean(42===i?l:l&&(o||!f)),u._close=Boolean(42===i?f:f&&(c||!l)),t(a)}},resolveAll:function(e,t){let n,r,o,i,s,a,u,c,l=-1;for(;++l<e.length;)if("enter"===e[l][0]&&"attentionSequence"===e[l][1].type&&e[l][1]._close)for(n=l;n--;)if("exit"===e[n][0]&&"attentionSequence"===e[n][1].type&&e[n][1]._open&&t.sliceSerialize(e[n][1]).charCodeAt(0)===t.sliceSerialize(e[l][1]).charCodeAt(0)){if((e[n][1]._close||e[l][1]._open)&&(e[l][1].end.offset-e[l][1].start.offset)%3&&!((e[n][1].end.offset-e[n][1].start.offset+e[l][1].end.offset-e[l][1].start.offset)%3))continue;a=e[n][1].end.offset-e[n][1].start.offset>1&&e[l][1].end.offset-e[l][1].start.offset>1?2:1;const f=Object.assign({},e[n][1].end),d=Object.assign({},e[l][1].start);Gt(f,-a),Gt(d,a),i={type:a>1?"strongSequence":"emphasisSequence",start:f,end:Object.assign({},e[n][1].end)},s={type:a>1?"strongSequence":"emphasisSequence",start:Object.assign({},e[l][1].start),end:d},o={type:a>1?"strongText":"emphasisText",start:Object.assign({},e[n][1].end),end:Object.assign({},e[l][1].start)},r={type:a>1?"strong":"emphasis",start:Object.assign({},i.start),end:Object.assign({},s.end)},e[n][1].end=Object.assign({},i.start),e[l][1].start=Object.assign({},s.end),u=[],e[n][1].end.offset-e[n][1].start.offset&&(u=Ne(u,[["enter",e[n][1],t],["exit",e[n][1],t]])),u=Ne(u,[["enter",r,t],["enter",i,t],["exit",i,t],["enter",o,t]]),u=Ne(u,pt(t.parser.constructs.insideSpan.null,e.slice(n+1,l),t)),u=Ne(u,[["exit",o,t],["enter",s,t],["exit",s,t],["exit",r,t]]),e[l][1].end.offset-e[l][1].start.offset?(c=2,u=Ne(u,[["enter",e[l][1],t],["exit",e[l][1],t]])):c=0,Ie(e,n-1,l-n+3,u),l=n+u.length-c-2;break}l=-1;for(;++l<e.length;)"attentionSequence"===e[l][1].type&&(e[l][1].type="data");return e}};function Gt(e,t){e.column+=t,e.offset+=t,e._bufferIndex+=t}const Zt={name:"autolink",tokenize:function(e,t,n){let r=0;return function(t){return e.enter("autolink"),e.enter("autolinkMarker"),e.consume(t),e.exit("autolinkMarker"),e.enter("autolinkProtocol"),o};function o(t){return Ue(t)?(e.consume(t),i):u(t)}function i(e){return 43===e||45===e||46===e||qe(e)?(r=1,s(e)):u(e)}function s(t){return 58===t?(e.consume(t),r=0,a):(43===t||45===t||46===t||qe(t))&&r++<32?(e.consume(t),s):(r=0,u(t))}function a(r){return 62===r?(e.exit("autolinkProtocol"),e.enter("autolinkMarker"),e.consume(r),e.exit("autolinkMarker"),e.exit("autolink"),t):null===r||32===r||60===r||Qe(r)?n(r):(e.consume(r),a)}function u(t){return 64===t?(e.consume(t),c):Ve(t)?(e.consume(t),u):n(t)}function c(e){return qe(e)?l(e):n(e)}function l(n){return 46===n?(e.consume(n),r=0,c):62===n?(e.exit("autolinkProtocol").type="autolinkEmail",e.enter("autolinkMarker"),e.consume(n),e.exit("autolinkMarker"),e.exit("autolink"),t):f(n)}function f(t){if((45===t||qe(t))&&r++<63){const n=45===t?f:l;return e.consume(t),n}return n(t)}}};const Yt={name:"htmlText",tokenize:function(e,t,n){const r=this;let o,i,s;return function(t){return e.enter("htmlText"),e.enter("htmlTextData"),e.consume(t),a};function a(t){return 33===t?(e.consume(t),u):47===t?(e.consume(t),_):63===t?(e.consume(t),v):Ue(t)?(e.consume(t),k):n(t)}function u(t){return 45===t?(e.consume(t),c):91===t?(e.consume(t),i=0,h):Ue(t)?(e.consume(t),y):n(t)}function c(t){return 45===t?(e.consume(t),d):n(t)}function l(t){return null===t?n(t):45===t?(e.consume(t),f):Je(t)?(s=l,j(t)):(e.consume(t),l)}function f(t){return 45===t?(e.consume(t),d):l(t)}function d(e){return 62===e?P(e):45===e?f(e):l(e)}function h(t){const r="CDATA[";return t===r.charCodeAt(i++)?(e.consume(t),6===i?p:h):n(t)}function p(t){return null===t?n(t):93===t?(e.consume(t),m):Je(t)?(s=p,j(t)):(e.consume(t),p)}function m(t){return 93===t?(e.consume(t),g):p(t)}function g(t){return 62===t?P(t):93===t?(e.consume(t),g):p(t)}function y(t){return null===t||62===t?P(t):Je(t)?(s=y,j(t)):(e.consume(t),y)}function v(t){return null===t?n(t):63===t?(e.consume(t),b):Je(t)?(s=v,j(t)):(e.consume(t),v)}function b(e){return 62===e?P(e):v(e)}function _(t){return Ue(t)?(e.consume(t),w):n(t)}function w(t){return 45===t||qe(t)?(e.consume(t),w):E(t)}function E(t){return Je(t)?(s=E,j(t)):Ge(t)?(e.consume(t),E):P(t)}function k(t){return 45===t||qe(t)?(e.consume(t),k):47===t||62===t||We(t)?x(t):n(t)}function x(t){return 47===t?(e.consume(t),P):58===t||95===t||Ue(t)?(e.consume(t),D):Je(t)?(s=x,j(t)):Ge(t)?(e.consume(t),x):P(t)}function D(t){return 45===t||46===t||58===t||95===t||qe(t)?(e.consume(t),D):S(t)}function S(t){return 61===t?(e.consume(t),C):Je(t)?(s=S,j(t)):Ge(t)?(e.consume(t),S):x(t)}function C(t){return null===t||60===t||61===t||62===t||96===t?n(t):34===t||39===t?(e.consume(t),o=t,O):Je(t)?(s=C,j(t)):Ge(t)?(e.consume(t),C):(e.consume(t),$)}function O(t){return t===o?(e.consume(t),o=void 0,A):null===t?n(t):Je(t)?(s=O,j(t)):(e.consume(t),O)}function $(t){return null===t||34===t||39===t||60===t||61===t||96===t?n(t):47===t||62===t||We(t)?x(t):(e.consume(t),$)}function A(e){return 47===e||62===e||We(e)?x(e):n(e)}function P(r){return 62===r?(e.consume(r),e.exit("htmlTextData"),e.exit("htmlText"),t):n(r)}function j(t){return e.exit("htmlTextData"),e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),F}function F(t){return Ge(t)?et(e,I,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(t):I(t)}function I(t){return e.enter("htmlTextData"),s(t)}}};const en={name:"labelStartLink",tokenize:function(e,t,n){const r=this;return function(t){return e.enter("labelLink"),e.enter("labelMarker"),e.consume(t),e.exit("labelMarker"),e.exit("labelLink"),o};function o(e){return 94===e&&"_hiddenFootnoteSupport"in r.parser.constructs?n(e):t(e)}},resolveAll:Vt.resolveAll};const tn={name:"hardBreakEscape",tokenize:function(e,t,n){return function(t){return e.enter("hardBreakEscape"),e.consume(t),r};function r(r){return Je(r)?(e.exit("hardBreakEscape"),t(r)):n(r)}}};const nn={name:"codeText",tokenize:function(e,t,n){let r,o,i=0;return function(t){return e.enter("codeText"),e.enter("codeTextSequence"),s(t)};function s(t){return 96===t?(e.consume(t),i++,s):(e.exit("codeTextSequence"),a(t))}function a(t){return null===t?n(t):32===t?(e.enter("space"),e.consume(t),e.exit("space"),a):96===t?(o=e.enter("codeTextSequence"),r=0,c(t)):Je(t)?(e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),a):(e.enter("codeTextData"),u(t))}function u(t){return null===t||32===t||96===t||Je(t)?(e.exit("codeTextData"),a(t)):(e.consume(t),u)}function c(n){return 96===n?(e.consume(n),r++,c):r===i?(e.exit("codeTextSequence"),e.exit("codeText"),t(n)):(o.type="codeTextData",u(n))}},resolve:function(e){let t,n,r=e.length-4,o=3;if(!("lineEnding"!==e[o][1].type&&"space"!==e[o][1].type||"lineEnding"!==e[r][1].type&&"space"!==e[r][1].type))for(t=o;++t<r;)if("codeTextData"===e[t][1].type){e[o][1].type="codeTextPadding",e[r][1].type="codeTextPadding",o+=2,r-=2;break}t=o-1,r++;for(;++t<=r;)void 0===n?t!==r&&"lineEnding"!==e[t][1].type&&(n=t):t!==r&&"lineEnding"!==e[t][1].type||(e[n][1].type="codeTextData",t!==n+2&&(e[n][1].end=e[t-1][1].end,e.splice(n+2,t-n-2),r-=t-n-2,t=n+2),n=void 0);return e},previous:function(e){return 96!==e||"characterEscape"===this.events[this.events.length-1][1].type}};const rn={42:yt,43:yt,45:yt,48:yt,49:yt,50:yt,51:yt,52:yt,53:yt,54:yt,55:yt,56:yt,57:yt,62:_t},on={91:St},sn={[-2]:Ot,[-1]:Ot,32:Ot},an={35:At,42:gt,45:[Pt,gt],60:It,61:Pt,95:gt,96:Rt,126:Rt},un={38:zt,92:Ut},cn={[-5]:qt,[-4]:qt,[-3]:qt,33:Kt,38:zt,42:Wt,60:[Zt,Yt],91:en,92:[tn,Ut],93:Vt,95:Wt,96:nn},ln={null:[Wt,ut]},fn={null:[42,95]},dn={null:[]};function hn(e){const t=function(e){const t={};let n=-1;for(;++n<e.length;)Be(t,e[n]);return t}([o,...(e||{}).extensions||[]]),n={defined:[],lazy:{},constructs:t,content:r(tt),document:r(nt),flow:r(at),string:r(ct),text:r(lt)};return n;function r(e){return function(t){return mt(n,e,t)}}}const pn=/[\0\t\n\r]/g;function mn(e,t){const n=Number.parseInt(e,t);return n<9||11===n||n>13&&n<32||n>126&&n<160||n>55295&&n<57344||n>64975&&n<65008||65535==(65535&n)||65534==(65535&n)||n>1114111?"\ufffd":String.fromCodePoint(n)}const gn=/\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi;function yn(e,t,n){if(t)return t;if(35===n.charCodeAt(0)){const e=n.charCodeAt(1),t=120===e||88===e;return mn(n.slice(t?2:1),t?16:10)}return Lt(n)||e}const vn={}.hasOwnProperty;function bn(e,t,n){return"string"!=typeof t&&(n=t,t=void 0),function(e){const t={transforms:[],canContainEols:["emphasis","fragment","heading","paragraph","strong"],enter:{autolink:i(ee),autolinkProtocol:D,autolinkEmail:D,atxHeading:i(W),blockQuote:i(Q),characterEscape:D,characterReference:D,codeFenced:i(X),codeFencedFenceInfo:s,codeFencedFenceMeta:s,codeIndented:i(X,s),codeText:i(H,s),codeTextData:D,data:D,codeFlowValue:D,definition:i(K),definitionDestinationString:s,definitionLabelString:s,definitionTitleString:s,emphasis:i(J),hardBreakEscape:i(G),hardBreakTrailing:i(G),htmlFlow:i(Z,s),htmlFlowData:D,htmlText:i(Z,s),htmlTextData:D,image:i(Y),label:s,link:i(ee),listItem:i(ne),listItemValue:d,listOrdered:i(te,f),listUnordered:i(te),paragraph:i(re),reference:B,referenceString:s,resourceDestinationString:s,resourceTitleString:s,setextHeading:i(W),strong:i(oe),thematicBreak:i(ae)},exit:{atxHeading:u(),atxHeadingSequence:w,autolink:u(),autolinkEmail:V,autolinkProtocol:q,blockQuote:u(),characterEscapeValue:S,characterReferenceMarkerHexadecimal:z,characterReferenceMarkerNumeric:z,characterReferenceValue:U,codeFenced:u(g),codeFencedFence:m,codeFencedFenceInfo:h,codeFencedFenceMeta:p,codeFlowValue:S,codeIndented:u(y),codeText:u(P),codeTextData:S,data:S,definition:u(),definitionDestinationString:_,definitionLabelString:v,definitionTitleString:b,emphasis:u(),hardBreakEscape:u(O),hardBreakTrailing:u(O),htmlFlow:u($),htmlFlowData:S,htmlText:u(A),htmlTextData:S,image:u(F),label:N,labelText:I,lineEnding:C,link:u(j),listItem:u(),listOrdered:u(),listUnordered:u(),paragraph:u(),referenceString:L,resourceDestinationString:T,resourceTitleString:M,resource:R,setextHeading:u(x),setextHeadingLineSequence:k,setextHeadingText:E,strong:u(),thematicBreak:u()}};wn(t,(e||{}).mdastExtensions||[]);const n={};return r;function r(e){let r={type:"root",children:[]};const i={stack:[r],tokenStack:[],config:t,enter:a,exit:c,buffer:s,resume:l,data:n},u=[];let f=-1;for(;++f<e.length;)if("listOrdered"===e[f][1].type||"listUnordered"===e[f][1].type)if("enter"===e[f][0])u.push(f);else{f=o(e,u.pop(),f)}for(f=-1;++f<e.length;){const n=t[e[f][0]];vn.call(n,e[f][1].type)&&n[e[f][1].type].call(Object.assign({sliceSerialize:e[f][2].sliceSerialize},i),e[f][1])}if(i.tokenStack.length>0){const e=i.tokenStack[i.tokenStack.length-1];(e[1]||kn).call(i,void 0,e[0])}for(r.position={start:_n(e.length>0?e[0][1].start:{line:1,column:1,offset:0}),end:_n(e.length>0?e[e.length-2][1].end:{line:1,column:1,offset:0})},f=-1;++f<t.transforms.length;)r=t.transforms[f](r)||r;return r}function o(e,t,n){let r,o,i,s,a=t-1,u=-1,c=!1;for(;++a<=n;){const t=e[a];switch(t[1].type){case"listUnordered":case"listOrdered":case"blockQuote":"enter"===t[0]?u++:u--,s=void 0;break;case"lineEndingBlank":"enter"===t[0]&&(!r||s||u||i||(i=a),s=void 0);break;case"linePrefix":case"listItemValue":case"listItemMarker":case"listItemPrefix":case"listItemPrefixWhitespace":break;default:s=void 0}if(!u&&"enter"===t[0]&&"listItemPrefix"===t[1].type||-1===u&&"exit"===t[0]&&("listUnordered"===t[1].type||"listOrdered"===t[1].type)){if(r){let s=a;for(o=void 0;s--;){const t=e[s];if("lineEnding"===t[1].type||"lineEndingBlank"===t[1].type){if("exit"===t[0])continue;o&&(e[o][1].type="lineEndingBlank",c=!0),t[1].type="lineEnding",o=s}else if("linePrefix"!==t[1].type&&"blockQuotePrefix"!==t[1].type&&"blockQuotePrefixWhitespace"!==t[1].type&&"blockQuoteMarker"!==t[1].type&&"listItemIndent"!==t[1].type)break}i&&(!o||i<o)&&(r._spread=!0),r.end=Object.assign({},o?e[o][1].start:t[1].end),e.splice(o||a,0,["exit",r,t[2]]),a++,n++}if("listItemPrefix"===t[1].type){const o={type:"listItem",_spread:!1,start:Object.assign({},t[1].start),end:void 0};r=o,e.splice(a,0,["enter",o,t[2]]),a++,n++,i=void 0,s=!0}}}return e[t][1]._spread=c,n}function i(e,t){return n;function n(n){a.call(this,e(n),n),t&&t.call(this,n)}}function s(){this.stack.push({type:"fragment",children:[]})}function a(e,t,n){this.stack[this.stack.length-1].children.push(e),this.stack.push(e),this.tokenStack.push([t,n]),e.position={start:_n(t.start),end:void 0}}function u(e){return t;function t(t){e&&e.call(this,t),c.call(this,t)}}function c(e,t){const n=this.stack.pop(),r=this.tokenStack.pop();if(!r)throw new Error("Cannot close `"+e.type+"` ("+se({start:e.start,end:e.end})+"): it\u2019s not open");if(r[0].type!==e.type)if(t)t.call(this,e,r[0]);else{(r[1]||kn).call(this,e,r[0])}n.position.end=_n(e.end)}function l(){return function(e,t){const n=t||Pe;return je(e,"boolean"!=typeof n.includeImageAlt||n.includeImageAlt,"boolean"!=typeof n.includeHtml||n.includeHtml)}(this.stack.pop())}function f(){this.data.expectingFirstListItemValue=!0}function d(e){if(this.data.expectingFirstListItemValue){this.stack[this.stack.length-2].start=Number.parseInt(this.sliceSerialize(e),10),this.data.expectingFirstListItemValue=void 0}}function h(){const e=this.resume();this.stack[this.stack.length-1].lang=e}function p(){const e=this.resume();this.stack[this.stack.length-1].meta=e}function m(){this.data.flowCodeInside||(this.buffer(),this.data.flowCodeInside=!0)}function g(){const e=this.resume();this.stack[this.stack.length-1].value=e.replace(/^(\r?\n|\r)|(\r?\n|\r)$/g,""),this.data.flowCodeInside=void 0}function y(){const e=this.resume();this.stack[this.stack.length-1].value=e.replace(/(\r?\n|\r)$/g,"")}function v(e){const t=this.resume(),n=this.stack[this.stack.length-1];n.label=t,n.identifier=Dt(this.sliceSerialize(e)).toLowerCase()}function b(){const e=this.resume();this.stack[this.stack.length-1].title=e}function _(){const e=this.resume();this.stack[this.stack.length-1].url=e}function w(e){const t=this.stack[this.stack.length-1];if(!t.depth){const n=this.sliceSerialize(e).length;t.depth=n}}function E(){this.data.setextHeadingSlurpLineEnding=!0}function k(e){this.stack[this.stack.length-1].depth=61===this.sliceSerialize(e).codePointAt(0)?1:2}function x(){this.data.setextHeadingSlurpLineEnding=void 0}function D(e){const t=this.stack[this.stack.length-1].children;let n=t[t.length-1];n&&"text"===n.type||(n=ie(),n.position={start:_n(e.start),end:void 0},t.push(n)),this.stack.push(n)}function S(e){const t=this.stack.pop();t.value+=this.sliceSerialize(e),t.position.end=_n(e.end)}function C(e){const n=this.stack[this.stack.length-1];if(this.data.atHardBreak){return n.children[n.children.length-1].position.end=_n(e.end),void(this.data.atHardBreak=void 0)}!this.data.setextHeadingSlurpLineEnding&&t.canContainEols.includes(n.type)&&(D.call(this,e),S.call(this,e))}function O(){this.data.atHardBreak=!0}function $(){const e=this.resume();this.stack[this.stack.length-1].value=e}function A(){const e=this.resume();this.stack[this.stack.length-1].value=e}function P(){const e=this.resume();this.stack[this.stack.length-1].value=e}function j(){const e=this.stack[this.stack.length-1];if(this.data.inReference){const t=this.data.referenceType||"shortcut";e.type+="Reference",e.referenceType=t,delete e.url,delete e.title}else delete e.identifier,delete e.label;this.data.referenceType=void 0}function F(){const e=this.stack[this.stack.length-1];if(this.data.inReference){const t=this.data.referenceType||"shortcut";e.type+="Reference",e.referenceType=t,delete e.url,delete e.title}else delete e.identifier,delete e.label;this.data.referenceType=void 0}function I(e){const t=this.sliceSerialize(e),n=this.stack[this.stack.length-2];n.label=function(e){return e.replace(gn,yn)}(t),n.identifier=Dt(t).toLowerCase()}function N(){const e=this.stack[this.stack.length-1],t=this.resume(),n=this.stack[this.stack.length-1];if(this.data.inReference=!0,"link"===n.type){const t=e.children;n.children=t}else n.alt=t}function T(){const e=this.resume();this.stack[this.stack.length-1].url=e}function M(){const e=this.resume();this.stack[this.stack.length-1].title=e}function R(){this.data.inReference=void 0}function B(){this.data.referenceType="collapsed"}function L(e){const t=this.resume(),n=this.stack[this.stack.length-1];n.label=t,n.identifier=Dt(this.sliceSerialize(e)).toLowerCase(),this.data.referenceType="full"}function z(e){this.data.characterReferenceType=e.type}function U(e){const t=this.sliceSerialize(e),n=this.data.characterReferenceType;let r;if(n)r=mn(t,"characterReferenceMarkerNumeric"===n?10:16),this.data.characterReferenceType=void 0;else{r=Lt(t)}const o=this.stack.pop();o.value+=r,o.position.end=_n(e.end)}function q(e){S.call(this,e);this.stack[this.stack.length-1].url=this.sliceSerialize(e)}function V(e){S.call(this,e);this.stack[this.stack.length-1].url="mailto:"+this.sliceSerialize(e)}function Q(){return{type:"blockquote",children:[]}}function X(){return{type:"code",lang:null,meta:null,value:""}}function H(){return{type:"inlineCode",value:""}}function K(){return{type:"definition",identifier:"",label:null,title:null,url:""}}function J(){return{type:"emphasis",children:[]}}function W(){return{type:"heading",depth:0,children:[]}}function G(){return{type:"break"}}function Z(){return{type:"html",value:""}}function Y(){return{type:"image",title:null,url:"",alt:null}}function ee(){return{type:"link",title:null,url:"",children:[]}}function te(e){return{type:"list",ordered:"listOrdered"===e.type,start:null,spread:e._spread,children:[]}}function ne(e){return{type:"listItem",spread:e._spread,checked:null,children:[]}}function re(){return{type:"paragraph",children:[]}}function oe(){return{type:"strong",children:[]}}function ie(){return{type:"text",value:""}}function ae(){return{type:"thematicBreak"}}}(n)(function(e){for(;!Te(e););return e}(hn(n).document().write(function(){let e,t=1,n="",r=!0;return function(o,i,s){const a=[];let u,c,l,f,d;for(o=n+("string"==typeof o?o.toString():new TextDecoder(i||void 0).decode(o)),l=0,n="",r&&(65279===o.charCodeAt(0)&&l++,r=void 0);l<o.length;){if(pn.lastIndex=l,u=pn.exec(o),f=u&&void 0!==u.index?u.index:o.length,d=o.charCodeAt(f),!u){n=o.slice(l);break}if(10===d&&l===f&&e)a.push(-3),e=void 0;else switch(e&&(a.push(-5),e=void 0),l<f&&(a.push(o.slice(l,f)),t+=f-l),d){case 0:a.push(65533),t++;break;case 9:for(c=4*Math.ceil(t/4),a.push(-2);t++<c;)a.push(-1);break;case 10:a.push(-4),t=1;break;default:e=!0,t=1}l=f+1}return s&&(e&&a.push(-5),n&&a.push(n),a.push(null)),a}}()(e,t,!0))))}function _n(e){return{line:e.line,column:e.column,offset:e.offset}}function wn(e,t){let n=-1;for(;++n<t.length;){const r=t[n];Array.isArray(r)?wn(e,r):En(e,r)}}function En(e,t){let n;for(n in t)if(vn.call(t,n))switch(n){case"canContainEols":{const r=t[n];r&&e[n].push(...r);break}case"transforms":{const r=t[n];r&&e[n].push(...r);break}case"enter":case"exit":{const r=t[n];r&&Object.assign(e[n],r);break}}}function kn(e,t){throw e?new Error("Cannot close `"+e.type+"` ("+se({start:e.start,end:e.end})+"): a different token (`"+t.type+"`, "+se({start:t.start,end:t.end})+") is open"):new Error("Cannot close document, a token (`"+t.type+"`, "+se({start:t.start,end:t.end})+") is still open")}function xn(e){const t=this;t.parser=function(n){return bn(n,{...t.data("settings"),...e,extensions:t.data("micromarkExtensions")||[],mdastExtensions:t.data("fromMarkdownExtensions")||[]})}}const Dn="object"==typeof self?self:globalThis,Sn=e=>((e,t)=>{const n=(t,n)=>(e.set(n,t),t),r=o=>{if(e.has(o))return e.get(o);const[i,s]=t[o];switch(i){case 0:case-1:return n(s,o);case 1:{const e=n([],o);for(const t of s)e.push(r(t));return e}case 2:{const e=n({},o);for(const[t,n]of s)e[r(t)]=r(n);return e}case 3:return n(new Date(s),o);case 4:{const{source:e,flags:t}=s;return n(new RegExp(e,t),o)}case 5:{const e=n(new Map,o);for(const[t,n]of s)e.set(r(t),r(n));return e}case 6:{const e=n(new Set,o);for(const t of s)e.add(r(t));return e}case 7:{const{name:e,message:t}=s;return n(new Dn[e](t),o)}case 8:return n(BigInt(s),o);case"BigInt":return n(Object(BigInt(s)),o)}return n(new Dn[i](s),o)};return r})(new Map,e)(0),Cn="",{toString:On}={},{keys:$n}=Object,An=e=>{const t=typeof e;if("object"!==t||!e)return[0,t];const n=On.call(e).slice(8,-1);switch(n){case"Array":return[1,Cn];case"Object":return[2,Cn];case"Date":return[3,Cn];case"RegExp":return[4,Cn];case"Map":return[5,Cn];case"Set":return[6,Cn]}return n.includes("Array")?[1,n]:n.includes("Error")?[7,n]:[2,n]},Pn=([e,t])=>0===e&&("function"===t||"symbol"===t),jn=(e,{json:t,lossy:n}={})=>{const r=[];return((e,t,n,r)=>{const o=(e,t)=>{const o=r.push(e)-1;return n.set(t,o),o},i=r=>{if(n.has(r))return n.get(r);let[s,a]=An(r);switch(s){case 0:{let t=r;switch(a){case"bigint":s=8,t=r.toString();break;case"function":case"symbol":if(e)throw new TypeError("unable to serialize "+a);t=null;break;case"undefined":return o([-1],r)}return o([s,t],r)}case 1:{if(a)return o([a,[...r]],r);const e=[],t=o([s,e],r);for(const n of r)e.push(i(n));return t}case 2:{if(a)switch(a){case"BigInt":return o([a,r.toString()],r);case"Boolean":case"Number":case"String":return o([a,r.valueOf()],r)}if(t&&"toJSON"in r)return i(r.toJSON());const n=[],u=o([s,n],r);for(const t of $n(r))!e&&Pn(An(r[t]))||n.push([i(t),i(r[t])]);return u}case 3:return o([s,r.toISOString()],r);case 4:{const{source:e,flags:t}=r;return o([s,{source:e,flags:t}],r)}case 5:{const t=[],n=o([s,t],r);for(const[o,s]of r)(e||!Pn(An(o))&&!Pn(An(s)))&&t.push([i(o),i(s)]);return n}case 6:{const t=[],n=o([s,t],r);for(const o of r)!e&&Pn(An(o))||t.push(i(o));return n}}const{message:u}=r;return o([s,{name:a,message:u}],r)};return i})(!(t||n),!!t,new Map,r)(e),r},Fn="function"==typeof structuredClone?(e,t)=>t&&("json"in t||"lossy"in t)?Sn(jn(e,t)):structuredClone(e):(e,t)=>Sn(jn(e,t));function In(e){const t=[];let n=-1,r=0,o=0;for(;++n<e.length;){const i=e.charCodeAt(n);let s="";if(37===i&&qe(e.charCodeAt(n+1))&&qe(e.charCodeAt(n+2)))o=2;else if(i<128)/[!#$&-;=?-Z_a-z~]/.test(String.fromCharCode(i))||(s=String.fromCharCode(i));else if(i>55295&&i<57344){const t=e.charCodeAt(n+1);i<56320&&t>56319&&t<57344?(s=String.fromCharCode(i,t),o=1):s="\ufffd"}else s=String.fromCharCode(i);s&&(t.push(e.slice(r,n),encodeURIComponent(s)),r=n+o+1,s=""),o&&(n+=o,o=0)}return t.join("")+e.slice(r)}function Nn(e,t){const n=[{type:"text",value:"\u21a9"}];return t>1&&n.push({type:"element",tagName:"sup",properties:{},children:[{type:"text",value:String(t)}]}),n}function Tn(e,t){return"Back to reference "+(e+1)+(t>1?"-"+t:"")}const Mn=function(e){if(null==e)return Bn;if("function"==typeof e)return Rn(e);if("object"==typeof e)return Array.isArray(e)?function(e){const t=[];let n=-1;for(;++n<e.length;)t[n]=Mn(e[n]);return Rn(r);function r(...e){let n=-1;for(;++n<t.length;)if(t[n].apply(this,e))return!0;return!1}}(e):function(e){const t=e;return Rn(n);function n(n){const r=n;let o;for(o in e)if(r[o]!==t[o])return!1;return!0}}(e);if("string"==typeof e)return function(e){return Rn(t);function t(t){return t&&t.type===e}}(e);throw new Error("Expected function, string, or object as test")};function Rn(e){return function(t,n,r){return Boolean(Ln(t)&&e.call(this,t,"number"==typeof n?n:void 0,r||void 0))}}function Bn(){return!0}function Ln(e){return null!==e&&"object"==typeof e&&"type"in e}const zn=[],Un=!0,qn=!1,Vn="skip";function Qn(e,t,n,r){let o;"function"==typeof t&&"function"!=typeof n?(r=n,n=t):o=t;const i=Mn(o),s=r?-1:1;!function e(o,a,u){const c=o&&"object"==typeof o?o:{};if("string"==typeof c.type){const e="string"==typeof c.tagName?c.tagName:"string"==typeof c.name?c.name:void 0;Object.defineProperty(l,"name",{value:"node ("+o.type+(e?"<"+e+">":"")+")"})}return l;function l(){let c,l,f,d=zn;if((!t||i(o,a,u[u.length-1]||void 0))&&(d=function(e){if(Array.isArray(e))return e;if("number"==typeof e)return[Un,e];return null==e?zn:[e]}(n(o,u)),d[0]===qn))return d;if("children"in o&&o.children){const t=o;if(t.children&&d[0]!==Vn)for(l=(r?t.children.length:-1)+s,f=u.concat(t);l>-1&&l<t.children.length;){const n=t.children[l];if(c=e(n,l,f)(),c[0]===qn)return c;l="number"==typeof c[1]?c[1]:l+s}}return d}}(e,void 0,[])()}function Xn(e,t,n,r){let o,i,s;"function"==typeof t&&"function"!=typeof n?(i=void 0,s=t,o=n):(i=t,s=n,o=r),Qn(e,i,(function(e,t){const n=t[t.length-1],r=n?n.children.indexOf(e):void 0;return s(e,r,n)}),o)}function Hn(e,t){const n=t.referenceType;let r="]";if("collapsed"===n?r+="[]":"full"===n&&(r+="["+(t.label||t.identifier)+"]"),"imageReference"===t.type)return[{type:"text",value:"!["+t.alt+r}];const o=e.all(t),i=o[0];i&&"text"===i.type?i.value="["+i.value:o.unshift({type:"text",value:"["});const s=o[o.length-1];return s&&"text"===s.type?s.value+=r:o.push({type:"text",value:r}),o}function Kn(e){const t=e.spread;return null==t?e.children.length>1:t}const Jn=9,Wn=32;function Gn(e){const t=String(e),n=/\r?\n|\r/g;let r=n.exec(t),o=0;const i=[];for(;r;)i.push(Zn(t.slice(o,r.index),o>0,!0),r[0]),o=r.index+r[0].length,r=n.exec(t);return i.push(Zn(t.slice(o),o>0,!1)),i.join("")}function Zn(e,t,n){let r=0,o=e.length;if(t){let t=e.codePointAt(r);for(;t===Jn||t===Wn;)r++,t=e.codePointAt(r)}if(n){let t=e.codePointAt(o-1);for(;t===Jn||t===Wn;)o--,t=e.codePointAt(o-1)}return o>r?e.slice(r,o):""}const Yn={blockquote:function(e,t){const n={type:"element",tagName:"blockquote",properties:{},children:e.wrap(e.all(t),!0)};return e.patch(t,n),e.applyData(t,n)},break:function(e,t){const n={type:"element",tagName:"br",properties:{},children:[]};return e.patch(t,n),[e.applyData(t,n),{type:"text",value:"\n"}]},code:function(e,t){const n=t.value?t.value+"\n":"",r={};t.lang&&(r.className=["language-"+t.lang]);let o={type:"element",tagName:"code",properties:r,children:[{type:"text",value:n}]};return t.meta&&(o.data={meta:t.meta}),e.patch(t,o),o=e.applyData(t,o),o={type:"element",tagName:"pre",properties:{},children:[o]},e.patch(t,o),o},delete:function(e,t){const n={type:"element",tagName:"del",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)},emphasis:function(e,t){const n={type:"element",tagName:"em",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)},footnoteReference:function(e,t){const n="string"==typeof e.options.clobberPrefix?e.options.clobberPrefix:"user-content-",r=String(t.identifier).toUpperCase(),o=In(r.toLowerCase()),i=e.footnoteOrder.indexOf(r);let s,a=e.footnoteCounts.get(r);void 0===a?(a=0,e.footnoteOrder.push(r),s=e.footnoteOrder.length):s=i+1,a+=1,e.footnoteCounts.set(r,a);const u={type:"element",tagName:"a",properties:{href:"#"+n+"fn-"+o,id:n+"fnref-"+o+(a>1?"-"+a:""),dataFootnoteRef:!0,ariaDescribedBy:["footnote-label"]},children:[{type:"text",value:String(s)}]};e.patch(t,u);const c={type:"element",tagName:"sup",properties:{},children:[u]};return e.patch(t,c),e.applyData(t,c)},heading:function(e,t){const n={type:"element",tagName:"h"+t.depth,properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)},html:function(e,t){if(e.options.allowDangerousHtml){const n={type:"raw",value:t.value};return e.patch(t,n),e.applyData(t,n)}},imageReference:function(e,t){const n=String(t.identifier).toUpperCase(),r=e.definitionById.get(n);if(!r)return Hn(e,t);const o={src:In(r.url||""),alt:t.alt};null!==r.title&&void 0!==r.title&&(o.title=r.title);const i={type:"element",tagName:"img",properties:o,children:[]};return e.patch(t,i),e.applyData(t,i)},image:function(e,t){const n={src:In(t.url)};null!==t.alt&&void 0!==t.alt&&(n.alt=t.alt),null!==t.title&&void 0!==t.title&&(n.title=t.title);const r={type:"element",tagName:"img",properties:n,children:[]};return e.patch(t,r),e.applyData(t,r)},inlineCode:function(e,t){const n={type:"text",value:t.value.replace(/\r?\n|\r/g," ")};e.patch(t,n);const r={type:"element",tagName:"code",properties:{},children:[n]};return e.patch(t,r),e.applyData(t,r)},linkReference:function(e,t){const n=String(t.identifier).toUpperCase(),r=e.definitionById.get(n);if(!r)return Hn(e,t);const o={href:In(r.url||"")};null!==r.title&&void 0!==r.title&&(o.title=r.title);const i={type:"element",tagName:"a",properties:o,children:e.all(t)};return e.patch(t,i),e.applyData(t,i)},link:function(e,t){const n={href:In(t.url)};null!==t.title&&void 0!==t.title&&(n.title=t.title);const r={type:"element",tagName:"a",properties:n,children:e.all(t)};return e.patch(t,r),e.applyData(t,r)},listItem:function(e,t,n){const r=e.all(t),o=n?function(e){let t=!1;if("list"===e.type){t=e.spread||!1;const n=e.children;let r=-1;for(;!t&&++r<n.length;)t=Kn(n[r])}return t}(n):Kn(t),i={},s=[];if("boolean"==typeof t.checked){const e=r[0];let n;e&&"element"===e.type&&"p"===e.tagName?n=e:(n={type:"element",tagName:"p",properties:{},children:[]},r.unshift(n)),n.children.length>0&&n.children.unshift({type:"text",value:" "}),n.children.unshift({type:"element",tagName:"input",properties:{type:"checkbox",checked:t.checked,disabled:!0},children:[]}),i.className=["task-list-item"]}let a=-1;for(;++a<r.length;){const e=r[a];(o||0!==a||"element"!==e.type||"p"!==e.tagName)&&s.push({type:"text",value:"\n"}),"element"!==e.type||"p"!==e.tagName||o?s.push(e):s.push(...e.children)}const u=r[r.length-1];u&&(o||"element"!==u.type||"p"!==u.tagName)&&s.push({type:"text",value:"\n"});const c={type:"element",tagName:"li",properties:i,children:s};return e.patch(t,c),e.applyData(t,c)},list:function(e,t){const n={},r=e.all(t);let o=-1;for("number"==typeof t.start&&1!==t.start&&(n.start=t.start);++o<r.length;){const e=r[o];if("element"===e.type&&"li"===e.tagName&&e.properties&&Array.isArray(e.properties.className)&&e.properties.className.includes("task-list-item")){n.className=["contains-task-list"];break}}const i={type:"element",tagName:t.ordered?"ol":"ul",properties:n,children:e.wrap(r,!0)};return e.patch(t,i),e.applyData(t,i)},paragraph:function(e,t){const n={type:"element",tagName:"p",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)},root:function(e,t){const n={type:"root",children:e.wrap(e.all(t))};return e.patch(t,n),e.applyData(t,n)},strong:function(e,t){const n={type:"element",tagName:"strong",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)},table:function(e,t){const n=e.all(t),r=n.shift(),o=[];if(r){const n={type:"element",tagName:"thead",properties:{},children:e.wrap([r],!0)};e.patch(t.children[0],n),o.push(n)}if(n.length>0){const r={type:"element",tagName:"tbody",properties:{},children:e.wrap(n,!0)},i=oe(t.children[1]),s=re(t.children[t.children.length-1]);i&&s&&(r.position={start:i,end:s}),o.push(r)}const i={type:"element",tagName:"table",properties:{},children:e.wrap(o,!0)};return e.patch(t,i),e.applyData(t,i)},tableCell:function(e,t){const n={type:"element",tagName:"td",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)},tableRow:function(e,t,n){const r=n?n.children:void 0,o=0===(r?r.indexOf(t):1)?"th":"td",i=n&&"table"===n.type?n.align:void 0,s=i?i.length:t.children.length;let a=-1;const u=[];for(;++a<s;){const n=t.children[a],r={},s=i?i[a]:void 0;s&&(r.align=s);let c={type:"element",tagName:o,properties:r,children:[]};n&&(c.children=e.all(n),e.patch(n,c),c=e.applyData(n,c)),u.push(c)}const c={type:"element",tagName:"tr",properties:{},children:e.wrap(u,!0)};return e.patch(t,c),e.applyData(t,c)},text:function(e,t){const n={type:"text",value:Gn(String(t.value))};return e.patch(t,n),e.applyData(t,n)},thematicBreak:function(e,t){const n={type:"element",tagName:"hr",properties:{},children:[]};return e.patch(t,n),e.applyData(t,n)},toml:er,yaml:er,definition:er,footnoteDefinition:er};function er(){}const tr={}.hasOwnProperty,nr={};function rr(e,t){e.position&&(t.position=function(e){const t=oe(e),n=re(e);if(t&&n)return{start:t,end:n}}(e))}function or(e,t){let n=t;if(e&&e.data){const t=e.data.hName,r=e.data.hChildren,o=e.data.hProperties;if("string"==typeof t)if("element"===n.type)n.tagName=t;else{n={type:"element",tagName:t,properties:{},children:"children"in n?n.children:[n]}}"element"===n.type&&o&&Object.assign(n.properties,Fn(o)),"children"in n&&n.children&&null!=r&&(n.children=r)}return n}function ir(e,t){const n=t.data||{},r=!("value"in t)||tr.call(n,"hProperties")||tr.call(n,"hChildren")?{type:"element",tagName:"div",properties:{},children:e.all(t)}:{type:"text",value:t.value};return e.patch(t,r),e.applyData(t,r)}function sr(e,t){const n=[];let r=-1;for(t&&n.push({type:"text",value:"\n"});++r<e.length;)r&&n.push({type:"text",value:"\n"}),n.push(e[r]);return t&&e.length>0&&n.push({type:"text",value:"\n"}),n}function ar(e){let t=0,n=e.charCodeAt(t);for(;9===n||32===n;)t++,n=e.charCodeAt(t);return e.slice(t)}function ur(e,t){const n=function(e,t){const n=t||nr,r=new Map,o=new Map,i=new Map,s={...Yn,...n.handlers},a={all:function(e){const t=[];if("children"in e){const n=e.children;let r=-1;for(;++r<n.length;){const o=a.one(n[r],e);if(o){if(r&&"break"===n[r-1].type&&(Array.isArray(o)||"text"!==o.type||(o.value=ar(o.value)),!Array.isArray(o)&&"element"===o.type)){const e=o.children[0];e&&"text"===e.type&&(e.value=ar(e.value))}Array.isArray(o)?t.push(...o):t.push(o)}}}return t},applyData:or,definitionById:r,footnoteById:o,footnoteCounts:i,footnoteOrder:[],handlers:s,one:function(e,t){const n=e.type,r=a.handlers[n];if(tr.call(a.handlers,n)&&r)return r(a,e,t);if(a.options.passThrough&&a.options.passThrough.includes(n)){if("children"in e){const{children:t,...n}=e,r=Fn(n);return r.children=a.all(e),r}return Fn(e)}return(a.options.unknownHandler||ir)(a,e,t)},options:n,patch:rr,wrap:sr};return Xn(e,(function(e){if("definition"===e.type||"footnoteDefinition"===e.type){const t="definition"===e.type?r:o,n=String(e.identifier).toUpperCase();t.has(n)||t.set(n,e)}})),a}(e,t),r=n.one(e,void 0),o=function(e){const t="string"==typeof e.options.clobberPrefix?e.options.clobberPrefix:"user-content-",n=e.options.footnoteBackContent||Nn,r=e.options.footnoteBackLabel||Tn,o=e.options.footnoteLabel||"Footnotes",i=e.options.footnoteLabelTagName||"h2",s=e.options.footnoteLabelProperties||{className:["sr-only"]},a=[];let u=-1;for(;++u<e.footnoteOrder.length;){const o=e.footnoteById.get(e.footnoteOrder[u]);if(!o)continue;const i=e.all(o),s=String(o.identifier).toUpperCase(),c=In(s.toLowerCase());let l=0;const f=[],d=e.footnoteCounts.get(s);for(;void 0!==d&&++l<=d;){f.length>0&&f.push({type:"text",value:" "});let e="string"==typeof n?n:n(u,l);"string"==typeof e&&(e={type:"text",value:e}),f.push({type:"element",tagName:"a",properties:{href:"#"+t+"fnref-"+c+(l>1?"-"+l:""),dataFootnoteBackref:"",ariaLabel:"string"==typeof r?r:r(u,l),className:["data-footnote-backref"]},children:Array.isArray(e)?e:[e]})}const h=i[i.length-1];if(h&&"element"===h.type&&"p"===h.tagName){const e=h.children[h.children.length-1];e&&"text"===e.type?e.value+=" ":h.children.push({type:"text",value:" "}),h.children.push(...f)}else i.push(...f);const p={type:"element",tagName:"li",properties:{id:t+"fn-"+c},children:e.wrap(i,!0)};e.patch(o,p),a.push(p)}if(0!==a.length)return{type:"element",tagName:"section",properties:{dataFootnotes:!0,className:["footnotes"]},children:[{type:"element",tagName:i,properties:{...Fn(s),id:"footnote-label"},children:[{type:"text",value:o}]},{type:"text",value:"\n"},{type:"element",tagName:"ol",properties:{},children:e.wrap(a,!0)},{type:"text",value:"\n"}]}}(n),i=Array.isArray(r)?{type:"root",children:r}:r||{type:"root",children:[]};return o&&i.children.push({type:"text",value:"\n"},o),i}function cr(e,t){return e&&"run"in e?async function(n,r){const o=ur(n,t);await e.run(o,r)}:function(n){return ur(n,t||e)}}function lr(e){if(e)throw e}var fr=n(49385);function dr(e){if("object"!=typeof e||null===e)return!1;const t=Object.getPrototypeOf(e);return!(null!==t&&t!==Object.prototype&&null!==Object.getPrototypeOf(t)||Symbol.toStringTag in e||Symbol.iterator in e)}function hr(){const e=[],t={run:function(...t){let n=-1;const r=t.pop();if("function"!=typeof r)throw new TypeError("Expected function as last argument, not "+r);!function o(i,...s){const a=e[++n];let u=-1;if(i)r(i);else{for(;++u<t.length;)null!==s[u]&&void 0!==s[u]||(s[u]=t[u]);t=s,a?function(e,t){let n;return r;function r(...t){const r=e.length>t.length;let a;r&&t.push(o);try{a=e.apply(this,t)}catch(i){if(r&&n)throw i;return o(i)}r||(a instanceof Promise?a.then(s,o):a instanceof Error?o(a):s(a))}function o(e,...r){n||(n=!0,t(e,...r))}function s(e){o(null,e)}}(a,o)(...s):r(null,...s)}}(null,...t)},use:function(n){if("function"!=typeof n)throw new TypeError("Expected `middelware` to be a function, not "+n);return e.push(n),t}};return t}const pr={basename:function(e,t){if(void 0!==t&&"string"!=typeof t)throw new TypeError('"ext" argument must be a string');mr(e);let n,r=0,o=-1,i=e.length;if(void 0===t||0===t.length||t.length>e.length){for(;i--;)if(47===e.codePointAt(i)){if(n){r=i+1;break}}else o<0&&(n=!0,o=i+1);return o<0?"":e.slice(r,o)}if(t===e)return"";let s=-1,a=t.length-1;for(;i--;)if(47===e.codePointAt(i)){if(n){r=i+1;break}}else s<0&&(n=!0,s=i+1),a>-1&&(e.codePointAt(i)===t.codePointAt(a--)?a<0&&(o=i):(a=-1,o=s));r===o?o=s:o<0&&(o=e.length);return e.slice(r,o)},dirname:function(e){if(mr(e),0===e.length)return".";let t,n=-1,r=e.length;for(;--r;)if(47===e.codePointAt(r)){if(t){n=r;break}}else t||(t=!0);return n<0?47===e.codePointAt(0)?"/":".":1===n&&47===e.codePointAt(0)?"//":e.slice(0,n)},extname:function(e){mr(e);let t,n=e.length,r=-1,o=0,i=-1,s=0;for(;n--;){const a=e.codePointAt(n);if(47!==a)r<0&&(t=!0,r=n+1),46===a?i<0?i=n:1!==s&&(s=1):i>-1&&(s=-1);else if(t){o=n+1;break}}if(i<0||r<0||0===s||1===s&&i===r-1&&i===o+1)return"";return e.slice(i,r)},join:function(...e){let t,n=-1;for(;++n<e.length;)mr(e[n]),e[n]&&(t=void 0===t?e[n]:t+"/"+e[n]);return void 0===t?".":function(e){mr(e);const t=47===e.codePointAt(0);let n=function(e,t){let n,r,o="",i=0,s=-1,a=0,u=-1;for(;++u<=e.length;){if(u<e.length)n=e.codePointAt(u);else{if(47===n)break;n=47}if(47===n){if(s===u-1||1===a);else if(s!==u-1&&2===a){if(o.length<2||2!==i||46!==o.codePointAt(o.length-1)||46!==o.codePointAt(o.length-2))if(o.length>2){if(r=o.lastIndexOf("/"),r!==o.length-1){r<0?(o="",i=0):(o=o.slice(0,r),i=o.length-1-o.lastIndexOf("/")),s=u,a=0;continue}}else if(o.length>0){o="",i=0,s=u,a=0;continue}t&&(o=o.length>0?o+"/..":"..",i=2)}else o.length>0?o+="/"+e.slice(s+1,u):o=e.slice(s+1,u),i=u-s-1;s=u,a=0}else 46===n&&a>-1?a++:a=-1}return o}(e,!t);0!==n.length||t||(n=".");n.length>0&&47===e.codePointAt(e.length-1)&&(n+="/");return t?"/"+n:n}(t)},sep:"/"};function mr(e){if("string"!=typeof e)throw new TypeError("Path must be a string. Received "+JSON.stringify(e))}const gr={cwd:function(){return"/"}};function yr(e){return Boolean(null!==e&&"object"==typeof e&&"href"in e&&e.href&&"protocol"in e&&e.protocol&&void 0===e.auth)}function vr(e){if("string"==typeof e)e=new URL(e);else if(!yr(e)){const t=new TypeError('The "path" argument must be of type string or an instance of URL. Received `'+e+"`");throw t.code="ERR_INVALID_ARG_TYPE",t}if("file:"!==e.protocol){const e=new TypeError("The URL must be of scheme file");throw e.code="ERR_INVALID_URL_SCHEME",e}return function(e){if(""!==e.hostname){const e=new TypeError('File URL host must be "localhost" or empty on darwin');throw e.code="ERR_INVALID_FILE_URL_HOST",e}const t=e.pathname;let n=-1;for(;++n<t.length;)if(37===t.codePointAt(n)&&50===t.codePointAt(n+1)){const e=t.codePointAt(n+2);if(70===e||102===e){const e=new TypeError("File URL path must not include encoded / characters");throw e.code="ERR_INVALID_FILE_URL_PATH",e}}return decodeURIComponent(t)}(e)}const br=["history","path","basename","stem","extname","dirname"];class _r{constructor(e){let t;t=e?yr(e)?{path:e}:"string"==typeof e||function(e){return Boolean(e&&"object"==typeof e&&"byteLength"in e&&"byteOffset"in e)}(e)?{value:e}:e:{},this.cwd=gr.cwd(),this.data={},this.history=[],this.messages=[],this.value,this.map,this.result,this.stored;let n,r=-1;for(;++r<br.length;){const e=br[r];e in t&&void 0!==t[e]&&null!==t[e]&&(this[e]="history"===e?[...t[e]]:t[e])}for(n in t)br.includes(n)||(this[n]=t[n])}get basename(){return"string"==typeof this.path?pr.basename(this.path):void 0}set basename(e){Er(e,"basename"),wr(e,"basename"),this.path=pr.join(this.dirname||"",e)}get dirname(){return"string"==typeof this.path?pr.dirname(this.path):void 0}set dirname(e){kr(this.basename,"dirname"),this.path=pr.join(e||"",this.basename)}get extname(){return"string"==typeof this.path?pr.extname(this.path):void 0}set extname(e){if(wr(e,"extname"),kr(this.dirname,"extname"),e){if(46!==e.codePointAt(0))throw new Error("`extname` must start with `.`");if(e.includes(".",1))throw new Error("`extname` cannot contain multiple dots")}this.path=pr.join(this.dirname,this.stem+(e||""))}get path(){return this.history[this.history.length-1]}set path(e){yr(e)&&(e=vr(e)),Er(e,"path"),this.path!==e&&this.history.push(e)}get stem(){return"string"==typeof this.path?pr.basename(this.path,this.extname):void 0}set stem(e){Er(e,"stem"),wr(e,"stem"),this.path=pr.join(this.dirname||"",e+(this.extname||""))}fail(e,t,n){const r=this.message(e,t,n);throw r.fatal=!0,r}info(e,t,n){const r=this.message(e,t,n);return r.fatal=void 0,r}message(e,t,n){const r=new le(e,t,n);return this.path&&(r.name=this.path+":"+r.name,r.file=this.path),r.fatal=!1,this.messages.push(r),r}toString(e){if(void 0===this.value)return"";if("string"==typeof this.value)return this.value;return new TextDecoder(e||void 0).decode(this.value)}}function wr(e,t){if(e&&e.includes(pr.sep))throw new Error("`"+t+"` cannot be a path: did not expect `"+pr.sep+"`")}function Er(e,t){if(!e)throw new Error("`"+t+"` cannot be empty")}function kr(e,t){if(!e)throw new Error("Setting `"+t+"` requires `path` to be set too")}const xr=function(e){const t=this.constructor.prototype,n=t[e],r=function(){return n.apply(r,arguments)};Object.setPrototypeOf(r,t);const o=Object.getOwnPropertyNames(n);for(const i of o){const e=Object.getOwnPropertyDescriptor(n,i);e&&Object.defineProperty(r,i,e)}return r},Dr={}.hasOwnProperty;class Sr extends xr{constructor(){super("copy"),this.Compiler=void 0,this.Parser=void 0,this.attachers=[],this.compiler=void 0,this.freezeIndex=-1,this.frozen=void 0,this.namespace={},this.parser=void 0,this.transformers=hr()}copy(){const e=new Sr;let t=-1;for(;++t<this.attachers.length;){const n=this.attachers[t];e.use(...n)}return e.data(fr(!0,{},this.namespace)),e}data(e,t){return"string"==typeof e?2===arguments.length?(Ar("data",this.frozen),this.namespace[e]=t,this):Dr.call(this.namespace,e)&&this.namespace[e]||void 0:e?(Ar("data",this.frozen),this.namespace=e,this):this.namespace}freeze(){if(this.frozen)return this;const e=this;for(;++this.freezeIndex<this.attachers.length;){const[t,...n]=this.attachers[this.freezeIndex];if(!1===n[0])continue;!0===n[0]&&(n[0]=void 0);const r=t.call(e,...n);"function"==typeof r&&this.transformers.use(r)}return this.frozen=!0,this.freezeIndex=Number.POSITIVE_INFINITY,this}parse(e){this.freeze();const t=Fr(e),n=this.parser||this.Parser;return Or("parse",n),n(String(t),t)}process(e,t){const n=this;return this.freeze(),Or("process",this.parser||this.Parser),$r("process",this.compiler||this.Compiler),t?r(void 0,t):new Promise(r);function r(r,o){const i=Fr(e),s=n.parse(i);function a(e,n){e||!n?o(e):r?r(n):t(void 0,n)}n.run(s,i,(function(e,t,r){if(e||!t||!r)return a(e);const o=t,i=n.stringify(o,r);var s;"string"==typeof(s=i)||function(e){return Boolean(e&&"object"==typeof e&&"byteLength"in e&&"byteOffset"in e)}(s)?r.value=i:r.result=i,a(e,r)}))}}processSync(e){let t,n=!1;return this.freeze(),Or("processSync",this.parser||this.Parser),$r("processSync",this.compiler||this.Compiler),this.process(e,(function(e,r){n=!0,lr(e),t=r})),jr("processSync","process",n),t}run(e,t,n){Pr(e),this.freeze();const r=this.transformers;return n||"function"!=typeof t||(n=t,t=void 0),n?o(void 0,n):new Promise(o);function o(o,i){const s=Fr(t);r.run(e,s,(function(t,r,s){const a=r||e;t?i(t):o?o(a):n(void 0,a,s)}))}}runSync(e,t){let n,r=!1;return this.run(e,t,(function(e,t){lr(e),n=t,r=!0})),jr("runSync","run",r),n}stringify(e,t){this.freeze();const n=Fr(t),r=this.compiler||this.Compiler;return $r("stringify",r),Pr(e),r(e,n)}use(e,...t){const n=this.attachers,r=this.namespace;if(Ar("use",this.frozen),null==e);else if("function"==typeof e)a(e,t);else{if("object"!=typeof e)throw new TypeError("Expected usable value, not `"+e+"`");Array.isArray(e)?s(e):i(e)}return this;function o(e){if("function"==typeof e)a(e,[]);else{if("object"!=typeof e)throw new TypeError("Expected usable value, not `"+e+"`");if(Array.isArray(e)){const[t,...n]=e;a(t,n)}else i(e)}}function i(e){if(!("plugins"in e)&&!("settings"in e))throw new Error("Expected usable value but received an empty preset, which is probably a mistake: presets typically come with `plugins` and sometimes with `settings`, but this has neither");s(e.plugins),e.settings&&(r.settings=fr(!0,r.settings,e.settings))}function s(e){let t=-1;if(null==e);else{if(!Array.isArray(e))throw new TypeError("Expected a list of plugins, not `"+e+"`");for(;++t<e.length;){o(e[t])}}}function a(e,t){let r=-1,o=-1;for(;++r<n.length;)if(n[r][0]===e){o=r;break}if(-1===o)n.push([e,...t]);else if(t.length>0){let[r,...i]=t;const s=n[o][1];dr(s)&&dr(r)&&(r=fr(!0,s,r)),n[o]=[e,r,...i]}}}}const Cr=(new Sr).freeze();function Or(e,t){if("function"!=typeof t)throw new TypeError("Cannot `"+e+"` without `parser`")}function $r(e,t){if("function"!=typeof t)throw new TypeError("Cannot `"+e+"` without `compiler`")}function Ar(e,t){if(t)throw new Error("Cannot call `"+e+"` on a frozen processor.\nCreate a new processor first, by calling it: use `processor()` instead of `processor`.")}function Pr(e){if(!dr(e)||"string"!=typeof e.type)throw new TypeError("Expected node, got `"+e+"`")}function jr(e,t,n){if(!n)throw new Error("`"+e+"` finished async. Use `"+t+"` instead")}function Fr(e){return function(e){return Boolean(e&&"object"==typeof e&&"message"in e&&"messages"in e)}(e)?e:new _r(e)}const Ir=[],Nr={allowDangerousHtml:!0},Tr=/^(https?|ircs?|mailto|xmpp)$/i,Mr=[{from:"astPlugins",id:"remove-buggy-html-in-markdown-parser"},{from:"allowDangerousHtml",id:"remove-buggy-html-in-markdown-parser"},{from:"allowNode",id:"replace-allownode-allowedtypes-and-disallowedtypes",to:"allowElement"},{from:"allowedTypes",id:"replace-allownode-allowedtypes-and-disallowedtypes",to:"allowedElements"},{from:"disallowedTypes",id:"replace-allownode-allowedtypes-and-disallowedtypes",to:"disallowedElements"},{from:"escapeHtml",id:"remove-buggy-html-in-markdown-parser"},{from:"includeElementIndex",id:"#remove-includeelementindex"},{from:"includeNodeIndex",id:"change-includenodeindex-to-includeelementindex"},{from:"linkTarget",id:"remove-linktarget"},{from:"plugins",id:"change-plugins-to-remarkplugins",to:"remarkPlugins"},{from:"rawSourcePos",id:"#remove-rawsourcepos"},{from:"renderers",id:"change-renderers-to-components",to:"components"},{from:"source",id:"change-source-to-children",to:"children"},{from:"sourcePos",id:"#remove-sourcepos"},{from:"transformImageUri",id:"#add-urltransform",to:"urlTransform"},{from:"transformLinkUri",id:"#add-urltransform",to:"urlTransform"}];function Rr(e){const t=e.allowedElements,n=e.allowElement,r=e.children||"",o=e.className,i=e.components,s=e.disallowedElements,a=e.rehypePlugins||Ir,u=e.remarkPlugins||Ir,c=e.remarkRehypeOptions?{...e.remarkRehypeOptions,...Nr}:Nr,l=e.skipHtml,f=e.unwrapDisallowed,d=e.urlTransform||Br,h=Cr().use(xn).use(u).use(cr,c).use(a),p=new _r;"string"==typeof r&&(p.value=r);for(const y of Mr)Object.hasOwn(e,y.from)&&(y.from,y.to&&y.to,y.id);const m=h.parse(p);let g=h.runSync(m,p);return o&&(g={type:"element",tagName:"div",properties:{className:o},children:"root"===g.type?g.children:[g]}),Xn(g,(function(e,r,o){if("raw"===e.type&&o&&"number"==typeof r)return l?o.children.splice(r,1):o.children[r]={type:"text",value:e.value},r;if("element"===e.type){let t;for(t in $e)if(Object.hasOwn($e,t)&&Object.hasOwn(e.properties,t)){const n=e.properties[t],r=$e[t];(null===r||r.includes(e.tagName))&&(e.properties[t]=d(String(n||""),t,e))}}if("element"===e.type){let i=t?!t.includes(e.tagName):!!s&&s.includes(e.tagName);if(!i&&n&&"number"==typeof r&&(i=!n(e,r,o)),i&&o&&"number"==typeof r)return f&&e.children?o.children.splice(r,1,...e.children):o.children.splice(r,1),r}})),ve(g,{Fragment:Ae.Fragment,components:i,ignoreInvalidStyle:!0,jsx:Ae.jsx,jsxs:Ae.jsxs,passKeys:!0,passNode:!0})}function Br(e){const t=e.indexOf(":"),n=e.indexOf("?"),r=e.indexOf("#"),o=e.indexOf("/");return t<0||o>-1&&t>o||n>-1&&t>n||r>-1&&t>r||Tr.test(e.slice(0,t))?e:""}function Lr(e){const{id:t,pointer:n,schema:r,yaml:o}=(0,d.describeSchema)(e),i=t?t.startsWith("schema:")?t.slice(7):t:void 0,s=i&&n?`${i}${n}`:i||void 0;return(0,Ae.jsxs)(l.default,{groupId:"schema-language",children:[(0,Ae.jsx)(f.default,{value:"yaml",label:"YAML",children:(0,Ae.jsx)(c(),{className:"schema-listing",language:"yaml",showLineNumbers:!0,title:s||"schema.yaml",children:o})}),(0,Ae.jsx)(f.default,{value:"json",label:"JSON",children:(0,Ae.jsx)(c(),{className:"schema-listing",language:"json",showLineNumbers:!0,title:s?`${s}`:"schema.json",children:JSON.stringify(r,void 0,2)})})]})}function zr(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Ur(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function qr(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Ur(Object(n),!0).forEach((function(t){zr(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Ur(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Vr(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function Qr(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function Xr(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Hr(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Kr(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Hr(Object(n),!0).forEach((function(t){Xr(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Hr(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Jr(e){return function t(){for(var n=this,r=arguments.length,o=new Array(r),i=0;i<r;i++)o[i]=arguments[i];return o.length>=e.length?e.apply(this,o):function(){for(var e=arguments.length,r=new Array(e),i=0;i<e;i++)r[i]=arguments[i];return t.apply(n,[].concat(o,r))}}}function Wr(e){return{}.toString.call(e).includes("Object")}function Gr(e){return"function"==typeof e}var Zr=Jr((function(e,t){throw new Error(e[t]||e.default)}))({initialIsRequired:"initial state is required",initialType:"initial state should be an object",initialContent:"initial state shouldn't be an empty object",handlerType:"handler should be an object or a function",handlersType:"all handlers should be a functions",selectorType:"selector should be a function",changeType:"provided value of changes should be an object",changeField:'it seams you want to change a field in the state which is not specified in the "initial" state',default:"an unknown error accured in `state-local` package"}),Yr={changes:function(e,t){return Wr(t)||Zr("changeType"),Object.keys(t).some((function(t){return n=e,r=t,!Object.prototype.hasOwnProperty.call(n,r);var n,r}))&&Zr("changeField"),t},selector:function(e){Gr(e)||Zr("selectorType")},handler:function(e){Gr(e)||Wr(e)||Zr("handlerType"),Wr(e)&&Object.values(e).some((function(e){return!Gr(e)}))&&Zr("handlersType")},initial:function(e){var t;e||Zr("initialIsRequired"),Wr(e)||Zr("initialType"),t=e,Object.keys(t).length||Zr("initialContent")}};function eo(e,t){return Gr(t)?t(e.current):t}function to(e,t){return e.current=Kr(Kr({},e.current),t),t}function no(e,t,n){return Gr(t)?t(e.current):Object.keys(n).forEach((function(n){var r;return null===(r=t[n])||void 0===r?void 0:r.call(t,e.current[n])})),n}const ro={create:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};Yr.initial(e),Yr.handler(t);var n={current:e},r=Jr(no)(n,t),o=Jr(to)(n),i=Jr(Yr.changes)(e),s=Jr(eo)(n);return[function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:function(e){return e};return Yr.selector(e),e(n.current)},function(e){!function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return function(e){return t.reduceRight((function(e,t){return t(e)}),e)}}(r,o,i,s)(e)}]}};const oo={paths:{vs:"https://cdn.jsdelivr.net/npm/monaco-editor@0.43.0/min/vs"}};const io=function(e){return{}.toString.call(e).includes("Object")};var so={configIsRequired:"the configuration object is required",configType:"the configuration object should be an object",default:"an unknown error accured in `@monaco-editor/loader` package",deprecation:"Deprecation warning!\n You are using deprecated way of configuration.\n\n Instead of using\n monaco.config({ urls: { monacoBase: '...' } })\n use\n monaco.config({ paths: { vs: '...' } })\n\n For more please check the link https://github.com/suren-atoyan/monaco-loader#config\n "},ao=function(e){return function t(){for(var n=this,r=arguments.length,o=new Array(r),i=0;i<r;i++)o[i]=arguments[i];return o.length>=e.length?e.apply(this,o):function(){for(var e=arguments.length,r=new Array(e),i=0;i<e;i++)r[i]=arguments[i];return t.apply(n,[].concat(o,r))}}}((function(e,t){throw new Error(e[t]||e.default)}))(so),uo={config:function(e){return e||ao("configIsRequired"),io(e)||ao("configType"),e.urls?(console.warn(so.deprecation),{paths:{vs:e.urls.monacoBase}}):e}};const co=uo;const lo=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return function(e){return t.reduceRight((function(e,t){return t(e)}),e)}};const fo=function e(t,n){return Object.keys(n).forEach((function(r){n[r]instanceof Object&&t[r]&&Object.assign(n[r],e(t[r],n[r]))})),qr(qr({},t),n)};var ho={type:"cancelation",msg:"operation is manually canceled"};const po=function(e){var t=!1,n=new Promise((function(n,r){e.then((function(e){return t?r(ho):n(e)})),e.catch(r)}));return n.cancel=function(){return t=!0},n};var mo,go,yo=ro.create({config:oo,isInitialized:!1,resolve:null,reject:null,monaco:null}),vo=(go=2,function(e){if(Array.isArray(e))return e}(mo=yo)||function(e,t){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e)){var n=[],r=!0,o=!1,i=void 0;try{for(var s,a=e[Symbol.iterator]();!(r=(s=a.next()).done)&&(n.push(s.value),!t||n.length!==t);r=!0);}catch(u){o=!0,i=u}finally{try{r||null==a.return||a.return()}finally{if(o)throw i}}return n}}(mo,go)||function(e,t){if(e){if("string"==typeof e)return Qr(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Qr(e,t):void 0}}(mo,go)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),bo=vo[0],_o=vo[1];function wo(e){return document.body.appendChild(e)}function Eo(e){var t=bo((function(e){return{config:e.config,reject:e.reject}})),n=function(e){var t=document.createElement("script");return e&&(t.src=e),t}("".concat(t.config.paths.vs,"/loader.js"));return n.onload=function(){return e()},n.onerror=t.reject,n}function ko(){var e=bo((function(e){return{config:e.config,resolve:e.resolve,reject:e.reject}})),t=window.require;t.config(e.config),t(["vs/editor/editor.main"],(function(t){xo(t),e.resolve(t)}),(function(t){e.reject(t)}))}function xo(e){bo().monaco||_o({monaco:e})}var Do=new Promise((function(e,t){return _o({resolve:e,reject:t})})),So={config:function(e){var t=co.config(e),n=t.monaco,r=Vr(t,["monaco"]);_o((function(e){return{config:fo(e.config,r),monaco:n}}))},init:function(){var e=bo((function(e){return{monaco:e.monaco,isInitialized:e.isInitialized,resolve:e.resolve}}));if(!e.isInitialized){if(_o({isInitialized:!0}),e.monaco)return e.resolve(e.monaco),po(Do);if(window.monaco&&window.monaco.editor)return xo(window.monaco),e.resolve(window.monaco),po(Do);lo(wo,Eo)(ko)}return po(Do)},__getMonacoInstance:function(){return bo((function(e){return e.monaco}))}};const Co=So;var Oo={wrapper:{display:"flex",position:"relative",textAlign:"initial"},fullWidth:{width:"100%"},hide:{display:"none"}},$o={container:{display:"flex",height:"100%",width:"100%",justifyContent:"center",alignItems:"center"}};var Ao=function({children:e}){return i.createElement("div",{style:$o.container},e)};var Po=function({width:e,height:t,isEditorReady:n,loading:r,_ref:o,className:s,wrapperProps:a}){return i.createElement("section",{style:{...Oo.wrapper,width:e,height:t},...a},!n&&i.createElement(Ao,null,r),i.createElement("div",{ref:o,style:{...Oo.fullWidth,...!n&&Oo.hide},className:s}))},jo=(0,i.memo)(Po);var Fo=function(e){(0,i.useEffect)(e,[])};var Io=function(e,t,n=!0){let r=(0,i.useRef)(!0);(0,i.useEffect)(r.current||!n?()=>{r.current=!1}:e,t)};function No(){}function To(e,t,n,r){return function(e,t){return e.editor.getModel(Mo(e,t))}(e,r)||function(e,t,n,r){return e.editor.createModel(t,n,r?Mo(e,r):void 0)}(e,t,n,r)}function Mo(e,t){return e.Uri.parse(t)}var Ro=function({original:e,modified:t,language:n,originalLanguage:r,modifiedLanguage:o,originalModelPath:s,modifiedModelPath:a,keepCurrentOriginalModel:u=!1,keepCurrentModifiedModel:c=!1,theme:l="light",loading:f="Loading...",options:d={},height:h="100%",width:p="100%",className:m,wrapperProps:g={},beforeMount:y=No,onMount:v=No}){let[b,_]=(0,i.useState)(!1),[w,E]=(0,i.useState)(!0),k=(0,i.useRef)(null),x=(0,i.useRef)(null),D=(0,i.useRef)(null),S=(0,i.useRef)(v),C=(0,i.useRef)(y),O=(0,i.useRef)(!1);Fo((()=>{let e=Co.init();return e.then((e=>(x.current=e)&&E(!1))).catch((e=>"cancelation"!==e?.type&&console.error("Monaco initialization: error:",e))),()=>k.current?function(){let e=k.current?.getModel();u||e?.original?.dispose(),c||e?.modified?.dispose(),k.current?.dispose()}():e.cancel()})),Io((()=>{if(k.current&&x.current){let t=k.current.getOriginalEditor(),o=To(x.current,e||"",r||n||"text",s||"");o!==t.getModel()&&t.setModel(o)}}),[s],b),Io((()=>{if(k.current&&x.current){let e=k.current.getModifiedEditor(),r=To(x.current,t||"",o||n||"text",a||"");r!==e.getModel()&&e.setModel(r)}}),[a],b),Io((()=>{let e=k.current.getModifiedEditor();e.getOption(x.current.editor.EditorOption.readOnly)?e.setValue(t||""):t!==e.getValue()&&(e.executeEdits("",[{range:e.getModel().getFullModelRange(),text:t||"",forceMoveMarkers:!0}]),e.pushUndoStop())}),[t],b),Io((()=>{k.current?.getModel()?.original.setValue(e||"")}),[e],b),Io((()=>{let{original:e,modified:t}=k.current.getModel();x.current.editor.setModelLanguage(e,r||n||"text"),x.current.editor.setModelLanguage(t,o||n||"text")}),[n,r,o],b),Io((()=>{x.current?.editor.setTheme(l)}),[l],b),Io((()=>{k.current?.updateOptions(d)}),[d],b);let $=(0,i.useCallback)((()=>{if(!x.current)return;C.current(x.current);let i=To(x.current,e||"",r||n||"text",s||""),u=To(x.current,t||"",o||n||"text",a||"");k.current?.setModel({original:i,modified:u})}),[n,t,o,e,r,s,a]),A=(0,i.useCallback)((()=>{!O.current&&D.current&&(k.current=x.current.editor.createDiffEditor(D.current,{automaticLayout:!0,...d}),$(),x.current?.editor.setTheme(l),_(!0),O.current=!0)}),[d,l,$]);return(0,i.useEffect)((()=>{b&&S.current(k.current,x.current)}),[b]),(0,i.useEffect)((()=>{!w&&!b&&A()}),[w,b,A]),i.createElement(jo,{width:p,height:h,isEditorReady:b,loading:f,_ref:D,className:m,wrapperProps:g})};(0,i.memo)(Ro);var Bo=function(){let[e,t]=(0,i.useState)(Co.__getMonacoInstance());return Fo((()=>{let n;return e||(n=Co.init(),n.then((e=>{t(e)}))),()=>n?.cancel()})),e};var Lo=function(e){let t=(0,i.useRef)();return(0,i.useEffect)((()=>{t.current=e}),[e]),t.current},zo=new Map;var Uo=function({defaultValue:e,defaultLanguage:t,defaultPath:n,value:r,language:o,path:s,theme:a="light",line:u,loading:c="Loading...",options:l={},overrideServices:f={},saveViewState:d=!0,keepCurrentModel:h=!1,width:p="100%",height:m="100%",className:g,wrapperProps:y={},beforeMount:v=No,onMount:b=No,onChange:_,onValidate:w=No}){let[E,k]=(0,i.useState)(!1),[x,D]=(0,i.useState)(!0),S=(0,i.useRef)(null),C=(0,i.useRef)(null),O=(0,i.useRef)(null),$=(0,i.useRef)(b),A=(0,i.useRef)(v),P=(0,i.useRef)(),j=(0,i.useRef)(r),F=Lo(s),I=(0,i.useRef)(!1),N=(0,i.useRef)(!1);Fo((()=>{let e=Co.init();return e.then((e=>(S.current=e)&&D(!1))).catch((e=>"cancelation"!==e?.type&&console.error("Monaco initialization: error:",e))),()=>C.current?(P.current?.dispose(),h?d&&zo.set(s,C.current.saveViewState()):C.current.getModel()?.dispose(),void C.current.dispose()):e.cancel()})),Io((()=>{let i=To(S.current,e||r||"",t||o||"",s||n||"");i!==C.current?.getModel()&&(d&&zo.set(F,C.current?.saveViewState()),C.current?.setModel(i),d&&C.current?.restoreViewState(zo.get(s)))}),[s],E),Io((()=>{C.current?.updateOptions(l)}),[l],E),Io((()=>{!C.current||void 0===r||(C.current.getOption(S.current.editor.EditorOption.readOnly)?C.current.setValue(r):r!==C.current.getValue()&&(N.current=!0,C.current.executeEdits("",[{range:C.current.getModel().getFullModelRange(),text:r,forceMoveMarkers:!0}]),C.current.pushUndoStop(),N.current=!1))}),[r],E),Io((()=>{let e=C.current?.getModel();e&&o&&S.current?.editor.setModelLanguage(e,o)}),[o],E),Io((()=>{void 0!==u&&C.current?.revealLine(u)}),[u],E),Io((()=>{S.current?.editor.setTheme(a)}),[a],E);let T=(0,i.useCallback)((()=>{if(O.current&&S.current&&!I.current){A.current(S.current);let i=s||n,c=To(S.current,r||e||"",t||o||"",i||"");C.current=S.current?.editor.create(O.current,{model:c,automaticLayout:!0,...l},f),d&&C.current.restoreViewState(zo.get(i)),S.current.editor.setTheme(a),void 0!==u&&C.current.revealLine(u),k(!0),I.current=!0}}),[e,t,n,r,o,s,l,f,d,a,u]);return(0,i.useEffect)((()=>{E&&$.current(C.current,S.current)}),[E]),(0,i.useEffect)((()=>{!x&&!E&&T()}),[x,E,T]),j.current=r,(0,i.useEffect)((()=>{E&&_&&(P.current?.dispose(),P.current=C.current?.onDidChangeModelContent((e=>{N.current||_(C.current.getValue(),e)})))}),[E,_]),(0,i.useEffect)((()=>{if(E){let e=S.current.editor.onDidChangeMarkers((e=>{let t=C.current.getModel()?.uri;if(t&&e.find((e=>e.path===t.path))){let e=S.current.editor.getModelMarkers({resource:t});w?.(e)}}));return()=>{e?.dispose()}}return()=>{}}),[E,w]),i.createElement(jo,{width:p,height:m,isEditorReady:E,loading:c,_ref:O,className:g,wrapperProps:y})},qo=(0,i.memo)(Uo),Vo=n(60361),Qo=n(43159),Xo=n.n(Qo),Ho=n(22038),Ko=n.n(Ho),Jo=n(404);function Wo(){return Wo=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Wo.apply(this,arguments)}var Go={enum:1,type:0},Zo=/"/g,Yo=/NOT/g,ei=/\//g,ti=function(e){var t=e.value,n=e.suggestions,r=e.format,o=void 0===r?function(e){return"Did you mean '"+e+"'?"}:r;if(!t)return"";var i=n.reduce((function(e,n){var r=Ko()(t,n);return e.distance>r?{value:n,distance:r}:e}),{distance:1/0,value:""});return i.distance<t.length?o(i.value):""},ni=function(e){return e.split("/").pop()},ri=function(e){var t=e.object,n=e.pnter,r=e.fallback;try{return Jo.get(t,n)}catch(o){return r}},oi=function(e){var t=e.errors,n=e.data,r=e.schema,o=e.basePath,i=void 0===o?"{base}":o;if(!Array.isArray(t)||0===t.length)return[];var s=function(e){var t=e.reduce((function(e,t){var n,r,o,i,s,a,u=t.instancePath+(null!=(n=null!=(r=null==(o=t.params)?void 0:o.additionalProperty)?r:null==(i=t.params)?void 0:i.missingProperty)?n:""),c=e[u];return c?((null!=(s=Go[t.keyword])?s:0)>(null!=(a=Go[c.keyword])?a:0)&&(e[u]=t),e):(e[u]=t,e)}),{});return Object.values(t)}(t);return s.map((function(e){var t,o=(i+e.instancePath).replace(ei,"."),s=ni(e.instancePath),a={errorType:e.keyword},u=(s?"property '"+s+"'":o)+" "+e.message.replace(Zo,"'").replace(Yo,"not");switch(e.keyword){case"additionalProperties":var c=e.params.additionalProperty,l=e.schemaPath.replace("#","").replace("/additionalProperties",""),f=ri({object:r,pnter:l,fallback:{properties:{}}}).properties;t={message:"'"+c+"' property is not expected to be here",suggestion:ti({value:c,suggestions:Object.keys(null!=f?f:{}),format:function(e){return"Did you mean property '"+e+"'?"}}),path:o,context:a};break;case"enum":var d=e.params.allowedValues.map((function(e){return e.toString()})),h=ni(e.instancePath),p=ri({object:n,pnter:e.instancePath,fallback:""});t={message:"'"+h+"' property must be equal to one of the allowed values",suggestion:ti({value:p,suggestions:d}),path:o,context:Wo({},a,{allowedValues:e.params.allowedValues})};break;case"type":t={message:"'"+ni(e.instancePath)+"' property type must be "+e.params.type,path:o,context:a};break;case"required":t={message:o+" must have required property '"+e.params.missingProperty+"'",path:o,context:a};break;case"const":return{message:"'"+s+"' property must be equal to the allowed value",path:o,context:Wo({},a,{allowedValue:e.params.allowedValue})};default:return{message:u,path:o,context:a}}for(var m=0,g=Object.entries(t);m<g.length;m++){var y=g[m],v=y[0],b=y[1];null!=b&&""!==b||delete t[v]}return t}))},ii=n(4407),si=n.n(ii);function ai(e){const{schema:t}=(0,d.describeSchema)(e),{colorMode:n}=(0,Vo.I)(),r=t.examples?.[0]??{},o=(0,i.useRef)(null),s=Bo(),a=2,u=new(si())({schemas:Object.values(d.schemas),allErrors:!0,strict:!1}),[c,l]=(0,i.useState)(r),[f,h]=(0,i.useState)(!1);function p(e){console.error(e)}return(0,i.useEffect)((()=>{f&&function(){const t=u.getSchema(e.schema.id);if(!t)return p("Unable to validate schema");const n=function(){try{return Xo().parse(c,void 0,{tabWidth:a})}catch{return{data:"",pointers:{}}}}();t(n.data);const r=oi({schema:d.schemas[e.schema.id],data:n.data,errors:t.errors});console.log(r,t.errors),function(e,t){const n=o.current?.getModel();if(!n||!s)return p("Unable to validate schema");let r=[];if(e)for(const[o,i]of Object.entries(e)){let e=i.path.replace("{base}","").replace(/\./g,"/"),n=t.pointers[e],o=i.message.replace("{base}","").replace(/\./g,"/");"const"==i.context.errorType&&(o=`Expecting a constant value of "${i.context.allowedValue}"`),n&&o&&(r.push({startLineNumber:n.value.line+1,startColumn:n.value.column+1,endColumn:n.valueEnd.column+1,endLineNumber:n.valueEnd.line+1,message:o,severity:s.MarkerSeverity.Error}),n.key&&n.keyEnd&&r.push({startLineNumber:n.key.line+1,startColumn:n.key.column+1,endColumn:n.keyEnd.column+1,endLineNumber:n.keyEnd.line+1,message:o,severity:s.MarkerSeverity.Error}))}s.editor.setModelMarkers(n,"EthDebug",r)}(r,n)}()}),[c]),(0,Ae.jsx)("section",{className:"playground-container",children:(0,Ae.jsx)(qo,{height:"50vh",language:"json",theme:"dark"==n?"vs-dark":"vs-light",defaultValue:JSON.stringify(r,void 0,a),onChange:function(e){h(!0),l(e)},onMount:function(e){o.current=e},options:{contextmenu:!1,autoIndent:"advanced",tabSize:a}})})}function ui(e){const t=(0,d.describeSchema)(e),{id:n,rootSchema:r,yaml:o,pointer:i}=t,s=ci(r,n||"");return(0,Ae.jsxs)(l.default,{children:[(0,Ae.jsx)(f.default,{value:"viewer",label:"Explore",children:(0,Ae.jsx)(p.Gi.Provider,{value:{rootSchemaInfo:t,schemaIndex:h},children:(0,Ae.jsx)(a(),{schema:s,resolverOptions:{jsonPointer:i,resolvers:{schema:{resolve:e=>{const t=e.toString(),{schema:n}=(0,d.describeSchema)({schema:{id:t}});return ci(n,t)}}}},viewerOptions:{showExamples:!0,ValueComponent:e=>{let{value:t}=e;return["string","number","bigint","boolean"].includes(typeof t)?(0,Ae.jsx)("code",{children:t.toString()}):(0,Ae.jsx)(c(),{language:"json",children:`${JSON.stringify(t,void 0,2)}`})},DescriptionComponent:e=>{let{description:t}=e;return(0,Ae.jsx)(Rr,{children:t})}}})})}),(0,Ae.jsx)(f.default,{value:"listing",label:"View source",children:(0,Ae.jsx)(Lr,{schema:e.schema,pointer:e.pointer})}),(0,Ae.jsx)(f.default,{value:"playground",label:"Playground",children:(0,Ae.jsx)(ai,{schema:e.schema,pointer:e.pointer})})]})}function ci(e,t){return li(fi(e),`${t}#`)}function li(e,t){return Array.isArray(e)?e.map(((e,n)=>li(e,`${t}/${n}`))):null!==e&&"object"==typeof e?Object.entries(e).reduce(((e,n)=>{let[r,o]=n;return e[r]=li(o,`${t}/${r}`),e}),{[p.D9]:t.endsWith("#")?t.slice(0,-1):t}):e}function fi(e){if(!e||"object"!=typeof e)return e;if(Array.isArray(e))return e.map(fi);if(1===Object.keys(e).length&&"$ref"in e)return e;const{$ref:t,...n}=e,r=Object.entries(n).reduce(((e,t)=>{let[n,r]=t;return e[n]=fi(r),e}),{});if(!t)return r;const o=["allOf","oneOf","anyOf"].find((t=>!(t in e)));if(!o)throw new Error(`Could not find available composition keyword in ${JSON.stringify(e)}`);return r[o]=[{$ref:t}],r}},35849:(e,t,n)=>{"use strict";n.d(t,{D9:()=>s,Gi:()=>o,J5:()=>i});var r=n(2784);const o=(0,r.createContext)({schemaIndex:{}}),i=()=>(0,r.useContext)(o),s=Symbol("__$internalId")},94845:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>i});n(2784);var r=n(51074),o=n(52322);function i(e){const{schema:t}=e,n=void 0!==t.if,i=void 0!==t.dependentRequired,s=void 0!==t.dependentSchemas,a=void 0!==t.dependencies;return(0,o.jsxs)(o.Fragment,{children:[n&&(0,o.jsx)(r.IfElseThen,{schema:t}),i&&(0,o.jsx)(r.DependentRequired,{schema:t}),s&&(0,o.jsx)(r.DependentSchemas,{schema:t}),a&&(0,o.jsx)(r.Dependencies,{schema:t})]})}},70213:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>d});n(2784);var r=n(65296),o=n.n(r),i=n(77336),s=n(82009),a=n(94598),u=n(2204),c=n(52322);function l(e){let{propertyName:t,schemasByConst:n}=e;const{jsonPointer:r,level:o}=(0,a.useSchemaHierarchyContext)();return(0,c.jsxs)("div",{children:[(0,c.jsx)("hr",{}),(0,c.jsx)("span",{className:"badge badge--info",children:"polymorphic discriminator"}),"\xa0 The value of the ",(0,c.jsx)("strong",{children:t})," field determines which sub-schema applies:",(0,c.jsx)(i.default,{children:Object.entries(n).map((e=>{let[t,{schema:n,index:i}]=e;return(0,c.jsx)(s.default,{label:t,value:t,children:(0,c.jsx)(a.SchemaHierarchyContextProvider,{value:{level:o+1,jsonPointer:`${r}/allOf/${i}/then`},children:(0,c.jsx)(u.CreateNodes,{schema:n})})},t)}))})]})}function f(e){let{propertyNames:t,schemasByPropertyName:n}=e;const{jsonPointer:r,level:o}=(0,a.useSchemaHierarchyContext)();return(0,c.jsxs)("div",{children:[(0,c.jsx)("hr",{}),(0,c.jsx)("span",{className:"badge badge--info",children:"mutually-exclusive required properties"}),"\xa0 This object must specify exactly one of the following:",(0,c.jsx)("ul",{children:t.map(((e,t)=>(0,c.jsx)("li",{children:(0,c.jsx)("code",{children:e})},t)))}),"Depending on which required property is used, one of the following sub-schemas applies:",(0,c.jsx)(i.default,{children:Object.entries(n).map((e=>{let[t,{schema:n,index:i}]=e;return(0,c.jsx)(s.default,{label:"title"in n&&"string"==typeof n.title&&n.title||t,value:t,children:(0,c.jsx)(a.SchemaHierarchyContextProvider,{value:{level:o+1,jsonPointer:`${r}/allOf/${i+1}/then`},children:(0,c.jsx)(u.CreateNodes,{schema:n})})},t)}))})]})}function d(e){const{schema:t}=e,n=function(e){const{allOf:t}=e;if(!t.every((e=>{if("boolean"==typeof e)return!1;const{title:t,description:n,if:r,then:o,...i}=e;return!!r&&!!o&&0===Object.keys(i).length})))return;if(!t.every((e=>{const{if:t}=e;if("boolean"==typeof t||!("properties"in t)||!t.properties)return!1;const n=t.properties;if(1!==Object.keys(n).length)return!1;const r=n[Object.keys(n)[0]];return"object"==typeof r&&"const"in r&&"string"==typeof r.const&&!!r.const})))return;const n=Object.keys(t[0].if.properties)[0],r=t.map(((e,t)=>{let{if:r,then:o}=e;return{[r.properties[n].const]:{schema:o,index:t}}})).reduce(((e,t)=>({...e,...t})),{});return Object.keys(r).length===t.length?{propertyName:n,schemasByConst:r}:void 0}(t);if(n)return(0,c.jsx)(l,{...n});const r=function(e){const{allOf:t}=e,[n,...r]=t;if("boolean"==typeof n||!("oneOf"in n))return;const{oneOf:o}=n;if(!o||!o.every((e=>"object"==typeof e&&"required"in e&&e.required instanceof Array&&1===e.required.length)))return;const i=o.map((e=>{let{required:[t]}=e;return t}));if(r.length!==i.length)return;if(!r.every((e=>{if("boolean"==typeof e)return!1;const{title:t,description:n,if:r,then:o,...i}=e;return!!r&&!!o&&0===Object.keys(i).length})))return;if(!r.every((e=>{const{if:t}=e;if("boolean"==typeof t||!("required"in t))return!1;const{required:n}=t;if(!n||1!==n.length)return!1;const[r]=n;return"string"==typeof r&&!!r})))return;return{propertyNames:i,schemasByPropertyName:r.map(((e,t)=>{let{if:{required:[n]},then:r}=e;return{[n]:{schema:r,index:t}}})).reduce(((e,t)=>({...e,...t})),{})}}(t);return r?(0,c.jsx)(f,{...r}):(0,c.jsx)(c.Fragment,{children:(0,c.jsx)(o(),{...e})})}},14130:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>h});n(2784);var r=n(42360),o=n.n(r),i=n(94598),s=n(35849),a=n(27718),u=n(2204),c=n(77740),l=n(54884),f=n(52322);function d(e){let{schemaWithoutUnnecessaryComposition:t,unnecessaryCompositionKeyword:n,unnecessarilyComposedSchema:r}=e;const o=(0,i.useJSVOptionsContext)(),{schemaIndex:d}=(0,s.J5)(),p=r,m=t,{documentation:g,semantics:y}=function(e){if("boolean"==typeof e)return{documentation:{},semantics:e};const{title:t,description:n,examples:r,default:o,[s.D9]:i,...a}=e;return{documentation:{title:t,description:n,examples:r,default:o},semantics:a}}(m);if(0===Object.keys(y).length||1===Object.keys(y).length&&"type"in y&&"object"==typeof p&&"type"in p&&("string"==typeof y.type&&y.type===p.type||y.type instanceof Array&&p.type instanceof Array&&y.type.length===p.type.length&&y.type.every((e=>p.type.includes(e))))){const{description:e}=g;return(0,f.jsxs)(f.Fragment,{children:[(0,f.jsx)(c.QualifierMessages,{schema:g,options:o}),e&&(0,f.jsx)(l.CreateDescription,{description:e}),(0,f.jsx)("hr",{}),(0,f.jsx)(i.SchemaHierarchyComponent,{innerJsonPointer:`/${n}/0`,children:(0,f.jsx)(h,{schema:r})})]})}const{[s.D9]:v}=p;if(v&&v in d){const{href:e,title:t=`${v.startsWith("schema:")?v.slice(7):v} schema`}=d[v];return(0,f.jsxs)(f.Fragment,{children:[(0,f.jsx)("span",{className:"badge badge--info",children:"extensions"}),"\xa0 This schema extends the ",(0,f.jsx)(a.Z,{to:e,children:t}),".",(0,f.jsx)("p",{children:(0,f.jsx)(h,{schema:m})})]})}return(0,f.jsxs)(f.Fragment,{children:[(0,f.jsx)("span",{className:"badge badge--info",children:"extensions"}),"\xa0 These extensions apply to the base schema below:",(0,f.jsx)("p",{children:(0,f.jsx)(h,{schema:m})}),(0,f.jsx)(u.Collapsible,{summary:(0,f.jsxs)(f.Fragment,{children:[(0,f.jsx)("strong",{children:(0,f.jsx)(c.GenerateFriendlyName,{schema:p})}),"\xa0",(0,f.jsx)("span",{className:"badge badge--info",children:"base schema"})]}),detailsProps:{open:!0},children:(0,f.jsx)(i.SchemaHierarchyComponent,{innerJsonPointer:`/${n}/0`,children:(0,f.jsx)(h,{schema:r})})})]})}function h(e){const{level:t}=(0,i.useSchemaHierarchyContext)(),{schemaIndex:n}=(0,s.J5)(),{schema:r,...u}=e,{[s.D9]:c}=r;if(c&&c in n&&t>0){const{href:e,title:t=`${c.startsWith("schema:")?c.slice(7):c} schema`}=n[c];return(0,f.jsx)(f.Fragment,{children:(0,f.jsxs)("p",{children:["See ",(0,f.jsx)(a.Z,{to:e,children:t})," documentation."]})})}const l=function(e){if("boolean"==typeof e)return;const t=["allOf","oneOf","anyOf"].filter((t=>t in e&&1===(e[t]||[]).length));if(1!==t.length)return;const[n]=t,{[n]:r,...o}=e,[i]=r;return{unnecessarilyComposedSchema:i,unnecessaryCompositionKeyword:n,schemaWithoutUnnecessaryComposition:o}}(r);return l?(0,f.jsx)(d,{...l}):(0,f.jsx)(f.Fragment,{children:(0,f.jsx)(o(),{schema:r,...u})})}},5091:(e,t)=>{function n(e,t,n,r){var i={};return function(s){if(!i[s]){var a={},u=[],c=[];for(c.push({node:s,processed:!1});c.length>0;){var l=c[c.length-1],f=l.processed,d=l.node;if(f)c.pop(),u.pop(),a[d]=!1,i[d]=!0,t&&0!==e[d].length||n.push(d);else{if(i[d]){c.pop();continue}if(a[d]){if(r){c.pop();continue}throw u.push(d),new o(u)}a[d]=!0,u.push(d);for(var h=e[d],p=h.length-1;p>=0;p--)c.push({node:h[p],processed:!1});l.processed=!0}}}}}var r=t.DepGraph=function(e){this.nodes={},this.outgoingEdges={},this.incomingEdges={},this.circular=e&&!!e.circular};r.prototype={size:function(){return Object.keys(this.nodes).length},addNode:function(e,t){this.hasNode(e)||(this.nodes[e]=2===arguments.length?t:e,this.outgoingEdges[e]=[],this.incomingEdges[e]=[])},removeNode:function(e){this.hasNode(e)&&(delete this.nodes[e],delete this.outgoingEdges[e],delete this.incomingEdges[e],[this.incomingEdges,this.outgoingEdges].forEach((function(t){Object.keys(t).forEach((function(n){var r=t[n].indexOf(e);r>=0&&t[n].splice(r,1)}),this)})))},hasNode:function(e){return this.nodes.hasOwnProperty(e)},getNodeData:function(e){if(this.hasNode(e))return this.nodes[e];throw new Error("Node does not exist: "+e)},setNodeData:function(e,t){if(!this.hasNode(e))throw new Error("Node does not exist: "+e);this.nodes[e]=t},addDependency:function(e,t){if(!this.hasNode(e))throw new Error("Node does not exist: "+e);if(!this.hasNode(t))throw new Error("Node does not exist: "+t);return-1===this.outgoingEdges[e].indexOf(t)&&this.outgoingEdges[e].push(t),-1===this.incomingEdges[t].indexOf(e)&&this.incomingEdges[t].push(e),!0},removeDependency:function(e,t){var n;this.hasNode(e)&&(n=this.outgoingEdges[e].indexOf(t))>=0&&this.outgoingEdges[e].splice(n,1),this.hasNode(t)&&(n=this.incomingEdges[t].indexOf(e))>=0&&this.incomingEdges[t].splice(n,1)},clone:function(){var e=this,t=new r;return Object.keys(e.nodes).forEach((function(n){t.nodes[n]=e.nodes[n],t.outgoingEdges[n]=e.outgoingEdges[n].slice(0),t.incomingEdges[n]=e.incomingEdges[n].slice(0)})),t},directDependenciesOf:function(e){if(this.hasNode(e))return this.outgoingEdges[e].slice(0);throw new Error("Node does not exist: "+e)},directDependantsOf:function(e){if(this.hasNode(e))return this.incomingEdges[e].slice(0);throw new Error("Node does not exist: "+e)},dependenciesOf:function(e,t){if(this.hasNode(e)){var r=[];n(this.outgoingEdges,t,r,this.circular)(e);var o=r.indexOf(e);return o>=0&&r.splice(o,1),r}throw new Error("Node does not exist: "+e)},dependantsOf:function(e,t){if(this.hasNode(e)){var r=[];n(this.incomingEdges,t,r,this.circular)(e);var o=r.indexOf(e);return o>=0&&r.splice(o,1),r}throw new Error("Node does not exist: "+e)},overallOrder:function(e){var t=this,r=[],o=Object.keys(this.nodes);if(0===o.length)return r;if(!this.circular){var i=n(this.outgoingEdges,!1,[],this.circular);o.forEach((function(e){i(e)}))}var s=n(this.outgoingEdges,e,r,this.circular);return o.filter((function(e){return 0===t.incomingEdges[e].length})).forEach((function(e){s(e)})),this.circular&&o.filter((function(e){return-1===r.indexOf(e)})).forEach((function(e){s(e)})),r},entryNodes:function(){var e=this;return Object.keys(this.nodes).filter((function(t){return 0===e.incomingEdges[t].length}))}},r.prototype.directDependentsOf=r.prototype.directDependantsOf,r.prototype.dependentsOf=r.prototype.dependantsOf;var o=t.DepGraphCycleError=function(e){var t="Dependency Cycle Found: "+e.join(" -> "),n=new Error(t);return n.cyclePath=e,Object.setPrototypeOf(n,Object.getPrototypeOf(this)),Error.captureStackTrace&&Error.captureStackTrace(n,o),n};o.prototype=Object.create(Error.prototype,{constructor:{value:Error,enumerable:!1,writable:!0,configurable:!0}}),Object.setPrototypeOf(o,Error)},49385:e=>{"use strict";var t=Object.prototype.hasOwnProperty,n=Object.prototype.toString,r=Object.defineProperty,o=Object.getOwnPropertyDescriptor,i=function(e){return"function"==typeof Array.isArray?Array.isArray(e):"[object Array]"===n.call(e)},s=function(e){if(!e||"[object Object]"!==n.call(e))return!1;var r,o=t.call(e,"constructor"),i=e.constructor&&e.constructor.prototype&&t.call(e.constructor.prototype,"isPrototypeOf");if(e.constructor&&!o&&!i)return!1;for(r in e);return void 0===r||t.call(e,r)},a=function(e,t){r&&"__proto__"===t.name?r(e,t.name,{enumerable:!0,configurable:!0,value:t.newValue,writable:!0}):e[t.name]=t.newValue},u=function(e,n){if("__proto__"===n){if(!t.call(e,n))return;if(o)return o(e,n).value}return e[n]};e.exports=function e(){var t,n,r,o,c,l,f=arguments[0],d=1,h=arguments.length,p=!1;for("boolean"==typeof f&&(p=f,f=arguments[1]||{},d=2),(null==f||"object"!=typeof f&&"function"!=typeof f)&&(f={});d<h;++d)if(null!=(t=arguments[d]))for(n in t)r=u(f,n),f!==(o=u(t,n))&&(p&&o&&(s(o)||(c=i(o)))?(c?(c=!1,l=r&&i(r)?r:[]):l=r&&s(r)?r:{},a(f,{name:n,newValue:e(p,l,o)})):void 0!==o&&a(f,{name:n,newValue:o}));return f}},69378:e=>{"use strict";e.exports=function e(t,n){if(t===n)return!0;if(t&&n&&"object"==typeof t&&"object"==typeof n){if(t.constructor!==n.constructor)return!1;var r,o,i;if(Array.isArray(t)){if((r=t.length)!=n.length)return!1;for(o=r;0!=o--;)if(!e(t[o],n[o]))return!1;return!0}if(t.constructor===RegExp)return t.source===n.source&&t.flags===n.flags;if(t.valueOf!==Object.prototype.valueOf)return t.valueOf()===n.valueOf();if(t.toString!==Object.prototype.toString)return t.toString()===n.toString();if((r=(i=Object.keys(t)).length)!==Object.keys(n).length)return!1;for(o=r;0!=o--;)if(!Object.prototype.hasOwnProperty.call(n,i[o]))return!1;for(o=r;0!=o--;){var s=i[o];if(!e(t[s],n[s]))return!1}return!0}return t!=t&&n!=n}},6238:e=>{function t(e,t,n,r){var o,i=null==(o=r)||"number"==typeof o||"boolean"==typeof o?r:n(r),s=t.get(i);return void 0===s&&(s=e.call(this,r),t.set(i,s)),s}function n(e,t,n){var r=Array.prototype.slice.call(arguments,3),o=n(r),i=t.get(o);return void 0===i&&(i=e.apply(this,r),t.set(o,i)),i}function r(e,t,n,r,o){return n.bind(t,e,r,o)}function o(e,o){return r(e,this,1===e.length?t:n,o.cache.create(),o.serializer)}function i(){return JSON.stringify(arguments)}function s(){this.cache=Object.create(null)}s.prototype.has=function(e){return e in this.cache},s.prototype.get=function(e){return this.cache[e]},s.prototype.set=function(e,t){this.cache[e]=t};var a={create:function(){return new s}};e.exports=function(e,t){var n=t&&t.cache?t.cache:a,r=t&&t.serializer?t.serializer:i;return(t&&t.strategy?t.strategy:o)(e,{cache:n,serializer:r})},e.exports.strategies={variadic:function(e,t){return r(e,this,n,t.cache.create(),t.serializer)},monadic:function(e,n){return r(e,this,t,n.cache.create(),n.serializer)}}},50340:(e,t)=>{function n(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];throw Error("[Immer] minified error nr: "+e+(n.length?" "+n.map((function(e){return"'"+e+"'"})).join(","):"")+". Find the full error at: https://bit.ly/3cXEKWf")}function r(e){return!!e&&!!e[K]}function o(e){var t;return!!e&&(function(e){if(!e||"object"!=typeof e)return!1;var t=Object.getPrototypeOf(e);if(null===t)return!0;var n=Object.hasOwnProperty.call(t,"constructor")&&t.constructor;return n===Object||"function"==typeof n&&Function.toString.call(n)===W}(e)||Array.isArray(e)||!!e[H]||!!(null===(t=e.constructor)||void 0===t?void 0:t[H])||f(e)||d(e))}function i(e,t,n){void 0===n&&(n=!1),0===s(e)?(n?Object.keys:G)(e).forEach((function(r){n&&"symbol"==typeof r||t(r,e[r],e)})):e.forEach((function(n,r){return t(r,n,e)}))}function s(e){var t=e[K];return t?t.t>3?t.t-4:t.t:Array.isArray(e)?1:f(e)?2:d(e)?3:0}function a(e,t){return 2===s(e)?e.has(t):Object.prototype.hasOwnProperty.call(e,t)}function u(e,t){return 2===s(e)?e.get(t):e[t]}function c(e,t,n){var r=s(e);2===r?e.set(t,n):3===r?e.add(n):e[t]=n}function l(e,t){return e===t?0!==e||1/e==1/t:e!=e&&t!=t}function f(e){return q&&e instanceof Map}function d(e){return V&&e instanceof Set}function h(e){return e.i||e.u}function p(e){if(Array.isArray(e))return Array.prototype.slice.call(e);var t=Z(e);delete t[K];for(var n=G(t),r=0;r<n.length;r++){var o=n[r],i=t[o];!1===i.writable&&(i.writable=!0,i.configurable=!0),(i.get||i.set)&&(t[o]={configurable:!0,writable:!0,enumerable:i.enumerable,value:e[o]})}return Object.create(Object.getPrototypeOf(e),t)}function m(e,t){return void 0===t&&(t=!1),y(e)||r(e)||!o(e)||(s(e)>1&&(e.set=e.add=e.clear=e.delete=g),Object.freeze(e),t&&i(e,(function(e,t){return m(t,!0)}),!0)),e}function g(){n(2)}function y(e){return null==e||"object"!=typeof e||Object.isFrozen(e)}function v(e){var t=Y[e];return t||n(18,e),t}function b(e,t){Y[e]||(Y[e]=t)}function _(){return z}function w(e,t){t&&(v("Patches"),e.o=[],e.v=[],e.s=t)}function E(e){k(e),e.p.forEach(D),e.p=null}function k(e){e===z&&(z=e.l)}function x(e){return z={p:[],l:z,h:e,_:!0,m:0}}function D(e){var t=e[K];0===t.t||1===t.t?t.j():t.O=!0}function S(e,t){t.m=t.p.length;var r=t.p[0],i=void 0!==e&&e!==r;return t.h.S||v("ES5").P(t,e,i),i?(r[K].g&&(E(t),n(4)),o(e)&&(e=C(t,e),t.l||$(t,e)),t.o&&v("Patches").M(r[K].u,e,t.o,t.v)):e=C(t,r,[]),E(t),t.o&&t.s(t.o,t.v),e!==X?e:void 0}function C(e,t,n){if(y(t))return t;var r=t[K];if(!r)return i(t,(function(o,i){return O(e,r,t,o,i,n)}),!0),t;if(r.A!==e)return t;if(!r.g)return $(e,r.u,!0),r.u;if(!r.R){r.R=!0,r.A.m--;var o=4===r.t||5===r.t?r.i=p(r.k):r.i,s=o,a=!1;3===r.t&&(s=new Set(o),o.clear(),a=!0),i(s,(function(t,i){return O(e,r,o,t,i,n,a)})),$(e,o,!1),n&&e.o&&v("Patches").F(r,n,e.o,e.v)}return r.i}function O(e,t,n,i,s,u,l){if(r(s)){var f=C(e,s,u&&t&&3!==t.t&&!a(t.N,i)?u.concat(i):void 0);if(c(n,i,f),!r(f))return;e._=!1}else l&&n.add(s);if(o(s)&&!y(s)){if(!e.h.D&&e.m<1)return;C(e,s),t&&t.A.l||$(e,s)}}function $(e,t,n){void 0===n&&(n=!1),!e.l&&e.h.D&&e._&&m(t,n)}function A(e,t){var n=e[K];return(n?h(n):e)[t]}function P(e,t){if(t in e)for(var n=Object.getPrototypeOf(e);n;){var r=Object.getOwnPropertyDescriptor(n,t);if(r)return r;n=Object.getPrototypeOf(n)}}function j(e){e.g||(e.g=!0,e.l&&j(e.l))}function F(e){e.i||(e.i=p(e.u))}function I(e,t,n){var r=f(t)?v("MapSet").K(t,n):d(t)?v("MapSet").$(t,n):e.S?function(e,t){var n=Array.isArray(e),r={t:n?1:0,A:t?t.A:_(),g:!1,R:!1,N:{},l:t,u:e,k:null,i:null,j:null,C:!1},o=r,i=ee;n&&(o=[r],i=te);var s=Proxy.revocable(o,i),a=s.revoke,u=s.proxy;return r.k=u,r.j=a,u}(t,n):v("ES5").I(t,n);return(n?n.A:_()).p.push(r),r}function N(e){return r(e)||n(22,e),function e(t){if(!o(t))return t;var n,r=t[K],a=s(t);if(r){if(!r.g&&(r.t<4||!v("ES5").J(r)))return r.u;r.R=!0,n=T(t,a),r.R=!1}else n=T(t,a);return i(n,(function(t,o){r&&u(r.u,t)===o||c(n,t,e(o))})),3===a?new Set(n):n}(e)}function T(e,t){switch(t){case 2:return new Map(e);case 3:return Array.from(e)}return p(e)}function M(){function e(e,t){var n=s[e];return n?n.enumerable=t:s[e]=n={configurable:!0,enumerable:t,get:function(){return ee.get(this[K],e)},set:function(t){ee.set(this[K],e,t)}},n}function t(e){for(var t=e.length-1;t>=0;t--){var r=e[t][K];if(!r.g)switch(r.t){case 5:o(r)&&j(r);break;case 4:n(r)&&j(r)}}}function n(e){for(var t=e.u,n=e.k,r=G(n),o=r.length-1;o>=0;o--){var i=r[o];if(i!==K){var s=t[i];if(void 0===s&&!a(t,i))return!0;var u=n[i],c=u&&u[K];if(c?c.u!==s:!l(u,s))return!0}}var f=!!t[K];return r.length!==G(t).length+(f?0:1)}function o(e){var t=e.k;if(t.length!==e.u.length)return!0;var n=Object.getOwnPropertyDescriptor(t,t.length-1);if(n&&!n.get)return!0;for(var r=0;r<t.length;r++)if(!t.hasOwnProperty(r))return!0;return!1}var s={};b("ES5",{I:function(t,n){var r=Array.isArray(t),o=function(t,n){if(t){for(var r=Array(n.length),o=0;o<n.length;o++)Object.defineProperty(r,""+o,e(o,!0));return r}var i=Z(n);delete i[K];for(var s=G(i),a=0;a<s.length;a++){var u=s[a];i[u]=e(u,t||!!i[u].enumerable)}return Object.create(Object.getPrototypeOf(n),i)}(r,t),i={t:r?5:4,A:n?n.A:_(),g:!1,R:!1,N:{},l:n,u:t,k:o,i:null,O:!1,C:!1};return Object.defineProperty(o,K,{value:i,writable:!0}),o},P:function(e,n,s){s?r(n)&&n[K].A===e&&t(e.p):(e.o&&function e(t){if(t&&"object"==typeof t){var n=t[K];if(n){var r=n.u,s=n.k,u=n.N,c=n.t;if(4===c)i(s,(function(t){t!==K&&(void 0!==r[t]||a(r,t)?u[t]||e(s[t]):(u[t]=!0,j(n)))})),i(r,(function(e){void 0!==s[e]||a(s,e)||(u[e]=!1,j(n))}));else if(5===c){if(o(n)&&(j(n),u.length=!0),s.length<r.length)for(var l=s.length;l<r.length;l++)u[l]=!1;else for(var f=r.length;f<s.length;f++)u[f]=!0;for(var d=Math.min(s.length,r.length),h=0;h<d;h++)s.hasOwnProperty(h)||(u[h]=!0),void 0===u[h]&&e(s[h])}}}}(e.p[0]),t(e.p))},J:function(e){return 4===e.t?n(e):o(e)}})}function R(){function e(t){if(!o(t))return t;if(Array.isArray(t))return t.map(e);if(f(t))return new Map(Array.from(t.entries()).map((function(t){return[t[0],e(t[1])]})));if(d(t))return new Set(Array.from(t).map(e));var n=Object.create(Object.getPrototypeOf(t));for(var r in t)n[r]=e(t[r]);return a(t,H)&&(n[H]=t[H]),n}function t(t){return r(t)?e(t):t}var c="add";b("Patches",{W:function(t,r){return r.forEach((function(r){for(var o=r.path,i=r.op,a=t,l=0;l<o.length-1;l++){var f=s(a),d=o[l];"string"!=typeof d&&"number"!=typeof d&&(d=""+d),0!==f&&1!==f||"__proto__"!==d&&"constructor"!==d||n(24),"function"==typeof a&&"prototype"===d&&n(24),"object"!=typeof(a=u(a,d))&&n(15,o.join("/"))}var h=s(a),p=e(r.value),m=o[o.length-1];switch(i){case"replace":switch(h){case 2:return a.set(m,p);case 3:n(16);default:return a[m]=p}case c:switch(h){case 1:return"-"===m?a.push(p):a.splice(m,0,p);case 2:return a.set(m,p);case 3:return a.add(p);default:return a[m]=p}case"remove":switch(h){case 1:return a.splice(m,1);case 2:return a.delete(m);case 3:return a.delete(r.value);default:return delete a[m]}default:n(17,i)}})),t},F:function(e,n,r,o){switch(e.t){case 0:case 4:case 2:return function(e,n,r,o){var s=e.u,l=e.i;i(e.N,(function(e,i){var f=u(s,e),d=u(l,e),h=i?a(s,e)?"replace":c:"remove";if(f!==d||"replace"!==h){var p=n.concat(e);r.push("remove"===h?{op:h,path:p}:{op:h,path:p,value:d}),o.push(h===c?{op:"remove",path:p}:"remove"===h?{op:c,path:p,value:t(f)}:{op:"replace",path:p,value:t(f)})}}))}(e,n,r,o);case 5:case 1:return function(e,n,r,o){var i=e.u,s=e.N,a=e.i;if(a.length<i.length){var u=[a,i];i=u[0],a=u[1];var l=[o,r];r=l[0],o=l[1]}for(var f=0;f<i.length;f++)if(s[f]&&a[f]!==i[f]){var d=n.concat([f]);r.push({op:"replace",path:d,value:t(a[f])}),o.push({op:"replace",path:d,value:t(i[f])})}for(var h=i.length;h<a.length;h++){var p=n.concat([h]);r.push({op:c,path:p,value:t(a[h])})}i.length<a.length&&o.push({op:"replace",path:n.concat(["length"]),value:i.length})}(e,n,r,o);case 3:return function(e,t,n,r){var o=e.u,i=e.i,s=0;o.forEach((function(e){if(!i.has(e)){var o=t.concat([s]);n.push({op:"remove",path:o,value:e}),r.unshift({op:c,path:o,value:e})}s++})),s=0,i.forEach((function(e){if(!o.has(e)){var i=t.concat([s]);n.push({op:c,path:i,value:e}),r.unshift({op:"remove",path:i,value:e})}s++}))}(e,n,r,o)}},M:function(e,t,n,r){n.push({op:"replace",path:[],value:t===X?void 0:t}),r.push({op:"replace",path:[],value:e})}})}function B(){function e(e,t){function n(){this.constructor=e}a(e,t),e.prototype=(n.prototype=t.prototype,new n)}function t(e){e.i||(e.N=new Map,e.i=new Map(e.u))}function r(e){e.i||(e.i=new Set,e.u.forEach((function(t){if(o(t)){var n=I(e.A.h,t,e);e.p.set(t,n),e.i.add(n)}else e.i.add(t)})))}function s(e){e.O&&n(3,JSON.stringify(h(e)))}var a=function(e,t){return(a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},u=function(){function n(e,t){return this[K]={t:2,l:t,A:t?t.A:_(),g:!1,R:!1,i:void 0,N:void 0,u:e,k:this,C:!1,O:!1},this}e(n,Map);var r=n.prototype;return Object.defineProperty(r,"size",{get:function(){return h(this[K]).size}}),r.has=function(e){return h(this[K]).has(e)},r.set=function(e,n){var r=this[K];return s(r),h(r).has(e)&&h(r).get(e)===n||(t(r),j(r),r.N.set(e,!0),r.i.set(e,n),r.N.set(e,!0)),this},r.delete=function(e){if(!this.has(e))return!1;var n=this[K];return s(n),t(n),j(n),n.u.has(e)?n.N.set(e,!1):n.N.delete(e),n.i.delete(e),!0},r.clear=function(){var e=this[K];s(e),h(e).size&&(t(e),j(e),e.N=new Map,i(e.u,(function(t){e.N.set(t,!1)})),e.i.clear())},r.forEach=function(e,t){var n=this;h(this[K]).forEach((function(r,o){e.call(t,n.get(o),o,n)}))},r.get=function(e){var n=this[K];s(n);var r=h(n).get(e);if(n.R||!o(r))return r;if(r!==n.u.get(e))return r;var i=I(n.A.h,r,n);return t(n),n.i.set(e,i),i},r.keys=function(){return h(this[K]).keys()},r.values=function(){var e,t=this,n=this.keys();return(e={})[J]=function(){return t.values()},e.next=function(){var e=n.next();return e.done?e:{done:!1,value:t.get(e.value)}},e},r.entries=function(){var e,t=this,n=this.keys();return(e={})[J]=function(){return t.entries()},e.next=function(){var e=n.next();if(e.done)return e;var r=t.get(e.value);return{done:!1,value:[e.value,r]}},e},r[J]=function(){return this.entries()},n}(),c=function(){function t(e,t){return this[K]={t:3,l:t,A:t?t.A:_(),g:!1,R:!1,i:void 0,u:e,k:this,p:new Map,O:!1,C:!1},this}e(t,Set);var n=t.prototype;return Object.defineProperty(n,"size",{get:function(){return h(this[K]).size}}),n.has=function(e){var t=this[K];return s(t),t.i?!!t.i.has(e)||!(!t.p.has(e)||!t.i.has(t.p.get(e))):t.u.has(e)},n.add=function(e){var t=this[K];return s(t),this.has(e)||(r(t),j(t),t.i.add(e)),this},n.delete=function(e){if(!this.has(e))return!1;var t=this[K];return s(t),r(t),j(t),t.i.delete(e)||!!t.p.has(e)&&t.i.delete(t.p.get(e))},n.clear=function(){var e=this[K];s(e),h(e).size&&(r(e),j(e),e.i.clear())},n.values=function(){var e=this[K];return s(e),r(e),e.i.values()},n.entries=function(){var e=this[K];return s(e),r(e),e.i.entries()},n.keys=function(){return this.values()},n[J]=function(){return this.values()},n.forEach=function(e,t){for(var n=this.values(),r=n.next();!r.done;)e.call(t,r.value,r.value,this),r=n.next()},t}();b("MapSet",{K:function(e,t){return new u(e,t)},$:function(e,t){return new c(e,t)}})}var L;Object.defineProperty(t,"__esModule",{value:!0});var z,U="undefined"!=typeof Symbol&&"symbol"==typeof Symbol("x"),q="undefined"!=typeof Map,V="undefined"!=typeof Set,Q="undefined"!=typeof Proxy&&void 0!==Proxy.revocable&&"undefined"!=typeof Reflect,X=U?Symbol.for("immer-nothing"):((L={})["immer-nothing"]=!0,L),H=U?Symbol.for("immer-draftable"):"__$immer_draftable",K=U?Symbol.for("immer-state"):"__$immer_state",J="undefined"!=typeof Symbol&&Symbol.iterator||"@@iterator",W=""+Object.prototype.constructor,G="undefined"!=typeof Reflect&&Reflect.ownKeys?Reflect.ownKeys:void 0!==Object.getOwnPropertySymbols?function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:Object.getOwnPropertyNames,Z=Object.getOwnPropertyDescriptors||function(e){var t={};return G(e).forEach((function(n){t[n]=Object.getOwnPropertyDescriptor(e,n)})),t},Y={},ee={get:function(e,t){if(t===K)return e;var n=h(e);if(!a(n,t))return function(e,t,n){var r,o=P(t,n);return o?"value"in o?o.value:null===(r=o.get)||void 0===r?void 0:r.call(e.k):void 0}(e,n,t);var r=n[t];return e.R||!o(r)?r:r===A(e.u,t)?(F(e),e.i[t]=I(e.A.h,r,e)):r},has:function(e,t){return t in h(e)},ownKeys:function(e){return Reflect.ownKeys(h(e))},set:function(e,t,n){var r=P(h(e),t);if(null==r?void 0:r.set)return r.set.call(e.k,n),!0;if(!e.g){var o=A(h(e),t),i=null==o?void 0:o[K];if(i&&i.u===n)return e.i[t]=n,e.N[t]=!1,!0;if(l(n,o)&&(void 0!==n||a(e.u,t)))return!0;F(e),j(e)}return e.i[t]===n&&(void 0!==n||t in e.i)||Number.isNaN(n)&&Number.isNaN(e.i[t])||(e.i[t]=n,e.N[t]=!0),!0},deleteProperty:function(e,t){return void 0!==A(e.u,t)||t in e.u?(e.N[t]=!1,F(e),j(e)):delete e.N[t],e.i&&delete e.i[t],!0},getOwnPropertyDescriptor:function(e,t){var n=h(e),r=Reflect.getOwnPropertyDescriptor(n,t);return r?{writable:!0,configurable:1!==e.t||"length"!==t,enumerable:r.enumerable,value:n[t]}:r},defineProperty:function(){n(11)},getPrototypeOf:function(e){return Object.getPrototypeOf(e.u)},setPrototypeOf:function(){n(12)}},te={};i(ee,(function(e,t){te[e]=function(){return arguments[0]=arguments[0][0],t.apply(this,arguments)}})),te.deleteProperty=function(e,t){return te.set.call(this,e,t,void 0)},te.set=function(e,t,n){return ee.set.call(this,e[0],t,n,e[0])};var ne=function(){function e(e){var t=this;this.S=Q,this.D=!0,this.produce=function(e,r,i){if("function"==typeof e&&"function"!=typeof r){var s=r;r=e;var a=t;return function(e){var t=this;void 0===e&&(e=s);for(var n=arguments.length,o=Array(n>1?n-1:0),i=1;i<n;i++)o[i-1]=arguments[i];return a.produce(e,(function(e){var n;return(n=r).call.apply(n,[t,e].concat(o))}))}}var u;if("function"!=typeof r&&n(6),void 0!==i&&"function"!=typeof i&&n(7),o(e)){var c=x(t),l=I(t,e,void 0),f=!0;try{u=r(l),f=!1}finally{f?E(c):k(c)}return"undefined"!=typeof Promise&&u instanceof Promise?u.then((function(e){return w(c,i),S(e,c)}),(function(e){throw E(c),e})):(w(c,i),S(u,c))}if(!e||"object"!=typeof e){if(void 0===(u=r(e))&&(u=e),u===X&&(u=void 0),t.D&&m(u,!0),i){var d=[],h=[];v("Patches").M(e,u,d,h),i(d,h)}return u}n(21,e)},this.produceWithPatches=function(e,n){if("function"==typeof e)return function(n){for(var r=arguments.length,o=Array(r>1?r-1:0),i=1;i<r;i++)o[i-1]=arguments[i];return t.produceWithPatches(n,(function(t){return e.apply(void 0,[t].concat(o))}))};var r,o,i=t.produce(e,n,(function(e,t){r=e,o=t}));return"undefined"!=typeof Promise&&i instanceof Promise?i.then((function(e){return[e,r,o]})):[i,r,o]},"boolean"==typeof(null==e?void 0:e.useProxies)&&this.setUseProxies(e.useProxies),"boolean"==typeof(null==e?void 0:e.autoFreeze)&&this.setAutoFreeze(e.autoFreeze)}var t=e.prototype;return t.createDraft=function(e){o(e)||n(8),r(e)&&(e=N(e));var t=x(this),i=I(this,e,void 0);return i[K].C=!0,k(t),i},t.finishDraft=function(e,t){var n=(e&&e[K]).A;return w(n,t),S(void 0,n)},t.setAutoFreeze=function(e){this.D=e},t.setUseProxies=function(e){e&&!Q&&n(20),this.S=e},t.applyPatches=function(e,t){var n;for(n=t.length-1;n>=0;n--){var o=t[n];if(0===o.path.length&&"replace"===o.op){e=o.value;break}}n>-1&&(t=t.slice(n+1));var i=v("Patches").W;return r(e)?i(e,t):this.produce(e,(function(e){return i(e,t)}))},e}(),re=new ne,oe=re.produce,ie=re.produceWithPatches.bind(re),se=re.setAutoFreeze.bind(re),ae=re.setUseProxies.bind(re),ue=re.applyPatches.bind(re),ce=re.createDraft.bind(re),le=re.finishDraft.bind(re);t.Immer=ne,t.applyPatches=ue,t.castDraft=function(e){return e},t.castImmutable=function(e){return e},t.createDraft=ce,t.current=N,t.default=oe,t.enableAllPlugins=function(){M(),B(),R()},t.enableES5=M,t.enableMapSet=B,t.enablePatches=R,t.finishDraft=le,t.freeze=m,t.immerable=H,t.isDraft=r,t.isDraftable=o,t.nothing=X,t.original=function(e){return r(e)||n(23,e),e[K].u},t.produce=oe,t.produceWithPatches=ie,t.setAutoFreeze=se,t.setUseProxies=ae},30412:(e,t,n)=>{"use strict";e.exports=n(50340)},6299:e=>{var t=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,n=/\n/g,r=/^\s*/,o=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,i=/^:\s*/,s=/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/,a=/^[;\s]*/,u=/^\s+|\s+$/g,c="";function l(e){return e?e.replace(u,c):c}e.exports=function(e,u){if("string"!=typeof e)throw new TypeError("First argument must be a string");if(!e)return[];u=u||{};var f=1,d=1;function h(e){var t=e.match(n);t&&(f+=t.length);var r=e.lastIndexOf("\n");d=~r?e.length-r:d+e.length}function p(){var e={line:f,column:d};return function(t){return t.position=new m(e),b(),t}}function m(e){this.start=e,this.end={line:f,column:d},this.source=u.source}m.prototype.content=e;var g=[];function y(t){var n=new Error(u.source+":"+f+":"+d+": "+t);if(n.reason=t,n.filename=u.source,n.line=f,n.column=d,n.source=e,!u.silent)throw n;g.push(n)}function v(t){var n=t.exec(e);if(n){var r=n[0];return h(r),e=e.slice(r.length),n}}function b(){v(r)}function _(e){var t;for(e=e||[];t=w();)!1!==t&&e.push(t);return e}function w(){var t=p();if("/"==e.charAt(0)&&"*"==e.charAt(1)){for(var n=2;c!=e.charAt(n)&&("*"!=e.charAt(n)||"/"!=e.charAt(n+1));)++n;if(n+=2,c===e.charAt(n-1))return y("End of comment missing");var r=e.slice(2,n-2);return d+=2,h(r),e=e.slice(n),d+=2,t({type:"comment",comment:r})}}function E(){var e=p(),n=v(o);if(n){if(w(),!v(i))return y("property missing ':'");var r=v(s),u=e({type:"declaration",property:l(n[0].replace(t,c)),value:r?l(r[0].replace(t,c)):c});return v(a),u}}return b(),function(){var e,t=[];for(_(t);e=E();)!1!==e&&(t.push(e),_(t));return t}()}},19522:e=>{"use strict";var t=e.exports=function(e,t,r){"function"==typeof t&&(r=t,t={}),n(t,"function"==typeof(r=t.cb||r)?r:r.pre||function(){},r.post||function(){},e,"",e)};function n(e,r,o,i,s,a,u,c,l,f){if(i&&"object"==typeof i&&!Array.isArray(i)){for(var d in r(i,s,a,u,c,l,f),i){var h=i[d];if(Array.isArray(h)){if(d in t.arrayKeywords)for(var p=0;p<h.length;p++)n(e,r,o,h[p],s+"/"+d+"/"+p,a,s,d,i,p)}else if(d in t.propsKeywords){if(h&&"object"==typeof h)for(var m in h)n(e,r,o,h[m],s+"/"+d+"/"+m.replace(/~/g,"~0").replace(/\//g,"~1"),a,s,d,i,m)}else(d in t.keywords||e.allKeys&&!(d in t.skipKeywords))&&n(e,r,o,h,s+"/"+d,a,s,d,i)}o(i,s,a,u,c,l,f)}}t.keywords={additionalItems:!0,items:!0,contains:!0,additionalProperties:!0,propertyNames:!0,not:!0,if:!0,then:!0,else:!0},t.arrayKeywords={items:!0,allOf:!0,anyOf:!0,oneOf:!0},t.propsKeywords={$defs:!0,definitions:!0,properties:!0,patternProperties:!0,dependencies:!0},t.skipKeywords={default:!0,enum:!0,const:!0,required:!0,maximum:!0,minimum:!0,exclusiveMaximum:!0,exclusiveMinimum:!0,multipleOf:!0,maxLength:!0,minLength:!0,pattern:!0,format:!0,maxItems:!0,minItems:!0,uniqueItems:!0,maxProperties:!0,minProperties:!0}},96111:function(e){e.exports=function(){"use strict";function e(e,t){return e(t={exports:{}},t.exports),t.exports}var t=e((function(e){var t=e.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=t)})),n=e((function(e){var t=e.exports={version:"2.6.5"};"number"==typeof __e&&(__e=t)})),r=(n.version,function(e){return"object"==typeof e?null!==e:"function"==typeof e}),o=function(e){if(!r(e))throw TypeError(e+" is not an object!");return e},i=function(e){try{return!!e()}catch(t){return!0}},s=!i((function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})),a=t.document,u=r(a)&&r(a.createElement),c=function(e){return u?a.createElement(e):{}},l=!s&&!i((function(){return 7!=Object.defineProperty(c("div"),"a",{get:function(){return 7}}).a})),f=function(e,t){if(!r(e))return e;var n,o;if(t&&"function"==typeof(n=e.toString)&&!r(o=n.call(e)))return o;if("function"==typeof(n=e.valueOf)&&!r(o=n.call(e)))return o;if(!t&&"function"==typeof(n=e.toString)&&!r(o=n.call(e)))return o;throw TypeError("Can't convert object to primitive value")},d=Object.defineProperty,h={f:s?Object.defineProperty:function(e,t,n){if(o(e),t=f(t,!0),o(n),l)try{return d(e,t,n)}catch(r){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(e[t]=n.value),e}},p=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}},m=s?function(e,t,n){return h.f(e,t,p(1,n))}:function(e,t,n){return e[t]=n,e},g={}.hasOwnProperty,y=function(e,t){return g.call(e,t)},v=0,b=Math.random(),_=function(e){return"Symbol(".concat(void 0===e?"":e,")_",(++v+b).toString(36))},w=!1,E=e((function(e){var r="__core-js_shared__",o=t[r]||(t[r]={});(e.exports=function(e,t){return o[e]||(o[e]=void 0!==t?t:{})})("versions",[]).push({version:n.version,mode:w?"pure":"global",copyright:"\xa9 2019 Denis Pushkarev (zloirock.ru)"})})),k=E("native-function-to-string",Function.toString),x=e((function(e){var r=_("src"),o="toString",i=(""+k).split(o);n.inspectSource=function(e){return k.call(e)},(e.exports=function(e,n,o,s){var a="function"==typeof o;a&&(y(o,"name")||m(o,"name",n)),e[n]!==o&&(a&&(y(o,r)||m(o,r,e[n]?""+e[n]:i.join(String(n)))),e===t?e[n]=o:s?e[n]?e[n]=o:m(e,n,o):(delete e[n],m(e,n,o)))})(Function.prototype,o,(function(){return"function"==typeof this&&this[r]||k.call(this)}))})),D=function(e){if("function"!=typeof e)throw TypeError(e+" is not a function!");return e},S=function(e,t,n){if(D(e),void 0===t)return e;switch(n){case 1:return function(n){return e.call(t,n)};case 2:return function(n,r){return e.call(t,n,r)};case 3:return function(n,r,o){return e.call(t,n,r,o)}}return function(){return e.apply(t,arguments)}},C="prototype",O=function(e,r,o){var i,s,a,u,c=e&O.F,l=e&O.G,f=e&O.S,d=e&O.P,h=e&O.B,p=l?t:f?t[r]||(t[r]={}):(t[r]||{})[C],g=l?n:n[r]||(n[r]={}),y=g[C]||(g[C]={});for(i in l&&(o=r),o)a=((s=!c&&p&&void 0!==p[i])?p:o)[i],u=h&&s?S(a,t):d&&"function"==typeof a?S(Function.call,a):a,p&&x(p,i,a,e&O.U),g[i]!=a&&m(g,i,u),d&&y[i]!=a&&(y[i]=a)};t.core=n,O.F=1,O.G=2,O.S=4,O.P=8,O.B=16,O.W=32,O.U=64,O.R=128;var $,A=O,P=Math.ceil,j=Math.floor,F=function(e){return isNaN(e=+e)?0:(e>0?j:P)(e)},I=function(e){if(null==e)throw TypeError("Can't call method on "+e);return e},N=($=!1,function(e,t){var n,r,o=String(I(e)),i=F(t),s=o.length;return i<0||i>=s?$?"":void 0:(n=o.charCodeAt(i))<55296||n>56319||i+1===s||(r=o.charCodeAt(i+1))<56320||r>57343?$?o.charAt(i):n:$?o.slice(i,i+2):r-56320+(n-55296<<10)+65536});A(A.P,"String",{codePointAt:function(e){return N(this,e)}}),n.String.codePointAt;var T=Math.max,M=Math.min,R=function(e,t){return(e=F(e))<0?T(e+t,0):M(e,t)},B=String.fromCharCode,L=String.fromCodePoint;A(A.S+A.F*(!!L&&1!=L.length),"String",{fromCodePoint:function(e){for(var t,n=arguments,r=[],o=arguments.length,i=0;o>i;){if(t=+n[i++],R(t,1114111)!==t)throw RangeError(t+" is not a valid code point");r.push(t<65536?B(t):B(55296+((t-=65536)>>10),t%1024+56320))}return r.join("")}}),n.String.fromCodePoint;var z,U,q,V,Q,X,H,K,J,W,G,Z,Y,ee,te={Space_Separator:/[\u1680\u2000-\u200A\u202F\u205F\u3000]/,ID_Start:/[\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\u0860-\u086A\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\u09FC\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-\u312E\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FEA\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]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDD40-\uDD74\uDE80-\uDE9C\uDEA0-\uDED0\uDF00-\uDF1F\uDF2D-\uDF4A\uDF50-\uDF75\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF\uDFD1-\uDFD5]|\uD801[\uDC00-\uDC9D\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00\uDE10-\uDE13\uDE15-\uDE17\uDE19-\uDE33\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE4\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2]|\uD804[\uDC03-\uDC37\uDC83-\uDCAF\uDCD0-\uDCE8\uDD03-\uDD26\uDD50-\uDD72\uDD76\uDD83-\uDDB2\uDDC1-\uDDC4\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE2B\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEDE\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3D\uDF50\uDF5D-\uDF61]|\uD805[\uDC00-\uDC34\uDC47-\uDC4A\uDC80-\uDCAF\uDCC4\uDCC5\uDCC7\uDD80-\uDDAE\uDDD8-\uDDDB\uDE00-\uDE2F\uDE44\uDE80-\uDEAA\uDF00-\uDF19]|\uD806[\uDCA0-\uDCDF\uDCFF\uDE00\uDE0B-\uDE32\uDE3A\uDE50\uDE5C-\uDE83\uDE86-\uDE89\uDEC0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC2E\uDC40\uDC72-\uDC8F\uDD00-\uDD06\uDD08\uDD09\uDD0B-\uDD30\uDD46]|\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC80-\uDD43]|[\uD80C\uD81C-\uD820\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872\uD874-\uD879][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDED0-\uDEED\uDF00-\uDF2F\uDF40-\uDF43\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDF00-\uDF44\uDF50\uDF93-\uDF9F\uDFE0\uDFE1]|\uD821[\uDC00-\uDFEC]|\uD822[\uDC00-\uDEF2]|\uD82C[\uDC00-\uDD1E\uDD70-\uDEFB]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB]|\uD83A[\uDC00-\uDCC4\uDD00-\uDD43]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDED6\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF34\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1\uDEB0-\uDFFF]|\uD87A[\uDC00-\uDFE0]|\uD87E[\uDC00-\uDE1D]/,ID_Continue:/[\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\u0860-\u086A\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\u09FC\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-\u0AFF\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\u0D00-\u0D03\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\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-\u1CF9\u1D00-\u1DF9\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\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-\u312E\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FEA\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]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDD40-\uDD74\uDDFD\uDE80-\uDE9C\uDEA0-\uDED0\uDEE0\uDF00-\uDF1F\uDF2D-\uDF4A\uDF50-\uDF7A\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF\uDFD1-\uDFD5]|\uD801[\uDC00-\uDC9D\uDCA0-\uDCA9\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00-\uDE03\uDE05\uDE06\uDE0C-\uDE13\uDE15-\uDE17\uDE19-\uDE33\uDE38-\uDE3A\uDE3F\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE6\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2]|\uD804[\uDC00-\uDC46\uDC66-\uDC6F\uDC7F-\uDCBA\uDCD0-\uDCE8\uDCF0-\uDCF9\uDD00-\uDD34\uDD36-\uDD3F\uDD50-\uDD73\uDD76\uDD80-\uDDC4\uDDCA-\uDDCC\uDDD0-\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE37\uDE3E\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEEA\uDEF0-\uDEF9\uDF00-\uDF03\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3C-\uDF44\uDF47\uDF48\uDF4B-\uDF4D\uDF50\uDF57\uDF5D-\uDF63\uDF66-\uDF6C\uDF70-\uDF74]|\uD805[\uDC00-\uDC4A\uDC50-\uDC59\uDC80-\uDCC5\uDCC7\uDCD0-\uDCD9\uDD80-\uDDB5\uDDB8-\uDDC0\uDDD8-\uDDDD\uDE00-\uDE40\uDE44\uDE50-\uDE59\uDE80-\uDEB7\uDEC0-\uDEC9\uDF00-\uDF19\uDF1D-\uDF2B\uDF30-\uDF39]|\uD806[\uDCA0-\uDCE9\uDCFF\uDE00-\uDE3E\uDE47\uDE50-\uDE83\uDE86-\uDE99\uDEC0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC36\uDC38-\uDC40\uDC50-\uDC59\uDC72-\uDC8F\uDC92-\uDCA7\uDCA9-\uDCB6\uDD00-\uDD06\uDD08\uDD09\uDD0B-\uDD36\uDD3A\uDD3C\uDD3D\uDD3F-\uDD47\uDD50-\uDD59]|\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC80-\uDD43]|[\uD80C\uD81C-\uD820\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872\uD874-\uD879][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDE60-\uDE69\uDED0-\uDEED\uDEF0-\uDEF4\uDF00-\uDF36\uDF40-\uDF43\uDF50-\uDF59\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDF00-\uDF44\uDF50-\uDF7E\uDF8F-\uDF9F\uDFE0\uDFE1]|\uD821[\uDC00-\uDFEC]|\uD822[\uDC00-\uDEF2]|\uD82C[\uDC00-\uDD1E\uDD70-\uDEFB]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99\uDC9D\uDC9E]|\uD834[\uDD65-\uDD69\uDD6D-\uDD72\uDD7B-\uDD82\uDD85-\uDD8B\uDDAA-\uDDAD\uDE42-\uDE44]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB\uDFCE-\uDFFF]|\uD836[\uDE00-\uDE36\uDE3B-\uDE6C\uDE75\uDE84\uDE9B-\uDE9F\uDEA1-\uDEAF]|\uD838[\uDC00-\uDC06\uDC08-\uDC18\uDC1B-\uDC21\uDC23\uDC24\uDC26-\uDC2A]|\uD83A[\uDC00-\uDCC4\uDCD0-\uDCD6\uDD00-\uDD4A\uDD50-\uDD59]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDED6\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF34\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1\uDEB0-\uDFFF]|\uD87A[\uDC00-\uDFE0]|\uD87E[\uDC00-\uDE1D]|\uDB40[\uDD00-\uDDEF]/},ne={isSpaceSeparator:function(e){return"string"==typeof e&&te.Space_Separator.test(e)},isIdStartChar:function(e){return"string"==typeof e&&(e>="a"&&e<="z"||e>="A"&&e<="Z"||"$"===e||"_"===e||te.ID_Start.test(e))},isIdContinueChar:function(e){return"string"==typeof e&&(e>="a"&&e<="z"||e>="A"&&e<="Z"||e>="0"&&e<="9"||"$"===e||"_"===e||"\u200c"===e||"\u200d"===e||te.ID_Continue.test(e))},isDigit:function(e){return"string"==typeof e&&/[0-9]/.test(e)},isHexDigit:function(e){return"string"==typeof e&&/[0-9A-Fa-f]/.test(e)}},re=function(e,t){z=String(e),U="start",q=[],V=0,Q=1,X=0,H=void 0,K=void 0,J=void 0;do{H=ie(),pe[U]()}while("eof"!==H.type);return"function"==typeof t?oe({"":J},"",t):J};function oe(e,t,n){var r=e[t];if(null!=r&&"object"==typeof r)if(Array.isArray(r))for(var o=0;o<r.length;o++){var i=String(o),s=oe(r,i,n);void 0===s?delete r[i]:Object.defineProperty(r,i,{value:s,writable:!0,enumerable:!0,configurable:!0})}else for(var a in r){var u=oe(r,a,n);void 0===u?delete r[a]:Object.defineProperty(r,a,{value:u,writable:!0,enumerable:!0,configurable:!0})}return n.call(e,t,r)}function ie(){for(W="default",G="",Z=!1,Y=1;;){ee=se();var e=ue[W]();if(e)return e}}function se(){if(z[V])return String.fromCodePoint(z.codePointAt(V))}function ae(){var e=se();return"\n"===e?(Q++,X=0):e?X+=e.length:X++,e&&(V+=e.length),e}var ue={default:function(){switch(ee){case"\t":case"\v":case"\f":case" ":case"\xa0":case"\ufeff":case"\n":case"\r":case"\u2028":case"\u2029":return void ae();case"/":return ae(),void(W="comment");case void 0:return ae(),ce("eof")}if(!ne.isSpaceSeparator(ee))return ue[U]();ae()},comment:function(){switch(ee){case"*":return ae(),void(W="multiLineComment");case"/":return ae(),void(W="singleLineComment")}throw ye(ae())},multiLineComment:function(){switch(ee){case"*":return ae(),void(W="multiLineCommentAsterisk");case void 0:throw ye(ae())}ae()},multiLineCommentAsterisk:function(){switch(ee){case"*":return void ae();case"/":return ae(),void(W="default");case void 0:throw ye(ae())}ae(),W="multiLineComment"},singleLineComment:function(){switch(ee){case"\n":case"\r":case"\u2028":case"\u2029":return ae(),void(W="default");case void 0:return ae(),ce("eof")}ae()},value:function(){switch(ee){case"{":case"[":return ce("punctuator",ae());case"n":return ae(),le("ull"),ce("null",null);case"t":return ae(),le("rue"),ce("boolean",!0);case"f":return ae(),le("alse"),ce("boolean",!1);case"-":case"+":return"-"===ae()&&(Y=-1),void(W="sign");case".":return G=ae(),void(W="decimalPointLeading");case"0":return G=ae(),void(W="zero");case"1":case"2":case"3":case"4":case"5":case"6":case"7":case"8":case"9":return G=ae(),void(W="decimalInteger");case"I":return ae(),le("nfinity"),ce("numeric",1/0);case"N":return ae(),le("aN"),ce("numeric",NaN);case'"':case"'":return Z='"'===ae(),G="",void(W="string")}throw ye(ae())},identifierNameStartEscape:function(){if("u"!==ee)throw ye(ae());ae();var e=he();switch(e){case"$":case"_":break;default:if(!ne.isIdStartChar(e))throw be()}G+=e,W="identifierName"},identifierName:function(){switch(ee){case"$":case"_":case"\u200c":case"\u200d":return void(G+=ae());case"\\":return ae(),void(W="identifierNameEscape")}if(!ne.isIdContinueChar(ee))return ce("identifier",G);G+=ae()},identifierNameEscape:function(){if("u"!==ee)throw ye(ae());ae();var e=he();switch(e){case"$":case"_":case"\u200c":case"\u200d":break;default:if(!ne.isIdContinueChar(e))throw be()}G+=e,W="identifierName"},sign:function(){switch(ee){case".":return G=ae(),void(W="decimalPointLeading");case"0":return G=ae(),void(W="zero");case"1":case"2":case"3":case"4":case"5":case"6":case"7":case"8":case"9":return G=ae(),void(W="decimalInteger");case"I":return ae(),le("nfinity"),ce("numeric",Y*(1/0));case"N":return ae(),le("aN"),ce("numeric",NaN)}throw ye(ae())},zero:function(){switch(ee){case".":return G+=ae(),void(W="decimalPoint");case"e":case"E":return G+=ae(),void(W="decimalExponent");case"x":case"X":return G+=ae(),void(W="hexadecimal")}return ce("numeric",0*Y)},decimalInteger:function(){switch(ee){case".":return G+=ae(),void(W="decimalPoint");case"e":case"E":return G+=ae(),void(W="decimalExponent")}if(!ne.isDigit(ee))return ce("numeric",Y*Number(G));G+=ae()},decimalPointLeading:function(){if(ne.isDigit(ee))return G+=ae(),void(W="decimalFraction");throw ye(ae())},decimalPoint:function(){switch(ee){case"e":case"E":return G+=ae(),void(W="decimalExponent")}return ne.isDigit(ee)?(G+=ae(),void(W="decimalFraction")):ce("numeric",Y*Number(G))},decimalFraction:function(){switch(ee){case"e":case"E":return G+=ae(),void(W="decimalExponent")}if(!ne.isDigit(ee))return ce("numeric",Y*Number(G));G+=ae()},decimalExponent:function(){switch(ee){case"+":case"-":return G+=ae(),void(W="decimalExponentSign")}if(ne.isDigit(ee))return G+=ae(),void(W="decimalExponentInteger");throw ye(ae())},decimalExponentSign:function(){if(ne.isDigit(ee))return G+=ae(),void(W="decimalExponentInteger");throw ye(ae())},decimalExponentInteger:function(){if(!ne.isDigit(ee))return ce("numeric",Y*Number(G));G+=ae()},hexadecimal:function(){if(ne.isHexDigit(ee))return G+=ae(),void(W="hexadecimalInteger");throw ye(ae())},hexadecimalInteger:function(){if(!ne.isHexDigit(ee))return ce("numeric",Y*Number(G));G+=ae()},string:function(){switch(ee){case"\\":return ae(),void(G+=fe());case'"':return Z?(ae(),ce("string",G)):void(G+=ae());case"'":return Z?void(G+=ae()):(ae(),ce("string",G));case"\n":case"\r":throw ye(ae());case"\u2028":case"\u2029":_e(ee);break;case void 0:throw ye(ae())}G+=ae()},start:function(){switch(ee){case"{":case"[":return ce("punctuator",ae())}W="value"},beforePropertyName:function(){switch(ee){case"$":case"_":return G=ae(),void(W="identifierName");case"\\":return ae(),void(W="identifierNameStartEscape");case"}":return ce("punctuator",ae());case'"':case"'":return Z='"'===ae(),void(W="string")}if(ne.isIdStartChar(ee))return G+=ae(),void(W="identifierName");throw ye(ae())},afterPropertyName:function(){if(":"===ee)return ce("punctuator",ae());throw ye(ae())},beforePropertyValue:function(){W="value"},afterPropertyValue:function(){switch(ee){case",":case"}":return ce("punctuator",ae())}throw ye(ae())},beforeArrayValue:function(){if("]"===ee)return ce("punctuator",ae());W="value"},afterArrayValue:function(){switch(ee){case",":case"]":return ce("punctuator",ae())}throw ye(ae())},end:function(){throw ye(ae())}};function ce(e,t){return{type:e,value:t,line:Q,column:X}}function le(e){for(var t=0,n=e;t<n.length;t+=1){var r=n[t];if(se()!==r)throw ye(ae());ae()}}function fe(){switch(se()){case"b":return ae(),"\b";case"f":return ae(),"\f";case"n":return ae(),"\n";case"r":return ae(),"\r";case"t":return ae(),"\t";case"v":return ae(),"\v";case"0":if(ae(),ne.isDigit(se()))throw ye(ae());return"\0";case"x":return ae(),de();case"u":return ae(),he();case"\n":case"\u2028":case"\u2029":return ae(),"";case"\r":return ae(),"\n"===se()&&ae(),"";case"1":case"2":case"3":case"4":case"5":case"6":case"7":case"8":case"9":case void 0:throw ye(ae())}return ae()}function de(){var e="",t=se();if(!ne.isHexDigit(t))throw ye(ae());if(e+=ae(),t=se(),!ne.isHexDigit(t))throw ye(ae());return e+=ae(),String.fromCodePoint(parseInt(e,16))}function he(){for(var e="",t=4;t-- >0;){var n=se();if(!ne.isHexDigit(n))throw ye(ae());e+=ae()}return String.fromCodePoint(parseInt(e,16))}var pe={start:function(){if("eof"===H.type)throw ve();me()},beforePropertyName:function(){switch(H.type){case"identifier":case"string":return K=H.value,void(U="afterPropertyName");case"punctuator":return void ge();case"eof":throw ve()}},afterPropertyName:function(){if("eof"===H.type)throw ve();U="beforePropertyValue"},beforePropertyValue:function(){if("eof"===H.type)throw ve();me()},beforeArrayValue:function(){if("eof"===H.type)throw ve();"punctuator"!==H.type||"]"!==H.value?me():ge()},afterPropertyValue:function(){if("eof"===H.type)throw ve();switch(H.value){case",":return void(U="beforePropertyName");case"}":ge()}},afterArrayValue:function(){if("eof"===H.type)throw ve();switch(H.value){case",":return void(U="beforeArrayValue");case"]":ge()}},end:function(){}};function me(){var e;switch(H.type){case"punctuator":switch(H.value){case"{":e={};break;case"[":e=[]}break;case"null":case"boolean":case"numeric":case"string":e=H.value}if(void 0===J)J=e;else{var t=q[q.length-1];Array.isArray(t)?t.push(e):Object.defineProperty(t,K,{value:e,writable:!0,enumerable:!0,configurable:!0})}if(null!==e&&"object"==typeof e)q.push(e),U=Array.isArray(e)?"beforeArrayValue":"beforePropertyName";else{var n=q[q.length-1];U=null==n?"end":Array.isArray(n)?"afterArrayValue":"afterPropertyValue"}}function ge(){q.pop();var e=q[q.length-1];U=null==e?"end":Array.isArray(e)?"afterArrayValue":"afterPropertyValue"}function ye(e){return Ee(void 0===e?"JSON5: invalid end of input at "+Q+":"+X:"JSON5: invalid character '"+we(e)+"' at "+Q+":"+X)}function ve(){return Ee("JSON5: invalid end of input at "+Q+":"+X)}function be(){return Ee("JSON5: invalid identifier character at "+Q+":"+(X-=5))}function _e(e){console.warn("JSON5: '"+we(e)+"' in strings is not valid ECMAScript; consider escaping")}function we(e){var t={"'":"\\'",'"':'\\"',"\\":"\\\\","\b":"\\b","\f":"\\f","\n":"\\n","\r":"\\r","\t":"\\t","\v":"\\v","\0":"\\0","\u2028":"\\u2028","\u2029":"\\u2029"};if(t[e])return t[e];if(e<" "){var n=e.charCodeAt(0).toString(16);return"\\x"+("00"+n).substring(n.length)}return e}function Ee(e){var t=new SyntaxError(e);return t.lineNumber=Q,t.columnNumber=X,t}return{parse:re,stringify:function(e,t,n){var r,o,i,s=[],a="",u="";if(null==t||"object"!=typeof t||Array.isArray(t)||(n=t.space,i=t.quote,t=t.replacer),"function"==typeof t)o=t;else if(Array.isArray(t)){r=[];for(var c=0,l=t;c<l.length;c+=1){var f=l[c],d=void 0;"string"==typeof f?d=f:("number"==typeof f||f instanceof String||f instanceof Number)&&(d=String(f)),void 0!==d&&r.indexOf(d)<0&&r.push(d)}}return n instanceof Number?n=Number(n):n instanceof String&&(n=String(n)),"number"==typeof n?n>0&&(n=Math.min(10,Math.floor(n)),u=" ".substr(0,n)):"string"==typeof n&&(u=n.substr(0,10)),h("",{"":e});function h(e,t){var n=t[e];switch(null!=n&&("function"==typeof n.toJSON5?n=n.toJSON5(e):"function"==typeof n.toJSON&&(n=n.toJSON(e))),o&&(n=o.call(t,e,n)),n instanceof Number?n=Number(n):n instanceof String?n=String(n):n instanceof Boolean&&(n=n.valueOf()),n){case null:return"null";case!0:return"true";case!1:return"false"}return"string"==typeof n?p(n,!1):"number"==typeof n?String(n):"object"==typeof n?Array.isArray(n)?y(n):m(n):void 0}function p(e){for(var t={"'":.1,'"':.2},n={"'":"\\'",'"':'\\"',"\\":"\\\\","\b":"\\b","\f":"\\f","\n":"\\n","\r":"\\r","\t":"\\t","\v":"\\v","\0":"\\0","\u2028":"\\u2028","\u2029":"\\u2029"},r="",o=0;o<e.length;o++){var s=e[o];switch(s){case"'":case'"':t[s]++,r+=s;continue;case"\0":if(ne.isDigit(e[o+1])){r+="\\x00";continue}}if(n[s])r+=n[s];else if(s<" "){var a=s.charCodeAt(0).toString(16);r+="\\x"+("00"+a).substring(a.length)}else r+=s}var u=i||Object.keys(t).reduce((function(e,n){return t[e]<t[n]?e:n}));return u+(r=r.replace(new RegExp(u,"g"),n[u]))+u}function m(e){if(s.indexOf(e)>=0)throw TypeError("Converting circular structure to JSON5");s.push(e);var t=a;a+=u;for(var n,o,i=[],c=0,l=r||Object.keys(e);c<l.length;c+=1){var f=l[c],d=h(f,e);if(void 0!==d){var p=g(f)+":";""!==u&&(p+=" "),p+=d,i.push(p)}}if(0===i.length)n="{}";else if(""===u)n="{"+(o=i.join(","))+"}";else{var m=",\n"+a;o=i.join(m),n="{\n"+a+o+",\n"+t+"}"}return s.pop(),a=t,n}function g(e){if(0===e.length)return p(e,!0);var t=String.fromCodePoint(e.codePointAt(0));if(!ne.isIdStartChar(t))return p(e,!0);for(var n=t.length;n<e.length;n++)if(!ne.isIdContinueChar(String.fromCodePoint(e.codePointAt(n))))return p(e,!0);return e}function y(e){if(s.indexOf(e)>=0)throw TypeError("Converting circular structure to JSON5");s.push(e);var t=a;a+=u;for(var n,r=[],o=0;o<e.length;o++){var i=h(String(o),e);r.push(void 0!==i?i:"null")}if(0===r.length)n="[]";else if(""===u)n="["+r.join(",")+"]";else{var c=",\n"+a,l=r.join(c);n="[\n"+a+l+",\n"+t+"]"}return s.pop(),a=t,n}}}}()},404:(e,t)=>{var n=/~/,r=/~[01]/g;function o(e){switch(e){case"~1":return"/";case"~0":return"~"}throw new Error("Invalid tilde escape: "+e)}function i(e){return n.test(e)?e.replace(r,o):e}function s(e){if("string"==typeof e){if(""===(e=e.split("/"))[0])return e;throw new Error("Invalid JSON pointer.")}if(Array.isArray(e)){for(const t of e)if("string"!=typeof t&&"number"!=typeof t)throw new Error("Invalid JSON pointer. Must be of type string or number.");return e}throw new Error("Invalid JSON pointer.")}function a(e,t){if("object"!=typeof e)throw new Error("Invalid input object.");var n=(t=s(t)).length;if(1===n)return e;for(var r=1;r<n;){if(e=e[i(t[r++])],n===r)return e;if("object"!=typeof e||null===e)return}}function u(e,t,n){if("object"!=typeof e)throw new Error("Invalid input object.");if(0===(t=s(t)).length)throw new Error("Invalid JSON pointer for set.");return function(e,t,n){for(var r,o,s=1,a=t.length;s<a;){if("constructor"===t[s]||"prototype"===t[s]||"__proto__"===t[s])return e;if(r=i(t[s++]),o=a>s,void 0===e[r]&&(Array.isArray(e)&&"-"===r&&(r=e.length),o&&(""!==t[s]&&t[s]<1/0||"-"===t[s]?e[r]=[]:e[r]={})),!o)break;e=e[r]}var u=e[r];return void 0===n?delete e[r]:e[r]=n,u}(e,t,n)}t.get=a,t.set=u,t.compile=function(e){var t=s(e);return{get:function(e){return a(e,t)},set:function(e,n){return u(e,t,n)}}}},22038:e=>{"use strict";const t=[],n=[],r=(e,r)=>{if(e===r)return 0;const o=e;e.length>r.length&&(e=r,r=o);let i=e.length,s=r.length;for(;i>0&&e.charCodeAt(~-i)===r.charCodeAt(~-s);)i--,s--;let a,u,c,l,f=0;for(;f<i&&e.charCodeAt(f)===r.charCodeAt(f);)f++;if(i-=f,s-=f,0===i)return s;let d=0,h=0;for(;d<i;)n[d]=e.charCodeAt(f+d),t[d]=++d;for(;h<s;)for(a=r.charCodeAt(f+h),c=h++,u=h,d=0;d<i;d++)l=a===n[d]?c:c+1,c=t[d],u=t[d]=c>u?l>u?u+1:l:l>c?c+1:l;return u};e.exports=r,e.exports.default=r},89612:(e,t,n)=>{var r=n(52118),o=n(96909),i=n(98138),s=n(4174),a=n(7942);function u(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}u.prototype.clear=r,u.prototype.delete=o,u.prototype.get=i,u.prototype.has=s,u.prototype.set=a,e.exports=u},80235:(e,t,n)=>{var r=n(3945),o=n(21846),i=n(88028),s=n(72344),a=n(94769);function u(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}u.prototype.clear=r,u.prototype.delete=o,u.prototype.get=i,u.prototype.has=s,u.prototype.set=a,e.exports=u},10326:(e,t,n)=>{var r=n(38761)(n(37772),"Map");e.exports=r},96738:(e,t,n)=>{var r=n(92411),o=n(36417),i=n(86928),s=n(79493),a=n(24150);function u(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}u.prototype.clear=r,u.prototype.delete=o,u.prototype.get=i,u.prototype.has=s,u.prototype.set=a,e.exports=u},50857:(e,t,n)=>{var r=n(37772).Symbol;e.exports=r},50343:e=>{e.exports=function(e,t){for(var n=-1,r=null==e?0:e.length,o=Array(r);++n<r;)o[n]=t(e[n],n,e);return o}},60091:(e,t,n)=>{var r=n(13940),o=n(41225),i=Object.prototype.hasOwnProperty;e.exports=function(e,t,n){var s=e[t];i.call(e,t)&&o(s,n)&&(void 0!==n||t in e)||r(e,t,n)}},22218:(e,t,n)=>{var r=n(41225);e.exports=function(e,t){for(var n=e.length;n--;)if(r(e[n][0],t))return n;return-1}},13940:(e,t,n)=>{var r=n(83043);e.exports=function(e,t,n){"__proto__"==t&&r?r(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n}},13324:(e,t,n)=>{var r=n(17297),o=n(33812);e.exports=function(e,t){for(var n=0,i=(t=r(t,e)).length;null!=e&&n<i;)e=e[o(t[n++])];return n&&n==i?e:void 0}},53366:(e,t,n)=>{var r=n(50857),o=n(62107),i=n(37157),s=r?r.toStringTag:void 0;e.exports=function(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":s&&s in Object(e)?o(e):i(e)}},6840:(e,t,n)=>{var r=n(61049),o=n(47394),i=n(29259),s=n(87035),a=/^\[object .+?Constructor\]$/,u=Function.prototype,c=Object.prototype,l=u.toString,f=c.hasOwnProperty,d=RegExp("^"+l.call(f).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");e.exports=function(e){return!(!i(e)||o(e))&&(r(e)?d:a).test(s(e))}},82857:(e,t,n)=>{var r=n(60091),o=n(17297),i=n(39045),s=n(29259),a=n(33812);e.exports=function(e,t,n,u){if(!s(e))return e;for(var c=-1,l=(t=o(t,e)).length,f=l-1,d=e;null!=d&&++c<l;){var h=a(t[c]),p=n;if("__proto__"===h||"constructor"===h||"prototype"===h)return e;if(c!=f){var m=d[h];void 0===(p=u?u(m,h,d):void 0)&&(p=s(m)?m:i(t[c+1])?[]:{})}r(d,h,p),d=d[h]}return e}},1054:(e,t,n)=>{var r=n(50857),o=n(50343),i=n(86152),s=n(4795),a=r?r.prototype:void 0,u=a?a.toString:void 0;e.exports=function e(t){if("string"==typeof t)return t;if(i(t))return o(t,e)+"";if(s(t))return u?u.call(t):"";var n=t+"";return"0"==n&&1/t==-Infinity?"-0":n}},17297:(e,t,n)=>{var r=n(86152),o=n(21401),i=n(54452),s=n(66188);e.exports=function(e,t){return r(e)?e:o(e,t)?[e]:i(s(e))}},24019:(e,t,n)=>{var r=n(37772)["__core-js_shared__"];e.exports=r},83043:(e,t,n)=>{var r=n(38761),o=function(){try{var e=r(Object,"defineProperty");return e({},"",{}),e}catch(t){}}();e.exports=o},51242:(e,t,n)=>{var r="object"==typeof n.g&&n.g&&n.g.Object===Object&&n.g;e.exports=r},27937:(e,t,n)=>{var r=n(98304);e.exports=function(e,t){var n=e.__data__;return r(t)?n["string"==typeof t?"string":"hash"]:n.map}},38761:(e,t,n)=>{var r=n(6840),o=n(98109);e.exports=function(e,t){var n=o(e,t);return r(n)?n:void 0}},62107:(e,t,n)=>{var r=n(50857),o=Object.prototype,i=o.hasOwnProperty,s=o.toString,a=r?r.toStringTag:void 0;e.exports=function(e){var t=i.call(e,a),n=e[a];try{e[a]=void 0;var r=!0}catch(u){}var o=s.call(e);return r&&(t?e[a]=n:delete e[a]),o}},98109:e=>{e.exports=function(e,t){return null==e?void 0:e[t]}},52118:(e,t,n)=>{var r=n(99191);e.exports=function(){this.__data__=r?r(null):{},this.size=0}},96909:e=>{e.exports=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}},98138:(e,t,n)=>{var r=n(99191),o=Object.prototype.hasOwnProperty;e.exports=function(e){var t=this.__data__;if(r){var n=t[e];return"__lodash_hash_undefined__"===n?void 0:n}return o.call(t,e)?t[e]:void 0}},4174:(e,t,n)=>{var r=n(99191),o=Object.prototype.hasOwnProperty;e.exports=function(e){var t=this.__data__;return r?void 0!==t[e]:o.call(t,e)}},7942:(e,t,n)=>{var r=n(99191);e.exports=function(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=r&&void 0===t?"__lodash_hash_undefined__":t,this}},39045:e=>{var t=/^(?:0|[1-9]\d*)$/;e.exports=function(e,n){var r=typeof e;return!!(n=null==n?9007199254740991:n)&&("number"==r||"symbol"!=r&&t.test(e))&&e>-1&&e%1==0&&e<n}},21401:(e,t,n)=>{var r=n(86152),o=n(4795),i=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,s=/^\w*$/;e.exports=function(e,t){if(r(e))return!1;var n=typeof e;return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=e&&!o(e))||(s.test(e)||!i.test(e)||null!=t&&e in Object(t))}},98304:e=>{e.exports=function(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e}},47394:(e,t,n)=>{var r,o=n(24019),i=(r=/[^.]+$/.exec(o&&o.keys&&o.keys.IE_PROTO||""))?"Symbol(src)_1."+r:"";e.exports=function(e){return!!i&&i in e}},3945:e=>{e.exports=function(){this.__data__=[],this.size=0}},21846:(e,t,n)=>{var r=n(22218),o=Array.prototype.splice;e.exports=function(e){var t=this.__data__,n=r(t,e);return!(n<0)&&(n==t.length-1?t.pop():o.call(t,n,1),--this.size,!0)}},88028:(e,t,n)=>{var r=n(22218);e.exports=function(e){var t=this.__data__,n=r(t,e);return n<0?void 0:t[n][1]}},72344:(e,t,n)=>{var r=n(22218);e.exports=function(e){return r(this.__data__,e)>-1}},94769:(e,t,n)=>{var r=n(22218);e.exports=function(e,t){var n=this.__data__,o=r(n,e);return o<0?(++this.size,n.push([e,t])):n[o][1]=t,this}},92411:(e,t,n)=>{var r=n(89612),o=n(80235),i=n(10326);e.exports=function(){this.size=0,this.__data__={hash:new r,map:new(i||o),string:new r}}},36417:(e,t,n)=>{var r=n(27937);e.exports=function(e){var t=r(this,e).delete(e);return this.size-=t?1:0,t}},86928:(e,t,n)=>{var r=n(27937);e.exports=function(e){return r(this,e).get(e)}},79493:(e,t,n)=>{var r=n(27937);e.exports=function(e){return r(this,e).has(e)}},24150:(e,t,n)=>{var r=n(27937);e.exports=function(e,t){var n=r(this,e),o=n.size;return n.set(e,t),this.size+=n.size==o?0:1,this}},77777:(e,t,n)=>{var r=n(30733);e.exports=function(e){var t=r(e,(function(e){return 500===n.size&&n.clear(),e})),n=t.cache;return t}},99191:(e,t,n)=>{var r=n(38761)(Object,"create");e.exports=r},37157:e=>{var t=Object.prototype.toString;e.exports=function(e){return t.call(e)}},37772:(e,t,n)=>{var r=n(51242),o="object"==typeof self&&self&&self.Object===Object&&self,i=r||o||Function("return this")();e.exports=i},54452:(e,t,n)=>{var r=n(77777),o=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,i=/\\(\\)?/g,s=r((function(e){var t=[];return 46===e.charCodeAt(0)&&t.push(""),e.replace(o,(function(e,n,r,o){t.push(r?o.replace(i,"$1"):n||e)})),t}));e.exports=s},33812:(e,t,n)=>{var r=n(4795);e.exports=function(e){if("string"==typeof e||r(e))return e;var t=e+"";return"0"==t&&1/e==-Infinity?"-0":t}},87035:e=>{var t=Function.prototype.toString;e.exports=function(e){if(null!=e){try{return t.call(e)}catch(n){}try{return e+""}catch(n){}}return""}},41225:e=>{e.exports=function(e,t){return e===t||e!=e&&t!=t}},72579:(e,t,n)=>{var r=n(13324);e.exports=function(e,t,n){var o=null==e?void 0:r(e,t);return void 0===o?n:o}},86152:e=>{var t=Array.isArray;e.exports=t},61049:(e,t,n)=>{var r=n(53366),o=n(29259);e.exports=function(e){if(!o(e))return!1;var t=r(e);return"[object Function]"==t||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t}},29259:e=>{e.exports=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}},15125:e=>{e.exports=function(e){return null!=e&&"object"==typeof e}},4795:(e,t,n)=>{var r=n(53366),o=n(15125);e.exports=function(e){return"symbol"==typeof e||o(e)&&"[object Symbol]"==r(e)}},76635:function(e,t,n){var r;e=n.nmd(e),function(){var o,i="Expected a function",s="__lodash_hash_undefined__",a="__lodash_placeholder__",u=16,c=32,l=64,f=128,d=256,h=1/0,p=9007199254740991,m=NaN,g=4294967295,y=[["ary",f],["bind",1],["bindKey",2],["curry",8],["curryRight",u],["flip",512],["partial",c],["partialRight",l],["rearg",d]],v="[object Arguments]",b="[object Array]",_="[object Boolean]",w="[object Date]",E="[object Error]",k="[object Function]",x="[object GeneratorFunction]",D="[object Map]",S="[object Number]",C="[object Object]",O="[object Promise]",$="[object RegExp]",A="[object Set]",P="[object String]",j="[object Symbol]",F="[object WeakMap]",I="[object ArrayBuffer]",N="[object DataView]",T="[object Float32Array]",M="[object Float64Array]",R="[object Int8Array]",B="[object Int16Array]",L="[object Int32Array]",z="[object Uint8Array]",U="[object Uint8ClampedArray]",q="[object Uint16Array]",V="[object Uint32Array]",Q=/\b__p \+= '';/g,X=/\b(__p \+=) '' \+/g,H=/(__e\(.*?\)|\b__t\)) \+\n'';/g,K=/&(?:amp|lt|gt|quot|#39);/g,J=/[&<>"']/g,W=RegExp(K.source),G=RegExp(J.source),Z=/<%-([\s\S]+?)%>/g,Y=/<%([\s\S]+?)%>/g,ee=/<%=([\s\S]+?)%>/g,te=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,ne=/^\w*$/,re=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,oe=/[\\^$.*+?()[\]{}|]/g,ie=RegExp(oe.source),se=/^\s+/,ae=/\s/,ue=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,ce=/\{\n\/\* \[wrapped with (.+)\] \*/,le=/,? & /,fe=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,de=/[()=,{}\[\]\/\s]/,he=/\\(\\)?/g,pe=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,me=/\w*$/,ge=/^[-+]0x[0-9a-f]+$/i,ye=/^0b[01]+$/i,ve=/^\[object .+?Constructor\]$/,be=/^0o[0-7]+$/i,_e=/^(?:0|[1-9]\d*)$/,we=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,Ee=/($^)/,ke=/['\n\r\u2028\u2029\\]/g,xe="\\ud800-\\udfff",De="\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff",Se="\\u2700-\\u27bf",Ce="a-z\\xdf-\\xf6\\xf8-\\xff",Oe="A-Z\\xc0-\\xd6\\xd8-\\xde",$e="\\ufe0e\\ufe0f",Ae="\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",Pe="['\u2019]",je="["+xe+"]",Fe="["+Ae+"]",Ie="["+De+"]",Ne="\\d+",Te="["+Se+"]",Me="["+Ce+"]",Re="[^"+xe+Ae+Ne+Se+Ce+Oe+"]",Be="\\ud83c[\\udffb-\\udfff]",Le="[^"+xe+"]",ze="(?:\\ud83c[\\udde6-\\uddff]){2}",Ue="[\\ud800-\\udbff][\\udc00-\\udfff]",qe="["+Oe+"]",Ve="\\u200d",Qe="(?:"+Me+"|"+Re+")",Xe="(?:"+qe+"|"+Re+")",He="(?:['\u2019](?:d|ll|m|re|s|t|ve))?",Ke="(?:['\u2019](?:D|LL|M|RE|S|T|VE))?",Je="(?:"+Ie+"|"+Be+")"+"?",We="["+$e+"]?",Ge=We+Je+("(?:"+Ve+"(?:"+[Le,ze,Ue].join("|")+")"+We+Je+")*"),Ze="(?:"+[Te,ze,Ue].join("|")+")"+Ge,Ye="(?:"+[Le+Ie+"?",Ie,ze,Ue,je].join("|")+")",et=RegExp(Pe,"g"),tt=RegExp(Ie,"g"),nt=RegExp(Be+"(?="+Be+")|"+Ye+Ge,"g"),rt=RegExp([qe+"?"+Me+"+"+He+"(?="+[Fe,qe,"$"].join("|")+")",Xe+"+"+Ke+"(?="+[Fe,qe+Qe,"$"].join("|")+")",qe+"?"+Qe+"+"+He,qe+"+"+Ke,"\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])","\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",Ne,Ze].join("|"),"g"),ot=RegExp("["+Ve+xe+De+$e+"]"),it=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,st=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],at=-1,ut={};ut[T]=ut[M]=ut[R]=ut[B]=ut[L]=ut[z]=ut[U]=ut[q]=ut[V]=!0,ut[v]=ut[b]=ut[I]=ut[_]=ut[N]=ut[w]=ut[E]=ut[k]=ut[D]=ut[S]=ut[C]=ut[$]=ut[A]=ut[P]=ut[F]=!1;var ct={};ct[v]=ct[b]=ct[I]=ct[N]=ct[_]=ct[w]=ct[T]=ct[M]=ct[R]=ct[B]=ct[L]=ct[D]=ct[S]=ct[C]=ct[$]=ct[A]=ct[P]=ct[j]=ct[z]=ct[U]=ct[q]=ct[V]=!0,ct[E]=ct[k]=ct[F]=!1;var lt={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},ft=parseFloat,dt=parseInt,ht="object"==typeof n.g&&n.g&&n.g.Object===Object&&n.g,pt="object"==typeof self&&self&&self.Object===Object&&self,mt=ht||pt||Function("return this")(),gt=t&&!t.nodeType&&t,yt=gt&&e&&!e.nodeType&&e,vt=yt&&yt.exports===gt,bt=vt&&ht.process,_t=function(){try{var e=yt&&yt.require&&yt.require("util").types;return e||bt&&bt.binding&&bt.binding("util")}catch(t){}}(),wt=_t&&_t.isArrayBuffer,Et=_t&&_t.isDate,kt=_t&&_t.isMap,xt=_t&&_t.isRegExp,Dt=_t&&_t.isSet,St=_t&&_t.isTypedArray;function Ct(e,t,n){switch(n.length){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2])}return e.apply(t,n)}function Ot(e,t,n,r){for(var o=-1,i=null==e?0:e.length;++o<i;){var s=e[o];t(r,s,n(s),e)}return r}function $t(e,t){for(var n=-1,r=null==e?0:e.length;++n<r&&!1!==t(e[n],n,e););return e}function At(e,t){for(var n=null==e?0:e.length;n--&&!1!==t(e[n],n,e););return e}function Pt(e,t){for(var n=-1,r=null==e?0:e.length;++n<r;)if(!t(e[n],n,e))return!1;return!0}function jt(e,t){for(var n=-1,r=null==e?0:e.length,o=0,i=[];++n<r;){var s=e[n];t(s,n,e)&&(i[o++]=s)}return i}function Ft(e,t){return!!(null==e?0:e.length)&&qt(e,t,0)>-1}function It(e,t,n){for(var r=-1,o=null==e?0:e.length;++r<o;)if(n(t,e[r]))return!0;return!1}function Nt(e,t){for(var n=-1,r=null==e?0:e.length,o=Array(r);++n<r;)o[n]=t(e[n],n,e);return o}function Tt(e,t){for(var n=-1,r=t.length,o=e.length;++n<r;)e[o+n]=t[n];return e}function Mt(e,t,n,r){var o=-1,i=null==e?0:e.length;for(r&&i&&(n=e[++o]);++o<i;)n=t(n,e[o],o,e);return n}function Rt(e,t,n,r){var o=null==e?0:e.length;for(r&&o&&(n=e[--o]);o--;)n=t(n,e[o],o,e);return n}function Bt(e,t){for(var n=-1,r=null==e?0:e.length;++n<r;)if(t(e[n],n,e))return!0;return!1}var Lt=Ht("length");function zt(e,t,n){var r;return n(e,(function(e,n,o){if(t(e,n,o))return r=n,!1})),r}function Ut(e,t,n,r){for(var o=e.length,i=n+(r?1:-1);r?i--:++i<o;)if(t(e[i],i,e))return i;return-1}function qt(e,t,n){return t==t?function(e,t,n){var r=n-1,o=e.length;for(;++r<o;)if(e[r]===t)return r;return-1}(e,t,n):Ut(e,Qt,n)}function Vt(e,t,n,r){for(var o=n-1,i=e.length;++o<i;)if(r(e[o],t))return o;return-1}function Qt(e){return e!=e}function Xt(e,t){var n=null==e?0:e.length;return n?Wt(e,t)/n:m}function Ht(e){return function(t){return null==t?o:t[e]}}function Kt(e){return function(t){return null==e?o:e[t]}}function Jt(e,t,n,r,o){return o(e,(function(e,o,i){n=r?(r=!1,e):t(n,e,o,i)})),n}function Wt(e,t){for(var n,r=-1,i=e.length;++r<i;){var s=t(e[r]);s!==o&&(n=n===o?s:n+s)}return n}function Gt(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}function Zt(e){return e?e.slice(0,gn(e)+1).replace(se,""):e}function Yt(e){return function(t){return e(t)}}function en(e,t){return Nt(t,(function(t){return e[t]}))}function tn(e,t){return e.has(t)}function nn(e,t){for(var n=-1,r=e.length;++n<r&&qt(t,e[n],0)>-1;);return n}function rn(e,t){for(var n=e.length;n--&&qt(t,e[n],0)>-1;);return n}var on=Kt({"\xc0":"A","\xc1":"A","\xc2":"A","\xc3":"A","\xc4":"A","\xc5":"A","\xe0":"a","\xe1":"a","\xe2":"a","\xe3":"a","\xe4":"a","\xe5":"a","\xc7":"C","\xe7":"c","\xd0":"D","\xf0":"d","\xc8":"E","\xc9":"E","\xca":"E","\xcb":"E","\xe8":"e","\xe9":"e","\xea":"e","\xeb":"e","\xcc":"I","\xcd":"I","\xce":"I","\xcf":"I","\xec":"i","\xed":"i","\xee":"i","\xef":"i","\xd1":"N","\xf1":"n","\xd2":"O","\xd3":"O","\xd4":"O","\xd5":"O","\xd6":"O","\xd8":"O","\xf2":"o","\xf3":"o","\xf4":"o","\xf5":"o","\xf6":"o","\xf8":"o","\xd9":"U","\xda":"U","\xdb":"U","\xdc":"U","\xf9":"u","\xfa":"u","\xfb":"u","\xfc":"u","\xdd":"Y","\xfd":"y","\xff":"y","\xc6":"Ae","\xe6":"ae","\xde":"Th","\xfe":"th","\xdf":"ss","\u0100":"A","\u0102":"A","\u0104":"A","\u0101":"a","\u0103":"a","\u0105":"a","\u0106":"C","\u0108":"C","\u010a":"C","\u010c":"C","\u0107":"c","\u0109":"c","\u010b":"c","\u010d":"c","\u010e":"D","\u0110":"D","\u010f":"d","\u0111":"d","\u0112":"E","\u0114":"E","\u0116":"E","\u0118":"E","\u011a":"E","\u0113":"e","\u0115":"e","\u0117":"e","\u0119":"e","\u011b":"e","\u011c":"G","\u011e":"G","\u0120":"G","\u0122":"G","\u011d":"g","\u011f":"g","\u0121":"g","\u0123":"g","\u0124":"H","\u0126":"H","\u0125":"h","\u0127":"h","\u0128":"I","\u012a":"I","\u012c":"I","\u012e":"I","\u0130":"I","\u0129":"i","\u012b":"i","\u012d":"i","\u012f":"i","\u0131":"i","\u0134":"J","\u0135":"j","\u0136":"K","\u0137":"k","\u0138":"k","\u0139":"L","\u013b":"L","\u013d":"L","\u013f":"L","\u0141":"L","\u013a":"l","\u013c":"l","\u013e":"l","\u0140":"l","\u0142":"l","\u0143":"N","\u0145":"N","\u0147":"N","\u014a":"N","\u0144":"n","\u0146":"n","\u0148":"n","\u014b":"n","\u014c":"O","\u014e":"O","\u0150":"O","\u014d":"o","\u014f":"o","\u0151":"o","\u0154":"R","\u0156":"R","\u0158":"R","\u0155":"r","\u0157":"r","\u0159":"r","\u015a":"S","\u015c":"S","\u015e":"S","\u0160":"S","\u015b":"s","\u015d":"s","\u015f":"s","\u0161":"s","\u0162":"T","\u0164":"T","\u0166":"T","\u0163":"t","\u0165":"t","\u0167":"t","\u0168":"U","\u016a":"U","\u016c":"U","\u016e":"U","\u0170":"U","\u0172":"U","\u0169":"u","\u016b":"u","\u016d":"u","\u016f":"u","\u0171":"u","\u0173":"u","\u0174":"W","\u0175":"w","\u0176":"Y","\u0177":"y","\u0178":"Y","\u0179":"Z","\u017b":"Z","\u017d":"Z","\u017a":"z","\u017c":"z","\u017e":"z","\u0132":"IJ","\u0133":"ij","\u0152":"Oe","\u0153":"oe","\u0149":"'n","\u017f":"s"}),sn=Kt({"&":"&","<":"<",">":">",'"':""","'":"'"});function an(e){return"\\"+lt[e]}function un(e){return ot.test(e)}function cn(e){var t=-1,n=Array(e.size);return e.forEach((function(e,r){n[++t]=[r,e]})),n}function ln(e,t){return function(n){return e(t(n))}}function fn(e,t){for(var n=-1,r=e.length,o=0,i=[];++n<r;){var s=e[n];s!==t&&s!==a||(e[n]=a,i[o++]=n)}return i}function dn(e){var t=-1,n=Array(e.size);return e.forEach((function(e){n[++t]=e})),n}function hn(e){var t=-1,n=Array(e.size);return e.forEach((function(e){n[++t]=[e,e]})),n}function pn(e){return un(e)?function(e){var t=nt.lastIndex=0;for(;nt.test(e);)++t;return t}(e):Lt(e)}function mn(e){return un(e)?function(e){return e.match(nt)||[]}(e):function(e){return e.split("")}(e)}function gn(e){for(var t=e.length;t--&&ae.test(e.charAt(t)););return t}var yn=Kt({"&":"&","<":"<",">":">",""":'"',"'":"'"});var vn=function e(t){var n,r=(t=null==t?mt:vn.defaults(mt.Object(),t,vn.pick(mt,st))).Array,ae=t.Date,xe=t.Error,De=t.Function,Se=t.Math,Ce=t.Object,Oe=t.RegExp,$e=t.String,Ae=t.TypeError,Pe=r.prototype,je=De.prototype,Fe=Ce.prototype,Ie=t["__core-js_shared__"],Ne=je.toString,Te=Fe.hasOwnProperty,Me=0,Re=(n=/[^.]+$/.exec(Ie&&Ie.keys&&Ie.keys.IE_PROTO||""))?"Symbol(src)_1."+n:"",Be=Fe.toString,Le=Ne.call(Ce),ze=mt._,Ue=Oe("^"+Ne.call(Te).replace(oe,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),qe=vt?t.Buffer:o,Ve=t.Symbol,Qe=t.Uint8Array,Xe=qe?qe.allocUnsafe:o,He=ln(Ce.getPrototypeOf,Ce),Ke=Ce.create,Je=Fe.propertyIsEnumerable,We=Pe.splice,Ge=Ve?Ve.isConcatSpreadable:o,Ze=Ve?Ve.iterator:o,Ye=Ve?Ve.toStringTag:o,nt=function(){try{var e=hi(Ce,"defineProperty");return e({},"",{}),e}catch(t){}}(),ot=t.clearTimeout!==mt.clearTimeout&&t.clearTimeout,lt=ae&&ae.now!==mt.Date.now&&ae.now,ht=t.setTimeout!==mt.setTimeout&&t.setTimeout,pt=Se.ceil,gt=Se.floor,yt=Ce.getOwnPropertySymbols,bt=qe?qe.isBuffer:o,_t=t.isFinite,Lt=Pe.join,Kt=ln(Ce.keys,Ce),bn=Se.max,_n=Se.min,wn=ae.now,En=t.parseInt,kn=Se.random,xn=Pe.reverse,Dn=hi(t,"DataView"),Sn=hi(t,"Map"),Cn=hi(t,"Promise"),On=hi(t,"Set"),$n=hi(t,"WeakMap"),An=hi(Ce,"create"),Pn=$n&&new $n,jn={},Fn=Bi(Dn),In=Bi(Sn),Nn=Bi(Cn),Tn=Bi(On),Mn=Bi($n),Rn=Ve?Ve.prototype:o,Bn=Rn?Rn.valueOf:o,Ln=Rn?Rn.toString:o;function zn(e){if(na(e)&&!Qs(e)&&!(e instanceof Qn)){if(e instanceof Vn)return e;if(Te.call(e,"__wrapped__"))return Li(e)}return new Vn(e)}var Un=function(){function e(){}return function(t){if(!ta(t))return{};if(Ke)return Ke(t);e.prototype=t;var n=new e;return e.prototype=o,n}}();function qn(){}function Vn(e,t){this.__wrapped__=e,this.__actions__=[],this.__chain__=!!t,this.__index__=0,this.__values__=o}function Qn(e){this.__wrapped__=e,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=g,this.__views__=[]}function Xn(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function Hn(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function Kn(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function Jn(e){var t=-1,n=null==e?0:e.length;for(this.__data__=new Kn;++t<n;)this.add(e[t])}function Wn(e){var t=this.__data__=new Hn(e);this.size=t.size}function Gn(e,t){var n=Qs(e),r=!n&&Vs(e),o=!n&&!r&&Js(e),i=!n&&!r&&!o&&la(e),s=n||r||o||i,a=s?Gt(e.length,$e):[],u=a.length;for(var c in e)!t&&!Te.call(e,c)||s&&("length"==c||o&&("offset"==c||"parent"==c)||i&&("buffer"==c||"byteLength"==c||"byteOffset"==c)||_i(c,u))||a.push(c);return a}function Zn(e){var t=e.length;return t?e[Jr(0,t-1)]:o}function Yn(e,t){return Ti(Po(e),ur(t,0,e.length))}function er(e){return Ti(Po(e))}function tr(e,t,n){(n!==o&&!zs(e[t],n)||n===o&&!(t in e))&&sr(e,t,n)}function nr(e,t,n){var r=e[t];Te.call(e,t)&&zs(r,n)&&(n!==o||t in e)||sr(e,t,n)}function rr(e,t){for(var n=e.length;n--;)if(zs(e[n][0],t))return n;return-1}function or(e,t,n,r){return hr(e,(function(e,o,i){t(r,e,n(e),i)})),r}function ir(e,t){return e&&jo(t,ja(t),e)}function sr(e,t,n){"__proto__"==t&&nt?nt(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n}function ar(e,t){for(var n=-1,i=t.length,s=r(i),a=null==e;++n<i;)s[n]=a?o:Ca(e,t[n]);return s}function ur(e,t,n){return e==e&&(n!==o&&(e=e<=n?e:n),t!==o&&(e=e>=t?e:t)),e}function cr(e,t,n,r,i,s){var a,u=1&t,c=2&t,l=4&t;if(n&&(a=i?n(e,r,i,s):n(e)),a!==o)return a;if(!ta(e))return e;var f=Qs(e);if(f){if(a=function(e){var t=e.length,n=new e.constructor(t);t&&"string"==typeof e[0]&&Te.call(e,"index")&&(n.index=e.index,n.input=e.input);return n}(e),!u)return Po(e,a)}else{var d=gi(e),h=d==k||d==x;if(Js(e))return Do(e,u);if(d==C||d==v||h&&!i){if(a=c||h?{}:vi(e),!u)return c?function(e,t){return jo(e,mi(e),t)}(e,function(e,t){return e&&jo(t,Fa(t),e)}(a,e)):function(e,t){return jo(e,pi(e),t)}(e,ir(a,e))}else{if(!ct[d])return i?e:{};a=function(e,t,n){var r=e.constructor;switch(t){case I:return So(e);case _:case w:return new r(+e);case N:return function(e,t){var n=t?So(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.byteLength)}(e,n);case T:case M:case R:case B:case L:case z:case U:case q:case V:return Co(e,n);case D:return new r;case S:case P:return new r(e);case $:return function(e){var t=new e.constructor(e.source,me.exec(e));return t.lastIndex=e.lastIndex,t}(e);case A:return new r;case j:return o=e,Bn?Ce(Bn.call(o)):{}}var o}(e,d,u)}}s||(s=new Wn);var p=s.get(e);if(p)return p;s.set(e,a),aa(e)?e.forEach((function(r){a.add(cr(r,t,n,r,e,s))})):ra(e)&&e.forEach((function(r,o){a.set(o,cr(r,t,n,o,e,s))}));var m=f?o:(l?c?si:ii:c?Fa:ja)(e);return $t(m||e,(function(r,o){m&&(r=e[o=r]),nr(a,o,cr(r,t,n,o,e,s))})),a}function lr(e,t,n){var r=n.length;if(null==e)return!r;for(e=Ce(e);r--;){var i=n[r],s=t[i],a=e[i];if(a===o&&!(i in e)||!s(a))return!1}return!0}function fr(e,t,n){if("function"!=typeof e)throw new Ae(i);return ji((function(){e.apply(o,n)}),t)}function dr(e,t,n,r){var o=-1,i=Ft,s=!0,a=e.length,u=[],c=t.length;if(!a)return u;n&&(t=Nt(t,Yt(n))),r?(i=It,s=!1):t.length>=200&&(i=tn,s=!1,t=new Jn(t));e:for(;++o<a;){var l=e[o],f=null==n?l:n(l);if(l=r||0!==l?l:0,s&&f==f){for(var d=c;d--;)if(t[d]===f)continue e;u.push(l)}else i(t,f,r)||u.push(l)}return u}zn.templateSettings={escape:Z,evaluate:Y,interpolate:ee,variable:"",imports:{_:zn}},zn.prototype=qn.prototype,zn.prototype.constructor=zn,Vn.prototype=Un(qn.prototype),Vn.prototype.constructor=Vn,Qn.prototype=Un(qn.prototype),Qn.prototype.constructor=Qn,Xn.prototype.clear=function(){this.__data__=An?An(null):{},this.size=0},Xn.prototype.delete=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t},Xn.prototype.get=function(e){var t=this.__data__;if(An){var n=t[e];return n===s?o:n}return Te.call(t,e)?t[e]:o},Xn.prototype.has=function(e){var t=this.__data__;return An?t[e]!==o:Te.call(t,e)},Xn.prototype.set=function(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=An&&t===o?s:t,this},Hn.prototype.clear=function(){this.__data__=[],this.size=0},Hn.prototype.delete=function(e){var t=this.__data__,n=rr(t,e);return!(n<0)&&(n==t.length-1?t.pop():We.call(t,n,1),--this.size,!0)},Hn.prototype.get=function(e){var t=this.__data__,n=rr(t,e);return n<0?o:t[n][1]},Hn.prototype.has=function(e){return rr(this.__data__,e)>-1},Hn.prototype.set=function(e,t){var n=this.__data__,r=rr(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this},Kn.prototype.clear=function(){this.size=0,this.__data__={hash:new Xn,map:new(Sn||Hn),string:new Xn}},Kn.prototype.delete=function(e){var t=fi(this,e).delete(e);return this.size-=t?1:0,t},Kn.prototype.get=function(e){return fi(this,e).get(e)},Kn.prototype.has=function(e){return fi(this,e).has(e)},Kn.prototype.set=function(e,t){var n=fi(this,e),r=n.size;return n.set(e,t),this.size+=n.size==r?0:1,this},Jn.prototype.add=Jn.prototype.push=function(e){return this.__data__.set(e,s),this},Jn.prototype.has=function(e){return this.__data__.has(e)},Wn.prototype.clear=function(){this.__data__=new Hn,this.size=0},Wn.prototype.delete=function(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n},Wn.prototype.get=function(e){return this.__data__.get(e)},Wn.prototype.has=function(e){return this.__data__.has(e)},Wn.prototype.set=function(e,t){var n=this.__data__;if(n instanceof Hn){var r=n.__data__;if(!Sn||r.length<199)return r.push([e,t]),this.size=++n.size,this;n=this.__data__=new Kn(r)}return n.set(e,t),this.size=n.size,this};var hr=No(wr),pr=No(Er,!0);function mr(e,t){var n=!0;return hr(e,(function(e,r,o){return n=!!t(e,r,o)})),n}function gr(e,t,n){for(var r=-1,i=e.length;++r<i;){var s=e[r],a=t(s);if(null!=a&&(u===o?a==a&&!ca(a):n(a,u)))var u=a,c=s}return c}function yr(e,t){var n=[];return hr(e,(function(e,r,o){t(e,r,o)&&n.push(e)})),n}function vr(e,t,n,r,o){var i=-1,s=e.length;for(n||(n=bi),o||(o=[]);++i<s;){var a=e[i];t>0&&n(a)?t>1?vr(a,t-1,n,r,o):Tt(o,a):r||(o[o.length]=a)}return o}var br=To(),_r=To(!0);function wr(e,t){return e&&br(e,t,ja)}function Er(e,t){return e&&_r(e,t,ja)}function kr(e,t){return jt(t,(function(t){return Zs(e[t])}))}function xr(e,t){for(var n=0,r=(t=wo(t,e)).length;null!=e&&n<r;)e=e[Ri(t[n++])];return n&&n==r?e:o}function Dr(e,t,n){var r=t(e);return Qs(e)?r:Tt(r,n(e))}function Sr(e){return null==e?e===o?"[object Undefined]":"[object Null]":Ye&&Ye in Ce(e)?function(e){var t=Te.call(e,Ye),n=e[Ye];try{e[Ye]=o;var r=!0}catch(s){}var i=Be.call(e);r&&(t?e[Ye]=n:delete e[Ye]);return i}(e):function(e){return Be.call(e)}(e)}function Cr(e,t){return e>t}function Or(e,t){return null!=e&&Te.call(e,t)}function $r(e,t){return null!=e&&t in Ce(e)}function Ar(e,t,n){for(var i=n?It:Ft,s=e[0].length,a=e.length,u=a,c=r(a),l=1/0,f=[];u--;){var d=e[u];u&&t&&(d=Nt(d,Yt(t))),l=_n(d.length,l),c[u]=!n&&(t||s>=120&&d.length>=120)?new Jn(u&&d):o}d=e[0];var h=-1,p=c[0];e:for(;++h<s&&f.length<l;){var m=d[h],g=t?t(m):m;if(m=n||0!==m?m:0,!(p?tn(p,g):i(f,g,n))){for(u=a;--u;){var y=c[u];if(!(y?tn(y,g):i(e[u],g,n)))continue e}p&&p.push(g),f.push(m)}}return f}function Pr(e,t,n){var r=null==(e=$i(e,t=wo(t,e)))?e:e[Ri(Gi(t))];return null==r?o:Ct(r,e,n)}function jr(e){return na(e)&&Sr(e)==v}function Fr(e,t,n,r,i){return e===t||(null==e||null==t||!na(e)&&!na(t)?e!=e&&t!=t:function(e,t,n,r,i,s){var a=Qs(e),u=Qs(t),c=a?b:gi(e),l=u?b:gi(t),f=(c=c==v?C:c)==C,d=(l=l==v?C:l)==C,h=c==l;if(h&&Js(e)){if(!Js(t))return!1;a=!0,f=!1}if(h&&!f)return s||(s=new Wn),a||la(e)?ri(e,t,n,r,i,s):function(e,t,n,r,o,i,s){switch(n){case N:if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case I:return!(e.byteLength!=t.byteLength||!i(new Qe(e),new Qe(t)));case _:case w:case S:return zs(+e,+t);case E:return e.name==t.name&&e.message==t.message;case $:case P:return e==t+"";case D:var a=cn;case A:var u=1&r;if(a||(a=dn),e.size!=t.size&&!u)return!1;var c=s.get(e);if(c)return c==t;r|=2,s.set(e,t);var l=ri(a(e),a(t),r,o,i,s);return s.delete(e),l;case j:if(Bn)return Bn.call(e)==Bn.call(t)}return!1}(e,t,c,n,r,i,s);if(!(1&n)){var p=f&&Te.call(e,"__wrapped__"),m=d&&Te.call(t,"__wrapped__");if(p||m){var g=p?e.value():e,y=m?t.value():t;return s||(s=new Wn),i(g,y,n,r,s)}}if(!h)return!1;return s||(s=new Wn),function(e,t,n,r,i,s){var a=1&n,u=ii(e),c=u.length,l=ii(t),f=l.length;if(c!=f&&!a)return!1;var d=c;for(;d--;){var h=u[d];if(!(a?h in t:Te.call(t,h)))return!1}var p=s.get(e),m=s.get(t);if(p&&m)return p==t&&m==e;var g=!0;s.set(e,t),s.set(t,e);var y=a;for(;++d<c;){var v=e[h=u[d]],b=t[h];if(r)var _=a?r(b,v,h,t,e,s):r(v,b,h,e,t,s);if(!(_===o?v===b||i(v,b,n,r,s):_)){g=!1;break}y||(y="constructor"==h)}if(g&&!y){var w=e.constructor,E=t.constructor;w==E||!("constructor"in e)||!("constructor"in t)||"function"==typeof w&&w instanceof w&&"function"==typeof E&&E instanceof E||(g=!1)}return s.delete(e),s.delete(t),g}(e,t,n,r,i,s)}(e,t,n,r,Fr,i))}function Ir(e,t,n,r){var i=n.length,s=i,a=!r;if(null==e)return!s;for(e=Ce(e);i--;){var u=n[i];if(a&&u[2]?u[1]!==e[u[0]]:!(u[0]in e))return!1}for(;++i<s;){var c=(u=n[i])[0],l=e[c],f=u[1];if(a&&u[2]){if(l===o&&!(c in e))return!1}else{var d=new Wn;if(r)var h=r(l,f,c,e,t,d);if(!(h===o?Fr(f,l,3,r,d):h))return!1}}return!0}function Nr(e){return!(!ta(e)||(t=e,Re&&Re in t))&&(Zs(e)?Ue:ve).test(Bi(e));var t}function Tr(e){return"function"==typeof e?e:null==e?ou:"object"==typeof e?Qs(e)?Ur(e[0],e[1]):zr(e):hu(e)}function Mr(e){if(!Di(e))return Kt(e);var t=[];for(var n in Ce(e))Te.call(e,n)&&"constructor"!=n&&t.push(n);return t}function Rr(e){if(!ta(e))return function(e){var t=[];if(null!=e)for(var n in Ce(e))t.push(n);return t}(e);var t=Di(e),n=[];for(var r in e)("constructor"!=r||!t&&Te.call(e,r))&&n.push(r);return n}function Br(e,t){return e<t}function Lr(e,t){var n=-1,o=Hs(e)?r(e.length):[];return hr(e,(function(e,r,i){o[++n]=t(e,r,i)})),o}function zr(e){var t=di(e);return 1==t.length&&t[0][2]?Ci(t[0][0],t[0][1]):function(n){return n===e||Ir(n,e,t)}}function Ur(e,t){return Ei(e)&&Si(t)?Ci(Ri(e),t):function(n){var r=Ca(n,e);return r===o&&r===t?Oa(n,e):Fr(t,r,3)}}function qr(e,t,n,r,i){e!==t&&br(t,(function(s,a){if(i||(i=new Wn),ta(s))!function(e,t,n,r,i,s,a){var u=Ai(e,n),c=Ai(t,n),l=a.get(c);if(l)return void tr(e,n,l);var f=s?s(u,c,n+"",e,t,a):o,d=f===o;if(d){var h=Qs(c),p=!h&&Js(c),m=!h&&!p&&la(c);f=c,h||p||m?Qs(u)?f=u:Ks(u)?f=Po(u):p?(d=!1,f=Do(c,!0)):m?(d=!1,f=Co(c,!0)):f=[]:ia(c)||Vs(c)?(f=u,Vs(u)?f=va(u):ta(u)&&!Zs(u)||(f=vi(c))):d=!1}d&&(a.set(c,f),i(f,c,r,s,a),a.delete(c));tr(e,n,f)}(e,t,a,n,qr,r,i);else{var u=r?r(Ai(e,a),s,a+"",e,t,i):o;u===o&&(u=s),tr(e,a,u)}}),Fa)}function Vr(e,t){var n=e.length;if(n)return _i(t+=t<0?n:0,n)?e[t]:o}function Qr(e,t,n){t=t.length?Nt(t,(function(e){return Qs(e)?function(t){return xr(t,1===e.length?e[0]:e)}:e})):[ou];var r=-1;t=Nt(t,Yt(li()));var o=Lr(e,(function(e,n,o){var i=Nt(t,(function(t){return t(e)}));return{criteria:i,index:++r,value:e}}));return function(e,t){var n=e.length;for(e.sort(t);n--;)e[n]=e[n].value;return e}(o,(function(e,t){return function(e,t,n){var r=-1,o=e.criteria,i=t.criteria,s=o.length,a=n.length;for(;++r<s;){var u=Oo(o[r],i[r]);if(u)return r>=a?u:u*("desc"==n[r]?-1:1)}return e.index-t.index}(e,t,n)}))}function Xr(e,t,n){for(var r=-1,o=t.length,i={};++r<o;){var s=t[r],a=xr(e,s);n(a,s)&&eo(i,wo(s,e),a)}return i}function Hr(e,t,n,r){var o=r?Vt:qt,i=-1,s=t.length,a=e;for(e===t&&(t=Po(t)),n&&(a=Nt(e,Yt(n)));++i<s;)for(var u=0,c=t[i],l=n?n(c):c;(u=o(a,l,u,r))>-1;)a!==e&&We.call(a,u,1),We.call(e,u,1);return e}function Kr(e,t){for(var n=e?t.length:0,r=n-1;n--;){var o=t[n];if(n==r||o!==i){var i=o;_i(o)?We.call(e,o,1):ho(e,o)}}return e}function Jr(e,t){return e+gt(kn()*(t-e+1))}function Wr(e,t){var n="";if(!e||t<1||t>p)return n;do{t%2&&(n+=e),(t=gt(t/2))&&(e+=e)}while(t);return n}function Gr(e,t){return Fi(Oi(e,t,ou),e+"")}function Zr(e){return Zn(za(e))}function Yr(e,t){var n=za(e);return Ti(n,ur(t,0,n.length))}function eo(e,t,n,r){if(!ta(e))return e;for(var i=-1,s=(t=wo(t,e)).length,a=s-1,u=e;null!=u&&++i<s;){var c=Ri(t[i]),l=n;if("__proto__"===c||"constructor"===c||"prototype"===c)return e;if(i!=a){var f=u[c];(l=r?r(f,c,u):o)===o&&(l=ta(f)?f:_i(t[i+1])?[]:{})}nr(u,c,l),u=u[c]}return e}var to=Pn?function(e,t){return Pn.set(e,t),e}:ou,no=nt?function(e,t){return nt(e,"toString",{configurable:!0,enumerable:!1,value:tu(t),writable:!0})}:ou;function ro(e){return Ti(za(e))}function oo(e,t,n){var o=-1,i=e.length;t<0&&(t=-t>i?0:i+t),(n=n>i?i:n)<0&&(n+=i),i=t>n?0:n-t>>>0,t>>>=0;for(var s=r(i);++o<i;)s[o]=e[o+t];return s}function io(e,t){var n;return hr(e,(function(e,r,o){return!(n=t(e,r,o))})),!!n}function so(e,t,n){var r=0,o=null==e?r:e.length;if("number"==typeof t&&t==t&&o<=2147483647){for(;r<o;){var i=r+o>>>1,s=e[i];null!==s&&!ca(s)&&(n?s<=t:s<t)?r=i+1:o=i}return o}return ao(e,t,ou,n)}function ao(e,t,n,r){var i=0,s=null==e?0:e.length;if(0===s)return 0;for(var a=(t=n(t))!=t,u=null===t,c=ca(t),l=t===o;i<s;){var f=gt((i+s)/2),d=n(e[f]),h=d!==o,p=null===d,m=d==d,g=ca(d);if(a)var y=r||m;else y=l?m&&(r||h):u?m&&h&&(r||!p):c?m&&h&&!p&&(r||!g):!p&&!g&&(r?d<=t:d<t);y?i=f+1:s=f}return _n(s,4294967294)}function uo(e,t){for(var n=-1,r=e.length,o=0,i=[];++n<r;){var s=e[n],a=t?t(s):s;if(!n||!zs(a,u)){var u=a;i[o++]=0===s?0:s}}return i}function co(e){return"number"==typeof e?e:ca(e)?m:+e}function lo(e){if("string"==typeof e)return e;if(Qs(e))return Nt(e,lo)+"";if(ca(e))return Ln?Ln.call(e):"";var t=e+"";return"0"==t&&1/e==-1/0?"-0":t}function fo(e,t,n){var r=-1,o=Ft,i=e.length,s=!0,a=[],u=a;if(n)s=!1,o=It;else if(i>=200){var c=t?null:Go(e);if(c)return dn(c);s=!1,o=tn,u=new Jn}else u=t?[]:a;e:for(;++r<i;){var l=e[r],f=t?t(l):l;if(l=n||0!==l?l:0,s&&f==f){for(var d=u.length;d--;)if(u[d]===f)continue e;t&&u.push(f),a.push(l)}else o(u,f,n)||(u!==a&&u.push(f),a.push(l))}return a}function ho(e,t){return null==(e=$i(e,t=wo(t,e)))||delete e[Ri(Gi(t))]}function po(e,t,n,r){return eo(e,t,n(xr(e,t)),r)}function mo(e,t,n,r){for(var o=e.length,i=r?o:-1;(r?i--:++i<o)&&t(e[i],i,e););return n?oo(e,r?0:i,r?i+1:o):oo(e,r?i+1:0,r?o:i)}function go(e,t){var n=e;return n instanceof Qn&&(n=n.value()),Mt(t,(function(e,t){return t.func.apply(t.thisArg,Tt([e],t.args))}),n)}function yo(e,t,n){var o=e.length;if(o<2)return o?fo(e[0]):[];for(var i=-1,s=r(o);++i<o;)for(var a=e[i],u=-1;++u<o;)u!=i&&(s[i]=dr(s[i]||a,e[u],t,n));return fo(vr(s,1),t,n)}function vo(e,t,n){for(var r=-1,i=e.length,s=t.length,a={};++r<i;){var u=r<s?t[r]:o;n(a,e[r],u)}return a}function bo(e){return Ks(e)?e:[]}function _o(e){return"function"==typeof e?e:ou}function wo(e,t){return Qs(e)?e:Ei(e,t)?[e]:Mi(ba(e))}var Eo=Gr;function ko(e,t,n){var r=e.length;return n=n===o?r:n,!t&&n>=r?e:oo(e,t,n)}var xo=ot||function(e){return mt.clearTimeout(e)};function Do(e,t){if(t)return e.slice();var n=e.length,r=Xe?Xe(n):new e.constructor(n);return e.copy(r),r}function So(e){var t=new e.constructor(e.byteLength);return new Qe(t).set(new Qe(e)),t}function Co(e,t){var n=t?So(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.length)}function Oo(e,t){if(e!==t){var n=e!==o,r=null===e,i=e==e,s=ca(e),a=t!==o,u=null===t,c=t==t,l=ca(t);if(!u&&!l&&!s&&e>t||s&&a&&c&&!u&&!l||r&&a&&c||!n&&c||!i)return 1;if(!r&&!s&&!l&&e<t||l&&n&&i&&!r&&!s||u&&n&&i||!a&&i||!c)return-1}return 0}function $o(e,t,n,o){for(var i=-1,s=e.length,a=n.length,u=-1,c=t.length,l=bn(s-a,0),f=r(c+l),d=!o;++u<c;)f[u]=t[u];for(;++i<a;)(d||i<s)&&(f[n[i]]=e[i]);for(;l--;)f[u++]=e[i++];return f}function Ao(e,t,n,o){for(var i=-1,s=e.length,a=-1,u=n.length,c=-1,l=t.length,f=bn(s-u,0),d=r(f+l),h=!o;++i<f;)d[i]=e[i];for(var p=i;++c<l;)d[p+c]=t[c];for(;++a<u;)(h||i<s)&&(d[p+n[a]]=e[i++]);return d}function Po(e,t){var n=-1,o=e.length;for(t||(t=r(o));++n<o;)t[n]=e[n];return t}function jo(e,t,n,r){var i=!n;n||(n={});for(var s=-1,a=t.length;++s<a;){var u=t[s],c=r?r(n[u],e[u],u,n,e):o;c===o&&(c=e[u]),i?sr(n,u,c):nr(n,u,c)}return n}function Fo(e,t){return function(n,r){var o=Qs(n)?Ot:or,i=t?t():{};return o(n,e,li(r,2),i)}}function Io(e){return Gr((function(t,n){var r=-1,i=n.length,s=i>1?n[i-1]:o,a=i>2?n[2]:o;for(s=e.length>3&&"function"==typeof s?(i--,s):o,a&&wi(n[0],n[1],a)&&(s=i<3?o:s,i=1),t=Ce(t);++r<i;){var u=n[r];u&&e(t,u,r,s)}return t}))}function No(e,t){return function(n,r){if(null==n)return n;if(!Hs(n))return e(n,r);for(var o=n.length,i=t?o:-1,s=Ce(n);(t?i--:++i<o)&&!1!==r(s[i],i,s););return n}}function To(e){return function(t,n,r){for(var o=-1,i=Ce(t),s=r(t),a=s.length;a--;){var u=s[e?a:++o];if(!1===n(i[u],u,i))break}return t}}function Mo(e){return function(t){var n=un(t=ba(t))?mn(t):o,r=n?n[0]:t.charAt(0),i=n?ko(n,1).join(""):t.slice(1);return r[e]()+i}}function Ro(e){return function(t){return Mt(Za(Va(t).replace(et,"")),e,"")}}function Bo(e){return function(){var t=arguments;switch(t.length){case 0:return new e;case 1:return new e(t[0]);case 2:return new e(t[0],t[1]);case 3:return new e(t[0],t[1],t[2]);case 4:return new e(t[0],t[1],t[2],t[3]);case 5:return new e(t[0],t[1],t[2],t[3],t[4]);case 6:return new e(t[0],t[1],t[2],t[3],t[4],t[5]);case 7:return new e(t[0],t[1],t[2],t[3],t[4],t[5],t[6])}var n=Un(e.prototype),r=e.apply(n,t);return ta(r)?r:n}}function Lo(e){return function(t,n,r){var i=Ce(t);if(!Hs(t)){var s=li(n,3);t=ja(t),n=function(e){return s(i[e],e,i)}}var a=e(t,n,r);return a>-1?i[s?t[a]:a]:o}}function zo(e){return oi((function(t){var n=t.length,r=n,s=Vn.prototype.thru;for(e&&t.reverse();r--;){var a=t[r];if("function"!=typeof a)throw new Ae(i);if(s&&!u&&"wrapper"==ui(a))var u=new Vn([],!0)}for(r=u?r:n;++r<n;){var c=ui(a=t[r]),l="wrapper"==c?ai(a):o;u=l&&ki(l[0])&&424==l[1]&&!l[4].length&&1==l[9]?u[ui(l[0])].apply(u,l[3]):1==a.length&&ki(a)?u[c]():u.thru(a)}return function(){var e=arguments,r=e[0];if(u&&1==e.length&&Qs(r))return u.plant(r).value();for(var o=0,i=n?t[o].apply(this,e):r;++o<n;)i=t[o].call(this,i);return i}}))}function Uo(e,t,n,i,s,a,u,c,l,d){var h=t&f,p=1&t,m=2&t,g=24&t,y=512&t,v=m?o:Bo(e);return function f(){for(var b=arguments.length,_=r(b),w=b;w--;)_[w]=arguments[w];if(g)var E=ci(f),k=function(e,t){for(var n=e.length,r=0;n--;)e[n]===t&&++r;return r}(_,E);if(i&&(_=$o(_,i,s,g)),a&&(_=Ao(_,a,u,g)),b-=k,g&&b<d){var x=fn(_,E);return Jo(e,t,Uo,f.placeholder,n,_,x,c,l,d-b)}var D=p?n:this,S=m?D[e]:e;return b=_.length,c?_=function(e,t){var n=e.length,r=_n(t.length,n),i=Po(e);for(;r--;){var s=t[r];e[r]=_i(s,n)?i[s]:o}return e}(_,c):y&&b>1&&_.reverse(),h&&l<b&&(_.length=l),this&&this!==mt&&this instanceof f&&(S=v||Bo(S)),S.apply(D,_)}}function qo(e,t){return function(n,r){return function(e,t,n,r){return wr(e,(function(e,o,i){t(r,n(e),o,i)})),r}(n,e,t(r),{})}}function Vo(e,t){return function(n,r){var i;if(n===o&&r===o)return t;if(n!==o&&(i=n),r!==o){if(i===o)return r;"string"==typeof n||"string"==typeof r?(n=lo(n),r=lo(r)):(n=co(n),r=co(r)),i=e(n,r)}return i}}function Qo(e){return oi((function(t){return t=Nt(t,Yt(li())),Gr((function(n){var r=this;return e(t,(function(e){return Ct(e,r,n)}))}))}))}function Xo(e,t){var n=(t=t===o?" ":lo(t)).length;if(n<2)return n?Wr(t,e):t;var r=Wr(t,pt(e/pn(t)));return un(t)?ko(mn(r),0,e).join(""):r.slice(0,e)}function Ho(e){return function(t,n,i){return i&&"number"!=typeof i&&wi(t,n,i)&&(n=i=o),t=pa(t),n===o?(n=t,t=0):n=pa(n),function(e,t,n,o){for(var i=-1,s=bn(pt((t-e)/(n||1)),0),a=r(s);s--;)a[o?s:++i]=e,e+=n;return a}(t,n,i=i===o?t<n?1:-1:pa(i),e)}}function Ko(e){return function(t,n){return"string"==typeof t&&"string"==typeof n||(t=ya(t),n=ya(n)),e(t,n)}}function Jo(e,t,n,r,i,s,a,u,f,d){var h=8&t;t|=h?c:l,4&(t&=~(h?l:c))||(t&=-4);var p=[e,t,i,h?s:o,h?a:o,h?o:s,h?o:a,u,f,d],m=n.apply(o,p);return ki(e)&&Pi(m,p),m.placeholder=r,Ii(m,e,t)}function Wo(e){var t=Se[e];return function(e,n){if(e=ya(e),(n=null==n?0:_n(ma(n),292))&&_t(e)){var r=(ba(e)+"e").split("e");return+((r=(ba(t(r[0]+"e"+(+r[1]+n)))+"e").split("e"))[0]+"e"+(+r[1]-n))}return t(e)}}var Go=On&&1/dn(new On([,-0]))[1]==h?function(e){return new On(e)}:cu;function Zo(e){return function(t){var n=gi(t);return n==D?cn(t):n==A?hn(t):function(e,t){return Nt(t,(function(t){return[t,e[t]]}))}(t,e(t))}}function Yo(e,t,n,s,h,p,m,g){var y=2&t;if(!y&&"function"!=typeof e)throw new Ae(i);var v=s?s.length:0;if(v||(t&=-97,s=h=o),m=m===o?m:bn(ma(m),0),g=g===o?g:ma(g),v-=h?h.length:0,t&l){var b=s,_=h;s=h=o}var w=y?o:ai(e),E=[e,t,n,s,h,b,_,p,m,g];if(w&&function(e,t){var n=e[1],r=t[1],o=n|r,i=o<131,s=r==f&&8==n||r==f&&n==d&&e[7].length<=t[8]||384==r&&t[7].length<=t[8]&&8==n;if(!i&&!s)return e;1&r&&(e[2]=t[2],o|=1&n?0:4);var u=t[3];if(u){var c=e[3];e[3]=c?$o(c,u,t[4]):u,e[4]=c?fn(e[3],a):t[4]}(u=t[5])&&(c=e[5],e[5]=c?Ao(c,u,t[6]):u,e[6]=c?fn(e[5],a):t[6]);(u=t[7])&&(e[7]=u);r&f&&(e[8]=null==e[8]?t[8]:_n(e[8],t[8]));null==e[9]&&(e[9]=t[9]);e[0]=t[0],e[1]=o}(E,w),e=E[0],t=E[1],n=E[2],s=E[3],h=E[4],!(g=E[9]=E[9]===o?y?0:e.length:bn(E[9]-v,0))&&24&t&&(t&=-25),t&&1!=t)k=8==t||t==u?function(e,t,n){var i=Bo(e);return function s(){for(var a=arguments.length,u=r(a),c=a,l=ci(s);c--;)u[c]=arguments[c];var f=a<3&&u[0]!==l&&u[a-1]!==l?[]:fn(u,l);return(a-=f.length)<n?Jo(e,t,Uo,s.placeholder,o,u,f,o,o,n-a):Ct(this&&this!==mt&&this instanceof s?i:e,this,u)}}(e,t,g):t!=c&&33!=t||h.length?Uo.apply(o,E):function(e,t,n,o){var i=1&t,s=Bo(e);return function t(){for(var a=-1,u=arguments.length,c=-1,l=o.length,f=r(l+u),d=this&&this!==mt&&this instanceof t?s:e;++c<l;)f[c]=o[c];for(;u--;)f[c++]=arguments[++a];return Ct(d,i?n:this,f)}}(e,t,n,s);else var k=function(e,t,n){var r=1&t,o=Bo(e);return function t(){return(this&&this!==mt&&this instanceof t?o:e).apply(r?n:this,arguments)}}(e,t,n);return Ii((w?to:Pi)(k,E),e,t)}function ei(e,t,n,r){return e===o||zs(e,Fe[n])&&!Te.call(r,n)?t:e}function ti(e,t,n,r,i,s){return ta(e)&&ta(t)&&(s.set(t,e),qr(e,t,o,ti,s),s.delete(t)),e}function ni(e){return ia(e)?o:e}function ri(e,t,n,r,i,s){var a=1&n,u=e.length,c=t.length;if(u!=c&&!(a&&c>u))return!1;var l=s.get(e),f=s.get(t);if(l&&f)return l==t&&f==e;var d=-1,h=!0,p=2&n?new Jn:o;for(s.set(e,t),s.set(t,e);++d<u;){var m=e[d],g=t[d];if(r)var y=a?r(g,m,d,t,e,s):r(m,g,d,e,t,s);if(y!==o){if(y)continue;h=!1;break}if(p){if(!Bt(t,(function(e,t){if(!tn(p,t)&&(m===e||i(m,e,n,r,s)))return p.push(t)}))){h=!1;break}}else if(m!==g&&!i(m,g,n,r,s)){h=!1;break}}return s.delete(e),s.delete(t),h}function oi(e){return Fi(Oi(e,o,Xi),e+"")}function ii(e){return Dr(e,ja,pi)}function si(e){return Dr(e,Fa,mi)}var ai=Pn?function(e){return Pn.get(e)}:cu;function ui(e){for(var t=e.name+"",n=jn[t],r=Te.call(jn,t)?n.length:0;r--;){var o=n[r],i=o.func;if(null==i||i==e)return o.name}return t}function ci(e){return(Te.call(zn,"placeholder")?zn:e).placeholder}function li(){var e=zn.iteratee||iu;return e=e===iu?Tr:e,arguments.length?e(arguments[0],arguments[1]):e}function fi(e,t){var n,r,o=e.__data__;return("string"==(r=typeof(n=t))||"number"==r||"symbol"==r||"boolean"==r?"__proto__"!==n:null===n)?o["string"==typeof t?"string":"hash"]:o.map}function di(e){for(var t=ja(e),n=t.length;n--;){var r=t[n],o=e[r];t[n]=[r,o,Si(o)]}return t}function hi(e,t){var n=function(e,t){return null==e?o:e[t]}(e,t);return Nr(n)?n:o}var pi=yt?function(e){return null==e?[]:(e=Ce(e),jt(yt(e),(function(t){return Je.call(e,t)})))}:gu,mi=yt?function(e){for(var t=[];e;)Tt(t,pi(e)),e=He(e);return t}:gu,gi=Sr;function yi(e,t,n){for(var r=-1,o=(t=wo(t,e)).length,i=!1;++r<o;){var s=Ri(t[r]);if(!(i=null!=e&&n(e,s)))break;e=e[s]}return i||++r!=o?i:!!(o=null==e?0:e.length)&&ea(o)&&_i(s,o)&&(Qs(e)||Vs(e))}function vi(e){return"function"!=typeof e.constructor||Di(e)?{}:Un(He(e))}function bi(e){return Qs(e)||Vs(e)||!!(Ge&&e&&e[Ge])}function _i(e,t){var n=typeof e;return!!(t=null==t?p:t)&&("number"==n||"symbol"!=n&&_e.test(e))&&e>-1&&e%1==0&&e<t}function wi(e,t,n){if(!ta(n))return!1;var r=typeof t;return!!("number"==r?Hs(n)&&_i(t,n.length):"string"==r&&t in n)&&zs(n[t],e)}function Ei(e,t){if(Qs(e))return!1;var n=typeof e;return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=e&&!ca(e))||(ne.test(e)||!te.test(e)||null!=t&&e in Ce(t))}function ki(e){var t=ui(e),n=zn[t];if("function"!=typeof n||!(t in Qn.prototype))return!1;if(e===n)return!0;var r=ai(n);return!!r&&e===r[0]}(Dn&&gi(new Dn(new ArrayBuffer(1)))!=N||Sn&&gi(new Sn)!=D||Cn&&gi(Cn.resolve())!=O||On&&gi(new On)!=A||$n&&gi(new $n)!=F)&&(gi=function(e){var t=Sr(e),n=t==C?e.constructor:o,r=n?Bi(n):"";if(r)switch(r){case Fn:return N;case In:return D;case Nn:return O;case Tn:return A;case Mn:return F}return t});var xi=Ie?Zs:yu;function Di(e){var t=e&&e.constructor;return e===("function"==typeof t&&t.prototype||Fe)}function Si(e){return e==e&&!ta(e)}function Ci(e,t){return function(n){return null!=n&&(n[e]===t&&(t!==o||e in Ce(n)))}}function Oi(e,t,n){return t=bn(t===o?e.length-1:t,0),function(){for(var o=arguments,i=-1,s=bn(o.length-t,0),a=r(s);++i<s;)a[i]=o[t+i];i=-1;for(var u=r(t+1);++i<t;)u[i]=o[i];return u[t]=n(a),Ct(e,this,u)}}function $i(e,t){return t.length<2?e:xr(e,oo(t,0,-1))}function Ai(e,t){if(("constructor"!==t||"function"!=typeof e[t])&&"__proto__"!=t)return e[t]}var Pi=Ni(to),ji=ht||function(e,t){return mt.setTimeout(e,t)},Fi=Ni(no);function Ii(e,t,n){var r=t+"";return Fi(e,function(e,t){var n=t.length;if(!n)return e;var r=n-1;return t[r]=(n>1?"& ":"")+t[r],t=t.join(n>2?", ":" "),e.replace(ue,"{\n/* [wrapped with "+t+"] */\n")}(r,function(e,t){return $t(y,(function(n){var r="_."+n[0];t&n[1]&&!Ft(e,r)&&e.push(r)})),e.sort()}(function(e){var t=e.match(ce);return t?t[1].split(le):[]}(r),n)))}function Ni(e){var t=0,n=0;return function(){var r=wn(),i=16-(r-n);if(n=r,i>0){if(++t>=800)return arguments[0]}else t=0;return e.apply(o,arguments)}}function Ti(e,t){var n=-1,r=e.length,i=r-1;for(t=t===o?r:t;++n<t;){var s=Jr(n,i),a=e[s];e[s]=e[n],e[n]=a}return e.length=t,e}var Mi=function(e){var t=Ns(e,(function(e){return 500===n.size&&n.clear(),e})),n=t.cache;return t}((function(e){var t=[];return 46===e.charCodeAt(0)&&t.push(""),e.replace(re,(function(e,n,r,o){t.push(r?o.replace(he,"$1"):n||e)})),t}));function Ri(e){if("string"==typeof e||ca(e))return e;var t=e+"";return"0"==t&&1/e==-1/0?"-0":t}function Bi(e){if(null!=e){try{return Ne.call(e)}catch(t){}try{return e+""}catch(t){}}return""}function Li(e){if(e instanceof Qn)return e.clone();var t=new Vn(e.__wrapped__,e.__chain__);return t.__actions__=Po(e.__actions__),t.__index__=e.__index__,t.__values__=e.__values__,t}var zi=Gr((function(e,t){return Ks(e)?dr(e,vr(t,1,Ks,!0)):[]})),Ui=Gr((function(e,t){var n=Gi(t);return Ks(n)&&(n=o),Ks(e)?dr(e,vr(t,1,Ks,!0),li(n,2)):[]})),qi=Gr((function(e,t){var n=Gi(t);return Ks(n)&&(n=o),Ks(e)?dr(e,vr(t,1,Ks,!0),o,n):[]}));function Vi(e,t,n){var r=null==e?0:e.length;if(!r)return-1;var o=null==n?0:ma(n);return o<0&&(o=bn(r+o,0)),Ut(e,li(t,3),o)}function Qi(e,t,n){var r=null==e?0:e.length;if(!r)return-1;var i=r-1;return n!==o&&(i=ma(n),i=n<0?bn(r+i,0):_n(i,r-1)),Ut(e,li(t,3),i,!0)}function Xi(e){return(null==e?0:e.length)?vr(e,1):[]}function Hi(e){return e&&e.length?e[0]:o}var Ki=Gr((function(e){var t=Nt(e,bo);return t.length&&t[0]===e[0]?Ar(t):[]})),Ji=Gr((function(e){var t=Gi(e),n=Nt(e,bo);return t===Gi(n)?t=o:n.pop(),n.length&&n[0]===e[0]?Ar(n,li(t,2)):[]})),Wi=Gr((function(e){var t=Gi(e),n=Nt(e,bo);return(t="function"==typeof t?t:o)&&n.pop(),n.length&&n[0]===e[0]?Ar(n,o,t):[]}));function Gi(e){var t=null==e?0:e.length;return t?e[t-1]:o}var Zi=Gr(Yi);function Yi(e,t){return e&&e.length&&t&&t.length?Hr(e,t):e}var es=oi((function(e,t){var n=null==e?0:e.length,r=ar(e,t);return Kr(e,Nt(t,(function(e){return _i(e,n)?+e:e})).sort(Oo)),r}));function ts(e){return null==e?e:xn.call(e)}var ns=Gr((function(e){return fo(vr(e,1,Ks,!0))})),rs=Gr((function(e){var t=Gi(e);return Ks(t)&&(t=o),fo(vr(e,1,Ks,!0),li(t,2))})),os=Gr((function(e){var t=Gi(e);return t="function"==typeof t?t:o,fo(vr(e,1,Ks,!0),o,t)}));function is(e){if(!e||!e.length)return[];var t=0;return e=jt(e,(function(e){if(Ks(e))return t=bn(e.length,t),!0})),Gt(t,(function(t){return Nt(e,Ht(t))}))}function ss(e,t){if(!e||!e.length)return[];var n=is(e);return null==t?n:Nt(n,(function(e){return Ct(t,o,e)}))}var as=Gr((function(e,t){return Ks(e)?dr(e,t):[]})),us=Gr((function(e){return yo(jt(e,Ks))})),cs=Gr((function(e){var t=Gi(e);return Ks(t)&&(t=o),yo(jt(e,Ks),li(t,2))})),ls=Gr((function(e){var t=Gi(e);return t="function"==typeof t?t:o,yo(jt(e,Ks),o,t)})),fs=Gr(is);var ds=Gr((function(e){var t=e.length,n=t>1?e[t-1]:o;return n="function"==typeof n?(e.pop(),n):o,ss(e,n)}));function hs(e){var t=zn(e);return t.__chain__=!0,t}function ps(e,t){return t(e)}var ms=oi((function(e){var t=e.length,n=t?e[0]:0,r=this.__wrapped__,i=function(t){return ar(t,e)};return!(t>1||this.__actions__.length)&&r instanceof Qn&&_i(n)?((r=r.slice(n,+n+(t?1:0))).__actions__.push({func:ps,args:[i],thisArg:o}),new Vn(r,this.__chain__).thru((function(e){return t&&!e.length&&e.push(o),e}))):this.thru(i)}));var gs=Fo((function(e,t,n){Te.call(e,n)?++e[n]:sr(e,n,1)}));var ys=Lo(Vi),vs=Lo(Qi);function bs(e,t){return(Qs(e)?$t:hr)(e,li(t,3))}function _s(e,t){return(Qs(e)?At:pr)(e,li(t,3))}var ws=Fo((function(e,t,n){Te.call(e,n)?e[n].push(t):sr(e,n,[t])}));var Es=Gr((function(e,t,n){var o=-1,i="function"==typeof t,s=Hs(e)?r(e.length):[];return hr(e,(function(e){s[++o]=i?Ct(t,e,n):Pr(e,t,n)})),s})),ks=Fo((function(e,t,n){sr(e,n,t)}));function xs(e,t){return(Qs(e)?Nt:Lr)(e,li(t,3))}var Ds=Fo((function(e,t,n){e[n?0:1].push(t)}),(function(){return[[],[]]}));var Ss=Gr((function(e,t){if(null==e)return[];var n=t.length;return n>1&&wi(e,t[0],t[1])?t=[]:n>2&&wi(t[0],t[1],t[2])&&(t=[t[0]]),Qr(e,vr(t,1),[])})),Cs=lt||function(){return mt.Date.now()};function Os(e,t,n){return t=n?o:t,t=e&&null==t?e.length:t,Yo(e,f,o,o,o,o,t)}function $s(e,t){var n;if("function"!=typeof t)throw new Ae(i);return e=ma(e),function(){return--e>0&&(n=t.apply(this,arguments)),e<=1&&(t=o),n}}var As=Gr((function(e,t,n){var r=1;if(n.length){var o=fn(n,ci(As));r|=c}return Yo(e,r,t,n,o)})),Ps=Gr((function(e,t,n){var r=3;if(n.length){var o=fn(n,ci(Ps));r|=c}return Yo(t,r,e,n,o)}));function js(e,t,n){var r,s,a,u,c,l,f=0,d=!1,h=!1,p=!0;if("function"!=typeof e)throw new Ae(i);function m(t){var n=r,i=s;return r=s=o,f=t,u=e.apply(i,n)}function g(e){var n=e-l;return l===o||n>=t||n<0||h&&e-f>=a}function y(){var e=Cs();if(g(e))return v(e);c=ji(y,function(e){var n=t-(e-l);return h?_n(n,a-(e-f)):n}(e))}function v(e){return c=o,p&&r?m(e):(r=s=o,u)}function b(){var e=Cs(),n=g(e);if(r=arguments,s=this,l=e,n){if(c===o)return function(e){return f=e,c=ji(y,t),d?m(e):u}(l);if(h)return xo(c),c=ji(y,t),m(l)}return c===o&&(c=ji(y,t)),u}return t=ya(t)||0,ta(n)&&(d=!!n.leading,a=(h="maxWait"in n)?bn(ya(n.maxWait)||0,t):a,p="trailing"in n?!!n.trailing:p),b.cancel=function(){c!==o&&xo(c),f=0,r=l=s=c=o},b.flush=function(){return c===o?u:v(Cs())},b}var Fs=Gr((function(e,t){return fr(e,1,t)})),Is=Gr((function(e,t,n){return fr(e,ya(t)||0,n)}));function Ns(e,t){if("function"!=typeof e||null!=t&&"function"!=typeof t)throw new Ae(i);var n=function(){var r=arguments,o=t?t.apply(this,r):r[0],i=n.cache;if(i.has(o))return i.get(o);var s=e.apply(this,r);return n.cache=i.set(o,s)||i,s};return n.cache=new(Ns.Cache||Kn),n}function Ts(e){if("function"!=typeof e)throw new Ae(i);return function(){var t=arguments;switch(t.length){case 0:return!e.call(this);case 1:return!e.call(this,t[0]);case 2:return!e.call(this,t[0],t[1]);case 3:return!e.call(this,t[0],t[1],t[2])}return!e.apply(this,t)}}Ns.Cache=Kn;var Ms=Eo((function(e,t){var n=(t=1==t.length&&Qs(t[0])?Nt(t[0],Yt(li())):Nt(vr(t,1),Yt(li()))).length;return Gr((function(r){for(var o=-1,i=_n(r.length,n);++o<i;)r[o]=t[o].call(this,r[o]);return Ct(e,this,r)}))})),Rs=Gr((function(e,t){var n=fn(t,ci(Rs));return Yo(e,c,o,t,n)})),Bs=Gr((function(e,t){var n=fn(t,ci(Bs));return Yo(e,l,o,t,n)})),Ls=oi((function(e,t){return Yo(e,d,o,o,o,t)}));function zs(e,t){return e===t||e!=e&&t!=t}var Us=Ko(Cr),qs=Ko((function(e,t){return e>=t})),Vs=jr(function(){return arguments}())?jr:function(e){return na(e)&&Te.call(e,"callee")&&!Je.call(e,"callee")},Qs=r.isArray,Xs=wt?Yt(wt):function(e){return na(e)&&Sr(e)==I};function Hs(e){return null!=e&&ea(e.length)&&!Zs(e)}function Ks(e){return na(e)&&Hs(e)}var Js=bt||yu,Ws=Et?Yt(Et):function(e){return na(e)&&Sr(e)==w};function Gs(e){if(!na(e))return!1;var t=Sr(e);return t==E||"[object DOMException]"==t||"string"==typeof e.message&&"string"==typeof e.name&&!ia(e)}function Zs(e){if(!ta(e))return!1;var t=Sr(e);return t==k||t==x||"[object AsyncFunction]"==t||"[object Proxy]"==t}function Ys(e){return"number"==typeof e&&e==ma(e)}function ea(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=p}function ta(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}function na(e){return null!=e&&"object"==typeof e}var ra=kt?Yt(kt):function(e){return na(e)&&gi(e)==D};function oa(e){return"number"==typeof e||na(e)&&Sr(e)==S}function ia(e){if(!na(e)||Sr(e)!=C)return!1;var t=He(e);if(null===t)return!0;var n=Te.call(t,"constructor")&&t.constructor;return"function"==typeof n&&n instanceof n&&Ne.call(n)==Le}var sa=xt?Yt(xt):function(e){return na(e)&&Sr(e)==$};var aa=Dt?Yt(Dt):function(e){return na(e)&&gi(e)==A};function ua(e){return"string"==typeof e||!Qs(e)&&na(e)&&Sr(e)==P}function ca(e){return"symbol"==typeof e||na(e)&&Sr(e)==j}var la=St?Yt(St):function(e){return na(e)&&ea(e.length)&&!!ut[Sr(e)]};var fa=Ko(Br),da=Ko((function(e,t){return e<=t}));function ha(e){if(!e)return[];if(Hs(e))return ua(e)?mn(e):Po(e);if(Ze&&e[Ze])return function(e){for(var t,n=[];!(t=e.next()).done;)n.push(t.value);return n}(e[Ze]());var t=gi(e);return(t==D?cn:t==A?dn:za)(e)}function pa(e){return e?(e=ya(e))===h||e===-1/0?17976931348623157e292*(e<0?-1:1):e==e?e:0:0===e?e:0}function ma(e){var t=pa(e),n=t%1;return t==t?n?t-n:t:0}function ga(e){return e?ur(ma(e),0,g):0}function ya(e){if("number"==typeof e)return e;if(ca(e))return m;if(ta(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=ta(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=Zt(e);var n=ye.test(e);return n||be.test(e)?dt(e.slice(2),n?2:8):ge.test(e)?m:+e}function va(e){return jo(e,Fa(e))}function ba(e){return null==e?"":lo(e)}var _a=Io((function(e,t){if(Di(t)||Hs(t))jo(t,ja(t),e);else for(var n in t)Te.call(t,n)&&nr(e,n,t[n])})),wa=Io((function(e,t){jo(t,Fa(t),e)})),Ea=Io((function(e,t,n,r){jo(t,Fa(t),e,r)})),ka=Io((function(e,t,n,r){jo(t,ja(t),e,r)})),xa=oi(ar);var Da=Gr((function(e,t){e=Ce(e);var n=-1,r=t.length,i=r>2?t[2]:o;for(i&&wi(t[0],t[1],i)&&(r=1);++n<r;)for(var s=t[n],a=Fa(s),u=-1,c=a.length;++u<c;){var l=a[u],f=e[l];(f===o||zs(f,Fe[l])&&!Te.call(e,l))&&(e[l]=s[l])}return e})),Sa=Gr((function(e){return e.push(o,ti),Ct(Na,o,e)}));function Ca(e,t,n){var r=null==e?o:xr(e,t);return r===o?n:r}function Oa(e,t){return null!=e&&yi(e,t,$r)}var $a=qo((function(e,t,n){null!=t&&"function"!=typeof t.toString&&(t=Be.call(t)),e[t]=n}),tu(ou)),Aa=qo((function(e,t,n){null!=t&&"function"!=typeof t.toString&&(t=Be.call(t)),Te.call(e,t)?e[t].push(n):e[t]=[n]}),li),Pa=Gr(Pr);function ja(e){return Hs(e)?Gn(e):Mr(e)}function Fa(e){return Hs(e)?Gn(e,!0):Rr(e)}var Ia=Io((function(e,t,n){qr(e,t,n)})),Na=Io((function(e,t,n,r){qr(e,t,n,r)})),Ta=oi((function(e,t){var n={};if(null==e)return n;var r=!1;t=Nt(t,(function(t){return t=wo(t,e),r||(r=t.length>1),t})),jo(e,si(e),n),r&&(n=cr(n,7,ni));for(var o=t.length;o--;)ho(n,t[o]);return n}));var Ma=oi((function(e,t){return null==e?{}:function(e,t){return Xr(e,t,(function(t,n){return Oa(e,n)}))}(e,t)}));function Ra(e,t){if(null==e)return{};var n=Nt(si(e),(function(e){return[e]}));return t=li(t),Xr(e,n,(function(e,n){return t(e,n[0])}))}var Ba=Zo(ja),La=Zo(Fa);function za(e){return null==e?[]:en(e,ja(e))}var Ua=Ro((function(e,t,n){return t=t.toLowerCase(),e+(n?qa(t):t)}));function qa(e){return Ga(ba(e).toLowerCase())}function Va(e){return(e=ba(e))&&e.replace(we,on).replace(tt,"")}var Qa=Ro((function(e,t,n){return e+(n?"-":"")+t.toLowerCase()})),Xa=Ro((function(e,t,n){return e+(n?" ":"")+t.toLowerCase()})),Ha=Mo("toLowerCase");var Ka=Ro((function(e,t,n){return e+(n?"_":"")+t.toLowerCase()}));var Ja=Ro((function(e,t,n){return e+(n?" ":"")+Ga(t)}));var Wa=Ro((function(e,t,n){return e+(n?" ":"")+t.toUpperCase()})),Ga=Mo("toUpperCase");function Za(e,t,n){return e=ba(e),(t=n?o:t)===o?function(e){return it.test(e)}(e)?function(e){return e.match(rt)||[]}(e):function(e){return e.match(fe)||[]}(e):e.match(t)||[]}var Ya=Gr((function(e,t){try{return Ct(e,o,t)}catch(n){return Gs(n)?n:new xe(n)}})),eu=oi((function(e,t){return $t(t,(function(t){t=Ri(t),sr(e,t,As(e[t],e))})),e}));function tu(e){return function(){return e}}var nu=zo(),ru=zo(!0);function ou(e){return e}function iu(e){return Tr("function"==typeof e?e:cr(e,1))}var su=Gr((function(e,t){return function(n){return Pr(n,e,t)}})),au=Gr((function(e,t){return function(n){return Pr(e,n,t)}}));function uu(e,t,n){var r=ja(t),o=kr(t,r);null!=n||ta(t)&&(o.length||!r.length)||(n=t,t=e,e=this,o=kr(t,ja(t)));var i=!(ta(n)&&"chain"in n&&!n.chain),s=Zs(e);return $t(o,(function(n){var r=t[n];e[n]=r,s&&(e.prototype[n]=function(){var t=this.__chain__;if(i||t){var n=e(this.__wrapped__);return(n.__actions__=Po(this.__actions__)).push({func:r,args:arguments,thisArg:e}),n.__chain__=t,n}return r.apply(e,Tt([this.value()],arguments))})})),e}function cu(){}var lu=Qo(Nt),fu=Qo(Pt),du=Qo(Bt);function hu(e){return Ei(e)?Ht(Ri(e)):function(e){return function(t){return xr(t,e)}}(e)}var pu=Ho(),mu=Ho(!0);function gu(){return[]}function yu(){return!1}var vu=Vo((function(e,t){return e+t}),0),bu=Wo("ceil"),_u=Vo((function(e,t){return e/t}),1),wu=Wo("floor");var Eu,ku=Vo((function(e,t){return e*t}),1),xu=Wo("round"),Du=Vo((function(e,t){return e-t}),0);return zn.after=function(e,t){if("function"!=typeof t)throw new Ae(i);return e=ma(e),function(){if(--e<1)return t.apply(this,arguments)}},zn.ary=Os,zn.assign=_a,zn.assignIn=wa,zn.assignInWith=Ea,zn.assignWith=ka,zn.at=xa,zn.before=$s,zn.bind=As,zn.bindAll=eu,zn.bindKey=Ps,zn.castArray=function(){if(!arguments.length)return[];var e=arguments[0];return Qs(e)?e:[e]},zn.chain=hs,zn.chunk=function(e,t,n){t=(n?wi(e,t,n):t===o)?1:bn(ma(t),0);var i=null==e?0:e.length;if(!i||t<1)return[];for(var s=0,a=0,u=r(pt(i/t));s<i;)u[a++]=oo(e,s,s+=t);return u},zn.compact=function(e){for(var t=-1,n=null==e?0:e.length,r=0,o=[];++t<n;){var i=e[t];i&&(o[r++]=i)}return o},zn.concat=function(){var e=arguments.length;if(!e)return[];for(var t=r(e-1),n=arguments[0],o=e;o--;)t[o-1]=arguments[o];return Tt(Qs(n)?Po(n):[n],vr(t,1))},zn.cond=function(e){var t=null==e?0:e.length,n=li();return e=t?Nt(e,(function(e){if("function"!=typeof e[1])throw new Ae(i);return[n(e[0]),e[1]]})):[],Gr((function(n){for(var r=-1;++r<t;){var o=e[r];if(Ct(o[0],this,n))return Ct(o[1],this,n)}}))},zn.conforms=function(e){return function(e){var t=ja(e);return function(n){return lr(n,e,t)}}(cr(e,1))},zn.constant=tu,zn.countBy=gs,zn.create=function(e,t){var n=Un(e);return null==t?n:ir(n,t)},zn.curry=function e(t,n,r){var i=Yo(t,8,o,o,o,o,o,n=r?o:n);return i.placeholder=e.placeholder,i},zn.curryRight=function e(t,n,r){var i=Yo(t,u,o,o,o,o,o,n=r?o:n);return i.placeholder=e.placeholder,i},zn.debounce=js,zn.defaults=Da,zn.defaultsDeep=Sa,zn.defer=Fs,zn.delay=Is,zn.difference=zi,zn.differenceBy=Ui,zn.differenceWith=qi,zn.drop=function(e,t,n){var r=null==e?0:e.length;return r?oo(e,(t=n||t===o?1:ma(t))<0?0:t,r):[]},zn.dropRight=function(e,t,n){var r=null==e?0:e.length;return r?oo(e,0,(t=r-(t=n||t===o?1:ma(t)))<0?0:t):[]},zn.dropRightWhile=function(e,t){return e&&e.length?mo(e,li(t,3),!0,!0):[]},zn.dropWhile=function(e,t){return e&&e.length?mo(e,li(t,3),!0):[]},zn.fill=function(e,t,n,r){var i=null==e?0:e.length;return i?(n&&"number"!=typeof n&&wi(e,t,n)&&(n=0,r=i),function(e,t,n,r){var i=e.length;for((n=ma(n))<0&&(n=-n>i?0:i+n),(r=r===o||r>i?i:ma(r))<0&&(r+=i),r=n>r?0:ga(r);n<r;)e[n++]=t;return e}(e,t,n,r)):[]},zn.filter=function(e,t){return(Qs(e)?jt:yr)(e,li(t,3))},zn.flatMap=function(e,t){return vr(xs(e,t),1)},zn.flatMapDeep=function(e,t){return vr(xs(e,t),h)},zn.flatMapDepth=function(e,t,n){return n=n===o?1:ma(n),vr(xs(e,t),n)},zn.flatten=Xi,zn.flattenDeep=function(e){return(null==e?0:e.length)?vr(e,h):[]},zn.flattenDepth=function(e,t){return(null==e?0:e.length)?vr(e,t=t===o?1:ma(t)):[]},zn.flip=function(e){return Yo(e,512)},zn.flow=nu,zn.flowRight=ru,zn.fromPairs=function(e){for(var t=-1,n=null==e?0:e.length,r={};++t<n;){var o=e[t];r[o[0]]=o[1]}return r},zn.functions=function(e){return null==e?[]:kr(e,ja(e))},zn.functionsIn=function(e){return null==e?[]:kr(e,Fa(e))},zn.groupBy=ws,zn.initial=function(e){return(null==e?0:e.length)?oo(e,0,-1):[]},zn.intersection=Ki,zn.intersectionBy=Ji,zn.intersectionWith=Wi,zn.invert=$a,zn.invertBy=Aa,zn.invokeMap=Es,zn.iteratee=iu,zn.keyBy=ks,zn.keys=ja,zn.keysIn=Fa,zn.map=xs,zn.mapKeys=function(e,t){var n={};return t=li(t,3),wr(e,(function(e,r,o){sr(n,t(e,r,o),e)})),n},zn.mapValues=function(e,t){var n={};return t=li(t,3),wr(e,(function(e,r,o){sr(n,r,t(e,r,o))})),n},zn.matches=function(e){return zr(cr(e,1))},zn.matchesProperty=function(e,t){return Ur(e,cr(t,1))},zn.memoize=Ns,zn.merge=Ia,zn.mergeWith=Na,zn.method=su,zn.methodOf=au,zn.mixin=uu,zn.negate=Ts,zn.nthArg=function(e){return e=ma(e),Gr((function(t){return Vr(t,e)}))},zn.omit=Ta,zn.omitBy=function(e,t){return Ra(e,Ts(li(t)))},zn.once=function(e){return $s(2,e)},zn.orderBy=function(e,t,n,r){return null==e?[]:(Qs(t)||(t=null==t?[]:[t]),Qs(n=r?o:n)||(n=null==n?[]:[n]),Qr(e,t,n))},zn.over=lu,zn.overArgs=Ms,zn.overEvery=fu,zn.overSome=du,zn.partial=Rs,zn.partialRight=Bs,zn.partition=Ds,zn.pick=Ma,zn.pickBy=Ra,zn.property=hu,zn.propertyOf=function(e){return function(t){return null==e?o:xr(e,t)}},zn.pull=Zi,zn.pullAll=Yi,zn.pullAllBy=function(e,t,n){return e&&e.length&&t&&t.length?Hr(e,t,li(n,2)):e},zn.pullAllWith=function(e,t,n){return e&&e.length&&t&&t.length?Hr(e,t,o,n):e},zn.pullAt=es,zn.range=pu,zn.rangeRight=mu,zn.rearg=Ls,zn.reject=function(e,t){return(Qs(e)?jt:yr)(e,Ts(li(t,3)))},zn.remove=function(e,t){var n=[];if(!e||!e.length)return n;var r=-1,o=[],i=e.length;for(t=li(t,3);++r<i;){var s=e[r];t(s,r,e)&&(n.push(s),o.push(r))}return Kr(e,o),n},zn.rest=function(e,t){if("function"!=typeof e)throw new Ae(i);return Gr(e,t=t===o?t:ma(t))},zn.reverse=ts,zn.sampleSize=function(e,t,n){return t=(n?wi(e,t,n):t===o)?1:ma(t),(Qs(e)?Yn:Yr)(e,t)},zn.set=function(e,t,n){return null==e?e:eo(e,t,n)},zn.setWith=function(e,t,n,r){return r="function"==typeof r?r:o,null==e?e:eo(e,t,n,r)},zn.shuffle=function(e){return(Qs(e)?er:ro)(e)},zn.slice=function(e,t,n){var r=null==e?0:e.length;return r?(n&&"number"!=typeof n&&wi(e,t,n)?(t=0,n=r):(t=null==t?0:ma(t),n=n===o?r:ma(n)),oo(e,t,n)):[]},zn.sortBy=Ss,zn.sortedUniq=function(e){return e&&e.length?uo(e):[]},zn.sortedUniqBy=function(e,t){return e&&e.length?uo(e,li(t,2)):[]},zn.split=function(e,t,n){return n&&"number"!=typeof n&&wi(e,t,n)&&(t=n=o),(n=n===o?g:n>>>0)?(e=ba(e))&&("string"==typeof t||null!=t&&!sa(t))&&!(t=lo(t))&&un(e)?ko(mn(e),0,n):e.split(t,n):[]},zn.spread=function(e,t){if("function"!=typeof e)throw new Ae(i);return t=null==t?0:bn(ma(t),0),Gr((function(n){var r=n[t],o=ko(n,0,t);return r&&Tt(o,r),Ct(e,this,o)}))},zn.tail=function(e){var t=null==e?0:e.length;return t?oo(e,1,t):[]},zn.take=function(e,t,n){return e&&e.length?oo(e,0,(t=n||t===o?1:ma(t))<0?0:t):[]},zn.takeRight=function(e,t,n){var r=null==e?0:e.length;return r?oo(e,(t=r-(t=n||t===o?1:ma(t)))<0?0:t,r):[]},zn.takeRightWhile=function(e,t){return e&&e.length?mo(e,li(t,3),!1,!0):[]},zn.takeWhile=function(e,t){return e&&e.length?mo(e,li(t,3)):[]},zn.tap=function(e,t){return t(e),e},zn.throttle=function(e,t,n){var r=!0,o=!0;if("function"!=typeof e)throw new Ae(i);return ta(n)&&(r="leading"in n?!!n.leading:r,o="trailing"in n?!!n.trailing:o),js(e,t,{leading:r,maxWait:t,trailing:o})},zn.thru=ps,zn.toArray=ha,zn.toPairs=Ba,zn.toPairsIn=La,zn.toPath=function(e){return Qs(e)?Nt(e,Ri):ca(e)?[e]:Po(Mi(ba(e)))},zn.toPlainObject=va,zn.transform=function(e,t,n){var r=Qs(e),o=r||Js(e)||la(e);if(t=li(t,4),null==n){var i=e&&e.constructor;n=o?r?new i:[]:ta(e)&&Zs(i)?Un(He(e)):{}}return(o?$t:wr)(e,(function(e,r,o){return t(n,e,r,o)})),n},zn.unary=function(e){return Os(e,1)},zn.union=ns,zn.unionBy=rs,zn.unionWith=os,zn.uniq=function(e){return e&&e.length?fo(e):[]},zn.uniqBy=function(e,t){return e&&e.length?fo(e,li(t,2)):[]},zn.uniqWith=function(e,t){return t="function"==typeof t?t:o,e&&e.length?fo(e,o,t):[]},zn.unset=function(e,t){return null==e||ho(e,t)},zn.unzip=is,zn.unzipWith=ss,zn.update=function(e,t,n){return null==e?e:po(e,t,_o(n))},zn.updateWith=function(e,t,n,r){return r="function"==typeof r?r:o,null==e?e:po(e,t,_o(n),r)},zn.values=za,zn.valuesIn=function(e){return null==e?[]:en(e,Fa(e))},zn.without=as,zn.words=Za,zn.wrap=function(e,t){return Rs(_o(t),e)},zn.xor=us,zn.xorBy=cs,zn.xorWith=ls,zn.zip=fs,zn.zipObject=function(e,t){return vo(e||[],t||[],nr)},zn.zipObjectDeep=function(e,t){return vo(e||[],t||[],eo)},zn.zipWith=ds,zn.entries=Ba,zn.entriesIn=La,zn.extend=wa,zn.extendWith=Ea,uu(zn,zn),zn.add=vu,zn.attempt=Ya,zn.camelCase=Ua,zn.capitalize=qa,zn.ceil=bu,zn.clamp=function(e,t,n){return n===o&&(n=t,t=o),n!==o&&(n=(n=ya(n))==n?n:0),t!==o&&(t=(t=ya(t))==t?t:0),ur(ya(e),t,n)},zn.clone=function(e){return cr(e,4)},zn.cloneDeep=function(e){return cr(e,5)},zn.cloneDeepWith=function(e,t){return cr(e,5,t="function"==typeof t?t:o)},zn.cloneWith=function(e,t){return cr(e,4,t="function"==typeof t?t:o)},zn.conformsTo=function(e,t){return null==t||lr(e,t,ja(t))},zn.deburr=Va,zn.defaultTo=function(e,t){return null==e||e!=e?t:e},zn.divide=_u,zn.endsWith=function(e,t,n){e=ba(e),t=lo(t);var r=e.length,i=n=n===o?r:ur(ma(n),0,r);return(n-=t.length)>=0&&e.slice(n,i)==t},zn.eq=zs,zn.escape=function(e){return(e=ba(e))&&G.test(e)?e.replace(J,sn):e},zn.escapeRegExp=function(e){return(e=ba(e))&&ie.test(e)?e.replace(oe,"\\$&"):e},zn.every=function(e,t,n){var r=Qs(e)?Pt:mr;return n&&wi(e,t,n)&&(t=o),r(e,li(t,3))},zn.find=ys,zn.findIndex=Vi,zn.findKey=function(e,t){return zt(e,li(t,3),wr)},zn.findLast=vs,zn.findLastIndex=Qi,zn.findLastKey=function(e,t){return zt(e,li(t,3),Er)},zn.floor=wu,zn.forEach=bs,zn.forEachRight=_s,zn.forIn=function(e,t){return null==e?e:br(e,li(t,3),Fa)},zn.forInRight=function(e,t){return null==e?e:_r(e,li(t,3),Fa)},zn.forOwn=function(e,t){return e&&wr(e,li(t,3))},zn.forOwnRight=function(e,t){return e&&Er(e,li(t,3))},zn.get=Ca,zn.gt=Us,zn.gte=qs,zn.has=function(e,t){return null!=e&&yi(e,t,Or)},zn.hasIn=Oa,zn.head=Hi,zn.identity=ou,zn.includes=function(e,t,n,r){e=Hs(e)?e:za(e),n=n&&!r?ma(n):0;var o=e.length;return n<0&&(n=bn(o+n,0)),ua(e)?n<=o&&e.indexOf(t,n)>-1:!!o&&qt(e,t,n)>-1},zn.indexOf=function(e,t,n){var r=null==e?0:e.length;if(!r)return-1;var o=null==n?0:ma(n);return o<0&&(o=bn(r+o,0)),qt(e,t,o)},zn.inRange=function(e,t,n){return t=pa(t),n===o?(n=t,t=0):n=pa(n),function(e,t,n){return e>=_n(t,n)&&e<bn(t,n)}(e=ya(e),t,n)},zn.invoke=Pa,zn.isArguments=Vs,zn.isArray=Qs,zn.isArrayBuffer=Xs,zn.isArrayLike=Hs,zn.isArrayLikeObject=Ks,zn.isBoolean=function(e){return!0===e||!1===e||na(e)&&Sr(e)==_},zn.isBuffer=Js,zn.isDate=Ws,zn.isElement=function(e){return na(e)&&1===e.nodeType&&!ia(e)},zn.isEmpty=function(e){if(null==e)return!0;if(Hs(e)&&(Qs(e)||"string"==typeof e||"function"==typeof e.splice||Js(e)||la(e)||Vs(e)))return!e.length;var t=gi(e);if(t==D||t==A)return!e.size;if(Di(e))return!Mr(e).length;for(var n in e)if(Te.call(e,n))return!1;return!0},zn.isEqual=function(e,t){return Fr(e,t)},zn.isEqualWith=function(e,t,n){var r=(n="function"==typeof n?n:o)?n(e,t):o;return r===o?Fr(e,t,o,n):!!r},zn.isError=Gs,zn.isFinite=function(e){return"number"==typeof e&&_t(e)},zn.isFunction=Zs,zn.isInteger=Ys,zn.isLength=ea,zn.isMap=ra,zn.isMatch=function(e,t){return e===t||Ir(e,t,di(t))},zn.isMatchWith=function(e,t,n){return n="function"==typeof n?n:o,Ir(e,t,di(t),n)},zn.isNaN=function(e){return oa(e)&&e!=+e},zn.isNative=function(e){if(xi(e))throw new xe("Unsupported core-js use. Try https://npms.io/search?q=ponyfill.");return Nr(e)},zn.isNil=function(e){return null==e},zn.isNull=function(e){return null===e},zn.isNumber=oa,zn.isObject=ta,zn.isObjectLike=na,zn.isPlainObject=ia,zn.isRegExp=sa,zn.isSafeInteger=function(e){return Ys(e)&&e>=-9007199254740991&&e<=p},zn.isSet=aa,zn.isString=ua,zn.isSymbol=ca,zn.isTypedArray=la,zn.isUndefined=function(e){return e===o},zn.isWeakMap=function(e){return na(e)&&gi(e)==F},zn.isWeakSet=function(e){return na(e)&&"[object WeakSet]"==Sr(e)},zn.join=function(e,t){return null==e?"":Lt.call(e,t)},zn.kebabCase=Qa,zn.last=Gi,zn.lastIndexOf=function(e,t,n){var r=null==e?0:e.length;if(!r)return-1;var i=r;return n!==o&&(i=(i=ma(n))<0?bn(r+i,0):_n(i,r-1)),t==t?function(e,t,n){for(var r=n+1;r--;)if(e[r]===t)return r;return r}(e,t,i):Ut(e,Qt,i,!0)},zn.lowerCase=Xa,zn.lowerFirst=Ha,zn.lt=fa,zn.lte=da,zn.max=function(e){return e&&e.length?gr(e,ou,Cr):o},zn.maxBy=function(e,t){return e&&e.length?gr(e,li(t,2),Cr):o},zn.mean=function(e){return Xt(e,ou)},zn.meanBy=function(e,t){return Xt(e,li(t,2))},zn.min=function(e){return e&&e.length?gr(e,ou,Br):o},zn.minBy=function(e,t){return e&&e.length?gr(e,li(t,2),Br):o},zn.stubArray=gu,zn.stubFalse=yu,zn.stubObject=function(){return{}},zn.stubString=function(){return""},zn.stubTrue=function(){return!0},zn.multiply=ku,zn.nth=function(e,t){return e&&e.length?Vr(e,ma(t)):o},zn.noConflict=function(){return mt._===this&&(mt._=ze),this},zn.noop=cu,zn.now=Cs,zn.pad=function(e,t,n){e=ba(e);var r=(t=ma(t))?pn(e):0;if(!t||r>=t)return e;var o=(t-r)/2;return Xo(gt(o),n)+e+Xo(pt(o),n)},zn.padEnd=function(e,t,n){e=ba(e);var r=(t=ma(t))?pn(e):0;return t&&r<t?e+Xo(t-r,n):e},zn.padStart=function(e,t,n){e=ba(e);var r=(t=ma(t))?pn(e):0;return t&&r<t?Xo(t-r,n)+e:e},zn.parseInt=function(e,t,n){return n||null==t?t=0:t&&(t=+t),En(ba(e).replace(se,""),t||0)},zn.random=function(e,t,n){if(n&&"boolean"!=typeof n&&wi(e,t,n)&&(t=n=o),n===o&&("boolean"==typeof t?(n=t,t=o):"boolean"==typeof e&&(n=e,e=o)),e===o&&t===o?(e=0,t=1):(e=pa(e),t===o?(t=e,e=0):t=pa(t)),e>t){var r=e;e=t,t=r}if(n||e%1||t%1){var i=kn();return _n(e+i*(t-e+ft("1e-"+((i+"").length-1))),t)}return Jr(e,t)},zn.reduce=function(e,t,n){var r=Qs(e)?Mt:Jt,o=arguments.length<3;return r(e,li(t,4),n,o,hr)},zn.reduceRight=function(e,t,n){var r=Qs(e)?Rt:Jt,o=arguments.length<3;return r(e,li(t,4),n,o,pr)},zn.repeat=function(e,t,n){return t=(n?wi(e,t,n):t===o)?1:ma(t),Wr(ba(e),t)},zn.replace=function(){var e=arguments,t=ba(e[0]);return e.length<3?t:t.replace(e[1],e[2])},zn.result=function(e,t,n){var r=-1,i=(t=wo(t,e)).length;for(i||(i=1,e=o);++r<i;){var s=null==e?o:e[Ri(t[r])];s===o&&(r=i,s=n),e=Zs(s)?s.call(e):s}return e},zn.round=xu,zn.runInContext=e,zn.sample=function(e){return(Qs(e)?Zn:Zr)(e)},zn.size=function(e){if(null==e)return 0;if(Hs(e))return ua(e)?pn(e):e.length;var t=gi(e);return t==D||t==A?e.size:Mr(e).length},zn.snakeCase=Ka,zn.some=function(e,t,n){var r=Qs(e)?Bt:io;return n&&wi(e,t,n)&&(t=o),r(e,li(t,3))},zn.sortedIndex=function(e,t){return so(e,t)},zn.sortedIndexBy=function(e,t,n){return ao(e,t,li(n,2))},zn.sortedIndexOf=function(e,t){var n=null==e?0:e.length;if(n){var r=so(e,t);if(r<n&&zs(e[r],t))return r}return-1},zn.sortedLastIndex=function(e,t){return so(e,t,!0)},zn.sortedLastIndexBy=function(e,t,n){return ao(e,t,li(n,2),!0)},zn.sortedLastIndexOf=function(e,t){if(null==e?0:e.length){var n=so(e,t,!0)-1;if(zs(e[n],t))return n}return-1},zn.startCase=Ja,zn.startsWith=function(e,t,n){return e=ba(e),n=null==n?0:ur(ma(n),0,e.length),t=lo(t),e.slice(n,n+t.length)==t},zn.subtract=Du,zn.sum=function(e){return e&&e.length?Wt(e,ou):0},zn.sumBy=function(e,t){return e&&e.length?Wt(e,li(t,2)):0},zn.template=function(e,t,n){var r=zn.templateSettings;n&&wi(e,t,n)&&(t=o),e=ba(e),t=Ea({},t,r,ei);var i,s,a=Ea({},t.imports,r.imports,ei),u=ja(a),c=en(a,u),l=0,f=t.interpolate||Ee,d="__p += '",h=Oe((t.escape||Ee).source+"|"+f.source+"|"+(f===ee?pe:Ee).source+"|"+(t.evaluate||Ee).source+"|$","g"),p="//# sourceURL="+(Te.call(t,"sourceURL")?(t.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++at+"]")+"\n";e.replace(h,(function(t,n,r,o,a,u){return r||(r=o),d+=e.slice(l,u).replace(ke,an),n&&(i=!0,d+="' +\n__e("+n+") +\n'"),a&&(s=!0,d+="';\n"+a+";\n__p += '"),r&&(d+="' +\n((__t = ("+r+")) == null ? '' : __t) +\n'"),l=u+t.length,t})),d+="';\n";var m=Te.call(t,"variable")&&t.variable;if(m){if(de.test(m))throw new xe("Invalid `variable` option passed into `_.template`")}else d="with (obj) {\n"+d+"\n}\n";d=(s?d.replace(Q,""):d).replace(X,"$1").replace(H,"$1;"),d="function("+(m||"obj")+") {\n"+(m?"":"obj || (obj = {});\n")+"var __t, __p = ''"+(i?", __e = _.escape":"")+(s?", __j = Array.prototype.join;\nfunction print() { __p += __j.call(arguments, '') }\n":";\n")+d+"return __p\n}";var g=Ya((function(){return De(u,p+"return "+d).apply(o,c)}));if(g.source=d,Gs(g))throw g;return g},zn.times=function(e,t){if((e=ma(e))<1||e>p)return[];var n=g,r=_n(e,g);t=li(t),e-=g;for(var o=Gt(r,t);++n<e;)t(n);return o},zn.toFinite=pa,zn.toInteger=ma,zn.toLength=ga,zn.toLower=function(e){return ba(e).toLowerCase()},zn.toNumber=ya,zn.toSafeInteger=function(e){return e?ur(ma(e),-9007199254740991,p):0===e?e:0},zn.toString=ba,zn.toUpper=function(e){return ba(e).toUpperCase()},zn.trim=function(e,t,n){if((e=ba(e))&&(n||t===o))return Zt(e);if(!e||!(t=lo(t)))return e;var r=mn(e),i=mn(t);return ko(r,nn(r,i),rn(r,i)+1).join("")},zn.trimEnd=function(e,t,n){if((e=ba(e))&&(n||t===o))return e.slice(0,gn(e)+1);if(!e||!(t=lo(t)))return e;var r=mn(e);return ko(r,0,rn(r,mn(t))+1).join("")},zn.trimStart=function(e,t,n){if((e=ba(e))&&(n||t===o))return e.replace(se,"");if(!e||!(t=lo(t)))return e;var r=mn(e);return ko(r,nn(r,mn(t))).join("")},zn.truncate=function(e,t){var n=30,r="...";if(ta(t)){var i="separator"in t?t.separator:i;n="length"in t?ma(t.length):n,r="omission"in t?lo(t.omission):r}var s=(e=ba(e)).length;if(un(e)){var a=mn(e);s=a.length}if(n>=s)return e;var u=n-pn(r);if(u<1)return r;var c=a?ko(a,0,u).join(""):e.slice(0,u);if(i===o)return c+r;if(a&&(u+=c.length-u),sa(i)){if(e.slice(u).search(i)){var l,f=c;for(i.global||(i=Oe(i.source,ba(me.exec(i))+"g")),i.lastIndex=0;l=i.exec(f);)var d=l.index;c=c.slice(0,d===o?u:d)}}else if(e.indexOf(lo(i),u)!=u){var h=c.lastIndexOf(i);h>-1&&(c=c.slice(0,h))}return c+r},zn.unescape=function(e){return(e=ba(e))&&W.test(e)?e.replace(K,yn):e},zn.uniqueId=function(e){var t=++Me;return ba(e)+t},zn.upperCase=Wa,zn.upperFirst=Ga,zn.each=bs,zn.eachRight=_s,zn.first=Hi,uu(zn,(Eu={},wr(zn,(function(e,t){Te.call(zn.prototype,t)||(Eu[t]=e)})),Eu),{chain:!1}),zn.VERSION="4.17.21",$t(["bind","bindKey","curry","curryRight","partial","partialRight"],(function(e){zn[e].placeholder=zn})),$t(["drop","take"],(function(e,t){Qn.prototype[e]=function(n){n=n===o?1:bn(ma(n),0);var r=this.__filtered__&&!t?new Qn(this):this.clone();return r.__filtered__?r.__takeCount__=_n(n,r.__takeCount__):r.__views__.push({size:_n(n,g),type:e+(r.__dir__<0?"Right":"")}),r},Qn.prototype[e+"Right"]=function(t){return this.reverse()[e](t).reverse()}})),$t(["filter","map","takeWhile"],(function(e,t){var n=t+1,r=1==n||3==n;Qn.prototype[e]=function(e){var t=this.clone();return t.__iteratees__.push({iteratee:li(e,3),type:n}),t.__filtered__=t.__filtered__||r,t}})),$t(["head","last"],(function(e,t){var n="take"+(t?"Right":"");Qn.prototype[e]=function(){return this[n](1).value()[0]}})),$t(["initial","tail"],(function(e,t){var n="drop"+(t?"":"Right");Qn.prototype[e]=function(){return this.__filtered__?new Qn(this):this[n](1)}})),Qn.prototype.compact=function(){return this.filter(ou)},Qn.prototype.find=function(e){return this.filter(e).head()},Qn.prototype.findLast=function(e){return this.reverse().find(e)},Qn.prototype.invokeMap=Gr((function(e,t){return"function"==typeof e?new Qn(this):this.map((function(n){return Pr(n,e,t)}))})),Qn.prototype.reject=function(e){return this.filter(Ts(li(e)))},Qn.prototype.slice=function(e,t){e=ma(e);var n=this;return n.__filtered__&&(e>0||t<0)?new Qn(n):(e<0?n=n.takeRight(-e):e&&(n=n.drop(e)),t!==o&&(n=(t=ma(t))<0?n.dropRight(-t):n.take(t-e)),n)},Qn.prototype.takeRightWhile=function(e){return this.reverse().takeWhile(e).reverse()},Qn.prototype.toArray=function(){return this.take(g)},wr(Qn.prototype,(function(e,t){var n=/^(?:filter|find|map|reject)|While$/.test(t),r=/^(?:head|last)$/.test(t),i=zn[r?"take"+("last"==t?"Right":""):t],s=r||/^find/.test(t);i&&(zn.prototype[t]=function(){var t=this.__wrapped__,a=r?[1]:arguments,u=t instanceof Qn,c=a[0],l=u||Qs(t),f=function(e){var t=i.apply(zn,Tt([e],a));return r&&d?t[0]:t};l&&n&&"function"==typeof c&&1!=c.length&&(u=l=!1);var d=this.__chain__,h=!!this.__actions__.length,p=s&&!d,m=u&&!h;if(!s&&l){t=m?t:new Qn(this);var g=e.apply(t,a);return g.__actions__.push({func:ps,args:[f],thisArg:o}),new Vn(g,d)}return p&&m?e.apply(this,a):(g=this.thru(f),p?r?g.value()[0]:g.value():g)})})),$t(["pop","push","shift","sort","splice","unshift"],(function(e){var t=Pe[e],n=/^(?:push|sort|unshift)$/.test(e)?"tap":"thru",r=/^(?:pop|shift)$/.test(e);zn.prototype[e]=function(){var e=arguments;if(r&&!this.__chain__){var o=this.value();return t.apply(Qs(o)?o:[],e)}return this[n]((function(n){return t.apply(Qs(n)?n:[],e)}))}})),wr(Qn.prototype,(function(e,t){var n=zn[t];if(n){var r=n.name+"";Te.call(jn,r)||(jn[r]=[]),jn[r].push({name:t,func:n})}})),jn[Uo(o,2).name]=[{name:"wrapper",func:o}],Qn.prototype.clone=function(){var e=new Qn(this.__wrapped__);return e.__actions__=Po(this.__actions__),e.__dir__=this.__dir__,e.__filtered__=this.__filtered__,e.__iteratees__=Po(this.__iteratees__),e.__takeCount__=this.__takeCount__,e.__views__=Po(this.__views__),e},Qn.prototype.reverse=function(){if(this.__filtered__){var e=new Qn(this);e.__dir__=-1,e.__filtered__=!0}else(e=this.clone()).__dir__*=-1;return e},Qn.prototype.value=function(){var e=this.__wrapped__.value(),t=this.__dir__,n=Qs(e),r=t<0,o=n?e.length:0,i=function(e,t,n){var r=-1,o=n.length;for(;++r<o;){var i=n[r],s=i.size;switch(i.type){case"drop":e+=s;break;case"dropRight":t-=s;break;case"take":t=_n(t,e+s);break;case"takeRight":e=bn(e,t-s)}}return{start:e,end:t}}(0,o,this.__views__),s=i.start,a=i.end,u=a-s,c=r?a:s-1,l=this.__iteratees__,f=l.length,d=0,h=_n(u,this.__takeCount__);if(!n||!r&&o==u&&h==u)return go(e,this.__actions__);var p=[];e:for(;u--&&d<h;){for(var m=-1,g=e[c+=t];++m<f;){var y=l[m],v=y.iteratee,b=y.type,_=v(g);if(2==b)g=_;else if(!_){if(1==b)continue e;break e}}p[d++]=g}return p},zn.prototype.at=ms,zn.prototype.chain=function(){return hs(this)},zn.prototype.commit=function(){return new Vn(this.value(),this.__chain__)},zn.prototype.next=function(){this.__values__===o&&(this.__values__=ha(this.value()));var e=this.__index__>=this.__values__.length;return{done:e,value:e?o:this.__values__[this.__index__++]}},zn.prototype.plant=function(e){for(var t,n=this;n instanceof qn;){var r=Li(n);r.__index__=0,r.__values__=o,t?i.__wrapped__=r:t=r;var i=r;n=n.__wrapped__}return i.__wrapped__=e,t},zn.prototype.reverse=function(){var e=this.__wrapped__;if(e instanceof Qn){var t=e;return this.__actions__.length&&(t=new Qn(this)),(t=t.reverse()).__actions__.push({func:ps,args:[ts],thisArg:o}),new Vn(t,this.__chain__)}return this.thru(ts)},zn.prototype.toJSON=zn.prototype.valueOf=zn.prototype.value=function(){return go(this.__wrapped__,this.__actions__)},zn.prototype.first=zn.prototype.head,Ze&&(zn.prototype[Ze]=function(){return this}),zn}();mt._=vn,(r=function(){return vn}.call(t,n,t,e))===o||(e.exports=r)}.call(this)},30733:(e,t,n)=>{var r=n(96738);function o(e,t){if("function"!=typeof e||null!=t&&"function"!=typeof t)throw new TypeError("Expected a function");var n=function(){var r=arguments,o=t?t.apply(this,r):r[0],i=n.cache;if(i.has(o))return i.get(o);var s=e.apply(this,r);return n.cache=i.set(o,s)||i,s};return n.cache=new(o.Cache||r),n}o.Cache=r,e.exports=o},16765:(e,t,n)=>{var r=n(82857);e.exports=function(e,t,n){return null==e?e:r(e,t,n)}},66188:(e,t,n)=>{var r=n(1054);e.exports=function(e){return null==e?"":r(e)}},86448:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>r});const r={schemaItem:"schemaItem_Ndoq",schemaName:"schemaName_R3Uj",strikethrough:"strikethrough_Q6D2"}},89754:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>r});const r={constant:"constant_8nJK"}},3350:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>r});const r={deprecated:"deprecated__nvj"}},65950:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>r});const r={readOnly:"readOnly_Kxax"}},43654:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>r});const r={required:"required_SaMx"}},65128:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>r});const r={writeOnly:"writeOnly_OAXI"}},84501:(e,t)=>{function n(e){let t,n=[];for(let r of e.split(",").map((e=>e.trim())))if(/^-?\d+$/.test(r))n.push(parseInt(r,10));else if(t=r.match(/^(-?\d+)(-|\.\.\.?|\u2025|\u2026|\u22EF)(-?\d+)$/)){let[e,r,o,i]=t;if(r&&i){r=parseInt(r),i=parseInt(i);const e=r<i?1:-1;"-"!==o&&".."!==o&&"\u2025"!==o||(i+=e);for(let t=r;t!==i;t+=e)n.push(t)}}return n}t.default=n,e.exports=n},27822:(e,t,n)=>{"use strict";const r=n(25308);e.exports=r,r.default=r},25308:e=>{"use strict";e.exports=function(e,n,r){var o,i="";if(t="",arguments.length>1){if("number"==typeof r)for(o=0;o<r;o+=1)i+=" ";else"string"==typeof r&&(i=r);if(""!==i){if(null!=n){if("function"==typeof n)return a("",{"":e},[],n,i);if(Array.isArray(n))return u("",e,[],n,i)}return c("",e,[],i)}if("function"==typeof n)return f("",{"":e},[],n);if(Array.isArray(n))return l("",e,[],n)}return d("",e,[])};var t="";const n=/[\x00-\x1f\x22\x5c]/,r=/[\x00-\x1f\x22\x5c]/g,o=["\\u0000","\\u0001","\\u0002","\\u0003","\\u0004","\\u0005","\\u0006","\\u0007","\\b","\\t","\\n","\\u000b","\\f","\\r","\\u000e","\\u000f","\\u0010","\\u0011","\\u0012","\\u0013","\\u0014","\\u0015","\\u0016","\\u0017","\\u0018","\\u0019","\\u001a","\\u001b","\\u001c","\\u001d","\\u001e","\\u001f","","",'\\"',"","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","\\\\"];function i(e){return o[e.charCodeAt(0)]}function s(e){if(e.length<5e3&&!n.test(e))return e;if(e.length>100)return e.replace(r,i);for(var t="",s=0,a=0;a<e.length;a++){const n=e.charCodeAt(a);(34===n||92===n||n<32)&&(t+=s===a?o[n]:`${e.slice(s,a)}${o[n]}`,s=a+1)}return 0===s?t=e:s!==a&&(t+=e.slice(s)),t}function a(e,n,r,o,i){var u,c,l;const f=t;var d=n[e];switch("object"==typeof d&&null!==d&&"function"==typeof d.toJSON&&(d=d.toJSON(e)),typeof(d=o.call(n,e,d))){case"object":if(null===d)return"null";for(u=0;u<r.length;u++)if(r[u]===d)return'"[Circular]"';if(Array.isArray(d)){if(0===d.length)return"[]";for(r.push(d),c="[",c+=`\n${t+=i}`,l=`,\n${t}`,u=0;u<d.length-1;u++){const e=a(u,d,r,o,i);c+=void 0!==e?e:"null",c+=l}const e=a(u,d,r,o,i);return c+=void 0!==e?e:"null",""!==t&&(c+=`\n${f}`),c+="]",r.pop(),t=f,c}var p=h(Object.keys(d));if(0===p.length)return"{}";r.push(d),c="{",c+=`\n${t+=i}`,l=`,\n${t}`;var m="";for(u=0;u<p.length;u++){const t=a(e=p[u],d,r,o,i);void 0!==t&&(c+=`${m}"${s(e)}": ${t}`,m=l)}return""!==m?c+=`\n${f}`:c="{",c+="}",r.pop(),t=f,c;case"string":return`"${s(d)}"`;case"number":return isFinite(d)?String(d):"null";case"boolean":return!0===d?"true":"false"}}function u(e,n,r,o,i){var a,c,l;const f=t;switch("object"==typeof n&&null!==n&&"function"==typeof n.toJSON&&(n=n.toJSON(e)),typeof n){case"object":if(null===n)return"null";for(a=0;a<r.length;a++)if(r[a]===n)return'"[Circular]"';if(Array.isArray(n)){if(0===n.length)return"[]";for(r.push(n),c="[",c+=`\n${t+=i}`,l=`,\n${t}`,a=0;a<n.length-1;a++){const e=u(a,n[a],r,o,i);c+=void 0!==e?e:"null",c+=l}const e=u(a,n[a],r,o,i);return c+=void 0!==e?e:"null",""!==t&&(c+=`\n${f}`),c+="]",r.pop(),t=f,c}if(0===o.length)return"{}";r.push(n),c="{",c+=`\n${t+=i}`,l=`,\n${t}`;var d="";for(a=0;a<o.length;a++)if("string"==typeof o[a]||"number"==typeof o[a]){const t=u(e=o[a],n[e],r,o,i);void 0!==t&&(c+=`${d}"${s(e)}": ${t}`,d=l)}return""!==d?c+=`\n${f}`:c="{",c+="}",r.pop(),t=f,c;case"string":return`"${s(n)}"`;case"number":return isFinite(n)?String(n):"null";case"boolean":return!0===n?"true":"false"}}function c(e,n,r,o){var i,a,u;const l=t;switch(typeof n){case"object":if(null===n)return"null";if("function"==typeof n.toJSON){if("object"!=typeof(n=n.toJSON(e)))return c(e,n,r,o);if(null===n)return"null"}for(i=0;i<r.length;i++)if(r[i]===n)return'"[Circular]"';if(Array.isArray(n)){if(0===n.length)return"[]";for(r.push(n),a="[",a+=`\n${t+=o}`,u=`,\n${t}`,i=0;i<n.length-1;i++){const e=c(i,n[i],r,o);a+=void 0!==e?e:"null",a+=u}const e=c(i,n[i],r,o);return a+=void 0!==e?e:"null",""!==t&&(a+=`\n${l}`),a+="]",r.pop(),t=l,a}var f=h(Object.keys(n));if(0===f.length)return"{}";r.push(n),a="{",a+=`\n${t+=o}`,u=`,\n${t}`;var d="";for(i=0;i<f.length;i++){const t=c(e=f[i],n[e],r,o);void 0!==t&&(a+=`${d}"${s(e)}": ${t}`,d=u)}return""!==d?a+=`\n${l}`:a="{",a+="}",r.pop(),t=l,a;case"string":return`"${s(n)}"`;case"number":return isFinite(n)?String(n):"null";case"boolean":return!0===n?"true":"false"}}function l(e,t,n,r){var o,i;switch("object"==typeof t&&null!==t&&"function"==typeof t.toJSON&&(t=t.toJSON(e)),typeof t){case"object":if(null===t)return"null";for(o=0;o<n.length;o++)if(n[o]===t)return'"[Circular]"';if(Array.isArray(t)){if(0===t.length)return"[]";for(n.push(t),i="[",o=0;o<t.length-1;o++){const e=l(o,t[o],n,r);i+=void 0!==e?e:"null",i+=","}const e=l(o,t[o],n,r);return i+=void 0!==e?e:"null",i+="]",n.pop(),i}if(0===r.length)return"{}";n.push(t),i="{";var a="";for(o=0;o<r.length;o++)if("string"==typeof r[o]||"number"==typeof r[o]){const u=l(e=r[o],t[e],n,r);void 0!==u&&(i+=`${a}"${s(e)}":${u}`,a=",")}return i+="}",n.pop(),i;case"string":return`"${s(t)}"`;case"number":return isFinite(t)?String(t):"null";case"boolean":return!0===t?"true":"false"}}function f(e,t,n,r){var o,i,a=t[e];switch("object"==typeof a&&null!==a&&"function"==typeof a.toJSON&&(a=a.toJSON(e)),typeof(a=r.call(t,e,a))){case"object":if(null===a)return"null";for(o=0;o<n.length;o++)if(n[o]===a)return'"[Circular]"';if(Array.isArray(a)){if(0===a.length)return"[]";for(n.push(a),i="[",o=0;o<a.length-1;o++){const e=f(o,a,n,r);i+=void 0!==e?e:"null",i+=","}const e=f(o,a,n,r);return i+=void 0!==e?e:"null",i+="]",n.pop(),i}var u=h(Object.keys(a));if(0===u.length)return"{}";n.push(a),i="{";var c="";for(o=0;o<u.length;o++){const t=f(e=u[o],a,n,r);void 0!==t&&(i+=`${c}"${s(e)}":${t}`,c=",")}return i+="}",n.pop(),i;case"string":return`"${s(a)}"`;case"number":return isFinite(a)?String(a):"null";case"boolean":return!0===a?"true":"false"}}function d(e,t,n){var r,o;switch(typeof t){case"object":if(null===t)return"null";if("function"==typeof t.toJSON){if("object"!=typeof(t=t.toJSON(e)))return d(e,t,n);if(null===t)return"null"}for(r=0;r<n.length;r++)if(n[r]===t)return'"[Circular]"';if(Array.isArray(t)){if(0===t.length)return"[]";for(n.push(t),o="[",r=0;r<t.length-1;r++){const e=d(r,t[r],n);o+=void 0!==e?e:"null",o+=","}const e=d(r,t[r],n);return o+=void 0!==e?e:"null",o+="]",n.pop(),o}var i=h(Object.keys(t));if(0===i.length)return"{}";n.push(t);var a="";for(o="{",r=0;r<i.length;r++){const u=d(e=i[r],t[e],n);void 0!==u&&(o+=`${a}"${s(e)}":${u}`,a=",")}return o+="}",n.pop(),o;case"string":return`"${s(t)}"`;case"number":return isFinite(t)?String(t):"null";case"boolean":return!0===t?"true":"false"}}function h(e){for(var t=1;t<e.length;t++){const r=e[t];for(var n=t;0!==n&&e[n-1]>r;)e[n]=e[n-1],n--;e[n]=r}return e}},63338:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var o=r(n(6299));t.default=function(e,t){var n=null;if(!e||"string"!=typeof e)return n;var r=(0,o.default)(e),i="function"==typeof t;return r.forEach((function(e){if("declaration"===e.type){var r=e.property,o=e.value;i?t(r,o,e):o&&((n=n||{})[r]=o)}})),n}},12854:function(e,t){!function(e){"use strict";function t(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];if(t.length>1){t[0]=t[0].slice(0,-1);for(var r=t.length-1,o=1;o<r;++o)t[o]=t[o].slice(1,-1);return t[r]=t[r].slice(1),t.join("")}return t[0]}function n(e){return"(?:"+e+")"}function r(e){return void 0===e?"undefined":null===e?"null":Object.prototype.toString.call(e).split(" ").pop().split("]").shift().toLowerCase()}function o(e){return e.toUpperCase()}function i(e){return null!=e?e instanceof Array?e:"number"!=typeof e.length||e.split||e.setInterval||e.call?[e]:Array.prototype.slice.call(e):[]}function s(e,t){var n=e;if(t)for(var r in t)n[r]=t[r];return n}function a(e){var r="[A-Za-z]",o="[0-9]",i=t(o,"[A-Fa-f]"),s=n(n("%[EFef]"+i+"%"+i+i+"%"+i+i)+"|"+n("%[89A-Fa-f]"+i+"%"+i+i)+"|"+n("%"+i+i)),a="[\\!\\$\\&\\'\\(\\)\\*\\+\\,\\;\\=]",u=t("[\\:\\/\\?\\#\\[\\]\\@]",a),c=e?"[\\uE000-\\uF8FF]":"[]",l=t(r,o,"[\\-\\.\\_\\~]",e?"[\\xA0-\\u200D\\u2010-\\u2029\\u202F-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFEF]":"[]"),f=n(r+t(r,o,"[\\+\\-\\.]")+"*"),d=n(n(s+"|"+t(l,a,"[\\:]"))+"*"),h=(n(n("25[0-5]")+"|"+n("2[0-4]"+o)+"|"+n("1"+o+o)+"|"+n("[1-9]"+o)+"|"+o),n(n("25[0-5]")+"|"+n("2[0-4]"+o)+"|"+n("1"+o+o)+"|"+n("0?[1-9]"+o)+"|0?0?"+o)),p=n(h+"\\."+h+"\\."+h+"\\."+h),m=n(i+"{1,4}"),g=n(n(m+"\\:"+m)+"|"+p),y=n(n(m+"\\:")+"{6}"+g),v=n("\\:\\:"+n(m+"\\:")+"{5}"+g),b=n(n(m)+"?\\:\\:"+n(m+"\\:")+"{4}"+g),_=n(n(n(m+"\\:")+"{0,1}"+m)+"?\\:\\:"+n(m+"\\:")+"{3}"+g),w=n(n(n(m+"\\:")+"{0,2}"+m)+"?\\:\\:"+n(m+"\\:")+"{2}"+g),E=n(n(n(m+"\\:")+"{0,3}"+m)+"?\\:\\:"+m+"\\:"+g),k=n(n(n(m+"\\:")+"{0,4}"+m)+"?\\:\\:"+g),x=n(n(n(m+"\\:")+"{0,5}"+m)+"?\\:\\:"+m),D=n(n(n(m+"\\:")+"{0,6}"+m)+"?\\:\\:"),S=n([y,v,b,_,w,E,k,x,D].join("|")),C=n(n(l+"|"+s)+"+"),O=(n(S+"\\%25"+C),n(S+n("\\%25|\\%(?!"+i+"{2})")+C)),$=n("[vV]"+i+"+\\."+t(l,a,"[\\:]")+"+"),A=n("\\["+n(O+"|"+S+"|"+$)+"\\]"),P=n(n(s+"|"+t(l,a))+"*"),j=n(A+"|"+p+"(?!"+P+")|"+P),F=n(o+"*"),I=n(n(d+"@")+"?"+j+n("\\:"+F)+"?"),N=n(s+"|"+t(l,a,"[\\:\\@]")),T=n(N+"*"),M=n(N+"+"),R=n(n(s+"|"+t(l,a,"[\\@]"))+"+"),B=n(n("\\/"+T)+"*"),L=n("\\/"+n(M+B)+"?"),z=n(R+B),U=n(M+B),q="(?!"+N+")",V=(n(B+"|"+L+"|"+z+"|"+U+"|"+q),n(n(N+"|"+t("[\\/\\?]",c))+"*")),Q=n(n(N+"|[\\/\\?]")+"*"),X=n(n("\\/\\/"+I+B)+"|"+L+"|"+U+"|"+q),H=n(f+"\\:"+X+n("\\?"+V)+"?"+n("\\#"+Q)+"?"),K=n(n("\\/\\/"+I+B)+"|"+L+"|"+z+"|"+q),J=n(K+n("\\?"+V)+"?"+n("\\#"+Q)+"?");return n(H+"|"+J),n(f+"\\:"+X+n("\\?"+V)+"?"),n(n("\\/\\/("+n("("+d+")@")+"?("+j+")"+n("\\:("+F+")")+"?)")+"?("+B+"|"+L+"|"+U+"|"+q+")"),n("\\?("+V+")"),n("\\#("+Q+")"),n(n("\\/\\/("+n("("+d+")@")+"?("+j+")"+n("\\:("+F+")")+"?)")+"?("+B+"|"+L+"|"+z+"|"+q+")"),n("\\?("+V+")"),n("\\#("+Q+")"),n(n("\\/\\/("+n("("+d+")@")+"?("+j+")"+n("\\:("+F+")")+"?)")+"?("+B+"|"+L+"|"+U+"|"+q+")"),n("\\?("+V+")"),n("\\#("+Q+")"),n("("+d+")@"),n("\\:("+F+")"),{NOT_SCHEME:new RegExp(t("[^]",r,o,"[\\+\\-\\.]"),"g"),NOT_USERINFO:new RegExp(t("[^\\%\\:]",l,a),"g"),NOT_HOST:new RegExp(t("[^\\%\\[\\]\\:]",l,a),"g"),NOT_PATH:new RegExp(t("[^\\%\\/\\:\\@]",l,a),"g"),NOT_PATH_NOSCHEME:new RegExp(t("[^\\%\\/\\@]",l,a),"g"),NOT_QUERY:new RegExp(t("[^\\%]",l,a,"[\\:\\@\\/\\?]",c),"g"),NOT_FRAGMENT:new RegExp(t("[^\\%]",l,a,"[\\:\\@\\/\\?]"),"g"),ESCAPE:new RegExp(t("[^]",l,a),"g"),UNRESERVED:new RegExp(l,"g"),OTHER_CHARS:new RegExp(t("[^\\%]",l,u),"g"),PCT_ENCODED:new RegExp(s,"g"),IPV4ADDRESS:new RegExp("^("+p+")$"),IPV6ADDRESS:new RegExp("^\\[?("+S+")"+n(n("\\%25|\\%(?!"+i+"{2})")+"("+C+")")+"?\\]?$")}}var u=a(!1),c=a(!0),l=function(){function e(e,t){var n=[],r=!0,o=!1,i=void 0;try{for(var s,a=e[Symbol.iterator]();!(r=(s=a.next()).done)&&(n.push(s.value),!t||n.length!==t);r=!0);}catch(u){o=!0,i=u}finally{try{!r&&a.return&&a.return()}finally{if(o)throw i}}return n}return function(t,n){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return e(t,n);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),f=function(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)},d=2147483647,h=36,p=1,m=26,g=38,y=700,v=72,b=128,_="-",w=/^xn--/,E=/[^\0-\x7E]/,k=/[\x2E\u3002\uFF0E\uFF61]/g,x={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},D=h-p,S=Math.floor,C=String.fromCharCode;function O(e){throw new RangeError(x[e])}function $(e,t){for(var n=[],r=e.length;r--;)n[r]=t(e[r]);return n}function A(e,t){var n=e.split("@"),r="";return n.length>1&&(r=n[0]+"@",e=n[1]),r+$((e=e.replace(k,".")).split("."),t).join(".")}function P(e){for(var t=[],n=0,r=e.length;n<r;){var o=e.charCodeAt(n++);if(o>=55296&&o<=56319&&n<r){var i=e.charCodeAt(n++);56320==(64512&i)?t.push(((1023&o)<<10)+(1023&i)+65536):(t.push(o),n--)}else t.push(o)}return t}var j=function(e){return e-48<10?e-22:e-65<26?e-65:e-97<26?e-97:h},F=function(e,t){return e+22+75*(e<26)-((0!=t)<<5)},I=function(e,t,n){var r=0;for(e=n?S(e/y):e>>1,e+=S(e/t);e>D*m>>1;r+=h)e=S(e/D);return S(r+(D+1)*e/(e+g))},N=function(e){var t=[],n=e.length,r=0,o=b,i=v,s=e.lastIndexOf(_);s<0&&(s=0);for(var a=0;a<s;++a)e.charCodeAt(a)>=128&&O("not-basic"),t.push(e.charCodeAt(a));for(var u=s>0?s+1:0;u<n;){for(var c=r,l=1,f=h;;f+=h){u>=n&&O("invalid-input");var g=j(e.charCodeAt(u++));(g>=h||g>S((d-r)/l))&&O("overflow"),r+=g*l;var y=f<=i?p:f>=i+m?m:f-i;if(g<y)break;var w=h-y;l>S(d/w)&&O("overflow"),l*=w}var E=t.length+1;i=I(r-c,E,0==c),S(r/E)>d-o&&O("overflow"),o+=S(r/E),r%=E,t.splice(r++,0,o)}return String.fromCodePoint.apply(String,t)},T=function(e){var t=[],n=(e=P(e)).length,r=b,o=0,i=v,s=!0,a=!1,u=void 0;try{for(var c,l=e[Symbol.iterator]();!(s=(c=l.next()).done);s=!0){var f=c.value;f<128&&t.push(C(f))}}catch(X){a=!0,u=X}finally{try{!s&&l.return&&l.return()}finally{if(a)throw u}}var g=t.length,y=g;for(g&&t.push(_);y<n;){var w=d,E=!0,k=!1,x=void 0;try{for(var D,$=e[Symbol.iterator]();!(E=(D=$.next()).done);E=!0){var A=D.value;A>=r&&A<w&&(w=A)}}catch(X){k=!0,x=X}finally{try{!E&&$.return&&$.return()}finally{if(k)throw x}}var j=y+1;w-r>S((d-o)/j)&&O("overflow"),o+=(w-r)*j,r=w;var N=!0,T=!1,M=void 0;try{for(var R,B=e[Symbol.iterator]();!(N=(R=B.next()).done);N=!0){var L=R.value;if(L<r&&++o>d&&O("overflow"),L==r){for(var z=o,U=h;;U+=h){var q=U<=i?p:U>=i+m?m:U-i;if(z<q)break;var V=z-q,Q=h-q;t.push(C(F(q+V%Q,0))),z=S(V/Q)}t.push(C(F(z,0))),i=I(o,j,y==g),o=0,++y}}}catch(X){T=!0,M=X}finally{try{!N&&B.return&&B.return()}finally{if(T)throw M}}++o,++r}return t.join("")},M=function(e){return A(e,(function(e){return w.test(e)?N(e.slice(4).toLowerCase()):e}))},R=function(e){return A(e,(function(e){return E.test(e)?"xn--"+T(e):e}))},B={version:"2.1.0",ucs2:{decode:P,encode:function(e){return String.fromCodePoint.apply(String,f(e))}},decode:N,encode:T,toASCII:R,toUnicode:M},L={};function z(e){var t=e.charCodeAt(0);return t<16?"%0"+t.toString(16).toUpperCase():t<128?"%"+t.toString(16).toUpperCase():t<2048?"%"+(t>>6|192).toString(16).toUpperCase()+"%"+(63&t|128).toString(16).toUpperCase():"%"+(t>>12|224).toString(16).toUpperCase()+"%"+(t>>6&63|128).toString(16).toUpperCase()+"%"+(63&t|128).toString(16).toUpperCase()}function U(e){for(var t="",n=0,r=e.length;n<r;){var o=parseInt(e.substr(n+1,2),16);if(o<128)t+=String.fromCharCode(o),n+=3;else if(o>=194&&o<224){if(r-n>=6){var i=parseInt(e.substr(n+4,2),16);t+=String.fromCharCode((31&o)<<6|63&i)}else t+=e.substr(n,6);n+=6}else if(o>=224){if(r-n>=9){var s=parseInt(e.substr(n+4,2),16),a=parseInt(e.substr(n+7,2),16);t+=String.fromCharCode((15&o)<<12|(63&s)<<6|63&a)}else t+=e.substr(n,9);n+=9}else t+=e.substr(n,3),n+=3}return t}function q(e,t){function n(e){var n=U(e);return n.match(t.UNRESERVED)?n:e}return e.scheme&&(e.scheme=String(e.scheme).replace(t.PCT_ENCODED,n).toLowerCase().replace(t.NOT_SCHEME,"")),void 0!==e.userinfo&&(e.userinfo=String(e.userinfo).replace(t.PCT_ENCODED,n).replace(t.NOT_USERINFO,z).replace(t.PCT_ENCODED,o)),void 0!==e.host&&(e.host=String(e.host).replace(t.PCT_ENCODED,n).toLowerCase().replace(t.NOT_HOST,z).replace(t.PCT_ENCODED,o)),void 0!==e.path&&(e.path=String(e.path).replace(t.PCT_ENCODED,n).replace(e.scheme?t.NOT_PATH:t.NOT_PATH_NOSCHEME,z).replace(t.PCT_ENCODED,o)),void 0!==e.query&&(e.query=String(e.query).replace(t.PCT_ENCODED,n).replace(t.NOT_QUERY,z).replace(t.PCT_ENCODED,o)),void 0!==e.fragment&&(e.fragment=String(e.fragment).replace(t.PCT_ENCODED,n).replace(t.NOT_FRAGMENT,z).replace(t.PCT_ENCODED,o)),e}function V(e){return e.replace(/^0*(.*)/,"$1")||"0"}function Q(e,t){var n=e.match(t.IPV4ADDRESS)||[],r=l(n,2)[1];return r?r.split(".").map(V).join("."):e}function X(e,t){var n=e.match(t.IPV6ADDRESS)||[],r=l(n,3),o=r[1],i=r[2];if(o){for(var s=o.toLowerCase().split("::").reverse(),a=l(s,2),u=a[0],c=a[1],f=c?c.split(":").map(V):[],d=u.split(":").map(V),h=t.IPV4ADDRESS.test(d[d.length-1]),p=h?7:8,m=d.length-p,g=Array(p),y=0;y<p;++y)g[y]=f[y]||d[m+y]||"";h&&(g[p-1]=Q(g[p-1],t));var v=g.reduce((function(e,t,n){if(!t||"0"===t){var r=e[e.length-1];r&&r.index+r.length===n?r.length++:e.push({index:n,length:1})}return e}),[]).sort((function(e,t){return t.length-e.length}))[0],b=void 0;if(v&&v.length>1){var _=g.slice(0,v.index),w=g.slice(v.index+v.length);b=_.join(":")+"::"+w.join(":")}else b=g.join(":");return i&&(b+="%"+i),b}return e}var H=/^(?:([^:\/?#]+):)?(?:\/\/((?:([^\/?#@]*)@)?(\[[^\/?#\]]+\]|[^\/?#:]*)(?:\:(\d*))?))?([^?#]*)(?:\?([^#]*))?(?:#((?:.|\n|\r)*))?/i,K=void 0==="".match(/(){0}/)[1];function J(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n={},r=!1!==t.iri?c:u;"suffix"===t.reference&&(e=(t.scheme?t.scheme+":":"")+"//"+e);var o=e.match(H);if(o){K?(n.scheme=o[1],n.userinfo=o[3],n.host=o[4],n.port=parseInt(o[5],10),n.path=o[6]||"",n.query=o[7],n.fragment=o[8],isNaN(n.port)&&(n.port=o[5])):(n.scheme=o[1]||void 0,n.userinfo=-1!==e.indexOf("@")?o[3]:void 0,n.host=-1!==e.indexOf("//")?o[4]:void 0,n.port=parseInt(o[5],10),n.path=o[6]||"",n.query=-1!==e.indexOf("?")?o[7]:void 0,n.fragment=-1!==e.indexOf("#")?o[8]:void 0,isNaN(n.port)&&(n.port=e.match(/\/\/(?:.|\n)*\:(?:\/|\?|\#|$)/)?o[4]:void 0)),n.host&&(n.host=X(Q(n.host,r),r)),void 0!==n.scheme||void 0!==n.userinfo||void 0!==n.host||void 0!==n.port||n.path||void 0!==n.query?void 0===n.scheme?n.reference="relative":void 0===n.fragment?n.reference="absolute":n.reference="uri":n.reference="same-document",t.reference&&"suffix"!==t.reference&&t.reference!==n.reference&&(n.error=n.error||"URI is not a "+t.reference+" reference.");var i=L[(t.scheme||n.scheme||"").toLowerCase()];if(t.unicodeSupport||i&&i.unicodeSupport)q(n,r);else{if(n.host&&(t.domainHost||i&&i.domainHost))try{n.host=B.toASCII(n.host.replace(r.PCT_ENCODED,U).toLowerCase())}catch(s){n.error=n.error||"Host's domain name can not be converted to ASCII via punycode: "+s}q(n,u)}i&&i.parse&&i.parse(n,t)}else n.error=n.error||"URI can not be parsed.";return n}function W(e,t){var n=!1!==t.iri?c:u,r=[];return void 0!==e.userinfo&&(r.push(e.userinfo),r.push("@")),void 0!==e.host&&r.push(X(Q(String(e.host),n),n).replace(n.IPV6ADDRESS,(function(e,t,n){return"["+t+(n?"%25"+n:"")+"]"}))),"number"!=typeof e.port&&"string"!=typeof e.port||(r.push(":"),r.push(String(e.port))),r.length?r.join(""):void 0}var G=/^\.\.?\//,Z=/^\/\.(\/|$)/,Y=/^\/\.\.(\/|$)/,ee=/^\/?(?:.|\n)*?(?=\/|$)/;function te(e){for(var t=[];e.length;)if(e.match(G))e=e.replace(G,"");else if(e.match(Z))e=e.replace(Z,"/");else if(e.match(Y))e=e.replace(Y,"/"),t.pop();else if("."===e||".."===e)e="";else{var n=e.match(ee);if(!n)throw new Error("Unexpected dot segment condition");var r=n[0];e=e.slice(r.length),t.push(r)}return t.join("")}function ne(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.iri?c:u,r=[],o=L[(t.scheme||e.scheme||"").toLowerCase()];if(o&&o.serialize&&o.serialize(e,t),e.host)if(n.IPV6ADDRESS.test(e.host));else if(t.domainHost||o&&o.domainHost)try{e.host=t.iri?B.toUnicode(e.host):B.toASCII(e.host.replace(n.PCT_ENCODED,U).toLowerCase())}catch(a){e.error=e.error||"Host's domain name can not be converted to "+(t.iri?"Unicode":"ASCII")+" via punycode: "+a}q(e,n),"suffix"!==t.reference&&e.scheme&&(r.push(e.scheme),r.push(":"));var i=W(e,t);if(void 0!==i&&("suffix"!==t.reference&&r.push("//"),r.push(i),e.path&&"/"!==e.path.charAt(0)&&r.push("/")),void 0!==e.path){var s=e.path;t.absolutePath||o&&o.absolutePath||(s=te(s)),void 0===i&&(s=s.replace(/^\/\//,"/%2F")),r.push(s)}return void 0!==e.query&&(r.push("?"),r.push(e.query)),void 0!==e.fragment&&(r.push("#"),r.push(e.fragment)),r.join("")}function re(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r={};return arguments[3]||(e=J(ne(e,n),n),t=J(ne(t,n),n)),!(n=n||{}).tolerant&&t.scheme?(r.scheme=t.scheme,r.userinfo=t.userinfo,r.host=t.host,r.port=t.port,r.path=te(t.path||""),r.query=t.query):(void 0!==t.userinfo||void 0!==t.host||void 0!==t.port?(r.userinfo=t.userinfo,r.host=t.host,r.port=t.port,r.path=te(t.path||""),r.query=t.query):(t.path?("/"===t.path.charAt(0)?r.path=te(t.path):(void 0===e.userinfo&&void 0===e.host&&void 0===e.port||e.path?e.path?r.path=e.path.slice(0,e.path.lastIndexOf("/")+1)+t.path:r.path=t.path:r.path="/"+t.path,r.path=te(r.path)),r.query=t.query):(r.path=e.path,void 0!==t.query?r.query=t.query:r.query=e.query),r.userinfo=e.userinfo,r.host=e.host,r.port=e.port),r.scheme=e.scheme),r.fragment=t.fragment,r}function oe(e,t,n){var r=s({scheme:"null"},n);return ne(re(J(e,r),J(t,r),r,!0),r)}function ie(e,t){return"string"==typeof e?e=ne(J(e,t),t):"object"===r(e)&&(e=J(ne(e,t),t)),e}function se(e,t,n){return"string"==typeof e?e=ne(J(e,n),n):"object"===r(e)&&(e=ne(e,n)),"string"==typeof t?t=ne(J(t,n),n):"object"===r(t)&&(t=ne(t,n)),e===t}function ae(e,t){return e&&e.toString().replace(t&&t.iri?c.ESCAPE:u.ESCAPE,z)}function ue(e,t){return e&&e.toString().replace(t&&t.iri?c.PCT_ENCODED:u.PCT_ENCODED,U)}var ce={scheme:"http",domainHost:!0,parse:function(e,t){return e.host||(e.error=e.error||"HTTP URIs must have a host."),e},serialize:function(e,t){var n="https"===String(e.scheme).toLowerCase();return e.port!==(n?443:80)&&""!==e.port||(e.port=void 0),e.path||(e.path="/"),e}},le={scheme:"https",domainHost:ce.domainHost,parse:ce.parse,serialize:ce.serialize};function fe(e){return"boolean"==typeof e.secure?e.secure:"wss"===String(e.scheme).toLowerCase()}var de={scheme:"ws",domainHost:!0,parse:function(e,t){var n=e;return n.secure=fe(n),n.resourceName=(n.path||"/")+(n.query?"?"+n.query:""),n.path=void 0,n.query=void 0,n},serialize:function(e,t){if(e.port!==(fe(e)?443:80)&&""!==e.port||(e.port=void 0),"boolean"==typeof e.secure&&(e.scheme=e.secure?"wss":"ws",e.secure=void 0),e.resourceName){var n=e.resourceName.split("?"),r=l(n,2),o=r[0],i=r[1];e.path=o&&"/"!==o?o:void 0,e.query=i,e.resourceName=void 0}return e.fragment=void 0,e}},he={scheme:"wss",domainHost:de.domainHost,parse:de.parse,serialize:de.serialize},pe={},me="[A-Za-z0-9\\-\\.\\_\\~\\xA0-\\u200D\\u2010-\\u2029\\u202F-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFEF]",ge="[0-9A-Fa-f]",ye=n(n("%[EFef]"+ge+"%"+ge+ge+"%"+ge+ge)+"|"+n("%[89A-Fa-f]"+ge+"%"+ge+ge)+"|"+n("%"+ge+ge)),ve="[A-Za-z0-9\\!\\$\\%\\'\\*\\+\\-\\^\\_\\`\\{\\|\\}\\~]",be=t("[\\!\\$\\%\\'\\(\\)\\*\\+\\,\\-\\.0-9\\<\\>A-Z\\x5E-\\x7E]",'[\\"\\\\]'),_e="[\\!\\$\\'\\(\\)\\*\\+\\,\\;\\:\\@]",we=new RegExp(me,"g"),Ee=new RegExp(ye,"g"),ke=new RegExp(t("[^]",ve,"[\\.]",'[\\"]',be),"g"),xe=new RegExp(t("[^]",me,_e),"g"),De=xe;function Se(e){var t=U(e);return t.match(we)?t:e}var Ce={scheme:"mailto",parse:function(e,t){var n=e,r=n.to=n.path?n.path.split(","):[];if(n.path=void 0,n.query){for(var o=!1,i={},s=n.query.split("&"),a=0,u=s.length;a<u;++a){var c=s[a].split("=");switch(c[0]){case"to":for(var l=c[1].split(","),f=0,d=l.length;f<d;++f)r.push(l[f]);break;case"subject":n.subject=ue(c[1],t);break;case"body":n.body=ue(c[1],t);break;default:o=!0,i[ue(c[0],t)]=ue(c[1],t)}}o&&(n.headers=i)}n.query=void 0;for(var h=0,p=r.length;h<p;++h){var m=r[h].split("@");if(m[0]=ue(m[0]),t.unicodeSupport)m[1]=ue(m[1],t).toLowerCase();else try{m[1]=B.toASCII(ue(m[1],t).toLowerCase())}catch(g){n.error=n.error||"Email address's domain name can not be converted to ASCII via punycode: "+g}r[h]=m.join("@")}return n},serialize:function(e,t){var n=e,r=i(e.to);if(r){for(var s=0,a=r.length;s<a;++s){var u=String(r[s]),c=u.lastIndexOf("@"),l=u.slice(0,c).replace(Ee,Se).replace(Ee,o).replace(ke,z),f=u.slice(c+1);try{f=t.iri?B.toUnicode(f):B.toASCII(ue(f,t).toLowerCase())}catch(m){n.error=n.error||"Email address's domain name can not be converted to "+(t.iri?"Unicode":"ASCII")+" via punycode: "+m}r[s]=l+"@"+f}n.path=r.join(",")}var d=e.headers=e.headers||{};e.subject&&(d.subject=e.subject),e.body&&(d.body=e.body);var h=[];for(var p in d)d[p]!==pe[p]&&h.push(p.replace(Ee,Se).replace(Ee,o).replace(xe,z)+"="+d[p].replace(Ee,Se).replace(Ee,o).replace(De,z));return h.length&&(n.query=h.join("&")),n}},Oe=/^([^\:]+)\:(.*)/,$e={scheme:"urn",parse:function(e,t){var n=e.path&&e.path.match(Oe),r=e;if(n){var o=t.scheme||r.scheme||"urn",i=n[1].toLowerCase(),s=n[2],a=o+":"+(t.nid||i),u=L[a];r.nid=i,r.nss=s,r.path=void 0,u&&(r=u.parse(r,t))}else r.error=r.error||"URN can not be parsed.";return r},serialize:function(e,t){var n=t.scheme||e.scheme||"urn",r=e.nid,o=n+":"+(t.nid||r),i=L[o];i&&(e=i.serialize(e,t));var s=e,a=e.nss;return s.path=(r||t.nid)+":"+a,s}},Ae=/^[0-9A-Fa-f]{8}(?:\-[0-9A-Fa-f]{4}){3}\-[0-9A-Fa-f]{12}$/,Pe={scheme:"urn:uuid",parse:function(e,t){var n=e;return n.uuid=n.nss,n.nss=void 0,t.tolerant||n.uuid&&n.uuid.match(Ae)||(n.error=n.error||"UUID is not valid."),n},serialize:function(e,t){var n=e;return n.nss=(e.uuid||"").toLowerCase(),n}};L[ce.scheme]=ce,L[le.scheme]=le,L[de.scheme]=de,L[he.scheme]=he,L[Ce.scheme]=Ce,L[$e.scheme]=$e,L[Pe.scheme]=Pe,e.SCHEMES=L,e.pctEncChar=z,e.pctDecChars=U,e.parse=J,e.removeDotSegments=te,e.serialize=ne,e.resolveComponents=re,e.resolve=oe,e.normalize=ie,e.equal=se,e.escapeComponent=ae,e.unescapeComponent=ue,Object.defineProperty(e,"__esModule",{value:!0})}(t)},69569:function(e,t,n){var r,o;!function(i,s){"use strict";e.exports?e.exports=s():void 0===(o="function"==typeof(r=s)?r.call(t,n,t,e):r)||(e.exports=o)}(0,(function(e){"use strict";var t=e&&e.IPv6;return{best:function(e){var t,n,r=e.toLowerCase().split(":"),o=r.length,i=8;for(""===r[0]&&""===r[1]&&""===r[2]?(r.shift(),r.shift()):""===r[0]&&""===r[1]?r.shift():""===r[o-1]&&""===r[o-2]&&r.pop(),-1!==r[(o=r.length)-1].indexOf(".")&&(i=7),t=0;t<o&&""!==r[t];t++);if(t<i)for(r.splice(t,1,"0000");r.length<i;)r.splice(t,0,"0000");for(var s=0;s<i;s++){n=r[s].split("");for(var a=0;a<3&&("0"===n[0]&&n.length>1);a++)n.splice(0,1);r[s]=n.join("")}var u=-1,c=0,l=0,f=-1,d=!1;for(s=0;s<i;s++)d?"0"===r[s]?l+=1:(d=!1,l>c&&(u=f,c=l)):"0"===r[s]&&(d=!0,f=s,l=1);l>c&&(u=f,c=l),c>1&&r.splice(u,c,""),o=r.length;var h="";for(""===r[0]&&(h=":"),s=0;s<o&&(h+=r[s],s!==o-1);s++)h+=":";return""===r[o-1]&&(h+=":"),h},noConflict:function(){return e.IPv6===this&&(e.IPv6=t),this}}}))},34171:function(e,t,n){var r,o;!function(i,s){"use strict";e.exports?e.exports=s():void 0===(o="function"==typeof(r=s)?r.call(t,n,t,e):r)||(e.exports=o)}(0,(function(e){"use strict";var t=e&&e.SecondLevelDomains,n={list:{ac:" com gov mil net org ",ae:" ac co gov mil name net org pro sch ",af:" com edu gov net org ",al:" com edu gov mil net org ",ao:" co ed gv it og pb ",ar:" com edu gob gov int mil net org tur ",at:" ac co gv or ",au:" asn com csiro edu gov id net org ",ba:" co com edu gov mil net org rs unbi unmo unsa untz unze ",bb:" biz co com edu gov info net org store tv ",bh:" biz cc com edu gov info net org ",bn:" com edu gov net org ",bo:" com edu gob gov int mil net org tv ",br:" adm adv agr am arq art ato b bio blog bmd cim cng cnt com coop ecn edu eng esp etc eti far flog fm fnd fot fst g12 ggf gov imb ind inf jor jus lel mat med mil mus net nom not ntr odo org ppg pro psc psi qsl rec slg srv tmp trd tur tv vet vlog wiki zlg ",bs:" com edu gov net org ",bz:" du et om ov rg ",ca:" ab bc mb nb nf nl ns nt nu on pe qc sk yk ",ck:" biz co edu gen gov info net org ",cn:" ac ah bj com cq edu fj gd gov gs gx gz ha hb he hi hl hn jl js jx ln mil net nm nx org qh sc sd sh sn sx tj tw xj xz yn zj ",co:" com edu gov mil net nom org ",cr:" ac c co ed fi go or sa ",cy:" ac biz com ekloges gov ltd name net org parliament press pro tm ",do:" art com edu gob gov mil net org sld web ",dz:" art asso com edu gov net org pol ",ec:" com edu fin gov info med mil net org pro ",eg:" com edu eun gov mil name net org sci ",er:" com edu gov ind mil net org rochest w ",es:" com edu gob nom org ",et:" biz com edu gov info name net org ",fj:" ac biz com info mil name net org pro ",fk:" ac co gov net nom org ",fr:" asso com f gouv nom prd presse tm ",gg:" co net org ",gh:" com edu gov mil org ",gn:" ac com gov net org ",gr:" com edu gov mil net org ",gt:" com edu gob ind mil net org ",gu:" com edu gov net org ",hk:" com edu gov idv net org ",hu:" 2000 agrar bolt casino city co erotica erotika film forum games hotel info ingatlan jogasz konyvelo lakas media news org priv reklam sex shop sport suli szex tm tozsde utazas video ",id:" ac co go mil net or sch web ",il:" ac co gov idf k12 muni net org ",in:" ac co edu ernet firm gen gov i ind mil net nic org res ",iq:" com edu gov i mil net org ",ir:" ac co dnssec gov i id net org sch ",it:" edu gov ",je:" co net org ",jo:" com edu gov mil name net org sch ",jp:" ac ad co ed go gr lg ne or ",ke:" ac co go info me mobi ne or sc ",kh:" com edu gov mil net org per ",ki:" biz com de edu gov info mob net org tel ",km:" asso com coop edu gouv k medecin mil nom notaires pharmaciens presse tm veterinaire ",kn:" edu gov net org ",kr:" ac busan chungbuk chungnam co daegu daejeon es gangwon go gwangju gyeongbuk gyeonggi gyeongnam hs incheon jeju jeonbuk jeonnam k kg mil ms ne or pe re sc seoul ulsan ",kw:" com edu gov net org ",ky:" com edu gov net org ",kz:" com edu gov mil net org ",lb:" com edu gov net org ",lk:" assn com edu gov grp hotel int ltd net ngo org sch soc web ",lr:" com edu gov net org ",lv:" asn com conf edu gov id mil net org ",ly:" com edu gov id med net org plc sch ",ma:" ac co gov m net org press ",mc:" asso tm ",me:" ac co edu gov its net org priv ",mg:" com edu gov mil nom org prd tm ",mk:" com edu gov inf name net org pro ",ml:" com edu gov net org presse ",mn:" edu gov org ",mo:" com edu gov net org ",mt:" com edu gov net org ",mv:" aero biz com coop edu gov info int mil museum name net org pro ",mw:" ac co com coop edu gov int museum net org ",mx:" com edu gob net org ",my:" com edu gov mil name net org sch ",nf:" arts com firm info net other per rec store web ",ng:" biz com edu gov mil mobi name net org sch ",ni:" ac co com edu gob mil net nom org ",np:" com edu gov mil net org ",nr:" biz com edu gov info net org ",om:" ac biz co com edu gov med mil museum net org pro sch ",pe:" com edu gob mil net nom org sld ",ph:" com edu gov i mil net ngo org ",pk:" biz com edu fam gob gok gon gop gos gov net org web ",pl:" art bialystok biz com edu gda gdansk gorzow gov info katowice krakow lodz lublin mil net ngo olsztyn org poznan pwr radom slupsk szczecin torun warszawa waw wroc wroclaw zgora ",pr:" ac biz com edu est gov info isla name net org pro prof ",ps:" com edu gov net org plo sec ",pw:" belau co ed go ne or ",ro:" arts com firm info nom nt org rec store tm www ",rs:" ac co edu gov in org ",sb:" com edu gov net org ",sc:" com edu gov net org ",sh:" co com edu gov net nom org ",sl:" com edu gov net org ",st:" co com consulado edu embaixada gov mil net org principe saotome store ",sv:" com edu gob org red ",sz:" ac co org ",tr:" av bbs bel biz com dr edu gen gov info k12 name net org pol tel tsk tv web ",tt:" aero biz cat co com coop edu gov info int jobs mil mobi museum name net org pro tel travel ",tw:" club com ebiz edu game gov idv mil net org ",mu:" ac co com gov net or org ",mz:" ac co edu gov org ",na:" co com ",nz:" ac co cri geek gen govt health iwi maori mil net org parliament school ",pa:" abo ac com edu gob ing med net nom org sld ",pt:" com edu gov int net nome org publ ",py:" com edu gov mil net org ",qa:" com edu gov mil net org ",re:" asso com nom ",ru:" ac adygeya altai amur arkhangelsk astrakhan bashkiria belgorod bir bryansk buryatia cbg chel chelyabinsk chita chukotka chuvashia com dagestan e-burg edu gov grozny int irkutsk ivanovo izhevsk jar joshkar-ola kalmykia kaluga kamchatka karelia kazan kchr kemerovo khabarovsk khakassia khv kirov koenig komi kostroma kranoyarsk kuban kurgan kursk lipetsk magadan mari mari-el marine mil mordovia mosreg msk murmansk nalchik net nnov nov novosibirsk nsk omsk orenburg org oryol penza perm pp pskov ptz rnd ryazan sakhalin samara saratov simbirsk smolensk spb stavropol stv surgut tambov tatarstan tom tomsk tsaritsyn tsk tula tuva tver tyumen udm udmurtia ulan-ude vladikavkaz vladimir vladivostok volgograd vologda voronezh vrn vyatka yakutia yamal yekaterinburg yuzhno-sakhalinsk ",rw:" ac co com edu gouv gov int mil net ",sa:" com edu gov med net org pub sch ",sd:" com edu gov info med net org tv ",se:" a ac b bd c d e f g h i k l m n o org p parti pp press r s t tm u w x y z ",sg:" com edu gov idn net org per ",sn:" art com edu gouv org perso univ ",sy:" com edu gov mil net news org ",th:" ac co go in mi net or ",tj:" ac biz co com edu go gov info int mil name net nic org test web ",tn:" agrinet com defense edunet ens fin gov ind info intl mincom nat net org perso rnrt rns rnu tourism ",tz:" ac co go ne or ",ua:" biz cherkassy chernigov chernovtsy ck cn co com crimea cv dn dnepropetrovsk donetsk dp edu gov if in ivano-frankivsk kh kharkov kherson khmelnitskiy kiev kirovograd km kr ks kv lg lugansk lutsk lviv me mk net nikolaev od odessa org pl poltava pp rovno rv sebastopol sumy te ternopil uzhgorod vinnica vn zaporizhzhe zhitomir zp zt ",ug:" ac co go ne or org sc ",uk:" ac bl british-library co cym gov govt icnet jet lea ltd me mil mod national-library-scotland nel net nhs nic nls org orgn parliament plc police sch scot soc ",us:" dni fed isa kids nsn ",uy:" com edu gub mil net org ",ve:" co com edu gob info mil net org web ",vi:" co com k12 net org ",vn:" ac biz com edu gov health info int name net org pro ",ye:" co com gov ltd me net org plc ",yu:" ac co edu gov org ",za:" ac agric alt bourse city co cybernet db edu gov grondar iaccess imt inca landesign law mil net ngo nis nom olivetti org pix school tm web ",zm:" ac co com edu gov net org sch ",com:"ar br cn de eu gb gr hu jpn kr no qc ru sa se uk us uy za ",net:"gb jp se uk ",org:"ae",de:"com "},has:function(e){var t=e.lastIndexOf(".");if(t<=0||t>=e.length-1)return!1;var r=e.lastIndexOf(".",t-1);if(r<=0||r>=t-1)return!1;var o=n.list[e.slice(t+1)];return!!o&&o.indexOf(" "+e.slice(r+1,t)+" ")>=0},is:function(e){var t=e.lastIndexOf(".");if(t<=0||t>=e.length-1)return!1;if(e.lastIndexOf(".",t-1)>=0)return!1;var r=n.list[e.slice(t+1)];return!!r&&r.indexOf(" "+e.slice(0,t)+" ")>=0},get:function(e){var t=e.lastIndexOf(".");if(t<=0||t>=e.length-1)return null;var r=e.lastIndexOf(".",t-1);if(r<=0||r>=t-1)return null;var o=n.list[e.slice(t+1)];return o?o.indexOf(" "+e.slice(r+1,t)+" ")<0?null:e.slice(r+1):null},noConflict:function(){return e.SecondLevelDomains===this&&(e.SecondLevelDomains=t),this}};return n}))},30957:function(e,t,n){var r,o,i;!function(s,a){"use strict";e.exports?e.exports=a(n(9942),n(69569),n(34171)):(o=[n(9942),n(69569),n(34171)],void 0===(i="function"==typeof(r=a)?r.apply(t,o):r)||(e.exports=i))}(0,(function(e,t,n,r){"use strict";var o=r&&r.URI;function i(e,t){var n=arguments.length>=1;if(!(this instanceof i))return n?arguments.length>=2?new i(e,t):new i(e):new i;if(void 0===e){if(n)throw new TypeError("undefined is not a valid argument for URI");e="undefined"!=typeof location?location.href+"":""}if(null===e&&n)throw new TypeError("null is not a valid argument for URI");return this.href(e),void 0!==t?this.absoluteTo(t):this}i.version="1.19.11";var s=i.prototype,a=Object.prototype.hasOwnProperty;function u(e){return e.replace(/([.*+?^=!:${}()|[\]\/\\])/g,"\\$1")}function c(e){return void 0===e?"Undefined":String(Object.prototype.toString.call(e)).slice(8,-1)}function l(e){return"Array"===c(e)}function f(e,t){var n,r,o={};if("RegExp"===c(t))o=null;else if(l(t))for(n=0,r=t.length;n<r;n++)o[t[n]]=!0;else o[t]=!0;for(n=0,r=e.length;n<r;n++){(o&&void 0!==o[e[n]]||!o&&t.test(e[n]))&&(e.splice(n,1),r--,n--)}return e}function d(e,t){var n,r;if(l(t)){for(n=0,r=t.length;n<r;n++)if(!d(e,t[n]))return!1;return!0}var o=c(t);for(n=0,r=e.length;n<r;n++)if("RegExp"===o){if("string"==typeof e[n]&&e[n].match(t))return!0}else if(e[n]===t)return!0;return!1}function h(e,t){if(!l(e)||!l(t))return!1;if(e.length!==t.length)return!1;e.sort(),t.sort();for(var n=0,r=e.length;n<r;n++)if(e[n]!==t[n])return!1;return!0}function p(e){return e.replace(/^\/+|\/+$/g,"")}function m(e){return escape(e)}function g(e){return encodeURIComponent(e).replace(/[!'()*]/g,m).replace(/\*/g,"%2A")}i._parts=function(){return{protocol:null,username:null,password:null,hostname:null,urn:null,port:null,path:null,query:null,fragment:null,preventInvalidHostname:i.preventInvalidHostname,duplicateQueryParameters:i.duplicateQueryParameters,escapeQuerySpace:i.escapeQuerySpace}},i.preventInvalidHostname=!1,i.duplicateQueryParameters=!1,i.escapeQuerySpace=!0,i.protocol_expression=/^[a-z][a-z0-9.+-]*$/i,i.idn_expression=/[^a-z0-9\._-]/i,i.punycode_expression=/(xn--)/i,i.ip4_expression=/^\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}$/,i.ip6_expression=/^\s*((([0-9A-Fa-f]{1,4}:){7}([0-9A-Fa-f]{1,4}|:))|(([0-9A-Fa-f]{1,4}:){6}(:[0-9A-Fa-f]{1,4}|((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(([0-9A-Fa-f]{1,4}:){5}(((:[0-9A-Fa-f]{1,4}){1,2})|:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(([0-9A-Fa-f]{1,4}:){4}(((:[0-9A-Fa-f]{1,4}){1,3})|((:[0-9A-Fa-f]{1,4})?:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){3}(((:[0-9A-Fa-f]{1,4}){1,4})|((:[0-9A-Fa-f]{1,4}){0,2}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){2}(((:[0-9A-Fa-f]{1,4}){1,5})|((:[0-9A-Fa-f]{1,4}){0,3}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){1}(((:[0-9A-Fa-f]{1,4}){1,6})|((:[0-9A-Fa-f]{1,4}){0,4}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(:(((:[0-9A-Fa-f]{1,4}){1,7})|((:[0-9A-Fa-f]{1,4}){0,5}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:)))(%.+)?\s*$/,i.find_uri_expression=/\b((?:[a-z][\w-]+:(?:\/{1,3}|[a-z0-9%])|www\d{0,3}[.]|[a-z0-9.\-]+[.][a-z]{2,4}\/)(?:[^\s()<>]+|\(([^\s()<>]+|(\([^\s()<>]+\)))*\))+(?:\(([^\s()<>]+|(\([^\s()<>]+\)))*\)|[^\s`!()\[\]{};:'".,<>?\xab\xbb\u201c\u201d\u2018\u2019]))/gi,i.findUri={start:/\b(?:([a-z][a-z0-9.+-]*:\/\/)|www\.)/gi,end:/[\s\r\n]|$/,trim:/[`!()\[\]{};:'".,<>?\xab\xbb\u201c\u201d\u201e\u2018\u2019]+$/,parens:/(\([^\)]*\)|\[[^\]]*\]|\{[^}]*\}|<[^>]*>)/g},i.leading_whitespace_expression=/^[\x00-\x20\u00a0\u1680\u2000-\u200a\u2028\u2029\u202f\u205f\u3000\ufeff]+/,i.ascii_tab_whitespace=/[\u0009\u000A\u000D]+/g,i.defaultPorts={http:"80",https:"443",ftp:"21",gopher:"70",ws:"80",wss:"443"},i.hostProtocols=["http","https"],i.invalid_hostname_characters=/[^a-zA-Z0-9\.\-:_]/,i.domAttributes={a:"href",blockquote:"cite",link:"href",base:"href",script:"src",form:"action",img:"src",area:"href",iframe:"src",embed:"src",source:"src",track:"src",input:"src",audio:"src",video:"src"},i.getDomAttribute=function(e){if(e&&e.nodeName){var t=e.nodeName.toLowerCase();if("input"!==t||"image"===e.type)return i.domAttributes[t]}},i.encode=g,i.decode=decodeURIComponent,i.iso8859=function(){i.encode=escape,i.decode=unescape},i.unicode=function(){i.encode=g,i.decode=decodeURIComponent},i.characters={pathname:{encode:{expression:/%(24|26|2B|2C|3B|3D|3A|40)/gi,map:{"%24":"$","%26":"&","%2B":"+","%2C":",","%3B":";","%3D":"=","%3A":":","%40":"@"}},decode:{expression:/[\/\?#]/g,map:{"/":"%2F","?":"%3F","#":"%23"}}},reserved:{encode:{expression:/%(21|23|24|26|27|28|29|2A|2B|2C|2F|3A|3B|3D|3F|40|5B|5D)/gi,map:{"%3A":":","%2F":"/","%3F":"?","%23":"#","%5B":"[","%5D":"]","%40":"@","%21":"!","%24":"$","%26":"&","%27":"'","%28":"(","%29":")","%2A":"*","%2B":"+","%2C":",","%3B":";","%3D":"="}}},urnpath:{encode:{expression:/%(21|24|27|28|29|2A|2B|2C|3B|3D|40)/gi,map:{"%21":"!","%24":"$","%27":"'","%28":"(","%29":")","%2A":"*","%2B":"+","%2C":",","%3B":";","%3D":"=","%40":"@"}},decode:{expression:/[\/\?#:]/g,map:{"/":"%2F","?":"%3F","#":"%23",":":"%3A"}}}},i.encodeQuery=function(e,t){var n=i.encode(e+"");return void 0===t&&(t=i.escapeQuerySpace),t?n.replace(/%20/g,"+"):n},i.decodeQuery=function(e,t){e+="",void 0===t&&(t=i.escapeQuerySpace);try{return i.decode(t?e.replace(/\+/g,"%20"):e)}catch(n){return e}};var y,v={encode:"encode",decode:"decode"},b=function(e,t){return function(n){try{return i[t](n+"").replace(i.characters[e][t].expression,(function(n){return i.characters[e][t].map[n]}))}catch(r){return n}}};for(y in v)i[y+"PathSegment"]=b("pathname",v[y]),i[y+"UrnPathSegment"]=b("urnpath",v[y]);var _=function(e,t,n){return function(r){var o;o=n?function(e){return i[t](i[n](e))}:i[t];for(var s=(r+"").split(e),a=0,u=s.length;a<u;a++)s[a]=o(s[a]);return s.join(e)}};function w(e){return function(t,n){return void 0===t?this._parts[e]||"":(this._parts[e]=t||null,this.build(!n),this)}}function E(e,t){return function(n,r){return void 0===n?this._parts[e]||"":(null!==n&&(n+="").charAt(0)===t&&(n=n.substring(1)),this._parts[e]=n,this.build(!r),this)}}i.decodePath=_("/","decodePathSegment"),i.decodeUrnPath=_(":","decodeUrnPathSegment"),i.recodePath=_("/","encodePathSegment","decode"),i.recodeUrnPath=_(":","encodeUrnPathSegment","decode"),i.encodeReserved=b("reserved","encode"),i.parse=function(e,t){var n;return t||(t={preventInvalidHostname:i.preventInvalidHostname}),(n=(e=(e=e.replace(i.leading_whitespace_expression,"")).replace(i.ascii_tab_whitespace,"")).indexOf("#"))>-1&&(t.fragment=e.substring(n+1)||null,e=e.substring(0,n)),(n=e.indexOf("?"))>-1&&(t.query=e.substring(n+1)||null,e=e.substring(0,n)),"//"===(e=(e=e.replace(/^(https?|ftp|wss?)?:+[/\\]*/i,"$1://")).replace(/^[/\\]{2,}/i,"//")).substring(0,2)?(t.protocol=null,e=e.substring(2),e=i.parseAuthority(e,t)):(n=e.indexOf(":"))>-1&&(t.protocol=e.substring(0,n)||null,t.protocol&&!t.protocol.match(i.protocol_expression)?t.protocol=void 0:"//"===e.substring(n+1,n+3).replace(/\\/g,"/")?(e=e.substring(n+3),e=i.parseAuthority(e,t)):(e=e.substring(n+1),t.urn=!0)),t.path=e,t},i.parseHost=function(e,t){e||(e="");var n,r,o=(e=e.replace(/\\/g,"/")).indexOf("/");if(-1===o&&(o=e.length),"["===e.charAt(0))n=e.indexOf("]"),t.hostname=e.substring(1,n)||null,t.port=e.substring(n+2,o)||null,"/"===t.port&&(t.port=null);else{var s=e.indexOf(":"),a=e.indexOf("/"),u=e.indexOf(":",s+1);-1!==u&&(-1===a||u<a)?(t.hostname=e.substring(0,o)||null,t.port=null):(r=e.substring(0,o).split(":"),t.hostname=r[0]||null,t.port=r[1]||null)}return t.hostname&&"/"!==e.substring(o).charAt(0)&&(o++,e="/"+e),t.preventInvalidHostname&&i.ensureValidHostname(t.hostname,t.protocol),t.port&&i.ensureValidPort(t.port),e.substring(o)||"/"},i.parseAuthority=function(e,t){return e=i.parseUserinfo(e,t),i.parseHost(e,t)},i.parseUserinfo=function(e,t){var n=e;-1!==e.indexOf("\\")&&(e=e.replace(/\\/g,"/"));var r,o=e.indexOf("/"),s=e.lastIndexOf("@",o>-1?o:e.length-1);return s>-1&&(-1===o||s<o)?(r=e.substring(0,s).split(":"),t.username=r[0]?i.decode(r[0]):null,r.shift(),t.password=r[0]?i.decode(r.join(":")):null,e=n.substring(s+1)):(t.username=null,t.password=null),e},i.parseQuery=function(e,t){if(!e)return{};if(!(e=e.replace(/&+/g,"&").replace(/^\?*&*|&+$/g,"")))return{};for(var n,r,o,s={},u=e.split("&"),c=u.length,l=0;l<c;l++)n=u[l].split("="),r=i.decodeQuery(n.shift(),t),o=n.length?i.decodeQuery(n.join("="),t):null,"__proto__"!==r&&(a.call(s,r)?("string"!=typeof s[r]&&null!==s[r]||(s[r]=[s[r]]),s[r].push(o)):s[r]=o);return s},i.build=function(e){var t="",n=!1;return e.protocol&&(t+=e.protocol+":"),e.urn||!t&&!e.hostname||(t+="//",n=!0),t+=i.buildAuthority(e)||"","string"==typeof e.path&&("/"!==e.path.charAt(0)&&n&&(t+="/"),t+=e.path),"string"==typeof e.query&&e.query&&(t+="?"+e.query),"string"==typeof e.fragment&&e.fragment&&(t+="#"+e.fragment),t},i.buildHost=function(e){var t="";return e.hostname?(i.ip6_expression.test(e.hostname)?t+="["+e.hostname+"]":t+=e.hostname,e.port&&(t+=":"+e.port),t):""},i.buildAuthority=function(e){return i.buildUserinfo(e)+i.buildHost(e)},i.buildUserinfo=function(e){var t="";return e.username&&(t+=i.encode(e.username)),e.password&&(t+=":"+i.encode(e.password)),t&&(t+="@"),t},i.buildQuery=function(e,t,n){var r,o,s,u,c="";for(o in e)if("__proto__"!==o&&a.call(e,o))if(l(e[o]))for(r={},s=0,u=e[o].length;s<u;s++)void 0!==e[o][s]&&void 0===r[e[o][s]+""]&&(c+="&"+i.buildQueryParameter(o,e[o][s],n),!0!==t&&(r[e[o][s]+""]=!0));else void 0!==e[o]&&(c+="&"+i.buildQueryParameter(o,e[o],n));return c.substring(1)},i.buildQueryParameter=function(e,t,n){return i.encodeQuery(e,n)+(null!==t?"="+i.encodeQuery(t,n):"")},i.addQuery=function(e,t,n){if("object"==typeof t)for(var r in t)a.call(t,r)&&i.addQuery(e,r,t[r]);else{if("string"!=typeof t)throw new TypeError("URI.addQuery() accepts an object, string as the name parameter");if(void 0===e[t])return void(e[t]=n);"string"==typeof e[t]&&(e[t]=[e[t]]),l(n)||(n=[n]),e[t]=(e[t]||[]).concat(n)}},i.setQuery=function(e,t,n){if("object"==typeof t)for(var r in t)a.call(t,r)&&i.setQuery(e,r,t[r]);else{if("string"!=typeof t)throw new TypeError("URI.setQuery() accepts an object, string as the name parameter");e[t]=void 0===n?null:n}},i.removeQuery=function(e,t,n){var r,o,s;if(l(t))for(r=0,o=t.length;r<o;r++)e[t[r]]=void 0;else if("RegExp"===c(t))for(s in e)t.test(s)&&(e[s]=void 0);else if("object"==typeof t)for(s in t)a.call(t,s)&&i.removeQuery(e,s,t[s]);else{if("string"!=typeof t)throw new TypeError("URI.removeQuery() accepts an object, string, RegExp as the first parameter");void 0!==n?"RegExp"===c(n)?!l(e[t])&&n.test(e[t])?e[t]=void 0:e[t]=f(e[t],n):e[t]!==String(n)||l(n)&&1!==n.length?l(e[t])&&(e[t]=f(e[t],n)):e[t]=void 0:e[t]=void 0}},i.hasQuery=function(e,t,n,r){switch(c(t)){case"String":break;case"RegExp":for(var o in e)if(a.call(e,o)&&t.test(o)&&(void 0===n||i.hasQuery(e,o,n)))return!0;return!1;case"Object":for(var s in t)if(a.call(t,s)&&!i.hasQuery(e,s,t[s]))return!1;return!0;default:throw new TypeError("URI.hasQuery() accepts a string, regular expression or object as the name parameter")}switch(c(n)){case"Undefined":return t in e;case"Boolean":return n===Boolean(l(e[t])?e[t].length:e[t]);case"Function":return!!n(e[t],t,e);case"Array":return!!l(e[t])&&(r?d:h)(e[t],n);case"RegExp":return l(e[t])?!!r&&d(e[t],n):Boolean(e[t]&&e[t].match(n));case"Number":n=String(n);case"String":return l(e[t])?!!r&&d(e[t],n):e[t]===n;default:throw new TypeError("URI.hasQuery() accepts undefined, boolean, string, number, RegExp, Function as the value parameter")}},i.joinPaths=function(){for(var e=[],t=[],n=0,r=0;r<arguments.length;r++){var o=new i(arguments[r]);e.push(o);for(var s=o.segment(),a=0;a<s.length;a++)"string"==typeof s[a]&&t.push(s[a]),s[a]&&n++}if(!t.length||!n)return new i("");var u=new i("").segment(t);return""!==e[0].path()&&"/"!==e[0].path().slice(0,1)||u.path("/"+u.path()),u.normalize()},i.commonPath=function(e,t){var n,r=Math.min(e.length,t.length);for(n=0;n<r;n++)if(e.charAt(n)!==t.charAt(n)){n--;break}return n<1?e.charAt(0)===t.charAt(0)&&"/"===e.charAt(0)?"/":"":("/"===e.charAt(n)&&"/"===t.charAt(n)||(n=e.substring(0,n).lastIndexOf("/")),e.substring(0,n+1))},i.withinString=function(e,t,n){n||(n={});var r=n.start||i.findUri.start,o=n.end||i.findUri.end,s=n.trim||i.findUri.trim,a=n.parens||i.findUri.parens,u=/[a-z0-9-]=["']?$/i;for(r.lastIndex=0;;){var c=r.exec(e);if(!c)break;var l=c.index;if(n.ignoreHtml){var f=e.slice(Math.max(l-3,0),l);if(f&&u.test(f))continue}for(var d=l+e.slice(l).search(o),h=e.slice(l,d),p=-1;;){var m=a.exec(h);if(!m)break;var g=m.index+m[0].length;p=Math.max(p,g)}if(!((h=p>-1?h.slice(0,p)+h.slice(p).replace(s,""):h.replace(s,"")).length<=c[0].length||n.ignore&&n.ignore.test(h))){var y=t(h,l,d=l+h.length,e);void 0!==y?(y=String(y),e=e.slice(0,l)+y+e.slice(d),r.lastIndex=l+y.length):r.lastIndex=d}}return r.lastIndex=0,e},i.ensureValidHostname=function(t,n){var r=!!t,o=!1;if(!!n&&(o=d(i.hostProtocols,n)),o&&!r)throw new TypeError("Hostname cannot be empty, if protocol is "+n);if(t&&t.match(i.invalid_hostname_characters)){if(!e)throw new TypeError('Hostname "'+t+'" contains characters other than [A-Z0-9.-:_] and Punycode.js is not available');if(e.toASCII(t).match(i.invalid_hostname_characters))throw new TypeError('Hostname "'+t+'" contains characters other than [A-Z0-9.-:_]')}},i.ensureValidPort=function(e){if(e){var t=Number(e);if(!(/^[0-9]+$/.test(t)&&t>0&&t<65536))throw new TypeError('Port "'+e+'" is not a valid port')}},i.noConflict=function(e){if(e){var t={URI:this.noConflict()};return r.URITemplate&&"function"==typeof r.URITemplate.noConflict&&(t.URITemplate=r.URITemplate.noConflict()),r.IPv6&&"function"==typeof r.IPv6.noConflict&&(t.IPv6=r.IPv6.noConflict()),r.SecondLevelDomains&&"function"==typeof r.SecondLevelDomains.noConflict&&(t.SecondLevelDomains=r.SecondLevelDomains.noConflict()),t}return r.URI===this&&(r.URI=o),this},s.build=function(e){return!0===e?this._deferred_build=!0:(void 0===e||this._deferred_build)&&(this._string=i.build(this._parts),this._deferred_build=!1),this},s.clone=function(){return new i(this)},s.valueOf=s.toString=function(){return this.build(!1)._string},s.protocol=w("protocol"),s.username=w("username"),s.password=w("password"),s.hostname=w("hostname"),s.port=w("port"),s.query=E("query","?"),s.fragment=E("fragment","#"),s.search=function(e,t){var n=this.query(e,t);return"string"==typeof n&&n.length?"?"+n:n},s.hash=function(e,t){var n=this.fragment(e,t);return"string"==typeof n&&n.length?"#"+n:n},s.pathname=function(e,t){if(void 0===e||!0===e){var n=this._parts.path||(this._parts.hostname?"/":"");return e?(this._parts.urn?i.decodeUrnPath:i.decodePath)(n):n}return this._parts.urn?this._parts.path=e?i.recodeUrnPath(e):"":this._parts.path=e?i.recodePath(e):"/",this.build(!t),this},s.path=s.pathname,s.href=function(e,t){var n;if(void 0===e)return this.toString();this._string="",this._parts=i._parts();var r=e instanceof i,o="object"==typeof e&&(e.hostname||e.path||e.pathname);e.nodeName&&(e=e[i.getDomAttribute(e)]||"",o=!1);if(!r&&o&&void 0!==e.pathname&&(e=e.toString()),"string"==typeof e||e instanceof String)this._parts=i.parse(String(e),this._parts);else{if(!r&&!o)throw new TypeError("invalid input");var s=r?e._parts:e;for(n in s)"query"!==n&&a.call(this._parts,n)&&(this._parts[n]=s[n]);s.query&&this.query(s.query,!1)}return this.build(!t),this},s.is=function(e){var t=!1,r=!1,o=!1,s=!1,a=!1,u=!1,c=!1,l=!this._parts.urn;switch(this._parts.hostname&&(l=!1,r=i.ip4_expression.test(this._parts.hostname),o=i.ip6_expression.test(this._parts.hostname),a=(s=!(t=r||o))&&n&&n.has(this._parts.hostname),u=s&&i.idn_expression.test(this._parts.hostname),c=s&&i.punycode_expression.test(this._parts.hostname)),e.toLowerCase()){case"relative":return l;case"absolute":return!l;case"domain":case"name":return s;case"sld":return a;case"ip":return t;case"ip4":case"ipv4":case"inet4":return r;case"ip6":case"ipv6":case"inet6":return o;case"idn":return u;case"url":return!this._parts.urn;case"urn":return!!this._parts.urn;case"punycode":return c}return null};var k=s.protocol,x=s.port,D=s.hostname;s.protocol=function(e,t){if(e&&!(e=e.replace(/:(\/\/)?$/,"")).match(i.protocol_expression))throw new TypeError('Protocol "'+e+"\" contains characters other than [A-Z0-9.+-] or doesn't start with [A-Z]");return k.call(this,e,t)},s.scheme=s.protocol,s.port=function(e,t){return this._parts.urn?void 0===e?"":this:(void 0!==e&&(0===e&&(e=null),e&&(":"===(e+="").charAt(0)&&(e=e.substring(1)),i.ensureValidPort(e))),x.call(this,e,t))},s.hostname=function(e,t){if(this._parts.urn)return void 0===e?"":this;if(void 0!==e){var n={preventInvalidHostname:this._parts.preventInvalidHostname};if("/"!==i.parseHost(e,n))throw new TypeError('Hostname "'+e+'" contains characters other than [A-Z0-9.-]');e=n.hostname,this._parts.preventInvalidHostname&&i.ensureValidHostname(e,this._parts.protocol)}return D.call(this,e,t)},s.origin=function(e,t){if(this._parts.urn)return void 0===e?"":this;if(void 0===e){var n=this.protocol();return this.authority()?(n?n+"://":"")+this.authority():""}var r=i(e);return this.protocol(r.protocol()).authority(r.authority()).build(!t),this},s.host=function(e,t){if(this._parts.urn)return void 0===e?"":this;if(void 0===e)return this._parts.hostname?i.buildHost(this._parts):"";if("/"!==i.parseHost(e,this._parts))throw new TypeError('Hostname "'+e+'" contains characters other than [A-Z0-9.-]');return this.build(!t),this},s.authority=function(e,t){if(this._parts.urn)return void 0===e?"":this;if(void 0===e)return this._parts.hostname?i.buildAuthority(this._parts):"";if("/"!==i.parseAuthority(e,this._parts))throw new TypeError('Hostname "'+e+'" contains characters other than [A-Z0-9.-]');return this.build(!t),this},s.userinfo=function(e,t){if(this._parts.urn)return void 0===e?"":this;if(void 0===e){var n=i.buildUserinfo(this._parts);return n?n.substring(0,n.length-1):n}return"@"!==e[e.length-1]&&(e+="@"),i.parseUserinfo(e,this._parts),this.build(!t),this},s.resource=function(e,t){var n;return void 0===e?this.path()+this.search()+this.hash():(n=i.parse(e),this._parts.path=n.path,this._parts.query=n.query,this._parts.fragment=n.fragment,this.build(!t),this)},s.subdomain=function(e,t){if(this._parts.urn)return void 0===e?"":this;if(void 0===e){if(!this._parts.hostname||this.is("IP"))return"";var n=this._parts.hostname.length-this.domain().length-1;return this._parts.hostname.substring(0,n)||""}var r=this._parts.hostname.length-this.domain().length,o=this._parts.hostname.substring(0,r),s=new RegExp("^"+u(o));if(e&&"."!==e.charAt(e.length-1)&&(e+="."),-1!==e.indexOf(":"))throw new TypeError("Domains cannot contain colons");return e&&i.ensureValidHostname(e,this._parts.protocol),this._parts.hostname=this._parts.hostname.replace(s,e),this.build(!t),this},s.domain=function(e,t){if(this._parts.urn)return void 0===e?"":this;if("boolean"==typeof e&&(t=e,e=void 0),void 0===e){if(!this._parts.hostname||this.is("IP"))return"";var n=this._parts.hostname.match(/\./g);if(n&&n.length<2)return this._parts.hostname;var r=this._parts.hostname.length-this.tld(t).length-1;return r=this._parts.hostname.lastIndexOf(".",r-1)+1,this._parts.hostname.substring(r)||""}if(!e)throw new TypeError("cannot set domain empty");if(-1!==e.indexOf(":"))throw new TypeError("Domains cannot contain colons");if(i.ensureValidHostname(e,this._parts.protocol),!this._parts.hostname||this.is("IP"))this._parts.hostname=e;else{var o=new RegExp(u(this.domain())+"$");this._parts.hostname=this._parts.hostname.replace(o,e)}return this.build(!t),this},s.tld=function(e,t){if(this._parts.urn)return void 0===e?"":this;if("boolean"==typeof e&&(t=e,e=void 0),void 0===e){if(!this._parts.hostname||this.is("IP"))return"";var r=this._parts.hostname.lastIndexOf("."),o=this._parts.hostname.substring(r+1);return!0!==t&&n&&n.list[o.toLowerCase()]&&n.get(this._parts.hostname)||o}var i;if(!e)throw new TypeError("cannot set TLD empty");if(e.match(/[^a-zA-Z0-9-]/)){if(!n||!n.is(e))throw new TypeError('TLD "'+e+'" contains characters other than [A-Z0-9]');i=new RegExp(u(this.tld())+"$"),this._parts.hostname=this._parts.hostname.replace(i,e)}else{if(!this._parts.hostname||this.is("IP"))throw new ReferenceError("cannot set TLD on non-domain host");i=new RegExp(u(this.tld())+"$"),this._parts.hostname=this._parts.hostname.replace(i,e)}return this.build(!t),this},s.directory=function(e,t){if(this._parts.urn)return void 0===e?"":this;if(void 0===e||!0===e){if(!this._parts.path&&!this._parts.hostname)return"";if("/"===this._parts.path)return"/";var n=this._parts.path.length-this.filename().length-1,r=this._parts.path.substring(0,n)||(this._parts.hostname?"/":"");return e?i.decodePath(r):r}var o=this._parts.path.length-this.filename().length,s=this._parts.path.substring(0,o),a=new RegExp("^"+u(s));return this.is("relative")||(e||(e="/"),"/"!==e.charAt(0)&&(e="/"+e)),e&&"/"!==e.charAt(e.length-1)&&(e+="/"),e=i.recodePath(e),this._parts.path=this._parts.path.replace(a,e),this.build(!t),this},s.filename=function(e,t){if(this._parts.urn)return void 0===e?"":this;if("string"!=typeof e){if(!this._parts.path||"/"===this._parts.path)return"";var n=this._parts.path.lastIndexOf("/"),r=this._parts.path.substring(n+1);return e?i.decodePathSegment(r):r}var o=!1;"/"===e.charAt(0)&&(e=e.substring(1)),e.match(/\.?\//)&&(o=!0);var s=new RegExp(u(this.filename())+"$");return e=i.recodePath(e),this._parts.path=this._parts.path.replace(s,e),o?this.normalizePath(t):this.build(!t),this},s.suffix=function(e,t){if(this._parts.urn)return void 0===e?"":this;if(void 0===e||!0===e){if(!this._parts.path||"/"===this._parts.path)return"";var n,r,o=this.filename(),s=o.lastIndexOf(".");return-1===s?"":(n=o.substring(s+1),r=/^[a-z0-9%]+$/i.test(n)?n:"",e?i.decodePathSegment(r):r)}"."===e.charAt(0)&&(e=e.substring(1));var a,c=this.suffix();if(c)a=e?new RegExp(u(c)+"$"):new RegExp(u("."+c)+"$");else{if(!e)return this;this._parts.path+="."+i.recodePath(e)}return a&&(e=i.recodePath(e),this._parts.path=this._parts.path.replace(a,e)),this.build(!t),this},s.segment=function(e,t,n){var r=this._parts.urn?":":"/",o=this.path(),i="/"===o.substring(0,1),s=o.split(r);if(void 0!==e&&"number"!=typeof e&&(n=t,t=e,e=void 0),void 0!==e&&"number"!=typeof e)throw new Error('Bad segment "'+e+'", must be 0-based integer');if(i&&s.shift(),e<0&&(e=Math.max(s.length+e,0)),void 0===t)return void 0===e?s:s[e];if(null===e||void 0===s[e])if(l(t)){s=[];for(var a=0,u=t.length;a<u;a++)(t[a].length||s.length&&s[s.length-1].length)&&(s.length&&!s[s.length-1].length&&s.pop(),s.push(p(t[a])))}else(t||"string"==typeof t)&&(t=p(t),""===s[s.length-1]?s[s.length-1]=t:s.push(t));else t?s[e]=p(t):s.splice(e,1);return i&&s.unshift(""),this.path(s.join(r),n)},s.segmentCoded=function(e,t,n){var r,o,s;if("number"!=typeof e&&(n=t,t=e,e=void 0),void 0===t){if(l(r=this.segment(e,t,n)))for(o=0,s=r.length;o<s;o++)r[o]=i.decode(r[o]);else r=void 0!==r?i.decode(r):void 0;return r}if(l(t))for(o=0,s=t.length;o<s;o++)t[o]=i.encode(t[o]);else t="string"==typeof t||t instanceof String?i.encode(t):t;return this.segment(e,t,n)};var S=s.query;return s.query=function(e,t){if(!0===e)return i.parseQuery(this._parts.query,this._parts.escapeQuerySpace);if("function"==typeof e){var n=i.parseQuery(this._parts.query,this._parts.escapeQuerySpace),r=e.call(this,n);return this._parts.query=i.buildQuery(r||n,this._parts.duplicateQueryParameters,this._parts.escapeQuerySpace),this.build(!t),this}return void 0!==e&&"string"!=typeof e?(this._parts.query=i.buildQuery(e,this._parts.duplicateQueryParameters,this._parts.escapeQuerySpace),this.build(!t),this):S.call(this,e,t)},s.setQuery=function(e,t,n){var r=i.parseQuery(this._parts.query,this._parts.escapeQuerySpace);if("string"==typeof e||e instanceof String)r[e]=void 0!==t?t:null;else{if("object"!=typeof e)throw new TypeError("URI.addQuery() accepts an object, string as the name parameter");for(var o in e)a.call(e,o)&&(r[o]=e[o])}return this._parts.query=i.buildQuery(r,this._parts.duplicateQueryParameters,this._parts.escapeQuerySpace),"string"!=typeof e&&(n=t),this.build(!n),this},s.addQuery=function(e,t,n){var r=i.parseQuery(this._parts.query,this._parts.escapeQuerySpace);return i.addQuery(r,e,void 0===t?null:t),this._parts.query=i.buildQuery(r,this._parts.duplicateQueryParameters,this._parts.escapeQuerySpace),"string"!=typeof e&&(n=t),this.build(!n),this},s.removeQuery=function(e,t,n){var r=i.parseQuery(this._parts.query,this._parts.escapeQuerySpace);return i.removeQuery(r,e,t),this._parts.query=i.buildQuery(r,this._parts.duplicateQueryParameters,this._parts.escapeQuerySpace),"string"!=typeof e&&(n=t),this.build(!n),this},s.hasQuery=function(e,t,n){var r=i.parseQuery(this._parts.query,this._parts.escapeQuerySpace);return i.hasQuery(r,e,t,n)},s.setSearch=s.setQuery,s.addSearch=s.addQuery,s.removeSearch=s.removeQuery,s.hasSearch=s.hasQuery,s.normalize=function(){return this._parts.urn?this.normalizeProtocol(!1).normalizePath(!1).normalizeQuery(!1).normalizeFragment(!1).build():this.normalizeProtocol(!1).normalizeHostname(!1).normalizePort(!1).normalizePath(!1).normalizeQuery(!1).normalizeFragment(!1).build()},s.normalizeProtocol=function(e){return"string"==typeof this._parts.protocol&&(this._parts.protocol=this._parts.protocol.toLowerCase(),this.build(!e)),this},s.normalizeHostname=function(n){return this._parts.hostname&&(this.is("IDN")&&e?this._parts.hostname=e.toASCII(this._parts.hostname):this.is("IPv6")&&t&&(this._parts.hostname=t.best(this._parts.hostname)),this._parts.hostname=this._parts.hostname.toLowerCase(),this.build(!n)),this},s.normalizePort=function(e){return"string"==typeof this._parts.protocol&&this._parts.port===i.defaultPorts[this._parts.protocol]&&(this._parts.port=null,this.build(!e)),this},s.normalizePath=function(e){var t,n=this._parts.path;if(!n)return this;if(this._parts.urn)return this._parts.path=i.recodeUrnPath(this._parts.path),this.build(!e),this;if("/"===this._parts.path)return this;var r,o,s="";for("/"!==(n=i.recodePath(n)).charAt(0)&&(t=!0,n="/"+n),"/.."!==n.slice(-3)&&"/."!==n.slice(-2)||(n+="/"),n=n.replace(/(\/(\.\/)+)|(\/\.$)/g,"/").replace(/\/{2,}/g,"/"),t&&(s=n.substring(1).match(/^(\.\.\/)+/)||"")&&(s=s[0]);-1!==(r=n.search(/\/\.\.(\/|$)/));)0!==r?(-1===(o=n.substring(0,r).lastIndexOf("/"))&&(o=r),n=n.substring(0,o)+n.substring(r+3)):n=n.substring(3);return t&&this.is("relative")&&(n=s+n.substring(1)),this._parts.path=n,this.build(!e),this},s.normalizePathname=s.normalizePath,s.normalizeQuery=function(e){return"string"==typeof this._parts.query&&(this._parts.query.length?this.query(i.parseQuery(this._parts.query,this._parts.escapeQuerySpace)):this._parts.query=null,this.build(!e)),this},s.normalizeFragment=function(e){return this._parts.fragment||(this._parts.fragment=null,this.build(!e)),this},s.normalizeSearch=s.normalizeQuery,s.normalizeHash=s.normalizeFragment,s.iso8859=function(){var e=i.encode,t=i.decode;i.encode=escape,i.decode=decodeURIComponent;try{this.normalize()}finally{i.encode=e,i.decode=t}return this},s.unicode=function(){var e=i.encode,t=i.decode;i.encode=g,i.decode=unescape;try{this.normalize()}finally{i.encode=e,i.decode=t}return this},s.readable=function(){var t=this.clone();t.username("").password("").normalize();var n="";if(t._parts.protocol&&(n+=t._parts.protocol+"://"),t._parts.hostname&&(t.is("punycode")&&e?(n+=e.toUnicode(t._parts.hostname),t._parts.port&&(n+=":"+t._parts.port)):n+=t.host()),t._parts.hostname&&t._parts.path&&"/"!==t._parts.path.charAt(0)&&(n+="/"),n+=t.path(!0),t._parts.query){for(var r="",o=0,s=t._parts.query.split("&"),a=s.length;o<a;o++){var u=(s[o]||"").split("=");r+="&"+i.decodeQuery(u[0],this._parts.escapeQuerySpace).replace(/&/g,"%26"),void 0!==u[1]&&(r+="="+i.decodeQuery(u[1],this._parts.escapeQuerySpace).replace(/&/g,"%26"))}n+="?"+r.substring(1)}return n+=i.decodeQuery(t.hash(),!0)},s.absoluteTo=function(e){var t,n,r,o=this.clone(),s=["protocol","username","password","hostname","port"];if(this._parts.urn)throw new Error("URNs do not have any generally defined hierarchical components");if(e instanceof i||(e=new i(e)),o._parts.protocol)return o;if(o._parts.protocol=e._parts.protocol,this._parts.hostname)return o;for(n=0;r=s[n];n++)o._parts[r]=e._parts[r];return o._parts.path?(".."===o._parts.path.substring(-2)&&(o._parts.path+="/"),"/"!==o.path().charAt(0)&&(t=(t=e.directory())||(0===e.path().indexOf("/")?"/":""),o._parts.path=(t?t+"/":"")+o._parts.path,o.normalizePath())):(o._parts.path=e._parts.path,o._parts.query||(o._parts.query=e._parts.query)),o.build(),o},s.relativeTo=function(e){var t,n,r,o,s,a=this.clone().normalize();if(a._parts.urn)throw new Error("URNs do not have any generally defined hierarchical components");if(e=new i(e).normalize(),t=a._parts,n=e._parts,o=a.path(),s=e.path(),"/"!==o.charAt(0))throw new Error("URI is already relative");if("/"!==s.charAt(0))throw new Error("Cannot calculate a URI relative to another relative URI");if(t.protocol===n.protocol&&(t.protocol=null),t.username!==n.username||t.password!==n.password)return a.build();if(null!==t.protocol||null!==t.username||null!==t.password)return a.build();if(t.hostname!==n.hostname||t.port!==n.port)return a.build();if(t.hostname=null,t.port=null,o===s)return t.path="",a.build();if(!(r=i.commonPath(o,s)))return a.build();var u=n.path.substring(r.length).replace(/[^\/]*$/,"").replace(/.*?\//g,"../");return t.path=u+t.path.substring(r.length)||"./",a.build()},s.equals=function(e){var t,n,r,o,s,u=this.clone(),c=new i(e),f={};if(u.normalize(),c.normalize(),u.toString()===c.toString())return!0;if(r=u.query(),o=c.query(),u.query(""),c.query(""),u.toString()!==c.toString())return!1;if(r.length!==o.length)return!1;for(s in t=i.parseQuery(r,this._parts.escapeQuerySpace),n=i.parseQuery(o,this._parts.escapeQuerySpace),t)if(a.call(t,s)){if(l(t[s])){if(!h(t[s],n[s]))return!1}else if(t[s]!==n[s])return!1;f[s]=!0}for(s in n)if(a.call(n,s)&&!f[s])return!1;return!0},s.preventInvalidHostname=function(e){return this._parts.preventInvalidHostname=!!e,this},s.duplicateQueryParameters=function(e){return this._parts.duplicateQueryParameters=!!e,this},s.escapeQuerySpace=function(e){return this._parts.escapeQuerySpace=!!e,this},i}))},9942:function(e,t,n){var r;e=n.nmd(e),function(o){t&&t.nodeType,e&&e.nodeType;var i="object"==typeof n.g&&n.g;i.global!==i&&i.window!==i&&i.self;var s,a=2147483647,u=36,c=1,l=26,f=38,d=700,h=72,p=128,m="-",g=/^xn--/,y=/[^\x20-\x7E]/,v=/[\x2E\u3002\uFF0E\uFF61]/g,b={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},_=u-c,w=Math.floor,E=String.fromCharCode;function k(e){throw new RangeError(b[e])}function x(e,t){for(var n=e.length,r=[];n--;)r[n]=t(e[n]);return r}function D(e,t){var n=e.split("@"),r="";return n.length>1&&(r=n[0]+"@",e=n[1]),r+x((e=e.replace(v,".")).split("."),t).join(".")}function S(e){for(var t,n,r=[],o=0,i=e.length;o<i;)(t=e.charCodeAt(o++))>=55296&&t<=56319&&o<i?56320==(64512&(n=e.charCodeAt(o++)))?r.push(((1023&t)<<10)+(1023&n)+65536):(r.push(t),o--):r.push(t);return r}function C(e){return x(e,(function(e){var t="";return e>65535&&(t+=E((e-=65536)>>>10&1023|55296),e=56320|1023&e),t+=E(e)})).join("")}function O(e,t){return e+22+75*(e<26)-((0!=t)<<5)}function $(e,t,n){var r=0;for(e=n?w(e/d):e>>1,e+=w(e/t);e>_*l>>1;r+=u)e=w(e/_);return w(r+(_+1)*e/(e+f))}function A(e){var t,n,r,o,i,s,f,d,g,y,v,b=[],_=e.length,E=0,x=p,D=h;for((n=e.lastIndexOf(m))<0&&(n=0),r=0;r<n;++r)e.charCodeAt(r)>=128&&k("not-basic"),b.push(e.charCodeAt(r));for(o=n>0?n+1:0;o<_;){for(i=E,s=1,f=u;o>=_&&k("invalid-input"),((d=(v=e.charCodeAt(o++))-48<10?v-22:v-65<26?v-65:v-97<26?v-97:u)>=u||d>w((a-E)/s))&&k("overflow"),E+=d*s,!(d<(g=f<=D?c:f>=D+l?l:f-D));f+=u)s>w(a/(y=u-g))&&k("overflow"),s*=y;D=$(E-i,t=b.length+1,0==i),w(E/t)>a-x&&k("overflow"),x+=w(E/t),E%=t,b.splice(E++,0,x)}return C(b)}function P(e){var t,n,r,o,i,s,f,d,g,y,v,b,_,x,D,C=[];for(b=(e=S(e)).length,t=p,n=0,i=h,s=0;s<b;++s)(v=e[s])<128&&C.push(E(v));for(r=o=C.length,o&&C.push(m);r<b;){for(f=a,s=0;s<b;++s)(v=e[s])>=t&&v<f&&(f=v);for(f-t>w((a-n)/(_=r+1))&&k("overflow"),n+=(f-t)*_,t=f,s=0;s<b;++s)if((v=e[s])<t&&++n>a&&k("overflow"),v==t){for(d=n,g=u;!(d<(y=g<=i?c:g>=i+l?l:g-i));g+=u)D=d-y,x=u-y,C.push(E(O(y+D%x,0))),d=w(D/x);C.push(E(O(d,0))),i=$(n,_,r==o),n=0,++r}++n,++t}return C.join("")}s={version:"1.3.2",ucs2:{decode:S,encode:C},decode:A,encode:P,toASCII:function(e){return D(e,(function(e){return y.test(e)?"xn--"+P(e):e}))},toUnicode:function(e){return D(e,(function(e){return g.test(e)?A(e.slice(4).toLowerCase()):e}))}},void 0===(r=function(){return s}.call(t,n,t,e))||(e.exports=r)}()},90682:(e,t)=>{"use strict";const n=1024;let r=0;class o{constructor(e,t){this.from=e,this.to=t}}class i{constructor(e={}){this.id=r++,this.perNode=!!e.perNode,this.deserialize=e.deserialize||(()=>{throw new Error("This node type doesn't define a deserialize function")})}add(e){if(this.perNode)throw new RangeError("Can't add per-node props to node types");return"function"!=typeof e&&(e=u.match(e)),t=>{let n=e(t);return void 0===n?null:[this,n]}}}i.closedBy=new i({deserialize:e=>e.split(" ")}),i.openedBy=new i({deserialize:e=>e.split(" ")}),i.group=new i({deserialize:e=>e.split(" ")}),i.isolate=new i({deserialize:e=>{if(e&&"rtl"!=e&&"ltr"!=e&&"auto"!=e)throw new RangeError("Invalid value for isolate: "+e);return e||"auto"}}),i.contextHash=new i({perNode:!0}),i.lookAhead=new i({perNode:!0}),i.mounted=new i({perNode:!0});class s{constructor(e,t,n){this.tree=e,this.overlay=t,this.parser=n}static get(e){return e&&e.props&&e.props[i.mounted.id]}}const a=Object.create(null);class u{constructor(e,t,n,r=0){this.name=e,this.props=t,this.id=n,this.flags=r}static define(e){let t=e.props&&e.props.length?Object.create(null):a,n=(e.top?1:0)|(e.skipped?2:0)|(e.error?4:0)|(null==e.name?8:0),r=new u(e.name||"",t,e.id,n);if(e.props)for(let o of e.props)if(Array.isArray(o)||(o=o(r)),o){if(o[0].perNode)throw new RangeError("Can't store a per-node prop on a node type");t[o[0].id]=o[1]}return r}prop(e){return this.props[e.id]}get isTop(){return(1&this.flags)>0}get isSkipped(){return(2&this.flags)>0}get isError(){return(4&this.flags)>0}get isAnonymous(){return(8&this.flags)>0}is(e){if("string"==typeof e){if(this.name==e)return!0;let t=this.prop(i.group);return!!t&&t.indexOf(e)>-1}return this.id==e}static match(e){let t=Object.create(null);for(let n in e)for(let r of n.split(" "))t[r]=e[n];return e=>{for(let n=e.prop(i.group),r=-1;r<(n?n.length:0);r++){let o=t[r<0?e.name:n[r]];if(o)return o}}}}u.none=new u("",Object.create(null),0,8);class c{constructor(e){this.types=e;for(let t=0;t<e.length;t++)if(e[t].id!=t)throw new RangeError("Node type ids should correspond to array positions when creating a node set")}extend(...e){let t=[];for(let n of this.types){let r=null;for(let t of e){let e=t(n);e&&(r||(r=Object.assign({},n.props)),r[e[0].id]=e[1])}t.push(r?new u(n.name,r,n.id,n.flags):n)}return new c(t)}}const l=new WeakMap,f=new WeakMap;var d;t.IterMode=void 0,(d=t.IterMode||(t.IterMode={}))[d.ExcludeBuffers=1]="ExcludeBuffers",d[d.IncludeAnonymous=2]="IncludeAnonymous",d[d.IgnoreMounts=4]="IgnoreMounts",d[d.IgnoreOverlays=8]="IgnoreOverlays";class h{constructor(e,t,n,r,o){if(this.type=e,this.children=t,this.positions=n,this.length=r,this.props=null,o&&o.length){this.props=Object.create(null);for(let[e,t]of o)this.props["number"==typeof e?e:e.id]=t}}toString(){let e=s.get(this);if(e&&!e.overlay)return e.tree.toString();let t="";for(let n of this.children){let e=n.toString();e&&(t&&(t+=","),t+=e)}return this.type.name?(/\W/.test(this.type.name)&&!this.type.isError?JSON.stringify(this.type.name):this.type.name)+(t.length?"("+t+")":""):t}cursor(e=0){return new S(this.topNode,e)}cursorAt(e,t=0,n=0){let r=l.get(this)||this.topNode,o=new S(r);return o.moveTo(e,t),l.set(this,o._tree),o}get topNode(){return new b(this,0,0,null)}resolve(e,t=0){let n=y(l.get(this)||this.topNode,e,t,!1);return l.set(this,n),n}resolveInner(e,t=0){let n=y(f.get(this)||this.topNode,e,t,!0);return f.set(this,n),n}resolveStack(e,t=0){return function(e,t,n){let r=e.resolveInner(t,n),o=null;for(let i=r instanceof b?r:r.context.parent;i;i=i.parent)if(i.index<0){let e=i.parent;(o||(o=[r])).push(e.resolve(t,n)),i=e}else{let e=s.get(i.tree);if(e&&e.overlay&&e.overlay[0].from<=t&&e.overlay[e.overlay.length-1].to>=t){let s=new b(e.tree,e.overlay[0].from+i.from,-1,i);(o||(o=[r])).push(y(s,t,n,!1))}}return o?x(o):r}(this,e,t)}iterate(e){let{enter:n,leave:r,from:o=0,to:i=this.length}=e,s=e.mode||0,a=(s&t.IterMode.IncludeAnonymous)>0;for(let u=this.cursor(s|t.IterMode.IncludeAnonymous);;){let e=!1;if(u.from<=i&&u.to>=o&&(!a&&u.type.isAnonymous||!1!==n(u))){if(u.firstChild())continue;e=!0}for(;e&&r&&(a||!u.type.isAnonymous)&&r(u),!u.nextSibling();){if(!u.parent())return;e=!0}}}prop(e){return e.perNode?this.props?this.props[e.id]:void 0:this.type.prop(e)}get propValues(){let e=[];if(this.props)for(let t in this.props)e.push([+t,this.props[t]]);return e}balance(e={}){return this.children.length<=8?this:A(u.none,this.children,this.positions,0,this.children.length,0,this.length,((e,t,n)=>new h(this.type,e,t,n,this.propValues)),e.makeTree||((e,t,n)=>new h(u.none,e,t,n)))}static build(e){return function(e){var t;let{buffer:r,nodeSet:o,maxBufferLength:s=n,reused:a=[],minRepeatType:u=o.types.length}=e,c=Array.isArray(r)?new p(r,r.length):r,l=o.types,f=0,d=0;function g(e,t,n,r,i,h){let{id:p,start:k,end:x,size:D}=c,S=d;for(;D<0;){if(c.next(),-1==D){let t=a[p];return n.push(t),void r.push(k-e)}if(-3==D)return void(f=p);if(-4==D)return void(d=p);throw new RangeError(`Unrecognized record size: ${D}`)}let C,O,$=l[p],P=k-e;if(x-k<=s&&(O=w(c.pos-t,i))){let t=new Uint16Array(O.size-O.skip),n=c.pos-O.size,r=t.length;for(;c.pos>n;)r=E(O.start,t,r);C=new m(t,x-O.start,o),P=O.start-e}else{let e=c.pos-D;c.next();let t=[],n=[],r=p>=u?p:-1,o=0,i=x;for(;c.pos>e;)r>=0&&c.id==r&&c.size>=0?(c.end<=i-s&&(b(t,n,k,o,c.end,i,r,S),o=t.length,i=c.end),c.next()):h>2500?y(k,e,t,n):g(k,e,t,n,r,h+1);if(r>=0&&o>0&&o<t.length&&b(t,n,k,o,k,i,r,S),t.reverse(),n.reverse(),r>-1&&o>0){let e=v($);C=A($,t,n,0,t.length,0,x-k,e,e)}else C=_($,t,n,x-k,S-x)}n.push(C),r.push(P)}function y(e,t,n,r){let i=[],a=0,u=-1;for(;c.pos>t;){let{id:e,start:t,end:n,size:r}=c;if(r>4)c.next();else{if(u>-1&&t<u)break;u<0&&(u=n-s),i.push(e,t,n),a++,c.next()}}if(a){let t=new Uint16Array(4*a),s=i[i.length-2];for(let e=i.length-3,n=0;e>=0;e-=3)t[n++]=i[e],t[n++]=i[e+1]-s,t[n++]=i[e+2]-s,t[n++]=n;n.push(new m(t,i[2]-s,o)),r.push(s-e)}}function v(e){return(t,n,r)=>{let o,s,a=0,u=t.length-1;if(u>=0&&(o=t[u])instanceof h){if(!u&&o.type==e&&o.length==r)return o;(s=o.prop(i.lookAhead))&&(a=n[u]+o.length+s)}return _(e,t,n,r,a)}}function b(e,t,n,r,i,s,a,u){let c=[],l=[];for(;e.length>r;)c.push(e.pop()),l.push(t.pop()+n-i);e.push(_(o.types[a],c,l,s-i,u-s)),t.push(i-n)}function _(e,t,n,r,o=0,s){if(f){let e=[i.contextHash,f];s=s?[e].concat(s):[e]}if(o>25){let e=[i.lookAhead,o];s=s?[e].concat(s):[e]}return new h(e,t,n,r,s)}function w(e,t){let n=c.fork(),r=0,o=0,i=0,a=n.end-s,l={size:0,start:0,skip:0};e:for(let s=n.pos-e;n.pos>s;){let e=n.size;if(n.id==t&&e>=0){l.size=r,l.start=o,l.skip=i,i+=4,r+=4,n.next();continue}let c=n.pos-e;if(e<0||c<s||n.start<a)break;let f=n.id>=u?4:0,d=n.start;for(n.next();n.pos>c;){if(n.size<0){if(-3!=n.size)break e;f+=4}else n.id>=u&&(f+=4);n.next()}o=d,r+=e,i+=f}return(t<0||r==e)&&(l.size=r,l.start=o,l.skip=i),l.size>4?l:void 0}function E(e,t,n){let{id:r,start:o,end:i,size:s}=c;if(c.next(),s>=0&&r<u){let a=n;if(s>4){let r=c.pos-(s-4);for(;c.pos>r;)n=E(e,t,n)}t[--n]=a,t[--n]=i-e,t[--n]=o-e,t[--n]=r}else-3==s?f=r:-4==s&&(d=r);return n}let k=[],x=[];for(;c.pos>0;)g(e.start||0,e.bufferStart||0,k,x,-1,0);let D=null!==(t=e.length)&&void 0!==t?t:k.length?x[0]+k[0].length:0;return new h(l[e.topID],k.reverse(),x.reverse(),D)}(e)}}h.empty=new h(u.none,[],[],0);class p{constructor(e,t){this.buffer=e,this.index=t}get id(){return this.buffer[this.index-4]}get start(){return this.buffer[this.index-3]}get end(){return this.buffer[this.index-2]}get size(){return this.buffer[this.index-1]}get pos(){return this.index}next(){this.index-=4}fork(){return new p(this.buffer,this.index)}}class m{constructor(e,t,n){this.buffer=e,this.length=t,this.set=n}get type(){return u.none}toString(){let e=[];for(let t=0;t<this.buffer.length;)e.push(this.childString(t)),t=this.buffer[t+3];return e.join(",")}childString(e){let t=this.buffer[e],n=this.buffer[e+3],r=this.set.types[t],o=r.name;if(/\W/.test(o)&&!r.isError&&(o=JSON.stringify(o)),n==(e+=4))return o;let i=[];for(;e<n;)i.push(this.childString(e)),e=this.buffer[e+3];return o+"("+i.join(",")+")"}findChild(e,t,n,r,o){let{buffer:i}=this,s=-1;for(let a=e;a!=t&&!(g(o,r,i[a+1],i[a+2])&&(s=a,n>0));a=i[a+3]);return s}slice(e,t,n){let r=this.buffer,o=new Uint16Array(t-e),i=0;for(let s=e,a=0;s<t;){o[a++]=r[s++],o[a++]=r[s++]-n;let t=o[a++]=r[s++]-n;o[a++]=r[s++]-e,i=Math.max(i,t)}return new m(o,i,this.set)}}function g(e,t,n,r){switch(e){case-2:return n<t;case-1:return r>=t&&n<t;case 0:return n<t&&r>t;case 1:return n<=t&&r>t;case 2:return r>t;case 4:return!0}}function y(e,n,r,o){for(var i;e.from==e.to||(r<1?e.from>=n:e.from>n)||(r>-1?e.to<=n:e.to<n);){let t=!o&&e instanceof b&&e.index<0?null:e.parent;if(!t)return e;e=t}let s=o?0:t.IterMode.IgnoreOverlays;if(o)for(let t=e,a=t.parent;a;t=a,a=t.parent)t instanceof b&&t.index<0&&(null===(i=a.enter(n,r,s))||void 0===i?void 0:i.from)!=t.from&&(e=a);for(;;){let t=e.enter(n,r,s);if(!t)return e;e=t}}class v{cursor(e=0){return new S(this,e)}getChild(e,t=null,n=null){let r=_(this,e,t,n);return r.length?r[0]:null}getChildren(e,t=null,n=null){return _(this,e,t,n)}resolve(e,t=0){return y(this,e,t,!1)}resolveInner(e,t=0){return y(this,e,t,!0)}matchContext(e){return w(this,e)}enterUnfinishedNodesBefore(e){let t=this.childBefore(e),n=this;for(;t;){let e=t.lastChild;if(!e||e.to!=t.to)break;e.type.isError&&e.from==e.to?(n=t,t=e.prevSibling):t=e}return n}get node(){return this}get next(){return this.parent}}class b extends v{constructor(e,t,n,r){super(),this._tree=e,this.from=t,this.index=n,this._parent=r}get type(){return this._tree.type}get name(){return this._tree.type.name}get to(){return this.from+this._tree.length}nextChild(e,n,r,o,i=0){for(let a=this;;){for(let{children:u,positions:c}=a._tree,l=n>0?u.length:-1;e!=l;e+=n){let l=u[e],f=c[e]+a.from;if(g(o,r,f,f+l.length))if(l instanceof m){if(i&t.IterMode.ExcludeBuffers)continue;let s=l.findChild(0,l.buffer.length,n,r-f,o);if(s>-1)return new k(new E(a,l,e,f),null,s)}else if(i&t.IterMode.IncludeAnonymous||!l.type.isAnonymous||C(l)){let u;if(!(i&t.IterMode.IgnoreMounts)&&(u=s.get(l))&&!u.overlay)return new b(u.tree,f,e,a);let c=new b(l,f,e,a);return i&t.IterMode.IncludeAnonymous||!c.type.isAnonymous?c:c.nextChild(n<0?l.children.length-1:0,n,r,o)}}if(i&t.IterMode.IncludeAnonymous||!a.type.isAnonymous)return null;if(e=a.index>=0?a.index+n:n<0?-1:a._parent._tree.children.length,a=a._parent,!a)return null}}get firstChild(){return this.nextChild(0,1,0,4)}get lastChild(){return this.nextChild(this._tree.children.length-1,-1,0,4)}childAfter(e){return this.nextChild(0,1,e,2)}childBefore(e){return this.nextChild(this._tree.children.length-1,-1,e,-2)}enter(e,n,r=0){let o;if(!(r&t.IterMode.IgnoreOverlays)&&(o=s.get(this._tree))&&o.overlay){let t=e-this.from;for(let{from:e,to:r}of o.overlay)if((n>0?e<=t:e<t)&&(n<0?r>=t:r>t))return new b(o.tree,o.overlay[0].from+this.from,-1,this)}return this.nextChild(0,1,e,n,r)}nextSignificantParent(){let e=this;for(;e.type.isAnonymous&&e._parent;)e=e._parent;return e}get parent(){return this._parent?this._parent.nextSignificantParent():null}get nextSibling(){return this._parent&&this.index>=0?this._parent.nextChild(this.index+1,1,0,4):null}get prevSibling(){return this._parent&&this.index>=0?this._parent.nextChild(this.index-1,-1,0,4):null}get tree(){return this._tree}toTree(){return this._tree}toString(){return this._tree.toString()}}function _(e,t,n,r){let o=e.cursor(),i=[];if(!o.firstChild())return i;if(null!=n)for(let s=!1;!s;)if(s=o.type.is(n),!o.nextSibling())return i;for(;;){if(null!=r&&o.type.is(r))return i;if(o.type.is(t)&&i.push(o.node),!o.nextSibling())return null==r?i:[]}}function w(e,t,n=t.length-1){for(let r=e.parent;n>=0;r=r.parent){if(!r)return!1;if(!r.type.isAnonymous){if(t[n]&&t[n]!=r.name)return!1;n--}}return!0}class E{constructor(e,t,n,r){this.parent=e,this.buffer=t,this.index=n,this.start=r}}class k extends v{get name(){return this.type.name}get from(){return this.context.start+this.context.buffer.buffer[this.index+1]}get to(){return this.context.start+this.context.buffer.buffer[this.index+2]}constructor(e,t,n){super(),this.context=e,this._parent=t,this.index=n,this.type=e.buffer.set.types[e.buffer.buffer[n]]}child(e,t,n){let{buffer:r}=this.context,o=r.findChild(this.index+4,r.buffer[this.index+3],e,t-this.context.start,n);return o<0?null:new k(this.context,this,o)}get firstChild(){return this.child(1,0,4)}get lastChild(){return this.child(-1,0,4)}childAfter(e){return this.child(1,e,2)}childBefore(e){return this.child(-1,e,-2)}enter(e,n,r=0){if(r&t.IterMode.ExcludeBuffers)return null;let{buffer:o}=this.context,i=o.findChild(this.index+4,o.buffer[this.index+3],n>0?1:-1,e-this.context.start,n);return i<0?null:new k(this.context,this,i)}get parent(){return this._parent||this.context.parent.nextSignificantParent()}externalSibling(e){return this._parent?null:this.context.parent.nextChild(this.context.index+e,e,0,4)}get nextSibling(){let{buffer:e}=this.context,t=e.buffer[this.index+3];return t<(this._parent?e.buffer[this._parent.index+3]:e.buffer.length)?new k(this.context,this._parent,t):this.externalSibling(1)}get prevSibling(){let{buffer:e}=this.context,t=this._parent?this._parent.index+4:0;return this.index==t?this.externalSibling(-1):new k(this.context,this._parent,e.findChild(t,this.index,-1,0,4))}get tree(){return null}toTree(){let e=[],t=[],{buffer:n}=this.context,r=this.index+4,o=n.buffer[this.index+3];if(o>r){let i=n.buffer[this.index+1];e.push(n.slice(r,o,i)),t.push(0)}return new h(this.type,e,t,this.to-this.from)}toString(){return this.context.buffer.childString(this.index)}}function x(e){if(!e.length)return null;let t=0,n=e[0];for(let i=1;i<e.length;i++){let r=e[i];(r.from>n.from||r.to<n.to)&&(n=r,t=i)}let r=n instanceof b&&n.index<0?null:n.parent,o=e.slice();return r?o[t]=r:o.splice(t,1),new D(o,n)}class D{constructor(e,t){this.heads=e,this.node=t}get next(){return x(this.heads)}}class S{get name(){return this.type.name}constructor(e,t=0){if(this.mode=t,this.buffer=null,this.stack=[],this.index=0,this.bufferNode=null,e instanceof b)this.yieldNode(e);else{this._tree=e.context.parent,this.buffer=e.context;for(let t=e._parent;t;t=t._parent)this.stack.unshift(t.index);this.bufferNode=e,this.yieldBuf(e.index)}}yieldNode(e){return!!e&&(this._tree=e,this.type=e.type,this.from=e.from,this.to=e.to,!0)}yieldBuf(e,t){this.index=e;let{start:n,buffer:r}=this.buffer;return this.type=t||r.set.types[r.buffer[e]],this.from=n+r.buffer[e+1],this.to=n+r.buffer[e+2],!0}yield(e){return!!e&&(e instanceof b?(this.buffer=null,this.yieldNode(e)):(this.buffer=e.context,this.yieldBuf(e.index,e.type)))}toString(){return this.buffer?this.buffer.buffer.childString(this.index):this._tree.toString()}enterChild(e,t,n){if(!this.buffer)return this.yield(this._tree.nextChild(e<0?this._tree._tree.children.length-1:0,e,t,n,this.mode));let{buffer:r}=this.buffer,o=r.findChild(this.index+4,r.buffer[this.index+3],e,t-this.buffer.start,n);return!(o<0)&&(this.stack.push(this.index),this.yieldBuf(o))}firstChild(){return this.enterChild(1,0,4)}lastChild(){return this.enterChild(-1,0,4)}childAfter(e){return this.enterChild(1,e,2)}childBefore(e){return this.enterChild(-1,e,-2)}enter(e,n,r=this.mode){return this.buffer?!(r&t.IterMode.ExcludeBuffers)&&this.enterChild(1,e,n):this.yield(this._tree.enter(e,n,r))}parent(){if(!this.buffer)return this.yieldNode(this.mode&t.IterMode.IncludeAnonymous?this._tree._parent:this._tree.parent);if(this.stack.length)return this.yieldBuf(this.stack.pop());let e=this.mode&t.IterMode.IncludeAnonymous?this.buffer.parent:this.buffer.parent.nextSignificantParent();return this.buffer=null,this.yieldNode(e)}sibling(e){if(!this.buffer)return!!this._tree._parent&&this.yield(this._tree.index<0?null:this._tree._parent.nextChild(this._tree.index+e,e,0,4,this.mode));let{buffer:t}=this.buffer,n=this.stack.length-1;if(e<0){let e=n<0?0:this.stack[n]+4;if(this.index!=e)return this.yieldBuf(t.findChild(e,this.index,-1,0,4))}else{let e=t.buffer[this.index+3];if(e<(n<0?t.buffer.length:t.buffer[this.stack[n]+3]))return this.yieldBuf(e)}return n<0&&this.yield(this.buffer.parent.nextChild(this.buffer.index+e,e,0,4,this.mode))}nextSibling(){return this.sibling(1)}prevSibling(){return this.sibling(-1)}atLastNode(e){let n,r,{buffer:o}=this;if(o){if(e>0){if(this.index<o.buffer.buffer.length)return!1}else for(let e=0;e<this.index;e++)if(o.buffer.buffer[e+3]<this.index)return!1;({index:n,parent:r}=o)}else({index:n,_parent:r}=this._tree);for(;r;({index:n,_parent:r}=r))if(n>-1)for(let o=n+e,i=e<0?-1:r._tree.children.length;o!=i;o+=e){let e=r._tree.children[o];if(this.mode&t.IterMode.IncludeAnonymous||e instanceof m||!e.type.isAnonymous||C(e))return!1}return!0}move(e,t){if(t&&this.enterChild(e,0,4))return!0;for(;;){if(this.sibling(e))return!0;if(this.atLastNode(e)||!this.parent())return!1}}next(e=!0){return this.move(1,e)}prev(e=!0){return this.move(-1,e)}moveTo(e,t=0){for(;(this.from==this.to||(t<1?this.from>=e:this.from>e)||(t>-1?this.to<=e:this.to<e))&&this.parent(););for(;this.enterChild(1,e,t););return this}get node(){if(!this.buffer)return this._tree;let e=this.bufferNode,t=null,n=0;if(e&&e.context==this.buffer)e:for(let r=this.index,o=this.stack.length;o>=0;){for(let i=e;i;i=i._parent)if(i.index==r){if(r==this.index)return i;t=i,n=o+1;break e}r=this.stack[--o]}for(let r=n;r<this.stack.length;r++)t=new k(this.buffer,t,this.stack[r]);return this.bufferNode=new k(this.buffer,t,this.index)}get tree(){return this.buffer?null:this._tree._tree}iterate(e,t){for(let n=0;;){let r=!1;if(this.type.isAnonymous||!1!==e(this)){if(this.firstChild()){n++;continue}this.type.isAnonymous||(r=!0)}for(;r&&t&&t(this),r=this.type.isAnonymous,!this.nextSibling();){if(!n)return;this.parent(),n--,r=!0}}}matchContext(e){if(!this.buffer)return w(this.node,e);let{buffer:t}=this.buffer,{types:n}=t.set;for(let r=e.length-1,o=this.stack.length-1;r>=0;o--){if(o<0)return w(this.node,e,r);let i=n[t.buffer[this.stack[o]]];if(!i.isAnonymous){if(e[r]&&e[r]!=i.name)return!1;r--}}return!0}}function C(e){return e.children.some((e=>e instanceof m||!e.type.isAnonymous||C(e)))}const O=new WeakMap;function $(e,t){if(!e.isAnonymous||t instanceof m||t.type!=e)return 1;let n=O.get(t);if(null==n){n=1;for(let r of t.children){if(r.type!=e||!(r instanceof h)){n=1;break}n+=$(e,r)}O.set(t,n)}return n}function A(e,t,n,r,o,i,s,a,u){let c=0;for(let h=r;h<o;h++)c+=$(e,t[h]);let l=Math.ceil(1.5*c/8),f=[],d=[];return function t(n,r,o,s,a){for(let c=o;c<s;){let o=c,h=r[c],p=$(e,n[c]);for(c++;c<s;c++){let t=$(e,n[c]);if(p+t>=l)break;p+=t}if(c==o+1){if(p>l){let e=n[o];t(e.children,e.positions,0,e.children.length,r[o]+a);continue}f.push(n[o])}else{let t=r[c-1]+n[c-1].length-h;f.push(A(e,n,r,o,c,h,t,null,u))}d.push(h+a-i)}}(t,n,r,o,0),(a||u)(f,d,s)}class P{constructor(e,t,n,r,o=!1,i=!1){this.from=e,this.to=t,this.tree=n,this.offset=r,this.open=(o?1:0)|(i?2:0)}get openStart(){return(1&this.open)>0}get openEnd(){return(2&this.open)>0}static addTree(e,t=[],n=!1){let r=[new P(0,e.length,e,0,!1,n)];for(let o of t)o.to>e.length&&r.push(o);return r}static applyChanges(e,t,n=128){if(!t.length)return e;let r=[],o=1,i=e.length?e[0]:null;for(let s=0,a=0,u=0;;s++){let c=s<t.length?t[s]:null,l=c?c.fromA:1e9;if(l-a>=n)for(;i&&i.from<l;){let t=i;if(a>=t.from||l<=t.to||u){let e=Math.max(t.from,a)-u,n=Math.min(t.to,l)-u;t=e>=n?null:new P(e,n,t.tree,t.offset+u,s>0,!!c)}if(t&&r.push(t),i.to>l)break;i=o<e.length?e[o++]:null}if(!c)break;a=c.toA,u=c.toA-c.toB}return r}}class j{constructor(e){this.string=e}get length(){return this.string.length}chunk(e){return this.string.slice(e)}get lineChunks(){return!1}read(e,t){return this.string.slice(e,t)}}class F{constructor(e,t,n,r,o){this.parser=e,this.parse=t,this.overlay=n,this.target=r,this.from=o}}function I(e){if(!e.length||e.some((e=>e.from>=e.to)))throw new RangeError("Invalid inner parse ranges given: "+JSON.stringify(e))}class N{constructor(e,t,n,r,o,i,s){this.parser=e,this.predicate=t,this.mounts=n,this.index=r,this.start=o,this.target=i,this.prev=s,this.depth=0,this.ranges=[]}}const T=new i({perNode:!0});class M{constructor(e,t,n,r,o){this.nest=t,this.input=n,this.fragments=r,this.ranges=o,this.inner=[],this.innerDone=0,this.baseTree=null,this.stoppedAt=null,this.baseParse=e}advance(){if(this.baseParse){let e=this.baseParse.advance();if(!e)return null;if(this.baseParse=null,this.baseTree=e,this.startInner(),null!=this.stoppedAt)for(let t of this.inner)t.parse.stopAt(this.stoppedAt)}if(this.innerDone==this.inner.length){let e=this.baseTree;return null!=this.stoppedAt&&(e=new h(e.type,e.children,e.positions,e.length,e.propValues.concat([[T,this.stoppedAt]]))),e}let e=this.inner[this.innerDone],t=e.parse.advance();if(t){this.innerDone++;let n=Object.assign(Object.create(null),e.target.props);n[i.mounted.id]=new s(t,e.overlay,e.parser),e.target.props=n}return null}get parsedPos(){if(this.baseParse)return 0;let e=this.input.length;for(let t=this.innerDone;t<this.inner.length;t++)this.inner[t].from<e&&(e=Math.min(e,this.inner[t].parse.parsedPos));return e}stopAt(e){if(this.stoppedAt=e,this.baseParse)this.baseParse.stopAt(e);else for(let t=this.innerDone;t<this.inner.length;t++)this.inner[t].parse.stopAt(e)}startInner(){let e=new U(this.fragments),n=null,r=null,i=new S(new b(this.baseTree,this.ranges[0].from,0,null),t.IterMode.IncludeAnonymous|t.IterMode.IgnoreMounts);e:for(let t,s;;){let a,u=!0;if(null!=this.stoppedAt&&i.from>=this.stoppedAt)u=!1;else if(e.hasNode(i)){if(n){let e=n.mounts.find((e=>e.frag.from<=i.from&&e.frag.to>=i.to&&e.mount.overlay));if(e)for(let t of e.mount.overlay){let r=t.from+e.pos,o=t.to+e.pos;r>=i.from&&o<=i.to&&!n.ranges.some((e=>e.from<o&&e.to>r))&&n.ranges.push({from:r,to:o})}}u=!1}else if(r&&(s=R(r.ranges,i.from,i.to)))u=2!=s;else if(!i.type.isAnonymous&&(t=this.nest(i,this.input))&&(i.from<i.to||!t.overlay)){i.tree||L(i);let s=e.findMounts(i.from,t.parser);if("function"==typeof t.overlay)n=new N(t.parser,t.overlay,s,this.inner.length,i.from,i.tree,n);else{let e=q(this.ranges,t.overlay||(i.from<i.to?[new o(i.from,i.to)]:[]));e.length&&I(e),!e.length&&t.overlay||this.inner.push(new F(t.parser,e.length?t.parser.startParse(this.input,Q(s,e),e):t.parser.startParse(""),t.overlay?t.overlay.map((e=>new o(e.from-i.from,e.to-i.from))):null,i.tree,e.length?e[0].from:i.from)),t.overlay?e.length&&(r={ranges:e,depth:0,prev:r}):u=!1}}else n&&(a=n.predicate(i))&&(!0===a&&(a=new o(i.from,i.to)),a.from<a.to&&n.ranges.push(a));if(u&&i.firstChild())n&&n.depth++,r&&r.depth++;else for(;!i.nextSibling();){if(!i.parent())break e;if(n&&! --n.depth){let e=q(this.ranges,n.ranges);e.length&&(I(e),this.inner.splice(n.index,0,new F(n.parser,n.parser.startParse(this.input,Q(n.mounts,e),e),n.ranges.map((e=>new o(e.from-n.start,e.to-n.start))),n.target,e[0].from))),n=n.prev}r&&! --r.depth&&(r=r.prev)}}}}function R(e,t,n){for(let r of e){if(r.from>=n)break;if(r.to>t)return r.from<=t&&r.to>=n?2:1}return 0}function B(e,t,n,r,o,i){if(t<n){let s=e.buffer[t+1];r.push(e.slice(t,n,s)),o.push(s-i)}}function L(e){let{node:t}=e,n=[],r=t.context.buffer;do{n.push(e.index),e.parent()}while(!e.tree);let o=e.tree,i=o.children.indexOf(r),s=o.children[i],a=s.buffer,c=[i];o.children[i]=function e(r,o,i,u,l,f){let d=n[f],p=[],m=[];B(s,r,d,p,m,u);let g=a[d+1],y=a[d+2];c.push(p.length);let v=f?e(d+4,a[d+3],s.set.types[a[d]],g,y-g,f-1):t.toTree();return p.push(v),m.push(g-u),B(s,a[d+3],o,p,m,u),new h(i,p,m,l)}(0,a.length,u.none,0,s.length,n.length-1);for(let u of c){let t=e.tree.children[u],n=e.tree.positions[u];e.yield(new b(t,n+e.from,u,e._tree))}}class z{constructor(e,n){this.offset=n,this.done=!1,this.cursor=e.cursor(t.IterMode.IncludeAnonymous|t.IterMode.IgnoreMounts)}moveTo(e){let{cursor:n}=this,r=e-this.offset;for(;!this.done&&n.from<r;)n.to>=e&&n.enter(r,1,t.IterMode.IgnoreOverlays|t.IterMode.ExcludeBuffers)||n.next(!1)||(this.done=!0)}hasNode(e){if(this.moveTo(e.from),!this.done&&this.cursor.from+this.offset==e.from&&this.cursor.tree)for(let t=this.cursor.tree;;){if(t==e.tree)return!0;if(!(t.children.length&&0==t.positions[0]&&t.children[0]instanceof h))break;t=t.children[0]}return!1}}class U{constructor(e){var t;if(this.fragments=e,this.curTo=0,this.fragI=0,e.length){let n=this.curFrag=e[0];this.curTo=null!==(t=n.tree.prop(T))&&void 0!==t?t:n.to,this.inner=new z(n.tree,-n.offset)}else this.curFrag=this.inner=null}hasNode(e){for(;this.curFrag&&e.from>=this.curTo;)this.nextFrag();return this.curFrag&&this.curFrag.from<=e.from&&this.curTo>=e.to&&this.inner.hasNode(e)}nextFrag(){var e;if(this.fragI++,this.fragI==this.fragments.length)this.curFrag=this.inner=null;else{let t=this.curFrag=this.fragments[this.fragI];this.curTo=null!==(e=t.tree.prop(T))&&void 0!==e?e:t.to,this.inner=new z(t.tree,-t.offset)}}findMounts(e,t){var n;let r=[];if(this.inner){this.inner.cursor.moveTo(e,1);for(let e=this.inner.cursor.node;e;e=e.parent){let o=null===(n=e.tree)||void 0===n?void 0:n.prop(i.mounted);if(o&&o.parser==t)for(let t=this.fragI;t<this.fragments.length;t++){let n=this.fragments[t];if(n.from>=e.to)break;n.tree==this.curFrag.tree&&r.push({frag:n,pos:e.from-n.offset,mount:o})}}}return r}}function q(e,t){let n=null,r=t;for(let i=1,s=0;i<e.length;i++){let a=e[i-1].to,u=e[i].from;for(;s<r.length;s++){let e=r[s];if(e.from>=u)break;e.to<=a||(n||(r=n=t.slice()),e.from<a?(n[s]=new o(e.from,a),e.to>u&&n.splice(s+1,0,new o(u,e.to))):e.to>u?n[s--]=new o(u,e.to):n.splice(s--,1))}}return r}function V(e,t,n,r){let i=0,s=0,a=!1,u=!1,c=-1e9,l=[];for(;;){let f=i==e.length?1e9:a?e[i].to:e[i].from,d=s==t.length?1e9:u?t[s].to:t[s].from;if(a!=u){let e=Math.max(c,n),t=Math.min(f,d,r);e<t&&l.push(new o(e,t))}if(c=Math.min(f,d),1e9==c)break;f==c&&(a?(a=!1,i++):a=!0),d==c&&(u?(u=!1,s++):u=!0)}return l}function Q(e,t){let n=[];for(let{pos:r,mount:i,frag:s}of e){let e=r+(i.overlay?i.overlay[0].from:0),a=e+i.tree.length,u=Math.max(s.from,e),c=Math.min(s.to,a);if(i.overlay){let a=V(t,i.overlay.map((e=>new o(e.from+r,e.to+r))),u,c);for(let t=0,r=u;;t++){let o=t==a.length,u=o?c:a[t].from;if(u>r&&n.push(new P(r,u,i.tree,-e,s.from>=r||s.openStart,s.to<=u||s.openEnd)),o)break;r=a[t].to}}else n.push(new P(u,c,i.tree,-e,s.from>=e||s.openStart,s.to<=a||s.openEnd))}return n}t.DefaultBufferLength=n,t.MountedTree=s,t.NodeProp=i,t.NodeSet=c,t.NodeType=u,t.NodeWeakMap=class{constructor(){this.map=new WeakMap}setBuffer(e,t,n){let r=this.map.get(e);r||this.map.set(e,r=new Map),r.set(t,n)}getBuffer(e,t){let n=this.map.get(e);return n&&n.get(t)}set(e,t){e instanceof k?this.setBuffer(e.context.buffer,e.index,t):e instanceof b&&this.map.set(e.tree,t)}get(e){return e instanceof k?this.getBuffer(e.context.buffer,e.index):e instanceof b?this.map.get(e.tree):void 0}cursorSet(e,t){e.buffer?this.setBuffer(e.buffer.buffer,e.index,t):this.map.set(e.tree,t)}cursorGet(e){return e.buffer?this.getBuffer(e.buffer.buffer,e.index):this.map.get(e.tree)}},t.Parser=class{startParse(e,t,n){return"string"==typeof e&&(e=new j(e)),n=n?n.length?n.map((e=>new o(e.from,e.to))):[new o(0,0)]:[new o(0,e.length)],this.createParse(e,t||[],n)}parse(e,t,n){let r=this.startParse(e,t,n);for(;;){let e=r.advance();if(e)return e}}},t.Tree=h,t.TreeBuffer=m,t.TreeCursor=S,t.TreeFragment=P,t.parseMixed=function(e){return(t,n,r,o)=>new M(t,e,n,r,o)}},21500:(e,t,n)=>{"use strict";var r=n(90682);class o{constructor(e,t,n,r,o,i,s,a,u,c=0,l){this.p=e,this.stack=t,this.state=n,this.reducePos=r,this.pos=o,this.score=i,this.buffer=s,this.bufferBase=a,this.curContext=u,this.lookAhead=c,this.parent=l}toString(){return`[${this.stack.filter(((e,t)=>t%3==0)).concat(this.state)}]@${this.pos}${this.score?"!"+this.score:""}`}static start(e,t,n=0){let r=e.parser.context;return new o(e,[],t,n,n,0,[],0,r?new i(r,r.start):null,0,null)}get context(){return this.curContext?this.curContext.context:null}pushState(e,t){this.stack.push(this.state,t,this.bufferBase+this.buffer.length),this.state=e}reduce(e){var t;let n=e>>19,r=65535&e,{parser:o}=this.p;this.reducePos<this.pos-25&&this.setLookAhead(this.pos);let i=o.dynamicPrecedence(r);if(i&&(this.score+=i),0==n)return this.pushState(o.getGoto(this.state,r,!0),this.reducePos),r<o.minRepeatTerm&&this.storeNode(r,this.reducePos,this.reducePos,4,!0),void this.reduceContext(r,this.reducePos);let s=this.stack.length-3*(n-1)-(262144&e?6:0),a=s?this.stack[s-2]:this.p.ranges[0].from,u=this.reducePos-a;u>=2e3&&!(null===(t=this.p.parser.nodeSet.types[r])||void 0===t?void 0:t.isAnonymous)&&(a==this.p.lastBigReductionStart?(this.p.bigReductionCount++,this.p.lastBigReductionSize=u):this.p.lastBigReductionSize<u&&(this.p.bigReductionCount=1,this.p.lastBigReductionStart=a,this.p.lastBigReductionSize=u));let c=s?this.stack[s-1]:0,l=this.bufferBase+this.buffer.length-c;if(r<o.minRepeatTerm||131072&e){let e=o.stateFlag(this.state,1)?this.pos:this.reducePos;this.storeNode(r,a,e,l+4,!0)}if(262144&e)this.state=this.stack[s];else{let e=this.stack[s-3];this.state=o.getGoto(e,r,!0)}for(;this.stack.length>s;)this.stack.pop();this.reduceContext(r,a)}storeNode(e,t,n,r=4,o=!1){if(0==e&&(!this.stack.length||this.stack[this.stack.length-1]<this.buffer.length+this.bufferBase)){let e=this,r=this.buffer.length;if(0==r&&e.parent&&(r=e.bufferBase-e.parent.bufferBase,e=e.parent),r>0&&0==e.buffer[r-4]&&e.buffer[r-1]>-1){if(t==n)return;if(e.buffer[r-2]>=t)return void(e.buffer[r-2]=n)}}if(o&&this.pos!=n){let o=this.buffer.length;if(o>0&&0!=this.buffer[o-4])for(;o>0&&this.buffer[o-2]>n;)this.buffer[o]=this.buffer[o-4],this.buffer[o+1]=this.buffer[o-3],this.buffer[o+2]=this.buffer[o-2],this.buffer[o+3]=this.buffer[o-1],o-=4,r>4&&(r-=4);this.buffer[o]=e,this.buffer[o+1]=t,this.buffer[o+2]=n,this.buffer[o+3]=r}else this.buffer.push(e,t,n,r)}shift(e,t,n,r){if(131072&e)this.pushState(65535&e,this.pos);else if(0==(262144&e)){let o=e,{parser:i}=this.p;(r>this.pos||t<=i.maxNode)&&(this.pos=r,i.stateFlag(o,1)||(this.reducePos=r)),this.pushState(o,n),this.shiftContext(t,n),t<=i.maxNode&&this.buffer.push(t,n,r,4)}else this.pos=r,this.shiftContext(t,n),t<=this.p.parser.maxNode&&this.buffer.push(t,n,r,4)}apply(e,t,n,r){65536&e?this.reduce(e):this.shift(e,t,n,r)}useNode(e,t){let n=this.p.reused.length-1;(n<0||this.p.reused[n]!=e)&&(this.p.reused.push(e),n++);let r=this.pos;this.reducePos=this.pos=r+e.length,this.pushState(t,r),this.buffer.push(n,r,this.reducePos,-1),this.curContext&&this.updateContext(this.curContext.tracker.reuse(this.curContext.context,e,this,this.p.stream.reset(this.pos-e.length)))}split(){let e=this,t=e.buffer.length;for(;t>0&&e.buffer[t-2]>e.reducePos;)t-=4;let n=e.buffer.slice(t),r=e.bufferBase+t;for(;e&&r==e.bufferBase;)e=e.parent;return new o(this.p,this.stack.slice(),this.state,this.reducePos,this.pos,this.score,n,r,this.curContext,this.lookAhead,e)}recoverByDelete(e,t){let n=e<=this.p.parser.maxNode;n&&this.storeNode(e,this.pos,t,4),this.storeNode(0,this.pos,t,n?8:4),this.pos=this.reducePos=t,this.score-=190}canShift(e){for(let t=new s(this);;){let n=this.p.parser.stateSlot(t.state,4)||this.p.parser.hasAction(t.state,e);if(0==n)return!1;if(0==(65536&n))return!0;t.reduce(n)}}recoverByInsert(e){if(this.stack.length>=300)return[];let t=this.p.parser.nextStates(this.state);if(t.length>8||this.stack.length>=120){let n=[];for(let r,o=0;o<t.length;o+=2)(r=t[o+1])!=this.state&&this.p.parser.hasAction(r,e)&&n.push(t[o],r);if(this.stack.length<120)for(let e=0;n.length<8&&e<t.length;e+=2){let r=t[e+1];n.some(((e,t)=>1&t&&e==r))||n.push(t[e],r)}t=n}let n=[];for(let r=0;r<t.length&&n.length<4;r+=2){let e=t[r+1];if(e==this.state)continue;let o=this.split();o.pushState(e,this.pos),o.storeNode(0,o.pos,o.pos,4,!0),o.shiftContext(t[r],this.pos),o.reducePos=this.pos,o.score-=200,n.push(o)}return n}forceReduce(){let{parser:e}=this.p,t=e.stateSlot(this.state,5);if(0==(65536&t))return!1;if(!e.validAction(this.state,t)){let n=t>>19,r=65535&t,o=this.stack.length-3*n;if(o<0||e.getGoto(this.stack[o],r,!1)<0){let e=this.findForcedReduction();if(null==e)return!1;t=e}this.storeNode(0,this.pos,this.pos,4,!0),this.score-=100}return this.reducePos=this.pos,this.reduce(t),!0}findForcedReduction(){let{parser:e}=this.p,t=[],n=(r,o)=>{if(!t.includes(r))return t.push(r),e.allActions(r,(t=>{if(393216&t);else if(65536&t){let n=(t>>19)-o;if(n>1){let r=65535&t,o=this.stack.length-3*n;if(o>=0&&e.getGoto(this.stack[o],r,!1)>=0)return n<<19|65536|r}}else{let e=n(t,o+1);if(null!=e)return e}}))};return n(this.state,0)}forceAll(){for(;!this.p.parser.stateFlag(this.state,2);)if(!this.forceReduce()){this.storeNode(0,this.pos,this.pos,4,!0);break}return this}get deadEnd(){if(3!=this.stack.length)return!1;let{parser:e}=this.p;return 65535==e.data[e.stateSlot(this.state,1)]&&!e.stateSlot(this.state,4)}restart(){this.storeNode(0,this.pos,this.pos,4,!0),this.state=this.stack[0],this.stack.length=0}sameState(e){if(this.state!=e.state||this.stack.length!=e.stack.length)return!1;for(let t=0;t<this.stack.length;t+=3)if(this.stack[t]!=e.stack[t])return!1;return!0}get parser(){return this.p.parser}dialectEnabled(e){return this.p.parser.dialect.flags[e]}shiftContext(e,t){this.curContext&&this.updateContext(this.curContext.tracker.shift(this.curContext.context,e,this,this.p.stream.reset(t)))}reduceContext(e,t){this.curContext&&this.updateContext(this.curContext.tracker.reduce(this.curContext.context,e,this,this.p.stream.reset(t)))}emitContext(){let e=this.buffer.length-1;(e<0||-3!=this.buffer[e])&&this.buffer.push(this.curContext.hash,this.pos,this.pos,-3)}emitLookAhead(){let e=this.buffer.length-1;(e<0||-4!=this.buffer[e])&&this.buffer.push(this.lookAhead,this.pos,this.pos,-4)}updateContext(e){if(e!=this.curContext.context){let t=new i(this.curContext.tracker,e);t.hash!=this.curContext.hash&&this.emitContext(),this.curContext=t}}setLookAhead(e){e>this.lookAhead&&(this.emitLookAhead(),this.lookAhead=e)}close(){this.curContext&&this.curContext.tracker.strict&&this.emitContext(),this.lookAhead>0&&this.emitLookAhead()}}class i{constructor(e,t){this.tracker=e,this.context=t,this.hash=e.strict?e.hash(t):0}}class s{constructor(e){this.start=e,this.state=e.state,this.stack=e.stack,this.base=this.stack.length}reduce(e){let t=65535&e,n=e>>19;0==n?(this.stack==this.start.stack&&(this.stack=this.stack.slice()),this.stack.push(this.state,0,0),this.base+=3):this.base-=3*(n-1);let r=this.start.p.parser.getGoto(this.stack[this.base-3],t,!0);this.state=r}}class a{constructor(e,t,n){this.stack=e,this.pos=t,this.index=n,this.buffer=e.buffer,0==this.index&&this.maybeNext()}static create(e,t=e.bufferBase+e.buffer.length){return new a(e,t,t-e.bufferBase)}maybeNext(){let e=this.stack.parent;null!=e&&(this.index=this.stack.bufferBase-e.bufferBase,this.stack=e,this.buffer=e.buffer)}get id(){return this.buffer[this.index-4]}get start(){return this.buffer[this.index-3]}get end(){return this.buffer[this.index-2]}get size(){return this.buffer[this.index-1]}next(){this.index-=4,this.pos-=4,0==this.index&&this.maybeNext()}fork(){return new a(this.stack,this.pos,this.index)}}function u(e,t=Uint16Array){if("string"!=typeof e)return e;let n=null;for(let r=0,o=0;r<e.length;){let i=0;for(;;){let t=e.charCodeAt(r++),n=!1;if(126==t){i=65535;break}t>=92&&t--,t>=34&&t--;let o=t-32;if(o>=46&&(o-=46,n=!0),i+=o,n)break;i*=46}n?n[o++]=i:n=new t(i)}return n}class c{constructor(){this.start=-1,this.value=-1,this.end=-1,this.extended=-1,this.lookAhead=0,this.mask=0,this.context=0}}const l=new c;class f{constructor(e,t){this.input=e,this.ranges=t,this.chunk="",this.chunkOff=0,this.chunk2="",this.chunk2Pos=0,this.next=-1,this.token=l,this.rangeIndex=0,this.pos=this.chunkPos=t[0].from,this.range=t[0],this.end=t[t.length-1].to,this.readNext()}resolveOffset(e,t){let n=this.range,r=this.rangeIndex,o=this.pos+e;for(;o<n.from;){if(!r)return null;let e=this.ranges[--r];o-=n.from-e.to,n=e}for(;t<0?o>n.to:o>=n.to;){if(r==this.ranges.length-1)return null;let e=this.ranges[++r];o+=e.from-n.to,n=e}return o}clipPos(e){if(e>=this.range.from&&e<this.range.to)return e;for(let t of this.ranges)if(t.to>e)return Math.max(e,t.from);return this.end}peek(e){let t,n,r=this.chunkOff+e;if(r>=0&&r<this.chunk.length)t=this.pos+e,n=this.chunk.charCodeAt(r);else{let r=this.resolveOffset(e,1);if(null==r)return-1;if(t=r,t>=this.chunk2Pos&&t<this.chunk2Pos+this.chunk2.length)n=this.chunk2.charCodeAt(t-this.chunk2Pos);else{let e=this.rangeIndex,r=this.range;for(;r.to<=t;)r=this.ranges[++e];this.chunk2=this.input.chunk(this.chunk2Pos=t),t+this.chunk2.length>r.to&&(this.chunk2=this.chunk2.slice(0,r.to-t)),n=this.chunk2.charCodeAt(0)}}return t>=this.token.lookAhead&&(this.token.lookAhead=t+1),n}acceptToken(e,t=0){let n=t?this.resolveOffset(t,-1):this.pos;if(null==n||n<this.token.start)throw new RangeError("Token end out of bounds");this.token.value=e,this.token.end=n}acceptTokenTo(e,t){this.token.value=e,this.token.end=t}getChunk(){if(this.pos>=this.chunk2Pos&&this.pos<this.chunk2Pos+this.chunk2.length){let{chunk:e,chunkPos:t}=this;this.chunk=this.chunk2,this.chunkPos=this.chunk2Pos,this.chunk2=e,this.chunk2Pos=t,this.chunkOff=this.pos-this.chunkPos}else{this.chunk2=this.chunk,this.chunk2Pos=this.chunkPos;let e=this.input.chunk(this.pos),t=this.pos+e.length;this.chunk=t>this.range.to?e.slice(0,this.range.to-this.pos):e,this.chunkPos=this.pos,this.chunkOff=0}}readNext(){return this.chunkOff>=this.chunk.length&&(this.getChunk(),this.chunkOff==this.chunk.length)?this.next=-1:this.next=this.chunk.charCodeAt(this.chunkOff)}advance(e=1){for(this.chunkOff+=e;this.pos+e>=this.range.to;){if(this.rangeIndex==this.ranges.length-1)return this.setDone();e-=this.range.to-this.pos,this.range=this.ranges[++this.rangeIndex],this.pos=this.range.from}return this.pos+=e,this.pos>=this.token.lookAhead&&(this.token.lookAhead=this.pos+1),this.readNext()}setDone(){return this.pos=this.chunkPos=this.end,this.range=this.ranges[this.rangeIndex=this.ranges.length-1],this.chunk="",this.next=-1}reset(e,t){if(t?(this.token=t,t.start=e,t.lookAhead=e+1,t.value=t.extended=-1):this.token=l,this.pos!=e){if(this.pos=e,e==this.end)return this.setDone(),this;for(;e<this.range.from;)this.range=this.ranges[--this.rangeIndex];for(;e>=this.range.to;)this.range=this.ranges[++this.rangeIndex];e>=this.chunkPos&&e<this.chunkPos+this.chunk.length?this.chunkOff=e-this.chunkPos:(this.chunk="",this.chunkOff=0),this.readNext()}return this}read(e,t){if(e>=this.chunkPos&&t<=this.chunkPos+this.chunk.length)return this.chunk.slice(e-this.chunkPos,t-this.chunkPos);if(e>=this.chunk2Pos&&t<=this.chunk2Pos+this.chunk2.length)return this.chunk2.slice(e-this.chunk2Pos,t-this.chunk2Pos);if(e>=this.range.from&&t<=this.range.to)return this.input.read(e,t);let n="";for(let r of this.ranges){if(r.from>=t)break;r.to>e&&(n+=this.input.read(Math.max(r.from,e),Math.min(r.to,t)))}return n}}class d{constructor(e,t){this.data=e,this.id=t}token(e,t){let{parser:n}=t.p;p(this.data,e,t,this.id,n.data,n.tokenPrecTable)}}d.prototype.contextual=d.prototype.fallback=d.prototype.extend=!1;class h{constructor(e,t,n){this.precTable=t,this.elseToken=n,this.data="string"==typeof e?u(e):e}token(e,t){let n=e.pos,r=0;for(;;){let n=e.next<0,o=e.resolveOffset(1,1);if(p(this.data,e,t,0,this.data,this.precTable),e.token.value>-1)break;if(null==this.elseToken)return;if(n||r++,null==o)break;e.reset(o,e.token)}r&&(e.reset(n,e.token),e.acceptToken(this.elseToken,r))}}h.prototype.contextual=d.prototype.fallback=d.prototype.extend=!1;function p(e,t,n,r,o,i){let s=0,a=1<<r,{dialect:u}=n.p.parser;e:for(;0!=(a&e[s]);){let n=e[s+1];for(let f=s+3;f<n;f+=2)if((e[f+1]&a)>0){let n=e[f];if(u.allows(n)&&(-1==t.token.value||t.token.value==n||g(n,t.token.value,o,i))){t.acceptToken(n);break}}let r=t.next,c=0,l=e[s+2];if(!(t.next<0&&l>c&&65535==e[n+3*l-3])){for(;c<l;){let o=c+l>>1,i=n+o+(o<<1),a=e[i],u=e[i+1]||65536;if(r<a)l=o;else{if(!(r>=u)){s=e[i+2],t.advance();continue e}c=o+1}}break}s=e[n+3*l-1]}}function m(e,t,n){for(let r,o=t;65535!=(r=e[o]);o++)if(r==n)return o-t;return-1}function g(e,t,n,r){let o=m(n,r,t);return o<0||m(n,r,e)<o}const y="undefined"!=typeof process&&process.env&&/\bparse\b/.test(process.env.LOG);let v=null;function b(e,t,n){let o=e.cursor(r.IterMode.IncludeAnonymous);for(o.moveTo(t);;)if(!(n<0?o.childBefore(t):o.childAfter(t)))for(;;){if((n<0?o.to<t:o.from>t)&&!o.type.isError)return n<0?Math.max(0,Math.min(o.to-1,t-25)):Math.min(e.length,Math.max(o.from+1,t+25));if(n<0?o.prevSibling():o.nextSibling())break;if(!o.parent())return n<0?0:e.length}}class _{constructor(e,t){this.fragments=e,this.nodeSet=t,this.i=0,this.fragment=null,this.safeFrom=-1,this.safeTo=-1,this.trees=[],this.start=[],this.index=[],this.nextFragment()}nextFragment(){let e=this.fragment=this.i==this.fragments.length?null:this.fragments[this.i++];if(e){for(this.safeFrom=e.openStart?b(e.tree,e.from+e.offset,1)-e.offset:e.from,this.safeTo=e.openEnd?b(e.tree,e.to+e.offset,-1)-e.offset:e.to;this.trees.length;)this.trees.pop(),this.start.pop(),this.index.pop();this.trees.push(e.tree),this.start.push(-e.offset),this.index.push(0),this.nextStart=this.safeFrom}else this.nextStart=1e9}nodeAt(e){if(e<this.nextStart)return null;for(;this.fragment&&this.safeTo<=e;)this.nextFragment();if(!this.fragment)return null;for(;;){let t=this.trees.length-1;if(t<0)return this.nextFragment(),null;let n=this.trees[t],o=this.index[t];if(o==n.children.length){this.trees.pop(),this.start.pop(),this.index.pop();continue}let i=n.children[o],s=this.start[t]+n.positions[o];if(s>e)return this.nextStart=s,null;if(i instanceof r.Tree){if(s==e){if(s<this.safeFrom)return null;let e=s+i.length;if(e<=this.safeTo){let t=i.prop(r.NodeProp.lookAhead);if(!t||e+t<this.fragment.to)return i}}this.index[t]++,s+i.length>=Math.max(this.safeFrom,e)&&(this.trees.push(i),this.start.push(s),this.index.push(0))}else this.index[t]++,this.nextStart=s+i.length}}}class w{constructor(e,t){this.stream=t,this.tokens=[],this.mainToken=null,this.actions=[],this.tokens=e.tokenizers.map((e=>new c))}getActions(e){let t=0,n=null,{parser:r}=e.p,{tokenizers:o}=r,i=r.stateSlot(e.state,3),s=e.curContext?e.curContext.hash:0,a=0;for(let u=0;u<o.length;u++){if(0==(1<<u&i))continue;let r=o[u],c=this.tokens[u];if((!n||r.fallback)&&((r.contextual||c.start!=e.pos||c.mask!=i||c.context!=s)&&(this.updateCachedToken(c,r,e),c.mask=i,c.context=s),c.lookAhead>c.end+25&&(a=Math.max(c.lookAhead,a)),0!=c.value)){let o=t;if(c.extended>-1&&(t=this.addActions(e,c.extended,c.end,t)),t=this.addActions(e,c.value,c.end,t),!r.extend&&(n=c,t>o))break}}for(;this.actions.length>t;)this.actions.pop();return a&&e.setLookAhead(a),n||e.pos!=this.stream.end||(n=new c,n.value=e.p.parser.eofTerm,n.start=n.end=e.pos,t=this.addActions(e,n.value,n.end,t)),this.mainToken=n,this.actions}getMainToken(e){if(this.mainToken)return this.mainToken;let t=new c,{pos:n,p:r}=e;return t.start=n,t.end=Math.min(n+1,r.stream.end),t.value=n==r.stream.end?r.parser.eofTerm:0,t}updateCachedToken(e,t,n){let r=this.stream.clipPos(n.pos);if(t.token(this.stream.reset(r,e),n),e.value>-1){let{parser:t}=n.p;for(let r=0;r<t.specialized.length;r++)if(t.specialized[r]==e.value){let o=t.specializers[r](this.stream.read(e.start,e.end),n);if(o>=0&&n.p.parser.dialect.allows(o>>1)){0==(1&o)?e.value=o>>1:e.extended=o>>1;break}}}else e.value=0,e.end=this.stream.clipPos(r+1)}putAction(e,t,n,r){for(let o=0;o<r;o+=3)if(this.actions[o]==e)return r;return this.actions[r++]=e,this.actions[r++]=t,this.actions[r++]=n,r}addActions(e,t,n,r){let{state:o}=e,{parser:i}=e.p,{data:s}=i;for(let a=0;a<2;a++)for(let e=i.stateSlot(o,a?2:1);;e+=3){if(65535==s[e]){if(1!=s[e+1]){0==r&&2==s[e+1]&&(r=this.putAction(C(s,e+2),t,n,r));break}e=C(s,e+2)}s[e]==t&&(r=this.putAction(C(s,e+1),t,n,r))}return r}}class E{constructor(e,t,n,r){this.parser=e,this.input=t,this.ranges=r,this.recovering=0,this.nextStackID=9812,this.minStackPos=0,this.reused=[],this.stoppedAt=null,this.lastBigReductionStart=-1,this.lastBigReductionSize=0,this.bigReductionCount=0,this.stream=new f(t,r),this.tokens=new w(e,this.stream),this.topTerm=e.top[1];let{from:i}=r[0];this.stacks=[o.start(this,e.top[0],i)],this.fragments=n.length&&this.stream.end-i>4*e.bufferLength?new _(n,e.nodeSet):null}get parsedPos(){return this.minStackPos}advance(){let e,t,n=this.stacks,r=this.minStackPos,o=this.stacks=[];if(this.bigReductionCount>300&&1==n.length){let[e]=n;for(;e.forceReduce()&&e.stack.length&&e.stack[e.stack.length-2]>=this.lastBigReductionStart;);this.bigReductionCount=this.lastBigReductionSize=0}for(let i=0;i<n.length;i++){let s=n[i];for(;;){if(this.tokens.mainToken=null,s.pos>r)o.push(s);else{if(this.advanceStack(s,o,n))continue;{e||(e=[],t=[]),e.push(s);let n=this.tokens.getMainToken(s);t.push(n.value,n.end)}}break}}if(!o.length){let t=e&&function(e){let t=null;for(let n of e){let e=n.p.stoppedAt;(n.pos==n.p.stream.end||null!=e&&n.pos>e)&&n.p.parser.stateFlag(n.state,2)&&(!t||t.score<n.score)&&(t=n)}return t}(e);if(t)return y&&console.log("Finish with "+this.stackID(t)),this.stackToTree(t);if(this.parser.strict)throw y&&e&&console.log("Stuck with token "+(this.tokens.mainToken?this.parser.getName(this.tokens.mainToken.value):"none")),new SyntaxError("No parse at "+r);this.recovering||(this.recovering=5)}if(this.recovering&&e){let n=null!=this.stoppedAt&&e[0].pos>this.stoppedAt?e[0]:this.runRecovery(e,t,o);if(n)return y&&console.log("Force-finish "+this.stackID(n)),this.stackToTree(n.forceAll())}if(this.recovering){let e=1==this.recovering?1:3*this.recovering;if(o.length>e)for(o.sort(((e,t)=>t.score-e.score));o.length>e;)o.pop();o.some((e=>e.reducePos>r))&&this.recovering--}else if(o.length>1){e:for(let e=0;e<o.length-1;e++){let t=o[e];for(let n=e+1;n<o.length;n++){let r=o[n];if(t.sameState(r)||t.buffer.length>500&&r.buffer.length>500){if(!((t.score-r.score||t.buffer.length-r.buffer.length)>0)){o.splice(e--,1);continue e}o.splice(n--,1)}}}o.length>12&&o.splice(12,o.length-12)}this.minStackPos=o[0].pos;for(let i=1;i<o.length;i++)o[i].pos<this.minStackPos&&(this.minStackPos=o[i].pos);return null}stopAt(e){if(null!=this.stoppedAt&&this.stoppedAt<e)throw new RangeError("Can't move stoppedAt forward");this.stoppedAt=e}advanceStack(e,t,n){let o=e.pos,{parser:i}=this,s=y?this.stackID(e)+" -> ":"";if(null!=this.stoppedAt&&o>this.stoppedAt)return e.forceReduce()?e:null;if(this.fragments){let t=e.curContext&&e.curContext.tracker.strict,n=t?e.curContext.hash:0;for(let a=this.fragments.nodeAt(o);a;){let o=this.parser.nodeSet.types[a.type.id]==a.type?i.getGoto(e.state,a.type.id):-1;if(o>-1&&a.length&&(!t||(a.prop(r.NodeProp.contextHash)||0)==n))return e.useNode(a,o),y&&console.log(s+this.stackID(e)+` (via reuse of ${i.getName(a.type.id)})`),!0;if(!(a instanceof r.Tree)||0==a.children.length||a.positions[0]>0)break;let u=a.children[0];if(!(u instanceof r.Tree&&0==a.positions[0]))break;a=u}}let a=i.stateSlot(e.state,4);if(a>0)return e.reduce(a),y&&console.log(s+this.stackID(e)+` (via always-reduce ${i.getName(65535&a)})`),!0;if(e.stack.length>=8400)for(;e.stack.length>6e3&&e.forceReduce(););let u=this.tokens.getActions(e);for(let r=0;r<u.length;){let a=u[r++],c=u[r++],l=u[r++],f=r==u.length||!n,d=f?e:e.split(),h=this.tokens.mainToken;if(d.apply(a,c,h?h.start:d.pos,l),y&&console.log(s+this.stackID(d)+` (via ${0==(65536&a)?"shift":`reduce of ${i.getName(65535&a)}`} for ${i.getName(c)} @ ${o}${d==e?"":", split"})`),f)return!0;d.pos>o?t.push(d):n.push(d)}return!1}advanceFully(e,t){let n=e.pos;for(;;){if(!this.advanceStack(e,null,null))return!1;if(e.pos>n)return k(e,t),!0}}runRecovery(e,t,n){let r=null,o=!1;for(let i=0;i<e.length;i++){let s=e[i],a=t[i<<1],u=t[1+(i<<1)],c=y?this.stackID(s)+" -> ":"";if(s.deadEnd){if(o)continue;if(o=!0,s.restart(),y&&console.log(c+this.stackID(s)+" (restarted)"),this.advanceFully(s,n))continue}let l=s.split(),f=c;for(let e=0;l.forceReduce()&&e<10;e++){if(y&&console.log(f+this.stackID(l)+" (via force-reduce)"),this.advanceFully(l,n))break;y&&(f=this.stackID(l)+" -> ")}for(let e of s.recoverByInsert(a))y&&console.log(c+this.stackID(e)+" (via recover-insert)"),this.advanceFully(e,n);this.stream.end>s.pos?(u==s.pos&&(u++,a=0),s.recoverByDelete(a,u),y&&console.log(c+this.stackID(s)+` (via recover-delete ${this.parser.getName(a)})`),k(s,n)):(!r||r.score<s.score)&&(r=s)}return r}stackToTree(e){return e.close(),r.Tree.build({buffer:a.create(e),nodeSet:this.parser.nodeSet,topID:this.topTerm,maxBufferLength:this.parser.bufferLength,reused:this.reused,start:this.ranges[0].from,length:e.pos-this.ranges[0].from,minRepeatType:this.parser.minRepeatTerm})}stackID(e){let t=(v||(v=new WeakMap)).get(e);return t||v.set(e,t=String.fromCodePoint(this.nextStackID++)),t+e}}function k(e,t){for(let n=0;n<t.length;n++){let r=t[n];if(r.pos==e.pos&&r.sameState(e))return void(t[n].score<e.score&&(t[n]=e))}t.push(e)}class x{constructor(e,t,n){this.source=e,this.flags=t,this.disabled=n}allows(e){return!this.disabled||0==this.disabled[e]}}const D=e=>e;class S extends r.Parser{constructor(e){if(super(),this.wrappers=[],14!=e.version)throw new RangeError(`Parser version (${e.version}) doesn't match runtime version (14)`);let t=e.nodeNames.split(" ");this.minRepeatTerm=t.length;for(let r=0;r<e.repeatNodeCount;r++)t.push("");let n=Object.keys(e.topRules).map((t=>e.topRules[t][1])),o=[];for(let r=0;r<t.length;r++)o.push([]);function i(e,t,n){o[e].push([t,t.deserialize(String(n))])}if(e.nodeProps)for(let a of e.nodeProps){let e=a[0];"string"==typeof e&&(e=r.NodeProp[e]);for(let t=1;t<a.length;){let n=a[t++];if(n>=0)i(n,e,a[t++]);else{let r=a[t+-n];for(let o=-n;o>0;o--)i(a[t++],e,r);t++}}}this.nodeSet=new r.NodeSet(t.map(((t,i)=>r.NodeType.define({name:i>=this.minRepeatTerm?void 0:t,id:i,props:o[i],top:n.indexOf(i)>-1,error:0==i,skipped:e.skippedNodes&&e.skippedNodes.indexOf(i)>-1})))),e.propSources&&(this.nodeSet=this.nodeSet.extend(...e.propSources)),this.strict=!1,this.bufferLength=r.DefaultBufferLength;let s=u(e.tokenData);this.context=e.context,this.specializerSpecs=e.specialized||[],this.specialized=new Uint16Array(this.specializerSpecs.length);for(let r=0;r<this.specializerSpecs.length;r++)this.specialized[r]=this.specializerSpecs[r].term;this.specializers=this.specializerSpecs.map(O),this.states=u(e.states,Uint32Array),this.data=u(e.stateData),this.goto=u(e.goto),this.maxTerm=e.maxTerm,this.tokenizers=e.tokenizers.map((e=>"number"==typeof e?new d(s,e):e)),this.topRules=e.topRules,this.dialects=e.dialects||{},this.dynamicPrecedences=e.dynamicPrecedences||null,this.tokenPrecTable=e.tokenPrec,this.termNames=e.termNames||null,this.maxNode=this.nodeSet.types.length-1,this.dialect=this.parseDialect(),this.top=this.topRules[Object.keys(this.topRules)[0]]}createParse(e,t,n){let r=new E(this,e,t,n);for(let o of this.wrappers)r=o(r,e,t,n);return r}getGoto(e,t,n=!1){let r=this.goto;if(t>=r[0])return-1;for(let o=r[t+1];;){let t=r[o++],i=1&t,s=r[o++];if(i&&n)return s;for(let n=o+(t>>1);o<n;o++)if(r[o]==e)return s;if(i)return-1}}hasAction(e,t){let n=this.data;for(let r=0;r<2;r++)for(let o,i=this.stateSlot(e,r?2:1);;i+=3){if(65535==(o=n[i])){if(1!=n[i+1]){if(2==n[i+1])return C(n,i+2);break}o=n[i=C(n,i+2)]}if(o==t||0==o)return C(n,i+1)}return 0}stateSlot(e,t){return this.states[6*e+t]}stateFlag(e,t){return(this.stateSlot(e,0)&t)>0}validAction(e,t){return!!this.allActions(e,(e=>e==t||null))}allActions(e,t){let n=this.stateSlot(e,4),r=n?t(n):void 0;for(let o=this.stateSlot(e,1);null==r;o+=3){if(65535==this.data[o]){if(1!=this.data[o+1])break;o=C(this.data,o+2)}r=t(C(this.data,o+1))}return r}nextStates(e){let t=[];for(let n=this.stateSlot(e,1);;n+=3){if(65535==this.data[n]){if(1!=this.data[n+1])break;n=C(this.data,n+2)}if(0==(1&this.data[n+2])){let e=this.data[n+1];t.some(((t,n)=>1&n&&t==e))||t.push(this.data[n],e)}}return t}configure(e){let t=Object.assign(Object.create(S.prototype),this);if(e.props&&(t.nodeSet=this.nodeSet.extend(...e.props)),e.top){let n=this.topRules[e.top];if(!n)throw new RangeError(`Invalid top rule name ${e.top}`);t.top=n}return e.tokenizers&&(t.tokenizers=this.tokenizers.map((t=>{let n=e.tokenizers.find((e=>e.from==t));return n?n.to:t}))),e.specializers&&(t.specializers=this.specializers.slice(),t.specializerSpecs=this.specializerSpecs.map(((n,r)=>{let o=e.specializers.find((e=>e.from==n.external));if(!o)return n;let i=Object.assign(Object.assign({},n),{external:o.to});return t.specializers[r]=O(i),i}))),e.contextTracker&&(t.context=e.contextTracker),e.dialect&&(t.dialect=this.parseDialect(e.dialect)),null!=e.strict&&(t.strict=e.strict),e.wrap&&(t.wrappers=t.wrappers.concat(e.wrap)),null!=e.bufferLength&&(t.bufferLength=e.bufferLength),t}hasWrappers(){return this.wrappers.length>0}getName(e){return this.termNames?this.termNames[e]:String(e<=this.maxNode&&this.nodeSet.types[e].name||e)}get eofTerm(){return this.maxNode+1}get topNode(){return this.nodeSet.types[this.top[1]]}dynamicPrecedence(e){let t=this.dynamicPrecedences;return null==t?0:t[e]||0}parseDialect(e){let t=Object.keys(this.dialects),n=t.map((()=>!1));if(e)for(let o of e.split(" ")){let e=t.indexOf(o);e>=0&&(n[e]=!0)}let r=null;for(let o=0;o<t.length;o++)if(!n[o])for(let e,n=this.dialects[t[o]];65535!=(e=this.data[n++]);)(r||(r=new Uint8Array(this.maxTerm+1)))[e]=1;return new x(e,n,r)}static deserialize(e){return new S(e)}}function C(e,t){return e[t]|e[t+1]<<16}function O(e){if(e.external){let t=e.extend?1:0;return(n,r)=>e.external(n,r)<<1|t}return e.get}t.ContextTracker=class{constructor(e){this.start=e.start,this.shift=e.shift||D,this.reduce=e.reduce||D,this.reuse=e.reuse||D,this.hash=e.hash||(()=>0),this.strict=!1!==e.strict}},t.ExternalTokenizer=class{constructor(e,t={}){this.token=e,this.contextual=!!t.contextual,this.fallback=!!t.fallback,this.extend=!!t.extend}},t.InputStream=f,t.LRParser=S,t.LocalTokenGroup=h,t.Stack=o},45392:(e,t,n)=>{"use strict";n.d(t,{Z:()=>a,a:()=>s});var r=n(2784);const o={},i=r.createContext(o);function s(e){const t=r.useContext(i);return r.useMemo((function(){return"function"==typeof e?e(t):{...t,...e}}),[t,e])}function a(e){let t;return t=e.disableParentContext?"function"==typeof e.components?e.components(o):e.components||o:s(e.components),r.createElement(i.Provider,{value:t},e.children)}},22970:(e,t,n)=>{"use strict";n.r(t),n.d(t,{__addDisposableResource:()=>I,__assign:()=>i,__asyncDelegator:()=>D,__asyncGenerator:()=>x,__asyncValues:()=>S,__await:()=>k,__awaiter:()=>p,__classPrivateFieldGet:()=>P,__classPrivateFieldIn:()=>F,__classPrivateFieldSet:()=>j,__createBinding:()=>g,__decorate:()=>a,__disposeResources:()=>T,__esDecorate:()=>c,__exportStar:()=>y,__extends:()=>o,__generator:()=>m,__importDefault:()=>A,__importStar:()=>$,__makeTemplateObject:()=>C,__metadata:()=>h,__param:()=>u,__propKey:()=>f,__read:()=>b,__rest:()=>s,__runInitializers:()=>l,__setFunctionName:()=>d,__spread:()=>_,__spreadArray:()=>E,__spreadArrays:()=>w,__values:()=>v,default:()=>M});var r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},r(e,t)};function o(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var i=function(){return i=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},i.apply(this,arguments)};function s(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n}function a(e,t,n,r){var o,i=arguments.length,s=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,n,r);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(i<3?o(s):i>3?o(t,n,s):o(t,n))||s);return i>3&&s&&Object.defineProperty(t,n,s),s}function u(e,t){return function(n,r){t(n,r,e)}}function c(e,t,n,r,o,i){function s(e){if(void 0!==e&&"function"!=typeof e)throw new TypeError("Function expected");return e}for(var a,u=r.kind,c="getter"===u?"get":"setter"===u?"set":"value",l=!t&&e?r.static?e:e.prototype:null,f=t||(l?Object.getOwnPropertyDescriptor(l,r.name):{}),d=!1,h=n.length-1;h>=0;h--){var p={};for(var m in r)p[m]="access"===m?{}:r[m];for(var m in r.access)p.access[m]=r.access[m];p.addInitializer=function(e){if(d)throw new TypeError("Cannot add initializers after decoration has completed");i.push(s(e||null))};var g=(0,n[h])("accessor"===u?{get:f.get,set:f.set}:f[c],p);if("accessor"===u){if(void 0===g)continue;if(null===g||"object"!=typeof g)throw new TypeError("Object expected");(a=s(g.get))&&(f.get=a),(a=s(g.set))&&(f.set=a),(a=s(g.init))&&o.unshift(a)}else(a=s(g))&&("field"===u?o.unshift(a):f[c]=a)}l&&Object.defineProperty(l,r.name,f),d=!0}function l(e,t,n){for(var r=arguments.length>2,o=0;o<t.length;o++)n=r?t[o].call(e,n):t[o].call(e);return r?n:void 0}function f(e){return"symbol"==typeof e?e:"".concat(e)}function d(e,t,n){return"symbol"==typeof t&&(t=t.description?"[".concat(t.description,"]"):""),Object.defineProperty(e,"name",{configurable:!0,value:n?"".concat(n," ",t):t})}function h(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)}function p(e,t,n,r){return new(n||(n=Promise))((function(o,i){function s(e){try{u(r.next(e))}catch(t){i(t)}}function a(e){try{u(r.throw(e))}catch(t){i(t)}}function u(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(s,a)}u((r=r.apply(e,t||[])).next())}))}function m(e,t){var n,r,o,i,s={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:a(0),throw:a(1),return:a(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function a(a){return function(u){return function(a){if(n)throw new TypeError("Generator is already executing.");for(;i&&(i=0,a[0]&&(s=0)),s;)try{if(n=1,r&&(o=2&a[0]?r.return:a[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,a[1])).done)return o;switch(r=0,o&&(a=[2&a[0],o.value]),a[0]){case 0:case 1:o=a;break;case 4:return s.label++,{value:a[1],done:!1};case 5:s.label++,r=a[1],a=[0];continue;case 7:a=s.ops.pop(),s.trys.pop();continue;default:if(!(o=s.trys,(o=o.length>0&&o[o.length-1])||6!==a[0]&&2!==a[0])){s=0;continue}if(3===a[0]&&(!o||a[1]>o[0]&&a[1]<o[3])){s.label=a[1];break}if(6===a[0]&&s.label<o[1]){s.label=o[1],o=a;break}if(o&&s.label<o[2]){s.label=o[2],s.ops.push(a);break}o[2]&&s.ops.pop(),s.trys.pop();continue}a=t.call(e,s)}catch(u){a=[6,u],r=0}finally{n=o=0}if(5&a[0])throw a[1];return{value:a[0]?a[1]:void 0,done:!0}}([a,u])}}}var g=Object.create?function(e,t,n,r){void 0===r&&(r=n);var o=Object.getOwnPropertyDescriptor(t,n);o&&!("get"in o?!t.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,o)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]};function y(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||g(t,e,n)}function v(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function b(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,o,i=n.call(e),s=[];try{for(;(void 0===t||t-- >0)&&!(r=i.next()).done;)s.push(r.value)}catch(a){o={error:a}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(o)throw o.error}}return s}function _(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(b(arguments[t]));return e}function w(){for(var e=0,t=0,n=arguments.length;t<n;t++)e+=arguments[t].length;var r=Array(e),o=0;for(t=0;t<n;t++)for(var i=arguments[t],s=0,a=i.length;s<a;s++,o++)r[o]=i[s];return r}function E(e,t,n){if(n||2===arguments.length)for(var r,o=0,i=t.length;o<i;o++)!r&&o in t||(r||(r=Array.prototype.slice.call(t,0,o)),r[o]=t[o]);return e.concat(r||Array.prototype.slice.call(t))}function k(e){return this instanceof k?(this.v=e,this):new k(e)}function x(e,t,n){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var r,o=n.apply(e,t||[]),i=[];return r={},s("next"),s("throw"),s("return"),r[Symbol.asyncIterator]=function(){return this},r;function s(e){o[e]&&(r[e]=function(t){return new Promise((function(n,r){i.push([e,t,n,r])>1||a(e,t)}))})}function a(e,t){try{(n=o[e](t)).value instanceof k?Promise.resolve(n.value.v).then(u,c):l(i[0][2],n)}catch(r){l(i[0][3],r)}var n}function u(e){a("next",e)}function c(e){a("throw",e)}function l(e,t){e(t),i.shift(),i.length&&a(i[0][0],i[0][1])}}function D(e){var t,n;return t={},r("next"),r("throw",(function(e){throw e})),r("return"),t[Symbol.iterator]=function(){return this},t;function r(r,o){t[r]=e[r]?function(t){return(n=!n)?{value:k(e[r](t)),done:!1}:o?o(t):t}:o}}function S(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t,n=e[Symbol.asyncIterator];return n?n.call(e):(e=v(e),t={},r("next"),r("throw"),r("return"),t[Symbol.asyncIterator]=function(){return this},t);function r(n){t[n]=e[n]&&function(t){return new Promise((function(r,o){(function(e,t,n,r){Promise.resolve(r).then((function(t){e({value:t,done:n})}),t)})(r,o,(t=e[n](t)).done,t.value)}))}}}function C(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e}var O=Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t};function $(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&g(t,e,n);return O(t,e),t}function A(e){return e&&e.__esModule?e:{default:e}}function P(e,t,n,r){if("a"===n&&!r)throw new TypeError("Private accessor was defined without a getter");if("function"==typeof t?e!==t||!r:!t.has(e))throw new TypeError("Cannot read private member from an object whose class did not declare it");return"m"===n?r:"a"===n?r.call(e):r?r.value:t.get(e)}function j(e,t,n,r,o){if("m"===r)throw new TypeError("Private method is not writable");if("a"===r&&!o)throw new TypeError("Private accessor was defined without a setter");if("function"==typeof t?e!==t||!o:!t.has(e))throw new TypeError("Cannot write private member to an object whose class did not declare it");return"a"===r?o.call(e,n):o?o.value=n:t.set(e,n),n}function F(e,t){if(null===t||"object"!=typeof t&&"function"!=typeof t)throw new TypeError("Cannot use 'in' operator on non-object");return"function"==typeof e?t===e:e.has(t)}function I(e,t,n){if(null!=t){if("object"!=typeof t&&"function"!=typeof t)throw new TypeError("Object expected.");var r;if(n){if(!Symbol.asyncDispose)throw new TypeError("Symbol.asyncDispose is not defined.");r=t[Symbol.asyncDispose]}if(void 0===r){if(!Symbol.dispose)throw new TypeError("Symbol.dispose is not defined.");r=t[Symbol.dispose]}if("function"!=typeof r)throw new TypeError("Object not disposable.");e.stack.push({value:t,dispose:r,async:n})}else n&&e.stack.push({async:!0});return t}var N="function"==typeof SuppressedError?SuppressedError:function(e,t,n){var r=new Error(n);return r.name="SuppressedError",r.error=e,r.suppressed=t,r};function T(e){function t(t){e.error=e.hasError?new N(t,e.error,"An error was suppressed during disposal."):t,e.hasError=!0}return function n(){for(;e.stack.length;){var r=e.stack.pop();try{var o=r.dispose&&r.dispose.call(r.value);if(r.async)return Promise.resolve(o).then(n,(function(e){return t(e),n()}))}catch(i){t(i)}}if(e.hasError)throw e.error}()}const M={__extends:o,__assign:i,__rest:s,__decorate:a,__param:u,__metadata:h,__awaiter:p,__generator:m,__createBinding:g,__exportStar:y,__values:v,__read:b,__spread:_,__spreadArrays:w,__spreadArray:E,__await:k,__asyncGenerator:x,__asyncDelegator:D,__asyncValues:S,__makeTemplateObject:C,__importStar:$,__importDefault:A,__classPrivateFieldGet:P,__classPrivateFieldSet:j,__classPrivateFieldIn:F,__addDisposableResource:I,__disposeResources:T}},45984:(e,t,n)=>{"use strict";n.r(t),n.d(t,{Alias:()=>B,CST:()=>r,Composer:()=>Zt,Document:()=>xt,Lexer:()=>Cn,LineCounter:()=>On,Pair:()=>ye,Parser:()=>Nn,Scalar:()=>U,Schema:()=>kt,YAMLError:()=>St,YAMLMap:()=>ke,YAMLParseError:()=>Ct,YAMLSeq:()=>De,YAMLWarning:()=>Ot,default:()=>zn,isAlias:()=>d,isCollection:()=>v,isDocument:()=>h,isMap:()=>p,isNode:()=>b,isPair:()=>m,isScalar:()=>g,isSeq:()=>y,parse:()=>Bn,parseAllDocuments:()=>Mn,parseDocument:()=>Rn,stringify:()=>Ln,visit:()=>x,visitAsync:()=>S});var r={};n.r(r),n.d(r,{BOM:()=>hn,DOCUMENT:()=>pn,FLOW_END:()=>mn,SCALAR:()=>gn,createScalarToken:()=>en,isCollection:()=>yn,isScalar:()=>vn,prettyToken:()=>bn,resolveAsScalar:()=>Yt,setScalarValue:()=>tn,stringify:()=>on,tokenType:()=>_n,visit:()=>fn});var o={};n.r(o),n.d(o,{Alias:()=>B,CST:()=>r,Composer:()=>Zt,Document:()=>xt,Lexer:()=>Cn,LineCounter:()=>On,Pair:()=>ye,Parser:()=>Nn,Scalar:()=>U,Schema:()=>kt,YAMLError:()=>St,YAMLMap:()=>ke,YAMLParseError:()=>Ct,YAMLSeq:()=>De,YAMLWarning:()=>Ot,isAlias:()=>d,isCollection:()=>v,isDocument:()=>h,isMap:()=>p,isNode:()=>b,isPair:()=>m,isScalar:()=>g,isSeq:()=>y,parse:()=>Bn,parseAllDocuments:()=>Mn,parseDocument:()=>Rn,stringify:()=>Ln,visit:()=>x,visitAsync:()=>S});const i=Symbol.for("yaml.alias"),s=Symbol.for("yaml.document"),a=Symbol.for("yaml.map"),u=Symbol.for("yaml.pair"),c=Symbol.for("yaml.scalar"),l=Symbol.for("yaml.seq"),f=Symbol.for("yaml.node.type"),d=e=>!!e&&"object"==typeof e&&e[f]===i,h=e=>!!e&&"object"==typeof e&&e[f]===s,p=e=>!!e&&"object"==typeof e&&e[f]===a,m=e=>!!e&&"object"==typeof e&&e[f]===u,g=e=>!!e&&"object"==typeof e&&e[f]===c,y=e=>!!e&&"object"==typeof e&&e[f]===l;function v(e){if(e&&"object"==typeof e)switch(e[f]){case a:case l:return!0}return!1}function b(e){if(e&&"object"==typeof e)switch(e[f]){case i:case a:case c:case l:return!0}return!1}const _=e=>(g(e)||v(e))&&!!e.anchor,w=Symbol("break visit"),E=Symbol("skip children"),k=Symbol("remove node");function x(e,t){const n=O(t);if(h(e)){D(null,e.contents,n,Object.freeze([e]))===k&&(e.contents=null)}else D(null,e,n,Object.freeze([]))}function D(e,t,n,r){const o=$(e,t,n,r);if(b(o)||m(o))return A(e,r,o),D(e,o,n,r);if("symbol"!=typeof o)if(v(t)){r=Object.freeze(r.concat(t));for(let e=0;e<t.items.length;++e){const o=D(e,t.items[e],n,r);if("number"==typeof o)e=o-1;else{if(o===w)return w;o===k&&(t.items.splice(e,1),e-=1)}}}else if(m(t)){r=Object.freeze(r.concat(t));const e=D("key",t.key,n,r);if(e===w)return w;e===k&&(t.key=null);const o=D("value",t.value,n,r);if(o===w)return w;o===k&&(t.value=null)}return o}async function S(e,t){const n=O(t);if(h(e)){await C(null,e.contents,n,Object.freeze([e]))===k&&(e.contents=null)}else await C(null,e,n,Object.freeze([]))}async function C(e,t,n,r){const o=await $(e,t,n,r);if(b(o)||m(o))return A(e,r,o),C(e,o,n,r);if("symbol"!=typeof o)if(v(t)){r=Object.freeze(r.concat(t));for(let e=0;e<t.items.length;++e){const o=await C(e,t.items[e],n,r);if("number"==typeof o)e=o-1;else{if(o===w)return w;o===k&&(t.items.splice(e,1),e-=1)}}}else if(m(t)){r=Object.freeze(r.concat(t));const e=await C("key",t.key,n,r);if(e===w)return w;e===k&&(t.key=null);const o=await C("value",t.value,n,r);if(o===w)return w;o===k&&(t.value=null)}return o}function O(e){return"object"==typeof e&&(e.Collection||e.Node||e.Value)?Object.assign({Alias:e.Node,Map:e.Node,Scalar:e.Node,Seq:e.Node},e.Value&&{Map:e.Value,Scalar:e.Value,Seq:e.Value},e.Collection&&{Map:e.Collection,Seq:e.Collection},e):e}function $(e,t,n,r){return"function"==typeof n?n(e,t,r):p(t)?n.Map?.(e,t,r):y(t)?n.Seq?.(e,t,r):m(t)?n.Pair?.(e,t,r):g(t)?n.Scalar?.(e,t,r):d(t)?n.Alias?.(e,t,r):void 0}function A(e,t,n){const r=t[t.length-1];if(v(r))r.items[e]=n;else if(m(r))"key"===e?r.key=n:r.value=n;else{if(!h(r)){const e=d(r)?"alias":"scalar";throw new Error(`Cannot replace node with ${e} parent`)}r.contents=n}}x.BREAK=w,x.SKIP=E,x.REMOVE=k,S.BREAK=w,S.SKIP=E,S.REMOVE=k;const P={"!":"%21",",":"%2C","[":"%5B","]":"%5D","{":"%7B","}":"%7D"};class j{constructor(e,t){this.docStart=null,this.docEnd=!1,this.yaml=Object.assign({},j.defaultYaml,e),this.tags=Object.assign({},j.defaultTags,t)}clone(){const e=new j(this.yaml,this.tags);return e.docStart=this.docStart,e}atDocument(){const e=new j(this.yaml,this.tags);switch(this.yaml.version){case"1.1":this.atNextDocument=!0;break;case"1.2":this.atNextDocument=!1,this.yaml={explicit:j.defaultYaml.explicit,version:"1.2"},this.tags=Object.assign({},j.defaultTags)}return e}add(e,t){this.atNextDocument&&(this.yaml={explicit:j.defaultYaml.explicit,version:"1.1"},this.tags=Object.assign({},j.defaultTags),this.atNextDocument=!1);const n=e.trim().split(/[ \t]+/),r=n.shift();switch(r){case"%TAG":{if(2!==n.length&&(t(0,"%TAG directive should contain exactly two parts"),n.length<2))return!1;const[e,r]=n;return this.tags[e]=r,!0}case"%YAML":{if(this.yaml.explicit=!0,1!==n.length)return t(0,"%YAML directive should contain exactly one part"),!1;const[e]=n;if("1.1"===e||"1.2"===e)return this.yaml.version=e,!0;return t(6,`Unsupported YAML version ${e}`,/^\d+\.\d+$/.test(e)),!1}default:return t(0,`Unknown directive ${r}`,!0),!1}}tagName(e,t){if("!"===e)return"!";if("!"!==e[0])return t(`Not a valid tag: ${e}`),null;if("<"===e[1]){const n=e.slice(2,-1);return"!"===n||"!!"===n?(t(`Verbatim tags aren't resolved, so ${e} is invalid.`),null):(">"!==e[e.length-1]&&t("Verbatim tags must end with a >"),n)}const[,n,r]=e.match(/^(.*!)([^!]*)$/s);r||t(`The ${e} tag has no suffix`);const o=this.tags[n];if(o)try{return o+decodeURIComponent(r)}catch(i){return t(String(i)),null}return"!"===n?e:(t(`Could not resolve tag: ${e}`),null)}tagString(e){for(const[t,n]of Object.entries(this.tags))if(e.startsWith(n))return t+e.substring(n.length).replace(/[!,[\]{}]/g,(e=>P[e]));return"!"===e[0]?e:`!<${e}>`}toString(e){const t=this.yaml.explicit?[`%YAML ${this.yaml.version||"1.2"}`]:[],n=Object.entries(this.tags);let r;if(e&&n.length>0&&b(e.contents)){const t={};x(e.contents,((e,n)=>{b(n)&&n.tag&&(t[n.tag]=!0)})),r=Object.keys(t)}else r=[];for(const[o,i]of n)"!!"===o&&"tag:yaml.org,2002:"===i||e&&!r.some((e=>e.startsWith(i)))||t.push(`%TAG ${o} ${i}`);return t.join("\n")}}function F(e){if(/[\x00-\x19\s,[\]{}]/.test(e)){const t=JSON.stringify(e);throw new Error(`Anchor must not contain whitespace or control characters: ${t}`)}return!0}function I(e){const t=new Set;return x(e,{Value(e,n){n.anchor&&t.add(n.anchor)}}),t}function N(e,t){for(let n=1;;++n){const r=`${e}${n}`;if(!t.has(r))return r}}function T(e,t,n,r){if(r&&"object"==typeof r)if(Array.isArray(r))for(let o=0,i=r.length;o<i;++o){const t=r[o],n=T(e,r,String(o),t);void 0===n?delete r[o]:n!==t&&(r[o]=n)}else if(r instanceof Map)for(const o of Array.from(r.keys())){const t=r.get(o),n=T(e,r,o,t);void 0===n?r.delete(o):n!==t&&r.set(o,n)}else if(r instanceof Set)for(const o of Array.from(r)){const t=T(e,r,o,o);void 0===t?r.delete(o):t!==o&&(r.delete(o),r.add(t))}else for(const[o,i]of Object.entries(r)){const t=T(e,r,o,i);void 0===t?delete r[o]:t!==i&&(r[o]=t)}return e.call(t,n,r)}function M(e,t,n){if(Array.isArray(e))return e.map(((e,t)=>M(e,String(t),n)));if(e&&"function"==typeof e.toJSON){if(!n||!_(e))return e.toJSON(t,n);const r={aliasCount:0,count:1,res:void 0};n.anchors.set(e,r),n.onCreate=e=>{r.res=e,delete n.onCreate};const o=e.toJSON(t,n);return n.onCreate&&n.onCreate(o),o}return"bigint"!=typeof e||n?.keep?e:Number(e)}j.defaultYaml={explicit:!1,version:"1.2"},j.defaultTags={"!!":"tag:yaml.org,2002:"};class R{constructor(e){Object.defineProperty(this,f,{value:e})}clone(){const e=Object.create(Object.getPrototypeOf(this),Object.getOwnPropertyDescriptors(this));return this.range&&(e.range=this.range.slice()),e}toJS(e,{mapAsMap:t,maxAliasCount:n,onAnchor:r,reviver:o}={}){if(!h(e))throw new TypeError("A document argument is required");const i={anchors:new Map,doc:e,keep:!0,mapAsMap:!0===t,mapKeyWarned:!1,maxAliasCount:"number"==typeof n?n:100},s=M(this,"",i);if("function"==typeof r)for(const{count:a,res:u}of i.anchors.values())r(u,a);return"function"==typeof o?T(o,{"":s},"",s):s}}class B extends R{constructor(e){super(i),this.source=e,Object.defineProperty(this,"tag",{set(){throw new Error("Alias nodes cannot have tags")}})}resolve(e){let t;return x(e,{Node:(e,n)=>{if(n===this)return x.BREAK;n.anchor===this.source&&(t=n)}}),t}toJSON(e,t){if(!t)return{source:this.source};const{anchors:n,doc:r,maxAliasCount:o}=t,i=this.resolve(r);if(!i){const e=`Unresolved alias (the anchor must be set before the alias): ${this.source}`;throw new ReferenceError(e)}let s=n.get(i);if(s||(M(i,null,t),s=n.get(i)),!s||void 0===s.res){throw new ReferenceError("This should not happen: Alias anchor was not resolved?")}if(o>=0&&(s.count+=1,0===s.aliasCount&&(s.aliasCount=L(r,i,n)),s.count*s.aliasCount>o)){throw new ReferenceError("Excessive alias count indicates a resource exhaustion attack")}return s.res}toString(e,t,n){const r=`*${this.source}`;if(e){if(F(this.source),e.options.verifyAliasOrder&&!e.anchors.has(this.source)){const e=`Unresolved alias (the anchor must be set before the alias): ${this.source}`;throw new Error(e)}if(e.implicitKey)return`${r} `}return r}}function L(e,t,n){if(d(t)){const r=t.resolve(e),o=n&&r&&n.get(r);return o?o.count*o.aliasCount:0}if(v(t)){let r=0;for(const o of t.items){const t=L(e,o,n);t>r&&(r=t)}return r}if(m(t)){const r=L(e,t.key,n),o=L(e,t.value,n);return Math.max(r,o)}return 1}const z=e=>!e||"function"!=typeof e&&"object"!=typeof e;class U extends R{constructor(e){super(c),this.value=e}toJSON(e,t){return t?.keep?this.value:M(this.value,e,t)}toString(){return String(this.value)}}U.BLOCK_FOLDED="BLOCK_FOLDED",U.BLOCK_LITERAL="BLOCK_LITERAL",U.PLAIN="PLAIN",U.QUOTE_DOUBLE="QUOTE_DOUBLE",U.QUOTE_SINGLE="QUOTE_SINGLE";const q="tag:yaml.org,2002:";function V(e,t,n){if(h(e)&&(e=e.contents),b(e))return e;if(m(e)){const t=n.schema[a].createNode?.(n.schema,null,n);return t.items.push(e),t}(e instanceof String||e instanceof Number||e instanceof Boolean||"undefined"!=typeof BigInt&&e instanceof BigInt)&&(e=e.valueOf());const{aliasDuplicateObjects:r,onAnchor:o,onTagObj:i,schema:s,sourceObjects:u}=n;let c;if(r&&e&&"object"==typeof e){if(c=u.get(e),c)return c.anchor||(c.anchor=o(e)),new B(c.anchor);c={anchor:null,node:null},u.set(e,c)}t?.startsWith("!!")&&(t=q+t.slice(2));let f=function(e,t,n){if(t){const e=n.filter((e=>e.tag===t)),r=e.find((e=>!e.format))??e[0];if(!r)throw new Error(`Tag ${t} not found`);return r}return n.find((t=>t.identify?.(e)&&!t.format))}(e,t,s.tags);if(!f){if(e&&"function"==typeof e.toJSON&&(e=e.toJSON()),!e||"object"!=typeof e){const t=new U(e);return c&&(c.node=t),t}f=e instanceof Map?s[a]:Symbol.iterator in Object(e)?s[l]:s[a]}i&&(i(f),delete n.onTagObj);const d=f?.createNode?f.createNode(n.schema,e,n):"function"==typeof f?.nodeClass?.from?f.nodeClass.from(n.schema,e,n):new U(e);return t?d.tag=t:f.default||(d.tag=f.tag),c&&(c.node=d),d}function Q(e,t,n){let r=n;for(let o=t.length-1;o>=0;--o){const e=t[o];if("number"==typeof e&&Number.isInteger(e)&&e>=0){const t=[];t[e]=r,r=t}else r=new Map([[e,r]])}return V(r,void 0,{aliasDuplicateObjects:!1,keepUndefined:!1,onAnchor:()=>{throw new Error("This should not happen, please report a bug.")},schema:e,sourceObjects:new Map})}const X=e=>null==e||"object"==typeof e&&!!e[Symbol.iterator]().next().done;class H extends R{constructor(e,t){super(e),Object.defineProperty(this,"schema",{value:t,configurable:!0,enumerable:!1,writable:!0})}clone(e){const t=Object.create(Object.getPrototypeOf(this),Object.getOwnPropertyDescriptors(this));return e&&(t.schema=e),t.items=t.items.map((t=>b(t)||m(t)?t.clone(e):t)),this.range&&(t.range=this.range.slice()),t}addIn(e,t){if(X(e))this.add(t);else{const[n,...r]=e,o=this.get(n,!0);if(v(o))o.addIn(r,t);else{if(void 0!==o||!this.schema)throw new Error(`Expected YAML collection at ${n}. Remaining path: ${r}`);this.set(n,Q(this.schema,r,t))}}}deleteIn(e){const[t,...n]=e;if(0===n.length)return this.delete(t);const r=this.get(t,!0);if(v(r))return r.deleteIn(n);throw new Error(`Expected YAML collection at ${t}. Remaining path: ${n}`)}getIn(e,t){const[n,...r]=e,o=this.get(n,!0);return 0===r.length?!t&&g(o)?o.value:o:v(o)?o.getIn(r,t):void 0}hasAllNullValues(e){return this.items.every((t=>{if(!m(t))return!1;const n=t.value;return null==n||e&&g(n)&&null==n.value&&!n.commentBefore&&!n.comment&&!n.tag}))}hasIn(e){const[t,...n]=e;if(0===n.length)return this.has(t);const r=this.get(t,!0);return!!v(r)&&r.hasIn(n)}setIn(e,t){const[n,...r]=e;if(0===r.length)this.set(n,t);else{const e=this.get(n,!0);if(v(e))e.setIn(r,t);else{if(void 0!==e||!this.schema)throw new Error(`Expected YAML collection at ${n}. Remaining path: ${r}`);this.set(n,Q(this.schema,r,t))}}}}H.maxFlowStringSingleLineLength=60;const K=e=>e.replace(/^(?!$)(?: $)?/gm,"#");function J(e,t){return/^\n+$/.test(e)?e.substring(1):t?e.replace(/^(?! *$)/gm,t):e}const W=(e,t,n)=>e.endsWith("\n")?J(n,t):n.includes("\n")?"\n"+J(n,t):(e.endsWith(" ")?"":" ")+n,G="flow",Z="block",Y="quoted";function ee(e,t,n="flow",{indentAtStart:r,lineWidth:o=80,minContentWidth:i=20,onFold:s,onOverflow:a}={}){if(!o||o<0)return e;const u=Math.max(1+i,1+o-t.length);if(e.length<=u)return e;const c=[],l={};let f,d,h=o-t.length;"number"==typeof r&&(r>o-Math.max(2,i)?c.push(0):h=o-r);let p=!1,m=-1,g=-1,y=-1;n===Z&&(m=te(e,m),-1!==m&&(h=m+u));for(let b;b=e[m+=1];){if(n===Y&&"\\"===b){switch(g=m,e[m+1]){case"x":m+=3;break;case"u":m+=5;break;case"U":m+=9;break;default:m+=1}y=m}if("\n"===b)n===Z&&(m=te(e,m)),h=m+u,f=void 0;else{if(" "===b&&d&&" "!==d&&"\n"!==d&&"\t"!==d){const t=e[m+1];t&&" "!==t&&"\n"!==t&&"\t"!==t&&(f=m)}if(m>=h)if(f)c.push(f),h=f+u,f=void 0;else if(n===Y){for(;" "===d||"\t"===d;)d=b,b=e[m+=1],p=!0;const t=m>y+1?m-2:g-1;if(l[t])return e;c.push(t),l[t]=!0,h=t+u,f=void 0}else p=!0}d=b}if(p&&a&&a(),0===c.length)return e;s&&s();let v=e.slice(0,c[0]);for(let b=0;b<c.length;++b){const r=c[b],o=c[b+1]||e.length;0===r?v=`\n${t}${e.slice(0,o)}`:(n===Y&&l[r]&&(v+=`${e[r]}\\`),v+=`\n${t}${e.slice(r+1,o)}`)}return v}function te(e,t){let n=e[t+1];for(;" "===n||"\t"===n;){do{n=e[t+=1]}while(n&&"\n"!==n);n=e[t+1]}return t}const ne=(e,t)=>({indentAtStart:t?e.indent.length:e.indentAtStart,lineWidth:e.options.lineWidth,minContentWidth:e.options.minContentWidth}),re=e=>/^(%|---|\.\.\.)/m.test(e);function oe(e,t){const n=JSON.stringify(e);if(t.options.doubleQuotedAsJSON)return n;const{implicitKey:r}=t,o=t.options.doubleQuotedMinMultiLineLength,i=t.indent||(re(e)?" ":"");let s="",a=0;for(let u=0,c=n[u];c;c=n[++u])if(" "===c&&"\\"===n[u+1]&&"n"===n[u+2]&&(s+=n.slice(a,u)+"\\ ",u+=1,a=u,c="\\"),"\\"===c)switch(n[u+1]){case"u":{s+=n.slice(a,u);const e=n.substr(u+2,4);switch(e){case"0000":s+="\\0";break;case"0007":s+="\\a";break;case"000b":s+="\\v";break;case"001b":s+="\\e";break;case"0085":s+="\\N";break;case"00a0":s+="\\_";break;case"2028":s+="\\L";break;case"2029":s+="\\P";break;default:"00"===e.substr(0,2)?s+="\\x"+e.substr(2):s+=n.substr(u,6)}u+=5,a=u+1}break;case"n":if(r||'"'===n[u+2]||n.length<o)u+=1;else{for(s+=n.slice(a,u)+"\n\n";"\\"===n[u+2]&&"n"===n[u+3]&&'"'!==n[u+4];)s+="\n",u+=2;s+=i," "===n[u+2]&&(s+="\\"),u+=1,a=u+1}break;default:u+=1}return s=a?s+n.slice(a):n,r?s:ee(s,i,Y,ne(t,!1))}function ie(e,t){if(!1===t.options.singleQuote||t.implicitKey&&e.includes("\n")||/[ \t]\n|\n[ \t]/.test(e))return oe(e,t);const n=t.indent||(re(e)?" ":""),r="'"+e.replace(/'/g,"''").replace(/\n+/g,`$&\n${n}`)+"'";return t.implicitKey?r:ee(r,n,G,ne(t,!1))}function se(e,t){const{singleQuote:n}=t.options;let r;if(!1===n)r=oe;else{const t=e.includes('"'),o=e.includes("'");r=t&&!o?ie:o&&!t?oe:n?ie:oe}return r(e,t)}let ae;try{ae=new RegExp("(^|(?<!\n))\n+(?!\n|$)","g")}catch{ae=/\n+(?!\n|$)/g}function ue({comment:e,type:t,value:n},r,o,i){const{blockQuote:s,commentString:a,lineWidth:u}=r.options;if(!s||/\n[\t ]+$/.test(n)||/^\s*$/.test(n))return se(n,r);const c=r.indent||(r.forceBlockIndent||re(n)?" ":""),l="literal"===s||"folded"!==s&&t!==U.BLOCK_FOLDED&&(t===U.BLOCK_LITERAL||!function(e,t,n){if(!t||t<0)return!1;const r=t-n,o=e.length;if(o<=r)return!1;for(let i=0,s=0;i<o;++i)if("\n"===e[i]){if(i-s>r)return!0;if(s=i+1,o-s<=r)return!1}return!0}(n,u,c.length));if(!n)return l?"|\n":">\n";let f,d;for(d=n.length;d>0;--d){const e=n[d-1];if("\n"!==e&&"\t"!==e&&" "!==e)break}let h=n.substring(d);const p=h.indexOf("\n");-1===p?f="-":n===h||p!==h.length-1?(f="+",i&&i()):f="",h&&(n=n.slice(0,-h.length),"\n"===h[h.length-1]&&(h=h.slice(0,-1)),h=h.replace(ae,`$&${c}`));let m,g=!1,y=-1;for(m=0;m<n.length;++m){const e=n[m];if(" "===e)g=!0;else{if("\n"!==e)break;y=m}}let v=n.substring(0,y<m?y+1:m);v&&(n=n.substring(v.length),v=v.replace(/\n+/g,`$&${c}`));let b=(l?"|":">")+(g?c?"2":"1":"")+f;if(e&&(b+=" "+a(e.replace(/ ?[\r\n]+/g," ")),o&&o()),l)return`${b}\n${c}${v}${n=n.replace(/\n+/g,`$&${c}`)}${h}`;return`${b}\n${c}${ee(`${v}${n=n.replace(/\n+/g,"\n$&").replace(/(?:^|\n)([\t ].*)(?:([\n\t ]*)\n(?![\n\t ]))?/g,"$1$2").replace(/\n+/g,`$&${c}`)}${h}`,c,Z,ne(r,!0))}`}function ce(e,t,n,r){const{implicitKey:o,inFlow:i}=t,s="string"==typeof e.value?e:Object.assign({},e,{value:String(e.value)});let{type:a}=e;a!==U.QUOTE_DOUBLE&&/[\x00-\x08\x0b-\x1f\x7f-\x9f\u{D800}-\u{DFFF}]/u.test(s.value)&&(a=U.QUOTE_DOUBLE);const u=e=>{switch(e){case U.BLOCK_FOLDED:case U.BLOCK_LITERAL:return o||i?se(s.value,t):ue(s,t,n,r);case U.QUOTE_DOUBLE:return oe(s.value,t);case U.QUOTE_SINGLE:return ie(s.value,t);case U.PLAIN:return function(e,t,n,r){const{type:o,value:i}=e,{actualString:s,implicitKey:a,indent:u,indentStep:c,inFlow:l}=t;if(a&&i.includes("\n")||l&&/[[\]{},]/.test(i))return se(i,t);if(!i||/^[\n\t ,[\]{}#&*!|>'"%@`]|^[?-]$|^[?-][ \t]|[\n:][ \t]|[ \t]\n|[\n\t ]#|[\n\t :]$/.test(i))return a||l||!i.includes("\n")?se(i,t):ue(e,t,n,r);if(!a&&!l&&o!==U.PLAIN&&i.includes("\n"))return ue(e,t,n,r);if(re(i)){if(""===u)return t.forceBlockIndent=!0,ue(e,t,n,r);if(a&&u===c)return se(i,t)}const f=i.replace(/\n+/g,`$&\n${u}`);if(s){const e=e=>e.default&&"tag:yaml.org,2002:str"!==e.tag&&e.test?.test(f),{compat:n,tags:r}=t.doc.schema;if(r.some(e)||n?.some(e))return se(i,t)}return a?f:ee(f,u,G,ne(t,!1))}(s,t,n,r);default:return null}};let c=u(a);if(null===c){const{defaultKeyType:e,defaultStringType:n}=t.options,r=o&&e||n;if(c=u(r),null===c)throw new Error(`Unsupported default string type ${r}`)}return c}function le(e,t){const n=Object.assign({blockQuote:!0,commentString:K,defaultKeyType:null,defaultStringType:"PLAIN",directives:null,doubleQuotedAsJSON:!1,doubleQuotedMinMultiLineLength:40,falseStr:"false",flowCollectionPadding:!0,indentSeq:!0,lineWidth:80,minContentWidth:20,nullStr:"null",simpleKeys:!1,singleQuote:null,trueStr:"true",verifyAliasOrder:!0},e.schema.toStringOptions,t);let r;switch(n.collectionStyle){case"block":r=!1;break;case"flow":r=!0;break;default:r=null}return{anchors:new Set,doc:e,flowCollectionPadding:n.flowCollectionPadding?" ":"",indent:"",indentStep:"number"==typeof n.indent?" ".repeat(n.indent):" ",inFlow:r,options:n}}function fe(e,t,n,r){if(m(e))return e.toString(t,n,r);if(d(e)){if(t.doc.directives)return e.toString(t);if(t.resolvedAliases?.has(e))throw new TypeError("Cannot stringify circular structure without alias nodes");t.resolvedAliases?t.resolvedAliases.add(e):t.resolvedAliases=new Set([e]),e=e.resolve(t.doc)}let o;const i=b(e)?e:t.doc.createNode(e,{onTagObj:e=>o=e});o||(o=function(e,t){if(t.tag){const n=e.filter((e=>e.tag===t.tag));if(n.length>0)return n.find((e=>e.format===t.format))??n[0]}let n,r;if(g(t)){r=t.value;const o=e.filter((e=>e.identify?.(r)));n=o.find((e=>e.format===t.format))??o.find((e=>!e.format))}else r=t,n=e.find((e=>e.nodeClass&&r instanceof e.nodeClass));if(!n)throw new Error(`Tag not resolved for ${r?.constructor?.name??typeof r} value`);return n}(t.doc.schema.tags,i));const s=function(e,t,{anchors:n,doc:r}){if(!r.directives)return"";const o=[],i=(g(e)||v(e))&&e.anchor;i&&F(i)&&(n.add(i),o.push(`&${i}`));const s=e.tag?e.tag:t.default?null:t.tag;return s&&o.push(r.directives.tagString(s)),o.join(" ")}(i,o,t);s.length>0&&(t.indentAtStart=(t.indentAtStart??0)+s.length+1);const a="function"==typeof o.stringify?o.stringify(i,t,n,r):g(i)?ce(i,t,n,r):i.toString(t,n,r);return s?g(i)||"{"===a[0]||"["===a[0]?`${s} ${a}`:`${s}\n${t.indent}${a}`:a}function de(e,t){"debug"!==e&&"warn"!==e||("undefined"!=typeof process&&process.emitWarning?process.emitWarning(t):console.warn(t))}function he(e,t,{key:n,value:r}){if(e?.doc.schema.merge&&pe(n))if(r=d(r)?r.resolve(e.doc):r,y(r))for(const o of r.items)me(e,t,o);else if(Array.isArray(r))for(const o of r)me(e,t,o);else me(e,t,r);else{const o=M(n,"",e);if(t instanceof Map)t.set(o,M(r,o,e));else if(t instanceof Set)t.add(o);else{const i=function(e,t,n){if(null===t)return"";if("object"!=typeof t)return String(t);if(b(e)&&n?.doc){const t=le(n.doc,{});t.anchors=new Set;for(const e of n.anchors.keys())t.anchors.add(e.anchor);t.inFlow=!0,t.inStringifyKey=!0;const r=e.toString(t);if(!n.mapKeyWarned){let e=JSON.stringify(r);e.length>40&&(e=e.substring(0,36)+'..."'),de(n.doc.options.logLevel,`Keys with collection values will be stringified due to JS Object restrictions: ${e}. Set mapAsMap: true to use object keys.`),n.mapKeyWarned=!0}return r}return JSON.stringify(t)}(n,o,e),s=M(r,i,e);i in t?Object.defineProperty(t,i,{value:s,writable:!0,enumerable:!0,configurable:!0}):t[i]=s}}return t}const pe=e=>"<<"===e||g(e)&&"<<"===e.value&&(!e.type||e.type===U.PLAIN);function me(e,t,n){const r=e&&d(n)?n.resolve(e.doc):n;if(!p(r))throw new Error("Merge sources must be maps or map aliases");const o=r.toJSON(null,e,Map);for(const[i,s]of o)t instanceof Map?t.has(i)||t.set(i,s):t instanceof Set?t.add(i):Object.prototype.hasOwnProperty.call(t,i)||Object.defineProperty(t,i,{value:s,writable:!0,enumerable:!0,configurable:!0});return t}function ge(e,t,n){const r=V(e,void 0,n),o=V(t,void 0,n);return new ye(r,o)}class ye{constructor(e,t=null){Object.defineProperty(this,f,{value:u}),this.key=e,this.value=t}clone(e){let{key:t,value:n}=this;return b(t)&&(t=t.clone(e)),b(n)&&(n=n.clone(e)),new ye(t,n)}toJSON(e,t){return he(t,t?.mapAsMap?new Map:{},this)}toString(e,t,n){return e?.doc?function({key:e,value:t},n,r,o){const{allNullValues:i,doc:s,indent:a,indentStep:u,options:{commentString:c,indentSeq:l,simpleKeys:f}}=n;let d=b(e)&&e.comment||null;if(f){if(d)throw new Error("With simple keys, key nodes cannot have comments");if(v(e))throw new Error("With simple keys, collection cannot be used as a key value")}let h=!f&&(!e||d&&null==t&&!n.inFlow||v(e)||(g(e)?e.type===U.BLOCK_FOLDED||e.type===U.BLOCK_LITERAL:"object"==typeof e));n=Object.assign({},n,{allNullValues:!1,implicitKey:!h&&(f||!i),indent:a+u});let p,m,_,w=!1,E=!1,k=fe(e,n,(()=>w=!0),(()=>E=!0));if(!h&&!n.inFlow&&k.length>1024){if(f)throw new Error("With simple keys, single line scalar must not span more than 1024 characters");h=!0}if(n.inFlow){if(i||null==t)return w&&r&&r(),""===k?"?":h?`? ${k}`:k}else if(i&&!f||null==t&&h)return k=`? ${k}`,d&&!w?k+=W(k,n.indent,c(d)):E&&o&&o(),k;w&&(d=null),h?(d&&(k+=W(k,n.indent,c(d))),k=`? ${k}\n${a}:`):(k=`${k}:`,d&&(k+=W(k,n.indent,c(d)))),b(t)?(p=!!t.spaceBefore,m=t.commentBefore,_=t.comment):(p=!1,m=null,_=null,t&&"object"==typeof t&&(t=s.createNode(t))),n.implicitKey=!1,h||d||!g(t)||(n.indentAtStart=k.length+1),E=!1,l||!(u.length>=2)||n.inFlow||h||!y(t)||t.flow||t.tag||t.anchor||(n.indent=n.indent.substring(2));let x=!1;const D=fe(t,n,(()=>x=!0),(()=>E=!0));let S=" ";if(d||p||m)S=p?"\n":"",m&&(S+=`\n${J(c(m),n.indent)}`),""!==D||n.inFlow?S+=`\n${n.indent}`:"\n"===S&&(S="\n\n");else if(!h&&v(t)){const e=D[0],r=D.indexOf("\n"),o=-1!==r,i=n.inFlow??t.flow??0===t.items.length;if(o||!i){let t=!1;if(o&&("&"===e||"!"===e)){let n=D.indexOf(" ");"&"===e&&-1!==n&&n<r&&"!"===D[n+1]&&(n=D.indexOf(" ",n+1)),(-1===n||r<n)&&(t=!0)}t||(S=`\n${n.indent}`)}}else""!==D&&"\n"!==D[0]||(S="");return k+=S+D,n.inFlow?x&&r&&r():_&&!x?k+=W(k,n.indent,c(_)):E&&o&&o(),k}(this,e,t,n):JSON.stringify(this)}}function ve(e,t,n){return(t.inFlow??e.flow?_e:be)(e,t,n)}function be({comment:e,items:t},n,{blockItemPrefix:r,flowChars:o,itemIndent:i,onChompKeep:s,onComment:a}){const{indent:u,options:{commentString:c}}=n,l=Object.assign({},n,{indent:i,type:null});let f=!1;const d=[];for(let p=0;p<t.length;++p){const e=t[p];let o=null;if(b(e))!f&&e.spaceBefore&&d.push(""),we(n,d,e.commentBefore,f),e.comment&&(o=e.comment);else if(m(e)){const t=b(e.key)?e.key:null;t&&(!f&&t.spaceBefore&&d.push(""),we(n,d,t.commentBefore,f))}f=!1;let s=fe(e,l,(()=>o=null),(()=>f=!0));o&&(s+=W(s,i,c(o))),f&&o&&(f=!1),d.push(r+s)}let h;if(0===d.length)h=o.start+o.end;else{h=d[0];for(let e=1;e<d.length;++e){const t=d[e];h+=t?`\n${u}${t}`:"\n"}}return e?(h+="\n"+J(c(e),u),a&&a()):f&&s&&s(),h}function _e({comment:e,items:t},n,{flowChars:r,itemIndent:o,onComment:i}){const{indent:s,indentStep:a,flowCollectionPadding:u,options:{commentString:c}}=n;o+=a;const l=Object.assign({},n,{indent:o,inFlow:!0,type:null});let f=!1,d=0;const h=[];for(let v=0;v<t.length;++v){const e=t[v];let r=null;if(b(e))e.spaceBefore&&h.push(""),we(n,h,e.commentBefore,!1),e.comment&&(r=e.comment);else if(m(e)){const t=b(e.key)?e.key:null;t&&(t.spaceBefore&&h.push(""),we(n,h,t.commentBefore,!1),t.comment&&(f=!0));const o=b(e.value)?e.value:null;o?(o.comment&&(r=o.comment),o.commentBefore&&(f=!0)):null==e.value&&t?.comment&&(r=t.comment)}r&&(f=!0);let i=fe(e,l,(()=>r=null));v<t.length-1&&(i+=","),r&&(i+=W(i,o,c(r))),!f&&(h.length>d||i.includes("\n"))&&(f=!0),h.push(i),d=h.length}let p;const{start:g,end:y}=r;if(0===h.length)p=g+y;else{if(!f){f=h.reduce(((e,t)=>e+t.length+2),2)>H.maxFlowStringSingleLineLength}if(f){p=g;for(const e of h)p+=e?`\n${a}${s}${e}`:"\n";p+=`\n${s}${y}`}else p=`${g}${u}${h.join(" ")}${u}${y}`}return e&&(p+=W(p,s,c(e)),i&&i()),p}function we({indent:e,options:{commentString:t}},n,r,o){if(r&&o&&(r=r.replace(/^\n+/,"")),r){const o=J(t(r),e);n.push(o.trimStart())}}function Ee(e,t){const n=g(t)?t.value:t;for(const r of e)if(m(r)){if(r.key===t||r.key===n)return r;if(g(r.key)&&r.key.value===n)return r}}class ke extends H{static get tagName(){return"tag:yaml.org,2002:map"}constructor(e){super(a,e),this.items=[]}static from(e,t,n){const{keepUndefined:r,replacer:o}=n,i=new this(e),s=(e,s)=>{if("function"==typeof o)s=o.call(t,e,s);else if(Array.isArray(o)&&!o.includes(e))return;(void 0!==s||r)&&i.items.push(ge(e,s,n))};if(t instanceof Map)for(const[a,u]of t)s(a,u);else if(t&&"object"==typeof t)for(const a of Object.keys(t))s(a,t[a]);return"function"==typeof e.sortMapEntries&&i.items.sort(e.sortMapEntries),i}add(e,t){let n;n=m(e)?e:e&&"object"==typeof e&&"key"in e?new ye(e.key,e.value):new ye(e,e?.value);const r=Ee(this.items,n.key),o=this.schema?.sortMapEntries;if(r){if(!t)throw new Error(`Key ${n.key} already set`);g(r.value)&&z(n.value)?r.value.value=n.value:r.value=n.value}else if(o){const e=this.items.findIndex((e=>o(n,e)<0));-1===e?this.items.push(n):this.items.splice(e,0,n)}else this.items.push(n)}delete(e){const t=Ee(this.items,e);if(!t)return!1;return this.items.splice(this.items.indexOf(t),1).length>0}get(e,t){const n=Ee(this.items,e),r=n?.value;return(!t&&g(r)?r.value:r)??void 0}has(e){return!!Ee(this.items,e)}set(e,t){this.add(new ye(e,t),!0)}toJSON(e,t,n){const r=n?new n:t?.mapAsMap?new Map:{};t?.onCreate&&t.onCreate(r);for(const o of this.items)he(t,r,o);return r}toString(e,t,n){if(!e)return JSON.stringify(this);for(const r of this.items)if(!m(r))throw new Error(`Map items must all be pairs; found ${JSON.stringify(r)} instead`);return!e.allNullValues&&this.hasAllNullValues(!1)&&(e=Object.assign({},e,{allNullValues:!0})),ve(this,e,{blockItemPrefix:"",flowChars:{start:"{",end:"}"},itemIndent:e.indent||"",onChompKeep:n,onComment:t})}}const xe={collection:"map",default:!0,nodeClass:ke,tag:"tag:yaml.org,2002:map",resolve:(e,t)=>(p(e)||t("Expected a mapping for this tag"),e),createNode:(e,t,n)=>ke.from(e,t,n)};class De extends H{static get tagName(){return"tag:yaml.org,2002:seq"}constructor(e){super(l,e),this.items=[]}add(e){this.items.push(e)}delete(e){const t=Se(e);if("number"!=typeof t)return!1;return this.items.splice(t,1).length>0}get(e,t){const n=Se(e);if("number"!=typeof n)return;const r=this.items[n];return!t&&g(r)?r.value:r}has(e){const t=Se(e);return"number"==typeof t&&t<this.items.length}set(e,t){const n=Se(e);if("number"!=typeof n)throw new Error(`Expected a valid index, not ${e}.`);const r=this.items[n];g(r)&&z(t)?r.value=t:this.items[n]=t}toJSON(e,t){const n=[];t?.onCreate&&t.onCreate(n);let r=0;for(const o of this.items)n.push(M(o,String(r++),t));return n}toString(e,t,n){return e?ve(this,e,{blockItemPrefix:"- ",flowChars:{start:"[",end:"]"},itemIndent:(e.indent||"")+" ",onChompKeep:n,onComment:t}):JSON.stringify(this)}static from(e,t,n){const{replacer:r}=n,o=new this(e);if(t&&Symbol.iterator in Object(t)){let e=0;for(let i of t){if("function"==typeof r){const n=t instanceof Set?i:String(e++);i=r.call(t,n,i)}o.items.push(V(i,void 0,n))}}return o}}function Se(e){let t=g(e)?e.value:e;return t&&"string"==typeof t&&(t=Number(t)),"number"==typeof t&&Number.isInteger(t)&&t>=0?t:null}const Ce={collection:"seq",default:!0,nodeClass:De,tag:"tag:yaml.org,2002:seq",resolve:(e,t)=>(y(e)||t("Expected a sequence for this tag"),e),createNode:(e,t,n)=>De.from(e,t,n)},Oe={identify:e=>"string"==typeof e,default:!0,tag:"tag:yaml.org,2002:str",resolve:e=>e,stringify:(e,t,n,r)=>ce(e,t=Object.assign({actualString:!0},t),n,r)},$e={identify:e=>null==e,createNode:()=>new U(null),default:!0,tag:"tag:yaml.org,2002:null",test:/^(?:~|[Nn]ull|NULL)?$/,resolve:()=>new U(null),stringify:({source:e},t)=>"string"==typeof e&&$e.test.test(e)?e:t.options.nullStr},Ae={identify:e=>"boolean"==typeof e,default:!0,tag:"tag:yaml.org,2002:bool",test:/^(?:[Tt]rue|TRUE|[Ff]alse|FALSE)$/,resolve:e=>new U("t"===e[0]||"T"===e[0]),stringify({source:e,value:t},n){if(e&&Ae.test.test(e)){if(t===("t"===e[0]||"T"===e[0]))return e}return t?n.options.trueStr:n.options.falseStr}};function Pe({format:e,minFractionDigits:t,tag:n,value:r}){if("bigint"==typeof r)return String(r);const o="number"==typeof r?r:Number(r);if(!isFinite(o))return isNaN(o)?".nan":o<0?"-.inf":".inf";let i=JSON.stringify(r);if(!e&&t&&(!n||"tag:yaml.org,2002:float"===n)&&/^\d/.test(i)){let e=i.indexOf(".");e<0&&(e=i.length,i+=".");let n=t-(i.length-e-1);for(;n-- >0;)i+="0"}return i}const je={identify:e=>"number"==typeof e,default:!0,tag:"tag:yaml.org,2002:float",test:/^(?:[-+]?\.(?:inf|Inf|INF|nan|NaN|NAN))$/,resolve:e=>"nan"===e.slice(-3).toLowerCase()?NaN:"-"===e[0]?Number.NEGATIVE_INFINITY:Number.POSITIVE_INFINITY,stringify:Pe},Fe={identify:e=>"number"==typeof e,default:!0,tag:"tag:yaml.org,2002:float",format:"EXP",test:/^[-+]?(?:\.[0-9]+|[0-9]+(?:\.[0-9]*)?)[eE][-+]?[0-9]+$/,resolve:e=>parseFloat(e),stringify(e){const t=Number(e.value);return isFinite(t)?t.toExponential():Pe(e)}},Ie={identify:e=>"number"==typeof e,default:!0,tag:"tag:yaml.org,2002:float",test:/^[-+]?(?:\.[0-9]+|[0-9]+\.[0-9]*)$/,resolve(e){const t=new U(parseFloat(e)),n=e.indexOf(".");return-1!==n&&"0"===e[e.length-1]&&(t.minFractionDigits=e.length-n-1),t},stringify:Pe},Ne=e=>"bigint"==typeof e||Number.isInteger(e),Te=(e,t,n,{intAsBigInt:r})=>r?BigInt(e):parseInt(e.substring(t),n);function Me(e,t,n){const{value:r}=e;return Ne(r)&&r>=0?n+r.toString(t):Pe(e)}const Re={identify:e=>Ne(e)&&e>=0,default:!0,tag:"tag:yaml.org,2002:int",format:"OCT",test:/^0o[0-7]+$/,resolve:(e,t,n)=>Te(e,2,8,n),stringify:e=>Me(e,8,"0o")},Be={identify:Ne,default:!0,tag:"tag:yaml.org,2002:int",test:/^[-+]?[0-9]+$/,resolve:(e,t,n)=>Te(e,0,10,n),stringify:Pe},Le={identify:e=>Ne(e)&&e>=0,default:!0,tag:"tag:yaml.org,2002:int",format:"HEX",test:/^0x[0-9a-fA-F]+$/,resolve:(e,t,n)=>Te(e,2,16,n),stringify:e=>Me(e,16,"0x")},ze=[xe,Ce,Oe,$e,Ae,Re,Be,Le,je,Fe,Ie];function Ue(e){return"bigint"==typeof e||Number.isInteger(e)}const qe=({value:e})=>JSON.stringify(e),Ve=[xe,Ce].concat([{identify:e=>"string"==typeof e,default:!0,tag:"tag:yaml.org,2002:str",resolve:e=>e,stringify:qe},{identify:e=>null==e,createNode:()=>new U(null),default:!0,tag:"tag:yaml.org,2002:null",test:/^null$/,resolve:()=>null,stringify:qe},{identify:e=>"boolean"==typeof e,default:!0,tag:"tag:yaml.org,2002:bool",test:/^true|false$/,resolve:e=>"true"===e,stringify:qe},{identify:Ue,default:!0,tag:"tag:yaml.org,2002:int",test:/^-?(?:0|[1-9][0-9]*)$/,resolve:(e,t,{intAsBigInt:n})=>n?BigInt(e):parseInt(e,10),stringify:({value:e})=>Ue(e)?e.toString():JSON.stringify(e)},{identify:e=>"number"==typeof e,default:!0,tag:"tag:yaml.org,2002:float",test:/^-?(?:0|[1-9][0-9]*)(?:\.[0-9]*)?(?:[eE][-+]?[0-9]+)?$/,resolve:e=>parseFloat(e),stringify:qe}],{default:!0,tag:"",test:/^/,resolve:(e,t)=>(t(`Unresolved plain scalar ${JSON.stringify(e)}`),e)}),Qe={identify:e=>e instanceof Uint8Array,default:!1,tag:"tag:yaml.org,2002:binary",resolve(e,t){if("function"==typeof Buffer)return Buffer.from(e,"base64");if("function"==typeof atob){const t=atob(e.replace(/[\n\r]/g,"")),n=new Uint8Array(t.length);for(let e=0;e<t.length;++e)n[e]=t.charCodeAt(e);return n}return t("This environment does not support reading binary tags; either Buffer or atob is required"),e},stringify({comment:e,type:t,value:n},r,o,i){const s=n;let a;if("function"==typeof Buffer)a=s instanceof Buffer?s.toString("base64"):Buffer.from(s.buffer).toString("base64");else{if("function"!=typeof btoa)throw new Error("This environment does not support writing binary tags; either Buffer or btoa is required");{let e="";for(let t=0;t<s.length;++t)e+=String.fromCharCode(s[t]);a=btoa(e)}}if(t||(t=U.BLOCK_LITERAL),t!==U.QUOTE_DOUBLE){const e=Math.max(r.options.lineWidth-r.indent.length,r.options.minContentWidth),n=Math.ceil(a.length/e),o=new Array(n);for(let t=0,r=0;t<n;++t,r+=e)o[t]=a.substr(r,e);a=o.join(t===U.BLOCK_LITERAL?"\n":" ")}return ce({comment:e,type:t,value:a},r,o,i)}};function Xe(e,t){if(y(e))for(let n=0;n<e.items.length;++n){let r=e.items[n];if(!m(r)){if(p(r)){r.items.length>1&&t("Each pair must have its own sequence indicator");const e=r.items[0]||new ye(new U(null));if(r.commentBefore&&(e.key.commentBefore=e.key.commentBefore?`${r.commentBefore}\n${e.key.commentBefore}`:r.commentBefore),r.comment){const t=e.value??e.key;t.comment=t.comment?`${r.comment}\n${t.comment}`:r.comment}r=e}e.items[n]=m(r)?r:new ye(r)}}else t("Expected a sequence for this tag");return e}function He(e,t,n){const{replacer:r}=n,o=new De(e);o.tag="tag:yaml.org,2002:pairs";let i=0;if(t&&Symbol.iterator in Object(t))for(let s of t){let e,a;if("function"==typeof r&&(s=r.call(t,String(i++),s)),Array.isArray(s)){if(2!==s.length)throw new TypeError(`Expected [key, value] tuple: ${s}`);e=s[0],a=s[1]}else if(s&&s instanceof Object){const t=Object.keys(s);if(1!==t.length)throw new TypeError(`Expected tuple with one key, not ${t.length} keys`);e=t[0],a=s[e]}else e=s;o.items.push(ge(e,a,n))}return o}const Ke={collection:"seq",default:!1,tag:"tag:yaml.org,2002:pairs",resolve:Xe,createNode:He};class Je extends De{constructor(){super(),this.add=ke.prototype.add.bind(this),this.delete=ke.prototype.delete.bind(this),this.get=ke.prototype.get.bind(this),this.has=ke.prototype.has.bind(this),this.set=ke.prototype.set.bind(this),this.tag=Je.tag}toJSON(e,t){if(!t)return super.toJSON(e);const n=new Map;t?.onCreate&&t.onCreate(n);for(const r of this.items){let e,o;if(m(r)?(e=M(r.key,"",t),o=M(r.value,e,t)):e=M(r,"",t),n.has(e))throw new Error("Ordered maps must not include duplicate keys");n.set(e,o)}return n}static from(e,t,n){const r=He(e,t,n),o=new this;return o.items=r.items,o}}Je.tag="tag:yaml.org,2002:omap";const We={collection:"seq",identify:e=>e instanceof Map,nodeClass:Je,default:!1,tag:"tag:yaml.org,2002:omap",resolve(e,t){const n=Xe(e,t),r=[];for(const{key:o}of n.items)g(o)&&(r.includes(o.value)?t(`Ordered maps must not include duplicate keys: ${o.value}`):r.push(o.value));return Object.assign(new Je,n)},createNode:(e,t,n)=>Je.from(e,t,n)};function Ge({value:e,source:t},n){return t&&(e?Ze:Ye).test.test(t)?t:e?n.options.trueStr:n.options.falseStr}const Ze={identify:e=>!0===e,default:!0,tag:"tag:yaml.org,2002:bool",test:/^(?:Y|y|[Yy]es|YES|[Tt]rue|TRUE|[Oo]n|ON)$/,resolve:()=>new U(!0),stringify:Ge},Ye={identify:e=>!1===e,default:!0,tag:"tag:yaml.org,2002:bool",test:/^(?:N|n|[Nn]o|NO|[Ff]alse|FALSE|[Oo]ff|OFF)$/i,resolve:()=>new U(!1),stringify:Ge},et={identify:e=>"number"==typeof e,default:!0,tag:"tag:yaml.org,2002:float",test:/^[-+]?\.(?:inf|Inf|INF|nan|NaN|NAN)$/,resolve:e=>"nan"===e.slice(-3).toLowerCase()?NaN:"-"===e[0]?Number.NEGATIVE_INFINITY:Number.POSITIVE_INFINITY,stringify:Pe},tt={identify:e=>"number"==typeof e,default:!0,tag:"tag:yaml.org,2002:float",format:"EXP",test:/^[-+]?(?:[0-9][0-9_]*)?(?:\.[0-9_]*)?[eE][-+]?[0-9]+$/,resolve:e=>parseFloat(e.replace(/_/g,"")),stringify(e){const t=Number(e.value);return isFinite(t)?t.toExponential():Pe(e)}},nt={identify:e=>"number"==typeof e,default:!0,tag:"tag:yaml.org,2002:float",test:/^[-+]?(?:[0-9][0-9_]*)?\.[0-9_]*$/,resolve(e){const t=new U(parseFloat(e.replace(/_/g,""))),n=e.indexOf(".");if(-1!==n){const r=e.substring(n+1).replace(/_/g,"");"0"===r[r.length-1]&&(t.minFractionDigits=r.length)}return t},stringify:Pe},rt=e=>"bigint"==typeof e||Number.isInteger(e);function ot(e,t,n,{intAsBigInt:r}){const o=e[0];if("-"!==o&&"+"!==o||(t+=1),e=e.substring(t).replace(/_/g,""),r){switch(n){case 2:e=`0b${e}`;break;case 8:e=`0o${e}`;break;case 16:e=`0x${e}`}const t=BigInt(e);return"-"===o?BigInt(-1)*t:t}const i=parseInt(e,n);return"-"===o?-1*i:i}function it(e,t,n){const{value:r}=e;if(rt(r)){const e=r.toString(t);return r<0?"-"+n+e.substr(1):n+e}return Pe(e)}const st={identify:rt,default:!0,tag:"tag:yaml.org,2002:int",format:"BIN",test:/^[-+]?0b[0-1_]+$/,resolve:(e,t,n)=>ot(e,2,2,n),stringify:e=>it(e,2,"0b")},at={identify:rt,default:!0,tag:"tag:yaml.org,2002:int",format:"OCT",test:/^[-+]?0[0-7_]+$/,resolve:(e,t,n)=>ot(e,1,8,n),stringify:e=>it(e,8,"0")},ut={identify:rt,default:!0,tag:"tag:yaml.org,2002:int",test:/^[-+]?[0-9][0-9_]*$/,resolve:(e,t,n)=>ot(e,0,10,n),stringify:Pe},ct={identify:rt,default:!0,tag:"tag:yaml.org,2002:int",format:"HEX",test:/^[-+]?0x[0-9a-fA-F_]+$/,resolve:(e,t,n)=>ot(e,2,16,n),stringify:e=>it(e,16,"0x")};class lt extends ke{constructor(e){super(e),this.tag=lt.tag}add(e){let t;t=m(e)?e:e&&"object"==typeof e&&"key"in e&&"value"in e&&null===e.value?new ye(e.key,null):new ye(e,null);Ee(this.items,t.key)||this.items.push(t)}get(e,t){const n=Ee(this.items,e);return!t&&m(n)?g(n.key)?n.key.value:n.key:n}set(e,t){if("boolean"!=typeof t)throw new Error("Expected boolean value for set(key, value) in a YAML set, not "+typeof t);const n=Ee(this.items,e);n&&!t?this.items.splice(this.items.indexOf(n),1):!n&&t&&this.items.push(new ye(e))}toJSON(e,t){return super.toJSON(e,t,Set)}toString(e,t,n){if(!e)return JSON.stringify(this);if(this.hasAllNullValues(!0))return super.toString(Object.assign({},e,{allNullValues:!0}),t,n);throw new Error("Set items must all have null values")}static from(e,t,n){const{replacer:r}=n,o=new this(e);if(t&&Symbol.iterator in Object(t))for(let i of t)"function"==typeof r&&(i=r.call(t,i,i)),o.items.push(ge(i,null,n));return o}}lt.tag="tag:yaml.org,2002:set";const ft={collection:"map",identify:e=>e instanceof Set,nodeClass:lt,default:!1,tag:"tag:yaml.org,2002:set",createNode:(e,t,n)=>lt.from(e,t,n),resolve(e,t){if(p(e)){if(e.hasAllNullValues(!0))return Object.assign(new lt,e);t("Set items must all have null values")}else t("Expected a mapping for this tag");return e}};function dt(e,t){const n=e[0],r="-"===n||"+"===n?e.substring(1):e,o=e=>t?BigInt(e):Number(e),i=r.replace(/_/g,"").split(":").reduce(((e,t)=>e*o(60)+o(t)),o(0));return"-"===n?o(-1)*i:i}function ht(e){let{value:t}=e,n=e=>e;if("bigint"==typeof t)n=e=>BigInt(e);else if(isNaN(t)||!isFinite(t))return Pe(e);let r="";t<0&&(r="-",t*=n(-1));const o=n(60),i=[t%o];return t<60?i.unshift(0):(t=(t-i[0])/o,i.unshift(t%o),t>=60&&(t=(t-i[0])/o,i.unshift(t))),r+i.map((e=>String(e).padStart(2,"0"))).join(":").replace(/000000\d*$/,"")}const pt={identify:e=>"bigint"==typeof e||Number.isInteger(e),default:!0,tag:"tag:yaml.org,2002:int",format:"TIME",test:/^[-+]?[0-9][0-9_]*(?::[0-5]?[0-9])+$/,resolve:(e,t,{intAsBigInt:n})=>dt(e,n),stringify:ht},mt={identify:e=>"number"==typeof e,default:!0,tag:"tag:yaml.org,2002:float",format:"TIME",test:/^[-+]?[0-9][0-9_]*(?::[0-5]?[0-9])+\.[0-9_]*$/,resolve:e=>dt(e,!1),stringify:ht},gt={identify:e=>e instanceof Date,default:!0,tag:"tag:yaml.org,2002:timestamp",test:RegExp("^([0-9]{4})-([0-9]{1,2})-([0-9]{1,2})(?:(?:t|T|[ \\t]+)([0-9]{1,2}):([0-9]{1,2}):([0-9]{1,2}(\\.[0-9]+)?)(?:[ \\t]*(Z|[-+][012]?[0-9](?::[0-9]{2})?))?)?$"),resolve(e){const t=e.match(gt.test);if(!t)throw new Error("!!timestamp expects a date, starting with yyyy-mm-dd");const[,n,r,o,i,s,a]=t.map(Number),u=t[7]?Number((t[7]+"00").substr(1,3)):0;let c=Date.UTC(n,r-1,o,i||0,s||0,a||0,u);const l=t[8];if(l&&"Z"!==l){let e=dt(l,!1);Math.abs(e)<30&&(e*=60),c-=6e4*e}return new Date(c)},stringify:({value:e})=>e.toISOString().replace(/((T00:00)?:00)?\.000Z$/,"")},yt=[xe,Ce,Oe,$e,Ze,Ye,st,at,ut,ct,et,tt,nt,Qe,We,Ke,ft,pt,mt,gt],vt=new Map([["core",ze],["failsafe",[xe,Ce,Oe]],["json",Ve],["yaml11",yt],["yaml-1.1",yt]]),bt={binary:Qe,bool:Ae,float:Ie,floatExp:Fe,floatNaN:je,floatTime:mt,int:Be,intHex:Le,intOct:Re,intTime:pt,map:xe,null:$e,omap:We,pairs:Ke,seq:Ce,set:ft,timestamp:gt},_t={"tag:yaml.org,2002:binary":Qe,"tag:yaml.org,2002:omap":We,"tag:yaml.org,2002:pairs":Ke,"tag:yaml.org,2002:set":ft,"tag:yaml.org,2002:timestamp":gt};function wt(e,t){let n=vt.get(t);if(!n){if(!Array.isArray(e)){const e=Array.from(vt.keys()).filter((e=>"yaml11"!==e)).map((e=>JSON.stringify(e))).join(", ");throw new Error(`Unknown schema "${t}"; use one of ${e} or define customTags array`)}n=[]}if(Array.isArray(e))for(const r of e)n=n.concat(r);else"function"==typeof e&&(n=e(n.slice()));return n.map((e=>{if("string"!=typeof e)return e;const t=bt[e];if(t)return t;const n=Object.keys(bt).map((e=>JSON.stringify(e))).join(", ");throw new Error(`Unknown custom tag "${e}"; use one of ${n}`)}))}const Et=(e,t)=>e.key<t.key?-1:e.key>t.key?1:0;class kt{constructor({compat:e,customTags:t,merge:n,resolveKnownTags:r,schema:o,sortMapEntries:i,toStringDefaults:s}){this.compat=Array.isArray(e)?wt(e,"compat"):e?wt(null,e):null,this.merge=!!n,this.name="string"==typeof o&&o||"core",this.knownTags=r?_t:{},this.tags=wt(t,this.name),this.toStringOptions=s??null,Object.defineProperty(this,a,{value:xe}),Object.defineProperty(this,c,{value:Oe}),Object.defineProperty(this,l,{value:Ce}),this.sortMapEntries="function"==typeof i?i:!0===i?Et:null}clone(){const e=Object.create(kt.prototype,Object.getOwnPropertyDescriptors(this));return e.tags=this.tags.slice(),e}}class xt{constructor(e,t,n){this.commentBefore=null,this.comment=null,this.errors=[],this.warnings=[],Object.defineProperty(this,f,{value:s});let r=null;"function"==typeof t||Array.isArray(t)?r=t:void 0===n&&t&&(n=t,t=void 0);const o=Object.assign({intAsBigInt:!1,keepSourceTokens:!1,logLevel:"warn",prettyErrors:!0,strict:!0,uniqueKeys:!0,version:"1.2"},n);this.options=o;let{version:i}=o;n?._directives?(this.directives=n._directives.atDocument(),this.directives.yaml.explicit&&(i=this.directives.yaml.version)):this.directives=new j({version:i}),this.setSchema(i,n),this.contents=void 0===e?null:this.createNode(e,r,n)}clone(){const e=Object.create(xt.prototype,{[f]:{value:s}});return e.commentBefore=this.commentBefore,e.comment=this.comment,e.errors=this.errors.slice(),e.warnings=this.warnings.slice(),e.options=Object.assign({},this.options),this.directives&&(e.directives=this.directives.clone()),e.schema=this.schema.clone(),e.contents=b(this.contents)?this.contents.clone(e.schema):this.contents,this.range&&(e.range=this.range.slice()),e}add(e){Dt(this.contents)&&this.contents.add(e)}addIn(e,t){Dt(this.contents)&&this.contents.addIn(e,t)}createAlias(e,t){if(!e.anchor){const n=I(this);e.anchor=!t||n.has(t)?N(t||"a",n):t}return new B(e.anchor)}createNode(e,t,n){let r;if("function"==typeof t)e=t.call({"":e},"",e),r=t;else if(Array.isArray(t)){const e=e=>"number"==typeof e||e instanceof String||e instanceof Number,n=t.filter(e).map(String);n.length>0&&(t=t.concat(n)),r=t}else void 0===n&&t&&(n=t,t=void 0);const{aliasDuplicateObjects:o,anchorPrefix:i,flow:s,keepUndefined:a,onTagObj:u,tag:c}=n??{},{onAnchor:l,setAnchors:f,sourceObjects:d}=function(e,t){const n=[],r=new Map;let o=null;return{onAnchor:r=>{n.push(r),o||(o=I(e));const i=N(t,o);return o.add(i),i},setAnchors:()=>{for(const e of n){const t=r.get(e);if("object"!=typeof t||!t.anchor||!g(t.node)&&!v(t.node)){const t=new Error("Failed to resolve repeated object (this should not happen)");throw t.source=e,t}t.node.anchor=t.anchor}},sourceObjects:r}}(this,i||"a"),h=V(e,c,{aliasDuplicateObjects:o??!0,keepUndefined:a??!1,onAnchor:l,onTagObj:u,replacer:r,schema:this.schema,sourceObjects:d});return s&&v(h)&&(h.flow=!0),f(),h}createPair(e,t,n={}){const r=this.createNode(e,null,n),o=this.createNode(t,null,n);return new ye(r,o)}delete(e){return!!Dt(this.contents)&&this.contents.delete(e)}deleteIn(e){return X(e)?null!=this.contents&&(this.contents=null,!0):!!Dt(this.contents)&&this.contents.deleteIn(e)}get(e,t){return v(this.contents)?this.contents.get(e,t):void 0}getIn(e,t){return X(e)?!t&&g(this.contents)?this.contents.value:this.contents:v(this.contents)?this.contents.getIn(e,t):void 0}has(e){return!!v(this.contents)&&this.contents.has(e)}hasIn(e){return X(e)?void 0!==this.contents:!!v(this.contents)&&this.contents.hasIn(e)}set(e,t){null==this.contents?this.contents=Q(this.schema,[e],t):Dt(this.contents)&&this.contents.set(e,t)}setIn(e,t){X(e)?this.contents=t:null==this.contents?this.contents=Q(this.schema,Array.from(e),t):Dt(this.contents)&&this.contents.setIn(e,t)}setSchema(e,t={}){let n;switch("number"==typeof e&&(e=String(e)),e){case"1.1":this.directives?this.directives.yaml.version="1.1":this.directives=new j({version:"1.1"}),n={merge:!0,resolveKnownTags:!1,schema:"yaml-1.1"};break;case"1.2":case"next":this.directives?this.directives.yaml.version=e:this.directives=new j({version:e}),n={merge:!1,resolveKnownTags:!0,schema:"core"};break;case null:this.directives&&delete this.directives,n=null;break;default:{const t=JSON.stringify(e);throw new Error(`Expected '1.1', '1.2' or null as first argument, but found: ${t}`)}}if(t.schema instanceof Object)this.schema=t.schema;else{if(!n)throw new Error("With a null YAML version, the { schema: Schema } option is required");this.schema=new kt(Object.assign(n,t))}}toJS({json:e,jsonArg:t,mapAsMap:n,maxAliasCount:r,onAnchor:o,reviver:i}={}){const s={anchors:new Map,doc:this,keep:!e,mapAsMap:!0===n,mapKeyWarned:!1,maxAliasCount:"number"==typeof r?r:100},a=M(this.contents,t??"",s);if("function"==typeof o)for(const{count:u,res:c}of s.anchors.values())o(c,u);return"function"==typeof i?T(i,{"":a},"",a):a}toJSON(e,t){return this.toJS({json:!0,jsonArg:e,mapAsMap:!1,onAnchor:t})}toString(e={}){if(this.errors.length>0)throw new Error("Document with errors cannot be stringified");if("indent"in e&&(!Number.isInteger(e.indent)||Number(e.indent)<=0)){const t=JSON.stringify(e.indent);throw new Error(`"indent" option must be a positive integer, not ${t}`)}return function(e,t){const n=[];let r=!0===t.directives;if(!1!==t.directives&&e.directives){const t=e.directives.toString(e);t?(n.push(t),r=!0):e.directives.docStart&&(r=!0)}r&&n.push("---");const o=le(e,t),{commentString:i}=o.options;if(e.commentBefore){1!==n.length&&n.unshift("");const t=i(e.commentBefore);n.unshift(J(t,""))}let s=!1,a=null;if(e.contents){if(b(e.contents)){if(e.contents.spaceBefore&&r&&n.push(""),e.contents.commentBefore){const t=i(e.contents.commentBefore);n.push(J(t,""))}o.forceBlockIndent=!!e.comment,a=e.contents.comment}const t=a?void 0:()=>s=!0;let u=fe(e.contents,o,(()=>a=null),t);a&&(u+=W(u,"",i(a))),"|"!==u[0]&&">"!==u[0]||"---"!==n[n.length-1]?n.push(u):n[n.length-1]=`--- ${u}`}else n.push(fe(e.contents,o));if(e.directives?.docEnd)if(e.comment){const t=i(e.comment);t.includes("\n")?(n.push("..."),n.push(J(t,""))):n.push(`... ${t}`)}else n.push("...");else{let t=e.comment;t&&s&&(t=t.replace(/^\n+/,"")),t&&(s&&!a||""===n[n.length-1]||n.push(""),n.push(J(i(t),"")))}return n.join("\n")+"\n"}(this,e)}}function Dt(e){if(v(e))return!0;throw new Error("Expected a YAML collection as document contents")}class St extends Error{constructor(e,t,n,r){super(),this.name=e,this.code=n,this.message=r,this.pos=t}}class Ct extends St{constructor(e,t,n){super("YAMLParseError",e,t,n)}}class Ot extends St{constructor(e,t,n){super("YAMLWarning",e,t,n)}}const $t=(e,t)=>n=>{if(-1===n.pos[0])return;n.linePos=n.pos.map((e=>t.linePos(e)));const{line:r,col:o}=n.linePos[0];n.message+=` at line ${r}, column ${o}`;let i=o-1,s=e.substring(t.lineStarts[r-1],t.lineStarts[r]).replace(/[\n\r]+$/,"");if(i>=60&&s.length>80){const e=Math.min(i-39,s.length-79);s="\u2026"+s.substring(e),i-=e-1}if(s.length>80&&(s=s.substring(0,79)+"\u2026"),r>1&&/^ *$/.test(s.substring(0,i))){let n=e.substring(t.lineStarts[r-2],t.lineStarts[r-1]);n.length>80&&(n=n.substring(0,79)+"\u2026\n"),s=n+s}if(/[^ ]/.test(s)){let e=1;const t=n.linePos[1];t&&t.line===r&&t.col>o&&(e=Math.max(1,Math.min(t.col-o,80-i)));const a=" ".repeat(i)+"^".repeat(e);n.message+=`:\n\n${s}\n${a}\n`}};function At(e,{flow:t,indicator:n,next:r,offset:o,onError:i,startOnNewline:s}){let a=!1,u=s,c=s,l="",f="",d=!1,h=!1,p=!1,m=null,g=null,y=null,v=null,b=null;for(const E of e)switch(p&&("space"!==E.type&&"newline"!==E.type&&"comma"!==E.type&&i(E.offset,"MISSING_CHAR","Tags and anchors must be separated from the next token by white space"),p=!1),E.type){case"space":!t&&u&&"doc-start"!==n&&"\t"===E.source[0]&&i(E,"TAB_AS_INDENT","Tabs are not allowed as indentation"),c=!0;break;case"comment":{c||i(E,"MISSING_CHAR","Comments must be separated from other tokens by white space characters");const e=E.source.substring(1)||" ";l?l+=f+e:l=e,f="",u=!1;break}case"newline":u?l?l+=E.source:a=!0:f+=E.source,u=!0,d=!0,(m||g)&&(h=!0),c=!0;break;case"anchor":m&&i(E,"MULTIPLE_ANCHORS","A node can have at most one anchor"),E.source.endsWith(":")&&i(E.offset+E.source.length-1,"BAD_ALIAS","Anchor ending in : is ambiguous",!0),m=E,null===b&&(b=E.offset),u=!1,c=!1,p=!0;break;case"tag":g&&i(E,"MULTIPLE_TAGS","A node can have at most one tag"),g=E,null===b&&(b=E.offset),u=!1,c=!1,p=!0;break;case n:(m||g)&&i(E,"BAD_PROP_ORDER",`Anchors and tags must be after the ${E.source} indicator`),v&&i(E,"UNEXPECTED_TOKEN",`Unexpected ${E.source} in ${t??"collection"}`),v=E,u=!1,c=!1;break;case"comma":if(t){y&&i(E,"UNEXPECTED_TOKEN",`Unexpected , in ${t}`),y=E,u=!1,c=!1;break}default:i(E,"UNEXPECTED_TOKEN",`Unexpected ${E.type} token`),u=!1,c=!1}const _=e[e.length-1],w=_?_.offset+_.source.length:o;return p&&r&&"space"!==r.type&&"newline"!==r.type&&"comma"!==r.type&&("scalar"!==r.type||""!==r.source)&&i(r.offset,"MISSING_CHAR","Tags and anchors must be separated from the next token by white space"),{comma:y,found:v,spaceBefore:a,comment:l,hasNewline:d,hasNewlineAfterProp:h,anchor:m,tag:g,end:w,start:b??w}}function Pt(e){if(!e)return null;switch(e.type){case"alias":case"scalar":case"double-quoted-scalar":case"single-quoted-scalar":if(e.source.includes("\n"))return!0;if(e.end)for(const t of e.end)if("newline"===t.type)return!0;return!1;case"flow-collection":for(const t of e.items){for(const e of t.start)if("newline"===e.type)return!0;if(t.sep)for(const e of t.sep)if("newline"===e.type)return!0;if(Pt(t.key)||Pt(t.value))return!0}return!1;default:return!0}}function jt(e,t,n){if("flow-collection"===t?.type){const r=t.end[0];if(r.indent===e&&("]"===r.source||"}"===r.source)&&Pt(t)){n(r,"BAD_INDENT","Flow end indicator should be more indented than parent",!0)}}}function Ft(e,t,n){const{uniqueKeys:r}=e.options;if(!1===r)return!1;const o="function"==typeof r?r:(t,n)=>t===n||g(t)&&g(n)&&t.value===n.value&&!("<<"===t.value&&e.schema.merge);return t.some((e=>o(e.key,n)))}const It="All mapping items must start at the same column";function Nt(e,t,n,r){let o="";if(e){let i=!1,s="";for(const a of e){const{source:e,type:u}=a;switch(u){case"space":i=!0;break;case"comment":{n&&!i&&r(a,"MISSING_CHAR","Comments must be separated from other tokens by white space characters");const t=e.substring(1)||" ";o?o+=s+t:o=t,s="";break}case"newline":o&&(s+=e),i=!0;break;default:r(a,"UNEXPECTED_TOKEN",`Unexpected ${u} at node end`)}t+=e.length}}return{comment:o,offset:t}}const Tt="Block collections are not allowed within flow collections",Mt=e=>e&&("block-map"===e.type||"block-seq"===e.type);function Rt(e,t,n,r,o,i){const s="block-map"===n.type?function({composeNode:e,composeEmptyNode:t},n,r,o,i){const s=new(i?.nodeClass??ke)(n.schema);n.atRoot&&(n.atRoot=!1);let a=r.offset,u=null;for(const c of r.items){const{start:i,key:l,sep:f,value:d}=c,h=At(i,{indicator:"explicit-key-ind",next:l??f?.[0],offset:a,onError:o,startOnNewline:!0}),p=!h.found;if(p){if(l&&("block-seq"===l.type?o(a,"BLOCK_AS_IMPLICIT_KEY","A block sequence may not be used as an implicit map key"):"indent"in l&&l.indent!==r.indent&&o(a,"BAD_INDENT",It)),!h.anchor&&!h.tag&&!f){u=h.end,h.comment&&(s.comment?s.comment+="\n"+h.comment:s.comment=h.comment);continue}(h.hasNewlineAfterProp||Pt(l))&&o(l??i[i.length-1],"MULTILINE_IMPLICIT_KEY","Implicit keys need to be on a single line")}else h.found?.indent!==r.indent&&o(a,"BAD_INDENT",It);const m=h.end,g=l?e(n,l,h,o):t(n,m,i,null,h,o);n.schema.compat&&jt(r.indent,l,o),Ft(n,s.items,g)&&o(m,"DUPLICATE_KEY","Map keys must be unique");const y=At(f??[],{indicator:"map-value-ind",next:d,offset:g.range[2],onError:o,startOnNewline:!l||"block-scalar"===l.type});if(a=y.end,y.found){p&&("block-map"!==d?.type||y.hasNewline||o(a,"BLOCK_AS_IMPLICIT_KEY","Nested mappings are not allowed in compact mappings"),n.options.strict&&h.start<y.found.offset-1024&&o(g.range,"KEY_OVER_1024_CHARS","The : indicator must be at most 1024 chars after the start of an implicit block mapping key"));const i=d?e(n,d,y,o):t(n,a,f,null,y,o);n.schema.compat&&jt(r.indent,d,o),a=i.range[2];const u=new ye(g,i);n.options.keepSourceTokens&&(u.srcToken=c),s.items.push(u)}else{p&&o(g.range,"MISSING_CHAR","Implicit map keys need to be followed by map values"),y.comment&&(g.comment?g.comment+="\n"+y.comment:g.comment=y.comment);const e=new ye(g);n.options.keepSourceTokens&&(e.srcToken=c),s.items.push(e)}}return u&&u<a&&o(u,"IMPOSSIBLE","Map comment with trailing content"),s.range=[r.offset,a,u??a],s}(e,t,n,r,i):"block-seq"===n.type?function({composeNode:e,composeEmptyNode:t},n,r,o,i){const s=new(i?.nodeClass??De)(n.schema);n.atRoot&&(n.atRoot=!1);let a=r.offset,u=null;for(const{start:c,value:l}of r.items){const i=At(c,{indicator:"seq-item-ind",next:l,offset:a,onError:o,startOnNewline:!0});if(!i.found){if(!(i.anchor||i.tag||l)){u=i.end,i.comment&&(s.comment=i.comment);continue}l&&"block-seq"===l.type?o(i.end,"BAD_INDENT","All sequence items must start at the same column"):o(a,"MISSING_CHAR","Sequence item without - indicator")}const f=l?e(n,l,i,o):t(n,i.end,c,null,i,o);n.schema.compat&&jt(r.indent,l,o),a=f.range[2],s.items.push(f)}return s.range=[r.offset,a,u??a],s}(e,t,n,r,i):function({composeNode:e,composeEmptyNode:t},n,r,o,i){const s="{"===r.start.source,a=s?"flow map":"flow sequence",u=new(i?.nodeClass??(s?ke:De))(n.schema);u.flow=!0;const c=n.atRoot;c&&(n.atRoot=!1);let l=r.offset+r.start.source.length;for(let g=0;g<r.items.length;++g){const i=r.items[g],{start:c,key:f,sep:d,value:h}=i,p=At(c,{flow:a,indicator:"explicit-key-ind",next:f??d?.[0],offset:l,onError:o,startOnNewline:!1});if(!p.found){if(!(p.anchor||p.tag||d||h)){0===g&&p.comma?o(p.comma,"UNEXPECTED_TOKEN",`Unexpected , in ${a}`):g<r.items.length-1&&o(p.start,"UNEXPECTED_TOKEN",`Unexpected empty item in ${a}`),p.comment&&(u.comment?u.comment+="\n"+p.comment:u.comment=p.comment),l=p.end;continue}!s&&n.options.strict&&Pt(f)&&o(f,"MULTILINE_IMPLICIT_KEY","Implicit keys of flow sequence pairs need to be on a single line")}if(0===g)p.comma&&o(p.comma,"UNEXPECTED_TOKEN",`Unexpected , in ${a}`);else if(p.comma||o(p.start,"MISSING_CHAR",`Missing , between ${a} items`),p.comment){let e="";e:for(const t of c)switch(t.type){case"comma":case"space":break;case"comment":e=t.source.substring(1);break e;default:break e}if(e){let t=u.items[u.items.length-1];m(t)&&(t=t.value??t.key),t.comment?t.comment+="\n"+e:t.comment=e,p.comment=p.comment.substring(e.length+1)}}if(s||d||p.found){const r=p.end,m=f?e(n,f,p,o):t(n,r,c,null,p,o);Mt(f)&&o(m.range,"BLOCK_IN_FLOW",Tt);const g=At(d??[],{flow:a,indicator:"map-value-ind",next:h,offset:m.range[2],onError:o,startOnNewline:!1});if(g.found){if(!s&&!p.found&&n.options.strict){if(d)for(const e of d){if(e===g.found)break;if("newline"===e.type){o(e,"MULTILINE_IMPLICIT_KEY","Implicit keys of flow sequence pairs need to be on a single line");break}}p.start<g.found.offset-1024&&o(g.found,"KEY_OVER_1024_CHARS","The : indicator must be at most 1024 chars after the start of an implicit flow sequence key")}}else h&&("source"in h&&h.source&&":"===h.source[0]?o(h,"MISSING_CHAR",`Missing space after : in ${a}`):o(g.start,"MISSING_CHAR",`Missing , or : between ${a} items`));const y=h?e(n,h,g,o):g.found?t(n,g.end,d,null,g,o):null;y?Mt(h)&&o(y.range,"BLOCK_IN_FLOW",Tt):g.comment&&(m.comment?m.comment+="\n"+g.comment:m.comment=g.comment);const v=new ye(m,y);if(n.options.keepSourceTokens&&(v.srcToken=i),s){const e=u;Ft(n,e.items,m)&&o(r,"DUPLICATE_KEY","Map keys must be unique"),e.items.push(v)}else{const e=new ke(n.schema);e.flow=!0,e.items.push(v),u.items.push(e)}l=y?y.range[2]:g.end}else{const r=h?e(n,h,p,o):t(n,p.end,d,null,p,o);u.items.push(r),l=r.range[2],Mt(h)&&o(r.range,"BLOCK_IN_FLOW",Tt)}}const f=s?"}":"]",[d,...h]=r.end;let p=l;if(d&&d.source===f)p=d.offset+d.source.length;else{const e=a[0].toUpperCase()+a.substring(1);o(l,c?"MISSING_CHAR":"BAD_INDENT",c?`${e} must end with a ${f}`:`${e} in block collection must be sufficiently indented and end with a ${f}`),d&&1!==d.source.length&&h.unshift(d)}if(h.length>0){const e=Nt(h,p,n.options.strict,o);e.comment&&(u.comment?u.comment+="\n"+e.comment:u.comment=e.comment),u.range=[r.offset,p,e.offset]}else u.range=[r.offset,p,p];return u}(e,t,n,r,i),a=s.constructor;return"!"===o||o===a.tagName?(s.tag=a.tagName,s):(o&&(s.tag=o),s)}function Bt(e,t,n){const r=e.offset,o=function({offset:e,props:t},n,r){if("block-scalar-header"!==t[0].type)return r(t[0],"IMPOSSIBLE","Block scalar header not found"),null;const{source:o}=t[0],i=o[0];let s=0,a="",u=-1;for(let d=1;d<o.length;++d){const t=o[d];if(a||"-"!==t&&"+"!==t){const n=Number(t);!s&&n?s=n:-1===u&&(u=e+d)}else a=t}-1!==u&&r(u,"UNEXPECTED_TOKEN",`Block scalar header includes extra characters: ${o}`);let c=!1,l="",f=o.length;for(let d=1;d<t.length;++d){const e=t[d];switch(e.type){case"space":c=!0;case"newline":f+=e.source.length;break;case"comment":if(n&&!c){r(e,"MISSING_CHAR","Comments must be separated from other tokens by white space characters")}f+=e.source.length,l=e.source.substring(1);break;case"error":r(e,"UNEXPECTED_TOKEN",e.message),f+=e.source.length;break;default:{r(e,"UNEXPECTED_TOKEN",`Unexpected token in block scalar header: ${e.type}`);const t=e.source;t&&"string"==typeof t&&(f+=t.length)}}}return{mode:i,indent:s,chomp:a,comment:l,length:f}}(e,t,n);if(!o)return{value:"",type:null,comment:"",range:[r,r,r]};const i=">"===o.mode?U.BLOCK_FOLDED:U.BLOCK_LITERAL,s=e.source?function(e){const t=e.split(/\n( *)/),n=t[0],r=n.match(/^( *)/),o=[r?.[1]?[r[1],n.slice(r[1].length)]:["",n]];for(let i=1;i<t.length;i+=2)o.push([t[i],t[i+1]]);return o}(e.source):[];let a=s.length;for(let m=s.length-1;m>=0;--m){const e=s[m][1];if(""!==e&&"\r"!==e)break;a=m}if(0===a){const t="+"===o.chomp&&s.length>0?"\n".repeat(Math.max(1,s.length-1)):"";let n=r+o.length;return e.source&&(n+=e.source.length),{value:t,type:i,comment:o.comment,range:[r,n,n]}}let u=e.indent+o.indent,c=e.offset+o.length,l=0;for(let m=0;m<a;++m){const[e,t]=s[m];if(""!==t&&"\r"!==t){if(e.length<u){const t="Block scalars with more-indented leading empty lines must use an explicit indentation indicator";n(c+e.length,"MISSING_CHAR",t)}0===o.indent&&(u=e.length),l=m;break}0===o.indent&&e.length>u&&(u=e.length),c+=e.length+t.length+1}for(let m=s.length-1;m>=a;--m)s[m][0].length>u&&(a=m+1);let f="",d="",h=!1;for(let m=0;m<l;++m)f+=s[m][0].slice(u)+"\n";for(let m=l;m<a;++m){let[e,t]=s[m];c+=e.length+t.length+1;const r="\r"===t[t.length-1];if(r&&(t=t.slice(0,-1)),t&&e.length<u){const i=`Block scalar lines must not be less indented than their ${o.indent?"explicit indentation indicator":"first line"}`;n(c-t.length-(r?2:1),"BAD_INDENT",i),e=""}i===U.BLOCK_LITERAL?(f+=d+e.slice(u)+t,d="\n"):e.length>u||"\t"===t[0]?(" "===d?d="\n":h||"\n"!==d||(d="\n\n"),f+=d+e.slice(u)+t,d="\n",h=!0):""===t?"\n"===d?f+="\n":d="\n":(f+=d+t,d=" ",h=!1)}switch(o.chomp){case"-":break;case"+":for(let e=a;e<s.length;++e)f+="\n"+s[e][0].slice(u);"\n"!==f[f.length-1]&&(f+="\n");break;default:f+="\n"}const p=r+o.length+e.source.length;return{value:f,type:i,comment:o.comment,range:[r,p,p]}}function Lt(e,t,n){const{offset:r,type:o,source:i,end:s}=e;let a,u;const c=(e,t,o)=>n(r+e,t,o);switch(o){case"scalar":a=U.PLAIN,u=function(e,t){let n="";switch(e[0]){case"\t":n="a tab character";break;case",":n="flow indicator character ,";break;case"%":n="directive indicator character %";break;case"|":case">":n=`block scalar indicator ${e[0]}`;break;case"@":case"`":n=`reserved character ${e[0]}`}n&&t(0,"BAD_SCALAR_START",`Plain value cannot start with ${n}`);return zt(e)}(i,c);break;case"single-quoted-scalar":a=U.QUOTE_SINGLE,u=function(e,t){"'"===e[e.length-1]&&1!==e.length||t(e.length,"MISSING_CHAR","Missing closing 'quote");return zt(e.slice(1,-1)).replace(/''/g,"'")}(i,c);break;case"double-quoted-scalar":a=U.QUOTE_DOUBLE,u=function(e,t){let n="";for(let r=1;r<e.length-1;++r){const o=e[r];if("\r"!==o||"\n"!==e[r+1])if("\n"===o){const{fold:t,offset:o}=Ut(e,r);n+=t,r=o}else if("\\"===o){let o=e[++r];const i=qt[o];if(i)n+=i;else if("\n"===o)for(o=e[r+1];" "===o||"\t"===o;)o=e[1+ ++r];else if("\r"===o&&"\n"===e[r+1])for(o=e[1+ ++r];" "===o||"\t"===o;)o=e[1+ ++r];else if("x"===o||"u"===o||"U"===o){const i={x:2,u:4,U:8}[o];n+=Vt(e,r+1,i,t),r+=i}else{const o=e.substr(r-1,2);t(r-1,"BAD_DQ_ESCAPE",`Invalid escape sequence ${o}`),n+=o}}else if(" "===o||"\t"===o){const t=r;let i=e[r+1];for(;" "===i||"\t"===i;)i=e[1+ ++r];"\n"===i||"\r"===i&&"\n"===e[r+2]||(n+=r>t?e.slice(t,r+1):o)}else n+=o}'"'===e[e.length-1]&&1!==e.length||t(e.length,"MISSING_CHAR",'Missing closing "quote');return n}(i,c);break;default:return n(e,"UNEXPECTED_TOKEN",`Expected a flow scalar value, but found: ${o}`),{value:"",type:null,comment:"",range:[r,r+i.length,r+i.length]}}const l=r+i.length,f=Nt(s,l,t,n);return{value:u,type:a,comment:f.comment,range:[r,l,f.offset]}}function zt(e){let t,n;try{t=new RegExp("(.*?)(?<![ \t])[ \t]*\r?\n","sy"),n=new RegExp("[ \t]*(.*?)(?:(?<![ \t])[ \t]*)?\r?\n","sy")}catch(u){t=/(.*?)[ \t]*\r?\n/sy,n=/[ \t]*(.*?)[ \t]*\r?\n/sy}let r=t.exec(e);if(!r)return e;let o=r[1],i=" ",s=t.lastIndex;for(n.lastIndex=s;r=n.exec(e);)""===r[1]?"\n"===i?o+=i:i="\n":(o+=i+r[1],i=" "),s=n.lastIndex;const a=/[ \t]*(.*)/sy;return a.lastIndex=s,r=a.exec(e),o+i+(r?.[1]??"")}function Ut(e,t){let n="",r=e[t+1];for(;!(" "!==r&&"\t"!==r&&"\n"!==r&&"\r"!==r||"\r"===r&&"\n"!==e[t+2]);)"\n"===r&&(n+="\n"),r=e[(t+=1)+1];return n||(n=" "),{fold:n,offset:t}}const qt={0:"\0",a:"\x07",b:"\b",e:"\x1b",f:"\f",n:"\n",r:"\r",t:"\t",v:"\v",N:"\x85",_:"\xa0",L:"\u2028",P:"\u2029"," ":" ",'"':'"',"/":"/","\\":"\\","\t":"\t"};function Vt(e,t,n,r){const o=e.substr(t,n),i=o.length===n&&/^[0-9a-fA-F]+$/.test(o)?parseInt(o,16):NaN;if(isNaN(i)){const o=e.substr(t-2,n+2);return r(t-2,"BAD_DQ_ESCAPE",`Invalid escape sequence ${o}`),o}return String.fromCodePoint(i)}function Qt(e,t,n,r){const{value:o,type:i,comment:s,range:a}="block-scalar"===t.type?Bt(t,e.options.strict,r):Lt(t,e.options.strict,r),u=n?e.directives.tagName(n.source,(e=>r(n,"TAG_RESOLVE_FAILED",e))):null,l=n&&u?function(e,t,n,r,o){if("!"===n)return e[c];const i=[];for(const a of e.tags)if(!a.collection&&a.tag===n){if(!a.default||!a.test)return a;i.push(a)}for(const a of i)if(a.test?.test(t))return a;const s=e.knownTags[n];if(s&&!s.collection)return e.tags.push(Object.assign({},s,{default:!1,test:void 0})),s;return o(r,"TAG_RESOLVE_FAILED",`Unresolved tag: ${n}`,"tag:yaml.org,2002:str"!==n),e[c]}(e.schema,o,u,n,r):"scalar"===t.type?function({directives:e,schema:t},n,r,o){const i=t.tags.find((e=>e.default&&e.test?.test(n)))||t[c];if(t.compat){const s=t.compat.find((e=>e.default&&e.test?.test(n)))??t[c];if(i.tag!==s.tag){o(r,"TAG_RESOLVE_FAILED",`Value may be parsed as either ${e.tagString(i.tag)} or ${e.tagString(s.tag)}`,!0)}}return i}(e,o,t,r):e.schema[c];let f;try{const i=l.resolve(o,(e=>r(n??t,"TAG_RESOLVE_FAILED",e)),e.options);f=g(i)?i:new U(i)}catch(d){const e=d instanceof Error?d.message:String(d);r(n??t,"TAG_RESOLVE_FAILED",e),f=new U(o)}return f.range=a,f.source=o,i&&(f.type=i),u&&(f.tag=u),l.format&&(f.format=l.format),s&&(f.comment=s),f}function Xt(e,t,n){if(t){null===n&&(n=t.length);for(let r=n-1;r>=0;--r){let n=t[r];switch(n.type){case"space":case"comment":case"newline":e-=n.source.length;continue}for(n=t[++r];"space"===n?.type;)e+=n.source.length,n=t[++r];break}}return e}const Ht={composeNode:Kt,composeEmptyNode:Jt};function Kt(e,t,n,r){const{spaceBefore:o,comment:i,anchor:s,tag:a}=n;let u,c=!0;switch(t.type){case"alias":u=function({options:e},{offset:t,source:n,end:r},o){const i=new B(n.substring(1));""===i.source&&o(t,"BAD_ALIAS","Alias cannot be an empty string");i.source.endsWith(":")&&o(t+n.length-1,"BAD_ALIAS","Alias ending in : is ambiguous",!0);const s=t+n.length,a=Nt(r,s,e.strict,o);i.range=[t,s,a.offset],a.comment&&(i.comment=a.comment);return i}(e,t,r),(s||a)&&r(t,"ALIAS_PROPS","An alias node must not specify any properties");break;case"scalar":case"single-quoted-scalar":case"double-quoted-scalar":case"block-scalar":u=Qt(e,t,a,r),s&&(u.anchor=s.source.substring(1));break;case"block-map":case"block-seq":case"flow-collection":u=function(e,t,n,r,o){const i=r?t.directives.tagName(r.source,(e=>o(r,"TAG_RESOLVE_FAILED",e))):null,s="block-map"===n.type?"map":"block-seq"===n.type?"seq":"{"===n.start.source?"map":"seq";if(!r||!i||"!"===i||i===ke.tagName&&"map"===s||i===De.tagName&&"seq"===s||!s)return Rt(e,t,n,o,i);let a=t.schema.tags.find((e=>e.tag===i&&e.collection===s));if(!a){const u=t.schema.knownTags[i];if(!u||u.collection!==s)return u?.collection?o(r,"BAD_COLLECTION_TYPE",`${u.tag} used for ${s} collection, but expects ${u.collection}`,!0):o(r,"TAG_RESOLVE_FAILED",`Unresolved tag: ${i}`,!0),Rt(e,t,n,o,i);t.schema.tags.push(Object.assign({},u,{default:!1})),a=u}const u=Rt(e,t,n,o,i,a),c=a.resolve?.(u,(e=>o(r,"TAG_RESOLVE_FAILED",e)),t.options)??u,l=b(c)?c:new U(c);return l.range=u.range,l.tag=i,a?.format&&(l.format=a.format),l}(Ht,e,t,a,r),s&&(u.anchor=s.source.substring(1));break;default:r(t,"UNEXPECTED_TOKEN","error"===t.type?t.message:`Unsupported token (type: ${t.type})`),u=Jt(e,t.offset,void 0,null,n,r),c=!1}return s&&""===u.anchor&&r(s,"BAD_ALIAS","Anchor cannot be an empty string"),o&&(u.spaceBefore=!0),i&&("scalar"===t.type&&""===t.source?u.comment=i:u.commentBefore=i),e.options.keepSourceTokens&&c&&(u.srcToken=t),u}function Jt(e,t,n,r,{spaceBefore:o,comment:i,anchor:s,tag:a,end:u},c){const l=Qt(e,{type:"scalar",offset:Xt(t,n,r),indent:-1,source:""},a,c);return s&&(l.anchor=s.source.substring(1),""===l.anchor&&c(s,"BAD_ALIAS","Anchor cannot be an empty string")),o&&(l.spaceBefore=!0),i&&(l.comment=i,l.range[2]=u),l}function Wt(e){if("number"==typeof e)return[e,e+1];if(Array.isArray(e))return 2===e.length?e:[e[0],e[1]];const{offset:t,source:n}=e;return[t,t+("string"==typeof n?n.length:1)]}function Gt(e){let t="",n=!1,r=!1;for(let o=0;o<e.length;++o){const i=e[o];switch(i[0]){case"#":t+=(""===t?"":r?"\n\n":"\n")+(i.substring(1)||" "),n=!0,r=!1;break;case"%":"#"!==e[o+1]?.[0]&&(o+=1),n=!1;break;default:n||(r=!0),n=!1}}return{comment:t,afterEmptyLine:r}}class Zt{constructor(e={}){this.doc=null,this.atDirectives=!1,this.prelude=[],this.errors=[],this.warnings=[],this.onError=(e,t,n,r)=>{const o=Wt(e);r?this.warnings.push(new Ot(o,t,n)):this.errors.push(new Ct(o,t,n))},this.directives=new j({version:e.version||"1.2"}),this.options=e}decorate(e,t){const{comment:n,afterEmptyLine:r}=Gt(this.prelude);if(n){const o=e.contents;if(t)e.comment=e.comment?`${e.comment}\n${n}`:n;else if(r||e.directives.docStart||!o)e.commentBefore=n;else if(v(o)&&!o.flow&&o.items.length>0){let e=o.items[0];m(e)&&(e=e.key);const t=e.commentBefore;e.commentBefore=t?`${n}\n${t}`:n}else{const e=o.commentBefore;o.commentBefore=e?`${n}\n${e}`:n}}t?(Array.prototype.push.apply(e.errors,this.errors),Array.prototype.push.apply(e.warnings,this.warnings)):(e.errors=this.errors,e.warnings=this.warnings),this.prelude=[],this.errors=[],this.warnings=[]}streamInfo(){return{comment:Gt(this.prelude).comment,directives:this.directives,errors:this.errors,warnings:this.warnings}}*compose(e,t=!1,n=-1){for(const r of e)yield*this.next(r);yield*this.end(t,n)}*next(e){switch(e.type){case"directive":this.directives.add(e.source,((t,n,r)=>{const o=Wt(e);o[0]+=t,this.onError(o,"BAD_DIRECTIVE",n,r)})),this.prelude.push(e.source),this.atDirectives=!0;break;case"document":{const t=function(e,t,{offset:n,start:r,value:o,end:i},s){const a=Object.assign({_directives:t},e),u=new xt(void 0,a),c={atRoot:!0,directives:u.directives,options:u.options,schema:u.schema},l=At(r,{indicator:"doc-start",next:o??i?.[0],offset:n,onError:s,startOnNewline:!0});l.found&&(u.directives.docStart=!0,!o||"block-map"!==o.type&&"block-seq"!==o.type||l.hasNewline||s(l.end,"MISSING_CHAR","Block collection cannot start on same line with directives-end marker")),u.contents=o?Kt(c,o,l,s):Jt(c,l.end,r,null,l,s);const f=u.contents.range[2],d=Nt(i,f,!1,s);return d.comment&&(u.comment=d.comment),u.range=[n,f,d.offset],u}(this.options,this.directives,e,this.onError);this.atDirectives&&!t.directives.docStart&&this.onError(e,"MISSING_CHAR","Missing directives-end/doc-start indicator line"),this.decorate(t,!1),this.doc&&(yield this.doc),this.doc=t,this.atDirectives=!1;break}case"byte-order-mark":case"space":break;case"comment":case"newline":this.prelude.push(e.source);break;case"error":{const t=e.source?`${e.message}: ${JSON.stringify(e.source)}`:e.message,n=new Ct(Wt(e),"UNEXPECTED_TOKEN",t);this.atDirectives||!this.doc?this.errors.push(n):this.doc.errors.push(n);break}case"doc-end":{if(!this.doc){const t="Unexpected doc-end without preceding document";this.errors.push(new Ct(Wt(e),"UNEXPECTED_TOKEN",t));break}this.doc.directives.docEnd=!0;const t=Nt(e.end,e.offset+e.source.length,this.doc.options.strict,this.onError);if(this.decorate(this.doc,!0),t.comment){const e=this.doc.comment;this.doc.comment=e?`${e}\n${t.comment}`:t.comment}this.doc.range[2]=t.offset;break}default:this.errors.push(new Ct(Wt(e),"UNEXPECTED_TOKEN",`Unsupported token ${e.type}`))}}*end(e=!1,t=-1){if(this.doc)this.decorate(this.doc,!0),yield this.doc,this.doc=null;else if(e){const e=Object.assign({_directives:this.directives},this.options),n=new xt(void 0,e);this.atDirectives&&this.onError(t,"MISSING_CHAR","Missing directives-end indicator line"),n.range=[0,t,t],this.decorate(n,!1),yield n}}}function Yt(e,t=!0,n){if(e){const r=(e,t,r)=>{const o="number"==typeof e?e:Array.isArray(e)?e[0]:e.offset;if(!n)throw new Ct([o,o+1],t,r);n(o,t,r)};switch(e.type){case"scalar":case"single-quoted-scalar":case"double-quoted-scalar":return Lt(e,t,r);case"block-scalar":return Bt(e,t,r)}}return null}function en(e,t){const{implicitKey:n=!1,indent:r,inFlow:o=!1,offset:i=-1,type:s="PLAIN"}=t,a=ce({type:s,value:e},{implicitKey:n,indent:r>0?" ".repeat(r):"",inFlow:o,options:{blockQuote:!0,lineWidth:-1}}),u=t.end??[{type:"newline",offset:-1,indent:r,source:"\n"}];switch(a[0]){case"|":case">":{const e=a.indexOf("\n"),t=a.substring(0,e),n=a.substring(e+1)+"\n",o=[{type:"block-scalar-header",offset:i,indent:r,source:t}];return nn(o,u)||o.push({type:"newline",offset:-1,indent:r,source:"\n"}),{type:"block-scalar",offset:i,indent:r,props:o,source:n}}case'"':return{type:"double-quoted-scalar",offset:i,indent:r,source:a,end:u};case"'":return{type:"single-quoted-scalar",offset:i,indent:r,source:a,end:u};default:return{type:"scalar",offset:i,indent:r,source:a,end:u}}}function tn(e,t,n={}){let{afterKey:r=!1,implicitKey:o=!1,inFlow:i=!1,type:s}=n,a="indent"in e?e.indent:null;if(r&&"number"==typeof a&&(a+=2),!s)switch(e.type){case"single-quoted-scalar":s="QUOTE_SINGLE";break;case"double-quoted-scalar":s="QUOTE_DOUBLE";break;case"block-scalar":{const t=e.props[0];if("block-scalar-header"!==t.type)throw new Error("Invalid block scalar header");s=">"===t.source[0]?"BLOCK_FOLDED":"BLOCK_LITERAL";break}default:s="PLAIN"}const u=ce({type:s,value:t},{implicitKey:o||null===a,indent:null!==a&&a>0?" ".repeat(a):"",inFlow:i,options:{blockQuote:!0,lineWidth:-1}});switch(u[0]){case"|":case">":!function(e,t){const n=t.indexOf("\n"),r=t.substring(0,n),o=t.substring(n+1)+"\n";if("block-scalar"===e.type){const t=e.props[0];if("block-scalar-header"!==t.type)throw new Error("Invalid block scalar header");t.source=r,e.source=o}else{const{offset:t}=e,n="indent"in e?e.indent:-1,i=[{type:"block-scalar-header",offset:t,indent:n,source:r}];nn(i,"end"in e?e.end:void 0)||i.push({type:"newline",offset:-1,indent:n,source:"\n"});for(const r of Object.keys(e))"type"!==r&&"offset"!==r&&delete e[r];Object.assign(e,{type:"block-scalar",indent:n,props:i,source:o})}}(e,u);break;case'"':rn(e,u,"double-quoted-scalar");break;case"'":rn(e,u,"single-quoted-scalar");break;default:rn(e,u,"scalar")}}function nn(e,t){if(t)for(const n of t)switch(n.type){case"space":case"comment":e.push(n);break;case"newline":return e.push(n),!0}return!1}function rn(e,t,n){switch(e.type){case"scalar":case"double-quoted-scalar":case"single-quoted-scalar":e.type=n,e.source=t;break;case"block-scalar":{const r=e.props.slice(1);let o=t.length;"block-scalar-header"===e.props[0].type&&(o-=e.props[0].source.length);for(const e of r)e.offset+=o;delete e.props,Object.assign(e,{type:n,source:t,end:r});break}case"block-map":case"block-seq":{const r={type:"newline",offset:e.offset+t.length,indent:e.indent,source:"\n"};delete e.items,Object.assign(e,{type:n,source:t,end:[r]});break}default:{const r="indent"in e?e.indent:-1,o="end"in e&&Array.isArray(e.end)?e.end.filter((e=>"space"===e.type||"comment"===e.type||"newline"===e.type)):[];for(const t of Object.keys(e))"type"!==t&&"offset"!==t&&delete e[t];Object.assign(e,{type:n,indent:r,source:t,end:o})}}}const on=e=>"type"in e?sn(e):an(e);function sn(e){switch(e.type){case"block-scalar":{let t="";for(const n of e.props)t+=sn(n);return t+e.source}case"block-map":case"block-seq":{let t="";for(const n of e.items)t+=an(n);return t}case"flow-collection":{let t=e.start.source;for(const n of e.items)t+=an(n);for(const n of e.end)t+=n.source;return t}case"document":{let t=an(e);if(e.end)for(const n of e.end)t+=n.source;return t}default:{let t=e.source;if("end"in e&&e.end)for(const n of e.end)t+=n.source;return t}}}function an({start:e,key:t,sep:n,value:r}){let o="";for(const i of e)o+=i.source;if(t&&(o+=sn(t)),n)for(const i of n)o+=i.source;return r&&(o+=sn(r)),o}const un=Symbol("break visit"),cn=Symbol("skip children"),ln=Symbol("remove item");function fn(e,t){"type"in e&&"document"===e.type&&(e={start:e.start,value:e.value}),dn(Object.freeze([]),e,t)}function dn(e,t,n){let r=n(t,e);if("symbol"==typeof r)return r;for(const o of["key","value"]){const i=t[o];if(i&&"items"in i){for(let t=0;t<i.items.length;++t){const r=dn(Object.freeze(e.concat([[o,t]])),i.items[t],n);if("number"==typeof r)t=r-1;else{if(r===un)return un;r===ln&&(i.items.splice(t,1),t-=1)}}"function"==typeof r&&"key"===o&&(r=r(t,e))}}return"function"==typeof r?r(t,e):r}fn.BREAK=un,fn.SKIP=cn,fn.REMOVE=ln,fn.itemAtPath=(e,t)=>{let n=e;for(const[r,o]of t){const e=n?.[r];if(!e||!("items"in e))return;n=e.items[o]}return n},fn.parentCollection=(e,t)=>{const n=fn.itemAtPath(e,t.slice(0,-1)),r=t[t.length-1][0],o=n?.[r];if(o&&"items"in o)return o;throw new Error("Parent collection not found")};const hn="\ufeff",pn="\x02",mn="\x18",gn="\x1f",yn=e=>!!e&&"items"in e,vn=e=>!!e&&("scalar"===e.type||"single-quoted-scalar"===e.type||"double-quoted-scalar"===e.type||"block-scalar"===e.type);function bn(e){switch(e){case hn:return"<BOM>";case pn:return"<DOC>";case mn:return"<FLOW_END>";case gn:return"<SCALAR>";default:return JSON.stringify(e)}}function _n(e){switch(e){case hn:return"byte-order-mark";case pn:return"doc-mode";case mn:return"flow-error-end";case gn:return"scalar";case"---":return"doc-start";case"...":return"doc-end";case"":case"\n":case"\r\n":return"newline";case"-":return"seq-item-ind";case"?":return"explicit-key-ind";case":":return"map-value-ind";case"{":return"flow-map-start";case"}":return"flow-map-end";case"[":return"flow-seq-start";case"]":return"flow-seq-end";case",":return"comma"}switch(e[0]){case" ":case"\t":return"space";case"#":return"comment";case"%":return"directive-line";case"*":return"alias";case"&":return"anchor";case"!":return"tag";case"'":return"single-quoted-scalar";case'"':return"double-quoted-scalar";case"|":case">":return"block-scalar-header"}return null}function wn(e){switch(e){case void 0:case" ":case"\n":case"\r":case"\t":return!0;default:return!1}}const En="0123456789ABCDEFabcdef".split(""),kn="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz-#;/?:@&=+$_.!~*'()".split(""),xn=",[]{}".split(""),Dn=" ,[]{}\n\r\t".split(""),Sn=e=>!e||Dn.includes(e);class Cn{constructor(){this.atEnd=!1,this.blockScalarIndent=-1,this.blockScalarKeep=!1,this.buffer="",this.flowKey=!1,this.flowLevel=0,this.indentNext=0,this.indentValue=0,this.lineEndPos=null,this.next=null,this.pos=0}*lex(e,t=!1){e&&(this.buffer=this.buffer?this.buffer+e:e,this.lineEndPos=null),this.atEnd=!t;let n=this.next??"stream";for(;n&&(t||this.hasChars(1));)n=yield*this.parseNext(n)}atLineEnd(){let e=this.pos,t=this.buffer[e];for(;" "===t||"\t"===t;)t=this.buffer[++e];return!t||"#"===t||"\n"===t||"\r"===t&&"\n"===this.buffer[e+1]}charAt(e){return this.buffer[this.pos+e]}continueScalar(e){let t=this.buffer[e];if(this.indentNext>0){let n=0;for(;" "===t;)t=this.buffer[++n+e];if("\r"===t){const t=this.buffer[n+e+1];if("\n"===t||!t&&!this.atEnd)return e+n+1}return"\n"===t||n>=this.indentNext||!t&&!this.atEnd?e+n:-1}if("-"===t||"."===t){const t=this.buffer.substr(e,3);if(("---"===t||"..."===t)&&wn(this.buffer[e+3]))return-1}return e}getLine(){let e=this.lineEndPos;return("number"!=typeof e||-1!==e&&e<this.pos)&&(e=this.buffer.indexOf("\n",this.pos),this.lineEndPos=e),-1===e?this.atEnd?this.buffer.substring(this.pos):null:("\r"===this.buffer[e-1]&&(e-=1),this.buffer.substring(this.pos,e))}hasChars(e){return this.pos+e<=this.buffer.length}setNext(e){return this.buffer=this.buffer.substring(this.pos),this.pos=0,this.lineEndPos=null,this.next=e,null}peek(e){return this.buffer.substr(this.pos,e)}*parseNext(e){switch(e){case"stream":return yield*this.parseStream();case"line-start":return yield*this.parseLineStart();case"block-start":return yield*this.parseBlockStart();case"doc":return yield*this.parseDocument();case"flow":return yield*this.parseFlowCollection();case"quoted-scalar":return yield*this.parseQuotedScalar();case"block-scalar":return yield*this.parseBlockScalar();case"plain-scalar":return yield*this.parsePlainScalar()}}*parseStream(){let e=this.getLine();if(null===e)return this.setNext("stream");if(e[0]===hn&&(yield*this.pushCount(1),e=e.substring(1)),"%"===e[0]){let t=e.length;const n=e.indexOf("#");if(-1!==n){const r=e[n-1];" "!==r&&"\t"!==r||(t=n-1)}for(;;){const n=e[t-1];if(" "!==n&&"\t"!==n)break;t-=1}const r=(yield*this.pushCount(t))+(yield*this.pushSpaces(!0));return yield*this.pushCount(e.length-r),this.pushNewline(),"stream"}if(this.atLineEnd()){const t=yield*this.pushSpaces(!0);return yield*this.pushCount(e.length-t),yield*this.pushNewline(),"stream"}return yield pn,yield*this.parseLineStart()}*parseLineStart(){const e=this.charAt(0);if(!e&&!this.atEnd)return this.setNext("line-start");if("-"===e||"."===e){if(!this.atEnd&&!this.hasChars(4))return this.setNext("line-start");const e=this.peek(3);if("---"===e&&wn(this.charAt(3)))return yield*this.pushCount(3),this.indentValue=0,this.indentNext=0,"doc";if("..."===e&&wn(this.charAt(3)))return yield*this.pushCount(3),"stream"}return this.indentValue=yield*this.pushSpaces(!1),this.indentNext>this.indentValue&&!wn(this.charAt(1))&&(this.indentNext=this.indentValue),yield*this.parseBlockStart()}*parseBlockStart(){const[e,t]=this.peek(2);if(!t&&!this.atEnd)return this.setNext("block-start");if(("-"===e||"?"===e||":"===e)&&wn(t)){const e=(yield*this.pushCount(1))+(yield*this.pushSpaces(!0));return this.indentNext=this.indentValue+1,this.indentValue+=e,yield*this.parseBlockStart()}return"doc"}*parseDocument(){yield*this.pushSpaces(!0);const e=this.getLine();if(null===e)return this.setNext("doc");let t=yield*this.pushIndicators();switch(e[t]){case"#":yield*this.pushCount(e.length-t);case void 0:return yield*this.pushNewline(),yield*this.parseLineStart();case"{":case"[":return yield*this.pushCount(1),this.flowKey=!1,this.flowLevel=1,"flow";case"}":case"]":return yield*this.pushCount(1),"doc";case"*":return yield*this.pushUntil(Sn),"doc";case'"':case"'":return yield*this.parseQuotedScalar();case"|":case">":return t+=(yield*this.parseBlockScalarHeader()),t+=(yield*this.pushSpaces(!0)),yield*this.pushCount(e.length-t),yield*this.pushNewline(),yield*this.parseBlockScalar();default:return yield*this.parsePlainScalar()}}*parseFlowCollection(){let e,t,n=-1;do{e=yield*this.pushNewline(),e>0?(t=yield*this.pushSpaces(!1),this.indentValue=n=t):t=0,t+=(yield*this.pushSpaces(!0))}while(e+t>0);const r=this.getLine();if(null===r)return this.setNext("flow");if(-1!==n&&n<this.indentNext&&"#"!==r[0]||0===n&&(r.startsWith("---")||r.startsWith("..."))&&wn(r[3])){if(!(n===this.indentNext-1&&1===this.flowLevel&&("]"===r[0]||"}"===r[0])))return this.flowLevel=0,yield mn,yield*this.parseLineStart()}let o=0;for(;","===r[o];)o+=(yield*this.pushCount(1)),o+=(yield*this.pushSpaces(!0)),this.flowKey=!1;switch(o+=(yield*this.pushIndicators()),r[o]){case void 0:return"flow";case"#":return yield*this.pushCount(r.length-o),"flow";case"{":case"[":return yield*this.pushCount(1),this.flowKey=!1,this.flowLevel+=1,"flow";case"}":case"]":return yield*this.pushCount(1),this.flowKey=!0,this.flowLevel-=1,this.flowLevel?"flow":"doc";case"*":return yield*this.pushUntil(Sn),"flow";case'"':case"'":return this.flowKey=!0,yield*this.parseQuotedScalar();case":":{const e=this.charAt(1);if(this.flowKey||wn(e)||","===e)return this.flowKey=!1,yield*this.pushCount(1),yield*this.pushSpaces(!0),"flow"}default:return this.flowKey=!1,yield*this.parsePlainScalar()}}*parseQuotedScalar(){const e=this.charAt(0);let t=this.buffer.indexOf(e,this.pos+1);if("'"===e)for(;-1!==t&&"'"===this.buffer[t+1];)t=this.buffer.indexOf("'",t+2);else for(;-1!==t;){let e=0;for(;"\\"===this.buffer[t-1-e];)e+=1;if(e%2==0)break;t=this.buffer.indexOf('"',t+1)}const n=this.buffer.substring(0,t);let r=n.indexOf("\n",this.pos);if(-1!==r){for(;-1!==r;){const e=this.continueScalar(r+1);if(-1===e)break;r=n.indexOf("\n",e)}-1!==r&&(t=r-("\r"===n[r-1]?2:1))}if(-1===t){if(!this.atEnd)return this.setNext("quoted-scalar");t=this.buffer.length}return yield*this.pushToIndex(t+1,!1),this.flowLevel?"flow":"doc"}*parseBlockScalarHeader(){this.blockScalarIndent=-1,this.blockScalarKeep=!1;let e=this.pos;for(;;){const t=this.buffer[++e];if("+"===t)this.blockScalarKeep=!0;else if(t>"0"&&t<="9")this.blockScalarIndent=Number(t)-1;else if("-"!==t)break}return yield*this.pushUntil((e=>wn(e)||"#"===e))}*parseBlockScalar(){let e,t=this.pos-1,n=0;e:for(let r=this.pos;e=this.buffer[r];++r)switch(e){case" ":n+=1;break;case"\n":t=r,n=0;break;case"\r":{const e=this.buffer[r+1];if(!e&&!this.atEnd)return this.setNext("block-scalar");if("\n"===e)break}default:break e}if(!e&&!this.atEnd)return this.setNext("block-scalar");if(n>=this.indentNext){-1===this.blockScalarIndent?this.indentNext=n:this.indentNext+=this.blockScalarIndent;do{const e=this.continueScalar(t+1);if(-1===e)break;t=this.buffer.indexOf("\n",e)}while(-1!==t);if(-1===t){if(!this.atEnd)return this.setNext("block-scalar");t=this.buffer.length}}if(!this.blockScalarKeep)for(;;){let e=t-1,r=this.buffer[e];"\r"===r&&(r=this.buffer[--e]);const o=e;for(;" "===r||"\t"===r;)r=this.buffer[--e];if(!("\n"===r&&e>=this.pos&&e+1+n>o))break;t=e}return yield gn,yield*this.pushToIndex(t+1,!0),yield*this.parseLineStart()}*parsePlainScalar(){const e=this.flowLevel>0;let t,n=this.pos-1,r=this.pos-1;for(;t=this.buffer[++r];)if(":"===t){const t=this.buffer[r+1];if(wn(t)||e&&","===t)break;n=r}else if(wn(t)){let o=this.buffer[r+1];if("\r"===t&&("\n"===o?(r+=1,t="\n",o=this.buffer[r+1]):n=r),"#"===o||e&&xn.includes(o))break;if("\n"===t){const e=this.continueScalar(r+1);if(-1===e)break;r=Math.max(r,e-2)}}else{if(e&&xn.includes(t))break;n=r}return t||this.atEnd?(yield gn,yield*this.pushToIndex(n+1,!0),e?"flow":"doc"):this.setNext("plain-scalar")}*pushCount(e){return e>0?(yield this.buffer.substr(this.pos,e),this.pos+=e,e):0}*pushToIndex(e,t){const n=this.buffer.slice(this.pos,e);return n?(yield n,this.pos+=n.length,n.length):(t&&(yield""),0)}*pushIndicators(){switch(this.charAt(0)){case"!":return(yield*this.pushTag())+(yield*this.pushSpaces(!0))+(yield*this.pushIndicators());case"&":return(yield*this.pushUntil(Sn))+(yield*this.pushSpaces(!0))+(yield*this.pushIndicators());case"-":case"?":case":":{const e=this.flowLevel>0,t=this.charAt(1);if(wn(t)||e&&xn.includes(t))return e?this.flowKey&&(this.flowKey=!1):this.indentNext=this.indentValue+1,(yield*this.pushCount(1))+(yield*this.pushSpaces(!0))+(yield*this.pushIndicators())}}return 0}*pushTag(){if("<"===this.charAt(1)){let e=this.pos+2,t=this.buffer[e];for(;!wn(t)&&">"!==t;)t=this.buffer[++e];return yield*this.pushToIndex(">"===t?e+1:e,!1)}{let e=this.pos+1,t=this.buffer[e];for(;t;)if(kn.includes(t))t=this.buffer[++e];else{if("%"!==t||!En.includes(this.buffer[e+1])||!En.includes(this.buffer[e+2]))break;t=this.buffer[e+=3]}return yield*this.pushToIndex(e,!1)}}*pushNewline(){const e=this.buffer[this.pos];return"\n"===e?yield*this.pushCount(1):"\r"===e&&"\n"===this.charAt(1)?yield*this.pushCount(2):0}*pushSpaces(e){let t,n=this.pos-1;do{t=this.buffer[++n]}while(" "===t||e&&"\t"===t);const r=n-this.pos;return r>0&&(yield this.buffer.substr(this.pos,r),this.pos=n),r}*pushUntil(e){let t=this.pos,n=this.buffer[t];for(;!e(n);)n=this.buffer[++t];return yield*this.pushToIndex(t,!1)}}class On{constructor(){this.lineStarts=[],this.addNewLine=e=>this.lineStarts.push(e),this.linePos=e=>{let t=0,n=this.lineStarts.length;for(;t<n;){const r=t+n>>1;this.lineStarts[r]<e?t=r+1:n=r}if(this.lineStarts[t]===e)return{line:t+1,col:1};if(0===t)return{line:0,col:e};return{line:t,col:e-this.lineStarts[t-1]+1}}}}function $n(e,t){for(let n=0;n<e.length;++n)if(e[n].type===t)return!0;return!1}function An(e){for(let t=0;t<e.length;++t)switch(e[t].type){case"space":case"comment":case"newline":break;default:return t}return-1}function Pn(e){switch(e?.type){case"alias":case"scalar":case"single-quoted-scalar":case"double-quoted-scalar":case"flow-collection":return!0;default:return!1}}function jn(e){switch(e.type){case"document":return e.start;case"block-map":{const t=e.items[e.items.length-1];return t.sep??t.start}case"block-seq":return e.items[e.items.length-1].start;default:return[]}}function Fn(e){if(0===e.length)return[];let t=e.length;e:for(;--t>=0;)switch(e[t].type){case"doc-start":case"explicit-key-ind":case"map-value-ind":case"seq-item-ind":case"newline":break e}for(;"space"===e[++t]?.type;);return e.splice(t,e.length)}function In(e){if("flow-seq-start"===e.start.type)for(const t of e.items)!t.sep||t.value||$n(t.start,"explicit-key-ind")||$n(t.sep,"map-value-ind")||(t.key&&(t.value=t.key),delete t.key,Pn(t.value)?t.value.end?Array.prototype.push.apply(t.value.end,t.sep):t.value.end=t.sep:Array.prototype.push.apply(t.start,t.sep),delete t.sep)}class Nn{constructor(e){this.atNewLine=!0,this.atScalar=!1,this.indent=0,this.offset=0,this.onKeyLine=!1,this.stack=[],this.source="",this.type="",this.lexer=new Cn,this.onNewLine=e}*parse(e,t=!1){this.onNewLine&&0===this.offset&&this.onNewLine(0);for(const n of this.lexer.lex(e,t))yield*this.next(n);t||(yield*this.end())}*next(e){if(this.source=e,this.atScalar)return this.atScalar=!1,yield*this.step(),void(this.offset+=e.length);const t=_n(e);if(t)if("scalar"===t)this.atNewLine=!1,this.atScalar=!0,this.type="scalar";else{switch(this.type=t,yield*this.step(),t){case"newline":this.atNewLine=!0,this.indent=0,this.onNewLine&&this.onNewLine(this.offset+e.length);break;case"space":this.atNewLine&&" "===e[0]&&(this.indent+=e.length);break;case"explicit-key-ind":case"map-value-ind":case"seq-item-ind":this.atNewLine&&(this.indent+=e.length);break;case"doc-mode":case"flow-error-end":return;default:this.atNewLine=!1}this.offset+=e.length}else{const t=`Not a YAML token: ${e}`;yield*this.pop({type:"error",offset:this.offset,message:t,source:e}),this.offset+=e.length}}*end(){for(;this.stack.length>0;)yield*this.pop()}get sourceToken(){return{type:this.type,offset:this.offset,indent:this.indent,source:this.source}}*step(){const e=this.peek(1);if("doc-end"!==this.type||e&&"doc-end"===e.type){if(!e)return yield*this.stream();switch(e.type){case"document":return yield*this.document(e);case"alias":case"scalar":case"single-quoted-scalar":case"double-quoted-scalar":return yield*this.scalar(e);case"block-scalar":return yield*this.blockScalar(e);case"block-map":return yield*this.blockMap(e);case"block-seq":return yield*this.blockSequence(e);case"flow-collection":return yield*this.flowCollection(e);case"doc-end":return yield*this.documentEnd(e)}yield*this.pop()}else{for(;this.stack.length>0;)yield*this.pop();this.stack.push({type:"doc-end",offset:this.offset,source:this.source})}}peek(e){return this.stack[this.stack.length-e]}*pop(e){const t=e??this.stack.pop();if(t)if(0===this.stack.length)yield t;else{const e=this.peek(1);switch("block-scalar"===t.type?t.indent="indent"in e?e.indent:0:"flow-collection"===t.type&&"document"===e.type&&(t.indent=0),"flow-collection"===t.type&&In(t),e.type){case"document":e.value=t;break;case"block-scalar":e.props.push(t);break;case"block-map":{const n=e.items[e.items.length-1];if(n.value)return e.items.push({start:[],key:t,sep:[]}),void(this.onKeyLine=!0);if(!n.sep)return Object.assign(n,{key:t,sep:[]}),void(this.onKeyLine=!$n(n.start,"explicit-key-ind"));n.value=t;break}case"block-seq":{const n=e.items[e.items.length-1];n.value?e.items.push({start:[],value:t}):n.value=t;break}case"flow-collection":{const n=e.items[e.items.length-1];return void(!n||n.value?e.items.push({start:[],key:t,sep:[]}):n.sep?n.value=t:Object.assign(n,{key:t,sep:[]}))}default:yield*this.pop(),yield*this.pop(t)}if(!("document"!==e.type&&"block-map"!==e.type&&"block-seq"!==e.type||"block-map"!==t.type&&"block-seq"!==t.type)){const n=t.items[t.items.length-1];n&&!n.sep&&!n.value&&n.start.length>0&&-1===An(n.start)&&(0===t.indent||n.start.every((e=>"comment"!==e.type||e.indent<t.indent)))&&("document"===e.type?e.end=n.start:e.items.push({start:n.start}),t.items.splice(-1,1))}}else{const e="Tried to pop an empty stack";yield{type:"error",offset:this.offset,source:"",message:e}}}*stream(){switch(this.type){case"directive-line":return void(yield{type:"directive",offset:this.offset,source:this.source});case"byte-order-mark":case"space":case"comment":case"newline":return void(yield this.sourceToken);case"doc-mode":case"doc-start":{const e={type:"document",offset:this.offset,start:[]};return"doc-start"===this.type&&e.start.push(this.sourceToken),void this.stack.push(e)}}yield{type:"error",offset:this.offset,message:`Unexpected ${this.type} token in YAML stream`,source:this.source}}*document(e){if(e.value)return yield*this.lineEnd(e);switch(this.type){case"doc-start":return void(-1!==An(e.start)?(yield*this.pop(),yield*this.step()):e.start.push(this.sourceToken));case"anchor":case"tag":case"space":case"comment":case"newline":return void e.start.push(this.sourceToken)}const t=this.startBlockValue(e);t?this.stack.push(t):yield{type:"error",offset:this.offset,message:`Unexpected ${this.type} token in YAML document`,source:this.source}}*scalar(e){if("map-value-ind"===this.type){const t=Fn(jn(this.peek(2)));let n;e.end?(n=e.end,n.push(this.sourceToken),delete e.end):n=[this.sourceToken];const r={type:"block-map",offset:e.offset,indent:e.indent,items:[{start:t,key:e,sep:n}]};this.onKeyLine=!0,this.stack[this.stack.length-1]=r}else yield*this.lineEnd(e)}*blockScalar(e){switch(this.type){case"space":case"comment":case"newline":return void e.props.push(this.sourceToken);case"scalar":if(e.source=this.source,this.atNewLine=!0,this.indent=0,this.onNewLine){let e=this.source.indexOf("\n")+1;for(;0!==e;)this.onNewLine(this.offset+e),e=this.source.indexOf("\n",e)+1}yield*this.pop();break;default:yield*this.pop(),yield*this.step()}}*blockMap(e){const t=e.items[e.items.length-1];switch(this.type){case"newline":if(this.onKeyLine=!1,t.value){const n="end"in t.value?t.value.end:void 0,r=Array.isArray(n)?n[n.length-1]:void 0;"comment"===r?.type?n?.push(this.sourceToken):e.items.push({start:[this.sourceToken]})}else t.sep?t.sep.push(this.sourceToken):t.start.push(this.sourceToken);return;case"space":case"comment":if(t.value)e.items.push({start:[this.sourceToken]});else if(t.sep)t.sep.push(this.sourceToken);else{if(this.atIndentedComment(t.start,e.indent)){const n=e.items[e.items.length-2],r=n?.value?.end;if(Array.isArray(r))return Array.prototype.push.apply(r,t.start),r.push(this.sourceToken),void e.items.pop()}t.start.push(this.sourceToken)}return}if(this.indent>=e.indent){const n=!this.onKeyLine&&this.indent===e.indent&&t.sep;let r=[];if(n&&t.sep&&!t.value){const n=[];for(let r=0;r<t.sep.length;++r){const o=t.sep[r];switch(o.type){case"newline":n.push(r);break;case"space":break;case"comment":o.indent>e.indent&&(n.length=0);break;default:n.length=0}}n.length>=2&&(r=t.sep.splice(n[1]))}switch(this.type){case"anchor":case"tag":return void(n||t.value?(r.push(this.sourceToken),e.items.push({start:r}),this.onKeyLine=!0):t.sep?t.sep.push(this.sourceToken):t.start.push(this.sourceToken));case"explicit-key-ind":return t.sep||$n(t.start,"explicit-key-ind")?n||t.value?(r.push(this.sourceToken),e.items.push({start:r})):this.stack.push({type:"block-map",offset:this.offset,indent:this.indent,items:[{start:[this.sourceToken]}]}):t.start.push(this.sourceToken),void(this.onKeyLine=!0);case"map-value-ind":if($n(t.start,"explicit-key-ind"))if(t.sep)if(t.value)e.items.push({start:[],key:null,sep:[this.sourceToken]});else if($n(t.sep,"map-value-ind"))this.stack.push({type:"block-map",offset:this.offset,indent:this.indent,items:[{start:r,key:null,sep:[this.sourceToken]}]});else if(Pn(t.key)&&!$n(t.sep,"newline")){const e=Fn(t.start),n=t.key,r=t.sep;r.push(this.sourceToken),delete t.key,delete t.sep,this.stack.push({type:"block-map",offset:this.offset,indent:this.indent,items:[{start:e,key:n,sep:r}]})}else r.length>0?t.sep=t.sep.concat(r,this.sourceToken):t.sep.push(this.sourceToken);else if($n(t.start,"newline"))Object.assign(t,{key:null,sep:[this.sourceToken]});else{const e=Fn(t.start);this.stack.push({type:"block-map",offset:this.offset,indent:this.indent,items:[{start:e,key:null,sep:[this.sourceToken]}]})}else t.sep?t.value||n?e.items.push({start:r,key:null,sep:[this.sourceToken]}):$n(t.sep,"map-value-ind")?this.stack.push({type:"block-map",offset:this.offset,indent:this.indent,items:[{start:[],key:null,sep:[this.sourceToken]}]}):t.sep.push(this.sourceToken):Object.assign(t,{key:null,sep:[this.sourceToken]});return void(this.onKeyLine=!0);case"alias":case"scalar":case"single-quoted-scalar":case"double-quoted-scalar":{const o=this.flowScalar(this.type);return void(n||t.value?(e.items.push({start:r,key:o,sep:[]}),this.onKeyLine=!0):t.sep?this.stack.push(o):(Object.assign(t,{key:o,sep:[]}),this.onKeyLine=!0))}default:{const o=this.startBlockValue(e);if(o)return n&&"block-seq"!==o.type&&$n(t.start,"explicit-key-ind")&&e.items.push({start:r}),void this.stack.push(o)}}}yield*this.pop(),yield*this.step()}*blockSequence(e){const t=e.items[e.items.length-1];switch(this.type){case"newline":if(t.value){const n="end"in t.value?t.value.end:void 0,r=Array.isArray(n)?n[n.length-1]:void 0;"comment"===r?.type?n?.push(this.sourceToken):e.items.push({start:[this.sourceToken]})}else t.start.push(this.sourceToken);return;case"space":case"comment":if(t.value)e.items.push({start:[this.sourceToken]});else{if(this.atIndentedComment(t.start,e.indent)){const n=e.items[e.items.length-2],r=n?.value?.end;if(Array.isArray(r))return Array.prototype.push.apply(r,t.start),r.push(this.sourceToken),void e.items.pop()}t.start.push(this.sourceToken)}return;case"anchor":case"tag":if(t.value||this.indent<=e.indent)break;return void t.start.push(this.sourceToken);case"seq-item-ind":if(this.indent!==e.indent)break;return void(t.value||$n(t.start,"seq-item-ind")?e.items.push({start:[this.sourceToken]}):t.start.push(this.sourceToken))}if(this.indent>e.indent){const t=this.startBlockValue(e);if(t)return void this.stack.push(t)}yield*this.pop(),yield*this.step()}*flowCollection(e){const t=e.items[e.items.length-1];if("flow-error-end"===this.type){let e;do{yield*this.pop(),e=this.peek(1)}while(e&&"flow-collection"===e.type)}else if(0===e.end.length){switch(this.type){case"comma":case"explicit-key-ind":return void(!t||t.sep?e.items.push({start:[this.sourceToken]}):t.start.push(this.sourceToken));case"map-value-ind":return void(!t||t.value?e.items.push({start:[],key:null,sep:[this.sourceToken]}):t.sep?t.sep.push(this.sourceToken):Object.assign(t,{key:null,sep:[this.sourceToken]}));case"space":case"comment":case"newline":case"anchor":case"tag":return void(!t||t.value?e.items.push({start:[this.sourceToken]}):t.sep?t.sep.push(this.sourceToken):t.start.push(this.sourceToken));case"alias":case"scalar":case"single-quoted-scalar":case"double-quoted-scalar":{const n=this.flowScalar(this.type);return void(!t||t.value?e.items.push({start:[],key:n,sep:[]}):t.sep?this.stack.push(n):Object.assign(t,{key:n,sep:[]}))}case"flow-map-end":case"flow-seq-end":return void e.end.push(this.sourceToken)}const n=this.startBlockValue(e);n?this.stack.push(n):(yield*this.pop(),yield*this.step())}else{const t=this.peek(2);if("block-map"===t.type&&("map-value-ind"===this.type&&t.indent===e.indent||"newline"===this.type&&!t.items[t.items.length-1].sep))yield*this.pop(),yield*this.step();else if("map-value-ind"===this.type&&"flow-collection"!==t.type){const n=Fn(jn(t));In(e);const r=e.end.splice(1,e.end.length);r.push(this.sourceToken);const o={type:"block-map",offset:e.offset,indent:e.indent,items:[{start:n,key:e,sep:r}]};this.onKeyLine=!0,this.stack[this.stack.length-1]=o}else yield*this.lineEnd(e)}}flowScalar(e){if(this.onNewLine){let e=this.source.indexOf("\n")+1;for(;0!==e;)this.onNewLine(this.offset+e),e=this.source.indexOf("\n",e)+1}return{type:e,offset:this.offset,indent:this.indent,source:this.source}}startBlockValue(e){switch(this.type){case"alias":case"scalar":case"single-quoted-scalar":case"double-quoted-scalar":return this.flowScalar(this.type);case"block-scalar-header":return{type:"block-scalar",offset:this.offset,indent:this.indent,props:[this.sourceToken],source:""};case"flow-map-start":case"flow-seq-start":return{type:"flow-collection",offset:this.offset,indent:this.indent,start:this.sourceToken,items:[],end:[]};case"seq-item-ind":return{type:"block-seq",offset:this.offset,indent:this.indent,items:[{start:[this.sourceToken]}]};case"explicit-key-ind":{this.onKeyLine=!0;const t=Fn(jn(e));return t.push(this.sourceToken),{type:"block-map",offset:this.offset,indent:this.indent,items:[{start:t}]}}case"map-value-ind":{this.onKeyLine=!0;const t=Fn(jn(e));return{type:"block-map",offset:this.offset,indent:this.indent,items:[{start:t,key:null,sep:[this.sourceToken]}]}}}return null}atIndentedComment(e,t){return"comment"===this.type&&(!(this.indent<=t)&&e.every((e=>"newline"===e.type||"space"===e.type)))}*documentEnd(e){"doc-mode"!==this.type&&(e.end?e.end.push(this.sourceToken):e.end=[this.sourceToken],"newline"===this.type&&(yield*this.pop()))}*lineEnd(e){switch(this.type){case"comma":case"doc-start":case"doc-end":case"flow-seq-end":case"flow-map-end":case"map-value-ind":yield*this.pop(),yield*this.step();break;case"newline":this.onKeyLine=!1;default:e.end?e.end.push(this.sourceToken):e.end=[this.sourceToken],"newline"===this.type&&(yield*this.pop())}}}function Tn(e){const t=!1!==e.prettyErrors;return{lineCounter:e.lineCounter||t&&new On||null,prettyErrors:t}}function Mn(e,t={}){const{lineCounter:n,prettyErrors:r}=Tn(t),o=new Nn(n?.addNewLine),i=new Zt(t),s=Array.from(i.compose(o.parse(e)));if(r&&n)for(const a of s)a.errors.forEach($t(e,n)),a.warnings.forEach($t(e,n));return s.length>0?s:Object.assign([],{empty:!0},i.streamInfo())}function Rn(e,t={}){const{lineCounter:n,prettyErrors:r}=Tn(t),o=new Nn(n?.addNewLine),i=new Zt(t);let s=null;for(const a of i.compose(o.parse(e),!0,e.length))if(s){if("silent"!==s.options.logLevel){s.errors.push(new Ct(a.range.slice(0,2),"MULTIPLE_DOCS","Source contains multiple documents; please use YAML.parseAllDocuments()"));break}}else s=a;return r&&n&&(s.errors.forEach($t(e,n)),s.warnings.forEach($t(e,n))),s}function Bn(e,t,n){let r;"function"==typeof t?r=t:void 0===n&&t&&"object"==typeof t&&(n=t);const o=Rn(e,n);if(!o)return null;if(o.warnings.forEach((e=>de(o.options.logLevel,e))),o.errors.length>0){if("silent"!==o.options.logLevel)throw o.errors[0];o.errors=[]}return o.toJS(Object.assign({reviver:r},n))}function Ln(e,t,n){let r=null;if("function"==typeof t||Array.isArray(t)?r=t:void 0===n&&t&&(n=t),"string"==typeof n&&(n=n.length),"number"==typeof n){const e=Math.round(n);n=e<1?void 0:e>8?{indent:8}:{indent:e}}if(void 0===e){const{keepUndefined:e}=n??t??{};if(!e)return}return new xt(e,r,n).toString(n)}const zn=o},338:e=>{"use strict";e.exports=JSON.parse('{"$id":"https://raw.githubusercontent.com/ajv-validator/ajv/master/lib/refs/data.json#","description":"Meta-schema for $data reference (JSON AnySchema extension proposal)","type":"object","required":["$data"],"properties":{"$data":{"type":"string","anyOf":[{"format":"relative-json-pointer"},{"format":"json-pointer"}]}},"additionalProperties":false}')},70764:e=>{"use strict";e.exports=JSON.parse('{"$schema":"https://json-schema.org/draft/2020-12/schema","$id":"https://json-schema.org/draft/2020-12/meta/applicator","$vocabulary":{"https://json-schema.org/draft/2020-12/vocab/applicator":true},"$dynamicAnchor":"meta","title":"Applicator vocabulary meta-schema","type":["object","boolean"],"properties":{"prefixItems":{"$ref":"#/$defs/schemaArray"},"items":{"$dynamicRef":"#meta"},"contains":{"$dynamicRef":"#meta"},"additionalProperties":{"$dynamicRef":"#meta"},"properties":{"type":"object","additionalProperties":{"$dynamicRef":"#meta"},"default":{}},"patternProperties":{"type":"object","additionalProperties":{"$dynamicRef":"#meta"},"propertyNames":{"format":"regex"},"default":{}},"dependentSchemas":{"type":"object","additionalProperties":{"$dynamicRef":"#meta"},"default":{}},"propertyNames":{"$dynamicRef":"#meta"},"if":{"$dynamicRef":"#meta"},"then":{"$dynamicRef":"#meta"},"else":{"$dynamicRef":"#meta"},"allOf":{"$ref":"#/$defs/schemaArray"},"anyOf":{"$ref":"#/$defs/schemaArray"},"oneOf":{"$ref":"#/$defs/schemaArray"},"not":{"$dynamicRef":"#meta"}},"$defs":{"schemaArray":{"type":"array","minItems":1,"items":{"$dynamicRef":"#meta"}}}}')},96666:e=>{"use strict";e.exports=JSON.parse('{"$schema":"https://json-schema.org/draft/2020-12/schema","$id":"https://json-schema.org/draft/2020-12/meta/content","$vocabulary":{"https://json-schema.org/draft/2020-12/vocab/content":true},"$dynamicAnchor":"meta","title":"Content vocabulary meta-schema","type":["object","boolean"],"properties":{"contentEncoding":{"type":"string"},"contentMediaType":{"type":"string"},"contentSchema":{"$dynamicRef":"#meta"}}}')},43182:e=>{"use strict";e.exports=JSON.parse('{"$schema":"https://json-schema.org/draft/2020-12/schema","$id":"https://json-schema.org/draft/2020-12/meta/core","$vocabulary":{"https://json-schema.org/draft/2020-12/vocab/core":true},"$dynamicAnchor":"meta","title":"Core vocabulary meta-schema","type":["object","boolean"],"properties":{"$id":{"$ref":"#/$defs/uriReferenceString","$comment":"Non-empty fragments not allowed.","pattern":"^[^#]*#?$"},"$schema":{"$ref":"#/$defs/uriString"},"$ref":{"$ref":"#/$defs/uriReferenceString"},"$anchor":{"$ref":"#/$defs/anchorString"},"$dynamicRef":{"$ref":"#/$defs/uriReferenceString"},"$dynamicAnchor":{"$ref":"#/$defs/anchorString"},"$vocabulary":{"type":"object","propertyNames":{"$ref":"#/$defs/uriString"},"additionalProperties":{"type":"boolean"}},"$comment":{"type":"string"},"$defs":{"type":"object","additionalProperties":{"$dynamicRef":"#meta"}}},"$defs":{"anchorString":{"type":"string","pattern":"^[A-Za-z_][-A-Za-z0-9._]*$"},"uriString":{"type":"string","format":"uri"},"uriReferenceString":{"type":"string","format":"uri-reference"}}}')},71637:e=>{"use strict";e.exports=JSON.parse('{"$schema":"https://json-schema.org/draft/2020-12/schema","$id":"https://json-schema.org/draft/2020-12/meta/format-annotation","$vocabulary":{"https://json-schema.org/draft/2020-12/vocab/format-annotation":true},"$dynamicAnchor":"meta","title":"Format vocabulary meta-schema for annotation results","type":["object","boolean"],"properties":{"format":{"type":"string"}}}')},27889:e=>{"use strict";e.exports=JSON.parse('{"$schema":"https://json-schema.org/draft/2020-12/schema","$id":"https://json-schema.org/draft/2020-12/meta/meta-data","$vocabulary":{"https://json-schema.org/draft/2020-12/vocab/meta-data":true},"$dynamicAnchor":"meta","title":"Meta-data vocabulary meta-schema","type":["object","boolean"],"properties":{"title":{"type":"string"},"description":{"type":"string"},"default":true,"deprecated":{"type":"boolean","default":false},"readOnly":{"type":"boolean","default":false},"writeOnly":{"type":"boolean","default":false},"examples":{"type":"array","items":true}}}')},5124:e=>{"use strict";e.exports=JSON.parse('{"$schema":"https://json-schema.org/draft/2020-12/schema","$id":"https://json-schema.org/draft/2020-12/meta/unevaluated","$vocabulary":{"https://json-schema.org/draft/2020-12/vocab/unevaluated":true},"$dynamicAnchor":"meta","title":"Unevaluated applicator vocabulary meta-schema","type":["object","boolean"],"properties":{"unevaluatedItems":{"$dynamicRef":"#meta"},"unevaluatedProperties":{"$dynamicRef":"#meta"}}}')},83575:e=>{"use strict";e.exports=JSON.parse('{"$schema":"https://json-schema.org/draft/2020-12/schema","$id":"https://json-schema.org/draft/2020-12/meta/validation","$vocabulary":{"https://json-schema.org/draft/2020-12/vocab/validation":true},"$dynamicAnchor":"meta","title":"Validation vocabulary meta-schema","type":["object","boolean"],"properties":{"type":{"anyOf":[{"$ref":"#/$defs/simpleTypes"},{"type":"array","items":{"$ref":"#/$defs/simpleTypes"},"minItems":1,"uniqueItems":true}]},"const":true,"enum":{"type":"array","items":true},"multipleOf":{"type":"number","exclusiveMinimum":0},"maximum":{"type":"number"},"exclusiveMaximum":{"type":"number"},"minimum":{"type":"number"},"exclusiveMinimum":{"type":"number"},"maxLength":{"$ref":"#/$defs/nonNegativeInteger"},"minLength":{"$ref":"#/$defs/nonNegativeIntegerDefault0"},"pattern":{"type":"string","format":"regex"},"maxItems":{"$ref":"#/$defs/nonNegativeInteger"},"minItems":{"$ref":"#/$defs/nonNegativeIntegerDefault0"},"uniqueItems":{"type":"boolean","default":false},"maxContains":{"$ref":"#/$defs/nonNegativeInteger"},"minContains":{"$ref":"#/$defs/nonNegativeInteger","default":1},"maxProperties":{"$ref":"#/$defs/nonNegativeInteger"},"minProperties":{"$ref":"#/$defs/nonNegativeIntegerDefault0"},"required":{"$ref":"#/$defs/stringArray"},"dependentRequired":{"type":"object","additionalProperties":{"$ref":"#/$defs/stringArray"}}},"$defs":{"nonNegativeInteger":{"type":"integer","minimum":0},"nonNegativeIntegerDefault0":{"$ref":"#/$defs/nonNegativeInteger","default":0},"simpleTypes":{"enum":["array","boolean","integer","null","number","object","string"]},"stringArray":{"type":"array","items":{"type":"string"},"uniqueItems":true,"default":[]}}}')},47322:e=>{"use strict";e.exports=JSON.parse('{"$schema":"https://json-schema.org/draft/2020-12/schema","$id":"https://json-schema.org/draft/2020-12/schema","$vocabulary":{"https://json-schema.org/draft/2020-12/vocab/core":true,"https://json-schema.org/draft/2020-12/vocab/applicator":true,"https://json-schema.org/draft/2020-12/vocab/unevaluated":true,"https://json-schema.org/draft/2020-12/vocab/validation":true,"https://json-schema.org/draft/2020-12/vocab/meta-data":true,"https://json-schema.org/draft/2020-12/vocab/format-annotation":true,"https://json-schema.org/draft/2020-12/vocab/content":true},"$dynamicAnchor":"meta","title":"Core and Validation specifications meta-schema","allOf":[{"$ref":"meta/core"},{"$ref":"meta/applicator"},{"$ref":"meta/unevaluated"},{"$ref":"meta/validation"},{"$ref":"meta/meta-data"},{"$ref":"meta/format-annotation"},{"$ref":"meta/content"}],"type":["object","boolean"],"$comment":"This meta-schema also defines keywords that have appeared in previous drafts in order to prevent incompatible extensions as they remain in common use.","properties":{"definitions":{"$comment":"\\"definitions\\" has been replaced by \\"$defs\\".","type":"object","additionalProperties":{"$dynamicRef":"#meta"},"deprecated":true,"default":{}},"dependencies":{"$comment":"\\"dependencies\\" has been split and replaced by \\"dependentSchemas\\" and \\"dependentRequired\\" in order to serve their differing semantics.","type":"object","additionalProperties":{"anyOf":[{"$dynamicRef":"#meta"},{"$ref":"meta/validation#/$defs/stringArray"}]},"deprecated":true,"default":{}},"$recursiveAnchor":{"$comment":"\\"$recursiveAnchor\\" has been replaced by \\"$dynamicAnchor\\".","$ref":"meta/core#/$defs/anchorString","deprecated":true},"$recursiveRef":{"$comment":"\\"$recursiveRef\\" has been replaced by \\"$dynamicRef\\".","$ref":"meta/core#/$defs/uriReferenceString","deprecated":true}}}')}}]); \ No newline at end of file diff --git a/assets/js/ee3e0fff.3c101517.js b/assets/js/ee3e0fff.3c101517.js new file mode 100644 index 00000000..8395d58b --- /dev/null +++ b/assets/js/ee3e0fff.3c101517.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunk_ethdebug_format_web=self.webpackChunk_ethdebug_format_web||[]).push([[9437],{5641:(e,n,s)=>{s.r(n),s.d(n,{assets:()=>d,contentTitle:()=>a,default:()=>l,frontMatter:()=>o,metadata:()=>c,toc:()=>h});var i=s(52322),r=s(45392),t=s(64223);const o={sidebar_position:6},a="Expression syntax",c={id:"pointer/expression",title:"Expression syntax",description:"Pointer expressions operate on the domain of bytes representing unsigned",source:"@site/spec/pointer/expression.mdx",sourceDirName:"pointer",slug:"/pointer/expression",permalink:"/format/spec/pointer/expression",draft:!1,unlisted:!1,editUrl:"https://github.com/ethdebug/format/tree/main/packages/web/spec/pointer/expression.mdx",tags:[],version:"current",sidebarPosition:6,frontMatter:{sidebar_position:6},sidebar:"docsSidebar",previous:{title:"Scope",permalink:"/format/spec/pointer/collection/scope"},next:{title:"ethdebug/format/materials",permalink:"/format/spec/category/ethdebugformatmaterials"}},d={},h=[{value:"Literal values",id:"literal-values",level:2},{value:"Variables",id:"variables",level:2},{value:"Arithmetic operations",id:"arithmetic-operations",level:2},{value:"Lookup region definition",id:"lookup-region-definition",level:2},{value:"Reading from the EVM",id:"reading-from-the-evm",level:2},{value:"Keccak256 hashes",id:"keccak256-hashes",level:2},{value:"Resize operations",id:"resize-operations",level:2},{value:"Region references",id:"region-references",level:2}];function p(e){const n={a:"a",code:"code",h1:"h1",h2:"h2",p:"p",strong:"strong",...(0,r.a)(),...e.components};return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(n.h1,{id:"expression-syntax",children:"Expression syntax"}),"\n",(0,i.jsx)(n.p,{children:"Pointer expressions operate on the domain of bytes representing unsigned\nintegers."}),"\n",(0,i.jsx)(t.Z,{schema:{id:"schema:ethdebug/format/pointer/expression"}}),"\n",(0,i.jsx)(n.h2,{id:"literal-values",children:"Literal values"}),"\n",(0,i.jsx)(n.p,{children:"An expression can be a literal value."}),"\n",(0,i.jsxs)(n.p,{children:["Literal values ",(0,i.jsx)(n.strong,{children:"must"})," be represented either as JSON numbers or as\n",(0,i.jsx)(n.code,{children:"0x"}),"-prefixed hexadecimal strings. Hexadecimal strings always represent a\nliteral string of bytes."]}),"\n",(0,i.jsx)(n.p,{children:"For convenience, this schema does not restrict hexadecimal string\nrepresentations to those that specify an even-number of digits (i.e., those\nthat specify complete byte pairs); odd numbers of hexadecimal digits are fine."}),"\n",(0,i.jsxs)(n.p,{children:["Hexadecimal string representations ",(0,i.jsx)(n.strong,{children:"may"})," omit leading zeroes; values are\nassumed to be left-padded to the bytes width appropriate for the context."]}),"\n",(0,i.jsx)(t.Z,{schema:{id:"schema:ethdebug/format/pointer/expression"},pointer:"#/$defs/Literal"}),"\n",(0,i.jsx)(n.h2,{id:"variables",children:"Variables"}),"\n",(0,i.jsx)(n.p,{children:"An expression can be a string value equal to the identifier for a known\nscalar variable introduced by some pointer representation."}),"\n",(0,i.jsxs)(n.p,{children:["For an example where scalar variables may appear, see the\n",(0,i.jsx)(n.a,{href:"/spec/pointer/collection/list",children:"List collection schema"}),"."]}),"\n",(0,i.jsx)(t.Z,{schema:{id:"schema:ethdebug/format/pointer/expression"},pointer:"#/$defs/Variable"}),"\n",(0,i.jsx)(n.h2,{id:"arithmetic-operations",children:"Arithmetic operations"}),"\n",(0,i.jsxs)(n.p,{children:["An expression can be an object of the form ",(0,i.jsx)(n.code,{children:"{ <op>: [...] }"}),", where ",(0,i.jsx)(n.code,{children:"<op>"}),"\ndenotes an arithmetic operation."]}),"\n",(0,i.jsx)(t.Z,{schema:{id:"schema:ethdebug/format/pointer/expression"},pointer:"#/$defs/Arithmetic"}),"\n",(0,i.jsx)(n.h2,{id:"lookup-region-definition",children:"Lookup region definition"}),"\n",(0,i.jsxs)(n.p,{children:["An expression can reference properties defined for a particular region, such as\nanother region's ",(0,i.jsx)(n.code,{children:'"offset"'})," or ",(0,i.jsx)(n.code,{children:'"length"'}),". Such expressions resolve to the\nsame value as the expression specified for that corresponding property."]}),"\n",(0,i.jsx)(t.Z,{schema:{id:"schema:ethdebug/format/pointer/expression"},pointer:"#/$defs/Lookup"}),"\n",(0,i.jsx)(n.h2,{id:"reading-from-the-evm",children:"Reading from the EVM"}),"\n",(0,i.jsxs)(n.p,{children:["An expression can be an object of the form ",(0,i.jsx)(n.code,{children:'{ "$read": "<region>" }'}),", where\n",(0,i.jsx)(n.code,{children:"<region>"})," references a particular region defined in some root pointer."]}),"\n",(0,i.jsx)(n.p,{children:"The value of such an expression is the concatenation of bytes present in the\nrunning machine state that correspond to the bytes addressed by the referenced\nregion."}),"\n",(0,i.jsx)(t.Z,{schema:{id:"schema:ethdebug/format/pointer/expression"},pointer:"#/$defs/Read"}),"\n",(0,i.jsx)(n.h2,{id:"keccak256-hashes",children:"Keccak256 hashes"}),"\n",(0,i.jsxs)(n.p,{children:["An expression can be an object of form ",(0,i.jsx)(n.code,{children:'{ "$keccak256": [...] }'}),", indicating\nthat the value of the expression is a Solidity-style, tightly-packed keccak256\nhash of the concatenation of bytes specified by the list."]}),"\n",(0,i.jsx)(t.Z,{schema:{id:"schema:ethdebug/format/pointer/expression"},pointer:"#/$defs/Keccak256"}),"\n",(0,i.jsx)(n.h2,{id:"resize-operations",children:"Resize operations"}),"\n",(0,i.jsx)(n.p,{children:"In certain situations, e.g. keccak256 hashes, it's crucially important to be\nable to express the bytes width of particular expression values. This schema\nprovides primitives to allow specifying an explicit bytes width for a\nparticular sub-expression."}),"\n",(0,i.jsx)(t.Z,{schema:{id:"schema:ethdebug/format/pointer/expression"},pointer:"#/$defs/Resize"}),"\n",(0,i.jsx)(n.h2,{id:"region-references",children:"Region references"}),"\n",(0,i.jsxs)(n.p,{children:["Regions can be referenced either by name (which ",(0,i.jsx)(n.strong,{children:"must"})," be a defined region),\nor by use of the literal string value ",(0,i.jsx)(n.code,{children:'"$this"'})," (which indicates that the\nreferenced region is the region containing the expression itself)."]}),"\n",(0,i.jsxs)(n.p,{children:["In cases where an expression is used outside the context of a particular\nregion definition, the use of ",(0,i.jsx)(n.code,{children:'"$this"'})," is ",(0,i.jsx)(n.strong,{children:"prohibited"}),"."]}),"\n",(0,i.jsxs)(n.p,{children:["Individual properties ",(0,i.jsx)(n.strong,{children:"may not"})," be defined with any reference to themselves.\nProperties also ",(0,i.jsx)(n.strong,{children:"may not"})," be defined in terms of mutual reference to each\nother. ",(0,i.jsx)("small",{children:"(Don't make this harder than it has to be.)"})]}),"\n",(0,i.jsx)(t.Z,{schema:{id:"schema:ethdebug/format/pointer/expression"},pointer:"#/$defs/Reference"})]})}function l(e={}){const{wrapper:n}={...(0,r.a)(),...e.components};return n?(0,i.jsx)(n,{...e,children:(0,i.jsx)(p,{...e})}):p(e)}}}]); \ No newline at end of file diff --git a/assets/js/ee3e0fff.8923e327.js b/assets/js/ee3e0fff.8923e327.js deleted file mode 100644 index 44b1c7b0..00000000 --- a/assets/js/ee3e0fff.8923e327.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunk_ethdebug_format_web=self.webpackChunk_ethdebug_format_web||[]).push([[9437],{5641:(e,n,s)=>{s.r(n),s.d(n,{assets:()=>d,contentTitle:()=>a,default:()=>p,frontMatter:()=>o,metadata:()=>c,toc:()=>h});var i=s(52322),r=s(45392),t=s(64223);const o={sidebar_position:6},a="Expression syntax",c={id:"pointer/expression",title:"Expression syntax",description:"Pointer expressions operate on the domain of bytes representing unsigned",source:"@site/spec/pointer/expression.mdx",sourceDirName:"pointer",slug:"/pointer/expression",permalink:"/format/spec/pointer/expression",draft:!1,unlisted:!1,editUrl:"https://github.com/ethdebug/format/tree/main/packages/web/spec/pointer/expression.mdx",tags:[],version:"current",sidebarPosition:6,frontMatter:{sidebar_position:6},sidebar:"docsSidebar",previous:{title:"Scope",permalink:"/format/spec/pointer/collection/scope"},next:{title:"ethdebug/format/materials",permalink:"/format/spec/category/ethdebugformatmaterials"}},d={},h=[{value:"Literal values",id:"literal-values",level:2},{value:"Scalar variables",id:"scalar-variables",level:2},{value:"Arithmetic operations",id:"arithmetic-operations",level:2},{value:"Lookup region definition",id:"lookup-region-definition",level:2},{value:"Reading from the EVM",id:"reading-from-the-evm",level:2},{value:"Keccak256 hashes",id:"keccak256-hashes",level:2},{value:"Region references",id:"region-references",level:2}];function l(e){const n={a:"a",code:"code",h1:"h1",h2:"h2",p:"p",strong:"strong",...(0,r.a)(),...e.components};return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(n.h1,{id:"expression-syntax",children:"Expression syntax"}),"\n",(0,i.jsx)(n.p,{children:"Pointer expressions operate on the domain of bytes representing unsigned\nintegers."}),"\n",(0,i.jsx)(t.Z,{schema:{id:"schema:ethdebug/format/pointer/expression"}}),"\n",(0,i.jsx)(n.h2,{id:"literal-values",children:"Literal values"}),"\n",(0,i.jsx)(n.p,{children:"An expression can be a literal value."}),"\n",(0,i.jsxs)(n.p,{children:["Literal values ",(0,i.jsx)(n.strong,{children:"must"})," be represented either as JSON numbers or as\n",(0,i.jsx)(n.code,{children:"0x"}),"-prefixed hexadecimal strings. Hexadecimal strings always represent a\nliteral string of bytes."]}),"\n",(0,i.jsx)(n.p,{children:"For convenience, this schema does not restrict hexadecimal string\nrepresentations to those that specify an even-number of digits (i.e., those\nthat specify complete byte pairs); odd numbers of hexadecimal digits are fine."}),"\n",(0,i.jsxs)(n.p,{children:["Hexadecimal string representations ",(0,i.jsx)(n.strong,{children:"may"})," omit leading zeroes; values are\nassumed to be left-padded to the bytes width appropriate for the context."]}),"\n",(0,i.jsx)(t.Z,{schema:{id:"schema:ethdebug/format/pointer/expression"},pointer:"#/$defs/Literal"}),"\n",(0,i.jsx)(n.h2,{id:"scalar-variables",children:"Scalar variables"}),"\n",(0,i.jsx)(n.p,{children:"An expression can be a string value equal to the identifier for a known\nscalar variable introduced by some pointer representation."}),"\n",(0,i.jsxs)(n.p,{children:["For an example where scalar variables may appear, see the\n",(0,i.jsx)(n.a,{href:"/spec/pointer/collection/list",children:"List collection schema"}),"."]}),"\n",(0,i.jsx)(t.Z,{schema:{id:"schema:ethdebug/format/pointer/expression"},pointer:"#/$defs/Literal"}),"\n",(0,i.jsx)(n.h2,{id:"arithmetic-operations",children:"Arithmetic operations"}),"\n",(0,i.jsxs)(n.p,{children:["An expression can be an object of the form ",(0,i.jsx)(n.code,{children:"{ <op>: [...] }"}),", where ",(0,i.jsx)(n.code,{children:"<op>"}),"\ndenotes an arithmetic operation."]}),"\n",(0,i.jsx)(t.Z,{schema:{id:"schema:ethdebug/format/pointer/expression"},pointer:"#/$defs/Arithmetic"}),"\n",(0,i.jsx)(n.h2,{id:"lookup-region-definition",children:"Lookup region definition"}),"\n",(0,i.jsxs)(n.p,{children:["An expression can reference properties defined for a particular region, such as\nanother region's ",(0,i.jsx)(n.code,{children:'"offset"'})," or ",(0,i.jsx)(n.code,{children:'"length"'}),". Such expressions resolve to the\nsame value as the expression specified for that corresponding property."]}),"\n",(0,i.jsx)(t.Z,{schema:{id:"schema:ethdebug/format/pointer/expression"},pointer:"#/$defs/Lookup"}),"\n",(0,i.jsx)(n.h2,{id:"reading-from-the-evm",children:"Reading from the EVM"}),"\n",(0,i.jsxs)(n.p,{children:["An expression can be an object of the form ",(0,i.jsx)(n.code,{children:'{ "$read": "<region>" }'}),", where\n",(0,i.jsx)(n.code,{children:"<region>"})," references a particular region defined in some root pointer."]}),"\n",(0,i.jsx)(n.p,{children:"The value of such an expression is the concatenation of bytes present in the\nrunning machine state that correspond to the bytes addressed by the referenced\nregion."}),"\n",(0,i.jsx)(t.Z,{schema:{id:"schema:ethdebug/format/pointer/expression"},pointer:"#/$defs/Read"}),"\n",(0,i.jsx)(n.h2,{id:"keccak256-hashes",children:"Keccak256 hashes"}),"\n",(0,i.jsxs)(n.p,{children:["An expression can be an object of form ",(0,i.jsx)(n.code,{children:'{ "$keccak256": [...] }'}),", indicating\nthat the value of the expression is a Solidity-style, tightly-packed keccak256\nhash of the concatenation of bytes specified by the list."]}),"\n",(0,i.jsx)(t.Z,{schema:{id:"schema:ethdebug/format/pointer/expression"},pointer:"#/$defs/Keccak256"}),"\n",(0,i.jsx)(n.h2,{id:"region-references",children:"Region references"}),"\n",(0,i.jsxs)(n.p,{children:["Regions can be referenced either by name (which ",(0,i.jsx)(n.strong,{children:"must"})," be a defined region),\nor by use of the literal string value ",(0,i.jsx)(n.code,{children:'"$this"'})," (which indicates that the\nreferenced region is the region containing the expression itself)."]}),"\n",(0,i.jsxs)(n.p,{children:["In cases where an expression is used outside the context of a particular\nregion definition, the use of ",(0,i.jsx)(n.code,{children:'"$this"'})," is ",(0,i.jsx)(n.strong,{children:"prohibited"}),"."]}),"\n",(0,i.jsxs)(n.p,{children:["Individual properties ",(0,i.jsx)(n.strong,{children:"may not"})," be defined with any reference to themselves.\nProperties also ",(0,i.jsx)(n.strong,{children:"may not"})," be defined in terms of mutual reference to each\nother. ",(0,i.jsx)("small",{children:"(Don't make this harder than it has to be.)"})]}),"\n",(0,i.jsx)(t.Z,{schema:{id:"schema:ethdebug/format/pointer/expression"},pointer:"#/$defs/Reference"})]})}function p(e={}){const{wrapper:n}={...(0,r.a)(),...e.components};return n?(0,i.jsx)(n,{...e,children:(0,i.jsx)(l,{...e})}):l(e)}}}]); \ No newline at end of file diff --git a/assets/js/main.b2688c19.js b/assets/js/main.b2688c19.js new file mode 100644 index 00000000..da850603 --- /dev/null +++ b/assets/js/main.b2688c19.js @@ -0,0 +1,2 @@ +/*! For license information please see main.b2688c19.js.LICENSE.txt */ +(self.webpackChunk_ethdebug_format_web=self.webpackChunk_ethdebug_format_web||[]).push([[179],{60108:(e,n,t)=>{"use strict";t.d(n,{_:()=>a,t:()=>i});var r=t(2784),o=t(52322);const a=r.createContext(!1);function i(e){let{children:n}=e;const[t,i]=(0,r.useState)(!1);return(0,r.useEffect)((()=>{i(!0)}),[]),(0,o.jsx)(a.Provider,{value:t,children:n})}},2062:(e,n,t)=>{"use strict";var r=t(2784),o=t(17029),a=t(72175),i=t(47933),s=t(36809),l=t(31263);const c=[t(55749),t(86120),t(80401),t(1964)];var d=t(19895),u=t(7267),p=t(9702),f=t(52322);function m(e){let{children:n}=e;return(0,f.jsx)(f.Fragment,{children:n})}var y=t(69854),h=t(37614),g=t(90077),b=t(97683),v=t(50328),x=t(55552),w=t(9499),k=t(4925),S=t(60958),E=t(54390);function C(){const{i18n:{currentLocale:e,defaultLocale:n,localeConfigs:t}}=(0,h.Z)(),r=(0,x.l)(),o=t[e].htmlLang,a=e=>e.replace("-","_");return(0,f.jsxs)(y.Z,{children:[Object.entries(t).map((e=>{let[n,{htmlLang:t}]=e;return(0,f.jsx)("link",{rel:"alternate",href:r.createUrl({locale:n,fullyQualified:!0}),hrefLang:t},n)})),(0,f.jsx)("link",{rel:"alternate",href:r.createUrl({locale:n,fullyQualified:!0}),hrefLang:"x-default"}),(0,f.jsx)("meta",{property:"og:locale",content:a(o)}),Object.values(t).filter((e=>o!==e.htmlLang)).map((e=>(0,f.jsx)("meta",{property:"og:locale:alternate",content:a(e.htmlLang)},`meta-og-${e.htmlLang}`)))]})}function _(e){let{permalink:n}=e;const{siteConfig:{url:t}}=(0,h.Z)(),r=function(){const{siteConfig:{url:e,baseUrl:n,trailingSlash:t}}=(0,h.Z)(),{pathname:r}=(0,u.TH)();return e+(0,S.applyTrailingSlash)((0,g.ZP)(r),{trailingSlash:t,baseUrl:n})}(),o=n?`${t}${n}`:r;return(0,f.jsxs)(y.Z,{children:[(0,f.jsx)("meta",{property:"og:url",content:o}),(0,f.jsx)("link",{rel:"canonical",href:o})]})}function P(){const{i18n:{currentLocale:e}}=(0,h.Z)(),{metadata:n,image:t}=(0,b.L)();return(0,f.jsxs)(f.Fragment,{children:[(0,f.jsxs)(y.Z,{children:[(0,f.jsx)("meta",{name:"twitter:card",content:"summary_large_image"}),(0,f.jsx)("body",{className:w.h})]}),t&&(0,f.jsx)(v.d,{image:t}),(0,f.jsx)(_,{}),(0,f.jsx)(C,{}),(0,f.jsx)(E.Z,{tag:k.HX,locale:e}),(0,f.jsx)(y.Z,{children:n.map(((e,n)=>(0,f.jsx)("meta",{...e},n)))})]})}const j=new Map;var T=t(60108),$=t(16288),O=t(70164);function R(e){for(var n=arguments.length,t=new Array(n>1?n-1:0),r=1;r<n;r++)t[r-1]=arguments[r];const o=c.map((n=>{const r=n.default?.[e]??n[e];return r?.(...t)}));return()=>o.forEach((e=>e?.()))}const N=function(e){let{children:n,location:t,previousLocation:r}=e;return(0,O.Z)((()=>{r!==t&&(!function(e){let{location:n,previousLocation:t}=e;if(!t)return;const r=n.pathname===t.pathname,o=n.hash===t.hash,a=n.search===t.search;if(r&&o&&!a)return;const{hash:i}=n;if(i){const e=decodeURIComponent(i.substring(1)),n=document.getElementById(e);n?.scrollIntoView()}else window.scrollTo(0,0)}({location:t,previousLocation:r}),R("onRouteDidUpdate",{previousLocation:r,location:t}))}),[r,t]),n};function A(e){const n=Array.from(new Set([e,decodeURI(e)])).map((e=>(0,p.f)(d.Z,e))).flat();return Promise.all(n.map((e=>e.route.component.preload?.())))}class L extends r.Component{previousLocation;routeUpdateCleanupCb;constructor(e){super(e),this.previousLocation=null,this.routeUpdateCleanupCb=l.Z.canUseDOM?R("onRouteUpdate",{previousLocation:null,location:this.props.location}):()=>{},this.state={nextRouteHasLoaded:!0}}shouldComponentUpdate(e,n){if(e.location===this.props.location)return n.nextRouteHasLoaded;const t=e.location;return this.previousLocation=this.props.location,this.setState({nextRouteHasLoaded:!1}),this.routeUpdateCleanupCb=R("onRouteUpdate",{previousLocation:this.previousLocation,location:t}),A(t.pathname).then((()=>{this.routeUpdateCleanupCb(),this.setState({nextRouteHasLoaded:!0})})).catch((e=>{console.warn(e),window.location.reload()})),!1}render(){const{children:e,location:n}=this.props;return(0,f.jsx)(N,{previousLocation:this.previousLocation,location:n,children:(0,f.jsx)(u.AW,{location:n,render:()=>e})})}}const D=L,I="__docusaurus-base-url-issue-banner-container",M="__docusaurus-base-url-issue-banner",F="__docusaurus-base-url-issue-banner-suggestion-container";function z(e){return`\ndocument.addEventListener('DOMContentLoaded', function maybeInsertBanner() {\n var shouldInsert = typeof window['docusaurus'] === 'undefined';\n shouldInsert && insertBanner();\n});\n\nfunction insertBanner() {\n var bannerContainer = document.createElement('div');\n bannerContainer.id = '${I}';\n var bannerHtml = ${JSON.stringify(function(e){return`\n<div id="${M}" style="border: thick solid red; background-color: rgb(255, 230, 179); margin: 20px; padding: 20px; font-size: 20px;">\n <p style="font-weight: bold; font-size: 30px;">Your Docusaurus site did not load properly.</p>\n <p>A very common reason is a wrong site <a href="https://docusaurus.io/docs/docusaurus.config.js/#baseUrl" style="font-weight: bold;">baseUrl configuration</a>.</p>\n <p>Current configured baseUrl = <span style="font-weight: bold; color: red;">${e}</span> ${"/"===e?" (default value)":""}</p>\n <p>We suggest trying baseUrl = <span id="${F}" style="font-weight: bold; color: green;"></span></p>\n</div>\n`}(e)).replace(/</g,"\\<")};\n bannerContainer.innerHTML = bannerHtml;\n document.body.prepend(bannerContainer);\n var suggestionContainer = document.getElementById('${F}');\n var actualHomePagePath = window.location.pathname;\n var suggestedBaseUrl = actualHomePagePath.substr(-1) === '/'\n ? actualHomePagePath\n : actualHomePagePath + '/';\n suggestionContainer.innerHTML = suggestedBaseUrl;\n}\n`}function B(){const{siteConfig:{baseUrl:e}}=(0,h.Z)();return(0,f.jsx)(f.Fragment,{children:!l.Z.canUseDOM&&(0,f.jsx)(y.Z,{children:(0,f.jsx)("script",{children:z(e)})})})}function U(){const{siteConfig:{baseUrl:e,baseUrlIssueBanner:n}}=(0,h.Z)(),{pathname:t}=(0,u.TH)();return n&&t===e?(0,f.jsx)(B,{}):null}function H(){const{siteConfig:{favicon:e,title:n,noIndex:t},i18n:{currentLocale:r,localeConfigs:o}}=(0,h.Z)(),a=(0,g.ZP)(e),{htmlLang:i,direction:s}=o[r];return(0,f.jsxs)(y.Z,{children:[(0,f.jsx)("html",{lang:i,dir:s}),(0,f.jsx)("title",{children:n}),(0,f.jsx)("meta",{property:"og:title",content:n}),(0,f.jsx)("meta",{name:"viewport",content:"width=device-width, initial-scale=1.0"}),t&&(0,f.jsx)("meta",{name:"robots",content:"noindex, nofollow"}),e&&(0,f.jsx)("link",{rel:"icon",href:a})]})}var q=t(63951),V=t(89741);function Z(){const e=(0,V.Z)();return(0,f.jsx)(y.Z,{children:(0,f.jsx)("html",{"data-has-hydrated":e})})}const W=(0,p.H)(d.Z);function G(){const e=function(e){if(j.has(e.pathname))return{...e,pathname:j.get(e.pathname)};if((0,p.f)(d.Z,e.pathname).some((e=>{let{route:n}=e;return!0===n.exact})))return j.set(e.pathname,e.pathname),e;const n=e.pathname.trim().replace(/(?:\/index)?\.html$/,"")||"/";return j.set(e.pathname,n),{...e,pathname:n}}((0,u.TH)());return(0,f.jsx)(D,{location:e,children:W})}function K(){return(0,f.jsx)(q.Z,{children:(0,f.jsx)($.M,{children:(0,f.jsxs)(T.t,{children:[(0,f.jsxs)(m,{children:[(0,f.jsx)(H,{}),(0,f.jsx)(P,{}),(0,f.jsx)(U,{}),(0,f.jsx)(G,{})]}),(0,f.jsx)(Z,{})]})})})}var Y=t(16887);const Q=function(e){try{return document.createElement("link").relList.supports(e)}catch{return!1}}("prefetch")?function(e){return new Promise(((n,t)=>{if("undefined"==typeof document)return void t();const r=document.createElement("link");r.setAttribute("rel","prefetch"),r.setAttribute("href",e),r.onload=()=>n(),r.onerror=()=>t();const o=document.getElementsByTagName("head")[0]??document.getElementsByName("script")[0]?.parentNode;o?.appendChild(r)}))}:function(e){return new Promise(((n,t)=>{const r=new XMLHttpRequest;r.open("GET",e,!0),r.withCredentials=!0,r.onload=()=>{200===r.status?n():t()},r.send(null)}))};var J=t(20805);const X=new Set,ee=new Set,ne=()=>navigator.connection?.effectiveType.includes("2g")||navigator.connection?.saveData,te={prefetch:e=>{if(!(e=>!ne()&&!ee.has(e)&&!X.has(e))(e))return!1;X.add(e);const n=(0,p.f)(d.Z,e).flatMap((e=>{return n=e.route.path,Object.entries(Y).filter((e=>{let[t]=e;return t.replace(/-[^-]+$/,"")===n})).flatMap((e=>{let[,n]=e;return Object.values((0,J.Z)(n))}));var n}));return Promise.all(n.map((e=>{const n=t.gca(e);return n&&!n.includes("undefined")?Q(n).catch((()=>{})):Promise.resolve()})))},preload:e=>!!(e=>!ne()&&!ee.has(e))(e)&&(ee.add(e),A(e))},re=Object.freeze(te);function oe(e){let{children:n}=e;return"hash"===s.default.future.experimental_router?(0,f.jsx)(i.UT,{children:n}):(0,f.jsx)(i.VK,{children:n})}const ae=Boolean(!0);if(l.Z.canUseDOM){window.docusaurus=re;const e=document.getElementById("__docusaurus"),n=(0,f.jsx)(a.B6,{children:(0,f.jsx)(oe,{children:(0,f.jsx)(K,{})})}),t=(e,n)=>{console.error("Docusaurus React Root onRecoverableError:",e,n)},i=()=>{if(window.docusaurusRoot)window.docusaurusRoot.render(n);else if(ae)window.docusaurusRoot=o.hydrateRoot(e,n,{onRecoverableError:t});else{const r=o.createRoot(e,{onRecoverableError:t});r.render(n),window.docusaurusRoot=r}};A(window.location.pathname).then((()=>{(0,r.startTransition)(i)}))}},16288:(e,n,t)=>{"use strict";t.d(n,{_:()=>u,M:()=>p});var r=t(2784),o=t(36809);const a=JSON.parse('{"docusaurus-plugin-content-docs":{"default":{"path":"/format/docs","versions":[{"name":"current","label":"Next","isLast":true,"path":"/format/docs","mainDocId":"overview","docs":[{"id":"implementation-guides/pointers/dereference-logic/dereference-logic","path":"/format/docs/implementation-guides/pointers/dereference-logic/","sidebar":"docsSidebar"},{"id":"implementation-guides/pointers/dereference-logic/generating-regions","path":"/format/docs/implementation-guides/pointers/dereference-logic/generating-regions","sidebar":"docsSidebar"},{"id":"implementation-guides/pointers/dereference-logic/making-regions-concrete","path":"/format/docs/implementation-guides/pointers/dereference-logic/making-regions-concrete","sidebar":"docsSidebar"},{"id":"implementation-guides/pointers/dereference-logic/summary","path":"/format/docs/implementation-guides/pointers/dereference-logic/summary","sidebar":"docsSidebar"},{"id":"implementation-guides/pointers/evaluating-expressions","path":"/format/docs/implementation-guides/pointers/evaluating-expressions","sidebar":"docsSidebar"},{"id":"implementation-guides/pointers/overview","path":"/format/docs/implementation-guides/pointers/overview","sidebar":"docsSidebar"},{"id":"implementation-guides/pointers/reading-from-regions","path":"/format/docs/implementation-guides/pointers/reading-from-regions","sidebar":"docsSidebar"},{"id":"implementation-guides/pointers/types/cursors","path":"/format/docs/implementation-guides/pointers/types/cursors","sidebar":"docsSidebar"},{"id":"implementation-guides/pointers/types/data-and-machines","path":"/format/docs/implementation-guides/pointers/types/data-and-machines","sidebar":"docsSidebar"},{"id":"implementation-guides/pointers/types/pointer-types","path":"/format/docs/implementation-guides/pointers/types/pointer-types","sidebar":"docsSidebar"},{"id":"implementation-guides/pointers/types/types","path":"/format/docs/implementation-guides/pointers/types/","sidebar":"docsSidebar"},{"id":"known-challenges","path":"/format/docs/known-challenges","sidebar":"docsSidebar"},{"id":"overview","path":"/format/docs/overview","sidebar":"docsSidebar"},{"id":"sketches/layout","path":"/format/docs/sketches/layout","sidebar":"docsSidebar"},{"id":"sketches/prototype","path":"/format/docs/sketches/prototype","sidebar":"docsSidebar"},{"id":"/category/prototype-sketches","path":"/format/docs/category/prototype-sketches","sidebar":"docsSidebar"},{"id":"/category/implementation-guides","path":"/format/docs/category/implementation-guides","sidebar":"docsSidebar"},{"id":"/category/dereferencing-pointers","path":"/format/docs/category/dereferencing-pointers","sidebar":"docsSidebar"}],"draftIds":[],"sidebars":{"docsSidebar":{"link":{"path":"/format/docs/overview","label":"overview"}}}}],"breadcrumbs":true},"spec":{"path":"/format/spec","versions":[{"name":"current","label":"Next","isLast":true,"path":"/format/spec","mainDocId":"overview","docs":[{"id":"materials/compilation","path":"/format/spec/materials/compilation","sidebar":"docsSidebar"},{"id":"materials/id","path":"/format/spec/materials/id","sidebar":"docsSidebar"},{"id":"materials/overview","path":"/format/spec/materials/overview","sidebar":"docsSidebar"},{"id":"materials/source","path":"/format/spec/materials/source","sidebar":"docsSidebar"},{"id":"materials/source-range","path":"/format/spec/materials/source-range","sidebar":"docsSidebar"},{"id":"overview","path":"/format/spec/overview","sidebar":"docsSidebar"},{"id":"pointer/collection/collection","path":"/format/spec/pointer/collection/","sidebar":"docsSidebar"},{"id":"pointer/collection/conditional","path":"/format/spec/pointer/collection/conditional","sidebar":"docsSidebar"},{"id":"pointer/collection/group","path":"/format/spec/pointer/collection/group","sidebar":"docsSidebar"},{"id":"pointer/collection/list","path":"/format/spec/pointer/collection/list","sidebar":"docsSidebar"},{"id":"pointer/collection/scope","path":"/format/spec/pointer/collection/scope","sidebar":"docsSidebar"},{"id":"pointer/concepts","path":"/format/spec/pointer/concepts","sidebar":"docsSidebar"},{"id":"pointer/expression","path":"/format/spec/pointer/expression","sidebar":"docsSidebar"},{"id":"pointer/overview","path":"/format/spec/pointer/overview","sidebar":"docsSidebar"},{"id":"pointer/pointer","path":"/format/spec/pointer/","sidebar":"docsSidebar"},{"id":"pointer/region/base","path":"/format/spec/pointer/region/base","sidebar":"docsSidebar"},{"id":"pointer/region/location/calldata","path":"/format/spec/pointer/region/location/calldata","sidebar":"docsSidebar"},{"id":"pointer/region/location/code","path":"/format/spec/pointer/region/location/code","sidebar":"docsSidebar"},{"id":"pointer/region/location/memory","path":"/format/spec/pointer/region/location/memory","sidebar":"docsSidebar"},{"id":"pointer/region/location/returndata","path":"/format/spec/pointer/region/location/returndata","sidebar":"docsSidebar"},{"id":"pointer/region/location/stack","path":"/format/spec/pointer/region/location/stack","sidebar":"docsSidebar"},{"id":"pointer/region/location/storage","path":"/format/spec/pointer/region/location/storage","sidebar":"docsSidebar"},{"id":"pointer/region/location/transient","path":"/format/spec/pointer/region/location/transient","sidebar":"docsSidebar"},{"id":"pointer/region/region","path":"/format/spec/pointer/region/","sidebar":"docsSidebar"},{"id":"pointer/region/scheme/segment","path":"/format/spec/pointer/region/scheme/segment","sidebar":"docsSidebar"},{"id":"pointer/region/scheme/slice","path":"/format/spec/pointer/region/scheme/slice","sidebar":"docsSidebar"},{"id":"type/base","path":"/format/spec/type/base","sidebar":"docsSidebar"},{"id":"type/complex/alias","path":"/format/spec/type/complex/alias","sidebar":"docsSidebar"},{"id":"type/complex/array","path":"/format/spec/type/complex/array","sidebar":"docsSidebar"},{"id":"type/complex/function","path":"/format/spec/type/complex/function","sidebar":"docsSidebar"},{"id":"type/complex/mapping","path":"/format/spec/type/complex/mapping","sidebar":"docsSidebar"},{"id":"type/complex/struct","path":"/format/spec/type/complex/struct","sidebar":"docsSidebar"},{"id":"type/complex/tuple","path":"/format/spec/type/complex/tuple","sidebar":"docsSidebar"},{"id":"type/concepts","path":"/format/spec/type/concepts","sidebar":"docsSidebar"},{"id":"type/elementary/address","path":"/format/spec/type/elementary/address","sidebar":"docsSidebar"},{"id":"type/elementary/bool","path":"/format/spec/type/elementary/bool","sidebar":"docsSidebar"},{"id":"type/elementary/bytes","path":"/format/spec/type/elementary/bytes","sidebar":"docsSidebar"},{"id":"type/elementary/contract","path":"/format/spec/type/elementary/contract","sidebar":"docsSidebar"},{"id":"type/elementary/enum","path":"/format/spec/type/elementary/enum","sidebar":"docsSidebar"},{"id":"type/elementary/fixed","path":"/format/spec/type/elementary/fixed","sidebar":"docsSidebar"},{"id":"type/elementary/int","path":"/format/spec/type/elementary/int","sidebar":"docsSidebar"},{"id":"type/elementary/string","path":"/format/spec/type/elementary/string","sidebar":"docsSidebar"},{"id":"type/elementary/ufixed","path":"/format/spec/type/elementary/ufixed","sidebar":"docsSidebar"},{"id":"type/elementary/uint","path":"/format/spec/type/elementary/uint","sidebar":"docsSidebar"},{"id":"type/overview","path":"/format/spec/type/overview","sidebar":"docsSidebar"},{"id":"type/type","path":"/format/spec/type/","sidebar":"docsSidebar"},{"id":"/category/ethdebugformattype","path":"/format/spec/category/ethdebugformattype","sidebar":"docsSidebar"},{"id":"/category/elementary-types","path":"/format/spec/category/elementary-types","sidebar":"docsSidebar"},{"id":"/category/complex-types","path":"/format/spec/category/complex-types","sidebar":"docsSidebar"},{"id":"/category/ethdebugformatpointer","path":"/format/spec/category/ethdebugformatpointer","sidebar":"docsSidebar"},{"id":"/category/regions","path":"/format/spec/category/regions","sidebar":"docsSidebar"},{"id":"/category/collections","path":"/format/spec/category/collections","sidebar":"docsSidebar"},{"id":"/category/ethdebugformatmaterials","path":"/format/spec/category/ethdebugformatmaterials","sidebar":"docsSidebar"}],"draftIds":[],"sidebars":{"docsSidebar":{"link":{"path":"/format/spec/overview","label":"overview"}}}}],"breadcrumbs":true}},"project-code-plugin":{"default":{"packages":{"@ethdebug/pointers":{"sourceFiles":[{"filePath":"typings.d.ts","text":"declare module \\"@jest/expect\\" {\\n interface Matchers<R> {\\n toSatisfy(received: any): R;\\n toSatisfyAll(values: readonly any[]): R;\\n }\\n}\\n\\ndeclare module \\"solc\\" {\\n function compile(input: string): string;\\n};\\n"},{"filePath":"../format/dist/yamls.d.ts","text":"export type SchemaYamlsById = {\\n [id: string]: string;\\n};\\nexport declare const schemaYamls: SchemaYamlsById;\\ndeclare const rawSchemas: {\\n readonly \\"schema:ethdebug/format/materials/compilation\\": {\\n readonly $schema: \\"https://json-schema.org/draft/2020-12/schema\\";\\n readonly $id: \\"schema:ethdebug/format/materials/compilation\\";\\n readonly title: \\"ethdebug/format/materials/compilation\\";\\n readonly description: \\"An object representing a single invocation of a compiler.\\\\n\\";\\n readonly type: \\"object\\";\\n readonly properties: {\\n readonly id: {\\n readonly description: \\"Compilation ID. Optional, but **should** be specified.\\\\n\\\\nThis value **should** be globally-unique and generated only from the\\\\ncompiler inputs (settings, sources, etc.); the same compiler inputs/\\\\nsettings **should** produce the same identifier.\\\\n\\";\\n readonly $ref: \\"schema:ethdebug/format/materials/id\\";\\n };\\n readonly compiler: {\\n readonly type: \\"object\\";\\n readonly title: \\"Compiler name and version\\";\\n readonly properties: {\\n readonly name: {\\n readonly type: \\"string\\";\\n readonly description: \\"Compiler name\\";\\n };\\n readonly version: {\\n readonly type: \\"string\\";\\n readonly description: \\"Compiler version.\\\\n\\\\nThis value **should** be specified using the most detailed version\\\\nrepresentation available, i.e., including source control hash and\\\\ncompiler build information whenever possible.\\\\n\\";\\n };\\n };\\n readonly required: readonly [\\"name\\", \\"version\\"];\\n readonly examples: readonly [{\\n readonly name: \\"lllc\\";\\n readonly version: \\"0.4.12-develop.2017.6.27+commit.b83f77e0.Linux.g++\\";\\n }];\\n };\\n readonly settings: {\\n readonly description: \\"Compiler settings in a format native to the compiler.\\\\n\\\\nFor compilers whose settings includes full source representations, this\\\\nfield **should** be specified in such a way that avoids large data\\\\nredundancies (e.g. if compiler settings contain full source\\\\nrepresentations, then this field would significantly duplicate the\\\\ninformation represented by the `sources` field in this object).\\\\n\\\\nIn situations where settings information duplicates information\\\\nrepresented elsewhere in **ethdebug/format**, compilers **may** adopt\\\\nany reasonable strategy, e.g.:\\\\n - omit duplications partially (leaving the rest of the settings\\\\n intact)\\\\n - omit this field entirely\\\\n - specify this field as a hash of the full settings\\\\n representation (with the expectation that users of this format will\\\\n have access to the full representation by some other means)\\\\n\\";\\n readonly allOf: readonly [true];\\n };\\n readonly sources: {\\n readonly type: \\"array\\";\\n readonly items: {\\n readonly $ref: \\"schema:ethdebug/format/materials/source\\";\\n };\\n };\\n };\\n readonly required: readonly [\\"compiler\\", \\"sources\\"];\\n readonly examples: readonly [{\\n readonly compiler: {\\n readonly name: \\"lllc\\";\\n readonly version: \\"0.4.12-develop.2017.6.27+commit.b83f77e0.Linux.g++\\";\\n };\\n readonly sources: readonly [{\\n readonly id: 0;\\n readonly path: \\"stdin\\";\\n readonly contents: \\"(add 1 (mul 2 (add 3 4)))\\\\n\\";\\n readonly language: \\"LLL\\";\\n }];\\n }];\\n };\\n readonly \\"schema:ethdebug/format/materials/id\\": {\\n readonly $schema: \\"https://json-schema.org/draft/2020-12/schema\\";\\n readonly $id: \\"schema:ethdebug/format/materials/id\\";\\n readonly title: \\"ethdebug/format/materials/id\\";\\n readonly description: \\"An opaque external ID (likely generated by compiler)\\";\\n readonly type: readonly [\\"number\\", \\"string\\"];\\n readonly examples: readonly [5, \\"five\\"];\\n };\\n readonly \\"schema:ethdebug/format/materials/reference\\": {\\n readonly $schema: \\"https://json-schema.org/draft/2020-12/schema\\";\\n readonly $id: \\"schema:ethdebug/format/materials/reference\\";\\n readonly title: \\"ethdebug/format/materials/reference\\";\\n readonly description: \\"A reference to an external resource by ID\\";\\n readonly type: \\"object\\";\\n readonly properties: {\\n readonly id: {\\n readonly $ref: \\"schema:ethdebug/format/materials/id\\";\\n };\\n readonly type: {\\n readonly enum: readonly [\\"compilation\\", \\"source\\"];\\n };\\n };\\n readonly required: readonly [\\"id\\"];\\n readonly unevaluatedProperties: false;\\n readonly examples: readonly [{\\n readonly id: 1;\\n }];\\n };\\n readonly \\"schema:ethdebug/format/materials/source-range\\": {\\n readonly $schema: \\"https://json-schema.org/draft/2020-12/schema\\";\\n readonly $id: \\"schema:ethdebug/format/materials/source-range\\";\\n readonly title: \\"ethdebug/format/materials/source-range\\";\\n readonly description: \\"A range of bytes in a particular source.\\\\n\\\\nNote that this refers to the bytes range in the original character encoding\\\\nfor the source, not the character encoding used for strings in this JSON\\\\nformat (UTF-8). For compilers that support input sources in encodings other\\\\nthan this format\'s transmission encoding, compilers **must** address source\\\\nranges in this original encoding, and debuggers **must** re-encode source\\\\ncontents obtained from this format _before_ performing any range addressing.\\\\n\\\\n(Compilers that only accept UTF-8 or ASCII are naturally exempt from this\\\\nconcern.)\\\\n\\";\\n readonly type: \\"object\\";\\n readonly properties: {\\n readonly compilation: {\\n readonly title: \\"Compilation reference by ID\\";\\n readonly $ref: \\"schema:ethdebug/format/materials/reference\\";\\n };\\n readonly source: {\\n readonly title: \\"Source reference by ID\\";\\n readonly $ref: \\"schema:ethdebug/format/materials/reference\\";\\n };\\n readonly range: {\\n readonly type: \\"object\\";\\n readonly properties: {\\n readonly offset: {\\n readonly description: \\"Byte offset at beginning of range\\";\\n readonly type: \\"number\\";\\n };\\n readonly length: {\\n readonly description: \\"Number of bytes contained in range\\";\\n readonly type: \\"number\\";\\n };\\n };\\n readonly unevaluatedProperties: false;\\n readonly required: readonly [\\"offset\\", \\"length\\"];\\n };\\n };\\n readonly unevaluatedProperties: false;\\n readonly required: readonly [\\"source\\", \\"range\\"];\\n readonly examples: readonly [{\\n readonly source: {\\n readonly id: 5;\\n };\\n readonly range: {\\n readonly offset: 20;\\n readonly length: 100;\\n };\\n }];\\n };\\n readonly \\"schema:ethdebug/format/materials/source\\": {\\n readonly $schema: \\"https://json-schema.org/draft/2020-12/schema\\";\\n readonly $id: \\"schema:ethdebug/format/materials/source\\";\\n readonly title: \\"ethdebug/format/materials/source\\";\\n readonly description: \\"An object representing one unit of compiler input, the raw text contents and\\\\nidentifying metadata (such as file path) that were given to the compiler as\\\\npart of a compilation.\\\\n\\";\\n readonly type: \\"object\\";\\n readonly properties: {\\n readonly id: {\\n readonly description: \\"Source identifier. This field **must** be unique for all sources\\\\nwithin a single compiler invocation (compilation).\\\\n\\";\\n readonly $ref: \\"schema:ethdebug/format/materials/id\\";\\n };\\n readonly path: {\\n readonly type: \\"string\\";\\n readonly description: \\"Hierarchical file-system-like path to this source. This value may\\\\nbe an absolute path, a path relative to some root directory, a path\\\\nto some resource within a package, etc.\\\\n\\\\nThis value does not need to correspond to any file on disk (either\\\\nphysical or virtual), and might instead refer to a path identifier\\\\nfor a source that was generated by a compiler or other development tool.\\\\n\\\\nThis format makes no specific restrictions on how paths should be\\\\nspecified (e.g., no restriction on path separators, etc.), other than\\\\nthat values for this field should match what users observe elsewhere for\\\\nthe inputs/outputs of this particular compiler invocation.\\\\n\\\\nIf no path information is available for a particular source, e.g. if the\\\\nsource was provided to the compiler via shell standard input, this field\\\\nshould indicate that somehow (e.g., specifying `\\\\\\"path\\\\\\": \\\\\\"stdin\\\\\\"` or\\\\nsimilar).\\\\n\\\\nThis field\'s value **should** be unique across all sources within the\\\\nsame compilation.\\\\n\\";\\n };\\n readonly contents: {\\n readonly description: \\"The full contents of the source, possibly re-encoded as UTF-8 to\\\\nmatch parent JSON encoding.\\\\n\\\\nIn cases where input source used a different encoding, this object\\\\n**must** also specify an `encoding` property to indicate the\\\\nencoding originally used. Where relevant, debuggers **must** also\\\\nconvert these `contents` back to the specified original encoding so\\\\nas to match code author expectations.\\\\n\\";\\n readonly type: \\"string\\";\\n };\\n readonly encoding: {\\n readonly description: \\"Character encoding of original source `contents`. This property\\\\nis **required** if this encoding does not match the JSON transmission\\\\nencoding (UTF-8), since the value of the `contents` property will\\\\nrepresent the text of the source of this JSON encoding.\\\\n\\\\nThis property **must not** appear in objects that do not specify\\\\na `contents` property.\\\\n\\";\\n readonly type: \\"string\\";\\n };\\n readonly language: {\\n readonly description: \\"The high-level language that the source contents are written in.\\\\n\\";\\n readonly type: \\"string\\";\\n };\\n };\\n readonly required: readonly [\\"id\\", \\"path\\", \\"contents\\", \\"language\\"];\\n readonly examples: readonly [{\\n readonly id: 5;\\n readonly path: \\"./contracts/SimpleStorage.sol\\";\\n readonly contents: \\"// SPDX-License-Identifier: GPL-3.0\\\\npragma solidity >=0.4.16 <0.9.0;\\\\n\\\\ncontract SimpleStorage {\\\\n uint storedData;\\\\n\\\\n function set(uint x) public {\\\\n storedData = x;\\\\n }\\\\n\\\\n function get() public view returns (uint) {\\\\n return storedData;\\\\n }\\\\n}\\\\n\\";\\n readonly language: \\"Solidity\\";\\n }];\\n };\\n readonly \\"schema:ethdebug/format/pointer/collection/conditional\\": {\\n readonly $schema: \\"https://json-schema.org/draft/2020-12/schema\\";\\n readonly $id: \\"schema:ethdebug/format/pointer/collection/conditional\\";\\n readonly title: \\"ethdebug/format/pointer/collection/conditional\\";\\n readonly description: \\"A pointer defined conditionally based on the non-zero-ness of some expression\\\\n\\";\\n readonly type: \\"object\\";\\n readonly properties: {\\n readonly if: {\\n readonly $ref: \\"schema:ethdebug/format/pointer/expression\\";\\n };\\n readonly then: {\\n readonly $ref: \\"schema:ethdebug/format/pointer\\";\\n };\\n readonly else: {\\n readonly $ref: \\"schema:ethdebug/format/pointer\\";\\n };\\n };\\n readonly required: readonly [\\"if\\", \\"then\\"];\\n readonly additionalProperties: false;\\n readonly examples: readonly [{\\n readonly if: 0;\\n readonly then: {\\n readonly location: \\"memory\\";\\n readonly offset: 0;\\n readonly length: 1;\\n };\\n readonly else: {\\n readonly location: \\"memory\\";\\n readonly offset: 1;\\n readonly length: 1;\\n };\\n }];\\n };\\n readonly \\"schema:ethdebug/format/pointer/collection/group\\": {\\n readonly $schema: \\"https://json-schema.org/draft/2020-12/schema\\";\\n readonly $id: \\"schema:ethdebug/format/pointer/collection/group\\";\\n readonly title: \\"ethdebug/format/pointer/collection/group\\";\\n readonly description: \\"A composite collection of pointers\\\\n\\";\\n readonly type: \\"object\\";\\n readonly properties: {\\n readonly group: {\\n readonly type: \\"array\\";\\n readonly items: {\\n readonly $ref: \\"schema:ethdebug/format/pointer\\";\\n };\\n readonly minItems: 1;\\n };\\n };\\n readonly required: readonly [\\"group\\"];\\n readonly additionalProperties: false;\\n readonly examples: readonly [{\\n readonly group: readonly [{\\n readonly name: \\"data-pointer\\";\\n readonly location: \\"stack\\";\\n readonly slot: 0;\\n }, {\\n readonly location: \\"memory\\";\\n readonly offset: {\\n readonly $read: \\"data-pointer\\";\\n };\\n readonly length: 32;\\n }];\\n }];\\n };\\n readonly \\"schema:ethdebug/format/pointer/collection/list\\": {\\n readonly $schema: \\"https://json-schema.org/draft/2020-12/schema\\";\\n readonly $id: \\"schema:ethdebug/format/pointer/collection/list\\";\\n readonly title: \\"ethdebug/format/pointer/collection/list\\";\\n readonly description: \\"An ordered list of pointers, indexed starting at zero.\\\\n\\";\\n readonly type: \\"object\\";\\n readonly properties: {\\n readonly list: {\\n readonly type: \\"object\\";\\n readonly properties: {\\n readonly count: {\\n readonly description: \\"The size of the list that this collection represents.\\\\n\\";\\n readonly $ref: \\"schema:ethdebug/format/pointer/expression\\";\\n };\\n readonly each: {\\n readonly description: \\"An identifier name whose value as an expression resolves to the index\\\\nin the list\\\\n\\";\\n readonly $ref: \\"schema:ethdebug/format/pointer/identifier\\";\\n };\\n readonly is: {\\n readonly description: \\"The dynamically-generated pointer repeated as a list\\\\n\\";\\n readonly $ref: \\"schema:ethdebug/format/pointer\\";\\n };\\n };\\n readonly required: readonly [\\"count\\", \\"each\\", \\"is\\"];\\n };\\n };\\n readonly required: readonly [\\"list\\"];\\n readonly additionalProperties: false;\\n readonly examples: readonly [{\\n readonly list: {\\n readonly count: 5;\\n readonly each: \\"index\\";\\n readonly is: {\\n readonly location: \\"memory\\";\\n readonly offset: {\\n readonly $read: \\"index\\";\\n };\\n readonly length: 1;\\n };\\n };\\n }];\\n };\\n readonly \\"schema:ethdebug/format/pointer/collection/scope\\": {\\n readonly $schema: \\"https://json-schema.org/draft/2020-12/schema\\";\\n readonly $id: \\"schema:ethdebug/format/pointer/collection/scope\\";\\n readonly title: \\"ethdebug/format/pointer/collection/scope\\";\\n readonly description: \\"A pointer defined with the aid of additional variables with values specified\\\\nas expressions.\\\\n\\\\nVariables are specified by the `define` field as an object mapping of\\\\nexpression by identifier. Variables are specified **in order**, so that\\\\nlater appearing variables may reference earlier ones in the same object.\\\\n\\";\\n readonly type: \\"object\\";\\n readonly properties: {\\n readonly define: {\\n readonly title: \\"Mapping of variables to expression value\\";\\n readonly type: \\"object\\";\\n readonly patternProperties: {\\n readonly \\"^[a-zA-Z_\\\\\\\\-]+[a-zA-Z0-9$_\\\\\\\\-]*$\\": {\\n readonly $ref: \\"schema:ethdebug/format/pointer/expression\\";\\n };\\n };\\n readonly additionalProperties: false;\\n };\\n readonly in: {\\n readonly $ref: \\"schema:ethdebug/format/pointer\\";\\n };\\n };\\n readonly required: readonly [\\"define\\", \\"in\\"];\\n readonly additionalProperties: false;\\n readonly examples: readonly [{\\n readonly define: {\\n readonly \\"example-offset\\": {\\n readonly $sum: readonly [1, 2];\\n };\\n readonly \\"example-length\\": {\\n readonly $product: readonly [2, \\"$wordsize\\"];\\n };\\n };\\n readonly in: {\\n readonly name: \\"example\\";\\n readonly location: \\"memory\\";\\n readonly offset: \\"example-offset\\";\\n readonly length: \\"example-length\\";\\n };\\n }];\\n };\\n readonly \\"schema:ethdebug/format/pointer/collection\\": {\\n readonly $schema: \\"https://json-schema.org/draft/2020-12/schema\\";\\n readonly $id: \\"schema:ethdebug/format/pointer/collection\\";\\n readonly title: \\"ethdebug/format/pointer/collection\\";\\n readonly description: \\"A representation of a collection of pointers to data in the EVM\\\\n\\";\\n readonly type: \\"object\\";\\n readonly allOf: readonly [{\\n readonly oneOf: readonly [{\\n readonly required: readonly [\\"group\\"];\\n }, {\\n readonly required: readonly [\\"list\\"];\\n }, {\\n readonly required: readonly [\\"if\\"];\\n }, {\\n readonly required: readonly [\\"define\\"];\\n }];\\n }, {\\n readonly if: {\\n readonly required: readonly [\\"group\\"];\\n };\\n readonly then: {\\n readonly $ref: \\"schema:ethdebug/format/pointer/collection/group\\";\\n };\\n }, {\\n readonly if: {\\n readonly required: readonly [\\"list\\"];\\n };\\n readonly then: {\\n readonly $ref: \\"schema:ethdebug/format/pointer/collection/list\\";\\n };\\n }, {\\n readonly if: {\\n readonly required: readonly [\\"if\\"];\\n };\\n readonly then: {\\n readonly $ref: \\"schema:ethdebug/format/pointer/collection/conditional\\";\\n };\\n }, {\\n readonly if: {\\n readonly required: readonly [\\"define\\"];\\n };\\n readonly then: {\\n readonly $ref: \\"schema:ethdebug/format/pointer/collection/scope\\";\\n };\\n }];\\n };\\n readonly \\"schema:ethdebug/format/pointer/expression\\": {\\n readonly $schema: \\"https://json-schema.org/draft/2020-12/schema\\";\\n readonly $id: \\"schema:ethdebug/format/pointer/expression\\";\\n readonly title: \\"ethdebug/format/pointer/expression\\";\\n readonly description: \\"A schema for describing expressions that evaluate to values.\\\\n\\";\\n readonly oneOf: readonly [{\\n readonly $ref: \\"#/$defs/Literal\\";\\n }, {\\n readonly $ref: \\"#/$defs/Variable\\";\\n }, {\\n readonly $ref: \\"#/$defs/Constant\\";\\n }, {\\n readonly $ref: \\"#/$defs/Arithmetic\\";\\n }, {\\n readonly $ref: \\"#/$defs/Lookup\\";\\n }, {\\n readonly $ref: \\"#/$defs/Read\\";\\n }, {\\n readonly $ref: \\"#/$defs/Keccak256\\";\\n }, {\\n readonly $ref: \\"#/$defs/Resize\\";\\n }];\\n readonly $defs: {\\n readonly Literal: {\\n readonly title: \\"Literal value\\";\\n readonly description: \\"An unsigned number or a `0x`-prefixed string of hexadecimal digits\\\\n\\";\\n readonly oneOf: readonly [{\\n readonly type: \\"integer\\";\\n readonly description: \\"A non-negative integer literal\\";\\n readonly min: 0;\\n }, {\\n readonly type: \\"string\\";\\n readonly description: \\"A `0x`-prefixed hexadecimal string representing literal bytes\\\\n\\";\\n readonly pattern: \\"^0x[0-9a-fA-F]{1,}$\\";\\n }];\\n readonly examples: readonly [5, \\"0x0000000000000000000000000000000000000000000000000000000000000000\\"];\\n };\\n readonly Constant: {\\n readonly title: \\"Constant value\\";\\n readonly type: \\"string\\";\\n readonly enum: readonly [\\"$wordsize\\"];\\n };\\n readonly Variable: {\\n readonly title: \\"Variable identifier\\";\\n readonly description: \\"A string that matches an identifier used in an earlier declaration of\\\\na scalar variable. This expression evaluates to the value of that\\\\nvariable.\\\\n\\";\\n readonly $ref: \\"schema:ethdebug/format/pointer/identifier\\";\\n };\\n readonly Arithmetic: {\\n readonly title: \\"Arithmetic operation\\";\\n readonly type: \\"object\\";\\n readonly properties: {\\n readonly $sum: {\\n readonly description: \\"A list of expressions to be added together.\\\\n\\";\\n readonly $ref: \\"#/$defs/Operands\\";\\n };\\n readonly $difference: {\\n readonly description: \\"A tuple of two expressions where the second is to be subtracted from\\\\nthe first.\\\\n\\\\nIf the second operand is larger than the first, the result of this\\\\narithmetic operation is defined to equal zero (`0`).\\\\n\\\\n(i.e., `{ \\\\\\"$difference\\\\\\": [a, b] }` equals `a` minus `b`.)\\\\n\\";\\n readonly $ref: \\"#/$defs/Operands\\";\\n readonly minItems: 2;\\n readonly maxItems: 2;\\n };\\n readonly $product: {\\n readonly description: \\"A list of expressions to be multipled.\\\\n\\";\\n readonly $ref: \\"#/$defs/Operands\\";\\n };\\n readonly $quotient: {\\n readonly description: \\"A tuple of two expressions where the first corresponds to the\\\\ndividend and the second corresponds to the divisor, for the purposes\\\\nof doing integer division.\\\\n\\\\n(i.e., `{ \\\\\\"$quotient\\\\\\": [a, b] }` equals `a` divided by `b`.)\\\\n\\";\\n readonly $ref: \\"#/$defs/Operands\\";\\n readonly minItems: 2;\\n readonly maxItems: 2;\\n };\\n readonly $remainder: {\\n readonly description: \\"A tuple of two expressions where the first corresponds to the\\\\ndividend and the second corresponds to the divisor, for the purposes\\\\nof computing the modular-arithmetic remainder.\\\\n\\\\n(i.e., `{ \\\\\\"$remainder\\\\\\": [a, b] }` equals `a` mod `b`.)\\\\n\\";\\n readonly $ref: \\"#/$defs/Operands\\";\\n readonly minItems: 2;\\n readonly maxItems: 2;\\n };\\n };\\n readonly additionalProperties: false;\\n readonly minProperties: 1;\\n readonly maxProperties: 1;\\n readonly examples: readonly [{\\n readonly $sum: readonly [5, 3, 4];\\n }, {\\n readonly $difference: readonly [5, 3];\\n }, {\\n readonly $product: readonly [5, 3, 0];\\n }, {\\n readonly $quotient: readonly [5, 3];\\n }, {\\n readonly $remainder: readonly [{\\n readonly $product: readonly [2, 2, 2, 2];\\n }, 3];\\n }];\\n };\\n readonly Operands: {\\n readonly type: \\"array\\";\\n readonly items: {\\n readonly $ref: \\"schema:ethdebug/format/pointer/expression\\";\\n };\\n };\\n readonly Lookup: {\\n readonly title: \\"Lookup region definition\\";\\n readonly description: \\"An object of the form `{ \\\\\\".<property-name>\\\\\\": \\\\\\"<region>\\\\\\" }`, to\\\\ndenote that this expression is equivalent to the defined value for\\\\nthe property named `<property-name>` inside the region referenced as\\\\n`<region>`.\\\\n\\\\n`<property-name>` **must** be a valid and present property on the\\\\ncorresponding region, or it **must** correspond to an optional property\\\\nwhose schema specifies a default value for that property.\\\\n\\";\\n readonly type: \\"object\\";\\n readonly patternProperties: {\\n readonly \\"^\\\\\\\\.(offset|length|slot)$\\": {\\n readonly $ref: \\"#/$defs/Reference\\";\\n };\\n };\\n readonly additionalProperties: false;\\n readonly minProperties: 1;\\n readonly maxProperties: 1;\\n readonly examples: readonly [{\\n readonly \\".offset\\": \\"array-count\\";\\n }, {\\n readonly \\".length\\": \\"array-item\\";\\n }, {\\n readonly \\".offset\\": \\"$this\\";\\n }];\\n };\\n readonly Read: {\\n readonly title: \\"Read region bytes\\";\\n readonly description: \\"An object of the form `{ \\\\\\"$read\\\\\\": \\\\\\"<region>\\\\\\" }`. The value of this\\\\nexpression equals the raw bytes present in the running machine state\\\\nin the referenced region.\\\\n\\";\\n readonly type: \\"object\\";\\n readonly properties: {\\n readonly $read: {\\n readonly $ref: \\"#/$defs/Reference\\";\\n };\\n };\\n readonly required: readonly [\\"$read\\"];\\n readonly additionalProperties: false;\\n readonly examples: readonly [{\\n readonly $read: \\"struct-start\\";\\n }];\\n };\\n readonly Reference: {\\n readonly title: \\"Region reference\\";\\n readonly description: \\"A string value that **must** either be the `\\\\\\"name\\\\\\"` of at least one\\\\nregion declared with `{ \\\\\\"name\\\\\\": \\\\\\"<region>\\\\\\" }` previously in some root\\\\npointer representation, or it **must** be the literal value `\\\\\\"$this\\\\\\"`,\\\\nwhich indicates a reference to the region containing this expression.\\\\n\\\\nIf more than one region is defined with the same name, resolution is\\\\ndefined as firstly resolving to the latest earlier sibling that declares\\\\nthe matching name, then secondly resolving to the parent if it matches,\\\\nthen to parent\'s earlier siblings, and so on.\\\\n\\";\\n readonly type: \\"string\\";\\n readonly oneOf: readonly [{\\n readonly $ref: \\"schema:ethdebug/format/pointer/identifier\\";\\n }, {\\n readonly const: \\"$this\\";\\n readonly description: \\"Indicates a reference to the region containing this expression.\\\\n\\";\\n }];\\n };\\n readonly Keccak256: {\\n readonly title: \\"Keccak256 hash\\";\\n readonly description: \\"An object of the form `{ \\\\\\"$keccak256\\\\\\": [...values] }`, indicating that this\\\\nexpression evaluates to the Solidity-style keccak256 hash of the\\\\ntightly-packed bytes encoded by `values`.\\\\n\\";\\n readonly type: \\"object\\";\\n readonly properties: {\\n readonly $keccak256: {\\n readonly title: \\"Array of hashed values\\";\\n readonly type: \\"array\\";\\n readonly items: {\\n readonly $ref: \\"schema:ethdebug/format/pointer/expression\\";\\n };\\n };\\n };\\n readonly additionalProperties: false;\\n readonly required: readonly [\\"$keccak256\\"];\\n readonly examples: readonly [{\\n readonly $keccak256: readonly [0, \\"0x00\\"];\\n }];\\n };\\n readonly Resize: {\\n readonly title: \\"Resize data\\";\\n readonly description: \\"An object of the form `{ \\\\\\"$sized<N>\\\\\\": <expression> }`, where `<N>` is the\\\\nsmallest decimal representation of an unsigned integer and where\\\\n`<expression>` is another expression.\\\\n\\\\nThis object\'s value is evaluated as follows, based on the number\\\\nrepresented by `<N>` and the bytes width of `<expression>`:\\\\n- If the width equals `<N>`, this object evalutes to the same value as\\\\n `<expression>` (equivalent to the identity function or no-op).\\\\n- If the width is less than `<N>`, this object evalutes to the same value\\\\n as `<expression>` but with additional zero-bytes (`0x00`) prepended on\\\\n the left (most significant) side, such that the resulting bytes width\\\\n equals `<N>`.\\\\n- If the width exceeds `<N>`, this object evalutes to the same value\\\\n as `<expression>` but with a number of bytes removed from the left\\\\n (most significant) side until the bytes width equals `<N>`.\\\\n\\\\n(These cases match the behavior that Solidity uses for resizing its\\\\n`bytesN`/`uintN` types.)\\\\n\\";\\n readonly type: \\"object\\";\\n readonly additionalProperties: false;\\n readonly patternProperties: {\\n readonly \\"^\\\\\\\\$sized([1-9]+[0-9]*)$\\": {\\n readonly $ref: \\"schema:ethdebug/format/pointer/expression\\";\\n };\\n };\\n readonly minProperties: 1;\\n readonly maxProperties: 1;\\n readonly examples: readonly [{\\n readonly $sized2: \\"0x00\\";\\n }, {\\n readonly $sized2: \\"0xffffff\\";\\n }];\\n };\\n };\\n readonly examples: readonly [0, {\\n readonly $sum: readonly [{\\n readonly \\".offset\\": \\"array-start\\";\\n }, {\\n readonly \\".length\\": \\"array-start\\";\\n }, 1];\\n }, {\\n readonly $keccak256: readonly [5, {\\n readonly \\".offset\\": \\"array-start\\";\\n }];\\n }];\\n };\\n readonly \\"schema:ethdebug/format/pointer/identifier\\": {\\n readonly $schema: \\"https://json-schema.org/draft/2020-12/schema\\";\\n readonly $id: \\"schema:ethdebug/format/pointer/identifier\\";\\n readonly title: \\"ethdebug/format/pointer/identifier\\";\\n readonly description: \\"An identifier for use within the context of a root pointer\\\\n\\";\\n readonly type: \\"string\\";\\n readonly pattern: \\"^[a-zA-Z_\\\\\\\\-]+[a-zA-Z0-9$_\\\\\\\\-]*$\\";\\n readonly examples: readonly [\\"a\\", \\"a0\\", \\"-$\\", \\"__init__\\"];\\n };\\n readonly \\"schema:ethdebug/format/pointer/region/base\\": {\\n readonly $schema: \\"https://json-schema.org/draft/2020-12/schema\\";\\n readonly $id: \\"schema:ethdebug/format/pointer/region/base\\";\\n readonly title: \\"ethdebug/format/pointer/region/base\\";\\n readonly description: \\"Common schema for all region schemas, regardless of `\\\\\\"location\\\\\\": ...`.\\\\n\\";\\n readonly type: \\"object\\";\\n readonly properties: {\\n readonly name: {\\n readonly $ref: \\"schema:ethdebug/format/pointer/identifier\\";\\n };\\n readonly location: {\\n readonly type: \\"string\\";\\n };\\n };\\n readonly required: readonly [\\"location\\"];\\n readonly examples: readonly [{\\n readonly name: \\"array-item\\";\\n readonly location: \\"memory\\";\\n }];\\n };\\n readonly \\"schema:ethdebug/format/pointer/region/calldata\\": {\\n readonly $schema: \\"https://json-schema.org/draft/2020-12/schema\\";\\n readonly $id: \\"schema:ethdebug/format/pointer/region/calldata\\";\\n readonly title: \\"ethdebug/format/pointer/region/calldata\\";\\n readonly description: \\"A schema for representing a region of data in message calldata.\\\\n\\\\nThis schema is constructed by extending the base region schema\\\\nand the schema for the slice addressing scheme.\\\\n\\";\\n readonly type: \\"object\\";\\n readonly allOf: readonly [{\\n readonly title: \\"{\xa0\\\\\\"location\\\\\\":\xa0\\\\\\"calldata\\\\\\"\xa0}\\";\\n readonly properties: {\\n readonly location: {\\n readonly const: \\"calldata\\";\\n };\\n };\\n readonly required: readonly [\\"location\\"];\\n }, {\\n readonly $ref: \\"schema:ethdebug/format/pointer/region/base\\";\\n }, {\\n readonly $ref: \\"schema:ethdebug/format/pointer/scheme/slice\\";\\n }];\\n readonly unevaluatedProperties: false;\\n readonly examples: readonly [{\\n readonly location: \\"calldata\\";\\n readonly offset: \\"0x04\\";\\n readonly length: 32;\\n }];\\n };\\n readonly \\"schema:ethdebug/format/pointer/region/code\\": {\\n readonly $schema: \\"https://json-schema.org/draft/2020-12/schema\\";\\n readonly $id: \\"schema:ethdebug/format/pointer/region/code\\";\\n readonly title: \\"ethdebug/format/pointer/region/code\\";\\n readonly description: \\"A schema for representing a region of data in EVM bytecode.\\\\n\\\\nThis schema is constructed by extending the base region schema\\\\nand the schema for the slice addressing scheme.\\\\n\\";\\n readonly type: \\"object\\";\\n readonly allOf: readonly [{\\n readonly title: \\"{\xa0\\\\\\"location\\\\\\":\xa0\\\\\\"code\\\\\\"\xa0}\\";\\n readonly properties: {\\n readonly location: {\\n readonly const: \\"code\\";\\n };\\n };\\n readonly required: readonly [\\"location\\"];\\n }, {\\n readonly $ref: \\"schema:ethdebug/format/pointer/region/base\\";\\n }, {\\n readonly $ref: \\"schema:ethdebug/format/pointer/scheme/slice\\";\\n }];\\n readonly unevaluatedProperties: false;\\n readonly examples: readonly [{\\n readonly location: \\"code\\";\\n readonly offset: \\"0x04\\";\\n readonly length: 32;\\n }];\\n };\\n readonly \\"schema:ethdebug/format/pointer/region/memory\\": {\\n readonly $schema: \\"https://json-schema.org/draft/2020-12/schema\\";\\n readonly $id: \\"schema:ethdebug/format/pointer/region/memory\\";\\n readonly title: \\"ethdebug/format/pointer/region/memory\\";\\n readonly description: \\"A schema for representing a region of data in EVM memory. Pointer regions\\\\nwithin memory represent a single/atomic sequence of byte locations.\\\\n\\\\nThis schema is constructed by extending the base region schema\\\\nand the schema for the slice addressing scheme.\\\\n\\";\\n readonly type: \\"object\\";\\n readonly allOf: readonly [{\\n readonly title: \\"{\xa0\\\\\\"location\\\\\\":\xa0\\\\\\"memory\\\\\\"\xa0}\\";\\n readonly properties: {\\n readonly location: {\\n readonly const: \\"memory\\";\\n };\\n };\\n readonly required: readonly [\\"location\\"];\\n }, {\\n readonly $ref: \\"schema:ethdebug/format/pointer/region/base\\";\\n }, {\\n readonly $ref: \\"schema:ethdebug/format/pointer/scheme/slice\\";\\n }];\\n readonly unevaluatedProperties: false;\\n readonly examples: readonly [{\\n readonly location: \\"memory\\";\\n readonly offset: \\"0x04\\";\\n readonly length: 32;\\n }];\\n };\\n readonly \\"schema:ethdebug/format/pointer/region/returndata\\": {\\n readonly $schema: \\"https://json-schema.org/draft/2020-12/schema\\";\\n readonly $id: \\"schema:ethdebug/format/pointer/region/returndata\\";\\n readonly title: \\"ethdebug/format/pointer/region/returndata\\";\\n readonly description: \\"A schema for representing a region of data in message returndata.\\\\n\\\\nThis schema is constructed by extending the base region schema\\\\nand the schema for the slice addressing scheme.\\\\n\\";\\n readonly type: \\"object\\";\\n readonly allOf: readonly [{\\n readonly title: \\"{\xa0\\\\\\"location\\\\\\":\xa0\\\\\\"returndata\\\\\\"\xa0}\\";\\n readonly properties: {\\n readonly location: {\\n readonly const: \\"returndata\\";\\n };\\n };\\n readonly required: readonly [\\"location\\"];\\n }, {\\n readonly $ref: \\"schema:ethdebug/format/pointer/region/base\\";\\n }, {\\n readonly $ref: \\"schema:ethdebug/format/pointer/scheme/slice\\";\\n }];\\n readonly unevaluatedProperties: false;\\n readonly examples: readonly [{\\n readonly location: \\"returndata\\";\\n readonly offset: \\"0x04\\";\\n readonly length: 32;\\n }];\\n };\\n readonly \\"schema:ethdebug/format/pointer/region/stack\\": {\\n readonly $schema: \\"https://json-schema.org/draft/2020-12/schema\\";\\n readonly $id: \\"schema:ethdebug/format/pointer/region/stack\\";\\n readonly title: \\"ethdebug/format/pointer/region/stack\\";\\n readonly description: \\"A schema for representing a region of data in the EVM.\\\\n\\\\nDescribes stack slots as number of positions from the top (at time of\\\\nobservation). Debuggers reading this information **should** immediately\\\\nconvert these positions to absolute positions from the bottom.\\\\n\\\\nThis schema is constructed by extending the base region schema\\\\nand the schema for the segment addressing scheme.\\\\n\\";\\n readonly type: \\"object\\";\\n readonly allOf: readonly [{\\n readonly title: \\"{\xa0\\\\\\"location\\\\\\":\xa0\\\\\\"stack\\\\\\"\xa0}\\";\\n readonly properties: {\\n readonly location: {\\n readonly const: \\"stack\\";\\n };\\n };\\n readonly required: readonly [\\"location\\"];\\n }, {\\n readonly $ref: \\"schema:ethdebug/format/pointer/region/base\\";\\n }, {\\n readonly $ref: \\"schema:ethdebug/format/pointer/scheme/segment\\";\\n }];\\n readonly unevaluatedProperties: false;\\n readonly examples: readonly [{\\n readonly location: \\"stack\\";\\n readonly slot: 0;\\n }, {\\n readonly location: \\"stack\\";\\n readonly slot: 1;\\n readonly length: {\\n readonly $product: readonly [\\"$wordsize\\", 2];\\n };\\n }];\\n };\\n readonly \\"schema:ethdebug/format/pointer/region/storage\\": {\\n readonly $schema: \\"https://json-schema.org/draft/2020-12/schema\\";\\n readonly $id: \\"schema:ethdebug/format/pointer/region/storage\\";\\n readonly title: \\"ethdebug/format/pointer/region/storage\\";\\n readonly description: \\"A schema for representing a region of data in EVM storage.\\\\n\\\\nThis schema is constructed by extending the base region schema\\\\nand the schema for the segment addressing scheme.\\\\n\\";\\n readonly type: \\"object\\";\\n readonly allOf: readonly [{\\n readonly title: \\"{\xa0\\\\\\"location\\\\\\":\xa0\\\\\\"storage\\\\\\"\xa0}\\";\\n readonly properties: {\\n readonly location: {\\n readonly const: \\"storage\\";\\n };\\n };\\n readonly required: readonly [\\"location\\"];\\n }, {\\n readonly $ref: \\"schema:ethdebug/format/pointer/region/base\\";\\n }, {\\n readonly $ref: \\"schema:ethdebug/format/pointer/scheme/segment\\";\\n }];\\n readonly unevaluatedProperties: false;\\n readonly examples: readonly [{\\n readonly location: \\"storage\\";\\n readonly slot: \\"0x03\\";\\n }, {\\n readonly location: \\"storage\\";\\n readonly slot: \\"0x06\\";\\n readonly length: {\\n readonly $product: readonly [\\"$wordsize\\", 2];\\n };\\n }, {\\n readonly location: \\"storage\\";\\n readonly slot: \\"0x08\\";\\n readonly offset: {\\n readonly $quotient: readonly [\\"$wordsize\\", 2];\\n };\\n readonly length: {\\n readonly $quotient: readonly [\\"$wordsize\\", 2];\\n };\\n }];\\n };\\n readonly \\"schema:ethdebug/format/pointer/region/transient\\": {\\n readonly $schema: \\"https://json-schema.org/draft/2020-12/schema\\";\\n readonly $id: \\"schema:ethdebug/format/pointer/region/transient\\";\\n readonly title: \\"ethdebug/format/pointer/region/transient\\";\\n readonly description: \\"A schema for representing a region of data in EVM transient storage.\\\\n\\\\nThis schema is constructed by extending the base region schema\\\\nand the schema for the segment addressing scheme.\\\\n\\";\\n readonly type: \\"object\\";\\n readonly allOf: readonly [{\\n readonly title: \\"{\xa0\\\\\\"location\\\\\\":\xa0\\\\\\"transient\\\\\\"\xa0}\\";\\n readonly properties: {\\n readonly location: {\\n readonly const: \\"transient\\";\\n };\\n };\\n readonly required: readonly [\\"location\\"];\\n }, {\\n readonly $ref: \\"schema:ethdebug/format/pointer/region/base\\";\\n }, {\\n readonly $ref: \\"schema:ethdebug/format/pointer/scheme/segment\\";\\n }];\\n readonly unevaluatedProperties: false;\\n readonly examples: readonly [{\\n readonly location: \\"transient\\";\\n readonly slot: \\"0x03\\";\\n }, {\\n readonly location: \\"transient\\";\\n readonly slot: \\"0x06\\";\\n readonly length: {\\n readonly $product: readonly [\\"$wordsize\\", 2];\\n };\\n }, {\\n readonly location: \\"transient\\";\\n readonly slot: \\"0x08\\";\\n readonly offset: {\\n readonly $quotient: readonly [\\"$wordsize\\", 2];\\n };\\n readonly length: {\\n readonly $quotient: readonly [\\"$wordsize\\", 2];\\n };\\n }];\\n };\\n readonly \\"schema:ethdebug/format/pointer/region\\": {\\n readonly $schema: \\"https://json-schema.org/draft/2020-12/schema\\";\\n readonly $id: \\"schema:ethdebug/format/pointer/region\\";\\n readonly title: \\"ethdebug/format/pointer/region\\";\\n readonly description: \\"A representation of a region of data in the EVM\\\\n\\";\\n readonly type: \\"object\\";\\n readonly properties: {\\n readonly location: {\\n readonly $ref: \\"#/$defs/Location\\";\\n };\\n };\\n readonly allOf: readonly [{\\n readonly if: {\\n readonly properties: {\\n readonly location: {\\n readonly const: \\"stack\\";\\n };\\n };\\n };\\n readonly then: {\\n readonly $ref: \\"schema:ethdebug/format/pointer/region/stack\\";\\n };\\n }, {\\n readonly if: {\\n readonly properties: {\\n readonly location: {\\n readonly const: \\"memory\\";\\n };\\n };\\n };\\n readonly then: {\\n readonly $ref: \\"schema:ethdebug/format/pointer/region/memory\\";\\n };\\n }, {\\n readonly if: {\\n readonly properties: {\\n readonly location: {\\n readonly const: \\"storage\\";\\n };\\n };\\n };\\n readonly then: {\\n readonly $ref: \\"schema:ethdebug/format/pointer/region/storage\\";\\n };\\n }, {\\n readonly if: {\\n readonly properties: {\\n readonly location: {\\n readonly const: \\"calldata\\";\\n };\\n };\\n };\\n readonly then: {\\n readonly $ref: \\"schema:ethdebug/format/pointer/region/calldata\\";\\n };\\n }, {\\n readonly if: {\\n readonly properties: {\\n readonly location: {\\n readonly const: \\"returndata\\";\\n };\\n };\\n };\\n readonly then: {\\n readonly $ref: \\"schema:ethdebug/format/pointer/region/returndata\\";\\n };\\n }, {\\n readonly if: {\\n readonly properties: {\\n readonly location: {\\n readonly const: \\"transient\\";\\n };\\n };\\n };\\n readonly then: {\\n readonly $ref: \\"schema:ethdebug/format/pointer/region/transient\\";\\n };\\n }, {\\n readonly if: {\\n readonly properties: {\\n readonly location: {\\n readonly const: \\"code\\";\\n };\\n };\\n };\\n readonly then: {\\n readonly $ref: \\"schema:ethdebug/format/pointer/region/code\\";\\n };\\n }];\\n readonly $defs: {\\n readonly Location: {\\n readonly type: \\"string\\";\\n readonly enum: readonly [\\"stack\\", \\"memory\\", \\"storage\\", \\"calldata\\", \\"returndata\\", \\"transient\\", \\"code\\"];\\n };\\n };\\n readonly unevaluatedProperties: false;\\n readonly examples: readonly [{\\n readonly location: \\"storage\\";\\n readonly slot: \\"0x0000000000000000000000000000000000000000000000000000000000000000\\";\\n }];\\n };\\n readonly \\"schema:ethdebug/format/pointer/scheme/segment\\": {\\n readonly $schema: \\"https://json-schema.org/draft/2020-12/schema\\";\\n readonly $id: \\"schema:ethdebug/format/pointer/scheme/segment\\";\\n readonly title: \\"ethdebug/format/pointer/scheme/segment\\";\\n readonly description: \\"An addressing scheme for pointing to a range of bytes in a data location\\\\narranged as individually-addressable word-sized slots.\\\\n\\\\n**Note** that this addressing scheme permits addressing byte ranges that\\\\nextend beyond the last byte of a particular slot, or even covering the range\\\\nof multiple slots.\\\\n\\\\nIn such cases, this schema defines the range as the concatenation of bytes\\\\nacross slots such that the address of the first byte after the end of slot\\\\n`p` (i.e., `{ \\\\\\"offset\\\\\\": \\\\\\"$wordsize\\\\\\" }`) is interpreted as the first byte of\\\\nslot `p + 1`.\\\\n\\";\\n readonly type: \\"object\\";\\n readonly properties: {\\n readonly slot: {\\n readonly $ref: \\"schema:ethdebug/format/pointer/expression\\";\\n };\\n readonly offset: {\\n readonly description: \\"The starting byte index within the slot.\\\\n\\\\nThis field is **optional**. If unspecified, it has the default value of\\\\n`0`, indicating that the segment begins at the start of the specified\\\\nslot.\\\\n\\\\nThis field\'s expression must resolve to a value _n_ such that\\\\n0 \u2264 _n_ \\\\\\\\< `$wordsize` (i.e., the offset **must**\\\\nbegin inside the slot).\\\\n\\";\\n readonly $ref: \\"schema:ethdebug/format/pointer/expression\\";\\n readonly default: 0;\\n };\\n readonly length: {\\n readonly description: \\"The length of the bytes range this segment represents.\\\\n\\\\nThis field is **optional**. If unspecified, its default value indicates\\\\nthat the segment ends at the end of the slot.\\\\n\\\\nIf this field has value larger than the default value, i.e., if the\\\\nsegment extends beyond the last byte in the slot, then this segment is\\\\ndefined to be the concatenation of the sequentially-addressed slot(s)\\\\nfollowing following the slot specified.\\\\n\\";\\n readonly $ref: \\"schema:ethdebug/format/pointer/expression\\";\\n readonly default: {\\n readonly $difference: readonly [\\"$wordsize\\", {\\n readonly \\".offset\\": \\"$this\\";\\n }];\\n };\\n };\\n };\\n readonly required: readonly [\\"slot\\"];\\n readonly examples: readonly [{\\n readonly slot: 0;\\n }, {\\n readonly slot: 1;\\n readonly length: {\\n readonly $product: readonly [\\"$wordsize\\", 3];\\n };\\n }];\\n };\\n readonly \\"schema:ethdebug/format/pointer/scheme/slice\\": {\\n readonly $schema: \\"https://json-schema.org/draft/2020-12/schema\\";\\n readonly $id: \\"schema:ethdebug/format/pointer/scheme/slice\\";\\n readonly title: \\"ethdebug/format/pointer/scheme/slice\\";\\n readonly description: \\"An addressing scheme for pointing to a range of sequential bytes inside\\\\na data location whose structure is that of a regular bytes array\\\\n(i.e., where bytes are indexed by byte offset, with no concept of word).\\\\n\\";\\n readonly type: \\"object\\";\\n readonly properties: {\\n readonly offset: {\\n readonly description: \\"The index of the byte (starting from zero) in the data location where\\\\nthe slice begins.\\\\n\\";\\n readonly $ref: \\"schema:ethdebug/format/pointer/expression\\";\\n };\\n readonly length: {\\n readonly description: \\"The length of the slice in number of bytes.\\\\n\\";\\n readonly $ref: \\"schema:ethdebug/format/pointer/expression\\";\\n };\\n };\\n readonly required: readonly [\\"offset\\", \\"length\\"];\\n readonly examples: readonly [{\\n readonly offset: 0;\\n readonly length: 32;\\n }];\\n };\\n readonly \\"schema:ethdebug/format/pointer\\": {\\n readonly $schema: \\"https://json-schema.org/draft/2020-12/schema\\";\\n readonly $id: \\"schema:ethdebug/format/pointer\\";\\n readonly title: \\"ethdebug/format/pointer\\";\\n readonly description: \\"A schema for representing a pointer to a data position or a range of data\\\\npositions in the EVM.\\\\n\\\\nAn **ethdebug/format/pointer** is either a single region or a structured\\\\ncollection of other pointers.\\\\n\\";\\n readonly type: \\"object\\";\\n readonly if: {\\n readonly required: readonly [\\"location\\"];\\n };\\n readonly then: {\\n readonly $ref: \\"schema:ethdebug/format/pointer/region\\";\\n };\\n readonly else: {\\n readonly $ref: \\"schema:ethdebug/format/pointer/collection\\";\\n };\\n readonly examples: readonly [{\\n readonly location: \\"storage\\";\\n readonly slot: 2;\\n }, {\\n readonly group: readonly [{\\n readonly name: \\"array-start\\";\\n readonly location: \\"stack\\";\\n readonly slot: 0;\\n }, {\\n readonly name: \\"array-count\\";\\n readonly location: \\"memory\\";\\n readonly offset: {\\n readonly $read: \\"array-start\\";\\n };\\n readonly length: \\"$wordsize\\";\\n }, {\\n readonly list: {\\n readonly count: {\\n readonly $read: \\"array-count\\";\\n };\\n readonly each: \\"item-index\\";\\n readonly is: {\\n readonly name: \\"array-item\\";\\n readonly location: \\"memory\\";\\n readonly offset: {\\n readonly $sum: readonly [{\\n readonly \\".offset\\": \\"array-count\\";\\n }, {\\n readonly \\".length\\": \\"array-count\\";\\n }, {\\n readonly $product: readonly [\\"item-index\\", {\\n readonly \\".length\\": \\"array-item\\";\\n }];\\n }];\\n };\\n readonly length: \\"$wordsize\\";\\n };\\n };\\n }];\\n }, {\\n readonly group: readonly [{\\n readonly name: \\"struct-start\\";\\n readonly location: \\"stack\\";\\n readonly slot: 0;\\n }, {\\n readonly name: \\"struct-member-0\\";\\n readonly location: \\"memory\\";\\n readonly offset: {\\n readonly $read: \\"struct-start\\";\\n };\\n readonly length: \\"$wordsize\\";\\n }, {\\n readonly name: \\"struct-member-1\\";\\n readonly location: \\"memory\\";\\n readonly offset: {\\n readonly $sum: readonly [{\\n readonly \\".offset\\": \\"struct-member-0\\";\\n }, {\\n readonly \\".length\\": \\"struct-member-0\\";\\n }];\\n };\\n readonly length: \\"$wordsize\\";\\n }];\\n }, {\\n readonly group: readonly [{\\n readonly name: \\"array-start\\";\\n readonly location: \\"stack\\";\\n readonly slot: 0;\\n }, {\\n readonly name: \\"array-count\\";\\n readonly location: \\"memory\\";\\n readonly offset: {\\n readonly $read: \\"array-start\\";\\n };\\n readonly length: \\"$wordsize\\";\\n }, {\\n readonly list: {\\n readonly count: {\\n readonly $read: \\"array-count\\";\\n };\\n readonly each: \\"item-index\\";\\n readonly is: {\\n readonly group: readonly [{\\n readonly name: \\"struct-pointer\\";\\n readonly location: \\"memory\\";\\n readonly offset: {\\n readonly $sum: readonly [{\\n readonly \\".offset\\": \\"array-count\\";\\n }, {\\n readonly \\".length\\": \\"array-count\\";\\n }, {\\n readonly $product: readonly [\\"item-index\\", {\\n readonly \\".length\\": \\"struct-pointer\\";\\n }];\\n }];\\n };\\n readonly length: \\"$wordsize\\";\\n }, {\\n readonly name: \\"struct-member-0\\";\\n readonly location: \\"memory\\";\\n readonly offset: {\\n readonly $read: \\"struct-pointer\\";\\n };\\n readonly length: \\"$wordsize\\";\\n }, {\\n readonly name: \\"struct-member-1\\";\\n readonly location: \\"memory\\";\\n readonly offset: {\\n readonly $sum: readonly [{\\n readonly \\".offset\\": \\"struct-member-0\\";\\n }, {\\n readonly \\".length\\": \\"struct-member-0\\";\\n }];\\n };\\n readonly length: \\"$wordsize\\";\\n }];\\n };\\n };\\n }];\\n }, {\\n readonly define: {\\n readonly \\"contract-variable-slot\\": 0;\\n };\\n readonly in: {\\n readonly group: readonly [{\\n readonly name: \\"length-flag\\";\\n readonly location: \\"storage\\";\\n readonly slot: \\"contract-variable-slot\\";\\n readonly offset: {\\n readonly $difference: readonly [\\"$wordsize\\", 1];\\n };\\n readonly length: 1;\\n }, {\\n readonly name: \\"long-string-length-data\\";\\n readonly location: \\"storage\\";\\n readonly slot: \\"contract-variable-slot\\";\\n readonly offset: 0;\\n readonly length: \\"$wordsize\\";\\n }, {\\n readonly if: {\\n readonly $remainder: readonly [{\\n readonly $sum: readonly [{\\n readonly $read: \\"length-flag\\";\\n }, 1];\\n }, 2];\\n };\\n readonly then: {\\n readonly define: {\\n readonly \\"string-length\\": {\\n readonly $quotient: readonly [{\\n readonly $read: \\"length-flag\\";\\n }, 2];\\n };\\n };\\n readonly in: {\\n readonly name: \\"string\\";\\n readonly location: \\"storage\\";\\n readonly slot: \\"contract-variable-slot\\";\\n readonly offset: 0;\\n readonly length: \\"string-length\\";\\n };\\n };\\n readonly else: {\\n readonly define: {\\n readonly \\"string-length\\": {\\n readonly $quotient: readonly [{\\n readonly $difference: readonly [{\\n readonly $read: \\"long-string-length-data\\";\\n }, 1];\\n }, 2];\\n };\\n readonly \\"start-slot\\": {\\n readonly $keccak256: readonly [{\\n readonly $sized32: \\"contract-variable-slot\\";\\n }];\\n };\\n readonly \\"total-slots\\": {\\n readonly $quotient: readonly [{\\n readonly $sum: readonly [\\"string-length\\", {\\n readonly $difference: readonly [\\"$wordsize\\", 1];\\n }];\\n }, \\"$wordsize\\"];\\n };\\n };\\n readonly in: {\\n readonly list: {\\n readonly count: \\"total-slots\\";\\n readonly each: \\"i\\";\\n readonly is: {\\n readonly define: {\\n readonly \\"current-slot\\": {\\n readonly $sum: readonly [\\"start-slot\\", \\"i\\"];\\n };\\n readonly \\"previous-length\\": {\\n readonly $product: readonly [\\"i\\", \\"$wordsize\\"];\\n };\\n };\\n readonly in: {\\n readonly if: {\\n readonly $difference: readonly [\\"string-length\\", {\\n readonly $sum: readonly [\\"previous-length\\", \\"$wordsize\\"];\\n }];\\n };\\n readonly then: {\\n readonly name: \\"string\\";\\n readonly location: \\"storage\\";\\n readonly slot: \\"current-slot\\";\\n };\\n readonly else: {\\n readonly name: \\"string\\";\\n readonly location: \\"storage\\";\\n readonly slot: \\"current-slot\\";\\n readonly offset: 0;\\n readonly length: {\\n readonly $difference: readonly [\\"string-length\\", \\"previous-length\\"];\\n };\\n };\\n };\\n };\\n };\\n };\\n };\\n }];\\n };\\n }];\\n };\\n readonly \\"schema:ethdebug/format/type/base\\": {\\n readonly $schema: \\"https://json-schema.org/draft/2020-12/schema\\";\\n readonly $id: \\"schema:ethdebug/format/type/base\\";\\n readonly title: \\"ethdebug/format/type/base\\";\\n readonly description: \\"Defines the minimally necessary schema for a data type. Types belong to a particular `class` (`\\\\\\"elementary\\\\\\"` or `\\\\\\"complex\\\\\\"`), and are further identified by a particular `kind`.\\";\\n readonly type: \\"object\\";\\n readonly oneOf: readonly [{\\n readonly $ref: \\"#/$defs/ElementaryType\\";\\n }, {\\n readonly $ref: \\"#/$defs/ComplexType\\";\\n }];\\n readonly $defs: {\\n readonly ElementaryType: {\\n readonly title: \\"Base elementary type\\";\\n readonly description: \\"Represents an elementary type (one that does not compose other types)\\";\\n readonly type: \\"object\\";\\n readonly properties: {\\n readonly class: {\\n readonly type: \\"string\\";\\n readonly const: \\"elementary\\";\\n };\\n readonly kind: {\\n readonly type: \\"string\\";\\n };\\n readonly contains: {\\n readonly not: {\\n readonly description: \\"Elementary types **must not** specify a `contains` field (to make it easier to discriminate elementary vs. complex)\\";\\n };\\n };\\n };\\n readonly required: readonly [\\"kind\\"];\\n readonly examples: readonly [{\\n readonly kind: \\"uint\\";\\n readonly bits: 256;\\n }];\\n };\\n readonly ComplexType: {\\n readonly title: \\"Base complex type\\";\\n readonly description: \\"Represents a complex type, one that composes other types (e.g., arrays, structs, mappings)\\";\\n readonly type: \\"object\\";\\n readonly properties: {\\n readonly class: {\\n readonly type: \\"string\\";\\n readonly const: \\"complex\\";\\n readonly description: \\"Indicates that this is a complex type\\";\\n };\\n readonly kind: {\\n readonly type: \\"string\\";\\n readonly description: \\"The specific kind of complex type, e.g., array or struct\\";\\n };\\n readonly contains: {\\n readonly title: \\"Complex type `contains` field\\";\\n readonly description: \\"Either a type wrapper, an array of type wrappers, or an object mapping to type wrappers.\\";\\n readonly oneOf: readonly [{\\n readonly $ref: \\"#/$defs/TypeWrapper\\";\\n }, {\\n readonly $ref: \\"#/$defs/TypeWrapperArray\\";\\n }, {\\n readonly $ref: \\"#/$defs/TypeWrapperObject\\";\\n }];\\n };\\n };\\n readonly required: readonly [\\"kind\\", \\"contains\\"];\\n readonly examples: readonly [{\\n readonly kind: \\"array\\";\\n readonly contains: {\\n readonly type: {\\n readonly kind: \\"uint\\";\\n readonly bits: 256;\\n };\\n };\\n }, {\\n readonly kind: \\"struct\\";\\n readonly contains: readonly [{\\n readonly member: \\"x\\";\\n readonly type: {\\n readonly kind: \\"uint\\";\\n readonly bits: 256;\\n };\\n }, {\\n readonly member: \\"y\\";\\n readonly type: {\\n readonly kind: \\"uint\\";\\n readonly bits: 256;\\n };\\n }];\\n }, {\\n readonly kind: \\"mapping\\";\\n readonly contains: {\\n readonly key: {\\n readonly type: {\\n readonly kind: \\"address\\";\\n readonly payable: true;\\n };\\n };\\n readonly value: {\\n readonly type: {\\n readonly kind: \\"uint\\";\\n readonly bits: 256;\\n };\\n };\\n };\\n }];\\n };\\n readonly TypeWrapper: {\\n readonly title: \\"{ \\\\\\"type\\\\\\": ... }\\";\\n readonly description: \\"A wrapper around a type. Defines a `\\\\\\"type\\\\\\"` field that may include a full Type representation or a reference to a known Type by ID. Note that this schema permits additional properties on the same object.\\";\\n readonly type: \\"object\\";\\n readonly properties: {\\n readonly type: {\\n readonly oneOf: readonly [{\\n readonly $ref: \\"schema:ethdebug/format/type/base\\";\\n }, {\\n readonly $ref: \\"schema:ethdebug/format/type/reference\\";\\n }];\\n };\\n };\\n readonly required: readonly [\\"type\\"];\\n };\\n readonly TypeWrapperArray: {\\n readonly title: \\"{ \\\\\\"type\\\\\\": ... }[]\\";\\n readonly description: \\"A list of wrapped types, where the wrapper may add fields\\";\\n readonly type: \\"array\\";\\n readonly items: {\\n readonly $ref: \\"#/$defs/TypeWrapper\\";\\n };\\n };\\n readonly TypeWrapperObject: {\\n readonly title: \\"{ \\\\\\"key\\\\\\": { \\\\\\"type\\\\\\": ... }, ... }\\";\\n readonly description: \\"A key-value mapping of wrapped types, where the wrapper may add fields\\";\\n readonly type: \\"object\\";\\n readonly additionalProperties: {\\n readonly $ref: \\"#/$defs/TypeWrapper\\";\\n };\\n };\\n };\\n };\\n readonly \\"schema:ethdebug/format/type/complex/alias\\": {\\n readonly $schema: \\"https://json-schema.org/draft/2020-12/schema\\";\\n readonly $id: \\"schema:ethdebug/format/type/complex/alias\\";\\n readonly title: \\"ethdebug/format/type/complex/alias\\";\\n readonly description: \\"Schema representing a type alias to another type\\";\\n readonly type: \\"object\\";\\n readonly properties: {\\n readonly class: {\\n readonly type: \\"string\\";\\n readonly const: \\"complex\\";\\n };\\n readonly kind: {\\n readonly type: \\"string\\";\\n readonly const: \\"alias\\";\\n };\\n readonly contains: {\\n readonly $ref: \\"schema:ethdebug/format/type/wrapper\\";\\n };\\n readonly definition: {\\n readonly $ref: \\"schema:ethdebug/format/type/definition\\";\\n };\\n };\\n readonly required: readonly [\\"kind\\", \\"contains\\"];\\n readonly examples: readonly [{\\n readonly kind: \\"alias\\";\\n readonly contains: {\\n readonly type: {\\n readonly kind: \\"uint\\";\\n readonly bits: 256;\\n };\\n };\\n }, {\\n readonly kind: \\"alias\\";\\n readonly contains: {\\n readonly type: {\\n readonly kind: \\"array\\";\\n readonly contains: {\\n readonly type: {\\n readonly class: \\"elementary\\";\\n readonly kind: \\"super-uint\\";\\n readonly blits: -256;\\n };\\n };\\n };\\n };\\n }];\\n };\\n readonly \\"schema:ethdebug/format/type/complex/array\\": {\\n readonly $schema: \\"https://json-schema.org/draft/2020-12/schema\\";\\n readonly $id: \\"schema:ethdebug/format/type/complex/array\\";\\n readonly title: \\"ethdebug/format/type/complex/array\\";\\n readonly type: \\"object\\";\\n readonly properties: {\\n readonly class: {\\n readonly type: \\"string\\";\\n readonly const: \\"complex\\";\\n };\\n readonly kind: {\\n readonly type: \\"string\\";\\n readonly const: \\"array\\";\\n };\\n readonly contains: {\\n readonly $ref: \\"schema:ethdebug/format/type/wrapper\\";\\n };\\n };\\n readonly required: readonly [\\"kind\\", \\"contains\\"];\\n readonly examples: readonly [{\\n readonly kind: \\"array\\";\\n readonly contains: {\\n readonly type: {\\n readonly kind: \\"uint\\";\\n readonly bits: 256;\\n };\\n };\\n }, {\\n readonly kind: \\"array\\";\\n readonly contains: {\\n readonly type: {\\n readonly kind: \\"array\\";\\n readonly contains: {\\n readonly type: {\\n readonly class: \\"elementary\\";\\n readonly kind: \\"super-uint\\";\\n readonly blits: -256;\\n };\\n };\\n };\\n };\\n }];\\n };\\n readonly \\"schema:ethdebug/format/type/complex/function\\": {\\n readonly $schema: \\"https://json-schema.org/draft/2020-12/schema\\";\\n readonly $id: \\"schema:ethdebug/format/type/complex/function\\";\\n readonly title: \\"ethdebug/format/type/complex/function\\";\\n readonly description: \\"Schema for representing a function type.\\\\n\\\\nType representations must indicate whether they represent a function that is\\\\ncalled internally (within the semantics of the language) or a function that\\\\nis called externally (via EVM contract call semantics and the Solidity ABI).\\\\nInternal function types require the `\\\\\\"internal\\\\\\": true` field; external\\\\nfunction types require `\\\\\\"external\\\\\\": true`.\\\\n\\\\nNote that external function types may include a representation of the\\\\ncontract type that defines or provides this function as an external\\\\ninterface.\\\\n\\";\\n readonly type: \\"object\\";\\n readonly properties: {\\n readonly class: {\\n readonly type: \\"string\\";\\n readonly const: \\"complex\\";\\n };\\n readonly kind: {\\n readonly type: \\"string\\";\\n readonly const: \\"function\\";\\n };\\n readonly contains: {\\n readonly type: \\"object\\";\\n readonly title: \\"Parameter and return types\\";\\n readonly description: \\"Types this function type composes. Function types inherently compose\\\\ntwo groupings of types (an ordered list of parameter types and typically\\\\neither a return value or return parameters). Function types\' `contains`\\\\nfield is organized as a mapping of `parameters` types (a type wrapper for\\\\na tuple type) and an optional `returns` type (either a generic type\\\\nwrapper or a type wrapper for a tuple type).\\\\n\\\\nThis definition applies for both cases (internal and external function\\\\ntypes). Each of those specific types may expand this `contains` field\\\\nschema with other semantic details (such as an external function type\\\\nindicating the contract type from which it is exposed).\\\\n\\";\\n readonly properties: {\\n readonly parameters: {\\n readonly $ref: \\"#/$defs/Parameters\\";\\n };\\n readonly returns: {\\n readonly type: \\"object\\";\\n readonly title: \\"Return type (or tuple of types)\\";\\n readonly description: \\"To accommodate languages differing in whether functions return single\\\\nvalues or lists of values, this field may be either a generic type\\\\nwrapper or explicitly defined as a type wrapper around a tuple type.\\\\n\\\\nDebuggers that implement this schema **should** be aware that\\\\nlanguages whose functions return sole values might return tuple\\\\ntypes. Resolving this ambiguity remains outside the scope of the\\\\nschema (but compilers **must** be consistent when representing\\\\nfunction types in this schema).\\\\n\\";\\n readonly anyOf: readonly [{\\n readonly $ref: \\"schema:ethdebug/format/type/wrapper\\";\\n }, {\\n readonly $ref: \\"#/$defs/Parameters\\";\\n }];\\n };\\n };\\n readonly required: readonly [\\"parameters\\"];\\n };\\n readonly definition: {\\n readonly $ref: \\"schema:ethdebug/format/type/definition\\";\\n };\\n };\\n readonly oneOf: readonly [{\\n readonly type: \\"object\\";\\n readonly title: \\"External function type\\";\\n readonly properties: {\\n readonly internal: {\\n readonly const: false;\\n };\\n readonly external: {\\n readonly const: true;\\n };\\n readonly contains: {\\n readonly type: \\"object\\";\\n readonly title: \\"Additional contents\\";\\n readonly properties: {\\n readonly contract: {\\n readonly type: \\"object\\";\\n readonly title: \\"Contract type providing external function\\";\\n readonly description: \\"A wrapper around the contract type that composes this external function type.\\";\\n readonly allOf: readonly [{\\n readonly $ref: \\"schema:ethdebug/format/type/wrapper\\";\\n }, {\\n readonly type: \\"object\\";\\n readonly title: \\"Contract type wrapper\\";\\n readonly properties: {\\n readonly type: {\\n readonly $ref: \\"schema:ethdebug/format/type/elementary/contract\\";\\n };\\n };\\n }];\\n };\\n };\\n };\\n };\\n readonly required: readonly [\\"external\\"];\\n }, {\\n readonly type: \\"object\\";\\n readonly title: \\"Internal function type\\";\\n readonly properties: {\\n readonly internal: {\\n readonly const: true;\\n };\\n readonly external: {\\n readonly const: false;\\n };\\n };\\n readonly required: readonly [\\"internal\\"];\\n }];\\n readonly examples: readonly [{\\n readonly kind: \\"function\\";\\n readonly internal: true;\\n readonly definition: {\\n readonly name: \\"increment\\";\\n };\\n readonly contains: {\\n readonly parameters: {\\n readonly type: {\\n readonly kind: \\"tuple\\";\\n readonly contains: readonly [{\\n readonly name: \\"value\\";\\n readonly type: {\\n readonly kind: \\"uint\\";\\n readonly bits: 256;\\n };\\n }];\\n };\\n };\\n readonly returns: {\\n readonly type: {\\n readonly kind: \\"uint\\";\\n readonly bits: 256;\\n };\\n };\\n };\\n }, {\\n readonly kind: \\"function\\";\\n readonly external: true;\\n readonly definition: {\\n readonly name: \\"withdraw\\";\\n };\\n readonly contains: {\\n readonly contract: {\\n readonly type: {\\n readonly kind: \\"contract\\";\\n readonly payable: true;\\n readonly interface: true;\\n readonly definition: {\\n readonly name: \\"Bank\\";\\n };\\n };\\n };\\n readonly parameters: {\\n readonly type: {\\n readonly kind: \\"tuple\\";\\n readonly contains: readonly [{\\n readonly name: \\"beneficiary\\";\\n readonly type: {\\n readonly kind: \\"address\\";\\n readonly payable: true;\\n };\\n }, {\\n readonly name: \\"amount\\";\\n readonly type: {\\n readonly kind: \\"ufixed\\";\\n readonly bits: 128;\\n readonly places: 18;\\n };\\n }];\\n };\\n };\\n readonly returns: {\\n readonly type: {\\n readonly kind: \\"tuple\\";\\n readonly contains: readonly [];\\n };\\n };\\n };\\n }];\\n readonly $defs: {\\n readonly Parameters: {\\n readonly type: \\"object\\";\\n readonly title: \\"Parameters\\";\\n readonly description: \\"A type wrapper around a tuple of types. This schema uses a tuple type to represent an ordered list of types.\\";\\n readonly allOf: readonly [{\\n readonly $ref: \\"schema:ethdebug/format/type/wrapper\\";\\n }, {\\n readonly title: \\"Tuple type wrapper\\";\\n readonly type: \\"object\\";\\n readonly properties: {\\n readonly type: {\\n readonly $ref: \\"schema:ethdebug/format/type/complex/tuple\\";\\n };\\n };\\n }];\\n };\\n };\\n };\\n readonly \\"schema:ethdebug/format/type/complex/mapping\\": {\\n readonly $schema: \\"https://json-schema.org/draft/2020-12/schema\\";\\n readonly $id: \\"schema:ethdebug/format/type/complex/mapping\\";\\n readonly title: \\"ethdebug/format/type/complex/mapping\\";\\n readonly description: \\"Schema for representing mapping types\\";\\n readonly type: \\"object\\";\\n readonly properties: {\\n readonly class: {\\n readonly type: \\"string\\";\\n readonly const: \\"complex\\";\\n };\\n readonly kind: {\\n readonly type: \\"string\\";\\n readonly const: \\"mapping\\";\\n };\\n readonly contains: {\\n readonly type: \\"object\\";\\n readonly title: \\"Mapping key/value types\\";\\n readonly properties: {\\n readonly key: {\\n readonly $ref: \\"schema:ethdebug/format/type/wrapper\\";\\n };\\n readonly value: {\\n readonly $ref: \\"schema:ethdebug/format/type/wrapper\\";\\n };\\n };\\n readonly required: readonly [\\"key\\", \\"value\\"];\\n };\\n };\\n readonly required: readonly [\\"kind\\", \\"contains\\"];\\n readonly examples: readonly [{\\n readonly kind: \\"mapping\\";\\n readonly contains: {\\n readonly key: {\\n readonly type: {\\n readonly kind: \\"address\\";\\n };\\n };\\n readonly value: {\\n readonly type: {\\n readonly kind: \\"uint\\";\\n readonly bits: 256;\\n };\\n };\\n };\\n }];\\n };\\n readonly \\"schema:ethdebug/format/type/complex/struct\\": {\\n readonly $schema: \\"https://json-schema.org/draft/2020-12/schema\\";\\n readonly $id: \\"schema:ethdebug/format/type/complex/struct\\";\\n readonly title: \\"ethdebug/format/type/complex/struct\\";\\n readonly description: \\"Schema for representing struct types\\";\\n readonly type: \\"object\\";\\n readonly properties: {\\n readonly class: {\\n readonly type: \\"string\\";\\n readonly const: \\"complex\\";\\n };\\n readonly kind: {\\n readonly type: \\"string\\";\\n readonly const: \\"struct\\";\\n };\\n readonly contains: {\\n readonly type: \\"array\\";\\n readonly items: {\\n readonly $ref: \\"#/$defs/MemberField\\";\\n };\\n };\\n readonly definition: {\\n readonly $ref: \\"schema:ethdebug/format/type/definition\\";\\n };\\n };\\n readonly required: readonly [\\"kind\\", \\"contains\\"];\\n readonly examples: readonly [{\\n readonly kind: \\"struct\\";\\n readonly contains: readonly [{\\n readonly name: \\"x\\";\\n readonly type: {\\n readonly kind: \\"uint\\";\\n readonly bits: 128;\\n };\\n }, {\\n readonly name: \\"y\\";\\n readonly type: {\\n readonly kind: \\"uint\\";\\n readonly bits: 128;\\n };\\n }];\\n }];\\n readonly $defs: {\\n readonly MemberField: {\\n readonly type: \\"object\\";\\n readonly title: \\"MemberField\\";\\n readonly description: \\"A schema representing a member field inside a struct type. This is an **ethdebug/format/type/wrapper** with additional fields.\\";\\n readonly allOf: readonly [{\\n readonly $ref: \\"schema:ethdebug/format/type/wrapper\\";\\n }, {\\n readonly title: \\"Additional fields\\";\\n readonly description: \\"An object with optional `name` property for identifying named struct member fields. **Note** that this language does not specify that a struct must be consistent in its use of naming for all fields or none\\";\\n readonly type: \\"object\\";\\n readonly properties: {\\n readonly name: {\\n readonly type: \\"string\\";\\n };\\n };\\n }];\\n };\\n };\\n };\\n readonly \\"schema:ethdebug/format/type/complex/tuple\\": {\\n readonly $schema: \\"https://json-schema.org/draft/2020-12/schema\\";\\n readonly $id: \\"schema:ethdebug/format/type/complex/tuple\\";\\n readonly title: \\"ethdebug/format/type/complex/tuple\\";\\n readonly description: \\"Schema for representing tuple types\\";\\n readonly type: \\"object\\";\\n readonly properties: {\\n readonly class: {\\n readonly type: \\"string\\";\\n readonly const: \\"complex\\";\\n };\\n readonly kind: {\\n readonly type: \\"string\\";\\n readonly const: \\"tuple\\";\\n };\\n readonly contains: {\\n readonly type: \\"array\\";\\n readonly items: {\\n readonly $ref: \\"#/$defs/Element\\";\\n };\\n };\\n };\\n readonly required: readonly [\\"kind\\", \\"contains\\"];\\n readonly examples: readonly [{\\n readonly kind: \\"tuple\\";\\n readonly contains: readonly [];\\n }, {\\n readonly kind: \\"tuple\\";\\n readonly contains: readonly [{\\n readonly name: \\"x\\";\\n readonly type: {\\n readonly kind: \\"uint\\";\\n readonly bits: 128;\\n };\\n }, {\\n readonly name: \\"y\\";\\n readonly type: {\\n readonly kind: \\"uint\\";\\n readonly bits: 128;\\n };\\n }];\\n }];\\n readonly $defs: {\\n readonly Element: {\\n readonly type: \\"object\\";\\n readonly title: \\"Element\\";\\n readonly description: \\"An optionally named element type within a tuple. This is an **ethdebug/format/type/wrapper** with additional fields.\\";\\n readonly allOf: readonly [{\\n readonly $ref: \\"schema:ethdebug/format/type/wrapper\\";\\n }, {\\n readonly title: \\"Additional fields\\";\\n readonly type: \\"object\\";\\n readonly properties: {\\n readonly name: {\\n readonly type: \\"string\\";\\n readonly description: \\"For tuple types where positional element types are identified by name, this field **should** include this information.\\\\nThis schema makes no restriction on whether all-or-no elements have names, and so this field may be sparse across elements of the same tuple.\\";\\n };\\n };\\n }];\\n };\\n };\\n };\\n readonly \\"schema:ethdebug/format/type/complex\\": {\\n readonly $schema: \\"https://json-schema.org/draft/2020-12/schema\\";\\n readonly $id: \\"schema:ethdebug/format/type/complex\\";\\n readonly title: \\"ethdebug/format/type/complex\\";\\n readonly description: \\"Canonical representation of a complex type\\";\\n readonly type: \\"object\\";\\n readonly properties: {\\n readonly kind: {\\n readonly $ref: \\"#/$defs/Kind\\";\\n };\\n };\\n readonly required: readonly [\\"kind\\"];\\n readonly allOf: readonly [{\\n readonly if: {\\n readonly properties: {\\n readonly kind: {\\n readonly const: \\"alias\\";\\n };\\n };\\n };\\n readonly then: {\\n readonly $ref: \\"schema:ethdebug/format/type/complex/alias\\";\\n };\\n }, {\\n readonly if: {\\n readonly properties: {\\n readonly kind: {\\n readonly const: \\"tuple\\";\\n };\\n };\\n };\\n readonly then: {\\n readonly $ref: \\"schema:ethdebug/format/type/complex/tuple\\";\\n };\\n }, {\\n readonly if: {\\n readonly properties: {\\n readonly kind: {\\n readonly const: \\"array\\";\\n };\\n };\\n };\\n readonly then: {\\n readonly $ref: \\"schema:ethdebug/format/type/complex/array\\";\\n };\\n }, {\\n readonly if: {\\n readonly properties: {\\n readonly kind: {\\n readonly const: \\"mapping\\";\\n };\\n };\\n };\\n readonly then: {\\n readonly $ref: \\"schema:ethdebug/format/type/complex/mapping\\";\\n };\\n }, {\\n readonly if: {\\n readonly properties: {\\n readonly kind: {\\n readonly const: \\"struct\\";\\n };\\n };\\n };\\n readonly then: {\\n readonly $ref: \\"schema:ethdebug/format/type/complex/struct\\";\\n };\\n }, {\\n readonly if: {\\n readonly properties: {\\n readonly kind: {\\n readonly const: \\"function\\";\\n };\\n };\\n };\\n readonly then: {\\n readonly $ref: \\"schema:ethdebug/format/type/complex/function\\";\\n };\\n }];\\n readonly $defs: {\\n readonly Kind: {\\n readonly title: \\"Known complex kind\\";\\n readonly description: \\"A schema for the values of `kind` reserved for known complex types included in ethdebug/format\\";\\n readonly type: \\"string\\";\\n readonly enum: readonly [\\"alias\\", \\"tuple\\", \\"array\\", \\"mapping\\", \\"struct\\", \\"function\\"];\\n };\\n };\\n };\\n readonly \\"schema:ethdebug/format/type/definition\\": {\\n readonly $schema: \\"https://json-schema.org/draft/2020-12/schema\\";\\n readonly $id: \\"schema:ethdebug/format/type/definition\\";\\n readonly title: \\"ethdebug/format/type/definition\\";\\n readonly description: \\"Object containing name and location information for a type.\\\\n\\\\nThis schema does not require any particular field, but it **must** contain\\\\nat least one property.\\\\n\\";\\n readonly type: \\"object\\";\\n readonly properties: {\\n readonly name: {\\n readonly type: \\"string\\";\\n };\\n readonly location: {\\n readonly $ref: \\"schema:ethdebug/format/materials/source-range\\";\\n };\\n };\\n readonly anyOf: readonly [{\\n readonly title: \\"Required `name`\\";\\n readonly required: readonly [\\"name\\"];\\n }, {\\n readonly title: \\"Required `location`\\";\\n readonly required: readonly [\\"location\\"];\\n }];\\n readonly examples: readonly [{\\n readonly name: \\"Ballot\\";\\n readonly location: {\\n readonly source: {\\n readonly id: 5;\\n };\\n readonly range: {\\n readonly offset: 10;\\n readonly length: 56;\\n };\\n };\\n }];\\n };\\n readonly \\"schema:ethdebug/format/type/elementary/address\\": {\\n readonly $schema: \\"https://json-schema.org/draft/2020-12/schema\\";\\n readonly $id: \\"schema:ethdebug/format/type/elementary/address\\";\\n readonly title: \\"ethdebug/format/type/elementary/address\\";\\n readonly description: \\"Schema describing the representation of an address type\\";\\n readonly type: \\"object\\";\\n readonly properties: {\\n readonly class: {\\n readonly const: \\"elementary\\";\\n };\\n readonly kind: {\\n readonly const: \\"address\\";\\n };\\n readonly payable: {\\n readonly type: \\"boolean\\";\\n readonly description: \\"If this field is omitted, this type represents an address whose payability is not known.\\";\\n };\\n };\\n readonly required: readonly [\\"kind\\"];\\n readonly examples: readonly [{\\n readonly kind: \\"address\\";\\n }, {\\n readonly kind: \\"address\\";\\n readonly payable: true;\\n }];\\n };\\n readonly \\"schema:ethdebug/format/type/elementary/bool\\": {\\n readonly $schema: \\"https://json-schema.org/draft/2020-12/schema\\";\\n readonly $id: \\"schema:ethdebug/format/type/elementary/bool\\";\\n readonly title: \\"ethdebug/format/type/elementary/bool\\";\\n readonly description: \\"Schema describing the representation of the boolean type\\";\\n readonly type: \\"object\\";\\n readonly properties: {\\n readonly class: {\\n readonly const: \\"elementary\\";\\n };\\n readonly kind: {\\n readonly const: \\"bool\\";\\n };\\n };\\n readonly required: readonly [\\"kind\\"];\\n readonly examples: readonly [{\\n readonly kind: \\"bool\\";\\n }];\\n };\\n readonly \\"schema:ethdebug/format/type/elementary/bytes\\": {\\n readonly $schema: \\"https://json-schema.org/draft/2020-12/schema\\";\\n readonly $id: \\"schema:ethdebug/format/type/elementary/bytes\\";\\n readonly title: \\"ethdebug/format/type/elementary/bytes\\";\\n readonly description: \\"Schema describing the representation of a type of bytes string (either dynamic or static)\\";\\n readonly type: \\"object\\";\\n readonly properties: {\\n readonly class: {\\n readonly const: \\"elementary\\";\\n };\\n readonly kind: {\\n readonly const: \\"bytes\\";\\n };\\n readonly size: {\\n readonly type: \\"number\\";\\n readonly description: \\"The number of bytes in the bytes string. If this field is omitted, this type is the dynamic bytes string type.\\";\\n readonly minimum: 1;\\n };\\n };\\n readonly required: readonly [\\"kind\\"];\\n readonly examples: readonly [{\\n readonly kind: \\"bytes\\";\\n readonly size: 32;\\n }, {\\n readonly kind: \\"bytes\\";\\n }];\\n };\\n readonly \\"schema:ethdebug/format/type/elementary/contract\\": {\\n readonly $schema: \\"https://json-schema.org/draft/2020-12/schema\\";\\n readonly $id: \\"schema:ethdebug/format/type/elementary/contract\\";\\n readonly title: \\"ethdebug/format/type/elementary/contract\\";\\n readonly description: \\"Schema describing the representation of a contract type\\";\\n readonly type: \\"object\\";\\n readonly properties: {\\n readonly class: {\\n readonly const: \\"elementary\\";\\n };\\n readonly kind: {\\n readonly const: \\"contract\\";\\n };\\n readonly payable: {\\n readonly type: \\"boolean\\";\\n readonly description: \\"If this field is omitted, this type represents an address whose payability is not known.\\";\\n };\\n readonly definition: {\\n readonly $ref: \\"schema:ethdebug/format/type/definition\\";\\n };\\n };\\n readonly oneOf: readonly [{\\n readonly title: \\"Normal contract type\\";\\n readonly properties: {\\n readonly library: {\\n readonly const: false;\\n };\\n readonly interface: {\\n readonly const: false;\\n };\\n };\\n }, {\\n readonly title: \\"Contract library type\\";\\n readonly properties: {\\n readonly library: {\\n readonly const: true;\\n readonly description: \\"Indicates that this is a type representing a library\\";\\n };\\n };\\n readonly required: readonly [\\"library\\"];\\n }, {\\n readonly title: \\"Contract interface type\\";\\n readonly properties: {\\n readonly interface: {\\n readonly const: true;\\n readonly description: \\"Indicates that this is a type representing an interface\\";\\n };\\n };\\n readonly required: readonly [\\"interface\\"];\\n }];\\n readonly required: readonly [\\"kind\\"];\\n readonly examples: readonly [{\\n readonly kind: \\"contract\\";\\n }, {\\n readonly kind: \\"contract\\";\\n readonly library: false;\\n readonly interface: false;\\n readonly payable: true;\\n }];\\n };\\n readonly \\"schema:ethdebug/format/type/elementary/enum\\": {\\n readonly $schema: \\"https://json-schema.org/draft/2020-12/schema\\";\\n readonly $id: \\"schema:ethdebug/format/type/elementary/enum\\";\\n readonly title: \\"ethdebug/format/type/elementary/enum\\";\\n readonly description: \\"Schema describing the representation of an enumerated type\\";\\n readonly type: \\"object\\";\\n readonly properties: {\\n readonly class: {\\n readonly const: \\"elementary\\";\\n };\\n readonly kind: {\\n readonly const: \\"enum\\";\\n };\\n readonly values: {\\n readonly description: \\"The allowed values of an enum. This format makes no restriction on which values are allowed here.\\";\\n readonly type: \\"array\\";\\n readonly items: true;\\n };\\n readonly definition: {\\n readonly $ref: \\"schema:ethdebug/format/type/definition\\";\\n };\\n };\\n readonly required: readonly [\\"kind\\", \\"values\\"];\\n readonly examples: readonly [{\\n readonly kind: \\"enum\\";\\n readonly values: readonly [\\"A\\", \\"B\\", \\"C\\"];\\n }];\\n };\\n readonly \\"schema:ethdebug/format/type/elementary/fixed\\": {\\n readonly $schema: \\"https://json-schema.org/draft/2020-12/schema\\";\\n readonly $id: \\"schema:ethdebug/format/type/elementary/fixed\\";\\n readonly title: \\"ethdebug/format/type/elementary/fixed\\";\\n readonly description: \\"Schema describing the representation of a signed fixed decimal type\\";\\n readonly type: \\"object\\";\\n readonly properties: {\\n readonly class: {\\n readonly const: \\"elementary\\";\\n };\\n readonly kind: {\\n readonly const: \\"fixed\\";\\n };\\n readonly bits: {\\n readonly type: \\"number\\";\\n readonly multipleOf: 8;\\n readonly minimum: 8;\\n readonly maximum: 256;\\n };\\n readonly places: {\\n readonly type: \\"number\\";\\n readonly description: \\"How many decimal places, implying that a raw value `v` of this type should be interpreted as `v / (10**places)`\\";\\n readonly minimum: 1;\\n readonly maximum: 80;\\n };\\n };\\n readonly required: readonly [\\"kind\\", \\"bits\\", \\"places\\"];\\n readonly examples: readonly [{\\n readonly kind: \\"fixed\\";\\n readonly bits: 256;\\n readonly places: 10;\\n }];\\n };\\n readonly \\"schema:ethdebug/format/type/elementary/int\\": {\\n readonly $schema: \\"https://json-schema.org/draft/2020-12/schema\\";\\n readonly $id: \\"schema:ethdebug/format/type/elementary/int\\";\\n readonly title: \\"ethdebug/format/type/elementary/int\\";\\n readonly description: \\"Schema describing the representation of a signed integer type\\";\\n readonly type: \\"object\\";\\n readonly properties: {\\n readonly class: {\\n readonly const: \\"elementary\\";\\n };\\n readonly kind: {\\n readonly const: \\"int\\";\\n };\\n readonly bits: {\\n readonly type: \\"number\\";\\n readonly multipleOf: 8;\\n readonly minimum: 8;\\n readonly maximum: 256;\\n };\\n };\\n readonly required: readonly [\\"kind\\", \\"bits\\"];\\n readonly examples: readonly [{\\n readonly kind: \\"int\\";\\n readonly bits: 256;\\n }];\\n };\\n readonly \\"schema:ethdebug/format/type/elementary/string\\": {\\n readonly $schema: \\"https://json-schema.org/draft/2020-12/schema\\";\\n readonly $id: \\"schema:ethdebug/format/type/elementary/string\\";\\n readonly title: \\"ethdebug/format/type/elementary/string\\";\\n readonly description: \\"Schema describing the representation of a string type\\";\\n readonly type: \\"object\\";\\n readonly properties: {\\n readonly class: {\\n readonly const: \\"elementary\\";\\n };\\n readonly kind: {\\n readonly const: \\"string\\";\\n };\\n readonly encoding: {\\n readonly type: \\"string\\";\\n readonly default: \\"utf-8\\";\\n };\\n };\\n readonly required: readonly [\\"kind\\"];\\n readonly examples: readonly [{\\n readonly kind: \\"string\\";\\n }, {\\n readonly kind: \\"string\\";\\n readonly encoding: \\"utf-16\\";\\n }];\\n };\\n readonly \\"schema:ethdebug/format/type/elementary/ufixed\\": {\\n readonly $schema: \\"https://json-schema.org/draft/2020-12/schema\\";\\n readonly $id: \\"schema:ethdebug/format/type/elementary/ufixed\\";\\n readonly title: \\"ethdebug/format/type/elementary/ufixed\\";\\n readonly description: \\"Schema describing the representation of an unsigned fixed decimal type\\";\\n readonly type: \\"object\\";\\n readonly properties: {\\n readonly class: {\\n readonly const: \\"elementary\\";\\n };\\n readonly kind: {\\n readonly const: \\"ufixed\\";\\n };\\n readonly bits: {\\n readonly type: \\"number\\";\\n readonly multipleOf: 8;\\n readonly minimum: 8;\\n readonly maximum: 256;\\n };\\n readonly places: {\\n readonly type: \\"number\\";\\n readonly description: \\"How many decimal places, implying that a raw value `v` of this type should be interpreted as `v / (10**places)`\\";\\n readonly minimum: 1;\\n readonly maximum: 80;\\n };\\n };\\n readonly required: readonly [\\"kind\\", \\"bits\\", \\"places\\"];\\n readonly examples: readonly [{\\n readonly kind: \\"ufixed\\";\\n readonly bits: 256;\\n readonly places: 10;\\n }];\\n };\\n readonly \\"schema:ethdebug/format/type/elementary/uint\\": {\\n readonly $schema: \\"https://json-schema.org/draft/2020-12/schema\\";\\n readonly $id: \\"schema:ethdebug/format/type/elementary/uint\\";\\n readonly title: \\"ethdebug/format/type/elementary/uint\\";\\n readonly description: \\"Schema describing the representation of an unsigned integer type\\";\\n readonly type: \\"object\\";\\n readonly properties: {\\n readonly class: {\\n readonly const: \\"elementary\\";\\n };\\n readonly kind: {\\n readonly const: \\"uint\\";\\n };\\n readonly bits: {\\n readonly type: \\"number\\";\\n readonly multipleOf: 8;\\n readonly minimum: 8;\\n readonly maximum: 256;\\n };\\n };\\n readonly required: readonly [\\"kind\\", \\"bits\\"];\\n readonly examples: readonly [{\\n readonly kind: \\"uint\\";\\n readonly bits: 256;\\n }];\\n };\\n readonly \\"schema:ethdebug/format/type/elementary\\": {\\n readonly $schema: \\"https://json-schema.org/draft/2020-12/schema\\";\\n readonly $id: \\"schema:ethdebug/format/type/elementary\\";\\n readonly title: \\"ethdebug/format/type/elementary\\";\\n readonly description: \\"Canonical representation of an elementary type\\";\\n readonly type: \\"object\\";\\n readonly properties: {\\n readonly kind: {\\n readonly $ref: \\"#/$defs/Kind\\";\\n };\\n };\\n readonly required: readonly [\\"kind\\"];\\n readonly allOf: readonly [{\\n readonly if: {\\n readonly properties: {\\n readonly kind: {\\n readonly const: \\"uint\\";\\n };\\n };\\n };\\n readonly then: {\\n readonly $ref: \\"schema:ethdebug/format/type/elementary/uint\\";\\n };\\n }, {\\n readonly if: {\\n readonly properties: {\\n readonly kind: {\\n readonly const: \\"int\\";\\n };\\n };\\n };\\n readonly then: {\\n readonly $ref: \\"schema:ethdebug/format/type/elementary/int\\";\\n };\\n }, {\\n readonly if: {\\n readonly properties: {\\n readonly kind: {\\n readonly const: \\"bool\\";\\n };\\n };\\n };\\n readonly then: {\\n readonly $ref: \\"schema:ethdebug/format/type/elementary/bool\\";\\n };\\n }, {\\n readonly if: {\\n readonly properties: {\\n readonly kind: {\\n readonly const: \\"bytes\\";\\n };\\n };\\n };\\n readonly then: {\\n readonly $ref: \\"schema:ethdebug/format/type/elementary/bytes\\";\\n };\\n }, {\\n readonly if: {\\n readonly properties: {\\n readonly kind: {\\n readonly const: \\"string\\";\\n };\\n };\\n };\\n readonly then: {\\n readonly $ref: \\"schema:ethdebug/format/type/elementary/string\\";\\n };\\n }, {\\n readonly if: {\\n readonly properties: {\\n readonly kind: {\\n readonly const: \\"ufixed\\";\\n };\\n };\\n };\\n readonly then: {\\n readonly $ref: \\"schema:ethdebug/format/type/elementary/ufixed\\";\\n };\\n }, {\\n readonly if: {\\n readonly properties: {\\n readonly kind: {\\n readonly const: \\"fixed\\";\\n };\\n };\\n };\\n readonly then: {\\n readonly $ref: \\"schema:ethdebug/format/type/elementary/fixed\\";\\n };\\n }, {\\n readonly if: {\\n readonly properties: {\\n readonly kind: {\\n readonly const: \\"address\\";\\n };\\n };\\n };\\n readonly then: {\\n readonly $ref: \\"schema:ethdebug/format/type/elementary/address\\";\\n };\\n }, {\\n readonly if: {\\n readonly properties: {\\n readonly kind: {\\n readonly const: \\"contract\\";\\n };\\n };\\n };\\n readonly then: {\\n readonly $ref: \\"schema:ethdebug/format/type/elementary/contract\\";\\n };\\n }, {\\n readonly if: {\\n readonly properties: {\\n readonly kind: {\\n readonly const: \\"enum\\";\\n };\\n };\\n };\\n readonly then: {\\n readonly $ref: \\"schema:ethdebug/format/type/elementary/enum\\";\\n };\\n }];\\n readonly $defs: {\\n readonly Kind: {\\n readonly title: \\"Known elementary kind\\";\\n readonly description: \\"A schema for the values of `kind` reserved for known elementary types included in ethdebug/format\\";\\n readonly type: \\"string\\";\\n readonly enum: readonly [\\"uint\\", \\"int\\", \\"bool\\", \\"bytes\\", \\"string\\", \\"ufixed\\", \\"fixed\\", \\"address\\", \\"contract\\", \\"enum\\"];\\n };\\n };\\n };\\n readonly \\"schema:ethdebug/format/type/reference\\": {\\n readonly $schema: \\"https://json-schema.org/draft/2020-12/schema\\";\\n readonly $id: \\"schema:ethdebug/format/type/reference\\";\\n readonly title: \\"ethdebug/format/type/reference\\";\\n readonly description: \\"A reference to a known type by ID\\";\\n readonly type: \\"object\\";\\n readonly properties: {\\n readonly id: {\\n readonly type: readonly [\\"string\\", \\"number\\"];\\n };\\n };\\n readonly additionalProperties: false;\\n readonly required: readonly [\\"id\\"];\\n readonly examples: readonly [{\\n readonly id: 5;\\n }];\\n };\\n readonly \\"schema:ethdebug/format/type/wrapper\\": {\\n readonly $schema: \\"https://json-schema.org/draft/2020-12/schema\\";\\n readonly $id: \\"schema:ethdebug/format/type/wrapper\\";\\n readonly title: \\"ethdebug/format/type/wrapper\\";\\n readonly description: \\"A wrapper around a type. Defines a `\\\\\\"type\\\\\\"` field that may include a full Type representation or a reference to a known Type by ID. Note that this schema permits additional properties on the same object.\\";\\n readonly type: \\"object\\";\\n readonly properties: {\\n readonly type: {\\n readonly if: {\\n readonly required: readonly [\\"id\\"];\\n };\\n readonly then: {\\n readonly $ref: \\"schema:ethdebug/format/type/reference\\";\\n };\\n readonly else: {\\n readonly $ref: \\"schema:ethdebug/format/type\\";\\n };\\n };\\n };\\n readonly required: readonly [\\"type\\"];\\n readonly examples: readonly [{\\n readonly name: \\"beneficiary\\";\\n readonly type: {\\n readonly kind: \\"address\\";\\n readonly payable: true;\\n };\\n }, {\\n readonly type: {\\n readonly id: \\"<opaque-id>\\";\\n };\\n }];\\n readonly $defs: {\\n readonly Array: {\\n readonly title: \\"{ \\\\\\"type\\\\\\": ... }[]\\";\\n readonly description: \\"A list of wrapped types, where the wrapper may add fields\\";\\n readonly type: \\"array\\";\\n readonly items: {\\n readonly $ref: \\"schema:ethdebug/format/type/wrapper\\";\\n };\\n };\\n readonly Object: {\\n readonly title: \\"{ \\\\\\"key\\\\\\": { \\\\\\"type\\\\\\": ... }, ... }\\";\\n readonly description: \\"A key-value mapping of wrapped types, where the wrapper may add fields\\";\\n readonly type: \\"object\\";\\n readonly additionalProperties: {\\n readonly $ref: \\"schema:ethdebug/format/type/wrapper\\";\\n };\\n };\\n };\\n };\\n readonly \\"schema:ethdebug/format/type\\": {\\n readonly $schema: \\"https://json-schema.org/draft/2020-12/schema\\";\\n readonly $id: \\"schema:ethdebug/format/type\\";\\n readonly title: \\"ethdebug/format/type\\";\\n readonly description: \\"Canonical representation for all types.\\";\\n readonly type: \\"object\\";\\n readonly if: {\\n readonly type: \\"object\\";\\n readonly title: \\"Known kind\\";\\n readonly description: \\"If `kind` adheres to the set of known kinds defined by this format\\";\\n readonly properties: {\\n readonly kind: {\\n readonly anyOf: readonly [{\\n readonly $ref: \\"schema:ethdebug/format/type/elementary#/$defs/Kind\\";\\n }, {\\n readonly $ref: \\"schema:ethdebug/format/type/complex#/$defs/Kind\\";\\n }];\\n };\\n };\\n };\\n readonly then: {\\n readonly type: \\"object\\";\\n readonly title: \\"KnownType\\";\\n readonly description: \\"Then the object must adhere to exactly one known kind of type\\";\\n readonly allOf: readonly [{\\n readonly if: {\\n readonly properties: {\\n readonly kind: {\\n readonly $ref: \\"schema:ethdebug/format/type/elementary#/$defs/Kind\\";\\n };\\n };\\n };\\n readonly then: {\\n readonly $ref: \\"schema:ethdebug/format/type/elementary\\";\\n };\\n }, {\\n readonly if: {\\n readonly properties: {\\n readonly kind: {\\n readonly $ref: \\"schema:ethdebug/format/type/complex#/$defs/Kind\\";\\n };\\n };\\n };\\n readonly then: {\\n readonly $ref: \\"schema:ethdebug/format/type/complex\\";\\n };\\n }];\\n };\\n readonly else: {\\n readonly type: \\"object\\";\\n readonly description: \\"Else the object must be a valid **ethdebug/format/type/base** with additional constraints\\";\\n readonly allOf: readonly [{\\n readonly $ref: \\"schema:ethdebug/format/type/base\\";\\n }, {\\n readonly title: \\"Required `class` field\\";\\n readonly required: readonly [\\"class\\"];\\n }, {\\n readonly title: \\"Specialized complex type `contains` field\\";\\n readonly type: \\"object\\";\\n readonly if: {\\n readonly description: \\"If this object is a complex type\\";\\n readonly properties: {\\n readonly class: {\\n readonly const: \\"complex\\";\\n };\\n };\\n };\\n readonly then: {\\n readonly description: \\"Then the `contains` field must adhere to **ethdebug/format/type/wrapper** schemas, not the **ethdebug/format/type/base** equivalent.\\\\n(i.e., these additional constraints must apply recursively)\\";\\n readonly properties: {\\n readonly contains: {\\n readonly oneOf: readonly [{\\n readonly $ref: \\"schema:ethdebug/format/type/wrapper\\";\\n }, {\\n readonly $ref: \\"schema:ethdebug/format/type/wrapper#/$defs/Array\\";\\n }, {\\n readonly $ref: \\"schema:ethdebug/format/type/wrapper#/$defs/Object\\";\\n }];\\n };\\n };\\n };\\n }];\\n };\\n };\\n};\\nexport type Schema<Id extends keyof typeof rawSchemas> = (typeof rawSchemas)[Id];\\nexport {};\\n//# sourceMappingURL=yamls.d.ts.map"},{"filePath":"src/cursor.ts","text":"import type { Machine } from \\"./machine.js\\";\\nimport type { Pointer } from \\"./pointer.js\\";\\nimport type { Data } from \\"./data.js\\";\\n\\n/**\\n * The result of dereferencing a pointer\\n */\\nexport interface Cursor {\\n view(state: Machine.State): Promise<Cursor.View>;\\n}\\n\\nexport namespace Cursor {\\n /**\\n * The result of viewing a Cursor with a given Machine.State\\n */\\n export interface View {\\n /**\\n * A collection of concrete Cursor.Regions; this is a plain array of\\n * regions and also provides filtering/lookup of regions by name\\n * (according to the scoping rules outlined in the specification)\\n */\\n regions: Cursor.Regions;\\n\\n /**\\n * Read bytes from the machine state corresponding to the bytes range\\n * for a particular concrete Cursor.Region\\n */\\n read(region: Cursor.Region): Promise<Data>;\\n }\\n\\n /**\\n * A Pointer region where all dynamic expressions have been replaced with\\n * concrete bytes values.\\n */\\n export type Region<R extends Pointer.Region = Pointer.Region> = {\\n [K in keyof R]: K extends \\"slot\\" | \\"offset\\" | \\"length\\"\\n ? R[K] extends Pointer.Expression\\n ? Data\\n : R[K] extends Pointer.Expression | undefined\\n ? Data | undefined\\n : R[K]\\n : R[K];\\n }\\n\\n /**\\n * A collection of concrete regions.\\n *\\n * This collection serves as a plain array of regions, for simple iteration\\n * and whatever filtering.\\n *\\n * It also provides a couple interfaces of its own for accessing regions by\\n * name.\\n */\\n export type Regions =\\n & Cursor.Region[]\\n & {\\n /**\\n * Obtain an ordered list of all regions with a particular name.\\n *\\n * This is useful, e.g., when looking to concatenate a series of\\n * sequential regions that were generated by index from a list\\n * collection\\n */\\n named(name: string): Cursor.Region[];\\n\\n /**\\n * Retrieve the last concrete region generated with a particular name\\n */\\n lookup: { [name: string]: Cursor.Region };\\n };\\n}\\n"},{"filePath":"src/data.test.ts","text":"import { expect, describe, it } from \\"@jest/globals\\";\\n\\nimport { Data } from \\"./data.js\\";\\n\\ndescribe(\\"Data\\", () => {\\n describe(\\".prototype.asUint()\\", () => {\\n it(\\"correctly converts to integers (big endian)\\", () => {\\n const data = new Data([0x01, 0x00]);\\n\\n expect(`${data.asUint()}`).toBe(\\"256\\");\\n });\\n });\\n\\n describe(\\".fromUint()\\", () => {\\n it(\\"correctly creates Data instances from bigints\\", () => {\\n const data1 = Data.fromUint(0n);\\n expect(data1).toEqual(new Data([]));\\n\\n const data2 = Data.fromUint(255n);\\n expect(data2).toEqual(new Data([0xff]));\\n\\n const data3 = Data.fromUint(256n);\\n expect(data3).toEqual(new Data([0x01, 0x00]));\\n\\n const data4 = Data.fromUint(1234567890n);\\n expect(data4).toEqual(new Data([0x49, 0x96, 0x02, 0xd2]));\\n });\\n });\\n\\n describe(\\".fromNumber()\\", () => {\\n it(\\"correctly creates Data instances from numbers\\", () => {\\n const data1 = Data.fromNumber(0);\\n expect(data1).toEqual(Data.zero());\\n\\n const data2 = Data.fromNumber(255);\\n expect(data2).toEqual(new Data([0xff]));\\n\\n const data3 = Data.fromNumber(256);\\n expect(data3).toEqual(new Data([0x01, 0x00]));\\n });\\n });\\n\\n describe(\\".fromHex()\\", () => {\\n it(\\"correctly creates Data instances from hex strings\\", () => {\\n const data1 = Data.fromHex(\\"0x00\\");\\n expect(data1).toEqual(new Data([0x00]));\\n\\n const data2 = Data.fromHex(\\"0xff\\");\\n expect(data2).toEqual(new Data([0xff]));\\n\\n const data3 = Data.fromHex(\\"0x0100\\");\\n expect(data3).toEqual(new Data([0x01, 0x00]));\\n\\n const data4 = Data.fromHex(\\"0x499602d2\\");\\n expect(data4).toEqual(new Data([0x49, 0x96, 0x02, 0xd2]));\\n });\\n\\n it(\\"throws an error for invalid hex string format\\", () => {\\n expect(() => Data.fromHex(\\"ff\\")).toThrow(\\"Invalid hex string format. Expected \\\\\\"0x\\\\\\" prefix.\\");\\n });\\n });\\n});\\n"},{"filePath":"src/data.ts","text":"import { toHex } from \\"ethereum-cryptography/utils\\";\\n\\nexport class Data extends Uint8Array {\\n static zero(): Data {\\n return new Data([]);\\n }\\n\\n static fromUint(value: bigint): Data {\\n if (value === 0n) {\\n return this.zero();\\n }\\n\\n const byteCount = Math.ceil(Number(value.toString(2).length) / 8);\\n const bytes = new Uint8Array(byteCount);\\n for (let i = byteCount - 1; i >= 0; i--) {\\n bytes[i] = Number(value & 0xffn);\\n value >>= 8n;\\n }\\n return new Data(bytes);\\n }\\n\\n static fromNumber(value: number): Data {\\n const byteCount = Math.ceil(Math.log2(value + 1) / 8);\\n const bytes = new Uint8Array(byteCount);\\n for (let i = byteCount - 1; i >= 0; i--) {\\n bytes[i] = value & 0xff;\\n value >>= 8;\\n }\\n return new Data(bytes);\\n }\\n\\n static fromHex(hex: string): Data {\\n if (!hex.startsWith(\'0x\')) {\\n throw new Error(\'Invalid hex string format. Expected \\"0x\\" prefix.\');\\n }\\n const bytes = new Uint8Array(hex.length / 2 - 1);\\n for (let i = 2; i < hex.length; i += 2) {\\n bytes[i / 2 - 1] = parseInt(hex.slice(i, i + 2), 16);\\n }\\n return new Data(bytes);\\n }\\n\\n static fromBytes(bytes: Uint8Array): Data {\\n return new Data(bytes);\\n }\\n\\n asUint(): bigint {\\n const bits = 8n;\\n\\n let value = 0n;\\n for (const byte of this.values()) {\\n const byteValue = BigInt(byte)\\n value = (value << bits) + byteValue\\n }\\n return value;\\n }\\n\\n toHex(): string {\\n return `0x${toHex(this)}`;\\n }\\n\\n padUntilAtLeast(length: number): Data {\\n if (this.length >= length) {\\n return this;\\n }\\n\\n const padded = new Uint8Array(length);\\n padded.set(this, length - this.length);\\n return Data.fromBytes(padded);\\n }\\n\\n resizeTo(length: number): Data {\\n if (this.length === length) {\\n return this;\\n }\\n\\n const resized = new Uint8Array(length);\\n\\n if (this.length < length) {\\n resized.set(this, length - this.length);\\n } else {\\n resized.set(this.slice(this.length - length));\\n }\\n\\n return Data.fromBytes(resized);\\n }\\n}\\n"},{"filePath":"src/evaluate.test.ts","text":"import { expect, describe, it, beforeEach } from \\"@jest/globals\\";\\nimport { keccak256 } from \\"ethereum-cryptography/keccak\\";\\nimport { toHex } from \\"ethereum-cryptography/utils\\";\\nimport { Machine } from \\"./machine.js\\";\\nimport { Data } from \\"./data.js\\";\\nimport { Cursor } from \\"./cursor.js\\";\\nimport { Pointer } from \\"./pointer.js\\";\\nimport { evaluate, type EvaluateOptions } from \\"./evaluate.js\\";\\n\\n// Create a stub for the Machine.State interface\\nconst state: Machine.State = {\\n traceIndex: Promise.resolve(0n),\\n opcode: Promise.resolve(\\"PUSH1\\"),\\n programCounter: Promise.resolve(10n),\\n stack: {\\n length: 50n\\n } as any,\\n memory: {} as any,\\n storage: {} as any,\\n calldata: {} as any,\\n returndata: {} as any,\\n transient: {} as any,\\n code: {} as any,\\n};\\n\\ndescribe(\\"evaluate\\", () => {\\n let regions: { [identifier: string]: Cursor.Region };\\n let variables: { [identifier: string]: Data };\\n let cursor: Cursor;\\n let options: EvaluateOptions;\\n\\n beforeEach(() => {\\n variables = {\\n foo: Data.fromNumber(42),\\n bar: Data.fromHex(\\"0x1f\\"),\\n };\\n\\n regions = {\\n stack: {\\n name: \\"stack\\",\\n location: \\"stack\\",\\n slot: Data.fromNumber(42),\\n offset: Data.fromNumber(0x60),\\n length: Data.fromNumber(0x1f / 2)\\n },\\n memory: {\\n name: \\"memory\\",\\n location: \\"memory\\",\\n offset: Data.fromNumber(0x20 * 0x05),\\n length: Data.fromNumber(42 - 0x1f)\\n }\\n } ;\\n\\n options = {\\n state,\\n variables,\\n regions\\n }\\n });\\n\\n it(\\"evaluates literal expressions\\", async () => {\\n expect(await evaluate(42, options))\\n .toEqual(Data.fromNumber(42));\\n\\n expect(await evaluate(\\"0x1f\\", options))\\n .toEqual(Data.fromHex(\\"0x1f\\"));\\n });\\n\\n it(\\"evaluates constant expressions\\", async () => {\\n expect(await evaluate(\\"$wordsize\\", options))\\n .toEqual(Data.fromHex(\\"0x20\\"));\\n });\\n\\n it(\\"evaluates variable expressions\\", async () => {\\n expect(await evaluate(\\"foo\\", options))\\n .toEqual(Data.fromNumber(42));\\n\\n expect(await evaluate(\\"bar\\", options))\\n .toEqual(Data.fromHex(\\"0x1f\\"));\\n });\\n\\n it(\\"evaluates sum expressions\\", async () => {\\n const expression: Pointer.Expression = {\\n $sum: [42, \\"0x1f\\", \\"foo\\", \\"bar\\"]\\n };\\n\\n expect(await evaluate(expression, options))\\n .toEqual(Data.fromUint(42n + 0x1fn + 42n + 0x1fn));\\n });\\n\\n it(\\"evaluates difference expressions\\", async () => {\\n const expression: Pointer.Expression = {\\n $difference: [\\"foo\\", \\"bar\\"]\\n };\\n\\n expect(await evaluate(expression, options))\\n .toEqual(Data.fromUint(42n - 0x1fn));\\n });\\n\\n it(\\"evaluates product expressions\\", async () => {\\n const expression: Pointer.Expression = {\\n $product: [42, \\"0x1f\\", \\"foo\\", \\"bar\\"]\\n };\\n\\n expect(await evaluate(expression, options))\\n .toEqual(Data.fromUint(42n * 0x1fn * 42n * 0x1fn));\\n });\\n\\n it(\\"evaluates quotient expressions\\", async () => {\\n const expression: Pointer.Expression = {\\n $quotient: [\\"foo\\", \\"bar\\"]\\n };\\n\\n expect(await evaluate(expression, options))\\n .toEqual(Data.fromUint(42n / 0x1fn));\\n });\\n\\n it(\\"evaluates remainder expressions\\", async () => {\\n const expression: Pointer.Expression = {\\n $remainder: [\\"foo\\", \\"bar\\"]\\n };\\n\\n expect(await evaluate(expression, options))\\n .toEqual(Data.fromUint(42n % 0x1fn));\\n });\\n\\n // skipped because test does not perform proper padding\\n it.skip(\\"evaluates keccak256 expressions\\", async () => {\\n const expression: Pointer.Expression = {\\n $keccak256: [\\"foo\\", \\"bar\\", 42, \\"0x1f\\"]\\n };\\n\\n const expectedHash = keccak256(\\n Buffer.from(\\n toHex(Data.fromNumber(42)).slice(2) +\\n toHex(Data.fromHex(\\"0x1f\\")).slice(2) +\\n toHex(variables.foo).slice(2) +\\n toHex(variables.bar).slice(2),\\n \\"hex\\"\\n )\\n );\\n\\n expect(await evaluate(expression, options))\\n .toEqual(Data.fromBytes(expectedHash));\\n });\\n\\n it(\\"evaluates offset lookup expressions\\", async () => {\\n const expression: Pointer.Expression = {\\n \\".offset\\": \\"stack\\"\\n };\\n\\n expect(await evaluate(expression, options))\\n .toEqual(Data.fromUint(0x60n));\\n });\\n\\n it(\\"evaluates offset lookup expressions with $this\\", async () => {\\n const expression: Pointer.Expression = {\\n \\".offset\\": \\"$this\\"\\n };\\n\\n const $this = {\\n name: \\"$this\\",\\n location: \\"memory\\",\\n offset: Data.fromNumber(0x120),\\n length: Data.fromNumber(0x40)\\n } as const;\\n\\n expect(\\n await evaluate(expression, {\\n ...options,\\n regions: {\\n ...regions,\\n $this\\n }\\n })\\n ).toEqual(Data.fromUint(0x120n));\\n });\\n\\n it(\\"evaluates length lookup expressions\\", async () => {\\n const expression: Pointer.Expression = {\\n \\".length\\": \\"memory\\"\\n };\\n\\n expect(await evaluate(expression, options))\\n .toEqual(Data.fromUint(11n));\\n });\\n\\n it(\\"evaluates slot lookup expressions\\", async () => {\\n const expression: Pointer.Expression = {\\n \\".slot\\": \\"stack\\"\\n };\\n\\n expect(await evaluate(expression, options))\\n .toEqual(Data.fromNumber(42));\\n });\\n\\n describe(\\"resulting bytes widths\\", () => {\\n it(\\"uses the fewest bytes necessary for a literal\\", async () => {\\n expect(await evaluate(0, options)).toHaveLength(0);\\n expect(await evaluate(\\"0x00\\", options)).toHaveLength(1);\\n expect(await evaluate(\\"0x0000\\", options)).toHaveLength(2);\\n expect(await evaluate(0xffff, options)).toHaveLength(2);\\n });\\n\\n it(\\"uses at least the largest bytes width amongst arithmetic operands\\", async () => {\\n expect(await evaluate({ $sum: [0, 0] }, options)).toHaveLength(0);\\n\\n expect(await evaluate({ $difference: [\\"0x00\\", \\"0x00\\"] }, options))\\n .toHaveLength(1);\\n\\n expect(await evaluate({ $remainder: [\\"0x0001\\", \\"0x01\\"] }, options))\\n .toHaveLength(2);\\n });\\n\\n it(\\"uses exactly as many bytes necessary to avoid arithmetic overflow\\", async () => {\\n expect(await evaluate({ $product: [\\"0xffff\\", \\"0xff\\"] }, options))\\n .toHaveLength(3);\\n });\\n });\\n\\n it(\\"evaluates resize expressions\\", async () => {\\n expect(await evaluate({ $sized1: 0 }, options)).toHaveLength(1);\\n\\n {\\n const data = await evaluate({ $sized1: \\"0xabcd\\" }, options);\\n expect(data).toHaveLength(1);\\n expect(data).toEqual(Data.fromNumber(0xcd));\\n }\\n });\\n});\\n"},{"filePath":"src/evaluate.ts","text":"import { Pointer } from \\"./pointer.js\\";\\nimport { Machine } from \\"./machine.js\\";\\nimport { Data } from \\"./data.js\\";\\nimport type { Cursor } from \\"./cursor.js\\";\\nimport { read } from \\"./read.js\\";\\nimport { keccak256 } from \\"ethereum-cryptography/keccak\\";\\nimport { toHex } from \\"ethereum-cryptography/utils\\";\\n\\nexport interface EvaluateOptions {\\n state: Machine.State;\\n regions: {\\n [identifier: string]: Cursor.Region;\\n };\\n variables: {\\n [identifier: string]: Data;\\n };\\n}\\n\\nexport async function evaluate(\\n expression: Pointer.Expression,\\n options: EvaluateOptions\\n): Promise<Data> {\\n if (Pointer.Expression.isLiteral(expression)) {\\n return evaluateLiteral(expression);\\n }\\n\\n if (Pointer.Expression.isConstant(expression)) {\\n return evaluateConstant(expression);\\n }\\n\\n if (Pointer.Expression.isVariable(expression)) {\\n return evaluateVariable(expression, options);\\n }\\n\\n if (Pointer.Expression.isArithmetic(expression)) {\\n if (Pointer.Expression.Arithmetic.isSum(expression)) {\\n return evaluateArithmeticSum(expression, options);\\n }\\n\\n if (Pointer.Expression.Arithmetic.isDifference(expression)) {\\n return evaluateArithmeticDifference(expression, options);\\n }\\n\\n if (Pointer.Expression.Arithmetic.isProduct(expression)) {\\n return evaluateArithmeticProduct(expression, options);\\n }\\n\\n if (Pointer.Expression.Arithmetic.isQuotient(expression)) {\\n return evaluateArithmeticQuotient(expression, options);\\n }\\n\\n if (Pointer.Expression.Arithmetic.isRemainder(expression)) {\\n return evaluateArithmeticRemainder(expression, options);\\n }\\n }\\n\\n if (Pointer.Expression.isKeccak256(expression)) {\\n return evaluateKeccak256(expression, options);\\n }\\n\\n if (Pointer.Expression.isResize(expression)) {\\n return evaluateResize(expression, options);\\n }\\n\\n if (Pointer.Expression.isLookup(expression)) {\\n if (Pointer.Expression.Lookup.isOffset(expression)) {\\n return evaluateLookup(\\".offset\\", expression, options);\\n }\\n\\n if (Pointer.Expression.Lookup.isLength(expression)) {\\n return evaluateLookup(\\".length\\", expression, options);\\n }\\n\\n if (Pointer.Expression.Lookup.isSlot(expression)) {\\n return evaluateLookup(\\".slot\\", expression, options);\\n }\\n }\\n\\n if (Pointer.Expression.isRead(expression)) {\\n return evaluateRead(expression, options);\\n }\\n\\n throw new Error(\\"Unexpected runtime failure to recognize kind of expression\\");\\n}\\n\\nasync function evaluateLiteral(\\n literal: Pointer.Expression.Literal\\n): Promise<Data> {\\n switch (typeof literal) {\\n case \\"string\\":\\n return Data.fromHex(literal);\\n case \\"number\\":\\n return Data.fromNumber(literal);\\n }\\n}\\n\\nasync function evaluateConstant(\\n constant: Pointer.Expression.Constant\\n): Promise<Data> {\\n switch (constant) {\\n case \\"$wordsize\\":\\n return Data.fromHex(\\"0x20\\");\\n }\\n}\\n\\nasync function evaluateVariable(\\n identifier: Pointer.Expression.Variable,\\n { variables }: EvaluateOptions\\n): Promise<Data> {\\n const data = variables[identifier];\\n if (typeof data === \\"undefined\\") {\\n throw new Error(`Unknown variable with identifier ${identifier}`);\\n }\\n\\n return data;\\n}\\n\\nasync function evaluateArithmeticSum(\\n expression: Pointer.Expression.Arithmetic.Sum,\\n options: EvaluateOptions\\n): Promise<Data> {\\n const operands = await Promise.all(expression.$sum.map(\\n async expression => await evaluate(expression, options)\\n ));\\n\\n const maxLength = operands\\n .reduce((max, { length }) => length > max ? length : max, 0);\\n\\n const data = Data\\n .fromUint(operands.reduce((sum, data) => sum + data.asUint(), 0n))\\n .padUntilAtLeast(maxLength);\\n\\n return data;\\n}\\n\\nasync function evaluateArithmeticDifference(\\n expression: Pointer.Expression.Arithmetic.Difference,\\n options: EvaluateOptions\\n): Promise<Data> {\\n const [a, b] = await Promise.all(expression.$difference.map(\\n async expression => await evaluate(expression, options)\\n ));\\n\\n const maxLength = a.length > b.length ? a.length : b.length;\\n\\n const unpadded = a.asUint() > b.asUint()\\n ? Data.fromUint(a.asUint() - b.asUint())\\n : Data.fromNumber(0);\\n\\n const data = unpadded.padUntilAtLeast(maxLength);\\n return data;\\n}\\n\\nasync function evaluateArithmeticProduct(\\n expression: Pointer.Expression.Arithmetic.Product,\\n options: EvaluateOptions\\n): Promise<Data> {\\n const operands = await Promise.all(expression.$product.map(\\n async expression => await evaluate(expression, options)\\n ));\\n\\n const maxLength = operands\\n .reduce((max, { length }) => length > max ? length : max, 0);\\n\\n return Data\\n .fromUint(operands.reduce((product, data) => product * data.asUint(), 1n))\\n .padUntilAtLeast(maxLength);\\n}\\n\\nasync function evaluateArithmeticQuotient(\\n expression: Pointer.Expression.Arithmetic.Quotient,\\n options: EvaluateOptions\\n): Promise<Data> {\\n const [a, b] = await Promise.all(expression.$quotient.map(\\n async expression => (await evaluate(expression, options))\\n ));\\n\\n const maxLength = a.length > b.length ? a.length : b.length;\\n\\n const data = Data\\n .fromUint(a.asUint() / b.asUint())\\n .padUntilAtLeast(maxLength);\\n\\n return data;\\n}\\n\\nasync function evaluateArithmeticRemainder(\\n expression: Pointer.Expression.Arithmetic.Remainder,\\n options: EvaluateOptions\\n): Promise<Data> {\\n const [a, b] = await Promise.all(expression.$remainder.map(\\n async expression => await evaluate(expression, options)\\n ));\\n\\n const maxLength = a.length > b.length ? a.length : b.length;\\n\\n const data = Data\\n .fromUint(a.asUint() % b.asUint())\\n .padUntilAtLeast(maxLength);\\n\\n return data;\\n}\\n\\nasync function evaluateKeccak256(\\n expression: Pointer.Expression.Keccak256,\\n options: EvaluateOptions\\n): Promise<Data> {\\n const operands = await Promise.all(expression.$keccak256.map(\\n async expression => await evaluate(expression, options)\\n ));\\n\\n // HACK concatenate via string representation\\n const concatenatedData = operands.reduce(\\n (data, operand) => `${data}${operand.toHex().slice(2)}`,\\n \\"\\"\\n );\\n\\n const buffer = Buffer.from(concatenatedData, \\"hex\\");\\n const hash = keccak256(buffer);\\n\\n return Data.fromBytes(hash);\\n}\\n\\nasync function evaluateResize(\\n expression: Pointer.Expression.Resize,\\n options: EvaluateOptions\\n): Promise<Data> {\\n const [[operation, subexpression]] = Object.entries(expression);\\n\\n const newLength = Number(operation.match(/^\\\\$sized([1-9]+[0-9]*)$/)![1]);\\n\\n return (await evaluate(subexpression, options)).resizeTo(newLength);\\n}\\n\\nasync function evaluateLookup<O extends Pointer.Expression.Lookup.Operation>(\\n operation: O,\\n lookup: Pointer.Expression.Lookup.ForOperation<O>,\\n options: EvaluateOptions\\n): Promise<Data> {\\n const { regions } = options;\\n\\n const identifier = lookup[operation];\\n const region = regions[identifier];\\n if (!region) {\\n throw new Error(`Region not found: ${identifier}`);\\n }\\n\\n const property = Pointer.Expression.Lookup.propertyFrom(operation);\\n\\n const data = region[property as keyof typeof region] as Data | undefined;\\n\\n if (typeof data === \\"undefined\\") {\\n throw new Error(\\n `Region named ${identifier} does not have ${property} needed by lookup`\\n );\\n }\\n\\n return data;\\n}\\n\\nasync function evaluateRead(\\n expression: Pointer.Expression.Read,\\n options: EvaluateOptions\\n): Promise<Data> {\\n const { state, regions } = options;\\n\\n const identifier = expression.$read;\\n const region = regions[identifier];\\n if (!region) {\\n throw new Error(`Region not found: ${identifier}`);\\n }\\n\\n return await read(region, options);\\n}\\n"},{"filePath":"src/index.ts","text":"export { Pointer, isPointer } from \\"./pointer.js\\";\\nexport { dereference, DereferenceOptions } from \\"./dereference/index.js\\";\\nexport { Cursor } from \\"./cursor.js\\";\\n\\nexport type { Machine } from \\"./machine.js\\";\\nexport { Data } from \\"./data.js\\";\\n"},{"filePath":"src/machine.ts","text":"import type { Data } from \\"./data.js\\";\\n\\nexport interface Machine {\\n trace(): AsyncIterable<Machine.State>;\\n}\\n\\nexport namespace Machine {\\n\\n export interface State {\\n get traceIndex(): Promise<bigint>;\\n get programCounter(): Promise<bigint>;\\n get opcode(): Promise<string>;\\n\\n get stack(): State.Stack;\\n get memory(): State.Bytes;\\n get storage(): State.Words;\\n get calldata(): State.Bytes;\\n get returndata(): State.Bytes;\\n get transient(): State.Words;\\n get code(): State.Bytes;\\n }\\n\\n export namespace State {\\n export interface Slice {\\n offset: bigint;\\n length: bigint;\\n }\\n\\n export interface Stack {\\n get length(): Promise<bigint>;\\n\\n /** read element at position from top of stack */\\n peek(options: {\\n depth: bigint;\\n slice?: Slice;\\n }): Promise<Data>;\\n }\\n\\n export interface Bytes {\\n get length(): Promise<bigint>;\\n\\n read(options: { slice: Slice }): Promise<Data>;\\n }\\n\\n export interface Words {\\n read(options: { slot: Data; slice?: Slice }): Promise<Data>;\\n }\\n }\\n}\\n"},{"filePath":"src/pointer.test.ts","text":"import { expect, describe, it } from \\"@jest/globals\\";\\nimport chalk from \\"chalk\\";\\n\\nimport { describeSchema } from \\"@ethdebug/format\\";\\n\\nimport { Pointer, isPointer } from \\"./index.js\\";\\n\\nexpect.extend({\\n toSatisfy<T, P extends (value: unknown) => value is T>(\\n predicate: P,\\n received: any\\n ) {\\n const pass = predicate(received);\\n\\n return {\\n pass,\\n message: () => `expected ${\\n JSON.stringify(received)\\n } ${\\n pass\\n ? \\"not to satisfy\\"\\n : \\"to satisfy\\"\\n } the predicate ${predicate.name}`\\n };\\n },\\n\\n toSatisfyAll<T, P extends (value: unknown) => value is T>(\\n predicate: P,\\n values: any[]\\n ) {\\n const results = values.map(value => ({\\n value,\\n pass: predicate(value)\\n }));\\n\\n const pass = results.every(result => result.pass);\\n\\n return {\\n pass,\\n message: () => `expected the predicate ${predicate.name} ${\\n pass\\n ? \\"not to be satisfied by all\\"\\n : \\"to be satisfied by all\\"\\n } of the following values:\\\\n${\\n results.map(result => ` ${\\n result.pass\\n ? chalk.green(\\"\u2713\\")\\n : chalk.red(\\"\u2717\\")\\n } ${\\n // @ts-ignore\\n this.utils.printReceived(result.value)\\n }`).join(\\"\\\\n\\")\\n }`\\n };\\n }\\n});\\n\\ndescribe(\\"type guards\\", () => {\\n const expressionSchema = {\\n id: \\"schema:ethdebug/format/pointer/expression\\"\\n };\\n\\n const schemaGuards = [\\n {\\n schema: expressionSchema,\\n guard: Pointer.isExpression\\n },\\n {\\n schema: expressionSchema,\\n pointer: \\"#/$defs/Literal\\",\\n guard: Pointer.Expression.isLiteral\\n },\\n {\\n schema: expressionSchema,\\n pointer: \\"#/$defs/Constant\\",\\n guard: Pointer.Expression.isConstant\\n },\\n {\\n schema: expressionSchema,\\n pointer: \\"#/$defs/Variable\\",\\n guard: Pointer.Expression.isVariable\\n },\\n {\\n schema: expressionSchema,\\n pointer: \\"#/$defs/Arithmetic\\",\\n guard: Pointer.Expression.isArithmetic\\n },\\n {\\n schema: expressionSchema,\\n pointer: \\"#/$defs/Lookup\\",\\n guard: Pointer.Expression.isLookup\\n },\\n {\\n schema: expressionSchema,\\n pointer: \\"#/$defs/Read\\",\\n guard: Pointer.Expression.isRead\\n },\\n {\\n schema: expressionSchema,\\n pointer: \\"#/$defs/Reference\\",\\n guard: Pointer.Expression.isReference\\n },\\n {\\n schema: expressionSchema,\\n pointer: \\"#/$defs/Keccak256\\",\\n guard: Pointer.Expression.isKeccak256\\n },\\n {\\n schema: expressionSchema,\\n pointer: \\"#/$defs/Resize\\",\\n guard: Pointer.Expression.isResize\\n },\\n {\\n schema: {\\n id: \\"schema:ethdebug/format/pointer/region\\"\\n },\\n guard: Pointer.isRegion\\n },\\n {\\n schema: {\\n id: \\"schema:ethdebug/format/pointer/region/stack\\"\\n },\\n guard: Pointer.Region.isStack\\n },\\n {\\n schema: {\\n id: \\"schema:ethdebug/format/pointer/region/memory\\"\\n },\\n guard: Pointer.Region.isMemory\\n },\\n {\\n schema: {\\n id: \\"schema:ethdebug/format/pointer/region/storage\\"\\n },\\n guard: Pointer.Region.isStorage\\n },\\n {\\n schema: {\\n id: \\"schema:ethdebug/format/pointer/region/calldata\\"\\n },\\n guard: Pointer.Region.isCalldata\\n },\\n {\\n schema: {\\n id: \\"schema:ethdebug/format/pointer/region/returndata\\"\\n },\\n guard: Pointer.Region.isReturndata\\n },\\n {\\n schema: {\\n id: \\"schema:ethdebug/format/pointer/region/transient\\"\\n },\\n guard: Pointer.Region.isTransient\\n },\\n {\\n schema: {\\n id: \\"schema:ethdebug/format/pointer/region/code\\"\\n },\\n guard: Pointer.Region.isCode\\n },\\n {\\n schema: {\\n id: \\"schema:ethdebug/format/pointer/collection/group\\"\\n },\\n guard: Pointer.Collection.isGroup\\n },\\n {\\n schema: {\\n id: \\"schema:ethdebug/format/pointer/collection/list\\"\\n },\\n guard: Pointer.Collection.isList\\n },\\n {\\n schema: {\\n id: \\"schema:ethdebug/format/pointer\\"\\n },\\n guard: isPointer\\n },\\n ] as const;\\n\\n it.each(schemaGuards)(\\"matches its examples\\", ({\\n guard,\\n ...describeSchemaOptions\\n }) => {\\n const { schema: { examples = [] } } = describeSchema(describeSchemaOptions);\\n\\n expect(guard).toSatisfyAll(examples);\\n });\\n});\\n"},{"filePath":"src/pointer.ts","text":"export type Pointer =\\n | Pointer.Region\\n | Pointer.Collection;\\n\\nexport const isPointer = (value: unknown): value is Pointer =>\\n [\\n Pointer.isRegion,\\n Pointer.isCollection\\n ].some(guard => guard(value));\\n\\nexport namespace Pointer {\\n export type Identifier = string;\\n export const isIdentifier = (value: unknown): value is Identifier =>\\n typeof value === \\"string\\" && /^[a-zA-Z_\\\\\\\\-]+[a-zA-Z0-9$_\\\\\\\\-]*$/.test(value);\\n\\n export type Region =\\n | Region.Stack\\n | Region.Memory\\n | Region.Storage\\n | Region.Calldata\\n | Region.Returndata\\n | Region.Transient\\n | Region.Code;\\n\\n export const isRegion = (value: unknown): value is Region =>\\n [\\n Region.isStack,\\n Region.isMemory,\\n Region.isStorage,\\n Region.isCalldata,\\n Region.isReturndata,\\n Region.isTransient,\\n Region.isCode\\n ].some(guard => guard(value));\\n\\n export namespace Region {\\n export interface Base {\\n name?: string;\\n location: string;\\n }\\n export const isBase = (value: unknown): value is Base =>\\n !!value &&\\n typeof value === \\"object\\" &&\\n (!(\\"name\\" in value) || typeof value.name === \\"string\\") &&\\n \\"location\\" in value &&\\n typeof value.location === \\"string\\";\\n\\n export type Name = Base[\\"name\\"];\\n\\n export type Stack =\\n & Base\\n & Scheme.Segment\\n & { location: \\"stack\\" };\\n export const isStack = (value: unknown): value is Stack =>\\n isBase(value) && Scheme.isSegment(value) && value.location === \\"stack\\";\\n\\n export type Memory =\\n & Base\\n & Scheme.Slice\\n & { location: \\"memory\\" };\\n export const isMemory = (value: unknown): value is Memory =>\\n isBase(value) && Scheme.isSlice(value) && value.location === \\"memory\\";\\n\\n export type Storage =\\n & Base\\n & Scheme.Segment\\n & { location: \\"storage\\" };\\n export const isStorage = (value: unknown): value is Storage =>\\n isBase(value) && Scheme.isSegment(value) && value.location === \\"storage\\";\\n\\n export type Calldata =\\n & Base\\n & Scheme.Slice\\n & { location: \\"calldata\\" };\\n export const isCalldata = (value: unknown): value is Calldata =>\\n isBase(value) && Scheme.isSlice(value) && value.location === \\"calldata\\";\\n\\n export type Returndata =\\n & Base\\n & Scheme.Slice\\n & { location: \\"returndata\\" };\\n export const isReturndata = (value: unknown): value is Returndata =>\\n isBase(value) && Scheme.isSlice(value) && value.location === \\"returndata\\";\\n\\n export type Transient =\\n & Base\\n & Scheme.Segment\\n & { location: \\"transient\\" };\\n export const isTransient = (value: unknown): value is Transient =>\\n isBase(value) && Scheme.isSegment(value) && value.location === \\"transient\\";\\n\\n export type Code =\\n & Base\\n & Scheme.Slice\\n & { location: \\"code\\" };\\n export const isCode = (value: unknown): value is Code =>\\n isBase(value) && Scheme.isSlice(value) && value.location === \\"code\\";\\n }\\n\\n export namespace Scheme {\\n export interface Segment {\\n slot: Expression;\\n offset?: Expression;\\n length?: Expression;\\n }\\n export const isSegment = (value: unknown): value is Segment =>\\n !!value &&\\n typeof value === \\"object\\" &&\\n \\"slot\\" in value &&\\n isExpression(value.slot) &&\\n (!(\\"offset\\" in value) || isExpression(value.offset)) &&\\n (!(\\"length\\" in value) || isExpression(value.length));\\n\\n export interface Slice {\\n offset: Expression;\\n length: Expression;\\n }\\n\\n export const isSlice = (value: unknown): value is Slice =>\\n !!value &&\\n typeof value === \\"object\\" &&\\n \\"offset\\" in value &&\\n isExpression(value.offset) &&\\n \\"length\\" in value &&\\n isExpression(value.length);\\n }\\n\\n export type Collection =\\n | Collection.Group\\n | Collection.List\\n | Collection.Conditional\\n | Collection.Scope;\\n export const isCollection = (value: unknown): value is Collection =>\\n [\\n Collection.isGroup,\\n Collection.isList,\\n Collection.isConditional,\\n Collection.isScope\\n ].some(guard => guard(value));\\n\\n export namespace Collection {\\n export interface Group {\\n group: Pointer[];\\n }\\n export const isGroup = (value: unknown): value is Group =>\\n !!value &&\\n typeof value === \\"object\\" &&\\n Object.keys(value).length === 1 &&\\n \\"group\\" in value &&\\n value.group instanceof Array &&\\n value.group.length >= 1 &&\\n value.group.every(isPointer);\\n\\n export interface List {\\n list: {\\n count: Expression;\\n each: Identifier;\\n is: Pointer;\\n }\\n }\\n export const isList = (value: unknown): value is List =>\\n !!value &&\\n typeof value === \\"object\\" &&\\n Object.keys(value).length === 1 &&\\n \\"list\\" in value &&\\n !!value.list &&\\n typeof value.list === \\"object\\" &&\\n Object.keys(value.list).length === 3 &&\\n \\"count\\" in value.list &&\\n isExpression(value.list.count) &&\\n \\"each\\" in value.list &&\\n isIdentifier(value.list.each) &&\\n \\"is\\" in value.list &&\\n isPointer(value.list.is);\\n\\n export interface Conditional {\\n if: Expression;\\n then: Pointer;\\n else?: Pointer;\\n }\\n export const isConditional = (value: unknown): value is Conditional =>\\n !!value &&\\n typeof value === \\"object\\" &&\\n \\"if\\" in value &&\\n isExpression(value.if) &&\\n \\"then\\" in value &&\\n isPointer(value.then) &&\\n (!(\\"else\\" in value) || isPointer(value.else));\\n\\n export interface Scope {\\n define: {\\n [identifier: string]: Expression;\\n }\\n in: Pointer;\\n }\\n\\n export const isScope = (value: unknown): value is Scope =>\\n !!value &&\\n typeof value === \\"object\\" &&\\n \\"define\\" in value &&\\n typeof value.define === \\"object\\" && !!value.define &&\\n Object.keys(value.define).every(key => isIdentifier(key)) &&\\n \\"in\\" in value &&\\n isPointer(value.in);\\n }\\n\\n export type Expression =\\n | Expression.Literal\\n | Expression.Constant\\n | Expression.Variable\\n | Expression.Arithmetic\\n | Expression.Lookup\\n | Expression.Read\\n | Expression.Keccak256\\n | Expression.Resize;\\n\\n export const isExpression = (value: unknown): value is Expression =>\\n [\\n Expression.isLiteral,\\n Expression.isConstant,\\n Expression.isVariable,\\n Expression.isArithmetic,\\n Expression.isLookup,\\n Expression.isRead,\\n Expression.isKeccak256,\\n Expression.isResize\\n ].some(guard => guard(value));\\n\\n export namespace Expression {\\n export type Literal = number | `0x${string}`;\\n export const isLiteral = (value: unknown): value is Literal =>\\n typeof value === \\"number\\" ||\\n typeof value === \\"string\\" && /^0x[0-9a-fA-F]+$/.test(value);\\n\\n export type Constant =\\n | \\"$wordsize\\";\\n export const isConstant = (value: unknown): value is Constant =>\\n typeof value === \\"string\\" && [\\"$wordsize\\"].includes(value);\\n\\n export type Variable = string;\\n export const isVariable = (value: unknown): value is Variable =>\\n isIdentifier(value);\\n\\n export type Arithmetic =\\n | Arithmetic.Sum\\n | Arithmetic.Difference\\n | Arithmetic.Product\\n | Arithmetic.Quotient\\n | Arithmetic.Remainder;\\n\\n export const isArithmetic = (value: unknown): value is Arithmetic =>\\n [\\n Arithmetic.isSum,\\n Arithmetic.isDifference,\\n Arithmetic.isProduct,\\n Arithmetic.isQuotient,\\n Arithmetic.isRemainder\\n ].some(guard => guard(value));\\n\\n const makeIsOperation = <\\n O extends string,\\n T extends { [K in O]: any; }\\n >(\\n operation: O,\\n checkOperands: (operands: unknown) => operands is T[O]\\n ) => (value: unknown): value is T =>\\n !!value &&\\n typeof value === \\"object\\" &&\\n Object.keys(value).length === 1 &&\\n operation in value &&\\n checkOperands(value[operation as keyof typeof value]);\\n\\n export type Operands = Expression[];\\n export const isOperands =\\n (value: unknown): value is Expression[] =>\\n value instanceof Array && value.every(isExpression);\\n\\n export namespace Arithmetic {\\n export type Operation =\\n | keyof Sum\\n | keyof Difference\\n | keyof Product\\n | keyof Quotient\\n | keyof Remainder;\\n\\n export const isTwoOperands =\\n (value: unknown): value is [Expression, Expression] =>\\n isOperands(value) && value.length === 2;\\n\\n export interface Sum {\\n $sum: Expression[];\\n }\\n export const isSum =\\n makeIsOperation<\\"$sum\\", Sum>(\\"$sum\\", isOperands);\\n\\n export interface Difference {\\n $difference: [Expression, Expression];\\n }\\n export const isDifference =\\n makeIsOperation<\\"$difference\\", Difference>(\\"$difference\\", isTwoOperands);\\n\\n export interface Product {\\n $product: Expression[];\\n }\\n export const isProduct =\\n makeIsOperation<\\"$product\\", Product>(\\"$product\\", isOperands);\\n\\n export interface Quotient {\\n $quotient: [Expression, Expression];\\n }\\n export const isQuotient =\\n makeIsOperation<\\"$quotient\\", Quotient>(\\"$quotient\\", isTwoOperands);\\n\\n export interface Remainder {\\n $remainder: [Expression, Expression];\\n }\\n export const isRemainder =\\n makeIsOperation<\\"$remainder\\", Remainder>(\\"$remainder\\", isTwoOperands);\\n }\\n\\n export type Reference =\\n | Identifier\\n | \\"$this\\";\\n export const isReference = (value: unknown): value is Reference =>\\n isIdentifier(value) || value === \\"$this\\";\\n\\n export type Lookup =\\n | Lookup.Offset\\n | Lookup.Length\\n | Lookup.Slot;\\n export const isLookup = (value: unknown): value is Lookup =>\\n [\\n Lookup.isOffset,\\n Lookup.isLength,\\n Lookup.isSlot\\n ].some(guard => guard(value));\\n\\n export namespace Lookup {\\n export type Operation =\\n | keyof Offset\\n | keyof Length\\n | keyof Slot;\\n\\n export type ForOperation<O extends Operation> =\\n & Lookup\\n & { [K in O]: any };\\n\\n export const propertyFrom = <O extends Operation>(\\n operation: O\\n ): \\"slot\\" | \\"offset\\" | \\"length\\" => {\\n return operation.slice(1) as \\"slot\\" | \\"offset\\" | \\"length\\";\\n }\\n\\n export interface Offset {\\n \\".offset\\": Reference;\\n }\\n export const isOffset =\\n makeIsOperation<\\".offset\\", Offset>(\\".offset\\", isReference);\\n\\n export interface Length {\\n \\".length\\": Reference;\\n }\\n export const isLength =\\n makeIsOperation<\\".length\\", Length>(\\".length\\", isReference);\\n\\n export interface Slot {\\n \\".slot\\": Reference;\\n }\\n export const isSlot =\\n makeIsOperation<\\".slot\\", Slot>(\\".slot\\", isReference);\\n }\\n\\n export interface Read {\\n $read: Reference\\n }\\n export const isRead = makeIsOperation<\\"$read\\", Read>(\\"$read\\", isReference);\\n\\n export interface Keccak256 {\\n $keccak256: Expression[];\\n }\\n export const isKeccak256 =\\n makeIsOperation<\\"$keccak256\\", Keccak256>(\\"$keccak256\\", isOperands);\\n\\n export type Resize<N extends number = number> = {\\n [K in `$sized${N}`]: Expression;\\n }\\n export const isResize = <N extends number>(\\n value: unknown\\n ): value is Resize<N> => {\\n if (\\n !value ||\\n typeof value !== \\"object\\" ||\\n Object.keys(value).length !== 1\\n ) {\\n return false;\\n }\\n const [key] = Object.keys(value);\\n\\n return typeof key === \\"string\\" && /^\\\\$sized([1-9]+[0-9]*)$/.test(key);\\n }\\n }\\n}\\n"},{"filePath":"src/read.test.ts","text":"import { jest, expect, describe, it, beforeEach } from \\"@jest/globals\\";\\nimport { Machine } from \\"./machine.js\\";\\nimport { Data } from \\"./data.js\\";\\nimport type { Pointer } from \\"./pointer.js\\";\\nimport { read, type ReadOptions } from \\"./read.js\\";\\nimport { Cursor } from \\"./cursor.js\\";\\n\\ndescribe(\\"read\\", () => {\\n let options: ReadOptions;\\n\\n beforeEach(() => {\\n const state: Machine.State = {\\n stack: {\\n length: 50n,\\n peek: jest.fn(\\n async ({ depth, slice }) =>\\n Data.fromBytes(new Uint8Array([0x11, 0x22, 0x33, 0x44]))\\n ),\\n },\\n memory: {\\n read: jest.fn(\\n async ({ slice }) =>\\n Data.fromBytes(new Uint8Array([0x55, 0x66, 0x77, 0x88]))\\n ),\\n },\\n storage: {\\n read: jest.fn(\\n async ({ slot, slice }) =>\\n Data.fromBytes(new Uint8Array([0xaa, 0xbb, 0xcc, 0xdd]))\\n ),\\n },\\n calldata: {\\n read: jest.fn(\\n async ({ slice }) =>\\n Data.fromBytes(new Uint8Array([0x11, 0x22, 0x33, 0x44]))\\n ),\\n },\\n returndata: {\\n read: jest.fn(\\n async ({ slice }) =>\\n Data.fromBytes(new Uint8Array([0x55, 0x66, 0x77, 0x88]))\\n ),\\n },\\n transient: {\\n read: jest.fn(\\n async ({ slot, slice }) =>\\n Data.fromBytes(new Uint8Array([0xaa, 0xbb, 0xcc, 0xdd]))\\n ),\\n },\\n code: {\\n read: jest.fn(\\n async ({ slice }) =>\\n Data.fromBytes(new Uint8Array([0x11, 0x22, 0x33, 0x44]))\\n ),\\n },\\n } as unknown as Machine.State;\\n\\n options = {\\n state\\n };\\n });\\n\\n it(\\"reads data from stack\\", async () => {\\n const region: Cursor.Region<Pointer.Region.Stack> = {\\n location: \\"stack\\",\\n slot: Data.fromNumber(42),\\n offset: Data.fromNumber(1),\\n length: Data.fromNumber(2),\\n };\\n\\n const result = await read(region, options);\\n\\n expect(options.state.stack.peek)\\n .toHaveBeenCalledWith({ depth: 42n, slice: { offset: 1n, length: 2n } });\\n expect(result)\\n .toEqual(Data.fromBytes(new Uint8Array([0x11, 0x22, 0x33, 0x44])));\\n });\\n\\n it(\\"reads data from memory\\", async () => {\\n const region: Cursor.Region<Pointer.Region.Memory> = {\\n location: \\"memory\\",\\n offset: Data.fromNumber(0),\\n length: Data.fromNumber(4),\\n };\\n\\n const result = await read(region, options);\\n\\n expect(options.state.memory.read)\\n .toHaveBeenCalledWith({ slice: { offset: 0n, length: 4n } });\\n expect(result)\\n .toEqual(Data.fromBytes(new Uint8Array([0x55, 0x66, 0x77, 0x88])));\\n });\\n\\n it(\\"reads data from storage\\", async () => {\\n const region: Cursor.Region<Pointer.Region.Storage> = {\\n location: \\"storage\\",\\n slot: Data.fromNumber(0),\\n offset: Data.fromNumber(2),\\n length: Data.fromNumber(2),\\n };\\n\\n const result = await read(region, options);\\n\\n expect(options.state.storage.read)\\n .toHaveBeenCalledWith({\\n slot: Data.fromNumber(0),\\n slice: { offset: 2n, length: 2n }\\n });\\n\\n expect(result)\\n .toEqual(Data.fromBytes(new Uint8Array([0xaa, 0xbb, 0xcc, 0xdd])));\\n });\\n\\n it(\\"reads data from calldata\\", async () => {\\n const region: Cursor.Region<Pointer.Region.Calldata> = {\\n location: \\"calldata\\",\\n offset: Data.fromNumber(0),\\n length: Data.fromNumber(4),\\n };\\n\\n const result = await read(region, options);\\n\\n expect(options.state.calldata.read)\\n .toHaveBeenCalledWith({ slice: { offset: 0n, length: 4n } });\\n expect(result)\\n .toEqual(Data.fromBytes(new Uint8Array([0x11, 0x22, 0x33, 0x44])));\\n });\\n\\n it(\\"reads data from returndata\\", async () => {\\n const region: Cursor.Region<Pointer.Region.Returndata> = {\\n location: \\"returndata\\",\\n offset: Data.fromNumber(0),\\n length: Data.fromNumber(4),\\n };\\n\\n const result = await read(region, options);\\n\\n expect(options.state.returndata.read)\\n .toHaveBeenCalledWith({ slice: { offset: 0n, length: 4n } });\\n expect(result)\\n .toEqual(Data.fromBytes(new Uint8Array([0x55, 0x66, 0x77, 0x88])));\\n });\\n\\n it(\\"reads data from transient\\", async () => {\\n const region: Cursor.Region<Pointer.Region.Transient> = {\\n location: \\"transient\\",\\n slot: Data.fromNumber(42),\\n offset: Data.fromNumber(1),\\n length: Data.fromNumber(2),\\n };\\n\\n const result = await read(region, options);\\n\\n expect(options.state.transient.read)\\n .toHaveBeenCalledWith({\\n slot: Data.fromNumber(42),\\n slice: { offset: 1n, length: 2n }\\n });\\n\\n expect(result)\\n .toEqual(Data.fromBytes(new Uint8Array([0xaa, 0xbb, 0xcc, 0xdd])));\\n });\\n\\n it(\\"reads data from code\\", async () => {\\n const region: Cursor.Region<Pointer.Region.Code> = {\\n location: \\"code\\",\\n offset: Data.fromNumber(0),\\n length: Data.fromNumber(4),\\n };\\n\\n const result = await read(region, options);\\n\\n expect(options.state.code.read)\\n .toHaveBeenCalledWith({\\n slice: { offset: 0n, length: 4n }\\n });\\n\\n expect(result)\\n .toEqual(Data.fromBytes(new Uint8Array([0x11, 0x22, 0x33, 0x44])));\\n });\\n\\n it(\\"uses default offset and length values for stack region\\", async () => {\\n const region: Cursor.Region<Pointer.Region.Stack> = {\\n location: \\"stack\\",\\n slot: Data.fromNumber(42),\\n };\\n\\n const result = await read(region, options);\\n\\n expect(options.state.stack.peek)\\n .toHaveBeenCalledWith({\\n depth: 42n,\\n slice: { offset: 0n, length: 32n }\\n });\\n\\n expect(result)\\n .toEqual(Data.fromBytes(new Uint8Array([0x11, 0x22, 0x33, 0x44])));\\n });\\n\\n it(\\"uses default offset and length values for storage region\\", async () => {\\n const region: Cursor.Region<Pointer.Region.Storage> = {\\n location: \\"storage\\",\\n slot: Data.fromHex(\\"0x1f\\"),\\n };\\n\\n const result = await read(region, options);\\n\\n expect(options.state.storage.read)\\n .toHaveBeenCalledWith({\\n slot: Data.fromHex(\\"0x1f\\"),\\n slice: { offset: 0n, length: 32n }\\n });\\n\\n expect(result)\\n .toEqual(Data.fromBytes(new Uint8Array([0xaa, 0xbb, 0xcc, 0xdd])));\\n });\\n\\n it(\\"uses default offset and length values for transient region\\", async () => {\\n const region: Cursor.Region<Pointer.Region.Transient> = {\\n location: \\"transient\\",\\n slot: Data.fromNumber(42)\\n };\\n\\n const result = await read(region, options);\\n\\n expect(options.state.transient.read)\\n .toHaveBeenCalledWith({\\n slot: Data.fromNumber(42),\\n slice: { offset: 0n, length: 32n }\\n });\\n\\n expect(result)\\n .toEqual(Data.fromBytes(new Uint8Array([0xaa, 0xbb, 0xcc, 0xdd])));\\n });\\n});\\n"},{"filePath":"src/read.ts","text":"import { Pointer } from \\"./pointer.js\\";\\nimport { Machine } from \\"./machine.js\\";\\nimport { Data } from \\"./data.js\\";\\nimport type { Cursor } from \\"./cursor.js\\";\\n\\nexport interface ReadOptions {\\n state: Machine.State;\\n}\\n\\nexport async function read(\\n region: Cursor.Region,\\n options: ReadOptions\\n): Promise<Data> {\\n const { location } = region;\\n const { state } = options;\\n\\n switch (location) {\\n case \\"stack\\": {\\n const {\\n slot,\\n offset = 0n,\\n length = 32n\\n } = withPropertiesAsUints([\\"slot\\", \\"offset\\", \\"length\\"], region);\\n\\n return await state.stack.peek({\\n depth: slot,\\n slice: {\\n offset,\\n length\\n }\\n });\\n }\\n case \\"memory\\": {\\n const {\\n offset,\\n length\\n } = withPropertiesAsUints([\\"offset\\", \\"length\\"], region);\\n\\n return await state.memory.read({\\n slice: {\\n offset: offset,\\n length: length\\n }\\n });\\n }\\n case \\"storage\\": {\\n const { slot } = region;\\n const {\\n offset = 0n,\\n length = 32n\\n } = withPropertiesAsUints([\\"offset\\", \\"length\\"], region);\\n\\n return await state.storage.read({\\n slot,\\n slice: {\\n offset,\\n length\\n }\\n });\\n }\\n case \\"calldata\\": {\\n const {\\n offset,\\n length\\n } = withPropertiesAsUints([\\"offset\\", \\"length\\"], region);\\n\\n return await state.calldata.read({ slice: { offset, length } });\\n }\\n case \\"returndata\\": {\\n const {\\n offset,\\n length\\n } = withPropertiesAsUints([\\"offset\\", \\"length\\"], region);\\n\\n return await state.returndata.read({ slice: { offset, length } });\\n }\\n case \\"transient\\": {\\n const { slot } = region;\\n const {\\n offset = 0n,\\n length = 32n\\n } = withPropertiesAsUints([\\"offset\\", \\"length\\"], region);\\n\\n return await state.transient.read({\\n slot,\\n slice: {\\n offset,\\n length\\n }\\n });\\n }\\n case \\"code\\": {\\n const {\\n offset,\\n length\\n } = withPropertiesAsUints([\\"offset\\", \\"length\\"], region);\\n\\n return await state.code.read({ slice: { offset, length } });\\n }\\n }\\n}\\n\\ntype DataProperties<R extends Pointer.Region> = {\\n [K in (\\n & keyof Cursor.Region<R>\\n & (\\"slot\\" | \\"offset\\" | \\"length\\")\\n )]: Cursor.Region<R>[K];\\n}\\n\\ntype PickDataPropertiesAsUints<\\n R extends Pointer.Region,\\n U extends keyof DataProperties<R>\\n> = {\\n [K in U]:\\n undefined extends Cursor.Region<R>[K]\\n ? bigint | undefined\\n : bigint\\n};\\n\\nfunction withPropertiesAsUints<\\n R extends Pointer.Region,\\n U extends keyof DataProperties<R>\\n>(\\n uintKeys: U[],\\n region: Cursor.Region<R>\\n): PickDataPropertiesAsUints<R, U> {\\n const result: Partial<PickDataPropertiesAsUints<R, U>> = {};\\n for (const key of uintKeys) {\\n const data: Data | undefined = region[key] as Data | undefined;\\n if (typeof data !== \\"undefined\\") {\\n result[key] = data.asUint();\\n }\\n }\\n\\n return result as PickDataPropertiesAsUints<R, U>;\\n}\\n"},{"filePath":"test/deploy.ts","text":"import type { EthereumProvider } from \\"ganache\\";\\n\\nimport { Data } from \\"../src/data.js\\";\\n\\nexport interface DeployContractResult {\\n transactionHash: Data;\\n contractAddress: Data;\\n}\\n\\nexport async function deployContract(\\n createBytecode: Data,\\n provider: EthereumProvider\\n): Promise<DeployContractResult> {\\n\\n const [account] = await provider.request({\\n method: \\"eth_accounts\\",\\n params: []\\n });\\n\\n const transactionHash = Data.fromHex(await provider.request({\\n method: \\"eth_sendTransaction\\",\\n params: [{\\n from: account,\\n gas: \\"0x989680\\",\\n data: createBytecode.toHex()\\n }]\\n }));\\n\\n const contractAddress = Data.fromHex((await provider.request({\\n method: \\"eth_getTransactionReceipt\\",\\n params: [transactionHash.toHex()]\\n })).contractAddress);\\n\\n return {\\n transactionHash,\\n contractAddress\\n };\\n}\\n"},{"filePath":"test/examples.ts","text":"import { type CompileOptions } from \\"./solc.js\\";\\n\\nexport const examples = {\\n emptyContract: makeExample({\\n path: \\"EmptyContract.sol\\",\\n contractName: \\"EmptyContract\\",\\n content: `contract EmptyContract {\\n}\\n`,\\n }),\\n\\n stringStorage: makeExample({\\n path: \\"StringStorage.sol\\",\\n contractName: \\"StringStorage\\",\\n content: `contract StringStorage {\\n string storedString;\\n bool done;\\n\\n event Done();\\n\\n constructor() {\\n storedString = \\"hello world\\";\\n storedString = \\"solidity storage is a fun lesson in endianness\\";\\n\\n done = true;\\n }\\n}\\n`,\\n }),\\n} as const;\\n\\nexport function makeExample(example: {\\n path: string;\\n contractName: string;\\n content: string;\\n}): CompileOptions {\\n const { path, contractName, content: contentWithoutHeader } = example;\\n\\n const spdxLicenseIdentifier = \\"// SPDX-License-Identifier: UNLICENSED\\";\\n const pragma = \\"pragma solidity ^0.8.25;\\";\\n const header = `${spdxLicenseIdentifier}\\n${pragma}\\n`;\\n\\n return {\\n sources: {\\n [path]: {\\n content: `${header}\\n${contentWithoutHeader}\\n`\\n }\\n },\\n\\n target: {\\n path,\\n contractName\\n }\\n };\\n}\\n"},{"filePath":"test/ganache.ts","text":"import type { EthereumProvider } from \\"ganache\\";\\n\\nimport { Machine } from \\"../src/machine.js\\";\\nimport { Data } from \\"../src/data.js\\";\\n\\nexport async function loadGanache() {\\n const originalWarn = console.warn;\\n console.warn = (...args: any[]) => {\\n if (\\n args.length > 0 &&\\n typeof args[0] === \\"string\\" &&\\n args[0].includes(\\"bigint: Failed to load bindings\\")\\n ) {\\n return;\\n }\\n\\n originalWarn(...args);\\n };\\n\\n const { default: Ganache } = await import(\\"ganache\\");\\n\\n console.warn = originalWarn;\\n return Ganache;\\n}\\n\\nexport interface MachineForProviderOptions {\\n transactionHash: Data;\\n}\\n\\nexport function machineForProvider(\\n provider: EthereumProvider,\\n { transactionHash }: MachineForProviderOptions\\n): Machine {\\n return {\\n trace(): AsyncIterable<Machine.State> {\\n return {\\n async *[Symbol.asyncIterator]() {\\n const structLogs = await requestStructLogs(\\n `0x${transactionHash.asUint().toString(16)}`,\\n provider\\n );\\n\\n let previousOp;\\n for (const [index, step] of structLogs.entries()) {\\n const { state } = toMachineState(\\n step,\\n { index }\\n );\\n\\n yield state;\\n\\n previousOp = step.op;\\n }\\n }\\n };\\n }\\n };\\n}\\n\\nasync function requestStructLogs(\\n transactionHash: string,\\n provider: EthereumProvider\\n) {\\n const { structLogs } = await provider.request({\\n method: \\"debug_traceTransaction\\",\\n params: [transactionHash]\\n });\\n\\n return structLogs;\\n}\\n\\ntype StructLogs = Depromise<ReturnType<typeof requestStructLogs>>;\\ntype StructLog = Dearray<StructLogs>;\\n\\n// helpers instead of digging through ganache\'s types\\ntype Depromise<P> = P extends Promise<infer T> ? T : P;\\ntype Dearray<A> = A extends Array<infer T> ? T : A;\\n\\ninterface ToMachineStateOptions {\\n index: number;\\n}\\n\\nfunction toMachineState(\\n step: StructLog,\\n options: ToMachineStateOptions\\n): {\\n state: Machine.State;\\n storage: {\\n [slot: string]: Data\\n };\\n} {\\n const { index } = options;\\n\\n const constantUint = (value: number): Promise<bigint> =>\\n Promise.resolve(Data.fromNumber(index).asUint());\\n\\n const makeStack = (\\n stack: StructLog[\\"stack\\"]\\n ): Machine.State.Stack => {\\n const length = stack.length;\\n\\n return {\\n length: constantUint(length),\\n\\n async peek({\\n depth,\\n slice: {\\n offset = 0n,\\n length = 32n\\n } = {}\\n }) {\\n const entry = stack.at(-Number(depth));\\n const data = Data.fromHex(`0x${entry || \\"\\"}`);\\n\\n const sliced = new Uint8Array(data).slice(\\n Number(offset),\\n Number(offset + length)\\n );\\n\\n return new Data(sliced);\\n }\\n };\\n };\\n\\n const makeBytes = (\\n words: StructLog[\\"memory\\" /* | theoretically others */]\\n ): Machine.State.Bytes => {\\n const data = Data.fromHex(`0x${words.map(word => word.slice(2)).join(\\"\\")}`);\\n\\n return {\\n length: constantUint(data.length),\\n\\n async read({ slice: { offset, length } }) {\\n return new Data(data.slice(\\n Number(offset),\\n Number(offset + length)\\n ));\\n }\\n }\\n };\\n\\n const makeWords = (\\n slots: StructLog[\\"storage\\" /* | theoretically others */]\\n ): Machine.State.Words => {\\n return {\\n async read({\\n slot,\\n slice: {\\n offset = 0n,\\n length = 32n\\n } = {}\\n }) {\\n const rawHex = slots[\\n slot.resizeTo(32).toHex().slice(2) as keyof typeof slots\\n ];\\n\\n const data = Data.fromHex(`0x${rawHex}`);\\n\\n return new Data(data.slice(\\n Number(offset),\\n Number(offset + length)\\n ));\\n }\\n };\\n };\\n\\n return {\\n state: {\\n traceIndex: constantUint(index),\\n programCounter: constantUint(step.pc),\\n opcode: Promise.resolve(step.op),\\n\\n stack: makeStack(step.stack),\\n\\n memory: makeBytes(step.memory),\\n\\n storage: makeWords(step.storage),\\n\\n calldata: undefined as unknown as Machine.State.Bytes,\\n returndata: undefined as unknown as Machine.State.Bytes,\\n code: undefined as unknown as Machine.State.Bytes,\\n\\n transient: undefined as unknown as Machine.State.Words,\\n },\\n\\n storage: {}\\n };\\n}\\n"},{"filePath":"test/index.ts","text":"export { loadGanache, machineForProvider } from \\"./ganache.js\\";\\nexport { compileCreateBytecode, type CompileOptions } from \\"./solc.js\\";\\nexport { deployContract, type DeployContractResult } from \\"./deploy.js\\";\\nexport { examples, makeExample } from \\"./examples.js\\";\\n"},{"filePath":"test/run.ts","text":"import chalk from \\"chalk\\";\\nimport { highlight } from \\"cli-highlight\\";\\nimport { describeSchema } from \\"@ethdebug/format\\";\\n\\nimport { Data } from \\"../src/data.js\\";\\nimport type { Pointer } from \\"../src/pointer.js\\";\\nimport { dereference } from \\"../src/index.js\\";\\n\\nimport { loadGanache, machineForProvider } from \\"./ganache.js\\";\\nimport { deployContract } from \\"./deploy.js\\";\\nimport { compileCreateBytecode } from \\"./solc.js\\";\\nimport { examples } from \\"./examples.js\\";\\n\\nconst {\\n schema: pointerSchema\\n} = describeSchema({\\n schema: { id: \\"schema:ethdebug/format/pointer\\" },\\n}) as { schema: { examples: Pointer[] } };\\n\\nconst stringStoragePointer: Pointer =\\n pointerSchema.examples.find(\\n example => JSON.stringify(example).includes(\\"long-string-length-data\\")\\n )!;\\n\\nexport async function run() {\\n console.log(\\n chalk.bold(chalk.cyan(\\n \\"demo: run compiled solidity and watch a changing ethdebug/format pointer\\\\n\\"\\n ))\\n );\\n\\n console.group(chalk.bold(\\"ethdebug/format pointer used by demo\\"));\\n console.log(\\n highlight(\\n describeSchema({\\n schema: { id: \\"schema:ethdebug/format/pointer\\" },\\n pointer: \\"#/examples/4\\"\\n }).yaml,\\n { language: \\"yaml\\" }\\n ).trim()\\n );\\n console.groupEnd();\\n console.log(\\"\\");\\n\\n console.group(chalk.bold(\\"solidity source code used by demo\\"));\\n console.log(\\n examples.stringStorage.sources[\\"StringStorage.sol\\"].content.trim()\\n );\\n console.groupEnd();\\n console.log(\\"\\");\\n\\n console.group(chalk.bold(\\"preparing demo\\"));\\n\\n const provider = (await loadGanache()).provider({\\n logging: {\\n quiet: true\\n }\\n });\\n\\n const bytecode = await compileCreateBytecode(examples.stringStorage);\\n console.log(\\"- compiled source code.\\");\\n\\n const {\\n transactionHash,\\n contractAddress\\n } = await deployContract(bytecode, provider);\\n console.log(\\"- deployed contract.\\");\\n\\n const machine = machineForProvider(provider, { transactionHash });\\n\\n const trace = machine.trace();\\n console.log(\\"- requested trace.\\");\\n\\n console.groupEnd();\\n console.log(\\"\\");\\n\\n console.group(chalk.bold(\\"watching trace for changing pointer values\\"));\\n\\n const cursor = await dereference(stringStoragePointer);\\n let currentStoredString;\\n for await (const state of trace) {\\n const { regions, read } = await cursor.view(state);\\n const stringData = Data.fromHex(\\n await regions.named(\\"string\\")\\n .map(read)\\n // HACK concatenate via string representation\\n .map(async data => (await data).toHex().slice(2))\\n .reduce(async (accumulator, data) => {\\n return `${await accumulator}${await data}`;\\n }, Promise.resolve(\\"0x\\"))\\n );\\n\\n const storedString = new TextDecoder().decode(stringData);\\n\\n if (storedString !== currentStoredString) {\\n const pc = Number(await state.programCounter);\\n console.group(chalk.bold(\\n pc === 0 ?\\n \\"initial storedString\\"\\n : \\"storedString changed\\"\\n ));\\n console.log(\\"pc: %o\\", pc);\\n console.log(\\"new value: %o\\", storedString);\\n console.groupEnd();\\n\\n currentStoredString = storedString;\\n }\\n }\\n\\n console.groupEnd();\\n console.log(\\"\\");\\n\\n console.log(chalk.bold(\\"thanks for reading!\\"));\\n\\n}\\n\\nawait run();\\n"},{"filePath":"test/solc.ts","text":"import * as util from \\"util\\";\\nimport { Data } from \\"../src/data.js\\";\\nimport solc from \\"solc\\";\\n\\nexport interface CompileOptions {\\n sources: {\\n [path: string]: {\\n content: string\\n }\\n };\\n\\n target: {\\n path: string;\\n contractName: string;\\n };\\n}\\n\\n// just compile and get something that can go into transaction data\\nexport async function compileCreateBytecode({\\n sources,\\n target\\n}: CompileOptions): Promise<Data> {\\n const input = {\\n language: \\"Solidity\\",\\n sources,\\n settings: {\\n outputSelection: {\\n \\"*\\": {\\n \\"*\\": [\\"ir\\", \\"*\\"],\\n \\"\\": [\\"*\\"]\\n }\\n },\\n viaIR: true,\\n optimizer: {\\n enabled: true\\n }\\n }\\n };\\n\\n const output = JSON.parse(\\n solc.compile(\\n JSON.stringify(input),\\n )\\n );\\n\\n const { errors = [] } = output;\\n if (errors.length > 0) {\\n throw new Error(util.inspect(errors));\\n }\\n\\n const {\\n evm: {\\n bytecode: createBytecode\\n }\\n } = output.contracts[target.path][target.contractName];\\n\\n return Data.fromHex(`0x${createBytecode.object}`);\\n}\\n"},{"filePath":"../format/dist/src/describe.d.ts","text":"import type { JSONSchema as JSONSchemaTyped } from \\"json-schema-typed/draft-2020-12\\";\\nexport type JSONSchema = Exclude<JSONSchemaTyped, boolean>;\\nexport interface DescribeSchemaOptions<S extends SchemaReference = SchemaReference> {\\n schema: S;\\n pointer?: SchemaPointer;\\n}\\nexport interface SchemaInfo {\\n id?: string;\\n pointer?: SchemaPointer;\\n yaml: string;\\n schema: JSONSchema;\\n rootSchema: JSONSchema;\\n}\\nexport declare function describeSchema({ schema, pointer }: DescribeSchemaOptions): SchemaInfo;\\ntype Impossible<K extends keyof any> = {\\n [P in K]: never;\\n};\\ntype NoExtraProperties<T, U extends T = T> = U & Impossible<Exclude<keyof U, keyof T>>;\\nexport type SchemaPointer = `#${string}`;\\nexport type SchemaReference = SchemaById | SchemaByYaml | object;\\nexport type SchemaById = NoExtraProperties<{\\n id: string;\\n}>;\\nexport type SchemaByYaml = NoExtraProperties<{\\n yaml: string;\\n}>;\\nexport declare function referencesId(schema: SchemaReference): schema is SchemaById;\\nexport declare function referencesYaml(schema: SchemaReference): schema is SchemaByYaml;\\nexport {};\\n//# sourceMappingURL=describe.d.ts.map"},{"filePath":"../format/dist/src/index.d.ts","text":"export * from \\"./describe\\";\\nexport { schemas, schemaIds, type Schema } from \\"./schemas\\";\\n//# sourceMappingURL=index.d.ts.map"},{"filePath":"../format/dist/src/schemas.d.ts","text":"export type { Schema } from \\"../yamls\\";\\nexport declare const schemaIds: string[];\\nexport declare const schemas: {\\n [x: string]: {\\n $anchor?: string | undefined;\\n $comment?: string | undefined;\\n $defs?: Record<string, import(\\"json-schema-typed\\").JSONSchema<any, import(\\"json-schema-typed\\").JSONSchema.TypeValue>> | undefined;\\n $dynamicAnchor?: string | undefined;\\n $dynamicRef?: string | undefined;\\n $id?: string | undefined;\\n $ref?: string | undefined;\\n $schema?: string | undefined;\\n $vocabulary?: Record<string, string> | undefined;\\n additionalItems?: import(\\"json-schema-typed\\").JSONSchema<any, import(\\"json-schema-typed\\").JSONSchema.TypeValue> | undefined;\\n additionalProperties?: import(\\"json-schema-typed\\").JSONSchema<any, import(\\"json-schema-typed\\").JSONSchema.TypeValue> | undefined;\\n allOf?: (import(\\"json-schema-typed\\").JSONSchema<any, import(\\"json-schema-typed\\").JSONSchema.TypeValue>[] | readonly import(\\"json-schema-typed\\").JSONSchema<any, import(\\"json-schema-typed\\").JSONSchema.TypeValue>[]) | undefined;\\n anyOf?: (import(\\"json-schema-typed\\").JSONSchema<any, import(\\"json-schema-typed\\").JSONSchema.TypeValue>[] | readonly import(\\"json-schema-typed\\").JSONSchema<any, import(\\"json-schema-typed\\").JSONSchema.TypeValue>[]) | undefined;\\n const?: any;\\n contains?: import(\\"json-schema-typed\\").JSONSchema<any, import(\\"json-schema-typed\\").JSONSchema.TypeValue> | undefined;\\n contentEncoding?: \\"7bit\\" | \\"8bit\\" | \\"base64\\" | \\"binary\\" | \\"ietf-token\\" | \\"quoted-printable\\" | \\"x-token\\" | undefined;\\n contentMediaType?: string | undefined;\\n contentSchema?: import(\\"json-schema-typed\\").JSONSchema<any, import(\\"json-schema-typed\\").JSONSchema.TypeValue> | undefined;\\n default?: any;\\n definitions?: Record<string, import(\\"json-schema-typed\\").JSONSchema<any, import(\\"json-schema-typed\\").JSONSchema.TypeValue>> | undefined;\\n dependencies?: Record<string, import(\\"json-schema-typed\\").JSONSchema<any, import(\\"json-schema-typed\\").JSONSchema.TypeValue> | (string[] | readonly string[])> | undefined;\\n dependentRequired?: Record<string, string[] | readonly string[]> | undefined;\\n dependentSchemas?: Record<string, import(\\"json-schema-typed\\").JSONSchema<any, import(\\"json-schema-typed\\").JSONSchema.TypeValue>> | undefined;\\n deprecated?: boolean | undefined;\\n description?: string | undefined;\\n else?: import(\\"json-schema-typed\\").JSONSchema<any, import(\\"json-schema-typed\\").JSONSchema.TypeValue> | undefined;\\n enum?: (any[] | readonly any[]) | undefined;\\n examples?: (any[] | readonly any[]) | undefined;\\n exclusiveMaximum?: number | undefined;\\n exclusiveMinimum?: number | undefined;\\n format?: string | undefined;\\n if?: import(\\"json-schema-typed\\").JSONSchema<any, import(\\"json-schema-typed\\").JSONSchema.TypeValue> | undefined;\\n items?: import(\\"json-schema-typed\\").JSONSchema<any, import(\\"json-schema-typed\\").JSONSchema.TypeValue> | undefined;\\n maxContains?: number | undefined;\\n maximum?: number | undefined;\\n maxItems?: number | undefined;\\n maxLength?: number | undefined;\\n maxProperties?: number | undefined;\\n minContains?: number | undefined;\\n minimum?: number | undefined;\\n minItems?: number | undefined;\\n minLength?: number | undefined;\\n minProperties?: number | undefined;\\n multipleOf?: number | undefined;\\n not?: import(\\"json-schema-typed\\").JSONSchema<any, import(\\"json-schema-typed\\").JSONSchema.TypeValue> | undefined;\\n oneOf?: (import(\\"json-schema-typed\\").JSONSchema<any, import(\\"json-schema-typed\\").JSONSchema.TypeValue>[] | readonly import(\\"json-schema-typed\\").JSONSchema<any, import(\\"json-schema-typed\\").JSONSchema.TypeValue>[]) | undefined;\\n pattern?: string | undefined;\\n patternProperties?: Record<string, import(\\"json-schema-typed\\").JSONSchema<any, import(\\"json-schema-typed\\").JSONSchema.TypeValue>> | undefined;\\n prefixItems?: import(\\"json-schema-typed\\").JSONSchema<any, import(\\"json-schema-typed\\").JSONSchema.TypeValue> | (import(\\"json-schema-typed\\").JSONSchema<any, import(\\"json-schema-typed\\").JSONSchema.TypeValue>[] | readonly import(\\"json-schema-typed\\").JSONSchema<any, import(\\"json-schema-typed\\").JSONSchema.TypeValue>[]) | undefined;\\n properties?: Record<string, import(\\"json-schema-typed\\").JSONSchema<any, import(\\"json-schema-typed\\").JSONSchema.TypeValue>> | undefined;\\n propertyNames?: import(\\"json-schema-typed\\").JSONSchema<any, import(\\"json-schema-typed\\").JSONSchema.TypeValue> | undefined;\\n readOnly?: boolean | undefined;\\n required?: (string[] | readonly string[]) | undefined;\\n then?: import(\\"json-schema-typed\\").JSONSchema<any, import(\\"json-schema-typed\\").JSONSchema.TypeValue> | undefined;\\n title?: string | undefined;\\n type?: import(\\"json-schema-typed\\").JSONSchema.TypeValue | undefined;\\n unevaluatedItems?: import(\\"json-schema-typed\\").JSONSchema<any, import(\\"json-schema-typed\\").JSONSchema.TypeValue> | undefined;\\n unevaluatedProperties?: import(\\"json-schema-typed\\").JSONSchema<any, import(\\"json-schema-typed\\").JSONSchema.TypeValue> | undefined;\\n uniqueItems?: boolean | undefined;\\n writeOnly?: boolean | undefined;\\n };\\n};\\n//# sourceMappingURL=schemas.d.ts.map"},{"filePath":"src/dereference/cursor.ts","text":"import type { Machine } from \\"../machine.js\\";\\nimport type { Cursor } from \\"../cursor.js\\";\\nimport { read } from \\"../read.js\\";\\n\\nexport function createCursor(\\n simpleCursor: (state: Machine.State) => AsyncIterable<Cursor.Region>\\n): Cursor {\\n return {\\n async view(state: Machine.State) {\\n const list = [];\\n for await (const region of simpleCursor(state)) {\\n list.push(region);\\n }\\n\\n const named: { [name: string]: Cursor.Region[] } = {};\\n const current: { [name: string]: Cursor.Region } = {};\\n\\n const propertyFlags = {\\n writable: false,\\n enumerable: false,\\n configurable: false\\n } as const;\\n\\n const regions: Cursor.Regions = Object.create(Array.prototype, {\\n length: {\\n value: list.length,\\n ...propertyFlags\\n }\\n });\\n\\n for (const [index, region] of list.entries()) {\\n Object.defineProperty(regions, index, {\\n value: region,\\n ...propertyFlags,\\n enumerable: true,\\n });\\n\\n if (typeof region.name === \\"string\\") {\\n if (!(region.name in named)) {\\n named[region.name] = [];\\n }\\n named[region.name].push(region);\\n current[region.name] = region;\\n }\\n }\\n\\n for (const [name, region] of Object.entries(current)) {\\n Object.defineProperty(regions, name, {\\n value: region,\\n ...propertyFlags\\n });\\n }\\n\\n Object.defineProperties(regions, {\\n named: {\\n value: (name: string) => named[name] || [],\\n ...propertyFlags\\n },\\n lookup: {\\n value: {\\n ...current\\n },\\n ...propertyFlags\\n }\\n });\\n\\n return {\\n regions,\\n async read(region: Cursor.Region) {\\n return await read(region, { state });\\n }\\n };\\n }\\n };\\n}\\n"},{"filePath":"src/dereference/generate.ts","text":"import type { Machine } from \\"../machine.js\\";\\nimport type { Cursor } from \\"../cursor.js\\";\\nimport type { Data } from \\"../data.js\\";\\nimport type { Pointer } from \\"../pointer.js\\";\\n\\nimport { Memo } from \\"./memo.js\\";\\nimport { processPointer, type ProcessOptions } from \\"./process.js\\";\\n\\n/**\\n * Upfront information needed for generating the concrete Cursor.Regions\\n * for a particular pointer at runtime.\\n */\\nexport interface GenerateRegionsOptions {\\n state: Machine.State;\\n initialStackLength: bigint;\\n}\\n\\n/**\\n * Generator function that yields Cursor.Regions for a given Pointer.\\n *\\n * This function maintains an internal stack of memos to evaluate,\\n * initially populating this stack with a single entry for evaluating the\\n * given pointer.\\n */\\nexport async function* generateRegions(\\n pointer: Pointer,\\n generateRegionsOptions: GenerateRegionsOptions\\n): AsyncIterable<Cursor.Region> {\\n const options = await initializeProcessOptions(generateRegionsOptions);\\n\\n // extract records for mutation\\n const {\\n regions,\\n variables\\n } = options;\\n\\n const stack: Memo[] = [Memo.dereferencePointer(pointer)];\\n while (stack.length > 0) {\\n const memo: Memo = stack.pop() as Memo;\\n\\n let memos: Memo[] = [];\\n switch (memo.kind) {\\n case \\"dereference-pointer\\": {\\n memos = yield* processPointer(memo.pointer, options);\\n break;\\n }\\n case \\"save-regions\\": {\\n Object.assign(regions, memo.regions);\\n break;\\n }\\n case \\"save-variables\\": {\\n Object.assign(variables, memo.variables);\\n break;\\n }\\n }\\n\\n // add new memos to the stack in reverse order\\n for (let index = memos.length - 1; index >= 0; index--) {\\n stack.push(memos[index]);\\n }\\n }\\n}\\n\\nasync function initializeProcessOptions({\\n state,\\n initialStackLength\\n}: GenerateRegionsOptions): Promise<ProcessOptions> {\\n const currentStackLength = await state.stack.length;\\n const stackLengthChange = currentStackLength - initialStackLength;\\n\\n const regions: Record<string, Cursor.Region> = {};\\n const variables: Record<string, Data> = {};\\n\\n return {\\n state,\\n stackLengthChange,\\n regions,\\n variables\\n };\\n}\\n"},{"filePath":"src/dereference/index.integration.test.ts","text":"import { jest, expect, describe, it, beforeEach } from \\"@jest/globals\\";\\n\\nimport { describeSchema } from \\"@ethdebug/format\\";\\n\\nimport {\\n loadGanache,\\n machineForProvider,\\n compileCreateBytecode,\\n deployContract,\\n examples\\n} from \\"../../test/index.js\\";\\n\\nimport { Machine, Data, type Pointer, dereference } from \\"../index.js\\";\\n\\nconst { schema: { examples: examplePointers } } = describeSchema({\\n schema: { id: \\"schema:ethdebug/format/pointer\\" }\\n}) as { schema: { examples: Pointer[] } };\\n\\ndescribe(\\"dereference (integration)\\", () => {\\n describe(\\"solidity string storage\\", () => {\\n it(\\"allows dereferencing solidity string storage pointers\\", async () => {\\n const expectedStringValues = [\\n \\"\\",\\n \\"hello world\\",\\n \\"solidity storage is a fun lesson in endianness\\"\\n ];\\n const observedStringValues = [];\\n\\n const pointer: Pointer = examplePointers.find(\\n example => JSON.stringify(example).includes(\\"long-string-length-data\\")\\n )!;\\n\\n // initialize local development blockchain\\n const provider = (await loadGanache()).provider({\\n logging: {\\n quiet: true\\n }\\n });\\n\\n const bytecode = await compileCreateBytecode(examples.stringStorage);\\n const {\\n transactionHash,\\n contractAddress\\n } = await deployContract(bytecode, provider);\\n\\n const machine = machineForProvider(provider, { transactionHash });\\n\\n let cursor = await dereference(pointer);\\n let lastObservedStringValue;\\n for await (const state of machine.trace()) {\\n const { regions, read } = await cursor.view(state);\\n const stringData = Data.fromHex(\\n await regions.named(\\"string\\")\\n .map(read)\\n // HACK concatenate via string representation\\n .map(async data => (await data).toHex().slice(2))\\n .reduce(async (accumulator, data) => {\\n return `${await accumulator}${await data}`;\\n }, Promise.resolve(\\"0x\\"))\\n );\\n\\n const storedString = new TextDecoder().decode(stringData);\\n\\n if (storedString !== lastObservedStringValue) {\\n observedStringValues.push(storedString);\\n lastObservedStringValue = storedString;\\n }\\n }\\n\\n expect(observedStringValues).toEqual(\\n expect.arrayContaining(expectedStringValues)\\n );\\n\\n });\\n });\\n});\\n"},{"filePath":"src/dereference/index.test.ts","text":"import { jest, expect, describe, it, beforeEach } from \\"@jest/globals\\";\\nimport { Machine } from \\"../machine.js\\";\\nimport { Data } from \\"../data.js\\";\\nimport { Pointer } from \\"../pointer.js\\";\\nimport { dereference } from \\"./index.js\\";\\n\\ndescribe(\\"dereference\\", () => {\\n let state: Machine.State;\\n\\n beforeEach(() => {\\n state = {\\n stack: {\\n length: Promise.resolve(10n),\\n peek: jest.fn(async () => Data.fromBytes(new Uint8Array([0x11, 0x22, 0x33, 0x44]))),\\n },\\n memory: {\\n read: jest.fn(async () => Data.fromBytes(new Uint8Array([0x55, 0x66, 0x77, 0x88]))),\\n },\\n storage: {\\n read: jest.fn(async () => Data.fromBytes(new Uint8Array([0xaa, 0xbb, 0xcc, 0xdd]))),\\n },\\n calldata: {\\n read: jest.fn(async () => Data.fromBytes(new Uint8Array([0x11, 0x22, 0x33, 0x44]))),\\n },\\n returndata: {\\n read: jest.fn(async () => Data.fromBytes(new Uint8Array([0x55, 0x66, 0x77, 0x88]))),\\n },\\n transient: {\\n read: jest.fn(async () => Data.fromBytes(new Uint8Array([0xaa, 0xbb, 0xcc, 0xdd]))),\\n },\\n code: {\\n read: jest.fn(async () => Data.fromBytes(new Uint8Array([0x11, 0x22, 0x33, 0x44]))),\\n },\\n } as unknown as Machine.State;\\n });\\n\\n it(\\"works for a single region\\", async () => {\\n const pointer: Pointer = {\\n location: \\"memory\\",\\n offset: {\\n $sum: [0x40, 0x20]\\n },\\n length: 0x20\\n };\\n\\n const cursor = await dereference(pointer);\\n\\n const { regions } = await cursor.view(state);\\n\\n expect(regions).toHaveLength(1);\\n expect(regions[0]).toEqual({\\n location: \\"memory\\",\\n offset: Data.fromNumber(0x60),\\n length: Data.fromNumber(0x20)\\n });\\n });\\n\\n it(\\"works for a group of regions\\", async () => {\\n const pointer: Pointer = {\\n group: [{\\n name: \\"a\\",\\n location: \\"memory\\",\\n offset: {\\n $sum: [0x40, 0x20]\\n },\\n length: 0x20\\n }, {\\n location: \\"memory\\",\\n offset: {\\n $sum: [\\n { \\".offset\\": \\"a\\" },\\n { \\".length\\": \\"a\\" }\\n ]\\n },\\n length: { \\".length\\": \\"a\\" }\\n }]\\n };\\n\\n const cursor = await dereference(pointer);\\n\\n const { regions } = await cursor.view(state);\\n\\n expect(regions).toHaveLength(2);\\n expect(regions.lookup[\\"a\\"]).toEqual({\\n name: \\"a\\",\\n location: \\"memory\\",\\n offset: Data.fromNumber(0x60),\\n length: Data.fromNumber(0x20)\\n });\\n expect(regions[1]).toEqual({\\n location: \\"memory\\",\\n offset: Data.fromNumber(0x80),\\n length: Data.fromNumber(0x20)\\n });\\n });\\n\\n it(\\"works for a list of regions\\", async () => {\\n const pointer: Pointer = {\\n list: {\\n count: 3,\\n each: \\"i\\",\\n is: {\\n name: \\"item\\",\\n location: \\"memory\\",\\n offset: {\\n $product: [\\"i\\", 32],\\n },\\n length: 32\\n },\\n },\\n };\\n\\n const cursor = await dereference(pointer);\\n\\n const { regions } = await cursor.view(state);\\n\\n const itemRegions = regions.named(\\"item\\");\\n expect(itemRegions).toHaveLength(3);\\n\\n for (const [index, region] of itemRegions.entries()) {\\n expect(region).toEqual({\\n name: \\"item\\",\\n location: \\"memory\\",\\n offset: Data.fromUint(\\n Data.fromNumber(index).asUint() * 32n\\n ).padUntilAtLeast(1),\\n length: Data.fromNumber(32),\\n })\\n }\\n });\\n\\n it(\\"allows referencing previous fields by way of $this\\", async () => {\\n const pointer: Pointer = {\\n location: \\"memory\\",\\n offset: 32,\\n length: { \\".offset\\": \\"$this\\" }\\n };\\n\\n const cursor = await dereference(pointer);\\n\\n const { regions } = await cursor.view(state);\\n\\n expect(regions).toHaveLength(1);\\n expect(regions[0]).toEqual({\\n location: \\"memory\\",\\n offset: Data.fromNumber(32),\\n length: Data.fromNumber(32)\\n });\\n });\\n\\n it(\\"allows referencing later fields by way of $this\\", async () => {\\n const pointer: Pointer = {\\n location: \\"memory\\",\\n offset: { \\".length\\": \\"$this\\" },\\n length: 32\\n };\\n\\n const cursor = await dereference(pointer);\\n\\n const { regions } = await cursor.view(state);\\n\\n expect(regions).toHaveLength(1);\\n expect(regions[0]).toEqual({\\n location: \\"memory\\",\\n offset: Data.fromNumber(32),\\n length: Data.fromNumber(32)\\n });\\n });\\n\\n it(\\"allows referencing fields that reference other fields\\", async () => {\\n const pointer: Pointer = {\\n location: \\"storage\\",\\n slot: { \\".offset\\": \\"$this\\" },\\n offset: { \\".length\\": \\"$this\\" },\\n length: 32\\n };\\n\\n const cursor = await dereference(pointer);\\n\\n const { regions } = await cursor.view(state);\\n\\n expect(regions).toHaveLength(1);\\n expect(regions[0]).toEqual({\\n location: \\"storage\\",\\n slot: Data.fromNumber(32),\\n offset: Data.fromNumber(32),\\n length: Data.fromNumber(32)\\n });\\n });\\n\\n it(\\"throws an error on circular reference\\", async () => {\\n const pointer: Pointer = {\\n location: \\"memory\\",\\n offset: { \\".length\\": \\"$this\\" },\\n length: { \\".offset\\": \\"$this\\" },\\n };\\n\\n const cursor = await dereference(pointer);\\n\\n await expect(cursor.view(state)).rejects.toThrow(\\n \\"Circular reference detected: $this.offset\\"\\n );\\n });\\n\\n it(\\"works for conditionals\\", async () => {\\n const pointer: Pointer = {\\n if: {\\n $difference: [5, 5]\\n },\\n then: {\\n name: \\"a\\",\\n location: \\"memory\\",\\n offset: 0,\\n length: 0\\n },\\n else: {\\n name: \\"b\\",\\n location: \\"memory\\",\\n offset: 0,\\n length: 0\\n }\\n };\\n\\n const cursor = await dereference(pointer);\\n\\n const { regions } = await cursor.view(state);\\n\\n expect(regions).toHaveLength(1);\\n expect(regions[0].name).toEqual(\\"b\\");\\n });\\n\\n it(\\"works for scopes\\", async () => {\\n const pointer: Pointer = {\\n define: {\\n \\"example-offset\\": 0,\\n \\"example-length\\": 32\\n },\\n in: {\\n location: \\"memory\\",\\n offset: \\"example-offset\\",\\n length: \\"example-length\\"\\n }\\n };\\n\\n const cursor = await dereference(pointer);\\n\\n const { regions } = await cursor.view(state);\\n\\n expect(regions).toHaveLength(1);\\n expect(regions[0].offset).toEqual(Data.fromNumber(0));\\n expect(regions[0].length).toEqual(Data.fromNumber(32));\\n });\\n});\\n"},{"filePath":"src/dereference/index.ts","text":"import type { Pointer } from \\"../pointer.js\\";\\nimport type { Machine } from \\"../machine.js\\";\\nimport type { Cursor } from \\"../cursor.js\\";\\n\\nimport { generateRegions, type GenerateRegionsOptions } from \\"./generate.js\\";\\nimport { createCursor } from \\"./cursor.js\\";\\n\\nexport interface DereferenceOptions {\\n /*\\n * Initial machine state\\n * Required for any pointers that reference the stack.\\n */\\n state?: Machine.State;\\n}\\n\\n/**\\n * Dereference an ethdebug/format/pointer document into a Cursor object,\\n * which allows inspecting machine state corresponding to the given pointer.\\n *\\n * Note that `options.state` is required if `pointer` contains any stack\\n * regions.\\n */\\nexport async function dereference(\\n pointer: Pointer,\\n dereferenceOptions: DereferenceOptions = {}\\n): Promise<Cursor> {\\n const options = await initializeGenerateRegionsOptions(dereferenceOptions);\\n\\n // use a closure to build a simple Cursor-like interface for accepting\\n // a machine state and producing a collection of regions.\\n const simpleCursor =\\n (state: Machine.State): AsyncIterable<Cursor.Region> => ({\\n async *[Symbol.asyncIterator]() {\\n yield* generateRegions(pointer, { ...options, state });\\n }\\n });\\n\\n return createCursor(simpleCursor);\\n}\\n\\n/**\\n * Convert DereferenceOptions into the specific pieces of information that\\n * `generateRegions()` will potentially need.\\n */\\nasync function initializeGenerateRegionsOptions({\\n state: initialState\\n}: DereferenceOptions): Promise<Omit<GenerateRegionsOptions, \\"state\\">> {\\n const initialStackLength = initialState\\n ? await initialState.stack.length\\n : 0n;\\n\\n return { initialStackLength };\\n}\\n"},{"filePath":"src/dereference/memo.ts","text":"import type { Pointer } from \\"../pointer.js\\";\\nimport type { Cursor } from \\"../cursor.js\\";\\nimport type { Data } from \\"../data.js\\";\\n\\n/**\\n * A single state transition for processing on a stack\\n */\\nexport type Memo =\\n | Memo.DereferencePointer\\n | Memo.SaveRegions\\n | Memo.SaveVariables;\\n\\nexport namespace Memo {\\n /**\\n * A request to dereference a pointer\\n */\\n export interface DereferencePointer {\\n kind: \\"dereference-pointer\\";\\n pointer: Pointer;\\n }\\n\\n /**\\n * Initialize a DereferencePointer memo\\n */\\n export const dereferencePointer =\\n (pointer: Pointer): DereferencePointer => ({\\n kind: \\"dereference-pointer\\",\\n pointer\\n });\\n\\n /**\\n * A request to modify the stateful map of regions by name with a\\n * particular set of new entries.\\n *\\n * This does not indicate that any change should be made to region names not\\n * included in this memo.\\n */\\n export interface SaveRegions {\\n kind: \\"save-regions\\";\\n regions: Record<string, Cursor.Region>;\\n }\\n\\n /**\\n * Initialize a SaveRegions memo\\n */\\n export const saveRegions =\\n (regions: Record<string, Cursor.Region>): SaveRegions => ({\\n kind: \\"save-regions\\",\\n regions\\n });\\n\\n /**\\n * A request to modify the stateful map of variable values with a\\n * particular set of new entries.\\n *\\n * This does not indicate that any change should be made to variables not\\n * included in this memo.\\n */\\n export interface SaveVariables {\\n kind: \\"save-variables\\";\\n variables: Record<string, Data>;\\n }\\n\\n /**\\n * Initialize a SaveVariables memo\\n */\\n export const saveVariables =\\n (variables: Record<string, Data>): SaveVariables => ({\\n kind: \\"save-variables\\",\\n variables\\n });\\n}\\n"},{"filePath":"src/dereference/process.ts","text":"import type { Machine } from \\"../machine.js\\";\\nimport type { Cursor } from \\"../cursor.js\\";\\nimport { Data } from \\"../data.js\\";\\nimport { Pointer } from \\"../pointer.js\\";\\nimport { evaluate } from \\"../evaluate.js\\";\\n\\nimport { Memo } from \\"./memo.js\\";\\nimport { adjustStackLength, evaluateRegion } from \\"./region.js\\";\\n\\n\\n/**\\n * Contextual information for use within a pointer dereference process\\n */\\nexport interface ProcessOptions {\\n state: Machine.State;\\n stackLengthChange: bigint;\\n regions: Record<string, Cursor.Region>;\\n variables: Record<string, Data>;\\n}\\n\\n/**\\n * an generator that yields Cursor regions and returns a list of new memos\\n * to add to the stack\\n */\\nexport type Process = AsyncGenerator<Cursor.Region, Memo[]>;\\n\\n/**\\n * Process a pointer into a yielded list of concrete, evaluated Cursor.Regions\\n * and return a list of new memos to add to the stack for processing next\\n */\\nexport async function* processPointer(\\n pointer: Pointer,\\n options: ProcessOptions\\n): Process {\\n if (Pointer.isRegion(pointer)) {\\n const region = pointer;\\n\\n return yield* processRegion(region, options);\\n }\\n\\n const collection = pointer;\\n\\n if (Pointer.Collection.isGroup(collection)) {\\n return yield* processGroup(collection, options);\\n }\\n\\n if (Pointer.Collection.isList(collection)) {\\n return yield* processList(collection, options);\\n }\\n\\n if (Pointer.Collection.isConditional(collection)) {\\n return yield* processConditional(collection, options);\\n }\\n\\n if (Pointer.Collection.isScope(collection)) {\\n return yield* processScope(collection, options);\\n }\\n\\n console.error(\\"%s\\", JSON.stringify(pointer, undefined, 2));\\n throw new Error(\\"Unexpected unknown kind of pointer\\");\\n}\\n\\nasync function* processRegion(\\n region: Pointer.Region,\\n { stackLengthChange, ...options}: ProcessOptions\\n): Process {\\n const evaluatedRegion = await evaluateRegion(\\n adjustStackLength(region, stackLengthChange),\\n options\\n );\\n\\n yield evaluatedRegion;\\n\\n if (typeof region.name !== \\"undefined\\") {\\n return [Memo.saveRegions({ [region.name]: evaluatedRegion })];\\n }\\n\\n return [];\\n}\\n\\nasync function* processGroup(\\n collection: Pointer.Collection.Group,\\n options: ProcessOptions\\n): Process {\\n const { group } = collection;\\n return group.map(Memo.dereferencePointer);\\n}\\n\\nasync function* processList(\\n collection: Pointer.Collection.List,\\n options: ProcessOptions\\n): Process {\\n const { list } = collection;\\n const { count: countExpression, each, is } = list;\\n\\n const count = (await evaluate(countExpression, options)).asUint();\\n\\n const memos: Memo[] = [];\\n for (let index = 0n; index < count; index++) {\\n memos.push(Memo.saveVariables({\\n [each]: Data.fromUint(index)\\n }));\\n\\n memos.push(Memo.dereferencePointer(is));\\n }\\n\\n return memos;\\n}\\n\\nasync function* processConditional(\\n collection: Pointer.Collection.Conditional,\\n options: ProcessOptions\\n): Process {\\n const { if: ifExpression, then: then_, else: else_ } = collection;\\n\\n const if_ = (await evaluate(ifExpression, options)).asUint();\\n\\n if (if_) {\\n return [Memo.dereferencePointer(then_)];\\n }\\n\\n // otherwise, return the else clause if it exists (it is optional)\\n return else_\\n ? [Memo.dereferencePointer(else_)]\\n : [];\\n}\\n\\nasync function* processScope(\\n collection: Pointer.Collection.Scope,\\n options: ProcessOptions\\n): Process {\\n const { define: variableExpressions, in: in_ } = collection;\\n\\n const allVariables = {\\n ...options.variables\\n };\\n const newVariables: { [identifier: string]: Data } = {};\\n for (const [identifier, expression] of Object.entries(variableExpressions)) {\\n const data = await evaluate(expression, {\\n ...options,\\n variables: allVariables\\n });\\n\\n allVariables[identifier] = data;\\n newVariables[identifier] = data;\\n }\\n\\n return [\\n Memo.saveVariables(newVariables),\\n Memo.dereferencePointer(in_)\\n ];\\n}\\n"},{"filePath":"src/dereference/region.ts","text":"import type { Cursor } from \\"../cursor.js\\";\\nimport type { Data } from \\"../data.js\\";\\nimport { Pointer } from \\"../pointer.js\\";\\nimport { evaluate, type EvaluateOptions } from \\"../evaluate.js\\";\\n\\n/**\\n * Evaluate all Pointer.Expression-value properties on a given region\\n *\\n * Due to the availability of `$this` as a builtin allowable by the schema,\\n * this function evaluates each property as part of a queue. If a property\'s\\n * expression fails to evaluate due to a missing reference, the property is\\n * added to the end of the queue.\\n *\\n * Circular dependencies are detected na\xefvely by counting evaluation attempts\\n * for each property, since the maximum length of a chain of $this references\\n * within a single region is one less than the number of properties that\\n * require evaluation). Exceeding this many attempts indicates circularity.\\n */\\nexport async function evaluateRegion<R extends Pointer.Region>(\\n region: R,\\n options: EvaluateOptions\\n): Promise<Cursor.Region<R>> {\\n const evaluatedProperties: {\\n [K in keyof R]?: Data\\n } = {};\\n const propertyAttempts: {\\n [K in keyof R]?: number\\n } = {};\\n\\n const partialRegion: Cursor.Region<R> = new Proxy(\\n { ...region } as Cursor.Region<R>,\\n {\\n get(target, property) {\\n if (property in evaluatedProperties) {\\n return evaluatedProperties[property as keyof R];\\n }\\n throw new Error(`Property not evaluated yet: $this.${property.toString()}`)\\n },\\n }\\n );\\n\\n const propertiesRequiringEvaluation = [\\"slot\\", \\"offset\\", \\"length\\"] as const;\\n\\n const expressionQueue: [keyof R, Pointer.Expression][] =\\n propertiesRequiringEvaluation\\n .filter(property => property in region)\\n .map(\\n property => [property, region[property as keyof R]]\\n ) as [keyof R, Pointer.Expression][];\\n\\n while (expressionQueue.length > 0) {\\n const [property, expression] = expressionQueue.shift()!;\\n\\n try {\\n const data = await evaluate(expression, {\\n ...options,\\n regions: {\\n ...options.regions,\\n $this: partialRegion,\\n },\\n });\\n\\n evaluatedProperties[property as keyof R] = data;\\n } catch (error) {\\n if (\\n error instanceof Error &&\\n error.message.startsWith(\\"Property not evaluated yet: $this.\\")\\n ) {\\n const attempts = propertyAttempts[property] || 0;\\n // fields may reference each other, but the chain of references\\n // should not exceed the number of fields minus 1\\n if (attempts > propertiesRequiringEvaluation.length - 1) {\\n throw new Error(`Circular reference detected: $this.${property.toString()}`);\\n }\\n\\n propertyAttempts[property] = attempts + 1;\\n expressionQueue.push([property, expression]);\\n } else {\\n throw error;\\n }\\n }\\n }\\n\\n return {\\n ...region,\\n ...evaluatedProperties,\\n } as Cursor.Region<R>;\\n}\\n\\n/**\\n * Detect a stack region and modify its `slot` expression to include the\\n * appropriate sum or difference based on the machine stack length change\\n * since the Cursor was originally created\\n */\\nexport function adjustStackLength<R extends Pointer.Region>(\\n region: R,\\n stackLengthChange: bigint\\n): R {\\n if (Pointer.Region.isStack(region)) {\\n const slot: Pointer.Expression = stackLengthChange === 0n\\n ? region.slot\\n : stackLengthChange > 0n\\n ? { $sum: [region.slot, `\\"0x${stackLengthChange.toString(16)}\\"`] }\\n : { $difference: [region.slot, `\\"0x${-stackLengthChange.toString(16)}\\"`] };\\n\\n return {\\n ...region,\\n slot\\n };\\n }\\n\\n return region;\\n}\\n"}]}}}}}'),i=JSON.parse('{"defaultLocale":"en","locales":["en"],"path":"i18n","currentLocale":"en","localeConfigs":{"en":{"label":"English","direction":"ltr","htmlLang":"en","calendar":"gregory","path":"en"}}}');var s=t(57529);const l=JSON.parse('{"docusaurusVersion":"3.4.0","siteVersion":"0.1.0-0","pluginVersions":{"docusaurus-plugin-content-docs":{"type":"package","name":"@docusaurus/plugin-content-docs","version":"3.4.0"},"docusaurus-plugin-content-blog":{"type":"package","name":"@docusaurus/plugin-content-blog","version":"3.4.0"},"docusaurus-plugin-content-pages":{"type":"package","name":"@docusaurus/plugin-content-pages","version":"3.4.0"},"docusaurus-plugin-sitemap":{"type":"package","name":"@docusaurus/plugin-sitemap","version":"3.4.0"},"docusaurus-theme-classic":{"type":"package","name":"@docusaurus/theme-classic","version":"3.4.0"},"ignore-buffer":{"type":"local"},"project-code-plugin":{"type":"project"},"docusaurus-json-schema-plugin":{"type":"package","name":"docusaurus-json-schema-plugin","version":"1.12.1"},"docusaurus-theme-github-codeblock":{"type":"package","name":"@saucelabs/theme-github-codeblock","version":"0.2.3"}}}');var c=t(52322);const d={siteConfig:o.default,siteMetadata:l,globalData:a,i18n:i,codeTranslations:s},u=r.createContext(d);function p(e){let{children:n}=e;return(0,c.jsx)(u.Provider,{value:d,children:n})}},63951:(e,n,t)=>{"use strict";t.d(n,{Z:()=>y});var r=t(2784),o=t(31263),a=t(69854),i=t(60958),s=t(76266),l=t(71313),c=t(52322);function d(e){let{error:n,tryAgain:t}=e;return(0,c.jsxs)("div",{style:{display:"flex",flexDirection:"column",justifyContent:"center",alignItems:"flex-start",minHeight:"100vh",width:"100%",maxWidth:"80ch",fontSize:"20px",margin:"0 auto",padding:"1rem"},children:[(0,c.jsx)("h1",{style:{fontSize:"3rem"},children:"This page crashed"}),(0,c.jsx)("button",{type:"button",onClick:t,style:{margin:"1rem 0",fontSize:"2rem",cursor:"pointer",borderRadius:20,padding:"1rem"},children:"Try again"}),(0,c.jsx)(u,{error:n})]})}function u(e){let{error:n}=e;const t=(0,i.getErrorCausalChain)(n).map((e=>e.message)).join("\n\nCause:\n");return(0,c.jsx)("p",{style:{whiteSpace:"pre-wrap"},children:t})}function p(e){let{children:n}=e;return(0,c.jsx)(l.z,{value:{plugin:{name:"docusaurus-core-error-boundary",id:"default"}},children:n})}function f(e){let{error:n,tryAgain:t}=e;return(0,c.jsx)(p,{children:(0,c.jsxs)(y,{fallback:()=>(0,c.jsx)(d,{error:n,tryAgain:t}),children:[(0,c.jsx)(a.Z,{children:(0,c.jsx)("title",{children:"Page Error"})}),(0,c.jsx)(s.Z,{children:(0,c.jsx)(d,{error:n,tryAgain:t})})]})})}const m=e=>(0,c.jsx)(f,{...e});class y extends r.Component{constructor(e){super(e),this.state={error:null}}componentDidCatch(e){o.Z.canUseDOM&&this.setState({error:e})}render(){const{children:e}=this.props,{error:n}=this.state;if(n){const e={error:n,tryAgain:()=>this.setState({error:null})};return(this.props.fallback??m)(e)}return e??null}}},31263:(e,n,t)=>{"use strict";t.d(n,{Z:()=>o});const r="undefined"!=typeof window&&"document"in window&&"createElement"in window.document,o={canUseDOM:r,canUseEventListeners:r&&("addEventListener"in window||"attachEvent"in window),canUseIntersectionObserver:r&&"IntersectionObserver"in window,canUseViewport:r&&"screen"in window}},69854:(e,n,t)=>{"use strict";t.d(n,{Z:()=>a});t(2784);var r=t(72175),o=t(52322);function a(e){return(0,o.jsx)(r.ql,{...e})}},27718:(e,n,t)=>{"use strict";t.d(n,{Z:()=>f});var r=t(2784),o=t(47933),a=t(60958),i=t(37614),s=t(71344),l=t(31263),c=t(42530),d=t(90077),u=t(52322);function p(e,n){let{isNavLink:t,to:p,href:f,activeClassName:m,isActive:y,"data-noBrokenLinkCheck":h,autoAddBaseUrl:g=!0,...b}=e;const{siteConfig:v}=(0,i.Z)(),{trailingSlash:x,baseUrl:w}=v,k=v.future.experimental_router,{withBaseUrl:S}=(0,d.Cg)(),E=(0,c.Z)(),C=(0,r.useRef)(null);(0,r.useImperativeHandle)(n,(()=>C.current));const _=p||f;const P=(0,s.Z)(_),j=_?.replace("pathname://","");let T=void 0!==j?($=j,g&&(e=>e.startsWith("/"))($)?S($):$):void 0;var $;"hash"===k&&T?.startsWith("./")&&(T=T?.slice(1)),T&&P&&(T=(0,a.applyTrailingSlash)(T,{trailingSlash:x,baseUrl:w}));const O=(0,r.useRef)(!1),R=t?o.OL:o.rU,N=l.Z.canUseIntersectionObserver,A=(0,r.useRef)(),L=()=>{O.current||null==T||(window.docusaurus.preload(T),O.current=!0)};(0,r.useEffect)((()=>(!N&&P&&null!=T&&window.docusaurus.prefetch(T),()=>{N&&A.current&&A.current.disconnect()})),[A,T,N,P]);const D=T?.startsWith("#")??!1,I=!b.target||"_self"===b.target,M=!T||!P||!I;return h||!D&&M||E.collectLink(T),b.id&&E.collectAnchor(b.id),M?(0,u.jsx)("a",{ref:C,href:T,..._&&!P&&{target:"_blank",rel:"noopener noreferrer"},...b}):(0,u.jsx)(R,{...b,onMouseEnter:L,onTouchStart:L,innerRef:e=>{C.current=e,N&&e&&P&&(A.current=new window.IntersectionObserver((n=>{n.forEach((n=>{e===n.target&&(n.isIntersecting||n.intersectionRatio>0)&&(A.current.unobserve(e),A.current.disconnect(),null!=T&&window.docusaurus.prefetch(T))}))})),A.current.observe(e))},to:T,...t&&{isActive:y,activeClassName:m}})}const f=r.forwardRef(p)},15594:(e,n,t)=>{"use strict";t.d(n,{Z:()=>r});const r=()=>null},1077:(e,n,t)=>{"use strict";t.r(n),t.d(n,{default:()=>c,translate:()=>l});var r=t(2784),o=t(52322);function a(e,n){const t=e.split(/(\{\w+\})/).map(((e,t)=>{if(t%2==1){const t=n?.[e.slice(1,-1)];if(void 0!==t)return t}return e}));return t.some((e=>(0,r.isValidElement)(e)))?t.map(((e,n)=>(0,r.isValidElement)(e)?r.cloneElement(e,{key:n}):e)).filter((e=>""!==e)):t.join("")}var i=t(57529);function s(e){let{id:n,message:t}=e;if(void 0===n&&void 0===t)throw new Error("Docusaurus translation declarations must have at least a translation id or a default translation message");return i[n??t]??t??n}function l(e,n){let{message:t,id:r}=e;return a(s({message:t,id:r}),n)}function c(e){let{children:n,id:t,values:r}=e;if(n&&"string"!=typeof n)throw console.warn("Illegal <Translate> children",n),new Error("The Docusaurus <Translate> component only accept simple string values");const i=s({message:n,id:t});return(0,o.jsx)(o.Fragment,{children:a(i,r)})}},78183:(e,n,t)=>{"use strict";t.d(n,{m:()=>r});const r="default"},71344:(e,n,t)=>{"use strict";function r(e){return/^(?:\w*:|\/\/)/.test(e)}function o(e){return void 0!==e&&!r(e)}t.d(n,{Z:()=>o,b:()=>r})},90077:(e,n,t)=>{"use strict";t.d(n,{Cg:()=>i,ZP:()=>s});var r=t(2784),o=t(37614),a=t(71344);function i(){const{siteConfig:e}=(0,o.Z)(),{baseUrl:n,url:t}=e,i=e.future.experimental_router,s=(0,r.useCallback)(((e,r)=>function(e){let{siteUrl:n,baseUrl:t,url:r,options:{forcePrependBaseUrl:o=!1,absolute:i=!1}={},router:s}=e;if(!r||r.startsWith("#")||(0,a.b)(r))return r;if("hash"===s)return r.startsWith("/")?`.${r}`:`./${r}`;if(o)return t+r.replace(/^\//,"");if(r===t.replace(/\/$/,""))return t;const l=r.startsWith(t)?r:t+r.replace(/^\//,"");return i?n+l:l}({siteUrl:t,baseUrl:n,url:e,options:r,router:i})),[t,n,i]);return{withBaseUrl:s}}function s(e,n){void 0===n&&(n={});const{withBaseUrl:t}=i();return t(e,n)}},42530:(e,n,t)=>{"use strict";t.d(n,{Z:()=>i});var r=t(2784);t(52322);const o=r.createContext({collectAnchor:()=>{},collectLink:()=>{}}),a=()=>(0,r.useContext)(o);function i(){return a()}},37614:(e,n,t)=>{"use strict";t.d(n,{Z:()=>a});var r=t(2784),o=t(16288);function a(){return(0,r.useContext)(o._)}},42408:(e,n,t)=>{"use strict";t.d(n,{OD:()=>a,eZ:()=>i});var r=t(37614),o=t(78183);function a(e,n){void 0===n&&(n={});const t=function(){const{globalData:e}=(0,r.Z)();return e}()[e];if(!t&&n.failfast)throw new Error(`Docusaurus plugin global data not found for "${e}" plugin.`);return t}function i(e,n,t){void 0===n&&(n=o.m),void 0===t&&(t={});const r=a(e),i=r?.[n];if(!i&&t.failfast)throw new Error(`Docusaurus plugin global data not found for "${e}" plugin with id "${n}".`);return i}},89741:(e,n,t)=>{"use strict";t.d(n,{Z:()=>a});var r=t(2784),o=t(60108);function a(){return(0,r.useContext)(o._)}},70164:(e,n,t)=>{"use strict";t.d(n,{Z:()=>o});var r=t(2784);const o=t(31263).Z.canUseDOM?r.useLayoutEffect:r.useEffect},20805:(e,n,t)=>{"use strict";t.d(n,{Z:()=>o});const r=e=>"object"==typeof e&&!!e&&Object.keys(e).length>0;function o(e){const n={};return function e(t,o){Object.entries(t).forEach((t=>{let[a,i]=t;const s=o?`${o}.${a}`:a;r(i)?e(i,s):n[s]=i}))}(e),n}},71313:(e,n,t)=>{"use strict";t.d(n,{_:()=>a,z:()=>i});var r=t(2784),o=t(52322);const a=r.createContext(null);function i(e){let{children:n,value:t}=e;const i=r.useContext(a),s=(0,r.useMemo)((()=>function(e){let{parent:n,value:t}=e;if(!n){if(!t)throw new Error("Unexpected: no Docusaurus route context found");if(!("plugin"in t))throw new Error("Unexpected: Docusaurus topmost route context has no `plugin` attribute");return t}const r={...n.data,...t?.data};return{plugin:n.plugin,data:r}}({parent:i,value:t})),[i,t]);return(0,o.jsx)(a.Provider,{value:s,children:n})}},27415:(e,n,t)=>{"use strict";t.d(n,{Iw:()=>f,gA:()=>d,_r:()=>l,Jo:()=>m,zh:()=>c,yW:()=>p,gB:()=>u});var r=t(7267),o=t(42408);const a=e=>e.versions.find((e=>e.isLast));function i(e,n){const t=function(e,n){const t=a(e);return[...e.versions.filter((e=>e!==t)),t].find((e=>!!(0,r.LX)(n,{path:e.path,exact:!1,strict:!1})))}(e,n),o=t?.docs.find((e=>!!(0,r.LX)(n,{path:e.path,exact:!0,strict:!1})));return{activeVersion:t,activeDoc:o,alternateDocVersions:o?function(n){const t={};return e.versions.forEach((e=>{e.docs.forEach((r=>{r.id===n&&(t[e.name]=r)}))})),t}(o.id):{}}}const s={},l=()=>(0,o.OD)("docusaurus-plugin-content-docs")??s,c=e=>{try{return(0,o.eZ)("docusaurus-plugin-content-docs",e,{failfast:!0})}catch(n){throw new Error("You are using a feature of the Docusaurus docs plugin, but this plugin does not seem to be enabled"+("Default"===e?"":` (pluginId=${e}`),{cause:n})}};function d(e){void 0===e&&(e={});const n=l(),{pathname:t}=(0,r.TH)();return function(e,n,t){void 0===t&&(t={});const o=Object.entries(e).sort(((e,n)=>n[1].path.localeCompare(e[1].path))).find((e=>{let[,t]=e;return!!(0,r.LX)(n,{path:t.path,exact:!1,strict:!1})})),a=o?{pluginId:o[0],pluginData:o[1]}:void 0;if(!a&&t.failfast)throw new Error(`Can't find active docs plugin for "${n}" pathname, while it was expected to be found. Maybe you tried to use a docs feature that can only be used on a docs-related page? Existing docs plugin paths are: ${Object.values(e).map((e=>e.path)).join(", ")}`);return a}(n,t,e)}function u(e){return c(e).versions}function p(e){const n=c(e);return a(n)}function f(e){const n=c(e),{pathname:t}=(0,r.TH)();return i(n,t)}function m(e){const n=c(e),{pathname:t}=(0,r.TH)();return function(e,n){const t=a(e);return{latestDocSuggestion:i(e,n).alternateDocVersions[t.name],latestVersionSuggestion:t}}(n,t)}},80401:(e,n,t)=>{"use strict";t.r(n),t.d(n,{default:()=>a});var r=t(92521),o=t.n(r);o().configure({showSpinner:!1});const a={onRouteUpdate(e){let{location:n,previousLocation:t}=e;if(t&&n.pathname!==t.pathname){const e=window.setTimeout((()=>{o().start()}),200);return()=>window.clearTimeout(e)}},onRouteDidUpdate(){o().done()}}},86120:(e,n,t)=>{"use strict";t.r(n);var r=t(16935),o=t(36809);!function(e){const{themeConfig:{prism:n}}=o.default,{additionalLanguages:r}=n;globalThis.Prism=e,r.forEach((e=>{"php"===e&&t(23502),t(97861)(`./prism-${e}`)})),delete globalThis.Prism}(r.p1)},83851:(e,n,t)=>{"use strict";t.d(n,{Z:()=>d});t(2784);var r=t(40489),o=t(1077),a=t(97683),i=t(27718),s=t(42530);const l={anchorWithStickyNavbar:"anchorWithStickyNavbar_fF9Z",anchorWithHideOnScrollNavbar:"anchorWithHideOnScrollNavbar_Yh18"};var c=t(52322);function d(e){let{as:n,id:t,...d}=e;const u=(0,s.Z)(),{navbar:{hideOnScroll:p}}=(0,a.L)();if("h1"===n||!t)return(0,c.jsx)(n,{...d,id:void 0});u.collectAnchor(t);const f=(0,o.translate)({id:"theme.common.headingLinkTitle",message:"Direct link to {heading}",description:"Title for link to heading"},{heading:"string"==typeof d.children?d.children:t});return(0,c.jsxs)(n,{...d,className:(0,r.Z)("anchor",p?l.anchorWithHideOnScrollNavbar:l.anchorWithStickyNavbar,d.className),id:t,children:[d.children,(0,c.jsx)(i.Z,{className:"hash-link",to:`#${t}`,"aria-label":f,title:f,children:"\u200b"})]})}},74442:(e,n,t)=>{"use strict";t.d(n,{Z:()=>a});t(2784);const r={iconExternalLink:"iconExternalLink_awgD"};var o=t(52322);function a(e){let{width:n=13.5,height:t=13.5}=e;return(0,o.jsx)("svg",{width:n,height:t,"aria-hidden":"true",viewBox:"0 0 24 24",className:r.iconExternalLink,children:(0,o.jsx)("path",{fill:"currentColor",d:"M21 13v10h-21v-19h12v2h-10v15h17v-8h2zm3-12h-10.988l4.035 4-6.977 7.07 2.828 2.828 6.977-7.07 4.125 4.172v-11z"})})}},76266:(e,n,t)=>{"use strict";t.d(n,{Z:()=>mn});var r=t(2784),o=t(40489),a=t(63951),i=t(50328),s=t(7267),l=t(1077),c=t(12105),d=t(52322);const u="__docusaurus_skipToContent_fallback";function p(e){e.setAttribute("tabindex","-1"),e.focus(),e.removeAttribute("tabindex")}function f(){const e=(0,r.useRef)(null),{action:n}=(0,s.k6)(),t=(0,r.useCallback)((e=>{e.preventDefault();const n=document.querySelector("main:first-of-type")??document.getElementById(u);n&&p(n)}),[]);return(0,c.S)((t=>{let{location:r}=t;e.current&&!r.hash&&"PUSH"===n&&p(e.current)})),{containerRef:e,onClick:t}}const m=(0,l.translate)({id:"theme.common.skipToMainContent",description:"The skip to content label used for accessibility, allowing to rapidly navigate to main content with keyboard tab/enter navigation",message:"Skip to main content"});function y(e){const n=e.children??m,{containerRef:t,onClick:r}=f();return(0,d.jsx)("div",{ref:t,role:"region","aria-label":m,children:(0,d.jsx)("a",{...e,href:`#${u}`,onClick:r,children:n})})}var h=t(90211),g=t(9499);const b={skipToContent:"skipToContent_G6ar"};function v(){return(0,d.jsx)(y,{className:b.skipToContent})}var x=t(97683),w=t(13717);function k(e){let{width:n=21,height:t=21,color:r="currentColor",strokeWidth:o=1.2,className:a,...i}=e;return(0,d.jsx)("svg",{viewBox:"0 0 15 15",width:n,height:t,...i,children:(0,d.jsx)("g",{stroke:r,strokeWidth:o,children:(0,d.jsx)("path",{d:"M.75.75l13.5 13.5M14.25.75L.75 14.25"})})})}const S={closeButton:"closeButton_rfix"};function E(e){return(0,d.jsx)("button",{type:"button","aria-label":(0,l.translate)({id:"theme.AnnouncementBar.closeButtonAriaLabel",message:"Close",description:"The ARIA label for close button of announcement bar"}),...e,className:(0,o.Z)("clean-btn close",S.closeButton,e.className),children:(0,d.jsx)(k,{width:14,height:14,strokeWidth:3.1})})}const C={content:"content_L1uV"};function _(e){const{announcementBar:n}=(0,x.L)(),{content:t}=n;return(0,d.jsx)("div",{...e,className:(0,o.Z)(C.content,e.className),dangerouslySetInnerHTML:{__html:t}})}const P={announcementBar:"announcementBar_ncOr",announcementBarPlaceholder:"announcementBarPlaceholder_ajMw",announcementBarClose:"announcementBarClose_c9u4",announcementBarContent:"announcementBarContent__57G"};function j(){const{announcementBar:e}=(0,x.L)(),{isActive:n,close:t}=(0,w.n)();if(!n)return null;const{backgroundColor:r,textColor:o,isCloseable:a}=e;return(0,d.jsxs)("div",{className:P.announcementBar,style:{backgroundColor:r,color:o},role:"banner",children:[a&&(0,d.jsx)("div",{className:P.announcementBarPlaceholder}),(0,d.jsx)(_,{className:P.announcementBarContent}),a&&(0,d.jsx)(E,{onClick:t,className:P.announcementBarClose})]})}var T=t(54313),$=t(24126);var O=t(6335),R=t(47548);const N=r.createContext(null);function A(e){let{children:n}=e;const t=function(){const e=(0,T.e)(),n=(0,R.HY)(),[t,o]=(0,r.useState)(!1),a=null!==n.component,i=(0,O.D9)(a);return(0,r.useEffect)((()=>{a&&!i&&o(!0)}),[a,i]),(0,r.useEffect)((()=>{a?e.shown||o(!0):o(!1)}),[e.shown,a]),(0,r.useMemo)((()=>[t,o]),[t])}();return(0,d.jsx)(N.Provider,{value:t,children:n})}function L(e){if(e.component){const n=e.component;return(0,d.jsx)(n,{...e.props})}}function D(){const e=(0,r.useContext)(N);if(!e)throw new O.i6("NavbarSecondaryMenuDisplayProvider");const[n,t]=e,o=(0,r.useCallback)((()=>t(!1)),[t]),a=(0,R.HY)();return(0,r.useMemo)((()=>({shown:n,hide:o,content:L(a)})),[o,a,n])}function I(e){let{header:n,primaryMenu:t,secondaryMenu:r}=e;const{shown:a}=D();return(0,d.jsxs)("div",{className:"navbar-sidebar",children:[n,(0,d.jsxs)("div",{className:(0,o.Z)("navbar-sidebar__items",{"navbar-sidebar__items--show-secondary":a}),children:[(0,d.jsx)("div",{className:"navbar-sidebar__item menu",children:t}),(0,d.jsx)("div",{className:"navbar-sidebar__item menu",children:r})]})]})}var M=t(60361),F=t(89741);function z(e){return(0,d.jsx)("svg",{viewBox:"0 0 24 24",width:24,height:24,...e,children:(0,d.jsx)("path",{fill:"currentColor",d:"M12,9c1.65,0,3,1.35,3,3s-1.35,3-3,3s-3-1.35-3-3S10.35,9,12,9 M12,7c-2.76,0-5,2.24-5,5s2.24,5,5,5s5-2.24,5-5 S14.76,7,12,7L12,7z M2,13l2,0c0.55,0,1-0.45,1-1s-0.45-1-1-1l-2,0c-0.55,0-1,0.45-1,1S1.45,13,2,13z M20,13l2,0c0.55,0,1-0.45,1-1 s-0.45-1-1-1l-2,0c-0.55,0-1,0.45-1,1S19.45,13,20,13z M11,2v2c0,0.55,0.45,1,1,1s1-0.45,1-1V2c0-0.55-0.45-1-1-1S11,1.45,11,2z M11,20v2c0,0.55,0.45,1,1,1s1-0.45,1-1v-2c0-0.55-0.45-1-1-1C11.45,19,11,19.45,11,20z M5.99,4.58c-0.39-0.39-1.03-0.39-1.41,0 c-0.39,0.39-0.39,1.03,0,1.41l1.06,1.06c0.39,0.39,1.03,0.39,1.41,0s0.39-1.03,0-1.41L5.99,4.58z M18.36,16.95 c-0.39-0.39-1.03-0.39-1.41,0c-0.39,0.39-0.39,1.03,0,1.41l1.06,1.06c0.39,0.39,1.03,0.39,1.41,0c0.39-0.39,0.39-1.03,0-1.41 L18.36,16.95z M19.42,5.99c0.39-0.39,0.39-1.03,0-1.41c-0.39-0.39-1.03-0.39-1.41,0l-1.06,1.06c-0.39,0.39-0.39,1.03,0,1.41 s1.03,0.39,1.41,0L19.42,5.99z M7.05,18.36c0.39-0.39,0.39-1.03,0-1.41c-0.39-0.39-1.03-0.39-1.41,0l-1.06,1.06 c-0.39,0.39-0.39,1.03,0,1.41s1.03,0.39,1.41,0L7.05,18.36z"})})}function B(e){return(0,d.jsx)("svg",{viewBox:"0 0 24 24",width:24,height:24,...e,children:(0,d.jsx)("path",{fill:"currentColor",d:"M9.37,5.51C9.19,6.15,9.1,6.82,9.1,7.5c0,4.08,3.32,7.4,7.4,7.4c0.68,0,1.35-0.09,1.99-0.27C17.45,17.19,14.93,19,12,19 c-3.86,0-7-3.14-7-7C5,9.07,6.81,6.55,9.37,5.51z M12,3c-4.97,0-9,4.03-9,9s4.03,9,9,9s9-4.03,9-9c0-0.46-0.04-0.92-0.1-1.36 c-0.98,1.37-2.58,2.26-4.4,2.26c-2.98,0-5.4-2.42-5.4-5.4c0-1.81,0.89-3.42,2.26-4.4C12.92,3.04,12.46,3,12,3L12,3z"})})}const U={toggle:"toggle_OLSw",toggleButton:"toggleButton_wYmb",darkToggleIcon:"darkToggleIcon_Yem1",lightToggleIcon:"lightToggleIcon_Sxwe",toggleButtonDisabled:"toggleButtonDisabled_vaDU"};function H(e){let{className:n,buttonClassName:t,value:r,onChange:a}=e;const i=(0,F.Z)(),s=(0,l.translate)({message:"Switch between dark and light mode (currently {mode})",id:"theme.colorToggle.ariaLabel",description:"The ARIA label for the navbar color mode toggle"},{mode:"dark"===r?(0,l.translate)({message:"dark mode",id:"theme.colorToggle.ariaLabel.mode.dark",description:"The name for the dark color mode"}):(0,l.translate)({message:"light mode",id:"theme.colorToggle.ariaLabel.mode.light",description:"The name for the light color mode"})});return(0,d.jsx)("div",{className:(0,o.Z)(U.toggle,n),children:(0,d.jsxs)("button",{className:(0,o.Z)("clean-btn",U.toggleButton,!i&&U.toggleButtonDisabled,t),type:"button",onClick:()=>a("dark"===r?"light":"dark"),disabled:!i,title:s,"aria-label":s,"aria-live":"polite",children:[(0,d.jsx)(z,{className:(0,o.Z)(U.toggleIcon,U.lightToggleIcon)}),(0,d.jsx)(B,{className:(0,o.Z)(U.toggleIcon,U.darkToggleIcon)})]})})}const q=r.memo(H),V={darkNavbarColorModeToggle:"darkNavbarColorModeToggle_wZ1H"};function Z(e){let{className:n}=e;const t=(0,x.L)().navbar.style,r=(0,x.L)().colorMode.disableSwitch,{colorMode:o,setColorMode:a}=(0,M.I)();return r?null:(0,d.jsx)(q,{className:n,buttonClassName:"dark"===t?V.darkNavbarColorModeToggle:void 0,value:o,onChange:a})}var W=t(51881);function G(){return(0,d.jsx)(W.Z,{className:"navbar__brand",imageClassName:"navbar__logo",titleClassName:"navbar__title text--truncate"})}function K(){const e=(0,T.e)();return(0,d.jsx)("button",{type:"button","aria-label":(0,l.translate)({id:"theme.docs.sidebar.closeSidebarButtonAriaLabel",message:"Close navigation bar",description:"The ARIA label for close button of mobile sidebar"}),className:"clean-btn navbar-sidebar__close",onClick:()=>e.toggle(),children:(0,d.jsx)(k,{color:"var(--ifm-color-emphasis-600)"})})}function Y(){return(0,d.jsxs)("div",{className:"navbar-sidebar__brand",children:[(0,d.jsx)(G,{}),(0,d.jsx)(Z,{className:"margin-right--md"}),(0,d.jsx)(K,{})]})}var Q=t(27718),J=t(90077),X=t(71344);function ee(e,n){return void 0!==e&&void 0!==n&&new RegExp(e,"gi").test(n)}var ne=t(74442);function te(e){let{activeBasePath:n,activeBaseRegex:t,to:r,href:o,label:a,html:i,isDropdownLink:s,prependBaseUrlToHref:l,...c}=e;const u=(0,J.ZP)(r),p=(0,J.ZP)(n),f=(0,J.ZP)(o,{forcePrependBaseUrl:!0}),m=a&&o&&!(0,X.Z)(o),y=i?{dangerouslySetInnerHTML:{__html:i}}:{children:(0,d.jsxs)(d.Fragment,{children:[a,m&&(0,d.jsx)(ne.Z,{...s&&{width:12,height:12}})]})};return o?(0,d.jsx)(Q.Z,{href:l?f:o,...c,...y}):(0,d.jsx)(Q.Z,{to:u,isNavLink:!0,...(n||t)&&{isActive:(e,n)=>t?ee(t,n.pathname):n.pathname.startsWith(p)},...c,...y})}function re(e){let{className:n,isDropdownItem:t=!1,...r}=e;const a=(0,d.jsx)(te,{className:(0,o.Z)(t?"dropdown__link":"navbar__item navbar__link",n),isDropdownLink:t,...r});return t?(0,d.jsx)("li",{children:a}):a}function oe(e){let{className:n,isDropdownItem:t,...r}=e;return(0,d.jsx)("li",{className:"menu__list-item",children:(0,d.jsx)(te,{className:(0,o.Z)("menu__link",n),...r})})}function ae(e){let{mobile:n=!1,position:t,...r}=e;const o=n?oe:re;return(0,d.jsx)(o,{...r,activeClassName:r.activeClassName??(n?"menu__link--active":"navbar__link--active")})}var ie=t(28698),se=t(87661),le=t(37614);const ce={dropdownNavbarItemMobile:"dropdownNavbarItemMobile_yXZl"};function de(e,n){return e.some((e=>function(e,n){return!!(0,se.Mg)(e.to,n)||!!ee(e.activeBaseRegex,n)||!(!e.activeBasePath||!n.startsWith(e.activeBasePath))}(e,n)))}function ue(e){let{items:n,position:t,className:a,onClick:i,...s}=e;const l=(0,r.useRef)(null),[c,u]=(0,r.useState)(!1);return(0,r.useEffect)((()=>{const e=e=>{l.current&&!l.current.contains(e.target)&&u(!1)};return document.addEventListener("mousedown",e),document.addEventListener("touchstart",e),document.addEventListener("focusin",e),()=>{document.removeEventListener("mousedown",e),document.removeEventListener("touchstart",e),document.removeEventListener("focusin",e)}}),[l]),(0,d.jsxs)("div",{ref:l,className:(0,o.Z)("navbar__item","dropdown","dropdown--hoverable",{"dropdown--right":"right"===t,"dropdown--show":c}),children:[(0,d.jsx)(te,{"aria-haspopup":"true","aria-expanded":c,role:"button",href:s.to?void 0:"#",className:(0,o.Z)("navbar__link",a),...s,onClick:s.to?void 0:e=>e.preventDefault(),onKeyDown:e=>{"Enter"===e.key&&(e.preventDefault(),u(!c))},children:s.children??s.label}),(0,d.jsx)("ul",{className:"dropdown__menu",children:n.map(((e,n)=>(0,r.createElement)(Ce,{isDropdownItem:!0,activeClassName:"dropdown__link--active",...e,key:n})))})]})}function pe(e){let{items:n,className:t,position:a,onClick:i,...l}=e;const c=function(){const{siteConfig:{baseUrl:e}}=(0,le.Z)(),{pathname:n}=(0,s.TH)();return n.replace(e,"/")}(),u=de(n,c),{collapsed:p,toggleCollapsed:f,setCollapsed:m}=(0,ie.u)({initialState:()=>!u});return(0,r.useEffect)((()=>{u&&m(!u)}),[c,u,m]),(0,d.jsxs)("li",{className:(0,o.Z)("menu__list-item",{"menu__list-item--collapsed":p}),children:[(0,d.jsx)(te,{role:"button",className:(0,o.Z)(ce.dropdownNavbarItemMobile,"menu__link menu__link--sublist menu__link--sublist-caret",t),...l,onClick:e=>{e.preventDefault(),f()},children:l.children??l.label}),(0,d.jsx)(ie.z,{lazy:!0,as:"ul",className:"menu__list",collapsed:p,children:n.map(((e,n)=>(0,r.createElement)(Ce,{mobile:!0,isDropdownItem:!0,onClick:i,activeClassName:"menu__link--active",...e,key:n})))})]})}function fe(e){let{mobile:n=!1,...t}=e;const r=n?pe:ue;return(0,d.jsx)(r,{...t})}var me=t(55552);function ye(e){let{width:n=20,height:t=20,...r}=e;return(0,d.jsx)("svg",{viewBox:"0 0 24 24",width:n,height:t,"aria-hidden":!0,...r,children:(0,d.jsx)("path",{fill:"currentColor",d:"M12.87 15.07l-2.54-2.51.03-.03c1.74-1.94 2.98-4.17 3.71-6.53H17V4h-7V2H8v2H1v1.99h11.17C11.5 7.92 10.44 9.75 9 11.35 8.07 10.32 7.3 9.19 6.69 8h-2c.73 1.63 1.73 3.17 2.98 4.56l-5.09 5.02L4 19l5-5 3.11 3.11.76-2.04zM18.5 10h-2L12 22h2l1.12-3h4.75L21 22h2l-4.5-12zm-2.62 7l1.62-4.33L19.12 17h-3.24z"})})}const he="iconLanguage_xrmG";var ge=t(15594);const be={navbarSearchContainer:"navbarSearchContainer_bmvg"};function ve(e){let{children:n,className:t}=e;return(0,d.jsx)("div",{className:(0,o.Z)(t,be.navbarSearchContainer),children:n})}var xe=t(27415),we=t(38350);var ke=t(37949);const Se=e=>e.docs.find((n=>n.id===e.mainDocId));const Ee={default:ae,localeDropdown:function(e){let{mobile:n,dropdownItemsBefore:t,dropdownItemsAfter:r,queryString:o="",...a}=e;const{i18n:{currentLocale:i,locales:c,localeConfigs:u}}=(0,le.Z)(),p=(0,me.l)(),{search:f,hash:m}=(0,s.TH)(),y=[...t,...c.map((e=>{const t=`${`pathname://${p.createUrl({locale:e,fullyQualified:!1})}`}${f}${m}${o}`;return{label:u[e].label,lang:u[e].htmlLang,to:t,target:"_self",autoAddBaseUrl:!1,className:e===i?n?"menu__link--active":"dropdown__link--active":""}})),...r],h=n?(0,l.translate)({message:"Languages",id:"theme.navbar.mobileLanguageDropdown.label",description:"The label for the mobile language switcher dropdown"}):u[i].label;return(0,d.jsx)(fe,{...a,mobile:n,label:(0,d.jsxs)(d.Fragment,{children:[(0,d.jsx)(ye,{className:he}),h]}),items:y})},search:function(e){let{mobile:n,className:t}=e;return n?null:(0,d.jsx)(ve,{className:t,children:(0,d.jsx)(ge.Z,{})})},dropdown:fe,html:function(e){let{value:n,className:t,mobile:r=!1,isDropdownItem:a=!1}=e;const i=a?"li":"div";return(0,d.jsx)(i,{className:(0,o.Z)({navbar__item:!r&&!a,"menu__list-item":r},t),dangerouslySetInnerHTML:{__html:n}})},doc:function(e){let{docId:n,label:t,docsPluginId:r,...o}=e;const{activeDoc:a}=(0,xe.Iw)(r),i=(0,we.vY)(n,r),s=a?.path===i?.path;return null===i||i.unlisted&&!s?null:(0,d.jsx)(ae,{exact:!0,...o,isActive:()=>s||!!a?.sidebar&&a.sidebar===i.sidebar,label:t??i.id,to:i.path})},docSidebar:function(e){let{sidebarId:n,label:t,docsPluginId:r,...o}=e;const{activeDoc:a}=(0,xe.Iw)(r),i=(0,we.oz)(n,r).link;if(!i)throw new Error(`DocSidebarNavbarItem: Sidebar with ID "${n}" doesn't have anything to be linked to.`);return(0,d.jsx)(ae,{exact:!0,...o,isActive:()=>a?.sidebar===n,label:t??i.label,to:i.path})},docsVersion:function(e){let{label:n,to:t,docsPluginId:r,...o}=e;const a=(0,we.lO)(r)[0],i=n??a.label,s=t??(e=>e.docs.find((n=>n.id===e.mainDocId)))(a).path;return(0,d.jsx)(ae,{...o,label:i,to:s})},docsVersionDropdown:function(e){let{mobile:n,docsPluginId:t,dropdownActiveClassDisabled:r,dropdownItemsBefore:o,dropdownItemsAfter:a,...i}=e;const{search:c,hash:u}=(0,s.TH)(),p=(0,xe.Iw)(t),f=(0,xe.gB)(t),{savePreferredVersionName:m}=(0,ke.J)(t),y=[...o,...f.map((e=>{const n=p.alternateDocVersions[e.name]??Se(e);return{label:e.label,to:`${n.path}${c}${u}`,isActive:()=>e===p.activeVersion,onClick:()=>m(e.name)}})),...a],h=(0,we.lO)(t)[0],g=n&&y.length>1?(0,l.translate)({id:"theme.navbar.mobileVersionsDropdown.label",message:"Versions",description:"The label for the navbar versions dropdown on mobile view"}):h.label,b=n&&y.length>1?void 0:Se(h).path;return y.length<=1?(0,d.jsx)(ae,{...i,mobile:n,label:g,to:b,isActive:r?()=>!1:void 0}):(0,d.jsx)(fe,{...i,mobile:n,label:g,to:b,items:y,isActive:r?()=>!1:void 0})}};function Ce(e){let{type:n,...t}=e;const r=function(e,n){return e&&"default"!==e?e:"items"in n?"dropdown":"default"}(n,t),o=Ee[r];if(!o)throw new Error(`No NavbarItem component found for type "${n}".`);return(0,d.jsx)(o,{...t})}function _e(){const e=(0,T.e)(),n=(0,x.L)().navbar.items;return(0,d.jsx)("ul",{className:"menu__list",children:n.map(((n,t)=>(0,r.createElement)(Ce,{mobile:!0,...n,onClick:()=>e.toggle(),key:t})))})}function Pe(e){return(0,d.jsx)("button",{...e,type:"button",className:"clean-btn navbar-sidebar__back",children:(0,d.jsx)(l.default,{id:"theme.navbar.mobileSidebarSecondaryMenu.backButtonLabel",description:"The label of the back button to return to main menu, inside the mobile navbar sidebar secondary menu (notably used to display the docs sidebar)",children:"\u2190 Back to main menu"})})}function je(){const e=0===(0,x.L)().navbar.items.length,n=D();return(0,d.jsxs)(d.Fragment,{children:[!e&&(0,d.jsx)(Pe,{onClick:()=>n.hide()}),n.content]})}function Te(){const e=(0,T.e)();var n;return void 0===(n=e.shown)&&(n=!0),(0,r.useEffect)((()=>(document.body.style.overflow=n?"hidden":"visible",()=>{document.body.style.overflow="visible"})),[n]),e.shouldRender?(0,d.jsx)(I,{header:(0,d.jsx)(Y,{}),primaryMenu:(0,d.jsx)(_e,{}),secondaryMenu:(0,d.jsx)(je,{})}):null}const $e={navbarHideable:"navbarHideable_bChn",navbarHidden:"navbarHidden_zsXl"};function Oe(e){return(0,d.jsx)("div",{role:"presentation",...e,className:(0,o.Z)("navbar-sidebar__backdrop",e.className)})}function Re(e){let{children:n}=e;const{navbar:{hideOnScroll:t,style:a}}=(0,x.L)(),i=(0,T.e)(),{navbarRef:s,isNavbarVisible:u}=function(e){const[n,t]=(0,r.useState)(e),o=(0,r.useRef)(!1),a=(0,r.useRef)(0),i=(0,r.useCallback)((e=>{null!==e&&(a.current=e.getBoundingClientRect().height)}),[]);return(0,$.RF)(((n,r)=>{let{scrollY:i}=n;if(!e)return;if(i<a.current)return void t(!0);if(o.current)return void(o.current=!1);const s=r?.scrollY,l=document.documentElement.scrollHeight-a.current,c=window.innerHeight;s&&i>=s?t(!1):i+c<l&&t(!0)})),(0,c.S)((n=>{if(!e)return;const r=n.location.hash;if(r?document.getElementById(r.substring(1)):void 0)return o.current=!0,void t(!1);t(!0)})),{navbarRef:i,isNavbarVisible:n}}(t);return(0,d.jsxs)("nav",{ref:s,"aria-label":(0,l.translate)({id:"theme.NavBar.navAriaLabel",message:"Main",description:"The ARIA label for the main navigation"}),className:(0,o.Z)("navbar","navbar--fixed-top",t&&[$e.navbarHideable,!u&&$e.navbarHidden],{"navbar--dark":"dark"===a,"navbar--primary":"primary"===a,"navbar-sidebar--show":i.shown}),children:[n,(0,d.jsx)(Oe,{onClick:i.toggle}),(0,d.jsx)(Te,{})]})}var Ne=t(60958);const Ae={errorBoundaryError:"errorBoundaryError_FiLL",errorBoundaryFallback:"errorBoundaryFallback_lv4I"};function Le(e){return(0,d.jsx)("button",{type:"button",...e,children:(0,d.jsx)(l.default,{id:"theme.ErrorPageContent.tryAgain",description:"The label of the button to try again rendering when the React error boundary captures an error",children:"Try again"})})}function De(e){let{error:n}=e;const t=(0,Ne.getErrorCausalChain)(n).map((e=>e.message)).join("\n\nCause:\n");return(0,d.jsx)("p",{className:Ae.errorBoundaryError,children:t})}class Ie extends r.Component{componentDidCatch(e,n){throw this.props.onError(e,n)}render(){return this.props.children}}const Me="right";function Fe(e){let{width:n=30,height:t=30,className:r,...o}=e;return(0,d.jsx)("svg",{className:r,width:n,height:t,viewBox:"0 0 30 30","aria-hidden":"true",...o,children:(0,d.jsx)("path",{stroke:"currentColor",strokeLinecap:"round",strokeMiterlimit:"10",strokeWidth:"2",d:"M4 7h22M4 15h22M4 23h22"})})}function ze(){const{toggle:e,shown:n}=(0,T.e)();return(0,d.jsx)("button",{onClick:e,"aria-label":(0,l.translate)({id:"theme.docs.sidebar.toggleSidebarButtonAriaLabel",message:"Toggle navigation bar",description:"The ARIA label for hamburger menu button of mobile navigation"}),"aria-expanded":n,className:"navbar__toggle clean-btn",type:"button",children:(0,d.jsx)(Fe,{})})}const Be={colorModeToggle:"colorModeToggle_Hg9V"};function Ue(e){let{items:n}=e;return(0,d.jsx)(d.Fragment,{children:n.map(((e,n)=>(0,d.jsx)(Ie,{onError:n=>new Error(`A theme navbar item failed to render.\nPlease double-check the following navbar item (themeConfig.navbar.items) of your Docusaurus config:\n${JSON.stringify(e,null,2)}`,{cause:n}),children:(0,d.jsx)(Ce,{...e})},n)))})}function He(e){let{left:n,right:t}=e;return(0,d.jsxs)("div",{className:"navbar__inner",children:[(0,d.jsx)("div",{className:"navbar__items",children:n}),(0,d.jsx)("div",{className:"navbar__items navbar__items--right",children:t})]})}function qe(){const e=(0,T.e)(),n=(0,x.L)().navbar.items,[t,r]=function(e){function n(e){return"left"===(e.position??Me)}return[e.filter(n),e.filter((e=>!n(e)))]}(n),o=n.find((e=>"search"===e.type));return(0,d.jsx)(He,{left:(0,d.jsxs)(d.Fragment,{children:[!e.disabled&&(0,d.jsx)(ze,{}),(0,d.jsx)(G,{}),(0,d.jsx)(Ue,{items:t})]}),right:(0,d.jsxs)(d.Fragment,{children:[(0,d.jsx)(Ue,{items:r}),(0,d.jsx)(Z,{className:Be.colorModeToggle}),!o&&(0,d.jsx)(ve,{children:(0,d.jsx)(ge.Z,{})})]})})}function Ve(){return(0,d.jsx)(Re,{children:(0,d.jsx)(qe,{})})}function Ze(e){let{item:n}=e;const{to:t,href:r,label:o,prependBaseUrlToHref:a,...i}=n,s=(0,J.ZP)(t),l=(0,J.ZP)(r,{forcePrependBaseUrl:!0});return(0,d.jsxs)(Q.Z,{className:"footer__link-item",...r?{href:a?l:r}:{to:s},...i,children:[o,r&&!(0,X.Z)(r)&&(0,d.jsx)(ne.Z,{})]})}function We(e){let{item:n}=e;return n.html?(0,d.jsx)("li",{className:"footer__item",dangerouslySetInnerHTML:{__html:n.html}}):(0,d.jsx)("li",{className:"footer__item",children:(0,d.jsx)(Ze,{item:n})},n.href??n.to)}function Ge(e){let{column:n}=e;return(0,d.jsxs)("div",{className:"col footer__col",children:[(0,d.jsx)("div",{className:"footer__title",children:n.title}),(0,d.jsx)("ul",{className:"footer__items clean-list",children:n.items.map(((e,n)=>(0,d.jsx)(We,{item:e},n)))})]})}function Ke(e){let{columns:n}=e;return(0,d.jsx)("div",{className:"row footer__links",children:n.map(((e,n)=>(0,d.jsx)(Ge,{column:e},n)))})}function Ye(){return(0,d.jsx)("span",{className:"footer__link-separator",children:"\xb7"})}function Qe(e){let{item:n}=e;return n.html?(0,d.jsx)("span",{className:"footer__link-item",dangerouslySetInnerHTML:{__html:n.html}}):(0,d.jsx)(Ze,{item:n})}function Je(e){let{links:n}=e;return(0,d.jsx)("div",{className:"footer__links text--center",children:(0,d.jsx)("div",{className:"footer__links",children:n.map(((e,t)=>(0,d.jsxs)(r.Fragment,{children:[(0,d.jsx)(Qe,{item:e}),n.length!==t+1&&(0,d.jsx)(Ye,{})]},t)))})})}function Xe(e){let{links:n}=e;return function(e){return"title"in e[0]}(n)?(0,d.jsx)(Ke,{columns:n}):(0,d.jsx)(Je,{links:n})}var en=t(36087);const nn={footerLogoLink:"footerLogoLink_zxYv"};function tn(e){let{logo:n}=e;const{withBaseUrl:t}=(0,J.Cg)(),r={light:t(n.src),dark:t(n.srcDark??n.src)};return(0,d.jsx)(en.Z,{className:(0,o.Z)("footer__logo",n.className),alt:n.alt,sources:r,width:n.width,height:n.height,style:n.style})}function rn(e){let{logo:n}=e;return n.href?(0,d.jsx)(Q.Z,{href:n.href,className:nn.footerLogoLink,target:n.target,children:(0,d.jsx)(tn,{logo:n})}):(0,d.jsx)(tn,{logo:n})}function on(e){let{copyright:n}=e;return(0,d.jsx)("div",{className:"footer__copyright",dangerouslySetInnerHTML:{__html:n}})}function an(e){let{style:n,links:t,logo:r,copyright:a}=e;return(0,d.jsx)("footer",{className:(0,o.Z)("footer",{"footer--dark":"dark"===n}),children:(0,d.jsxs)("div",{className:"container container-fluid",children:[t,(r||a)&&(0,d.jsxs)("div",{className:"footer__bottom text--center",children:[r&&(0,d.jsx)("div",{className:"margin-bottom--sm",children:r}),a]})]})})}function sn(){const{footer:e}=(0,x.L)();if(!e)return null;const{copyright:n,links:t,logo:r,style:o}=e;return(0,d.jsx)(an,{style:o,links:t&&t.length>0&&(0,d.jsx)(Xe,{links:t}),logo:r&&(0,d.jsx)(rn,{logo:r}),copyright:n&&(0,d.jsx)(on,{copyright:n})})}const ln=r.memo(sn),cn=(0,O.Qc)([M.S,w.p,$.OC,ke.L5,i.VC,function(e){let{children:n}=e;return(0,d.jsx)(R.n2,{children:(0,d.jsx)(T.M,{children:(0,d.jsx)(A,{children:n})})})}]);function dn(e){let{children:n}=e;return(0,d.jsx)(cn,{children:n})}var un=t(83851);function pn(e){let{error:n,tryAgain:t}=e;return(0,d.jsx)("main",{className:"container margin-vert--xl",children:(0,d.jsx)("div",{className:"row",children:(0,d.jsxs)("div",{className:"col col--6 col--offset-3",children:[(0,d.jsx)(un.Z,{as:"h1",className:"hero__title",children:(0,d.jsx)(l.default,{id:"theme.ErrorPageContent.title",description:"The title of the fallback page when the page crashed",children:"This page crashed."})}),(0,d.jsx)("div",{className:"margin-vert--lg",children:(0,d.jsx)(Le,{onClick:t,className:"button button--primary shadow--lw"})}),(0,d.jsx)("hr",{}),(0,d.jsx)("div",{className:"margin-vert--md",children:(0,d.jsx)(De,{error:n})})]})})})}const fn={mainWrapper:"mainWrapper_UyTV"};function mn(e){const{children:n,noFooter:t,wrapperClassName:r,title:s,description:l}=e;return(0,g.t)(),(0,d.jsxs)(dn,{children:[(0,d.jsx)(i.d,{title:s,description:l}),(0,d.jsx)(v,{}),(0,d.jsx)(j,{}),(0,d.jsx)(Ve,{}),(0,d.jsx)("div",{id:u,className:(0,o.Z)(h.k.wrapper.main,fn.mainWrapper,r),children:(0,d.jsx)(a.Z,{fallback:e=>(0,d.jsx)(pn,{...e}),children:n})}),!t&&(0,d.jsx)(ln,{})]})}},51881:(e,n,t)=>{"use strict";t.d(n,{Z:()=>d});t(2784);var r=t(27718),o=t(90077),a=t(37614),i=t(97683),s=t(36087),l=t(52322);function c(e){let{logo:n,alt:t,imageClassName:r}=e;const a={light:(0,o.ZP)(n.src),dark:(0,o.ZP)(n.srcDark||n.src)},i=(0,l.jsx)(s.Z,{className:n.className,sources:a,height:n.height,width:n.width,alt:t,style:n.style});return r?(0,l.jsx)("div",{className:r,children:i}):i}function d(e){const{siteConfig:{title:n}}=(0,a.Z)(),{navbar:{title:t,logo:s}}=(0,i.L)(),{imageClassName:d,titleClassName:u,...p}=e,f=(0,o.ZP)(s?.href||"/"),m=t?"":n,y=s?.alt??m;return(0,l.jsxs)(r.Z,{to:f,...p,...s?.target&&{target:s.target},children:[s&&(0,l.jsx)(c,{logo:s,alt:y,imageClassName:d}),null!=t&&(0,l.jsx)("b",{className:u,children:t})]})}},54390:(e,n,t)=>{"use strict";t.d(n,{Z:()=>a});t(2784);var r=t(69854),o=t(52322);function a(e){let{locale:n,version:t,tag:a}=e;const i=n;return(0,o.jsxs)(r.Z,{children:[n&&(0,o.jsx)("meta",{name:"docusaurus_locale",content:n}),t&&(0,o.jsx)("meta",{name:"docusaurus_version",content:t}),a&&(0,o.jsx)("meta",{name:"docusaurus_tag",content:a}),i&&(0,o.jsx)("meta",{name:"docsearch:language",content:i}),t&&(0,o.jsx)("meta",{name:"docsearch:version",content:t}),a&&(0,o.jsx)("meta",{name:"docsearch:docusaurus_tag",content:a})]})}},36087:(e,n,t)=>{"use strict";t.d(n,{Z:()=>d});var r=t(2784),o=t(40489),a=t(89741),i=t(60361);const s={themedComponent:"themedComponent_DHUr","themedComponent--light":"themedComponent--light_DIHH","themedComponent--dark":"themedComponent--dark_Bv2M"};var l=t(52322);function c(e){let{className:n,children:t}=e;const c=(0,a.Z)(),{colorMode:d}=(0,i.I)();return(0,l.jsx)(l.Fragment,{children:(c?"dark"===d?["dark"]:["light"]:["light","dark"]).map((e=>{const a=t({theme:e,className:(0,o.Z)(n,s.themedComponent,s[`themedComponent--${e}`])});return(0,l.jsx)(r.Fragment,{children:a},e)}))})}function d(e){const{sources:n,className:t,alt:r,...o}=e;return(0,l.jsx)(c,{className:t,children:e=>{let{theme:t,className:a}=e;return(0,l.jsx)("img",{src:n[t],alt:r,className:a,...o})}})}},28698:(e,n,t)=>{"use strict";t.d(n,{u:()=>c,z:()=>g});var r=t(2784),o=t(31263),a=t(70164),i=t(80936),s=t(52322);const l="ease-in-out";function c(e){let{initialState:n}=e;const[t,o]=(0,r.useState)(n??!1),a=(0,r.useCallback)((()=>{o((e=>!e))}),[]);return{collapsed:t,setCollapsed:o,toggleCollapsed:a}}const d={display:"none",overflow:"hidden",height:"0px"},u={display:"block",overflow:"visible",height:"auto"};function p(e,n){const t=n?d:u;e.style.display=t.display,e.style.overflow=t.overflow,e.style.height=t.height}function f(e){let{collapsibleRef:n,collapsed:t,animation:o}=e;const a=(0,r.useRef)(!1);(0,r.useEffect)((()=>{const e=n.current;function r(){const n=e.scrollHeight,t=o?.duration??function(e){if((0,i.n)())return 1;const n=e/36;return Math.round(10*(4+15*n**.25+n/5))}(n);return{transition:`height ${t}ms ${o?.easing??l}`,height:`${n}px`}}function s(){const n=r();e.style.transition=n.transition,e.style.height=n.height}if(!a.current)return p(e,t),void(a.current=!0);return e.style.willChange="height",function(){const n=requestAnimationFrame((()=>{t?(s(),requestAnimationFrame((()=>{e.style.height=d.height,e.style.overflow=d.overflow}))):(e.style.display="block",requestAnimationFrame((()=>{s()})))}));return()=>cancelAnimationFrame(n)}()}),[n,t,o])}function m(e){if(!o.Z.canUseDOM)return e?d:u}function y(e){let{as:n="div",collapsed:t,children:o,animation:a,onCollapseTransitionEnd:i,className:l,disableSSRStyle:c}=e;const d=(0,r.useRef)(null);return f({collapsibleRef:d,collapsed:t,animation:a}),(0,s.jsx)(n,{ref:d,style:c?void 0:m(t),onTransitionEnd:e=>{"height"===e.propertyName&&(p(d.current,t),i?.(t))},className:l,children:o})}function h(e){let{collapsed:n,...t}=e;const[o,i]=(0,r.useState)(!n),[l,c]=(0,r.useState)(n);return(0,a.Z)((()=>{n||i(!0)}),[n]),(0,a.Z)((()=>{o&&c(n)}),[o,n]),o?(0,s.jsx)(y,{...t,collapsed:l}):null}function g(e){let{lazy:n,...t}=e;const r=n?h:y;return(0,s.jsx)(r,{...t})}},13717:(e,n,t)=>{"use strict";t.d(n,{n:()=>y,p:()=>m});var r=t(2784),o=t(89741),a=t(37611),i=t(6335),s=t(97683),l=t(52322);const c=(0,a.WA)("docusaurus.announcement.dismiss"),d=(0,a.WA)("docusaurus.announcement.id"),u=()=>"true"===c.get(),p=e=>c.set(String(e)),f=r.createContext(null);function m(e){let{children:n}=e;const t=function(){const{announcementBar:e}=(0,s.L)(),n=(0,o.Z)(),[t,a]=(0,r.useState)((()=>!!n&&u()));(0,r.useEffect)((()=>{a(u())}),[]);const i=(0,r.useCallback)((()=>{p(!0),a(!0)}),[]);return(0,r.useEffect)((()=>{if(!e)return;const{id:n}=e;let t=d.get();"annoucement-bar"===t&&(t="announcement-bar");const r=n!==t;d.set(n),r&&p(!1),!r&&u()||a(!1)}),[e]),(0,r.useMemo)((()=>({isActive:!!e&&!t,close:i})),[e,t,i])}();return(0,l.jsx)(f.Provider,{value:t,children:n})}function y(){const e=(0,r.useContext)(f);if(!e)throw new i.i6("AnnouncementBarProvider");return e}},60361:(e,n,t)=>{"use strict";t.d(n,{I:()=>g,S:()=>h});var r=t(2784),o=t(31263),a=t(6335),i=t(37611),s=t(97683),l=t(52322);const c=r.createContext(void 0),d="theme",u=(0,i.WA)(d),p={light:"light",dark:"dark"},f=e=>e===p.dark?p.dark:p.light,m=e=>o.Z.canUseDOM?f(document.documentElement.getAttribute("data-theme")):f(e),y=e=>{u.set(f(e))};function h(e){let{children:n}=e;const t=function(){const{colorMode:{defaultMode:e,disableSwitch:n,respectPrefersColorScheme:t}}=(0,s.L)(),[o,a]=(0,r.useState)(m(e));(0,r.useEffect)((()=>{n&&u.del()}),[n]);const i=(0,r.useCallback)((function(n,r){void 0===r&&(r={});const{persist:o=!0}=r;n?(a(n),o&&y(n)):(a(t?window.matchMedia("(prefers-color-scheme: dark)").matches?p.dark:p.light:e),u.del())}),[t,e]);(0,r.useEffect)((()=>{document.documentElement.setAttribute("data-theme",f(o))}),[o]),(0,r.useEffect)((()=>{if(n)return;const e=e=>{if(e.key!==d)return;const n=u.get();null!==n&&i(f(n))};return window.addEventListener("storage",e),()=>window.removeEventListener("storage",e)}),[n,i]);const l=(0,r.useRef)(!1);return(0,r.useEffect)((()=>{if(n&&!t)return;const e=window.matchMedia("(prefers-color-scheme: dark)"),r=()=>{window.matchMedia("print").matches||l.current?l.current=window.matchMedia("print").matches:i(null)};return e.addListener(r),()=>e.removeListener(r)}),[i,n,t]),(0,r.useMemo)((()=>({colorMode:o,setColorMode:i,get isDarkTheme(){return o===p.dark},setLightTheme(){i(p.light)},setDarkTheme(){i(p.dark)}})),[o,i])}();return(0,l.jsx)(c.Provider,{value:t,children:n})}function g(){const e=(0,r.useContext)(c);if(null==e)throw new a.i6("ColorModeProvider","Please see https://docusaurus.io/docs/api/themes/configuration#use-color-mode.");return e}},37949:(e,n,t)=>{"use strict";t.d(n,{J:()=>v,L5:()=>g});var r=t(2784),o=t(27415),a=t(78183),i=t(97683),s=t(38350),l=t(6335),c=t(37611),d=t(52322);const u=e=>`docs-preferred-version-${e}`,p={save:(e,n,t)=>{(0,c.WA)(u(e),{persistence:n}).set(t)},read:(e,n)=>(0,c.WA)(u(e),{persistence:n}).get(),clear:(e,n)=>{(0,c.WA)(u(e),{persistence:n}).del()}},f=e=>Object.fromEntries(e.map((e=>[e,{preferredVersionName:null}])));const m=r.createContext(null);function y(){const e=(0,o._r)(),n=(0,i.L)().docs.versionPersistence,t=(0,r.useMemo)((()=>Object.keys(e)),[e]),[a,s]=(0,r.useState)((()=>f(t)));(0,r.useEffect)((()=>{s(function(e){let{pluginIds:n,versionPersistence:t,allDocsData:r}=e;function o(e){const n=p.read(e,t);return r[e].versions.some((e=>e.name===n))?{preferredVersionName:n}:(p.clear(e,t),{preferredVersionName:null})}return Object.fromEntries(n.map((e=>[e,o(e)])))}({allDocsData:e,versionPersistence:n,pluginIds:t}))}),[e,n,t]);return[a,(0,r.useMemo)((()=>({savePreferredVersion:function(e,t){p.save(e,n,t),s((n=>({...n,[e]:{preferredVersionName:t}})))}})),[n])]}function h(e){let{children:n}=e;const t=y();return(0,d.jsx)(m.Provider,{value:t,children:n})}function g(e){let{children:n}=e;return s.cE?(0,d.jsx)(h,{children:n}):(0,d.jsx)(d.Fragment,{children:n})}function b(){const e=(0,r.useContext)(m);if(!e)throw new l.i6("DocsPreferredVersionContextProvider");return e}function v(e){void 0===e&&(e=a.m);const n=(0,o.zh)(e),[t,i]=b(),{preferredVersionName:s}=t[e];return{preferredVersion:n.versions.find((e=>e.name===s))??null,savePreferredVersionName:(0,r.useCallback)((n=>{i.savePreferredVersion(e,n)}),[i,e])}}},4228:(e,n,t)=>{"use strict";t.d(n,{V:()=>c,b:()=>l});var r=t(2784),o=t(6335),a=t(52322);const i=Symbol("EmptyContext"),s=r.createContext(i);function l(e){let{children:n,name:t,items:o}=e;const i=(0,r.useMemo)((()=>t&&o?{name:t,items:o}:null),[t,o]);return(0,a.jsx)(s.Provider,{value:i,children:n})}function c(){const e=(0,r.useContext)(s);if(e===i)throw new o.i6("DocsSidebarProvider");return e}},95663:(e,n,t)=>{"use strict";t.d(n,{E:()=>l,q:()=>s});var r=t(2784),o=t(6335),a=t(52322);const i=r.createContext(null);function s(e){let{children:n,version:t}=e;return(0,a.jsx)(i.Provider,{value:t,children:n})}function l(){const e=(0,r.useContext)(i);if(null===e)throw new o.i6("DocsVersionProvider");return e}},54313:(e,n,t)=>{"use strict";t.d(n,{M:()=>p,e:()=>f});var r=t(2784),o=t(47548),a=t(57963),i=t(32424),s=t(97683),l=t(6335),c=t(52322);const d=r.createContext(void 0);function u(){const e=function(){const e=(0,o.HY)(),{items:n}=(0,s.L)().navbar;return 0===n.length&&!e.component}(),n=(0,a.i)(),t=!e&&"mobile"===n,[l,c]=(0,r.useState)(!1);(0,i.Rb)((()=>{if(l)return c(!1),!1}));const d=(0,r.useCallback)((()=>{c((e=>!e))}),[]);return(0,r.useEffect)((()=>{"desktop"===n&&c(!1)}),[n]),(0,r.useMemo)((()=>({disabled:e,shouldRender:t,toggle:d,shown:l})),[e,t,d,l])}function p(e){let{children:n}=e;const t=u();return(0,c.jsx)(d.Provider,{value:t,children:n})}function f(){const e=r.useContext(d);if(void 0===e)throw new l.i6("NavbarMobileSidebarProvider");return e}},47548:(e,n,t)=>{"use strict";t.d(n,{HY:()=>l,Zo:()=>c,n2:()=>s});var r=t(2784),o=t(6335),a=t(52322);const i=r.createContext(null);function s(e){let{children:n}=e;const t=(0,r.useState)({component:null,props:null});return(0,a.jsx)(i.Provider,{value:t,children:n})}function l(){const e=(0,r.useContext)(i);if(!e)throw new o.i6("NavbarSecondaryMenuContentProvider");return e[0]}function c(e){let{component:n,props:t}=e;const a=(0,r.useContext)(i);if(!a)throw new o.i6("NavbarSecondaryMenuContentProvider");const[,s]=a,l=(0,o.Ql)(t);return(0,r.useEffect)((()=>{s({component:n,props:l})}),[s,n,l]),(0,r.useEffect)((()=>()=>s({component:null,props:null})),[s]),null}},9499:(e,n,t)=>{"use strict";t.d(n,{h:()=>o,t:()=>a});var r=t(2784);const o="navigation-with-keyboard";function a(){(0,r.useEffect)((()=>{function e(e){"keydown"===e.type&&"Tab"===e.key&&document.body.classList.add(o),"mousedown"===e.type&&document.body.classList.remove(o)}return document.addEventListener("keydown",e),document.addEventListener("mousedown",e),()=>{document.body.classList.remove(o),document.removeEventListener("keydown",e),document.removeEventListener("mousedown",e)}}),[])}},57963:(e,n,t)=>{"use strict";t.d(n,{i:()=>s});var r=t(2784),o=t(31263);const a={desktop:"desktop",mobile:"mobile",ssr:"ssr"},i=996;function s(e){let{desktopBreakpoint:n=i}=void 0===e?{}:e;const[t,s]=(0,r.useState)((()=>"ssr"));return(0,r.useEffect)((()=>{function e(){s(function(e){if(!o.Z.canUseDOM)throw new Error("getWindowSize() should only be called after React hydration");return window.innerWidth>e?a.desktop:a.mobile}(n))}return e(),window.addEventListener("resize",e),()=>{window.removeEventListener("resize",e)}}),[n]),t}},90211:(e,n,t)=>{"use strict";t.d(n,{k:()=>r});const r={page:{blogListPage:"blog-list-page",blogPostPage:"blog-post-page",blogTagsListPage:"blog-tags-list-page",blogTagPostListPage:"blog-tags-post-list-page",docsDocPage:"docs-doc-page",docsTagsListPage:"docs-tags-list-page",docsTagDocListPage:"docs-tags-doc-list-page",mdxPage:"mdx-page"},wrapper:{main:"main-wrapper",blogPages:"blog-wrapper",docsPages:"docs-wrapper",mdxPages:"mdx-wrapper"},common:{editThisPage:"theme-edit-this-page",lastUpdated:"theme-last-updated",backToTopButton:"theme-back-to-top-button",codeBlock:"theme-code-block",admonition:"theme-admonition",unlistedBanner:"theme-unlisted-banner",admonitionType:e=>`theme-admonition-${e}`},layout:{},docs:{docVersionBanner:"theme-doc-version-banner",docVersionBadge:"theme-doc-version-badge",docBreadcrumbs:"theme-doc-breadcrumbs",docMarkdown:"theme-doc-markdown",docTocMobile:"theme-doc-toc-mobile",docTocDesktop:"theme-doc-toc-desktop",docFooter:"theme-doc-footer",docFooterTagsRow:"theme-doc-footer-tags-row",docFooterEditMetaRow:"theme-doc-footer-edit-meta-row",docSidebarContainer:"theme-doc-sidebar-container",docSidebarMenu:"theme-doc-sidebar-menu",docSidebarItemCategory:"theme-doc-sidebar-item-category",docSidebarItemLink:"theme-doc-sidebar-item-link",docSidebarItemCategoryLevel:e=>`theme-doc-sidebar-item-category-level-${e}`,docSidebarItemLinkLevel:e=>`theme-doc-sidebar-item-link-level-${e}`},blog:{blogFooterTagsRow:"theme-blog-footer-tags-row",blogFooterEditMetaRow:"theme-blog-footer-edit-meta-row"},pages:{pageFooterEditMetaRow:"theme-pages-footer-edit-meta-row"}}},80936:(e,n,t)=>{"use strict";function r(){return window.matchMedia("(prefers-reduced-motion: reduce)").matches}t.d(n,{n:()=>r})},38350:(e,n,t)=>{"use strict";t.d(n,{LM:()=>m,MN:()=>P,SN:()=>_,_F:()=>b,cE:()=>p,f:()=>x,jA:()=>y,lO:()=>S,oz:()=>E,s1:()=>k,vY:()=>C,xz:()=>f});var r=t(2784),o=t(7267),a=t(9702),i=t(27415),s=t(37949),l=t(95663),c=t(4228),d=t(42244),u=t(87661);const p=!!i._r;function f(e){const n=(0,l.E)();if(!e)return;const t=n.docs[e];if(!t)throw new Error(`no version doc found by id=${e}`);return t}function m(e){return"link"!==e.type||e.unlisted?"category"===e.type?function(e){if(e.href&&!e.linkUnlisted)return e.href;for(const n of e.items){const e=m(n);if(e)return e}}(e):void 0:e.href}function y(){const{pathname:e}=(0,o.TH)(),n=(0,c.V)();if(!n)throw new Error("Unexpected: cant find current sidebar in context");const t=w({sidebarItems:n.items,pathname:e,onlyCategories:!0}).slice(-1)[0];if(!t)throw new Error(`${e} is not associated with a category. useCurrentSidebarCategory() should only be used on category index pages.`);return t}const h=(e,n)=>void 0!==e&&(0,u.Mg)(e,n),g=(e,n)=>e.some((e=>b(e,n)));function b(e,n){return"link"===e.type?h(e.href,n):"category"===e.type&&(h(e.href,n)||g(e.items,n))}function v(e,n){switch(e.type){case"category":return b(e,n)||e.items.some((e=>v(e,n)));case"link":return!e.unlisted||b(e,n);default:return!0}}function x(e,n){return(0,r.useMemo)((()=>e.filter((e=>v(e,n)))),[e,n])}function w(e){let{sidebarItems:n,pathname:t,onlyCategories:r=!1}=e;const o=[];return function e(n){for(const a of n)if("category"===a.type&&((0,u.Mg)(a.href,t)||e(a.items))||"link"===a.type&&(0,u.Mg)(a.href,t)){return r&&"category"!==a.type||o.unshift(a),!0}return!1}(n),o}function k(){const e=(0,c.V)(),{pathname:n}=(0,o.TH)(),t=(0,i.gA)()?.pluginData.breadcrumbs;return!1!==t&&e?w({sidebarItems:e.items,pathname:n}):null}function S(e){const{activeVersion:n}=(0,i.Iw)(e),{preferredVersion:t}=(0,s.J)(e),o=(0,i.yW)(e);return(0,r.useMemo)((()=>(0,d.j)([n,t,o].filter(Boolean))),[n,t,o])}function E(e,n){const t=S(n);return(0,r.useMemo)((()=>{const n=t.flatMap((e=>e.sidebars?Object.entries(e.sidebars):[])),r=n.find((n=>n[0]===e));if(!r)throw new Error(`Can't find any sidebar with id "${e}" in version${t.length>1?"s":""} ${t.map((e=>e.name)).join(", ")}".\nAvailable sidebar ids are:\n- ${n.map((e=>e[0])).join("\n- ")}`);return r[1]}),[e,t])}function C(e,n){const t=S(n);return(0,r.useMemo)((()=>{const n=t.flatMap((e=>e.docs)),r=n.find((n=>n.id===e));if(!r){if(t.flatMap((e=>e.draftIds)).includes(e))return null;throw new Error(`Couldn't find any doc with id "${e}" in version${t.length>1?"s":""} "${t.map((e=>e.name)).join(", ")}".\nAvailable doc ids are:\n- ${(0,d.j)(n.map((e=>e.id))).join("\n- ")}`)}return r}),[e,t])}function _(e){let{route:n}=e;const t=(0,o.TH)(),r=(0,l.E)(),i=n.routes,s=i.find((e=>(0,o.LX)(t.pathname,e)));if(!s)return null;const c=s.sidebar,d=c?r.docsSidebars[c]:void 0;return{docElement:(0,a.H)(i),sidebarName:c,sidebarItems:d}}function P(e){return e.filter((e=>!("category"===e.type||"link"===e.type)||!!m(e)))}},32424:(e,n,t)=>{"use strict";t.d(n,{Rb:()=>i,_X:()=>l});var r=t(2784),o=t(7267),a=t(6335);function i(e){!function(e){const n=(0,o.k6)(),t=(0,a.zX)(e);(0,r.useEffect)((()=>n.block(((e,n)=>t(e,n)))),[n,t])}(((n,t)=>{if("POP"===t)return e(n,t)}))}function s(e){const n=(0,o.k6)();return(0,r.useSyncExternalStore)(n.listen,(()=>e(n)),(()=>e(n)))}function l(e){return s((n=>null===e?null:new URLSearchParams(n.location.search).get(e)))}},42244:(e,n,t)=>{"use strict";function r(e,n){return void 0===n&&(n=(e,n)=>e===n),e.filter(((t,r)=>e.findIndex((e=>n(e,t)))!==r))}function o(e){return Array.from(new Set(e))}t.d(n,{j:()=>o,l:()=>r})},50328:(e,n,t)=>{"use strict";t.d(n,{FG:()=>f,d:()=>u,VC:()=>m});var r=t(2784),o=t(40489),a=t(69854),i=t(71313);function s(){const e=r.useContext(i._);if(!e)throw new Error("Unexpected: no Docusaurus route context found");return e}var l=t(90077),c=t(37614);var d=t(52322);function u(e){let{title:n,description:t,keywords:r,image:o,children:i}=e;const s=function(e){const{siteConfig:n}=(0,c.Z)(),{title:t,titleDelimiter:r}=n;return e?.trim().length?`${e.trim()} ${r} ${t}`:t}(n),{withBaseUrl:u}=(0,l.Cg)(),p=o?u(o,{absolute:!0}):void 0;return(0,d.jsxs)(a.Z,{children:[n&&(0,d.jsx)("title",{children:s}),n&&(0,d.jsx)("meta",{property:"og:title",content:s}),t&&(0,d.jsx)("meta",{name:"description",content:t}),t&&(0,d.jsx)("meta",{property:"og:description",content:t}),r&&(0,d.jsx)("meta",{name:"keywords",content:Array.isArray(r)?r.join(","):r}),p&&(0,d.jsx)("meta",{property:"og:image",content:p}),p&&(0,d.jsx)("meta",{name:"twitter:image",content:p}),i]})}const p=r.createContext(void 0);function f(e){let{className:n,children:t}=e;const i=r.useContext(p),s=(0,o.Z)(i,n);return(0,d.jsxs)(p.Provider,{value:s,children:[(0,d.jsx)(a.Z,{children:(0,d.jsx)("html",{className:s})}),t]})}function m(e){let{children:n}=e;const t=s(),r=`plugin-${t.plugin.name.replace(/docusaurus-(?:plugin|theme)-(?:content-)?/gi,"")}`;const a=`plugin-id-${t.plugin.id}`;return(0,d.jsx)(f,{className:(0,o.Z)(r,a),children:n})}},6335:(e,n,t)=>{"use strict";t.d(n,{D9:()=>s,Qc:()=>d,Ql:()=>c,i6:()=>l,zX:()=>i});var r=t(2784),o=t(70164),a=t(52322);function i(e){const n=(0,r.useRef)(e);return(0,o.Z)((()=>{n.current=e}),[e]),(0,r.useCallback)((function(){return n.current(...arguments)}),[])}function s(e){const n=(0,r.useRef)();return(0,o.Z)((()=>{n.current=e})),n.current}class l extends Error{constructor(e,n){super(),this.name="ReactContextError",this.message=`Hook ${this.stack?.split("\n")[1]?.match(/at (?:\w+\.)?(?<name>\w+)/)?.groups.name??""} is called outside the <${e}>. ${n??""}`}}function c(e){const n=Object.entries(e);return n.sort(((e,n)=>e[0].localeCompare(n[0]))),(0,r.useMemo)((()=>e),n.flat())}function d(e){return n=>{let{children:t}=n;return(0,a.jsx)(a.Fragment,{children:e.reduceRight(((e,n)=>(0,a.jsx)(n,{children:e})),t)})}}},87661:(e,n,t)=>{"use strict";t.d(n,{Mg:()=>i,Ns:()=>s});var r=t(2784),o=t(19895),a=t(37614);function i(e,n){const t=e=>(!e||e.endsWith("/")?e:`${e}/`)?.toLowerCase();return t(e)===t(n)}function s(){const{baseUrl:e}=(0,a.Z)().siteConfig;return(0,r.useMemo)((()=>function(e){let{baseUrl:n,routes:t}=e;function r(e){return e.path===n&&!0===e.exact}function o(e){return e.path===n&&!e.exact}return function e(n){if(0===n.length)return;return n.find(r)||e(n.filter(o).flatMap((e=>e.routes??[])))}(t)}({routes:o.Z,baseUrl:e})),[e])}},24126:(e,n,t)=>{"use strict";t.d(n,{Ct:()=>y,OC:()=>d,RF:()=>f,o5:()=>m});var r=t(2784),o=t(31263),a=t(89741),i=t(70164),s=t(6335),l=t(52322);const c=r.createContext(void 0);function d(e){let{children:n}=e;const t=function(){const e=(0,r.useRef)(!0);return(0,r.useMemo)((()=>({scrollEventsEnabledRef:e,enableScrollEvents:()=>{e.current=!0},disableScrollEvents:()=>{e.current=!1}})),[])}();return(0,l.jsx)(c.Provider,{value:t,children:n})}function u(){const e=(0,r.useContext)(c);if(null==e)throw new s.i6("ScrollControllerProvider");return e}const p=()=>o.Z.canUseDOM?{scrollX:window.pageXOffset,scrollY:window.pageYOffset}:null;function f(e,n){void 0===n&&(n=[]);const{scrollEventsEnabledRef:t}=u(),o=(0,r.useRef)(p()),a=(0,s.zX)(e);(0,r.useEffect)((()=>{const e=()=>{if(!t.current)return;const e=p();a(e,o.current),o.current=e},n={passive:!0};return e(),window.addEventListener("scroll",e,n),()=>window.removeEventListener("scroll",e,n)}),[a,t,...n])}function m(){const e=u(),n=function(){const e=(0,r.useRef)({elem:null,top:0}),n=(0,r.useCallback)((n=>{e.current={elem:n,top:n.getBoundingClientRect().top}}),[]),t=(0,r.useCallback)((()=>{const{current:{elem:n,top:t}}=e;if(!n)return{restored:!1};const r=n.getBoundingClientRect().top-t;return r&&window.scrollBy({left:0,top:r}),e.current={elem:null,top:0},{restored:0!==r}}),[]);return(0,r.useMemo)((()=>({save:n,restore:t})),[t,n])}(),t=(0,r.useRef)(void 0),o=(0,r.useCallback)((r=>{n.save(r),e.disableScrollEvents(),t.current=()=>{const{restored:r}=n.restore();if(t.current=void 0,r){const n=()=>{e.enableScrollEvents(),window.removeEventListener("scroll",n)};window.addEventListener("scroll",n)}else e.enableScrollEvents()}}),[e,n]);return(0,i.Z)((()=>{queueMicrotask((()=>t.current?.()))})),{blockElementScrollPositionUntilNextRender:o}}function y(){const e=(0,r.useRef)(null),n=(0,a.Z)()&&"smooth"===getComputedStyle(document.documentElement).scrollBehavior;return{startScroll:t=>{e.current=n?function(e){return window.scrollTo({top:e,behavior:"smooth"}),()=>{}}(t):function(e){let n=null;const t=document.documentElement.scrollTop>e;return function r(){const o=document.documentElement.scrollTop;(t&&o>e||!t&&o<e)&&(n=requestAnimationFrame(r),window.scrollTo(0,Math.floor(.85*(o-e))+e))}(),()=>n&&cancelAnimationFrame(n)}(t)},cancelScroll:()=>e.current?.()}}},4925:(e,n,t)=>{"use strict";t.d(n,{HX:()=>r,os:()=>o});t(37614);const r="default";function o(e,n){return`docs-${e}-${n}`}},37611:(e,n,t)=>{"use strict";t.d(n,{WA:()=>d,Nk:()=>u});var r=t(2784);const o=JSON.parse('{"d":"localStorage","u":""}'),a=o.d;function i(e){let{key:n,oldValue:t,newValue:r,storage:o}=e;if(t===r)return;const a=document.createEvent("StorageEvent");a.initStorageEvent("storage",!1,!1,n,t,r,window.location.href,o),window.dispatchEvent(a)}function s(e){if(void 0===e&&(e=a),"undefined"==typeof window)throw new Error("Browser storage is not available on Node.js/Docusaurus SSR process.");if("none"===e)return null;try{return window[e]}catch(t){return n=t,l||(console.warn("Docusaurus browser storage is not available.\nPossible reasons: running Docusaurus in an iframe, in an incognito browser session, or using too strict browser privacy settings.",n),l=!0),null}var n}let l=!1;const c={get:()=>null,set:()=>{},del:()=>{},listen:()=>()=>{}};function d(e,n){const t=`${e}${o.u}`;if("undefined"==typeof window)return function(e){function n(){throw new Error(`Illegal storage API usage for storage key "${e}".\nDocusaurus storage APIs are not supposed to be called on the server-rendering process.\nPlease only call storage APIs in effects and event handlers.`)}return{get:n,set:n,del:n,listen:n}}(t);const r=s(n?.persistence);return null===r?c:{get:()=>{try{return r.getItem(t)}catch(e){return console.error(`Docusaurus storage error, can't get key=${t}`,e),null}},set:e=>{try{const n=r.getItem(t);r.setItem(t,e),i({key:t,oldValue:n,newValue:e,storage:r})}catch(n){console.error(`Docusaurus storage error, can't set ${t}=${e}`,n)}},del:()=>{try{const e=r.getItem(t);r.removeItem(t),i({key:t,oldValue:e,newValue:null,storage:r})}catch(e){console.error(`Docusaurus storage error, can't delete key=${t}`,e)}},listen:e=>{try{const n=n=>{n.storageArea===r&&n.key===t&&e(n)};return window.addEventListener("storage",n),()=>window.removeEventListener("storage",n)}catch(n){return console.error(`Docusaurus storage error, can't listen for changes of key=${t}`,n),()=>{}}}}}function u(e,n){const t=(0,r.useRef)((()=>null===e?c:d(e,n))).current(),o=(0,r.useCallback)((e=>"undefined"==typeof window?()=>{}:t.listen(e)),[t]);return[(0,r.useSyncExternalStore)(o,(()=>"undefined"==typeof window?null:t.get()),(()=>null)),t]}},55552:(e,n,t)=>{"use strict";t.d(n,{l:()=>i});var r=t(37614),o=t(7267),a=t(60958);function i(){const{siteConfig:{baseUrl:e,url:n,trailingSlash:t},i18n:{defaultLocale:i,currentLocale:s}}=(0,r.Z)(),{pathname:l}=(0,o.TH)(),c=(0,a.applyTrailingSlash)(l,{trailingSlash:t,baseUrl:e}),d=s===i?e:e.replace(`/${s}/`,"/"),u=c.replace(e,"");return{createUrl:function(e){let{locale:t,fullyQualified:r}=e;return`${r?n:""}${function(e){return e===i?`${d}`:`${d}${e}/`}(t)}${u}`}}}},12105:(e,n,t)=>{"use strict";t.d(n,{S:()=>i});var r=t(2784),o=t(7267),a=t(6335);function i(e){const n=(0,o.TH)(),t=(0,a.D9)(n),i=(0,a.zX)(e);(0,r.useEffect)((()=>{t&&n!==t&&i({location:n,previousLocation:t})}),[i,n,t])}},97683:(e,n,t)=>{"use strict";t.d(n,{L:()=>o});var r=t(37614);function o(){return(0,r.Z)().siteConfig.themeConfig}},71025:(e,n,t)=>{"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.removeTrailingSlash=n.addLeadingSlash=n.addTrailingSlash=void 0;const r=t(90599);function o(e){return e.endsWith("/")?e:`${e}/`}function a(e){return(0,r.removeSuffix)(e,"/")}n.addTrailingSlash=o,n.default=function(e,n){const{trailingSlash:t,baseUrl:r}=n;if(e.startsWith("#"))return e;if(void 0===t)return e;const[i]=e.split(/[#?]/),s="/"===i||i===r?i:(l=i,t?o(l):a(l));var l;return e.replace(i,s)},n.addLeadingSlash=function(e){return(0,r.addPrefix)(e,"/")},n.removeTrailingSlash=a},90415:(e,n)=>{"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.getErrorCausalChain=void 0,n.getErrorCausalChain=function e(n){return n.cause?[n,...e(n.cause)]:[n]}},60958:function(e,n,t){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(n,"__esModule",{value:!0}),n.getErrorCausalChain=n.removePrefix=n.addSuffix=n.removeSuffix=n.addPrefix=n.removeTrailingSlash=n.addLeadingSlash=n.addTrailingSlash=n.applyTrailingSlash=n.blogPostContainerID=void 0,n.blogPostContainerID="__blog-post-container";var o=t(71025);Object.defineProperty(n,"applyTrailingSlash",{enumerable:!0,get:function(){return r(o).default}}),Object.defineProperty(n,"addTrailingSlash",{enumerable:!0,get:function(){return o.addTrailingSlash}}),Object.defineProperty(n,"addLeadingSlash",{enumerable:!0,get:function(){return o.addLeadingSlash}}),Object.defineProperty(n,"removeTrailingSlash",{enumerable:!0,get:function(){return o.removeTrailingSlash}});var a=t(90599);Object.defineProperty(n,"addPrefix",{enumerable:!0,get:function(){return a.addPrefix}}),Object.defineProperty(n,"removeSuffix",{enumerable:!0,get:function(){return a.removeSuffix}}),Object.defineProperty(n,"addSuffix",{enumerable:!0,get:function(){return a.addSuffix}}),Object.defineProperty(n,"removePrefix",{enumerable:!0,get:function(){return a.removePrefix}});var i=t(90415);Object.defineProperty(n,"getErrorCausalChain",{enumerable:!0,get:function(){return i.getErrorCausalChain}})},90599:(e,n)=>{"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.removePrefix=n.addSuffix=n.removeSuffix=n.addPrefix=void 0,n.addPrefix=function(e,n){return e.startsWith(n)?e:`${n}${e}`},n.removeSuffix=function(e,n){return""===n?e:e.endsWith(n)?e.slice(0,-n.length):e},n.addSuffix=function(e,n){return e.endsWith(n)?e:`${e}${n}`},n.removePrefix=function(e,n){return e.startsWith(n)?e.slice(n.length):e}},19895:(e,n,t)=>{"use strict";t.d(n,{Z:()=>p});t(2784);var r=t(89028),o=t.n(r),a=t(16887);const i={"0098a75a":[()=>Promise.all([t.e(532),t.e(8592),t.e(2061)]).then(t.bind(t,49228)),"@site/docs/sketches/prototype.mdx",49228],"06923f2b":[()=>Promise.all([t.e(532),t.e(8592),t.e(1649)]).then(t.bind(t,37306)),"@site/spec/pointer/concepts.mdx",37306],"06f6442f":[()=>Promise.all([t.e(532),t.e(8592),t.e(5097)]).then(t.bind(t,60740)),"@site/spec/pointer/region/location/storage.mdx",60740],"0c6b334b":[()=>Promise.all([t.e(532),t.e(8592),t.e(2418)]).then(t.bind(t,5958)),"@site/spec/pointer/pointer.mdx",5958],"0d3f9d17":[()=>Promise.all([t.e(532),t.e(8592),t.e(799)]).then(t.bind(t,7737)),"@site/spec/type/elementary/bytes.mdx",7737],"1154c93e":[()=>Promise.all([t.e(532),t.e(8592),t.e(1887)]).then(t.bind(t,62903)),"@site/spec/type/complex/tuple.mdx",62903],"14eb3368":[()=>Promise.all([t.e(532),t.e(9817)]).then(t.bind(t,45609)),"@theme/DocCategoryGeneratedIndexPage",45609],17896441:[()=>Promise.all([t.e(532),t.e(8592),t.e(3879),t.e(7918)]).then(t.bind(t,49948)),"@theme/DocItem",49948],18891827:[()=>Promise.all([t.e(8592),t.e(9081)]).then(t.bind(t,56731)),"@site/docs/overview.mdx",56731],"1917520d":[()=>Promise.all([t.e(532),t.e(8592),t.e(5722),t.e(1571)]).then(t.bind(t,99156)),"@site/spec/type/base.mdx",99156],"19c068a5":[()=>Promise.all([t.e(8592),t.e(3904)]).then(t.bind(t,71613)),"@site/docs/implementation-guides/pointers/dereference-logic/dereference-logic.mdx",71613],"1df93b7f":[()=>Promise.all([t.e(532),t.e(3237)]).then(t.bind(t,47483)),"@site/src/pages/index.tsx",47483],"1f391b9e":[()=>Promise.all([t.e(532),t.e(8592),t.e(3879),t.e(3085)]).then(t.bind(t,48398)),"@theme/MDXPage",48398],"26210d4e":[()=>Promise.all([t.e(532),t.e(8592),t.e(8015)]).then(t.bind(t,81037)),"@site/spec/type/elementary/address.mdx",81037],"26adb6ed":[()=>Promise.all([t.e(532),t.e(8592),t.e(2343)]).then(t.bind(t,34903)),"@site/spec/type/complex/alias.mdx",34903],28755575:[()=>t.e(4380).then(t.t.bind(t,73206,19)),"@generated/docusaurus-plugin-content-docs/spec/p/format-spec-category-collections-3e7.json",73206],"288a3aad":[()=>Promise.all([t.e(532),t.e(8592),t.e(2384)]).then(t.bind(t,70442)),"@site/spec/type/complex/function.mdx",70442],"2d54960a":[()=>t.e(4404).then(t.t.bind(t,14765,19)),"@generated/docusaurus-plugin-content-docs/spec/p/format-spec-category-complex-types-90c.json",14765],"2d5baa33":[()=>Promise.all([t.e(8592),t.e(5152)]).then(t.bind(t,9922)),"@site/docs/sketches/layout.mdx",9922],"2fe7c366":[()=>t.e(6924).then(t.t.bind(t,62930,19)),"@generated/docusaurus-plugin-content-docs/default/p/format-docs-category-prototype-sketches-eac.json",62930],"324b62c5":[()=>Promise.all([t.e(532),t.e(8592),t.e(9057)]).then(t.bind(t,26043)),"@site/spec/pointer/collection/collection.mdx",26043],"34a1fa87":[()=>Promise.all([t.e(532),t.e(8592),t.e(5340)]).then(t.bind(t,68443)),"@site/spec/pointer/region/location/calldata.mdx",68443],"39033cdf":[()=>Promise.all([t.e(532),t.e(8592),t.e(9874)]).then(t.bind(t,83459)),"@site/spec/type/complex/array.mdx",83459],"3bef66bf":[()=>Promise.all([t.e(532),t.e(8592),t.e(477),t.e(4963)]).then(t.bind(t,23349)),"@site/docs/implementation-guides/pointers/types/pointer-types.mdx",23349],"41f6ea55":[()=>Promise.all([t.e(532),t.e(8592),t.e(7278)]).then(t.bind(t,40715)),"@site/spec/pointer/region/base.mdx",40715],"47f40ad3":[()=>Promise.all([t.e(532),t.e(8592),t.e(3362)]).then(t.bind(t,89373)),"@site/spec/pointer/region/scheme/segment.mdx",89373],"4ffa8edd":[()=>Promise.all([t.e(532),t.e(8592),t.e(7091)]).then(t.bind(t,54380)),"@site/spec/pointer/region/location/stack.mdx",54380],"50fa7aa7":[()=>Promise.all([t.e(532),t.e(8592),t.e(1422)]).then(t.bind(t,37088)),"@site/spec/type/elementary/string.mdx",37088],55366030:[()=>Promise.all([t.e(532),t.e(8592),t.e(5007)]).then(t.bind(t,5062)),"@site/spec/pointer/region/scheme/slice.mdx",5062],"57805cd5":[()=>Promise.all([t.e(532),t.e(8592),t.e(6218)]).then(t.bind(t,48965)),"@site/spec/pointer/region/region.mdx",48965],"5b89c65e":[()=>t.e(6553).then(t.t.bind(t,60857,19)),"@generated/docusaurus-plugin-content-docs/default/p/format-docs-category-dereferencing-pointers-457.json",60857],"5c90228f":[()=>Promise.all([t.e(532),t.e(8592),t.e(8822)]).then(t.bind(t,54243)),"@site/spec/materials/source.mdx",54243],"5e95c892":[()=>t.e(9661).then(t.bind(t,44629)),"@theme/DocsRoot",44629],"5e9f5e1a":[()=>Promise.resolve().then(t.bind(t,36809)),"@generated/docusaurus.config",36809],"5fa83de1":[()=>Promise.all([t.e(532),t.e(8592),t.e(2156)]).then(t.bind(t,19327)),"@site/spec/type/overview.mdx",19327],"5fb36c82":[()=>Promise.all([t.e(532),t.e(8592),t.e(5438)]).then(t.bind(t,20116)),"@site/spec/pointer/region/location/code.mdx",20116],"60b8d43b":[()=>Promise.all([t.e(8592),t.e(7219)]).then(t.bind(t,1067)),"@site/spec/pointer/overview.mdx",1067],"6397ae1b":[()=>Promise.all([t.e(532),t.e(8592),t.e(5910)]).then(t.bind(t,63860)),"@site/spec/pointer/collection/list.mdx",63860],"65b9696e":[()=>t.e(6037).then(t.t.bind(t,94818,19)),"@generated/docusaurus-plugin-content-docs/spec/p/format-spec-e89.json",94818],"6656ad10":[()=>t.e(8623).then(t.t.bind(t,17814,19)),"@generated/docusaurus-plugin-content-docs/spec/p/format-spec-category-elementary-types-26a.json",17814],"6bb5505e":[()=>Promise.all([t.e(532),t.e(8592),t.e(8797)]).then(t.bind(t,52894)),"@site/spec/pointer/collection/scope.mdx",52894],"6cd3635f":[()=>t.e(1298).then(t.t.bind(t,18980,19)),"@generated/docusaurus-plugin-content-docs/default/p/format-docs-category-implementation-guides-784.json",18980],"6dcd11e3":[()=>Promise.all([t.e(532),t.e(8592),t.e(477),t.e(8107)]).then(t.bind(t,12162)),"@site/docs/implementation-guides/pointers/types/cursors.mdx",12162],"6e8ff3aa":[()=>Promise.all([t.e(532),t.e(8592),t.e(2093)]).then(t.bind(t,64856)),"@site/spec/type/type.mdx",64856],"7168108a":[()=>Promise.all([t.e(532),t.e(8592),t.e(4427)]).then(t.bind(t,66673)),"@site/spec/pointer/region/location/transient.mdx",66673],"721263eb":[()=>t.e(4188).then(t.t.bind(t,74974,19)),"@generated/docusaurus-plugin-content-docs/spec/p/format-spec-category-ethdebugformatmaterials-bff.json",74974],"73e8c510":[()=>Promise.all([t.e(532),t.e(8592),t.e(8605)]).then(t.bind(t,9179)),"@site/spec/materials/id.mdx",9179],"74f0bff4":[()=>Promise.all([t.e(532),t.e(8592),t.e(3e3)]).then(t.bind(t,49678)),"@site/spec/type/elementary/int.mdx",49678],"79160c11":[()=>t.e(1847).then(t.t.bind(t,80379,19)),"@generated/docusaurus-plugin-content-docs/spec/p/format-spec-category-ethdebugformattype-f22.json",80379],"7b38f772":[()=>t.e(692).then(t.t.bind(t,91393,19)),"@generated/docusaurus-plugin-content-docs/spec/p/format-spec-category-ethdebugformatpointer-c87.json",91393],"87bcd65e":[()=>Promise.all([t.e(532),t.e(8592),t.e(488)]).then(t.bind(t,62237)),"@site/spec/type/elementary/fixed.mdx",62237],"8aa384a9":[()=>Promise.all([t.e(532),t.e(8592),t.e(477),t.e(1583)]).then(t.bind(t,18290)),"@site/docs/implementation-guides/pointers/dereference-logic/making-regions-concrete.mdx",18290],"8e037750":[()=>Promise.all([t.e(532),t.e(8592),t.e(7033)]).then(t.bind(t,95491)),"@site/spec/type/concepts.mdx",95491],"9ac2b418":[()=>Promise.all([t.e(532),t.e(8592),t.e(351)]).then(t.bind(t,64421)),"@site/spec/type/complex/struct.mdx",64421],"9c6e1aee":[()=>Promise.all([t.e(532),t.e(8592),t.e(882)]).then(t.bind(t,31745)),"@site/spec/pointer/collection/conditional.mdx",31745],"9e15fc25":[()=>Promise.all([t.e(532),t.e(8592),t.e(554)]).then(t.bind(t,12811)),"@site/docs/known-challenges.mdx",12811],a666bd68:[()=>Promise.all([t.e(532),t.e(8592),t.e(477),t.e(7e3)]).then(t.bind(t,62831)),"@site/docs/implementation-guides/pointers/overview.mdx",62831],a6fccf34:[()=>Promise.all([t.e(532),t.e(8592),t.e(477),t.e(1724)]).then(t.bind(t,18206)),"@site/docs/implementation-guides/pointers/reading-from-regions.mdx",18206],a7456010:[()=>t.e(5980).then(t.t.bind(t,79365,19)),"@generated/docusaurus-plugin-content-pages/default/__plugin.json",79365],a7bd4aaa:[()=>t.e(8518).then(t.bind(t,42582)),"@theme/DocVersionRoot",42582],a94703ab:[()=>Promise.all([t.e(532),t.e(4368)]).then(t.bind(t,91999)),"@theme/DocRoot",91999],aba21aa0:[()=>t.e(3629).then(t.t.bind(t,41765,19)),"@generated/docusaurus-plugin-content-docs/default/__plugin.json",41765],ad7f7207:[()=>Promise.all([t.e(8592),t.e(2112)]).then(t.bind(t,56379)),"@site/spec/materials/overview.mdx",56379],aeecf7cf:[()=>Promise.all([t.e(532),t.e(8592),t.e(5815)]).then(t.bind(t,8492)),"@site/spec/type/elementary/enum.mdx",8492],b27771bd:[()=>Promise.all([t.e(532),t.e(8592),t.e(3427)]).then(t.bind(t,72363)),"@site/spec/type/complex/mapping.mdx",72363],b702b8d4:[()=>Promise.all([t.e(532),t.e(8592),t.e(6424)]).then(t.bind(t,9187)),"@site/spec/pointer/region/location/memory.mdx",9187],b887ed67:[()=>Promise.all([t.e(532),t.e(8592),t.e(477),t.e(1322)]).then(t.bind(t,39163)),"@site/docs/implementation-guides/pointers/dereference-logic/summary.mdx",39163],be5c8d03:[()=>Promise.all([t.e(532),t.e(8592),t.e(5791)]).then(t.bind(t,84860)),"@site/spec/type/elementary/contract.mdx",84860],c26eb700:[()=>Promise.all([t.e(532),t.e(8592),t.e(6003)]).then(t.bind(t,92733)),"@site/spec/materials/compilation.mdx",92733],c3e4b2a1:[()=>Promise.all([t.e(532),t.e(6477)]).then(t.bind(t,52517)),"@site/src/pages/home/index.tsx",52517],c47862a6:[()=>Promise.all([t.e(532),t.e(8592),t.e(4567)]).then(t.bind(t,62978)),"@site/spec/type/elementary/uint.mdx",62978],c73c1d3a:[()=>Promise.all([t.e(532),t.e(8592),t.e(556)]).then(t.bind(t,32587)),"@site/spec/materials/source-range.mdx",32587],cb7b1c3b:[()=>Promise.all([t.e(8592),t.e(8263)]).then(t.bind(t,61634)),"@site/docs/implementation-guides/pointers/types/types.mdx",61634],ccf56d1d:[()=>Promise.all([t.e(532),t.e(8592),t.e(9312)]).then(t.bind(t,39843)),"@site/spec/pointer/region/location/returndata.mdx",39843],ce1d6aaa:[()=>Promise.all([t.e(532),t.e(8592),t.e(477),t.e(8470)]).then(t.bind(t,72052)),"@site/docs/implementation-guides/pointers/evaluating-expressions.mdx",72052],d37c0134:[()=>Promise.all([t.e(532),t.e(8592),t.e(477),t.e(6338)]).then(t.bind(t,37374)),"@site/docs/implementation-guides/pointers/dereference-logic/generating-regions.mdx",37374],d3f864f6:[()=>t.e(2095).then(t.t.bind(t,98870,19)),"@generated/docusaurus-plugin-content-docs/default/p/format-docs-d4e.json",98870],d6a63adc:[()=>Promise.all([t.e(8592),t.e(6454)]).then(t.bind(t,1594)),"@site/spec/overview.mdx",1594],dc0c7504:[()=>Promise.all([t.e(532),t.e(8592),t.e(477),t.e(7626)]).then(t.bind(t,33552)),"@site/docs/implementation-guides/pointers/types/data-and-machines.mdx",33552],dd631578:[()=>t.e(9684).then(t.t.bind(t,20366,19)),"@generated/docusaurus-plugin-content-docs/spec/p/format-spec-category-regions-c51.json",20366],dfd51a51:[()=>t.e(4035).then(t.t.bind(t,75320,19)),"@generated/docusaurus-plugin-content-docs/spec/__plugin.json",75320],e8328cbe:[()=>Promise.all([t.e(532),t.e(8592),t.e(5491)]).then(t.bind(t,1380)),"@site/spec/pointer/collection/group.mdx",1380],e856c143:[()=>Promise.all([t.e(8592),t.e(683)]).then(t.bind(t,94647)),"@site/src/pages/status.mdx",94647],ee3e0fff:[()=>Promise.all([t.e(532),t.e(8592),t.e(9437)]).then(t.bind(t,5641)),"@site/spec/pointer/expression.mdx",5641],f210e6d3:[()=>Promise.all([t.e(532),t.e(8592),t.e(1512)]).then(t.bind(t,32562)),"@site/spec/type/elementary/bool.mdx",32562],f2745fbe:[()=>Promise.all([t.e(532),t.e(8592),t.e(5548)]).then(t.bind(t,11786)),"@site/spec/type/elementary/ufixed.mdx",11786]};var s=t(52322);function l(e){let{error:n,retry:t,pastDelay:r}=e;return n?(0,s.jsxs)("div",{style:{textAlign:"center",color:"#fff",backgroundColor:"#fa383e",borderColor:"#fa383e",borderStyle:"solid",borderRadius:"0.25rem",borderWidth:"1px",boxSizing:"border-box",display:"block",padding:"1rem",flex:"0 0 50%",marginLeft:"25%",marginRight:"25%",marginTop:"5rem",maxWidth:"50%",width:"100%"},children:[(0,s.jsx)("p",{children:String(n)}),(0,s.jsx)("div",{children:(0,s.jsx)("button",{type:"button",onClick:t,children:"Retry"})})]}):r?(0,s.jsx)("div",{style:{display:"flex",justifyContent:"center",alignItems:"center",height:"100vh"},children:(0,s.jsx)("svg",{id:"loader",style:{width:128,height:110,position:"absolute",top:"calc(100vh - 64%)"},viewBox:"0 0 45 45",xmlns:"http://www.w3.org/2000/svg",stroke:"#61dafb",children:(0,s.jsxs)("g",{fill:"none",fillRule:"evenodd",transform:"translate(1 1)",strokeWidth:"2",children:[(0,s.jsxs)("circle",{cx:"22",cy:"22",r:"6",strokeOpacity:"0",children:[(0,s.jsx)("animate",{attributeName:"r",begin:"1.5s",dur:"3s",values:"6;22",calcMode:"linear",repeatCount:"indefinite"}),(0,s.jsx)("animate",{attributeName:"stroke-opacity",begin:"1.5s",dur:"3s",values:"1;0",calcMode:"linear",repeatCount:"indefinite"}),(0,s.jsx)("animate",{attributeName:"stroke-width",begin:"1.5s",dur:"3s",values:"2;0",calcMode:"linear",repeatCount:"indefinite"})]}),(0,s.jsxs)("circle",{cx:"22",cy:"22",r:"6",strokeOpacity:"0",children:[(0,s.jsx)("animate",{attributeName:"r",begin:"3s",dur:"3s",values:"6;22",calcMode:"linear",repeatCount:"indefinite"}),(0,s.jsx)("animate",{attributeName:"stroke-opacity",begin:"3s",dur:"3s",values:"1;0",calcMode:"linear",repeatCount:"indefinite"}),(0,s.jsx)("animate",{attributeName:"stroke-width",begin:"3s",dur:"3s",values:"2;0",calcMode:"linear",repeatCount:"indefinite"})]}),(0,s.jsx)("circle",{cx:"22",cy:"22",r:"8",children:(0,s.jsx)("animate",{attributeName:"r",begin:"0s",dur:"1.5s",values:"6;1;2;3;4;5;6",calcMode:"linear",repeatCount:"indefinite"})})]})})}):null}var c=t(20805),d=t(71313);function u(e,n){if("*"===e)return o()({loading:l,loader:()=>t.e(12).then(t.bind(t,30012)),modules:["@theme/NotFound"],webpack:()=>[30012],render(e,n){const t=e.default;return(0,s.jsx)(d.z,{value:{plugin:{name:"native",id:"default"}},children:(0,s.jsx)(t,{...n})})}});const r=a[`${e}-${n}`],u={},p=[],f=[],m=(0,c.Z)(r);return Object.entries(m).forEach((e=>{let[n,t]=e;const r=i[t];r&&(u[n]=r[0],p.push(r[1]),f.push(r[2]))})),o().Map({loading:l,loader:u,modules:p,webpack:()=>f,render(n,t){const o=JSON.parse(JSON.stringify(r));Object.entries(n).forEach((n=>{let[t,r]=n;const a=r.default;if(!a)throw new Error(`The page component at ${e} doesn't have a default export. This makes it impossible to render anything. Consider default-exporting a React component.`);"object"!=typeof a&&"function"!=typeof a||Object.keys(r).filter((e=>"default"!==e)).forEach((e=>{a[e]=r[e]}));let i=o;const s=t.split(".");s.slice(0,-1).forEach((e=>{i=i[e]})),i[s[s.length-1]]=a}));const a=o.__comp;delete o.__comp;const i=o.__context;delete o.__context;const l=o.__props;return delete o.__props,(0,s.jsx)(d.z,{value:i,children:(0,s.jsx)(a,{...o,...l,...t})})}})}const p=[{path:"/format/home/",component:u("/format/home/","8f8"),exact:!0},{path:"/format/status",component:u("/format/status","d6d"),exact:!0},{path:"/format/docs",component:u("/format/docs","2fd"),routes:[{path:"/format/docs",component:u("/format/docs","2d0"),routes:[{path:"/format/docs",component:u("/format/docs","764"),routes:[{path:"/format/docs/category/dereferencing-pointers",component:u("/format/docs/category/dereferencing-pointers","b93"),exact:!0,sidebar:"docsSidebar"},{path:"/format/docs/category/implementation-guides",component:u("/format/docs/category/implementation-guides","1ee"),exact:!0,sidebar:"docsSidebar"},{path:"/format/docs/category/prototype-sketches",component:u("/format/docs/category/prototype-sketches","809"),exact:!0,sidebar:"docsSidebar"},{path:"/format/docs/implementation-guides/pointers/dereference-logic/",component:u("/format/docs/implementation-guides/pointers/dereference-logic/","cb8"),exact:!0,sidebar:"docsSidebar"},{path:"/format/docs/implementation-guides/pointers/dereference-logic/generating-regions",component:u("/format/docs/implementation-guides/pointers/dereference-logic/generating-regions","8e9"),exact:!0,sidebar:"docsSidebar"},{path:"/format/docs/implementation-guides/pointers/dereference-logic/making-regions-concrete",component:u("/format/docs/implementation-guides/pointers/dereference-logic/making-regions-concrete","1e7"),exact:!0,sidebar:"docsSidebar"},{path:"/format/docs/implementation-guides/pointers/dereference-logic/summary",component:u("/format/docs/implementation-guides/pointers/dereference-logic/summary","ba3"),exact:!0,sidebar:"docsSidebar"},{path:"/format/docs/implementation-guides/pointers/evaluating-expressions",component:u("/format/docs/implementation-guides/pointers/evaluating-expressions","ed9"),exact:!0,sidebar:"docsSidebar"},{path:"/format/docs/implementation-guides/pointers/overview",component:u("/format/docs/implementation-guides/pointers/overview","87e"),exact:!0,sidebar:"docsSidebar"},{path:"/format/docs/implementation-guides/pointers/reading-from-regions",component:u("/format/docs/implementation-guides/pointers/reading-from-regions","109"),exact:!0,sidebar:"docsSidebar"},{path:"/format/docs/implementation-guides/pointers/types/",component:u("/format/docs/implementation-guides/pointers/types/","e07"),exact:!0,sidebar:"docsSidebar"},{path:"/format/docs/implementation-guides/pointers/types/cursors",component:u("/format/docs/implementation-guides/pointers/types/cursors","6a3"),exact:!0,sidebar:"docsSidebar"},{path:"/format/docs/implementation-guides/pointers/types/data-and-machines",component:u("/format/docs/implementation-guides/pointers/types/data-and-machines","34a"),exact:!0,sidebar:"docsSidebar"},{path:"/format/docs/implementation-guides/pointers/types/pointer-types",component:u("/format/docs/implementation-guides/pointers/types/pointer-types","fee"),exact:!0,sidebar:"docsSidebar"},{path:"/format/docs/known-challenges",component:u("/format/docs/known-challenges","5aa"),exact:!0,sidebar:"docsSidebar"},{path:"/format/docs/overview",component:u("/format/docs/overview","ff5"),exact:!0,sidebar:"docsSidebar"},{path:"/format/docs/sketches/layout",component:u("/format/docs/sketches/layout","926"),exact:!0,sidebar:"docsSidebar"},{path:"/format/docs/sketches/prototype",component:u("/format/docs/sketches/prototype","9b3"),exact:!0,sidebar:"docsSidebar"}]}]}]},{path:"/format/spec",component:u("/format/spec","eb4"),routes:[{path:"/format/spec",component:u("/format/spec","e98"),routes:[{path:"/format/spec",component:u("/format/spec","f53"),routes:[{path:"/format/spec/category/collections",component:u("/format/spec/category/collections","d7d"),exact:!0,sidebar:"docsSidebar"},{path:"/format/spec/category/complex-types",component:u("/format/spec/category/complex-types","8c2"),exact:!0,sidebar:"docsSidebar"},{path:"/format/spec/category/elementary-types",component:u("/format/spec/category/elementary-types","ed4"),exact:!0,sidebar:"docsSidebar"},{path:"/format/spec/category/ethdebugformatmaterials",component:u("/format/spec/category/ethdebugformatmaterials","649"),exact:!0,sidebar:"docsSidebar"},{path:"/format/spec/category/ethdebugformatpointer",component:u("/format/spec/category/ethdebugformatpointer","583"),exact:!0,sidebar:"docsSidebar"},{path:"/format/spec/category/ethdebugformattype",component:u("/format/spec/category/ethdebugformattype","d15"),exact:!0,sidebar:"docsSidebar"},{path:"/format/spec/category/regions",component:u("/format/spec/category/regions","a79"),exact:!0,sidebar:"docsSidebar"},{path:"/format/spec/materials/compilation",component:u("/format/spec/materials/compilation","d27"),exact:!0,sidebar:"docsSidebar"},{path:"/format/spec/materials/id",component:u("/format/spec/materials/id","672"),exact:!0,sidebar:"docsSidebar"},{path:"/format/spec/materials/overview",component:u("/format/spec/materials/overview","1ec"),exact:!0,sidebar:"docsSidebar"},{path:"/format/spec/materials/source",component:u("/format/spec/materials/source","73e"),exact:!0,sidebar:"docsSidebar"},{path:"/format/spec/materials/source-range",component:u("/format/spec/materials/source-range","1d1"),exact:!0,sidebar:"docsSidebar"},{path:"/format/spec/overview",component:u("/format/spec/overview","d74"),exact:!0,sidebar:"docsSidebar"},{path:"/format/spec/pointer/",component:u("/format/spec/pointer/","ac2"),exact:!0,sidebar:"docsSidebar"},{path:"/format/spec/pointer/collection/",component:u("/format/spec/pointer/collection/","204"),exact:!0,sidebar:"docsSidebar"},{path:"/format/spec/pointer/collection/conditional",component:u("/format/spec/pointer/collection/conditional","f89"),exact:!0,sidebar:"docsSidebar"},{path:"/format/spec/pointer/collection/group",component:u("/format/spec/pointer/collection/group","60f"),exact:!0,sidebar:"docsSidebar"},{path:"/format/spec/pointer/collection/list",component:u("/format/spec/pointer/collection/list","e12"),exact:!0,sidebar:"docsSidebar"},{path:"/format/spec/pointer/collection/scope",component:u("/format/spec/pointer/collection/scope","6af"),exact:!0,sidebar:"docsSidebar"},{path:"/format/spec/pointer/concepts",component:u("/format/spec/pointer/concepts","4f7"),exact:!0,sidebar:"docsSidebar"},{path:"/format/spec/pointer/expression",component:u("/format/spec/pointer/expression","38a"),exact:!0,sidebar:"docsSidebar"},{path:"/format/spec/pointer/overview",component:u("/format/spec/pointer/overview","20e"),exact:!0,sidebar:"docsSidebar"},{path:"/format/spec/pointer/region/",component:u("/format/spec/pointer/region/","a75"),exact:!0,sidebar:"docsSidebar"},{path:"/format/spec/pointer/region/base",component:u("/format/spec/pointer/region/base","2ed"),exact:!0,sidebar:"docsSidebar"},{path:"/format/spec/pointer/region/location/calldata",component:u("/format/spec/pointer/region/location/calldata","352"),exact:!0,sidebar:"docsSidebar"},{path:"/format/spec/pointer/region/location/code",component:u("/format/spec/pointer/region/location/code","bde"),exact:!0,sidebar:"docsSidebar"},{path:"/format/spec/pointer/region/location/memory",component:u("/format/spec/pointer/region/location/memory","d08"),exact:!0,sidebar:"docsSidebar"},{path:"/format/spec/pointer/region/location/returndata",component:u("/format/spec/pointer/region/location/returndata","424"),exact:!0,sidebar:"docsSidebar"},{path:"/format/spec/pointer/region/location/stack",component:u("/format/spec/pointer/region/location/stack","08f"),exact:!0,sidebar:"docsSidebar"},{path:"/format/spec/pointer/region/location/storage",component:u("/format/spec/pointer/region/location/storage","a40"),exact:!0,sidebar:"docsSidebar"},{path:"/format/spec/pointer/region/location/transient",component:u("/format/spec/pointer/region/location/transient","3e8"),exact:!0,sidebar:"docsSidebar"},{path:"/format/spec/pointer/region/scheme/segment",component:u("/format/spec/pointer/region/scheme/segment","acf"),exact:!0,sidebar:"docsSidebar"},{path:"/format/spec/pointer/region/scheme/slice",component:u("/format/spec/pointer/region/scheme/slice","481"),exact:!0,sidebar:"docsSidebar"},{path:"/format/spec/type/",component:u("/format/spec/type/","ff8"),exact:!0,sidebar:"docsSidebar"},{path:"/format/spec/type/base",component:u("/format/spec/type/base","663"),exact:!0,sidebar:"docsSidebar"},{path:"/format/spec/type/complex/alias",component:u("/format/spec/type/complex/alias","4d3"),exact:!0,sidebar:"docsSidebar"},{path:"/format/spec/type/complex/array",component:u("/format/spec/type/complex/array","3bd"),exact:!0,sidebar:"docsSidebar"},{path:"/format/spec/type/complex/function",component:u("/format/spec/type/complex/function","51d"),exact:!0,sidebar:"docsSidebar"},{path:"/format/spec/type/complex/mapping",component:u("/format/spec/type/complex/mapping","23e"),exact:!0,sidebar:"docsSidebar"},{path:"/format/spec/type/complex/struct",component:u("/format/spec/type/complex/struct","75b"),exact:!0,sidebar:"docsSidebar"},{path:"/format/spec/type/complex/tuple",component:u("/format/spec/type/complex/tuple","c0b"),exact:!0,sidebar:"docsSidebar"},{path:"/format/spec/type/concepts",component:u("/format/spec/type/concepts","e7a"),exact:!0,sidebar:"docsSidebar"},{path:"/format/spec/type/elementary/address",component:u("/format/spec/type/elementary/address","5cc"),exact:!0,sidebar:"docsSidebar"},{path:"/format/spec/type/elementary/bool",component:u("/format/spec/type/elementary/bool","fc0"),exact:!0,sidebar:"docsSidebar"},{path:"/format/spec/type/elementary/bytes",component:u("/format/spec/type/elementary/bytes","2b6"),exact:!0,sidebar:"docsSidebar"},{path:"/format/spec/type/elementary/contract",component:u("/format/spec/type/elementary/contract","571"),exact:!0,sidebar:"docsSidebar"},{path:"/format/spec/type/elementary/enum",component:u("/format/spec/type/elementary/enum","cdd"),exact:!0,sidebar:"docsSidebar"},{path:"/format/spec/type/elementary/fixed",component:u("/format/spec/type/elementary/fixed","3d7"),exact:!0,sidebar:"docsSidebar"},{path:"/format/spec/type/elementary/int",component:u("/format/spec/type/elementary/int","09e"),exact:!0,sidebar:"docsSidebar"},{path:"/format/spec/type/elementary/string",component:u("/format/spec/type/elementary/string","c22"),exact:!0,sidebar:"docsSidebar"},{path:"/format/spec/type/elementary/ufixed",component:u("/format/spec/type/elementary/ufixed","c61"),exact:!0,sidebar:"docsSidebar"},{path:"/format/spec/type/elementary/uint",component:u("/format/spec/type/elementary/uint","6ea"),exact:!0,sidebar:"docsSidebar"},{path:"/format/spec/type/overview",component:u("/format/spec/type/overview","101"),exact:!0,sidebar:"docsSidebar"}]}]}]},{path:"/format/",component:u("/format/","610"),exact:!0},{path:"*",component:u("*")}]},14410:(e,n,t)=>{"use strict";t.d(n,{lX:()=>x,q_:()=>_,ob:()=>f,PP:()=>j,Ep:()=>p});var r=t(7896);function o(e){return"/"===e.charAt(0)}function a(e,n){for(var t=n,r=t+1,o=e.length;r<o;t+=1,r+=1)e[t]=e[r];e.pop()}const i=function(e,n){void 0===n&&(n="");var t,r=e&&e.split("/")||[],i=n&&n.split("/")||[],s=e&&o(e),l=n&&o(n),c=s||l;if(e&&o(e)?i=r:r.length&&(i.pop(),i=i.concat(r)),!i.length)return"/";if(i.length){var d=i[i.length-1];t="."===d||".."===d||""===d}else t=!1;for(var u=0,p=i.length;p>=0;p--){var f=i[p];"."===f?a(i,p):".."===f?(a(i,p),u++):u&&(a(i,p),u--)}if(!c)for(;u--;u)i.unshift("..");!c||""===i[0]||i[0]&&o(i[0])||i.unshift("");var m=i.join("/");return t&&"/"!==m.substr(-1)&&(m+="/"),m};var s=t(10362);function l(e){return"/"===e.charAt(0)?e:"/"+e}function c(e){return"/"===e.charAt(0)?e.substr(1):e}function d(e,n){return function(e,n){return 0===e.toLowerCase().indexOf(n.toLowerCase())&&-1!=="/?#".indexOf(e.charAt(n.length))}(e,n)?e.substr(n.length):e}function u(e){return"/"===e.charAt(e.length-1)?e.slice(0,-1):e}function p(e){var n=e.pathname,t=e.search,r=e.hash,o=n||"/";return t&&"?"!==t&&(o+="?"===t.charAt(0)?t:"?"+t),r&&"#"!==r&&(o+="#"===r.charAt(0)?r:"#"+r),o}function f(e,n,t,o){var a;"string"==typeof e?(a=function(e){var n=e||"/",t="",r="",o=n.indexOf("#");-1!==o&&(r=n.substr(o),n=n.substr(0,o));var a=n.indexOf("?");return-1!==a&&(t=n.substr(a),n=n.substr(0,a)),{pathname:n,search:"?"===t?"":t,hash:"#"===r?"":r}}(e),a.state=n):(void 0===(a=(0,r.Z)({},e)).pathname&&(a.pathname=""),a.search?"?"!==a.search.charAt(0)&&(a.search="?"+a.search):a.search="",a.hash?"#"!==a.hash.charAt(0)&&(a.hash="#"+a.hash):a.hash="",void 0!==n&&void 0===a.state&&(a.state=n));try{a.pathname=decodeURI(a.pathname)}catch(s){throw s instanceof URIError?new URIError('Pathname "'+a.pathname+'" could not be decoded. This is likely caused by an invalid percent-encoding.'):s}return t&&(a.key=t),o?a.pathname?"/"!==a.pathname.charAt(0)&&(a.pathname=i(a.pathname,o.pathname)):a.pathname=o.pathname:a.pathname||(a.pathname="/"),a}function m(){var e=null;var n=[];return{setPrompt:function(n){return e=n,function(){e===n&&(e=null)}},confirmTransitionTo:function(n,t,r,o){if(null!=e){var a="function"==typeof e?e(n,t):e;"string"==typeof a?"function"==typeof r?r(a,o):o(!0):o(!1!==a)}else o(!0)},appendListener:function(e){var t=!0;function r(){t&&e.apply(void 0,arguments)}return n.push(r),function(){t=!1,n=n.filter((function(e){return e!==r}))}},notifyListeners:function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];n.forEach((function(e){return e.apply(void 0,t)}))}}}var y=!("undefined"==typeof window||!window.document||!window.document.createElement);function h(e,n){n(window.confirm(e))}var g="popstate",b="hashchange";function v(){try{return window.history.state||{}}catch(e){return{}}}function x(e){void 0===e&&(e={}),y||(0,s.Z)(!1);var n,t=window.history,o=(-1===(n=window.navigator.userAgent).indexOf("Android 2.")&&-1===n.indexOf("Android 4.0")||-1===n.indexOf("Mobile Safari")||-1!==n.indexOf("Chrome")||-1!==n.indexOf("Windows Phone"))&&window.history&&"pushState"in window.history,a=!(-1===window.navigator.userAgent.indexOf("Trident")),i=e,c=i.forceRefresh,x=void 0!==c&&c,w=i.getUserConfirmation,k=void 0===w?h:w,S=i.keyLength,E=void 0===S?6:S,C=e.basename?u(l(e.basename)):"";function _(e){var n=e||{},t=n.key,r=n.state,o=window.location,a=o.pathname+o.search+o.hash;return C&&(a=d(a,C)),f(a,r,t)}function P(){return Math.random().toString(36).substr(2,E)}var j=m();function T(e){(0,r.Z)(B,e),B.length=t.length,j.notifyListeners(B.location,B.action)}function $(e){(function(e){return void 0===e.state&&-1===navigator.userAgent.indexOf("CriOS")})(e)||N(_(e.state))}function O(){N(_(v()))}var R=!1;function N(e){if(R)R=!1,T();else{j.confirmTransitionTo(e,"POP",k,(function(n){n?T({action:"POP",location:e}):function(e){var n=B.location,t=L.indexOf(n.key);-1===t&&(t=0);var r=L.indexOf(e.key);-1===r&&(r=0);var o=t-r;o&&(R=!0,I(o))}(e)}))}}var A=_(v()),L=[A.key];function D(e){return C+p(e)}function I(e){t.go(e)}var M=0;function F(e){1===(M+=e)&&1===e?(window.addEventListener(g,$),a&&window.addEventListener(b,O)):0===M&&(window.removeEventListener(g,$),a&&window.removeEventListener(b,O))}var z=!1;var B={length:t.length,action:"POP",location:A,createHref:D,push:function(e,n){var r="PUSH",a=f(e,n,P(),B.location);j.confirmTransitionTo(a,r,k,(function(e){if(e){var n=D(a),i=a.key,s=a.state;if(o)if(t.pushState({key:i,state:s},null,n),x)window.location.href=n;else{var l=L.indexOf(B.location.key),c=L.slice(0,l+1);c.push(a.key),L=c,T({action:r,location:a})}else window.location.href=n}}))},replace:function(e,n){var r="REPLACE",a=f(e,n,P(),B.location);j.confirmTransitionTo(a,r,k,(function(e){if(e){var n=D(a),i=a.key,s=a.state;if(o)if(t.replaceState({key:i,state:s},null,n),x)window.location.replace(n);else{var l=L.indexOf(B.location.key);-1!==l&&(L[l]=a.key),T({action:r,location:a})}else window.location.replace(n)}}))},go:I,goBack:function(){I(-1)},goForward:function(){I(1)},block:function(e){void 0===e&&(e=!1);var n=j.setPrompt(e);return z||(F(1),z=!0),function(){return z&&(z=!1,F(-1)),n()}},listen:function(e){var n=j.appendListener(e);return F(1),function(){F(-1),n()}}};return B}var w="hashchange",k={hashbang:{encodePath:function(e){return"!"===e.charAt(0)?e:"!/"+c(e)},decodePath:function(e){return"!"===e.charAt(0)?e.substr(1):e}},noslash:{encodePath:c,decodePath:l},slash:{encodePath:l,decodePath:l}};function S(e){var n=e.indexOf("#");return-1===n?e:e.slice(0,n)}function E(){var e=window.location.href,n=e.indexOf("#");return-1===n?"":e.substring(n+1)}function C(e){window.location.replace(S(window.location.href)+"#"+e)}function _(e){void 0===e&&(e={}),y||(0,s.Z)(!1);var n=window.history,t=(window.navigator.userAgent.indexOf("Firefox"),e),o=t.getUserConfirmation,a=void 0===o?h:o,i=t.hashType,c=void 0===i?"slash":i,g=e.basename?u(l(e.basename)):"",b=k[c],v=b.encodePath,x=b.decodePath;function _(){var e=x(E());return g&&(e=d(e,g)),f(e)}var P=m();function j(e){(0,r.Z)(z,e),z.length=n.length,P.notifyListeners(z.location,z.action)}var T=!1,$=null;function O(){var e,n,t=E(),r=v(t);if(t!==r)C(r);else{var o=_(),i=z.location;if(!T&&(n=o,(e=i).pathname===n.pathname&&e.search===n.search&&e.hash===n.hash))return;if($===p(o))return;$=null,function(e){if(T)T=!1,j();else{var n="POP";P.confirmTransitionTo(e,n,a,(function(t){t?j({action:n,location:e}):function(e){var n=z.location,t=L.lastIndexOf(p(n));-1===t&&(t=0);var r=L.lastIndexOf(p(e));-1===r&&(r=0);var o=t-r;o&&(T=!0,D(o))}(e)}))}}(o)}}var R=E(),N=v(R);R!==N&&C(N);var A=_(),L=[p(A)];function D(e){n.go(e)}var I=0;function M(e){1===(I+=e)&&1===e?window.addEventListener(w,O):0===I&&window.removeEventListener(w,O)}var F=!1;var z={length:n.length,action:"POP",location:A,createHref:function(e){var n=document.querySelector("base"),t="";return n&&n.getAttribute("href")&&(t=S(window.location.href)),t+"#"+v(g+p(e))},push:function(e,n){var t="PUSH",r=f(e,void 0,void 0,z.location);P.confirmTransitionTo(r,t,a,(function(e){if(e){var n=p(r),o=v(g+n);if(E()!==o){$=n,function(e){window.location.hash=e}(o);var a=L.lastIndexOf(p(z.location)),i=L.slice(0,a+1);i.push(n),L=i,j({action:t,location:r})}else j()}}))},replace:function(e,n){var t="REPLACE",r=f(e,void 0,void 0,z.location);P.confirmTransitionTo(r,t,a,(function(e){if(e){var n=p(r),o=v(g+n);E()!==o&&($=n,C(o));var a=L.indexOf(p(z.location));-1!==a&&(L[a]=n),j({action:t,location:r})}}))},go:D,goBack:function(){D(-1)},goForward:function(){D(1)},block:function(e){void 0===e&&(e=!1);var n=P.setPrompt(e);return F||(M(1),F=!0),function(){return F&&(F=!1,M(-1)),n()}},listen:function(e){var n=P.appendListener(e);return M(1),function(){M(-1),n()}}};return z}function P(e,n,t){return Math.min(Math.max(e,n),t)}function j(e){void 0===e&&(e={});var n=e,t=n.getUserConfirmation,o=n.initialEntries,a=void 0===o?["/"]:o,i=n.initialIndex,s=void 0===i?0:i,l=n.keyLength,c=void 0===l?6:l,d=m();function u(e){(0,r.Z)(x,e),x.length=x.entries.length,d.notifyListeners(x.location,x.action)}function y(){return Math.random().toString(36).substr(2,c)}var h=P(s,0,a.length-1),g=a.map((function(e){return f(e,void 0,"string"==typeof e?y():e.key||y())})),b=p;function v(e){var n=P(x.index+e,0,x.entries.length-1),r=x.entries[n];d.confirmTransitionTo(r,"POP",t,(function(e){e?u({action:"POP",location:r,index:n}):u()}))}var x={length:g.length,action:"POP",location:g[h],index:h,entries:g,createHref:b,push:function(e,n){var r="PUSH",o=f(e,n,y(),x.location);d.confirmTransitionTo(o,r,t,(function(e){if(e){var n=x.index+1,t=x.entries.slice(0);t.length>n?t.splice(n,t.length-n,o):t.push(o),u({action:r,location:o,index:n,entries:t})}}))},replace:function(e,n){var r="REPLACE",o=f(e,n,y(),x.location);d.confirmTransitionTo(o,r,t,(function(e){e&&(x.entries[x.index]=o,u({action:r,location:o}))}))},go:v,goBack:function(){v(-1)},goForward:function(){v(1)},canGo:function(e){var n=x.index+e;return n>=0&&n<x.entries.length},block:function(e){return void 0===e&&(e=!1),d.setPrompt(e)},listen:function(e){return d.appendListener(e)}};return x}},73463:(e,n,t)=>{"use strict";var r=t(48570),o={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},a={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},i={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},s={};function l(e){return r.isMemo(e)?i:s[e.$$typeof]||o}s[r.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},s[r.Memo]=i;var c=Object.defineProperty,d=Object.getOwnPropertyNames,u=Object.getOwnPropertySymbols,p=Object.getOwnPropertyDescriptor,f=Object.getPrototypeOf,m=Object.prototype;e.exports=function e(n,t,r){if("string"!=typeof t){if(m){var o=f(t);o&&o!==m&&e(n,o,r)}var i=d(t);u&&(i=i.concat(u(t)));for(var s=l(n),y=l(t),h=0;h<i.length;++h){var g=i[h];if(!(a[g]||r&&r[g]||y&&y[g]||s&&s[g])){var b=p(t,g);try{c(n,g,b)}catch(v){}}}}return n}},47677:e=>{"use strict";e.exports=function(e,n,t,r,o,a,i,s){if(!e){var l;if(void 0===n)l=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var c=[t,r,o,a,i,s],d=0;(l=new Error(n.replace(/%s/g,(function(){return c[d++]})))).name="Invariant Violation"}throw l.framesToPop=1,l}}},77906:e=>{e.exports=Array.isArray||function(e){return"[object Array]"==Object.prototype.toString.call(e)}},55749:(e,n,t)=>{"use strict";t.r(n)},1964:(e,n,t)=>{"use strict";t.r(n)},92521:function(e,n,t){var r,o;r=function(){var e,n,t={version:"0.2.0"},r=t.settings={minimum:.08,easing:"ease",positionUsing:"",speed:200,trickle:!0,trickleRate:.02,trickleSpeed:800,showSpinner:!0,barSelector:'[role="bar"]',spinnerSelector:'[role="spinner"]',parent:"body",template:'<div class="bar" role="bar"><div class="peg"></div></div><div class="spinner" role="spinner"><div class="spinner-icon"></div></div>'};function o(e,n,t){return e<n?n:e>t?t:e}function a(e){return 100*(-1+e)}function i(e,n,t){var o;return(o="translate3d"===r.positionUsing?{transform:"translate3d("+a(e)+"%,0,0)"}:"translate"===r.positionUsing?{transform:"translate("+a(e)+"%,0)"}:{"margin-left":a(e)+"%"}).transition="all "+n+"ms "+t,o}t.configure=function(e){var n,t;for(n in e)void 0!==(t=e[n])&&e.hasOwnProperty(n)&&(r[n]=t);return this},t.status=null,t.set=function(e){var n=t.isStarted();e=o(e,r.minimum,1),t.status=1===e?null:e;var a=t.render(!n),c=a.querySelector(r.barSelector),d=r.speed,u=r.easing;return a.offsetWidth,s((function(n){""===r.positionUsing&&(r.positionUsing=t.getPositioningCSS()),l(c,i(e,d,u)),1===e?(l(a,{transition:"none",opacity:1}),a.offsetWidth,setTimeout((function(){l(a,{transition:"all "+d+"ms linear",opacity:0}),setTimeout((function(){t.remove(),n()}),d)}),d)):setTimeout(n,d)})),this},t.isStarted=function(){return"number"==typeof t.status},t.start=function(){t.status||t.set(0);var e=function(){setTimeout((function(){t.status&&(t.trickle(),e())}),r.trickleSpeed)};return r.trickle&&e(),this},t.done=function(e){return e||t.status?t.inc(.3+.5*Math.random()).set(1):this},t.inc=function(e){var n=t.status;return n?("number"!=typeof e&&(e=(1-n)*o(Math.random()*n,.1,.95)),n=o(n+e,0,.994),t.set(n)):t.start()},t.trickle=function(){return t.inc(Math.random()*r.trickleRate)},e=0,n=0,t.promise=function(r){return r&&"resolved"!==r.state()?(0===n&&t.start(),e++,n++,r.always((function(){0==--n?(e=0,t.done()):t.set((e-n)/e)})),this):this},t.render=function(e){if(t.isRendered())return document.getElementById("nprogress");d(document.documentElement,"nprogress-busy");var n=document.createElement("div");n.id="nprogress",n.innerHTML=r.template;var o,i=n.querySelector(r.barSelector),s=e?"-100":a(t.status||0),c=document.querySelector(r.parent);return l(i,{transition:"all 0 linear",transform:"translate3d("+s+"%,0,0)"}),r.showSpinner||(o=n.querySelector(r.spinnerSelector))&&f(o),c!=document.body&&d(c,"nprogress-custom-parent"),c.appendChild(n),n},t.remove=function(){u(document.documentElement,"nprogress-busy"),u(document.querySelector(r.parent),"nprogress-custom-parent");var e=document.getElementById("nprogress");e&&f(e)},t.isRendered=function(){return!!document.getElementById("nprogress")},t.getPositioningCSS=function(){var e=document.body.style,n="WebkitTransform"in e?"Webkit":"MozTransform"in e?"Moz":"msTransform"in e?"ms":"OTransform"in e?"O":"";return n+"Perspective"in e?"translate3d":n+"Transform"in e?"translate":"margin"};var s=function(){var e=[];function n(){var t=e.shift();t&&t(n)}return function(t){e.push(t),1==e.length&&n()}}(),l=function(){var e=["Webkit","O","Moz","ms"],n={};function t(e){return e.replace(/^-ms-/,"ms-").replace(/-([\da-z])/gi,(function(e,n){return n.toUpperCase()}))}function r(n){var t=document.body.style;if(n in t)return n;for(var r,o=e.length,a=n.charAt(0).toUpperCase()+n.slice(1);o--;)if((r=e[o]+a)in t)return r;return n}function o(e){return e=t(e),n[e]||(n[e]=r(e))}function a(e,n,t){n=o(n),e.style[n]=t}return function(e,n){var t,r,o=arguments;if(2==o.length)for(t in n)void 0!==(r=n[t])&&n.hasOwnProperty(t)&&a(e,t,r);else a(e,o[1],o[2])}}();function c(e,n){return("string"==typeof e?e:p(e)).indexOf(" "+n+" ")>=0}function d(e,n){var t=p(e),r=t+n;c(t,n)||(e.className=r.substring(1))}function u(e,n){var t,r=p(e);c(e,n)&&(t=r.replace(" "+n+" "," "),e.className=t.substring(1,t.length-1))}function p(e){return(" "+(e.className||"")+" ").replace(/\s+/gi," ")}function f(e){e&&e.parentNode&&e.parentNode.removeChild(e)}return t},void 0===(o="function"==typeof r?r.call(n,t,n,e):r)||(e.exports=o)},62363:()=>{Prism.languages.json={property:{pattern:/(^|[^\\])"(?:\\.|[^\\"\r\n])*"(?=\s*:)/,lookbehind:!0,greedy:!0},string:{pattern:/(^|[^\\])"(?:\\.|[^\\"\r\n])*"(?!\s*:)/,lookbehind:!0,greedy:!0},comment:{pattern:/\/\/.*|\/\*[\s\S]*?(?:\*\/|$)/,greedy:!0},number:/-?\b\d+(?:\.\d+)?(?:e[+-]?\d+)?\b/i,punctuation:/[{}[\],]/,operator:/:/,boolean:/\b(?:false|true)\b/,null:{pattern:/\bnull\b/,alias:"keyword"}},Prism.languages.webmanifest=Prism.languages.json},23502:()=>{!function(e){function n(e,n){return"___"+e.toUpperCase()+n+"___"}Object.defineProperties(e.languages["markup-templating"]={},{buildPlaceholders:{value:function(t,r,o,a){if(t.language===r){var i=t.tokenStack=[];t.code=t.code.replace(o,(function(e){if("function"==typeof a&&!a(e))return e;for(var o,s=i.length;-1!==t.code.indexOf(o=n(r,s));)++s;return i[s]=e,o})),t.grammar=e.languages.markup}}},tokenizePlaceholders:{value:function(t,r){if(t.language===r&&t.tokenStack){t.grammar=e.languages[r];var o=0,a=Object.keys(t.tokenStack);!function i(s){for(var l=0;l<s.length&&!(o>=a.length);l++){var c=s[l];if("string"==typeof c||c.content&&"string"==typeof c.content){var d=a[o],u=t.tokenStack[d],p="string"==typeof c?c:c.content,f=n(r,d),m=p.indexOf(f);if(m>-1){++o;var y=p.substring(0,m),h=new e.Token(r,e.tokenize(u,t.grammar),"language-"+r,u),g=p.substring(m+f.length),b=[];y&&b.push.apply(b,i([y])),b.push(h),g&&b.push.apply(b,i([g])),"string"==typeof c?s.splice.apply(s,[l,1].concat(b)):c.content=b}}else c.content&&i(c.content)}return s}(t.tokens)}}}})}(Prism)},97861:(e,n,t)=>{var r={"./prism-json":62363};function o(e){var n=a(e);return t(n)}function a(e){if(!t.o(r,e)){var n=new Error("Cannot find module '"+e+"'");throw n.code="MODULE_NOT_FOUND",n}return r[e]}o.keys=function(){return Object.keys(r)},o.resolve=a,e.exports=o,o.id=97861},68262:(e,n,t)=>{"use strict";var r=t(23586);function o(){}function a(){}a.resetWarningCache=o,e.exports=function(){function e(e,n,t,o,a,i){if(i!==r){var s=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw s.name="Invariant Violation",s}}function n(){return e}e.isRequired=e;var t={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:n,element:e,elementType:e,instanceOf:n,node:e,objectOf:n,oneOf:n,oneOfType:n,shape:n,exact:n,checkPropTypes:a,resetWarningCache:o};return t.PropTypes=t,t}},13980:(e,n,t)=>{e.exports=t(68262)()},23586:e=>{"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},52967:(e,n,t)=>{"use strict";var r=t(2784),o=t(14616);function a(e){for(var n="https://reactjs.org/docs/error-decoder.html?invariant="+e,t=1;t<arguments.length;t++)n+="&args[]="+encodeURIComponent(arguments[t]);return"Minified React error #"+e+"; visit "+n+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var i=new Set,s={};function l(e,n){c(e,n),c(e+"Capture",n)}function c(e,n){for(s[e]=n,e=0;e<n.length;e++)i.add(n[e])}var d=!("undefined"==typeof window||void 0===window.document||void 0===window.document.createElement),u=Object.prototype.hasOwnProperty,p=/^[: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]*$/,f={},m={};function y(e,n,t,r,o,a,i){this.acceptsBooleans=2===n||3===n||4===n,this.attributeName=r,this.attributeNamespace=o,this.mustUseProperty=t,this.propertyName=e,this.type=n,this.sanitizeURL=a,this.removeEmptyString=i}var h={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach((function(e){h[e]=new y(e,0,!1,e,null,!1,!1)})),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach((function(e){var n=e[0];h[n]=new y(n,1,!1,e[1],null,!1,!1)})),["contentEditable","draggable","spellCheck","value"].forEach((function(e){h[e]=new y(e,2,!1,e.toLowerCase(),null,!1,!1)})),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach((function(e){h[e]=new y(e,2,!1,e,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(e){h[e]=new y(e,3,!1,e.toLowerCase(),null,!1,!1)})),["checked","multiple","muted","selected"].forEach((function(e){h[e]=new y(e,3,!0,e,null,!1,!1)})),["capture","download"].forEach((function(e){h[e]=new y(e,4,!1,e,null,!1,!1)})),["cols","rows","size","span"].forEach((function(e){h[e]=new y(e,6,!1,e,null,!1,!1)})),["rowSpan","start"].forEach((function(e){h[e]=new y(e,5,!1,e.toLowerCase(),null,!1,!1)}));var g=/[\-:]([a-z])/g;function b(e){return e[1].toUpperCase()}function v(e,n,t,r){var o=h.hasOwnProperty(n)?h[n]:null;(null!==o?0!==o.type:r||!(2<n.length)||"o"!==n[0]&&"O"!==n[0]||"n"!==n[1]&&"N"!==n[1])&&(function(e,n,t,r){if(null==n||function(e,n,t,r){if(null!==t&&0===t.type)return!1;switch(typeof n){case"function":case"symbol":return!0;case"boolean":return!r&&(null!==t?!t.acceptsBooleans:"data-"!==(e=e.toLowerCase().slice(0,5))&&"aria-"!==e);default:return!1}}(e,n,t,r))return!0;if(r)return!1;if(null!==t)switch(t.type){case 3:return!n;case 4:return!1===n;case 5:return isNaN(n);case 6:return isNaN(n)||1>n}return!1}(n,t,o,r)&&(t=null),r||null===o?function(e){return!!u.call(m,e)||!u.call(f,e)&&(p.test(e)?m[e]=!0:(f[e]=!0,!1))}(n)&&(null===t?e.removeAttribute(n):e.setAttribute(n,""+t)):o.mustUseProperty?e[o.propertyName]=null===t?3!==o.type&&"":t:(n=o.attributeName,r=o.attributeNamespace,null===t?e.removeAttribute(n):(t=3===(o=o.type)||4===o&&!0===t?"":""+t,r?e.setAttributeNS(r,n,t):e.setAttribute(n,t))))}"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(e){var n=e.replace(g,b);h[n]=new y(n,1,!1,e,null,!1,!1)})),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach((function(e){var n=e.replace(g,b);h[n]=new y(n,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)})),["xml:base","xml:lang","xml:space"].forEach((function(e){var n=e.replace(g,b);h[n]=new y(n,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)})),["tabIndex","crossOrigin"].forEach((function(e){h[e]=new y(e,1,!1,e.toLowerCase(),null,!1,!1)})),h.xlinkHref=new y("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach((function(e){h[e]=new y(e,1,!1,e.toLowerCase(),null,!0,!0)}));var x=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,w=Symbol.for("react.element"),k=Symbol.for("react.portal"),S=Symbol.for("react.fragment"),E=Symbol.for("react.strict_mode"),C=Symbol.for("react.profiler"),_=Symbol.for("react.provider"),P=Symbol.for("react.context"),j=Symbol.for("react.forward_ref"),T=Symbol.for("react.suspense"),$=Symbol.for("react.suspense_list"),O=Symbol.for("react.memo"),R=Symbol.for("react.lazy");Symbol.for("react.scope"),Symbol.for("react.debug_trace_mode");var N=Symbol.for("react.offscreen");Symbol.for("react.legacy_hidden"),Symbol.for("react.cache"),Symbol.for("react.tracing_marker");var A=Symbol.iterator;function L(e){return null===e||"object"!=typeof e?null:"function"==typeof(e=A&&e[A]||e["@@iterator"])?e:null}var D,I=Object.assign;function M(e){if(void 0===D)try{throw Error()}catch(t){var n=t.stack.trim().match(/\n( *(at )?)/);D=n&&n[1]||""}return"\n"+D+e}var F=!1;function z(e,n){if(!e||F)return"";F=!0;var t=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(n)if(n=function(){throw Error()},Object.defineProperty(n.prototype,"props",{set:function(){throw Error()}}),"object"==typeof Reflect&&Reflect.construct){try{Reflect.construct(n,[])}catch(c){var r=c}Reflect.construct(e,[],n)}else{try{n.call()}catch(c){r=c}e.call(n.prototype)}else{try{throw Error()}catch(c){r=c}e()}}catch(c){if(c&&r&&"string"==typeof c.stack){for(var o=c.stack.split("\n"),a=r.stack.split("\n"),i=o.length-1,s=a.length-1;1<=i&&0<=s&&o[i]!==a[s];)s--;for(;1<=i&&0<=s;i--,s--)if(o[i]!==a[s]){if(1!==i||1!==s)do{if(i--,0>--s||o[i]!==a[s]){var l="\n"+o[i].replace(" at new "," at ");return e.displayName&&l.includes("<anonymous>")&&(l=l.replace("<anonymous>",e.displayName)),l}}while(1<=i&&0<=s);break}}}finally{F=!1,Error.prepareStackTrace=t}return(e=e?e.displayName||e.name:"")?M(e):""}function B(e){switch(e.tag){case 5:return M(e.type);case 16:return M("Lazy");case 13:return M("Suspense");case 19:return M("SuspenseList");case 0:case 2:case 15:return e=z(e.type,!1);case 11:return e=z(e.type.render,!1);case 1:return e=z(e.type,!0);default:return""}}function U(e){if(null==e)return null;if("function"==typeof e)return e.displayName||e.name||null;if("string"==typeof e)return e;switch(e){case S:return"Fragment";case k:return"Portal";case C:return"Profiler";case E:return"StrictMode";case T:return"Suspense";case $:return"SuspenseList"}if("object"==typeof e)switch(e.$$typeof){case P:return(e.displayName||"Context")+".Consumer";case _:return(e._context.displayName||"Context")+".Provider";case j:var n=e.render;return(e=e.displayName)||(e=""!==(e=n.displayName||n.name||"")?"ForwardRef("+e+")":"ForwardRef"),e;case O:return null!==(n=e.displayName||null)?n:U(e.type)||"Memo";case R:n=e._payload,e=e._init;try{return U(e(n))}catch(t){}}return null}function H(e){var n=e.type;switch(e.tag){case 24:return"Cache";case 9:return(n.displayName||"Context")+".Consumer";case 10:return(n._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return e=(e=n.render).displayName||e.name||"",n.displayName||(""!==e?"ForwardRef("+e+")":"ForwardRef");case 7:return"Fragment";case 5:return n;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return U(n);case 8:return n===E?"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("function"==typeof n)return n.displayName||n.name||null;if("string"==typeof n)return n}return null}function q(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":case"object":return e;default:return""}}function V(e){var n=e.type;return(e=e.nodeName)&&"input"===e.toLowerCase()&&("checkbox"===n||"radio"===n)}function Z(e){e._valueTracker||(e._valueTracker=function(e){var n=V(e)?"checked":"value",t=Object.getOwnPropertyDescriptor(e.constructor.prototype,n),r=""+e[n];if(!e.hasOwnProperty(n)&&void 0!==t&&"function"==typeof t.get&&"function"==typeof t.set){var o=t.get,a=t.set;return Object.defineProperty(e,n,{configurable:!0,get:function(){return o.call(this)},set:function(e){r=""+e,a.call(this,e)}}),Object.defineProperty(e,n,{enumerable:t.enumerable}),{getValue:function(){return r},setValue:function(e){r=""+e},stopTracking:function(){e._valueTracker=null,delete e[n]}}}}(e))}function W(e){if(!e)return!1;var n=e._valueTracker;if(!n)return!0;var t=n.getValue(),r="";return e&&(r=V(e)?e.checked?"true":"false":e.value),(e=r)!==t&&(n.setValue(e),!0)}function G(e){if(void 0===(e=e||("undefined"!=typeof document?document:void 0)))return null;try{return e.activeElement||e.body}catch(n){return e.body}}function K(e,n){var t=n.checked;return I({},n,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:null!=t?t:e._wrapperState.initialChecked})}function Y(e,n){var t=null==n.defaultValue?"":n.defaultValue,r=null!=n.checked?n.checked:n.defaultChecked;t=q(null!=n.value?n.value:t),e._wrapperState={initialChecked:r,initialValue:t,controlled:"checkbox"===n.type||"radio"===n.type?null!=n.checked:null!=n.value}}function Q(e,n){null!=(n=n.checked)&&v(e,"checked",n,!1)}function J(e,n){Q(e,n);var t=q(n.value),r=n.type;if(null!=t)"number"===r?(0===t&&""===e.value||e.value!=t)&&(e.value=""+t):e.value!==""+t&&(e.value=""+t);else if("submit"===r||"reset"===r)return void e.removeAttribute("value");n.hasOwnProperty("value")?ee(e,n.type,t):n.hasOwnProperty("defaultValue")&&ee(e,n.type,q(n.defaultValue)),null==n.checked&&null!=n.defaultChecked&&(e.defaultChecked=!!n.defaultChecked)}function X(e,n,t){if(n.hasOwnProperty("value")||n.hasOwnProperty("defaultValue")){var r=n.type;if(!("submit"!==r&&"reset"!==r||void 0!==n.value&&null!==n.value))return;n=""+e._wrapperState.initialValue,t||n===e.value||(e.value=n),e.defaultValue=n}""!==(t=e.name)&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,""!==t&&(e.name=t)}function ee(e,n,t){"number"===n&&G(e.ownerDocument)===e||(null==t?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+t&&(e.defaultValue=""+t))}var ne=Array.isArray;function te(e,n,t,r){if(e=e.options,n){n={};for(var o=0;o<t.length;o++)n["$"+t[o]]=!0;for(t=0;t<e.length;t++)o=n.hasOwnProperty("$"+e[t].value),e[t].selected!==o&&(e[t].selected=o),o&&r&&(e[t].defaultSelected=!0)}else{for(t=""+q(t),n=null,o=0;o<e.length;o++){if(e[o].value===t)return e[o].selected=!0,void(r&&(e[o].defaultSelected=!0));null!==n||e[o].disabled||(n=e[o])}null!==n&&(n.selected=!0)}}function re(e,n){if(null!=n.dangerouslySetInnerHTML)throw Error(a(91));return I({},n,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function oe(e,n){var t=n.value;if(null==t){if(t=n.children,n=n.defaultValue,null!=t){if(null!=n)throw Error(a(92));if(ne(t)){if(1<t.length)throw Error(a(93));t=t[0]}n=t}null==n&&(n=""),t=n}e._wrapperState={initialValue:q(t)}}function ae(e,n){var t=q(n.value),r=q(n.defaultValue);null!=t&&((t=""+t)!==e.value&&(e.value=t),null==n.defaultValue&&e.defaultValue!==t&&(e.defaultValue=t)),null!=r&&(e.defaultValue=""+r)}function ie(e){var n=e.textContent;n===e._wrapperState.initialValue&&""!==n&&null!==n&&(e.value=n)}function se(e){switch(e){case"svg":return"http://www.w3.org/2000/svg";case"math":return"http://www.w3.org/1998/Math/MathML";default:return"http://www.w3.org/1999/xhtml"}}function le(e,n){return null==e||"http://www.w3.org/1999/xhtml"===e?se(n):"http://www.w3.org/2000/svg"===e&&"foreignObject"===n?"http://www.w3.org/1999/xhtml":e}var ce,de,ue=(de=function(e,n){if("http://www.w3.org/2000/svg"!==e.namespaceURI||"innerHTML"in e)e.innerHTML=n;else{for((ce=ce||document.createElement("div")).innerHTML="<svg>"+n.valueOf().toString()+"</svg>",n=ce.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;n.firstChild;)e.appendChild(n.firstChild)}},"undefined"!=typeof MSApp&&MSApp.execUnsafeLocalFunction?function(e,n,t,r){MSApp.execUnsafeLocalFunction((function(){return de(e,n)}))}:de);function pe(e,n){if(n){var t=e.firstChild;if(t&&t===e.lastChild&&3===t.nodeType)return void(t.nodeValue=n)}e.textContent=n}var fe={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},me=["Webkit","ms","Moz","O"];function ye(e,n,t){return null==n||"boolean"==typeof n||""===n?"":t||"number"!=typeof n||0===n||fe.hasOwnProperty(e)&&fe[e]?(""+n).trim():n+"px"}function he(e,n){for(var t in e=e.style,n)if(n.hasOwnProperty(t)){var r=0===t.indexOf("--"),o=ye(t,n[t],r);"float"===t&&(t="cssFloat"),r?e.setProperty(t,o):e[t]=o}}Object.keys(fe).forEach((function(e){me.forEach((function(n){n=n+e.charAt(0).toUpperCase()+e.substring(1),fe[n]=fe[e]}))}));var ge=I({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 be(e,n){if(n){if(ge[e]&&(null!=n.children||null!=n.dangerouslySetInnerHTML))throw Error(a(137,e));if(null!=n.dangerouslySetInnerHTML){if(null!=n.children)throw Error(a(60));if("object"!=typeof n.dangerouslySetInnerHTML||!("__html"in n.dangerouslySetInnerHTML))throw Error(a(61))}if(null!=n.style&&"object"!=typeof n.style)throw Error(a(62))}}function ve(e,n){if(-1===e.indexOf("-"))return"string"==typeof n.is;switch(e){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 xe=null;function we(e){return(e=e.target||e.srcElement||window).correspondingUseElement&&(e=e.correspondingUseElement),3===e.nodeType?e.parentNode:e}var ke=null,Se=null,Ee=null;function Ce(e){if(e=xo(e)){if("function"!=typeof ke)throw Error(a(280));var n=e.stateNode;n&&(n=ko(n),ke(e.stateNode,e.type,n))}}function _e(e){Se?Ee?Ee.push(e):Ee=[e]:Se=e}function Pe(){if(Se){var e=Se,n=Ee;if(Ee=Se=null,Ce(e),n)for(e=0;e<n.length;e++)Ce(n[e])}}function je(e,n){return e(n)}function Te(){}var $e=!1;function Oe(e,n,t){if($e)return e(n,t);$e=!0;try{return je(e,n,t)}finally{$e=!1,(null!==Se||null!==Ee)&&(Te(),Pe())}}function Re(e,n){var t=e.stateNode;if(null===t)return null;var r=ko(t);if(null===r)return null;t=r[n];e:switch(n){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(r=!r.disabled)||(r=!("button"===(e=e.type)||"input"===e||"select"===e||"textarea"===e)),e=!r;break e;default:e=!1}if(e)return null;if(t&&"function"!=typeof t)throw Error(a(231,n,typeof t));return t}var Ne=!1;if(d)try{var Ae={};Object.defineProperty(Ae,"passive",{get:function(){Ne=!0}}),window.addEventListener("test",Ae,Ae),window.removeEventListener("test",Ae,Ae)}catch(de){Ne=!1}function Le(e,n,t,r,o,a,i,s,l){var c=Array.prototype.slice.call(arguments,3);try{n.apply(t,c)}catch(d){this.onError(d)}}var De=!1,Ie=null,Me=!1,Fe=null,ze={onError:function(e){De=!0,Ie=e}};function Be(e,n,t,r,o,a,i,s,l){De=!1,Ie=null,Le.apply(ze,arguments)}function Ue(e){var n=e,t=e;if(e.alternate)for(;n.return;)n=n.return;else{e=n;do{0!=(4098&(n=e).flags)&&(t=n.return),e=n.return}while(e)}return 3===n.tag?t:null}function He(e){if(13===e.tag){var n=e.memoizedState;if(null===n&&(null!==(e=e.alternate)&&(n=e.memoizedState)),null!==n)return n.dehydrated}return null}function qe(e){if(Ue(e)!==e)throw Error(a(188))}function Ve(e){return null!==(e=function(e){var n=e.alternate;if(!n){if(null===(n=Ue(e)))throw Error(a(188));return n!==e?null:e}for(var t=e,r=n;;){var o=t.return;if(null===o)break;var i=o.alternate;if(null===i){if(null!==(r=o.return)){t=r;continue}break}if(o.child===i.child){for(i=o.child;i;){if(i===t)return qe(o),e;if(i===r)return qe(o),n;i=i.sibling}throw Error(a(188))}if(t.return!==r.return)t=o,r=i;else{for(var s=!1,l=o.child;l;){if(l===t){s=!0,t=o,r=i;break}if(l===r){s=!0,r=o,t=i;break}l=l.sibling}if(!s){for(l=i.child;l;){if(l===t){s=!0,t=i,r=o;break}if(l===r){s=!0,r=i,t=o;break}l=l.sibling}if(!s)throw Error(a(189))}}if(t.alternate!==r)throw Error(a(190))}if(3!==t.tag)throw Error(a(188));return t.stateNode.current===t?e:n}(e))?Ze(e):null}function Ze(e){if(5===e.tag||6===e.tag)return e;for(e=e.child;null!==e;){var n=Ze(e);if(null!==n)return n;e=e.sibling}return null}var We=o.unstable_scheduleCallback,Ge=o.unstable_cancelCallback,Ke=o.unstable_shouldYield,Ye=o.unstable_requestPaint,Qe=o.unstable_now,Je=o.unstable_getCurrentPriorityLevel,Xe=o.unstable_ImmediatePriority,en=o.unstable_UserBlockingPriority,nn=o.unstable_NormalPriority,tn=o.unstable_LowPriority,rn=o.unstable_IdlePriority,on=null,an=null;var sn=Math.clz32?Math.clz32:function(e){return e>>>=0,0===e?32:31-(ln(e)/cn|0)|0},ln=Math.log,cn=Math.LN2;var dn=64,un=4194304;function pn(e){switch(e&-e){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 4194240&e;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return 130023424&e;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return e}}function fn(e,n){var t=e.pendingLanes;if(0===t)return 0;var r=0,o=e.suspendedLanes,a=e.pingedLanes,i=268435455&t;if(0!==i){var s=i&~o;0!==s?r=pn(s):0!==(a&=i)&&(r=pn(a))}else 0!==(i=t&~o)?r=pn(i):0!==a&&(r=pn(a));if(0===r)return 0;if(0!==n&&n!==r&&0==(n&o)&&((o=r&-r)>=(a=n&-n)||16===o&&0!=(4194240&a)))return n;if(0!=(4&r)&&(r|=16&t),0!==(n=e.entangledLanes))for(e=e.entanglements,n&=r;0<n;)o=1<<(t=31-sn(n)),r|=e[t],n&=~o;return r}function mn(e,n){switch(e){case 1:case 2:case 4:return n+250;case 8:case 16:case 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 n+5e3;default:return-1}}function yn(e){return 0!==(e=-1073741825&e.pendingLanes)?e:1073741824&e?1073741824:0}function hn(){var e=dn;return 0==(4194240&(dn<<=1))&&(dn=64),e}function gn(e){for(var n=[],t=0;31>t;t++)n.push(e);return n}function bn(e,n,t){e.pendingLanes|=n,536870912!==n&&(e.suspendedLanes=0,e.pingedLanes=0),(e=e.eventTimes)[n=31-sn(n)]=t}function vn(e,n){var t=e.entangledLanes|=n;for(e=e.entanglements;t;){var r=31-sn(t),o=1<<r;o&n|e[r]&n&&(e[r]|=n),t&=~o}}var xn=0;function wn(e){return 1<(e&=-e)?4<e?0!=(268435455&e)?16:536870912:4:1}var kn,Sn,En,Cn,_n,Pn=!1,jn=[],Tn=null,$n=null,On=null,Rn=new Map,Nn=new Map,An=[],Ln="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset submit".split(" ");function Dn(e,n){switch(e){case"focusin":case"focusout":Tn=null;break;case"dragenter":case"dragleave":$n=null;break;case"mouseover":case"mouseout":On=null;break;case"pointerover":case"pointerout":Rn.delete(n.pointerId);break;case"gotpointercapture":case"lostpointercapture":Nn.delete(n.pointerId)}}function In(e,n,t,r,o,a){return null===e||e.nativeEvent!==a?(e={blockedOn:n,domEventName:t,eventSystemFlags:r,nativeEvent:a,targetContainers:[o]},null!==n&&(null!==(n=xo(n))&&Sn(n)),e):(e.eventSystemFlags|=r,n=e.targetContainers,null!==o&&-1===n.indexOf(o)&&n.push(o),e)}function Mn(e){var n=vo(e.target);if(null!==n){var t=Ue(n);if(null!==t)if(13===(n=t.tag)){if(null!==(n=He(t)))return e.blockedOn=n,void _n(e.priority,(function(){En(t)}))}else if(3===n&&t.stateNode.current.memoizedState.isDehydrated)return void(e.blockedOn=3===t.tag?t.stateNode.containerInfo:null)}e.blockedOn=null}function Fn(e){if(null!==e.blockedOn)return!1;for(var n=e.targetContainers;0<n.length;){var t=Yn(e.domEventName,e.eventSystemFlags,n[0],e.nativeEvent);if(null!==t)return null!==(n=xo(t))&&Sn(n),e.blockedOn=t,!1;var r=new(t=e.nativeEvent).constructor(t.type,t);xe=r,t.target.dispatchEvent(r),xe=null,n.shift()}return!0}function zn(e,n,t){Fn(e)&&t.delete(n)}function Bn(){Pn=!1,null!==Tn&&Fn(Tn)&&(Tn=null),null!==$n&&Fn($n)&&($n=null),null!==On&&Fn(On)&&(On=null),Rn.forEach(zn),Nn.forEach(zn)}function Un(e,n){e.blockedOn===n&&(e.blockedOn=null,Pn||(Pn=!0,o.unstable_scheduleCallback(o.unstable_NormalPriority,Bn)))}function Hn(e){function n(n){return Un(n,e)}if(0<jn.length){Un(jn[0],e);for(var t=1;t<jn.length;t++){var r=jn[t];r.blockedOn===e&&(r.blockedOn=null)}}for(null!==Tn&&Un(Tn,e),null!==$n&&Un($n,e),null!==On&&Un(On,e),Rn.forEach(n),Nn.forEach(n),t=0;t<An.length;t++)(r=An[t]).blockedOn===e&&(r.blockedOn=null);for(;0<An.length&&null===(t=An[0]).blockedOn;)Mn(t),null===t.blockedOn&&An.shift()}var qn=x.ReactCurrentBatchConfig,Vn=!0;function Zn(e,n,t,r){var o=xn,a=qn.transition;qn.transition=null;try{xn=1,Gn(e,n,t,r)}finally{xn=o,qn.transition=a}}function Wn(e,n,t,r){var o=xn,a=qn.transition;qn.transition=null;try{xn=4,Gn(e,n,t,r)}finally{xn=o,qn.transition=a}}function Gn(e,n,t,r){if(Vn){var o=Yn(e,n,t,r);if(null===o)qr(e,n,r,Kn,t),Dn(e,r);else if(function(e,n,t,r,o){switch(n){case"focusin":return Tn=In(Tn,e,n,t,r,o),!0;case"dragenter":return $n=In($n,e,n,t,r,o),!0;case"mouseover":return On=In(On,e,n,t,r,o),!0;case"pointerover":var a=o.pointerId;return Rn.set(a,In(Rn.get(a)||null,e,n,t,r,o)),!0;case"gotpointercapture":return a=o.pointerId,Nn.set(a,In(Nn.get(a)||null,e,n,t,r,o)),!0}return!1}(o,e,n,t,r))r.stopPropagation();else if(Dn(e,r),4&n&&-1<Ln.indexOf(e)){for(;null!==o;){var a=xo(o);if(null!==a&&kn(a),null===(a=Yn(e,n,t,r))&&qr(e,n,r,Kn,t),a===o)break;o=a}null!==o&&r.stopPropagation()}else qr(e,n,r,null,t)}}var Kn=null;function Yn(e,n,t,r){if(Kn=null,null!==(e=vo(e=we(r))))if(null===(n=Ue(e)))e=null;else if(13===(t=n.tag)){if(null!==(e=He(n)))return e;e=null}else if(3===t){if(n.stateNode.current.memoizedState.isDehydrated)return 3===n.tag?n.stateNode.containerInfo:null;e=null}else n!==e&&(e=null);return Kn=e,null}function Qn(e){switch(e){case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"resize":case"seeked":case"submit":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return 1;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"scroll":case"toggle":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 4;case"message":switch(Je()){case Xe:return 1;case en:return 4;case nn:case tn:return 16;case rn:return 536870912;default:return 16}default:return 16}}var Jn=null,Xn=null,et=null;function nt(){if(et)return et;var e,n,t=Xn,r=t.length,o="value"in Jn?Jn.value:Jn.textContent,a=o.length;for(e=0;e<r&&t[e]===o[e];e++);var i=r-e;for(n=1;n<=i&&t[r-n]===o[a-n];n++);return et=o.slice(e,1<n?1-n:void 0)}function tt(e){var n=e.keyCode;return"charCode"in e?0===(e=e.charCode)&&13===n&&(e=13):e=n,10===e&&(e=13),32<=e||13===e?e:0}function rt(){return!0}function ot(){return!1}function at(e){function n(n,t,r,o,a){for(var i in this._reactName=n,this._targetInst=r,this.type=t,this.nativeEvent=o,this.target=a,this.currentTarget=null,e)e.hasOwnProperty(i)&&(n=e[i],this[i]=n?n(o):o[i]);return this.isDefaultPrevented=(null!=o.defaultPrevented?o.defaultPrevented:!1===o.returnValue)?rt:ot,this.isPropagationStopped=ot,this}return I(n.prototype,{preventDefault:function(){this.defaultPrevented=!0;var e=this.nativeEvent;e&&(e.preventDefault?e.preventDefault():"unknown"!=typeof e.returnValue&&(e.returnValue=!1),this.isDefaultPrevented=rt)},stopPropagation:function(){var e=this.nativeEvent;e&&(e.stopPropagation?e.stopPropagation():"unknown"!=typeof e.cancelBubble&&(e.cancelBubble=!0),this.isPropagationStopped=rt)},persist:function(){},isPersistent:rt}),n}var it,st,lt,ct={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},dt=at(ct),ut=I({},ct,{view:0,detail:0}),pt=at(ut),ft=I({},ut,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Ct,button:0,buttons:0,relatedTarget:function(e){return void 0===e.relatedTarget?e.fromElement===e.srcElement?e.toElement:e.fromElement:e.relatedTarget},movementX:function(e){return"movementX"in e?e.movementX:(e!==lt&&(lt&&"mousemove"===e.type?(it=e.screenX-lt.screenX,st=e.screenY-lt.screenY):st=it=0,lt=e),it)},movementY:function(e){return"movementY"in e?e.movementY:st}}),mt=at(ft),yt=at(I({},ft,{dataTransfer:0})),ht=at(I({},ut,{relatedTarget:0})),gt=at(I({},ct,{animationName:0,elapsedTime:0,pseudoElement:0})),bt=I({},ct,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),vt=at(bt),xt=at(I({},ct,{data:0})),wt={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},kt={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"},St={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function Et(e){var n=this.nativeEvent;return n.getModifierState?n.getModifierState(e):!!(e=St[e])&&!!n[e]}function Ct(){return Et}var _t=I({},ut,{key:function(e){if(e.key){var n=wt[e.key]||e.key;if("Unidentified"!==n)return n}return"keypress"===e.type?13===(e=tt(e))?"Enter":String.fromCharCode(e):"keydown"===e.type||"keyup"===e.type?kt[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Ct,charCode:function(e){return"keypress"===e.type?tt(e):0},keyCode:function(e){return"keydown"===e.type||"keyup"===e.type?e.keyCode:0},which:function(e){return"keypress"===e.type?tt(e):"keydown"===e.type||"keyup"===e.type?e.keyCode:0}}),Pt=at(_t),jt=at(I({},ft,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0})),Tt=at(I({},ut,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Ct})),$t=at(I({},ct,{propertyName:0,elapsedTime:0,pseudoElement:0})),Ot=I({},ft,{deltaX:function(e){return"deltaX"in e?e.deltaX:"wheelDeltaX"in e?-e.wheelDeltaX:0},deltaY:function(e){return"deltaY"in e?e.deltaY:"wheelDeltaY"in e?-e.wheelDeltaY:"wheelDelta"in e?-e.wheelDelta:0},deltaZ:0,deltaMode:0}),Rt=at(Ot),Nt=[9,13,27,32],At=d&&"CompositionEvent"in window,Lt=null;d&&"documentMode"in document&&(Lt=document.documentMode);var Dt=d&&"TextEvent"in window&&!Lt,It=d&&(!At||Lt&&8<Lt&&11>=Lt),Mt=String.fromCharCode(32),Ft=!1;function zt(e,n){switch(e){case"keyup":return-1!==Nt.indexOf(n.keyCode);case"keydown":return 229!==n.keyCode;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Bt(e){return"object"==typeof(e=e.detail)&&"data"in e?e.data:null}var Ut=!1;var Ht={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function qt(e){var n=e&&e.nodeName&&e.nodeName.toLowerCase();return"input"===n?!!Ht[e.type]:"textarea"===n}function Vt(e,n,t,r){_e(r),0<(n=Zr(n,"onChange")).length&&(t=new dt("onChange","change",null,t,r),e.push({event:t,listeners:n}))}var Zt=null,Wt=null;function Gt(e){Mr(e,0)}function Kt(e){if(W(wo(e)))return e}function Yt(e,n){if("change"===e)return n}var Qt=!1;if(d){var Jt;if(d){var Xt="oninput"in document;if(!Xt){var er=document.createElement("div");er.setAttribute("oninput","return;"),Xt="function"==typeof er.oninput}Jt=Xt}else Jt=!1;Qt=Jt&&(!document.documentMode||9<document.documentMode)}function nr(){Zt&&(Zt.detachEvent("onpropertychange",tr),Wt=Zt=null)}function tr(e){if("value"===e.propertyName&&Kt(Wt)){var n=[];Vt(n,Wt,e,we(e)),Oe(Gt,n)}}function rr(e,n,t){"focusin"===e?(nr(),Wt=t,(Zt=n).attachEvent("onpropertychange",tr)):"focusout"===e&&nr()}function or(e){if("selectionchange"===e||"keyup"===e||"keydown"===e)return Kt(Wt)}function ar(e,n){if("click"===e)return Kt(n)}function ir(e,n){if("input"===e||"change"===e)return Kt(n)}var sr="function"==typeof Object.is?Object.is:function(e,n){return e===n&&(0!==e||1/e==1/n)||e!=e&&n!=n};function lr(e,n){if(sr(e,n))return!0;if("object"!=typeof e||null===e||"object"!=typeof n||null===n)return!1;var t=Object.keys(e),r=Object.keys(n);if(t.length!==r.length)return!1;for(r=0;r<t.length;r++){var o=t[r];if(!u.call(n,o)||!sr(e[o],n[o]))return!1}return!0}function cr(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function dr(e,n){var t,r=cr(e);for(e=0;r;){if(3===r.nodeType){if(t=e+r.textContent.length,e<=n&&t>=n)return{node:r,offset:n-e};e=t}e:{for(;r;){if(r.nextSibling){r=r.nextSibling;break e}r=r.parentNode}r=void 0}r=cr(r)}}function ur(e,n){return!(!e||!n)&&(e===n||(!e||3!==e.nodeType)&&(n&&3===n.nodeType?ur(e,n.parentNode):"contains"in e?e.contains(n):!!e.compareDocumentPosition&&!!(16&e.compareDocumentPosition(n))))}function pr(){for(var e=window,n=G();n instanceof e.HTMLIFrameElement;){try{var t="string"==typeof n.contentWindow.location.href}catch(r){t=!1}if(!t)break;n=G((e=n.contentWindow).document)}return n}function fr(e){var n=e&&e.nodeName&&e.nodeName.toLowerCase();return n&&("input"===n&&("text"===e.type||"search"===e.type||"tel"===e.type||"url"===e.type||"password"===e.type)||"textarea"===n||"true"===e.contentEditable)}function mr(e){var n=pr(),t=e.focusedElem,r=e.selectionRange;if(n!==t&&t&&t.ownerDocument&&ur(t.ownerDocument.documentElement,t)){if(null!==r&&fr(t))if(n=r.start,void 0===(e=r.end)&&(e=n),"selectionStart"in t)t.selectionStart=n,t.selectionEnd=Math.min(e,t.value.length);else if((e=(n=t.ownerDocument||document)&&n.defaultView||window).getSelection){e=e.getSelection();var o=t.textContent.length,a=Math.min(r.start,o);r=void 0===r.end?a:Math.min(r.end,o),!e.extend&&a>r&&(o=r,r=a,a=o),o=dr(t,a);var i=dr(t,r);o&&i&&(1!==e.rangeCount||e.anchorNode!==o.node||e.anchorOffset!==o.offset||e.focusNode!==i.node||e.focusOffset!==i.offset)&&((n=n.createRange()).setStart(o.node,o.offset),e.removeAllRanges(),a>r?(e.addRange(n),e.extend(i.node,i.offset)):(n.setEnd(i.node,i.offset),e.addRange(n)))}for(n=[],e=t;e=e.parentNode;)1===e.nodeType&&n.push({element:e,left:e.scrollLeft,top:e.scrollTop});for("function"==typeof t.focus&&t.focus(),t=0;t<n.length;t++)(e=n[t]).element.scrollLeft=e.left,e.element.scrollTop=e.top}}var yr=d&&"documentMode"in document&&11>=document.documentMode,hr=null,gr=null,br=null,vr=!1;function xr(e,n,t){var r=t.window===t?t.document:9===t.nodeType?t:t.ownerDocument;vr||null==hr||hr!==G(r)||("selectionStart"in(r=hr)&&fr(r)?r={start:r.selectionStart,end:r.selectionEnd}:r={anchorNode:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection()).anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset},br&&lr(br,r)||(br=r,0<(r=Zr(gr,"onSelect")).length&&(n=new dt("onSelect","select",null,n,t),e.push({event:n,listeners:r}),n.target=hr)))}function wr(e,n){var t={};return t[e.toLowerCase()]=n.toLowerCase(),t["Webkit"+e]="webkit"+n,t["Moz"+e]="moz"+n,t}var kr={animationend:wr("Animation","AnimationEnd"),animationiteration:wr("Animation","AnimationIteration"),animationstart:wr("Animation","AnimationStart"),transitionend:wr("Transition","TransitionEnd")},Sr={},Er={};function Cr(e){if(Sr[e])return Sr[e];if(!kr[e])return e;var n,t=kr[e];for(n in t)if(t.hasOwnProperty(n)&&n in Er)return Sr[e]=t[n];return e}d&&(Er=document.createElement("div").style,"AnimationEvent"in window||(delete kr.animationend.animation,delete kr.animationiteration.animation,delete kr.animationstart.animation),"TransitionEvent"in window||delete kr.transitionend.transition);var _r=Cr("animationend"),Pr=Cr("animationiteration"),jr=Cr("animationstart"),Tr=Cr("transitionend"),$r=new Map,Or="abort auxClick cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(" ");function Rr(e,n){$r.set(e,n),l(n,[e])}for(var Nr=0;Nr<Or.length;Nr++){var Ar=Or[Nr];Rr(Ar.toLowerCase(),"on"+(Ar[0].toUpperCase()+Ar.slice(1)))}Rr(_r,"onAnimationEnd"),Rr(Pr,"onAnimationIteration"),Rr(jr,"onAnimationStart"),Rr("dblclick","onDoubleClick"),Rr("focusin","onFocus"),Rr("focusout","onBlur"),Rr(Tr,"onTransitionEnd"),c("onMouseEnter",["mouseout","mouseover"]),c("onMouseLeave",["mouseout","mouseover"]),c("onPointerEnter",["pointerout","pointerover"]),c("onPointerLeave",["pointerout","pointerover"]),l("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),l("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),l("onBeforeInput",["compositionend","keypress","textInput","paste"]),l("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),l("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),l("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var Lr="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange resize seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),Dr=new Set("cancel close invalid load scroll toggle".split(" ").concat(Lr));function Ir(e,n,t){var r=e.type||"unknown-event";e.currentTarget=t,function(e,n,t,r,o,i,s,l,c){if(Be.apply(this,arguments),De){if(!De)throw Error(a(198));var d=Ie;De=!1,Ie=null,Me||(Me=!0,Fe=d)}}(r,n,void 0,e),e.currentTarget=null}function Mr(e,n){n=0!=(4&n);for(var t=0;t<e.length;t++){var r=e[t],o=r.event;r=r.listeners;e:{var a=void 0;if(n)for(var i=r.length-1;0<=i;i--){var s=r[i],l=s.instance,c=s.currentTarget;if(s=s.listener,l!==a&&o.isPropagationStopped())break e;Ir(o,s,c),a=l}else for(i=0;i<r.length;i++){if(l=(s=r[i]).instance,c=s.currentTarget,s=s.listener,l!==a&&o.isPropagationStopped())break e;Ir(o,s,c),a=l}}}if(Me)throw e=Fe,Me=!1,Fe=null,e}function Fr(e,n){var t=n[ho];void 0===t&&(t=n[ho]=new Set);var r=e+"__bubble";t.has(r)||(Hr(n,e,2,!1),t.add(r))}function zr(e,n,t){var r=0;n&&(r|=4),Hr(t,e,r,n)}var Br="_reactListening"+Math.random().toString(36).slice(2);function Ur(e){if(!e[Br]){e[Br]=!0,i.forEach((function(n){"selectionchange"!==n&&(Dr.has(n)||zr(n,!1,e),zr(n,!0,e))}));var n=9===e.nodeType?e:e.ownerDocument;null===n||n[Br]||(n[Br]=!0,zr("selectionchange",!1,n))}}function Hr(e,n,t,r){switch(Qn(n)){case 1:var o=Zn;break;case 4:o=Wn;break;default:o=Gn}t=o.bind(null,n,t,e),o=void 0,!Ne||"touchstart"!==n&&"touchmove"!==n&&"wheel"!==n||(o=!0),r?void 0!==o?e.addEventListener(n,t,{capture:!0,passive:o}):e.addEventListener(n,t,!0):void 0!==o?e.addEventListener(n,t,{passive:o}):e.addEventListener(n,t,!1)}function qr(e,n,t,r,o){var a=r;if(0==(1&n)&&0==(2&n)&&null!==r)e:for(;;){if(null===r)return;var i=r.tag;if(3===i||4===i){var s=r.stateNode.containerInfo;if(s===o||8===s.nodeType&&s.parentNode===o)break;if(4===i)for(i=r.return;null!==i;){var l=i.tag;if((3===l||4===l)&&((l=i.stateNode.containerInfo)===o||8===l.nodeType&&l.parentNode===o))return;i=i.return}for(;null!==s;){if(null===(i=vo(s)))return;if(5===(l=i.tag)||6===l){r=a=i;continue e}s=s.parentNode}}r=r.return}Oe((function(){var r=a,o=we(t),i=[];e:{var s=$r.get(e);if(void 0!==s){var l=dt,c=e;switch(e){case"keypress":if(0===tt(t))break e;case"keydown":case"keyup":l=Pt;break;case"focusin":c="focus",l=ht;break;case"focusout":c="blur",l=ht;break;case"beforeblur":case"afterblur":l=ht;break;case"click":if(2===t.button)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":l=mt;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":l=yt;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":l=Tt;break;case _r:case Pr:case jr:l=gt;break;case Tr:l=$t;break;case"scroll":l=pt;break;case"wheel":l=Rt;break;case"copy":case"cut":case"paste":l=vt;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":l=jt}var d=0!=(4&n),u=!d&&"scroll"===e,p=d?null!==s?s+"Capture":null:s;d=[];for(var f,m=r;null!==m;){var y=(f=m).stateNode;if(5===f.tag&&null!==y&&(f=y,null!==p&&(null!=(y=Re(m,p))&&d.push(Vr(m,y,f)))),u)break;m=m.return}0<d.length&&(s=new l(s,c,null,t,o),i.push({event:s,listeners:d}))}}if(0==(7&n)){if(l="mouseout"===e||"pointerout"===e,(!(s="mouseover"===e||"pointerover"===e)||t===xe||!(c=t.relatedTarget||t.fromElement)||!vo(c)&&!c[yo])&&(l||s)&&(s=o.window===o?o:(s=o.ownerDocument)?s.defaultView||s.parentWindow:window,l?(l=r,null!==(c=(c=t.relatedTarget||t.toElement)?vo(c):null)&&(c!==(u=Ue(c))||5!==c.tag&&6!==c.tag)&&(c=null)):(l=null,c=r),l!==c)){if(d=mt,y="onMouseLeave",p="onMouseEnter",m="mouse","pointerout"!==e&&"pointerover"!==e||(d=jt,y="onPointerLeave",p="onPointerEnter",m="pointer"),u=null==l?s:wo(l),f=null==c?s:wo(c),(s=new d(y,m+"leave",l,t,o)).target=u,s.relatedTarget=f,y=null,vo(o)===r&&((d=new d(p,m+"enter",c,t,o)).target=f,d.relatedTarget=u,y=d),u=y,l&&c)e:{for(p=c,m=0,f=d=l;f;f=Wr(f))m++;for(f=0,y=p;y;y=Wr(y))f++;for(;0<m-f;)d=Wr(d),m--;for(;0<f-m;)p=Wr(p),f--;for(;m--;){if(d===p||null!==p&&d===p.alternate)break e;d=Wr(d),p=Wr(p)}d=null}else d=null;null!==l&&Gr(i,s,l,d,!1),null!==c&&null!==u&&Gr(i,u,c,d,!0)}if("select"===(l=(s=r?wo(r):window).nodeName&&s.nodeName.toLowerCase())||"input"===l&&"file"===s.type)var h=Yt;else if(qt(s))if(Qt)h=ir;else{h=or;var g=rr}else(l=s.nodeName)&&"input"===l.toLowerCase()&&("checkbox"===s.type||"radio"===s.type)&&(h=ar);switch(h&&(h=h(e,r))?Vt(i,h,t,o):(g&&g(e,s,r),"focusout"===e&&(g=s._wrapperState)&&g.controlled&&"number"===s.type&&ee(s,"number",s.value)),g=r?wo(r):window,e){case"focusin":(qt(g)||"true"===g.contentEditable)&&(hr=g,gr=r,br=null);break;case"focusout":br=gr=hr=null;break;case"mousedown":vr=!0;break;case"contextmenu":case"mouseup":case"dragend":vr=!1,xr(i,t,o);break;case"selectionchange":if(yr)break;case"keydown":case"keyup":xr(i,t,o)}var b;if(At)e:{switch(e){case"compositionstart":var v="onCompositionStart";break e;case"compositionend":v="onCompositionEnd";break e;case"compositionupdate":v="onCompositionUpdate";break e}v=void 0}else Ut?zt(e,t)&&(v="onCompositionEnd"):"keydown"===e&&229===t.keyCode&&(v="onCompositionStart");v&&(It&&"ko"!==t.locale&&(Ut||"onCompositionStart"!==v?"onCompositionEnd"===v&&Ut&&(b=nt()):(Xn="value"in(Jn=o)?Jn.value:Jn.textContent,Ut=!0)),0<(g=Zr(r,v)).length&&(v=new xt(v,e,null,t,o),i.push({event:v,listeners:g}),b?v.data=b:null!==(b=Bt(t))&&(v.data=b))),(b=Dt?function(e,n){switch(e){case"compositionend":return Bt(n);case"keypress":return 32!==n.which?null:(Ft=!0,Mt);case"textInput":return(e=n.data)===Mt&&Ft?null:e;default:return null}}(e,t):function(e,n){if(Ut)return"compositionend"===e||!At&&zt(e,n)?(e=nt(),et=Xn=Jn=null,Ut=!1,e):null;switch(e){case"paste":default:return null;case"keypress":if(!(n.ctrlKey||n.altKey||n.metaKey)||n.ctrlKey&&n.altKey){if(n.char&&1<n.char.length)return n.char;if(n.which)return String.fromCharCode(n.which)}return null;case"compositionend":return It&&"ko"!==n.locale?null:n.data}}(e,t))&&(0<(r=Zr(r,"onBeforeInput")).length&&(o=new xt("onBeforeInput","beforeinput",null,t,o),i.push({event:o,listeners:r}),o.data=b))}Mr(i,n)}))}function Vr(e,n,t){return{instance:e,listener:n,currentTarget:t}}function Zr(e,n){for(var t=n+"Capture",r=[];null!==e;){var o=e,a=o.stateNode;5===o.tag&&null!==a&&(o=a,null!=(a=Re(e,t))&&r.unshift(Vr(e,a,o)),null!=(a=Re(e,n))&&r.push(Vr(e,a,o))),e=e.return}return r}function Wr(e){if(null===e)return null;do{e=e.return}while(e&&5!==e.tag);return e||null}function Gr(e,n,t,r,o){for(var a=n._reactName,i=[];null!==t&&t!==r;){var s=t,l=s.alternate,c=s.stateNode;if(null!==l&&l===r)break;5===s.tag&&null!==c&&(s=c,o?null!=(l=Re(t,a))&&i.unshift(Vr(t,l,s)):o||null!=(l=Re(t,a))&&i.push(Vr(t,l,s))),t=t.return}0!==i.length&&e.push({event:n,listeners:i})}var Kr=/\r\n?/g,Yr=/\u0000|\uFFFD/g;function Qr(e){return("string"==typeof e?e:""+e).replace(Kr,"\n").replace(Yr,"")}function Jr(e,n,t){if(n=Qr(n),Qr(e)!==n&&t)throw Error(a(425))}function Xr(){}var eo=null,no=null;function to(e,n){return"textarea"===e||"noscript"===e||"string"==typeof n.children||"number"==typeof n.children||"object"==typeof n.dangerouslySetInnerHTML&&null!==n.dangerouslySetInnerHTML&&null!=n.dangerouslySetInnerHTML.__html}var ro="function"==typeof setTimeout?setTimeout:void 0,oo="function"==typeof clearTimeout?clearTimeout:void 0,ao="function"==typeof Promise?Promise:void 0,io="function"==typeof queueMicrotask?queueMicrotask:void 0!==ao?function(e){return ao.resolve(null).then(e).catch(so)}:ro;function so(e){setTimeout((function(){throw e}))}function lo(e,n){var t=n,r=0;do{var o=t.nextSibling;if(e.removeChild(t),o&&8===o.nodeType)if("/$"===(t=o.data)){if(0===r)return e.removeChild(o),void Hn(n);r--}else"$"!==t&&"$?"!==t&&"$!"!==t||r++;t=o}while(t);Hn(n)}function co(e){for(;null!=e;e=e.nextSibling){var n=e.nodeType;if(1===n||3===n)break;if(8===n){if("$"===(n=e.data)||"$!"===n||"$?"===n)break;if("/$"===n)return null}}return e}function uo(e){e=e.previousSibling;for(var n=0;e;){if(8===e.nodeType){var t=e.data;if("$"===t||"$!"===t||"$?"===t){if(0===n)return e;n--}else"/$"===t&&n++}e=e.previousSibling}return null}var po=Math.random().toString(36).slice(2),fo="__reactFiber$"+po,mo="__reactProps$"+po,yo="__reactContainer$"+po,ho="__reactEvents$"+po,go="__reactListeners$"+po,bo="__reactHandles$"+po;function vo(e){var n=e[fo];if(n)return n;for(var t=e.parentNode;t;){if(n=t[yo]||t[fo]){if(t=n.alternate,null!==n.child||null!==t&&null!==t.child)for(e=uo(e);null!==e;){if(t=e[fo])return t;e=uo(e)}return n}t=(e=t).parentNode}return null}function xo(e){return!(e=e[fo]||e[yo])||5!==e.tag&&6!==e.tag&&13!==e.tag&&3!==e.tag?null:e}function wo(e){if(5===e.tag||6===e.tag)return e.stateNode;throw Error(a(33))}function ko(e){return e[mo]||null}var So=[],Eo=-1;function Co(e){return{current:e}}function _o(e){0>Eo||(e.current=So[Eo],So[Eo]=null,Eo--)}function Po(e,n){Eo++,So[Eo]=e.current,e.current=n}var jo={},To=Co(jo),$o=Co(!1),Oo=jo;function Ro(e,n){var t=e.type.contextTypes;if(!t)return jo;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===n)return r.__reactInternalMemoizedMaskedChildContext;var o,a={};for(o in t)a[o]=n[o];return r&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=n,e.__reactInternalMemoizedMaskedChildContext=a),a}function No(e){return null!=(e=e.childContextTypes)}function Ao(){_o($o),_o(To)}function Lo(e,n,t){if(To.current!==jo)throw Error(a(168));Po(To,n),Po($o,t)}function Do(e,n,t){var r=e.stateNode;if(n=n.childContextTypes,"function"!=typeof r.getChildContext)return t;for(var o in r=r.getChildContext())if(!(o in n))throw Error(a(108,H(e)||"Unknown",o));return I({},t,r)}function Io(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||jo,Oo=To.current,Po(To,e),Po($o,$o.current),!0}function Mo(e,n,t){var r=e.stateNode;if(!r)throw Error(a(169));t?(e=Do(e,n,Oo),r.__reactInternalMemoizedMergedChildContext=e,_o($o),_o(To),Po(To,e)):_o($o),Po($o,t)}var Fo=null,zo=!1,Bo=!1;function Uo(e){null===Fo?Fo=[e]:Fo.push(e)}function Ho(){if(!Bo&&null!==Fo){Bo=!0;var e=0,n=xn;try{var t=Fo;for(xn=1;e<t.length;e++){var r=t[e];do{r=r(!0)}while(null!==r)}Fo=null,zo=!1}catch(o){throw null!==Fo&&(Fo=Fo.slice(e+1)),We(Xe,Ho),o}finally{xn=n,Bo=!1}}return null}var qo=[],Vo=0,Zo=null,Wo=0,Go=[],Ko=0,Yo=null,Qo=1,Jo="";function Xo(e,n){qo[Vo++]=Wo,qo[Vo++]=Zo,Zo=e,Wo=n}function ea(e,n,t){Go[Ko++]=Qo,Go[Ko++]=Jo,Go[Ko++]=Yo,Yo=e;var r=Qo;e=Jo;var o=32-sn(r)-1;r&=~(1<<o),t+=1;var a=32-sn(n)+o;if(30<a){var i=o-o%5;a=(r&(1<<i)-1).toString(32),r>>=i,o-=i,Qo=1<<32-sn(n)+o|t<<o|r,Jo=a+e}else Qo=1<<a|t<<o|r,Jo=e}function na(e){null!==e.return&&(Xo(e,1),ea(e,1,0))}function ta(e){for(;e===Zo;)Zo=qo[--Vo],qo[Vo]=null,Wo=qo[--Vo],qo[Vo]=null;for(;e===Yo;)Yo=Go[--Ko],Go[Ko]=null,Jo=Go[--Ko],Go[Ko]=null,Qo=Go[--Ko],Go[Ko]=null}var ra=null,oa=null,aa=!1,ia=null;function sa(e,n){var t=Rc(5,null,null,0);t.elementType="DELETED",t.stateNode=n,t.return=e,null===(n=e.deletions)?(e.deletions=[t],e.flags|=16):n.push(t)}function la(e,n){switch(e.tag){case 5:var t=e.type;return null!==(n=1!==n.nodeType||t.toLowerCase()!==n.nodeName.toLowerCase()?null:n)&&(e.stateNode=n,ra=e,oa=co(n.firstChild),!0);case 6:return null!==(n=""===e.pendingProps||3!==n.nodeType?null:n)&&(e.stateNode=n,ra=e,oa=null,!0);case 13:return null!==(n=8!==n.nodeType?null:n)&&(t=null!==Yo?{id:Qo,overflow:Jo}:null,e.memoizedState={dehydrated:n,treeContext:t,retryLane:1073741824},(t=Rc(18,null,null,0)).stateNode=n,t.return=e,e.child=t,ra=e,oa=null,!0);default:return!1}}function ca(e){return 0!=(1&e.mode)&&0==(128&e.flags)}function da(e){if(aa){var n=oa;if(n){var t=n;if(!la(e,n)){if(ca(e))throw Error(a(418));n=co(t.nextSibling);var r=ra;n&&la(e,n)?sa(r,t):(e.flags=-4097&e.flags|2,aa=!1,ra=e)}}else{if(ca(e))throw Error(a(418));e.flags=-4097&e.flags|2,aa=!1,ra=e}}}function ua(e){for(e=e.return;null!==e&&5!==e.tag&&3!==e.tag&&13!==e.tag;)e=e.return;ra=e}function pa(e){if(e!==ra)return!1;if(!aa)return ua(e),aa=!0,!1;var n;if((n=3!==e.tag)&&!(n=5!==e.tag)&&(n="head"!==(n=e.type)&&"body"!==n&&!to(e.type,e.memoizedProps)),n&&(n=oa)){if(ca(e))throw fa(),Error(a(418));for(;n;)sa(e,n),n=co(n.nextSibling)}if(ua(e),13===e.tag){if(!(e=null!==(e=e.memoizedState)?e.dehydrated:null))throw Error(a(317));e:{for(e=e.nextSibling,n=0;e;){if(8===e.nodeType){var t=e.data;if("/$"===t){if(0===n){oa=co(e.nextSibling);break e}n--}else"$"!==t&&"$!"!==t&&"$?"!==t||n++}e=e.nextSibling}oa=null}}else oa=ra?co(e.stateNode.nextSibling):null;return!0}function fa(){for(var e=oa;e;)e=co(e.nextSibling)}function ma(){oa=ra=null,aa=!1}function ya(e){null===ia?ia=[e]:ia.push(e)}var ha=x.ReactCurrentBatchConfig;function ga(e,n){if(e&&e.defaultProps){for(var t in n=I({},n),e=e.defaultProps)void 0===n[t]&&(n[t]=e[t]);return n}return n}var ba=Co(null),va=null,xa=null,wa=null;function ka(){wa=xa=va=null}function Sa(e){var n=ba.current;_o(ba),e._currentValue=n}function Ea(e,n,t){for(;null!==e;){var r=e.alternate;if((e.childLanes&n)!==n?(e.childLanes|=n,null!==r&&(r.childLanes|=n)):null!==r&&(r.childLanes&n)!==n&&(r.childLanes|=n),e===t)break;e=e.return}}function Ca(e,n){va=e,wa=xa=null,null!==(e=e.dependencies)&&null!==e.firstContext&&(0!=(e.lanes&n)&&(xs=!0),e.firstContext=null)}function _a(e){var n=e._currentValue;if(wa!==e)if(e={context:e,memoizedValue:n,next:null},null===xa){if(null===va)throw Error(a(308));xa=e,va.dependencies={lanes:0,firstContext:e}}else xa=xa.next=e;return n}var Pa=null;function ja(e){null===Pa?Pa=[e]:Pa.push(e)}function Ta(e,n,t,r){var o=n.interleaved;return null===o?(t.next=t,ja(n)):(t.next=o.next,o.next=t),n.interleaved=t,$a(e,r)}function $a(e,n){e.lanes|=n;var t=e.alternate;for(null!==t&&(t.lanes|=n),t=e,e=e.return;null!==e;)e.childLanes|=n,null!==(t=e.alternate)&&(t.childLanes|=n),t=e,e=e.return;return 3===t.tag?t.stateNode:null}var Oa=!1;function Ra(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function Na(e,n){e=e.updateQueue,n.updateQueue===e&&(n.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,effects:e.effects})}function Aa(e,n){return{eventTime:e,lane:n,tag:0,payload:null,callback:null,next:null}}function La(e,n,t){var r=e.updateQueue;if(null===r)return null;if(r=r.shared,0!=(2&Tl)){var o=r.pending;return null===o?n.next=n:(n.next=o.next,o.next=n),r.pending=n,$a(e,t)}return null===(o=r.interleaved)?(n.next=n,ja(r)):(n.next=o.next,o.next=n),r.interleaved=n,$a(e,t)}function Da(e,n,t){if(null!==(n=n.updateQueue)&&(n=n.shared,0!=(4194240&t))){var r=n.lanes;t|=r&=e.pendingLanes,n.lanes=t,vn(e,t)}}function Ia(e,n){var t=e.updateQueue,r=e.alternate;if(null!==r&&t===(r=r.updateQueue)){var o=null,a=null;if(null!==(t=t.firstBaseUpdate)){do{var i={eventTime:t.eventTime,lane:t.lane,tag:t.tag,payload:t.payload,callback:t.callback,next:null};null===a?o=a=i:a=a.next=i,t=t.next}while(null!==t);null===a?o=a=n:a=a.next=n}else o=a=n;return t={baseState:r.baseState,firstBaseUpdate:o,lastBaseUpdate:a,shared:r.shared,effects:r.effects},void(e.updateQueue=t)}null===(e=t.lastBaseUpdate)?t.firstBaseUpdate=n:e.next=n,t.lastBaseUpdate=n}function Ma(e,n,t,r){var o=e.updateQueue;Oa=!1;var a=o.firstBaseUpdate,i=o.lastBaseUpdate,s=o.shared.pending;if(null!==s){o.shared.pending=null;var l=s,c=l.next;l.next=null,null===i?a=c:i.next=c,i=l;var d=e.alternate;null!==d&&((s=(d=d.updateQueue).lastBaseUpdate)!==i&&(null===s?d.firstBaseUpdate=c:s.next=c,d.lastBaseUpdate=l))}if(null!==a){var u=o.baseState;for(i=0,d=c=l=null,s=a;;){var p=s.lane,f=s.eventTime;if((r&p)===p){null!==d&&(d=d.next={eventTime:f,lane:0,tag:s.tag,payload:s.payload,callback:s.callback,next:null});e:{var m=e,y=s;switch(p=n,f=t,y.tag){case 1:if("function"==typeof(m=y.payload)){u=m.call(f,u,p);break e}u=m;break e;case 3:m.flags=-65537&m.flags|128;case 0:if(null==(p="function"==typeof(m=y.payload)?m.call(f,u,p):m))break e;u=I({},u,p);break e;case 2:Oa=!0}}null!==s.callback&&0!==s.lane&&(e.flags|=64,null===(p=o.effects)?o.effects=[s]:p.push(s))}else f={eventTime:f,lane:p,tag:s.tag,payload:s.payload,callback:s.callback,next:null},null===d?(c=d=f,l=u):d=d.next=f,i|=p;if(null===(s=s.next)){if(null===(s=o.shared.pending))break;s=(p=s).next,p.next=null,o.lastBaseUpdate=p,o.shared.pending=null}}if(null===d&&(l=u),o.baseState=l,o.firstBaseUpdate=c,o.lastBaseUpdate=d,null!==(n=o.shared.interleaved)){o=n;do{i|=o.lane,o=o.next}while(o!==n)}else null===a&&(o.shared.lanes=0);Il|=i,e.lanes=i,e.memoizedState=u}}function Fa(e,n,t){if(e=n.effects,n.effects=null,null!==e)for(n=0;n<e.length;n++){var r=e[n],o=r.callback;if(null!==o){if(r.callback=null,r=t,"function"!=typeof o)throw Error(a(191,o));o.call(r)}}}var za=(new r.Component).refs;function Ba(e,n,t,r){t=null==(t=t(r,n=e.memoizedState))?n:I({},n,t),e.memoizedState=t,0===e.lanes&&(e.updateQueue.baseState=t)}var Ua={isMounted:function(e){return!!(e=e._reactInternals)&&Ue(e)===e},enqueueSetState:function(e,n,t){e=e._reactInternals;var r=nc(),o=tc(e),a=Aa(r,o);a.payload=n,null!=t&&(a.callback=t),null!==(n=La(e,a,o))&&(rc(n,e,o,r),Da(n,e,o))},enqueueReplaceState:function(e,n,t){e=e._reactInternals;var r=nc(),o=tc(e),a=Aa(r,o);a.tag=1,a.payload=n,null!=t&&(a.callback=t),null!==(n=La(e,a,o))&&(rc(n,e,o,r),Da(n,e,o))},enqueueForceUpdate:function(e,n){e=e._reactInternals;var t=nc(),r=tc(e),o=Aa(t,r);o.tag=2,null!=n&&(o.callback=n),null!==(n=La(e,o,r))&&(rc(n,e,r,t),Da(n,e,r))}};function Ha(e,n,t,r,o,a,i){return"function"==typeof(e=e.stateNode).shouldComponentUpdate?e.shouldComponentUpdate(r,a,i):!n.prototype||!n.prototype.isPureReactComponent||(!lr(t,r)||!lr(o,a))}function qa(e,n,t){var r=!1,o=jo,a=n.contextType;return"object"==typeof a&&null!==a?a=_a(a):(o=No(n)?Oo:To.current,a=(r=null!=(r=n.contextTypes))?Ro(e,o):jo),n=new n(t,a),e.memoizedState=null!==n.state&&void 0!==n.state?n.state:null,n.updater=Ua,e.stateNode=n,n._reactInternals=e,r&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=o,e.__reactInternalMemoizedMaskedChildContext=a),n}function Va(e,n,t,r){e=n.state,"function"==typeof n.componentWillReceiveProps&&n.componentWillReceiveProps(t,r),"function"==typeof n.UNSAFE_componentWillReceiveProps&&n.UNSAFE_componentWillReceiveProps(t,r),n.state!==e&&Ua.enqueueReplaceState(n,n.state,null)}function Za(e,n,t,r){var o=e.stateNode;o.props=t,o.state=e.memoizedState,o.refs=za,Ra(e);var a=n.contextType;"object"==typeof a&&null!==a?o.context=_a(a):(a=No(n)?Oo:To.current,o.context=Ro(e,a)),o.state=e.memoizedState,"function"==typeof(a=n.getDerivedStateFromProps)&&(Ba(e,n,a,t),o.state=e.memoizedState),"function"==typeof n.getDerivedStateFromProps||"function"==typeof o.getSnapshotBeforeUpdate||"function"!=typeof o.UNSAFE_componentWillMount&&"function"!=typeof o.componentWillMount||(n=o.state,"function"==typeof o.componentWillMount&&o.componentWillMount(),"function"==typeof o.UNSAFE_componentWillMount&&o.UNSAFE_componentWillMount(),n!==o.state&&Ua.enqueueReplaceState(o,o.state,null),Ma(e,t,o,r),o.state=e.memoizedState),"function"==typeof o.componentDidMount&&(e.flags|=4194308)}function Wa(e,n,t){if(null!==(e=t.ref)&&"function"!=typeof e&&"object"!=typeof e){if(t._owner){if(t=t._owner){if(1!==t.tag)throw Error(a(309));var r=t.stateNode}if(!r)throw Error(a(147,e));var o=r,i=""+e;return null!==n&&null!==n.ref&&"function"==typeof n.ref&&n.ref._stringRef===i?n.ref:(n=function(e){var n=o.refs;n===za&&(n=o.refs={}),null===e?delete n[i]:n[i]=e},n._stringRef=i,n)}if("string"!=typeof e)throw Error(a(284));if(!t._owner)throw Error(a(290,e))}return e}function Ga(e,n){throw e=Object.prototype.toString.call(n),Error(a(31,"[object Object]"===e?"object with keys {"+Object.keys(n).join(", ")+"}":e))}function Ka(e){return(0,e._init)(e._payload)}function Ya(e){function n(n,t){if(e){var r=n.deletions;null===r?(n.deletions=[t],n.flags|=16):r.push(t)}}function t(t,r){if(!e)return null;for(;null!==r;)n(t,r),r=r.sibling;return null}function r(e,n){for(e=new Map;null!==n;)null!==n.key?e.set(n.key,n):e.set(n.index,n),n=n.sibling;return e}function o(e,n){return(e=Ac(e,n)).index=0,e.sibling=null,e}function i(n,t,r){return n.index=r,e?null!==(r=n.alternate)?(r=r.index)<t?(n.flags|=2,t):r:(n.flags|=2,t):(n.flags|=1048576,t)}function s(n){return e&&null===n.alternate&&(n.flags|=2),n}function l(e,n,t,r){return null===n||6!==n.tag?((n=Mc(t,e.mode,r)).return=e,n):((n=o(n,t)).return=e,n)}function c(e,n,t,r){var a=t.type;return a===S?u(e,n,t.props.children,r,t.key):null!==n&&(n.elementType===a||"object"==typeof a&&null!==a&&a.$$typeof===R&&Ka(a)===n.type)?((r=o(n,t.props)).ref=Wa(e,n,t),r.return=e,r):((r=Lc(t.type,t.key,t.props,null,e.mode,r)).ref=Wa(e,n,t),r.return=e,r)}function d(e,n,t,r){return null===n||4!==n.tag||n.stateNode.containerInfo!==t.containerInfo||n.stateNode.implementation!==t.implementation?((n=Fc(t,e.mode,r)).return=e,n):((n=o(n,t.children||[])).return=e,n)}function u(e,n,t,r,a){return null===n||7!==n.tag?((n=Dc(t,e.mode,r,a)).return=e,n):((n=o(n,t)).return=e,n)}function p(e,n,t){if("string"==typeof n&&""!==n||"number"==typeof n)return(n=Mc(""+n,e.mode,t)).return=e,n;if("object"==typeof n&&null!==n){switch(n.$$typeof){case w:return(t=Lc(n.type,n.key,n.props,null,e.mode,t)).ref=Wa(e,null,n),t.return=e,t;case k:return(n=Fc(n,e.mode,t)).return=e,n;case R:return p(e,(0,n._init)(n._payload),t)}if(ne(n)||L(n))return(n=Dc(n,e.mode,t,null)).return=e,n;Ga(e,n)}return null}function f(e,n,t,r){var o=null!==n?n.key:null;if("string"==typeof t&&""!==t||"number"==typeof t)return null!==o?null:l(e,n,""+t,r);if("object"==typeof t&&null!==t){switch(t.$$typeof){case w:return t.key===o?c(e,n,t,r):null;case k:return t.key===o?d(e,n,t,r):null;case R:return f(e,n,(o=t._init)(t._payload),r)}if(ne(t)||L(t))return null!==o?null:u(e,n,t,r,null);Ga(e,t)}return null}function m(e,n,t,r,o){if("string"==typeof r&&""!==r||"number"==typeof r)return l(n,e=e.get(t)||null,""+r,o);if("object"==typeof r&&null!==r){switch(r.$$typeof){case w:return c(n,e=e.get(null===r.key?t:r.key)||null,r,o);case k:return d(n,e=e.get(null===r.key?t:r.key)||null,r,o);case R:return m(e,n,t,(0,r._init)(r._payload),o)}if(ne(r)||L(r))return u(n,e=e.get(t)||null,r,o,null);Ga(n,r)}return null}function y(o,a,s,l){for(var c=null,d=null,u=a,y=a=0,h=null;null!==u&&y<s.length;y++){u.index>y?(h=u,u=null):h=u.sibling;var g=f(o,u,s[y],l);if(null===g){null===u&&(u=h);break}e&&u&&null===g.alternate&&n(o,u),a=i(g,a,y),null===d?c=g:d.sibling=g,d=g,u=h}if(y===s.length)return t(o,u),aa&&Xo(o,y),c;if(null===u){for(;y<s.length;y++)null!==(u=p(o,s[y],l))&&(a=i(u,a,y),null===d?c=u:d.sibling=u,d=u);return aa&&Xo(o,y),c}for(u=r(o,u);y<s.length;y++)null!==(h=m(u,o,y,s[y],l))&&(e&&null!==h.alternate&&u.delete(null===h.key?y:h.key),a=i(h,a,y),null===d?c=h:d.sibling=h,d=h);return e&&u.forEach((function(e){return n(o,e)})),aa&&Xo(o,y),c}function h(o,s,l,c){var d=L(l);if("function"!=typeof d)throw Error(a(150));if(null==(l=d.call(l)))throw Error(a(151));for(var u=d=null,y=s,h=s=0,g=null,b=l.next();null!==y&&!b.done;h++,b=l.next()){y.index>h?(g=y,y=null):g=y.sibling;var v=f(o,y,b.value,c);if(null===v){null===y&&(y=g);break}e&&y&&null===v.alternate&&n(o,y),s=i(v,s,h),null===u?d=v:u.sibling=v,u=v,y=g}if(b.done)return t(o,y),aa&&Xo(o,h),d;if(null===y){for(;!b.done;h++,b=l.next())null!==(b=p(o,b.value,c))&&(s=i(b,s,h),null===u?d=b:u.sibling=b,u=b);return aa&&Xo(o,h),d}for(y=r(o,y);!b.done;h++,b=l.next())null!==(b=m(y,o,h,b.value,c))&&(e&&null!==b.alternate&&y.delete(null===b.key?h:b.key),s=i(b,s,h),null===u?d=b:u.sibling=b,u=b);return e&&y.forEach((function(e){return n(o,e)})),aa&&Xo(o,h),d}return function e(r,a,i,l){if("object"==typeof i&&null!==i&&i.type===S&&null===i.key&&(i=i.props.children),"object"==typeof i&&null!==i){switch(i.$$typeof){case w:e:{for(var c=i.key,d=a;null!==d;){if(d.key===c){if((c=i.type)===S){if(7===d.tag){t(r,d.sibling),(a=o(d,i.props.children)).return=r,r=a;break e}}else if(d.elementType===c||"object"==typeof c&&null!==c&&c.$$typeof===R&&Ka(c)===d.type){t(r,d.sibling),(a=o(d,i.props)).ref=Wa(r,d,i),a.return=r,r=a;break e}t(r,d);break}n(r,d),d=d.sibling}i.type===S?((a=Dc(i.props.children,r.mode,l,i.key)).return=r,r=a):((l=Lc(i.type,i.key,i.props,null,r.mode,l)).ref=Wa(r,a,i),l.return=r,r=l)}return s(r);case k:e:{for(d=i.key;null!==a;){if(a.key===d){if(4===a.tag&&a.stateNode.containerInfo===i.containerInfo&&a.stateNode.implementation===i.implementation){t(r,a.sibling),(a=o(a,i.children||[])).return=r,r=a;break e}t(r,a);break}n(r,a),a=a.sibling}(a=Fc(i,r.mode,l)).return=r,r=a}return s(r);case R:return e(r,a,(d=i._init)(i._payload),l)}if(ne(i))return y(r,a,i,l);if(L(i))return h(r,a,i,l);Ga(r,i)}return"string"==typeof i&&""!==i||"number"==typeof i?(i=""+i,null!==a&&6===a.tag?(t(r,a.sibling),(a=o(a,i)).return=r,r=a):(t(r,a),(a=Mc(i,r.mode,l)).return=r,r=a),s(r)):t(r,a)}}var Qa=Ya(!0),Ja=Ya(!1),Xa={},ei=Co(Xa),ni=Co(Xa),ti=Co(Xa);function ri(e){if(e===Xa)throw Error(a(174));return e}function oi(e,n){switch(Po(ti,n),Po(ni,e),Po(ei,Xa),e=n.nodeType){case 9:case 11:n=(n=n.documentElement)?n.namespaceURI:le(null,"");break;default:n=le(n=(e=8===e?n.parentNode:n).namespaceURI||null,e=e.tagName)}_o(ei),Po(ei,n)}function ai(){_o(ei),_o(ni),_o(ti)}function ii(e){ri(ti.current);var n=ri(ei.current),t=le(n,e.type);n!==t&&(Po(ni,e),Po(ei,t))}function si(e){ni.current===e&&(_o(ei),_o(ni))}var li=Co(0);function ci(e){for(var n=e;null!==n;){if(13===n.tag){var t=n.memoizedState;if(null!==t&&(null===(t=t.dehydrated)||"$?"===t.data||"$!"===t.data))return n}else if(19===n.tag&&void 0!==n.memoizedProps.revealOrder){if(0!=(128&n.flags))return n}else if(null!==n.child){n.child.return=n,n=n.child;continue}if(n===e)break;for(;null===n.sibling;){if(null===n.return||n.return===e)return null;n=n.return}n.sibling.return=n.return,n=n.sibling}return null}var di=[];function ui(){for(var e=0;e<di.length;e++)di[e]._workInProgressVersionPrimary=null;di.length=0}var pi=x.ReactCurrentDispatcher,fi=x.ReactCurrentBatchConfig,mi=0,yi=null,hi=null,gi=null,bi=!1,vi=!1,xi=0,wi=0;function ki(){throw Error(a(321))}function Si(e,n){if(null===n)return!1;for(var t=0;t<n.length&&t<e.length;t++)if(!sr(e[t],n[t]))return!1;return!0}function Ei(e,n,t,r,o,i){if(mi=i,yi=n,n.memoizedState=null,n.updateQueue=null,n.lanes=0,pi.current=null===e||null===e.memoizedState?ss:ls,e=t(r,o),vi){i=0;do{if(vi=!1,xi=0,25<=i)throw Error(a(301));i+=1,gi=hi=null,n.updateQueue=null,pi.current=cs,e=t(r,o)}while(vi)}if(pi.current=is,n=null!==hi&&null!==hi.next,mi=0,gi=hi=yi=null,bi=!1,n)throw Error(a(300));return e}function Ci(){var e=0!==xi;return xi=0,e}function _i(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return null===gi?yi.memoizedState=gi=e:gi=gi.next=e,gi}function Pi(){if(null===hi){var e=yi.alternate;e=null!==e?e.memoizedState:null}else e=hi.next;var n=null===gi?yi.memoizedState:gi.next;if(null!==n)gi=n,hi=e;else{if(null===e)throw Error(a(310));e={memoizedState:(hi=e).memoizedState,baseState:hi.baseState,baseQueue:hi.baseQueue,queue:hi.queue,next:null},null===gi?yi.memoizedState=gi=e:gi=gi.next=e}return gi}function ji(e,n){return"function"==typeof n?n(e):n}function Ti(e){var n=Pi(),t=n.queue;if(null===t)throw Error(a(311));t.lastRenderedReducer=e;var r=hi,o=r.baseQueue,i=t.pending;if(null!==i){if(null!==o){var s=o.next;o.next=i.next,i.next=s}r.baseQueue=o=i,t.pending=null}if(null!==o){i=o.next,r=r.baseState;var l=s=null,c=null,d=i;do{var u=d.lane;if((mi&u)===u)null!==c&&(c=c.next={lane:0,action:d.action,hasEagerState:d.hasEagerState,eagerState:d.eagerState,next:null}),r=d.hasEagerState?d.eagerState:e(r,d.action);else{var p={lane:u,action:d.action,hasEagerState:d.hasEagerState,eagerState:d.eagerState,next:null};null===c?(l=c=p,s=r):c=c.next=p,yi.lanes|=u,Il|=u}d=d.next}while(null!==d&&d!==i);null===c?s=r:c.next=l,sr(r,n.memoizedState)||(xs=!0),n.memoizedState=r,n.baseState=s,n.baseQueue=c,t.lastRenderedState=r}if(null!==(e=t.interleaved)){o=e;do{i=o.lane,yi.lanes|=i,Il|=i,o=o.next}while(o!==e)}else null===o&&(t.lanes=0);return[n.memoizedState,t.dispatch]}function $i(e){var n=Pi(),t=n.queue;if(null===t)throw Error(a(311));t.lastRenderedReducer=e;var r=t.dispatch,o=t.pending,i=n.memoizedState;if(null!==o){t.pending=null;var s=o=o.next;do{i=e(i,s.action),s=s.next}while(s!==o);sr(i,n.memoizedState)||(xs=!0),n.memoizedState=i,null===n.baseQueue&&(n.baseState=i),t.lastRenderedState=i}return[i,r]}function Oi(){}function Ri(e,n){var t=yi,r=Pi(),o=n(),i=!sr(r.memoizedState,o);if(i&&(r.memoizedState=o,xs=!0),r=r.queue,qi(Li.bind(null,t,r,e),[e]),r.getSnapshot!==n||i||null!==gi&&1&gi.memoizedState.tag){if(t.flags|=2048,Fi(9,Ai.bind(null,t,r,o,n),void 0,null),null===$l)throw Error(a(349));0!=(30&mi)||Ni(t,n,o)}return o}function Ni(e,n,t){e.flags|=16384,e={getSnapshot:n,value:t},null===(n=yi.updateQueue)?(n={lastEffect:null,stores:null},yi.updateQueue=n,n.stores=[e]):null===(t=n.stores)?n.stores=[e]:t.push(e)}function Ai(e,n,t,r){n.value=t,n.getSnapshot=r,Di(n)&&Ii(e)}function Li(e,n,t){return t((function(){Di(n)&&Ii(e)}))}function Di(e){var n=e.getSnapshot;e=e.value;try{var t=n();return!sr(e,t)}catch(r){return!0}}function Ii(e){var n=$a(e,1);null!==n&&rc(n,e,1,-1)}function Mi(e){var n=_i();return"function"==typeof e&&(e=e()),n.memoizedState=n.baseState=e,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:ji,lastRenderedState:e},n.queue=e,e=e.dispatch=ts.bind(null,yi,e),[n.memoizedState,e]}function Fi(e,n,t,r){return e={tag:e,create:n,destroy:t,deps:r,next:null},null===(n=yi.updateQueue)?(n={lastEffect:null,stores:null},yi.updateQueue=n,n.lastEffect=e.next=e):null===(t=n.lastEffect)?n.lastEffect=e.next=e:(r=t.next,t.next=e,e.next=r,n.lastEffect=e),e}function zi(){return Pi().memoizedState}function Bi(e,n,t,r){var o=_i();yi.flags|=e,o.memoizedState=Fi(1|n,t,void 0,void 0===r?null:r)}function Ui(e,n,t,r){var o=Pi();r=void 0===r?null:r;var a=void 0;if(null!==hi){var i=hi.memoizedState;if(a=i.destroy,null!==r&&Si(r,i.deps))return void(o.memoizedState=Fi(n,t,a,r))}yi.flags|=e,o.memoizedState=Fi(1|n,t,a,r)}function Hi(e,n){return Bi(8390656,8,e,n)}function qi(e,n){return Ui(2048,8,e,n)}function Vi(e,n){return Ui(4,2,e,n)}function Zi(e,n){return Ui(4,4,e,n)}function Wi(e,n){return"function"==typeof n?(e=e(),n(e),function(){n(null)}):null!=n?(e=e(),n.current=e,function(){n.current=null}):void 0}function Gi(e,n,t){return t=null!=t?t.concat([e]):null,Ui(4,4,Wi.bind(null,n,e),t)}function Ki(){}function Yi(e,n){var t=Pi();n=void 0===n?null:n;var r=t.memoizedState;return null!==r&&null!==n&&Si(n,r[1])?r[0]:(t.memoizedState=[e,n],e)}function Qi(e,n){var t=Pi();n=void 0===n?null:n;var r=t.memoizedState;return null!==r&&null!==n&&Si(n,r[1])?r[0]:(e=e(),t.memoizedState=[e,n],e)}function Ji(e,n,t){return 0==(21&mi)?(e.baseState&&(e.baseState=!1,xs=!0),e.memoizedState=t):(sr(t,n)||(t=hn(),yi.lanes|=t,Il|=t,e.baseState=!0),n)}function Xi(e,n){var t=xn;xn=0!==t&&4>t?t:4,e(!0);var r=fi.transition;fi.transition={};try{e(!1),n()}finally{xn=t,fi.transition=r}}function es(){return Pi().memoizedState}function ns(e,n,t){var r=tc(e);if(t={lane:r,action:t,hasEagerState:!1,eagerState:null,next:null},rs(e))os(n,t);else if(null!==(t=Ta(e,n,t,r))){rc(t,e,r,nc()),as(t,n,r)}}function ts(e,n,t){var r=tc(e),o={lane:r,action:t,hasEagerState:!1,eagerState:null,next:null};if(rs(e))os(n,o);else{var a=e.alternate;if(0===e.lanes&&(null===a||0===a.lanes)&&null!==(a=n.lastRenderedReducer))try{var i=n.lastRenderedState,s=a(i,t);if(o.hasEagerState=!0,o.eagerState=s,sr(s,i)){var l=n.interleaved;return null===l?(o.next=o,ja(n)):(o.next=l.next,l.next=o),void(n.interleaved=o)}}catch(c){}null!==(t=Ta(e,n,o,r))&&(rc(t,e,r,o=nc()),as(t,n,r))}}function rs(e){var n=e.alternate;return e===yi||null!==n&&n===yi}function os(e,n){vi=bi=!0;var t=e.pending;null===t?n.next=n:(n.next=t.next,t.next=n),e.pending=n}function as(e,n,t){if(0!=(4194240&t)){var r=n.lanes;t|=r&=e.pendingLanes,n.lanes=t,vn(e,t)}}var is={readContext:_a,useCallback:ki,useContext:ki,useEffect:ki,useImperativeHandle:ki,useInsertionEffect:ki,useLayoutEffect:ki,useMemo:ki,useReducer:ki,useRef:ki,useState:ki,useDebugValue:ki,useDeferredValue:ki,useTransition:ki,useMutableSource:ki,useSyncExternalStore:ki,useId:ki,unstable_isNewReconciler:!1},ss={readContext:_a,useCallback:function(e,n){return _i().memoizedState=[e,void 0===n?null:n],e},useContext:_a,useEffect:Hi,useImperativeHandle:function(e,n,t){return t=null!=t?t.concat([e]):null,Bi(4194308,4,Wi.bind(null,n,e),t)},useLayoutEffect:function(e,n){return Bi(4194308,4,e,n)},useInsertionEffect:function(e,n){return Bi(4,2,e,n)},useMemo:function(e,n){var t=_i();return n=void 0===n?null:n,e=e(),t.memoizedState=[e,n],e},useReducer:function(e,n,t){var r=_i();return n=void 0!==t?t(n):n,r.memoizedState=r.baseState=n,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:n},r.queue=e,e=e.dispatch=ns.bind(null,yi,e),[r.memoizedState,e]},useRef:function(e){return e={current:e},_i().memoizedState=e},useState:Mi,useDebugValue:Ki,useDeferredValue:function(e){return _i().memoizedState=e},useTransition:function(){var e=Mi(!1),n=e[0];return e=Xi.bind(null,e[1]),_i().memoizedState=e,[n,e]},useMutableSource:function(){},useSyncExternalStore:function(e,n,t){var r=yi,o=_i();if(aa){if(void 0===t)throw Error(a(407));t=t()}else{if(t=n(),null===$l)throw Error(a(349));0!=(30&mi)||Ni(r,n,t)}o.memoizedState=t;var i={value:t,getSnapshot:n};return o.queue=i,Hi(Li.bind(null,r,i,e),[e]),r.flags|=2048,Fi(9,Ai.bind(null,r,i,t,n),void 0,null),t},useId:function(){var e=_i(),n=$l.identifierPrefix;if(aa){var t=Jo;n=":"+n+"R"+(t=(Qo&~(1<<32-sn(Qo)-1)).toString(32)+t),0<(t=xi++)&&(n+="H"+t.toString(32)),n+=":"}else n=":"+n+"r"+(t=wi++).toString(32)+":";return e.memoizedState=n},unstable_isNewReconciler:!1},ls={readContext:_a,useCallback:Yi,useContext:_a,useEffect:qi,useImperativeHandle:Gi,useInsertionEffect:Vi,useLayoutEffect:Zi,useMemo:Qi,useReducer:Ti,useRef:zi,useState:function(){return Ti(ji)},useDebugValue:Ki,useDeferredValue:function(e){return Ji(Pi(),hi.memoizedState,e)},useTransition:function(){return[Ti(ji)[0],Pi().memoizedState]},useMutableSource:Oi,useSyncExternalStore:Ri,useId:es,unstable_isNewReconciler:!1},cs={readContext:_a,useCallback:Yi,useContext:_a,useEffect:qi,useImperativeHandle:Gi,useInsertionEffect:Vi,useLayoutEffect:Zi,useMemo:Qi,useReducer:$i,useRef:zi,useState:function(){return $i(ji)},useDebugValue:Ki,useDeferredValue:function(e){var n=Pi();return null===hi?n.memoizedState=e:Ji(n,hi.memoizedState,e)},useTransition:function(){return[$i(ji)[0],Pi().memoizedState]},useMutableSource:Oi,useSyncExternalStore:Ri,useId:es,unstable_isNewReconciler:!1};function ds(e,n){try{var t="",r=n;do{t+=B(r),r=r.return}while(r);var o=t}catch(a){o="\nError generating stack: "+a.message+"\n"+a.stack}return{value:e,source:n,stack:o,digest:null}}function us(e,n,t){return{value:e,source:null,stack:null!=t?t:null,digest:null!=n?n:null}}function ps(e,n){try{console.error(n.value)}catch(t){setTimeout((function(){throw t}))}}var fs="function"==typeof WeakMap?WeakMap:Map;function ms(e,n,t){(t=Aa(-1,t)).tag=3,t.payload={element:null};var r=n.value;return t.callback=function(){Vl||(Vl=!0,Zl=r),ps(0,n)},t}function ys(e,n,t){(t=Aa(-1,t)).tag=3;var r=e.type.getDerivedStateFromError;if("function"==typeof r){var o=n.value;t.payload=function(){return r(o)},t.callback=function(){ps(0,n)}}var a=e.stateNode;return null!==a&&"function"==typeof a.componentDidCatch&&(t.callback=function(){ps(0,n),"function"!=typeof r&&(null===Wl?Wl=new Set([this]):Wl.add(this));var e=n.stack;this.componentDidCatch(n.value,{componentStack:null!==e?e:""})}),t}function hs(e,n,t){var r=e.pingCache;if(null===r){r=e.pingCache=new fs;var o=new Set;r.set(n,o)}else void 0===(o=r.get(n))&&(o=new Set,r.set(n,o));o.has(t)||(o.add(t),e=_c.bind(null,e,n,t),n.then(e,e))}function gs(e){do{var n;if((n=13===e.tag)&&(n=null===(n=e.memoizedState)||null!==n.dehydrated),n)return e;e=e.return}while(null!==e);return null}function bs(e,n,t,r,o){return 0==(1&e.mode)?(e===n?e.flags|=65536:(e.flags|=128,t.flags|=131072,t.flags&=-52805,1===t.tag&&(null===t.alternate?t.tag=17:((n=Aa(-1,1)).tag=2,La(t,n,1))),t.lanes|=1),e):(e.flags|=65536,e.lanes=o,e)}var vs=x.ReactCurrentOwner,xs=!1;function ws(e,n,t,r){n.child=null===e?Ja(n,null,t,r):Qa(n,e.child,t,r)}function ks(e,n,t,r,o){t=t.render;var a=n.ref;return Ca(n,o),r=Ei(e,n,t,r,a,o),t=Ci(),null===e||xs?(aa&&t&&na(n),n.flags|=1,ws(e,n,r,o),n.child):(n.updateQueue=e.updateQueue,n.flags&=-2053,e.lanes&=~o,Vs(e,n,o))}function Ss(e,n,t,r,o){if(null===e){var a=t.type;return"function"!=typeof a||Nc(a)||void 0!==a.defaultProps||null!==t.compare||void 0!==t.defaultProps?((e=Lc(t.type,null,r,n,n.mode,o)).ref=n.ref,e.return=n,n.child=e):(n.tag=15,n.type=a,Es(e,n,a,r,o))}if(a=e.child,0==(e.lanes&o)){var i=a.memoizedProps;if((t=null!==(t=t.compare)?t:lr)(i,r)&&e.ref===n.ref)return Vs(e,n,o)}return n.flags|=1,(e=Ac(a,r)).ref=n.ref,e.return=n,n.child=e}function Es(e,n,t,r,o){if(null!==e){var a=e.memoizedProps;if(lr(a,r)&&e.ref===n.ref){if(xs=!1,n.pendingProps=r=a,0==(e.lanes&o))return n.lanes=e.lanes,Vs(e,n,o);0!=(131072&e.flags)&&(xs=!0)}}return Ps(e,n,t,r,o)}function Cs(e,n,t){var r=n.pendingProps,o=r.children,a=null!==e?e.memoizedState:null;if("hidden"===r.mode)if(0==(1&n.mode))n.memoizedState={baseLanes:0,cachePool:null,transitions:null},Po(Al,Nl),Nl|=t;else{if(0==(1073741824&t))return e=null!==a?a.baseLanes|t:t,n.lanes=n.childLanes=1073741824,n.memoizedState={baseLanes:e,cachePool:null,transitions:null},n.updateQueue=null,Po(Al,Nl),Nl|=e,null;n.memoizedState={baseLanes:0,cachePool:null,transitions:null},r=null!==a?a.baseLanes:t,Po(Al,Nl),Nl|=r}else null!==a?(r=a.baseLanes|t,n.memoizedState=null):r=t,Po(Al,Nl),Nl|=r;return ws(e,n,o,t),n.child}function _s(e,n){var t=n.ref;(null===e&&null!==t||null!==e&&e.ref!==t)&&(n.flags|=512,n.flags|=2097152)}function Ps(e,n,t,r,o){var a=No(t)?Oo:To.current;return a=Ro(n,a),Ca(n,o),t=Ei(e,n,t,r,a,o),r=Ci(),null===e||xs?(aa&&r&&na(n),n.flags|=1,ws(e,n,t,o),n.child):(n.updateQueue=e.updateQueue,n.flags&=-2053,e.lanes&=~o,Vs(e,n,o))}function js(e,n,t,r,o){if(No(t)){var a=!0;Io(n)}else a=!1;if(Ca(n,o),null===n.stateNode)qs(e,n),qa(n,t,r),Za(n,t,r,o),r=!0;else if(null===e){var i=n.stateNode,s=n.memoizedProps;i.props=s;var l=i.context,c=t.contextType;"object"==typeof c&&null!==c?c=_a(c):c=Ro(n,c=No(t)?Oo:To.current);var d=t.getDerivedStateFromProps,u="function"==typeof d||"function"==typeof i.getSnapshotBeforeUpdate;u||"function"!=typeof i.UNSAFE_componentWillReceiveProps&&"function"!=typeof i.componentWillReceiveProps||(s!==r||l!==c)&&Va(n,i,r,c),Oa=!1;var p=n.memoizedState;i.state=p,Ma(n,r,i,o),l=n.memoizedState,s!==r||p!==l||$o.current||Oa?("function"==typeof d&&(Ba(n,t,d,r),l=n.memoizedState),(s=Oa||Ha(n,t,s,r,p,l,c))?(u||"function"!=typeof i.UNSAFE_componentWillMount&&"function"!=typeof i.componentWillMount||("function"==typeof i.componentWillMount&&i.componentWillMount(),"function"==typeof i.UNSAFE_componentWillMount&&i.UNSAFE_componentWillMount()),"function"==typeof i.componentDidMount&&(n.flags|=4194308)):("function"==typeof i.componentDidMount&&(n.flags|=4194308),n.memoizedProps=r,n.memoizedState=l),i.props=r,i.state=l,i.context=c,r=s):("function"==typeof i.componentDidMount&&(n.flags|=4194308),r=!1)}else{i=n.stateNode,Na(e,n),s=n.memoizedProps,c=n.type===n.elementType?s:ga(n.type,s),i.props=c,u=n.pendingProps,p=i.context,"object"==typeof(l=t.contextType)&&null!==l?l=_a(l):l=Ro(n,l=No(t)?Oo:To.current);var f=t.getDerivedStateFromProps;(d="function"==typeof f||"function"==typeof i.getSnapshotBeforeUpdate)||"function"!=typeof i.UNSAFE_componentWillReceiveProps&&"function"!=typeof i.componentWillReceiveProps||(s!==u||p!==l)&&Va(n,i,r,l),Oa=!1,p=n.memoizedState,i.state=p,Ma(n,r,i,o);var m=n.memoizedState;s!==u||p!==m||$o.current||Oa?("function"==typeof f&&(Ba(n,t,f,r),m=n.memoizedState),(c=Oa||Ha(n,t,c,r,p,m,l)||!1)?(d||"function"!=typeof i.UNSAFE_componentWillUpdate&&"function"!=typeof i.componentWillUpdate||("function"==typeof i.componentWillUpdate&&i.componentWillUpdate(r,m,l),"function"==typeof i.UNSAFE_componentWillUpdate&&i.UNSAFE_componentWillUpdate(r,m,l)),"function"==typeof i.componentDidUpdate&&(n.flags|=4),"function"==typeof i.getSnapshotBeforeUpdate&&(n.flags|=1024)):("function"!=typeof i.componentDidUpdate||s===e.memoizedProps&&p===e.memoizedState||(n.flags|=4),"function"!=typeof i.getSnapshotBeforeUpdate||s===e.memoizedProps&&p===e.memoizedState||(n.flags|=1024),n.memoizedProps=r,n.memoizedState=m),i.props=r,i.state=m,i.context=l,r=c):("function"!=typeof i.componentDidUpdate||s===e.memoizedProps&&p===e.memoizedState||(n.flags|=4),"function"!=typeof i.getSnapshotBeforeUpdate||s===e.memoizedProps&&p===e.memoizedState||(n.flags|=1024),r=!1)}return Ts(e,n,t,r,a,o)}function Ts(e,n,t,r,o,a){_s(e,n);var i=0!=(128&n.flags);if(!r&&!i)return o&&Mo(n,t,!1),Vs(e,n,a);r=n.stateNode,vs.current=n;var s=i&&"function"!=typeof t.getDerivedStateFromError?null:r.render();return n.flags|=1,null!==e&&i?(n.child=Qa(n,e.child,null,a),n.child=Qa(n,null,s,a)):ws(e,n,s,a),n.memoizedState=r.state,o&&Mo(n,t,!0),n.child}function $s(e){var n=e.stateNode;n.pendingContext?Lo(0,n.pendingContext,n.pendingContext!==n.context):n.context&&Lo(0,n.context,!1),oi(e,n.containerInfo)}function Os(e,n,t,r,o){return ma(),ya(o),n.flags|=256,ws(e,n,t,r),n.child}var Rs,Ns,As,Ls,Ds={dehydrated:null,treeContext:null,retryLane:0};function Is(e){return{baseLanes:e,cachePool:null,transitions:null}}function Ms(e,n,t){var r,o=n.pendingProps,i=li.current,s=!1,l=0!=(128&n.flags);if((r=l)||(r=(null===e||null!==e.memoizedState)&&0!=(2&i)),r?(s=!0,n.flags&=-129):null!==e&&null===e.memoizedState||(i|=1),Po(li,1&i),null===e)return da(n),null!==(e=n.memoizedState)&&null!==(e=e.dehydrated)?(0==(1&n.mode)?n.lanes=1:"$!"===e.data?n.lanes=8:n.lanes=1073741824,null):(l=o.children,e=o.fallback,s?(o=n.mode,s=n.child,l={mode:"hidden",children:l},0==(1&o)&&null!==s?(s.childLanes=0,s.pendingProps=l):s=Ic(l,o,0,null),e=Dc(e,o,t,null),s.return=n,e.return=n,s.sibling=e,n.child=s,n.child.memoizedState=Is(t),n.memoizedState=Ds,e):Fs(n,l));if(null!==(i=e.memoizedState)&&null!==(r=i.dehydrated))return function(e,n,t,r,o,i,s){if(t)return 256&n.flags?(n.flags&=-257,zs(e,n,s,r=us(Error(a(422))))):null!==n.memoizedState?(n.child=e.child,n.flags|=128,null):(i=r.fallback,o=n.mode,r=Ic({mode:"visible",children:r.children},o,0,null),(i=Dc(i,o,s,null)).flags|=2,r.return=n,i.return=n,r.sibling=i,n.child=r,0!=(1&n.mode)&&Qa(n,e.child,null,s),n.child.memoizedState=Is(s),n.memoizedState=Ds,i);if(0==(1&n.mode))return zs(e,n,s,null);if("$!"===o.data){if(r=o.nextSibling&&o.nextSibling.dataset)var l=r.dgst;return r=l,zs(e,n,s,r=us(i=Error(a(419)),r,void 0))}if(l=0!=(s&e.childLanes),xs||l){if(null!==(r=$l)){switch(s&-s){case 4:o=2;break;case 16:o=8;break;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:case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:o=32;break;case 536870912:o=268435456;break;default:o=0}0!==(o=0!=(o&(r.suspendedLanes|s))?0:o)&&o!==i.retryLane&&(i.retryLane=o,$a(e,o),rc(r,e,o,-1))}return hc(),zs(e,n,s,r=us(Error(a(421))))}return"$?"===o.data?(n.flags|=128,n.child=e.child,n=jc.bind(null,e),o._reactRetry=n,null):(e=i.treeContext,oa=co(o.nextSibling),ra=n,aa=!0,ia=null,null!==e&&(Go[Ko++]=Qo,Go[Ko++]=Jo,Go[Ko++]=Yo,Qo=e.id,Jo=e.overflow,Yo=n),n=Fs(n,r.children),n.flags|=4096,n)}(e,n,l,o,r,i,t);if(s){s=o.fallback,l=n.mode,r=(i=e.child).sibling;var c={mode:"hidden",children:o.children};return 0==(1&l)&&n.child!==i?((o=n.child).childLanes=0,o.pendingProps=c,n.deletions=null):(o=Ac(i,c)).subtreeFlags=14680064&i.subtreeFlags,null!==r?s=Ac(r,s):(s=Dc(s,l,t,null)).flags|=2,s.return=n,o.return=n,o.sibling=s,n.child=o,o=s,s=n.child,l=null===(l=e.child.memoizedState)?Is(t):{baseLanes:l.baseLanes|t,cachePool:null,transitions:l.transitions},s.memoizedState=l,s.childLanes=e.childLanes&~t,n.memoizedState=Ds,o}return e=(s=e.child).sibling,o=Ac(s,{mode:"visible",children:o.children}),0==(1&n.mode)&&(o.lanes=t),o.return=n,o.sibling=null,null!==e&&(null===(t=n.deletions)?(n.deletions=[e],n.flags|=16):t.push(e)),n.child=o,n.memoizedState=null,o}function Fs(e,n){return(n=Ic({mode:"visible",children:n},e.mode,0,null)).return=e,e.child=n}function zs(e,n,t,r){return null!==r&&ya(r),Qa(n,e.child,null,t),(e=Fs(n,n.pendingProps.children)).flags|=2,n.memoizedState=null,e}function Bs(e,n,t){e.lanes|=n;var r=e.alternate;null!==r&&(r.lanes|=n),Ea(e.return,n,t)}function Us(e,n,t,r,o){var a=e.memoizedState;null===a?e.memoizedState={isBackwards:n,rendering:null,renderingStartTime:0,last:r,tail:t,tailMode:o}:(a.isBackwards=n,a.rendering=null,a.renderingStartTime=0,a.last=r,a.tail=t,a.tailMode=o)}function Hs(e,n,t){var r=n.pendingProps,o=r.revealOrder,a=r.tail;if(ws(e,n,r.children,t),0!=(2&(r=li.current)))r=1&r|2,n.flags|=128;else{if(null!==e&&0!=(128&e.flags))e:for(e=n.child;null!==e;){if(13===e.tag)null!==e.memoizedState&&Bs(e,t,n);else if(19===e.tag)Bs(e,t,n);else if(null!==e.child){e.child.return=e,e=e.child;continue}if(e===n)break e;for(;null===e.sibling;){if(null===e.return||e.return===n)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}r&=1}if(Po(li,r),0==(1&n.mode))n.memoizedState=null;else switch(o){case"forwards":for(t=n.child,o=null;null!==t;)null!==(e=t.alternate)&&null===ci(e)&&(o=t),t=t.sibling;null===(t=o)?(o=n.child,n.child=null):(o=t.sibling,t.sibling=null),Us(n,!1,o,t,a);break;case"backwards":for(t=null,o=n.child,n.child=null;null!==o;){if(null!==(e=o.alternate)&&null===ci(e)){n.child=o;break}e=o.sibling,o.sibling=t,t=o,o=e}Us(n,!0,t,null,a);break;case"together":Us(n,!1,null,null,void 0);break;default:n.memoizedState=null}return n.child}function qs(e,n){0==(1&n.mode)&&null!==e&&(e.alternate=null,n.alternate=null,n.flags|=2)}function Vs(e,n,t){if(null!==e&&(n.dependencies=e.dependencies),Il|=n.lanes,0==(t&n.childLanes))return null;if(null!==e&&n.child!==e.child)throw Error(a(153));if(null!==n.child){for(t=Ac(e=n.child,e.pendingProps),n.child=t,t.return=n;null!==e.sibling;)e=e.sibling,(t=t.sibling=Ac(e,e.pendingProps)).return=n;t.sibling=null}return n.child}function Zs(e,n){if(!aa)switch(e.tailMode){case"hidden":n=e.tail;for(var t=null;null!==n;)null!==n.alternate&&(t=n),n=n.sibling;null===t?e.tail=null:t.sibling=null;break;case"collapsed":t=e.tail;for(var r=null;null!==t;)null!==t.alternate&&(r=t),t=t.sibling;null===r?n||null===e.tail?e.tail=null:e.tail.sibling=null:r.sibling=null}}function Ws(e){var n=null!==e.alternate&&e.alternate.child===e.child,t=0,r=0;if(n)for(var o=e.child;null!==o;)t|=o.lanes|o.childLanes,r|=14680064&o.subtreeFlags,r|=14680064&o.flags,o.return=e,o=o.sibling;else for(o=e.child;null!==o;)t|=o.lanes|o.childLanes,r|=o.subtreeFlags,r|=o.flags,o.return=e,o=o.sibling;return e.subtreeFlags|=r,e.childLanes=t,n}function Gs(e,n,t){var r=n.pendingProps;switch(ta(n),n.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Ws(n),null;case 1:case 17:return No(n.type)&&Ao(),Ws(n),null;case 3:return r=n.stateNode,ai(),_o($o),_o(To),ui(),r.pendingContext&&(r.context=r.pendingContext,r.pendingContext=null),null!==e&&null!==e.child||(pa(n)?n.flags|=4:null===e||e.memoizedState.isDehydrated&&0==(256&n.flags)||(n.flags|=1024,null!==ia&&(sc(ia),ia=null))),Ns(e,n),Ws(n),null;case 5:si(n);var o=ri(ti.current);if(t=n.type,null!==e&&null!=n.stateNode)As(e,n,t,r,o),e.ref!==n.ref&&(n.flags|=512,n.flags|=2097152);else{if(!r){if(null===n.stateNode)throw Error(a(166));return Ws(n),null}if(e=ri(ei.current),pa(n)){r=n.stateNode,t=n.type;var i=n.memoizedProps;switch(r[fo]=n,r[mo]=i,e=0!=(1&n.mode),t){case"dialog":Fr("cancel",r),Fr("close",r);break;case"iframe":case"object":case"embed":Fr("load",r);break;case"video":case"audio":for(o=0;o<Lr.length;o++)Fr(Lr[o],r);break;case"source":Fr("error",r);break;case"img":case"image":case"link":Fr("error",r),Fr("load",r);break;case"details":Fr("toggle",r);break;case"input":Y(r,i),Fr("invalid",r);break;case"select":r._wrapperState={wasMultiple:!!i.multiple},Fr("invalid",r);break;case"textarea":oe(r,i),Fr("invalid",r)}for(var l in be(t,i),o=null,i)if(i.hasOwnProperty(l)){var c=i[l];"children"===l?"string"==typeof c?r.textContent!==c&&(!0!==i.suppressHydrationWarning&&Jr(r.textContent,c,e),o=["children",c]):"number"==typeof c&&r.textContent!==""+c&&(!0!==i.suppressHydrationWarning&&Jr(r.textContent,c,e),o=["children",""+c]):s.hasOwnProperty(l)&&null!=c&&"onScroll"===l&&Fr("scroll",r)}switch(t){case"input":Z(r),X(r,i,!0);break;case"textarea":Z(r),ie(r);break;case"select":case"option":break;default:"function"==typeof i.onClick&&(r.onclick=Xr)}r=o,n.updateQueue=r,null!==r&&(n.flags|=4)}else{l=9===o.nodeType?o:o.ownerDocument,"http://www.w3.org/1999/xhtml"===e&&(e=se(t)),"http://www.w3.org/1999/xhtml"===e?"script"===t?((e=l.createElement("div")).innerHTML="<script><\/script>",e=e.removeChild(e.firstChild)):"string"==typeof r.is?e=l.createElement(t,{is:r.is}):(e=l.createElement(t),"select"===t&&(l=e,r.multiple?l.multiple=!0:r.size&&(l.size=r.size))):e=l.createElementNS(e,t),e[fo]=n,e[mo]=r,Rs(e,n,!1,!1),n.stateNode=e;e:{switch(l=ve(t,r),t){case"dialog":Fr("cancel",e),Fr("close",e),o=r;break;case"iframe":case"object":case"embed":Fr("load",e),o=r;break;case"video":case"audio":for(o=0;o<Lr.length;o++)Fr(Lr[o],e);o=r;break;case"source":Fr("error",e),o=r;break;case"img":case"image":case"link":Fr("error",e),Fr("load",e),o=r;break;case"details":Fr("toggle",e),o=r;break;case"input":Y(e,r),o=K(e,r),Fr("invalid",e);break;case"option":default:o=r;break;case"select":e._wrapperState={wasMultiple:!!r.multiple},o=I({},r,{value:void 0}),Fr("invalid",e);break;case"textarea":oe(e,r),o=re(e,r),Fr("invalid",e)}for(i in be(t,o),c=o)if(c.hasOwnProperty(i)){var d=c[i];"style"===i?he(e,d):"dangerouslySetInnerHTML"===i?null!=(d=d?d.__html:void 0)&&ue(e,d):"children"===i?"string"==typeof d?("textarea"!==t||""!==d)&&pe(e,d):"number"==typeof d&&pe(e,""+d):"suppressContentEditableWarning"!==i&&"suppressHydrationWarning"!==i&&"autoFocus"!==i&&(s.hasOwnProperty(i)?null!=d&&"onScroll"===i&&Fr("scroll",e):null!=d&&v(e,i,d,l))}switch(t){case"input":Z(e),X(e,r,!1);break;case"textarea":Z(e),ie(e);break;case"option":null!=r.value&&e.setAttribute("value",""+q(r.value));break;case"select":e.multiple=!!r.multiple,null!=(i=r.value)?te(e,!!r.multiple,i,!1):null!=r.defaultValue&&te(e,!!r.multiple,r.defaultValue,!0);break;default:"function"==typeof o.onClick&&(e.onclick=Xr)}switch(t){case"button":case"input":case"select":case"textarea":r=!!r.autoFocus;break e;case"img":r=!0;break e;default:r=!1}}r&&(n.flags|=4)}null!==n.ref&&(n.flags|=512,n.flags|=2097152)}return Ws(n),null;case 6:if(e&&null!=n.stateNode)Ls(e,n,e.memoizedProps,r);else{if("string"!=typeof r&&null===n.stateNode)throw Error(a(166));if(t=ri(ti.current),ri(ei.current),pa(n)){if(r=n.stateNode,t=n.memoizedProps,r[fo]=n,(i=r.nodeValue!==t)&&null!==(e=ra))switch(e.tag){case 3:Jr(r.nodeValue,t,0!=(1&e.mode));break;case 5:!0!==e.memoizedProps.suppressHydrationWarning&&Jr(r.nodeValue,t,0!=(1&e.mode))}i&&(n.flags|=4)}else(r=(9===t.nodeType?t:t.ownerDocument).createTextNode(r))[fo]=n,n.stateNode=r}return Ws(n),null;case 13:if(_o(li),r=n.memoizedState,null===e||null!==e.memoizedState&&null!==e.memoizedState.dehydrated){if(aa&&null!==oa&&0!=(1&n.mode)&&0==(128&n.flags))fa(),ma(),n.flags|=98560,i=!1;else if(i=pa(n),null!==r&&null!==r.dehydrated){if(null===e){if(!i)throw Error(a(318));if(!(i=null!==(i=n.memoizedState)?i.dehydrated:null))throw Error(a(317));i[fo]=n}else ma(),0==(128&n.flags)&&(n.memoizedState=null),n.flags|=4;Ws(n),i=!1}else null!==ia&&(sc(ia),ia=null),i=!0;if(!i)return 65536&n.flags?n:null}return 0!=(128&n.flags)?(n.lanes=t,n):((r=null!==r)!==(null!==e&&null!==e.memoizedState)&&r&&(n.child.flags|=8192,0!=(1&n.mode)&&(null===e||0!=(1&li.current)?0===Ll&&(Ll=3):hc())),null!==n.updateQueue&&(n.flags|=4),Ws(n),null);case 4:return ai(),Ns(e,n),null===e&&Ur(n.stateNode.containerInfo),Ws(n),null;case 10:return Sa(n.type._context),Ws(n),null;case 19:if(_o(li),null===(i=n.memoizedState))return Ws(n),null;if(r=0!=(128&n.flags),null===(l=i.rendering))if(r)Zs(i,!1);else{if(0!==Ll||null!==e&&0!=(128&e.flags))for(e=n.child;null!==e;){if(null!==(l=ci(e))){for(n.flags|=128,Zs(i,!1),null!==(r=l.updateQueue)&&(n.updateQueue=r,n.flags|=4),n.subtreeFlags=0,r=t,t=n.child;null!==t;)e=r,(i=t).flags&=14680066,null===(l=i.alternate)?(i.childLanes=0,i.lanes=e,i.child=null,i.subtreeFlags=0,i.memoizedProps=null,i.memoizedState=null,i.updateQueue=null,i.dependencies=null,i.stateNode=null):(i.childLanes=l.childLanes,i.lanes=l.lanes,i.child=l.child,i.subtreeFlags=0,i.deletions=null,i.memoizedProps=l.memoizedProps,i.memoizedState=l.memoizedState,i.updateQueue=l.updateQueue,i.type=l.type,e=l.dependencies,i.dependencies=null===e?null:{lanes:e.lanes,firstContext:e.firstContext}),t=t.sibling;return Po(li,1&li.current|2),n.child}e=e.sibling}null!==i.tail&&Qe()>Hl&&(n.flags|=128,r=!0,Zs(i,!1),n.lanes=4194304)}else{if(!r)if(null!==(e=ci(l))){if(n.flags|=128,r=!0,null!==(t=e.updateQueue)&&(n.updateQueue=t,n.flags|=4),Zs(i,!0),null===i.tail&&"hidden"===i.tailMode&&!l.alternate&&!aa)return Ws(n),null}else 2*Qe()-i.renderingStartTime>Hl&&1073741824!==t&&(n.flags|=128,r=!0,Zs(i,!1),n.lanes=4194304);i.isBackwards?(l.sibling=n.child,n.child=l):(null!==(t=i.last)?t.sibling=l:n.child=l,i.last=l)}return null!==i.tail?(n=i.tail,i.rendering=n,i.tail=n.sibling,i.renderingStartTime=Qe(),n.sibling=null,t=li.current,Po(li,r?1&t|2:1&t),n):(Ws(n),null);case 22:case 23:return pc(),r=null!==n.memoizedState,null!==e&&null!==e.memoizedState!==r&&(n.flags|=8192),r&&0!=(1&n.mode)?0!=(1073741824&Nl)&&(Ws(n),6&n.subtreeFlags&&(n.flags|=8192)):Ws(n),null;case 24:case 25:return null}throw Error(a(156,n.tag))}function Ks(e,n){switch(ta(n),n.tag){case 1:return No(n.type)&&Ao(),65536&(e=n.flags)?(n.flags=-65537&e|128,n):null;case 3:return ai(),_o($o),_o(To),ui(),0!=(65536&(e=n.flags))&&0==(128&e)?(n.flags=-65537&e|128,n):null;case 5:return si(n),null;case 13:if(_o(li),null!==(e=n.memoizedState)&&null!==e.dehydrated){if(null===n.alternate)throw Error(a(340));ma()}return 65536&(e=n.flags)?(n.flags=-65537&e|128,n):null;case 19:return _o(li),null;case 4:return ai(),null;case 10:return Sa(n.type._context),null;case 22:case 23:return pc(),null;default:return null}}Rs=function(e,n){for(var t=n.child;null!==t;){if(5===t.tag||6===t.tag)e.appendChild(t.stateNode);else if(4!==t.tag&&null!==t.child){t.child.return=t,t=t.child;continue}if(t===n)break;for(;null===t.sibling;){if(null===t.return||t.return===n)return;t=t.return}t.sibling.return=t.return,t=t.sibling}},Ns=function(){},As=function(e,n,t,r){var o=e.memoizedProps;if(o!==r){e=n.stateNode,ri(ei.current);var a,i=null;switch(t){case"input":o=K(e,o),r=K(e,r),i=[];break;case"select":o=I({},o,{value:void 0}),r=I({},r,{value:void 0}),i=[];break;case"textarea":o=re(e,o),r=re(e,r),i=[];break;default:"function"!=typeof o.onClick&&"function"==typeof r.onClick&&(e.onclick=Xr)}for(d in be(t,r),t=null,o)if(!r.hasOwnProperty(d)&&o.hasOwnProperty(d)&&null!=o[d])if("style"===d){var l=o[d];for(a in l)l.hasOwnProperty(a)&&(t||(t={}),t[a]="")}else"dangerouslySetInnerHTML"!==d&&"children"!==d&&"suppressContentEditableWarning"!==d&&"suppressHydrationWarning"!==d&&"autoFocus"!==d&&(s.hasOwnProperty(d)?i||(i=[]):(i=i||[]).push(d,null));for(d in r){var c=r[d];if(l=null!=o?o[d]:void 0,r.hasOwnProperty(d)&&c!==l&&(null!=c||null!=l))if("style"===d)if(l){for(a in l)!l.hasOwnProperty(a)||c&&c.hasOwnProperty(a)||(t||(t={}),t[a]="");for(a in c)c.hasOwnProperty(a)&&l[a]!==c[a]&&(t||(t={}),t[a]=c[a])}else t||(i||(i=[]),i.push(d,t)),t=c;else"dangerouslySetInnerHTML"===d?(c=c?c.__html:void 0,l=l?l.__html:void 0,null!=c&&l!==c&&(i=i||[]).push(d,c)):"children"===d?"string"!=typeof c&&"number"!=typeof c||(i=i||[]).push(d,""+c):"suppressContentEditableWarning"!==d&&"suppressHydrationWarning"!==d&&(s.hasOwnProperty(d)?(null!=c&&"onScroll"===d&&Fr("scroll",e),i||l===c||(i=[])):(i=i||[]).push(d,c))}t&&(i=i||[]).push("style",t);var d=i;(n.updateQueue=d)&&(n.flags|=4)}},Ls=function(e,n,t,r){t!==r&&(n.flags|=4)};var Ys=!1,Qs=!1,Js="function"==typeof WeakSet?WeakSet:Set,Xs=null;function el(e,n){var t=e.ref;if(null!==t)if("function"==typeof t)try{t(null)}catch(r){Cc(e,n,r)}else t.current=null}function nl(e,n,t){try{t()}catch(r){Cc(e,n,r)}}var tl=!1;function rl(e,n,t){var r=n.updateQueue;if(null!==(r=null!==r?r.lastEffect:null)){var o=r=r.next;do{if((o.tag&e)===e){var a=o.destroy;o.destroy=void 0,void 0!==a&&nl(n,t,a)}o=o.next}while(o!==r)}}function ol(e,n){if(null!==(n=null!==(n=n.updateQueue)?n.lastEffect:null)){var t=n=n.next;do{if((t.tag&e)===e){var r=t.create;t.destroy=r()}t=t.next}while(t!==n)}}function al(e){var n=e.ref;if(null!==n){var t=e.stateNode;e.tag,e=t,"function"==typeof n?n(e):n.current=e}}function il(e){var n=e.alternate;null!==n&&(e.alternate=null,il(n)),e.child=null,e.deletions=null,e.sibling=null,5===e.tag&&(null!==(n=e.stateNode)&&(delete n[fo],delete n[mo],delete n[ho],delete n[go],delete n[bo])),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}function sl(e){return 5===e.tag||3===e.tag||4===e.tag}function ll(e){e:for(;;){for(;null===e.sibling;){if(null===e.return||sl(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;5!==e.tag&&6!==e.tag&&18!==e.tag;){if(2&e.flags)continue e;if(null===e.child||4===e.tag)continue e;e.child.return=e,e=e.child}if(!(2&e.flags))return e.stateNode}}function cl(e,n,t){var r=e.tag;if(5===r||6===r)e=e.stateNode,n?8===t.nodeType?t.parentNode.insertBefore(e,n):t.insertBefore(e,n):(8===t.nodeType?(n=t.parentNode).insertBefore(e,t):(n=t).appendChild(e),null!=(t=t._reactRootContainer)||null!==n.onclick||(n.onclick=Xr));else if(4!==r&&null!==(e=e.child))for(cl(e,n,t),e=e.sibling;null!==e;)cl(e,n,t),e=e.sibling}function dl(e,n,t){var r=e.tag;if(5===r||6===r)e=e.stateNode,n?t.insertBefore(e,n):t.appendChild(e);else if(4!==r&&null!==(e=e.child))for(dl(e,n,t),e=e.sibling;null!==e;)dl(e,n,t),e=e.sibling}var ul=null,pl=!1;function fl(e,n,t){for(t=t.child;null!==t;)ml(e,n,t),t=t.sibling}function ml(e,n,t){if(an&&"function"==typeof an.onCommitFiberUnmount)try{an.onCommitFiberUnmount(on,t)}catch(s){}switch(t.tag){case 5:Qs||el(t,n);case 6:var r=ul,o=pl;ul=null,fl(e,n,t),pl=o,null!==(ul=r)&&(pl?(e=ul,t=t.stateNode,8===e.nodeType?e.parentNode.removeChild(t):e.removeChild(t)):ul.removeChild(t.stateNode));break;case 18:null!==ul&&(pl?(e=ul,t=t.stateNode,8===e.nodeType?lo(e.parentNode,t):1===e.nodeType&&lo(e,t),Hn(e)):lo(ul,t.stateNode));break;case 4:r=ul,o=pl,ul=t.stateNode.containerInfo,pl=!0,fl(e,n,t),ul=r,pl=o;break;case 0:case 11:case 14:case 15:if(!Qs&&(null!==(r=t.updateQueue)&&null!==(r=r.lastEffect))){o=r=r.next;do{var a=o,i=a.destroy;a=a.tag,void 0!==i&&(0!=(2&a)||0!=(4&a))&&nl(t,n,i),o=o.next}while(o!==r)}fl(e,n,t);break;case 1:if(!Qs&&(el(t,n),"function"==typeof(r=t.stateNode).componentWillUnmount))try{r.props=t.memoizedProps,r.state=t.memoizedState,r.componentWillUnmount()}catch(s){Cc(t,n,s)}fl(e,n,t);break;case 21:fl(e,n,t);break;case 22:1&t.mode?(Qs=(r=Qs)||null!==t.memoizedState,fl(e,n,t),Qs=r):fl(e,n,t);break;default:fl(e,n,t)}}function yl(e){var n=e.updateQueue;if(null!==n){e.updateQueue=null;var t=e.stateNode;null===t&&(t=e.stateNode=new Js),n.forEach((function(n){var r=Tc.bind(null,e,n);t.has(n)||(t.add(n),n.then(r,r))}))}}function hl(e,n){var t=n.deletions;if(null!==t)for(var r=0;r<t.length;r++){var o=t[r];try{var i=e,s=n,l=s;e:for(;null!==l;){switch(l.tag){case 5:ul=l.stateNode,pl=!1;break e;case 3:case 4:ul=l.stateNode.containerInfo,pl=!0;break e}l=l.return}if(null===ul)throw Error(a(160));ml(i,s,o),ul=null,pl=!1;var c=o.alternate;null!==c&&(c.return=null),o.return=null}catch(d){Cc(o,n,d)}}if(12854&n.subtreeFlags)for(n=n.child;null!==n;)gl(n,e),n=n.sibling}function gl(e,n){var t=e.alternate,r=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:if(hl(n,e),bl(e),4&r){try{rl(3,e,e.return),ol(3,e)}catch(h){Cc(e,e.return,h)}try{rl(5,e,e.return)}catch(h){Cc(e,e.return,h)}}break;case 1:hl(n,e),bl(e),512&r&&null!==t&&el(t,t.return);break;case 5:if(hl(n,e),bl(e),512&r&&null!==t&&el(t,t.return),32&e.flags){var o=e.stateNode;try{pe(o,"")}catch(h){Cc(e,e.return,h)}}if(4&r&&null!=(o=e.stateNode)){var i=e.memoizedProps,s=null!==t?t.memoizedProps:i,l=e.type,c=e.updateQueue;if(e.updateQueue=null,null!==c)try{"input"===l&&"radio"===i.type&&null!=i.name&&Q(o,i),ve(l,s);var d=ve(l,i);for(s=0;s<c.length;s+=2){var u=c[s],p=c[s+1];"style"===u?he(o,p):"dangerouslySetInnerHTML"===u?ue(o,p):"children"===u?pe(o,p):v(o,u,p,d)}switch(l){case"input":J(o,i);break;case"textarea":ae(o,i);break;case"select":var f=o._wrapperState.wasMultiple;o._wrapperState.wasMultiple=!!i.multiple;var m=i.value;null!=m?te(o,!!i.multiple,m,!1):f!==!!i.multiple&&(null!=i.defaultValue?te(o,!!i.multiple,i.defaultValue,!0):te(o,!!i.multiple,i.multiple?[]:"",!1))}o[mo]=i}catch(h){Cc(e,e.return,h)}}break;case 6:if(hl(n,e),bl(e),4&r){if(null===e.stateNode)throw Error(a(162));o=e.stateNode,i=e.memoizedProps;try{o.nodeValue=i}catch(h){Cc(e,e.return,h)}}break;case 3:if(hl(n,e),bl(e),4&r&&null!==t&&t.memoizedState.isDehydrated)try{Hn(n.containerInfo)}catch(h){Cc(e,e.return,h)}break;case 4:default:hl(n,e),bl(e);break;case 13:hl(n,e),bl(e),8192&(o=e.child).flags&&(i=null!==o.memoizedState,o.stateNode.isHidden=i,!i||null!==o.alternate&&null!==o.alternate.memoizedState||(Ul=Qe())),4&r&&yl(e);break;case 22:if(u=null!==t&&null!==t.memoizedState,1&e.mode?(Qs=(d=Qs)||u,hl(n,e),Qs=d):hl(n,e),bl(e),8192&r){if(d=null!==e.memoizedState,(e.stateNode.isHidden=d)&&!u&&0!=(1&e.mode))for(Xs=e,u=e.child;null!==u;){for(p=Xs=u;null!==Xs;){switch(m=(f=Xs).child,f.tag){case 0:case 11:case 14:case 15:rl(4,f,f.return);break;case 1:el(f,f.return);var y=f.stateNode;if("function"==typeof y.componentWillUnmount){r=f,t=f.return;try{n=r,y.props=n.memoizedProps,y.state=n.memoizedState,y.componentWillUnmount()}catch(h){Cc(r,t,h)}}break;case 5:el(f,f.return);break;case 22:if(null!==f.memoizedState){kl(p);continue}}null!==m?(m.return=f,Xs=m):kl(p)}u=u.sibling}e:for(u=null,p=e;;){if(5===p.tag){if(null===u){u=p;try{o=p.stateNode,d?"function"==typeof(i=o.style).setProperty?i.setProperty("display","none","important"):i.display="none":(l=p.stateNode,s=null!=(c=p.memoizedProps.style)&&c.hasOwnProperty("display")?c.display:null,l.style.display=ye("display",s))}catch(h){Cc(e,e.return,h)}}}else if(6===p.tag){if(null===u)try{p.stateNode.nodeValue=d?"":p.memoizedProps}catch(h){Cc(e,e.return,h)}}else if((22!==p.tag&&23!==p.tag||null===p.memoizedState||p===e)&&null!==p.child){p.child.return=p,p=p.child;continue}if(p===e)break e;for(;null===p.sibling;){if(null===p.return||p.return===e)break e;u===p&&(u=null),p=p.return}u===p&&(u=null),p.sibling.return=p.return,p=p.sibling}}break;case 19:hl(n,e),bl(e),4&r&&yl(e);case 21:}}function bl(e){var n=e.flags;if(2&n){try{e:{for(var t=e.return;null!==t;){if(sl(t)){var r=t;break e}t=t.return}throw Error(a(160))}switch(r.tag){case 5:var o=r.stateNode;32&r.flags&&(pe(o,""),r.flags&=-33),dl(e,ll(e),o);break;case 3:case 4:var i=r.stateNode.containerInfo;cl(e,ll(e),i);break;default:throw Error(a(161))}}catch(s){Cc(e,e.return,s)}e.flags&=-3}4096&n&&(e.flags&=-4097)}function vl(e,n,t){Xs=e,xl(e,n,t)}function xl(e,n,t){for(var r=0!=(1&e.mode);null!==Xs;){var o=Xs,a=o.child;if(22===o.tag&&r){var i=null!==o.memoizedState||Ys;if(!i){var s=o.alternate,l=null!==s&&null!==s.memoizedState||Qs;s=Ys;var c=Qs;if(Ys=i,(Qs=l)&&!c)for(Xs=o;null!==Xs;)l=(i=Xs).child,22===i.tag&&null!==i.memoizedState?Sl(o):null!==l?(l.return=i,Xs=l):Sl(o);for(;null!==a;)Xs=a,xl(a,n,t),a=a.sibling;Xs=o,Ys=s,Qs=c}wl(e)}else 0!=(8772&o.subtreeFlags)&&null!==a?(a.return=o,Xs=a):wl(e)}}function wl(e){for(;null!==Xs;){var n=Xs;if(0!=(8772&n.flags)){var t=n.alternate;try{if(0!=(8772&n.flags))switch(n.tag){case 0:case 11:case 15:Qs||ol(5,n);break;case 1:var r=n.stateNode;if(4&n.flags&&!Qs)if(null===t)r.componentDidMount();else{var o=n.elementType===n.type?t.memoizedProps:ga(n.type,t.memoizedProps);r.componentDidUpdate(o,t.memoizedState,r.__reactInternalSnapshotBeforeUpdate)}var i=n.updateQueue;null!==i&&Fa(n,i,r);break;case 3:var s=n.updateQueue;if(null!==s){if(t=null,null!==n.child)switch(n.child.tag){case 5:case 1:t=n.child.stateNode}Fa(n,s,t)}break;case 5:var l=n.stateNode;if(null===t&&4&n.flags){t=l;var c=n.memoizedProps;switch(n.type){case"button":case"input":case"select":case"textarea":c.autoFocus&&t.focus();break;case"img":c.src&&(t.src=c.src)}}break;case 6:case 4:case 12:case 19:case 17:case 21:case 22:case 23:case 25:break;case 13:if(null===n.memoizedState){var d=n.alternate;if(null!==d){var u=d.memoizedState;if(null!==u){var p=u.dehydrated;null!==p&&Hn(p)}}}break;default:throw Error(a(163))}Qs||512&n.flags&&al(n)}catch(f){Cc(n,n.return,f)}}if(n===e){Xs=null;break}if(null!==(t=n.sibling)){t.return=n.return,Xs=t;break}Xs=n.return}}function kl(e){for(;null!==Xs;){var n=Xs;if(n===e){Xs=null;break}var t=n.sibling;if(null!==t){t.return=n.return,Xs=t;break}Xs=n.return}}function Sl(e){for(;null!==Xs;){var n=Xs;try{switch(n.tag){case 0:case 11:case 15:var t=n.return;try{ol(4,n)}catch(l){Cc(n,t,l)}break;case 1:var r=n.stateNode;if("function"==typeof r.componentDidMount){var o=n.return;try{r.componentDidMount()}catch(l){Cc(n,o,l)}}var a=n.return;try{al(n)}catch(l){Cc(n,a,l)}break;case 5:var i=n.return;try{al(n)}catch(l){Cc(n,i,l)}}}catch(l){Cc(n,n.return,l)}if(n===e){Xs=null;break}var s=n.sibling;if(null!==s){s.return=n.return,Xs=s;break}Xs=n.return}}var El,Cl=Math.ceil,_l=x.ReactCurrentDispatcher,Pl=x.ReactCurrentOwner,jl=x.ReactCurrentBatchConfig,Tl=0,$l=null,Ol=null,Rl=0,Nl=0,Al=Co(0),Ll=0,Dl=null,Il=0,Ml=0,Fl=0,zl=null,Bl=null,Ul=0,Hl=1/0,ql=null,Vl=!1,Zl=null,Wl=null,Gl=!1,Kl=null,Yl=0,Ql=0,Jl=null,Xl=-1,ec=0;function nc(){return 0!=(6&Tl)?Qe():-1!==Xl?Xl:Xl=Qe()}function tc(e){return 0==(1&e.mode)?1:0!=(2&Tl)&&0!==Rl?Rl&-Rl:null!==ha.transition?(0===ec&&(ec=hn()),ec):0!==(e=xn)?e:e=void 0===(e=window.event)?16:Qn(e.type)}function rc(e,n,t,r){if(50<Ql)throw Ql=0,Jl=null,Error(a(185));bn(e,t,r),0!=(2&Tl)&&e===$l||(e===$l&&(0==(2&Tl)&&(Ml|=t),4===Ll&&lc(e,Rl)),oc(e,r),1===t&&0===Tl&&0==(1&n.mode)&&(Hl=Qe()+500,zo&&Ho()))}function oc(e,n){var t=e.callbackNode;!function(e,n){for(var t=e.suspendedLanes,r=e.pingedLanes,o=e.expirationTimes,a=e.pendingLanes;0<a;){var i=31-sn(a),s=1<<i,l=o[i];-1===l?0!=(s&t)&&0==(s&r)||(o[i]=mn(s,n)):l<=n&&(e.expiredLanes|=s),a&=~s}}(e,n);var r=fn(e,e===$l?Rl:0);if(0===r)null!==t&&Ge(t),e.callbackNode=null,e.callbackPriority=0;else if(n=r&-r,e.callbackPriority!==n){if(null!=t&&Ge(t),1===n)0===e.tag?function(e){zo=!0,Uo(e)}(cc.bind(null,e)):Uo(cc.bind(null,e)),io((function(){0==(6&Tl)&&Ho()})),t=null;else{switch(wn(r)){case 1:t=Xe;break;case 4:t=en;break;case 16:default:t=nn;break;case 536870912:t=rn}t=$c(t,ac.bind(null,e))}e.callbackPriority=n,e.callbackNode=t}}function ac(e,n){if(Xl=-1,ec=0,0!=(6&Tl))throw Error(a(327));var t=e.callbackNode;if(Sc()&&e.callbackNode!==t)return null;var r=fn(e,e===$l?Rl:0);if(0===r)return null;if(0!=(30&r)||0!=(r&e.expiredLanes)||n)n=gc(e,r);else{n=r;var o=Tl;Tl|=2;var i=yc();for($l===e&&Rl===n||(ql=null,Hl=Qe()+500,fc(e,n));;)try{vc();break}catch(l){mc(e,l)}ka(),_l.current=i,Tl=o,null!==Ol?n=0:($l=null,Rl=0,n=Ll)}if(0!==n){if(2===n&&(0!==(o=yn(e))&&(r=o,n=ic(e,o))),1===n)throw t=Dl,fc(e,0),lc(e,r),oc(e,Qe()),t;if(6===n)lc(e,r);else{if(o=e.current.alternate,0==(30&r)&&!function(e){for(var n=e;;){if(16384&n.flags){var t=n.updateQueue;if(null!==t&&null!==(t=t.stores))for(var r=0;r<t.length;r++){var o=t[r],a=o.getSnapshot;o=o.value;try{if(!sr(a(),o))return!1}catch(s){return!1}}}if(t=n.child,16384&n.subtreeFlags&&null!==t)t.return=n,n=t;else{if(n===e)break;for(;null===n.sibling;){if(null===n.return||n.return===e)return!0;n=n.return}n.sibling.return=n.return,n=n.sibling}}return!0}(o)&&(2===(n=gc(e,r))&&(0!==(i=yn(e))&&(r=i,n=ic(e,i))),1===n))throw t=Dl,fc(e,0),lc(e,r),oc(e,Qe()),t;switch(e.finishedWork=o,e.finishedLanes=r,n){case 0:case 1:throw Error(a(345));case 2:case 5:kc(e,Bl,ql);break;case 3:if(lc(e,r),(130023424&r)===r&&10<(n=Ul+500-Qe())){if(0!==fn(e,0))break;if(((o=e.suspendedLanes)&r)!==r){nc(),e.pingedLanes|=e.suspendedLanes&o;break}e.timeoutHandle=ro(kc.bind(null,e,Bl,ql),n);break}kc(e,Bl,ql);break;case 4:if(lc(e,r),(4194240&r)===r)break;for(n=e.eventTimes,o=-1;0<r;){var s=31-sn(r);i=1<<s,(s=n[s])>o&&(o=s),r&=~i}if(r=o,10<(r=(120>(r=Qe()-r)?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*Cl(r/1960))-r)){e.timeoutHandle=ro(kc.bind(null,e,Bl,ql),r);break}kc(e,Bl,ql);break;default:throw Error(a(329))}}}return oc(e,Qe()),e.callbackNode===t?ac.bind(null,e):null}function ic(e,n){var t=zl;return e.current.memoizedState.isDehydrated&&(fc(e,n).flags|=256),2!==(e=gc(e,n))&&(n=Bl,Bl=t,null!==n&&sc(n)),e}function sc(e){null===Bl?Bl=e:Bl.push.apply(Bl,e)}function lc(e,n){for(n&=~Fl,n&=~Ml,e.suspendedLanes|=n,e.pingedLanes&=~n,e=e.expirationTimes;0<n;){var t=31-sn(n),r=1<<t;e[t]=-1,n&=~r}}function cc(e){if(0!=(6&Tl))throw Error(a(327));Sc();var n=fn(e,0);if(0==(1&n))return oc(e,Qe()),null;var t=gc(e,n);if(0!==e.tag&&2===t){var r=yn(e);0!==r&&(n=r,t=ic(e,r))}if(1===t)throw t=Dl,fc(e,0),lc(e,n),oc(e,Qe()),t;if(6===t)throw Error(a(345));return e.finishedWork=e.current.alternate,e.finishedLanes=n,kc(e,Bl,ql),oc(e,Qe()),null}function dc(e,n){var t=Tl;Tl|=1;try{return e(n)}finally{0===(Tl=t)&&(Hl=Qe()+500,zo&&Ho())}}function uc(e){null!==Kl&&0===Kl.tag&&0==(6&Tl)&&Sc();var n=Tl;Tl|=1;var t=jl.transition,r=xn;try{if(jl.transition=null,xn=1,e)return e()}finally{xn=r,jl.transition=t,0==(6&(Tl=n))&&Ho()}}function pc(){Nl=Al.current,_o(Al)}function fc(e,n){e.finishedWork=null,e.finishedLanes=0;var t=e.timeoutHandle;if(-1!==t&&(e.timeoutHandle=-1,oo(t)),null!==Ol)for(t=Ol.return;null!==t;){var r=t;switch(ta(r),r.tag){case 1:null!=(r=r.type.childContextTypes)&&Ao();break;case 3:ai(),_o($o),_o(To),ui();break;case 5:si(r);break;case 4:ai();break;case 13:case 19:_o(li);break;case 10:Sa(r.type._context);break;case 22:case 23:pc()}t=t.return}if($l=e,Ol=e=Ac(e.current,null),Rl=Nl=n,Ll=0,Dl=null,Fl=Ml=Il=0,Bl=zl=null,null!==Pa){for(n=0;n<Pa.length;n++)if(null!==(r=(t=Pa[n]).interleaved)){t.interleaved=null;var o=r.next,a=t.pending;if(null!==a){var i=a.next;a.next=o,r.next=i}t.pending=r}Pa=null}return e}function mc(e,n){for(;;){var t=Ol;try{if(ka(),pi.current=is,bi){for(var r=yi.memoizedState;null!==r;){var o=r.queue;null!==o&&(o.pending=null),r=r.next}bi=!1}if(mi=0,gi=hi=yi=null,vi=!1,xi=0,Pl.current=null,null===t||null===t.return){Ll=1,Dl=n,Ol=null;break}e:{var i=e,s=t.return,l=t,c=n;if(n=Rl,l.flags|=32768,null!==c&&"object"==typeof c&&"function"==typeof c.then){var d=c,u=l,p=u.tag;if(0==(1&u.mode)&&(0===p||11===p||15===p)){var f=u.alternate;f?(u.updateQueue=f.updateQueue,u.memoizedState=f.memoizedState,u.lanes=f.lanes):(u.updateQueue=null,u.memoizedState=null)}var m=gs(s);if(null!==m){m.flags&=-257,bs(m,s,l,0,n),1&m.mode&&hs(i,d,n),c=d;var y=(n=m).updateQueue;if(null===y){var h=new Set;h.add(c),n.updateQueue=h}else y.add(c);break e}if(0==(1&n)){hs(i,d,n),hc();break e}c=Error(a(426))}else if(aa&&1&l.mode){var g=gs(s);if(null!==g){0==(65536&g.flags)&&(g.flags|=256),bs(g,s,l,0,n),ya(ds(c,l));break e}}i=c=ds(c,l),4!==Ll&&(Ll=2),null===zl?zl=[i]:zl.push(i),i=s;do{switch(i.tag){case 3:i.flags|=65536,n&=-n,i.lanes|=n,Ia(i,ms(0,c,n));break e;case 1:l=c;var b=i.type,v=i.stateNode;if(0==(128&i.flags)&&("function"==typeof b.getDerivedStateFromError||null!==v&&"function"==typeof v.componentDidCatch&&(null===Wl||!Wl.has(v)))){i.flags|=65536,n&=-n,i.lanes|=n,Ia(i,ys(i,l,n));break e}}i=i.return}while(null!==i)}wc(t)}catch(x){n=x,Ol===t&&null!==t&&(Ol=t=t.return);continue}break}}function yc(){var e=_l.current;return _l.current=is,null===e?is:e}function hc(){0!==Ll&&3!==Ll&&2!==Ll||(Ll=4),null===$l||0==(268435455&Il)&&0==(268435455&Ml)||lc($l,Rl)}function gc(e,n){var t=Tl;Tl|=2;var r=yc();for($l===e&&Rl===n||(ql=null,fc(e,n));;)try{bc();break}catch(o){mc(e,o)}if(ka(),Tl=t,_l.current=r,null!==Ol)throw Error(a(261));return $l=null,Rl=0,Ll}function bc(){for(;null!==Ol;)xc(Ol)}function vc(){for(;null!==Ol&&!Ke();)xc(Ol)}function xc(e){var n=El(e.alternate,e,Nl);e.memoizedProps=e.pendingProps,null===n?wc(e):Ol=n,Pl.current=null}function wc(e){var n=e;do{var t=n.alternate;if(e=n.return,0==(32768&n.flags)){if(null!==(t=Gs(t,n,Nl)))return void(Ol=t)}else{if(null!==(t=Ks(t,n)))return t.flags&=32767,void(Ol=t);if(null===e)return Ll=6,void(Ol=null);e.flags|=32768,e.subtreeFlags=0,e.deletions=null}if(null!==(n=n.sibling))return void(Ol=n);Ol=n=e}while(null!==n);0===Ll&&(Ll=5)}function kc(e,n,t){var r=xn,o=jl.transition;try{jl.transition=null,xn=1,function(e,n,t,r){do{Sc()}while(null!==Kl);if(0!=(6&Tl))throw Error(a(327));t=e.finishedWork;var o=e.finishedLanes;if(null===t)return null;if(e.finishedWork=null,e.finishedLanes=0,t===e.current)throw Error(a(177));e.callbackNode=null,e.callbackPriority=0;var i=t.lanes|t.childLanes;if(function(e,n){var t=e.pendingLanes&~n;e.pendingLanes=n,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=n,e.mutableReadLanes&=n,e.entangledLanes&=n,n=e.entanglements;var r=e.eventTimes;for(e=e.expirationTimes;0<t;){var o=31-sn(t),a=1<<o;n[o]=0,r[o]=-1,e[o]=-1,t&=~a}}(e,i),e===$l&&(Ol=$l=null,Rl=0),0==(2064&t.subtreeFlags)&&0==(2064&t.flags)||Gl||(Gl=!0,$c(nn,(function(){return Sc(),null}))),i=0!=(15990&t.flags),0!=(15990&t.subtreeFlags)||i){i=jl.transition,jl.transition=null;var s=xn;xn=1;var l=Tl;Tl|=4,Pl.current=null,function(e,n){if(eo=Vn,fr(e=pr())){if("selectionStart"in e)var t={start:e.selectionStart,end:e.selectionEnd};else e:{var r=(t=(t=e.ownerDocument)&&t.defaultView||window).getSelection&&t.getSelection();if(r&&0!==r.rangeCount){t=r.anchorNode;var o=r.anchorOffset,i=r.focusNode;r=r.focusOffset;try{t.nodeType,i.nodeType}catch(w){t=null;break e}var s=0,l=-1,c=-1,d=0,u=0,p=e,f=null;n:for(;;){for(var m;p!==t||0!==o&&3!==p.nodeType||(l=s+o),p!==i||0!==r&&3!==p.nodeType||(c=s+r),3===p.nodeType&&(s+=p.nodeValue.length),null!==(m=p.firstChild);)f=p,p=m;for(;;){if(p===e)break n;if(f===t&&++d===o&&(l=s),f===i&&++u===r&&(c=s),null!==(m=p.nextSibling))break;f=(p=f).parentNode}p=m}t=-1===l||-1===c?null:{start:l,end:c}}else t=null}t=t||{start:0,end:0}}else t=null;for(no={focusedElem:e,selectionRange:t},Vn=!1,Xs=n;null!==Xs;)if(e=(n=Xs).child,0!=(1028&n.subtreeFlags)&&null!==e)e.return=n,Xs=e;else for(;null!==Xs;){n=Xs;try{var y=n.alternate;if(0!=(1024&n.flags))switch(n.tag){case 0:case 11:case 15:case 5:case 6:case 4:case 17:break;case 1:if(null!==y){var h=y.memoizedProps,g=y.memoizedState,b=n.stateNode,v=b.getSnapshotBeforeUpdate(n.elementType===n.type?h:ga(n.type,h),g);b.__reactInternalSnapshotBeforeUpdate=v}break;case 3:var x=n.stateNode.containerInfo;1===x.nodeType?x.textContent="":9===x.nodeType&&x.documentElement&&x.removeChild(x.documentElement);break;default:throw Error(a(163))}}catch(w){Cc(n,n.return,w)}if(null!==(e=n.sibling)){e.return=n.return,Xs=e;break}Xs=n.return}y=tl,tl=!1}(e,t),gl(t,e),mr(no),Vn=!!eo,no=eo=null,e.current=t,vl(t,e,o),Ye(),Tl=l,xn=s,jl.transition=i}else e.current=t;if(Gl&&(Gl=!1,Kl=e,Yl=o),i=e.pendingLanes,0===i&&(Wl=null),function(e){if(an&&"function"==typeof an.onCommitFiberRoot)try{an.onCommitFiberRoot(on,e,void 0,128==(128&e.current.flags))}catch(n){}}(t.stateNode),oc(e,Qe()),null!==n)for(r=e.onRecoverableError,t=0;t<n.length;t++)o=n[t],r(o.value,{componentStack:o.stack,digest:o.digest});if(Vl)throw Vl=!1,e=Zl,Zl=null,e;0!=(1&Yl)&&0!==e.tag&&Sc(),i=e.pendingLanes,0!=(1&i)?e===Jl?Ql++:(Ql=0,Jl=e):Ql=0,Ho()}(e,n,t,r)}finally{jl.transition=o,xn=r}return null}function Sc(){if(null!==Kl){var e=wn(Yl),n=jl.transition,t=xn;try{if(jl.transition=null,xn=16>e?16:e,null===Kl)var r=!1;else{if(e=Kl,Kl=null,Yl=0,0!=(6&Tl))throw Error(a(331));var o=Tl;for(Tl|=4,Xs=e.current;null!==Xs;){var i=Xs,s=i.child;if(0!=(16&Xs.flags)){var l=i.deletions;if(null!==l){for(var c=0;c<l.length;c++){var d=l[c];for(Xs=d;null!==Xs;){var u=Xs;switch(u.tag){case 0:case 11:case 15:rl(8,u,i)}var p=u.child;if(null!==p)p.return=u,Xs=p;else for(;null!==Xs;){var f=(u=Xs).sibling,m=u.return;if(il(u),u===d){Xs=null;break}if(null!==f){f.return=m,Xs=f;break}Xs=m}}}var y=i.alternate;if(null!==y){var h=y.child;if(null!==h){y.child=null;do{var g=h.sibling;h.sibling=null,h=g}while(null!==h)}}Xs=i}}if(0!=(2064&i.subtreeFlags)&&null!==s)s.return=i,Xs=s;else e:for(;null!==Xs;){if(0!=(2048&(i=Xs).flags))switch(i.tag){case 0:case 11:case 15:rl(9,i,i.return)}var b=i.sibling;if(null!==b){b.return=i.return,Xs=b;break e}Xs=i.return}}var v=e.current;for(Xs=v;null!==Xs;){var x=(s=Xs).child;if(0!=(2064&s.subtreeFlags)&&null!==x)x.return=s,Xs=x;else e:for(s=v;null!==Xs;){if(0!=(2048&(l=Xs).flags))try{switch(l.tag){case 0:case 11:case 15:ol(9,l)}}catch(k){Cc(l,l.return,k)}if(l===s){Xs=null;break e}var w=l.sibling;if(null!==w){w.return=l.return,Xs=w;break e}Xs=l.return}}if(Tl=o,Ho(),an&&"function"==typeof an.onPostCommitFiberRoot)try{an.onPostCommitFiberRoot(on,e)}catch(k){}r=!0}return r}finally{xn=t,jl.transition=n}}return!1}function Ec(e,n,t){e=La(e,n=ms(0,n=ds(t,n),1),1),n=nc(),null!==e&&(bn(e,1,n),oc(e,n))}function Cc(e,n,t){if(3===e.tag)Ec(e,e,t);else for(;null!==n;){if(3===n.tag){Ec(n,e,t);break}if(1===n.tag){var r=n.stateNode;if("function"==typeof n.type.getDerivedStateFromError||"function"==typeof r.componentDidCatch&&(null===Wl||!Wl.has(r))){n=La(n,e=ys(n,e=ds(t,e),1),1),e=nc(),null!==n&&(bn(n,1,e),oc(n,e));break}}n=n.return}}function _c(e,n,t){var r=e.pingCache;null!==r&&r.delete(n),n=nc(),e.pingedLanes|=e.suspendedLanes&t,$l===e&&(Rl&t)===t&&(4===Ll||3===Ll&&(130023424&Rl)===Rl&&500>Qe()-Ul?fc(e,0):Fl|=t),oc(e,n)}function Pc(e,n){0===n&&(0==(1&e.mode)?n=1:(n=un,0==(130023424&(un<<=1))&&(un=4194304)));var t=nc();null!==(e=$a(e,n))&&(bn(e,n,t),oc(e,t))}function jc(e){var n=e.memoizedState,t=0;null!==n&&(t=n.retryLane),Pc(e,t)}function Tc(e,n){var t=0;switch(e.tag){case 13:var r=e.stateNode,o=e.memoizedState;null!==o&&(t=o.retryLane);break;case 19:r=e.stateNode;break;default:throw Error(a(314))}null!==r&&r.delete(n),Pc(e,t)}function $c(e,n){return We(e,n)}function Oc(e,n,t,r){this.tag=e,this.key=t,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=n,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function Rc(e,n,t,r){return new Oc(e,n,t,r)}function Nc(e){return!(!(e=e.prototype)||!e.isReactComponent)}function Ac(e,n){var t=e.alternate;return null===t?((t=Rc(e.tag,n,e.key,e.mode)).elementType=e.elementType,t.type=e.type,t.stateNode=e.stateNode,t.alternate=e,e.alternate=t):(t.pendingProps=n,t.type=e.type,t.flags=0,t.subtreeFlags=0,t.deletions=null),t.flags=14680064&e.flags,t.childLanes=e.childLanes,t.lanes=e.lanes,t.child=e.child,t.memoizedProps=e.memoizedProps,t.memoizedState=e.memoizedState,t.updateQueue=e.updateQueue,n=e.dependencies,t.dependencies=null===n?null:{lanes:n.lanes,firstContext:n.firstContext},t.sibling=e.sibling,t.index=e.index,t.ref=e.ref,t}function Lc(e,n,t,r,o,i){var s=2;if(r=e,"function"==typeof e)Nc(e)&&(s=1);else if("string"==typeof e)s=5;else e:switch(e){case S:return Dc(t.children,o,i,n);case E:s=8,o|=8;break;case C:return(e=Rc(12,t,n,2|o)).elementType=C,e.lanes=i,e;case T:return(e=Rc(13,t,n,o)).elementType=T,e.lanes=i,e;case $:return(e=Rc(19,t,n,o)).elementType=$,e.lanes=i,e;case N:return Ic(t,o,i,n);default:if("object"==typeof e&&null!==e)switch(e.$$typeof){case _:s=10;break e;case P:s=9;break e;case j:s=11;break e;case O:s=14;break e;case R:s=16,r=null;break e}throw Error(a(130,null==e?e:typeof e,""))}return(n=Rc(s,t,n,o)).elementType=e,n.type=r,n.lanes=i,n}function Dc(e,n,t,r){return(e=Rc(7,e,r,n)).lanes=t,e}function Ic(e,n,t,r){return(e=Rc(22,e,r,n)).elementType=N,e.lanes=t,e.stateNode={isHidden:!1},e}function Mc(e,n,t){return(e=Rc(6,e,null,n)).lanes=t,e}function Fc(e,n,t){return(n=Rc(4,null!==e.children?e.children:[],e.key,n)).lanes=t,n.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},n}function zc(e,n,t,r,o){this.tag=n,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=gn(0),this.expirationTimes=gn(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=gn(0),this.identifierPrefix=r,this.onRecoverableError=o,this.mutableSourceEagerHydrationData=null}function Bc(e,n,t,r,o,a,i,s,l){return e=new zc(e,n,t,s,l),1===n?(n=1,!0===a&&(n|=8)):n=0,a=Rc(3,null,null,n),e.current=a,a.stateNode=e,a.memoizedState={element:r,isDehydrated:t,cache:null,transitions:null,pendingSuspenseBoundaries:null},Ra(a),e}function Uc(e){if(!e)return jo;e:{if(Ue(e=e._reactInternals)!==e||1!==e.tag)throw Error(a(170));var n=e;do{switch(n.tag){case 3:n=n.stateNode.context;break e;case 1:if(No(n.type)){n=n.stateNode.__reactInternalMemoizedMergedChildContext;break e}}n=n.return}while(null!==n);throw Error(a(171))}if(1===e.tag){var t=e.type;if(No(t))return Do(e,t,n)}return n}function Hc(e,n,t,r,o,a,i,s,l){return(e=Bc(t,r,!0,e,0,a,0,s,l)).context=Uc(null),t=e.current,(a=Aa(r=nc(),o=tc(t))).callback=null!=n?n:null,La(t,a,o),e.current.lanes=o,bn(e,o,r),oc(e,r),e}function qc(e,n,t,r){var o=n.current,a=nc(),i=tc(o);return t=Uc(t),null===n.context?n.context=t:n.pendingContext=t,(n=Aa(a,i)).payload={element:e},null!==(r=void 0===r?null:r)&&(n.callback=r),null!==(e=La(o,n,i))&&(rc(e,o,i,a),Da(e,o,i)),i}function Vc(e){return(e=e.current).child?(e.child.tag,e.child.stateNode):null}function Zc(e,n){if(null!==(e=e.memoizedState)&&null!==e.dehydrated){var t=e.retryLane;e.retryLane=0!==t&&t<n?t:n}}function Wc(e,n){Zc(e,n),(e=e.alternate)&&Zc(e,n)}El=function(e,n,t){if(null!==e)if(e.memoizedProps!==n.pendingProps||$o.current)xs=!0;else{if(0==(e.lanes&t)&&0==(128&n.flags))return xs=!1,function(e,n,t){switch(n.tag){case 3:$s(n),ma();break;case 5:ii(n);break;case 1:No(n.type)&&Io(n);break;case 4:oi(n,n.stateNode.containerInfo);break;case 10:var r=n.type._context,o=n.memoizedProps.value;Po(ba,r._currentValue),r._currentValue=o;break;case 13:if(null!==(r=n.memoizedState))return null!==r.dehydrated?(Po(li,1&li.current),n.flags|=128,null):0!=(t&n.child.childLanes)?Ms(e,n,t):(Po(li,1&li.current),null!==(e=Vs(e,n,t))?e.sibling:null);Po(li,1&li.current);break;case 19:if(r=0!=(t&n.childLanes),0!=(128&e.flags)){if(r)return Hs(e,n,t);n.flags|=128}if(null!==(o=n.memoizedState)&&(o.rendering=null,o.tail=null,o.lastEffect=null),Po(li,li.current),r)break;return null;case 22:case 23:return n.lanes=0,Cs(e,n,t)}return Vs(e,n,t)}(e,n,t);xs=0!=(131072&e.flags)}else xs=!1,aa&&0!=(1048576&n.flags)&&ea(n,Wo,n.index);switch(n.lanes=0,n.tag){case 2:var r=n.type;qs(e,n),e=n.pendingProps;var o=Ro(n,To.current);Ca(n,t),o=Ei(null,n,r,e,o,t);var i=Ci();return n.flags|=1,"object"==typeof o&&null!==o&&"function"==typeof o.render&&void 0===o.$$typeof?(n.tag=1,n.memoizedState=null,n.updateQueue=null,No(r)?(i=!0,Io(n)):i=!1,n.memoizedState=null!==o.state&&void 0!==o.state?o.state:null,Ra(n),o.updater=Ua,n.stateNode=o,o._reactInternals=n,Za(n,r,e,t),n=Ts(null,n,r,!0,i,t)):(n.tag=0,aa&&i&&na(n),ws(null,n,o,t),n=n.child),n;case 16:r=n.elementType;e:{switch(qs(e,n),e=n.pendingProps,r=(o=r._init)(r._payload),n.type=r,o=n.tag=function(e){if("function"==typeof e)return Nc(e)?1:0;if(null!=e){if((e=e.$$typeof)===j)return 11;if(e===O)return 14}return 2}(r),e=ga(r,e),o){case 0:n=Ps(null,n,r,e,t);break e;case 1:n=js(null,n,r,e,t);break e;case 11:n=ks(null,n,r,e,t);break e;case 14:n=Ss(null,n,r,ga(r.type,e),t);break e}throw Error(a(306,r,""))}return n;case 0:return r=n.type,o=n.pendingProps,Ps(e,n,r,o=n.elementType===r?o:ga(r,o),t);case 1:return r=n.type,o=n.pendingProps,js(e,n,r,o=n.elementType===r?o:ga(r,o),t);case 3:e:{if($s(n),null===e)throw Error(a(387));r=n.pendingProps,o=(i=n.memoizedState).element,Na(e,n),Ma(n,r,null,t);var s=n.memoizedState;if(r=s.element,i.isDehydrated){if(i={element:r,isDehydrated:!1,cache:s.cache,pendingSuspenseBoundaries:s.pendingSuspenseBoundaries,transitions:s.transitions},n.updateQueue.baseState=i,n.memoizedState=i,256&n.flags){n=Os(e,n,r,t,o=ds(Error(a(423)),n));break e}if(r!==o){n=Os(e,n,r,t,o=ds(Error(a(424)),n));break e}for(oa=co(n.stateNode.containerInfo.firstChild),ra=n,aa=!0,ia=null,t=Ja(n,null,r,t),n.child=t;t;)t.flags=-3&t.flags|4096,t=t.sibling}else{if(ma(),r===o){n=Vs(e,n,t);break e}ws(e,n,r,t)}n=n.child}return n;case 5:return ii(n),null===e&&da(n),r=n.type,o=n.pendingProps,i=null!==e?e.memoizedProps:null,s=o.children,to(r,o)?s=null:null!==i&&to(r,i)&&(n.flags|=32),_s(e,n),ws(e,n,s,t),n.child;case 6:return null===e&&da(n),null;case 13:return Ms(e,n,t);case 4:return oi(n,n.stateNode.containerInfo),r=n.pendingProps,null===e?n.child=Qa(n,null,r,t):ws(e,n,r,t),n.child;case 11:return r=n.type,o=n.pendingProps,ks(e,n,r,o=n.elementType===r?o:ga(r,o),t);case 7:return ws(e,n,n.pendingProps,t),n.child;case 8:case 12:return ws(e,n,n.pendingProps.children,t),n.child;case 10:e:{if(r=n.type._context,o=n.pendingProps,i=n.memoizedProps,s=o.value,Po(ba,r._currentValue),r._currentValue=s,null!==i)if(sr(i.value,s)){if(i.children===o.children&&!$o.current){n=Vs(e,n,t);break e}}else for(null!==(i=n.child)&&(i.return=n);null!==i;){var l=i.dependencies;if(null!==l){s=i.child;for(var c=l.firstContext;null!==c;){if(c.context===r){if(1===i.tag){(c=Aa(-1,t&-t)).tag=2;var d=i.updateQueue;if(null!==d){var u=(d=d.shared).pending;null===u?c.next=c:(c.next=u.next,u.next=c),d.pending=c}}i.lanes|=t,null!==(c=i.alternate)&&(c.lanes|=t),Ea(i.return,t,n),l.lanes|=t;break}c=c.next}}else if(10===i.tag)s=i.type===n.type?null:i.child;else if(18===i.tag){if(null===(s=i.return))throw Error(a(341));s.lanes|=t,null!==(l=s.alternate)&&(l.lanes|=t),Ea(s,t,n),s=i.sibling}else s=i.child;if(null!==s)s.return=i;else for(s=i;null!==s;){if(s===n){s=null;break}if(null!==(i=s.sibling)){i.return=s.return,s=i;break}s=s.return}i=s}ws(e,n,o.children,t),n=n.child}return n;case 9:return o=n.type,r=n.pendingProps.children,Ca(n,t),r=r(o=_a(o)),n.flags|=1,ws(e,n,r,t),n.child;case 14:return o=ga(r=n.type,n.pendingProps),Ss(e,n,r,o=ga(r.type,o),t);case 15:return Es(e,n,n.type,n.pendingProps,t);case 17:return r=n.type,o=n.pendingProps,o=n.elementType===r?o:ga(r,o),qs(e,n),n.tag=1,No(r)?(e=!0,Io(n)):e=!1,Ca(n,t),qa(n,r,o),Za(n,r,o,t),Ts(null,n,r,!0,e,t);case 19:return Hs(e,n,t);case 22:return Cs(e,n,t)}throw Error(a(156,n.tag))};var Gc="function"==typeof reportError?reportError:function(e){console.error(e)};function Kc(e){this._internalRoot=e}function Yc(e){this._internalRoot=e}function Qc(e){return!(!e||1!==e.nodeType&&9!==e.nodeType&&11!==e.nodeType)}function Jc(e){return!(!e||1!==e.nodeType&&9!==e.nodeType&&11!==e.nodeType&&(8!==e.nodeType||" react-mount-point-unstable "!==e.nodeValue))}function Xc(){}function ed(e,n,t,r,o){var a=t._reactRootContainer;if(a){var i=a;if("function"==typeof o){var s=o;o=function(){var e=Vc(i);s.call(e)}}qc(n,i,e,o)}else i=function(e,n,t,r,o){if(o){if("function"==typeof r){var a=r;r=function(){var e=Vc(i);a.call(e)}}var i=Hc(n,r,e,0,null,!1,0,"",Xc);return e._reactRootContainer=i,e[yo]=i.current,Ur(8===e.nodeType?e.parentNode:e),uc(),i}for(;o=e.lastChild;)e.removeChild(o);if("function"==typeof r){var s=r;r=function(){var e=Vc(l);s.call(e)}}var l=Bc(e,0,!1,null,0,!1,0,"",Xc);return e._reactRootContainer=l,e[yo]=l.current,Ur(8===e.nodeType?e.parentNode:e),uc((function(){qc(n,l,t,r)})),l}(t,n,e,o,r);return Vc(i)}Yc.prototype.render=Kc.prototype.render=function(e){var n=this._internalRoot;if(null===n)throw Error(a(409));qc(e,n,null,null)},Yc.prototype.unmount=Kc.prototype.unmount=function(){var e=this._internalRoot;if(null!==e){this._internalRoot=null;var n=e.containerInfo;uc((function(){qc(null,e,null,null)})),n[yo]=null}},Yc.prototype.unstable_scheduleHydration=function(e){if(e){var n=Cn();e={blockedOn:null,target:e,priority:n};for(var t=0;t<An.length&&0!==n&&n<An[t].priority;t++);An.splice(t,0,e),0===t&&Mn(e)}},kn=function(e){switch(e.tag){case 3:var n=e.stateNode;if(n.current.memoizedState.isDehydrated){var t=pn(n.pendingLanes);0!==t&&(vn(n,1|t),oc(n,Qe()),0==(6&Tl)&&(Hl=Qe()+500,Ho()))}break;case 13:uc((function(){var n=$a(e,1);if(null!==n){var t=nc();rc(n,e,1,t)}})),Wc(e,1)}},Sn=function(e){if(13===e.tag){var n=$a(e,134217728);if(null!==n)rc(n,e,134217728,nc());Wc(e,134217728)}},En=function(e){if(13===e.tag){var n=tc(e),t=$a(e,n);if(null!==t)rc(t,e,n,nc());Wc(e,n)}},Cn=function(){return xn},_n=function(e,n){var t=xn;try{return xn=e,n()}finally{xn=t}},ke=function(e,n,t){switch(n){case"input":if(J(e,t),n=t.name,"radio"===t.type&&null!=n){for(t=e;t.parentNode;)t=t.parentNode;for(t=t.querySelectorAll("input[name="+JSON.stringify(""+n)+'][type="radio"]'),n=0;n<t.length;n++){var r=t[n];if(r!==e&&r.form===e.form){var o=ko(r);if(!o)throw Error(a(90));W(r),J(r,o)}}}break;case"textarea":ae(e,t);break;case"select":null!=(n=t.value)&&te(e,!!t.multiple,n,!1)}},je=dc,Te=uc;var nd={usingClientEntryPoint:!1,Events:[xo,wo,ko,_e,Pe,dc]},td={findFiberByHostInstance:vo,bundleType:0,version:"18.2.0",rendererPackageName:"react-dom"},rd={bundleType:td.bundleType,version:td.version,rendererPackageName:td.rendererPackageName,rendererConfig:td.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:x.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return null===(e=Ve(e))?null:e.stateNode},findFiberByHostInstance:td.findFiberByHostInstance||function(){return null},findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null,reconcilerVersion:"18.2.0-next-9e3b772b8-20220608"};if("undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__){var od=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!od.isDisabled&&od.supportsFiber)try{on=od.inject(rd),an=od}catch(de){}}n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=nd,n.createPortal=function(e,n){var t=2<arguments.length&&void 0!==arguments[2]?arguments[2]:null;if(!Qc(n))throw Error(a(200));return function(e,n,t){var r=3<arguments.length&&void 0!==arguments[3]?arguments[3]:null;return{$$typeof:k,key:null==r?null:""+r,children:e,containerInfo:n,implementation:t}}(e,n,null,t)},n.createRoot=function(e,n){if(!Qc(e))throw Error(a(299));var t=!1,r="",o=Gc;return null!=n&&(!0===n.unstable_strictMode&&(t=!0),void 0!==n.identifierPrefix&&(r=n.identifierPrefix),void 0!==n.onRecoverableError&&(o=n.onRecoverableError)),n=Bc(e,1,!1,null,0,t,0,r,o),e[yo]=n.current,Ur(8===e.nodeType?e.parentNode:e),new Kc(n)},n.findDOMNode=function(e){if(null==e)return null;if(1===e.nodeType)return e;var n=e._reactInternals;if(void 0===n){if("function"==typeof e.render)throw Error(a(188));throw e=Object.keys(e).join(","),Error(a(268,e))}return e=null===(e=Ve(n))?null:e.stateNode},n.flushSync=function(e){return uc(e)},n.hydrate=function(e,n,t){if(!Jc(n))throw Error(a(200));return ed(null,e,n,!0,t)},n.hydrateRoot=function(e,n,t){if(!Qc(e))throw Error(a(405));var r=null!=t&&t.hydratedSources||null,o=!1,i="",s=Gc;if(null!=t&&(!0===t.unstable_strictMode&&(o=!0),void 0!==t.identifierPrefix&&(i=t.identifierPrefix),void 0!==t.onRecoverableError&&(s=t.onRecoverableError)),n=Hc(n,null,e,1,null!=t?t:null,o,0,i,s),e[yo]=n.current,Ur(e),r)for(e=0;e<r.length;e++)o=(o=(t=r[e])._getVersion)(t._source),null==n.mutableSourceEagerHydrationData?n.mutableSourceEagerHydrationData=[t,o]:n.mutableSourceEagerHydrationData.push(t,o);return new Yc(n)},n.render=function(e,n,t){if(!Jc(n))throw Error(a(200));return ed(null,e,n,!1,t)},n.unmountComponentAtNode=function(e){if(!Jc(e))throw Error(a(40));return!!e._reactRootContainer&&(uc((function(){ed(null,null,e,!1,(function(){e._reactRootContainer=null,e[yo]=null}))})),!0)},n.unstable_batchedUpdates=dc,n.unstable_renderSubtreeIntoContainer=function(e,n,t,r){if(!Jc(t))throw Error(a(200));if(null==e||void 0===e._reactInternals)throw Error(a(38));return ed(e,n,t,!1,r)},n.version="18.2.0-next-9e3b772b8-20220608"},17029:(e,n,t)=>{"use strict";var r=t(28316);n.createRoot=r.createRoot,n.hydrateRoot=r.hydrateRoot},28316:(e,n,t)=>{"use strict";!function e(){if("undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE)try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(n){console.error(n)}}(),e.exports=t(52967)},78435:e=>{var n="undefined"!=typeof Element,t="function"==typeof Map,r="function"==typeof Set,o="function"==typeof ArrayBuffer&&!!ArrayBuffer.isView;function a(e,i){if(e===i)return!0;if(e&&i&&"object"==typeof e&&"object"==typeof i){if(e.constructor!==i.constructor)return!1;var s,l,c,d;if(Array.isArray(e)){if((s=e.length)!=i.length)return!1;for(l=s;0!=l--;)if(!a(e[l],i[l]))return!1;return!0}if(t&&e instanceof Map&&i instanceof Map){if(e.size!==i.size)return!1;for(d=e.entries();!(l=d.next()).done;)if(!i.has(l.value[0]))return!1;for(d=e.entries();!(l=d.next()).done;)if(!a(l.value[1],i.get(l.value[0])))return!1;return!0}if(r&&e instanceof Set&&i instanceof Set){if(e.size!==i.size)return!1;for(d=e.entries();!(l=d.next()).done;)if(!i.has(l.value[0]))return!1;return!0}if(o&&ArrayBuffer.isView(e)&&ArrayBuffer.isView(i)){if((s=e.length)!=i.length)return!1;for(l=s;0!=l--;)if(e[l]!==i[l])return!1;return!0}if(e.constructor===RegExp)return e.source===i.source&&e.flags===i.flags;if(e.valueOf!==Object.prototype.valueOf&&"function"==typeof e.valueOf&&"function"==typeof i.valueOf)return e.valueOf()===i.valueOf();if(e.toString!==Object.prototype.toString&&"function"==typeof e.toString&&"function"==typeof i.toString)return e.toString()===i.toString();if((s=(c=Object.keys(e)).length)!==Object.keys(i).length)return!1;for(l=s;0!=l--;)if(!Object.prototype.hasOwnProperty.call(i,c[l]))return!1;if(n&&e instanceof Element)return!1;for(l=s;0!=l--;)if(("_owner"!==c[l]&&"__v"!==c[l]&&"__o"!==c[l]||!e.$$typeof)&&!a(e[c[l]],i[c[l]]))return!1;return!0}return e!=e&&i!=i}e.exports=function(e,n){try{return a(e,n)}catch(t){if((t.message||"").match(/stack|recursion/i))return console.warn("react-fast-compare cannot handle circular refs"),!1;throw t}}},72175:(e,n,t)=>{"use strict";t.d(n,{B6:()=>V,ql:()=>X});var r=t(2784),o=t(13980),a=t.n(o),i=t(78435),s=t.n(i),l=t(47677),c=t.n(l),d=t(88665),u=t.n(d);function p(){return p=Object.assign||function(e){for(var n=1;n<arguments.length;n++){var t=arguments[n];for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])}return e},p.apply(this,arguments)}function f(e,n){e.prototype=Object.create(n.prototype),e.prototype.constructor=e,m(e,n)}function m(e,n){return m=Object.setPrototypeOf||function(e,n){return e.__proto__=n,e},m(e,n)}function y(e,n){if(null==e)return{};var t,r,o={},a=Object.keys(e);for(r=0;r<a.length;r++)n.indexOf(t=a[r])>=0||(o[t]=e[t]);return o}var h={BASE:"base",BODY:"body",HEAD:"head",HTML:"html",LINK:"link",META:"meta",NOSCRIPT:"noscript",SCRIPT:"script",STYLE:"style",TITLE:"title",FRAGMENT:"Symbol(react.fragment)"},g={rel:["amphtml","canonical","alternate"]},b={type:["application/ld+json"]},v={charset:"",name:["robots","description"],property:["og:type","og:title","og:url","og:image","og:image:alt","og:description","twitter:url","twitter:title","twitter:description","twitter:image","twitter:image:alt","twitter:card","twitter:site"]},x=Object.keys(h).map((function(e){return h[e]})),w={accesskey:"accessKey",charset:"charSet",class:"className",contenteditable:"contentEditable",contextmenu:"contextMenu","http-equiv":"httpEquiv",itemprop:"itemProp",tabindex:"tabIndex"},k=Object.keys(w).reduce((function(e,n){return e[w[n]]=n,e}),{}),S=function(e,n){for(var t=e.length-1;t>=0;t-=1){var r=e[t];if(Object.prototype.hasOwnProperty.call(r,n))return r[n]}return null},E=function(e){var n=S(e,h.TITLE),t=S(e,"titleTemplate");if(Array.isArray(n)&&(n=n.join("")),t&&n)return t.replace(/%s/g,(function(){return n}));var r=S(e,"defaultTitle");return n||r||void 0},C=function(e){return S(e,"onChangeClientState")||function(){}},_=function(e,n){return n.filter((function(n){return void 0!==n[e]})).map((function(n){return n[e]})).reduce((function(e,n){return p({},e,n)}),{})},P=function(e,n){return n.filter((function(e){return void 0!==e[h.BASE]})).map((function(e){return e[h.BASE]})).reverse().reduce((function(n,t){if(!n.length)for(var r=Object.keys(t),o=0;o<r.length;o+=1){var a=r[o].toLowerCase();if(-1!==e.indexOf(a)&&t[a])return n.concat(t)}return n}),[])},j=function(e,n,t){var r={};return t.filter((function(n){return!!Array.isArray(n[e])||(void 0!==n[e]&&console&&"function"==typeof console.warn&&console.warn("Helmet: "+e+' should be of type "Array". Instead found type "'+typeof n[e]+'"'),!1)})).map((function(n){return n[e]})).reverse().reduce((function(e,t){var o={};t.filter((function(e){for(var t,a=Object.keys(e),i=0;i<a.length;i+=1){var s=a[i],l=s.toLowerCase();-1===n.indexOf(l)||"rel"===t&&"canonical"===e[t].toLowerCase()||"rel"===l&&"stylesheet"===e[l].toLowerCase()||(t=l),-1===n.indexOf(s)||"innerHTML"!==s&&"cssText"!==s&&"itemprop"!==s||(t=s)}if(!t||!e[t])return!1;var c=e[t].toLowerCase();return r[t]||(r[t]={}),o[t]||(o[t]={}),!r[t][c]&&(o[t][c]=!0,!0)})).reverse().forEach((function(n){return e.push(n)}));for(var a=Object.keys(o),i=0;i<a.length;i+=1){var s=a[i],l=p({},r[s],o[s]);r[s]=l}return e}),[]).reverse()},T=function(e,n){if(Array.isArray(e)&&e.length)for(var t=0;t<e.length;t+=1)if(e[t][n])return!0;return!1},$=function(e){return Array.isArray(e)?e.join(""):e},O=function(e,n){return Array.isArray(e)?e.reduce((function(e,t){return function(e,n){for(var t=Object.keys(e),r=0;r<t.length;r+=1)if(n[t[r]]&&n[t[r]].includes(e[t[r]]))return!0;return!1}(t,n)?e.priority.push(t):e.default.push(t),e}),{priority:[],default:[]}):{default:e}},R=function(e,n){var t;return p({},e,((t={})[n]=void 0,t))},N=[h.NOSCRIPT,h.SCRIPT,h.STYLE],A=function(e,n){return void 0===n&&(n=!0),!1===n?String(e):String(e).replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/"/g,""").replace(/'/g,"'")},L=function(e){return Object.keys(e).reduce((function(n,t){var r=void 0!==e[t]?t+'="'+e[t]+'"':""+t;return n?n+" "+r:r}),"")},D=function(e,n){return void 0===n&&(n={}),Object.keys(e).reduce((function(n,t){return n[w[t]||t]=e[t],n}),n)},I=function(e,n){return n.map((function(n,t){var o,a=((o={key:t})["data-rh"]=!0,o);return Object.keys(n).forEach((function(e){var t=w[e]||e;"innerHTML"===t||"cssText"===t?a.dangerouslySetInnerHTML={__html:n.innerHTML||n.cssText}:a[t]=n[e]})),r.createElement(e,a)}))},M=function(e,n,t){switch(e){case h.TITLE:return{toComponent:function(){return t=n.titleAttributes,(o={key:e=n.title})["data-rh"]=!0,a=D(t,o),[r.createElement(h.TITLE,a,e)];var e,t,o,a},toString:function(){return function(e,n,t,r){var o=L(t),a=$(n);return o?"<"+e+' data-rh="true" '+o+">"+A(a,r)+"</"+e+">":"<"+e+' data-rh="true">'+A(a,r)+"</"+e+">"}(e,n.title,n.titleAttributes,t)}};case"bodyAttributes":case"htmlAttributes":return{toComponent:function(){return D(n)},toString:function(){return L(n)}};default:return{toComponent:function(){return I(e,n)},toString:function(){return function(e,n,t){return n.reduce((function(n,r){var o=Object.keys(r).filter((function(e){return!("innerHTML"===e||"cssText"===e)})).reduce((function(e,n){var o=void 0===r[n]?n:n+'="'+A(r[n],t)+'"';return e?e+" "+o:o}),""),a=r.innerHTML||r.cssText||"",i=-1===N.indexOf(e);return n+"<"+e+' data-rh="true" '+o+(i?"/>":">"+a+"</"+e+">")}),"")}(e,n,t)}}}},F=function(e){var n=e.baseTag,t=e.bodyAttributes,r=e.encode,o=e.htmlAttributes,a=e.noscriptTags,i=e.styleTags,s=e.title,l=void 0===s?"":s,c=e.titleAttributes,d=e.linkTags,u=e.metaTags,p=e.scriptTags,f={toComponent:function(){},toString:function(){return""}};if(e.prioritizeSeoTags){var m=function(e){var n=e.linkTags,t=e.scriptTags,r=e.encode,o=O(e.metaTags,v),a=O(n,g),i=O(t,b);return{priorityMethods:{toComponent:function(){return[].concat(I(h.META,o.priority),I(h.LINK,a.priority),I(h.SCRIPT,i.priority))},toString:function(){return M(h.META,o.priority,r)+" "+M(h.LINK,a.priority,r)+" "+M(h.SCRIPT,i.priority,r)}},metaTags:o.default,linkTags:a.default,scriptTags:i.default}}(e);f=m.priorityMethods,d=m.linkTags,u=m.metaTags,p=m.scriptTags}return{priority:f,base:M(h.BASE,n,r),bodyAttributes:M("bodyAttributes",t,r),htmlAttributes:M("htmlAttributes",o,r),link:M(h.LINK,d,r),meta:M(h.META,u,r),noscript:M(h.NOSCRIPT,a,r),script:M(h.SCRIPT,p,r),style:M(h.STYLE,i,r),title:M(h.TITLE,{title:l,titleAttributes:c},r)}},z=[],B=function(e,n){var t=this;void 0===n&&(n="undefined"!=typeof document),this.instances=[],this.value={setHelmet:function(e){t.context.helmet=e},helmetInstances:{get:function(){return t.canUseDOM?z:t.instances},add:function(e){(t.canUseDOM?z:t.instances).push(e)},remove:function(e){var n=(t.canUseDOM?z:t.instances).indexOf(e);(t.canUseDOM?z:t.instances).splice(n,1)}}},this.context=e,this.canUseDOM=n,n||(e.helmet=F({baseTag:[],bodyAttributes:{},encodeSpecialCharacters:!0,htmlAttributes:{},linkTags:[],metaTags:[],noscriptTags:[],scriptTags:[],styleTags:[],title:"",titleAttributes:{}}))},U=r.createContext({}),H=a().shape({setHelmet:a().func,helmetInstances:a().shape({get:a().func,add:a().func,remove:a().func})}),q="undefined"!=typeof document,V=function(e){function n(t){var r;return(r=e.call(this,t)||this).helmetData=new B(r.props.context,n.canUseDOM),r}return f(n,e),n.prototype.render=function(){return r.createElement(U.Provider,{value:this.helmetData.value},this.props.children)},n}(r.Component);V.canUseDOM=q,V.propTypes={context:a().shape({helmet:a().shape()}),children:a().node.isRequired},V.defaultProps={context:{}},V.displayName="HelmetProvider";var Z=function(e,n){var t,r=document.head||document.querySelector(h.HEAD),o=r.querySelectorAll(e+"[data-rh]"),a=[].slice.call(o),i=[];return n&&n.length&&n.forEach((function(n){var r=document.createElement(e);for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&("innerHTML"===o?r.innerHTML=n.innerHTML:"cssText"===o?r.styleSheet?r.styleSheet.cssText=n.cssText:r.appendChild(document.createTextNode(n.cssText)):r.setAttribute(o,void 0===n[o]?"":n[o]));r.setAttribute("data-rh","true"),a.some((function(e,n){return t=n,r.isEqualNode(e)}))?a.splice(t,1):i.push(r)})),a.forEach((function(e){return e.parentNode.removeChild(e)})),i.forEach((function(e){return r.appendChild(e)})),{oldTags:a,newTags:i}},W=function(e,n){var t=document.getElementsByTagName(e)[0];if(t){for(var r=t.getAttribute("data-rh"),o=r?r.split(","):[],a=[].concat(o),i=Object.keys(n),s=0;s<i.length;s+=1){var l=i[s],c=n[l]||"";t.getAttribute(l)!==c&&t.setAttribute(l,c),-1===o.indexOf(l)&&o.push(l);var d=a.indexOf(l);-1!==d&&a.splice(d,1)}for(var u=a.length-1;u>=0;u-=1)t.removeAttribute(a[u]);o.length===a.length?t.removeAttribute("data-rh"):t.getAttribute("data-rh")!==i.join(",")&&t.setAttribute("data-rh",i.join(","))}},G=function(e,n){var t=e.baseTag,r=e.htmlAttributes,o=e.linkTags,a=e.metaTags,i=e.noscriptTags,s=e.onChangeClientState,l=e.scriptTags,c=e.styleTags,d=e.title,u=e.titleAttributes;W(h.BODY,e.bodyAttributes),W(h.HTML,r),function(e,n){void 0!==e&&document.title!==e&&(document.title=$(e)),W(h.TITLE,n)}(d,u);var p={baseTag:Z(h.BASE,t),linkTags:Z(h.LINK,o),metaTags:Z(h.META,a),noscriptTags:Z(h.NOSCRIPT,i),scriptTags:Z(h.SCRIPT,l),styleTags:Z(h.STYLE,c)},f={},m={};Object.keys(p).forEach((function(e){var n=p[e],t=n.newTags,r=n.oldTags;t.length&&(f[e]=t),r.length&&(m[e]=p[e].oldTags)})),n&&n(),s(e,f,m)},K=null,Y=function(e){function n(){for(var n,t=arguments.length,r=new Array(t),o=0;o<t;o++)r[o]=arguments[o];return(n=e.call.apply(e,[this].concat(r))||this).rendered=!1,n}f(n,e);var t=n.prototype;return t.shouldComponentUpdate=function(e){return!u()(e,this.props)},t.componentDidUpdate=function(){this.emitChange()},t.componentWillUnmount=function(){this.props.context.helmetInstances.remove(this),this.emitChange()},t.emitChange=function(){var e,n,t=this.props.context,r=t.setHelmet,o=null,a=(e=t.helmetInstances.get().map((function(e){var n=p({},e.props);return delete n.context,n})),{baseTag:P(["href"],e),bodyAttributes:_("bodyAttributes",e),defer:S(e,"defer"),encode:S(e,"encodeSpecialCharacters"),htmlAttributes:_("htmlAttributes",e),linkTags:j(h.LINK,["rel","href"],e),metaTags:j(h.META,["name","charset","http-equiv","property","itemprop"],e),noscriptTags:j(h.NOSCRIPT,["innerHTML"],e),onChangeClientState:C(e),scriptTags:j(h.SCRIPT,["src","innerHTML"],e),styleTags:j(h.STYLE,["cssText"],e),title:E(e),titleAttributes:_("titleAttributes",e),prioritizeSeoTags:T(e,"prioritizeSeoTags")});V.canUseDOM?(n=a,K&&cancelAnimationFrame(K),n.defer?K=requestAnimationFrame((function(){G(n,(function(){K=null}))})):(G(n),K=null)):F&&(o=F(a)),r(o)},t.init=function(){this.rendered||(this.rendered=!0,this.props.context.helmetInstances.add(this),this.emitChange())},t.render=function(){return this.init(),null},n}(r.Component);Y.propTypes={context:H.isRequired},Y.displayName="HelmetDispatcher";var Q=["children"],J=["children"],X=function(e){function n(){return e.apply(this,arguments)||this}f(n,e);var t=n.prototype;return t.shouldComponentUpdate=function(e){return!s()(R(this.props,"helmetData"),R(e,"helmetData"))},t.mapNestedChildrenToProps=function(e,n){if(!n)return null;switch(e.type){case h.SCRIPT:case h.NOSCRIPT:return{innerHTML:n};case h.STYLE:return{cssText:n};default:throw new Error("<"+e.type+" /> elements are self-closing and can not contain children. Refer to our API for more information.")}},t.flattenArrayTypeChildren=function(e){var n,t=e.child,r=e.arrayTypeChildren;return p({},r,((n={})[t.type]=[].concat(r[t.type]||[],[p({},e.newChildProps,this.mapNestedChildrenToProps(t,e.nestedChildren))]),n))},t.mapObjectTypeChildren=function(e){var n,t,r=e.child,o=e.newProps,a=e.newChildProps,i=e.nestedChildren;switch(r.type){case h.TITLE:return p({},o,((n={})[r.type]=i,n.titleAttributes=p({},a),n));case h.BODY:return p({},o,{bodyAttributes:p({},a)});case h.HTML:return p({},o,{htmlAttributes:p({},a)});default:return p({},o,((t={})[r.type]=p({},a),t))}},t.mapArrayTypeChildrenToProps=function(e,n){var t=p({},n);return Object.keys(e).forEach((function(n){var r;t=p({},t,((r={})[n]=e[n],r))})),t},t.warnOnInvalidChildren=function(e,n){return c()(x.some((function(n){return e.type===n})),"function"==typeof e.type?"You may be attempting to nest <Helmet> components within each other, which is not allowed. Refer to our API for more information.":"Only elements types "+x.join(", ")+" are allowed. Helmet does not support rendering <"+e.type+"> elements. Refer to our API for more information."),c()(!n||"string"==typeof n||Array.isArray(n)&&!n.some((function(e){return"string"!=typeof e})),"Helmet expects a string as a child of <"+e.type+">. Did you forget to wrap your children in braces? ( <"+e.type+">{``}</"+e.type+"> ) Refer to our API for more information."),!0},t.mapChildrenToProps=function(e,n){var t=this,o={};return r.Children.forEach(e,(function(e){if(e&&e.props){var r=e.props,a=r.children,i=y(r,Q),s=Object.keys(i).reduce((function(e,n){return e[k[n]||n]=i[n],e}),{}),l=e.type;switch("symbol"==typeof l?l=l.toString():t.warnOnInvalidChildren(e,a),l){case h.FRAGMENT:n=t.mapChildrenToProps(a,n);break;case h.LINK:case h.META:case h.NOSCRIPT:case h.SCRIPT:case h.STYLE:o=t.flattenArrayTypeChildren({child:e,arrayTypeChildren:o,newChildProps:s,nestedChildren:a});break;default:n=t.mapObjectTypeChildren({child:e,newProps:n,newChildProps:s,nestedChildren:a})}}})),this.mapArrayTypeChildrenToProps(o,n)},t.render=function(){var e=this.props,n=e.children,t=y(e,J),o=p({},t),a=t.helmetData;return n&&(o=this.mapChildrenToProps(n,o)),!a||a instanceof B||(a=new B(a.context,a.instances)),a?r.createElement(Y,p({},o,{context:a.value,helmetData:void 0})):r.createElement(U.Consumer,null,(function(e){return r.createElement(Y,p({},o,{context:e}))}))},n}(r.Component);X.propTypes={base:a().object,bodyAttributes:a().object,children:a().oneOfType([a().arrayOf(a().node),a().node]),defaultTitle:a().string,defer:a().bool,encodeSpecialCharacters:a().bool,htmlAttributes:a().object,link:a().arrayOf(a().object),meta:a().arrayOf(a().object),noscript:a().arrayOf(a().object),onChangeClientState:a().func,script:a().arrayOf(a().object),style:a().arrayOf(a().object),title:a().string,titleAttributes:a().object,titleTemplate:a().string,prioritizeSeoTags:a().bool,helmetData:a().object},X.defaultProps={defer:!0,encodeSpecialCharacters:!0,prioritizeSeoTags:!1},X.displayName="Helmet"},66866:(e,n)=>{"use strict";var t="function"==typeof Symbol&&Symbol.for,r=t?Symbol.for("react.element"):60103,o=t?Symbol.for("react.portal"):60106,a=t?Symbol.for("react.fragment"):60107,i=t?Symbol.for("react.strict_mode"):60108,s=t?Symbol.for("react.profiler"):60114,l=t?Symbol.for("react.provider"):60109,c=t?Symbol.for("react.context"):60110,d=t?Symbol.for("react.async_mode"):60111,u=t?Symbol.for("react.concurrent_mode"):60111,p=t?Symbol.for("react.forward_ref"):60112,f=t?Symbol.for("react.suspense"):60113,m=t?Symbol.for("react.suspense_list"):60120,y=t?Symbol.for("react.memo"):60115,h=t?Symbol.for("react.lazy"):60116,g=t?Symbol.for("react.block"):60121,b=t?Symbol.for("react.fundamental"):60117,v=t?Symbol.for("react.responder"):60118,x=t?Symbol.for("react.scope"):60119;function w(e){if("object"==typeof e&&null!==e){var n=e.$$typeof;switch(n){case r:switch(e=e.type){case d:case u:case a:case s:case i:case f:return e;default:switch(e=e&&e.$$typeof){case c:case p:case h:case y:case l:return e;default:return n}}case o:return n}}}function k(e){return w(e)===u}n.AsyncMode=d,n.ConcurrentMode=u,n.ContextConsumer=c,n.ContextProvider=l,n.Element=r,n.ForwardRef=p,n.Fragment=a,n.Lazy=h,n.Memo=y,n.Portal=o,n.Profiler=s,n.StrictMode=i,n.Suspense=f,n.isAsyncMode=function(e){return k(e)||w(e)===d},n.isConcurrentMode=k,n.isContextConsumer=function(e){return w(e)===c},n.isContextProvider=function(e){return w(e)===l},n.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===r},n.isForwardRef=function(e){return w(e)===p},n.isFragment=function(e){return w(e)===a},n.isLazy=function(e){return w(e)===h},n.isMemo=function(e){return w(e)===y},n.isPortal=function(e){return w(e)===o},n.isProfiler=function(e){return w(e)===s},n.isStrictMode=function(e){return w(e)===i},n.isSuspense=function(e){return w(e)===f},n.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===a||e===u||e===s||e===i||e===f||e===m||"object"==typeof e&&null!==e&&(e.$$typeof===h||e.$$typeof===y||e.$$typeof===l||e.$$typeof===c||e.$$typeof===p||e.$$typeof===b||e.$$typeof===v||e.$$typeof===x||e.$$typeof===g)},n.typeOf=w},48570:(e,n,t)=>{"use strict";e.exports=t(66866)},89028:(e,n,t)=>{"use strict";function r(e,n){e.prototype=Object.create(n.prototype),e.prototype.constructor=e,e.__proto__=n}function o(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function a(e,n,t){return n in e?Object.defineProperty(e,n,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[n]=t,e}function i(){return i=Object.assign||function(e){for(var n=1;n<arguments.length;n++){var t=arguments[n];for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])}return e},i.apply(this,arguments)}var s=t(2784),l=[],c=[];var d=s.createContext(null);function u(e){var n=e(),t={loading:!0,loaded:null,error:null};return t.promise=n.then((function(e){return t.loading=!1,t.loaded=e,e})).catch((function(e){throw t.loading=!1,t.error=e,e})),t}function p(e){var n={loading:!1,loaded:{},error:null},t=[];try{Object.keys(e).forEach((function(r){var o=u(e[r]);o.loading?n.loading=!0:(n.loaded[r]=o.loaded,n.error=o.error),t.push(o.promise),o.promise.then((function(e){n.loaded[r]=e})).catch((function(e){n.error=e}))}))}catch(r){n.error=r}return n.promise=Promise.all(t).then((function(e){return n.loading=!1,e})).catch((function(e){throw n.loading=!1,e})),n}function f(e,n){return s.createElement((t=e)&&t.__esModule?t.default:t,n);var t}function m(e,n){var u,p;if(!n.loading)throw new Error("react-loadable requires a `loading` component");var m=i({loader:null,loading:null,delay:200,timeout:null,render:f,webpack:null,modules:null},n),y=null;function h(){return y||(y=e(m.loader)),y.promise}return l.push(h),"function"==typeof m.webpack&&c.push((function(){if((0,m.webpack)().every((function(e){return void 0!==e&&void 0!==t.m[e]})))return h()})),p=u=function(n){function t(t){var r;return a(o(o(r=n.call(this,t)||this)),"retry",(function(){r.setState({error:null,loading:!0,timedOut:!1}),y=e(m.loader),r._loadModule()})),h(),r.state={error:y.error,pastDelay:!1,timedOut:!1,loading:y.loading,loaded:y.loaded},r}r(t,n),t.preload=function(){return h()};var i=t.prototype;return i.UNSAFE_componentWillMount=function(){this._loadModule()},i.componentDidMount=function(){this._mounted=!0},i._loadModule=function(){var e=this;if(this.context&&Array.isArray(m.modules)&&m.modules.forEach((function(n){e.context.report(n)})),y.loading){var n=function(n){e._mounted&&e.setState(n)};"number"==typeof m.delay&&(0===m.delay?this.setState({pastDelay:!0}):this._delay=setTimeout((function(){n({pastDelay:!0})}),m.delay)),"number"==typeof m.timeout&&(this._timeout=setTimeout((function(){n({timedOut:!0})}),m.timeout));var t=function(){n({error:y.error,loaded:y.loaded,loading:y.loading}),e._clearTimeouts()};y.promise.then((function(){return t(),null})).catch((function(e){return t(),null}))}},i.componentWillUnmount=function(){this._mounted=!1,this._clearTimeouts()},i._clearTimeouts=function(){clearTimeout(this._delay),clearTimeout(this._timeout)},i.render=function(){return this.state.loading||this.state.error?s.createElement(m.loading,{isLoading:this.state.loading,pastDelay:this.state.pastDelay,timedOut:this.state.timedOut,error:this.state.error,retry:this.retry}):this.state.loaded?m.render(this.state.loaded,this.props):null},t}(s.Component),a(u,"contextType",d),p}function y(e){return m(u,e)}y.Map=function(e){if("function"!=typeof e.render)throw new Error("LoadableMap requires a `render(loaded, props)` function");return m(p,e)};var h=function(e){function n(){return e.apply(this,arguments)||this}return r(n,e),n.prototype.render=function(){return s.createElement(d.Provider,{value:{report:this.props.report}},s.Children.only(this.props.children))},n}(s.Component);function g(e){for(var n=[];e.length;){var t=e.pop();n.push(t())}return Promise.all(n).then((function(){if(e.length)return g(e)}))}y.Capture=h,y.preloadAll=function(){return new Promise((function(e,n){g(l).then(e,n)}))},y.preloadReady=function(){return new Promise((function(e,n){g(c).then(e,e)}))},e.exports=y},9702:(e,n,t)=>{"use strict";t.d(n,{H:()=>s,f:()=>i});var r=t(7267),o=t(7896),a=t(2784);function i(e,n,t){return void 0===t&&(t=[]),e.some((function(e){var o=e.path?(0,r.LX)(n,e):t.length?t[t.length-1].match:r.F0.computeRootMatch(n);return o&&(t.push({route:e,match:o}),e.routes&&i(e.routes,n,t)),o})),t}function s(e,n,t){return void 0===n&&(n={}),void 0===t&&(t={}),e?a.createElement(r.rs,t,e.map((function(e,t){return a.createElement(r.AW,{key:e.key||t,path:e.path,exact:e.exact,strict:e.strict,render:function(t){return e.render?e.render((0,o.Z)({},t,{},n,{route:e})):a.createElement(e.component,(0,o.Z)({},t,n,{route:e}))}})}))):null}},47933:(e,n,t)=>{"use strict";t.d(n,{OL:()=>x,UT:()=>u,VK:()=>d,rU:()=>g});var r=t(7267),o=t(32222),a=t(2784),i=t(14410),s=t(7896),l=t(31461),c=t(10362),d=function(e){function n(){for(var n,t=arguments.length,r=new Array(t),o=0;o<t;o++)r[o]=arguments[o];return(n=e.call.apply(e,[this].concat(r))||this).history=(0,i.lX)(n.props),n}return(0,o.Z)(n,e),n.prototype.render=function(){return a.createElement(r.F0,{history:this.history,children:this.props.children})},n}(a.Component);var u=function(e){function n(){for(var n,t=arguments.length,r=new Array(t),o=0;o<t;o++)r[o]=arguments[o];return(n=e.call.apply(e,[this].concat(r))||this).history=(0,i.q_)(n.props),n}return(0,o.Z)(n,e),n.prototype.render=function(){return a.createElement(r.F0,{history:this.history,children:this.props.children})},n}(a.Component);var p=function(e,n){return"function"==typeof e?e(n):e},f=function(e,n){return"string"==typeof e?(0,i.ob)(e,null,null,n):e},m=function(e){return e},y=a.forwardRef;void 0===y&&(y=m);var h=y((function(e,n){var t=e.innerRef,r=e.navigate,o=e.onClick,i=(0,l.Z)(e,["innerRef","navigate","onClick"]),c=i.target,d=(0,s.Z)({},i,{onClick:function(e){try{o&&o(e)}catch(n){throw e.preventDefault(),n}e.defaultPrevented||0!==e.button||c&&"_self"!==c||function(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}(e)||(e.preventDefault(),r())}});return d.ref=m!==y&&n||t,a.createElement("a",d)}));var g=y((function(e,n){var t=e.component,o=void 0===t?h:t,d=e.replace,u=e.to,g=e.innerRef,b=(0,l.Z)(e,["component","replace","to","innerRef"]);return a.createElement(r.s6.Consumer,null,(function(e){e||(0,c.Z)(!1);var t=e.history,r=f(p(u,e.location),e.location),l=r?t.createHref(r):"",h=(0,s.Z)({},b,{href:l,navigate:function(){var n=p(u,e.location),r=(0,i.Ep)(e.location)===(0,i.Ep)(f(n));(d||r?t.replace:t.push)(n)}});return m!==y?h.ref=n||g:h.innerRef=g,a.createElement(o,h)}))})),b=function(e){return e},v=a.forwardRef;void 0===v&&(v=b);var x=v((function(e,n){var t=e["aria-current"],o=void 0===t?"page":t,i=e.activeClassName,d=void 0===i?"active":i,u=e.activeStyle,m=e.className,y=e.exact,h=e.isActive,x=e.location,w=e.sensitive,k=e.strict,S=e.style,E=e.to,C=e.innerRef,_=(0,l.Z)(e,["aria-current","activeClassName","activeStyle","className","exact","isActive","location","sensitive","strict","style","to","innerRef"]);return a.createElement(r.s6.Consumer,null,(function(e){e||(0,c.Z)(!1);var t=x||e.location,i=f(p(E,t),t),l=i.pathname,P=l&&l.replace(/([.+*?=^!:${}()[\]|/\\])/g,"\\$1"),j=P?(0,r.LX)(t.pathname,{path:P,exact:y,sensitive:w,strict:k}):null,T=!!(h?h(j,t):j),$="function"==typeof m?m(T):m,O="function"==typeof S?S(T):S;T&&($=function(){for(var e=arguments.length,n=new Array(e),t=0;t<e;t++)n[t]=arguments[t];return n.filter((function(e){return e})).join(" ")}($,d),O=(0,s.Z)({},O,u));var R=(0,s.Z)({"aria-current":T&&o||null,className:$,style:O,to:i},_);return b!==v?R.ref=n||C:R.innerRef=C,a.createElement(g,R)}))}))},7267:(e,n,t)=>{"use strict";t.d(n,{AW:()=>E,F0:()=>v,LX:()=>S,TH:()=>N,k6:()=>R,rs:()=>$,s6:()=>b});var r=t(32222),o=t(2784),a=t(13980),i=t.n(a),s=t(14410),l=t(10362),c=t(7896),d=t(79056),u=t.n(d),p=(t(48570),t(31461)),f=(t(73463),1073741823),m="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:void 0!==t.g?t.g:{};var y=o.createContext||function(e,n){var t,a,s="__create-react-context-"+function(){var e="__global_unique_id__";return m[e]=(m[e]||0)+1}()+"__",l=function(e){function t(){for(var n,t,r,o=arguments.length,a=new Array(o),i=0;i<o;i++)a[i]=arguments[i];return(n=e.call.apply(e,[this].concat(a))||this).emitter=(t=n.props.value,r=[],{on:function(e){r.push(e)},off:function(e){r=r.filter((function(n){return n!==e}))},get:function(){return t},set:function(e,n){t=e,r.forEach((function(e){return e(t,n)}))}}),n}(0,r.Z)(t,e);var o=t.prototype;return o.getChildContext=function(){var e;return(e={})[s]=this.emitter,e},o.componentWillReceiveProps=function(e){if(this.props.value!==e.value){var t,r=this.props.value,o=e.value;((a=r)===(i=o)?0!==a||1/a==1/i:a!=a&&i!=i)?t=0:(t="function"==typeof n?n(r,o):f,0!==(t|=0)&&this.emitter.set(e.value,t))}var a,i},o.render=function(){return this.props.children},t}(o.Component);l.childContextTypes=((t={})[s]=i().object.isRequired,t);var c=function(n){function t(){for(var e,t=arguments.length,r=new Array(t),o=0;o<t;o++)r[o]=arguments[o];return(e=n.call.apply(n,[this].concat(r))||this).observedBits=void 0,e.state={value:e.getValue()},e.onUpdate=function(n,t){0!=((0|e.observedBits)&t)&&e.setState({value:e.getValue()})},e}(0,r.Z)(t,n);var o=t.prototype;return o.componentWillReceiveProps=function(e){var n=e.observedBits;this.observedBits=null==n?f:n},o.componentDidMount=function(){this.context[s]&&this.context[s].on(this.onUpdate);var e=this.props.observedBits;this.observedBits=null==e?f:e},o.componentWillUnmount=function(){this.context[s]&&this.context[s].off(this.onUpdate)},o.getValue=function(){return this.context[s]?this.context[s].get():e},o.render=function(){return(e=this.props.children,Array.isArray(e)?e[0]:e)(this.state.value);var e},t}(o.Component);return c.contextTypes=((a={})[s]=i().object,a),{Provider:l,Consumer:c}},h=function(e){var n=y();return n.displayName=e,n},g=h("Router-History"),b=h("Router"),v=function(e){function n(n){var t;return(t=e.call(this,n)||this).state={location:n.history.location},t._isMounted=!1,t._pendingLocation=null,n.staticContext||(t.unlisten=n.history.listen((function(e){t._pendingLocation=e}))),t}(0,r.Z)(n,e),n.computeRootMatch=function(e){return{path:"/",url:"/",params:{},isExact:"/"===e}};var t=n.prototype;return t.componentDidMount=function(){var e=this;this._isMounted=!0,this.unlisten&&this.unlisten(),this.props.staticContext||(this.unlisten=this.props.history.listen((function(n){e._isMounted&&e.setState({location:n})}))),this._pendingLocation&&this.setState({location:this._pendingLocation})},t.componentWillUnmount=function(){this.unlisten&&(this.unlisten(),this._isMounted=!1,this._pendingLocation=null)},t.render=function(){return o.createElement(b.Provider,{value:{history:this.props.history,location:this.state.location,match:n.computeRootMatch(this.state.location.pathname),staticContext:this.props.staticContext}},o.createElement(g.Provider,{children:this.props.children||null,value:this.props.history}))},n}(o.Component);o.Component;o.Component;var x={},w=1e4,k=0;function S(e,n){void 0===n&&(n={}),("string"==typeof n||Array.isArray(n))&&(n={path:n});var t=n,r=t.path,o=t.exact,a=void 0!==o&&o,i=t.strict,s=void 0!==i&&i,l=t.sensitive,c=void 0!==l&&l;return[].concat(r).reduce((function(n,t){if(!t&&""!==t)return null;if(n)return n;var r=function(e,n){var t=""+n.end+n.strict+n.sensitive,r=x[t]||(x[t]={});if(r[e])return r[e];var o=[],a={regexp:u()(e,o,n),keys:o};return k<w&&(r[e]=a,k++),a}(t,{end:a,strict:s,sensitive:c}),o=r.regexp,i=r.keys,l=o.exec(e);if(!l)return null;var d=l[0],p=l.slice(1),f=e===d;return a&&!f?null:{path:t,url:"/"===t&&""===d?"/":d,isExact:f,params:i.reduce((function(e,n,t){return e[n.name]=p[t],e}),{})}}),null)}var E=function(e){function n(){return e.apply(this,arguments)||this}return(0,r.Z)(n,e),n.prototype.render=function(){var e=this;return o.createElement(b.Consumer,null,(function(n){n||(0,l.Z)(!1);var t=e.props.location||n.location,r=e.props.computedMatch?e.props.computedMatch:e.props.path?S(t.pathname,e.props):n.match,a=(0,c.Z)({},n,{location:t,match:r}),i=e.props,s=i.children,d=i.component,u=i.render;return Array.isArray(s)&&function(e){return 0===o.Children.count(e)}(s)&&(s=null),o.createElement(b.Provider,{value:a},a.match?s?"function"==typeof s?s(a):s:d?o.createElement(d,a):u?u(a):null:"function"==typeof s?s(a):null)}))},n}(o.Component);function C(e){return"/"===e.charAt(0)?e:"/"+e}function _(e,n){if(!e)return n;var t=C(e);return 0!==n.pathname.indexOf(t)?n:(0,c.Z)({},n,{pathname:n.pathname.substr(t.length)})}function P(e){return"string"==typeof e?e:(0,s.Ep)(e)}function j(e){return function(){(0,l.Z)(!1)}}function T(){}o.Component;var $=function(e){function n(){return e.apply(this,arguments)||this}return(0,r.Z)(n,e),n.prototype.render=function(){var e=this;return o.createElement(b.Consumer,null,(function(n){n||(0,l.Z)(!1);var t,r,a=e.props.location||n.location;return o.Children.forEach(e.props.children,(function(e){if(null==r&&o.isValidElement(e)){t=e;var i=e.props.path||e.props.from;r=i?S(a.pathname,(0,c.Z)({},e.props,{path:i})):n.match}})),r?o.cloneElement(t,{location:a,computedMatch:r}):null}))},n}(o.Component);var O=o.useContext;function R(){return O(g)}function N(){return O(b).location}},79056:(e,n,t)=>{var r=t(77906);e.exports=f,e.exports.parse=a,e.exports.compile=function(e,n){return s(a(e,n),n)},e.exports.tokensToFunction=s,e.exports.tokensToRegExp=p;var o=new RegExp(["(\\\\.)","([\\/.])?(?:(?:\\:(\\w+)(?:\\(((?:\\\\.|[^\\\\()])+)\\))?|\\(((?:\\\\.|[^\\\\()])+)\\))([+*?])?|(\\*))"].join("|"),"g");function a(e,n){for(var t,r=[],a=0,i=0,s="",d=n&&n.delimiter||"/";null!=(t=o.exec(e));){var u=t[0],p=t[1],f=t.index;if(s+=e.slice(i,f),i=f+u.length,p)s+=p[1];else{var m=e[i],y=t[2],h=t[3],g=t[4],b=t[5],v=t[6],x=t[7];s&&(r.push(s),s="");var w=null!=y&&null!=m&&m!==y,k="+"===v||"*"===v,S="?"===v||"*"===v,E=t[2]||d,C=g||b;r.push({name:h||a++,prefix:y||"",delimiter:E,optional:S,repeat:k,partial:w,asterisk:!!x,pattern:C?c(C):x?".*":"[^"+l(E)+"]+?"})}}return i<e.length&&(s+=e.substr(i)),s&&r.push(s),r}function i(e){return encodeURI(e).replace(/[\/?#]/g,(function(e){return"%"+e.charCodeAt(0).toString(16).toUpperCase()}))}function s(e,n){for(var t=new Array(e.length),o=0;o<e.length;o++)"object"==typeof e[o]&&(t[o]=new RegExp("^(?:"+e[o].pattern+")$",u(n)));return function(n,o){for(var a="",s=n||{},l=(o||{}).pretty?i:encodeURIComponent,c=0;c<e.length;c++){var d=e[c];if("string"!=typeof d){var u,p=s[d.name];if(null==p){if(d.optional){d.partial&&(a+=d.prefix);continue}throw new TypeError('Expected "'+d.name+'" to be defined')}if(r(p)){if(!d.repeat)throw new TypeError('Expected "'+d.name+'" to not repeat, but received `'+JSON.stringify(p)+"`");if(0===p.length){if(d.optional)continue;throw new TypeError('Expected "'+d.name+'" to not be empty')}for(var f=0;f<p.length;f++){if(u=l(p[f]),!t[c].test(u))throw new TypeError('Expected all "'+d.name+'" to match "'+d.pattern+'", but received `'+JSON.stringify(u)+"`");a+=(0===f?d.prefix:d.delimiter)+u}}else{if(u=d.asterisk?encodeURI(p).replace(/[?#]/g,(function(e){return"%"+e.charCodeAt(0).toString(16).toUpperCase()})):l(p),!t[c].test(u))throw new TypeError('Expected "'+d.name+'" to match "'+d.pattern+'", but received "'+u+'"');a+=d.prefix+u}}else a+=d}return a}}function l(e){return e.replace(/([.+*?=^!:${}()[\]|\/\\])/g,"\\$1")}function c(e){return e.replace(/([=!:$\/()])/g,"\\$1")}function d(e,n){return e.keys=n,e}function u(e){return e&&e.sensitive?"":"i"}function p(e,n,t){r(n)||(t=n||t,n=[]);for(var o=(t=t||{}).strict,a=!1!==t.end,i="",s=0;s<e.length;s++){var c=e[s];if("string"==typeof c)i+=l(c);else{var p=l(c.prefix),f="(?:"+c.pattern+")";n.push(c),c.repeat&&(f+="(?:"+p+f+")*"),i+=f=c.optional?c.partial?p+"("+f+")?":"(?:"+p+"("+f+"))?":p+"("+f+")"}}var m=l(t.delimiter||"/"),y=i.slice(-m.length)===m;return o||(i=(y?i.slice(0,-m.length):i)+"(?:"+m+"(?=$))?"),i+=a?"$":o&&y?"":"(?="+m+"|$)",d(new RegExp("^"+i,u(t)),n)}function f(e,n,t){return r(n)||(t=n||t,n=[]),t=t||{},e instanceof RegExp?function(e,n){var t=e.source.match(/\((?!\?)/g);if(t)for(var r=0;r<t.length;r++)n.push({name:r,prefix:null,delimiter:null,optional:!1,repeat:!1,partial:!1,asterisk:!1,pattern:null});return d(e,n)}(e,n):r(e)?function(e,n,t){for(var r=[],o=0;o<e.length;o++)r.push(f(e[o],n,t).source);return d(new RegExp("(?:"+r.join("|")+")",u(t)),n)}(e,n,t):function(e,n,t){return p(a(e,t),n,t)}(e,n,t)}},11837:(e,n,t)=>{"use strict";var r=t(2784),o=Symbol.for("react.element"),a=Symbol.for("react.fragment"),i=Object.prototype.hasOwnProperty,s=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,l={key:!0,ref:!0,__self:!0,__source:!0};function c(e,n,t){var r,a={},c=null,d=null;for(r in void 0!==t&&(c=""+t),void 0!==n.key&&(c=""+n.key),void 0!==n.ref&&(d=n.ref),n)i.call(n,r)&&!l.hasOwnProperty(r)&&(a[r]=n[r]);if(e&&e.defaultProps)for(r in n=e.defaultProps)void 0===a[r]&&(a[r]=n[r]);return{$$typeof:o,type:e,key:c,ref:d,props:a,_owner:s.current}}n.Fragment=a,n.jsx=c,n.jsxs=c},83426:(e,n)=>{"use strict";var t=Symbol.for("react.element"),r=Symbol.for("react.portal"),o=Symbol.for("react.fragment"),a=Symbol.for("react.strict_mode"),i=Symbol.for("react.profiler"),s=Symbol.for("react.provider"),l=Symbol.for("react.context"),c=Symbol.for("react.forward_ref"),d=Symbol.for("react.suspense"),u=Symbol.for("react.memo"),p=Symbol.for("react.lazy"),f=Symbol.iterator;var m={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},y=Object.assign,h={};function g(e,n,t){this.props=e,this.context=n,this.refs=h,this.updater=t||m}function b(){}function v(e,n,t){this.props=e,this.context=n,this.refs=h,this.updater=t||m}g.prototype.isReactComponent={},g.prototype.setState=function(e,n){if("object"!=typeof e&&"function"!=typeof e&&null!=e)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,e,n,"setState")},g.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")},b.prototype=g.prototype;var x=v.prototype=new b;x.constructor=v,y(x,g.prototype),x.isPureReactComponent=!0;var w=Array.isArray,k=Object.prototype.hasOwnProperty,S={current:null},E={key:!0,ref:!0,__self:!0,__source:!0};function C(e,n,r){var o,a={},i=null,s=null;if(null!=n)for(o in void 0!==n.ref&&(s=n.ref),void 0!==n.key&&(i=""+n.key),n)k.call(n,o)&&!E.hasOwnProperty(o)&&(a[o]=n[o]);var l=arguments.length-2;if(1===l)a.children=r;else if(1<l){for(var c=Array(l),d=0;d<l;d++)c[d]=arguments[d+2];a.children=c}if(e&&e.defaultProps)for(o in l=e.defaultProps)void 0===a[o]&&(a[o]=l[o]);return{$$typeof:t,type:e,key:i,ref:s,props:a,_owner:S.current}}function _(e){return"object"==typeof e&&null!==e&&e.$$typeof===t}var P=/\/+/g;function j(e,n){return"object"==typeof e&&null!==e&&null!=e.key?function(e){var n={"=":"=0",":":"=2"};return"$"+e.replace(/[=:]/g,(function(e){return n[e]}))}(""+e.key):n.toString(36)}function T(e,n,o,a,i){var s=typeof e;"undefined"!==s&&"boolean"!==s||(e=null);var l=!1;if(null===e)l=!0;else switch(s){case"string":case"number":l=!0;break;case"object":switch(e.$$typeof){case t:case r:l=!0}}if(l)return i=i(l=e),e=""===a?"."+j(l,0):a,w(i)?(o="",null!=e&&(o=e.replace(P,"$&/")+"/"),T(i,n,o,"",(function(e){return e}))):null!=i&&(_(i)&&(i=function(e,n){return{$$typeof:t,type:e.type,key:n,ref:e.ref,props:e.props,_owner:e._owner}}(i,o+(!i.key||l&&l.key===i.key?"":(""+i.key).replace(P,"$&/")+"/")+e)),n.push(i)),1;if(l=0,a=""===a?".":a+":",w(e))for(var c=0;c<e.length;c++){var d=a+j(s=e[c],c);l+=T(s,n,o,d,i)}else if(d=function(e){return null===e||"object"!=typeof e?null:"function"==typeof(e=f&&e[f]||e["@@iterator"])?e:null}(e),"function"==typeof d)for(e=d.call(e),c=0;!(s=e.next()).done;)l+=T(s=s.value,n,o,d=a+j(s,c++),i);else if("object"===s)throw n=String(e),Error("Objects are not valid as a React child (found: "+("[object Object]"===n?"object with keys {"+Object.keys(e).join(", ")+"}":n)+"). If you meant to render a collection of children, use an array instead.");return l}function $(e,n,t){if(null==e)return e;var r=[],o=0;return T(e,r,"","",(function(e){return n.call(t,e,o++)})),r}function O(e){if(-1===e._status){var n=e._result;(n=n()).then((function(n){0!==e._status&&-1!==e._status||(e._status=1,e._result=n)}),(function(n){0!==e._status&&-1!==e._status||(e._status=2,e._result=n)})),-1===e._status&&(e._status=0,e._result=n)}if(1===e._status)return e._result.default;throw e._result}var R={current:null},N={transition:null},A={ReactCurrentDispatcher:R,ReactCurrentBatchConfig:N,ReactCurrentOwner:S};n.Children={map:$,forEach:function(e,n,t){$(e,(function(){n.apply(this,arguments)}),t)},count:function(e){var n=0;return $(e,(function(){n++})),n},toArray:function(e){return $(e,(function(e){return e}))||[]},only:function(e){if(!_(e))throw Error("React.Children.only expected to receive a single React element child.");return e}},n.Component=g,n.Fragment=o,n.Profiler=i,n.PureComponent=v,n.StrictMode=a,n.Suspense=d,n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=A,n.cloneElement=function(e,n,r){if(null==e)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+e+".");var o=y({},e.props),a=e.key,i=e.ref,s=e._owner;if(null!=n){if(void 0!==n.ref&&(i=n.ref,s=S.current),void 0!==n.key&&(a=""+n.key),e.type&&e.type.defaultProps)var l=e.type.defaultProps;for(c in n)k.call(n,c)&&!E.hasOwnProperty(c)&&(o[c]=void 0===n[c]&&void 0!==l?l[c]:n[c])}var c=arguments.length-2;if(1===c)o.children=r;else if(1<c){l=Array(c);for(var d=0;d<c;d++)l[d]=arguments[d+2];o.children=l}return{$$typeof:t,type:e.type,key:a,ref:i,props:o,_owner:s}},n.createContext=function(e){return(e={$$typeof:l,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null}).Provider={$$typeof:s,_context:e},e.Consumer=e},n.createElement=C,n.createFactory=function(e){var n=C.bind(null,e);return n.type=e,n},n.createRef=function(){return{current:null}},n.forwardRef=function(e){return{$$typeof:c,render:e}},n.isValidElement=_,n.lazy=function(e){return{$$typeof:p,_payload:{_status:-1,_result:e},_init:O}},n.memo=function(e,n){return{$$typeof:u,type:e,compare:void 0===n?null:n}},n.startTransition=function(e){var n=N.transition;N.transition={};try{e()}finally{N.transition=n}},n.unstable_act=function(){throw Error("act(...) is not supported in production builds of React.")},n.useCallback=function(e,n){return R.current.useCallback(e,n)},n.useContext=function(e){return R.current.useContext(e)},n.useDebugValue=function(){},n.useDeferredValue=function(e){return R.current.useDeferredValue(e)},n.useEffect=function(e,n){return R.current.useEffect(e,n)},n.useId=function(){return R.current.useId()},n.useImperativeHandle=function(e,n,t){return R.current.useImperativeHandle(e,n,t)},n.useInsertionEffect=function(e,n){return R.current.useInsertionEffect(e,n)},n.useLayoutEffect=function(e,n){return R.current.useLayoutEffect(e,n)},n.useMemo=function(e,n){return R.current.useMemo(e,n)},n.useReducer=function(e,n,t){return R.current.useReducer(e,n,t)},n.useRef=function(e){return R.current.useRef(e)},n.useState=function(e){return R.current.useState(e)},n.useSyncExternalStore=function(e,n,t){return R.current.useSyncExternalStore(e,n,t)},n.useTransition=function(){return R.current.useTransition()},n.version="18.2.0"},2784:(e,n,t)=>{"use strict";e.exports=t(83426)},52322:(e,n,t)=>{"use strict";e.exports=t(11837)},46475:(e,n)=>{"use strict";function t(e,n){var t=e.length;e.push(n);e:for(;0<t;){var r=t-1>>>1,o=e[r];if(!(0<a(o,n)))break e;e[r]=n,e[t]=o,t=r}}function r(e){return 0===e.length?null:e[0]}function o(e){if(0===e.length)return null;var n=e[0],t=e.pop();if(t!==n){e[0]=t;e:for(var r=0,o=e.length,i=o>>>1;r<i;){var s=2*(r+1)-1,l=e[s],c=s+1,d=e[c];if(0>a(l,t))c<o&&0>a(d,l)?(e[r]=d,e[c]=t,r=c):(e[r]=l,e[s]=t,r=s);else{if(!(c<o&&0>a(d,t)))break e;e[r]=d,e[c]=t,r=c}}}return n}function a(e,n){var t=e.sortIndex-n.sortIndex;return 0!==t?t:e.id-n.id}if("object"==typeof performance&&"function"==typeof performance.now){var i=performance;n.unstable_now=function(){return i.now()}}else{var s=Date,l=s.now();n.unstable_now=function(){return s.now()-l}}var c=[],d=[],u=1,p=null,f=3,m=!1,y=!1,h=!1,g="function"==typeof setTimeout?setTimeout:null,b="function"==typeof clearTimeout?clearTimeout:null,v="undefined"!=typeof setImmediate?setImmediate:null;function x(e){for(var n=r(d);null!==n;){if(null===n.callback)o(d);else{if(!(n.startTime<=e))break;o(d),n.sortIndex=n.expirationTime,t(c,n)}n=r(d)}}function w(e){if(h=!1,x(e),!y)if(null!==r(c))y=!0,N(k);else{var n=r(d);null!==n&&A(w,n.startTime-e)}}function k(e,t){y=!1,h&&(h=!1,b(_),_=-1),m=!0;var a=f;try{for(x(t),p=r(c);null!==p&&(!(p.expirationTime>t)||e&&!T());){var i=p.callback;if("function"==typeof i){p.callback=null,f=p.priorityLevel;var s=i(p.expirationTime<=t);t=n.unstable_now(),"function"==typeof s?p.callback=s:p===r(c)&&o(c),x(t)}else o(c);p=r(c)}if(null!==p)var l=!0;else{var u=r(d);null!==u&&A(w,u.startTime-t),l=!1}return l}finally{p=null,f=a,m=!1}}"undefined"!=typeof navigator&&void 0!==navigator.scheduling&&void 0!==navigator.scheduling.isInputPending&&navigator.scheduling.isInputPending.bind(navigator.scheduling);var S,E=!1,C=null,_=-1,P=5,j=-1;function T(){return!(n.unstable_now()-j<P)}function $(){if(null!==C){var e=n.unstable_now();j=e;var t=!0;try{t=C(!0,e)}finally{t?S():(E=!1,C=null)}}else E=!1}if("function"==typeof v)S=function(){v($)};else if("undefined"!=typeof MessageChannel){var O=new MessageChannel,R=O.port2;O.port1.onmessage=$,S=function(){R.postMessage(null)}}else S=function(){g($,0)};function N(e){C=e,E||(E=!0,S())}function A(e,t){_=g((function(){e(n.unstable_now())}),t)}n.unstable_IdlePriority=5,n.unstable_ImmediatePriority=1,n.unstable_LowPriority=4,n.unstable_NormalPriority=3,n.unstable_Profiling=null,n.unstable_UserBlockingPriority=2,n.unstable_cancelCallback=function(e){e.callback=null},n.unstable_continueExecution=function(){y||m||(y=!0,N(k))},n.unstable_forceFrameRate=function(e){0>e||125<e?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):P=0<e?Math.floor(1e3/e):5},n.unstable_getCurrentPriorityLevel=function(){return f},n.unstable_getFirstCallbackNode=function(){return r(c)},n.unstable_next=function(e){switch(f){case 1:case 2:case 3:var n=3;break;default:n=f}var t=f;f=n;try{return e()}finally{f=t}},n.unstable_pauseExecution=function(){},n.unstable_requestPaint=function(){},n.unstable_runWithPriority=function(e,n){switch(e){case 1:case 2:case 3:case 4:case 5:break;default:e=3}var t=f;f=e;try{return n()}finally{f=t}},n.unstable_scheduleCallback=function(e,o,a){var i=n.unstable_now();switch("object"==typeof a&&null!==a?a="number"==typeof(a=a.delay)&&0<a?i+a:i:a=i,e){case 1:var s=-1;break;case 2:s=250;break;case 5:s=1073741823;break;case 4:s=1e4;break;default:s=5e3}return e={id:u++,callback:o,priorityLevel:e,startTime:a,expirationTime:s=a+s,sortIndex:-1},a>i?(e.sortIndex=a,t(d,e),null===r(c)&&e===r(d)&&(h?(b(_),_=-1):h=!0,A(w,a-i))):(e.sortIndex=s,t(c,e),y||m||(y=!0,N(k))),e},n.unstable_shouldYield=T,n.unstable_wrapCallback=function(e){var n=f;return function(){var t=f;f=n;try{return e.apply(this,arguments)}finally{f=t}}}},14616:(e,n,t)=>{"use strict";e.exports=t(46475)},88665:e=>{e.exports=function(e,n,t,r){var o=t?t.call(r,e,n):void 0;if(void 0!==o)return!!o;if(e===n)return!0;if("object"!=typeof e||!e||"object"!=typeof n||!n)return!1;var a=Object.keys(e),i=Object.keys(n);if(a.length!==i.length)return!1;for(var s=Object.prototype.hasOwnProperty.bind(n),l=0;l<a.length;l++){var c=a[l];if(!s(c))return!1;var d=e[c],u=n[c];if(!1===(o=t?t.call(r,d,u,c):void 0)||void 0===o&&d!==u)return!1}return!0}},7896:(e,n,t)=>{"use strict";function r(){return r=Object.assign?Object.assign.bind():function(e){for(var n=1;n<arguments.length;n++){var t=arguments[n];for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])}return e},r.apply(this,arguments)}t.d(n,{Z:()=>r})},32222:(e,n,t)=>{"use strict";function r(e,n){return r=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,n){return e.__proto__=n,e},r(e,n)}function o(e,n){e.prototype=Object.create(n.prototype),e.prototype.constructor=e,r(e,n)}t.d(n,{Z:()=>o})},31461:(e,n,t)=>{"use strict";function r(e,n){if(null==e)return{};var t,r,o={},a=Object.keys(e);for(r=0;r<a.length;r++)t=a[r],n.indexOf(t)>=0||(o[t]=e[t]);return o}t.d(n,{Z:()=>r})},40489:(e,n,t)=>{"use strict";function r(e){var n,t,o="";if("string"==typeof e||"number"==typeof e)o+=e;else if("object"==typeof e)if(Array.isArray(e)){var a=e.length;for(n=0;n<a;n++)e[n]&&(t=r(e[n]))&&(o&&(o+=" "),o+=t)}else for(t in e)e[t]&&(o&&(o+=" "),o+=t);return o}t.d(n,{Z:()=>o});const o=function(){for(var e,n,t=0,o="",a=arguments.length;t<a;t++)(e=arguments[t])&&(n=r(e))&&(o&&(o+=" "),o+=n);return o}},16935:(e,n,t)=>{"use strict";t.d(n,{p1:()=>P,y$:()=>ee});var r,o,a,i,s,l,c,d=t(2784),u=t(40489),p=Object.create,f=Object.defineProperty,m=Object.defineProperties,y=Object.getOwnPropertyDescriptor,h=Object.getOwnPropertyDescriptors,g=Object.getOwnPropertyNames,b=Object.getOwnPropertySymbols,v=Object.getPrototypeOf,x=Object.prototype.hasOwnProperty,w=Object.prototype.propertyIsEnumerable,k=(e,n,t)=>n in e?f(e,n,{enumerable:!0,configurable:!0,writable:!0,value:t}):e[n]=t,S=(e,n)=>{for(var t in n||(n={}))x.call(n,t)&&k(e,t,n[t]);if(b)for(var t of b(n))w.call(n,t)&&k(e,t,n[t]);return e},E=(e,n)=>m(e,h(n)),C=(e,n)=>{var t={};for(var r in e)x.call(e,r)&&n.indexOf(r)<0&&(t[r]=e[r]);if(null!=e&&b)for(var r of b(e))n.indexOf(r)<0&&w.call(e,r)&&(t[r]=e[r]);return t},_=(r={"../../node_modules/.pnpm/prismjs@1.29.0_patch_hash=vrxx3pzkik6jpmgpayxfjunetu/node_modules/prismjs/prism.js"(e,n){var t=function(){var e=/(?:^|\s)lang(?:uage)?-([\w-]+)(?=\s|$)/i,n=0,t={},r={util:{encode:function e(n){return n instanceof o?new o(n.type,e(n.content),n.alias):Array.isArray(n)?n.map(e):n.replace(/&/g,"&").replace(/</g,"<").replace(/\u00a0/g," ")},type:function(e){return Object.prototype.toString.call(e).slice(8,-1)},objId:function(e){return e.__id||Object.defineProperty(e,"__id",{value:++n}),e.__id},clone:function e(n,t){var o,a;switch(t=t||{},r.util.type(n)){case"Object":if(a=r.util.objId(n),t[a])return t[a];for(var i in o={},t[a]=o,n)n.hasOwnProperty(i)&&(o[i]=e(n[i],t));return o;case"Array":return a=r.util.objId(n),t[a]?t[a]:(o=[],t[a]=o,n.forEach((function(n,r){o[r]=e(n,t)})),o);default:return n}},getLanguage:function(n){for(;n;){var t=e.exec(n.className);if(t)return t[1].toLowerCase();n=n.parentElement}return"none"},setLanguage:function(n,t){n.className=n.className.replace(RegExp(e,"gi"),""),n.classList.add("language-"+t)},isActive:function(e,n,t){for(var r="no-"+n;e;){var o=e.classList;if(o.contains(n))return!0;if(o.contains(r))return!1;e=e.parentElement}return!!t}},languages:{plain:t,plaintext:t,text:t,txt:t,extend:function(e,n){var t=r.util.clone(r.languages[e]);for(var o in n)t[o]=n[o];return t},insertBefore:function(e,n,t,o){var a=(o=o||r.languages)[e],i={};for(var s in a)if(a.hasOwnProperty(s)){if(s==n)for(var l in t)t.hasOwnProperty(l)&&(i[l]=t[l]);t.hasOwnProperty(s)||(i[s]=a[s])}var c=o[e];return o[e]=i,r.languages.DFS(r.languages,(function(n,t){t===c&&n!=e&&(this[n]=i)})),i},DFS:function e(n,t,o,a){a=a||{};var i=r.util.objId;for(var s in n)if(n.hasOwnProperty(s)){t.call(n,s,n[s],o||s);var l=n[s],c=r.util.type(l);"Object"!==c||a[i(l)]?"Array"!==c||a[i(l)]||(a[i(l)]=!0,e(l,t,s,a)):(a[i(l)]=!0,e(l,t,null,a))}}},plugins:{},highlight:function(e,n,t){var a={code:e,grammar:n,language:t};if(r.hooks.run("before-tokenize",a),!a.grammar)throw new Error('The language "'+a.language+'" has no grammar.');return a.tokens=r.tokenize(a.code,a.grammar),r.hooks.run("after-tokenize",a),o.stringify(r.util.encode(a.tokens),a.language)},tokenize:function(e,n){var t=n.rest;if(t){for(var r in t)n[r]=t[r];delete n.rest}var o=new s;return l(o,o.head,e),i(e,o,n,o.head,0),function(e){for(var n=[],t=e.head.next;t!==e.tail;)n.push(t.value),t=t.next;return n}(o)},hooks:{all:{},add:function(e,n){var t=r.hooks.all;t[e]=t[e]||[],t[e].push(n)},run:function(e,n){var t=r.hooks.all[e];if(t&&t.length)for(var o,a=0;o=t[a++];)o(n)}},Token:o};function o(e,n,t,r){this.type=e,this.content=n,this.alias=t,this.length=0|(r||"").length}function a(e,n,t,r){e.lastIndex=n;var o=e.exec(t);if(o&&r&&o[1]){var a=o[1].length;o.index+=a,o[0]=o[0].slice(a)}return o}function i(e,n,t,s,d,u){for(var p in t)if(t.hasOwnProperty(p)&&t[p]){var f=t[p];f=Array.isArray(f)?f:[f];for(var m=0;m<f.length;++m){if(u&&u.cause==p+","+m)return;var y=f[m],h=y.inside,g=!!y.lookbehind,b=!!y.greedy,v=y.alias;if(b&&!y.pattern.global){var x=y.pattern.toString().match(/[imsuy]*$/)[0];y.pattern=RegExp(y.pattern.source,x+"g")}for(var w=y.pattern||y,k=s.next,S=d;k!==n.tail&&!(u&&S>=u.reach);S+=k.value.length,k=k.next){var E=k.value;if(n.length>e.length)return;if(!(E instanceof o)){var C,_=1;if(b){if(!(C=a(w,S,e,g))||C.index>=e.length)break;var P=C.index,j=C.index+C[0].length,T=S;for(T+=k.value.length;P>=T;)T+=(k=k.next).value.length;if(S=T-=k.value.length,k.value instanceof o)continue;for(var $=k;$!==n.tail&&(T<j||"string"==typeof $.value);$=$.next)_++,T+=$.value.length;_--,E=e.slice(S,T),C.index-=S}else if(!(C=a(w,0,E,g)))continue;P=C.index;var O=C[0],R=E.slice(0,P),N=E.slice(P+O.length),A=S+E.length;u&&A>u.reach&&(u.reach=A);var L=k.prev;if(R&&(L=l(n,L,R),S+=R.length),c(n,L,_),k=l(n,L,new o(p,h?r.tokenize(O,h):O,v,O)),N&&l(n,k,N),_>1){var D={cause:p+","+m,reach:A};i(e,n,t,k.prev,S,D),u&&D.reach>u.reach&&(u.reach=D.reach)}}}}}}function s(){var e={value:null,prev:null,next:null},n={value:null,prev:e,next:null};e.next=n,this.head=e,this.tail=n,this.length=0}function l(e,n,t){var r=n.next,o={value:t,prev:n,next:r};return n.next=o,r.prev=o,e.length++,o}function c(e,n,t){for(var r=n.next,o=0;o<t&&r!==e.tail;o++)r=r.next;n.next=r,r.prev=n,e.length-=o}return o.stringify=function e(n,t){if("string"==typeof n)return n;if(Array.isArray(n)){var o="";return n.forEach((function(n){o+=e(n,t)})),o}var a={type:n.type,content:e(n.content,t),tag:"span",classes:["token",n.type],attributes:{},language:t},i=n.alias;i&&(Array.isArray(i)?Array.prototype.push.apply(a.classes,i):a.classes.push(i)),r.hooks.run("wrap",a);var s="";for(var l in a.attributes)s+=" "+l+'="'+(a.attributes[l]||"").replace(/"/g,""")+'"';return"<"+a.tag+' class="'+a.classes.join(" ")+'"'+s+">"+a.content+"</"+a.tag+">"},r}();n.exports=t,t.default=t}},function(){return o||(0,r[g(r)[0]])((o={exports:{}}).exports,o),o.exports}),P=((e,n,t)=>(t=null!=e?p(v(e)):{},((e,n,t,r)=>{if(n&&"object"==typeof n||"function"==typeof n)for(let o of g(n))x.call(e,o)||o===t||f(e,o,{get:()=>n[o],enumerable:!(r=y(n,o))||r.enumerable});return e})(!n&&e&&e.__esModule?t:f(t,"default",{value:e,enumerable:!0}),e)))(_());P.languages.markup={comment:{pattern:/<!--(?:(?!<!--)[\s\S])*?-->/,greedy:!0},prolog:{pattern:/<\?[\s\S]+?\?>/,greedy:!0},doctype:{pattern:/<!DOCTYPE(?:[^>"'[\]]|"[^"]*"|'[^']*')+(?:\[(?:[^<"'\]]|"[^"]*"|'[^']*'|<(?!!--)|<!--(?:[^-]|-(?!->))*-->)*\]\s*)?>/i,greedy:!0,inside:{"internal-subset":{pattern:/(^[^\[]*\[)[\s\S]+(?=\]>$)/,lookbehind:!0,greedy:!0,inside:null},string:{pattern:/"[^"]*"|'[^']*'/,greedy:!0},punctuation:/^<!|>$|[[\]]/,"doctype-tag":/^DOCTYPE/i,name:/[^\s<>'"]+/}},cdata:{pattern:/<!\[CDATA\[[\s\S]*?\]\]>/i,greedy:!0},tag:{pattern:/<\/?(?!\d)[^\s>\/=$<%]+(?:\s(?:\s*[^\s>\/=]+(?:\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))|(?=[\s/>])))+)?\s*\/?>/,greedy:!0,inside:{tag:{pattern:/^<\/?[^\s>\/]+/,inside:{punctuation:/^<\/?/,namespace:/^[^\s>\/:]+:/}},"special-attr":[],"attr-value":{pattern:/=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+)/,inside:{punctuation:[{pattern:/^=/,alias:"attr-equals"},{pattern:/^(\s*)["']|["']$/,lookbehind:!0}]}},punctuation:/\/?>/,"attr-name":{pattern:/[^\s>\/]+/,inside:{namespace:/^[^\s>\/:]+:/}}}},entity:[{pattern:/&[\da-z]{1,8};/i,alias:"named-entity"},/&#x?[\da-f]{1,8};/i]},P.languages.markup.tag.inside["attr-value"].inside.entity=P.languages.markup.entity,P.languages.markup.doctype.inside["internal-subset"].inside=P.languages.markup,P.hooks.add("wrap",(function(e){"entity"===e.type&&(e.attributes.title=e.content.replace(/&/,"&"))})),Object.defineProperty(P.languages.markup.tag,"addInlined",{value:function(e,n){var t;(n=((t=((t={})["language-"+n]={pattern:/(^<!\[CDATA\[)[\s\S]+?(?=\]\]>$)/i,lookbehind:!0,inside:P.languages[n]},t.cdata=/^<!\[CDATA\[|\]\]>$/i,{"included-cdata":{pattern:/<!\[CDATA\[[\s\S]*?\]\]>/i,inside:t}}))["language-"+n]={pattern:/[\s\S]+/,inside:P.languages[n]},{}))[e]={pattern:RegExp(/(<__[^>]*>)(?:<!\[CDATA\[(?:[^\]]|\](?!\]>))*\]\]>|(?!<!\[CDATA\[)[\s\S])*?(?=<\/__>)/.source.replace(/__/g,(function(){return e})),"i"),lookbehind:!0,greedy:!0,inside:t},P.languages.insertBefore("markup","cdata",n)}}),Object.defineProperty(P.languages.markup.tag,"addAttribute",{value:function(e,n){P.languages.markup.tag.inside["special-attr"].push({pattern:RegExp(/(^|["'\s])/.source+"(?:"+e+")"+/\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))/.source,"i"),lookbehind:!0,inside:{"attr-name":/^[^\s=]+/,"attr-value":{pattern:/=[\s\S]+/,inside:{value:{pattern:/(^=\s*(["']|(?!["'])))\S[\s\S]*(?=\2$)/,lookbehind:!0,alias:[n,"language-"+n],inside:P.languages[n]},punctuation:[{pattern:/^=/,alias:"attr-equals"},/"|'/]}}}})}}),P.languages.html=P.languages.markup,P.languages.mathml=P.languages.markup,P.languages.svg=P.languages.markup,P.languages.xml=P.languages.extend("markup",{}),P.languages.ssml=P.languages.xml,P.languages.atom=P.languages.xml,P.languages.rss=P.languages.xml,a=P,i={pattern:/\\[\\(){}[\]^$+*?|.]/,alias:"escape"},l="(?:[^\\\\-]|"+(s=/\\(?:x[\da-fA-F]{2}|u[\da-fA-F]{4}|u\{[\da-fA-F]+\}|0[0-7]{0,2}|[123][0-7]{2}|c[a-zA-Z]|.)/).source+")",l=RegExp(l+"-"+l),c={pattern:/(<|')[^<>']+(?=[>']$)/,lookbehind:!0,alias:"variable"},a.languages.regex={"char-class":{pattern:/((?:^|[^\\])(?:\\\\)*)\[(?:[^\\\]]|\\[\s\S])*\]/,lookbehind:!0,inside:{"char-class-negation":{pattern:/(^\[)\^/,lookbehind:!0,alias:"operator"},"char-class-punctuation":{pattern:/^\[|\]$/,alias:"punctuation"},range:{pattern:l,inside:{escape:s,"range-punctuation":{pattern:/-/,alias:"operator"}}},"special-escape":i,"char-set":{pattern:/\\[wsd]|\\p\{[^{}]+\}/i,alias:"class-name"},escape:s}},"special-escape":i,"char-set":{pattern:/\.|\\[wsd]|\\p\{[^{}]+\}/i,alias:"class-name"},backreference:[{pattern:/\\(?![123][0-7]{2})[1-9]/,alias:"keyword"},{pattern:/\\k<[^<>']+>/,alias:"keyword",inside:{"group-name":c}}],anchor:{pattern:/[$^]|\\[ABbGZz]/,alias:"function"},escape:s,group:[{pattern:/\((?:\?(?:<[^<>']+>|'[^<>']+'|[>:]|<?[=!]|[idmnsuxU]+(?:-[idmnsuxU]+)?:?))?/,alias:"punctuation",inside:{"group-name":c}},{pattern:/\)/,alias:"punctuation"}],quantifier:{pattern:/(?:[+*?]|\{\d+(?:,\d*)?\})[?+]?/,alias:"number"},alternation:{pattern:/\|/,alias:"keyword"}},P.languages.clike={comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},"class-name":{pattern:/(\b(?:class|extends|implements|instanceof|interface|new|trait)\s+|\bcatch\s+\()[\w.\\]+/i,lookbehind:!0,inside:{punctuation:/[.\\]/}},keyword:/\b(?:break|catch|continue|do|else|finally|for|function|if|in|instanceof|new|null|return|throw|try|while)\b/,boolean:/\b(?:false|true)\b/,function:/\b\w+(?=\()/,number:/\b0x[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?/i,operator:/[<>]=?|[!=]=?=?|--?|\+\+?|&&?|\|\|?|[?*/~^%]/,punctuation:/[{}[\];(),.:]/},P.languages.javascript=P.languages.extend("clike",{"class-name":[P.languages.clike["class-name"],{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$A-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\.(?:constructor|prototype))/,lookbehind:!0}],keyword:[{pattern:/((?:^|\})\s*)catch\b/,lookbehind:!0},{pattern:/(^|[^.]|\.\.\.\s*)\b(?:as|assert(?=\s*\{)|async(?=\s*(?:function\b|\(|[$\w\xA0-\uFFFF]|$))|await|break|case|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally(?=\s*(?:\{|$))|for|from(?=\s*(?:['"]|$))|function|(?:get|set)(?=\s*(?:[#\[$\w\xA0-\uFFFF]|$))|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)\b/,lookbehind:!0}],function:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*(?:\.\s*(?:apply|bind|call)\s*)?\()/,number:{pattern:RegExp(/(^|[^\w$])/.source+"(?:"+/NaN|Infinity/.source+"|"+/0[bB][01]+(?:_[01]+)*n?/.source+"|"+/0[oO][0-7]+(?:_[0-7]+)*n?/.source+"|"+/0[xX][\dA-Fa-f]+(?:_[\dA-Fa-f]+)*n?/.source+"|"+/\d+(?:_\d+)*n/.source+"|"+/(?:\d+(?:_\d+)*(?:\.(?:\d+(?:_\d+)*)?)?|\.\d+(?:_\d+)*)(?:[Ee][+-]?\d+(?:_\d+)*)?/.source+")"+/(?![\w$])/.source),lookbehind:!0},operator:/--|\+\+|\*\*=?|=>|&&=?|\|\|=?|[!=]==|<<=?|>>>?=?|[-+*/%&|^!=<>]=?|\.{3}|\?\?=?|\?\.?|[~:]/}),P.languages.javascript["class-name"][0].pattern=/(\b(?:class|extends|implements|instanceof|interface|new)\s+)[\w.\\]+/,P.languages.insertBefore("javascript","keyword",{regex:{pattern:RegExp(/((?:^|[^$\w\xA0-\uFFFF."'\])\s]|\b(?:return|yield))\s*)/.source+/\//.source+"(?:"+/(?:\[(?:[^\]\\\r\n]|\\.)*\]|\\.|[^/\\\[\r\n])+\/[dgimyus]{0,7}/.source+"|"+/(?:\[(?:[^[\]\\\r\n]|\\.|\[(?:[^[\]\\\r\n]|\\.|\[(?:[^[\]\\\r\n]|\\.)*\])*\])*\]|\\.|[^/\\\[\r\n])+\/[dgimyus]{0,7}v[dgimyus]{0,7}/.source+")"+/(?=(?:\s|\/\*(?:[^*]|\*(?!\/))*\*\/)*(?:$|[\r\n,.;:})\]]|\/\/))/.source),lookbehind:!0,greedy:!0,inside:{"regex-source":{pattern:/^(\/)[\s\S]+(?=\/[a-z]*$)/,lookbehind:!0,alias:"language-regex",inside:P.languages.regex},"regex-delimiter":/^\/|\/$/,"regex-flags":/^[a-z]+$/}},"function-variable":{pattern:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*[=:]\s*(?:async\s*)?(?:\bfunction\b|(?:\((?:[^()]|\([^()]*\))*\)|(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)\s*=>))/,alias:"function"},parameter:[{pattern:/(function(?:\s+(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)?\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\))/,lookbehind:!0,inside:P.languages.javascript},{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*=>)/i,lookbehind:!0,inside:P.languages.javascript},{pattern:/(\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*=>)/,lookbehind:!0,inside:P.languages.javascript},{pattern:/((?:\b|\s|^)(?!(?:as|async|await|break|case|catch|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally|for|from|function|get|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|set|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)(?![$\w\xA0-\uFFFF]))(?:(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*)\(\s*|\]\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*\{)/,lookbehind:!0,inside:P.languages.javascript}],constant:/\b[A-Z](?:[A-Z_]|\dx?)*\b/}),P.languages.insertBefore("javascript","string",{hashbang:{pattern:/^#!.*/,greedy:!0,alias:"comment"},"template-string":{pattern:/`(?:\\[\s\S]|\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}|(?!\$\{)[^\\`])*`/,greedy:!0,inside:{"template-punctuation":{pattern:/^`|`$/,alias:"string"},interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}/,lookbehind:!0,inside:{"interpolation-punctuation":{pattern:/^\$\{|\}$/,alias:"punctuation"},rest:P.languages.javascript}},string:/[\s\S]+/}},"string-property":{pattern:/((?:^|[,{])[ \t]*)(["'])(?:\\(?:\r\n|[\s\S])|(?!\2)[^\\\r\n])*\2(?=\s*:)/m,lookbehind:!0,greedy:!0,alias:"property"}}),P.languages.insertBefore("javascript","operator",{"literal-property":{pattern:/((?:^|[,{])[ \t]*)(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*:)/m,lookbehind:!0,alias:"property"}}),P.languages.markup&&(P.languages.markup.tag.addInlined("script","javascript"),P.languages.markup.tag.addAttribute(/on(?:abort|blur|change|click|composition(?:end|start|update)|dblclick|error|focus(?:in|out)?|key(?:down|up)|load|mouse(?:down|enter|leave|move|out|over|up)|reset|resize|scroll|select|slotchange|submit|unload|wheel)/.source,"javascript")),P.languages.js=P.languages.javascript,P.languages.actionscript=P.languages.extend("javascript",{keyword:/\b(?:as|break|case|catch|class|const|default|delete|do|dynamic|each|else|extends|final|finally|for|function|get|if|implements|import|in|include|instanceof|interface|internal|is|namespace|native|new|null|override|package|private|protected|public|return|set|static|super|switch|this|throw|try|typeof|use|var|void|while|with)\b/,operator:/\+\+|--|(?:[+\-*\/%^]|&&?|\|\|?|<<?|>>?>?|[!=]=?)=?|[~?@]/}),P.languages.actionscript["class-name"].alias="function",delete P.languages.actionscript.parameter,delete P.languages.actionscript["literal-property"],P.languages.markup&&P.languages.insertBefore("actionscript","string",{xml:{pattern:/(^|[^.])<\/?\w+(?:\s+[^\s>\/=]+=("|')(?:\\[\s\S]|(?!\2)[^\\])*\2)*\s*\/?>/,lookbehind:!0,inside:P.languages.markup}}),function(e){var n=/#(?!\{).+/,t={pattern:/#\{[^}]+\}/,alias:"variable"};e.languages.coffeescript=e.languages.extend("javascript",{comment:n,string:[{pattern:/'(?:\\[\s\S]|[^\\'])*'/,greedy:!0},{pattern:/"(?:\\[\s\S]|[^\\"])*"/,greedy:!0,inside:{interpolation:t}}],keyword:/\b(?:and|break|by|catch|class|continue|debugger|delete|do|each|else|extend|extends|false|finally|for|if|in|instanceof|is|isnt|let|loop|namespace|new|no|not|null|of|off|on|or|own|return|super|switch|then|this|throw|true|try|typeof|undefined|unless|until|when|while|window|with|yes|yield)\b/,"class-member":{pattern:/@(?!\d)\w+/,alias:"variable"}}),e.languages.insertBefore("coffeescript","comment",{"multiline-comment":{pattern:/###[\s\S]+?###/,alias:"comment"},"block-regex":{pattern:/\/{3}[\s\S]*?\/{3}/,alias:"regex",inside:{comment:n,interpolation:t}}}),e.languages.insertBefore("coffeescript","string",{"inline-javascript":{pattern:/`(?:\\[\s\S]|[^\\`])*`/,inside:{delimiter:{pattern:/^`|`$/,alias:"punctuation"},script:{pattern:/[\s\S]+/,alias:"language-javascript",inside:e.languages.javascript}}},"multiline-string":[{pattern:/'''[\s\S]*?'''/,greedy:!0,alias:"string"},{pattern:/"""[\s\S]*?"""/,greedy:!0,alias:"string",inside:{interpolation:t}}]}),e.languages.insertBefore("coffeescript","keyword",{property:/(?!\d)\w+(?=\s*:(?!:))/}),delete e.languages.coffeescript["template-string"],e.languages.coffee=e.languages.coffeescript}(P),function(e){var n=e.languages.javadoclike={parameter:{pattern:/(^[\t ]*(?:\/{3}|\*|\/\*\*)\s*@(?:arg|arguments|param)\s+)\w+/m,lookbehind:!0},keyword:{pattern:/(^[\t ]*(?:\/{3}|\*|\/\*\*)\s*|\{)@[a-z][a-zA-Z-]+\b/m,lookbehind:!0},punctuation:/[{}]/};Object.defineProperty(n,"addSupport",{value:function(n,t){(n="string"==typeof n?[n]:n).forEach((function(n){var r=function(e){e.inside||(e.inside={}),e.inside.rest=t},o="doc-comment";if(a=e.languages[n]){var a,i=a[o];if((i=i||(a=e.languages.insertBefore(n,"comment",{"doc-comment":{pattern:/(^|[^\\])\/\*\*[^/][\s\S]*?(?:\*\/|$)/,lookbehind:!0,alias:"comment"}}))[o])instanceof RegExp&&(i=a[o]={pattern:i}),Array.isArray(i))for(var s=0,l=i.length;s<l;s++)i[s]instanceof RegExp&&(i[s]={pattern:i[s]}),r(i[s]);else r(i)}}))}}),n.addSupport(["java","javascript","php"],n)}(P),function(e){var n=/(?:"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n])*')/;(n=(e.languages.css={comment:/\/\*[\s\S]*?\*\//,atrule:{pattern:RegExp("@[\\w-](?:"+/[^;{\s"']|\s+(?!\s)/.source+"|"+n.source+")*?"+/(?:;|(?=\s*\{))/.source),inside:{rule:/^@[\w-]+/,"selector-function-argument":{pattern:/(\bselector\s*\(\s*(?![\s)]))(?:[^()\s]|\s+(?![\s)])|\((?:[^()]|\([^()]*\))*\))+(?=\s*\))/,lookbehind:!0,alias:"selector"},keyword:{pattern:/(^|[^\w-])(?:and|not|only|or)(?![\w-])/,lookbehind:!0}}},url:{pattern:RegExp("\\burl\\((?:"+n.source+"|"+/(?:[^\\\r\n()"']|\\[\s\S])*/.source+")\\)","i"),greedy:!0,inside:{function:/^url/i,punctuation:/^\(|\)$/,string:{pattern:RegExp("^"+n.source+"$"),alias:"url"}}},selector:{pattern:RegExp("(^|[{}\\s])[^{}\\s](?:[^{};\"'\\s]|\\s+(?![\\s{])|"+n.source+")*(?=\\s*\\{)"),lookbehind:!0},string:{pattern:n,greedy:!0},property:{pattern:/(^|[^-\w\xA0-\uFFFF])(?!\s)[-_a-z\xA0-\uFFFF](?:(?!\s)[-\w\xA0-\uFFFF])*(?=\s*:)/i,lookbehind:!0},important:/!important\b/i,function:{pattern:/(^|[^-a-z0-9])[-a-z0-9]+(?=\()/i,lookbehind:!0},punctuation:/[(){};:,]/},e.languages.css.atrule.inside.rest=e.languages.css,e.languages.markup))&&(n.tag.addInlined("style","css"),n.tag.addAttribute("style","css"))}(P),function(e){var n=/("|')(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,t=(n=(e.languages.css.selector={pattern:e.languages.css.selector.pattern,lookbehind:!0,inside:n={"pseudo-element":/:(?:after|before|first-letter|first-line|selection)|::[-\w]+/,"pseudo-class":/:[-\w]+/,class:/\.[-\w]+/,id:/#[-\w]+/,attribute:{pattern:RegExp("\\[(?:[^[\\]\"']|"+n.source+")*\\]"),greedy:!0,inside:{punctuation:/^\[|\]$/,"case-sensitivity":{pattern:/(\s)[si]$/i,lookbehind:!0,alias:"keyword"},namespace:{pattern:/^(\s*)(?:(?!\s)[-*\w\xA0-\uFFFF])*\|(?!=)/,lookbehind:!0,inside:{punctuation:/\|$/}},"attr-name":{pattern:/^(\s*)(?:(?!\s)[-\w\xA0-\uFFFF])+/,lookbehind:!0},"attr-value":[n,{pattern:/(=\s*)(?:(?!\s)[-\w\xA0-\uFFFF])+(?=\s*$)/,lookbehind:!0}],operator:/[|~*^$]?=/}},"n-th":[{pattern:/(\(\s*)[+-]?\d*[\dn](?:\s*[+-]\s*\d+)?(?=\s*\))/,lookbehind:!0,inside:{number:/[\dn]+/,operator:/[+-]/}},{pattern:/(\(\s*)(?:even|odd)(?=\s*\))/i,lookbehind:!0}],combinator:/>|\+|~|\|\|/,punctuation:/[(),]/}},e.languages.css.atrule.inside["selector-function-argument"].inside=n,e.languages.insertBefore("css","property",{variable:{pattern:/(^|[^-\w\xA0-\uFFFF])--(?!\s)[-_a-z\xA0-\uFFFF](?:(?!\s)[-\w\xA0-\uFFFF])*/i,lookbehind:!0}}),{pattern:/(\b\d+)(?:%|[a-z]+(?![\w-]))/,lookbehind:!0}),{pattern:/(^|[^\w.-])-?(?:\d+(?:\.\d+)?|\.\d+)/,lookbehind:!0});e.languages.insertBefore("css","function",{operator:{pattern:/(\s)[+\-*\/](?=\s)/,lookbehind:!0},hexcode:{pattern:/\B#[\da-f]{3,8}\b/i,alias:"color"},color:[{pattern:/(^|[^\w-])(?:AliceBlue|AntiqueWhite|Aqua|Aquamarine|Azure|Beige|Bisque|Black|BlanchedAlmond|Blue|BlueViolet|Brown|BurlyWood|CadetBlue|Chartreuse|Chocolate|Coral|CornflowerBlue|Cornsilk|Crimson|Cyan|DarkBlue|DarkCyan|DarkGoldenRod|DarkGr[ae]y|DarkGreen|DarkKhaki|DarkMagenta|DarkOliveGreen|DarkOrange|DarkOrchid|DarkRed|DarkSalmon|DarkSeaGreen|DarkSlateBlue|DarkSlateGr[ae]y|DarkTurquoise|DarkViolet|DeepPink|DeepSkyBlue|DimGr[ae]y|DodgerBlue|FireBrick|FloralWhite|ForestGreen|Fuchsia|Gainsboro|GhostWhite|Gold|GoldenRod|Gr[ae]y|Green|GreenYellow|HoneyDew|HotPink|IndianRed|Indigo|Ivory|Khaki|Lavender|LavenderBlush|LawnGreen|LemonChiffon|LightBlue|LightCoral|LightCyan|LightGoldenRodYellow|LightGr[ae]y|LightGreen|LightPink|LightSalmon|LightSeaGreen|LightSkyBlue|LightSlateGr[ae]y|LightSteelBlue|LightYellow|Lime|LimeGreen|Linen|Magenta|Maroon|MediumAquaMarine|MediumBlue|MediumOrchid|MediumPurple|MediumSeaGreen|MediumSlateBlue|MediumSpringGreen|MediumTurquoise|MediumVioletRed|MidnightBlue|MintCream|MistyRose|Moccasin|NavajoWhite|Navy|OldLace|Olive|OliveDrab|Orange|OrangeRed|Orchid|PaleGoldenRod|PaleGreen|PaleTurquoise|PaleVioletRed|PapayaWhip|PeachPuff|Peru|Pink|Plum|PowderBlue|Purple|RebeccaPurple|Red|RosyBrown|RoyalBlue|SaddleBrown|Salmon|SandyBrown|SeaGreen|SeaShell|Sienna|Silver|SkyBlue|SlateBlue|SlateGr[ae]y|Snow|SpringGreen|SteelBlue|Tan|Teal|Thistle|Tomato|Transparent|Turquoise|Violet|Wheat|White|WhiteSmoke|Yellow|YellowGreen)(?![\w-])/i,lookbehind:!0},{pattern:/\b(?:hsl|rgb)\(\s*\d{1,3}\s*,\s*\d{1,3}%?\s*,\s*\d{1,3}%?\s*\)\B|\b(?:hsl|rgb)a\(\s*\d{1,3}\s*,\s*\d{1,3}%?\s*,\s*\d{1,3}%?\s*,\s*(?:0|0?\.\d+|1)\s*\)\B/i,inside:{unit:n,number:t,function:/[\w-]+(?=\()/,punctuation:/[(),]/}}],entity:/\\[\da-f]{1,8}/i,unit:n,number:t})}(P),function(e){var n=/[*&][^\s[\]{},]+/,t=/!(?:<[\w\-%#;/?:@&=+$,.!~*'()[\]]+>|(?:[a-zA-Z\d-]*!)?[\w\-%#;/?:@&=+$.~*'()]+)?/,r="(?:"+t.source+"(?:[ \t]+"+n.source+")?|"+n.source+"(?:[ \t]+"+t.source+")?)",o=/(?:[^\s\x00-\x08\x0e-\x1f!"#%&'*,\-:>?@[\]`{|}\x7f-\x84\x86-\x9f\ud800-\udfff\ufffe\uffff]|[?:-]<PLAIN>)(?:[ \t]*(?:(?![#:])<PLAIN>|:<PLAIN>))*/.source.replace(/<PLAIN>/g,(function(){return/[^\s\x00-\x08\x0e-\x1f,[\]{}\x7f-\x84\x86-\x9f\ud800-\udfff\ufffe\uffff]/.source})),a=/"(?:[^"\\\r\n]|\\.)*"|'(?:[^'\\\r\n]|\\.)*'/.source;function i(e,n){n=(n||"").replace(/m/g,"")+"m";var t=/([:\-,[{]\s*(?:\s<<prop>>[ \t]+)?)(?:<<value>>)(?=[ \t]*(?:$|,|\]|\}|(?:[\r\n]\s*)?#))/.source.replace(/<<prop>>/g,(function(){return r})).replace(/<<value>>/g,(function(){return e}));return RegExp(t,n)}e.languages.yaml={scalar:{pattern:RegExp(/([\-:]\s*(?:\s<<prop>>[ \t]+)?[|>])[ \t]*(?:((?:\r?\n|\r)[ \t]+)\S[^\r\n]*(?:\2[^\r\n]+)*)/.source.replace(/<<prop>>/g,(function(){return r}))),lookbehind:!0,alias:"string"},comment:/#.*/,key:{pattern:RegExp(/((?:^|[:\-,[{\r\n?])[ \t]*(?:<<prop>>[ \t]+)?)<<key>>(?=\s*:\s)/.source.replace(/<<prop>>/g,(function(){return r})).replace(/<<key>>/g,(function(){return"(?:"+o+"|"+a+")"}))),lookbehind:!0,greedy:!0,alias:"atrule"},directive:{pattern:/(^[ \t]*)%.+/m,lookbehind:!0,alias:"important"},datetime:{pattern:i(/\d{4}-\d\d?-\d\d?(?:[tT]|[ \t]+)\d\d?:\d{2}:\d{2}(?:\.\d*)?(?:[ \t]*(?:Z|[-+]\d\d?(?::\d{2})?))?|\d{4}-\d{2}-\d{2}|\d\d?:\d{2}(?::\d{2}(?:\.\d*)?)?/.source),lookbehind:!0,alias:"number"},boolean:{pattern:i(/false|true/.source,"i"),lookbehind:!0,alias:"important"},null:{pattern:i(/null|~/.source,"i"),lookbehind:!0,alias:"important"},string:{pattern:i(a),lookbehind:!0,greedy:!0},number:{pattern:i(/[+-]?(?:0x[\da-f]+|0o[0-7]+|(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?|\.inf|\.nan)/.source,"i"),lookbehind:!0},tag:t,important:n,punctuation:/---|[:[\]{}\-,|>?]|\.\.\./},e.languages.yml=e.languages.yaml}(P),function(e){var n=/(?:\\.|[^\\\n\r]|(?:\n|\r\n?)(?![\r\n]))/.source;function t(e){return e=e.replace(/<inner>/g,(function(){return n})),RegExp(/((?:^|[^\\])(?:\\{2})*)/.source+"(?:"+e+")")}var r=/(?:\\.|``(?:[^`\r\n]|`(?!`))+``|`[^`\r\n]+`|[^\\|\r\n`])+/.source,o=/\|?__(?:\|__)+\|?(?:(?:\n|\r\n?)|(?![\s\S]))/.source.replace(/__/g,(function(){return r})),a=/\|?[ \t]*:?-{3,}:?[ \t]*(?:\|[ \t]*:?-{3,}:?[ \t]*)+\|?(?:\n|\r\n?)/.source,i=(e.languages.markdown=e.languages.extend("markup",{}),e.languages.insertBefore("markdown","prolog",{"front-matter-block":{pattern:/(^(?:\s*[\r\n])?)---(?!.)[\s\S]*?[\r\n]---(?!.)/,lookbehind:!0,greedy:!0,inside:{punctuation:/^---|---$/,"front-matter":{pattern:/\S+(?:\s+\S+)*/,alias:["yaml","language-yaml"],inside:e.languages.yaml}}},blockquote:{pattern:/^>(?:[\t ]*>)*/m,alias:"punctuation"},table:{pattern:RegExp("^"+o+a+"(?:"+o+")*","m"),inside:{"table-data-rows":{pattern:RegExp("^("+o+a+")(?:"+o+")*$"),lookbehind:!0,inside:{"table-data":{pattern:RegExp(r),inside:e.languages.markdown},punctuation:/\|/}},"table-line":{pattern:RegExp("^("+o+")"+a+"$"),lookbehind:!0,inside:{punctuation:/\||:?-{3,}:?/}},"table-header-row":{pattern:RegExp("^"+o+"$"),inside:{"table-header":{pattern:RegExp(r),alias:"important",inside:e.languages.markdown},punctuation:/\|/}}}},code:[{pattern:/((?:^|\n)[ \t]*\n|(?:^|\r\n?)[ \t]*\r\n?)(?: {4}|\t).+(?:(?:\n|\r\n?)(?: {4}|\t).+)*/,lookbehind:!0,alias:"keyword"},{pattern:/^```[\s\S]*?^```$/m,greedy:!0,inside:{"code-block":{pattern:/^(```.*(?:\n|\r\n?))[\s\S]+?(?=(?:\n|\r\n?)^```$)/m,lookbehind:!0},"code-language":{pattern:/^(```).+/,lookbehind:!0},punctuation:/```/}}],title:[{pattern:/\S.*(?:\n|\r\n?)(?:==+|--+)(?=[ \t]*$)/m,alias:"important",inside:{punctuation:/==+$|--+$/}},{pattern:/(^\s*)#.+/m,lookbehind:!0,alias:"important",inside:{punctuation:/^#+|#+$/}}],hr:{pattern:/(^\s*)([*-])(?:[\t ]*\2){2,}(?=\s*$)/m,lookbehind:!0,alias:"punctuation"},list:{pattern:/(^\s*)(?:[*+-]|\d+\.)(?=[\t ].)/m,lookbehind:!0,alias:"punctuation"},"url-reference":{pattern:/!?\[[^\]]+\]:[\t ]+(?:\S+|<(?:\\.|[^>\\])+>)(?:[\t ]+(?:"(?:\\.|[^"\\])*"|'(?:\\.|[^'\\])*'|\((?:\\.|[^)\\])*\)))?/,inside:{variable:{pattern:/^(!?\[)[^\]]+/,lookbehind:!0},string:/(?:"(?:\\.|[^"\\])*"|'(?:\\.|[^'\\])*'|\((?:\\.|[^)\\])*\))$/,punctuation:/^[\[\]!:]|[<>]/},alias:"url"},bold:{pattern:t(/\b__(?:(?!_)<inner>|_(?:(?!_)<inner>)+_)+__\b|\*\*(?:(?!\*)<inner>|\*(?:(?!\*)<inner>)+\*)+\*\*/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^..)[\s\S]+(?=..$)/,lookbehind:!0,inside:{}},punctuation:/\*\*|__/}},italic:{pattern:t(/\b_(?:(?!_)<inner>|__(?:(?!_)<inner>)+__)+_\b|\*(?:(?!\*)<inner>|\*\*(?:(?!\*)<inner>)+\*\*)+\*/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^.)[\s\S]+(?=.$)/,lookbehind:!0,inside:{}},punctuation:/[*_]/}},strike:{pattern:t(/(~~?)(?:(?!~)<inner>)+\2/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^~~?)[\s\S]+(?=\1$)/,lookbehind:!0,inside:{}},punctuation:/~~?/}},"code-snippet":{pattern:/(^|[^\\`])(?:``[^`\r\n]+(?:`[^`\r\n]+)*``(?!`)|`[^`\r\n]+`(?!`))/,lookbehind:!0,greedy:!0,alias:["code","keyword"]},url:{pattern:t(/!?\[(?:(?!\])<inner>)+\](?:\([^\s)]+(?:[\t ]+"(?:\\.|[^"\\])*")?\)|[ \t]?\[(?:(?!\])<inner>)+\])/.source),lookbehind:!0,greedy:!0,inside:{operator:/^!/,content:{pattern:/(^\[)[^\]]+(?=\])/,lookbehind:!0,inside:{}},variable:{pattern:/(^\][ \t]?\[)[^\]]+(?=\]$)/,lookbehind:!0},url:{pattern:/(^\]\()[^\s)]+/,lookbehind:!0},string:{pattern:/(^[ \t]+)"(?:\\.|[^"\\])*"(?=\)$)/,lookbehind:!0}}}}),["url","bold","italic","strike"].forEach((function(n){["url","bold","italic","strike","code-snippet"].forEach((function(t){n!==t&&(e.languages.markdown[n].inside.content.inside[t]=e.languages.markdown[t])}))})),e.hooks.add("after-tokenize",(function(e){"markdown"!==e.language&&"md"!==e.language||function e(n){if(n&&"string"!=typeof n)for(var t=0,r=n.length;t<r;t++){var o,a=n[t];"code"!==a.type?e(a.content):(o=a.content[1],a=a.content[3],o&&a&&"code-language"===o.type&&"code-block"===a.type&&"string"==typeof o.content&&(o=o.content.replace(/\b#/g,"sharp").replace(/\b\+\+/g,"pp"),o="language-"+(o=(/[a-z][\w-]*/i.exec(o)||[""])[0].toLowerCase()),a.alias?"string"==typeof a.alias?a.alias=[a.alias,o]:a.alias.push(o):a.alias=[o]))}}(e.tokens)})),e.hooks.add("wrap",(function(n){if("code-block"===n.type){for(var t="",r=0,o=n.classes.length;r<o;r++){var a=n.classes[r];if(a=/language-(.+)/.exec(a)){t=a[1];break}}var c,d=e.languages[t];d?n.content=e.highlight(n.content.replace(i,"").replace(/&(\w{1,8}|#x?[\da-f]{1,8});/gi,(function(e,n){var t;return"#"===(n=n.toLowerCase())[0]?(t="x"===n[1]?parseInt(n.slice(2),16):Number(n.slice(1)),l(t)):s[n]||e})),d,t):t&&"none"!==t&&e.plugins.autoloader&&(c="md-"+(new Date).valueOf()+"-"+Math.floor(1e16*Math.random()),n.attributes.id=c,e.plugins.autoloader.loadLanguages(t,(function(){var n=document.getElementById(c);n&&(n.innerHTML=e.highlight(n.textContent,e.languages[t],t))})))}})),RegExp(e.languages.markup.tag.pattern.source,"gi")),s={amp:"&",lt:"<",gt:">",quot:'"'},l=String.fromCodePoint||String.fromCharCode;e.languages.md=e.languages.markdown}(P),P.languages.graphql={comment:/#.*/,description:{pattern:/(?:"""(?:[^"]|(?!""")")*"""|"(?:\\.|[^\\"\r\n])*")(?=\s*[a-z_])/i,greedy:!0,alias:"string",inside:{"language-markdown":{pattern:/(^"(?:"")?)(?!\1)[\s\S]+(?=\1$)/,lookbehind:!0,inside:P.languages.markdown}}},string:{pattern:/"""(?:[^"]|(?!""")")*"""|"(?:\\.|[^\\"\r\n])*"/,greedy:!0},number:/(?:\B-|\b)\d+(?:\.\d+)?(?:e[+-]?\d+)?\b/i,boolean:/\b(?:false|true)\b/,variable:/\$[a-z_]\w*/i,directive:{pattern:/@[a-z_]\w*/i,alias:"function"},"attr-name":{pattern:/\b[a-z_]\w*(?=\s*(?:\((?:[^()"]|"(?:\\.|[^\\"\r\n])*")*\))?:)/i,greedy:!0},"atom-input":{pattern:/\b[A-Z]\w*Input\b/,alias:"class-name"},scalar:/\b(?:Boolean|Float|ID|Int|String)\b/,constant:/\b[A-Z][A-Z_\d]*\b/,"class-name":{pattern:/(\b(?:enum|implements|interface|on|scalar|type|union)\s+|&\s*|:\s*|\[)[A-Z_]\w*/,lookbehind:!0},fragment:{pattern:/(\bfragment\s+|\.{3}\s*(?!on\b))[a-zA-Z_]\w*/,lookbehind:!0,alias:"function"},"definition-mutation":{pattern:/(\bmutation\s+)[a-zA-Z_]\w*/,lookbehind:!0,alias:"function"},"definition-query":{pattern:/(\bquery\s+)[a-zA-Z_]\w*/,lookbehind:!0,alias:"function"},keyword:/\b(?:directive|enum|extend|fragment|implements|input|interface|mutation|on|query|repeatable|scalar|schema|subscription|type|union)\b/,operator:/[!=|&]|\.{3}/,"property-query":/\w+(?=\s*\()/,object:/\w+(?=\s*\{)/,punctuation:/[!(){}\[\]:=,]/,property:/\w+/},P.hooks.add("after-tokenize",(function(e){if("graphql"===e.language)for(var n=e.tokens.filter((function(e){return"string"!=typeof e&&"comment"!==e.type&&"scalar"!==e.type})),t=0;t<n.length;){var r=n[t++];if("keyword"===r.type&&"mutation"===r.content){var o=[];if(u(["definition-mutation","punctuation"])&&"("===d(1).content){t+=2;var a=p(/^\($/,/^\)$/);if(-1===a)continue;for(;t<a;t++){var i=d(0);"variable"===i.type&&(f(i,"variable-input"),o.push(i.content))}t=a+1}if(u(["punctuation","property-query"])&&"{"===d(0).content&&(t++,f(d(0),"property-mutation"),0<o.length)){var s=p(/^\{$/,/^\}$/);if(-1!==s)for(var l=t;l<s;l++){var c=n[l];"variable"===c.type&&0<=o.indexOf(c.content)&&f(c,"variable-input")}}}}function d(e){return n[t+e]}function u(e,n){n=n||0;for(var t=0;t<e.length;t++){var r=d(t+n);if(!r||r.type!==e[t])return}return 1}function p(e,r){for(var o=1,a=t;a<n.length;a++){var i=n[a],s=i.content;if("punctuation"===i.type&&"string"==typeof s)if(e.test(s))o++;else if(r.test(s)&&0==--o)return a}return-1}function f(e,n){var t=e.alias;t?Array.isArray(t)||(e.alias=t=[t]):e.alias=t=[],t.push(n)}})),P.languages.sql={comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|(?:--|\/\/|#).*)/,lookbehind:!0},variable:[{pattern:/@(["'`])(?:\\[\s\S]|(?!\1)[^\\])+\1/,greedy:!0},/@[\w.$]+/],string:{pattern:/(^|[^@\\])("|')(?:\\[\s\S]|(?!\2)[^\\]|\2\2)*\2/,greedy:!0,lookbehind:!0},identifier:{pattern:/(^|[^@\\])`(?:\\[\s\S]|[^`\\]|``)*`/,greedy:!0,lookbehind:!0,inside:{punctuation:/^`|`$/}},function:/\b(?:AVG|COUNT|FIRST|FORMAT|LAST|LCASE|LEN|MAX|MID|MIN|MOD|NOW|ROUND|SUM|UCASE)(?=\s*\()/i,keyword:/\b(?:ACTION|ADD|AFTER|ALGORITHM|ALL|ALTER|ANALYZE|ANY|APPLY|AS|ASC|AUTHORIZATION|AUTO_INCREMENT|BACKUP|BDB|BEGIN|BERKELEYDB|BIGINT|BINARY|BIT|BLOB|BOOL|BOOLEAN|BREAK|BROWSE|BTREE|BULK|BY|CALL|CASCADED?|CASE|CHAIN|CHAR(?:ACTER|SET)?|CHECK(?:POINT)?|CLOSE|CLUSTERED|COALESCE|COLLATE|COLUMNS?|COMMENT|COMMIT(?:TED)?|COMPUTE|CONNECT|CONSISTENT|CONSTRAINT|CONTAINS(?:TABLE)?|CONTINUE|CONVERT|CREATE|CROSS|CURRENT(?:_DATE|_TIME|_TIMESTAMP|_USER)?|CURSOR|CYCLE|DATA(?:BASES?)?|DATE(?:TIME)?|DAY|DBCC|DEALLOCATE|DEC|DECIMAL|DECLARE|DEFAULT|DEFINER|DELAYED|DELETE|DELIMITERS?|DENY|DESC|DESCRIBE|DETERMINISTIC|DISABLE|DISCARD|DISK|DISTINCT|DISTINCTROW|DISTRIBUTED|DO|DOUBLE|DROP|DUMMY|DUMP(?:FILE)?|DUPLICATE|ELSE(?:IF)?|ENABLE|ENCLOSED|END|ENGINE|ENUM|ERRLVL|ERRORS|ESCAPED?|EXCEPT|EXEC(?:UTE)?|EXISTS|EXIT|EXPLAIN|EXTENDED|FETCH|FIELDS|FILE|FILLFACTOR|FIRST|FIXED|FLOAT|FOLLOWING|FOR(?: EACH ROW)?|FORCE|FOREIGN|FREETEXT(?:TABLE)?|FROM|FULL|FUNCTION|GEOMETRY(?:COLLECTION)?|GLOBAL|GOTO|GRANT|GROUP|HANDLER|HASH|HAVING|HOLDLOCK|HOUR|IDENTITY(?:COL|_INSERT)?|IF|IGNORE|IMPORT|INDEX|INFILE|INNER|INNODB|INOUT|INSERT|INT|INTEGER|INTERSECT|INTERVAL|INTO|INVOKER|ISOLATION|ITERATE|JOIN|KEYS?|KILL|LANGUAGE|LAST|LEAVE|LEFT|LEVEL|LIMIT|LINENO|LINES|LINESTRING|LOAD|LOCAL|LOCK|LONG(?:BLOB|TEXT)|LOOP|MATCH(?:ED)?|MEDIUM(?:BLOB|INT|TEXT)|MERGE|MIDDLEINT|MINUTE|MODE|MODIFIES|MODIFY|MONTH|MULTI(?:LINESTRING|POINT|POLYGON)|NATIONAL|NATURAL|NCHAR|NEXT|NO|NONCLUSTERED|NULLIF|NUMERIC|OFF?|OFFSETS?|ON|OPEN(?:DATASOURCE|QUERY|ROWSET)?|OPTIMIZE|OPTION(?:ALLY)?|ORDER|OUT(?:ER|FILE)?|OVER|PARTIAL|PARTITION|PERCENT|PIVOT|PLAN|POINT|POLYGON|PRECEDING|PRECISION|PREPARE|PREV|PRIMARY|PRINT|PRIVILEGES|PROC(?:EDURE)?|PUBLIC|PURGE|QUICK|RAISERROR|READS?|REAL|RECONFIGURE|REFERENCES|RELEASE|RENAME|REPEAT(?:ABLE)?|REPLACE|REPLICATION|REQUIRE|RESIGNAL|RESTORE|RESTRICT|RETURN(?:ING|S)?|REVOKE|RIGHT|ROLLBACK|ROUTINE|ROW(?:COUNT|GUIDCOL|S)?|RTREE|RULE|SAVE(?:POINT)?|SCHEMA|SECOND|SELECT|SERIAL(?:IZABLE)?|SESSION(?:_USER)?|SET(?:USER)?|SHARE|SHOW|SHUTDOWN|SIMPLE|SMALLINT|SNAPSHOT|SOME|SONAME|SQL|START(?:ING)?|STATISTICS|STATUS|STRIPED|SYSTEM_USER|TABLES?|TABLESPACE|TEMP(?:ORARY|TABLE)?|TERMINATED|TEXT(?:SIZE)?|THEN|TIME(?:STAMP)?|TINY(?:BLOB|INT|TEXT)|TOP?|TRAN(?:SACTIONS?)?|TRIGGER|TRUNCATE|TSEQUAL|TYPES?|UNBOUNDED|UNCOMMITTED|UNDEFINED|UNION|UNIQUE|UNLOCK|UNPIVOT|UNSIGNED|UPDATE(?:TEXT)?|USAGE|USE|USER|USING|VALUES?|VAR(?:BINARY|CHAR|CHARACTER|YING)|VIEW|WAITFOR|WARNINGS|WHEN|WHERE|WHILE|WITH(?: ROLLUP|IN)?|WORK|WRITE(?:TEXT)?|YEAR)\b/i,boolean:/\b(?:FALSE|NULL|TRUE)\b/i,number:/\b0x[\da-f]+\b|\b\d+(?:\.\d*)?|\B\.\d+\b/i,operator:/[-+*\/=%^~]|&&?|\|\|?|!=?|<(?:=>?|<|>)?|>[>=]?|\b(?:AND|BETWEEN|DIV|ILIKE|IN|IS|LIKE|NOT|OR|REGEXP|RLIKE|SOUNDS LIKE|XOR)\b/i,punctuation:/[;[\]()`,.]/},function(e){var n=e.languages.javascript["template-string"],t=n.pattern.source,r=n.inside.interpolation,o=r.inside["interpolation-punctuation"],a=r.pattern.source;function i(n,r){if(e.languages[n])return{pattern:RegExp("((?:"+r+")\\s*)"+t),lookbehind:!0,greedy:!0,inside:{"template-punctuation":{pattern:/^`|`$/,alias:"string"},"embedded-code":{pattern:/[\s\S]+/,alias:n}}}}function s(n,t,r){return n={code:n,grammar:t,language:r},e.hooks.run("before-tokenize",n),n.tokens=e.tokenize(n.code,n.grammar),e.hooks.run("after-tokenize",n),n.tokens}function l(n,t,i){var l=e.tokenize(n,{interpolation:{pattern:RegExp(a),lookbehind:!0}}),c=0,d={},u=(l=s(l.map((function(e){if("string"==typeof e)return e;var t,r;for(e=e.content;-1!==n.indexOf((r=c++,t="___"+i.toUpperCase()+"_"+r+"___")););return d[t]=e,t})).join(""),t,i),Object.keys(d));return c=0,function n(t){for(var a=0;a<t.length;a++){if(c>=u.length)return;var i,l,p,f,m,y,h,g=t[a];"string"==typeof g||"string"==typeof g.content?(i=u[c],-1!==(h=(y="string"==typeof g?g:g.content).indexOf(i))&&(++c,l=y.substring(0,h),m=d[i],p=void 0,(f={})["interpolation-punctuation"]=o,3===(f=e.tokenize(m,f)).length&&((p=[1,1]).push.apply(p,s(f[1],e.languages.javascript,"javascript")),f.splice.apply(f,p)),p=new e.Token("interpolation",f,r.alias,m),f=y.substring(h+i.length),m=[],l&&m.push(l),m.push(p),f&&(n(y=[f]),m.push.apply(m,y)),"string"==typeof g?(t.splice.apply(t,[a,1].concat(m)),a+=m.length-1):g.content=m)):(h=g.content,Array.isArray(h)?n(h):n([h]))}}(l),new e.Token(i,l,"language-"+i,n)}e.languages.javascript["template-string"]=[i("css",/\b(?:styled(?:\([^)]*\))?(?:\s*\.\s*\w+(?:\([^)]*\))*)*|css(?:\s*\.\s*(?:global|resolve))?|createGlobalStyle|keyframes)/.source),i("html",/\bhtml|\.\s*(?:inner|outer)HTML\s*\+?=/.source),i("svg",/\bsvg/.source),i("markdown",/\b(?:markdown|md)/.source),i("graphql",/\b(?:gql|graphql(?:\s*\.\s*experimental)?)/.source),i("sql",/\bsql/.source),n].filter(Boolean);var c={javascript:!0,js:!0,typescript:!0,ts:!0,jsx:!0,tsx:!0};function d(e){return"string"==typeof e?e:Array.isArray(e)?e.map(d).join(""):d(e.content)}e.hooks.add("after-tokenize",(function(n){n.language in c&&function n(t){for(var r=0,o=t.length;r<o;r++){var a,i,s,c=t[r];"string"!=typeof c&&(a=c.content,Array.isArray(a)?"template-string"===c.type?(c=a[1],3===a.length&&"string"!=typeof c&&"embedded-code"===c.type&&(i=d(c),c=c.alias,c=Array.isArray(c)?c[0]:c,s=e.languages[c])&&(a[1]=l(i,s,c))):n(a):"string"!=typeof a&&n([a]))}}(n.tokens)}))}(P),function(e){e.languages.typescript=e.languages.extend("javascript",{"class-name":{pattern:/(\b(?:class|extends|implements|instanceof|interface|new|type)\s+)(?!keyof\b)(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?:\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>)?/,lookbehind:!0,greedy:!0,inside:null},builtin:/\b(?:Array|Function|Promise|any|boolean|console|never|number|string|symbol|unknown)\b/}),e.languages.typescript.keyword.push(/\b(?:abstract|declare|is|keyof|readonly|require)\b/,/\b(?:asserts|infer|interface|module|namespace|type)\b(?=\s*(?:[{_$a-zA-Z\xA0-\uFFFF]|$))/,/\btype\b(?=\s*(?:[\{*]|$))/),delete e.languages.typescript.parameter,delete e.languages.typescript["literal-property"];var n=e.languages.extend("typescript",{});delete n["class-name"],e.languages.typescript["class-name"].inside=n,e.languages.insertBefore("typescript","function",{decorator:{pattern:/@[$\w\xA0-\uFFFF]+/,inside:{at:{pattern:/^@/,alias:"operator"},function:/^[\s\S]+/}},"generic-function":{pattern:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>(?=\s*\()/,greedy:!0,inside:{function:/^#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*/,generic:{pattern:/<[\s\S]+/,alias:"class-name",inside:n}}}}),e.languages.ts=e.languages.typescript}(P),function(e){var n=e.languages.javascript,t=/\{(?:[^{}]|\{(?:[^{}]|\{[^{}]*\})*\})+\}/.source,r="(@(?:arg|argument|param|property)\\s+(?:"+t+"\\s+)?)";e.languages.jsdoc=e.languages.extend("javadoclike",{parameter:{pattern:RegExp(r+/(?:(?!\s)[$\w\xA0-\uFFFF.])+(?=\s|$)/.source),lookbehind:!0,inside:{punctuation:/\./}}}),e.languages.insertBefore("jsdoc","keyword",{"optional-parameter":{pattern:RegExp(r+/\[(?:(?!\s)[$\w\xA0-\uFFFF.])+(?:=[^[\]]+)?\](?=\s|$)/.source),lookbehind:!0,inside:{parameter:{pattern:/(^\[)[$\w\xA0-\uFFFF\.]+/,lookbehind:!0,inside:{punctuation:/\./}},code:{pattern:/(=)[\s\S]*(?=\]$)/,lookbehind:!0,inside:n,alias:"language-javascript"},punctuation:/[=[\]]/}},"class-name":[{pattern:RegExp(/(@(?:augments|class|extends|interface|memberof!?|template|this|typedef)\s+(?:<TYPE>\s+)?)[A-Z]\w*(?:\.[A-Z]\w*)*/.source.replace(/<TYPE>/g,(function(){return t}))),lookbehind:!0,inside:{punctuation:/\./}},{pattern:RegExp("(@[a-z]+\\s+)"+t),lookbehind:!0,inside:{string:n.string,number:n.number,boolean:n.boolean,keyword:e.languages.typescript.keyword,operator:/=>|\.\.\.|[&|?:*]/,punctuation:/[.,;=<>{}()[\]]/}}],example:{pattern:/(@example\s+(?!\s))(?:[^@\s]|\s+(?!\s))+?(?=\s*(?:\*\s*)?(?:@\w|\*\/))/,lookbehind:!0,inside:{code:{pattern:/^([\t ]*(?:\*\s*)?)\S.*$/m,lookbehind:!0,inside:n,alias:"language-javascript"}}}}),e.languages.javadoclike.addSupport("javascript",e.languages.jsdoc)}(P),function(e){e.languages.flow=e.languages.extend("javascript",{}),e.languages.insertBefore("flow","keyword",{type:[{pattern:/\b(?:[Bb]oolean|Function|[Nn]umber|[Ss]tring|[Ss]ymbol|any|mixed|null|void)\b/,alias:"class-name"}]}),e.languages.flow["function-variable"].pattern=/(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*=\s*(?:function\b|(?:\([^()]*\)(?:\s*:\s*\w+)?|(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)\s*=>))/i,delete e.languages.flow.parameter,e.languages.insertBefore("flow","operator",{"flow-punctuation":{pattern:/\{\||\|\}/,alias:"punctuation"}}),Array.isArray(e.languages.flow.keyword)||(e.languages.flow.keyword=[e.languages.flow.keyword]),e.languages.flow.keyword.unshift({pattern:/(^|[^$]\b)(?:Class|declare|opaque|type)\b(?!\$)/,lookbehind:!0},{pattern:/(^|[^$]\B)\$(?:Diff|Enum|Exact|Keys|ObjMap|PropertyType|Record|Shape|Subtype|Supertype|await)\b(?!\$)/,lookbehind:!0})}(P),P.languages.n4js=P.languages.extend("javascript",{keyword:/\b(?:Array|any|boolean|break|case|catch|class|const|constructor|continue|debugger|declare|default|delete|do|else|enum|export|extends|false|finally|for|from|function|get|if|implements|import|in|instanceof|interface|let|module|new|null|number|package|private|protected|public|return|set|static|string|super|switch|this|throw|true|try|typeof|var|void|while|with|yield)\b/}),P.languages.insertBefore("n4js","constant",{annotation:{pattern:/@+\w+/,alias:"operator"}}),P.languages.n4jsd=P.languages.n4js,function(e){function n(e,n){return RegExp(e.replace(/<ID>/g,(function(){return/(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*/.source})),n)}e.languages.insertBefore("javascript","function-variable",{"method-variable":{pattern:RegExp("(\\.\\s*)"+e.languages.javascript["function-variable"].pattern.source),lookbehind:!0,alias:["function-variable","method","function","property-access"]}}),e.languages.insertBefore("javascript","function",{method:{pattern:RegExp("(\\.\\s*)"+e.languages.javascript.function.source),lookbehind:!0,alias:["function","property-access"]}}),e.languages.insertBefore("javascript","constant",{"known-class-name":[{pattern:/\b(?:(?:Float(?:32|64)|(?:Int|Uint)(?:8|16|32)|Uint8Clamped)?Array|ArrayBuffer|BigInt|Boolean|DataView|Date|Error|Function|Intl|JSON|(?:Weak)?(?:Map|Set)|Math|Number|Object|Promise|Proxy|Reflect|RegExp|String|Symbol|WebAssembly)\b/,alias:"class-name"},{pattern:/\b(?:[A-Z]\w*)Error\b/,alias:"class-name"}]}),e.languages.insertBefore("javascript","keyword",{imports:{pattern:n(/(\bimport\b\s*)(?:<ID>(?:\s*,\s*(?:\*\s*as\s+<ID>|\{[^{}]*\}))?|\*\s*as\s+<ID>|\{[^{}]*\})(?=\s*\bfrom\b)/.source),lookbehind:!0,inside:e.languages.javascript},exports:{pattern:n(/(\bexport\b\s*)(?:\*(?:\s*as\s+<ID>)?(?=\s*\bfrom\b)|\{[^{}]*\})/.source),lookbehind:!0,inside:e.languages.javascript}}),e.languages.javascript.keyword.unshift({pattern:/\b(?:as|default|export|from|import)\b/,alias:"module"},{pattern:/\b(?:await|break|catch|continue|do|else|finally|for|if|return|switch|throw|try|while|yield)\b/,alias:"control-flow"},{pattern:/\bnull\b/,alias:["null","nil"]},{pattern:/\bundefined\b/,alias:"nil"}),e.languages.insertBefore("javascript","operator",{spread:{pattern:/\.{3}/,alias:"operator"},arrow:{pattern:/=>/,alias:"operator"}}),e.languages.insertBefore("javascript","punctuation",{"property-access":{pattern:n(/(\.\s*)#?<ID>/.source),lookbehind:!0},"maybe-class-name":{pattern:/(^|[^$\w\xA0-\uFFFF])[A-Z][$\w\xA0-\uFFFF]+/,lookbehind:!0},dom:{pattern:/\b(?:document|(?:local|session)Storage|location|navigator|performance|window)\b/,alias:"variable"},console:{pattern:/\bconsole(?=\s*\.)/,alias:"class-name"}});for(var t=["function","function-variable","method","method-variable","property-access"],r=0;r<t.length;r++){var o=t[r],a=e.languages.javascript[o];o=(a="RegExp"===e.util.type(a)?e.languages.javascript[o]={pattern:a}:a).inside||{};(a.inside=o)["maybe-class-name"]=/^[A-Z][\s\S]*/}}(P),function(e){var n=e.util.clone(e.languages.javascript),t=/(?:\s|\/\/.*(?!.)|\/\*(?:[^*]|\*(?!\/))\*\/)/.source,r=/(?:\{(?:\{(?:\{[^{}]*\}|[^{}])*\}|[^{}])*\})/.source,o=/(?:\{<S>*\.{3}(?:[^{}]|<BRACES>)*\})/.source;function a(e,n){return e=e.replace(/<S>/g,(function(){return t})).replace(/<BRACES>/g,(function(){return r})).replace(/<SPREAD>/g,(function(){return o})),RegExp(e,n)}function i(n){for(var t=[],r=0;r<n.length;r++){var o=n[r],a=!1;"string"!=typeof o&&("tag"===o.type&&o.content[0]&&"tag"===o.content[0].type?"</"===o.content[0].content[0].content?0<t.length&&t[t.length-1].tagName===s(o.content[0].content[1])&&t.pop():"/>"!==o.content[o.content.length-1].content&&t.push({tagName:s(o.content[0].content[1]),openedBraces:0}):0<t.length&&"punctuation"===o.type&&"{"===o.content?t[t.length-1].openedBraces++:0<t.length&&0<t[t.length-1].openedBraces&&"punctuation"===o.type&&"}"===o.content?t[t.length-1].openedBraces--:a=!0),(a||"string"==typeof o)&&0<t.length&&0===t[t.length-1].openedBraces&&(a=s(o),r<n.length-1&&("string"==typeof n[r+1]||"plain-text"===n[r+1].type)&&(a+=s(n[r+1]),n.splice(r+1,1)),0<r&&("string"==typeof n[r-1]||"plain-text"===n[r-1].type)&&(a=s(n[r-1])+a,n.splice(r-1,1),r--),n[r]=new e.Token("plain-text",a,null,a)),o.content&&"string"!=typeof o.content&&i(o.content)}}o=a(o).source,e.languages.jsx=e.languages.extend("markup",n),e.languages.jsx.tag.pattern=a(/<\/?(?:[\w.:-]+(?:<S>+(?:[\w.:$-]+(?:=(?:"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*'|[^\s{'"/>=]+|<BRACES>))?|<SPREAD>))*<S>*\/?)?>/.source),e.languages.jsx.tag.inside.tag.pattern=/^<\/?[^\s>\/]*/,e.languages.jsx.tag.inside["attr-value"].pattern=/=(?!\{)(?:"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*'|[^\s'">]+)/,e.languages.jsx.tag.inside.tag.inside["class-name"]=/^[A-Z]\w*(?:\.[A-Z]\w*)*$/,e.languages.jsx.tag.inside.comment=n.comment,e.languages.insertBefore("inside","attr-name",{spread:{pattern:a(/<SPREAD>/.source),inside:e.languages.jsx}},e.languages.jsx.tag),e.languages.insertBefore("inside","special-attr",{script:{pattern:a(/=<BRACES>/.source),alias:"language-javascript",inside:{"script-punctuation":{pattern:/^=(?=\{)/,alias:"punctuation"},rest:e.languages.jsx}}},e.languages.jsx.tag);var s=function(e){return e?"string"==typeof e?e:"string"==typeof e.content?e.content:e.content.map(s).join(""):""};e.hooks.add("after-tokenize",(function(e){"jsx"!==e.language&&"tsx"!==e.language||i(e.tokens)}))}(P),function(e){var n=e.util.clone(e.languages.typescript);(n=(e.languages.tsx=e.languages.extend("jsx",n),delete e.languages.tsx.parameter,delete e.languages.tsx["literal-property"],e.languages.tsx.tag)).pattern=RegExp(/(^|[^\w$]|(?=<\/))/.source+"(?:"+n.pattern.source+")",n.pattern.flags),n.lookbehind=!0}(P),P.languages.swift={comment:{pattern:/(^|[^\\:])(?:\/\/.*|\/\*(?:[^/*]|\/(?!\*)|\*(?!\/)|\/\*(?:[^*]|\*(?!\/))*\*\/)*\*\/)/,lookbehind:!0,greedy:!0},"string-literal":[{pattern:RegExp(/(^|[^"#])/.source+"(?:"+/"(?:\\(?:\((?:[^()]|\([^()]*\))*\)|\r\n|[^(])|[^\\\r\n"])*"/.source+"|"+/"""(?:\\(?:\((?:[^()]|\([^()]*\))*\)|[^(])|[^\\"]|"(?!""))*"""/.source+")"+/(?!["#])/.source),lookbehind:!0,greedy:!0,inside:{interpolation:{pattern:/(\\\()(?:[^()]|\([^()]*\))*(?=\))/,lookbehind:!0,inside:null},"interpolation-punctuation":{pattern:/^\)|\\\($/,alias:"punctuation"},punctuation:/\\(?=[\r\n])/,string:/[\s\S]+/}},{pattern:RegExp(/(^|[^"#])(#+)/.source+"(?:"+/"(?:\\(?:#+\((?:[^()]|\([^()]*\))*\)|\r\n|[^#])|[^\\\r\n])*?"/.source+"|"+/"""(?:\\(?:#+\((?:[^()]|\([^()]*\))*\)|[^#])|[^\\])*?"""/.source+")\\2"),lookbehind:!0,greedy:!0,inside:{interpolation:{pattern:/(\\#+\()(?:[^()]|\([^()]*\))*(?=\))/,lookbehind:!0,inside:null},"interpolation-punctuation":{pattern:/^\)|\\#+\($/,alias:"punctuation"},string:/[\s\S]+/}}],directive:{pattern:RegExp(/#/.source+"(?:"+/(?:elseif|if)\b/.source+"(?:[ \t]*"+/(?:![ \t]*)?(?:\b\w+\b(?:[ \t]*\((?:[^()]|\([^()]*\))*\))?|\((?:[^()]|\([^()]*\))*\))(?:[ \t]*(?:&&|\|\|))?/.source+")+|"+/(?:else|endif)\b/.source+")"),alias:"property",inside:{"directive-name":/^#\w+/,boolean:/\b(?:false|true)\b/,number:/\b\d+(?:\.\d+)*\b/,operator:/!|&&|\|\||[<>]=?/,punctuation:/[(),]/}},literal:{pattern:/#(?:colorLiteral|column|dsohandle|file(?:ID|Literal|Path)?|function|imageLiteral|line)\b/,alias:"constant"},"other-directive":{pattern:/#\w+\b/,alias:"property"},attribute:{pattern:/@\w+/,alias:"atrule"},"function-definition":{pattern:/(\bfunc\s+)\w+/,lookbehind:!0,alias:"function"},label:{pattern:/\b(break|continue)\s+\w+|\b[a-zA-Z_]\w*(?=\s*:\s*(?:for|repeat|while)\b)/,lookbehind:!0,alias:"important"},keyword:/\b(?:Any|Protocol|Self|Type|actor|as|assignment|associatedtype|associativity|async|await|break|case|catch|class|continue|convenience|default|defer|deinit|didSet|do|dynamic|else|enum|extension|fallthrough|fileprivate|final|for|func|get|guard|higherThan|if|import|in|indirect|infix|init|inout|internal|is|isolated|lazy|left|let|lowerThan|mutating|none|nonisolated|nonmutating|open|operator|optional|override|postfix|precedencegroup|prefix|private|protocol|public|repeat|required|rethrows|return|right|safe|self|set|some|static|struct|subscript|super|switch|throw|throws|try|typealias|unowned|unsafe|var|weak|where|while|willSet)\b/,boolean:/\b(?:false|true)\b/,nil:{pattern:/\bnil\b/,alias:"constant"},"short-argument":/\$\d+\b/,omit:{pattern:/\b_\b/,alias:"keyword"},number:/\b(?:[\d_]+(?:\.[\de_]+)?|0x[a-f0-9_]+(?:\.[a-f0-9p_]+)?|0b[01_]+|0o[0-7_]+)\b/i,"class-name":/\b[A-Z](?:[A-Z_\d]*[a-z]\w*)?\b/,function:/\b[a-z_]\w*(?=\s*\()/i,constant:/\b(?:[A-Z_]{2,}|k[A-Z][A-Za-z_]+)\b/,operator:/[-+*/%=!<>&|^~?]+|\.[.\-+*/%=!<>&|^~?]+/,punctuation:/[{}[\]();,.:\\]/},P.languages.swift["string-literal"].forEach((function(e){e.inside.interpolation.inside=P.languages.swift})),function(e){e.languages.kotlin=e.languages.extend("clike",{keyword:{pattern:/(^|[^.])\b(?:abstract|actual|annotation|as|break|by|catch|class|companion|const|constructor|continue|crossinline|data|do|dynamic|else|enum|expect|external|final|finally|for|fun|get|if|import|in|infix|init|inline|inner|interface|internal|is|lateinit|noinline|null|object|open|operator|out|override|package|private|protected|public|reified|return|sealed|set|super|suspend|tailrec|this|throw|to|try|typealias|val|var|vararg|when|where|while)\b/,lookbehind:!0},function:[{pattern:/(?:`[^\r\n`]+`|\b\w+)(?=\s*\()/,greedy:!0},{pattern:/(\.)(?:`[^\r\n`]+`|\w+)(?=\s*\{)/,lookbehind:!0,greedy:!0}],number:/\b(?:0[xX][\da-fA-F]+(?:_[\da-fA-F]+)*|0[bB][01]+(?:_[01]+)*|\d+(?:_\d+)*(?:\.\d+(?:_\d+)*)?(?:[eE][+-]?\d+(?:_\d+)*)?[fFL]?)\b/,operator:/\+[+=]?|-[-=>]?|==?=?|!(?:!|==?)?|[\/*%<>]=?|[?:]:?|\.\.|&&|\|\||\b(?:and|inv|or|shl|shr|ushr|xor)\b/}),delete e.languages.kotlin["class-name"];var n={"interpolation-punctuation":{pattern:/^\$\{?|\}$/,alias:"punctuation"},expression:{pattern:/[\s\S]+/,inside:e.languages.kotlin}};e.languages.insertBefore("kotlin","string",{"string-literal":[{pattern:/"""(?:[^$]|\$(?:(?!\{)|\{[^{}]*\}))*?"""/,alias:"multiline",inside:{interpolation:{pattern:/\$(?:[a-z_]\w*|\{[^{}]*\})/i,inside:n},string:/[\s\S]+/}},{pattern:/"(?:[^"\\\r\n$]|\\.|\$(?:(?!\{)|\{[^{}]*\}))*"/,alias:"singleline",inside:{interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$(?:[a-z_]\w*|\{[^{}]*\})/i,lookbehind:!0,inside:n},string:/[\s\S]+/}}],char:{pattern:/'(?:[^'\\\r\n]|\\(?:.|u[a-fA-F0-9]{0,4}))'/,greedy:!0}}),delete e.languages.kotlin.string,e.languages.insertBefore("kotlin","keyword",{annotation:{pattern:/\B@(?:\w+:)?(?:[A-Z]\w*|\[[^\]]+\])/,alias:"builtin"}}),e.languages.insertBefore("kotlin","function",{label:{pattern:/\b\w+@|@\w+\b/,alias:"symbol"}}),e.languages.kt=e.languages.kotlin,e.languages.kts=e.languages.kotlin}(P),P.languages.c=P.languages.extend("clike",{comment:{pattern:/\/\/(?:[^\r\n\\]|\\(?:\r\n?|\n|(?![\r\n])))*|\/\*[\s\S]*?(?:\*\/|$)/,greedy:!0},string:{pattern:/"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"/,greedy:!0},"class-name":{pattern:/(\b(?:enum|struct)\s+(?:__attribute__\s*\(\([\s\S]*?\)\)\s*)?)\w+|\b[a-z]\w*_t\b/,lookbehind:!0},keyword:/\b(?:_Alignas|_Alignof|_Atomic|_Bool|_Complex|_Generic|_Imaginary|_Noreturn|_Static_assert|_Thread_local|__attribute__|asm|auto|break|case|char|const|continue|default|do|double|else|enum|extern|float|for|goto|if|inline|int|long|register|return|short|signed|sizeof|static|struct|switch|typedef|typeof|union|unsigned|void|volatile|while)\b/,function:/\b[a-z_]\w*(?=\s*\()/i,number:/(?:\b0x(?:[\da-f]+(?:\.[\da-f]*)?|\.[\da-f]+)(?:p[+-]?\d+)?|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?)[ful]{0,4}/i,operator:/>>=?|<<=?|->|([-+&|:])\1|[?:~]|[-+*/%&|^!=<>]=?/}),P.languages.insertBefore("c","string",{char:{pattern:/'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n]){0,32}'/,greedy:!0}}),P.languages.insertBefore("c","string",{macro:{pattern:/(^[\t ]*)#\s*[a-z](?:[^\r\n\\/]|\/(?!\*)|\/\*(?:[^*]|\*(?!\/))*\*\/|\\(?:\r\n|[\s\S]))*/im,lookbehind:!0,greedy:!0,alias:"property",inside:{string:[{pattern:/^(#\s*include\s*)<[^>]+>/,lookbehind:!0},P.languages.c.string],char:P.languages.c.char,comment:P.languages.c.comment,"macro-name":[{pattern:/(^#\s*define\s+)\w+\b(?!\()/i,lookbehind:!0},{pattern:/(^#\s*define\s+)\w+\b(?=\()/i,lookbehind:!0,alias:"function"}],directive:{pattern:/^(#\s*)[a-z]+/,lookbehind:!0,alias:"keyword"},"directive-hash":/^#/,punctuation:/##|\\(?=[\r\n])/,expression:{pattern:/\S[\s\S]*/,inside:P.languages.c}}}}),P.languages.insertBefore("c","function",{constant:/\b(?:EOF|NULL|SEEK_CUR|SEEK_END|SEEK_SET|__DATE__|__FILE__|__LINE__|__TIMESTAMP__|__TIME__|__func__|stderr|stdin|stdout)\b/}),delete P.languages.c.boolean,P.languages.objectivec=P.languages.extend("c",{string:{pattern:/@?"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"/,greedy:!0},keyword:/\b(?:asm|auto|break|case|char|const|continue|default|do|double|else|enum|extern|float|for|goto|if|in|inline|int|long|register|return|self|short|signed|sizeof|static|struct|super|switch|typedef|typeof|union|unsigned|void|volatile|while)\b|(?:@interface|@end|@implementation|@protocol|@class|@public|@protected|@private|@property|@try|@catch|@finally|@throw|@synthesize|@dynamic|@selector)\b/,operator:/-[->]?|\+\+?|!=?|<<?=?|>>?=?|==?|&&?|\|\|?|[~^%?*\/@]/}),delete P.languages.objectivec["class-name"],P.languages.objc=P.languages.objectivec,P.languages.reason=P.languages.extend("clike",{string:{pattern:/"(?:\\(?:\r\n|[\s\S])|[^\\\r\n"])*"/,greedy:!0},"class-name":/\b[A-Z]\w*/,keyword:/\b(?:and|as|assert|begin|class|constraint|do|done|downto|else|end|exception|external|for|fun|function|functor|if|in|include|inherit|initializer|lazy|let|method|module|mutable|new|nonrec|object|of|open|or|private|rec|sig|struct|switch|then|to|try|type|val|virtual|when|while|with)\b/,operator:/\.{3}|:[:=]|\|>|->|=(?:==?|>)?|<=?|>=?|[|^?'#!~`]|[+\-*\/]\.?|\b(?:asr|land|lor|lsl|lsr|lxor|mod)\b/}),P.languages.insertBefore("reason","class-name",{char:{pattern:/'(?:\\x[\da-f]{2}|\\o[0-3][0-7][0-7]|\\\d{3}|\\.|[^'\\\r\n])'/,greedy:!0},constructor:/\b[A-Z]\w*\b(?!\s*\.)/,label:{pattern:/\b[a-z]\w*(?=::)/,alias:"symbol"}}),delete P.languages.reason.function,function(e){for(var n=/\/\*(?:[^*/]|\*(?!\/)|\/(?!\*)|<self>)*\*\//.source,t=0;t<2;t++)n=n.replace(/<self>/g,(function(){return n}));n=n.replace(/<self>/g,(function(){return/[^\s\S]/.source})),e.languages.rust={comment:[{pattern:RegExp(/(^|[^\\])/.source+n),lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],string:{pattern:/b?"(?:\\[\s\S]|[^\\"])*"|b?r(#*)"(?:[^"]|"(?!\1))*"\1/,greedy:!0},char:{pattern:/b?'(?:\\(?:x[0-7][\da-fA-F]|u\{(?:[\da-fA-F]_*){1,6}\}|.)|[^\\\r\n\t'])'/,greedy:!0},attribute:{pattern:/#!?\[(?:[^\[\]"]|"(?:\\[\s\S]|[^\\"])*")*\]/,greedy:!0,alias:"attr-name",inside:{string:null}},"closure-params":{pattern:/([=(,:]\s*|\bmove\s*)\|[^|]*\||\|[^|]*\|(?=\s*(?:\{|->))/,lookbehind:!0,greedy:!0,inside:{"closure-punctuation":{pattern:/^\||\|$/,alias:"punctuation"},rest:null}},"lifetime-annotation":{pattern:/'\w+/,alias:"symbol"},"fragment-specifier":{pattern:/(\$\w+:)[a-z]+/,lookbehind:!0,alias:"punctuation"},variable:/\$\w+/,"function-definition":{pattern:/(\bfn\s+)\w+/,lookbehind:!0,alias:"function"},"type-definition":{pattern:/(\b(?:enum|struct|trait|type|union)\s+)\w+/,lookbehind:!0,alias:"class-name"},"module-declaration":[{pattern:/(\b(?:crate|mod)\s+)[a-z][a-z_\d]*/,lookbehind:!0,alias:"namespace"},{pattern:/(\b(?:crate|self|super)\s*)::\s*[a-z][a-z_\d]*\b(?:\s*::(?:\s*[a-z][a-z_\d]*\s*::)*)?/,lookbehind:!0,alias:"namespace",inside:{punctuation:/::/}}],keyword:[/\b(?:Self|abstract|as|async|await|become|box|break|const|continue|crate|do|dyn|else|enum|extern|final|fn|for|if|impl|in|let|loop|macro|match|mod|move|mut|override|priv|pub|ref|return|self|static|struct|super|trait|try|type|typeof|union|unsafe|unsized|use|virtual|where|while|yield)\b/,/\b(?:bool|char|f(?:32|64)|[ui](?:8|16|32|64|128|size)|str)\b/],function:/\b[a-z_]\w*(?=\s*(?:::\s*<|\())/,macro:{pattern:/\b\w+!/,alias:"property"},constant:/\b[A-Z_][A-Z_\d]+\b/,"class-name":/\b[A-Z]\w*\b/,namespace:{pattern:/(?:\b[a-z][a-z_\d]*\s*::\s*)*\b[a-z][a-z_\d]*\s*::(?!\s*<)/,inside:{punctuation:/::/}},number:/\b(?:0x[\dA-Fa-f](?:_?[\dA-Fa-f])*|0o[0-7](?:_?[0-7])*|0b[01](?:_?[01])*|(?:(?:\d(?:_?\d)*)?\.)?\d(?:_?\d)*(?:[Ee][+-]?\d+)?)(?:_?(?:f32|f64|[iu](?:8|16|32|64|size)?))?\b/,boolean:/\b(?:false|true)\b/,punctuation:/->|\.\.=|\.{1,3}|::|[{}[\];(),:]/,operator:/[-+*\/%!^]=?|=[=>]?|&[&=]?|\|[|=]?|<<?=?|>>?=?|[@?]/},e.languages.rust["closure-params"].inside.rest=e.languages.rust,e.languages.rust.attribute.inside.string=e.languages.rust.string}(P),P.languages.go=P.languages.extend("clike",{string:{pattern:/(^|[^\\])"(?:\\.|[^"\\\r\n])*"|`[^`]*`/,lookbehind:!0,greedy:!0},keyword:/\b(?:break|case|chan|const|continue|default|defer|else|fallthrough|for|func|go(?:to)?|if|import|interface|map|package|range|return|select|struct|switch|type|var)\b/,boolean:/\b(?:_|false|iota|nil|true)\b/,number:[/\b0(?:b[01_]+|o[0-7_]+)i?\b/i,/\b0x(?:[a-f\d_]+(?:\.[a-f\d_]*)?|\.[a-f\d_]+)(?:p[+-]?\d+(?:_\d+)*)?i?(?!\w)/i,/(?:\b\d[\d_]*(?:\.[\d_]*)?|\B\.\d[\d_]*)(?:e[+-]?[\d_]+)?i?(?!\w)/i],operator:/[*\/%^!=]=?|\+[=+]?|-[=-]?|\|[=|]?|&(?:=|&|\^=?)?|>(?:>=?|=)?|<(?:<=?|=|-)?|:=|\.\.\./,builtin:/\b(?:append|bool|byte|cap|close|complex|complex(?:64|128)|copy|delete|error|float(?:32|64)|u?int(?:8|16|32|64)?|imag|len|make|new|panic|print(?:ln)?|real|recover|rune|string|uintptr)\b/}),P.languages.insertBefore("go","string",{char:{pattern:/'(?:\\.|[^'\\\r\n]){0,10}'/,greedy:!0}}),delete P.languages.go["class-name"],function(e){var n=/\b(?:alignas|alignof|asm|auto|bool|break|case|catch|char|char16_t|char32_t|char8_t|class|co_await|co_return|co_yield|compl|concept|const|const_cast|consteval|constexpr|constinit|continue|decltype|default|delete|do|double|dynamic_cast|else|enum|explicit|export|extern|final|float|for|friend|goto|if|import|inline|int|int16_t|int32_t|int64_t|int8_t|long|module|mutable|namespace|new|noexcept|nullptr|operator|override|private|protected|public|register|reinterpret_cast|requires|return|short|signed|sizeof|static|static_assert|static_cast|struct|switch|template|this|thread_local|throw|try|typedef|typeid|typename|uint16_t|uint32_t|uint64_t|uint8_t|union|unsigned|using|virtual|void|volatile|wchar_t|while)\b/,t=/\b(?!<keyword>)\w+(?:\s*\.\s*\w+)*\b/.source.replace(/<keyword>/g,(function(){return n.source}));e.languages.cpp=e.languages.extend("c",{"class-name":[{pattern:RegExp(/(\b(?:class|concept|enum|struct|typename)\s+)(?!<keyword>)\w+/.source.replace(/<keyword>/g,(function(){return n.source}))),lookbehind:!0},/\b[A-Z]\w*(?=\s*::\s*\w+\s*\()/,/\b[A-Z_]\w*(?=\s*::\s*~\w+\s*\()/i,/\b\w+(?=\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>\s*::\s*\w+\s*\()/],keyword:n,number:{pattern:/(?:\b0b[01']+|\b0x(?:[\da-f']+(?:\.[\da-f']*)?|\.[\da-f']+)(?:p[+-]?[\d']+)?|(?:\b[\d']+(?:\.[\d']*)?|\B\.[\d']+)(?:e[+-]?[\d']+)?)[ful]{0,4}/i,greedy:!0},operator:/>>=?|<<=?|->|--|\+\+|&&|\|\||[?:~]|<=>|[-+*/%&|^!=<>]=?|\b(?:and|and_eq|bitand|bitor|not|not_eq|or|or_eq|xor|xor_eq)\b/,boolean:/\b(?:false|true)\b/}),e.languages.insertBefore("cpp","string",{module:{pattern:RegExp(/(\b(?:import|module)\s+)/.source+"(?:"+/"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|<[^<>\r\n]*>/.source+"|"+/<mod-name>(?:\s*:\s*<mod-name>)?|:\s*<mod-name>/.source.replace(/<mod-name>/g,(function(){return t}))+")"),lookbehind:!0,greedy:!0,inside:{string:/^[<"][\s\S]+/,operator:/:/,punctuation:/\./}},"raw-string":{pattern:/R"([^()\\ ]{0,16})\([\s\S]*?\)\1"/,alias:"string",greedy:!0}}),e.languages.insertBefore("cpp","keyword",{"generic-function":{pattern:/\b(?!operator\b)[a-z_]\w*\s*<(?:[^<>]|<[^<>]*>)*>(?=\s*\()/i,inside:{function:/^\w+/,generic:{pattern:/<[\s\S]+/,alias:"class-name",inside:e.languages.cpp}}}}),e.languages.insertBefore("cpp","operator",{"double-colon":{pattern:/::/,alias:"punctuation"}}),e.languages.insertBefore("cpp","class-name",{"base-clause":{pattern:/(\b(?:class|struct)\s+\w+\s*:\s*)[^;{}"'\s]+(?:\s+[^;{}"'\s]+)*(?=\s*[;{])/,lookbehind:!0,greedy:!0,inside:e.languages.extend("cpp",{})}}),e.languages.insertBefore("inside","double-colon",{"class-name":/\b[a-z_]\w*\b(?!\s*::)/i},e.languages.cpp["base-clause"])}(P),P.languages.python={comment:{pattern:/(^|[^\\])#.*/,lookbehind:!0,greedy:!0},"string-interpolation":{pattern:/(?:f|fr|rf)(?:("""|''')[\s\S]*?\1|("|')(?:\\.|(?!\2)[^\\\r\n])*\2)/i,greedy:!0,inside:{interpolation:{pattern:/((?:^|[^{])(?:\{\{)*)\{(?!\{)(?:[^{}]|\{(?!\{)(?:[^{}]|\{(?!\{)(?:[^{}])+\})+\})+\}/,lookbehind:!0,inside:{"format-spec":{pattern:/(:)[^:(){}]+(?=\}$)/,lookbehind:!0},"conversion-option":{pattern:/![sra](?=[:}]$)/,alias:"punctuation"},rest:null}},string:/[\s\S]+/}},"triple-quoted-string":{pattern:/(?:[rub]|br|rb)?("""|''')[\s\S]*?\1/i,greedy:!0,alias:"string"},string:{pattern:/(?:[rub]|br|rb)?("|')(?:\\.|(?!\1)[^\\\r\n])*\1/i,greedy:!0},function:{pattern:/((?:^|\s)def[ \t]+)[a-zA-Z_]\w*(?=\s*\()/g,lookbehind:!0},"class-name":{pattern:/(\bclass\s+)\w+/i,lookbehind:!0},decorator:{pattern:/(^[\t ]*)@\w+(?:\.\w+)*/m,lookbehind:!0,alias:["annotation","punctuation"],inside:{punctuation:/\./}},keyword:/\b(?:_(?=\s*:)|and|as|assert|async|await|break|case|class|continue|def|del|elif|else|except|exec|finally|for|from|global|if|import|in|is|lambda|match|nonlocal|not|or|pass|print|raise|return|try|while|with|yield)\b/,builtin:/\b(?:__import__|abs|all|any|apply|ascii|basestring|bin|bool|buffer|bytearray|bytes|callable|chr|classmethod|cmp|coerce|compile|complex|delattr|dict|dir|divmod|enumerate|eval|execfile|file|filter|float|format|frozenset|getattr|globals|hasattr|hash|help|hex|id|input|int|intern|isinstance|issubclass|iter|len|list|locals|long|map|max|memoryview|min|next|object|oct|open|ord|pow|property|range|raw_input|reduce|reload|repr|reversed|round|set|setattr|slice|sorted|staticmethod|str|sum|super|tuple|type|unichr|unicode|vars|xrange|zip)\b/,boolean:/\b(?:False|None|True)\b/,number:/\b0(?:b(?:_?[01])+|o(?:_?[0-7])+|x(?:_?[a-f0-9])+)\b|(?:\b\d+(?:_\d+)*(?:\.(?:\d+(?:_\d+)*)?)?|\B\.\d+(?:_\d+)*)(?:e[+-]?\d+(?:_\d+)*)?j?(?!\w)/i,operator:/[-+%=]=?|!=|:=|\*\*?=?|\/\/?=?|<[<=>]?|>[=>]?|[&|^~]/,punctuation:/[{}[\];(),.:]/},P.languages.python["string-interpolation"].inside.interpolation.inside.rest=P.languages.python,P.languages.py=P.languages.python;((e,n)=>{for(var t in n)f(e,t,{get:n[t],enumerable:!0})})({},{dracula:()=>j,duotoneDark:()=>T,duotoneLight:()=>$,github:()=>O,jettwaveDark:()=>q,jettwaveLight:()=>V,nightOwl:()=>R,nightOwlLight:()=>N,oceanicNext:()=>D,okaidia:()=>I,oneDark:()=>Z,oneLight:()=>W,palenight:()=>M,shadesOfPurple:()=>F,synthwave84:()=>z,ultramin:()=>B,vsDark:()=>U,vsLight:()=>H});var j={plain:{color:"#F8F8F2",backgroundColor:"#282A36"},styles:[{types:["prolog","constant","builtin"],style:{color:"rgb(189, 147, 249)"}},{types:["inserted","function"],style:{color:"rgb(80, 250, 123)"}},{types:["deleted"],style:{color:"rgb(255, 85, 85)"}},{types:["changed"],style:{color:"rgb(255, 184, 108)"}},{types:["punctuation","symbol"],style:{color:"rgb(248, 248, 242)"}},{types:["string","char","tag","selector"],style:{color:"rgb(255, 121, 198)"}},{types:["keyword","variable"],style:{color:"rgb(189, 147, 249)",fontStyle:"italic"}},{types:["comment"],style:{color:"rgb(98, 114, 164)"}},{types:["attr-name"],style:{color:"rgb(241, 250, 140)"}}]},T={plain:{backgroundColor:"#2a2734",color:"#9a86fd"},styles:[{types:["comment","prolog","doctype","cdata","punctuation"],style:{color:"#6c6783"}},{types:["namespace"],style:{opacity:.7}},{types:["tag","operator","number"],style:{color:"#e09142"}},{types:["property","function"],style:{color:"#9a86fd"}},{types:["tag-id","selector","atrule-id"],style:{color:"#eeebff"}},{types:["attr-name"],style:{color:"#c4b9fe"}},{types:["boolean","string","entity","url","attr-value","keyword","control","directive","unit","statement","regex","atrule","placeholder","variable"],style:{color:"#ffcc99"}},{types:["deleted"],style:{textDecorationLine:"line-through"}},{types:["inserted"],style:{textDecorationLine:"underline"}},{types:["italic"],style:{fontStyle:"italic"}},{types:["important","bold"],style:{fontWeight:"bold"}},{types:["important"],style:{color:"#c4b9fe"}}]},$={plain:{backgroundColor:"#faf8f5",color:"#728fcb"},styles:[{types:["comment","prolog","doctype","cdata","punctuation"],style:{color:"#b6ad9a"}},{types:["namespace"],style:{opacity:.7}},{types:["tag","operator","number"],style:{color:"#063289"}},{types:["property","function"],style:{color:"#b29762"}},{types:["tag-id","selector","atrule-id"],style:{color:"#2d2006"}},{types:["attr-name"],style:{color:"#896724"}},{types:["boolean","string","entity","url","attr-value","keyword","control","directive","unit","statement","regex","atrule"],style:{color:"#728fcb"}},{types:["placeholder","variable"],style:{color:"#93abdc"}},{types:["deleted"],style:{textDecorationLine:"line-through"}},{types:["inserted"],style:{textDecorationLine:"underline"}},{types:["italic"],style:{fontStyle:"italic"}},{types:["important","bold"],style:{fontWeight:"bold"}},{types:["important"],style:{color:"#896724"}}]},O={plain:{color:"#393A34",backgroundColor:"#f6f8fa"},styles:[{types:["comment","prolog","doctype","cdata"],style:{color:"#999988",fontStyle:"italic"}},{types:["namespace"],style:{opacity:.7}},{types:["string","attr-value"],style:{color:"#e3116c"}},{types:["punctuation","operator"],style:{color:"#393A34"}},{types:["entity","url","symbol","number","boolean","variable","constant","property","regex","inserted"],style:{color:"#36acaa"}},{types:["atrule","keyword","attr-name","selector"],style:{color:"#00a4db"}},{types:["function","deleted","tag"],style:{color:"#d73a49"}},{types:["function-variable"],style:{color:"#6f42c1"}},{types:["tag","selector","keyword"],style:{color:"#00009f"}}]},R={plain:{color:"#d6deeb",backgroundColor:"#011627"},styles:[{types:["changed"],style:{color:"rgb(162, 191, 252)",fontStyle:"italic"}},{types:["deleted"],style:{color:"rgba(239, 83, 80, 0.56)",fontStyle:"italic"}},{types:["inserted","attr-name"],style:{color:"rgb(173, 219, 103)",fontStyle:"italic"}},{types:["comment"],style:{color:"rgb(99, 119, 119)",fontStyle:"italic"}},{types:["string","url"],style:{color:"rgb(173, 219, 103)"}},{types:["variable"],style:{color:"rgb(214, 222, 235)"}},{types:["number"],style:{color:"rgb(247, 140, 108)"}},{types:["builtin","char","constant","function"],style:{color:"rgb(130, 170, 255)"}},{types:["punctuation"],style:{color:"rgb(199, 146, 234)"}},{types:["selector","doctype"],style:{color:"rgb(199, 146, 234)",fontStyle:"italic"}},{types:["class-name"],style:{color:"rgb(255, 203, 139)"}},{types:["tag","operator","keyword"],style:{color:"rgb(127, 219, 202)"}},{types:["boolean"],style:{color:"rgb(255, 88, 116)"}},{types:["property"],style:{color:"rgb(128, 203, 196)"}},{types:["namespace"],style:{color:"rgb(178, 204, 214)"}}]},N={plain:{color:"#403f53",backgroundColor:"#FBFBFB"},styles:[{types:["changed"],style:{color:"rgb(162, 191, 252)",fontStyle:"italic"}},{types:["deleted"],style:{color:"rgba(239, 83, 80, 0.56)",fontStyle:"italic"}},{types:["inserted","attr-name"],style:{color:"rgb(72, 118, 214)",fontStyle:"italic"}},{types:["comment"],style:{color:"rgb(152, 159, 177)",fontStyle:"italic"}},{types:["string","builtin","char","constant","url"],style:{color:"rgb(72, 118, 214)"}},{types:["variable"],style:{color:"rgb(201, 103, 101)"}},{types:["number"],style:{color:"rgb(170, 9, 130)"}},{types:["punctuation"],style:{color:"rgb(153, 76, 195)"}},{types:["function","selector","doctype"],style:{color:"rgb(153, 76, 195)",fontStyle:"italic"}},{types:["class-name"],style:{color:"rgb(17, 17, 17)"}},{types:["tag"],style:{color:"rgb(153, 76, 195)"}},{types:["operator","property","keyword","namespace"],style:{color:"rgb(12, 150, 155)"}},{types:["boolean"],style:{color:"rgb(188, 84, 84)"}}]},A="#c5a5c5",L="#8dc891",D={plain:{backgroundColor:"#282c34",color:"#ffffff"},styles:[{types:["attr-name"],style:{color:A}},{types:["attr-value"],style:{color:L}},{types:["comment","block-comment","prolog","doctype","cdata","shebang"],style:{color:"#999999"}},{types:["property","number","function-name","constant","symbol","deleted"],style:{color:"#5a9bcf"}},{types:["boolean"],style:{color:"#ff8b50"}},{types:["tag"],style:{color:"#fc929e"}},{types:["string"],style:{color:L}},{types:["punctuation"],style:{color:L}},{types:["selector","char","builtin","inserted"],style:{color:"#D8DEE9"}},{types:["function"],style:{color:"#79b6f2"}},{types:["operator","entity","url","variable"],style:{color:"#d7deea"}},{types:["keyword"],style:{color:A}},{types:["atrule","class-name"],style:{color:"#FAC863"}},{types:["important"],style:{fontWeight:"400"}},{types:["bold"],style:{fontWeight:"bold"}},{types:["italic"],style:{fontStyle:"italic"}},{types:["namespace"],style:{opacity:.7}}]},I={plain:{color:"#f8f8f2",backgroundColor:"#272822"},styles:[{types:["changed"],style:{color:"rgb(162, 191, 252)",fontStyle:"italic"}},{types:["deleted"],style:{color:"#f92672",fontStyle:"italic"}},{types:["inserted"],style:{color:"rgb(173, 219, 103)",fontStyle:"italic"}},{types:["comment"],style:{color:"#8292a2",fontStyle:"italic"}},{types:["string","url"],style:{color:"#a6e22e"}},{types:["variable"],style:{color:"#f8f8f2"}},{types:["number"],style:{color:"#ae81ff"}},{types:["builtin","char","constant","function","class-name"],style:{color:"#e6db74"}},{types:["punctuation"],style:{color:"#f8f8f2"}},{types:["selector","doctype"],style:{color:"#a6e22e",fontStyle:"italic"}},{types:["tag","operator","keyword"],style:{color:"#66d9ef"}},{types:["boolean"],style:{color:"#ae81ff"}},{types:["namespace"],style:{color:"rgb(178, 204, 214)",opacity:.7}},{types:["tag","property"],style:{color:"#f92672"}},{types:["attr-name"],style:{color:"#a6e22e !important"}},{types:["doctype"],style:{color:"#8292a2"}},{types:["rule"],style:{color:"#e6db74"}}]},M={plain:{color:"#bfc7d5",backgroundColor:"#292d3e"},styles:[{types:["comment"],style:{color:"rgb(105, 112, 152)",fontStyle:"italic"}},{types:["string","inserted"],style:{color:"rgb(195, 232, 141)"}},{types:["number"],style:{color:"rgb(247, 140, 108)"}},{types:["builtin","char","constant","function"],style:{color:"rgb(130, 170, 255)"}},{types:["punctuation","selector"],style:{color:"rgb(199, 146, 234)"}},{types:["variable"],style:{color:"rgb(191, 199, 213)"}},{types:["class-name","attr-name"],style:{color:"rgb(255, 203, 107)"}},{types:["tag","deleted"],style:{color:"rgb(255, 85, 114)"}},{types:["operator"],style:{color:"rgb(137, 221, 255)"}},{types:["boolean"],style:{color:"rgb(255, 88, 116)"}},{types:["keyword"],style:{fontStyle:"italic"}},{types:["doctype"],style:{color:"rgb(199, 146, 234)",fontStyle:"italic"}},{types:["namespace"],style:{color:"rgb(178, 204, 214)"}},{types:["url"],style:{color:"rgb(221, 221, 221)"}}]},F={plain:{color:"#9EFEFF",backgroundColor:"#2D2A55"},styles:[{types:["changed"],style:{color:"rgb(255, 238, 128)"}},{types:["deleted"],style:{color:"rgba(239, 83, 80, 0.56)"}},{types:["inserted"],style:{color:"rgb(173, 219, 103)"}},{types:["comment"],style:{color:"rgb(179, 98, 255)",fontStyle:"italic"}},{types:["punctuation"],style:{color:"rgb(255, 255, 255)"}},{types:["constant"],style:{color:"rgb(255, 98, 140)"}},{types:["string","url"],style:{color:"rgb(165, 255, 144)"}},{types:["variable"],style:{color:"rgb(255, 238, 128)"}},{types:["number","boolean"],style:{color:"rgb(255, 98, 140)"}},{types:["attr-name"],style:{color:"rgb(255, 180, 84)"}},{types:["keyword","operator","property","namespace","tag","selector","doctype"],style:{color:"rgb(255, 157, 0)"}},{types:["builtin","char","constant","function","class-name"],style:{color:"rgb(250, 208, 0)"}}]},z={plain:{backgroundColor:"linear-gradient(to bottom, #2a2139 75%, #34294f)",backgroundImage:"#34294f",color:"#f92aad",textShadow:"0 0 2px #100c0f, 0 0 5px #dc078e33, 0 0 10px #fff3"},styles:[{types:["comment","block-comment","prolog","doctype","cdata"],style:{color:"#495495",fontStyle:"italic"}},{types:["punctuation"],style:{color:"#ccc"}},{types:["tag","attr-name","namespace","number","unit","hexcode","deleted"],style:{color:"#e2777a"}},{types:["property","selector"],style:{color:"#72f1b8",textShadow:"0 0 2px #100c0f, 0 0 10px #257c5575, 0 0 35px #21272475"}},{types:["function-name"],style:{color:"#6196cc"}},{types:["boolean","selector-id","function"],style:{color:"#fdfdfd",textShadow:"0 0 2px #001716, 0 0 3px #03edf975, 0 0 5px #03edf975, 0 0 8px #03edf975"}},{types:["class-name","maybe-class-name","builtin"],style:{color:"#fff5f6",textShadow:"0 0 2px #000, 0 0 10px #fc1f2c75, 0 0 5px #fc1f2c75, 0 0 25px #fc1f2c75"}},{types:["constant","symbol"],style:{color:"#f92aad",textShadow:"0 0 2px #100c0f, 0 0 5px #dc078e33, 0 0 10px #fff3"}},{types:["important","atrule","keyword","selector-class"],style:{color:"#f4eee4",textShadow:"0 0 2px #393a33, 0 0 8px #f39f0575, 0 0 2px #f39f0575"}},{types:["string","char","attr-value","regex","variable"],style:{color:"#f87c32"}},{types:["parameter"],style:{fontStyle:"italic"}},{types:["entity","url"],style:{color:"#67cdcc"}},{types:["operator"],style:{color:"ffffffee"}},{types:["important","bold"],style:{fontWeight:"bold"}},{types:["italic"],style:{fontStyle:"italic"}},{types:["entity"],style:{cursor:"help"}},{types:["inserted"],style:{color:"green"}}]},B={plain:{color:"#282a2e",backgroundColor:"#ffffff"},styles:[{types:["comment"],style:{color:"rgb(197, 200, 198)"}},{types:["string","number","builtin","variable"],style:{color:"rgb(150, 152, 150)"}},{types:["class-name","function","tag","attr-name"],style:{color:"rgb(40, 42, 46)"}}]},U={plain:{color:"#9CDCFE",backgroundColor:"#1E1E1E"},styles:[{types:["prolog"],style:{color:"rgb(0, 0, 128)"}},{types:["comment"],style:{color:"rgb(106, 153, 85)"}},{types:["builtin","changed","keyword","interpolation-punctuation"],style:{color:"rgb(86, 156, 214)"}},{types:["number","inserted"],style:{color:"rgb(181, 206, 168)"}},{types:["constant"],style:{color:"rgb(100, 102, 149)"}},{types:["attr-name","variable"],style:{color:"rgb(156, 220, 254)"}},{types:["deleted","string","attr-value","template-punctuation"],style:{color:"rgb(206, 145, 120)"}},{types:["selector"],style:{color:"rgb(215, 186, 125)"}},{types:["tag"],style:{color:"rgb(78, 201, 176)"}},{types:["tag"],languages:["markup"],style:{color:"rgb(86, 156, 214)"}},{types:["punctuation","operator"],style:{color:"rgb(212, 212, 212)"}},{types:["punctuation"],languages:["markup"],style:{color:"#808080"}},{types:["function"],style:{color:"rgb(220, 220, 170)"}},{types:["class-name"],style:{color:"rgb(78, 201, 176)"}},{types:["char"],style:{color:"rgb(209, 105, 105)"}}]},H={plain:{color:"#000000",backgroundColor:"#ffffff"},styles:[{types:["comment"],style:{color:"rgb(0, 128, 0)"}},{types:["builtin"],style:{color:"rgb(0, 112, 193)"}},{types:["number","variable","inserted"],style:{color:"rgb(9, 134, 88)"}},{types:["operator"],style:{color:"rgb(0, 0, 0)"}},{types:["constant","char"],style:{color:"rgb(129, 31, 63)"}},{types:["tag"],style:{color:"rgb(128, 0, 0)"}},{types:["attr-name"],style:{color:"rgb(255, 0, 0)"}},{types:["deleted","string"],style:{color:"rgb(163, 21, 21)"}},{types:["changed","punctuation"],style:{color:"rgb(4, 81, 165)"}},{types:["function","keyword"],style:{color:"rgb(0, 0, 255)"}},{types:["class-name"],style:{color:"rgb(38, 127, 153)"}}]},q={plain:{color:"#f8fafc",backgroundColor:"#011627"},styles:[{types:["prolog"],style:{color:"#000080"}},{types:["comment"],style:{color:"#6A9955"}},{types:["builtin","changed","keyword","interpolation-punctuation"],style:{color:"#569CD6"}},{types:["number","inserted"],style:{color:"#B5CEA8"}},{types:["constant"],style:{color:"#f8fafc"}},{types:["attr-name","variable"],style:{color:"#9CDCFE"}},{types:["deleted","string","attr-value","template-punctuation"],style:{color:"#cbd5e1"}},{types:["selector"],style:{color:"#D7BA7D"}},{types:["tag"],style:{color:"#0ea5e9"}},{types:["tag"],languages:["markup"],style:{color:"#0ea5e9"}},{types:["punctuation","operator"],style:{color:"#D4D4D4"}},{types:["punctuation"],languages:["markup"],style:{color:"#808080"}},{types:["function"],style:{color:"#7dd3fc"}},{types:["class-name"],style:{color:"#0ea5e9"}},{types:["char"],style:{color:"#D16969"}}]},V={plain:{color:"#0f172a",backgroundColor:"#f1f5f9"},styles:[{types:["prolog"],style:{color:"#000080"}},{types:["comment"],style:{color:"#6A9955"}},{types:["builtin","changed","keyword","interpolation-punctuation"],style:{color:"#0c4a6e"}},{types:["number","inserted"],style:{color:"#B5CEA8"}},{types:["constant"],style:{color:"#0f172a"}},{types:["attr-name","variable"],style:{color:"#0c4a6e"}},{types:["deleted","string","attr-value","template-punctuation"],style:{color:"#64748b"}},{types:["selector"],style:{color:"#D7BA7D"}},{types:["tag"],style:{color:"#0ea5e9"}},{types:["tag"],languages:["markup"],style:{color:"#0ea5e9"}},{types:["punctuation","operator"],style:{color:"#475569"}},{types:["punctuation"],languages:["markup"],style:{color:"#808080"}},{types:["function"],style:{color:"#0e7490"}},{types:["class-name"],style:{color:"#0ea5e9"}},{types:["char"],style:{color:"#D16969"}}]},Z={plain:{backgroundColor:"hsl(220, 13%, 18%)",color:"hsl(220, 14%, 71%)",textShadow:"0 1px rgba(0, 0, 0, 0.3)"},styles:[{types:["comment","prolog","cdata"],style:{color:"hsl(220, 10%, 40%)"}},{types:["doctype","punctuation","entity"],style:{color:"hsl(220, 14%, 71%)"}},{types:["attr-name","class-name","maybe-class-name","boolean","constant","number","atrule"],style:{color:"hsl(29, 54%, 61%)"}},{types:["keyword"],style:{color:"hsl(286, 60%, 67%)"}},{types:["property","tag","symbol","deleted","important"],style:{color:"hsl(355, 65%, 65%)"}},{types:["selector","string","char","builtin","inserted","regex","attr-value"],style:{color:"hsl(95, 38%, 62%)"}},{types:["variable","operator","function"],style:{color:"hsl(207, 82%, 66%)"}},{types:["url"],style:{color:"hsl(187, 47%, 55%)"}},{types:["deleted"],style:{textDecorationLine:"line-through"}},{types:["inserted"],style:{textDecorationLine:"underline"}},{types:["italic"],style:{fontStyle:"italic"}},{types:["important","bold"],style:{fontWeight:"bold"}},{types:["important"],style:{color:"hsl(220, 14%, 71%)"}}]},W={plain:{backgroundColor:"hsl(230, 1%, 98%)",color:"hsl(230, 8%, 24%)"},styles:[{types:["comment","prolog","cdata"],style:{color:"hsl(230, 4%, 64%)"}},{types:["doctype","punctuation","entity"],style:{color:"hsl(230, 8%, 24%)"}},{types:["attr-name","class-name","boolean","constant","number","atrule"],style:{color:"hsl(35, 99%, 36%)"}},{types:["keyword"],style:{color:"hsl(301, 63%, 40%)"}},{types:["property","tag","symbol","deleted","important"],style:{color:"hsl(5, 74%, 59%)"}},{types:["selector","string","char","builtin","inserted","regex","attr-value","punctuation"],style:{color:"hsl(119, 34%, 47%)"}},{types:["variable","operator","function"],style:{color:"hsl(221, 87%, 60%)"}},{types:["url"],style:{color:"hsl(198, 99%, 37%)"}},{types:["deleted"],style:{textDecorationLine:"line-through"}},{types:["inserted"],style:{textDecorationLine:"underline"}},{types:["italic"],style:{fontStyle:"italic"}},{types:["important","bold"],style:{fontWeight:"bold"}},{types:["important"],style:{color:"hsl(230, 8%, 24%)"}}]},G=(e,n)=>{const{plain:t}=e,r=e.styles.reduce(((e,t)=>{const{languages:r,style:o}=t;return r&&!r.includes(n)||t.types.forEach((n=>{const t=S(S({},e[n]),o);e[n]=t})),e}),{});return r.root=t,r.plain=E(S({},t),{backgroundColor:void 0}),r},K=/\r\n|\r|\n/,Y=e=>{0===e.length?e.push({types:["plain"],content:"\n",empty:!0}):1===e.length&&""===e[0].content&&(e[0].content="\n",e[0].empty=!0)},Q=(e,n)=>{const t=e.length;return t>0&&e[t-1]===n?e:e.concat(n)},J=e=>{const n=[[]],t=[e],r=[0],o=[e.length];let a=0,i=0,s=[];const l=[s];for(;i>-1;){for(;(a=r[i]++)<o[i];){let e,c=n[i];const d=t[i][a];if("string"==typeof d?(c=i>0?c:["plain"],e=d):(c=Q(c,d.type),d.alias&&(c=Q(c,d.alias)),e=d.content),"string"!=typeof e){i++,n.push(c),t.push(e),r.push(0),o.push(e.length);continue}const u=e.split(K),p=u.length;s.push({types:c,content:u[0]});for(let n=1;n<p;n++)Y(s),l.push(s=[]),s.push({types:c,content:u[n]})}i--,n.pop(),t.pop(),r.pop(),o.pop()}return Y(s),l},X=({children:e,language:n,code:t,theme:r,prism:o})=>{const a=n.toLowerCase(),i=((e,n)=>{const[t,r]=(0,d.useState)(G(n,e)),o=(0,d.useRef)(),a=(0,d.useRef)();return(0,d.useEffect)((()=>{n===o.current&&e===a.current||(o.current=n,a.current=e,r(G(n,e)))}),[e,n]),t})(a,r),s=(e=>(0,d.useCallback)((n=>{var t=n,{className:r,style:o,line:a}=t,i=C(t,["className","style","line"]);const s=E(S({},i),{className:(0,u.Z)("token-line",r)});return"object"==typeof e&&"plain"in e&&(s.style=e.plain),"object"==typeof o&&(s.style=S(S({},s.style||{}),o)),s}),[e]))(i),l=(e=>{const n=(0,d.useCallback)((({types:n,empty:t})=>{if(null!=e)return 1===n.length&&"plain"===n[0]?null!=t?{display:"inline-block"}:void 0:1===n.length&&null!=t?e[n[0]]:Object.assign(null!=t?{display:"inline-block"}:{},...n.map((n=>e[n])))}),[e]);return(0,d.useCallback)((e=>{var t=e,{token:r,className:o,style:a}=t,i=C(t,["token","className","style"]);const s=E(S({},i),{className:(0,u.Z)("token",...r.types,o),children:r.content,style:n(r)});return null!=a&&(s.style=S(S({},s.style||{}),a)),s}),[n])})(i),c=(({prism:e,code:n,grammar:t,language:r})=>{const o=(0,d.useRef)(e);return(0,d.useMemo)((()=>{if(null==t)return J([n]);const e={code:n,grammar:t,language:r,tokens:[]};return o.current.hooks.run("before-tokenize",e),e.tokens=o.current.tokenize(n,t),o.current.hooks.run("after-tokenize",e),J(e.tokens)}),[n,t,r])})({prism:o,language:a,code:t,grammar:o.languages[a]});return e({tokens:c,className:`prism-code language-${a}`,style:null!=i?i.root:{},getLineProps:s,getTokenProps:l})},ee=e=>(0,d.createElement)(X,E(S({},e),{prism:e.prism||P,theme:e.theme||U,code:e.code,language:e.language}))},10362:(e,n,t)=>{"use strict";t.d(n,{Z:()=>a});var r=!0,o="Invariant failed";function a(e,n){if(!e){if(r)throw new Error(o);var t="function"==typeof n?n():n,a=t?"".concat(o,": ").concat(t):o;throw new Error(a)}}},36809:(e,n,t)=>{"use strict";t.r(n),t.d(n,{default:()=>r});const r={title:"ethdebug format",tagline:"Debugging data format for smart contracts",favicon:"img/favicon.ico",url:"https://ethdebug.github.io",baseUrl:"/format/",organizationName:"ethdebug",projectName:"format",onBrokenLinks:"throw",onBrokenMarkdownLinks:"warn",i18n:{defaultLocale:"en",locales:["en"],path:"i18n",localeConfigs:{}},themes:[["docusaurus-json-schema-plugin",{}],"@saucelabs/theme-github-codeblock"],plugins:[null,["./plugins/project-code-plugin.ts",{packages:{"@ethdebug/pointers":{tsConfigFilePath:"/home/runner/work/format/format/packages/pointers/tsconfig.json"}}}],["@docusaurus/plugin-content-docs",{id:"spec",path:"spec",routeBasePath:"spec",sidebarPath:"./sidebars.ts",editUrl:"https://github.com/ethdebug/format/tree/main/packages/web"}]],presets:[["classic",{docs:{sidebarPath:"./sidebars.ts",editUrl:"https://github.com/ethdebug/format/tree/main/packages/web"},theme:{customCss:"./src/css/custom.css"}}]],themeConfig:{navbar:{title:"ethdebug format",logo:{alt:"ethdebug logo",src:"img/logo.svg"},items:[{type:"docSidebar",sidebarId:"docsSidebar",position:"left",label:"Documentation"},{to:"/spec/overview",label:"Specification",position:"left",activeBaseRegex:"/spec/"},{to:"/status",label:"\u26a0\ufe0f INCOMPLETE DRAFT \u26a0\ufe0f",className:"draft-warning",position:"right"},{href:"https://github.com/ethdebug/format",label:"GitHub",position:"right"}],hideOnScroll:!1},footer:{style:"dark",links:[{title:"Docs",items:[{label:"Project overview",to:"/docs/overview"},{label:"Known challenges",to:"/docs/known-challenges"}]},{title:"Spec",items:[{label:"Specification overview",to:"/spec/overview"}]},{title:"Community",items:[{label:"Matrix.chat",href:"https://matrix.to/#/#ethdebug:matrix.org"},{label:"Twitter",href:"https://twitter.com/ethdebug"},{label:"GitHub",href:"https://github.com/ethdebug/format"}]}],copyright:"Copyright \xa9 2024 by ethdebug contributors. Built with Docusaurus."},prism:{theme:{plain:{color:"#393A34",backgroundColor:"#f6f8fa"},styles:[{types:["comment","prolog","doctype","cdata"],style:{color:"#999988",fontStyle:"italic"}},{types:["namespace"],style:{opacity:.7}},{types:["string","attr-value"],style:{color:"#e3116c"}},{types:["punctuation","operator"],style:{color:"#393A34"}},{types:["entity","url","symbol","number","boolean","variable","constant","property","regex","inserted"],style:{color:"#36acaa"}},{types:["atrule","keyword","attr-name","selector"],style:{color:"#00a4db"}},{types:["function","deleted","tag"],style:{color:"#d73a49"}},{types:["function-variable"],style:{color:"#6f42c1"}},{types:["tag","selector","keyword"],style:{color:"#00009f"}}]},darkTheme:{plain:{color:"#F8F8F2",backgroundColor:"#282A36"},styles:[{types:["prolog","constant","builtin"],style:{color:"rgb(189, 147, 249)"}},{types:["inserted","function"],style:{color:"rgb(80, 250, 123)"}},{types:["deleted"],style:{color:"rgb(255, 85, 85)"}},{types:["changed"],style:{color:"rgb(255, 184, 108)"}},{types:["punctuation","symbol"],style:{color:"rgb(248, 248, 242)"}},{types:["string","char","tag","selector"],style:{color:"rgb(255, 121, 198)"}},{types:["keyword","variable"],style:{color:"rgb(189, 147, 249)",fontStyle:"italic"}},{types:["comment"],style:{color:"rgb(98, 114, 164)"}},{types:["attr-name"],style:{color:"rgb(241, 250, 140)"}}]},additionalLanguages:["json"],magicComments:[{className:"theme-code-block-highlighted-line",line:"highlight-next-line",block:{start:"highlight-start",end:"highlight-end"}}]},colorMode:{defaultMode:"light",disableSwitch:!1,respectPrefersColorScheme:!1},docs:{versionPersistence:"localStorage",sidebar:{hideable:!1,autoCollapseCategories:!1}},metadata:[],tableOfContents:{minHeadingLevel:2,maxHeadingLevel:3}},baseUrlIssueBanner:!0,future:{experimental_storage:{type:"localStorage",namespace:!1},experimental_router:"browser"},onBrokenAnchors:"warn",onDuplicateRoutes:"warn",staticDirectories:["static"],customFields:{},scripts:[],headTags:[],stylesheets:[],clientModules:[],titleDelimiter:"|",noIndex:!1,markdown:{format:"mdx",mermaid:!1,mdx1Compat:{comments:!0,admonitions:!0,headingIds:!0},anchors:{maintainCase:!1}}}},57529:e=>{"use strict";e.exports={}},16887:e=>{"use strict";e.exports=JSON.parse('{"/format/home/-8f8":{"__comp":"c3e4b2a1","__context":{"plugin":"a7456010"},"config":"5e9f5e1a"},"/format/status-d6d":{"__comp":"1f391b9e","__context":{"plugin":"a7456010"},"content":"e856c143"},"/format/docs-2fd":{"__comp":"5e95c892","__context":{"plugin":"aba21aa0"}},"/format/docs-2d0":{"__comp":"a7bd4aaa","__props":"d3f864f6"},"/format/docs-764":{"__comp":"a94703ab"},"/format/docs/category/dereferencing-pointers-b93":{"__comp":"14eb3368","__props":"5b89c65e"},"/format/docs/category/implementation-guides-1ee":{"__comp":"14eb3368","__props":"6cd3635f"},"/format/docs/category/prototype-sketches-809":{"__comp":"14eb3368","__props":"2fe7c366"},"/format/docs/implementation-guides/pointers/dereference-logic/-cb8":{"__comp":"17896441","content":"19c068a5"},"/format/docs/implementation-guides/pointers/dereference-logic/generating-regions-8e9":{"__comp":"17896441","content":"d37c0134"},"/format/docs/implementation-guides/pointers/dereference-logic/making-regions-concrete-1e7":{"__comp":"17896441","content":"8aa384a9"},"/format/docs/implementation-guides/pointers/dereference-logic/summary-ba3":{"__comp":"17896441","content":"b887ed67"},"/format/docs/implementation-guides/pointers/evaluating-expressions-ed9":{"__comp":"17896441","content":"ce1d6aaa"},"/format/docs/implementation-guides/pointers/overview-87e":{"__comp":"17896441","content":"a666bd68"},"/format/docs/implementation-guides/pointers/reading-from-regions-109":{"__comp":"17896441","content":"a6fccf34"},"/format/docs/implementation-guides/pointers/types/-e07":{"__comp":"17896441","content":"cb7b1c3b"},"/format/docs/implementation-guides/pointers/types/cursors-6a3":{"__comp":"17896441","content":"6dcd11e3"},"/format/docs/implementation-guides/pointers/types/data-and-machines-34a":{"__comp":"17896441","content":"dc0c7504"},"/format/docs/implementation-guides/pointers/types/pointer-types-fee":{"__comp":"17896441","content":"3bef66bf"},"/format/docs/known-challenges-5aa":{"__comp":"17896441","content":"9e15fc25"},"/format/docs/overview-ff5":{"__comp":"17896441","content":"18891827"},"/format/docs/sketches/layout-926":{"__comp":"17896441","content":"2d5baa33"},"/format/docs/sketches/prototype-9b3":{"__comp":"17896441","content":"0098a75a"},"/format/spec-eb4":{"__comp":"5e95c892","__context":{"plugin":"dfd51a51"}},"/format/spec-e98":{"__comp":"a7bd4aaa","__props":"65b9696e"},"/format/spec-f53":{"__comp":"a94703ab"},"/format/spec/category/collections-d7d":{"__comp":"14eb3368","__props":"28755575"},"/format/spec/category/complex-types-8c2":{"__comp":"14eb3368","__props":"2d54960a"},"/format/spec/category/elementary-types-ed4":{"__comp":"14eb3368","__props":"6656ad10"},"/format/spec/category/ethdebugformatmaterials-649":{"__comp":"14eb3368","__props":"721263eb"},"/format/spec/category/ethdebugformatpointer-583":{"__comp":"14eb3368","__props":"7b38f772"},"/format/spec/category/ethdebugformattype-d15":{"__comp":"14eb3368","__props":"79160c11"},"/format/spec/category/regions-a79":{"__comp":"14eb3368","__props":"dd631578"},"/format/spec/materials/compilation-d27":{"__comp":"17896441","content":"c26eb700"},"/format/spec/materials/id-672":{"__comp":"17896441","content":"73e8c510"},"/format/spec/materials/overview-1ec":{"__comp":"17896441","content":"ad7f7207"},"/format/spec/materials/source-73e":{"__comp":"17896441","content":"5c90228f"},"/format/spec/materials/source-range-1d1":{"__comp":"17896441","content":"c73c1d3a"},"/format/spec/overview-d74":{"__comp":"17896441","content":"d6a63adc"},"/format/spec/pointer/-ac2":{"__comp":"17896441","content":"0c6b334b"},"/format/spec/pointer/collection/-204":{"__comp":"17896441","content":"324b62c5"},"/format/spec/pointer/collection/conditional-f89":{"__comp":"17896441","content":"9c6e1aee"},"/format/spec/pointer/collection/group-60f":{"__comp":"17896441","content":"e8328cbe"},"/format/spec/pointer/collection/list-e12":{"__comp":"17896441","content":"6397ae1b"},"/format/spec/pointer/collection/scope-6af":{"__comp":"17896441","content":"6bb5505e"},"/format/spec/pointer/concepts-4f7":{"__comp":"17896441","content":"06923f2b"},"/format/spec/pointer/expression-38a":{"__comp":"17896441","content":"ee3e0fff"},"/format/spec/pointer/overview-20e":{"__comp":"17896441","content":"60b8d43b"},"/format/spec/pointer/region/-a75":{"__comp":"17896441","content":"57805cd5"},"/format/spec/pointer/region/base-2ed":{"__comp":"17896441","content":"41f6ea55"},"/format/spec/pointer/region/location/calldata-352":{"__comp":"17896441","content":"34a1fa87"},"/format/spec/pointer/region/location/code-bde":{"__comp":"17896441","content":"5fb36c82"},"/format/spec/pointer/region/location/memory-d08":{"__comp":"17896441","content":"b702b8d4"},"/format/spec/pointer/region/location/returndata-424":{"__comp":"17896441","content":"ccf56d1d"},"/format/spec/pointer/region/location/stack-08f":{"__comp":"17896441","content":"4ffa8edd"},"/format/spec/pointer/region/location/storage-a40":{"__comp":"17896441","content":"06f6442f"},"/format/spec/pointer/region/location/transient-3e8":{"__comp":"17896441","content":"7168108a"},"/format/spec/pointer/region/scheme/segment-acf":{"__comp":"17896441","content":"47f40ad3"},"/format/spec/pointer/region/scheme/slice-481":{"__comp":"17896441","content":"55366030"},"/format/spec/type/-ff8":{"__comp":"17896441","content":"6e8ff3aa"},"/format/spec/type/base-663":{"__comp":"17896441","content":"1917520d"},"/format/spec/type/complex/alias-4d3":{"__comp":"17896441","content":"26adb6ed"},"/format/spec/type/complex/array-3bd":{"__comp":"17896441","content":"39033cdf"},"/format/spec/type/complex/function-51d":{"__comp":"17896441","content":"288a3aad"},"/format/spec/type/complex/mapping-23e":{"__comp":"17896441","content":"b27771bd"},"/format/spec/type/complex/struct-75b":{"__comp":"17896441","content":"9ac2b418"},"/format/spec/type/complex/tuple-c0b":{"__comp":"17896441","content":"1154c93e"},"/format/spec/type/concepts-e7a":{"__comp":"17896441","content":"8e037750"},"/format/spec/type/elementary/address-5cc":{"__comp":"17896441","content":"26210d4e"},"/format/spec/type/elementary/bool-fc0":{"__comp":"17896441","content":"f210e6d3"},"/format/spec/type/elementary/bytes-2b6":{"__comp":"17896441","content":"0d3f9d17"},"/format/spec/type/elementary/contract-571":{"__comp":"17896441","content":"be5c8d03"},"/format/spec/type/elementary/enum-cdd":{"__comp":"17896441","content":"aeecf7cf"},"/format/spec/type/elementary/fixed-3d7":{"__comp":"17896441","content":"87bcd65e"},"/format/spec/type/elementary/int-09e":{"__comp":"17896441","content":"74f0bff4"},"/format/spec/type/elementary/string-c22":{"__comp":"17896441","content":"50fa7aa7"},"/format/spec/type/elementary/ufixed-c61":{"__comp":"17896441","content":"f2745fbe"},"/format/spec/type/elementary/uint-6ea":{"__comp":"17896441","content":"c47862a6"},"/format/spec/type/overview-101":{"__comp":"17896441","content":"5fa83de1"},"/format/-610":{"__comp":"1df93b7f","__context":{"plugin":"a7456010"},"config":"5e9f5e1a"}}')}},e=>{e.O(0,[532],(()=>{return n=2062,e(e.s=n);var n}));e.O()}]); \ No newline at end of file diff --git a/assets/js/main.c69e8cd3.js.LICENSE.txt b/assets/js/main.b2688c19.js.LICENSE.txt similarity index 100% rename from assets/js/main.c69e8cd3.js.LICENSE.txt rename to assets/js/main.b2688c19.js.LICENSE.txt diff --git a/assets/js/main.c69e8cd3.js b/assets/js/main.c69e8cd3.js deleted file mode 100644 index e1c32ade..00000000 --- a/assets/js/main.c69e8cd3.js +++ /dev/null @@ -1,2 +0,0 @@ -/*! For license information please see main.c69e8cd3.js.LICENSE.txt */ -(self.webpackChunk_ethdebug_format_web=self.webpackChunk_ethdebug_format_web||[]).push([[179],{60108:(e,n,t)=>{"use strict";t.d(n,{_:()=>a,t:()=>i});var r=t(2784),o=t(52322);const a=r.createContext(!1);function i(e){let{children:n}=e;const[t,i]=(0,r.useState)(!1);return(0,r.useEffect)((()=>{i(!0)}),[]),(0,o.jsx)(a.Provider,{value:t,children:n})}},2062:(e,n,t)=>{"use strict";var r=t(2784),o=t(17029),a=t(72175),i=t(47933),s=t(36809),l=t(31263);const c=[t(55749),t(86120),t(80401),t(1964)];var d=t(19895),u=t(7267),p=t(9702),f=t(52322);function m(e){let{children:n}=e;return(0,f.jsx)(f.Fragment,{children:n})}var y=t(69854),h=t(37614),g=t(90077),b=t(97683),v=t(50328),x=t(55552),w=t(9499),k=t(4925),S=t(60958),E=t(54390);function C(){const{i18n:{currentLocale:e,defaultLocale:n,localeConfigs:t}}=(0,h.Z)(),r=(0,x.l)(),o=t[e].htmlLang,a=e=>e.replace("-","_");return(0,f.jsxs)(y.Z,{children:[Object.entries(t).map((e=>{let[n,{htmlLang:t}]=e;return(0,f.jsx)("link",{rel:"alternate",href:r.createUrl({locale:n,fullyQualified:!0}),hrefLang:t},n)})),(0,f.jsx)("link",{rel:"alternate",href:r.createUrl({locale:n,fullyQualified:!0}),hrefLang:"x-default"}),(0,f.jsx)("meta",{property:"og:locale",content:a(o)}),Object.values(t).filter((e=>o!==e.htmlLang)).map((e=>(0,f.jsx)("meta",{property:"og:locale:alternate",content:a(e.htmlLang)},`meta-og-${e.htmlLang}`)))]})}function _(e){let{permalink:n}=e;const{siteConfig:{url:t}}=(0,h.Z)(),r=function(){const{siteConfig:{url:e,baseUrl:n,trailingSlash:t}}=(0,h.Z)(),{pathname:r}=(0,u.TH)();return e+(0,S.applyTrailingSlash)((0,g.ZP)(r),{trailingSlash:t,baseUrl:n})}(),o=n?`${t}${n}`:r;return(0,f.jsxs)(y.Z,{children:[(0,f.jsx)("meta",{property:"og:url",content:o}),(0,f.jsx)("link",{rel:"canonical",href:o})]})}function P(){const{i18n:{currentLocale:e}}=(0,h.Z)(),{metadata:n,image:t}=(0,b.L)();return(0,f.jsxs)(f.Fragment,{children:[(0,f.jsxs)(y.Z,{children:[(0,f.jsx)("meta",{name:"twitter:card",content:"summary_large_image"}),(0,f.jsx)("body",{className:w.h})]}),t&&(0,f.jsx)(v.d,{image:t}),(0,f.jsx)(_,{}),(0,f.jsx)(C,{}),(0,f.jsx)(E.Z,{tag:k.HX,locale:e}),(0,f.jsx)(y.Z,{children:n.map(((e,n)=>(0,f.jsx)("meta",{...e},n)))})]})}const j=new Map;var T=t(60108),O=t(16288),$=t(70164);function R(e){for(var n=arguments.length,t=new Array(n>1?n-1:0),r=1;r<n;r++)t[r-1]=arguments[r];const o=c.map((n=>{const r=n.default?.[e]??n[e];return r?.(...t)}));return()=>o.forEach((e=>e?.()))}const N=function(e){let{children:n,location:t,previousLocation:r}=e;return(0,$.Z)((()=>{r!==t&&(!function(e){let{location:n,previousLocation:t}=e;if(!t)return;const r=n.pathname===t.pathname,o=n.hash===t.hash,a=n.search===t.search;if(r&&o&&!a)return;const{hash:i}=n;if(i){const e=decodeURIComponent(i.substring(1)),n=document.getElementById(e);n?.scrollIntoView()}else window.scrollTo(0,0)}({location:t,previousLocation:r}),R("onRouteDidUpdate",{previousLocation:r,location:t}))}),[r,t]),n};function A(e){const n=Array.from(new Set([e,decodeURI(e)])).map((e=>(0,p.f)(d.Z,e))).flat();return Promise.all(n.map((e=>e.route.component.preload?.())))}class L extends r.Component{previousLocation;routeUpdateCleanupCb;constructor(e){super(e),this.previousLocation=null,this.routeUpdateCleanupCb=l.Z.canUseDOM?R("onRouteUpdate",{previousLocation:null,location:this.props.location}):()=>{},this.state={nextRouteHasLoaded:!0}}shouldComponentUpdate(e,n){if(e.location===this.props.location)return n.nextRouteHasLoaded;const t=e.location;return this.previousLocation=this.props.location,this.setState({nextRouteHasLoaded:!1}),this.routeUpdateCleanupCb=R("onRouteUpdate",{previousLocation:this.previousLocation,location:t}),A(t.pathname).then((()=>{this.routeUpdateCleanupCb(),this.setState({nextRouteHasLoaded:!0})})).catch((e=>{console.warn(e),window.location.reload()})),!1}render(){const{children:e,location:n}=this.props;return(0,f.jsx)(N,{previousLocation:this.previousLocation,location:n,children:(0,f.jsx)(u.AW,{location:n,render:()=>e})})}}const D=L,I="__docusaurus-base-url-issue-banner-container",M="__docusaurus-base-url-issue-banner",F="__docusaurus-base-url-issue-banner-suggestion-container";function z(e){return`\ndocument.addEventListener('DOMContentLoaded', function maybeInsertBanner() {\n var shouldInsert = typeof window['docusaurus'] === 'undefined';\n shouldInsert && insertBanner();\n});\n\nfunction insertBanner() {\n var bannerContainer = document.createElement('div');\n bannerContainer.id = '${I}';\n var bannerHtml = ${JSON.stringify(function(e){return`\n<div id="${M}" style="border: thick solid red; background-color: rgb(255, 230, 179); margin: 20px; padding: 20px; font-size: 20px;">\n <p style="font-weight: bold; font-size: 30px;">Your Docusaurus site did not load properly.</p>\n <p>A very common reason is a wrong site <a href="https://docusaurus.io/docs/docusaurus.config.js/#baseUrl" style="font-weight: bold;">baseUrl configuration</a>.</p>\n <p>Current configured baseUrl = <span style="font-weight: bold; color: red;">${e}</span> ${"/"===e?" (default value)":""}</p>\n <p>We suggest trying baseUrl = <span id="${F}" style="font-weight: bold; color: green;"></span></p>\n</div>\n`}(e)).replace(/</g,"\\<")};\n bannerContainer.innerHTML = bannerHtml;\n document.body.prepend(bannerContainer);\n var suggestionContainer = document.getElementById('${F}');\n var actualHomePagePath = window.location.pathname;\n var suggestedBaseUrl = actualHomePagePath.substr(-1) === '/'\n ? actualHomePagePath\n : actualHomePagePath + '/';\n suggestionContainer.innerHTML = suggestedBaseUrl;\n}\n`}function B(){const{siteConfig:{baseUrl:e}}=(0,h.Z)();return(0,f.jsx)(f.Fragment,{children:!l.Z.canUseDOM&&(0,f.jsx)(y.Z,{children:(0,f.jsx)("script",{children:z(e)})})})}function U(){const{siteConfig:{baseUrl:e,baseUrlIssueBanner:n}}=(0,h.Z)(),{pathname:t}=(0,u.TH)();return n&&t===e?(0,f.jsx)(B,{}):null}function H(){const{siteConfig:{favicon:e,title:n,noIndex:t},i18n:{currentLocale:r,localeConfigs:o}}=(0,h.Z)(),a=(0,g.ZP)(e),{htmlLang:i,direction:s}=o[r];return(0,f.jsxs)(y.Z,{children:[(0,f.jsx)("html",{lang:i,dir:s}),(0,f.jsx)("title",{children:n}),(0,f.jsx)("meta",{property:"og:title",content:n}),(0,f.jsx)("meta",{name:"viewport",content:"width=device-width, initial-scale=1.0"}),t&&(0,f.jsx)("meta",{name:"robots",content:"noindex, nofollow"}),e&&(0,f.jsx)("link",{rel:"icon",href:a})]})}var q=t(63951),V=t(89741);function Z(){const e=(0,V.Z)();return(0,f.jsx)(y.Z,{children:(0,f.jsx)("html",{"data-has-hydrated":e})})}const W=(0,p.H)(d.Z);function G(){const e=function(e){if(j.has(e.pathname))return{...e,pathname:j.get(e.pathname)};if((0,p.f)(d.Z,e.pathname).some((e=>{let{route:n}=e;return!0===n.exact})))return j.set(e.pathname,e.pathname),e;const n=e.pathname.trim().replace(/(?:\/index)?\.html$/,"")||"/";return j.set(e.pathname,n),{...e,pathname:n}}((0,u.TH)());return(0,f.jsx)(D,{location:e,children:W})}function K(){return(0,f.jsx)(q.Z,{children:(0,f.jsx)(O.M,{children:(0,f.jsxs)(T.t,{children:[(0,f.jsxs)(m,{children:[(0,f.jsx)(H,{}),(0,f.jsx)(P,{}),(0,f.jsx)(U,{}),(0,f.jsx)(G,{})]}),(0,f.jsx)(Z,{})]})})})}var Y=t(16887);const Q=function(e){try{return document.createElement("link").relList.supports(e)}catch{return!1}}("prefetch")?function(e){return new Promise(((n,t)=>{if("undefined"==typeof document)return void t();const r=document.createElement("link");r.setAttribute("rel","prefetch"),r.setAttribute("href",e),r.onload=()=>n(),r.onerror=()=>t();const o=document.getElementsByTagName("head")[0]??document.getElementsByName("script")[0]?.parentNode;o?.appendChild(r)}))}:function(e){return new Promise(((n,t)=>{const r=new XMLHttpRequest;r.open("GET",e,!0),r.withCredentials=!0,r.onload=()=>{200===r.status?n():t()},r.send(null)}))};var J=t(20805);const X=new Set,ee=new Set,ne=()=>navigator.connection?.effectiveType.includes("2g")||navigator.connection?.saveData,te={prefetch:e=>{if(!(e=>!ne()&&!ee.has(e)&&!X.has(e))(e))return!1;X.add(e);const n=(0,p.f)(d.Z,e).flatMap((e=>{return n=e.route.path,Object.entries(Y).filter((e=>{let[t]=e;return t.replace(/-[^-]+$/,"")===n})).flatMap((e=>{let[,n]=e;return Object.values((0,J.Z)(n))}));var n}));return Promise.all(n.map((e=>{const n=t.gca(e);return n&&!n.includes("undefined")?Q(n).catch((()=>{})):Promise.resolve()})))},preload:e=>!!(e=>!ne()&&!ee.has(e))(e)&&(ee.add(e),A(e))},re=Object.freeze(te);function oe(e){let{children:n}=e;return"hash"===s.default.future.experimental_router?(0,f.jsx)(i.UT,{children:n}):(0,f.jsx)(i.VK,{children:n})}const ae=Boolean(!0);if(l.Z.canUseDOM){window.docusaurus=re;const e=document.getElementById("__docusaurus"),n=(0,f.jsx)(a.B6,{children:(0,f.jsx)(oe,{children:(0,f.jsx)(K,{})})}),t=(e,n)=>{console.error("Docusaurus React Root onRecoverableError:",e,n)},i=()=>{if(window.docusaurusRoot)window.docusaurusRoot.render(n);else if(ae)window.docusaurusRoot=o.hydrateRoot(e,n,{onRecoverableError:t});else{const r=o.createRoot(e,{onRecoverableError:t});r.render(n),window.docusaurusRoot=r}};A(window.location.pathname).then((()=>{(0,r.startTransition)(i)}))}},16288:(e,n,t)=>{"use strict";t.d(n,{_:()=>u,M:()=>p});var r=t(2784),o=t(36809);const a=JSON.parse('{"docusaurus-plugin-content-docs":{"default":{"path":"/format/docs","versions":[{"name":"current","label":"Next","isLast":true,"path":"/format/docs","mainDocId":"overview","docs":[{"id":"implementation-guides/pointers/dereference-logic/dereference-logic","path":"/format/docs/implementation-guides/pointers/dereference-logic/","sidebar":"docsSidebar"},{"id":"implementation-guides/pointers/dereference-logic/generating-regions","path":"/format/docs/implementation-guides/pointers/dereference-logic/generating-regions","sidebar":"docsSidebar"},{"id":"implementation-guides/pointers/dereference-logic/making-regions-concrete","path":"/format/docs/implementation-guides/pointers/dereference-logic/making-regions-concrete","sidebar":"docsSidebar"},{"id":"implementation-guides/pointers/dereference-logic/summary","path":"/format/docs/implementation-guides/pointers/dereference-logic/summary","sidebar":"docsSidebar"},{"id":"implementation-guides/pointers/evaluating-expressions","path":"/format/docs/implementation-guides/pointers/evaluating-expressions","sidebar":"docsSidebar"},{"id":"implementation-guides/pointers/overview","path":"/format/docs/implementation-guides/pointers/overview","sidebar":"docsSidebar"},{"id":"implementation-guides/pointers/reading-from-regions","path":"/format/docs/implementation-guides/pointers/reading-from-regions","sidebar":"docsSidebar"},{"id":"implementation-guides/pointers/types/cursors","path":"/format/docs/implementation-guides/pointers/types/cursors","sidebar":"docsSidebar"},{"id":"implementation-guides/pointers/types/data-and-machines","path":"/format/docs/implementation-guides/pointers/types/data-and-machines","sidebar":"docsSidebar"},{"id":"implementation-guides/pointers/types/pointer-types","path":"/format/docs/implementation-guides/pointers/types/pointer-types","sidebar":"docsSidebar"},{"id":"implementation-guides/pointers/types/types","path":"/format/docs/implementation-guides/pointers/types/","sidebar":"docsSidebar"},{"id":"known-challenges","path":"/format/docs/known-challenges","sidebar":"docsSidebar"},{"id":"overview","path":"/format/docs/overview","sidebar":"docsSidebar"},{"id":"sketches/layout","path":"/format/docs/sketches/layout","sidebar":"docsSidebar"},{"id":"sketches/prototype","path":"/format/docs/sketches/prototype","sidebar":"docsSidebar"},{"id":"/category/prototype-sketches","path":"/format/docs/category/prototype-sketches","sidebar":"docsSidebar"},{"id":"/category/implementation-guides","path":"/format/docs/category/implementation-guides","sidebar":"docsSidebar"},{"id":"/category/dereferencing-pointers","path":"/format/docs/category/dereferencing-pointers","sidebar":"docsSidebar"}],"draftIds":[],"sidebars":{"docsSidebar":{"link":{"path":"/format/docs/overview","label":"overview"}}}}],"breadcrumbs":true},"spec":{"path":"/format/spec","versions":[{"name":"current","label":"Next","isLast":true,"path":"/format/spec","mainDocId":"overview","docs":[{"id":"materials/compilation","path":"/format/spec/materials/compilation","sidebar":"docsSidebar"},{"id":"materials/id","path":"/format/spec/materials/id","sidebar":"docsSidebar"},{"id":"materials/overview","path":"/format/spec/materials/overview","sidebar":"docsSidebar"},{"id":"materials/source","path":"/format/spec/materials/source","sidebar":"docsSidebar"},{"id":"materials/source-range","path":"/format/spec/materials/source-range","sidebar":"docsSidebar"},{"id":"overview","path":"/format/spec/overview","sidebar":"docsSidebar"},{"id":"pointer/collection/collection","path":"/format/spec/pointer/collection/","sidebar":"docsSidebar"},{"id":"pointer/collection/conditional","path":"/format/spec/pointer/collection/conditional","sidebar":"docsSidebar"},{"id":"pointer/collection/group","path":"/format/spec/pointer/collection/group","sidebar":"docsSidebar"},{"id":"pointer/collection/list","path":"/format/spec/pointer/collection/list","sidebar":"docsSidebar"},{"id":"pointer/collection/scope","path":"/format/spec/pointer/collection/scope","sidebar":"docsSidebar"},{"id":"pointer/concepts","path":"/format/spec/pointer/concepts","sidebar":"docsSidebar"},{"id":"pointer/expression","path":"/format/spec/pointer/expression","sidebar":"docsSidebar"},{"id":"pointer/overview","path":"/format/spec/pointer/overview","sidebar":"docsSidebar"},{"id":"pointer/pointer","path":"/format/spec/pointer/","sidebar":"docsSidebar"},{"id":"pointer/region/base","path":"/format/spec/pointer/region/base","sidebar":"docsSidebar"},{"id":"pointer/region/location/calldata","path":"/format/spec/pointer/region/location/calldata","sidebar":"docsSidebar"},{"id":"pointer/region/location/code","path":"/format/spec/pointer/region/location/code","sidebar":"docsSidebar"},{"id":"pointer/region/location/memory","path":"/format/spec/pointer/region/location/memory","sidebar":"docsSidebar"},{"id":"pointer/region/location/returndata","path":"/format/spec/pointer/region/location/returndata","sidebar":"docsSidebar"},{"id":"pointer/region/location/stack","path":"/format/spec/pointer/region/location/stack","sidebar":"docsSidebar"},{"id":"pointer/region/location/storage","path":"/format/spec/pointer/region/location/storage","sidebar":"docsSidebar"},{"id":"pointer/region/location/transient","path":"/format/spec/pointer/region/location/transient","sidebar":"docsSidebar"},{"id":"pointer/region/region","path":"/format/spec/pointer/region/","sidebar":"docsSidebar"},{"id":"pointer/region/scheme/segment","path":"/format/spec/pointer/region/scheme/segment","sidebar":"docsSidebar"},{"id":"pointer/region/scheme/slice","path":"/format/spec/pointer/region/scheme/slice","sidebar":"docsSidebar"},{"id":"type/base","path":"/format/spec/type/base","sidebar":"docsSidebar"},{"id":"type/complex/alias","path":"/format/spec/type/complex/alias","sidebar":"docsSidebar"},{"id":"type/complex/array","path":"/format/spec/type/complex/array","sidebar":"docsSidebar"},{"id":"type/complex/function","path":"/format/spec/type/complex/function","sidebar":"docsSidebar"},{"id":"type/complex/mapping","path":"/format/spec/type/complex/mapping","sidebar":"docsSidebar"},{"id":"type/complex/struct","path":"/format/spec/type/complex/struct","sidebar":"docsSidebar"},{"id":"type/complex/tuple","path":"/format/spec/type/complex/tuple","sidebar":"docsSidebar"},{"id":"type/concepts","path":"/format/spec/type/concepts","sidebar":"docsSidebar"},{"id":"type/elementary/address","path":"/format/spec/type/elementary/address","sidebar":"docsSidebar"},{"id":"type/elementary/bool","path":"/format/spec/type/elementary/bool","sidebar":"docsSidebar"},{"id":"type/elementary/bytes","path":"/format/spec/type/elementary/bytes","sidebar":"docsSidebar"},{"id":"type/elementary/contract","path":"/format/spec/type/elementary/contract","sidebar":"docsSidebar"},{"id":"type/elementary/enum","path":"/format/spec/type/elementary/enum","sidebar":"docsSidebar"},{"id":"type/elementary/fixed","path":"/format/spec/type/elementary/fixed","sidebar":"docsSidebar"},{"id":"type/elementary/int","path":"/format/spec/type/elementary/int","sidebar":"docsSidebar"},{"id":"type/elementary/string","path":"/format/spec/type/elementary/string","sidebar":"docsSidebar"},{"id":"type/elementary/ufixed","path":"/format/spec/type/elementary/ufixed","sidebar":"docsSidebar"},{"id":"type/elementary/uint","path":"/format/spec/type/elementary/uint","sidebar":"docsSidebar"},{"id":"type/overview","path":"/format/spec/type/overview","sidebar":"docsSidebar"},{"id":"type/type","path":"/format/spec/type/","sidebar":"docsSidebar"},{"id":"/category/ethdebugformattype","path":"/format/spec/category/ethdebugformattype","sidebar":"docsSidebar"},{"id":"/category/elementary-types","path":"/format/spec/category/elementary-types","sidebar":"docsSidebar"},{"id":"/category/complex-types","path":"/format/spec/category/complex-types","sidebar":"docsSidebar"},{"id":"/category/ethdebugformatpointer","path":"/format/spec/category/ethdebugformatpointer","sidebar":"docsSidebar"},{"id":"/category/regions","path":"/format/spec/category/regions","sidebar":"docsSidebar"},{"id":"/category/collections","path":"/format/spec/category/collections","sidebar":"docsSidebar"},{"id":"/category/ethdebugformatmaterials","path":"/format/spec/category/ethdebugformatmaterials","sidebar":"docsSidebar"}],"draftIds":[],"sidebars":{"docsSidebar":{"link":{"path":"/format/spec/overview","label":"overview"}}}}],"breadcrumbs":true}},"project-code-plugin":{"default":{"packages":{"@ethdebug/pointers":{"sourceFiles":[{"filePath":"typings.d.ts","text":"declare module \\"@jest/expect\\" {\\n interface Matchers<R> {\\n toSatisfy(received: any): R;\\n toSatisfyAll(values: readonly any[]): R;\\n }\\n}\\n\\ndeclare module \\"solc\\" {\\n function compile(input: string): string;\\n};\\n"},{"filePath":"../format/dist/yamls.d.ts","text":"export type SchemaYamlsById = {\\n [id: string]: string;\\n};\\nexport declare const schemaYamls: SchemaYamlsById;\\ndeclare const rawSchemas: {\\n readonly \\"schema:ethdebug/format/materials/compilation\\": {\\n readonly $schema: \\"https://json-schema.org/draft/2020-12/schema\\";\\n readonly $id: \\"schema:ethdebug/format/materials/compilation\\";\\n readonly title: \\"ethdebug/format/materials/compilation\\";\\n readonly description: \\"An object representing a single invocation of a compiler.\\\\n\\";\\n readonly type: \\"object\\";\\n readonly properties: {\\n readonly id: {\\n readonly description: \\"Compilation ID. Optional, but **should** be specified.\\\\n\\\\nThis value **should** be globally-unique and generated only from the\\\\ncompiler inputs (settings, sources, etc.); the same compiler inputs/\\\\nsettings **should** produce the same identifier.\\\\n\\";\\n readonly $ref: \\"schema:ethdebug/format/materials/id\\";\\n };\\n readonly compiler: {\\n readonly type: \\"object\\";\\n readonly title: \\"Compiler name and version\\";\\n readonly properties: {\\n readonly name: {\\n readonly type: \\"string\\";\\n readonly description: \\"Compiler name\\";\\n };\\n readonly version: {\\n readonly type: \\"string\\";\\n readonly description: \\"Compiler version.\\\\n\\\\nThis value **should** be specified using the most detailed version\\\\nrepresentation available, i.e., including source control hash and\\\\ncompiler build information whenever possible.\\\\n\\";\\n };\\n };\\n readonly required: readonly [\\"name\\", \\"version\\"];\\n readonly examples: readonly [{\\n readonly name: \\"lllc\\";\\n readonly version: \\"0.4.12-develop.2017.6.27+commit.b83f77e0.Linux.g++\\";\\n }];\\n };\\n readonly settings: {\\n readonly description: \\"Compiler settings in a format native to the compiler.\\\\n\\\\nFor compilers whose settings includes full source representations, this\\\\nfield **should** be specified in such a way that avoids large data\\\\nredundancies (e.g. if compiler settings contain full source\\\\nrepresentations, then this field would significantly duplicate the\\\\ninformation represented by the `sources` field in this object).\\\\n\\\\nIn situations where settings information duplicates information\\\\nrepresented elsewhere in **ethdebug/format**, compilers **may** adopt\\\\nany reasonable strategy, e.g.:\\\\n - omit duplications partially (leaving the rest of the settings\\\\n intact)\\\\n - omit this field entirely\\\\n - specify this field as a hash of the full settings\\\\n representation (with the expectation that users of this format will\\\\n have access to the full representation by some other means)\\\\n\\";\\n readonly allOf: readonly [true];\\n };\\n readonly sources: {\\n readonly type: \\"array\\";\\n readonly items: {\\n readonly $ref: \\"schema:ethdebug/format/materials/source\\";\\n };\\n };\\n };\\n readonly required: readonly [\\"compiler\\", \\"sources\\"];\\n readonly examples: readonly [{\\n readonly compiler: {\\n readonly name: \\"lllc\\";\\n readonly version: \\"0.4.12-develop.2017.6.27+commit.b83f77e0.Linux.g++\\";\\n };\\n readonly sources: readonly [{\\n readonly id: 0;\\n readonly path: \\"stdin\\";\\n readonly contents: \\"(add 1 (mul 2 (add 3 4)))\\\\n\\";\\n readonly language: \\"LLL\\";\\n }];\\n }];\\n };\\n readonly \\"schema:ethdebug/format/materials/id\\": {\\n readonly $schema: \\"https://json-schema.org/draft/2020-12/schema\\";\\n readonly $id: \\"schema:ethdebug/format/materials/id\\";\\n readonly title: \\"ethdebug/format/materials/id\\";\\n readonly description: \\"An opaque external ID (likely generated by compiler)\\";\\n readonly type: readonly [\\"number\\", \\"string\\"];\\n readonly examples: readonly [5, \\"five\\"];\\n };\\n readonly \\"schema:ethdebug/format/materials/reference\\": {\\n readonly $schema: \\"https://json-schema.org/draft/2020-12/schema\\";\\n readonly $id: \\"schema:ethdebug/format/materials/reference\\";\\n readonly title: \\"ethdebug/format/materials/reference\\";\\n readonly description: \\"A reference to an external resource by ID\\";\\n readonly type: \\"object\\";\\n readonly properties: {\\n readonly id: {\\n readonly $ref: \\"schema:ethdebug/format/materials/id\\";\\n };\\n readonly type: {\\n readonly enum: readonly [\\"compilation\\", \\"source\\"];\\n };\\n };\\n readonly required: readonly [\\"id\\"];\\n readonly unevaluatedProperties: false;\\n readonly examples: readonly [{\\n readonly id: 1;\\n }];\\n };\\n readonly \\"schema:ethdebug/format/materials/source-range\\": {\\n readonly $schema: \\"https://json-schema.org/draft/2020-12/schema\\";\\n readonly $id: \\"schema:ethdebug/format/materials/source-range\\";\\n readonly title: \\"ethdebug/format/materials/source-range\\";\\n readonly description: \\"A range of bytes in a particular source.\\\\n\\\\nNote that this refers to the bytes range in the original character encoding\\\\nfor the source, not the character encoding used for strings in this JSON\\\\nformat (UTF-8). For compilers that support input sources in encodings other\\\\nthan this format\'s transmission encoding, compilers **must** address source\\\\nranges in this original encoding, and debuggers **must** re-encode source\\\\ncontents obtained from this format _before_ performing any range addressing.\\\\n\\\\n(Compilers that only accept UTF-8 or ASCII are naturally exempt from this\\\\nconcern.)\\\\n\\";\\n readonly type: \\"object\\";\\n readonly properties: {\\n readonly compilation: {\\n readonly title: \\"Compilation reference by ID\\";\\n readonly $ref: \\"schema:ethdebug/format/materials/reference\\";\\n };\\n readonly source: {\\n readonly title: \\"Source reference by ID\\";\\n readonly $ref: \\"schema:ethdebug/format/materials/reference\\";\\n };\\n readonly range: {\\n readonly type: \\"object\\";\\n readonly properties: {\\n readonly offset: {\\n readonly description: \\"Byte offset at beginning of range\\";\\n readonly type: \\"number\\";\\n };\\n readonly length: {\\n readonly description: \\"Number of bytes contained in range\\";\\n readonly type: \\"number\\";\\n };\\n };\\n readonly unevaluatedProperties: false;\\n readonly required: readonly [\\"offset\\", \\"length\\"];\\n };\\n };\\n readonly unevaluatedProperties: false;\\n readonly required: readonly [\\"source\\", \\"range\\"];\\n readonly examples: readonly [{\\n readonly source: {\\n readonly id: 5;\\n };\\n readonly range: {\\n readonly offset: 20;\\n readonly length: 100;\\n };\\n }];\\n };\\n readonly \\"schema:ethdebug/format/materials/source\\": {\\n readonly $schema: \\"https://json-schema.org/draft/2020-12/schema\\";\\n readonly $id: \\"schema:ethdebug/format/materials/source\\";\\n readonly title: \\"ethdebug/format/materials/source\\";\\n readonly description: \\"An object representing one unit of compiler input, the raw text contents and\\\\nidentifying metadata (such as file path) that were given to the compiler as\\\\npart of a compilation.\\\\n\\";\\n readonly type: \\"object\\";\\n readonly properties: {\\n readonly id: {\\n readonly description: \\"Source identifier. This field **must** be unique for all sources\\\\nwithin a single compiler invocation (compilation).\\\\n\\";\\n readonly $ref: \\"schema:ethdebug/format/materials/id\\";\\n };\\n readonly path: {\\n readonly type: \\"string\\";\\n readonly description: \\"Hierarchical file-system-like path to this source. This value may\\\\nbe an absolute path, a path relative to some root directory, a path\\\\nto some resource within a package, etc.\\\\n\\\\nThis value does not need to correspond to any file on disk (either\\\\nphysical or virtual), and might instead refer to a path identifier\\\\nfor a source that was generated by a compiler or other development tool.\\\\n\\\\nThis format makes no specific restrictions on how paths should be\\\\nspecified (e.g., no restriction on path separators, etc.), other than\\\\nthat values for this field should match what users observe elsewhere for\\\\nthe inputs/outputs of this particular compiler invocation.\\\\n\\\\nIf no path information is available for a particular source, e.g. if the\\\\nsource was provided to the compiler via shell standard input, this field\\\\nshould indicate that somehow (e.g., specifying `\\\\\\"path\\\\\\": \\\\\\"stdin\\\\\\"` or\\\\nsimilar).\\\\n\\\\nThis field\'s value **should** be unique across all sources within the\\\\nsame compilation.\\\\n\\";\\n };\\n readonly contents: {\\n readonly description: \\"The full contents of the source, possibly re-encoded as UTF-8 to\\\\nmatch parent JSON encoding.\\\\n\\\\nIn cases where input source used a different encoding, this object\\\\n**must** also specify an `encoding` property to indicate the\\\\nencoding originally used. Where relevant, debuggers **must** also\\\\nconvert these `contents` back to the specified original encoding so\\\\nas to match code author expectations.\\\\n\\";\\n readonly type: \\"string\\";\\n };\\n readonly encoding: {\\n readonly description: \\"Character encoding of original source `contents`. This property\\\\nis **required** if this encoding does not match the JSON transmission\\\\nencoding (UTF-8), since the value of the `contents` property will\\\\nrepresent the text of the source of this JSON encoding.\\\\n\\\\nThis property **must not** appear in objects that do not specify\\\\na `contents` property.\\\\n\\";\\n readonly type: \\"string\\";\\n };\\n readonly language: {\\n readonly description: \\"The high-level language that the source contents are written in.\\\\n\\";\\n readonly type: \\"string\\";\\n };\\n };\\n readonly required: readonly [\\"id\\", \\"path\\", \\"contents\\", \\"language\\"];\\n readonly examples: readonly [{\\n readonly id: 5;\\n readonly path: \\"./contracts/SimpleStorage.sol\\";\\n readonly contents: \\"// SPDX-License-Identifier: GPL-3.0\\\\npragma solidity >=0.4.16 <0.9.0;\\\\n\\\\ncontract SimpleStorage {\\\\n uint storedData;\\\\n\\\\n function set(uint x) public {\\\\n storedData = x;\\\\n }\\\\n\\\\n function get() public view returns (uint) {\\\\n return storedData;\\\\n }\\\\n}\\\\n\\";\\n readonly language: \\"Solidity\\";\\n }];\\n };\\n readonly \\"schema:ethdebug/format/pointer/collection/conditional\\": {\\n readonly $schema: \\"https://json-schema.org/draft/2020-12/schema\\";\\n readonly $id: \\"schema:ethdebug/format/pointer/collection/conditional\\";\\n readonly title: \\"ethdebug/format/pointer/collection/conditional\\";\\n readonly description: \\"A pointer defined conditionally based on the non-zero-ness of some expression\\\\n\\";\\n readonly type: \\"object\\";\\n readonly properties: {\\n readonly if: {\\n readonly $ref: \\"schema:ethdebug/format/pointer/expression\\";\\n };\\n readonly then: {\\n readonly $ref: \\"schema:ethdebug/format/pointer\\";\\n };\\n readonly else: {\\n readonly $ref: \\"schema:ethdebug/format/pointer\\";\\n };\\n };\\n readonly required: readonly [\\"if\\", \\"then\\"];\\n readonly additionalProperties: false;\\n readonly examples: readonly [{\\n readonly if: 0;\\n readonly then: {\\n readonly location: \\"memory\\";\\n readonly offset: 0;\\n readonly length: 1;\\n };\\n readonly else: {\\n readonly location: \\"memory\\";\\n readonly offset: 1;\\n readonly length: 1;\\n };\\n }];\\n };\\n readonly \\"schema:ethdebug/format/pointer/collection/group\\": {\\n readonly $schema: \\"https://json-schema.org/draft/2020-12/schema\\";\\n readonly $id: \\"schema:ethdebug/format/pointer/collection/group\\";\\n readonly title: \\"ethdebug/format/pointer/collection/group\\";\\n readonly description: \\"A composite collection of pointers\\\\n\\";\\n readonly type: \\"object\\";\\n readonly properties: {\\n readonly group: {\\n readonly type: \\"array\\";\\n readonly items: {\\n readonly $ref: \\"schema:ethdebug/format/pointer\\";\\n };\\n readonly minItems: 1;\\n };\\n };\\n readonly required: readonly [\\"group\\"];\\n readonly additionalProperties: false;\\n readonly examples: readonly [{\\n readonly group: readonly [{\\n readonly name: \\"data-pointer\\";\\n readonly location: \\"stack\\";\\n readonly slot: 0;\\n }, {\\n readonly location: \\"memory\\";\\n readonly offset: {\\n readonly $read: \\"data-pointer\\";\\n };\\n readonly length: 32;\\n }];\\n }];\\n };\\n readonly \\"schema:ethdebug/format/pointer/collection/list\\": {\\n readonly $schema: \\"https://json-schema.org/draft/2020-12/schema\\";\\n readonly $id: \\"schema:ethdebug/format/pointer/collection/list\\";\\n readonly title: \\"ethdebug/format/pointer/collection/list\\";\\n readonly description: \\"An ordered list of pointers, indexed starting at zero.\\\\n\\";\\n readonly type: \\"object\\";\\n readonly properties: {\\n readonly list: {\\n readonly type: \\"object\\";\\n readonly properties: {\\n readonly count: {\\n readonly description: \\"The size of the list that this collection represents.\\\\n\\";\\n readonly $ref: \\"schema:ethdebug/format/pointer/expression\\";\\n };\\n readonly each: {\\n readonly description: \\"An identifier name whose value as an expression resolves to the index\\\\nin the list\\\\n\\";\\n readonly $ref: \\"schema:ethdebug/format/pointer/identifier\\";\\n };\\n readonly is: {\\n readonly description: \\"The dynamically-generated pointer repeated as a list\\\\n\\";\\n readonly $ref: \\"schema:ethdebug/format/pointer\\";\\n };\\n };\\n readonly required: readonly [\\"count\\", \\"each\\", \\"is\\"];\\n };\\n };\\n readonly required: readonly [\\"list\\"];\\n readonly additionalProperties: false;\\n readonly examples: readonly [{\\n readonly list: {\\n readonly count: 5;\\n readonly each: \\"index\\";\\n readonly is: {\\n readonly location: \\"memory\\";\\n readonly offset: {\\n readonly $read: \\"index\\";\\n };\\n readonly length: 1;\\n };\\n };\\n }];\\n };\\n readonly \\"schema:ethdebug/format/pointer/collection/scope\\": {\\n readonly $schema: \\"https://json-schema.org/draft/2020-12/schema\\";\\n readonly $id: \\"schema:ethdebug/format/pointer/collection/scope\\";\\n readonly title: \\"ethdebug/format/pointer/collection/scope\\";\\n readonly description: \\"A pointer defined with the aid of additional variables with values specified\\\\nas expressions.\\\\n\\\\nVariables are specified by the `define` field as an object mapping of\\\\nexpression by identifier. Variables are specified **in order**, so that\\\\nlater appearing variables may reference earlier ones in the same object.\\\\n\\";\\n readonly type: \\"object\\";\\n readonly properties: {\\n readonly define: {\\n readonly title: \\"Mapping of variables to expression value\\";\\n readonly type: \\"object\\";\\n readonly patternProperties: {\\n readonly \\"^[a-zA-Z_\\\\\\\\-]+[a-zA-Z0-9$_\\\\\\\\-]*$\\": {\\n readonly $ref: \\"schema:ethdebug/format/pointer/expression\\";\\n };\\n };\\n readonly additionalProperties: false;\\n };\\n readonly in: {\\n readonly $ref: \\"schema:ethdebug/format/pointer\\";\\n };\\n };\\n readonly required: readonly [\\"define\\", \\"in\\"];\\n readonly additionalProperties: false;\\n readonly examples: readonly [{\\n readonly define: {\\n readonly \\"example-offset\\": {\\n readonly $sum: readonly [1, 2];\\n };\\n readonly \\"example-length\\": {\\n readonly $product: readonly [2, \\"$wordsize\\"];\\n };\\n };\\n readonly in: {\\n readonly name: \\"example\\";\\n readonly location: \\"memory\\";\\n readonly offset: \\"example-offset\\";\\n readonly length: \\"example-length\\";\\n };\\n }];\\n };\\n readonly \\"schema:ethdebug/format/pointer/collection\\": {\\n readonly $schema: \\"https://json-schema.org/draft/2020-12/schema\\";\\n readonly $id: \\"schema:ethdebug/format/pointer/collection\\";\\n readonly title: \\"ethdebug/format/pointer/collection\\";\\n readonly description: \\"A representation of a collection of pointers to data in the EVM\\\\n\\";\\n readonly type: \\"object\\";\\n readonly allOf: readonly [{\\n readonly oneOf: readonly [{\\n readonly required: readonly [\\"group\\"];\\n }, {\\n readonly required: readonly [\\"list\\"];\\n }, {\\n readonly required: readonly [\\"if\\"];\\n }, {\\n readonly required: readonly [\\"define\\"];\\n }];\\n }, {\\n readonly if: {\\n readonly required: readonly [\\"group\\"];\\n };\\n readonly then: {\\n readonly $ref: \\"schema:ethdebug/format/pointer/collection/group\\";\\n };\\n }, {\\n readonly if: {\\n readonly required: readonly [\\"list\\"];\\n };\\n readonly then: {\\n readonly $ref: \\"schema:ethdebug/format/pointer/collection/list\\";\\n };\\n }, {\\n readonly if: {\\n readonly required: readonly [\\"if\\"];\\n };\\n readonly then: {\\n readonly $ref: \\"schema:ethdebug/format/pointer/collection/conditional\\";\\n };\\n }, {\\n readonly if: {\\n readonly required: readonly [\\"define\\"];\\n };\\n readonly then: {\\n readonly $ref: \\"schema:ethdebug/format/pointer/collection/scope\\";\\n };\\n }];\\n };\\n readonly \\"schema:ethdebug/format/pointer/expression\\": {\\n readonly $schema: \\"https://json-schema.org/draft/2020-12/schema\\";\\n readonly $id: \\"schema:ethdebug/format/pointer/expression\\";\\n readonly title: \\"ethdebug/format/pointer/expression\\";\\n readonly description: \\"A schema for describing expressions that evaluate to values.\\\\n\\";\\n readonly oneOf: readonly [{\\n readonly $ref: \\"#/$defs/Literal\\";\\n }, {\\n readonly $ref: \\"#/$defs/Variable\\";\\n }, {\\n readonly $ref: \\"#/$defs/Constant\\";\\n }, {\\n readonly $ref: \\"#/$defs/Arithmetic\\";\\n }, {\\n readonly $ref: \\"#/$defs/Lookup\\";\\n }, {\\n readonly $ref: \\"#/$defs/Read\\";\\n }, {\\n readonly $ref: \\"#/$defs/Keccak256\\";\\n }];\\n readonly $defs: {\\n readonly Literal: {\\n readonly title: \\"Literal value\\";\\n readonly description: \\"An unsigned number or a `0x`-prefixed string of hexadecimal digits\\\\n\\";\\n readonly oneOf: readonly [{\\n readonly type: \\"integer\\";\\n readonly description: \\"A non-negative integer literal\\";\\n readonly min: 0;\\n }, {\\n readonly type: \\"string\\";\\n readonly description: \\"A `0x`-prefixed hexadecimal string representing literal bytes\\\\n\\";\\n readonly pattern: \\"^0x[0-9a-fA-F]{1,}$\\";\\n }];\\n readonly examples: readonly [5, \\"0x0000000000000000000000000000000000000000000000000000000000000000\\"];\\n };\\n readonly Constant: {\\n readonly title: \\"Constant value\\";\\n readonly type: \\"string\\";\\n readonly enum: readonly [\\"$wordsize\\"];\\n };\\n readonly Variable: {\\n readonly title: \\"Variable identifier\\";\\n readonly description: \\"A string that matches an identifier used in an earlier declaration of\\\\na scalar variable. This expression evaluates to the value of that\\\\nvariable.\\\\n\\";\\n readonly $ref: \\"schema:ethdebug/format/pointer/identifier\\";\\n };\\n readonly Arithmetic: {\\n readonly title: \\"Arithmetic operation\\";\\n readonly type: \\"object\\";\\n readonly properties: {\\n readonly $sum: {\\n readonly description: \\"A list of expressions to be added together.\\\\n\\";\\n readonly $ref: \\"#/$defs/Operands\\";\\n };\\n readonly $difference: {\\n readonly description: \\"A tuple of two expressions where the second is to be subtracted from\\\\nthe first.\\\\n\\\\nIf the second operand is larger than the first, the result of this\\\\narithmetic operation is defined to equal zero (`0`).\\\\n\\\\n(i.e., `{ \\\\\\"$difference\\\\\\": [a, b] }` equals `a` minus `b`.)\\\\n\\";\\n readonly $ref: \\"#/$defs/Operands\\";\\n readonly minItems: 2;\\n readonly maxItems: 2;\\n };\\n readonly $product: {\\n readonly description: \\"A list of expressions to be multipled.\\\\n\\";\\n readonly $ref: \\"#/$defs/Operands\\";\\n };\\n readonly $quotient: {\\n readonly description: \\"A tuple of two expressions where the first corresponds to the\\\\ndividend and the second corresponds to the divisor, for the purposes\\\\nof doing integer division.\\\\n\\\\n(i.e., `{ \\\\\\"$quotient\\\\\\": [a, b] }` equals `a` divided by `b`.)\\\\n\\";\\n readonly $ref: \\"#/$defs/Operands\\";\\n readonly minItems: 2;\\n readonly maxItems: 2;\\n };\\n readonly $remainder: {\\n readonly description: \\"A tuple of two expressions where the first corresponds to the\\\\ndividend and the second corresponds to the divisor, for the purposes\\\\nof computing the modular-arithmetic remainder.\\\\n\\\\n(i.e., `{ \\\\\\"$remainder\\\\\\": [a, b] }` equals `a` mod `b`.)\\\\n\\";\\n readonly $ref: \\"#/$defs/Operands\\";\\n readonly minItems: 2;\\n readonly maxItems: 2;\\n };\\n };\\n readonly additionalProperties: false;\\n readonly minProperties: 1;\\n readonly maxProperties: 1;\\n readonly examples: readonly [{\\n readonly $sum: readonly [5, 3, 4];\\n }, {\\n readonly $difference: readonly [5, 3];\\n }, {\\n readonly $product: readonly [5, 3, 0];\\n }, {\\n readonly $quotient: readonly [5, 3];\\n }, {\\n readonly $remainder: readonly [{\\n readonly $product: readonly [2, 2, 2, 2];\\n }, 3];\\n }];\\n };\\n readonly Operands: {\\n readonly type: \\"array\\";\\n readonly items: {\\n readonly $ref: \\"schema:ethdebug/format/pointer/expression\\";\\n };\\n };\\n readonly Lookup: {\\n readonly title: \\"Lookup region definition\\";\\n readonly description: \\"An object of the form `{ \\\\\\".<property-name>\\\\\\": \\\\\\"<region>\\\\\\" }`, to\\\\ndenote that this expression is equivalent to the defined value for\\\\nthe property named `<property-name>` inside the region referenced as\\\\n`<region>`.\\\\n\\\\n`<property-name>` **must** be a valid and present property on the\\\\ncorresponding region, or it **must** correspond to an optional property\\\\nwhose schema specifies a default value for that property.\\\\n\\";\\n readonly type: \\"object\\";\\n readonly patternProperties: {\\n readonly \\"^\\\\\\\\.(offset|length|slot)$\\": {\\n readonly $ref: \\"#/$defs/Reference\\";\\n };\\n };\\n readonly additionalProperties: false;\\n readonly minProperties: 1;\\n readonly maxProperties: 1;\\n readonly examples: readonly [{\\n readonly \\".offset\\": \\"array-count\\";\\n }, {\\n readonly \\".length\\": \\"array-item\\";\\n }, {\\n readonly \\".offset\\": \\"$this\\";\\n }];\\n };\\n readonly Read: {\\n readonly title: \\"Read region bytes\\";\\n readonly description: \\"An object of the form `{ \\\\\\"$read\\\\\\": \\\\\\"<region>\\\\\\" }`. The value of this\\\\nexpression equals the raw bytes present in the running machine state\\\\nin the referenced region.\\\\n\\";\\n readonly type: \\"object\\";\\n readonly properties: {\\n readonly $read: {\\n readonly $ref: \\"#/$defs/Reference\\";\\n };\\n };\\n readonly required: readonly [\\"$read\\"];\\n readonly additionalProperties: false;\\n readonly examples: readonly [{\\n readonly $read: \\"struct-start\\";\\n }];\\n };\\n readonly Reference: {\\n readonly title: \\"Region reference\\";\\n readonly description: \\"A string value that **must** either be the `\\\\\\"name\\\\\\"` of at least one\\\\nregion declared with `{ \\\\\\"name\\\\\\": \\\\\\"<region>\\\\\\" }` previously in some root\\\\npointer representation, or it **must** be the literal value `\\\\\\"$this\\\\\\"`,\\\\nwhich indicates a reference to the region containing this expression.\\\\n\\\\nIf more than one region is defined with the same name, resolution is\\\\ndefined as firstly resolving to the latest earlier sibling that declares\\\\nthe matching name, then secondly resolving to the parent if it matches,\\\\nthen to parent\'s earlier siblings, and so on.\\\\n\\";\\n readonly type: \\"string\\";\\n readonly oneOf: readonly [{\\n readonly $ref: \\"schema:ethdebug/format/pointer/identifier\\";\\n }, {\\n readonly const: \\"$this\\";\\n readonly description: \\"Indicates a reference to the region containing this expression.\\\\n\\";\\n }];\\n };\\n readonly Keccak256: {\\n readonly title: \\"Keccak256 hash\\";\\n readonly description: \\"An object of the form `{ \\\\\\"keccak256\\\\\\": [...values] }`, indicating that this\\\\nexpression evaluates to the Solidity-style keccak256 hash of the\\\\ntightly-packed bytes encoded by `values`.\\\\n\\";\\n readonly type: \\"object\\";\\n readonly properties: {\\n readonly $keccak256: {\\n readonly title: \\"Array of hashed values\\";\\n readonly type: \\"array\\";\\n readonly items: {\\n readonly $ref: \\"schema:ethdebug/format/pointer/expression\\";\\n };\\n };\\n };\\n readonly additionalProperties: false;\\n readonly required: readonly [\\"$keccak256\\"];\\n readonly examples: readonly [{\\n readonly $keccak256: readonly [0, \\"0x00\\"];\\n }];\\n };\\n };\\n readonly examples: readonly [0, {\\n readonly $sum: readonly [{\\n readonly \\".offset\\": \\"array-start\\";\\n }, {\\n readonly \\".length\\": \\"array-start\\";\\n }, 1];\\n }, {\\n readonly $keccak256: readonly [5, {\\n readonly \\".offset\\": \\"array-start\\";\\n }];\\n }];\\n };\\n readonly \\"schema:ethdebug/format/pointer/identifier\\": {\\n readonly $schema: \\"https://json-schema.org/draft/2020-12/schema\\";\\n readonly $id: \\"schema:ethdebug/format/pointer/identifier\\";\\n readonly title: \\"ethdebug/format/pointer/identifier\\";\\n readonly description: \\"An identifier for use within the context of a root pointer\\\\n\\";\\n readonly type: \\"string\\";\\n readonly pattern: \\"^[a-zA-Z_\\\\\\\\-]+[a-zA-Z0-9$_\\\\\\\\-]*$\\";\\n readonly examples: readonly [\\"a\\", \\"a0\\", \\"-$\\", \\"__init__\\"];\\n };\\n readonly \\"schema:ethdebug/format/pointer/region/base\\": {\\n readonly $schema: \\"https://json-schema.org/draft/2020-12/schema\\";\\n readonly $id: \\"schema:ethdebug/format/pointer/region/base\\";\\n readonly title: \\"ethdebug/format/pointer/region/base\\";\\n readonly description: \\"Common schema for all region schemas, regardless of `\\\\\\"location\\\\\\": ...`.\\\\n\\";\\n readonly type: \\"object\\";\\n readonly properties: {\\n readonly name: {\\n readonly $ref: \\"schema:ethdebug/format/pointer/identifier\\";\\n };\\n readonly location: {\\n readonly type: \\"string\\";\\n };\\n };\\n readonly required: readonly [\\"location\\"];\\n readonly examples: readonly [{\\n readonly name: \\"array-item\\";\\n readonly location: \\"memory\\";\\n }];\\n };\\n readonly \\"schema:ethdebug/format/pointer/region/calldata\\": {\\n readonly $schema: \\"https://json-schema.org/draft/2020-12/schema\\";\\n readonly $id: \\"schema:ethdebug/format/pointer/region/calldata\\";\\n readonly title: \\"ethdebug/format/pointer/region/calldata\\";\\n readonly description: \\"A schema for representing a region of data in message calldata.\\\\n\\\\nThis schema is constructed by extending the base region schema\\\\nand the schema for the slice addressing scheme.\\\\n\\";\\n readonly type: \\"object\\";\\n readonly allOf: readonly [{\\n readonly title: \\"{\xa0\\\\\\"location\\\\\\":\xa0\\\\\\"calldata\\\\\\"\xa0}\\";\\n readonly properties: {\\n readonly location: {\\n readonly const: \\"calldata\\";\\n };\\n };\\n readonly required: readonly [\\"location\\"];\\n }, {\\n readonly $ref: \\"schema:ethdebug/format/pointer/region/base\\";\\n }, {\\n readonly $ref: \\"schema:ethdebug/format/pointer/scheme/slice\\";\\n }];\\n readonly unevaluatedProperties: false;\\n readonly examples: readonly [{\\n readonly location: \\"calldata\\";\\n readonly offset: \\"0x04\\";\\n readonly length: 32;\\n }];\\n };\\n readonly \\"schema:ethdebug/format/pointer/region/code\\": {\\n readonly $schema: \\"https://json-schema.org/draft/2020-12/schema\\";\\n readonly $id: \\"schema:ethdebug/format/pointer/region/code\\";\\n readonly title: \\"ethdebug/format/pointer/region/code\\";\\n readonly description: \\"A schema for representing a region of data in EVM bytecode.\\\\n\\\\nThis schema is constructed by extending the base region schema\\\\nand the schema for the slice addressing scheme.\\\\n\\";\\n readonly type: \\"object\\";\\n readonly allOf: readonly [{\\n readonly title: \\"{\xa0\\\\\\"location\\\\\\":\xa0\\\\\\"code\\\\\\"\xa0}\\";\\n readonly properties: {\\n readonly location: {\\n readonly const: \\"code\\";\\n };\\n };\\n readonly required: readonly [\\"location\\"];\\n }, {\\n readonly $ref: \\"schema:ethdebug/format/pointer/region/base\\";\\n }, {\\n readonly $ref: \\"schema:ethdebug/format/pointer/scheme/slice\\";\\n }];\\n readonly unevaluatedProperties: false;\\n readonly examples: readonly [{\\n readonly location: \\"code\\";\\n readonly offset: \\"0x04\\";\\n readonly length: 32;\\n }];\\n };\\n readonly \\"schema:ethdebug/format/pointer/region/memory\\": {\\n readonly $schema: \\"https://json-schema.org/draft/2020-12/schema\\";\\n readonly $id: \\"schema:ethdebug/format/pointer/region/memory\\";\\n readonly title: \\"ethdebug/format/pointer/region/memory\\";\\n readonly description: \\"A schema for representing a region of data in EVM memory. Pointer regions\\\\nwithin memory represent a single/atomic sequence of byte locations.\\\\n\\\\nThis schema is constructed by extending the base region schema\\\\nand the schema for the slice addressing scheme.\\\\n\\";\\n readonly type: \\"object\\";\\n readonly allOf: readonly [{\\n readonly title: \\"{\xa0\\\\\\"location\\\\\\":\xa0\\\\\\"memory\\\\\\"\xa0}\\";\\n readonly properties: {\\n readonly location: {\\n readonly const: \\"memory\\";\\n };\\n };\\n readonly required: readonly [\\"location\\"];\\n }, {\\n readonly $ref: \\"schema:ethdebug/format/pointer/region/base\\";\\n }, {\\n readonly $ref: \\"schema:ethdebug/format/pointer/scheme/slice\\";\\n }];\\n readonly unevaluatedProperties: false;\\n readonly examples: readonly [{\\n readonly location: \\"memory\\";\\n readonly offset: \\"0x04\\";\\n readonly length: 32;\\n }];\\n };\\n readonly \\"schema:ethdebug/format/pointer/region/returndata\\": {\\n readonly $schema: \\"https://json-schema.org/draft/2020-12/schema\\";\\n readonly $id: \\"schema:ethdebug/format/pointer/region/returndata\\";\\n readonly title: \\"ethdebug/format/pointer/region/returndata\\";\\n readonly description: \\"A schema for representing a region of data in message returndata.\\\\n\\\\nThis schema is constructed by extending the base region schema\\\\nand the schema for the slice addressing scheme.\\\\n\\";\\n readonly type: \\"object\\";\\n readonly allOf: readonly [{\\n readonly title: \\"{\xa0\\\\\\"location\\\\\\":\xa0\\\\\\"returndata\\\\\\"\xa0}\\";\\n readonly properties: {\\n readonly location: {\\n readonly const: \\"returndata\\";\\n };\\n };\\n readonly required: readonly [\\"location\\"];\\n }, {\\n readonly $ref: \\"schema:ethdebug/format/pointer/region/base\\";\\n }, {\\n readonly $ref: \\"schema:ethdebug/format/pointer/scheme/slice\\";\\n }];\\n readonly unevaluatedProperties: false;\\n readonly examples: readonly [{\\n readonly location: \\"returndata\\";\\n readonly offset: \\"0x04\\";\\n readonly length: 32;\\n }];\\n };\\n readonly \\"schema:ethdebug/format/pointer/region/stack\\": {\\n readonly $schema: \\"https://json-schema.org/draft/2020-12/schema\\";\\n readonly $id: \\"schema:ethdebug/format/pointer/region/stack\\";\\n readonly title: \\"ethdebug/format/pointer/region/stack\\";\\n readonly description: \\"A schema for representing a region of data in the EVM.\\\\n\\\\nDescribes stack slots as number of positions from the top (at time of\\\\nobservation). Debuggers reading this information **should** immediately\\\\nconvert these positions to absolute positions from the bottom.\\\\n\\\\nThis schema is constructed by extending the base region schema\\\\nand the schema for the segment addressing scheme.\\\\n\\";\\n readonly type: \\"object\\";\\n readonly allOf: readonly [{\\n readonly title: \\"{\xa0\\\\\\"location\\\\\\":\xa0\\\\\\"stack\\\\\\"\xa0}\\";\\n readonly properties: {\\n readonly location: {\\n readonly const: \\"stack\\";\\n };\\n };\\n readonly required: readonly [\\"location\\"];\\n }, {\\n readonly $ref: \\"schema:ethdebug/format/pointer/region/base\\";\\n }, {\\n readonly $ref: \\"schema:ethdebug/format/pointer/scheme/segment\\";\\n }];\\n readonly unevaluatedProperties: false;\\n readonly examples: readonly [{\\n readonly location: \\"stack\\";\\n readonly slot: 0;\\n }, {\\n readonly location: \\"stack\\";\\n readonly slot: 1;\\n readonly length: {\\n readonly $product: readonly [\\"$wordsize\\", 2];\\n };\\n }];\\n };\\n readonly \\"schema:ethdebug/format/pointer/region/storage\\": {\\n readonly $schema: \\"https://json-schema.org/draft/2020-12/schema\\";\\n readonly $id: \\"schema:ethdebug/format/pointer/region/storage\\";\\n readonly title: \\"ethdebug/format/pointer/region/storage\\";\\n readonly description: \\"A schema for representing a region of data in EVM storage.\\\\n\\\\nThis schema is constructed by extending the base region schema\\\\nand the schema for the segment addressing scheme.\\\\n\\";\\n readonly type: \\"object\\";\\n readonly allOf: readonly [{\\n readonly title: \\"{\xa0\\\\\\"location\\\\\\":\xa0\\\\\\"storage\\\\\\"\xa0}\\";\\n readonly properties: {\\n readonly location: {\\n readonly const: \\"storage\\";\\n };\\n };\\n readonly required: readonly [\\"location\\"];\\n }, {\\n readonly $ref: \\"schema:ethdebug/format/pointer/region/base\\";\\n }, {\\n readonly $ref: \\"schema:ethdebug/format/pointer/scheme/segment\\";\\n }];\\n readonly unevaluatedProperties: false;\\n readonly examples: readonly [{\\n readonly location: \\"storage\\";\\n readonly slot: \\"0x03\\";\\n }, {\\n readonly location: \\"storage\\";\\n readonly slot: \\"0x06\\";\\n readonly length: {\\n readonly $product: readonly [\\"$wordsize\\", 2];\\n };\\n }, {\\n readonly location: \\"storage\\";\\n readonly slot: \\"0x08\\";\\n readonly offset: {\\n readonly $quotient: readonly [\\"$wordsize\\", 2];\\n };\\n readonly length: {\\n readonly $quotient: readonly [\\"$wordsize\\", 2];\\n };\\n }];\\n };\\n readonly \\"schema:ethdebug/format/pointer/region/transient\\": {\\n readonly $schema: \\"https://json-schema.org/draft/2020-12/schema\\";\\n readonly $id: \\"schema:ethdebug/format/pointer/region/transient\\";\\n readonly title: \\"ethdebug/format/pointer/region/transient\\";\\n readonly description: \\"A schema for representing a region of data in EVM transient storage.\\\\n\\\\nThis schema is constructed by extending the base region schema\\\\nand the schema for the segment addressing scheme.\\\\n\\";\\n readonly type: \\"object\\";\\n readonly allOf: readonly [{\\n readonly title: \\"{\xa0\\\\\\"location\\\\\\":\xa0\\\\\\"transient\\\\\\"\xa0}\\";\\n readonly properties: {\\n readonly location: {\\n readonly const: \\"transient\\";\\n };\\n };\\n readonly required: readonly [\\"location\\"];\\n }, {\\n readonly $ref: \\"schema:ethdebug/format/pointer/region/base\\";\\n }, {\\n readonly $ref: \\"schema:ethdebug/format/pointer/scheme/segment\\";\\n }];\\n readonly unevaluatedProperties: false;\\n readonly examples: readonly [{\\n readonly location: \\"transient\\";\\n readonly slot: \\"0x03\\";\\n }, {\\n readonly location: \\"transient\\";\\n readonly slot: \\"0x06\\";\\n readonly length: {\\n readonly $product: readonly [\\"$wordsize\\", 2];\\n };\\n }, {\\n readonly location: \\"transient\\";\\n readonly slot: \\"0x08\\";\\n readonly offset: {\\n readonly $quotient: readonly [\\"$wordsize\\", 2];\\n };\\n readonly length: {\\n readonly $quotient: readonly [\\"$wordsize\\", 2];\\n };\\n }];\\n };\\n readonly \\"schema:ethdebug/format/pointer/region\\": {\\n readonly $schema: \\"https://json-schema.org/draft/2020-12/schema\\";\\n readonly $id: \\"schema:ethdebug/format/pointer/region\\";\\n readonly title: \\"ethdebug/format/pointer/region\\";\\n readonly description: \\"A representation of a region of data in the EVM\\\\n\\";\\n readonly type: \\"object\\";\\n readonly properties: {\\n readonly location: {\\n readonly $ref: \\"#/$defs/Location\\";\\n };\\n };\\n readonly allOf: readonly [{\\n readonly if: {\\n readonly properties: {\\n readonly location: {\\n readonly const: \\"stack\\";\\n };\\n };\\n };\\n readonly then: {\\n readonly $ref: \\"schema:ethdebug/format/pointer/region/stack\\";\\n };\\n }, {\\n readonly if: {\\n readonly properties: {\\n readonly location: {\\n readonly const: \\"memory\\";\\n };\\n };\\n };\\n readonly then: {\\n readonly $ref: \\"schema:ethdebug/format/pointer/region/memory\\";\\n };\\n }, {\\n readonly if: {\\n readonly properties: {\\n readonly location: {\\n readonly const: \\"storage\\";\\n };\\n };\\n };\\n readonly then: {\\n readonly $ref: \\"schema:ethdebug/format/pointer/region/storage\\";\\n };\\n }, {\\n readonly if: {\\n readonly properties: {\\n readonly location: {\\n readonly const: \\"calldata\\";\\n };\\n };\\n };\\n readonly then: {\\n readonly $ref: \\"schema:ethdebug/format/pointer/region/calldata\\";\\n };\\n }, {\\n readonly if: {\\n readonly properties: {\\n readonly location: {\\n readonly const: \\"returndata\\";\\n };\\n };\\n };\\n readonly then: {\\n readonly $ref: \\"schema:ethdebug/format/pointer/region/returndata\\";\\n };\\n }, {\\n readonly if: {\\n readonly properties: {\\n readonly location: {\\n readonly const: \\"transient\\";\\n };\\n };\\n };\\n readonly then: {\\n readonly $ref: \\"schema:ethdebug/format/pointer/region/transient\\";\\n };\\n }, {\\n readonly if: {\\n readonly properties: {\\n readonly location: {\\n readonly const: \\"code\\";\\n };\\n };\\n };\\n readonly then: {\\n readonly $ref: \\"schema:ethdebug/format/pointer/region/code\\";\\n };\\n }];\\n readonly $defs: {\\n readonly Location: {\\n readonly type: \\"string\\";\\n readonly enum: readonly [\\"stack\\", \\"memory\\", \\"storage\\", \\"calldata\\", \\"returndata\\", \\"transient\\", \\"code\\"];\\n };\\n };\\n readonly unevaluatedProperties: false;\\n readonly examples: readonly [{\\n readonly location: \\"storage\\";\\n readonly slot: \\"0x0000000000000000000000000000000000000000000000000000000000000000\\";\\n }];\\n };\\n readonly \\"schema:ethdebug/format/pointer/scheme/segment\\": {\\n readonly $schema: \\"https://json-schema.org/draft/2020-12/schema\\";\\n readonly $id: \\"schema:ethdebug/format/pointer/scheme/segment\\";\\n readonly title: \\"ethdebug/format/pointer/scheme/segment\\";\\n readonly description: \\"An addressing scheme for pointing to a range of bytes in a data location\\\\narranged as individually-addressable word-sized slots.\\\\n\\\\n**Note** that this addressing scheme permits addressing byte ranges that\\\\nextend beyond the last byte of a particular slot, or even covering the range\\\\nof multiple slots.\\\\n\\\\nIn such cases, this schema defines the range as the concatenation of bytes\\\\nacross slots such that the address of the first byte after the end of slot\\\\n`p` (i.e., `{ \\\\\\"offset\\\\\\": \\\\\\"$wordsize\\\\\\" }`) is interpreted as the first byte of\\\\nslot `p + 1`.\\\\n\\";\\n readonly type: \\"object\\";\\n readonly properties: {\\n readonly slot: {\\n readonly $ref: \\"schema:ethdebug/format/pointer/expression\\";\\n };\\n readonly offset: {\\n readonly description: \\"The starting byte index within the slot.\\\\n\\\\nThis field is **optional**. If unspecified, it has the default value of\\\\n`0`, indicating that the segment begins at the start of the specified\\\\nslot.\\\\n\\\\nThis field\'s expression must resolve to a value _n_ such that\\\\n0 \u2264 _n_ \\\\\\\\< `$wordsize` (i.e., the offset **must**\\\\nbegin inside the slot).\\\\n\\";\\n readonly $ref: \\"schema:ethdebug/format/pointer/expression\\";\\n readonly default: 0;\\n };\\n readonly length: {\\n readonly description: \\"The length of the bytes range this segment represents.\\\\n\\\\nThis field is **optional**. If unspecified, its default value indicates\\\\nthat the segment ends at the end of the slot.\\\\n\\\\nIf this field has value larger than the default value, i.e., if the\\\\nsegment extends beyond the last byte in the slot, then this segment is\\\\ndefined to be the concatenation of the sequentially-addressed slot(s)\\\\nfollowing following the slot specified.\\\\n\\";\\n readonly $ref: \\"schema:ethdebug/format/pointer/expression\\";\\n readonly default: {\\n readonly $difference: readonly [\\"$wordsize\\", {\\n readonly \\".offset\\": \\"$this\\";\\n }];\\n };\\n };\\n };\\n readonly required: readonly [\\"slot\\"];\\n readonly examples: readonly [{\\n readonly slot: 0;\\n }, {\\n readonly slot: 1;\\n readonly length: {\\n readonly $product: readonly [\\"$wordsize\\", 3];\\n };\\n }];\\n };\\n readonly \\"schema:ethdebug/format/pointer/scheme/slice\\": {\\n readonly $schema: \\"https://json-schema.org/draft/2020-12/schema\\";\\n readonly $id: \\"schema:ethdebug/format/pointer/scheme/slice\\";\\n readonly title: \\"ethdebug/format/pointer/scheme/slice\\";\\n readonly description: \\"An addressing scheme for pointing to a range of sequential bytes inside\\\\na data location whose structure is that of a regular bytes array\\\\n(i.e., where bytes are indexed by byte offset, with no concept of word).\\\\n\\";\\n readonly type: \\"object\\";\\n readonly properties: {\\n readonly offset: {\\n readonly description: \\"The index of the byte (starting from zero) in the data location where\\\\nthe slice begins.\\\\n\\";\\n readonly $ref: \\"schema:ethdebug/format/pointer/expression\\";\\n };\\n readonly length: {\\n readonly description: \\"The length of the slice in number of bytes.\\\\n\\";\\n readonly $ref: \\"schema:ethdebug/format/pointer/expression\\";\\n };\\n };\\n readonly required: readonly [\\"offset\\", \\"length\\"];\\n readonly examples: readonly [{\\n readonly offset: 0;\\n readonly length: 32;\\n }];\\n };\\n readonly \\"schema:ethdebug/format/pointer\\": {\\n readonly $schema: \\"https://json-schema.org/draft/2020-12/schema\\";\\n readonly $id: \\"schema:ethdebug/format/pointer\\";\\n readonly title: \\"ethdebug/format/pointer\\";\\n readonly description: \\"A schema for representing a pointer to a data position or a range of data\\\\npositions in the EVM.\\\\n\\\\nAn **ethdebug/format/pointer** is either a single region or a structured\\\\ncollection of other pointers.\\\\n\\";\\n readonly type: \\"object\\";\\n readonly if: {\\n readonly required: readonly [\\"location\\"];\\n };\\n readonly then: {\\n readonly $ref: \\"schema:ethdebug/format/pointer/region\\";\\n };\\n readonly else: {\\n readonly $ref: \\"schema:ethdebug/format/pointer/collection\\";\\n };\\n readonly examples: readonly [{\\n readonly location: \\"storage\\";\\n readonly slot: 2;\\n }, {\\n readonly group: readonly [{\\n readonly name: \\"array-start\\";\\n readonly location: \\"stack\\";\\n readonly slot: 0;\\n }, {\\n readonly name: \\"array-count\\";\\n readonly location: \\"memory\\";\\n readonly offset: {\\n readonly $read: \\"array-start\\";\\n };\\n readonly length: \\"$wordsize\\";\\n }, {\\n readonly list: {\\n readonly count: {\\n readonly $read: \\"array-count\\";\\n };\\n readonly each: \\"item-index\\";\\n readonly is: {\\n readonly name: \\"array-item\\";\\n readonly location: \\"memory\\";\\n readonly offset: {\\n readonly $sum: readonly [{\\n readonly \\".offset\\": \\"array-count\\";\\n }, {\\n readonly \\".length\\": \\"array-count\\";\\n }, {\\n readonly $product: readonly [\\"item-index\\", {\\n readonly \\".length\\": \\"array-item\\";\\n }];\\n }];\\n };\\n readonly length: \\"$wordsize\\";\\n };\\n };\\n }];\\n }, {\\n readonly group: readonly [{\\n readonly name: \\"struct-start\\";\\n readonly location: \\"stack\\";\\n readonly slot: 0;\\n }, {\\n readonly name: \\"struct-member-0\\";\\n readonly location: \\"memory\\";\\n readonly offset: {\\n readonly $read: \\"struct-start\\";\\n };\\n readonly length: \\"$wordsize\\";\\n }, {\\n readonly name: \\"struct-member-1\\";\\n readonly location: \\"memory\\";\\n readonly offset: {\\n readonly $sum: readonly [{\\n readonly \\".offset\\": \\"struct-member-0\\";\\n }, {\\n readonly \\".length\\": \\"struct-member-0\\";\\n }];\\n };\\n readonly length: \\"$wordsize\\";\\n }];\\n }, {\\n readonly group: readonly [{\\n readonly name: \\"array-start\\";\\n readonly location: \\"stack\\";\\n readonly slot: 0;\\n }, {\\n readonly name: \\"array-count\\";\\n readonly location: \\"memory\\";\\n readonly offset: {\\n readonly $read: \\"array-start\\";\\n };\\n readonly length: \\"$wordsize\\";\\n }, {\\n readonly list: {\\n readonly count: {\\n readonly $read: \\"array-count\\";\\n };\\n readonly each: \\"item-index\\";\\n readonly is: {\\n readonly group: readonly [{\\n readonly name: \\"struct-pointer\\";\\n readonly location: \\"memory\\";\\n readonly offset: {\\n readonly $sum: readonly [{\\n readonly \\".offset\\": \\"array-count\\";\\n }, {\\n readonly \\".length\\": \\"array-count\\";\\n }, {\\n readonly $product: readonly [\\"item-index\\", {\\n readonly \\".length\\": \\"struct-pointer\\";\\n }];\\n }];\\n };\\n readonly length: \\"$wordsize\\";\\n }, {\\n readonly name: \\"struct-member-0\\";\\n readonly location: \\"memory\\";\\n readonly offset: {\\n readonly $read: \\"struct-pointer\\";\\n };\\n readonly length: \\"$wordsize\\";\\n }, {\\n readonly name: \\"struct-member-1\\";\\n readonly location: \\"memory\\";\\n readonly offset: {\\n readonly $sum: readonly [{\\n readonly \\".offset\\": \\"struct-member-0\\";\\n }, {\\n readonly \\".length\\": \\"struct-member-0\\";\\n }];\\n };\\n readonly length: \\"$wordsize\\";\\n }];\\n };\\n };\\n }];\\n }, {\\n readonly define: {\\n readonly \\"contract-variable-slot\\": 0;\\n };\\n readonly in: {\\n readonly group: readonly [{\\n readonly name: \\"length-flag\\";\\n readonly location: \\"storage\\";\\n readonly slot: \\"contract-variable-slot\\";\\n readonly offset: {\\n readonly $difference: readonly [\\"$wordsize\\", 1];\\n };\\n readonly length: 1;\\n }, {\\n readonly name: \\"long-string-length-data\\";\\n readonly location: \\"storage\\";\\n readonly slot: \\"contract-variable-slot\\";\\n readonly offset: 0;\\n readonly length: \\"$wordsize\\";\\n }, {\\n readonly if: {\\n readonly $remainder: readonly [{\\n readonly $sum: readonly [{\\n readonly $read: \\"length-flag\\";\\n }, 1];\\n }, 2];\\n };\\n readonly then: {\\n readonly define: {\\n readonly \\"string-length\\": {\\n readonly $quotient: readonly [{\\n readonly $read: \\"length-flag\\";\\n }, 2];\\n };\\n };\\n readonly in: {\\n readonly name: \\"string\\";\\n readonly location: \\"storage\\";\\n readonly slot: \\"contract-variable-slot\\";\\n readonly offset: 0;\\n readonly length: \\"string-length\\";\\n };\\n };\\n readonly else: {\\n readonly define: {\\n readonly \\"string-length\\": {\\n readonly $quotient: readonly [{\\n readonly $difference: readonly [{\\n readonly $read: \\"long-string-length-data\\";\\n }, 1];\\n }, 2];\\n };\\n readonly \\"start-slot\\": {\\n readonly $keccak256: readonly [\\"contract-variable-slot\\"];\\n };\\n readonly \\"total-slots\\": {\\n readonly $quotient: readonly [{\\n readonly $sum: readonly [\\"string-length\\", {\\n readonly $difference: readonly [\\"$wordsize\\", 1];\\n }];\\n }, \\"$wordsize\\"];\\n };\\n };\\n readonly in: {\\n readonly list: {\\n readonly count: \\"total-slots\\";\\n readonly each: \\"i\\";\\n readonly is: {\\n readonly define: {\\n readonly \\"current-slot\\": {\\n readonly $sum: readonly [\\"start-slot\\", \\"i\\"];\\n };\\n readonly \\"previous-length\\": {\\n readonly $product: readonly [\\"i\\", \\"$wordsize\\"];\\n };\\n };\\n readonly in: {\\n readonly if: {\\n readonly $difference: readonly [\\"string-length\\", {\\n readonly $sum: readonly [\\"previous-length\\", \\"$wordsize\\"];\\n }];\\n };\\n readonly then: {\\n readonly name: \\"string\\";\\n readonly location: \\"storage\\";\\n readonly slot: \\"current-slot\\";\\n };\\n readonly else: {\\n readonly name: \\"string\\";\\n readonly location: \\"storage\\";\\n readonly slot: \\"current-slot\\";\\n readonly offset: 0;\\n readonly length: {\\n readonly $difference: readonly [\\"string-length\\", \\"previous-length\\"];\\n };\\n };\\n };\\n };\\n };\\n };\\n };\\n }];\\n };\\n }];\\n };\\n readonly \\"schema:ethdebug/format/type/base\\": {\\n readonly $schema: \\"https://json-schema.org/draft/2020-12/schema\\";\\n readonly $id: \\"schema:ethdebug/format/type/base\\";\\n readonly title: \\"ethdebug/format/type/base\\";\\n readonly description: \\"Defines the minimally necessary schema for a data type. Types belong to a particular `class` (`\\\\\\"elementary\\\\\\"` or `\\\\\\"complex\\\\\\"`), and are further identified by a particular `kind`.\\";\\n readonly type: \\"object\\";\\n readonly oneOf: readonly [{\\n readonly $ref: \\"#/$defs/ElementaryType\\";\\n }, {\\n readonly $ref: \\"#/$defs/ComplexType\\";\\n }];\\n readonly $defs: {\\n readonly ElementaryType: {\\n readonly title: \\"Base elementary type\\";\\n readonly description: \\"Represents an elementary type (one that does not compose other types)\\";\\n readonly type: \\"object\\";\\n readonly properties: {\\n readonly class: {\\n readonly type: \\"string\\";\\n readonly const: \\"elementary\\";\\n };\\n readonly kind: {\\n readonly type: \\"string\\";\\n };\\n readonly contains: {\\n readonly not: {\\n readonly description: \\"Elementary types **must not** specify a `contains` field (to make it easier to discriminate elementary vs. complex)\\";\\n };\\n };\\n };\\n readonly required: readonly [\\"kind\\"];\\n readonly examples: readonly [{\\n readonly kind: \\"uint\\";\\n readonly bits: 256;\\n }];\\n };\\n readonly ComplexType: {\\n readonly title: \\"Base complex type\\";\\n readonly description: \\"Represents a complex type, one that composes other types (e.g., arrays, structs, mappings)\\";\\n readonly type: \\"object\\";\\n readonly properties: {\\n readonly class: {\\n readonly type: \\"string\\";\\n readonly const: \\"complex\\";\\n readonly description: \\"Indicates that this is a complex type\\";\\n };\\n readonly kind: {\\n readonly type: \\"string\\";\\n readonly description: \\"The specific kind of complex type, e.g., array or struct\\";\\n };\\n readonly contains: {\\n readonly title: \\"Complex type `contains` field\\";\\n readonly description: \\"Either a type wrapper, an array of type wrappers, or an object mapping to type wrappers.\\";\\n readonly oneOf: readonly [{\\n readonly $ref: \\"#/$defs/TypeWrapper\\";\\n }, {\\n readonly $ref: \\"#/$defs/TypeWrapperArray\\";\\n }, {\\n readonly $ref: \\"#/$defs/TypeWrapperObject\\";\\n }];\\n };\\n };\\n readonly required: readonly [\\"kind\\", \\"contains\\"];\\n readonly examples: readonly [{\\n readonly kind: \\"array\\";\\n readonly contains: {\\n readonly type: {\\n readonly kind: \\"uint\\";\\n readonly bits: 256;\\n };\\n };\\n }, {\\n readonly kind: \\"struct\\";\\n readonly contains: readonly [{\\n readonly member: \\"x\\";\\n readonly type: {\\n readonly kind: \\"uint\\";\\n readonly bits: 256;\\n };\\n }, {\\n readonly member: \\"y\\";\\n readonly type: {\\n readonly kind: \\"uint\\";\\n readonly bits: 256;\\n };\\n }];\\n }, {\\n readonly kind: \\"mapping\\";\\n readonly contains: {\\n readonly key: {\\n readonly type: {\\n readonly kind: \\"address\\";\\n readonly payable: true;\\n };\\n };\\n readonly value: {\\n readonly type: {\\n readonly kind: \\"uint\\";\\n readonly bits: 256;\\n };\\n };\\n };\\n }];\\n };\\n readonly TypeWrapper: {\\n readonly title: \\"{ \\\\\\"type\\\\\\": ... }\\";\\n readonly description: \\"A wrapper around a type. Defines a `\\\\\\"type\\\\\\"` field that may include a full Type representation or a reference to a known Type by ID. Note that this schema permits additional properties on the same object.\\";\\n readonly type: \\"object\\";\\n readonly properties: {\\n readonly type: {\\n readonly oneOf: readonly [{\\n readonly $ref: \\"schema:ethdebug/format/type/base\\";\\n }, {\\n readonly $ref: \\"schema:ethdebug/format/type/reference\\";\\n }];\\n };\\n };\\n readonly required: readonly [\\"type\\"];\\n };\\n readonly TypeWrapperArray: {\\n readonly title: \\"{ \\\\\\"type\\\\\\": ... }[]\\";\\n readonly description: \\"A list of wrapped types, where the wrapper may add fields\\";\\n readonly type: \\"array\\";\\n readonly items: {\\n readonly $ref: \\"#/$defs/TypeWrapper\\";\\n };\\n };\\n readonly TypeWrapperObject: {\\n readonly title: \\"{ \\\\\\"key\\\\\\": { \\\\\\"type\\\\\\": ... }, ... }\\";\\n readonly description: \\"A key-value mapping of wrapped types, where the wrapper may add fields\\";\\n readonly type: \\"object\\";\\n readonly additionalProperties: {\\n readonly $ref: \\"#/$defs/TypeWrapper\\";\\n };\\n };\\n };\\n };\\n readonly \\"schema:ethdebug/format/type/complex/alias\\": {\\n readonly $schema: \\"https://json-schema.org/draft/2020-12/schema\\";\\n readonly $id: \\"schema:ethdebug/format/type/complex/alias\\";\\n readonly title: \\"ethdebug/format/type/complex/alias\\";\\n readonly description: \\"Schema representing a type alias to another type\\";\\n readonly type: \\"object\\";\\n readonly properties: {\\n readonly class: {\\n readonly type: \\"string\\";\\n readonly const: \\"complex\\";\\n };\\n readonly kind: {\\n readonly type: \\"string\\";\\n readonly const: \\"alias\\";\\n };\\n readonly contains: {\\n readonly $ref: \\"schema:ethdebug/format/type/wrapper\\";\\n };\\n readonly definition: {\\n readonly $ref: \\"schema:ethdebug/format/type/definition\\";\\n };\\n };\\n readonly required: readonly [\\"kind\\", \\"contains\\"];\\n readonly examples: readonly [{\\n readonly kind: \\"alias\\";\\n readonly contains: {\\n readonly type: {\\n readonly kind: \\"uint\\";\\n readonly bits: 256;\\n };\\n };\\n }, {\\n readonly kind: \\"alias\\";\\n readonly contains: {\\n readonly type: {\\n readonly kind: \\"array\\";\\n readonly contains: {\\n readonly type: {\\n readonly class: \\"elementary\\";\\n readonly kind: \\"super-uint\\";\\n readonly blits: -256;\\n };\\n };\\n };\\n };\\n }];\\n };\\n readonly \\"schema:ethdebug/format/type/complex/array\\": {\\n readonly $schema: \\"https://json-schema.org/draft/2020-12/schema\\";\\n readonly $id: \\"schema:ethdebug/format/type/complex/array\\";\\n readonly title: \\"ethdebug/format/type/complex/array\\";\\n readonly type: \\"object\\";\\n readonly properties: {\\n readonly class: {\\n readonly type: \\"string\\";\\n readonly const: \\"complex\\";\\n };\\n readonly kind: {\\n readonly type: \\"string\\";\\n readonly const: \\"array\\";\\n };\\n readonly contains: {\\n readonly $ref: \\"schema:ethdebug/format/type/wrapper\\";\\n };\\n };\\n readonly required: readonly [\\"kind\\", \\"contains\\"];\\n readonly examples: readonly [{\\n readonly kind: \\"array\\";\\n readonly contains: {\\n readonly type: {\\n readonly kind: \\"uint\\";\\n readonly bits: 256;\\n };\\n };\\n }, {\\n readonly kind: \\"array\\";\\n readonly contains: {\\n readonly type: {\\n readonly kind: \\"array\\";\\n readonly contains: {\\n readonly type: {\\n readonly class: \\"elementary\\";\\n readonly kind: \\"super-uint\\";\\n readonly blits: -256;\\n };\\n };\\n };\\n };\\n }];\\n };\\n readonly \\"schema:ethdebug/format/type/complex/function\\": {\\n readonly $schema: \\"https://json-schema.org/draft/2020-12/schema\\";\\n readonly $id: \\"schema:ethdebug/format/type/complex/function\\";\\n readonly title: \\"ethdebug/format/type/complex/function\\";\\n readonly description: \\"Schema for representing a function type.\\\\n\\\\nType representations must indicate whether they represent a function that is\\\\ncalled internally (within the semantics of the language) or a function that\\\\nis called externally (via EVM contract call semantics and the Solidity ABI).\\\\nInternal function types require the `\\\\\\"internal\\\\\\": true` field; external\\\\nfunction types require `\\\\\\"external\\\\\\": true`.\\\\n\\\\nNote that external function types may include a representation of the\\\\ncontract type that defines or provides this function as an external\\\\ninterface.\\\\n\\";\\n readonly type: \\"object\\";\\n readonly properties: {\\n readonly class: {\\n readonly type: \\"string\\";\\n readonly const: \\"complex\\";\\n };\\n readonly kind: {\\n readonly type: \\"string\\";\\n readonly const: \\"function\\";\\n };\\n readonly contains: {\\n readonly type: \\"object\\";\\n readonly title: \\"Parameter and return types\\";\\n readonly description: \\"Types this function type composes. Function types inherently compose\\\\ntwo groupings of types (an ordered list of parameter types and typically\\\\neither a return value or return parameters). Function types\' `contains`\\\\nfield is organized as a mapping of `parameters` types (a type wrapper for\\\\na tuple type) and an optional `returns` type (either a generic type\\\\nwrapper or a type wrapper for a tuple type).\\\\n\\\\nThis definition applies for both cases (internal and external function\\\\ntypes). Each of those specific types may expand this `contains` field\\\\nschema with other semantic details (such as an external function type\\\\nindicating the contract type from which it is exposed).\\\\n\\";\\n readonly properties: {\\n readonly parameters: {\\n readonly $ref: \\"#/$defs/Parameters\\";\\n };\\n readonly returns: {\\n readonly type: \\"object\\";\\n readonly title: \\"Return type (or tuple of types)\\";\\n readonly description: \\"To accommodate languages differing in whether functions return single\\\\nvalues or lists of values, this field may be either a generic type\\\\nwrapper or explicitly defined as a type wrapper around a tuple type.\\\\n\\\\nDebuggers that implement this schema **should** be aware that\\\\nlanguages whose functions return sole values might return tuple\\\\ntypes. Resolving this ambiguity remains outside the scope of the\\\\nschema (but compilers **must** be consistent when representing\\\\nfunction types in this schema).\\\\n\\";\\n readonly anyOf: readonly [{\\n readonly $ref: \\"schema:ethdebug/format/type/wrapper\\";\\n }, {\\n readonly $ref: \\"#/$defs/Parameters\\";\\n }];\\n };\\n };\\n readonly required: readonly [\\"parameters\\"];\\n };\\n readonly definition: {\\n readonly $ref: \\"schema:ethdebug/format/type/definition\\";\\n };\\n };\\n readonly oneOf: readonly [{\\n readonly type: \\"object\\";\\n readonly title: \\"External function type\\";\\n readonly properties: {\\n readonly internal: {\\n readonly const: false;\\n };\\n readonly external: {\\n readonly const: true;\\n };\\n readonly contains: {\\n readonly type: \\"object\\";\\n readonly title: \\"Additional contents\\";\\n readonly properties: {\\n readonly contract: {\\n readonly type: \\"object\\";\\n readonly title: \\"Contract type providing external function\\";\\n readonly description: \\"A wrapper around the contract type that composes this external function type.\\";\\n readonly allOf: readonly [{\\n readonly $ref: \\"schema:ethdebug/format/type/wrapper\\";\\n }, {\\n readonly type: \\"object\\";\\n readonly title: \\"Contract type wrapper\\";\\n readonly properties: {\\n readonly type: {\\n readonly $ref: \\"schema:ethdebug/format/type/elementary/contract\\";\\n };\\n };\\n }];\\n };\\n };\\n };\\n };\\n readonly required: readonly [\\"external\\"];\\n }, {\\n readonly type: \\"object\\";\\n readonly title: \\"Internal function type\\";\\n readonly properties: {\\n readonly internal: {\\n readonly const: true;\\n };\\n readonly external: {\\n readonly const: false;\\n };\\n };\\n readonly required: readonly [\\"internal\\"];\\n }];\\n readonly examples: readonly [{\\n readonly kind: \\"function\\";\\n readonly internal: true;\\n readonly definition: {\\n readonly name: \\"increment\\";\\n };\\n readonly contains: {\\n readonly parameters: {\\n readonly type: {\\n readonly kind: \\"tuple\\";\\n readonly contains: readonly [{\\n readonly name: \\"value\\";\\n readonly type: {\\n readonly kind: \\"uint\\";\\n readonly bits: 256;\\n };\\n }];\\n };\\n };\\n readonly returns: {\\n readonly type: {\\n readonly kind: \\"uint\\";\\n readonly bits: 256;\\n };\\n };\\n };\\n }, {\\n readonly kind: \\"function\\";\\n readonly external: true;\\n readonly definition: {\\n readonly name: \\"withdraw\\";\\n };\\n readonly contains: {\\n readonly contract: {\\n readonly type: {\\n readonly kind: \\"contract\\";\\n readonly payable: true;\\n readonly interface: true;\\n readonly definition: {\\n readonly name: \\"Bank\\";\\n };\\n };\\n };\\n readonly parameters: {\\n readonly type: {\\n readonly kind: \\"tuple\\";\\n readonly contains: readonly [{\\n readonly name: \\"beneficiary\\";\\n readonly type: {\\n readonly kind: \\"address\\";\\n readonly payable: true;\\n };\\n }, {\\n readonly name: \\"amount\\";\\n readonly type: {\\n readonly kind: \\"ufixed\\";\\n readonly bits: 128;\\n readonly places: 18;\\n };\\n }];\\n };\\n };\\n readonly returns: {\\n readonly type: {\\n readonly kind: \\"tuple\\";\\n readonly contains: readonly [];\\n };\\n };\\n };\\n }];\\n readonly $defs: {\\n readonly Parameters: {\\n readonly type: \\"object\\";\\n readonly title: \\"Parameters\\";\\n readonly description: \\"A type wrapper around a tuple of types. This schema uses a tuple type to represent an ordered list of types.\\";\\n readonly allOf: readonly [{\\n readonly $ref: \\"schema:ethdebug/format/type/wrapper\\";\\n }, {\\n readonly title: \\"Tuple type wrapper\\";\\n readonly type: \\"object\\";\\n readonly properties: {\\n readonly type: {\\n readonly $ref: \\"schema:ethdebug/format/type/complex/tuple\\";\\n };\\n };\\n }];\\n };\\n };\\n };\\n readonly \\"schema:ethdebug/format/type/complex/mapping\\": {\\n readonly $schema: \\"https://json-schema.org/draft/2020-12/schema\\";\\n readonly $id: \\"schema:ethdebug/format/type/complex/mapping\\";\\n readonly title: \\"ethdebug/format/type/complex/mapping\\";\\n readonly description: \\"Schema for representing mapping types\\";\\n readonly type: \\"object\\";\\n readonly properties: {\\n readonly class: {\\n readonly type: \\"string\\";\\n readonly const: \\"complex\\";\\n };\\n readonly kind: {\\n readonly type: \\"string\\";\\n readonly const: \\"mapping\\";\\n };\\n readonly contains: {\\n readonly type: \\"object\\";\\n readonly title: \\"Mapping key/value types\\";\\n readonly properties: {\\n readonly key: {\\n readonly $ref: \\"schema:ethdebug/format/type/wrapper\\";\\n };\\n readonly value: {\\n readonly $ref: \\"schema:ethdebug/format/type/wrapper\\";\\n };\\n };\\n readonly required: readonly [\\"key\\", \\"value\\"];\\n };\\n };\\n readonly required: readonly [\\"kind\\", \\"contains\\"];\\n readonly examples: readonly [{\\n readonly kind: \\"mapping\\";\\n readonly contains: {\\n readonly key: {\\n readonly type: {\\n readonly kind: \\"address\\";\\n };\\n };\\n readonly value: {\\n readonly type: {\\n readonly kind: \\"uint\\";\\n readonly bits: 256;\\n };\\n };\\n };\\n }];\\n };\\n readonly \\"schema:ethdebug/format/type/complex/struct\\": {\\n readonly $schema: \\"https://json-schema.org/draft/2020-12/schema\\";\\n readonly $id: \\"schema:ethdebug/format/type/complex/struct\\";\\n readonly title: \\"ethdebug/format/type/complex/struct\\";\\n readonly description: \\"Schema for representing struct types\\";\\n readonly type: \\"object\\";\\n readonly properties: {\\n readonly class: {\\n readonly type: \\"string\\";\\n readonly const: \\"complex\\";\\n };\\n readonly kind: {\\n readonly type: \\"string\\";\\n readonly const: \\"struct\\";\\n };\\n readonly contains: {\\n readonly type: \\"array\\";\\n readonly items: {\\n readonly $ref: \\"#/$defs/MemberField\\";\\n };\\n };\\n readonly definition: {\\n readonly $ref: \\"schema:ethdebug/format/type/definition\\";\\n };\\n };\\n readonly required: readonly [\\"kind\\", \\"contains\\"];\\n readonly examples: readonly [{\\n readonly kind: \\"struct\\";\\n readonly contains: readonly [{\\n readonly name: \\"x\\";\\n readonly type: {\\n readonly kind: \\"uint\\";\\n readonly bits: 128;\\n };\\n }, {\\n readonly name: \\"y\\";\\n readonly type: {\\n readonly kind: \\"uint\\";\\n readonly bits: 128;\\n };\\n }];\\n }];\\n readonly $defs: {\\n readonly MemberField: {\\n readonly type: \\"object\\";\\n readonly title: \\"MemberField\\";\\n readonly description: \\"A schema representing a member field inside a struct type. This is an **ethdebug/format/type/wrapper** with additional fields.\\";\\n readonly allOf: readonly [{\\n readonly $ref: \\"schema:ethdebug/format/type/wrapper\\";\\n }, {\\n readonly title: \\"Additional fields\\";\\n readonly description: \\"An object with optional `name` property for identifying named struct member fields. **Note** that this language does not specify that a struct must be consistent in its use of naming for all fields or none\\";\\n readonly type: \\"object\\";\\n readonly properties: {\\n readonly name: {\\n readonly type: \\"string\\";\\n };\\n };\\n }];\\n };\\n };\\n };\\n readonly \\"schema:ethdebug/format/type/complex/tuple\\": {\\n readonly $schema: \\"https://json-schema.org/draft/2020-12/schema\\";\\n readonly $id: \\"schema:ethdebug/format/type/complex/tuple\\";\\n readonly title: \\"ethdebug/format/type/complex/tuple\\";\\n readonly description: \\"Schema for representing tuple types\\";\\n readonly type: \\"object\\";\\n readonly properties: {\\n readonly class: {\\n readonly type: \\"string\\";\\n readonly const: \\"complex\\";\\n };\\n readonly kind: {\\n readonly type: \\"string\\";\\n readonly const: \\"tuple\\";\\n };\\n readonly contains: {\\n readonly type: \\"array\\";\\n readonly items: {\\n readonly $ref: \\"#/$defs/Element\\";\\n };\\n };\\n };\\n readonly required: readonly [\\"kind\\", \\"contains\\"];\\n readonly examples: readonly [{\\n readonly kind: \\"tuple\\";\\n readonly contains: readonly [];\\n }, {\\n readonly kind: \\"tuple\\";\\n readonly contains: readonly [{\\n readonly name: \\"x\\";\\n readonly type: {\\n readonly kind: \\"uint\\";\\n readonly bits: 128;\\n };\\n }, {\\n readonly name: \\"y\\";\\n readonly type: {\\n readonly kind: \\"uint\\";\\n readonly bits: 128;\\n };\\n }];\\n }];\\n readonly $defs: {\\n readonly Element: {\\n readonly type: \\"object\\";\\n readonly title: \\"Element\\";\\n readonly description: \\"An optionally named element type within a tuple. This is an **ethdebug/format/type/wrapper** with additional fields.\\";\\n readonly allOf: readonly [{\\n readonly $ref: \\"schema:ethdebug/format/type/wrapper\\";\\n }, {\\n readonly title: \\"Additional fields\\";\\n readonly type: \\"object\\";\\n readonly properties: {\\n readonly name: {\\n readonly type: \\"string\\";\\n readonly description: \\"For tuple types where positional element types are identified by name, this field **should** include this information.\\\\nThis schema makes no restriction on whether all-or-no elements have names, and so this field may be sparse across elements of the same tuple.\\";\\n };\\n };\\n }];\\n };\\n };\\n };\\n readonly \\"schema:ethdebug/format/type/complex\\": {\\n readonly $schema: \\"https://json-schema.org/draft/2020-12/schema\\";\\n readonly $id: \\"schema:ethdebug/format/type/complex\\";\\n readonly title: \\"ethdebug/format/type/complex\\";\\n readonly description: \\"Canonical representation of a complex type\\";\\n readonly type: \\"object\\";\\n readonly properties: {\\n readonly kind: {\\n readonly $ref: \\"#/$defs/Kind\\";\\n };\\n };\\n readonly required: readonly [\\"kind\\"];\\n readonly allOf: readonly [{\\n readonly if: {\\n readonly properties: {\\n readonly kind: {\\n readonly const: \\"alias\\";\\n };\\n };\\n };\\n readonly then: {\\n readonly $ref: \\"schema:ethdebug/format/type/complex/alias\\";\\n };\\n }, {\\n readonly if: {\\n readonly properties: {\\n readonly kind: {\\n readonly const: \\"tuple\\";\\n };\\n };\\n };\\n readonly then: {\\n readonly $ref: \\"schema:ethdebug/format/type/complex/tuple\\";\\n };\\n }, {\\n readonly if: {\\n readonly properties: {\\n readonly kind: {\\n readonly const: \\"array\\";\\n };\\n };\\n };\\n readonly then: {\\n readonly $ref: \\"schema:ethdebug/format/type/complex/array\\";\\n };\\n }, {\\n readonly if: {\\n readonly properties: {\\n readonly kind: {\\n readonly const: \\"mapping\\";\\n };\\n };\\n };\\n readonly then: {\\n readonly $ref: \\"schema:ethdebug/format/type/complex/mapping\\";\\n };\\n }, {\\n readonly if: {\\n readonly properties: {\\n readonly kind: {\\n readonly const: \\"struct\\";\\n };\\n };\\n };\\n readonly then: {\\n readonly $ref: \\"schema:ethdebug/format/type/complex/struct\\";\\n };\\n }, {\\n readonly if: {\\n readonly properties: {\\n readonly kind: {\\n readonly const: \\"function\\";\\n };\\n };\\n };\\n readonly then: {\\n readonly $ref: \\"schema:ethdebug/format/type/complex/function\\";\\n };\\n }];\\n readonly $defs: {\\n readonly Kind: {\\n readonly title: \\"Known complex kind\\";\\n readonly description: \\"A schema for the values of `kind` reserved for known complex types included in ethdebug/format\\";\\n readonly type: \\"string\\";\\n readonly enum: readonly [\\"alias\\", \\"tuple\\", \\"array\\", \\"mapping\\", \\"struct\\", \\"function\\"];\\n };\\n };\\n };\\n readonly \\"schema:ethdebug/format/type/definition\\": {\\n readonly $schema: \\"https://json-schema.org/draft/2020-12/schema\\";\\n readonly $id: \\"schema:ethdebug/format/type/definition\\";\\n readonly title: \\"ethdebug/format/type/definition\\";\\n readonly description: \\"Object containing name and location information for a type.\\\\n\\\\nThis schema does not require any particular field, but it **must** contain\\\\nat least one property.\\\\n\\";\\n readonly type: \\"object\\";\\n readonly properties: {\\n readonly name: {\\n readonly type: \\"string\\";\\n };\\n readonly location: {\\n readonly $ref: \\"schema:ethdebug/format/materials/source-range\\";\\n };\\n };\\n readonly anyOf: readonly [{\\n readonly title: \\"Required `name`\\";\\n readonly required: readonly [\\"name\\"];\\n }, {\\n readonly title: \\"Required `location`\\";\\n readonly required: readonly [\\"location\\"];\\n }];\\n readonly examples: readonly [{\\n readonly name: \\"Ballot\\";\\n readonly location: {\\n readonly source: {\\n readonly id: 5;\\n };\\n readonly range: {\\n readonly offset: 10;\\n readonly length: 56;\\n };\\n };\\n }];\\n };\\n readonly \\"schema:ethdebug/format/type/elementary/address\\": {\\n readonly $schema: \\"https://json-schema.org/draft/2020-12/schema\\";\\n readonly $id: \\"schema:ethdebug/format/type/elementary/address\\";\\n readonly title: \\"ethdebug/format/type/elementary/address\\";\\n readonly description: \\"Schema describing the representation of an address type\\";\\n readonly type: \\"object\\";\\n readonly properties: {\\n readonly class: {\\n readonly const: \\"elementary\\";\\n };\\n readonly kind: {\\n readonly const: \\"address\\";\\n };\\n readonly payable: {\\n readonly type: \\"boolean\\";\\n readonly description: \\"If this field is omitted, this type represents an address whose payability is not known.\\";\\n };\\n };\\n readonly required: readonly [\\"kind\\"];\\n readonly examples: readonly [{\\n readonly kind: \\"address\\";\\n }, {\\n readonly kind: \\"address\\";\\n readonly payable: true;\\n }];\\n };\\n readonly \\"schema:ethdebug/format/type/elementary/bool\\": {\\n readonly $schema: \\"https://json-schema.org/draft/2020-12/schema\\";\\n readonly $id: \\"schema:ethdebug/format/type/elementary/bool\\";\\n readonly title: \\"ethdebug/format/type/elementary/bool\\";\\n readonly description: \\"Schema describing the representation of the boolean type\\";\\n readonly type: \\"object\\";\\n readonly properties: {\\n readonly class: {\\n readonly const: \\"elementary\\";\\n };\\n readonly kind: {\\n readonly const: \\"bool\\";\\n };\\n };\\n readonly required: readonly [\\"kind\\"];\\n readonly examples: readonly [{\\n readonly kind: \\"bool\\";\\n }];\\n };\\n readonly \\"schema:ethdebug/format/type/elementary/bytes\\": {\\n readonly $schema: \\"https://json-schema.org/draft/2020-12/schema\\";\\n readonly $id: \\"schema:ethdebug/format/type/elementary/bytes\\";\\n readonly title: \\"ethdebug/format/type/elementary/bytes\\";\\n readonly description: \\"Schema describing the representation of a type of bytes string (either dynamic or static)\\";\\n readonly type: \\"object\\";\\n readonly properties: {\\n readonly class: {\\n readonly const: \\"elementary\\";\\n };\\n readonly kind: {\\n readonly const: \\"bytes\\";\\n };\\n readonly size: {\\n readonly type: \\"number\\";\\n readonly description: \\"The number of bytes in the bytes string. If this field is omitted, this type is the dynamic bytes string type.\\";\\n readonly minimum: 1;\\n };\\n };\\n readonly required: readonly [\\"kind\\"];\\n readonly examples: readonly [{\\n readonly kind: \\"bytes\\";\\n readonly size: 32;\\n }, {\\n readonly kind: \\"bytes\\";\\n }];\\n };\\n readonly \\"schema:ethdebug/format/type/elementary/contract\\": {\\n readonly $schema: \\"https://json-schema.org/draft/2020-12/schema\\";\\n readonly $id: \\"schema:ethdebug/format/type/elementary/contract\\";\\n readonly title: \\"ethdebug/format/type/elementary/contract\\";\\n readonly description: \\"Schema describing the representation of a contract type\\";\\n readonly type: \\"object\\";\\n readonly properties: {\\n readonly class: {\\n readonly const: \\"elementary\\";\\n };\\n readonly kind: {\\n readonly const: \\"contract\\";\\n };\\n readonly payable: {\\n readonly type: \\"boolean\\";\\n readonly description: \\"If this field is omitted, this type represents an address whose payability is not known.\\";\\n };\\n readonly definition: {\\n readonly $ref: \\"schema:ethdebug/format/type/definition\\";\\n };\\n };\\n readonly oneOf: readonly [{\\n readonly title: \\"Normal contract type\\";\\n readonly properties: {\\n readonly library: {\\n readonly const: false;\\n };\\n readonly interface: {\\n readonly const: false;\\n };\\n };\\n }, {\\n readonly title: \\"Contract library type\\";\\n readonly properties: {\\n readonly library: {\\n readonly const: true;\\n readonly description: \\"Indicates that this is a type representing a library\\";\\n };\\n };\\n readonly required: readonly [\\"library\\"];\\n }, {\\n readonly title: \\"Contract interface type\\";\\n readonly properties: {\\n readonly interface: {\\n readonly const: true;\\n readonly description: \\"Indicates that this is a type representing an interface\\";\\n };\\n };\\n readonly required: readonly [\\"interface\\"];\\n }];\\n readonly required: readonly [\\"kind\\"];\\n readonly examples: readonly [{\\n readonly kind: \\"contract\\";\\n }, {\\n readonly kind: \\"contract\\";\\n readonly library: false;\\n readonly interface: false;\\n readonly payable: true;\\n }];\\n };\\n readonly \\"schema:ethdebug/format/type/elementary/enum\\": {\\n readonly $schema: \\"https://json-schema.org/draft/2020-12/schema\\";\\n readonly $id: \\"schema:ethdebug/format/type/elementary/enum\\";\\n readonly title: \\"ethdebug/format/type/elementary/enum\\";\\n readonly description: \\"Schema describing the representation of an enumerated type\\";\\n readonly type: \\"object\\";\\n readonly properties: {\\n readonly class: {\\n readonly const: \\"elementary\\";\\n };\\n readonly kind: {\\n readonly const: \\"enum\\";\\n };\\n readonly values: {\\n readonly description: \\"The allowed values of an enum. This format makes no restriction on which values are allowed here.\\";\\n readonly type: \\"array\\";\\n readonly items: true;\\n };\\n readonly definition: {\\n readonly $ref: \\"schema:ethdebug/format/type/definition\\";\\n };\\n };\\n readonly required: readonly [\\"kind\\", \\"values\\"];\\n readonly examples: readonly [{\\n readonly kind: \\"enum\\";\\n readonly values: readonly [\\"A\\", \\"B\\", \\"C\\"];\\n }];\\n };\\n readonly \\"schema:ethdebug/format/type/elementary/fixed\\": {\\n readonly $schema: \\"https://json-schema.org/draft/2020-12/schema\\";\\n readonly $id: \\"schema:ethdebug/format/type/elementary/fixed\\";\\n readonly title: \\"ethdebug/format/type/elementary/fixed\\";\\n readonly description: \\"Schema describing the representation of a signed fixed decimal type\\";\\n readonly type: \\"object\\";\\n readonly properties: {\\n readonly class: {\\n readonly const: \\"elementary\\";\\n };\\n readonly kind: {\\n readonly const: \\"fixed\\";\\n };\\n readonly bits: {\\n readonly type: \\"number\\";\\n readonly multipleOf: 8;\\n readonly minimum: 8;\\n readonly maximum: 256;\\n };\\n readonly places: {\\n readonly type: \\"number\\";\\n readonly description: \\"How many decimal places, implying that a raw value `v` of this type should be interpreted as `v / (10**places)`\\";\\n readonly minimum: 1;\\n readonly maximum: 80;\\n };\\n };\\n readonly required: readonly [\\"kind\\", \\"bits\\", \\"places\\"];\\n readonly examples: readonly [{\\n readonly kind: \\"fixed\\";\\n readonly bits: 256;\\n readonly places: 10;\\n }];\\n };\\n readonly \\"schema:ethdebug/format/type/elementary/int\\": {\\n readonly $schema: \\"https://json-schema.org/draft/2020-12/schema\\";\\n readonly $id: \\"schema:ethdebug/format/type/elementary/int\\";\\n readonly title: \\"ethdebug/format/type/elementary/int\\";\\n readonly description: \\"Schema describing the representation of a signed integer type\\";\\n readonly type: \\"object\\";\\n readonly properties: {\\n readonly class: {\\n readonly const: \\"elementary\\";\\n };\\n readonly kind: {\\n readonly const: \\"int\\";\\n };\\n readonly bits: {\\n readonly type: \\"number\\";\\n readonly multipleOf: 8;\\n readonly minimum: 8;\\n readonly maximum: 256;\\n };\\n };\\n readonly required: readonly [\\"kind\\", \\"bits\\"];\\n readonly examples: readonly [{\\n readonly kind: \\"int\\";\\n readonly bits: 256;\\n }];\\n };\\n readonly \\"schema:ethdebug/format/type/elementary/string\\": {\\n readonly $schema: \\"https://json-schema.org/draft/2020-12/schema\\";\\n readonly $id: \\"schema:ethdebug/format/type/elementary/string\\";\\n readonly title: \\"ethdebug/format/type/elementary/string\\";\\n readonly description: \\"Schema describing the representation of a string type\\";\\n readonly type: \\"object\\";\\n readonly properties: {\\n readonly class: {\\n readonly const: \\"elementary\\";\\n };\\n readonly kind: {\\n readonly const: \\"string\\";\\n };\\n readonly encoding: {\\n readonly type: \\"string\\";\\n readonly default: \\"utf-8\\";\\n };\\n };\\n readonly required: readonly [\\"kind\\"];\\n readonly examples: readonly [{\\n readonly kind: \\"string\\";\\n }, {\\n readonly kind: \\"string\\";\\n readonly encoding: \\"utf-16\\";\\n }];\\n };\\n readonly \\"schema:ethdebug/format/type/elementary/ufixed\\": {\\n readonly $schema: \\"https://json-schema.org/draft/2020-12/schema\\";\\n readonly $id: \\"schema:ethdebug/format/type/elementary/ufixed\\";\\n readonly title: \\"ethdebug/format/type/elementary/ufixed\\";\\n readonly description: \\"Schema describing the representation of an unsigned fixed decimal type\\";\\n readonly type: \\"object\\";\\n readonly properties: {\\n readonly class: {\\n readonly const: \\"elementary\\";\\n };\\n readonly kind: {\\n readonly const: \\"ufixed\\";\\n };\\n readonly bits: {\\n readonly type: \\"number\\";\\n readonly multipleOf: 8;\\n readonly minimum: 8;\\n readonly maximum: 256;\\n };\\n readonly places: {\\n readonly type: \\"number\\";\\n readonly description: \\"How many decimal places, implying that a raw value `v` of this type should be interpreted as `v / (10**places)`\\";\\n readonly minimum: 1;\\n readonly maximum: 80;\\n };\\n };\\n readonly required: readonly [\\"kind\\", \\"bits\\", \\"places\\"];\\n readonly examples: readonly [{\\n readonly kind: \\"ufixed\\";\\n readonly bits: 256;\\n readonly places: 10;\\n }];\\n };\\n readonly \\"schema:ethdebug/format/type/elementary/uint\\": {\\n readonly $schema: \\"https://json-schema.org/draft/2020-12/schema\\";\\n readonly $id: \\"schema:ethdebug/format/type/elementary/uint\\";\\n readonly title: \\"ethdebug/format/type/elementary/uint\\";\\n readonly description: \\"Schema describing the representation of an unsigned integer type\\";\\n readonly type: \\"object\\";\\n readonly properties: {\\n readonly class: {\\n readonly const: \\"elementary\\";\\n };\\n readonly kind: {\\n readonly const: \\"uint\\";\\n };\\n readonly bits: {\\n readonly type: \\"number\\";\\n readonly multipleOf: 8;\\n readonly minimum: 8;\\n readonly maximum: 256;\\n };\\n };\\n readonly required: readonly [\\"kind\\", \\"bits\\"];\\n readonly examples: readonly [{\\n readonly kind: \\"uint\\";\\n readonly bits: 256;\\n }];\\n };\\n readonly \\"schema:ethdebug/format/type/elementary\\": {\\n readonly $schema: \\"https://json-schema.org/draft/2020-12/schema\\";\\n readonly $id: \\"schema:ethdebug/format/type/elementary\\";\\n readonly title: \\"ethdebug/format/type/elementary\\";\\n readonly description: \\"Canonical representation of an elementary type\\";\\n readonly type: \\"object\\";\\n readonly properties: {\\n readonly kind: {\\n readonly $ref: \\"#/$defs/Kind\\";\\n };\\n };\\n readonly required: readonly [\\"kind\\"];\\n readonly allOf: readonly [{\\n readonly if: {\\n readonly properties: {\\n readonly kind: {\\n readonly const: \\"uint\\";\\n };\\n };\\n };\\n readonly then: {\\n readonly $ref: \\"schema:ethdebug/format/type/elementary/uint\\";\\n };\\n }, {\\n readonly if: {\\n readonly properties: {\\n readonly kind: {\\n readonly const: \\"int\\";\\n };\\n };\\n };\\n readonly then: {\\n readonly $ref: \\"schema:ethdebug/format/type/elementary/int\\";\\n };\\n }, {\\n readonly if: {\\n readonly properties: {\\n readonly kind: {\\n readonly const: \\"bool\\";\\n };\\n };\\n };\\n readonly then: {\\n readonly $ref: \\"schema:ethdebug/format/type/elementary/bool\\";\\n };\\n }, {\\n readonly if: {\\n readonly properties: {\\n readonly kind: {\\n readonly const: \\"bytes\\";\\n };\\n };\\n };\\n readonly then: {\\n readonly $ref: \\"schema:ethdebug/format/type/elementary/bytes\\";\\n };\\n }, {\\n readonly if: {\\n readonly properties: {\\n readonly kind: {\\n readonly const: \\"string\\";\\n };\\n };\\n };\\n readonly then: {\\n readonly $ref: \\"schema:ethdebug/format/type/elementary/string\\";\\n };\\n }, {\\n readonly if: {\\n readonly properties: {\\n readonly kind: {\\n readonly const: \\"ufixed\\";\\n };\\n };\\n };\\n readonly then: {\\n readonly $ref: \\"schema:ethdebug/format/type/elementary/ufixed\\";\\n };\\n }, {\\n readonly if: {\\n readonly properties: {\\n readonly kind: {\\n readonly const: \\"fixed\\";\\n };\\n };\\n };\\n readonly then: {\\n readonly $ref: \\"schema:ethdebug/format/type/elementary/fixed\\";\\n };\\n }, {\\n readonly if: {\\n readonly properties: {\\n readonly kind: {\\n readonly const: \\"address\\";\\n };\\n };\\n };\\n readonly then: {\\n readonly $ref: \\"schema:ethdebug/format/type/elementary/address\\";\\n };\\n }, {\\n readonly if: {\\n readonly properties: {\\n readonly kind: {\\n readonly const: \\"contract\\";\\n };\\n };\\n };\\n readonly then: {\\n readonly $ref: \\"schema:ethdebug/format/type/elementary/contract\\";\\n };\\n }, {\\n readonly if: {\\n readonly properties: {\\n readonly kind: {\\n readonly const: \\"enum\\";\\n };\\n };\\n };\\n readonly then: {\\n readonly $ref: \\"schema:ethdebug/format/type/elementary/enum\\";\\n };\\n }];\\n readonly $defs: {\\n readonly Kind: {\\n readonly title: \\"Known elementary kind\\";\\n readonly description: \\"A schema for the values of `kind` reserved for known elementary types included in ethdebug/format\\";\\n readonly type: \\"string\\";\\n readonly enum: readonly [\\"uint\\", \\"int\\", \\"bool\\", \\"bytes\\", \\"string\\", \\"ufixed\\", \\"fixed\\", \\"address\\", \\"contract\\", \\"enum\\"];\\n };\\n };\\n };\\n readonly \\"schema:ethdebug/format/type/reference\\": {\\n readonly $schema: \\"https://json-schema.org/draft/2020-12/schema\\";\\n readonly $id: \\"schema:ethdebug/format/type/reference\\";\\n readonly title: \\"ethdebug/format/type/reference\\";\\n readonly description: \\"A reference to a known type by ID\\";\\n readonly type: \\"object\\";\\n readonly properties: {\\n readonly id: {\\n readonly type: readonly [\\"string\\", \\"number\\"];\\n };\\n };\\n readonly additionalProperties: false;\\n readonly required: readonly [\\"id\\"];\\n readonly examples: readonly [{\\n readonly id: 5;\\n }];\\n };\\n readonly \\"schema:ethdebug/format/type/wrapper\\": {\\n readonly $schema: \\"https://json-schema.org/draft/2020-12/schema\\";\\n readonly $id: \\"schema:ethdebug/format/type/wrapper\\";\\n readonly title: \\"ethdebug/format/type/wrapper\\";\\n readonly description: \\"A wrapper around a type. Defines a `\\\\\\"type\\\\\\"` field that may include a full Type representation or a reference to a known Type by ID. Note that this schema permits additional properties on the same object.\\";\\n readonly type: \\"object\\";\\n readonly properties: {\\n readonly type: {\\n readonly if: {\\n readonly required: readonly [\\"id\\"];\\n };\\n readonly then: {\\n readonly $ref: \\"schema:ethdebug/format/type/reference\\";\\n };\\n readonly else: {\\n readonly $ref: \\"schema:ethdebug/format/type\\";\\n };\\n };\\n };\\n readonly required: readonly [\\"type\\"];\\n readonly examples: readonly [{\\n readonly name: \\"beneficiary\\";\\n readonly type: {\\n readonly kind: \\"address\\";\\n readonly payable: true;\\n };\\n }, {\\n readonly type: {\\n readonly id: \\"<opaque-id>\\";\\n };\\n }];\\n readonly $defs: {\\n readonly Array: {\\n readonly title: \\"{ \\\\\\"type\\\\\\": ... }[]\\";\\n readonly description: \\"A list of wrapped types, where the wrapper may add fields\\";\\n readonly type: \\"array\\";\\n readonly items: {\\n readonly $ref: \\"schema:ethdebug/format/type/wrapper\\";\\n };\\n };\\n readonly Object: {\\n readonly title: \\"{ \\\\\\"key\\\\\\": { \\\\\\"type\\\\\\": ... }, ... }\\";\\n readonly description: \\"A key-value mapping of wrapped types, where the wrapper may add fields\\";\\n readonly type: \\"object\\";\\n readonly additionalProperties: {\\n readonly $ref: \\"schema:ethdebug/format/type/wrapper\\";\\n };\\n };\\n };\\n };\\n readonly \\"schema:ethdebug/format/type\\": {\\n readonly $schema: \\"https://json-schema.org/draft/2020-12/schema\\";\\n readonly $id: \\"schema:ethdebug/format/type\\";\\n readonly title: \\"ethdebug/format/type\\";\\n readonly description: \\"Canonical representation for all types.\\";\\n readonly type: \\"object\\";\\n readonly if: {\\n readonly type: \\"object\\";\\n readonly title: \\"Known kind\\";\\n readonly description: \\"If `kind` adheres to the set of known kinds defined by this format\\";\\n readonly properties: {\\n readonly kind: {\\n readonly anyOf: readonly [{\\n readonly $ref: \\"schema:ethdebug/format/type/elementary#/$defs/Kind\\";\\n }, {\\n readonly $ref: \\"schema:ethdebug/format/type/complex#/$defs/Kind\\";\\n }];\\n };\\n };\\n };\\n readonly then: {\\n readonly type: \\"object\\";\\n readonly title: \\"KnownType\\";\\n readonly description: \\"Then the object must adhere to exactly one known kind of type\\";\\n readonly allOf: readonly [{\\n readonly if: {\\n readonly properties: {\\n readonly kind: {\\n readonly $ref: \\"schema:ethdebug/format/type/elementary#/$defs/Kind\\";\\n };\\n };\\n };\\n readonly then: {\\n readonly $ref: \\"schema:ethdebug/format/type/elementary\\";\\n };\\n }, {\\n readonly if: {\\n readonly properties: {\\n readonly kind: {\\n readonly $ref: \\"schema:ethdebug/format/type/complex#/$defs/Kind\\";\\n };\\n };\\n };\\n readonly then: {\\n readonly $ref: \\"schema:ethdebug/format/type/complex\\";\\n };\\n }];\\n };\\n readonly else: {\\n readonly type: \\"object\\";\\n readonly description: \\"Else the object must be a valid **ethdebug/format/type/base** with additional constraints\\";\\n readonly allOf: readonly [{\\n readonly $ref: \\"schema:ethdebug/format/type/base\\";\\n }, {\\n readonly title: \\"Required `class` field\\";\\n readonly required: readonly [\\"class\\"];\\n }, {\\n readonly title: \\"Specialized complex type `contains` field\\";\\n readonly type: \\"object\\";\\n readonly if: {\\n readonly description: \\"If this object is a complex type\\";\\n readonly properties: {\\n readonly class: {\\n readonly const: \\"complex\\";\\n };\\n };\\n };\\n readonly then: {\\n readonly description: \\"Then the `contains` field must adhere to **ethdebug/format/type/wrapper** schemas, not the **ethdebug/format/type/base** equivalent.\\\\n(i.e., these additional constraints must apply recursively)\\";\\n readonly properties: {\\n readonly contains: {\\n readonly oneOf: readonly [{\\n readonly $ref: \\"schema:ethdebug/format/type/wrapper\\";\\n }, {\\n readonly $ref: \\"schema:ethdebug/format/type/wrapper#/$defs/Array\\";\\n }, {\\n readonly $ref: \\"schema:ethdebug/format/type/wrapper#/$defs/Object\\";\\n }];\\n };\\n };\\n };\\n }];\\n };\\n };\\n};\\nexport type Schema<Id extends keyof typeof rawSchemas> = (typeof rawSchemas)[Id];\\nexport {};\\n//# sourceMappingURL=yamls.d.ts.map"},{"filePath":"src/cursor.ts","text":"import type { Machine } from \\"./machine.js\\";\\nimport type { Pointer } from \\"./pointer.js\\";\\nimport type { Data } from \\"./data.js\\";\\n\\n/**\\n * The result of dereferencing a pointer\\n */\\nexport interface Cursor {\\n view(state: Machine.State): Promise<Cursor.View>;\\n}\\n\\nexport namespace Cursor {\\n /**\\n * The result of viewing a Cursor with a given Machine.State\\n */\\n export interface View {\\n /**\\n * A collection of concrete Cursor.Regions; this is a plain array of\\n * regions and also provides filtering/lookup of regions by name\\n * (according to the scoping rules outlined in the specification)\\n */\\n regions: Cursor.Regions;\\n\\n /**\\n * Read bytes from the machine state corresponding to the bytes range\\n * for a particular concrete Cursor.Region\\n */\\n read(region: Cursor.Region): Promise<Data>;\\n }\\n\\n /**\\n * A Pointer region where all dynamic expressions have been replaced with\\n * concrete bytes values.\\n */\\n export type Region<R extends Pointer.Region = Pointer.Region> = {\\n [K in keyof R]: K extends \\"slot\\" | \\"offset\\" | \\"length\\"\\n ? R[K] extends Pointer.Expression\\n ? Data\\n : R[K] extends Pointer.Expression | undefined\\n ? Data | undefined\\n : R[K]\\n : R[K];\\n }\\n\\n /**\\n * A collection of concrete regions.\\n *\\n * This collection serves as a plain array of regions, for simple iteration\\n * and whatever filtering.\\n *\\n * It also provides a couple interfaces of its own for accessing regions by\\n * name.\\n */\\n export type Regions =\\n & Cursor.Region[]\\n & {\\n /**\\n * Obtain an ordered list of all regions with a particular name.\\n *\\n * This is useful, e.g., when looking to concatenate a series of\\n * sequential regions that were generated by index from a list\\n * collection\\n */\\n named(name: string): Cursor.Region[];\\n\\n /**\\n * Retrieve the last concrete region generated with a particular name\\n */\\n lookup: { [name: string]: Cursor.Region };\\n };\\n}\\n"},{"filePath":"src/data.test.ts","text":"import { expect, describe, it } from \\"@jest/globals\\";\\n\\nimport { Data } from \\"./data.js\\";\\n\\ndescribe(\\"Data\\", () => {\\n describe(\\".prototype.asUint()\\", () => {\\n it(\\"correctly converts to integers (big endian)\\", () => {\\n const data = new Data([0x01, 0x00]);\\n\\n expect(`${data.asUint()}`).toBe(\\"256\\");\\n });\\n });\\n\\n describe(\\".fromUint()\\", () => {\\n it(\\"correctly creates Data instances from bigints\\", () => {\\n const data1 = Data.fromUint(0n);\\n expect(data1).toEqual(new Data([]));\\n\\n const data2 = Data.fromUint(255n);\\n expect(data2).toEqual(new Data([0xff]));\\n\\n const data3 = Data.fromUint(256n);\\n expect(data3).toEqual(new Data([0x01, 0x00]));\\n\\n const data4 = Data.fromUint(1234567890n);\\n expect(data4).toEqual(new Data([0x49, 0x96, 0x02, 0xd2]));\\n });\\n });\\n\\n describe(\\".fromNumber()\\", () => {\\n it(\\"correctly creates Data instances from numbers\\", () => {\\n const data1 = Data.fromNumber(0);\\n expect(data1).toEqual(Data.zero());\\n\\n const data2 = Data.fromNumber(255);\\n expect(data2).toEqual(new Data([0xff]));\\n\\n const data3 = Data.fromNumber(256);\\n expect(data3).toEqual(new Data([0x01, 0x00]));\\n });\\n });\\n\\n describe(\\".fromHex()\\", () => {\\n it(\\"correctly creates Data instances from hex strings\\", () => {\\n const data1 = Data.fromHex(\\"0x00\\");\\n expect(data1).toEqual(new Data([0x00]));\\n\\n const data2 = Data.fromHex(\\"0xff\\");\\n expect(data2).toEqual(new Data([0xff]));\\n\\n const data3 = Data.fromHex(\\"0x0100\\");\\n expect(data3).toEqual(new Data([0x01, 0x00]));\\n\\n const data4 = Data.fromHex(\\"0x499602d2\\");\\n expect(data4).toEqual(new Data([0x49, 0x96, 0x02, 0xd2]));\\n });\\n\\n it(\\"throws an error for invalid hex string format\\", () => {\\n expect(() => Data.fromHex(\\"ff\\")).toThrow(\\"Invalid hex string format. Expected \\\\\\"0x\\\\\\" prefix.\\");\\n });\\n });\\n});\\n"},{"filePath":"src/data.ts","text":"import { toHex } from \\"ethereum-cryptography/utils\\";\\n\\nexport class Data extends Uint8Array {\\n static zero(): Data {\\n return new Data([]);\\n }\\n\\n static fromUint(value: bigint): Data {\\n if (value === 0n) {\\n return this.zero();\\n }\\n\\n const byteCount = Math.ceil(Number(value.toString(2).length) / 8);\\n const bytes = new Uint8Array(byteCount);\\n for (let i = byteCount - 1; i >= 0; i--) {\\n bytes[i] = Number(value & 0xffn);\\n value >>= 8n;\\n }\\n return new Data(bytes);\\n }\\n\\n static fromNumber(value: number): Data {\\n const byteCount = Math.ceil(Math.log2(value + 1) / 8);\\n const bytes = new Uint8Array(byteCount);\\n for (let i = byteCount - 1; i >= 0; i--) {\\n bytes[i] = value & 0xff;\\n value >>= 8;\\n }\\n return new Data(bytes);\\n }\\n\\n static fromHex(hex: string): Data {\\n if (!hex.startsWith(\'0x\')) {\\n throw new Error(\'Invalid hex string format. Expected \\"0x\\" prefix.\');\\n }\\n const bytes = new Uint8Array(hex.length / 2 - 1);\\n for (let i = 2; i < hex.length; i += 2) {\\n bytes[i / 2 - 1] = parseInt(hex.slice(i, i + 2), 16);\\n }\\n return new Data(bytes);\\n }\\n\\n static fromBytes(bytes: Uint8Array): Data {\\n return new Data(bytes);\\n }\\n\\n asUint(): bigint {\\n const bits = 8n;\\n\\n let value = 0n;\\n for (const byte of this.values()) {\\n const byteValue = BigInt(byte)\\n value = (value << bits) + byteValue\\n }\\n return value;\\n }\\n\\n toHex(): string {\\n return `0x${toHex(this)}`;\\n }\\n}\\n"},{"filePath":"src/evaluate.test.ts","text":"import { expect, describe, it, beforeEach } from \\"@jest/globals\\";\\nimport { keccak256 } from \\"ethereum-cryptography/keccak\\";\\nimport { toHex } from \\"ethereum-cryptography/utils\\";\\nimport { Machine } from \\"./machine.js\\";\\nimport { Data } from \\"./data.js\\";\\nimport { Cursor } from \\"./cursor.js\\";\\nimport { Pointer } from \\"./pointer.js\\";\\nimport { evaluate, type EvaluateOptions } from \\"./evaluate.js\\";\\n\\n// Create a stub for the Machine.State interface\\nconst state: Machine.State = {\\n traceIndex: Promise.resolve(0n),\\n opcode: Promise.resolve(\\"PUSH1\\"),\\n programCounter: Promise.resolve(10n),\\n stack: {\\n length: 50n\\n } as any,\\n memory: {} as any,\\n storage: {} as any,\\n calldata: {} as any,\\n returndata: {} as any,\\n transient: {} as any,\\n code: {} as any,\\n};\\n\\ndescribe(\\"evaluate\\", () => {\\n let regions: { [identifier: string]: Cursor.Region };\\n let variables: { [identifier: string]: Data };\\n let cursor: Cursor;\\n let options: EvaluateOptions;\\n\\n beforeEach(() => {\\n variables = {\\n foo: Data.fromNumber(42),\\n bar: Data.fromHex(\\"0x1f\\"),\\n };\\n\\n regions = {\\n stack: {\\n name: \\"stack\\",\\n location: \\"stack\\",\\n slot: Data.fromNumber(42),\\n offset: Data.fromNumber(0x60),\\n length: Data.fromNumber(0x1f / 2)\\n },\\n memory: {\\n name: \\"memory\\",\\n location: \\"memory\\",\\n offset: Data.fromNumber(0x20 * 0x05),\\n length: Data.fromNumber(42 - 0x1f)\\n }\\n } ;\\n\\n options = {\\n state,\\n variables,\\n regions\\n }\\n });\\n\\n it(\\"evaluates literal expressions\\", async () => {\\n expect(await evaluate(42, options))\\n .toEqual(Data.fromNumber(42));\\n\\n expect(await evaluate(\\"0x1f\\", options))\\n .toEqual(Data.fromHex(\\"0x1f\\"));\\n });\\n\\n it(\\"evaluates constant expressions\\", async () => {\\n expect(await evaluate(\\"$wordsize\\", options))\\n .toEqual(Data.fromHex(\\"0x20\\"));\\n });\\n\\n it(\\"evaluates variable expressions\\", async () => {\\n expect(await evaluate(\\"foo\\", options))\\n .toEqual(Data.fromNumber(42));\\n\\n expect(await evaluate(\\"bar\\", options))\\n .toEqual(Data.fromHex(\\"0x1f\\"));\\n });\\n\\n it(\\"evaluates sum expressions\\", async () => {\\n const expression: Pointer.Expression = {\\n $sum: [42, \\"0x1f\\", \\"foo\\", \\"bar\\"]\\n };\\n\\n expect(await evaluate(expression, options))\\n .toEqual(Data.fromUint(42n + 0x1fn + 42n + 0x1fn));\\n });\\n\\n it(\\"evaluates difference expressions\\", async () => {\\n const expression: Pointer.Expression = {\\n $difference: [\\"foo\\", \\"bar\\"]\\n };\\n\\n expect(await evaluate(expression, options))\\n .toEqual(Data.fromUint(42n - 0x1fn));\\n });\\n\\n it(\\"evaluates product expressions\\", async () => {\\n const expression: Pointer.Expression = {\\n $product: [42, \\"0x1f\\", \\"foo\\", \\"bar\\"]\\n };\\n\\n expect(await evaluate(expression, options))\\n .toEqual(Data.fromUint(42n * 0x1fn * 42n * 0x1fn));\\n });\\n\\n it(\\"evaluates quotient expressions\\", async () => {\\n const expression: Pointer.Expression = {\\n $quotient: [\\"foo\\", \\"bar\\"]\\n };\\n\\n expect(await evaluate(expression, options))\\n .toEqual(Data.fromUint(42n / 0x1fn));\\n });\\n\\n it(\\"evaluates remainder expressions\\", async () => {\\n const expression: Pointer.Expression = {\\n $remainder: [\\"foo\\", \\"bar\\"]\\n };\\n\\n expect(await evaluate(expression, options))\\n .toEqual(Data.fromUint(42n % 0x1fn));\\n });\\n\\n // skipped because test does not perform proper padding\\n it.skip(\\"evaluates keccak256 expressions\\", async () => {\\n const expression: Pointer.Expression = {\\n $keccak256: [\\"foo\\", \\"bar\\", 42, \\"0x1f\\"]\\n };\\n\\n const expectedHash = keccak256(\\n Buffer.from(\\n toHex(Data.fromNumber(42)).slice(2) +\\n toHex(Data.fromHex(\\"0x1f\\")).slice(2) +\\n toHex(variables.foo).slice(2) +\\n toHex(variables.bar).slice(2),\\n \\"hex\\"\\n )\\n );\\n\\n expect(await evaluate(expression, options))\\n .toEqual(Data.fromBytes(expectedHash));\\n });\\n\\n it(\\"evaluates offset lookup expressions\\", async () => {\\n const expression: Pointer.Expression = {\\n \\".offset\\": \\"stack\\"\\n };\\n\\n expect(await evaluate(expression, options))\\n .toEqual(Data.fromUint(0x60n));\\n });\\n\\n it(\\"evaluates offset lookup expressions with $this\\", async () => {\\n const expression: Pointer.Expression = {\\n \\".offset\\": \\"$this\\"\\n };\\n\\n const $this = {\\n name: \\"$this\\",\\n location: \\"memory\\",\\n offset: Data.fromNumber(0x120),\\n length: Data.fromNumber(0x40)\\n } as const;\\n\\n expect(\\n await evaluate(expression, {\\n ...options,\\n regions: {\\n ...regions,\\n $this\\n }\\n })\\n ).toEqual(Data.fromUint(0x120n));\\n });\\n\\n it(\\"evaluates length lookup expressions\\", async () => {\\n const expression: Pointer.Expression = {\\n \\".length\\": \\"memory\\"\\n };\\n\\n expect(await evaluate(expression, options))\\n .toEqual(Data.fromUint(11n));\\n });\\n\\n it(\\"evaluates slot lookup expressions\\", async () => {\\n const expression: Pointer.Expression = {\\n \\".slot\\": \\"stack\\"\\n };\\n\\n expect(await evaluate(expression, options))\\n .toEqual(Data.fromNumber(42));\\n });\\n});\\n"},{"filePath":"src/evaluate.ts","text":"import { Pointer } from \\"./pointer.js\\";\\nimport { Machine } from \\"./machine.js\\";\\nimport { Data } from \\"./data.js\\";\\nimport type { Cursor } from \\"./cursor.js\\";\\nimport { read } from \\"./read.js\\";\\nimport { keccak256 } from \\"ethereum-cryptography/keccak\\";\\nimport { toHex } from \\"ethereum-cryptography/utils\\";\\n\\nexport interface EvaluateOptions {\\n state: Machine.State;\\n regions: {\\n [identifier: string]: Cursor.Region;\\n };\\n variables: {\\n [identifier: string]: Data;\\n };\\n}\\n\\nexport async function evaluate(\\n expression: Pointer.Expression,\\n options: EvaluateOptions\\n): Promise<Data> {\\n if (Pointer.Expression.isLiteral(expression)) {\\n return evaluateLiteral(expression);\\n }\\n\\n if (Pointer.Expression.isConstant(expression)) {\\n return evaluateConstant(expression);\\n }\\n\\n if (Pointer.Expression.isVariable(expression)) {\\n return evaluateVariable(expression, options);\\n }\\n\\n if (Pointer.Expression.isArithmetic(expression)) {\\n if (Pointer.Expression.Arithmetic.isSum(expression)) {\\n return evaluateArithmeticSum(expression, options);\\n }\\n\\n if (Pointer.Expression.Arithmetic.isDifference(expression)) {\\n return evaluateArithmeticDifference(expression, options);\\n }\\n\\n if (Pointer.Expression.Arithmetic.isProduct(expression)) {\\n return evaluateArithmeticProduct(expression, options);\\n }\\n\\n if (Pointer.Expression.Arithmetic.isQuotient(expression)) {\\n return evaluateArithmeticQuotient(expression, options);\\n }\\n\\n if (Pointer.Expression.Arithmetic.isRemainder(expression)) {\\n return evaluateArithmeticRemainder(expression, options);\\n }\\n }\\n\\n if (Pointer.Expression.isKeccak256(expression)) {\\n return evaluateKeccak256(expression, options);\\n }\\n\\n if (Pointer.Expression.isLookup(expression)) {\\n if (Pointer.Expression.Lookup.isOffset(expression)) {\\n return evaluateLookup(\\".offset\\", expression, options);\\n }\\n\\n if (Pointer.Expression.Lookup.isLength(expression)) {\\n return evaluateLookup(\\".length\\", expression, options);\\n }\\n\\n if (Pointer.Expression.Lookup.isSlot(expression)) {\\n return evaluateLookup(\\".slot\\", expression, options);\\n }\\n }\\n\\n if (Pointer.Expression.isRead(expression)) {\\n return evaluateRead(expression, options);\\n }\\n\\n throw new Error(\\"Unexpected runtime failure to recognize kind of expression\\");\\n}\\n\\nasync function evaluateLiteral(\\n literal: Pointer.Expression.Literal\\n): Promise<Data> {\\n switch (typeof literal) {\\n case \\"string\\":\\n return Data.fromHex(literal);\\n case \\"number\\":\\n return Data.fromNumber(literal);\\n }\\n}\\n\\nasync function evaluateConstant(\\n constant: Pointer.Expression.Constant\\n): Promise<Data> {\\n switch (constant) {\\n case \\"$wordsize\\":\\n return Data.fromHex(\\"0x20\\");\\n }\\n}\\n\\nasync function evaluateVariable(\\n identifier: Pointer.Expression.Variable,\\n { variables }: EvaluateOptions\\n): Promise<Data> {\\n const data = variables[identifier];\\n if (typeof data === \\"undefined\\") {\\n throw new Error(`Unknown variable with identifier ${identifier}`);\\n }\\n\\n return data;\\n}\\n\\nasync function evaluateArithmeticSum(\\n expression: Pointer.Expression.Arithmetic.Sum,\\n options: EvaluateOptions\\n): Promise<Data> {\\n const operands = await Promise.all(expression.$sum.map(\\n async expression => (await evaluate(expression, options)).asUint()\\n ));\\n\\n return Data.fromUint(\\n operands.reduce((sum, data) => sum + data, 0n)\\n );\\n}\\n\\nasync function evaluateArithmeticDifference(\\n expression: Pointer.Expression.Arithmetic.Difference,\\n options: EvaluateOptions\\n): Promise<Data> {\\n const [a, b] = await Promise.all(expression.$difference.map(\\n async expression => (await evaluate(expression, options)).asUint()\\n ));\\n\\n if (b > a) {\\n return Data.fromNumber(0);\\n }\\n\\n return Data.fromUint(a - b);\\n}\\n\\nasync function evaluateArithmeticProduct(\\n expression: Pointer.Expression.Arithmetic.Product,\\n options: EvaluateOptions\\n): Promise<Data> {\\n const operands = await Promise.all(expression.$product.map(\\n async expression => (await evaluate(expression, options)).asUint()\\n ));\\n\\n return Data.fromUint(\\n operands.reduce((product, data) => product * data, 1n)\\n );\\n}\\n\\nasync function evaluateArithmeticQuotient(\\n expression: Pointer.Expression.Arithmetic.Quotient,\\n options: EvaluateOptions\\n): Promise<Data> {\\n const [a, b] = await Promise.all(expression.$quotient.map(\\n async expression => (await evaluate(expression, options)).asUint()\\n ));\\n\\n return Data.fromUint(a / b);\\n}\\n\\nasync function evaluateArithmeticRemainder(\\n expression: Pointer.Expression.Arithmetic.Remainder,\\n options: EvaluateOptions\\n): Promise<Data> {\\n const [a, b] = await Promise.all(expression.$remainder.map(\\n async expression => (await evaluate(expression, options)).asUint()\\n ));\\n\\n return Data.fromUint(a % b);\\n}\\n\\nasync function evaluateKeccak256(\\n expression: Pointer.Expression.Keccak256,\\n options: EvaluateOptions\\n): Promise<Data> {\\n const operands = await Promise.all(expression.$keccak256.map(\\n async expression => {\\n const unpaddedData = await evaluate(expression, options);\\n const data = new Data(32);\\n data.set(unpaddedData, 32 - unpaddedData.length);\\n\\n return data;\\n }\\n ));\\n\\n // HACK concatenate via string representation\\n const concatenatedData = operands.reduce(\\n (data, operand) => `${data}${operand.toHex().slice(2)}`,\\n \\"\\"\\n );\\n\\n const buffer = Buffer.from(concatenatedData, \\"hex\\");\\n const hash = keccak256(buffer);\\n\\n return Data.fromBytes(hash);\\n}\\n\\nasync function evaluateLookup<O extends Pointer.Expression.Lookup.Operation>(\\n operation: O,\\n lookup: Pointer.Expression.Lookup.ForOperation<O>,\\n options: EvaluateOptions\\n): Promise<Data> {\\n const { regions } = options;\\n\\n const identifier = lookup[operation];\\n const region = regions[identifier];\\n if (!region) {\\n throw new Error(`Region not found: ${identifier}`);\\n }\\n\\n const property = Pointer.Expression.Lookup.propertyFrom(operation);\\n\\n const data = region[property as keyof typeof region] as Data | undefined;\\n\\n if (typeof data === \\"undefined\\") {\\n throw new Error(\\n `Region named ${identifier} does not have ${property} needed by lookup`\\n );\\n }\\n\\n return data;\\n}\\n\\nasync function evaluateRead(\\n expression: Pointer.Expression.Read,\\n options: EvaluateOptions\\n): Promise<Data> {\\n const { state, regions } = options;\\n\\n const identifier = expression.$read;\\n const region = regions[identifier];\\n if (!region) {\\n throw new Error(`Region not found: ${identifier}`);\\n }\\n\\n return await read(region, options);\\n}\\n"},{"filePath":"src/index.ts","text":"export { Pointer, isPointer } from \\"./pointer.js\\";\\nexport { dereference, DereferenceOptions } from \\"./dereference/index.js\\";\\nexport { Cursor } from \\"./cursor.js\\";\\n\\nexport type { Machine } from \\"./machine.js\\";\\nexport { Data } from \\"./data.js\\";\\n"},{"filePath":"src/machine.ts","text":"import type { Data } from \\"./data.js\\";\\n\\nexport interface Machine {\\n trace(): AsyncIterable<Machine.State>;\\n}\\n\\nexport namespace Machine {\\n\\n export interface State {\\n get traceIndex(): Promise<bigint>;\\n get programCounter(): Promise<bigint>;\\n get opcode(): Promise<string>;\\n\\n get stack(): State.Stack;\\n get memory(): State.Bytes;\\n get storage(): State.Words;\\n get calldata(): State.Bytes;\\n get returndata(): State.Bytes;\\n get transient(): State.Words;\\n get code(): State.Bytes;\\n }\\n\\n export namespace State {\\n export interface Slice {\\n offset: bigint;\\n length: bigint;\\n }\\n\\n export interface Stack {\\n get length(): Promise<bigint>;\\n\\n /** read element at position from top of stack */\\n peek(options: {\\n depth: bigint;\\n slice?: Slice;\\n }): Promise<Data>;\\n }\\n\\n export interface Bytes {\\n get length(): Promise<bigint>;\\n\\n read(options: { slice: Slice }): Promise<Data>;\\n }\\n\\n export interface Words {\\n read(options: { slot: Data; slice?: Slice }): Promise<Data>;\\n }\\n }\\n}\\n"},{"filePath":"src/pointer.test.ts","text":"import { expect, describe, it } from \\"@jest/globals\\";\\nimport chalk from \\"chalk\\";\\n\\nimport { describeSchema } from \\"@ethdebug/format\\";\\n\\nimport { Pointer, isPointer } from \\"./index.js\\";\\n\\nexpect.extend({\\n toSatisfy<T, P extends (value: unknown) => value is T>(\\n predicate: P,\\n received: any\\n ) {\\n const pass = predicate(received);\\n\\n return {\\n pass,\\n message: () => `expected ${\\n JSON.stringify(received)\\n } ${\\n pass\\n ? \\"not to satisfy\\"\\n : \\"to satisfy\\"\\n } the predicate ${predicate.name}`\\n };\\n },\\n\\n toSatisfyAll<T, P extends (value: unknown) => value is T>(\\n predicate: P,\\n values: any[]\\n ) {\\n const results = values.map(value => ({\\n value,\\n pass: predicate(value)\\n }));\\n\\n const pass = results.every(result => result.pass);\\n\\n return {\\n pass,\\n message: () => `expected the predicate ${predicate.name} ${\\n pass\\n ? \\"not to be satisfied by all\\"\\n : \\"to be satisfied by all\\"\\n } of the following values:\\\\n${\\n results.map(result => ` ${\\n result.pass\\n ? chalk.green(\\"\u2713\\")\\n : chalk.red(\\"\u2717\\")\\n } ${\\n // @ts-ignore\\n this.utils.printReceived(result.value)\\n }`).join(\\"\\\\n\\")\\n }`\\n };\\n }\\n});\\n\\ndescribe(\\"type guards\\", () => {\\n const expressionSchema = {\\n id: \\"schema:ethdebug/format/pointer/expression\\"\\n };\\n\\n const schemaGuards = [\\n {\\n schema: expressionSchema,\\n guard: Pointer.isExpression\\n },\\n {\\n schema: expressionSchema,\\n pointer: \\"#/$defs/Literal\\",\\n guard: Pointer.Expression.isLiteral\\n },\\n {\\n schema: expressionSchema,\\n pointer: \\"#/$defs/Constant\\",\\n guard: Pointer.Expression.isConstant\\n },\\n {\\n schema: expressionSchema,\\n pointer: \\"#/$defs/Variable\\",\\n guard: Pointer.Expression.isVariable\\n },\\n {\\n schema: expressionSchema,\\n pointer: \\"#/$defs/Arithmetic\\",\\n guard: Pointer.Expression.isArithmetic\\n },\\n {\\n schema: expressionSchema,\\n pointer: \\"#/$defs/Lookup\\",\\n guard: Pointer.Expression.isLookup\\n },\\n {\\n schema: expressionSchema,\\n pointer: \\"#/$defs/Read\\",\\n guard: Pointer.Expression.isRead\\n },\\n {\\n schema: expressionSchema,\\n pointer: \\"#/$defs/Reference\\",\\n guard: Pointer.Expression.isReference\\n },\\n {\\n schema: expressionSchema,\\n pointer: \\"#/$defs/Keccak256\\",\\n guard: Pointer.Expression.isKeccak256\\n },\\n {\\n schema: {\\n id: \\"schema:ethdebug/format/pointer/region\\"\\n },\\n guard: Pointer.isRegion\\n },\\n {\\n schema: {\\n id: \\"schema:ethdebug/format/pointer/region/stack\\"\\n },\\n guard: Pointer.Region.isStack\\n },\\n {\\n schema: {\\n id: \\"schema:ethdebug/format/pointer/region/memory\\"\\n },\\n guard: Pointer.Region.isMemory\\n },\\n {\\n schema: {\\n id: \\"schema:ethdebug/format/pointer/region/storage\\"\\n },\\n guard: Pointer.Region.isStorage\\n },\\n {\\n schema: {\\n id: \\"schema:ethdebug/format/pointer/region/calldata\\"\\n },\\n guard: Pointer.Region.isCalldata\\n },\\n {\\n schema: {\\n id: \\"schema:ethdebug/format/pointer/region/returndata\\"\\n },\\n guard: Pointer.Region.isReturndata\\n },\\n {\\n schema: {\\n id: \\"schema:ethdebug/format/pointer/region/transient\\"\\n },\\n guard: Pointer.Region.isTransient\\n },\\n {\\n schema: {\\n id: \\"schema:ethdebug/format/pointer/region/code\\"\\n },\\n guard: Pointer.Region.isCode\\n },\\n {\\n schema: {\\n id: \\"schema:ethdebug/format/pointer/collection/group\\"\\n },\\n guard: Pointer.Collection.isGroup\\n },\\n {\\n schema: {\\n id: \\"schema:ethdebug/format/pointer/collection/list\\"\\n },\\n guard: Pointer.Collection.isList\\n },\\n {\\n schema: {\\n id: \\"schema:ethdebug/format/pointer\\"\\n },\\n guard: isPointer\\n },\\n ] as const;\\n\\n it.each(schemaGuards)(\\"matches its examples\\", ({\\n guard,\\n ...describeSchemaOptions\\n }) => {\\n const { schema: { examples = [] } } = describeSchema(describeSchemaOptions);\\n\\n expect(guard).toSatisfyAll(examples);\\n });\\n});\\n"},{"filePath":"src/pointer.ts","text":"export type Pointer =\\n | Pointer.Region\\n | Pointer.Collection;\\n\\nexport const isPointer = (value: unknown): value is Pointer =>\\n [\\n Pointer.isRegion,\\n Pointer.isCollection\\n ].some(guard => guard(value));\\n\\nexport namespace Pointer {\\n export type Identifier = string;\\n export const isIdentifier = (value: unknown): value is Identifier =>\\n typeof value === \\"string\\" && /^[a-zA-Z_\\\\\\\\-]+[a-zA-Z0-9$_\\\\\\\\-]*$/.test(value);\\n\\n export type Region =\\n | Region.Stack\\n | Region.Memory\\n | Region.Storage\\n | Region.Calldata\\n | Region.Returndata\\n | Region.Transient\\n | Region.Code;\\n\\n export const isRegion = (value: unknown): value is Region =>\\n [\\n Region.isStack,\\n Region.isMemory,\\n Region.isStorage,\\n Region.isCalldata,\\n Region.isReturndata,\\n Region.isTransient,\\n Region.isCode\\n ].some(guard => guard(value));\\n\\n export namespace Region {\\n export interface Base {\\n name?: string;\\n location: string;\\n }\\n export const isBase = (value: unknown): value is Base =>\\n !!value &&\\n typeof value === \\"object\\" &&\\n (!(\\"name\\" in value) || typeof value.name === \\"string\\") &&\\n \\"location\\" in value &&\\n typeof value.location === \\"string\\";\\n\\n export type Name = Base[\\"name\\"];\\n\\n export type Stack =\\n & Base\\n & Scheme.Segment\\n & { location: \\"stack\\" };\\n export const isStack = (value: unknown): value is Stack =>\\n isBase(value) && Scheme.isSegment(value) && value.location === \\"stack\\";\\n\\n export type Memory =\\n & Base\\n & Scheme.Slice\\n & { location: \\"memory\\" };\\n export const isMemory = (value: unknown): value is Memory =>\\n isBase(value) && Scheme.isSlice(value) && value.location === \\"memory\\";\\n\\n export type Storage =\\n & Base\\n & Scheme.Segment\\n & { location: \\"storage\\" };\\n export const isStorage = (value: unknown): value is Storage =>\\n isBase(value) && Scheme.isSegment(value) && value.location === \\"storage\\";\\n\\n export type Calldata =\\n & Base\\n & Scheme.Slice\\n & { location: \\"calldata\\" };\\n export const isCalldata = (value: unknown): value is Calldata =>\\n isBase(value) && Scheme.isSlice(value) && value.location === \\"calldata\\";\\n\\n export type Returndata =\\n & Base\\n & Scheme.Slice\\n & { location: \\"returndata\\" };\\n export const isReturndata = (value: unknown): value is Returndata =>\\n isBase(value) && Scheme.isSlice(value) && value.location === \\"returndata\\";\\n\\n export type Transient =\\n & Base\\n & Scheme.Segment\\n & { location: \\"transient\\" };\\n export const isTransient = (value: unknown): value is Transient =>\\n isBase(value) && Scheme.isSegment(value) && value.location === \\"transient\\";\\n\\n export type Code =\\n & Base\\n & Scheme.Slice\\n & { location: \\"code\\" };\\n export const isCode = (value: unknown): value is Code =>\\n isBase(value) && Scheme.isSlice(value) && value.location === \\"code\\";\\n }\\n\\n export namespace Scheme {\\n export interface Segment {\\n slot: Expression;\\n offset?: Expression;\\n length?: Expression;\\n }\\n export const isSegment = (value: unknown): value is Segment =>\\n !!value &&\\n typeof value === \\"object\\" &&\\n \\"slot\\" in value &&\\n isExpression(value.slot) &&\\n (!(\\"offset\\" in value) || isExpression(value.offset)) &&\\n (!(\\"length\\" in value) || isExpression(value.length));\\n\\n export interface Slice {\\n offset: Expression;\\n length: Expression;\\n }\\n\\n export const isSlice = (value: unknown): value is Slice =>\\n !!value &&\\n typeof value === \\"object\\" &&\\n \\"offset\\" in value &&\\n isExpression(value.offset) &&\\n \\"length\\" in value &&\\n isExpression(value.length);\\n }\\n\\n export type Collection =\\n | Collection.Group\\n | Collection.List\\n | Collection.Conditional\\n | Collection.Scope;\\n export const isCollection = (value: unknown): value is Collection =>\\n [\\n Collection.isGroup,\\n Collection.isList,\\n Collection.isConditional,\\n Collection.isScope\\n ].some(guard => guard(value));\\n\\n export namespace Collection {\\n export interface Group {\\n group: Pointer[];\\n }\\n export const isGroup = (value: unknown): value is Group =>\\n !!value &&\\n typeof value === \\"object\\" &&\\n Object.keys(value).length === 1 &&\\n \\"group\\" in value &&\\n value.group instanceof Array &&\\n value.group.length >= 1 &&\\n value.group.every(isPointer);\\n\\n export interface List {\\n list: {\\n count: Expression;\\n each: Identifier;\\n is: Pointer;\\n }\\n }\\n export const isList = (value: unknown): value is List =>\\n !!value &&\\n typeof value === \\"object\\" &&\\n Object.keys(value).length === 1 &&\\n \\"list\\" in value &&\\n !!value.list &&\\n typeof value.list === \\"object\\" &&\\n Object.keys(value.list).length === 3 &&\\n \\"count\\" in value.list &&\\n isExpression(value.list.count) &&\\n \\"each\\" in value.list &&\\n isIdentifier(value.list.each) &&\\n \\"is\\" in value.list &&\\n isPointer(value.list.is);\\n\\n export interface Conditional {\\n if: Expression;\\n then: Pointer;\\n else?: Pointer;\\n }\\n export const isConditional = (value: unknown): value is Conditional =>\\n !!value &&\\n typeof value === \\"object\\" &&\\n \\"if\\" in value &&\\n isExpression(value.if) &&\\n \\"then\\" in value &&\\n isPointer(value.then) &&\\n (!(\\"else\\" in value) || isPointer(value.else));\\n\\n export interface Scope {\\n define: {\\n [identifier: string]: Expression;\\n }\\n in: Pointer;\\n }\\n\\n export const isScope = (value: unknown): value is Scope =>\\n !!value &&\\n typeof value === \\"object\\" &&\\n \\"define\\" in value &&\\n typeof value.define === \\"object\\" && !!value.define &&\\n Object.keys(value.define).every(key => isIdentifier(key)) &&\\n \\"in\\" in value &&\\n isPointer(value.in);\\n }\\n\\n export type Expression =\\n | Expression.Literal\\n | Expression.Constant\\n | Expression.Variable\\n | Expression.Arithmetic\\n | Expression.Lookup\\n | Expression.Read\\n | Expression.Keccak256;\\n\\n export const isExpression = (value: unknown): value is Expression =>\\n [\\n Expression.isLiteral,\\n Expression.isConstant,\\n Expression.isVariable,\\n Expression.isArithmetic,\\n Expression.isLookup,\\n Expression.isRead,\\n Expression.isKeccak256\\n ].some(guard => guard(value));\\n\\n export namespace Expression {\\n export type Literal = number | `0x${string}`;\\n export const isLiteral = (value: unknown): value is Literal =>\\n typeof value === \\"number\\" ||\\n typeof value === \\"string\\" && /^0x[0-9a-fA-F]+$/.test(value);\\n\\n export type Constant =\\n | \\"$wordsize\\";\\n export const isConstant = (value: unknown): value is Constant =>\\n typeof value === \\"string\\" && [\\"$wordsize\\"].includes(value);\\n\\n export type Variable = string;\\n export const isVariable = (value: unknown): value is Variable =>\\n isIdentifier(value);\\n\\n export type Arithmetic =\\n | Arithmetic.Sum\\n | Arithmetic.Difference\\n | Arithmetic.Product\\n | Arithmetic.Quotient\\n | Arithmetic.Remainder;\\n\\n export const isArithmetic = (value: unknown): value is Arithmetic =>\\n [\\n Arithmetic.isSum,\\n Arithmetic.isDifference,\\n Arithmetic.isProduct,\\n Arithmetic.isQuotient,\\n Arithmetic.isRemainder\\n ].some(guard => guard(value));\\n\\n const makeIsOperation = <\\n O extends string,\\n T extends { [K in O]: any; }\\n >(\\n operation: O,\\n checkOperands: (operands: unknown) => operands is T[O]\\n ) => (value: unknown): value is T =>\\n !!value &&\\n typeof value === \\"object\\" &&\\n Object.keys(value).length === 1 &&\\n operation in value &&\\n checkOperands(value[operation as keyof typeof value]);\\n\\n export type Operands = Expression[];\\n export const isOperands =\\n (value: unknown): value is Expression[] =>\\n value instanceof Array && value.every(isExpression);\\n\\n export namespace Arithmetic {\\n export type Operation =\\n | keyof Sum\\n | keyof Difference\\n | keyof Product\\n | keyof Quotient\\n | keyof Remainder;\\n\\n export const isTwoOperands =\\n (value: unknown): value is [Expression, Expression] =>\\n isOperands(value) && value.length === 2;\\n\\n export interface Sum {\\n $sum: Expression[];\\n }\\n export const isSum =\\n makeIsOperation<\\"$sum\\", Sum>(\\"$sum\\", isOperands);\\n\\n export interface Difference {\\n $difference: [Expression, Expression];\\n }\\n export const isDifference =\\n makeIsOperation<\\"$difference\\", Difference>(\\"$difference\\", isTwoOperands);\\n\\n export interface Product {\\n $product: Expression[];\\n }\\n export const isProduct =\\n makeIsOperation<\\"$product\\", Product>(\\"$product\\", isOperands);\\n\\n export interface Quotient {\\n $quotient: [Expression, Expression];\\n }\\n export const isQuotient =\\n makeIsOperation<\\"$quotient\\", Quotient>(\\"$quotient\\", isTwoOperands);\\n\\n export interface Remainder {\\n $remainder: [Expression, Expression];\\n }\\n export const isRemainder =\\n makeIsOperation<\\"$remainder\\", Remainder>(\\"$remainder\\", isTwoOperands);\\n }\\n\\n export type Reference =\\n | Identifier\\n | \\"$this\\";\\n export const isReference = (value: unknown): value is Reference =>\\n isIdentifier(value) || value === \\"$this\\";\\n\\n export type Lookup =\\n | Lookup.Offset\\n | Lookup.Length\\n | Lookup.Slot;\\n export const isLookup = (value: unknown): value is Lookup =>\\n [\\n Lookup.isOffset,\\n Lookup.isLength,\\n Lookup.isSlot\\n ].some(guard => guard(value));\\n\\n export namespace Lookup {\\n export type Operation =\\n | keyof Offset\\n | keyof Length\\n | keyof Slot;\\n\\n export type ForOperation<O extends Operation> =\\n & Lookup\\n & { [K in O]: any };\\n\\n export const propertyFrom = <O extends Operation>(\\n operation: O\\n ): \\"slot\\" | \\"offset\\" | \\"length\\" => {\\n return operation.slice(1) as \\"slot\\" | \\"offset\\" | \\"length\\";\\n }\\n\\n export interface Offset {\\n \\".offset\\": Reference;\\n }\\n export const isOffset =\\n makeIsOperation<\\".offset\\", Offset>(\\".offset\\", isReference);\\n\\n export interface Length {\\n \\".length\\": Reference;\\n }\\n export const isLength =\\n makeIsOperation<\\".length\\", Length>(\\".length\\", isReference);\\n\\n export interface Slot {\\n \\".slot\\": Reference;\\n }\\n export const isSlot =\\n makeIsOperation<\\".slot\\", Slot>(\\".slot\\", isReference);\\n }\\n\\n export interface Read {\\n $read: Reference\\n }\\n export const isRead = makeIsOperation<\\"$read\\", Read>(\\"$read\\", isReference);\\n\\n export interface Keccak256 {\\n $keccak256: Expression[];\\n }\\n export const isKeccak256 =\\n makeIsOperation<\\"$keccak256\\", Keccak256>(\\"$keccak256\\", isOperands);\\n }\\n}\\n"},{"filePath":"src/read.test.ts","text":"import { jest, expect, describe, it, beforeEach } from \\"@jest/globals\\";\\nimport { Machine } from \\"./machine.js\\";\\nimport { Data } from \\"./data.js\\";\\nimport type { Pointer } from \\"./pointer.js\\";\\nimport { read, type ReadOptions } from \\"./read.js\\";\\nimport { Cursor } from \\"./cursor.js\\";\\n\\ndescribe(\\"read\\", () => {\\n let options: ReadOptions;\\n\\n beforeEach(() => {\\n const state: Machine.State = {\\n stack: {\\n length: 50n,\\n peek: jest.fn(\\n async ({ depth, slice }) =>\\n Data.fromBytes(new Uint8Array([0x11, 0x22, 0x33, 0x44]))\\n ),\\n },\\n memory: {\\n read: jest.fn(\\n async ({ slice }) =>\\n Data.fromBytes(new Uint8Array([0x55, 0x66, 0x77, 0x88]))\\n ),\\n },\\n storage: {\\n read: jest.fn(\\n async ({ slot, slice }) =>\\n Data.fromBytes(new Uint8Array([0xaa, 0xbb, 0xcc, 0xdd]))\\n ),\\n },\\n calldata: {\\n read: jest.fn(\\n async ({ slice }) =>\\n Data.fromBytes(new Uint8Array([0x11, 0x22, 0x33, 0x44]))\\n ),\\n },\\n returndata: {\\n read: jest.fn(\\n async ({ slice }) =>\\n Data.fromBytes(new Uint8Array([0x55, 0x66, 0x77, 0x88]))\\n ),\\n },\\n transient: {\\n read: jest.fn(\\n async ({ slot, slice }) =>\\n Data.fromBytes(new Uint8Array([0xaa, 0xbb, 0xcc, 0xdd]))\\n ),\\n },\\n code: {\\n read: jest.fn(\\n async ({ slice }) =>\\n Data.fromBytes(new Uint8Array([0x11, 0x22, 0x33, 0x44]))\\n ),\\n },\\n } as unknown as Machine.State;\\n\\n options = {\\n state\\n };\\n });\\n\\n it(\\"reads data from stack\\", async () => {\\n const region: Cursor.Region<Pointer.Region.Stack> = {\\n location: \\"stack\\",\\n slot: Data.fromNumber(42),\\n offset: Data.fromNumber(1),\\n length: Data.fromNumber(2),\\n };\\n\\n const result = await read(region, options);\\n\\n expect(options.state.stack.peek)\\n .toHaveBeenCalledWith({ depth: 42n, slice: { offset: 1n, length: 2n } });\\n expect(result)\\n .toEqual(Data.fromBytes(new Uint8Array([0x11, 0x22, 0x33, 0x44])));\\n });\\n\\n it(\\"reads data from memory\\", async () => {\\n const region: Cursor.Region<Pointer.Region.Memory> = {\\n location: \\"memory\\",\\n offset: Data.fromNumber(0),\\n length: Data.fromNumber(4),\\n };\\n\\n const result = await read(region, options);\\n\\n expect(options.state.memory.read)\\n .toHaveBeenCalledWith({ slice: { offset: 0n, length: 4n } });\\n expect(result)\\n .toEqual(Data.fromBytes(new Uint8Array([0x55, 0x66, 0x77, 0x88])));\\n });\\n\\n it(\\"reads data from storage\\", async () => {\\n const region: Cursor.Region<Pointer.Region.Storage> = {\\n location: \\"storage\\",\\n slot: Data.fromNumber(0),\\n offset: Data.fromNumber(2),\\n length: Data.fromNumber(2),\\n };\\n\\n const result = await read(region, options);\\n\\n expect(options.state.storage.read)\\n .toHaveBeenCalledWith({\\n slot: Data.fromNumber(0),\\n slice: { offset: 2n, length: 2n }\\n });\\n\\n expect(result)\\n .toEqual(Data.fromBytes(new Uint8Array([0xaa, 0xbb, 0xcc, 0xdd])));\\n });\\n\\n it(\\"reads data from calldata\\", async () => {\\n const region: Cursor.Region<Pointer.Region.Calldata> = {\\n location: \\"calldata\\",\\n offset: Data.fromNumber(0),\\n length: Data.fromNumber(4),\\n };\\n\\n const result = await read(region, options);\\n\\n expect(options.state.calldata.read)\\n .toHaveBeenCalledWith({ slice: { offset: 0n, length: 4n } });\\n expect(result)\\n .toEqual(Data.fromBytes(new Uint8Array([0x11, 0x22, 0x33, 0x44])));\\n });\\n\\n it(\\"reads data from returndata\\", async () => {\\n const region: Cursor.Region<Pointer.Region.Returndata> = {\\n location: \\"returndata\\",\\n offset: Data.fromNumber(0),\\n length: Data.fromNumber(4),\\n };\\n\\n const result = await read(region, options);\\n\\n expect(options.state.returndata.read)\\n .toHaveBeenCalledWith({ slice: { offset: 0n, length: 4n } });\\n expect(result)\\n .toEqual(Data.fromBytes(new Uint8Array([0x55, 0x66, 0x77, 0x88])));\\n });\\n\\n it(\\"reads data from transient\\", async () => {\\n const region: Cursor.Region<Pointer.Region.Transient> = {\\n location: \\"transient\\",\\n slot: Data.fromNumber(42),\\n offset: Data.fromNumber(1),\\n length: Data.fromNumber(2),\\n };\\n\\n const result = await read(region, options);\\n\\n expect(options.state.transient.read)\\n .toHaveBeenCalledWith({\\n slot: Data.fromNumber(42),\\n slice: { offset: 1n, length: 2n }\\n });\\n\\n expect(result)\\n .toEqual(Data.fromBytes(new Uint8Array([0xaa, 0xbb, 0xcc, 0xdd])));\\n });\\n\\n it(\\"reads data from code\\", async () => {\\n const region: Cursor.Region<Pointer.Region.Code> = {\\n location: \\"code\\",\\n offset: Data.fromNumber(0),\\n length: Data.fromNumber(4),\\n };\\n\\n const result = await read(region, options);\\n\\n expect(options.state.code.read)\\n .toHaveBeenCalledWith({\\n slice: { offset: 0n, length: 4n }\\n });\\n\\n expect(result)\\n .toEqual(Data.fromBytes(new Uint8Array([0x11, 0x22, 0x33, 0x44])));\\n });\\n\\n it(\\"uses default offset and length values for stack region\\", async () => {\\n const region: Cursor.Region<Pointer.Region.Stack> = {\\n location: \\"stack\\",\\n slot: Data.fromNumber(42),\\n };\\n\\n const result = await read(region, options);\\n\\n expect(options.state.stack.peek)\\n .toHaveBeenCalledWith({\\n depth: 42n,\\n slice: { offset: 0n, length: 32n }\\n });\\n\\n expect(result)\\n .toEqual(Data.fromBytes(new Uint8Array([0x11, 0x22, 0x33, 0x44])));\\n });\\n\\n it(\\"uses default offset and length values for storage region\\", async () => {\\n const region: Cursor.Region<Pointer.Region.Storage> = {\\n location: \\"storage\\",\\n slot: Data.fromHex(\\"0x1f\\"),\\n };\\n\\n const result = await read(region, options);\\n\\n expect(options.state.storage.read)\\n .toHaveBeenCalledWith({\\n slot: Data.fromHex(\\"0x1f\\"),\\n slice: { offset: 0n, length: 32n }\\n });\\n\\n expect(result)\\n .toEqual(Data.fromBytes(new Uint8Array([0xaa, 0xbb, 0xcc, 0xdd])));\\n });\\n\\n it(\\"uses default offset and length values for transient region\\", async () => {\\n const region: Cursor.Region<Pointer.Region.Transient> = {\\n location: \\"transient\\",\\n slot: Data.fromNumber(42)\\n };\\n\\n const result = await read(region, options);\\n\\n expect(options.state.transient.read)\\n .toHaveBeenCalledWith({\\n slot: Data.fromNumber(42),\\n slice: { offset: 0n, length: 32n }\\n });\\n\\n expect(result)\\n .toEqual(Data.fromBytes(new Uint8Array([0xaa, 0xbb, 0xcc, 0xdd])));\\n });\\n});\\n"},{"filePath":"src/read.ts","text":"import { Pointer } from \\"./pointer.js\\";\\nimport { Machine } from \\"./machine.js\\";\\nimport { Data } from \\"./data.js\\";\\nimport type { Cursor } from \\"./cursor.js\\";\\n\\nexport interface ReadOptions {\\n state: Machine.State;\\n}\\n\\nexport async function read(\\n region: Cursor.Region,\\n options: ReadOptions\\n): Promise<Data> {\\n const { location } = region;\\n const { state } = options;\\n\\n switch (location) {\\n case \\"stack\\": {\\n const {\\n slot,\\n offset = 0n,\\n length = 32n\\n } = withPropertiesAsUints([\\"slot\\", \\"offset\\", \\"length\\"], region);\\n\\n return await state.stack.peek({\\n depth: slot,\\n slice: {\\n offset,\\n length\\n }\\n });\\n }\\n case \\"memory\\": {\\n const {\\n offset,\\n length\\n } = withPropertiesAsUints([\\"offset\\", \\"length\\"], region);\\n\\n return await state.memory.read({\\n slice: {\\n offset: offset,\\n length: length\\n }\\n });\\n }\\n case \\"storage\\": {\\n const { slot } = region;\\n const {\\n offset = 0n,\\n length = 32n\\n } = withPropertiesAsUints([\\"offset\\", \\"length\\"], region);\\n\\n return await state.storage.read({\\n slot,\\n slice: {\\n offset,\\n length\\n }\\n });\\n }\\n case \\"calldata\\": {\\n const {\\n offset,\\n length\\n } = withPropertiesAsUints([\\"offset\\", \\"length\\"], region);\\n\\n return await state.calldata.read({ slice: { offset, length } });\\n }\\n case \\"returndata\\": {\\n const {\\n offset,\\n length\\n } = withPropertiesAsUints([\\"offset\\", \\"length\\"], region);\\n\\n return await state.returndata.read({ slice: { offset, length } });\\n }\\n case \\"transient\\": {\\n const { slot } = region;\\n const {\\n offset = 0n,\\n length = 32n\\n } = withPropertiesAsUints([\\"offset\\", \\"length\\"], region);\\n\\n return await state.transient.read({\\n slot,\\n slice: {\\n offset,\\n length\\n }\\n });\\n }\\n case \\"code\\": {\\n const {\\n offset,\\n length\\n } = withPropertiesAsUints([\\"offset\\", \\"length\\"], region);\\n\\n return await state.code.read({ slice: { offset, length } });\\n }\\n }\\n}\\n\\ntype DataProperties<R extends Pointer.Region> = {\\n [K in (\\n & keyof Cursor.Region<R>\\n & (\\"slot\\" | \\"offset\\" | \\"length\\")\\n )]: Cursor.Region<R>[K];\\n}\\n\\ntype PickDataPropertiesAsUints<\\n R extends Pointer.Region,\\n U extends keyof DataProperties<R>\\n> = {\\n [K in U]:\\n undefined extends Cursor.Region<R>[K]\\n ? bigint | undefined\\n : bigint\\n};\\n\\nfunction withPropertiesAsUints<\\n R extends Pointer.Region,\\n U extends keyof DataProperties<R>\\n>(\\n uintKeys: U[],\\n region: Cursor.Region<R>\\n): PickDataPropertiesAsUints<R, U> {\\n const result: Partial<PickDataPropertiesAsUints<R, U>> = {};\\n for (const key of uintKeys) {\\n const data: Data | undefined = region[key] as Data | undefined;\\n if (typeof data !== \\"undefined\\") {\\n result[key] = data.asUint();\\n }\\n }\\n\\n return result as PickDataPropertiesAsUints<R, U>;\\n}\\n"},{"filePath":"test/deploy.ts","text":"import type { EthereumProvider } from \\"ganache\\";\\n\\nimport { Data } from \\"../src/data.js\\";\\n\\nexport interface DeployContractResult {\\n transactionHash: Data;\\n contractAddress: Data;\\n}\\n\\nexport async function deployContract(\\n createBytecode: Data,\\n provider: EthereumProvider\\n): Promise<DeployContractResult> {\\n\\n const [account] = await provider.request({\\n method: \\"eth_accounts\\",\\n params: []\\n });\\n\\n const transactionHash = Data.fromHex(await provider.request({\\n method: \\"eth_sendTransaction\\",\\n params: [{\\n from: account,\\n gas: \\"0x989680\\",\\n data: createBytecode.toHex()\\n }]\\n }));\\n\\n const contractAddress = Data.fromHex((await provider.request({\\n method: \\"eth_getTransactionReceipt\\",\\n params: [transactionHash.toHex()]\\n })).contractAddress);\\n\\n return {\\n transactionHash,\\n contractAddress\\n };\\n}\\n"},{"filePath":"test/examples.ts","text":"import { type CompileOptions } from \\"./solc.js\\";\\n\\nexport const examples = {\\n emptyContract: makeExample({\\n path: \\"EmptyContract.sol\\",\\n contractName: \\"EmptyContract\\",\\n content: `contract EmptyContract {\\n}\\n`,\\n }),\\n\\n stringStorage: makeExample({\\n path: \\"StringStorage.sol\\",\\n contractName: \\"StringStorage\\",\\n content: `contract StringStorage {\\n string storedString;\\n bool done;\\n\\n event Done();\\n\\n constructor() {\\n storedString = \\"hello world\\";\\n storedString = \\"solidity storage is a fun lesson in endianness\\";\\n\\n done = true;\\n }\\n}\\n`,\\n }),\\n} as const;\\n\\nexport function makeExample(example: {\\n path: string;\\n contractName: string;\\n content: string;\\n}): CompileOptions {\\n const { path, contractName, content: contentWithoutHeader } = example;\\n\\n const spdxLicenseIdentifier = \\"// SPDX-License-Identifier: UNLICENSED\\";\\n const pragma = \\"pragma solidity ^0.8.25;\\";\\n const header = `${spdxLicenseIdentifier}\\n${pragma}\\n`;\\n\\n return {\\n sources: {\\n [path]: {\\n content: `${header}\\n${contentWithoutHeader}\\n`\\n }\\n },\\n\\n target: {\\n path,\\n contractName\\n }\\n };\\n}\\n"},{"filePath":"test/ganache.ts","text":"import type { EthereumProvider } from \\"ganache\\";\\n\\nimport { Machine } from \\"../src/machine.js\\";\\nimport { Data } from \\"../src/data.js\\";\\n\\nexport async function loadGanache() {\\n const originalWarn = console.warn;\\n console.warn = (...args: any[]) => {\\n if (\\n args.length > 0 &&\\n typeof args[0] === \\"string\\" &&\\n args[0].includes(\\"bigint: Failed to load bindings\\")\\n ) {\\n return;\\n }\\n\\n originalWarn(...args);\\n };\\n\\n const { default: Ganache } = await import(\\"ganache\\");\\n\\n console.warn = originalWarn;\\n return Ganache;\\n}\\n\\nexport interface MachineForProviderOptions {\\n transactionHash: Data;\\n}\\n\\nexport function machineForProvider(\\n provider: EthereumProvider,\\n { transactionHash }: MachineForProviderOptions\\n): Machine {\\n return {\\n trace(): AsyncIterable<Machine.State> {\\n return {\\n async *[Symbol.asyncIterator]() {\\n const structLogs = await requestStructLogs(\\n `0x${transactionHash.asUint().toString(16)}`,\\n provider\\n );\\n\\n let previousOp;\\n for (const [index, step] of structLogs.entries()) {\\n const { state } = toMachineState(\\n step,\\n { index }\\n );\\n\\n yield state;\\n\\n previousOp = step.op;\\n }\\n }\\n };\\n }\\n };\\n}\\n\\nasync function requestStructLogs(\\n transactionHash: string,\\n provider: EthereumProvider\\n) {\\n const { structLogs } = await provider.request({\\n method: \\"debug_traceTransaction\\",\\n params: [transactionHash]\\n });\\n\\n return structLogs;\\n}\\n\\ntype StructLogs = Depromise<ReturnType<typeof requestStructLogs>>;\\ntype StructLog = Dearray<StructLogs>;\\n\\n// helpers instead of digging through ganache\'s types\\ntype Depromise<P> = P extends Promise<infer T> ? T : P;\\ntype Dearray<A> = A extends Array<infer T> ? T : A;\\n\\ninterface ToMachineStateOptions {\\n index: number;\\n}\\n\\nfunction toMachineState(\\n step: StructLog,\\n options: ToMachineStateOptions\\n): {\\n state: Machine.State;\\n storage: {\\n [slot: string]: Data\\n };\\n} {\\n const { index } = options;\\n\\n const constantUint = (value: number): Promise<bigint> =>\\n Promise.resolve(Data.fromNumber(index).asUint());\\n\\n const makeStack = (\\n stack: StructLog[\\"stack\\"]\\n ): Machine.State.Stack => {\\n const length = stack.length;\\n\\n return {\\n length: constantUint(length),\\n\\n async peek({\\n depth,\\n slice: {\\n offset = 0n,\\n length = 32n\\n } = {}\\n }) {\\n const entry = stack.at(-Number(depth));\\n const data = Data.fromHex(`0x${entry || \\"\\"}`);\\n\\n const sliced = new Uint8Array(data).slice(\\n Number(offset),\\n Number(offset + length)\\n );\\n\\n return new Data(sliced);\\n }\\n };\\n };\\n\\n const makeBytes = (\\n words: StructLog[\\"memory\\" /* | theoretically others */]\\n ): Machine.State.Bytes => {\\n const data = Data.fromHex(`0x${words.map(word => word.slice(2)).join(\\"\\")}`);\\n\\n return {\\n length: constantUint(data.length),\\n\\n async read({ slice: { offset, length } }) {\\n return new Data(data.slice(\\n Number(offset),\\n Number(offset + length)\\n ));\\n }\\n }\\n };\\n\\n const makeWords = (\\n slots: StructLog[\\"storage\\" /* | theoretically others */]\\n ): Machine.State.Words => {\\n return {\\n async read({\\n slot: unpaddedSlot,\\n slice: {\\n offset = 0n,\\n length = 32n\\n } = {}\\n }) {\\n const slot = new Data(32);\\n slot.set(unpaddedSlot, 32 - unpaddedSlot.length);\\n\\n const rawHex = slots[slot.toHex().slice(2) as keyof typeof slots];\\n\\n const data = Data.fromHex(`0x${rawHex}`);\\n\\n return new Data(data.slice(\\n Number(offset),\\n Number(offset + length)\\n ));\\n }\\n };\\n };\\n\\n return {\\n state: {\\n traceIndex: constantUint(index),\\n programCounter: constantUint(step.pc),\\n opcode: Promise.resolve(step.op),\\n\\n stack: makeStack(step.stack),\\n\\n memory: makeBytes(step.memory),\\n\\n storage: makeWords(step.storage),\\n\\n calldata: undefined as unknown as Machine.State.Bytes,\\n returndata: undefined as unknown as Machine.State.Bytes,\\n code: undefined as unknown as Machine.State.Bytes,\\n\\n transient: undefined as unknown as Machine.State.Words,\\n },\\n\\n storage: {}\\n };\\n}\\n"},{"filePath":"test/index.ts","text":"export { loadGanache, machineForProvider } from \\"./ganache.js\\";\\nexport { compileCreateBytecode, type CompileOptions } from \\"./solc.js\\";\\nexport { deployContract, type DeployContractResult } from \\"./deploy.js\\";\\nexport { examples, makeExample } from \\"./examples.js\\";\\n"},{"filePath":"test/run.ts","text":"import chalk from \\"chalk\\";\\nimport { highlight } from \\"cli-highlight\\";\\nimport { describeSchema } from \\"@ethdebug/format\\";\\n\\nimport { Data } from \\"../src/data.js\\";\\nimport type { Pointer } from \\"../src/pointer.js\\";\\nimport { dereference } from \\"../src/index.js\\";\\n\\nimport { loadGanache, machineForProvider } from \\"./ganache.js\\";\\nimport { deployContract } from \\"./deploy.js\\";\\nimport { compileCreateBytecode } from \\"./solc.js\\";\\nimport { examples } from \\"./examples.js\\";\\n\\nconst {\\n schema: pointerSchema\\n} = describeSchema({\\n schema: { id: \\"schema:ethdebug/format/pointer\\" },\\n}) as { schema: { examples: Pointer[] } };\\n\\nconst stringStoragePointer: Pointer =\\n pointerSchema.examples.find(\\n example => JSON.stringify(example).includes(\\"long-string-length-data\\")\\n )!;\\n\\nexport async function run() {\\n console.log(\\n chalk.bold(chalk.cyan(\\n \\"demo: run compiled solidity and watch a changing ethdebug/format pointer\\\\n\\"\\n ))\\n );\\n\\n console.group(chalk.bold(\\"ethdebug/format pointer used by demo\\"));\\n console.log(\\n highlight(\\n describeSchema({\\n schema: { id: \\"schema:ethdebug/format/pointer\\" },\\n pointer: \\"#/examples/4\\"\\n }).yaml,\\n { language: \\"yaml\\" }\\n ).trim()\\n );\\n console.groupEnd();\\n console.log(\\"\\");\\n\\n console.group(chalk.bold(\\"solidity source code used by demo\\"));\\n console.log(\\n examples.stringStorage.sources[\\"StringStorage.sol\\"].content.trim()\\n );\\n console.groupEnd();\\n console.log(\\"\\");\\n\\n console.group(chalk.bold(\\"preparing demo\\"));\\n\\n const provider = (await loadGanache()).provider({\\n logging: {\\n quiet: true\\n }\\n });\\n\\n const bytecode = await compileCreateBytecode(examples.stringStorage);\\n console.log(\\"- compiled source code.\\");\\n\\n const {\\n transactionHash,\\n contractAddress\\n } = await deployContract(bytecode, provider);\\n console.log(\\"- deployed contract.\\");\\n\\n const machine = machineForProvider(provider, { transactionHash });\\n\\n const trace = machine.trace();\\n console.log(\\"- requested trace.\\");\\n\\n console.groupEnd();\\n console.log(\\"\\");\\n\\n console.group(chalk.bold(\\"watching trace for changing pointer values\\"));\\n\\n const cursor = await dereference(stringStoragePointer);\\n let currentStoredString;\\n for await (const state of trace) {\\n const { regions, read } = await cursor.view(state);\\n const stringData = Data.fromHex(\\n await regions.named(\\"string\\")\\n .map(read)\\n // HACK concatenate via string representation\\n .map(async data => (await data).toHex().slice(2))\\n .reduce(async (accumulator, data) => {\\n return `${await accumulator}${await data}`;\\n }, Promise.resolve(\\"0x\\"))\\n );\\n\\n const storedString = new TextDecoder().decode(stringData);\\n\\n if (storedString !== currentStoredString) {\\n const pc = Number(await state.programCounter);\\n console.group(chalk.bold(\\n pc === 0 ?\\n \\"initial storedString\\"\\n : \\"storedString changed\\"\\n ));\\n console.log(\\"pc: %o\\", pc);\\n console.log(\\"new value: %o\\", storedString);\\n console.groupEnd();\\n\\n currentStoredString = storedString;\\n }\\n }\\n\\n console.groupEnd();\\n console.log(\\"\\");\\n\\n console.log(chalk.bold(\\"thanks for reading!\\"));\\n\\n}\\n\\nawait run();\\n"},{"filePath":"test/solc.ts","text":"import * as util from \\"util\\";\\nimport { Data } from \\"../src/data.js\\";\\nimport solc from \\"solc\\";\\n\\nexport interface CompileOptions {\\n sources: {\\n [path: string]: {\\n content: string\\n }\\n };\\n\\n target: {\\n path: string;\\n contractName: string;\\n };\\n}\\n\\n// just compile and get something that can go into transaction data\\nexport async function compileCreateBytecode({\\n sources,\\n target\\n}: CompileOptions): Promise<Data> {\\n const input = {\\n language: \\"Solidity\\",\\n sources,\\n settings: {\\n outputSelection: {\\n \\"*\\": {\\n \\"*\\": [\\"ir\\", \\"*\\"],\\n \\"\\": [\\"*\\"]\\n }\\n },\\n viaIR: true,\\n optimizer: {\\n enabled: true\\n }\\n }\\n };\\n\\n const output = JSON.parse(\\n solc.compile(\\n JSON.stringify(input),\\n )\\n );\\n\\n const { errors = [] } = output;\\n if (errors.length > 0) {\\n throw new Error(util.inspect(errors));\\n }\\n\\n const {\\n evm: {\\n bytecode: createBytecode\\n }\\n } = output.contracts[target.path][target.contractName];\\n\\n return Data.fromHex(`0x${createBytecode.object}`);\\n}\\n"},{"filePath":"../format/dist/src/describe.d.ts","text":"import type { JSONSchema as JSONSchemaTyped } from \\"json-schema-typed/draft-2020-12\\";\\nexport type JSONSchema = Exclude<JSONSchemaTyped, boolean>;\\nexport interface DescribeSchemaOptions<S extends SchemaReference = SchemaReference> {\\n schema: S;\\n pointer?: SchemaPointer;\\n}\\nexport interface SchemaInfo {\\n id?: string;\\n pointer?: SchemaPointer;\\n yaml: string;\\n schema: JSONSchema;\\n rootSchema: JSONSchema;\\n}\\nexport declare function describeSchema({ schema, pointer }: DescribeSchemaOptions): SchemaInfo;\\ntype Impossible<K extends keyof any> = {\\n [P in K]: never;\\n};\\ntype NoExtraProperties<T, U extends T = T> = U & Impossible<Exclude<keyof U, keyof T>>;\\nexport type SchemaPointer = `#${string}`;\\nexport type SchemaReference = SchemaById | SchemaByYaml | object;\\nexport type SchemaById = NoExtraProperties<{\\n id: string;\\n}>;\\nexport type SchemaByYaml = NoExtraProperties<{\\n yaml: string;\\n}>;\\nexport declare function referencesId(schema: SchemaReference): schema is SchemaById;\\nexport declare function referencesYaml(schema: SchemaReference): schema is SchemaByYaml;\\nexport {};\\n//# sourceMappingURL=describe.d.ts.map"},{"filePath":"../format/dist/src/index.d.ts","text":"export * from \\"./describe\\";\\nexport { schemas, schemaIds, type Schema } from \\"./schemas\\";\\n//# sourceMappingURL=index.d.ts.map"},{"filePath":"../format/dist/src/schemas.d.ts","text":"export type { Schema } from \\"../yamls\\";\\nexport declare const schemaIds: string[];\\nexport declare const schemas: {\\n [x: string]: {\\n $anchor?: string | undefined;\\n $comment?: string | undefined;\\n $defs?: Record<string, import(\\"json-schema-typed\\").JSONSchema<any, import(\\"json-schema-typed\\").JSONSchema.TypeValue>> | undefined;\\n $dynamicAnchor?: string | undefined;\\n $dynamicRef?: string | undefined;\\n $id?: string | undefined;\\n $ref?: string | undefined;\\n $schema?: string | undefined;\\n $vocabulary?: Record<string, string> | undefined;\\n additionalItems?: import(\\"json-schema-typed\\").JSONSchema<any, import(\\"json-schema-typed\\").JSONSchema.TypeValue> | undefined;\\n additionalProperties?: import(\\"json-schema-typed\\").JSONSchema<any, import(\\"json-schema-typed\\").JSONSchema.TypeValue> | undefined;\\n allOf?: (import(\\"json-schema-typed\\").JSONSchema<any, import(\\"json-schema-typed\\").JSONSchema.TypeValue>[] | readonly import(\\"json-schema-typed\\").JSONSchema<any, import(\\"json-schema-typed\\").JSONSchema.TypeValue>[]) | undefined;\\n anyOf?: (import(\\"json-schema-typed\\").JSONSchema<any, import(\\"json-schema-typed\\").JSONSchema.TypeValue>[] | readonly import(\\"json-schema-typed\\").JSONSchema<any, import(\\"json-schema-typed\\").JSONSchema.TypeValue>[]) | undefined;\\n const?: any;\\n contains?: import(\\"json-schema-typed\\").JSONSchema<any, import(\\"json-schema-typed\\").JSONSchema.TypeValue> | undefined;\\n contentEncoding?: \\"7bit\\" | \\"8bit\\" | \\"base64\\" | \\"binary\\" | \\"ietf-token\\" | \\"quoted-printable\\" | \\"x-token\\" | undefined;\\n contentMediaType?: string | undefined;\\n contentSchema?: import(\\"json-schema-typed\\").JSONSchema<any, import(\\"json-schema-typed\\").JSONSchema.TypeValue> | undefined;\\n default?: any;\\n definitions?: Record<string, import(\\"json-schema-typed\\").JSONSchema<any, import(\\"json-schema-typed\\").JSONSchema.TypeValue>> | undefined;\\n dependencies?: Record<string, import(\\"json-schema-typed\\").JSONSchema<any, import(\\"json-schema-typed\\").JSONSchema.TypeValue> | (string[] | readonly string[])> | undefined;\\n dependentRequired?: Record<string, string[] | readonly string[]> | undefined;\\n dependentSchemas?: Record<string, import(\\"json-schema-typed\\").JSONSchema<any, import(\\"json-schema-typed\\").JSONSchema.TypeValue>> | undefined;\\n deprecated?: boolean | undefined;\\n description?: string | undefined;\\n else?: import(\\"json-schema-typed\\").JSONSchema<any, import(\\"json-schema-typed\\").JSONSchema.TypeValue> | undefined;\\n enum?: (any[] | readonly any[]) | undefined;\\n examples?: (any[] | readonly any[]) | undefined;\\n exclusiveMaximum?: number | undefined;\\n exclusiveMinimum?: number | undefined;\\n format?: string | undefined;\\n if?: import(\\"json-schema-typed\\").JSONSchema<any, import(\\"json-schema-typed\\").JSONSchema.TypeValue> | undefined;\\n items?: import(\\"json-schema-typed\\").JSONSchema<any, import(\\"json-schema-typed\\").JSONSchema.TypeValue> | undefined;\\n maxContains?: number | undefined;\\n maximum?: number | undefined;\\n maxItems?: number | undefined;\\n maxLength?: number | undefined;\\n maxProperties?: number | undefined;\\n minContains?: number | undefined;\\n minimum?: number | undefined;\\n minItems?: number | undefined;\\n minLength?: number | undefined;\\n minProperties?: number | undefined;\\n multipleOf?: number | undefined;\\n not?: import(\\"json-schema-typed\\").JSONSchema<any, import(\\"json-schema-typed\\").JSONSchema.TypeValue> | undefined;\\n oneOf?: (import(\\"json-schema-typed\\").JSONSchema<any, import(\\"json-schema-typed\\").JSONSchema.TypeValue>[] | readonly import(\\"json-schema-typed\\").JSONSchema<any, import(\\"json-schema-typed\\").JSONSchema.TypeValue>[]) | undefined;\\n pattern?: string | undefined;\\n patternProperties?: Record<string, import(\\"json-schema-typed\\").JSONSchema<any, import(\\"json-schema-typed\\").JSONSchema.TypeValue>> | undefined;\\n prefixItems?: import(\\"json-schema-typed\\").JSONSchema<any, import(\\"json-schema-typed\\").JSONSchema.TypeValue> | (import(\\"json-schema-typed\\").JSONSchema<any, import(\\"json-schema-typed\\").JSONSchema.TypeValue>[] | readonly import(\\"json-schema-typed\\").JSONSchema<any, import(\\"json-schema-typed\\").JSONSchema.TypeValue>[]) | undefined;\\n properties?: Record<string, import(\\"json-schema-typed\\").JSONSchema<any, import(\\"json-schema-typed\\").JSONSchema.TypeValue>> | undefined;\\n propertyNames?: import(\\"json-schema-typed\\").JSONSchema<any, import(\\"json-schema-typed\\").JSONSchema.TypeValue> | undefined;\\n readOnly?: boolean | undefined;\\n required?: (string[] | readonly string[]) | undefined;\\n then?: import(\\"json-schema-typed\\").JSONSchema<any, import(\\"json-schema-typed\\").JSONSchema.TypeValue> | undefined;\\n title?: string | undefined;\\n type?: import(\\"json-schema-typed\\").JSONSchema.TypeValue | undefined;\\n unevaluatedItems?: import(\\"json-schema-typed\\").JSONSchema<any, import(\\"json-schema-typed\\").JSONSchema.TypeValue> | undefined;\\n unevaluatedProperties?: import(\\"json-schema-typed\\").JSONSchema<any, import(\\"json-schema-typed\\").JSONSchema.TypeValue> | undefined;\\n uniqueItems?: boolean | undefined;\\n writeOnly?: boolean | undefined;\\n };\\n};\\n//# sourceMappingURL=schemas.d.ts.map"},{"filePath":"src/dereference/cursor.ts","text":"import type { Machine } from \\"../machine.js\\";\\nimport type { Cursor } from \\"../cursor.js\\";\\nimport { read } from \\"../read.js\\";\\n\\nexport function createCursor(\\n simpleCursor: (state: Machine.State) => AsyncIterable<Cursor.Region>\\n): Cursor {\\n return {\\n async view(state: Machine.State) {\\n const list = [];\\n for await (const region of simpleCursor(state)) {\\n list.push(region);\\n }\\n\\n const named: { [name: string]: Cursor.Region[] } = {};\\n const current: { [name: string]: Cursor.Region } = {};\\n\\n const propertyFlags = {\\n writable: false,\\n enumerable: false,\\n configurable: false\\n } as const;\\n\\n const regions: Cursor.Regions = Object.create(Array.prototype, {\\n length: {\\n value: list.length,\\n ...propertyFlags\\n }\\n });\\n\\n for (const [index, region] of list.entries()) {\\n Object.defineProperty(regions, index, {\\n value: region,\\n ...propertyFlags,\\n enumerable: true,\\n });\\n\\n if (typeof region.name === \\"string\\") {\\n if (!(region.name in named)) {\\n named[region.name] = [];\\n }\\n named[region.name].push(region);\\n current[region.name] = region;\\n }\\n }\\n\\n for (const [name, region] of Object.entries(current)) {\\n Object.defineProperty(regions, name, {\\n value: region,\\n ...propertyFlags\\n });\\n }\\n\\n Object.defineProperties(regions, {\\n named: {\\n value: (name: string) => named[name] || [],\\n ...propertyFlags\\n },\\n lookup: {\\n value: {\\n ...current\\n },\\n ...propertyFlags\\n }\\n });\\n\\n return {\\n regions,\\n async read(region: Cursor.Region) {\\n return await read(region, { state });\\n }\\n };\\n }\\n };\\n}\\n"},{"filePath":"src/dereference/generate.ts","text":"import type { Machine } from \\"../machine.js\\";\\nimport type { Cursor } from \\"../cursor.js\\";\\nimport type { Data } from \\"../data.js\\";\\nimport type { Pointer } from \\"../pointer.js\\";\\n\\nimport { Memo } from \\"./memo.js\\";\\nimport { processPointer, type ProcessOptions } from \\"./process.js\\";\\n\\n/**\\n * Upfront information needed for generating the concrete Cursor.Regions\\n * for a particular pointer at runtime.\\n */\\nexport interface GenerateRegionsOptions {\\n state: Machine.State;\\n initialStackLength: bigint;\\n}\\n\\n/**\\n * Generator function that yields Cursor.Regions for a given Pointer.\\n *\\n * This function maintains an internal stack of memos to evaluate,\\n * initially populating this stack with a single entry for evaluating the\\n * given pointer.\\n */\\nexport async function* generateRegions(\\n pointer: Pointer,\\n generateRegionsOptions: GenerateRegionsOptions\\n): AsyncIterable<Cursor.Region> {\\n const options = await initializeProcessOptions(generateRegionsOptions);\\n\\n // extract records for mutation\\n const {\\n regions,\\n variables\\n } = options;\\n\\n const stack: Memo[] = [Memo.dereferencePointer(pointer)];\\n while (stack.length > 0) {\\n const memo: Memo = stack.pop() as Memo;\\n\\n let memos: Memo[] = [];\\n switch (memo.kind) {\\n case \\"dereference-pointer\\": {\\n memos = yield* processPointer(memo.pointer, options);\\n break;\\n }\\n case \\"save-regions\\": {\\n Object.assign(regions, memo.regions);\\n break;\\n }\\n case \\"save-variables\\": {\\n Object.assign(variables, memo.variables);\\n break;\\n }\\n }\\n\\n // add new memos to the stack in reverse order\\n for (let index = memos.length - 1; index >= 0; index--) {\\n stack.push(memos[index]);\\n }\\n }\\n}\\n\\nasync function initializeProcessOptions({\\n state,\\n initialStackLength\\n}: GenerateRegionsOptions): Promise<ProcessOptions> {\\n const currentStackLength = await state.stack.length;\\n const stackLengthChange = currentStackLength - initialStackLength;\\n\\n const regions: Record<string, Cursor.Region> = {};\\n const variables: Record<string, Data> = {};\\n\\n return {\\n state,\\n stackLengthChange,\\n regions,\\n variables\\n };\\n}\\n"},{"filePath":"src/dereference/index.integration.test.ts","text":"import { jest, expect, describe, it, beforeEach } from \\"@jest/globals\\";\\n\\nimport { describeSchema } from \\"@ethdebug/format\\";\\n\\nimport {\\n loadGanache,\\n machineForProvider,\\n compileCreateBytecode,\\n deployContract,\\n examples\\n} from \\"../../test/index.js\\";\\n\\nimport { Machine, Data, type Pointer, dereference } from \\"../index.js\\";\\n\\nconst { schema: { examples: examplePointers } } = describeSchema({\\n schema: { id: \\"schema:ethdebug/format/pointer\\" }\\n}) as { schema: { examples: Pointer[] } };\\n\\ndescribe(\\"dereference (integration)\\", () => {\\n describe(\\"solidity string storage\\", () => {\\n it(\\"allows dereferencing solidity string storage pointers\\", async () => {\\n const expectedStringValues = [\\n \\"\\",\\n \\"hello world\\",\\n \\"solidity storage is a fun lesson in endianness\\"\\n ];\\n const observedStringValues = [];\\n\\n const pointer: Pointer = examplePointers.find(\\n example => JSON.stringify(example).includes(\\"long-string-length-data\\")\\n )!;\\n\\n // initialize local development blockchain\\n const provider = (await loadGanache()).provider({\\n logging: {\\n quiet: true\\n }\\n });\\n\\n const bytecode = await compileCreateBytecode(examples.stringStorage);\\n const {\\n transactionHash,\\n contractAddress\\n } = await deployContract(bytecode, provider);\\n\\n const machine = machineForProvider(provider, { transactionHash });\\n\\n let cursor = await dereference(pointer);\\n let lastObservedStringValue;\\n for await (const state of machine.trace()) {\\n const { regions, read } = await cursor.view(state);\\n const stringData = Data.fromHex(\\n await regions.named(\\"string\\")\\n .map(read)\\n // HACK concatenate via string representation\\n .map(async data => (await data).toHex().slice(2))\\n .reduce(async (accumulator, data) => {\\n return `${await accumulator}${await data}`;\\n }, Promise.resolve(\\"0x\\"))\\n );\\n\\n const storedString = new TextDecoder().decode(stringData);\\n\\n if (storedString !== lastObservedStringValue) {\\n observedStringValues.push(storedString);\\n lastObservedStringValue = storedString;\\n }\\n }\\n\\n expect(observedStringValues).toEqual(\\n expect.arrayContaining(expectedStringValues)\\n );\\n\\n });\\n });\\n});\\n"},{"filePath":"src/dereference/index.test.ts","text":"import { jest, expect, describe, it, beforeEach } from \\"@jest/globals\\";\\nimport { Machine } from \\"../machine.js\\";\\nimport { Data } from \\"../data.js\\";\\nimport { Pointer } from \\"../pointer.js\\";\\nimport { dereference } from \\"./index.js\\";\\n\\ndescribe(\\"dereference\\", () => {\\n let state: Machine.State;\\n\\n beforeEach(() => {\\n state = {\\n stack: {\\n length: Promise.resolve(10n),\\n peek: jest.fn(async () => Data.fromBytes(new Uint8Array([0x11, 0x22, 0x33, 0x44]))),\\n },\\n memory: {\\n read: jest.fn(async () => Data.fromBytes(new Uint8Array([0x55, 0x66, 0x77, 0x88]))),\\n },\\n storage: {\\n read: jest.fn(async () => Data.fromBytes(new Uint8Array([0xaa, 0xbb, 0xcc, 0xdd]))),\\n },\\n calldata: {\\n read: jest.fn(async () => Data.fromBytes(new Uint8Array([0x11, 0x22, 0x33, 0x44]))),\\n },\\n returndata: {\\n read: jest.fn(async () => Data.fromBytes(new Uint8Array([0x55, 0x66, 0x77, 0x88]))),\\n },\\n transient: {\\n read: jest.fn(async () => Data.fromBytes(new Uint8Array([0xaa, 0xbb, 0xcc, 0xdd]))),\\n },\\n code: {\\n read: jest.fn(async () => Data.fromBytes(new Uint8Array([0x11, 0x22, 0x33, 0x44]))),\\n },\\n } as unknown as Machine.State;\\n });\\n\\n it(\\"works for a single region\\", async () => {\\n const pointer: Pointer = {\\n location: \\"memory\\",\\n offset: {\\n $sum: [0x40, 0x20]\\n },\\n length: 0x20\\n };\\n\\n const cursor = await dereference(pointer);\\n\\n const { regions } = await cursor.view(state);\\n\\n expect(regions).toHaveLength(1);\\n expect(regions[0]).toEqual({\\n location: \\"memory\\",\\n offset: Data.fromNumber(0x60),\\n length: Data.fromNumber(0x20)\\n });\\n });\\n\\n it(\\"works for a group of regions\\", async () => {\\n const pointer: Pointer = {\\n group: [{\\n name: \\"a\\",\\n location: \\"memory\\",\\n offset: {\\n $sum: [0x40, 0x20]\\n },\\n length: 0x20\\n }, {\\n location: \\"memory\\",\\n offset: {\\n $sum: [\\n { \\".offset\\": \\"a\\" },\\n { \\".length\\": \\"a\\" }\\n ]\\n },\\n length: { \\".length\\": \\"a\\" }\\n }]\\n };\\n\\n const cursor = await dereference(pointer);\\n\\n const { regions } = await cursor.view(state);\\n\\n expect(regions).toHaveLength(2);\\n expect(regions.lookup[\\"a\\"]).toEqual({\\n name: \\"a\\",\\n location: \\"memory\\",\\n offset: Data.fromNumber(0x60),\\n length: Data.fromNumber(0x20)\\n });\\n expect(regions[1]).toEqual({\\n location: \\"memory\\",\\n offset: Data.fromNumber(0x80),\\n length: Data.fromNumber(0x20)\\n });\\n });\\n\\n it(\\"works for a list of regions\\", async () => {\\n const pointer: Pointer = {\\n list: {\\n count: 3,\\n each: \\"i\\",\\n is: {\\n name: \\"item\\",\\n location: \\"memory\\",\\n offset: {\\n $product: [\\"i\\", 32],\\n },\\n length: 32\\n },\\n },\\n };\\n\\n const cursor = await dereference(pointer);\\n\\n const { regions } = await cursor.view(state);\\n\\n const itemRegions = regions.named(\\"item\\");\\n expect(itemRegions).toHaveLength(3);\\n\\n for (const [index, region] of itemRegions.entries()) {\\n expect(region).toEqual({\\n name: \\"item\\",\\n location: \\"memory\\",\\n offset: Data.fromUint(\\n Data.fromNumber(index).asUint() * 32n\\n ),\\n length: Data.fromNumber(32),\\n })\\n }\\n });\\n\\n it(\\"allows referencing previous fields by way of $this\\", async () => {\\n const pointer: Pointer = {\\n location: \\"memory\\",\\n offset: 32,\\n length: { \\".offset\\": \\"$this\\" }\\n };\\n\\n const cursor = await dereference(pointer);\\n\\n const { regions } = await cursor.view(state);\\n\\n expect(regions).toHaveLength(1);\\n expect(regions[0]).toEqual({\\n location: \\"memory\\",\\n offset: Data.fromNumber(32),\\n length: Data.fromNumber(32)\\n });\\n });\\n\\n it(\\"allows referencing later fields by way of $this\\", async () => {\\n const pointer: Pointer = {\\n location: \\"memory\\",\\n offset: { \\".length\\": \\"$this\\" },\\n length: 32\\n };\\n\\n const cursor = await dereference(pointer);\\n\\n const { regions } = await cursor.view(state);\\n\\n expect(regions).toHaveLength(1);\\n expect(regions[0]).toEqual({\\n location: \\"memory\\",\\n offset: Data.fromNumber(32),\\n length: Data.fromNumber(32)\\n });\\n });\\n\\n it(\\"allows referencing fields that reference other fields\\", async () => {\\n const pointer: Pointer = {\\n location: \\"storage\\",\\n slot: { \\".offset\\": \\"$this\\" },\\n offset: { \\".length\\": \\"$this\\" },\\n length: 32\\n };\\n\\n const cursor = await dereference(pointer);\\n\\n const { regions } = await cursor.view(state);\\n\\n expect(regions).toHaveLength(1);\\n expect(regions[0]).toEqual({\\n location: \\"storage\\",\\n slot: Data.fromNumber(32),\\n offset: Data.fromNumber(32),\\n length: Data.fromNumber(32)\\n });\\n });\\n\\n it(\\"throws an error on circular reference\\", async () => {\\n const pointer: Pointer = {\\n location: \\"memory\\",\\n offset: { \\".length\\": \\"$this\\" },\\n length: { \\".offset\\": \\"$this\\" },\\n };\\n\\n const cursor = await dereference(pointer);\\n\\n await expect(cursor.view(state)).rejects.toThrow(\\n \\"Circular reference detected: $this.offset\\"\\n );\\n });\\n\\n it(\\"works for conditionals\\", async () => {\\n const pointer: Pointer = {\\n if: {\\n $difference: [5, 5]\\n },\\n then: {\\n name: \\"a\\",\\n location: \\"memory\\",\\n offset: 0,\\n length: 0\\n },\\n else: {\\n name: \\"b\\",\\n location: \\"memory\\",\\n offset: 0,\\n length: 0\\n }\\n };\\n\\n const cursor = await dereference(pointer);\\n\\n const { regions } = await cursor.view(state);\\n\\n expect(regions).toHaveLength(1);\\n expect(regions[0].name).toEqual(\\"b\\");\\n });\\n\\n it(\\"works for scopes\\", async () => {\\n const pointer: Pointer = {\\n define: {\\n \\"example-offset\\": 0,\\n \\"example-length\\": 32\\n },\\n in: {\\n location: \\"memory\\",\\n offset: \\"example-offset\\",\\n length: \\"example-length\\"\\n }\\n };\\n\\n const cursor = await dereference(pointer);\\n\\n const { regions } = await cursor.view(state);\\n\\n expect(regions).toHaveLength(1);\\n expect(regions[0].offset).toEqual(Data.fromNumber(0));\\n expect(regions[0].length).toEqual(Data.fromNumber(32));\\n });\\n});\\n"},{"filePath":"src/dereference/index.ts","text":"import type { Pointer } from \\"../pointer.js\\";\\nimport type { Machine } from \\"../machine.js\\";\\nimport type { Cursor } from \\"../cursor.js\\";\\n\\nimport { generateRegions, type GenerateRegionsOptions } from \\"./generate.js\\";\\nimport { createCursor } from \\"./cursor.js\\";\\n\\nexport interface DereferenceOptions {\\n /*\\n * Initial machine state\\n * Required for any pointers that reference the stack.\\n */\\n state?: Machine.State;\\n}\\n\\n/**\\n * Dereference an ethdebug/format/pointer document into a Cursor object,\\n * which allows inspecting machine state corresponding to the given pointer.\\n *\\n * Note that `options.state` is required if `pointer` contains any stack\\n * regions.\\n */\\nexport async function dereference(\\n pointer: Pointer,\\n dereferenceOptions: DereferenceOptions = {}\\n): Promise<Cursor> {\\n const options = await initializeGenerateRegionsOptions(dereferenceOptions);\\n\\n // use a closure to build a simple Cursor-like interface for accepting\\n // a machine state and producing a collection of regions.\\n const simpleCursor =\\n (state: Machine.State): AsyncIterable<Cursor.Region> => ({\\n async *[Symbol.asyncIterator]() {\\n yield* generateRegions(pointer, { ...options, state });\\n }\\n });\\n\\n return createCursor(simpleCursor);\\n}\\n\\n/**\\n * Convert DereferenceOptions into the specific pieces of information that\\n * `generateRegions()` will potentially need.\\n */\\nasync function initializeGenerateRegionsOptions({\\n state: initialState\\n}: DereferenceOptions): Promise<Omit<GenerateRegionsOptions, \\"state\\">> {\\n const initialStackLength = initialState\\n ? await initialState.stack.length\\n : 0n;\\n\\n return { initialStackLength };\\n}\\n"},{"filePath":"src/dereference/memo.ts","text":"import type { Pointer } from \\"../pointer.js\\";\\nimport type { Cursor } from \\"../cursor.js\\";\\nimport type { Data } from \\"../data.js\\";\\n\\n/**\\n * A single state transition for processing on a stack\\n */\\nexport type Memo =\\n | Memo.DereferencePointer\\n | Memo.SaveRegions\\n | Memo.SaveVariables;\\n\\nexport namespace Memo {\\n /**\\n * A request to dereference a pointer\\n */\\n export interface DereferencePointer {\\n kind: \\"dereference-pointer\\";\\n pointer: Pointer;\\n }\\n\\n /**\\n * Initialize a DereferencePointer memo\\n */\\n export const dereferencePointer =\\n (pointer: Pointer): DereferencePointer => ({\\n kind: \\"dereference-pointer\\",\\n pointer\\n });\\n\\n /**\\n * A request to modify the stateful map of regions by name with a\\n * particular set of new entries.\\n *\\n * This does not indicate that any change should be made to region names not\\n * included in this memo.\\n */\\n export interface SaveRegions {\\n kind: \\"save-regions\\";\\n regions: Record<string, Cursor.Region>;\\n }\\n\\n /**\\n * Initialize a SaveRegions memo\\n */\\n export const saveRegions =\\n (regions: Record<string, Cursor.Region>): SaveRegions => ({\\n kind: \\"save-regions\\",\\n regions\\n });\\n\\n /**\\n * A request to modify the stateful map of variable values with a\\n * particular set of new entries.\\n *\\n * This does not indicate that any change should be made to variables not\\n * included in this memo.\\n */\\n export interface SaveVariables {\\n kind: \\"save-variables\\";\\n variables: Record<string, Data>;\\n }\\n\\n /**\\n * Initialize a SaveVariables memo\\n */\\n export const saveVariables =\\n (variables: Record<string, Data>): SaveVariables => ({\\n kind: \\"save-variables\\",\\n variables\\n });\\n}\\n"},{"filePath":"src/dereference/process.ts","text":"import type { Machine } from \\"../machine.js\\";\\nimport type { Cursor } from \\"../cursor.js\\";\\nimport { Data } from \\"../data.js\\";\\nimport { Pointer } from \\"../pointer.js\\";\\nimport { evaluate } from \\"../evaluate.js\\";\\n\\nimport { Memo } from \\"./memo.js\\";\\nimport { adjustStackLength, evaluateRegion } from \\"./region.js\\";\\n\\n\\n/**\\n * Contextual information for use within a pointer dereference process\\n */\\nexport interface ProcessOptions {\\n state: Machine.State;\\n stackLengthChange: bigint;\\n regions: Record<string, Cursor.Region>;\\n variables: Record<string, Data>;\\n}\\n\\n/**\\n * an generator that yields Cursor regions and returns a list of new memos\\n * to add to the stack\\n */\\nexport type Process = AsyncGenerator<Cursor.Region, Memo[]>;\\n\\n/**\\n * Process a pointer into a yielded list of concrete, evaluated Cursor.Regions\\n * and return a list of new memos to add to the stack for processing next\\n */\\nexport async function* processPointer(\\n pointer: Pointer,\\n options: ProcessOptions\\n): Process {\\n const {\\n regions: oldRegions,\\n variables: oldVariables,\\n } = options;\\n\\n if (Pointer.isRegion(pointer)) {\\n const region = pointer;\\n\\n return yield* processRegion(region, options);\\n }\\n\\n const collection = pointer;\\n\\n if (Pointer.Collection.isGroup(collection)) {\\n return yield* processGroup(collection, options);\\n }\\n\\n if (Pointer.Collection.isList(collection)) {\\n return yield* processList(collection, options);\\n }\\n\\n if (Pointer.Collection.isConditional(collection)) {\\n return yield* processConditional(collection, options);\\n }\\n\\n if (Pointer.Collection.isScope(collection)) {\\n return yield* processScope(collection, options);\\n }\\n\\n console.error(\\"%s\\", JSON.stringify(pointer, undefined, 2));\\n throw new Error(\\"Unexpected unknown kind of pointer\\");\\n}\\n\\nasync function* processRegion(\\n region: Pointer.Region,\\n { stackLengthChange, ...options}: ProcessOptions\\n): Process {\\n const evaluatedRegion = await evaluateRegion(\\n adjustStackLength(region, stackLengthChange),\\n options\\n );\\n\\n yield evaluatedRegion;\\n\\n if (typeof region.name !== \\"undefined\\") {\\n return [Memo.saveRegions({ [region.name]: evaluatedRegion })];\\n }\\n\\n return [];\\n}\\n\\nasync function* processGroup(\\n collection: Pointer.Collection.Group,\\n options: ProcessOptions\\n): Process {\\n const { group } = collection;\\n return group.map(Memo.dereferencePointer);\\n}\\n\\nasync function* processList(\\n collection: Pointer.Collection.List,\\n options: ProcessOptions\\n): Process {\\n const { list } = collection;\\n const { count: countExpression, each, is } = list;\\n\\n const count = (await evaluate(countExpression, options)).asUint();\\n\\n const memos: Memo[] = [];\\n for (let index = 0n; index < count; index++) {\\n memos.push(Memo.saveVariables({\\n [each]: Data.fromUint(index)\\n }));\\n\\n memos.push(Memo.dereferencePointer(is));\\n }\\n\\n return memos;\\n}\\n\\nasync function* processConditional(\\n collection: Pointer.Collection.Conditional,\\n options: ProcessOptions\\n): Process {\\n const { if: ifExpression, then: then_, else: else_ } = collection;\\n\\n const if_ = (await evaluate(ifExpression, options)).asUint();\\n\\n if (if_) {\\n return [Memo.dereferencePointer(then_)];\\n }\\n\\n // otherwise, return the else clause if it exists (it is optional)\\n return else_\\n ? [Memo.dereferencePointer(else_)]\\n : [];\\n}\\n\\nasync function* processScope(\\n collection: Pointer.Collection.Scope,\\n options: ProcessOptions\\n): Process {\\n const { define: variableExpressions, in: in_ } = collection;\\n\\n const allVariables = {\\n ...options.variables\\n };\\n const newVariables: { [identifier: string]: Data } = {};\\n for (const [identifier, expression] of Object.entries(variableExpressions)) {\\n const data = await evaluate(expression, {\\n ...options,\\n variables: allVariables\\n });\\n\\n allVariables[identifier] = data;\\n newVariables[identifier] = data;\\n }\\n\\n return [\\n Memo.saveVariables(newVariables),\\n Memo.dereferencePointer(in_)\\n ];\\n}\\n"},{"filePath":"src/dereference/region.ts","text":"import type { Cursor } from \\"../cursor.js\\";\\nimport type { Data } from \\"../data.js\\";\\nimport { Pointer } from \\"../pointer.js\\";\\nimport { evaluate, type EvaluateOptions } from \\"../evaluate.js\\";\\n\\n/**\\n * Evaluate all Pointer.Expression-value properties on a given region\\n *\\n * Due to the availability of `$this` as a builtin allowable by the schema,\\n * this function evaluates each property as part of a queue. If a property\'s\\n * expression fails to evaluate due to a missing reference, the property is\\n * added to the end of the queue.\\n *\\n * Circular dependencies are detected na\xefvely by counting evaluation attempts\\n * for each property, since the maximum length of a chain of $this references\\n * within a single region is one less than the number of properties that\\n * require evaluation). Exceeding this many attempts indicates circularity.\\n */\\nexport async function evaluateRegion<R extends Pointer.Region>(\\n region: R,\\n options: EvaluateOptions\\n): Promise<Cursor.Region<R>> {\\n const evaluatedProperties: {\\n [K in keyof R]?: Data\\n } = {};\\n const propertyAttempts: {\\n [K in keyof R]?: number\\n } = {};\\n\\n const partialRegion: Cursor.Region<R> = new Proxy(\\n { ...region } as Cursor.Region<R>,\\n {\\n get(target, property) {\\n if (property in evaluatedProperties) {\\n return evaluatedProperties[property as keyof R];\\n }\\n throw new Error(`Property not evaluated yet: $this.${property.toString()}`)\\n },\\n }\\n );\\n\\n const propertiesRequiringEvaluation = [\\"slot\\", \\"offset\\", \\"length\\"] as const;\\n\\n const expressionQueue: [keyof R, Pointer.Expression][] =\\n propertiesRequiringEvaluation\\n .filter(property => property in region)\\n .map(\\n property => [property, region[property as keyof R]]\\n ) as [keyof R, Pointer.Expression][];\\n\\n while (expressionQueue.length > 0) {\\n const [property, expression] = expressionQueue.shift()!;\\n\\n try {\\n const data = await evaluate(expression, {\\n ...options,\\n regions: {\\n ...options.regions,\\n $this: partialRegion,\\n },\\n });\\n\\n evaluatedProperties[property as keyof R] = data;\\n } catch (error) {\\n if (\\n error instanceof Error &&\\n error.message.startsWith(\\"Property not evaluated yet: $this.\\")\\n ) {\\n const attempts = propertyAttempts[property] || 0;\\n // fields may reference each other, but the chain of references\\n // should not exceed the number of fields minus 1\\n if (attempts > propertiesRequiringEvaluation.length - 1) {\\n throw new Error(`Circular reference detected: $this.${property.toString()}`);\\n }\\n\\n propertyAttempts[property] = attempts + 1;\\n expressionQueue.push([property, expression]);\\n } else {\\n throw error;\\n }\\n }\\n }\\n\\n return {\\n ...region,\\n ...evaluatedProperties,\\n } as Cursor.Region<R>;\\n}\\n\\n/**\\n * Detect a stack region and modify its `slot` expression to include the\\n * appropriate sum or difference based on the machine stack length change\\n * since the Cursor was originally created\\n */\\nexport function adjustStackLength<R extends Pointer.Region>(\\n region: R,\\n stackLengthChange: bigint\\n): R {\\n if (Pointer.Region.isStack(region)) {\\n const slot: Pointer.Expression = stackLengthChange === 0n\\n ? region.slot\\n : stackLengthChange > 0n\\n ? { $sum: [region.slot, `\\"0x${stackLengthChange.toString(16)}\\"`] }\\n : { $difference: [region.slot, `\\"0x${-stackLengthChange.toString(16)}\\"`] };\\n\\n return {\\n ...region,\\n slot\\n };\\n }\\n\\n return region;\\n}\\n"}]}}}}}'),i=JSON.parse('{"defaultLocale":"en","locales":["en"],"path":"i18n","currentLocale":"en","localeConfigs":{"en":{"label":"English","direction":"ltr","htmlLang":"en","calendar":"gregory","path":"en"}}}');var s=t(57529);const l=JSON.parse('{"docusaurusVersion":"3.4.0","siteVersion":"0.1.0-0","pluginVersions":{"docusaurus-plugin-content-docs":{"type":"package","name":"@docusaurus/plugin-content-docs","version":"3.4.0"},"docusaurus-plugin-content-blog":{"type":"package","name":"@docusaurus/plugin-content-blog","version":"3.4.0"},"docusaurus-plugin-content-pages":{"type":"package","name":"@docusaurus/plugin-content-pages","version":"3.4.0"},"docusaurus-plugin-sitemap":{"type":"package","name":"@docusaurus/plugin-sitemap","version":"3.4.0"},"docusaurus-theme-classic":{"type":"package","name":"@docusaurus/theme-classic","version":"3.4.0"},"ignore-buffer":{"type":"local"},"project-code-plugin":{"type":"project"},"docusaurus-json-schema-plugin":{"type":"package","name":"docusaurus-json-schema-plugin","version":"1.12.1"},"docusaurus-theme-github-codeblock":{"type":"package","name":"@saucelabs/theme-github-codeblock","version":"0.2.3"}}}');var c=t(52322);const d={siteConfig:o.default,siteMetadata:l,globalData:a,i18n:i,codeTranslations:s},u=r.createContext(d);function p(e){let{children:n}=e;return(0,c.jsx)(u.Provider,{value:d,children:n})}},63951:(e,n,t)=>{"use strict";t.d(n,{Z:()=>y});var r=t(2784),o=t(31263),a=t(69854),i=t(60958),s=t(76266),l=t(71313),c=t(52322);function d(e){let{error:n,tryAgain:t}=e;return(0,c.jsxs)("div",{style:{display:"flex",flexDirection:"column",justifyContent:"center",alignItems:"flex-start",minHeight:"100vh",width:"100%",maxWidth:"80ch",fontSize:"20px",margin:"0 auto",padding:"1rem"},children:[(0,c.jsx)("h1",{style:{fontSize:"3rem"},children:"This page crashed"}),(0,c.jsx)("button",{type:"button",onClick:t,style:{margin:"1rem 0",fontSize:"2rem",cursor:"pointer",borderRadius:20,padding:"1rem"},children:"Try again"}),(0,c.jsx)(u,{error:n})]})}function u(e){let{error:n}=e;const t=(0,i.getErrorCausalChain)(n).map((e=>e.message)).join("\n\nCause:\n");return(0,c.jsx)("p",{style:{whiteSpace:"pre-wrap"},children:t})}function p(e){let{children:n}=e;return(0,c.jsx)(l.z,{value:{plugin:{name:"docusaurus-core-error-boundary",id:"default"}},children:n})}function f(e){let{error:n,tryAgain:t}=e;return(0,c.jsx)(p,{children:(0,c.jsxs)(y,{fallback:()=>(0,c.jsx)(d,{error:n,tryAgain:t}),children:[(0,c.jsx)(a.Z,{children:(0,c.jsx)("title",{children:"Page Error"})}),(0,c.jsx)(s.Z,{children:(0,c.jsx)(d,{error:n,tryAgain:t})})]})})}const m=e=>(0,c.jsx)(f,{...e});class y extends r.Component{constructor(e){super(e),this.state={error:null}}componentDidCatch(e){o.Z.canUseDOM&&this.setState({error:e})}render(){const{children:e}=this.props,{error:n}=this.state;if(n){const e={error:n,tryAgain:()=>this.setState({error:null})};return(this.props.fallback??m)(e)}return e??null}}},31263:(e,n,t)=>{"use strict";t.d(n,{Z:()=>o});const r="undefined"!=typeof window&&"document"in window&&"createElement"in window.document,o={canUseDOM:r,canUseEventListeners:r&&("addEventListener"in window||"attachEvent"in window),canUseIntersectionObserver:r&&"IntersectionObserver"in window,canUseViewport:r&&"screen"in window}},69854:(e,n,t)=>{"use strict";t.d(n,{Z:()=>a});t(2784);var r=t(72175),o=t(52322);function a(e){return(0,o.jsx)(r.ql,{...e})}},27718:(e,n,t)=>{"use strict";t.d(n,{Z:()=>f});var r=t(2784),o=t(47933),a=t(60958),i=t(37614),s=t(71344),l=t(31263),c=t(42530),d=t(90077),u=t(52322);function p(e,n){let{isNavLink:t,to:p,href:f,activeClassName:m,isActive:y,"data-noBrokenLinkCheck":h,autoAddBaseUrl:g=!0,...b}=e;const{siteConfig:v}=(0,i.Z)(),{trailingSlash:x,baseUrl:w}=v,k=v.future.experimental_router,{withBaseUrl:S}=(0,d.Cg)(),E=(0,c.Z)(),C=(0,r.useRef)(null);(0,r.useImperativeHandle)(n,(()=>C.current));const _=p||f;const P=(0,s.Z)(_),j=_?.replace("pathname://","");let T=void 0!==j?(O=j,g&&(e=>e.startsWith("/"))(O)?S(O):O):void 0;var O;"hash"===k&&T?.startsWith("./")&&(T=T?.slice(1)),T&&P&&(T=(0,a.applyTrailingSlash)(T,{trailingSlash:x,baseUrl:w}));const $=(0,r.useRef)(!1),R=t?o.OL:o.rU,N=l.Z.canUseIntersectionObserver,A=(0,r.useRef)(),L=()=>{$.current||null==T||(window.docusaurus.preload(T),$.current=!0)};(0,r.useEffect)((()=>(!N&&P&&null!=T&&window.docusaurus.prefetch(T),()=>{N&&A.current&&A.current.disconnect()})),[A,T,N,P]);const D=T?.startsWith("#")??!1,I=!b.target||"_self"===b.target,M=!T||!P||!I;return h||!D&&M||E.collectLink(T),b.id&&E.collectAnchor(b.id),M?(0,u.jsx)("a",{ref:C,href:T,..._&&!P&&{target:"_blank",rel:"noopener noreferrer"},...b}):(0,u.jsx)(R,{...b,onMouseEnter:L,onTouchStart:L,innerRef:e=>{C.current=e,N&&e&&P&&(A.current=new window.IntersectionObserver((n=>{n.forEach((n=>{e===n.target&&(n.isIntersecting||n.intersectionRatio>0)&&(A.current.unobserve(e),A.current.disconnect(),null!=T&&window.docusaurus.prefetch(T))}))})),A.current.observe(e))},to:T,...t&&{isActive:y,activeClassName:m}})}const f=r.forwardRef(p)},15594:(e,n,t)=>{"use strict";t.d(n,{Z:()=>r});const r=()=>null},1077:(e,n,t)=>{"use strict";t.r(n),t.d(n,{default:()=>c,translate:()=>l});var r=t(2784),o=t(52322);function a(e,n){const t=e.split(/(\{\w+\})/).map(((e,t)=>{if(t%2==1){const t=n?.[e.slice(1,-1)];if(void 0!==t)return t}return e}));return t.some((e=>(0,r.isValidElement)(e)))?t.map(((e,n)=>(0,r.isValidElement)(e)?r.cloneElement(e,{key:n}):e)).filter((e=>""!==e)):t.join("")}var i=t(57529);function s(e){let{id:n,message:t}=e;if(void 0===n&&void 0===t)throw new Error("Docusaurus translation declarations must have at least a translation id or a default translation message");return i[n??t]??t??n}function l(e,n){let{message:t,id:r}=e;return a(s({message:t,id:r}),n)}function c(e){let{children:n,id:t,values:r}=e;if(n&&"string"!=typeof n)throw console.warn("Illegal <Translate> children",n),new Error("The Docusaurus <Translate> component only accept simple string values");const i=s({message:n,id:t});return(0,o.jsx)(o.Fragment,{children:a(i,r)})}},78183:(e,n,t)=>{"use strict";t.d(n,{m:()=>r});const r="default"},71344:(e,n,t)=>{"use strict";function r(e){return/^(?:\w*:|\/\/)/.test(e)}function o(e){return void 0!==e&&!r(e)}t.d(n,{Z:()=>o,b:()=>r})},90077:(e,n,t)=>{"use strict";t.d(n,{Cg:()=>i,ZP:()=>s});var r=t(2784),o=t(37614),a=t(71344);function i(){const{siteConfig:e}=(0,o.Z)(),{baseUrl:n,url:t}=e,i=e.future.experimental_router,s=(0,r.useCallback)(((e,r)=>function(e){let{siteUrl:n,baseUrl:t,url:r,options:{forcePrependBaseUrl:o=!1,absolute:i=!1}={},router:s}=e;if(!r||r.startsWith("#")||(0,a.b)(r))return r;if("hash"===s)return r.startsWith("/")?`.${r}`:`./${r}`;if(o)return t+r.replace(/^\//,"");if(r===t.replace(/\/$/,""))return t;const l=r.startsWith(t)?r:t+r.replace(/^\//,"");return i?n+l:l}({siteUrl:t,baseUrl:n,url:e,options:r,router:i})),[t,n,i]);return{withBaseUrl:s}}function s(e,n){void 0===n&&(n={});const{withBaseUrl:t}=i();return t(e,n)}},42530:(e,n,t)=>{"use strict";t.d(n,{Z:()=>i});var r=t(2784);t(52322);const o=r.createContext({collectAnchor:()=>{},collectLink:()=>{}}),a=()=>(0,r.useContext)(o);function i(){return a()}},37614:(e,n,t)=>{"use strict";t.d(n,{Z:()=>a});var r=t(2784),o=t(16288);function a(){return(0,r.useContext)(o._)}},42408:(e,n,t)=>{"use strict";t.d(n,{OD:()=>a,eZ:()=>i});var r=t(37614),o=t(78183);function a(e,n){void 0===n&&(n={});const t=function(){const{globalData:e}=(0,r.Z)();return e}()[e];if(!t&&n.failfast)throw new Error(`Docusaurus plugin global data not found for "${e}" plugin.`);return t}function i(e,n,t){void 0===n&&(n=o.m),void 0===t&&(t={});const r=a(e),i=r?.[n];if(!i&&t.failfast)throw new Error(`Docusaurus plugin global data not found for "${e}" plugin with id "${n}".`);return i}},89741:(e,n,t)=>{"use strict";t.d(n,{Z:()=>a});var r=t(2784),o=t(60108);function a(){return(0,r.useContext)(o._)}},70164:(e,n,t)=>{"use strict";t.d(n,{Z:()=>o});var r=t(2784);const o=t(31263).Z.canUseDOM?r.useLayoutEffect:r.useEffect},20805:(e,n,t)=>{"use strict";t.d(n,{Z:()=>o});const r=e=>"object"==typeof e&&!!e&&Object.keys(e).length>0;function o(e){const n={};return function e(t,o){Object.entries(t).forEach((t=>{let[a,i]=t;const s=o?`${o}.${a}`:a;r(i)?e(i,s):n[s]=i}))}(e),n}},71313:(e,n,t)=>{"use strict";t.d(n,{_:()=>a,z:()=>i});var r=t(2784),o=t(52322);const a=r.createContext(null);function i(e){let{children:n,value:t}=e;const i=r.useContext(a),s=(0,r.useMemo)((()=>function(e){let{parent:n,value:t}=e;if(!n){if(!t)throw new Error("Unexpected: no Docusaurus route context found");if(!("plugin"in t))throw new Error("Unexpected: Docusaurus topmost route context has no `plugin` attribute");return t}const r={...n.data,...t?.data};return{plugin:n.plugin,data:r}}({parent:i,value:t})),[i,t]);return(0,o.jsx)(a.Provider,{value:s,children:n})}},27415:(e,n,t)=>{"use strict";t.d(n,{Iw:()=>f,gA:()=>d,_r:()=>l,Jo:()=>m,zh:()=>c,yW:()=>p,gB:()=>u});var r=t(7267),o=t(42408);const a=e=>e.versions.find((e=>e.isLast));function i(e,n){const t=function(e,n){const t=a(e);return[...e.versions.filter((e=>e!==t)),t].find((e=>!!(0,r.LX)(n,{path:e.path,exact:!1,strict:!1})))}(e,n),o=t?.docs.find((e=>!!(0,r.LX)(n,{path:e.path,exact:!0,strict:!1})));return{activeVersion:t,activeDoc:o,alternateDocVersions:o?function(n){const t={};return e.versions.forEach((e=>{e.docs.forEach((r=>{r.id===n&&(t[e.name]=r)}))})),t}(o.id):{}}}const s={},l=()=>(0,o.OD)("docusaurus-plugin-content-docs")??s,c=e=>{try{return(0,o.eZ)("docusaurus-plugin-content-docs",e,{failfast:!0})}catch(n){throw new Error("You are using a feature of the Docusaurus docs plugin, but this plugin does not seem to be enabled"+("Default"===e?"":` (pluginId=${e}`),{cause:n})}};function d(e){void 0===e&&(e={});const n=l(),{pathname:t}=(0,r.TH)();return function(e,n,t){void 0===t&&(t={});const o=Object.entries(e).sort(((e,n)=>n[1].path.localeCompare(e[1].path))).find((e=>{let[,t]=e;return!!(0,r.LX)(n,{path:t.path,exact:!1,strict:!1})})),a=o?{pluginId:o[0],pluginData:o[1]}:void 0;if(!a&&t.failfast)throw new Error(`Can't find active docs plugin for "${n}" pathname, while it was expected to be found. Maybe you tried to use a docs feature that can only be used on a docs-related page? Existing docs plugin paths are: ${Object.values(e).map((e=>e.path)).join(", ")}`);return a}(n,t,e)}function u(e){return c(e).versions}function p(e){const n=c(e);return a(n)}function f(e){const n=c(e),{pathname:t}=(0,r.TH)();return i(n,t)}function m(e){const n=c(e),{pathname:t}=(0,r.TH)();return function(e,n){const t=a(e);return{latestDocSuggestion:i(e,n).alternateDocVersions[t.name],latestVersionSuggestion:t}}(n,t)}},80401:(e,n,t)=>{"use strict";t.r(n),t.d(n,{default:()=>a});var r=t(92521),o=t.n(r);o().configure({showSpinner:!1});const a={onRouteUpdate(e){let{location:n,previousLocation:t}=e;if(t&&n.pathname!==t.pathname){const e=window.setTimeout((()=>{o().start()}),200);return()=>window.clearTimeout(e)}},onRouteDidUpdate(){o().done()}}},86120:(e,n,t)=>{"use strict";t.r(n);var r=t(16935),o=t(36809);!function(e){const{themeConfig:{prism:n}}=o.default,{additionalLanguages:r}=n;globalThis.Prism=e,r.forEach((e=>{"php"===e&&t(23502),t(97861)(`./prism-${e}`)})),delete globalThis.Prism}(r.p1)},83851:(e,n,t)=>{"use strict";t.d(n,{Z:()=>d});t(2784);var r=t(40489),o=t(1077),a=t(97683),i=t(27718),s=t(42530);const l={anchorWithStickyNavbar:"anchorWithStickyNavbar_fF9Z",anchorWithHideOnScrollNavbar:"anchorWithHideOnScrollNavbar_Yh18"};var c=t(52322);function d(e){let{as:n,id:t,...d}=e;const u=(0,s.Z)(),{navbar:{hideOnScroll:p}}=(0,a.L)();if("h1"===n||!t)return(0,c.jsx)(n,{...d,id:void 0});u.collectAnchor(t);const f=(0,o.translate)({id:"theme.common.headingLinkTitle",message:"Direct link to {heading}",description:"Title for link to heading"},{heading:"string"==typeof d.children?d.children:t});return(0,c.jsxs)(n,{...d,className:(0,r.Z)("anchor",p?l.anchorWithHideOnScrollNavbar:l.anchorWithStickyNavbar,d.className),id:t,children:[d.children,(0,c.jsx)(i.Z,{className:"hash-link",to:`#${t}`,"aria-label":f,title:f,children:"\u200b"})]})}},74442:(e,n,t)=>{"use strict";t.d(n,{Z:()=>a});t(2784);const r={iconExternalLink:"iconExternalLink_awgD"};var o=t(52322);function a(e){let{width:n=13.5,height:t=13.5}=e;return(0,o.jsx)("svg",{width:n,height:t,"aria-hidden":"true",viewBox:"0 0 24 24",className:r.iconExternalLink,children:(0,o.jsx)("path",{fill:"currentColor",d:"M21 13v10h-21v-19h12v2h-10v15h17v-8h2zm3-12h-10.988l4.035 4-6.977 7.07 2.828 2.828 6.977-7.07 4.125 4.172v-11z"})})}},76266:(e,n,t)=>{"use strict";t.d(n,{Z:()=>mn});var r=t(2784),o=t(40489),a=t(63951),i=t(50328),s=t(7267),l=t(1077),c=t(12105),d=t(52322);const u="__docusaurus_skipToContent_fallback";function p(e){e.setAttribute("tabindex","-1"),e.focus(),e.removeAttribute("tabindex")}function f(){const e=(0,r.useRef)(null),{action:n}=(0,s.k6)(),t=(0,r.useCallback)((e=>{e.preventDefault();const n=document.querySelector("main:first-of-type")??document.getElementById(u);n&&p(n)}),[]);return(0,c.S)((t=>{let{location:r}=t;e.current&&!r.hash&&"PUSH"===n&&p(e.current)})),{containerRef:e,onClick:t}}const m=(0,l.translate)({id:"theme.common.skipToMainContent",description:"The skip to content label used for accessibility, allowing to rapidly navigate to main content with keyboard tab/enter navigation",message:"Skip to main content"});function y(e){const n=e.children??m,{containerRef:t,onClick:r}=f();return(0,d.jsx)("div",{ref:t,role:"region","aria-label":m,children:(0,d.jsx)("a",{...e,href:`#${u}`,onClick:r,children:n})})}var h=t(90211),g=t(9499);const b={skipToContent:"skipToContent_G6ar"};function v(){return(0,d.jsx)(y,{className:b.skipToContent})}var x=t(97683),w=t(13717);function k(e){let{width:n=21,height:t=21,color:r="currentColor",strokeWidth:o=1.2,className:a,...i}=e;return(0,d.jsx)("svg",{viewBox:"0 0 15 15",width:n,height:t,...i,children:(0,d.jsx)("g",{stroke:r,strokeWidth:o,children:(0,d.jsx)("path",{d:"M.75.75l13.5 13.5M14.25.75L.75 14.25"})})})}const S={closeButton:"closeButton_rfix"};function E(e){return(0,d.jsx)("button",{type:"button","aria-label":(0,l.translate)({id:"theme.AnnouncementBar.closeButtonAriaLabel",message:"Close",description:"The ARIA label for close button of announcement bar"}),...e,className:(0,o.Z)("clean-btn close",S.closeButton,e.className),children:(0,d.jsx)(k,{width:14,height:14,strokeWidth:3.1})})}const C={content:"content_L1uV"};function _(e){const{announcementBar:n}=(0,x.L)(),{content:t}=n;return(0,d.jsx)("div",{...e,className:(0,o.Z)(C.content,e.className),dangerouslySetInnerHTML:{__html:t}})}const P={announcementBar:"announcementBar_ncOr",announcementBarPlaceholder:"announcementBarPlaceholder_ajMw",announcementBarClose:"announcementBarClose_c9u4",announcementBarContent:"announcementBarContent__57G"};function j(){const{announcementBar:e}=(0,x.L)(),{isActive:n,close:t}=(0,w.n)();if(!n)return null;const{backgroundColor:r,textColor:o,isCloseable:a}=e;return(0,d.jsxs)("div",{className:P.announcementBar,style:{backgroundColor:r,color:o},role:"banner",children:[a&&(0,d.jsx)("div",{className:P.announcementBarPlaceholder}),(0,d.jsx)(_,{className:P.announcementBarContent}),a&&(0,d.jsx)(E,{onClick:t,className:P.announcementBarClose})]})}var T=t(54313),O=t(24126);var $=t(6335),R=t(47548);const N=r.createContext(null);function A(e){let{children:n}=e;const t=function(){const e=(0,T.e)(),n=(0,R.HY)(),[t,o]=(0,r.useState)(!1),a=null!==n.component,i=(0,$.D9)(a);return(0,r.useEffect)((()=>{a&&!i&&o(!0)}),[a,i]),(0,r.useEffect)((()=>{a?e.shown||o(!0):o(!1)}),[e.shown,a]),(0,r.useMemo)((()=>[t,o]),[t])}();return(0,d.jsx)(N.Provider,{value:t,children:n})}function L(e){if(e.component){const n=e.component;return(0,d.jsx)(n,{...e.props})}}function D(){const e=(0,r.useContext)(N);if(!e)throw new $.i6("NavbarSecondaryMenuDisplayProvider");const[n,t]=e,o=(0,r.useCallback)((()=>t(!1)),[t]),a=(0,R.HY)();return(0,r.useMemo)((()=>({shown:n,hide:o,content:L(a)})),[o,a,n])}function I(e){let{header:n,primaryMenu:t,secondaryMenu:r}=e;const{shown:a}=D();return(0,d.jsxs)("div",{className:"navbar-sidebar",children:[n,(0,d.jsxs)("div",{className:(0,o.Z)("navbar-sidebar__items",{"navbar-sidebar__items--show-secondary":a}),children:[(0,d.jsx)("div",{className:"navbar-sidebar__item menu",children:t}),(0,d.jsx)("div",{className:"navbar-sidebar__item menu",children:r})]})]})}var M=t(60361),F=t(89741);function z(e){return(0,d.jsx)("svg",{viewBox:"0 0 24 24",width:24,height:24,...e,children:(0,d.jsx)("path",{fill:"currentColor",d:"M12,9c1.65,0,3,1.35,3,3s-1.35,3-3,3s-3-1.35-3-3S10.35,9,12,9 M12,7c-2.76,0-5,2.24-5,5s2.24,5,5,5s5-2.24,5-5 S14.76,7,12,7L12,7z M2,13l2,0c0.55,0,1-0.45,1-1s-0.45-1-1-1l-2,0c-0.55,0-1,0.45-1,1S1.45,13,2,13z M20,13l2,0c0.55,0,1-0.45,1-1 s-0.45-1-1-1l-2,0c-0.55,0-1,0.45-1,1S19.45,13,20,13z M11,2v2c0,0.55,0.45,1,1,1s1-0.45,1-1V2c0-0.55-0.45-1-1-1S11,1.45,11,2z M11,20v2c0,0.55,0.45,1,1,1s1-0.45,1-1v-2c0-0.55-0.45-1-1-1C11.45,19,11,19.45,11,20z M5.99,4.58c-0.39-0.39-1.03-0.39-1.41,0 c-0.39,0.39-0.39,1.03,0,1.41l1.06,1.06c0.39,0.39,1.03,0.39,1.41,0s0.39-1.03,0-1.41L5.99,4.58z M18.36,16.95 c-0.39-0.39-1.03-0.39-1.41,0c-0.39,0.39-0.39,1.03,0,1.41l1.06,1.06c0.39,0.39,1.03,0.39,1.41,0c0.39-0.39,0.39-1.03,0-1.41 L18.36,16.95z M19.42,5.99c0.39-0.39,0.39-1.03,0-1.41c-0.39-0.39-1.03-0.39-1.41,0l-1.06,1.06c-0.39,0.39-0.39,1.03,0,1.41 s1.03,0.39,1.41,0L19.42,5.99z M7.05,18.36c0.39-0.39,0.39-1.03,0-1.41c-0.39-0.39-1.03-0.39-1.41,0l-1.06,1.06 c-0.39,0.39-0.39,1.03,0,1.41s1.03,0.39,1.41,0L7.05,18.36z"})})}function B(e){return(0,d.jsx)("svg",{viewBox:"0 0 24 24",width:24,height:24,...e,children:(0,d.jsx)("path",{fill:"currentColor",d:"M9.37,5.51C9.19,6.15,9.1,6.82,9.1,7.5c0,4.08,3.32,7.4,7.4,7.4c0.68,0,1.35-0.09,1.99-0.27C17.45,17.19,14.93,19,12,19 c-3.86,0-7-3.14-7-7C5,9.07,6.81,6.55,9.37,5.51z M12,3c-4.97,0-9,4.03-9,9s4.03,9,9,9s9-4.03,9-9c0-0.46-0.04-0.92-0.1-1.36 c-0.98,1.37-2.58,2.26-4.4,2.26c-2.98,0-5.4-2.42-5.4-5.4c0-1.81,0.89-3.42,2.26-4.4C12.92,3.04,12.46,3,12,3L12,3z"})})}const U={toggle:"toggle_OLSw",toggleButton:"toggleButton_wYmb",darkToggleIcon:"darkToggleIcon_Yem1",lightToggleIcon:"lightToggleIcon_Sxwe",toggleButtonDisabled:"toggleButtonDisabled_vaDU"};function H(e){let{className:n,buttonClassName:t,value:r,onChange:a}=e;const i=(0,F.Z)(),s=(0,l.translate)({message:"Switch between dark and light mode (currently {mode})",id:"theme.colorToggle.ariaLabel",description:"The ARIA label for the navbar color mode toggle"},{mode:"dark"===r?(0,l.translate)({message:"dark mode",id:"theme.colorToggle.ariaLabel.mode.dark",description:"The name for the dark color mode"}):(0,l.translate)({message:"light mode",id:"theme.colorToggle.ariaLabel.mode.light",description:"The name for the light color mode"})});return(0,d.jsx)("div",{className:(0,o.Z)(U.toggle,n),children:(0,d.jsxs)("button",{className:(0,o.Z)("clean-btn",U.toggleButton,!i&&U.toggleButtonDisabled,t),type:"button",onClick:()=>a("dark"===r?"light":"dark"),disabled:!i,title:s,"aria-label":s,"aria-live":"polite",children:[(0,d.jsx)(z,{className:(0,o.Z)(U.toggleIcon,U.lightToggleIcon)}),(0,d.jsx)(B,{className:(0,o.Z)(U.toggleIcon,U.darkToggleIcon)})]})})}const q=r.memo(H),V={darkNavbarColorModeToggle:"darkNavbarColorModeToggle_wZ1H"};function Z(e){let{className:n}=e;const t=(0,x.L)().navbar.style,r=(0,x.L)().colorMode.disableSwitch,{colorMode:o,setColorMode:a}=(0,M.I)();return r?null:(0,d.jsx)(q,{className:n,buttonClassName:"dark"===t?V.darkNavbarColorModeToggle:void 0,value:o,onChange:a})}var W=t(51881);function G(){return(0,d.jsx)(W.Z,{className:"navbar__brand",imageClassName:"navbar__logo",titleClassName:"navbar__title text--truncate"})}function K(){const e=(0,T.e)();return(0,d.jsx)("button",{type:"button","aria-label":(0,l.translate)({id:"theme.docs.sidebar.closeSidebarButtonAriaLabel",message:"Close navigation bar",description:"The ARIA label for close button of mobile sidebar"}),className:"clean-btn navbar-sidebar__close",onClick:()=>e.toggle(),children:(0,d.jsx)(k,{color:"var(--ifm-color-emphasis-600)"})})}function Y(){return(0,d.jsxs)("div",{className:"navbar-sidebar__brand",children:[(0,d.jsx)(G,{}),(0,d.jsx)(Z,{className:"margin-right--md"}),(0,d.jsx)(K,{})]})}var Q=t(27718),J=t(90077),X=t(71344);function ee(e,n){return void 0!==e&&void 0!==n&&new RegExp(e,"gi").test(n)}var ne=t(74442);function te(e){let{activeBasePath:n,activeBaseRegex:t,to:r,href:o,label:a,html:i,isDropdownLink:s,prependBaseUrlToHref:l,...c}=e;const u=(0,J.ZP)(r),p=(0,J.ZP)(n),f=(0,J.ZP)(o,{forcePrependBaseUrl:!0}),m=a&&o&&!(0,X.Z)(o),y=i?{dangerouslySetInnerHTML:{__html:i}}:{children:(0,d.jsxs)(d.Fragment,{children:[a,m&&(0,d.jsx)(ne.Z,{...s&&{width:12,height:12}})]})};return o?(0,d.jsx)(Q.Z,{href:l?f:o,...c,...y}):(0,d.jsx)(Q.Z,{to:u,isNavLink:!0,...(n||t)&&{isActive:(e,n)=>t?ee(t,n.pathname):n.pathname.startsWith(p)},...c,...y})}function re(e){let{className:n,isDropdownItem:t=!1,...r}=e;const a=(0,d.jsx)(te,{className:(0,o.Z)(t?"dropdown__link":"navbar__item navbar__link",n),isDropdownLink:t,...r});return t?(0,d.jsx)("li",{children:a}):a}function oe(e){let{className:n,isDropdownItem:t,...r}=e;return(0,d.jsx)("li",{className:"menu__list-item",children:(0,d.jsx)(te,{className:(0,o.Z)("menu__link",n),...r})})}function ae(e){let{mobile:n=!1,position:t,...r}=e;const o=n?oe:re;return(0,d.jsx)(o,{...r,activeClassName:r.activeClassName??(n?"menu__link--active":"navbar__link--active")})}var ie=t(28698),se=t(87661),le=t(37614);const ce={dropdownNavbarItemMobile:"dropdownNavbarItemMobile_yXZl"};function de(e,n){return e.some((e=>function(e,n){return!!(0,se.Mg)(e.to,n)||!!ee(e.activeBaseRegex,n)||!(!e.activeBasePath||!n.startsWith(e.activeBasePath))}(e,n)))}function ue(e){let{items:n,position:t,className:a,onClick:i,...s}=e;const l=(0,r.useRef)(null),[c,u]=(0,r.useState)(!1);return(0,r.useEffect)((()=>{const e=e=>{l.current&&!l.current.contains(e.target)&&u(!1)};return document.addEventListener("mousedown",e),document.addEventListener("touchstart",e),document.addEventListener("focusin",e),()=>{document.removeEventListener("mousedown",e),document.removeEventListener("touchstart",e),document.removeEventListener("focusin",e)}}),[l]),(0,d.jsxs)("div",{ref:l,className:(0,o.Z)("navbar__item","dropdown","dropdown--hoverable",{"dropdown--right":"right"===t,"dropdown--show":c}),children:[(0,d.jsx)(te,{"aria-haspopup":"true","aria-expanded":c,role:"button",href:s.to?void 0:"#",className:(0,o.Z)("navbar__link",a),...s,onClick:s.to?void 0:e=>e.preventDefault(),onKeyDown:e=>{"Enter"===e.key&&(e.preventDefault(),u(!c))},children:s.children??s.label}),(0,d.jsx)("ul",{className:"dropdown__menu",children:n.map(((e,n)=>(0,r.createElement)(Ce,{isDropdownItem:!0,activeClassName:"dropdown__link--active",...e,key:n})))})]})}function pe(e){let{items:n,className:t,position:a,onClick:i,...l}=e;const c=function(){const{siteConfig:{baseUrl:e}}=(0,le.Z)(),{pathname:n}=(0,s.TH)();return n.replace(e,"/")}(),u=de(n,c),{collapsed:p,toggleCollapsed:f,setCollapsed:m}=(0,ie.u)({initialState:()=>!u});return(0,r.useEffect)((()=>{u&&m(!u)}),[c,u,m]),(0,d.jsxs)("li",{className:(0,o.Z)("menu__list-item",{"menu__list-item--collapsed":p}),children:[(0,d.jsx)(te,{role:"button",className:(0,o.Z)(ce.dropdownNavbarItemMobile,"menu__link menu__link--sublist menu__link--sublist-caret",t),...l,onClick:e=>{e.preventDefault(),f()},children:l.children??l.label}),(0,d.jsx)(ie.z,{lazy:!0,as:"ul",className:"menu__list",collapsed:p,children:n.map(((e,n)=>(0,r.createElement)(Ce,{mobile:!0,isDropdownItem:!0,onClick:i,activeClassName:"menu__link--active",...e,key:n})))})]})}function fe(e){let{mobile:n=!1,...t}=e;const r=n?pe:ue;return(0,d.jsx)(r,{...t})}var me=t(55552);function ye(e){let{width:n=20,height:t=20,...r}=e;return(0,d.jsx)("svg",{viewBox:"0 0 24 24",width:n,height:t,"aria-hidden":!0,...r,children:(0,d.jsx)("path",{fill:"currentColor",d:"M12.87 15.07l-2.54-2.51.03-.03c1.74-1.94 2.98-4.17 3.71-6.53H17V4h-7V2H8v2H1v1.99h11.17C11.5 7.92 10.44 9.75 9 11.35 8.07 10.32 7.3 9.19 6.69 8h-2c.73 1.63 1.73 3.17 2.98 4.56l-5.09 5.02L4 19l5-5 3.11 3.11.76-2.04zM18.5 10h-2L12 22h2l1.12-3h4.75L21 22h2l-4.5-12zm-2.62 7l1.62-4.33L19.12 17h-3.24z"})})}const he="iconLanguage_xrmG";var ge=t(15594);const be={navbarSearchContainer:"navbarSearchContainer_bmvg"};function ve(e){let{children:n,className:t}=e;return(0,d.jsx)("div",{className:(0,o.Z)(t,be.navbarSearchContainer),children:n})}var xe=t(27415),we=t(38350);var ke=t(37949);const Se=e=>e.docs.find((n=>n.id===e.mainDocId));const Ee={default:ae,localeDropdown:function(e){let{mobile:n,dropdownItemsBefore:t,dropdownItemsAfter:r,queryString:o="",...a}=e;const{i18n:{currentLocale:i,locales:c,localeConfigs:u}}=(0,le.Z)(),p=(0,me.l)(),{search:f,hash:m}=(0,s.TH)(),y=[...t,...c.map((e=>{const t=`${`pathname://${p.createUrl({locale:e,fullyQualified:!1})}`}${f}${m}${o}`;return{label:u[e].label,lang:u[e].htmlLang,to:t,target:"_self",autoAddBaseUrl:!1,className:e===i?n?"menu__link--active":"dropdown__link--active":""}})),...r],h=n?(0,l.translate)({message:"Languages",id:"theme.navbar.mobileLanguageDropdown.label",description:"The label for the mobile language switcher dropdown"}):u[i].label;return(0,d.jsx)(fe,{...a,mobile:n,label:(0,d.jsxs)(d.Fragment,{children:[(0,d.jsx)(ye,{className:he}),h]}),items:y})},search:function(e){let{mobile:n,className:t}=e;return n?null:(0,d.jsx)(ve,{className:t,children:(0,d.jsx)(ge.Z,{})})},dropdown:fe,html:function(e){let{value:n,className:t,mobile:r=!1,isDropdownItem:a=!1}=e;const i=a?"li":"div";return(0,d.jsx)(i,{className:(0,o.Z)({navbar__item:!r&&!a,"menu__list-item":r},t),dangerouslySetInnerHTML:{__html:n}})},doc:function(e){let{docId:n,label:t,docsPluginId:r,...o}=e;const{activeDoc:a}=(0,xe.Iw)(r),i=(0,we.vY)(n,r),s=a?.path===i?.path;return null===i||i.unlisted&&!s?null:(0,d.jsx)(ae,{exact:!0,...o,isActive:()=>s||!!a?.sidebar&&a.sidebar===i.sidebar,label:t??i.id,to:i.path})},docSidebar:function(e){let{sidebarId:n,label:t,docsPluginId:r,...o}=e;const{activeDoc:a}=(0,xe.Iw)(r),i=(0,we.oz)(n,r).link;if(!i)throw new Error(`DocSidebarNavbarItem: Sidebar with ID "${n}" doesn't have anything to be linked to.`);return(0,d.jsx)(ae,{exact:!0,...o,isActive:()=>a?.sidebar===n,label:t??i.label,to:i.path})},docsVersion:function(e){let{label:n,to:t,docsPluginId:r,...o}=e;const a=(0,we.lO)(r)[0],i=n??a.label,s=t??(e=>e.docs.find((n=>n.id===e.mainDocId)))(a).path;return(0,d.jsx)(ae,{...o,label:i,to:s})},docsVersionDropdown:function(e){let{mobile:n,docsPluginId:t,dropdownActiveClassDisabled:r,dropdownItemsBefore:o,dropdownItemsAfter:a,...i}=e;const{search:c,hash:u}=(0,s.TH)(),p=(0,xe.Iw)(t),f=(0,xe.gB)(t),{savePreferredVersionName:m}=(0,ke.J)(t),y=[...o,...f.map((e=>{const n=p.alternateDocVersions[e.name]??Se(e);return{label:e.label,to:`${n.path}${c}${u}`,isActive:()=>e===p.activeVersion,onClick:()=>m(e.name)}})),...a],h=(0,we.lO)(t)[0],g=n&&y.length>1?(0,l.translate)({id:"theme.navbar.mobileVersionsDropdown.label",message:"Versions",description:"The label for the navbar versions dropdown on mobile view"}):h.label,b=n&&y.length>1?void 0:Se(h).path;return y.length<=1?(0,d.jsx)(ae,{...i,mobile:n,label:g,to:b,isActive:r?()=>!1:void 0}):(0,d.jsx)(fe,{...i,mobile:n,label:g,to:b,items:y,isActive:r?()=>!1:void 0})}};function Ce(e){let{type:n,...t}=e;const r=function(e,n){return e&&"default"!==e?e:"items"in n?"dropdown":"default"}(n,t),o=Ee[r];if(!o)throw new Error(`No NavbarItem component found for type "${n}".`);return(0,d.jsx)(o,{...t})}function _e(){const e=(0,T.e)(),n=(0,x.L)().navbar.items;return(0,d.jsx)("ul",{className:"menu__list",children:n.map(((n,t)=>(0,r.createElement)(Ce,{mobile:!0,...n,onClick:()=>e.toggle(),key:t})))})}function Pe(e){return(0,d.jsx)("button",{...e,type:"button",className:"clean-btn navbar-sidebar__back",children:(0,d.jsx)(l.default,{id:"theme.navbar.mobileSidebarSecondaryMenu.backButtonLabel",description:"The label of the back button to return to main menu, inside the mobile navbar sidebar secondary menu (notably used to display the docs sidebar)",children:"\u2190 Back to main menu"})})}function je(){const e=0===(0,x.L)().navbar.items.length,n=D();return(0,d.jsxs)(d.Fragment,{children:[!e&&(0,d.jsx)(Pe,{onClick:()=>n.hide()}),n.content]})}function Te(){const e=(0,T.e)();var n;return void 0===(n=e.shown)&&(n=!0),(0,r.useEffect)((()=>(document.body.style.overflow=n?"hidden":"visible",()=>{document.body.style.overflow="visible"})),[n]),e.shouldRender?(0,d.jsx)(I,{header:(0,d.jsx)(Y,{}),primaryMenu:(0,d.jsx)(_e,{}),secondaryMenu:(0,d.jsx)(je,{})}):null}const Oe={navbarHideable:"navbarHideable_bChn",navbarHidden:"navbarHidden_zsXl"};function $e(e){return(0,d.jsx)("div",{role:"presentation",...e,className:(0,o.Z)("navbar-sidebar__backdrop",e.className)})}function Re(e){let{children:n}=e;const{navbar:{hideOnScroll:t,style:a}}=(0,x.L)(),i=(0,T.e)(),{navbarRef:s,isNavbarVisible:u}=function(e){const[n,t]=(0,r.useState)(e),o=(0,r.useRef)(!1),a=(0,r.useRef)(0),i=(0,r.useCallback)((e=>{null!==e&&(a.current=e.getBoundingClientRect().height)}),[]);return(0,O.RF)(((n,r)=>{let{scrollY:i}=n;if(!e)return;if(i<a.current)return void t(!0);if(o.current)return void(o.current=!1);const s=r?.scrollY,l=document.documentElement.scrollHeight-a.current,c=window.innerHeight;s&&i>=s?t(!1):i+c<l&&t(!0)})),(0,c.S)((n=>{if(!e)return;const r=n.location.hash;if(r?document.getElementById(r.substring(1)):void 0)return o.current=!0,void t(!1);t(!0)})),{navbarRef:i,isNavbarVisible:n}}(t);return(0,d.jsxs)("nav",{ref:s,"aria-label":(0,l.translate)({id:"theme.NavBar.navAriaLabel",message:"Main",description:"The ARIA label for the main navigation"}),className:(0,o.Z)("navbar","navbar--fixed-top",t&&[Oe.navbarHideable,!u&&Oe.navbarHidden],{"navbar--dark":"dark"===a,"navbar--primary":"primary"===a,"navbar-sidebar--show":i.shown}),children:[n,(0,d.jsx)($e,{onClick:i.toggle}),(0,d.jsx)(Te,{})]})}var Ne=t(60958);const Ae={errorBoundaryError:"errorBoundaryError_FiLL",errorBoundaryFallback:"errorBoundaryFallback_lv4I"};function Le(e){return(0,d.jsx)("button",{type:"button",...e,children:(0,d.jsx)(l.default,{id:"theme.ErrorPageContent.tryAgain",description:"The label of the button to try again rendering when the React error boundary captures an error",children:"Try again"})})}function De(e){let{error:n}=e;const t=(0,Ne.getErrorCausalChain)(n).map((e=>e.message)).join("\n\nCause:\n");return(0,d.jsx)("p",{className:Ae.errorBoundaryError,children:t})}class Ie extends r.Component{componentDidCatch(e,n){throw this.props.onError(e,n)}render(){return this.props.children}}const Me="right";function Fe(e){let{width:n=30,height:t=30,className:r,...o}=e;return(0,d.jsx)("svg",{className:r,width:n,height:t,viewBox:"0 0 30 30","aria-hidden":"true",...o,children:(0,d.jsx)("path",{stroke:"currentColor",strokeLinecap:"round",strokeMiterlimit:"10",strokeWidth:"2",d:"M4 7h22M4 15h22M4 23h22"})})}function ze(){const{toggle:e,shown:n}=(0,T.e)();return(0,d.jsx)("button",{onClick:e,"aria-label":(0,l.translate)({id:"theme.docs.sidebar.toggleSidebarButtonAriaLabel",message:"Toggle navigation bar",description:"The ARIA label for hamburger menu button of mobile navigation"}),"aria-expanded":n,className:"navbar__toggle clean-btn",type:"button",children:(0,d.jsx)(Fe,{})})}const Be={colorModeToggle:"colorModeToggle_Hg9V"};function Ue(e){let{items:n}=e;return(0,d.jsx)(d.Fragment,{children:n.map(((e,n)=>(0,d.jsx)(Ie,{onError:n=>new Error(`A theme navbar item failed to render.\nPlease double-check the following navbar item (themeConfig.navbar.items) of your Docusaurus config:\n${JSON.stringify(e,null,2)}`,{cause:n}),children:(0,d.jsx)(Ce,{...e})},n)))})}function He(e){let{left:n,right:t}=e;return(0,d.jsxs)("div",{className:"navbar__inner",children:[(0,d.jsx)("div",{className:"navbar__items",children:n}),(0,d.jsx)("div",{className:"navbar__items navbar__items--right",children:t})]})}function qe(){const e=(0,T.e)(),n=(0,x.L)().navbar.items,[t,r]=function(e){function n(e){return"left"===(e.position??Me)}return[e.filter(n),e.filter((e=>!n(e)))]}(n),o=n.find((e=>"search"===e.type));return(0,d.jsx)(He,{left:(0,d.jsxs)(d.Fragment,{children:[!e.disabled&&(0,d.jsx)(ze,{}),(0,d.jsx)(G,{}),(0,d.jsx)(Ue,{items:t})]}),right:(0,d.jsxs)(d.Fragment,{children:[(0,d.jsx)(Ue,{items:r}),(0,d.jsx)(Z,{className:Be.colorModeToggle}),!o&&(0,d.jsx)(ve,{children:(0,d.jsx)(ge.Z,{})})]})})}function Ve(){return(0,d.jsx)(Re,{children:(0,d.jsx)(qe,{})})}function Ze(e){let{item:n}=e;const{to:t,href:r,label:o,prependBaseUrlToHref:a,...i}=n,s=(0,J.ZP)(t),l=(0,J.ZP)(r,{forcePrependBaseUrl:!0});return(0,d.jsxs)(Q.Z,{className:"footer__link-item",...r?{href:a?l:r}:{to:s},...i,children:[o,r&&!(0,X.Z)(r)&&(0,d.jsx)(ne.Z,{})]})}function We(e){let{item:n}=e;return n.html?(0,d.jsx)("li",{className:"footer__item",dangerouslySetInnerHTML:{__html:n.html}}):(0,d.jsx)("li",{className:"footer__item",children:(0,d.jsx)(Ze,{item:n})},n.href??n.to)}function Ge(e){let{column:n}=e;return(0,d.jsxs)("div",{className:"col footer__col",children:[(0,d.jsx)("div",{className:"footer__title",children:n.title}),(0,d.jsx)("ul",{className:"footer__items clean-list",children:n.items.map(((e,n)=>(0,d.jsx)(We,{item:e},n)))})]})}function Ke(e){let{columns:n}=e;return(0,d.jsx)("div",{className:"row footer__links",children:n.map(((e,n)=>(0,d.jsx)(Ge,{column:e},n)))})}function Ye(){return(0,d.jsx)("span",{className:"footer__link-separator",children:"\xb7"})}function Qe(e){let{item:n}=e;return n.html?(0,d.jsx)("span",{className:"footer__link-item",dangerouslySetInnerHTML:{__html:n.html}}):(0,d.jsx)(Ze,{item:n})}function Je(e){let{links:n}=e;return(0,d.jsx)("div",{className:"footer__links text--center",children:(0,d.jsx)("div",{className:"footer__links",children:n.map(((e,t)=>(0,d.jsxs)(r.Fragment,{children:[(0,d.jsx)(Qe,{item:e}),n.length!==t+1&&(0,d.jsx)(Ye,{})]},t)))})})}function Xe(e){let{links:n}=e;return function(e){return"title"in e[0]}(n)?(0,d.jsx)(Ke,{columns:n}):(0,d.jsx)(Je,{links:n})}var en=t(36087);const nn={footerLogoLink:"footerLogoLink_zxYv"};function tn(e){let{logo:n}=e;const{withBaseUrl:t}=(0,J.Cg)(),r={light:t(n.src),dark:t(n.srcDark??n.src)};return(0,d.jsx)(en.Z,{className:(0,o.Z)("footer__logo",n.className),alt:n.alt,sources:r,width:n.width,height:n.height,style:n.style})}function rn(e){let{logo:n}=e;return n.href?(0,d.jsx)(Q.Z,{href:n.href,className:nn.footerLogoLink,target:n.target,children:(0,d.jsx)(tn,{logo:n})}):(0,d.jsx)(tn,{logo:n})}function on(e){let{copyright:n}=e;return(0,d.jsx)("div",{className:"footer__copyright",dangerouslySetInnerHTML:{__html:n}})}function an(e){let{style:n,links:t,logo:r,copyright:a}=e;return(0,d.jsx)("footer",{className:(0,o.Z)("footer",{"footer--dark":"dark"===n}),children:(0,d.jsxs)("div",{className:"container container-fluid",children:[t,(r||a)&&(0,d.jsxs)("div",{className:"footer__bottom text--center",children:[r&&(0,d.jsx)("div",{className:"margin-bottom--sm",children:r}),a]})]})})}function sn(){const{footer:e}=(0,x.L)();if(!e)return null;const{copyright:n,links:t,logo:r,style:o}=e;return(0,d.jsx)(an,{style:o,links:t&&t.length>0&&(0,d.jsx)(Xe,{links:t}),logo:r&&(0,d.jsx)(rn,{logo:r}),copyright:n&&(0,d.jsx)(on,{copyright:n})})}const ln=r.memo(sn),cn=(0,$.Qc)([M.S,w.p,O.OC,ke.L5,i.VC,function(e){let{children:n}=e;return(0,d.jsx)(R.n2,{children:(0,d.jsx)(T.M,{children:(0,d.jsx)(A,{children:n})})})}]);function dn(e){let{children:n}=e;return(0,d.jsx)(cn,{children:n})}var un=t(83851);function pn(e){let{error:n,tryAgain:t}=e;return(0,d.jsx)("main",{className:"container margin-vert--xl",children:(0,d.jsx)("div",{className:"row",children:(0,d.jsxs)("div",{className:"col col--6 col--offset-3",children:[(0,d.jsx)(un.Z,{as:"h1",className:"hero__title",children:(0,d.jsx)(l.default,{id:"theme.ErrorPageContent.title",description:"The title of the fallback page when the page crashed",children:"This page crashed."})}),(0,d.jsx)("div",{className:"margin-vert--lg",children:(0,d.jsx)(Le,{onClick:t,className:"button button--primary shadow--lw"})}),(0,d.jsx)("hr",{}),(0,d.jsx)("div",{className:"margin-vert--md",children:(0,d.jsx)(De,{error:n})})]})})})}const fn={mainWrapper:"mainWrapper_UyTV"};function mn(e){const{children:n,noFooter:t,wrapperClassName:r,title:s,description:l}=e;return(0,g.t)(),(0,d.jsxs)(dn,{children:[(0,d.jsx)(i.d,{title:s,description:l}),(0,d.jsx)(v,{}),(0,d.jsx)(j,{}),(0,d.jsx)(Ve,{}),(0,d.jsx)("div",{id:u,className:(0,o.Z)(h.k.wrapper.main,fn.mainWrapper,r),children:(0,d.jsx)(a.Z,{fallback:e=>(0,d.jsx)(pn,{...e}),children:n})}),!t&&(0,d.jsx)(ln,{})]})}},51881:(e,n,t)=>{"use strict";t.d(n,{Z:()=>d});t(2784);var r=t(27718),o=t(90077),a=t(37614),i=t(97683),s=t(36087),l=t(52322);function c(e){let{logo:n,alt:t,imageClassName:r}=e;const a={light:(0,o.ZP)(n.src),dark:(0,o.ZP)(n.srcDark||n.src)},i=(0,l.jsx)(s.Z,{className:n.className,sources:a,height:n.height,width:n.width,alt:t,style:n.style});return r?(0,l.jsx)("div",{className:r,children:i}):i}function d(e){const{siteConfig:{title:n}}=(0,a.Z)(),{navbar:{title:t,logo:s}}=(0,i.L)(),{imageClassName:d,titleClassName:u,...p}=e,f=(0,o.ZP)(s?.href||"/"),m=t?"":n,y=s?.alt??m;return(0,l.jsxs)(r.Z,{to:f,...p,...s?.target&&{target:s.target},children:[s&&(0,l.jsx)(c,{logo:s,alt:y,imageClassName:d}),null!=t&&(0,l.jsx)("b",{className:u,children:t})]})}},54390:(e,n,t)=>{"use strict";t.d(n,{Z:()=>a});t(2784);var r=t(69854),o=t(52322);function a(e){let{locale:n,version:t,tag:a}=e;const i=n;return(0,o.jsxs)(r.Z,{children:[n&&(0,o.jsx)("meta",{name:"docusaurus_locale",content:n}),t&&(0,o.jsx)("meta",{name:"docusaurus_version",content:t}),a&&(0,o.jsx)("meta",{name:"docusaurus_tag",content:a}),i&&(0,o.jsx)("meta",{name:"docsearch:language",content:i}),t&&(0,o.jsx)("meta",{name:"docsearch:version",content:t}),a&&(0,o.jsx)("meta",{name:"docsearch:docusaurus_tag",content:a})]})}},36087:(e,n,t)=>{"use strict";t.d(n,{Z:()=>d});var r=t(2784),o=t(40489),a=t(89741),i=t(60361);const s={themedComponent:"themedComponent_DHUr","themedComponent--light":"themedComponent--light_DIHH","themedComponent--dark":"themedComponent--dark_Bv2M"};var l=t(52322);function c(e){let{className:n,children:t}=e;const c=(0,a.Z)(),{colorMode:d}=(0,i.I)();return(0,l.jsx)(l.Fragment,{children:(c?"dark"===d?["dark"]:["light"]:["light","dark"]).map((e=>{const a=t({theme:e,className:(0,o.Z)(n,s.themedComponent,s[`themedComponent--${e}`])});return(0,l.jsx)(r.Fragment,{children:a},e)}))})}function d(e){const{sources:n,className:t,alt:r,...o}=e;return(0,l.jsx)(c,{className:t,children:e=>{let{theme:t,className:a}=e;return(0,l.jsx)("img",{src:n[t],alt:r,className:a,...o})}})}},28698:(e,n,t)=>{"use strict";t.d(n,{u:()=>c,z:()=>g});var r=t(2784),o=t(31263),a=t(70164),i=t(80936),s=t(52322);const l="ease-in-out";function c(e){let{initialState:n}=e;const[t,o]=(0,r.useState)(n??!1),a=(0,r.useCallback)((()=>{o((e=>!e))}),[]);return{collapsed:t,setCollapsed:o,toggleCollapsed:a}}const d={display:"none",overflow:"hidden",height:"0px"},u={display:"block",overflow:"visible",height:"auto"};function p(e,n){const t=n?d:u;e.style.display=t.display,e.style.overflow=t.overflow,e.style.height=t.height}function f(e){let{collapsibleRef:n,collapsed:t,animation:o}=e;const a=(0,r.useRef)(!1);(0,r.useEffect)((()=>{const e=n.current;function r(){const n=e.scrollHeight,t=o?.duration??function(e){if((0,i.n)())return 1;const n=e/36;return Math.round(10*(4+15*n**.25+n/5))}(n);return{transition:`height ${t}ms ${o?.easing??l}`,height:`${n}px`}}function s(){const n=r();e.style.transition=n.transition,e.style.height=n.height}if(!a.current)return p(e,t),void(a.current=!0);return e.style.willChange="height",function(){const n=requestAnimationFrame((()=>{t?(s(),requestAnimationFrame((()=>{e.style.height=d.height,e.style.overflow=d.overflow}))):(e.style.display="block",requestAnimationFrame((()=>{s()})))}));return()=>cancelAnimationFrame(n)}()}),[n,t,o])}function m(e){if(!o.Z.canUseDOM)return e?d:u}function y(e){let{as:n="div",collapsed:t,children:o,animation:a,onCollapseTransitionEnd:i,className:l,disableSSRStyle:c}=e;const d=(0,r.useRef)(null);return f({collapsibleRef:d,collapsed:t,animation:a}),(0,s.jsx)(n,{ref:d,style:c?void 0:m(t),onTransitionEnd:e=>{"height"===e.propertyName&&(p(d.current,t),i?.(t))},className:l,children:o})}function h(e){let{collapsed:n,...t}=e;const[o,i]=(0,r.useState)(!n),[l,c]=(0,r.useState)(n);return(0,a.Z)((()=>{n||i(!0)}),[n]),(0,a.Z)((()=>{o&&c(n)}),[o,n]),o?(0,s.jsx)(y,{...t,collapsed:l}):null}function g(e){let{lazy:n,...t}=e;const r=n?h:y;return(0,s.jsx)(r,{...t})}},13717:(e,n,t)=>{"use strict";t.d(n,{n:()=>y,p:()=>m});var r=t(2784),o=t(89741),a=t(37611),i=t(6335),s=t(97683),l=t(52322);const c=(0,a.WA)("docusaurus.announcement.dismiss"),d=(0,a.WA)("docusaurus.announcement.id"),u=()=>"true"===c.get(),p=e=>c.set(String(e)),f=r.createContext(null);function m(e){let{children:n}=e;const t=function(){const{announcementBar:e}=(0,s.L)(),n=(0,o.Z)(),[t,a]=(0,r.useState)((()=>!!n&&u()));(0,r.useEffect)((()=>{a(u())}),[]);const i=(0,r.useCallback)((()=>{p(!0),a(!0)}),[]);return(0,r.useEffect)((()=>{if(!e)return;const{id:n}=e;let t=d.get();"annoucement-bar"===t&&(t="announcement-bar");const r=n!==t;d.set(n),r&&p(!1),!r&&u()||a(!1)}),[e]),(0,r.useMemo)((()=>({isActive:!!e&&!t,close:i})),[e,t,i])}();return(0,l.jsx)(f.Provider,{value:t,children:n})}function y(){const e=(0,r.useContext)(f);if(!e)throw new i.i6("AnnouncementBarProvider");return e}},60361:(e,n,t)=>{"use strict";t.d(n,{I:()=>g,S:()=>h});var r=t(2784),o=t(31263),a=t(6335),i=t(37611),s=t(97683),l=t(52322);const c=r.createContext(void 0),d="theme",u=(0,i.WA)(d),p={light:"light",dark:"dark"},f=e=>e===p.dark?p.dark:p.light,m=e=>o.Z.canUseDOM?f(document.documentElement.getAttribute("data-theme")):f(e),y=e=>{u.set(f(e))};function h(e){let{children:n}=e;const t=function(){const{colorMode:{defaultMode:e,disableSwitch:n,respectPrefersColorScheme:t}}=(0,s.L)(),[o,a]=(0,r.useState)(m(e));(0,r.useEffect)((()=>{n&&u.del()}),[n]);const i=(0,r.useCallback)((function(n,r){void 0===r&&(r={});const{persist:o=!0}=r;n?(a(n),o&&y(n)):(a(t?window.matchMedia("(prefers-color-scheme: dark)").matches?p.dark:p.light:e),u.del())}),[t,e]);(0,r.useEffect)((()=>{document.documentElement.setAttribute("data-theme",f(o))}),[o]),(0,r.useEffect)((()=>{if(n)return;const e=e=>{if(e.key!==d)return;const n=u.get();null!==n&&i(f(n))};return window.addEventListener("storage",e),()=>window.removeEventListener("storage",e)}),[n,i]);const l=(0,r.useRef)(!1);return(0,r.useEffect)((()=>{if(n&&!t)return;const e=window.matchMedia("(prefers-color-scheme: dark)"),r=()=>{window.matchMedia("print").matches||l.current?l.current=window.matchMedia("print").matches:i(null)};return e.addListener(r),()=>e.removeListener(r)}),[i,n,t]),(0,r.useMemo)((()=>({colorMode:o,setColorMode:i,get isDarkTheme(){return o===p.dark},setLightTheme(){i(p.light)},setDarkTheme(){i(p.dark)}})),[o,i])}();return(0,l.jsx)(c.Provider,{value:t,children:n})}function g(){const e=(0,r.useContext)(c);if(null==e)throw new a.i6("ColorModeProvider","Please see https://docusaurus.io/docs/api/themes/configuration#use-color-mode.");return e}},37949:(e,n,t)=>{"use strict";t.d(n,{J:()=>v,L5:()=>g});var r=t(2784),o=t(27415),a=t(78183),i=t(97683),s=t(38350),l=t(6335),c=t(37611),d=t(52322);const u=e=>`docs-preferred-version-${e}`,p={save:(e,n,t)=>{(0,c.WA)(u(e),{persistence:n}).set(t)},read:(e,n)=>(0,c.WA)(u(e),{persistence:n}).get(),clear:(e,n)=>{(0,c.WA)(u(e),{persistence:n}).del()}},f=e=>Object.fromEntries(e.map((e=>[e,{preferredVersionName:null}])));const m=r.createContext(null);function y(){const e=(0,o._r)(),n=(0,i.L)().docs.versionPersistence,t=(0,r.useMemo)((()=>Object.keys(e)),[e]),[a,s]=(0,r.useState)((()=>f(t)));(0,r.useEffect)((()=>{s(function(e){let{pluginIds:n,versionPersistence:t,allDocsData:r}=e;function o(e){const n=p.read(e,t);return r[e].versions.some((e=>e.name===n))?{preferredVersionName:n}:(p.clear(e,t),{preferredVersionName:null})}return Object.fromEntries(n.map((e=>[e,o(e)])))}({allDocsData:e,versionPersistence:n,pluginIds:t}))}),[e,n,t]);return[a,(0,r.useMemo)((()=>({savePreferredVersion:function(e,t){p.save(e,n,t),s((n=>({...n,[e]:{preferredVersionName:t}})))}})),[n])]}function h(e){let{children:n}=e;const t=y();return(0,d.jsx)(m.Provider,{value:t,children:n})}function g(e){let{children:n}=e;return s.cE?(0,d.jsx)(h,{children:n}):(0,d.jsx)(d.Fragment,{children:n})}function b(){const e=(0,r.useContext)(m);if(!e)throw new l.i6("DocsPreferredVersionContextProvider");return e}function v(e){void 0===e&&(e=a.m);const n=(0,o.zh)(e),[t,i]=b(),{preferredVersionName:s}=t[e];return{preferredVersion:n.versions.find((e=>e.name===s))??null,savePreferredVersionName:(0,r.useCallback)((n=>{i.savePreferredVersion(e,n)}),[i,e])}}},4228:(e,n,t)=>{"use strict";t.d(n,{V:()=>c,b:()=>l});var r=t(2784),o=t(6335),a=t(52322);const i=Symbol("EmptyContext"),s=r.createContext(i);function l(e){let{children:n,name:t,items:o}=e;const i=(0,r.useMemo)((()=>t&&o?{name:t,items:o}:null),[t,o]);return(0,a.jsx)(s.Provider,{value:i,children:n})}function c(){const e=(0,r.useContext)(s);if(e===i)throw new o.i6("DocsSidebarProvider");return e}},95663:(e,n,t)=>{"use strict";t.d(n,{E:()=>l,q:()=>s});var r=t(2784),o=t(6335),a=t(52322);const i=r.createContext(null);function s(e){let{children:n,version:t}=e;return(0,a.jsx)(i.Provider,{value:t,children:n})}function l(){const e=(0,r.useContext)(i);if(null===e)throw new o.i6("DocsVersionProvider");return e}},54313:(e,n,t)=>{"use strict";t.d(n,{M:()=>p,e:()=>f});var r=t(2784),o=t(47548),a=t(57963),i=t(32424),s=t(97683),l=t(6335),c=t(52322);const d=r.createContext(void 0);function u(){const e=function(){const e=(0,o.HY)(),{items:n}=(0,s.L)().navbar;return 0===n.length&&!e.component}(),n=(0,a.i)(),t=!e&&"mobile"===n,[l,c]=(0,r.useState)(!1);(0,i.Rb)((()=>{if(l)return c(!1),!1}));const d=(0,r.useCallback)((()=>{c((e=>!e))}),[]);return(0,r.useEffect)((()=>{"desktop"===n&&c(!1)}),[n]),(0,r.useMemo)((()=>({disabled:e,shouldRender:t,toggle:d,shown:l})),[e,t,d,l])}function p(e){let{children:n}=e;const t=u();return(0,c.jsx)(d.Provider,{value:t,children:n})}function f(){const e=r.useContext(d);if(void 0===e)throw new l.i6("NavbarMobileSidebarProvider");return e}},47548:(e,n,t)=>{"use strict";t.d(n,{HY:()=>l,Zo:()=>c,n2:()=>s});var r=t(2784),o=t(6335),a=t(52322);const i=r.createContext(null);function s(e){let{children:n}=e;const t=(0,r.useState)({component:null,props:null});return(0,a.jsx)(i.Provider,{value:t,children:n})}function l(){const e=(0,r.useContext)(i);if(!e)throw new o.i6("NavbarSecondaryMenuContentProvider");return e[0]}function c(e){let{component:n,props:t}=e;const a=(0,r.useContext)(i);if(!a)throw new o.i6("NavbarSecondaryMenuContentProvider");const[,s]=a,l=(0,o.Ql)(t);return(0,r.useEffect)((()=>{s({component:n,props:l})}),[s,n,l]),(0,r.useEffect)((()=>()=>s({component:null,props:null})),[s]),null}},9499:(e,n,t)=>{"use strict";t.d(n,{h:()=>o,t:()=>a});var r=t(2784);const o="navigation-with-keyboard";function a(){(0,r.useEffect)((()=>{function e(e){"keydown"===e.type&&"Tab"===e.key&&document.body.classList.add(o),"mousedown"===e.type&&document.body.classList.remove(o)}return document.addEventListener("keydown",e),document.addEventListener("mousedown",e),()=>{document.body.classList.remove(o),document.removeEventListener("keydown",e),document.removeEventListener("mousedown",e)}}),[])}},57963:(e,n,t)=>{"use strict";t.d(n,{i:()=>s});var r=t(2784),o=t(31263);const a={desktop:"desktop",mobile:"mobile",ssr:"ssr"},i=996;function s(e){let{desktopBreakpoint:n=i}=void 0===e?{}:e;const[t,s]=(0,r.useState)((()=>"ssr"));return(0,r.useEffect)((()=>{function e(){s(function(e){if(!o.Z.canUseDOM)throw new Error("getWindowSize() should only be called after React hydration");return window.innerWidth>e?a.desktop:a.mobile}(n))}return e(),window.addEventListener("resize",e),()=>{window.removeEventListener("resize",e)}}),[n]),t}},90211:(e,n,t)=>{"use strict";t.d(n,{k:()=>r});const r={page:{blogListPage:"blog-list-page",blogPostPage:"blog-post-page",blogTagsListPage:"blog-tags-list-page",blogTagPostListPage:"blog-tags-post-list-page",docsDocPage:"docs-doc-page",docsTagsListPage:"docs-tags-list-page",docsTagDocListPage:"docs-tags-doc-list-page",mdxPage:"mdx-page"},wrapper:{main:"main-wrapper",blogPages:"blog-wrapper",docsPages:"docs-wrapper",mdxPages:"mdx-wrapper"},common:{editThisPage:"theme-edit-this-page",lastUpdated:"theme-last-updated",backToTopButton:"theme-back-to-top-button",codeBlock:"theme-code-block",admonition:"theme-admonition",unlistedBanner:"theme-unlisted-banner",admonitionType:e=>`theme-admonition-${e}`},layout:{},docs:{docVersionBanner:"theme-doc-version-banner",docVersionBadge:"theme-doc-version-badge",docBreadcrumbs:"theme-doc-breadcrumbs",docMarkdown:"theme-doc-markdown",docTocMobile:"theme-doc-toc-mobile",docTocDesktop:"theme-doc-toc-desktop",docFooter:"theme-doc-footer",docFooterTagsRow:"theme-doc-footer-tags-row",docFooterEditMetaRow:"theme-doc-footer-edit-meta-row",docSidebarContainer:"theme-doc-sidebar-container",docSidebarMenu:"theme-doc-sidebar-menu",docSidebarItemCategory:"theme-doc-sidebar-item-category",docSidebarItemLink:"theme-doc-sidebar-item-link",docSidebarItemCategoryLevel:e=>`theme-doc-sidebar-item-category-level-${e}`,docSidebarItemLinkLevel:e=>`theme-doc-sidebar-item-link-level-${e}`},blog:{blogFooterTagsRow:"theme-blog-footer-tags-row",blogFooterEditMetaRow:"theme-blog-footer-edit-meta-row"},pages:{pageFooterEditMetaRow:"theme-pages-footer-edit-meta-row"}}},80936:(e,n,t)=>{"use strict";function r(){return window.matchMedia("(prefers-reduced-motion: reduce)").matches}t.d(n,{n:()=>r})},38350:(e,n,t)=>{"use strict";t.d(n,{LM:()=>m,MN:()=>P,SN:()=>_,_F:()=>b,cE:()=>p,f:()=>x,jA:()=>y,lO:()=>S,oz:()=>E,s1:()=>k,vY:()=>C,xz:()=>f});var r=t(2784),o=t(7267),a=t(9702),i=t(27415),s=t(37949),l=t(95663),c=t(4228),d=t(42244),u=t(87661);const p=!!i._r;function f(e){const n=(0,l.E)();if(!e)return;const t=n.docs[e];if(!t)throw new Error(`no version doc found by id=${e}`);return t}function m(e){return"link"!==e.type||e.unlisted?"category"===e.type?function(e){if(e.href&&!e.linkUnlisted)return e.href;for(const n of e.items){const e=m(n);if(e)return e}}(e):void 0:e.href}function y(){const{pathname:e}=(0,o.TH)(),n=(0,c.V)();if(!n)throw new Error("Unexpected: cant find current sidebar in context");const t=w({sidebarItems:n.items,pathname:e,onlyCategories:!0}).slice(-1)[0];if(!t)throw new Error(`${e} is not associated with a category. useCurrentSidebarCategory() should only be used on category index pages.`);return t}const h=(e,n)=>void 0!==e&&(0,u.Mg)(e,n),g=(e,n)=>e.some((e=>b(e,n)));function b(e,n){return"link"===e.type?h(e.href,n):"category"===e.type&&(h(e.href,n)||g(e.items,n))}function v(e,n){switch(e.type){case"category":return b(e,n)||e.items.some((e=>v(e,n)));case"link":return!e.unlisted||b(e,n);default:return!0}}function x(e,n){return(0,r.useMemo)((()=>e.filter((e=>v(e,n)))),[e,n])}function w(e){let{sidebarItems:n,pathname:t,onlyCategories:r=!1}=e;const o=[];return function e(n){for(const a of n)if("category"===a.type&&((0,u.Mg)(a.href,t)||e(a.items))||"link"===a.type&&(0,u.Mg)(a.href,t)){return r&&"category"!==a.type||o.unshift(a),!0}return!1}(n),o}function k(){const e=(0,c.V)(),{pathname:n}=(0,o.TH)(),t=(0,i.gA)()?.pluginData.breadcrumbs;return!1!==t&&e?w({sidebarItems:e.items,pathname:n}):null}function S(e){const{activeVersion:n}=(0,i.Iw)(e),{preferredVersion:t}=(0,s.J)(e),o=(0,i.yW)(e);return(0,r.useMemo)((()=>(0,d.j)([n,t,o].filter(Boolean))),[n,t,o])}function E(e,n){const t=S(n);return(0,r.useMemo)((()=>{const n=t.flatMap((e=>e.sidebars?Object.entries(e.sidebars):[])),r=n.find((n=>n[0]===e));if(!r)throw new Error(`Can't find any sidebar with id "${e}" in version${t.length>1?"s":""} ${t.map((e=>e.name)).join(", ")}".\nAvailable sidebar ids are:\n- ${n.map((e=>e[0])).join("\n- ")}`);return r[1]}),[e,t])}function C(e,n){const t=S(n);return(0,r.useMemo)((()=>{const n=t.flatMap((e=>e.docs)),r=n.find((n=>n.id===e));if(!r){if(t.flatMap((e=>e.draftIds)).includes(e))return null;throw new Error(`Couldn't find any doc with id "${e}" in version${t.length>1?"s":""} "${t.map((e=>e.name)).join(", ")}".\nAvailable doc ids are:\n- ${(0,d.j)(n.map((e=>e.id))).join("\n- ")}`)}return r}),[e,t])}function _(e){let{route:n}=e;const t=(0,o.TH)(),r=(0,l.E)(),i=n.routes,s=i.find((e=>(0,o.LX)(t.pathname,e)));if(!s)return null;const c=s.sidebar,d=c?r.docsSidebars[c]:void 0;return{docElement:(0,a.H)(i),sidebarName:c,sidebarItems:d}}function P(e){return e.filter((e=>!("category"===e.type||"link"===e.type)||!!m(e)))}},32424:(e,n,t)=>{"use strict";t.d(n,{Rb:()=>i,_X:()=>l});var r=t(2784),o=t(7267),a=t(6335);function i(e){!function(e){const n=(0,o.k6)(),t=(0,a.zX)(e);(0,r.useEffect)((()=>n.block(((e,n)=>t(e,n)))),[n,t])}(((n,t)=>{if("POP"===t)return e(n,t)}))}function s(e){const n=(0,o.k6)();return(0,r.useSyncExternalStore)(n.listen,(()=>e(n)),(()=>e(n)))}function l(e){return s((n=>null===e?null:new URLSearchParams(n.location.search).get(e)))}},42244:(e,n,t)=>{"use strict";function r(e,n){return void 0===n&&(n=(e,n)=>e===n),e.filter(((t,r)=>e.findIndex((e=>n(e,t)))!==r))}function o(e){return Array.from(new Set(e))}t.d(n,{j:()=>o,l:()=>r})},50328:(e,n,t)=>{"use strict";t.d(n,{FG:()=>f,d:()=>u,VC:()=>m});var r=t(2784),o=t(40489),a=t(69854),i=t(71313);function s(){const e=r.useContext(i._);if(!e)throw new Error("Unexpected: no Docusaurus route context found");return e}var l=t(90077),c=t(37614);var d=t(52322);function u(e){let{title:n,description:t,keywords:r,image:o,children:i}=e;const s=function(e){const{siteConfig:n}=(0,c.Z)(),{title:t,titleDelimiter:r}=n;return e?.trim().length?`${e.trim()} ${r} ${t}`:t}(n),{withBaseUrl:u}=(0,l.Cg)(),p=o?u(o,{absolute:!0}):void 0;return(0,d.jsxs)(a.Z,{children:[n&&(0,d.jsx)("title",{children:s}),n&&(0,d.jsx)("meta",{property:"og:title",content:s}),t&&(0,d.jsx)("meta",{name:"description",content:t}),t&&(0,d.jsx)("meta",{property:"og:description",content:t}),r&&(0,d.jsx)("meta",{name:"keywords",content:Array.isArray(r)?r.join(","):r}),p&&(0,d.jsx)("meta",{property:"og:image",content:p}),p&&(0,d.jsx)("meta",{name:"twitter:image",content:p}),i]})}const p=r.createContext(void 0);function f(e){let{className:n,children:t}=e;const i=r.useContext(p),s=(0,o.Z)(i,n);return(0,d.jsxs)(p.Provider,{value:s,children:[(0,d.jsx)(a.Z,{children:(0,d.jsx)("html",{className:s})}),t]})}function m(e){let{children:n}=e;const t=s(),r=`plugin-${t.plugin.name.replace(/docusaurus-(?:plugin|theme)-(?:content-)?/gi,"")}`;const a=`plugin-id-${t.plugin.id}`;return(0,d.jsx)(f,{className:(0,o.Z)(r,a),children:n})}},6335:(e,n,t)=>{"use strict";t.d(n,{D9:()=>s,Qc:()=>d,Ql:()=>c,i6:()=>l,zX:()=>i});var r=t(2784),o=t(70164),a=t(52322);function i(e){const n=(0,r.useRef)(e);return(0,o.Z)((()=>{n.current=e}),[e]),(0,r.useCallback)((function(){return n.current(...arguments)}),[])}function s(e){const n=(0,r.useRef)();return(0,o.Z)((()=>{n.current=e})),n.current}class l extends Error{constructor(e,n){super(),this.name="ReactContextError",this.message=`Hook ${this.stack?.split("\n")[1]?.match(/at (?:\w+\.)?(?<name>\w+)/)?.groups.name??""} is called outside the <${e}>. ${n??""}`}}function c(e){const n=Object.entries(e);return n.sort(((e,n)=>e[0].localeCompare(n[0]))),(0,r.useMemo)((()=>e),n.flat())}function d(e){return n=>{let{children:t}=n;return(0,a.jsx)(a.Fragment,{children:e.reduceRight(((e,n)=>(0,a.jsx)(n,{children:e})),t)})}}},87661:(e,n,t)=>{"use strict";t.d(n,{Mg:()=>i,Ns:()=>s});var r=t(2784),o=t(19895),a=t(37614);function i(e,n){const t=e=>(!e||e.endsWith("/")?e:`${e}/`)?.toLowerCase();return t(e)===t(n)}function s(){const{baseUrl:e}=(0,a.Z)().siteConfig;return(0,r.useMemo)((()=>function(e){let{baseUrl:n,routes:t}=e;function r(e){return e.path===n&&!0===e.exact}function o(e){return e.path===n&&!e.exact}return function e(n){if(0===n.length)return;return n.find(r)||e(n.filter(o).flatMap((e=>e.routes??[])))}(t)}({routes:o.Z,baseUrl:e})),[e])}},24126:(e,n,t)=>{"use strict";t.d(n,{Ct:()=>y,OC:()=>d,RF:()=>f,o5:()=>m});var r=t(2784),o=t(31263),a=t(89741),i=t(70164),s=t(6335),l=t(52322);const c=r.createContext(void 0);function d(e){let{children:n}=e;const t=function(){const e=(0,r.useRef)(!0);return(0,r.useMemo)((()=>({scrollEventsEnabledRef:e,enableScrollEvents:()=>{e.current=!0},disableScrollEvents:()=>{e.current=!1}})),[])}();return(0,l.jsx)(c.Provider,{value:t,children:n})}function u(){const e=(0,r.useContext)(c);if(null==e)throw new s.i6("ScrollControllerProvider");return e}const p=()=>o.Z.canUseDOM?{scrollX:window.pageXOffset,scrollY:window.pageYOffset}:null;function f(e,n){void 0===n&&(n=[]);const{scrollEventsEnabledRef:t}=u(),o=(0,r.useRef)(p()),a=(0,s.zX)(e);(0,r.useEffect)((()=>{const e=()=>{if(!t.current)return;const e=p();a(e,o.current),o.current=e},n={passive:!0};return e(),window.addEventListener("scroll",e,n),()=>window.removeEventListener("scroll",e,n)}),[a,t,...n])}function m(){const e=u(),n=function(){const e=(0,r.useRef)({elem:null,top:0}),n=(0,r.useCallback)((n=>{e.current={elem:n,top:n.getBoundingClientRect().top}}),[]),t=(0,r.useCallback)((()=>{const{current:{elem:n,top:t}}=e;if(!n)return{restored:!1};const r=n.getBoundingClientRect().top-t;return r&&window.scrollBy({left:0,top:r}),e.current={elem:null,top:0},{restored:0!==r}}),[]);return(0,r.useMemo)((()=>({save:n,restore:t})),[t,n])}(),t=(0,r.useRef)(void 0),o=(0,r.useCallback)((r=>{n.save(r),e.disableScrollEvents(),t.current=()=>{const{restored:r}=n.restore();if(t.current=void 0,r){const n=()=>{e.enableScrollEvents(),window.removeEventListener("scroll",n)};window.addEventListener("scroll",n)}else e.enableScrollEvents()}}),[e,n]);return(0,i.Z)((()=>{queueMicrotask((()=>t.current?.()))})),{blockElementScrollPositionUntilNextRender:o}}function y(){const e=(0,r.useRef)(null),n=(0,a.Z)()&&"smooth"===getComputedStyle(document.documentElement).scrollBehavior;return{startScroll:t=>{e.current=n?function(e){return window.scrollTo({top:e,behavior:"smooth"}),()=>{}}(t):function(e){let n=null;const t=document.documentElement.scrollTop>e;return function r(){const o=document.documentElement.scrollTop;(t&&o>e||!t&&o<e)&&(n=requestAnimationFrame(r),window.scrollTo(0,Math.floor(.85*(o-e))+e))}(),()=>n&&cancelAnimationFrame(n)}(t)},cancelScroll:()=>e.current?.()}}},4925:(e,n,t)=>{"use strict";t.d(n,{HX:()=>r,os:()=>o});t(37614);const r="default";function o(e,n){return`docs-${e}-${n}`}},37611:(e,n,t)=>{"use strict";t.d(n,{WA:()=>d,Nk:()=>u});var r=t(2784);const o=JSON.parse('{"d":"localStorage","u":""}'),a=o.d;function i(e){let{key:n,oldValue:t,newValue:r,storage:o}=e;if(t===r)return;const a=document.createEvent("StorageEvent");a.initStorageEvent("storage",!1,!1,n,t,r,window.location.href,o),window.dispatchEvent(a)}function s(e){if(void 0===e&&(e=a),"undefined"==typeof window)throw new Error("Browser storage is not available on Node.js/Docusaurus SSR process.");if("none"===e)return null;try{return window[e]}catch(t){return n=t,l||(console.warn("Docusaurus browser storage is not available.\nPossible reasons: running Docusaurus in an iframe, in an incognito browser session, or using too strict browser privacy settings.",n),l=!0),null}var n}let l=!1;const c={get:()=>null,set:()=>{},del:()=>{},listen:()=>()=>{}};function d(e,n){const t=`${e}${o.u}`;if("undefined"==typeof window)return function(e){function n(){throw new Error(`Illegal storage API usage for storage key "${e}".\nDocusaurus storage APIs are not supposed to be called on the server-rendering process.\nPlease only call storage APIs in effects and event handlers.`)}return{get:n,set:n,del:n,listen:n}}(t);const r=s(n?.persistence);return null===r?c:{get:()=>{try{return r.getItem(t)}catch(e){return console.error(`Docusaurus storage error, can't get key=${t}`,e),null}},set:e=>{try{const n=r.getItem(t);r.setItem(t,e),i({key:t,oldValue:n,newValue:e,storage:r})}catch(n){console.error(`Docusaurus storage error, can't set ${t}=${e}`,n)}},del:()=>{try{const e=r.getItem(t);r.removeItem(t),i({key:t,oldValue:e,newValue:null,storage:r})}catch(e){console.error(`Docusaurus storage error, can't delete key=${t}`,e)}},listen:e=>{try{const n=n=>{n.storageArea===r&&n.key===t&&e(n)};return window.addEventListener("storage",n),()=>window.removeEventListener("storage",n)}catch(n){return console.error(`Docusaurus storage error, can't listen for changes of key=${t}`,n),()=>{}}}}}function u(e,n){const t=(0,r.useRef)((()=>null===e?c:d(e,n))).current(),o=(0,r.useCallback)((e=>"undefined"==typeof window?()=>{}:t.listen(e)),[t]);return[(0,r.useSyncExternalStore)(o,(()=>"undefined"==typeof window?null:t.get()),(()=>null)),t]}},55552:(e,n,t)=>{"use strict";t.d(n,{l:()=>i});var r=t(37614),o=t(7267),a=t(60958);function i(){const{siteConfig:{baseUrl:e,url:n,trailingSlash:t},i18n:{defaultLocale:i,currentLocale:s}}=(0,r.Z)(),{pathname:l}=(0,o.TH)(),c=(0,a.applyTrailingSlash)(l,{trailingSlash:t,baseUrl:e}),d=s===i?e:e.replace(`/${s}/`,"/"),u=c.replace(e,"");return{createUrl:function(e){let{locale:t,fullyQualified:r}=e;return`${r?n:""}${function(e){return e===i?`${d}`:`${d}${e}/`}(t)}${u}`}}}},12105:(e,n,t)=>{"use strict";t.d(n,{S:()=>i});var r=t(2784),o=t(7267),a=t(6335);function i(e){const n=(0,o.TH)(),t=(0,a.D9)(n),i=(0,a.zX)(e);(0,r.useEffect)((()=>{t&&n!==t&&i({location:n,previousLocation:t})}),[i,n,t])}},97683:(e,n,t)=>{"use strict";t.d(n,{L:()=>o});var r=t(37614);function o(){return(0,r.Z)().siteConfig.themeConfig}},71025:(e,n,t)=>{"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.removeTrailingSlash=n.addLeadingSlash=n.addTrailingSlash=void 0;const r=t(90599);function o(e){return e.endsWith("/")?e:`${e}/`}function a(e){return(0,r.removeSuffix)(e,"/")}n.addTrailingSlash=o,n.default=function(e,n){const{trailingSlash:t,baseUrl:r}=n;if(e.startsWith("#"))return e;if(void 0===t)return e;const[i]=e.split(/[#?]/),s="/"===i||i===r?i:(l=i,t?o(l):a(l));var l;return e.replace(i,s)},n.addLeadingSlash=function(e){return(0,r.addPrefix)(e,"/")},n.removeTrailingSlash=a},90415:(e,n)=>{"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.getErrorCausalChain=void 0,n.getErrorCausalChain=function e(n){return n.cause?[n,...e(n.cause)]:[n]}},60958:function(e,n,t){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(n,"__esModule",{value:!0}),n.getErrorCausalChain=n.removePrefix=n.addSuffix=n.removeSuffix=n.addPrefix=n.removeTrailingSlash=n.addLeadingSlash=n.addTrailingSlash=n.applyTrailingSlash=n.blogPostContainerID=void 0,n.blogPostContainerID="__blog-post-container";var o=t(71025);Object.defineProperty(n,"applyTrailingSlash",{enumerable:!0,get:function(){return r(o).default}}),Object.defineProperty(n,"addTrailingSlash",{enumerable:!0,get:function(){return o.addTrailingSlash}}),Object.defineProperty(n,"addLeadingSlash",{enumerable:!0,get:function(){return o.addLeadingSlash}}),Object.defineProperty(n,"removeTrailingSlash",{enumerable:!0,get:function(){return o.removeTrailingSlash}});var a=t(90599);Object.defineProperty(n,"addPrefix",{enumerable:!0,get:function(){return a.addPrefix}}),Object.defineProperty(n,"removeSuffix",{enumerable:!0,get:function(){return a.removeSuffix}}),Object.defineProperty(n,"addSuffix",{enumerable:!0,get:function(){return a.addSuffix}}),Object.defineProperty(n,"removePrefix",{enumerable:!0,get:function(){return a.removePrefix}});var i=t(90415);Object.defineProperty(n,"getErrorCausalChain",{enumerable:!0,get:function(){return i.getErrorCausalChain}})},90599:(e,n)=>{"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.removePrefix=n.addSuffix=n.removeSuffix=n.addPrefix=void 0,n.addPrefix=function(e,n){return e.startsWith(n)?e:`${n}${e}`},n.removeSuffix=function(e,n){return""===n?e:e.endsWith(n)?e.slice(0,-n.length):e},n.addSuffix=function(e,n){return e.endsWith(n)?e:`${e}${n}`},n.removePrefix=function(e,n){return e.startsWith(n)?e.slice(n.length):e}},19895:(e,n,t)=>{"use strict";t.d(n,{Z:()=>p});t(2784);var r=t(89028),o=t.n(r),a=t(16887);const i={"0098a75a":[()=>Promise.all([t.e(532),t.e(8592),t.e(2061)]).then(t.bind(t,49228)),"@site/docs/sketches/prototype.mdx",49228],"06923f2b":[()=>Promise.all([t.e(532),t.e(8592),t.e(1649)]).then(t.bind(t,37306)),"@site/spec/pointer/concepts.mdx",37306],"06f6442f":[()=>Promise.all([t.e(532),t.e(8592),t.e(5097)]).then(t.bind(t,60740)),"@site/spec/pointer/region/location/storage.mdx",60740],"0c6b334b":[()=>Promise.all([t.e(532),t.e(8592),t.e(2418)]).then(t.bind(t,5958)),"@site/spec/pointer/pointer.mdx",5958],"0d3f9d17":[()=>Promise.all([t.e(532),t.e(8592),t.e(799)]).then(t.bind(t,7737)),"@site/spec/type/elementary/bytes.mdx",7737],"1154c93e":[()=>Promise.all([t.e(532),t.e(8592),t.e(1887)]).then(t.bind(t,62903)),"@site/spec/type/complex/tuple.mdx",62903],"14eb3368":[()=>Promise.all([t.e(532),t.e(9817)]).then(t.bind(t,45609)),"@theme/DocCategoryGeneratedIndexPage",45609],17896441:[()=>Promise.all([t.e(532),t.e(8592),t.e(3879),t.e(7918)]).then(t.bind(t,49948)),"@theme/DocItem",49948],18891827:[()=>Promise.all([t.e(8592),t.e(9081)]).then(t.bind(t,56731)),"@site/docs/overview.mdx",56731],"1917520d":[()=>Promise.all([t.e(532),t.e(8592),t.e(5722),t.e(1571)]).then(t.bind(t,99156)),"@site/spec/type/base.mdx",99156],"19c068a5":[()=>Promise.all([t.e(8592),t.e(3904)]).then(t.bind(t,71613)),"@site/docs/implementation-guides/pointers/dereference-logic/dereference-logic.mdx",71613],"1df93b7f":[()=>Promise.all([t.e(532),t.e(3237)]).then(t.bind(t,47483)),"@site/src/pages/index.tsx",47483],"1f391b9e":[()=>Promise.all([t.e(532),t.e(8592),t.e(3879),t.e(3085)]).then(t.bind(t,48398)),"@theme/MDXPage",48398],"26210d4e":[()=>Promise.all([t.e(532),t.e(8592),t.e(8015)]).then(t.bind(t,81037)),"@site/spec/type/elementary/address.mdx",81037],"26adb6ed":[()=>Promise.all([t.e(532),t.e(8592),t.e(2343)]).then(t.bind(t,34903)),"@site/spec/type/complex/alias.mdx",34903],28755575:[()=>t.e(4380).then(t.t.bind(t,73206,19)),"@generated/docusaurus-plugin-content-docs/spec/p/format-spec-category-collections-3e7.json",73206],"288a3aad":[()=>Promise.all([t.e(532),t.e(8592),t.e(2384)]).then(t.bind(t,70442)),"@site/spec/type/complex/function.mdx",70442],"2d54960a":[()=>t.e(4404).then(t.t.bind(t,14765,19)),"@generated/docusaurus-plugin-content-docs/spec/p/format-spec-category-complex-types-90c.json",14765],"2d5baa33":[()=>Promise.all([t.e(8592),t.e(5152)]).then(t.bind(t,9922)),"@site/docs/sketches/layout.mdx",9922],"2fe7c366":[()=>t.e(6924).then(t.t.bind(t,62930,19)),"@generated/docusaurus-plugin-content-docs/default/p/format-docs-category-prototype-sketches-eac.json",62930],"324b62c5":[()=>Promise.all([t.e(532),t.e(8592),t.e(9057)]).then(t.bind(t,26043)),"@site/spec/pointer/collection/collection.mdx",26043],"34a1fa87":[()=>Promise.all([t.e(532),t.e(8592),t.e(5340)]).then(t.bind(t,68443)),"@site/spec/pointer/region/location/calldata.mdx",68443],"39033cdf":[()=>Promise.all([t.e(532),t.e(8592),t.e(9874)]).then(t.bind(t,83459)),"@site/spec/type/complex/array.mdx",83459],"3bef66bf":[()=>Promise.all([t.e(532),t.e(8592),t.e(477),t.e(4963)]).then(t.bind(t,23349)),"@site/docs/implementation-guides/pointers/types/pointer-types.mdx",23349],"41f6ea55":[()=>Promise.all([t.e(532),t.e(8592),t.e(7278)]).then(t.bind(t,40715)),"@site/spec/pointer/region/base.mdx",40715],"47f40ad3":[()=>Promise.all([t.e(532),t.e(8592),t.e(3362)]).then(t.bind(t,89373)),"@site/spec/pointer/region/scheme/segment.mdx",89373],"4ffa8edd":[()=>Promise.all([t.e(532),t.e(8592),t.e(7091)]).then(t.bind(t,54380)),"@site/spec/pointer/region/location/stack.mdx",54380],"50fa7aa7":[()=>Promise.all([t.e(532),t.e(8592),t.e(1422)]).then(t.bind(t,37088)),"@site/spec/type/elementary/string.mdx",37088],55366030:[()=>Promise.all([t.e(532),t.e(8592),t.e(5007)]).then(t.bind(t,5062)),"@site/spec/pointer/region/scheme/slice.mdx",5062],"57805cd5":[()=>Promise.all([t.e(532),t.e(8592),t.e(6218)]).then(t.bind(t,48965)),"@site/spec/pointer/region/region.mdx",48965],"5b89c65e":[()=>t.e(6553).then(t.t.bind(t,60857,19)),"@generated/docusaurus-plugin-content-docs/default/p/format-docs-category-dereferencing-pointers-457.json",60857],"5c90228f":[()=>Promise.all([t.e(532),t.e(8592),t.e(8822)]).then(t.bind(t,54243)),"@site/spec/materials/source.mdx",54243],"5e95c892":[()=>t.e(9661).then(t.bind(t,44629)),"@theme/DocsRoot",44629],"5e9f5e1a":[()=>Promise.resolve().then(t.bind(t,36809)),"@generated/docusaurus.config",36809],"5fa83de1":[()=>Promise.all([t.e(532),t.e(8592),t.e(2156)]).then(t.bind(t,19327)),"@site/spec/type/overview.mdx",19327],"5fb36c82":[()=>Promise.all([t.e(532),t.e(8592),t.e(5438)]).then(t.bind(t,20116)),"@site/spec/pointer/region/location/code.mdx",20116],"60b8d43b":[()=>Promise.all([t.e(8592),t.e(7219)]).then(t.bind(t,1067)),"@site/spec/pointer/overview.mdx",1067],"6397ae1b":[()=>Promise.all([t.e(532),t.e(8592),t.e(5910)]).then(t.bind(t,63860)),"@site/spec/pointer/collection/list.mdx",63860],"65b9696e":[()=>t.e(6037).then(t.t.bind(t,94818,19)),"@generated/docusaurus-plugin-content-docs/spec/p/format-spec-e89.json",94818],"6656ad10":[()=>t.e(8623).then(t.t.bind(t,17814,19)),"@generated/docusaurus-plugin-content-docs/spec/p/format-spec-category-elementary-types-26a.json",17814],"6bb5505e":[()=>Promise.all([t.e(532),t.e(8592),t.e(8797)]).then(t.bind(t,52894)),"@site/spec/pointer/collection/scope.mdx",52894],"6cd3635f":[()=>t.e(1298).then(t.t.bind(t,18980,19)),"@generated/docusaurus-plugin-content-docs/default/p/format-docs-category-implementation-guides-784.json",18980],"6dcd11e3":[()=>Promise.all([t.e(532),t.e(8592),t.e(477),t.e(8107)]).then(t.bind(t,12162)),"@site/docs/implementation-guides/pointers/types/cursors.mdx",12162],"6e8ff3aa":[()=>Promise.all([t.e(532),t.e(8592),t.e(2093)]).then(t.bind(t,64856)),"@site/spec/type/type.mdx",64856],"7168108a":[()=>Promise.all([t.e(532),t.e(8592),t.e(4427)]).then(t.bind(t,66673)),"@site/spec/pointer/region/location/transient.mdx",66673],"721263eb":[()=>t.e(4188).then(t.t.bind(t,74974,19)),"@generated/docusaurus-plugin-content-docs/spec/p/format-spec-category-ethdebugformatmaterials-bff.json",74974],"73e8c510":[()=>Promise.all([t.e(532),t.e(8592),t.e(8605)]).then(t.bind(t,9179)),"@site/spec/materials/id.mdx",9179],"74f0bff4":[()=>Promise.all([t.e(532),t.e(8592),t.e(3e3)]).then(t.bind(t,49678)),"@site/spec/type/elementary/int.mdx",49678],"79160c11":[()=>t.e(1847).then(t.t.bind(t,80379,19)),"@generated/docusaurus-plugin-content-docs/spec/p/format-spec-category-ethdebugformattype-f22.json",80379],"7b38f772":[()=>t.e(692).then(t.t.bind(t,91393,19)),"@generated/docusaurus-plugin-content-docs/spec/p/format-spec-category-ethdebugformatpointer-c87.json",91393],"87bcd65e":[()=>Promise.all([t.e(532),t.e(8592),t.e(488)]).then(t.bind(t,62237)),"@site/spec/type/elementary/fixed.mdx",62237],"8aa384a9":[()=>Promise.all([t.e(532),t.e(8592),t.e(477),t.e(1583)]).then(t.bind(t,18290)),"@site/docs/implementation-guides/pointers/dereference-logic/making-regions-concrete.mdx",18290],"8e037750":[()=>Promise.all([t.e(532),t.e(8592),t.e(7033)]).then(t.bind(t,95491)),"@site/spec/type/concepts.mdx",95491],"9ac2b418":[()=>Promise.all([t.e(532),t.e(8592),t.e(351)]).then(t.bind(t,64421)),"@site/spec/type/complex/struct.mdx",64421],"9c6e1aee":[()=>Promise.all([t.e(532),t.e(8592),t.e(882)]).then(t.bind(t,31745)),"@site/spec/pointer/collection/conditional.mdx",31745],"9e15fc25":[()=>Promise.all([t.e(532),t.e(8592),t.e(554)]).then(t.bind(t,12811)),"@site/docs/known-challenges.mdx",12811],a666bd68:[()=>Promise.all([t.e(532),t.e(8592),t.e(477),t.e(7e3)]).then(t.bind(t,62831)),"@site/docs/implementation-guides/pointers/overview.mdx",62831],a6fccf34:[()=>Promise.all([t.e(532),t.e(8592),t.e(477),t.e(1724)]).then(t.bind(t,18206)),"@site/docs/implementation-guides/pointers/reading-from-regions.mdx",18206],a7456010:[()=>t.e(5980).then(t.t.bind(t,79365,19)),"@generated/docusaurus-plugin-content-pages/default/__plugin.json",79365],a7bd4aaa:[()=>t.e(8518).then(t.bind(t,42582)),"@theme/DocVersionRoot",42582],a94703ab:[()=>Promise.all([t.e(532),t.e(4368)]).then(t.bind(t,91999)),"@theme/DocRoot",91999],aba21aa0:[()=>t.e(3629).then(t.t.bind(t,41765,19)),"@generated/docusaurus-plugin-content-docs/default/__plugin.json",41765],ad7f7207:[()=>Promise.all([t.e(8592),t.e(2112)]).then(t.bind(t,56379)),"@site/spec/materials/overview.mdx",56379],aeecf7cf:[()=>Promise.all([t.e(532),t.e(8592),t.e(5815)]).then(t.bind(t,8492)),"@site/spec/type/elementary/enum.mdx",8492],b27771bd:[()=>Promise.all([t.e(532),t.e(8592),t.e(3427)]).then(t.bind(t,72363)),"@site/spec/type/complex/mapping.mdx",72363],b702b8d4:[()=>Promise.all([t.e(532),t.e(8592),t.e(6424)]).then(t.bind(t,9187)),"@site/spec/pointer/region/location/memory.mdx",9187],b887ed67:[()=>Promise.all([t.e(532),t.e(8592),t.e(477),t.e(1322)]).then(t.bind(t,39163)),"@site/docs/implementation-guides/pointers/dereference-logic/summary.mdx",39163],be5c8d03:[()=>Promise.all([t.e(532),t.e(8592),t.e(5791)]).then(t.bind(t,84860)),"@site/spec/type/elementary/contract.mdx",84860],c26eb700:[()=>Promise.all([t.e(532),t.e(8592),t.e(6003)]).then(t.bind(t,92733)),"@site/spec/materials/compilation.mdx",92733],c3e4b2a1:[()=>Promise.all([t.e(532),t.e(6477)]).then(t.bind(t,52517)),"@site/src/pages/home/index.tsx",52517],c47862a6:[()=>Promise.all([t.e(532),t.e(8592),t.e(4567)]).then(t.bind(t,62978)),"@site/spec/type/elementary/uint.mdx",62978],c73c1d3a:[()=>Promise.all([t.e(532),t.e(8592),t.e(556)]).then(t.bind(t,32587)),"@site/spec/materials/source-range.mdx",32587],cb7b1c3b:[()=>Promise.all([t.e(8592),t.e(8263)]).then(t.bind(t,61634)),"@site/docs/implementation-guides/pointers/types/types.mdx",61634],ccf56d1d:[()=>Promise.all([t.e(532),t.e(8592),t.e(9312)]).then(t.bind(t,39843)),"@site/spec/pointer/region/location/returndata.mdx",39843],ce1d6aaa:[()=>Promise.all([t.e(532),t.e(8592),t.e(477),t.e(8470)]).then(t.bind(t,72052)),"@site/docs/implementation-guides/pointers/evaluating-expressions.mdx",72052],d37c0134:[()=>Promise.all([t.e(532),t.e(8592),t.e(477),t.e(6338)]).then(t.bind(t,37374)),"@site/docs/implementation-guides/pointers/dereference-logic/generating-regions.mdx",37374],d3f864f6:[()=>t.e(2095).then(t.t.bind(t,98870,19)),"@generated/docusaurus-plugin-content-docs/default/p/format-docs-d4e.json",98870],d6a63adc:[()=>Promise.all([t.e(8592),t.e(6454)]).then(t.bind(t,1594)),"@site/spec/overview.mdx",1594],dc0c7504:[()=>Promise.all([t.e(532),t.e(8592),t.e(477),t.e(7626)]).then(t.bind(t,33552)),"@site/docs/implementation-guides/pointers/types/data-and-machines.mdx",33552],dd631578:[()=>t.e(9684).then(t.t.bind(t,20366,19)),"@generated/docusaurus-plugin-content-docs/spec/p/format-spec-category-regions-c51.json",20366],dfd51a51:[()=>t.e(4035).then(t.t.bind(t,75320,19)),"@generated/docusaurus-plugin-content-docs/spec/__plugin.json",75320],e8328cbe:[()=>Promise.all([t.e(532),t.e(8592),t.e(5491)]).then(t.bind(t,1380)),"@site/spec/pointer/collection/group.mdx",1380],e856c143:[()=>Promise.all([t.e(8592),t.e(683)]).then(t.bind(t,94647)),"@site/src/pages/status.mdx",94647],ee3e0fff:[()=>Promise.all([t.e(532),t.e(8592),t.e(9437)]).then(t.bind(t,5641)),"@site/spec/pointer/expression.mdx",5641],f210e6d3:[()=>Promise.all([t.e(532),t.e(8592),t.e(1512)]).then(t.bind(t,32562)),"@site/spec/type/elementary/bool.mdx",32562],f2745fbe:[()=>Promise.all([t.e(532),t.e(8592),t.e(5548)]).then(t.bind(t,11786)),"@site/spec/type/elementary/ufixed.mdx",11786]};var s=t(52322);function l(e){let{error:n,retry:t,pastDelay:r}=e;return n?(0,s.jsxs)("div",{style:{textAlign:"center",color:"#fff",backgroundColor:"#fa383e",borderColor:"#fa383e",borderStyle:"solid",borderRadius:"0.25rem",borderWidth:"1px",boxSizing:"border-box",display:"block",padding:"1rem",flex:"0 0 50%",marginLeft:"25%",marginRight:"25%",marginTop:"5rem",maxWidth:"50%",width:"100%"},children:[(0,s.jsx)("p",{children:String(n)}),(0,s.jsx)("div",{children:(0,s.jsx)("button",{type:"button",onClick:t,children:"Retry"})})]}):r?(0,s.jsx)("div",{style:{display:"flex",justifyContent:"center",alignItems:"center",height:"100vh"},children:(0,s.jsx)("svg",{id:"loader",style:{width:128,height:110,position:"absolute",top:"calc(100vh - 64%)"},viewBox:"0 0 45 45",xmlns:"http://www.w3.org/2000/svg",stroke:"#61dafb",children:(0,s.jsxs)("g",{fill:"none",fillRule:"evenodd",transform:"translate(1 1)",strokeWidth:"2",children:[(0,s.jsxs)("circle",{cx:"22",cy:"22",r:"6",strokeOpacity:"0",children:[(0,s.jsx)("animate",{attributeName:"r",begin:"1.5s",dur:"3s",values:"6;22",calcMode:"linear",repeatCount:"indefinite"}),(0,s.jsx)("animate",{attributeName:"stroke-opacity",begin:"1.5s",dur:"3s",values:"1;0",calcMode:"linear",repeatCount:"indefinite"}),(0,s.jsx)("animate",{attributeName:"stroke-width",begin:"1.5s",dur:"3s",values:"2;0",calcMode:"linear",repeatCount:"indefinite"})]}),(0,s.jsxs)("circle",{cx:"22",cy:"22",r:"6",strokeOpacity:"0",children:[(0,s.jsx)("animate",{attributeName:"r",begin:"3s",dur:"3s",values:"6;22",calcMode:"linear",repeatCount:"indefinite"}),(0,s.jsx)("animate",{attributeName:"stroke-opacity",begin:"3s",dur:"3s",values:"1;0",calcMode:"linear",repeatCount:"indefinite"}),(0,s.jsx)("animate",{attributeName:"stroke-width",begin:"3s",dur:"3s",values:"2;0",calcMode:"linear",repeatCount:"indefinite"})]}),(0,s.jsx)("circle",{cx:"22",cy:"22",r:"8",children:(0,s.jsx)("animate",{attributeName:"r",begin:"0s",dur:"1.5s",values:"6;1;2;3;4;5;6",calcMode:"linear",repeatCount:"indefinite"})})]})})}):null}var c=t(20805),d=t(71313);function u(e,n){if("*"===e)return o()({loading:l,loader:()=>t.e(12).then(t.bind(t,30012)),modules:["@theme/NotFound"],webpack:()=>[30012],render(e,n){const t=e.default;return(0,s.jsx)(d.z,{value:{plugin:{name:"native",id:"default"}},children:(0,s.jsx)(t,{...n})})}});const r=a[`${e}-${n}`],u={},p=[],f=[],m=(0,c.Z)(r);return Object.entries(m).forEach((e=>{let[n,t]=e;const r=i[t];r&&(u[n]=r[0],p.push(r[1]),f.push(r[2]))})),o().Map({loading:l,loader:u,modules:p,webpack:()=>f,render(n,t){const o=JSON.parse(JSON.stringify(r));Object.entries(n).forEach((n=>{let[t,r]=n;const a=r.default;if(!a)throw new Error(`The page component at ${e} doesn't have a default export. This makes it impossible to render anything. Consider default-exporting a React component.`);"object"!=typeof a&&"function"!=typeof a||Object.keys(r).filter((e=>"default"!==e)).forEach((e=>{a[e]=r[e]}));let i=o;const s=t.split(".");s.slice(0,-1).forEach((e=>{i=i[e]})),i[s[s.length-1]]=a}));const a=o.__comp;delete o.__comp;const i=o.__context;delete o.__context;const l=o.__props;return delete o.__props,(0,s.jsx)(d.z,{value:i,children:(0,s.jsx)(a,{...o,...l,...t})})}})}const p=[{path:"/format/home/",component:u("/format/home/","8f8"),exact:!0},{path:"/format/status",component:u("/format/status","d6d"),exact:!0},{path:"/format/docs",component:u("/format/docs","2fd"),routes:[{path:"/format/docs",component:u("/format/docs","2d0"),routes:[{path:"/format/docs",component:u("/format/docs","764"),routes:[{path:"/format/docs/category/dereferencing-pointers",component:u("/format/docs/category/dereferencing-pointers","b93"),exact:!0,sidebar:"docsSidebar"},{path:"/format/docs/category/implementation-guides",component:u("/format/docs/category/implementation-guides","1ee"),exact:!0,sidebar:"docsSidebar"},{path:"/format/docs/category/prototype-sketches",component:u("/format/docs/category/prototype-sketches","809"),exact:!0,sidebar:"docsSidebar"},{path:"/format/docs/implementation-guides/pointers/dereference-logic/",component:u("/format/docs/implementation-guides/pointers/dereference-logic/","cb8"),exact:!0,sidebar:"docsSidebar"},{path:"/format/docs/implementation-guides/pointers/dereference-logic/generating-regions",component:u("/format/docs/implementation-guides/pointers/dereference-logic/generating-regions","8e9"),exact:!0,sidebar:"docsSidebar"},{path:"/format/docs/implementation-guides/pointers/dereference-logic/making-regions-concrete",component:u("/format/docs/implementation-guides/pointers/dereference-logic/making-regions-concrete","1e7"),exact:!0,sidebar:"docsSidebar"},{path:"/format/docs/implementation-guides/pointers/dereference-logic/summary",component:u("/format/docs/implementation-guides/pointers/dereference-logic/summary","ba3"),exact:!0,sidebar:"docsSidebar"},{path:"/format/docs/implementation-guides/pointers/evaluating-expressions",component:u("/format/docs/implementation-guides/pointers/evaluating-expressions","ed9"),exact:!0,sidebar:"docsSidebar"},{path:"/format/docs/implementation-guides/pointers/overview",component:u("/format/docs/implementation-guides/pointers/overview","87e"),exact:!0,sidebar:"docsSidebar"},{path:"/format/docs/implementation-guides/pointers/reading-from-regions",component:u("/format/docs/implementation-guides/pointers/reading-from-regions","109"),exact:!0,sidebar:"docsSidebar"},{path:"/format/docs/implementation-guides/pointers/types/",component:u("/format/docs/implementation-guides/pointers/types/","e07"),exact:!0,sidebar:"docsSidebar"},{path:"/format/docs/implementation-guides/pointers/types/cursors",component:u("/format/docs/implementation-guides/pointers/types/cursors","6a3"),exact:!0,sidebar:"docsSidebar"},{path:"/format/docs/implementation-guides/pointers/types/data-and-machines",component:u("/format/docs/implementation-guides/pointers/types/data-and-machines","34a"),exact:!0,sidebar:"docsSidebar"},{path:"/format/docs/implementation-guides/pointers/types/pointer-types",component:u("/format/docs/implementation-guides/pointers/types/pointer-types","fee"),exact:!0,sidebar:"docsSidebar"},{path:"/format/docs/known-challenges",component:u("/format/docs/known-challenges","5aa"),exact:!0,sidebar:"docsSidebar"},{path:"/format/docs/overview",component:u("/format/docs/overview","ff5"),exact:!0,sidebar:"docsSidebar"},{path:"/format/docs/sketches/layout",component:u("/format/docs/sketches/layout","926"),exact:!0,sidebar:"docsSidebar"},{path:"/format/docs/sketches/prototype",component:u("/format/docs/sketches/prototype","9b3"),exact:!0,sidebar:"docsSidebar"}]}]}]},{path:"/format/spec",component:u("/format/spec","eb4"),routes:[{path:"/format/spec",component:u("/format/spec","e98"),routes:[{path:"/format/spec",component:u("/format/spec","f53"),routes:[{path:"/format/spec/category/collections",component:u("/format/spec/category/collections","d7d"),exact:!0,sidebar:"docsSidebar"},{path:"/format/spec/category/complex-types",component:u("/format/spec/category/complex-types","8c2"),exact:!0,sidebar:"docsSidebar"},{path:"/format/spec/category/elementary-types",component:u("/format/spec/category/elementary-types","ed4"),exact:!0,sidebar:"docsSidebar"},{path:"/format/spec/category/ethdebugformatmaterials",component:u("/format/spec/category/ethdebugformatmaterials","649"),exact:!0,sidebar:"docsSidebar"},{path:"/format/spec/category/ethdebugformatpointer",component:u("/format/spec/category/ethdebugformatpointer","583"),exact:!0,sidebar:"docsSidebar"},{path:"/format/spec/category/ethdebugformattype",component:u("/format/spec/category/ethdebugformattype","d15"),exact:!0,sidebar:"docsSidebar"},{path:"/format/spec/category/regions",component:u("/format/spec/category/regions","a79"),exact:!0,sidebar:"docsSidebar"},{path:"/format/spec/materials/compilation",component:u("/format/spec/materials/compilation","d27"),exact:!0,sidebar:"docsSidebar"},{path:"/format/spec/materials/id",component:u("/format/spec/materials/id","672"),exact:!0,sidebar:"docsSidebar"},{path:"/format/spec/materials/overview",component:u("/format/spec/materials/overview","1ec"),exact:!0,sidebar:"docsSidebar"},{path:"/format/spec/materials/source",component:u("/format/spec/materials/source","73e"),exact:!0,sidebar:"docsSidebar"},{path:"/format/spec/materials/source-range",component:u("/format/spec/materials/source-range","1d1"),exact:!0,sidebar:"docsSidebar"},{path:"/format/spec/overview",component:u("/format/spec/overview","d74"),exact:!0,sidebar:"docsSidebar"},{path:"/format/spec/pointer/",component:u("/format/spec/pointer/","ac2"),exact:!0,sidebar:"docsSidebar"},{path:"/format/spec/pointer/collection/",component:u("/format/spec/pointer/collection/","204"),exact:!0,sidebar:"docsSidebar"},{path:"/format/spec/pointer/collection/conditional",component:u("/format/spec/pointer/collection/conditional","f89"),exact:!0,sidebar:"docsSidebar"},{path:"/format/spec/pointer/collection/group",component:u("/format/spec/pointer/collection/group","60f"),exact:!0,sidebar:"docsSidebar"},{path:"/format/spec/pointer/collection/list",component:u("/format/spec/pointer/collection/list","e12"),exact:!0,sidebar:"docsSidebar"},{path:"/format/spec/pointer/collection/scope",component:u("/format/spec/pointer/collection/scope","6af"),exact:!0,sidebar:"docsSidebar"},{path:"/format/spec/pointer/concepts",component:u("/format/spec/pointer/concepts","4f7"),exact:!0,sidebar:"docsSidebar"},{path:"/format/spec/pointer/expression",component:u("/format/spec/pointer/expression","38a"),exact:!0,sidebar:"docsSidebar"},{path:"/format/spec/pointer/overview",component:u("/format/spec/pointer/overview","20e"),exact:!0,sidebar:"docsSidebar"},{path:"/format/spec/pointer/region/",component:u("/format/spec/pointer/region/","a75"),exact:!0,sidebar:"docsSidebar"},{path:"/format/spec/pointer/region/base",component:u("/format/spec/pointer/region/base","2ed"),exact:!0,sidebar:"docsSidebar"},{path:"/format/spec/pointer/region/location/calldata",component:u("/format/spec/pointer/region/location/calldata","352"),exact:!0,sidebar:"docsSidebar"},{path:"/format/spec/pointer/region/location/code",component:u("/format/spec/pointer/region/location/code","bde"),exact:!0,sidebar:"docsSidebar"},{path:"/format/spec/pointer/region/location/memory",component:u("/format/spec/pointer/region/location/memory","d08"),exact:!0,sidebar:"docsSidebar"},{path:"/format/spec/pointer/region/location/returndata",component:u("/format/spec/pointer/region/location/returndata","424"),exact:!0,sidebar:"docsSidebar"},{path:"/format/spec/pointer/region/location/stack",component:u("/format/spec/pointer/region/location/stack","08f"),exact:!0,sidebar:"docsSidebar"},{path:"/format/spec/pointer/region/location/storage",component:u("/format/spec/pointer/region/location/storage","a40"),exact:!0,sidebar:"docsSidebar"},{path:"/format/spec/pointer/region/location/transient",component:u("/format/spec/pointer/region/location/transient","3e8"),exact:!0,sidebar:"docsSidebar"},{path:"/format/spec/pointer/region/scheme/segment",component:u("/format/spec/pointer/region/scheme/segment","acf"),exact:!0,sidebar:"docsSidebar"},{path:"/format/spec/pointer/region/scheme/slice",component:u("/format/spec/pointer/region/scheme/slice","481"),exact:!0,sidebar:"docsSidebar"},{path:"/format/spec/type/",component:u("/format/spec/type/","ff8"),exact:!0,sidebar:"docsSidebar"},{path:"/format/spec/type/base",component:u("/format/spec/type/base","663"),exact:!0,sidebar:"docsSidebar"},{path:"/format/spec/type/complex/alias",component:u("/format/spec/type/complex/alias","4d3"),exact:!0,sidebar:"docsSidebar"},{path:"/format/spec/type/complex/array",component:u("/format/spec/type/complex/array","3bd"),exact:!0,sidebar:"docsSidebar"},{path:"/format/spec/type/complex/function",component:u("/format/spec/type/complex/function","51d"),exact:!0,sidebar:"docsSidebar"},{path:"/format/spec/type/complex/mapping",component:u("/format/spec/type/complex/mapping","23e"),exact:!0,sidebar:"docsSidebar"},{path:"/format/spec/type/complex/struct",component:u("/format/spec/type/complex/struct","75b"),exact:!0,sidebar:"docsSidebar"},{path:"/format/spec/type/complex/tuple",component:u("/format/spec/type/complex/tuple","c0b"),exact:!0,sidebar:"docsSidebar"},{path:"/format/spec/type/concepts",component:u("/format/spec/type/concepts","e7a"),exact:!0,sidebar:"docsSidebar"},{path:"/format/spec/type/elementary/address",component:u("/format/spec/type/elementary/address","5cc"),exact:!0,sidebar:"docsSidebar"},{path:"/format/spec/type/elementary/bool",component:u("/format/spec/type/elementary/bool","fc0"),exact:!0,sidebar:"docsSidebar"},{path:"/format/spec/type/elementary/bytes",component:u("/format/spec/type/elementary/bytes","2b6"),exact:!0,sidebar:"docsSidebar"},{path:"/format/spec/type/elementary/contract",component:u("/format/spec/type/elementary/contract","571"),exact:!0,sidebar:"docsSidebar"},{path:"/format/spec/type/elementary/enum",component:u("/format/spec/type/elementary/enum","cdd"),exact:!0,sidebar:"docsSidebar"},{path:"/format/spec/type/elementary/fixed",component:u("/format/spec/type/elementary/fixed","3d7"),exact:!0,sidebar:"docsSidebar"},{path:"/format/spec/type/elementary/int",component:u("/format/spec/type/elementary/int","09e"),exact:!0,sidebar:"docsSidebar"},{path:"/format/spec/type/elementary/string",component:u("/format/spec/type/elementary/string","c22"),exact:!0,sidebar:"docsSidebar"},{path:"/format/spec/type/elementary/ufixed",component:u("/format/spec/type/elementary/ufixed","c61"),exact:!0,sidebar:"docsSidebar"},{path:"/format/spec/type/elementary/uint",component:u("/format/spec/type/elementary/uint","6ea"),exact:!0,sidebar:"docsSidebar"},{path:"/format/spec/type/overview",component:u("/format/spec/type/overview","101"),exact:!0,sidebar:"docsSidebar"}]}]}]},{path:"/format/",component:u("/format/","610"),exact:!0},{path:"*",component:u("*")}]},14410:(e,n,t)=>{"use strict";t.d(n,{lX:()=>x,q_:()=>_,ob:()=>f,PP:()=>j,Ep:()=>p});var r=t(7896);function o(e){return"/"===e.charAt(0)}function a(e,n){for(var t=n,r=t+1,o=e.length;r<o;t+=1,r+=1)e[t]=e[r];e.pop()}const i=function(e,n){void 0===n&&(n="");var t,r=e&&e.split("/")||[],i=n&&n.split("/")||[],s=e&&o(e),l=n&&o(n),c=s||l;if(e&&o(e)?i=r:r.length&&(i.pop(),i=i.concat(r)),!i.length)return"/";if(i.length){var d=i[i.length-1];t="."===d||".."===d||""===d}else t=!1;for(var u=0,p=i.length;p>=0;p--){var f=i[p];"."===f?a(i,p):".."===f?(a(i,p),u++):u&&(a(i,p),u--)}if(!c)for(;u--;u)i.unshift("..");!c||""===i[0]||i[0]&&o(i[0])||i.unshift("");var m=i.join("/");return t&&"/"!==m.substr(-1)&&(m+="/"),m};var s=t(10362);function l(e){return"/"===e.charAt(0)?e:"/"+e}function c(e){return"/"===e.charAt(0)?e.substr(1):e}function d(e,n){return function(e,n){return 0===e.toLowerCase().indexOf(n.toLowerCase())&&-1!=="/?#".indexOf(e.charAt(n.length))}(e,n)?e.substr(n.length):e}function u(e){return"/"===e.charAt(e.length-1)?e.slice(0,-1):e}function p(e){var n=e.pathname,t=e.search,r=e.hash,o=n||"/";return t&&"?"!==t&&(o+="?"===t.charAt(0)?t:"?"+t),r&&"#"!==r&&(o+="#"===r.charAt(0)?r:"#"+r),o}function f(e,n,t,o){var a;"string"==typeof e?(a=function(e){var n=e||"/",t="",r="",o=n.indexOf("#");-1!==o&&(r=n.substr(o),n=n.substr(0,o));var a=n.indexOf("?");return-1!==a&&(t=n.substr(a),n=n.substr(0,a)),{pathname:n,search:"?"===t?"":t,hash:"#"===r?"":r}}(e),a.state=n):(void 0===(a=(0,r.Z)({},e)).pathname&&(a.pathname=""),a.search?"?"!==a.search.charAt(0)&&(a.search="?"+a.search):a.search="",a.hash?"#"!==a.hash.charAt(0)&&(a.hash="#"+a.hash):a.hash="",void 0!==n&&void 0===a.state&&(a.state=n));try{a.pathname=decodeURI(a.pathname)}catch(s){throw s instanceof URIError?new URIError('Pathname "'+a.pathname+'" could not be decoded. This is likely caused by an invalid percent-encoding.'):s}return t&&(a.key=t),o?a.pathname?"/"!==a.pathname.charAt(0)&&(a.pathname=i(a.pathname,o.pathname)):a.pathname=o.pathname:a.pathname||(a.pathname="/"),a}function m(){var e=null;var n=[];return{setPrompt:function(n){return e=n,function(){e===n&&(e=null)}},confirmTransitionTo:function(n,t,r,o){if(null!=e){var a="function"==typeof e?e(n,t):e;"string"==typeof a?"function"==typeof r?r(a,o):o(!0):o(!1!==a)}else o(!0)},appendListener:function(e){var t=!0;function r(){t&&e.apply(void 0,arguments)}return n.push(r),function(){t=!1,n=n.filter((function(e){return e!==r}))}},notifyListeners:function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];n.forEach((function(e){return e.apply(void 0,t)}))}}}var y=!("undefined"==typeof window||!window.document||!window.document.createElement);function h(e,n){n(window.confirm(e))}var g="popstate",b="hashchange";function v(){try{return window.history.state||{}}catch(e){return{}}}function x(e){void 0===e&&(e={}),y||(0,s.Z)(!1);var n,t=window.history,o=(-1===(n=window.navigator.userAgent).indexOf("Android 2.")&&-1===n.indexOf("Android 4.0")||-1===n.indexOf("Mobile Safari")||-1!==n.indexOf("Chrome")||-1!==n.indexOf("Windows Phone"))&&window.history&&"pushState"in window.history,a=!(-1===window.navigator.userAgent.indexOf("Trident")),i=e,c=i.forceRefresh,x=void 0!==c&&c,w=i.getUserConfirmation,k=void 0===w?h:w,S=i.keyLength,E=void 0===S?6:S,C=e.basename?u(l(e.basename)):"";function _(e){var n=e||{},t=n.key,r=n.state,o=window.location,a=o.pathname+o.search+o.hash;return C&&(a=d(a,C)),f(a,r,t)}function P(){return Math.random().toString(36).substr(2,E)}var j=m();function T(e){(0,r.Z)(B,e),B.length=t.length,j.notifyListeners(B.location,B.action)}function O(e){(function(e){return void 0===e.state&&-1===navigator.userAgent.indexOf("CriOS")})(e)||N(_(e.state))}function $(){N(_(v()))}var R=!1;function N(e){if(R)R=!1,T();else{j.confirmTransitionTo(e,"POP",k,(function(n){n?T({action:"POP",location:e}):function(e){var n=B.location,t=L.indexOf(n.key);-1===t&&(t=0);var r=L.indexOf(e.key);-1===r&&(r=0);var o=t-r;o&&(R=!0,I(o))}(e)}))}}var A=_(v()),L=[A.key];function D(e){return C+p(e)}function I(e){t.go(e)}var M=0;function F(e){1===(M+=e)&&1===e?(window.addEventListener(g,O),a&&window.addEventListener(b,$)):0===M&&(window.removeEventListener(g,O),a&&window.removeEventListener(b,$))}var z=!1;var B={length:t.length,action:"POP",location:A,createHref:D,push:function(e,n){var r="PUSH",a=f(e,n,P(),B.location);j.confirmTransitionTo(a,r,k,(function(e){if(e){var n=D(a),i=a.key,s=a.state;if(o)if(t.pushState({key:i,state:s},null,n),x)window.location.href=n;else{var l=L.indexOf(B.location.key),c=L.slice(0,l+1);c.push(a.key),L=c,T({action:r,location:a})}else window.location.href=n}}))},replace:function(e,n){var r="REPLACE",a=f(e,n,P(),B.location);j.confirmTransitionTo(a,r,k,(function(e){if(e){var n=D(a),i=a.key,s=a.state;if(o)if(t.replaceState({key:i,state:s},null,n),x)window.location.replace(n);else{var l=L.indexOf(B.location.key);-1!==l&&(L[l]=a.key),T({action:r,location:a})}else window.location.replace(n)}}))},go:I,goBack:function(){I(-1)},goForward:function(){I(1)},block:function(e){void 0===e&&(e=!1);var n=j.setPrompt(e);return z||(F(1),z=!0),function(){return z&&(z=!1,F(-1)),n()}},listen:function(e){var n=j.appendListener(e);return F(1),function(){F(-1),n()}}};return B}var w="hashchange",k={hashbang:{encodePath:function(e){return"!"===e.charAt(0)?e:"!/"+c(e)},decodePath:function(e){return"!"===e.charAt(0)?e.substr(1):e}},noslash:{encodePath:c,decodePath:l},slash:{encodePath:l,decodePath:l}};function S(e){var n=e.indexOf("#");return-1===n?e:e.slice(0,n)}function E(){var e=window.location.href,n=e.indexOf("#");return-1===n?"":e.substring(n+1)}function C(e){window.location.replace(S(window.location.href)+"#"+e)}function _(e){void 0===e&&(e={}),y||(0,s.Z)(!1);var n=window.history,t=(window.navigator.userAgent.indexOf("Firefox"),e),o=t.getUserConfirmation,a=void 0===o?h:o,i=t.hashType,c=void 0===i?"slash":i,g=e.basename?u(l(e.basename)):"",b=k[c],v=b.encodePath,x=b.decodePath;function _(){var e=x(E());return g&&(e=d(e,g)),f(e)}var P=m();function j(e){(0,r.Z)(z,e),z.length=n.length,P.notifyListeners(z.location,z.action)}var T=!1,O=null;function $(){var e,n,t=E(),r=v(t);if(t!==r)C(r);else{var o=_(),i=z.location;if(!T&&(n=o,(e=i).pathname===n.pathname&&e.search===n.search&&e.hash===n.hash))return;if(O===p(o))return;O=null,function(e){if(T)T=!1,j();else{var n="POP";P.confirmTransitionTo(e,n,a,(function(t){t?j({action:n,location:e}):function(e){var n=z.location,t=L.lastIndexOf(p(n));-1===t&&(t=0);var r=L.lastIndexOf(p(e));-1===r&&(r=0);var o=t-r;o&&(T=!0,D(o))}(e)}))}}(o)}}var R=E(),N=v(R);R!==N&&C(N);var A=_(),L=[p(A)];function D(e){n.go(e)}var I=0;function M(e){1===(I+=e)&&1===e?window.addEventListener(w,$):0===I&&window.removeEventListener(w,$)}var F=!1;var z={length:n.length,action:"POP",location:A,createHref:function(e){var n=document.querySelector("base"),t="";return n&&n.getAttribute("href")&&(t=S(window.location.href)),t+"#"+v(g+p(e))},push:function(e,n){var t="PUSH",r=f(e,void 0,void 0,z.location);P.confirmTransitionTo(r,t,a,(function(e){if(e){var n=p(r),o=v(g+n);if(E()!==o){O=n,function(e){window.location.hash=e}(o);var a=L.lastIndexOf(p(z.location)),i=L.slice(0,a+1);i.push(n),L=i,j({action:t,location:r})}else j()}}))},replace:function(e,n){var t="REPLACE",r=f(e,void 0,void 0,z.location);P.confirmTransitionTo(r,t,a,(function(e){if(e){var n=p(r),o=v(g+n);E()!==o&&(O=n,C(o));var a=L.indexOf(p(z.location));-1!==a&&(L[a]=n),j({action:t,location:r})}}))},go:D,goBack:function(){D(-1)},goForward:function(){D(1)},block:function(e){void 0===e&&(e=!1);var n=P.setPrompt(e);return F||(M(1),F=!0),function(){return F&&(F=!1,M(-1)),n()}},listen:function(e){var n=P.appendListener(e);return M(1),function(){M(-1),n()}}};return z}function P(e,n,t){return Math.min(Math.max(e,n),t)}function j(e){void 0===e&&(e={});var n=e,t=n.getUserConfirmation,o=n.initialEntries,a=void 0===o?["/"]:o,i=n.initialIndex,s=void 0===i?0:i,l=n.keyLength,c=void 0===l?6:l,d=m();function u(e){(0,r.Z)(x,e),x.length=x.entries.length,d.notifyListeners(x.location,x.action)}function y(){return Math.random().toString(36).substr(2,c)}var h=P(s,0,a.length-1),g=a.map((function(e){return f(e,void 0,"string"==typeof e?y():e.key||y())})),b=p;function v(e){var n=P(x.index+e,0,x.entries.length-1),r=x.entries[n];d.confirmTransitionTo(r,"POP",t,(function(e){e?u({action:"POP",location:r,index:n}):u()}))}var x={length:g.length,action:"POP",location:g[h],index:h,entries:g,createHref:b,push:function(e,n){var r="PUSH",o=f(e,n,y(),x.location);d.confirmTransitionTo(o,r,t,(function(e){if(e){var n=x.index+1,t=x.entries.slice(0);t.length>n?t.splice(n,t.length-n,o):t.push(o),u({action:r,location:o,index:n,entries:t})}}))},replace:function(e,n){var r="REPLACE",o=f(e,n,y(),x.location);d.confirmTransitionTo(o,r,t,(function(e){e&&(x.entries[x.index]=o,u({action:r,location:o}))}))},go:v,goBack:function(){v(-1)},goForward:function(){v(1)},canGo:function(e){var n=x.index+e;return n>=0&&n<x.entries.length},block:function(e){return void 0===e&&(e=!1),d.setPrompt(e)},listen:function(e){return d.appendListener(e)}};return x}},73463:(e,n,t)=>{"use strict";var r=t(48570),o={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},a={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},i={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},s={};function l(e){return r.isMemo(e)?i:s[e.$$typeof]||o}s[r.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},s[r.Memo]=i;var c=Object.defineProperty,d=Object.getOwnPropertyNames,u=Object.getOwnPropertySymbols,p=Object.getOwnPropertyDescriptor,f=Object.getPrototypeOf,m=Object.prototype;e.exports=function e(n,t,r){if("string"!=typeof t){if(m){var o=f(t);o&&o!==m&&e(n,o,r)}var i=d(t);u&&(i=i.concat(u(t)));for(var s=l(n),y=l(t),h=0;h<i.length;++h){var g=i[h];if(!(a[g]||r&&r[g]||y&&y[g]||s&&s[g])){var b=p(t,g);try{c(n,g,b)}catch(v){}}}}return n}},47677:e=>{"use strict";e.exports=function(e,n,t,r,o,a,i,s){if(!e){var l;if(void 0===n)l=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var c=[t,r,o,a,i,s],d=0;(l=new Error(n.replace(/%s/g,(function(){return c[d++]})))).name="Invariant Violation"}throw l.framesToPop=1,l}}},77906:e=>{e.exports=Array.isArray||function(e){return"[object Array]"==Object.prototype.toString.call(e)}},55749:(e,n,t)=>{"use strict";t.r(n)},1964:(e,n,t)=>{"use strict";t.r(n)},92521:function(e,n,t){var r,o;r=function(){var e,n,t={version:"0.2.0"},r=t.settings={minimum:.08,easing:"ease",positionUsing:"",speed:200,trickle:!0,trickleRate:.02,trickleSpeed:800,showSpinner:!0,barSelector:'[role="bar"]',spinnerSelector:'[role="spinner"]',parent:"body",template:'<div class="bar" role="bar"><div class="peg"></div></div><div class="spinner" role="spinner"><div class="spinner-icon"></div></div>'};function o(e,n,t){return e<n?n:e>t?t:e}function a(e){return 100*(-1+e)}function i(e,n,t){var o;return(o="translate3d"===r.positionUsing?{transform:"translate3d("+a(e)+"%,0,0)"}:"translate"===r.positionUsing?{transform:"translate("+a(e)+"%,0)"}:{"margin-left":a(e)+"%"}).transition="all "+n+"ms "+t,o}t.configure=function(e){var n,t;for(n in e)void 0!==(t=e[n])&&e.hasOwnProperty(n)&&(r[n]=t);return this},t.status=null,t.set=function(e){var n=t.isStarted();e=o(e,r.minimum,1),t.status=1===e?null:e;var a=t.render(!n),c=a.querySelector(r.barSelector),d=r.speed,u=r.easing;return a.offsetWidth,s((function(n){""===r.positionUsing&&(r.positionUsing=t.getPositioningCSS()),l(c,i(e,d,u)),1===e?(l(a,{transition:"none",opacity:1}),a.offsetWidth,setTimeout((function(){l(a,{transition:"all "+d+"ms linear",opacity:0}),setTimeout((function(){t.remove(),n()}),d)}),d)):setTimeout(n,d)})),this},t.isStarted=function(){return"number"==typeof t.status},t.start=function(){t.status||t.set(0);var e=function(){setTimeout((function(){t.status&&(t.trickle(),e())}),r.trickleSpeed)};return r.trickle&&e(),this},t.done=function(e){return e||t.status?t.inc(.3+.5*Math.random()).set(1):this},t.inc=function(e){var n=t.status;return n?("number"!=typeof e&&(e=(1-n)*o(Math.random()*n,.1,.95)),n=o(n+e,0,.994),t.set(n)):t.start()},t.trickle=function(){return t.inc(Math.random()*r.trickleRate)},e=0,n=0,t.promise=function(r){return r&&"resolved"!==r.state()?(0===n&&t.start(),e++,n++,r.always((function(){0==--n?(e=0,t.done()):t.set((e-n)/e)})),this):this},t.render=function(e){if(t.isRendered())return document.getElementById("nprogress");d(document.documentElement,"nprogress-busy");var n=document.createElement("div");n.id="nprogress",n.innerHTML=r.template;var o,i=n.querySelector(r.barSelector),s=e?"-100":a(t.status||0),c=document.querySelector(r.parent);return l(i,{transition:"all 0 linear",transform:"translate3d("+s+"%,0,0)"}),r.showSpinner||(o=n.querySelector(r.spinnerSelector))&&f(o),c!=document.body&&d(c,"nprogress-custom-parent"),c.appendChild(n),n},t.remove=function(){u(document.documentElement,"nprogress-busy"),u(document.querySelector(r.parent),"nprogress-custom-parent");var e=document.getElementById("nprogress");e&&f(e)},t.isRendered=function(){return!!document.getElementById("nprogress")},t.getPositioningCSS=function(){var e=document.body.style,n="WebkitTransform"in e?"Webkit":"MozTransform"in e?"Moz":"msTransform"in e?"ms":"OTransform"in e?"O":"";return n+"Perspective"in e?"translate3d":n+"Transform"in e?"translate":"margin"};var s=function(){var e=[];function n(){var t=e.shift();t&&t(n)}return function(t){e.push(t),1==e.length&&n()}}(),l=function(){var e=["Webkit","O","Moz","ms"],n={};function t(e){return e.replace(/^-ms-/,"ms-").replace(/-([\da-z])/gi,(function(e,n){return n.toUpperCase()}))}function r(n){var t=document.body.style;if(n in t)return n;for(var r,o=e.length,a=n.charAt(0).toUpperCase()+n.slice(1);o--;)if((r=e[o]+a)in t)return r;return n}function o(e){return e=t(e),n[e]||(n[e]=r(e))}function a(e,n,t){n=o(n),e.style[n]=t}return function(e,n){var t,r,o=arguments;if(2==o.length)for(t in n)void 0!==(r=n[t])&&n.hasOwnProperty(t)&&a(e,t,r);else a(e,o[1],o[2])}}();function c(e,n){return("string"==typeof e?e:p(e)).indexOf(" "+n+" ")>=0}function d(e,n){var t=p(e),r=t+n;c(t,n)||(e.className=r.substring(1))}function u(e,n){var t,r=p(e);c(e,n)&&(t=r.replace(" "+n+" "," "),e.className=t.substring(1,t.length-1))}function p(e){return(" "+(e.className||"")+" ").replace(/\s+/gi," ")}function f(e){e&&e.parentNode&&e.parentNode.removeChild(e)}return t},void 0===(o="function"==typeof r?r.call(n,t,n,e):r)||(e.exports=o)},62363:()=>{Prism.languages.json={property:{pattern:/(^|[^\\])"(?:\\.|[^\\"\r\n])*"(?=\s*:)/,lookbehind:!0,greedy:!0},string:{pattern:/(^|[^\\])"(?:\\.|[^\\"\r\n])*"(?!\s*:)/,lookbehind:!0,greedy:!0},comment:{pattern:/\/\/.*|\/\*[\s\S]*?(?:\*\/|$)/,greedy:!0},number:/-?\b\d+(?:\.\d+)?(?:e[+-]?\d+)?\b/i,punctuation:/[{}[\],]/,operator:/:/,boolean:/\b(?:false|true)\b/,null:{pattern:/\bnull\b/,alias:"keyword"}},Prism.languages.webmanifest=Prism.languages.json},23502:()=>{!function(e){function n(e,n){return"___"+e.toUpperCase()+n+"___"}Object.defineProperties(e.languages["markup-templating"]={},{buildPlaceholders:{value:function(t,r,o,a){if(t.language===r){var i=t.tokenStack=[];t.code=t.code.replace(o,(function(e){if("function"==typeof a&&!a(e))return e;for(var o,s=i.length;-1!==t.code.indexOf(o=n(r,s));)++s;return i[s]=e,o})),t.grammar=e.languages.markup}}},tokenizePlaceholders:{value:function(t,r){if(t.language===r&&t.tokenStack){t.grammar=e.languages[r];var o=0,a=Object.keys(t.tokenStack);!function i(s){for(var l=0;l<s.length&&!(o>=a.length);l++){var c=s[l];if("string"==typeof c||c.content&&"string"==typeof c.content){var d=a[o],u=t.tokenStack[d],p="string"==typeof c?c:c.content,f=n(r,d),m=p.indexOf(f);if(m>-1){++o;var y=p.substring(0,m),h=new e.Token(r,e.tokenize(u,t.grammar),"language-"+r,u),g=p.substring(m+f.length),b=[];y&&b.push.apply(b,i([y])),b.push(h),g&&b.push.apply(b,i([g])),"string"==typeof c?s.splice.apply(s,[l,1].concat(b)):c.content=b}}else c.content&&i(c.content)}return s}(t.tokens)}}}})}(Prism)},97861:(e,n,t)=>{var r={"./prism-json":62363};function o(e){var n=a(e);return t(n)}function a(e){if(!t.o(r,e)){var n=new Error("Cannot find module '"+e+"'");throw n.code="MODULE_NOT_FOUND",n}return r[e]}o.keys=function(){return Object.keys(r)},o.resolve=a,e.exports=o,o.id=97861},68262:(e,n,t)=>{"use strict";var r=t(23586);function o(){}function a(){}a.resetWarningCache=o,e.exports=function(){function e(e,n,t,o,a,i){if(i!==r){var s=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw s.name="Invariant Violation",s}}function n(){return e}e.isRequired=e;var t={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:n,element:e,elementType:e,instanceOf:n,node:e,objectOf:n,oneOf:n,oneOfType:n,shape:n,exact:n,checkPropTypes:a,resetWarningCache:o};return t.PropTypes=t,t}},13980:(e,n,t)=>{e.exports=t(68262)()},23586:e=>{"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},52967:(e,n,t)=>{"use strict";var r=t(2784),o=t(14616);function a(e){for(var n="https://reactjs.org/docs/error-decoder.html?invariant="+e,t=1;t<arguments.length;t++)n+="&args[]="+encodeURIComponent(arguments[t]);return"Minified React error #"+e+"; visit "+n+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var i=new Set,s={};function l(e,n){c(e,n),c(e+"Capture",n)}function c(e,n){for(s[e]=n,e=0;e<n.length;e++)i.add(n[e])}var d=!("undefined"==typeof window||void 0===window.document||void 0===window.document.createElement),u=Object.prototype.hasOwnProperty,p=/^[: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]*$/,f={},m={};function y(e,n,t,r,o,a,i){this.acceptsBooleans=2===n||3===n||4===n,this.attributeName=r,this.attributeNamespace=o,this.mustUseProperty=t,this.propertyName=e,this.type=n,this.sanitizeURL=a,this.removeEmptyString=i}var h={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach((function(e){h[e]=new y(e,0,!1,e,null,!1,!1)})),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach((function(e){var n=e[0];h[n]=new y(n,1,!1,e[1],null,!1,!1)})),["contentEditable","draggable","spellCheck","value"].forEach((function(e){h[e]=new y(e,2,!1,e.toLowerCase(),null,!1,!1)})),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach((function(e){h[e]=new y(e,2,!1,e,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(e){h[e]=new y(e,3,!1,e.toLowerCase(),null,!1,!1)})),["checked","multiple","muted","selected"].forEach((function(e){h[e]=new y(e,3,!0,e,null,!1,!1)})),["capture","download"].forEach((function(e){h[e]=new y(e,4,!1,e,null,!1,!1)})),["cols","rows","size","span"].forEach((function(e){h[e]=new y(e,6,!1,e,null,!1,!1)})),["rowSpan","start"].forEach((function(e){h[e]=new y(e,5,!1,e.toLowerCase(),null,!1,!1)}));var g=/[\-:]([a-z])/g;function b(e){return e[1].toUpperCase()}function v(e,n,t,r){var o=h.hasOwnProperty(n)?h[n]:null;(null!==o?0!==o.type:r||!(2<n.length)||"o"!==n[0]&&"O"!==n[0]||"n"!==n[1]&&"N"!==n[1])&&(function(e,n,t,r){if(null==n||function(e,n,t,r){if(null!==t&&0===t.type)return!1;switch(typeof n){case"function":case"symbol":return!0;case"boolean":return!r&&(null!==t?!t.acceptsBooleans:"data-"!==(e=e.toLowerCase().slice(0,5))&&"aria-"!==e);default:return!1}}(e,n,t,r))return!0;if(r)return!1;if(null!==t)switch(t.type){case 3:return!n;case 4:return!1===n;case 5:return isNaN(n);case 6:return isNaN(n)||1>n}return!1}(n,t,o,r)&&(t=null),r||null===o?function(e){return!!u.call(m,e)||!u.call(f,e)&&(p.test(e)?m[e]=!0:(f[e]=!0,!1))}(n)&&(null===t?e.removeAttribute(n):e.setAttribute(n,""+t)):o.mustUseProperty?e[o.propertyName]=null===t?3!==o.type&&"":t:(n=o.attributeName,r=o.attributeNamespace,null===t?e.removeAttribute(n):(t=3===(o=o.type)||4===o&&!0===t?"":""+t,r?e.setAttributeNS(r,n,t):e.setAttribute(n,t))))}"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(e){var n=e.replace(g,b);h[n]=new y(n,1,!1,e,null,!1,!1)})),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach((function(e){var n=e.replace(g,b);h[n]=new y(n,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)})),["xml:base","xml:lang","xml:space"].forEach((function(e){var n=e.replace(g,b);h[n]=new y(n,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)})),["tabIndex","crossOrigin"].forEach((function(e){h[e]=new y(e,1,!1,e.toLowerCase(),null,!1,!1)})),h.xlinkHref=new y("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach((function(e){h[e]=new y(e,1,!1,e.toLowerCase(),null,!0,!0)}));var x=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,w=Symbol.for("react.element"),k=Symbol.for("react.portal"),S=Symbol.for("react.fragment"),E=Symbol.for("react.strict_mode"),C=Symbol.for("react.profiler"),_=Symbol.for("react.provider"),P=Symbol.for("react.context"),j=Symbol.for("react.forward_ref"),T=Symbol.for("react.suspense"),O=Symbol.for("react.suspense_list"),$=Symbol.for("react.memo"),R=Symbol.for("react.lazy");Symbol.for("react.scope"),Symbol.for("react.debug_trace_mode");var N=Symbol.for("react.offscreen");Symbol.for("react.legacy_hidden"),Symbol.for("react.cache"),Symbol.for("react.tracing_marker");var A=Symbol.iterator;function L(e){return null===e||"object"!=typeof e?null:"function"==typeof(e=A&&e[A]||e["@@iterator"])?e:null}var D,I=Object.assign;function M(e){if(void 0===D)try{throw Error()}catch(t){var n=t.stack.trim().match(/\n( *(at )?)/);D=n&&n[1]||""}return"\n"+D+e}var F=!1;function z(e,n){if(!e||F)return"";F=!0;var t=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(n)if(n=function(){throw Error()},Object.defineProperty(n.prototype,"props",{set:function(){throw Error()}}),"object"==typeof Reflect&&Reflect.construct){try{Reflect.construct(n,[])}catch(c){var r=c}Reflect.construct(e,[],n)}else{try{n.call()}catch(c){r=c}e.call(n.prototype)}else{try{throw Error()}catch(c){r=c}e()}}catch(c){if(c&&r&&"string"==typeof c.stack){for(var o=c.stack.split("\n"),a=r.stack.split("\n"),i=o.length-1,s=a.length-1;1<=i&&0<=s&&o[i]!==a[s];)s--;for(;1<=i&&0<=s;i--,s--)if(o[i]!==a[s]){if(1!==i||1!==s)do{if(i--,0>--s||o[i]!==a[s]){var l="\n"+o[i].replace(" at new "," at ");return e.displayName&&l.includes("<anonymous>")&&(l=l.replace("<anonymous>",e.displayName)),l}}while(1<=i&&0<=s);break}}}finally{F=!1,Error.prepareStackTrace=t}return(e=e?e.displayName||e.name:"")?M(e):""}function B(e){switch(e.tag){case 5:return M(e.type);case 16:return M("Lazy");case 13:return M("Suspense");case 19:return M("SuspenseList");case 0:case 2:case 15:return e=z(e.type,!1);case 11:return e=z(e.type.render,!1);case 1:return e=z(e.type,!0);default:return""}}function U(e){if(null==e)return null;if("function"==typeof e)return e.displayName||e.name||null;if("string"==typeof e)return e;switch(e){case S:return"Fragment";case k:return"Portal";case C:return"Profiler";case E:return"StrictMode";case T:return"Suspense";case O:return"SuspenseList"}if("object"==typeof e)switch(e.$$typeof){case P:return(e.displayName||"Context")+".Consumer";case _:return(e._context.displayName||"Context")+".Provider";case j:var n=e.render;return(e=e.displayName)||(e=""!==(e=n.displayName||n.name||"")?"ForwardRef("+e+")":"ForwardRef"),e;case $:return null!==(n=e.displayName||null)?n:U(e.type)||"Memo";case R:n=e._payload,e=e._init;try{return U(e(n))}catch(t){}}return null}function H(e){var n=e.type;switch(e.tag){case 24:return"Cache";case 9:return(n.displayName||"Context")+".Consumer";case 10:return(n._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return e=(e=n.render).displayName||e.name||"",n.displayName||(""!==e?"ForwardRef("+e+")":"ForwardRef");case 7:return"Fragment";case 5:return n;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return U(n);case 8:return n===E?"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("function"==typeof n)return n.displayName||n.name||null;if("string"==typeof n)return n}return null}function q(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":case"object":return e;default:return""}}function V(e){var n=e.type;return(e=e.nodeName)&&"input"===e.toLowerCase()&&("checkbox"===n||"radio"===n)}function Z(e){e._valueTracker||(e._valueTracker=function(e){var n=V(e)?"checked":"value",t=Object.getOwnPropertyDescriptor(e.constructor.prototype,n),r=""+e[n];if(!e.hasOwnProperty(n)&&void 0!==t&&"function"==typeof t.get&&"function"==typeof t.set){var o=t.get,a=t.set;return Object.defineProperty(e,n,{configurable:!0,get:function(){return o.call(this)},set:function(e){r=""+e,a.call(this,e)}}),Object.defineProperty(e,n,{enumerable:t.enumerable}),{getValue:function(){return r},setValue:function(e){r=""+e},stopTracking:function(){e._valueTracker=null,delete e[n]}}}}(e))}function W(e){if(!e)return!1;var n=e._valueTracker;if(!n)return!0;var t=n.getValue(),r="";return e&&(r=V(e)?e.checked?"true":"false":e.value),(e=r)!==t&&(n.setValue(e),!0)}function G(e){if(void 0===(e=e||("undefined"!=typeof document?document:void 0)))return null;try{return e.activeElement||e.body}catch(n){return e.body}}function K(e,n){var t=n.checked;return I({},n,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:null!=t?t:e._wrapperState.initialChecked})}function Y(e,n){var t=null==n.defaultValue?"":n.defaultValue,r=null!=n.checked?n.checked:n.defaultChecked;t=q(null!=n.value?n.value:t),e._wrapperState={initialChecked:r,initialValue:t,controlled:"checkbox"===n.type||"radio"===n.type?null!=n.checked:null!=n.value}}function Q(e,n){null!=(n=n.checked)&&v(e,"checked",n,!1)}function J(e,n){Q(e,n);var t=q(n.value),r=n.type;if(null!=t)"number"===r?(0===t&&""===e.value||e.value!=t)&&(e.value=""+t):e.value!==""+t&&(e.value=""+t);else if("submit"===r||"reset"===r)return void e.removeAttribute("value");n.hasOwnProperty("value")?ee(e,n.type,t):n.hasOwnProperty("defaultValue")&&ee(e,n.type,q(n.defaultValue)),null==n.checked&&null!=n.defaultChecked&&(e.defaultChecked=!!n.defaultChecked)}function X(e,n,t){if(n.hasOwnProperty("value")||n.hasOwnProperty("defaultValue")){var r=n.type;if(!("submit"!==r&&"reset"!==r||void 0!==n.value&&null!==n.value))return;n=""+e._wrapperState.initialValue,t||n===e.value||(e.value=n),e.defaultValue=n}""!==(t=e.name)&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,""!==t&&(e.name=t)}function ee(e,n,t){"number"===n&&G(e.ownerDocument)===e||(null==t?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+t&&(e.defaultValue=""+t))}var ne=Array.isArray;function te(e,n,t,r){if(e=e.options,n){n={};for(var o=0;o<t.length;o++)n["$"+t[o]]=!0;for(t=0;t<e.length;t++)o=n.hasOwnProperty("$"+e[t].value),e[t].selected!==o&&(e[t].selected=o),o&&r&&(e[t].defaultSelected=!0)}else{for(t=""+q(t),n=null,o=0;o<e.length;o++){if(e[o].value===t)return e[o].selected=!0,void(r&&(e[o].defaultSelected=!0));null!==n||e[o].disabled||(n=e[o])}null!==n&&(n.selected=!0)}}function re(e,n){if(null!=n.dangerouslySetInnerHTML)throw Error(a(91));return I({},n,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function oe(e,n){var t=n.value;if(null==t){if(t=n.children,n=n.defaultValue,null!=t){if(null!=n)throw Error(a(92));if(ne(t)){if(1<t.length)throw Error(a(93));t=t[0]}n=t}null==n&&(n=""),t=n}e._wrapperState={initialValue:q(t)}}function ae(e,n){var t=q(n.value),r=q(n.defaultValue);null!=t&&((t=""+t)!==e.value&&(e.value=t),null==n.defaultValue&&e.defaultValue!==t&&(e.defaultValue=t)),null!=r&&(e.defaultValue=""+r)}function ie(e){var n=e.textContent;n===e._wrapperState.initialValue&&""!==n&&null!==n&&(e.value=n)}function se(e){switch(e){case"svg":return"http://www.w3.org/2000/svg";case"math":return"http://www.w3.org/1998/Math/MathML";default:return"http://www.w3.org/1999/xhtml"}}function le(e,n){return null==e||"http://www.w3.org/1999/xhtml"===e?se(n):"http://www.w3.org/2000/svg"===e&&"foreignObject"===n?"http://www.w3.org/1999/xhtml":e}var ce,de,ue=(de=function(e,n){if("http://www.w3.org/2000/svg"!==e.namespaceURI||"innerHTML"in e)e.innerHTML=n;else{for((ce=ce||document.createElement("div")).innerHTML="<svg>"+n.valueOf().toString()+"</svg>",n=ce.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;n.firstChild;)e.appendChild(n.firstChild)}},"undefined"!=typeof MSApp&&MSApp.execUnsafeLocalFunction?function(e,n,t,r){MSApp.execUnsafeLocalFunction((function(){return de(e,n)}))}:de);function pe(e,n){if(n){var t=e.firstChild;if(t&&t===e.lastChild&&3===t.nodeType)return void(t.nodeValue=n)}e.textContent=n}var fe={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},me=["Webkit","ms","Moz","O"];function ye(e,n,t){return null==n||"boolean"==typeof n||""===n?"":t||"number"!=typeof n||0===n||fe.hasOwnProperty(e)&&fe[e]?(""+n).trim():n+"px"}function he(e,n){for(var t in e=e.style,n)if(n.hasOwnProperty(t)){var r=0===t.indexOf("--"),o=ye(t,n[t],r);"float"===t&&(t="cssFloat"),r?e.setProperty(t,o):e[t]=o}}Object.keys(fe).forEach((function(e){me.forEach((function(n){n=n+e.charAt(0).toUpperCase()+e.substring(1),fe[n]=fe[e]}))}));var ge=I({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 be(e,n){if(n){if(ge[e]&&(null!=n.children||null!=n.dangerouslySetInnerHTML))throw Error(a(137,e));if(null!=n.dangerouslySetInnerHTML){if(null!=n.children)throw Error(a(60));if("object"!=typeof n.dangerouslySetInnerHTML||!("__html"in n.dangerouslySetInnerHTML))throw Error(a(61))}if(null!=n.style&&"object"!=typeof n.style)throw Error(a(62))}}function ve(e,n){if(-1===e.indexOf("-"))return"string"==typeof n.is;switch(e){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 xe=null;function we(e){return(e=e.target||e.srcElement||window).correspondingUseElement&&(e=e.correspondingUseElement),3===e.nodeType?e.parentNode:e}var ke=null,Se=null,Ee=null;function Ce(e){if(e=xo(e)){if("function"!=typeof ke)throw Error(a(280));var n=e.stateNode;n&&(n=ko(n),ke(e.stateNode,e.type,n))}}function _e(e){Se?Ee?Ee.push(e):Ee=[e]:Se=e}function Pe(){if(Se){var e=Se,n=Ee;if(Ee=Se=null,Ce(e),n)for(e=0;e<n.length;e++)Ce(n[e])}}function je(e,n){return e(n)}function Te(){}var Oe=!1;function $e(e,n,t){if(Oe)return e(n,t);Oe=!0;try{return je(e,n,t)}finally{Oe=!1,(null!==Se||null!==Ee)&&(Te(),Pe())}}function Re(e,n){var t=e.stateNode;if(null===t)return null;var r=ko(t);if(null===r)return null;t=r[n];e:switch(n){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(r=!r.disabled)||(r=!("button"===(e=e.type)||"input"===e||"select"===e||"textarea"===e)),e=!r;break e;default:e=!1}if(e)return null;if(t&&"function"!=typeof t)throw Error(a(231,n,typeof t));return t}var Ne=!1;if(d)try{var Ae={};Object.defineProperty(Ae,"passive",{get:function(){Ne=!0}}),window.addEventListener("test",Ae,Ae),window.removeEventListener("test",Ae,Ae)}catch(de){Ne=!1}function Le(e,n,t,r,o,a,i,s,l){var c=Array.prototype.slice.call(arguments,3);try{n.apply(t,c)}catch(d){this.onError(d)}}var De=!1,Ie=null,Me=!1,Fe=null,ze={onError:function(e){De=!0,Ie=e}};function Be(e,n,t,r,o,a,i,s,l){De=!1,Ie=null,Le.apply(ze,arguments)}function Ue(e){var n=e,t=e;if(e.alternate)for(;n.return;)n=n.return;else{e=n;do{0!=(4098&(n=e).flags)&&(t=n.return),e=n.return}while(e)}return 3===n.tag?t:null}function He(e){if(13===e.tag){var n=e.memoizedState;if(null===n&&(null!==(e=e.alternate)&&(n=e.memoizedState)),null!==n)return n.dehydrated}return null}function qe(e){if(Ue(e)!==e)throw Error(a(188))}function Ve(e){return null!==(e=function(e){var n=e.alternate;if(!n){if(null===(n=Ue(e)))throw Error(a(188));return n!==e?null:e}for(var t=e,r=n;;){var o=t.return;if(null===o)break;var i=o.alternate;if(null===i){if(null!==(r=o.return)){t=r;continue}break}if(o.child===i.child){for(i=o.child;i;){if(i===t)return qe(o),e;if(i===r)return qe(o),n;i=i.sibling}throw Error(a(188))}if(t.return!==r.return)t=o,r=i;else{for(var s=!1,l=o.child;l;){if(l===t){s=!0,t=o,r=i;break}if(l===r){s=!0,r=o,t=i;break}l=l.sibling}if(!s){for(l=i.child;l;){if(l===t){s=!0,t=i,r=o;break}if(l===r){s=!0,r=i,t=o;break}l=l.sibling}if(!s)throw Error(a(189))}}if(t.alternate!==r)throw Error(a(190))}if(3!==t.tag)throw Error(a(188));return t.stateNode.current===t?e:n}(e))?Ze(e):null}function Ze(e){if(5===e.tag||6===e.tag)return e;for(e=e.child;null!==e;){var n=Ze(e);if(null!==n)return n;e=e.sibling}return null}var We=o.unstable_scheduleCallback,Ge=o.unstable_cancelCallback,Ke=o.unstable_shouldYield,Ye=o.unstable_requestPaint,Qe=o.unstable_now,Je=o.unstable_getCurrentPriorityLevel,Xe=o.unstable_ImmediatePriority,en=o.unstable_UserBlockingPriority,nn=o.unstable_NormalPriority,tn=o.unstable_LowPriority,rn=o.unstable_IdlePriority,on=null,an=null;var sn=Math.clz32?Math.clz32:function(e){return e>>>=0,0===e?32:31-(ln(e)/cn|0)|0},ln=Math.log,cn=Math.LN2;var dn=64,un=4194304;function pn(e){switch(e&-e){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 4194240&e;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return 130023424&e;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return e}}function fn(e,n){var t=e.pendingLanes;if(0===t)return 0;var r=0,o=e.suspendedLanes,a=e.pingedLanes,i=268435455&t;if(0!==i){var s=i&~o;0!==s?r=pn(s):0!==(a&=i)&&(r=pn(a))}else 0!==(i=t&~o)?r=pn(i):0!==a&&(r=pn(a));if(0===r)return 0;if(0!==n&&n!==r&&0==(n&o)&&((o=r&-r)>=(a=n&-n)||16===o&&0!=(4194240&a)))return n;if(0!=(4&r)&&(r|=16&t),0!==(n=e.entangledLanes))for(e=e.entanglements,n&=r;0<n;)o=1<<(t=31-sn(n)),r|=e[t],n&=~o;return r}function mn(e,n){switch(e){case 1:case 2:case 4:return n+250;case 8:case 16:case 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 n+5e3;default:return-1}}function yn(e){return 0!==(e=-1073741825&e.pendingLanes)?e:1073741824&e?1073741824:0}function hn(){var e=dn;return 0==(4194240&(dn<<=1))&&(dn=64),e}function gn(e){for(var n=[],t=0;31>t;t++)n.push(e);return n}function bn(e,n,t){e.pendingLanes|=n,536870912!==n&&(e.suspendedLanes=0,e.pingedLanes=0),(e=e.eventTimes)[n=31-sn(n)]=t}function vn(e,n){var t=e.entangledLanes|=n;for(e=e.entanglements;t;){var r=31-sn(t),o=1<<r;o&n|e[r]&n&&(e[r]|=n),t&=~o}}var xn=0;function wn(e){return 1<(e&=-e)?4<e?0!=(268435455&e)?16:536870912:4:1}var kn,Sn,En,Cn,_n,Pn=!1,jn=[],Tn=null,On=null,$n=null,Rn=new Map,Nn=new Map,An=[],Ln="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset submit".split(" ");function Dn(e,n){switch(e){case"focusin":case"focusout":Tn=null;break;case"dragenter":case"dragleave":On=null;break;case"mouseover":case"mouseout":$n=null;break;case"pointerover":case"pointerout":Rn.delete(n.pointerId);break;case"gotpointercapture":case"lostpointercapture":Nn.delete(n.pointerId)}}function In(e,n,t,r,o,a){return null===e||e.nativeEvent!==a?(e={blockedOn:n,domEventName:t,eventSystemFlags:r,nativeEvent:a,targetContainers:[o]},null!==n&&(null!==(n=xo(n))&&Sn(n)),e):(e.eventSystemFlags|=r,n=e.targetContainers,null!==o&&-1===n.indexOf(o)&&n.push(o),e)}function Mn(e){var n=vo(e.target);if(null!==n){var t=Ue(n);if(null!==t)if(13===(n=t.tag)){if(null!==(n=He(t)))return e.blockedOn=n,void _n(e.priority,(function(){En(t)}))}else if(3===n&&t.stateNode.current.memoizedState.isDehydrated)return void(e.blockedOn=3===t.tag?t.stateNode.containerInfo:null)}e.blockedOn=null}function Fn(e){if(null!==e.blockedOn)return!1;for(var n=e.targetContainers;0<n.length;){var t=Yn(e.domEventName,e.eventSystemFlags,n[0],e.nativeEvent);if(null!==t)return null!==(n=xo(t))&&Sn(n),e.blockedOn=t,!1;var r=new(t=e.nativeEvent).constructor(t.type,t);xe=r,t.target.dispatchEvent(r),xe=null,n.shift()}return!0}function zn(e,n,t){Fn(e)&&t.delete(n)}function Bn(){Pn=!1,null!==Tn&&Fn(Tn)&&(Tn=null),null!==On&&Fn(On)&&(On=null),null!==$n&&Fn($n)&&($n=null),Rn.forEach(zn),Nn.forEach(zn)}function Un(e,n){e.blockedOn===n&&(e.blockedOn=null,Pn||(Pn=!0,o.unstable_scheduleCallback(o.unstable_NormalPriority,Bn)))}function Hn(e){function n(n){return Un(n,e)}if(0<jn.length){Un(jn[0],e);for(var t=1;t<jn.length;t++){var r=jn[t];r.blockedOn===e&&(r.blockedOn=null)}}for(null!==Tn&&Un(Tn,e),null!==On&&Un(On,e),null!==$n&&Un($n,e),Rn.forEach(n),Nn.forEach(n),t=0;t<An.length;t++)(r=An[t]).blockedOn===e&&(r.blockedOn=null);for(;0<An.length&&null===(t=An[0]).blockedOn;)Mn(t),null===t.blockedOn&&An.shift()}var qn=x.ReactCurrentBatchConfig,Vn=!0;function Zn(e,n,t,r){var o=xn,a=qn.transition;qn.transition=null;try{xn=1,Gn(e,n,t,r)}finally{xn=o,qn.transition=a}}function Wn(e,n,t,r){var o=xn,a=qn.transition;qn.transition=null;try{xn=4,Gn(e,n,t,r)}finally{xn=o,qn.transition=a}}function Gn(e,n,t,r){if(Vn){var o=Yn(e,n,t,r);if(null===o)qr(e,n,r,Kn,t),Dn(e,r);else if(function(e,n,t,r,o){switch(n){case"focusin":return Tn=In(Tn,e,n,t,r,o),!0;case"dragenter":return On=In(On,e,n,t,r,o),!0;case"mouseover":return $n=In($n,e,n,t,r,o),!0;case"pointerover":var a=o.pointerId;return Rn.set(a,In(Rn.get(a)||null,e,n,t,r,o)),!0;case"gotpointercapture":return a=o.pointerId,Nn.set(a,In(Nn.get(a)||null,e,n,t,r,o)),!0}return!1}(o,e,n,t,r))r.stopPropagation();else if(Dn(e,r),4&n&&-1<Ln.indexOf(e)){for(;null!==o;){var a=xo(o);if(null!==a&&kn(a),null===(a=Yn(e,n,t,r))&&qr(e,n,r,Kn,t),a===o)break;o=a}null!==o&&r.stopPropagation()}else qr(e,n,r,null,t)}}var Kn=null;function Yn(e,n,t,r){if(Kn=null,null!==(e=vo(e=we(r))))if(null===(n=Ue(e)))e=null;else if(13===(t=n.tag)){if(null!==(e=He(n)))return e;e=null}else if(3===t){if(n.stateNode.current.memoizedState.isDehydrated)return 3===n.tag?n.stateNode.containerInfo:null;e=null}else n!==e&&(e=null);return Kn=e,null}function Qn(e){switch(e){case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"resize":case"seeked":case"submit":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return 1;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"scroll":case"toggle":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 4;case"message":switch(Je()){case Xe:return 1;case en:return 4;case nn:case tn:return 16;case rn:return 536870912;default:return 16}default:return 16}}var Jn=null,Xn=null,et=null;function nt(){if(et)return et;var e,n,t=Xn,r=t.length,o="value"in Jn?Jn.value:Jn.textContent,a=o.length;for(e=0;e<r&&t[e]===o[e];e++);var i=r-e;for(n=1;n<=i&&t[r-n]===o[a-n];n++);return et=o.slice(e,1<n?1-n:void 0)}function tt(e){var n=e.keyCode;return"charCode"in e?0===(e=e.charCode)&&13===n&&(e=13):e=n,10===e&&(e=13),32<=e||13===e?e:0}function rt(){return!0}function ot(){return!1}function at(e){function n(n,t,r,o,a){for(var i in this._reactName=n,this._targetInst=r,this.type=t,this.nativeEvent=o,this.target=a,this.currentTarget=null,e)e.hasOwnProperty(i)&&(n=e[i],this[i]=n?n(o):o[i]);return this.isDefaultPrevented=(null!=o.defaultPrevented?o.defaultPrevented:!1===o.returnValue)?rt:ot,this.isPropagationStopped=ot,this}return I(n.prototype,{preventDefault:function(){this.defaultPrevented=!0;var e=this.nativeEvent;e&&(e.preventDefault?e.preventDefault():"unknown"!=typeof e.returnValue&&(e.returnValue=!1),this.isDefaultPrevented=rt)},stopPropagation:function(){var e=this.nativeEvent;e&&(e.stopPropagation?e.stopPropagation():"unknown"!=typeof e.cancelBubble&&(e.cancelBubble=!0),this.isPropagationStopped=rt)},persist:function(){},isPersistent:rt}),n}var it,st,lt,ct={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},dt=at(ct),ut=I({},ct,{view:0,detail:0}),pt=at(ut),ft=I({},ut,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Ct,button:0,buttons:0,relatedTarget:function(e){return void 0===e.relatedTarget?e.fromElement===e.srcElement?e.toElement:e.fromElement:e.relatedTarget},movementX:function(e){return"movementX"in e?e.movementX:(e!==lt&&(lt&&"mousemove"===e.type?(it=e.screenX-lt.screenX,st=e.screenY-lt.screenY):st=it=0,lt=e),it)},movementY:function(e){return"movementY"in e?e.movementY:st}}),mt=at(ft),yt=at(I({},ft,{dataTransfer:0})),ht=at(I({},ut,{relatedTarget:0})),gt=at(I({},ct,{animationName:0,elapsedTime:0,pseudoElement:0})),bt=I({},ct,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),vt=at(bt),xt=at(I({},ct,{data:0})),wt={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},kt={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"},St={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function Et(e){var n=this.nativeEvent;return n.getModifierState?n.getModifierState(e):!!(e=St[e])&&!!n[e]}function Ct(){return Et}var _t=I({},ut,{key:function(e){if(e.key){var n=wt[e.key]||e.key;if("Unidentified"!==n)return n}return"keypress"===e.type?13===(e=tt(e))?"Enter":String.fromCharCode(e):"keydown"===e.type||"keyup"===e.type?kt[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Ct,charCode:function(e){return"keypress"===e.type?tt(e):0},keyCode:function(e){return"keydown"===e.type||"keyup"===e.type?e.keyCode:0},which:function(e){return"keypress"===e.type?tt(e):"keydown"===e.type||"keyup"===e.type?e.keyCode:0}}),Pt=at(_t),jt=at(I({},ft,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0})),Tt=at(I({},ut,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Ct})),Ot=at(I({},ct,{propertyName:0,elapsedTime:0,pseudoElement:0})),$t=I({},ft,{deltaX:function(e){return"deltaX"in e?e.deltaX:"wheelDeltaX"in e?-e.wheelDeltaX:0},deltaY:function(e){return"deltaY"in e?e.deltaY:"wheelDeltaY"in e?-e.wheelDeltaY:"wheelDelta"in e?-e.wheelDelta:0},deltaZ:0,deltaMode:0}),Rt=at($t),Nt=[9,13,27,32],At=d&&"CompositionEvent"in window,Lt=null;d&&"documentMode"in document&&(Lt=document.documentMode);var Dt=d&&"TextEvent"in window&&!Lt,It=d&&(!At||Lt&&8<Lt&&11>=Lt),Mt=String.fromCharCode(32),Ft=!1;function zt(e,n){switch(e){case"keyup":return-1!==Nt.indexOf(n.keyCode);case"keydown":return 229!==n.keyCode;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Bt(e){return"object"==typeof(e=e.detail)&&"data"in e?e.data:null}var Ut=!1;var Ht={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function qt(e){var n=e&&e.nodeName&&e.nodeName.toLowerCase();return"input"===n?!!Ht[e.type]:"textarea"===n}function Vt(e,n,t,r){_e(r),0<(n=Zr(n,"onChange")).length&&(t=new dt("onChange","change",null,t,r),e.push({event:t,listeners:n}))}var Zt=null,Wt=null;function Gt(e){Mr(e,0)}function Kt(e){if(W(wo(e)))return e}function Yt(e,n){if("change"===e)return n}var Qt=!1;if(d){var Jt;if(d){var Xt="oninput"in document;if(!Xt){var er=document.createElement("div");er.setAttribute("oninput","return;"),Xt="function"==typeof er.oninput}Jt=Xt}else Jt=!1;Qt=Jt&&(!document.documentMode||9<document.documentMode)}function nr(){Zt&&(Zt.detachEvent("onpropertychange",tr),Wt=Zt=null)}function tr(e){if("value"===e.propertyName&&Kt(Wt)){var n=[];Vt(n,Wt,e,we(e)),$e(Gt,n)}}function rr(e,n,t){"focusin"===e?(nr(),Wt=t,(Zt=n).attachEvent("onpropertychange",tr)):"focusout"===e&&nr()}function or(e){if("selectionchange"===e||"keyup"===e||"keydown"===e)return Kt(Wt)}function ar(e,n){if("click"===e)return Kt(n)}function ir(e,n){if("input"===e||"change"===e)return Kt(n)}var sr="function"==typeof Object.is?Object.is:function(e,n){return e===n&&(0!==e||1/e==1/n)||e!=e&&n!=n};function lr(e,n){if(sr(e,n))return!0;if("object"!=typeof e||null===e||"object"!=typeof n||null===n)return!1;var t=Object.keys(e),r=Object.keys(n);if(t.length!==r.length)return!1;for(r=0;r<t.length;r++){var o=t[r];if(!u.call(n,o)||!sr(e[o],n[o]))return!1}return!0}function cr(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function dr(e,n){var t,r=cr(e);for(e=0;r;){if(3===r.nodeType){if(t=e+r.textContent.length,e<=n&&t>=n)return{node:r,offset:n-e};e=t}e:{for(;r;){if(r.nextSibling){r=r.nextSibling;break e}r=r.parentNode}r=void 0}r=cr(r)}}function ur(e,n){return!(!e||!n)&&(e===n||(!e||3!==e.nodeType)&&(n&&3===n.nodeType?ur(e,n.parentNode):"contains"in e?e.contains(n):!!e.compareDocumentPosition&&!!(16&e.compareDocumentPosition(n))))}function pr(){for(var e=window,n=G();n instanceof e.HTMLIFrameElement;){try{var t="string"==typeof n.contentWindow.location.href}catch(r){t=!1}if(!t)break;n=G((e=n.contentWindow).document)}return n}function fr(e){var n=e&&e.nodeName&&e.nodeName.toLowerCase();return n&&("input"===n&&("text"===e.type||"search"===e.type||"tel"===e.type||"url"===e.type||"password"===e.type)||"textarea"===n||"true"===e.contentEditable)}function mr(e){var n=pr(),t=e.focusedElem,r=e.selectionRange;if(n!==t&&t&&t.ownerDocument&&ur(t.ownerDocument.documentElement,t)){if(null!==r&&fr(t))if(n=r.start,void 0===(e=r.end)&&(e=n),"selectionStart"in t)t.selectionStart=n,t.selectionEnd=Math.min(e,t.value.length);else if((e=(n=t.ownerDocument||document)&&n.defaultView||window).getSelection){e=e.getSelection();var o=t.textContent.length,a=Math.min(r.start,o);r=void 0===r.end?a:Math.min(r.end,o),!e.extend&&a>r&&(o=r,r=a,a=o),o=dr(t,a);var i=dr(t,r);o&&i&&(1!==e.rangeCount||e.anchorNode!==o.node||e.anchorOffset!==o.offset||e.focusNode!==i.node||e.focusOffset!==i.offset)&&((n=n.createRange()).setStart(o.node,o.offset),e.removeAllRanges(),a>r?(e.addRange(n),e.extend(i.node,i.offset)):(n.setEnd(i.node,i.offset),e.addRange(n)))}for(n=[],e=t;e=e.parentNode;)1===e.nodeType&&n.push({element:e,left:e.scrollLeft,top:e.scrollTop});for("function"==typeof t.focus&&t.focus(),t=0;t<n.length;t++)(e=n[t]).element.scrollLeft=e.left,e.element.scrollTop=e.top}}var yr=d&&"documentMode"in document&&11>=document.documentMode,hr=null,gr=null,br=null,vr=!1;function xr(e,n,t){var r=t.window===t?t.document:9===t.nodeType?t:t.ownerDocument;vr||null==hr||hr!==G(r)||("selectionStart"in(r=hr)&&fr(r)?r={start:r.selectionStart,end:r.selectionEnd}:r={anchorNode:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection()).anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset},br&&lr(br,r)||(br=r,0<(r=Zr(gr,"onSelect")).length&&(n=new dt("onSelect","select",null,n,t),e.push({event:n,listeners:r}),n.target=hr)))}function wr(e,n){var t={};return t[e.toLowerCase()]=n.toLowerCase(),t["Webkit"+e]="webkit"+n,t["Moz"+e]="moz"+n,t}var kr={animationend:wr("Animation","AnimationEnd"),animationiteration:wr("Animation","AnimationIteration"),animationstart:wr("Animation","AnimationStart"),transitionend:wr("Transition","TransitionEnd")},Sr={},Er={};function Cr(e){if(Sr[e])return Sr[e];if(!kr[e])return e;var n,t=kr[e];for(n in t)if(t.hasOwnProperty(n)&&n in Er)return Sr[e]=t[n];return e}d&&(Er=document.createElement("div").style,"AnimationEvent"in window||(delete kr.animationend.animation,delete kr.animationiteration.animation,delete kr.animationstart.animation),"TransitionEvent"in window||delete kr.transitionend.transition);var _r=Cr("animationend"),Pr=Cr("animationiteration"),jr=Cr("animationstart"),Tr=Cr("transitionend"),Or=new Map,$r="abort auxClick cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(" ");function Rr(e,n){Or.set(e,n),l(n,[e])}for(var Nr=0;Nr<$r.length;Nr++){var Ar=$r[Nr];Rr(Ar.toLowerCase(),"on"+(Ar[0].toUpperCase()+Ar.slice(1)))}Rr(_r,"onAnimationEnd"),Rr(Pr,"onAnimationIteration"),Rr(jr,"onAnimationStart"),Rr("dblclick","onDoubleClick"),Rr("focusin","onFocus"),Rr("focusout","onBlur"),Rr(Tr,"onTransitionEnd"),c("onMouseEnter",["mouseout","mouseover"]),c("onMouseLeave",["mouseout","mouseover"]),c("onPointerEnter",["pointerout","pointerover"]),c("onPointerLeave",["pointerout","pointerover"]),l("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),l("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),l("onBeforeInput",["compositionend","keypress","textInput","paste"]),l("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),l("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),l("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var Lr="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange resize seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),Dr=new Set("cancel close invalid load scroll toggle".split(" ").concat(Lr));function Ir(e,n,t){var r=e.type||"unknown-event";e.currentTarget=t,function(e,n,t,r,o,i,s,l,c){if(Be.apply(this,arguments),De){if(!De)throw Error(a(198));var d=Ie;De=!1,Ie=null,Me||(Me=!0,Fe=d)}}(r,n,void 0,e),e.currentTarget=null}function Mr(e,n){n=0!=(4&n);for(var t=0;t<e.length;t++){var r=e[t],o=r.event;r=r.listeners;e:{var a=void 0;if(n)for(var i=r.length-1;0<=i;i--){var s=r[i],l=s.instance,c=s.currentTarget;if(s=s.listener,l!==a&&o.isPropagationStopped())break e;Ir(o,s,c),a=l}else for(i=0;i<r.length;i++){if(l=(s=r[i]).instance,c=s.currentTarget,s=s.listener,l!==a&&o.isPropagationStopped())break e;Ir(o,s,c),a=l}}}if(Me)throw e=Fe,Me=!1,Fe=null,e}function Fr(e,n){var t=n[ho];void 0===t&&(t=n[ho]=new Set);var r=e+"__bubble";t.has(r)||(Hr(n,e,2,!1),t.add(r))}function zr(e,n,t){var r=0;n&&(r|=4),Hr(t,e,r,n)}var Br="_reactListening"+Math.random().toString(36).slice(2);function Ur(e){if(!e[Br]){e[Br]=!0,i.forEach((function(n){"selectionchange"!==n&&(Dr.has(n)||zr(n,!1,e),zr(n,!0,e))}));var n=9===e.nodeType?e:e.ownerDocument;null===n||n[Br]||(n[Br]=!0,zr("selectionchange",!1,n))}}function Hr(e,n,t,r){switch(Qn(n)){case 1:var o=Zn;break;case 4:o=Wn;break;default:o=Gn}t=o.bind(null,n,t,e),o=void 0,!Ne||"touchstart"!==n&&"touchmove"!==n&&"wheel"!==n||(o=!0),r?void 0!==o?e.addEventListener(n,t,{capture:!0,passive:o}):e.addEventListener(n,t,!0):void 0!==o?e.addEventListener(n,t,{passive:o}):e.addEventListener(n,t,!1)}function qr(e,n,t,r,o){var a=r;if(0==(1&n)&&0==(2&n)&&null!==r)e:for(;;){if(null===r)return;var i=r.tag;if(3===i||4===i){var s=r.stateNode.containerInfo;if(s===o||8===s.nodeType&&s.parentNode===o)break;if(4===i)for(i=r.return;null!==i;){var l=i.tag;if((3===l||4===l)&&((l=i.stateNode.containerInfo)===o||8===l.nodeType&&l.parentNode===o))return;i=i.return}for(;null!==s;){if(null===(i=vo(s)))return;if(5===(l=i.tag)||6===l){r=a=i;continue e}s=s.parentNode}}r=r.return}$e((function(){var r=a,o=we(t),i=[];e:{var s=Or.get(e);if(void 0!==s){var l=dt,c=e;switch(e){case"keypress":if(0===tt(t))break e;case"keydown":case"keyup":l=Pt;break;case"focusin":c="focus",l=ht;break;case"focusout":c="blur",l=ht;break;case"beforeblur":case"afterblur":l=ht;break;case"click":if(2===t.button)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":l=mt;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":l=yt;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":l=Tt;break;case _r:case Pr:case jr:l=gt;break;case Tr:l=Ot;break;case"scroll":l=pt;break;case"wheel":l=Rt;break;case"copy":case"cut":case"paste":l=vt;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":l=jt}var d=0!=(4&n),u=!d&&"scroll"===e,p=d?null!==s?s+"Capture":null:s;d=[];for(var f,m=r;null!==m;){var y=(f=m).stateNode;if(5===f.tag&&null!==y&&(f=y,null!==p&&(null!=(y=Re(m,p))&&d.push(Vr(m,y,f)))),u)break;m=m.return}0<d.length&&(s=new l(s,c,null,t,o),i.push({event:s,listeners:d}))}}if(0==(7&n)){if(l="mouseout"===e||"pointerout"===e,(!(s="mouseover"===e||"pointerover"===e)||t===xe||!(c=t.relatedTarget||t.fromElement)||!vo(c)&&!c[yo])&&(l||s)&&(s=o.window===o?o:(s=o.ownerDocument)?s.defaultView||s.parentWindow:window,l?(l=r,null!==(c=(c=t.relatedTarget||t.toElement)?vo(c):null)&&(c!==(u=Ue(c))||5!==c.tag&&6!==c.tag)&&(c=null)):(l=null,c=r),l!==c)){if(d=mt,y="onMouseLeave",p="onMouseEnter",m="mouse","pointerout"!==e&&"pointerover"!==e||(d=jt,y="onPointerLeave",p="onPointerEnter",m="pointer"),u=null==l?s:wo(l),f=null==c?s:wo(c),(s=new d(y,m+"leave",l,t,o)).target=u,s.relatedTarget=f,y=null,vo(o)===r&&((d=new d(p,m+"enter",c,t,o)).target=f,d.relatedTarget=u,y=d),u=y,l&&c)e:{for(p=c,m=0,f=d=l;f;f=Wr(f))m++;for(f=0,y=p;y;y=Wr(y))f++;for(;0<m-f;)d=Wr(d),m--;for(;0<f-m;)p=Wr(p),f--;for(;m--;){if(d===p||null!==p&&d===p.alternate)break e;d=Wr(d),p=Wr(p)}d=null}else d=null;null!==l&&Gr(i,s,l,d,!1),null!==c&&null!==u&&Gr(i,u,c,d,!0)}if("select"===(l=(s=r?wo(r):window).nodeName&&s.nodeName.toLowerCase())||"input"===l&&"file"===s.type)var h=Yt;else if(qt(s))if(Qt)h=ir;else{h=or;var g=rr}else(l=s.nodeName)&&"input"===l.toLowerCase()&&("checkbox"===s.type||"radio"===s.type)&&(h=ar);switch(h&&(h=h(e,r))?Vt(i,h,t,o):(g&&g(e,s,r),"focusout"===e&&(g=s._wrapperState)&&g.controlled&&"number"===s.type&&ee(s,"number",s.value)),g=r?wo(r):window,e){case"focusin":(qt(g)||"true"===g.contentEditable)&&(hr=g,gr=r,br=null);break;case"focusout":br=gr=hr=null;break;case"mousedown":vr=!0;break;case"contextmenu":case"mouseup":case"dragend":vr=!1,xr(i,t,o);break;case"selectionchange":if(yr)break;case"keydown":case"keyup":xr(i,t,o)}var b;if(At)e:{switch(e){case"compositionstart":var v="onCompositionStart";break e;case"compositionend":v="onCompositionEnd";break e;case"compositionupdate":v="onCompositionUpdate";break e}v=void 0}else Ut?zt(e,t)&&(v="onCompositionEnd"):"keydown"===e&&229===t.keyCode&&(v="onCompositionStart");v&&(It&&"ko"!==t.locale&&(Ut||"onCompositionStart"!==v?"onCompositionEnd"===v&&Ut&&(b=nt()):(Xn="value"in(Jn=o)?Jn.value:Jn.textContent,Ut=!0)),0<(g=Zr(r,v)).length&&(v=new xt(v,e,null,t,o),i.push({event:v,listeners:g}),b?v.data=b:null!==(b=Bt(t))&&(v.data=b))),(b=Dt?function(e,n){switch(e){case"compositionend":return Bt(n);case"keypress":return 32!==n.which?null:(Ft=!0,Mt);case"textInput":return(e=n.data)===Mt&&Ft?null:e;default:return null}}(e,t):function(e,n){if(Ut)return"compositionend"===e||!At&&zt(e,n)?(e=nt(),et=Xn=Jn=null,Ut=!1,e):null;switch(e){case"paste":default:return null;case"keypress":if(!(n.ctrlKey||n.altKey||n.metaKey)||n.ctrlKey&&n.altKey){if(n.char&&1<n.char.length)return n.char;if(n.which)return String.fromCharCode(n.which)}return null;case"compositionend":return It&&"ko"!==n.locale?null:n.data}}(e,t))&&(0<(r=Zr(r,"onBeforeInput")).length&&(o=new xt("onBeforeInput","beforeinput",null,t,o),i.push({event:o,listeners:r}),o.data=b))}Mr(i,n)}))}function Vr(e,n,t){return{instance:e,listener:n,currentTarget:t}}function Zr(e,n){for(var t=n+"Capture",r=[];null!==e;){var o=e,a=o.stateNode;5===o.tag&&null!==a&&(o=a,null!=(a=Re(e,t))&&r.unshift(Vr(e,a,o)),null!=(a=Re(e,n))&&r.push(Vr(e,a,o))),e=e.return}return r}function Wr(e){if(null===e)return null;do{e=e.return}while(e&&5!==e.tag);return e||null}function Gr(e,n,t,r,o){for(var a=n._reactName,i=[];null!==t&&t!==r;){var s=t,l=s.alternate,c=s.stateNode;if(null!==l&&l===r)break;5===s.tag&&null!==c&&(s=c,o?null!=(l=Re(t,a))&&i.unshift(Vr(t,l,s)):o||null!=(l=Re(t,a))&&i.push(Vr(t,l,s))),t=t.return}0!==i.length&&e.push({event:n,listeners:i})}var Kr=/\r\n?/g,Yr=/\u0000|\uFFFD/g;function Qr(e){return("string"==typeof e?e:""+e).replace(Kr,"\n").replace(Yr,"")}function Jr(e,n,t){if(n=Qr(n),Qr(e)!==n&&t)throw Error(a(425))}function Xr(){}var eo=null,no=null;function to(e,n){return"textarea"===e||"noscript"===e||"string"==typeof n.children||"number"==typeof n.children||"object"==typeof n.dangerouslySetInnerHTML&&null!==n.dangerouslySetInnerHTML&&null!=n.dangerouslySetInnerHTML.__html}var ro="function"==typeof setTimeout?setTimeout:void 0,oo="function"==typeof clearTimeout?clearTimeout:void 0,ao="function"==typeof Promise?Promise:void 0,io="function"==typeof queueMicrotask?queueMicrotask:void 0!==ao?function(e){return ao.resolve(null).then(e).catch(so)}:ro;function so(e){setTimeout((function(){throw e}))}function lo(e,n){var t=n,r=0;do{var o=t.nextSibling;if(e.removeChild(t),o&&8===o.nodeType)if("/$"===(t=o.data)){if(0===r)return e.removeChild(o),void Hn(n);r--}else"$"!==t&&"$?"!==t&&"$!"!==t||r++;t=o}while(t);Hn(n)}function co(e){for(;null!=e;e=e.nextSibling){var n=e.nodeType;if(1===n||3===n)break;if(8===n){if("$"===(n=e.data)||"$!"===n||"$?"===n)break;if("/$"===n)return null}}return e}function uo(e){e=e.previousSibling;for(var n=0;e;){if(8===e.nodeType){var t=e.data;if("$"===t||"$!"===t||"$?"===t){if(0===n)return e;n--}else"/$"===t&&n++}e=e.previousSibling}return null}var po=Math.random().toString(36).slice(2),fo="__reactFiber$"+po,mo="__reactProps$"+po,yo="__reactContainer$"+po,ho="__reactEvents$"+po,go="__reactListeners$"+po,bo="__reactHandles$"+po;function vo(e){var n=e[fo];if(n)return n;for(var t=e.parentNode;t;){if(n=t[yo]||t[fo]){if(t=n.alternate,null!==n.child||null!==t&&null!==t.child)for(e=uo(e);null!==e;){if(t=e[fo])return t;e=uo(e)}return n}t=(e=t).parentNode}return null}function xo(e){return!(e=e[fo]||e[yo])||5!==e.tag&&6!==e.tag&&13!==e.tag&&3!==e.tag?null:e}function wo(e){if(5===e.tag||6===e.tag)return e.stateNode;throw Error(a(33))}function ko(e){return e[mo]||null}var So=[],Eo=-1;function Co(e){return{current:e}}function _o(e){0>Eo||(e.current=So[Eo],So[Eo]=null,Eo--)}function Po(e,n){Eo++,So[Eo]=e.current,e.current=n}var jo={},To=Co(jo),Oo=Co(!1),$o=jo;function Ro(e,n){var t=e.type.contextTypes;if(!t)return jo;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===n)return r.__reactInternalMemoizedMaskedChildContext;var o,a={};for(o in t)a[o]=n[o];return r&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=n,e.__reactInternalMemoizedMaskedChildContext=a),a}function No(e){return null!=(e=e.childContextTypes)}function Ao(){_o(Oo),_o(To)}function Lo(e,n,t){if(To.current!==jo)throw Error(a(168));Po(To,n),Po(Oo,t)}function Do(e,n,t){var r=e.stateNode;if(n=n.childContextTypes,"function"!=typeof r.getChildContext)return t;for(var o in r=r.getChildContext())if(!(o in n))throw Error(a(108,H(e)||"Unknown",o));return I({},t,r)}function Io(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||jo,$o=To.current,Po(To,e),Po(Oo,Oo.current),!0}function Mo(e,n,t){var r=e.stateNode;if(!r)throw Error(a(169));t?(e=Do(e,n,$o),r.__reactInternalMemoizedMergedChildContext=e,_o(Oo),_o(To),Po(To,e)):_o(Oo),Po(Oo,t)}var Fo=null,zo=!1,Bo=!1;function Uo(e){null===Fo?Fo=[e]:Fo.push(e)}function Ho(){if(!Bo&&null!==Fo){Bo=!0;var e=0,n=xn;try{var t=Fo;for(xn=1;e<t.length;e++){var r=t[e];do{r=r(!0)}while(null!==r)}Fo=null,zo=!1}catch(o){throw null!==Fo&&(Fo=Fo.slice(e+1)),We(Xe,Ho),o}finally{xn=n,Bo=!1}}return null}var qo=[],Vo=0,Zo=null,Wo=0,Go=[],Ko=0,Yo=null,Qo=1,Jo="";function Xo(e,n){qo[Vo++]=Wo,qo[Vo++]=Zo,Zo=e,Wo=n}function ea(e,n,t){Go[Ko++]=Qo,Go[Ko++]=Jo,Go[Ko++]=Yo,Yo=e;var r=Qo;e=Jo;var o=32-sn(r)-1;r&=~(1<<o),t+=1;var a=32-sn(n)+o;if(30<a){var i=o-o%5;a=(r&(1<<i)-1).toString(32),r>>=i,o-=i,Qo=1<<32-sn(n)+o|t<<o|r,Jo=a+e}else Qo=1<<a|t<<o|r,Jo=e}function na(e){null!==e.return&&(Xo(e,1),ea(e,1,0))}function ta(e){for(;e===Zo;)Zo=qo[--Vo],qo[Vo]=null,Wo=qo[--Vo],qo[Vo]=null;for(;e===Yo;)Yo=Go[--Ko],Go[Ko]=null,Jo=Go[--Ko],Go[Ko]=null,Qo=Go[--Ko],Go[Ko]=null}var ra=null,oa=null,aa=!1,ia=null;function sa(e,n){var t=Rc(5,null,null,0);t.elementType="DELETED",t.stateNode=n,t.return=e,null===(n=e.deletions)?(e.deletions=[t],e.flags|=16):n.push(t)}function la(e,n){switch(e.tag){case 5:var t=e.type;return null!==(n=1!==n.nodeType||t.toLowerCase()!==n.nodeName.toLowerCase()?null:n)&&(e.stateNode=n,ra=e,oa=co(n.firstChild),!0);case 6:return null!==(n=""===e.pendingProps||3!==n.nodeType?null:n)&&(e.stateNode=n,ra=e,oa=null,!0);case 13:return null!==(n=8!==n.nodeType?null:n)&&(t=null!==Yo?{id:Qo,overflow:Jo}:null,e.memoizedState={dehydrated:n,treeContext:t,retryLane:1073741824},(t=Rc(18,null,null,0)).stateNode=n,t.return=e,e.child=t,ra=e,oa=null,!0);default:return!1}}function ca(e){return 0!=(1&e.mode)&&0==(128&e.flags)}function da(e){if(aa){var n=oa;if(n){var t=n;if(!la(e,n)){if(ca(e))throw Error(a(418));n=co(t.nextSibling);var r=ra;n&&la(e,n)?sa(r,t):(e.flags=-4097&e.flags|2,aa=!1,ra=e)}}else{if(ca(e))throw Error(a(418));e.flags=-4097&e.flags|2,aa=!1,ra=e}}}function ua(e){for(e=e.return;null!==e&&5!==e.tag&&3!==e.tag&&13!==e.tag;)e=e.return;ra=e}function pa(e){if(e!==ra)return!1;if(!aa)return ua(e),aa=!0,!1;var n;if((n=3!==e.tag)&&!(n=5!==e.tag)&&(n="head"!==(n=e.type)&&"body"!==n&&!to(e.type,e.memoizedProps)),n&&(n=oa)){if(ca(e))throw fa(),Error(a(418));for(;n;)sa(e,n),n=co(n.nextSibling)}if(ua(e),13===e.tag){if(!(e=null!==(e=e.memoizedState)?e.dehydrated:null))throw Error(a(317));e:{for(e=e.nextSibling,n=0;e;){if(8===e.nodeType){var t=e.data;if("/$"===t){if(0===n){oa=co(e.nextSibling);break e}n--}else"$"!==t&&"$!"!==t&&"$?"!==t||n++}e=e.nextSibling}oa=null}}else oa=ra?co(e.stateNode.nextSibling):null;return!0}function fa(){for(var e=oa;e;)e=co(e.nextSibling)}function ma(){oa=ra=null,aa=!1}function ya(e){null===ia?ia=[e]:ia.push(e)}var ha=x.ReactCurrentBatchConfig;function ga(e,n){if(e&&e.defaultProps){for(var t in n=I({},n),e=e.defaultProps)void 0===n[t]&&(n[t]=e[t]);return n}return n}var ba=Co(null),va=null,xa=null,wa=null;function ka(){wa=xa=va=null}function Sa(e){var n=ba.current;_o(ba),e._currentValue=n}function Ea(e,n,t){for(;null!==e;){var r=e.alternate;if((e.childLanes&n)!==n?(e.childLanes|=n,null!==r&&(r.childLanes|=n)):null!==r&&(r.childLanes&n)!==n&&(r.childLanes|=n),e===t)break;e=e.return}}function Ca(e,n){va=e,wa=xa=null,null!==(e=e.dependencies)&&null!==e.firstContext&&(0!=(e.lanes&n)&&(xs=!0),e.firstContext=null)}function _a(e){var n=e._currentValue;if(wa!==e)if(e={context:e,memoizedValue:n,next:null},null===xa){if(null===va)throw Error(a(308));xa=e,va.dependencies={lanes:0,firstContext:e}}else xa=xa.next=e;return n}var Pa=null;function ja(e){null===Pa?Pa=[e]:Pa.push(e)}function Ta(e,n,t,r){var o=n.interleaved;return null===o?(t.next=t,ja(n)):(t.next=o.next,o.next=t),n.interleaved=t,Oa(e,r)}function Oa(e,n){e.lanes|=n;var t=e.alternate;for(null!==t&&(t.lanes|=n),t=e,e=e.return;null!==e;)e.childLanes|=n,null!==(t=e.alternate)&&(t.childLanes|=n),t=e,e=e.return;return 3===t.tag?t.stateNode:null}var $a=!1;function Ra(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function Na(e,n){e=e.updateQueue,n.updateQueue===e&&(n.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,effects:e.effects})}function Aa(e,n){return{eventTime:e,lane:n,tag:0,payload:null,callback:null,next:null}}function La(e,n,t){var r=e.updateQueue;if(null===r)return null;if(r=r.shared,0!=(2&Tl)){var o=r.pending;return null===o?n.next=n:(n.next=o.next,o.next=n),r.pending=n,Oa(e,t)}return null===(o=r.interleaved)?(n.next=n,ja(r)):(n.next=o.next,o.next=n),r.interleaved=n,Oa(e,t)}function Da(e,n,t){if(null!==(n=n.updateQueue)&&(n=n.shared,0!=(4194240&t))){var r=n.lanes;t|=r&=e.pendingLanes,n.lanes=t,vn(e,t)}}function Ia(e,n){var t=e.updateQueue,r=e.alternate;if(null!==r&&t===(r=r.updateQueue)){var o=null,a=null;if(null!==(t=t.firstBaseUpdate)){do{var i={eventTime:t.eventTime,lane:t.lane,tag:t.tag,payload:t.payload,callback:t.callback,next:null};null===a?o=a=i:a=a.next=i,t=t.next}while(null!==t);null===a?o=a=n:a=a.next=n}else o=a=n;return t={baseState:r.baseState,firstBaseUpdate:o,lastBaseUpdate:a,shared:r.shared,effects:r.effects},void(e.updateQueue=t)}null===(e=t.lastBaseUpdate)?t.firstBaseUpdate=n:e.next=n,t.lastBaseUpdate=n}function Ma(e,n,t,r){var o=e.updateQueue;$a=!1;var a=o.firstBaseUpdate,i=o.lastBaseUpdate,s=o.shared.pending;if(null!==s){o.shared.pending=null;var l=s,c=l.next;l.next=null,null===i?a=c:i.next=c,i=l;var d=e.alternate;null!==d&&((s=(d=d.updateQueue).lastBaseUpdate)!==i&&(null===s?d.firstBaseUpdate=c:s.next=c,d.lastBaseUpdate=l))}if(null!==a){var u=o.baseState;for(i=0,d=c=l=null,s=a;;){var p=s.lane,f=s.eventTime;if((r&p)===p){null!==d&&(d=d.next={eventTime:f,lane:0,tag:s.tag,payload:s.payload,callback:s.callback,next:null});e:{var m=e,y=s;switch(p=n,f=t,y.tag){case 1:if("function"==typeof(m=y.payload)){u=m.call(f,u,p);break e}u=m;break e;case 3:m.flags=-65537&m.flags|128;case 0:if(null==(p="function"==typeof(m=y.payload)?m.call(f,u,p):m))break e;u=I({},u,p);break e;case 2:$a=!0}}null!==s.callback&&0!==s.lane&&(e.flags|=64,null===(p=o.effects)?o.effects=[s]:p.push(s))}else f={eventTime:f,lane:p,tag:s.tag,payload:s.payload,callback:s.callback,next:null},null===d?(c=d=f,l=u):d=d.next=f,i|=p;if(null===(s=s.next)){if(null===(s=o.shared.pending))break;s=(p=s).next,p.next=null,o.lastBaseUpdate=p,o.shared.pending=null}}if(null===d&&(l=u),o.baseState=l,o.firstBaseUpdate=c,o.lastBaseUpdate=d,null!==(n=o.shared.interleaved)){o=n;do{i|=o.lane,o=o.next}while(o!==n)}else null===a&&(o.shared.lanes=0);Il|=i,e.lanes=i,e.memoizedState=u}}function Fa(e,n,t){if(e=n.effects,n.effects=null,null!==e)for(n=0;n<e.length;n++){var r=e[n],o=r.callback;if(null!==o){if(r.callback=null,r=t,"function"!=typeof o)throw Error(a(191,o));o.call(r)}}}var za=(new r.Component).refs;function Ba(e,n,t,r){t=null==(t=t(r,n=e.memoizedState))?n:I({},n,t),e.memoizedState=t,0===e.lanes&&(e.updateQueue.baseState=t)}var Ua={isMounted:function(e){return!!(e=e._reactInternals)&&Ue(e)===e},enqueueSetState:function(e,n,t){e=e._reactInternals;var r=nc(),o=tc(e),a=Aa(r,o);a.payload=n,null!=t&&(a.callback=t),null!==(n=La(e,a,o))&&(rc(n,e,o,r),Da(n,e,o))},enqueueReplaceState:function(e,n,t){e=e._reactInternals;var r=nc(),o=tc(e),a=Aa(r,o);a.tag=1,a.payload=n,null!=t&&(a.callback=t),null!==(n=La(e,a,o))&&(rc(n,e,o,r),Da(n,e,o))},enqueueForceUpdate:function(e,n){e=e._reactInternals;var t=nc(),r=tc(e),o=Aa(t,r);o.tag=2,null!=n&&(o.callback=n),null!==(n=La(e,o,r))&&(rc(n,e,r,t),Da(n,e,r))}};function Ha(e,n,t,r,o,a,i){return"function"==typeof(e=e.stateNode).shouldComponentUpdate?e.shouldComponentUpdate(r,a,i):!n.prototype||!n.prototype.isPureReactComponent||(!lr(t,r)||!lr(o,a))}function qa(e,n,t){var r=!1,o=jo,a=n.contextType;return"object"==typeof a&&null!==a?a=_a(a):(o=No(n)?$o:To.current,a=(r=null!=(r=n.contextTypes))?Ro(e,o):jo),n=new n(t,a),e.memoizedState=null!==n.state&&void 0!==n.state?n.state:null,n.updater=Ua,e.stateNode=n,n._reactInternals=e,r&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=o,e.__reactInternalMemoizedMaskedChildContext=a),n}function Va(e,n,t,r){e=n.state,"function"==typeof n.componentWillReceiveProps&&n.componentWillReceiveProps(t,r),"function"==typeof n.UNSAFE_componentWillReceiveProps&&n.UNSAFE_componentWillReceiveProps(t,r),n.state!==e&&Ua.enqueueReplaceState(n,n.state,null)}function Za(e,n,t,r){var o=e.stateNode;o.props=t,o.state=e.memoizedState,o.refs=za,Ra(e);var a=n.contextType;"object"==typeof a&&null!==a?o.context=_a(a):(a=No(n)?$o:To.current,o.context=Ro(e,a)),o.state=e.memoizedState,"function"==typeof(a=n.getDerivedStateFromProps)&&(Ba(e,n,a,t),o.state=e.memoizedState),"function"==typeof n.getDerivedStateFromProps||"function"==typeof o.getSnapshotBeforeUpdate||"function"!=typeof o.UNSAFE_componentWillMount&&"function"!=typeof o.componentWillMount||(n=o.state,"function"==typeof o.componentWillMount&&o.componentWillMount(),"function"==typeof o.UNSAFE_componentWillMount&&o.UNSAFE_componentWillMount(),n!==o.state&&Ua.enqueueReplaceState(o,o.state,null),Ma(e,t,o,r),o.state=e.memoizedState),"function"==typeof o.componentDidMount&&(e.flags|=4194308)}function Wa(e,n,t){if(null!==(e=t.ref)&&"function"!=typeof e&&"object"!=typeof e){if(t._owner){if(t=t._owner){if(1!==t.tag)throw Error(a(309));var r=t.stateNode}if(!r)throw Error(a(147,e));var o=r,i=""+e;return null!==n&&null!==n.ref&&"function"==typeof n.ref&&n.ref._stringRef===i?n.ref:(n=function(e){var n=o.refs;n===za&&(n=o.refs={}),null===e?delete n[i]:n[i]=e},n._stringRef=i,n)}if("string"!=typeof e)throw Error(a(284));if(!t._owner)throw Error(a(290,e))}return e}function Ga(e,n){throw e=Object.prototype.toString.call(n),Error(a(31,"[object Object]"===e?"object with keys {"+Object.keys(n).join(", ")+"}":e))}function Ka(e){return(0,e._init)(e._payload)}function Ya(e){function n(n,t){if(e){var r=n.deletions;null===r?(n.deletions=[t],n.flags|=16):r.push(t)}}function t(t,r){if(!e)return null;for(;null!==r;)n(t,r),r=r.sibling;return null}function r(e,n){for(e=new Map;null!==n;)null!==n.key?e.set(n.key,n):e.set(n.index,n),n=n.sibling;return e}function o(e,n){return(e=Ac(e,n)).index=0,e.sibling=null,e}function i(n,t,r){return n.index=r,e?null!==(r=n.alternate)?(r=r.index)<t?(n.flags|=2,t):r:(n.flags|=2,t):(n.flags|=1048576,t)}function s(n){return e&&null===n.alternate&&(n.flags|=2),n}function l(e,n,t,r){return null===n||6!==n.tag?((n=Mc(t,e.mode,r)).return=e,n):((n=o(n,t)).return=e,n)}function c(e,n,t,r){var a=t.type;return a===S?u(e,n,t.props.children,r,t.key):null!==n&&(n.elementType===a||"object"==typeof a&&null!==a&&a.$$typeof===R&&Ka(a)===n.type)?((r=o(n,t.props)).ref=Wa(e,n,t),r.return=e,r):((r=Lc(t.type,t.key,t.props,null,e.mode,r)).ref=Wa(e,n,t),r.return=e,r)}function d(e,n,t,r){return null===n||4!==n.tag||n.stateNode.containerInfo!==t.containerInfo||n.stateNode.implementation!==t.implementation?((n=Fc(t,e.mode,r)).return=e,n):((n=o(n,t.children||[])).return=e,n)}function u(e,n,t,r,a){return null===n||7!==n.tag?((n=Dc(t,e.mode,r,a)).return=e,n):((n=o(n,t)).return=e,n)}function p(e,n,t){if("string"==typeof n&&""!==n||"number"==typeof n)return(n=Mc(""+n,e.mode,t)).return=e,n;if("object"==typeof n&&null!==n){switch(n.$$typeof){case w:return(t=Lc(n.type,n.key,n.props,null,e.mode,t)).ref=Wa(e,null,n),t.return=e,t;case k:return(n=Fc(n,e.mode,t)).return=e,n;case R:return p(e,(0,n._init)(n._payload),t)}if(ne(n)||L(n))return(n=Dc(n,e.mode,t,null)).return=e,n;Ga(e,n)}return null}function f(e,n,t,r){var o=null!==n?n.key:null;if("string"==typeof t&&""!==t||"number"==typeof t)return null!==o?null:l(e,n,""+t,r);if("object"==typeof t&&null!==t){switch(t.$$typeof){case w:return t.key===o?c(e,n,t,r):null;case k:return t.key===o?d(e,n,t,r):null;case R:return f(e,n,(o=t._init)(t._payload),r)}if(ne(t)||L(t))return null!==o?null:u(e,n,t,r,null);Ga(e,t)}return null}function m(e,n,t,r,o){if("string"==typeof r&&""!==r||"number"==typeof r)return l(n,e=e.get(t)||null,""+r,o);if("object"==typeof r&&null!==r){switch(r.$$typeof){case w:return c(n,e=e.get(null===r.key?t:r.key)||null,r,o);case k:return d(n,e=e.get(null===r.key?t:r.key)||null,r,o);case R:return m(e,n,t,(0,r._init)(r._payload),o)}if(ne(r)||L(r))return u(n,e=e.get(t)||null,r,o,null);Ga(n,r)}return null}function y(o,a,s,l){for(var c=null,d=null,u=a,y=a=0,h=null;null!==u&&y<s.length;y++){u.index>y?(h=u,u=null):h=u.sibling;var g=f(o,u,s[y],l);if(null===g){null===u&&(u=h);break}e&&u&&null===g.alternate&&n(o,u),a=i(g,a,y),null===d?c=g:d.sibling=g,d=g,u=h}if(y===s.length)return t(o,u),aa&&Xo(o,y),c;if(null===u){for(;y<s.length;y++)null!==(u=p(o,s[y],l))&&(a=i(u,a,y),null===d?c=u:d.sibling=u,d=u);return aa&&Xo(o,y),c}for(u=r(o,u);y<s.length;y++)null!==(h=m(u,o,y,s[y],l))&&(e&&null!==h.alternate&&u.delete(null===h.key?y:h.key),a=i(h,a,y),null===d?c=h:d.sibling=h,d=h);return e&&u.forEach((function(e){return n(o,e)})),aa&&Xo(o,y),c}function h(o,s,l,c){var d=L(l);if("function"!=typeof d)throw Error(a(150));if(null==(l=d.call(l)))throw Error(a(151));for(var u=d=null,y=s,h=s=0,g=null,b=l.next();null!==y&&!b.done;h++,b=l.next()){y.index>h?(g=y,y=null):g=y.sibling;var v=f(o,y,b.value,c);if(null===v){null===y&&(y=g);break}e&&y&&null===v.alternate&&n(o,y),s=i(v,s,h),null===u?d=v:u.sibling=v,u=v,y=g}if(b.done)return t(o,y),aa&&Xo(o,h),d;if(null===y){for(;!b.done;h++,b=l.next())null!==(b=p(o,b.value,c))&&(s=i(b,s,h),null===u?d=b:u.sibling=b,u=b);return aa&&Xo(o,h),d}for(y=r(o,y);!b.done;h++,b=l.next())null!==(b=m(y,o,h,b.value,c))&&(e&&null!==b.alternate&&y.delete(null===b.key?h:b.key),s=i(b,s,h),null===u?d=b:u.sibling=b,u=b);return e&&y.forEach((function(e){return n(o,e)})),aa&&Xo(o,h),d}return function e(r,a,i,l){if("object"==typeof i&&null!==i&&i.type===S&&null===i.key&&(i=i.props.children),"object"==typeof i&&null!==i){switch(i.$$typeof){case w:e:{for(var c=i.key,d=a;null!==d;){if(d.key===c){if((c=i.type)===S){if(7===d.tag){t(r,d.sibling),(a=o(d,i.props.children)).return=r,r=a;break e}}else if(d.elementType===c||"object"==typeof c&&null!==c&&c.$$typeof===R&&Ka(c)===d.type){t(r,d.sibling),(a=o(d,i.props)).ref=Wa(r,d,i),a.return=r,r=a;break e}t(r,d);break}n(r,d),d=d.sibling}i.type===S?((a=Dc(i.props.children,r.mode,l,i.key)).return=r,r=a):((l=Lc(i.type,i.key,i.props,null,r.mode,l)).ref=Wa(r,a,i),l.return=r,r=l)}return s(r);case k:e:{for(d=i.key;null!==a;){if(a.key===d){if(4===a.tag&&a.stateNode.containerInfo===i.containerInfo&&a.stateNode.implementation===i.implementation){t(r,a.sibling),(a=o(a,i.children||[])).return=r,r=a;break e}t(r,a);break}n(r,a),a=a.sibling}(a=Fc(i,r.mode,l)).return=r,r=a}return s(r);case R:return e(r,a,(d=i._init)(i._payload),l)}if(ne(i))return y(r,a,i,l);if(L(i))return h(r,a,i,l);Ga(r,i)}return"string"==typeof i&&""!==i||"number"==typeof i?(i=""+i,null!==a&&6===a.tag?(t(r,a.sibling),(a=o(a,i)).return=r,r=a):(t(r,a),(a=Mc(i,r.mode,l)).return=r,r=a),s(r)):t(r,a)}}var Qa=Ya(!0),Ja=Ya(!1),Xa={},ei=Co(Xa),ni=Co(Xa),ti=Co(Xa);function ri(e){if(e===Xa)throw Error(a(174));return e}function oi(e,n){switch(Po(ti,n),Po(ni,e),Po(ei,Xa),e=n.nodeType){case 9:case 11:n=(n=n.documentElement)?n.namespaceURI:le(null,"");break;default:n=le(n=(e=8===e?n.parentNode:n).namespaceURI||null,e=e.tagName)}_o(ei),Po(ei,n)}function ai(){_o(ei),_o(ni),_o(ti)}function ii(e){ri(ti.current);var n=ri(ei.current),t=le(n,e.type);n!==t&&(Po(ni,e),Po(ei,t))}function si(e){ni.current===e&&(_o(ei),_o(ni))}var li=Co(0);function ci(e){for(var n=e;null!==n;){if(13===n.tag){var t=n.memoizedState;if(null!==t&&(null===(t=t.dehydrated)||"$?"===t.data||"$!"===t.data))return n}else if(19===n.tag&&void 0!==n.memoizedProps.revealOrder){if(0!=(128&n.flags))return n}else if(null!==n.child){n.child.return=n,n=n.child;continue}if(n===e)break;for(;null===n.sibling;){if(null===n.return||n.return===e)return null;n=n.return}n.sibling.return=n.return,n=n.sibling}return null}var di=[];function ui(){for(var e=0;e<di.length;e++)di[e]._workInProgressVersionPrimary=null;di.length=0}var pi=x.ReactCurrentDispatcher,fi=x.ReactCurrentBatchConfig,mi=0,yi=null,hi=null,gi=null,bi=!1,vi=!1,xi=0,wi=0;function ki(){throw Error(a(321))}function Si(e,n){if(null===n)return!1;for(var t=0;t<n.length&&t<e.length;t++)if(!sr(e[t],n[t]))return!1;return!0}function Ei(e,n,t,r,o,i){if(mi=i,yi=n,n.memoizedState=null,n.updateQueue=null,n.lanes=0,pi.current=null===e||null===e.memoizedState?ss:ls,e=t(r,o),vi){i=0;do{if(vi=!1,xi=0,25<=i)throw Error(a(301));i+=1,gi=hi=null,n.updateQueue=null,pi.current=cs,e=t(r,o)}while(vi)}if(pi.current=is,n=null!==hi&&null!==hi.next,mi=0,gi=hi=yi=null,bi=!1,n)throw Error(a(300));return e}function Ci(){var e=0!==xi;return xi=0,e}function _i(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return null===gi?yi.memoizedState=gi=e:gi=gi.next=e,gi}function Pi(){if(null===hi){var e=yi.alternate;e=null!==e?e.memoizedState:null}else e=hi.next;var n=null===gi?yi.memoizedState:gi.next;if(null!==n)gi=n,hi=e;else{if(null===e)throw Error(a(310));e={memoizedState:(hi=e).memoizedState,baseState:hi.baseState,baseQueue:hi.baseQueue,queue:hi.queue,next:null},null===gi?yi.memoizedState=gi=e:gi=gi.next=e}return gi}function ji(e,n){return"function"==typeof n?n(e):n}function Ti(e){var n=Pi(),t=n.queue;if(null===t)throw Error(a(311));t.lastRenderedReducer=e;var r=hi,o=r.baseQueue,i=t.pending;if(null!==i){if(null!==o){var s=o.next;o.next=i.next,i.next=s}r.baseQueue=o=i,t.pending=null}if(null!==o){i=o.next,r=r.baseState;var l=s=null,c=null,d=i;do{var u=d.lane;if((mi&u)===u)null!==c&&(c=c.next={lane:0,action:d.action,hasEagerState:d.hasEagerState,eagerState:d.eagerState,next:null}),r=d.hasEagerState?d.eagerState:e(r,d.action);else{var p={lane:u,action:d.action,hasEagerState:d.hasEagerState,eagerState:d.eagerState,next:null};null===c?(l=c=p,s=r):c=c.next=p,yi.lanes|=u,Il|=u}d=d.next}while(null!==d&&d!==i);null===c?s=r:c.next=l,sr(r,n.memoizedState)||(xs=!0),n.memoizedState=r,n.baseState=s,n.baseQueue=c,t.lastRenderedState=r}if(null!==(e=t.interleaved)){o=e;do{i=o.lane,yi.lanes|=i,Il|=i,o=o.next}while(o!==e)}else null===o&&(t.lanes=0);return[n.memoizedState,t.dispatch]}function Oi(e){var n=Pi(),t=n.queue;if(null===t)throw Error(a(311));t.lastRenderedReducer=e;var r=t.dispatch,o=t.pending,i=n.memoizedState;if(null!==o){t.pending=null;var s=o=o.next;do{i=e(i,s.action),s=s.next}while(s!==o);sr(i,n.memoizedState)||(xs=!0),n.memoizedState=i,null===n.baseQueue&&(n.baseState=i),t.lastRenderedState=i}return[i,r]}function $i(){}function Ri(e,n){var t=yi,r=Pi(),o=n(),i=!sr(r.memoizedState,o);if(i&&(r.memoizedState=o,xs=!0),r=r.queue,qi(Li.bind(null,t,r,e),[e]),r.getSnapshot!==n||i||null!==gi&&1&gi.memoizedState.tag){if(t.flags|=2048,Fi(9,Ai.bind(null,t,r,o,n),void 0,null),null===Ol)throw Error(a(349));0!=(30&mi)||Ni(t,n,o)}return o}function Ni(e,n,t){e.flags|=16384,e={getSnapshot:n,value:t},null===(n=yi.updateQueue)?(n={lastEffect:null,stores:null},yi.updateQueue=n,n.stores=[e]):null===(t=n.stores)?n.stores=[e]:t.push(e)}function Ai(e,n,t,r){n.value=t,n.getSnapshot=r,Di(n)&&Ii(e)}function Li(e,n,t){return t((function(){Di(n)&&Ii(e)}))}function Di(e){var n=e.getSnapshot;e=e.value;try{var t=n();return!sr(e,t)}catch(r){return!0}}function Ii(e){var n=Oa(e,1);null!==n&&rc(n,e,1,-1)}function Mi(e){var n=_i();return"function"==typeof e&&(e=e()),n.memoizedState=n.baseState=e,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:ji,lastRenderedState:e},n.queue=e,e=e.dispatch=ts.bind(null,yi,e),[n.memoizedState,e]}function Fi(e,n,t,r){return e={tag:e,create:n,destroy:t,deps:r,next:null},null===(n=yi.updateQueue)?(n={lastEffect:null,stores:null},yi.updateQueue=n,n.lastEffect=e.next=e):null===(t=n.lastEffect)?n.lastEffect=e.next=e:(r=t.next,t.next=e,e.next=r,n.lastEffect=e),e}function zi(){return Pi().memoizedState}function Bi(e,n,t,r){var o=_i();yi.flags|=e,o.memoizedState=Fi(1|n,t,void 0,void 0===r?null:r)}function Ui(e,n,t,r){var o=Pi();r=void 0===r?null:r;var a=void 0;if(null!==hi){var i=hi.memoizedState;if(a=i.destroy,null!==r&&Si(r,i.deps))return void(o.memoizedState=Fi(n,t,a,r))}yi.flags|=e,o.memoizedState=Fi(1|n,t,a,r)}function Hi(e,n){return Bi(8390656,8,e,n)}function qi(e,n){return Ui(2048,8,e,n)}function Vi(e,n){return Ui(4,2,e,n)}function Zi(e,n){return Ui(4,4,e,n)}function Wi(e,n){return"function"==typeof n?(e=e(),n(e),function(){n(null)}):null!=n?(e=e(),n.current=e,function(){n.current=null}):void 0}function Gi(e,n,t){return t=null!=t?t.concat([e]):null,Ui(4,4,Wi.bind(null,n,e),t)}function Ki(){}function Yi(e,n){var t=Pi();n=void 0===n?null:n;var r=t.memoizedState;return null!==r&&null!==n&&Si(n,r[1])?r[0]:(t.memoizedState=[e,n],e)}function Qi(e,n){var t=Pi();n=void 0===n?null:n;var r=t.memoizedState;return null!==r&&null!==n&&Si(n,r[1])?r[0]:(e=e(),t.memoizedState=[e,n],e)}function Ji(e,n,t){return 0==(21&mi)?(e.baseState&&(e.baseState=!1,xs=!0),e.memoizedState=t):(sr(t,n)||(t=hn(),yi.lanes|=t,Il|=t,e.baseState=!0),n)}function Xi(e,n){var t=xn;xn=0!==t&&4>t?t:4,e(!0);var r=fi.transition;fi.transition={};try{e(!1),n()}finally{xn=t,fi.transition=r}}function es(){return Pi().memoizedState}function ns(e,n,t){var r=tc(e);if(t={lane:r,action:t,hasEagerState:!1,eagerState:null,next:null},rs(e))os(n,t);else if(null!==(t=Ta(e,n,t,r))){rc(t,e,r,nc()),as(t,n,r)}}function ts(e,n,t){var r=tc(e),o={lane:r,action:t,hasEagerState:!1,eagerState:null,next:null};if(rs(e))os(n,o);else{var a=e.alternate;if(0===e.lanes&&(null===a||0===a.lanes)&&null!==(a=n.lastRenderedReducer))try{var i=n.lastRenderedState,s=a(i,t);if(o.hasEagerState=!0,o.eagerState=s,sr(s,i)){var l=n.interleaved;return null===l?(o.next=o,ja(n)):(o.next=l.next,l.next=o),void(n.interleaved=o)}}catch(c){}null!==(t=Ta(e,n,o,r))&&(rc(t,e,r,o=nc()),as(t,n,r))}}function rs(e){var n=e.alternate;return e===yi||null!==n&&n===yi}function os(e,n){vi=bi=!0;var t=e.pending;null===t?n.next=n:(n.next=t.next,t.next=n),e.pending=n}function as(e,n,t){if(0!=(4194240&t)){var r=n.lanes;t|=r&=e.pendingLanes,n.lanes=t,vn(e,t)}}var is={readContext:_a,useCallback:ki,useContext:ki,useEffect:ki,useImperativeHandle:ki,useInsertionEffect:ki,useLayoutEffect:ki,useMemo:ki,useReducer:ki,useRef:ki,useState:ki,useDebugValue:ki,useDeferredValue:ki,useTransition:ki,useMutableSource:ki,useSyncExternalStore:ki,useId:ki,unstable_isNewReconciler:!1},ss={readContext:_a,useCallback:function(e,n){return _i().memoizedState=[e,void 0===n?null:n],e},useContext:_a,useEffect:Hi,useImperativeHandle:function(e,n,t){return t=null!=t?t.concat([e]):null,Bi(4194308,4,Wi.bind(null,n,e),t)},useLayoutEffect:function(e,n){return Bi(4194308,4,e,n)},useInsertionEffect:function(e,n){return Bi(4,2,e,n)},useMemo:function(e,n){var t=_i();return n=void 0===n?null:n,e=e(),t.memoizedState=[e,n],e},useReducer:function(e,n,t){var r=_i();return n=void 0!==t?t(n):n,r.memoizedState=r.baseState=n,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:n},r.queue=e,e=e.dispatch=ns.bind(null,yi,e),[r.memoizedState,e]},useRef:function(e){return e={current:e},_i().memoizedState=e},useState:Mi,useDebugValue:Ki,useDeferredValue:function(e){return _i().memoizedState=e},useTransition:function(){var e=Mi(!1),n=e[0];return e=Xi.bind(null,e[1]),_i().memoizedState=e,[n,e]},useMutableSource:function(){},useSyncExternalStore:function(e,n,t){var r=yi,o=_i();if(aa){if(void 0===t)throw Error(a(407));t=t()}else{if(t=n(),null===Ol)throw Error(a(349));0!=(30&mi)||Ni(r,n,t)}o.memoizedState=t;var i={value:t,getSnapshot:n};return o.queue=i,Hi(Li.bind(null,r,i,e),[e]),r.flags|=2048,Fi(9,Ai.bind(null,r,i,t,n),void 0,null),t},useId:function(){var e=_i(),n=Ol.identifierPrefix;if(aa){var t=Jo;n=":"+n+"R"+(t=(Qo&~(1<<32-sn(Qo)-1)).toString(32)+t),0<(t=xi++)&&(n+="H"+t.toString(32)),n+=":"}else n=":"+n+"r"+(t=wi++).toString(32)+":";return e.memoizedState=n},unstable_isNewReconciler:!1},ls={readContext:_a,useCallback:Yi,useContext:_a,useEffect:qi,useImperativeHandle:Gi,useInsertionEffect:Vi,useLayoutEffect:Zi,useMemo:Qi,useReducer:Ti,useRef:zi,useState:function(){return Ti(ji)},useDebugValue:Ki,useDeferredValue:function(e){return Ji(Pi(),hi.memoizedState,e)},useTransition:function(){return[Ti(ji)[0],Pi().memoizedState]},useMutableSource:$i,useSyncExternalStore:Ri,useId:es,unstable_isNewReconciler:!1},cs={readContext:_a,useCallback:Yi,useContext:_a,useEffect:qi,useImperativeHandle:Gi,useInsertionEffect:Vi,useLayoutEffect:Zi,useMemo:Qi,useReducer:Oi,useRef:zi,useState:function(){return Oi(ji)},useDebugValue:Ki,useDeferredValue:function(e){var n=Pi();return null===hi?n.memoizedState=e:Ji(n,hi.memoizedState,e)},useTransition:function(){return[Oi(ji)[0],Pi().memoizedState]},useMutableSource:$i,useSyncExternalStore:Ri,useId:es,unstable_isNewReconciler:!1};function ds(e,n){try{var t="",r=n;do{t+=B(r),r=r.return}while(r);var o=t}catch(a){o="\nError generating stack: "+a.message+"\n"+a.stack}return{value:e,source:n,stack:o,digest:null}}function us(e,n,t){return{value:e,source:null,stack:null!=t?t:null,digest:null!=n?n:null}}function ps(e,n){try{console.error(n.value)}catch(t){setTimeout((function(){throw t}))}}var fs="function"==typeof WeakMap?WeakMap:Map;function ms(e,n,t){(t=Aa(-1,t)).tag=3,t.payload={element:null};var r=n.value;return t.callback=function(){Vl||(Vl=!0,Zl=r),ps(0,n)},t}function ys(e,n,t){(t=Aa(-1,t)).tag=3;var r=e.type.getDerivedStateFromError;if("function"==typeof r){var o=n.value;t.payload=function(){return r(o)},t.callback=function(){ps(0,n)}}var a=e.stateNode;return null!==a&&"function"==typeof a.componentDidCatch&&(t.callback=function(){ps(0,n),"function"!=typeof r&&(null===Wl?Wl=new Set([this]):Wl.add(this));var e=n.stack;this.componentDidCatch(n.value,{componentStack:null!==e?e:""})}),t}function hs(e,n,t){var r=e.pingCache;if(null===r){r=e.pingCache=new fs;var o=new Set;r.set(n,o)}else void 0===(o=r.get(n))&&(o=new Set,r.set(n,o));o.has(t)||(o.add(t),e=_c.bind(null,e,n,t),n.then(e,e))}function gs(e){do{var n;if((n=13===e.tag)&&(n=null===(n=e.memoizedState)||null!==n.dehydrated),n)return e;e=e.return}while(null!==e);return null}function bs(e,n,t,r,o){return 0==(1&e.mode)?(e===n?e.flags|=65536:(e.flags|=128,t.flags|=131072,t.flags&=-52805,1===t.tag&&(null===t.alternate?t.tag=17:((n=Aa(-1,1)).tag=2,La(t,n,1))),t.lanes|=1),e):(e.flags|=65536,e.lanes=o,e)}var vs=x.ReactCurrentOwner,xs=!1;function ws(e,n,t,r){n.child=null===e?Ja(n,null,t,r):Qa(n,e.child,t,r)}function ks(e,n,t,r,o){t=t.render;var a=n.ref;return Ca(n,o),r=Ei(e,n,t,r,a,o),t=Ci(),null===e||xs?(aa&&t&&na(n),n.flags|=1,ws(e,n,r,o),n.child):(n.updateQueue=e.updateQueue,n.flags&=-2053,e.lanes&=~o,Vs(e,n,o))}function Ss(e,n,t,r,o){if(null===e){var a=t.type;return"function"!=typeof a||Nc(a)||void 0!==a.defaultProps||null!==t.compare||void 0!==t.defaultProps?((e=Lc(t.type,null,r,n,n.mode,o)).ref=n.ref,e.return=n,n.child=e):(n.tag=15,n.type=a,Es(e,n,a,r,o))}if(a=e.child,0==(e.lanes&o)){var i=a.memoizedProps;if((t=null!==(t=t.compare)?t:lr)(i,r)&&e.ref===n.ref)return Vs(e,n,o)}return n.flags|=1,(e=Ac(a,r)).ref=n.ref,e.return=n,n.child=e}function Es(e,n,t,r,o){if(null!==e){var a=e.memoizedProps;if(lr(a,r)&&e.ref===n.ref){if(xs=!1,n.pendingProps=r=a,0==(e.lanes&o))return n.lanes=e.lanes,Vs(e,n,o);0!=(131072&e.flags)&&(xs=!0)}}return Ps(e,n,t,r,o)}function Cs(e,n,t){var r=n.pendingProps,o=r.children,a=null!==e?e.memoizedState:null;if("hidden"===r.mode)if(0==(1&n.mode))n.memoizedState={baseLanes:0,cachePool:null,transitions:null},Po(Al,Nl),Nl|=t;else{if(0==(1073741824&t))return e=null!==a?a.baseLanes|t:t,n.lanes=n.childLanes=1073741824,n.memoizedState={baseLanes:e,cachePool:null,transitions:null},n.updateQueue=null,Po(Al,Nl),Nl|=e,null;n.memoizedState={baseLanes:0,cachePool:null,transitions:null},r=null!==a?a.baseLanes:t,Po(Al,Nl),Nl|=r}else null!==a?(r=a.baseLanes|t,n.memoizedState=null):r=t,Po(Al,Nl),Nl|=r;return ws(e,n,o,t),n.child}function _s(e,n){var t=n.ref;(null===e&&null!==t||null!==e&&e.ref!==t)&&(n.flags|=512,n.flags|=2097152)}function Ps(e,n,t,r,o){var a=No(t)?$o:To.current;return a=Ro(n,a),Ca(n,o),t=Ei(e,n,t,r,a,o),r=Ci(),null===e||xs?(aa&&r&&na(n),n.flags|=1,ws(e,n,t,o),n.child):(n.updateQueue=e.updateQueue,n.flags&=-2053,e.lanes&=~o,Vs(e,n,o))}function js(e,n,t,r,o){if(No(t)){var a=!0;Io(n)}else a=!1;if(Ca(n,o),null===n.stateNode)qs(e,n),qa(n,t,r),Za(n,t,r,o),r=!0;else if(null===e){var i=n.stateNode,s=n.memoizedProps;i.props=s;var l=i.context,c=t.contextType;"object"==typeof c&&null!==c?c=_a(c):c=Ro(n,c=No(t)?$o:To.current);var d=t.getDerivedStateFromProps,u="function"==typeof d||"function"==typeof i.getSnapshotBeforeUpdate;u||"function"!=typeof i.UNSAFE_componentWillReceiveProps&&"function"!=typeof i.componentWillReceiveProps||(s!==r||l!==c)&&Va(n,i,r,c),$a=!1;var p=n.memoizedState;i.state=p,Ma(n,r,i,o),l=n.memoizedState,s!==r||p!==l||Oo.current||$a?("function"==typeof d&&(Ba(n,t,d,r),l=n.memoizedState),(s=$a||Ha(n,t,s,r,p,l,c))?(u||"function"!=typeof i.UNSAFE_componentWillMount&&"function"!=typeof i.componentWillMount||("function"==typeof i.componentWillMount&&i.componentWillMount(),"function"==typeof i.UNSAFE_componentWillMount&&i.UNSAFE_componentWillMount()),"function"==typeof i.componentDidMount&&(n.flags|=4194308)):("function"==typeof i.componentDidMount&&(n.flags|=4194308),n.memoizedProps=r,n.memoizedState=l),i.props=r,i.state=l,i.context=c,r=s):("function"==typeof i.componentDidMount&&(n.flags|=4194308),r=!1)}else{i=n.stateNode,Na(e,n),s=n.memoizedProps,c=n.type===n.elementType?s:ga(n.type,s),i.props=c,u=n.pendingProps,p=i.context,"object"==typeof(l=t.contextType)&&null!==l?l=_a(l):l=Ro(n,l=No(t)?$o:To.current);var f=t.getDerivedStateFromProps;(d="function"==typeof f||"function"==typeof i.getSnapshotBeforeUpdate)||"function"!=typeof i.UNSAFE_componentWillReceiveProps&&"function"!=typeof i.componentWillReceiveProps||(s!==u||p!==l)&&Va(n,i,r,l),$a=!1,p=n.memoizedState,i.state=p,Ma(n,r,i,o);var m=n.memoizedState;s!==u||p!==m||Oo.current||$a?("function"==typeof f&&(Ba(n,t,f,r),m=n.memoizedState),(c=$a||Ha(n,t,c,r,p,m,l)||!1)?(d||"function"!=typeof i.UNSAFE_componentWillUpdate&&"function"!=typeof i.componentWillUpdate||("function"==typeof i.componentWillUpdate&&i.componentWillUpdate(r,m,l),"function"==typeof i.UNSAFE_componentWillUpdate&&i.UNSAFE_componentWillUpdate(r,m,l)),"function"==typeof i.componentDidUpdate&&(n.flags|=4),"function"==typeof i.getSnapshotBeforeUpdate&&(n.flags|=1024)):("function"!=typeof i.componentDidUpdate||s===e.memoizedProps&&p===e.memoizedState||(n.flags|=4),"function"!=typeof i.getSnapshotBeforeUpdate||s===e.memoizedProps&&p===e.memoizedState||(n.flags|=1024),n.memoizedProps=r,n.memoizedState=m),i.props=r,i.state=m,i.context=l,r=c):("function"!=typeof i.componentDidUpdate||s===e.memoizedProps&&p===e.memoizedState||(n.flags|=4),"function"!=typeof i.getSnapshotBeforeUpdate||s===e.memoizedProps&&p===e.memoizedState||(n.flags|=1024),r=!1)}return Ts(e,n,t,r,a,o)}function Ts(e,n,t,r,o,a){_s(e,n);var i=0!=(128&n.flags);if(!r&&!i)return o&&Mo(n,t,!1),Vs(e,n,a);r=n.stateNode,vs.current=n;var s=i&&"function"!=typeof t.getDerivedStateFromError?null:r.render();return n.flags|=1,null!==e&&i?(n.child=Qa(n,e.child,null,a),n.child=Qa(n,null,s,a)):ws(e,n,s,a),n.memoizedState=r.state,o&&Mo(n,t,!0),n.child}function Os(e){var n=e.stateNode;n.pendingContext?Lo(0,n.pendingContext,n.pendingContext!==n.context):n.context&&Lo(0,n.context,!1),oi(e,n.containerInfo)}function $s(e,n,t,r,o){return ma(),ya(o),n.flags|=256,ws(e,n,t,r),n.child}var Rs,Ns,As,Ls,Ds={dehydrated:null,treeContext:null,retryLane:0};function Is(e){return{baseLanes:e,cachePool:null,transitions:null}}function Ms(e,n,t){var r,o=n.pendingProps,i=li.current,s=!1,l=0!=(128&n.flags);if((r=l)||(r=(null===e||null!==e.memoizedState)&&0!=(2&i)),r?(s=!0,n.flags&=-129):null!==e&&null===e.memoizedState||(i|=1),Po(li,1&i),null===e)return da(n),null!==(e=n.memoizedState)&&null!==(e=e.dehydrated)?(0==(1&n.mode)?n.lanes=1:"$!"===e.data?n.lanes=8:n.lanes=1073741824,null):(l=o.children,e=o.fallback,s?(o=n.mode,s=n.child,l={mode:"hidden",children:l},0==(1&o)&&null!==s?(s.childLanes=0,s.pendingProps=l):s=Ic(l,o,0,null),e=Dc(e,o,t,null),s.return=n,e.return=n,s.sibling=e,n.child=s,n.child.memoizedState=Is(t),n.memoizedState=Ds,e):Fs(n,l));if(null!==(i=e.memoizedState)&&null!==(r=i.dehydrated))return function(e,n,t,r,o,i,s){if(t)return 256&n.flags?(n.flags&=-257,zs(e,n,s,r=us(Error(a(422))))):null!==n.memoizedState?(n.child=e.child,n.flags|=128,null):(i=r.fallback,o=n.mode,r=Ic({mode:"visible",children:r.children},o,0,null),(i=Dc(i,o,s,null)).flags|=2,r.return=n,i.return=n,r.sibling=i,n.child=r,0!=(1&n.mode)&&Qa(n,e.child,null,s),n.child.memoizedState=Is(s),n.memoizedState=Ds,i);if(0==(1&n.mode))return zs(e,n,s,null);if("$!"===o.data){if(r=o.nextSibling&&o.nextSibling.dataset)var l=r.dgst;return r=l,zs(e,n,s,r=us(i=Error(a(419)),r,void 0))}if(l=0!=(s&e.childLanes),xs||l){if(null!==(r=Ol)){switch(s&-s){case 4:o=2;break;case 16:o=8;break;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:case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:o=32;break;case 536870912:o=268435456;break;default:o=0}0!==(o=0!=(o&(r.suspendedLanes|s))?0:o)&&o!==i.retryLane&&(i.retryLane=o,Oa(e,o),rc(r,e,o,-1))}return hc(),zs(e,n,s,r=us(Error(a(421))))}return"$?"===o.data?(n.flags|=128,n.child=e.child,n=jc.bind(null,e),o._reactRetry=n,null):(e=i.treeContext,oa=co(o.nextSibling),ra=n,aa=!0,ia=null,null!==e&&(Go[Ko++]=Qo,Go[Ko++]=Jo,Go[Ko++]=Yo,Qo=e.id,Jo=e.overflow,Yo=n),n=Fs(n,r.children),n.flags|=4096,n)}(e,n,l,o,r,i,t);if(s){s=o.fallback,l=n.mode,r=(i=e.child).sibling;var c={mode:"hidden",children:o.children};return 0==(1&l)&&n.child!==i?((o=n.child).childLanes=0,o.pendingProps=c,n.deletions=null):(o=Ac(i,c)).subtreeFlags=14680064&i.subtreeFlags,null!==r?s=Ac(r,s):(s=Dc(s,l,t,null)).flags|=2,s.return=n,o.return=n,o.sibling=s,n.child=o,o=s,s=n.child,l=null===(l=e.child.memoizedState)?Is(t):{baseLanes:l.baseLanes|t,cachePool:null,transitions:l.transitions},s.memoizedState=l,s.childLanes=e.childLanes&~t,n.memoizedState=Ds,o}return e=(s=e.child).sibling,o=Ac(s,{mode:"visible",children:o.children}),0==(1&n.mode)&&(o.lanes=t),o.return=n,o.sibling=null,null!==e&&(null===(t=n.deletions)?(n.deletions=[e],n.flags|=16):t.push(e)),n.child=o,n.memoizedState=null,o}function Fs(e,n){return(n=Ic({mode:"visible",children:n},e.mode,0,null)).return=e,e.child=n}function zs(e,n,t,r){return null!==r&&ya(r),Qa(n,e.child,null,t),(e=Fs(n,n.pendingProps.children)).flags|=2,n.memoizedState=null,e}function Bs(e,n,t){e.lanes|=n;var r=e.alternate;null!==r&&(r.lanes|=n),Ea(e.return,n,t)}function Us(e,n,t,r,o){var a=e.memoizedState;null===a?e.memoizedState={isBackwards:n,rendering:null,renderingStartTime:0,last:r,tail:t,tailMode:o}:(a.isBackwards=n,a.rendering=null,a.renderingStartTime=0,a.last=r,a.tail=t,a.tailMode=o)}function Hs(e,n,t){var r=n.pendingProps,o=r.revealOrder,a=r.tail;if(ws(e,n,r.children,t),0!=(2&(r=li.current)))r=1&r|2,n.flags|=128;else{if(null!==e&&0!=(128&e.flags))e:for(e=n.child;null!==e;){if(13===e.tag)null!==e.memoizedState&&Bs(e,t,n);else if(19===e.tag)Bs(e,t,n);else if(null!==e.child){e.child.return=e,e=e.child;continue}if(e===n)break e;for(;null===e.sibling;){if(null===e.return||e.return===n)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}r&=1}if(Po(li,r),0==(1&n.mode))n.memoizedState=null;else switch(o){case"forwards":for(t=n.child,o=null;null!==t;)null!==(e=t.alternate)&&null===ci(e)&&(o=t),t=t.sibling;null===(t=o)?(o=n.child,n.child=null):(o=t.sibling,t.sibling=null),Us(n,!1,o,t,a);break;case"backwards":for(t=null,o=n.child,n.child=null;null!==o;){if(null!==(e=o.alternate)&&null===ci(e)){n.child=o;break}e=o.sibling,o.sibling=t,t=o,o=e}Us(n,!0,t,null,a);break;case"together":Us(n,!1,null,null,void 0);break;default:n.memoizedState=null}return n.child}function qs(e,n){0==(1&n.mode)&&null!==e&&(e.alternate=null,n.alternate=null,n.flags|=2)}function Vs(e,n,t){if(null!==e&&(n.dependencies=e.dependencies),Il|=n.lanes,0==(t&n.childLanes))return null;if(null!==e&&n.child!==e.child)throw Error(a(153));if(null!==n.child){for(t=Ac(e=n.child,e.pendingProps),n.child=t,t.return=n;null!==e.sibling;)e=e.sibling,(t=t.sibling=Ac(e,e.pendingProps)).return=n;t.sibling=null}return n.child}function Zs(e,n){if(!aa)switch(e.tailMode){case"hidden":n=e.tail;for(var t=null;null!==n;)null!==n.alternate&&(t=n),n=n.sibling;null===t?e.tail=null:t.sibling=null;break;case"collapsed":t=e.tail;for(var r=null;null!==t;)null!==t.alternate&&(r=t),t=t.sibling;null===r?n||null===e.tail?e.tail=null:e.tail.sibling=null:r.sibling=null}}function Ws(e){var n=null!==e.alternate&&e.alternate.child===e.child,t=0,r=0;if(n)for(var o=e.child;null!==o;)t|=o.lanes|o.childLanes,r|=14680064&o.subtreeFlags,r|=14680064&o.flags,o.return=e,o=o.sibling;else for(o=e.child;null!==o;)t|=o.lanes|o.childLanes,r|=o.subtreeFlags,r|=o.flags,o.return=e,o=o.sibling;return e.subtreeFlags|=r,e.childLanes=t,n}function Gs(e,n,t){var r=n.pendingProps;switch(ta(n),n.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Ws(n),null;case 1:case 17:return No(n.type)&&Ao(),Ws(n),null;case 3:return r=n.stateNode,ai(),_o(Oo),_o(To),ui(),r.pendingContext&&(r.context=r.pendingContext,r.pendingContext=null),null!==e&&null!==e.child||(pa(n)?n.flags|=4:null===e||e.memoizedState.isDehydrated&&0==(256&n.flags)||(n.flags|=1024,null!==ia&&(sc(ia),ia=null))),Ns(e,n),Ws(n),null;case 5:si(n);var o=ri(ti.current);if(t=n.type,null!==e&&null!=n.stateNode)As(e,n,t,r,o),e.ref!==n.ref&&(n.flags|=512,n.flags|=2097152);else{if(!r){if(null===n.stateNode)throw Error(a(166));return Ws(n),null}if(e=ri(ei.current),pa(n)){r=n.stateNode,t=n.type;var i=n.memoizedProps;switch(r[fo]=n,r[mo]=i,e=0!=(1&n.mode),t){case"dialog":Fr("cancel",r),Fr("close",r);break;case"iframe":case"object":case"embed":Fr("load",r);break;case"video":case"audio":for(o=0;o<Lr.length;o++)Fr(Lr[o],r);break;case"source":Fr("error",r);break;case"img":case"image":case"link":Fr("error",r),Fr("load",r);break;case"details":Fr("toggle",r);break;case"input":Y(r,i),Fr("invalid",r);break;case"select":r._wrapperState={wasMultiple:!!i.multiple},Fr("invalid",r);break;case"textarea":oe(r,i),Fr("invalid",r)}for(var l in be(t,i),o=null,i)if(i.hasOwnProperty(l)){var c=i[l];"children"===l?"string"==typeof c?r.textContent!==c&&(!0!==i.suppressHydrationWarning&&Jr(r.textContent,c,e),o=["children",c]):"number"==typeof c&&r.textContent!==""+c&&(!0!==i.suppressHydrationWarning&&Jr(r.textContent,c,e),o=["children",""+c]):s.hasOwnProperty(l)&&null!=c&&"onScroll"===l&&Fr("scroll",r)}switch(t){case"input":Z(r),X(r,i,!0);break;case"textarea":Z(r),ie(r);break;case"select":case"option":break;default:"function"==typeof i.onClick&&(r.onclick=Xr)}r=o,n.updateQueue=r,null!==r&&(n.flags|=4)}else{l=9===o.nodeType?o:o.ownerDocument,"http://www.w3.org/1999/xhtml"===e&&(e=se(t)),"http://www.w3.org/1999/xhtml"===e?"script"===t?((e=l.createElement("div")).innerHTML="<script><\/script>",e=e.removeChild(e.firstChild)):"string"==typeof r.is?e=l.createElement(t,{is:r.is}):(e=l.createElement(t),"select"===t&&(l=e,r.multiple?l.multiple=!0:r.size&&(l.size=r.size))):e=l.createElementNS(e,t),e[fo]=n,e[mo]=r,Rs(e,n,!1,!1),n.stateNode=e;e:{switch(l=ve(t,r),t){case"dialog":Fr("cancel",e),Fr("close",e),o=r;break;case"iframe":case"object":case"embed":Fr("load",e),o=r;break;case"video":case"audio":for(o=0;o<Lr.length;o++)Fr(Lr[o],e);o=r;break;case"source":Fr("error",e),o=r;break;case"img":case"image":case"link":Fr("error",e),Fr("load",e),o=r;break;case"details":Fr("toggle",e),o=r;break;case"input":Y(e,r),o=K(e,r),Fr("invalid",e);break;case"option":default:o=r;break;case"select":e._wrapperState={wasMultiple:!!r.multiple},o=I({},r,{value:void 0}),Fr("invalid",e);break;case"textarea":oe(e,r),o=re(e,r),Fr("invalid",e)}for(i in be(t,o),c=o)if(c.hasOwnProperty(i)){var d=c[i];"style"===i?he(e,d):"dangerouslySetInnerHTML"===i?null!=(d=d?d.__html:void 0)&&ue(e,d):"children"===i?"string"==typeof d?("textarea"!==t||""!==d)&&pe(e,d):"number"==typeof d&&pe(e,""+d):"suppressContentEditableWarning"!==i&&"suppressHydrationWarning"!==i&&"autoFocus"!==i&&(s.hasOwnProperty(i)?null!=d&&"onScroll"===i&&Fr("scroll",e):null!=d&&v(e,i,d,l))}switch(t){case"input":Z(e),X(e,r,!1);break;case"textarea":Z(e),ie(e);break;case"option":null!=r.value&&e.setAttribute("value",""+q(r.value));break;case"select":e.multiple=!!r.multiple,null!=(i=r.value)?te(e,!!r.multiple,i,!1):null!=r.defaultValue&&te(e,!!r.multiple,r.defaultValue,!0);break;default:"function"==typeof o.onClick&&(e.onclick=Xr)}switch(t){case"button":case"input":case"select":case"textarea":r=!!r.autoFocus;break e;case"img":r=!0;break e;default:r=!1}}r&&(n.flags|=4)}null!==n.ref&&(n.flags|=512,n.flags|=2097152)}return Ws(n),null;case 6:if(e&&null!=n.stateNode)Ls(e,n,e.memoizedProps,r);else{if("string"!=typeof r&&null===n.stateNode)throw Error(a(166));if(t=ri(ti.current),ri(ei.current),pa(n)){if(r=n.stateNode,t=n.memoizedProps,r[fo]=n,(i=r.nodeValue!==t)&&null!==(e=ra))switch(e.tag){case 3:Jr(r.nodeValue,t,0!=(1&e.mode));break;case 5:!0!==e.memoizedProps.suppressHydrationWarning&&Jr(r.nodeValue,t,0!=(1&e.mode))}i&&(n.flags|=4)}else(r=(9===t.nodeType?t:t.ownerDocument).createTextNode(r))[fo]=n,n.stateNode=r}return Ws(n),null;case 13:if(_o(li),r=n.memoizedState,null===e||null!==e.memoizedState&&null!==e.memoizedState.dehydrated){if(aa&&null!==oa&&0!=(1&n.mode)&&0==(128&n.flags))fa(),ma(),n.flags|=98560,i=!1;else if(i=pa(n),null!==r&&null!==r.dehydrated){if(null===e){if(!i)throw Error(a(318));if(!(i=null!==(i=n.memoizedState)?i.dehydrated:null))throw Error(a(317));i[fo]=n}else ma(),0==(128&n.flags)&&(n.memoizedState=null),n.flags|=4;Ws(n),i=!1}else null!==ia&&(sc(ia),ia=null),i=!0;if(!i)return 65536&n.flags?n:null}return 0!=(128&n.flags)?(n.lanes=t,n):((r=null!==r)!==(null!==e&&null!==e.memoizedState)&&r&&(n.child.flags|=8192,0!=(1&n.mode)&&(null===e||0!=(1&li.current)?0===Ll&&(Ll=3):hc())),null!==n.updateQueue&&(n.flags|=4),Ws(n),null);case 4:return ai(),Ns(e,n),null===e&&Ur(n.stateNode.containerInfo),Ws(n),null;case 10:return Sa(n.type._context),Ws(n),null;case 19:if(_o(li),null===(i=n.memoizedState))return Ws(n),null;if(r=0!=(128&n.flags),null===(l=i.rendering))if(r)Zs(i,!1);else{if(0!==Ll||null!==e&&0!=(128&e.flags))for(e=n.child;null!==e;){if(null!==(l=ci(e))){for(n.flags|=128,Zs(i,!1),null!==(r=l.updateQueue)&&(n.updateQueue=r,n.flags|=4),n.subtreeFlags=0,r=t,t=n.child;null!==t;)e=r,(i=t).flags&=14680066,null===(l=i.alternate)?(i.childLanes=0,i.lanes=e,i.child=null,i.subtreeFlags=0,i.memoizedProps=null,i.memoizedState=null,i.updateQueue=null,i.dependencies=null,i.stateNode=null):(i.childLanes=l.childLanes,i.lanes=l.lanes,i.child=l.child,i.subtreeFlags=0,i.deletions=null,i.memoizedProps=l.memoizedProps,i.memoizedState=l.memoizedState,i.updateQueue=l.updateQueue,i.type=l.type,e=l.dependencies,i.dependencies=null===e?null:{lanes:e.lanes,firstContext:e.firstContext}),t=t.sibling;return Po(li,1&li.current|2),n.child}e=e.sibling}null!==i.tail&&Qe()>Hl&&(n.flags|=128,r=!0,Zs(i,!1),n.lanes=4194304)}else{if(!r)if(null!==(e=ci(l))){if(n.flags|=128,r=!0,null!==(t=e.updateQueue)&&(n.updateQueue=t,n.flags|=4),Zs(i,!0),null===i.tail&&"hidden"===i.tailMode&&!l.alternate&&!aa)return Ws(n),null}else 2*Qe()-i.renderingStartTime>Hl&&1073741824!==t&&(n.flags|=128,r=!0,Zs(i,!1),n.lanes=4194304);i.isBackwards?(l.sibling=n.child,n.child=l):(null!==(t=i.last)?t.sibling=l:n.child=l,i.last=l)}return null!==i.tail?(n=i.tail,i.rendering=n,i.tail=n.sibling,i.renderingStartTime=Qe(),n.sibling=null,t=li.current,Po(li,r?1&t|2:1&t),n):(Ws(n),null);case 22:case 23:return pc(),r=null!==n.memoizedState,null!==e&&null!==e.memoizedState!==r&&(n.flags|=8192),r&&0!=(1&n.mode)?0!=(1073741824&Nl)&&(Ws(n),6&n.subtreeFlags&&(n.flags|=8192)):Ws(n),null;case 24:case 25:return null}throw Error(a(156,n.tag))}function Ks(e,n){switch(ta(n),n.tag){case 1:return No(n.type)&&Ao(),65536&(e=n.flags)?(n.flags=-65537&e|128,n):null;case 3:return ai(),_o(Oo),_o(To),ui(),0!=(65536&(e=n.flags))&&0==(128&e)?(n.flags=-65537&e|128,n):null;case 5:return si(n),null;case 13:if(_o(li),null!==(e=n.memoizedState)&&null!==e.dehydrated){if(null===n.alternate)throw Error(a(340));ma()}return 65536&(e=n.flags)?(n.flags=-65537&e|128,n):null;case 19:return _o(li),null;case 4:return ai(),null;case 10:return Sa(n.type._context),null;case 22:case 23:return pc(),null;default:return null}}Rs=function(e,n){for(var t=n.child;null!==t;){if(5===t.tag||6===t.tag)e.appendChild(t.stateNode);else if(4!==t.tag&&null!==t.child){t.child.return=t,t=t.child;continue}if(t===n)break;for(;null===t.sibling;){if(null===t.return||t.return===n)return;t=t.return}t.sibling.return=t.return,t=t.sibling}},Ns=function(){},As=function(e,n,t,r){var o=e.memoizedProps;if(o!==r){e=n.stateNode,ri(ei.current);var a,i=null;switch(t){case"input":o=K(e,o),r=K(e,r),i=[];break;case"select":o=I({},o,{value:void 0}),r=I({},r,{value:void 0}),i=[];break;case"textarea":o=re(e,o),r=re(e,r),i=[];break;default:"function"!=typeof o.onClick&&"function"==typeof r.onClick&&(e.onclick=Xr)}for(d in be(t,r),t=null,o)if(!r.hasOwnProperty(d)&&o.hasOwnProperty(d)&&null!=o[d])if("style"===d){var l=o[d];for(a in l)l.hasOwnProperty(a)&&(t||(t={}),t[a]="")}else"dangerouslySetInnerHTML"!==d&&"children"!==d&&"suppressContentEditableWarning"!==d&&"suppressHydrationWarning"!==d&&"autoFocus"!==d&&(s.hasOwnProperty(d)?i||(i=[]):(i=i||[]).push(d,null));for(d in r){var c=r[d];if(l=null!=o?o[d]:void 0,r.hasOwnProperty(d)&&c!==l&&(null!=c||null!=l))if("style"===d)if(l){for(a in l)!l.hasOwnProperty(a)||c&&c.hasOwnProperty(a)||(t||(t={}),t[a]="");for(a in c)c.hasOwnProperty(a)&&l[a]!==c[a]&&(t||(t={}),t[a]=c[a])}else t||(i||(i=[]),i.push(d,t)),t=c;else"dangerouslySetInnerHTML"===d?(c=c?c.__html:void 0,l=l?l.__html:void 0,null!=c&&l!==c&&(i=i||[]).push(d,c)):"children"===d?"string"!=typeof c&&"number"!=typeof c||(i=i||[]).push(d,""+c):"suppressContentEditableWarning"!==d&&"suppressHydrationWarning"!==d&&(s.hasOwnProperty(d)?(null!=c&&"onScroll"===d&&Fr("scroll",e),i||l===c||(i=[])):(i=i||[]).push(d,c))}t&&(i=i||[]).push("style",t);var d=i;(n.updateQueue=d)&&(n.flags|=4)}},Ls=function(e,n,t,r){t!==r&&(n.flags|=4)};var Ys=!1,Qs=!1,Js="function"==typeof WeakSet?WeakSet:Set,Xs=null;function el(e,n){var t=e.ref;if(null!==t)if("function"==typeof t)try{t(null)}catch(r){Cc(e,n,r)}else t.current=null}function nl(e,n,t){try{t()}catch(r){Cc(e,n,r)}}var tl=!1;function rl(e,n,t){var r=n.updateQueue;if(null!==(r=null!==r?r.lastEffect:null)){var o=r=r.next;do{if((o.tag&e)===e){var a=o.destroy;o.destroy=void 0,void 0!==a&&nl(n,t,a)}o=o.next}while(o!==r)}}function ol(e,n){if(null!==(n=null!==(n=n.updateQueue)?n.lastEffect:null)){var t=n=n.next;do{if((t.tag&e)===e){var r=t.create;t.destroy=r()}t=t.next}while(t!==n)}}function al(e){var n=e.ref;if(null!==n){var t=e.stateNode;e.tag,e=t,"function"==typeof n?n(e):n.current=e}}function il(e){var n=e.alternate;null!==n&&(e.alternate=null,il(n)),e.child=null,e.deletions=null,e.sibling=null,5===e.tag&&(null!==(n=e.stateNode)&&(delete n[fo],delete n[mo],delete n[ho],delete n[go],delete n[bo])),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}function sl(e){return 5===e.tag||3===e.tag||4===e.tag}function ll(e){e:for(;;){for(;null===e.sibling;){if(null===e.return||sl(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;5!==e.tag&&6!==e.tag&&18!==e.tag;){if(2&e.flags)continue e;if(null===e.child||4===e.tag)continue e;e.child.return=e,e=e.child}if(!(2&e.flags))return e.stateNode}}function cl(e,n,t){var r=e.tag;if(5===r||6===r)e=e.stateNode,n?8===t.nodeType?t.parentNode.insertBefore(e,n):t.insertBefore(e,n):(8===t.nodeType?(n=t.parentNode).insertBefore(e,t):(n=t).appendChild(e),null!=(t=t._reactRootContainer)||null!==n.onclick||(n.onclick=Xr));else if(4!==r&&null!==(e=e.child))for(cl(e,n,t),e=e.sibling;null!==e;)cl(e,n,t),e=e.sibling}function dl(e,n,t){var r=e.tag;if(5===r||6===r)e=e.stateNode,n?t.insertBefore(e,n):t.appendChild(e);else if(4!==r&&null!==(e=e.child))for(dl(e,n,t),e=e.sibling;null!==e;)dl(e,n,t),e=e.sibling}var ul=null,pl=!1;function fl(e,n,t){for(t=t.child;null!==t;)ml(e,n,t),t=t.sibling}function ml(e,n,t){if(an&&"function"==typeof an.onCommitFiberUnmount)try{an.onCommitFiberUnmount(on,t)}catch(s){}switch(t.tag){case 5:Qs||el(t,n);case 6:var r=ul,o=pl;ul=null,fl(e,n,t),pl=o,null!==(ul=r)&&(pl?(e=ul,t=t.stateNode,8===e.nodeType?e.parentNode.removeChild(t):e.removeChild(t)):ul.removeChild(t.stateNode));break;case 18:null!==ul&&(pl?(e=ul,t=t.stateNode,8===e.nodeType?lo(e.parentNode,t):1===e.nodeType&&lo(e,t),Hn(e)):lo(ul,t.stateNode));break;case 4:r=ul,o=pl,ul=t.stateNode.containerInfo,pl=!0,fl(e,n,t),ul=r,pl=o;break;case 0:case 11:case 14:case 15:if(!Qs&&(null!==(r=t.updateQueue)&&null!==(r=r.lastEffect))){o=r=r.next;do{var a=o,i=a.destroy;a=a.tag,void 0!==i&&(0!=(2&a)||0!=(4&a))&&nl(t,n,i),o=o.next}while(o!==r)}fl(e,n,t);break;case 1:if(!Qs&&(el(t,n),"function"==typeof(r=t.stateNode).componentWillUnmount))try{r.props=t.memoizedProps,r.state=t.memoizedState,r.componentWillUnmount()}catch(s){Cc(t,n,s)}fl(e,n,t);break;case 21:fl(e,n,t);break;case 22:1&t.mode?(Qs=(r=Qs)||null!==t.memoizedState,fl(e,n,t),Qs=r):fl(e,n,t);break;default:fl(e,n,t)}}function yl(e){var n=e.updateQueue;if(null!==n){e.updateQueue=null;var t=e.stateNode;null===t&&(t=e.stateNode=new Js),n.forEach((function(n){var r=Tc.bind(null,e,n);t.has(n)||(t.add(n),n.then(r,r))}))}}function hl(e,n){var t=n.deletions;if(null!==t)for(var r=0;r<t.length;r++){var o=t[r];try{var i=e,s=n,l=s;e:for(;null!==l;){switch(l.tag){case 5:ul=l.stateNode,pl=!1;break e;case 3:case 4:ul=l.stateNode.containerInfo,pl=!0;break e}l=l.return}if(null===ul)throw Error(a(160));ml(i,s,o),ul=null,pl=!1;var c=o.alternate;null!==c&&(c.return=null),o.return=null}catch(d){Cc(o,n,d)}}if(12854&n.subtreeFlags)for(n=n.child;null!==n;)gl(n,e),n=n.sibling}function gl(e,n){var t=e.alternate,r=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:if(hl(n,e),bl(e),4&r){try{rl(3,e,e.return),ol(3,e)}catch(h){Cc(e,e.return,h)}try{rl(5,e,e.return)}catch(h){Cc(e,e.return,h)}}break;case 1:hl(n,e),bl(e),512&r&&null!==t&&el(t,t.return);break;case 5:if(hl(n,e),bl(e),512&r&&null!==t&&el(t,t.return),32&e.flags){var o=e.stateNode;try{pe(o,"")}catch(h){Cc(e,e.return,h)}}if(4&r&&null!=(o=e.stateNode)){var i=e.memoizedProps,s=null!==t?t.memoizedProps:i,l=e.type,c=e.updateQueue;if(e.updateQueue=null,null!==c)try{"input"===l&&"radio"===i.type&&null!=i.name&&Q(o,i),ve(l,s);var d=ve(l,i);for(s=0;s<c.length;s+=2){var u=c[s],p=c[s+1];"style"===u?he(o,p):"dangerouslySetInnerHTML"===u?ue(o,p):"children"===u?pe(o,p):v(o,u,p,d)}switch(l){case"input":J(o,i);break;case"textarea":ae(o,i);break;case"select":var f=o._wrapperState.wasMultiple;o._wrapperState.wasMultiple=!!i.multiple;var m=i.value;null!=m?te(o,!!i.multiple,m,!1):f!==!!i.multiple&&(null!=i.defaultValue?te(o,!!i.multiple,i.defaultValue,!0):te(o,!!i.multiple,i.multiple?[]:"",!1))}o[mo]=i}catch(h){Cc(e,e.return,h)}}break;case 6:if(hl(n,e),bl(e),4&r){if(null===e.stateNode)throw Error(a(162));o=e.stateNode,i=e.memoizedProps;try{o.nodeValue=i}catch(h){Cc(e,e.return,h)}}break;case 3:if(hl(n,e),bl(e),4&r&&null!==t&&t.memoizedState.isDehydrated)try{Hn(n.containerInfo)}catch(h){Cc(e,e.return,h)}break;case 4:default:hl(n,e),bl(e);break;case 13:hl(n,e),bl(e),8192&(o=e.child).flags&&(i=null!==o.memoizedState,o.stateNode.isHidden=i,!i||null!==o.alternate&&null!==o.alternate.memoizedState||(Ul=Qe())),4&r&&yl(e);break;case 22:if(u=null!==t&&null!==t.memoizedState,1&e.mode?(Qs=(d=Qs)||u,hl(n,e),Qs=d):hl(n,e),bl(e),8192&r){if(d=null!==e.memoizedState,(e.stateNode.isHidden=d)&&!u&&0!=(1&e.mode))for(Xs=e,u=e.child;null!==u;){for(p=Xs=u;null!==Xs;){switch(m=(f=Xs).child,f.tag){case 0:case 11:case 14:case 15:rl(4,f,f.return);break;case 1:el(f,f.return);var y=f.stateNode;if("function"==typeof y.componentWillUnmount){r=f,t=f.return;try{n=r,y.props=n.memoizedProps,y.state=n.memoizedState,y.componentWillUnmount()}catch(h){Cc(r,t,h)}}break;case 5:el(f,f.return);break;case 22:if(null!==f.memoizedState){kl(p);continue}}null!==m?(m.return=f,Xs=m):kl(p)}u=u.sibling}e:for(u=null,p=e;;){if(5===p.tag){if(null===u){u=p;try{o=p.stateNode,d?"function"==typeof(i=o.style).setProperty?i.setProperty("display","none","important"):i.display="none":(l=p.stateNode,s=null!=(c=p.memoizedProps.style)&&c.hasOwnProperty("display")?c.display:null,l.style.display=ye("display",s))}catch(h){Cc(e,e.return,h)}}}else if(6===p.tag){if(null===u)try{p.stateNode.nodeValue=d?"":p.memoizedProps}catch(h){Cc(e,e.return,h)}}else if((22!==p.tag&&23!==p.tag||null===p.memoizedState||p===e)&&null!==p.child){p.child.return=p,p=p.child;continue}if(p===e)break e;for(;null===p.sibling;){if(null===p.return||p.return===e)break e;u===p&&(u=null),p=p.return}u===p&&(u=null),p.sibling.return=p.return,p=p.sibling}}break;case 19:hl(n,e),bl(e),4&r&&yl(e);case 21:}}function bl(e){var n=e.flags;if(2&n){try{e:{for(var t=e.return;null!==t;){if(sl(t)){var r=t;break e}t=t.return}throw Error(a(160))}switch(r.tag){case 5:var o=r.stateNode;32&r.flags&&(pe(o,""),r.flags&=-33),dl(e,ll(e),o);break;case 3:case 4:var i=r.stateNode.containerInfo;cl(e,ll(e),i);break;default:throw Error(a(161))}}catch(s){Cc(e,e.return,s)}e.flags&=-3}4096&n&&(e.flags&=-4097)}function vl(e,n,t){Xs=e,xl(e,n,t)}function xl(e,n,t){for(var r=0!=(1&e.mode);null!==Xs;){var o=Xs,a=o.child;if(22===o.tag&&r){var i=null!==o.memoizedState||Ys;if(!i){var s=o.alternate,l=null!==s&&null!==s.memoizedState||Qs;s=Ys;var c=Qs;if(Ys=i,(Qs=l)&&!c)for(Xs=o;null!==Xs;)l=(i=Xs).child,22===i.tag&&null!==i.memoizedState?Sl(o):null!==l?(l.return=i,Xs=l):Sl(o);for(;null!==a;)Xs=a,xl(a,n,t),a=a.sibling;Xs=o,Ys=s,Qs=c}wl(e)}else 0!=(8772&o.subtreeFlags)&&null!==a?(a.return=o,Xs=a):wl(e)}}function wl(e){for(;null!==Xs;){var n=Xs;if(0!=(8772&n.flags)){var t=n.alternate;try{if(0!=(8772&n.flags))switch(n.tag){case 0:case 11:case 15:Qs||ol(5,n);break;case 1:var r=n.stateNode;if(4&n.flags&&!Qs)if(null===t)r.componentDidMount();else{var o=n.elementType===n.type?t.memoizedProps:ga(n.type,t.memoizedProps);r.componentDidUpdate(o,t.memoizedState,r.__reactInternalSnapshotBeforeUpdate)}var i=n.updateQueue;null!==i&&Fa(n,i,r);break;case 3:var s=n.updateQueue;if(null!==s){if(t=null,null!==n.child)switch(n.child.tag){case 5:case 1:t=n.child.stateNode}Fa(n,s,t)}break;case 5:var l=n.stateNode;if(null===t&&4&n.flags){t=l;var c=n.memoizedProps;switch(n.type){case"button":case"input":case"select":case"textarea":c.autoFocus&&t.focus();break;case"img":c.src&&(t.src=c.src)}}break;case 6:case 4:case 12:case 19:case 17:case 21:case 22:case 23:case 25:break;case 13:if(null===n.memoizedState){var d=n.alternate;if(null!==d){var u=d.memoizedState;if(null!==u){var p=u.dehydrated;null!==p&&Hn(p)}}}break;default:throw Error(a(163))}Qs||512&n.flags&&al(n)}catch(f){Cc(n,n.return,f)}}if(n===e){Xs=null;break}if(null!==(t=n.sibling)){t.return=n.return,Xs=t;break}Xs=n.return}}function kl(e){for(;null!==Xs;){var n=Xs;if(n===e){Xs=null;break}var t=n.sibling;if(null!==t){t.return=n.return,Xs=t;break}Xs=n.return}}function Sl(e){for(;null!==Xs;){var n=Xs;try{switch(n.tag){case 0:case 11:case 15:var t=n.return;try{ol(4,n)}catch(l){Cc(n,t,l)}break;case 1:var r=n.stateNode;if("function"==typeof r.componentDidMount){var o=n.return;try{r.componentDidMount()}catch(l){Cc(n,o,l)}}var a=n.return;try{al(n)}catch(l){Cc(n,a,l)}break;case 5:var i=n.return;try{al(n)}catch(l){Cc(n,i,l)}}}catch(l){Cc(n,n.return,l)}if(n===e){Xs=null;break}var s=n.sibling;if(null!==s){s.return=n.return,Xs=s;break}Xs=n.return}}var El,Cl=Math.ceil,_l=x.ReactCurrentDispatcher,Pl=x.ReactCurrentOwner,jl=x.ReactCurrentBatchConfig,Tl=0,Ol=null,$l=null,Rl=0,Nl=0,Al=Co(0),Ll=0,Dl=null,Il=0,Ml=0,Fl=0,zl=null,Bl=null,Ul=0,Hl=1/0,ql=null,Vl=!1,Zl=null,Wl=null,Gl=!1,Kl=null,Yl=0,Ql=0,Jl=null,Xl=-1,ec=0;function nc(){return 0!=(6&Tl)?Qe():-1!==Xl?Xl:Xl=Qe()}function tc(e){return 0==(1&e.mode)?1:0!=(2&Tl)&&0!==Rl?Rl&-Rl:null!==ha.transition?(0===ec&&(ec=hn()),ec):0!==(e=xn)?e:e=void 0===(e=window.event)?16:Qn(e.type)}function rc(e,n,t,r){if(50<Ql)throw Ql=0,Jl=null,Error(a(185));bn(e,t,r),0!=(2&Tl)&&e===Ol||(e===Ol&&(0==(2&Tl)&&(Ml|=t),4===Ll&&lc(e,Rl)),oc(e,r),1===t&&0===Tl&&0==(1&n.mode)&&(Hl=Qe()+500,zo&&Ho()))}function oc(e,n){var t=e.callbackNode;!function(e,n){for(var t=e.suspendedLanes,r=e.pingedLanes,o=e.expirationTimes,a=e.pendingLanes;0<a;){var i=31-sn(a),s=1<<i,l=o[i];-1===l?0!=(s&t)&&0==(s&r)||(o[i]=mn(s,n)):l<=n&&(e.expiredLanes|=s),a&=~s}}(e,n);var r=fn(e,e===Ol?Rl:0);if(0===r)null!==t&&Ge(t),e.callbackNode=null,e.callbackPriority=0;else if(n=r&-r,e.callbackPriority!==n){if(null!=t&&Ge(t),1===n)0===e.tag?function(e){zo=!0,Uo(e)}(cc.bind(null,e)):Uo(cc.bind(null,e)),io((function(){0==(6&Tl)&&Ho()})),t=null;else{switch(wn(r)){case 1:t=Xe;break;case 4:t=en;break;case 16:default:t=nn;break;case 536870912:t=rn}t=Oc(t,ac.bind(null,e))}e.callbackPriority=n,e.callbackNode=t}}function ac(e,n){if(Xl=-1,ec=0,0!=(6&Tl))throw Error(a(327));var t=e.callbackNode;if(Sc()&&e.callbackNode!==t)return null;var r=fn(e,e===Ol?Rl:0);if(0===r)return null;if(0!=(30&r)||0!=(r&e.expiredLanes)||n)n=gc(e,r);else{n=r;var o=Tl;Tl|=2;var i=yc();for(Ol===e&&Rl===n||(ql=null,Hl=Qe()+500,fc(e,n));;)try{vc();break}catch(l){mc(e,l)}ka(),_l.current=i,Tl=o,null!==$l?n=0:(Ol=null,Rl=0,n=Ll)}if(0!==n){if(2===n&&(0!==(o=yn(e))&&(r=o,n=ic(e,o))),1===n)throw t=Dl,fc(e,0),lc(e,r),oc(e,Qe()),t;if(6===n)lc(e,r);else{if(o=e.current.alternate,0==(30&r)&&!function(e){for(var n=e;;){if(16384&n.flags){var t=n.updateQueue;if(null!==t&&null!==(t=t.stores))for(var r=0;r<t.length;r++){var o=t[r],a=o.getSnapshot;o=o.value;try{if(!sr(a(),o))return!1}catch(s){return!1}}}if(t=n.child,16384&n.subtreeFlags&&null!==t)t.return=n,n=t;else{if(n===e)break;for(;null===n.sibling;){if(null===n.return||n.return===e)return!0;n=n.return}n.sibling.return=n.return,n=n.sibling}}return!0}(o)&&(2===(n=gc(e,r))&&(0!==(i=yn(e))&&(r=i,n=ic(e,i))),1===n))throw t=Dl,fc(e,0),lc(e,r),oc(e,Qe()),t;switch(e.finishedWork=o,e.finishedLanes=r,n){case 0:case 1:throw Error(a(345));case 2:case 5:kc(e,Bl,ql);break;case 3:if(lc(e,r),(130023424&r)===r&&10<(n=Ul+500-Qe())){if(0!==fn(e,0))break;if(((o=e.suspendedLanes)&r)!==r){nc(),e.pingedLanes|=e.suspendedLanes&o;break}e.timeoutHandle=ro(kc.bind(null,e,Bl,ql),n);break}kc(e,Bl,ql);break;case 4:if(lc(e,r),(4194240&r)===r)break;for(n=e.eventTimes,o=-1;0<r;){var s=31-sn(r);i=1<<s,(s=n[s])>o&&(o=s),r&=~i}if(r=o,10<(r=(120>(r=Qe()-r)?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*Cl(r/1960))-r)){e.timeoutHandle=ro(kc.bind(null,e,Bl,ql),r);break}kc(e,Bl,ql);break;default:throw Error(a(329))}}}return oc(e,Qe()),e.callbackNode===t?ac.bind(null,e):null}function ic(e,n){var t=zl;return e.current.memoizedState.isDehydrated&&(fc(e,n).flags|=256),2!==(e=gc(e,n))&&(n=Bl,Bl=t,null!==n&&sc(n)),e}function sc(e){null===Bl?Bl=e:Bl.push.apply(Bl,e)}function lc(e,n){for(n&=~Fl,n&=~Ml,e.suspendedLanes|=n,e.pingedLanes&=~n,e=e.expirationTimes;0<n;){var t=31-sn(n),r=1<<t;e[t]=-1,n&=~r}}function cc(e){if(0!=(6&Tl))throw Error(a(327));Sc();var n=fn(e,0);if(0==(1&n))return oc(e,Qe()),null;var t=gc(e,n);if(0!==e.tag&&2===t){var r=yn(e);0!==r&&(n=r,t=ic(e,r))}if(1===t)throw t=Dl,fc(e,0),lc(e,n),oc(e,Qe()),t;if(6===t)throw Error(a(345));return e.finishedWork=e.current.alternate,e.finishedLanes=n,kc(e,Bl,ql),oc(e,Qe()),null}function dc(e,n){var t=Tl;Tl|=1;try{return e(n)}finally{0===(Tl=t)&&(Hl=Qe()+500,zo&&Ho())}}function uc(e){null!==Kl&&0===Kl.tag&&0==(6&Tl)&&Sc();var n=Tl;Tl|=1;var t=jl.transition,r=xn;try{if(jl.transition=null,xn=1,e)return e()}finally{xn=r,jl.transition=t,0==(6&(Tl=n))&&Ho()}}function pc(){Nl=Al.current,_o(Al)}function fc(e,n){e.finishedWork=null,e.finishedLanes=0;var t=e.timeoutHandle;if(-1!==t&&(e.timeoutHandle=-1,oo(t)),null!==$l)for(t=$l.return;null!==t;){var r=t;switch(ta(r),r.tag){case 1:null!=(r=r.type.childContextTypes)&&Ao();break;case 3:ai(),_o(Oo),_o(To),ui();break;case 5:si(r);break;case 4:ai();break;case 13:case 19:_o(li);break;case 10:Sa(r.type._context);break;case 22:case 23:pc()}t=t.return}if(Ol=e,$l=e=Ac(e.current,null),Rl=Nl=n,Ll=0,Dl=null,Fl=Ml=Il=0,Bl=zl=null,null!==Pa){for(n=0;n<Pa.length;n++)if(null!==(r=(t=Pa[n]).interleaved)){t.interleaved=null;var o=r.next,a=t.pending;if(null!==a){var i=a.next;a.next=o,r.next=i}t.pending=r}Pa=null}return e}function mc(e,n){for(;;){var t=$l;try{if(ka(),pi.current=is,bi){for(var r=yi.memoizedState;null!==r;){var o=r.queue;null!==o&&(o.pending=null),r=r.next}bi=!1}if(mi=0,gi=hi=yi=null,vi=!1,xi=0,Pl.current=null,null===t||null===t.return){Ll=1,Dl=n,$l=null;break}e:{var i=e,s=t.return,l=t,c=n;if(n=Rl,l.flags|=32768,null!==c&&"object"==typeof c&&"function"==typeof c.then){var d=c,u=l,p=u.tag;if(0==(1&u.mode)&&(0===p||11===p||15===p)){var f=u.alternate;f?(u.updateQueue=f.updateQueue,u.memoizedState=f.memoizedState,u.lanes=f.lanes):(u.updateQueue=null,u.memoizedState=null)}var m=gs(s);if(null!==m){m.flags&=-257,bs(m,s,l,0,n),1&m.mode&&hs(i,d,n),c=d;var y=(n=m).updateQueue;if(null===y){var h=new Set;h.add(c),n.updateQueue=h}else y.add(c);break e}if(0==(1&n)){hs(i,d,n),hc();break e}c=Error(a(426))}else if(aa&&1&l.mode){var g=gs(s);if(null!==g){0==(65536&g.flags)&&(g.flags|=256),bs(g,s,l,0,n),ya(ds(c,l));break e}}i=c=ds(c,l),4!==Ll&&(Ll=2),null===zl?zl=[i]:zl.push(i),i=s;do{switch(i.tag){case 3:i.flags|=65536,n&=-n,i.lanes|=n,Ia(i,ms(0,c,n));break e;case 1:l=c;var b=i.type,v=i.stateNode;if(0==(128&i.flags)&&("function"==typeof b.getDerivedStateFromError||null!==v&&"function"==typeof v.componentDidCatch&&(null===Wl||!Wl.has(v)))){i.flags|=65536,n&=-n,i.lanes|=n,Ia(i,ys(i,l,n));break e}}i=i.return}while(null!==i)}wc(t)}catch(x){n=x,$l===t&&null!==t&&($l=t=t.return);continue}break}}function yc(){var e=_l.current;return _l.current=is,null===e?is:e}function hc(){0!==Ll&&3!==Ll&&2!==Ll||(Ll=4),null===Ol||0==(268435455&Il)&&0==(268435455&Ml)||lc(Ol,Rl)}function gc(e,n){var t=Tl;Tl|=2;var r=yc();for(Ol===e&&Rl===n||(ql=null,fc(e,n));;)try{bc();break}catch(o){mc(e,o)}if(ka(),Tl=t,_l.current=r,null!==$l)throw Error(a(261));return Ol=null,Rl=0,Ll}function bc(){for(;null!==$l;)xc($l)}function vc(){for(;null!==$l&&!Ke();)xc($l)}function xc(e){var n=El(e.alternate,e,Nl);e.memoizedProps=e.pendingProps,null===n?wc(e):$l=n,Pl.current=null}function wc(e){var n=e;do{var t=n.alternate;if(e=n.return,0==(32768&n.flags)){if(null!==(t=Gs(t,n,Nl)))return void($l=t)}else{if(null!==(t=Ks(t,n)))return t.flags&=32767,void($l=t);if(null===e)return Ll=6,void($l=null);e.flags|=32768,e.subtreeFlags=0,e.deletions=null}if(null!==(n=n.sibling))return void($l=n);$l=n=e}while(null!==n);0===Ll&&(Ll=5)}function kc(e,n,t){var r=xn,o=jl.transition;try{jl.transition=null,xn=1,function(e,n,t,r){do{Sc()}while(null!==Kl);if(0!=(6&Tl))throw Error(a(327));t=e.finishedWork;var o=e.finishedLanes;if(null===t)return null;if(e.finishedWork=null,e.finishedLanes=0,t===e.current)throw Error(a(177));e.callbackNode=null,e.callbackPriority=0;var i=t.lanes|t.childLanes;if(function(e,n){var t=e.pendingLanes&~n;e.pendingLanes=n,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=n,e.mutableReadLanes&=n,e.entangledLanes&=n,n=e.entanglements;var r=e.eventTimes;for(e=e.expirationTimes;0<t;){var o=31-sn(t),a=1<<o;n[o]=0,r[o]=-1,e[o]=-1,t&=~a}}(e,i),e===Ol&&($l=Ol=null,Rl=0),0==(2064&t.subtreeFlags)&&0==(2064&t.flags)||Gl||(Gl=!0,Oc(nn,(function(){return Sc(),null}))),i=0!=(15990&t.flags),0!=(15990&t.subtreeFlags)||i){i=jl.transition,jl.transition=null;var s=xn;xn=1;var l=Tl;Tl|=4,Pl.current=null,function(e,n){if(eo=Vn,fr(e=pr())){if("selectionStart"in e)var t={start:e.selectionStart,end:e.selectionEnd};else e:{var r=(t=(t=e.ownerDocument)&&t.defaultView||window).getSelection&&t.getSelection();if(r&&0!==r.rangeCount){t=r.anchorNode;var o=r.anchorOffset,i=r.focusNode;r=r.focusOffset;try{t.nodeType,i.nodeType}catch(w){t=null;break e}var s=0,l=-1,c=-1,d=0,u=0,p=e,f=null;n:for(;;){for(var m;p!==t||0!==o&&3!==p.nodeType||(l=s+o),p!==i||0!==r&&3!==p.nodeType||(c=s+r),3===p.nodeType&&(s+=p.nodeValue.length),null!==(m=p.firstChild);)f=p,p=m;for(;;){if(p===e)break n;if(f===t&&++d===o&&(l=s),f===i&&++u===r&&(c=s),null!==(m=p.nextSibling))break;f=(p=f).parentNode}p=m}t=-1===l||-1===c?null:{start:l,end:c}}else t=null}t=t||{start:0,end:0}}else t=null;for(no={focusedElem:e,selectionRange:t},Vn=!1,Xs=n;null!==Xs;)if(e=(n=Xs).child,0!=(1028&n.subtreeFlags)&&null!==e)e.return=n,Xs=e;else for(;null!==Xs;){n=Xs;try{var y=n.alternate;if(0!=(1024&n.flags))switch(n.tag){case 0:case 11:case 15:case 5:case 6:case 4:case 17:break;case 1:if(null!==y){var h=y.memoizedProps,g=y.memoizedState,b=n.stateNode,v=b.getSnapshotBeforeUpdate(n.elementType===n.type?h:ga(n.type,h),g);b.__reactInternalSnapshotBeforeUpdate=v}break;case 3:var x=n.stateNode.containerInfo;1===x.nodeType?x.textContent="":9===x.nodeType&&x.documentElement&&x.removeChild(x.documentElement);break;default:throw Error(a(163))}}catch(w){Cc(n,n.return,w)}if(null!==(e=n.sibling)){e.return=n.return,Xs=e;break}Xs=n.return}y=tl,tl=!1}(e,t),gl(t,e),mr(no),Vn=!!eo,no=eo=null,e.current=t,vl(t,e,o),Ye(),Tl=l,xn=s,jl.transition=i}else e.current=t;if(Gl&&(Gl=!1,Kl=e,Yl=o),i=e.pendingLanes,0===i&&(Wl=null),function(e){if(an&&"function"==typeof an.onCommitFiberRoot)try{an.onCommitFiberRoot(on,e,void 0,128==(128&e.current.flags))}catch(n){}}(t.stateNode),oc(e,Qe()),null!==n)for(r=e.onRecoverableError,t=0;t<n.length;t++)o=n[t],r(o.value,{componentStack:o.stack,digest:o.digest});if(Vl)throw Vl=!1,e=Zl,Zl=null,e;0!=(1&Yl)&&0!==e.tag&&Sc(),i=e.pendingLanes,0!=(1&i)?e===Jl?Ql++:(Ql=0,Jl=e):Ql=0,Ho()}(e,n,t,r)}finally{jl.transition=o,xn=r}return null}function Sc(){if(null!==Kl){var e=wn(Yl),n=jl.transition,t=xn;try{if(jl.transition=null,xn=16>e?16:e,null===Kl)var r=!1;else{if(e=Kl,Kl=null,Yl=0,0!=(6&Tl))throw Error(a(331));var o=Tl;for(Tl|=4,Xs=e.current;null!==Xs;){var i=Xs,s=i.child;if(0!=(16&Xs.flags)){var l=i.deletions;if(null!==l){for(var c=0;c<l.length;c++){var d=l[c];for(Xs=d;null!==Xs;){var u=Xs;switch(u.tag){case 0:case 11:case 15:rl(8,u,i)}var p=u.child;if(null!==p)p.return=u,Xs=p;else for(;null!==Xs;){var f=(u=Xs).sibling,m=u.return;if(il(u),u===d){Xs=null;break}if(null!==f){f.return=m,Xs=f;break}Xs=m}}}var y=i.alternate;if(null!==y){var h=y.child;if(null!==h){y.child=null;do{var g=h.sibling;h.sibling=null,h=g}while(null!==h)}}Xs=i}}if(0!=(2064&i.subtreeFlags)&&null!==s)s.return=i,Xs=s;else e:for(;null!==Xs;){if(0!=(2048&(i=Xs).flags))switch(i.tag){case 0:case 11:case 15:rl(9,i,i.return)}var b=i.sibling;if(null!==b){b.return=i.return,Xs=b;break e}Xs=i.return}}var v=e.current;for(Xs=v;null!==Xs;){var x=(s=Xs).child;if(0!=(2064&s.subtreeFlags)&&null!==x)x.return=s,Xs=x;else e:for(s=v;null!==Xs;){if(0!=(2048&(l=Xs).flags))try{switch(l.tag){case 0:case 11:case 15:ol(9,l)}}catch(k){Cc(l,l.return,k)}if(l===s){Xs=null;break e}var w=l.sibling;if(null!==w){w.return=l.return,Xs=w;break e}Xs=l.return}}if(Tl=o,Ho(),an&&"function"==typeof an.onPostCommitFiberRoot)try{an.onPostCommitFiberRoot(on,e)}catch(k){}r=!0}return r}finally{xn=t,jl.transition=n}}return!1}function Ec(e,n,t){e=La(e,n=ms(0,n=ds(t,n),1),1),n=nc(),null!==e&&(bn(e,1,n),oc(e,n))}function Cc(e,n,t){if(3===e.tag)Ec(e,e,t);else for(;null!==n;){if(3===n.tag){Ec(n,e,t);break}if(1===n.tag){var r=n.stateNode;if("function"==typeof n.type.getDerivedStateFromError||"function"==typeof r.componentDidCatch&&(null===Wl||!Wl.has(r))){n=La(n,e=ys(n,e=ds(t,e),1),1),e=nc(),null!==n&&(bn(n,1,e),oc(n,e));break}}n=n.return}}function _c(e,n,t){var r=e.pingCache;null!==r&&r.delete(n),n=nc(),e.pingedLanes|=e.suspendedLanes&t,Ol===e&&(Rl&t)===t&&(4===Ll||3===Ll&&(130023424&Rl)===Rl&&500>Qe()-Ul?fc(e,0):Fl|=t),oc(e,n)}function Pc(e,n){0===n&&(0==(1&e.mode)?n=1:(n=un,0==(130023424&(un<<=1))&&(un=4194304)));var t=nc();null!==(e=Oa(e,n))&&(bn(e,n,t),oc(e,t))}function jc(e){var n=e.memoizedState,t=0;null!==n&&(t=n.retryLane),Pc(e,t)}function Tc(e,n){var t=0;switch(e.tag){case 13:var r=e.stateNode,o=e.memoizedState;null!==o&&(t=o.retryLane);break;case 19:r=e.stateNode;break;default:throw Error(a(314))}null!==r&&r.delete(n),Pc(e,t)}function Oc(e,n){return We(e,n)}function $c(e,n,t,r){this.tag=e,this.key=t,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=n,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function Rc(e,n,t,r){return new $c(e,n,t,r)}function Nc(e){return!(!(e=e.prototype)||!e.isReactComponent)}function Ac(e,n){var t=e.alternate;return null===t?((t=Rc(e.tag,n,e.key,e.mode)).elementType=e.elementType,t.type=e.type,t.stateNode=e.stateNode,t.alternate=e,e.alternate=t):(t.pendingProps=n,t.type=e.type,t.flags=0,t.subtreeFlags=0,t.deletions=null),t.flags=14680064&e.flags,t.childLanes=e.childLanes,t.lanes=e.lanes,t.child=e.child,t.memoizedProps=e.memoizedProps,t.memoizedState=e.memoizedState,t.updateQueue=e.updateQueue,n=e.dependencies,t.dependencies=null===n?null:{lanes:n.lanes,firstContext:n.firstContext},t.sibling=e.sibling,t.index=e.index,t.ref=e.ref,t}function Lc(e,n,t,r,o,i){var s=2;if(r=e,"function"==typeof e)Nc(e)&&(s=1);else if("string"==typeof e)s=5;else e:switch(e){case S:return Dc(t.children,o,i,n);case E:s=8,o|=8;break;case C:return(e=Rc(12,t,n,2|o)).elementType=C,e.lanes=i,e;case T:return(e=Rc(13,t,n,o)).elementType=T,e.lanes=i,e;case O:return(e=Rc(19,t,n,o)).elementType=O,e.lanes=i,e;case N:return Ic(t,o,i,n);default:if("object"==typeof e&&null!==e)switch(e.$$typeof){case _:s=10;break e;case P:s=9;break e;case j:s=11;break e;case $:s=14;break e;case R:s=16,r=null;break e}throw Error(a(130,null==e?e:typeof e,""))}return(n=Rc(s,t,n,o)).elementType=e,n.type=r,n.lanes=i,n}function Dc(e,n,t,r){return(e=Rc(7,e,r,n)).lanes=t,e}function Ic(e,n,t,r){return(e=Rc(22,e,r,n)).elementType=N,e.lanes=t,e.stateNode={isHidden:!1},e}function Mc(e,n,t){return(e=Rc(6,e,null,n)).lanes=t,e}function Fc(e,n,t){return(n=Rc(4,null!==e.children?e.children:[],e.key,n)).lanes=t,n.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},n}function zc(e,n,t,r,o){this.tag=n,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=gn(0),this.expirationTimes=gn(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=gn(0),this.identifierPrefix=r,this.onRecoverableError=o,this.mutableSourceEagerHydrationData=null}function Bc(e,n,t,r,o,a,i,s,l){return e=new zc(e,n,t,s,l),1===n?(n=1,!0===a&&(n|=8)):n=0,a=Rc(3,null,null,n),e.current=a,a.stateNode=e,a.memoizedState={element:r,isDehydrated:t,cache:null,transitions:null,pendingSuspenseBoundaries:null},Ra(a),e}function Uc(e){if(!e)return jo;e:{if(Ue(e=e._reactInternals)!==e||1!==e.tag)throw Error(a(170));var n=e;do{switch(n.tag){case 3:n=n.stateNode.context;break e;case 1:if(No(n.type)){n=n.stateNode.__reactInternalMemoizedMergedChildContext;break e}}n=n.return}while(null!==n);throw Error(a(171))}if(1===e.tag){var t=e.type;if(No(t))return Do(e,t,n)}return n}function Hc(e,n,t,r,o,a,i,s,l){return(e=Bc(t,r,!0,e,0,a,0,s,l)).context=Uc(null),t=e.current,(a=Aa(r=nc(),o=tc(t))).callback=null!=n?n:null,La(t,a,o),e.current.lanes=o,bn(e,o,r),oc(e,r),e}function qc(e,n,t,r){var o=n.current,a=nc(),i=tc(o);return t=Uc(t),null===n.context?n.context=t:n.pendingContext=t,(n=Aa(a,i)).payload={element:e},null!==(r=void 0===r?null:r)&&(n.callback=r),null!==(e=La(o,n,i))&&(rc(e,o,i,a),Da(e,o,i)),i}function Vc(e){return(e=e.current).child?(e.child.tag,e.child.stateNode):null}function Zc(e,n){if(null!==(e=e.memoizedState)&&null!==e.dehydrated){var t=e.retryLane;e.retryLane=0!==t&&t<n?t:n}}function Wc(e,n){Zc(e,n),(e=e.alternate)&&Zc(e,n)}El=function(e,n,t){if(null!==e)if(e.memoizedProps!==n.pendingProps||Oo.current)xs=!0;else{if(0==(e.lanes&t)&&0==(128&n.flags))return xs=!1,function(e,n,t){switch(n.tag){case 3:Os(n),ma();break;case 5:ii(n);break;case 1:No(n.type)&&Io(n);break;case 4:oi(n,n.stateNode.containerInfo);break;case 10:var r=n.type._context,o=n.memoizedProps.value;Po(ba,r._currentValue),r._currentValue=o;break;case 13:if(null!==(r=n.memoizedState))return null!==r.dehydrated?(Po(li,1&li.current),n.flags|=128,null):0!=(t&n.child.childLanes)?Ms(e,n,t):(Po(li,1&li.current),null!==(e=Vs(e,n,t))?e.sibling:null);Po(li,1&li.current);break;case 19:if(r=0!=(t&n.childLanes),0!=(128&e.flags)){if(r)return Hs(e,n,t);n.flags|=128}if(null!==(o=n.memoizedState)&&(o.rendering=null,o.tail=null,o.lastEffect=null),Po(li,li.current),r)break;return null;case 22:case 23:return n.lanes=0,Cs(e,n,t)}return Vs(e,n,t)}(e,n,t);xs=0!=(131072&e.flags)}else xs=!1,aa&&0!=(1048576&n.flags)&&ea(n,Wo,n.index);switch(n.lanes=0,n.tag){case 2:var r=n.type;qs(e,n),e=n.pendingProps;var o=Ro(n,To.current);Ca(n,t),o=Ei(null,n,r,e,o,t);var i=Ci();return n.flags|=1,"object"==typeof o&&null!==o&&"function"==typeof o.render&&void 0===o.$$typeof?(n.tag=1,n.memoizedState=null,n.updateQueue=null,No(r)?(i=!0,Io(n)):i=!1,n.memoizedState=null!==o.state&&void 0!==o.state?o.state:null,Ra(n),o.updater=Ua,n.stateNode=o,o._reactInternals=n,Za(n,r,e,t),n=Ts(null,n,r,!0,i,t)):(n.tag=0,aa&&i&&na(n),ws(null,n,o,t),n=n.child),n;case 16:r=n.elementType;e:{switch(qs(e,n),e=n.pendingProps,r=(o=r._init)(r._payload),n.type=r,o=n.tag=function(e){if("function"==typeof e)return Nc(e)?1:0;if(null!=e){if((e=e.$$typeof)===j)return 11;if(e===$)return 14}return 2}(r),e=ga(r,e),o){case 0:n=Ps(null,n,r,e,t);break e;case 1:n=js(null,n,r,e,t);break e;case 11:n=ks(null,n,r,e,t);break e;case 14:n=Ss(null,n,r,ga(r.type,e),t);break e}throw Error(a(306,r,""))}return n;case 0:return r=n.type,o=n.pendingProps,Ps(e,n,r,o=n.elementType===r?o:ga(r,o),t);case 1:return r=n.type,o=n.pendingProps,js(e,n,r,o=n.elementType===r?o:ga(r,o),t);case 3:e:{if(Os(n),null===e)throw Error(a(387));r=n.pendingProps,o=(i=n.memoizedState).element,Na(e,n),Ma(n,r,null,t);var s=n.memoizedState;if(r=s.element,i.isDehydrated){if(i={element:r,isDehydrated:!1,cache:s.cache,pendingSuspenseBoundaries:s.pendingSuspenseBoundaries,transitions:s.transitions},n.updateQueue.baseState=i,n.memoizedState=i,256&n.flags){n=$s(e,n,r,t,o=ds(Error(a(423)),n));break e}if(r!==o){n=$s(e,n,r,t,o=ds(Error(a(424)),n));break e}for(oa=co(n.stateNode.containerInfo.firstChild),ra=n,aa=!0,ia=null,t=Ja(n,null,r,t),n.child=t;t;)t.flags=-3&t.flags|4096,t=t.sibling}else{if(ma(),r===o){n=Vs(e,n,t);break e}ws(e,n,r,t)}n=n.child}return n;case 5:return ii(n),null===e&&da(n),r=n.type,o=n.pendingProps,i=null!==e?e.memoizedProps:null,s=o.children,to(r,o)?s=null:null!==i&&to(r,i)&&(n.flags|=32),_s(e,n),ws(e,n,s,t),n.child;case 6:return null===e&&da(n),null;case 13:return Ms(e,n,t);case 4:return oi(n,n.stateNode.containerInfo),r=n.pendingProps,null===e?n.child=Qa(n,null,r,t):ws(e,n,r,t),n.child;case 11:return r=n.type,o=n.pendingProps,ks(e,n,r,o=n.elementType===r?o:ga(r,o),t);case 7:return ws(e,n,n.pendingProps,t),n.child;case 8:case 12:return ws(e,n,n.pendingProps.children,t),n.child;case 10:e:{if(r=n.type._context,o=n.pendingProps,i=n.memoizedProps,s=o.value,Po(ba,r._currentValue),r._currentValue=s,null!==i)if(sr(i.value,s)){if(i.children===o.children&&!Oo.current){n=Vs(e,n,t);break e}}else for(null!==(i=n.child)&&(i.return=n);null!==i;){var l=i.dependencies;if(null!==l){s=i.child;for(var c=l.firstContext;null!==c;){if(c.context===r){if(1===i.tag){(c=Aa(-1,t&-t)).tag=2;var d=i.updateQueue;if(null!==d){var u=(d=d.shared).pending;null===u?c.next=c:(c.next=u.next,u.next=c),d.pending=c}}i.lanes|=t,null!==(c=i.alternate)&&(c.lanes|=t),Ea(i.return,t,n),l.lanes|=t;break}c=c.next}}else if(10===i.tag)s=i.type===n.type?null:i.child;else if(18===i.tag){if(null===(s=i.return))throw Error(a(341));s.lanes|=t,null!==(l=s.alternate)&&(l.lanes|=t),Ea(s,t,n),s=i.sibling}else s=i.child;if(null!==s)s.return=i;else for(s=i;null!==s;){if(s===n){s=null;break}if(null!==(i=s.sibling)){i.return=s.return,s=i;break}s=s.return}i=s}ws(e,n,o.children,t),n=n.child}return n;case 9:return o=n.type,r=n.pendingProps.children,Ca(n,t),r=r(o=_a(o)),n.flags|=1,ws(e,n,r,t),n.child;case 14:return o=ga(r=n.type,n.pendingProps),Ss(e,n,r,o=ga(r.type,o),t);case 15:return Es(e,n,n.type,n.pendingProps,t);case 17:return r=n.type,o=n.pendingProps,o=n.elementType===r?o:ga(r,o),qs(e,n),n.tag=1,No(r)?(e=!0,Io(n)):e=!1,Ca(n,t),qa(n,r,o),Za(n,r,o,t),Ts(null,n,r,!0,e,t);case 19:return Hs(e,n,t);case 22:return Cs(e,n,t)}throw Error(a(156,n.tag))};var Gc="function"==typeof reportError?reportError:function(e){console.error(e)};function Kc(e){this._internalRoot=e}function Yc(e){this._internalRoot=e}function Qc(e){return!(!e||1!==e.nodeType&&9!==e.nodeType&&11!==e.nodeType)}function Jc(e){return!(!e||1!==e.nodeType&&9!==e.nodeType&&11!==e.nodeType&&(8!==e.nodeType||" react-mount-point-unstable "!==e.nodeValue))}function Xc(){}function ed(e,n,t,r,o){var a=t._reactRootContainer;if(a){var i=a;if("function"==typeof o){var s=o;o=function(){var e=Vc(i);s.call(e)}}qc(n,i,e,o)}else i=function(e,n,t,r,o){if(o){if("function"==typeof r){var a=r;r=function(){var e=Vc(i);a.call(e)}}var i=Hc(n,r,e,0,null,!1,0,"",Xc);return e._reactRootContainer=i,e[yo]=i.current,Ur(8===e.nodeType?e.parentNode:e),uc(),i}for(;o=e.lastChild;)e.removeChild(o);if("function"==typeof r){var s=r;r=function(){var e=Vc(l);s.call(e)}}var l=Bc(e,0,!1,null,0,!1,0,"",Xc);return e._reactRootContainer=l,e[yo]=l.current,Ur(8===e.nodeType?e.parentNode:e),uc((function(){qc(n,l,t,r)})),l}(t,n,e,o,r);return Vc(i)}Yc.prototype.render=Kc.prototype.render=function(e){var n=this._internalRoot;if(null===n)throw Error(a(409));qc(e,n,null,null)},Yc.prototype.unmount=Kc.prototype.unmount=function(){var e=this._internalRoot;if(null!==e){this._internalRoot=null;var n=e.containerInfo;uc((function(){qc(null,e,null,null)})),n[yo]=null}},Yc.prototype.unstable_scheduleHydration=function(e){if(e){var n=Cn();e={blockedOn:null,target:e,priority:n};for(var t=0;t<An.length&&0!==n&&n<An[t].priority;t++);An.splice(t,0,e),0===t&&Mn(e)}},kn=function(e){switch(e.tag){case 3:var n=e.stateNode;if(n.current.memoizedState.isDehydrated){var t=pn(n.pendingLanes);0!==t&&(vn(n,1|t),oc(n,Qe()),0==(6&Tl)&&(Hl=Qe()+500,Ho()))}break;case 13:uc((function(){var n=Oa(e,1);if(null!==n){var t=nc();rc(n,e,1,t)}})),Wc(e,1)}},Sn=function(e){if(13===e.tag){var n=Oa(e,134217728);if(null!==n)rc(n,e,134217728,nc());Wc(e,134217728)}},En=function(e){if(13===e.tag){var n=tc(e),t=Oa(e,n);if(null!==t)rc(t,e,n,nc());Wc(e,n)}},Cn=function(){return xn},_n=function(e,n){var t=xn;try{return xn=e,n()}finally{xn=t}},ke=function(e,n,t){switch(n){case"input":if(J(e,t),n=t.name,"radio"===t.type&&null!=n){for(t=e;t.parentNode;)t=t.parentNode;for(t=t.querySelectorAll("input[name="+JSON.stringify(""+n)+'][type="radio"]'),n=0;n<t.length;n++){var r=t[n];if(r!==e&&r.form===e.form){var o=ko(r);if(!o)throw Error(a(90));W(r),J(r,o)}}}break;case"textarea":ae(e,t);break;case"select":null!=(n=t.value)&&te(e,!!t.multiple,n,!1)}},je=dc,Te=uc;var nd={usingClientEntryPoint:!1,Events:[xo,wo,ko,_e,Pe,dc]},td={findFiberByHostInstance:vo,bundleType:0,version:"18.2.0",rendererPackageName:"react-dom"},rd={bundleType:td.bundleType,version:td.version,rendererPackageName:td.rendererPackageName,rendererConfig:td.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:x.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return null===(e=Ve(e))?null:e.stateNode},findFiberByHostInstance:td.findFiberByHostInstance||function(){return null},findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null,reconcilerVersion:"18.2.0-next-9e3b772b8-20220608"};if("undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__){var od=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!od.isDisabled&&od.supportsFiber)try{on=od.inject(rd),an=od}catch(de){}}n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=nd,n.createPortal=function(e,n){var t=2<arguments.length&&void 0!==arguments[2]?arguments[2]:null;if(!Qc(n))throw Error(a(200));return function(e,n,t){var r=3<arguments.length&&void 0!==arguments[3]?arguments[3]:null;return{$$typeof:k,key:null==r?null:""+r,children:e,containerInfo:n,implementation:t}}(e,n,null,t)},n.createRoot=function(e,n){if(!Qc(e))throw Error(a(299));var t=!1,r="",o=Gc;return null!=n&&(!0===n.unstable_strictMode&&(t=!0),void 0!==n.identifierPrefix&&(r=n.identifierPrefix),void 0!==n.onRecoverableError&&(o=n.onRecoverableError)),n=Bc(e,1,!1,null,0,t,0,r,o),e[yo]=n.current,Ur(8===e.nodeType?e.parentNode:e),new Kc(n)},n.findDOMNode=function(e){if(null==e)return null;if(1===e.nodeType)return e;var n=e._reactInternals;if(void 0===n){if("function"==typeof e.render)throw Error(a(188));throw e=Object.keys(e).join(","),Error(a(268,e))}return e=null===(e=Ve(n))?null:e.stateNode},n.flushSync=function(e){return uc(e)},n.hydrate=function(e,n,t){if(!Jc(n))throw Error(a(200));return ed(null,e,n,!0,t)},n.hydrateRoot=function(e,n,t){if(!Qc(e))throw Error(a(405));var r=null!=t&&t.hydratedSources||null,o=!1,i="",s=Gc;if(null!=t&&(!0===t.unstable_strictMode&&(o=!0),void 0!==t.identifierPrefix&&(i=t.identifierPrefix),void 0!==t.onRecoverableError&&(s=t.onRecoverableError)),n=Hc(n,null,e,1,null!=t?t:null,o,0,i,s),e[yo]=n.current,Ur(e),r)for(e=0;e<r.length;e++)o=(o=(t=r[e])._getVersion)(t._source),null==n.mutableSourceEagerHydrationData?n.mutableSourceEagerHydrationData=[t,o]:n.mutableSourceEagerHydrationData.push(t,o);return new Yc(n)},n.render=function(e,n,t){if(!Jc(n))throw Error(a(200));return ed(null,e,n,!1,t)},n.unmountComponentAtNode=function(e){if(!Jc(e))throw Error(a(40));return!!e._reactRootContainer&&(uc((function(){ed(null,null,e,!1,(function(){e._reactRootContainer=null,e[yo]=null}))})),!0)},n.unstable_batchedUpdates=dc,n.unstable_renderSubtreeIntoContainer=function(e,n,t,r){if(!Jc(t))throw Error(a(200));if(null==e||void 0===e._reactInternals)throw Error(a(38));return ed(e,n,t,!1,r)},n.version="18.2.0-next-9e3b772b8-20220608"},17029:(e,n,t)=>{"use strict";var r=t(28316);n.createRoot=r.createRoot,n.hydrateRoot=r.hydrateRoot},28316:(e,n,t)=>{"use strict";!function e(){if("undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE)try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(n){console.error(n)}}(),e.exports=t(52967)},78435:e=>{var n="undefined"!=typeof Element,t="function"==typeof Map,r="function"==typeof Set,o="function"==typeof ArrayBuffer&&!!ArrayBuffer.isView;function a(e,i){if(e===i)return!0;if(e&&i&&"object"==typeof e&&"object"==typeof i){if(e.constructor!==i.constructor)return!1;var s,l,c,d;if(Array.isArray(e)){if((s=e.length)!=i.length)return!1;for(l=s;0!=l--;)if(!a(e[l],i[l]))return!1;return!0}if(t&&e instanceof Map&&i instanceof Map){if(e.size!==i.size)return!1;for(d=e.entries();!(l=d.next()).done;)if(!i.has(l.value[0]))return!1;for(d=e.entries();!(l=d.next()).done;)if(!a(l.value[1],i.get(l.value[0])))return!1;return!0}if(r&&e instanceof Set&&i instanceof Set){if(e.size!==i.size)return!1;for(d=e.entries();!(l=d.next()).done;)if(!i.has(l.value[0]))return!1;return!0}if(o&&ArrayBuffer.isView(e)&&ArrayBuffer.isView(i)){if((s=e.length)!=i.length)return!1;for(l=s;0!=l--;)if(e[l]!==i[l])return!1;return!0}if(e.constructor===RegExp)return e.source===i.source&&e.flags===i.flags;if(e.valueOf!==Object.prototype.valueOf&&"function"==typeof e.valueOf&&"function"==typeof i.valueOf)return e.valueOf()===i.valueOf();if(e.toString!==Object.prototype.toString&&"function"==typeof e.toString&&"function"==typeof i.toString)return e.toString()===i.toString();if((s=(c=Object.keys(e)).length)!==Object.keys(i).length)return!1;for(l=s;0!=l--;)if(!Object.prototype.hasOwnProperty.call(i,c[l]))return!1;if(n&&e instanceof Element)return!1;for(l=s;0!=l--;)if(("_owner"!==c[l]&&"__v"!==c[l]&&"__o"!==c[l]||!e.$$typeof)&&!a(e[c[l]],i[c[l]]))return!1;return!0}return e!=e&&i!=i}e.exports=function(e,n){try{return a(e,n)}catch(t){if((t.message||"").match(/stack|recursion/i))return console.warn("react-fast-compare cannot handle circular refs"),!1;throw t}}},72175:(e,n,t)=>{"use strict";t.d(n,{B6:()=>V,ql:()=>X});var r=t(2784),o=t(13980),a=t.n(o),i=t(78435),s=t.n(i),l=t(47677),c=t.n(l),d=t(88665),u=t.n(d);function p(){return p=Object.assign||function(e){for(var n=1;n<arguments.length;n++){var t=arguments[n];for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])}return e},p.apply(this,arguments)}function f(e,n){e.prototype=Object.create(n.prototype),e.prototype.constructor=e,m(e,n)}function m(e,n){return m=Object.setPrototypeOf||function(e,n){return e.__proto__=n,e},m(e,n)}function y(e,n){if(null==e)return{};var t,r,o={},a=Object.keys(e);for(r=0;r<a.length;r++)n.indexOf(t=a[r])>=0||(o[t]=e[t]);return o}var h={BASE:"base",BODY:"body",HEAD:"head",HTML:"html",LINK:"link",META:"meta",NOSCRIPT:"noscript",SCRIPT:"script",STYLE:"style",TITLE:"title",FRAGMENT:"Symbol(react.fragment)"},g={rel:["amphtml","canonical","alternate"]},b={type:["application/ld+json"]},v={charset:"",name:["robots","description"],property:["og:type","og:title","og:url","og:image","og:image:alt","og:description","twitter:url","twitter:title","twitter:description","twitter:image","twitter:image:alt","twitter:card","twitter:site"]},x=Object.keys(h).map((function(e){return h[e]})),w={accesskey:"accessKey",charset:"charSet",class:"className",contenteditable:"contentEditable",contextmenu:"contextMenu","http-equiv":"httpEquiv",itemprop:"itemProp",tabindex:"tabIndex"},k=Object.keys(w).reduce((function(e,n){return e[w[n]]=n,e}),{}),S=function(e,n){for(var t=e.length-1;t>=0;t-=1){var r=e[t];if(Object.prototype.hasOwnProperty.call(r,n))return r[n]}return null},E=function(e){var n=S(e,h.TITLE),t=S(e,"titleTemplate");if(Array.isArray(n)&&(n=n.join("")),t&&n)return t.replace(/%s/g,(function(){return n}));var r=S(e,"defaultTitle");return n||r||void 0},C=function(e){return S(e,"onChangeClientState")||function(){}},_=function(e,n){return n.filter((function(n){return void 0!==n[e]})).map((function(n){return n[e]})).reduce((function(e,n){return p({},e,n)}),{})},P=function(e,n){return n.filter((function(e){return void 0!==e[h.BASE]})).map((function(e){return e[h.BASE]})).reverse().reduce((function(n,t){if(!n.length)for(var r=Object.keys(t),o=0;o<r.length;o+=1){var a=r[o].toLowerCase();if(-1!==e.indexOf(a)&&t[a])return n.concat(t)}return n}),[])},j=function(e,n,t){var r={};return t.filter((function(n){return!!Array.isArray(n[e])||(void 0!==n[e]&&console&&"function"==typeof console.warn&&console.warn("Helmet: "+e+' should be of type "Array". Instead found type "'+typeof n[e]+'"'),!1)})).map((function(n){return n[e]})).reverse().reduce((function(e,t){var o={};t.filter((function(e){for(var t,a=Object.keys(e),i=0;i<a.length;i+=1){var s=a[i],l=s.toLowerCase();-1===n.indexOf(l)||"rel"===t&&"canonical"===e[t].toLowerCase()||"rel"===l&&"stylesheet"===e[l].toLowerCase()||(t=l),-1===n.indexOf(s)||"innerHTML"!==s&&"cssText"!==s&&"itemprop"!==s||(t=s)}if(!t||!e[t])return!1;var c=e[t].toLowerCase();return r[t]||(r[t]={}),o[t]||(o[t]={}),!r[t][c]&&(o[t][c]=!0,!0)})).reverse().forEach((function(n){return e.push(n)}));for(var a=Object.keys(o),i=0;i<a.length;i+=1){var s=a[i],l=p({},r[s],o[s]);r[s]=l}return e}),[]).reverse()},T=function(e,n){if(Array.isArray(e)&&e.length)for(var t=0;t<e.length;t+=1)if(e[t][n])return!0;return!1},O=function(e){return Array.isArray(e)?e.join(""):e},$=function(e,n){return Array.isArray(e)?e.reduce((function(e,t){return function(e,n){for(var t=Object.keys(e),r=0;r<t.length;r+=1)if(n[t[r]]&&n[t[r]].includes(e[t[r]]))return!0;return!1}(t,n)?e.priority.push(t):e.default.push(t),e}),{priority:[],default:[]}):{default:e}},R=function(e,n){var t;return p({},e,((t={})[n]=void 0,t))},N=[h.NOSCRIPT,h.SCRIPT,h.STYLE],A=function(e,n){return void 0===n&&(n=!0),!1===n?String(e):String(e).replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/"/g,""").replace(/'/g,"'")},L=function(e){return Object.keys(e).reduce((function(n,t){var r=void 0!==e[t]?t+'="'+e[t]+'"':""+t;return n?n+" "+r:r}),"")},D=function(e,n){return void 0===n&&(n={}),Object.keys(e).reduce((function(n,t){return n[w[t]||t]=e[t],n}),n)},I=function(e,n){return n.map((function(n,t){var o,a=((o={key:t})["data-rh"]=!0,o);return Object.keys(n).forEach((function(e){var t=w[e]||e;"innerHTML"===t||"cssText"===t?a.dangerouslySetInnerHTML={__html:n.innerHTML||n.cssText}:a[t]=n[e]})),r.createElement(e,a)}))},M=function(e,n,t){switch(e){case h.TITLE:return{toComponent:function(){return t=n.titleAttributes,(o={key:e=n.title})["data-rh"]=!0,a=D(t,o),[r.createElement(h.TITLE,a,e)];var e,t,o,a},toString:function(){return function(e,n,t,r){var o=L(t),a=O(n);return o?"<"+e+' data-rh="true" '+o+">"+A(a,r)+"</"+e+">":"<"+e+' data-rh="true">'+A(a,r)+"</"+e+">"}(e,n.title,n.titleAttributes,t)}};case"bodyAttributes":case"htmlAttributes":return{toComponent:function(){return D(n)},toString:function(){return L(n)}};default:return{toComponent:function(){return I(e,n)},toString:function(){return function(e,n,t){return n.reduce((function(n,r){var o=Object.keys(r).filter((function(e){return!("innerHTML"===e||"cssText"===e)})).reduce((function(e,n){var o=void 0===r[n]?n:n+'="'+A(r[n],t)+'"';return e?e+" "+o:o}),""),a=r.innerHTML||r.cssText||"",i=-1===N.indexOf(e);return n+"<"+e+' data-rh="true" '+o+(i?"/>":">"+a+"</"+e+">")}),"")}(e,n,t)}}}},F=function(e){var n=e.baseTag,t=e.bodyAttributes,r=e.encode,o=e.htmlAttributes,a=e.noscriptTags,i=e.styleTags,s=e.title,l=void 0===s?"":s,c=e.titleAttributes,d=e.linkTags,u=e.metaTags,p=e.scriptTags,f={toComponent:function(){},toString:function(){return""}};if(e.prioritizeSeoTags){var m=function(e){var n=e.linkTags,t=e.scriptTags,r=e.encode,o=$(e.metaTags,v),a=$(n,g),i=$(t,b);return{priorityMethods:{toComponent:function(){return[].concat(I(h.META,o.priority),I(h.LINK,a.priority),I(h.SCRIPT,i.priority))},toString:function(){return M(h.META,o.priority,r)+" "+M(h.LINK,a.priority,r)+" "+M(h.SCRIPT,i.priority,r)}},metaTags:o.default,linkTags:a.default,scriptTags:i.default}}(e);f=m.priorityMethods,d=m.linkTags,u=m.metaTags,p=m.scriptTags}return{priority:f,base:M(h.BASE,n,r),bodyAttributes:M("bodyAttributes",t,r),htmlAttributes:M("htmlAttributes",o,r),link:M(h.LINK,d,r),meta:M(h.META,u,r),noscript:M(h.NOSCRIPT,a,r),script:M(h.SCRIPT,p,r),style:M(h.STYLE,i,r),title:M(h.TITLE,{title:l,titleAttributes:c},r)}},z=[],B=function(e,n){var t=this;void 0===n&&(n="undefined"!=typeof document),this.instances=[],this.value={setHelmet:function(e){t.context.helmet=e},helmetInstances:{get:function(){return t.canUseDOM?z:t.instances},add:function(e){(t.canUseDOM?z:t.instances).push(e)},remove:function(e){var n=(t.canUseDOM?z:t.instances).indexOf(e);(t.canUseDOM?z:t.instances).splice(n,1)}}},this.context=e,this.canUseDOM=n,n||(e.helmet=F({baseTag:[],bodyAttributes:{},encodeSpecialCharacters:!0,htmlAttributes:{},linkTags:[],metaTags:[],noscriptTags:[],scriptTags:[],styleTags:[],title:"",titleAttributes:{}}))},U=r.createContext({}),H=a().shape({setHelmet:a().func,helmetInstances:a().shape({get:a().func,add:a().func,remove:a().func})}),q="undefined"!=typeof document,V=function(e){function n(t){var r;return(r=e.call(this,t)||this).helmetData=new B(r.props.context,n.canUseDOM),r}return f(n,e),n.prototype.render=function(){return r.createElement(U.Provider,{value:this.helmetData.value},this.props.children)},n}(r.Component);V.canUseDOM=q,V.propTypes={context:a().shape({helmet:a().shape()}),children:a().node.isRequired},V.defaultProps={context:{}},V.displayName="HelmetProvider";var Z=function(e,n){var t,r=document.head||document.querySelector(h.HEAD),o=r.querySelectorAll(e+"[data-rh]"),a=[].slice.call(o),i=[];return n&&n.length&&n.forEach((function(n){var r=document.createElement(e);for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&("innerHTML"===o?r.innerHTML=n.innerHTML:"cssText"===o?r.styleSheet?r.styleSheet.cssText=n.cssText:r.appendChild(document.createTextNode(n.cssText)):r.setAttribute(o,void 0===n[o]?"":n[o]));r.setAttribute("data-rh","true"),a.some((function(e,n){return t=n,r.isEqualNode(e)}))?a.splice(t,1):i.push(r)})),a.forEach((function(e){return e.parentNode.removeChild(e)})),i.forEach((function(e){return r.appendChild(e)})),{oldTags:a,newTags:i}},W=function(e,n){var t=document.getElementsByTagName(e)[0];if(t){for(var r=t.getAttribute("data-rh"),o=r?r.split(","):[],a=[].concat(o),i=Object.keys(n),s=0;s<i.length;s+=1){var l=i[s],c=n[l]||"";t.getAttribute(l)!==c&&t.setAttribute(l,c),-1===o.indexOf(l)&&o.push(l);var d=a.indexOf(l);-1!==d&&a.splice(d,1)}for(var u=a.length-1;u>=0;u-=1)t.removeAttribute(a[u]);o.length===a.length?t.removeAttribute("data-rh"):t.getAttribute("data-rh")!==i.join(",")&&t.setAttribute("data-rh",i.join(","))}},G=function(e,n){var t=e.baseTag,r=e.htmlAttributes,o=e.linkTags,a=e.metaTags,i=e.noscriptTags,s=e.onChangeClientState,l=e.scriptTags,c=e.styleTags,d=e.title,u=e.titleAttributes;W(h.BODY,e.bodyAttributes),W(h.HTML,r),function(e,n){void 0!==e&&document.title!==e&&(document.title=O(e)),W(h.TITLE,n)}(d,u);var p={baseTag:Z(h.BASE,t),linkTags:Z(h.LINK,o),metaTags:Z(h.META,a),noscriptTags:Z(h.NOSCRIPT,i),scriptTags:Z(h.SCRIPT,l),styleTags:Z(h.STYLE,c)},f={},m={};Object.keys(p).forEach((function(e){var n=p[e],t=n.newTags,r=n.oldTags;t.length&&(f[e]=t),r.length&&(m[e]=p[e].oldTags)})),n&&n(),s(e,f,m)},K=null,Y=function(e){function n(){for(var n,t=arguments.length,r=new Array(t),o=0;o<t;o++)r[o]=arguments[o];return(n=e.call.apply(e,[this].concat(r))||this).rendered=!1,n}f(n,e);var t=n.prototype;return t.shouldComponentUpdate=function(e){return!u()(e,this.props)},t.componentDidUpdate=function(){this.emitChange()},t.componentWillUnmount=function(){this.props.context.helmetInstances.remove(this),this.emitChange()},t.emitChange=function(){var e,n,t=this.props.context,r=t.setHelmet,o=null,a=(e=t.helmetInstances.get().map((function(e){var n=p({},e.props);return delete n.context,n})),{baseTag:P(["href"],e),bodyAttributes:_("bodyAttributes",e),defer:S(e,"defer"),encode:S(e,"encodeSpecialCharacters"),htmlAttributes:_("htmlAttributes",e),linkTags:j(h.LINK,["rel","href"],e),metaTags:j(h.META,["name","charset","http-equiv","property","itemprop"],e),noscriptTags:j(h.NOSCRIPT,["innerHTML"],e),onChangeClientState:C(e),scriptTags:j(h.SCRIPT,["src","innerHTML"],e),styleTags:j(h.STYLE,["cssText"],e),title:E(e),titleAttributes:_("titleAttributes",e),prioritizeSeoTags:T(e,"prioritizeSeoTags")});V.canUseDOM?(n=a,K&&cancelAnimationFrame(K),n.defer?K=requestAnimationFrame((function(){G(n,(function(){K=null}))})):(G(n),K=null)):F&&(o=F(a)),r(o)},t.init=function(){this.rendered||(this.rendered=!0,this.props.context.helmetInstances.add(this),this.emitChange())},t.render=function(){return this.init(),null},n}(r.Component);Y.propTypes={context:H.isRequired},Y.displayName="HelmetDispatcher";var Q=["children"],J=["children"],X=function(e){function n(){return e.apply(this,arguments)||this}f(n,e);var t=n.prototype;return t.shouldComponentUpdate=function(e){return!s()(R(this.props,"helmetData"),R(e,"helmetData"))},t.mapNestedChildrenToProps=function(e,n){if(!n)return null;switch(e.type){case h.SCRIPT:case h.NOSCRIPT:return{innerHTML:n};case h.STYLE:return{cssText:n};default:throw new Error("<"+e.type+" /> elements are self-closing and can not contain children. Refer to our API for more information.")}},t.flattenArrayTypeChildren=function(e){var n,t=e.child,r=e.arrayTypeChildren;return p({},r,((n={})[t.type]=[].concat(r[t.type]||[],[p({},e.newChildProps,this.mapNestedChildrenToProps(t,e.nestedChildren))]),n))},t.mapObjectTypeChildren=function(e){var n,t,r=e.child,o=e.newProps,a=e.newChildProps,i=e.nestedChildren;switch(r.type){case h.TITLE:return p({},o,((n={})[r.type]=i,n.titleAttributes=p({},a),n));case h.BODY:return p({},o,{bodyAttributes:p({},a)});case h.HTML:return p({},o,{htmlAttributes:p({},a)});default:return p({},o,((t={})[r.type]=p({},a),t))}},t.mapArrayTypeChildrenToProps=function(e,n){var t=p({},n);return Object.keys(e).forEach((function(n){var r;t=p({},t,((r={})[n]=e[n],r))})),t},t.warnOnInvalidChildren=function(e,n){return c()(x.some((function(n){return e.type===n})),"function"==typeof e.type?"You may be attempting to nest <Helmet> components within each other, which is not allowed. Refer to our API for more information.":"Only elements types "+x.join(", ")+" are allowed. Helmet does not support rendering <"+e.type+"> elements. Refer to our API for more information."),c()(!n||"string"==typeof n||Array.isArray(n)&&!n.some((function(e){return"string"!=typeof e})),"Helmet expects a string as a child of <"+e.type+">. Did you forget to wrap your children in braces? ( <"+e.type+">{``}</"+e.type+"> ) Refer to our API for more information."),!0},t.mapChildrenToProps=function(e,n){var t=this,o={};return r.Children.forEach(e,(function(e){if(e&&e.props){var r=e.props,a=r.children,i=y(r,Q),s=Object.keys(i).reduce((function(e,n){return e[k[n]||n]=i[n],e}),{}),l=e.type;switch("symbol"==typeof l?l=l.toString():t.warnOnInvalidChildren(e,a),l){case h.FRAGMENT:n=t.mapChildrenToProps(a,n);break;case h.LINK:case h.META:case h.NOSCRIPT:case h.SCRIPT:case h.STYLE:o=t.flattenArrayTypeChildren({child:e,arrayTypeChildren:o,newChildProps:s,nestedChildren:a});break;default:n=t.mapObjectTypeChildren({child:e,newProps:n,newChildProps:s,nestedChildren:a})}}})),this.mapArrayTypeChildrenToProps(o,n)},t.render=function(){var e=this.props,n=e.children,t=y(e,J),o=p({},t),a=t.helmetData;return n&&(o=this.mapChildrenToProps(n,o)),!a||a instanceof B||(a=new B(a.context,a.instances)),a?r.createElement(Y,p({},o,{context:a.value,helmetData:void 0})):r.createElement(U.Consumer,null,(function(e){return r.createElement(Y,p({},o,{context:e}))}))},n}(r.Component);X.propTypes={base:a().object,bodyAttributes:a().object,children:a().oneOfType([a().arrayOf(a().node),a().node]),defaultTitle:a().string,defer:a().bool,encodeSpecialCharacters:a().bool,htmlAttributes:a().object,link:a().arrayOf(a().object),meta:a().arrayOf(a().object),noscript:a().arrayOf(a().object),onChangeClientState:a().func,script:a().arrayOf(a().object),style:a().arrayOf(a().object),title:a().string,titleAttributes:a().object,titleTemplate:a().string,prioritizeSeoTags:a().bool,helmetData:a().object},X.defaultProps={defer:!0,encodeSpecialCharacters:!0,prioritizeSeoTags:!1},X.displayName="Helmet"},66866:(e,n)=>{"use strict";var t="function"==typeof Symbol&&Symbol.for,r=t?Symbol.for("react.element"):60103,o=t?Symbol.for("react.portal"):60106,a=t?Symbol.for("react.fragment"):60107,i=t?Symbol.for("react.strict_mode"):60108,s=t?Symbol.for("react.profiler"):60114,l=t?Symbol.for("react.provider"):60109,c=t?Symbol.for("react.context"):60110,d=t?Symbol.for("react.async_mode"):60111,u=t?Symbol.for("react.concurrent_mode"):60111,p=t?Symbol.for("react.forward_ref"):60112,f=t?Symbol.for("react.suspense"):60113,m=t?Symbol.for("react.suspense_list"):60120,y=t?Symbol.for("react.memo"):60115,h=t?Symbol.for("react.lazy"):60116,g=t?Symbol.for("react.block"):60121,b=t?Symbol.for("react.fundamental"):60117,v=t?Symbol.for("react.responder"):60118,x=t?Symbol.for("react.scope"):60119;function w(e){if("object"==typeof e&&null!==e){var n=e.$$typeof;switch(n){case r:switch(e=e.type){case d:case u:case a:case s:case i:case f:return e;default:switch(e=e&&e.$$typeof){case c:case p:case h:case y:case l:return e;default:return n}}case o:return n}}}function k(e){return w(e)===u}n.AsyncMode=d,n.ConcurrentMode=u,n.ContextConsumer=c,n.ContextProvider=l,n.Element=r,n.ForwardRef=p,n.Fragment=a,n.Lazy=h,n.Memo=y,n.Portal=o,n.Profiler=s,n.StrictMode=i,n.Suspense=f,n.isAsyncMode=function(e){return k(e)||w(e)===d},n.isConcurrentMode=k,n.isContextConsumer=function(e){return w(e)===c},n.isContextProvider=function(e){return w(e)===l},n.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===r},n.isForwardRef=function(e){return w(e)===p},n.isFragment=function(e){return w(e)===a},n.isLazy=function(e){return w(e)===h},n.isMemo=function(e){return w(e)===y},n.isPortal=function(e){return w(e)===o},n.isProfiler=function(e){return w(e)===s},n.isStrictMode=function(e){return w(e)===i},n.isSuspense=function(e){return w(e)===f},n.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===a||e===u||e===s||e===i||e===f||e===m||"object"==typeof e&&null!==e&&(e.$$typeof===h||e.$$typeof===y||e.$$typeof===l||e.$$typeof===c||e.$$typeof===p||e.$$typeof===b||e.$$typeof===v||e.$$typeof===x||e.$$typeof===g)},n.typeOf=w},48570:(e,n,t)=>{"use strict";e.exports=t(66866)},89028:(e,n,t)=>{"use strict";function r(e,n){e.prototype=Object.create(n.prototype),e.prototype.constructor=e,e.__proto__=n}function o(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function a(e,n,t){return n in e?Object.defineProperty(e,n,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[n]=t,e}function i(){return i=Object.assign||function(e){for(var n=1;n<arguments.length;n++){var t=arguments[n];for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])}return e},i.apply(this,arguments)}var s=t(2784),l=[],c=[];var d=s.createContext(null);function u(e){var n=e(),t={loading:!0,loaded:null,error:null};return t.promise=n.then((function(e){return t.loading=!1,t.loaded=e,e})).catch((function(e){throw t.loading=!1,t.error=e,e})),t}function p(e){var n={loading:!1,loaded:{},error:null},t=[];try{Object.keys(e).forEach((function(r){var o=u(e[r]);o.loading?n.loading=!0:(n.loaded[r]=o.loaded,n.error=o.error),t.push(o.promise),o.promise.then((function(e){n.loaded[r]=e})).catch((function(e){n.error=e}))}))}catch(r){n.error=r}return n.promise=Promise.all(t).then((function(e){return n.loading=!1,e})).catch((function(e){throw n.loading=!1,e})),n}function f(e,n){return s.createElement((t=e)&&t.__esModule?t.default:t,n);var t}function m(e,n){var u,p;if(!n.loading)throw new Error("react-loadable requires a `loading` component");var m=i({loader:null,loading:null,delay:200,timeout:null,render:f,webpack:null,modules:null},n),y=null;function h(){return y||(y=e(m.loader)),y.promise}return l.push(h),"function"==typeof m.webpack&&c.push((function(){if((0,m.webpack)().every((function(e){return void 0!==e&&void 0!==t.m[e]})))return h()})),p=u=function(n){function t(t){var r;return a(o(o(r=n.call(this,t)||this)),"retry",(function(){r.setState({error:null,loading:!0,timedOut:!1}),y=e(m.loader),r._loadModule()})),h(),r.state={error:y.error,pastDelay:!1,timedOut:!1,loading:y.loading,loaded:y.loaded},r}r(t,n),t.preload=function(){return h()};var i=t.prototype;return i.UNSAFE_componentWillMount=function(){this._loadModule()},i.componentDidMount=function(){this._mounted=!0},i._loadModule=function(){var e=this;if(this.context&&Array.isArray(m.modules)&&m.modules.forEach((function(n){e.context.report(n)})),y.loading){var n=function(n){e._mounted&&e.setState(n)};"number"==typeof m.delay&&(0===m.delay?this.setState({pastDelay:!0}):this._delay=setTimeout((function(){n({pastDelay:!0})}),m.delay)),"number"==typeof m.timeout&&(this._timeout=setTimeout((function(){n({timedOut:!0})}),m.timeout));var t=function(){n({error:y.error,loaded:y.loaded,loading:y.loading}),e._clearTimeouts()};y.promise.then((function(){return t(),null})).catch((function(e){return t(),null}))}},i.componentWillUnmount=function(){this._mounted=!1,this._clearTimeouts()},i._clearTimeouts=function(){clearTimeout(this._delay),clearTimeout(this._timeout)},i.render=function(){return this.state.loading||this.state.error?s.createElement(m.loading,{isLoading:this.state.loading,pastDelay:this.state.pastDelay,timedOut:this.state.timedOut,error:this.state.error,retry:this.retry}):this.state.loaded?m.render(this.state.loaded,this.props):null},t}(s.Component),a(u,"contextType",d),p}function y(e){return m(u,e)}y.Map=function(e){if("function"!=typeof e.render)throw new Error("LoadableMap requires a `render(loaded, props)` function");return m(p,e)};var h=function(e){function n(){return e.apply(this,arguments)||this}return r(n,e),n.prototype.render=function(){return s.createElement(d.Provider,{value:{report:this.props.report}},s.Children.only(this.props.children))},n}(s.Component);function g(e){for(var n=[];e.length;){var t=e.pop();n.push(t())}return Promise.all(n).then((function(){if(e.length)return g(e)}))}y.Capture=h,y.preloadAll=function(){return new Promise((function(e,n){g(l).then(e,n)}))},y.preloadReady=function(){return new Promise((function(e,n){g(c).then(e,e)}))},e.exports=y},9702:(e,n,t)=>{"use strict";t.d(n,{H:()=>s,f:()=>i});var r=t(7267),o=t(7896),a=t(2784);function i(e,n,t){return void 0===t&&(t=[]),e.some((function(e){var o=e.path?(0,r.LX)(n,e):t.length?t[t.length-1].match:r.F0.computeRootMatch(n);return o&&(t.push({route:e,match:o}),e.routes&&i(e.routes,n,t)),o})),t}function s(e,n,t){return void 0===n&&(n={}),void 0===t&&(t={}),e?a.createElement(r.rs,t,e.map((function(e,t){return a.createElement(r.AW,{key:e.key||t,path:e.path,exact:e.exact,strict:e.strict,render:function(t){return e.render?e.render((0,o.Z)({},t,{},n,{route:e})):a.createElement(e.component,(0,o.Z)({},t,n,{route:e}))}})}))):null}},47933:(e,n,t)=>{"use strict";t.d(n,{OL:()=>x,UT:()=>u,VK:()=>d,rU:()=>g});var r=t(7267),o=t(32222),a=t(2784),i=t(14410),s=t(7896),l=t(31461),c=t(10362),d=function(e){function n(){for(var n,t=arguments.length,r=new Array(t),o=0;o<t;o++)r[o]=arguments[o];return(n=e.call.apply(e,[this].concat(r))||this).history=(0,i.lX)(n.props),n}return(0,o.Z)(n,e),n.prototype.render=function(){return a.createElement(r.F0,{history:this.history,children:this.props.children})},n}(a.Component);var u=function(e){function n(){for(var n,t=arguments.length,r=new Array(t),o=0;o<t;o++)r[o]=arguments[o];return(n=e.call.apply(e,[this].concat(r))||this).history=(0,i.q_)(n.props),n}return(0,o.Z)(n,e),n.prototype.render=function(){return a.createElement(r.F0,{history:this.history,children:this.props.children})},n}(a.Component);var p=function(e,n){return"function"==typeof e?e(n):e},f=function(e,n){return"string"==typeof e?(0,i.ob)(e,null,null,n):e},m=function(e){return e},y=a.forwardRef;void 0===y&&(y=m);var h=y((function(e,n){var t=e.innerRef,r=e.navigate,o=e.onClick,i=(0,l.Z)(e,["innerRef","navigate","onClick"]),c=i.target,d=(0,s.Z)({},i,{onClick:function(e){try{o&&o(e)}catch(n){throw e.preventDefault(),n}e.defaultPrevented||0!==e.button||c&&"_self"!==c||function(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}(e)||(e.preventDefault(),r())}});return d.ref=m!==y&&n||t,a.createElement("a",d)}));var g=y((function(e,n){var t=e.component,o=void 0===t?h:t,d=e.replace,u=e.to,g=e.innerRef,b=(0,l.Z)(e,["component","replace","to","innerRef"]);return a.createElement(r.s6.Consumer,null,(function(e){e||(0,c.Z)(!1);var t=e.history,r=f(p(u,e.location),e.location),l=r?t.createHref(r):"",h=(0,s.Z)({},b,{href:l,navigate:function(){var n=p(u,e.location),r=(0,i.Ep)(e.location)===(0,i.Ep)(f(n));(d||r?t.replace:t.push)(n)}});return m!==y?h.ref=n||g:h.innerRef=g,a.createElement(o,h)}))})),b=function(e){return e},v=a.forwardRef;void 0===v&&(v=b);var x=v((function(e,n){var t=e["aria-current"],o=void 0===t?"page":t,i=e.activeClassName,d=void 0===i?"active":i,u=e.activeStyle,m=e.className,y=e.exact,h=e.isActive,x=e.location,w=e.sensitive,k=e.strict,S=e.style,E=e.to,C=e.innerRef,_=(0,l.Z)(e,["aria-current","activeClassName","activeStyle","className","exact","isActive","location","sensitive","strict","style","to","innerRef"]);return a.createElement(r.s6.Consumer,null,(function(e){e||(0,c.Z)(!1);var t=x||e.location,i=f(p(E,t),t),l=i.pathname,P=l&&l.replace(/([.+*?=^!:${}()[\]|/\\])/g,"\\$1"),j=P?(0,r.LX)(t.pathname,{path:P,exact:y,sensitive:w,strict:k}):null,T=!!(h?h(j,t):j),O="function"==typeof m?m(T):m,$="function"==typeof S?S(T):S;T&&(O=function(){for(var e=arguments.length,n=new Array(e),t=0;t<e;t++)n[t]=arguments[t];return n.filter((function(e){return e})).join(" ")}(O,d),$=(0,s.Z)({},$,u));var R=(0,s.Z)({"aria-current":T&&o||null,className:O,style:$,to:i},_);return b!==v?R.ref=n||C:R.innerRef=C,a.createElement(g,R)}))}))},7267:(e,n,t)=>{"use strict";t.d(n,{AW:()=>E,F0:()=>v,LX:()=>S,TH:()=>N,k6:()=>R,rs:()=>O,s6:()=>b});var r=t(32222),o=t(2784),a=t(13980),i=t.n(a),s=t(14410),l=t(10362),c=t(7896),d=t(79056),u=t.n(d),p=(t(48570),t(31461)),f=(t(73463),1073741823),m="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:void 0!==t.g?t.g:{};var y=o.createContext||function(e,n){var t,a,s="__create-react-context-"+function(){var e="__global_unique_id__";return m[e]=(m[e]||0)+1}()+"__",l=function(e){function t(){for(var n,t,r,o=arguments.length,a=new Array(o),i=0;i<o;i++)a[i]=arguments[i];return(n=e.call.apply(e,[this].concat(a))||this).emitter=(t=n.props.value,r=[],{on:function(e){r.push(e)},off:function(e){r=r.filter((function(n){return n!==e}))},get:function(){return t},set:function(e,n){t=e,r.forEach((function(e){return e(t,n)}))}}),n}(0,r.Z)(t,e);var o=t.prototype;return o.getChildContext=function(){var e;return(e={})[s]=this.emitter,e},o.componentWillReceiveProps=function(e){if(this.props.value!==e.value){var t,r=this.props.value,o=e.value;((a=r)===(i=o)?0!==a||1/a==1/i:a!=a&&i!=i)?t=0:(t="function"==typeof n?n(r,o):f,0!==(t|=0)&&this.emitter.set(e.value,t))}var a,i},o.render=function(){return this.props.children},t}(o.Component);l.childContextTypes=((t={})[s]=i().object.isRequired,t);var c=function(n){function t(){for(var e,t=arguments.length,r=new Array(t),o=0;o<t;o++)r[o]=arguments[o];return(e=n.call.apply(n,[this].concat(r))||this).observedBits=void 0,e.state={value:e.getValue()},e.onUpdate=function(n,t){0!=((0|e.observedBits)&t)&&e.setState({value:e.getValue()})},e}(0,r.Z)(t,n);var o=t.prototype;return o.componentWillReceiveProps=function(e){var n=e.observedBits;this.observedBits=null==n?f:n},o.componentDidMount=function(){this.context[s]&&this.context[s].on(this.onUpdate);var e=this.props.observedBits;this.observedBits=null==e?f:e},o.componentWillUnmount=function(){this.context[s]&&this.context[s].off(this.onUpdate)},o.getValue=function(){return this.context[s]?this.context[s].get():e},o.render=function(){return(e=this.props.children,Array.isArray(e)?e[0]:e)(this.state.value);var e},t}(o.Component);return c.contextTypes=((a={})[s]=i().object,a),{Provider:l,Consumer:c}},h=function(e){var n=y();return n.displayName=e,n},g=h("Router-History"),b=h("Router"),v=function(e){function n(n){var t;return(t=e.call(this,n)||this).state={location:n.history.location},t._isMounted=!1,t._pendingLocation=null,n.staticContext||(t.unlisten=n.history.listen((function(e){t._pendingLocation=e}))),t}(0,r.Z)(n,e),n.computeRootMatch=function(e){return{path:"/",url:"/",params:{},isExact:"/"===e}};var t=n.prototype;return t.componentDidMount=function(){var e=this;this._isMounted=!0,this.unlisten&&this.unlisten(),this.props.staticContext||(this.unlisten=this.props.history.listen((function(n){e._isMounted&&e.setState({location:n})}))),this._pendingLocation&&this.setState({location:this._pendingLocation})},t.componentWillUnmount=function(){this.unlisten&&(this.unlisten(),this._isMounted=!1,this._pendingLocation=null)},t.render=function(){return o.createElement(b.Provider,{value:{history:this.props.history,location:this.state.location,match:n.computeRootMatch(this.state.location.pathname),staticContext:this.props.staticContext}},o.createElement(g.Provider,{children:this.props.children||null,value:this.props.history}))},n}(o.Component);o.Component;o.Component;var x={},w=1e4,k=0;function S(e,n){void 0===n&&(n={}),("string"==typeof n||Array.isArray(n))&&(n={path:n});var t=n,r=t.path,o=t.exact,a=void 0!==o&&o,i=t.strict,s=void 0!==i&&i,l=t.sensitive,c=void 0!==l&&l;return[].concat(r).reduce((function(n,t){if(!t&&""!==t)return null;if(n)return n;var r=function(e,n){var t=""+n.end+n.strict+n.sensitive,r=x[t]||(x[t]={});if(r[e])return r[e];var o=[],a={regexp:u()(e,o,n),keys:o};return k<w&&(r[e]=a,k++),a}(t,{end:a,strict:s,sensitive:c}),o=r.regexp,i=r.keys,l=o.exec(e);if(!l)return null;var d=l[0],p=l.slice(1),f=e===d;return a&&!f?null:{path:t,url:"/"===t&&""===d?"/":d,isExact:f,params:i.reduce((function(e,n,t){return e[n.name]=p[t],e}),{})}}),null)}var E=function(e){function n(){return e.apply(this,arguments)||this}return(0,r.Z)(n,e),n.prototype.render=function(){var e=this;return o.createElement(b.Consumer,null,(function(n){n||(0,l.Z)(!1);var t=e.props.location||n.location,r=e.props.computedMatch?e.props.computedMatch:e.props.path?S(t.pathname,e.props):n.match,a=(0,c.Z)({},n,{location:t,match:r}),i=e.props,s=i.children,d=i.component,u=i.render;return Array.isArray(s)&&function(e){return 0===o.Children.count(e)}(s)&&(s=null),o.createElement(b.Provider,{value:a},a.match?s?"function"==typeof s?s(a):s:d?o.createElement(d,a):u?u(a):null:"function"==typeof s?s(a):null)}))},n}(o.Component);function C(e){return"/"===e.charAt(0)?e:"/"+e}function _(e,n){if(!e)return n;var t=C(e);return 0!==n.pathname.indexOf(t)?n:(0,c.Z)({},n,{pathname:n.pathname.substr(t.length)})}function P(e){return"string"==typeof e?e:(0,s.Ep)(e)}function j(e){return function(){(0,l.Z)(!1)}}function T(){}o.Component;var O=function(e){function n(){return e.apply(this,arguments)||this}return(0,r.Z)(n,e),n.prototype.render=function(){var e=this;return o.createElement(b.Consumer,null,(function(n){n||(0,l.Z)(!1);var t,r,a=e.props.location||n.location;return o.Children.forEach(e.props.children,(function(e){if(null==r&&o.isValidElement(e)){t=e;var i=e.props.path||e.props.from;r=i?S(a.pathname,(0,c.Z)({},e.props,{path:i})):n.match}})),r?o.cloneElement(t,{location:a,computedMatch:r}):null}))},n}(o.Component);var $=o.useContext;function R(){return $(g)}function N(){return $(b).location}},79056:(e,n,t)=>{var r=t(77906);e.exports=f,e.exports.parse=a,e.exports.compile=function(e,n){return s(a(e,n),n)},e.exports.tokensToFunction=s,e.exports.tokensToRegExp=p;var o=new RegExp(["(\\\\.)","([\\/.])?(?:(?:\\:(\\w+)(?:\\(((?:\\\\.|[^\\\\()])+)\\))?|\\(((?:\\\\.|[^\\\\()])+)\\))([+*?])?|(\\*))"].join("|"),"g");function a(e,n){for(var t,r=[],a=0,i=0,s="",d=n&&n.delimiter||"/";null!=(t=o.exec(e));){var u=t[0],p=t[1],f=t.index;if(s+=e.slice(i,f),i=f+u.length,p)s+=p[1];else{var m=e[i],y=t[2],h=t[3],g=t[4],b=t[5],v=t[6],x=t[7];s&&(r.push(s),s="");var w=null!=y&&null!=m&&m!==y,k="+"===v||"*"===v,S="?"===v||"*"===v,E=t[2]||d,C=g||b;r.push({name:h||a++,prefix:y||"",delimiter:E,optional:S,repeat:k,partial:w,asterisk:!!x,pattern:C?c(C):x?".*":"[^"+l(E)+"]+?"})}}return i<e.length&&(s+=e.substr(i)),s&&r.push(s),r}function i(e){return encodeURI(e).replace(/[\/?#]/g,(function(e){return"%"+e.charCodeAt(0).toString(16).toUpperCase()}))}function s(e,n){for(var t=new Array(e.length),o=0;o<e.length;o++)"object"==typeof e[o]&&(t[o]=new RegExp("^(?:"+e[o].pattern+")$",u(n)));return function(n,o){for(var a="",s=n||{},l=(o||{}).pretty?i:encodeURIComponent,c=0;c<e.length;c++){var d=e[c];if("string"!=typeof d){var u,p=s[d.name];if(null==p){if(d.optional){d.partial&&(a+=d.prefix);continue}throw new TypeError('Expected "'+d.name+'" to be defined')}if(r(p)){if(!d.repeat)throw new TypeError('Expected "'+d.name+'" to not repeat, but received `'+JSON.stringify(p)+"`");if(0===p.length){if(d.optional)continue;throw new TypeError('Expected "'+d.name+'" to not be empty')}for(var f=0;f<p.length;f++){if(u=l(p[f]),!t[c].test(u))throw new TypeError('Expected all "'+d.name+'" to match "'+d.pattern+'", but received `'+JSON.stringify(u)+"`");a+=(0===f?d.prefix:d.delimiter)+u}}else{if(u=d.asterisk?encodeURI(p).replace(/[?#]/g,(function(e){return"%"+e.charCodeAt(0).toString(16).toUpperCase()})):l(p),!t[c].test(u))throw new TypeError('Expected "'+d.name+'" to match "'+d.pattern+'", but received "'+u+'"');a+=d.prefix+u}}else a+=d}return a}}function l(e){return e.replace(/([.+*?=^!:${}()[\]|\/\\])/g,"\\$1")}function c(e){return e.replace(/([=!:$\/()])/g,"\\$1")}function d(e,n){return e.keys=n,e}function u(e){return e&&e.sensitive?"":"i"}function p(e,n,t){r(n)||(t=n||t,n=[]);for(var o=(t=t||{}).strict,a=!1!==t.end,i="",s=0;s<e.length;s++){var c=e[s];if("string"==typeof c)i+=l(c);else{var p=l(c.prefix),f="(?:"+c.pattern+")";n.push(c),c.repeat&&(f+="(?:"+p+f+")*"),i+=f=c.optional?c.partial?p+"("+f+")?":"(?:"+p+"("+f+"))?":p+"("+f+")"}}var m=l(t.delimiter||"/"),y=i.slice(-m.length)===m;return o||(i=(y?i.slice(0,-m.length):i)+"(?:"+m+"(?=$))?"),i+=a?"$":o&&y?"":"(?="+m+"|$)",d(new RegExp("^"+i,u(t)),n)}function f(e,n,t){return r(n)||(t=n||t,n=[]),t=t||{},e instanceof RegExp?function(e,n){var t=e.source.match(/\((?!\?)/g);if(t)for(var r=0;r<t.length;r++)n.push({name:r,prefix:null,delimiter:null,optional:!1,repeat:!1,partial:!1,asterisk:!1,pattern:null});return d(e,n)}(e,n):r(e)?function(e,n,t){for(var r=[],o=0;o<e.length;o++)r.push(f(e[o],n,t).source);return d(new RegExp("(?:"+r.join("|")+")",u(t)),n)}(e,n,t):function(e,n,t){return p(a(e,t),n,t)}(e,n,t)}},11837:(e,n,t)=>{"use strict";var r=t(2784),o=Symbol.for("react.element"),a=Symbol.for("react.fragment"),i=Object.prototype.hasOwnProperty,s=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,l={key:!0,ref:!0,__self:!0,__source:!0};function c(e,n,t){var r,a={},c=null,d=null;for(r in void 0!==t&&(c=""+t),void 0!==n.key&&(c=""+n.key),void 0!==n.ref&&(d=n.ref),n)i.call(n,r)&&!l.hasOwnProperty(r)&&(a[r]=n[r]);if(e&&e.defaultProps)for(r in n=e.defaultProps)void 0===a[r]&&(a[r]=n[r]);return{$$typeof:o,type:e,key:c,ref:d,props:a,_owner:s.current}}n.Fragment=a,n.jsx=c,n.jsxs=c},83426:(e,n)=>{"use strict";var t=Symbol.for("react.element"),r=Symbol.for("react.portal"),o=Symbol.for("react.fragment"),a=Symbol.for("react.strict_mode"),i=Symbol.for("react.profiler"),s=Symbol.for("react.provider"),l=Symbol.for("react.context"),c=Symbol.for("react.forward_ref"),d=Symbol.for("react.suspense"),u=Symbol.for("react.memo"),p=Symbol.for("react.lazy"),f=Symbol.iterator;var m={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},y=Object.assign,h={};function g(e,n,t){this.props=e,this.context=n,this.refs=h,this.updater=t||m}function b(){}function v(e,n,t){this.props=e,this.context=n,this.refs=h,this.updater=t||m}g.prototype.isReactComponent={},g.prototype.setState=function(e,n){if("object"!=typeof e&&"function"!=typeof e&&null!=e)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,e,n,"setState")},g.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")},b.prototype=g.prototype;var x=v.prototype=new b;x.constructor=v,y(x,g.prototype),x.isPureReactComponent=!0;var w=Array.isArray,k=Object.prototype.hasOwnProperty,S={current:null},E={key:!0,ref:!0,__self:!0,__source:!0};function C(e,n,r){var o,a={},i=null,s=null;if(null!=n)for(o in void 0!==n.ref&&(s=n.ref),void 0!==n.key&&(i=""+n.key),n)k.call(n,o)&&!E.hasOwnProperty(o)&&(a[o]=n[o]);var l=arguments.length-2;if(1===l)a.children=r;else if(1<l){for(var c=Array(l),d=0;d<l;d++)c[d]=arguments[d+2];a.children=c}if(e&&e.defaultProps)for(o in l=e.defaultProps)void 0===a[o]&&(a[o]=l[o]);return{$$typeof:t,type:e,key:i,ref:s,props:a,_owner:S.current}}function _(e){return"object"==typeof e&&null!==e&&e.$$typeof===t}var P=/\/+/g;function j(e,n){return"object"==typeof e&&null!==e&&null!=e.key?function(e){var n={"=":"=0",":":"=2"};return"$"+e.replace(/[=:]/g,(function(e){return n[e]}))}(""+e.key):n.toString(36)}function T(e,n,o,a,i){var s=typeof e;"undefined"!==s&&"boolean"!==s||(e=null);var l=!1;if(null===e)l=!0;else switch(s){case"string":case"number":l=!0;break;case"object":switch(e.$$typeof){case t:case r:l=!0}}if(l)return i=i(l=e),e=""===a?"."+j(l,0):a,w(i)?(o="",null!=e&&(o=e.replace(P,"$&/")+"/"),T(i,n,o,"",(function(e){return e}))):null!=i&&(_(i)&&(i=function(e,n){return{$$typeof:t,type:e.type,key:n,ref:e.ref,props:e.props,_owner:e._owner}}(i,o+(!i.key||l&&l.key===i.key?"":(""+i.key).replace(P,"$&/")+"/")+e)),n.push(i)),1;if(l=0,a=""===a?".":a+":",w(e))for(var c=0;c<e.length;c++){var d=a+j(s=e[c],c);l+=T(s,n,o,d,i)}else if(d=function(e){return null===e||"object"!=typeof e?null:"function"==typeof(e=f&&e[f]||e["@@iterator"])?e:null}(e),"function"==typeof d)for(e=d.call(e),c=0;!(s=e.next()).done;)l+=T(s=s.value,n,o,d=a+j(s,c++),i);else if("object"===s)throw n=String(e),Error("Objects are not valid as a React child (found: "+("[object Object]"===n?"object with keys {"+Object.keys(e).join(", ")+"}":n)+"). If you meant to render a collection of children, use an array instead.");return l}function O(e,n,t){if(null==e)return e;var r=[],o=0;return T(e,r,"","",(function(e){return n.call(t,e,o++)})),r}function $(e){if(-1===e._status){var n=e._result;(n=n()).then((function(n){0!==e._status&&-1!==e._status||(e._status=1,e._result=n)}),(function(n){0!==e._status&&-1!==e._status||(e._status=2,e._result=n)})),-1===e._status&&(e._status=0,e._result=n)}if(1===e._status)return e._result.default;throw e._result}var R={current:null},N={transition:null},A={ReactCurrentDispatcher:R,ReactCurrentBatchConfig:N,ReactCurrentOwner:S};n.Children={map:O,forEach:function(e,n,t){O(e,(function(){n.apply(this,arguments)}),t)},count:function(e){var n=0;return O(e,(function(){n++})),n},toArray:function(e){return O(e,(function(e){return e}))||[]},only:function(e){if(!_(e))throw Error("React.Children.only expected to receive a single React element child.");return e}},n.Component=g,n.Fragment=o,n.Profiler=i,n.PureComponent=v,n.StrictMode=a,n.Suspense=d,n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=A,n.cloneElement=function(e,n,r){if(null==e)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+e+".");var o=y({},e.props),a=e.key,i=e.ref,s=e._owner;if(null!=n){if(void 0!==n.ref&&(i=n.ref,s=S.current),void 0!==n.key&&(a=""+n.key),e.type&&e.type.defaultProps)var l=e.type.defaultProps;for(c in n)k.call(n,c)&&!E.hasOwnProperty(c)&&(o[c]=void 0===n[c]&&void 0!==l?l[c]:n[c])}var c=arguments.length-2;if(1===c)o.children=r;else if(1<c){l=Array(c);for(var d=0;d<c;d++)l[d]=arguments[d+2];o.children=l}return{$$typeof:t,type:e.type,key:a,ref:i,props:o,_owner:s}},n.createContext=function(e){return(e={$$typeof:l,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null}).Provider={$$typeof:s,_context:e},e.Consumer=e},n.createElement=C,n.createFactory=function(e){var n=C.bind(null,e);return n.type=e,n},n.createRef=function(){return{current:null}},n.forwardRef=function(e){return{$$typeof:c,render:e}},n.isValidElement=_,n.lazy=function(e){return{$$typeof:p,_payload:{_status:-1,_result:e},_init:$}},n.memo=function(e,n){return{$$typeof:u,type:e,compare:void 0===n?null:n}},n.startTransition=function(e){var n=N.transition;N.transition={};try{e()}finally{N.transition=n}},n.unstable_act=function(){throw Error("act(...) is not supported in production builds of React.")},n.useCallback=function(e,n){return R.current.useCallback(e,n)},n.useContext=function(e){return R.current.useContext(e)},n.useDebugValue=function(){},n.useDeferredValue=function(e){return R.current.useDeferredValue(e)},n.useEffect=function(e,n){return R.current.useEffect(e,n)},n.useId=function(){return R.current.useId()},n.useImperativeHandle=function(e,n,t){return R.current.useImperativeHandle(e,n,t)},n.useInsertionEffect=function(e,n){return R.current.useInsertionEffect(e,n)},n.useLayoutEffect=function(e,n){return R.current.useLayoutEffect(e,n)},n.useMemo=function(e,n){return R.current.useMemo(e,n)},n.useReducer=function(e,n,t){return R.current.useReducer(e,n,t)},n.useRef=function(e){return R.current.useRef(e)},n.useState=function(e){return R.current.useState(e)},n.useSyncExternalStore=function(e,n,t){return R.current.useSyncExternalStore(e,n,t)},n.useTransition=function(){return R.current.useTransition()},n.version="18.2.0"},2784:(e,n,t)=>{"use strict";e.exports=t(83426)},52322:(e,n,t)=>{"use strict";e.exports=t(11837)},46475:(e,n)=>{"use strict";function t(e,n){var t=e.length;e.push(n);e:for(;0<t;){var r=t-1>>>1,o=e[r];if(!(0<a(o,n)))break e;e[r]=n,e[t]=o,t=r}}function r(e){return 0===e.length?null:e[0]}function o(e){if(0===e.length)return null;var n=e[0],t=e.pop();if(t!==n){e[0]=t;e:for(var r=0,o=e.length,i=o>>>1;r<i;){var s=2*(r+1)-1,l=e[s],c=s+1,d=e[c];if(0>a(l,t))c<o&&0>a(d,l)?(e[r]=d,e[c]=t,r=c):(e[r]=l,e[s]=t,r=s);else{if(!(c<o&&0>a(d,t)))break e;e[r]=d,e[c]=t,r=c}}}return n}function a(e,n){var t=e.sortIndex-n.sortIndex;return 0!==t?t:e.id-n.id}if("object"==typeof performance&&"function"==typeof performance.now){var i=performance;n.unstable_now=function(){return i.now()}}else{var s=Date,l=s.now();n.unstable_now=function(){return s.now()-l}}var c=[],d=[],u=1,p=null,f=3,m=!1,y=!1,h=!1,g="function"==typeof setTimeout?setTimeout:null,b="function"==typeof clearTimeout?clearTimeout:null,v="undefined"!=typeof setImmediate?setImmediate:null;function x(e){for(var n=r(d);null!==n;){if(null===n.callback)o(d);else{if(!(n.startTime<=e))break;o(d),n.sortIndex=n.expirationTime,t(c,n)}n=r(d)}}function w(e){if(h=!1,x(e),!y)if(null!==r(c))y=!0,N(k);else{var n=r(d);null!==n&&A(w,n.startTime-e)}}function k(e,t){y=!1,h&&(h=!1,b(_),_=-1),m=!0;var a=f;try{for(x(t),p=r(c);null!==p&&(!(p.expirationTime>t)||e&&!T());){var i=p.callback;if("function"==typeof i){p.callback=null,f=p.priorityLevel;var s=i(p.expirationTime<=t);t=n.unstable_now(),"function"==typeof s?p.callback=s:p===r(c)&&o(c),x(t)}else o(c);p=r(c)}if(null!==p)var l=!0;else{var u=r(d);null!==u&&A(w,u.startTime-t),l=!1}return l}finally{p=null,f=a,m=!1}}"undefined"!=typeof navigator&&void 0!==navigator.scheduling&&void 0!==navigator.scheduling.isInputPending&&navigator.scheduling.isInputPending.bind(navigator.scheduling);var S,E=!1,C=null,_=-1,P=5,j=-1;function T(){return!(n.unstable_now()-j<P)}function O(){if(null!==C){var e=n.unstable_now();j=e;var t=!0;try{t=C(!0,e)}finally{t?S():(E=!1,C=null)}}else E=!1}if("function"==typeof v)S=function(){v(O)};else if("undefined"!=typeof MessageChannel){var $=new MessageChannel,R=$.port2;$.port1.onmessage=O,S=function(){R.postMessage(null)}}else S=function(){g(O,0)};function N(e){C=e,E||(E=!0,S())}function A(e,t){_=g((function(){e(n.unstable_now())}),t)}n.unstable_IdlePriority=5,n.unstable_ImmediatePriority=1,n.unstable_LowPriority=4,n.unstable_NormalPriority=3,n.unstable_Profiling=null,n.unstable_UserBlockingPriority=2,n.unstable_cancelCallback=function(e){e.callback=null},n.unstable_continueExecution=function(){y||m||(y=!0,N(k))},n.unstable_forceFrameRate=function(e){0>e||125<e?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):P=0<e?Math.floor(1e3/e):5},n.unstable_getCurrentPriorityLevel=function(){return f},n.unstable_getFirstCallbackNode=function(){return r(c)},n.unstable_next=function(e){switch(f){case 1:case 2:case 3:var n=3;break;default:n=f}var t=f;f=n;try{return e()}finally{f=t}},n.unstable_pauseExecution=function(){},n.unstable_requestPaint=function(){},n.unstable_runWithPriority=function(e,n){switch(e){case 1:case 2:case 3:case 4:case 5:break;default:e=3}var t=f;f=e;try{return n()}finally{f=t}},n.unstable_scheduleCallback=function(e,o,a){var i=n.unstable_now();switch("object"==typeof a&&null!==a?a="number"==typeof(a=a.delay)&&0<a?i+a:i:a=i,e){case 1:var s=-1;break;case 2:s=250;break;case 5:s=1073741823;break;case 4:s=1e4;break;default:s=5e3}return e={id:u++,callback:o,priorityLevel:e,startTime:a,expirationTime:s=a+s,sortIndex:-1},a>i?(e.sortIndex=a,t(d,e),null===r(c)&&e===r(d)&&(h?(b(_),_=-1):h=!0,A(w,a-i))):(e.sortIndex=s,t(c,e),y||m||(y=!0,N(k))),e},n.unstable_shouldYield=T,n.unstable_wrapCallback=function(e){var n=f;return function(){var t=f;f=n;try{return e.apply(this,arguments)}finally{f=t}}}},14616:(e,n,t)=>{"use strict";e.exports=t(46475)},88665:e=>{e.exports=function(e,n,t,r){var o=t?t.call(r,e,n):void 0;if(void 0!==o)return!!o;if(e===n)return!0;if("object"!=typeof e||!e||"object"!=typeof n||!n)return!1;var a=Object.keys(e),i=Object.keys(n);if(a.length!==i.length)return!1;for(var s=Object.prototype.hasOwnProperty.bind(n),l=0;l<a.length;l++){var c=a[l];if(!s(c))return!1;var d=e[c],u=n[c];if(!1===(o=t?t.call(r,d,u,c):void 0)||void 0===o&&d!==u)return!1}return!0}},7896:(e,n,t)=>{"use strict";function r(){return r=Object.assign?Object.assign.bind():function(e){for(var n=1;n<arguments.length;n++){var t=arguments[n];for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])}return e},r.apply(this,arguments)}t.d(n,{Z:()=>r})},32222:(e,n,t)=>{"use strict";function r(e,n){return r=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,n){return e.__proto__=n,e},r(e,n)}function o(e,n){e.prototype=Object.create(n.prototype),e.prototype.constructor=e,r(e,n)}t.d(n,{Z:()=>o})},31461:(e,n,t)=>{"use strict";function r(e,n){if(null==e)return{};var t,r,o={},a=Object.keys(e);for(r=0;r<a.length;r++)t=a[r],n.indexOf(t)>=0||(o[t]=e[t]);return o}t.d(n,{Z:()=>r})},40489:(e,n,t)=>{"use strict";function r(e){var n,t,o="";if("string"==typeof e||"number"==typeof e)o+=e;else if("object"==typeof e)if(Array.isArray(e)){var a=e.length;for(n=0;n<a;n++)e[n]&&(t=r(e[n]))&&(o&&(o+=" "),o+=t)}else for(t in e)e[t]&&(o&&(o+=" "),o+=t);return o}t.d(n,{Z:()=>o});const o=function(){for(var e,n,t=0,o="",a=arguments.length;t<a;t++)(e=arguments[t])&&(n=r(e))&&(o&&(o+=" "),o+=n);return o}},16935:(e,n,t)=>{"use strict";t.d(n,{p1:()=>P,y$:()=>ee});var r,o,a,i,s,l,c,d=t(2784),u=t(40489),p=Object.create,f=Object.defineProperty,m=Object.defineProperties,y=Object.getOwnPropertyDescriptor,h=Object.getOwnPropertyDescriptors,g=Object.getOwnPropertyNames,b=Object.getOwnPropertySymbols,v=Object.getPrototypeOf,x=Object.prototype.hasOwnProperty,w=Object.prototype.propertyIsEnumerable,k=(e,n,t)=>n in e?f(e,n,{enumerable:!0,configurable:!0,writable:!0,value:t}):e[n]=t,S=(e,n)=>{for(var t in n||(n={}))x.call(n,t)&&k(e,t,n[t]);if(b)for(var t of b(n))w.call(n,t)&&k(e,t,n[t]);return e},E=(e,n)=>m(e,h(n)),C=(e,n)=>{var t={};for(var r in e)x.call(e,r)&&n.indexOf(r)<0&&(t[r]=e[r]);if(null!=e&&b)for(var r of b(e))n.indexOf(r)<0&&w.call(e,r)&&(t[r]=e[r]);return t},_=(r={"../../node_modules/.pnpm/prismjs@1.29.0_patch_hash=vrxx3pzkik6jpmgpayxfjunetu/node_modules/prismjs/prism.js"(e,n){var t=function(){var e=/(?:^|\s)lang(?:uage)?-([\w-]+)(?=\s|$)/i,n=0,t={},r={util:{encode:function e(n){return n instanceof o?new o(n.type,e(n.content),n.alias):Array.isArray(n)?n.map(e):n.replace(/&/g,"&").replace(/</g,"<").replace(/\u00a0/g," ")},type:function(e){return Object.prototype.toString.call(e).slice(8,-1)},objId:function(e){return e.__id||Object.defineProperty(e,"__id",{value:++n}),e.__id},clone:function e(n,t){var o,a;switch(t=t||{},r.util.type(n)){case"Object":if(a=r.util.objId(n),t[a])return t[a];for(var i in o={},t[a]=o,n)n.hasOwnProperty(i)&&(o[i]=e(n[i],t));return o;case"Array":return a=r.util.objId(n),t[a]?t[a]:(o=[],t[a]=o,n.forEach((function(n,r){o[r]=e(n,t)})),o);default:return n}},getLanguage:function(n){for(;n;){var t=e.exec(n.className);if(t)return t[1].toLowerCase();n=n.parentElement}return"none"},setLanguage:function(n,t){n.className=n.className.replace(RegExp(e,"gi"),""),n.classList.add("language-"+t)},isActive:function(e,n,t){for(var r="no-"+n;e;){var o=e.classList;if(o.contains(n))return!0;if(o.contains(r))return!1;e=e.parentElement}return!!t}},languages:{plain:t,plaintext:t,text:t,txt:t,extend:function(e,n){var t=r.util.clone(r.languages[e]);for(var o in n)t[o]=n[o];return t},insertBefore:function(e,n,t,o){var a=(o=o||r.languages)[e],i={};for(var s in a)if(a.hasOwnProperty(s)){if(s==n)for(var l in t)t.hasOwnProperty(l)&&(i[l]=t[l]);t.hasOwnProperty(s)||(i[s]=a[s])}var c=o[e];return o[e]=i,r.languages.DFS(r.languages,(function(n,t){t===c&&n!=e&&(this[n]=i)})),i},DFS:function e(n,t,o,a){a=a||{};var i=r.util.objId;for(var s in n)if(n.hasOwnProperty(s)){t.call(n,s,n[s],o||s);var l=n[s],c=r.util.type(l);"Object"!==c||a[i(l)]?"Array"!==c||a[i(l)]||(a[i(l)]=!0,e(l,t,s,a)):(a[i(l)]=!0,e(l,t,null,a))}}},plugins:{},highlight:function(e,n,t){var a={code:e,grammar:n,language:t};if(r.hooks.run("before-tokenize",a),!a.grammar)throw new Error('The language "'+a.language+'" has no grammar.');return a.tokens=r.tokenize(a.code,a.grammar),r.hooks.run("after-tokenize",a),o.stringify(r.util.encode(a.tokens),a.language)},tokenize:function(e,n){var t=n.rest;if(t){for(var r in t)n[r]=t[r];delete n.rest}var o=new s;return l(o,o.head,e),i(e,o,n,o.head,0),function(e){for(var n=[],t=e.head.next;t!==e.tail;)n.push(t.value),t=t.next;return n}(o)},hooks:{all:{},add:function(e,n){var t=r.hooks.all;t[e]=t[e]||[],t[e].push(n)},run:function(e,n){var t=r.hooks.all[e];if(t&&t.length)for(var o,a=0;o=t[a++];)o(n)}},Token:o};function o(e,n,t,r){this.type=e,this.content=n,this.alias=t,this.length=0|(r||"").length}function a(e,n,t,r){e.lastIndex=n;var o=e.exec(t);if(o&&r&&o[1]){var a=o[1].length;o.index+=a,o[0]=o[0].slice(a)}return o}function i(e,n,t,s,d,u){for(var p in t)if(t.hasOwnProperty(p)&&t[p]){var f=t[p];f=Array.isArray(f)?f:[f];for(var m=0;m<f.length;++m){if(u&&u.cause==p+","+m)return;var y=f[m],h=y.inside,g=!!y.lookbehind,b=!!y.greedy,v=y.alias;if(b&&!y.pattern.global){var x=y.pattern.toString().match(/[imsuy]*$/)[0];y.pattern=RegExp(y.pattern.source,x+"g")}for(var w=y.pattern||y,k=s.next,S=d;k!==n.tail&&!(u&&S>=u.reach);S+=k.value.length,k=k.next){var E=k.value;if(n.length>e.length)return;if(!(E instanceof o)){var C,_=1;if(b){if(!(C=a(w,S,e,g))||C.index>=e.length)break;var P=C.index,j=C.index+C[0].length,T=S;for(T+=k.value.length;P>=T;)T+=(k=k.next).value.length;if(S=T-=k.value.length,k.value instanceof o)continue;for(var O=k;O!==n.tail&&(T<j||"string"==typeof O.value);O=O.next)_++,T+=O.value.length;_--,E=e.slice(S,T),C.index-=S}else if(!(C=a(w,0,E,g)))continue;P=C.index;var $=C[0],R=E.slice(0,P),N=E.slice(P+$.length),A=S+E.length;u&&A>u.reach&&(u.reach=A);var L=k.prev;if(R&&(L=l(n,L,R),S+=R.length),c(n,L,_),k=l(n,L,new o(p,h?r.tokenize($,h):$,v,$)),N&&l(n,k,N),_>1){var D={cause:p+","+m,reach:A};i(e,n,t,k.prev,S,D),u&&D.reach>u.reach&&(u.reach=D.reach)}}}}}}function s(){var e={value:null,prev:null,next:null},n={value:null,prev:e,next:null};e.next=n,this.head=e,this.tail=n,this.length=0}function l(e,n,t){var r=n.next,o={value:t,prev:n,next:r};return n.next=o,r.prev=o,e.length++,o}function c(e,n,t){for(var r=n.next,o=0;o<t&&r!==e.tail;o++)r=r.next;n.next=r,r.prev=n,e.length-=o}return o.stringify=function e(n,t){if("string"==typeof n)return n;if(Array.isArray(n)){var o="";return n.forEach((function(n){o+=e(n,t)})),o}var a={type:n.type,content:e(n.content,t),tag:"span",classes:["token",n.type],attributes:{},language:t},i=n.alias;i&&(Array.isArray(i)?Array.prototype.push.apply(a.classes,i):a.classes.push(i)),r.hooks.run("wrap",a);var s="";for(var l in a.attributes)s+=" "+l+'="'+(a.attributes[l]||"").replace(/"/g,""")+'"';return"<"+a.tag+' class="'+a.classes.join(" ")+'"'+s+">"+a.content+"</"+a.tag+">"},r}();n.exports=t,t.default=t}},function(){return o||(0,r[g(r)[0]])((o={exports:{}}).exports,o),o.exports}),P=((e,n,t)=>(t=null!=e?p(v(e)):{},((e,n,t,r)=>{if(n&&"object"==typeof n||"function"==typeof n)for(let o of g(n))x.call(e,o)||o===t||f(e,o,{get:()=>n[o],enumerable:!(r=y(n,o))||r.enumerable});return e})(!n&&e&&e.__esModule?t:f(t,"default",{value:e,enumerable:!0}),e)))(_());P.languages.markup={comment:{pattern:/<!--(?:(?!<!--)[\s\S])*?-->/,greedy:!0},prolog:{pattern:/<\?[\s\S]+?\?>/,greedy:!0},doctype:{pattern:/<!DOCTYPE(?:[^>"'[\]]|"[^"]*"|'[^']*')+(?:\[(?:[^<"'\]]|"[^"]*"|'[^']*'|<(?!!--)|<!--(?:[^-]|-(?!->))*-->)*\]\s*)?>/i,greedy:!0,inside:{"internal-subset":{pattern:/(^[^\[]*\[)[\s\S]+(?=\]>$)/,lookbehind:!0,greedy:!0,inside:null},string:{pattern:/"[^"]*"|'[^']*'/,greedy:!0},punctuation:/^<!|>$|[[\]]/,"doctype-tag":/^DOCTYPE/i,name:/[^\s<>'"]+/}},cdata:{pattern:/<!\[CDATA\[[\s\S]*?\]\]>/i,greedy:!0},tag:{pattern:/<\/?(?!\d)[^\s>\/=$<%]+(?:\s(?:\s*[^\s>\/=]+(?:\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))|(?=[\s/>])))+)?\s*\/?>/,greedy:!0,inside:{tag:{pattern:/^<\/?[^\s>\/]+/,inside:{punctuation:/^<\/?/,namespace:/^[^\s>\/:]+:/}},"special-attr":[],"attr-value":{pattern:/=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+)/,inside:{punctuation:[{pattern:/^=/,alias:"attr-equals"},{pattern:/^(\s*)["']|["']$/,lookbehind:!0}]}},punctuation:/\/?>/,"attr-name":{pattern:/[^\s>\/]+/,inside:{namespace:/^[^\s>\/:]+:/}}}},entity:[{pattern:/&[\da-z]{1,8};/i,alias:"named-entity"},/&#x?[\da-f]{1,8};/i]},P.languages.markup.tag.inside["attr-value"].inside.entity=P.languages.markup.entity,P.languages.markup.doctype.inside["internal-subset"].inside=P.languages.markup,P.hooks.add("wrap",(function(e){"entity"===e.type&&(e.attributes.title=e.content.replace(/&/,"&"))})),Object.defineProperty(P.languages.markup.tag,"addInlined",{value:function(e,n){var t;(n=((t=((t={})["language-"+n]={pattern:/(^<!\[CDATA\[)[\s\S]+?(?=\]\]>$)/i,lookbehind:!0,inside:P.languages[n]},t.cdata=/^<!\[CDATA\[|\]\]>$/i,{"included-cdata":{pattern:/<!\[CDATA\[[\s\S]*?\]\]>/i,inside:t}}))["language-"+n]={pattern:/[\s\S]+/,inside:P.languages[n]},{}))[e]={pattern:RegExp(/(<__[^>]*>)(?:<!\[CDATA\[(?:[^\]]|\](?!\]>))*\]\]>|(?!<!\[CDATA\[)[\s\S])*?(?=<\/__>)/.source.replace(/__/g,(function(){return e})),"i"),lookbehind:!0,greedy:!0,inside:t},P.languages.insertBefore("markup","cdata",n)}}),Object.defineProperty(P.languages.markup.tag,"addAttribute",{value:function(e,n){P.languages.markup.tag.inside["special-attr"].push({pattern:RegExp(/(^|["'\s])/.source+"(?:"+e+")"+/\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))/.source,"i"),lookbehind:!0,inside:{"attr-name":/^[^\s=]+/,"attr-value":{pattern:/=[\s\S]+/,inside:{value:{pattern:/(^=\s*(["']|(?!["'])))\S[\s\S]*(?=\2$)/,lookbehind:!0,alias:[n,"language-"+n],inside:P.languages[n]},punctuation:[{pattern:/^=/,alias:"attr-equals"},/"|'/]}}}})}}),P.languages.html=P.languages.markup,P.languages.mathml=P.languages.markup,P.languages.svg=P.languages.markup,P.languages.xml=P.languages.extend("markup",{}),P.languages.ssml=P.languages.xml,P.languages.atom=P.languages.xml,P.languages.rss=P.languages.xml,a=P,i={pattern:/\\[\\(){}[\]^$+*?|.]/,alias:"escape"},l="(?:[^\\\\-]|"+(s=/\\(?:x[\da-fA-F]{2}|u[\da-fA-F]{4}|u\{[\da-fA-F]+\}|0[0-7]{0,2}|[123][0-7]{2}|c[a-zA-Z]|.)/).source+")",l=RegExp(l+"-"+l),c={pattern:/(<|')[^<>']+(?=[>']$)/,lookbehind:!0,alias:"variable"},a.languages.regex={"char-class":{pattern:/((?:^|[^\\])(?:\\\\)*)\[(?:[^\\\]]|\\[\s\S])*\]/,lookbehind:!0,inside:{"char-class-negation":{pattern:/(^\[)\^/,lookbehind:!0,alias:"operator"},"char-class-punctuation":{pattern:/^\[|\]$/,alias:"punctuation"},range:{pattern:l,inside:{escape:s,"range-punctuation":{pattern:/-/,alias:"operator"}}},"special-escape":i,"char-set":{pattern:/\\[wsd]|\\p\{[^{}]+\}/i,alias:"class-name"},escape:s}},"special-escape":i,"char-set":{pattern:/\.|\\[wsd]|\\p\{[^{}]+\}/i,alias:"class-name"},backreference:[{pattern:/\\(?![123][0-7]{2})[1-9]/,alias:"keyword"},{pattern:/\\k<[^<>']+>/,alias:"keyword",inside:{"group-name":c}}],anchor:{pattern:/[$^]|\\[ABbGZz]/,alias:"function"},escape:s,group:[{pattern:/\((?:\?(?:<[^<>']+>|'[^<>']+'|[>:]|<?[=!]|[idmnsuxU]+(?:-[idmnsuxU]+)?:?))?/,alias:"punctuation",inside:{"group-name":c}},{pattern:/\)/,alias:"punctuation"}],quantifier:{pattern:/(?:[+*?]|\{\d+(?:,\d*)?\})[?+]?/,alias:"number"},alternation:{pattern:/\|/,alias:"keyword"}},P.languages.clike={comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},"class-name":{pattern:/(\b(?:class|extends|implements|instanceof|interface|new|trait)\s+|\bcatch\s+\()[\w.\\]+/i,lookbehind:!0,inside:{punctuation:/[.\\]/}},keyword:/\b(?:break|catch|continue|do|else|finally|for|function|if|in|instanceof|new|null|return|throw|try|while)\b/,boolean:/\b(?:false|true)\b/,function:/\b\w+(?=\()/,number:/\b0x[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?/i,operator:/[<>]=?|[!=]=?=?|--?|\+\+?|&&?|\|\|?|[?*/~^%]/,punctuation:/[{}[\];(),.:]/},P.languages.javascript=P.languages.extend("clike",{"class-name":[P.languages.clike["class-name"],{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$A-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\.(?:constructor|prototype))/,lookbehind:!0}],keyword:[{pattern:/((?:^|\})\s*)catch\b/,lookbehind:!0},{pattern:/(^|[^.]|\.\.\.\s*)\b(?:as|assert(?=\s*\{)|async(?=\s*(?:function\b|\(|[$\w\xA0-\uFFFF]|$))|await|break|case|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally(?=\s*(?:\{|$))|for|from(?=\s*(?:['"]|$))|function|(?:get|set)(?=\s*(?:[#\[$\w\xA0-\uFFFF]|$))|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)\b/,lookbehind:!0}],function:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*(?:\.\s*(?:apply|bind|call)\s*)?\()/,number:{pattern:RegExp(/(^|[^\w$])/.source+"(?:"+/NaN|Infinity/.source+"|"+/0[bB][01]+(?:_[01]+)*n?/.source+"|"+/0[oO][0-7]+(?:_[0-7]+)*n?/.source+"|"+/0[xX][\dA-Fa-f]+(?:_[\dA-Fa-f]+)*n?/.source+"|"+/\d+(?:_\d+)*n/.source+"|"+/(?:\d+(?:_\d+)*(?:\.(?:\d+(?:_\d+)*)?)?|\.\d+(?:_\d+)*)(?:[Ee][+-]?\d+(?:_\d+)*)?/.source+")"+/(?![\w$])/.source),lookbehind:!0},operator:/--|\+\+|\*\*=?|=>|&&=?|\|\|=?|[!=]==|<<=?|>>>?=?|[-+*/%&|^!=<>]=?|\.{3}|\?\?=?|\?\.?|[~:]/}),P.languages.javascript["class-name"][0].pattern=/(\b(?:class|extends|implements|instanceof|interface|new)\s+)[\w.\\]+/,P.languages.insertBefore("javascript","keyword",{regex:{pattern:RegExp(/((?:^|[^$\w\xA0-\uFFFF."'\])\s]|\b(?:return|yield))\s*)/.source+/\//.source+"(?:"+/(?:\[(?:[^\]\\\r\n]|\\.)*\]|\\.|[^/\\\[\r\n])+\/[dgimyus]{0,7}/.source+"|"+/(?:\[(?:[^[\]\\\r\n]|\\.|\[(?:[^[\]\\\r\n]|\\.|\[(?:[^[\]\\\r\n]|\\.)*\])*\])*\]|\\.|[^/\\\[\r\n])+\/[dgimyus]{0,7}v[dgimyus]{0,7}/.source+")"+/(?=(?:\s|\/\*(?:[^*]|\*(?!\/))*\*\/)*(?:$|[\r\n,.;:})\]]|\/\/))/.source),lookbehind:!0,greedy:!0,inside:{"regex-source":{pattern:/^(\/)[\s\S]+(?=\/[a-z]*$)/,lookbehind:!0,alias:"language-regex",inside:P.languages.regex},"regex-delimiter":/^\/|\/$/,"regex-flags":/^[a-z]+$/}},"function-variable":{pattern:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*[=:]\s*(?:async\s*)?(?:\bfunction\b|(?:\((?:[^()]|\([^()]*\))*\)|(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)\s*=>))/,alias:"function"},parameter:[{pattern:/(function(?:\s+(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)?\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\))/,lookbehind:!0,inside:P.languages.javascript},{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*=>)/i,lookbehind:!0,inside:P.languages.javascript},{pattern:/(\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*=>)/,lookbehind:!0,inside:P.languages.javascript},{pattern:/((?:\b|\s|^)(?!(?:as|async|await|break|case|catch|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally|for|from|function|get|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|set|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)(?![$\w\xA0-\uFFFF]))(?:(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*)\(\s*|\]\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*\{)/,lookbehind:!0,inside:P.languages.javascript}],constant:/\b[A-Z](?:[A-Z_]|\dx?)*\b/}),P.languages.insertBefore("javascript","string",{hashbang:{pattern:/^#!.*/,greedy:!0,alias:"comment"},"template-string":{pattern:/`(?:\\[\s\S]|\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}|(?!\$\{)[^\\`])*`/,greedy:!0,inside:{"template-punctuation":{pattern:/^`|`$/,alias:"string"},interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}/,lookbehind:!0,inside:{"interpolation-punctuation":{pattern:/^\$\{|\}$/,alias:"punctuation"},rest:P.languages.javascript}},string:/[\s\S]+/}},"string-property":{pattern:/((?:^|[,{])[ \t]*)(["'])(?:\\(?:\r\n|[\s\S])|(?!\2)[^\\\r\n])*\2(?=\s*:)/m,lookbehind:!0,greedy:!0,alias:"property"}}),P.languages.insertBefore("javascript","operator",{"literal-property":{pattern:/((?:^|[,{])[ \t]*)(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*:)/m,lookbehind:!0,alias:"property"}}),P.languages.markup&&(P.languages.markup.tag.addInlined("script","javascript"),P.languages.markup.tag.addAttribute(/on(?:abort|blur|change|click|composition(?:end|start|update)|dblclick|error|focus(?:in|out)?|key(?:down|up)|load|mouse(?:down|enter|leave|move|out|over|up)|reset|resize|scroll|select|slotchange|submit|unload|wheel)/.source,"javascript")),P.languages.js=P.languages.javascript,P.languages.actionscript=P.languages.extend("javascript",{keyword:/\b(?:as|break|case|catch|class|const|default|delete|do|dynamic|each|else|extends|final|finally|for|function|get|if|implements|import|in|include|instanceof|interface|internal|is|namespace|native|new|null|override|package|private|protected|public|return|set|static|super|switch|this|throw|try|typeof|use|var|void|while|with)\b/,operator:/\+\+|--|(?:[+\-*\/%^]|&&?|\|\|?|<<?|>>?>?|[!=]=?)=?|[~?@]/}),P.languages.actionscript["class-name"].alias="function",delete P.languages.actionscript.parameter,delete P.languages.actionscript["literal-property"],P.languages.markup&&P.languages.insertBefore("actionscript","string",{xml:{pattern:/(^|[^.])<\/?\w+(?:\s+[^\s>\/=]+=("|')(?:\\[\s\S]|(?!\2)[^\\])*\2)*\s*\/?>/,lookbehind:!0,inside:P.languages.markup}}),function(e){var n=/#(?!\{).+/,t={pattern:/#\{[^}]+\}/,alias:"variable"};e.languages.coffeescript=e.languages.extend("javascript",{comment:n,string:[{pattern:/'(?:\\[\s\S]|[^\\'])*'/,greedy:!0},{pattern:/"(?:\\[\s\S]|[^\\"])*"/,greedy:!0,inside:{interpolation:t}}],keyword:/\b(?:and|break|by|catch|class|continue|debugger|delete|do|each|else|extend|extends|false|finally|for|if|in|instanceof|is|isnt|let|loop|namespace|new|no|not|null|of|off|on|or|own|return|super|switch|then|this|throw|true|try|typeof|undefined|unless|until|when|while|window|with|yes|yield)\b/,"class-member":{pattern:/@(?!\d)\w+/,alias:"variable"}}),e.languages.insertBefore("coffeescript","comment",{"multiline-comment":{pattern:/###[\s\S]+?###/,alias:"comment"},"block-regex":{pattern:/\/{3}[\s\S]*?\/{3}/,alias:"regex",inside:{comment:n,interpolation:t}}}),e.languages.insertBefore("coffeescript","string",{"inline-javascript":{pattern:/`(?:\\[\s\S]|[^\\`])*`/,inside:{delimiter:{pattern:/^`|`$/,alias:"punctuation"},script:{pattern:/[\s\S]+/,alias:"language-javascript",inside:e.languages.javascript}}},"multiline-string":[{pattern:/'''[\s\S]*?'''/,greedy:!0,alias:"string"},{pattern:/"""[\s\S]*?"""/,greedy:!0,alias:"string",inside:{interpolation:t}}]}),e.languages.insertBefore("coffeescript","keyword",{property:/(?!\d)\w+(?=\s*:(?!:))/}),delete e.languages.coffeescript["template-string"],e.languages.coffee=e.languages.coffeescript}(P),function(e){var n=e.languages.javadoclike={parameter:{pattern:/(^[\t ]*(?:\/{3}|\*|\/\*\*)\s*@(?:arg|arguments|param)\s+)\w+/m,lookbehind:!0},keyword:{pattern:/(^[\t ]*(?:\/{3}|\*|\/\*\*)\s*|\{)@[a-z][a-zA-Z-]+\b/m,lookbehind:!0},punctuation:/[{}]/};Object.defineProperty(n,"addSupport",{value:function(n,t){(n="string"==typeof n?[n]:n).forEach((function(n){var r=function(e){e.inside||(e.inside={}),e.inside.rest=t},o="doc-comment";if(a=e.languages[n]){var a,i=a[o];if((i=i||(a=e.languages.insertBefore(n,"comment",{"doc-comment":{pattern:/(^|[^\\])\/\*\*[^/][\s\S]*?(?:\*\/|$)/,lookbehind:!0,alias:"comment"}}))[o])instanceof RegExp&&(i=a[o]={pattern:i}),Array.isArray(i))for(var s=0,l=i.length;s<l;s++)i[s]instanceof RegExp&&(i[s]={pattern:i[s]}),r(i[s]);else r(i)}}))}}),n.addSupport(["java","javascript","php"],n)}(P),function(e){var n=/(?:"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n])*')/;(n=(e.languages.css={comment:/\/\*[\s\S]*?\*\//,atrule:{pattern:RegExp("@[\\w-](?:"+/[^;{\s"']|\s+(?!\s)/.source+"|"+n.source+")*?"+/(?:;|(?=\s*\{))/.source),inside:{rule:/^@[\w-]+/,"selector-function-argument":{pattern:/(\bselector\s*\(\s*(?![\s)]))(?:[^()\s]|\s+(?![\s)])|\((?:[^()]|\([^()]*\))*\))+(?=\s*\))/,lookbehind:!0,alias:"selector"},keyword:{pattern:/(^|[^\w-])(?:and|not|only|or)(?![\w-])/,lookbehind:!0}}},url:{pattern:RegExp("\\burl\\((?:"+n.source+"|"+/(?:[^\\\r\n()"']|\\[\s\S])*/.source+")\\)","i"),greedy:!0,inside:{function:/^url/i,punctuation:/^\(|\)$/,string:{pattern:RegExp("^"+n.source+"$"),alias:"url"}}},selector:{pattern:RegExp("(^|[{}\\s])[^{}\\s](?:[^{};\"'\\s]|\\s+(?![\\s{])|"+n.source+")*(?=\\s*\\{)"),lookbehind:!0},string:{pattern:n,greedy:!0},property:{pattern:/(^|[^-\w\xA0-\uFFFF])(?!\s)[-_a-z\xA0-\uFFFF](?:(?!\s)[-\w\xA0-\uFFFF])*(?=\s*:)/i,lookbehind:!0},important:/!important\b/i,function:{pattern:/(^|[^-a-z0-9])[-a-z0-9]+(?=\()/i,lookbehind:!0},punctuation:/[(){};:,]/},e.languages.css.atrule.inside.rest=e.languages.css,e.languages.markup))&&(n.tag.addInlined("style","css"),n.tag.addAttribute("style","css"))}(P),function(e){var n=/("|')(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,t=(n=(e.languages.css.selector={pattern:e.languages.css.selector.pattern,lookbehind:!0,inside:n={"pseudo-element":/:(?:after|before|first-letter|first-line|selection)|::[-\w]+/,"pseudo-class":/:[-\w]+/,class:/\.[-\w]+/,id:/#[-\w]+/,attribute:{pattern:RegExp("\\[(?:[^[\\]\"']|"+n.source+")*\\]"),greedy:!0,inside:{punctuation:/^\[|\]$/,"case-sensitivity":{pattern:/(\s)[si]$/i,lookbehind:!0,alias:"keyword"},namespace:{pattern:/^(\s*)(?:(?!\s)[-*\w\xA0-\uFFFF])*\|(?!=)/,lookbehind:!0,inside:{punctuation:/\|$/}},"attr-name":{pattern:/^(\s*)(?:(?!\s)[-\w\xA0-\uFFFF])+/,lookbehind:!0},"attr-value":[n,{pattern:/(=\s*)(?:(?!\s)[-\w\xA0-\uFFFF])+(?=\s*$)/,lookbehind:!0}],operator:/[|~*^$]?=/}},"n-th":[{pattern:/(\(\s*)[+-]?\d*[\dn](?:\s*[+-]\s*\d+)?(?=\s*\))/,lookbehind:!0,inside:{number:/[\dn]+/,operator:/[+-]/}},{pattern:/(\(\s*)(?:even|odd)(?=\s*\))/i,lookbehind:!0}],combinator:/>|\+|~|\|\|/,punctuation:/[(),]/}},e.languages.css.atrule.inside["selector-function-argument"].inside=n,e.languages.insertBefore("css","property",{variable:{pattern:/(^|[^-\w\xA0-\uFFFF])--(?!\s)[-_a-z\xA0-\uFFFF](?:(?!\s)[-\w\xA0-\uFFFF])*/i,lookbehind:!0}}),{pattern:/(\b\d+)(?:%|[a-z]+(?![\w-]))/,lookbehind:!0}),{pattern:/(^|[^\w.-])-?(?:\d+(?:\.\d+)?|\.\d+)/,lookbehind:!0});e.languages.insertBefore("css","function",{operator:{pattern:/(\s)[+\-*\/](?=\s)/,lookbehind:!0},hexcode:{pattern:/\B#[\da-f]{3,8}\b/i,alias:"color"},color:[{pattern:/(^|[^\w-])(?:AliceBlue|AntiqueWhite|Aqua|Aquamarine|Azure|Beige|Bisque|Black|BlanchedAlmond|Blue|BlueViolet|Brown|BurlyWood|CadetBlue|Chartreuse|Chocolate|Coral|CornflowerBlue|Cornsilk|Crimson|Cyan|DarkBlue|DarkCyan|DarkGoldenRod|DarkGr[ae]y|DarkGreen|DarkKhaki|DarkMagenta|DarkOliveGreen|DarkOrange|DarkOrchid|DarkRed|DarkSalmon|DarkSeaGreen|DarkSlateBlue|DarkSlateGr[ae]y|DarkTurquoise|DarkViolet|DeepPink|DeepSkyBlue|DimGr[ae]y|DodgerBlue|FireBrick|FloralWhite|ForestGreen|Fuchsia|Gainsboro|GhostWhite|Gold|GoldenRod|Gr[ae]y|Green|GreenYellow|HoneyDew|HotPink|IndianRed|Indigo|Ivory|Khaki|Lavender|LavenderBlush|LawnGreen|LemonChiffon|LightBlue|LightCoral|LightCyan|LightGoldenRodYellow|LightGr[ae]y|LightGreen|LightPink|LightSalmon|LightSeaGreen|LightSkyBlue|LightSlateGr[ae]y|LightSteelBlue|LightYellow|Lime|LimeGreen|Linen|Magenta|Maroon|MediumAquaMarine|MediumBlue|MediumOrchid|MediumPurple|MediumSeaGreen|MediumSlateBlue|MediumSpringGreen|MediumTurquoise|MediumVioletRed|MidnightBlue|MintCream|MistyRose|Moccasin|NavajoWhite|Navy|OldLace|Olive|OliveDrab|Orange|OrangeRed|Orchid|PaleGoldenRod|PaleGreen|PaleTurquoise|PaleVioletRed|PapayaWhip|PeachPuff|Peru|Pink|Plum|PowderBlue|Purple|RebeccaPurple|Red|RosyBrown|RoyalBlue|SaddleBrown|Salmon|SandyBrown|SeaGreen|SeaShell|Sienna|Silver|SkyBlue|SlateBlue|SlateGr[ae]y|Snow|SpringGreen|SteelBlue|Tan|Teal|Thistle|Tomato|Transparent|Turquoise|Violet|Wheat|White|WhiteSmoke|Yellow|YellowGreen)(?![\w-])/i,lookbehind:!0},{pattern:/\b(?:hsl|rgb)\(\s*\d{1,3}\s*,\s*\d{1,3}%?\s*,\s*\d{1,3}%?\s*\)\B|\b(?:hsl|rgb)a\(\s*\d{1,3}\s*,\s*\d{1,3}%?\s*,\s*\d{1,3}%?\s*,\s*(?:0|0?\.\d+|1)\s*\)\B/i,inside:{unit:n,number:t,function:/[\w-]+(?=\()/,punctuation:/[(),]/}}],entity:/\\[\da-f]{1,8}/i,unit:n,number:t})}(P),function(e){var n=/[*&][^\s[\]{},]+/,t=/!(?:<[\w\-%#;/?:@&=+$,.!~*'()[\]]+>|(?:[a-zA-Z\d-]*!)?[\w\-%#;/?:@&=+$.~*'()]+)?/,r="(?:"+t.source+"(?:[ \t]+"+n.source+")?|"+n.source+"(?:[ \t]+"+t.source+")?)",o=/(?:[^\s\x00-\x08\x0e-\x1f!"#%&'*,\-:>?@[\]`{|}\x7f-\x84\x86-\x9f\ud800-\udfff\ufffe\uffff]|[?:-]<PLAIN>)(?:[ \t]*(?:(?![#:])<PLAIN>|:<PLAIN>))*/.source.replace(/<PLAIN>/g,(function(){return/[^\s\x00-\x08\x0e-\x1f,[\]{}\x7f-\x84\x86-\x9f\ud800-\udfff\ufffe\uffff]/.source})),a=/"(?:[^"\\\r\n]|\\.)*"|'(?:[^'\\\r\n]|\\.)*'/.source;function i(e,n){n=(n||"").replace(/m/g,"")+"m";var t=/([:\-,[{]\s*(?:\s<<prop>>[ \t]+)?)(?:<<value>>)(?=[ \t]*(?:$|,|\]|\}|(?:[\r\n]\s*)?#))/.source.replace(/<<prop>>/g,(function(){return r})).replace(/<<value>>/g,(function(){return e}));return RegExp(t,n)}e.languages.yaml={scalar:{pattern:RegExp(/([\-:]\s*(?:\s<<prop>>[ \t]+)?[|>])[ \t]*(?:((?:\r?\n|\r)[ \t]+)\S[^\r\n]*(?:\2[^\r\n]+)*)/.source.replace(/<<prop>>/g,(function(){return r}))),lookbehind:!0,alias:"string"},comment:/#.*/,key:{pattern:RegExp(/((?:^|[:\-,[{\r\n?])[ \t]*(?:<<prop>>[ \t]+)?)<<key>>(?=\s*:\s)/.source.replace(/<<prop>>/g,(function(){return r})).replace(/<<key>>/g,(function(){return"(?:"+o+"|"+a+")"}))),lookbehind:!0,greedy:!0,alias:"atrule"},directive:{pattern:/(^[ \t]*)%.+/m,lookbehind:!0,alias:"important"},datetime:{pattern:i(/\d{4}-\d\d?-\d\d?(?:[tT]|[ \t]+)\d\d?:\d{2}:\d{2}(?:\.\d*)?(?:[ \t]*(?:Z|[-+]\d\d?(?::\d{2})?))?|\d{4}-\d{2}-\d{2}|\d\d?:\d{2}(?::\d{2}(?:\.\d*)?)?/.source),lookbehind:!0,alias:"number"},boolean:{pattern:i(/false|true/.source,"i"),lookbehind:!0,alias:"important"},null:{pattern:i(/null|~/.source,"i"),lookbehind:!0,alias:"important"},string:{pattern:i(a),lookbehind:!0,greedy:!0},number:{pattern:i(/[+-]?(?:0x[\da-f]+|0o[0-7]+|(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?|\.inf|\.nan)/.source,"i"),lookbehind:!0},tag:t,important:n,punctuation:/---|[:[\]{}\-,|>?]|\.\.\./},e.languages.yml=e.languages.yaml}(P),function(e){var n=/(?:\\.|[^\\\n\r]|(?:\n|\r\n?)(?![\r\n]))/.source;function t(e){return e=e.replace(/<inner>/g,(function(){return n})),RegExp(/((?:^|[^\\])(?:\\{2})*)/.source+"(?:"+e+")")}var r=/(?:\\.|``(?:[^`\r\n]|`(?!`))+``|`[^`\r\n]+`|[^\\|\r\n`])+/.source,o=/\|?__(?:\|__)+\|?(?:(?:\n|\r\n?)|(?![\s\S]))/.source.replace(/__/g,(function(){return r})),a=/\|?[ \t]*:?-{3,}:?[ \t]*(?:\|[ \t]*:?-{3,}:?[ \t]*)+\|?(?:\n|\r\n?)/.source,i=(e.languages.markdown=e.languages.extend("markup",{}),e.languages.insertBefore("markdown","prolog",{"front-matter-block":{pattern:/(^(?:\s*[\r\n])?)---(?!.)[\s\S]*?[\r\n]---(?!.)/,lookbehind:!0,greedy:!0,inside:{punctuation:/^---|---$/,"front-matter":{pattern:/\S+(?:\s+\S+)*/,alias:["yaml","language-yaml"],inside:e.languages.yaml}}},blockquote:{pattern:/^>(?:[\t ]*>)*/m,alias:"punctuation"},table:{pattern:RegExp("^"+o+a+"(?:"+o+")*","m"),inside:{"table-data-rows":{pattern:RegExp("^("+o+a+")(?:"+o+")*$"),lookbehind:!0,inside:{"table-data":{pattern:RegExp(r),inside:e.languages.markdown},punctuation:/\|/}},"table-line":{pattern:RegExp("^("+o+")"+a+"$"),lookbehind:!0,inside:{punctuation:/\||:?-{3,}:?/}},"table-header-row":{pattern:RegExp("^"+o+"$"),inside:{"table-header":{pattern:RegExp(r),alias:"important",inside:e.languages.markdown},punctuation:/\|/}}}},code:[{pattern:/((?:^|\n)[ \t]*\n|(?:^|\r\n?)[ \t]*\r\n?)(?: {4}|\t).+(?:(?:\n|\r\n?)(?: {4}|\t).+)*/,lookbehind:!0,alias:"keyword"},{pattern:/^```[\s\S]*?^```$/m,greedy:!0,inside:{"code-block":{pattern:/^(```.*(?:\n|\r\n?))[\s\S]+?(?=(?:\n|\r\n?)^```$)/m,lookbehind:!0},"code-language":{pattern:/^(```).+/,lookbehind:!0},punctuation:/```/}}],title:[{pattern:/\S.*(?:\n|\r\n?)(?:==+|--+)(?=[ \t]*$)/m,alias:"important",inside:{punctuation:/==+$|--+$/}},{pattern:/(^\s*)#.+/m,lookbehind:!0,alias:"important",inside:{punctuation:/^#+|#+$/}}],hr:{pattern:/(^\s*)([*-])(?:[\t ]*\2){2,}(?=\s*$)/m,lookbehind:!0,alias:"punctuation"},list:{pattern:/(^\s*)(?:[*+-]|\d+\.)(?=[\t ].)/m,lookbehind:!0,alias:"punctuation"},"url-reference":{pattern:/!?\[[^\]]+\]:[\t ]+(?:\S+|<(?:\\.|[^>\\])+>)(?:[\t ]+(?:"(?:\\.|[^"\\])*"|'(?:\\.|[^'\\])*'|\((?:\\.|[^)\\])*\)))?/,inside:{variable:{pattern:/^(!?\[)[^\]]+/,lookbehind:!0},string:/(?:"(?:\\.|[^"\\])*"|'(?:\\.|[^'\\])*'|\((?:\\.|[^)\\])*\))$/,punctuation:/^[\[\]!:]|[<>]/},alias:"url"},bold:{pattern:t(/\b__(?:(?!_)<inner>|_(?:(?!_)<inner>)+_)+__\b|\*\*(?:(?!\*)<inner>|\*(?:(?!\*)<inner>)+\*)+\*\*/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^..)[\s\S]+(?=..$)/,lookbehind:!0,inside:{}},punctuation:/\*\*|__/}},italic:{pattern:t(/\b_(?:(?!_)<inner>|__(?:(?!_)<inner>)+__)+_\b|\*(?:(?!\*)<inner>|\*\*(?:(?!\*)<inner>)+\*\*)+\*/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^.)[\s\S]+(?=.$)/,lookbehind:!0,inside:{}},punctuation:/[*_]/}},strike:{pattern:t(/(~~?)(?:(?!~)<inner>)+\2/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^~~?)[\s\S]+(?=\1$)/,lookbehind:!0,inside:{}},punctuation:/~~?/}},"code-snippet":{pattern:/(^|[^\\`])(?:``[^`\r\n]+(?:`[^`\r\n]+)*``(?!`)|`[^`\r\n]+`(?!`))/,lookbehind:!0,greedy:!0,alias:["code","keyword"]},url:{pattern:t(/!?\[(?:(?!\])<inner>)+\](?:\([^\s)]+(?:[\t ]+"(?:\\.|[^"\\])*")?\)|[ \t]?\[(?:(?!\])<inner>)+\])/.source),lookbehind:!0,greedy:!0,inside:{operator:/^!/,content:{pattern:/(^\[)[^\]]+(?=\])/,lookbehind:!0,inside:{}},variable:{pattern:/(^\][ \t]?\[)[^\]]+(?=\]$)/,lookbehind:!0},url:{pattern:/(^\]\()[^\s)]+/,lookbehind:!0},string:{pattern:/(^[ \t]+)"(?:\\.|[^"\\])*"(?=\)$)/,lookbehind:!0}}}}),["url","bold","italic","strike"].forEach((function(n){["url","bold","italic","strike","code-snippet"].forEach((function(t){n!==t&&(e.languages.markdown[n].inside.content.inside[t]=e.languages.markdown[t])}))})),e.hooks.add("after-tokenize",(function(e){"markdown"!==e.language&&"md"!==e.language||function e(n){if(n&&"string"!=typeof n)for(var t=0,r=n.length;t<r;t++){var o,a=n[t];"code"!==a.type?e(a.content):(o=a.content[1],a=a.content[3],o&&a&&"code-language"===o.type&&"code-block"===a.type&&"string"==typeof o.content&&(o=o.content.replace(/\b#/g,"sharp").replace(/\b\+\+/g,"pp"),o="language-"+(o=(/[a-z][\w-]*/i.exec(o)||[""])[0].toLowerCase()),a.alias?"string"==typeof a.alias?a.alias=[a.alias,o]:a.alias.push(o):a.alias=[o]))}}(e.tokens)})),e.hooks.add("wrap",(function(n){if("code-block"===n.type){for(var t="",r=0,o=n.classes.length;r<o;r++){var a=n.classes[r];if(a=/language-(.+)/.exec(a)){t=a[1];break}}var c,d=e.languages[t];d?n.content=e.highlight(n.content.replace(i,"").replace(/&(\w{1,8}|#x?[\da-f]{1,8});/gi,(function(e,n){var t;return"#"===(n=n.toLowerCase())[0]?(t="x"===n[1]?parseInt(n.slice(2),16):Number(n.slice(1)),l(t)):s[n]||e})),d,t):t&&"none"!==t&&e.plugins.autoloader&&(c="md-"+(new Date).valueOf()+"-"+Math.floor(1e16*Math.random()),n.attributes.id=c,e.plugins.autoloader.loadLanguages(t,(function(){var n=document.getElementById(c);n&&(n.innerHTML=e.highlight(n.textContent,e.languages[t],t))})))}})),RegExp(e.languages.markup.tag.pattern.source,"gi")),s={amp:"&",lt:"<",gt:">",quot:'"'},l=String.fromCodePoint||String.fromCharCode;e.languages.md=e.languages.markdown}(P),P.languages.graphql={comment:/#.*/,description:{pattern:/(?:"""(?:[^"]|(?!""")")*"""|"(?:\\.|[^\\"\r\n])*")(?=\s*[a-z_])/i,greedy:!0,alias:"string",inside:{"language-markdown":{pattern:/(^"(?:"")?)(?!\1)[\s\S]+(?=\1$)/,lookbehind:!0,inside:P.languages.markdown}}},string:{pattern:/"""(?:[^"]|(?!""")")*"""|"(?:\\.|[^\\"\r\n])*"/,greedy:!0},number:/(?:\B-|\b)\d+(?:\.\d+)?(?:e[+-]?\d+)?\b/i,boolean:/\b(?:false|true)\b/,variable:/\$[a-z_]\w*/i,directive:{pattern:/@[a-z_]\w*/i,alias:"function"},"attr-name":{pattern:/\b[a-z_]\w*(?=\s*(?:\((?:[^()"]|"(?:\\.|[^\\"\r\n])*")*\))?:)/i,greedy:!0},"atom-input":{pattern:/\b[A-Z]\w*Input\b/,alias:"class-name"},scalar:/\b(?:Boolean|Float|ID|Int|String)\b/,constant:/\b[A-Z][A-Z_\d]*\b/,"class-name":{pattern:/(\b(?:enum|implements|interface|on|scalar|type|union)\s+|&\s*|:\s*|\[)[A-Z_]\w*/,lookbehind:!0},fragment:{pattern:/(\bfragment\s+|\.{3}\s*(?!on\b))[a-zA-Z_]\w*/,lookbehind:!0,alias:"function"},"definition-mutation":{pattern:/(\bmutation\s+)[a-zA-Z_]\w*/,lookbehind:!0,alias:"function"},"definition-query":{pattern:/(\bquery\s+)[a-zA-Z_]\w*/,lookbehind:!0,alias:"function"},keyword:/\b(?:directive|enum|extend|fragment|implements|input|interface|mutation|on|query|repeatable|scalar|schema|subscription|type|union)\b/,operator:/[!=|&]|\.{3}/,"property-query":/\w+(?=\s*\()/,object:/\w+(?=\s*\{)/,punctuation:/[!(){}\[\]:=,]/,property:/\w+/},P.hooks.add("after-tokenize",(function(e){if("graphql"===e.language)for(var n=e.tokens.filter((function(e){return"string"!=typeof e&&"comment"!==e.type&&"scalar"!==e.type})),t=0;t<n.length;){var r=n[t++];if("keyword"===r.type&&"mutation"===r.content){var o=[];if(u(["definition-mutation","punctuation"])&&"("===d(1).content){t+=2;var a=p(/^\($/,/^\)$/);if(-1===a)continue;for(;t<a;t++){var i=d(0);"variable"===i.type&&(f(i,"variable-input"),o.push(i.content))}t=a+1}if(u(["punctuation","property-query"])&&"{"===d(0).content&&(t++,f(d(0),"property-mutation"),0<o.length)){var s=p(/^\{$/,/^\}$/);if(-1!==s)for(var l=t;l<s;l++){var c=n[l];"variable"===c.type&&0<=o.indexOf(c.content)&&f(c,"variable-input")}}}}function d(e){return n[t+e]}function u(e,n){n=n||0;for(var t=0;t<e.length;t++){var r=d(t+n);if(!r||r.type!==e[t])return}return 1}function p(e,r){for(var o=1,a=t;a<n.length;a++){var i=n[a],s=i.content;if("punctuation"===i.type&&"string"==typeof s)if(e.test(s))o++;else if(r.test(s)&&0==--o)return a}return-1}function f(e,n){var t=e.alias;t?Array.isArray(t)||(e.alias=t=[t]):e.alias=t=[],t.push(n)}})),P.languages.sql={comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|(?:--|\/\/|#).*)/,lookbehind:!0},variable:[{pattern:/@(["'`])(?:\\[\s\S]|(?!\1)[^\\])+\1/,greedy:!0},/@[\w.$]+/],string:{pattern:/(^|[^@\\])("|')(?:\\[\s\S]|(?!\2)[^\\]|\2\2)*\2/,greedy:!0,lookbehind:!0},identifier:{pattern:/(^|[^@\\])`(?:\\[\s\S]|[^`\\]|``)*`/,greedy:!0,lookbehind:!0,inside:{punctuation:/^`|`$/}},function:/\b(?:AVG|COUNT|FIRST|FORMAT|LAST|LCASE|LEN|MAX|MID|MIN|MOD|NOW|ROUND|SUM|UCASE)(?=\s*\()/i,keyword:/\b(?:ACTION|ADD|AFTER|ALGORITHM|ALL|ALTER|ANALYZE|ANY|APPLY|AS|ASC|AUTHORIZATION|AUTO_INCREMENT|BACKUP|BDB|BEGIN|BERKELEYDB|BIGINT|BINARY|BIT|BLOB|BOOL|BOOLEAN|BREAK|BROWSE|BTREE|BULK|BY|CALL|CASCADED?|CASE|CHAIN|CHAR(?:ACTER|SET)?|CHECK(?:POINT)?|CLOSE|CLUSTERED|COALESCE|COLLATE|COLUMNS?|COMMENT|COMMIT(?:TED)?|COMPUTE|CONNECT|CONSISTENT|CONSTRAINT|CONTAINS(?:TABLE)?|CONTINUE|CONVERT|CREATE|CROSS|CURRENT(?:_DATE|_TIME|_TIMESTAMP|_USER)?|CURSOR|CYCLE|DATA(?:BASES?)?|DATE(?:TIME)?|DAY|DBCC|DEALLOCATE|DEC|DECIMAL|DECLARE|DEFAULT|DEFINER|DELAYED|DELETE|DELIMITERS?|DENY|DESC|DESCRIBE|DETERMINISTIC|DISABLE|DISCARD|DISK|DISTINCT|DISTINCTROW|DISTRIBUTED|DO|DOUBLE|DROP|DUMMY|DUMP(?:FILE)?|DUPLICATE|ELSE(?:IF)?|ENABLE|ENCLOSED|END|ENGINE|ENUM|ERRLVL|ERRORS|ESCAPED?|EXCEPT|EXEC(?:UTE)?|EXISTS|EXIT|EXPLAIN|EXTENDED|FETCH|FIELDS|FILE|FILLFACTOR|FIRST|FIXED|FLOAT|FOLLOWING|FOR(?: EACH ROW)?|FORCE|FOREIGN|FREETEXT(?:TABLE)?|FROM|FULL|FUNCTION|GEOMETRY(?:COLLECTION)?|GLOBAL|GOTO|GRANT|GROUP|HANDLER|HASH|HAVING|HOLDLOCK|HOUR|IDENTITY(?:COL|_INSERT)?|IF|IGNORE|IMPORT|INDEX|INFILE|INNER|INNODB|INOUT|INSERT|INT|INTEGER|INTERSECT|INTERVAL|INTO|INVOKER|ISOLATION|ITERATE|JOIN|KEYS?|KILL|LANGUAGE|LAST|LEAVE|LEFT|LEVEL|LIMIT|LINENO|LINES|LINESTRING|LOAD|LOCAL|LOCK|LONG(?:BLOB|TEXT)|LOOP|MATCH(?:ED)?|MEDIUM(?:BLOB|INT|TEXT)|MERGE|MIDDLEINT|MINUTE|MODE|MODIFIES|MODIFY|MONTH|MULTI(?:LINESTRING|POINT|POLYGON)|NATIONAL|NATURAL|NCHAR|NEXT|NO|NONCLUSTERED|NULLIF|NUMERIC|OFF?|OFFSETS?|ON|OPEN(?:DATASOURCE|QUERY|ROWSET)?|OPTIMIZE|OPTION(?:ALLY)?|ORDER|OUT(?:ER|FILE)?|OVER|PARTIAL|PARTITION|PERCENT|PIVOT|PLAN|POINT|POLYGON|PRECEDING|PRECISION|PREPARE|PREV|PRIMARY|PRINT|PRIVILEGES|PROC(?:EDURE)?|PUBLIC|PURGE|QUICK|RAISERROR|READS?|REAL|RECONFIGURE|REFERENCES|RELEASE|RENAME|REPEAT(?:ABLE)?|REPLACE|REPLICATION|REQUIRE|RESIGNAL|RESTORE|RESTRICT|RETURN(?:ING|S)?|REVOKE|RIGHT|ROLLBACK|ROUTINE|ROW(?:COUNT|GUIDCOL|S)?|RTREE|RULE|SAVE(?:POINT)?|SCHEMA|SECOND|SELECT|SERIAL(?:IZABLE)?|SESSION(?:_USER)?|SET(?:USER)?|SHARE|SHOW|SHUTDOWN|SIMPLE|SMALLINT|SNAPSHOT|SOME|SONAME|SQL|START(?:ING)?|STATISTICS|STATUS|STRIPED|SYSTEM_USER|TABLES?|TABLESPACE|TEMP(?:ORARY|TABLE)?|TERMINATED|TEXT(?:SIZE)?|THEN|TIME(?:STAMP)?|TINY(?:BLOB|INT|TEXT)|TOP?|TRAN(?:SACTIONS?)?|TRIGGER|TRUNCATE|TSEQUAL|TYPES?|UNBOUNDED|UNCOMMITTED|UNDEFINED|UNION|UNIQUE|UNLOCK|UNPIVOT|UNSIGNED|UPDATE(?:TEXT)?|USAGE|USE|USER|USING|VALUES?|VAR(?:BINARY|CHAR|CHARACTER|YING)|VIEW|WAITFOR|WARNINGS|WHEN|WHERE|WHILE|WITH(?: ROLLUP|IN)?|WORK|WRITE(?:TEXT)?|YEAR)\b/i,boolean:/\b(?:FALSE|NULL|TRUE)\b/i,number:/\b0x[\da-f]+\b|\b\d+(?:\.\d*)?|\B\.\d+\b/i,operator:/[-+*\/=%^~]|&&?|\|\|?|!=?|<(?:=>?|<|>)?|>[>=]?|\b(?:AND|BETWEEN|DIV|ILIKE|IN|IS|LIKE|NOT|OR|REGEXP|RLIKE|SOUNDS LIKE|XOR)\b/i,punctuation:/[;[\]()`,.]/},function(e){var n=e.languages.javascript["template-string"],t=n.pattern.source,r=n.inside.interpolation,o=r.inside["interpolation-punctuation"],a=r.pattern.source;function i(n,r){if(e.languages[n])return{pattern:RegExp("((?:"+r+")\\s*)"+t),lookbehind:!0,greedy:!0,inside:{"template-punctuation":{pattern:/^`|`$/,alias:"string"},"embedded-code":{pattern:/[\s\S]+/,alias:n}}}}function s(n,t,r){return n={code:n,grammar:t,language:r},e.hooks.run("before-tokenize",n),n.tokens=e.tokenize(n.code,n.grammar),e.hooks.run("after-tokenize",n),n.tokens}function l(n,t,i){var l=e.tokenize(n,{interpolation:{pattern:RegExp(a),lookbehind:!0}}),c=0,d={},u=(l=s(l.map((function(e){if("string"==typeof e)return e;var t,r;for(e=e.content;-1!==n.indexOf((r=c++,t="___"+i.toUpperCase()+"_"+r+"___")););return d[t]=e,t})).join(""),t,i),Object.keys(d));return c=0,function n(t){for(var a=0;a<t.length;a++){if(c>=u.length)return;var i,l,p,f,m,y,h,g=t[a];"string"==typeof g||"string"==typeof g.content?(i=u[c],-1!==(h=(y="string"==typeof g?g:g.content).indexOf(i))&&(++c,l=y.substring(0,h),m=d[i],p=void 0,(f={})["interpolation-punctuation"]=o,3===(f=e.tokenize(m,f)).length&&((p=[1,1]).push.apply(p,s(f[1],e.languages.javascript,"javascript")),f.splice.apply(f,p)),p=new e.Token("interpolation",f,r.alias,m),f=y.substring(h+i.length),m=[],l&&m.push(l),m.push(p),f&&(n(y=[f]),m.push.apply(m,y)),"string"==typeof g?(t.splice.apply(t,[a,1].concat(m)),a+=m.length-1):g.content=m)):(h=g.content,Array.isArray(h)?n(h):n([h]))}}(l),new e.Token(i,l,"language-"+i,n)}e.languages.javascript["template-string"]=[i("css",/\b(?:styled(?:\([^)]*\))?(?:\s*\.\s*\w+(?:\([^)]*\))*)*|css(?:\s*\.\s*(?:global|resolve))?|createGlobalStyle|keyframes)/.source),i("html",/\bhtml|\.\s*(?:inner|outer)HTML\s*\+?=/.source),i("svg",/\bsvg/.source),i("markdown",/\b(?:markdown|md)/.source),i("graphql",/\b(?:gql|graphql(?:\s*\.\s*experimental)?)/.source),i("sql",/\bsql/.source),n].filter(Boolean);var c={javascript:!0,js:!0,typescript:!0,ts:!0,jsx:!0,tsx:!0};function d(e){return"string"==typeof e?e:Array.isArray(e)?e.map(d).join(""):d(e.content)}e.hooks.add("after-tokenize",(function(n){n.language in c&&function n(t){for(var r=0,o=t.length;r<o;r++){var a,i,s,c=t[r];"string"!=typeof c&&(a=c.content,Array.isArray(a)?"template-string"===c.type?(c=a[1],3===a.length&&"string"!=typeof c&&"embedded-code"===c.type&&(i=d(c),c=c.alias,c=Array.isArray(c)?c[0]:c,s=e.languages[c])&&(a[1]=l(i,s,c))):n(a):"string"!=typeof a&&n([a]))}}(n.tokens)}))}(P),function(e){e.languages.typescript=e.languages.extend("javascript",{"class-name":{pattern:/(\b(?:class|extends|implements|instanceof|interface|new|type)\s+)(?!keyof\b)(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?:\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>)?/,lookbehind:!0,greedy:!0,inside:null},builtin:/\b(?:Array|Function|Promise|any|boolean|console|never|number|string|symbol|unknown)\b/}),e.languages.typescript.keyword.push(/\b(?:abstract|declare|is|keyof|readonly|require)\b/,/\b(?:asserts|infer|interface|module|namespace|type)\b(?=\s*(?:[{_$a-zA-Z\xA0-\uFFFF]|$))/,/\btype\b(?=\s*(?:[\{*]|$))/),delete e.languages.typescript.parameter,delete e.languages.typescript["literal-property"];var n=e.languages.extend("typescript",{});delete n["class-name"],e.languages.typescript["class-name"].inside=n,e.languages.insertBefore("typescript","function",{decorator:{pattern:/@[$\w\xA0-\uFFFF]+/,inside:{at:{pattern:/^@/,alias:"operator"},function:/^[\s\S]+/}},"generic-function":{pattern:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>(?=\s*\()/,greedy:!0,inside:{function:/^#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*/,generic:{pattern:/<[\s\S]+/,alias:"class-name",inside:n}}}}),e.languages.ts=e.languages.typescript}(P),function(e){var n=e.languages.javascript,t=/\{(?:[^{}]|\{(?:[^{}]|\{[^{}]*\})*\})+\}/.source,r="(@(?:arg|argument|param|property)\\s+(?:"+t+"\\s+)?)";e.languages.jsdoc=e.languages.extend("javadoclike",{parameter:{pattern:RegExp(r+/(?:(?!\s)[$\w\xA0-\uFFFF.])+(?=\s|$)/.source),lookbehind:!0,inside:{punctuation:/\./}}}),e.languages.insertBefore("jsdoc","keyword",{"optional-parameter":{pattern:RegExp(r+/\[(?:(?!\s)[$\w\xA0-\uFFFF.])+(?:=[^[\]]+)?\](?=\s|$)/.source),lookbehind:!0,inside:{parameter:{pattern:/(^\[)[$\w\xA0-\uFFFF\.]+/,lookbehind:!0,inside:{punctuation:/\./}},code:{pattern:/(=)[\s\S]*(?=\]$)/,lookbehind:!0,inside:n,alias:"language-javascript"},punctuation:/[=[\]]/}},"class-name":[{pattern:RegExp(/(@(?:augments|class|extends|interface|memberof!?|template|this|typedef)\s+(?:<TYPE>\s+)?)[A-Z]\w*(?:\.[A-Z]\w*)*/.source.replace(/<TYPE>/g,(function(){return t}))),lookbehind:!0,inside:{punctuation:/\./}},{pattern:RegExp("(@[a-z]+\\s+)"+t),lookbehind:!0,inside:{string:n.string,number:n.number,boolean:n.boolean,keyword:e.languages.typescript.keyword,operator:/=>|\.\.\.|[&|?:*]/,punctuation:/[.,;=<>{}()[\]]/}}],example:{pattern:/(@example\s+(?!\s))(?:[^@\s]|\s+(?!\s))+?(?=\s*(?:\*\s*)?(?:@\w|\*\/))/,lookbehind:!0,inside:{code:{pattern:/^([\t ]*(?:\*\s*)?)\S.*$/m,lookbehind:!0,inside:n,alias:"language-javascript"}}}}),e.languages.javadoclike.addSupport("javascript",e.languages.jsdoc)}(P),function(e){e.languages.flow=e.languages.extend("javascript",{}),e.languages.insertBefore("flow","keyword",{type:[{pattern:/\b(?:[Bb]oolean|Function|[Nn]umber|[Ss]tring|[Ss]ymbol|any|mixed|null|void)\b/,alias:"class-name"}]}),e.languages.flow["function-variable"].pattern=/(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*=\s*(?:function\b|(?:\([^()]*\)(?:\s*:\s*\w+)?|(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)\s*=>))/i,delete e.languages.flow.parameter,e.languages.insertBefore("flow","operator",{"flow-punctuation":{pattern:/\{\||\|\}/,alias:"punctuation"}}),Array.isArray(e.languages.flow.keyword)||(e.languages.flow.keyword=[e.languages.flow.keyword]),e.languages.flow.keyword.unshift({pattern:/(^|[^$]\b)(?:Class|declare|opaque|type)\b(?!\$)/,lookbehind:!0},{pattern:/(^|[^$]\B)\$(?:Diff|Enum|Exact|Keys|ObjMap|PropertyType|Record|Shape|Subtype|Supertype|await)\b(?!\$)/,lookbehind:!0})}(P),P.languages.n4js=P.languages.extend("javascript",{keyword:/\b(?:Array|any|boolean|break|case|catch|class|const|constructor|continue|debugger|declare|default|delete|do|else|enum|export|extends|false|finally|for|from|function|get|if|implements|import|in|instanceof|interface|let|module|new|null|number|package|private|protected|public|return|set|static|string|super|switch|this|throw|true|try|typeof|var|void|while|with|yield)\b/}),P.languages.insertBefore("n4js","constant",{annotation:{pattern:/@+\w+/,alias:"operator"}}),P.languages.n4jsd=P.languages.n4js,function(e){function n(e,n){return RegExp(e.replace(/<ID>/g,(function(){return/(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*/.source})),n)}e.languages.insertBefore("javascript","function-variable",{"method-variable":{pattern:RegExp("(\\.\\s*)"+e.languages.javascript["function-variable"].pattern.source),lookbehind:!0,alias:["function-variable","method","function","property-access"]}}),e.languages.insertBefore("javascript","function",{method:{pattern:RegExp("(\\.\\s*)"+e.languages.javascript.function.source),lookbehind:!0,alias:["function","property-access"]}}),e.languages.insertBefore("javascript","constant",{"known-class-name":[{pattern:/\b(?:(?:Float(?:32|64)|(?:Int|Uint)(?:8|16|32)|Uint8Clamped)?Array|ArrayBuffer|BigInt|Boolean|DataView|Date|Error|Function|Intl|JSON|(?:Weak)?(?:Map|Set)|Math|Number|Object|Promise|Proxy|Reflect|RegExp|String|Symbol|WebAssembly)\b/,alias:"class-name"},{pattern:/\b(?:[A-Z]\w*)Error\b/,alias:"class-name"}]}),e.languages.insertBefore("javascript","keyword",{imports:{pattern:n(/(\bimport\b\s*)(?:<ID>(?:\s*,\s*(?:\*\s*as\s+<ID>|\{[^{}]*\}))?|\*\s*as\s+<ID>|\{[^{}]*\})(?=\s*\bfrom\b)/.source),lookbehind:!0,inside:e.languages.javascript},exports:{pattern:n(/(\bexport\b\s*)(?:\*(?:\s*as\s+<ID>)?(?=\s*\bfrom\b)|\{[^{}]*\})/.source),lookbehind:!0,inside:e.languages.javascript}}),e.languages.javascript.keyword.unshift({pattern:/\b(?:as|default|export|from|import)\b/,alias:"module"},{pattern:/\b(?:await|break|catch|continue|do|else|finally|for|if|return|switch|throw|try|while|yield)\b/,alias:"control-flow"},{pattern:/\bnull\b/,alias:["null","nil"]},{pattern:/\bundefined\b/,alias:"nil"}),e.languages.insertBefore("javascript","operator",{spread:{pattern:/\.{3}/,alias:"operator"},arrow:{pattern:/=>/,alias:"operator"}}),e.languages.insertBefore("javascript","punctuation",{"property-access":{pattern:n(/(\.\s*)#?<ID>/.source),lookbehind:!0},"maybe-class-name":{pattern:/(^|[^$\w\xA0-\uFFFF])[A-Z][$\w\xA0-\uFFFF]+/,lookbehind:!0},dom:{pattern:/\b(?:document|(?:local|session)Storage|location|navigator|performance|window)\b/,alias:"variable"},console:{pattern:/\bconsole(?=\s*\.)/,alias:"class-name"}});for(var t=["function","function-variable","method","method-variable","property-access"],r=0;r<t.length;r++){var o=t[r],a=e.languages.javascript[o];o=(a="RegExp"===e.util.type(a)?e.languages.javascript[o]={pattern:a}:a).inside||{};(a.inside=o)["maybe-class-name"]=/^[A-Z][\s\S]*/}}(P),function(e){var n=e.util.clone(e.languages.javascript),t=/(?:\s|\/\/.*(?!.)|\/\*(?:[^*]|\*(?!\/))\*\/)/.source,r=/(?:\{(?:\{(?:\{[^{}]*\}|[^{}])*\}|[^{}])*\})/.source,o=/(?:\{<S>*\.{3}(?:[^{}]|<BRACES>)*\})/.source;function a(e,n){return e=e.replace(/<S>/g,(function(){return t})).replace(/<BRACES>/g,(function(){return r})).replace(/<SPREAD>/g,(function(){return o})),RegExp(e,n)}function i(n){for(var t=[],r=0;r<n.length;r++){var o=n[r],a=!1;"string"!=typeof o&&("tag"===o.type&&o.content[0]&&"tag"===o.content[0].type?"</"===o.content[0].content[0].content?0<t.length&&t[t.length-1].tagName===s(o.content[0].content[1])&&t.pop():"/>"!==o.content[o.content.length-1].content&&t.push({tagName:s(o.content[0].content[1]),openedBraces:0}):0<t.length&&"punctuation"===o.type&&"{"===o.content?t[t.length-1].openedBraces++:0<t.length&&0<t[t.length-1].openedBraces&&"punctuation"===o.type&&"}"===o.content?t[t.length-1].openedBraces--:a=!0),(a||"string"==typeof o)&&0<t.length&&0===t[t.length-1].openedBraces&&(a=s(o),r<n.length-1&&("string"==typeof n[r+1]||"plain-text"===n[r+1].type)&&(a+=s(n[r+1]),n.splice(r+1,1)),0<r&&("string"==typeof n[r-1]||"plain-text"===n[r-1].type)&&(a=s(n[r-1])+a,n.splice(r-1,1),r--),n[r]=new e.Token("plain-text",a,null,a)),o.content&&"string"!=typeof o.content&&i(o.content)}}o=a(o).source,e.languages.jsx=e.languages.extend("markup",n),e.languages.jsx.tag.pattern=a(/<\/?(?:[\w.:-]+(?:<S>+(?:[\w.:$-]+(?:=(?:"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*'|[^\s{'"/>=]+|<BRACES>))?|<SPREAD>))*<S>*\/?)?>/.source),e.languages.jsx.tag.inside.tag.pattern=/^<\/?[^\s>\/]*/,e.languages.jsx.tag.inside["attr-value"].pattern=/=(?!\{)(?:"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*'|[^\s'">]+)/,e.languages.jsx.tag.inside.tag.inside["class-name"]=/^[A-Z]\w*(?:\.[A-Z]\w*)*$/,e.languages.jsx.tag.inside.comment=n.comment,e.languages.insertBefore("inside","attr-name",{spread:{pattern:a(/<SPREAD>/.source),inside:e.languages.jsx}},e.languages.jsx.tag),e.languages.insertBefore("inside","special-attr",{script:{pattern:a(/=<BRACES>/.source),alias:"language-javascript",inside:{"script-punctuation":{pattern:/^=(?=\{)/,alias:"punctuation"},rest:e.languages.jsx}}},e.languages.jsx.tag);var s=function(e){return e?"string"==typeof e?e:"string"==typeof e.content?e.content:e.content.map(s).join(""):""};e.hooks.add("after-tokenize",(function(e){"jsx"!==e.language&&"tsx"!==e.language||i(e.tokens)}))}(P),function(e){var n=e.util.clone(e.languages.typescript);(n=(e.languages.tsx=e.languages.extend("jsx",n),delete e.languages.tsx.parameter,delete e.languages.tsx["literal-property"],e.languages.tsx.tag)).pattern=RegExp(/(^|[^\w$]|(?=<\/))/.source+"(?:"+n.pattern.source+")",n.pattern.flags),n.lookbehind=!0}(P),P.languages.swift={comment:{pattern:/(^|[^\\:])(?:\/\/.*|\/\*(?:[^/*]|\/(?!\*)|\*(?!\/)|\/\*(?:[^*]|\*(?!\/))*\*\/)*\*\/)/,lookbehind:!0,greedy:!0},"string-literal":[{pattern:RegExp(/(^|[^"#])/.source+"(?:"+/"(?:\\(?:\((?:[^()]|\([^()]*\))*\)|\r\n|[^(])|[^\\\r\n"])*"/.source+"|"+/"""(?:\\(?:\((?:[^()]|\([^()]*\))*\)|[^(])|[^\\"]|"(?!""))*"""/.source+")"+/(?!["#])/.source),lookbehind:!0,greedy:!0,inside:{interpolation:{pattern:/(\\\()(?:[^()]|\([^()]*\))*(?=\))/,lookbehind:!0,inside:null},"interpolation-punctuation":{pattern:/^\)|\\\($/,alias:"punctuation"},punctuation:/\\(?=[\r\n])/,string:/[\s\S]+/}},{pattern:RegExp(/(^|[^"#])(#+)/.source+"(?:"+/"(?:\\(?:#+\((?:[^()]|\([^()]*\))*\)|\r\n|[^#])|[^\\\r\n])*?"/.source+"|"+/"""(?:\\(?:#+\((?:[^()]|\([^()]*\))*\)|[^#])|[^\\])*?"""/.source+")\\2"),lookbehind:!0,greedy:!0,inside:{interpolation:{pattern:/(\\#+\()(?:[^()]|\([^()]*\))*(?=\))/,lookbehind:!0,inside:null},"interpolation-punctuation":{pattern:/^\)|\\#+\($/,alias:"punctuation"},string:/[\s\S]+/}}],directive:{pattern:RegExp(/#/.source+"(?:"+/(?:elseif|if)\b/.source+"(?:[ \t]*"+/(?:![ \t]*)?(?:\b\w+\b(?:[ \t]*\((?:[^()]|\([^()]*\))*\))?|\((?:[^()]|\([^()]*\))*\))(?:[ \t]*(?:&&|\|\|))?/.source+")+|"+/(?:else|endif)\b/.source+")"),alias:"property",inside:{"directive-name":/^#\w+/,boolean:/\b(?:false|true)\b/,number:/\b\d+(?:\.\d+)*\b/,operator:/!|&&|\|\||[<>]=?/,punctuation:/[(),]/}},literal:{pattern:/#(?:colorLiteral|column|dsohandle|file(?:ID|Literal|Path)?|function|imageLiteral|line)\b/,alias:"constant"},"other-directive":{pattern:/#\w+\b/,alias:"property"},attribute:{pattern:/@\w+/,alias:"atrule"},"function-definition":{pattern:/(\bfunc\s+)\w+/,lookbehind:!0,alias:"function"},label:{pattern:/\b(break|continue)\s+\w+|\b[a-zA-Z_]\w*(?=\s*:\s*(?:for|repeat|while)\b)/,lookbehind:!0,alias:"important"},keyword:/\b(?:Any|Protocol|Self|Type|actor|as|assignment|associatedtype|associativity|async|await|break|case|catch|class|continue|convenience|default|defer|deinit|didSet|do|dynamic|else|enum|extension|fallthrough|fileprivate|final|for|func|get|guard|higherThan|if|import|in|indirect|infix|init|inout|internal|is|isolated|lazy|left|let|lowerThan|mutating|none|nonisolated|nonmutating|open|operator|optional|override|postfix|precedencegroup|prefix|private|protocol|public|repeat|required|rethrows|return|right|safe|self|set|some|static|struct|subscript|super|switch|throw|throws|try|typealias|unowned|unsafe|var|weak|where|while|willSet)\b/,boolean:/\b(?:false|true)\b/,nil:{pattern:/\bnil\b/,alias:"constant"},"short-argument":/\$\d+\b/,omit:{pattern:/\b_\b/,alias:"keyword"},number:/\b(?:[\d_]+(?:\.[\de_]+)?|0x[a-f0-9_]+(?:\.[a-f0-9p_]+)?|0b[01_]+|0o[0-7_]+)\b/i,"class-name":/\b[A-Z](?:[A-Z_\d]*[a-z]\w*)?\b/,function:/\b[a-z_]\w*(?=\s*\()/i,constant:/\b(?:[A-Z_]{2,}|k[A-Z][A-Za-z_]+)\b/,operator:/[-+*/%=!<>&|^~?]+|\.[.\-+*/%=!<>&|^~?]+/,punctuation:/[{}[\]();,.:\\]/},P.languages.swift["string-literal"].forEach((function(e){e.inside.interpolation.inside=P.languages.swift})),function(e){e.languages.kotlin=e.languages.extend("clike",{keyword:{pattern:/(^|[^.])\b(?:abstract|actual|annotation|as|break|by|catch|class|companion|const|constructor|continue|crossinline|data|do|dynamic|else|enum|expect|external|final|finally|for|fun|get|if|import|in|infix|init|inline|inner|interface|internal|is|lateinit|noinline|null|object|open|operator|out|override|package|private|protected|public|reified|return|sealed|set|super|suspend|tailrec|this|throw|to|try|typealias|val|var|vararg|when|where|while)\b/,lookbehind:!0},function:[{pattern:/(?:`[^\r\n`]+`|\b\w+)(?=\s*\()/,greedy:!0},{pattern:/(\.)(?:`[^\r\n`]+`|\w+)(?=\s*\{)/,lookbehind:!0,greedy:!0}],number:/\b(?:0[xX][\da-fA-F]+(?:_[\da-fA-F]+)*|0[bB][01]+(?:_[01]+)*|\d+(?:_\d+)*(?:\.\d+(?:_\d+)*)?(?:[eE][+-]?\d+(?:_\d+)*)?[fFL]?)\b/,operator:/\+[+=]?|-[-=>]?|==?=?|!(?:!|==?)?|[\/*%<>]=?|[?:]:?|\.\.|&&|\|\||\b(?:and|inv|or|shl|shr|ushr|xor)\b/}),delete e.languages.kotlin["class-name"];var n={"interpolation-punctuation":{pattern:/^\$\{?|\}$/,alias:"punctuation"},expression:{pattern:/[\s\S]+/,inside:e.languages.kotlin}};e.languages.insertBefore("kotlin","string",{"string-literal":[{pattern:/"""(?:[^$]|\$(?:(?!\{)|\{[^{}]*\}))*?"""/,alias:"multiline",inside:{interpolation:{pattern:/\$(?:[a-z_]\w*|\{[^{}]*\})/i,inside:n},string:/[\s\S]+/}},{pattern:/"(?:[^"\\\r\n$]|\\.|\$(?:(?!\{)|\{[^{}]*\}))*"/,alias:"singleline",inside:{interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$(?:[a-z_]\w*|\{[^{}]*\})/i,lookbehind:!0,inside:n},string:/[\s\S]+/}}],char:{pattern:/'(?:[^'\\\r\n]|\\(?:.|u[a-fA-F0-9]{0,4}))'/,greedy:!0}}),delete e.languages.kotlin.string,e.languages.insertBefore("kotlin","keyword",{annotation:{pattern:/\B@(?:\w+:)?(?:[A-Z]\w*|\[[^\]]+\])/,alias:"builtin"}}),e.languages.insertBefore("kotlin","function",{label:{pattern:/\b\w+@|@\w+\b/,alias:"symbol"}}),e.languages.kt=e.languages.kotlin,e.languages.kts=e.languages.kotlin}(P),P.languages.c=P.languages.extend("clike",{comment:{pattern:/\/\/(?:[^\r\n\\]|\\(?:\r\n?|\n|(?![\r\n])))*|\/\*[\s\S]*?(?:\*\/|$)/,greedy:!0},string:{pattern:/"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"/,greedy:!0},"class-name":{pattern:/(\b(?:enum|struct)\s+(?:__attribute__\s*\(\([\s\S]*?\)\)\s*)?)\w+|\b[a-z]\w*_t\b/,lookbehind:!0},keyword:/\b(?:_Alignas|_Alignof|_Atomic|_Bool|_Complex|_Generic|_Imaginary|_Noreturn|_Static_assert|_Thread_local|__attribute__|asm|auto|break|case|char|const|continue|default|do|double|else|enum|extern|float|for|goto|if|inline|int|long|register|return|short|signed|sizeof|static|struct|switch|typedef|typeof|union|unsigned|void|volatile|while)\b/,function:/\b[a-z_]\w*(?=\s*\()/i,number:/(?:\b0x(?:[\da-f]+(?:\.[\da-f]*)?|\.[\da-f]+)(?:p[+-]?\d+)?|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?)[ful]{0,4}/i,operator:/>>=?|<<=?|->|([-+&|:])\1|[?:~]|[-+*/%&|^!=<>]=?/}),P.languages.insertBefore("c","string",{char:{pattern:/'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n]){0,32}'/,greedy:!0}}),P.languages.insertBefore("c","string",{macro:{pattern:/(^[\t ]*)#\s*[a-z](?:[^\r\n\\/]|\/(?!\*)|\/\*(?:[^*]|\*(?!\/))*\*\/|\\(?:\r\n|[\s\S]))*/im,lookbehind:!0,greedy:!0,alias:"property",inside:{string:[{pattern:/^(#\s*include\s*)<[^>]+>/,lookbehind:!0},P.languages.c.string],char:P.languages.c.char,comment:P.languages.c.comment,"macro-name":[{pattern:/(^#\s*define\s+)\w+\b(?!\()/i,lookbehind:!0},{pattern:/(^#\s*define\s+)\w+\b(?=\()/i,lookbehind:!0,alias:"function"}],directive:{pattern:/^(#\s*)[a-z]+/,lookbehind:!0,alias:"keyword"},"directive-hash":/^#/,punctuation:/##|\\(?=[\r\n])/,expression:{pattern:/\S[\s\S]*/,inside:P.languages.c}}}}),P.languages.insertBefore("c","function",{constant:/\b(?:EOF|NULL|SEEK_CUR|SEEK_END|SEEK_SET|__DATE__|__FILE__|__LINE__|__TIMESTAMP__|__TIME__|__func__|stderr|stdin|stdout)\b/}),delete P.languages.c.boolean,P.languages.objectivec=P.languages.extend("c",{string:{pattern:/@?"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"/,greedy:!0},keyword:/\b(?:asm|auto|break|case|char|const|continue|default|do|double|else|enum|extern|float|for|goto|if|in|inline|int|long|register|return|self|short|signed|sizeof|static|struct|super|switch|typedef|typeof|union|unsigned|void|volatile|while)\b|(?:@interface|@end|@implementation|@protocol|@class|@public|@protected|@private|@property|@try|@catch|@finally|@throw|@synthesize|@dynamic|@selector)\b/,operator:/-[->]?|\+\+?|!=?|<<?=?|>>?=?|==?|&&?|\|\|?|[~^%?*\/@]/}),delete P.languages.objectivec["class-name"],P.languages.objc=P.languages.objectivec,P.languages.reason=P.languages.extend("clike",{string:{pattern:/"(?:\\(?:\r\n|[\s\S])|[^\\\r\n"])*"/,greedy:!0},"class-name":/\b[A-Z]\w*/,keyword:/\b(?:and|as|assert|begin|class|constraint|do|done|downto|else|end|exception|external|for|fun|function|functor|if|in|include|inherit|initializer|lazy|let|method|module|mutable|new|nonrec|object|of|open|or|private|rec|sig|struct|switch|then|to|try|type|val|virtual|when|while|with)\b/,operator:/\.{3}|:[:=]|\|>|->|=(?:==?|>)?|<=?|>=?|[|^?'#!~`]|[+\-*\/]\.?|\b(?:asr|land|lor|lsl|lsr|lxor|mod)\b/}),P.languages.insertBefore("reason","class-name",{char:{pattern:/'(?:\\x[\da-f]{2}|\\o[0-3][0-7][0-7]|\\\d{3}|\\.|[^'\\\r\n])'/,greedy:!0},constructor:/\b[A-Z]\w*\b(?!\s*\.)/,label:{pattern:/\b[a-z]\w*(?=::)/,alias:"symbol"}}),delete P.languages.reason.function,function(e){for(var n=/\/\*(?:[^*/]|\*(?!\/)|\/(?!\*)|<self>)*\*\//.source,t=0;t<2;t++)n=n.replace(/<self>/g,(function(){return n}));n=n.replace(/<self>/g,(function(){return/[^\s\S]/.source})),e.languages.rust={comment:[{pattern:RegExp(/(^|[^\\])/.source+n),lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],string:{pattern:/b?"(?:\\[\s\S]|[^\\"])*"|b?r(#*)"(?:[^"]|"(?!\1))*"\1/,greedy:!0},char:{pattern:/b?'(?:\\(?:x[0-7][\da-fA-F]|u\{(?:[\da-fA-F]_*){1,6}\}|.)|[^\\\r\n\t'])'/,greedy:!0},attribute:{pattern:/#!?\[(?:[^\[\]"]|"(?:\\[\s\S]|[^\\"])*")*\]/,greedy:!0,alias:"attr-name",inside:{string:null}},"closure-params":{pattern:/([=(,:]\s*|\bmove\s*)\|[^|]*\||\|[^|]*\|(?=\s*(?:\{|->))/,lookbehind:!0,greedy:!0,inside:{"closure-punctuation":{pattern:/^\||\|$/,alias:"punctuation"},rest:null}},"lifetime-annotation":{pattern:/'\w+/,alias:"symbol"},"fragment-specifier":{pattern:/(\$\w+:)[a-z]+/,lookbehind:!0,alias:"punctuation"},variable:/\$\w+/,"function-definition":{pattern:/(\bfn\s+)\w+/,lookbehind:!0,alias:"function"},"type-definition":{pattern:/(\b(?:enum|struct|trait|type|union)\s+)\w+/,lookbehind:!0,alias:"class-name"},"module-declaration":[{pattern:/(\b(?:crate|mod)\s+)[a-z][a-z_\d]*/,lookbehind:!0,alias:"namespace"},{pattern:/(\b(?:crate|self|super)\s*)::\s*[a-z][a-z_\d]*\b(?:\s*::(?:\s*[a-z][a-z_\d]*\s*::)*)?/,lookbehind:!0,alias:"namespace",inside:{punctuation:/::/}}],keyword:[/\b(?:Self|abstract|as|async|await|become|box|break|const|continue|crate|do|dyn|else|enum|extern|final|fn|for|if|impl|in|let|loop|macro|match|mod|move|mut|override|priv|pub|ref|return|self|static|struct|super|trait|try|type|typeof|union|unsafe|unsized|use|virtual|where|while|yield)\b/,/\b(?:bool|char|f(?:32|64)|[ui](?:8|16|32|64|128|size)|str)\b/],function:/\b[a-z_]\w*(?=\s*(?:::\s*<|\())/,macro:{pattern:/\b\w+!/,alias:"property"},constant:/\b[A-Z_][A-Z_\d]+\b/,"class-name":/\b[A-Z]\w*\b/,namespace:{pattern:/(?:\b[a-z][a-z_\d]*\s*::\s*)*\b[a-z][a-z_\d]*\s*::(?!\s*<)/,inside:{punctuation:/::/}},number:/\b(?:0x[\dA-Fa-f](?:_?[\dA-Fa-f])*|0o[0-7](?:_?[0-7])*|0b[01](?:_?[01])*|(?:(?:\d(?:_?\d)*)?\.)?\d(?:_?\d)*(?:[Ee][+-]?\d+)?)(?:_?(?:f32|f64|[iu](?:8|16|32|64|size)?))?\b/,boolean:/\b(?:false|true)\b/,punctuation:/->|\.\.=|\.{1,3}|::|[{}[\];(),:]/,operator:/[-+*\/%!^]=?|=[=>]?|&[&=]?|\|[|=]?|<<?=?|>>?=?|[@?]/},e.languages.rust["closure-params"].inside.rest=e.languages.rust,e.languages.rust.attribute.inside.string=e.languages.rust.string}(P),P.languages.go=P.languages.extend("clike",{string:{pattern:/(^|[^\\])"(?:\\.|[^"\\\r\n])*"|`[^`]*`/,lookbehind:!0,greedy:!0},keyword:/\b(?:break|case|chan|const|continue|default|defer|else|fallthrough|for|func|go(?:to)?|if|import|interface|map|package|range|return|select|struct|switch|type|var)\b/,boolean:/\b(?:_|false|iota|nil|true)\b/,number:[/\b0(?:b[01_]+|o[0-7_]+)i?\b/i,/\b0x(?:[a-f\d_]+(?:\.[a-f\d_]*)?|\.[a-f\d_]+)(?:p[+-]?\d+(?:_\d+)*)?i?(?!\w)/i,/(?:\b\d[\d_]*(?:\.[\d_]*)?|\B\.\d[\d_]*)(?:e[+-]?[\d_]+)?i?(?!\w)/i],operator:/[*\/%^!=]=?|\+[=+]?|-[=-]?|\|[=|]?|&(?:=|&|\^=?)?|>(?:>=?|=)?|<(?:<=?|=|-)?|:=|\.\.\./,builtin:/\b(?:append|bool|byte|cap|close|complex|complex(?:64|128)|copy|delete|error|float(?:32|64)|u?int(?:8|16|32|64)?|imag|len|make|new|panic|print(?:ln)?|real|recover|rune|string|uintptr)\b/}),P.languages.insertBefore("go","string",{char:{pattern:/'(?:\\.|[^'\\\r\n]){0,10}'/,greedy:!0}}),delete P.languages.go["class-name"],function(e){var n=/\b(?:alignas|alignof|asm|auto|bool|break|case|catch|char|char16_t|char32_t|char8_t|class|co_await|co_return|co_yield|compl|concept|const|const_cast|consteval|constexpr|constinit|continue|decltype|default|delete|do|double|dynamic_cast|else|enum|explicit|export|extern|final|float|for|friend|goto|if|import|inline|int|int16_t|int32_t|int64_t|int8_t|long|module|mutable|namespace|new|noexcept|nullptr|operator|override|private|protected|public|register|reinterpret_cast|requires|return|short|signed|sizeof|static|static_assert|static_cast|struct|switch|template|this|thread_local|throw|try|typedef|typeid|typename|uint16_t|uint32_t|uint64_t|uint8_t|union|unsigned|using|virtual|void|volatile|wchar_t|while)\b/,t=/\b(?!<keyword>)\w+(?:\s*\.\s*\w+)*\b/.source.replace(/<keyword>/g,(function(){return n.source}));e.languages.cpp=e.languages.extend("c",{"class-name":[{pattern:RegExp(/(\b(?:class|concept|enum|struct|typename)\s+)(?!<keyword>)\w+/.source.replace(/<keyword>/g,(function(){return n.source}))),lookbehind:!0},/\b[A-Z]\w*(?=\s*::\s*\w+\s*\()/,/\b[A-Z_]\w*(?=\s*::\s*~\w+\s*\()/i,/\b\w+(?=\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>\s*::\s*\w+\s*\()/],keyword:n,number:{pattern:/(?:\b0b[01']+|\b0x(?:[\da-f']+(?:\.[\da-f']*)?|\.[\da-f']+)(?:p[+-]?[\d']+)?|(?:\b[\d']+(?:\.[\d']*)?|\B\.[\d']+)(?:e[+-]?[\d']+)?)[ful]{0,4}/i,greedy:!0},operator:/>>=?|<<=?|->|--|\+\+|&&|\|\||[?:~]|<=>|[-+*/%&|^!=<>]=?|\b(?:and|and_eq|bitand|bitor|not|not_eq|or|or_eq|xor|xor_eq)\b/,boolean:/\b(?:false|true)\b/}),e.languages.insertBefore("cpp","string",{module:{pattern:RegExp(/(\b(?:import|module)\s+)/.source+"(?:"+/"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|<[^<>\r\n]*>/.source+"|"+/<mod-name>(?:\s*:\s*<mod-name>)?|:\s*<mod-name>/.source.replace(/<mod-name>/g,(function(){return t}))+")"),lookbehind:!0,greedy:!0,inside:{string:/^[<"][\s\S]+/,operator:/:/,punctuation:/\./}},"raw-string":{pattern:/R"([^()\\ ]{0,16})\([\s\S]*?\)\1"/,alias:"string",greedy:!0}}),e.languages.insertBefore("cpp","keyword",{"generic-function":{pattern:/\b(?!operator\b)[a-z_]\w*\s*<(?:[^<>]|<[^<>]*>)*>(?=\s*\()/i,inside:{function:/^\w+/,generic:{pattern:/<[\s\S]+/,alias:"class-name",inside:e.languages.cpp}}}}),e.languages.insertBefore("cpp","operator",{"double-colon":{pattern:/::/,alias:"punctuation"}}),e.languages.insertBefore("cpp","class-name",{"base-clause":{pattern:/(\b(?:class|struct)\s+\w+\s*:\s*)[^;{}"'\s]+(?:\s+[^;{}"'\s]+)*(?=\s*[;{])/,lookbehind:!0,greedy:!0,inside:e.languages.extend("cpp",{})}}),e.languages.insertBefore("inside","double-colon",{"class-name":/\b[a-z_]\w*\b(?!\s*::)/i},e.languages.cpp["base-clause"])}(P),P.languages.python={comment:{pattern:/(^|[^\\])#.*/,lookbehind:!0,greedy:!0},"string-interpolation":{pattern:/(?:f|fr|rf)(?:("""|''')[\s\S]*?\1|("|')(?:\\.|(?!\2)[^\\\r\n])*\2)/i,greedy:!0,inside:{interpolation:{pattern:/((?:^|[^{])(?:\{\{)*)\{(?!\{)(?:[^{}]|\{(?!\{)(?:[^{}]|\{(?!\{)(?:[^{}])+\})+\})+\}/,lookbehind:!0,inside:{"format-spec":{pattern:/(:)[^:(){}]+(?=\}$)/,lookbehind:!0},"conversion-option":{pattern:/![sra](?=[:}]$)/,alias:"punctuation"},rest:null}},string:/[\s\S]+/}},"triple-quoted-string":{pattern:/(?:[rub]|br|rb)?("""|''')[\s\S]*?\1/i,greedy:!0,alias:"string"},string:{pattern:/(?:[rub]|br|rb)?("|')(?:\\.|(?!\1)[^\\\r\n])*\1/i,greedy:!0},function:{pattern:/((?:^|\s)def[ \t]+)[a-zA-Z_]\w*(?=\s*\()/g,lookbehind:!0},"class-name":{pattern:/(\bclass\s+)\w+/i,lookbehind:!0},decorator:{pattern:/(^[\t ]*)@\w+(?:\.\w+)*/m,lookbehind:!0,alias:["annotation","punctuation"],inside:{punctuation:/\./}},keyword:/\b(?:_(?=\s*:)|and|as|assert|async|await|break|case|class|continue|def|del|elif|else|except|exec|finally|for|from|global|if|import|in|is|lambda|match|nonlocal|not|or|pass|print|raise|return|try|while|with|yield)\b/,builtin:/\b(?:__import__|abs|all|any|apply|ascii|basestring|bin|bool|buffer|bytearray|bytes|callable|chr|classmethod|cmp|coerce|compile|complex|delattr|dict|dir|divmod|enumerate|eval|execfile|file|filter|float|format|frozenset|getattr|globals|hasattr|hash|help|hex|id|input|int|intern|isinstance|issubclass|iter|len|list|locals|long|map|max|memoryview|min|next|object|oct|open|ord|pow|property|range|raw_input|reduce|reload|repr|reversed|round|set|setattr|slice|sorted|staticmethod|str|sum|super|tuple|type|unichr|unicode|vars|xrange|zip)\b/,boolean:/\b(?:False|None|True)\b/,number:/\b0(?:b(?:_?[01])+|o(?:_?[0-7])+|x(?:_?[a-f0-9])+)\b|(?:\b\d+(?:_\d+)*(?:\.(?:\d+(?:_\d+)*)?)?|\B\.\d+(?:_\d+)*)(?:e[+-]?\d+(?:_\d+)*)?j?(?!\w)/i,operator:/[-+%=]=?|!=|:=|\*\*?=?|\/\/?=?|<[<=>]?|>[=>]?|[&|^~]/,punctuation:/[{}[\];(),.:]/},P.languages.python["string-interpolation"].inside.interpolation.inside.rest=P.languages.python,P.languages.py=P.languages.python;((e,n)=>{for(var t in n)f(e,t,{get:n[t],enumerable:!0})})({},{dracula:()=>j,duotoneDark:()=>T,duotoneLight:()=>O,github:()=>$,jettwaveDark:()=>q,jettwaveLight:()=>V,nightOwl:()=>R,nightOwlLight:()=>N,oceanicNext:()=>D,okaidia:()=>I,oneDark:()=>Z,oneLight:()=>W,palenight:()=>M,shadesOfPurple:()=>F,synthwave84:()=>z,ultramin:()=>B,vsDark:()=>U,vsLight:()=>H});var j={plain:{color:"#F8F8F2",backgroundColor:"#282A36"},styles:[{types:["prolog","constant","builtin"],style:{color:"rgb(189, 147, 249)"}},{types:["inserted","function"],style:{color:"rgb(80, 250, 123)"}},{types:["deleted"],style:{color:"rgb(255, 85, 85)"}},{types:["changed"],style:{color:"rgb(255, 184, 108)"}},{types:["punctuation","symbol"],style:{color:"rgb(248, 248, 242)"}},{types:["string","char","tag","selector"],style:{color:"rgb(255, 121, 198)"}},{types:["keyword","variable"],style:{color:"rgb(189, 147, 249)",fontStyle:"italic"}},{types:["comment"],style:{color:"rgb(98, 114, 164)"}},{types:["attr-name"],style:{color:"rgb(241, 250, 140)"}}]},T={plain:{backgroundColor:"#2a2734",color:"#9a86fd"},styles:[{types:["comment","prolog","doctype","cdata","punctuation"],style:{color:"#6c6783"}},{types:["namespace"],style:{opacity:.7}},{types:["tag","operator","number"],style:{color:"#e09142"}},{types:["property","function"],style:{color:"#9a86fd"}},{types:["tag-id","selector","atrule-id"],style:{color:"#eeebff"}},{types:["attr-name"],style:{color:"#c4b9fe"}},{types:["boolean","string","entity","url","attr-value","keyword","control","directive","unit","statement","regex","atrule","placeholder","variable"],style:{color:"#ffcc99"}},{types:["deleted"],style:{textDecorationLine:"line-through"}},{types:["inserted"],style:{textDecorationLine:"underline"}},{types:["italic"],style:{fontStyle:"italic"}},{types:["important","bold"],style:{fontWeight:"bold"}},{types:["important"],style:{color:"#c4b9fe"}}]},O={plain:{backgroundColor:"#faf8f5",color:"#728fcb"},styles:[{types:["comment","prolog","doctype","cdata","punctuation"],style:{color:"#b6ad9a"}},{types:["namespace"],style:{opacity:.7}},{types:["tag","operator","number"],style:{color:"#063289"}},{types:["property","function"],style:{color:"#b29762"}},{types:["tag-id","selector","atrule-id"],style:{color:"#2d2006"}},{types:["attr-name"],style:{color:"#896724"}},{types:["boolean","string","entity","url","attr-value","keyword","control","directive","unit","statement","regex","atrule"],style:{color:"#728fcb"}},{types:["placeholder","variable"],style:{color:"#93abdc"}},{types:["deleted"],style:{textDecorationLine:"line-through"}},{types:["inserted"],style:{textDecorationLine:"underline"}},{types:["italic"],style:{fontStyle:"italic"}},{types:["important","bold"],style:{fontWeight:"bold"}},{types:["important"],style:{color:"#896724"}}]},$={plain:{color:"#393A34",backgroundColor:"#f6f8fa"},styles:[{types:["comment","prolog","doctype","cdata"],style:{color:"#999988",fontStyle:"italic"}},{types:["namespace"],style:{opacity:.7}},{types:["string","attr-value"],style:{color:"#e3116c"}},{types:["punctuation","operator"],style:{color:"#393A34"}},{types:["entity","url","symbol","number","boolean","variable","constant","property","regex","inserted"],style:{color:"#36acaa"}},{types:["atrule","keyword","attr-name","selector"],style:{color:"#00a4db"}},{types:["function","deleted","tag"],style:{color:"#d73a49"}},{types:["function-variable"],style:{color:"#6f42c1"}},{types:["tag","selector","keyword"],style:{color:"#00009f"}}]},R={plain:{color:"#d6deeb",backgroundColor:"#011627"},styles:[{types:["changed"],style:{color:"rgb(162, 191, 252)",fontStyle:"italic"}},{types:["deleted"],style:{color:"rgba(239, 83, 80, 0.56)",fontStyle:"italic"}},{types:["inserted","attr-name"],style:{color:"rgb(173, 219, 103)",fontStyle:"italic"}},{types:["comment"],style:{color:"rgb(99, 119, 119)",fontStyle:"italic"}},{types:["string","url"],style:{color:"rgb(173, 219, 103)"}},{types:["variable"],style:{color:"rgb(214, 222, 235)"}},{types:["number"],style:{color:"rgb(247, 140, 108)"}},{types:["builtin","char","constant","function"],style:{color:"rgb(130, 170, 255)"}},{types:["punctuation"],style:{color:"rgb(199, 146, 234)"}},{types:["selector","doctype"],style:{color:"rgb(199, 146, 234)",fontStyle:"italic"}},{types:["class-name"],style:{color:"rgb(255, 203, 139)"}},{types:["tag","operator","keyword"],style:{color:"rgb(127, 219, 202)"}},{types:["boolean"],style:{color:"rgb(255, 88, 116)"}},{types:["property"],style:{color:"rgb(128, 203, 196)"}},{types:["namespace"],style:{color:"rgb(178, 204, 214)"}}]},N={plain:{color:"#403f53",backgroundColor:"#FBFBFB"},styles:[{types:["changed"],style:{color:"rgb(162, 191, 252)",fontStyle:"italic"}},{types:["deleted"],style:{color:"rgba(239, 83, 80, 0.56)",fontStyle:"italic"}},{types:["inserted","attr-name"],style:{color:"rgb(72, 118, 214)",fontStyle:"italic"}},{types:["comment"],style:{color:"rgb(152, 159, 177)",fontStyle:"italic"}},{types:["string","builtin","char","constant","url"],style:{color:"rgb(72, 118, 214)"}},{types:["variable"],style:{color:"rgb(201, 103, 101)"}},{types:["number"],style:{color:"rgb(170, 9, 130)"}},{types:["punctuation"],style:{color:"rgb(153, 76, 195)"}},{types:["function","selector","doctype"],style:{color:"rgb(153, 76, 195)",fontStyle:"italic"}},{types:["class-name"],style:{color:"rgb(17, 17, 17)"}},{types:["tag"],style:{color:"rgb(153, 76, 195)"}},{types:["operator","property","keyword","namespace"],style:{color:"rgb(12, 150, 155)"}},{types:["boolean"],style:{color:"rgb(188, 84, 84)"}}]},A="#c5a5c5",L="#8dc891",D={plain:{backgroundColor:"#282c34",color:"#ffffff"},styles:[{types:["attr-name"],style:{color:A}},{types:["attr-value"],style:{color:L}},{types:["comment","block-comment","prolog","doctype","cdata","shebang"],style:{color:"#999999"}},{types:["property","number","function-name","constant","symbol","deleted"],style:{color:"#5a9bcf"}},{types:["boolean"],style:{color:"#ff8b50"}},{types:["tag"],style:{color:"#fc929e"}},{types:["string"],style:{color:L}},{types:["punctuation"],style:{color:L}},{types:["selector","char","builtin","inserted"],style:{color:"#D8DEE9"}},{types:["function"],style:{color:"#79b6f2"}},{types:["operator","entity","url","variable"],style:{color:"#d7deea"}},{types:["keyword"],style:{color:A}},{types:["atrule","class-name"],style:{color:"#FAC863"}},{types:["important"],style:{fontWeight:"400"}},{types:["bold"],style:{fontWeight:"bold"}},{types:["italic"],style:{fontStyle:"italic"}},{types:["namespace"],style:{opacity:.7}}]},I={plain:{color:"#f8f8f2",backgroundColor:"#272822"},styles:[{types:["changed"],style:{color:"rgb(162, 191, 252)",fontStyle:"italic"}},{types:["deleted"],style:{color:"#f92672",fontStyle:"italic"}},{types:["inserted"],style:{color:"rgb(173, 219, 103)",fontStyle:"italic"}},{types:["comment"],style:{color:"#8292a2",fontStyle:"italic"}},{types:["string","url"],style:{color:"#a6e22e"}},{types:["variable"],style:{color:"#f8f8f2"}},{types:["number"],style:{color:"#ae81ff"}},{types:["builtin","char","constant","function","class-name"],style:{color:"#e6db74"}},{types:["punctuation"],style:{color:"#f8f8f2"}},{types:["selector","doctype"],style:{color:"#a6e22e",fontStyle:"italic"}},{types:["tag","operator","keyword"],style:{color:"#66d9ef"}},{types:["boolean"],style:{color:"#ae81ff"}},{types:["namespace"],style:{color:"rgb(178, 204, 214)",opacity:.7}},{types:["tag","property"],style:{color:"#f92672"}},{types:["attr-name"],style:{color:"#a6e22e !important"}},{types:["doctype"],style:{color:"#8292a2"}},{types:["rule"],style:{color:"#e6db74"}}]},M={plain:{color:"#bfc7d5",backgroundColor:"#292d3e"},styles:[{types:["comment"],style:{color:"rgb(105, 112, 152)",fontStyle:"italic"}},{types:["string","inserted"],style:{color:"rgb(195, 232, 141)"}},{types:["number"],style:{color:"rgb(247, 140, 108)"}},{types:["builtin","char","constant","function"],style:{color:"rgb(130, 170, 255)"}},{types:["punctuation","selector"],style:{color:"rgb(199, 146, 234)"}},{types:["variable"],style:{color:"rgb(191, 199, 213)"}},{types:["class-name","attr-name"],style:{color:"rgb(255, 203, 107)"}},{types:["tag","deleted"],style:{color:"rgb(255, 85, 114)"}},{types:["operator"],style:{color:"rgb(137, 221, 255)"}},{types:["boolean"],style:{color:"rgb(255, 88, 116)"}},{types:["keyword"],style:{fontStyle:"italic"}},{types:["doctype"],style:{color:"rgb(199, 146, 234)",fontStyle:"italic"}},{types:["namespace"],style:{color:"rgb(178, 204, 214)"}},{types:["url"],style:{color:"rgb(221, 221, 221)"}}]},F={plain:{color:"#9EFEFF",backgroundColor:"#2D2A55"},styles:[{types:["changed"],style:{color:"rgb(255, 238, 128)"}},{types:["deleted"],style:{color:"rgba(239, 83, 80, 0.56)"}},{types:["inserted"],style:{color:"rgb(173, 219, 103)"}},{types:["comment"],style:{color:"rgb(179, 98, 255)",fontStyle:"italic"}},{types:["punctuation"],style:{color:"rgb(255, 255, 255)"}},{types:["constant"],style:{color:"rgb(255, 98, 140)"}},{types:["string","url"],style:{color:"rgb(165, 255, 144)"}},{types:["variable"],style:{color:"rgb(255, 238, 128)"}},{types:["number","boolean"],style:{color:"rgb(255, 98, 140)"}},{types:["attr-name"],style:{color:"rgb(255, 180, 84)"}},{types:["keyword","operator","property","namespace","tag","selector","doctype"],style:{color:"rgb(255, 157, 0)"}},{types:["builtin","char","constant","function","class-name"],style:{color:"rgb(250, 208, 0)"}}]},z={plain:{backgroundColor:"linear-gradient(to bottom, #2a2139 75%, #34294f)",backgroundImage:"#34294f",color:"#f92aad",textShadow:"0 0 2px #100c0f, 0 0 5px #dc078e33, 0 0 10px #fff3"},styles:[{types:["comment","block-comment","prolog","doctype","cdata"],style:{color:"#495495",fontStyle:"italic"}},{types:["punctuation"],style:{color:"#ccc"}},{types:["tag","attr-name","namespace","number","unit","hexcode","deleted"],style:{color:"#e2777a"}},{types:["property","selector"],style:{color:"#72f1b8",textShadow:"0 0 2px #100c0f, 0 0 10px #257c5575, 0 0 35px #21272475"}},{types:["function-name"],style:{color:"#6196cc"}},{types:["boolean","selector-id","function"],style:{color:"#fdfdfd",textShadow:"0 0 2px #001716, 0 0 3px #03edf975, 0 0 5px #03edf975, 0 0 8px #03edf975"}},{types:["class-name","maybe-class-name","builtin"],style:{color:"#fff5f6",textShadow:"0 0 2px #000, 0 0 10px #fc1f2c75, 0 0 5px #fc1f2c75, 0 0 25px #fc1f2c75"}},{types:["constant","symbol"],style:{color:"#f92aad",textShadow:"0 0 2px #100c0f, 0 0 5px #dc078e33, 0 0 10px #fff3"}},{types:["important","atrule","keyword","selector-class"],style:{color:"#f4eee4",textShadow:"0 0 2px #393a33, 0 0 8px #f39f0575, 0 0 2px #f39f0575"}},{types:["string","char","attr-value","regex","variable"],style:{color:"#f87c32"}},{types:["parameter"],style:{fontStyle:"italic"}},{types:["entity","url"],style:{color:"#67cdcc"}},{types:["operator"],style:{color:"ffffffee"}},{types:["important","bold"],style:{fontWeight:"bold"}},{types:["italic"],style:{fontStyle:"italic"}},{types:["entity"],style:{cursor:"help"}},{types:["inserted"],style:{color:"green"}}]},B={plain:{color:"#282a2e",backgroundColor:"#ffffff"},styles:[{types:["comment"],style:{color:"rgb(197, 200, 198)"}},{types:["string","number","builtin","variable"],style:{color:"rgb(150, 152, 150)"}},{types:["class-name","function","tag","attr-name"],style:{color:"rgb(40, 42, 46)"}}]},U={plain:{color:"#9CDCFE",backgroundColor:"#1E1E1E"},styles:[{types:["prolog"],style:{color:"rgb(0, 0, 128)"}},{types:["comment"],style:{color:"rgb(106, 153, 85)"}},{types:["builtin","changed","keyword","interpolation-punctuation"],style:{color:"rgb(86, 156, 214)"}},{types:["number","inserted"],style:{color:"rgb(181, 206, 168)"}},{types:["constant"],style:{color:"rgb(100, 102, 149)"}},{types:["attr-name","variable"],style:{color:"rgb(156, 220, 254)"}},{types:["deleted","string","attr-value","template-punctuation"],style:{color:"rgb(206, 145, 120)"}},{types:["selector"],style:{color:"rgb(215, 186, 125)"}},{types:["tag"],style:{color:"rgb(78, 201, 176)"}},{types:["tag"],languages:["markup"],style:{color:"rgb(86, 156, 214)"}},{types:["punctuation","operator"],style:{color:"rgb(212, 212, 212)"}},{types:["punctuation"],languages:["markup"],style:{color:"#808080"}},{types:["function"],style:{color:"rgb(220, 220, 170)"}},{types:["class-name"],style:{color:"rgb(78, 201, 176)"}},{types:["char"],style:{color:"rgb(209, 105, 105)"}}]},H={plain:{color:"#000000",backgroundColor:"#ffffff"},styles:[{types:["comment"],style:{color:"rgb(0, 128, 0)"}},{types:["builtin"],style:{color:"rgb(0, 112, 193)"}},{types:["number","variable","inserted"],style:{color:"rgb(9, 134, 88)"}},{types:["operator"],style:{color:"rgb(0, 0, 0)"}},{types:["constant","char"],style:{color:"rgb(129, 31, 63)"}},{types:["tag"],style:{color:"rgb(128, 0, 0)"}},{types:["attr-name"],style:{color:"rgb(255, 0, 0)"}},{types:["deleted","string"],style:{color:"rgb(163, 21, 21)"}},{types:["changed","punctuation"],style:{color:"rgb(4, 81, 165)"}},{types:["function","keyword"],style:{color:"rgb(0, 0, 255)"}},{types:["class-name"],style:{color:"rgb(38, 127, 153)"}}]},q={plain:{color:"#f8fafc",backgroundColor:"#011627"},styles:[{types:["prolog"],style:{color:"#000080"}},{types:["comment"],style:{color:"#6A9955"}},{types:["builtin","changed","keyword","interpolation-punctuation"],style:{color:"#569CD6"}},{types:["number","inserted"],style:{color:"#B5CEA8"}},{types:["constant"],style:{color:"#f8fafc"}},{types:["attr-name","variable"],style:{color:"#9CDCFE"}},{types:["deleted","string","attr-value","template-punctuation"],style:{color:"#cbd5e1"}},{types:["selector"],style:{color:"#D7BA7D"}},{types:["tag"],style:{color:"#0ea5e9"}},{types:["tag"],languages:["markup"],style:{color:"#0ea5e9"}},{types:["punctuation","operator"],style:{color:"#D4D4D4"}},{types:["punctuation"],languages:["markup"],style:{color:"#808080"}},{types:["function"],style:{color:"#7dd3fc"}},{types:["class-name"],style:{color:"#0ea5e9"}},{types:["char"],style:{color:"#D16969"}}]},V={plain:{color:"#0f172a",backgroundColor:"#f1f5f9"},styles:[{types:["prolog"],style:{color:"#000080"}},{types:["comment"],style:{color:"#6A9955"}},{types:["builtin","changed","keyword","interpolation-punctuation"],style:{color:"#0c4a6e"}},{types:["number","inserted"],style:{color:"#B5CEA8"}},{types:["constant"],style:{color:"#0f172a"}},{types:["attr-name","variable"],style:{color:"#0c4a6e"}},{types:["deleted","string","attr-value","template-punctuation"],style:{color:"#64748b"}},{types:["selector"],style:{color:"#D7BA7D"}},{types:["tag"],style:{color:"#0ea5e9"}},{types:["tag"],languages:["markup"],style:{color:"#0ea5e9"}},{types:["punctuation","operator"],style:{color:"#475569"}},{types:["punctuation"],languages:["markup"],style:{color:"#808080"}},{types:["function"],style:{color:"#0e7490"}},{types:["class-name"],style:{color:"#0ea5e9"}},{types:["char"],style:{color:"#D16969"}}]},Z={plain:{backgroundColor:"hsl(220, 13%, 18%)",color:"hsl(220, 14%, 71%)",textShadow:"0 1px rgba(0, 0, 0, 0.3)"},styles:[{types:["comment","prolog","cdata"],style:{color:"hsl(220, 10%, 40%)"}},{types:["doctype","punctuation","entity"],style:{color:"hsl(220, 14%, 71%)"}},{types:["attr-name","class-name","maybe-class-name","boolean","constant","number","atrule"],style:{color:"hsl(29, 54%, 61%)"}},{types:["keyword"],style:{color:"hsl(286, 60%, 67%)"}},{types:["property","tag","symbol","deleted","important"],style:{color:"hsl(355, 65%, 65%)"}},{types:["selector","string","char","builtin","inserted","regex","attr-value"],style:{color:"hsl(95, 38%, 62%)"}},{types:["variable","operator","function"],style:{color:"hsl(207, 82%, 66%)"}},{types:["url"],style:{color:"hsl(187, 47%, 55%)"}},{types:["deleted"],style:{textDecorationLine:"line-through"}},{types:["inserted"],style:{textDecorationLine:"underline"}},{types:["italic"],style:{fontStyle:"italic"}},{types:["important","bold"],style:{fontWeight:"bold"}},{types:["important"],style:{color:"hsl(220, 14%, 71%)"}}]},W={plain:{backgroundColor:"hsl(230, 1%, 98%)",color:"hsl(230, 8%, 24%)"},styles:[{types:["comment","prolog","cdata"],style:{color:"hsl(230, 4%, 64%)"}},{types:["doctype","punctuation","entity"],style:{color:"hsl(230, 8%, 24%)"}},{types:["attr-name","class-name","boolean","constant","number","atrule"],style:{color:"hsl(35, 99%, 36%)"}},{types:["keyword"],style:{color:"hsl(301, 63%, 40%)"}},{types:["property","tag","symbol","deleted","important"],style:{color:"hsl(5, 74%, 59%)"}},{types:["selector","string","char","builtin","inserted","regex","attr-value","punctuation"],style:{color:"hsl(119, 34%, 47%)"}},{types:["variable","operator","function"],style:{color:"hsl(221, 87%, 60%)"}},{types:["url"],style:{color:"hsl(198, 99%, 37%)"}},{types:["deleted"],style:{textDecorationLine:"line-through"}},{types:["inserted"],style:{textDecorationLine:"underline"}},{types:["italic"],style:{fontStyle:"italic"}},{types:["important","bold"],style:{fontWeight:"bold"}},{types:["important"],style:{color:"hsl(230, 8%, 24%)"}}]},G=(e,n)=>{const{plain:t}=e,r=e.styles.reduce(((e,t)=>{const{languages:r,style:o}=t;return r&&!r.includes(n)||t.types.forEach((n=>{const t=S(S({},e[n]),o);e[n]=t})),e}),{});return r.root=t,r.plain=E(S({},t),{backgroundColor:void 0}),r},K=/\r\n|\r|\n/,Y=e=>{0===e.length?e.push({types:["plain"],content:"\n",empty:!0}):1===e.length&&""===e[0].content&&(e[0].content="\n",e[0].empty=!0)},Q=(e,n)=>{const t=e.length;return t>0&&e[t-1]===n?e:e.concat(n)},J=e=>{const n=[[]],t=[e],r=[0],o=[e.length];let a=0,i=0,s=[];const l=[s];for(;i>-1;){for(;(a=r[i]++)<o[i];){let e,c=n[i];const d=t[i][a];if("string"==typeof d?(c=i>0?c:["plain"],e=d):(c=Q(c,d.type),d.alias&&(c=Q(c,d.alias)),e=d.content),"string"!=typeof e){i++,n.push(c),t.push(e),r.push(0),o.push(e.length);continue}const u=e.split(K),p=u.length;s.push({types:c,content:u[0]});for(let n=1;n<p;n++)Y(s),l.push(s=[]),s.push({types:c,content:u[n]})}i--,n.pop(),t.pop(),r.pop(),o.pop()}return Y(s),l},X=({children:e,language:n,code:t,theme:r,prism:o})=>{const a=n.toLowerCase(),i=((e,n)=>{const[t,r]=(0,d.useState)(G(n,e)),o=(0,d.useRef)(),a=(0,d.useRef)();return(0,d.useEffect)((()=>{n===o.current&&e===a.current||(o.current=n,a.current=e,r(G(n,e)))}),[e,n]),t})(a,r),s=(e=>(0,d.useCallback)((n=>{var t=n,{className:r,style:o,line:a}=t,i=C(t,["className","style","line"]);const s=E(S({},i),{className:(0,u.Z)("token-line",r)});return"object"==typeof e&&"plain"in e&&(s.style=e.plain),"object"==typeof o&&(s.style=S(S({},s.style||{}),o)),s}),[e]))(i),l=(e=>{const n=(0,d.useCallback)((({types:n,empty:t})=>{if(null!=e)return 1===n.length&&"plain"===n[0]?null!=t?{display:"inline-block"}:void 0:1===n.length&&null!=t?e[n[0]]:Object.assign(null!=t?{display:"inline-block"}:{},...n.map((n=>e[n])))}),[e]);return(0,d.useCallback)((e=>{var t=e,{token:r,className:o,style:a}=t,i=C(t,["token","className","style"]);const s=E(S({},i),{className:(0,u.Z)("token",...r.types,o),children:r.content,style:n(r)});return null!=a&&(s.style=S(S({},s.style||{}),a)),s}),[n])})(i),c=(({prism:e,code:n,grammar:t,language:r})=>{const o=(0,d.useRef)(e);return(0,d.useMemo)((()=>{if(null==t)return J([n]);const e={code:n,grammar:t,language:r,tokens:[]};return o.current.hooks.run("before-tokenize",e),e.tokens=o.current.tokenize(n,t),o.current.hooks.run("after-tokenize",e),J(e.tokens)}),[n,t,r])})({prism:o,language:a,code:t,grammar:o.languages[a]});return e({tokens:c,className:`prism-code language-${a}`,style:null!=i?i.root:{},getLineProps:s,getTokenProps:l})},ee=e=>(0,d.createElement)(X,E(S({},e),{prism:e.prism||P,theme:e.theme||U,code:e.code,language:e.language}))},10362:(e,n,t)=>{"use strict";t.d(n,{Z:()=>a});var r=!0,o="Invariant failed";function a(e,n){if(!e){if(r)throw new Error(o);var t="function"==typeof n?n():n,a=t?"".concat(o,": ").concat(t):o;throw new Error(a)}}},36809:(e,n,t)=>{"use strict";t.r(n),t.d(n,{default:()=>r});const r={title:"ethdebug format",tagline:"Debugging data format for smart contracts",favicon:"img/favicon.ico",url:"https://ethdebug.github.io",baseUrl:"/format/",organizationName:"ethdebug",projectName:"format",onBrokenLinks:"throw",onBrokenMarkdownLinks:"warn",i18n:{defaultLocale:"en",locales:["en"],path:"i18n",localeConfigs:{}},themes:[["docusaurus-json-schema-plugin",{}],"@saucelabs/theme-github-codeblock"],plugins:[null,["./plugins/project-code-plugin.ts",{packages:{"@ethdebug/pointers":{tsConfigFilePath:"/home/runner/work/format/format/packages/pointers/tsconfig.json"}}}],["@docusaurus/plugin-content-docs",{id:"spec",path:"spec",routeBasePath:"spec",sidebarPath:"./sidebars.ts",editUrl:"https://github.com/ethdebug/format/tree/main/packages/web"}]],presets:[["classic",{docs:{sidebarPath:"./sidebars.ts",editUrl:"https://github.com/ethdebug/format/tree/main/packages/web"},theme:{customCss:"./src/css/custom.css"}}]],themeConfig:{navbar:{title:"ethdebug format",logo:{alt:"ethdebug logo",src:"img/logo.svg"},items:[{type:"docSidebar",sidebarId:"docsSidebar",position:"left",label:"Documentation"},{to:"/spec/overview",label:"Specification",position:"left",activeBaseRegex:"/spec/"},{to:"/status",label:"\u26a0\ufe0f INCOMPLETE DRAFT \u26a0\ufe0f",className:"draft-warning",position:"right"},{href:"https://github.com/ethdebug/format",label:"GitHub",position:"right"}],hideOnScroll:!1},footer:{style:"dark",links:[{title:"Docs",items:[{label:"Project overview",to:"/docs/overview"},{label:"Known challenges",to:"/docs/known-challenges"}]},{title:"Spec",items:[{label:"Specification overview",to:"/spec/overview"}]},{title:"Community",items:[{label:"Matrix.chat",href:"https://matrix.to/#/#ethdebug:matrix.org"},{label:"Twitter",href:"https://twitter.com/ethdebug"},{label:"GitHub",href:"https://github.com/ethdebug/format"}]}],copyright:"Copyright \xa9 2024 by ethdebug contributors. Built with Docusaurus."},prism:{theme:{plain:{color:"#393A34",backgroundColor:"#f6f8fa"},styles:[{types:["comment","prolog","doctype","cdata"],style:{color:"#999988",fontStyle:"italic"}},{types:["namespace"],style:{opacity:.7}},{types:["string","attr-value"],style:{color:"#e3116c"}},{types:["punctuation","operator"],style:{color:"#393A34"}},{types:["entity","url","symbol","number","boolean","variable","constant","property","regex","inserted"],style:{color:"#36acaa"}},{types:["atrule","keyword","attr-name","selector"],style:{color:"#00a4db"}},{types:["function","deleted","tag"],style:{color:"#d73a49"}},{types:["function-variable"],style:{color:"#6f42c1"}},{types:["tag","selector","keyword"],style:{color:"#00009f"}}]},darkTheme:{plain:{color:"#F8F8F2",backgroundColor:"#282A36"},styles:[{types:["prolog","constant","builtin"],style:{color:"rgb(189, 147, 249)"}},{types:["inserted","function"],style:{color:"rgb(80, 250, 123)"}},{types:["deleted"],style:{color:"rgb(255, 85, 85)"}},{types:["changed"],style:{color:"rgb(255, 184, 108)"}},{types:["punctuation","symbol"],style:{color:"rgb(248, 248, 242)"}},{types:["string","char","tag","selector"],style:{color:"rgb(255, 121, 198)"}},{types:["keyword","variable"],style:{color:"rgb(189, 147, 249)",fontStyle:"italic"}},{types:["comment"],style:{color:"rgb(98, 114, 164)"}},{types:["attr-name"],style:{color:"rgb(241, 250, 140)"}}]},additionalLanguages:["json"],magicComments:[{className:"theme-code-block-highlighted-line",line:"highlight-next-line",block:{start:"highlight-start",end:"highlight-end"}}]},colorMode:{defaultMode:"light",disableSwitch:!1,respectPrefersColorScheme:!1},docs:{versionPersistence:"localStorage",sidebar:{hideable:!1,autoCollapseCategories:!1}},metadata:[],tableOfContents:{minHeadingLevel:2,maxHeadingLevel:3}},baseUrlIssueBanner:!0,future:{experimental_storage:{type:"localStorage",namespace:!1},experimental_router:"browser"},onBrokenAnchors:"warn",onDuplicateRoutes:"warn",staticDirectories:["static"],customFields:{},scripts:[],headTags:[],stylesheets:[],clientModules:[],titleDelimiter:"|",noIndex:!1,markdown:{format:"mdx",mermaid:!1,mdx1Compat:{comments:!0,admonitions:!0,headingIds:!0},anchors:{maintainCase:!1}}}},57529:e=>{"use strict";e.exports={}},16887:e=>{"use strict";e.exports=JSON.parse('{"/format/home/-8f8":{"__comp":"c3e4b2a1","__context":{"plugin":"a7456010"},"config":"5e9f5e1a"},"/format/status-d6d":{"__comp":"1f391b9e","__context":{"plugin":"a7456010"},"content":"e856c143"},"/format/docs-2fd":{"__comp":"5e95c892","__context":{"plugin":"aba21aa0"}},"/format/docs-2d0":{"__comp":"a7bd4aaa","__props":"d3f864f6"},"/format/docs-764":{"__comp":"a94703ab"},"/format/docs/category/dereferencing-pointers-b93":{"__comp":"14eb3368","__props":"5b89c65e"},"/format/docs/category/implementation-guides-1ee":{"__comp":"14eb3368","__props":"6cd3635f"},"/format/docs/category/prototype-sketches-809":{"__comp":"14eb3368","__props":"2fe7c366"},"/format/docs/implementation-guides/pointers/dereference-logic/-cb8":{"__comp":"17896441","content":"19c068a5"},"/format/docs/implementation-guides/pointers/dereference-logic/generating-regions-8e9":{"__comp":"17896441","content":"d37c0134"},"/format/docs/implementation-guides/pointers/dereference-logic/making-regions-concrete-1e7":{"__comp":"17896441","content":"8aa384a9"},"/format/docs/implementation-guides/pointers/dereference-logic/summary-ba3":{"__comp":"17896441","content":"b887ed67"},"/format/docs/implementation-guides/pointers/evaluating-expressions-ed9":{"__comp":"17896441","content":"ce1d6aaa"},"/format/docs/implementation-guides/pointers/overview-87e":{"__comp":"17896441","content":"a666bd68"},"/format/docs/implementation-guides/pointers/reading-from-regions-109":{"__comp":"17896441","content":"a6fccf34"},"/format/docs/implementation-guides/pointers/types/-e07":{"__comp":"17896441","content":"cb7b1c3b"},"/format/docs/implementation-guides/pointers/types/cursors-6a3":{"__comp":"17896441","content":"6dcd11e3"},"/format/docs/implementation-guides/pointers/types/data-and-machines-34a":{"__comp":"17896441","content":"dc0c7504"},"/format/docs/implementation-guides/pointers/types/pointer-types-fee":{"__comp":"17896441","content":"3bef66bf"},"/format/docs/known-challenges-5aa":{"__comp":"17896441","content":"9e15fc25"},"/format/docs/overview-ff5":{"__comp":"17896441","content":"18891827"},"/format/docs/sketches/layout-926":{"__comp":"17896441","content":"2d5baa33"},"/format/docs/sketches/prototype-9b3":{"__comp":"17896441","content":"0098a75a"},"/format/spec-eb4":{"__comp":"5e95c892","__context":{"plugin":"dfd51a51"}},"/format/spec-e98":{"__comp":"a7bd4aaa","__props":"65b9696e"},"/format/spec-f53":{"__comp":"a94703ab"},"/format/spec/category/collections-d7d":{"__comp":"14eb3368","__props":"28755575"},"/format/spec/category/complex-types-8c2":{"__comp":"14eb3368","__props":"2d54960a"},"/format/spec/category/elementary-types-ed4":{"__comp":"14eb3368","__props":"6656ad10"},"/format/spec/category/ethdebugformatmaterials-649":{"__comp":"14eb3368","__props":"721263eb"},"/format/spec/category/ethdebugformatpointer-583":{"__comp":"14eb3368","__props":"7b38f772"},"/format/spec/category/ethdebugformattype-d15":{"__comp":"14eb3368","__props":"79160c11"},"/format/spec/category/regions-a79":{"__comp":"14eb3368","__props":"dd631578"},"/format/spec/materials/compilation-d27":{"__comp":"17896441","content":"c26eb700"},"/format/spec/materials/id-672":{"__comp":"17896441","content":"73e8c510"},"/format/spec/materials/overview-1ec":{"__comp":"17896441","content":"ad7f7207"},"/format/spec/materials/source-73e":{"__comp":"17896441","content":"5c90228f"},"/format/spec/materials/source-range-1d1":{"__comp":"17896441","content":"c73c1d3a"},"/format/spec/overview-d74":{"__comp":"17896441","content":"d6a63adc"},"/format/spec/pointer/-ac2":{"__comp":"17896441","content":"0c6b334b"},"/format/spec/pointer/collection/-204":{"__comp":"17896441","content":"324b62c5"},"/format/spec/pointer/collection/conditional-f89":{"__comp":"17896441","content":"9c6e1aee"},"/format/spec/pointer/collection/group-60f":{"__comp":"17896441","content":"e8328cbe"},"/format/spec/pointer/collection/list-e12":{"__comp":"17896441","content":"6397ae1b"},"/format/spec/pointer/collection/scope-6af":{"__comp":"17896441","content":"6bb5505e"},"/format/spec/pointer/concepts-4f7":{"__comp":"17896441","content":"06923f2b"},"/format/spec/pointer/expression-38a":{"__comp":"17896441","content":"ee3e0fff"},"/format/spec/pointer/overview-20e":{"__comp":"17896441","content":"60b8d43b"},"/format/spec/pointer/region/-a75":{"__comp":"17896441","content":"57805cd5"},"/format/spec/pointer/region/base-2ed":{"__comp":"17896441","content":"41f6ea55"},"/format/spec/pointer/region/location/calldata-352":{"__comp":"17896441","content":"34a1fa87"},"/format/spec/pointer/region/location/code-bde":{"__comp":"17896441","content":"5fb36c82"},"/format/spec/pointer/region/location/memory-d08":{"__comp":"17896441","content":"b702b8d4"},"/format/spec/pointer/region/location/returndata-424":{"__comp":"17896441","content":"ccf56d1d"},"/format/spec/pointer/region/location/stack-08f":{"__comp":"17896441","content":"4ffa8edd"},"/format/spec/pointer/region/location/storage-a40":{"__comp":"17896441","content":"06f6442f"},"/format/spec/pointer/region/location/transient-3e8":{"__comp":"17896441","content":"7168108a"},"/format/spec/pointer/region/scheme/segment-acf":{"__comp":"17896441","content":"47f40ad3"},"/format/spec/pointer/region/scheme/slice-481":{"__comp":"17896441","content":"55366030"},"/format/spec/type/-ff8":{"__comp":"17896441","content":"6e8ff3aa"},"/format/spec/type/base-663":{"__comp":"17896441","content":"1917520d"},"/format/spec/type/complex/alias-4d3":{"__comp":"17896441","content":"26adb6ed"},"/format/spec/type/complex/array-3bd":{"__comp":"17896441","content":"39033cdf"},"/format/spec/type/complex/function-51d":{"__comp":"17896441","content":"288a3aad"},"/format/spec/type/complex/mapping-23e":{"__comp":"17896441","content":"b27771bd"},"/format/spec/type/complex/struct-75b":{"__comp":"17896441","content":"9ac2b418"},"/format/spec/type/complex/tuple-c0b":{"__comp":"17896441","content":"1154c93e"},"/format/spec/type/concepts-e7a":{"__comp":"17896441","content":"8e037750"},"/format/spec/type/elementary/address-5cc":{"__comp":"17896441","content":"26210d4e"},"/format/spec/type/elementary/bool-fc0":{"__comp":"17896441","content":"f210e6d3"},"/format/spec/type/elementary/bytes-2b6":{"__comp":"17896441","content":"0d3f9d17"},"/format/spec/type/elementary/contract-571":{"__comp":"17896441","content":"be5c8d03"},"/format/spec/type/elementary/enum-cdd":{"__comp":"17896441","content":"aeecf7cf"},"/format/spec/type/elementary/fixed-3d7":{"__comp":"17896441","content":"87bcd65e"},"/format/spec/type/elementary/int-09e":{"__comp":"17896441","content":"74f0bff4"},"/format/spec/type/elementary/string-c22":{"__comp":"17896441","content":"50fa7aa7"},"/format/spec/type/elementary/ufixed-c61":{"__comp":"17896441","content":"f2745fbe"},"/format/spec/type/elementary/uint-6ea":{"__comp":"17896441","content":"c47862a6"},"/format/spec/type/overview-101":{"__comp":"17896441","content":"5fa83de1"},"/format/-610":{"__comp":"1df93b7f","__context":{"plugin":"a7456010"},"config":"5e9f5e1a"}}')}},e=>{e.O(0,[532],(()=>{return n=2062,e(e.s=n);var n}));e.O()}]); \ No newline at end of file diff --git a/assets/js/runtime~main.979ef5bc.js b/assets/js/runtime~main.d19de348.js similarity index 98% rename from assets/js/runtime~main.979ef5bc.js rename to assets/js/runtime~main.d19de348.js index dc26baa3..54faa2eb 100644 --- a/assets/js/runtime~main.979ef5bc.js +++ b/assets/js/runtime~main.d19de348.js @@ -1 +1 @@ -(()=>{"use strict";var e,a,d,f,c,b={},t={};function r(e){var a=t[e];if(void 0!==a)return a.exports;var d=t[e]={id:e,loaded:!1,exports:{}};return b[e].call(d.exports,d,d.exports,r),d.loaded=!0,d.exports}r.m=b,e=[],r.O=(a,d,f,c)=>{if(!d){var b=1/0;for(i=0;i<e.length;i++){d=e[i][0],f=e[i][1],c=e[i][2];for(var t=!0,o=0;o<d.length;o++)(!1&c||b>=c)&&Object.keys(r.O).every((e=>r.O[e](d[o])))?d.splice(o--,1):(t=!1,c<b&&(b=c));if(t){e.splice(i--,1);var n=f();void 0!==n&&(a=n)}}return a}c=c||0;for(var i=e.length;i>0&&e[i-1][2]>c;i--)e[i]=e[i-1];e[i]=[d,f,c]},r.n=e=>{var a=e&&e.__esModule?()=>e.default:()=>e;return r.d(a,{a:a}),a},d=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,r.t=function(e,f){if(1&f&&(e=this(e)),8&f)return e;if("object"==typeof e&&e){if(4&f&&e.__esModule)return e;if(16&f&&"function"==typeof e.then)return e}var c=Object.create(null);r.r(c);var b={};a=a||[null,d({}),d([]),d(d)];for(var t=2&f&&e;"object"==typeof t&&!~a.indexOf(t);t=d(t))Object.getOwnPropertyNames(t).forEach((a=>b[a]=()=>e[a]));return b.default=()=>e,r.d(c,b),c},r.d=(e,a)=>{for(var d in a)r.o(a,d)&&!r.o(e,d)&&Object.defineProperty(e,d,{enumerable:!0,get:a[d]})},r.f={},r.e=e=>Promise.all(Object.keys(r.f).reduce(((a,d)=>(r.f[d](e,a),a)),[])),r.u=e=>"assets/js/"+({351:"9ac2b418",488:"87bcd65e",554:"9e15fc25",556:"c73c1d3a",683:"e856c143",692:"7b38f772",799:"0d3f9d17",882:"9c6e1aee",1298:"6cd3635f",1322:"b887ed67",1422:"50fa7aa7",1512:"f210e6d3",1571:"1917520d",1583:"8aa384a9",1649:"06923f2b",1724:"a6fccf34",1847:"79160c11",1887:"1154c93e",2061:"0098a75a",2093:"6e8ff3aa",2095:"d3f864f6",2112:"ad7f7207",2156:"5fa83de1",2343:"26adb6ed",2384:"288a3aad",2418:"0c6b334b",3e3:"74f0bff4",3085:"1f391b9e",3237:"1df93b7f",3362:"47f40ad3",3427:"b27771bd",3629:"aba21aa0",3904:"19c068a5",4035:"dfd51a51",4188:"721263eb",4368:"a94703ab",4380:"28755575",4404:"2d54960a",4427:"7168108a",4567:"c47862a6",4963:"3bef66bf",5007:"55366030",5097:"06f6442f",5152:"2d5baa33",5340:"34a1fa87",5438:"5fb36c82",5491:"e8328cbe",5548:"f2745fbe",5791:"be5c8d03",5815:"aeecf7cf",5910:"6397ae1b",5980:"a7456010",6003:"c26eb700",6037:"65b9696e",6218:"57805cd5",6338:"d37c0134",6424:"b702b8d4",6454:"d6a63adc",6477:"c3e4b2a1",6553:"5b89c65e",6924:"2fe7c366",7e3:"a666bd68",7033:"8e037750",7091:"4ffa8edd",7219:"60b8d43b",7278:"41f6ea55",7626:"dc0c7504",7918:"17896441",8015:"26210d4e",8107:"6dcd11e3",8263:"cb7b1c3b",8470:"ce1d6aaa",8518:"a7bd4aaa",8592:"common",8605:"73e8c510",8623:"6656ad10",8797:"6bb5505e",8822:"5c90228f",9057:"324b62c5",9081:"18891827",9312:"ccf56d1d",9437:"ee3e0fff",9661:"5e95c892",9684:"dd631578",9817:"14eb3368",9874:"39033cdf"}[e]||e)+"."+{12:"9b5e4ed2",351:"b304f0da",477:"07dcad2f",488:"bc81e216",554:"a2989424",556:"25981f6f",683:"026c1ed6",692:"a65dad15",799:"ba4faf0d",882:"b8ae1567",1298:"34253a4e",1322:"cfbd121b",1422:"91120061",1512:"ef2e3f64",1571:"41ef9818",1583:"55c3050c",1649:"35cf67fc",1724:"967afeea",1847:"903a0552",1887:"582666fe",2061:"ec0c2dc5",2093:"11f146be",2095:"f4fe5d14",2112:"100a369a",2156:"0b6a4754",2343:"6819fc45",2384:"b41d3aa3",2418:"d277681b",3e3:"f1f0d814",3085:"ac44262c",3237:"ebfdbf2b",3362:"0ccdc9e8",3427:"7a1ce6bb",3629:"0ef86410",3879:"cc23493d",3904:"b77ff73f",4035:"410043d0",4188:"8a4eedf6",4368:"7cf84fd0",4380:"86f0f644",4404:"8dc29f30",4427:"9983c92f",4567:"2e4227b8",4963:"8b16da04",5007:"e04f939e",5097:"870ef4e3",5152:"86d8614f",5340:"e1710388",5438:"18cdfd45",5491:"82c7f5d8",5548:"8c5ac004",5722:"ee6c0427",5791:"70243a97",5815:"7afb09ca",5910:"da1932d1",5980:"5dd15706",6003:"da230f75",6037:"692ae478",6218:"93988b3f",6338:"c1d3b194",6424:"7aca97fa",6454:"5dea83c4",6477:"9e9c83c4",6553:"a8b206cf",6924:"f07796c5",7e3:"e809cf8a",7033:"03597153",7091:"39c195eb",7219:"37b2e4e4",7278:"73dcc3e9",7626:"685f053c",7918:"3c0d5f06",8015:"6b388822",8107:"f6357b8c",8263:"54f33af7",8470:"5c9950bd",8518:"3c36f462",8592:"654c0765",8605:"442bc116",8623:"549621e6",8797:"1440b403",8822:"5996c160",9057:"1255193c",9081:"a7d23823",9312:"dde42bc8",9437:"8923e327",9661:"18906a0d",9684:"e6905327",9817:"0286321c",9874:"3ab9c628"}[e]+".js",r.miniCssF=e=>{},r.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),r.o=(e,a)=>Object.prototype.hasOwnProperty.call(e,a),f={},c="@ethdebug/format-web:",r.l=(e,a,d,b)=>{if(f[e])f[e].push(a);else{var t,o;if(void 0!==d)for(var n=document.getElementsByTagName("script"),i=0;i<n.length;i++){var u=n[i];if(u.getAttribute("src")==e||u.getAttribute("data-webpack")==c+d){t=u;break}}t||(o=!0,(t=document.createElement("script")).charset="utf-8",t.timeout=120,r.nc&&t.setAttribute("nonce",r.nc),t.setAttribute("data-webpack",c+d),t.src=e),f[e]=[a];var l=(a,d)=>{t.onerror=t.onload=null,clearTimeout(s);var c=f[e];if(delete f[e],t.parentNode&&t.parentNode.removeChild(t),c&&c.forEach((e=>e(d))),a)return a(d)},s=setTimeout(l.bind(null,void 0,{type:"timeout",target:t}),12e4);t.onerror=l.bind(null,t.onerror),t.onload=l.bind(null,t.onload),o&&document.head.appendChild(t)}},r.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.nmd=e=>(e.paths=[],e.children||(e.children=[]),e),r.p="/format/",r.gca=function(e){return e={17896441:"7918",18891827:"9081",28755575:"4380",55366030:"5007","9ac2b418":"351","87bcd65e":"488","9e15fc25":"554",c73c1d3a:"556",e856c143:"683","7b38f772":"692","0d3f9d17":"799","9c6e1aee":"882","6cd3635f":"1298",b887ed67:"1322","50fa7aa7":"1422",f210e6d3:"1512","1917520d":"1571","8aa384a9":"1583","06923f2b":"1649",a6fccf34:"1724","79160c11":"1847","1154c93e":"1887","0098a75a":"2061","6e8ff3aa":"2093",d3f864f6:"2095",ad7f7207:"2112","5fa83de1":"2156","26adb6ed":"2343","288a3aad":"2384","0c6b334b":"2418","74f0bff4":"3000","1f391b9e":"3085","1df93b7f":"3237","47f40ad3":"3362",b27771bd:"3427",aba21aa0:"3629","19c068a5":"3904",dfd51a51:"4035","721263eb":"4188",a94703ab:"4368","2d54960a":"4404","7168108a":"4427",c47862a6:"4567","3bef66bf":"4963","06f6442f":"5097","2d5baa33":"5152","34a1fa87":"5340","5fb36c82":"5438",e8328cbe:"5491",f2745fbe:"5548",be5c8d03:"5791",aeecf7cf:"5815","6397ae1b":"5910",a7456010:"5980",c26eb700:"6003","65b9696e":"6037","57805cd5":"6218",d37c0134:"6338",b702b8d4:"6424",d6a63adc:"6454",c3e4b2a1:"6477","5b89c65e":"6553","2fe7c366":"6924",a666bd68:"7000","8e037750":"7033","4ffa8edd":"7091","60b8d43b":"7219","41f6ea55":"7278",dc0c7504:"7626","26210d4e":"8015","6dcd11e3":"8107",cb7b1c3b:"8263",ce1d6aaa:"8470",a7bd4aaa:"8518",common:"8592","73e8c510":"8605","6656ad10":"8623","6bb5505e":"8797","5c90228f":"8822","324b62c5":"9057",ccf56d1d:"9312",ee3e0fff:"9437","5e95c892":"9661",dd631578:"9684","14eb3368":"9817","39033cdf":"9874"}[e]||e,r.p+r.u(e)},(()=>{var e={1303:0,532:0};r.f.j=(a,d)=>{var f=r.o(e,a)?e[a]:void 0;if(0!==f)if(f)d.push(f[2]);else if(/^(1303|532)$/.test(a))e[a]=0;else{var c=new Promise(((d,c)=>f=e[a]=[d,c]));d.push(f[2]=c);var b=r.p+r.u(a),t=new Error;r.l(b,(d=>{if(r.o(e,a)&&(0!==(f=e[a])&&(e[a]=void 0),f)){var c=d&&("load"===d.type?"missing":d.type),b=d&&d.target&&d.target.src;t.message="Loading chunk "+a+" failed.\n("+c+": "+b+")",t.name="ChunkLoadError",t.type=c,t.request=b,f[1](t)}}),"chunk-"+a,a)}},r.O.j=a=>0===e[a];var a=(a,d)=>{var f,c,b=d[0],t=d[1],o=d[2],n=0;if(b.some((a=>0!==e[a]))){for(f in t)r.o(t,f)&&(r.m[f]=t[f]);if(o)var i=o(r)}for(a&&a(d);n<b.length;n++)c=b[n],r.o(e,c)&&e[c]&&e[c][0](),e[c]=0;return r.O(i)},d=self.webpackChunk_ethdebug_format_web=self.webpackChunk_ethdebug_format_web||[];d.forEach(a.bind(null,0)),d.push=a.bind(null,d.push.bind(d))})()})(); \ No newline at end of file +(()=>{"use strict";var e,a,d,f,c,b={},t={};function r(e){var a=t[e];if(void 0!==a)return a.exports;var d=t[e]={id:e,loaded:!1,exports:{}};return b[e].call(d.exports,d,d.exports,r),d.loaded=!0,d.exports}r.m=b,e=[],r.O=(a,d,f,c)=>{if(!d){var b=1/0;for(i=0;i<e.length;i++){d=e[i][0],f=e[i][1],c=e[i][2];for(var t=!0,o=0;o<d.length;o++)(!1&c||b>=c)&&Object.keys(r.O).every((e=>r.O[e](d[o])))?d.splice(o--,1):(t=!1,c<b&&(b=c));if(t){e.splice(i--,1);var n=f();void 0!==n&&(a=n)}}return a}c=c||0;for(var i=e.length;i>0&&e[i-1][2]>c;i--)e[i]=e[i-1];e[i]=[d,f,c]},r.n=e=>{var a=e&&e.__esModule?()=>e.default:()=>e;return r.d(a,{a:a}),a},d=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,r.t=function(e,f){if(1&f&&(e=this(e)),8&f)return e;if("object"==typeof e&&e){if(4&f&&e.__esModule)return e;if(16&f&&"function"==typeof e.then)return e}var c=Object.create(null);r.r(c);var b={};a=a||[null,d({}),d([]),d(d)];for(var t=2&f&&e;"object"==typeof t&&!~a.indexOf(t);t=d(t))Object.getOwnPropertyNames(t).forEach((a=>b[a]=()=>e[a]));return b.default=()=>e,r.d(c,b),c},r.d=(e,a)=>{for(var d in a)r.o(a,d)&&!r.o(e,d)&&Object.defineProperty(e,d,{enumerable:!0,get:a[d]})},r.f={},r.e=e=>Promise.all(Object.keys(r.f).reduce(((a,d)=>(r.f[d](e,a),a)),[])),r.u=e=>"assets/js/"+({351:"9ac2b418",488:"87bcd65e",554:"9e15fc25",556:"c73c1d3a",683:"e856c143",692:"7b38f772",799:"0d3f9d17",882:"9c6e1aee",1298:"6cd3635f",1322:"b887ed67",1422:"50fa7aa7",1512:"f210e6d3",1571:"1917520d",1583:"8aa384a9",1649:"06923f2b",1724:"a6fccf34",1847:"79160c11",1887:"1154c93e",2061:"0098a75a",2093:"6e8ff3aa",2095:"d3f864f6",2112:"ad7f7207",2156:"5fa83de1",2343:"26adb6ed",2384:"288a3aad",2418:"0c6b334b",3e3:"74f0bff4",3085:"1f391b9e",3237:"1df93b7f",3362:"47f40ad3",3427:"b27771bd",3629:"aba21aa0",3904:"19c068a5",4035:"dfd51a51",4188:"721263eb",4368:"a94703ab",4380:"28755575",4404:"2d54960a",4427:"7168108a",4567:"c47862a6",4963:"3bef66bf",5007:"55366030",5097:"06f6442f",5152:"2d5baa33",5340:"34a1fa87",5438:"5fb36c82",5491:"e8328cbe",5548:"f2745fbe",5791:"be5c8d03",5815:"aeecf7cf",5910:"6397ae1b",5980:"a7456010",6003:"c26eb700",6037:"65b9696e",6218:"57805cd5",6338:"d37c0134",6424:"b702b8d4",6454:"d6a63adc",6477:"c3e4b2a1",6553:"5b89c65e",6924:"2fe7c366",7e3:"a666bd68",7033:"8e037750",7091:"4ffa8edd",7219:"60b8d43b",7278:"41f6ea55",7626:"dc0c7504",7918:"17896441",8015:"26210d4e",8107:"6dcd11e3",8263:"cb7b1c3b",8470:"ce1d6aaa",8518:"a7bd4aaa",8592:"common",8605:"73e8c510",8623:"6656ad10",8797:"6bb5505e",8822:"5c90228f",9057:"324b62c5",9081:"18891827",9312:"ccf56d1d",9437:"ee3e0fff",9661:"5e95c892",9684:"dd631578",9817:"14eb3368",9874:"39033cdf"}[e]||e)+"."+{12:"9b5e4ed2",351:"b304f0da",477:"07dcad2f",488:"bc81e216",554:"a2989424",556:"25981f6f",683:"026c1ed6",692:"a65dad15",799:"ba4faf0d",882:"b8ae1567",1298:"34253a4e",1322:"cfbd121b",1422:"91120061",1512:"ef2e3f64",1571:"41ef9818",1583:"55c3050c",1649:"35cf67fc",1724:"967afeea",1847:"903a0552",1887:"582666fe",2061:"ec0c2dc5",2093:"11f146be",2095:"f4fe5d14",2112:"100a369a",2156:"0b6a4754",2343:"6819fc45",2384:"b41d3aa3",2418:"d277681b",3e3:"f1f0d814",3085:"ac44262c",3237:"ebfdbf2b",3362:"0ccdc9e8",3427:"7a1ce6bb",3629:"0ef86410",3879:"cc23493d",3904:"b77ff73f",4035:"410043d0",4188:"8a4eedf6",4368:"7cf84fd0",4380:"86f0f644",4404:"8dc29f30",4427:"9983c92f",4567:"2e4227b8",4963:"8b16da04",5007:"e04f939e",5097:"870ef4e3",5152:"86d8614f",5340:"e1710388",5438:"18cdfd45",5491:"82c7f5d8",5548:"8c5ac004",5722:"ee6c0427",5791:"70243a97",5815:"7afb09ca",5910:"da1932d1",5980:"5dd15706",6003:"da230f75",6037:"692ae478",6218:"93988b3f",6338:"c1d3b194",6424:"7aca97fa",6454:"5dea83c4",6477:"9e9c83c4",6553:"a8b206cf",6924:"f07796c5",7e3:"e809cf8a",7033:"03597153",7091:"39c195eb",7219:"37b2e4e4",7278:"73dcc3e9",7626:"685f053c",7918:"3c0d5f06",8015:"6b388822",8107:"f6357b8c",8263:"54f33af7",8470:"1c976806",8518:"3c36f462",8592:"3be48381",8605:"442bc116",8623:"549621e6",8797:"1440b403",8822:"5996c160",9057:"1255193c",9081:"a7d23823",9312:"dde42bc8",9437:"3c101517",9661:"18906a0d",9684:"e6905327",9817:"0286321c",9874:"3ab9c628"}[e]+".js",r.miniCssF=e=>{},r.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),r.o=(e,a)=>Object.prototype.hasOwnProperty.call(e,a),f={},c="@ethdebug/format-web:",r.l=(e,a,d,b)=>{if(f[e])f[e].push(a);else{var t,o;if(void 0!==d)for(var n=document.getElementsByTagName("script"),i=0;i<n.length;i++){var u=n[i];if(u.getAttribute("src")==e||u.getAttribute("data-webpack")==c+d){t=u;break}}t||(o=!0,(t=document.createElement("script")).charset="utf-8",t.timeout=120,r.nc&&t.setAttribute("nonce",r.nc),t.setAttribute("data-webpack",c+d),t.src=e),f[e]=[a];var l=(a,d)=>{t.onerror=t.onload=null,clearTimeout(s);var c=f[e];if(delete f[e],t.parentNode&&t.parentNode.removeChild(t),c&&c.forEach((e=>e(d))),a)return a(d)},s=setTimeout(l.bind(null,void 0,{type:"timeout",target:t}),12e4);t.onerror=l.bind(null,t.onerror),t.onload=l.bind(null,t.onload),o&&document.head.appendChild(t)}},r.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.nmd=e=>(e.paths=[],e.children||(e.children=[]),e),r.p="/format/",r.gca=function(e){return e={17896441:"7918",18891827:"9081",28755575:"4380",55366030:"5007","9ac2b418":"351","87bcd65e":"488","9e15fc25":"554",c73c1d3a:"556",e856c143:"683","7b38f772":"692","0d3f9d17":"799","9c6e1aee":"882","6cd3635f":"1298",b887ed67:"1322","50fa7aa7":"1422",f210e6d3:"1512","1917520d":"1571","8aa384a9":"1583","06923f2b":"1649",a6fccf34:"1724","79160c11":"1847","1154c93e":"1887","0098a75a":"2061","6e8ff3aa":"2093",d3f864f6:"2095",ad7f7207:"2112","5fa83de1":"2156","26adb6ed":"2343","288a3aad":"2384","0c6b334b":"2418","74f0bff4":"3000","1f391b9e":"3085","1df93b7f":"3237","47f40ad3":"3362",b27771bd:"3427",aba21aa0:"3629","19c068a5":"3904",dfd51a51:"4035","721263eb":"4188",a94703ab:"4368","2d54960a":"4404","7168108a":"4427",c47862a6:"4567","3bef66bf":"4963","06f6442f":"5097","2d5baa33":"5152","34a1fa87":"5340","5fb36c82":"5438",e8328cbe:"5491",f2745fbe:"5548",be5c8d03:"5791",aeecf7cf:"5815","6397ae1b":"5910",a7456010:"5980",c26eb700:"6003","65b9696e":"6037","57805cd5":"6218",d37c0134:"6338",b702b8d4:"6424",d6a63adc:"6454",c3e4b2a1:"6477","5b89c65e":"6553","2fe7c366":"6924",a666bd68:"7000","8e037750":"7033","4ffa8edd":"7091","60b8d43b":"7219","41f6ea55":"7278",dc0c7504:"7626","26210d4e":"8015","6dcd11e3":"8107",cb7b1c3b:"8263",ce1d6aaa:"8470",a7bd4aaa:"8518",common:"8592","73e8c510":"8605","6656ad10":"8623","6bb5505e":"8797","5c90228f":"8822","324b62c5":"9057",ccf56d1d:"9312",ee3e0fff:"9437","5e95c892":"9661",dd631578:"9684","14eb3368":"9817","39033cdf":"9874"}[e]||e,r.p+r.u(e)},(()=>{var e={1303:0,532:0};r.f.j=(a,d)=>{var f=r.o(e,a)?e[a]:void 0;if(0!==f)if(f)d.push(f[2]);else if(/^(1303|532)$/.test(a))e[a]=0;else{var c=new Promise(((d,c)=>f=e[a]=[d,c]));d.push(f[2]=c);var b=r.p+r.u(a),t=new Error;r.l(b,(d=>{if(r.o(e,a)&&(0!==(f=e[a])&&(e[a]=void 0),f)){var c=d&&("load"===d.type?"missing":d.type),b=d&&d.target&&d.target.src;t.message="Loading chunk "+a+" failed.\n("+c+": "+b+")",t.name="ChunkLoadError",t.type=c,t.request=b,f[1](t)}}),"chunk-"+a,a)}},r.O.j=a=>0===e[a];var a=(a,d)=>{var f,c,b=d[0],t=d[1],o=d[2],n=0;if(b.some((a=>0!==e[a]))){for(f in t)r.o(t,f)&&(r.m[f]=t[f]);if(o)var i=o(r)}for(a&&a(d);n<b.length;n++)c=b[n],r.o(e,c)&&e[c]&&e[c][0](),e[c]=0;return r.O(i)},d=self.webpackChunk_ethdebug_format_web=self.webpackChunk_ethdebug_format_web||[];d.forEach(a.bind(null,0)),d.push=a.bind(null,d.push.bind(d))})()})(); \ No newline at end of file diff --git a/docs/category/dereferencing-pointers/index.html b/docs/category/dereferencing-pointers/index.html index 85f61e53..c9c80c43 100644 --- a/docs/category/dereferencing-pointers/index.html +++ b/docs/category/dereferencing-pointers/index.html @@ -4,8 +4,8 @@ <meta charset="UTF-8"> <meta name="generator" content="Docusaurus v3.4.0"> <title data-rh="true">Dereferencing pointers | ethdebug format - - + + diff --git a/docs/category/implementation-guides/index.html b/docs/category/implementation-guides/index.html index 9cf9f373..8d0b5327 100644 --- a/docs/category/implementation-guides/index.html +++ b/docs/category/implementation-guides/index.html @@ -4,8 +4,8 @@ Implementation guides | ethdebug format - - + + diff --git a/docs/category/prototype-sketches/index.html b/docs/category/prototype-sketches/index.html index fd41f3a6..fe1f33b3 100644 --- a/docs/category/prototype-sketches/index.html +++ b/docs/category/prototype-sketches/index.html @@ -4,8 +4,8 @@ Prototype sketches | ethdebug format - - + + diff --git a/docs/implementation-guides/pointers/dereference-logic/generating-regions/index.html b/docs/implementation-guides/pointers/dereference-logic/generating-regions/index.html index 5220a3fb..ba19119a 100644 --- a/docs/implementation-guides/pointers/dereference-logic/generating-regions/index.html +++ b/docs/implementation-guides/pointers/dereference-logic/generating-regions/index.html @@ -4,8 +4,8 @@ Generating regions on the fly | ethdebug format - - + +

Generating regions on the fly

@@ -50,7 +50,7 @@

Process

Note that the expected behavior for this implementation is that the returned list of memos should be pushed onto the stack in reverse order, so that earlier memos in the list will be processed before later ones.

-
See the full definition of processPointer()
/**
* Process a pointer into a yielded list of concrete, evaluated Cursor.Regions
* and return a list of new memos to add to the stack for processing next
*/
export async function* processPointer(
pointer: Pointer,
options: ProcessOptions
): Process {
const {
regions: oldRegions,
variables: oldVariables,
} = options;

if (Pointer.isRegion(pointer)) {
const region = pointer;

return yield* processRegion(region, options);
}

const collection = pointer;

if (Pointer.Collection.isGroup(collection)) {
return yield* processGroup(collection, options);
}

if (Pointer.Collection.isList(collection)) {
return yield* processList(collection, options);
}

if (Pointer.Collection.isConditional(collection)) {
return yield* processConditional(collection, options);
}

if (Pointer.Collection.isScope(collection)) {
return yield* processScope(collection, options);
}

console.error("%s", JSON.stringify(pointer, undefined, 2));
throw new Error("Unexpected unknown kind of pointer");
}
+
See the full definition of processPointer()
/**
* Process a pointer into a yielded list of concrete, evaluated Cursor.Regions
* and return a list of new memos to add to the stack for processing next
*/
export async function* processPointer(
pointer: Pointer,
options: ProcessOptions
): Process {
if (Pointer.isRegion(pointer)) {
const region = pointer;

return yield* processRegion(region, options);
}

const collection = pointer;

if (Pointer.Collection.isGroup(collection)) {
return yield* processGroup(collection, options);
}

if (Pointer.Collection.isList(collection)) {
return yield* processList(collection, options);
}

if (Pointer.Collection.isConditional(collection)) {
return yield* processConditional(collection, options);
}

if (Pointer.Collection.isScope(collection)) {
return yield* processScope(collection, options);
}

console.error("%s", JSON.stringify(pointer, undefined, 2));
throw new Error("Unexpected unknown kind of pointer");
}

Processing a region

The simplest kind of pointer is just a single region. (Remember that pointers are either regions or collections of other pointers.)

diff --git a/docs/implementation-guides/pointers/dereference-logic/index.html b/docs/implementation-guides/pointers/dereference-logic/index.html index cc6d150a..9a209cbd 100644 --- a/docs/implementation-guides/pointers/dereference-logic/index.html +++ b/docs/implementation-guides/pointers/dereference-logic/index.html @@ -4,8 +4,8 @@ The dereference function | ethdebug format - - + +

The dereference function

diff --git a/docs/implementation-guides/pointers/dereference-logic/making-regions-concrete/index.html b/docs/implementation-guides/pointers/dereference-logic/making-regions-concrete/index.html index f03b79b0..0508810e 100644 --- a/docs/implementation-guides/pointers/dereference-logic/making-regions-concrete/index.html +++ b/docs/implementation-guides/pointers/dereference-logic/making-regions-concrete/index.html @@ -4,8 +4,8 @@ Making regions concrete | ethdebug format - - + +

Making regions concrete

diff --git a/docs/implementation-guides/pointers/dereference-logic/summary/index.html b/docs/implementation-guides/pointers/dereference-logic/summary/index.html index 4697b3ea..96e24958 100644 --- a/docs/implementation-guides/pointers/dereference-logic/summary/index.html +++ b/docs/implementation-guides/pointers/dereference-logic/summary/index.html @@ -4,8 +4,8 @@ Summary | ethdebug format - - + +

Summary

diff --git a/docs/implementation-guides/pointers/evaluating-expressions/index.html b/docs/implementation-guides/pointers/evaluating-expressions/index.html index 4464699d..b2b7a5ab 100644 --- a/docs/implementation-guides/pointers/evaluating-expressions/index.html +++ b/docs/implementation-guides/pointers/evaluating-expressions/index.html @@ -4,8 +4,8 @@ Evaluating pointer expressions | ethdebug format - - + +

Evaluating pointer expressions

@@ -15,7 +15,7 @@
export interface EvaluateOptions {
state: Machine.State;
regions: {
[identifier: string]: Cursor.Region;
};
variables: {
[identifier: string]: Data;
};
}

The main evaluate() function uses type guards to dispatch to the appropriate specific logic based on the kind of expression:

-
Source code of evaluate(expression: Pointer.Expression, options: EvaluateOptions)
export async function evaluate(
expression: Pointer.Expression,
options: EvaluateOptions
): Promise<Data> {
if (Pointer.Expression.isLiteral(expression)) {
return evaluateLiteral(expression);
}

if (Pointer.Expression.isConstant(expression)) {
return evaluateConstant(expression);
}

if (Pointer.Expression.isVariable(expression)) {
return evaluateVariable(expression, options);
}

if (Pointer.Expression.isArithmetic(expression)) {
if (Pointer.Expression.Arithmetic.isSum(expression)) {
return evaluateArithmeticSum(expression, options);
}

if (Pointer.Expression.Arithmetic.isDifference(expression)) {
return evaluateArithmeticDifference(expression, options);
}

if (Pointer.Expression.Arithmetic.isProduct(expression)) {
return evaluateArithmeticProduct(expression, options);
}

if (Pointer.Expression.Arithmetic.isQuotient(expression)) {
return evaluateArithmeticQuotient(expression, options);
}

if (Pointer.Expression.Arithmetic.isRemainder(expression)) {
return evaluateArithmeticRemainder(expression, options);
}
}

if (Pointer.Expression.isKeccak256(expression)) {
return evaluateKeccak256(expression, options);
}

if (Pointer.Expression.isLookup(expression)) {
if (Pointer.Expression.Lookup.isOffset(expression)) {
return evaluateLookup(".offset", expression, options);
}

if (Pointer.Expression.Lookup.isLength(expression)) {
return evaluateLookup(".length", expression, options);
}

if (Pointer.Expression.Lookup.isSlot(expression)) {
return evaluateLookup(".slot", expression, options);
}
}

if (Pointer.Expression.isRead(expression)) {
return evaluateRead(expression, options);
}

throw new Error("Unexpected runtime failure to recognize kind of expression");
}
+
Source code of evaluate(expression: Pointer.Expression, options: EvaluateOptions)
export async function evaluate(
expression: Pointer.Expression,
options: EvaluateOptions
): Promise<Data> {
if (Pointer.Expression.isLiteral(expression)) {
return evaluateLiteral(expression);
}

if (Pointer.Expression.isConstant(expression)) {
return evaluateConstant(expression);
}

if (Pointer.Expression.isVariable(expression)) {
return evaluateVariable(expression, options);
}

if (Pointer.Expression.isArithmetic(expression)) {
if (Pointer.Expression.Arithmetic.isSum(expression)) {
return evaluateArithmeticSum(expression, options);
}

if (Pointer.Expression.Arithmetic.isDifference(expression)) {
return evaluateArithmeticDifference(expression, options);
}

if (Pointer.Expression.Arithmetic.isProduct(expression)) {
return evaluateArithmeticProduct(expression, options);
}

if (Pointer.Expression.Arithmetic.isQuotient(expression)) {
return evaluateArithmeticQuotient(expression, options);
}

if (Pointer.Expression.Arithmetic.isRemainder(expression)) {
return evaluateArithmeticRemainder(expression, options);
}
}

if (Pointer.Expression.isKeccak256(expression)) {
return evaluateKeccak256(expression, options);
}

if (Pointer.Expression.isResize(expression)) {
return evaluateResize(expression, options);
}

if (Pointer.Expression.isLookup(expression)) {
if (Pointer.Expression.Lookup.isOffset(expression)) {
return evaluateLookup(".offset", expression, options);
}

if (Pointer.Expression.Lookup.isLength(expression)) {
return evaluateLookup(".length", expression, options);
}

if (Pointer.Expression.Lookup.isSlot(expression)) {
return evaluateLookup(".slot", expression, options);
}
}

if (Pointer.Expression.isRead(expression)) {
return evaluateRead(expression, options);
}

throw new Error("Unexpected runtime failure to recognize kind of expression");
}

Evaluating constants, literals, and variables

Evaluating constant expressions is quite straightforward:

async function evaluateConstant(
constant: Pointer.Expression.Constant
): Promise<Data> {
switch (constant) {
case "$wordsize":
return Data.fromHex("0x20");
}
}
@@ -32,18 +32,24 @@

async function evaluateArithmeticSum(
expression: Pointer.Expression.Arithmetic.Sum,
options: EvaluateOptions
): Promise<Data> {
const operands = await Promise.all(expression.$sum.map(
async expression => (await evaluate(expression, options)).asUint()
));

return Data.fromUint(
operands.reduce((sum, data) => sum + data, 0n)
);
}

+
async function evaluateArithmeticSum(
expression: Pointer.Expression.Arithmetic.Sum,
options: EvaluateOptions
): Promise<Data> {
const operands = await Promise.all(expression.$sum.map(
async expression => await evaluate(expression, options)
));

const maxLength = operands
.reduce((max, { length }) => length > max ? length : max, 0);

const data = Data
.fromUint(operands.reduce((sum, data) => sum + data.asUint(), 0n))
.padUntilAtLeast(maxLength);

return data;
}

Evaluating products:

-
async function evaluateArithmeticProduct(
expression: Pointer.Expression.Arithmetic.Product,
options: EvaluateOptions
): Promise<Data> {
const operands = await Promise.all(expression.$product.map(
async expression => (await evaluate(expression, options)).asUint()
));

return Data.fromUint(
operands.reduce((product, data) => product * data, 1n)
);
}
+
async function evaluateArithmeticProduct(
expression: Pointer.Expression.Arithmetic.Product,
options: EvaluateOptions
): Promise<Data> {
const operands = await Promise.all(expression.$product.map(
async expression => await evaluate(expression, options)
));

const maxLength = operands
.reduce((max, { length }) => length > max ? length : max, 0);

return Data
.fromUint(operands.reduce((product, data) => product * data.asUint(), 1n))
.padUntilAtLeast(maxLength);
}

Evaluating differences:

-
async function evaluateArithmeticDifference(
expression: Pointer.Expression.Arithmetic.Difference,
options: EvaluateOptions
): Promise<Data> {
const [a, b] = await Promise.all(expression.$difference.map(
async expression => (await evaluate(expression, options)).asUint()
));

if (b > a) {
return Data.fromNumber(0);
}

return Data.fromUint(a - b);
}
+
async function evaluateArithmeticDifference(
expression: Pointer.Expression.Arithmetic.Difference,
options: EvaluateOptions
): Promise<Data> {
const [a, b] = await Promise.all(expression.$difference.map(
async expression => await evaluate(expression, options)
));

const maxLength = a.length > b.length ? a.length : b.length;

const unpadded = a.asUint() > b.asUint()
? Data.fromUint(a.asUint() - b.asUint())
: Data.fromNumber(0);

const data = unpadded.padUntilAtLeast(maxLength);
return data;
}

Note how this function operates on unsigned values only by bounding the result below at 0.

Evaluating quotients:

-
async function evaluateArithmeticQuotient(
expression: Pointer.Expression.Arithmetic.Quotient,
options: EvaluateOptions
): Promise<Data> {
const [a, b] = await Promise.all(expression.$quotient.map(
async expression => (await evaluate(expression, options)).asUint()
));

return Data.fromUint(a / b);
}
+
async function evaluateArithmeticQuotient(
expression: Pointer.Expression.Arithmetic.Quotient,
options: EvaluateOptions
): Promise<Data> {
const [a, b] = await Promise.all(expression.$quotient.map(
async expression => (await evaluate(expression, options))
));

const maxLength = a.length > b.length ? a.length : b.length;

const data = Data
.fromUint(a.asUint() / b.asUint())
.padUntilAtLeast(maxLength);

return data;
}

(Quotients of course use integer division only.)

Evaluating remainders:

-
async function evaluateArithmeticRemainder(
expression: Pointer.Expression.Arithmetic.Remainder,
options: EvaluateOptions
): Promise<Data> {
const [a, b] = await Promise.all(expression.$remainder.map(
async expression => (await evaluate(expression, options)).asUint()
));

return Data.fromUint(a % b);
}
+
async function evaluateArithmeticRemainder(
expression: Pointer.Expression.Arithmetic.Remainder,
options: EvaluateOptions
): Promise<Data> {
const [a, b] = await Promise.all(expression.$remainder.map(
async expression => await evaluate(expression, options)
));

const maxLength = a.length > b.length ? a.length : b.length;

const data = Data
.fromUint(a.asUint() % b.asUint())
.padUntilAtLeast(maxLength);

return data;
}
+

Evaluating resize expressions

+

This schema provides the { "$sized<N>": <expression> } construct to allow +explicitly resizing a subexpression. This implementation uses the +Data.prototype.resizeTo() +method to perform this operation.

+
async function evaluateResize(
expression: Pointer.Expression.Resize,
options: EvaluateOptions
): Promise<Data> {
const [[operation, subexpression]] = Object.entries(expression);

const newLength = Number(operation.match(/^\$sized([1-9]+[0-9]*)$/)![1]);

return (await evaluate(subexpression, options)).resizeTo(newLength);
}

Evaluating keccak256 hashes

Many data types in storage are addressed by way of keccak256 hashing. This process is somewhat non-trivial because the bytes width of the inputs and the @@ -52,11 +58,7 @@

Layout of State Variables in Storage documentation for an example of how one high-level EVM language makes heavy use of hashing to allocate persistent data.

-
warning

This area of the schema is likely incomplete and could still use additional -specification. Be warned that, while this implementation may match the schema -itself, it may not be fully sufficient for expressing all kinds of data -allocations.

Please stay tuned as this work continues being refined.

-
async function evaluateKeccak256(
expression: Pointer.Expression.Keccak256,
options: EvaluateOptions
): Promise<Data> {
const operands = await Promise.all(expression.$keccak256.map(
async expression => {
const unpaddedData = await evaluate(expression, options);
const data = new Data(32);
data.set(unpaddedData, 32 - unpaddedData.length);

return data;
}
));

// HACK concatenate via string representation
const concatenatedData = operands.reduce(
(data, operand) => `${data}${operand.toHex().slice(2)}`,
""
);

const buffer = Buffer.from(concatenatedData, "hex");
const hash = keccak256(buffer);

return Data.fromBytes(hash);
}
+
async function evaluateKeccak256(
expression: Pointer.Expression.Keccak256,
options: EvaluateOptions
): Promise<Data> {
const operands = await Promise.all(expression.$keccak256.map(
async expression => await evaluate(expression, options)
));

// HACK concatenate via string representation
const concatenatedData = operands.reduce(
(data, operand) => `${data}${operand.toHex().slice(2)}`,
""
);

const buffer = Buffer.from(concatenatedData, "hex");
const hash = keccak256(buffer);

return Data.fromBytes(hash);
}

Evaluating property lookups

Pointer expressions can compose values taken from the properties of other, named regions. This not only provides a convenient way to avoid duplication @@ -110,6 +112,6 @@

is described in the section pertaining to that area of the code. Be forewarned that this reference implementation takes a naïve trial-and-error approach for determining property evaluation order; implementations requiring -a more robust strategy will need to do some amount of pre-processing.

+a more robust strategy will need to do some amount of pre-processing.

\ No newline at end of file diff --git a/docs/implementation-guides/pointers/overview/index.html b/docs/implementation-guides/pointers/overview/index.html index 4760ab1d..db4fd44a 100644 --- a/docs/implementation-guides/pointers/overview/index.html +++ b/docs/implementation-guides/pointers/overview/index.html @@ -4,8 +4,8 @@ Overview | ethdebug format - - + +

Overview

diff --git a/docs/implementation-guides/pointers/reading-from-regions/index.html b/docs/implementation-guides/pointers/reading-from-regions/index.html index 2e875e44..fcae6d92 100644 --- a/docs/implementation-guides/pointers/reading-from-regions/index.html +++ b/docs/implementation-guides/pointers/reading-from-regions/index.html @@ -4,8 +4,8 @@ Reading from pointer regions | ethdebug format - - + +

Reading from pointer regions

diff --git a/docs/implementation-guides/pointers/types/cursors/index.html b/docs/implementation-guides/pointers/types/cursors/index.html index 33cbfaba..19739ae6 100644 --- a/docs/implementation-guides/pointers/types/cursors/index.html +++ b/docs/implementation-guides/pointers/types/cursors/index.html @@ -4,8 +4,8 @@ Cursor objects | ethdebug format - - + +

Cursor objects

diff --git a/docs/implementation-guides/pointers/types/data-and-machines/index.html b/docs/implementation-guides/pointers/types/data-and-machines/index.html index 6b724847..17b874f6 100644 --- a/docs/implementation-guides/pointers/types/data-and-machines/index.html +++ b/docs/implementation-guides/pointers/types/data-and-machines/index.html @@ -4,8 +4,8 @@ Data and machines | ethdebug format - - + +
-
Code listing for src/data.ts
src/data.ts
import { toHex } from "ethereum-cryptography/utils";

export class Data extends Uint8Array {
static zero(): Data {
return new Data([]);
}

static fromUint(value: bigint): Data {
if (value === 0n) {
return this.zero();
}

const byteCount = Math.ceil(Number(value.toString(2).length) / 8);
const bytes = new Uint8Array(byteCount);
for (let i = byteCount - 1; i >= 0; i--) {
bytes[i] = Number(value & 0xffn);
value >>= 8n;
}
return new Data(bytes);
}

static fromNumber(value: number): Data {
const byteCount = Math.ceil(Math.log2(value + 1) / 8);
const bytes = new Uint8Array(byteCount);
for (let i = byteCount - 1; i >= 0; i--) {
bytes[i] = value & 0xff;
value >>= 8;
}
return new Data(bytes);
}

static fromHex(hex: string): Data {
if (!hex.startsWith('0x')) {
throw new Error('Invalid hex string format. Expected "0x" prefix.');
}
const bytes = new Uint8Array(hex.length / 2 - 1);
for (let i = 2; i < hex.length; i += 2) {
bytes[i / 2 - 1] = parseInt(hex.slice(i, i + 2), 16);
}
return new Data(bytes);
}

static fromBytes(bytes: Uint8Array): Data {
return new Data(bytes);
}

asUint(): bigint {
const bits = 8n;

let value = 0n;
for (const byte of this.values()) {
const byteValue = BigInt(byte)
value = (value << bits) + byteValue
}
return value;
}

toHex(): string {
return `0x${toHex(this)}`;
}
}
+
Code listing for src/data.ts
src/data.ts
import { toHex } from "ethereum-cryptography/utils";

export class Data extends Uint8Array {
static zero(): Data {
return new Data([]);
}

static fromUint(value: bigint): Data {
if (value === 0n) {
return this.zero();
}

const byteCount = Math.ceil(Number(value.toString(2).length) / 8);
const bytes = new Uint8Array(byteCount);
for (let i = byteCount - 1; i >= 0; i--) {
bytes[i] = Number(value & 0xffn);
value >>= 8n;
}
return new Data(bytes);
}

static fromNumber(value: number): Data {
const byteCount = Math.ceil(Math.log2(value + 1) / 8);
const bytes = new Uint8Array(byteCount);
for (let i = byteCount - 1; i >= 0; i--) {
bytes[i] = value & 0xff;
value >>= 8;
}
return new Data(bytes);
}

static fromHex(hex: string): Data {
if (!hex.startsWith('0x')) {
throw new Error('Invalid hex string format. Expected "0x" prefix.');
}
const bytes = new Uint8Array(hex.length / 2 - 1);
for (let i = 2; i < hex.length; i += 2) {
bytes[i / 2 - 1] = parseInt(hex.slice(i, i + 2), 16);
}
return new Data(bytes);
}

static fromBytes(bytes: Uint8Array): Data {
return new Data(bytes);
}

asUint(): bigint {
const bits = 8n;

let value = 0n;
for (const byte of this.values()) {
const byteValue = BigInt(byte)
value = (value << bits) + byteValue
}
return value;
}

toHex(): string {
return `0x${toHex(this)}`;
}

padUntilAtLeast(length: number): Data {
if (this.length >= length) {
return this;
}

const padded = new Uint8Array(length);
padded.set(this, length - this.length);
return Data.fromBytes(padded);
}

resizeTo(length: number): Data {
if (this.length === length) {
return this;
}

const resized = new Uint8Array(length);

if (this.length < length) {
resized.set(this, length - this.length);
} else {
resized.set(this.slice(this.length - length));
}

return Data.fromBytes(resized);
}
}

Machine

Code listing for src/machine.ts
src/machine.ts
import type { Data } from "./data.js";

export interface Machine {
trace(): AsyncIterable<Machine.State>;
}

export namespace Machine {

export interface State {
get traceIndex(): Promise<bigint>;
get programCounter(): Promise<bigint>;
get opcode(): Promise<string>;

get stack(): State.Stack;
get memory(): State.Bytes;
get storage(): State.Words;
get calldata(): State.Bytes;
get returndata(): State.Bytes;
get transient(): State.Words;
get code(): State.Bytes;
}

export namespace State {
export interface Slice {
offset: bigint;
length: bigint;
}

export interface Stack {
get length(): Promise<bigint>;

/** read element at position from top of stack */
peek(options: {
depth: bigint;
slice?: Slice;
}): Promise<Data>;
}

export interface Bytes {
get length(): Promise<bigint>;

read(options: { slice: Slice }): Promise<Data>;
}

export interface Words {
read(options: { slot: Data; slice?: Slice }): Promise<Data>;
}
}
}
diff --git a/docs/implementation-guides/pointers/types/index.html b/docs/implementation-guides/pointers/types/index.html index 288f519f..2a9af801 100644 --- a/docs/implementation-guides/pointers/types/index.html +++ b/docs/implementation-guides/pointers/types/index.html @@ -4,8 +4,8 @@ Essential type definitions | ethdebug format - - + +

Essential type definitions

diff --git a/docs/implementation-guides/pointers/types/pointer-types/index.html b/docs/implementation-guides/pointers/types/pointer-types/index.html index ee273f3f..1153f680 100644 --- a/docs/implementation-guides/pointers/types/pointer-types/index.html +++ b/docs/implementation-guides/pointers/types/pointer-types/index.html @@ -4,8 +4,8 @@ Pointer types | ethdebug format - - + +

Pointer types

@@ -27,6 +27,6 @@

Pointer.Ex

See these quick examples to get a sense for this part of the type hierarchy:

import { Pointer } from "@ethdebug/pointers";

const expression: Pointer.Expression = {
$sum: [0, 1]
}

Pointer.Expression.isKeccak256(expression); // false
Pointer.Expression.isArithmetic(expression); // true
Pointer.Expression.Arithmetic.isSum(expression); // true

Code listing

-
src/pointer.ts
export type Pointer =
| Pointer.Region
| Pointer.Collection;

export const isPointer = (value: unknown): value is Pointer =>
[
Pointer.isRegion,
Pointer.isCollection
].some(guard => guard(value));

export namespace Pointer {
export type Identifier = string;
export const isIdentifier = (value: unknown): value is Identifier =>
typeof value === "string" && /^[a-zA-Z_\\-]+[a-zA-Z0-9$_\\-]*$/.test(value);

export type Region =
| Region.Stack
| Region.Memory
| Region.Storage
| Region.Calldata
| Region.Returndata
| Region.Transient
| Region.Code;

export const isRegion = (value: unknown): value is Region =>
[
Region.isStack,
Region.isMemory,
Region.isStorage,
Region.isCalldata,
Region.isReturndata,
Region.isTransient,
Region.isCode
].some(guard => guard(value));

export namespace Region {
export interface Base {
name?: string;
location: string;
}
export const isBase = (value: unknown): value is Base =>
!!value &&
typeof value === "object" &&
(!("name" in value) || typeof value.name === "string") &&
"location" in value &&
typeof value.location === "string";

export type Name = Base["name"];

export type Stack =
& Base
& Scheme.Segment
& { location: "stack" };
export const isStack = (value: unknown): value is Stack =>
isBase(value) && Scheme.isSegment(value) && value.location === "stack";

export type Memory =
& Base
& Scheme.Slice
& { location: "memory" };
export const isMemory = (value: unknown): value is Memory =>
isBase(value) && Scheme.isSlice(value) && value.location === "memory";

export type Storage =
& Base
& Scheme.Segment
& { location: "storage" };
export const isStorage = (value: unknown): value is Storage =>
isBase(value) && Scheme.isSegment(value) && value.location === "storage";

export type Calldata =
& Base
& Scheme.Slice
& { location: "calldata" };
export const isCalldata = (value: unknown): value is Calldata =>
isBase(value) && Scheme.isSlice(value) && value.location === "calldata";

export type Returndata =
& Base
& Scheme.Slice
& { location: "returndata" };
export const isReturndata = (value: unknown): value is Returndata =>
isBase(value) && Scheme.isSlice(value) && value.location === "returndata";

export type Transient =
& Base
& Scheme.Segment
& { location: "transient" };
export const isTransient = (value: unknown): value is Transient =>
isBase(value) && Scheme.isSegment(value) && value.location === "transient";

export type Code =
& Base
& Scheme.Slice
& { location: "code" };
export const isCode = (value: unknown): value is Code =>
isBase(value) && Scheme.isSlice(value) && value.location === "code";
}

export namespace Scheme {
export interface Segment {
slot: Expression;
offset?: Expression;
length?: Expression;
}
export const isSegment = (value: unknown): value is Segment =>
!!value &&
typeof value === "object" &&
"slot" in value &&
isExpression(value.slot) &&
(!("offset" in value) || isExpression(value.offset)) &&
(!("length" in value) || isExpression(value.length));

export interface Slice {
offset: Expression;
length: Expression;
}

export const isSlice = (value: unknown): value is Slice =>
!!value &&
typeof value === "object" &&
"offset" in value &&
isExpression(value.offset) &&
"length" in value &&
isExpression(value.length);
}

export type Collection =
| Collection.Group
| Collection.List
| Collection.Conditional
| Collection.Scope;
export const isCollection = (value: unknown): value is Collection =>
[
Collection.isGroup,
Collection.isList,
Collection.isConditional,
Collection.isScope
].some(guard => guard(value));

export namespace Collection {
export interface Group {
group: Pointer[];
}
export const isGroup = (value: unknown): value is Group =>
!!value &&
typeof value === "object" &&
Object.keys(value).length === 1 &&
"group" in value &&
value.group instanceof Array &&
value.group.length >= 1 &&
value.group.every(isPointer);

export interface List {
list: {
count: Expression;
each: Identifier;
is: Pointer;
}
}
export const isList = (value: unknown): value is List =>
!!value &&
typeof value === "object" &&
Object.keys(value).length === 1 &&
"list" in value &&
!!value.list &&
typeof value.list === "object" &&
Object.keys(value.list).length === 3 &&
"count" in value.list &&
isExpression(value.list.count) &&
"each" in value.list &&
isIdentifier(value.list.each) &&
"is" in value.list &&
isPointer(value.list.is);

export interface Conditional {
if: Expression;
then: Pointer;
else?: Pointer;
}
export const isConditional = (value: unknown): value is Conditional =>
!!value &&
typeof value === "object" &&
"if" in value &&
isExpression(value.if) &&
"then" in value &&
isPointer(value.then) &&
(!("else" in value) || isPointer(value.else));

export interface Scope {
define: {
[identifier: string]: Expression;
}
in: Pointer;
}

export const isScope = (value: unknown): value is Scope =>
!!value &&
typeof value === "object" &&
"define" in value &&
typeof value.define === "object" && !!value.define &&
Object.keys(value.define).every(key => isIdentifier(key)) &&
"in" in value &&
isPointer(value.in);
}

export type Expression =
| Expression.Literal
| Expression.Constant
| Expression.Variable
| Expression.Arithmetic
| Expression.Lookup
| Expression.Read
| Expression.Keccak256;

export const isExpression = (value: unknown): value is Expression =>
[
Expression.isLiteral,
Expression.isConstant,
Expression.isVariable,
Expression.isArithmetic,
Expression.isLookup,
Expression.isRead,
Expression.isKeccak256
].some(guard => guard(value));

export namespace Expression {
export type Literal = number | `0x${string}`;
export const isLiteral = (value: unknown): value is Literal =>
typeof value === "number" ||
typeof value === "string" && /^0x[0-9a-fA-F]+$/.test(value);

export type Constant =
| "$wordsize";
export const isConstant = (value: unknown): value is Constant =>
typeof value === "string" && ["$wordsize"].includes(value);

export type Variable = string;
export const isVariable = (value: unknown): value is Variable =>
isIdentifier(value);

export type Arithmetic =
| Arithmetic.Sum
| Arithmetic.Difference
| Arithmetic.Product
| Arithmetic.Quotient
| Arithmetic.Remainder;

export const isArithmetic = (value: unknown): value is Arithmetic =>
[
Arithmetic.isSum,
Arithmetic.isDifference,
Arithmetic.isProduct,
Arithmetic.isQuotient,
Arithmetic.isRemainder
].some(guard => guard(value));

const makeIsOperation = <
O extends string,
T extends { [K in O]: any; }
>(
operation: O,
checkOperands: (operands: unknown) => operands is T[O]
) => (value: unknown): value is T =>
!!value &&
typeof value === "object" &&
Object.keys(value).length === 1 &&
operation in value &&
checkOperands(value[operation as keyof typeof value]);

export type Operands = Expression[];
export const isOperands =
(value: unknown): value is Expression[] =>
value instanceof Array && value.every(isExpression);

export namespace Arithmetic {
export type Operation =
| keyof Sum
| keyof Difference
| keyof Product
| keyof Quotient
| keyof Remainder;

export const isTwoOperands =
(value: unknown): value is [Expression, Expression] =>
isOperands(value) && value.length === 2;

export interface Sum {
$sum: Expression[];
}
export const isSum =
makeIsOperation<"$sum", Sum>("$sum", isOperands);

export interface Difference {
$difference: [Expression, Expression];
}
export const isDifference =
makeIsOperation<"$difference", Difference>("$difference", isTwoOperands);

export interface Product {
$product: Expression[];
}
export const isProduct =
makeIsOperation<"$product", Product>("$product", isOperands);

export interface Quotient {
$quotient: [Expression, Expression];
}
export const isQuotient =
makeIsOperation<"$quotient", Quotient>("$quotient", isTwoOperands);

export interface Remainder {
$remainder: [Expression, Expression];
}
export const isRemainder =
makeIsOperation<"$remainder", Remainder>("$remainder", isTwoOperands);
}

export type Reference =
| Identifier
| "$this";
export const isReference = (value: unknown): value is Reference =>
isIdentifier(value) || value === "$this";

export type Lookup =
| Lookup.Offset
| Lookup.Length
| Lookup.Slot;
export const isLookup = (value: unknown): value is Lookup =>
[
Lookup.isOffset,
Lookup.isLength,
Lookup.isSlot
].some(guard => guard(value));

export namespace Lookup {
export type Operation =
| keyof Offset
| keyof Length
| keyof Slot;

export type ForOperation<O extends Operation> =
& Lookup
& { [K in O]: any };

export const propertyFrom = <O extends Operation>(
operation: O
): "slot" | "offset" | "length" => {
return operation.slice(1) as "slot" | "offset" | "length";
}

export interface Offset {
".offset": Reference;
}
export const isOffset =
makeIsOperation<".offset", Offset>(".offset", isReference);

export interface Length {
".length": Reference;
}
export const isLength =
makeIsOperation<".length", Length>(".length", isReference);

export interface Slot {
".slot": Reference;
}
export const isSlot =
makeIsOperation<".slot", Slot>(".slot", isReference);
}

export interface Read {
$read: Reference
}
export const isRead = makeIsOperation<"$read", Read>("$read", isReference);

export interface Keccak256 {
$keccak256: Expression[];
}
export const isKeccak256 =
makeIsOperation<"$keccak256", Keccak256>("$keccak256", isOperands);
}
}
+
src/pointer.ts
export type Pointer =
| Pointer.Region
| Pointer.Collection;

export const isPointer = (value: unknown): value is Pointer =>
[
Pointer.isRegion,
Pointer.isCollection
].some(guard => guard(value));

export namespace Pointer {
export type Identifier = string;
export const isIdentifier = (value: unknown): value is Identifier =>
typeof value === "string" && /^[a-zA-Z_\\-]+[a-zA-Z0-9$_\\-]*$/.test(value);

export type Region =
| Region.Stack
| Region.Memory
| Region.Storage
| Region.Calldata
| Region.Returndata
| Region.Transient
| Region.Code;

export const isRegion = (value: unknown): value is Region =>
[
Region.isStack,
Region.isMemory,
Region.isStorage,
Region.isCalldata,
Region.isReturndata,
Region.isTransient,
Region.isCode
].some(guard => guard(value));

export namespace Region {
export interface Base {
name?: string;
location: string;
}
export const isBase = (value: unknown): value is Base =>
!!value &&
typeof value === "object" &&
(!("name" in value) || typeof value.name === "string") &&
"location" in value &&
typeof value.location === "string";

export type Name = Base["name"];

export type Stack =
& Base
& Scheme.Segment
& { location: "stack" };
export const isStack = (value: unknown): value is Stack =>
isBase(value) && Scheme.isSegment(value) && value.location === "stack";

export type Memory =
& Base
& Scheme.Slice
& { location: "memory" };
export const isMemory = (value: unknown): value is Memory =>
isBase(value) && Scheme.isSlice(value) && value.location === "memory";

export type Storage =
& Base
& Scheme.Segment
& { location: "storage" };
export const isStorage = (value: unknown): value is Storage =>
isBase(value) && Scheme.isSegment(value) && value.location === "storage";

export type Calldata =
& Base
& Scheme.Slice
& { location: "calldata" };
export const isCalldata = (value: unknown): value is Calldata =>
isBase(value) && Scheme.isSlice(value) && value.location === "calldata";

export type Returndata =
& Base
& Scheme.Slice
& { location: "returndata" };
export const isReturndata = (value: unknown): value is Returndata =>
isBase(value) && Scheme.isSlice(value) && value.location === "returndata";

export type Transient =
& Base
& Scheme.Segment
& { location: "transient" };
export const isTransient = (value: unknown): value is Transient =>
isBase(value) && Scheme.isSegment(value) && value.location === "transient";

export type Code =
& Base
& Scheme.Slice
& { location: "code" };
export const isCode = (value: unknown): value is Code =>
isBase(value) && Scheme.isSlice(value) && value.location === "code";
}

export namespace Scheme {
export interface Segment {
slot: Expression;
offset?: Expression;
length?: Expression;
}
export const isSegment = (value: unknown): value is Segment =>
!!value &&
typeof value === "object" &&
"slot" in value &&
isExpression(value.slot) &&
(!("offset" in value) || isExpression(value.offset)) &&
(!("length" in value) || isExpression(value.length));

export interface Slice {
offset: Expression;
length: Expression;
}

export const isSlice = (value: unknown): value is Slice =>
!!value &&
typeof value === "object" &&
"offset" in value &&
isExpression(value.offset) &&
"length" in value &&
isExpression(value.length);
}

export type Collection =
| Collection.Group
| Collection.List
| Collection.Conditional
| Collection.Scope;
export const isCollection = (value: unknown): value is Collection =>
[
Collection.isGroup,
Collection.isList,
Collection.isConditional,
Collection.isScope
].some(guard => guard(value));

export namespace Collection {
export interface Group {
group: Pointer[];
}
export const isGroup = (value: unknown): value is Group =>
!!value &&
typeof value === "object" &&
Object.keys(value).length === 1 &&
"group" in value &&
value.group instanceof Array &&
value.group.length >= 1 &&
value.group.every(isPointer);

export interface List {
list: {
count: Expression;
each: Identifier;
is: Pointer;
}
}
export const isList = (value: unknown): value is List =>
!!value &&
typeof value === "object" &&
Object.keys(value).length === 1 &&
"list" in value &&
!!value.list &&
typeof value.list === "object" &&
Object.keys(value.list).length === 3 &&
"count" in value.list &&
isExpression(value.list.count) &&
"each" in value.list &&
isIdentifier(value.list.each) &&
"is" in value.list &&
isPointer(value.list.is);

export interface Conditional {
if: Expression;
then: Pointer;
else?: Pointer;
}
export const isConditional = (value: unknown): value is Conditional =>
!!value &&
typeof value === "object" &&
"if" in value &&
isExpression(value.if) &&
"then" in value &&
isPointer(value.then) &&
(!("else" in value) || isPointer(value.else));

export interface Scope {
define: {
[identifier: string]: Expression;
}
in: Pointer;
}

export const isScope = (value: unknown): value is Scope =>
!!value &&
typeof value === "object" &&
"define" in value &&
typeof value.define === "object" && !!value.define &&
Object.keys(value.define).every(key => isIdentifier(key)) &&
"in" in value &&
isPointer(value.in);
}

export type Expression =
| Expression.Literal
| Expression.Constant
| Expression.Variable
| Expression.Arithmetic
| Expression.Lookup
| Expression.Read
| Expression.Keccak256
| Expression.Resize;

export const isExpression = (value: unknown): value is Expression =>
[
Expression.isLiteral,
Expression.isConstant,
Expression.isVariable,
Expression.isArithmetic,
Expression.isLookup,
Expression.isRead,
Expression.isKeccak256,
Expression.isResize
].some(guard => guard(value));

export namespace Expression {
export type Literal = number | `0x${string}`;
export const isLiteral = (value: unknown): value is Literal =>
typeof value === "number" ||
typeof value === "string" && /^0x[0-9a-fA-F]+$/.test(value);

export type Constant =
| "$wordsize";
export const isConstant = (value: unknown): value is Constant =>
typeof value === "string" && ["$wordsize"].includes(value);

export type Variable = string;
export const isVariable = (value: unknown): value is Variable =>
isIdentifier(value);

export type Arithmetic =
| Arithmetic.Sum
| Arithmetic.Difference
| Arithmetic.Product
| Arithmetic.Quotient
| Arithmetic.Remainder;

export const isArithmetic = (value: unknown): value is Arithmetic =>
[
Arithmetic.isSum,
Arithmetic.isDifference,
Arithmetic.isProduct,
Arithmetic.isQuotient,
Arithmetic.isRemainder
].some(guard => guard(value));

const makeIsOperation = <
O extends string,
T extends { [K in O]: any; }
>(
operation: O,
checkOperands: (operands: unknown) => operands is T[O]
) => (value: unknown): value is T =>
!!value &&
typeof value === "object" &&
Object.keys(value).length === 1 &&
operation in value &&
checkOperands(value[operation as keyof typeof value]);

export type Operands = Expression[];
export const isOperands =
(value: unknown): value is Expression[] =>
value instanceof Array && value.every(isExpression);

export namespace Arithmetic {
export type Operation =
| keyof Sum
| keyof Difference
| keyof Product
| keyof Quotient
| keyof Remainder;

export const isTwoOperands =
(value: unknown): value is [Expression, Expression] =>
isOperands(value) && value.length === 2;

export interface Sum {
$sum: Expression[];
}
export const isSum =
makeIsOperation<"$sum", Sum>("$sum", isOperands);

export interface Difference {
$difference: [Expression, Expression];
}
export const isDifference =
makeIsOperation<"$difference", Difference>("$difference", isTwoOperands);

export interface Product {
$product: Expression[];
}
export const isProduct =
makeIsOperation<"$product", Product>("$product", isOperands);

export interface Quotient {
$quotient: [Expression, Expression];
}
export const isQuotient =
makeIsOperation<"$quotient", Quotient>("$quotient", isTwoOperands);

export interface Remainder {
$remainder: [Expression, Expression];
}
export const isRemainder =
makeIsOperation<"$remainder", Remainder>("$remainder", isTwoOperands);
}

export type Reference =
| Identifier
| "$this";
export const isReference = (value: unknown): value is Reference =>
isIdentifier(value) || value === "$this";

export type Lookup =
| Lookup.Offset
| Lookup.Length
| Lookup.Slot;
export const isLookup = (value: unknown): value is Lookup =>
[
Lookup.isOffset,
Lookup.isLength,
Lookup.isSlot
].some(guard => guard(value));

export namespace Lookup {
export type Operation =
| keyof Offset
| keyof Length
| keyof Slot;

export type ForOperation<O extends Operation> =
& Lookup
& { [K in O]: any };

export const propertyFrom = <O extends Operation>(
operation: O
): "slot" | "offset" | "length" => {
return operation.slice(1) as "slot" | "offset" | "length";
}

export interface Offset {
".offset": Reference;
}
export const isOffset =
makeIsOperation<".offset", Offset>(".offset", isReference);

export interface Length {
".length": Reference;
}
export const isLength =
makeIsOperation<".length", Length>(".length", isReference);

export interface Slot {
".slot": Reference;
}
export const isSlot =
makeIsOperation<".slot", Slot>(".slot", isReference);
}

export interface Read {
$read: Reference
}
export const isRead = makeIsOperation<"$read", Read>("$read", isReference);

export interface Keccak256 {
$keccak256: Expression[];
}
export const isKeccak256 =
makeIsOperation<"$keccak256", Keccak256>("$keccak256", isOperands);

export type Resize<N extends number = number> = {
[K in `$sized${N}`]: Expression;
}
export const isResize = <N extends number>(
value: unknown
): value is Resize<N> => {
if (
!value ||
typeof value !== "object" ||
Object.keys(value).length !== 1
) {
return false;
}
const [key] = Object.keys(value);

return typeof key === "string" && /^\$sized([1-9]+[0-9]*)$/.test(key);
}
}
}
\ No newline at end of file diff --git a/docs/known-challenges/index.html b/docs/known-challenges/index.html index 3de55538..c8eb4cb4 100644 --- a/docs/known-challenges/index.html +++ b/docs/known-challenges/index.html @@ -4,8 +4,8 @@ Known challenges | ethdebug format - - + +

Known challenges

diff --git a/docs/overview/index.html b/docs/overview/index.html index 9f9421be..26f4e7e3 100644 --- a/docs/overview/index.html +++ b/docs/overview/index.html @@ -4,8 +4,8 @@ Project overview | ethdebug format - - + +

Project overview

diff --git a/docs/sketches/layout/index.html b/docs/sketches/layout/index.html index cc0270fa..9a82a41c 100644 --- a/docs/sketches/layout/index.html +++ b/docs/sketches/layout/index.html @@ -4,8 +4,8 @@ @haltman-at's allocation data draft | ethdebug format - - + +

@haltman-at's allocation data draft

diff --git a/docs/sketches/prototype/index.html b/docs/sketches/prototype/index.html index 97d96726..35407b31 100644 --- a/docs/sketches/prototype/index.html +++ b/docs/sketches/prototype/index.html @@ -4,8 +4,8 @@ @jtoman's format prototype | ethdebug format - - + +

@jtoman's format prototype

diff --git a/home/index.html b/home/index.html index a5d4ceec..e0cde771 100644 --- a/home/index.html +++ b/home/index.html @@ -4,8 +4,8 @@ Home | ethdebug format - - + +

ethdebug format

Debugging data format for smart contracts

Building a debugging standard

The ethdebug format group seeks to design a debugging data format suitable for smart contract languages.

We hope to make this format easy for compilers to output directly and for debuggers to read.

Current status

The ethdebug format project is currently in design phase and seeking to onboard contributors with interest in this area. Our most immediate goals are to establish a v1 formal schema and to increase awareness of our efforts.

The Ethereum Foundation and the Solidity team are graciously funding this effort with a keen interest in building a format that is compatible with current and future EVM languages.

Get involved

Join the Matrix.chat or watch the GitHub repo to follow along with our ongoing development.

Our group (including individuals and members of teams including Solidity and Tenderly) meets every two weeks on Thursdays at 17:00 Berlin time. Meetings are announced in our Matrix.chat, but please reach out if you'd like a calendar invite.

diff --git a/index.html b/index.html index 76e7155e..b5a6f0cd 100644 --- a/index.html +++ b/index.html @@ -4,8 +4,8 @@ Home | ethdebug format - - + +

ethdebug format

Debugging data format for smart contracts

Building a debugging standard

The ethdebug format group seeks to design a debugging data format suitable for smart contract languages.

We hope to make this format easy for compilers to output directly and for debuggers to read.

Current status

The ethdebug format project is currently in design phase and seeking to onboard contributors with interest in this area. Our most immediate goals are to establish a v1 formal schema and to increase awareness of our efforts.

The Ethereum Foundation and the Solidity team are graciously funding this effort with a keen interest in building a format that is compatible with current and future EVM languages.

Get involved

Join the Matrix.chat or watch the GitHub repo to follow along with our ongoing development.

Our group (including individuals and members of teams including Solidity and Tenderly) meets every two weeks on Thursdays at 17:00 Berlin time. Meetings are announced in our Matrix.chat, but please reach out if you'd like a calendar invite.

diff --git a/spec/category/collections/index.html b/spec/category/collections/index.html index f3f39057..afe58991 100644 --- a/spec/category/collections/index.html +++ b/spec/category/collections/index.html @@ -4,8 +4,8 @@ Collections | ethdebug format - - + + diff --git a/spec/category/complex-types/index.html b/spec/category/complex-types/index.html index 429cfd74..89fa15be 100644 --- a/spec/category/complex-types/index.html +++ b/spec/category/complex-types/index.html @@ -4,8 +4,8 @@ Complex types | ethdebug format - - + + diff --git a/spec/category/elementary-types/index.html b/spec/category/elementary-types/index.html index 416b4d82..4afac8a6 100644 --- a/spec/category/elementary-types/index.html +++ b/spec/category/elementary-types/index.html @@ -4,8 +4,8 @@ Elementary types | ethdebug format - - + + diff --git a/spec/category/ethdebugformatmaterials/index.html b/spec/category/ethdebugformatmaterials/index.html index 85e106d6..13169669 100644 --- a/spec/category/ethdebugformatmaterials/index.html +++ b/spec/category/ethdebugformatmaterials/index.html @@ -4,8 +4,8 @@ ethdebug/format/materials | ethdebug format - - + + diff --git a/spec/category/ethdebugformatpointer/index.html b/spec/category/ethdebugformatpointer/index.html index af1de798..37bab284 100644 --- a/spec/category/ethdebugformatpointer/index.html +++ b/spec/category/ethdebugformatpointer/index.html @@ -4,8 +4,8 @@ ethdebug/format/pointer | ethdebug format - - + + diff --git a/spec/category/ethdebugformattype/index.html b/spec/category/ethdebugformattype/index.html index ecf1c803..9ec98d89 100644 --- a/spec/category/ethdebugformattype/index.html +++ b/spec/category/ethdebugformattype/index.html @@ -4,8 +4,8 @@ ethdebug/format/type | ethdebug format - - + + diff --git a/spec/category/regions/index.html b/spec/category/regions/index.html index fc3e07d6..c4140ead 100644 --- a/spec/category/regions/index.html +++ b/spec/category/regions/index.html @@ -4,8 +4,8 @@ Regions | ethdebug format - - + + diff --git a/spec/materials/compilation/index.html b/spec/materials/compilation/index.html index efddbaa5..e2f15285 100644 --- a/spec/materials/compilation/index.html +++ b/spec/materials/compilation/index.html @@ -4,8 +4,8 @@ Compilation schema | ethdebug format - - + +

Compilation schema

diff --git a/spec/materials/id/index.html b/spec/materials/id/index.html index 04dfa81c..3e5baba0 100644 --- a/spec/materials/id/index.html +++ b/spec/materials/id/index.html @@ -4,8 +4,8 @@ Identifiers and references | ethdebug format - - + +

Identifiers and references

diff --git a/spec/materials/overview/index.html b/spec/materials/overview/index.html index 7e04b54d..c80f6382 100644 --- a/spec/materials/overview/index.html +++ b/spec/materials/overview/index.html @@ -4,8 +4,8 @@ Overview | ethdebug format - - + +

Overview

diff --git a/spec/materials/source-range/index.html b/spec/materials/source-range/index.html index 4de4755c..11fd07de 100644 --- a/spec/materials/source-range/index.html +++ b/spec/materials/source-range/index.html @@ -4,8 +4,8 @@ Source range schema | ethdebug format - - + +

Source range schema

diff --git a/spec/materials/source/index.html b/spec/materials/source/index.html index eb24213c..46b0ea5b 100644 --- a/spec/materials/source/index.html +++ b/spec/materials/source/index.html @@ -4,8 +4,8 @@ Source schema | ethdebug format - - + +

Source schema

diff --git a/spec/overview/index.html b/spec/overview/index.html index e6b6b0f3..a4de2f87 100644 --- a/spec/overview/index.html +++ b/spec/overview/index.html @@ -4,8 +4,8 @@ Specification overview | ethdebug format - - + +

Specification overview

diff --git a/spec/pointer/collection/conditional/index.html b/spec/pointer/collection/conditional/index.html index 36b4a2eb..d0b5490e 100644 --- a/spec/pointer/collection/conditional/index.html +++ b/spec/pointer/collection/conditional/index.html @@ -4,8 +4,8 @@ Conditional | ethdebug format - - + +

Conditional

diff --git a/spec/pointer/collection/group/index.html b/spec/pointer/collection/group/index.html index f388a5a9..1b075575 100644 --- a/spec/pointer/collection/group/index.html +++ b/spec/pointer/collection/group/index.html @@ -4,8 +4,8 @@ Group | ethdebug format - - + +

Group

diff --git a/spec/pointer/collection/index.html b/spec/pointer/collection/index.html index 8cbdb01b..46c7cf0b 100644 --- a/spec/pointer/collection/index.html +++ b/spec/pointer/collection/index.html @@ -4,8 +4,8 @@ Collection schema | ethdebug format - - + +

Collection schema

diff --git a/spec/pointer/collection/list/index.html b/spec/pointer/collection/list/index.html index 27083314..d77056f8 100644 --- a/spec/pointer/collection/list/index.html +++ b/spec/pointer/collection/list/index.html @@ -4,8 +4,8 @@ List | ethdebug format - - + +

List

diff --git a/spec/pointer/collection/scope/index.html b/spec/pointer/collection/scope/index.html index 3795c7d3..c14b17dc 100644 --- a/spec/pointer/collection/scope/index.html +++ b/spec/pointer/collection/scope/index.html @@ -4,8 +4,8 @@ Scope | ethdebug format - - + +

Scope

diff --git a/spec/pointer/concepts/index.html b/spec/pointer/concepts/index.html index 59817dcc..a6484058 100644 --- a/spec/pointer/concepts/index.html +++ b/spec/pointer/concepts/index.html @@ -4,8 +4,8 @@ Key concepts | ethdebug format - - + +

Key concepts

diff --git a/spec/pointer/expression/index.html b/spec/pointer/expression/index.html index 17dc274d..07acc19d 100644 --- a/spec/pointer/expression/index.html +++ b/spec/pointer/expression/index.html @@ -4,14 +4,14 @@ Expression syntax | ethdebug format - - + +

Expression syntax

Pointer expressions operate on the domain of bytes representing unsigned integers.

-
Loading ....
+
Loading ....

Literal values

An expression can be a literal value.

Literal values must be represented either as JSON numbers or as @@ -23,12 +23,12 @@

Literal value

Hexadecimal string representations may omit leading zeroes; values are assumed to be left-padded to the bytes width appropriate for the context.

Loading ....
-

Scalar variables

+

Variables

An expression can be a string value equal to the identifier for a known scalar variable introduced by some pointer representation.

For an example where scalar variables may appear, see the List collection schema.

-
Loading ....
+
Loading ....

Arithmetic operations

An expression can be an object of the form { <op>: [...] }, where <op> denotes an arithmetic operation.

@@ -49,7 +49,13 @@

Keccak256 h

An expression can be an object of form { "$keccak256": [...] }, indicating that the value of the expression is a Solidity-style, tightly-packed keccak256 hash of the concatenation of bytes specified by the list.

-
Loading ....
+
Loading ....
+

Resize operations

+

In certain situations, e.g. keccak256 hashes, it's crucially important to be +able to express the bytes width of particular expression values. This schema +provides primitives to allow specifying an explicit bytes width for a +particular sub-expression.

+
Loading ....

Region references

Regions can be referenced either by name (which must be a defined region), or by use of the literal string value "$this" (which indicates that the @@ -59,6 +65,6 @@

Region ref

Individual properties may not be defined with any reference to themselves. Properties also may not be defined in terms of mutual reference to each other. (Don't make this harder than it has to be.)

-
Loading ....

+
Loading ....
\ No newline at end of file diff --git a/spec/pointer/index.html b/spec/pointer/index.html index b3db5f61..72c6115d 100644 --- a/spec/pointer/index.html +++ b/spec/pointer/index.html @@ -4,11 +4,11 @@ Schema | ethdebug format - - + +

Schema

-
Loading ....
+
Loading ....
\ No newline at end of file diff --git a/spec/pointer/overview/index.html b/spec/pointer/overview/index.html index e759de86..8f43e3ae 100644 --- a/spec/pointer/overview/index.html +++ b/spec/pointer/overview/index.html @@ -4,8 +4,8 @@ Overview | ethdebug format - - + +

Overview

diff --git a/spec/pointer/region/base/index.html b/spec/pointer/region/base/index.html index ea918ca4..d3b827eb 100644 --- a/spec/pointer/region/base/index.html +++ b/spec/pointer/region/base/index.html @@ -4,8 +4,8 @@ Base region schema | ethdebug format - - + +

Base region schema

diff --git a/spec/pointer/region/index.html b/spec/pointer/region/index.html index 50b2b02b..6be01760 100644 --- a/spec/pointer/region/index.html +++ b/spec/pointer/region/index.html @@ -4,8 +4,8 @@ Region schema | ethdebug format - - + +

Region schema

diff --git a/spec/pointer/region/location/calldata/index.html b/spec/pointer/region/location/calldata/index.html index 84e5df63..08928b94 100644 --- a/spec/pointer/region/location/calldata/index.html +++ b/spec/pointer/region/location/calldata/index.html @@ -4,8 +4,8 @@ calldata | ethdebug format - - + +

calldata

diff --git a/spec/pointer/region/location/code/index.html b/spec/pointer/region/location/code/index.html index 90b8a8c2..434d8ac0 100644 --- a/spec/pointer/region/location/code/index.html +++ b/spec/pointer/region/location/code/index.html @@ -4,8 +4,8 @@ code | ethdebug format - - + +

code

diff --git a/spec/pointer/region/location/memory/index.html b/spec/pointer/region/location/memory/index.html index 77608784..91df8741 100644 --- a/spec/pointer/region/location/memory/index.html +++ b/spec/pointer/region/location/memory/index.html @@ -4,8 +4,8 @@ memory | ethdebug format - - + +

memory

diff --git a/spec/pointer/region/location/returndata/index.html b/spec/pointer/region/location/returndata/index.html index 886f78f9..02f13080 100644 --- a/spec/pointer/region/location/returndata/index.html +++ b/spec/pointer/region/location/returndata/index.html @@ -4,8 +4,8 @@ returndata | ethdebug format - - + +

returndata

diff --git a/spec/pointer/region/location/stack/index.html b/spec/pointer/region/location/stack/index.html index 8a083abc..3050130a 100644 --- a/spec/pointer/region/location/stack/index.html +++ b/spec/pointer/region/location/stack/index.html @@ -4,8 +4,8 @@ stack | ethdebug format - - + +

stack

diff --git a/spec/pointer/region/location/storage/index.html b/spec/pointer/region/location/storage/index.html index 977546fb..e7174a0f 100644 --- a/spec/pointer/region/location/storage/index.html +++ b/spec/pointer/region/location/storage/index.html @@ -4,8 +4,8 @@ storage | ethdebug format - - + +

storage

diff --git a/spec/pointer/region/location/transient/index.html b/spec/pointer/region/location/transient/index.html index 4cc45bfd..54059157 100644 --- a/spec/pointer/region/location/transient/index.html +++ b/spec/pointer/region/location/transient/index.html @@ -4,8 +4,8 @@ transient | ethdebug format - - + +

transient

diff --git a/spec/pointer/region/scheme/segment/index.html b/spec/pointer/region/scheme/segment/index.html index 98a1ff24..d3a3171c 100644 --- a/spec/pointer/region/scheme/segment/index.html +++ b/spec/pointer/region/scheme/segment/index.html @@ -4,8 +4,8 @@ segment | ethdebug format - - + +

segment

diff --git a/spec/pointer/region/scheme/slice/index.html b/spec/pointer/region/scheme/slice/index.html index 3f7c6c58..4d85639a 100644 --- a/spec/pointer/region/scheme/slice/index.html +++ b/spec/pointer/region/scheme/slice/index.html @@ -4,8 +4,8 @@ slice | ethdebug format - - + +

slice

diff --git a/spec/type/base/index.html b/spec/type/base/index.html index 66585e19..9f22abcb 100644 --- a/spec/type/base/index.html +++ b/spec/type/base/index.html @@ -4,8 +4,8 @@ Base schema | ethdebug format - - + +

Base schema

diff --git a/spec/type/complex/alias/index.html b/spec/type/complex/alias/index.html index 7d604131..6af89354 100644 --- a/spec/type/complex/alias/index.html +++ b/spec/type/complex/alias/index.html @@ -4,8 +4,8 @@ alias | ethdebug format - - + +

alias

diff --git a/spec/type/complex/array/index.html b/spec/type/complex/array/index.html index 29e21e82..90ccff14 100644 --- a/spec/type/complex/array/index.html +++ b/spec/type/complex/array/index.html @@ -4,8 +4,8 @@ array | ethdebug format - - + +

array

diff --git a/spec/type/complex/function/index.html b/spec/type/complex/function/index.html index 6db6a4f8..9096d319 100644 --- a/spec/type/complex/function/index.html +++ b/spec/type/complex/function/index.html @@ -4,8 +4,8 @@ function | ethdebug format - - + +

function

diff --git a/spec/type/complex/mapping/index.html b/spec/type/complex/mapping/index.html index 53bf039f..2a00639b 100644 --- a/spec/type/complex/mapping/index.html +++ b/spec/type/complex/mapping/index.html @@ -4,8 +4,8 @@ mapping | ethdebug format - - + +

mapping

diff --git a/spec/type/complex/struct/index.html b/spec/type/complex/struct/index.html index e689a041..3e0a6d35 100644 --- a/spec/type/complex/struct/index.html +++ b/spec/type/complex/struct/index.html @@ -4,8 +4,8 @@ struct | ethdebug format - - + +

struct

diff --git a/spec/type/complex/tuple/index.html b/spec/type/complex/tuple/index.html index 3835a974..9cc66f79 100644 --- a/spec/type/complex/tuple/index.html +++ b/spec/type/complex/tuple/index.html @@ -4,8 +4,8 @@ tuple | ethdebug format - - + +

tuple

diff --git a/spec/type/concepts/index.html b/spec/type/concepts/index.html index f449d41e..337ac7bb 100644 --- a/spec/type/concepts/index.html +++ b/spec/type/concepts/index.html @@ -4,8 +4,8 @@ Key concepts | ethdebug format - - + +

Key concepts

diff --git a/spec/type/elementary/address/index.html b/spec/type/elementary/address/index.html index 21359960..5f8f8a38 100644 --- a/spec/type/elementary/address/index.html +++ b/spec/type/elementary/address/index.html @@ -4,8 +4,8 @@ address | ethdebug format - - + +

address

diff --git a/spec/type/elementary/bool/index.html b/spec/type/elementary/bool/index.html index bdbc44d8..9552aa9e 100644 --- a/spec/type/elementary/bool/index.html +++ b/spec/type/elementary/bool/index.html @@ -4,8 +4,8 @@ bool | ethdebug format - - + +

bool

diff --git a/spec/type/elementary/bytes/index.html b/spec/type/elementary/bytes/index.html index 45966f86..47a0ee66 100644 --- a/spec/type/elementary/bytes/index.html +++ b/spec/type/elementary/bytes/index.html @@ -4,8 +4,8 @@ bytes | ethdebug format - - + +

bytes

diff --git a/spec/type/elementary/contract/index.html b/spec/type/elementary/contract/index.html index dca79376..fc06aadd 100644 --- a/spec/type/elementary/contract/index.html +++ b/spec/type/elementary/contract/index.html @@ -4,8 +4,8 @@ contract | ethdebug format - - + +

contract

diff --git a/spec/type/elementary/enum/index.html b/spec/type/elementary/enum/index.html index 385df3e2..0553ff2c 100644 --- a/spec/type/elementary/enum/index.html +++ b/spec/type/elementary/enum/index.html @@ -4,8 +4,8 @@ enum | ethdebug format - - + +

enum

diff --git a/spec/type/elementary/fixed/index.html b/spec/type/elementary/fixed/index.html index 33922389..c1b3dd9b 100644 --- a/spec/type/elementary/fixed/index.html +++ b/spec/type/elementary/fixed/index.html @@ -4,8 +4,8 @@ fixed | ethdebug format - - + +

fixed

diff --git a/spec/type/elementary/int/index.html b/spec/type/elementary/int/index.html index 68e6a92b..9b98421f 100644 --- a/spec/type/elementary/int/index.html +++ b/spec/type/elementary/int/index.html @@ -4,8 +4,8 @@ int | ethdebug format - - + +

int

diff --git a/spec/type/elementary/string/index.html b/spec/type/elementary/string/index.html index b6df6949..075094a2 100644 --- a/spec/type/elementary/string/index.html +++ b/spec/type/elementary/string/index.html @@ -4,8 +4,8 @@ string | ethdebug format - - + +

string

diff --git a/spec/type/elementary/ufixed/index.html b/spec/type/elementary/ufixed/index.html index fb27ccbd..2b6c61a6 100644 --- a/spec/type/elementary/ufixed/index.html +++ b/spec/type/elementary/ufixed/index.html @@ -4,8 +4,8 @@ ufixed | ethdebug format - - + +

ufixed

diff --git a/spec/type/elementary/uint/index.html b/spec/type/elementary/uint/index.html index eab9a3d1..5a721be3 100644 --- a/spec/type/elementary/uint/index.html +++ b/spec/type/elementary/uint/index.html @@ -4,8 +4,8 @@ uint | ethdebug format - - + +

uint

diff --git a/spec/type/index.html b/spec/type/index.html index 7bfb8a5d..5037b16c 100644 --- a/spec/type/index.html +++ b/spec/type/index.html @@ -4,8 +4,8 @@ Schema | ethdebug format - - + +

Schema

diff --git a/spec/type/overview/index.html b/spec/type/overview/index.html index 85ac9d88..a0c8fdd5 100644 --- a/spec/type/overview/index.html +++ b/spec/type/overview/index.html @@ -4,8 +4,8 @@ Overview | ethdebug format - - + +

Overview

diff --git a/status/index.html b/status/index.html index 9787e243..68b96be7 100644 --- a/status/index.html +++ b/status/index.html @@ -4,8 +4,8 @@ Draft status | ethdebug format - - + +