From 19687e02657f17fc62c518485c86de4e959320fa Mon Sep 17 00:00:00 2001 From: openoms Date: Wed, 10 Jul 2024 15:54:08 +0200 Subject: [PATCH] Deploy website - based on c4461a65845cb08fd9199f06daba99f3bce5da5d --- 404.html | 6 +- accounting/double-entry-accounting/index.html | 8 +-- accounting/glossary/index.html | 10 +-- accounting/intro/index.html | 8 +-- ...84e19.8f165ead.js => 0e384e19.6158cf72.js} | 2 +- assets/js/12ebaf8d.14ef6f8d.js | 1 - assets/js/12ebaf8d.840edc16.js | 1 + assets/js/22dd74f7.c7992af1.js | 1 - assets/js/22dd74f7.efa9877e.js | 1 + assets/js/368a1e78.2f576ff6.js | 1 - assets/js/368a1e78.66c08f84.js | 1 + .../js/{7212.c4341725.js => 7212.175307cd.js} | 4 +- ...CENSE.txt => 7212.175307cd.js.LICENSE.txt} | 0 assets/js/8055.ebb0de29.js | 1 + assets/js/929a6889.7ec9e044.js | 1 + assets/js/common.eb4a5bf5.js | 1 + assets/js/common.f68d5b12.js | 1 - assets/js/de557132.74eed5b0.js | 1 - assets/js/de557132.bf930119.js | 1 + ...26413.22ed5226.js => f4d26413.e382921e.js} | 2 +- assets/js/main.152c842a.js | 2 - assets/js/main.98810172.js | 2 + ...CENSE.txt => main.98810172.js.LICENSE.txt} | 0 assets/js/runtime~main.32b8c6b9.js | 1 + assets/js/runtime~main.3338c7ef.js | 1 - docs/account-set/index.html | 61 +++++++++++++++++++ docs/check-account-balance/index.html | 10 +-- docs/create-journal-and-accounts/index.html | 10 +-- docs/index.html | 10 +-- docs/step-by-step/index.html | 8 +-- docs/transaction-post/index.html | 8 +-- docs/tx-template-create/index.html | 10 +-- index.html | 6 +- search/index.html | 6 +- sitemap.xml | 2 +- 35 files changed, 127 insertions(+), 62 deletions(-) rename assets/js/{0e384e19.8f165ead.js => 0e384e19.6158cf72.js} (97%) delete mode 100644 assets/js/12ebaf8d.14ef6f8d.js create mode 100644 assets/js/12ebaf8d.840edc16.js delete mode 100644 assets/js/22dd74f7.c7992af1.js create mode 100644 assets/js/22dd74f7.efa9877e.js delete mode 100644 assets/js/368a1e78.2f576ff6.js create mode 100644 assets/js/368a1e78.66c08f84.js rename assets/js/{7212.c4341725.js => 7212.175307cd.js} (91%) rename assets/js/{7212.c4341725.js.LICENSE.txt => 7212.175307cd.js.LICENSE.txt} (100%) create mode 100644 assets/js/8055.ebb0de29.js create mode 100644 assets/js/929a6889.7ec9e044.js create mode 100644 assets/js/common.eb4a5bf5.js delete mode 100644 assets/js/common.f68d5b12.js delete mode 100644 assets/js/de557132.74eed5b0.js create mode 100644 assets/js/de557132.bf930119.js rename assets/js/{f4d26413.22ed5226.js => f4d26413.e382921e.js} (51%) delete mode 100644 assets/js/main.152c842a.js create mode 100644 assets/js/main.98810172.js rename assets/js/{main.152c842a.js.LICENSE.txt => main.98810172.js.LICENSE.txt} (100%) create mode 100644 assets/js/runtime~main.32b8c6b9.js delete mode 100644 assets/js/runtime~main.3338c7ef.js create mode 100644 docs/account-set/index.html diff --git a/404.html b/404.html index d3ca2247..cee8eb84 100644 --- a/404.html +++ b/404.html @@ -10,10 +10,10 @@ - - + + -
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.

+
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.

\ No newline at end of file diff --git a/accounting/double-entry-accounting/index.html b/accounting/double-entry-accounting/index.html index 78ede488..9af67bfd 100644 --- a/accounting/double-entry-accounting/index.html +++ b/accounting/double-entry-accounting/index.html @@ -10,11 +10,11 @@ - - + + -
Skip to main content

Double-Entry Accounting

What is Double-Entry Accounting?

+

Double-Entry Accounting

What is Double-Entry Accounting?

Double-entry accounting is a bookkeeping system that requires every financial transaction to be recorded in at least two accounts: one account will be debited and another will be credited. This system ensures that the accounting equation (Assets = Liabilities + Equity) always remains balanced, providing a more accurate picture of a company's financial health.

How It Works

For each transaction:

@@ -29,6 +29,6 @@

Previous
Glossary of Terms
Next
Accounting with Cala Step-by-Step

+
\ No newline at end of file diff --git a/accounting/glossary/index.html b/accounting/glossary/index.html index cb3508ed..acebc296 100644 --- a/accounting/glossary/index.html +++ b/accounting/glossary/index.html @@ -10,11 +10,11 @@ - - + + -
Skip to main content

Glossary of Terms

Account

+

Glossary of Terms

Account

An account is a record in the general ledger that tracks financial transactions. Accounts are categorized as assets, liabilities, equity, revenues, or expenses. In Cala, each account has a unique identifier (accountId).

Journal

A journal is a chronological record of all financial transactions. Each journal entry includes the date, accounts affected, and the amounts debited or credited. In Cala, each journal has a unique identifier (journalId).

@@ -33,6 +33,8 @@

CurrencyTransaction Template

A transaction template is a predefined structure for a specific type of transaction, such as deposits or withdrawals. It ensures consistency and accuracy in recurring transactions by specifying the required parameters and transaction details.

UUID (Universally Unique Identifier)

-

A UUID is a 128-bit number used to uniquely identify information in computer systems. In Cala, it is used to uniquely identify accounts, journals, and transactions.

+

A UUID is a 128-bit number used to uniquely identify information in computer systems. In Cala, it is used to uniquely identify accounts, journals, and transactions.

+

Account Set

+

An Account Set is a grouping of accounts within a financial system, designed to facilitate the management and reporting of related financial activities. Each Account Set is associated with a specific journal and consists of multiple accounts, each contributing to the collective balance of the set. Account Sets allow for the application of transaction templates and the tracking of consolidated balances, aiding in detailed financial analysis and reporting. In Cala, each Account Set has a unique identifier (accountSetId).

\ No newline at end of file diff --git a/accounting/intro/index.html b/accounting/intro/index.html index 84d965bc..8700fbbf 100644 --- a/accounting/intro/index.html +++ b/accounting/intro/index.html @@ -10,11 +10,11 @@ - - + + -
Skip to main content

Introduction to Accounting in Cala

-

Welcome to the introduction to accounting with Cala! This guide is designed to help developers understand the essential accounting terms and concepts used in the Cala product. By the end of this section, you'll have a solid foundation to start building banking software with Cala.

+
Skip to main content

Introduction to Accounting in Cala

+

Welcome to the introduction to accounting with Cala! This guide is designed to help developers understand the essential accounting terms and concepts used in the Cala product. By the end of this section, you'll have a solid foundation to start building banking software with Cala.

\ No newline at end of file diff --git a/assets/js/0e384e19.8f165ead.js b/assets/js/0e384e19.6158cf72.js similarity index 97% rename from assets/js/0e384e19.8f165ead.js rename to assets/js/0e384e19.6158cf72.js index d35155e7..19eba065 100644 --- a/assets/js/0e384e19.8f165ead.js +++ b/assets/js/0e384e19.6158cf72.js @@ -1 +1 @@ -"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[3976],{619:(e,o,n)=>{n.r(o),n.d(o,{assets:()=>t,contentTitle:()=>c,default:()=>h,frontMatter:()=>l,metadata:()=>a,toc:()=>d});var r=n(4848),s=n(8453);const l={id:"intro",title:"Try Cala",slug:"/docs"},c=void 0,a={id:"intro",title:"Try Cala",description:"Install Docker and Docker Compose",source:"@site/docs/intro.md",sourceDirName:".",slug:"/docs",permalink:"/docs",draft:!1,unlisted:!1,tags:[],version:"current",frontMatter:{id:"intro",title:"Try Cala",slug:"/docs"},sidebar:"demoSidebar",next:{title:"Create a Journal and Accounts",permalink:"/docs/create-journal-and-accounts"}},t={},d=[{value:"Install Docker and Docker Compose",id:"install-docker-and-docker-compose",level:2},{value:"Download the docker-compose.yml",id:"download-the-docker-composeyml",level:2},{value:"Run the Cala Server with a PostgresQL Instance",id:"run-the-cala-server-with-a-postgresql-instance",level:2},{value:"GraphQL Demo",id:"graphql-demo",level:2},{value:"Cleanup",id:"cleanup",level:2}];function i(e){const o={a:"a",code:"code",h2:"h2",li:"li",pre:"pre",ul:"ul",...(0,s.R)(),...e.components};return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(o.h2,{id:"install-docker-and-docker-compose",children:"Install Docker and Docker Compose"}),"\n",(0,r.jsxs)(o.ul,{children:["\n",(0,r.jsxs)(o.li,{children:["choose the install method for your system ",(0,r.jsx)(o.a,{href:"https://docs.docker.com/desktop/",children:"https://docs.docker.com/desktop/"})]}),"\n"]}),"\n",(0,r.jsx)(o.h2,{id:"download-the-docker-composeyml",children:"Download the docker-compose.yml"}),"\n",(0,r.jsx)(o.pre,{children:(0,r.jsx)(o.code,{className:"language-bash",children:"wget https://raw.githubusercontent.com/GaloyMoney/cala/main/docker-compose.yml\n"})}),"\n",(0,r.jsx)(o.h2,{id:"run-the-cala-server-with-a-postgresql-instance",children:"Run the Cala Server with a PostgresQL Instance"}),"\n",(0,r.jsx)(o.pre,{children:(0,r.jsx)(o.code,{className:"language-bash",children:"docker-compose up -d cala-server\n"})}),"\n",(0,r.jsx)(o.h2,{id:"graphql-demo",children:"GraphQL Demo"}),"\n",(0,r.jsxs)(o.ul,{children:["\n",(0,r.jsxs)(o.li,{children:["open the local GraphQL playground: ",(0,r.jsx)("br",{}),"\n",(0,r.jsx)(o.a,{href:"http://localhost:2252/graphql",children:"http://localhost:2252/graphql"})]}),"\n",(0,r.jsxs)(o.li,{children:["continue with the ",(0,r.jsx)(o.a,{href:"/docs/create-journal-and-accounts",children:"GraphQL API demo"})]}),"\n"]}),"\n",(0,r.jsx)(o.h2,{id:"cleanup",children:"Cleanup"}),"\n",(0,r.jsxs)(o.ul,{children:["\n",(0,r.jsx)(o.li,{children:"run in the directory where the docker-compose.yml file is"}),"\n"]}),"\n",(0,r.jsx)(o.pre,{children:(0,r.jsx)(o.code,{children:"docker-compose down\n"})})]})}function h(e={}){const{wrapper:o}={...(0,s.R)(),...e.components};return o?(0,r.jsx)(o,{...e,children:(0,r.jsx)(i,{...e})}):i(e)}}}]); \ No newline at end of file +"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[3976],{619:(e,o,n)=>{n.r(o),n.d(o,{assets:()=>t,contentTitle:()=>c,default:()=>h,frontMatter:()=>l,metadata:()=>a,toc:()=>d});var r=n(4848),s=n(8453);const l={id:"intro",title:"Try Cala",slug:"/docs"},c=void 0,a={id:"intro",title:"Try Cala",description:"Install Docker and Docker Compose",source:"@site/docs/intro.md",sourceDirName:".",slug:"/docs",permalink:"/docs",draft:!1,unlisted:!1,tags:[],version:"current",frontMatter:{id:"intro",title:"Try Cala",slug:"/docs"},sidebar:"demoSidebar",next:{title:"Create a Journal and Accounts",permalink:"/docs/create-journal-and-accounts"}},t={},d=[{value:"Install Docker and Docker Compose",id:"install-docker-and-docker-compose",level:2},{value:"Download the docker-compose.yml",id:"download-the-docker-composeyml",level:2},{value:"Run the Cala Server with a PostgresQL Instance",id:"run-the-cala-server-with-a-postgresql-instance",level:2},{value:"GraphQL Demo",id:"graphql-demo",level:2},{value:"Cleanup",id:"cleanup",level:2}];function i(e){const o={a:"a",code:"code",h2:"h2",li:"li",pre:"pre",ul:"ul",...(0,s.R)(),...e.components};return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(o.h2,{id:"install-docker-and-docker-compose",children:"Install Docker and Docker Compose"}),"\n",(0,r.jsxs)(o.ul,{children:["\n",(0,r.jsxs)(o.li,{children:["choose the install method for your system ",(0,r.jsx)(o.a,{href:"https://docs.docker.com/desktop/",children:"https://docs.docker.com/desktop/"})]}),"\n"]}),"\n",(0,r.jsx)(o.h2,{id:"download-the-docker-composeyml",children:"Download the docker-compose.yml"}),"\n",(0,r.jsx)(o.pre,{children:(0,r.jsx)(o.code,{className:"language-bash",children:"wget https://raw.githubusercontent.com/GaloyMoney/cala/main/docker-compose.yml\n"})}),"\n",(0,r.jsx)(o.h2,{id:"run-the-cala-server-with-a-postgresql-instance",children:"Run the Cala Server with a PostgresQL Instance"}),"\n",(0,r.jsx)(o.pre,{children:(0,r.jsx)(o.code,{className:"language-bash",children:"docker-compose up -d cala-server\n"})}),"\n",(0,r.jsx)(o.h2,{id:"graphql-demo",children:"GraphQL Demo"}),"\n",(0,r.jsxs)(o.ul,{children:["\n",(0,r.jsxs)(o.li,{children:["open the local GraphQL playground: ",(0,r.jsx)("br",{}),"\n",(0,r.jsx)(o.a,{href:"http://localhost:2252/graphql",children:"http://localhost:2252/graphql"})]}),"\n",(0,r.jsxs)(o.li,{children:["continue with the ",(0,r.jsx)(o.a,{href:"/docs/create-journal-and-accounts",children:"GraphQL API Demo"})]}),"\n"]}),"\n",(0,r.jsx)(o.h2,{id:"cleanup",children:"Cleanup"}),"\n",(0,r.jsxs)(o.ul,{children:["\n",(0,r.jsx)(o.li,{children:"run in the directory where the docker-compose.yml file is"}),"\n"]}),"\n",(0,r.jsx)(o.pre,{children:(0,r.jsx)(o.code,{children:"docker-compose down\n"})})]})}function h(e={}){const{wrapper:o}={...(0,s.R)(),...e.components};return o?(0,r.jsx)(o,{...e,children:(0,r.jsx)(i,{...e})}):i(e)}}}]); \ No newline at end of file diff --git a/assets/js/12ebaf8d.14ef6f8d.js b/assets/js/12ebaf8d.14ef6f8d.js deleted file mode 100644 index adc67858..00000000 --- a/assets/js/12ebaf8d.14ef6f8d.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[1438],{7512:(e,n,t)=>{t.r(n),t.d(n,{assets:()=>o,contentTitle:()=>r,default:()=>h,frontMatter:()=>i,metadata:()=>c,toc:()=>d});var a=t(4848),s=t(8453);const i={id:"transaction-post",title:"Post a Transaction",slug:"/docs/transaction-post"},r=void 0,c={id:"demo/transaction-post",title:"Post a Transaction",description:"This functionality allows to execute financial transactions based on predefined parameters and templates. The specific transaction being posted here is based on a deposit template, which facilitates adding funds to a user's account.",source:"@site/docs/demo/transaction-post.mdx",sourceDirName:"demo",slug:"/docs/transaction-post",permalink:"/docs/transaction-post",draft:!1,unlisted:!1,tags:[],version:"current",frontMatter:{id:"transaction-post",title:"Post a Transaction",slug:"/docs/transaction-post"},sidebar:"demoSidebar",previous:{title:"Create Transaction Templates",permalink:"/docs/tx-template-create"},next:{title:"Check Account Balance",permalink:"/docs/check-account-balance"}},o={},d=[{value:"Process",id:"process",level:2},{value:"Variables",id:"variables",level:3},{value:"GraphQL Request Body",id:"graphql-request-body",level:3},{value:"Response",id:"response",level:2},{value:"Significance",id:"significance",level:2}];function l(e){const n={code:"code",h2:"h2",h3:"h3",li:"li",p:"p",pre:"pre",strong:"strong",ul:"ul",...(0,s.R)(),...e.components};return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(n.p,{children:"This functionality allows to execute financial transactions based on predefined parameters and templates. The specific transaction being posted here is based on a deposit template, which facilitates adding funds to a user's account."}),"\n",(0,a.jsx)(n.h2,{id:"process",children:"Process"}),"\n",(0,a.jsx)(n.h3,{id:"variables",children:"Variables"}),"\n",(0,a.jsxs)(n.ul,{children:["\n",(0,a.jsxs)(n.li,{children:[(0,a.jsx)(n.strong,{children:"Transaction ID"}),": Each transaction is uniquely identified by a ",(0,a.jsx)(n.code,{children:"transactionId"}),", ensuring that each transaction can be tracked individually and is distinct."]}),"\n",(0,a.jsxs)(n.li,{children:[(0,a.jsx)(n.strong,{children:"Template Code"}),": The ",(0,a.jsx)(n.code,{children:"txTemplateCode"})," specifies the template to use for the transaction, in this case, a deposit. This ensures that the transaction adheres to predefined rules and parameters for deposits."]}),"\n",(0,a.jsxs)(n.li,{children:[(0,a.jsx)(n.strong,{children:"Parameters"}),": The ",(0,a.jsx)(n.code,{children:"params"})," specify the particular details for the transaction, such as the account to which the deposit is made, the amount of the deposit, and the effective date of the transaction. These details are crucial for the accurate execution of the transaction according to the user\u2019s needs and timing requirements."]}),"\n"]}),"\n",(0,a.jsx)(n.pre,{children:(0,a.jsx)(n.code,{className:"language-json",children:'{\n "input": {\n "transactionId": "204d087b-5b6d-4544-9203-6674d54528d3",\n "txTemplateCode": "DEPOSIT-ea1c7224-ca09-409f-b581-3551beead58c",\n "params": {\n "account": "3a7d421b-7f5a-43ca-ba6f-5f3e6ee67237",\n "amount": "9.53",\n "effective": "2022-09-21"\n }\n }\n}\n'})}),"\n",(0,a.jsx)(n.h3,{id:"graphql-request-body",children:"GraphQL Request Body"}),"\n",(0,a.jsxs)(n.p,{children:["The ",(0,a.jsx)(n.code,{children:"transactionPost"})," mutation is called with the inputs below. This mutation processes the transaction based on the provided template and parameters."]}),"\n",(0,a.jsx)(n.pre,{children:(0,a.jsx)(n.code,{className:"language-graphql",children:"mutation transactionPost($input: TransactionInput!) {\n transactionPost(input: $input) {\n transaction {\n transactionId\n correlationId\n }\n }\n}\n"})}),"\n",(0,a.jsx)(n.p,{children:"The system validates the input data against the specified template, calculates any necessary values or triggers other business logic as defined by the template, and logs the transaction in the appropriate accounts."}),"\n",(0,a.jsx)(n.h2,{id:"response",children:"Response"}),"\n",(0,a.jsx)(n.p,{children:"Upon successful processing of the mutation, the system returns the transaction ID and a correlation ID. The correlation ID can be used to track the transaction through other systems or logs for auditing or debugging purposes. This ensures traceability and accountability of the transaction."}),"\n",(0,a.jsx)(n.pre,{children:(0,a.jsx)(n.code,{className:"language-json",children:'{\n "data": {\n "transactionPost": {\n "transaction": {\n "transactionId": "204d087b-5b6d-4544-9203-6674d54528d3",\n "correlationId": "204d087b-5b6d-4544-9203-6674d54528d3"\n }\n }\n }\n}\n'})}),"\n",(0,a.jsx)(n.h2,{id:"significance",children:"Significance"}),"\n",(0,a.jsx)(n.p,{children:"Posting transactions in a controlled and templated manner reduces errors and ensures consistency in transaction handling. It allows financial institutions or businesses to handle financial transactions systematically, providing clarity and reliability in financial operations. This process is particularly important in environments where accuracy and consistency in financial transactions are critical for compliance and operational integrity."})]})}function h(e={}){const{wrapper:n}={...(0,s.R)(),...e.components};return n?(0,a.jsx)(n,{...e,children:(0,a.jsx)(l,{...e})}):l(e)}}}]); \ No newline at end of file diff --git a/assets/js/12ebaf8d.840edc16.js b/assets/js/12ebaf8d.840edc16.js new file mode 100644 index 00000000..39c8ae83 --- /dev/null +++ b/assets/js/12ebaf8d.840edc16.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[1438],{7512:(e,n,t)=>{t.r(n),t.d(n,{assets:()=>o,contentTitle:()=>r,default:()=>h,frontMatter:()=>i,metadata:()=>c,toc:()=>d});var a=t(4848),s=t(8453);const i={id:"transaction-post",title:"Post a Transaction",slug:"/docs/transaction-post"},r=void 0,c={id:"demo/transaction-post",title:"Post a Transaction",description:"This functionality allows to execute financial transactions based on predefined parameters and templates. The specific transaction being posted here is based on a deposit template, which facilitates adding funds to a user's account.",source:"@site/docs/demo/transaction-post.mdx",sourceDirName:"demo",slug:"/docs/transaction-post",permalink:"/docs/transaction-post",draft:!1,unlisted:!1,tags:[],version:"current",frontMatter:{id:"transaction-post",title:"Post a Transaction",slug:"/docs/transaction-post"},sidebar:"demoSidebar",previous:{title:"Create Transaction Templates",permalink:"/docs/tx-template-create"},next:{title:"Check the Balance of an Account",permalink:"/docs/check-account-balance"}},o={},d=[{value:"Process",id:"process",level:2},{value:"Variables",id:"variables",level:3},{value:"GraphQL Request Body",id:"graphql-request-body",level:3},{value:"Response",id:"response",level:2},{value:"Significance",id:"significance",level:2}];function l(e){const n={code:"code",h2:"h2",h3:"h3",li:"li",p:"p",pre:"pre",strong:"strong",ul:"ul",...(0,s.R)(),...e.components};return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(n.p,{children:"This functionality allows to execute financial transactions based on predefined parameters and templates. The specific transaction being posted here is based on a deposit template, which facilitates adding funds to a user's account."}),"\n",(0,a.jsx)(n.h2,{id:"process",children:"Process"}),"\n",(0,a.jsx)(n.h3,{id:"variables",children:"Variables"}),"\n",(0,a.jsxs)(n.ul,{children:["\n",(0,a.jsxs)(n.li,{children:[(0,a.jsx)(n.strong,{children:"Transaction ID"}),": Each transaction is uniquely identified by a ",(0,a.jsx)(n.code,{children:"transactionId"}),", ensuring that each transaction can be tracked individually and is distinct."]}),"\n",(0,a.jsxs)(n.li,{children:[(0,a.jsx)(n.strong,{children:"Template Code"}),": The ",(0,a.jsx)(n.code,{children:"txTemplateCode"})," specifies the template to use for the transaction, in this case, a deposit. This ensures that the transaction adheres to predefined rules and parameters for deposits."]}),"\n",(0,a.jsxs)(n.li,{children:[(0,a.jsx)(n.strong,{children:"Parameters"}),": The ",(0,a.jsx)(n.code,{children:"params"})," specify the particular details for the transaction, such as the account to which the deposit is made, the amount of the deposit, and the effective date of the transaction. These details are crucial for the accurate execution of the transaction according to the user\u2019s needs and timing requirements."]}),"\n"]}),"\n",(0,a.jsx)(n.pre,{children:(0,a.jsx)(n.code,{className:"language-json",children:'{\n "input": {\n "transactionId": "204d087b-5b6d-4544-9203-6674d54528d3",\n "txTemplateCode": "DEPOSIT-ea1c7224-ca09-409f-b581-3551beead58c",\n "params": {\n "account": "3a7d421b-7f5a-43ca-ba6f-5f3e6ee67237",\n "amount": "9.53",\n "effective": "2022-09-21"\n }\n }\n}\n'})}),"\n",(0,a.jsx)(n.h3,{id:"graphql-request-body",children:"GraphQL Request Body"}),"\n",(0,a.jsxs)(n.p,{children:["The ",(0,a.jsx)(n.code,{children:"transactionPost"})," mutation is called with the inputs below. This mutation processes the transaction based on the provided template and parameters."]}),"\n",(0,a.jsx)(n.pre,{children:(0,a.jsx)(n.code,{className:"language-graphql",children:"mutation transactionPost($input: TransactionInput!) {\n transactionPost(input: $input) {\n transaction {\n transactionId\n correlationId\n }\n }\n}\n"})}),"\n",(0,a.jsx)(n.p,{children:"The system validates the input data against the specified template, calculates any necessary values or triggers other business logic as defined by the template, and logs the transaction in the appropriate accounts."}),"\n",(0,a.jsx)(n.h2,{id:"response",children:"Response"}),"\n",(0,a.jsx)(n.p,{children:"Upon successful processing of the mutation, the system returns the transaction ID and a correlation ID. The correlation ID can be used to track the transaction through other systems or logs for auditing or debugging purposes. This ensures traceability and accountability of the transaction."}),"\n",(0,a.jsx)(n.pre,{children:(0,a.jsx)(n.code,{className:"language-json",children:'{\n "data": {\n "transactionPost": {\n "transaction": {\n "transactionId": "204d087b-5b6d-4544-9203-6674d54528d3",\n "correlationId": "204d087b-5b6d-4544-9203-6674d54528d3"\n }\n }\n }\n}\n'})}),"\n",(0,a.jsx)(n.h2,{id:"significance",children:"Significance"}),"\n",(0,a.jsx)(n.p,{children:"Posting transactions in a controlled and templated manner reduces errors and ensures consistency in transaction handling. It allows financial institutions or businesses to handle financial transactions systematically, providing clarity and reliability in financial operations. This process is particularly important in environments where accuracy and consistency in financial transactions are critical for compliance and operational integrity."})]})}function h(e={}){const{wrapper:n}={...(0,s.R)(),...e.components};return n?(0,a.jsx)(n,{...e,children:(0,a.jsx)(l,{...e})}):l(e)}}}]); \ No newline at end of file diff --git a/assets/js/22dd74f7.c7992af1.js b/assets/js/22dd74f7.c7992af1.js deleted file mode 100644 index 40efa495..00000000 --- a/assets/js/22dd74f7.c7992af1.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[1567],{5226:e=>{e.exports=JSON.parse('{"version":{"pluginId":"default","version":"current","label":"Next","banner":null,"badge":false,"noIndex":false,"className":"docs-version-current","isLast":true,"docsSidebars":{"demoSidebar":[{"type":"link","label":"Try Cala","href":"/docs","docId":"intro","unlisted":false},{"type":"category","label":"GraphQL API demo","collapsed":false,"items":[{"type":"link","label":"Create a Journal and Accounts","href":"/docs/create-journal-and-accounts","docId":"demo/create-journal-and-accounts","unlisted":false},{"type":"link","label":"Create Transaction Templates","href":"/docs/tx-template-create","docId":"demo/tx-template-create","unlisted":false},{"type":"link","label":"Post a Transaction","href":"/docs/transaction-post","docId":"demo/transaction-post","unlisted":false},{"type":"link","label":"Check Account Balance","href":"/docs/check-account-balance","docId":"demo/check-account-balance","unlisted":false}],"collapsible":true},{"type":"link","label":"API reference","href":"https://cala.sh/api-reference.html"},{"type":"link","label":"Rust crate docs","href":"https://docs.rs/cala-ledger/latest/cala_ledger/"}],"accountingSidebar":[{"type":"link","label":"Accounting Intro","href":"/accounting/intro","docId":"accounting/accounting-intro","unlisted":false},{"type":"link","label":"Glossary of Terms","href":"/accounting/glossary","docId":"accounting/glossary","unlisted":false},{"type":"link","label":"Double-Entry Accounting","href":"/accounting/double-entry-accounting","docId":"accounting/double-entry-accounting","unlisted":false},{"type":"link","label":"Accounting with Cala Step-by-Step","href":"/docs/step-by-step","docId":"accounting/step-by-step","unlisted":false}]},"docs":{"accounting/accounting-intro":{"id":"accounting/accounting-intro","title":"Accounting Intro","description":"Welcome to the introduction to accounting with Cala! This guide is designed to help developers understand the essential accounting terms and concepts used in the Cala product. By the end of this section, you\'ll have a solid foundation to start building banking software with Cala.","sidebar":"accountingSidebar"},"accounting/double-entry-accounting":{"id":"accounting/double-entry-accounting","title":"Double-Entry Accounting","description":"What is Double-Entry Accounting?","sidebar":"accountingSidebar"},"accounting/glossary":{"id":"accounting/glossary","title":"Glossary of Terms","description":"Account","sidebar":"accountingSidebar"},"accounting/step-by-step":{"id":"accounting/step-by-step","title":"Accounting with Cala Step-by-Step","description":"1. Create Journals and Accounts: Start by setting up journals and accounts. Journals will hold the records of all transactions, and accounts will be used to categorize these transactions.","sidebar":"accountingSidebar"},"demo/check-account-balance":{"id":"demo/check-account-balance","title":"Check Account Balance","description":"The functionality is essential for users (e.g., account holders, financial managers) to view the balance of a specific account in a particular journal and currency. This allows for real-time financial monitoring and decision-making based on up-to-date account information.","sidebar":"demoSidebar"},"demo/create-journal-and-accounts":{"id":"demo/create-journal-and-accounts","title":"Create a Journal and Accounts","description":"Create different types of accounts (journal, checking, and debit accounts) through the GraphQL API.","sidebar":"demoSidebar"},"demo/transaction-post":{"id":"demo/transaction-post","title":"Post a Transaction","description":"This functionality allows to execute financial transactions based on predefined parameters and templates. The specific transaction being posted here is based on a deposit template, which facilitates adding funds to a user\'s account.","sidebar":"demoSidebar"},"demo/tx-template-create":{"id":"demo/tx-template-create","title":"Create Transaction Templates","description":"This functionality allows a user (an administrator or financial manager) to define templates for recurring transaction types - specifically deposits and withdrawals. By defining these templates, the user ensures consistency, accuracy, and efficiency in transaction processing.","sidebar":"demoSidebar"},"intro":{"id":"intro","title":"Try Cala","description":"Install Docker and Docker Compose","sidebar":"demoSidebar"}}}}')}}]); \ No newline at end of file diff --git a/assets/js/22dd74f7.efa9877e.js b/assets/js/22dd74f7.efa9877e.js new file mode 100644 index 00000000..166ffa85 --- /dev/null +++ b/assets/js/22dd74f7.efa9877e.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[1567],{5226:e=>{e.exports=JSON.parse('{"version":{"pluginId":"default","version":"current","label":"Next","banner":null,"badge":false,"noIndex":false,"className":"docs-version-current","isLast":true,"docsSidebars":{"demoSidebar":[{"type":"link","label":"Try Cala","href":"/docs","docId":"intro","unlisted":false},{"type":"category","label":"GraphQL API Demo","collapsed":false,"items":[{"type":"link","label":"Create a Journal and Accounts","href":"/docs/create-journal-and-accounts","docId":"demo/create-journal-and-accounts","unlisted":false},{"type":"link","label":"Create Transaction Templates","href":"/docs/tx-template-create","docId":"demo/tx-template-create","unlisted":false},{"type":"link","label":"Post a Transaction","href":"/docs/transaction-post","docId":"demo/transaction-post","unlisted":false},{"type":"link","label":"Check the Balance of an Account","href":"/docs/check-account-balance","docId":"demo/check-account-balance","unlisted":false},{"type":"link","label":"Use an Account Set","href":"/docs/account-set","docId":"demo/account-set","unlisted":false}],"collapsible":true},{"type":"link","label":"API Reference","href":"https://cala.sh/api-reference.html"},{"type":"link","label":"Rust Crate Docs","href":"https://docs.rs/cala-ledger/latest/cala_ledger/"}],"accountingSidebar":[{"type":"link","label":"Accounting Intro","href":"/accounting/intro","docId":"accounting/accounting-intro","unlisted":false},{"type":"link","label":"Glossary of Terms","href":"/accounting/glossary","docId":"accounting/glossary","unlisted":false},{"type":"link","label":"Double-Entry Accounting","href":"/accounting/double-entry-accounting","docId":"accounting/double-entry-accounting","unlisted":false},{"type":"link","label":"Accounting with Cala Step-by-Step","href":"/docs/step-by-step","docId":"accounting/step-by-step","unlisted":false}]},"docs":{"accounting/accounting-intro":{"id":"accounting/accounting-intro","title":"Accounting Intro","description":"Welcome to the introduction to accounting with Cala! This guide is designed to help developers understand the essential accounting terms and concepts used in the Cala product. By the end of this section, you\'ll have a solid foundation to start building banking software with Cala.","sidebar":"accountingSidebar"},"accounting/double-entry-accounting":{"id":"accounting/double-entry-accounting","title":"Double-Entry Accounting","description":"What is Double-Entry Accounting?","sidebar":"accountingSidebar"},"accounting/glossary":{"id":"accounting/glossary","title":"Glossary of Terms","description":"Account","sidebar":"accountingSidebar"},"accounting/step-by-step":{"id":"accounting/step-by-step","title":"Accounting with Cala Step-by-Step","description":"1. Create Journals and Accounts: Start by setting up journals and accounts. Journals will hold the records of all transactions, and accounts will be used to categorize these transactions.","sidebar":"accountingSidebar"},"demo/account-set":{"id":"demo/account-set","title":"Use an Account Set","description":"Group the created accounts into an account set and check its balance.","sidebar":"demoSidebar"},"demo/check-account-balance":{"id":"demo/check-account-balance","title":"Check the Balance of an Account","description":"The functionality is essential for users (e.g., account holders, financial managers) to view the balance of a specific account in a particular journal and currency. This allows for real-time financial monitoring and decision-making based on up-to-date account information.","sidebar":"demoSidebar"},"demo/create-journal-and-accounts":{"id":"demo/create-journal-and-accounts","title":"Create a Journal and Accounts","description":"Create different types of accounts (journal, checking, and debit accounts) through the GraphQL API.","sidebar":"demoSidebar"},"demo/transaction-post":{"id":"demo/transaction-post","title":"Post a Transaction","description":"This functionality allows to execute financial transactions based on predefined parameters and templates. The specific transaction being posted here is based on a deposit template, which facilitates adding funds to a user\'s account.","sidebar":"demoSidebar"},"demo/tx-template-create":{"id":"demo/tx-template-create","title":"Create Transaction Templates","description":"This functionality allows a user (an administrator or financial manager) to define templates for recurring transaction types - specifically deposits and withdrawals. By defining these templates, the user ensures consistency, accuracy, and efficiency in transaction processing.","sidebar":"demoSidebar"},"intro":{"id":"intro","title":"Try Cala","description":"Install Docker and Docker Compose","sidebar":"demoSidebar"}}}}')}}]); \ No newline at end of file diff --git a/assets/js/368a1e78.2f576ff6.js b/assets/js/368a1e78.2f576ff6.js deleted file mode 100644 index 8dbad918..00000000 --- a/assets/js/368a1e78.2f576ff6.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[4606],{647:(e,n,t)=>{t.r(n),t.d(n,{assets:()=>o,contentTitle:()=>r,default:()=>u,frontMatter:()=>s,metadata:()=>c,toc:()=>l});var a=t(4848),i=t(8453);const s={id:"glossary",title:"Glossary of Terms",slug:"/accounting/glossary"},r=void 0,c={id:"accounting/glossary",title:"Glossary of Terms",description:"Account",source:"@site/docs/accounting/glossary.md",sourceDirName:"accounting",slug:"/accounting/glossary",permalink:"/accounting/glossary",draft:!1,unlisted:!1,tags:[],version:"current",frontMatter:{id:"glossary",title:"Glossary of Terms",slug:"/accounting/glossary"},sidebar:"accountingSidebar",previous:{title:"Accounting Intro",permalink:"/accounting/intro"},next:{title:"Double-Entry Accounting",permalink:"/accounting/double-entry-accounting"}},o={},l=[{value:"Account",id:"account",level:2},{value:"Journal",id:"journal",level:2},{value:"Transaction",id:"transaction",level:2},{value:"Debit and Credit",id:"debit-and-credit",level:2},{value:"Balance",id:"balance",level:2},{value:"Currency",id:"currency",level:2},{value:"Transaction Template",id:"transaction-template",level:2},{value:"UUID (Universally Unique Identifier)",id:"uuid-universally-unique-identifier",level:2}];function d(e){const n={code:"code",h2:"h2",li:"li",p:"p",strong:"strong",ul:"ul",...(0,i.R)(),...e.components};return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(n.h2,{id:"account",children:"Account"}),"\n",(0,a.jsxs)(n.p,{children:["An account is a record in the general ledger that tracks financial transactions. Accounts are categorized as assets, liabilities, equity, revenues, or expenses. In Cala, each account has a unique identifier (",(0,a.jsx)(n.code,{children:"accountId"}),")."]}),"\n",(0,a.jsx)(n.h2,{id:"journal",children:"Journal"}),"\n",(0,a.jsxs)(n.p,{children:["A journal is a chronological record of all financial transactions. Each journal entry includes the date, accounts affected, and the amounts debited or credited. In Cala, each journal has a unique identifier (",(0,a.jsx)(n.code,{children:"journalId"}),")."]}),"\n",(0,a.jsx)(n.h2,{id:"transaction",children:"Transaction"}),"\n",(0,a.jsx)(n.p,{children:"A transaction is a financial event that affects the accounts in the general ledger. Transactions are recorded in journals and typically involve debits and credits to different accounts."}),"\n",(0,a.jsx)(n.h2,{id:"debit-and-credit",children:"Debit and Credit"}),"\n",(0,a.jsx)(n.p,{children:"These are the two sides of every financial transaction:"}),"\n",(0,a.jsxs)(n.ul,{children:["\n",(0,a.jsxs)(n.li,{children:[(0,a.jsx)(n.strong,{children:"Debit"}),": An entry on the left side of an account ledger that increases asset or expense accounts and decreases liability, equity, or revenue accounts."]}),"\n",(0,a.jsxs)(n.li,{children:[(0,a.jsx)(n.strong,{children:"Credit"}),": An entry on the right side of an account ledger that increases liability, equity, or revenue accounts and decreases asset or expense accounts."]}),"\n"]}),"\n",(0,a.jsx)(n.h2,{id:"balance",children:"Balance"}),"\n",(0,a.jsx)(n.p,{children:"The balance of an account is the difference between the total debits and total credits recorded in that account. It indicates the current amount available or owed."}),"\n",(0,a.jsx)(n.h2,{id:"currency",children:"Currency"}),"\n",(0,a.jsx)(n.p,{children:"Currency represents the type of money being used in transactions, such as USD (United States Dollar)."}),"\n",(0,a.jsx)(n.h2,{id:"transaction-template",children:"Transaction Template"}),"\n",(0,a.jsx)(n.p,{children:"A transaction template is a predefined structure for a specific type of transaction, such as deposits or withdrawals. It ensures consistency and accuracy in recurring transactions by specifying the required parameters and transaction details."}),"\n",(0,a.jsx)(n.h2,{id:"uuid-universally-unique-identifier",children:"UUID (Universally Unique Identifier)"}),"\n",(0,a.jsx)(n.p,{children:"A UUID is a 128-bit number used to uniquely identify information in computer systems. In Cala, it is used to uniquely identify accounts, journals, and transactions."})]})}function u(e={}){const{wrapper:n}={...(0,i.R)(),...e.components};return n?(0,a.jsx)(n,{...e,children:(0,a.jsx)(d,{...e})}):d(e)}}}]); \ No newline at end of file diff --git a/assets/js/368a1e78.66c08f84.js b/assets/js/368a1e78.66c08f84.js new file mode 100644 index 00000000..53121d1d --- /dev/null +++ b/assets/js/368a1e78.66c08f84.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[4606],{647:(e,n,t)=>{t.r(n),t.d(n,{assets:()=>o,contentTitle:()=>s,default:()=>u,frontMatter:()=>c,metadata:()=>r,toc:()=>l});var a=t(4848),i=t(8453);const c={id:"glossary",title:"Glossary of Terms",slug:"/accounting/glossary"},s=void 0,r={id:"accounting/glossary",title:"Glossary of Terms",description:"Account",source:"@site/docs/accounting/glossary.md",sourceDirName:"accounting",slug:"/accounting/glossary",permalink:"/accounting/glossary",draft:!1,unlisted:!1,tags:[],version:"current",frontMatter:{id:"glossary",title:"Glossary of Terms",slug:"/accounting/glossary"},sidebar:"accountingSidebar",previous:{title:"Accounting Intro",permalink:"/accounting/intro"},next:{title:"Double-Entry Accounting",permalink:"/accounting/double-entry-accounting"}},o={},l=[{value:"Account",id:"account",level:2},{value:"Journal",id:"journal",level:2},{value:"Transaction",id:"transaction",level:2},{value:"Debit and Credit",id:"debit-and-credit",level:2},{value:"Balance",id:"balance",level:2},{value:"Currency",id:"currency",level:2},{value:"Transaction Template",id:"transaction-template",level:2},{value:"UUID (Universally Unique Identifier)",id:"uuid-universally-unique-identifier",level:2},{value:"Account Set",id:"account-set",level:2}];function d(e){const n={code:"code",h2:"h2",li:"li",p:"p",strong:"strong",ul:"ul",...(0,i.R)(),...e.components};return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(n.h2,{id:"account",children:"Account"}),"\n",(0,a.jsxs)(n.p,{children:["An account is a record in the general ledger that tracks financial transactions. Accounts are categorized as assets, liabilities, equity, revenues, or expenses. In Cala, each account has a unique identifier (",(0,a.jsx)(n.code,{children:"accountId"}),")."]}),"\n",(0,a.jsx)(n.h2,{id:"journal",children:"Journal"}),"\n",(0,a.jsxs)(n.p,{children:["A journal is a chronological record of all financial transactions. Each journal entry includes the date, accounts affected, and the amounts debited or credited. In Cala, each journal has a unique identifier (",(0,a.jsx)(n.code,{children:"journalId"}),")."]}),"\n",(0,a.jsx)(n.h2,{id:"transaction",children:"Transaction"}),"\n",(0,a.jsx)(n.p,{children:"A transaction is a financial event that affects the accounts in the general ledger. Transactions are recorded in journals and typically involve debits and credits to different accounts."}),"\n",(0,a.jsx)(n.h2,{id:"debit-and-credit",children:"Debit and Credit"}),"\n",(0,a.jsx)(n.p,{children:"These are the two sides of every financial transaction:"}),"\n",(0,a.jsxs)(n.ul,{children:["\n",(0,a.jsxs)(n.li,{children:[(0,a.jsx)(n.strong,{children:"Debit"}),": An entry on the left side of an account ledger that increases asset or expense accounts and decreases liability, equity, or revenue accounts."]}),"\n",(0,a.jsxs)(n.li,{children:[(0,a.jsx)(n.strong,{children:"Credit"}),": An entry on the right side of an account ledger that increases liability, equity, or revenue accounts and decreases asset or expense accounts."]}),"\n"]}),"\n",(0,a.jsx)(n.h2,{id:"balance",children:"Balance"}),"\n",(0,a.jsx)(n.p,{children:"The balance of an account is the difference between the total debits and total credits recorded in that account. It indicates the current amount available or owed."}),"\n",(0,a.jsx)(n.h2,{id:"currency",children:"Currency"}),"\n",(0,a.jsx)(n.p,{children:"Currency represents the type of money being used in transactions, such as USD (United States Dollar)."}),"\n",(0,a.jsx)(n.h2,{id:"transaction-template",children:"Transaction Template"}),"\n",(0,a.jsx)(n.p,{children:"A transaction template is a predefined structure for a specific type of transaction, such as deposits or withdrawals. It ensures consistency and accuracy in recurring transactions by specifying the required parameters and transaction details."}),"\n",(0,a.jsx)(n.h2,{id:"uuid-universally-unique-identifier",children:"UUID (Universally Unique Identifier)"}),"\n",(0,a.jsx)(n.p,{children:"A UUID is a 128-bit number used to uniquely identify information in computer systems. In Cala, it is used to uniquely identify accounts, journals, and transactions."}),"\n",(0,a.jsx)(n.h2,{id:"account-set",children:"Account Set"}),"\n",(0,a.jsxs)(n.p,{children:["An Account Set is a grouping of accounts within a financial system, designed to facilitate the management and reporting of related financial activities. Each Account Set is associated with a specific journal and consists of multiple accounts, each contributing to the collective balance of the set. Account Sets allow for the application of transaction templates and the tracking of consolidated balances, aiding in detailed financial analysis and reporting. In Cala, each Account Set has a unique identifier (",(0,a.jsx)(n.code,{children:"accountSetId"}),")."]})]})}function u(e={}){const{wrapper:n}={...(0,i.R)(),...e.components};return n?(0,a.jsx)(n,{...e,children:(0,a.jsx)(d,{...e})}):d(e)}}}]); \ No newline at end of file diff --git a/assets/js/7212.c4341725.js b/assets/js/7212.175307cd.js similarity index 91% rename from assets/js/7212.c4341725.js rename to assets/js/7212.175307cd.js index 985a8116..bdb1214d 100644 --- a/assets/js/7212.c4341725.js +++ b/assets/js/7212.175307cd.js @@ -1,2 +1,2 @@ -/*! For license information please see 7212.c4341725.js.LICENSE.txt */ -(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[7212],{6750:(t,e)=>{"use strict";e.Jf=e.dz=void 0;var n=/^([^\w]*)(javascript|data|vbscript)/im,r=/&#(\w+)(^\w|;)?/g,i=/&(newline|tab);/gi,o=/[\u0000-\u001F\u007F-\u009F\u2000-\u200D\uFEFF]/gim,s=/^.+(:|:)/gim,a=[".","/"];e.dz="about:blank",e.Jf=function(t){if(!t)return e.dz;var l,c=(l=t,l.replace(o,"").replace(r,(function(t,e){return String.fromCharCode(e)}))).replace(i,"").replace(o,"").trim();if(!c)return e.dz;if(function(t){return a.indexOf(t[0])>-1}(c))return c;var h=c.match(s);if(!h)return c;var u=h[0];return n.test(u)?e.dz:c}},9320:function(t,e,n){!function(t,e,n,r){"use strict";const i=0,o=1,s=2,a=3,l=4,c=-1;class h{constructor({file:t,sourceRoot:n}={}){this._names=new e.SetArray,this._sources=new e.SetArray,this._sourcesContent=[],this._mappings=[],this.file=t,this.sourceRoot=n,this._ignoreList=new e.SetArray}}function u(t){return t}function d(t,e,n,r,i,o,s,a){return C(!1,t,e,n,r,i,o,s,a)}function p(t,e){return E(!1,t,e)}const f=(t,e,n,r,i,o,s,a)=>C(!0,t,e,n,r,i,o,s,a),m=(t,e)=>E(!0,t,e);function g(t,n,r){const{_sources:i,_sourcesContent:o}=u(t);o[e.put(i,n)]=r}function y(t,n,r=!0){const{_sources:i,_sourcesContent:o,_ignoreList:s}=u(t),a=e.put(i,n);a===o.length&&(o[a]=null),r?e.put(s,a):e.remove(s,a)}function k(t){const{_mappings:e,_sources:n,_sourcesContent:r,_names:i,_ignoreList:o}=u(t);return w(e),{version:3,file:t.file||void 0,names:i.array,sourceRoot:t.sourceRoot||void 0,sources:n.array,sourcesContent:r,mappings:e,ignoreList:o.array}}function x(t){const e=k(t);return Object.assign(Object.assign({},e),{mappings:n.encode(e.mappings)})}function _(t){const e=new r.TraceMap(t),n=new h({file:e.file,sourceRoot:e.sourceRoot});return S(u(n)._names,e.names),S(u(n)._sources,e.sources),u(n)._sourcesContent=e.sourcesContent||e.sources.map((()=>null)),u(n)._mappings=r.decodedMappings(e),e.ignoreList&&S(u(n)._ignoreList,e.ignoreList),n}function b(t){const e=[],{_mappings:n,_sources:r,_names:c}=u(t);for(let h=0;h=0&&!(e>=t[r][i]);n=r--);return n}function A(t,e,n){for(let r=t.length;r>e;r--)t[r]=t[r-1];t[e]=n}function w(t){const{length:e}=t;let n=e;for(let r=n-1;r>=0&&!(t[r].length>0);n=r,r--);nr&&(r=i)}f(n,r);const i=n.query+n.hash;switch(r){case 2:case 3:return i;case 4:{const r=n.path.slice(1);return r?a(e||t)&&!a(r)?"./"+r+i:r+i:i||"."}case 5:return n.path+i;default:return n.scheme+"//"+n.user+n.host+n.port+n.path+i}}return m}()},3534:function(t,e){!function(t){"use strict";class e{constructor(){this._indexes={__proto__:null},this.array=[]}}function n(t){return t}function r(t,e){return n(t)._indexes[e]}function i(t,e){const i=r(t,e);if(void 0!==i)return i;const{array:o,_indexes:s}=n(t),a=o.push(e);return s[e]=a-1}function o(t){const{array:e,_indexes:r}=n(t);0!==e.length&&(r[e.pop()]=void 0)}function s(t,e){const i=r(t,e);if(void 0===i)return;const{array:o,_indexes:s}=n(t);for(let n=i+1;nBuffer.from(t.buffer,t.byteOffset,t.byteLength).toString()}:{decode(t){let e="";for(let n=0;n>>=1,l&&(i=-2147483648|-i),n[r]+=i,e}function h(t,n,r){return!(n>=r)&&t.charCodeAt(n)!==e}function u(t){t.sort(d)}function d(t,e){return t[0]-e[0]}function p(t){const r=new Int32Array(5),i=16384,o=i-36,a=new Uint8Array(i),l=a.subarray(0,o);let c=0,h="";for(let u=0;u0&&(c===i&&(h+=s.decode(a),c=0),a[c++]=n),0!==d.length){r[0]=0;for(let t=0;to&&(h+=s.decode(l),a.copyWithin(0,o,c),c-=o),t>0&&(a[c++]=e),c=f(a,c,r,n,0),1!==n.length&&(c=f(a,c,r,n,1),c=f(a,c,r,n,2),c=f(a,c,r,n,3),4!==n.length&&(c=f(a,c,r,n,4)))}}}return h+s.decode(a.subarray(0,c))}function f(t,e,n,r,o){const s=r[o];let a=s-n[o];n[o]=s,a=a<0?-a<<1|1:a<<1;do{let n=31&a;a>>>=5,a>0&&(n|=32),t[e++]=i[n]}while(a>0);return e}t.decode=a,t.encode=p,Object.defineProperty(t,"__esModule",{value:!0})}(e)},2802:function(t,e,n){!function(t,e,n){"use strict";function r(t,e){return e&&!e.endsWith("/")&&(e+="/"),n(t,e)}function i(t){if(!t)return"";const e=t.lastIndexOf("/");return t.slice(0,e+1)}const o=0,s=1,a=2,l=3,c=4,h=1,u=2;function d(t,e){const n=p(t,0);if(n===t.length)return t;e||(t=t.slice());for(let r=n;r>1),s=t[i][o]-e;if(0===s)return y=!0,i;s<0?n=i+1:r=i-1}return y=!1,n-1}function x(t,e,n){for(let r=n+1;r=0&&t[r][o]===e;n=r--);return n}function b(){return{lastKey:-1,lastNeedle:-1,lastIndex:-1}}function C(t,e,n,r){const{lastKey:i,lastNeedle:s,lastIndex:a}=n;let l=0,c=t.length-1;if(r===i){if(e===s)return y=-1!==a&&t[a][o]===e,a;e>=s?l=-1===a?0:a:c=a}return n.lastKey=r,n.lastNeedle=e,n.lastIndex=k(t,e,l,c)}function v(t,e){const n=e.map(A);for(let r=0;re;r--)t[r]=t[r-1];t[e]=n}function A(){return{__proto__:null}}const w=function(t,e){const n=S(t);if(!("sections"in n))return new O(n,e);const r=[],i=[],o=[],s=[],a=[];return I(n,e,r,i,o,s,a,0,0,1/0,1/0),G({version:3,file:n.file,names:s,sources:i,sourcesContent:o,mappings:r,ignoreList:a})};function S(t){return"string"==typeof t?JSON.parse(t):t}function I(t,e,n,r,i,o,s,a,l,c,h){const{sections:u}=t;for(let d=0;df)return;const e=B(n,t),r=0===T?p:0,i=_[T];for(let n=0;n=m)return;if(1===h.length){e.push([u]);continue}const d=k+h[s],p=h[a],g=h[l];e.push(4===h.length?[u,d,p,g]:[u,d,p,g,x+h[c]])}}}function E(t,e){for(let n=0;nr(t||"",p)));const{mappings:f}=o;"string"==typeof f?(this._encoded=f,this._decoded=void 0):(this._encoded=void 0,this._decoded=d(f,n)),this._decodedMemo=b(),this._bySources=void 0,this._bySourceMemos=void 0}}function R(t){return t}function D(t){var n,r;return null!==(n=(r=R(t))._encoded)&&void 0!==n?n:r._encoded=e.encode(R(t)._decoded)}function q(t){var n;return(n=R(t))._decoded||(n._decoded=e.decode(R(t)._encoded))}function $(t,e,n){const r=q(t);if(e>=r.length)return null;const i=r[e],o=tt(i,R(t)._decodedMemo,e,n,j);return-1===o?null:i[o]}function P(t,e){let{line:n,column:r,bias:i}=e;if(n--,n<0)throw new Error(F);if(r<0)throw new Error(N);const o=q(t);if(n>=o.length)return J(null,null,null,null);const h=o[n],u=tt(h,R(t)._decodedMemo,n,r,i||j);if(-1===u)return J(null,null,null,null);const d=h[u];if(1===d.length)return J(null,null,null,null);const{names:p,resolvedSources:f}=t;return J(f[d[s]],d[a]+1,d[l],5===d.length?p[d[c]]:null)}function z(t,e){const{source:n,line:r,column:i,bias:o}=e;return nt(t,n,r,i,o||j,!1)}function U(t,e){const{source:n,line:r,column:i,bias:o}=e;return nt(t,n,r,i,o||M,!0)}function W(t,e){const n=q(t),{names:r,resolvedSources:i}=t;for(let o=0;o{"use strict";n.r(e),n.d(e,{default:()=>ll});var r=n(6540),i=n(9024),o=n(9532),s=n(4848);const a=r.createContext(null);function l(t){let{children:e,content:n}=t;const i=function(t){return(0,r.useMemo)((()=>({metadata:t.metadata,frontMatter:t.frontMatter,assets:t.assets,contentTitle:t.contentTitle,toc:t.toc})),[t])}(n);return(0,s.jsx)(a.Provider,{value:i,children:e})}function c(){const t=(0,r.useContext)(a);if(null===t)throw new o.dV("DocProvider");return t}function h(){const{metadata:t,frontMatter:e,assets:n}=c();return(0,s.jsx)(i.be,{title:t.title,description:t.description,keywords:e.keywords,image:n.image??e.image})}var u=n(4164),d=n(4581),p=n(1312),f=n(8774);function m(t){const{permalink:e,title:n,subLabel:r,isNext:i}=t;return(0,s.jsxs)(f.A,{className:(0,u.A)("pagination-nav__link",i?"pagination-nav__link--next":"pagination-nav__link--prev"),to:e,children:[r&&(0,s.jsx)("div",{className:"pagination-nav__sublabel",children:r}),(0,s.jsx)("div",{className:"pagination-nav__label",children:n})]})}function g(t){const{previous:e,next:n}=t;return(0,s.jsxs)("nav",{className:"pagination-nav docusaurus-mt-lg","aria-label":(0,p.T)({id:"theme.docs.paginator.navAriaLabel",message:"Docs pages",description:"The ARIA label for the docs pagination"}),children:[e&&(0,s.jsx)(m,{...e,subLabel:(0,s.jsx)(p.A,{id:"theme.docs.paginator.previous",description:"The label used to navigate to the previous doc",children:"Previous"})}),n&&(0,s.jsx)(m,{...n,subLabel:(0,s.jsx)(p.A,{id:"theme.docs.paginator.next",description:"The label used to navigate to the next doc",children:"Next"}),isNext:!0})]})}function y(){const{metadata:t}=c();return(0,s.jsx)(g,{previous:t.previous,next:t.next})}var k=n(4586),x=n(4070),_=n(7559),b=n(5597),C=n(2252);const v={unreleased:function(t){let{siteTitle:e,versionMetadata:n}=t;return(0,s.jsx)(p.A,{id:"theme.docs.versions.unreleasedVersionLabel",description:"The label used to tell the user that he's browsing an unreleased doc version",values:{siteTitle:e,versionLabel:(0,s.jsx)("b",{children:n.label})},children:"This is unreleased documentation for {siteTitle} {versionLabel} version."})},unmaintained:function(t){let{siteTitle:e,versionMetadata:n}=t;return(0,s.jsx)(p.A,{id:"theme.docs.versions.unmaintainedVersionLabel",description:"The label used to tell the user that he's browsing an unmaintained doc version",values:{siteTitle:e,versionLabel:(0,s.jsx)("b",{children:n.label})},children:"This is documentation for {siteTitle} {versionLabel}, which is no longer actively maintained."})}};function T(t){const e=v[t.versionMetadata.banner];return(0,s.jsx)(e,{...t})}function A(t){let{versionLabel:e,to:n,onClick:r}=t;return(0,s.jsx)(p.A,{id:"theme.docs.versions.latestVersionSuggestionLabel",description:"The label used to tell the user to check the latest version",values:{versionLabel:e,latestVersionLink:(0,s.jsx)("b",{children:(0,s.jsx)(f.A,{to:n,onClick:r,children:(0,s.jsx)(p.A,{id:"theme.docs.versions.latestVersionLinkLabel",description:"The label used for the latest version suggestion link label",children:"latest version"})})})},children:"For up-to-date documentation, see the {latestVersionLink} ({versionLabel})."})}function w(t){let{className:e,versionMetadata:n}=t;const{siteConfig:{title:r}}=(0,k.A)(),{pluginId:i}=(0,x.vT)({failfast:!0}),{savePreferredVersionName:o}=(0,b.g1)(i),{latestDocSuggestion:a,latestVersionSuggestion:l}=(0,x.HW)(i),c=a??(h=l).docs.find((t=>t.id===h.mainDocId));var h;return(0,s.jsxs)("div",{className:(0,u.A)(e,_.G.docs.docVersionBanner,"alert alert--warning margin-bottom--md"),role:"alert",children:[(0,s.jsx)("div",{children:(0,s.jsx)(T,{siteTitle:r,versionMetadata:n})}),(0,s.jsx)("div",{className:"margin-top--md",children:(0,s.jsx)(A,{versionLabel:l.label,to:c.path,onClick:()=>o(l.name)})})]})}function S(t){let{className:e}=t;const n=(0,C.r)();return n.banner?(0,s.jsx)(w,{className:e,versionMetadata:n}):null}function I(t){let{className:e}=t;const n=(0,C.r)();return n.badge?(0,s.jsx)("span",{className:(0,u.A)(e,_.G.docs.docVersionBadge,"badge badge--secondary"),children:(0,s.jsx)(p.A,{id:"theme.docs.versionBadge.label",values:{versionLabel:n.label},children:"Version: {versionLabel}"})}):null}const L={tag:"tag_zVej",tagRegular:"tagRegular_sFm0",tagWithCount:"tagWithCount_h2kH"};function E(t){let{permalink:e,label:n,count:r,description:i}=t;return(0,s.jsxs)(f.A,{href:e,title:i,className:(0,u.A)(L.tag,r?L.tagWithCount:L.tagRegular),children:[n,r&&(0,s.jsx)("span",{children:r})]})}const B={tags:"tags_jXut",tag:"tag_QGVx"};function F(t){let{tags:e}=t;return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)("b",{children:(0,s.jsx)(p.A,{id:"theme.tags.tagsListLabel",description:"The label alongside a tag list",children:"Tags:"})}),(0,s.jsx)("ul",{className:(0,u.A)(B.tags,"padding--none","margin-left--sm"),children:e.map((t=>(0,s.jsx)("li",{className:B.tag,children:(0,s.jsx)(E,{...t})},t.permalink)))})]})}const N={iconEdit:"iconEdit_Z9Sw"};function M(t){let{className:e,...n}=t;return(0,s.jsx)("svg",{fill:"currentColor",height:"20",width:"20",viewBox:"0 0 40 40",className:(0,u.A)(N.iconEdit,e),"aria-hidden":"true",...n,children:(0,s.jsx)("g",{children:(0,s.jsx)("path",{d:"m34.5 11.7l-3 3.1-6.3-6.3 3.1-3q0.5-0.5 1.2-0.5t1.1 0.5l3.9 3.9q0.5 0.4 0.5 1.1t-0.5 1.2z m-29.5 17.1l18.4-18.5 6.3 6.3-18.4 18.4h-6.3v-6.2z"})})})}function j(t){let{editUrl:e}=t;return(0,s.jsxs)(f.A,{to:e,className:_.G.common.editThisPage,children:[(0,s.jsx)(M,{}),(0,s.jsx)(p.A,{id:"theme.common.editThisPage",description:"The link label to edit the current page",children:"Edit this page"})]})}function O(t){void 0===t&&(t={});const{i18n:{currentLocale:e}}=(0,k.A)(),n=function(){const{i18n:{currentLocale:t,localeConfigs:e}}=(0,k.A)();return e[t].calendar}();return new Intl.DateTimeFormat(e,{calendar:n,...t})}function R(t){let{lastUpdatedAt:e}=t;const n=new Date(e),r=O({day:"numeric",month:"short",year:"numeric",timeZone:"UTC"}).format(n);return(0,s.jsx)(p.A,{id:"theme.lastUpdated.atDate",description:"The words used to describe on which date a page has been last updated",values:{date:(0,s.jsx)("b",{children:(0,s.jsx)("time",{dateTime:n.toISOString(),itemProp:"dateModified",children:r})})},children:" on {date}"})}function D(t){let{lastUpdatedBy:e}=t;return(0,s.jsx)(p.A,{id:"theme.lastUpdated.byUser",description:"The words used to describe by who the page has been last updated",values:{user:(0,s.jsx)("b",{children:e})},children:" by {user}"})}function q(t){let{lastUpdatedAt:e,lastUpdatedBy:n}=t;return(0,s.jsxs)("span",{className:_.G.common.lastUpdated,children:[(0,s.jsx)(p.A,{id:"theme.lastUpdated.lastUpdatedAtBy",description:"The sentence used to display when a page has been last updated, and by who",values:{atDate:e?(0,s.jsx)(R,{lastUpdatedAt:e}):"",byUser:n?(0,s.jsx)(D,{lastUpdatedBy:n}):""},children:"Last updated{atDate}{byUser}"}),!1]})}const $={lastUpdated:"lastUpdated_JAkA"};function P(t){let{className:e,editUrl:n,lastUpdatedAt:r,lastUpdatedBy:i}=t;return(0,s.jsxs)("div",{className:(0,u.A)("row",e),children:[(0,s.jsx)("div",{className:"col",children:n&&(0,s.jsx)(j,{editUrl:n})}),(0,s.jsx)("div",{className:(0,u.A)("col",$.lastUpdated),children:(r||i)&&(0,s.jsx)(q,{lastUpdatedAt:r,lastUpdatedBy:i})})]})}function z(){const{metadata:t}=c(),{editUrl:e,lastUpdatedAt:n,lastUpdatedBy:r,tags:i}=t,o=i.length>0,a=!!(e||n||r);return o||a?(0,s.jsxs)("footer",{className:(0,u.A)(_.G.docs.docFooter,"docusaurus-mt-lg"),children:[o&&(0,s.jsx)("div",{className:(0,u.A)("row margin-top--sm",_.G.docs.docFooterTagsRow),children:(0,s.jsx)("div",{className:"col",children:(0,s.jsx)(F,{tags:i})})}),a&&(0,s.jsx)(P,{className:(0,u.A)("margin-top--sm",_.G.docs.docFooterEditMetaRow),editUrl:e,lastUpdatedAt:n,lastUpdatedBy:r})]}):null}var U=n(1422),W=n(6342);function H(t){const e=t.map((t=>({...t,parentIndex:-1,children:[]}))),n=Array(7).fill(-1);e.forEach(((t,e)=>{const r=n.slice(2,t.level);t.parentIndex=Math.max(...r),n[t.level]=e}));const r=[];return e.forEach((t=>{const{parentIndex:n,...i}=t;n>=0?e[n].children.push(i):r.push(i)})),r}function V(t){let{toc:e,minHeadingLevel:n,maxHeadingLevel:r}=t;return e.flatMap((t=>{const e=V({toc:t.children,minHeadingLevel:n,maxHeadingLevel:r});return function(t){return t.level>=n&&t.level<=r}(t)?[{...t,children:e}]:e}))}function Y(t){const e=t.getBoundingClientRect();return e.top===e.bottom?Y(t.parentNode):e}function G(t,e){let{anchorTopOffset:n}=e;const r=t.find((t=>Y(t).top>=n));if(r){return function(t){return t.top>0&&t.bottom{t.current=e?0:document.querySelector(".navbar").clientHeight}),[e]),t}function K(t){const e=(0,r.useRef)(void 0),n=X();(0,r.useEffect)((()=>{if(!t)return()=>{};const{linkClassName:r,linkActiveClassName:i,minHeadingLevel:o,maxHeadingLevel:s}=t;function a(){const t=function(t){return Array.from(document.getElementsByClassName(t))}(r),a=function(t){let{minHeadingLevel:e,maxHeadingLevel:n}=t;const r=[];for(let i=e;i<=n;i+=1)r.push(`h${i}.anchor`);return Array.from(document.querySelectorAll(r.join()))}({minHeadingLevel:o,maxHeadingLevel:s}),l=G(a,{anchorTopOffset:n.current}),c=t.find((t=>l&&l.id===function(t){return decodeURIComponent(t.href.substring(t.href.indexOf("#")+1))}(t)));t.forEach((t=>{!function(t,n){n?(e.current&&e.current!==t&&e.current.classList.remove(i),t.classList.add(i),e.current=t):t.classList.remove(i)}(t,t===c)}))}return document.addEventListener("scroll",a),document.addEventListener("resize",a),a(),()=>{document.removeEventListener("scroll",a),document.removeEventListener("resize",a)}}),[t,n])}function Z(t){let{toc:e,className:n,linkClassName:r,isChild:i}=t;return e.length?(0,s.jsx)("ul",{className:i?void 0:n,children:e.map((t=>(0,s.jsxs)("li",{children:[(0,s.jsx)(f.A,{to:`#${t.id}`,className:r??void 0,dangerouslySetInnerHTML:{__html:t.value}}),(0,s.jsx)(Z,{isChild:!0,toc:t.children,className:n,linkClassName:r})]},t.id)))}):null}const J=r.memo(Z);function Q(t){let{toc:e,className:n="table-of-contents table-of-contents__left-border",linkClassName:i="table-of-contents__link",linkActiveClassName:o,minHeadingLevel:a,maxHeadingLevel:l,...c}=t;const h=(0,W.p)(),u=a??h.tableOfContents.minHeadingLevel,d=l??h.tableOfContents.maxHeadingLevel,p=function(t){let{toc:e,minHeadingLevel:n,maxHeadingLevel:i}=t;return(0,r.useMemo)((()=>V({toc:H(e),minHeadingLevel:n,maxHeadingLevel:i})),[e,n,i])}({toc:e,minHeadingLevel:u,maxHeadingLevel:d});return K((0,r.useMemo)((()=>{if(i&&o)return{linkClassName:i,linkActiveClassName:o,minHeadingLevel:u,maxHeadingLevel:d}}),[i,o,u,d])),(0,s.jsx)(J,{toc:p,className:n,linkClassName:i,...c})}const tt={tocCollapsibleButton:"tocCollapsibleButton_TO0P",tocCollapsibleButtonExpanded:"tocCollapsibleButtonExpanded_MG3E"};function et(t){let{collapsed:e,...n}=t;return(0,s.jsx)("button",{type:"button",...n,className:(0,u.A)("clean-btn",tt.tocCollapsibleButton,!e&&tt.tocCollapsibleButtonExpanded,n.className),children:(0,s.jsx)(p.A,{id:"theme.TOCCollapsible.toggleButtonLabel",description:"The label used by the button on the collapsible TOC component",children:"On this page"})})}const nt={tocCollapsible:"tocCollapsible_ETCw",tocCollapsibleContent:"tocCollapsibleContent_vkbj",tocCollapsibleExpanded:"tocCollapsibleExpanded_sAul"};function rt(t){let{toc:e,className:n,minHeadingLevel:r,maxHeadingLevel:i}=t;const{collapsed:o,toggleCollapsed:a}=(0,U.u)({initialState:!0});return(0,s.jsxs)("div",{className:(0,u.A)(nt.tocCollapsible,!o&&nt.tocCollapsibleExpanded,n),children:[(0,s.jsx)(et,{collapsed:o,onClick:a}),(0,s.jsx)(U.N,{lazy:!0,className:nt.tocCollapsibleContent,collapsed:o,children:(0,s.jsx)(Q,{toc:e,minHeadingLevel:r,maxHeadingLevel:i})})]})}const it={tocMobile:"tocMobile_ITEo"};function ot(){const{toc:t,frontMatter:e}=c();return(0,s.jsx)(rt,{toc:t,minHeadingLevel:e.toc_min_heading_level,maxHeadingLevel:e.toc_max_heading_level,className:(0,u.A)(_.G.docs.docTocMobile,it.tocMobile)})}const st={tableOfContents:"tableOfContents_bqdL",docItemContainer:"docItemContainer_F8PC"},at="table-of-contents__link toc-highlight",lt="table-of-contents__link--active";function ct(t){let{className:e,...n}=t;return(0,s.jsx)("div",{className:(0,u.A)(st.tableOfContents,"thin-scrollbar",e),children:(0,s.jsx)(Q,{...n,linkClassName:at,linkActiveClassName:lt})})}function ht(){const{toc:t,frontMatter:e}=c();return(0,s.jsx)(ct,{toc:t,minHeadingLevel:e.toc_min_heading_level,maxHeadingLevel:e.toc_max_heading_level,className:_.G.docs.docTocDesktop})}var ut,dt,pt,ft=n(1107),mt=n(8453),gt=n(5260),yt=n(2303),kt=n(1765),xt={characterData:!0,characterDataOldValue:!0,childList:!0,subtree:!0};function _t(t){var e=window.getSelection();e.empty(),e.addRange(t)}function bt(t){return(t.metaKey||t.ctrlKey)&&!t.altKey&&"KeyZ"===t.code}function Ct(t){t=[t.firstChild];for(var e,n="";e=t.pop();)e.nodeType===Node.TEXT_NODE?n+=e.textContent:e.nodeType===Node.ELEMENT_NODE&&"BR"===e.nodeName&&(n+="\n"),e.nextSibling&&t.push(e.nextSibling),e.firstChild&&t.push(e.firstChild);return"\n"!==n[n.length-1]&&(n+="\n"),n}function vt(t){var e=window.getSelection().getRangeAt(0),n=e.collapsed?0:e.toString().length,r=document.createRange();return r.setStart(t,0),r.setEnd(e.startContainer,e.startOffset),{position:t=(r=r.toString()).length,extent:n,content:r=(r=r.split("\n"))[e=r.length-1],line:e}}function Tt(t,e,n){0>=e&&(e=0),(!n||0>n)&&(n=e);var r=document.createRange();t=[t.firstChild];for(var i,o=0,s=e;i=t[t.length-1];){if(i.nodeType===Node.TEXT_NODE){if(o+i.textContent.length>=s){var a=s-o;if(s===e){if(s=r,a=s){if(s===e){if(a=r,0";case dt.template:return"template";case dt.ellipsis:return"...";case dt.backQuote:return"`";case dt.dollarBraceL:return"${";case dt.at:return"@";case dt.hash:return"#";case dt.eq:return"=";case dt.assign:return"_=";case dt.preIncDec:case dt.postIncDec:return"++/--";case dt.bang:return"!";case dt.tilde:return"~";case dt.pipeline:return"|>";case dt.nullishCoalescing:return"??";case dt.logicalOR:return"||";case dt.logicalAND:return"&&";case dt.bitwiseOR:return"|";case dt.bitwiseXOR:return"^";case dt.bitwiseAND:return"&";case dt.equality:return"==/!=";case dt.lessThan:return"<";case dt.greaterThan:return">";case dt.relationalOrEqual:return"<=/>=";case dt.bitShiftL:return"<<";case dt.bitShiftR:return">>/>>>";case dt.plus:return"+";case dt.minus:return"-";case dt.modulo:return"%";case dt.star:return"*";case dt.slash:return"/";case dt.exponent:return"**";case dt.jsxName:return"jsxName";case dt.jsxText:return"jsxText";case dt.jsxEmptyText:return"jsxEmptyText";case dt.jsxTagStart:return"jsxTagStart";case dt.jsxTagEnd:return"jsxTagEnd";case dt.typeParameterStart:return"typeParameterStart";case dt.nonNullAssertion:return"nonNullAssertion";case dt._break:return"break";case dt._case:return"case";case dt._catch:return"catch";case dt._continue:return"continue";case dt._debugger:return"debugger";case dt._default:return"default";case dt._do:return"do";case dt._else:return"else";case dt._finally:return"finally";case dt._for:return"for";case dt._function:return"function";case dt._if:return"if";case dt._return:return"return";case dt._switch:return"switch";case dt._throw:return"throw";case dt._try:return"try";case dt._var:return"var";case dt._let:return"let";case dt._const:return"const";case dt._while:return"while";case dt._with:return"with";case dt._new:return"new";case dt._this:return"this";case dt._super:return"super";case dt._class:return"class";case dt._extends:return"extends";case dt._export:return"export";case dt._import:return"import";case dt._yield:return"yield";case dt._null:return"null";case dt._true:return"true";case dt._false:return"false";case dt._in:return"in";case dt._instanceof:return"instanceof";case dt._typeof:return"typeof";case dt._void:return"void";case dt._delete:return"delete";case dt._async:return"async";case dt._get:return"get";case dt._set:return"set";case dt._declare:return"declare";case dt._readonly:return"readonly";case dt._abstract:return"abstract";case dt._static:return"static";case dt._public:return"public";case dt._private:return"private";case dt._protected:return"protected";case dt._override:return"override";case dt._as:return"as";case dt._enum:return"enum";case dt._type:return"type";case dt._implements:return"implements";default:return""}}(t)}"`)}function Gt(t="Unexpected token",e=Bt.start){if(Bt.error)return;const n=new SyntaxError(t);n.pos=e,Bt.error=n,Bt.pos=Ft.length,Le(dt.eof)}const Xt=[9,11,12,pt.space,pt.nonBreakingSpace,pt.oghamSpaceMark,8192,8193,8194,8195,8196,8197,8198,8199,8200,8201,8202,8239,8287,12288,65279],Kt=/(?:\s|\/\/.*|\/\*[^]*?\*\/)*/g,Zt=new Uint8Array(65536);for(const cl of Xt)Zt[cl]=1;function Jt(t){if(t<48)return 36===t;if(t<58)return!0;if(t<65)return!1;if(t<91)return!0;if(t<97)return 95===t;if(t<123)return!0;if(t<128)return!1;throw new Error("Should not be called with non-ASCII char code.")}const Qt=new Uint8Array(65536);for(let cl=0;cl<128;cl++)Qt[cl]=Jt(cl)?1:0;for(let cl=128;cl<65536;cl++)Qt[cl]=1;for(const cl of Xt)Qt[cl]=0;Qt[8232]=0,Qt[8233]=0;const te=Qt.slice();for(let cl=pt.digit0;cl<=pt.digit9;cl++)te[cl]=0;const ee=new Int32Array([-1,27,783,918,1755,2376,2862,3483,-1,3699,-1,4617,4752,4833,5130,5508,5940,-1,6480,6939,7749,8181,8451,8613,-1,8829,-1,-1,-1,54,243,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,432,-1,-1,-1,675,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,81,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,108,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,135,-1,-1,-1,-1,-1,-1,-1,-1,-1,162,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,189,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,216,-1,-1,-1,-1,-1,-1,ut._abstract<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,270,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,297,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,324,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,351,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,378,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,405,-1,-1,-1,-1,-1,-1,-1,-1,ut._accessor<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,ut._as<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,459,-1,-1,-1,-1,-1,594,-1,-1,-1,-1,-1,-1,486,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,513,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,540,-1,-1,-1,-1,-1,-1,ut._assert<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,567,-1,-1,-1,-1,-1,-1,-1,ut._asserts<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,621,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,648,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,ut._async<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,702,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,729,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,756,-1,-1,-1,-1,-1,-1,ut._await<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,810,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,837,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,864,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,891,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1+(dt._break<<1),-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,945,-1,-1,-1,-1,-1,-1,1107,-1,-1,-1,1242,-1,-1,1350,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,972,1026,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,999,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1+(dt._case<<1),-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1053,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1080,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1+(dt._catch<<1),-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1134,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1161,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1188,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1215,-1,-1,-1,-1,-1,-1,-1,ut._checks<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1269,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1296,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1323,-1,-1,-1,-1,-1,-1,-1,1+(dt._class<<1),-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1377,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1404,1620,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1431,-1,-1,-1,-1,-1,-1,1+(dt._const<<1),-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1458,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1485,-1,-1,-1,-1,-1,-1,-1,-1,1512,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1539,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1566,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1593,-1,-1,-1,-1,-1,-1,-1,-1,ut._constructor<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1647,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1674,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1701,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1728,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1+(dt._continue<<1),-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1782,-1,-1,-1,-1,-1,-1,-1,-1,-1,2349,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1809,1971,-1,-1,2106,-1,-1,-1,-1,-1,2241,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1836,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1863,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1890,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1917,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1944,-1,-1,-1,-1,-1,-1,-1,-1,1+(dt._debugger<<1),-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1998,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2025,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2052,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2079,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,ut._declare<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2133,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2160,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2187,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2214,-1,-1,-1,-1,-1,-1,1+(dt._default<<1),-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2268,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2295,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2322,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1+(dt._delete<<1),-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1+(dt._do<<1),-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2403,-1,2484,-1,-1,-1,-1,-1,-1,-1,-1,-1,2565,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2430,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2457,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1+(dt._else<<1),-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2511,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2538,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,ut._enum<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2592,-1,-1,-1,2727,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2619,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2646,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2673,-1,-1,-1,-1,-1,-1,1+(dt._export<<1),-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2700,-1,-1,-1,-1,-1,-1,-1,ut._exports<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2754,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2781,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2808,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2835,-1,-1,-1,-1,-1,-1,-1,1+(dt._extends<<1),-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2889,-1,-1,-1,-1,-1,-1,-1,2997,-1,-1,-1,-1,-1,3159,-1,-1,3213,-1,-1,3294,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2916,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2943,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2970,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1+(dt._false<<1),-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3024,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3051,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3078,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3105,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3132,-1,1+(dt._finally<<1),-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3186,-1,-1,-1,-1,-1,-1,-1,-1,1+(dt._for<<1),-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3240,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3267,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,ut._from<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3321,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3348,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3375,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3402,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3429,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3456,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1+(dt._function<<1),-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3510,-1,-1,-1,-1,-1,-1,3564,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3537,-1,-1,-1,-1,-1,-1,ut._get<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3591,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3618,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3645,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3672,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,ut._global<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3726,-1,-1,-1,-1,-1,-1,3753,4077,-1,-1,-1,-1,4590,-1,-1,-1,-1,-1,-1,-1,1+(dt._if<<1),-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3780,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3807,-1,-1,3996,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3834,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3861,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3888,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3915,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3942,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3969,-1,-1,-1,-1,-1,-1,-1,ut._implements<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4023,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4050,-1,-1,-1,-1,-1,-1,1+(dt._import<<1),-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1+(dt._in<<1),-1,-1,-1,-1,-1,4104,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4185,4401,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4131,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4158,-1,-1,-1,-1,-1,-1,-1,-1,ut._infer<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4212,-1,-1,-1,-1,-1,-1,-1,4239,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4266,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4293,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4320,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4347,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4374,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1+(dt._instanceof<<1),-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4428,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4455,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4482,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4509,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4536,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4563,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,ut._interface<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,ut._is<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4644,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4671,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4698,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4725,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,ut._keyof<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4779,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4806,-1,-1,-1,-1,-1,-1,1+(dt._let<<1),-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4860,-1,-1,-1,-1,-1,4995,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4887,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4914,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4941,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4968,-1,-1,-1,-1,-1,-1,-1,ut._mixins<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5022,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5049,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5076,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5103,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,ut._module<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5157,-1,-1,-1,5373,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5427,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5184,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5211,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5238,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5265,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5292,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5319,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5346,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,ut._namespace<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5400,-1,-1,-1,1+(dt._new<<1),-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5454,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5481,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1+(dt._null<<1),-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5535,-1,-1,-1,-1,-1,-1,-1,-1,-1,5562,-1,-1,-1,-1,5697,5751,-1,-1,-1,-1,ut._of<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5589,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5616,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5643,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5670,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,ut._opaque<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5724,-1,-1,-1,-1,-1,-1,ut._out<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5778,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5805,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5832,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5859,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5886,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5913,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,ut._override<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5967,-1,-1,6345,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5994,-1,-1,-1,-1,-1,6129,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6021,-1,-1,-1,-1,-1,6048,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6075,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6102,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,ut._private<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6156,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6183,-1,-1,-1,-1,-1,-1,-1,-1,-1,6318,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6210,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6237,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6264,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6291,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,ut._protected<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,ut._proto<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6372,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6399,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6426,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6453,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,ut._public<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6507,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6534,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6696,-1,-1,6831,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6561,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6588,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6615,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6642,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6669,-1,ut._readonly<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6723,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6750,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6777,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6804,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,ut._require<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6858,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6885,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6912,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1+(dt._return<<1),-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6966,-1,-1,-1,7182,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7236,7371,-1,7479,-1,7614,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6993,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7020,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7047,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7074,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7101,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7128,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7155,-1,-1,-1,-1,-1,-1,-1,ut._satisfies<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7209,-1,-1,-1,-1,-1,-1,ut._set<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7263,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7290,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7317,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7344,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,ut._static<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7398,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7425,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7452,-1,-1,-1,-1,-1,-1,-1,-1,1+(dt._super<<1),-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7506,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7533,-1,-1,-1,-1,-1,-1,-1,-1,-1,7560,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7587,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1+(dt._switch<<1),-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7641,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7668,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7695,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7722,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,ut._symbol<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7776,-1,-1,-1,-1,-1,-1,-1,-1,-1,7938,-1,-1,-1,-1,-1,-1,8046,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7803,-1,-1,-1,-1,-1,-1,-1,-1,7857,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7830,-1,-1,-1,-1,-1,-1,-1,1+(dt._this<<1),-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7884,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7911,-1,-1,-1,1+(dt._throw<<1),-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7965,-1,-1,-1,8019,-1,-1,-1,-1,-1,-1,7992,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1+(dt._true<<1),-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1+(dt._try<<1),-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8073,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8100,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,ut._type<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8127,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8154,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1+(dt._typeof<<1),-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8208,-1,-1,-1,-1,8343,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8235,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8262,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8289,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8316,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,ut._unique<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8370,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8397,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8424,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,ut._using<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8478,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8532,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8505,-1,-1,-1,-1,-1,-1,-1,-1,1+(dt._var<<1),-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8559,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8586,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1+(dt._void<<1),-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8640,8748,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8667,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8694,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8721,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1+(dt._while<<1),-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8775,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8802,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1+(dt._with<<1),-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8856,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8883,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8910,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8937,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1+(dt._yield<<1),-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1]);var ne,re;function ie(t){const e=t.identifierRole;return e===ne.TopLevelDeclaration||e===ne.FunctionScopedDeclaration||e===ne.BlockScopedDeclaration||e===ne.ObjectShorthandTopLevelDeclaration||e===ne.ObjectShorthandFunctionScopedDeclaration||e===ne.ObjectShorthandBlockScopedDeclaration}function oe(t){const e=t.identifierRole;return e===ne.FunctionScopedDeclaration||e===ne.BlockScopedDeclaration||e===ne.ObjectShorthandFunctionScopedDeclaration||e===ne.ObjectShorthandBlockScopedDeclaration}function se(t){const e=t.identifierRole;return e===ne.TopLevelDeclaration||e===ne.ObjectShorthandTopLevelDeclaration||e===ne.ImportDeclaration}function ae(t){const e=t.identifierRole;return e===ne.TopLevelDeclaration||e===ne.BlockScopedDeclaration||e===ne.ObjectShorthandTopLevelDeclaration||e===ne.ObjectShorthandBlockScopedDeclaration}function le(t){const e=t.identifierRole;return e===ne.FunctionScopedDeclaration||e===ne.ObjectShorthandFunctionScopedDeclaration}function ce(t){return t.identifierRole===ne.ObjectShorthandTopLevelDeclaration||t.identifierRole===ne.ObjectShorthandBlockScopedDeclaration||t.identifierRole===ne.ObjectShorthandFunctionScopedDeclaration}!function(t){t[t.Access=0]="Access";t[t.ExportAccess=1]="ExportAccess";t[t.TopLevelDeclaration=2]="TopLevelDeclaration";t[t.FunctionScopedDeclaration=3]="FunctionScopedDeclaration";t[t.BlockScopedDeclaration=4]="BlockScopedDeclaration";t[t.ObjectShorthandTopLevelDeclaration=5]="ObjectShorthandTopLevelDeclaration";t[t.ObjectShorthandFunctionScopedDeclaration=6]="ObjectShorthandFunctionScopedDeclaration";t[t.ObjectShorthandBlockScopedDeclaration=7]="ObjectShorthandBlockScopedDeclaration";t[t.ObjectShorthand=8]="ObjectShorthand";t[t.ImportDeclaration=9]="ImportDeclaration";t[t.ObjectKey=10]="ObjectKey";t[t.ImportAccess=11]="ImportAccess"}(ne||(ne={})),function(t){t[t.NoChildren=0]="NoChildren";t[t.OneChild=1]="OneChild";t[t.StaticChildren=2]="StaticChildren";t[t.KeyAfterPropSpread=3]="KeyAfterPropSpread"}(re||(re={}));class he{constructor(){this.type=Bt.type,this.contextualKeyword=Bt.contextualKeyword,this.start=Bt.start,this.end=Bt.end,this.scopeDepth=Bt.scopeDepth,this.isType=Bt.isType,this.identifierRole=null,this.jsxRole=null,this.shadowsGlobal=!1,this.isAsyncOperation=!1,this.contextId=null,this.rhsEndIndex=null,this.isExpression=!1,this.numNullishCoalesceStarts=0,this.numNullishCoalesceEnds=0,this.isOptionalChainStart=!1,this.isOptionalChainEnd=!1,this.subscriptStartIndex=null,this.nullishStartIndex=null}}function ue(){Bt.tokens.push(new he),Ae()}function de(){Bt.tokens.push(new he),Bt.start=Bt.pos,function(){for(;;){if(Bt.pos>=Ft.length)return void Gt("Unterminated template");const t=Ft.charCodeAt(Bt.pos);if(t===pt.graveAccent||t===pt.dollarSign&&Ft.charCodeAt(Bt.pos+1)===pt.leftCurlyBrace)return Bt.pos===Bt.start&&ke(dt.template)?t===pt.dollarSign?(Bt.pos+=2,void Le(dt.dollarBraceL)):(++Bt.pos,void Le(dt.backQuote)):void Le(dt.template);t===pt.backslash&&Bt.pos++,Bt.pos++}}()}function pe(){Bt.type===dt.assign&&--Bt.pos,function(){const t=Bt.pos;let e=!1,n=!1;for(;;){if(Bt.pos>=Ft.length)return void Gt("Unterminated regular expression",t);const r=Ft.charCodeAt(Bt.pos);if(e)e=!1;else{if(r===pt.leftSquareBracket)n=!0;else if(r===pt.rightSquareBracket&&n)n=!1;else if(r===pt.slash&&!n)break;e=r===pt.backslash}++Bt.pos}++Bt.pos,function(){for(;Bt.pos=Ft.length){const t=Bt.tokens;return t.length>=2&&t[t.length-1].start>=Ft.length&&t[t.length-2].start>=Ft.length&&Gt("Unexpectedly reached the end of input."),void Le(dt.eof)}var t;t=Ft.charCodeAt(Bt.pos),te[t]||t===pt.backslash||t===pt.atSign&&Ft.charCodeAt(Bt.pos+1)===pt.atSign?function(){let t=0,e=0,n=Bt.pos;for(;npt.lowercaseZ));){const r=ee[t+(e-pt.lowercaseA)+1];if(-1===r)break;t=r,n++}const r=ee[t];if(r>-1&&!Qt[e])return Bt.pos=n,void(1&r?Le(r>>>1):Le(dt.name,r>>>1));for(;nFt.length)return void Gt("Unterminated comment",Bt.pos-2);Bt.pos+=2}function Se(t){let e=Ft.charCodeAt(Bt.pos+=t);if(Bt.pos=pt.digit0&&t<=pt.digit9?je(!0):t===pt.dot&&Ft.charCodeAt(Bt.pos+2)===pt.dot?(Bt.pos+=3,Le(dt.ellipsis)):(++Bt.pos,Le(dt.dot))}();case pt.leftParenthesis:return++Bt.pos,void Le(dt.parenL);case pt.rightParenthesis:return++Bt.pos,void Le(dt.parenR);case pt.semicolon:return++Bt.pos,void Le(dt.semi);case pt.comma:return++Bt.pos,void Le(dt.comma);case pt.leftSquareBracket:return++Bt.pos,void Le(dt.bracketL);case pt.rightSquareBracket:return++Bt.pos,void Le(dt.bracketR);case pt.leftCurlyBrace:return void(Et&&Ft.charCodeAt(Bt.pos+1)===pt.verticalBar?Ne(dt.braceBarL,2):(++Bt.pos,Le(dt.braceL)));case pt.rightCurlyBrace:return++Bt.pos,void Le(dt.braceR);case pt.colon:return void(Ft.charCodeAt(Bt.pos+1)===pt.colon?Ne(dt.doubleColon,2):(++Bt.pos,Le(dt.colon)));case pt.questionMark:return void function(){const t=Ft.charCodeAt(Bt.pos+1),e=Ft.charCodeAt(Bt.pos+2);t!==pt.questionMark||Et&&Bt.isType?t!==pt.dot||e>=pt.digit0&&e<=pt.digit9?(++Bt.pos,Le(dt.question)):(Bt.pos+=2,Le(dt.questionDot)):e===pt.equalsTo?Ne(dt.assign,3):Ne(dt.nullishCoalescing,2)}();case pt.atSign:return++Bt.pos,void Le(dt.at);case pt.graveAccent:return++Bt.pos,void Le(dt.backQuote);case pt.digit0:{const t=Ft.charCodeAt(Bt.pos+1);if(t===pt.lowercaseX||t===pt.uppercaseX||t===pt.lowercaseO||t===pt.uppercaseO||t===pt.lowercaseB||t===pt.uppercaseB)return void function(){Bt.pos+=2;for(;;){const t=Ft.charCodeAt(Bt.pos);if(!(t>=pt.digit0&&t<=pt.digit9||t>=pt.lowercaseA&&t<=pt.lowercaseF||t>=pt.uppercaseA&&t<=pt.uppercaseF||t===pt.underscore))break;Bt.pos++}const t=Ft.charCodeAt(Bt.pos);t===pt.lowercaseN?(++Bt.pos,Le(dt.bigint)):Le(dt.num)}()}case pt.digit1:case pt.digit2:case pt.digit3:case pt.digit4:case pt.digit5:case pt.digit6:case pt.digit7:case pt.digit8:case pt.digit9:return void je(!1);case pt.quotationMark:case pt.apostrophe:return void function(t){for(Bt.pos++;;){if(Bt.pos>=Ft.length)return void Gt("Unterminated string constant");const e=Ft.charCodeAt(Bt.pos);if(e===pt.backslash)Bt.pos++;else if(e===t)break;Bt.pos++}Bt.pos++,Le(dt.string)}(t);case pt.slash:return void(Ft.charCodeAt(Bt.pos+1)===pt.equalsTo?Ne(dt.assign,2):Ne(dt.slash,1));case pt.percentSign:case pt.asterisk:return void function(t){let e=t===pt.asterisk?dt.star:dt.modulo,n=1,r=Ft.charCodeAt(Bt.pos+1);t===pt.asterisk&&r===pt.asterisk&&(n++,r=Ft.charCodeAt(Bt.pos+2),e=dt.exponent),r===pt.equalsTo&&Ft.charCodeAt(Bt.pos+2)!==pt.greaterThan&&(n++,e=dt.assign),Ne(e,n)}(t);case pt.verticalBar:case pt.ampersand:return void function(t){const e=Ft.charCodeAt(Bt.pos+1);if(e!==t){if(t===pt.verticalBar){if(e===pt.greaterThan)return void Ne(dt.pipeline,2);if(e===pt.rightCurlyBrace&&Et)return void Ne(dt.braceBarR,2)}e!==pt.equalsTo?Ne(t===pt.verticalBar?dt.bitwiseOR:dt.bitwiseAND,1):Ne(dt.assign,2)}else Ft.charCodeAt(Bt.pos+2)===pt.equalsTo?Ne(dt.assign,3):Ne(t===pt.verticalBar?dt.logicalOR:dt.logicalAND,2)}(t);case pt.caret:return void(Ft.charCodeAt(Bt.pos+1)===pt.equalsTo?Ne(dt.assign,2):Ne(dt.bitwiseXOR,1));case pt.plusSign:case pt.dash:return void function(t){const e=Ft.charCodeAt(Bt.pos+1);e!==t?e===pt.equalsTo?Ne(dt.assign,2):t===pt.plusSign?Ne(dt.plus,1):Ne(dt.minus,1):Ne(dt.preIncDec,2)}(t);case pt.lessThan:return void function(){const t=Ft.charCodeAt(Bt.pos+1);if(t===pt.lessThan)return Ft.charCodeAt(Bt.pos+2)===pt.equalsTo?void Ne(dt.assign,3):void(Bt.isType?Ne(dt.lessThan,1):Ne(dt.bitShiftL,2));t===pt.equalsTo?Ne(dt.relationalOrEqual,2):Ne(dt.lessThan,1)}();case pt.greaterThan:return void Ee();case pt.equalsTo:case pt.exclamationMark:return void function(t){const e=Ft.charCodeAt(Bt.pos+1);if(e!==pt.equalsTo)return t===pt.equalsTo&&e===pt.greaterThan?(Bt.pos+=2,void Le(dt.arrow)):void Ne(t===pt.equalsTo?dt.eq:dt.bang,1);Ne(dt.equality,Ft.charCodeAt(Bt.pos+2)===pt.equalsTo?3:2)}(t);case pt.tilde:return void Ne(dt.tilde,1)}Gt(`Unexpected character '${String.fromCharCode(t)}'`,Bt.pos)}function Ne(t,e){Bt.pos+=e,Le(t)}function Me(){for(;;){const t=Ft.charCodeAt(Bt.pos);if(!(t>=pt.digit0&&t<=pt.digit9||t===pt.underscore))break;Bt.pos++}}function je(t){let e=!1,n=!1;t||Me();let r=Ft.charCodeAt(Bt.pos);r===pt.dot&&(++Bt.pos,Me(),r=Ft.charCodeAt(Bt.pos)),r!==pt.uppercaseE&&r!==pt.lowercaseE||(r=Ft.charCodeAt(++Bt.pos),r!==pt.plusSign&&r!==pt.dash||++Bt.pos,Me(),r=Ft.charCodeAt(Bt.pos)),r===pt.lowercaseN?(++Bt.pos,e=!0):r===pt.lowercaseM&&(++Bt.pos,n=!0),Le(e?dt.bigint:n?dt.decimal:dt.num)}function Oe(t,e=t.currentIndex()){let n=e+1;if(Re(t,n)){const r=t.identifierNameAtIndex(e);return{isType:!1,leftName:r,rightName:r,endIndex:n}}if(n++,Re(t,n))return{isType:!0,leftName:null,rightName:null,endIndex:n};if(n++,Re(t,n))return{isType:!1,leftName:t.identifierNameAtIndex(e),rightName:t.identifierNameAtIndex(e+2),endIndex:n};if(n++,Re(t,n))return{isType:!0,leftName:null,rightName:null,endIndex:n};throw new Error(`Unexpected import/export specifier at ${e}`)}function Re(t,e){const n=t.tokens[e];return n.type===dt.braceR||n.type===dt.comma}const De=new Map([["quot",'"'],["amp","&"],["apos","'"],["lt","<"],["gt",">"],["nbsp","\xa0"],["iexcl","\xa1"],["cent","\xa2"],["pound","\xa3"],["curren","\xa4"],["yen","\xa5"],["brvbar","\xa6"],["sect","\xa7"],["uml","\xa8"],["copy","\xa9"],["ordf","\xaa"],["laquo","\xab"],["not","\xac"],["shy","\xad"],["reg","\xae"],["macr","\xaf"],["deg","\xb0"],["plusmn","\xb1"],["sup2","\xb2"],["sup3","\xb3"],["acute","\xb4"],["micro","\xb5"],["para","\xb6"],["middot","\xb7"],["cedil","\xb8"],["sup1","\xb9"],["ordm","\xba"],["raquo","\xbb"],["frac14","\xbc"],["frac12","\xbd"],["frac34","\xbe"],["iquest","\xbf"],["Agrave","\xc0"],["Aacute","\xc1"],["Acirc","\xc2"],["Atilde","\xc3"],["Auml","\xc4"],["Aring","\xc5"],["AElig","\xc6"],["Ccedil","\xc7"],["Egrave","\xc8"],["Eacute","\xc9"],["Ecirc","\xca"],["Euml","\xcb"],["Igrave","\xcc"],["Iacute","\xcd"],["Icirc","\xce"],["Iuml","\xcf"],["ETH","\xd0"],["Ntilde","\xd1"],["Ograve","\xd2"],["Oacute","\xd3"],["Ocirc","\xd4"],["Otilde","\xd5"],["Ouml","\xd6"],["times","\xd7"],["Oslash","\xd8"],["Ugrave","\xd9"],["Uacute","\xda"],["Ucirc","\xdb"],["Uuml","\xdc"],["Yacute","\xdd"],["THORN","\xde"],["szlig","\xdf"],["agrave","\xe0"],["aacute","\xe1"],["acirc","\xe2"],["atilde","\xe3"],["auml","\xe4"],["aring","\xe5"],["aelig","\xe6"],["ccedil","\xe7"],["egrave","\xe8"],["eacute","\xe9"],["ecirc","\xea"],["euml","\xeb"],["igrave","\xec"],["iacute","\xed"],["icirc","\xee"],["iuml","\xef"],["eth","\xf0"],["ntilde","\xf1"],["ograve","\xf2"],["oacute","\xf3"],["ocirc","\xf4"],["otilde","\xf5"],["ouml","\xf6"],["divide","\xf7"],["oslash","\xf8"],["ugrave","\xf9"],["uacute","\xfa"],["ucirc","\xfb"],["uuml","\xfc"],["yacute","\xfd"],["thorn","\xfe"],["yuml","\xff"],["OElig","\u0152"],["oelig","\u0153"],["Scaron","\u0160"],["scaron","\u0161"],["Yuml","\u0178"],["fnof","\u0192"],["circ","\u02c6"],["tilde","\u02dc"],["Alpha","\u0391"],["Beta","\u0392"],["Gamma","\u0393"],["Delta","\u0394"],["Epsilon","\u0395"],["Zeta","\u0396"],["Eta","\u0397"],["Theta","\u0398"],["Iota","\u0399"],["Kappa","\u039a"],["Lambda","\u039b"],["Mu","\u039c"],["Nu","\u039d"],["Xi","\u039e"],["Omicron","\u039f"],["Pi","\u03a0"],["Rho","\u03a1"],["Sigma","\u03a3"],["Tau","\u03a4"],["Upsilon","\u03a5"],["Phi","\u03a6"],["Chi","\u03a7"],["Psi","\u03a8"],["Omega","\u03a9"],["alpha","\u03b1"],["beta","\u03b2"],["gamma","\u03b3"],["delta","\u03b4"],["epsilon","\u03b5"],["zeta","\u03b6"],["eta","\u03b7"],["theta","\u03b8"],["iota","\u03b9"],["kappa","\u03ba"],["lambda","\u03bb"],["mu","\u03bc"],["nu","\u03bd"],["xi","\u03be"],["omicron","\u03bf"],["pi","\u03c0"],["rho","\u03c1"],["sigmaf","\u03c2"],["sigma","\u03c3"],["tau","\u03c4"],["upsilon","\u03c5"],["phi","\u03c6"],["chi","\u03c7"],["psi","\u03c8"],["omega","\u03c9"],["thetasym","\u03d1"],["upsih","\u03d2"],["piv","\u03d6"],["ensp","\u2002"],["emsp","\u2003"],["thinsp","\u2009"],["zwnj","\u200c"],["zwj","\u200d"],["lrm","\u200e"],["rlm","\u200f"],["ndash","\u2013"],["mdash","\u2014"],["lsquo","\u2018"],["rsquo","\u2019"],["sbquo","\u201a"],["ldquo","\u201c"],["rdquo","\u201d"],["bdquo","\u201e"],["dagger","\u2020"],["Dagger","\u2021"],["bull","\u2022"],["hellip","\u2026"],["permil","\u2030"],["prime","\u2032"],["Prime","\u2033"],["lsaquo","\u2039"],["rsaquo","\u203a"],["oline","\u203e"],["frasl","\u2044"],["euro","\u20ac"],["image","\u2111"],["weierp","\u2118"],["real","\u211c"],["trade","\u2122"],["alefsym","\u2135"],["larr","\u2190"],["uarr","\u2191"],["rarr","\u2192"],["darr","\u2193"],["harr","\u2194"],["crarr","\u21b5"],["lArr","\u21d0"],["uArr","\u21d1"],["rArr","\u21d2"],["dArr","\u21d3"],["hArr","\u21d4"],["forall","\u2200"],["part","\u2202"],["exist","\u2203"],["empty","\u2205"],["nabla","\u2207"],["isin","\u2208"],["notin","\u2209"],["ni","\u220b"],["prod","\u220f"],["sum","\u2211"],["minus","\u2212"],["lowast","\u2217"],["radic","\u221a"],["prop","\u221d"],["infin","\u221e"],["ang","\u2220"],["and","\u2227"],["or","\u2228"],["cap","\u2229"],["cup","\u222a"],["int","\u222b"],["there4","\u2234"],["sim","\u223c"],["cong","\u2245"],["asymp","\u2248"],["ne","\u2260"],["equiv","\u2261"],["le","\u2264"],["ge","\u2265"],["sub","\u2282"],["sup","\u2283"],["nsub","\u2284"],["sube","\u2286"],["supe","\u2287"],["oplus","\u2295"],["otimes","\u2297"],["perp","\u22a5"],["sdot","\u22c5"],["lceil","\u2308"],["rceil","\u2309"],["lfloor","\u230a"],["rfloor","\u230b"],["lang","\u2329"],["rang","\u232a"],["loz","\u25ca"],["spades","\u2660"],["clubs","\u2663"],["hearts","\u2665"],["diams","\u2666"]]);function qe(t){const[e,n]=$e(t.jsxPragma||"React.createElement"),[r,i]=$e(t.jsxFragmentPragma||"React.Fragment");return{base:e,suffix:n,fragmentBase:r,fragmentSuffix:i}}function $e(t){let e=t.indexOf(".");return-1===e&&(e=t.length),[t.slice(0,e),t.slice(e)]}class Pe{getPrefixCode(){return""}getHoistedCode(){return""}getSuffixCode(){return""}}class ze extends Pe{__init(){this.lastLineNumber=1}__init2(){this.lastIndex=0}__init3(){this.filenameVarName=null}__init4(){this.esmAutomaticImportNameResolutions={}}__init5(){this.cjsAutomaticModuleNameResolutions={}}constructor(t,e,n,r,i){super(),this.rootTransformer=t,this.tokens=e,this.importProcessor=n,this.nameManager=r,this.options=i,ze.prototype.__init.call(this),ze.prototype.__init2.call(this),ze.prototype.__init3.call(this),ze.prototype.__init4.call(this),ze.prototype.__init5.call(this),this.jsxPragmaInfo=qe(i),this.isAutomaticRuntime="automatic"===i.jsxRuntime,this.jsxImportSource=i.jsxImportSource||"react"}process(){return!!this.tokens.matches1(dt.jsxTagStart)&&(this.processJSXTag(),!0)}getPrefixCode(){let t="";if(this.filenameVarName&&(t+=`const ${this.filenameVarName} = ${JSON.stringify(this.options.filePath||"")};`),this.isAutomaticRuntime)if(this.importProcessor)for(const[e,n]of Object.entries(this.cjsAutomaticModuleNameResolutions))t+=`var ${n} = require("${e}");`;else{const{createElement:e,...n}=this.esmAutomaticImportNameResolutions;e&&(t+=`import {createElement as ${e}} from "${this.jsxImportSource}";`);const r=Object.entries(n).map((([t,e])=>`${t} as ${e}`)).join(", ");if(r){t+=`import {${r}} from "${this.jsxImportSource+(this.options.production?"/jsx-runtime":"/jsx-dev-runtime")}";`}}return t}processJSXTag(){const{jsxRole:t,start:e}=this.tokens.currentToken(),n=this.options.production?null:this.getElementLocationCode(e);this.isAutomaticRuntime&&t!==re.KeyAfterPropSpread?this.transformTagToJSXFunc(n,t):this.transformTagToCreateElement(n)}getElementLocationCode(t){return`lineNumber: ${this.getLineNumberForIndex(t)}`}getLineNumberForIndex(t){const e=this.tokens.code;for(;this.lastIndex or > at the end of the tag.");this.tokens.removeToken(),this.processAutomaticChildrenAndEndProps(e)}r&&this.tokens.appendCode(`, ${r}`)}for(this.options.production||(null===r&&this.tokens.appendCode(", void 0"),this.tokens.appendCode(`, ${n}, ${this.getDevSource(t)}, this`)),this.tokens.removeInitialToken();!this.tokens.matches1(dt.jsxTagEnd);)this.tokens.removeToken();this.tokens.replaceToken(")")}transformTagToCreateElement(t){if(this.tokens.replaceToken(this.getCreateElementInvocationCode()),this.tokens.matches1(dt.jsxTagEnd))this.tokens.replaceToken(`${this.getFragmentCode()}, null`),this.processChildren(!0);else if(this.processTagIntro(),this.processPropsObjectWithDevInfo(t),this.tokens.matches2(dt.slash,dt.jsxTagEnd));else{if(!this.tokens.matches1(dt.jsxTagEnd))throw new Error("Expected either /> or > at the end of the tag.");this.tokens.removeToken(),this.processChildren(!0)}for(this.tokens.removeInitialToken();!this.tokens.matches1(dt.jsxTagEnd);)this.tokens.removeToken();this.tokens.replaceToken(")")}getJSXFuncInvocationCode(t){return this.options.production?t?this.claimAutoImportedFuncInvocation("jsxs","/jsx-runtime"):this.claimAutoImportedFuncInvocation("jsx","/jsx-runtime"):this.claimAutoImportedFuncInvocation("jsxDEV","/jsx-dev-runtime")}getCreateElementInvocationCode(){if(this.isAutomaticRuntime)return this.claimAutoImportedFuncInvocation("createElement","");{const{jsxPragmaInfo:t}=this;return`${this.importProcessor&&this.importProcessor.getIdentifierReplacement(t.base)||t.base}${t.suffix}(`}}getFragmentCode(){if(this.isAutomaticRuntime)return this.claimAutoImportedName("Fragment",this.options.production?"/jsx-runtime":"/jsx-dev-runtime");{const{jsxPragmaInfo:t}=this;return(this.importProcessor&&this.importProcessor.getIdentifierReplacement(t.fragmentBase)||t.fragmentBase)+t.fragmentSuffix}}claimAutoImportedFuncInvocation(t,e){const n=this.claimAutoImportedName(t,e);return this.importProcessor?`${n}.call(void 0, `:`${n}(`}claimAutoImportedName(t,e){if(this.importProcessor){const n=this.jsxImportSource+e;return this.cjsAutomaticModuleNameResolutions[n]||(this.cjsAutomaticModuleNameResolutions[n]=this.importProcessor.getFreeIdentifierForPath(n)),`${this.cjsAutomaticModuleNameResolutions[n]}.${t}`}return this.esmAutomaticImportNameResolutions[t]||(this.esmAutomaticImportNameResolutions[t]=this.nameManager.claimFreeName(`_${t}`)),this.esmAutomaticImportNameResolutions[t]}processTagIntro(){let t=this.tokens.currentIndex()+1;for(;this.tokens.tokens[t].isType||!this.tokens.matches2AtIndex(t-1,dt.jsxName,dt.jsxName)&&!this.tokens.matches2AtIndex(t-1,dt.greaterThan,dt.jsxName)&&!this.tokens.matches1AtIndex(t,dt.braceL)&&!this.tokens.matches1AtIndex(t,dt.jsxTagEnd)&&!this.tokens.matches2AtIndex(t,dt.slash,dt.jsxTagEnd);)t++;if(t===this.tokens.currentIndex()+1){const t=this.tokens.identifierName();Ue(t)&&this.tokens.replaceToken(`'${t}'`)}for(;this.tokens.currentIndex()=pt.lowercaseA&&e<=pt.lowercaseZ}function We(t){let e=0,n=0;for(const r of t)"\n"===r?(e++,n=0):" "===r&&n++;return"\n".repeat(e)+" ".repeat(n)}function He(t,e){let n,r="",i=0,o=e;if("#"===t[o]){let e,r=10;if(o++,"x"===t[o])for(r=16,o++,e=o;o=pt.digit0&&s<=pt.digit9||s>=pt.lowercaseA&&s<=pt.lowercaseF||s>=pt.uppercaseA&&s<=pt.uppercaseF);)o++;else for(e=o;o=pt.digit0&&t<=pt.digit9}function Ye(t,e){const n=qe(e),r=new Set;for(let i=0;i0||e.namedExports.length>0)continue;[...e.defaultNames,...e.wildcardNames,...e.namedImports.map((({localName:t})=>t))].every((t=>this.shouldAutomaticallyElideImportedName(t)))&&this.importsToReplace.set(t,"")}}shouldAutomaticallyElideImportedName(t){return this.isTypeScriptTransformEnabled&&!this.keepUnusedImports&&!this.nonTypeIdentifiers.has(t)}generateImportReplacements(){for(const[t,e]of this.importInfoByPath.entries()){const{defaultNames:n,wildcardNames:r,namedImports:i,namedExports:o,exportStarNames:s,hasStarExport:a}=e;if(0===n.length&&0===r.length&&0===i.length&&0===o.length&&0===s.length&&!a){this.importsToReplace.set(t,`require('${t}');`);continue}const l=this.getFreeIdentifierForPath(t);let c;c=this.enableLegacyTypeScriptModuleInterop?l:r.length>0?r[0]:this.getFreeIdentifierForPath(t);let h=`var ${l} = require('${t}');`;if(r.length>0)for(const t of r){h+=` var ${t} = ${this.enableLegacyTypeScriptModuleInterop?l:`${this.helperManager.getHelperName("interopRequireWildcard")}(${l})`};`}else s.length>0&&c!==l?h+=` var ${c} = ${this.helperManager.getHelperName("interopRequireWildcard")}(${l});`:n.length>0&&c!==l&&(h+=` var ${c} = ${this.helperManager.getHelperName("interopRequireDefault")}(${l});`);for(const{importedName:t,localName:e}of o)h+=` ${this.helperManager.getHelperName("createNamedExportFrom")}(${l}, '${e}', '${t}');`;for(const t of s)h+=` exports.${t} = ${c};`;a&&(h+=` ${this.helperManager.getHelperName("createStarExport")}(${l});`),this.importsToReplace.set(t,h);for(const t of n)this.identifierReplacements.set(t,`${c}.default`);for(const{importedName:t,localName:e}of i)this.identifierReplacements.set(e,`${l}.${t}`)}}getFreeIdentifierForPath(t){const e=t.split("/"),n=e[e.length-1].replace(/\W/g,"");return this.nameManager.claimFreeName(`_${n}`)}preprocessImportAtIndex(t){const e=[],n=[],r=[];if(t++,(this.tokens.matchesContextualAtIndex(t,ut._type)||this.tokens.matches1AtIndex(t,dt._typeof))&&!this.tokens.matches1AtIndex(t+1,dt.comma)&&!this.tokens.matchesContextualAtIndex(t+1,ut._from))return;if(this.tokens.matches1AtIndex(t,dt.parenL))return;if(this.tokens.matches1AtIndex(t,dt.name)&&(e.push(this.tokens.identifierNameAtIndex(t)),t++,this.tokens.matches1AtIndex(t,dt.comma)&&t++),this.tokens.matches1AtIndex(t,dt.star)&&(t+=2,n.push(this.tokens.identifierNameAtIndex(t)),t++),this.tokens.matches1AtIndex(t,dt.braceL)){const n=this.getNamedImports(t+1);t=n.newIndex;for(const t of n.namedImports)"default"===t.importedName?e.push(t.localName):r.push(t)}if(this.tokens.matchesContextualAtIndex(t,ut._from)&&t++,!this.tokens.matches1AtIndex(t,dt.string))throw new Error("Expected string token at the end of import statement.");const i=this.tokens.stringValueAtIndex(t),o=this.getImportInfo(i);o.defaultNames.push(...e),o.wildcardNames.push(...n),o.namedImports.push(...r),0===e.length&&0===n.length&&0===r.length&&(o.hasBareImport=!0)}preprocessExportAtIndex(t){if(this.tokens.matches2AtIndex(t,dt._export,dt._var)||this.tokens.matches2AtIndex(t,dt._export,dt._let)||this.tokens.matches2AtIndex(t,dt._export,dt._const))this.preprocessVarExportAtIndex(t);else if(this.tokens.matches2AtIndex(t,dt._export,dt._function)||this.tokens.matches2AtIndex(t,dt._export,dt._class)){const e=this.tokens.identifierNameAtIndex(t+2);this.addExportBinding(e,e)}else if(this.tokens.matches3AtIndex(t,dt._export,dt.name,dt._function)){const e=this.tokens.identifierNameAtIndex(t+3);this.addExportBinding(e,e)}else this.tokens.matches2AtIndex(t,dt._export,dt.braceL)?this.preprocessNamedExportAtIndex(t):this.tokens.matches2AtIndex(t,dt._export,dt.star)&&this.preprocessExportStarAtIndex(t)}preprocessVarExportAtIndex(t){let e=0;for(let n=t+2;;n++)if(this.tokens.matches1AtIndex(n,dt.braceL)||this.tokens.matches1AtIndex(n,dt.dollarBraceL)||this.tokens.matches1AtIndex(n,dt.bracketL))e++;else if(this.tokens.matches1AtIndex(n,dt.braceR)||this.tokens.matches1AtIndex(n,dt.bracketR))e--;else{if(0===e&&!this.tokens.matches1AtIndex(n,dt.name))break;if(this.tokens.matches1AtIndex(1,dt.eq)){const t=this.tokens.currentToken().rhsEndIndex;if(null==t)throw new Error("Expected = token with an end index.");n=t-1}else{if(ie(this.tokens.tokens[n])){const t=this.tokens.identifierNameAtIndex(n);this.identifierReplacements.set(t,`exports.${t}`)}}}}preprocessNamedExportAtIndex(t){t+=2;const{newIndex:e,namedImports:n}=this.getNamedImports(t);if(t=e,!this.tokens.matchesContextualAtIndex(t,ut._from)){for(const{importedName:t,localName:e}of n)this.addExportBinding(t,e);return}if(t++,!this.tokens.matches1AtIndex(t,dt.string))throw new Error("Expected string token at the end of import statement.");const r=this.tokens.stringValueAtIndex(t);this.getImportInfo(r).namedExports.push(...n)}preprocessExportStarAtIndex(t){let e=null;if(this.tokens.matches3AtIndex(t,dt._export,dt.star,dt._as)?(t+=3,e=this.tokens.identifierNameAtIndex(t),t+=2):t+=3,!this.tokens.matches1AtIndex(t,dt.string))throw new Error("Expected string token at the end of star export statement.");const n=this.tokens.stringValueAtIndex(t),r=this.getImportInfo(n);null!==e?r.exportStarNames.push(e):r.hasStarExport=!0}getNamedImports(t){const e=[];for(;;){if(this.tokens.matches1AtIndex(t,dt.braceR)){t++;break}const n=Oe(this.tokens,t);if(t=n.endIndex,n.isType||e.push({importedName:n.leftName,localName:n.rightName}),this.tokens.matches2AtIndex(t,dt.comma,dt.braceR)){t+=2;break}if(this.tokens.matches1AtIndex(t,dt.braceR)){t++;break}if(!this.tokens.matches1AtIndex(t,dt.comma))throw new Error(`Unexpected token: ${JSON.stringify(this.tokens.tokens[t])}`);t++}return{newIndex:t,namedImports:e}}getImportInfo(t){const e=this.importInfoByPath.get(t);if(e)return e;const n={defaultNames:[],wildcardNames:[],namedImports:[],namedExports:[],hasBareImport:!1,exportStarNames:[],hasStarExport:!1};return this.importInfoByPath.set(t,n),n}addExportBinding(t,e){this.exportBindingsByLocalName.has(t)||this.exportBindingsByLocalName.set(t,[]),this.exportBindingsByLocalName.get(t).push(e)}claimImportCode(t){const e=this.importsToReplace.get(t);return this.importsToReplace.set(t,""),e||""}getIdentifierReplacement(t){return this.identifierReplacements.get(t)||null}resolveExportBinding(t){const e=this.exportBindingsByLocalName.get(t);return e&&0!==e.length?e.map((t=>`exports.${t}`)).join(" = "):null}getGlobalNames(){return new Set([...this.identifierReplacements.keys(),...this.exportBindingsByLocalName.keys()])}}var Xe=n(9320);function Ke({code:t,mappings:e},n,r,i,o){const s=function(t,e){const n=new Array(e.length);let r=0,i=e[r].start,o=0;for(let s=0;s obj[importedName]});\n }\n ",createStarExport:'\n function createStarExport(obj) {\n Object.keys(obj)\n .filter((key) => key !== "default" && key !== "__esModule")\n .forEach((key) => {\n if (exports.hasOwnProperty(key)) {\n return;\n }\n Object.defineProperty(exports, key, {enumerable: true, configurable: true, get: () => obj[key]});\n });\n }\n ',nullishCoalesce:"\n function nullishCoalesce(lhs, rhsFn) {\n if (lhs != null) {\n return lhs;\n } else {\n return rhsFn();\n }\n }\n ",asyncNullishCoalesce:"\n async function asyncNullishCoalesce(lhs, rhsFn) {\n if (lhs != null) {\n return lhs;\n } else {\n return await rhsFn();\n }\n }\n ",optionalChain:"\n function optionalChain(ops) {\n let lastAccessLHS = undefined;\n let value = ops[0];\n let i = 1;\n while (i < ops.length) {\n const op = ops[i];\n const fn = ops[i + 1];\n i += 2;\n if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) {\n return undefined;\n }\n if (op === 'access' || op === 'optionalAccess') {\n lastAccessLHS = value;\n value = fn(value);\n } else if (op === 'call' || op === 'optionalCall') {\n value = fn((...args) => value.call(lastAccessLHS, ...args));\n lastAccessLHS = undefined;\n }\n }\n return value;\n }\n ",asyncOptionalChain:"\n async function asyncOptionalChain(ops) {\n let lastAccessLHS = undefined;\n let value = ops[0];\n let i = 1;\n while (i < ops.length) {\n const op = ops[i];\n const fn = ops[i + 1];\n i += 2;\n if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) {\n return undefined;\n }\n if (op === 'access' || op === 'optionalAccess') {\n lastAccessLHS = value;\n value = await fn(value);\n } else if (op === 'call' || op === 'optionalCall') {\n value = await fn((...args) => value.call(lastAccessLHS, ...args));\n lastAccessLHS = undefined;\n }\n }\n return value;\n }\n ",optionalChainDelete:"\n function optionalChainDelete(ops) {\n const result = OPTIONAL_CHAIN_NAME(ops);\n return result == null ? true : result;\n }\n ",asyncOptionalChainDelete:"\n async function asyncOptionalChainDelete(ops) {\n const result = await ASYNC_OPTIONAL_CHAIN_NAME(ops);\n return result == null ? true : result;\n }\n "};class Je{__init(){this.helperNames={}}__init2(){this.createRequireName=null}constructor(t){this.nameManager=t,Je.prototype.__init.call(this),Je.prototype.__init2.call(this)}getHelperName(t){let e=this.helperNames[t];return e||(e=this.nameManager.claimFreeName(`_${t}`),this.helperNames[t]=e,e)}emitHelpers(){let t="";this.helperNames.optionalChainDelete&&this.getHelperName("optionalChain"),this.helperNames.asyncOptionalChainDelete&&this.getHelperName("asyncOptionalChain");for(const[e,n]of Object.entries(Ze)){const r=this.helperNames[e];let i=n;"optionalChainDelete"===e?i=i.replace("OPTIONAL_CHAIN_NAME",this.helperNames.optionalChain):"asyncOptionalChainDelete"===e?i=i.replace("ASYNC_OPTIONAL_CHAIN_NAME",this.helperNames.asyncOptionalChain):"require"===e&&(null===this.createRequireName&&(this.createRequireName=this.nameManager.claimFreeName("_createRequire")),i=i.replace(/CREATE_REQUIRE_NAME/g,this.createRequireName)),r&&(t+=" ",t+=i.replace(e,r).replace(/\s+/g," ").trim())}return t}}function Qe(t,e,n){(function(t,e){for(const n of t.tokens)if(n.type===dt.name&&!n.isType&&oe(n)&&e.has(t.identifierNameForToken(n)))return!0;return!1})(t,n)&&function(t,e,n){const r=[];let i=e.length-1;for(let o=t.tokens.length-1;;o--){for(;r.length>0&&r[r.length-1].startTokenIndex===o+1;)r.pop();for(;i>=0&&e[i].endTokenIndex===o+1;)r.push(e[i]),i--;if(o<0)break;const s=t.tokens[o],a=t.identifierNameForToken(s);if(r.length>1&&!s.isType&&s.type===dt.name&&n.has(a))if(ae(s))tn(r[r.length-1],t,a);else if(le(s)){let e=r.length-1;for(;e>0&&!r[e].isFunctionScope;)e--;if(e<0)throw new Error("Did not find parent function scope.");tn(r[e],t,a)}}if(r.length>0)throw new Error("Expected empty scope stack after processing file.")}(t,e,n)}function tn(t,e,n){for(let r=t.startTokenIndex;r0&&!Bt.error;)ke(dt.braceL)||ke(dt.bracketL)?t++:(ke(dt.braceR)||ke(dt.bracketR))&&t--,ue();return!0}return!1}()){if(ke(dt.colon)||ke(dt.comma)||ke(dt.question)||ke(dt.eq))return!0;if(ke(dt.parenR)&&(ue(),ke(dt.arrow)))return!0}return!1}();return Bt.restoreFromSnapshot(t),e}()}function Pn(t){const e=fe(0);Yt(t);(function(){const t=Bt.snapshot();if(Dt(ut._asserts))return ue(),$t(ut._is)?(Wn(),!0):gn()||ke(dt._this)?(ue(),$t(ut._is)&&Wn(),!0):(Bt.restoreFromSnapshot(t),!1);if(gn()||ke(dt._this))return ue(),Dt(ut._is)&&!Ut()?(ue(),Wn(),!0):(Bt.restoreFromSnapshot(t),!1);return!1})()||Wn(),me(e)}function zn(){ke(dt.colon)&&Un()}function Un(){const t=fe(0);Yt(dt.colon),Wn(),me(t)}function Wn(){if(Hn(),Bt.inDisallowConditionalTypesContext||Ut()||!ge(dt._extends))return;const t=Bt.inDisallowConditionalTypesContext;Bt.inDisallowConditionalTypesContext=!0,Hn(),Bt.inDisallowConditionalTypesContext=t,Yt(dt.question),Wn(),Yt(dt.colon),Wn()}function Hn(){$n()?On(jn.TSFunctionType):ke(dt._new)?On(jn.TSConstructorType):Dt(ut._abstract)&&xe()===dt._new?On(jn.TSAbstractConstructorType):function(){if(ge(dt.bitwiseOR),qn(),ke(dt.bitwiseOR))for(;ge(dt.bitwiseOR);)qn()}()}function Vn(){for(;!ke(dt.braceL)&&!Bt.error;)Yn(),ge(dt.comma)}function Yn(){_n(),ke(dt.lessThan)&&sr()}function Gn(){if(ke(dt.string)?jr():Zr(),ge(dt.eq)){const t=Bt.tokens.length-1;_r(),Bt.tokens[t].rhsEndIndex=Bt.tokens.length}}function Xn(){for(ln(!1),Yt(dt.braceL);!ge(dt.braceR)&&!Bt.error;)Gn(),ge(dt.comma)}function Kn(){Yt(dt.braceL),Oi(dt.braceR)}function Zn(){ln(!1),ge(dt.dot)?Zn():Kn()}function Jn(){Dt(ut._global)?Zr():ke(dt.string)?Nr():Gt(),ke(dt.braceL)?Kn():Vt()}function Qn(){cn(),Yt(dt.eq),Dt(ut._require)&&xe()===dt.parenL?(Pt(ut._require),Yt(dt.parenL),ke(dt.string)||Gt(),jr(),Yt(dt.parenR)):_n(),Vt()}function tr(){return nr(Bt.contextualKeyword,!0)}function er(t){switch(t){case ut._declare:{const t=Bt.tokens.length-1,e=function(){if(Ht())return!1;switch(Bt.type){case dt._function:{const t=fe(1);return ue(),Pi(Bt.start,!0),me(t),!0}case dt._class:{const t=fe(1);return Ui(!0,!1),me(t),!0}case dt._const:if(ke(dt._const)&&qt(ut._enum)){const t=fe(1);return Yt(dt._const),Pt(ut._enum),Bt.tokens[Bt.tokens.length-1].type=dt._enum,Xn(),me(t),!0}case dt._var:case dt._let:{const t=fe(1);return Mi(Bt.type!==dt._var),me(t),!0}case dt.name:{const t=fe(1),e=Bt.contextualKeyword;let n=!1;return e===ut._global?(Jn(),n=!0):n=nr(e,!0),me(t),n}default:return!1}}();if(e)return Bt.tokens[t].type=dt._declare,!0;break}case ut._global:if(ke(dt.braceL))return Kn(),!0;break;default:return nr(t,!1)}return!1}function nr(t,e){switch(t){case ut._abstract:if(rr(e)&&ke(dt._class))return Bt.tokens[Bt.tokens.length-1].type=dt._abstract,Ui(!0,!1),!0;break;case ut._enum:if(rr(e)&&ke(dt.name))return Bt.tokens[Bt.tokens.length-1].type=dt._enum,Xn(),!0;break;case ut._interface:if(rr(e)&&ke(dt.name)){const t=fe(e?2:1);return ln(!1),vn(),ge(dt._extends)&&Vn(),Bn(),me(t),!0}break;case ut._module:if(rr(e)){if(ke(dt.string)){const t=fe(e?2:1);return Jn(),me(t),!0}if(ke(dt.name)){const t=fe(e?2:1);return Zn(),me(t),!0}}break;case ut._namespace:if(rr(e)&&ke(dt.name)){const t=fe(e?2:1);return Zn(),me(t),!0}break;case ut._type:if(rr(e)&&ke(dt.name)){const t=fe(e?2:1);return ln(!1),vn(),Yt(dt.eq),Wn(),Vt(),me(t),!0}}return!1}function rr(t){return t?(ue(),!0):!Ht()}function ir(){const t=Bt.snapshot();return Tn(),zi(),ke(dt.colon)&&Pn(dt.colon),Yt(dt.arrow),Bt.error?(Bt.restoreFromSnapshot(t),!1):(Gr(!0),!0)}function or(){Bt.type===dt.bitShiftL&&(Bt.pos-=1,Le(dt.lessThan)),sr()}function sr(){const t=fe(0);for(Yt(dt.lessThan);!ke(dt.greaterThan)&&!Bt.error;)Wn(),ge(dt.comma);t?(Yt(dt.greaterThan),me(t)):(me(t),Be(),Yt(dt.greaterThan),Bt.tokens[Bt.tokens.length-1].isType=!0)}function ar(){if(ke(dt.name))switch(Bt.contextualKeyword){case ut._abstract:case ut._declare:case ut._enum:case ut._interface:case ut._module:case ut._namespace:case ut._type:return!0}return!1}function lr(t,e){return It?function(t,e){if(!ke(dt.lessThan))return br(t,e);const n=Bt.snapshot();let r=br(t,e);if(!Bt.error)return r;Bt.restoreFromSnapshot(n);Bt.type=dt.typeParameterStart,Tn(),r=br(t,e),r||Gt();return r}(t,e):function(t,e){if(!ke(dt.lessThan))return br(t,e);const n=Bt.snapshot();Tn();const r=br(t,e);r||Gt();if(!Bt.error)return r;Bt.restoreFromSnapshot(n);return br(t,e)}(t,e)}function cr(){gr()}function hr(t){cr(),ge(dt.colon)?cr():Bt.tokens[Bt.tokens.length-1].identifierRole=t}function ur(){const t=Bt.tokens.length;hr(ne.Access);let e=!1;for(;ke(dt.dot);)e=!0,gr(),cr();if(!e){const e=Bt.tokens[t],n=Ft.charCodeAt(e.start);n>=pt.lowercaseA&&n<=pt.lowercaseZ&&(e.identifierRole=null)}}function dr(){switch(Bt.type){case dt.braceL:return ue(),xr(),void gr();case dt.jsxTagStart:return mr(),void gr();case dt.string:return void gr();default:Gt("JSX value should be either an expression or a quoted JSX text")}}function pr(t){if(ke(dt.jsxTagEnd))return!1;ur(),Lt&&function(){if(ge(dt.jsxTagStart)){Bt.tokens[Bt.tokens.length-1].type=dt.typeParameterStart;const t=fe(1);for(;!ke(dt.greaterThan)&&!Bt.error;)Wn(),ge(dt.comma);gr(),me(t)}}();let e=!1;for(;!ke(dt.slash)&&!ke(dt.jsxTagEnd)&&!Bt.error;)ge(dt.braceL)?(e=!0,Yt(dt.ellipsis),_r(),gr()):(e&&Bt.end-Bt.start==3&&Ft.charCodeAt(Bt.start)===pt.lowercaseK&&Ft.charCodeAt(Bt.start+1)===pt.lowercaseE&&Ft.charCodeAt(Bt.start+2)===pt.lowercaseY&&(Bt.tokens[t].jsxRole=re.KeyAfterPropSpread),hr(ne.ObjectKey),ke(dt.eq)&&(gr(),dr()));const n=ke(dt.slash);return n&&gr(),n}function fr(){const t=Bt.tokens.length-1;Bt.tokens[t].jsxRole=re.NoChildren;let e=0;if(!pr(t))for(yr();;)switch(Bt.type){case dt.jsxTagStart:if(gr(),ke(dt.slash))return gr(),ke(dt.jsxTagEnd)||ur(),void(Bt.tokens[t].jsxRole!==re.KeyAfterPropSpread&&(1===e?Bt.tokens[t].jsxRole=re.OneChild:e>1&&(Bt.tokens[t].jsxRole=re.StaticChildren)));e++,fr(),yr();break;case dt.jsxText:e++,yr();break;case dt.jsxEmptyText:yr();break;case dt.braceL:ue(),ke(dt.ellipsis)?(Yt(dt.ellipsis),xr(),yr(),e+=2):(ke(dt.braceR)||(e++,xr()),yr());break;default:return void Gt()}}function mr(){gr(),fr()}function gr(){Bt.tokens.push(new he),Ie(),Bt.start=Bt.pos;const t=Ft.charCodeAt(Bt.pos);if(te[t])!function(){let t;do{if(Bt.pos>Ft.length)return void Gt("Unexpectedly reached the end of input.");t=Ft.charCodeAt(++Bt.pos)}while(Qt[t]||t===pt.dash);Le(dt.jsxName)}();else if(t===pt.quotationMark||t===pt.apostrophe)!function(t){for(Bt.pos++;;){if(Bt.pos>=Ft.length)return void Gt("Unterminated string constant");if(Ft.charCodeAt(Bt.pos)===t){Bt.pos++;break}Bt.pos++}Le(dt.string)}(t);else switch(++Bt.pos,t){case pt.greaterThan:Le(dt.jsxTagEnd);break;case pt.lessThan:Le(dt.jsxTagStart);break;case pt.slash:Le(dt.slash);break;case pt.equalsTo:Le(dt.eq);break;case pt.leftCurlyBrace:Le(dt.braceL);break;case pt.dot:Le(dt.dot);break;case pt.colon:Le(dt.colon);break;default:Gt()}}function yr(){Bt.tokens.push(new he),Bt.start=Bt.pos,function(){let t=!1,e=!1;for(;;){if(Bt.pos>=Ft.length)return void Gt("Unterminated JSX contents");const n=Ft.charCodeAt(Bt.pos);if(n===pt.lessThan||n===pt.leftCurlyBrace)return Bt.pos===Bt.start?n===pt.lessThan?(Bt.pos++,void Le(dt.jsxTagStart)):void Fe(n):void Le(t&&!e?dt.jsxEmptyText:dt.jsxText);n===pt.lineFeed?t=!0:n!==pt.space&&n!==pt.carriageReturn&&n!==pt.tab&&(e=!0),Bt.pos++}}()}!function(t){t[t.TSFunctionType=0]="TSFunctionType";t[t.TSConstructorType=1]="TSConstructorType";t[t.TSAbstractConstructorType=2]="TSAbstractConstructorType"}(jn||(jn={}));class kr{constructor(t){this.stop=t}}function xr(t=!1){if(_r(t),ke(dt.comma))for(;ge(dt.comma);)_r(t)}function _r(t=!1,e=!1){return Lt?lr(t,e):Et?function(t,e){if(ke(dt.lessThan)){const n=Bt.snapshot();let r=br(t,e);if(!Bt.error)return r;Bt.restoreFromSnapshot(n),Bt.type=dt.typeParameterStart;const i=fe(0);if(li(),me(i),r=br(t,e),r)return!0;Gt()}return br(t,e)}(t,e):br(t,e)}function br(t,e){if(ke(dt._yield))return ue(),ke(dt.semi)||zt()||(ge(dt.star),_r()),!1;(ke(dt.parenL)||ke(dt.name)||ke(dt._yield))&&(Bt.potentialArrowAt=Bt.start);const n=function(t){const e=function(t){const e=Bt.tokens.length,n=Tr();if(n)return!0;return vr(e,-1,t),!1}(t);if(e)return!0;return function(t){Lt||Et?function(t){if(ke(dt.question)){const t=xe();if(t===dt.colon||t===dt.comma||t===dt.parenR)return}Cr(t)}(t):Cr(t)}(t),!1}(t);return e&&qr(),Bt.type&dt.IS_ASSIGN?(ue(),_r(t),!1):n}function Cr(t){ge(dt.question)&&(_r(),Yt(dt.colon),_r(t))}function vr(t,e,n){if(Lt&&(dt._in&dt.PRECEDENCE_MASK)>e&&!Ut()&&($t(ut._as)||$t(ut._satisfies))){const r=fe(1);return Wn(),me(r),Be(),void vr(t,e,n)}const r=Bt.type&dt.PRECEDENCE_MASK;if(r>0&&(!n||!ke(dt._in))&&r>e){const i=Bt.type;ue(),i===dt.nullishCoalescing&&(Bt.tokens[Bt.tokens.length-1].nullishStartIndex=t);const o=Bt.tokens.length;Tr(),vr(o,i&dt.IS_RIGHT_ASSOCIATIVE?r-1:r,n),i===dt.nullishCoalescing&&(Bt.tokens[t].numNullishCoalesceStarts++,Bt.tokens[Bt.tokens.length-1].numNullishCoalesceEnds++),vr(t,e,n)}}function Tr(){if(Lt&&!It&&ge(dt.lessThan))return function(){const t=fe(1);Wn(),Yt(dt.greaterThan),me(t),Tr()}(),!1;if(Dt(ut._module)&&Te()===pt.leftCurlyBrace&&!Wt())return Pt(ut._module),Yt(dt.braceL),Oi(dt.braceR),!1;if(Bt.type&dt.IS_PREFIX)return ue(),Tr(),!1;if(Ar())return!0;for(;Bt.type&dt.IS_POSTFIX&&!zt();)Bt.type===dt.preIncDec&&(Bt.type=dt.postIncDec),ue();return!1}function Ar(){const t=Bt.tokens.length;return!!Nr()||(wr(t),Bt.tokens.length>t&&Bt.tokens[t].isOptionalChainStart&&(Bt.tokens[Bt.tokens.length-1].isOptionalChainEnd=!0),!1)}function wr(t,e=!1){Et?function(t,e=!1){if(Bt.tokens[Bt.tokens.length-1].contextualKeyword===ut._async&&ke(dt.lessThan)){const t=Bt.snapshot(),e=function(){Bt.scopeDepth++;const t=Bt.tokens.length;if(zi(),!Dr())return!1;return Vr(t),!0}();if(e&&!Bt.error)return;Bt.restoreFromSnapshot(t)}Sr(t,e)}(t,e):Sr(t,e)}function Sr(t,e=!1){const n=new kr(!1);do{Ir(t,e,n)}while(!n.stop&&!Bt.error)}function Ir(t,e,n){Lt?function(t,e,n){if(Ut()||!ge(dt.bang)){if(ke(dt.lessThan)||ke(dt.bitShiftL)){const n=Bt.snapshot();if(!e&&Er()&&ir())return;if(or(),!e&&ge(dt.parenL)?(Bt.tokens[Bt.tokens.length-1].subscriptStartIndex=t,Br()):ke(dt.backQuote)?$r():(Bt.type===dt.greaterThan||Bt.type!==dt.parenL&&Boolean(Bt.type&dt.IS_EXPRESSION_START)&&!Ut())&&Gt(),!Bt.error)return;Bt.restoreFromSnapshot(n)}else!e&&ke(dt.questionDot)&&xe()===dt.lessThan&&(ue(),Bt.tokens[t].isOptionalChainStart=!0,Bt.tokens[Bt.tokens.length-1].subscriptStartIndex=t,sr(),Yt(dt.parenL),Br());Lr(t,e,n)}else Bt.tokens[Bt.tokens.length-1].type=dt.nonNullAssertion}(t,e,n):Et?function(t,e,n){if(ke(dt.questionDot)&&xe()===dt.lessThan)return e?void(n.stop=!0):(ue(),ci(),Yt(dt.parenL),void Br());if(!e&&ke(dt.lessThan)){const t=Bt.snapshot();if(ci(),Yt(dt.parenL),Br(),!Bt.error)return;Bt.restoreFromSnapshot(t)}Lr(t,e,n)}(t,e,n):Lr(t,e,n)}function Lr(t,e,n){if(!e&&ge(dt.doubleColon))Fr(),n.stop=!0,wr(t,e);else if(ke(dt.questionDot)){if(Bt.tokens[t].isOptionalChainStart=!0,e&&xe()===dt.parenL)return void(n.stop=!0);ue(),Bt.tokens[Bt.tokens.length-1].subscriptStartIndex=t,ge(dt.bracketL)?(xr(),Yt(dt.bracketR)):ge(dt.parenL)?Br():Mr()}else if(ge(dt.dot))Bt.tokens[Bt.tokens.length-1].subscriptStartIndex=t,Mr();else if(ge(dt.bracketL))Bt.tokens[Bt.tokens.length-1].subscriptStartIndex=t,xr(),Yt(dt.bracketR);else if(!e&&ke(dt.parenL))if(Er()){const e=Bt.snapshot(),r=Bt.tokens.length;ue(),Bt.tokens[Bt.tokens.length-1].subscriptStartIndex=t;const i=Mt();Bt.tokens[Bt.tokens.length-1].contextId=i,Br(),Bt.tokens[Bt.tokens.length-1].contextId=i,(ke(dt.colon)||ke(dt.arrow))&&(Bt.restoreFromSnapshot(e),n.stop=!0,Bt.scopeDepth++,zi(),function(t){Lt?ke(dt.colon)&&Un():Et&&function(){if(ke(dt.colon)){const t=Bt.noAnonFunctionType;Bt.noAnonFunctionType=!0,vi(),Bt.noAnonFunctionType=t}}();Yt(dt.arrow),Vr(t)}(r))}else{ue(),Bt.tokens[Bt.tokens.length-1].subscriptStartIndex=t;const e=Mt();Bt.tokens[Bt.tokens.length-1].contextId=e,Br(),Bt.tokens[Bt.tokens.length-1].contextId=e}else ke(dt.backQuote)?$r():n.stop=!0}function Er(){return Bt.tokens[Bt.tokens.length-1].contextualKeyword===ut._async&&!zt()}function Br(){let t=!0;for(;!ge(dt.parenR)&&!Bt.error;){if(t)t=!1;else if(Yt(dt.comma),ge(dt.parenR))break;Kr(!1)}}function Fr(){const t=Bt.tokens.length;Nr(),wr(t,!0)}function Nr(){if(ge(dt.modulo))return Zr(),!1;if(ke(dt.jsxText)||ke(dt.jsxEmptyText))return jr(),!1;if(ke(dt.lessThan)&&It)return Bt.type=dt.jsxTagStart,mr(),ue(),!1;const t=Bt.potentialArrowAt===Bt.start;switch(Bt.type){case dt.slash:case dt.assign:pe();case dt._super:case dt._this:case dt.regexp:case dt.num:case dt.bigint:case dt.decimal:case dt.string:case dt._null:case dt._true:case dt._false:return ue(),!1;case dt._import:return ue(),ke(dt.dot)&&(Bt.tokens[Bt.tokens.length-1].type=dt.name,ue(),Zr()),!1;case dt.name:{const e=Bt.tokens.length,n=Bt.start,r=Bt.contextualKeyword;return Zr(),r===ut._await?(Tr(),!1):r===ut._async&&ke(dt._function)&&!zt()?(ue(),Pi(n,!1),!1):t&&r===ut._async&&!zt()&&ke(dt.name)?(Bt.scopeDepth++,ln(!1),Yt(dt.arrow),Vr(e),!0):ke(dt._do)&&!zt()?(ue(),ji(),!1):t&&!zt()&&ke(dt.arrow)?(Bt.scopeDepth++,hn(!1),Yt(dt.arrow),Vr(e),!0):(Bt.tokens[Bt.tokens.length-1].identifierRole=ne.Access,!1)}case dt._do:return ue(),ji(),!1;case dt.parenL:return Rr(t);case dt.bracketL:return ue(),Xr(dt.bracketR,!0),!1;case dt.braceL:return Pr(!1,!1),!1;case dt._function:return function(){const t=Bt.start;Zr(),ge(dt.dot)&&Zr();Pi(t,!1)}(),!1;case dt.at:Bi();case dt._class:return Ui(!1),!1;case dt._new:return function(){if(Yt(dt._new),ge(dt.dot))return void Zr();Fr(),void ge(dt.questionDot),Et&&function(){if(ke(dt.lessThan)){const t=Bt.snapshot();ci(),Bt.error&&Bt.restoreFromSnapshot(t)}}();ge(dt.parenL)&&Xr(dt.parenR)}(),!1;case dt.backQuote:return $r(),!1;case dt.doubleColon:return ue(),Fr(),!1;case dt.hash:{const t=Te();return te[t]||t===pt.backslash?Mr():ue(),!1}default:return Gt(),!1}}function Mr(){ge(dt.hash),Zr()}function jr(){ue()}function Or(){Yt(dt.parenL),xr(),Yt(dt.parenR)}function Rr(t){const e=Bt.snapshot(),n=Bt.tokens.length;Yt(dt.parenL);let r=!0;for(;!ke(dt.parenR)&&!Bt.error;){if(r)r=!1;else if(Yt(dt.comma),ke(dt.parenR))break;if(ke(dt.ellipsis)){an(!1),qr();break}_r(!1,!0)}if(Yt(dt.parenR),t&&(ke(dt.colon)||!zt())){if(Dr())return Bt.restoreFromSnapshot(e),Bt.scopeDepth++,zi(),Dr(),Vr(n),!Bt.error||(Bt.restoreFromSnapshot(e),Rr(!1),!1)}return!1}function Dr(){return Lt?function(){if(ke(dt.colon)){const t=Bt.snapshot();Pn(dt.colon),zt()&&Gt(),ke(dt.arrow)||Gt(),Bt.error&&Bt.restoreFromSnapshot(t)}return ge(dt.arrow)}():Et?function(){if(ke(dt.colon)){const t=fe(0),e=Bt.snapshot(),n=Bt.noAnonFunctionType;Bt.noAnonFunctionType=!0,ti(),Bt.noAnonFunctionType=n,zt()&&Gt(),ke(dt.arrow)||Gt(),Bt.error&&Bt.restoreFromSnapshot(e),me(t)}return ge(dt.arrow)}():ge(dt.arrow)}function qr(){(Lt||Et)&&(ye(dt.question),ke(dt.colon)&&(Lt?Un():Et&&vi()))}function $r(){for(de(),de();!ke(dt.backQuote)&&!Bt.error;)Yt(dt.dollarBraceL),xr(),de(),de();ue()}function Pr(t,e){const n=Mt();let r=!0;for(ue(),Bt.tokens[Bt.tokens.length-1].contextId=n;!ge(dt.braceR)&&!Bt.error;){if(r)r=!1;else if(Yt(dt.comma),ge(dt.braceR))break;let i=!1;if(ke(dt.ellipsis)){const n=Bt.tokens.length;if(sn(),t&&(Bt.tokens.length===n+2&&hn(e),ge(dt.braceR)))break}else t||(i=ge(dt.star)),!t&&Dt(ut._async)?(i&&Gt(),Zr(),ke(dt.colon)||ke(dt.parenL)||ke(dt.braceR)||ke(dt.eq)||ke(dt.comma)||(ke(dt.star)&&(ue(),i=!0),Wr(n))):Wr(n),Ur(t,e,n)}Bt.tokens[Bt.tokens.length-1].contextId=n}function zr(t,e){const n=Bt.start;return ke(dt.parenL)?(t&&Gt(),Hr(n,!1),!0):!!function(t){return!t&&(ke(dt.string)||ke(dt.num)||ke(dt.bracketL)||ke(dt.name)||!!(Bt.type&dt.IS_KEYWORD))}(t)&&(Wr(e),Hr(n,!1),!0)}function Ur(t,e,n){Lt?vn():Et&&ke(dt.lessThan)&&(li(),ke(dt.parenL)||Gt());zr(t,n)||function(t,e){if(ge(dt.colon))return void(t?mn(e):_r(!1));let n;n=t?0===Bt.scopeDepth?ne.ObjectShorthandTopLevelDeclaration:e?ne.ObjectShorthandBlockScopedDeclaration:ne.ObjectShorthandFunctionScopedDeclaration:ne.ObjectShorthand,Bt.tokens[Bt.tokens.length-1].identifierRole=n,mn(e,!0)}(t,e)}function Wr(t){Et&&Ai(),ge(dt.bracketL)?(Bt.tokens[Bt.tokens.length-1].contextId=t,_r(),Yt(dt.bracketR),Bt.tokens[Bt.tokens.length-1].contextId=t):(ke(dt.num)||ke(dt.string)||ke(dt.bigint)||ke(dt.decimal)?Nr():Mr(),Bt.tokens[Bt.tokens.length-1].identifierRole=ne.ObjectKey,Bt.tokens[Bt.tokens.length-1].contextId=t)}function Hr(t,e){const n=Mt();Bt.scopeDepth++;const r=Bt.tokens.length;zi(e,n),Yr(t,n);const i=Bt.tokens.length;Bt.scopes.push(new At(r,i,!0)),Bt.scopeDepth--}function Vr(t){Gr(!0);const e=Bt.tokens.length;Bt.scopes.push(new At(t,e,!0)),Bt.scopeDepth--}function Yr(t,e=0){Lt?function(t,e){if(ke(dt.colon)&&Pn(dt.colon),ke(dt.braceL)||!Ht())Gr(!1,e);else{let e=Bt.tokens.length-1;for(;e>=0&&(Bt.tokens[e].start>=t||Bt.tokens[e].type===dt._default||Bt.tokens[e].type===dt._export);)Bt.tokens[e].isType=!0,e--}}(t,e):Et?function(t){ke(dt.colon)&&ti();Gr(!1,t)}(e):Gr(!1,e)}function Gr(t,e=0){t&&!ke(dt.braceL)?_r():ji(!0,e)}function Xr(t,e=!1){let n=!0;for(;!ge(t)&&!Bt.error;){if(n)n=!1;else if(Yt(dt.comma),ge(t))break;Kr(e)}}function Kr(t){t&&ke(dt.comma)||(ke(dt.ellipsis)?(sn(),qr()):ke(dt.question)?ue():_r(!1,!0))}function Zr(){ue(),Bt.tokens[Bt.tokens.length-1].type=dt.name}function Jr(t){const e=fe(0);Yt(t||dt.colon),Ci(),me(e)}function Qr(){Yt(dt.modulo),Pt(ut._checks),ge(dt.parenL)&&(xr(),Yt(dt.parenR))}function ti(){const t=fe(0);Yt(dt.colon),ke(dt.modulo)?Qr():(Ci(),ke(dt.modulo)&&Qr()),me(t)}function ei(){ke(dt._class)?(ue(),ni(!0)):ke(dt._function)?(ue(),Zr(),ke(dt.lessThan)&&li(),Yt(dt.parenL),yi(),Yt(dt.parenR),ti(),Vt()):ke(dt._var)?(ue(),Ti(),Vt()):$t(ut._module)?ge(dt.dot)?(Pt(ut._exports),vi(),Vt()):function(){ke(dt.string)?Nr():Zr();Yt(dt.braceL);for(;!ke(dt.braceR)&&!Bt.error;)ke(dt._import)?(ue(),io()):Gt();Yt(dt.braceR)}():Dt(ut._type)?(ue(),si()):Dt(ut._opaque)?(ue(),ai(!0)):Dt(ut._interface)?(ue(),ni()):ke(dt._export)?(Yt(dt._export),ge(dt._default)?ke(dt._function)||ke(dt._class)?ei():(Ci(),Vt()):ke(dt._var)||ke(dt._function)||ke(dt._class)||Dt(ut._opaque)?ei():ke(dt.star)||ke(dt.braceL)||Dt(ut._interface)||Dt(ut._type)||Dt(ut._opaque)?Zi():Gt()):Gt()}function ni(t=!1){if(oi(),ke(dt.lessThan)&&li(),ge(dt._extends))do{ri()}while(!t&&ge(dt.comma));if(Dt(ut._mixins)){ue();do{ri()}while(ge(dt.comma))}if(Dt(ut._implements)){ue();do{ri()}while(ge(dt.comma))}di(t,!1,t)}function ri(){mi(!1),ke(dt.lessThan)&&ci()}function ii(){ni()}function oi(){Zr()}function si(){oi(),ke(dt.lessThan)&&li(),Jr(dt.eq),Vt()}function ai(t){Pt(ut._type),oi(),ke(dt.lessThan)&&li(),ke(dt.colon)&&Jr(dt.colon),t||Jr(dt.eq),Vt()}function li(){const t=fe(0);ke(dt.lessThan)||ke(dt.typeParameterStart)?ue():Gt();do{Ai(),Ti(),ge(dt.eq)&&Ci(),ke(dt.greaterThan)||Yt(dt.comma)}while(!ke(dt.greaterThan)&&!Bt.error);Yt(dt.greaterThan),me(t)}function ci(){const t=fe(0);for(Yt(dt.lessThan);!ke(dt.greaterThan)&&!Bt.error;)Ci(),ke(dt.greaterThan)||Yt(dt.comma);Yt(dt.greaterThan),me(t)}function hi(){ke(dt.num)||ke(dt.string)?Nr():Zr()}function ui(){for(ke(dt.lessThan)&&li(),Yt(dt.parenL);!ke(dt.parenR)&&!ke(dt.ellipsis)&&!Bt.error;)gi(),ke(dt.parenR)||Yt(dt.comma);ge(dt.ellipsis)&&gi(),Yt(dt.parenR),Jr()}function di(t,e,n){let r;for(e&&ke(dt.braceBarL)?(Yt(dt.braceBarL),r=dt.braceBarR):(Yt(dt.braceL),r=dt.braceR);!ke(r)&&!Bt.error;){if(n&&Dt(ut._proto)){const e=xe();e!==dt.colon&&e!==dt.question&&(ue(),t=!1)}if(t&&Dt(ut._static)){const t=xe();t!==dt.colon&&t!==dt.question&&ue()}if(Ai(),ge(dt.bracketL))ge(dt.bracketL)?(hi(),Yt(dt.bracketR),Yt(dt.bracketR),ke(dt.lessThan)||ke(dt.parenL)?ui():(ge(dt.question),Jr())):(xe()===dt.colon?(hi(),Jr()):Ci(),Yt(dt.bracketR),Jr());else if(ke(dt.parenL)||ke(dt.lessThan))ui();else{if(Dt(ut._get)||Dt(ut._set)){const t=xe();t!==dt.name&&t!==dt.string&&t!==dt.num||ue()}pi()}fi()}Yt(r)}function pi(){if(ke(dt.ellipsis)){if(Yt(dt.ellipsis),ge(dt.comma)||ge(dt.semi),ke(dt.braceR))return;Ci()}else hi(),ke(dt.lessThan)||ke(dt.parenL)?ui():(ge(dt.question),Jr())}function fi(){ge(dt.semi)||ge(dt.comma)||ke(dt.braceR)||ke(dt.braceBarR)||Gt()}function mi(t){for(t||Zr();ge(dt.dot);)Zr()}function gi(){const t=xe();t===dt.colon||t===dt.question?(Zr(),ge(dt.question),Jr()):Ci()}function yi(){for(;!ke(dt.parenR)&&!ke(dt.ellipsis)&&!Bt.error;)gi(),ke(dt.parenR)||Yt(dt.comma);ge(dt.ellipsis)&&gi()}function ki(){let t=!1;const e=Bt.noAnonFunctionType;switch(Bt.type){case dt.name:return Dt(ut._interface)?void function(){if(Pt(ut._interface),ge(dt._extends))do{ri()}while(ge(dt.comma));di(!1,!1,!1)}():(Zr(),mi(!0),void(ke(dt.lessThan)&&ci()));case dt.braceL:return void di(!1,!1,!1);case dt.braceBarL:return void di(!1,!0,!1);case dt.bracketL:return void function(){for(Yt(dt.bracketL);Bt.pos0?this.tokens[this.tokenIndex-1].end:0,this.tokenIndex0&&e0&&this.tokenAtRelativeIndex(-1).type===dt._delete?t.isAsyncOperation?this.resultCode+=this.helperManager.getHelperName("asyncOptionalChainDelete"):this.resultCode+=this.helperManager.getHelperName("optionalChainDelete"):t.isAsyncOperation?this.resultCode+=this.helperManager.getHelperName("asyncOptionalChain"):this.resultCode+=this.helperManager.getHelperName("optionalChain"),this.resultCode+="([")}}appendTokenSuffix(){const t=this.currentToken();if(t.isOptionalChainEnd&&!this.disableESTransforms&&(this.resultCode+="])"),t.numNullishCoalesceEnds&&!this.disableESTransforms)for(let e=0;e ${t}require`);const e=this.tokens.currentToken().contextId;if(null==e)throw new Error("Expected context ID on dynamic import invocation.");for(this.tokens.copyToken();!this.tokens.matchesContextIdAndLabel(dt.parenR,e);)this.rootTransformer.processToken();return void this.tokens.replaceToken(t?")))":"))")}if(this.removeImportAndDetectIfShouldElide())this.tokens.removeToken();else{const t=this.tokens.stringValue();this.tokens.replaceTokenTrimmingLeftWhitespace(this.importProcessor.claimImportCode(t)),this.tokens.appendCode(this.importProcessor.claimImportCode(t))}bo(this.tokens),this.tokens.matches1(dt.semi)&&this.tokens.removeToken()}removeImportAndDetectIfShouldElide(){if(this.tokens.removeInitialToken(),this.tokens.matchesContextual(ut._type)&&!this.tokens.matches1AtIndex(this.tokens.currentIndex()+1,dt.comma)&&!this.tokens.matchesContextualAtIndex(this.tokens.currentIndex()+1,ut._from))return this.removeRemainingImport(),!0;if(this.tokens.matches1(dt.name)||this.tokens.matches1(dt.star))return this.removeRemainingImport(),!1;if(this.tokens.matches1(dt.string))return!1;let t=!1,e=!1;for(;!this.tokens.matches1(dt.string);)(!t&&this.tokens.matches1(dt.braceL)||this.tokens.matches1(dt.comma))&&(this.tokens.removeToken(),this.tokens.matches1(dt.braceR)||(e=!0),(this.tokens.matches2(dt.name,dt.comma)||this.tokens.matches2(dt.name,dt.braceR)||this.tokens.matches4(dt.name,dt.name,dt.name,dt.comma)||this.tokens.matches4(dt.name,dt.name,dt.name,dt.braceR))&&(t=!0)),this.tokens.removeToken();return!this.keepUnusedImports&&(this.isTypeScriptTransformEnabled?!t:!!this.isFlowTransformEnabled&&(e&&!t))}removeRemainingImport(){for(;!this.tokens.matches1(dt.string);)this.tokens.removeToken()}processIdentifier(){const t=this.tokens.currentToken();if(t.shadowsGlobal)return!1;if(t.identifierRole===ne.ObjectShorthand)return this.processObjectShorthand();if(t.identifierRole!==ne.Access)return!1;const e=this.importProcessor.getIdentifierReplacement(this.tokens.identifierNameForToken(t));if(!e)return!1;let n=this.tokens.currentIndex()+1;for(;n=2&&this.tokens.matches1AtIndex(t-2,dt.dot))return!1;if(t>=2&&[dt._var,dt._let,dt._const].includes(this.tokens.tokens[t-2].type))return!1;const n=this.importProcessor.resolveExportBinding(this.tokens.identifierNameForToken(e));return!!n&&(this.tokens.copyToken(),this.tokens.appendCode(` ${n} =`),!0)}processComplexAssignment(){const t=this.tokens.currentIndex(),e=this.tokens.tokens[t-1];if(e.type!==dt.name)return!1;if(e.shadowsGlobal)return!1;if(t>=2&&this.tokens.matches1AtIndex(t-2,dt.dot))return!1;const n=this.importProcessor.resolveExportBinding(this.tokens.identifierNameForToken(e));return!!n&&(this.tokens.appendCode(` = ${n}`),this.tokens.copyToken(),!0)}processPreIncDec(){const t=this.tokens.currentIndex(),e=this.tokens.tokens[t+1];if(e.type!==dt.name)return!1;if(e.shadowsGlobal)return!1;if(t+2=1&&this.tokens.matches1AtIndex(t-1,dt.dot))return!1;const r=this.tokens.identifierNameForToken(e),i=this.importProcessor.resolveExportBinding(r);if(!i)return!1;const o=this.tokens.rawCodeForToken(n),s=this.importProcessor.getIdentifierReplacement(r)||r;if("++"===o)this.tokens.replaceToken(`(${s} = ${i} = ${s} + 1, ${s} - 1)`);else{if("--"!==o)throw new Error(`Unexpected operator: ${o}`);this.tokens.replaceToken(`(${s} = ${i} = ${s} - 1, ${s} + 1)`)}return this.tokens.removeToken(),!0}processExportDefault(){let t=!0;if(this.tokens.matches4(dt._export,dt._default,dt._function,dt.name)||this.tokens.matches5(dt._export,dt._default,dt.name,dt._function,dt.name)&&this.tokens.matchesContextualAtIndex(this.tokens.currentIndex()+2,ut._async)){this.tokens.removeInitialToken(),this.tokens.removeToken();const t=this.processNamedFunction();this.tokens.appendCode(` exports.default = ${t};`)}else if(this.tokens.matches4(dt._export,dt._default,dt._class,dt.name)||this.tokens.matches5(dt._export,dt._default,dt._abstract,dt._class,dt.name)||this.tokens.matches3(dt._export,dt._default,dt.at)){this.tokens.removeInitialToken(),this.tokens.removeToken(),this.copyDecorators(),this.tokens.matches1(dt._abstract)&&this.tokens.removeToken();const t=this.rootTransformer.processNamedClass();this.tokens.appendCode(` exports.default = ${t};`)}else if(Co(this.isTypeScriptTransformEnabled,this.keepUnusedImports,this.tokens,this.declarationInfo))t=!1,this.tokens.removeInitialToken(),this.tokens.removeToken(),this.tokens.removeToken();else if(this.reactHotLoaderTransformer){const t=this.nameManager.claimFreeName("_default");this.tokens.replaceToken(`let ${t}; exports.`),this.tokens.copyToken(),this.tokens.appendCode(` = ${t} =`),this.reactHotLoaderTransformer.setExtractedDefaultExportName(t)}else this.tokens.replaceToken("exports."),this.tokens.copyToken(),this.tokens.appendCode(" =");t&&(this.hadDefaultExport=!0)}copyDecorators(){for(;this.tokens.matches1(dt.at);)if(this.tokens.copyToken(),this.tokens.matches1(dt.parenL))this.tokens.copyExpectedToken(dt.parenL),this.rootTransformer.processBalancedCode(),this.tokens.copyExpectedToken(dt.parenR);else{for(this.tokens.copyExpectedToken(dt.name);this.tokens.matches1(dt.dot);)this.tokens.copyExpectedToken(dt.dot),this.tokens.copyExpectedToken(dt.name);this.tokens.matches1(dt.parenL)&&(this.tokens.copyExpectedToken(dt.parenL),this.rootTransformer.processBalancedCode(),this.tokens.copyExpectedToken(dt.parenR))}}processExportVar(){this.isSimpleExportVar()?this.processSimpleExportVar():this.processComplexExportVar()}isSimpleExportVar(){let t=this.tokens.currentIndex();if(t++,t++,!this.tokens.matches1AtIndex(t,dt.name))return!1;for(t++;tn.call(e,...t))),e=void 0)}return n}([this,"access",t=>t.importProcessor,"optionalAccess",t=>t.getGlobalNames,"call",t=>t(),"optionalAccess",t=>t.has,"call",t=>t(wo)])&&this.extractHoistedCalls())}getHoistedCode(){return this.hoistedFunctionNames.length>0?this.hoistedFunctionNames.map((t=>`${t}();`)).join(""):""}extractHoistedCalls(){this.tokens.removeToken();let t=!1;for(;this.tokens.matches3(dt.dot,dt.name,dt.parenL);){const e=this.tokens.identifierNameAtIndex(this.tokens.currentIndex()+1);if(So.includes(e)){const e=this.nameManager.claimFreeName("__jestHoist");this.hoistedFunctionNames.push(e),this.tokens.replaceToken(`function ${e}(){${wo}.`),this.tokens.copyToken(),this.tokens.copyToken(),this.rootTransformer.processBalancedCode(),this.tokens.copyExpectedToken(dt.parenR),this.tokens.appendCode(";}"),t=!1}else t?this.tokens.copyToken():this.tokens.replaceToken(`${wo}.`),this.tokens.copyToken(),this.tokens.copyToken(),this.rootTransformer.processBalancedCode(),this.tokens.copyExpectedToken(dt.parenR),t=!0}return!0}}class Lo extends Pe{constructor(t){super(),this.tokens=t}process(){if(this.tokens.matches1(dt.num)){const t=this.tokens.currentTokenCode();if(t.includes("_"))return this.tokens.replaceToken(t.replace(/_/g,"")),!0}return!1}}class Eo extends Pe{constructor(t,e){super(),this.tokens=t,this.nameManager=e}process(){return!!this.tokens.matches2(dt._catch,dt.braceL)&&(this.tokens.copyToken(),this.tokens.appendCode(` (${this.nameManager.claimFreeName("e")})`),!0)}}class Bo extends Pe{constructor(t,e){super(),this.tokens=t,this.nameManager=e}process(){if(this.tokens.matches1(dt.nullishCoalescing)){const t=this.tokens.currentToken();return this.tokens.tokens[t.nullishStartIndex].isAsyncOperation?this.tokens.replaceTokenTrimmingLeftWhitespace(", async () => ("):this.tokens.replaceTokenTrimmingLeftWhitespace(", () => ("),!0}if(this.tokens.matches1(dt._delete)){if(this.tokens.tokenAtRelativeIndex(1).isOptionalChainStart)return this.tokens.removeInitialToken(),!0}const t=this.tokens.currentToken().subscriptStartIndex;if(null!=t&&this.tokens.tokens[t].isOptionalChainStart&&this.tokens.tokenAtRelativeIndex(-1).type!==dt._super){const e=this.nameManager.claimFreeName("_");let n;if(n=t>0&&this.tokens.matches1AtIndex(t-1,dt._delete)&&this.isLastSubscriptInChain()?`${e} => delete ${e}`:`${e} => ${e}`,this.tokens.tokens[t].isAsyncOperation&&(n=`async ${n}`),this.tokens.matches2(dt.questionDot,dt.parenL)||this.tokens.matches2(dt.questionDot,dt.lessThan))this.justSkippedSuper()&&this.tokens.appendCode(".bind(this)"),this.tokens.replaceTokenTrimmingLeftWhitespace(`, 'optionalCall', ${n}`);else if(this.tokens.matches2(dt.questionDot,dt.bracketL))this.tokens.replaceTokenTrimmingLeftWhitespace(`, 'optionalAccess', ${n}`);else if(this.tokens.matches1(dt.questionDot))this.tokens.replaceTokenTrimmingLeftWhitespace(`, 'optionalAccess', ${n}.`);else if(this.tokens.matches1(dt.dot))this.tokens.replaceTokenTrimmingLeftWhitespace(`, 'access', ${n}.`);else if(this.tokens.matches1(dt.bracketL))this.tokens.replaceTokenTrimmingLeftWhitespace(`, 'access', ${n}[`);else{if(!this.tokens.matches1(dt.parenL))throw new Error("Unexpected subscript operator in optional chain.");this.justSkippedSuper()&&this.tokens.appendCode(".bind(this)"),this.tokens.replaceTokenTrimmingLeftWhitespace(`, 'call', ${n}(`)}return!0}return!1}isLastSubscriptInChain(){let t=0;for(let e=this.tokens.currentIndex()+1;;e++){if(e>=this.tokens.tokens.length)throw new Error("Reached the end of the code while finding the end of the access chain.");if(this.tokens.tokens[e].isOptionalChainStart?t++:this.tokens.tokens[e].isOptionalChainEnd&&t--,t<0)return!0;if(0===t&&null!=this.tokens.tokens[e].subscriptStartIndex)return!1}}justSkippedSuper(){let t=0,e=this.tokens.currentIndex()-1;for(;;){if(e<0)throw new Error("Reached the start of the code while finding the start of the access chain.");if(this.tokens.tokens[e].isOptionalChainStart?t--:this.tokens.tokens[e].isOptionalChainEnd&&t++,t<0)return!1;if(0===t&&null!=this.tokens.tokens[e].subscriptStartIndex)return this.tokens.tokens[e-1].type===dt._super;e--}}}class Fo extends Pe{constructor(t,e,n,r){super(),this.rootTransformer=t,this.tokens=e,this.importProcessor=n,this.options=r}process(){const t=this.tokens.currentIndex();if("createReactClass"===this.tokens.identifierName()){const e=this.importProcessor&&this.importProcessor.getIdentifierReplacement("createReactClass");return e?this.tokens.replaceToken(`(0, ${e})`):this.tokens.copyToken(),this.tryProcessCreateClassCall(t),!0}if(this.tokens.matches3(dt.name,dt.dot,dt.name)&&"React"===this.tokens.identifierName()&&"createClass"===this.tokens.identifierNameAtIndex(this.tokens.currentIndex()+2)){const e=this.importProcessor&&this.importProcessor.getIdentifierReplacement("React")||"React";return e?(this.tokens.replaceToken(e),this.tokens.copyToken(),this.tokens.copyToken()):(this.tokens.copyToken(),this.tokens.copyToken(),this.tokens.copyToken()),this.tryProcessCreateClassCall(t),!0}return!1}tryProcessCreateClassCall(t){const e=this.findDisplayName(t);e&&this.classNeedsDisplayName()&&(this.tokens.copyExpectedToken(dt.parenL),this.tokens.copyExpectedToken(dt.braceL),this.tokens.appendCode(`displayName: '${e}',`),this.rootTransformer.processBalancedCode(),this.tokens.copyExpectedToken(dt.braceR),this.tokens.copyExpectedToken(dt.parenR))}findDisplayName(t){return t<2?null:this.tokens.matches2AtIndex(t-2,dt.name,dt.eq)||t>=2&&this.tokens.tokens[t-2].identifierRole===ne.ObjectKey?this.tokens.identifierNameAtIndex(t-2):this.tokens.matches2AtIndex(t-2,dt._export,dt._default)?this.getDisplayNameFromFilename():null}getDisplayNameFromFilename(){const t=(this.options.filePath||"unknown").split("/"),e=t[t.length-1],n=e.lastIndexOf("."),r=-1===n?e:e.slice(0,n);return"index"===r&&t[t.length-2]?t[t.length-2]:r}classNeedsDisplayName(){let t=this.tokens.currentIndex();if(!this.tokens.matches2(dt.parenL,dt.braceL))return!1;const e=t+1,n=this.tokens.tokens[e].contextId;if(null==n)throw new Error("Expected non-null context ID on object open-brace.");for(;t({variableName:t,uniqueLocalName:t})));return this.extractedDefaultExportName&&e.push({variableName:this.extractedDefaultExportName,uniqueLocalName:"default"}),`\n;(function () {\n var reactHotLoader = require('react-hot-loader').default;\n var leaveModule = require('react-hot-loader').leaveModule;\n if (!reactHotLoader) {\n return;\n }\n${e.map((({variableName:t,uniqueLocalName:e})=>` reactHotLoader.register(${t}, "${e}", ${JSON.stringify(this.filePath||"")});`)).join("\n")}\n leaveModule(module);\n})();`}process(){return!1}}const Mo=new Set(["break","case","catch","class","const","continue","debugger","default","delete","do","else","export","extends","finally","for","function","if","import","in","instanceof","new","return","super","switch","this","throw","try","typeof","var","void","while","with","yield","enum","implements","interface","let","package","private","protected","public","static","await","false","null","true"]);function jo(t){if(0===t.length)return!1;if(!te[t.charCodeAt(0)])return!1;for(let e=1;e` var ${t};`)).join("");for(const i of this.transformers)t+=i.getHoistedCode();let e="";for(const i of this.transformers)e+=i.getSuffixCode();const n=this.tokens.finish();let{code:r}=n;if(r.startsWith("#!")){let i=r.indexOf("\n");return-1===i&&(i=r.length,r+="\n"),{code:r.slice(0,i+1)+t+r.slice(i+1)+e,mappings:this.shiftMappings(n.mappings,t.length)}}return{code:t+r+e,mappings:this.shiftMappings(n.mappings,t.length)}}processBalancedCode(){let t=0,e=0;for(;!this.tokens.isAtEnd();){if(this.tokens.matches1(dt.braceL)||this.tokens.matches1(dt.dollarBraceL))t++;else if(this.tokens.matches1(dt.braceR)){if(0===t)return;t--}if(this.tokens.matches1(dt.parenL))e++;else if(this.tokens.matches1(dt.parenR)){if(0===e)return;e--}this.processToken()}}processToken(){if(this.tokens.matches1(dt._class))this.processClass();else{for(const t of this.transformers){if(t.process())return}this.tokens.copyToken()}}processNamedClass(){if(!this.tokens.matches2(dt._class,dt.name))throw new Error("Expected identifier for exported class name.");const t=this.tokens.identifierNameAtIndex(this.tokens.currentIndex()+1);return this.processClass(),t}processClass(){const t=uo(this,this.tokens,this.nameManager,this.disableESTransforms),e=(t.headerInfo.isExpression||!t.headerInfo.className)&&t.staticInitializerNames.length+t.instanceInitializerNames.length>0;let n=t.headerInfo.className;e&&(n=this.nameManager.claimFreeName("_class"),this.generatedVariables.push(n),this.tokens.appendCode(` (${n} =`));const r=this.tokens.currentToken().contextId;if(null==r)throw new Error("Expected class to have a context ID.");for(this.tokens.copyExpectedToken(dt._class);!this.tokens.matchesContextIdAndLabel(dt.braceL,r);)this.processToken();this.processClassBody(t,n);const i=t.staticInitializerNames.map((t=>`${n}.${t}()`));e?this.tokens.appendCode(`, ${i.map((t=>`${t}, `)).join("")}${n})`):t.staticInitializerNames.length>0&&this.tokens.appendCode(` ${i.map((t=>`${t};`)).join(" ")}`)}processClassBody(t,e){const{headerInfo:n,constructorInsertPos:r,constructorInitializerStatements:i,fields:o,instanceInitializerNames:s,rangesToRemove:a}=t;let l=0,c=0;const h=this.tokens.currentToken().contextId;if(null==h)throw new Error("Expected non-null context ID on class.");this.tokens.copyExpectedToken(dt.braceL),this.isReactHotLoaderTransformEnabled&&this.tokens.appendCode("__reactstandin__regenerateByEval(key, code) {this[key] = eval(code);}");const u=i.length+s.length>0;if(null===r&&u){const t=this.makeConstructorInitCode(i,s,e);if(n.hasSuperclass){const e=this.nameManager.claimFreeName("args");this.tokens.appendCode(`constructor(...${e}) { super(...${e}); ${t}; }`)}else this.tokens.appendCode(`constructor() { ${t}; }`)}for(;!this.tokens.matchesContextIdAndLabel(dt.braceR,h);)if(l=a[c].start){for(this.tokens.currentIndex()`${n}.prototype.${t}.call(this)`))].join(";")}processPossibleArrowParamEnd(){if(this.tokens.matches2(dt.parenR,dt.colon)&&this.tokens.tokenAtRelativeIndex(1).isType){let t=this.tokens.currentIndex()+1;for(;this.tokens.tokens[t].isType;)t++;if(this.tokens.matches1AtIndex(t,dt.arrow)){for(this.tokens.removeInitialToken();this.tokens.currentIndex()"),!0}}return!1}processPossibleAsyncArrowWithTypeParams(){if(!this.tokens.matchesContextual(ut._async)&&!this.tokens.matches1(dt._async))return!1;const t=this.tokens.tokenAtRelativeIndex(1);if(t.type!==dt.lessThan||!t.isType)return!1;let e=this.tokens.currentIndex()+1;for(;this.tokens.tokens[e].isType;)e++;if(this.tokens.matches1AtIndex(e,dt.parenL)){for(this.tokens.replaceToken("async ("),this.tokens.removeInitialToken();this.tokens.currentIndex()e in t?Po(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n,Go=(t,e)=>{for(var n in e||(e={}))Ho.call(e,n)&&Yo(t,n,e[n]);if(Wo)for(var n of Wo(e))Vo.call(e,n)&&Yo(t,n,e[n]);return t},Xo=(t,e)=>zo(t,Uo(e)),Ko=t=>{const{tabMode:e="indentation"}=t,n=(0,r.useRef)(null),[i,o]=(0,r.useState)(t.code||""),{theme:a}=t;return(0,r.useEffect)((()=>{o(t.code)}),[t.code]),function(t,e,n){function i(e){var n=t.current;if(n){var r=vt(n);n=Ct(n),r.position+=e.length-n.length,h.position=r,h.onChange(e,r)}}function o(e,n){var r=t.current;if(r){var i=window.getSelection().getRangeAt(0);i.deleteContents(),i.collapse();var o=n||0;(i=Tt(r,n=(i=vt(r)).position+(0>o?o:0),i.position+(0o-l||s&&s[1]===r?l=o:(n=++h.historyAt,h.history[n]=[i,r],h.history.splice(n+1),500o(t.slice(0,-1))),{disabled:t.disabled,indentation:"indentation"===e?2:void 0}),(0,r.useEffect)((()=>{t.onChange&&t.onChange(i)}),[i]),(0,s.jsx)("div",{className:t.className,style:t.style,children:(0,s.jsx)(kt.f4,{code:i,theme:t.theme||kt.Zj.nightOwl,language:t.language,children:({className:t,tokens:e,getLineProps:r,getTokenProps:i,style:o})=>(0,s.jsx)("pre",{className:t,style:Go(Go({margin:0,outline:"none",padding:10,fontFamily:"inherit"},a&&"object"==typeof a.plain?a.plain:{}),o),ref:n,spellCheck:"false",children:e.map(((t,e)=>(0,s.jsxs)("span",Xo(Go({},r({line:t})),{children:[t.filter((t=>!t.empty)).map(((t,e)=>(0,s.jsx)("span",Go({},i({token:t})),`token-${e}`))),"\n"]}),`line-${e}`)))})})})},Zo=(0,r.createContext)({}),Jo=["jsx","imports"];function Qo(t={}){const e=Array.isArray(t.transforms)?t.transforms.filter(Boolean):Jo;return t=>qo(t,{transforms:e}).code}var ts=(t,e)=>class extends r.Component{componentDidCatch(t){e(t)}render(){return"function"==typeof t?(0,s.jsx)(t,{}):r.isValidElement(t)?t:null}},es=(t,e)=>{const n=Object.keys(e),r=n.map((t=>e[t]));return new Function(...n,t)(...r)};var ns='const _jsxFileName = "";',rs=t=>t.trim().replace(/;$/,""),is=t=>t.replace(ns,"").trim(),os=t=>ns+t,ss=t=>`return (${t})`;var as=function({children:t,code:e="",language:n="tsx",theme:i,enableTypeScript:o=!0,disabled:a=!1,scope:l,transformCode:c,noInline:h=!1}){const[u,d]=(0,r.useState)({error:void 0,element:void 0});function p(t){return e=this,n=null,i=function*(){const e=t=>{d({error:t.toString(),element:void 0})};try{const i=c?c(t):t;try{const t=yield Promise.resolve(i),n=t=>d({error:void 0,element:t});if("string"!=typeof t)throw new Error("Code failed to transform");const s={code:t,scope:l,enableTypeScript:o};h?(d({error:void 0,element:null}),(({code:t="",scope:e={},enableTypeScript:n=!0},i,o)=>{if(!/render\s*\(/.test(t))return o(new SyntaxError("No-Inline evaluations must call `render`."));const s=["jsx","imports"];n&&s.splice(1,0,"typescript"),es(Qo({transforms:s})(t),Xo(Go({React:r},e),{render:t=>{void 0===t?o(new SyntaxError("`render` must be called with valid JSX.")):i(ts(t,o))}}))})(s,n,e)):n((({code:t="",scope:e={},enableTypeScript:n=!0},i)=>{const o=["jsx"];n&&o.push("typescript");const s=function(...t){return t.reduce(((t,e)=>(...n)=>t(e(...n))))}(os,Qo({transforms:["imports"]}),ss,is,rs,Qo({transforms:o}),rs)(t);return ts(es(s,Go({React:r},e)),i)})(s,e))}catch(n){return e(n)}}catch(i){return e(i),Promise.resolve()}},new Promise(((t,r)=>{var o=t=>{try{a(i.next(t))}catch(e){r(e)}},s=t=>{try{a(i.throw(t))}catch(e){r(e)}},a=e=>e.done?t(e.value):Promise.resolve(e.value).then(o,s);a((i=i.apply(e,n)).next())}));var e,n,i}const f=t=>d({error:t.toString()});return(0,r.useEffect)((()=>{p(e).catch(f)}),[e,l,h,c]),(0,s.jsx)(Zo.Provider,{value:Xo(Go({},u),{code:e,language:n,theme:i,disabled:a,onError:f,onChange:t=>{p(t).catch(f)}}),children:t})};function ls(t){const{code:e,language:n,theme:i,disabled:o,onChange:a}=(0,r.useContext)(Zo);return(0,s.jsx)(Ko,Go({theme:i,code:e,language:n,disabled:o,onChange:a},t))}function cs(t){const{error:e}=(0,r.useContext)(Zo);return e?(0,s.jsx)("pre",Xo(Go({},t),{children:e})):null}var hs=function(t){var e=t,{Component:n="div"}=e,i=((t,e)=>{var n={};for(var r in t)Ho.call(t,r)&&e.indexOf(r)<0&&(n[r]=t[r]);if(null!=t&&Wo)for(var r of Wo(t))e.indexOf(r)<0&&Vo.call(t,r)&&(n[r]=t[r]);return n})(e,["Component"]);const{element:o}=(0,r.useContext)(Zo);return(0,s.jsx)(n,Xo(Go({},i),{children:o?(0,s.jsx)(o,{}):null}))};function us(t){let{children:e,fallback:n}=t;return(0,yt.A)()?(0,s.jsx)(s.Fragment,{children:e?.()}):n??null}var ds=n(2181),ps=n(5293);function fs(){const{prism:t}=(0,W.p)(),{colorMode:e}=(0,ps.G)(),n=t.theme,r=t.darkTheme||n;return"dark"===e?r:n}var ms=n(7489);const gs={playgroundContainer:"playgroundContainer_X_Ta",playgroundHeader:"playgroundHeader_dyrN",playgroundEditor:"playgroundEditor_Q6Y7",playgroundPreview:"playgroundPreview_DzOI"};function ys(t){let{children:e}=t;return(0,s.jsx)("div",{className:(0,u.A)(gs.playgroundHeader),children:e})}function ks(){return(0,s.jsx)("div",{children:"Loading..."})}function xs(){return(0,s.jsx)(us,{fallback:(0,s.jsx)(ks,{}),children:()=>(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(ms.A,{fallback:t=>(0,s.jsx)(ds.MN,{...t}),children:(0,s.jsx)(hs,{})}),(0,s.jsx)(cs,{})]})})}function _s(){return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(ys,{children:(0,s.jsx)(p.A,{id:"theme.Playground.result",description:"The result label of the live codeblocks",children:"Result"})}),(0,s.jsx)("div",{className:gs.playgroundPreview,children:(0,s.jsx)(xs,{})})]})}function bs(){const t=(0,yt.A)();return(0,s.jsx)(ls,{className:gs.playgroundEditor},String(t))}function Cs(){return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(ys,{children:(0,s.jsx)(p.A,{id:"theme.Playground.liveEditor",description:"The live editor label of the live codeblocks",children:"Live Editor"})}),(0,s.jsx)(bs,{})]})}const vs=t=>`${t};`;function Ts(t){let{children:e,transformCode:n,...r}=t;const{siteConfig:{themeConfig:i}}=(0,k.A)(),{liveCodeBlock:{playgroundPosition:o}}=i,a=fs(),l=r.metastring?.includes("noInline")??!1;return(0,s.jsx)("div",{className:gs.playgroundContainer,children:(0,s.jsx)(as,{code:e?.replace(/\n$/,""),noInline:l,transformCode:n??vs,theme:a,...r,children:"top"===o?(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(_s,{}),(0,s.jsx)(Cs,{})]}):(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(Cs,{}),(0,s.jsx)(_s,{})]})})})}var As=n(1433),ws=n(8426),Ss=n.n(ws);const Is=/title=(?["'])(?.*?)\1/,Ls=/\{(?<range>[\d,-]+)\}/,Es={js:{start:"\\/\\/",end:""},jsBlock:{start:"\\/\\*",end:"\\*\\/"},jsx:{start:"\\{\\s*\\/\\*",end:"\\*\\/\\s*\\}"},bash:{start:"#",end:""},html:{start:"\x3c!--",end:"--\x3e"}},Bs={...Es,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:""}},Fs=Object.keys(Es);function Ns(t,e){const n=t.map((t=>{const{start:n,end:r}=Bs[t];return`(?:${n}\\s*(${e.flatMap((t=>[t.line,t.block?.start,t.block?.end].filter(Boolean))).join("|")})\\s*${r})`})).join("|");return new RegExp(`^\\s*(?:${n})\\s*$`)}function Ms(t,e){let n=t.replace(/\n$/,"");const{language:r,magicComments:i,metastring:o}=e;if(o&&Ls.test(o)){const t=o.match(Ls).groups.range;if(0===i.length)throw new Error(`A highlight range has been given in code block's metastring (\`\`\` ${o}), but no magic comment config is available. Docusaurus applies the first magic comment entry's className for metastring ranges.`);const e=i[0].className,r=Ss()(t).filter((t=>t>0)).map((t=>[t-1,[e]]));return{lineClassNames:Object.fromEntries(r),code:n}}if(void 0===r)return{lineClassNames:{},code:n};const s=function(t,e){switch(t){case"js":case"javascript":case"ts":case"typescript":return Ns(["js","jsBlock"],e);case"jsx":case"tsx":return Ns(["js","jsBlock","jsx"],e);case"html":return Ns(["js","jsBlock","html"],e);case"python":case"py":case"bash":return Ns(["bash"],e);case"markdown":case"md":return Ns(["html","jsx","bash"],e);case"tex":case"latex":case"matlab":return Ns(["tex"],e);case"lua":case"haskell":case"sql":return Ns(["lua"],e);case"wasm":return Ns(["wasm"],e);case"vb":case"vba":case"visual-basic":return Ns(["vb","rem"],e);case"vbnet":return Ns(["vbnet","rem"],e);case"batch":return Ns(["rem"],e);case"basic":return Ns(["rem","f90"],e);case"fsharp":return Ns(["js","ml"],e);case"ocaml":case"sml":return Ns(["ml"],e);case"fortran":return Ns(["f90"],e);case"cobol":return Ns(["cobol"],e);default:return Ns(Fs,e)}}(r,i),a=n.split("\n"),l=Object.fromEntries(i.map((t=>[t.className,{start:0,range:""}]))),c=Object.fromEntries(i.filter((t=>t.line)).map((t=>{let{className:e,line:n}=t;return[n,e]}))),h=Object.fromEntries(i.filter((t=>t.block)).map((t=>{let{className:e,block:n}=t;return[n.start,e]}))),u=Object.fromEntries(i.filter((t=>t.block)).map((t=>{let{className:e,block:n}=t;return[n.end,e]})));for(let p=0;p<a.length;){const t=a[p].match(s);if(!t){p+=1;continue}const e=t.slice(1).find((t=>void 0!==t));c[e]?l[c[e]].range+=`${p},`:h[e]?l[h[e]].start=p:u[e]&&(l[u[e]].range+=`${l[u[e]].start}-${p-1},`),a.splice(p,1)}n=a.join("\n");const d={};return Object.entries(l).forEach((t=>{let[e,{range:n}]=t;Ss()(n).forEach((t=>{d[t]??=[],d[t].push(e)}))})),{lineClassNames:d,code:n}}const js={codeBlockContainer:"codeBlockContainer_Ckt0"};function Os(t){let{as:e,...n}=t;const r=function(t){const e={color:"--prism-color",backgroundColor:"--prism-background-color"},n={};return Object.entries(t.plain).forEach((t=>{let[r,i]=t;const o=e[r];o&&"string"==typeof i&&(n[o]=i)})),n}(fs());return(0,s.jsx)(e,{...n,style:r,className:(0,u.A)(n.className,js.codeBlockContainer,_.G.common.codeBlock)})}const Rs={codeBlockContent:"codeBlockContent_biex",codeBlockTitle:"codeBlockTitle_Ktv7",codeBlock:"codeBlock_bY9V",codeBlockStandalone:"codeBlockStandalone_MEMb",codeBlockLines:"codeBlockLines_e6Vv",codeBlockLinesWithNumbering:"codeBlockLinesWithNumbering_o6Pm",buttonGroup:"buttonGroup__atx"};function Ds(t){let{children:e,className:n}=t;return(0,s.jsx)(Os,{as:"pre",tabIndex:0,className:(0,u.A)(Rs.codeBlockStandalone,"thin-scrollbar",n),children:(0,s.jsx)("code",{className:Rs.codeBlockLines,children:e})})}const qs={attributes:!0,characterData:!0,childList:!0,subtree:!0};function $s(t,e){const[n,i]=(0,r.useState)(),s=(0,r.useCallback)((()=>{i(t.current?.closest("[role=tabpanel][hidden]"))}),[t,i]);(0,r.useEffect)((()=>{s()}),[s]),function(t,e,n){void 0===n&&(n=qs);const i=(0,o._q)(e),s=(0,o.Be)(n);(0,r.useEffect)((()=>{const e=new MutationObserver(i);return t&&e.observe(t,s),()=>e.disconnect()}),[t,i,s])}(n,(t=>{t.forEach((t=>{"attributes"===t.type&&"hidden"===t.attributeName&&(e(),s())}))}),{attributes:!0,characterData:!1,childList:!1,subtree:!1})}const Ps={codeLine:"codeLine_lJS_",codeLineNumber:"codeLineNumber_Tfdd",codeLineContent:"codeLineContent_feaV"};function zs(t){let{line:e,classNames:n,showLineNumbers:r,getLineProps:i,getTokenProps:o}=t;1===e.length&&"\n"===e[0].content&&(e[0].content="");const a=i({line:e,className:(0,u.A)(n,r&&Ps.codeLine)}),l=e.map(((t,e)=>(0,s.jsx)("span",{...o({token:t})},e)));return(0,s.jsxs)("span",{...a,children:[r?(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)("span",{className:Ps.codeLineNumber}),(0,s.jsx)("span",{className:Ps.codeLineContent,children:l})]}):l,(0,s.jsx)("br",{})]})}function Us(t){return(0,s.jsx)("svg",{viewBox:"0 0 24 24",...t,children:(0,s.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 Ws(t){return(0,s.jsx)("svg",{viewBox:"0 0 24 24",...t,children:(0,s.jsx)("path",{fill:"currentColor",d:"M21,7L9,19L3.5,13.5L4.91,12.09L9,16.17L19.59,5.59L21,7Z"})})}const Hs={copyButtonCopied:"copyButtonCopied_obH4",copyButtonIcons:"copyButtonIcons_eSgA",copyButtonIcon:"copyButtonIcon_y97N",copyButtonSuccessIcon:"copyButtonSuccessIcon_LjdS"};function Vs(t){let{code:e,className:n}=t;const[i,o]=(0,r.useState)(!1),a=(0,r.useRef)(void 0),l=(0,r.useCallback)((()=>{!function(t,e){let{target:n=document.body}=void 0===e?{}:e;if("string"!=typeof t)throw new TypeError(`Expected parameter \`text\` to be a \`string\`, got \`${typeof t}\`.`);const r=document.createElement("textarea"),i=document.activeElement;r.value=t,r.setAttribute("readonly",""),r.style.contain="strict",r.style.position="absolute",r.style.left="-9999px",r.style.fontSize="12pt";const o=document.getSelection(),s=o.rangeCount>0&&o.getRangeAt(0);n.append(r),r.select(),r.selectionStart=0,r.selectionEnd=t.length;let a=!1;try{a=document.execCommand("copy")}catch{}r.remove(),s&&(o.removeAllRanges(),o.addRange(s)),i&&i.focus()}(e),o(!0),a.current=window.setTimeout((()=>{o(!1)}),1e3)}),[e]);return(0,r.useEffect)((()=>()=>window.clearTimeout(a.current)),[]),(0,s.jsx)("button",{type:"button","aria-label":i?(0,p.T)({id:"theme.CodeBlock.copied",message:"Copied",description:"The copied button label on code blocks"}):(0,p.T)({id:"theme.CodeBlock.copyButtonAriaLabel",message:"Copy code to clipboard",description:"The ARIA label for copy code blocks button"}),title:(0,p.T)({id:"theme.CodeBlock.copy",message:"Copy",description:"The copy button label on code blocks"}),className:(0,u.A)("clean-btn",n,Hs.copyButton,i&&Hs.copyButtonCopied),onClick:l,children:(0,s.jsxs)("span",{className:Hs.copyButtonIcons,"aria-hidden":"true",children:[(0,s.jsx)(Us,{className:Hs.copyButtonIcon}),(0,s.jsx)(Ws,{className:Hs.copyButtonSuccessIcon})]})})}function Ys(t){return(0,s.jsx)("svg",{viewBox:"0 0 24 24",...t,children:(0,s.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 Gs={wordWrapButtonIcon:"wordWrapButtonIcon_Bwma",wordWrapButtonEnabled:"wordWrapButtonEnabled_EoeP"};function Xs(t){let{className:e,onClick:n,isEnabled:r}=t;const i=(0,p.T)({id:"theme.CodeBlock.wordWrapToggle",message:"Toggle word wrap",description:"The title attribute for toggle word wrapping button of code block lines"});return(0,s.jsx)("button",{type:"button",onClick:n,className:(0,u.A)("clean-btn",e,r&&Gs.wordWrapButtonEnabled),"aria-label":i,title:i,children:(0,s.jsx)(Ys,{className:Gs.wordWrapButtonIcon,"aria-hidden":"true"})})}function Ks(t){let{children:e,className:n="",metastring:i,title:o,showLineNumbers:a,language:l}=t;const{prism:{defaultLanguage:c,magicComments:h}}=(0,W.p)(),d=function(t){return t?.toLowerCase()}(l??function(t){const e=t.split(" ").find((t=>t.startsWith("language-")));return e?.replace(/language-/,"")}(n)??c),p=fs(),f=function(){const[t,e]=(0,r.useState)(!1),[n,i]=(0,r.useState)(!1),o=(0,r.useRef)(null),s=(0,r.useCallback)((()=>{const n=o.current.querySelector("code");t?n.removeAttribute("style"):(n.style.whiteSpace="pre-wrap",n.style.overflowWrap="anywhere"),e((t=>!t))}),[o,t]),a=(0,r.useCallback)((()=>{const{scrollWidth:t,clientWidth:e}=o.current,n=t>e||o.current.querySelector("code").hasAttribute("style");i(n)}),[o]);return $s(o,a),(0,r.useEffect)((()=>{a()}),[t,a]),(0,r.useEffect)((()=>(window.addEventListener("resize",a,{passive:!0}),()=>{window.removeEventListener("resize",a)})),[a]),{codeBlockRef:o,isEnabled:t,isCodeScrollable:n,toggle:s}}(),m=function(t){return t?.match(Is)?.groups.title??""}(i)||o,{lineClassNames:g,code:y}=Ms(e,{metastring:i,language:d,magicComments:h}),k=a??function(t){return Boolean(t?.includes("showLineNumbers"))}(i);return(0,s.jsxs)(Os,{as:"div",className:(0,u.A)(n,d&&!n.includes(`language-${d}`)&&`language-${d}`),children:[m&&(0,s.jsx)("div",{className:Rs.codeBlockTitle,children:m}),(0,s.jsxs)("div",{className:Rs.codeBlockContent,children:[(0,s.jsx)(kt.f4,{theme:p,code:y,language:d??"text",children:t=>{let{className:e,style:n,tokens:r,getLineProps:i,getTokenProps:o}=t;return(0,s.jsx)("pre",{tabIndex:0,ref:f.codeBlockRef,className:(0,u.A)(e,Rs.codeBlock,"thin-scrollbar"),style:n,children:(0,s.jsx)("code",{className:(0,u.A)(Rs.codeBlockLines,k&&Rs.codeBlockLinesWithNumbering),children:r.map(((t,e)=>(0,s.jsx)(zs,{line:t,getLineProps:i,getTokenProps:o,classNames:g[e],showLineNumbers:k},e)))})})}}),(0,s.jsxs)("div",{className:Rs.buttonGroup,children:[(f.isEnabled||f.isCodeScrollable)&&(0,s.jsx)(Xs,{className:Rs.codeButton,onClick:()=>f.toggle(),isEnabled:f.isEnabled}),(0,s.jsx)(Vs,{className:Rs.codeButton,code:y})]})]})]})}const Zs=(Js=function(t){let{children:e,...n}=t;const i=(0,yt.A)(),o=function(t){return r.Children.toArray(t).some((t=>(0,r.isValidElement)(t)))?t:Array.isArray(t)?t.join(""):t}(e),a="string"==typeof o?Ks:Ds;return(0,s.jsx)(a,{...n,children:o},String(i))},function(t){return t.live?(0,s.jsx)(Ts,{scope:As.A,...t}):(0,s.jsx)(Js,{...t})});var Js;function Qs(t){return(0,s.jsx)("code",{...t})}var ta=n(3427);const ea={details:"details_lb9f",isBrowser:"isBrowser_bmU9",collapsibleContent:"collapsibleContent_i85q"};function na(t){return!!t&&("SUMMARY"===t.tagName||na(t.parentElement))}function ra(t,e){return!!t&&(t===e||ra(t.parentElement,e))}function ia(t){let{summary:e,children:n,...i}=t;(0,ta.A)().collectAnchor(i.id);const o=(0,yt.A)(),a=(0,r.useRef)(null),{collapsed:l,setCollapsed:c}=(0,U.u)({initialState:!i.open}),[h,d]=(0,r.useState)(i.open),p=r.isValidElement(e)?e:(0,s.jsx)("summary",{children:e??"Details"});return(0,s.jsxs)("details",{...i,ref:a,open:h,"data-collapsed":l,className:(0,u.A)(ea.details,o&&ea.isBrowser,i.className),onMouseDown:t=>{na(t.target)&&t.detail>1&&t.preventDefault()},onClick:t=>{t.stopPropagation();const e=t.target;na(e)&&ra(e,a.current)&&(t.preventDefault(),l?(c(!1),d(!0)):c(!0))},children:[p,(0,s.jsx)(U.N,{lazy:!1,collapsed:l,disableSSRStyle:!0,onCollapseTransitionEnd:t=>{c(t),d(!t)},children:(0,s.jsx)("div",{className:ea.collapsibleContent,children:n})})]})}const oa={details:"details_b_Ee"},sa="alert alert--info";function aa(t){let{...e}=t;return(0,s.jsx)(ia,{...e,className:(0,u.A)(sa,oa.details,e.className)})}function la(t){const e=r.Children.toArray(t.children),n=e.find((t=>r.isValidElement(t)&&"summary"===t.type)),i=(0,s.jsx)(s.Fragment,{children:e.filter((t=>t!==n))});return(0,s.jsx)(aa,{...t,summary:n,children:i})}function ca(t){return(0,s.jsx)(ft.A,{...t})}const ha={containsTaskList:"containsTaskList_mC6p"};function ua(t){if(void 0!==t)return(0,u.A)(t,t?.includes("contains-task-list")&&ha.containsTaskList)}const da={img:"img_ev3q"};function pa(t){const{mdxAdmonitionTitle:e,rest:n}=function(t){const e=r.Children.toArray(t),n=e.find((t=>r.isValidElement(t)&&"mdxAdmonitionTitle"===t.type)),i=e.filter((t=>t!==n)),o=n?.props.children;return{mdxAdmonitionTitle:o,rest:i.length>0?(0,s.jsx)(s.Fragment,{children:i}):null}}(t.children),i=t.title??e;return{...t,...i&&{title:i},children:n}}const fa={admonition:"admonition_xJq3",admonitionHeading:"admonitionHeading_Gvgb",admonitionIcon:"admonitionIcon_Rf37",admonitionContent:"admonitionContent_BuS1"};function ma(t){let{type:e,className:n,children:r}=t;return(0,s.jsx)("div",{className:(0,u.A)(_.G.common.admonition,_.G.common.admonitionType(e),fa.admonition,n),children:r})}function ga(t){let{icon:e,title:n}=t;return(0,s.jsxs)("div",{className:fa.admonitionHeading,children:[(0,s.jsx)("span",{className:fa.admonitionIcon,children:e}),n]})}function ya(t){let{children:e}=t;return e?(0,s.jsx)("div",{className:fa.admonitionContent,children:e}):null}function ka(t){const{type:e,icon:n,title:r,children:i,className:o}=t;return(0,s.jsxs)(ma,{type:e,className:o,children:[r||n?(0,s.jsx)(ga,{title:r,icon:n}):null,(0,s.jsx)(ya,{children:i})]})}function xa(t){return(0,s.jsx)("svg",{viewBox:"0 0 14 16",...t,children:(0,s.jsx)("path",{fillRule:"evenodd",d:"M6.3 5.69a.942.942 0 0 1-.28-.7c0-.28.09-.52.28-.7.19-.18.42-.28.7-.28.28 0 .52.09.7.28.18.19.28.42.28.7 0 .28-.09.52-.28.7a1 1 0 0 1-.7.3c-.28 0-.52-.11-.7-.3zM8 7.99c-.02-.25-.11-.48-.31-.69-.2-.19-.42-.3-.69-.31H6c-.27.02-.48.13-.69.31-.2.2-.3.44-.31.69h1v3c.02.27.11.5.31.69.2.2.42.31.69.31h1c.27 0 .48-.11.69-.31.2-.19.3-.42.31-.69H8V7.98v.01zM7 2.3c-3.14 0-5.7 2.54-5.7 5.68 0 3.14 2.56 5.7 5.7 5.7s5.7-2.55 5.7-5.7c0-3.15-2.56-5.69-5.7-5.69v.01zM7 .98c3.86 0 7 3.14 7 7s-3.14 7-7 7-7-3.12-7-7 3.14-7 7-7z"})})}const _a={icon:(0,s.jsx)(xa,{}),title:(0,s.jsx)(p.A,{id:"theme.admonition.note",description:"The default label used for the Note admonition (:::note)",children:"note"})};function ba(t){return(0,s.jsx)(ka,{..._a,...t,className:(0,u.A)("alert alert--secondary",t.className),children:t.children})}function Ca(t){return(0,s.jsx)("svg",{viewBox:"0 0 12 16",...t,children:(0,s.jsx)("path",{fillRule:"evenodd",d:"M6.5 0C3.48 0 1 2.19 1 5c0 .92.55 2.25 1 3 1.34 2.25 1.78 2.78 2 4v1h5v-1c.22-1.22.66-1.75 2-4 .45-.75 1-2.08 1-3 0-2.81-2.48-5-5.5-5zm3.64 7.48c-.25.44-.47.8-.67 1.11-.86 1.41-1.25 2.06-1.45 3.23-.02.05-.02.11-.02.17H5c0-.06 0-.13-.02-.17-.2-1.17-.59-1.83-1.45-3.23-.2-.31-.42-.67-.67-1.11C2.44 6.78 2 5.65 2 5c0-2.2 2.02-4 4.5-4 1.22 0 2.36.42 3.22 1.19C10.55 2.94 11 3.94 11 5c0 .66-.44 1.78-.86 2.48zM4 14h5c-.23 1.14-1.3 2-2.5 2s-2.27-.86-2.5-2z"})})}const va={icon:(0,s.jsx)(Ca,{}),title:(0,s.jsx)(p.A,{id:"theme.admonition.tip",description:"The default label used for the Tip admonition (:::tip)",children:"tip"})};function Ta(t){return(0,s.jsx)(ka,{...va,...t,className:(0,u.A)("alert alert--success",t.className),children:t.children})}function Aa(t){return(0,s.jsx)("svg",{viewBox:"0 0 14 16",...t,children:(0,s.jsx)("path",{fillRule:"evenodd",d:"M7 2.3c3.14 0 5.7 2.56 5.7 5.7s-2.56 5.7-5.7 5.7A5.71 5.71 0 0 1 1.3 8c0-3.14 2.56-5.7 5.7-5.7zM7 1C3.14 1 0 4.14 0 8s3.14 7 7 7 7-3.14 7-7-3.14-7-7-7zm1 3H6v5h2V4zm0 6H6v2h2v-2z"})})}const wa={icon:(0,s.jsx)(Aa,{}),title:(0,s.jsx)(p.A,{id:"theme.admonition.info",description:"The default label used for the Info admonition (:::info)",children:"info"})};function Sa(t){return(0,s.jsx)(ka,{...wa,...t,className:(0,u.A)("alert alert--info",t.className),children:t.children})}function Ia(t){return(0,s.jsx)("svg",{viewBox:"0 0 16 16",...t,children:(0,s.jsx)("path",{fillRule:"evenodd",d:"M8.893 1.5c-.183-.31-.52-.5-.887-.5s-.703.19-.886.5L.138 13.499a.98.98 0 0 0 0 1.001c.193.31.53.501.886.501h13.964c.367 0 .704-.19.877-.5a1.03 1.03 0 0 0 .01-1.002L8.893 1.5zm.133 11.497H6.987v-2.003h2.039v2.003zm0-3.004H6.987V5.987h2.039v4.006z"})})}const La={icon:(0,s.jsx)(Ia,{}),title:(0,s.jsx)(p.A,{id:"theme.admonition.warning",description:"The default label used for the Warning admonition (:::warning)",children:"warning"})};function Ea(t){return(0,s.jsx)("svg",{viewBox:"0 0 12 16",...t,children:(0,s.jsx)("path",{fillRule:"evenodd",d:"M5.05.31c.81 2.17.41 3.38-.52 4.31C3.55 5.67 1.98 6.45.9 7.98c-1.45 2.05-1.7 6.53 3.53 7.7-2.2-1.16-2.67-4.52-.3-6.61-.61 2.03.53 3.33 1.94 2.86 1.39-.47 2.3.53 2.27 1.67-.02.78-.31 1.44-1.13 1.81 3.42-.59 4.78-3.42 4.78-5.56 0-2.84-2.53-3.22-1.25-5.61-1.52.13-2.03 1.13-1.89 2.75.09 1.08-1.02 1.8-1.86 1.33-.67-.41-.66-1.19-.06-1.78C8.18 5.31 8.68 2.45 5.05.32L5.03.3l.02.01z"})})}const Ba={icon:(0,s.jsx)(Ea,{}),title:(0,s.jsx)(p.A,{id:"theme.admonition.danger",description:"The default label used for the Danger admonition (:::danger)",children:"danger"})};const Fa={icon:(0,s.jsx)(Ia,{}),title:(0,s.jsx)(p.A,{id:"theme.admonition.caution",description:"The default label used for the Caution admonition (:::caution)",children:"caution"})};const Na={...{note:ba,tip:Ta,info:Sa,warning:function(t){return(0,s.jsx)(ka,{...La,...t,className:(0,u.A)("alert alert--warning",t.className),children:t.children})},danger:function(t){return(0,s.jsx)(ka,{...Ba,...t,className:(0,u.A)("alert alert--danger",t.className),children:t.children})}},...{secondary:t=>(0,s.jsx)(ba,{title:"secondary",...t}),important:t=>(0,s.jsx)(Sa,{title:"important",...t}),success:t=>(0,s.jsx)(Ta,{title:"success",...t}),caution:function(t){return(0,s.jsx)(ka,{...Fa,...t,className:(0,u.A)("alert alert--warning",t.className),children:t.children})}}};function Ma(t){const e=pa(t),n=(r=e.type,Na[r]||(console.warn(`No admonition component found for admonition type "${r}". Using Info as fallback.`),Na.info));var r;return(0,s.jsx)(n,{...e})}var ja=n(9702);const Oa="docusaurus-mermaid-container";function Ra(){const{colorMode:t}=(0,ps.G)(),e=(0,W.p)().mermaid,n=e.theme[t],{options:i}=e;return(0,r.useMemo)((()=>({startOnLoad:!1,...i,theme:n})),[n,i])}function Da(t){let{text:e,config:n}=t;const[i,o]=(0,r.useState)(null),s=(0,r.useRef)(`mermaid-svg-${Math.round(1e7*Math.random())}`).current,a=Ra(),l=n??a;return(0,r.useEffect)((()=>{(async function(t){let{id:e,text:n,config:r}=t;ja.N.mermaidAPI.initialize(r);try{return await ja.N.render(e,n)}catch(i){throw document.querySelector(`#d${e}`)?.remove(),i}})({id:s,text:e,config:l}).then(o).catch((t=>{o((()=>{throw t}))}))}),[s,e,l]),i}const qa={container:"container_lyt7"};function $a(t){let{renderResult:e}=t;const n=(0,r.useRef)(null);return(0,r.useEffect)((()=>{const t=n.current;e.bindFunctions?.(t)}),[e]),(0,s.jsx)("div",{ref:n,className:`${Oa} ${qa.container}`,dangerouslySetInnerHTML:{__html:e.svg}})}function Pa(t){let{value:e}=t;const n=Da({text:e});return null===n?null:(0,s.jsx)($a,{renderResult:n})}const za={Head:gt.A,details:la,Details:la,code:function(t){return function(t){return void 0!==t.children&&r.Children.toArray(t.children).every((t=>"string"==typeof t&&!t.includes("\n")))}(t)?(0,s.jsx)(Qs,{...t}):(0,s.jsx)(Zs,{...t})},a:function(t){return(0,s.jsx)(f.A,{...t})},pre:function(t){return(0,s.jsx)(s.Fragment,{children:t.children})},ul:function(t){return(0,s.jsx)("ul",{...t,className:ua(t.className)})},li:function(t){return(0,ta.A)().collectAnchor(t.id),(0,s.jsx)("li",{...t})},img:function(t){return(0,s.jsx)("img",{decoding:"async",loading:"lazy",...t,className:(e=t.className,(0,u.A)(e,da.img))});var e},h1:t=>(0,s.jsx)(ca,{as:"h1",...t}),h2:t=>(0,s.jsx)(ca,{as:"h2",...t}),h3:t=>(0,s.jsx)(ca,{as:"h3",...t}),h4:t=>(0,s.jsx)(ca,{as:"h4",...t}),h5:t=>(0,s.jsx)(ca,{as:"h5",...t}),h6:t=>(0,s.jsx)(ca,{as:"h6",...t}),admonition:Ma,mermaid:function(t){return(0,s.jsx)(ms.A,{fallback:t=>(0,s.jsx)(ds.MN,{...t}),children:(0,s.jsx)(Pa,{...t})})}};function Ua(t){let{children:e}=t;return(0,s.jsx)(mt.x,{components:za,children:e})}function Wa(t){let{children:e}=t;const n=function(){const{metadata:t,frontMatter:e,contentTitle:n}=c();return e.hide_title||void 0!==n?null:t.title}();return(0,s.jsxs)("div",{className:(0,u.A)(_.G.docs.docMarkdown,"markdown"),children:[n&&(0,s.jsx)("header",{children:(0,s.jsx)(ft.A,{as:"h1",children:n})}),(0,s.jsx)(Ua,{children:e})]})}var Ha=n(1754),Va=n(9169),Ya=n(6025);function Ga(t){return(0,s.jsx)("svg",{viewBox:"0 0 24 24",...t,children:(0,s.jsx)("path",{d:"M10 19v-5h4v5c0 .55.45 1 1 1h3c.55 0 1-.45 1-1v-7h1.7c.46 0 .68-.57.33-.87L12.67 3.6c-.38-.34-.96-.34-1.34 0l-8.36 7.53c-.34.3-.13.87.33.87H5v7c0 .55.45 1 1 1h3c.55 0 1-.45 1-1z",fill:"currentColor"})})}const Xa={breadcrumbHomeIcon:"breadcrumbHomeIcon_YNFT"};function Ka(){const t=(0,Ya.Ay)("/");return(0,s.jsx)("li",{className:"breadcrumbs__item",children:(0,s.jsx)(f.A,{"aria-label":(0,p.T)({id:"theme.docs.breadcrumbs.home",message:"Home page",description:"The ARIA label for the home page in the breadcrumbs"}),className:"breadcrumbs__link",href:t,children:(0,s.jsx)(Ga,{className:Xa.breadcrumbHomeIcon})})})}const Za={breadcrumbsContainer:"breadcrumbsContainer_Z_bl"};function Ja(t){let{children:e,href:n,isLast:r}=t;const i="breadcrumbs__link";return r?(0,s.jsx)("span",{className:i,itemProp:"name",children:e}):n?(0,s.jsx)(f.A,{className:i,href:n,itemProp:"item",children:(0,s.jsx)("span",{itemProp:"name",children:e})}):(0,s.jsx)("span",{className:i,children:e})}function Qa(t){let{children:e,active:n,index:r,addMicrodata:i}=t;return(0,s.jsxs)("li",{...i&&{itemScope:!0,itemProp:"itemListElement",itemType:"https://schema.org/ListItem"},className:(0,u.A)("breadcrumbs__item",{"breadcrumbs__item--active":n}),children:[e,(0,s.jsx)("meta",{itemProp:"position",content:String(r+1)})]})}function tl(){const t=(0,Ha.OF)(),e=(0,Va.Dt)();return t?(0,s.jsx)("nav",{className:(0,u.A)(_.G.docs.docBreadcrumbs,Za.breadcrumbsContainer),"aria-label":(0,p.T)({id:"theme.docs.breadcrumbs.navAriaLabel",message:"Breadcrumbs",description:"The ARIA label for the breadcrumbs"}),children:(0,s.jsxs)("ul",{className:"breadcrumbs",itemScope:!0,itemType:"https://schema.org/BreadcrumbList",children:[e&&(0,s.jsx)(Ka,{}),t.map(((e,n)=>{const r=n===t.length-1,i="category"===e.type&&e.linkUnlisted?void 0:e.href;return(0,s.jsx)(Qa,{active:r,index:n,addMicrodata:!!i,children:(0,s.jsx)(Ja,{href:i,isLast:r,children:e.label})},n)}))]})}):null}function el(){return(0,s.jsx)(p.A,{id:"theme.unlistedContent.title",description:"The unlisted content banner title",children:"Unlisted page"})}function nl(){return(0,s.jsx)(p.A,{id:"theme.unlistedContent.message",description:"The unlisted content banner message",children:"This page is unlisted. Search engines will not index it, and only users having a direct link can access it."})}function rl(){return(0,s.jsx)(gt.A,{children:(0,s.jsx)("meta",{name:"robots",content:"noindex, nofollow"})})}function il(t){let{className:e}=t;return(0,s.jsx)(Ma,{type:"caution",title:(0,s.jsx)(el,{}),className:(0,u.A)(e,_.G.common.unlistedBanner),children:(0,s.jsx)(nl,{})})}function ol(t){return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(rl,{}),(0,s.jsx)(il,{...t})]})}const sl={docItemContainer:"docItemContainer_Djhp",docItemCol:"docItemCol_VOVn"};function al(t){let{children:e}=t;const n=function(){const{frontMatter:t,toc:e}=c(),n=(0,d.l)(),r=t.hide_table_of_contents,i=!r&&e.length>0;return{hidden:r,mobile:i?(0,s.jsx)(ot,{}):void 0,desktop:!i||"desktop"!==n&&"ssr"!==n?void 0:(0,s.jsx)(ht,{})}}(),{metadata:{unlisted:r}}=c();return(0,s.jsxs)("div",{className:"row",children:[(0,s.jsxs)("div",{className:(0,u.A)("col",!n.hidden&&sl.docItemCol),children:[r&&(0,s.jsx)(ol,{}),(0,s.jsx)(S,{}),(0,s.jsxs)("div",{className:sl.docItemContainer,children:[(0,s.jsxs)("article",{children:[(0,s.jsx)(tl,{}),(0,s.jsx)(I,{}),n.mobile,(0,s.jsx)(Wa,{children:e}),(0,s.jsx)(z,{})]}),(0,s.jsx)(y,{})]})]}),n.desktop&&(0,s.jsx)("div",{className:"col col--3",children:n.desktop})]})}function ll(t){const e=`docs-doc-id-${t.content.metadata.id}`,n=t.content;return(0,s.jsx)(l,{content:t.content,children:(0,s.jsxs)(i.e3,{className:e,children:[(0,s.jsx)(h,{}),(0,s.jsx)(al,{children:(0,s.jsx)(n,{})})]})})}},4353:function(t){t.exports=function(){"use strict";var t=1e3,e=6e4,n=36e5,r="millisecond",i="second",o="minute",s="hour",a="day",l="week",c="month",h="quarter",u="year",d="date",p="Invalid Date",f=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,m=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,g={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(t){var e=["th","st","nd","rd"],n=t%100;return"["+t+(e[(n-20)%10]||e[n]||e[0])+"]"}},y=function(t,e,n){var r=String(t);return!r||r.length>=e?t:""+Array(e+1-r.length).join(n)+t},k={s:y,z:function(t){var e=-t.utcOffset(),n=Math.abs(e),r=Math.floor(n/60),i=n%60;return(e<=0?"+":"-")+y(r,2,"0")+":"+y(i,2,"0")},m:function t(e,n){if(e.date()<n.date())return-t(n,e);var r=12*(n.year()-e.year())+(n.month()-e.month()),i=e.clone().add(r,c),o=n-i<0,s=e.clone().add(r+(o?-1:1),c);return+(-(r+(n-i)/(o?i-s:s-i))||0)},a:function(t){return t<0?Math.ceil(t)||0:Math.floor(t)},p:function(t){return{M:c,y:u,w:l,d:a,D:d,h:s,m:o,s:i,ms:r,Q:h}[t]||String(t||"").toLowerCase().replace(/s$/,"")},u:function(t){return void 0===t}},x="en",_={};_[x]=g;var b="$isDayjsObject",C=function(t){return t instanceof w||!(!t||!t[b])},v=function t(e,n,r){var i;if(!e)return x;if("string"==typeof e){var o=e.toLowerCase();_[o]&&(i=o),n&&(_[o]=n,i=o);var s=e.split("-");if(!i&&s.length>1)return t(s[0])}else{var a=e.name;_[a]=e,i=a}return!r&&i&&(x=i),i||!r&&x},T=function(t,e){if(C(t))return t.clone();var n="object"==typeof e?e:{};return n.date=t,n.args=arguments,new w(n)},A=k;A.l=v,A.i=C,A.w=function(t,e){return T(t,{locale:e.$L,utc:e.$u,x:e.$x,$offset:e.$offset})};var w=function(){function g(t){this.$L=v(t.locale,null,!0),this.parse(t),this.$x=this.$x||t.x||{},this[b]=!0}var y=g.prototype;return y.parse=function(t){this.$d=function(t){var e=t.date,n=t.utc;if(null===e)return new Date(NaN);if(A.u(e))return new Date;if(e instanceof Date)return new Date(e);if("string"==typeof e&&!/Z$/i.test(e)){var r=e.match(f);if(r){var i=r[2]-1||0,o=(r[7]||"0").substring(0,3);return n?new Date(Date.UTC(r[1],i,r[3]||1,r[4]||0,r[5]||0,r[6]||0,o)):new Date(r[1],i,r[3]||1,r[4]||0,r[5]||0,r[6]||0,o)}}return new Date(e)}(t),this.init()},y.init=function(){var t=this.$d;this.$y=t.getFullYear(),this.$M=t.getMonth(),this.$D=t.getDate(),this.$W=t.getDay(),this.$H=t.getHours(),this.$m=t.getMinutes(),this.$s=t.getSeconds(),this.$ms=t.getMilliseconds()},y.$utils=function(){return A},y.isValid=function(){return!(this.$d.toString()===p)},y.isSame=function(t,e){var n=T(t);return this.startOf(e)<=n&&n<=this.endOf(e)},y.isAfter=function(t,e){return T(t)<this.startOf(e)},y.isBefore=function(t,e){return this.endOf(e)<T(t)},y.$g=function(t,e,n){return A.u(t)?this[e]:this.set(n,t)},y.unix=function(){return Math.floor(this.valueOf()/1e3)},y.valueOf=function(){return this.$d.getTime()},y.startOf=function(t,e){var n=this,r=!!A.u(e)||e,h=A.p(t),p=function(t,e){var i=A.w(n.$u?Date.UTC(n.$y,e,t):new Date(n.$y,e,t),n);return r?i:i.endOf(a)},f=function(t,e){return A.w(n.toDate()[t].apply(n.toDate("s"),(r?[0,0,0,0]:[23,59,59,999]).slice(e)),n)},m=this.$W,g=this.$M,y=this.$D,k="set"+(this.$u?"UTC":"");switch(h){case u:return r?p(1,0):p(31,11);case c:return r?p(1,g):p(0,g+1);case l:var x=this.$locale().weekStart||0,_=(m<x?m+7:m)-x;return p(r?y-_:y+(6-_),g);case a:case d:return f(k+"Hours",0);case s:return f(k+"Minutes",1);case o:return f(k+"Seconds",2);case i:return f(k+"Milliseconds",3);default:return this.clone()}},y.endOf=function(t){return this.startOf(t,!1)},y.$set=function(t,e){var n,l=A.p(t),h="set"+(this.$u?"UTC":""),p=(n={},n[a]=h+"Date",n[d]=h+"Date",n[c]=h+"Month",n[u]=h+"FullYear",n[s]=h+"Hours",n[o]=h+"Minutes",n[i]=h+"Seconds",n[r]=h+"Milliseconds",n)[l],f=l===a?this.$D+(e-this.$W):e;if(l===c||l===u){var m=this.clone().set(d,1);m.$d[p](f),m.init(),this.$d=m.set(d,Math.min(this.$D,m.daysInMonth())).$d}else p&&this.$d[p](f);return this.init(),this},y.set=function(t,e){return this.clone().$set(t,e)},y.get=function(t){return this[A.p(t)]()},y.add=function(r,h){var d,p=this;r=Number(r);var f=A.p(h),m=function(t){var e=T(p);return A.w(e.date(e.date()+Math.round(t*r)),p)};if(f===c)return this.set(c,this.$M+r);if(f===u)return this.set(u,this.$y+r);if(f===a)return m(1);if(f===l)return m(7);var g=(d={},d[o]=e,d[s]=n,d[i]=t,d)[f]||1,y=this.$d.getTime()+r*g;return A.w(y,this)},y.subtract=function(t,e){return this.add(-1*t,e)},y.format=function(t){var e=this,n=this.$locale();if(!this.isValid())return n.invalidDate||p;var r=t||"YYYY-MM-DDTHH:mm:ssZ",i=A.z(this),o=this.$H,s=this.$m,a=this.$M,l=n.weekdays,c=n.months,h=n.meridiem,u=function(t,n,i,o){return t&&(t[n]||t(e,r))||i[n].slice(0,o)},d=function(t){return A.s(o%12||12,t,"0")},f=h||function(t,e,n){var r=t<12?"AM":"PM";return n?r.toLowerCase():r};return r.replace(m,(function(t,r){return r||function(t){switch(t){case"YY":return String(e.$y).slice(-2);case"YYYY":return A.s(e.$y,4,"0");case"M":return a+1;case"MM":return A.s(a+1,2,"0");case"MMM":return u(n.monthsShort,a,c,3);case"MMMM":return u(c,a);case"D":return e.$D;case"DD":return A.s(e.$D,2,"0");case"d":return String(e.$W);case"dd":return u(n.weekdaysMin,e.$W,l,2);case"ddd":return u(n.weekdaysShort,e.$W,l,3);case"dddd":return l[e.$W];case"H":return String(o);case"HH":return A.s(o,2,"0");case"h":return d(1);case"hh":return d(2);case"a":return f(o,s,!0);case"A":return f(o,s,!1);case"m":return String(s);case"mm":return A.s(s,2,"0");case"s":return String(e.$s);case"ss":return A.s(e.$s,2,"0");case"SSS":return A.s(e.$ms,3,"0");case"Z":return i}return null}(t)||i.replace(":","")}))},y.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},y.diff=function(r,d,p){var f,m=this,g=A.p(d),y=T(r),k=(y.utcOffset()-this.utcOffset())*e,x=this-y,_=function(){return A.m(m,y)};switch(g){case u:f=_()/12;break;case c:f=_();break;case h:f=_()/3;break;case l:f=(x-k)/6048e5;break;case a:f=(x-k)/864e5;break;case s:f=x/n;break;case o:f=x/e;break;case i:f=x/t;break;default:f=x}return p?f:A.a(f)},y.daysInMonth=function(){return this.endOf(c).$D},y.$locale=function(){return _[this.$L]},y.locale=function(t,e){if(!t)return this.$L;var n=this.clone(),r=v(t,e,!0);return r&&(n.$L=r),n},y.clone=function(){return A.w(this.$d,this)},y.toDate=function(){return new Date(this.valueOf())},y.toJSON=function(){return this.isValid()?this.toISOString():null},y.toISOString=function(){return this.$d.toISOString()},y.toString=function(){return this.$d.toUTCString()},g}(),S=w.prototype;return T.prototype=S,[["$ms",r],["$s",i],["$m",o],["$H",s],["$W",a],["$M",c],["$y",u],["$D",d]].forEach((function(t){S[t[1]]=function(e){return this.$g(e,t[0],t[1])}})),T.extend=function(t,e){return t.$i||(t(e,w,T),t.$i=!0),T},T.locale=v,T.isDayjs=C,T.unix=function(t){return T(1e3*t)},T.en=_[x],T.Ls=_,T.p={},T}()},2838:function(t){t.exports=function(){"use strict";const{entries:t,setPrototypeOf:e,isFrozen:n,getPrototypeOf:r,getOwnPropertyDescriptor:i}=Object;let{freeze:o,seal:s,create:a}=Object,{apply:l,construct:c}="undefined"!=typeof Reflect&&Reflect;o||(o=function(t){return t}),s||(s=function(t){return t}),l||(l=function(t,e,n){return t.apply(e,n)}),c||(c=function(t,e){return new t(...e)});const h=v(Array.prototype.forEach),u=v(Array.prototype.pop),d=v(Array.prototype.push),p=v(String.prototype.toLowerCase),f=v(String.prototype.toString),m=v(String.prototype.match),g=v(String.prototype.replace),y=v(String.prototype.indexOf),k=v(String.prototype.trim),x=v(Object.prototype.hasOwnProperty),_=v(RegExp.prototype.test),b=T(TypeError);function C(t){return"number"==typeof t&&isNaN(t)}function v(t){return function(e){for(var n=arguments.length,r=new Array(n>1?n-1:0),i=1;i<n;i++)r[i-1]=arguments[i];return l(t,e,r)}}function T(t){return function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];return c(t,n)}}function A(t,r){let i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:p;e&&e(t,null);let o=r.length;for(;o--;){let e=r[o];if("string"==typeof e){const t=i(e);t!==e&&(n(r)||(r[o]=t),e=t)}t[e]=!0}return t}function w(t){for(let e=0;e<t.length;e++)x(t,e)||(t[e]=null);return t}function S(e){const n=a(null);for(const[r,i]of t(e))x(e,r)&&(Array.isArray(i)?n[r]=w(i):i&&"object"==typeof i&&i.constructor===Object?n[r]=S(i):n[r]=i);return n}function I(t,e){for(;null!==t;){const n=i(t,e);if(n){if(n.get)return v(n.get);if("function"==typeof n.value)return v(n.value)}t=r(t)}function n(){return null}return n}const L=o(["a","abbr","acronym","address","area","article","aside","audio","b","bdi","bdo","big","blink","blockquote","body","br","button","canvas","caption","center","cite","code","col","colgroup","content","data","datalist","dd","decorator","del","details","dfn","dialog","dir","div","dl","dt","element","em","fieldset","figcaption","figure","font","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","img","input","ins","kbd","label","legend","li","main","map","mark","marquee","menu","menuitem","meter","nav","nobr","ol","optgroup","option","output","p","picture","pre","progress","q","rp","rt","ruby","s","samp","section","select","shadow","small","source","spacer","span","strike","strong","style","sub","summary","sup","table","tbody","td","template","textarea","tfoot","th","thead","time","tr","track","tt","u","ul","var","video","wbr"]),E=o(["svg","a","altglyph","altglyphdef","altglyphitem","animatecolor","animatemotion","animatetransform","circle","clippath","defs","desc","ellipse","filter","font","g","glyph","glyphref","hkern","image","line","lineargradient","marker","mask","metadata","mpath","path","pattern","polygon","polyline","radialgradient","rect","stop","style","switch","symbol","text","textpath","title","tref","tspan","view","vkern"]),B=o(["feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence"]),F=o(["animate","color-profile","cursor","discard","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","foreignobject","hatch","hatchpath","mesh","meshgradient","meshpatch","meshrow","missing-glyph","script","set","solidcolor","unknown","use"]),N=o(["math","menclose","merror","mfenced","mfrac","mglyph","mi","mlabeledtr","mmultiscripts","mn","mo","mover","mpadded","mphantom","mroot","mrow","ms","mspace","msqrt","mstyle","msub","msup","msubsup","mtable","mtd","mtext","mtr","munder","munderover","mprescripts"]),M=o(["maction","maligngroup","malignmark","mlongdiv","mscarries","mscarry","msgroup","mstack","msline","msrow","semantics","annotation","annotation-xml","mprescripts","none"]),j=o(["#text"]),O=o(["accept","action","align","alt","autocapitalize","autocomplete","autopictureinpicture","autoplay","background","bgcolor","border","capture","cellpadding","cellspacing","checked","cite","class","clear","color","cols","colspan","controls","controlslist","coords","crossorigin","datetime","decoding","default","dir","disabled","disablepictureinpicture","disableremoteplayback","download","draggable","enctype","enterkeyhint","face","for","headers","height","hidden","high","href","hreflang","id","inputmode","integrity","ismap","kind","label","lang","list","loading","loop","low","max","maxlength","media","method","min","minlength","multiple","muted","name","nonce","noshade","novalidate","nowrap","open","optimum","pattern","placeholder","playsinline","popover","popovertarget","popovertargetaction","poster","preload","pubdate","radiogroup","readonly","rel","required","rev","reversed","role","rows","rowspan","spellcheck","scope","selected","shape","size","sizes","span","srclang","start","src","srcset","step","style","summary","tabindex","title","translate","type","usemap","valign","value","width","wrap","xmlns","slot"]),R=o(["accent-height","accumulate","additive","alignment-baseline","ascent","attributename","attributetype","azimuth","basefrequency","baseline-shift","begin","bias","by","class","clip","clippathunits","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-profile","color-rendering","cx","cy","d","dx","dy","diffuseconstant","direction","display","divisor","dur","edgemode","elevation","end","fill","fill-opacity","fill-rule","filter","filterunits","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","fx","fy","g1","g2","glyph-name","glyphref","gradientunits","gradienttransform","height","href","id","image-rendering","in","in2","k","k1","k2","k3","k4","kerning","keypoints","keysplines","keytimes","lang","lengthadjust","letter-spacing","kernelmatrix","kernelunitlength","lighting-color","local","marker-end","marker-mid","marker-start","markerheight","markerunits","markerwidth","maskcontentunits","maskunits","max","mask","media","method","mode","min","name","numoctaves","offset","operator","opacity","order","orient","orientation","origin","overflow","paint-order","path","pathlength","patterncontentunits","patterntransform","patternunits","points","preservealpha","preserveaspectratio","primitiveunits","r","rx","ry","radius","refx","refy","repeatcount","repeatdur","restart","result","rotate","scale","seed","shape-rendering","specularconstant","specularexponent","spreadmethod","startoffset","stddeviation","stitchtiles","stop-color","stop-opacity","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke","stroke-width","style","surfacescale","systemlanguage","tabindex","targetx","targety","transform","transform-origin","text-anchor","text-decoration","text-rendering","textlength","type","u1","u2","unicode","values","viewbox","visibility","version","vert-adv-y","vert-origin-x","vert-origin-y","width","word-spacing","wrap","writing-mode","xchannelselector","ychannelselector","x","x1","x2","xmlns","y","y1","y2","z","zoomandpan"]),D=o(["accent","accentunder","align","bevelled","close","columnsalign","columnlines","columnspan","denomalign","depth","dir","display","displaystyle","encoding","fence","frame","height","href","id","largeop","length","linethickness","lspace","lquote","mathbackground","mathcolor","mathsize","mathvariant","maxsize","minsize","movablelimits","notation","numalign","open","rowalign","rowlines","rowspacing","rowspan","rspace","rquote","scriptlevel","scriptminsize","scriptsizemultiplier","selection","separator","separators","stretchy","subscriptshift","supscriptshift","symmetric","voffset","width","xmlns"]),q=o(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),$=s(/\{\{[\w\W]*|[\w\W]*\}\}/gm),P=s(/<%[\w\W]*|[\w\W]*%>/gm),z=s(/\${[\w\W]*}/gm),U=s(/^data-[\-\w.\u00B7-\uFFFF]/),W=s(/^aria-[\-\w]+$/),H=s(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),V=s(/^(?:\w+script|data):/i),Y=s(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),G=s(/^html$/i),X=s(/^[a-z][.\w]*(-[.\w]+)+$/i);var K=Object.freeze({__proto__:null,MUSTACHE_EXPR:$,ERB_EXPR:P,TMPLIT_EXPR:z,DATA_ATTR:U,ARIA_ATTR:W,IS_ALLOWED_URI:H,IS_SCRIPT_OR_DATA:V,ATTR_WHITESPACE:Y,DOCTYPE_NAME:G,CUSTOM_ELEMENT:X});const Z={element:1,attribute:2,text:3,cdataSection:4,entityReference:5,entityNode:6,progressingInstruction:7,comment:8,document:9,documentType:10,documentFragment:11,notation:12},J=function(){return"undefined"==typeof window?null:window},Q=function(t,e){if("object"!=typeof t||"function"!=typeof t.createPolicy)return null;let n=null;const r="data-tt-policy-suffix";e&&e.hasAttribute(r)&&(n=e.getAttribute(r));const i="dompurify"+(n?"#"+n:"");try{return t.createPolicy(i,{createHTML:t=>t,createScriptURL:t=>t})}catch(o){return console.warn("TrustedTypes policy "+i+" could not be created."),null}};function tt(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:J();const n=t=>tt(t);if(n.version="3.1.4",n.removed=[],!e||!e.document||e.document.nodeType!==Z.document)return n.isSupported=!1,n;let{document:r}=e;const i=r,s=i.currentScript,{DocumentFragment:l,HTMLTemplateElement:c,Node:v,Element:T,NodeFilter:w,NamedNodeMap:$=e.NamedNodeMap||e.MozNamedAttrMap,HTMLFormElement:P,DOMParser:z,trustedTypes:U}=e,W=T.prototype,V=I(W,"cloneNode"),Y=I(W,"nextSibling"),X=I(W,"childNodes"),et=I(W,"parentNode");if("function"==typeof c){const t=r.createElement("template");t.content&&t.content.ownerDocument&&(r=t.content.ownerDocument)}let nt,rt="";const{implementation:it,createNodeIterator:ot,createDocumentFragment:st,getElementsByTagName:at}=r,{importNode:lt}=i;let ct={};n.isSupported="function"==typeof t&&"function"==typeof et&&it&&void 0!==it.createHTMLDocument;const{MUSTACHE_EXPR:ht,ERB_EXPR:ut,TMPLIT_EXPR:dt,DATA_ATTR:pt,ARIA_ATTR:ft,IS_SCRIPT_OR_DATA:mt,ATTR_WHITESPACE:gt,CUSTOM_ELEMENT:yt}=K;let{IS_ALLOWED_URI:kt}=K,xt=null;const _t=A({},[...L,...E,...B,...N,...j]);let bt=null;const Ct=A({},[...O,...R,...D,...q]);let vt=Object.seal(a(null,{tagNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},allowCustomizedBuiltInElements:{writable:!0,configurable:!1,enumerable:!0,value:!1}})),Tt=null,At=null,wt=!0,St=!0,It=!1,Lt=!0,Et=!1,Bt=!0,Ft=!1,Nt=!1,Mt=!1,jt=!1,Ot=!1,Rt=!1,Dt=!0,qt=!1;const $t="user-content-";let Pt=!0,zt=!1,Ut={},Wt=null;const Ht=A({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","noscript","plaintext","script","style","svg","template","thead","title","video","xmp"]);let Vt=null;const Yt=A({},["audio","video","img","source","image","track"]);let Gt=null;const Xt=A({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),Kt="http://www.w3.org/1998/Math/MathML",Zt="http://www.w3.org/2000/svg",Jt="http://www.w3.org/1999/xhtml";let Qt=Jt,te=!1,ee=null;const ne=A({},[Kt,Zt,Jt],f);let re=null;const ie=["application/xhtml+xml","text/html"],oe="text/html";let se=null,ae=null;const le=255,ce=r.createElement("form"),he=function(t){return t instanceof RegExp||t instanceof Function},ue=function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(!ae||ae!==t){if(t&&"object"==typeof t||(t={}),t=S(t),re=-1===ie.indexOf(t.PARSER_MEDIA_TYPE)?oe:t.PARSER_MEDIA_TYPE,se="application/xhtml+xml"===re?f:p,xt=x(t,"ALLOWED_TAGS")?A({},t.ALLOWED_TAGS,se):_t,bt=x(t,"ALLOWED_ATTR")?A({},t.ALLOWED_ATTR,se):Ct,ee=x(t,"ALLOWED_NAMESPACES")?A({},t.ALLOWED_NAMESPACES,f):ne,Gt=x(t,"ADD_URI_SAFE_ATTR")?A(S(Xt),t.ADD_URI_SAFE_ATTR,se):Xt,Vt=x(t,"ADD_DATA_URI_TAGS")?A(S(Yt),t.ADD_DATA_URI_TAGS,se):Yt,Wt=x(t,"FORBID_CONTENTS")?A({},t.FORBID_CONTENTS,se):Ht,Tt=x(t,"FORBID_TAGS")?A({},t.FORBID_TAGS,se):{},At=x(t,"FORBID_ATTR")?A({},t.FORBID_ATTR,se):{},Ut=!!x(t,"USE_PROFILES")&&t.USE_PROFILES,wt=!1!==t.ALLOW_ARIA_ATTR,St=!1!==t.ALLOW_DATA_ATTR,It=t.ALLOW_UNKNOWN_PROTOCOLS||!1,Lt=!1!==t.ALLOW_SELF_CLOSE_IN_ATTR,Et=t.SAFE_FOR_TEMPLATES||!1,Bt=!1!==t.SAFE_FOR_XML,Ft=t.WHOLE_DOCUMENT||!1,jt=t.RETURN_DOM||!1,Ot=t.RETURN_DOM_FRAGMENT||!1,Rt=t.RETURN_TRUSTED_TYPE||!1,Mt=t.FORCE_BODY||!1,Dt=!1!==t.SANITIZE_DOM,qt=t.SANITIZE_NAMED_PROPS||!1,Pt=!1!==t.KEEP_CONTENT,zt=t.IN_PLACE||!1,kt=t.ALLOWED_URI_REGEXP||H,Qt=t.NAMESPACE||Jt,vt=t.CUSTOM_ELEMENT_HANDLING||{},t.CUSTOM_ELEMENT_HANDLING&&he(t.CUSTOM_ELEMENT_HANDLING.tagNameCheck)&&(vt.tagNameCheck=t.CUSTOM_ELEMENT_HANDLING.tagNameCheck),t.CUSTOM_ELEMENT_HANDLING&&he(t.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)&&(vt.attributeNameCheck=t.CUSTOM_ELEMENT_HANDLING.attributeNameCheck),t.CUSTOM_ELEMENT_HANDLING&&"boolean"==typeof t.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements&&(vt.allowCustomizedBuiltInElements=t.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements),Et&&(St=!1),Ot&&(jt=!0),Ut&&(xt=A({},j),bt=[],!0===Ut.html&&(A(xt,L),A(bt,O)),!0===Ut.svg&&(A(xt,E),A(bt,R),A(bt,q)),!0===Ut.svgFilters&&(A(xt,B),A(bt,R),A(bt,q)),!0===Ut.mathMl&&(A(xt,N),A(bt,D),A(bt,q))),t.ADD_TAGS&&(xt===_t&&(xt=S(xt)),A(xt,t.ADD_TAGS,se)),t.ADD_ATTR&&(bt===Ct&&(bt=S(bt)),A(bt,t.ADD_ATTR,se)),t.ADD_URI_SAFE_ATTR&&A(Gt,t.ADD_URI_SAFE_ATTR,se),t.FORBID_CONTENTS&&(Wt===Ht&&(Wt=S(Wt)),A(Wt,t.FORBID_CONTENTS,se)),Pt&&(xt["#text"]=!0),Ft&&A(xt,["html","head","body"]),xt.table&&(A(xt,["tbody"]),delete Tt.tbody),t.TRUSTED_TYPES_POLICY){if("function"!=typeof t.TRUSTED_TYPES_POLICY.createHTML)throw b('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');if("function"!=typeof t.TRUSTED_TYPES_POLICY.createScriptURL)throw b('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');nt=t.TRUSTED_TYPES_POLICY,rt=nt.createHTML("")}else void 0===nt&&(nt=Q(U,s)),null!==nt&&"string"==typeof rt&&(rt=nt.createHTML(""));o&&o(t),ae=t}},de=A({},["mi","mo","mn","ms","mtext"]),pe=A({},["foreignobject","annotation-xml"]),fe=A({},["title","style","font","a","script"]),me=A({},[...E,...B,...F]),ge=A({},[...N,...M]),ye=function(t){let e=et(t);e&&e.tagName||(e={namespaceURI:Qt,tagName:"template"});const n=p(t.tagName),r=p(e.tagName);return!!ee[t.namespaceURI]&&(t.namespaceURI===Zt?e.namespaceURI===Jt?"svg"===n:e.namespaceURI===Kt?"svg"===n&&("annotation-xml"===r||de[r]):Boolean(me[n]):t.namespaceURI===Kt?e.namespaceURI===Jt?"math"===n:e.namespaceURI===Zt?"math"===n&&pe[r]:Boolean(ge[n]):t.namespaceURI===Jt?!(e.namespaceURI===Zt&&!pe[r])&&!(e.namespaceURI===Kt&&!de[r])&&!ge[n]&&(fe[n]||!me[n]):!("application/xhtml+xml"!==re||!ee[t.namespaceURI]))},ke=function(t){d(n.removed,{element:t});try{t.parentNode.removeChild(t)}catch(e){t.remove()}},xe=function(t,e){try{d(n.removed,{attribute:e.getAttributeNode(t),from:e})}catch(r){d(n.removed,{attribute:null,from:e})}if(e.removeAttribute(t),"is"===t&&!bt[t])if(jt||Ot)try{ke(e)}catch(r){}else try{e.setAttribute(t,"")}catch(r){}},_e=function(t){let e=null,n=null;if(Mt)t="<remove></remove>"+t;else{const e=m(t,/^[\r\n\t ]+/);n=e&&e[0]}"application/xhtml+xml"===re&&Qt===Jt&&(t='<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>'+t+"</body></html>");const i=nt?nt.createHTML(t):t;if(Qt===Jt)try{e=(new z).parseFromString(i,re)}catch(s){}if(!e||!e.documentElement){e=it.createDocument(Qt,"template",null);try{e.documentElement.innerHTML=te?rt:i}catch(s){}}const o=e.body||e.documentElement;return t&&n&&o.insertBefore(r.createTextNode(n),o.childNodes[0]||null),Qt===Jt?at.call(e,Ft?"html":"body")[0]:Ft?e.documentElement:o},be=function(t){return ot.call(t.ownerDocument||t,t,w.SHOW_ELEMENT|w.SHOW_COMMENT|w.SHOW_TEXT|w.SHOW_PROCESSING_INSTRUCTION|w.SHOW_CDATA_SECTION,null)},Ce=function(t){return t instanceof P&&(void 0!==t.__depth&&"number"!=typeof t.__depth||void 0!==t.__removalCount&&"number"!=typeof t.__removalCount||"string"!=typeof t.nodeName||"string"!=typeof t.textContent||"function"!=typeof t.removeChild||!(t.attributes instanceof $)||"function"!=typeof t.removeAttribute||"function"!=typeof t.setAttribute||"string"!=typeof t.namespaceURI||"function"!=typeof t.insertBefore||"function"!=typeof t.hasChildNodes)},ve=function(t){return"function"==typeof v&&t instanceof v},Te=function(t,e,r){ct[t]&&h(ct[t],(t=>{t.call(n,e,r,ae)}))},Ae=function(t){let e=null;if(Te("beforeSanitizeElements",t,null),Ce(t))return ke(t),!0;const r=se(t.nodeName);if(Te("uponSanitizeElement",t,{tagName:r,allowedTags:xt}),t.hasChildNodes()&&!ve(t.firstElementChild)&&_(/<[/\w]/g,t.innerHTML)&&_(/<[/\w]/g,t.textContent))return ke(t),!0;if(t.nodeType===Z.progressingInstruction)return ke(t),!0;if(Bt&&t.nodeType===Z.comment&&_(/<[/\w]/g,t.data))return ke(t),!0;if(!xt[r]||Tt[r]){if(!Tt[r]&&Se(r)){if(vt.tagNameCheck instanceof RegExp&&_(vt.tagNameCheck,r))return!1;if(vt.tagNameCheck instanceof Function&&vt.tagNameCheck(r))return!1}if(Pt&&!Wt[r]){const e=et(t)||t.parentNode,n=X(t)||t.childNodes;if(n&&e)for(let r=n.length-1;r>=0;--r){const i=V(n[r],!0);i.__removalCount=(t.__removalCount||0)+1,e.insertBefore(i,Y(t))}}return ke(t),!0}return t instanceof T&&!ye(t)?(ke(t),!0):"noscript"!==r&&"noembed"!==r&&"noframes"!==r||!_(/<\/no(script|embed|frames)/i,t.innerHTML)?(Et&&t.nodeType===Z.text&&(e=t.textContent,h([ht,ut,dt],(t=>{e=g(e,t," ")})),t.textContent!==e&&(d(n.removed,{element:t.cloneNode()}),t.textContent=e)),Te("afterSanitizeElements",t,null),!1):(ke(t),!0)},we=function(t,e,n){if(Dt&&("id"===e||"name"===e)&&(n in r||n in ce||"__depth"===n||"__removalCount"===n))return!1;if(St&&!At[e]&&_(pt,e));else if(wt&&_(ft,e));else if(!bt[e]||At[e]){if(!(Se(t)&&(vt.tagNameCheck instanceof RegExp&&_(vt.tagNameCheck,t)||vt.tagNameCheck instanceof Function&&vt.tagNameCheck(t))&&(vt.attributeNameCheck instanceof RegExp&&_(vt.attributeNameCheck,e)||vt.attributeNameCheck instanceof Function&&vt.attributeNameCheck(e))||"is"===e&&vt.allowCustomizedBuiltInElements&&(vt.tagNameCheck instanceof RegExp&&_(vt.tagNameCheck,n)||vt.tagNameCheck instanceof Function&&vt.tagNameCheck(n))))return!1}else if(Gt[e]);else if(_(kt,g(n,gt,"")));else if("src"!==e&&"xlink:href"!==e&&"href"!==e||"script"===t||0!==y(n,"data:")||!Vt[t])if(It&&!_(mt,g(n,gt,"")));else if(n)return!1;return!0},Se=function(t){return"annotation-xml"!==t&&m(t,yt)},Ie=function(t){Te("beforeSanitizeAttributes",t,null);const{attributes:e}=t;if(!e)return;const r={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:bt};let i=e.length;for(;i--;){const s=e[i],{name:a,namespaceURI:l,value:c}=s,d=se(a);let p="value"===a?c:k(c);if(r.attrName=d,r.attrValue=p,r.keepAttr=!0,r.forceKeepAttr=void 0,Te("uponSanitizeAttribute",t,r),p=r.attrValue,r.forceKeepAttr)continue;if(xe(a,t),!r.keepAttr)continue;if(!Lt&&_(/\/>/i,p)){xe(a,t);continue}if(Bt&&_(/((--!?|])>)|<\/(style|title)/i,p)){xe(a,t);continue}Et&&h([ht,ut,dt],(t=>{p=g(p,t," ")}));const f=se(t.nodeName);if(we(f,d,p)){if(!qt||"id"!==d&&"name"!==d||(xe(a,t),p=$t+p),nt&&"object"==typeof U&&"function"==typeof U.getAttributeType)if(l);else switch(U.getAttributeType(f,d)){case"TrustedHTML":p=nt.createHTML(p);break;case"TrustedScriptURL":p=nt.createScriptURL(p)}try{l?t.setAttributeNS(l,a,p):t.setAttribute(a,p),Ce(t)?ke(t):u(n.removed)}catch(o){}}}Te("afterSanitizeAttributes",t,null)},Le=function t(e){let n=null;const r=be(e);for(Te("beforeSanitizeShadowDOM",e,null);n=r.nextNode();){if(Te("uponSanitizeShadowNode",n,null),Ae(n))continue;const e=et(n);n.nodeType===Z.element&&(e&&e.__depth?n.__depth=(n.__removalCount||0)+e.__depth+1:n.__depth=1),(n.__depth>=le||n.__depth<0||C(n.__depth))&&ke(n),n.content instanceof l&&(n.content.__depth=n.__depth,t(n.content)),Ie(n)}Te("afterSanitizeShadowDOM",e,null)};return n.sanitize=function(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=null,o=null,s=null,a=null;if(te=!t,te&&(t="\x3c!--\x3e"),"string"!=typeof t&&!ve(t)){if("function"!=typeof t.toString)throw b("toString is not a function");if("string"!=typeof(t=t.toString()))throw b("dirty is not a string, aborting")}if(!n.isSupported)return t;if(Nt||ue(e),n.removed=[],"string"==typeof t&&(zt=!1),zt){if(t.nodeName){const e=se(t.nodeName);if(!xt[e]||Tt[e])throw b("root node is forbidden and cannot be sanitized in-place")}}else if(t instanceof v)r=_e("\x3c!----\x3e"),o=r.ownerDocument.importNode(t,!0),o.nodeType===Z.element&&"BODY"===o.nodeName||"HTML"===o.nodeName?r=o:r.appendChild(o);else{if(!jt&&!Et&&!Ft&&-1===t.indexOf("<"))return nt&&Rt?nt.createHTML(t):t;if(r=_e(t),!r)return jt?null:Rt?rt:""}r&&Mt&&ke(r.firstChild);const c=be(zt?t:r);for(;s=c.nextNode();){if(Ae(s))continue;const t=et(s);s.nodeType===Z.element&&(t&&t.__depth?s.__depth=(s.__removalCount||0)+t.__depth+1:s.__depth=1),(s.__depth>=le||s.__depth<0||C(s.__depth))&&ke(s),s.content instanceof l&&(s.content.__depth=s.__depth,Le(s.content)),Ie(s)}if(zt)return t;if(jt){if(Ot)for(a=st.call(r.ownerDocument);r.firstChild;)a.appendChild(r.firstChild);else a=r;return(bt.shadowroot||bt.shadowrootmode)&&(a=lt.call(i,a,!0)),a}let u=Ft?r.outerHTML:r.innerHTML;return Ft&&xt["!doctype"]&&r.ownerDocument&&r.ownerDocument.doctype&&r.ownerDocument.doctype.name&&_(G,r.ownerDocument.doctype.name)&&(u="<!DOCTYPE "+r.ownerDocument.doctype.name+">\n"+u),Et&&h([ht,ut,dt],(t=>{u=g(u,t," ")})),nt&&Rt?nt.createHTML(u):u},n.setConfig=function(){ue(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}),Nt=!0},n.clearConfig=function(){ae=null,Nt=!1},n.isValidAttribute=function(t,e,n){ae||ue({});const r=se(t),i=se(e);return we(r,i,n)},n.addHook=function(t,e){"function"==typeof e&&(ct[t]=ct[t]||[],d(ct[t],e))},n.removeHook=function(t){if(ct[t])return u(ct[t])},n.removeHooks=function(t){ct[t]&&(ct[t]=[])},n.removeAllHooks=function(){ct={}},n}return tt()}()},89:(t,e)=>{"use strict";var n="\n",r=function(){function t(t){this.string=t;for(var e=[0],r=0;r<t.length;)switch(t[r]){case n:r+=1,e.push(r);break;case"\r":t[r+=1]===n&&(r+=1),e.push(r);break;default:r++}this.offsets=e}return t.prototype.locationForIndex=function(t){if(t<0||t>this.string.length)return null;for(var e=0,n=this.offsets;n[e+1]<=t;)e++;return{line:e,column:t-n[e]}},t.prototype.indexForLocation=function(t){var e=t.line,n=t.column;return e<0||e>=this.offsets.length||n<0||n>this.lengthOfLine(e)?null:this.offsets[e]+n},t.prototype.lengthOfLine=function(t){var e=this.offsets[t];return(t===this.offsets.length-1?this.string.length:this.offsets[t+1])-e},t}()},8426:(t,e)=>{function n(t){let e,n=[];for(let r of t.split(",").map((t=>t.trim())))if(/^-?\d+$/.test(r))n.push(parseInt(r,10));else if(e=r.match(/^(-?\d+)(-|\.\.\.?|\u2025|\u2026|\u22EF)(-?\d+)$/)){let[t,r,i,o]=e;if(r&&o){r=parseInt(r),o=parseInt(o);const t=r<o?1:-1;"-"!==i&&".."!==i&&"\u2025"!==i||(o+=t);for(let e=r;e!==o;e+=t)n.push(e)}}return n}e.default=n,t.exports=n},513:(t,e,n)=>{"use strict";function r(t){for(var e=[],n=1;n<arguments.length;n++)e[n-1]=arguments[n];var r=Array.from("string"==typeof t?[t]:t);r[r.length-1]=r[r.length-1].replace(/\r?\n([\t ]*)$/,"");var i=r.reduce((function(t,e){var n=e.match(/\n([\t ]+|(?!\s).)/g);return n?t.concat(n.map((function(t){var e,n;return null!==(n=null===(e=t.match(/[\t ]/g))||void 0===e?void 0:e.length)&&void 0!==n?n:0}))):t}),[]);if(i.length){var o=new RegExp("\n[\t ]{"+Math.min.apply(Math,i)+"}","g");r=r.map((function(t){return t.replace(o,"\n")}))}r[0]=r[0].replace(/^\r?\n/,"");var s=r[0];return e.forEach((function(t,e){var n=s.match(/(?:^|\n)( *)$/),i=n?n[1]:"",o=t;"string"==typeof t&&t.includes("\n")&&(o=String(t).split("\n").map((function(t,e){return 0===e?t:""+i+t})).join("\n")),s+=o+r[e+1]})),s}n.d(e,{T:()=>r})},9361:function(t,e,n){"use strict";var r=this&&this.__spreadArrays||function(){for(var t=0,e=0,n=arguments.length;e<n;e++)t+=arguments[e].length;var r=Array(t),i=0;for(e=0;e<n;e++)for(var o=arguments[e],s=0,a=o.length;s<a;s++,i++)r[i]=o[s];return r};Object.defineProperty(e,"__esModule",{value:!0}),e.Checker=e.createCheckers=void 0;var i=n(1680),o=n(1977),s=n(1680);Object.defineProperty(e,"TArray",{enumerable:!0,get:function(){return s.TArray}}),Object.defineProperty(e,"TEnumType",{enumerable:!0,get:function(){return s.TEnumType}}),Object.defineProperty(e,"TEnumLiteral",{enumerable:!0,get:function(){return s.TEnumLiteral}}),Object.defineProperty(e,"TFunc",{enumerable:!0,get:function(){return s.TFunc}}),Object.defineProperty(e,"TIface",{enumerable:!0,get:function(){return s.TIface}}),Object.defineProperty(e,"TLiteral",{enumerable:!0,get:function(){return s.TLiteral}}),Object.defineProperty(e,"TName",{enumerable:!0,get:function(){return s.TName}}),Object.defineProperty(e,"TOptional",{enumerable:!0,get:function(){return s.TOptional}}),Object.defineProperty(e,"TParam",{enumerable:!0,get:function(){return s.TParam}}),Object.defineProperty(e,"TParamList",{enumerable:!0,get:function(){return s.TParamList}}),Object.defineProperty(e,"TProp",{enumerable:!0,get:function(){return s.TProp}}),Object.defineProperty(e,"TTuple",{enumerable:!0,get:function(){return s.TTuple}}),Object.defineProperty(e,"TType",{enumerable:!0,get:function(){return s.TType}}),Object.defineProperty(e,"TUnion",{enumerable:!0,get:function(){return s.TUnion}}),Object.defineProperty(e,"TIntersection",{enumerable:!0,get:function(){return s.TIntersection}}),Object.defineProperty(e,"array",{enumerable:!0,get:function(){return s.array}}),Object.defineProperty(e,"enumlit",{enumerable:!0,get:function(){return s.enumlit}}),Object.defineProperty(e,"enumtype",{enumerable:!0,get:function(){return s.enumtype}}),Object.defineProperty(e,"func",{enumerable:!0,get:function(){return s.func}}),Object.defineProperty(e,"iface",{enumerable:!0,get:function(){return s.iface}}),Object.defineProperty(e,"lit",{enumerable:!0,get:function(){return s.lit}}),Object.defineProperty(e,"name",{enumerable:!0,get:function(){return s.name}}),Object.defineProperty(e,"opt",{enumerable:!0,get:function(){return s.opt}}),Object.defineProperty(e,"param",{enumerable:!0,get:function(){return s.param}}),Object.defineProperty(e,"tuple",{enumerable:!0,get:function(){return s.tuple}}),Object.defineProperty(e,"union",{enumerable:!0,get:function(){return s.union}}),Object.defineProperty(e,"intersection",{enumerable:!0,get:function(){return s.intersection}}),Object.defineProperty(e,"BasicType",{enumerable:!0,get:function(){return s.BasicType}});var a=n(1977);Object.defineProperty(e,"VError",{enumerable:!0,get:function(){return a.VError}}),e.createCheckers=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];for(var n=Object.assign.apply(Object,r([{},i.basicTypes],t)),o={},s=0,a=t;s<a.length;s++)for(var c=a[s],h=0,u=Object.keys(c);h<u.length;h++){var d=u[h];o[d]=new l(n,c[d])}return o};var l=function(){function t(t,e,n){if(void 0===n&&(n="value"),this.suite=t,this.ttype=e,this._path=n,this.props=new Map,e instanceof i.TIface)for(var r=0,o=e.props;r<o.length;r++){var s=o[r];this.props.set(s.name,s.ttype)}this.checkerPlain=this.ttype.getChecker(t,!1),this.checkerStrict=this.ttype.getChecker(t,!0)}return t.prototype.setReportedPath=function(t){this._path=t},t.prototype.check=function(t){return this._doCheck(this.checkerPlain,t)},t.prototype.test=function(t){return this.checkerPlain(t,new o.NoopContext)},t.prototype.validate=function(t){return this._doValidate(this.checkerPlain,t)},t.prototype.strictCheck=function(t){return this._doCheck(this.checkerStrict,t)},t.prototype.strictTest=function(t){return this.checkerStrict(t,new o.NoopContext)},t.prototype.strictValidate=function(t){return this._doValidate(this.checkerStrict,t)},t.prototype.getProp=function(e){var n=this.props.get(e);if(!n)throw new Error("Type has no property "+e);return new t(this.suite,n,this._path+"."+e)},t.prototype.methodArgs=function(e){var n=this._getMethod(e);return new t(this.suite,n.paramList)},t.prototype.methodResult=function(e){var n=this._getMethod(e);return new t(this.suite,n.result)},t.prototype.getArgs=function(){if(!(this.ttype instanceof i.TFunc))throw new Error("getArgs() applied to non-function");return new t(this.suite,this.ttype.paramList)},t.prototype.getResult=function(){if(!(this.ttype instanceof i.TFunc))throw new Error("getResult() applied to non-function");return new t(this.suite,this.ttype.result)},t.prototype.getType=function(){return this.ttype},t.prototype._doCheck=function(t,e){if(!t(e,new o.NoopContext)){var n=new o.DetailContext;throw t(e,n),n.getError(this._path)}},t.prototype._doValidate=function(t,e){if(t(e,new o.NoopContext))return null;var n=new o.DetailContext;return t(e,n),n.getErrorDetail(this._path)},t.prototype._getMethod=function(t){var e=this.props.get(t);if(!e)throw new Error("Type has no property "+t);if(!(e instanceof i.TFunc))throw new Error("Property "+t+" is not a method");return e},t}();e.Checker=l},1680:function(t,e,n){"use strict";var r,i=this&&this.__extends||(r=function(t,e){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])},r(t,e)},function(t,e){function n(){this.constructor=t}r(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)});Object.defineProperty(e,"__esModule",{value:!0}),e.basicTypes=e.BasicType=e.TParamList=e.TParam=e.param=e.TFunc=e.func=e.TProp=e.TOptional=e.opt=e.TIface=e.iface=e.TEnumLiteral=e.enumlit=e.TEnumType=e.enumtype=e.TIntersection=e.intersection=e.TUnion=e.union=e.TTuple=e.tuple=e.TArray=e.array=e.TLiteral=e.lit=e.TName=e.name=e.TType=void 0;var o=n(1977),s=function(){};function a(t){return"string"==typeof t?c(t):t}function l(t,e){var n=t[e];if(!n)throw new Error("Unknown type "+e);return n}function c(t){return new h(t)}e.TType=s,e.name=c;var h=function(t){function e(e){var n=t.call(this)||this;return n.name=e,n._failMsg="is not a "+e,n}return i(e,t),e.prototype.getChecker=function(t,n,r){var i=this,o=l(t,this.name),s=o.getChecker(t,n,r);return o instanceof A||o instanceof e?s:function(t,e){return!!s(t,e)||e.fail(null,i._failMsg,0)}},e}(s);e.TName=h,e.lit=function(t){return new u(t)};var u=function(t){function e(e){var n=t.call(this)||this;return n.value=e,n.name=JSON.stringify(e),n._failMsg="is not "+n.name,n}return i(e,t),e.prototype.getChecker=function(t,e){var n=this;return function(t,e){return t===n.value||e.fail(null,n._failMsg,-1)}},e}(s);e.TLiteral=u,e.array=function(t){return new d(a(t))};var d=function(t){function e(e){var n=t.call(this)||this;return n.ttype=e,n}return i(e,t),e.prototype.getChecker=function(t,e){var n=this.ttype.getChecker(t,e);return function(t,e){if(!Array.isArray(t))return e.fail(null,"is not an array",0);for(var r=0;r<t.length;r++){if(!n(t[r],e))return e.fail(r,null,1)}return!0}},e}(s);e.TArray=d,e.tuple=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];return new p(t.map((function(t){return a(t)})))};var p=function(t){function e(e){var n=t.call(this)||this;return n.ttypes=e,n}return i(e,t),e.prototype.getChecker=function(t,e){var n=this.ttypes.map((function(n){return n.getChecker(t,e)})),r=function(t,e){if(!Array.isArray(t))return e.fail(null,"is not an array",0);for(var r=0;r<n.length;r++){if(!n[r](t[r],e))return e.fail(r,null,1)}return!0};return e?function(t,e){return!!r(t,e)&&(t.length<=n.length||e.fail(n.length,"is extraneous",2))}:r},e}(s);e.TTuple=p,e.union=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];return new f(t.map((function(t){return a(t)})))};var f=function(t){function e(e){var n=t.call(this)||this;n.ttypes=e;var r=e.map((function(t){return t instanceof h||t instanceof u?t.name:null})).filter((function(t){return t})),i=e.length-r.length;return r.length?(i>0&&r.push(i+" more"),n._failMsg="is none of "+r.join(", ")):n._failMsg="is none of "+i+" types",n}return i(e,t),e.prototype.getChecker=function(t,e){var n=this,r=this.ttypes.map((function(n){return n.getChecker(t,e)}));return function(t,e){for(var i=e.unionResolver(),o=0;o<r.length;o++){if(r[o](t,i.createContext()))return!0}return e.resolveUnion(i),e.fail(null,n._failMsg,0)}},e}(s);e.TUnion=f,e.intersection=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];return new m(t.map((function(t){return a(t)})))};var m=function(t){function e(e){var n=t.call(this)||this;return n.ttypes=e,n}return i(e,t),e.prototype.getChecker=function(t,e){var n=new Set,r=this.ttypes.map((function(r){return r.getChecker(t,e,n)}));return function(t,e){return!!r.every((function(n){return n(t,e)}))||e.fail(null,null,0)}},e}(s);e.TIntersection=m,e.enumtype=function(t){return new g(t)};var g=function(t){function e(e){var n=t.call(this)||this;return n.members=e,n.validValues=new Set,n._failMsg="is not a valid enum value",n.validValues=new Set(Object.keys(e).map((function(t){return e[t]}))),n}return i(e,t),e.prototype.getChecker=function(t,e){var n=this;return function(t,e){return!!n.validValues.has(t)||e.fail(null,n._failMsg,0)}},e}(s);e.TEnumType=g,e.enumlit=function(t,e){return new y(t,e)};var y=function(t){function e(e,n){var r=t.call(this)||this;return r.enumName=e,r.prop=n,r._failMsg="is not "+e+"."+n,r}return i(e,t),e.prototype.getChecker=function(t,e){var n=this,r=l(t,this.enumName);if(!(r instanceof g))throw new Error("Type "+this.enumName+" used in enumlit is not an enum type");var i=r.members[this.prop];if(!r.members.hasOwnProperty(this.prop))throw new Error("Unknown value "+this.enumName+"."+this.prop+" used in enumlit");return function(t,e){return t===i||e.fail(null,n._failMsg,-1)}},e}(s);function k(t){return Object.keys(t).map((function(e){return function(t,e){return e instanceof _?new b(t,e.ttype,!0):new b(t,a(e),!1)}(e,t[e])}))}e.TEnumLiteral=y,e.iface=function(t,e){return new x(t,k(e))};var x=function(t){function e(e,n){var r=t.call(this)||this;return r.bases=e,r.props=n,r.propSet=new Set(n.map((function(t){return t.name}))),r}return i(e,t),e.prototype.getChecker=function(t,e,n){var r=this,i=this.bases.map((function(n){return l(t,n).getChecker(t,e)})),s=this.props.map((function(n){return n.ttype.getChecker(t,e)})),a=new o.NoopContext,c=this.props.map((function(t,e){return!t.isOpt&&!s[e](void 0,a)})),h=function(t,e){if("object"!=typeof t||null===t)return e.fail(null,"is not an object",0);for(var n=0;n<i.length;n++)if(!i[n](t,e))return!1;for(n=0;n<s.length;n++){var o=r.props[n].name,a=t[o];if(void 0===a){if(c[n])return e.fail(o,"is missing",1)}else if(!s[n](a,e))return e.fail(o,null,1)}return!0};if(!e)return h;var u=this.propSet;return n&&(this.propSet.forEach((function(t){return n.add(t)})),u=n),function(t,e){if(!h(t,e))return!1;for(var n in t)if(!u.has(n))return e.fail(n,"is extraneous",2);return!0}},e}(s);e.TIface=x,e.opt=function(t){return new _(a(t))};var _=function(t){function e(e){var n=t.call(this)||this;return n.ttype=e,n}return i(e,t),e.prototype.getChecker=function(t,e){var n=this.ttype.getChecker(t,e);return function(t,e){return void 0===t||n(t,e)}},e}(s);e.TOptional=_;var b=function(t,e,n){this.name=t,this.ttype=e,this.isOpt=n};e.TProp=b,e.func=function(t){for(var e=[],n=1;n<arguments.length;n++)e[n-1]=arguments[n];return new C(new T(e),a(t))};var C=function(t){function e(e,n){var r=t.call(this)||this;return r.paramList=e,r.result=n,r}return i(e,t),e.prototype.getChecker=function(t,e){return function(t,e){return"function"==typeof t||e.fail(null,"is not a function",0)}},e}(s);e.TFunc=C,e.param=function(t,e,n){return new v(t,a(e),Boolean(n))};var v=function(t,e,n){this.name=t,this.ttype=e,this.isOpt=n};e.TParam=v;var T=function(t){function e(e){var n=t.call(this)||this;return n.params=e,n}return i(e,t),e.prototype.getChecker=function(t,e){var n=this,r=this.params.map((function(n){return n.ttype.getChecker(t,e)})),i=new o.NoopContext,s=this.params.map((function(t,e){return!t.isOpt&&!r[e](void 0,i)})),a=function(t,e){if(!Array.isArray(t))return e.fail(null,"is not an array",0);for(var i=0;i<r.length;i++){var o=n.params[i];if(void 0===t[i]){if(s[i])return e.fail(o.name,"is missing",1)}else if(!r[i](t[i],e))return e.fail(o.name,null,1)}return!0};return e?function(t,e){return!!a(t,e)&&(t.length<=r.length||e.fail(r.length,"is extraneous",2))}:a},e}(s);e.TParamList=T;var A=function(t){function e(e,n){var r=t.call(this)||this;return r.validator=e,r.message=n,r}return i(e,t),e.prototype.getChecker=function(t,e){var n=this;return function(t,e){return!!n.validator(t)||e.fail(null,n.message,0)}},e}(s);e.BasicType=A,e.basicTypes={any:new A((function(t){return!0}),"is invalid"),number:new A((function(t){return"number"==typeof t}),"is not a number"),object:new A((function(t){return"object"==typeof t&&t}),"is not an object"),boolean:new A((function(t){return"boolean"==typeof t}),"is not a boolean"),string:new A((function(t){return"string"==typeof t}),"is not a string"),symbol:new A((function(t){return"symbol"==typeof t}),"is not a symbol"),void:new A((function(t){return null==t}),"is not void"),undefined:new A((function(t){return void 0===t}),"is not undefined"),null:new A((function(t){return null===t}),"is not null"),never:new A((function(t){return!1}),"is unexpected"),Date:new A(S("[object Date]"),"is not a Date"),RegExp:new A(S("[object RegExp]"),"is not a RegExp")};var w=Object.prototype.toString;function S(t){return function(e){return"object"==typeof e&&e&&w.call(e)===t}}"undefined"!=typeof Buffer&&(e.basicTypes.Buffer=new A((function(t){return Buffer.isBuffer(t)}),"is not a Buffer"));for(var I=function(t){e.basicTypes[t.name]=new A((function(e){return e instanceof t}),"is not a "+t.name)},L=0,E=[Int8Array,Uint8Array,Uint8ClampedArray,Int16Array,Uint16Array,Int32Array,Uint32Array,Float32Array,Float64Array,ArrayBuffer];L<E.length;L++){I(E[L])}},1977:function(t,e){"use strict";var n,r=this&&this.__extends||(n=function(t,e){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])},n(t,e)},function(t,e){function r(){this.constructor=t}n(t,e),t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)});Object.defineProperty(e,"__esModule",{value:!0}),e.DetailContext=e.NoopContext=e.VError=void 0;var i=function(t){function e(n,r){var i=t.call(this,r)||this;return i.path=n,Object.setPrototypeOf(i,e.prototype),i}return r(e,t),e}(Error);e.VError=i;var o=function(){function t(){}return t.prototype.fail=function(t,e,n){return!1},t.prototype.unionResolver=function(){return this},t.prototype.createContext=function(){return this},t.prototype.resolveUnion=function(t){},t}();e.NoopContext=o;var s=function(){function t(){this._propNames=[""],this._messages=[null],this._score=0}return t.prototype.fail=function(t,e,n){return this._propNames.push(t),this._messages.push(e),this._score+=n,!1},t.prototype.unionResolver=function(){return new a},t.prototype.resolveUnion=function(t){for(var e,n,r=null,i=0,o=t.contexts;i<o.length;i++){var s=o[i];(!r||s._score>=r._score)&&(r=s)}r&&r._score>0&&((e=this._propNames).push.apply(e,r._propNames),(n=this._messages).push.apply(n,r._messages))},t.prototype.getError=function(t){for(var e=[],n=this._propNames.length-1;n>=0;n--){var r=this._propNames[n];t+="number"==typeof r?"["+r+"]":r?"."+r:"";var o=this._messages[n];o&&e.push(t+" "+o)}return new i(t,e.join("; "))},t.prototype.getErrorDetail=function(t){for(var e=[],n=this._propNames.length-1;n>=0;n--){var r=this._propNames[n];t+="number"==typeof r?"["+r+"]":r?"."+r:"";var i=this._messages[n];i&&e.push({path:t,message:i})}var o=null;for(n=e.length-1;n>=0;n--)o&&(e[n].nested=[o]),o=e[n];return o},t}();e.DetailContext=s;var a=function(){function t(){this.contexts=[]}return t.prototype.createContext=function(){var t=new s;return this.contexts.push(t),t},t}()},6312:(t,e,n)=>{"use strict";function r(t,e){let n;if(void 0===e)for(const r of t)null!=r&&(n<r||void 0===n&&r>=r)&&(n=r);else{let r=-1;for(let i of t)null!=(i=e(i,++r,t))&&(n<i||void 0===n&&i>=i)&&(n=i)}return n}function i(t,e){let n;if(void 0===e)for(const r of t)null!=r&&(n>r||void 0===n&&r>=r)&&(n=r);else{let r=-1;for(let i of t)null!=(i=e(i,++r,t))&&(n>i||void 0===n&&i>=i)&&(n=i)}return n}function o(t){return t}n.d(e,{JLW:()=>ca,l78:()=>k,tlR:()=>y,qrM:()=>Ca,Yu4:()=>Ta,IA3:()=>wa,Wi0:()=>Ia,PGM:()=>La,OEq:()=>Ba,y8u:()=>Ma,olC:()=>Oa,IrU:()=>Da,oDi:()=>Pa,Q7f:()=>Ua,cVp:()=>Ha,lUB:()=>da,Lx9:()=>Ya,nVG:()=>el,uxU:()=>nl,Xf2:()=>ol,GZz:()=>al,UPb:()=>cl,dyv:()=>ll,bEH:()=>mr,n8j:()=>ma,T9B:()=>r,jkA:()=>i,rLf:()=>ka,WH:()=>Tr,m4Y:()=>gi,UMr:()=>vr,w7C:()=>Ns,zt:()=>Ms,Ltv:()=>js,Ubm:()=>Os,JWy:()=>Gn,UAC:()=>Ni,DCK:()=>uo,TUC:()=>zi,Agd:()=>Bi,t6C:()=>Si,wXd:()=>Li,ABi:()=>Di,Ui6:()=>Ji,rGn:()=>Ui,ucG:()=>Ii,YPH:()=>Ri,Mol:()=>Pi,PGu:()=>qi,GuW:()=>$i});var s=1,a=2,l=3,c=4,h=1e-6;function u(t){return"translate("+t+",0)"}function d(t){return"translate(0,"+t+")"}function p(t){return e=>+t(e)}function f(t,e){return e=Math.max(0,t.bandwidth()-2*e)/2,t.round()&&(e=Math.round(e)),n=>+t(n)+e}function m(){return!this.__axis}function g(t,e){var n=[],r=null,i=null,g=6,y=6,k=3,x="undefined"!=typeof window&&window.devicePixelRatio>1?0:.5,_=t===s||t===c?-1:1,b=t===c||t===a?"x":"y",C=t===s||t===l?u:d;function v(u){var d=null==r?e.ticks?e.ticks.apply(e,n):e.domain():r,v=null==i?e.tickFormat?e.tickFormat.apply(e,n):o:i,T=Math.max(g,0)+k,A=e.range(),w=+A[0]+x,S=+A[A.length-1]+x,I=(e.bandwidth?f:p)(e.copy(),x),L=u.selection?u.selection():u,E=L.selectAll(".domain").data([null]),B=L.selectAll(".tick").data(d,e).order(),F=B.exit(),N=B.enter().append("g").attr("class","tick"),M=B.select("line"),j=B.select("text");E=E.merge(E.enter().insert("path",".tick").attr("class","domain").attr("stroke","currentColor")),B=B.merge(N),M=M.merge(N.append("line").attr("stroke","currentColor").attr(b+"2",_*g)),j=j.merge(N.append("text").attr("fill","currentColor").attr(b,_*T).attr("dy",t===s?"0em":t===l?"0.71em":"0.32em")),u!==L&&(E=E.transition(u),B=B.transition(u),M=M.transition(u),j=j.transition(u),F=F.transition(u).attr("opacity",h).attr("transform",(function(t){return isFinite(t=I(t))?C(t+x):this.getAttribute("transform")})),N.attr("opacity",h).attr("transform",(function(t){var e=this.parentNode.__axis;return C((e&&isFinite(e=e(t))?e:I(t))+x)}))),F.remove(),E.attr("d",t===c||t===a?y?"M"+_*y+","+w+"H"+x+"V"+S+"H"+_*y:"M"+x+","+w+"V"+S:y?"M"+w+","+_*y+"V"+x+"H"+S+"V"+_*y:"M"+w+","+x+"H"+S),B.attr("opacity",1).attr("transform",(function(t){return C(I(t)+x)})),M.attr(b+"2",_*g),j.attr(b,_*T).text(v),L.filter(m).attr("fill","none").attr("font-size",10).attr("font-family","sans-serif").attr("text-anchor",t===a?"start":t===c?"end":"middle"),L.each((function(){this.__axis=I}))}return v.scale=function(t){return arguments.length?(e=t,v):e},v.ticks=function(){return n=Array.from(arguments),v},v.tickArguments=function(t){return arguments.length?(n=null==t?[]:Array.from(t),v):n.slice()},v.tickValues=function(t){return arguments.length?(r=null==t?null:Array.from(t),v):r&&r.slice()},v.tickFormat=function(t){return arguments.length?(i=t,v):i},v.tickSize=function(t){return arguments.length?(g=y=+t,v):g},v.tickSizeInner=function(t){return arguments.length?(g=+t,v):g},v.tickSizeOuter=function(t){return arguments.length?(y=+t,v):y},v.tickPadding=function(t){return arguments.length?(k=+t,v):k},v.offset=function(t){return arguments.length?(x=+t,v):x},v}function y(t){return g(s,t)}function k(t){return g(l,t)}function x(){}function _(t){return null==t?x:function(){return this.querySelector(t)}}function b(t){return null==t?[]:Array.isArray(t)?t:Array.from(t)}function C(){return[]}function v(t){return null==t?C:function(){return this.querySelectorAll(t)}}function T(t){return function(){return this.matches(t)}}function A(t){return function(e){return e.matches(t)}}var w=Array.prototype.find;function S(){return this.firstElementChild}var I=Array.prototype.filter;function L(){return Array.from(this.children)}function E(t){return new Array(t.length)}function B(t,e){this.ownerDocument=t.ownerDocument,this.namespaceURI=t.namespaceURI,this._next=null,this._parent=t,this.__data__=e}function F(t,e,n,r,i,o){for(var s,a=0,l=e.length,c=o.length;a<c;++a)(s=e[a])?(s.__data__=o[a],r[a]=s):n[a]=new B(t,o[a]);for(;a<l;++a)(s=e[a])&&(i[a]=s)}function N(t,e,n,r,i,o,s){var a,l,c,h=new Map,u=e.length,d=o.length,p=new Array(u);for(a=0;a<u;++a)(l=e[a])&&(p[a]=c=s.call(l,l.__data__,a,e)+"",h.has(c)?i[a]=l:h.set(c,l));for(a=0;a<d;++a)c=s.call(t,o[a],a,o)+"",(l=h.get(c))?(r[a]=l,l.__data__=o[a],h.delete(c)):n[a]=new B(t,o[a]);for(a=0;a<u;++a)(l=e[a])&&h.get(p[a])===l&&(i[a]=l)}function M(t){return t.__data__}function j(t){return"object"==typeof t&&"length"in t?t:Array.from(t)}function O(t,e){return t<e?-1:t>e?1:t>=e?0:NaN}B.prototype={constructor:B,appendChild:function(t){return this._parent.insertBefore(t,this._next)},insertBefore:function(t,e){return this._parent.insertBefore(t,e)},querySelector:function(t){return this._parent.querySelector(t)},querySelectorAll:function(t){return this._parent.querySelectorAll(t)}};var R="http://www.w3.org/1999/xhtml";const D={svg:"http://www.w3.org/2000/svg",xhtml:R,xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/"};function q(t){var e=t+="",n=e.indexOf(":");return n>=0&&"xmlns"!==(e=t.slice(0,n))&&(t=t.slice(n+1)),D.hasOwnProperty(e)?{space:D[e],local:t}:t}function $(t){return function(){this.removeAttribute(t)}}function P(t){return function(){this.removeAttributeNS(t.space,t.local)}}function z(t,e){return function(){this.setAttribute(t,e)}}function U(t,e){return function(){this.setAttributeNS(t.space,t.local,e)}}function W(t,e){return function(){var n=e.apply(this,arguments);null==n?this.removeAttribute(t):this.setAttribute(t,n)}}function H(t,e){return function(){var n=e.apply(this,arguments);null==n?this.removeAttributeNS(t.space,t.local):this.setAttributeNS(t.space,t.local,n)}}function V(t){return t.ownerDocument&&t.ownerDocument.defaultView||t.document&&t||t.defaultView}function Y(t){return function(){this.style.removeProperty(t)}}function G(t,e,n){return function(){this.style.setProperty(t,e,n)}}function X(t,e,n){return function(){var r=e.apply(this,arguments);null==r?this.style.removeProperty(t):this.style.setProperty(t,r,n)}}function K(t,e){return t.style.getPropertyValue(e)||V(t).getComputedStyle(t,null).getPropertyValue(e)}function Z(t){return function(){delete this[t]}}function J(t,e){return function(){this[t]=e}}function Q(t,e){return function(){var n=e.apply(this,arguments);null==n?delete this[t]:this[t]=n}}function tt(t){return t.trim().split(/^|\s+/)}function et(t){return t.classList||new nt(t)}function nt(t){this._node=t,this._names=tt(t.getAttribute("class")||"")}function rt(t,e){for(var n=et(t),r=-1,i=e.length;++r<i;)n.add(e[r])}function it(t,e){for(var n=et(t),r=-1,i=e.length;++r<i;)n.remove(e[r])}function ot(t){return function(){rt(this,t)}}function st(t){return function(){it(this,t)}}function at(t,e){return function(){(e.apply(this,arguments)?rt:it)(this,t)}}function lt(){this.textContent=""}function ct(t){return function(){this.textContent=t}}function ht(t){return function(){var e=t.apply(this,arguments);this.textContent=null==e?"":e}}function ut(){this.innerHTML=""}function dt(t){return function(){this.innerHTML=t}}function pt(t){return function(){var e=t.apply(this,arguments);this.innerHTML=null==e?"":e}}function ft(){this.nextSibling&&this.parentNode.appendChild(this)}function mt(){this.previousSibling&&this.parentNode.insertBefore(this,this.parentNode.firstChild)}function gt(t){return function(){var e=this.ownerDocument,n=this.namespaceURI;return n===R&&e.documentElement.namespaceURI===R?e.createElement(t):e.createElementNS(n,t)}}function yt(t){return function(){return this.ownerDocument.createElementNS(t.space,t.local)}}function kt(t){var e=q(t);return(e.local?yt:gt)(e)}function xt(){return null}function _t(){var t=this.parentNode;t&&t.removeChild(this)}function bt(){var t=this.cloneNode(!1),e=this.parentNode;return e?e.insertBefore(t,this.nextSibling):t}function Ct(){var t=this.cloneNode(!0),e=this.parentNode;return e?e.insertBefore(t,this.nextSibling):t}function vt(t){return function(){var e=this.__on;if(e){for(var n,r=0,i=-1,o=e.length;r<o;++r)n=e[r],t.type&&n.type!==t.type||n.name!==t.name?e[++i]=n:this.removeEventListener(n.type,n.listener,n.options);++i?e.length=i:delete this.__on}}}function Tt(t,e,n){return function(){var r,i=this.__on,o=function(t){return function(e){t.call(this,e,this.__data__)}}(e);if(i)for(var s=0,a=i.length;s<a;++s)if((r=i[s]).type===t.type&&r.name===t.name)return this.removeEventListener(r.type,r.listener,r.options),this.addEventListener(r.type,r.listener=o,r.options=n),void(r.value=e);this.addEventListener(t.type,o,n),r={type:t.type,name:t.name,value:e,listener:o,options:n},i?i.push(r):this.__on=[r]}}function At(t,e,n){var r=V(t),i=r.CustomEvent;"function"==typeof i?i=new i(e,n):(i=r.document.createEvent("Event"),n?(i.initEvent(e,n.bubbles,n.cancelable),i.detail=n.detail):i.initEvent(e,!1,!1)),t.dispatchEvent(i)}function wt(t,e){return function(){return At(this,t,e)}}function St(t,e){return function(){return At(this,t,e.apply(this,arguments))}}nt.prototype={add:function(t){this._names.indexOf(t)<0&&(this._names.push(t),this._node.setAttribute("class",this._names.join(" ")))},remove:function(t){var e=this._names.indexOf(t);e>=0&&(this._names.splice(e,1),this._node.setAttribute("class",this._names.join(" ")))},contains:function(t){return this._names.indexOf(t)>=0}};var It=[null];function Lt(t,e){this._groups=t,this._parents=e}function Et(){return new Lt([[document.documentElement]],It)}Lt.prototype=Et.prototype={constructor:Lt,select:function(t){"function"!=typeof t&&(t=_(t));for(var e=this._groups,n=e.length,r=new Array(n),i=0;i<n;++i)for(var o,s,a=e[i],l=a.length,c=r[i]=new Array(l),h=0;h<l;++h)(o=a[h])&&(s=t.call(o,o.__data__,h,a))&&("__data__"in o&&(s.__data__=o.__data__),c[h]=s);return new Lt(r,this._parents)},selectAll:function(t){t="function"==typeof t?function(t){return function(){return b(t.apply(this,arguments))}}(t):v(t);for(var e=this._groups,n=e.length,r=[],i=[],o=0;o<n;++o)for(var s,a=e[o],l=a.length,c=0;c<l;++c)(s=a[c])&&(r.push(t.call(s,s.__data__,c,a)),i.push(s));return new Lt(r,i)},selectChild:function(t){return this.select(null==t?S:function(t){return function(){return w.call(this.children,t)}}("function"==typeof t?t:A(t)))},selectChildren:function(t){return this.selectAll(null==t?L:function(t){return function(){return I.call(this.children,t)}}("function"==typeof t?t:A(t)))},filter:function(t){"function"!=typeof t&&(t=T(t));for(var e=this._groups,n=e.length,r=new Array(n),i=0;i<n;++i)for(var o,s=e[i],a=s.length,l=r[i]=[],c=0;c<a;++c)(o=s[c])&&t.call(o,o.__data__,c,s)&&l.push(o);return new Lt(r,this._parents)},data:function(t,e){if(!arguments.length)return Array.from(this,M);var n,r=e?N:F,i=this._parents,o=this._groups;"function"!=typeof t&&(n=t,t=function(){return n});for(var s=o.length,a=new Array(s),l=new Array(s),c=new Array(s),h=0;h<s;++h){var u=i[h],d=o[h],p=d.length,f=j(t.call(u,u&&u.__data__,h,i)),m=f.length,g=l[h]=new Array(m),y=a[h]=new Array(m);r(u,d,g,y,c[h]=new Array(p),f,e);for(var k,x,_=0,b=0;_<m;++_)if(k=g[_]){for(_>=b&&(b=_+1);!(x=y[b])&&++b<m;);k._next=x||null}}return(a=new Lt(a,i))._enter=l,a._exit=c,a},enter:function(){return new Lt(this._enter||this._groups.map(E),this._parents)},exit:function(){return new Lt(this._exit||this._groups.map(E),this._parents)},join:function(t,e,n){var r=this.enter(),i=this,o=this.exit();return"function"==typeof t?(r=t(r))&&(r=r.selection()):r=r.append(t+""),null!=e&&(i=e(i))&&(i=i.selection()),null==n?o.remove():n(o),r&&i?r.merge(i).order():i},merge:function(t){for(var e=t.selection?t.selection():t,n=this._groups,r=e._groups,i=n.length,o=r.length,s=Math.min(i,o),a=new Array(i),l=0;l<s;++l)for(var c,h=n[l],u=r[l],d=h.length,p=a[l]=new Array(d),f=0;f<d;++f)(c=h[f]||u[f])&&(p[f]=c);for(;l<i;++l)a[l]=n[l];return new Lt(a,this._parents)},selection:function(){return this},order:function(){for(var t=this._groups,e=-1,n=t.length;++e<n;)for(var r,i=t[e],o=i.length-1,s=i[o];--o>=0;)(r=i[o])&&(s&&4^r.compareDocumentPosition(s)&&s.parentNode.insertBefore(r,s),s=r);return this},sort:function(t){function e(e,n){return e&&n?t(e.__data__,n.__data__):!e-!n}t||(t=O);for(var n=this._groups,r=n.length,i=new Array(r),o=0;o<r;++o){for(var s,a=n[o],l=a.length,c=i[o]=new Array(l),h=0;h<l;++h)(s=a[h])&&(c[h]=s);c.sort(e)}return new Lt(i,this._parents).order()},call:function(){var t=arguments[0];return arguments[0]=this,t.apply(null,arguments),this},nodes:function(){return Array.from(this)},node:function(){for(var t=this._groups,e=0,n=t.length;e<n;++e)for(var r=t[e],i=0,o=r.length;i<o;++i){var s=r[i];if(s)return s}return null},size:function(){let t=0;for(const e of this)++t;return t},empty:function(){return!this.node()},each:function(t){for(var e=this._groups,n=0,r=e.length;n<r;++n)for(var i,o=e[n],s=0,a=o.length;s<a;++s)(i=o[s])&&t.call(i,i.__data__,s,o);return this},attr:function(t,e){var n=q(t);if(arguments.length<2){var r=this.node();return n.local?r.getAttributeNS(n.space,n.local):r.getAttribute(n)}return this.each((null==e?n.local?P:$:"function"==typeof e?n.local?H:W:n.local?U:z)(n,e))},style:function(t,e,n){return arguments.length>1?this.each((null==e?Y:"function"==typeof e?X:G)(t,e,null==n?"":n)):K(this.node(),t)},property:function(t,e){return arguments.length>1?this.each((null==e?Z:"function"==typeof e?Q:J)(t,e)):this.node()[t]},classed:function(t,e){var n=tt(t+"");if(arguments.length<2){for(var r=et(this.node()),i=-1,o=n.length;++i<o;)if(!r.contains(n[i]))return!1;return!0}return this.each(("function"==typeof e?at:e?ot:st)(n,e))},text:function(t){return arguments.length?this.each(null==t?lt:("function"==typeof t?ht:ct)(t)):this.node().textContent},html:function(t){return arguments.length?this.each(null==t?ut:("function"==typeof t?pt:dt)(t)):this.node().innerHTML},raise:function(){return this.each(ft)},lower:function(){return this.each(mt)},append:function(t){var e="function"==typeof t?t:kt(t);return this.select((function(){return this.appendChild(e.apply(this,arguments))}))},insert:function(t,e){var n="function"==typeof t?t:kt(t),r=null==e?xt:"function"==typeof e?e:_(e);return this.select((function(){return this.insertBefore(n.apply(this,arguments),r.apply(this,arguments)||null)}))},remove:function(){return this.each(_t)},clone:function(t){return this.select(t?Ct:bt)},datum:function(t){return arguments.length?this.property("__data__",t):this.node().__data__},on:function(t,e,n){var r,i,o=function(t){return t.trim().split(/^|\s+/).map((function(t){var e="",n=t.indexOf(".");return n>=0&&(e=t.slice(n+1),t=t.slice(0,n)),{type:t,name:e}}))}(t+""),s=o.length;if(!(arguments.length<2)){for(a=e?Tt:vt,r=0;r<s;++r)this.each(a(o[r],e,n));return this}var a=this.node().__on;if(a)for(var l,c=0,h=a.length;c<h;++c)for(r=0,l=a[c];r<s;++r)if((i=o[r]).type===l.type&&i.name===l.name)return l.value},dispatch:function(t,e){return this.each(("function"==typeof e?St:wt)(t,e))},[Symbol.iterator]:function*(){for(var t=this._groups,e=0,n=t.length;e<n;++e)for(var r,i=t[e],o=0,s=i.length;o<s;++o)(r=i[o])&&(yield r)}};const Bt=Et;var Ft={value:()=>{}};function Nt(){for(var t,e=0,n=arguments.length,r={};e<n;++e){if(!(t=arguments[e]+"")||t in r||/[\s.]/.test(t))throw new Error("illegal type: "+t);r[t]=[]}return new Mt(r)}function Mt(t){this._=t}function jt(t,e){for(var n,r=0,i=t.length;r<i;++r)if((n=t[r]).name===e)return n.value}function Ot(t,e,n){for(var r=0,i=t.length;r<i;++r)if(t[r].name===e){t[r]=Ft,t=t.slice(0,r).concat(t.slice(r+1));break}return null!=n&&t.push({name:e,value:n}),t}Mt.prototype=Nt.prototype={constructor:Mt,on:function(t,e){var n,r,i=this._,o=(r=i,(t+"").trim().split(/^|\s+/).map((function(t){var e="",n=t.indexOf(".");if(n>=0&&(e=t.slice(n+1),t=t.slice(0,n)),t&&!r.hasOwnProperty(t))throw new Error("unknown type: "+t);return{type:t,name:e}}))),s=-1,a=o.length;if(!(arguments.length<2)){if(null!=e&&"function"!=typeof e)throw new Error("invalid callback: "+e);for(;++s<a;)if(n=(t=o[s]).type)i[n]=Ot(i[n],t.name,e);else if(null==e)for(n in i)i[n]=Ot(i[n],t.name,null);return this}for(;++s<a;)if((n=(t=o[s]).type)&&(n=jt(i[n],t.name)))return n},copy:function(){var t={},e=this._;for(var n in e)t[n]=e[n].slice();return new Mt(t)},call:function(t,e){if((n=arguments.length-2)>0)for(var n,r,i=new Array(n),o=0;o<n;++o)i[o]=arguments[o+2];if(!this._.hasOwnProperty(t))throw new Error("unknown type: "+t);for(o=0,n=(r=this._[t]).length;o<n;++o)r[o].value.apply(e,i)},apply:function(t,e,n){if(!this._.hasOwnProperty(t))throw new Error("unknown type: "+t);for(var r=this._[t],i=0,o=r.length;i<o;++i)r[i].value.apply(e,n)}};const Rt=Nt;var Dt,qt,$t=0,Pt=0,zt=0,Ut=1e3,Wt=0,Ht=0,Vt=0,Yt="object"==typeof performance&&performance.now?performance:Date,Gt="object"==typeof window&&window.requestAnimationFrame?window.requestAnimationFrame.bind(window):function(t){setTimeout(t,17)};function Xt(){return Ht||(Gt(Kt),Ht=Yt.now()+Vt)}function Kt(){Ht=0}function Zt(){this._call=this._time=this._next=null}function Jt(t,e,n){var r=new Zt;return r.restart(t,e,n),r}function Qt(){Ht=(Wt=Yt.now())+Vt,$t=Pt=0;try{!function(){Xt(),++$t;for(var t,e=Dt;e;)(t=Ht-e._time)>=0&&e._call.call(void 0,t),e=e._next;--$t}()}finally{$t=0,function(){var t,e,n=Dt,r=1/0;for(;n;)n._call?(r>n._time&&(r=n._time),t=n,n=n._next):(e=n._next,n._next=null,n=t?t._next=e:Dt=e);qt=t,ee(r)}(),Ht=0}}function te(){var t=Yt.now(),e=t-Wt;e>Ut&&(Vt-=e,Wt=t)}function ee(t){$t||(Pt&&(Pt=clearTimeout(Pt)),t-Ht>24?(t<1/0&&(Pt=setTimeout(Qt,t-Yt.now()-Vt)),zt&&(zt=clearInterval(zt))):(zt||(Wt=Yt.now(),zt=setInterval(te,Ut)),$t=1,Gt(Qt)))}function ne(t,e,n){var r=new Zt;return e=null==e?0:+e,r.restart((n=>{r.stop(),t(n+e)}),e,n),r}Zt.prototype=Jt.prototype={constructor:Zt,restart:function(t,e,n){if("function"!=typeof t)throw new TypeError("callback is not a function");n=(null==n?Xt():+n)+(null==e?0:+e),this._next||qt===this||(qt?qt._next=this:Dt=this,qt=this),this._call=t,this._time=n,ee()},stop:function(){this._call&&(this._call=null,this._time=1/0,ee())}};var re=Rt("start","end","cancel","interrupt"),ie=[],oe=0,se=1,ae=2,le=3,ce=4,he=5,ue=6;function de(t,e,n,r,i,o){var s=t.__transition;if(s){if(n in s)return}else t.__transition={};!function(t,e,n){var r,i=t.__transition;function o(t){n.state=se,n.timer.restart(s,n.delay,n.time),n.delay<=t&&s(t-n.delay)}function s(o){var c,h,u,d;if(n.state!==se)return l();for(c in i)if((d=i[c]).name===n.name){if(d.state===le)return ne(s);d.state===ce?(d.state=ue,d.timer.stop(),d.on.call("interrupt",t,t.__data__,d.index,d.group),delete i[c]):+c<e&&(d.state=ue,d.timer.stop(),d.on.call("cancel",t,t.__data__,d.index,d.group),delete i[c])}if(ne((function(){n.state===le&&(n.state=ce,n.timer.restart(a,n.delay,n.time),a(o))})),n.state=ae,n.on.call("start",t,t.__data__,n.index,n.group),n.state===ae){for(n.state=le,r=new Array(u=n.tween.length),c=0,h=-1;c<u;++c)(d=n.tween[c].value.call(t,t.__data__,n.index,n.group))&&(r[++h]=d);r.length=h+1}}function a(e){for(var i=e<n.duration?n.ease.call(null,e/n.duration):(n.timer.restart(l),n.state=he,1),o=-1,s=r.length;++o<s;)r[o].call(t,i);n.state===he&&(n.on.call("end",t,t.__data__,n.index,n.group),l())}function l(){for(var r in n.state=ue,n.timer.stop(),delete i[e],i)return;delete t.__transition}i[e]=n,n.timer=Jt(o,0,n.time)}(t,n,{name:e,index:r,group:i,on:re,tween:ie,time:o.time,delay:o.delay,duration:o.duration,ease:o.ease,timer:null,state:oe})}function pe(t,e){var n=me(t,e);if(n.state>oe)throw new Error("too late; already scheduled");return n}function fe(t,e){var n=me(t,e);if(n.state>le)throw new Error("too late; already running");return n}function me(t,e){var n=t.__transition;if(!n||!(n=n[e]))throw new Error("transition not found");return n}function ge(t,e){return t=+t,e=+e,function(n){return t*(1-n)+e*n}}var ye,ke=180/Math.PI,xe={translateX:0,translateY:0,rotate:0,skewX:0,scaleX:1,scaleY:1};function _e(t,e,n,r,i,o){var s,a,l;return(s=Math.sqrt(t*t+e*e))&&(t/=s,e/=s),(l=t*n+e*r)&&(n-=t*l,r-=e*l),(a=Math.sqrt(n*n+r*r))&&(n/=a,r/=a,l/=a),t*r<e*n&&(t=-t,e=-e,l=-l,s=-s),{translateX:i,translateY:o,rotate:Math.atan2(e,t)*ke,skewX:Math.atan(l)*ke,scaleX:s,scaleY:a}}function be(t,e,n,r){function i(t){return t.length?t.pop()+" ":""}return function(o,s){var a=[],l=[];return o=t(o),s=t(s),function(t,r,i,o,s,a){if(t!==i||r!==o){var l=s.push("translate(",null,e,null,n);a.push({i:l-4,x:ge(t,i)},{i:l-2,x:ge(r,o)})}else(i||o)&&s.push("translate("+i+e+o+n)}(o.translateX,o.translateY,s.translateX,s.translateY,a,l),function(t,e,n,o){t!==e?(t-e>180?e+=360:e-t>180&&(t+=360),o.push({i:n.push(i(n)+"rotate(",null,r)-2,x:ge(t,e)})):e&&n.push(i(n)+"rotate("+e+r)}(o.rotate,s.rotate,a,l),function(t,e,n,o){t!==e?o.push({i:n.push(i(n)+"skewX(",null,r)-2,x:ge(t,e)}):e&&n.push(i(n)+"skewX("+e+r)}(o.skewX,s.skewX,a,l),function(t,e,n,r,o,s){if(t!==n||e!==r){var a=o.push(i(o)+"scale(",null,",",null,")");s.push({i:a-4,x:ge(t,n)},{i:a-2,x:ge(e,r)})}else 1===n&&1===r||o.push(i(o)+"scale("+n+","+r+")")}(o.scaleX,o.scaleY,s.scaleX,s.scaleY,a,l),o=s=null,function(t){for(var e,n=-1,r=l.length;++n<r;)a[(e=l[n]).i]=e.x(t);return a.join("")}}}var Ce=be((function(t){const e=new("function"==typeof DOMMatrix?DOMMatrix:WebKitCSSMatrix)(t+"");return e.isIdentity?xe:_e(e.a,e.b,e.c,e.d,e.e,e.f)}),"px, ","px)","deg)"),ve=be((function(t){return null==t?xe:(ye||(ye=document.createElementNS("http://www.w3.org/2000/svg","g")),ye.setAttribute("transform",t),(t=ye.transform.baseVal.consolidate())?_e((t=t.matrix).a,t.b,t.c,t.d,t.e,t.f):xe)}),", ",")",")");function Te(t,e){var n,r;return function(){var i=fe(this,t),o=i.tween;if(o!==n)for(var s=0,a=(r=n=o).length;s<a;++s)if(r[s].name===e){(r=r.slice()).splice(s,1);break}i.tween=r}}function Ae(t,e,n){var r,i;if("function"!=typeof n)throw new Error;return function(){var o=fe(this,t),s=o.tween;if(s!==r){i=(r=s).slice();for(var a={name:e,value:n},l=0,c=i.length;l<c;++l)if(i[l].name===e){i[l]=a;break}l===c&&i.push(a)}o.tween=i}}function we(t,e,n){var r=t._id;return t.each((function(){var t=fe(this,r);(t.value||(t.value={}))[e]=n.apply(this,arguments)})),function(t){return me(t,r).value[e]}}function Se(t,e,n){t.prototype=e.prototype=n,n.constructor=t}function Ie(t,e){var n=Object.create(t.prototype);for(var r in e)n[r]=e[r];return n}function Le(){}var Ee=.7,Be=1/Ee,Fe="\\s*([+-]?\\d+)\\s*",Ne="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)\\s*",Me="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)%\\s*",je=/^#([0-9a-f]{3,8})$/,Oe=new RegExp(`^rgb\\(${Fe},${Fe},${Fe}\\)$`),Re=new RegExp(`^rgb\\(${Me},${Me},${Me}\\)$`),De=new RegExp(`^rgba\\(${Fe},${Fe},${Fe},${Ne}\\)$`),qe=new RegExp(`^rgba\\(${Me},${Me},${Me},${Ne}\\)$`),$e=new RegExp(`^hsl\\(${Ne},${Me},${Me}\\)$`),Pe=new RegExp(`^hsla\\(${Ne},${Me},${Me},${Ne}\\)$`),ze={aliceblue:15792383,antiquewhite:16444375,aqua:65535,aquamarine:8388564,azure:15794175,beige:16119260,bisque:16770244,black:0,blanchedalmond:16772045,blue:255,blueviolet:9055202,brown:10824234,burlywood:14596231,cadetblue:6266528,chartreuse:8388352,chocolate:13789470,coral:16744272,cornflowerblue:6591981,cornsilk:16775388,crimson:14423100,cyan:65535,darkblue:139,darkcyan:35723,darkgoldenrod:12092939,darkgray:11119017,darkgreen:25600,darkgrey:11119017,darkkhaki:12433259,darkmagenta:9109643,darkolivegreen:5597999,darkorange:16747520,darkorchid:10040012,darkred:9109504,darksalmon:15308410,darkseagreen:9419919,darkslateblue:4734347,darkslategray:3100495,darkslategrey:3100495,darkturquoise:52945,darkviolet:9699539,deeppink:16716947,deepskyblue:49151,dimgray:6908265,dimgrey:6908265,dodgerblue:2003199,firebrick:11674146,floralwhite:16775920,forestgreen:2263842,fuchsia:16711935,gainsboro:14474460,ghostwhite:16316671,gold:16766720,goldenrod:14329120,gray:8421504,green:32768,greenyellow:11403055,grey:8421504,honeydew:15794160,hotpink:16738740,indianred:13458524,indigo:4915330,ivory:16777200,khaki:15787660,lavender:15132410,lavenderblush:16773365,lawngreen:8190976,lemonchiffon:16775885,lightblue:11393254,lightcoral:15761536,lightcyan:14745599,lightgoldenrodyellow:16448210,lightgray:13882323,lightgreen:9498256,lightgrey:13882323,lightpink:16758465,lightsalmon:16752762,lightseagreen:2142890,lightskyblue:8900346,lightslategray:7833753,lightslategrey:7833753,lightsteelblue:11584734,lightyellow:16777184,lime:65280,limegreen:3329330,linen:16445670,magenta:16711935,maroon:8388608,mediumaquamarine:6737322,mediumblue:205,mediumorchid:12211667,mediumpurple:9662683,mediumseagreen:3978097,mediumslateblue:8087790,mediumspringgreen:64154,mediumturquoise:4772300,mediumvioletred:13047173,midnightblue:1644912,mintcream:16121850,mistyrose:16770273,moccasin:16770229,navajowhite:16768685,navy:128,oldlace:16643558,olive:8421376,olivedrab:7048739,orange:16753920,orangered:16729344,orchid:14315734,palegoldenrod:15657130,palegreen:10025880,paleturquoise:11529966,palevioletred:14381203,papayawhip:16773077,peachpuff:16767673,peru:13468991,pink:16761035,plum:14524637,powderblue:11591910,purple:8388736,rebeccapurple:6697881,red:16711680,rosybrown:12357519,royalblue:4286945,saddlebrown:9127187,salmon:16416882,sandybrown:16032864,seagreen:3050327,seashell:16774638,sienna:10506797,silver:12632256,skyblue:8900331,slateblue:6970061,slategray:7372944,slategrey:7372944,snow:16775930,springgreen:65407,steelblue:4620980,tan:13808780,teal:32896,thistle:14204888,tomato:16737095,turquoise:4251856,violet:15631086,wheat:16113331,white:16777215,whitesmoke:16119285,yellow:16776960,yellowgreen:10145074};function Ue(){return this.rgb().formatHex()}function We(){return this.rgb().formatRgb()}function He(t){var e,n;return t=(t+"").trim().toLowerCase(),(e=je.exec(t))?(n=e[1].length,e=parseInt(e[1],16),6===n?Ve(e):3===n?new Ke(e>>8&15|e>>4&240,e>>4&15|240&e,(15&e)<<4|15&e,1):8===n?Ye(e>>24&255,e>>16&255,e>>8&255,(255&e)/255):4===n?Ye(e>>12&15|e>>8&240,e>>8&15|e>>4&240,e>>4&15|240&e,((15&e)<<4|15&e)/255):null):(e=Oe.exec(t))?new Ke(e[1],e[2],e[3],1):(e=Re.exec(t))?new Ke(255*e[1]/100,255*e[2]/100,255*e[3]/100,1):(e=De.exec(t))?Ye(e[1],e[2],e[3],e[4]):(e=qe.exec(t))?Ye(255*e[1]/100,255*e[2]/100,255*e[3]/100,e[4]):(e=$e.exec(t))?nn(e[1],e[2]/100,e[3]/100,1):(e=Pe.exec(t))?nn(e[1],e[2]/100,e[3]/100,e[4]):ze.hasOwnProperty(t)?Ve(ze[t]):"transparent"===t?new Ke(NaN,NaN,NaN,0):null}function Ve(t){return new Ke(t>>16&255,t>>8&255,255&t,1)}function Ye(t,e,n,r){return r<=0&&(t=e=n=NaN),new Ke(t,e,n,r)}function Ge(t){return t instanceof Le||(t=He(t)),t?new Ke((t=t.rgb()).r,t.g,t.b,t.opacity):new Ke}function Xe(t,e,n,r){return 1===arguments.length?Ge(t):new Ke(t,e,n,null==r?1:r)}function Ke(t,e,n,r){this.r=+t,this.g=+e,this.b=+n,this.opacity=+r}function Ze(){return`#${en(this.r)}${en(this.g)}${en(this.b)}`}function Je(){const t=Qe(this.opacity);return`${1===t?"rgb(":"rgba("}${tn(this.r)}, ${tn(this.g)}, ${tn(this.b)}${1===t?")":`, ${t})`}`}function Qe(t){return isNaN(t)?1:Math.max(0,Math.min(1,t))}function tn(t){return Math.max(0,Math.min(255,Math.round(t)||0))}function en(t){return((t=tn(t))<16?"0":"")+t.toString(16)}function nn(t,e,n,r){return r<=0?t=e=n=NaN:n<=0||n>=1?t=e=NaN:e<=0&&(t=NaN),new on(t,e,n,r)}function rn(t){if(t instanceof on)return new on(t.h,t.s,t.l,t.opacity);if(t instanceof Le||(t=He(t)),!t)return new on;if(t instanceof on)return t;var e=(t=t.rgb()).r/255,n=t.g/255,r=t.b/255,i=Math.min(e,n,r),o=Math.max(e,n,r),s=NaN,a=o-i,l=(o+i)/2;return a?(s=e===o?(n-r)/a+6*(n<r):n===o?(r-e)/a+2:(e-n)/a+4,a/=l<.5?o+i:2-o-i,s*=60):a=l>0&&l<1?0:s,new on(s,a,l,t.opacity)}function on(t,e,n,r){this.h=+t,this.s=+e,this.l=+n,this.opacity=+r}function sn(t){return(t=(t||0)%360)<0?t+360:t}function an(t){return Math.max(0,Math.min(1,t||0))}function ln(t,e,n){return 255*(t<60?e+(n-e)*t/60:t<180?n:t<240?e+(n-e)*(240-t)/60:e)}function cn(t,e,n,r,i){var o=t*t,s=o*t;return((1-3*t+3*o-s)*e+(4-6*o+3*s)*n+(1+3*t+3*o-3*s)*r+s*i)/6}Se(Le,He,{copy(t){return Object.assign(new this.constructor,this,t)},displayable(){return this.rgb().displayable()},hex:Ue,formatHex:Ue,formatHex8:function(){return this.rgb().formatHex8()},formatHsl:function(){return rn(this).formatHsl()},formatRgb:We,toString:We}),Se(Ke,Xe,Ie(Le,{brighter(t){return t=null==t?Be:Math.pow(Be,t),new Ke(this.r*t,this.g*t,this.b*t,this.opacity)},darker(t){return t=null==t?Ee:Math.pow(Ee,t),new Ke(this.r*t,this.g*t,this.b*t,this.opacity)},rgb(){return this},clamp(){return new Ke(tn(this.r),tn(this.g),tn(this.b),Qe(this.opacity))},displayable(){return-.5<=this.r&&this.r<255.5&&-.5<=this.g&&this.g<255.5&&-.5<=this.b&&this.b<255.5&&0<=this.opacity&&this.opacity<=1},hex:Ze,formatHex:Ze,formatHex8:function(){return`#${en(this.r)}${en(this.g)}${en(this.b)}${en(255*(isNaN(this.opacity)?1:this.opacity))}`},formatRgb:Je,toString:Je})),Se(on,(function(t,e,n,r){return 1===arguments.length?rn(t):new on(t,e,n,null==r?1:r)}),Ie(Le,{brighter(t){return t=null==t?Be:Math.pow(Be,t),new on(this.h,this.s,this.l*t,this.opacity)},darker(t){return t=null==t?Ee:Math.pow(Ee,t),new on(this.h,this.s,this.l*t,this.opacity)},rgb(){var t=this.h%360+360*(this.h<0),e=isNaN(t)||isNaN(this.s)?0:this.s,n=this.l,r=n+(n<.5?n:1-n)*e,i=2*n-r;return new Ke(ln(t>=240?t-240:t+120,i,r),ln(t,i,r),ln(t<120?t+240:t-120,i,r),this.opacity)},clamp(){return new on(sn(this.h),an(this.s),an(this.l),Qe(this.opacity))},displayable(){return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this.opacity<=1},formatHsl(){const t=Qe(this.opacity);return`${1===t?"hsl(":"hsla("}${sn(this.h)}, ${100*an(this.s)}%, ${100*an(this.l)}%${1===t?")":`, ${t})`}`}}));const hn=t=>()=>t;function un(t,e){return function(n){return t+n*e}}function dn(t){return 1==(t=+t)?pn:function(e,n){return n-e?function(t,e,n){return t=Math.pow(t,n),e=Math.pow(e,n)-t,n=1/n,function(r){return Math.pow(t+r*e,n)}}(e,n,t):hn(isNaN(e)?n:e)}}function pn(t,e){var n=e-t;return n?un(t,n):hn(isNaN(t)?e:t)}const fn=function t(e){var n=dn(e);function r(t,e){var r=n((t=Xe(t)).r,(e=Xe(e)).r),i=n(t.g,e.g),o=n(t.b,e.b),s=pn(t.opacity,e.opacity);return function(e){return t.r=r(e),t.g=i(e),t.b=o(e),t.opacity=s(e),t+""}}return r.gamma=t,r}(1);function mn(t){return function(e){var n,r,i=e.length,o=new Array(i),s=new Array(i),a=new Array(i);for(n=0;n<i;++n)r=Xe(e[n]),o[n]=r.r||0,s[n]=r.g||0,a[n]=r.b||0;return o=t(o),s=t(s),a=t(a),r.opacity=1,function(t){return r.r=o(t),r.g=s(t),r.b=a(t),r+""}}}mn((function(t){var e=t.length-1;return function(n){var r=n<=0?n=0:n>=1?(n=1,e-1):Math.floor(n*e),i=t[r],o=t[r+1],s=r>0?t[r-1]:2*i-o,a=r<e-1?t[r+2]:2*o-i;return cn((n-r/e)*e,s,i,o,a)}})),mn((function(t){var e=t.length;return function(n){var r=Math.floor(((n%=1)<0?++n:n)*e),i=t[(r+e-1)%e],o=t[r%e],s=t[(r+1)%e],a=t[(r+2)%e];return cn((n-r/e)*e,i,o,s,a)}}));var gn=/[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g,yn=new RegExp(gn.source,"g");function kn(t,e){var n,r,i,o=gn.lastIndex=yn.lastIndex=0,s=-1,a=[],l=[];for(t+="",e+="";(n=gn.exec(t))&&(r=yn.exec(e));)(i=r.index)>o&&(i=e.slice(o,i),a[s]?a[s]+=i:a[++s]=i),(n=n[0])===(r=r[0])?a[s]?a[s]+=r:a[++s]=r:(a[++s]=null,l.push({i:s,x:ge(n,r)})),o=yn.lastIndex;return o<e.length&&(i=e.slice(o),a[s]?a[s]+=i:a[++s]=i),a.length<2?l[0]?function(t){return function(e){return t(e)+""}}(l[0].x):function(t){return function(){return t}}(e):(e=l.length,function(t){for(var n,r=0;r<e;++r)a[(n=l[r]).i]=n.x(t);return a.join("")})}function xn(t,e){var n;return("number"==typeof e?ge:e instanceof He?fn:(n=He(e))?(e=n,fn):kn)(t,e)}function _n(t){return function(){this.removeAttribute(t)}}function bn(t){return function(){this.removeAttributeNS(t.space,t.local)}}function Cn(t,e,n){var r,i,o=n+"";return function(){var s=this.getAttribute(t);return s===o?null:s===r?i:i=e(r=s,n)}}function vn(t,e,n){var r,i,o=n+"";return function(){var s=this.getAttributeNS(t.space,t.local);return s===o?null:s===r?i:i=e(r=s,n)}}function Tn(t,e,n){var r,i,o;return function(){var s,a,l=n(this);if(null!=l)return(s=this.getAttribute(t))===(a=l+"")?null:s===r&&a===i?o:(i=a,o=e(r=s,l));this.removeAttribute(t)}}function An(t,e,n){var r,i,o;return function(){var s,a,l=n(this);if(null!=l)return(s=this.getAttributeNS(t.space,t.local))===(a=l+"")?null:s===r&&a===i?o:(i=a,o=e(r=s,l));this.removeAttributeNS(t.space,t.local)}}function wn(t,e){var n,r;function i(){var i=e.apply(this,arguments);return i!==r&&(n=(r=i)&&function(t,e){return function(n){this.setAttributeNS(t.space,t.local,e.call(this,n))}}(t,i)),n}return i._value=e,i}function Sn(t,e){var n,r;function i(){var i=e.apply(this,arguments);return i!==r&&(n=(r=i)&&function(t,e){return function(n){this.setAttribute(t,e.call(this,n))}}(t,i)),n}return i._value=e,i}function In(t,e){return function(){pe(this,t).delay=+e.apply(this,arguments)}}function Ln(t,e){return e=+e,function(){pe(this,t).delay=e}}function En(t,e){return function(){fe(this,t).duration=+e.apply(this,arguments)}}function Bn(t,e){return e=+e,function(){fe(this,t).duration=e}}var Fn=Bt.prototype.constructor;function Nn(t){return function(){this.style.removeProperty(t)}}var Mn=0;function jn(t,e,n,r){this._groups=t,this._parents=e,this._name=n,this._id=r}function On(){return++Mn}var Rn=Bt.prototype;jn.prototype=function(t){return Bt().transition(t)}.prototype={constructor:jn,select:function(t){var e=this._name,n=this._id;"function"!=typeof t&&(t=_(t));for(var r=this._groups,i=r.length,o=new Array(i),s=0;s<i;++s)for(var a,l,c=r[s],h=c.length,u=o[s]=new Array(h),d=0;d<h;++d)(a=c[d])&&(l=t.call(a,a.__data__,d,c))&&("__data__"in a&&(l.__data__=a.__data__),u[d]=l,de(u[d],e,n,d,u,me(a,n)));return new jn(o,this._parents,e,n)},selectAll:function(t){var e=this._name,n=this._id;"function"!=typeof t&&(t=v(t));for(var r=this._groups,i=r.length,o=[],s=[],a=0;a<i;++a)for(var l,c=r[a],h=c.length,u=0;u<h;++u)if(l=c[u]){for(var d,p=t.call(l,l.__data__,u,c),f=me(l,n),m=0,g=p.length;m<g;++m)(d=p[m])&&de(d,e,n,m,p,f);o.push(p),s.push(l)}return new jn(o,s,e,n)},selectChild:Rn.selectChild,selectChildren:Rn.selectChildren,filter:function(t){"function"!=typeof t&&(t=T(t));for(var e=this._groups,n=e.length,r=new Array(n),i=0;i<n;++i)for(var o,s=e[i],a=s.length,l=r[i]=[],c=0;c<a;++c)(o=s[c])&&t.call(o,o.__data__,c,s)&&l.push(o);return new jn(r,this._parents,this._name,this._id)},merge:function(t){if(t._id!==this._id)throw new Error;for(var e=this._groups,n=t._groups,r=e.length,i=n.length,o=Math.min(r,i),s=new Array(r),a=0;a<o;++a)for(var l,c=e[a],h=n[a],u=c.length,d=s[a]=new Array(u),p=0;p<u;++p)(l=c[p]||h[p])&&(d[p]=l);for(;a<r;++a)s[a]=e[a];return new jn(s,this._parents,this._name,this._id)},selection:function(){return new Fn(this._groups,this._parents)},transition:function(){for(var t=this._name,e=this._id,n=On(),r=this._groups,i=r.length,o=0;o<i;++o)for(var s,a=r[o],l=a.length,c=0;c<l;++c)if(s=a[c]){var h=me(s,e);de(s,t,n,c,a,{time:h.time+h.delay+h.duration,delay:0,duration:h.duration,ease:h.ease})}return new jn(r,this._parents,t,n)},call:Rn.call,nodes:Rn.nodes,node:Rn.node,size:Rn.size,empty:Rn.empty,each:Rn.each,on:function(t,e){var n=this._id;return arguments.length<2?me(this.node(),n).on.on(t):this.each(function(t,e,n){var r,i,o=function(t){return(t+"").trim().split(/^|\s+/).every((function(t){var e=t.indexOf(".");return e>=0&&(t=t.slice(0,e)),!t||"start"===t}))}(e)?pe:fe;return function(){var s=o(this,t),a=s.on;a!==r&&(i=(r=a).copy()).on(e,n),s.on=i}}(n,t,e))},attr:function(t,e){var n=q(t),r="transform"===n?ve:xn;return this.attrTween(t,"function"==typeof e?(n.local?An:Tn)(n,r,we(this,"attr."+t,e)):null==e?(n.local?bn:_n)(n):(n.local?vn:Cn)(n,r,e))},attrTween:function(t,e){var n="attr."+t;if(arguments.length<2)return(n=this.tween(n))&&n._value;if(null==e)return this.tween(n,null);if("function"!=typeof e)throw new Error;var r=q(t);return this.tween(n,(r.local?wn:Sn)(r,e))},style:function(t,e,n){var r="transform"==(t+="")?Ce:xn;return null==e?this.styleTween(t,function(t,e){var n,r,i;return function(){var o=K(this,t),s=(this.style.removeProperty(t),K(this,t));return o===s?null:o===n&&s===r?i:i=e(n=o,r=s)}}(t,r)).on("end.style."+t,Nn(t)):"function"==typeof e?this.styleTween(t,function(t,e,n){var r,i,o;return function(){var s=K(this,t),a=n(this),l=a+"";return null==a&&(this.style.removeProperty(t),l=a=K(this,t)),s===l?null:s===r&&l===i?o:(i=l,o=e(r=s,a))}}(t,r,we(this,"style."+t,e))).each(function(t,e){var n,r,i,o,s="style."+e,a="end."+s;return function(){var l=fe(this,t),c=l.on,h=null==l.value[s]?o||(o=Nn(e)):void 0;c===n&&i===h||(r=(n=c).copy()).on(a,i=h),l.on=r}}(this._id,t)):this.styleTween(t,function(t,e,n){var r,i,o=n+"";return function(){var s=K(this,t);return s===o?null:s===r?i:i=e(r=s,n)}}(t,r,e),n).on("end.style."+t,null)},styleTween:function(t,e,n){var r="style."+(t+="");if(arguments.length<2)return(r=this.tween(r))&&r._value;if(null==e)return this.tween(r,null);if("function"!=typeof e)throw new Error;return this.tween(r,function(t,e,n){var r,i;function o(){var o=e.apply(this,arguments);return o!==i&&(r=(i=o)&&function(t,e,n){return function(r){this.style.setProperty(t,e.call(this,r),n)}}(t,o,n)),r}return o._value=e,o}(t,e,null==n?"":n))},text:function(t){return this.tween("text","function"==typeof t?function(t){return function(){var e=t(this);this.textContent=null==e?"":e}}(we(this,"text",t)):function(t){return function(){this.textContent=t}}(null==t?"":t+""))},textTween:function(t){var e="text";if(arguments.length<1)return(e=this.tween(e))&&e._value;if(null==t)return this.tween(e,null);if("function"!=typeof t)throw new Error;return this.tween(e,function(t){var e,n;function r(){var r=t.apply(this,arguments);return r!==n&&(e=(n=r)&&function(t){return function(e){this.textContent=t.call(this,e)}}(r)),e}return r._value=t,r}(t))},remove:function(){return this.on("end.remove",function(t){return function(){var e=this.parentNode;for(var n in this.__transition)if(+n!==t)return;e&&e.removeChild(this)}}(this._id))},tween:function(t,e){var n=this._id;if(t+="",arguments.length<2){for(var r,i=me(this.node(),n).tween,o=0,s=i.length;o<s;++o)if((r=i[o]).name===t)return r.value;return null}return this.each((null==e?Te:Ae)(n,t,e))},delay:function(t){var e=this._id;return arguments.length?this.each(("function"==typeof t?In:Ln)(e,t)):me(this.node(),e).delay},duration:function(t){var e=this._id;return arguments.length?this.each(("function"==typeof t?En:Bn)(e,t)):me(this.node(),e).duration},ease:function(t){var e=this._id;return arguments.length?this.each(function(t,e){if("function"!=typeof e)throw new Error;return function(){fe(this,t).ease=e}}(e,t)):me(this.node(),e).ease},easeVarying:function(t){if("function"!=typeof t)throw new Error;return this.each(function(t,e){return function(){var n=e.apply(this,arguments);if("function"!=typeof n)throw new Error;fe(this,t).ease=n}}(this._id,t))},end:function(){var t,e,n=this,r=n._id,i=n.size();return new Promise((function(o,s){var a={value:s},l={value:function(){0==--i&&o()}};n.each((function(){var n=fe(this,r),i=n.on;i!==t&&((e=(t=i).copy())._.cancel.push(a),e._.interrupt.push(a),e._.end.push(l)),n.on=e})),0===i&&o()}))},[Symbol.iterator]:Rn[Symbol.iterator]};var Dn={time:null,delay:0,duration:250,ease:function(t){return((t*=2)<=1?t*t*t:(t-=2)*t*t+2)/2}};function qn(t,e){for(var n;!(n=t.__transition)||!(n=n[e]);)if(!(t=t.parentNode))throw new Error(`transition ${e} not found`);return n}Bt.prototype.interrupt=function(t){return this.each((function(){!function(t,e){var n,r,i,o=t.__transition,s=!0;if(o){for(i in e=null==e?null:e+"",o)(n=o[i]).name===e?(r=n.state>ae&&n.state<he,n.state=ue,n.timer.stop(),n.on.call(r?"interrupt":"cancel",t,t.__data__,n.index,n.group),delete o[i]):s=!1;s&&delete t.__transition}}(this,t)}))},Bt.prototype.transition=function(t){var e,n;t instanceof jn?(e=t._id,t=t._name):(e=On(),(n=Dn).time=Xt(),t=null==t?null:t+"");for(var r=this._groups,i=r.length,o=0;o<i;++o)for(var s,a=r[o],l=a.length,c=0;c<l;++c)(s=a[c])&&de(s,t,e,c,a,n||qn(s,e));return new jn(r,this._parents,t,e)};const{abs:$n,max:Pn,min:zn}=Math;function Un(t){return[+t[0],+t[1]]}function Wn(t){return[Un(t[0]),Un(t[1])]}["w","e"].map(Hn),["n","s"].map(Hn),["n","w","e","s","nw","ne","sw","se"].map(Hn);function Hn(t){return{type:t}}function Vn(t){if(!t.ok)throw new Error(t.status+" "+t.statusText);return t.text()}function Yn(t){return(e,n)=>function(t,e){return fetch(t,e).then(Vn)}(e,n).then((e=>(new DOMParser).parseFromString(e,t)))}Yn("application/xml");Yn("text/html");var Gn=Yn("image/svg+xml");const Xn=Math.PI/180,Kn=180/Math.PI,Zn=.96422,Jn=1,Qn=.82521,tr=4/29,er=6/29,nr=3*er*er,rr=er*er*er;function ir(t){if(t instanceof or)return new or(t.l,t.a,t.b,t.opacity);if(t instanceof dr)return pr(t);t instanceof Ke||(t=Ge(t));var e,n,r=cr(t.r),i=cr(t.g),o=cr(t.b),s=sr((.2225045*r+.7168786*i+.0606169*o)/Jn);return r===i&&i===o?e=n=s:(e=sr((.4360747*r+.3850649*i+.1430804*o)/Zn),n=sr((.0139322*r+.0971045*i+.7141733*o)/Qn)),new or(116*s-16,500*(e-s),200*(s-n),t.opacity)}function or(t,e,n,r){this.l=+t,this.a=+e,this.b=+n,this.opacity=+r}function sr(t){return t>rr?Math.pow(t,1/3):t/nr+tr}function ar(t){return t>er?t*t*t:nr*(t-tr)}function lr(t){return 255*(t<=.0031308?12.92*t:1.055*Math.pow(t,1/2.4)-.055)}function cr(t){return(t/=255)<=.04045?t/12.92:Math.pow((t+.055)/1.055,2.4)}function hr(t){if(t instanceof dr)return new dr(t.h,t.c,t.l,t.opacity);if(t instanceof or||(t=ir(t)),0===t.a&&0===t.b)return new dr(NaN,0<t.l&&t.l<100?0:NaN,t.l,t.opacity);var e=Math.atan2(t.b,t.a)*Kn;return new dr(e<0?e+360:e,Math.sqrt(t.a*t.a+t.b*t.b),t.l,t.opacity)}function ur(t,e,n,r){return 1===arguments.length?hr(t):new dr(t,e,n,null==r?1:r)}function dr(t,e,n,r){this.h=+t,this.c=+e,this.l=+n,this.opacity=+r}function pr(t){if(isNaN(t.h))return new or(t.l,0,0,t.opacity);var e=t.h*Xn;return new or(t.l,Math.cos(e)*t.c,Math.sin(e)*t.c,t.opacity)}function fr(t){return function(e,n){var r=t((e=ur(e)).h,(n=ur(n)).h),i=pn(e.c,n.c),o=pn(e.l,n.l),s=pn(e.opacity,n.opacity);return function(t){return e.h=r(t),e.c=i(t),e.l=o(t),e.opacity=s(t),e+""}}}Se(or,(function(t,e,n,r){return 1===arguments.length?ir(t):new or(t,e,n,null==r?1:r)}),Ie(Le,{brighter(t){return new or(this.l+18*(null==t?1:t),this.a,this.b,this.opacity)},darker(t){return new or(this.l-18*(null==t?1:t),this.a,this.b,this.opacity)},rgb(){var t=(this.l+16)/116,e=isNaN(this.a)?t:t+this.a/500,n=isNaN(this.b)?t:t-this.b/200;return new Ke(lr(3.1338561*(e=Zn*ar(e))-1.6168667*(t=Jn*ar(t))-.4906146*(n=Qn*ar(n))),lr(-.9787684*e+1.9161415*t+.033454*n),lr(.0719453*e-.2289914*t+1.4052427*n),this.opacity)}})),Se(dr,ur,Ie(Le,{brighter(t){return new dr(this.h,this.c,this.l+18*(null==t?1:t),this.opacity)},darker(t){return new dr(this.h,this.c,this.l-18*(null==t?1:t),this.opacity)},rgb(){return pr(this).rgb()}}));const mr=fr((function(t,e){var n=e-t;return n?un(t,n>180||n<-180?n-360*Math.round(n/360):n):hn(isNaN(t)?e:t)}));fr(pn);function gr(t,e){switch(arguments.length){case 0:break;case 1:this.range(t);break;default:this.range(e).domain(t)}return this}class yr extends Map{constructor(t,e=br){if(super(),Object.defineProperties(this,{_intern:{value:new Map},_key:{value:e}}),null!=t)for(const[n,r]of t)this.set(n,r)}get(t){return super.get(kr(this,t))}has(t){return super.has(kr(this,t))}set(t,e){return super.set(xr(this,t),e)}delete(t){return super.delete(_r(this,t))}}Set;function kr({_intern:t,_key:e},n){const r=e(n);return t.has(r)?t.get(r):n}function xr({_intern:t,_key:e},n){const r=e(n);return t.has(r)?t.get(r):(t.set(r,n),n)}function _r({_intern:t,_key:e},n){const r=e(n);return t.has(r)&&(n=t.get(r),t.delete(r)),n}function br(t){return null!==t&&"object"==typeof t?t.valueOf():t}const Cr=Symbol("implicit");function vr(){var t=new yr,e=[],n=[],r=Cr;function i(i){let o=t.get(i);if(void 0===o){if(r!==Cr)return r;t.set(i,o=e.push(i)-1)}return n[o%n.length]}return i.domain=function(n){if(!arguments.length)return e.slice();e=[],t=new yr;for(const r of n)t.has(r)||t.set(r,e.push(r)-1);return i},i.range=function(t){return arguments.length?(n=Array.from(t),i):n.slice()},i.unknown=function(t){return arguments.length?(r=t,i):r},i.copy=function(){return vr(e,n).unknown(r)},gr.apply(i,arguments),i}function Tr(){var t,e,n=vr().unknown(void 0),r=n.domain,i=n.range,o=0,s=1,a=!1,l=0,c=0,h=.5;function u(){var n=r().length,u=s<o,d=u?s:o,p=u?o:s;t=(p-d)/Math.max(1,n-l+2*c),a&&(t=Math.floor(t)),d+=(p-d-t*(n-l))*h,e=t*(1-l),a&&(d=Math.round(d),e=Math.round(e));var f=function(t,e,n){t=+t,e=+e,n=(i=arguments.length)<2?(e=t,t=0,1):i<3?1:+n;for(var r=-1,i=0|Math.max(0,Math.ceil((e-t)/n)),o=new Array(i);++r<i;)o[r]=t+r*n;return o}(n).map((function(e){return d+t*e}));return i(u?f.reverse():f)}return delete n.unknown,n.domain=function(t){return arguments.length?(r(t),u()):r()},n.range=function(t){return arguments.length?([o,s]=t,o=+o,s=+s,u()):[o,s]},n.rangeRound=function(t){return[o,s]=t,o=+o,s=+s,a=!0,u()},n.bandwidth=function(){return e},n.step=function(){return t},n.round=function(t){return arguments.length?(a=!!t,u()):a},n.padding=function(t){return arguments.length?(l=Math.min(1,c=+t),u()):l},n.paddingInner=function(t){return arguments.length?(l=Math.min(1,t),u()):l},n.paddingOuter=function(t){return arguments.length?(c=+t,u()):c},n.align=function(t){return arguments.length?(h=Math.max(0,Math.min(1,t)),u()):h},n.copy=function(){return Tr(r(),[o,s]).round(a).paddingInner(l).paddingOuter(c).align(h)},gr.apply(u(),arguments)}const Ar=Math.sqrt(50),wr=Math.sqrt(10),Sr=Math.sqrt(2);function Ir(t,e,n){const r=(e-t)/Math.max(0,n),i=Math.floor(Math.log10(r)),o=r/Math.pow(10,i),s=o>=Ar?10:o>=wr?5:o>=Sr?2:1;let a,l,c;return i<0?(c=Math.pow(10,-i)/s,a=Math.round(t*c),l=Math.round(e*c),a/c<t&&++a,l/c>e&&--l,c=-c):(c=Math.pow(10,i)*s,a=Math.round(t/c),l=Math.round(e/c),a*c<t&&++a,l*c>e&&--l),l<a&&.5<=n&&n<2?Ir(t,e,2*n):[a,l,c]}function Lr(t,e,n){return Ir(t=+t,e=+e,n=+n)[2]}function Er(t,e,n){n=+n;const r=(e=+e)<(t=+t),i=r?Lr(e,t,n):Lr(t,e,n);return(r?-1:1)*(i<0?1/-i:i)}function Br(t,e){return null==t||null==e?NaN:t<e?-1:t>e?1:t>=e?0:NaN}function Fr(t,e){return null==t||null==e?NaN:e<t?-1:e>t?1:e>=t?0:NaN}function Nr(t){let e,n,r;function i(t,r,i=0,o=t.length){if(i<o){if(0!==e(r,r))return o;do{const e=i+o>>>1;n(t[e],r)<0?i=e+1:o=e}while(i<o)}return i}return 2!==t.length?(e=Br,n=(e,n)=>Br(t(e),n),r=(e,n)=>t(e)-n):(e=t===Br||t===Fr?t:Mr,n=t,r=t),{left:i,center:function(t,e,n=0,o=t.length){const s=i(t,e,n,o-1);return s>n&&r(t[s-1],e)>-r(t[s],e)?s-1:s},right:function(t,r,i=0,o=t.length){if(i<o){if(0!==e(r,r))return o;do{const e=i+o>>>1;n(t[e],r)<=0?i=e+1:o=e}while(i<o)}return i}}}function Mr(){return 0}const jr=Nr(Br),Or=jr.right,Rr=(jr.left,Nr((function(t){return null===t?NaN:+t})).center,Or);function Dr(t,e){var n,r=e?e.length:0,i=t?Math.min(r,t.length):0,o=new Array(i),s=new Array(r);for(n=0;n<i;++n)o[n]=zr(t[n],e[n]);for(;n<r;++n)s[n]=e[n];return function(t){for(n=0;n<i;++n)s[n]=o[n](t);return s}}function qr(t,e){var n=new Date;return t=+t,e=+e,function(r){return n.setTime(t*(1-r)+e*r),n}}function $r(t,e){var n,r={},i={};for(n in null!==t&&"object"==typeof t||(t={}),null!==e&&"object"==typeof e||(e={}),e)n in t?r[n]=zr(t[n],e[n]):i[n]=e[n];return function(t){for(n in r)i[n]=r[n](t);return i}}function Pr(t,e){e||(e=[]);var n,r=t?Math.min(e.length,t.length):0,i=e.slice();return function(o){for(n=0;n<r;++n)i[n]=t[n]*(1-o)+e[n]*o;return i}}function zr(t,e){var n,r,i=typeof e;return null==e||"boolean"===i?hn(e):("number"===i?ge:"string"===i?(n=He(e))?(e=n,fn):kn:e instanceof He?fn:e instanceof Date?qr:(r=e,!ArrayBuffer.isView(r)||r instanceof DataView?Array.isArray(e)?Dr:"function"!=typeof e.valueOf&&"function"!=typeof e.toString||isNaN(e)?$r:ge:Pr))(t,e)}function Ur(t,e){return t=+t,e=+e,function(n){return Math.round(t*(1-n)+e*n)}}function Wr(t){return+t}var Hr=[0,1];function Vr(t){return t}function Yr(t,e){return(e-=t=+t)?function(n){return(n-t)/e}:(n=isNaN(e)?NaN:.5,function(){return n});var n}function Gr(t,e,n){var r=t[0],i=t[1],o=e[0],s=e[1];return i<r?(r=Yr(i,r),o=n(s,o)):(r=Yr(r,i),o=n(o,s)),function(t){return o(r(t))}}function Xr(t,e,n){var r=Math.min(t.length,e.length)-1,i=new Array(r),o=new Array(r),s=-1;for(t[r]<t[0]&&(t=t.slice().reverse(),e=e.slice().reverse());++s<r;)i[s]=Yr(t[s],t[s+1]),o[s]=n(e[s],e[s+1]);return function(e){var n=Rr(t,e,1,r)-1;return o[n](i[n](e))}}function Kr(t,e){return e.domain(t.domain()).range(t.range()).interpolate(t.interpolate()).clamp(t.clamp()).unknown(t.unknown())}function Zr(){var t,e,n,r,i,o,s=Hr,a=Hr,l=zr,c=Vr;function h(){var t,e,n,l=Math.min(s.length,a.length);return c!==Vr&&(t=s[0],e=s[l-1],t>e&&(n=t,t=e,e=n),c=function(n){return Math.max(t,Math.min(e,n))}),r=l>2?Xr:Gr,i=o=null,u}function u(e){return null==e||isNaN(e=+e)?n:(i||(i=r(s.map(t),a,l)))(t(c(e)))}return u.invert=function(n){return c(e((o||(o=r(a,s.map(t),ge)))(n)))},u.domain=function(t){return arguments.length?(s=Array.from(t,Wr),h()):s.slice()},u.range=function(t){return arguments.length?(a=Array.from(t),h()):a.slice()},u.rangeRound=function(t){return a=Array.from(t),l=Ur,h()},u.clamp=function(t){return arguments.length?(c=!!t||Vr,h()):c!==Vr},u.interpolate=function(t){return arguments.length?(l=t,h()):l},u.unknown=function(t){return arguments.length?(n=t,u):n},function(n,r){return t=n,e=r,h()}}function Jr(){return Zr()(Vr,Vr)}var Qr,ti=/^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;function ei(t){if(!(e=ti.exec(t)))throw new Error("invalid format: "+t);var e;return new ni({fill:e[1],align:e[2],sign:e[3],symbol:e[4],zero:e[5],width:e[6],comma:e[7],precision:e[8]&&e[8].slice(1),trim:e[9],type:e[10]})}function ni(t){this.fill=void 0===t.fill?" ":t.fill+"",this.align=void 0===t.align?">":t.align+"",this.sign=void 0===t.sign?"-":t.sign+"",this.symbol=void 0===t.symbol?"":t.symbol+"",this.zero=!!t.zero,this.width=void 0===t.width?void 0:+t.width,this.comma=!!t.comma,this.precision=void 0===t.precision?void 0:+t.precision,this.trim=!!t.trim,this.type=void 0===t.type?"":t.type+""}function ri(t,e){if((n=(t=e?t.toExponential(e-1):t.toExponential()).indexOf("e"))<0)return null;var n,r=t.slice(0,n);return[r.length>1?r[0]+r.slice(2):r,+t.slice(n+1)]}function ii(t){return(t=ri(Math.abs(t)))?t[1]:NaN}function oi(t,e){var n=ri(t,e);if(!n)return t+"";var r=n[0],i=n[1];return i<0?"0."+new Array(-i).join("0")+r:r.length>i+1?r.slice(0,i+1)+"."+r.slice(i+1):r+new Array(i-r.length+2).join("0")}ei.prototype=ni.prototype,ni.prototype.toString=function(){return this.fill+this.align+this.sign+this.symbol+(this.zero?"0":"")+(void 0===this.width?"":Math.max(1,0|this.width))+(this.comma?",":"")+(void 0===this.precision?"":"."+Math.max(0,0|this.precision))+(this.trim?"~":"")+this.type};const si={"%":(t,e)=>(100*t).toFixed(e),b:t=>Math.round(t).toString(2),c:t=>t+"",d:function(t){return Math.abs(t=Math.round(t))>=1e21?t.toLocaleString("en").replace(/,/g,""):t.toString(10)},e:(t,e)=>t.toExponential(e),f:(t,e)=>t.toFixed(e),g:(t,e)=>t.toPrecision(e),o:t=>Math.round(t).toString(8),p:(t,e)=>oi(100*t,e),r:oi,s:function(t,e){var n=ri(t,e);if(!n)return t+"";var r=n[0],i=n[1],o=i-(Qr=3*Math.max(-8,Math.min(8,Math.floor(i/3))))+1,s=r.length;return o===s?r:o>s?r+new Array(o-s+1).join("0"):o>0?r.slice(0,o)+"."+r.slice(o):"0."+new Array(1-o).join("0")+ri(t,Math.max(0,e+o-1))[0]},X:t=>Math.round(t).toString(16).toUpperCase(),x:t=>Math.round(t).toString(16)};function ai(t){return t}var li,ci,hi,ui=Array.prototype.map,di=["y","z","a","f","p","n","\xb5","m","","k","M","G","T","P","E","Z","Y"];function pi(t){var e,n,r=void 0===t.grouping||void 0===t.thousands?ai:(e=ui.call(t.grouping,Number),n=t.thousands+"",function(t,r){for(var i=t.length,o=[],s=0,a=e[0],l=0;i>0&&a>0&&(l+a+1>r&&(a=Math.max(1,r-l)),o.push(t.substring(i-=a,i+a)),!((l+=a+1)>r));)a=e[s=(s+1)%e.length];return o.reverse().join(n)}),i=void 0===t.currency?"":t.currency[0]+"",o=void 0===t.currency?"":t.currency[1]+"",s=void 0===t.decimal?".":t.decimal+"",a=void 0===t.numerals?ai:function(t){return function(e){return e.replace(/[0-9]/g,(function(e){return t[+e]}))}}(ui.call(t.numerals,String)),l=void 0===t.percent?"%":t.percent+"",c=void 0===t.minus?"\u2212":t.minus+"",h=void 0===t.nan?"NaN":t.nan+"";function u(t){var e=(t=ei(t)).fill,n=t.align,u=t.sign,d=t.symbol,p=t.zero,f=t.width,m=t.comma,g=t.precision,y=t.trim,k=t.type;"n"===k?(m=!0,k="g"):si[k]||(void 0===g&&(g=12),y=!0,k="g"),(p||"0"===e&&"="===n)&&(p=!0,e="0",n="=");var x="$"===d?i:"#"===d&&/[boxX]/.test(k)?"0"+k.toLowerCase():"",_="$"===d?o:/[%p]/.test(k)?l:"",b=si[k],C=/[defgprs%]/.test(k);function v(t){var i,o,l,d=x,v=_;if("c"===k)v=b(t)+v,t="";else{var T=(t=+t)<0||1/t<0;if(t=isNaN(t)?h:b(Math.abs(t),g),y&&(t=function(t){t:for(var e,n=t.length,r=1,i=-1;r<n;++r)switch(t[r]){case".":i=e=r;break;case"0":0===i&&(i=r),e=r;break;default:if(!+t[r])break t;i>0&&(i=0)}return i>0?t.slice(0,i)+t.slice(e+1):t}(t)),T&&0==+t&&"+"!==u&&(T=!1),d=(T?"("===u?u:c:"-"===u||"("===u?"":u)+d,v=("s"===k?di[8+Qr/3]:"")+v+(T&&"("===u?")":""),C)for(i=-1,o=t.length;++i<o;)if(48>(l=t.charCodeAt(i))||l>57){v=(46===l?s+t.slice(i+1):t.slice(i))+v,t=t.slice(0,i);break}}m&&!p&&(t=r(t,1/0));var A=d.length+t.length+v.length,w=A<f?new Array(f-A+1).join(e):"";switch(m&&p&&(t=r(w+t,w.length?f-v.length:1/0),w=""),n){case"<":t=d+t+v+w;break;case"=":t=d+w+t+v;break;case"^":t=w.slice(0,A=w.length>>1)+d+t+v+w.slice(A);break;default:t=w+d+t+v}return a(t)}return g=void 0===g?6:/[gprs]/.test(k)?Math.max(1,Math.min(21,g)):Math.max(0,Math.min(20,g)),v.toString=function(){return t+""},v}return{format:u,formatPrefix:function(t,e){var n=u(((t=ei(t)).type="f",t)),r=3*Math.max(-8,Math.min(8,Math.floor(ii(e)/3))),i=Math.pow(10,-r),o=di[8+r/3];return function(t){return n(i*t)+o}}}}function fi(t,e,n,r){var i,o=Er(t,e,n);switch((r=ei(null==r?",f":r)).type){case"s":var s=Math.max(Math.abs(t),Math.abs(e));return null!=r.precision||isNaN(i=function(t,e){return Math.max(0,3*Math.max(-8,Math.min(8,Math.floor(ii(e)/3)))-ii(Math.abs(t)))}(o,s))||(r.precision=i),hi(r,s);case"":case"e":case"g":case"p":case"r":null!=r.precision||isNaN(i=function(t,e){return t=Math.abs(t),e=Math.abs(e)-t,Math.max(0,ii(e)-ii(t))+1}(o,Math.max(Math.abs(t),Math.abs(e))))||(r.precision=i-("e"===r.type));break;case"f":case"%":null!=r.precision||isNaN(i=function(t){return Math.max(0,-ii(Math.abs(t)))}(o))||(r.precision=i-2*("%"===r.type))}return ci(r)}function mi(t){var e=t.domain;return t.ticks=function(t){var n=e();return function(t,e,n){if(!((n=+n)>0))return[];if((t=+t)==(e=+e))return[t];const r=e<t,[i,o,s]=r?Ir(e,t,n):Ir(t,e,n);if(!(o>=i))return[];const a=o-i+1,l=new Array(a);if(r)if(s<0)for(let c=0;c<a;++c)l[c]=(o-c)/-s;else for(let c=0;c<a;++c)l[c]=(o-c)*s;else if(s<0)for(let c=0;c<a;++c)l[c]=(i+c)/-s;else for(let c=0;c<a;++c)l[c]=(i+c)*s;return l}(n[0],n[n.length-1],null==t?10:t)},t.tickFormat=function(t,n){var r=e();return fi(r[0],r[r.length-1],null==t?10:t,n)},t.nice=function(n){null==n&&(n=10);var r,i,o=e(),s=0,a=o.length-1,l=o[s],c=o[a],h=10;for(c<l&&(i=l,l=c,c=i,i=s,s=a,a=i);h-- >0;){if((i=Lr(l,c,n))===r)return o[s]=l,o[a]=c,e(o);if(i>0)l=Math.floor(l/i)*i,c=Math.ceil(c/i)*i;else{if(!(i<0))break;l=Math.ceil(l*i)/i,c=Math.floor(c*i)/i}r=i}return t},t}function gi(){var t=Jr();return t.copy=function(){return Kr(t,gi())},gr.apply(t,arguments),mi(t)}li=pi({thousands:",",grouping:[3],currency:["$",""]}),ci=li.format,hi=li.formatPrefix;const yi=1e3,ki=6e4,xi=36e5,_i=864e5,bi=6048e5,Ci=2592e6,vi=31536e6,Ti=new Date,Ai=new Date;function wi(t,e,n,r){function i(e){return t(e=0===arguments.length?new Date:new Date(+e)),e}return i.floor=e=>(t(e=new Date(+e)),e),i.ceil=n=>(t(n=new Date(n-1)),e(n,1),t(n),n),i.round=t=>{const e=i(t),n=i.ceil(t);return t-e<n-t?e:n},i.offset=(t,n)=>(e(t=new Date(+t),null==n?1:Math.floor(n)),t),i.range=(n,r,o)=>{const s=[];if(n=i.ceil(n),o=null==o?1:Math.floor(o),!(n<r&&o>0))return s;let a;do{s.push(a=new Date(+n)),e(n,o),t(n)}while(a<n&&n<r);return s},i.filter=n=>wi((e=>{if(e>=e)for(;t(e),!n(e);)e.setTime(e-1)}),((t,r)=>{if(t>=t)if(r<0)for(;++r<=0;)for(;e(t,-1),!n(t););else for(;--r>=0;)for(;e(t,1),!n(t););})),n&&(i.count=(e,r)=>(Ti.setTime(+e),Ai.setTime(+r),t(Ti),t(Ai),Math.floor(n(Ti,Ai))),i.every=t=>(t=Math.floor(t),isFinite(t)&&t>0?t>1?i.filter(r?e=>r(e)%t==0:e=>i.count(0,e)%t==0):i:null)),i}const Si=wi((()=>{}),((t,e)=>{t.setTime(+t+e)}),((t,e)=>e-t));Si.every=t=>(t=Math.floor(t),isFinite(t)&&t>0?t>1?wi((e=>{e.setTime(Math.floor(e/t)*t)}),((e,n)=>{e.setTime(+e+n*t)}),((e,n)=>(n-e)/t)):Si:null);Si.range;const Ii=wi((t=>{t.setTime(t-t.getMilliseconds())}),((t,e)=>{t.setTime(+t+e*yi)}),((t,e)=>(e-t)/yi),(t=>t.getUTCSeconds())),Li=(Ii.range,wi((t=>{t.setTime(t-t.getMilliseconds()-t.getSeconds()*yi)}),((t,e)=>{t.setTime(+t+e*ki)}),((t,e)=>(e-t)/ki),(t=>t.getMinutes()))),Ei=(Li.range,wi((t=>{t.setUTCSeconds(0,0)}),((t,e)=>{t.setTime(+t+e*ki)}),((t,e)=>(e-t)/ki),(t=>t.getUTCMinutes()))),Bi=(Ei.range,wi((t=>{t.setTime(t-t.getMilliseconds()-t.getSeconds()*yi-t.getMinutes()*ki)}),((t,e)=>{t.setTime(+t+e*xi)}),((t,e)=>(e-t)/xi),(t=>t.getHours()))),Fi=(Bi.range,wi((t=>{t.setUTCMinutes(0,0,0)}),((t,e)=>{t.setTime(+t+e*xi)}),((t,e)=>(e-t)/xi),(t=>t.getUTCHours()))),Ni=(Fi.range,wi((t=>t.setHours(0,0,0,0)),((t,e)=>t.setDate(t.getDate()+e)),((t,e)=>(e-t-(e.getTimezoneOffset()-t.getTimezoneOffset())*ki)/_i),(t=>t.getDate()-1))),Mi=(Ni.range,wi((t=>{t.setUTCHours(0,0,0,0)}),((t,e)=>{t.setUTCDate(t.getUTCDate()+e)}),((t,e)=>(e-t)/_i),(t=>t.getUTCDate()-1))),ji=(Mi.range,wi((t=>{t.setUTCHours(0,0,0,0)}),((t,e)=>{t.setUTCDate(t.getUTCDate()+e)}),((t,e)=>(e-t)/_i),(t=>Math.floor(t/_i))));ji.range;function Oi(t){return wi((e=>{e.setDate(e.getDate()-(e.getDay()+7-t)%7),e.setHours(0,0,0,0)}),((t,e)=>{t.setDate(t.getDate()+7*e)}),((t,e)=>(e-t-(e.getTimezoneOffset()-t.getTimezoneOffset())*ki)/bi))}const Ri=Oi(0),Di=Oi(1),qi=Oi(2),$i=Oi(3),Pi=Oi(4),zi=Oi(5),Ui=Oi(6);Ri.range,Di.range,qi.range,$i.range,Pi.range,zi.range,Ui.range;function Wi(t){return wi((e=>{e.setUTCDate(e.getUTCDate()-(e.getUTCDay()+7-t)%7),e.setUTCHours(0,0,0,0)}),((t,e)=>{t.setUTCDate(t.getUTCDate()+7*e)}),((t,e)=>(e-t)/bi))}const Hi=Wi(0),Vi=Wi(1),Yi=Wi(2),Gi=Wi(3),Xi=Wi(4),Ki=Wi(5),Zi=Wi(6),Ji=(Hi.range,Vi.range,Yi.range,Gi.range,Xi.range,Ki.range,Zi.range,wi((t=>{t.setDate(1),t.setHours(0,0,0,0)}),((t,e)=>{t.setMonth(t.getMonth()+e)}),((t,e)=>e.getMonth()-t.getMonth()+12*(e.getFullYear()-t.getFullYear())),(t=>t.getMonth()))),Qi=(Ji.range,wi((t=>{t.setUTCDate(1),t.setUTCHours(0,0,0,0)}),((t,e)=>{t.setUTCMonth(t.getUTCMonth()+e)}),((t,e)=>e.getUTCMonth()-t.getUTCMonth()+12*(e.getUTCFullYear()-t.getUTCFullYear())),(t=>t.getUTCMonth()))),to=(Qi.range,wi((t=>{t.setMonth(0,1),t.setHours(0,0,0,0)}),((t,e)=>{t.setFullYear(t.getFullYear()+e)}),((t,e)=>e.getFullYear()-t.getFullYear()),(t=>t.getFullYear())));to.every=t=>isFinite(t=Math.floor(t))&&t>0?wi((e=>{e.setFullYear(Math.floor(e.getFullYear()/t)*t),e.setMonth(0,1),e.setHours(0,0,0,0)}),((e,n)=>{e.setFullYear(e.getFullYear()+n*t)})):null;to.range;const eo=wi((t=>{t.setUTCMonth(0,1),t.setUTCHours(0,0,0,0)}),((t,e)=>{t.setUTCFullYear(t.getUTCFullYear()+e)}),((t,e)=>e.getUTCFullYear()-t.getUTCFullYear()),(t=>t.getUTCFullYear()));eo.every=t=>isFinite(t=Math.floor(t))&&t>0?wi((e=>{e.setUTCFullYear(Math.floor(e.getUTCFullYear()/t)*t),e.setUTCMonth(0,1),e.setUTCHours(0,0,0,0)}),((e,n)=>{e.setUTCFullYear(e.getUTCFullYear()+n*t)})):null;eo.range;function no(t,e,n,r,i,o){const s=[[Ii,1,yi],[Ii,5,5e3],[Ii,15,15e3],[Ii,30,3e4],[o,1,ki],[o,5,3e5],[o,15,9e5],[o,30,18e5],[i,1,xi],[i,3,108e5],[i,6,216e5],[i,12,432e5],[r,1,_i],[r,2,1728e5],[n,1,bi],[e,1,Ci],[e,3,7776e6],[t,1,vi]];function a(e,n,r){const i=Math.abs(n-e)/r,o=Nr((([,,t])=>t)).right(s,i);if(o===s.length)return t.every(Er(e/vi,n/vi,r));if(0===o)return Si.every(Math.max(Er(e,n,r),1));const[a,l]=s[i/s[o-1][2]<s[o][2]/i?o-1:o];return a.every(l)}return[function(t,e,n){const r=e<t;r&&([t,e]=[e,t]);const i=n&&"function"==typeof n.range?n:a(t,e,n),o=i?i.range(t,+e+1):[];return r?o.reverse():o},a]}const[ro,io]=no(eo,Qi,Hi,ji,Fi,Ei),[oo,so]=no(to,Ji,Ri,Ni,Bi,Li);function ao(t){if(0<=t.y&&t.y<100){var e=new Date(-1,t.m,t.d,t.H,t.M,t.S,t.L);return e.setFullYear(t.y),e}return new Date(t.y,t.m,t.d,t.H,t.M,t.S,t.L)}function lo(t){if(0<=t.y&&t.y<100){var e=new Date(Date.UTC(-1,t.m,t.d,t.H,t.M,t.S,t.L));return e.setUTCFullYear(t.y),e}return new Date(Date.UTC(t.y,t.m,t.d,t.H,t.M,t.S,t.L))}function co(t,e,n){return{y:t,m:e,d:n,H:0,M:0,S:0,L:0}}var ho,uo,po={"-":"",_:" ",0:"0"},fo=/^\s*\d+/,mo=/^%/,go=/[\\^$*+?|[\]().{}]/g;function yo(t,e,n){var r=t<0?"-":"",i=(r?-t:t)+"",o=i.length;return r+(o<n?new Array(n-o+1).join(e)+i:i)}function ko(t){return t.replace(go,"\\$&")}function xo(t){return new RegExp("^(?:"+t.map(ko).join("|")+")","i")}function _o(t){return new Map(t.map(((t,e)=>[t.toLowerCase(),e])))}function bo(t,e,n){var r=fo.exec(e.slice(n,n+1));return r?(t.w=+r[0],n+r[0].length):-1}function Co(t,e,n){var r=fo.exec(e.slice(n,n+1));return r?(t.u=+r[0],n+r[0].length):-1}function vo(t,e,n){var r=fo.exec(e.slice(n,n+2));return r?(t.U=+r[0],n+r[0].length):-1}function To(t,e,n){var r=fo.exec(e.slice(n,n+2));return r?(t.V=+r[0],n+r[0].length):-1}function Ao(t,e,n){var r=fo.exec(e.slice(n,n+2));return r?(t.W=+r[0],n+r[0].length):-1}function wo(t,e,n){var r=fo.exec(e.slice(n,n+4));return r?(t.y=+r[0],n+r[0].length):-1}function So(t,e,n){var r=fo.exec(e.slice(n,n+2));return r?(t.y=+r[0]+(+r[0]>68?1900:2e3),n+r[0].length):-1}function Io(t,e,n){var r=/^(Z)|([+-]\d\d)(?::?(\d\d))?/.exec(e.slice(n,n+6));return r?(t.Z=r[1]?0:-(r[2]+(r[3]||"00")),n+r[0].length):-1}function Lo(t,e,n){var r=fo.exec(e.slice(n,n+1));return r?(t.q=3*r[0]-3,n+r[0].length):-1}function Eo(t,e,n){var r=fo.exec(e.slice(n,n+2));return r?(t.m=r[0]-1,n+r[0].length):-1}function Bo(t,e,n){var r=fo.exec(e.slice(n,n+2));return r?(t.d=+r[0],n+r[0].length):-1}function Fo(t,e,n){var r=fo.exec(e.slice(n,n+3));return r?(t.m=0,t.d=+r[0],n+r[0].length):-1}function No(t,e,n){var r=fo.exec(e.slice(n,n+2));return r?(t.H=+r[0],n+r[0].length):-1}function Mo(t,e,n){var r=fo.exec(e.slice(n,n+2));return r?(t.M=+r[0],n+r[0].length):-1}function jo(t,e,n){var r=fo.exec(e.slice(n,n+2));return r?(t.S=+r[0],n+r[0].length):-1}function Oo(t,e,n){var r=fo.exec(e.slice(n,n+3));return r?(t.L=+r[0],n+r[0].length):-1}function Ro(t,e,n){var r=fo.exec(e.slice(n,n+6));return r?(t.L=Math.floor(r[0]/1e3),n+r[0].length):-1}function Do(t,e,n){var r=mo.exec(e.slice(n,n+1));return r?n+r[0].length:-1}function qo(t,e,n){var r=fo.exec(e.slice(n));return r?(t.Q=+r[0],n+r[0].length):-1}function $o(t,e,n){var r=fo.exec(e.slice(n));return r?(t.s=+r[0],n+r[0].length):-1}function Po(t,e){return yo(t.getDate(),e,2)}function zo(t,e){return yo(t.getHours(),e,2)}function Uo(t,e){return yo(t.getHours()%12||12,e,2)}function Wo(t,e){return yo(1+Ni.count(to(t),t),e,3)}function Ho(t,e){return yo(t.getMilliseconds(),e,3)}function Vo(t,e){return Ho(t,e)+"000"}function Yo(t,e){return yo(t.getMonth()+1,e,2)}function Go(t,e){return yo(t.getMinutes(),e,2)}function Xo(t,e){return yo(t.getSeconds(),e,2)}function Ko(t){var e=t.getDay();return 0===e?7:e}function Zo(t,e){return yo(Ri.count(to(t)-1,t),e,2)}function Jo(t){var e=t.getDay();return e>=4||0===e?Pi(t):Pi.ceil(t)}function Qo(t,e){return t=Jo(t),yo(Pi.count(to(t),t)+(4===to(t).getDay()),e,2)}function ts(t){return t.getDay()}function es(t,e){return yo(Di.count(to(t)-1,t),e,2)}function ns(t,e){return yo(t.getFullYear()%100,e,2)}function rs(t,e){return yo((t=Jo(t)).getFullYear()%100,e,2)}function is(t,e){return yo(t.getFullYear()%1e4,e,4)}function os(t,e){var n=t.getDay();return yo((t=n>=4||0===n?Pi(t):Pi.ceil(t)).getFullYear()%1e4,e,4)}function ss(t){var e=t.getTimezoneOffset();return(e>0?"-":(e*=-1,"+"))+yo(e/60|0,"0",2)+yo(e%60,"0",2)}function as(t,e){return yo(t.getUTCDate(),e,2)}function ls(t,e){return yo(t.getUTCHours(),e,2)}function cs(t,e){return yo(t.getUTCHours()%12||12,e,2)}function hs(t,e){return yo(1+Mi.count(eo(t),t),e,3)}function us(t,e){return yo(t.getUTCMilliseconds(),e,3)}function ds(t,e){return us(t,e)+"000"}function ps(t,e){return yo(t.getUTCMonth()+1,e,2)}function fs(t,e){return yo(t.getUTCMinutes(),e,2)}function ms(t,e){return yo(t.getUTCSeconds(),e,2)}function gs(t){var e=t.getUTCDay();return 0===e?7:e}function ys(t,e){return yo(Hi.count(eo(t)-1,t),e,2)}function ks(t){var e=t.getUTCDay();return e>=4||0===e?Xi(t):Xi.ceil(t)}function xs(t,e){return t=ks(t),yo(Xi.count(eo(t),t)+(4===eo(t).getUTCDay()),e,2)}function _s(t){return t.getUTCDay()}function bs(t,e){return yo(Vi.count(eo(t)-1,t),e,2)}function Cs(t,e){return yo(t.getUTCFullYear()%100,e,2)}function vs(t,e){return yo((t=ks(t)).getUTCFullYear()%100,e,2)}function Ts(t,e){return yo(t.getUTCFullYear()%1e4,e,4)}function As(t,e){var n=t.getUTCDay();return yo((t=n>=4||0===n?Xi(t):Xi.ceil(t)).getUTCFullYear()%1e4,e,4)}function ws(){return"+0000"}function Ss(){return"%"}function Is(t){return+t}function Ls(t){return Math.floor(+t/1e3)}function Es(t){return new Date(t)}function Bs(t){return t instanceof Date?+t:+new Date(+t)}function Fs(t,e,n,r,i,o,s,a,l,c){var h=Jr(),u=h.invert,d=h.domain,p=c(".%L"),f=c(":%S"),m=c("%I:%M"),g=c("%I %p"),y=c("%a %d"),k=c("%b %d"),x=c("%B"),_=c("%Y");function b(t){return(l(t)<t?p:a(t)<t?f:s(t)<t?m:o(t)<t?g:r(t)<t?i(t)<t?y:k:n(t)<t?x:_)(t)}return h.invert=function(t){return new Date(u(t))},h.domain=function(t){return arguments.length?d(Array.from(t,Bs)):d().map(Es)},h.ticks=function(e){var n=d();return t(n[0],n[n.length-1],null==e?10:e)},h.tickFormat=function(t,e){return null==e?b:c(e)},h.nice=function(t){var n=d();return t&&"function"==typeof t.range||(t=e(n[0],n[n.length-1],null==t?10:t)),t?d(function(t,e){var n,r=0,i=(t=t.slice()).length-1,o=t[r],s=t[i];return s<o&&(n=r,r=i,i=n,n=o,o=s,s=n),t[r]=e.floor(o),t[i]=e.ceil(s),t}(n,t)):h},h.copy=function(){return Kr(h,Fs(t,e,n,r,i,o,s,a,l,c))},h}function Ns(){return gr.apply(Fs(oo,so,to,Ji,Ri,Ni,Bi,Li,Ii,uo).domain([new Date(2e3,0,1),new Date(2e3,0,2)]),arguments)}!function(t){ho=function(t){var e=t.dateTime,n=t.date,r=t.time,i=t.periods,o=t.days,s=t.shortDays,a=t.months,l=t.shortMonths,c=xo(i),h=_o(i),u=xo(o),d=_o(o),p=xo(s),f=_o(s),m=xo(a),g=_o(a),y=xo(l),k=_o(l),x={a:function(t){return s[t.getDay()]},A:function(t){return o[t.getDay()]},b:function(t){return l[t.getMonth()]},B:function(t){return a[t.getMonth()]},c:null,d:Po,e:Po,f:Vo,g:rs,G:os,H:zo,I:Uo,j:Wo,L:Ho,m:Yo,M:Go,p:function(t){return i[+(t.getHours()>=12)]},q:function(t){return 1+~~(t.getMonth()/3)},Q:Is,s:Ls,S:Xo,u:Ko,U:Zo,V:Qo,w:ts,W:es,x:null,X:null,y:ns,Y:is,Z:ss,"%":Ss},_={a:function(t){return s[t.getUTCDay()]},A:function(t){return o[t.getUTCDay()]},b:function(t){return l[t.getUTCMonth()]},B:function(t){return a[t.getUTCMonth()]},c:null,d:as,e:as,f:ds,g:vs,G:As,H:ls,I:cs,j:hs,L:us,m:ps,M:fs,p:function(t){return i[+(t.getUTCHours()>=12)]},q:function(t){return 1+~~(t.getUTCMonth()/3)},Q:Is,s:Ls,S:ms,u:gs,U:ys,V:xs,w:_s,W:bs,x:null,X:null,y:Cs,Y:Ts,Z:ws,"%":Ss},b={a:function(t,e,n){var r=p.exec(e.slice(n));return r?(t.w=f.get(r[0].toLowerCase()),n+r[0].length):-1},A:function(t,e,n){var r=u.exec(e.slice(n));return r?(t.w=d.get(r[0].toLowerCase()),n+r[0].length):-1},b:function(t,e,n){var r=y.exec(e.slice(n));return r?(t.m=k.get(r[0].toLowerCase()),n+r[0].length):-1},B:function(t,e,n){var r=m.exec(e.slice(n));return r?(t.m=g.get(r[0].toLowerCase()),n+r[0].length):-1},c:function(t,n,r){return T(t,e,n,r)},d:Bo,e:Bo,f:Ro,g:So,G:wo,H:No,I:No,j:Fo,L:Oo,m:Eo,M:Mo,p:function(t,e,n){var r=c.exec(e.slice(n));return r?(t.p=h.get(r[0].toLowerCase()),n+r[0].length):-1},q:Lo,Q:qo,s:$o,S:jo,u:Co,U:vo,V:To,w:bo,W:Ao,x:function(t,e,r){return T(t,n,e,r)},X:function(t,e,n){return T(t,r,e,n)},y:So,Y:wo,Z:Io,"%":Do};function C(t,e){return function(n){var r,i,o,s=[],a=-1,l=0,c=t.length;for(n instanceof Date||(n=new Date(+n));++a<c;)37===t.charCodeAt(a)&&(s.push(t.slice(l,a)),null!=(i=po[r=t.charAt(++a)])?r=t.charAt(++a):i="e"===r?" ":"0",(o=e[r])&&(r=o(n,i)),s.push(r),l=a+1);return s.push(t.slice(l,a)),s.join("")}}function v(t,e){return function(n){var r,i,o=co(1900,void 0,1);if(T(o,t,n+="",0)!=n.length)return null;if("Q"in o)return new Date(o.Q);if("s"in o)return new Date(1e3*o.s+("L"in o?o.L:0));if(e&&!("Z"in o)&&(o.Z=0),"p"in o&&(o.H=o.H%12+12*o.p),void 0===o.m&&(o.m="q"in o?o.q:0),"V"in o){if(o.V<1||o.V>53)return null;"w"in o||(o.w=1),"Z"in o?(i=(r=lo(co(o.y,0,1))).getUTCDay(),r=i>4||0===i?Vi.ceil(r):Vi(r),r=Mi.offset(r,7*(o.V-1)),o.y=r.getUTCFullYear(),o.m=r.getUTCMonth(),o.d=r.getUTCDate()+(o.w+6)%7):(i=(r=ao(co(o.y,0,1))).getDay(),r=i>4||0===i?Di.ceil(r):Di(r),r=Ni.offset(r,7*(o.V-1)),o.y=r.getFullYear(),o.m=r.getMonth(),o.d=r.getDate()+(o.w+6)%7)}else("W"in o||"U"in o)&&("w"in o||(o.w="u"in o?o.u%7:"W"in o?1:0),i="Z"in o?lo(co(o.y,0,1)).getUTCDay():ao(co(o.y,0,1)).getDay(),o.m=0,o.d="W"in o?(o.w+6)%7+7*o.W-(i+5)%7:o.w+7*o.U-(i+6)%7);return"Z"in o?(o.H+=o.Z/100|0,o.M+=o.Z%100,lo(o)):ao(o)}}function T(t,e,n,r){for(var i,o,s=0,a=e.length,l=n.length;s<a;){if(r>=l)return-1;if(37===(i=e.charCodeAt(s++))){if(i=e.charAt(s++),!(o=b[i in po?e.charAt(s++):i])||(r=o(t,n,r))<0)return-1}else if(i!=n.charCodeAt(r++))return-1}return r}return x.x=C(n,x),x.X=C(r,x),x.c=C(e,x),_.x=C(n,_),_.X=C(r,_),_.c=C(e,_),{format:function(t){var e=C(t+="",x);return e.toString=function(){return t},e},parse:function(t){var e=v(t+="",!1);return e.toString=function(){return t},e},utcFormat:function(t){var e=C(t+="",_);return e.toString=function(){return t},e},utcParse:function(t){var e=v(t+="",!0);return e.toString=function(){return t},e}}}(t),uo=ho.format,ho.parse,ho.utcFormat,ho.utcParse}({dateTime:"%x, %X",date:"%-m/%-d/%Y",time:"%-I:%M:%S %p",periods:["AM","PM"],days:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],shortDays:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],months:["January","February","March","April","May","June","July","August","September","October","November","December"],shortMonths:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"]});const Ms=function(t){for(var e=t.length/6|0,n=new Array(e),r=0;r<e;)n[r]="#"+t.slice(6*r,6*++r);return n}("4e79a7f28e2ce1575976b7b259a14fedc949af7aa1ff9da79c755fbab0ab");function js(t){return"string"==typeof t?new Lt([[document.querySelector(t)]],[document.documentElement]):new Lt([[t]],It)}function Os(t){return"string"==typeof t?new Lt([document.querySelectorAll(t)],[document.documentElement]):new Lt([b(t)],It)}function Rs(t){return function(){return t}}const Ds=Math.abs,qs=Math.atan2,$s=Math.cos,Ps=Math.max,zs=Math.min,Us=Math.sin,Ws=Math.sqrt,Hs=1e-12,Vs=Math.PI,Ys=Vs/2,Gs=2*Vs;function Xs(t){return t>=1?Ys:t<=-1?-Ys:Math.asin(t)}const Ks=Math.PI,Zs=2*Ks,Js=1e-6,Qs=Zs-Js;function ta(t){this._+=t[0];for(let e=1,n=t.length;e<n;++e)this._+=arguments[e]+t[e]}class ea{constructor(t){this._x0=this._y0=this._x1=this._y1=null,this._="",this._append=null==t?ta:function(t){let e=Math.floor(t);if(!(e>=0))throw new Error(`invalid digits: ${t}`);if(e>15)return ta;const n=10**e;return function(t){this._+=t[0];for(let e=1,r=t.length;e<r;++e)this._+=Math.round(arguments[e]*n)/n+t[e]}}(t)}moveTo(t,e){this._append`M${this._x0=this._x1=+t},${this._y0=this._y1=+e}`}closePath(){null!==this._x1&&(this._x1=this._x0,this._y1=this._y0,this._append`Z`)}lineTo(t,e){this._append`L${this._x1=+t},${this._y1=+e}`}quadraticCurveTo(t,e,n,r){this._append`Q${+t},${+e},${this._x1=+n},${this._y1=+r}`}bezierCurveTo(t,e,n,r,i,o){this._append`C${+t},${+e},${+n},${+r},${this._x1=+i},${this._y1=+o}`}arcTo(t,e,n,r,i){if(t=+t,e=+e,n=+n,r=+r,(i=+i)<0)throw new Error(`negative radius: ${i}`);let o=this._x1,s=this._y1,a=n-t,l=r-e,c=o-t,h=s-e,u=c*c+h*h;if(null===this._x1)this._append`M${this._x1=t},${this._y1=e}`;else if(u>Js)if(Math.abs(h*a-l*c)>Js&&i){let d=n-o,p=r-s,f=a*a+l*l,m=d*d+p*p,g=Math.sqrt(f),y=Math.sqrt(u),k=i*Math.tan((Ks-Math.acos((f+u-m)/(2*g*y)))/2),x=k/y,_=k/g;Math.abs(x-1)>Js&&this._append`L${t+x*c},${e+x*h}`,this._append`A${i},${i},0,0,${+(h*d>c*p)},${this._x1=t+_*a},${this._y1=e+_*l}`}else this._append`L${this._x1=t},${this._y1=e}`;else;}arc(t,e,n,r,i,o){if(t=+t,e=+e,o=!!o,(n=+n)<0)throw new Error(`negative radius: ${n}`);let s=n*Math.cos(r),a=n*Math.sin(r),l=t+s,c=e+a,h=1^o,u=o?r-i:i-r;null===this._x1?this._append`M${l},${c}`:(Math.abs(this._x1-l)>Js||Math.abs(this._y1-c)>Js)&&this._append`L${l},${c}`,n&&(u<0&&(u=u%Zs+Zs),u>Qs?this._append`A${n},${n},0,1,${h},${t-s},${e-a}A${n},${n},0,1,${h},${this._x1=l},${this._y1=c}`:u>Js&&this._append`A${n},${n},0,${+(u>=Ks)},${h},${this._x1=t+n*Math.cos(i)},${this._y1=e+n*Math.sin(i)}`)}rect(t,e,n,r){this._append`M${this._x0=this._x1=+t},${this._y0=this._y1=+e}h${n=+n}v${+r}h${-n}Z`}toString(){return this._}}function na(t){let e=3;return t.digits=function(n){if(!arguments.length)return e;if(null==n)e=null;else{const t=Math.floor(n);if(!(t>=0))throw new RangeError(`invalid digits: ${n}`);e=t}return t},()=>new ea(e)}function ra(t){return t.innerRadius}function ia(t){return t.outerRadius}function oa(t){return t.startAngle}function sa(t){return t.endAngle}function aa(t){return t&&t.padAngle}function la(t,e,n,r,i,o,s){var a=t-n,l=e-r,c=(s?o:-o)/Ws(a*a+l*l),h=c*l,u=-c*a,d=t+h,p=e+u,f=n+h,m=r+u,g=(d+f)/2,y=(p+m)/2,k=f-d,x=m-p,_=k*k+x*x,b=i-o,C=d*m-f*p,v=(x<0?-1:1)*Ws(Ps(0,b*b*_-C*C)),T=(C*x-k*v)/_,A=(-C*k-x*v)/_,w=(C*x+k*v)/_,S=(-C*k+x*v)/_,I=T-g,L=A-y,E=w-g,B=S-y;return I*I+L*L>E*E+B*B&&(T=w,A=S),{cx:T,cy:A,x01:-h,y01:-u,x11:T*(i/b-1),y11:A*(i/b-1)}}function ca(){var t=ra,e=ia,n=Rs(0),r=null,i=oa,o=sa,s=aa,a=null,l=na(c);function c(){var c,h,u,d=+t.apply(this,arguments),p=+e.apply(this,arguments),f=i.apply(this,arguments)-Ys,m=o.apply(this,arguments)-Ys,g=Ds(m-f),y=m>f;if(a||(a=c=l()),p<d&&(h=p,p=d,d=h),p>Hs)if(g>Gs-Hs)a.moveTo(p*$s(f),p*Us(f)),a.arc(0,0,p,f,m,!y),d>Hs&&(a.moveTo(d*$s(m),d*Us(m)),a.arc(0,0,d,m,f,y));else{var k,x,_=f,b=m,C=f,v=m,T=g,A=g,w=s.apply(this,arguments)/2,S=w>Hs&&(r?+r.apply(this,arguments):Ws(d*d+p*p)),I=zs(Ds(p-d)/2,+n.apply(this,arguments)),L=I,E=I;if(S>Hs){var B=Xs(S/d*Us(w)),F=Xs(S/p*Us(w));(T-=2*B)>Hs?(C+=B*=y?1:-1,v-=B):(T=0,C=v=(f+m)/2),(A-=2*F)>Hs?(_+=F*=y?1:-1,b-=F):(A=0,_=b=(f+m)/2)}var N=p*$s(_),M=p*Us(_),j=d*$s(v),O=d*Us(v);if(I>Hs){var R,D=p*$s(b),q=p*Us(b),$=d*$s(C),P=d*Us(C);if(g<Vs)if(R=function(t,e,n,r,i,o,s,a){var l=n-t,c=r-e,h=s-i,u=a-o,d=u*l-h*c;if(!(d*d<Hs))return[t+(d=(h*(e-o)-u*(t-i))/d)*l,e+d*c]}(N,M,$,P,D,q,j,O)){var z=N-R[0],U=M-R[1],W=D-R[0],H=q-R[1],V=1/Us(((u=(z*W+U*H)/(Ws(z*z+U*U)*Ws(W*W+H*H)))>1?0:u<-1?Vs:Math.acos(u))/2),Y=Ws(R[0]*R[0]+R[1]*R[1]);L=zs(I,(d-Y)/(V-1)),E=zs(I,(p-Y)/(V+1))}else L=E=0}A>Hs?E>Hs?(k=la($,P,N,M,p,E,y),x=la(D,q,j,O,p,E,y),a.moveTo(k.cx+k.x01,k.cy+k.y01),E<I?a.arc(k.cx,k.cy,E,qs(k.y01,k.x01),qs(x.y01,x.x01),!y):(a.arc(k.cx,k.cy,E,qs(k.y01,k.x01),qs(k.y11,k.x11),!y),a.arc(0,0,p,qs(k.cy+k.y11,k.cx+k.x11),qs(x.cy+x.y11,x.cx+x.x11),!y),a.arc(x.cx,x.cy,E,qs(x.y11,x.x11),qs(x.y01,x.x01),!y))):(a.moveTo(N,M),a.arc(0,0,p,_,b,!y)):a.moveTo(N,M),d>Hs&&T>Hs?L>Hs?(k=la(j,O,D,q,d,-L,y),x=la(N,M,$,P,d,-L,y),a.lineTo(k.cx+k.x01,k.cy+k.y01),L<I?a.arc(k.cx,k.cy,L,qs(k.y01,k.x01),qs(x.y01,x.x01),!y):(a.arc(k.cx,k.cy,L,qs(k.y01,k.x01),qs(k.y11,k.x11),!y),a.arc(0,0,d,qs(k.cy+k.y11,k.cx+k.x11),qs(x.cy+x.y11,x.cx+x.x11),y),a.arc(x.cx,x.cy,L,qs(x.y11,x.x11),qs(x.y01,x.x01),!y))):a.arc(0,0,d,v,C,y):a.lineTo(j,O)}else a.moveTo(0,0);if(a.closePath(),c)return a=null,c+""||null}return c.centroid=function(){var n=(+t.apply(this,arguments)+ +e.apply(this,arguments))/2,r=(+i.apply(this,arguments)+ +o.apply(this,arguments))/2-Vs/2;return[$s(r)*n,Us(r)*n]},c.innerRadius=function(e){return arguments.length?(t="function"==typeof e?e:Rs(+e),c):t},c.outerRadius=function(t){return arguments.length?(e="function"==typeof t?t:Rs(+t),c):e},c.cornerRadius=function(t){return arguments.length?(n="function"==typeof t?t:Rs(+t),c):n},c.padRadius=function(t){return arguments.length?(r=null==t?null:"function"==typeof t?t:Rs(+t),c):r},c.startAngle=function(t){return arguments.length?(i="function"==typeof t?t:Rs(+t),c):i},c.endAngle=function(t){return arguments.length?(o="function"==typeof t?t:Rs(+t),c):o},c.padAngle=function(t){return arguments.length?(s="function"==typeof t?t:Rs(+t),c):s},c.context=function(t){return arguments.length?(a=null==t?null:t,c):a},c}ea.prototype;Array.prototype.slice;function ha(t){return"object"==typeof t&&"length"in t?t:Array.from(t)}function ua(t){this._context=t}function da(t){return new ua(t)}function pa(t){return t[0]}function fa(t){return t[1]}function ma(t,e){var n=Rs(!0),r=null,i=da,o=null,s=na(a);function a(a){var l,c,h,u=(a=ha(a)).length,d=!1;for(null==r&&(o=i(h=s())),l=0;l<=u;++l)!(l<u&&n(c=a[l],l,a))===d&&((d=!d)?o.lineStart():o.lineEnd()),d&&o.point(+t(c,l,a),+e(c,l,a));if(h)return o=null,h+""||null}return t="function"==typeof t?t:void 0===t?pa:Rs(t),e="function"==typeof e?e:void 0===e?fa:Rs(e),a.x=function(e){return arguments.length?(t="function"==typeof e?e:Rs(+e),a):t},a.y=function(t){return arguments.length?(e="function"==typeof t?t:Rs(+t),a):e},a.defined=function(t){return arguments.length?(n="function"==typeof t?t:Rs(!!t),a):n},a.curve=function(t){return arguments.length?(i=t,null!=r&&(o=i(r)),a):i},a.context=function(t){return arguments.length?(null==t?r=o=null:o=i(r=t),a):r},a}function ga(t,e){return e<t?-1:e>t?1:e>=t?0:NaN}function ya(t){return t}function ka(){var t=ya,e=ga,n=null,r=Rs(0),i=Rs(Gs),o=Rs(0);function s(s){var a,l,c,h,u,d=(s=ha(s)).length,p=0,f=new Array(d),m=new Array(d),g=+r.apply(this,arguments),y=Math.min(Gs,Math.max(-Gs,i.apply(this,arguments)-g)),k=Math.min(Math.abs(y)/d,o.apply(this,arguments)),x=k*(y<0?-1:1);for(a=0;a<d;++a)(u=m[f[a]=a]=+t(s[a],a,s))>0&&(p+=u);for(null!=e?f.sort((function(t,n){return e(m[t],m[n])})):null!=n&&f.sort((function(t,e){return n(s[t],s[e])})),a=0,c=p?(y-d*x)/p:0;a<d;++a,g=h)l=f[a],h=g+((u=m[l])>0?u*c:0)+x,m[l]={data:s[l],index:a,value:u,startAngle:g,endAngle:h,padAngle:k};return m}return s.value=function(e){return arguments.length?(t="function"==typeof e?e:Rs(+e),s):t},s.sortValues=function(t){return arguments.length?(e=t,n=null,s):e},s.sort=function(t){return arguments.length?(n=t,e=null,s):n},s.startAngle=function(t){return arguments.length?(r="function"==typeof t?t:Rs(+t),s):r},s.endAngle=function(t){return arguments.length?(i="function"==typeof t?t:Rs(+t),s):i},s.padAngle=function(t){return arguments.length?(o="function"==typeof t?t:Rs(+t),s):o},s}function xa(){}function _a(t,e,n){t._context.bezierCurveTo((2*t._x0+t._x1)/3,(2*t._y0+t._y1)/3,(t._x0+2*t._x1)/3,(t._y0+2*t._y1)/3,(t._x0+4*t._x1+e)/6,(t._y0+4*t._y1+n)/6)}function ba(t){this._context=t}function Ca(t){return new ba(t)}function va(t){this._context=t}function Ta(t){return new va(t)}function Aa(t){this._context=t}function wa(t){return new Aa(t)}ua.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._point=0},lineEnd:function(){(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1,this._line?this._context.lineTo(t,e):this._context.moveTo(t,e);break;case 1:this._point=2;default:this._context.lineTo(t,e)}}},ba.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=NaN,this._point=0},lineEnd:function(){switch(this._point){case 3:_a(this,this._x1,this._y1);case 2:this._context.lineTo(this._x1,this._y1)}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1,this._line?this._context.lineTo(t,e):this._context.moveTo(t,e);break;case 1:this._point=2;break;case 2:this._point=3,this._context.lineTo((5*this._x0+this._x1)/6,(5*this._y0+this._y1)/6);default:_a(this,t,e)}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=e}},va.prototype={areaStart:xa,areaEnd:xa,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._y0=this._y1=this._y2=this._y3=this._y4=NaN,this._point=0},lineEnd:function(){switch(this._point){case 1:this._context.moveTo(this._x2,this._y2),this._context.closePath();break;case 2:this._context.moveTo((this._x2+2*this._x3)/3,(this._y2+2*this._y3)/3),this._context.lineTo((this._x3+2*this._x2)/3,(this._y3+2*this._y2)/3),this._context.closePath();break;case 3:this.point(this._x2,this._y2),this.point(this._x3,this._y3),this.point(this._x4,this._y4)}},point:function(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1,this._x2=t,this._y2=e;break;case 1:this._point=2,this._x3=t,this._y3=e;break;case 2:this._point=3,this._x4=t,this._y4=e,this._context.moveTo((this._x0+4*this._x1+t)/6,(this._y0+4*this._y1+e)/6);break;default:_a(this,t,e)}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=e}},Aa.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=NaN,this._point=0},lineEnd:function(){(this._line||0!==this._line&&3===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3;var n=(this._x0+4*this._x1+t)/6,r=(this._y0+4*this._y1+e)/6;this._line?this._context.lineTo(n,r):this._context.moveTo(n,r);break;case 3:this._point=4;default:_a(this,t,e)}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=e}};class Sa{constructor(t,e){this._context=t,this._x=e}areaStart(){this._line=0}areaEnd(){this._line=NaN}lineStart(){this._point=0}lineEnd(){(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line}point(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1,this._line?this._context.lineTo(t,e):this._context.moveTo(t,e);break;case 1:this._point=2;default:this._x?this._context.bezierCurveTo(this._x0=(this._x0+t)/2,this._y0,this._x0,e,t,e):this._context.bezierCurveTo(this._x0,this._y0=(this._y0+e)/2,t,this._y0,t,e)}this._x0=t,this._y0=e}}function Ia(t){return new Sa(t,!0)}function La(t){return new Sa(t,!1)}function Ea(t,e){this._basis=new ba(t),this._beta=e}Ea.prototype={lineStart:function(){this._x=[],this._y=[],this._basis.lineStart()},lineEnd:function(){var t=this._x,e=this._y,n=t.length-1;if(n>0)for(var r,i=t[0],o=e[0],s=t[n]-i,a=e[n]-o,l=-1;++l<=n;)r=l/n,this._basis.point(this._beta*t[l]+(1-this._beta)*(i+r*s),this._beta*e[l]+(1-this._beta)*(o+r*a));this._x=this._y=null,this._basis.lineEnd()},point:function(t,e){this._x.push(+t),this._y.push(+e)}};const Ba=function t(e){function n(t){return 1===e?new ba(t):new Ea(t,e)}return n.beta=function(e){return t(+e)},n}(.85);function Fa(t,e,n){t._context.bezierCurveTo(t._x1+t._k*(t._x2-t._x0),t._y1+t._k*(t._y2-t._y0),t._x2+t._k*(t._x1-e),t._y2+t._k*(t._y1-n),t._x2,t._y2)}function Na(t,e){this._context=t,this._k=(1-e)/6}Na.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x2,this._y2);break;case 3:Fa(this,this._x1,this._y1)}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1,this._line?this._context.lineTo(t,e):this._context.moveTo(t,e);break;case 1:this._point=2,this._x1=t,this._y1=e;break;case 2:this._point=3;default:Fa(this,t,e)}this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=e}};const Ma=function t(e){function n(t){return new Na(t,e)}return n.tension=function(e){return t(+e)},n}(0);function ja(t,e){this._context=t,this._k=(1-e)/6}ja.prototype={areaStart:xa,areaEnd:xa,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._x5=this._y0=this._y1=this._y2=this._y3=this._y4=this._y5=NaN,this._point=0},lineEnd:function(){switch(this._point){case 1:this._context.moveTo(this._x3,this._y3),this._context.closePath();break;case 2:this._context.lineTo(this._x3,this._y3),this._context.closePath();break;case 3:this.point(this._x3,this._y3),this.point(this._x4,this._y4),this.point(this._x5,this._y5)}},point:function(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1,this._x3=t,this._y3=e;break;case 1:this._point=2,this._context.moveTo(this._x4=t,this._y4=e);break;case 2:this._point=3,this._x5=t,this._y5=e;break;default:Fa(this,t,e)}this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=e}};const Oa=function t(e){function n(t){return new ja(t,e)}return n.tension=function(e){return t(+e)},n}(0);function Ra(t,e){this._context=t,this._k=(1-e)/6}Ra.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._point=0},lineEnd:function(){(this._line||0!==this._line&&3===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3,this._line?this._context.lineTo(this._x2,this._y2):this._context.moveTo(this._x2,this._y2);break;case 3:this._point=4;default:Fa(this,t,e)}this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=e}};const Da=function t(e){function n(t){return new Ra(t,e)}return n.tension=function(e){return t(+e)},n}(0);function qa(t,e,n){var r=t._x1,i=t._y1,o=t._x2,s=t._y2;if(t._l01_a>Hs){var a=2*t._l01_2a+3*t._l01_a*t._l12_a+t._l12_2a,l=3*t._l01_a*(t._l01_a+t._l12_a);r=(r*a-t._x0*t._l12_2a+t._x2*t._l01_2a)/l,i=(i*a-t._y0*t._l12_2a+t._y2*t._l01_2a)/l}if(t._l23_a>Hs){var c=2*t._l23_2a+3*t._l23_a*t._l12_a+t._l12_2a,h=3*t._l23_a*(t._l23_a+t._l12_a);o=(o*c+t._x1*t._l23_2a-e*t._l12_2a)/h,s=(s*c+t._y1*t._l23_2a-n*t._l12_2a)/h}t._context.bezierCurveTo(r,i,o,s,t._x2,t._y2)}function $a(t,e){this._context=t,this._alpha=e}$a.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x2,this._y2);break;case 3:this.point(this._x2,this._y2)}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){if(t=+t,e=+e,this._point){var n=this._x2-t,r=this._y2-e;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(n*n+r*r,this._alpha))}switch(this._point){case 0:this._point=1,this._line?this._context.lineTo(t,e):this._context.moveTo(t,e);break;case 1:this._point=2;break;case 2:this._point=3;default:qa(this,t,e)}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=e}};const Pa=function t(e){function n(t){return e?new $a(t,e):new Na(t,0)}return n.alpha=function(e){return t(+e)},n}(.5);function za(t,e){this._context=t,this._alpha=e}za.prototype={areaStart:xa,areaEnd:xa,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._x5=this._y0=this._y1=this._y2=this._y3=this._y4=this._y5=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){switch(this._point){case 1:this._context.moveTo(this._x3,this._y3),this._context.closePath();break;case 2:this._context.lineTo(this._x3,this._y3),this._context.closePath();break;case 3:this.point(this._x3,this._y3),this.point(this._x4,this._y4),this.point(this._x5,this._y5)}},point:function(t,e){if(t=+t,e=+e,this._point){var n=this._x2-t,r=this._y2-e;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(n*n+r*r,this._alpha))}switch(this._point){case 0:this._point=1,this._x3=t,this._y3=e;break;case 1:this._point=2,this._context.moveTo(this._x4=t,this._y4=e);break;case 2:this._point=3,this._x5=t,this._y5=e;break;default:qa(this,t,e)}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=e}};const Ua=function t(e){function n(t){return e?new za(t,e):new ja(t,0)}return n.alpha=function(e){return t(+e)},n}(.5);function Wa(t,e){this._context=t,this._alpha=e}Wa.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){(this._line||0!==this._line&&3===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){if(t=+t,e=+e,this._point){var n=this._x2-t,r=this._y2-e;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(n*n+r*r,this._alpha))}switch(this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3,this._line?this._context.lineTo(this._x2,this._y2):this._context.moveTo(this._x2,this._y2);break;case 3:this._point=4;default:qa(this,t,e)}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=e}};const Ha=function t(e){function n(t){return e?new Wa(t,e):new Ra(t,0)}return n.alpha=function(e){return t(+e)},n}(.5);function Va(t){this._context=t}function Ya(t){return new Va(t)}function Ga(t){return t<0?-1:1}function Xa(t,e,n){var r=t._x1-t._x0,i=e-t._x1,o=(t._y1-t._y0)/(r||i<0&&-0),s=(n-t._y1)/(i||r<0&&-0),a=(o*i+s*r)/(r+i);return(Ga(o)+Ga(s))*Math.min(Math.abs(o),Math.abs(s),.5*Math.abs(a))||0}function Ka(t,e){var n=t._x1-t._x0;return n?(3*(t._y1-t._y0)/n-e)/2:e}function Za(t,e,n){var r=t._x0,i=t._y0,o=t._x1,s=t._y1,a=(o-r)/3;t._context.bezierCurveTo(r+a,i+a*e,o-a,s-a*n,o,s)}function Ja(t){this._context=t}function Qa(t){this._context=new tl(t)}function tl(t){this._context=t}function el(t){return new Ja(t)}function nl(t){return new Qa(t)}function rl(t){this._context=t}function il(t){var e,n,r=t.length-1,i=new Array(r),o=new Array(r),s=new Array(r);for(i[0]=0,o[0]=2,s[0]=t[0]+2*t[1],e=1;e<r-1;++e)i[e]=1,o[e]=4,s[e]=4*t[e]+2*t[e+1];for(i[r-1]=2,o[r-1]=7,s[r-1]=8*t[r-1]+t[r],e=1;e<r;++e)n=i[e]/o[e-1],o[e]-=n,s[e]-=n*s[e-1];for(i[r-1]=s[r-1]/o[r-1],e=r-2;e>=0;--e)i[e]=(s[e]-i[e+1])/o[e];for(o[r-1]=(t[r]+i[r-1])/2,e=0;e<r-1;++e)o[e]=2*t[e+1]-i[e+1];return[i,o]}function ol(t){return new rl(t)}function sl(t,e){this._context=t,this._t=e}function al(t){return new sl(t,.5)}function ll(t){return new sl(t,0)}function cl(t){return new sl(t,1)}function hl(t,e,n){this.k=t,this.x=e,this.y=n}Va.prototype={areaStart:xa,areaEnd:xa,lineStart:function(){this._point=0},lineEnd:function(){this._point&&this._context.closePath()},point:function(t,e){t=+t,e=+e,this._point?this._context.lineTo(t,e):(this._point=1,this._context.moveTo(t,e))}},Ja.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=this._t0=NaN,this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x1,this._y1);break;case 3:Za(this,this._t0,Ka(this,this._t0))}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){var n=NaN;if(e=+e,(t=+t)!==this._x1||e!==this._y1){switch(this._point){case 0:this._point=1,this._line?this._context.lineTo(t,e):this._context.moveTo(t,e);break;case 1:this._point=2;break;case 2:this._point=3,Za(this,Ka(this,n=Xa(this,t,e)),n);break;default:Za(this,this._t0,n=Xa(this,t,e))}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=e,this._t0=n}}},(Qa.prototype=Object.create(Ja.prototype)).point=function(t,e){Ja.prototype.point.call(this,e,t)},tl.prototype={moveTo:function(t,e){this._context.moveTo(e,t)},closePath:function(){this._context.closePath()},lineTo:function(t,e){this._context.lineTo(e,t)},bezierCurveTo:function(t,e,n,r,i,o){this._context.bezierCurveTo(e,t,r,n,o,i)}},rl.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x=[],this._y=[]},lineEnd:function(){var t=this._x,e=this._y,n=t.length;if(n)if(this._line?this._context.lineTo(t[0],e[0]):this._context.moveTo(t[0],e[0]),2===n)this._context.lineTo(t[1],e[1]);else for(var r=il(t),i=il(e),o=0,s=1;s<n;++o,++s)this._context.bezierCurveTo(r[0][o],i[0][o],r[1][o],i[1][o],t[s],e[s]);(this._line||0!==this._line&&1===n)&&this._context.closePath(),this._line=1-this._line,this._x=this._y=null},point:function(t,e){this._x.push(+t),this._y.push(+e)}},sl.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x=this._y=NaN,this._point=0},lineEnd:function(){0<this._t&&this._t<1&&2===this._point&&this._context.lineTo(this._x,this._y),(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line>=0&&(this._t=1-this._t,this._line=1-this._line)},point:function(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1,this._line?this._context.lineTo(t,e):this._context.moveTo(t,e);break;case 1:this._point=2;default:if(this._t<=0)this._context.lineTo(this._x,e),this._context.lineTo(t,e);else{var n=this._x*(1-this._t)+t*this._t;this._context.lineTo(n,this._y),this._context.lineTo(n,e)}}this._x=t,this._y=e}},hl.prototype={constructor:hl,scale:function(t){return 1===t?this:new hl(this.k*t,this.x,this.y)},translate:function(t,e){return 0===t&0===e?this:new hl(this.k,this.x+this.k*t,this.y+this.k*e)},apply:function(t){return[t[0]*this.k+this.x,t[1]*this.k+this.y]},applyX:function(t){return t*this.k+this.x},applyY:function(t){return t*this.k+this.y},invert:function(t){return[(t[0]-this.x)/this.k,(t[1]-this.y)/this.k]},invertX:function(t){return(t-this.x)/this.k},invertY:function(t){return(t-this.y)/this.k},rescaleX:function(t){return t.copy().domain(t.range().map(this.invertX,this).map(t.invert,t))},rescaleY:function(t){return t.copy().domain(t.range().map(this.invertY,this).map(t.invert,t))},toString:function(){return"translate("+this.x+","+this.y+") scale("+this.k+")"}};new hl(1,0,0);hl.prototype},3539:(t,e,n)=>{"use strict";n.d(e,{A:()=>s});var r=n(2453),i=n(3122);const o=class{constructor(){this.type=i.Z.ALL}get(){return this.type}set(t){if(this.type&&this.type!==t)throw new Error("Cannot change both RGB and HSL channels at the same time");this.type=t}reset(){this.type=i.Z.ALL}is(t){return this.type===t}};const s=new class{constructor(t,e){this.color=e,this.changed=!1,this.data=t,this.type=new o}set(t,e){return this.color=e,this.changed=!1,this.data=t,this.type.type=i.Z.ALL,this}_ensureHSL(){const t=this.data,{h:e,s:n,l:i}=t;void 0===e&&(t.h=r.A.channel.rgb2hsl(t,"h")),void 0===n&&(t.s=r.A.channel.rgb2hsl(t,"s")),void 0===i&&(t.l=r.A.channel.rgb2hsl(t,"l"))}_ensureRGB(){const t=this.data,{r:e,g:n,b:i}=t;void 0===e&&(t.r=r.A.channel.hsl2rgb(t,"r")),void 0===n&&(t.g=r.A.channel.hsl2rgb(t,"g")),void 0===i&&(t.b=r.A.channel.hsl2rgb(t,"b"))}get r(){const t=this.data,e=t.r;return this.type.is(i.Z.HSL)||void 0===e?(this._ensureHSL(),r.A.channel.hsl2rgb(t,"r")):e}get g(){const t=this.data,e=t.g;return this.type.is(i.Z.HSL)||void 0===e?(this._ensureHSL(),r.A.channel.hsl2rgb(t,"g")):e}get b(){const t=this.data,e=t.b;return this.type.is(i.Z.HSL)||void 0===e?(this._ensureHSL(),r.A.channel.hsl2rgb(t,"b")):e}get h(){const t=this.data,e=t.h;return this.type.is(i.Z.RGB)||void 0===e?(this._ensureRGB(),r.A.channel.rgb2hsl(t,"h")):e}get s(){const t=this.data,e=t.s;return this.type.is(i.Z.RGB)||void 0===e?(this._ensureRGB(),r.A.channel.rgb2hsl(t,"s")):e}get l(){const t=this.data,e=t.l;return this.type.is(i.Z.RGB)||void 0===e?(this._ensureRGB(),r.A.channel.rgb2hsl(t,"l")):e}get a(){return this.data.a}set r(t){this.type.set(i.Z.RGB),this.changed=!0,this.data.r=t}set g(t){this.type.set(i.Z.RGB),this.changed=!0,this.data.g=t}set b(t){this.type.set(i.Z.RGB),this.changed=!0,this.data.b=t}set h(t){this.type.set(i.Z.HSL),this.changed=!0,this.data.h=t}set s(t){this.type.set(i.Z.HSL),this.changed=!0,this.data.s=t}set l(t){this.type.set(i.Z.HSL),this.changed=!0,this.data.l=t}set a(t){this.changed=!0,this.data.a=t}}({r:0,g:0,b:0,a:0},"transparent")},4886:(t,e,n)=>{"use strict";n.d(e,{A:()=>m});var r=n(3539),i=n(3122);const o={re:/^#((?:[a-f0-9]{2}){2,4}|[a-f0-9]{3})$/i,parse:t=>{if(35!==t.charCodeAt(0))return;const e=t.match(o.re);if(!e)return;const n=e[1],i=parseInt(n,16),s=n.length,a=s%4==0,l=s>4,c=l?1:17,h=l?8:4,u=a?0:-1,d=l?255:15;return r.A.set({r:(i>>h*(u+3)&d)*c,g:(i>>h*(u+2)&d)*c,b:(i>>h*(u+1)&d)*c,a:a?(i&d)*c/255:1},t)},stringify:t=>{const{r:e,g:n,b:r,a:o}=t;return o<1?`#${i.Y[Math.round(e)]}${i.Y[Math.round(n)]}${i.Y[Math.round(r)]}${i.Y[Math.round(255*o)]}`:`#${i.Y[Math.round(e)]}${i.Y[Math.round(n)]}${i.Y[Math.round(r)]}`}},s=o;var a=n(2453);const l={re:/^hsla?\(\s*?(-?(?:\d+(?:\.\d+)?|(?:\.\d+))(?:e-?\d+)?(?:deg|grad|rad|turn)?)\s*?(?:,|\s)\s*?(-?(?:\d+(?:\.\d+)?|(?:\.\d+))(?:e-?\d+)?%)\s*?(?:,|\s)\s*?(-?(?:\d+(?:\.\d+)?|(?:\.\d+))(?:e-?\d+)?%)(?:\s*?(?:,|\/)\s*?\+?(-?(?:\d+(?:\.\d+)?|(?:\.\d+))(?:e-?\d+)?(%)?))?\s*?\)$/i,hueRe:/^(.+?)(deg|grad|rad|turn)$/i,_hue2deg:t=>{const e=t.match(l.hueRe);if(e){const[,t,n]=e;switch(n){case"grad":return a.A.channel.clamp.h(.9*parseFloat(t));case"rad":return a.A.channel.clamp.h(180*parseFloat(t)/Math.PI);case"turn":return a.A.channel.clamp.h(360*parseFloat(t))}}return a.A.channel.clamp.h(parseFloat(t))},parse:t=>{const e=t.charCodeAt(0);if(104!==e&&72!==e)return;const n=t.match(l.re);if(!n)return;const[,i,o,s,c,h]=n;return r.A.set({h:l._hue2deg(i),s:a.A.channel.clamp.s(parseFloat(o)),l:a.A.channel.clamp.l(parseFloat(s)),a:c?a.A.channel.clamp.a(h?parseFloat(c)/100:parseFloat(c)):1},t)},stringify:t=>{const{h:e,s:n,l:r,a:i}=t;return i<1?`hsla(${a.A.lang.round(e)}, ${a.A.lang.round(n)}%, ${a.A.lang.round(r)}%, ${i})`:`hsl(${a.A.lang.round(e)}, ${a.A.lang.round(n)}%, ${a.A.lang.round(r)}%)`}},c=l,h={colors:{aliceblue:"#f0f8ff",antiquewhite:"#faebd7",aqua:"#00ffff",aquamarine:"#7fffd4",azure:"#f0ffff",beige:"#f5f5dc",bisque:"#ffe4c4",black:"#000000",blanchedalmond:"#ffebcd",blue:"#0000ff",blueviolet:"#8a2be2",brown:"#a52a2a",burlywood:"#deb887",cadetblue:"#5f9ea0",chartreuse:"#7fff00",chocolate:"#d2691e",coral:"#ff7f50",cornflowerblue:"#6495ed",cornsilk:"#fff8dc",crimson:"#dc143c",cyanaqua:"#00ffff",darkblue:"#00008b",darkcyan:"#008b8b",darkgoldenrod:"#b8860b",darkgray:"#a9a9a9",darkgreen:"#006400",darkgrey:"#a9a9a9",darkkhaki:"#bdb76b",darkmagenta:"#8b008b",darkolivegreen:"#556b2f",darkorange:"#ff8c00",darkorchid:"#9932cc",darkred:"#8b0000",darksalmon:"#e9967a",darkseagreen:"#8fbc8f",darkslateblue:"#483d8b",darkslategray:"#2f4f4f",darkslategrey:"#2f4f4f",darkturquoise:"#00ced1",darkviolet:"#9400d3",deeppink:"#ff1493",deepskyblue:"#00bfff",dimgray:"#696969",dimgrey:"#696969",dodgerblue:"#1e90ff",firebrick:"#b22222",floralwhite:"#fffaf0",forestgreen:"#228b22",fuchsia:"#ff00ff",gainsboro:"#dcdcdc",ghostwhite:"#f8f8ff",gold:"#ffd700",goldenrod:"#daa520",gray:"#808080",green:"#008000",greenyellow:"#adff2f",grey:"#808080",honeydew:"#f0fff0",hotpink:"#ff69b4",indianred:"#cd5c5c",indigo:"#4b0082",ivory:"#fffff0",khaki:"#f0e68c",lavender:"#e6e6fa",lavenderblush:"#fff0f5",lawngreen:"#7cfc00",lemonchiffon:"#fffacd",lightblue:"#add8e6",lightcoral:"#f08080",lightcyan:"#e0ffff",lightgoldenrodyellow:"#fafad2",lightgray:"#d3d3d3",lightgreen:"#90ee90",lightgrey:"#d3d3d3",lightpink:"#ffb6c1",lightsalmon:"#ffa07a",lightseagreen:"#20b2aa",lightskyblue:"#87cefa",lightslategray:"#778899",lightslategrey:"#778899",lightsteelblue:"#b0c4de",lightyellow:"#ffffe0",lime:"#00ff00",limegreen:"#32cd32",linen:"#faf0e6",magenta:"#ff00ff",maroon:"#800000",mediumaquamarine:"#66cdaa",mediumblue:"#0000cd",mediumorchid:"#ba55d3",mediumpurple:"#9370db",mediumseagreen:"#3cb371",mediumslateblue:"#7b68ee",mediumspringgreen:"#00fa9a",mediumturquoise:"#48d1cc",mediumvioletred:"#c71585",midnightblue:"#191970",mintcream:"#f5fffa",mistyrose:"#ffe4e1",moccasin:"#ffe4b5",navajowhite:"#ffdead",navy:"#000080",oldlace:"#fdf5e6",olive:"#808000",olivedrab:"#6b8e23",orange:"#ffa500",orangered:"#ff4500",orchid:"#da70d6",palegoldenrod:"#eee8aa",palegreen:"#98fb98",paleturquoise:"#afeeee",palevioletred:"#db7093",papayawhip:"#ffefd5",peachpuff:"#ffdab9",peru:"#cd853f",pink:"#ffc0cb",plum:"#dda0dd",powderblue:"#b0e0e6",purple:"#800080",rebeccapurple:"#663399",red:"#ff0000",rosybrown:"#bc8f8f",royalblue:"#4169e1",saddlebrown:"#8b4513",salmon:"#fa8072",sandybrown:"#f4a460",seagreen:"#2e8b57",seashell:"#fff5ee",sienna:"#a0522d",silver:"#c0c0c0",skyblue:"#87ceeb",slateblue:"#6a5acd",slategray:"#708090",slategrey:"#708090",snow:"#fffafa",springgreen:"#00ff7f",tan:"#d2b48c",teal:"#008080",thistle:"#d8bfd8",transparent:"#00000000",turquoise:"#40e0d0",violet:"#ee82ee",wheat:"#f5deb3",white:"#ffffff",whitesmoke:"#f5f5f5",yellow:"#ffff00",yellowgreen:"#9acd32"},parse:t=>{t=t.toLowerCase();const e=h.colors[t];if(e)return s.parse(e)},stringify:t=>{const e=s.stringify(t);for(const n in h.colors)if(h.colors[n]===e)return n}},u=h,d={re:/^rgba?\(\s*?(-?(?:\d+(?:\.\d+)?|(?:\.\d+))(?:e\d+)?(%?))\s*?(?:,|\s)\s*?(-?(?:\d+(?:\.\d+)?|(?:\.\d+))(?:e\d+)?(%?))\s*?(?:,|\s)\s*?(-?(?:\d+(?:\.\d+)?|(?:\.\d+))(?:e\d+)?(%?))(?:\s*?(?:,|\/)\s*?\+?(-?(?:\d+(?:\.\d+)?|(?:\.\d+))(?:e\d+)?(%?)))?\s*?\)$/i,parse:t=>{const e=t.charCodeAt(0);if(114!==e&&82!==e)return;const n=t.match(d.re);if(!n)return;const[,i,o,s,l,c,h,u,p]=n;return r.A.set({r:a.A.channel.clamp.r(o?2.55*parseFloat(i):parseFloat(i)),g:a.A.channel.clamp.g(l?2.55*parseFloat(s):parseFloat(s)),b:a.A.channel.clamp.b(h?2.55*parseFloat(c):parseFloat(c)),a:u?a.A.channel.clamp.a(p?parseFloat(u)/100:parseFloat(u)):1},t)},stringify:t=>{const{r:e,g:n,b:r,a:i}=t;return i<1?`rgba(${a.A.lang.round(e)}, ${a.A.lang.round(n)}, ${a.A.lang.round(r)}, ${a.A.lang.round(i)})`:`rgb(${a.A.lang.round(e)}, ${a.A.lang.round(n)}, ${a.A.lang.round(r)})`}},p=d,f={format:{keyword:h,hex:s,rgb:d,rgba:d,hsl:l,hsla:l},parse:t=>{if("string"!=typeof t)return t;const e=s.parse(t)||p.parse(t)||c.parse(t)||u.parse(t);if(e)return e;throw new Error(`Unsupported color format: "${t}"`)},stringify:t=>!t.changed&&t.color?t.color:t.type.is(i.Z.HSL)||void 0===t.data.r?c.stringify(t):t.a<1||!Number.isInteger(t.r)||!Number.isInteger(t.g)||!Number.isInteger(t.b)?p.stringify(t):s.stringify(t)},m=f},3122:(t,e,n)=>{"use strict";n.d(e,{Y:()=>i,Z:()=>o});var r=n(2453);const i={};for(let s=0;s<=255;s++)i[s]=r.A.unit.dec2hex(s);const o={ALL:0,RGB:1,HSL:2}},5635:(t,e,n)=>{"use strict";n.d(e,{A:()=>o});var r=n(2453),i=n(4886);const o=(t,e,n)=>{const o=i.A.parse(t),s=o[e],a=r.A.channel.clamp[e](s+n);return s!==a&&(o[e]=a),i.A.stringify(o)}},8232:(t,e,n)=>{"use strict";n.d(e,{A:()=>o});var r=n(2453),i=n(4886);const o=(t,e)=>{const n=i.A.parse(t);for(const i in e)n[i]=r.A.channel.clamp[i](e[i]);return i.A.stringify(n)}},5263:(t,e,n)=>{"use strict";n.d(e,{A:()=>i});var r=n(5635);const i=(t,e)=>(0,r.A)(t,"l",-e)},3219:(t,e,n)=>{"use strict";n.d(e,{A:()=>a});var r=n(2453),i=n(4886);const o=t=>{const{r:e,g:n,b:o}=i.A.parse(t),s=.2126*r.A.channel.toLinear(e)+.7152*r.A.channel.toLinear(n)+.0722*r.A.channel.toLinear(o);return r.A.lang.round(s)},s=t=>o(t)>=.5,a=t=>!s(t)},8041:(t,e,n)=>{"use strict";n.d(e,{A:()=>i});var r=n(5635);const i=(t,e)=>(0,r.A)(t,"l",e)},5582:(t,e,n)=>{"use strict";n.d(e,{A:()=>a});var r=n(2453),i=n(3539),o=n(4886),s=n(8232);const a=(t,e,n=0,a=1)=>{if("number"!=typeof t)return(0,s.A)(t,{a:e});const l=i.A.set({r:r.A.channel.clamp.r(t),g:r.A.channel.clamp.g(e),b:r.A.channel.clamp.b(n),a:r.A.channel.clamp.a(a)});return o.A.stringify(l)}},2453:(t,e,n)=>{"use strict";n.d(e,{A:()=>i});const r={min:{r:0,g:0,b:0,s:0,l:0,a:0},max:{r:255,g:255,b:255,h:360,s:100,l:100,a:1},clamp:{r:t=>t>=255?255:t<0?0:t,g:t=>t>=255?255:t<0?0:t,b:t=>t>=255?255:t<0?0:t,h:t=>t%360,s:t=>t>=100?100:t<0?0:t,l:t=>t>=100?100:t<0?0:t,a:t=>t>=1?1:t<0?0:t},toLinear:t=>{const e=t/255;return t>.03928?Math.pow((e+.055)/1.055,2.4):e/12.92},hue2rgb:(t,e,n)=>(n<0&&(n+=1),n>1&&(n-=1),n<1/6?t+6*(e-t)*n:n<.5?e:n<2/3?t+(e-t)*(2/3-n)*6:t),hsl2rgb:({h:t,s:e,l:n},i)=>{if(!e)return 2.55*n;t/=360,e/=100;const o=(n/=100)<.5?n*(1+e):n+e-n*e,s=2*n-o;switch(i){case"r":return 255*r.hue2rgb(s,o,t+1/3);case"g":return 255*r.hue2rgb(s,o,t);case"b":return 255*r.hue2rgb(s,o,t-1/3)}},rgb2hsl:({r:t,g:e,b:n},r)=>{t/=255,e/=255,n/=255;const i=Math.max(t,e,n),o=Math.min(t,e,n),s=(i+o)/2;if("l"===r)return 100*s;if(i===o)return 0;const a=i-o;if("s"===r)return 100*(s>.5?a/(2-i-o):a/(i+o));switch(i){case t:return 60*((e-n)/a+(e<n?6:0));case e:return 60*((n-t)/a+2);case n:return 60*((t-e)/a+4);default:return-1}}},i={channel:r,lang:{clamp:(t,e,n)=>e>n?Math.min(e,Math.max(n,t)):Math.min(n,Math.max(e,t)),round:t=>Math.round(1e10*t)/1e10},unit:{dec2hex:t=>{const e=Math.round(t).toString(16);return e.length>1?e:`0${e}`}}}},127:(t,e,n)=>{"use strict";n.d(e,{A:()=>d});const r=function(){this.__data__=[],this.size=0};var i=n(6984);const o=function(t,e){for(var n=t.length;n--;)if((0,i.A)(t[n][0],e))return n;return-1};var s=Array.prototype.splice;const a=function(t){var e=this.__data__,n=o(e,t);return!(n<0)&&(n==e.length-1?e.pop():s.call(e,n,1),--this.size,!0)};const l=function(t){var e=this.__data__,n=o(e,t);return n<0?void 0:e[n][1]};const c=function(t){return o(this.__data__,t)>-1};const h=function(t,e){var n=this.__data__,r=o(n,t);return r<0?(++this.size,n.push([t,e])):n[r][1]=e,this};function u(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var r=t[e];this.set(r[0],r[1])}}u.prototype.clear=r,u.prototype.delete=a,u.prototype.get=l,u.prototype.has=c,u.prototype.set=h;const d=u},8335:(t,e,n)=>{"use strict";n.d(e,{A:()=>o});var r=n(8744),i=n(1917);const o=(0,r.A)(i.A,"Map")},9471:(t,e,n)=>{"use strict";n.d(e,{A:()=>v});const r=(0,n(8744).A)(Object,"create");const i=function(){this.__data__=r?r(null):{},this.size=0};const o=function(t){var e=this.has(t)&&delete this.__data__[t];return this.size-=e?1:0,e};var s=Object.prototype.hasOwnProperty;const a=function(t){var e=this.__data__;if(r){var n=e[t];return"__lodash_hash_undefined__"===n?void 0:n}return s.call(e,t)?e[t]:void 0};var l=Object.prototype.hasOwnProperty;const c=function(t){var e=this.__data__;return r?void 0!==e[t]:l.call(e,t)};const h=function(t,e){var n=this.__data__;return this.size+=this.has(t)?0:1,n[t]=r&&void 0===e?"__lodash_hash_undefined__":e,this};function u(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var r=t[e];this.set(r[0],r[1])}}u.prototype.clear=i,u.prototype.delete=o,u.prototype.get=a,u.prototype.has=c,u.prototype.set=h;const d=u;var p=n(127),f=n(8335);const m=function(){this.size=0,this.__data__={hash:new d,map:new(f.A||p.A),string:new d}};const g=function(t){var e=typeof t;return"string"==e||"number"==e||"symbol"==e||"boolean"==e?"__proto__"!==t:null===t};const y=function(t,e){var n=t.__data__;return g(e)?n["string"==typeof e?"string":"hash"]:n.map};const k=function(t){var e=y(this,t).delete(t);return this.size-=e?1:0,e};const x=function(t){return y(this,t).get(t)};const _=function(t){return y(this,t).has(t)};const b=function(t,e){var n=y(this,t),r=n.size;return n.set(t,e),this.size+=n.size==r?0:1,this};function C(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var r=t[e];this.set(r[0],r[1])}}C.prototype.clear=m,C.prototype.delete=k,C.prototype.get=x,C.prototype.has=_,C.prototype.set=b;const v=C},9857:(t,e,n)=>{"use strict";n.d(e,{A:()=>o});var r=n(8744),i=n(1917);const o=(0,r.A)(i.A,"Set")},9373:(t,e,n)=>{"use strict";n.d(e,{A:()=>d});var r=n(127);const i=function(){this.__data__=new r.A,this.size=0};const o=function(t){var e=this.__data__,n=e.delete(t);return this.size=e.size,n};const s=function(t){return this.__data__.get(t)};const a=function(t){return this.__data__.has(t)};var l=n(8335),c=n(9471);const h=function(t,e){var n=this.__data__;if(n instanceof r.A){var i=n.__data__;if(!l.A||i.length<199)return i.push([t,e]),this.size=++n.size,this;n=this.__data__=new c.A(i)}return n.set(t,e),this.size=n.size,this};function u(t){var e=this.__data__=new r.A(t);this.size=e.size}u.prototype.clear=i,u.prototype.delete=o,u.prototype.get=s,u.prototype.has=a,u.prototype.set=h;const d=u},241:(t,e,n)=>{"use strict";n.d(e,{A:()=>r});const r=n(1917).A.Symbol},3988:(t,e,n)=>{"use strict";n.d(e,{A:()=>r});const r=n(1917).A.Uint8Array},3607:(t,e,n)=>{"use strict";n.d(e,{A:()=>h});const r=function(t,e){for(var n=-1,r=Array(t);++n<t;)r[n]=e(n);return r};var i=n(2274),o=n(2049),s=n(9912),a=n(5353),l=n(3858),c=Object.prototype.hasOwnProperty;const h=function(t,e){var n=(0,o.A)(t),h=!n&&(0,i.A)(t),u=!n&&!h&&(0,s.A)(t),d=!n&&!h&&!u&&(0,l.A)(t),p=n||h||u||d,f=p?r(t.length,String):[],m=f.length;for(var g in t)!e&&!c.call(t,g)||p&&("length"==g||u&&("offset"==g||"parent"==g)||d&&("buffer"==g||"byteLength"==g||"byteOffset"==g)||(0,a.A)(g,m))||f.push(g);return f}},2851:(t,e,n)=>{"use strict";n.d(e,{A:()=>s});var r=n(2528),i=n(6984),o=Object.prototype.hasOwnProperty;const s=function(t,e,n){var s=t[e];o.call(t,e)&&(0,i.A)(s,n)&&(void 0!==n||e in t)||(0,r.A)(t,e,n)}},2528:(t,e,n)=>{"use strict";n.d(e,{A:()=>i});var r=n(4171);const i=function(t,e,n){"__proto__"==e&&r.A?(0,r.A)(t,e,{configurable:!0,enumerable:!0,value:n,writable:!0}):t[e]=n}},4574:(t,e,n)=>{"use strict";n.d(e,{A:()=>r});const r=function(t){return function(e,n,r){for(var i=-1,o=Object(e),s=r(e),a=s.length;a--;){var l=s[t?a:++i];if(!1===n(o[l],l,o))break}return e}}()},8496:(t,e,n)=>{"use strict";n.d(e,{A:()=>d});var r=n(241),i=Object.prototype,o=i.hasOwnProperty,s=i.toString,a=r.A?r.A.toStringTag:void 0;const l=function(t){var e=o.call(t,a),n=t[a];try{t[a]=void 0;var r=!0}catch(l){}var i=s.call(t);return r&&(e?t[a]=n:delete t[a]),i};var c=Object.prototype.toString;const h=function(t){return c.call(t)};var u=r.A?r.A.toStringTag:void 0;const d=function(t){return null==t?void 0===t?"[object Undefined]":"[object Null]":u&&u in Object(t)?l(t):h(t)}},1852:(t,e,n)=>{"use strict";n.d(e,{A:()=>s});var r=n(7271);const i=(0,n(367).A)(Object.keys,Object);var o=Object.prototype.hasOwnProperty;const s=function(t){if(!(0,r.A)(t))return i(t);var e=[];for(var n in Object(t))o.call(t,n)&&"constructor"!=n&&e.push(n);return e}},4326:(t,e,n)=>{"use strict";n.d(e,{A:()=>s});var r=n(9008),i=n(6875),o=n(7525);const s=function(t,e){return(0,o.A)((0,i.A)(t,e,r.A),t+"")}},2789:(t,e,n)=>{"use strict";n.d(e,{A:()=>r});const r=function(t){return function(e){return t(e)}}},565:(t,e,n)=>{"use strict";n.d(e,{A:()=>i});var r=n(3988);const i=function(t){var e=new t.constructor(t.byteLength);return new r.A(e).set(new r.A(t)),e}},154:(t,e,n)=>{"use strict";n.d(e,{A:()=>l});var r=n(1917),i="object"==typeof exports&&exports&&!exports.nodeType&&exports,o=i&&"object"==typeof module&&module&&!module.nodeType&&module,s=o&&o.exports===i?r.A.Buffer:void 0,a=s?s.allocUnsafe:void 0;const l=function(t,e){if(e)return t.slice();var n=t.length,r=a?a(n):new t.constructor(n);return t.copy(r),r}},1801:(t,e,n)=>{"use strict";n.d(e,{A:()=>i});var r=n(565);const i=function(t,e){var n=e?(0,r.A)(t.buffer):t.buffer;return new t.constructor(n,t.byteOffset,t.length)}},9759:(t,e,n)=>{"use strict";n.d(e,{A:()=>r});const r=function(t,e){var n=-1,r=t.length;for(e||(e=Array(r));++n<r;)e[n]=t[n];return e}},2031:(t,e,n)=>{"use strict";n.d(e,{A:()=>o});var r=n(2851),i=n(2528);const o=function(t,e,n,o){var s=!n;n||(n={});for(var a=-1,l=e.length;++a<l;){var c=e[a],h=o?o(n[c],t[c],c,n,t):void 0;void 0===h&&(h=t[c]),s?(0,i.A)(n,c,h):(0,r.A)(n,c,h)}return n}},4171:(t,e,n)=>{"use strict";n.d(e,{A:()=>i});var r=n(8744);const i=function(){try{var t=(0,r.A)(Object,"defineProperty");return t({},"",{}),t}catch(e){}}()},2136:(t,e,n)=>{"use strict";n.d(e,{A:()=>r});const r="object"==typeof global&&global&&global.Object===Object&&global},8744:(t,e,n)=>{"use strict";n.d(e,{A:()=>k});var r=n(9610);const i=n(1917).A["__core-js_shared__"];var o,s=(o=/[^.]+$/.exec(i&&i.keys&&i.keys.IE_PROTO||""))?"Symbol(src)_1."+o:"";const a=function(t){return!!s&&s in t};var l=n(3149),c=n(1121),h=/^\[object .+?Constructor\]$/,u=Function.prototype,d=Object.prototype,p=u.toString,f=d.hasOwnProperty,m=RegExp("^"+p.call(f).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");const g=function(t){return!(!(0,l.A)(t)||a(t))&&((0,r.A)(t)?m:h).test((0,c.A)(t))};const y=function(t,e){return null==t?void 0:t[e]};const k=function(t,e){var n=y(t,e);return g(n)?n:void 0}},5647:(t,e,n)=>{"use strict";n.d(e,{A:()=>r});const r=(0,n(367).A)(Object.getPrototypeOf,Object)},9779:(t,e,n)=>{"use strict";n.d(e,{A:()=>v});var r=n(8744),i=n(1917);const o=(0,r.A)(i.A,"DataView");var s=n(8335);const a=(0,r.A)(i.A,"Promise");var l=n(9857);const c=(0,r.A)(i.A,"WeakMap");var h=n(8496),u=n(1121),d="[object Map]",p="[object Promise]",f="[object Set]",m="[object WeakMap]",g="[object DataView]",y=(0,u.A)(o),k=(0,u.A)(s.A),x=(0,u.A)(a),_=(0,u.A)(l.A),b=(0,u.A)(c),C=h.A;(o&&C(new o(new ArrayBuffer(1)))!=g||s.A&&C(new s.A)!=d||a&&C(a.resolve())!=p||l.A&&C(new l.A)!=f||c&&C(new c)!=m)&&(C=function(t){var e=(0,h.A)(t),n="[object Object]"==e?t.constructor:void 0,r=n?(0,u.A)(n):"";if(r)switch(r){case y:return g;case k:return d;case x:return p;case _:return f;case b:return m}return e});const v=C},8598:(t,e,n)=>{"use strict";n.d(e,{A:()=>l});var r=n(3149),i=Object.create;const o=function(){function t(){}return function(e){if(!(0,r.A)(e))return{};if(i)return i(e);t.prototype=e;var n=new t;return t.prototype=void 0,n}}();var s=n(5647),a=n(7271);const l=function(t){return"function"!=typeof t.constructor||(0,a.A)(t)?{}:o((0,s.A)(t))}},5353:(t,e,n)=>{"use strict";n.d(e,{A:()=>i});var r=/^(?:0|[1-9]\d*)$/;const i=function(t,e){var n=typeof t;return!!(e=null==e?9007199254740991:e)&&("number"==n||"symbol"!=n&&r.test(t))&&t>-1&&t%1==0&&t<e}},6832:(t,e,n)=>{"use strict";n.d(e,{A:()=>a});var r=n(6984),i=n(8446),o=n(5353),s=n(3149);const a=function(t,e,n){if(!(0,s.A)(n))return!1;var a=typeof e;return!!("number"==a?(0,i.A)(n)&&(0,o.A)(e,n.length):"string"==a&&e in n)&&(0,r.A)(n[e],t)}},7271:(t,e,n)=>{"use strict";n.d(e,{A:()=>i});var r=Object.prototype;const i=function(t){var e=t&&t.constructor;return t===("function"==typeof e&&e.prototype||r)}},4841:(t,e,n)=>{"use strict";n.d(e,{A:()=>a});var r=n(2136),i="object"==typeof exports&&exports&&!exports.nodeType&&exports,o=i&&"object"==typeof module&&module&&!module.nodeType&&module,s=o&&o.exports===i&&r.A.process;const a=function(){try{var t=o&&o.require&&o.require("util").types;return t||s&&s.binding&&s.binding("util")}catch(e){}}()},367:(t,e,n)=>{"use strict";n.d(e,{A:()=>r});const r=function(t,e){return function(n){return t(e(n))}}},6875:(t,e,n)=>{"use strict";n.d(e,{A:()=>o});const r=function(t,e,n){switch(n.length){case 0:return t.call(e);case 1:return t.call(e,n[0]);case 2:return t.call(e,n[0],n[1]);case 3:return t.call(e,n[0],n[1],n[2])}return t.apply(e,n)};var i=Math.max;const o=function(t,e,n){return e=i(void 0===e?t.length-1:e,0),function(){for(var o=arguments,s=-1,a=i(o.length-e,0),l=Array(a);++s<a;)l[s]=o[e+s];s=-1;for(var c=Array(e+1);++s<e;)c[s]=o[s];return c[e]=n(l),r(t,this,c)}}},1917:(t,e,n)=>{"use strict";n.d(e,{A:()=>o});var r=n(2136),i="object"==typeof self&&self&&self.Object===Object&&self;const o=r.A||i||Function("return this")()},7525:(t,e,n)=>{"use strict";n.d(e,{A:()=>l});var r=n(9142),i=n(4171),o=n(9008);const s=i.A?function(t,e){return(0,i.A)(t,"toString",{configurable:!0,enumerable:!1,value:(0,r.A)(e),writable:!0})}:o.A;var a=Date.now;const l=function(t){var e=0,n=0;return function(){var r=a(),i=16-(r-n);if(n=r,i>0){if(++e>=800)return arguments[0]}else e=0;return t.apply(void 0,arguments)}}(s)},1121:(t,e,n)=>{"use strict";n.d(e,{A:()=>i});var r=Function.prototype.toString;const i=function(t){if(null!=t){try{return r.call(t)}catch(e){}try{return t+""}catch(e){}}return""}},9142:(t,e,n)=>{"use strict";n.d(e,{A:()=>r});const r=function(t){return function(){return t}}},6984:(t,e,n)=>{"use strict";n.d(e,{A:()=>r});const r=function(t,e){return t===e||t!=t&&e!=e}},9008:(t,e,n)=>{"use strict";n.d(e,{A:()=>r});const r=function(t){return t}},2274:(t,e,n)=>{"use strict";n.d(e,{A:()=>c});var r=n(8496),i=n(3098);const o=function(t){return(0,i.A)(t)&&"[object Arguments]"==(0,r.A)(t)};var s=Object.prototype,a=s.hasOwnProperty,l=s.propertyIsEnumerable;const c=o(function(){return arguments}())?o:function(t){return(0,i.A)(t)&&a.call(t,"callee")&&!l.call(t,"callee")}},2049:(t,e,n)=>{"use strict";n.d(e,{A:()=>r});const r=Array.isArray},8446:(t,e,n)=>{"use strict";n.d(e,{A:()=>o});var r=n(9610),i=n(5254);const o=function(t){return null!=t&&(0,i.A)(t.length)&&!(0,r.A)(t)}},3533:(t,e,n)=>{"use strict";n.d(e,{A:()=>o});var r=n(8446),i=n(3098);const o=function(t){return(0,i.A)(t)&&(0,r.A)(t)}},9912:(t,e,n)=>{"use strict";n.d(e,{A:()=>l});var r=n(1917);const i=function(){return!1};var o="object"==typeof exports&&exports&&!exports.nodeType&&exports,s=o&&"object"==typeof module&&module&&!module.nodeType&&module,a=s&&s.exports===o?r.A.Buffer:void 0;const l=(a?a.isBuffer:void 0)||i},6401:(t,e,n)=>{"use strict";n.d(e,{A:()=>d});var r=n(1852),i=n(9779),o=n(2274),s=n(2049),a=n(8446),l=n(9912),c=n(7271),h=n(3858),u=Object.prototype.hasOwnProperty;const d=function(t){if(null==t)return!0;if((0,a.A)(t)&&((0,s.A)(t)||"string"==typeof t||"function"==typeof t.splice||(0,l.A)(t)||(0,h.A)(t)||(0,o.A)(t)))return!t.length;var e=(0,i.A)(t);if("[object Map]"==e||"[object Set]"==e)return!t.size;if((0,c.A)(t))return!(0,r.A)(t).length;for(var n in t)if(u.call(t,n))return!1;return!0}},9610:(t,e,n)=>{"use strict";n.d(e,{A:()=>o});var r=n(8496),i=n(3149);const o=function(t){if(!(0,i.A)(t))return!1;var e=(0,r.A)(t);return"[object Function]"==e||"[object GeneratorFunction]"==e||"[object AsyncFunction]"==e||"[object Proxy]"==e}},5254:(t,e,n)=>{"use strict";n.d(e,{A:()=>r});const r=function(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=9007199254740991}},3149:(t,e,n)=>{"use strict";n.d(e,{A:()=>r});const r=function(t){var e=typeof t;return null!=t&&("object"==e||"function"==e)}},3098:(t,e,n)=>{"use strict";n.d(e,{A:()=>r});const r=function(t){return null!=t&&"object"==typeof t}},4963:(t,e,n)=>{"use strict";n.d(e,{A:()=>u});var r=n(8496),i=n(5647),o=n(3098),s=Function.prototype,a=Object.prototype,l=s.toString,c=a.hasOwnProperty,h=l.call(Object);const u=function(t){if(!(0,o.A)(t)||"[object Object]"!=(0,r.A)(t))return!1;var e=(0,i.A)(t);if(null===e)return!0;var n=c.call(e,"constructor")&&e.constructor;return"function"==typeof n&&n instanceof n&&l.call(n)==h}},3858:(t,e,n)=>{"use strict";n.d(e,{A:()=>u});var r=n(8496),i=n(5254),o=n(3098),s={};s["[object Float32Array]"]=s["[object Float64Array]"]=s["[object Int8Array]"]=s["[object Int16Array]"]=s["[object Int32Array]"]=s["[object Uint8Array]"]=s["[object Uint8ClampedArray]"]=s["[object Uint16Array]"]=s["[object Uint32Array]"]=!0,s["[object Arguments]"]=s["[object Array]"]=s["[object ArrayBuffer]"]=s["[object Boolean]"]=s["[object DataView]"]=s["[object Date]"]=s["[object Error]"]=s["[object Function]"]=s["[object Map]"]=s["[object Number]"]=s["[object Object]"]=s["[object RegExp]"]=s["[object Set]"]=s["[object String]"]=s["[object WeakMap]"]=!1;const a=function(t){return(0,o.A)(t)&&(0,i.A)(t.length)&&!!s[(0,r.A)(t)]};var l=n(2789),c=n(4841),h=c.A&&c.A.isTypedArray;const u=h?(0,l.A)(h):a},5615:(t,e,n)=>{"use strict";n.d(e,{A:()=>h});var r=n(3607),i=n(3149),o=n(7271);const s=function(t){var e=[];if(null!=t)for(var n in Object(t))e.push(n);return e};var a=Object.prototype.hasOwnProperty;const l=function(t){if(!(0,i.A)(t))return s(t);var e=(0,o.A)(t),n=[];for(var r in t)("constructor"!=r||!e&&a.call(t,r))&&n.push(r);return n};var c=n(8446);const h=function(t){return(0,c.A)(t)?(0,r.A)(t,!0):l(t)}},6632:(t,e,n)=>{"use strict";n.d(e,{A:()=>o});var r=n(9471);function i(t,e){if("function"!=typeof t||null!=e&&"function"!=typeof e)throw new TypeError("Expected a function");var n=function(){var r=arguments,i=e?e.apply(this,r):r[0],o=n.cache;if(o.has(i))return o.get(i);var s=t.apply(this,r);return n.cache=o.set(i,s)||o,s};return n.cache=new(i.Cache||r.A),n}i.Cache=r.A;const o=i},8879:(t,e,n)=>{"use strict";n.d(e,{A:()=>I});var r=n(9373),i=n(2528),o=n(6984);const s=function(t,e,n){(void 0!==n&&!(0,o.A)(t[e],n)||void 0===n&&!(e in t))&&(0,i.A)(t,e,n)};var a=n(4574),l=n(154),c=n(1801),h=n(9759),u=n(8598),d=n(2274),p=n(2049),f=n(3533),m=n(9912),g=n(9610),y=n(3149),k=n(4963),x=n(3858);const _=function(t,e){if(("constructor"!==e||"function"!=typeof t[e])&&"__proto__"!=e)return t[e]};var b=n(2031),C=n(5615);const v=function(t){return(0,b.A)(t,(0,C.A)(t))};const T=function(t,e,n,r,i,o,a){var b=_(t,n),C=_(e,n),T=a.get(C);if(T)s(t,n,T);else{var A=o?o(b,C,n+"",t,e,a):void 0,w=void 0===A;if(w){var S=(0,p.A)(C),I=!S&&(0,m.A)(C),L=!S&&!I&&(0,x.A)(C);A=C,S||I||L?(0,p.A)(b)?A=b:(0,f.A)(b)?A=(0,h.A)(b):I?(w=!1,A=(0,l.A)(C,!0)):L?(w=!1,A=(0,c.A)(C,!0)):A=[]:(0,k.A)(C)||(0,d.A)(C)?(A=b,(0,d.A)(b)?A=v(b):(0,y.A)(b)&&!(0,g.A)(b)||(A=(0,u.A)(C))):w=!1}w&&(a.set(C,A),i(A,C,r,o,a),a.delete(C)),s(t,n,A)}};const A=function t(e,n,i,o,l){e!==n&&(0,a.A)(n,(function(a,c){if(l||(l=new r.A),(0,y.A)(a))T(e,n,c,i,t,o,l);else{var h=o?o(_(e,c),a,c+"",e,n,l):void 0;void 0===h&&(h=a),s(e,c,h)}}),C.A)};var w=n(4326),S=n(6832);const I=function(t){return(0,w.A)((function(e,n){var r=-1,i=n.length,o=i>1?n[i-1]:void 0,s=i>2?n[2]:void 0;for(o=t.length>3&&"function"==typeof o?(i--,o):void 0,s&&(0,S.A)(n[0],n[1],s)&&(o=i<3?void 0:o,i=1),e=Object(e);++r<i;){var a=n[r];a&&t(e,a,r,o)}return e}))}((function(t,e,n){A(t,e,n)}))},9702:(t,e,n)=>{"use strict";n.d(e,{A:()=>Vn,B:()=>zt,C:()=>Ce,D:()=>be,E:()=>Mt,F:()=>Me,G:()=>Tt,H:()=>At,I:()=>ue,J:()=>ht,K:()=>qn,L:()=>Mn,M:()=>Te,N:()=>co,Z:()=>ee,a:()=>Bn,b:()=>En,c:()=>Rn,d:()=>ft,e:()=>St,f:()=>te,g:()=>Ln,h:()=>ye,i:()=>xn,j:()=>ge,k:()=>ce,l:()=>at,m:()=>yt,n:()=>oe,o:()=>_n,p:()=>Dn,q:()=>Fn,r:()=>wt,s:()=>In,t:()=>Nn,u:()=>ve,v:()=>Sn,w:()=>fe,x:()=>kt,y:()=>de,z:()=>Pn});var r=n(513),i=n(4353),o=n(6750),s=n(6312),a=n(2838),l=n(4886),c=n(8232);const h=(t,e)=>{const n=l.A.parse(t),r={};for(const i in e)e[i]&&(r[i]=n[i]+e[i]);return(0,c.A)(t,r)};var u=n(5582);const d=(t,e,n=50)=>{const{r:r,g:i,b:o,a:s}=l.A.parse(t),{r:a,g:c,b:h,a:d}=l.A.parse(e),p=n/100,f=2*p-1,m=s-d,g=((f*m==-1?f:(f+m)/(1+f*m))+1)/2,y=1-g,k=r*g+a*y,x=i*g+c*y,_=o*g+h*y,b=s*p+d*(1-p);return(0,u.A)(k,x,_,b)},p=(t,e=100)=>{const n=l.A.parse(t);return n.r=255-n.r,n.g=255-n.g,n.b=255-n.b,d(n,t,e)};var f=n(5263),m=n(8041),g=n(3219),y=n(6632),k=n(8879),x="comm",_="rule",b="decl",C=Math.abs,v=String.fromCharCode;Object.assign;function T(t){return t.trim()}function A(t,e,n){return t.replace(e,n)}function w(t,e,n){return t.indexOf(e,n)}function S(t,e){return 0|t.charCodeAt(e)}function I(t,e,n){return t.slice(e,n)}function L(t){return t.length}function E(t,e){return e.push(t),t}function B(t,e){for(var n="",r=0;r<t.length;r++)n+=e(t[r],r,t,e)||"";return n}function F(t,e,n,r){switch(t.type){case"@layer":if(t.children.length)break;case"@import":case b:return t.return=t.return||t.value;case x:return"";case"@keyframes":return t.return=t.value+"{"+B(t.children,r)+"}";case _:if(!L(t.value=t.props.join(",")))return""}return L(n=B(t.children,r))?t.return=t.value+"{"+n+"}":""}var N=1,M=1,j=0,O=0,R=0,D="";function q(t,e,n,r,i,o,s,a){return{value:t,root:e,parent:n,type:r,props:i,children:o,line:N,column:M,length:s,return:"",siblings:a}}function $(){return R=O>0?S(D,--O):0,M--,10===R&&(M=1,N--),R}function P(){return R=O<j?S(D,O++):0,M++,10===R&&(M=1,N++),R}function z(){return S(D,O)}function U(){return O}function W(t,e){return I(D,t,e)}function H(t){switch(t){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function V(t){return N=M=1,j=L(D=t),O=0,[]}function Y(t){return D="",t}function G(t){return T(W(O-1,Z(91===t?t+2:40===t?t+1:t)))}function X(t){for(;(R=z())&&R<33;)P();return H(t)>2||H(R)>3?"":" "}function K(t,e){for(;--e&&P()&&!(R<48||R>102||R>57&&R<65||R>70&&R<97););return W(t,U()+(e<6&&32==z()&&32==P()))}function Z(t){for(;P();)switch(R){case t:return O;case 34:case 39:34!==t&&39!==t&&Z(R);break;case 40:41===t&&Z(t);break;case 92:P()}return O}function J(t,e){for(;P()&&t+R!==57&&(t+R!==84||47!==z()););return"/*"+W(e,O-1)+"*"+v(47===t?t:P())}function Q(t){for(;!H(z());)P();return W(t,O)}function tt(t){return Y(et("",null,null,null,[""],t=V(t),0,[0],t))}function et(t,e,n,r,i,o,s,a,l){for(var c=0,h=0,u=s,d=0,p=0,f=0,m=1,g=1,y=1,k=0,x="",_=i,b=o,T=r,I=x;g;)switch(f=k,k=P()){case 40:if(108!=f&&58==S(I,u-1)){-1!=w(I+=A(G(k),"&","&\f"),"&\f",C(c?a[c-1]:0))&&(y=-1);break}case 34:case 39:case 91:I+=G(k);break;case 9:case 10:case 13:case 32:I+=X(f);break;case 92:I+=K(U()-1,7);continue;case 47:switch(z()){case 42:case 47:E(rt(J(P(),U()),e,n,l),l);break;default:I+="/"}break;case 123*m:a[c++]=L(I)*y;case 125*m:case 59:case 0:switch(k){case 0:case 125:g=0;case 59+h:-1==y&&(I=A(I,/\f/g,"")),p>0&&L(I)-u&&E(p>32?it(I+";",r,n,u-1,l):it(A(I," ","")+";",r,n,u-2,l),l);break;case 59:I+=";";default:if(E(T=nt(I,e,n,c,h,i,a,x,_=[],b=[],u,o),o),123===k)if(0===h)et(I,e,T,T,_,o,u,a,b);else switch(99===d&&110===S(I,3)?100:d){case 100:case 108:case 109:case 115:et(t,T,T,r&&E(nt(t,T,T,0,0,i,a,x,i,_=[],u,b),b),i,b,u,a,r?_:b);break;default:et(I,T,T,T,[""],b,0,a,b)}}c=h=p=0,m=y=1,x=I="",u=s;break;case 58:u=1+L(I),p=f;default:if(m<1)if(123==k)--m;else if(125==k&&0==m++&&125==$())continue;switch(I+=v(k),k*m){case 38:y=h>0?1:(I+="\f",-1);break;case 44:a[c++]=(L(I)-1)*y,y=1;break;case 64:45===z()&&(I+=G(P())),d=z(),h=u=L(x=I+=Q(U())),k++;break;case 45:45===f&&2==L(I)&&(m=0)}}return o}function nt(t,e,n,r,i,o,s,a,l,c,h,u){for(var d=i-1,p=0===i?o:[""],f=function(t){return t.length}(p),m=0,g=0,y=0;m<r;++m)for(var k=0,x=I(t,d+1,d=C(g=s[m])),b=t;k<f;++k)(b=T(g>0?p[k]+" "+x:A(x,/&\f/g,p[k])))&&(l[y++]=b);return q(t,e,n,0===i?_:a,l,c,h,u)}function rt(t,e,n,r){return q(t,e,n,x,v(R),I(t,2,-2),0,r)}function it(t,e,n,r,i){return q(t,e,n,b,I(t,0,r),I(t,r+1,-1),r,i)}var ot=n(6401);const st={trace:0,debug:1,info:2,warn:3,error:4,fatal:5},at={trace:(...t)=>{},debug:(...t)=>{},info:(...t)=>{},warn:(...t)=>{},error:(...t)=>{},fatal:(...t)=>{}},lt=function(t="fatal"){let e=st.fatal;"string"==typeof t?(t=t.toLowerCase())in st&&(e=st[t]):"number"==typeof t&&(e=t),at.trace=()=>{},at.debug=()=>{},at.info=()=>{},at.warn=()=>{},at.error=()=>{},at.fatal=()=>{},e<=st.fatal&&(at.fatal=console.error?console.error.bind(console,ct("FATAL"),"color: orange"):console.log.bind(console,"\x1b[35m",ct("FATAL"))),e<=st.error&&(at.error=console.error?console.error.bind(console,ct("ERROR"),"color: orange"):console.log.bind(console,"\x1b[31m",ct("ERROR"))),e<=st.warn&&(at.warn=console.warn?console.warn.bind(console,ct("WARN"),"color: orange"):console.log.bind(console,"\x1b[33m",ct("WARN"))),e<=st.info&&(at.info=console.info?console.info.bind(console,ct("INFO"),"color: lightblue"):console.log.bind(console,"\x1b[34m",ct("INFO"))),e<=st.debug&&(at.debug=console.debug?console.debug.bind(console,ct("DEBUG"),"color: lightgreen"):console.log.bind(console,"\x1b[32m",ct("DEBUG"))),e<=st.trace&&(at.trace=console.debug?console.debug.bind(console,ct("TRACE"),"color: lightgreen"):console.log.bind(console,"\x1b[32m",ct("TRACE")))},ct=t=>`%c${i().format("ss.SSS")} : ${t} : `,ht=/<br\s*\/?>/gi,ut=(()=>{let t=!1;return()=>{t||(!function(){const t="data-temp-href-target";a.addHook("beforeSanitizeAttributes",(e=>{"A"===e.tagName&&e.hasAttribute("target")&&e.setAttribute(t,e.getAttribute("target")||"")})),a.addHook("afterSanitizeAttributes",(e=>{"A"===e.tagName&&e.hasAttribute(t)&&(e.setAttribute("target",e.getAttribute(t)||""),e.removeAttribute(t),"_blank"===e.getAttribute("target")&&e.setAttribute("rel","noopener"))}))}(),t=!0)}})();const dt=t=>{ut();return a.sanitize(t)},pt=(t,e)=>{var n;if(!1!==(null==(n=e.flowchart)?void 0:n.htmlLabels)){const n=e.securityLevel;"antiscript"===n||"strict"===n?t=dt(t):"loose"!==n&&(t=(t=(t=gt(t)).replace(/</g,"<").replace(/>/g,">")).replace(/=/g,"="),t=mt(t))}return t},ft=(t,e)=>t?t=e.dompurifyConfig?a.sanitize(pt(t,e),e.dompurifyConfig).toString():a.sanitize(pt(t,e),{FORBID_TAGS:["style"]}).toString():t,mt=t=>t.replace(/#br#/g,"<br/>"),gt=t=>t.replace(ht,"#br#"),yt=t=>!1!==t&&!["false","null","0"].includes(String(t).trim().toLowerCase()),kt=function(t){const e=t.split(/(,)/),n=[];for(let r=0;r<e.length;r++){let t=e[r];if(","===t&&r>0&&r+1<e.length){const i=e[r-1],o=e[r+1];_t(i,o)&&(t=i+","+o,r++,n.pop())}n.push(bt(t))}return n.join("")},xt=(t,e)=>Math.max(0,t.split(e).length-1),_t=(t,e)=>{const n=xt(t,"~"),r=xt(e,"~");return 1===n&&1===r},bt=t=>{const e=xt(t,"~");let n=!1;if(e<=1)return t;e%2!=0&&t.startsWith("~")&&(t=t.substring(1),n=!0);const r=[...t];let i=r.indexOf("~"),o=r.lastIndexOf("~");for(;-1!==i&&-1!==o&&i!==o;)r[i]="<",r[o]=">",i=r.indexOf("~"),o=r.lastIndexOf("~");return n&&r.unshift("~"),r.join("")},Ct=()=>void 0!==window.MathMLElement,vt=/\$\$(.*)\$\$/g,Tt=t=>{var e;return((null==(e=t.match(vt))?void 0:e.length)??0)>0},At=async(t,e)=>{t=await wt(t,e);const n=document.createElement("div");n.innerHTML=t,n.id="katex-temp",n.style.visibility="hidden",n.style.position="absolute",n.style.top="0";const r=document.querySelector("body");null==r||r.insertAdjacentElement("beforeend",n);const i={width:n.clientWidth,height:n.clientHeight};return n.remove(),i},wt=async(t,e)=>{if(!Tt(t))return t;if(!Ct()&&!e.legacyMathML)return t.replace(vt,"MathML is unsupported in this environment.");const{default:r}=await n.e(2130).then(n.bind(n,2130));return t.split(ht).map((t=>Tt(t)?`\n <div style="display: flex; align-items: center; justify-content: center; white-space: nowrap;">\n ${t}\n </div>\n `:`<div>${t}</div>`)).join("").replace(vt,((t,e)=>r.renderToString(e,{throwOnError:!0,displayMode:!0,output:Ct()?"mathml":"htmlAndMathml"}).replace(/\n/g," ").replace(/<annotation.*<\/annotation>/g,"")))},St={getRows:t=>{if(!t)return[""];return gt(t).replace(/\\n/g,"#br#").split("#br#")},sanitizeText:ft,sanitizeTextOrArray:(t,e)=>"string"==typeof t?ft(t,e):t.flat().map((t=>ft(t,e))),hasBreaks:t=>ht.test(t),splitBreaks:t=>t.split(ht),lineBreakRegex:ht,removeScript:dt,getUrl:t=>{let e="";return t&&(e=window.location.protocol+"//"+window.location.host+window.location.pathname+window.location.search,e=e.replaceAll(/\(/g,"\\("),e=e.replaceAll(/\)/g,"\\)")),e},evaluate:yt,getMax:function(...t){const e=t.filter((t=>!isNaN(t)));return Math.max(...e)},getMin:function(...t){const e=t.filter((t=>!isNaN(t)));return Math.min(...e)}},It=(t,e)=>h(t,e?{s:-40,l:10}:{s:-40,l:-10}),Lt="#ffffff",Et="#f2f2f2";let Bt=class{constructor(){this.background="#f4f4f4",this.primaryColor="#fff4dd",this.noteBkgColor="#fff5ad",this.noteTextColor="#333",this.THEME_COLOR_LIMIT=12,this.fontFamily='"trebuchet ms", verdana, arial, sans-serif',this.fontSize="16px"}updateColors(){var t,e,n,r,i,o,s,a,l,c,u;if(this.primaryTextColor=this.primaryTextColor||(this.darkMode?"#eee":"#333"),this.secondaryColor=this.secondaryColor||h(this.primaryColor,{h:-120}),this.tertiaryColor=this.tertiaryColor||h(this.primaryColor,{h:180,l:5}),this.primaryBorderColor=this.primaryBorderColor||It(this.primaryColor,this.darkMode),this.secondaryBorderColor=this.secondaryBorderColor||It(this.secondaryColor,this.darkMode),this.tertiaryBorderColor=this.tertiaryBorderColor||It(this.tertiaryColor,this.darkMode),this.noteBorderColor=this.noteBorderColor||It(this.noteBkgColor,this.darkMode),this.noteBkgColor=this.noteBkgColor||"#fff5ad",this.noteTextColor=this.noteTextColor||"#333",this.secondaryTextColor=this.secondaryTextColor||p(this.secondaryColor),this.tertiaryTextColor=this.tertiaryTextColor||p(this.tertiaryColor),this.lineColor=this.lineColor||p(this.background),this.arrowheadColor=this.arrowheadColor||p(this.background),this.textColor=this.textColor||this.primaryTextColor,this.border2=this.border2||this.tertiaryBorderColor,this.nodeBkg=this.nodeBkg||this.primaryColor,this.mainBkg=this.mainBkg||this.primaryColor,this.nodeBorder=this.nodeBorder||this.primaryBorderColor,this.clusterBkg=this.clusterBkg||this.tertiaryColor,this.clusterBorder=this.clusterBorder||this.tertiaryBorderColor,this.defaultLinkColor=this.defaultLinkColor||this.lineColor,this.titleColor=this.titleColor||this.tertiaryTextColor,this.edgeLabelBackground=this.edgeLabelBackground||(this.darkMode?(0,f.A)(this.secondaryColor,30):this.secondaryColor),this.nodeTextColor=this.nodeTextColor||this.primaryTextColor,this.actorBorder=this.actorBorder||this.primaryBorderColor,this.actorBkg=this.actorBkg||this.mainBkg,this.actorTextColor=this.actorTextColor||this.primaryTextColor,this.actorLineColor=this.actorLineColor||"grey",this.labelBoxBkgColor=this.labelBoxBkgColor||this.actorBkg,this.signalColor=this.signalColor||this.textColor,this.signalTextColor=this.signalTextColor||this.textColor,this.labelBoxBorderColor=this.labelBoxBorderColor||this.actorBorder,this.labelTextColor=this.labelTextColor||this.actorTextColor,this.loopTextColor=this.loopTextColor||this.actorTextColor,this.activationBorderColor=this.activationBorderColor||(0,f.A)(this.secondaryColor,10),this.activationBkgColor=this.activationBkgColor||this.secondaryColor,this.sequenceNumberColor=this.sequenceNumberColor||p(this.lineColor),this.sectionBkgColor=this.sectionBkgColor||this.tertiaryColor,this.altSectionBkgColor=this.altSectionBkgColor||"white",this.sectionBkgColor=this.sectionBkgColor||this.secondaryColor,this.sectionBkgColor2=this.sectionBkgColor2||this.primaryColor,this.excludeBkgColor=this.excludeBkgColor||"#eeeeee",this.taskBorderColor=this.taskBorderColor||this.primaryBorderColor,this.taskBkgColor=this.taskBkgColor||this.primaryColor,this.activeTaskBorderColor=this.activeTaskBorderColor||this.primaryColor,this.activeTaskBkgColor=this.activeTaskBkgColor||(0,m.A)(this.primaryColor,23),this.gridColor=this.gridColor||"lightgrey",this.doneTaskBkgColor=this.doneTaskBkgColor||"lightgrey",this.doneTaskBorderColor=this.doneTaskBorderColor||"grey",this.critBorderColor=this.critBorderColor||"#ff8888",this.critBkgColor=this.critBkgColor||"red",this.todayLineColor=this.todayLineColor||"red",this.taskTextColor=this.taskTextColor||this.textColor,this.taskTextOutsideColor=this.taskTextOutsideColor||this.textColor,this.taskTextLightColor=this.taskTextLightColor||this.textColor,this.taskTextColor=this.taskTextColor||this.primaryTextColor,this.taskTextDarkColor=this.taskTextDarkColor||this.textColor,this.taskTextClickableColor=this.taskTextClickableColor||"#003163",this.personBorder=this.personBorder||this.primaryBorderColor,this.personBkg=this.personBkg||this.mainBkg,this.transitionColor=this.transitionColor||this.lineColor,this.transitionLabelColor=this.transitionLabelColor||this.textColor,this.stateLabelColor=this.stateLabelColor||this.stateBkg||this.primaryTextColor,this.stateBkg=this.stateBkg||this.mainBkg,this.labelBackgroundColor=this.labelBackgroundColor||this.stateBkg,this.compositeBackground=this.compositeBackground||this.background||this.tertiaryColor,this.altBackground=this.altBackground||this.tertiaryColor,this.compositeTitleBackground=this.compositeTitleBackground||this.mainBkg,this.compositeBorder=this.compositeBorder||this.nodeBorder,this.innerEndBackground=this.nodeBorder,this.errorBkgColor=this.errorBkgColor||this.tertiaryColor,this.errorTextColor=this.errorTextColor||this.tertiaryTextColor,this.transitionColor=this.transitionColor||this.lineColor,this.specialStateColor=this.lineColor,this.cScale0=this.cScale0||this.primaryColor,this.cScale1=this.cScale1||this.secondaryColor,this.cScale2=this.cScale2||this.tertiaryColor,this.cScale3=this.cScale3||h(this.primaryColor,{h:30}),this.cScale4=this.cScale4||h(this.primaryColor,{h:60}),this.cScale5=this.cScale5||h(this.primaryColor,{h:90}),this.cScale6=this.cScale6||h(this.primaryColor,{h:120}),this.cScale7=this.cScale7||h(this.primaryColor,{h:150}),this.cScale8=this.cScale8||h(this.primaryColor,{h:210,l:150}),this.cScale9=this.cScale9||h(this.primaryColor,{h:270}),this.cScale10=this.cScale10||h(this.primaryColor,{h:300}),this.cScale11=this.cScale11||h(this.primaryColor,{h:330}),this.darkMode)for(let h=0;h<this.THEME_COLOR_LIMIT;h++)this["cScale"+h]=(0,f.A)(this["cScale"+h],75);else for(let h=0;h<this.THEME_COLOR_LIMIT;h++)this["cScale"+h]=(0,f.A)(this["cScale"+h],25);for(let h=0;h<this.THEME_COLOR_LIMIT;h++)this["cScaleInv"+h]=this["cScaleInv"+h]||p(this["cScale"+h]);for(let h=0;h<this.THEME_COLOR_LIMIT;h++)this.darkMode?this["cScalePeer"+h]=this["cScalePeer"+h]||(0,m.A)(this["cScale"+h],10):this["cScalePeer"+h]=this["cScalePeer"+h]||(0,f.A)(this["cScale"+h],10);this.scaleLabelColor=this.scaleLabelColor||this.labelTextColor;for(let h=0;h<this.THEME_COLOR_LIMIT;h++)this["cScaleLabel"+h]=this["cScaleLabel"+h]||this.scaleLabelColor;const d=this.darkMode?-4:-1;for(let p=0;p<5;p++)this["surface"+p]=this["surface"+p]||h(this.mainBkg,{h:180,s:-15,l:d*(5+3*p)}),this["surfacePeer"+p]=this["surfacePeer"+p]||h(this.mainBkg,{h:180,s:-15,l:d*(8+3*p)});this.classText=this.classText||this.textColor,this.fillType0=this.fillType0||this.primaryColor,this.fillType1=this.fillType1||this.secondaryColor,this.fillType2=this.fillType2||h(this.primaryColor,{h:64}),this.fillType3=this.fillType3||h(this.secondaryColor,{h:64}),this.fillType4=this.fillType4||h(this.primaryColor,{h:-64}),this.fillType5=this.fillType5||h(this.secondaryColor,{h:-64}),this.fillType6=this.fillType6||h(this.primaryColor,{h:128}),this.fillType7=this.fillType7||h(this.secondaryColor,{h:128}),this.pie1=this.pie1||this.primaryColor,this.pie2=this.pie2||this.secondaryColor,this.pie3=this.pie3||this.tertiaryColor,this.pie4=this.pie4||h(this.primaryColor,{l:-10}),this.pie5=this.pie5||h(this.secondaryColor,{l:-10}),this.pie6=this.pie6||h(this.tertiaryColor,{l:-10}),this.pie7=this.pie7||h(this.primaryColor,{h:60,l:-10}),this.pie8=this.pie8||h(this.primaryColor,{h:-60,l:-10}),this.pie9=this.pie9||h(this.primaryColor,{h:120,l:0}),this.pie10=this.pie10||h(this.primaryColor,{h:60,l:-20}),this.pie11=this.pie11||h(this.primaryColor,{h:-60,l:-20}),this.pie12=this.pie12||h(this.primaryColor,{h:120,l:-10}),this.pieTitleTextSize=this.pieTitleTextSize||"25px",this.pieTitleTextColor=this.pieTitleTextColor||this.taskTextDarkColor,this.pieSectionTextSize=this.pieSectionTextSize||"17px",this.pieSectionTextColor=this.pieSectionTextColor||this.textColor,this.pieLegendTextSize=this.pieLegendTextSize||"17px",this.pieLegendTextColor=this.pieLegendTextColor||this.taskTextDarkColor,this.pieStrokeColor=this.pieStrokeColor||"black",this.pieStrokeWidth=this.pieStrokeWidth||"2px",this.pieOuterStrokeWidth=this.pieOuterStrokeWidth||"2px",this.pieOuterStrokeColor=this.pieOuterStrokeColor||"black",this.pieOpacity=this.pieOpacity||"0.7",this.quadrant1Fill=this.quadrant1Fill||this.primaryColor,this.quadrant2Fill=this.quadrant2Fill||h(this.primaryColor,{r:5,g:5,b:5}),this.quadrant3Fill=this.quadrant3Fill||h(this.primaryColor,{r:10,g:10,b:10}),this.quadrant4Fill=this.quadrant4Fill||h(this.primaryColor,{r:15,g:15,b:15}),this.quadrant1TextFill=this.quadrant1TextFill||this.primaryTextColor,this.quadrant2TextFill=this.quadrant2TextFill||h(this.primaryTextColor,{r:-5,g:-5,b:-5}),this.quadrant3TextFill=this.quadrant3TextFill||h(this.primaryTextColor,{r:-10,g:-10,b:-10}),this.quadrant4TextFill=this.quadrant4TextFill||h(this.primaryTextColor,{r:-15,g:-15,b:-15}),this.quadrantPointFill=this.quadrantPointFill||(0,g.A)(this.quadrant1Fill)?(0,m.A)(this.quadrant1Fill):(0,f.A)(this.quadrant1Fill),this.quadrantPointTextFill=this.quadrantPointTextFill||this.primaryTextColor,this.quadrantXAxisTextFill=this.quadrantXAxisTextFill||this.primaryTextColor,this.quadrantYAxisTextFill=this.quadrantYAxisTextFill||this.primaryTextColor,this.quadrantInternalBorderStrokeFill=this.quadrantInternalBorderStrokeFill||this.primaryBorderColor,this.quadrantExternalBorderStrokeFill=this.quadrantExternalBorderStrokeFill||this.primaryBorderColor,this.quadrantTitleFill=this.quadrantTitleFill||this.primaryTextColor,this.xyChart={backgroundColor:(null==(t=this.xyChart)?void 0:t.backgroundColor)||this.background,titleColor:(null==(e=this.xyChart)?void 0:e.titleColor)||this.primaryTextColor,xAxisTitleColor:(null==(n=this.xyChart)?void 0:n.xAxisTitleColor)||this.primaryTextColor,xAxisLabelColor:(null==(r=this.xyChart)?void 0:r.xAxisLabelColor)||this.primaryTextColor,xAxisTickColor:(null==(i=this.xyChart)?void 0:i.xAxisTickColor)||this.primaryTextColor,xAxisLineColor:(null==(o=this.xyChart)?void 0:o.xAxisLineColor)||this.primaryTextColor,yAxisTitleColor:(null==(s=this.xyChart)?void 0:s.yAxisTitleColor)||this.primaryTextColor,yAxisLabelColor:(null==(a=this.xyChart)?void 0:a.yAxisLabelColor)||this.primaryTextColor,yAxisTickColor:(null==(l=this.xyChart)?void 0:l.yAxisTickColor)||this.primaryTextColor,yAxisLineColor:(null==(c=this.xyChart)?void 0:c.yAxisLineColor)||this.primaryTextColor,plotColorPalette:(null==(u=this.xyChart)?void 0:u.plotColorPalette)||"#FFF4DD,#FFD8B1,#FFA07A,#ECEFF1,#D6DBDF,#C3E0A8,#FFB6A4,#FFD74D,#738FA7,#FFFFF0"},this.requirementBackground=this.requirementBackground||this.primaryColor,this.requirementBorderColor=this.requirementBorderColor||this.primaryBorderColor,this.requirementBorderSize=this.requirementBorderSize||"1",this.requirementTextColor=this.requirementTextColor||this.primaryTextColor,this.relationColor=this.relationColor||this.lineColor,this.relationLabelBackground=this.relationLabelBackground||(this.darkMode?(0,f.A)(this.secondaryColor,30):this.secondaryColor),this.relationLabelColor=this.relationLabelColor||this.actorTextColor,this.git0=this.git0||this.primaryColor,this.git1=this.git1||this.secondaryColor,this.git2=this.git2||this.tertiaryColor,this.git3=this.git3||h(this.primaryColor,{h:-30}),this.git4=this.git4||h(this.primaryColor,{h:-60}),this.git5=this.git5||h(this.primaryColor,{h:-90}),this.git6=this.git6||h(this.primaryColor,{h:60}),this.git7=this.git7||h(this.primaryColor,{h:120}),this.darkMode?(this.git0=(0,m.A)(this.git0,25),this.git1=(0,m.A)(this.git1,25),this.git2=(0,m.A)(this.git2,25),this.git3=(0,m.A)(this.git3,25),this.git4=(0,m.A)(this.git4,25),this.git5=(0,m.A)(this.git5,25),this.git6=(0,m.A)(this.git6,25),this.git7=(0,m.A)(this.git7,25)):(this.git0=(0,f.A)(this.git0,25),this.git1=(0,f.A)(this.git1,25),this.git2=(0,f.A)(this.git2,25),this.git3=(0,f.A)(this.git3,25),this.git4=(0,f.A)(this.git4,25),this.git5=(0,f.A)(this.git5,25),this.git6=(0,f.A)(this.git6,25),this.git7=(0,f.A)(this.git7,25)),this.gitInv0=this.gitInv0||p(this.git0),this.gitInv1=this.gitInv1||p(this.git1),this.gitInv2=this.gitInv2||p(this.git2),this.gitInv3=this.gitInv3||p(this.git3),this.gitInv4=this.gitInv4||p(this.git4),this.gitInv5=this.gitInv5||p(this.git5),this.gitInv6=this.gitInv6||p(this.git6),this.gitInv7=this.gitInv7||p(this.git7),this.branchLabelColor=this.branchLabelColor||(this.darkMode?"black":this.labelTextColor),this.gitBranchLabel0=this.gitBranchLabel0||this.branchLabelColor,this.gitBranchLabel1=this.gitBranchLabel1||this.branchLabelColor,this.gitBranchLabel2=this.gitBranchLabel2||this.branchLabelColor,this.gitBranchLabel3=this.gitBranchLabel3||this.branchLabelColor,this.gitBranchLabel4=this.gitBranchLabel4||this.branchLabelColor,this.gitBranchLabel5=this.gitBranchLabel5||this.branchLabelColor,this.gitBranchLabel6=this.gitBranchLabel6||this.branchLabelColor,this.gitBranchLabel7=this.gitBranchLabel7||this.branchLabelColor,this.tagLabelColor=this.tagLabelColor||this.primaryTextColor,this.tagLabelBackground=this.tagLabelBackground||this.primaryColor,this.tagLabelBorder=this.tagBorder||this.primaryBorderColor,this.tagLabelFontSize=this.tagLabelFontSize||"10px",this.commitLabelColor=this.commitLabelColor||this.secondaryTextColor,this.commitLabelBackground=this.commitLabelBackground||this.secondaryColor,this.commitLabelFontSize=this.commitLabelFontSize||"10px",this.attributeBackgroundColorOdd=this.attributeBackgroundColorOdd||Lt,this.attributeBackgroundColorEven=this.attributeBackgroundColorEven||Et}calculate(t){if("object"!=typeof t)return void this.updateColors();const e=Object.keys(t);e.forEach((e=>{this[e]=t[e]})),this.updateColors(),e.forEach((e=>{this[e]=t[e]}))}};let Ft=class{constructor(){this.background="#333",this.primaryColor="#1f2020",this.secondaryColor=(0,m.A)(this.primaryColor,16),this.tertiaryColor=h(this.primaryColor,{h:-160}),this.primaryBorderColor=p(this.background),this.secondaryBorderColor=It(this.secondaryColor,this.darkMode),this.tertiaryBorderColor=It(this.tertiaryColor,this.darkMode),this.primaryTextColor=p(this.primaryColor),this.secondaryTextColor=p(this.secondaryColor),this.tertiaryTextColor=p(this.tertiaryColor),this.lineColor=p(this.background),this.textColor=p(this.background),this.mainBkg="#1f2020",this.secondBkg="calculated",this.mainContrastColor="lightgrey",this.darkTextColor=(0,m.A)(p("#323D47"),10),this.lineColor="calculated",this.border1="#81B1DB",this.border2=(0,u.A)(255,255,255,.25),this.arrowheadColor="calculated",this.fontFamily='"trebuchet ms", verdana, arial, sans-serif',this.fontSize="16px",this.labelBackground="#181818",this.textColor="#ccc",this.THEME_COLOR_LIMIT=12,this.nodeBkg="calculated",this.nodeBorder="calculated",this.clusterBkg="calculated",this.clusterBorder="calculated",this.defaultLinkColor="calculated",this.titleColor="#F9FFFE",this.edgeLabelBackground="calculated",this.actorBorder="calculated",this.actorBkg="calculated",this.actorTextColor="calculated",this.actorLineColor="calculated",this.signalColor="calculated",this.signalTextColor="calculated",this.labelBoxBkgColor="calculated",this.labelBoxBorderColor="calculated",this.labelTextColor="calculated",this.loopTextColor="calculated",this.noteBorderColor="calculated",this.noteBkgColor="#fff5ad",this.noteTextColor="calculated",this.activationBorderColor="calculated",this.activationBkgColor="calculated",this.sequenceNumberColor="black",this.sectionBkgColor=(0,f.A)("#EAE8D9",30),this.altSectionBkgColor="calculated",this.sectionBkgColor2="#EAE8D9",this.excludeBkgColor=(0,f.A)(this.sectionBkgColor,10),this.taskBorderColor=(0,u.A)(255,255,255,70),this.taskBkgColor="calculated",this.taskTextColor="calculated",this.taskTextLightColor="calculated",this.taskTextOutsideColor="calculated",this.taskTextClickableColor="#003163",this.activeTaskBorderColor=(0,u.A)(255,255,255,50),this.activeTaskBkgColor="#81B1DB",this.gridColor="calculated",this.doneTaskBkgColor="calculated",this.doneTaskBorderColor="grey",this.critBorderColor="#E83737",this.critBkgColor="#E83737",this.taskTextDarkColor="calculated",this.todayLineColor="#DB5757",this.personBorder=this.primaryBorderColor,this.personBkg=this.mainBkg,this.labelColor="calculated",this.errorBkgColor="#a44141",this.errorTextColor="#ddd"}updateColors(){var t,e,n,r,i,o,s,a,l,c,u;this.secondBkg=(0,m.A)(this.mainBkg,16),this.lineColor=this.mainContrastColor,this.arrowheadColor=this.mainContrastColor,this.nodeBkg=this.mainBkg,this.nodeBorder=this.border1,this.clusterBkg=this.secondBkg,this.clusterBorder=this.border2,this.defaultLinkColor=this.lineColor,this.edgeLabelBackground=(0,m.A)(this.labelBackground,25),this.actorBorder=this.border1,this.actorBkg=this.mainBkg,this.actorTextColor=this.mainContrastColor,this.actorLineColor=this.mainContrastColor,this.signalColor=this.mainContrastColor,this.signalTextColor=this.mainContrastColor,this.labelBoxBkgColor=this.actorBkg,this.labelBoxBorderColor=this.actorBorder,this.labelTextColor=this.mainContrastColor,this.loopTextColor=this.mainContrastColor,this.noteBorderColor=this.secondaryBorderColor,this.noteBkgColor=this.secondBkg,this.noteTextColor=this.secondaryTextColor,this.activationBorderColor=this.border1,this.activationBkgColor=this.secondBkg,this.altSectionBkgColor=this.background,this.taskBkgColor=(0,m.A)(this.mainBkg,23),this.taskTextColor=this.darkTextColor,this.taskTextLightColor=this.mainContrastColor,this.taskTextOutsideColor=this.taskTextLightColor,this.gridColor=this.mainContrastColor,this.doneTaskBkgColor=this.mainContrastColor,this.taskTextDarkColor=this.darkTextColor,this.transitionColor=this.transitionColor||this.lineColor,this.transitionLabelColor=this.transitionLabelColor||this.textColor,this.stateLabelColor=this.stateLabelColor||this.stateBkg||this.primaryTextColor,this.stateBkg=this.stateBkg||this.mainBkg,this.labelBackgroundColor=this.labelBackgroundColor||this.stateBkg,this.compositeBackground=this.compositeBackground||this.background||this.tertiaryColor,this.altBackground=this.altBackground||"#555",this.compositeTitleBackground=this.compositeTitleBackground||this.mainBkg,this.compositeBorder=this.compositeBorder||this.nodeBorder,this.innerEndBackground=this.primaryBorderColor,this.specialStateColor="#f4f4f4",this.errorBkgColor=this.errorBkgColor||this.tertiaryColor,this.errorTextColor=this.errorTextColor||this.tertiaryTextColor,this.fillType0=this.primaryColor,this.fillType1=this.secondaryColor,this.fillType2=h(this.primaryColor,{h:64}),this.fillType3=h(this.secondaryColor,{h:64}),this.fillType4=h(this.primaryColor,{h:-64}),this.fillType5=h(this.secondaryColor,{h:-64}),this.fillType6=h(this.primaryColor,{h:128}),this.fillType7=h(this.secondaryColor,{h:128}),this.cScale1=this.cScale1||"#0b0000",this.cScale2=this.cScale2||"#4d1037",this.cScale3=this.cScale3||"#3f5258",this.cScale4=this.cScale4||"#4f2f1b",this.cScale5=this.cScale5||"#6e0a0a",this.cScale6=this.cScale6||"#3b0048",this.cScale7=this.cScale7||"#995a01",this.cScale8=this.cScale8||"#154706",this.cScale9=this.cScale9||"#161722",this.cScale10=this.cScale10||"#00296f",this.cScale11=this.cScale11||"#01629c",this.cScale12=this.cScale12||"#010029",this.cScale0=this.cScale0||this.primaryColor,this.cScale1=this.cScale1||this.secondaryColor,this.cScale2=this.cScale2||this.tertiaryColor,this.cScale3=this.cScale3||h(this.primaryColor,{h:30}),this.cScale4=this.cScale4||h(this.primaryColor,{h:60}),this.cScale5=this.cScale5||h(this.primaryColor,{h:90}),this.cScale6=this.cScale6||h(this.primaryColor,{h:120}),this.cScale7=this.cScale7||h(this.primaryColor,{h:150}),this.cScale8=this.cScale8||h(this.primaryColor,{h:210}),this.cScale9=this.cScale9||h(this.primaryColor,{h:270}),this.cScale10=this.cScale10||h(this.primaryColor,{h:300}),this.cScale11=this.cScale11||h(this.primaryColor,{h:330});for(let h=0;h<this.THEME_COLOR_LIMIT;h++)this["cScaleInv"+h]=this["cScaleInv"+h]||p(this["cScale"+h]);for(let h=0;h<this.THEME_COLOR_LIMIT;h++)this["cScalePeer"+h]=this["cScalePeer"+h]||(0,m.A)(this["cScale"+h],10);for(let d=0;d<5;d++)this["surface"+d]=this["surface"+d]||h(this.mainBkg,{h:30,s:-30,l:-(4*d-10)}),this["surfacePeer"+d]=this["surfacePeer"+d]||h(this.mainBkg,{h:30,s:-30,l:-(4*d-7)});this.scaleLabelColor=this.scaleLabelColor||(this.darkMode?"black":this.labelTextColor);for(let h=0;h<this.THEME_COLOR_LIMIT;h++)this["cScaleLabel"+h]=this["cScaleLabel"+h]||this.scaleLabelColor;for(let h=0;h<this.THEME_COLOR_LIMIT;h++)this["pie"+h]=this["cScale"+h];this.pieTitleTextSize=this.pieTitleTextSize||"25px",this.pieTitleTextColor=this.pieTitleTextColor||this.taskTextDarkColor,this.pieSectionTextSize=this.pieSectionTextSize||"17px",this.pieSectionTextColor=this.pieSectionTextColor||this.textColor,this.pieLegendTextSize=this.pieLegendTextSize||"17px",this.pieLegendTextColor=this.pieLegendTextColor||this.taskTextDarkColor,this.pieStrokeColor=this.pieStrokeColor||"black",this.pieStrokeWidth=this.pieStrokeWidth||"2px",this.pieOuterStrokeWidth=this.pieOuterStrokeWidth||"2px",this.pieOuterStrokeColor=this.pieOuterStrokeColor||"black",this.pieOpacity=this.pieOpacity||"0.7",this.quadrant1Fill=this.quadrant1Fill||this.primaryColor,this.quadrant2Fill=this.quadrant2Fill||h(this.primaryColor,{r:5,g:5,b:5}),this.quadrant3Fill=this.quadrant3Fill||h(this.primaryColor,{r:10,g:10,b:10}),this.quadrant4Fill=this.quadrant4Fill||h(this.primaryColor,{r:15,g:15,b:15}),this.quadrant1TextFill=this.quadrant1TextFill||this.primaryTextColor,this.quadrant2TextFill=this.quadrant2TextFill||h(this.primaryTextColor,{r:-5,g:-5,b:-5}),this.quadrant3TextFill=this.quadrant3TextFill||h(this.primaryTextColor,{r:-10,g:-10,b:-10}),this.quadrant4TextFill=this.quadrant4TextFill||h(this.primaryTextColor,{r:-15,g:-15,b:-15}),this.quadrantPointFill=this.quadrantPointFill||(0,g.A)(this.quadrant1Fill)?(0,m.A)(this.quadrant1Fill):(0,f.A)(this.quadrant1Fill),this.quadrantPointTextFill=this.quadrantPointTextFill||this.primaryTextColor,this.quadrantXAxisTextFill=this.quadrantXAxisTextFill||this.primaryTextColor,this.quadrantYAxisTextFill=this.quadrantYAxisTextFill||this.primaryTextColor,this.quadrantInternalBorderStrokeFill=this.quadrantInternalBorderStrokeFill||this.primaryBorderColor,this.quadrantExternalBorderStrokeFill=this.quadrantExternalBorderStrokeFill||this.primaryBorderColor,this.quadrantTitleFill=this.quadrantTitleFill||this.primaryTextColor,this.xyChart={backgroundColor:(null==(t=this.xyChart)?void 0:t.backgroundColor)||this.background,titleColor:(null==(e=this.xyChart)?void 0:e.titleColor)||this.primaryTextColor,xAxisTitleColor:(null==(n=this.xyChart)?void 0:n.xAxisTitleColor)||this.primaryTextColor,xAxisLabelColor:(null==(r=this.xyChart)?void 0:r.xAxisLabelColor)||this.primaryTextColor,xAxisTickColor:(null==(i=this.xyChart)?void 0:i.xAxisTickColor)||this.primaryTextColor,xAxisLineColor:(null==(o=this.xyChart)?void 0:o.xAxisLineColor)||this.primaryTextColor,yAxisTitleColor:(null==(s=this.xyChart)?void 0:s.yAxisTitleColor)||this.primaryTextColor,yAxisLabelColor:(null==(a=this.xyChart)?void 0:a.yAxisLabelColor)||this.primaryTextColor,yAxisTickColor:(null==(l=this.xyChart)?void 0:l.yAxisTickColor)||this.primaryTextColor,yAxisLineColor:(null==(c=this.xyChart)?void 0:c.yAxisLineColor)||this.primaryTextColor,plotColorPalette:(null==(u=this.xyChart)?void 0:u.plotColorPalette)||"#3498db,#2ecc71,#e74c3c,#f1c40f,#bdc3c7,#ffffff,#34495e,#9b59b6,#1abc9c,#e67e22"},this.classText=this.primaryTextColor,this.requirementBackground=this.requirementBackground||this.primaryColor,this.requirementBorderColor=this.requirementBorderColor||this.primaryBorderColor,this.requirementBorderSize=this.requirementBorderSize||"1",this.requirementTextColor=this.requirementTextColor||this.primaryTextColor,this.relationColor=this.relationColor||this.lineColor,this.relationLabelBackground=this.relationLabelBackground||(this.darkMode?(0,f.A)(this.secondaryColor,30):this.secondaryColor),this.relationLabelColor=this.relationLabelColor||this.actorTextColor,this.git0=(0,m.A)(this.secondaryColor,20),this.git1=(0,m.A)(this.pie2||this.secondaryColor,20),this.git2=(0,m.A)(this.pie3||this.tertiaryColor,20),this.git3=(0,m.A)(this.pie4||h(this.primaryColor,{h:-30}),20),this.git4=(0,m.A)(this.pie5||h(this.primaryColor,{h:-60}),20),this.git5=(0,m.A)(this.pie6||h(this.primaryColor,{h:-90}),10),this.git6=(0,m.A)(this.pie7||h(this.primaryColor,{h:60}),10),this.git7=(0,m.A)(this.pie8||h(this.primaryColor,{h:120}),20),this.gitInv0=this.gitInv0||p(this.git0),this.gitInv1=this.gitInv1||p(this.git1),this.gitInv2=this.gitInv2||p(this.git2),this.gitInv3=this.gitInv3||p(this.git3),this.gitInv4=this.gitInv4||p(this.git4),this.gitInv5=this.gitInv5||p(this.git5),this.gitInv6=this.gitInv6||p(this.git6),this.gitInv7=this.gitInv7||p(this.git7),this.gitBranchLabel0=this.gitBranchLabel0||p(this.labelTextColor),this.gitBranchLabel1=this.gitBranchLabel1||this.labelTextColor,this.gitBranchLabel2=this.gitBranchLabel2||this.labelTextColor,this.gitBranchLabel3=this.gitBranchLabel3||p(this.labelTextColor),this.gitBranchLabel4=this.gitBranchLabel4||this.labelTextColor,this.gitBranchLabel5=this.gitBranchLabel5||this.labelTextColor,this.gitBranchLabel6=this.gitBranchLabel6||this.labelTextColor,this.gitBranchLabel7=this.gitBranchLabel7||this.labelTextColor,this.tagLabelColor=this.tagLabelColor||this.primaryTextColor,this.tagLabelBackground=this.tagLabelBackground||this.primaryColor,this.tagLabelBorder=this.tagBorder||this.primaryBorderColor,this.tagLabelFontSize=this.tagLabelFontSize||"10px",this.commitLabelColor=this.commitLabelColor||this.secondaryTextColor,this.commitLabelBackground=this.commitLabelBackground||this.secondaryColor,this.commitLabelFontSize=this.commitLabelFontSize||"10px",this.attributeBackgroundColorOdd=this.attributeBackgroundColorOdd||(0,m.A)(this.background,12),this.attributeBackgroundColorEven=this.attributeBackgroundColorEven||(0,m.A)(this.background,2)}calculate(t){if("object"!=typeof t)return void this.updateColors();const e=Object.keys(t);e.forEach((e=>{this[e]=t[e]})),this.updateColors(),e.forEach((e=>{this[e]=t[e]}))}};let Nt=class{constructor(){this.background="#f4f4f4",this.primaryColor="#ECECFF",this.secondaryColor=h(this.primaryColor,{h:120}),this.secondaryColor="#ffffde",this.tertiaryColor=h(this.primaryColor,{h:-160}),this.primaryBorderColor=It(this.primaryColor,this.darkMode),this.secondaryBorderColor=It(this.secondaryColor,this.darkMode),this.tertiaryBorderColor=It(this.tertiaryColor,this.darkMode),this.primaryTextColor=p(this.primaryColor),this.secondaryTextColor=p(this.secondaryColor),this.tertiaryTextColor=p(this.tertiaryColor),this.lineColor=p(this.background),this.textColor=p(this.background),this.background="white",this.mainBkg="#ECECFF",this.secondBkg="#ffffde",this.lineColor="#333333",this.border1="#9370DB",this.border2="#aaaa33",this.arrowheadColor="#333333",this.fontFamily='"trebuchet ms", verdana, arial, sans-serif',this.fontSize="16px",this.labelBackground="#e8e8e8",this.textColor="#333",this.THEME_COLOR_LIMIT=12,this.nodeBkg="calculated",this.nodeBorder="calculated",this.clusterBkg="calculated",this.clusterBorder="calculated",this.defaultLinkColor="calculated",this.titleColor="calculated",this.edgeLabelBackground="calculated",this.actorBorder="calculated",this.actorBkg="calculated",this.actorTextColor="black",this.actorLineColor="grey",this.signalColor="calculated",this.signalTextColor="calculated",this.labelBoxBkgColor="calculated",this.labelBoxBorderColor="calculated",this.labelTextColor="calculated",this.loopTextColor="calculated",this.noteBorderColor="calculated",this.noteBkgColor="#fff5ad",this.noteTextColor="calculated",this.activationBorderColor="#666",this.activationBkgColor="#f4f4f4",this.sequenceNumberColor="white",this.sectionBkgColor="calculated",this.altSectionBkgColor="calculated",this.sectionBkgColor2="calculated",this.excludeBkgColor="#eeeeee",this.taskBorderColor="calculated",this.taskBkgColor="calculated",this.taskTextLightColor="calculated",this.taskTextColor=this.taskTextLightColor,this.taskTextDarkColor="calculated",this.taskTextOutsideColor=this.taskTextDarkColor,this.taskTextClickableColor="calculated",this.activeTaskBorderColor="calculated",this.activeTaskBkgColor="calculated",this.gridColor="calculated",this.doneTaskBkgColor="calculated",this.doneTaskBorderColor="calculated",this.critBorderColor="calculated",this.critBkgColor="calculated",this.todayLineColor="calculated",this.sectionBkgColor=(0,u.A)(102,102,255,.49),this.altSectionBkgColor="white",this.sectionBkgColor2="#fff400",this.taskBorderColor="#534fbc",this.taskBkgColor="#8a90dd",this.taskTextLightColor="white",this.taskTextColor="calculated",this.taskTextDarkColor="black",this.taskTextOutsideColor="calculated",this.taskTextClickableColor="#003163",this.activeTaskBorderColor="#534fbc",this.activeTaskBkgColor="#bfc7ff",this.gridColor="lightgrey",this.doneTaskBkgColor="lightgrey",this.doneTaskBorderColor="grey",this.critBorderColor="#ff8888",this.critBkgColor="red",this.todayLineColor="red",this.personBorder=this.primaryBorderColor,this.personBkg=this.mainBkg,this.labelColor="black",this.errorBkgColor="#552222",this.errorTextColor="#552222",this.updateColors()}updateColors(){var t,e,n,r,i,o,s,a,l,c,u;this.cScale0=this.cScale0||this.primaryColor,this.cScale1=this.cScale1||this.secondaryColor,this.cScale2=this.cScale2||this.tertiaryColor,this.cScale3=this.cScale3||h(this.primaryColor,{h:30}),this.cScale4=this.cScale4||h(this.primaryColor,{h:60}),this.cScale5=this.cScale5||h(this.primaryColor,{h:90}),this.cScale6=this.cScale6||h(this.primaryColor,{h:120}),this.cScale7=this.cScale7||h(this.primaryColor,{h:150}),this.cScale8=this.cScale8||h(this.primaryColor,{h:210}),this.cScale9=this.cScale9||h(this.primaryColor,{h:270}),this.cScale10=this.cScale10||h(this.primaryColor,{h:300}),this.cScale11=this.cScale11||h(this.primaryColor,{h:330}),this.cScalePeer1=this.cScalePeer1||(0,f.A)(this.secondaryColor,45),this.cScalePeer2=this.cScalePeer2||(0,f.A)(this.tertiaryColor,40);for(let h=0;h<this.THEME_COLOR_LIMIT;h++)this["cScale"+h]=(0,f.A)(this["cScale"+h],10),this["cScalePeer"+h]=this["cScalePeer"+h]||(0,f.A)(this["cScale"+h],25);for(let d=0;d<this.THEME_COLOR_LIMIT;d++)this["cScaleInv"+d]=this["cScaleInv"+d]||h(this["cScale"+d],{h:180});for(let d=0;d<5;d++)this["surface"+d]=this["surface"+d]||h(this.mainBkg,{h:30,l:-(5+5*d)}),this["surfacePeer"+d]=this["surfacePeer"+d]||h(this.mainBkg,{h:30,l:-(7+5*d)});if(this.scaleLabelColor="calculated"!==this.scaleLabelColor&&this.scaleLabelColor?this.scaleLabelColor:this.labelTextColor,"calculated"!==this.labelTextColor){this.cScaleLabel0=this.cScaleLabel0||p(this.labelTextColor),this.cScaleLabel3=this.cScaleLabel3||p(this.labelTextColor);for(let t=0;t<this.THEME_COLOR_LIMIT;t++)this["cScaleLabel"+t]=this["cScaleLabel"+t]||this.labelTextColor}this.nodeBkg=this.mainBkg,this.nodeBorder=this.border1,this.clusterBkg=this.secondBkg,this.clusterBorder=this.border2,this.defaultLinkColor=this.lineColor,this.titleColor=this.textColor,this.edgeLabelBackground=this.labelBackground,this.actorBorder=(0,m.A)(this.border1,23),this.actorBkg=this.mainBkg,this.labelBoxBkgColor=this.actorBkg,this.signalColor=this.textColor,this.signalTextColor=this.textColor,this.labelBoxBorderColor=this.actorBorder,this.labelTextColor=this.actorTextColor,this.loopTextColor=this.actorTextColor,this.noteBorderColor=this.border2,this.noteTextColor=this.actorTextColor,this.taskTextColor=this.taskTextLightColor,this.taskTextOutsideColor=this.taskTextDarkColor,this.transitionColor=this.transitionColor||this.lineColor,this.transitionLabelColor=this.transitionLabelColor||this.textColor,this.stateLabelColor=this.stateLabelColor||this.stateBkg||this.primaryTextColor,this.stateBkg=this.stateBkg||this.mainBkg,this.labelBackgroundColor=this.labelBackgroundColor||this.stateBkg,this.compositeBackground=this.compositeBackground||this.background||this.tertiaryColor,this.altBackground=this.altBackground||"#f0f0f0",this.compositeTitleBackground=this.compositeTitleBackground||this.mainBkg,this.compositeBorder=this.compositeBorder||this.nodeBorder,this.innerEndBackground=this.nodeBorder,this.specialStateColor=this.lineColor,this.errorBkgColor=this.errorBkgColor||this.tertiaryColor,this.errorTextColor=this.errorTextColor||this.tertiaryTextColor,this.transitionColor=this.transitionColor||this.lineColor,this.classText=this.primaryTextColor,this.fillType0=this.primaryColor,this.fillType1=this.secondaryColor,this.fillType2=h(this.primaryColor,{h:64}),this.fillType3=h(this.secondaryColor,{h:64}),this.fillType4=h(this.primaryColor,{h:-64}),this.fillType5=h(this.secondaryColor,{h:-64}),this.fillType6=h(this.primaryColor,{h:128}),this.fillType7=h(this.secondaryColor,{h:128}),this.pie1=this.pie1||this.primaryColor,this.pie2=this.pie2||this.secondaryColor,this.pie3=this.pie3||h(this.tertiaryColor,{l:-40}),this.pie4=this.pie4||h(this.primaryColor,{l:-10}),this.pie5=this.pie5||h(this.secondaryColor,{l:-30}),this.pie6=this.pie6||h(this.tertiaryColor,{l:-20}),this.pie7=this.pie7||h(this.primaryColor,{h:60,l:-20}),this.pie8=this.pie8||h(this.primaryColor,{h:-60,l:-40}),this.pie9=this.pie9||h(this.primaryColor,{h:120,l:-40}),this.pie10=this.pie10||h(this.primaryColor,{h:60,l:-40}),this.pie11=this.pie11||h(this.primaryColor,{h:-90,l:-40}),this.pie12=this.pie12||h(this.primaryColor,{h:120,l:-30}),this.pieTitleTextSize=this.pieTitleTextSize||"25px",this.pieTitleTextColor=this.pieTitleTextColor||this.taskTextDarkColor,this.pieSectionTextSize=this.pieSectionTextSize||"17px",this.pieSectionTextColor=this.pieSectionTextColor||this.textColor,this.pieLegendTextSize=this.pieLegendTextSize||"17px",this.pieLegendTextColor=this.pieLegendTextColor||this.taskTextDarkColor,this.pieStrokeColor=this.pieStrokeColor||"black",this.pieStrokeWidth=this.pieStrokeWidth||"2px",this.pieOuterStrokeWidth=this.pieOuterStrokeWidth||"2px",this.pieOuterStrokeColor=this.pieOuterStrokeColor||"black",this.pieOpacity=this.pieOpacity||"0.7",this.quadrant1Fill=this.quadrant1Fill||this.primaryColor,this.quadrant2Fill=this.quadrant2Fill||h(this.primaryColor,{r:5,g:5,b:5}),this.quadrant3Fill=this.quadrant3Fill||h(this.primaryColor,{r:10,g:10,b:10}),this.quadrant4Fill=this.quadrant4Fill||h(this.primaryColor,{r:15,g:15,b:15}),this.quadrant1TextFill=this.quadrant1TextFill||this.primaryTextColor,this.quadrant2TextFill=this.quadrant2TextFill||h(this.primaryTextColor,{r:-5,g:-5,b:-5}),this.quadrant3TextFill=this.quadrant3TextFill||h(this.primaryTextColor,{r:-10,g:-10,b:-10}),this.quadrant4TextFill=this.quadrant4TextFill||h(this.primaryTextColor,{r:-15,g:-15,b:-15}),this.quadrantPointFill=this.quadrantPointFill||(0,g.A)(this.quadrant1Fill)?(0,m.A)(this.quadrant1Fill):(0,f.A)(this.quadrant1Fill),this.quadrantPointTextFill=this.quadrantPointTextFill||this.primaryTextColor,this.quadrantXAxisTextFill=this.quadrantXAxisTextFill||this.primaryTextColor,this.quadrantYAxisTextFill=this.quadrantYAxisTextFill||this.primaryTextColor,this.quadrantInternalBorderStrokeFill=this.quadrantInternalBorderStrokeFill||this.primaryBorderColor,this.quadrantExternalBorderStrokeFill=this.quadrantExternalBorderStrokeFill||this.primaryBorderColor,this.quadrantTitleFill=this.quadrantTitleFill||this.primaryTextColor,this.xyChart={backgroundColor:(null==(t=this.xyChart)?void 0:t.backgroundColor)||this.background,titleColor:(null==(e=this.xyChart)?void 0:e.titleColor)||this.primaryTextColor,xAxisTitleColor:(null==(n=this.xyChart)?void 0:n.xAxisTitleColor)||this.primaryTextColor,xAxisLabelColor:(null==(r=this.xyChart)?void 0:r.xAxisLabelColor)||this.primaryTextColor,xAxisTickColor:(null==(i=this.xyChart)?void 0:i.xAxisTickColor)||this.primaryTextColor,xAxisLineColor:(null==(o=this.xyChart)?void 0:o.xAxisLineColor)||this.primaryTextColor,yAxisTitleColor:(null==(s=this.xyChart)?void 0:s.yAxisTitleColor)||this.primaryTextColor,yAxisLabelColor:(null==(a=this.xyChart)?void 0:a.yAxisLabelColor)||this.primaryTextColor,yAxisTickColor:(null==(l=this.xyChart)?void 0:l.yAxisTickColor)||this.primaryTextColor,yAxisLineColor:(null==(c=this.xyChart)?void 0:c.yAxisLineColor)||this.primaryTextColor,plotColorPalette:(null==(u=this.xyChart)?void 0:u.plotColorPalette)||"#ECECFF,#8493A6,#FFC3A0,#DCDDE1,#B8E994,#D1A36F,#C3CDE6,#FFB6C1,#496078,#F8F3E3"},this.requirementBackground=this.requirementBackground||this.primaryColor,this.requirementBorderColor=this.requirementBorderColor||this.primaryBorderColor,this.requirementBorderSize=this.requirementBorderSize||"1",this.requirementTextColor=this.requirementTextColor||this.primaryTextColor,this.relationColor=this.relationColor||this.lineColor,this.relationLabelBackground=this.relationLabelBackground||this.labelBackground,this.relationLabelColor=this.relationLabelColor||this.actorTextColor,this.git0=this.git0||this.primaryColor,this.git1=this.git1||this.secondaryColor,this.git2=this.git2||this.tertiaryColor,this.git3=this.git3||h(this.primaryColor,{h:-30}),this.git4=this.git4||h(this.primaryColor,{h:-60}),this.git5=this.git5||h(this.primaryColor,{h:-90}),this.git6=this.git6||h(this.primaryColor,{h:60}),this.git7=this.git7||h(this.primaryColor,{h:120}),this.darkMode?(this.git0=(0,m.A)(this.git0,25),this.git1=(0,m.A)(this.git1,25),this.git2=(0,m.A)(this.git2,25),this.git3=(0,m.A)(this.git3,25),this.git4=(0,m.A)(this.git4,25),this.git5=(0,m.A)(this.git5,25),this.git6=(0,m.A)(this.git6,25),this.git7=(0,m.A)(this.git7,25)):(this.git0=(0,f.A)(this.git0,25),this.git1=(0,f.A)(this.git1,25),this.git2=(0,f.A)(this.git2,25),this.git3=(0,f.A)(this.git3,25),this.git4=(0,f.A)(this.git4,25),this.git5=(0,f.A)(this.git5,25),this.git6=(0,f.A)(this.git6,25),this.git7=(0,f.A)(this.git7,25)),this.gitInv0=this.gitInv0||(0,f.A)(p(this.git0),25),this.gitInv1=this.gitInv1||p(this.git1),this.gitInv2=this.gitInv2||p(this.git2),this.gitInv3=this.gitInv3||p(this.git3),this.gitInv4=this.gitInv4||p(this.git4),this.gitInv5=this.gitInv5||p(this.git5),this.gitInv6=this.gitInv6||p(this.git6),this.gitInv7=this.gitInv7||p(this.git7),this.gitBranchLabel0=this.gitBranchLabel0||p(this.labelTextColor),this.gitBranchLabel1=this.gitBranchLabel1||this.labelTextColor,this.gitBranchLabel2=this.gitBranchLabel2||this.labelTextColor,this.gitBranchLabel3=this.gitBranchLabel3||p(this.labelTextColor),this.gitBranchLabel4=this.gitBranchLabel4||this.labelTextColor,this.gitBranchLabel5=this.gitBranchLabel5||this.labelTextColor,this.gitBranchLabel6=this.gitBranchLabel6||this.labelTextColor,this.gitBranchLabel7=this.gitBranchLabel7||this.labelTextColor,this.tagLabelColor=this.tagLabelColor||this.primaryTextColor,this.tagLabelBackground=this.tagLabelBackground||this.primaryColor,this.tagLabelBorder=this.tagBorder||this.primaryBorderColor,this.tagLabelFontSize=this.tagLabelFontSize||"10px",this.commitLabelColor=this.commitLabelColor||this.secondaryTextColor,this.commitLabelBackground=this.commitLabelBackground||this.secondaryColor,this.commitLabelFontSize=this.commitLabelFontSize||"10px",this.attributeBackgroundColorOdd=this.attributeBackgroundColorOdd||Lt,this.attributeBackgroundColorEven=this.attributeBackgroundColorEven||Et}calculate(t){if("object"!=typeof t)return void this.updateColors();const e=Object.keys(t);e.forEach((e=>{this[e]=t[e]})),this.updateColors(),e.forEach((e=>{this[e]=t[e]}))}};const Mt=t=>{const e=new Nt;return e.calculate(t),e};let jt=class{constructor(){this.background="#f4f4f4",this.primaryColor="#cde498",this.secondaryColor="#cdffb2",this.background="white",this.mainBkg="#cde498",this.secondBkg="#cdffb2",this.lineColor="green",this.border1="#13540c",this.border2="#6eaa49",this.arrowheadColor="green",this.fontFamily='"trebuchet ms", verdana, arial, sans-serif',this.fontSize="16px",this.tertiaryColor=(0,m.A)("#cde498",10),this.primaryBorderColor=It(this.primaryColor,this.darkMode),this.secondaryBorderColor=It(this.secondaryColor,this.darkMode),this.tertiaryBorderColor=It(this.tertiaryColor,this.darkMode),this.primaryTextColor=p(this.primaryColor),this.secondaryTextColor=p(this.secondaryColor),this.tertiaryTextColor=p(this.primaryColor),this.lineColor=p(this.background),this.textColor=p(this.background),this.THEME_COLOR_LIMIT=12,this.nodeBkg="calculated",this.nodeBorder="calculated",this.clusterBkg="calculated",this.clusterBorder="calculated",this.defaultLinkColor="calculated",this.titleColor="#333",this.edgeLabelBackground="#e8e8e8",this.actorBorder="calculated",this.actorBkg="calculated",this.actorTextColor="black",this.actorLineColor="grey",this.signalColor="#333",this.signalTextColor="#333",this.labelBoxBkgColor="calculated",this.labelBoxBorderColor="#326932",this.labelTextColor="calculated",this.loopTextColor="calculated",this.noteBorderColor="calculated",this.noteBkgColor="#fff5ad",this.noteTextColor="calculated",this.activationBorderColor="#666",this.activationBkgColor="#f4f4f4",this.sequenceNumberColor="white",this.sectionBkgColor="#6eaa49",this.altSectionBkgColor="white",this.sectionBkgColor2="#6eaa49",this.excludeBkgColor="#eeeeee",this.taskBorderColor="calculated",this.taskBkgColor="#487e3a",this.taskTextLightColor="white",this.taskTextColor="calculated",this.taskTextDarkColor="black",this.taskTextOutsideColor="calculated",this.taskTextClickableColor="#003163",this.activeTaskBorderColor="calculated",this.activeTaskBkgColor="calculated",this.gridColor="lightgrey",this.doneTaskBkgColor="lightgrey",this.doneTaskBorderColor="grey",this.critBorderColor="#ff8888",this.critBkgColor="red",this.todayLineColor="red",this.personBorder=this.primaryBorderColor,this.personBkg=this.mainBkg,this.labelColor="black",this.errorBkgColor="#552222",this.errorTextColor="#552222"}updateColors(){var t,e,n,r,i,o,s,a,l,c,u;this.actorBorder=(0,f.A)(this.mainBkg,20),this.actorBkg=this.mainBkg,this.labelBoxBkgColor=this.actorBkg,this.labelTextColor=this.actorTextColor,this.loopTextColor=this.actorTextColor,this.noteBorderColor=this.border2,this.noteTextColor=this.actorTextColor,this.cScale0=this.cScale0||this.primaryColor,this.cScale1=this.cScale1||this.secondaryColor,this.cScale2=this.cScale2||this.tertiaryColor,this.cScale3=this.cScale3||h(this.primaryColor,{h:30}),this.cScale4=this.cScale4||h(this.primaryColor,{h:60}),this.cScale5=this.cScale5||h(this.primaryColor,{h:90}),this.cScale6=this.cScale6||h(this.primaryColor,{h:120}),this.cScale7=this.cScale7||h(this.primaryColor,{h:150}),this.cScale8=this.cScale8||h(this.primaryColor,{h:210}),this.cScale9=this.cScale9||h(this.primaryColor,{h:270}),this.cScale10=this.cScale10||h(this.primaryColor,{h:300}),this.cScale11=this.cScale11||h(this.primaryColor,{h:330}),this.cScalePeer1=this.cScalePeer1||(0,f.A)(this.secondaryColor,45),this.cScalePeer2=this.cScalePeer2||(0,f.A)(this.tertiaryColor,40);for(let h=0;h<this.THEME_COLOR_LIMIT;h++)this["cScale"+h]=(0,f.A)(this["cScale"+h],10),this["cScalePeer"+h]=this["cScalePeer"+h]||(0,f.A)(this["cScale"+h],25);for(let d=0;d<this.THEME_COLOR_LIMIT;d++)this["cScaleInv"+d]=this["cScaleInv"+d]||h(this["cScale"+d],{h:180});this.scaleLabelColor="calculated"!==this.scaleLabelColor&&this.scaleLabelColor?this.scaleLabelColor:this.labelTextColor;for(let h=0;h<this.THEME_COLOR_LIMIT;h++)this["cScaleLabel"+h]=this["cScaleLabel"+h]||this.scaleLabelColor;for(let d=0;d<5;d++)this["surface"+d]=this["surface"+d]||h(this.mainBkg,{h:30,s:-30,l:-(5+5*d)}),this["surfacePeer"+d]=this["surfacePeer"+d]||h(this.mainBkg,{h:30,s:-30,l:-(8+5*d)});this.nodeBkg=this.mainBkg,this.nodeBorder=this.border1,this.clusterBkg=this.secondBkg,this.clusterBorder=this.border2,this.defaultLinkColor=this.lineColor,this.taskBorderColor=this.border1,this.taskTextColor=this.taskTextLightColor,this.taskTextOutsideColor=this.taskTextDarkColor,this.activeTaskBorderColor=this.taskBorderColor,this.activeTaskBkgColor=this.mainBkg,this.transitionColor=this.transitionColor||this.lineColor,this.transitionLabelColor=this.transitionLabelColor||this.textColor,this.stateLabelColor=this.stateLabelColor||this.stateBkg||this.primaryTextColor,this.stateBkg=this.stateBkg||this.mainBkg,this.labelBackgroundColor=this.labelBackgroundColor||this.stateBkg,this.compositeBackground=this.compositeBackground||this.background||this.tertiaryColor,this.altBackground=this.altBackground||"#f0f0f0",this.compositeTitleBackground=this.compositeTitleBackground||this.mainBkg,this.compositeBorder=this.compositeBorder||this.nodeBorder,this.innerEndBackground=this.primaryBorderColor,this.specialStateColor=this.lineColor,this.errorBkgColor=this.errorBkgColor||this.tertiaryColor,this.errorTextColor=this.errorTextColor||this.tertiaryTextColor,this.transitionColor=this.transitionColor||this.lineColor,this.classText=this.primaryTextColor,this.fillType0=this.primaryColor,this.fillType1=this.secondaryColor,this.fillType2=h(this.primaryColor,{h:64}),this.fillType3=h(this.secondaryColor,{h:64}),this.fillType4=h(this.primaryColor,{h:-64}),this.fillType5=h(this.secondaryColor,{h:-64}),this.fillType6=h(this.primaryColor,{h:128}),this.fillType7=h(this.secondaryColor,{h:128}),this.pie1=this.pie1||this.primaryColor,this.pie2=this.pie2||this.secondaryColor,this.pie3=this.pie3||this.tertiaryColor,this.pie4=this.pie4||h(this.primaryColor,{l:-30}),this.pie5=this.pie5||h(this.secondaryColor,{l:-30}),this.pie6=this.pie6||h(this.tertiaryColor,{h:40,l:-40}),this.pie7=this.pie7||h(this.primaryColor,{h:60,l:-10}),this.pie8=this.pie8||h(this.primaryColor,{h:-60,l:-10}),this.pie9=this.pie9||h(this.primaryColor,{h:120,l:0}),this.pie10=this.pie10||h(this.primaryColor,{h:60,l:-50}),this.pie11=this.pie11||h(this.primaryColor,{h:-60,l:-50}),this.pie12=this.pie12||h(this.primaryColor,{h:120,l:-50}),this.pieTitleTextSize=this.pieTitleTextSize||"25px",this.pieTitleTextColor=this.pieTitleTextColor||this.taskTextDarkColor,this.pieSectionTextSize=this.pieSectionTextSize||"17px",this.pieSectionTextColor=this.pieSectionTextColor||this.textColor,this.pieLegendTextSize=this.pieLegendTextSize||"17px",this.pieLegendTextColor=this.pieLegendTextColor||this.taskTextDarkColor,this.pieStrokeColor=this.pieStrokeColor||"black",this.pieStrokeWidth=this.pieStrokeWidth||"2px",this.pieOuterStrokeWidth=this.pieOuterStrokeWidth||"2px",this.pieOuterStrokeColor=this.pieOuterStrokeColor||"black",this.pieOpacity=this.pieOpacity||"0.7",this.quadrant1Fill=this.quadrant1Fill||this.primaryColor,this.quadrant2Fill=this.quadrant2Fill||h(this.primaryColor,{r:5,g:5,b:5}),this.quadrant3Fill=this.quadrant3Fill||h(this.primaryColor,{r:10,g:10,b:10}),this.quadrant4Fill=this.quadrant4Fill||h(this.primaryColor,{r:15,g:15,b:15}),this.quadrant1TextFill=this.quadrant1TextFill||this.primaryTextColor,this.quadrant2TextFill=this.quadrant2TextFill||h(this.primaryTextColor,{r:-5,g:-5,b:-5}),this.quadrant3TextFill=this.quadrant3TextFill||h(this.primaryTextColor,{r:-10,g:-10,b:-10}),this.quadrant4TextFill=this.quadrant4TextFill||h(this.primaryTextColor,{r:-15,g:-15,b:-15}),this.quadrantPointFill=this.quadrantPointFill||(0,g.A)(this.quadrant1Fill)?(0,m.A)(this.quadrant1Fill):(0,f.A)(this.quadrant1Fill),this.quadrantPointTextFill=this.quadrantPointTextFill||this.primaryTextColor,this.quadrantXAxisTextFill=this.quadrantXAxisTextFill||this.primaryTextColor,this.quadrantYAxisTextFill=this.quadrantYAxisTextFill||this.primaryTextColor,this.quadrantInternalBorderStrokeFill=this.quadrantInternalBorderStrokeFill||this.primaryBorderColor,this.quadrantExternalBorderStrokeFill=this.quadrantExternalBorderStrokeFill||this.primaryBorderColor,this.quadrantTitleFill=this.quadrantTitleFill||this.primaryTextColor,this.xyChart={backgroundColor:(null==(t=this.xyChart)?void 0:t.backgroundColor)||this.background,titleColor:(null==(e=this.xyChart)?void 0:e.titleColor)||this.primaryTextColor,xAxisTitleColor:(null==(n=this.xyChart)?void 0:n.xAxisTitleColor)||this.primaryTextColor,xAxisLabelColor:(null==(r=this.xyChart)?void 0:r.xAxisLabelColor)||this.primaryTextColor,xAxisTickColor:(null==(i=this.xyChart)?void 0:i.xAxisTickColor)||this.primaryTextColor,xAxisLineColor:(null==(o=this.xyChart)?void 0:o.xAxisLineColor)||this.primaryTextColor,yAxisTitleColor:(null==(s=this.xyChart)?void 0:s.yAxisTitleColor)||this.primaryTextColor,yAxisLabelColor:(null==(a=this.xyChart)?void 0:a.yAxisLabelColor)||this.primaryTextColor,yAxisTickColor:(null==(l=this.xyChart)?void 0:l.yAxisTickColor)||this.primaryTextColor,yAxisLineColor:(null==(c=this.xyChart)?void 0:c.yAxisLineColor)||this.primaryTextColor,plotColorPalette:(null==(u=this.xyChart)?void 0:u.plotColorPalette)||"#CDE498,#FF6B6B,#A0D2DB,#D7BDE2,#F0F0F0,#FFC3A0,#7FD8BE,#FF9A8B,#FAF3E0,#FFF176"},this.requirementBackground=this.requirementBackground||this.primaryColor,this.requirementBorderColor=this.requirementBorderColor||this.primaryBorderColor,this.requirementBorderSize=this.requirementBorderSize||"1",this.requirementTextColor=this.requirementTextColor||this.primaryTextColor,this.relationColor=this.relationColor||this.lineColor,this.relationLabelBackground=this.relationLabelBackground||this.edgeLabelBackground,this.relationLabelColor=this.relationLabelColor||this.actorTextColor,this.git0=this.git0||this.primaryColor,this.git1=this.git1||this.secondaryColor,this.git2=this.git2||this.tertiaryColor,this.git3=this.git3||h(this.primaryColor,{h:-30}),this.git4=this.git4||h(this.primaryColor,{h:-60}),this.git5=this.git5||h(this.primaryColor,{h:-90}),this.git6=this.git6||h(this.primaryColor,{h:60}),this.git7=this.git7||h(this.primaryColor,{h:120}),this.darkMode?(this.git0=(0,m.A)(this.git0,25),this.git1=(0,m.A)(this.git1,25),this.git2=(0,m.A)(this.git2,25),this.git3=(0,m.A)(this.git3,25),this.git4=(0,m.A)(this.git4,25),this.git5=(0,m.A)(this.git5,25),this.git6=(0,m.A)(this.git6,25),this.git7=(0,m.A)(this.git7,25)):(this.git0=(0,f.A)(this.git0,25),this.git1=(0,f.A)(this.git1,25),this.git2=(0,f.A)(this.git2,25),this.git3=(0,f.A)(this.git3,25),this.git4=(0,f.A)(this.git4,25),this.git5=(0,f.A)(this.git5,25),this.git6=(0,f.A)(this.git6,25),this.git7=(0,f.A)(this.git7,25)),this.gitInv0=this.gitInv0||p(this.git0),this.gitInv1=this.gitInv1||p(this.git1),this.gitInv2=this.gitInv2||p(this.git2),this.gitInv3=this.gitInv3||p(this.git3),this.gitInv4=this.gitInv4||p(this.git4),this.gitInv5=this.gitInv5||p(this.git5),this.gitInv6=this.gitInv6||p(this.git6),this.gitInv7=this.gitInv7||p(this.git7),this.gitBranchLabel0=this.gitBranchLabel0||p(this.labelTextColor),this.gitBranchLabel1=this.gitBranchLabel1||this.labelTextColor,this.gitBranchLabel2=this.gitBranchLabel2||this.labelTextColor,this.gitBranchLabel3=this.gitBranchLabel3||p(this.labelTextColor),this.gitBranchLabel4=this.gitBranchLabel4||this.labelTextColor,this.gitBranchLabel5=this.gitBranchLabel5||this.labelTextColor,this.gitBranchLabel6=this.gitBranchLabel6||this.labelTextColor,this.gitBranchLabel7=this.gitBranchLabel7||this.labelTextColor,this.tagLabelColor=this.tagLabelColor||this.primaryTextColor,this.tagLabelBackground=this.tagLabelBackground||this.primaryColor,this.tagLabelBorder=this.tagBorder||this.primaryBorderColor,this.tagLabelFontSize=this.tagLabelFontSize||"10px",this.commitLabelColor=this.commitLabelColor||this.secondaryTextColor,this.commitLabelBackground=this.commitLabelBackground||this.secondaryColor,this.commitLabelFontSize=this.commitLabelFontSize||"10px",this.attributeBackgroundColorOdd=this.attributeBackgroundColorOdd||Lt,this.attributeBackgroundColorEven=this.attributeBackgroundColorEven||Et}calculate(t){if("object"!=typeof t)return void this.updateColors();const e=Object.keys(t);e.forEach((e=>{this[e]=t[e]})),this.updateColors(),e.forEach((e=>{this[e]=t[e]}))}};class Ot{constructor(){this.primaryColor="#eee",this.contrast="#707070",this.secondaryColor=(0,m.A)(this.contrast,55),this.background="#ffffff",this.tertiaryColor=h(this.primaryColor,{h:-160}),this.primaryBorderColor=It(this.primaryColor,this.darkMode),this.secondaryBorderColor=It(this.secondaryColor,this.darkMode),this.tertiaryBorderColor=It(this.tertiaryColor,this.darkMode),this.primaryTextColor=p(this.primaryColor),this.secondaryTextColor=p(this.secondaryColor),this.tertiaryTextColor=p(this.tertiaryColor),this.lineColor=p(this.background),this.textColor=p(this.background),this.mainBkg="#eee",this.secondBkg="calculated",this.lineColor="#666",this.border1="#999",this.border2="calculated",this.note="#ffa",this.text="#333",this.critical="#d42",this.done="#bbb",this.arrowheadColor="#333333",this.fontFamily='"trebuchet ms", verdana, arial, sans-serif',this.fontSize="16px",this.THEME_COLOR_LIMIT=12,this.nodeBkg="calculated",this.nodeBorder="calculated",this.clusterBkg="calculated",this.clusterBorder="calculated",this.defaultLinkColor="calculated",this.titleColor="calculated",this.edgeLabelBackground="white",this.actorBorder="calculated",this.actorBkg="calculated",this.actorTextColor="calculated",this.actorLineColor="calculated",this.signalColor="calculated",this.signalTextColor="calculated",this.labelBoxBkgColor="calculated",this.labelBoxBorderColor="calculated",this.labelTextColor="calculated",this.loopTextColor="calculated",this.noteBorderColor="calculated",this.noteBkgColor="calculated",this.noteTextColor="calculated",this.activationBorderColor="#666",this.activationBkgColor="#f4f4f4",this.sequenceNumberColor="white",this.sectionBkgColor="calculated",this.altSectionBkgColor="white",this.sectionBkgColor2="calculated",this.excludeBkgColor="#eeeeee",this.taskBorderColor="calculated",this.taskBkgColor="calculated",this.taskTextLightColor="white",this.taskTextColor="calculated",this.taskTextDarkColor="calculated",this.taskTextOutsideColor="calculated",this.taskTextClickableColor="#003163",this.activeTaskBorderColor="calculated",this.activeTaskBkgColor="calculated",this.gridColor="calculated",this.doneTaskBkgColor="calculated",this.doneTaskBorderColor="calculated",this.critBkgColor="calculated",this.critBorderColor="calculated",this.todayLineColor="calculated",this.personBorder=this.primaryBorderColor,this.personBkg=this.mainBkg,this.labelColor="black",this.errorBkgColor="#552222",this.errorTextColor="#552222"}updateColors(){var t,e,n,r,i,o,s,a,l,c,u;this.secondBkg=(0,m.A)(this.contrast,55),this.border2=this.contrast,this.actorBorder=(0,m.A)(this.border1,23),this.actorBkg=this.mainBkg,this.actorTextColor=this.text,this.actorLineColor=this.lineColor,this.signalColor=this.text,this.signalTextColor=this.text,this.labelBoxBkgColor=this.actorBkg,this.labelBoxBorderColor=this.actorBorder,this.labelTextColor=this.text,this.loopTextColor=this.text,this.noteBorderColor="#999",this.noteBkgColor="#666",this.noteTextColor="#fff",this.cScale0=this.cScale0||"#555",this.cScale1=this.cScale1||"#F4F4F4",this.cScale2=this.cScale2||"#555",this.cScale3=this.cScale3||"#BBB",this.cScale4=this.cScale4||"#777",this.cScale5=this.cScale5||"#999",this.cScale6=this.cScale6||"#DDD",this.cScale7=this.cScale7||"#FFF",this.cScale8=this.cScale8||"#DDD",this.cScale9=this.cScale9||"#BBB",this.cScale10=this.cScale10||"#999",this.cScale11=this.cScale11||"#777";for(let h=0;h<this.THEME_COLOR_LIMIT;h++)this["cScaleInv"+h]=this["cScaleInv"+h]||p(this["cScale"+h]);for(let h=0;h<this.THEME_COLOR_LIMIT;h++)this.darkMode?this["cScalePeer"+h]=this["cScalePeer"+h]||(0,m.A)(this["cScale"+h],10):this["cScalePeer"+h]=this["cScalePeer"+h]||(0,f.A)(this["cScale"+h],10);this.scaleLabelColor=this.scaleLabelColor||(this.darkMode?"black":this.labelTextColor),this.cScaleLabel0=this.cScaleLabel0||this.cScale1,this.cScaleLabel2=this.cScaleLabel2||this.cScale1;for(let h=0;h<this.THEME_COLOR_LIMIT;h++)this["cScaleLabel"+h]=this["cScaleLabel"+h]||this.scaleLabelColor;for(let d=0;d<5;d++)this["surface"+d]=this["surface"+d]||h(this.mainBkg,{l:-(5+5*d)}),this["surfacePeer"+d]=this["surfacePeer"+d]||h(this.mainBkg,{l:-(8+5*d)});this.nodeBkg=this.mainBkg,this.nodeBorder=this.border1,this.clusterBkg=this.secondBkg,this.clusterBorder=this.border2,this.defaultLinkColor=this.lineColor,this.titleColor=this.text,this.sectionBkgColor=(0,m.A)(this.contrast,30),this.sectionBkgColor2=(0,m.A)(this.contrast,30),this.taskBorderColor=(0,f.A)(this.contrast,10),this.taskBkgColor=this.contrast,this.taskTextColor=this.taskTextLightColor,this.taskTextDarkColor=this.text,this.taskTextOutsideColor=this.taskTextDarkColor,this.activeTaskBorderColor=this.taskBorderColor,this.activeTaskBkgColor=this.mainBkg,this.gridColor=(0,m.A)(this.border1,30),this.doneTaskBkgColor=this.done,this.doneTaskBorderColor=this.lineColor,this.critBkgColor=this.critical,this.critBorderColor=(0,f.A)(this.critBkgColor,10),this.todayLineColor=this.critBkgColor,this.transitionColor=this.transitionColor||"#000",this.transitionLabelColor=this.transitionLabelColor||this.textColor,this.stateLabelColor=this.stateLabelColor||this.stateBkg||this.primaryTextColor,this.stateBkg=this.stateBkg||this.mainBkg,this.labelBackgroundColor=this.labelBackgroundColor||this.stateBkg,this.compositeBackground=this.compositeBackground||this.background||this.tertiaryColor,this.altBackground=this.altBackground||"#f4f4f4",this.compositeTitleBackground=this.compositeTitleBackground||this.mainBkg,this.stateBorder=this.stateBorder||"#000",this.innerEndBackground=this.primaryBorderColor,this.specialStateColor="#222",this.errorBkgColor=this.errorBkgColor||this.tertiaryColor,this.errorTextColor=this.errorTextColor||this.tertiaryTextColor,this.classText=this.primaryTextColor,this.fillType0=this.primaryColor,this.fillType1=this.secondaryColor,this.fillType2=h(this.primaryColor,{h:64}),this.fillType3=h(this.secondaryColor,{h:64}),this.fillType4=h(this.primaryColor,{h:-64}),this.fillType5=h(this.secondaryColor,{h:-64}),this.fillType6=h(this.primaryColor,{h:128}),this.fillType7=h(this.secondaryColor,{h:128});for(let h=0;h<this.THEME_COLOR_LIMIT;h++)this["pie"+h]=this["cScale"+h];this.pie12=this.pie0,this.pieTitleTextSize=this.pieTitleTextSize||"25px",this.pieTitleTextColor=this.pieTitleTextColor||this.taskTextDarkColor,this.pieSectionTextSize=this.pieSectionTextSize||"17px",this.pieSectionTextColor=this.pieSectionTextColor||this.textColor,this.pieLegendTextSize=this.pieLegendTextSize||"17px",this.pieLegendTextColor=this.pieLegendTextColor||this.taskTextDarkColor,this.pieStrokeColor=this.pieStrokeColor||"black",this.pieStrokeWidth=this.pieStrokeWidth||"2px",this.pieOuterStrokeWidth=this.pieOuterStrokeWidth||"2px",this.pieOuterStrokeColor=this.pieOuterStrokeColor||"black",this.pieOpacity=this.pieOpacity||"0.7",this.quadrant1Fill=this.quadrant1Fill||this.primaryColor,this.quadrant2Fill=this.quadrant2Fill||h(this.primaryColor,{r:5,g:5,b:5}),this.quadrant3Fill=this.quadrant3Fill||h(this.primaryColor,{r:10,g:10,b:10}),this.quadrant4Fill=this.quadrant4Fill||h(this.primaryColor,{r:15,g:15,b:15}),this.quadrant1TextFill=this.quadrant1TextFill||this.primaryTextColor,this.quadrant2TextFill=this.quadrant2TextFill||h(this.primaryTextColor,{r:-5,g:-5,b:-5}),this.quadrant3TextFill=this.quadrant3TextFill||h(this.primaryTextColor,{r:-10,g:-10,b:-10}),this.quadrant4TextFill=this.quadrant4TextFill||h(this.primaryTextColor,{r:-15,g:-15,b:-15}),this.quadrantPointFill=this.quadrantPointFill||(0,g.A)(this.quadrant1Fill)?(0,m.A)(this.quadrant1Fill):(0,f.A)(this.quadrant1Fill),this.quadrantPointTextFill=this.quadrantPointTextFill||this.primaryTextColor,this.quadrantXAxisTextFill=this.quadrantXAxisTextFill||this.primaryTextColor,this.quadrantYAxisTextFill=this.quadrantYAxisTextFill||this.primaryTextColor,this.quadrantInternalBorderStrokeFill=this.quadrantInternalBorderStrokeFill||this.primaryBorderColor,this.quadrantExternalBorderStrokeFill=this.quadrantExternalBorderStrokeFill||this.primaryBorderColor,this.quadrantTitleFill=this.quadrantTitleFill||this.primaryTextColor,this.xyChart={backgroundColor:(null==(t=this.xyChart)?void 0:t.backgroundColor)||this.background,titleColor:(null==(e=this.xyChart)?void 0:e.titleColor)||this.primaryTextColor,xAxisTitleColor:(null==(n=this.xyChart)?void 0:n.xAxisTitleColor)||this.primaryTextColor,xAxisLabelColor:(null==(r=this.xyChart)?void 0:r.xAxisLabelColor)||this.primaryTextColor,xAxisTickColor:(null==(i=this.xyChart)?void 0:i.xAxisTickColor)||this.primaryTextColor,xAxisLineColor:(null==(o=this.xyChart)?void 0:o.xAxisLineColor)||this.primaryTextColor,yAxisTitleColor:(null==(s=this.xyChart)?void 0:s.yAxisTitleColor)||this.primaryTextColor,yAxisLabelColor:(null==(a=this.xyChart)?void 0:a.yAxisLabelColor)||this.primaryTextColor,yAxisTickColor:(null==(l=this.xyChart)?void 0:l.yAxisTickColor)||this.primaryTextColor,yAxisLineColor:(null==(c=this.xyChart)?void 0:c.yAxisLineColor)||this.primaryTextColor,plotColorPalette:(null==(u=this.xyChart)?void 0:u.plotColorPalette)||"#EEE,#6BB8E4,#8ACB88,#C7ACD6,#E8DCC2,#FFB2A8,#FFF380,#7E8D91,#FFD8B1,#FAF3E0"},this.requirementBackground=this.requirementBackground||this.primaryColor,this.requirementBorderColor=this.requirementBorderColor||this.primaryBorderColor,this.requirementBorderSize=this.requirementBorderSize||"1",this.requirementTextColor=this.requirementTextColor||this.primaryTextColor,this.relationColor=this.relationColor||this.lineColor,this.relationLabelBackground=this.relationLabelBackground||this.edgeLabelBackground,this.relationLabelColor=this.relationLabelColor||this.actorTextColor,this.git0=(0,f.A)(this.pie1,25)||this.primaryColor,this.git1=this.pie2||this.secondaryColor,this.git2=this.pie3||this.tertiaryColor,this.git3=this.pie4||h(this.primaryColor,{h:-30}),this.git4=this.pie5||h(this.primaryColor,{h:-60}),this.git5=this.pie6||h(this.primaryColor,{h:-90}),this.git6=this.pie7||h(this.primaryColor,{h:60}),this.git7=this.pie8||h(this.primaryColor,{h:120}),this.gitInv0=this.gitInv0||p(this.git0),this.gitInv1=this.gitInv1||p(this.git1),this.gitInv2=this.gitInv2||p(this.git2),this.gitInv3=this.gitInv3||p(this.git3),this.gitInv4=this.gitInv4||p(this.git4),this.gitInv5=this.gitInv5||p(this.git5),this.gitInv6=this.gitInv6||p(this.git6),this.gitInv7=this.gitInv7||p(this.git7),this.branchLabelColor=this.branchLabelColor||this.labelTextColor,this.gitBranchLabel0=this.branchLabelColor,this.gitBranchLabel1="white",this.gitBranchLabel2=this.branchLabelColor,this.gitBranchLabel3="white",this.gitBranchLabel4=this.branchLabelColor,this.gitBranchLabel5=this.branchLabelColor,this.gitBranchLabel6=this.branchLabelColor,this.gitBranchLabel7=this.branchLabelColor,this.tagLabelColor=this.tagLabelColor||this.primaryTextColor,this.tagLabelBackground=this.tagLabelBackground||this.primaryColor,this.tagLabelBorder=this.tagBorder||this.primaryBorderColor,this.tagLabelFontSize=this.tagLabelFontSize||"10px",this.commitLabelColor=this.commitLabelColor||this.secondaryTextColor,this.commitLabelBackground=this.commitLabelBackground||this.secondaryColor,this.commitLabelFontSize=this.commitLabelFontSize||"10px",this.attributeBackgroundColorOdd=this.attributeBackgroundColorOdd||Lt,this.attributeBackgroundColorEven=this.attributeBackgroundColorEven||Et}calculate(t){if("object"!=typeof t)return void this.updateColors();const e=Object.keys(t);e.forEach((e=>{this[e]=t[e]})),this.updateColors(),e.forEach((e=>{this[e]=t[e]}))}}const Rt={base:{getThemeVariables:t=>{const e=new Bt;return e.calculate(t),e}},dark:{getThemeVariables:t=>{const e=new Ft;return e.calculate(t),e}},default:{getThemeVariables:Mt},forest:{getThemeVariables:t=>{const e=new jt;return e.calculate(t),e}},neutral:{getThemeVariables:t=>{const e=new Ot;return e.calculate(t),e}}},Dt={flowchart:{useMaxWidth:!0,titleTopMargin:25,subGraphTitleMargin:{top:0,bottom:0},diagramPadding:8,htmlLabels:!0,nodeSpacing:50,rankSpacing:50,curve:"basis",padding:15,defaultRenderer:"dagre-wrapper",wrappingWidth:200},sequence:{useMaxWidth:!0,hideUnusedParticipants:!1,activationWidth:10,diagramMarginX:50,diagramMarginY:10,actorMargin:50,width:150,height:65,boxMargin:10,boxTextMargin:5,noteMargin:10,messageMargin:35,messageAlign:"center",mirrorActors:!0,forceMenus:!1,bottomMarginAdj:1,rightAngles:!1,showSequenceNumbers:!1,actorFontSize:14,actorFontFamily:'"Open Sans", sans-serif',actorFontWeight:400,noteFontSize:14,noteFontFamily:'"trebuchet ms", verdana, arial, sans-serif',noteFontWeight:400,noteAlign:"center",messageFontSize:16,messageFontFamily:'"trebuchet ms", verdana, arial, sans-serif',messageFontWeight:400,wrap:!1,wrapPadding:10,labelBoxWidth:50,labelBoxHeight:20},gantt:{useMaxWidth:!0,titleTopMargin:25,barHeight:20,barGap:4,topPadding:50,rightPadding:75,leftPadding:75,gridLineStartPadding:35,fontSize:11,sectionFontSize:11,numberSectionStyles:4,axisFormat:"%Y-%m-%d",topAxis:!1,displayMode:"",weekday:"sunday"},journey:{useMaxWidth:!0,diagramMarginX:50,diagramMarginY:10,leftMargin:150,width:150,height:50,boxMargin:10,boxTextMargin:5,noteMargin:10,messageMargin:35,messageAlign:"center",bottomMarginAdj:1,rightAngles:!1,taskFontSize:14,taskFontFamily:'"Open Sans", sans-serif',taskMargin:50,activationWidth:10,textPlacement:"fo",actorColours:["#8FBC8F","#7CFC00","#00FFFF","#20B2AA","#B0E0E6","#FFFFE0"],sectionFills:["#191970","#8B008B","#4B0082","#2F4F4F","#800000","#8B4513","#00008B"],sectionColours:["#fff"]},class:{useMaxWidth:!0,titleTopMargin:25,arrowMarkerAbsolute:!1,dividerMargin:10,padding:5,textHeight:10,defaultRenderer:"dagre-wrapper",htmlLabels:!1},state:{useMaxWidth:!0,titleTopMargin:25,dividerMargin:10,sizeUnit:5,padding:8,textHeight:10,titleShift:-15,noteMargin:10,forkWidth:70,forkHeight:7,miniPadding:2,fontSizeFactor:5.02,fontSize:24,labelHeight:16,edgeLengthFactor:"20",compositTitleSize:35,radius:5,defaultRenderer:"dagre-wrapper"},er:{useMaxWidth:!0,titleTopMargin:25,diagramPadding:20,layoutDirection:"TB",minEntityWidth:100,minEntityHeight:75,entityPadding:15,stroke:"gray",fill:"honeydew",fontSize:12},pie:{useMaxWidth:!0,textPosition:.75},quadrantChart:{useMaxWidth:!0,chartWidth:500,chartHeight:500,titleFontSize:20,titlePadding:10,quadrantPadding:5,xAxisLabelPadding:5,yAxisLabelPadding:5,xAxisLabelFontSize:16,yAxisLabelFontSize:16,quadrantLabelFontSize:16,quadrantTextTopPadding:5,pointTextPadding:5,pointLabelFontSize:12,pointRadius:5,xAxisPosition:"top",yAxisPosition:"left",quadrantInternalBorderStrokeWidth:1,quadrantExternalBorderStrokeWidth:2},xyChart:{useMaxWidth:!0,width:700,height:500,titleFontSize:20,titlePadding:10,showTitle:!0,xAxis:{$ref:"#/$defs/XYChartAxisConfig",showLabel:!0,labelFontSize:14,labelPadding:5,showTitle:!0,titleFontSize:16,titlePadding:5,showTick:!0,tickLength:5,tickWidth:2,showAxisLine:!0,axisLineWidth:2},yAxis:{$ref:"#/$defs/XYChartAxisConfig",showLabel:!0,labelFontSize:14,labelPadding:5,showTitle:!0,titleFontSize:16,titlePadding:5,showTick:!0,tickLength:5,tickWidth:2,showAxisLine:!0,axisLineWidth:2},chartOrientation:"vertical",plotReservedSpacePercent:50},requirement:{useMaxWidth:!0,rect_fill:"#f9f9f9",text_color:"#333",rect_border_size:"0.5px",rect_border_color:"#bbb",rect_min_width:200,rect_min_height:200,fontSize:14,rect_padding:10,line_height:20},mindmap:{useMaxWidth:!0,padding:10,maxNodeWidth:200},timeline:{useMaxWidth:!0,diagramMarginX:50,diagramMarginY:10,leftMargin:150,width:150,height:50,boxMargin:10,boxTextMargin:5,noteMargin:10,messageMargin:35,messageAlign:"center",bottomMarginAdj:1,rightAngles:!1,taskFontSize:14,taskFontFamily:'"Open Sans", sans-serif',taskMargin:50,activationWidth:10,textPlacement:"fo",actorColours:["#8FBC8F","#7CFC00","#00FFFF","#20B2AA","#B0E0E6","#FFFFE0"],sectionFills:["#191970","#8B008B","#4B0082","#2F4F4F","#800000","#8B4513","#00008B"],sectionColours:["#fff"],disableMulticolor:!1},gitGraph:{useMaxWidth:!0,titleTopMargin:25,diagramPadding:8,nodeLabel:{width:75,height:100,x:-25,y:0},mainBranchName:"main",mainBranchOrder:0,showCommitLabel:!0,showBranches:!0,rotateCommitLabel:!0,parallelCommits:!1,arrowMarkerAbsolute:!1},c4:{useMaxWidth:!0,diagramMarginX:50,diagramMarginY:10,c4ShapeMargin:50,c4ShapePadding:20,width:216,height:60,boxMargin:10,c4ShapeInRow:4,nextLinePaddingX:0,c4BoundaryInRow:2,personFontSize:14,personFontFamily:'"Open Sans", sans-serif',personFontWeight:"normal",external_personFontSize:14,external_personFontFamily:'"Open Sans", sans-serif',external_personFontWeight:"normal",systemFontSize:14,systemFontFamily:'"Open Sans", sans-serif',systemFontWeight:"normal",external_systemFontSize:14,external_systemFontFamily:'"Open Sans", sans-serif',external_systemFontWeight:"normal",system_dbFontSize:14,system_dbFontFamily:'"Open Sans", sans-serif',system_dbFontWeight:"normal",external_system_dbFontSize:14,external_system_dbFontFamily:'"Open Sans", sans-serif',external_system_dbFontWeight:"normal",system_queueFontSize:14,system_queueFontFamily:'"Open Sans", sans-serif',system_queueFontWeight:"normal",external_system_queueFontSize:14,external_system_queueFontFamily:'"Open Sans", sans-serif',external_system_queueFontWeight:"normal",boundaryFontSize:14,boundaryFontFamily:'"Open Sans", sans-serif',boundaryFontWeight:"normal",messageFontSize:12,messageFontFamily:'"Open Sans", sans-serif',messageFontWeight:"normal",containerFontSize:14,containerFontFamily:'"Open Sans", sans-serif',containerFontWeight:"normal",external_containerFontSize:14,external_containerFontFamily:'"Open Sans", sans-serif',external_containerFontWeight:"normal",container_dbFontSize:14,container_dbFontFamily:'"Open Sans", sans-serif',container_dbFontWeight:"normal",external_container_dbFontSize:14,external_container_dbFontFamily:'"Open Sans", sans-serif',external_container_dbFontWeight:"normal",container_queueFontSize:14,container_queueFontFamily:'"Open Sans", sans-serif',container_queueFontWeight:"normal",external_container_queueFontSize:14,external_container_queueFontFamily:'"Open Sans", sans-serif',external_container_queueFontWeight:"normal",componentFontSize:14,componentFontFamily:'"Open Sans", sans-serif',componentFontWeight:"normal",external_componentFontSize:14,external_componentFontFamily:'"Open Sans", sans-serif',external_componentFontWeight:"normal",component_dbFontSize:14,component_dbFontFamily:'"Open Sans", sans-serif',component_dbFontWeight:"normal",external_component_dbFontSize:14,external_component_dbFontFamily:'"Open Sans", sans-serif',external_component_dbFontWeight:"normal",component_queueFontSize:14,component_queueFontFamily:'"Open Sans", sans-serif',component_queueFontWeight:"normal",external_component_queueFontSize:14,external_component_queueFontFamily:'"Open Sans", sans-serif',external_component_queueFontWeight:"normal",wrap:!0,wrapPadding:10,person_bg_color:"#08427B",person_border_color:"#073B6F",external_person_bg_color:"#686868",external_person_border_color:"#8A8A8A",system_bg_color:"#1168BD",system_border_color:"#3C7FC0",system_db_bg_color:"#1168BD",system_db_border_color:"#3C7FC0",system_queue_bg_color:"#1168BD",system_queue_border_color:"#3C7FC0",external_system_bg_color:"#999999",external_system_border_color:"#8A8A8A",external_system_db_bg_color:"#999999",external_system_db_border_color:"#8A8A8A",external_system_queue_bg_color:"#999999",external_system_queue_border_color:"#8A8A8A",container_bg_color:"#438DD5",container_border_color:"#3C7FC0",container_db_bg_color:"#438DD5",container_db_border_color:"#3C7FC0",container_queue_bg_color:"#438DD5",container_queue_border_color:"#3C7FC0",external_container_bg_color:"#B3B3B3",external_container_border_color:"#A6A6A6",external_container_db_bg_color:"#B3B3B3",external_container_db_border_color:"#A6A6A6",external_container_queue_bg_color:"#B3B3B3",external_container_queue_border_color:"#A6A6A6",component_bg_color:"#85BBF0",component_border_color:"#78A8D8",component_db_bg_color:"#85BBF0",component_db_border_color:"#78A8D8",component_queue_bg_color:"#85BBF0",component_queue_border_color:"#78A8D8",external_component_bg_color:"#CCCCCC",external_component_border_color:"#BFBFBF",external_component_db_bg_color:"#CCCCCC",external_component_db_border_color:"#BFBFBF",external_component_queue_bg_color:"#CCCCCC",external_component_queue_border_color:"#BFBFBF"},sankey:{useMaxWidth:!0,width:600,height:400,linkColor:"gradient",nodeAlignment:"justify",showValues:!0,prefix:"",suffix:""},block:{useMaxWidth:!0,padding:8},theme:"default",maxTextSize:5e4,maxEdges:500,darkMode:!1,fontFamily:'"trebuchet ms", verdana, arial, sans-serif;',logLevel:5,securityLevel:"strict",startOnLoad:!0,arrowMarkerAbsolute:!1,secure:["secure","securityLevel","startOnLoad","maxTextSize","maxEdges"],legacyMathML:!1,deterministicIds:!1,fontSize:16},qt={...Dt,deterministicIDSeed:void 0,themeCSS:void 0,themeVariables:Rt.default.getThemeVariables(),sequence:{...Dt.sequence,messageFont:function(){return{fontFamily:this.messageFontFamily,fontSize:this.messageFontSize,fontWeight:this.messageFontWeight}},noteFont:function(){return{fontFamily:this.noteFontFamily,fontSize:this.noteFontSize,fontWeight:this.noteFontWeight}},actorFont:function(){return{fontFamily:this.actorFontFamily,fontSize:this.actorFontSize,fontWeight:this.actorFontWeight}}},gantt:{...Dt.gantt,tickInterval:void 0,useWidth:void 0},c4:{...Dt.c4,useWidth:void 0,personFont:function(){return{fontFamily:this.personFontFamily,fontSize:this.personFontSize,fontWeight:this.personFontWeight}},external_personFont:function(){return{fontFamily:this.external_personFontFamily,fontSize:this.external_personFontSize,fontWeight:this.external_personFontWeight}},systemFont:function(){return{fontFamily:this.systemFontFamily,fontSize:this.systemFontSize,fontWeight:this.systemFontWeight}},external_systemFont:function(){return{fontFamily:this.external_systemFontFamily,fontSize:this.external_systemFontSize,fontWeight:this.external_systemFontWeight}},system_dbFont:function(){return{fontFamily:this.system_dbFontFamily,fontSize:this.system_dbFontSize,fontWeight:this.system_dbFontWeight}},external_system_dbFont:function(){return{fontFamily:this.external_system_dbFontFamily,fontSize:this.external_system_dbFontSize,fontWeight:this.external_system_dbFontWeight}},system_queueFont:function(){return{fontFamily:this.system_queueFontFamily,fontSize:this.system_queueFontSize,fontWeight:this.system_queueFontWeight}},external_system_queueFont:function(){return{fontFamily:this.external_system_queueFontFamily,fontSize:this.external_system_queueFontSize,fontWeight:this.external_system_queueFontWeight}},containerFont:function(){return{fontFamily:this.containerFontFamily,fontSize:this.containerFontSize,fontWeight:this.containerFontWeight}},external_containerFont:function(){return{fontFamily:this.external_containerFontFamily,fontSize:this.external_containerFontSize,fontWeight:this.external_containerFontWeight}},container_dbFont:function(){return{fontFamily:this.container_dbFontFamily,fontSize:this.container_dbFontSize,fontWeight:this.container_dbFontWeight}},external_container_dbFont:function(){return{fontFamily:this.external_container_dbFontFamily,fontSize:this.external_container_dbFontSize,fontWeight:this.external_container_dbFontWeight}},container_queueFont:function(){return{fontFamily:this.container_queueFontFamily,fontSize:this.container_queueFontSize,fontWeight:this.container_queueFontWeight}},external_container_queueFont:function(){return{fontFamily:this.external_container_queueFontFamily,fontSize:this.external_container_queueFontSize,fontWeight:this.external_container_queueFontWeight}},componentFont:function(){return{fontFamily:this.componentFontFamily,fontSize:this.componentFontSize,fontWeight:this.componentFontWeight}},external_componentFont:function(){return{fontFamily:this.external_componentFontFamily,fontSize:this.external_componentFontSize,fontWeight:this.external_componentFontWeight}},component_dbFont:function(){return{fontFamily:this.component_dbFontFamily,fontSize:this.component_dbFontSize,fontWeight:this.component_dbFontWeight}},external_component_dbFont:function(){return{fontFamily:this.external_component_dbFontFamily,fontSize:this.external_component_dbFontSize,fontWeight:this.external_component_dbFontWeight}},component_queueFont:function(){return{fontFamily:this.component_queueFontFamily,fontSize:this.component_queueFontSize,fontWeight:this.component_queueFontWeight}},external_component_queueFont:function(){return{fontFamily:this.external_component_queueFontFamily,fontSize:this.external_component_queueFontSize,fontWeight:this.external_component_queueFontWeight}},boundaryFont:function(){return{fontFamily:this.boundaryFontFamily,fontSize:this.boundaryFontSize,fontWeight:this.boundaryFontWeight}},messageFont:function(){return{fontFamily:this.messageFontFamily,fontSize:this.messageFontSize,fontWeight:this.messageFontWeight}}},pie:{...Dt.pie,useWidth:984},xyChart:{...Dt.xyChart,useWidth:void 0},requirement:{...Dt.requirement,useWidth:void 0},gitGraph:{...Dt.gitGraph,useMaxWidth:!1},sankey:{...Dt.sankey,useMaxWidth:!1}},$t=(t,e="")=>Object.keys(t).reduce(((n,r)=>Array.isArray(t[r])?n:"object"==typeof t[r]&&null!==t[r]?[...n,e+r,...$t(t[r],"")]:[...n,e+r]),[]),Pt=new Set($t(qt,"")),zt=qt,Ut=t=>{if(at.debug("sanitizeDirective called with",t),"object"==typeof t&&null!=t)if(Array.isArray(t))t.forEach((t=>Ut(t)));else{for(const e of Object.keys(t)){if(at.debug("Checking key",e),e.startsWith("__")||e.includes("proto")||e.includes("constr")||!Pt.has(e)||null==t[e]){at.debug("sanitize deleting key: ",e),delete t[e];continue}if("object"==typeof t[e]){at.debug("sanitizing object",e),Ut(t[e]);continue}const n=["themeCSS","fontFamily","altFontFamily"];for(const r of n)e.includes(r)&&(at.debug("sanitizing css option",e),t[e]=Wt(t[e]))}if(t.themeVariables)for(const e of Object.keys(t.themeVariables)){const n=t.themeVariables[e];(null==n?void 0:n.match)&&!n.match(/^[\d "#%(),.;A-Za-z]+$/)&&(t.themeVariables[e]="")}at.debug("After sanitization",t)}},Wt=t=>{let e=0,n=0;for(const r of t){if(e<n)return"{ /* ERROR: Unbalanced CSS */ }";"{"===r?e++:"}"===r&&n++}return e!==n?"{ /* ERROR: Unbalanced CSS */ }":t},Ht=/^-{3}\s*[\n\r](.*?)[\n\r]-{3}\s*[\n\r]+/s,Vt=/%{2}{\s*(?:(\w+)\s*:|(\w+))\s*(?:(\w+)|((?:(?!}%{2}).|\r?\n)*))?\s*(?:}%{2})?/gi,Yt=/\s*%%.*\n/gm;class Gt extends Error{constructor(t){super(t),this.name="UnknownDiagramError"}}const Xt={},Kt=function(t,e){t=t.replace(Ht,"").replace(Vt,"").replace(Yt,"\n");for(const[n,{detector:r}]of Object.entries(Xt)){if(r(t,e))return n}throw new Gt(`No diagram type detected matching given configuration for text: ${t}`)},Zt=(...t)=>{for(const{id:e,detector:n,loader:r}of t)Jt(e,n,r)},Jt=(t,e,n)=>{Xt[t]?at.error(`Detector with key ${t} already exists`):Xt[t]={detector:e,loader:n},at.debug(`Detector with key ${t} added${n?" with loader":""}`)},Qt=(t,e,{depth:n=2,clobber:r=!1}={})=>{const i={depth:n,clobber:r};return Array.isArray(e)&&!Array.isArray(t)?(e.forEach((e=>Qt(t,e,i))),t):Array.isArray(e)&&Array.isArray(t)?(e.forEach((e=>{t.includes(e)||t.push(e)})),t):void 0===t||n<=0?null!=t&&"object"==typeof t&&"object"==typeof e?Object.assign(t,e):e:(void 0!==e&&"object"==typeof t&&"object"==typeof e&&Object.keys(e).forEach((i=>{"object"!=typeof e[i]||void 0!==t[i]&&"object"!=typeof t[i]?(r||"object"!=typeof t[i]&&"object"!=typeof e[i])&&(t[i]=e[i]):(void 0===t[i]&&(t[i]=Array.isArray(e[i])?[]:{}),t[i]=Qt(t[i],e[i],{depth:n-1,clobber:r}))})),t)},te=Qt,ee="\u200b",ne={curveBasis:s.qrM,curveBasisClosed:s.Yu4,curveBasisOpen:s.IA3,curveBumpX:s.Wi0,curveBumpY:s.PGM,curveBundle:s.OEq,curveCardinalClosed:s.olC,curveCardinalOpen:s.IrU,curveCardinal:s.y8u,curveCatmullRomClosed:s.Q7f,curveCatmullRomOpen:s.cVp,curveCatmullRom:s.oDi,curveLinear:s.lUB,curveLinearClosed:s.Lx9,curveMonotoneX:s.nVG,curveMonotoneY:s.uxU,curveNatural:s.Xf2,curveStep:s.GZz,curveStepAfter:s.UPb,curveStepBefore:s.dyv},re=/\s*(?:(\w+)(?=:):|(\w+))\s*(?:(\w+)|((?:(?!}%{2}).|\r?\n)*))?\s*(?:}%{2})?/gi,ie=function(t,e=null){try{const n=new RegExp(`[%]{2}(?![{]${re.source})(?=[}][%]{2}).*\n`,"ig");let r;t=t.trim().replace(n,"").replace(/'/gm,'"'),at.debug(`Detecting diagram directive${null!==e?" type:"+e:""} based on the text:${t}`);const i=[];for(;null!==(r=Vt.exec(t));)if(r.index===Vt.lastIndex&&Vt.lastIndex++,r&&!e||e&&r[1]&&r[1].match(e)||e&&r[2]&&r[2].match(e)){const t=r[1]?r[1]:r[2],e=r[3]?r[3].trim():r[4]?JSON.parse(r[4].trim()):null;i.push({type:t,args:e})}return 0===i.length?{type:t,args:null}:1===i.length?i[0]:i}catch(n){return at.error(`ERROR: ${n.message} - Unable to parse directive type: '${e}' based on the text: '${t}'`),{type:void 0,args:null}}};function oe(t,e){if(!t)return e;const n=`curve${t.charAt(0).toUpperCase()+t.slice(1)}`;return ne[n]??e}function se(t,e){return t&&e?Math.sqrt(Math.pow(e.x-t.x,2)+Math.pow(e.y-t.y,2)):0}const ae=(t,e=2)=>{const n=Math.pow(10,e);return Math.round(t*n)/n},le=(t,e)=>{let n,r=e;for(const i of t){if(n){const t=se(i,n);if(t<r)r-=t;else{const e=r/t;if(e<=0)return n;if(e>=1)return{x:i.x,y:i.y};if(e>0&&e<1)return{x:ae((1-e)*n.x+e*i.x,5),y:ae((1-e)*n.y+e*i.y,5)}}}n=i}throw new Error("Could not find a suitable point for the given distance")};function ce(t){let e="",n="";for(const r of t)void 0!==r&&(r.startsWith("color:")||r.startsWith("text-align:")?n=n+r+";":e=e+r+";");return{style:e,labelStyle:n}}let he=0;const ue=()=>(he++,"id-"+Math.random().toString(36).substr(2,12)+"-"+he);const de=t=>function(t){let e="";const n="0123456789abcdef";for(let r=0;r<t;r++)e+=n.charAt(Math.floor(16*Math.random()));return e}(t.length),pe=function(t,e){const n=e.text.replace(St.lineBreakRegex," "),[,r]=be(e.fontSize),i=t.append("text");i.attr("x",e.x),i.attr("y",e.y),i.style("text-anchor",e.anchor),i.style("font-family",e.fontFamily),i.style("font-size",r),i.style("font-weight",e.fontWeight),i.attr("fill",e.fill),void 0!==e.class&&i.attr("class",e.class);const o=i.append("tspan");return o.attr("x",e.x+2*e.textMargin),o.attr("fill",e.fill),o.text(n),i},fe=(0,y.A)(((t,e,n)=>{if(!t)return t;if(n=Object.assign({fontSize:12,fontWeight:400,fontFamily:"Arial",joinWith:"<br/>"},n),St.lineBreakRegex.test(t))return t;const r=t.split(" "),i=[];let o="";return r.forEach(((t,s)=>{const a=ye(`${t} `,n),l=ye(o,n);if(a>e){const{hyphenatedStrings:r,remainingWord:s}=me(t,e,"-",n);i.push(o,...r),o=s}else l+a>=e?(i.push(o),o=t):o=[o,t].filter(Boolean).join(" ");s+1===r.length&&i.push(o)})),i.filter((t=>""!==t)).join(n.joinWith)}),((t,e,n)=>`${t}${e}${n.fontSize}${n.fontWeight}${n.fontFamily}${n.joinWith}`)),me=(0,y.A)(((t,e,n="-",r)=>{r=Object.assign({fontSize:12,fontWeight:400,fontFamily:"Arial",margin:0},r);const i=[...t],o=[];let s="";return i.forEach(((t,a)=>{const l=`${s}${t}`;if(ye(l,r)>=e){const t=a+1,e=i.length===t,r=`${l}${n}`;o.push(e?l:r),s=""}else s=l})),{hyphenatedStrings:o,remainingWord:s}}),((t,e,n="-",r)=>`${t}${e}${n}${r.fontSize}${r.fontWeight}${r.fontFamily}`));function ge(t,e){return ke(t,e).height}function ye(t,e){return ke(t,e).width}const ke=(0,y.A)(((t,e)=>{const{fontSize:n=12,fontFamily:r="Arial",fontWeight:i=400}=e;if(!t)return{width:0,height:0};const[,o]=be(n),a=["sans-serif",r],l=t.split(St.lineBreakRegex),c=[],h=(0,s.Ltv)("body");if(!h.remove)return{width:0,height:0,lineHeight:0};const u=h.append("svg");for(const s of a){let t=0;const e={width:0,height:0,lineHeight:0};for(const n of l){const r={x:0,y:0,fill:void 0,anchor:"start",style:"#666",width:100,height:100,textMargin:0,rx:0,ry:0,valign:void 0,text:""};r.text=n||ee;const a=pe(u,r).style("font-size",o).style("font-weight",i).style("font-family",s),l=(a._groups||a)[0][0].getBBox();if(0===l.width&&0===l.height)throw new Error("svg element not in render tree");e.width=Math.round(Math.max(e.width,l.width)),t=Math.round(l.height),e.height+=t,e.lineHeight=Math.round(Math.max(e.lineHeight,t))}c.push(e)}u.remove();return c[isNaN(c[1].height)||isNaN(c[1].width)||isNaN(c[1].lineHeight)||c[0].height>c[1].height&&c[0].width>c[1].width&&c[0].lineHeight>c[1].lineHeight?0:1]}),((t,e)=>`${t}${e.fontSize}${e.fontWeight}${e.fontFamily}`));let xe;function _e(t){return"str"in t}const be=t=>{if("number"==typeof t)return[t,t+"px"];const e=parseInt(t??"",10);return Number.isNaN(e)?[void 0,void 0]:t===String(e)?[e,t+"px"]:[e,t]};function Ce(t,e){return(0,k.A)({},t,e)}const ve={assignWithDepth:te,wrapLabel:fe,calculateTextHeight:ge,calculateTextWidth:ye,calculateTextDimensions:ke,cleanAndMerge:Ce,detectInit:function(t,e){const n=ie(t,/(?:init\b)|(?:initialize\b)/);let r={};if(Array.isArray(n)){const t=n.map((t=>t.args));Ut(t),r=te(r,[...t])}else r=n.args;if(!r)return;let i=Kt(t,e);const o="config";return void 0!==r[o]&&("flowchart-v2"===i&&(i="flowchart"),r[i]=r[o],delete r[o]),r},detectDirective:ie,isSubstringInArray:function(t,e){for(const[n,r]of e.entries())if(r.match(t))return n;return-1},interpolateToCurve:oe,calcLabelPosition:function(t){return 1===t.length?t[0]:function(t){let e,n=0;return t.forEach((t=>{n+=se(t,e),e=t})),le(t,n/2)}(t)},calcCardinalityPosition:(t,e,n)=>{at.info(`our points ${JSON.stringify(e)}`),e[0]!==n&&(e=e.reverse());const r=le(e,25),i=t?10:5,o=Math.atan2(e[0].y-r.y,e[0].x-r.x),s={x:0,y:0};return s.x=Math.sin(o)*i+(e[0].x+r.x)/2,s.y=-Math.cos(o)*i+(e[0].y+r.y)/2,s},calcTerminalLabelPosition:function(t,e,n){const r=structuredClone(n);at.info("our points",r),"start_left"!==e&&"start_right"!==e&&r.reverse();const i=le(r,25+t),o=10+.5*t,s=Math.atan2(r[0].y-i.y,r[0].x-i.x),a={x:0,y:0};return"start_left"===e?(a.x=Math.sin(s+Math.PI)*o+(r[0].x+i.x)/2,a.y=-Math.cos(s+Math.PI)*o+(r[0].y+i.y)/2):"end_right"===e?(a.x=Math.sin(s-Math.PI)*o+(r[0].x+i.x)/2-5,a.y=-Math.cos(s-Math.PI)*o+(r[0].y+i.y)/2-5):"end_left"===e?(a.x=Math.sin(s)*o+(r[0].x+i.x)/2-5,a.y=-Math.cos(s)*o+(r[0].y+i.y)/2-5):(a.x=Math.sin(s)*o+(r[0].x+i.x)/2,a.y=-Math.cos(s)*o+(r[0].y+i.y)/2),a},formatUrl:function(t,e){const n=t.trim();if(n)return"loose"!==e.securityLevel?(0,o.Jf)(n):n},getStylesFromArray:ce,generateId:ue,random:de,runFunc:(t,...e)=>{const n=t.split("."),r=n.length-1,i=n[r];let o=window;for(let s=0;s<r;s++)if(o=o[n[s]],!o)return void at.error(`Function name: ${t} not found in window`);o[i](...e)},entityDecode:function(t){return xe=xe||document.createElement("div"),t=escape(t).replace(/%26/g,"&").replace(/%23/g,"#").replace(/%3B/g,";"),xe.innerHTML=t,unescape(xe.textContent)},insertTitle:(t,e,n,r)=>{var i;if(!r)return;const o=null==(i=t.node())?void 0:i.getBBox();o&&t.append("text").text(r).attr("x",o.x+o.width/2).attr("y",-n).attr("class",e)},parseFontSize:be,InitIDGenerator:class{constructor(t=!1,e){this.count=0,this.count=e?e.length:0,this.next=t?()=>this.count++:()=>Date.now()}}},Te=function(t){return t.replace(/\ufb02\xb0\xb0/g,"&#").replace(/\ufb02\xb0/g,"&").replace(/\xb6\xdf/g,";")},Ae="10.9.1",we=Object.freeze(zt);let Se,Ie=te({},we),Le=[],Ee=te({},we);const Be=(t,e)=>{let n=te({},t),r={};for(const i of e)je(i),r=te(r,i);if(n=te(n,r),r.theme&&r.theme in Rt){const t=te({},Se),e=te(t.themeVariables||{},r.themeVariables);n.theme&&n.theme in Rt&&(n.themeVariables=Rt[n.theme].getThemeVariables(e))}return Ee=n,$e(Ee),Ee},Fe=()=>te({},Ie),Ne=t=>($e(t),te(Ee,t),Me()),Me=()=>te({},Ee),je=t=>{t&&(["secure",...Ie.secure??[]].forEach((e=>{Object.hasOwn(t,e)&&(at.debug(`Denied attempt to modify a secure key ${e}`,t[e]),delete t[e])})),Object.keys(t).forEach((e=>{e.startsWith("__")&&delete t[e]})),Object.keys(t).forEach((e=>{"string"==typeof t[e]&&(t[e].includes("<")||t[e].includes(">")||t[e].includes("url(data:"))&&delete t[e],"object"==typeof t[e]&&je(t[e])})))},Oe=t=>{Ut(t),!t.fontFamily||t.themeVariables&&t.themeVariables.fontFamily||(t.themeVariables={fontFamily:t.fontFamily}),Le.push(t),Be(Ie,Le)},Re=(t=Ie)=>{Le=[],Be(t,Le)},De={LAZY_LOAD_DEPRECATED:"The configuration options lazyLoadedDiagrams and loadExternalDiagramsAtStartup are deprecated. Please use registerExternalDiagrams instead."},qe={},$e=t=>{var e;t&&((t.lazyLoadedDiagrams||t.loadExternalDiagramsAtStartup)&&(qe[e="LAZY_LOAD_DEPRECATED"]||(at.warn(De[e]),qe[e]=!0)))},Pe={id:"c4",detector:t=>/^\s*C4Context|C4Container|C4Component|C4Dynamic|C4Deployment/.test(t),loader:async()=>{const{diagram:t}=await n.e(1946).then(n.bind(n,1946));return{id:"c4",diagram:t}}},ze="flowchart",Ue={id:ze,detector:(t,e)=>{var n,r;return"dagre-wrapper"!==(null==(n=null==e?void 0:e.flowchart)?void 0:n.defaultRenderer)&&"elk"!==(null==(r=null==e?void 0:e.flowchart)?void 0:r.defaultRenderer)&&/^\s*graph/.test(t)},loader:async()=>{const{diagram:t}=await Promise.all([n.e(2076),n.e(2983),n.e(2548),n.e(8810)]).then(n.bind(n,8810));return{id:ze,diagram:t}}},We="flowchart-v2",He={id:We,detector:(t,e)=>{var n,r,i;return"dagre-d3"!==(null==(n=null==e?void 0:e.flowchart)?void 0:n.defaultRenderer)&&"elk"!==(null==(r=null==e?void 0:e.flowchart)?void 0:r.defaultRenderer)&&(!(!/^\s*graph/.test(t)||"dagre-wrapper"!==(null==(i=null==e?void 0:e.flowchart)?void 0:i.defaultRenderer))||/^\s*flowchart/.test(t))},loader:async()=>{const{diagram:t}=await Promise.all([n.e(2076),n.e(2983),n.e(2548),n.e(2453)]).then(n.bind(n,4834));return{id:We,diagram:t}}},Ve={id:"er",detector:t=>/^\s*erDiagram/.test(t),loader:async()=>{const{diagram:t}=await Promise.all([n.e(2076),n.e(1398)]).then(n.bind(n,1398));return{id:"er",diagram:t}}},Ye="gitGraph",Ge={id:Ye,detector:t=>/^\s*gitGraph/.test(t),loader:async()=>{const{diagram:t}=await n.e(4943).then(n.bind(n,4943));return{id:Ye,diagram:t}}},Xe="gantt",Ke={id:Xe,detector:t=>/^\s*gantt/.test(t),loader:async()=>{const{diagram:t}=await n.e(8869).then(n.bind(n,8869));return{id:Xe,diagram:t}}},Ze="info",Je={id:Ze,detector:t=>/^\s*info/.test(t),loader:async()=>{const{diagram:t}=await n.e(2843).then(n.bind(n,2843));return{id:Ze,diagram:t}}},Qe={id:"pie",detector:t=>/^\s*pie/.test(t),loader:async()=>{const{diagram:t}=await n.e(6803).then(n.bind(n,6803));return{id:"pie",diagram:t}}},tn="quadrantChart",en={id:tn,detector:t=>/^\s*quadrantChart/.test(t),loader:async()=>{const{diagram:t}=await n.e(8478).then(n.bind(n,8478));return{id:tn,diagram:t}}},nn="xychart",rn={id:nn,detector:t=>/^\s*xychart-beta/.test(t),loader:async()=>{const{diagram:t}=await Promise.all([n.e(2076),n.e(2925)]).then(n.bind(n,2925));return{id:nn,diagram:t}}},on="requirement",sn={id:on,detector:t=>/^\s*requirement(Diagram)?/.test(t),loader:async()=>{const{diagram:t}=await Promise.all([n.e(2076),n.e(3706)]).then(n.bind(n,3706));return{id:on,diagram:t}}},an="sequence",ln={id:an,detector:t=>/^\s*sequenceDiagram/.test(t),loader:async()=>{const{diagram:t}=await n.e(9689).then(n.bind(n,9689));return{id:an,diagram:t}}},cn="class",hn={id:cn,detector:(t,e)=>{var n;return"dagre-wrapper"!==(null==(n=null==e?void 0:e.class)?void 0:n.defaultRenderer)&&/^\s*classDiagram/.test(t)},loader:async()=>{const{diagram:t}=await Promise.all([n.e(2076),n.e(3626),n.e(7426)]).then(n.bind(n,7426));return{id:cn,diagram:t}}},un="classDiagram",dn={id:un,detector:(t,e)=>{var n;return!(!/^\s*classDiagram/.test(t)||"dagre-wrapper"!==(null==(n=null==e?void 0:e.class)?void 0:n.defaultRenderer))||/^\s*classDiagram-v2/.test(t)},loader:async()=>{const{diagram:t}=await Promise.all([n.e(2076),n.e(2983),n.e(3626),n.e(8635)]).then(n.bind(n,8635));return{id:un,diagram:t}}},pn="state",fn={id:pn,detector:(t,e)=>{var n;return"dagre-wrapper"!==(null==(n=null==e?void 0:e.state)?void 0:n.defaultRenderer)&&/^\s*stateDiagram/.test(t)},loader:async()=>{const{diagram:t}=await Promise.all([n.e(2076),n.e(1245),n.e(1331)]).then(n.bind(n,1331));return{id:pn,diagram:t}}},mn="stateDiagram",gn={id:mn,detector:(t,e)=>{var n;return!!/^\s*stateDiagram-v2/.test(t)||!(!/^\s*stateDiagram/.test(t)||"dagre-wrapper"!==(null==(n=null==e?void 0:e.state)?void 0:n.defaultRenderer))},loader:async()=>{const{diagram:t}=await Promise.all([n.e(2076),n.e(2983),n.e(1245),n.e(3068)]).then(n.bind(n,687));return{id:mn,diagram:t}}},yn="journey",kn={id:yn,detector:t=>/^\s*journey/.test(t),loader:async()=>{const{diagram:t}=await n.e(6420).then(n.bind(n,6420));return{id:yn,diagram:t}}},xn=function(t,e,n,r){const i=function(t,e,n){let r=new Map;return n?(r.set("width","100%"),r.set("style",`max-width: ${e}px;`)):(r.set("height",t),r.set("width",e)),r}(e,n,r);!function(t,e){for(let n of e)t.attr(n[0],n[1])}(t,i)},_n=function(t,e,n,r){const i=e.node().getBBox(),o=i.width,s=i.height;at.info(`SVG bounds: ${o}x${s}`,i);let a=0,l=0;at.info(`Graph bounds: ${a}x${l}`,t),a=o+2*n,l=s+2*n,at.info(`Calculated bounds: ${a}x${l}`),xn(e,l,a,r);const c=`${i.x-n} ${i.y-n} ${i.width+2*n} ${i.height+2*n}`;e.attr("viewBox",c)},bn={},Cn=(t,e,n)=>{let r="";return t in bn&&bn[t]?r=bn[t](n):at.warn(`No theme found for ${t}`),` & {\n font-family: ${n.fontFamily};\n font-size: ${n.fontSize};\n fill: ${n.textColor}\n }\n\n /* Classes common for multiple diagrams */\n\n & .error-icon {\n fill: ${n.errorBkgColor};\n }\n & .error-text {\n fill: ${n.errorTextColor};\n stroke: ${n.errorTextColor};\n }\n\n & .edge-thickness-normal {\n stroke-width: 2px;\n }\n & .edge-thickness-thick {\n stroke-width: 3.5px\n }\n & .edge-pattern-solid {\n stroke-dasharray: 0;\n }\n\n & .edge-pattern-dashed{\n stroke-dasharray: 3;\n }\n .edge-pattern-dotted {\n stroke-dasharray: 2;\n }\n\n & .marker {\n fill: ${n.lineColor};\n stroke: ${n.lineColor};\n }\n & .marker.cross {\n stroke: ${n.lineColor};\n }\n\n & svg {\n font-family: ${n.fontFamily};\n font-size: ${n.fontSize};\n }\n\n ${r}\n\n ${e}\n`};let vn="",Tn="",An="";const wn=t=>ft(t,Me()),Sn=()=>{vn="",An="",Tn=""},In=t=>{vn=wn(t).replace(/^\s+/g,"")},Ln=()=>vn,En=t=>{An=wn(t).replace(/\n\s+/g,"\n")},Bn=()=>An,Fn=t=>{Tn=wn(t)},Nn=()=>Tn,Mn=Object.freeze(Object.defineProperty({__proto__:null,clear:Sn,getAccDescription:Bn,getAccTitle:Ln,getDiagramTitle:Nn,setAccDescription:En,setAccTitle:In,setDiagramTitle:Fn},Symbol.toStringTag,{value:"Module"})),jn=at,On=lt,Rn=Me,Dn=Ne,qn=we,$n=t=>ft(t,Rn()),Pn=_n,zn={},Un=(t,e,n)=>{var r,i,o;if(zn[t])throw new Error(`Diagram ${t} already registered.`);zn[t]=e,n&&Jt(t,n),i=t,void 0!==(o=e.styles)&&(bn[i]=o),null==(r=e.injectUtils)||r.call(e,jn,On,Rn,$n,Pn,Mn,(()=>{}))},Wn=t=>{if(t in zn)return zn[t];throw new Hn(t)};class Hn extends Error{constructor(t){super(`Diagram ${t} not found.`)}}const Vn=t=>{var e;const{securityLevel:n}=Rn();let r=(0,s.Ltv)("body");if("sandbox"===n){const n=(null==(e=(0,s.Ltv)(`#i${t}`).node())?void 0:e.contentDocument)??document;r=(0,s.Ltv)(n.body)}return r.select(`#${t}`)},Yn={draw:(t,e,n)=>{at.debug("rendering svg for syntax error\n");const r=Vn(e),i=r.append("g");r.attr("viewBox","0 0 2412 512"),xn(r,100,512,!0),i.append("path").attr("class","error-icon").attr("d","m411.313,123.313c6.25-6.25 6.25-16.375 0-22.625s-16.375-6.25-22.625,0l-32,32-9.375,9.375-20.688-20.688c-12.484-12.5-32.766-12.5-45.25,0l-16,16c-1.261,1.261-2.304,2.648-3.31,4.051-21.739-8.561-45.324-13.426-70.065-13.426-105.867,0-192,86.133-192,192s86.133,192 192,192 192-86.133 192-192c0-24.741-4.864-48.327-13.426-70.065 1.402-1.007 2.79-2.049 4.051-3.31l16-16c12.5-12.492 12.5-32.758 0-45.25l-20.688-20.688 9.375-9.375 32.001-31.999zm-219.313,100.687c-52.938,0-96,43.063-96,96 0,8.836-7.164,16-16,16s-16-7.164-16-16c0-70.578 57.422-128 128-128 8.836,0 16,7.164 16,16s-7.164,16-16,16z"),i.append("path").attr("class","error-icon").attr("d","m459.02,148.98c-6.25-6.25-16.375-6.25-22.625,0s-6.25,16.375 0,22.625l16,16c3.125,3.125 7.219,4.688 11.313,4.688 4.094,0 8.188-1.563 11.313-4.688 6.25-6.25 6.25-16.375 0-22.625l-16.001-16z"),i.append("path").attr("class","error-icon").attr("d","m340.395,75.605c3.125,3.125 7.219,4.688 11.313,4.688 4.094,0 8.188-1.563 11.313-4.688 6.25-6.25 6.25-16.375 0-22.625l-16-16c-6.25-6.25-16.375-6.25-22.625,0s-6.25,16.375 0,22.625l15.999,16z"),i.append("path").attr("class","error-icon").attr("d","m400,64c8.844,0 16-7.164 16-16v-32c0-8.836-7.156-16-16-16-8.844,0-16,7.164-16,16v32c0,8.836 7.156,16 16,16z"),i.append("path").attr("class","error-icon").attr("d","m496,96.586h-32c-8.844,0-16,7.164-16,16 0,8.836 7.156,16 16,16h32c8.844,0 16-7.164 16-16 0-8.836-7.156-16-16-16z"),i.append("path").attr("class","error-icon").attr("d","m436.98,75.605c3.125,3.125 7.219,4.688 11.313,4.688 4.094,0 8.188-1.563 11.313-4.688l32-32c6.25-6.25 6.25-16.375 0-22.625s-16.375-6.25-22.625,0l-32,32c-6.251,6.25-6.251,16.375-0.001,22.625z"),i.append("text").attr("class","error-text").attr("x",1440).attr("y",250).attr("font-size","150px").style("text-anchor","middle").text("Syntax error in text"),i.append("text").attr("class","error-text").attr("x",1250).attr("y",400).attr("font-size","100px").style("text-anchor","middle").text(`mermaid version ${n}`)}},Gn=Yn,Xn={db:{},renderer:Yn,parser:{parser:{yy:{}},parse:()=>{}}},Kn="flowchart-elk",Zn={id:Kn,detector:(t,e)=>{var n;return!!(/^\s*flowchart-elk/.test(t)||/^\s*flowchart|graph/.test(t)&&"elk"===(null==(n=null==e?void 0:e.flowchart)?void 0:n.defaultRenderer))},loader:async()=>{const{diagram:t}=await Promise.all([n.e(2076),n.e(2548),n.e(4741)]).then(n.bind(n,4741));return{id:Kn,diagram:t}}},Jn="timeline",Qn={id:Jn,detector:t=>/^\s*timeline/.test(t),loader:async()=>{const{diagram:t}=await n.e(2376).then(n.bind(n,2376));return{id:Jn,diagram:t}}},tr="mindmap",er={id:tr,detector:t=>/^\s*mindmap/.test(t),loader:async()=>{const{diagram:t}=await Promise.all([n.e(2076),n.e(1303)]).then(n.bind(n,1303));return{id:tr,diagram:t}}},nr="sankey",rr={id:nr,detector:t=>/^\s*sankey-beta/.test(t),loader:async()=>{const{diagram:t}=await n.e(6788).then(n.bind(n,6788));return{id:nr,diagram:t}}},ir="block",or={id:ir,detector:t=>/^\s*block-beta/.test(t),loader:async()=>{const{diagram:t}=await Promise.all([n.e(2076),n.e(4162)]).then(n.bind(n,4162));return{id:ir,diagram:t}}};let sr=!1;const ar=()=>{sr||(sr=!0,Un("error",Xn,(t=>"error"===t.toLowerCase().trim())),Un("---",{db:{clear:()=>{}},styles:{},renderer:{draw:()=>{}},parser:{parser:{yy:{}},parse:()=>{throw new Error("Diagrams beginning with --- are not valid. If you were trying to use a YAML front-matter, please ensure that you've correctly opened and closed the YAML front-matter with un-indented `---` blocks")}},init:()=>null},(t=>t.toLowerCase().trimStart().startsWith("---"))),Zt(Pe,dn,hn,Ve,Ke,Je,Qe,sn,ln,Zn,He,Ue,er,Qn,Ge,gn,fn,kn,en,rr,rn,or))};class lr{constructor(t,e={}){this.text=t,this.metadata=e,this.type="graph",this.text=function(t){let e=t;return e=e.replace(/style.*:\S*#.*;/g,(function(t){return t.substring(0,t.length-1)})),e=e.replace(/classDef.*:\S*#.*;/g,(function(t){return t.substring(0,t.length-1)})),e=e.replace(/#\w+;/g,(function(t){const e=t.substring(1,t.length-1);return/^\+?\d+$/.test(e)?"\ufb02\xb0\xb0"+e+"\xb6\xdf":"\ufb02\xb0"+e+"\xb6\xdf"})),e}(t),this.text+="\n";const n=Me();try{this.type=Kt(t,n)}catch(i){this.type="error",this.detectError=i}const r=Wn(this.type);at.debug("Type "+this.type),this.db=r.db,this.renderer=r.renderer,this.parser=r.parser,this.parser.parser.yy=this.db,this.init=r.init,this.parse()}parse(){var t,e,n,r,i;if(this.detectError)throw this.detectError;null==(e=(t=this.db).clear)||e.call(t);const o=Me();null==(n=this.init)||n.call(this,o),this.metadata.title&&(null==(i=(r=this.db).setDiagramTitle)||i.call(r,this.metadata.title)),this.parser.parse(this.text)}async render(t,e){await this.renderer.draw(this.text,t,e,this)}getParser(){return this.parser}getType(){return this.type}}const cr=async(t,e={})=>{const n=Kt(t,Me());try{Wn(n)}catch(r){const t=Xt[n].loader;if(!t)throw new Gt(`Diagram ${n} not found.`);const{id:e,diagram:i}=await t();Un(e,i)}return new lr(t,e)};let hr=[];const ur="graphics-document document";const dr=t=>t.replace(/^\s*%%(?!{)[^\n]+\n?/gm,"").trimStart();function pr(t){return null==t}var fr={isNothing:pr,isObject:function(t){return"object"==typeof t&&null!==t},toArray:function(t){return Array.isArray(t)?t:pr(t)?[]:[t]},repeat:function(t,e){var n,r="";for(n=0;n<e;n+=1)r+=t;return r},isNegativeZero:function(t){return 0===t&&Number.NEGATIVE_INFINITY===1/t},extend:function(t,e){var n,r,i,o;if(e)for(n=0,r=(o=Object.keys(e)).length;n<r;n+=1)t[i=o[n]]=e[i];return t}};function mr(t,e){var n="",r=t.reason||"(unknown reason)";return t.mark?(t.mark.name&&(n+='in "'+t.mark.name+'" '),n+="("+(t.mark.line+1)+":"+(t.mark.column+1)+")",!e&&t.mark.snippet&&(n+="\n\n"+t.mark.snippet),r+" "+n):r}function gr(t,e){Error.call(this),this.name="YAMLException",this.reason=t,this.mark=e,this.message=mr(this,!1),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=(new Error).stack||""}gr.prototype=Object.create(Error.prototype),gr.prototype.constructor=gr,gr.prototype.toString=function(t){return this.name+": "+mr(this,t)};var yr=gr;function kr(t,e,n,r,i){var o="",s="",a=Math.floor(i/2)-1;return r-e>a&&(e=r-a+(o=" ... ").length),n-r>a&&(n=r+a-(s=" ...").length),{str:o+t.slice(e,n).replace(/\t/g,"\u2192")+s,pos:r-e+o.length}}function xr(t,e){return fr.repeat(" ",e-t.length)+t}var _r=function(t,e){if(e=Object.create(e||null),!t.buffer)return null;e.maxLength||(e.maxLength=79),"number"!=typeof e.indent&&(e.indent=1),"number"!=typeof e.linesBefore&&(e.linesBefore=3),"number"!=typeof e.linesAfter&&(e.linesAfter=2);for(var n,r=/\r?\n|\r|\0/g,i=[0],o=[],s=-1;n=r.exec(t.buffer);)o.push(n.index),i.push(n.index+n[0].length),t.position<=n.index&&s<0&&(s=i.length-2);s<0&&(s=i.length-1);var a,l,c="",h=Math.min(t.line+e.linesAfter,o.length).toString().length,u=e.maxLength-(e.indent+h+3);for(a=1;a<=e.linesBefore&&!(s-a<0);a++)l=kr(t.buffer,i[s-a],o[s-a],t.position-(i[s]-i[s-a]),u),c=fr.repeat(" ",e.indent)+xr((t.line-a+1).toString(),h)+" | "+l.str+"\n"+c;for(l=kr(t.buffer,i[s],o[s],t.position,u),c+=fr.repeat(" ",e.indent)+xr((t.line+1).toString(),h)+" | "+l.str+"\n",c+=fr.repeat("-",e.indent+h+3+l.pos)+"^\n",a=1;a<=e.linesAfter&&!(s+a>=o.length);a++)l=kr(t.buffer,i[s+a],o[s+a],t.position-(i[s]-i[s+a]),u),c+=fr.repeat(" ",e.indent)+xr((t.line+a+1).toString(),h)+" | "+l.str+"\n";return c.replace(/\n$/,"")},br=["kind","multi","resolve","construct","instanceOf","predicate","represent","representName","defaultStyle","styleAliases"],Cr=["scalar","sequence","mapping"];var vr=function(t,e){var n,r;if(e=e||{},Object.keys(e).forEach((function(e){if(-1===br.indexOf(e))throw new yr('Unknown option "'+e+'" is met in definition of "'+t+'" YAML type.')})),this.options=e,this.tag=t,this.kind=e.kind||null,this.resolve=e.resolve||function(){return!0},this.construct=e.construct||function(t){return t},this.instanceOf=e.instanceOf||null,this.predicate=e.predicate||null,this.represent=e.represent||null,this.representName=e.representName||null,this.defaultStyle=e.defaultStyle||null,this.multi=e.multi||!1,this.styleAliases=(n=e.styleAliases||null,r={},null!==n&&Object.keys(n).forEach((function(t){n[t].forEach((function(e){r[String(e)]=t}))})),r),-1===Cr.indexOf(this.kind))throw new yr('Unknown kind "'+this.kind+'" is specified for "'+t+'" YAML type.')};function Tr(t,e){var n=[];return t[e].forEach((function(t){var e=n.length;n.forEach((function(n,r){n.tag===t.tag&&n.kind===t.kind&&n.multi===t.multi&&(e=r)})),n[e]=t})),n}function Ar(t){return this.extend(t)}Ar.prototype.extend=function(t){var e=[],n=[];if(t instanceof vr)n.push(t);else if(Array.isArray(t))n=n.concat(t);else{if(!t||!Array.isArray(t.implicit)&&!Array.isArray(t.explicit))throw new yr("Schema.extend argument should be a Type, [ Type ], or a schema definition ({ implicit: [...], explicit: [...] })");t.implicit&&(e=e.concat(t.implicit)),t.explicit&&(n=n.concat(t.explicit))}e.forEach((function(t){if(!(t instanceof vr))throw new yr("Specified list of YAML types (or a single Type object) contains a non-Type object.");if(t.loadKind&&"scalar"!==t.loadKind)throw new yr("There is a non-scalar type in the implicit list of a schema. Implicit resolving of such types is not supported.");if(t.multi)throw new yr("There is a multi type in the implicit list of a schema. Multi tags can only be listed as explicit.")})),n.forEach((function(t){if(!(t instanceof vr))throw new yr("Specified list of YAML types (or a single Type object) contains a non-Type object.")}));var r=Object.create(Ar.prototype);return r.implicit=(this.implicit||[]).concat(e),r.explicit=(this.explicit||[]).concat(n),r.compiledImplicit=Tr(r,"implicit"),r.compiledExplicit=Tr(r,"explicit"),r.compiledTypeMap=function(){var t,e,n={scalar:{},sequence:{},mapping:{},fallback:{},multi:{scalar:[],sequence:[],mapping:[],fallback:[]}};function r(t){t.multi?(n.multi[t.kind].push(t),n.multi.fallback.push(t)):n[t.kind][t.tag]=n.fallback[t.tag]=t}for(t=0,e=arguments.length;t<e;t+=1)arguments[t].forEach(r);return n}(r.compiledImplicit,r.compiledExplicit),r};var wr=new Ar({explicit:[new vr("tag:yaml.org,2002:str",{kind:"scalar",construct:function(t){return null!==t?t:""}}),new vr("tag:yaml.org,2002:seq",{kind:"sequence",construct:function(t){return null!==t?t:[]}}),new vr("tag:yaml.org,2002:map",{kind:"mapping",construct:function(t){return null!==t?t:{}}})]});var Sr=new vr("tag:yaml.org,2002:null",{kind:"scalar",resolve:function(t){if(null===t)return!0;var e=t.length;return 1===e&&"~"===t||4===e&&("null"===t||"Null"===t||"NULL"===t)},construct:function(){return null},predicate:function(t){return null===t},represent:{canonical:function(){return"~"},lowercase:function(){return"null"},uppercase:function(){return"NULL"},camelcase:function(){return"Null"},empty:function(){return""}},defaultStyle:"lowercase"});var Ir=new vr("tag:yaml.org,2002:bool",{kind:"scalar",resolve:function(t){if(null===t)return!1;var e=t.length;return 4===e&&("true"===t||"True"===t||"TRUE"===t)||5===e&&("false"===t||"False"===t||"FALSE"===t)},construct:function(t){return"true"===t||"True"===t||"TRUE"===t},predicate:function(t){return"[object Boolean]"===Object.prototype.toString.call(t)},represent:{lowercase:function(t){return t?"true":"false"},uppercase:function(t){return t?"TRUE":"FALSE"},camelcase:function(t){return t?"True":"False"}},defaultStyle:"lowercase"});function Lr(t){return 48<=t&&t<=55}function Er(t){return 48<=t&&t<=57}var Br=new vr("tag:yaml.org,2002:int",{kind:"scalar",resolve:function(t){if(null===t)return!1;var e,n,r=t.length,i=0,o=!1;if(!r)return!1;if("-"!==(e=t[i])&&"+"!==e||(e=t[++i]),"0"===e){if(i+1===r)return!0;if("b"===(e=t[++i])){for(i++;i<r;i++)if("_"!==(e=t[i])){if("0"!==e&&"1"!==e)return!1;o=!0}return o&&"_"!==e}if("x"===e){for(i++;i<r;i++)if("_"!==(e=t[i])){if(!(48<=(n=t.charCodeAt(i))&&n<=57||65<=n&&n<=70||97<=n&&n<=102))return!1;o=!0}return o&&"_"!==e}if("o"===e){for(i++;i<r;i++)if("_"!==(e=t[i])){if(!Lr(t.charCodeAt(i)))return!1;o=!0}return o&&"_"!==e}}if("_"===e)return!1;for(;i<r;i++)if("_"!==(e=t[i])){if(!Er(t.charCodeAt(i)))return!1;o=!0}return!(!o||"_"===e)},construct:function(t){var e,n=t,r=1;if(-1!==n.indexOf("_")&&(n=n.replace(/_/g,"")),"-"!==(e=n[0])&&"+"!==e||("-"===e&&(r=-1),e=(n=n.slice(1))[0]),"0"===n)return 0;if("0"===e){if("b"===n[1])return r*parseInt(n.slice(2),2);if("x"===n[1])return r*parseInt(n.slice(2),16);if("o"===n[1])return r*parseInt(n.slice(2),8)}return r*parseInt(n,10)},predicate:function(t){return"[object Number]"===Object.prototype.toString.call(t)&&t%1==0&&!fr.isNegativeZero(t)},represent:{binary:function(t){return t>=0?"0b"+t.toString(2):"-0b"+t.toString(2).slice(1)},octal:function(t){return t>=0?"0o"+t.toString(8):"-0o"+t.toString(8).slice(1)},decimal:function(t){return t.toString(10)},hexadecimal:function(t){return t>=0?"0x"+t.toString(16).toUpperCase():"-0x"+t.toString(16).toUpperCase().slice(1)}},defaultStyle:"decimal",styleAliases:{binary:[2,"bin"],octal:[8,"oct"],decimal:[10,"dec"],hexadecimal:[16,"hex"]}}),Fr=new RegExp("^(?:[-+]?(?:[0-9][0-9_]*)(?:\\.[0-9_]*)?(?:[eE][-+]?[0-9]+)?|\\.[0-9_]+(?:[eE][-+]?[0-9]+)?|[-+]?\\.(?:inf|Inf|INF)|\\.(?:nan|NaN|NAN))$");var Nr=/^[-+]?[0-9]+e/;var Mr=new vr("tag:yaml.org,2002:float",{kind:"scalar",resolve:function(t){return null!==t&&!(!Fr.test(t)||"_"===t[t.length-1])},construct:function(t){var e,n;return n="-"===(e=t.replace(/_/g,"").toLowerCase())[0]?-1:1,"+-".indexOf(e[0])>=0&&(e=e.slice(1)),".inf"===e?1===n?Number.POSITIVE_INFINITY:Number.NEGATIVE_INFINITY:".nan"===e?NaN:n*parseFloat(e,10)},predicate:function(t){return"[object Number]"===Object.prototype.toString.call(t)&&(t%1!=0||fr.isNegativeZero(t))},represent:function(t,e){var n;if(isNaN(t))switch(e){case"lowercase":return".nan";case"uppercase":return".NAN";case"camelcase":return".NaN"}else if(Number.POSITIVE_INFINITY===t)switch(e){case"lowercase":return".inf";case"uppercase":return".INF";case"camelcase":return".Inf"}else if(Number.NEGATIVE_INFINITY===t)switch(e){case"lowercase":return"-.inf";case"uppercase":return"-.INF";case"camelcase":return"-.Inf"}else if(fr.isNegativeZero(t))return"-0.0";return n=t.toString(10),Nr.test(n)?n.replace("e",".e"):n},defaultStyle:"lowercase"}),jr=wr.extend({implicit:[Sr,Ir,Br,Mr]}),Or=jr,Rr=new RegExp("^([0-9][0-9][0-9][0-9])-([0-9][0-9])-([0-9][0-9])$"),Dr=new RegExp("^([0-9][0-9][0-9][0-9])-([0-9][0-9]?)-([0-9][0-9]?)(?:[Tt]|[ \\t]+)([0-9][0-9]?):([0-9][0-9]):([0-9][0-9])(?:\\.([0-9]*))?(?:[ \\t]*(Z|([-+])([0-9][0-9]?)(?::([0-9][0-9]))?))?$");var qr=new vr("tag:yaml.org,2002:timestamp",{kind:"scalar",resolve:function(t){return null!==t&&(null!==Rr.exec(t)||null!==Dr.exec(t))},construct:function(t){var e,n,r,i,o,s,a,l,c=0,h=null;if(null===(e=Rr.exec(t))&&(e=Dr.exec(t)),null===e)throw new Error("Date resolve error");if(n=+e[1],r=+e[2]-1,i=+e[3],!e[4])return new Date(Date.UTC(n,r,i));if(o=+e[4],s=+e[5],a=+e[6],e[7]){for(c=e[7].slice(0,3);c.length<3;)c+="0";c=+c}return e[9]&&(h=6e4*(60*+e[10]+ +(e[11]||0)),"-"===e[9]&&(h=-h)),l=new Date(Date.UTC(n,r,i,o,s,a,c)),h&&l.setTime(l.getTime()-h),l},instanceOf:Date,represent:function(t){return t.toISOString()}});var $r=new vr("tag:yaml.org,2002:merge",{kind:"scalar",resolve:function(t){return"<<"===t||null===t}}),Pr="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=\n\r";var zr=new vr("tag:yaml.org,2002:binary",{kind:"scalar",resolve:function(t){if(null===t)return!1;var e,n,r=0,i=t.length,o=Pr;for(n=0;n<i;n++)if(!((e=o.indexOf(t.charAt(n)))>64)){if(e<0)return!1;r+=6}return r%8==0},construct:function(t){var e,n,r=t.replace(/[\r\n=]/g,""),i=r.length,o=Pr,s=0,a=[];for(e=0;e<i;e++)e%4==0&&e&&(a.push(s>>16&255),a.push(s>>8&255),a.push(255&s)),s=s<<6|o.indexOf(r.charAt(e));return 0===(n=i%4*6)?(a.push(s>>16&255),a.push(s>>8&255),a.push(255&s)):18===n?(a.push(s>>10&255),a.push(s>>2&255)):12===n&&a.push(s>>4&255),new Uint8Array(a)},predicate:function(t){return"[object Uint8Array]"===Object.prototype.toString.call(t)},represent:function(t){var e,n,r="",i=0,o=t.length,s=Pr;for(e=0;e<o;e++)e%3==0&&e&&(r+=s[i>>18&63],r+=s[i>>12&63],r+=s[i>>6&63],r+=s[63&i]),i=(i<<8)+t[e];return 0===(n=o%3)?(r+=s[i>>18&63],r+=s[i>>12&63],r+=s[i>>6&63],r+=s[63&i]):2===n?(r+=s[i>>10&63],r+=s[i>>4&63],r+=s[i<<2&63],r+=s[64]):1===n&&(r+=s[i>>2&63],r+=s[i<<4&63],r+=s[64],r+=s[64]),r}}),Ur=Object.prototype.hasOwnProperty,Wr=Object.prototype.toString;var Hr=new vr("tag:yaml.org,2002:omap",{kind:"sequence",resolve:function(t){if(null===t)return!0;var e,n,r,i,o,s=[],a=t;for(e=0,n=a.length;e<n;e+=1){if(r=a[e],o=!1,"[object Object]"!==Wr.call(r))return!1;for(i in r)if(Ur.call(r,i)){if(o)return!1;o=!0}if(!o)return!1;if(-1!==s.indexOf(i))return!1;s.push(i)}return!0},construct:function(t){return null!==t?t:[]}}),Vr=Object.prototype.toString;var Yr=new vr("tag:yaml.org,2002:pairs",{kind:"sequence",resolve:function(t){if(null===t)return!0;var e,n,r,i,o,s=t;for(o=new Array(s.length),e=0,n=s.length;e<n;e+=1){if(r=s[e],"[object Object]"!==Vr.call(r))return!1;if(1!==(i=Object.keys(r)).length)return!1;o[e]=[i[0],r[i[0]]]}return!0},construct:function(t){if(null===t)return[];var e,n,r,i,o,s=t;for(o=new Array(s.length),e=0,n=s.length;e<n;e+=1)r=s[e],i=Object.keys(r),o[e]=[i[0],r[i[0]]];return o}}),Gr=Object.prototype.hasOwnProperty;var Xr=new vr("tag:yaml.org,2002:set",{kind:"mapping",resolve:function(t){if(null===t)return!0;var e,n=t;for(e in n)if(Gr.call(n,e)&&null!==n[e])return!1;return!0},construct:function(t){return null!==t?t:{}}}),Kr=Or.extend({implicit:[qr,$r],explicit:[zr,Hr,Yr,Xr]}),Zr=Object.prototype.hasOwnProperty,Jr=1,Qr=2,ti=3,ei=4,ni=1,ri=2,ii=3,oi=/[\x00-\x08\x0B\x0C\x0E-\x1F\x7F-\x84\x86-\x9F\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,si=/[\x85\u2028\u2029]/,ai=/[,\[\]\{\}]/,li=/^(?:!|!!|![a-z\-]+!)$/i,ci=/^(?:!|[^,\[\]\{\}])(?:%[0-9a-f]{2}|[0-9a-z\-#;\/\?:@&=\+\$,_\.!~\*'\(\)\[\]])*$/i;function hi(t){return Object.prototype.toString.call(t)}function ui(t){return 10===t||13===t}function di(t){return 9===t||32===t}function pi(t){return 9===t||32===t||10===t||13===t}function fi(t){return 44===t||91===t||93===t||123===t||125===t}function mi(t){var e;return 48<=t&&t<=57?t-48:97<=(e=32|t)&&e<=102?e-97+10:-1}function gi(t){return 48===t?"\0":97===t?"\x07":98===t?"\b":116===t||9===t?"\t":110===t?"\n":118===t?"\v":102===t?"\f":114===t?"\r":101===t?"\x1b":32===t?" ":34===t?'"':47===t?"/":92===t?"\\":78===t?"\x85":95===t?"\xa0":76===t?"\u2028":80===t?"\u2029":""}function yi(t){return t<=65535?String.fromCharCode(t):String.fromCharCode(55296+(t-65536>>10),56320+(t-65536&1023))}for(var ki=new Array(256),xi=new Array(256),_i=0;_i<256;_i++)ki[_i]=gi(_i)?1:0,xi[_i]=gi(_i);function bi(t,e){this.input=t,this.filename=e.filename||null,this.schema=e.schema||Kr,this.onWarning=e.onWarning||null,this.legacy=e.legacy||!1,this.json=e.json||!1,this.listener=e.listener||null,this.implicitTypes=this.schema.compiledImplicit,this.typeMap=this.schema.compiledTypeMap,this.length=t.length,this.position=0,this.line=0,this.lineStart=0,this.lineIndent=0,this.firstTabInLine=-1,this.documents=[]}function Ci(t,e){var n={name:t.filename,buffer:t.input.slice(0,-1),position:t.position,line:t.line,column:t.position-t.lineStart};return n.snippet=_r(n),new yr(e,n)}function vi(t,e){throw Ci(t,e)}function Ti(t,e){t.onWarning&&t.onWarning.call(null,Ci(t,e))}var Ai={YAML:function(t,e,n){var r,i,o;null!==t.version&&vi(t,"duplication of %YAML directive"),1!==n.length&&vi(t,"YAML directive accepts exactly one argument"),null===(r=/^([0-9]+)\.([0-9]+)$/.exec(n[0]))&&vi(t,"ill-formed argument of the YAML directive"),i=parseInt(r[1],10),o=parseInt(r[2],10),1!==i&&vi(t,"unacceptable YAML version of the document"),t.version=n[0],t.checkLineBreaks=o<2,1!==o&&2!==o&&Ti(t,"unsupported YAML version of the document")},TAG:function(t,e,n){var r,i;2!==n.length&&vi(t,"TAG directive accepts exactly two arguments"),r=n[0],i=n[1],li.test(r)||vi(t,"ill-formed tag handle (first argument) of the TAG directive"),Zr.call(t.tagMap,r)&&vi(t,'there is a previously declared suffix for "'+r+'" tag handle'),ci.test(i)||vi(t,"ill-formed tag prefix (second argument) of the TAG directive");try{i=decodeURIComponent(i)}catch(o){vi(t,"tag prefix is malformed: "+i)}t.tagMap[r]=i}};function wi(t,e,n,r){var i,o,s,a;if(e<n){if(a=t.input.slice(e,n),r)for(i=0,o=a.length;i<o;i+=1)9===(s=a.charCodeAt(i))||32<=s&&s<=1114111||vi(t,"expected valid JSON character");else oi.test(a)&&vi(t,"the stream contains non-printable characters");t.result+=a}}function Si(t,e,n,r){var i,o,s,a;for(fr.isObject(n)||vi(t,"cannot merge mappings; the provided source object is unacceptable"),s=0,a=(i=Object.keys(n)).length;s<a;s+=1)o=i[s],Zr.call(e,o)||(e[o]=n[o],r[o]=!0)}function Ii(t,e,n,r,i,o,s,a,l){var c,h;if(Array.isArray(i))for(c=0,h=(i=Array.prototype.slice.call(i)).length;c<h;c+=1)Array.isArray(i[c])&&vi(t,"nested arrays are not supported inside keys"),"object"==typeof i&&"[object Object]"===hi(i[c])&&(i[c]="[object Object]");if("object"==typeof i&&"[object Object]"===hi(i)&&(i="[object Object]"),i=String(i),null===e&&(e={}),"tag:yaml.org,2002:merge"===r)if(Array.isArray(o))for(c=0,h=o.length;c<h;c+=1)Si(t,e,o[c],n);else Si(t,e,o,n);else t.json||Zr.call(n,i)||!Zr.call(e,i)||(t.line=s||t.line,t.lineStart=a||t.lineStart,t.position=l||t.position,vi(t,"duplicated mapping key")),"__proto__"===i?Object.defineProperty(e,i,{configurable:!0,enumerable:!0,writable:!0,value:o}):e[i]=o,delete n[i];return e}function Li(t){var e;10===(e=t.input.charCodeAt(t.position))?t.position++:13===e?(t.position++,10===t.input.charCodeAt(t.position)&&t.position++):vi(t,"a line break is expected"),t.line+=1,t.lineStart=t.position,t.firstTabInLine=-1}function Ei(t,e,n){for(var r=0,i=t.input.charCodeAt(t.position);0!==i;){for(;di(i);)9===i&&-1===t.firstTabInLine&&(t.firstTabInLine=t.position),i=t.input.charCodeAt(++t.position);if(e&&35===i)do{i=t.input.charCodeAt(++t.position)}while(10!==i&&13!==i&&0!==i);if(!ui(i))break;for(Li(t),i=t.input.charCodeAt(t.position),r++,t.lineIndent=0;32===i;)t.lineIndent++,i=t.input.charCodeAt(++t.position)}return-1!==n&&0!==r&&t.lineIndent<n&&Ti(t,"deficient indentation"),r}function Bi(t){var e,n=t.position;return!(45!==(e=t.input.charCodeAt(n))&&46!==e||e!==t.input.charCodeAt(n+1)||e!==t.input.charCodeAt(n+2)||(n+=3,0!==(e=t.input.charCodeAt(n))&&!pi(e)))}function Fi(t,e){1===e?t.result+=" ":e>1&&(t.result+=fr.repeat("\n",e-1))}function Ni(t,e){var n,r,i=t.tag,o=t.anchor,s=[],a=!1;if(-1!==t.firstTabInLine)return!1;for(null!==t.anchor&&(t.anchorMap[t.anchor]=s),r=t.input.charCodeAt(t.position);0!==r&&(-1!==t.firstTabInLine&&(t.position=t.firstTabInLine,vi(t,"tab characters must not be used in indentation")),45===r)&&pi(t.input.charCodeAt(t.position+1));)if(a=!0,t.position++,Ei(t,!0,-1)&&t.lineIndent<=e)s.push(null),r=t.input.charCodeAt(t.position);else if(n=t.line,Oi(t,e,ti,!1,!0),s.push(t.result),Ei(t,!0,-1),r=t.input.charCodeAt(t.position),(t.line===n||t.lineIndent>e)&&0!==r)vi(t,"bad indentation of a sequence entry");else if(t.lineIndent<e)break;return!!a&&(t.tag=i,t.anchor=o,t.kind="sequence",t.result=s,!0)}function Mi(t){var e,n,r,i,o=!1,s=!1;if(33!==(i=t.input.charCodeAt(t.position)))return!1;if(null!==t.tag&&vi(t,"duplication of a tag property"),60===(i=t.input.charCodeAt(++t.position))?(o=!0,i=t.input.charCodeAt(++t.position)):33===i?(s=!0,n="!!",i=t.input.charCodeAt(++t.position)):n="!",e=t.position,o){do{i=t.input.charCodeAt(++t.position)}while(0!==i&&62!==i);t.position<t.length?(r=t.input.slice(e,t.position),i=t.input.charCodeAt(++t.position)):vi(t,"unexpected end of the stream within a verbatim tag")}else{for(;0!==i&&!pi(i);)33===i&&(s?vi(t,"tag suffix cannot contain exclamation marks"):(n=t.input.slice(e-1,t.position+1),li.test(n)||vi(t,"named tag handle cannot contain such characters"),s=!0,e=t.position+1)),i=t.input.charCodeAt(++t.position);r=t.input.slice(e,t.position),ai.test(r)&&vi(t,"tag suffix cannot contain flow indicator characters")}r&&!ci.test(r)&&vi(t,"tag name cannot contain such characters: "+r);try{r=decodeURIComponent(r)}catch(a){vi(t,"tag name is malformed: "+r)}return o?t.tag=r:Zr.call(t.tagMap,n)?t.tag=t.tagMap[n]+r:"!"===n?t.tag="!"+r:"!!"===n?t.tag="tag:yaml.org,2002:"+r:vi(t,'undeclared tag handle "'+n+'"'),!0}function ji(t){var e,n;if(38!==(n=t.input.charCodeAt(t.position)))return!1;for(null!==t.anchor&&vi(t,"duplication of an anchor property"),n=t.input.charCodeAt(++t.position),e=t.position;0!==n&&!pi(n)&&!fi(n);)n=t.input.charCodeAt(++t.position);return t.position===e&&vi(t,"name of an anchor node must contain at least one character"),t.anchor=t.input.slice(e,t.position),!0}function Oi(t,e,n,r,i){var o,s,a,l,c,h,u,d,p,f=1,m=!1,g=!1;if(null!==t.listener&&t.listener("open",t),t.tag=null,t.anchor=null,t.kind=null,t.result=null,o=s=a=ei===n||ti===n,r&&Ei(t,!0,-1)&&(m=!0,t.lineIndent>e?f=1:t.lineIndent===e?f=0:t.lineIndent<e&&(f=-1)),1===f)for(;Mi(t)||ji(t);)Ei(t,!0,-1)?(m=!0,a=o,t.lineIndent>e?f=1:t.lineIndent===e?f=0:t.lineIndent<e&&(f=-1)):a=!1;if(a&&(a=m||i),1!==f&&ei!==n||(d=Jr===n||Qr===n?e:e+1,p=t.position-t.lineStart,1===f?a&&(Ni(t,p)||function(t,e,n){var r,i,o,s,a,l,c,h=t.tag,u=t.anchor,d={},p=Object.create(null),f=null,m=null,g=null,y=!1,k=!1;if(-1!==t.firstTabInLine)return!1;for(null!==t.anchor&&(t.anchorMap[t.anchor]=d),c=t.input.charCodeAt(t.position);0!==c;){if(y||-1===t.firstTabInLine||(t.position=t.firstTabInLine,vi(t,"tab characters must not be used in indentation")),r=t.input.charCodeAt(t.position+1),o=t.line,63!==c&&58!==c||!pi(r)){if(s=t.line,a=t.lineStart,l=t.position,!Oi(t,n,Qr,!1,!0))break;if(t.line===o){for(c=t.input.charCodeAt(t.position);di(c);)c=t.input.charCodeAt(++t.position);if(58===c)pi(c=t.input.charCodeAt(++t.position))||vi(t,"a whitespace character is expected after the key-value separator within a block mapping"),y&&(Ii(t,d,p,f,m,null,s,a,l),f=m=g=null),k=!0,y=!1,i=!1,f=t.tag,m=t.result;else{if(!k)return t.tag=h,t.anchor=u,!0;vi(t,"can not read an implicit mapping pair; a colon is missed")}}else{if(!k)return t.tag=h,t.anchor=u,!0;vi(t,"can not read a block mapping entry; a multiline key may not be an implicit key")}}else 63===c?(y&&(Ii(t,d,p,f,m,null,s,a,l),f=m=g=null),k=!0,y=!0,i=!0):y?(y=!1,i=!0):vi(t,"incomplete explicit mapping pair; a key node is missed; or followed by a non-tabulated empty line"),t.position+=1,c=r;if((t.line===o||t.lineIndent>e)&&(y&&(s=t.line,a=t.lineStart,l=t.position),Oi(t,e,ei,!0,i)&&(y?m=t.result:g=t.result),y||(Ii(t,d,p,f,m,g,s,a,l),f=m=g=null),Ei(t,!0,-1),c=t.input.charCodeAt(t.position)),(t.line===o||t.lineIndent>e)&&0!==c)vi(t,"bad indentation of a mapping entry");else if(t.lineIndent<e)break}return y&&Ii(t,d,p,f,m,null,s,a,l),k&&(t.tag=h,t.anchor=u,t.kind="mapping",t.result=d),k}(t,p,d))||function(t,e){var n,r,i,o,s,a,l,c,h,u,d,p,f=!0,m=t.tag,g=t.anchor,y=Object.create(null);if(91===(p=t.input.charCodeAt(t.position)))s=93,c=!1,o=[];else{if(123!==p)return!1;s=125,c=!0,o={}}for(null!==t.anchor&&(t.anchorMap[t.anchor]=o),p=t.input.charCodeAt(++t.position);0!==p;){if(Ei(t,!0,e),(p=t.input.charCodeAt(t.position))===s)return t.position++,t.tag=m,t.anchor=g,t.kind=c?"mapping":"sequence",t.result=o,!0;f?44===p&&vi(t,"expected the node content, but found ','"):vi(t,"missed comma between flow collection entries"),d=null,a=l=!1,63===p&&pi(t.input.charCodeAt(t.position+1))&&(a=l=!0,t.position++,Ei(t,!0,e)),n=t.line,r=t.lineStart,i=t.position,Oi(t,e,Jr,!1,!0),u=t.tag,h=t.result,Ei(t,!0,e),p=t.input.charCodeAt(t.position),!l&&t.line!==n||58!==p||(a=!0,p=t.input.charCodeAt(++t.position),Ei(t,!0,e),Oi(t,e,Jr,!1,!0),d=t.result),c?Ii(t,o,y,u,h,d,n,r,i):a?o.push(Ii(t,null,y,u,h,d,n,r,i)):o.push(h),Ei(t,!0,e),44===(p=t.input.charCodeAt(t.position))?(f=!0,p=t.input.charCodeAt(++t.position)):f=!1}vi(t,"unexpected end of the stream within a flow collection")}(t,d)?g=!0:(s&&function(t,e){var n,r,i,o,s,a=ni,l=!1,c=!1,h=e,u=0,d=!1;if(124===(o=t.input.charCodeAt(t.position)))r=!1;else{if(62!==o)return!1;r=!0}for(t.kind="scalar",t.result="";0!==o;)if(43===(o=t.input.charCodeAt(++t.position))||45===o)ni===a?a=43===o?ii:ri:vi(t,"repeat of a chomping mode identifier");else{if(!((i=48<=(s=o)&&s<=57?s-48:-1)>=0))break;0===i?vi(t,"bad explicit indentation width of a block scalar; it cannot be less than one"):c?vi(t,"repeat of an indentation width identifier"):(h=e+i-1,c=!0)}if(di(o)){do{o=t.input.charCodeAt(++t.position)}while(di(o));if(35===o)do{o=t.input.charCodeAt(++t.position)}while(!ui(o)&&0!==o)}for(;0!==o;){for(Li(t),t.lineIndent=0,o=t.input.charCodeAt(t.position);(!c||t.lineIndent<h)&&32===o;)t.lineIndent++,o=t.input.charCodeAt(++t.position);if(!c&&t.lineIndent>h&&(h=t.lineIndent),ui(o))u++;else{if(t.lineIndent<h){a===ii?t.result+=fr.repeat("\n",l?1+u:u):a===ni&&l&&(t.result+="\n");break}for(r?di(o)?(d=!0,t.result+=fr.repeat("\n",l?1+u:u)):d?(d=!1,t.result+=fr.repeat("\n",u+1)):0===u?l&&(t.result+=" "):t.result+=fr.repeat("\n",u):t.result+=fr.repeat("\n",l?1+u:u),l=!0,c=!0,u=0,n=t.position;!ui(o)&&0!==o;)o=t.input.charCodeAt(++t.position);wi(t,n,t.position,!1)}}return!0}(t,d)||function(t,e){var n,r,i;if(39!==(n=t.input.charCodeAt(t.position)))return!1;for(t.kind="scalar",t.result="",t.position++,r=i=t.position;0!==(n=t.input.charCodeAt(t.position));)if(39===n){if(wi(t,r,t.position,!0),39!==(n=t.input.charCodeAt(++t.position)))return!0;r=t.position,t.position++,i=t.position}else ui(n)?(wi(t,r,i,!0),Fi(t,Ei(t,!1,e)),r=i=t.position):t.position===t.lineStart&&Bi(t)?vi(t,"unexpected end of the document within a single quoted scalar"):(t.position++,i=t.position);vi(t,"unexpected end of the stream within a single quoted scalar")}(t,d)||function(t,e){var n,r,i,o,s,a,l;if(34!==(a=t.input.charCodeAt(t.position)))return!1;for(t.kind="scalar",t.result="",t.position++,n=r=t.position;0!==(a=t.input.charCodeAt(t.position));){if(34===a)return wi(t,n,t.position,!0),t.position++,!0;if(92===a){if(wi(t,n,t.position,!0),ui(a=t.input.charCodeAt(++t.position)))Ei(t,!1,e);else if(a<256&&ki[a])t.result+=xi[a],t.position++;else if((s=120===(l=a)?2:117===l?4:85===l?8:0)>0){for(i=s,o=0;i>0;i--)(s=mi(a=t.input.charCodeAt(++t.position)))>=0?o=(o<<4)+s:vi(t,"expected hexadecimal character");t.result+=yi(o),t.position++}else vi(t,"unknown escape sequence");n=r=t.position}else ui(a)?(wi(t,n,r,!0),Fi(t,Ei(t,!1,e)),n=r=t.position):t.position===t.lineStart&&Bi(t)?vi(t,"unexpected end of the document within a double quoted scalar"):(t.position++,r=t.position)}vi(t,"unexpected end of the stream within a double quoted scalar")}(t,d)?g=!0:!function(t){var e,n,r;if(42!==(r=t.input.charCodeAt(t.position)))return!1;for(r=t.input.charCodeAt(++t.position),e=t.position;0!==r&&!pi(r)&&!fi(r);)r=t.input.charCodeAt(++t.position);return t.position===e&&vi(t,"name of an alias node must contain at least one character"),n=t.input.slice(e,t.position),Zr.call(t.anchorMap,n)||vi(t,'unidentified alias "'+n+'"'),t.result=t.anchorMap[n],Ei(t,!0,-1),!0}(t)?function(t,e,n){var r,i,o,s,a,l,c,h,u=t.kind,d=t.result;if(pi(h=t.input.charCodeAt(t.position))||fi(h)||35===h||38===h||42===h||33===h||124===h||62===h||39===h||34===h||37===h||64===h||96===h)return!1;if((63===h||45===h)&&(pi(r=t.input.charCodeAt(t.position+1))||n&&fi(r)))return!1;for(t.kind="scalar",t.result="",i=o=t.position,s=!1;0!==h;){if(58===h){if(pi(r=t.input.charCodeAt(t.position+1))||n&&fi(r))break}else if(35===h){if(pi(t.input.charCodeAt(t.position-1)))break}else{if(t.position===t.lineStart&&Bi(t)||n&&fi(h))break;if(ui(h)){if(a=t.line,l=t.lineStart,c=t.lineIndent,Ei(t,!1,-1),t.lineIndent>=e){s=!0,h=t.input.charCodeAt(t.position);continue}t.position=o,t.line=a,t.lineStart=l,t.lineIndent=c;break}}s&&(wi(t,i,o,!1),Fi(t,t.line-a),i=o=t.position,s=!1),di(h)||(o=t.position+1),h=t.input.charCodeAt(++t.position)}return wi(t,i,o,!1),!!t.result||(t.kind=u,t.result=d,!1)}(t,d,Jr===n)&&(g=!0,null===t.tag&&(t.tag="?")):(g=!0,null===t.tag&&null===t.anchor||vi(t,"alias node should not have any properties")),null!==t.anchor&&(t.anchorMap[t.anchor]=t.result)):0===f&&(g=a&&Ni(t,p))),null===t.tag)null!==t.anchor&&(t.anchorMap[t.anchor]=t.result);else if("?"===t.tag){for(null!==t.result&&"scalar"!==t.kind&&vi(t,'unacceptable node kind for !<?> tag; it should be "scalar", not "'+t.kind+'"'),l=0,c=t.implicitTypes.length;l<c;l+=1)if((u=t.implicitTypes[l]).resolve(t.result)){t.result=u.construct(t.result),t.tag=u.tag,null!==t.anchor&&(t.anchorMap[t.anchor]=t.result);break}}else if("!"!==t.tag){if(Zr.call(t.typeMap[t.kind||"fallback"],t.tag))u=t.typeMap[t.kind||"fallback"][t.tag];else for(u=null,l=0,c=(h=t.typeMap.multi[t.kind||"fallback"]).length;l<c;l+=1)if(t.tag.slice(0,h[l].tag.length)===h[l].tag){u=h[l];break}u||vi(t,"unknown tag !<"+t.tag+">"),null!==t.result&&u.kind!==t.kind&&vi(t,"unacceptable node kind for !<"+t.tag+'> tag; it should be "'+u.kind+'", not "'+t.kind+'"'),u.resolve(t.result,t.tag)?(t.result=u.construct(t.result,t.tag),null!==t.anchor&&(t.anchorMap[t.anchor]=t.result)):vi(t,"cannot resolve a node with !<"+t.tag+"> explicit tag")}return null!==t.listener&&t.listener("close",t),null!==t.tag||null!==t.anchor||g}function Ri(t){var e,n,r,i,o=t.position,s=!1;for(t.version=null,t.checkLineBreaks=t.legacy,t.tagMap=Object.create(null),t.anchorMap=Object.create(null);0!==(i=t.input.charCodeAt(t.position))&&(Ei(t,!0,-1),i=t.input.charCodeAt(t.position),!(t.lineIndent>0||37!==i));){for(s=!0,i=t.input.charCodeAt(++t.position),e=t.position;0!==i&&!pi(i);)i=t.input.charCodeAt(++t.position);for(r=[],(n=t.input.slice(e,t.position)).length<1&&vi(t,"directive name must not be less than one character in length");0!==i;){for(;di(i);)i=t.input.charCodeAt(++t.position);if(35===i){do{i=t.input.charCodeAt(++t.position)}while(0!==i&&!ui(i));break}if(ui(i))break;for(e=t.position;0!==i&&!pi(i);)i=t.input.charCodeAt(++t.position);r.push(t.input.slice(e,t.position))}0!==i&&Li(t),Zr.call(Ai,n)?Ai[n](t,n,r):Ti(t,'unknown document directive "'+n+'"')}Ei(t,!0,-1),0===t.lineIndent&&45===t.input.charCodeAt(t.position)&&45===t.input.charCodeAt(t.position+1)&&45===t.input.charCodeAt(t.position+2)?(t.position+=3,Ei(t,!0,-1)):s&&vi(t,"directives end mark is expected"),Oi(t,t.lineIndent-1,ei,!1,!0),Ei(t,!0,-1),t.checkLineBreaks&&si.test(t.input.slice(o,t.position))&&Ti(t,"non-ASCII line breaks are interpreted as content"),t.documents.push(t.result),t.position===t.lineStart&&Bi(t)?46===t.input.charCodeAt(t.position)&&(t.position+=3,Ei(t,!0,-1)):t.position<t.length-1&&vi(t,"end of the stream or a document separator is expected")}function Di(t,e){e=e||{},0!==(t=String(t)).length&&(10!==t.charCodeAt(t.length-1)&&13!==t.charCodeAt(t.length-1)&&(t+="\n"),65279===t.charCodeAt(0)&&(t=t.slice(1)));var n=new bi(t,e),r=t.indexOf("\0");for(-1!==r&&(n.position=r,vi(n,"null byte is not allowed in input")),n.input+="\0";32===n.input.charCodeAt(n.position);)n.lineIndent+=1,n.position+=1;for(;n.position<n.length-1;)Ri(n);return n.documents}var qi=jr,$i={loadAll:function(t,e,n){null!==e&&"object"==typeof e&&void 0===n&&(n=e,e=null);var r=Di(t,n);if("function"!=typeof e)return r;for(var i=0,o=r.length;i<o;i+=1)e(r[i])},load:function(t,e){var n=Di(t,e);if(0!==n.length){if(1===n.length)return n[0];throw new yr("expected a single document in the stream, but found more")}}}.load;const Pi=t=>t.replace(/\r\n?/g,"\n").replace(/<(\w+)([^>]*)>/g,((t,e,n)=>"<"+e+n.replace(/="([^"]*)"/g,"='$1'")+">")),zi=t=>{const{text:e,metadata:n}=function(t){const e=t.match(Ht);if(!e)return{text:t,metadata:{}};let n=$i(e[1],{schema:qi})??{};n="object"!=typeof n||Array.isArray(n)?{}:n;const r={};return n.displayMode&&(r.displayMode=n.displayMode.toString()),n.title&&(r.title=n.title.toString()),n.config&&(r.config=n.config),{text:t.slice(e[0].length),metadata:r}}(t),{displayMode:r,title:i,config:o={}}=n;return r&&(o.gantt||(o.gantt={}),o.gantt.displayMode=r),{title:i,config:o,text:e}},Ui=t=>{const e=ve.detectInit(t)??{},n=ve.detectDirective(t,"wrap");return Array.isArray(n)?e.wrap=n.some((({type:t})=>{})):"wrap"===(null==n?void 0:n.type)&&(e.wrap=!0),{text:(r=t,r.replace(Vt,"")),directive:e};var r};function Wi(t){const e=Pi(t),n=zi(e),r=Ui(n.text),i=Ce(n.config,r.directive);return{code:t=dr(r.text),title:n.title,config:i}}const Hi=["foreignobject"],Vi=["dominant-baseline"];function Yi(t){const e=Wi(t);return Re(),Oe(e.config??{}),e}const Gi=(t,e,n=[])=>`\n.${t} ${e} { ${n.join(" !important; ")} !important; }`,Xi=(t,e,n,r)=>{const i=((t,e={})=>{var n;let r="";if(void 0!==t.themeCSS&&(r+=`\n${t.themeCSS}`),void 0!==t.fontFamily&&(r+=`\n:root { --mermaid-font-family: ${t.fontFamily}}`),void 0!==t.altFontFamily&&(r+=`\n:root { --mermaid-alt-font-family: ${t.altFontFamily}}`),!(0,ot.A)(e)){const i=t.htmlLabels||(null==(n=t.flowchart)?void 0:n.htmlLabels)?["> *","span"]:["rect","polygon","ellipse","circle","path"];for(const t in e){const n=e[t];(0,ot.A)(n.styles)||i.forEach((t=>{r+=Gi(n.id,t,n.styles)})),(0,ot.A)(n.textStyles)||(r+=Gi(n.id,"tspan",n.textStyles))}}return r})(t,n);return B(tt(`${r}{${Cn(e,i,t.themeVariables)}}`),F)},Ki=(t,e,n,r,i)=>{const o=t.append("div");o.attr("id",n),r&&o.attr("style",r);const s=o.append("svg").attr("id",e).attr("width","100%").attr("xmlns","http://www.w3.org/2000/svg");return i&&s.attr("xmlns:xlink",i),s.append("g"),t};function Zi(t,e){return t.append("iframe").attr("id",e).attr("style","width: 100%; height: 100%;").attr("sandbox","")}const Ji=(t,e={})=>{const{code:n}=Wi(t);return cr(n,e)};const Qi=Object.freeze({render:async function(t,e,n){var r,i,o,l,c,h;ar();const u=Yi(e);e=u.code;const d=Me();at.debug(d),e.length>((null==d?void 0:d.maxTextSize)??5e4)&&(e="graph TB;a[Maximum text size in diagram exceeded];style a fill:#faa");const p="#"+t,f="i"+t,m="#"+f,g="d"+t,y="#"+g;let k=(0,s.Ltv)("body");const x="sandbox"===d.securityLevel,_="loose"===d.securityLevel,b=d.fontFamily;if(void 0!==n){if(n&&(n.innerHTML=""),x){const t=Zi((0,s.Ltv)(n),f);k=(0,s.Ltv)(t.nodes()[0].contentDocument.body),k.node().style.margin=0}else k=(0,s.Ltv)(n);Ki(k,t,g,`font-family: ${b}`,"http://www.w3.org/1999/xlink")}else{if(((t,e,n,r)=>{var i,o,s;null==(i=t.getElementById(e))||i.remove(),null==(o=t.getElementById(n))||o.remove(),null==(s=t.getElementById(r))||s.remove()})(document,t,g,f),x){const t=Zi((0,s.Ltv)("body"),f);k=(0,s.Ltv)(t.nodes()[0].contentDocument.body),k.node().style.margin=0}else k=(0,s.Ltv)("body");Ki(k,t,g)}let C,v;try{C=await Ji(e,{title:u.title})}catch(M){C=new lr("error"),v=M}const T=k.select(y).node(),A=C.type,w=T.firstChild,S=w.firstChild,I=null==(i=(r=C.renderer).getClasses)?void 0:i.call(r,e,C),L=Xi(d,A,I,p),E=document.createElement("style");E.innerHTML=L,w.insertBefore(E,S);try{await C.renderer.draw(e,t,Ae,C)}catch(j){throw Gn.draw(e,t,Ae),j}!function(t,e,n,r){(function(t,e){t.attr("role",ur),""!==e&&t.attr("aria-roledescription",e)})(e,t),function(t,e,n,r){if(void 0!==t.insert){if(n){const e=`chart-desc-${r}`;t.attr("aria-describedby",e),t.insert("desc",":first-child").attr("id",e).text(n)}if(e){const n=`chart-title-${r}`;t.attr("aria-labelledby",n),t.insert("title",":first-child").attr("id",n).text(e)}}}(e,n,r,e.attr("id"))}(A,k.select(`${y} svg`),null==(l=(o=C.db).getAccTitle)?void 0:l.call(o),null==(h=(c=C.db).getAccDescription)?void 0:h.call(c)),k.select(`[id="${t}"]`).selectAll("foreignobject > *").attr("xmlns","http://www.w3.org/1999/xhtml");let B=k.select(y).node().innerHTML;if(at.debug("config.arrowMarkerAbsolute",d.arrowMarkerAbsolute),B=((t="",e,n)=>{let r=t;return n||e||(r=r.replace(/marker-end="url\([\d+./:=?A-Za-z-]*?#/g,'marker-end="url(#')),r=Te(r),r=r.replace(/<br>/g,"<br/>"),r})(B,x,yt(d.arrowMarkerAbsolute)),x){B=((t="",e)=>{var n,r;return`<iframe style="width:100%;height:${(null==(r=null==(n=null==e?void 0:e.viewBox)?void 0:n.baseVal)?void 0:r.height)?e.viewBox.baseVal.height+"px":"100%"};border:0;margin:0;" src="data:text/html;base64,${btoa('<body style="margin:0">'+t+"</body>")}" sandbox="allow-top-navigation-by-user-activation allow-popups">\n The "iframe" tag is not supported by your browser.\n</iframe>`})(B,k.select(y+" svg").node())}else _||(B=a.sanitize(B,{ADD_TAGS:Hi,ADD_ATTR:Vi}));if(hr.forEach((t=>{t()})),hr=[],v)throw v;const F=x?m:y,N=(0,s.Ltv)(F).node();return N&&"remove"in N&&N.remove(),{svg:B,bindFunctions:C.db.bindFunctions}},parse:async function(t,e){ar(),t=Yi(t).code;try{await Ji(t)}catch(n){if(null==e?void 0:e.suppressErrors)return!1;throw n}return!0},getDiagramFromText:Ji,initialize:function(t={}){var e;(null==t?void 0:t.fontFamily)&&!(null==(e=t.themeVariables)?void 0:e.fontFamily)&&(t.themeVariables||(t.themeVariables={}),t.themeVariables.fontFamily=t.fontFamily),Se=te({},t),(null==t?void 0:t.theme)&&t.theme in Rt?t.themeVariables=Rt[t.theme].getThemeVariables(t.themeVariables):t&&(t.themeVariables=Rt.default.getThemeVariables(t.themeVariables));const n="object"==typeof t?(t=>(Ie=te({},we),Ie=te(Ie,t),t.theme&&Rt[t.theme]&&(Ie.themeVariables=Rt[t.theme].getThemeVariables(t.themeVariables)),Be(Ie,Le),Ie))(t):Fe();lt(n.logLevel),ar()},getConfig:Me,setConfig:Ne,getSiteConfig:Fe,updateSiteConfig:t=>(Ie=te(Ie,t),Be(Ie,Le),Ie),reset:()=>{Re()},globalReset:()=>{Re(we)},defaultConfig:we});lt(Me().logLevel),Re(Me());const to=(t,e,n)=>{at.warn(t),_e(t)?(n&&n(t.str,t.hash),e.push({...t,message:t.str,error:t})):(n&&n(t),t instanceof Error&&e.push({str:t.message,message:t.message,hash:t.name,error:t}))},eo=async function(t={querySelector:".mermaid"}){try{await no(t)}catch(e){if(_e(e)&&at.error(e.str),co.parseError&&co.parseError(e),!t.suppressErrors)throw at.error("Use the suppressErrors option to suppress these errors"),e}},no=async function({postRenderCallback:t,querySelector:e,nodes:n}={querySelector:".mermaid"}){const i=Qi.getConfig();let o;if(at.debug((t?"":"No ")+"Callback function found"),n)o=n;else{if(!e)throw new Error("Nodes and querySelector are both undefined");o=document.querySelectorAll(e)}at.debug(`Found ${o.length} diagrams`),void 0!==(null==i?void 0:i.startOnLoad)&&(at.debug("Start On Load: "+(null==i?void 0:i.startOnLoad)),Qi.updateSiteConfig({startOnLoad:null==i?void 0:i.startOnLoad}));const s=new ve.InitIDGenerator(i.deterministicIds,i.deterministicIDSeed);let a;const l=[];for(const h of Array.from(o)){if(at.info("Rendering diagram: "+h.id),h.getAttribute("data-processed"))continue;h.setAttribute("data-processed","true");const e=`mermaid-${s.next()}`;a=h.innerHTML,a=(0,r.T)(ve.entityDecode(a)).trim().replace(/<br\s*\/?>/gi,"<br/>");const n=ve.detectInit(a);n&&at.debug("Detected early reinit: ",n);try{const{svg:n,bindFunctions:r}=await lo(e,a,h);h.innerHTML=n,t&&await t(e),r&&r(h)}catch(c){to(c,l,co.parseError)}}if(l.length>0)throw l[0]},ro=function(t){Qi.initialize(t)},io=function(){if(co.startOnLoad){const{startOnLoad:t}=Qi.getConfig();t&&co.run().catch((t=>at.error("Mermaid failed to initialize",t)))}};"undefined"!=typeof document&&window.addEventListener("load",io,!1);const oo=[];let so=!1;const ao=async()=>{if(!so){for(so=!0;oo.length>0;){const e=oo.shift();if(e)try{await e()}catch(t){at.error("Error executing queue",t)}}so=!1}},lo=(t,e,n)=>new Promise(((r,i)=>{oo.push((()=>new Promise(((o,s)=>{Qi.render(t,e,n).then((t=>{o(t),r(t)}),(t=>{var e;at.error("Error parsing",t),null==(e=co.parseError)||e.call(co,t),s(t),i(t)}))})))),ao().catch(i)})),co={startOnLoad:!0,mermaidAPI:Qi,parse:async(t,e)=>new Promise(((n,r)=>{oo.push((()=>new Promise(((i,o)=>{Qi.parse(t,e).then((t=>{i(t),n(t)}),(t=>{var e;at.error("Error parsing",t),null==(e=co.parseError)||e.call(co,t),o(t),r(t)}))})))),ao().catch(r)})),render:lo,init:async function(t,e,n){at.warn("mermaid.init is deprecated. Please use run instead."),t&&ro(t);const r={postRenderCallback:n,querySelector:".mermaid"};"string"==typeof e?r.querySelector=e:e&&(e instanceof HTMLElement?r.nodes=[e]:r.nodes=e),await eo(r)},run:eo,registerExternalDiagrams:async(t,{lazyLoad:e=!0}={})=>{Zt(...t),!1===e&&await(async()=>{at.debug("Loading registered diagrams");const t=(await Promise.allSettled(Object.entries(Xt).map((async([t,{detector:e,loader:n}])=>{if(n)try{Wn(t)}catch(r){try{const{diagram:t,id:r}=await n();Un(r,t,e)}catch(i){throw at.error(`Failed to load external diagram with key ${t}. Removing from detectors.`),delete Xt[t],i}}})))).filter((t=>"rejected"===t.status));if(t.length>0){at.error(`Failed to load ${t.length} external diagrams`);for(const e of t)at.error(e);throw new Error(`Failed to load ${t.length} external diagrams`)}})()},initialize:ro,parseError:void 0,contentLoaded:io,setParseErrorHandler:function(t){co.parseError=t},detectType:Kt}}}]); \ No newline at end of file +/*! For license information please see 7212.175307cd.js.LICENSE.txt */ +(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[7212],{6750:(t,e)=>{"use strict";e.Jf=e.dz=void 0;var n=/^([^\w]*)(javascript|data|vbscript)/im,r=/&#(\w+)(^\w|;)?/g,i=/&(newline|tab);/gi,o=/[\u0000-\u001F\u007F-\u009F\u2000-\u200D\uFEFF]/gim,s=/^.+(:|:)/gim,a=[".","/"];e.dz="about:blank",e.Jf=function(t){if(!t)return e.dz;var l,c=(l=t,l.replace(o,"").replace(r,(function(t,e){return String.fromCharCode(e)}))).replace(i,"").replace(o,"").trim();if(!c)return e.dz;if(function(t){return a.indexOf(t[0])>-1}(c))return c;var h=c.match(s);if(!h)return c;var u=h[0];return n.test(u)?e.dz:c}},9320:function(t,e,n){!function(t,e,n,r){"use strict";const i=0,o=1,s=2,a=3,l=4,c=-1;class h{constructor({file:t,sourceRoot:n}={}){this._names=new e.SetArray,this._sources=new e.SetArray,this._sourcesContent=[],this._mappings=[],this.file=t,this.sourceRoot=n,this._ignoreList=new e.SetArray}}function u(t){return t}function d(t,e,n,r,i,o,s,a){return C(!1,t,e,n,r,i,o,s,a)}function p(t,e){return E(!1,t,e)}const f=(t,e,n,r,i,o,s,a)=>C(!0,t,e,n,r,i,o,s,a),m=(t,e)=>E(!0,t,e);function g(t,n,r){const{_sources:i,_sourcesContent:o}=u(t);o[e.put(i,n)]=r}function y(t,n,r=!0){const{_sources:i,_sourcesContent:o,_ignoreList:s}=u(t),a=e.put(i,n);a===o.length&&(o[a]=null),r?e.put(s,a):e.remove(s,a)}function k(t){const{_mappings:e,_sources:n,_sourcesContent:r,_names:i,_ignoreList:o}=u(t);return w(e),{version:3,file:t.file||void 0,names:i.array,sourceRoot:t.sourceRoot||void 0,sources:n.array,sourcesContent:r,mappings:e,ignoreList:o.array}}function x(t){const e=k(t);return Object.assign(Object.assign({},e),{mappings:n.encode(e.mappings)})}function _(t){const e=new r.TraceMap(t),n=new h({file:e.file,sourceRoot:e.sourceRoot});return S(u(n)._names,e.names),S(u(n)._sources,e.sources),u(n)._sourcesContent=e.sourcesContent||e.sources.map((()=>null)),u(n)._mappings=r.decodedMappings(e),e.ignoreList&&S(u(n)._ignoreList,e.ignoreList),n}function b(t){const e=[],{_mappings:n,_sources:r,_names:c}=u(t);for(let h=0;h<n.length;h++){const t=n[h];for(let n=0;n<t.length;n++){const u=t[n],d={line:h+1,column:u[i]};let p,f,m;1!==u.length&&(p=r.array[u[o]],f={line:u[s]+1,column:u[a]},5===u.length&&(m=c.array[u[l]])),e.push({generated:d,source:p,original:f,name:m})}}return e}function C(t,n,r,i,o,s,a,l,h){const{_mappings:d,_sources:p,_sourcesContent:f,_names:m}=u(n),g=v(d,r),y=T(g,i);if(!o){if(t&&I(g,y))return;return A(g,y,[i])}const k=e.put(p,o),x=l?e.put(m,l):c;if(k===f.length&&(f[k]=null!=h?h:null),!t||!L(g,y,k,s,a,x))return A(g,y,l?[i,k,s,a,x]:[i,k,s,a])}function v(t,e){for(let n=t.length;n<=e;n++)t[n]=[];return t[e]}function T(t,e){let n=t.length;for(let r=n-1;r>=0&&!(e>=t[r][i]);n=r--);return n}function A(t,e,n){for(let r=t.length;r>e;r--)t[r]=t[r-1];t[e]=n}function w(t){const{length:e}=t;let n=e;for(let r=n-1;r>=0&&!(t[r].length>0);n=r,r--);n<e&&(t.length=n)}function S(t,n){for(let r=0;r<n.length;r++)e.put(t,n[r])}function I(t,e){return 0===e||1===t[e-1].length}function L(t,e,n,r,i,h){if(0===e)return!1;const u=t[e-1];return 1!==u.length&&n===u[o]&&r===u[s]&&i===u[a]&&h===(5===u.length?u[l]:c)}function E(t,e,n){const{generated:r,source:i,original:o,name:s,content:a}=n;return i?C(t,e,r.line-1,r.column,i,o.line-1,o.column,s,a):C(t,e,r.line-1,r.column,null,null,null,null,null)}t.GenMapping=h,t.addMapping=p,t.addSegment=d,t.allMappings=b,t.fromMap=_,t.maybeAddMapping=m,t.maybeAddSegment=f,t.setIgnore=y,t.setSourceContent=g,t.toDecodedMap=k,t.toEncodedMap=x,Object.defineProperty(t,"__esModule",{value:!0})}(e,n(3534),n(4318),n(2802))},4424:function(t){t.exports=function(){"use strict";const t=/^[\w+.-]+:\/\//,e=/^([\w+.-]+:)\/\/([^@/#?]*@)?([^:/#?]*)(:\d+)?(\/[^#?]*)?(\?[^#]*)?(#.*)?/,n=/^file:(?:\/\/((?![a-z]:)[^/#?]*)?)?(\/?[^#?]*)(\?[^#]*)?(#.*)?/i;function r(e){return t.test(e)}function i(t){return t.startsWith("//")}function o(t){return t.startsWith("/")}function s(t){return t.startsWith("file:")}function a(t){return/^[.?#]/.test(t)}function l(t){const n=e.exec(t);return h(n[1],n[2]||"",n[3],n[4]||"",n[5]||"/",n[6]||"",n[7]||"")}function c(t){const e=n.exec(t),r=e[2];return h("file:","",e[1]||"","",o(r)?r:"/"+r,e[3]||"",e[4]||"")}function h(t,e,n,r,i,o,s){return{scheme:t,user:e,host:n,port:r,path:i,query:o,hash:s,type:7}}function u(t){if(i(t)){const e=l("http:"+t);return e.scheme="",e.type=6,e}if(o(t)){const e=l("http://foo.com"+t);return e.scheme="",e.host="",e.type=5,e}if(s(t))return c(t);if(r(t))return l(t);const e=l("http://foo.com/"+t);return e.scheme="",e.host="",e.type=t?t.startsWith("?")?3:t.startsWith("#")?2:4:1,e}function d(t){if(t.endsWith("/.."))return t;const e=t.lastIndexOf("/");return t.slice(0,e+1)}function p(t,e){f(e,e.type),"/"===t.path?t.path=e.path:t.path=d(e.path)+t.path}function f(t,e){const n=e<=4,r=t.path.split("/");let i=1,o=0,s=!1;for(let l=1;l<r.length;l++){const t=r[l];t?(s=!1,"."!==t&&(".."!==t?(r[i++]=t,o++):o?(s=!0,o--,i--):n&&(r[i++]=t))):s=!0}let a="";for(let l=1;l<i;l++)a+="/"+r[l];(!a||s&&!a.endsWith("/.."))&&(a+="/"),t.path=a}function m(t,e){if(!t&&!e)return"";const n=u(t);let r=n.type;if(e&&7!==r){const t=u(e),i=t.type;switch(r){case 1:n.hash=t.hash;case 2:n.query=t.query;case 3:case 4:p(n,t);case 5:n.user=t.user,n.host=t.host,n.port=t.port;case 6:n.scheme=t.scheme}i>r&&(r=i)}f(n,r);const i=n.query+n.hash;switch(r){case 2:case 3:return i;case 4:{const r=n.path.slice(1);return r?a(e||t)&&!a(r)?"./"+r+i:r+i:i||"."}case 5:return n.path+i;default:return n.scheme+"//"+n.user+n.host+n.port+n.path+i}}return m}()},3534:function(t,e){!function(t){"use strict";class e{constructor(){this._indexes={__proto__:null},this.array=[]}}function n(t){return t}function r(t,e){return n(t)._indexes[e]}function i(t,e){const i=r(t,e);if(void 0!==i)return i;const{array:o,_indexes:s}=n(t),a=o.push(e);return s[e]=a-1}function o(t){const{array:e,_indexes:r}=n(t);0!==e.length&&(r[e.pop()]=void 0)}function s(t,e){const i=r(t,e);if(void 0===i)return;const{array:o,_indexes:s}=n(t);for(let n=i+1;n<o.length;n++){const t=o[n];o[n-1]=t,s[t]--}s[e]=void 0,o.pop()}t.SetArray=e,t.get=r,t.pop=o,t.put=i,t.remove=s,Object.defineProperty(t,"__esModule",{value:!0})}(e)},4318:function(t,e){!function(t){"use strict";const e=",".charCodeAt(0),n=";".charCodeAt(0),r="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",i=new Uint8Array(64),o=new Uint8Array(128);for(let m=0;m<r.length;m++){const t=r.charCodeAt(m);i[m]=t,o[t]=m}const s="undefined"!=typeof TextDecoder?new TextDecoder:"undefined"!=typeof Buffer?{decode:t=>Buffer.from(t.buffer,t.byteOffset,t.byteLength).toString()}:{decode(t){let e="";for(let n=0;n<t.length;n++)e+=String.fromCharCode(t[n]);return e}};function a(t){const e=new Int32Array(5),n=[];let r=0;do{const i=l(t,r),o=[];let s=!0,a=0;e[0]=0;for(let n=r;n<i;n++){let r;n=c(t,n,e,0);const l=e[0];l<a&&(s=!1),a=l,h(t,n,i)?(n=c(t,n,e,1),n=c(t,n,e,2),n=c(t,n,e,3),h(t,n,i)?(n=c(t,n,e,4),r=[l,e[1],e[2],e[3],e[4]]):r=[l,e[1],e[2],e[3]]):r=[l],o.push(r)}s||u(o),n.push(o),r=i+1}while(r<=t.length);return n}function l(t,e){const n=t.indexOf(";",e);return-1===n?t.length:n}function c(t,e,n,r){let i=0,s=0,a=0;do{const n=t.charCodeAt(e++);a=o[n],i|=(31&a)<<s,s+=5}while(32&a);const l=1&i;return i>>>=1,l&&(i=-2147483648|-i),n[r]+=i,e}function h(t,n,r){return!(n>=r)&&t.charCodeAt(n)!==e}function u(t){t.sort(d)}function d(t,e){return t[0]-e[0]}function p(t){const r=new Int32Array(5),i=16384,o=i-36,a=new Uint8Array(i),l=a.subarray(0,o);let c=0,h="";for(let u=0;u<t.length;u++){const d=t[u];if(u>0&&(c===i&&(h+=s.decode(a),c=0),a[c++]=n),0!==d.length){r[0]=0;for(let t=0;t<d.length;t++){const n=d[t];c>o&&(h+=s.decode(l),a.copyWithin(0,o,c),c-=o),t>0&&(a[c++]=e),c=f(a,c,r,n,0),1!==n.length&&(c=f(a,c,r,n,1),c=f(a,c,r,n,2),c=f(a,c,r,n,3),4!==n.length&&(c=f(a,c,r,n,4)))}}}return h+s.decode(a.subarray(0,c))}function f(t,e,n,r,o){const s=r[o];let a=s-n[o];n[o]=s,a=a<0?-a<<1|1:a<<1;do{let n=31&a;a>>>=5,a>0&&(n|=32),t[e++]=i[n]}while(a>0);return e}t.decode=a,t.encode=p,Object.defineProperty(t,"__esModule",{value:!0})}(e)},2802:function(t,e,n){!function(t,e,n){"use strict";function r(t,e){return e&&!e.endsWith("/")&&(e+="/"),n(t,e)}function i(t){if(!t)return"";const e=t.lastIndexOf("/");return t.slice(0,e+1)}const o=0,s=1,a=2,l=3,c=4,h=1,u=2;function d(t,e){const n=p(t,0);if(n===t.length)return t;e||(t=t.slice());for(let r=n;r<t.length;r=p(t,r+1))t[r]=m(t[r],e);return t}function p(t,e){for(let n=e;n<t.length;n++)if(!f(t[n]))return n;return t.length}function f(t){for(let e=1;e<t.length;e++)if(t[e][o]<t[e-1][o])return!1;return!0}function m(t,e){return e||(t=t.slice()),t.sort(g)}function g(t,e){return t[o]-e[o]}let y=!1;function k(t,e,n,r){for(;n<=r;){const i=n+(r-n>>1),s=t[i][o]-e;if(0===s)return y=!0,i;s<0?n=i+1:r=i-1}return y=!1,n-1}function x(t,e,n){for(let r=n+1;r<t.length&&t[r][o]===e;n=r++);return n}function _(t,e,n){for(let r=n-1;r>=0&&t[r][o]===e;n=r--);return n}function b(){return{lastKey:-1,lastNeedle:-1,lastIndex:-1}}function C(t,e,n,r){const{lastKey:i,lastNeedle:s,lastIndex:a}=n;let l=0,c=t.length-1;if(r===i){if(e===s)return y=-1!==a&&t[a][o]===e,a;e>=s?l=-1===a?0:a:c=a}return n.lastKey=r,n.lastNeedle=e,n.lastIndex=k(t,e,l,c)}function v(t,e){const n=e.map(A);for(let r=0;r<t.length;r++){const i=t[r];for(let t=0;t<i.length;t++){const c=i[t];if(1===c.length)continue;const h=c[s],u=c[a],d=c[l],p=n[h],f=p[u]||(p[u]=[]),m=e[h];let g=x(f,d,C(f,d,m,u));m.lastIndex=++g,T(f,g,[d,r,c[o]])}}return n}function T(t,e,n){for(let r=t.length;r>e;r--)t[r]=t[r-1];t[e]=n}function A(){return{__proto__:null}}const w=function(t,e){const n=S(t);if(!("sections"in n))return new O(n,e);const r=[],i=[],o=[],s=[],a=[];return I(n,e,r,i,o,s,a,0,0,1/0,1/0),G({version:3,file:n.file,names:s,sources:i,sourcesContent:o,mappings:r,ignoreList:a})};function S(t){return"string"==typeof t?JSON.parse(t):t}function I(t,e,n,r,i,o,s,a,l,c,h){const{sections:u}=t;for(let d=0;d<u.length;d++){const{map:t,offset:p}=u[d];let f=c,m=h;if(d+1<u.length){const t=u[d+1].offset;f=Math.min(c,a+t.line),f===c?m=Math.min(h,l+t.column):f<c&&(m=l+t.column)}L(t,e,n,r,i,o,s,a+p.line,l+p.column,f,m)}}function L(t,e,n,r,i,h,u,d,p,f,m){const g=S(t);if("sections"in g)return I(...arguments);const y=new O(g,e),k=r.length,x=h.length,_=q(y),{resolvedSources:b,sourcesContent:C,ignoreList:v}=y;if(E(r,b),E(h,y.names),C)E(i,C);else for(let o=0;o<b.length;o++)i.push(null);if(v)for(let o=0;o<v.length;o++)u.push(v[o]+k);for(let T=0;T<_.length;T++){const t=d+T;if(t>f)return;const e=B(n,t),r=0===T?p:0,i=_[T];for(let n=0;n<i.length;n++){const h=i[n],u=r+h[o];if(t===f&&u>=m)return;if(1===h.length){e.push([u]);continue}const d=k+h[s],p=h[a],g=h[l];e.push(4===h.length?[u,d,p,g]:[u,d,p,g,x+h[c]])}}}function E(t,e){for(let n=0;n<e.length;n++)t.push(e[n])}function B(t,e){for(let n=t.length;n<=e;n++)t[n]=[];return t[e]}const F="`line` must be greater than 0 (lines start at line 1)",N="`column` must be greater than or equal to 0 (columns start at column 0)",M=-1,j=1;class O{constructor(t,e){const n="string"==typeof t;if(!n&&t._decodedMemo)return t;const o=n?JSON.parse(t):t,{version:s,file:a,names:l,sourceRoot:c,sources:h,sourcesContent:u}=o;this.version=s,this.file=a,this.names=l||[],this.sourceRoot=c,this.sources=h,this.sourcesContent=u,this.ignoreList=o.ignoreList||o.x_google_ignoreList||void 0;const p=r(c||"",i(e));this.resolvedSources=h.map((t=>r(t||"",p)));const{mappings:f}=o;"string"==typeof f?(this._encoded=f,this._decoded=void 0):(this._encoded=void 0,this._decoded=d(f,n)),this._decodedMemo=b(),this._bySources=void 0,this._bySourceMemos=void 0}}function R(t){return t}function D(t){var n,r;return null!==(n=(r=R(t))._encoded)&&void 0!==n?n:r._encoded=e.encode(R(t)._decoded)}function q(t){var n;return(n=R(t))._decoded||(n._decoded=e.decode(R(t)._encoded))}function $(t,e,n){const r=q(t);if(e>=r.length)return null;const i=r[e],o=tt(i,R(t)._decodedMemo,e,n,j);return-1===o?null:i[o]}function P(t,e){let{line:n,column:r,bias:i}=e;if(n--,n<0)throw new Error(F);if(r<0)throw new Error(N);const o=q(t);if(n>=o.length)return J(null,null,null,null);const h=o[n],u=tt(h,R(t)._decodedMemo,n,r,i||j);if(-1===u)return J(null,null,null,null);const d=h[u];if(1===d.length)return J(null,null,null,null);const{names:p,resolvedSources:f}=t;return J(f[d[s]],d[a]+1,d[l],5===d.length?p[d[c]]:null)}function z(t,e){const{source:n,line:r,column:i,bias:o}=e;return nt(t,n,r,i,o||j,!1)}function U(t,e){const{source:n,line:r,column:i,bias:o}=e;return nt(t,n,r,i,o||M,!0)}function W(t,e){const n=q(t),{names:r,resolvedSources:i}=t;for(let o=0;o<n.length;o++){const t=n[o];for(let n=0;n<t.length;n++){const s=t[n],a=o+1,l=s[0];let c=null,h=null,u=null,d=null;1!==s.length&&(c=i[s[1]],h=s[2]+1,u=s[3]),5===s.length&&(d=r[s[4]]),e({generatedLine:a,generatedColumn:l,source:c,originalLine:h,originalColumn:u,name:d})}}}function H(t,e){const{sources:n,resolvedSources:r}=t;let i=n.indexOf(e);return-1===i&&(i=r.indexOf(e)),i}function V(t,e){const{sourcesContent:n}=t;if(null==n)return null;const r=H(t,e);return-1===r?null:n[r]}function Y(t,e){const{ignoreList:n}=t;if(null==n)return!1;const r=H(t,e);return-1!==r&&n.includes(r)}function G(t,e){const n=new O(Z(t,[]),e);return R(n)._decoded=t.mappings,n}function X(t){return Z(t,q(t))}function K(t){return Z(t,D(t))}function Z(t,e){return{version:t.version,file:t.file,names:t.names,sourceRoot:t.sourceRoot,sources:t.sources,sourcesContent:t.sourcesContent,mappings:e,ignoreList:t.ignoreList||t.x_google_ignoreList}}function J(t,e,n,r){return{source:t,line:e,column:n,name:r}}function Q(t,e){return{line:t,column:e}}function tt(t,e,n,r,i){let o=C(t,r,e,n);return y?o=(i===M?x:_)(t,r,o):i===M&&o++,-1===o||o===t.length?-1:o}function et(t,e,n,r,i){let s=tt(t,e,n,r,j);if(y||i!==M||s++,-1===s||s===t.length)return[];const a=y?r:t[s][o];y||(s=_(t,a,s));const l=x(t,a,s),c=[];for(;s<=l;s++){const e=t[s];c.push(Q(e[h]+1,e[u]))}return c}function nt(t,e,n,r,i,o){var s;if(--n<0)throw new Error(F);if(r<0)throw new Error(N);const{sources:a,resolvedSources:l}=t;let c=a.indexOf(e);if(-1===c&&(c=l.indexOf(e)),-1===c)return o?[]:Q(null,null);const d=((s=R(t))._bySources||(s._bySources=v(q(t),R(t)._bySourceMemos=a.map(b))))[c][n];if(null==d)return o?[]:Q(null,null);const p=R(t)._bySourceMemos[c];if(o)return et(d,p,n,r,i);const f=tt(d,p,n,r,i);if(-1===f)return Q(null,null);const m=d[f];return Q(m[h]+1,m[u])}t.AnyMap=w,t.GREATEST_LOWER_BOUND=j,t.LEAST_UPPER_BOUND=M,t.TraceMap=O,t.allGeneratedPositionsFor=U,t.decodedMap=X,t.decodedMappings=q,t.eachMapping=W,t.encodedMap=K,t.encodedMappings=D,t.generatedPositionFor=z,t.isIgnored=Y,t.originalPositionFor=P,t.presortedDecodedMap=G,t.sourceContentFor=V,t.traceSegment=$}(e,n(4318),n(4424))},7212:(t,e,n)=>{"use strict";n.r(e),n.d(e,{default:()=>ll});var r=n(6540),i=n(9024),o=n(9532),s=n(4848);const a=r.createContext(null);function l(t){let{children:e,content:n}=t;const i=function(t){return(0,r.useMemo)((()=>({metadata:t.metadata,frontMatter:t.frontMatter,assets:t.assets,contentTitle:t.contentTitle,toc:t.toc})),[t])}(n);return(0,s.jsx)(a.Provider,{value:i,children:e})}function c(){const t=(0,r.useContext)(a);if(null===t)throw new o.dV("DocProvider");return t}function h(){const{metadata:t,frontMatter:e,assets:n}=c();return(0,s.jsx)(i.be,{title:t.title,description:t.description,keywords:e.keywords,image:n.image??e.image})}var u=n(4164),d=n(4581),p=n(1312),f=n(8774);function m(t){const{permalink:e,title:n,subLabel:r,isNext:i}=t;return(0,s.jsxs)(f.A,{className:(0,u.A)("pagination-nav__link",i?"pagination-nav__link--next":"pagination-nav__link--prev"),to:e,children:[r&&(0,s.jsx)("div",{className:"pagination-nav__sublabel",children:r}),(0,s.jsx)("div",{className:"pagination-nav__label",children:n})]})}function g(t){const{previous:e,next:n}=t;return(0,s.jsxs)("nav",{className:"pagination-nav docusaurus-mt-lg","aria-label":(0,p.T)({id:"theme.docs.paginator.navAriaLabel",message:"Docs pages",description:"The ARIA label for the docs pagination"}),children:[e&&(0,s.jsx)(m,{...e,subLabel:(0,s.jsx)(p.A,{id:"theme.docs.paginator.previous",description:"The label used to navigate to the previous doc",children:"Previous"})}),n&&(0,s.jsx)(m,{...n,subLabel:(0,s.jsx)(p.A,{id:"theme.docs.paginator.next",description:"The label used to navigate to the next doc",children:"Next"}),isNext:!0})]})}function y(){const{metadata:t}=c();return(0,s.jsx)(g,{previous:t.previous,next:t.next})}var k=n(4586),x=n(4070),_=n(7559),b=n(5597),C=n(2252);const v={unreleased:function(t){let{siteTitle:e,versionMetadata:n}=t;return(0,s.jsx)(p.A,{id:"theme.docs.versions.unreleasedVersionLabel",description:"The label used to tell the user that he's browsing an unreleased doc version",values:{siteTitle:e,versionLabel:(0,s.jsx)("b",{children:n.label})},children:"This is unreleased documentation for {siteTitle} {versionLabel} version."})},unmaintained:function(t){let{siteTitle:e,versionMetadata:n}=t;return(0,s.jsx)(p.A,{id:"theme.docs.versions.unmaintainedVersionLabel",description:"The label used to tell the user that he's browsing an unmaintained doc version",values:{siteTitle:e,versionLabel:(0,s.jsx)("b",{children:n.label})},children:"This is documentation for {siteTitle} {versionLabel}, which is no longer actively maintained."})}};function T(t){const e=v[t.versionMetadata.banner];return(0,s.jsx)(e,{...t})}function A(t){let{versionLabel:e,to:n,onClick:r}=t;return(0,s.jsx)(p.A,{id:"theme.docs.versions.latestVersionSuggestionLabel",description:"The label used to tell the user to check the latest version",values:{versionLabel:e,latestVersionLink:(0,s.jsx)("b",{children:(0,s.jsx)(f.A,{to:n,onClick:r,children:(0,s.jsx)(p.A,{id:"theme.docs.versions.latestVersionLinkLabel",description:"The label used for the latest version suggestion link label",children:"latest version"})})})},children:"For up-to-date documentation, see the {latestVersionLink} ({versionLabel})."})}function w(t){let{className:e,versionMetadata:n}=t;const{siteConfig:{title:r}}=(0,k.A)(),{pluginId:i}=(0,x.vT)({failfast:!0}),{savePreferredVersionName:o}=(0,b.g1)(i),{latestDocSuggestion:a,latestVersionSuggestion:l}=(0,x.HW)(i),c=a??(h=l).docs.find((t=>t.id===h.mainDocId));var h;return(0,s.jsxs)("div",{className:(0,u.A)(e,_.G.docs.docVersionBanner,"alert alert--warning margin-bottom--md"),role:"alert",children:[(0,s.jsx)("div",{children:(0,s.jsx)(T,{siteTitle:r,versionMetadata:n})}),(0,s.jsx)("div",{className:"margin-top--md",children:(0,s.jsx)(A,{versionLabel:l.label,to:c.path,onClick:()=>o(l.name)})})]})}function S(t){let{className:e}=t;const n=(0,C.r)();return n.banner?(0,s.jsx)(w,{className:e,versionMetadata:n}):null}function I(t){let{className:e}=t;const n=(0,C.r)();return n.badge?(0,s.jsx)("span",{className:(0,u.A)(e,_.G.docs.docVersionBadge,"badge badge--secondary"),children:(0,s.jsx)(p.A,{id:"theme.docs.versionBadge.label",values:{versionLabel:n.label},children:"Version: {versionLabel}"})}):null}const L={tag:"tag_zVej",tagRegular:"tagRegular_sFm0",tagWithCount:"tagWithCount_h2kH"};function E(t){let{permalink:e,label:n,count:r,description:i}=t;return(0,s.jsxs)(f.A,{href:e,title:i,className:(0,u.A)(L.tag,r?L.tagWithCount:L.tagRegular),children:[n,r&&(0,s.jsx)("span",{children:r})]})}const B={tags:"tags_jXut",tag:"tag_QGVx"};function F(t){let{tags:e}=t;return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)("b",{children:(0,s.jsx)(p.A,{id:"theme.tags.tagsListLabel",description:"The label alongside a tag list",children:"Tags:"})}),(0,s.jsx)("ul",{className:(0,u.A)(B.tags,"padding--none","margin-left--sm"),children:e.map((t=>(0,s.jsx)("li",{className:B.tag,children:(0,s.jsx)(E,{...t})},t.permalink)))})]})}const N={iconEdit:"iconEdit_Z9Sw"};function M(t){let{className:e,...n}=t;return(0,s.jsx)("svg",{fill:"currentColor",height:"20",width:"20",viewBox:"0 0 40 40",className:(0,u.A)(N.iconEdit,e),"aria-hidden":"true",...n,children:(0,s.jsx)("g",{children:(0,s.jsx)("path",{d:"m34.5 11.7l-3 3.1-6.3-6.3 3.1-3q0.5-0.5 1.2-0.5t1.1 0.5l3.9 3.9q0.5 0.4 0.5 1.1t-0.5 1.2z m-29.5 17.1l18.4-18.5 6.3 6.3-18.4 18.4h-6.3v-6.2z"})})})}function j(t){let{editUrl:e}=t;return(0,s.jsxs)(f.A,{to:e,className:_.G.common.editThisPage,children:[(0,s.jsx)(M,{}),(0,s.jsx)(p.A,{id:"theme.common.editThisPage",description:"The link label to edit the current page",children:"Edit this page"})]})}function O(t){void 0===t&&(t={});const{i18n:{currentLocale:e}}=(0,k.A)(),n=function(){const{i18n:{currentLocale:t,localeConfigs:e}}=(0,k.A)();return e[t].calendar}();return new Intl.DateTimeFormat(e,{calendar:n,...t})}function R(t){let{lastUpdatedAt:e}=t;const n=new Date(e),r=O({day:"numeric",month:"short",year:"numeric",timeZone:"UTC"}).format(n);return(0,s.jsx)(p.A,{id:"theme.lastUpdated.atDate",description:"The words used to describe on which date a page has been last updated",values:{date:(0,s.jsx)("b",{children:(0,s.jsx)("time",{dateTime:n.toISOString(),itemProp:"dateModified",children:r})})},children:" on {date}"})}function D(t){let{lastUpdatedBy:e}=t;return(0,s.jsx)(p.A,{id:"theme.lastUpdated.byUser",description:"The words used to describe by who the page has been last updated",values:{user:(0,s.jsx)("b",{children:e})},children:" by {user}"})}function q(t){let{lastUpdatedAt:e,lastUpdatedBy:n}=t;return(0,s.jsxs)("span",{className:_.G.common.lastUpdated,children:[(0,s.jsx)(p.A,{id:"theme.lastUpdated.lastUpdatedAtBy",description:"The sentence used to display when a page has been last updated, and by who",values:{atDate:e?(0,s.jsx)(R,{lastUpdatedAt:e}):"",byUser:n?(0,s.jsx)(D,{lastUpdatedBy:n}):""},children:"Last updated{atDate}{byUser}"}),!1]})}const $={lastUpdated:"lastUpdated_JAkA"};function P(t){let{className:e,editUrl:n,lastUpdatedAt:r,lastUpdatedBy:i}=t;return(0,s.jsxs)("div",{className:(0,u.A)("row",e),children:[(0,s.jsx)("div",{className:"col",children:n&&(0,s.jsx)(j,{editUrl:n})}),(0,s.jsx)("div",{className:(0,u.A)("col",$.lastUpdated),children:(r||i)&&(0,s.jsx)(q,{lastUpdatedAt:r,lastUpdatedBy:i})})]})}function z(){const{metadata:t}=c(),{editUrl:e,lastUpdatedAt:n,lastUpdatedBy:r,tags:i}=t,o=i.length>0,a=!!(e||n||r);return o||a?(0,s.jsxs)("footer",{className:(0,u.A)(_.G.docs.docFooter,"docusaurus-mt-lg"),children:[o&&(0,s.jsx)("div",{className:(0,u.A)("row margin-top--sm",_.G.docs.docFooterTagsRow),children:(0,s.jsx)("div",{className:"col",children:(0,s.jsx)(F,{tags:i})})}),a&&(0,s.jsx)(P,{className:(0,u.A)("margin-top--sm",_.G.docs.docFooterEditMetaRow),editUrl:e,lastUpdatedAt:n,lastUpdatedBy:r})]}):null}var U=n(1422),W=n(6342);function H(t){const e=t.map((t=>({...t,parentIndex:-1,children:[]}))),n=Array(7).fill(-1);e.forEach(((t,e)=>{const r=n.slice(2,t.level);t.parentIndex=Math.max(...r),n[t.level]=e}));const r=[];return e.forEach((t=>{const{parentIndex:n,...i}=t;n>=0?e[n].children.push(i):r.push(i)})),r}function V(t){let{toc:e,minHeadingLevel:n,maxHeadingLevel:r}=t;return e.flatMap((t=>{const e=V({toc:t.children,minHeadingLevel:n,maxHeadingLevel:r});return function(t){return t.level>=n&&t.level<=r}(t)?[{...t,children:e}]:e}))}function Y(t){const e=t.getBoundingClientRect();return e.top===e.bottom?Y(t.parentNode):e}function G(t,e){let{anchorTopOffset:n}=e;const r=t.find((t=>Y(t).top>=n));if(r){return function(t){return t.top>0&&t.bottom<window.innerHeight/2}(Y(r))?r:t[t.indexOf(r)-1]??null}return t[t.length-1]??null}function X(){const t=(0,r.useRef)(0),{navbar:{hideOnScroll:e}}=(0,W.p)();return(0,r.useEffect)((()=>{t.current=e?0:document.querySelector(".navbar").clientHeight}),[e]),t}function K(t){const e=(0,r.useRef)(void 0),n=X();(0,r.useEffect)((()=>{if(!t)return()=>{};const{linkClassName:r,linkActiveClassName:i,minHeadingLevel:o,maxHeadingLevel:s}=t;function a(){const t=function(t){return Array.from(document.getElementsByClassName(t))}(r),a=function(t){let{minHeadingLevel:e,maxHeadingLevel:n}=t;const r=[];for(let i=e;i<=n;i+=1)r.push(`h${i}.anchor`);return Array.from(document.querySelectorAll(r.join()))}({minHeadingLevel:o,maxHeadingLevel:s}),l=G(a,{anchorTopOffset:n.current}),c=t.find((t=>l&&l.id===function(t){return decodeURIComponent(t.href.substring(t.href.indexOf("#")+1))}(t)));t.forEach((t=>{!function(t,n){n?(e.current&&e.current!==t&&e.current.classList.remove(i),t.classList.add(i),e.current=t):t.classList.remove(i)}(t,t===c)}))}return document.addEventListener("scroll",a),document.addEventListener("resize",a),a(),()=>{document.removeEventListener("scroll",a),document.removeEventListener("resize",a)}}),[t,n])}function Z(t){let{toc:e,className:n,linkClassName:r,isChild:i}=t;return e.length?(0,s.jsx)("ul",{className:i?void 0:n,children:e.map((t=>(0,s.jsxs)("li",{children:[(0,s.jsx)(f.A,{to:`#${t.id}`,className:r??void 0,dangerouslySetInnerHTML:{__html:t.value}}),(0,s.jsx)(Z,{isChild:!0,toc:t.children,className:n,linkClassName:r})]},t.id)))}):null}const J=r.memo(Z);function Q(t){let{toc:e,className:n="table-of-contents table-of-contents__left-border",linkClassName:i="table-of-contents__link",linkActiveClassName:o,minHeadingLevel:a,maxHeadingLevel:l,...c}=t;const h=(0,W.p)(),u=a??h.tableOfContents.minHeadingLevel,d=l??h.tableOfContents.maxHeadingLevel,p=function(t){let{toc:e,minHeadingLevel:n,maxHeadingLevel:i}=t;return(0,r.useMemo)((()=>V({toc:H(e),minHeadingLevel:n,maxHeadingLevel:i})),[e,n,i])}({toc:e,minHeadingLevel:u,maxHeadingLevel:d});return K((0,r.useMemo)((()=>{if(i&&o)return{linkClassName:i,linkActiveClassName:o,minHeadingLevel:u,maxHeadingLevel:d}}),[i,o,u,d])),(0,s.jsx)(J,{toc:p,className:n,linkClassName:i,...c})}const tt={tocCollapsibleButton:"tocCollapsibleButton_TO0P",tocCollapsibleButtonExpanded:"tocCollapsibleButtonExpanded_MG3E"};function et(t){let{collapsed:e,...n}=t;return(0,s.jsx)("button",{type:"button",...n,className:(0,u.A)("clean-btn",tt.tocCollapsibleButton,!e&&tt.tocCollapsibleButtonExpanded,n.className),children:(0,s.jsx)(p.A,{id:"theme.TOCCollapsible.toggleButtonLabel",description:"The label used by the button on the collapsible TOC component",children:"On this page"})})}const nt={tocCollapsible:"tocCollapsible_ETCw",tocCollapsibleContent:"tocCollapsibleContent_vkbj",tocCollapsibleExpanded:"tocCollapsibleExpanded_sAul"};function rt(t){let{toc:e,className:n,minHeadingLevel:r,maxHeadingLevel:i}=t;const{collapsed:o,toggleCollapsed:a}=(0,U.u)({initialState:!0});return(0,s.jsxs)("div",{className:(0,u.A)(nt.tocCollapsible,!o&&nt.tocCollapsibleExpanded,n),children:[(0,s.jsx)(et,{collapsed:o,onClick:a}),(0,s.jsx)(U.N,{lazy:!0,className:nt.tocCollapsibleContent,collapsed:o,children:(0,s.jsx)(Q,{toc:e,minHeadingLevel:r,maxHeadingLevel:i})})]})}const it={tocMobile:"tocMobile_ITEo"};function ot(){const{toc:t,frontMatter:e}=c();return(0,s.jsx)(rt,{toc:t,minHeadingLevel:e.toc_min_heading_level,maxHeadingLevel:e.toc_max_heading_level,className:(0,u.A)(_.G.docs.docTocMobile,it.tocMobile)})}const st={tableOfContents:"tableOfContents_bqdL",docItemContainer:"docItemContainer_F8PC"},at="table-of-contents__link toc-highlight",lt="table-of-contents__link--active";function ct(t){let{className:e,...n}=t;return(0,s.jsx)("div",{className:(0,u.A)(st.tableOfContents,"thin-scrollbar",e),children:(0,s.jsx)(Q,{...n,linkClassName:at,linkActiveClassName:lt})})}function ht(){const{toc:t,frontMatter:e}=c();return(0,s.jsx)(ct,{toc:t,minHeadingLevel:e.toc_min_heading_level,maxHeadingLevel:e.toc_max_heading_level,className:_.G.docs.docTocDesktop})}var ut,dt,pt,ft=n(1107),mt=n(8453),gt=n(5260),yt=n(2303),kt=n(1765),xt={characterData:!0,characterDataOldValue:!0,childList:!0,subtree:!0};function _t(t){var e=window.getSelection();e.empty(),e.addRange(t)}function bt(t){return(t.metaKey||t.ctrlKey)&&!t.altKey&&"KeyZ"===t.code}function Ct(t){t=[t.firstChild];for(var e,n="";e=t.pop();)e.nodeType===Node.TEXT_NODE?n+=e.textContent:e.nodeType===Node.ELEMENT_NODE&&"BR"===e.nodeName&&(n+="\n"),e.nextSibling&&t.push(e.nextSibling),e.firstChild&&t.push(e.firstChild);return"\n"!==n[n.length-1]&&(n+="\n"),n}function vt(t){var e=window.getSelection().getRangeAt(0),n=e.collapsed?0:e.toString().length,r=document.createRange();return r.setStart(t,0),r.setEnd(e.startContainer,e.startOffset),{position:t=(r=r.toString()).length,extent:n,content:r=(r=r.split("\n"))[e=r.length-1],line:e}}function Tt(t,e,n){0>=e&&(e=0),(!n||0>n)&&(n=e);var r=document.createRange();t=[t.firstChild];for(var i,o=0,s=e;i=t[t.length-1];){if(i.nodeType===Node.TEXT_NODE){if(o+i.textContent.length>=s){var a=s-o;if(s===e){if(s=r,a<i.textContent.length?s.setStart(i,a):s.setStartAfter(i),n!==e){s=n;continue}break}e=r,a<(n=i).textContent.length?e.setEnd(n,a):e.setEndAfter(n);break}o+=i.textContent.length}else if(i.nodeType===Node.ELEMENT_NODE&&"BR"===i.nodeName){if(o+1>=s){if(s===e){if(a=r,0<i.textContent.length?a.setStart(i,0):a.setStartAfter(i),n!==e){s=n;continue}break}e=r,0<(n=i).textContent.length?e.setEnd(n,0):e.setEndAfter(n);break}o++}t.pop(),i.nextSibling&&t.push(i.nextSibling),i.firstChild&&t.push(i.firstChild)}return r}!function(t){t[t.NONE=0]="NONE";t[t._abstract=1]="_abstract";t[t._accessor=2]="_accessor";t[t._as=3]="_as";t[t._assert=4]="_assert";t[t._asserts=5]="_asserts";t[t._async=6]="_async";t[t._await=7]="_await";t[t._checks=8]="_checks";t[t._constructor=9]="_constructor";t[t._declare=10]="_declare";t[t._enum=11]="_enum";t[t._exports=12]="_exports";t[t._from=13]="_from";t[t._get=14]="_get";t[t._global=15]="_global";t[t._implements=16]="_implements";t[t._infer=17]="_infer";t[t._interface=18]="_interface";t[t._is=19]="_is";t[t._keyof=20]="_keyof";t[t._mixins=21]="_mixins";t[t._module=22]="_module";t[t._namespace=23]="_namespace";t[t._of=24]="_of";t[t._opaque=25]="_opaque";t[t._out=26]="_out";t[t._override=27]="_override";t[t._private=28]="_private";t[t._protected=29]="_protected";t[t._proto=30]="_proto";t[t._public=31]="_public";t[t._readonly=32]="_readonly";t[t._require=33]="_require";t[t._satisfies=34]="_satisfies";t[t._set=35]="_set";t[t._static=36]="_static";t[t._symbol=37]="_symbol";t[t._type=38]="_type";t[t._unique=39]="_unique";t[t._using=40]="_using"}(ut||(ut={})),function(t){t[t.PRECEDENCE_MASK=15]="PRECEDENCE_MASK";t[t.IS_KEYWORD=16]="IS_KEYWORD";t[t.IS_ASSIGN=32]="IS_ASSIGN";t[t.IS_RIGHT_ASSOCIATIVE=64]="IS_RIGHT_ASSOCIATIVE";t[t.IS_PREFIX=128]="IS_PREFIX";t[t.IS_POSTFIX=256]="IS_POSTFIX";t[t.IS_EXPRESSION_START=512]="IS_EXPRESSION_START";t[t.num=512]="num";t[t.bigint=1536]="bigint";t[t.decimal=2560]="decimal";t[t.regexp=3584]="regexp";t[t.string=4608]="string";t[t.name=5632]="name";t[t.eof=6144]="eof";t[t.bracketL=7680]="bracketL";t[t.bracketR=8192]="bracketR";t[t.braceL=9728]="braceL";t[t.braceBarL=10752]="braceBarL";t[t.braceR=11264]="braceR";t[t.braceBarR=12288]="braceBarR";t[t.parenL=13824]="parenL";t[t.parenR=14336]="parenR";t[t.comma=15360]="comma";t[t.semi=16384]="semi";t[t.colon=17408]="colon";t[t.doubleColon=18432]="doubleColon";t[t.dot=19456]="dot";t[t.question=20480]="question";t[t.questionDot=21504]="questionDot";t[t.arrow=22528]="arrow";t[t.template=23552]="template";t[t.ellipsis=24576]="ellipsis";t[t.backQuote=25600]="backQuote";t[t.dollarBraceL=27136]="dollarBraceL";t[t.at=27648]="at";t[t.hash=29184]="hash";t[t.eq=29728]="eq";t[t.assign=30752]="assign";t[t.preIncDec=32640]="preIncDec";t[t.postIncDec=33664]="postIncDec";t[t.bang=34432]="bang";t[t.tilde=35456]="tilde";t[t.pipeline=35841]="pipeline";t[t.nullishCoalescing=36866]="nullishCoalescing";t[t.logicalOR=37890]="logicalOR";t[t.logicalAND=38915]="logicalAND";t[t.bitwiseOR=39940]="bitwiseOR";t[t.bitwiseXOR=40965]="bitwiseXOR";t[t.bitwiseAND=41990]="bitwiseAND";t[t.equality=43015]="equality";t[t.lessThan=44040]="lessThan";t[t.greaterThan=45064]="greaterThan";t[t.relationalOrEqual=46088]="relationalOrEqual";t[t.bitShiftL=47113]="bitShiftL";t[t.bitShiftR=48137]="bitShiftR";t[t.plus=49802]="plus";t[t.minus=50826]="minus";t[t.modulo=51723]="modulo";t[t.star=52235]="star";t[t.slash=53259]="slash";t[t.exponent=54348]="exponent";t[t.jsxName=55296]="jsxName";t[t.jsxText=56320]="jsxText";t[t.jsxEmptyText=57344]="jsxEmptyText";t[t.jsxTagStart=58880]="jsxTagStart";t[t.jsxTagEnd=59392]="jsxTagEnd";t[t.typeParameterStart=60928]="typeParameterStart";t[t.nonNullAssertion=61440]="nonNullAssertion";t[t._break=62480]="_break";t[t._case=63504]="_case";t[t._catch=64528]="_catch";t[t._continue=65552]="_continue";t[t._debugger=66576]="_debugger";t[t._default=67600]="_default";t[t._do=68624]="_do";t[t._else=69648]="_else";t[t._finally=70672]="_finally";t[t._for=71696]="_for";t[t._function=73232]="_function";t[t._if=73744]="_if";t[t._return=74768]="_return";t[t._switch=75792]="_switch";t[t._throw=77456]="_throw";t[t._try=77840]="_try";t[t._var=78864]="_var";t[t._let=79888]="_let";t[t._const=80912]="_const";t[t._while=81936]="_while";t[t._with=82960]="_with";t[t._new=84496]="_new";t[t._this=85520]="_this";t[t._super=86544]="_super";t[t._class=87568]="_class";t[t._extends=88080]="_extends";t[t._export=89104]="_export";t[t._import=90640]="_import";t[t._yield=91664]="_yield";t[t._null=92688]="_null";t[t._true=93712]="_true";t[t._false=94736]="_false";t[t._in=95256]="_in";t[t._instanceof=96280]="_instanceof";t[t._typeof=97936]="_typeof";t[t._void=98960]="_void";t[t._delete=99984]="_delete";t[t._async=100880]="_async";t[t._get=101904]="_get";t[t._set=102928]="_set";t[t._declare=103952]="_declare";t[t._readonly=104976]="_readonly";t[t._abstract=106e3]="_abstract";t[t._static=107024]="_static";t[t._public=107536]="_public";t[t._private=108560]="_private";t[t._protected=109584]="_protected";t[t._override=110608]="_override";t[t._as=112144]="_as";t[t._enum=113168]="_enum";t[t._type=114192]="_type";t[t._implements=115216]="_implements"}(dt||(dt={}));class At{constructor(t,e,n){this.startTokenIndex=t,this.endTokenIndex=e,this.isFunctionScope=n}}class wt{constructor(t,e,n,r,i,o,s,a,l,c,h,u,d){this.potentialArrowAt=t,this.noAnonFunctionType=e,this.inDisallowConditionalTypesContext=n,this.tokensLength=r,this.scopesLength=i,this.pos=o,this.type=s,this.contextualKeyword=a,this.start=l,this.end=c,this.isType=h,this.scopeDepth=u,this.error=d}}class St{constructor(){St.prototype.__init.call(this),St.prototype.__init2.call(this),St.prototype.__init3.call(this),St.prototype.__init4.call(this),St.prototype.__init5.call(this),St.prototype.__init6.call(this),St.prototype.__init7.call(this),St.prototype.__init8.call(this),St.prototype.__init9.call(this),St.prototype.__init10.call(this),St.prototype.__init11.call(this),St.prototype.__init12.call(this),St.prototype.__init13.call(this)}__init(){this.potentialArrowAt=-1}__init2(){this.noAnonFunctionType=!1}__init3(){this.inDisallowConditionalTypesContext=!1}__init4(){this.tokens=[]}__init5(){this.scopes=[]}__init6(){this.pos=0}__init7(){this.type=dt.eof}__init8(){this.contextualKeyword=ut.NONE}__init9(){this.start=0}__init10(){this.end=0}__init11(){this.isType=!1}__init12(){this.scopeDepth=0}__init13(){this.error=null}snapshot(){return new wt(this.potentialArrowAt,this.noAnonFunctionType,this.inDisallowConditionalTypesContext,this.tokens.length,this.scopes.length,this.pos,this.type,this.contextualKeyword,this.start,this.end,this.isType,this.scopeDepth,this.error)}restoreFromSnapshot(t){this.potentialArrowAt=t.potentialArrowAt,this.noAnonFunctionType=t.noAnonFunctionType,this.inDisallowConditionalTypesContext=t.inDisallowConditionalTypesContext,this.tokens.length=t.tokensLength,this.scopes.length=t.scopesLength,this.pos=t.pos,this.type=t.type,this.contextualKeyword=t.contextualKeyword,this.start=t.start,this.end=t.end,this.isType=t.isType,this.scopeDepth=t.scopeDepth,this.error=t.error}}let It,Lt,Et,Bt,Ft,Nt;function Mt(){return Nt++}function jt(t){if("pos"in t){const e=function(t){let e=1,n=1;for(let r=0;r<t;r++)Ft.charCodeAt(r)===pt.lineFeed?(e++,n=1):n++;return new Ot(e,n)}(t.pos);t.message+=` (${e.line}:${e.column})`,t.loc=e}return t}!function(t){t[t.backSpace=8]="backSpace";t[t.lineFeed=10]="lineFeed";t[t.tab=9]="tab";t[t.carriageReturn=13]="carriageReturn";t[t.shiftOut=14]="shiftOut";t[t.space=32]="space";t[t.exclamationMark=33]="exclamationMark";t[t.quotationMark=34]="quotationMark";t[t.numberSign=35]="numberSign";t[t.dollarSign=36]="dollarSign";t[t.percentSign=37]="percentSign";t[t.ampersand=38]="ampersand";t[t.apostrophe=39]="apostrophe";t[t.leftParenthesis=40]="leftParenthesis";t[t.rightParenthesis=41]="rightParenthesis";t[t.asterisk=42]="asterisk";t[t.plusSign=43]="plusSign";t[t.comma=44]="comma";t[t.dash=45]="dash";t[t.dot=46]="dot";t[t.slash=47]="slash";t[t.digit0=48]="digit0";t[t.digit1=49]="digit1";t[t.digit2=50]="digit2";t[t.digit3=51]="digit3";t[t.digit4=52]="digit4";t[t.digit5=53]="digit5";t[t.digit6=54]="digit6";t[t.digit7=55]="digit7";t[t.digit8=56]="digit8";t[t.digit9=57]="digit9";t[t.colon=58]="colon";t[t.semicolon=59]="semicolon";t[t.lessThan=60]="lessThan";t[t.equalsTo=61]="equalsTo";t[t.greaterThan=62]="greaterThan";t[t.questionMark=63]="questionMark";t[t.atSign=64]="atSign";t[t.uppercaseA=65]="uppercaseA";t[t.uppercaseB=66]="uppercaseB";t[t.uppercaseC=67]="uppercaseC";t[t.uppercaseD=68]="uppercaseD";t[t.uppercaseE=69]="uppercaseE";t[t.uppercaseF=70]="uppercaseF";t[t.uppercaseG=71]="uppercaseG";t[t.uppercaseH=72]="uppercaseH";t[t.uppercaseI=73]="uppercaseI";t[t.uppercaseJ=74]="uppercaseJ";t[t.uppercaseK=75]="uppercaseK";t[t.uppercaseL=76]="uppercaseL";t[t.uppercaseM=77]="uppercaseM";t[t.uppercaseN=78]="uppercaseN";t[t.uppercaseO=79]="uppercaseO";t[t.uppercaseP=80]="uppercaseP";t[t.uppercaseQ=81]="uppercaseQ";t[t.uppercaseR=82]="uppercaseR";t[t.uppercaseS=83]="uppercaseS";t[t.uppercaseT=84]="uppercaseT";t[t.uppercaseU=85]="uppercaseU";t[t.uppercaseV=86]="uppercaseV";t[t.uppercaseW=87]="uppercaseW";t[t.uppercaseX=88]="uppercaseX";t[t.uppercaseY=89]="uppercaseY";t[t.uppercaseZ=90]="uppercaseZ";t[t.leftSquareBracket=91]="leftSquareBracket";t[t.backslash=92]="backslash";t[t.rightSquareBracket=93]="rightSquareBracket";t[t.caret=94]="caret";t[t.underscore=95]="underscore";t[t.graveAccent=96]="graveAccent";t[t.lowercaseA=97]="lowercaseA";t[t.lowercaseB=98]="lowercaseB";t[t.lowercaseC=99]="lowercaseC";t[t.lowercaseD=100]="lowercaseD";t[t.lowercaseE=101]="lowercaseE";t[t.lowercaseF=102]="lowercaseF";t[t.lowercaseG=103]="lowercaseG";t[t.lowercaseH=104]="lowercaseH";t[t.lowercaseI=105]="lowercaseI";t[t.lowercaseJ=106]="lowercaseJ";t[t.lowercaseK=107]="lowercaseK";t[t.lowercaseL=108]="lowercaseL";t[t.lowercaseM=109]="lowercaseM";t[t.lowercaseN=110]="lowercaseN";t[t.lowercaseO=111]="lowercaseO";t[t.lowercaseP=112]="lowercaseP";t[t.lowercaseQ=113]="lowercaseQ";t[t.lowercaseR=114]="lowercaseR";t[t.lowercaseS=115]="lowercaseS";t[t.lowercaseT=116]="lowercaseT";t[t.lowercaseU=117]="lowercaseU";t[t.lowercaseV=118]="lowercaseV";t[t.lowercaseW=119]="lowercaseW";t[t.lowercaseX=120]="lowercaseX";t[t.lowercaseY=121]="lowercaseY";t[t.lowercaseZ=122]="lowercaseZ";t[t.leftCurlyBrace=123]="leftCurlyBrace";t[t.verticalBar=124]="verticalBar";t[t.rightCurlyBrace=125]="rightCurlyBrace";t[t.tilde=126]="tilde";t[t.nonBreakingSpace=160]="nonBreakingSpace";t[t.oghamSpaceMark=5760]="oghamSpaceMark";t[t.lineSeparator=8232]="lineSeparator";t[t.paragraphSeparator=8233]="paragraphSeparator"}(pt||(pt={}));class Ot{constructor(t,e){this.line=t,this.column=e}}function Rt(t,e,n,r){Ft=t,Bt=new St,Nt=1,It=e,Lt=n,Et=r}function Dt(t){return Bt.contextualKeyword===t}function qt(t){const e=be();return e.type===dt.name&&e.contextualKeyword===t}function $t(t){return Bt.contextualKeyword===t&&ge(dt.name)}function Pt(t){$t(t)||Gt()}function zt(){return ke(dt.eof)||ke(dt.braceR)||Ut()}function Ut(){const t=Bt.tokens[Bt.tokens.length-1];for(let e=t?t.end:0;e<Bt.start;e++){const t=Ft.charCodeAt(e);if(t===pt.lineFeed||t===pt.carriageReturn||8232===t||8233===t)return!0}return!1}function Wt(){const t=Ce();for(let e=Bt.end;e<t;e++){const t=Ft.charCodeAt(e);if(t===pt.lineFeed||t===pt.carriageReturn||8232===t||8233===t)return!0}return!1}function Ht(){return ge(dt.semi)||zt()}function Vt(){Ht()||Gt('Unexpected token, expected ";"')}function Yt(t){ge(t)||Gt(`Unexpected token, expected "${function(t){switch(t){case dt.num:return"num";case dt.bigint:return"bigint";case dt.decimal:return"decimal";case dt.regexp:return"regexp";case dt.string:return"string";case dt.name:return"name";case dt.eof:return"eof";case dt.bracketL:return"[";case dt.bracketR:return"]";case dt.braceL:return"{";case dt.braceBarL:return"{|";case dt.braceR:return"}";case dt.braceBarR:return"|}";case dt.parenL:return"(";case dt.parenR:return")";case dt.comma:return",";case dt.semi:return";";case dt.colon:return":";case dt.doubleColon:return"::";case dt.dot:return".";case dt.question:return"?";case dt.questionDot:return"?.";case dt.arrow:return"=>";case dt.template:return"template";case dt.ellipsis:return"...";case dt.backQuote:return"`";case dt.dollarBraceL:return"${";case dt.at:return"@";case dt.hash:return"#";case dt.eq:return"=";case dt.assign:return"_=";case dt.preIncDec:case dt.postIncDec:return"++/--";case dt.bang:return"!";case dt.tilde:return"~";case dt.pipeline:return"|>";case dt.nullishCoalescing:return"??";case dt.logicalOR:return"||";case dt.logicalAND:return"&&";case dt.bitwiseOR:return"|";case dt.bitwiseXOR:return"^";case dt.bitwiseAND:return"&";case dt.equality:return"==/!=";case dt.lessThan:return"<";case dt.greaterThan:return">";case dt.relationalOrEqual:return"<=/>=";case dt.bitShiftL:return"<<";case dt.bitShiftR:return">>/>>>";case dt.plus:return"+";case dt.minus:return"-";case dt.modulo:return"%";case dt.star:return"*";case dt.slash:return"/";case dt.exponent:return"**";case dt.jsxName:return"jsxName";case dt.jsxText:return"jsxText";case dt.jsxEmptyText:return"jsxEmptyText";case dt.jsxTagStart:return"jsxTagStart";case dt.jsxTagEnd:return"jsxTagEnd";case dt.typeParameterStart:return"typeParameterStart";case dt.nonNullAssertion:return"nonNullAssertion";case dt._break:return"break";case dt._case:return"case";case dt._catch:return"catch";case dt._continue:return"continue";case dt._debugger:return"debugger";case dt._default:return"default";case dt._do:return"do";case dt._else:return"else";case dt._finally:return"finally";case dt._for:return"for";case dt._function:return"function";case dt._if:return"if";case dt._return:return"return";case dt._switch:return"switch";case dt._throw:return"throw";case dt._try:return"try";case dt._var:return"var";case dt._let:return"let";case dt._const:return"const";case dt._while:return"while";case dt._with:return"with";case dt._new:return"new";case dt._this:return"this";case dt._super:return"super";case dt._class:return"class";case dt._extends:return"extends";case dt._export:return"export";case dt._import:return"import";case dt._yield:return"yield";case dt._null:return"null";case dt._true:return"true";case dt._false:return"false";case dt._in:return"in";case dt._instanceof:return"instanceof";case dt._typeof:return"typeof";case dt._void:return"void";case dt._delete:return"delete";case dt._async:return"async";case dt._get:return"get";case dt._set:return"set";case dt._declare:return"declare";case dt._readonly:return"readonly";case dt._abstract:return"abstract";case dt._static:return"static";case dt._public:return"public";case dt._private:return"private";case dt._protected:return"protected";case dt._override:return"override";case dt._as:return"as";case dt._enum:return"enum";case dt._type:return"type";case dt._implements:return"implements";default:return""}}(t)}"`)}function Gt(t="Unexpected token",e=Bt.start){if(Bt.error)return;const n=new SyntaxError(t);n.pos=e,Bt.error=n,Bt.pos=Ft.length,Le(dt.eof)}const Xt=[9,11,12,pt.space,pt.nonBreakingSpace,pt.oghamSpaceMark,8192,8193,8194,8195,8196,8197,8198,8199,8200,8201,8202,8239,8287,12288,65279],Kt=/(?:\s|\/\/.*|\/\*[^]*?\*\/)*/g,Zt=new Uint8Array(65536);for(const cl of Xt)Zt[cl]=1;function Jt(t){if(t<48)return 36===t;if(t<58)return!0;if(t<65)return!1;if(t<91)return!0;if(t<97)return 95===t;if(t<123)return!0;if(t<128)return!1;throw new Error("Should not be called with non-ASCII char code.")}const Qt=new Uint8Array(65536);for(let cl=0;cl<128;cl++)Qt[cl]=Jt(cl)?1:0;for(let cl=128;cl<65536;cl++)Qt[cl]=1;for(const cl of Xt)Qt[cl]=0;Qt[8232]=0,Qt[8233]=0;const te=Qt.slice();for(let cl=pt.digit0;cl<=pt.digit9;cl++)te[cl]=0;const ee=new Int32Array([-1,27,783,918,1755,2376,2862,3483,-1,3699,-1,4617,4752,4833,5130,5508,5940,-1,6480,6939,7749,8181,8451,8613,-1,8829,-1,-1,-1,54,243,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,432,-1,-1,-1,675,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,81,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,108,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,135,-1,-1,-1,-1,-1,-1,-1,-1,-1,162,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,189,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,216,-1,-1,-1,-1,-1,-1,ut._abstract<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,270,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,297,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,324,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,351,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,378,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,405,-1,-1,-1,-1,-1,-1,-1,-1,ut._accessor<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,ut._as<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,459,-1,-1,-1,-1,-1,594,-1,-1,-1,-1,-1,-1,486,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,513,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,540,-1,-1,-1,-1,-1,-1,ut._assert<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,567,-1,-1,-1,-1,-1,-1,-1,ut._asserts<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,621,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,648,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,ut._async<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,702,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,729,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,756,-1,-1,-1,-1,-1,-1,ut._await<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,810,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,837,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,864,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,891,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1+(dt._break<<1),-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,945,-1,-1,-1,-1,-1,-1,1107,-1,-1,-1,1242,-1,-1,1350,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,972,1026,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,999,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1+(dt._case<<1),-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1053,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1080,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1+(dt._catch<<1),-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1134,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1161,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1188,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1215,-1,-1,-1,-1,-1,-1,-1,ut._checks<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1269,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1296,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1323,-1,-1,-1,-1,-1,-1,-1,1+(dt._class<<1),-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1377,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1404,1620,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1431,-1,-1,-1,-1,-1,-1,1+(dt._const<<1),-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1458,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1485,-1,-1,-1,-1,-1,-1,-1,-1,1512,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1539,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1566,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1593,-1,-1,-1,-1,-1,-1,-1,-1,ut._constructor<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1647,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1674,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1701,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1728,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1+(dt._continue<<1),-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1782,-1,-1,-1,-1,-1,-1,-1,-1,-1,2349,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1809,1971,-1,-1,2106,-1,-1,-1,-1,-1,2241,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1836,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1863,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1890,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1917,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1944,-1,-1,-1,-1,-1,-1,-1,-1,1+(dt._debugger<<1),-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1998,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2025,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2052,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2079,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,ut._declare<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2133,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2160,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2187,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2214,-1,-1,-1,-1,-1,-1,1+(dt._default<<1),-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2268,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2295,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2322,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1+(dt._delete<<1),-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1+(dt._do<<1),-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2403,-1,2484,-1,-1,-1,-1,-1,-1,-1,-1,-1,2565,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2430,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2457,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1+(dt._else<<1),-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2511,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2538,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,ut._enum<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2592,-1,-1,-1,2727,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2619,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2646,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2673,-1,-1,-1,-1,-1,-1,1+(dt._export<<1),-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2700,-1,-1,-1,-1,-1,-1,-1,ut._exports<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2754,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2781,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2808,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2835,-1,-1,-1,-1,-1,-1,-1,1+(dt._extends<<1),-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2889,-1,-1,-1,-1,-1,-1,-1,2997,-1,-1,-1,-1,-1,3159,-1,-1,3213,-1,-1,3294,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2916,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2943,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2970,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1+(dt._false<<1),-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3024,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3051,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3078,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3105,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3132,-1,1+(dt._finally<<1),-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3186,-1,-1,-1,-1,-1,-1,-1,-1,1+(dt._for<<1),-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3240,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3267,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,ut._from<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3321,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3348,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3375,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3402,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3429,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3456,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1+(dt._function<<1),-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3510,-1,-1,-1,-1,-1,-1,3564,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3537,-1,-1,-1,-1,-1,-1,ut._get<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3591,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3618,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3645,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3672,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,ut._global<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3726,-1,-1,-1,-1,-1,-1,3753,4077,-1,-1,-1,-1,4590,-1,-1,-1,-1,-1,-1,-1,1+(dt._if<<1),-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3780,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3807,-1,-1,3996,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3834,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3861,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3888,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3915,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3942,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3969,-1,-1,-1,-1,-1,-1,-1,ut._implements<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4023,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4050,-1,-1,-1,-1,-1,-1,1+(dt._import<<1),-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1+(dt._in<<1),-1,-1,-1,-1,-1,4104,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4185,4401,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4131,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4158,-1,-1,-1,-1,-1,-1,-1,-1,ut._infer<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4212,-1,-1,-1,-1,-1,-1,-1,4239,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4266,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4293,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4320,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4347,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4374,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1+(dt._instanceof<<1),-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4428,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4455,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4482,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4509,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4536,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4563,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,ut._interface<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,ut._is<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4644,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4671,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4698,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4725,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,ut._keyof<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4779,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4806,-1,-1,-1,-1,-1,-1,1+(dt._let<<1),-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4860,-1,-1,-1,-1,-1,4995,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4887,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4914,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4941,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4968,-1,-1,-1,-1,-1,-1,-1,ut._mixins<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5022,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5049,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5076,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5103,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,ut._module<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5157,-1,-1,-1,5373,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5427,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5184,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5211,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5238,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5265,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5292,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5319,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5346,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,ut._namespace<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5400,-1,-1,-1,1+(dt._new<<1),-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5454,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5481,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1+(dt._null<<1),-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5535,-1,-1,-1,-1,-1,-1,-1,-1,-1,5562,-1,-1,-1,-1,5697,5751,-1,-1,-1,-1,ut._of<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5589,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5616,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5643,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5670,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,ut._opaque<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5724,-1,-1,-1,-1,-1,-1,ut._out<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5778,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5805,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5832,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5859,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5886,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5913,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,ut._override<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5967,-1,-1,6345,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5994,-1,-1,-1,-1,-1,6129,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6021,-1,-1,-1,-1,-1,6048,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6075,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6102,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,ut._private<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6156,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6183,-1,-1,-1,-1,-1,-1,-1,-1,-1,6318,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6210,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6237,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6264,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6291,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,ut._protected<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,ut._proto<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6372,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6399,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6426,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6453,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,ut._public<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6507,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6534,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6696,-1,-1,6831,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6561,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6588,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6615,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6642,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6669,-1,ut._readonly<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6723,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6750,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6777,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6804,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,ut._require<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6858,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6885,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6912,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1+(dt._return<<1),-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6966,-1,-1,-1,7182,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7236,7371,-1,7479,-1,7614,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6993,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7020,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7047,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7074,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7101,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7128,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7155,-1,-1,-1,-1,-1,-1,-1,ut._satisfies<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7209,-1,-1,-1,-1,-1,-1,ut._set<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7263,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7290,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7317,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7344,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,ut._static<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7398,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7425,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7452,-1,-1,-1,-1,-1,-1,-1,-1,1+(dt._super<<1),-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7506,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7533,-1,-1,-1,-1,-1,-1,-1,-1,-1,7560,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7587,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1+(dt._switch<<1),-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7641,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7668,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7695,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7722,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,ut._symbol<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7776,-1,-1,-1,-1,-1,-1,-1,-1,-1,7938,-1,-1,-1,-1,-1,-1,8046,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7803,-1,-1,-1,-1,-1,-1,-1,-1,7857,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7830,-1,-1,-1,-1,-1,-1,-1,1+(dt._this<<1),-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7884,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7911,-1,-1,-1,1+(dt._throw<<1),-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7965,-1,-1,-1,8019,-1,-1,-1,-1,-1,-1,7992,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1+(dt._true<<1),-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1+(dt._try<<1),-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8073,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8100,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,ut._type<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8127,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8154,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1+(dt._typeof<<1),-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8208,-1,-1,-1,-1,8343,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8235,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8262,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8289,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8316,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,ut._unique<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8370,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8397,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8424,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,ut._using<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8478,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8532,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8505,-1,-1,-1,-1,-1,-1,-1,-1,1+(dt._var<<1),-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8559,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8586,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1+(dt._void<<1),-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8640,8748,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8667,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8694,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8721,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1+(dt._while<<1),-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8775,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8802,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1+(dt._with<<1),-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8856,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8883,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8910,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8937,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1+(dt._yield<<1),-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1]);var ne,re;function ie(t){const e=t.identifierRole;return e===ne.TopLevelDeclaration||e===ne.FunctionScopedDeclaration||e===ne.BlockScopedDeclaration||e===ne.ObjectShorthandTopLevelDeclaration||e===ne.ObjectShorthandFunctionScopedDeclaration||e===ne.ObjectShorthandBlockScopedDeclaration}function oe(t){const e=t.identifierRole;return e===ne.FunctionScopedDeclaration||e===ne.BlockScopedDeclaration||e===ne.ObjectShorthandFunctionScopedDeclaration||e===ne.ObjectShorthandBlockScopedDeclaration}function se(t){const e=t.identifierRole;return e===ne.TopLevelDeclaration||e===ne.ObjectShorthandTopLevelDeclaration||e===ne.ImportDeclaration}function ae(t){const e=t.identifierRole;return e===ne.TopLevelDeclaration||e===ne.BlockScopedDeclaration||e===ne.ObjectShorthandTopLevelDeclaration||e===ne.ObjectShorthandBlockScopedDeclaration}function le(t){const e=t.identifierRole;return e===ne.FunctionScopedDeclaration||e===ne.ObjectShorthandFunctionScopedDeclaration}function ce(t){return t.identifierRole===ne.ObjectShorthandTopLevelDeclaration||t.identifierRole===ne.ObjectShorthandBlockScopedDeclaration||t.identifierRole===ne.ObjectShorthandFunctionScopedDeclaration}!function(t){t[t.Access=0]="Access";t[t.ExportAccess=1]="ExportAccess";t[t.TopLevelDeclaration=2]="TopLevelDeclaration";t[t.FunctionScopedDeclaration=3]="FunctionScopedDeclaration";t[t.BlockScopedDeclaration=4]="BlockScopedDeclaration";t[t.ObjectShorthandTopLevelDeclaration=5]="ObjectShorthandTopLevelDeclaration";t[t.ObjectShorthandFunctionScopedDeclaration=6]="ObjectShorthandFunctionScopedDeclaration";t[t.ObjectShorthandBlockScopedDeclaration=7]="ObjectShorthandBlockScopedDeclaration";t[t.ObjectShorthand=8]="ObjectShorthand";t[t.ImportDeclaration=9]="ImportDeclaration";t[t.ObjectKey=10]="ObjectKey";t[t.ImportAccess=11]="ImportAccess"}(ne||(ne={})),function(t){t[t.NoChildren=0]="NoChildren";t[t.OneChild=1]="OneChild";t[t.StaticChildren=2]="StaticChildren";t[t.KeyAfterPropSpread=3]="KeyAfterPropSpread"}(re||(re={}));class he{constructor(){this.type=Bt.type,this.contextualKeyword=Bt.contextualKeyword,this.start=Bt.start,this.end=Bt.end,this.scopeDepth=Bt.scopeDepth,this.isType=Bt.isType,this.identifierRole=null,this.jsxRole=null,this.shadowsGlobal=!1,this.isAsyncOperation=!1,this.contextId=null,this.rhsEndIndex=null,this.isExpression=!1,this.numNullishCoalesceStarts=0,this.numNullishCoalesceEnds=0,this.isOptionalChainStart=!1,this.isOptionalChainEnd=!1,this.subscriptStartIndex=null,this.nullishStartIndex=null}}function ue(){Bt.tokens.push(new he),Ae()}function de(){Bt.tokens.push(new he),Bt.start=Bt.pos,function(){for(;;){if(Bt.pos>=Ft.length)return void Gt("Unterminated template");const t=Ft.charCodeAt(Bt.pos);if(t===pt.graveAccent||t===pt.dollarSign&&Ft.charCodeAt(Bt.pos+1)===pt.leftCurlyBrace)return Bt.pos===Bt.start&&ke(dt.template)?t===pt.dollarSign?(Bt.pos+=2,void Le(dt.dollarBraceL)):(++Bt.pos,void Le(dt.backQuote)):void Le(dt.template);t===pt.backslash&&Bt.pos++,Bt.pos++}}()}function pe(){Bt.type===dt.assign&&--Bt.pos,function(){const t=Bt.pos;let e=!1,n=!1;for(;;){if(Bt.pos>=Ft.length)return void Gt("Unterminated regular expression",t);const r=Ft.charCodeAt(Bt.pos);if(e)e=!1;else{if(r===pt.leftSquareBracket)n=!0;else if(r===pt.rightSquareBracket&&n)n=!1;else if(r===pt.slash&&!n)break;e=r===pt.backslash}++Bt.pos}++Bt.pos,function(){for(;Bt.pos<Ft.length;){const t=Ft.charCodeAt(Bt.pos);if(Qt[t])Bt.pos++;else{if(t!==pt.backslash)break;if(Bt.pos+=2,Ft.charCodeAt(Bt.pos)===pt.leftCurlyBrace){for(;Bt.pos<Ft.length&&Ft.charCodeAt(Bt.pos)!==pt.rightCurlyBrace;)Bt.pos++;Bt.pos++}}}}(),Le(dt.regexp)}()}function fe(t){for(let n=Bt.tokens.length-t;n<Bt.tokens.length;n++)Bt.tokens[n].isType=!0;const e=Bt.isType;return Bt.isType=!0,e}function me(t){Bt.isType=t}function ge(t){return!!ke(t)&&(ue(),!0)}function ye(t){const e=Bt.isType;Bt.isType=!0,ge(t),Bt.isType=e}function ke(t){return Bt.type===t}function xe(){const t=Bt.snapshot();ue();const e=Bt.type;return Bt.restoreFromSnapshot(t),e}class _e{constructor(t,e){this.type=t,this.contextualKeyword=e}}function be(){const t=Bt.snapshot();ue();const e=Bt.type,n=Bt.contextualKeyword;return Bt.restoreFromSnapshot(t),new _e(e,n)}function Ce(){return ve(Bt.pos)}function ve(t){Kt.lastIndex=t;return t+Kt.exec(Ft)[0].length}function Te(){return Ft.charCodeAt(Ce())}function Ae(){if(Ie(),Bt.start=Bt.pos,Bt.pos>=Ft.length){const t=Bt.tokens;return t.length>=2&&t[t.length-1].start>=Ft.length&&t[t.length-2].start>=Ft.length&&Gt("Unexpectedly reached the end of input."),void Le(dt.eof)}var t;t=Ft.charCodeAt(Bt.pos),te[t]||t===pt.backslash||t===pt.atSign&&Ft.charCodeAt(Bt.pos+1)===pt.atSign?function(){let t=0,e=0,n=Bt.pos;for(;n<Ft.length&&(e=Ft.charCodeAt(n),!(e<pt.lowercaseA||e>pt.lowercaseZ));){const r=ee[t+(e-pt.lowercaseA)+1];if(-1===r)break;t=r,n++}const r=ee[t];if(r>-1&&!Qt[e])return Bt.pos=n,void(1&r?Le(r>>>1):Le(dt.name,r>>>1));for(;n<Ft.length;){const t=Ft.charCodeAt(n);if(Qt[t])n++;else if(t===pt.backslash){if(n+=2,Ft.charCodeAt(n)===pt.leftCurlyBrace){for(;n<Ft.length&&Ft.charCodeAt(n)!==pt.rightCurlyBrace;)n++;n++}}else{if(t!==pt.atSign||Ft.charCodeAt(n+1)!==pt.atSign)break;n+=2}}Bt.pos=n,Le(dt.name)}():Fe(t)}function we(){for(;Ft.charCodeAt(Bt.pos)!==pt.asterisk||Ft.charCodeAt(Bt.pos+1)!==pt.slash;)if(Bt.pos++,Bt.pos>Ft.length)return void Gt("Unterminated comment",Bt.pos-2);Bt.pos+=2}function Se(t){let e=Ft.charCodeAt(Bt.pos+=t);if(Bt.pos<Ft.length)for(;e!==pt.lineFeed&&e!==pt.carriageReturn&&e!==pt.lineSeparator&&e!==pt.paragraphSeparator&&++Bt.pos<Ft.length;)e=Ft.charCodeAt(Bt.pos)}function Ie(){for(;Bt.pos<Ft.length;){const t=Ft.charCodeAt(Bt.pos);switch(t){case pt.carriageReturn:Ft.charCodeAt(Bt.pos+1)===pt.lineFeed&&++Bt.pos;case pt.lineFeed:case pt.lineSeparator:case pt.paragraphSeparator:++Bt.pos;break;case pt.slash:switch(Ft.charCodeAt(Bt.pos+1)){case pt.asterisk:Bt.pos+=2,we();break;case pt.slash:Se(2);break;default:return}break;default:if(!Zt[t])return;++Bt.pos}}}function Le(t,e=ut.NONE){Bt.end=Bt.pos,Bt.type=t,Bt.contextualKeyword=e}function Ee(){if(Bt.isType)return void Ne(dt.greaterThan,1);const t=Ft.charCodeAt(Bt.pos+1);if(t===pt.greaterThan){const t=Ft.charCodeAt(Bt.pos+2)===pt.greaterThan?3:2;return Ft.charCodeAt(Bt.pos+t)===pt.equalsTo?void Ne(dt.assign,t+1):void Ne(dt.bitShiftR,t)}t===pt.equalsTo?Ne(dt.relationalOrEqual,2):Ne(dt.greaterThan,1)}function Be(){Bt.type===dt.greaterThan&&(Bt.pos-=1,Ee())}function Fe(t){switch(t){case pt.numberSign:return++Bt.pos,void Le(dt.hash);case pt.dot:return void function(){const t=Ft.charCodeAt(Bt.pos+1);t>=pt.digit0&&t<=pt.digit9?je(!0):t===pt.dot&&Ft.charCodeAt(Bt.pos+2)===pt.dot?(Bt.pos+=3,Le(dt.ellipsis)):(++Bt.pos,Le(dt.dot))}();case pt.leftParenthesis:return++Bt.pos,void Le(dt.parenL);case pt.rightParenthesis:return++Bt.pos,void Le(dt.parenR);case pt.semicolon:return++Bt.pos,void Le(dt.semi);case pt.comma:return++Bt.pos,void Le(dt.comma);case pt.leftSquareBracket:return++Bt.pos,void Le(dt.bracketL);case pt.rightSquareBracket:return++Bt.pos,void Le(dt.bracketR);case pt.leftCurlyBrace:return void(Et&&Ft.charCodeAt(Bt.pos+1)===pt.verticalBar?Ne(dt.braceBarL,2):(++Bt.pos,Le(dt.braceL)));case pt.rightCurlyBrace:return++Bt.pos,void Le(dt.braceR);case pt.colon:return void(Ft.charCodeAt(Bt.pos+1)===pt.colon?Ne(dt.doubleColon,2):(++Bt.pos,Le(dt.colon)));case pt.questionMark:return void function(){const t=Ft.charCodeAt(Bt.pos+1),e=Ft.charCodeAt(Bt.pos+2);t!==pt.questionMark||Et&&Bt.isType?t!==pt.dot||e>=pt.digit0&&e<=pt.digit9?(++Bt.pos,Le(dt.question)):(Bt.pos+=2,Le(dt.questionDot)):e===pt.equalsTo?Ne(dt.assign,3):Ne(dt.nullishCoalescing,2)}();case pt.atSign:return++Bt.pos,void Le(dt.at);case pt.graveAccent:return++Bt.pos,void Le(dt.backQuote);case pt.digit0:{const t=Ft.charCodeAt(Bt.pos+1);if(t===pt.lowercaseX||t===pt.uppercaseX||t===pt.lowercaseO||t===pt.uppercaseO||t===pt.lowercaseB||t===pt.uppercaseB)return void function(){Bt.pos+=2;for(;;){const t=Ft.charCodeAt(Bt.pos);if(!(t>=pt.digit0&&t<=pt.digit9||t>=pt.lowercaseA&&t<=pt.lowercaseF||t>=pt.uppercaseA&&t<=pt.uppercaseF||t===pt.underscore))break;Bt.pos++}const t=Ft.charCodeAt(Bt.pos);t===pt.lowercaseN?(++Bt.pos,Le(dt.bigint)):Le(dt.num)}()}case pt.digit1:case pt.digit2:case pt.digit3:case pt.digit4:case pt.digit5:case pt.digit6:case pt.digit7:case pt.digit8:case pt.digit9:return void je(!1);case pt.quotationMark:case pt.apostrophe:return void function(t){for(Bt.pos++;;){if(Bt.pos>=Ft.length)return void Gt("Unterminated string constant");const e=Ft.charCodeAt(Bt.pos);if(e===pt.backslash)Bt.pos++;else if(e===t)break;Bt.pos++}Bt.pos++,Le(dt.string)}(t);case pt.slash:return void(Ft.charCodeAt(Bt.pos+1)===pt.equalsTo?Ne(dt.assign,2):Ne(dt.slash,1));case pt.percentSign:case pt.asterisk:return void function(t){let e=t===pt.asterisk?dt.star:dt.modulo,n=1,r=Ft.charCodeAt(Bt.pos+1);t===pt.asterisk&&r===pt.asterisk&&(n++,r=Ft.charCodeAt(Bt.pos+2),e=dt.exponent),r===pt.equalsTo&&Ft.charCodeAt(Bt.pos+2)!==pt.greaterThan&&(n++,e=dt.assign),Ne(e,n)}(t);case pt.verticalBar:case pt.ampersand:return void function(t){const e=Ft.charCodeAt(Bt.pos+1);if(e!==t){if(t===pt.verticalBar){if(e===pt.greaterThan)return void Ne(dt.pipeline,2);if(e===pt.rightCurlyBrace&&Et)return void Ne(dt.braceBarR,2)}e!==pt.equalsTo?Ne(t===pt.verticalBar?dt.bitwiseOR:dt.bitwiseAND,1):Ne(dt.assign,2)}else Ft.charCodeAt(Bt.pos+2)===pt.equalsTo?Ne(dt.assign,3):Ne(t===pt.verticalBar?dt.logicalOR:dt.logicalAND,2)}(t);case pt.caret:return void(Ft.charCodeAt(Bt.pos+1)===pt.equalsTo?Ne(dt.assign,2):Ne(dt.bitwiseXOR,1));case pt.plusSign:case pt.dash:return void function(t){const e=Ft.charCodeAt(Bt.pos+1);e!==t?e===pt.equalsTo?Ne(dt.assign,2):t===pt.plusSign?Ne(dt.plus,1):Ne(dt.minus,1):Ne(dt.preIncDec,2)}(t);case pt.lessThan:return void function(){const t=Ft.charCodeAt(Bt.pos+1);if(t===pt.lessThan)return Ft.charCodeAt(Bt.pos+2)===pt.equalsTo?void Ne(dt.assign,3):void(Bt.isType?Ne(dt.lessThan,1):Ne(dt.bitShiftL,2));t===pt.equalsTo?Ne(dt.relationalOrEqual,2):Ne(dt.lessThan,1)}();case pt.greaterThan:return void Ee();case pt.equalsTo:case pt.exclamationMark:return void function(t){const e=Ft.charCodeAt(Bt.pos+1);if(e!==pt.equalsTo)return t===pt.equalsTo&&e===pt.greaterThan?(Bt.pos+=2,void Le(dt.arrow)):void Ne(t===pt.equalsTo?dt.eq:dt.bang,1);Ne(dt.equality,Ft.charCodeAt(Bt.pos+2)===pt.equalsTo?3:2)}(t);case pt.tilde:return void Ne(dt.tilde,1)}Gt(`Unexpected character '${String.fromCharCode(t)}'`,Bt.pos)}function Ne(t,e){Bt.pos+=e,Le(t)}function Me(){for(;;){const t=Ft.charCodeAt(Bt.pos);if(!(t>=pt.digit0&&t<=pt.digit9||t===pt.underscore))break;Bt.pos++}}function je(t){let e=!1,n=!1;t||Me();let r=Ft.charCodeAt(Bt.pos);r===pt.dot&&(++Bt.pos,Me(),r=Ft.charCodeAt(Bt.pos)),r!==pt.uppercaseE&&r!==pt.lowercaseE||(r=Ft.charCodeAt(++Bt.pos),r!==pt.plusSign&&r!==pt.dash||++Bt.pos,Me(),r=Ft.charCodeAt(Bt.pos)),r===pt.lowercaseN?(++Bt.pos,e=!0):r===pt.lowercaseM&&(++Bt.pos,n=!0),Le(e?dt.bigint:n?dt.decimal:dt.num)}function Oe(t,e=t.currentIndex()){let n=e+1;if(Re(t,n)){const r=t.identifierNameAtIndex(e);return{isType:!1,leftName:r,rightName:r,endIndex:n}}if(n++,Re(t,n))return{isType:!0,leftName:null,rightName:null,endIndex:n};if(n++,Re(t,n))return{isType:!1,leftName:t.identifierNameAtIndex(e),rightName:t.identifierNameAtIndex(e+2),endIndex:n};if(n++,Re(t,n))return{isType:!0,leftName:null,rightName:null,endIndex:n};throw new Error(`Unexpected import/export specifier at ${e}`)}function Re(t,e){const n=t.tokens[e];return n.type===dt.braceR||n.type===dt.comma}const De=new Map([["quot",'"'],["amp","&"],["apos","'"],["lt","<"],["gt",">"],["nbsp","\xa0"],["iexcl","\xa1"],["cent","\xa2"],["pound","\xa3"],["curren","\xa4"],["yen","\xa5"],["brvbar","\xa6"],["sect","\xa7"],["uml","\xa8"],["copy","\xa9"],["ordf","\xaa"],["laquo","\xab"],["not","\xac"],["shy","\xad"],["reg","\xae"],["macr","\xaf"],["deg","\xb0"],["plusmn","\xb1"],["sup2","\xb2"],["sup3","\xb3"],["acute","\xb4"],["micro","\xb5"],["para","\xb6"],["middot","\xb7"],["cedil","\xb8"],["sup1","\xb9"],["ordm","\xba"],["raquo","\xbb"],["frac14","\xbc"],["frac12","\xbd"],["frac34","\xbe"],["iquest","\xbf"],["Agrave","\xc0"],["Aacute","\xc1"],["Acirc","\xc2"],["Atilde","\xc3"],["Auml","\xc4"],["Aring","\xc5"],["AElig","\xc6"],["Ccedil","\xc7"],["Egrave","\xc8"],["Eacute","\xc9"],["Ecirc","\xca"],["Euml","\xcb"],["Igrave","\xcc"],["Iacute","\xcd"],["Icirc","\xce"],["Iuml","\xcf"],["ETH","\xd0"],["Ntilde","\xd1"],["Ograve","\xd2"],["Oacute","\xd3"],["Ocirc","\xd4"],["Otilde","\xd5"],["Ouml","\xd6"],["times","\xd7"],["Oslash","\xd8"],["Ugrave","\xd9"],["Uacute","\xda"],["Ucirc","\xdb"],["Uuml","\xdc"],["Yacute","\xdd"],["THORN","\xde"],["szlig","\xdf"],["agrave","\xe0"],["aacute","\xe1"],["acirc","\xe2"],["atilde","\xe3"],["auml","\xe4"],["aring","\xe5"],["aelig","\xe6"],["ccedil","\xe7"],["egrave","\xe8"],["eacute","\xe9"],["ecirc","\xea"],["euml","\xeb"],["igrave","\xec"],["iacute","\xed"],["icirc","\xee"],["iuml","\xef"],["eth","\xf0"],["ntilde","\xf1"],["ograve","\xf2"],["oacute","\xf3"],["ocirc","\xf4"],["otilde","\xf5"],["ouml","\xf6"],["divide","\xf7"],["oslash","\xf8"],["ugrave","\xf9"],["uacute","\xfa"],["ucirc","\xfb"],["uuml","\xfc"],["yacute","\xfd"],["thorn","\xfe"],["yuml","\xff"],["OElig","\u0152"],["oelig","\u0153"],["Scaron","\u0160"],["scaron","\u0161"],["Yuml","\u0178"],["fnof","\u0192"],["circ","\u02c6"],["tilde","\u02dc"],["Alpha","\u0391"],["Beta","\u0392"],["Gamma","\u0393"],["Delta","\u0394"],["Epsilon","\u0395"],["Zeta","\u0396"],["Eta","\u0397"],["Theta","\u0398"],["Iota","\u0399"],["Kappa","\u039a"],["Lambda","\u039b"],["Mu","\u039c"],["Nu","\u039d"],["Xi","\u039e"],["Omicron","\u039f"],["Pi","\u03a0"],["Rho","\u03a1"],["Sigma","\u03a3"],["Tau","\u03a4"],["Upsilon","\u03a5"],["Phi","\u03a6"],["Chi","\u03a7"],["Psi","\u03a8"],["Omega","\u03a9"],["alpha","\u03b1"],["beta","\u03b2"],["gamma","\u03b3"],["delta","\u03b4"],["epsilon","\u03b5"],["zeta","\u03b6"],["eta","\u03b7"],["theta","\u03b8"],["iota","\u03b9"],["kappa","\u03ba"],["lambda","\u03bb"],["mu","\u03bc"],["nu","\u03bd"],["xi","\u03be"],["omicron","\u03bf"],["pi","\u03c0"],["rho","\u03c1"],["sigmaf","\u03c2"],["sigma","\u03c3"],["tau","\u03c4"],["upsilon","\u03c5"],["phi","\u03c6"],["chi","\u03c7"],["psi","\u03c8"],["omega","\u03c9"],["thetasym","\u03d1"],["upsih","\u03d2"],["piv","\u03d6"],["ensp","\u2002"],["emsp","\u2003"],["thinsp","\u2009"],["zwnj","\u200c"],["zwj","\u200d"],["lrm","\u200e"],["rlm","\u200f"],["ndash","\u2013"],["mdash","\u2014"],["lsquo","\u2018"],["rsquo","\u2019"],["sbquo","\u201a"],["ldquo","\u201c"],["rdquo","\u201d"],["bdquo","\u201e"],["dagger","\u2020"],["Dagger","\u2021"],["bull","\u2022"],["hellip","\u2026"],["permil","\u2030"],["prime","\u2032"],["Prime","\u2033"],["lsaquo","\u2039"],["rsaquo","\u203a"],["oline","\u203e"],["frasl","\u2044"],["euro","\u20ac"],["image","\u2111"],["weierp","\u2118"],["real","\u211c"],["trade","\u2122"],["alefsym","\u2135"],["larr","\u2190"],["uarr","\u2191"],["rarr","\u2192"],["darr","\u2193"],["harr","\u2194"],["crarr","\u21b5"],["lArr","\u21d0"],["uArr","\u21d1"],["rArr","\u21d2"],["dArr","\u21d3"],["hArr","\u21d4"],["forall","\u2200"],["part","\u2202"],["exist","\u2203"],["empty","\u2205"],["nabla","\u2207"],["isin","\u2208"],["notin","\u2209"],["ni","\u220b"],["prod","\u220f"],["sum","\u2211"],["minus","\u2212"],["lowast","\u2217"],["radic","\u221a"],["prop","\u221d"],["infin","\u221e"],["ang","\u2220"],["and","\u2227"],["or","\u2228"],["cap","\u2229"],["cup","\u222a"],["int","\u222b"],["there4","\u2234"],["sim","\u223c"],["cong","\u2245"],["asymp","\u2248"],["ne","\u2260"],["equiv","\u2261"],["le","\u2264"],["ge","\u2265"],["sub","\u2282"],["sup","\u2283"],["nsub","\u2284"],["sube","\u2286"],["supe","\u2287"],["oplus","\u2295"],["otimes","\u2297"],["perp","\u22a5"],["sdot","\u22c5"],["lceil","\u2308"],["rceil","\u2309"],["lfloor","\u230a"],["rfloor","\u230b"],["lang","\u2329"],["rang","\u232a"],["loz","\u25ca"],["spades","\u2660"],["clubs","\u2663"],["hearts","\u2665"],["diams","\u2666"]]);function qe(t){const[e,n]=$e(t.jsxPragma||"React.createElement"),[r,i]=$e(t.jsxFragmentPragma||"React.Fragment");return{base:e,suffix:n,fragmentBase:r,fragmentSuffix:i}}function $e(t){let e=t.indexOf(".");return-1===e&&(e=t.length),[t.slice(0,e),t.slice(e)]}class Pe{getPrefixCode(){return""}getHoistedCode(){return""}getSuffixCode(){return""}}class ze extends Pe{__init(){this.lastLineNumber=1}__init2(){this.lastIndex=0}__init3(){this.filenameVarName=null}__init4(){this.esmAutomaticImportNameResolutions={}}__init5(){this.cjsAutomaticModuleNameResolutions={}}constructor(t,e,n,r,i){super(),this.rootTransformer=t,this.tokens=e,this.importProcessor=n,this.nameManager=r,this.options=i,ze.prototype.__init.call(this),ze.prototype.__init2.call(this),ze.prototype.__init3.call(this),ze.prototype.__init4.call(this),ze.prototype.__init5.call(this),this.jsxPragmaInfo=qe(i),this.isAutomaticRuntime="automatic"===i.jsxRuntime,this.jsxImportSource=i.jsxImportSource||"react"}process(){return!!this.tokens.matches1(dt.jsxTagStart)&&(this.processJSXTag(),!0)}getPrefixCode(){let t="";if(this.filenameVarName&&(t+=`const ${this.filenameVarName} = ${JSON.stringify(this.options.filePath||"")};`),this.isAutomaticRuntime)if(this.importProcessor)for(const[e,n]of Object.entries(this.cjsAutomaticModuleNameResolutions))t+=`var ${n} = require("${e}");`;else{const{createElement:e,...n}=this.esmAutomaticImportNameResolutions;e&&(t+=`import {createElement as ${e}} from "${this.jsxImportSource}";`);const r=Object.entries(n).map((([t,e])=>`${t} as ${e}`)).join(", ");if(r){t+=`import {${r}} from "${this.jsxImportSource+(this.options.production?"/jsx-runtime":"/jsx-dev-runtime")}";`}}return t}processJSXTag(){const{jsxRole:t,start:e}=this.tokens.currentToken(),n=this.options.production?null:this.getElementLocationCode(e);this.isAutomaticRuntime&&t!==re.KeyAfterPropSpread?this.transformTagToJSXFunc(n,t):this.transformTagToCreateElement(n)}getElementLocationCode(t){return`lineNumber: ${this.getLineNumberForIndex(t)}`}getLineNumberForIndex(t){const e=this.tokens.code;for(;this.lastIndex<t&&this.lastIndex<e.length;)"\n"===e[this.lastIndex]&&this.lastLineNumber++,this.lastIndex++;return this.lastLineNumber}transformTagToJSXFunc(t,e){const n=e===re.StaticChildren;this.tokens.replaceToken(this.getJSXFuncInvocationCode(n));let r=null;if(this.tokens.matches1(dt.jsxTagEnd))this.tokens.replaceToken(`${this.getFragmentCode()}, {`),this.processAutomaticChildrenAndEndProps(e);else{if(this.processTagIntro(),this.tokens.appendCode(", {"),r=this.processProps(!0),this.tokens.matches2(dt.slash,dt.jsxTagEnd))this.tokens.appendCode("}");else{if(!this.tokens.matches1(dt.jsxTagEnd))throw new Error("Expected either /> or > at the end of the tag.");this.tokens.removeToken(),this.processAutomaticChildrenAndEndProps(e)}r&&this.tokens.appendCode(`, ${r}`)}for(this.options.production||(null===r&&this.tokens.appendCode(", void 0"),this.tokens.appendCode(`, ${n}, ${this.getDevSource(t)}, this`)),this.tokens.removeInitialToken();!this.tokens.matches1(dt.jsxTagEnd);)this.tokens.removeToken();this.tokens.replaceToken(")")}transformTagToCreateElement(t){if(this.tokens.replaceToken(this.getCreateElementInvocationCode()),this.tokens.matches1(dt.jsxTagEnd))this.tokens.replaceToken(`${this.getFragmentCode()}, null`),this.processChildren(!0);else if(this.processTagIntro(),this.processPropsObjectWithDevInfo(t),this.tokens.matches2(dt.slash,dt.jsxTagEnd));else{if(!this.tokens.matches1(dt.jsxTagEnd))throw new Error("Expected either /> or > at the end of the tag.");this.tokens.removeToken(),this.processChildren(!0)}for(this.tokens.removeInitialToken();!this.tokens.matches1(dt.jsxTagEnd);)this.tokens.removeToken();this.tokens.replaceToken(")")}getJSXFuncInvocationCode(t){return this.options.production?t?this.claimAutoImportedFuncInvocation("jsxs","/jsx-runtime"):this.claimAutoImportedFuncInvocation("jsx","/jsx-runtime"):this.claimAutoImportedFuncInvocation("jsxDEV","/jsx-dev-runtime")}getCreateElementInvocationCode(){if(this.isAutomaticRuntime)return this.claimAutoImportedFuncInvocation("createElement","");{const{jsxPragmaInfo:t}=this;return`${this.importProcessor&&this.importProcessor.getIdentifierReplacement(t.base)||t.base}${t.suffix}(`}}getFragmentCode(){if(this.isAutomaticRuntime)return this.claimAutoImportedName("Fragment",this.options.production?"/jsx-runtime":"/jsx-dev-runtime");{const{jsxPragmaInfo:t}=this;return(this.importProcessor&&this.importProcessor.getIdentifierReplacement(t.fragmentBase)||t.fragmentBase)+t.fragmentSuffix}}claimAutoImportedFuncInvocation(t,e){const n=this.claimAutoImportedName(t,e);return this.importProcessor?`${n}.call(void 0, `:`${n}(`}claimAutoImportedName(t,e){if(this.importProcessor){const n=this.jsxImportSource+e;return this.cjsAutomaticModuleNameResolutions[n]||(this.cjsAutomaticModuleNameResolutions[n]=this.importProcessor.getFreeIdentifierForPath(n)),`${this.cjsAutomaticModuleNameResolutions[n]}.${t}`}return this.esmAutomaticImportNameResolutions[t]||(this.esmAutomaticImportNameResolutions[t]=this.nameManager.claimFreeName(`_${t}`)),this.esmAutomaticImportNameResolutions[t]}processTagIntro(){let t=this.tokens.currentIndex()+1;for(;this.tokens.tokens[t].isType||!this.tokens.matches2AtIndex(t-1,dt.jsxName,dt.jsxName)&&!this.tokens.matches2AtIndex(t-1,dt.greaterThan,dt.jsxName)&&!this.tokens.matches1AtIndex(t,dt.braceL)&&!this.tokens.matches1AtIndex(t,dt.jsxTagEnd)&&!this.tokens.matches2AtIndex(t,dt.slash,dt.jsxTagEnd);)t++;if(t===this.tokens.currentIndex()+1){const t=this.tokens.identifierName();Ue(t)&&this.tokens.replaceToken(`'${t}'`)}for(;this.tokens.currentIndex()<t;)this.rootTransformer.processToken()}processPropsObjectWithDevInfo(t){const e=this.options.production?"":`__self: this, __source: ${this.getDevSource(t)}`;this.tokens.matches1(dt.jsxName)||this.tokens.matches1(dt.braceL)?(this.tokens.appendCode(", {"),this.processProps(!1),e?this.tokens.appendCode(` ${e}}`):this.tokens.appendCode("}")):e?this.tokens.appendCode(`, {${e}}`):this.tokens.appendCode(", null")}processProps(t){let e=null;for(;;){if(this.tokens.matches2(dt.jsxName,dt.eq)){const n=this.tokens.identifierName();if(t&&"key"===n){null!==e&&this.tokens.appendCode(e.replace(/[^\n]/g,"")),this.tokens.removeToken(),this.tokens.removeToken();const t=this.tokens.snapshot();this.processPropValue(),e=this.tokens.dangerouslyGetAndRemoveCodeSinceSnapshot(t);continue}this.processPropName(n),this.tokens.replaceToken(": "),this.processPropValue()}else if(this.tokens.matches1(dt.jsxName)){const t=this.tokens.identifierName();this.processPropName(t),this.tokens.appendCode(": true")}else{if(!this.tokens.matches1(dt.braceL))break;this.tokens.replaceToken(""),this.rootTransformer.processBalancedCode(),this.tokens.replaceToken("")}this.tokens.appendCode(",")}return e}processPropName(t){t.includes("-")?this.tokens.replaceToken(`'${t}'`):this.tokens.copyToken()}processPropValue(){this.tokens.matches1(dt.braceL)?(this.tokens.replaceToken(""),this.rootTransformer.processBalancedCode(),this.tokens.replaceToken("")):this.tokens.matches1(dt.jsxTagStart)?this.processJSXTag():this.processStringPropValue()}processStringPropValue(){const t=this.tokens.currentToken(),e=this.tokens.code.slice(t.start+1,t.end-1),n=We(e),r=function(t){let e="";for(let n=0;n<t.length;n++){const r=t[n];if("\n"===r)if(/\s/.test(t[n+1]))for(e+=" ";n<t.length&&/\s/.test(t[n+1]);)n++;else e+="\n";else if("&"===r){const{entity:r,newI:i}=He(t,n+1);e+=r,n=i-1}else e+=r}return JSON.stringify(e)}(e);this.tokens.replaceToken(r+n)}processAutomaticChildrenAndEndProps(t){t===re.StaticChildren?(this.tokens.appendCode(" children: ["),this.processChildren(!1),this.tokens.appendCode("]}")):(t===re.OneChild&&this.tokens.appendCode(" children: "),this.processChildren(!1),this.tokens.appendCode("}"))}processChildren(t){let e=t;for(;;){if(this.tokens.matches2(dt.jsxTagStart,dt.slash))return;let t=!1;if(this.tokens.matches1(dt.braceL))this.tokens.matches2(dt.braceL,dt.braceR)?(this.tokens.replaceToken(""),this.tokens.replaceToken("")):(this.tokens.replaceToken(e?", ":""),this.rootTransformer.processBalancedCode(),this.tokens.replaceToken(""),t=!0);else if(this.tokens.matches1(dt.jsxTagStart))this.tokens.appendCode(e?", ":""),this.processJSXTag(),t=!0;else{if(!this.tokens.matches1(dt.jsxText)&&!this.tokens.matches1(dt.jsxEmptyText))throw new Error("Unexpected token when processing JSX children.");t=this.processChildTextElement(e)}t&&(e=!0)}}processChildTextElement(t){const e=this.tokens.currentToken(),n=this.tokens.code.slice(e.start,e.end),r=We(n),i=function(t){let e="",n="",r=!1,i=!1;for(let o=0;o<t.length;o++){const s=t[o];if(" "===s||"\t"===s||"\r"===s)r||(n+=s);else if("\n"===s)n="",r=!0;else{if(i&&r&&(e+=" "),e+=n,n="","&"===s){const{entity:n,newI:r}=He(t,o+1);o=r-1,e+=n}else e+=s;i=!0,r=!1}}r||(e+=n);return JSON.stringify(e)}(n);return'""'===i?(this.tokens.replaceToken(r),!1):(this.tokens.replaceToken(`${t?", ":""}${i}${r}`),!0)}getDevSource(t){return`{fileName: ${this.getFilenameVarName()}, ${t}}`}getFilenameVarName(){return this.filenameVarName||(this.filenameVarName=this.nameManager.claimFreeName("_jsxFileName")),this.filenameVarName}}function Ue(t){const e=t.charCodeAt(0);return e>=pt.lowercaseA&&e<=pt.lowercaseZ}function We(t){let e=0,n=0;for(const r of t)"\n"===r?(e++,n=0):" "===r&&n++;return"\n".repeat(e)+" ".repeat(n)}function He(t,e){let n,r="",i=0,o=e;if("#"===t[o]){let e,r=10;if(o++,"x"===t[o])for(r=16,o++,e=o;o<t.length&&((s=t.charCodeAt(o))>=pt.digit0&&s<=pt.digit9||s>=pt.lowercaseA&&s<=pt.lowercaseF||s>=pt.uppercaseA&&s<=pt.uppercaseF);)o++;else for(e=o;o<t.length&&Ve(t.charCodeAt(o));)o++;if(";"===t[o]){const i=t.slice(e,o);i&&(o++,n=String.fromCodePoint(parseInt(i,r)))}}else for(;o<t.length&&i++<10;){const e=t[o];if(o++,";"===e){n=De.get(r);break}r+=e}var s;return n?{entity:n,newI:o}:{entity:"&",newI:e}}function Ve(t){return t>=pt.digit0&&t<=pt.digit9}function Ye(t,e){const n=qe(e),r=new Set;for(let i=0;i<t.tokens.length;i++){const e=t.tokens[i];if(e.type!==dt.name||e.isType||e.identifierRole!==ne.Access&&e.identifierRole!==ne.ObjectShorthand&&e.identifierRole!==ne.ExportAccess||e.shadowsGlobal||r.add(t.identifierNameForToken(e)),e.type===dt.jsxTagStart&&r.add(n.base),e.type===dt.jsxTagStart&&i+1<t.tokens.length&&t.tokens[i+1].type===dt.jsxTagEnd&&(r.add(n.base),r.add(n.fragmentBase)),e.type===dt.jsxName&&e.identifierRole===ne.Access){Ue(t.identifierNameForToken(e))&&t.tokens[i+1].type!==dt.dot||r.add(t.identifierNameForToken(e))}}return r}class Ge{__init(){this.nonTypeIdentifiers=new Set}__init2(){this.importInfoByPath=new Map}__init3(){this.importsToReplace=new Map}__init4(){this.identifierReplacements=new Map}__init5(){this.exportBindingsByLocalName=new Map}constructor(t,e,n,r,i,o,s){this.nameManager=t,this.tokens=e,this.enableLegacyTypeScriptModuleInterop=n,this.options=r,this.isTypeScriptTransformEnabled=i,this.keepUnusedImports=o,this.helperManager=s,Ge.prototype.__init.call(this),Ge.prototype.__init2.call(this),Ge.prototype.__init3.call(this),Ge.prototype.__init4.call(this),Ge.prototype.__init5.call(this)}preprocessTokens(){for(let t=0;t<this.tokens.tokens.length;t++)this.tokens.matches1AtIndex(t,dt._import)&&!this.tokens.matches3AtIndex(t,dt._import,dt.name,dt.eq)&&this.preprocessImportAtIndex(t),this.tokens.matches1AtIndex(t,dt._export)&&!this.tokens.matches2AtIndex(t,dt._export,dt.eq)&&this.preprocessExportAtIndex(t);this.generateImportReplacements()}pruneTypeOnlyImports(){this.nonTypeIdentifiers=Ye(this.tokens,this.options);for(const[t,e]of this.importInfoByPath.entries()){if(e.hasBareImport||e.hasStarExport||e.exportStarNames.length>0||e.namedExports.length>0)continue;[...e.defaultNames,...e.wildcardNames,...e.namedImports.map((({localName:t})=>t))].every((t=>this.shouldAutomaticallyElideImportedName(t)))&&this.importsToReplace.set(t,"")}}shouldAutomaticallyElideImportedName(t){return this.isTypeScriptTransformEnabled&&!this.keepUnusedImports&&!this.nonTypeIdentifiers.has(t)}generateImportReplacements(){for(const[t,e]of this.importInfoByPath.entries()){const{defaultNames:n,wildcardNames:r,namedImports:i,namedExports:o,exportStarNames:s,hasStarExport:a}=e;if(0===n.length&&0===r.length&&0===i.length&&0===o.length&&0===s.length&&!a){this.importsToReplace.set(t,`require('${t}');`);continue}const l=this.getFreeIdentifierForPath(t);let c;c=this.enableLegacyTypeScriptModuleInterop?l:r.length>0?r[0]:this.getFreeIdentifierForPath(t);let h=`var ${l} = require('${t}');`;if(r.length>0)for(const t of r){h+=` var ${t} = ${this.enableLegacyTypeScriptModuleInterop?l:`${this.helperManager.getHelperName("interopRequireWildcard")}(${l})`};`}else s.length>0&&c!==l?h+=` var ${c} = ${this.helperManager.getHelperName("interopRequireWildcard")}(${l});`:n.length>0&&c!==l&&(h+=` var ${c} = ${this.helperManager.getHelperName("interopRequireDefault")}(${l});`);for(const{importedName:t,localName:e}of o)h+=` ${this.helperManager.getHelperName("createNamedExportFrom")}(${l}, '${e}', '${t}');`;for(const t of s)h+=` exports.${t} = ${c};`;a&&(h+=` ${this.helperManager.getHelperName("createStarExport")}(${l});`),this.importsToReplace.set(t,h);for(const t of n)this.identifierReplacements.set(t,`${c}.default`);for(const{importedName:t,localName:e}of i)this.identifierReplacements.set(e,`${l}.${t}`)}}getFreeIdentifierForPath(t){const e=t.split("/"),n=e[e.length-1].replace(/\W/g,"");return this.nameManager.claimFreeName(`_${n}`)}preprocessImportAtIndex(t){const e=[],n=[],r=[];if(t++,(this.tokens.matchesContextualAtIndex(t,ut._type)||this.tokens.matches1AtIndex(t,dt._typeof))&&!this.tokens.matches1AtIndex(t+1,dt.comma)&&!this.tokens.matchesContextualAtIndex(t+1,ut._from))return;if(this.tokens.matches1AtIndex(t,dt.parenL))return;if(this.tokens.matches1AtIndex(t,dt.name)&&(e.push(this.tokens.identifierNameAtIndex(t)),t++,this.tokens.matches1AtIndex(t,dt.comma)&&t++),this.tokens.matches1AtIndex(t,dt.star)&&(t+=2,n.push(this.tokens.identifierNameAtIndex(t)),t++),this.tokens.matches1AtIndex(t,dt.braceL)){const n=this.getNamedImports(t+1);t=n.newIndex;for(const t of n.namedImports)"default"===t.importedName?e.push(t.localName):r.push(t)}if(this.tokens.matchesContextualAtIndex(t,ut._from)&&t++,!this.tokens.matches1AtIndex(t,dt.string))throw new Error("Expected string token at the end of import statement.");const i=this.tokens.stringValueAtIndex(t),o=this.getImportInfo(i);o.defaultNames.push(...e),o.wildcardNames.push(...n),o.namedImports.push(...r),0===e.length&&0===n.length&&0===r.length&&(o.hasBareImport=!0)}preprocessExportAtIndex(t){if(this.tokens.matches2AtIndex(t,dt._export,dt._var)||this.tokens.matches2AtIndex(t,dt._export,dt._let)||this.tokens.matches2AtIndex(t,dt._export,dt._const))this.preprocessVarExportAtIndex(t);else if(this.tokens.matches2AtIndex(t,dt._export,dt._function)||this.tokens.matches2AtIndex(t,dt._export,dt._class)){const e=this.tokens.identifierNameAtIndex(t+2);this.addExportBinding(e,e)}else if(this.tokens.matches3AtIndex(t,dt._export,dt.name,dt._function)){const e=this.tokens.identifierNameAtIndex(t+3);this.addExportBinding(e,e)}else this.tokens.matches2AtIndex(t,dt._export,dt.braceL)?this.preprocessNamedExportAtIndex(t):this.tokens.matches2AtIndex(t,dt._export,dt.star)&&this.preprocessExportStarAtIndex(t)}preprocessVarExportAtIndex(t){let e=0;for(let n=t+2;;n++)if(this.tokens.matches1AtIndex(n,dt.braceL)||this.tokens.matches1AtIndex(n,dt.dollarBraceL)||this.tokens.matches1AtIndex(n,dt.bracketL))e++;else if(this.tokens.matches1AtIndex(n,dt.braceR)||this.tokens.matches1AtIndex(n,dt.bracketR))e--;else{if(0===e&&!this.tokens.matches1AtIndex(n,dt.name))break;if(this.tokens.matches1AtIndex(1,dt.eq)){const t=this.tokens.currentToken().rhsEndIndex;if(null==t)throw new Error("Expected = token with an end index.");n=t-1}else{if(ie(this.tokens.tokens[n])){const t=this.tokens.identifierNameAtIndex(n);this.identifierReplacements.set(t,`exports.${t}`)}}}}preprocessNamedExportAtIndex(t){t+=2;const{newIndex:e,namedImports:n}=this.getNamedImports(t);if(t=e,!this.tokens.matchesContextualAtIndex(t,ut._from)){for(const{importedName:t,localName:e}of n)this.addExportBinding(t,e);return}if(t++,!this.tokens.matches1AtIndex(t,dt.string))throw new Error("Expected string token at the end of import statement.");const r=this.tokens.stringValueAtIndex(t);this.getImportInfo(r).namedExports.push(...n)}preprocessExportStarAtIndex(t){let e=null;if(this.tokens.matches3AtIndex(t,dt._export,dt.star,dt._as)?(t+=3,e=this.tokens.identifierNameAtIndex(t),t+=2):t+=3,!this.tokens.matches1AtIndex(t,dt.string))throw new Error("Expected string token at the end of star export statement.");const n=this.tokens.stringValueAtIndex(t),r=this.getImportInfo(n);null!==e?r.exportStarNames.push(e):r.hasStarExport=!0}getNamedImports(t){const e=[];for(;;){if(this.tokens.matches1AtIndex(t,dt.braceR)){t++;break}const n=Oe(this.tokens,t);if(t=n.endIndex,n.isType||e.push({importedName:n.leftName,localName:n.rightName}),this.tokens.matches2AtIndex(t,dt.comma,dt.braceR)){t+=2;break}if(this.tokens.matches1AtIndex(t,dt.braceR)){t++;break}if(!this.tokens.matches1AtIndex(t,dt.comma))throw new Error(`Unexpected token: ${JSON.stringify(this.tokens.tokens[t])}`);t++}return{newIndex:t,namedImports:e}}getImportInfo(t){const e=this.importInfoByPath.get(t);if(e)return e;const n={defaultNames:[],wildcardNames:[],namedImports:[],namedExports:[],hasBareImport:!1,exportStarNames:[],hasStarExport:!1};return this.importInfoByPath.set(t,n),n}addExportBinding(t,e){this.exportBindingsByLocalName.has(t)||this.exportBindingsByLocalName.set(t,[]),this.exportBindingsByLocalName.get(t).push(e)}claimImportCode(t){const e=this.importsToReplace.get(t);return this.importsToReplace.set(t,""),e||""}getIdentifierReplacement(t){return this.identifierReplacements.get(t)||null}resolveExportBinding(t){const e=this.exportBindingsByLocalName.get(t);return e&&0!==e.length?e.map((t=>`exports.${t}`)).join(" = "):null}getGlobalNames(){return new Set([...this.identifierReplacements.keys(),...this.exportBindingsByLocalName.keys()])}}var Xe=n(9320);function Ke({code:t,mappings:e},n,r,i,o){const s=function(t,e){const n=new Array(e.length);let r=0,i=e[r].start,o=0;for(let s=0;s<t.length;s++)s===i&&(n[r]=i-o,r++,i=e[r].start),t.charCodeAt(s)===pt.lineFeed&&(o=s+1);return n}(i,o),a=new Xe.GenMapping({file:r.compiledFilename});let l=0,c=e[0];for(;void 0===c&&l<e.length-1;)l++,c=e[l];let h=0,u=0;c!==u&&(0,Xe.maybeAddSegment)(a,h,0,n,h,0);for(let m=0;m<t.length;m++){if(m===c){const t=c-u,r=s[l];for((0,Xe.maybeAddSegment)(a,h,t,n,h,r);(c===m||void 0===c)&&l<e.length-1;)l++,c=e[l]}t.charCodeAt(m)===pt.lineFeed&&(h++,u=m+1,c!==u&&(0,Xe.maybeAddSegment)(a,h,0,n,h,0))}const{sourceRoot:d,sourcesContent:p,...f}=(0,Xe.toEncodedMap)(a);return f}const Ze={require:'\n import {createRequire as CREATE_REQUIRE_NAME} from "module";\n const require = CREATE_REQUIRE_NAME(import.meta.url);\n ',interopRequireWildcard:"\n function interopRequireWildcard(obj) {\n if (obj && obj.__esModule) {\n return obj;\n } else {\n var newObj = {};\n if (obj != null) {\n for (var key in obj) {\n if (Object.prototype.hasOwnProperty.call(obj, key)) {\n newObj[key] = obj[key];\n }\n }\n }\n newObj.default = obj;\n return newObj;\n }\n }\n ",interopRequireDefault:"\n function interopRequireDefault(obj) {\n return obj && obj.__esModule ? obj : { default: obj };\n }\n ",createNamedExportFrom:"\n function createNamedExportFrom(obj, localName, importedName) {\n Object.defineProperty(exports, localName, {enumerable: true, configurable: true, get: () => obj[importedName]});\n }\n ",createStarExport:'\n function createStarExport(obj) {\n Object.keys(obj)\n .filter((key) => key !== "default" && key !== "__esModule")\n .forEach((key) => {\n if (exports.hasOwnProperty(key)) {\n return;\n }\n Object.defineProperty(exports, key, {enumerable: true, configurable: true, get: () => obj[key]});\n });\n }\n ',nullishCoalesce:"\n function nullishCoalesce(lhs, rhsFn) {\n if (lhs != null) {\n return lhs;\n } else {\n return rhsFn();\n }\n }\n ",asyncNullishCoalesce:"\n async function asyncNullishCoalesce(lhs, rhsFn) {\n if (lhs != null) {\n return lhs;\n } else {\n return await rhsFn();\n }\n }\n ",optionalChain:"\n function optionalChain(ops) {\n let lastAccessLHS = undefined;\n let value = ops[0];\n let i = 1;\n while (i < ops.length) {\n const op = ops[i];\n const fn = ops[i + 1];\n i += 2;\n if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) {\n return undefined;\n }\n if (op === 'access' || op === 'optionalAccess') {\n lastAccessLHS = value;\n value = fn(value);\n } else if (op === 'call' || op === 'optionalCall') {\n value = fn((...args) => value.call(lastAccessLHS, ...args));\n lastAccessLHS = undefined;\n }\n }\n return value;\n }\n ",asyncOptionalChain:"\n async function asyncOptionalChain(ops) {\n let lastAccessLHS = undefined;\n let value = ops[0];\n let i = 1;\n while (i < ops.length) {\n const op = ops[i];\n const fn = ops[i + 1];\n i += 2;\n if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) {\n return undefined;\n }\n if (op === 'access' || op === 'optionalAccess') {\n lastAccessLHS = value;\n value = await fn(value);\n } else if (op === 'call' || op === 'optionalCall') {\n value = await fn((...args) => value.call(lastAccessLHS, ...args));\n lastAccessLHS = undefined;\n }\n }\n return value;\n }\n ",optionalChainDelete:"\n function optionalChainDelete(ops) {\n const result = OPTIONAL_CHAIN_NAME(ops);\n return result == null ? true : result;\n }\n ",asyncOptionalChainDelete:"\n async function asyncOptionalChainDelete(ops) {\n const result = await ASYNC_OPTIONAL_CHAIN_NAME(ops);\n return result == null ? true : result;\n }\n "};class Je{__init(){this.helperNames={}}__init2(){this.createRequireName=null}constructor(t){this.nameManager=t,Je.prototype.__init.call(this),Je.prototype.__init2.call(this)}getHelperName(t){let e=this.helperNames[t];return e||(e=this.nameManager.claimFreeName(`_${t}`),this.helperNames[t]=e,e)}emitHelpers(){let t="";this.helperNames.optionalChainDelete&&this.getHelperName("optionalChain"),this.helperNames.asyncOptionalChainDelete&&this.getHelperName("asyncOptionalChain");for(const[e,n]of Object.entries(Ze)){const r=this.helperNames[e];let i=n;"optionalChainDelete"===e?i=i.replace("OPTIONAL_CHAIN_NAME",this.helperNames.optionalChain):"asyncOptionalChainDelete"===e?i=i.replace("ASYNC_OPTIONAL_CHAIN_NAME",this.helperNames.asyncOptionalChain):"require"===e&&(null===this.createRequireName&&(this.createRequireName=this.nameManager.claimFreeName("_createRequire")),i=i.replace(/CREATE_REQUIRE_NAME/g,this.createRequireName)),r&&(t+=" ",t+=i.replace(e,r).replace(/\s+/g," ").trim())}return t}}function Qe(t,e,n){(function(t,e){for(const n of t.tokens)if(n.type===dt.name&&!n.isType&&oe(n)&&e.has(t.identifierNameForToken(n)))return!0;return!1})(t,n)&&function(t,e,n){const r=[];let i=e.length-1;for(let o=t.tokens.length-1;;o--){for(;r.length>0&&r[r.length-1].startTokenIndex===o+1;)r.pop();for(;i>=0&&e[i].endTokenIndex===o+1;)r.push(e[i]),i--;if(o<0)break;const s=t.tokens[o],a=t.identifierNameForToken(s);if(r.length>1&&!s.isType&&s.type===dt.name&&n.has(a))if(ae(s))tn(r[r.length-1],t,a);else if(le(s)){let e=r.length-1;for(;e>0&&!r[e].isFunctionScope;)e--;if(e<0)throw new Error("Did not find parent function scope.");tn(r[e],t,a)}}if(r.length>0)throw new Error("Expected empty scope stack after processing file.")}(t,e,n)}function tn(t,e,n){for(let r=t.startTokenIndex;r<t.endTokenIndex;r++){const t=e.tokens[r];t.type!==dt.name&&t.type!==dt.jsxName||e.identifierNameForToken(t)!==n||(t.shadowsGlobal=!0)}}class en{__init(){this.usedNames=new Set}constructor(t,e){en.prototype.__init.call(this),this.usedNames=new Set(function(t,e){const n=[];for(const r of e)r.type===dt.name&&n.push(t.slice(r.start,r.end));return n}(t,e))}claimFreeName(t){const e=this.findFreeName(t);return this.usedNames.add(e),e}findFreeName(t){if(!this.usedNames.has(t))return t;let e=2;for(;this.usedNames.has(t+String(e));)e++;return t+String(e)}}var nn=n(9361);const rn={Transform:nn.union(nn.lit("jsx"),nn.lit("typescript"),nn.lit("flow"),nn.lit("imports"),nn.lit("react-hot-loader"),nn.lit("jest")),SourceMapOptions:nn.iface([],{compiledFilename:"string"}),Options:nn.iface([],{transforms:nn.array("Transform"),disableESTransforms:nn.opt("boolean"),jsxRuntime:nn.opt(nn.union(nn.lit("classic"),nn.lit("automatic"),nn.lit("preserve"))),production:nn.opt("boolean"),jsxImportSource:nn.opt("string"),jsxPragma:nn.opt("string"),jsxFragmentPragma:nn.opt("string"),keepUnusedImports:nn.opt("boolean"),preserveDynamicImport:nn.opt("boolean"),injectCreateRequireForImportRequire:nn.opt("boolean"),enableLegacyTypeScriptModuleInterop:nn.opt("boolean"),enableLegacyBabel5ModuleInterop:nn.opt("boolean"),sourceMapOptions:nn.opt("SourceMapOptions"),filePath:nn.opt("string")})},{Options:on}=(0,nn.createCheckers)(rn);function sn(){ue(),_r(!1)}function an(t){ue(),un(t)}function ln(t){Zr(),hn(t)}function cn(){Zr(),Bt.tokens[Bt.tokens.length-1].identifierRole=ne.ImportDeclaration}function hn(t){let e;e=0===Bt.scopeDepth?ne.TopLevelDeclaration:t?ne.BlockScopedDeclaration:ne.FunctionScopedDeclaration,Bt.tokens[Bt.tokens.length-1].identifierRole=e}function un(t){switch(Bt.type){case dt._this:{const t=fe(0);return ue(),void me(t)}case dt._yield:case dt.name:return Bt.type=dt.name,void ln(t);case dt.bracketL:return ue(),void dn(dt.bracketR,t,!0);case dt.braceL:return void Pr(!0,t);default:Gt()}}function dn(t,e,n=!1,r=!1,i=0){let o=!0,s=!1;const a=Bt.tokens.length;for(;!ge(t)&&!Bt.error;)if(o?o=!1:(Yt(dt.comma),Bt.tokens[Bt.tokens.length-1].contextId=i,!s&&Bt.tokens[a].isType&&(Bt.tokens[Bt.tokens.length-1].isType=!0,s=!0)),n&&ke(dt.comma));else{if(ge(t))break;if(ke(dt.ellipsis)){an(e),fn(),ge(dt.comma),Yt(t);break}pn(r,e)}}function pn(t,e){t&&kn([ut._public,ut._protected,ut._private,ut._readonly,ut._override]),mn(e),fn(),mn(e,!0)}function fn(){Et?function(){const t=fe(0);ge(dt.question),ke(dt.colon)&&vi();me(t)}():Lt&&function(){const t=fe(0);ge(dt.question),zn(),me(t)}()}function mn(t,e=!1){if(e||un(t),!ge(dt.eq))return;const n=Bt.tokens.length-1;_r(),Bt.tokens[n].rhsEndIndex=Bt.tokens.length}function gn(){return ke(dt.name)}function yn(){const t=Bt.snapshot();ue();return!!((ke(dt.bracketL)||ke(dt.braceL)||ke(dt.star)||ke(dt.ellipsis)||ke(dt.hash)||ke(dt.name)||Boolean(Bt.type&dt.IS_KEYWORD)||ke(dt.string)||ke(dt.num)||ke(dt.bigint)||ke(dt.decimal))&&!Ut())||(Bt.restoreFromSnapshot(t),!1)}function kn(t){for(;;){if(null===xn(t))break}}function xn(t){if(!ke(dt.name))return null;const e=Bt.contextualKeyword;if(-1!==t.indexOf(e)&&yn()){switch(e){case ut._readonly:Bt.tokens[Bt.tokens.length-1].type=dt._readonly;break;case ut._abstract:Bt.tokens[Bt.tokens.length-1].type=dt._abstract;break;case ut._static:Bt.tokens[Bt.tokens.length-1].type=dt._static;break;case ut._public:Bt.tokens[Bt.tokens.length-1].type=dt._public;break;case ut._private:Bt.tokens[Bt.tokens.length-1].type=dt._private;break;case ut._protected:Bt.tokens[Bt.tokens.length-1].type=dt._protected;break;case ut._override:Bt.tokens[Bt.tokens.length-1].type=dt._override;break;case ut._declare:Bt.tokens[Bt.tokens.length-1].type=dt._declare}return e}return null}function _n(){for(Zr();ge(dt.dot);)Zr()}function bn(){Yt(dt._import),Yt(dt.parenL),Yt(dt.string),Yt(dt.parenR),ge(dt.dot)&&_n(),ke(dt.lessThan)&&sr()}function Cn(){ge(dt._const);const t=ge(dt._in),e=$t(ut._out);ge(dt._const),!t&&!e||ke(dt.name)?Zr():Bt.tokens[Bt.tokens.length-1].type=dt.name,ge(dt._extends)&&Wn(),ge(dt.eq)&&Wn()}function vn(){ke(dt.lessThan)&&Tn()}function Tn(){const t=fe(0);for(ke(dt.lessThan)||ke(dt.typeParameterStart)?ue():Gt();!ge(dt.greaterThan)&&!Bt.error;)Cn(),ge(dt.comma);me(t)}function An(t){const e=t===dt.arrow;var n;vn(),Yt(dt.parenL),Bt.scopeDepth++,n=!1,dn(dt.parenR,n),Bt.scopeDepth--,(e||ke(t))&&Pn(t)}function wn(){ge(dt.comma)||Vt()}function Sn(){An(dt.colon),wn()}function In(){if(!ke(dt.bracketL)||!function(){const t=Bt.snapshot();ue();const e=ge(dt.name)&&ke(dt.colon);return Bt.restoreFromSnapshot(t),e}())return!1;const t=fe(0);return Yt(dt.bracketL),Zr(),Un(),Yt(dt.bracketR),zn(),wn(),me(t),!0}function Ln(t){ge(dt.question),t||!ke(dt.parenL)&&!ke(dt.lessThan)?(zn(),wn()):(An(dt.colon),wn())}function En(){if(ke(dt.parenL)||ke(dt.lessThan))return void Sn();if(ke(dt._new))return ue(),void(ke(dt.parenL)||ke(dt.lessThan)?Sn():Ln(!1));const t=!!xn([ut._readonly]);In()||((Dt(ut._get)||Dt(ut._set))&&yn(),Wr(-1),Ln(t))}function Bn(){for(Yt(dt.braceL);!ge(dt.braceR)&&!Bt.error;)En()}function Fn(){const t=Bt.snapshot(),e=function(){if(ue(),ge(dt.plus)||ge(dt.minus))return Dt(ut._readonly);Dt(ut._readonly)&&ue();if(!ke(dt.bracketL))return!1;if(ue(),!gn())return!1;return ue(),ke(dt._in)}();return Bt.restoreFromSnapshot(t),e}function Nn(){Yt(dt.braceL),ke(dt.plus)||ke(dt.minus)?(ue(),Pt(ut._readonly)):$t(ut._readonly),Yt(dt.bracketL),Zr(),Yt(dt._in),Wn(),$t(ut._as)&&Wn(),Yt(dt.bracketR),ke(dt.plus)||ke(dt.minus)?(ue(),Yt(dt.question)):ge(dt.question),ge(dt.colon)&&Wn(),Vt(),Yt(dt.braceR)}function Mn(){ge(dt.ellipsis)?Wn():(Wn(),ge(dt.question)),ge(dt.colon)&&Wn()}var jn;function On(t){t===jn.TSAbstractConstructorType&&Pt(ut._abstract),t!==jn.TSConstructorType&&t!==jn.TSAbstractConstructorType||Yt(dt._new);const e=Bt.inDisallowConditionalTypesContext;Bt.inDisallowConditionalTypesContext=!1,An(dt.arrow),Bt.inDisallowConditionalTypesContext=e}function Rn(){switch(Bt.type){case dt.name:return _n(),void(!Ut()&&ke(dt.lessThan)&&sr());case dt._void:case dt._null:return void ue();case dt.string:case dt.num:case dt.bigint:case dt.decimal:case dt._true:case dt._false:return void jr();case dt.minus:return ue(),void jr();case dt._this:return ue(),void(Dt(ut._is)&&!Ut()&&(ue(),Un()));case dt._typeof:return Yt(dt._typeof),ke(dt._import)?bn():_n(),void(!Ut()&&ke(dt.lessThan)&&sr());case dt._import:return void bn();case dt.braceL:return void(Fn()?Nn():Bn());case dt.bracketL:return void function(){for(Yt(dt.bracketL);!ge(dt.bracketR)&&!Bt.error;)Mn(),ge(dt.comma)}();case dt.parenL:return Yt(dt.parenL),Wn(),void Yt(dt.parenR);case dt.backQuote:return void function(){for(de(),de();!ke(dt.backQuote)&&!Bt.error;)Yt(dt.dollarBraceL),Wn(),de(),de();ue()}();default:if(Bt.type&dt.IS_KEYWORD)return ue(),void(Bt.tokens[Bt.tokens.length-1].type=dt.name)}Gt()}function Dn(){if(Dt(ut._keyof)||Dt(ut._unique)||Dt(ut._readonly))ue(),Dn();else if(Dt(ut._infer))!function(){if(Pt(ut._infer),Zr(),ke(dt._extends)){const t=Bt.snapshot();Yt(dt._extends);const e=Bt.inDisallowConditionalTypesContext;Bt.inDisallowConditionalTypesContext=!0,Wn(),Bt.inDisallowConditionalTypesContext=e,(Bt.error||!Bt.inDisallowConditionalTypesContext&&ke(dt.question))&&Bt.restoreFromSnapshot(t)}}();else{const t=Bt.inDisallowConditionalTypesContext;Bt.inDisallowConditionalTypesContext=!1,function(){for(Rn();!Ut()&&ge(dt.bracketL);)ge(dt.bracketR)||(Wn(),Yt(dt.bracketR))}(),Bt.inDisallowConditionalTypesContext=t}}function qn(){if(ge(dt.bitwiseAND),Dn(),ke(dt.bitwiseAND))for(;ge(dt.bitwiseAND);)Dn()}function $n(){return!!ke(dt.lessThan)||ke(dt.parenL)&&function(){const t=Bt.snapshot(),e=function(){if(ue(),ke(dt.parenR)||ke(dt.ellipsis))return!0;if(function(){if(ke(dt.name)||ke(dt._this))return ue(),!0;if(ke(dt.braceL)||ke(dt.bracketL)){let t=1;for(ue();t>0&&!Bt.error;)ke(dt.braceL)||ke(dt.bracketL)?t++:(ke(dt.braceR)||ke(dt.bracketR))&&t--,ue();return!0}return!1}()){if(ke(dt.colon)||ke(dt.comma)||ke(dt.question)||ke(dt.eq))return!0;if(ke(dt.parenR)&&(ue(),ke(dt.arrow)))return!0}return!1}();return Bt.restoreFromSnapshot(t),e}()}function Pn(t){const e=fe(0);Yt(t);(function(){const t=Bt.snapshot();if(Dt(ut._asserts))return ue(),$t(ut._is)?(Wn(),!0):gn()||ke(dt._this)?(ue(),$t(ut._is)&&Wn(),!0):(Bt.restoreFromSnapshot(t),!1);if(gn()||ke(dt._this))return ue(),Dt(ut._is)&&!Ut()?(ue(),Wn(),!0):(Bt.restoreFromSnapshot(t),!1);return!1})()||Wn(),me(e)}function zn(){ke(dt.colon)&&Un()}function Un(){const t=fe(0);Yt(dt.colon),Wn(),me(t)}function Wn(){if(Hn(),Bt.inDisallowConditionalTypesContext||Ut()||!ge(dt._extends))return;const t=Bt.inDisallowConditionalTypesContext;Bt.inDisallowConditionalTypesContext=!0,Hn(),Bt.inDisallowConditionalTypesContext=t,Yt(dt.question),Wn(),Yt(dt.colon),Wn()}function Hn(){$n()?On(jn.TSFunctionType):ke(dt._new)?On(jn.TSConstructorType):Dt(ut._abstract)&&xe()===dt._new?On(jn.TSAbstractConstructorType):function(){if(ge(dt.bitwiseOR),qn(),ke(dt.bitwiseOR))for(;ge(dt.bitwiseOR);)qn()}()}function Vn(){for(;!ke(dt.braceL)&&!Bt.error;)Yn(),ge(dt.comma)}function Yn(){_n(),ke(dt.lessThan)&&sr()}function Gn(){if(ke(dt.string)?jr():Zr(),ge(dt.eq)){const t=Bt.tokens.length-1;_r(),Bt.tokens[t].rhsEndIndex=Bt.tokens.length}}function Xn(){for(ln(!1),Yt(dt.braceL);!ge(dt.braceR)&&!Bt.error;)Gn(),ge(dt.comma)}function Kn(){Yt(dt.braceL),Oi(dt.braceR)}function Zn(){ln(!1),ge(dt.dot)?Zn():Kn()}function Jn(){Dt(ut._global)?Zr():ke(dt.string)?Nr():Gt(),ke(dt.braceL)?Kn():Vt()}function Qn(){cn(),Yt(dt.eq),Dt(ut._require)&&xe()===dt.parenL?(Pt(ut._require),Yt(dt.parenL),ke(dt.string)||Gt(),jr(),Yt(dt.parenR)):_n(),Vt()}function tr(){return nr(Bt.contextualKeyword,!0)}function er(t){switch(t){case ut._declare:{const t=Bt.tokens.length-1,e=function(){if(Ht())return!1;switch(Bt.type){case dt._function:{const t=fe(1);return ue(),Pi(Bt.start,!0),me(t),!0}case dt._class:{const t=fe(1);return Ui(!0,!1),me(t),!0}case dt._const:if(ke(dt._const)&&qt(ut._enum)){const t=fe(1);return Yt(dt._const),Pt(ut._enum),Bt.tokens[Bt.tokens.length-1].type=dt._enum,Xn(),me(t),!0}case dt._var:case dt._let:{const t=fe(1);return Mi(Bt.type!==dt._var),me(t),!0}case dt.name:{const t=fe(1),e=Bt.contextualKeyword;let n=!1;return e===ut._global?(Jn(),n=!0):n=nr(e,!0),me(t),n}default:return!1}}();if(e)return Bt.tokens[t].type=dt._declare,!0;break}case ut._global:if(ke(dt.braceL))return Kn(),!0;break;default:return nr(t,!1)}return!1}function nr(t,e){switch(t){case ut._abstract:if(rr(e)&&ke(dt._class))return Bt.tokens[Bt.tokens.length-1].type=dt._abstract,Ui(!0,!1),!0;break;case ut._enum:if(rr(e)&&ke(dt.name))return Bt.tokens[Bt.tokens.length-1].type=dt._enum,Xn(),!0;break;case ut._interface:if(rr(e)&&ke(dt.name)){const t=fe(e?2:1);return ln(!1),vn(),ge(dt._extends)&&Vn(),Bn(),me(t),!0}break;case ut._module:if(rr(e)){if(ke(dt.string)){const t=fe(e?2:1);return Jn(),me(t),!0}if(ke(dt.name)){const t=fe(e?2:1);return Zn(),me(t),!0}}break;case ut._namespace:if(rr(e)&&ke(dt.name)){const t=fe(e?2:1);return Zn(),me(t),!0}break;case ut._type:if(rr(e)&&ke(dt.name)){const t=fe(e?2:1);return ln(!1),vn(),Yt(dt.eq),Wn(),Vt(),me(t),!0}}return!1}function rr(t){return t?(ue(),!0):!Ht()}function ir(){const t=Bt.snapshot();return Tn(),zi(),ke(dt.colon)&&Pn(dt.colon),Yt(dt.arrow),Bt.error?(Bt.restoreFromSnapshot(t),!1):(Gr(!0),!0)}function or(){Bt.type===dt.bitShiftL&&(Bt.pos-=1,Le(dt.lessThan)),sr()}function sr(){const t=fe(0);for(Yt(dt.lessThan);!ke(dt.greaterThan)&&!Bt.error;)Wn(),ge(dt.comma);t?(Yt(dt.greaterThan),me(t)):(me(t),Be(),Yt(dt.greaterThan),Bt.tokens[Bt.tokens.length-1].isType=!0)}function ar(){if(ke(dt.name))switch(Bt.contextualKeyword){case ut._abstract:case ut._declare:case ut._enum:case ut._interface:case ut._module:case ut._namespace:case ut._type:return!0}return!1}function lr(t,e){return It?function(t,e){if(!ke(dt.lessThan))return br(t,e);const n=Bt.snapshot();let r=br(t,e);if(!Bt.error)return r;Bt.restoreFromSnapshot(n);Bt.type=dt.typeParameterStart,Tn(),r=br(t,e),r||Gt();return r}(t,e):function(t,e){if(!ke(dt.lessThan))return br(t,e);const n=Bt.snapshot();Tn();const r=br(t,e);r||Gt();if(!Bt.error)return r;Bt.restoreFromSnapshot(n);return br(t,e)}(t,e)}function cr(){gr()}function hr(t){cr(),ge(dt.colon)?cr():Bt.tokens[Bt.tokens.length-1].identifierRole=t}function ur(){const t=Bt.tokens.length;hr(ne.Access);let e=!1;for(;ke(dt.dot);)e=!0,gr(),cr();if(!e){const e=Bt.tokens[t],n=Ft.charCodeAt(e.start);n>=pt.lowercaseA&&n<=pt.lowercaseZ&&(e.identifierRole=null)}}function dr(){switch(Bt.type){case dt.braceL:return ue(),xr(),void gr();case dt.jsxTagStart:return mr(),void gr();case dt.string:return void gr();default:Gt("JSX value should be either an expression or a quoted JSX text")}}function pr(t){if(ke(dt.jsxTagEnd))return!1;ur(),Lt&&function(){if(ge(dt.jsxTagStart)){Bt.tokens[Bt.tokens.length-1].type=dt.typeParameterStart;const t=fe(1);for(;!ke(dt.greaterThan)&&!Bt.error;)Wn(),ge(dt.comma);gr(),me(t)}}();let e=!1;for(;!ke(dt.slash)&&!ke(dt.jsxTagEnd)&&!Bt.error;)ge(dt.braceL)?(e=!0,Yt(dt.ellipsis),_r(),gr()):(e&&Bt.end-Bt.start==3&&Ft.charCodeAt(Bt.start)===pt.lowercaseK&&Ft.charCodeAt(Bt.start+1)===pt.lowercaseE&&Ft.charCodeAt(Bt.start+2)===pt.lowercaseY&&(Bt.tokens[t].jsxRole=re.KeyAfterPropSpread),hr(ne.ObjectKey),ke(dt.eq)&&(gr(),dr()));const n=ke(dt.slash);return n&&gr(),n}function fr(){const t=Bt.tokens.length-1;Bt.tokens[t].jsxRole=re.NoChildren;let e=0;if(!pr(t))for(yr();;)switch(Bt.type){case dt.jsxTagStart:if(gr(),ke(dt.slash))return gr(),ke(dt.jsxTagEnd)||ur(),void(Bt.tokens[t].jsxRole!==re.KeyAfterPropSpread&&(1===e?Bt.tokens[t].jsxRole=re.OneChild:e>1&&(Bt.tokens[t].jsxRole=re.StaticChildren)));e++,fr(),yr();break;case dt.jsxText:e++,yr();break;case dt.jsxEmptyText:yr();break;case dt.braceL:ue(),ke(dt.ellipsis)?(Yt(dt.ellipsis),xr(),yr(),e+=2):(ke(dt.braceR)||(e++,xr()),yr());break;default:return void Gt()}}function mr(){gr(),fr()}function gr(){Bt.tokens.push(new he),Ie(),Bt.start=Bt.pos;const t=Ft.charCodeAt(Bt.pos);if(te[t])!function(){let t;do{if(Bt.pos>Ft.length)return void Gt("Unexpectedly reached the end of input.");t=Ft.charCodeAt(++Bt.pos)}while(Qt[t]||t===pt.dash);Le(dt.jsxName)}();else if(t===pt.quotationMark||t===pt.apostrophe)!function(t){for(Bt.pos++;;){if(Bt.pos>=Ft.length)return void Gt("Unterminated string constant");if(Ft.charCodeAt(Bt.pos)===t){Bt.pos++;break}Bt.pos++}Le(dt.string)}(t);else switch(++Bt.pos,t){case pt.greaterThan:Le(dt.jsxTagEnd);break;case pt.lessThan:Le(dt.jsxTagStart);break;case pt.slash:Le(dt.slash);break;case pt.equalsTo:Le(dt.eq);break;case pt.leftCurlyBrace:Le(dt.braceL);break;case pt.dot:Le(dt.dot);break;case pt.colon:Le(dt.colon);break;default:Gt()}}function yr(){Bt.tokens.push(new he),Bt.start=Bt.pos,function(){let t=!1,e=!1;for(;;){if(Bt.pos>=Ft.length)return void Gt("Unterminated JSX contents");const n=Ft.charCodeAt(Bt.pos);if(n===pt.lessThan||n===pt.leftCurlyBrace)return Bt.pos===Bt.start?n===pt.lessThan?(Bt.pos++,void Le(dt.jsxTagStart)):void Fe(n):void Le(t&&!e?dt.jsxEmptyText:dt.jsxText);n===pt.lineFeed?t=!0:n!==pt.space&&n!==pt.carriageReturn&&n!==pt.tab&&(e=!0),Bt.pos++}}()}!function(t){t[t.TSFunctionType=0]="TSFunctionType";t[t.TSConstructorType=1]="TSConstructorType";t[t.TSAbstractConstructorType=2]="TSAbstractConstructorType"}(jn||(jn={}));class kr{constructor(t){this.stop=t}}function xr(t=!1){if(_r(t),ke(dt.comma))for(;ge(dt.comma);)_r(t)}function _r(t=!1,e=!1){return Lt?lr(t,e):Et?function(t,e){if(ke(dt.lessThan)){const n=Bt.snapshot();let r=br(t,e);if(!Bt.error)return r;Bt.restoreFromSnapshot(n),Bt.type=dt.typeParameterStart;const i=fe(0);if(li(),me(i),r=br(t,e),r)return!0;Gt()}return br(t,e)}(t,e):br(t,e)}function br(t,e){if(ke(dt._yield))return ue(),ke(dt.semi)||zt()||(ge(dt.star),_r()),!1;(ke(dt.parenL)||ke(dt.name)||ke(dt._yield))&&(Bt.potentialArrowAt=Bt.start);const n=function(t){const e=function(t){const e=Bt.tokens.length,n=Tr();if(n)return!0;return vr(e,-1,t),!1}(t);if(e)return!0;return function(t){Lt||Et?function(t){if(ke(dt.question)){const t=xe();if(t===dt.colon||t===dt.comma||t===dt.parenR)return}Cr(t)}(t):Cr(t)}(t),!1}(t);return e&&qr(),Bt.type&dt.IS_ASSIGN?(ue(),_r(t),!1):n}function Cr(t){ge(dt.question)&&(_r(),Yt(dt.colon),_r(t))}function vr(t,e,n){if(Lt&&(dt._in&dt.PRECEDENCE_MASK)>e&&!Ut()&&($t(ut._as)||$t(ut._satisfies))){const r=fe(1);return Wn(),me(r),Be(),void vr(t,e,n)}const r=Bt.type&dt.PRECEDENCE_MASK;if(r>0&&(!n||!ke(dt._in))&&r>e){const i=Bt.type;ue(),i===dt.nullishCoalescing&&(Bt.tokens[Bt.tokens.length-1].nullishStartIndex=t);const o=Bt.tokens.length;Tr(),vr(o,i&dt.IS_RIGHT_ASSOCIATIVE?r-1:r,n),i===dt.nullishCoalescing&&(Bt.tokens[t].numNullishCoalesceStarts++,Bt.tokens[Bt.tokens.length-1].numNullishCoalesceEnds++),vr(t,e,n)}}function Tr(){if(Lt&&!It&&ge(dt.lessThan))return function(){const t=fe(1);Wn(),Yt(dt.greaterThan),me(t),Tr()}(),!1;if(Dt(ut._module)&&Te()===pt.leftCurlyBrace&&!Wt())return Pt(ut._module),Yt(dt.braceL),Oi(dt.braceR),!1;if(Bt.type&dt.IS_PREFIX)return ue(),Tr(),!1;if(Ar())return!0;for(;Bt.type&dt.IS_POSTFIX&&!zt();)Bt.type===dt.preIncDec&&(Bt.type=dt.postIncDec),ue();return!1}function Ar(){const t=Bt.tokens.length;return!!Nr()||(wr(t),Bt.tokens.length>t&&Bt.tokens[t].isOptionalChainStart&&(Bt.tokens[Bt.tokens.length-1].isOptionalChainEnd=!0),!1)}function wr(t,e=!1){Et?function(t,e=!1){if(Bt.tokens[Bt.tokens.length-1].contextualKeyword===ut._async&&ke(dt.lessThan)){const t=Bt.snapshot(),e=function(){Bt.scopeDepth++;const t=Bt.tokens.length;if(zi(),!Dr())return!1;return Vr(t),!0}();if(e&&!Bt.error)return;Bt.restoreFromSnapshot(t)}Sr(t,e)}(t,e):Sr(t,e)}function Sr(t,e=!1){const n=new kr(!1);do{Ir(t,e,n)}while(!n.stop&&!Bt.error)}function Ir(t,e,n){Lt?function(t,e,n){if(Ut()||!ge(dt.bang)){if(ke(dt.lessThan)||ke(dt.bitShiftL)){const n=Bt.snapshot();if(!e&&Er()&&ir())return;if(or(),!e&&ge(dt.parenL)?(Bt.tokens[Bt.tokens.length-1].subscriptStartIndex=t,Br()):ke(dt.backQuote)?$r():(Bt.type===dt.greaterThan||Bt.type!==dt.parenL&&Boolean(Bt.type&dt.IS_EXPRESSION_START)&&!Ut())&&Gt(),!Bt.error)return;Bt.restoreFromSnapshot(n)}else!e&&ke(dt.questionDot)&&xe()===dt.lessThan&&(ue(),Bt.tokens[t].isOptionalChainStart=!0,Bt.tokens[Bt.tokens.length-1].subscriptStartIndex=t,sr(),Yt(dt.parenL),Br());Lr(t,e,n)}else Bt.tokens[Bt.tokens.length-1].type=dt.nonNullAssertion}(t,e,n):Et?function(t,e,n){if(ke(dt.questionDot)&&xe()===dt.lessThan)return e?void(n.stop=!0):(ue(),ci(),Yt(dt.parenL),void Br());if(!e&&ke(dt.lessThan)){const t=Bt.snapshot();if(ci(),Yt(dt.parenL),Br(),!Bt.error)return;Bt.restoreFromSnapshot(t)}Lr(t,e,n)}(t,e,n):Lr(t,e,n)}function Lr(t,e,n){if(!e&&ge(dt.doubleColon))Fr(),n.stop=!0,wr(t,e);else if(ke(dt.questionDot)){if(Bt.tokens[t].isOptionalChainStart=!0,e&&xe()===dt.parenL)return void(n.stop=!0);ue(),Bt.tokens[Bt.tokens.length-1].subscriptStartIndex=t,ge(dt.bracketL)?(xr(),Yt(dt.bracketR)):ge(dt.parenL)?Br():Mr()}else if(ge(dt.dot))Bt.tokens[Bt.tokens.length-1].subscriptStartIndex=t,Mr();else if(ge(dt.bracketL))Bt.tokens[Bt.tokens.length-1].subscriptStartIndex=t,xr(),Yt(dt.bracketR);else if(!e&&ke(dt.parenL))if(Er()){const e=Bt.snapshot(),r=Bt.tokens.length;ue(),Bt.tokens[Bt.tokens.length-1].subscriptStartIndex=t;const i=Mt();Bt.tokens[Bt.tokens.length-1].contextId=i,Br(),Bt.tokens[Bt.tokens.length-1].contextId=i,(ke(dt.colon)||ke(dt.arrow))&&(Bt.restoreFromSnapshot(e),n.stop=!0,Bt.scopeDepth++,zi(),function(t){Lt?ke(dt.colon)&&Un():Et&&function(){if(ke(dt.colon)){const t=Bt.noAnonFunctionType;Bt.noAnonFunctionType=!0,vi(),Bt.noAnonFunctionType=t}}();Yt(dt.arrow),Vr(t)}(r))}else{ue(),Bt.tokens[Bt.tokens.length-1].subscriptStartIndex=t;const e=Mt();Bt.tokens[Bt.tokens.length-1].contextId=e,Br(),Bt.tokens[Bt.tokens.length-1].contextId=e}else ke(dt.backQuote)?$r():n.stop=!0}function Er(){return Bt.tokens[Bt.tokens.length-1].contextualKeyword===ut._async&&!zt()}function Br(){let t=!0;for(;!ge(dt.parenR)&&!Bt.error;){if(t)t=!1;else if(Yt(dt.comma),ge(dt.parenR))break;Kr(!1)}}function Fr(){const t=Bt.tokens.length;Nr(),wr(t,!0)}function Nr(){if(ge(dt.modulo))return Zr(),!1;if(ke(dt.jsxText)||ke(dt.jsxEmptyText))return jr(),!1;if(ke(dt.lessThan)&&It)return Bt.type=dt.jsxTagStart,mr(),ue(),!1;const t=Bt.potentialArrowAt===Bt.start;switch(Bt.type){case dt.slash:case dt.assign:pe();case dt._super:case dt._this:case dt.regexp:case dt.num:case dt.bigint:case dt.decimal:case dt.string:case dt._null:case dt._true:case dt._false:return ue(),!1;case dt._import:return ue(),ke(dt.dot)&&(Bt.tokens[Bt.tokens.length-1].type=dt.name,ue(),Zr()),!1;case dt.name:{const e=Bt.tokens.length,n=Bt.start,r=Bt.contextualKeyword;return Zr(),r===ut._await?(Tr(),!1):r===ut._async&&ke(dt._function)&&!zt()?(ue(),Pi(n,!1),!1):t&&r===ut._async&&!zt()&&ke(dt.name)?(Bt.scopeDepth++,ln(!1),Yt(dt.arrow),Vr(e),!0):ke(dt._do)&&!zt()?(ue(),ji(),!1):t&&!zt()&&ke(dt.arrow)?(Bt.scopeDepth++,hn(!1),Yt(dt.arrow),Vr(e),!0):(Bt.tokens[Bt.tokens.length-1].identifierRole=ne.Access,!1)}case dt._do:return ue(),ji(),!1;case dt.parenL:return Rr(t);case dt.bracketL:return ue(),Xr(dt.bracketR,!0),!1;case dt.braceL:return Pr(!1,!1),!1;case dt._function:return function(){const t=Bt.start;Zr(),ge(dt.dot)&&Zr();Pi(t,!1)}(),!1;case dt.at:Bi();case dt._class:return Ui(!1),!1;case dt._new:return function(){if(Yt(dt._new),ge(dt.dot))return void Zr();Fr(),void ge(dt.questionDot),Et&&function(){if(ke(dt.lessThan)){const t=Bt.snapshot();ci(),Bt.error&&Bt.restoreFromSnapshot(t)}}();ge(dt.parenL)&&Xr(dt.parenR)}(),!1;case dt.backQuote:return $r(),!1;case dt.doubleColon:return ue(),Fr(),!1;case dt.hash:{const t=Te();return te[t]||t===pt.backslash?Mr():ue(),!1}default:return Gt(),!1}}function Mr(){ge(dt.hash),Zr()}function jr(){ue()}function Or(){Yt(dt.parenL),xr(),Yt(dt.parenR)}function Rr(t){const e=Bt.snapshot(),n=Bt.tokens.length;Yt(dt.parenL);let r=!0;for(;!ke(dt.parenR)&&!Bt.error;){if(r)r=!1;else if(Yt(dt.comma),ke(dt.parenR))break;if(ke(dt.ellipsis)){an(!1),qr();break}_r(!1,!0)}if(Yt(dt.parenR),t&&(ke(dt.colon)||!zt())){if(Dr())return Bt.restoreFromSnapshot(e),Bt.scopeDepth++,zi(),Dr(),Vr(n),!Bt.error||(Bt.restoreFromSnapshot(e),Rr(!1),!1)}return!1}function Dr(){return Lt?function(){if(ke(dt.colon)){const t=Bt.snapshot();Pn(dt.colon),zt()&&Gt(),ke(dt.arrow)||Gt(),Bt.error&&Bt.restoreFromSnapshot(t)}return ge(dt.arrow)}():Et?function(){if(ke(dt.colon)){const t=fe(0),e=Bt.snapshot(),n=Bt.noAnonFunctionType;Bt.noAnonFunctionType=!0,ti(),Bt.noAnonFunctionType=n,zt()&&Gt(),ke(dt.arrow)||Gt(),Bt.error&&Bt.restoreFromSnapshot(e),me(t)}return ge(dt.arrow)}():ge(dt.arrow)}function qr(){(Lt||Et)&&(ye(dt.question),ke(dt.colon)&&(Lt?Un():Et&&vi()))}function $r(){for(de(),de();!ke(dt.backQuote)&&!Bt.error;)Yt(dt.dollarBraceL),xr(),de(),de();ue()}function Pr(t,e){const n=Mt();let r=!0;for(ue(),Bt.tokens[Bt.tokens.length-1].contextId=n;!ge(dt.braceR)&&!Bt.error;){if(r)r=!1;else if(Yt(dt.comma),ge(dt.braceR))break;let i=!1;if(ke(dt.ellipsis)){const n=Bt.tokens.length;if(sn(),t&&(Bt.tokens.length===n+2&&hn(e),ge(dt.braceR)))break}else t||(i=ge(dt.star)),!t&&Dt(ut._async)?(i&&Gt(),Zr(),ke(dt.colon)||ke(dt.parenL)||ke(dt.braceR)||ke(dt.eq)||ke(dt.comma)||(ke(dt.star)&&(ue(),i=!0),Wr(n))):Wr(n),Ur(t,e,n)}Bt.tokens[Bt.tokens.length-1].contextId=n}function zr(t,e){const n=Bt.start;return ke(dt.parenL)?(t&&Gt(),Hr(n,!1),!0):!!function(t){return!t&&(ke(dt.string)||ke(dt.num)||ke(dt.bracketL)||ke(dt.name)||!!(Bt.type&dt.IS_KEYWORD))}(t)&&(Wr(e),Hr(n,!1),!0)}function Ur(t,e,n){Lt?vn():Et&&ke(dt.lessThan)&&(li(),ke(dt.parenL)||Gt());zr(t,n)||function(t,e){if(ge(dt.colon))return void(t?mn(e):_r(!1));let n;n=t?0===Bt.scopeDepth?ne.ObjectShorthandTopLevelDeclaration:e?ne.ObjectShorthandBlockScopedDeclaration:ne.ObjectShorthandFunctionScopedDeclaration:ne.ObjectShorthand,Bt.tokens[Bt.tokens.length-1].identifierRole=n,mn(e,!0)}(t,e)}function Wr(t){Et&&Ai(),ge(dt.bracketL)?(Bt.tokens[Bt.tokens.length-1].contextId=t,_r(),Yt(dt.bracketR),Bt.tokens[Bt.tokens.length-1].contextId=t):(ke(dt.num)||ke(dt.string)||ke(dt.bigint)||ke(dt.decimal)?Nr():Mr(),Bt.tokens[Bt.tokens.length-1].identifierRole=ne.ObjectKey,Bt.tokens[Bt.tokens.length-1].contextId=t)}function Hr(t,e){const n=Mt();Bt.scopeDepth++;const r=Bt.tokens.length;zi(e,n),Yr(t,n);const i=Bt.tokens.length;Bt.scopes.push(new At(r,i,!0)),Bt.scopeDepth--}function Vr(t){Gr(!0);const e=Bt.tokens.length;Bt.scopes.push(new At(t,e,!0)),Bt.scopeDepth--}function Yr(t,e=0){Lt?function(t,e){if(ke(dt.colon)&&Pn(dt.colon),ke(dt.braceL)||!Ht())Gr(!1,e);else{let e=Bt.tokens.length-1;for(;e>=0&&(Bt.tokens[e].start>=t||Bt.tokens[e].type===dt._default||Bt.tokens[e].type===dt._export);)Bt.tokens[e].isType=!0,e--}}(t,e):Et?function(t){ke(dt.colon)&&ti();Gr(!1,t)}(e):Gr(!1,e)}function Gr(t,e=0){t&&!ke(dt.braceL)?_r():ji(!0,e)}function Xr(t,e=!1){let n=!0;for(;!ge(t)&&!Bt.error;){if(n)n=!1;else if(Yt(dt.comma),ge(t))break;Kr(e)}}function Kr(t){t&&ke(dt.comma)||(ke(dt.ellipsis)?(sn(),qr()):ke(dt.question)?ue():_r(!1,!0))}function Zr(){ue(),Bt.tokens[Bt.tokens.length-1].type=dt.name}function Jr(t){const e=fe(0);Yt(t||dt.colon),Ci(),me(e)}function Qr(){Yt(dt.modulo),Pt(ut._checks),ge(dt.parenL)&&(xr(),Yt(dt.parenR))}function ti(){const t=fe(0);Yt(dt.colon),ke(dt.modulo)?Qr():(Ci(),ke(dt.modulo)&&Qr()),me(t)}function ei(){ke(dt._class)?(ue(),ni(!0)):ke(dt._function)?(ue(),Zr(),ke(dt.lessThan)&&li(),Yt(dt.parenL),yi(),Yt(dt.parenR),ti(),Vt()):ke(dt._var)?(ue(),Ti(),Vt()):$t(ut._module)?ge(dt.dot)?(Pt(ut._exports),vi(),Vt()):function(){ke(dt.string)?Nr():Zr();Yt(dt.braceL);for(;!ke(dt.braceR)&&!Bt.error;)ke(dt._import)?(ue(),io()):Gt();Yt(dt.braceR)}():Dt(ut._type)?(ue(),si()):Dt(ut._opaque)?(ue(),ai(!0)):Dt(ut._interface)?(ue(),ni()):ke(dt._export)?(Yt(dt._export),ge(dt._default)?ke(dt._function)||ke(dt._class)?ei():(Ci(),Vt()):ke(dt._var)||ke(dt._function)||ke(dt._class)||Dt(ut._opaque)?ei():ke(dt.star)||ke(dt.braceL)||Dt(ut._interface)||Dt(ut._type)||Dt(ut._opaque)?Zi():Gt()):Gt()}function ni(t=!1){if(oi(),ke(dt.lessThan)&&li(),ge(dt._extends))do{ri()}while(!t&&ge(dt.comma));if(Dt(ut._mixins)){ue();do{ri()}while(ge(dt.comma))}if(Dt(ut._implements)){ue();do{ri()}while(ge(dt.comma))}di(t,!1,t)}function ri(){mi(!1),ke(dt.lessThan)&&ci()}function ii(){ni()}function oi(){Zr()}function si(){oi(),ke(dt.lessThan)&&li(),Jr(dt.eq),Vt()}function ai(t){Pt(ut._type),oi(),ke(dt.lessThan)&&li(),ke(dt.colon)&&Jr(dt.colon),t||Jr(dt.eq),Vt()}function li(){const t=fe(0);ke(dt.lessThan)||ke(dt.typeParameterStart)?ue():Gt();do{Ai(),Ti(),ge(dt.eq)&&Ci(),ke(dt.greaterThan)||Yt(dt.comma)}while(!ke(dt.greaterThan)&&!Bt.error);Yt(dt.greaterThan),me(t)}function ci(){const t=fe(0);for(Yt(dt.lessThan);!ke(dt.greaterThan)&&!Bt.error;)Ci(),ke(dt.greaterThan)||Yt(dt.comma);Yt(dt.greaterThan),me(t)}function hi(){ke(dt.num)||ke(dt.string)?Nr():Zr()}function ui(){for(ke(dt.lessThan)&&li(),Yt(dt.parenL);!ke(dt.parenR)&&!ke(dt.ellipsis)&&!Bt.error;)gi(),ke(dt.parenR)||Yt(dt.comma);ge(dt.ellipsis)&&gi(),Yt(dt.parenR),Jr()}function di(t,e,n){let r;for(e&&ke(dt.braceBarL)?(Yt(dt.braceBarL),r=dt.braceBarR):(Yt(dt.braceL),r=dt.braceR);!ke(r)&&!Bt.error;){if(n&&Dt(ut._proto)){const e=xe();e!==dt.colon&&e!==dt.question&&(ue(),t=!1)}if(t&&Dt(ut._static)){const t=xe();t!==dt.colon&&t!==dt.question&&ue()}if(Ai(),ge(dt.bracketL))ge(dt.bracketL)?(hi(),Yt(dt.bracketR),Yt(dt.bracketR),ke(dt.lessThan)||ke(dt.parenL)?ui():(ge(dt.question),Jr())):(xe()===dt.colon?(hi(),Jr()):Ci(),Yt(dt.bracketR),Jr());else if(ke(dt.parenL)||ke(dt.lessThan))ui();else{if(Dt(ut._get)||Dt(ut._set)){const t=xe();t!==dt.name&&t!==dt.string&&t!==dt.num||ue()}pi()}fi()}Yt(r)}function pi(){if(ke(dt.ellipsis)){if(Yt(dt.ellipsis),ge(dt.comma)||ge(dt.semi),ke(dt.braceR))return;Ci()}else hi(),ke(dt.lessThan)||ke(dt.parenL)?ui():(ge(dt.question),Jr())}function fi(){ge(dt.semi)||ge(dt.comma)||ke(dt.braceR)||ke(dt.braceBarR)||Gt()}function mi(t){for(t||Zr();ge(dt.dot);)Zr()}function gi(){const t=xe();t===dt.colon||t===dt.question?(Zr(),ge(dt.question),Jr()):Ci()}function yi(){for(;!ke(dt.parenR)&&!ke(dt.ellipsis)&&!Bt.error;)gi(),ke(dt.parenR)||Yt(dt.comma);ge(dt.ellipsis)&&gi()}function ki(){let t=!1;const e=Bt.noAnonFunctionType;switch(Bt.type){case dt.name:return Dt(ut._interface)?void function(){if(Pt(ut._interface),ge(dt._extends))do{ri()}while(ge(dt.comma));di(!1,!1,!1)}():(Zr(),mi(!0),void(ke(dt.lessThan)&&ci()));case dt.braceL:return void di(!1,!1,!1);case dt.braceBarL:return void di(!1,!0,!1);case dt.bracketL:return void function(){for(Yt(dt.bracketL);Bt.pos<Ft.length&&!ke(dt.bracketR)&&(Ci(),!ke(dt.bracketR));)Yt(dt.comma);Yt(dt.bracketR)}();case dt.lessThan:return li(),Yt(dt.parenL),yi(),Yt(dt.parenR),Yt(dt.arrow),void Ci();case dt.parenL:if(ue(),!ke(dt.parenR)&&!ke(dt.ellipsis))if(ke(dt.name)){const e=xe();t=e!==dt.question&&e!==dt.colon}else t=!0;if(t){if(Bt.noAnonFunctionType=!1,Ci(),Bt.noAnonFunctionType=e,Bt.noAnonFunctionType||!(ke(dt.comma)||ke(dt.parenR)&&xe()===dt.arrow))return void Yt(dt.parenR);ge(dt.comma)}return yi(),Yt(dt.parenR),Yt(dt.arrow),void Ci();case dt.minus:return ue(),void jr();case dt.string:case dt.num:case dt._true:case dt._false:case dt._null:case dt._this:case dt._void:case dt.star:return void ue();default:if(Bt.type===dt._typeof)return Yt(dt._typeof),void ki();if(Bt.type&dt.IS_KEYWORD)return ue(),void(Bt.tokens[Bt.tokens.length-1].type=dt.name)}Gt()}function xi(){ge(dt.question)?xi():function(){for(ki();!zt()&&(ke(dt.bracketL)||ke(dt.questionDot));)ge(dt.questionDot),Yt(dt.bracketL),ge(dt.bracketR)||(Ci(),Yt(dt.bracketR))}()}function _i(){xi(),!Bt.noAnonFunctionType&&ge(dt.arrow)&&Ci()}function bi(){for(ge(dt.bitwiseAND),_i();ge(dt.bitwiseAND);)_i()}function Ci(){!function(){for(ge(dt.bitwiseOR),bi();ge(dt.bitwiseOR);)bi()}()}function vi(){Jr()}function Ti(){Zr(),ke(dt.colon)&&vi()}function Ai(){(ke(dt.plus)||ke(dt.minus))&&(ue(),Bt.tokens[Bt.tokens.length-1].isType=!0)}function wi(){if(ke(dt._typeof)||Dt(ut._type)){const e=be();(((t=e).type===dt.name||t.type&dt.IS_KEYWORD)&&t.contextualKeyword!==ut._from||e.type===dt.braceL||e.type===dt.star)&&ue()}var t}function Si(){Pt(ut._enum),Bt.tokens[Bt.tokens.length-1].type=dt._enum,Zr(),function(){$t(ut._of)&&ue();Yt(dt.braceL),function(){for(;!ke(dt.braceR)&&!Bt.error&&!ge(dt.ellipsis);)Ii(),ke(dt.braceR)||Yt(dt.comma)}(),Yt(dt.braceR)}()}function Ii(){Zr(),ge(dt.eq)&&ue()}function Li(t){Et&&function(){if(ke(dt.name)&&Bt.contextualKeyword===ut._interface){const t=fe(0);return ue(),ii(),me(t),!0}return!!Dt(ut._enum)&&(Si(),!0)}()||(ke(dt.at)&&Bi(),function(t){if(Lt&&function(){if(Bt.type===dt._const){const t=be();if(t.type===dt.name&&t.contextualKeyword===ut._enum)return Yt(dt._const),Pt(ut._enum),Bt.tokens[Bt.tokens.length-1].type=dt._enum,Xn(),!0}return!1}())return;const e=Bt.type;switch(e){case dt._break:case dt._continue:return ue(),void(Ht()||(Zr(),Vt()));case dt._debugger:return ue(),void Vt();case dt._do:return ue(),Li(!1),Yt(dt._while),Or(),void ge(dt.semi);case dt._for:return void function(){Bt.scopeDepth++;const t=Bt.tokens.length;!function(){ue();let t=!1;Dt(ut._await)&&(t=!0,ue());if(Yt(dt.parenL),ke(dt.semi))return t&&Gt(),void Ri();const e=Ei();if(e||ke(dt._var)||ke(dt._let)||ke(dt._const)||function(){if(!Dt(ut._using))return!1;if(qt(ut._of))return!1;return!0}())return e&&Pt(ut._await),ue(),qi(!0,Bt.type!==dt._var),ke(dt._in)||Dt(ut._of)?void Di(t):void Ri();if(xr(!0),ke(dt._in)||Dt(ut._of))return void Di(t);t&&Gt();Ri()}();const e=Bt.tokens.length;Bt.scopes.push(new At(t,e,!1)),Bt.scopeDepth--}();case dt._function:if(xe()===dt.dot)break;return t||Gt(),void function(){const t=Bt.start;ue(),Pi(t,!0)}();case dt._class:return t||Gt(),void Ui(!0);case dt._if:return ue(),Or(),Li(!1),void(ge(dt._else)&&Li(!1));case dt._return:return ue(),void(Ht()||(xr(),Vt()));case dt._switch:return void function(){ue(),Or(),Bt.scopeDepth++;const t=Bt.tokens.length;Yt(dt.braceL);for(;!ke(dt.braceR)&&!Bt.error;)if(ke(dt._case)||ke(dt._default)){const t=ke(dt._case);ue(),t&&xr(),Yt(dt.colon)}else Li(!0);ue();const e=Bt.tokens.length;Bt.scopes.push(new At(t,e,!1)),Bt.scopeDepth--}();case dt._throw:return ue(),xr(),void Vt();case dt._try:return void function(){if(ue(),ji(),ke(dt._catch)){ue();let t=null;if(ke(dt.parenL)&&(Bt.scopeDepth++,t=Bt.tokens.length,Yt(dt.parenL),un(!0),Lt&&zn(),Yt(dt.parenR)),ji(),null!=t){const e=Bt.tokens.length;Bt.scopes.push(new At(t,e,!1)),Bt.scopeDepth--}}ge(dt._finally)&&ji()}();case dt._let:case dt._const:t||Gt();case dt._var:return void Mi(e!==dt._var);case dt._while:return ue(),Or(),void Li(!1);case dt.braceL:return void ji();case dt.semi:return void ue();case dt._export:case dt._import:{const t=xe();if(t===dt.parenL||t===dt.dot)break;return ue(),void(e===dt._import?io():Zi())}case dt.name:if(Bt.contextualKeyword===ut._async){const t=Bt.start,e=Bt.snapshot();if(ue(),ke(dt._function)&&!zt())return Yt(dt._function),void Pi(t,!0);Bt.restoreFromSnapshot(e)}else{if(Bt.contextualKeyword===ut._using&&!Wt()&&xe()===dt.name)return void Mi(!0);if(Ei())return Pt(ut._await),void Mi(!0)}}const n=Bt.tokens.length;xr();let r=null;if(Bt.tokens.length===n+1){const t=Bt.tokens[Bt.tokens.length-1];t.type===dt.name&&(r=t.contextualKeyword)}if(null==r)return void Vt();ge(dt.colon)?Li(!0):(i=r,Lt?function(t){er(t)||Vt()}(i):Et?function(t){if(t===ut._declare){if(ke(dt._class)||ke(dt.name)||ke(dt._function)||ke(dt._var)||ke(dt._export)){const t=fe(1);ei(),me(t)}}else if(ke(dt.name))if(t===ut._interface){const t=fe(1);ii(),me(t)}else if(t===ut._type){const t=fe(1);si(),me(t)}else if(t===ut._opaque){const t=fe(1);ai(!1),me(t)}Vt()}(i):Vt());var i}(t))}function Ei(){if(!Dt(ut._await))return!1;const t=Bt.snapshot();return ue(),!Dt(ut._using)||Ut()?(Bt.restoreFromSnapshot(t),!1):(ue(),!ke(dt.name)||Ut()?(Bt.restoreFromSnapshot(t),!1):(Bt.restoreFromSnapshot(t),!0))}function Bi(){for(;ke(dt.at);)Fi()}function Fi(){if(ue(),ge(dt.parenL))xr(),Yt(dt.parenR);else{for(Zr();ge(dt.dot);)Zr();Lt?((ke(dt.lessThan)||ke(dt.bitShiftL))&&or(),Ni()):Ni()}}function Ni(){ge(dt.parenL)&&Br()}function Mi(t){ue(),qi(!1,t),Vt()}function ji(t=!1,e=0){const n=Bt.tokens.length;Bt.scopeDepth++,Yt(dt.braceL),e&&(Bt.tokens[Bt.tokens.length-1].contextId=e),Oi(dt.braceR),e&&(Bt.tokens[Bt.tokens.length-1].contextId=e);const r=Bt.tokens.length;Bt.scopes.push(new At(n,r,t)),Bt.scopeDepth--}function Oi(t){for(;!ge(t)&&!Bt.error;)Li(!0)}function Ri(){Yt(dt.semi),ke(dt.semi)||xr(),Yt(dt.semi),ke(dt.parenR)||xr(),Yt(dt.parenR),Li(!1)}function Di(t){t?$t(ut._of):ue(),xr(),Yt(dt.parenR),Li(!1)}function qi(t,e){for(;;){if($i(e),ge(dt.eq)){const e=Bt.tokens.length-1;_r(t),Bt.tokens[e].rhsEndIndex=Bt.tokens.length}if(!ge(dt.comma))break}}function $i(t){un(t),Lt?function(){const t=fe(0);Ut()||ge(dt.bang),zn(),me(t)}():Et&&ke(dt.colon)&&vi()}function Pi(t,e,n=!1){ke(dt.star)&&ue(),!e||n||ke(dt.name)||ke(dt._yield)||Gt();let r=null;ke(dt.name)&&(e||(r=Bt.tokens.length,Bt.scopeDepth++),ln(!1));const i=Bt.tokens.length;Bt.scopeDepth++,zi(),Yr(t);const o=Bt.tokens.length;Bt.scopes.push(new At(i,o,!0)),Bt.scopeDepth--,null!==r&&(Bt.scopes.push(new At(r,o,!0)),Bt.scopeDepth--)}function zi(t=!1,e=0){Lt?vn():Et&&function(){if(ke(dt.lessThan)){const t=fe(0);li(),me(t)}}(),Yt(dt.parenL),e&&(Bt.tokens[Bt.tokens.length-1].contextId=e),dn(dt.parenR,!1,!1,t,e),e&&(Bt.tokens[Bt.tokens.length-1].contextId=e)}function Ui(t,e=!1){const n=Mt();ue(),Bt.tokens[Bt.tokens.length-1].contextId=n,Bt.tokens[Bt.tokens.length-1].isExpression=!t;let r=null;t||(r=Bt.tokens.length,Bt.scopeDepth++),function(t,e=!1){if(Lt&&(!t||e)&&Dt(ut._implements))return;ke(dt.name)&&ln(!0);Lt?vn():Et&&ke(dt.lessThan)&&li()}(t,e),function(){let t=!1;ge(dt._extends)?(Ar(),t=!0):t=!1;Lt?function(t){if(t&&(ke(dt.lessThan)||ke(dt.bitShiftL))&&or(),$t(ut._implements)){Bt.tokens[Bt.tokens.length-1].type=dt._implements;const t=fe(1);Vn(),me(t)}}(t):Et&&function(t){if(t&&ke(dt.lessThan)&&ci(),Dt(ut._implements)){const t=fe(0);ue(),Bt.tokens[Bt.tokens.length-1].type=dt._implements;do{oi(),ke(dt.lessThan)&&ci()}while(ge(dt.comma));me(t)}}(t)}();const i=Bt.tokens.length;if(function(t){Yt(dt.braceL);for(;!ge(dt.braceR)&&!Bt.error;){if(ge(dt.semi))continue;if(ke(dt.at)){Fi();continue}Vi(Bt.start,t)}}(n),!Bt.error&&(Bt.tokens[i].contextId=n,Bt.tokens[Bt.tokens.length-1].contextId=n,null!==r)){const t=Bt.tokens.length;Bt.scopes.push(new At(r,t,!1)),Bt.scopeDepth--}}function Wi(){return ke(dt.eq)||ke(dt.semi)||ke(dt.braceR)||ke(dt.bang)||ke(dt.colon)}function Hi(){return ke(dt.parenL)||ke(dt.lessThan)}function Vi(t,e){Lt&&kn([ut._declare,ut._public,ut._protected,ut._private,ut._override]);let n=!1;if(ke(dt.name)&&Bt.contextualKeyword===ut._static){if(Zr(),Hi())return void Yi(t,!1);if(Wi())return void Ki();if(Bt.tokens[Bt.tokens.length-1].type=dt._static,n=!0,ke(dt.braceL))return Bt.tokens[Bt.tokens.length-1].contextId=e,void ji()}!function(t,e,n){if(Lt&&function(t){const e=Bt.tokens.length;kn([ut._abstract,ut._readonly,ut._declare,ut._static,ut._override]);const n=Bt.tokens.length;if(In()){for(let r=t?e-1:e;r<n;r++)Bt.tokens[r].isType=!0;return!0}return!1}(e))return;if(ge(dt.star))return Gi(n),void Yi(t,!1);Gi(n);let r=!1;const i=Bt.tokens[Bt.tokens.length-1];i.contextualKeyword===ut._constructor&&(r=!0);if(Xi(),Hi())Yi(t,r);else if(Wi())Ki();else if(i.contextualKeyword!==ut._async||Ht())i.contextualKeyword!==ut._get&&i.contextualKeyword!==ut._set||Ht()&&ke(dt.star)?i.contextualKeyword!==ut._accessor||Ht()?Ht()?Ki():Gt():(Gi(n),Ki()):(i.contextualKeyword===ut._get?Bt.tokens[Bt.tokens.length-1].type=dt._get:Bt.tokens[Bt.tokens.length-1].type=dt._set,Gi(n),Yi(t,!1));else{Bt.tokens[Bt.tokens.length-1].type=dt._async;ke(dt.star)&&ue(),Gi(n),Xi(),Yi(t,!1)}}(t,n,e)}function Yi(t,e){Lt?vn():Et&&ke(dt.lessThan)&&li(),Hr(t,e)}function Gi(t){Wr(t)}function Xi(){if(Lt){const t=fe(0);ge(dt.question),me(t)}}function Ki(){if(Lt?(ye(dt.bang),zn()):Et&&ke(dt.colon)&&vi(),ke(dt.eq)){const t=Bt.tokens.length;ue(),_r(),Bt.tokens[t].rhsEndIndex=Bt.tokens.length}Vt()}function Zi(){const t=Bt.tokens.length-1;Lt&&function(){if(ge(dt._import))return Dt(ut._type)&&xe()!==dt.eq&&Pt(ut._type),Qn(),!0;if(ge(dt.eq))return xr(),Vt(),!0;if($t(ut._as))return Pt(ut._namespace),Zr(),Vt(),!0;if(Dt(ut._type)){const t=xe();t!==dt.braceL&&t!==dt.star||ue()}return!1}()||((Et?ke(dt.star)||Dt(ut._type)&&xe()===dt.star:ke(dt.star))?Et?function(){if($t(ut._type)){const t=fe(2);to(),me(t)}else to()}():to():function(){if(Lt&&ar())return!1;if(Et&&ke(dt.name)&&(Bt.contextualKeyword===ut._type||Bt.contextualKeyword===ut._interface||Bt.contextualKeyword===ut._opaque||Bt.contextualKeyword===ut._enum))return!1;if(ke(dt.name))return Bt.contextualKeyword!==ut._async;if(!ke(dt._default))return!1;const t=Ce(),e=be(),n=e.type===dt.name&&e.contextualKeyword===ut._from;if(e.type===dt.comma)return!0;if(n){const e=Ft.charCodeAt(ve(t+4));return e===pt.quotationMark||e===pt.apostrophe}return!1}()?(Zr(),ke(dt.comma)&&xe()===dt.star?(Yt(dt.comma),Yt(dt.star),Pt(ut._as),Zr()):Ji(),Qi()):ge(dt._default)?function(){if(Lt&&function(){if(Dt(ut._abstract)&&xe()===dt._class)return Bt.type=dt._abstract,ue(),Ui(!0,!0),!0;if(Dt(ut._interface)){const t=fe(2);return nr(ut._interface,!0),me(t),!0}return!1}())return;if(Et&&Dt(ut._enum)&&(Si(),1))return;const t=Bt.start;ge(dt._function)?Pi(t,!0,!0):Dt(ut._async)&&xe()===dt._function?($t(ut._async),ge(dt._function),Pi(t,!0,!0)):ke(dt._class)?Ui(!0,!0):ke(dt.at)?(Bi(),Ui(!0,!0)):(_r(),Vt())}():Lt&&ar()||Et&&(Dt(ut._type)||Dt(ut._interface)||Dt(ut._opaque)||Dt(ut._enum))||Bt.type===dt._var||Bt.type===dt._const||Bt.type===dt._let||Bt.type===dt._function||Bt.type===dt._class||Dt(ut._async)||ke(dt.at)?Lt?function(){const t=$t(ut._declare);t&&(Bt.tokens[Bt.tokens.length-1].type=dt._declare);let e=!1;if(ke(dt.name))if(t){const t=fe(2);e=tr(),me(t)}else e=tr();if(!e)if(t){const t=fe(2);Li(!0),me(t)}else Li(!0)}():Et?function(){if(Dt(ut._type)){const t=fe(1);ue(),ke(dt.braceL)?(eo(),Qi()):si(),me(t)}else if(Dt(ut._opaque)){const t=fe(1);ue(),ai(!1),me(t)}else if(Dt(ut._interface)){const t=fe(1);ue(),ii(),me(t)}else Li(!0)}():Li(!0):(eo(),Qi()),Bt.tokens[t].rhsEndIndex=Bt.tokens.length)}function Ji(){ge(dt.comma)&&eo()}function Qi(){$t(ut._from)&&(Nr(),ao()),Vt()}function to(){Yt(dt.star),Dt(ut._as)?(ue(),Bt.tokens[Bt.tokens.length-1].type=dt._as,Zr(),Ji(),Qi()):Qi()}function eo(){let t=!0;for(Yt(dt.braceL);!ge(dt.braceR)&&!Bt.error;){if(t)t=!1;else if(Yt(dt.comma),ge(dt.braceR))break;no()}}function no(){Lt?function(){if(Zr(),ke(dt.comma)||ke(dt.braceR))Bt.tokens[Bt.tokens.length-1].identifierRole=ne.ExportAccess;else{if(Zr(),ke(dt.comma)||ke(dt.braceR))return Bt.tokens[Bt.tokens.length-1].identifierRole=ne.ExportAccess,Bt.tokens[Bt.tokens.length-2].isType=!0,void(Bt.tokens[Bt.tokens.length-1].isType=!0);Zr(),ke(dt.comma)||ke(dt.braceR)?Bt.tokens[Bt.tokens.length-3].identifierRole=ne.ExportAccess:(Zr(),Bt.tokens[Bt.tokens.length-3].identifierRole=ne.ExportAccess,Bt.tokens[Bt.tokens.length-4].isType=!0,Bt.tokens[Bt.tokens.length-3].isType=!0,Bt.tokens[Bt.tokens.length-2].isType=!0,Bt.tokens[Bt.tokens.length-1].isType=!0)}}():(Zr(),Bt.tokens[Bt.tokens.length-1].identifierRole=ne.ExportAccess,$t(ut._as)&&Zr())}function ro(){Dt(ut._module)&&function(){const t=Bt.snapshot();return Pt(ut._module),$t(ut._from)?Dt(ut._from)?(Bt.restoreFromSnapshot(t),!0):(Bt.restoreFromSnapshot(t),!1):ke(dt.comma)?(Bt.restoreFromSnapshot(t),!1):(Bt.restoreFromSnapshot(t),!0)}()&&ue()}function io(){if(Lt&&ke(dt.name)&&xe()===dt.eq)Qn();else{if(Lt&&Dt(ut._type)){const t=be();if(t.type===dt.name&&t.contextualKeyword!==ut._from){if(Pt(ut._type),xe()===dt.eq)return void Qn()}else t.type!==dt.star&&t.type!==dt.braceL||Pt(ut._type)}ke(dt.string)||(ro(),function(){Et&&wi();let t=!0;if(ke(dt.name)&&(oo(),!ge(dt.comma)))return;if(ke(dt.star))return ue(),Pt(ut._as),void oo();Yt(dt.braceL);for(;!ge(dt.braceR)&&!Bt.error;){if(t)t=!1;else if(ge(dt.colon)&&Gt("ES2015 named imports do not destructure. Use another statement for destructuring after the import."),Yt(dt.comma),ge(dt.braceR))break;so()}}(),Pt(ut._from)),Nr(),ao(),Vt()}}function oo(){cn()}function so(){Lt?function(){if(Zr(),ke(dt.comma)||ke(dt.braceR))Bt.tokens[Bt.tokens.length-1].identifierRole=ne.ImportDeclaration;else{if(Zr(),ke(dt.comma)||ke(dt.braceR))return Bt.tokens[Bt.tokens.length-1].identifierRole=ne.ImportDeclaration,Bt.tokens[Bt.tokens.length-2].isType=!0,void(Bt.tokens[Bt.tokens.length-1].isType=!0);if(Zr(),ke(dt.comma)||ke(dt.braceR))return Bt.tokens[Bt.tokens.length-3].identifierRole=ne.ImportAccess,void(Bt.tokens[Bt.tokens.length-1].identifierRole=ne.ImportDeclaration);Zr(),Bt.tokens[Bt.tokens.length-3].identifierRole=ne.ImportAccess,Bt.tokens[Bt.tokens.length-1].identifierRole=ne.ImportDeclaration,Bt.tokens[Bt.tokens.length-4].isType=!0,Bt.tokens[Bt.tokens.length-3].isType=!0,Bt.tokens[Bt.tokens.length-2].isType=!0,Bt.tokens[Bt.tokens.length-1].isType=!0}}():Et?function(){const t=Bt.contextualKeyword===ut._type||Bt.type===dt._typeof;t?ue():Zr(),Dt(ut._as)&&!qt(ut._as)?(Zr(),(!t||ke(dt.name)||Bt.type&dt.IS_KEYWORD)&&Zr()):(t&&(ke(dt.name)||Bt.type&dt.IS_KEYWORD)&&Zr(),$t(ut._as)&&Zr())}():(cn(),Dt(ut._as)&&(Bt.tokens[Bt.tokens.length-1].identifierRole=ne.ImportAccess,ue(),cn()))}function ao(){(ke(dt._with)||Dt(ut._assert)&&!Ut())&&(ue(),Pr(!1,!1))}function lo(){return 0===Bt.pos&&Ft.charCodeAt(0)===pt.numberSign&&Ft.charCodeAt(1)===pt.exclamationMark&&Se(2),Ae(),function(){if(Oi(dt.eof),Bt.scopes.push(new At(0,Bt.tokens.length,!0)),0!==Bt.scopeDepth)throw new Error(`Invalid scope depth at end of file: ${Bt.scopeDepth}`);return new co(Bt.tokens,Bt.scopes)}()}class co{constructor(t,e){this.tokens=t,this.scopes=e}}class ho{__init(){this.resultCode=""}__init2(){this.resultMappings=new Array(this.tokens.length)}__init3(){this.tokenIndex=0}constructor(t,e,n,r,i){this.code=t,this.tokens=e,this.isFlowEnabled=n,this.disableESTransforms=r,this.helperManager=i,ho.prototype.__init.call(this),ho.prototype.__init2.call(this),ho.prototype.__init3.call(this)}snapshot(){return{resultCode:this.resultCode,tokenIndex:this.tokenIndex}}restoreToSnapshot(t){this.resultCode=t.resultCode,this.tokenIndex=t.tokenIndex}dangerouslyGetAndRemoveCodeSinceSnapshot(t){const e=this.resultCode.slice(t.resultCode.length);return this.resultCode=t.resultCode,e}reset(){this.resultCode="",this.resultMappings=new Array(this.tokens.length),this.tokenIndex=0}matchesContextualAtIndex(t,e){return this.matches1AtIndex(t,dt.name)&&this.tokens[t].contextualKeyword===e}identifierNameAtIndex(t){return this.identifierNameForToken(this.tokens[t])}identifierNameAtRelativeIndex(t){return this.identifierNameForToken(this.tokenAtRelativeIndex(t))}identifierName(){return this.identifierNameForToken(this.currentToken())}identifierNameForToken(t){return this.code.slice(t.start,t.end)}rawCodeForToken(t){return this.code.slice(t.start,t.end)}stringValueAtIndex(t){return this.stringValueForToken(this.tokens[t])}stringValue(){return this.stringValueForToken(this.currentToken())}stringValueForToken(t){return this.code.slice(t.start+1,t.end-1)}matches1AtIndex(t,e){return this.tokens[t].type===e}matches2AtIndex(t,e,n){return this.tokens[t].type===e&&this.tokens[t+1].type===n}matches3AtIndex(t,e,n,r){return this.tokens[t].type===e&&this.tokens[t+1].type===n&&this.tokens[t+2].type===r}matches1(t){return this.tokens[this.tokenIndex].type===t}matches2(t,e){return this.tokens[this.tokenIndex].type===t&&this.tokens[this.tokenIndex+1].type===e}matches3(t,e,n){return this.tokens[this.tokenIndex].type===t&&this.tokens[this.tokenIndex+1].type===e&&this.tokens[this.tokenIndex+2].type===n}matches4(t,e,n,r){return this.tokens[this.tokenIndex].type===t&&this.tokens[this.tokenIndex+1].type===e&&this.tokens[this.tokenIndex+2].type===n&&this.tokens[this.tokenIndex+3].type===r}matches5(t,e,n,r,i){return this.tokens[this.tokenIndex].type===t&&this.tokens[this.tokenIndex+1].type===e&&this.tokens[this.tokenIndex+2].type===n&&this.tokens[this.tokenIndex+3].type===r&&this.tokens[this.tokenIndex+4].type===i}matchesContextual(t){return this.matchesContextualAtIndex(this.tokenIndex,t)}matchesContextIdAndLabel(t,e){return this.matches1(t)&&this.currentToken().contextId===e}previousWhitespaceAndComments(){let t=this.code.slice(this.tokenIndex>0?this.tokens[this.tokenIndex-1].end:0,this.tokenIndex<this.tokens.length?this.tokens[this.tokenIndex].start:this.code.length);return this.isFlowEnabled&&(t=t.replace(/@flow/g,"")),t}replaceToken(t){this.resultCode+=this.previousWhitespaceAndComments(),this.appendTokenPrefix(),this.resultMappings[this.tokenIndex]=this.resultCode.length,this.resultCode+=t,this.appendTokenSuffix(),this.tokenIndex++}replaceTokenTrimmingLeftWhitespace(t){this.resultCode+=this.previousWhitespaceAndComments().replace(/[^\r\n]/g,""),this.appendTokenPrefix(),this.resultMappings[this.tokenIndex]=this.resultCode.length,this.resultCode+=t,this.appendTokenSuffix(),this.tokenIndex++}removeInitialToken(){this.replaceToken("")}removeToken(){this.replaceTokenTrimmingLeftWhitespace("")}removeBalancedCode(){let t=0;for(;!this.isAtEnd();){if(this.matches1(dt.braceL))t++;else if(this.matches1(dt.braceR)){if(0===t)return;t--}this.removeToken()}}copyExpectedToken(t){if(this.tokens[this.tokenIndex].type!==t)throw new Error(`Expected token ${t}`);this.copyToken()}copyToken(){this.resultCode+=this.previousWhitespaceAndComments(),this.appendTokenPrefix(),this.resultMappings[this.tokenIndex]=this.resultCode.length,this.resultCode+=this.code.slice(this.tokens[this.tokenIndex].start,this.tokens[this.tokenIndex].end),this.appendTokenSuffix(),this.tokenIndex++}copyTokenWithPrefix(t){this.resultCode+=this.previousWhitespaceAndComments(),this.appendTokenPrefix(),this.resultCode+=t,this.resultMappings[this.tokenIndex]=this.resultCode.length,this.resultCode+=this.code.slice(this.tokens[this.tokenIndex].start,this.tokens[this.tokenIndex].end),this.appendTokenSuffix(),this.tokenIndex++}appendTokenPrefix(){const t=this.currentToken();if((t.numNullishCoalesceStarts||t.isOptionalChainStart)&&(t.isAsyncOperation=function(t){let e=t.currentIndex(),n=0;const r=t.currentToken();do{const i=t.tokens[e];if(i.isOptionalChainStart&&n++,i.isOptionalChainEnd&&n--,n+=i.numNullishCoalesceStarts,n-=i.numNullishCoalesceEnds,i.contextualKeyword===ut._await&&null==i.identifierRole&&i.scopeDepth===r.scopeDepth)return!0;e+=1}while(n>0&&e<t.tokens.length);return!1}(this)),!this.disableESTransforms){if(t.numNullishCoalesceStarts)for(let e=0;e<t.numNullishCoalesceStarts;e++)t.isAsyncOperation?(this.resultCode+="await ",this.resultCode+=this.helperManager.getHelperName("asyncNullishCoalesce")):this.resultCode+=this.helperManager.getHelperName("nullishCoalesce"),this.resultCode+="(";t.isOptionalChainStart&&(t.isAsyncOperation&&(this.resultCode+="await "),this.tokenIndex>0&&this.tokenAtRelativeIndex(-1).type===dt._delete?t.isAsyncOperation?this.resultCode+=this.helperManager.getHelperName("asyncOptionalChainDelete"):this.resultCode+=this.helperManager.getHelperName("optionalChainDelete"):t.isAsyncOperation?this.resultCode+=this.helperManager.getHelperName("asyncOptionalChain"):this.resultCode+=this.helperManager.getHelperName("optionalChain"),this.resultCode+="([")}}appendTokenSuffix(){const t=this.currentToken();if(t.isOptionalChainEnd&&!this.disableESTransforms&&(this.resultCode+="])"),t.numNullishCoalesceEnds&&!this.disableESTransforms)for(let e=0;e<t.numNullishCoalesceEnds;e++)this.resultCode+="))"}appendCode(t){this.resultCode+=t}currentToken(){return this.tokens[this.tokenIndex]}currentTokenCode(){const t=this.currentToken();return this.code.slice(t.start,t.end)}tokenAtRelativeIndex(t){return this.tokens[this.tokenIndex+t]}currentIndex(){return this.tokenIndex}nextToken(){if(this.tokenIndex===this.tokens.length)throw new Error("Unexpectedly reached end of input.");this.tokenIndex++}previousToken(){this.tokenIndex--}finish(){if(this.tokenIndex!==this.tokens.length)throw new Error("Tried to finish processing tokens before reaching the end.");return this.resultCode+=this.previousWhitespaceAndComments(),{code:this.resultCode,mappings:this.resultMappings}}isAtEnd(){return this.tokenIndex===this.tokens.length}}function uo(t,e,n,r){const i=e.snapshot(),o=function(t){const e=t.currentToken(),n=e.contextId;if(null==n)throw new Error("Expected context ID on class token.");const r=e.isExpression;if(null==r)throw new Error("Expected isExpression on class token.");let i=null,o=!1;t.nextToken(),t.matches1(dt.name)&&(i=t.identifierName());for(;!t.matchesContextIdAndLabel(dt.braceL,n);)t.matches1(dt._extends)&&!t.currentToken().isType&&(o=!0),t.nextToken();return{isExpression:r,className:i,hasSuperclass:o}}(e);let s=[];const a=[],l=[];let c=null;const h=[],u=[],d=e.currentToken().contextId;if(null==d)throw new Error("Expected non-null class context ID on class open-brace.");for(e.nextToken();!e.matchesContextIdAndLabel(dt.braceR,d);)if(e.matchesContextual(ut._constructor)&&!e.currentToken().isType)({constructorInitializerStatements:s,constructorInsertPos:c}=fo(e));else if(e.matches1(dt.semi))r||u.push({start:e.currentIndex(),end:e.currentIndex()+1}),e.nextToken();else if(e.currentToken().isType)e.nextToken();else{const i=e.currentIndex();let o=!1,p=!1,f=!1;for(;mo(e.currentToken());)e.matches1(dt._static)&&(o=!0),e.matches1(dt.hash)&&(p=!0),(e.matches1(dt._declare)||e.matches1(dt._abstract))&&(f=!0),e.nextToken();if(o&&e.matches1(dt.braceL)){po(e,d);continue}if(p){po(e,d);continue}if(e.matchesContextual(ut._constructor)&&!e.currentToken().isType){({constructorInitializerStatements:s,constructorInsertPos:c}=fo(e));continue}const m=e.currentIndex();if(go(e),e.matches1(dt.lessThan)||e.matches1(dt.parenL)){po(e,d);continue}for(;e.currentToken().isType;)e.nextToken();if(e.matches1(dt.eq)){const r=e.currentIndex(),i=e.currentToken().rhsEndIndex;if(null==i)throw new Error("Expected rhsEndIndex on class field assignment.");for(e.nextToken();e.currentIndex()<i;)t.processToken();let s;o?(s=n.claimFreeName("__initStatic"),l.push(s)):(s=n.claimFreeName("__init"),a.push(s)),h.push({initializerName:s,equalsIndex:r,start:m,end:e.currentIndex()})}else r&&!f||u.push({start:i,end:e.currentIndex()})}return e.restoreToSnapshot(i),r?{headerInfo:o,constructorInitializerStatements:s,instanceInitializerNames:[],staticInitializerNames:[],constructorInsertPos:c,fields:[],rangesToRemove:u}:{headerInfo:o,constructorInitializerStatements:s,instanceInitializerNames:a,staticInitializerNames:l,constructorInsertPos:c,fields:h,rangesToRemove:u}}function po(t,e){for(t.nextToken();t.currentToken().contextId!==e;)t.nextToken();for(;mo(t.tokenAtRelativeIndex(-1));)t.previousToken()}function fo(t){const e=[];t.nextToken();const n=t.currentToken().contextId;if(null==n)throw new Error("Expected context ID on open-paren starting constructor params.");for(;!t.matchesContextIdAndLabel(dt.parenR,n);)if(t.currentToken().contextId===n){if(t.nextToken(),mo(t.currentToken())){for(t.nextToken();mo(t.currentToken());)t.nextToken();const n=t.currentToken();if(n.type!==dt.name)throw new Error("Expected identifier after access modifiers in constructor arg.");const r=t.identifierNameForToken(n);e.push(`this.${r} = ${r}`)}}else t.nextToken();for(t.nextToken();t.currentToken().isType;)t.nextToken();let r=t.currentIndex(),i=!1;for(;!t.matchesContextIdAndLabel(dt.braceR,n);){if(!i&&t.matches2(dt._super,dt.parenL)){t.nextToken();const e=t.currentToken().contextId;if(null==e)throw new Error("Expected a context ID on the super call");for(;!t.matchesContextIdAndLabel(dt.parenR,e);)t.nextToken();r=t.currentIndex(),i=!0}t.nextToken()}return t.nextToken(),{constructorInitializerStatements:e,constructorInsertPos:r}}function mo(t){return[dt._async,dt._get,dt._set,dt.plus,dt.minus,dt._readonly,dt._static,dt._public,dt._private,dt._protected,dt._override,dt._abstract,dt.star,dt._declare,dt.hash].includes(t.type)}function go(t){if(t.matches1(dt.bracketL)){const e=t.currentToken().contextId;if(null==e)throw new Error("Expected class context ID on computed name open bracket.");for(;!t.matchesContextIdAndLabel(dt.bracketR,e);)t.nextToken();t.nextToken()}else t.nextToken()}function yo(t){if(t.removeInitialToken(),t.removeToken(),t.removeToken(),t.removeToken(),t.matches1(dt.parenL))t.removeToken(),t.removeToken(),t.removeToken();else for(;t.matches1(dt.dot);)t.removeToken(),t.removeToken()}const ko={typeDeclarations:new Set,valueDeclarations:new Set};function xo(t){const e=new Set,n=new Set;for(let r=0;r<t.tokens.length;r++){const i=t.tokens[r];i.type===dt.name&&se(i)&&(i.isType?e.add(t.identifierNameForToken(i)):n.add(t.identifierNameForToken(i)))}return{typeDeclarations:e,valueDeclarations:n}}function _o(t){let e=t.currentIndex();for(;!t.matches1AtIndex(e,dt.braceR);)e++;return t.matchesContextualAtIndex(e+1,ut._from)&&t.matches1AtIndex(e+2,dt.string)}function bo(t){(t.matches2(dt._with,dt.braceL)||t.matches2(dt.name,dt.braceL)&&t.matchesContextual(ut._assert))&&(t.removeToken(),t.removeToken(),t.removeBalancedCode(),t.removeToken())}function Co(t,e,n,r){if(!t||e)return!1;const i=n.currentToken();if(null==i.rhsEndIndex)throw new Error("Expected non-null rhsEndIndex on export token.");const o=i.rhsEndIndex-n.currentIndex();if(3!==o&&(4!==o||!n.matches1AtIndex(i.rhsEndIndex-1,dt.semi)))return!1;const s=n.tokenAtRelativeIndex(2);if(s.type!==dt.name)return!1;const a=n.identifierNameForToken(s);return r.typeDeclarations.has(a)&&!r.valueDeclarations.has(a)}class vo extends Pe{__init(){this.hadExport=!1}__init2(){this.hadNamedExport=!1}__init3(){this.hadDefaultExport=!1}constructor(t,e,n,r,i,o,s,a,l,c,h,u){super(),this.rootTransformer=t,this.tokens=e,this.importProcessor=n,this.nameManager=r,this.helperManager=i,this.reactHotLoaderTransformer=o,this.enableLegacyBabel5ModuleInterop=s,this.enableLegacyTypeScriptModuleInterop=a,this.isTypeScriptTransformEnabled=l,this.isFlowTransformEnabled=c,this.preserveDynamicImport=h,this.keepUnusedImports=u,vo.prototype.__init.call(this),vo.prototype.__init2.call(this),vo.prototype.__init3.call(this),this.declarationInfo=l?xo(e):ko}getPrefixCode(){let t="";return this.hadExport&&(t+='Object.defineProperty(exports, "__esModule", {value: true});'),t}getSuffixCode(){return this.enableLegacyBabel5ModuleInterop&&this.hadDefaultExport&&!this.hadNamedExport?"\nmodule.exports = exports.default;\n":""}process(){return this.tokens.matches3(dt._import,dt.name,dt.eq)?this.processImportEquals():this.tokens.matches1(dt._import)?(this.processImport(),!0):this.tokens.matches2(dt._export,dt.eq)?(this.tokens.replaceToken("module.exports"),!0):this.tokens.matches1(dt._export)&&!this.tokens.currentToken().isType?(this.hadExport=!0,this.processExport()):!(!this.tokens.matches2(dt.name,dt.postIncDec)||!this.processPostIncDec())||(this.tokens.matches1(dt.name)||this.tokens.matches1(dt.jsxName)?this.processIdentifier():this.tokens.matches1(dt.eq)?this.processAssignment():this.tokens.matches1(dt.assign)?this.processComplexAssignment():!!this.tokens.matches1(dt.preIncDec)&&this.processPreIncDec())}processImportEquals(){const t=this.tokens.identifierNameAtIndex(this.tokens.currentIndex()+1);return this.importProcessor.shouldAutomaticallyElideImportedName(t)?yo(this.tokens):this.tokens.replaceToken("const"),!0}processImport(){if(this.tokens.matches2(dt._import,dt.parenL)){if(this.preserveDynamicImport)return void this.tokens.copyToken();const t=this.enableLegacyTypeScriptModuleInterop?"":`${this.helperManager.getHelperName("interopRequireWildcard")}(`;this.tokens.replaceToken(`Promise.resolve().then(() => ${t}require`);const e=this.tokens.currentToken().contextId;if(null==e)throw new Error("Expected context ID on dynamic import invocation.");for(this.tokens.copyToken();!this.tokens.matchesContextIdAndLabel(dt.parenR,e);)this.rootTransformer.processToken();return void this.tokens.replaceToken(t?")))":"))")}if(this.removeImportAndDetectIfShouldElide())this.tokens.removeToken();else{const t=this.tokens.stringValue();this.tokens.replaceTokenTrimmingLeftWhitespace(this.importProcessor.claimImportCode(t)),this.tokens.appendCode(this.importProcessor.claimImportCode(t))}bo(this.tokens),this.tokens.matches1(dt.semi)&&this.tokens.removeToken()}removeImportAndDetectIfShouldElide(){if(this.tokens.removeInitialToken(),this.tokens.matchesContextual(ut._type)&&!this.tokens.matches1AtIndex(this.tokens.currentIndex()+1,dt.comma)&&!this.tokens.matchesContextualAtIndex(this.tokens.currentIndex()+1,ut._from))return this.removeRemainingImport(),!0;if(this.tokens.matches1(dt.name)||this.tokens.matches1(dt.star))return this.removeRemainingImport(),!1;if(this.tokens.matches1(dt.string))return!1;let t=!1,e=!1;for(;!this.tokens.matches1(dt.string);)(!t&&this.tokens.matches1(dt.braceL)||this.tokens.matches1(dt.comma))&&(this.tokens.removeToken(),this.tokens.matches1(dt.braceR)||(e=!0),(this.tokens.matches2(dt.name,dt.comma)||this.tokens.matches2(dt.name,dt.braceR)||this.tokens.matches4(dt.name,dt.name,dt.name,dt.comma)||this.tokens.matches4(dt.name,dt.name,dt.name,dt.braceR))&&(t=!0)),this.tokens.removeToken();return!this.keepUnusedImports&&(this.isTypeScriptTransformEnabled?!t:!!this.isFlowTransformEnabled&&(e&&!t))}removeRemainingImport(){for(;!this.tokens.matches1(dt.string);)this.tokens.removeToken()}processIdentifier(){const t=this.tokens.currentToken();if(t.shadowsGlobal)return!1;if(t.identifierRole===ne.ObjectShorthand)return this.processObjectShorthand();if(t.identifierRole!==ne.Access)return!1;const e=this.importProcessor.getIdentifierReplacement(this.tokens.identifierNameForToken(t));if(!e)return!1;let n=this.tokens.currentIndex()+1;for(;n<this.tokens.tokens.length&&this.tokens.tokens[n].type===dt.parenR;)n++;return this.tokens.tokens[n].type===dt.parenL?this.tokens.tokenAtRelativeIndex(1).type===dt.parenL&&this.tokens.tokenAtRelativeIndex(-1).type!==dt._new?(this.tokens.replaceToken(`${e}.call(void 0, `),this.tokens.removeToken(),this.rootTransformer.processBalancedCode(),this.tokens.copyExpectedToken(dt.parenR)):this.tokens.replaceToken(`(0, ${e})`):this.tokens.replaceToken(e),!0}processObjectShorthand(){const t=this.tokens.identifierName(),e=this.importProcessor.getIdentifierReplacement(t);return!!e&&(this.tokens.replaceToken(`${t}: ${e}`),!0)}processExport(){if(this.tokens.matches2(dt._export,dt._enum)||this.tokens.matches3(dt._export,dt._const,dt._enum))return this.hadNamedExport=!0,!1;if(this.tokens.matches2(dt._export,dt._default))return this.tokens.matches3(dt._export,dt._default,dt._enum)?(this.hadDefaultExport=!0,!1):(this.processExportDefault(),!0);if(this.tokens.matches2(dt._export,dt.braceL))return this.processExportBindings(),!0;if(this.tokens.matches2(dt._export,dt.name)&&this.tokens.matchesContextualAtIndex(this.tokens.currentIndex()+1,ut._type)){if(this.tokens.removeInitialToken(),this.tokens.removeToken(),this.tokens.matches1(dt.braceL)){for(;!this.tokens.matches1(dt.braceR);)this.tokens.removeToken();this.tokens.removeToken()}else this.tokens.removeToken(),this.tokens.matches1(dt._as)&&(this.tokens.removeToken(),this.tokens.removeToken());return this.tokens.matchesContextual(ut._from)&&this.tokens.matches1AtIndex(this.tokens.currentIndex()+1,dt.string)&&(this.tokens.removeToken(),this.tokens.removeToken(),bo(this.tokens)),!0}if(this.hadNamedExport=!0,this.tokens.matches2(dt._export,dt._var)||this.tokens.matches2(dt._export,dt._let)||this.tokens.matches2(dt._export,dt._const))return this.processExportVar(),!0;if(this.tokens.matches2(dt._export,dt._function)||this.tokens.matches3(dt._export,dt.name,dt._function))return this.processExportFunction(),!0;if(this.tokens.matches2(dt._export,dt._class)||this.tokens.matches3(dt._export,dt._abstract,dt._class)||this.tokens.matches2(dt._export,dt.at))return this.processExportClass(),!0;if(this.tokens.matches2(dt._export,dt.star))return this.processExportStar(),!0;throw new Error("Unrecognized export syntax.")}processAssignment(){const t=this.tokens.currentIndex(),e=this.tokens.tokens[t-1];if(e.isType||e.type!==dt.name)return!1;if(e.shadowsGlobal)return!1;if(t>=2&&this.tokens.matches1AtIndex(t-2,dt.dot))return!1;if(t>=2&&[dt._var,dt._let,dt._const].includes(this.tokens.tokens[t-2].type))return!1;const n=this.importProcessor.resolveExportBinding(this.tokens.identifierNameForToken(e));return!!n&&(this.tokens.copyToken(),this.tokens.appendCode(` ${n} =`),!0)}processComplexAssignment(){const t=this.tokens.currentIndex(),e=this.tokens.tokens[t-1];if(e.type!==dt.name)return!1;if(e.shadowsGlobal)return!1;if(t>=2&&this.tokens.matches1AtIndex(t-2,dt.dot))return!1;const n=this.importProcessor.resolveExportBinding(this.tokens.identifierNameForToken(e));return!!n&&(this.tokens.appendCode(` = ${n}`),this.tokens.copyToken(),!0)}processPreIncDec(){const t=this.tokens.currentIndex(),e=this.tokens.tokens[t+1];if(e.type!==dt.name)return!1;if(e.shadowsGlobal)return!1;if(t+2<this.tokens.tokens.length&&(this.tokens.matches1AtIndex(t+2,dt.dot)||this.tokens.matches1AtIndex(t+2,dt.bracketL)||this.tokens.matches1AtIndex(t+2,dt.parenL)))return!1;const n=this.tokens.identifierNameForToken(e),r=this.importProcessor.resolveExportBinding(n);return!!r&&(this.tokens.appendCode(`${r} = `),this.tokens.copyToken(),!0)}processPostIncDec(){const t=this.tokens.currentIndex(),e=this.tokens.tokens[t],n=this.tokens.tokens[t+1];if(e.type!==dt.name)return!1;if(e.shadowsGlobal)return!1;if(t>=1&&this.tokens.matches1AtIndex(t-1,dt.dot))return!1;const r=this.tokens.identifierNameForToken(e),i=this.importProcessor.resolveExportBinding(r);if(!i)return!1;const o=this.tokens.rawCodeForToken(n),s=this.importProcessor.getIdentifierReplacement(r)||r;if("++"===o)this.tokens.replaceToken(`(${s} = ${i} = ${s} + 1, ${s} - 1)`);else{if("--"!==o)throw new Error(`Unexpected operator: ${o}`);this.tokens.replaceToken(`(${s} = ${i} = ${s} - 1, ${s} + 1)`)}return this.tokens.removeToken(),!0}processExportDefault(){let t=!0;if(this.tokens.matches4(dt._export,dt._default,dt._function,dt.name)||this.tokens.matches5(dt._export,dt._default,dt.name,dt._function,dt.name)&&this.tokens.matchesContextualAtIndex(this.tokens.currentIndex()+2,ut._async)){this.tokens.removeInitialToken(),this.tokens.removeToken();const t=this.processNamedFunction();this.tokens.appendCode(` exports.default = ${t};`)}else if(this.tokens.matches4(dt._export,dt._default,dt._class,dt.name)||this.tokens.matches5(dt._export,dt._default,dt._abstract,dt._class,dt.name)||this.tokens.matches3(dt._export,dt._default,dt.at)){this.tokens.removeInitialToken(),this.tokens.removeToken(),this.copyDecorators(),this.tokens.matches1(dt._abstract)&&this.tokens.removeToken();const t=this.rootTransformer.processNamedClass();this.tokens.appendCode(` exports.default = ${t};`)}else if(Co(this.isTypeScriptTransformEnabled,this.keepUnusedImports,this.tokens,this.declarationInfo))t=!1,this.tokens.removeInitialToken(),this.tokens.removeToken(),this.tokens.removeToken();else if(this.reactHotLoaderTransformer){const t=this.nameManager.claimFreeName("_default");this.tokens.replaceToken(`let ${t}; exports.`),this.tokens.copyToken(),this.tokens.appendCode(` = ${t} =`),this.reactHotLoaderTransformer.setExtractedDefaultExportName(t)}else this.tokens.replaceToken("exports."),this.tokens.copyToken(),this.tokens.appendCode(" =");t&&(this.hadDefaultExport=!0)}copyDecorators(){for(;this.tokens.matches1(dt.at);)if(this.tokens.copyToken(),this.tokens.matches1(dt.parenL))this.tokens.copyExpectedToken(dt.parenL),this.rootTransformer.processBalancedCode(),this.tokens.copyExpectedToken(dt.parenR);else{for(this.tokens.copyExpectedToken(dt.name);this.tokens.matches1(dt.dot);)this.tokens.copyExpectedToken(dt.dot),this.tokens.copyExpectedToken(dt.name);this.tokens.matches1(dt.parenL)&&(this.tokens.copyExpectedToken(dt.parenL),this.rootTransformer.processBalancedCode(),this.tokens.copyExpectedToken(dt.parenR))}}processExportVar(){this.isSimpleExportVar()?this.processSimpleExportVar():this.processComplexExportVar()}isSimpleExportVar(){let t=this.tokens.currentIndex();if(t++,t++,!this.tokens.matches1AtIndex(t,dt.name))return!1;for(t++;t<this.tokens.tokens.length&&this.tokens.tokens[t].isType;)t++;return!!this.tokens.matches1AtIndex(t,dt.eq)}processSimpleExportVar(){this.tokens.removeInitialToken(),this.tokens.copyToken();const t=this.tokens.identifierName();for(;!this.tokens.matches1(dt.eq);)this.rootTransformer.processToken();const e=this.tokens.currentToken().rhsEndIndex;if(null==e)throw new Error("Expected = token with an end index.");for(;this.tokens.currentIndex()<e;)this.rootTransformer.processToken();this.tokens.appendCode(`; exports.${t} = ${t}`)}processComplexExportVar(){this.tokens.removeInitialToken(),this.tokens.removeToken();const t=this.tokens.matches1(dt.braceL);t&&this.tokens.appendCode("(");let e=0;for(;;)if(this.tokens.matches1(dt.braceL)||this.tokens.matches1(dt.dollarBraceL)||this.tokens.matches1(dt.bracketL))e++,this.tokens.copyToken();else if(this.tokens.matches1(dt.braceR)||this.tokens.matches1(dt.bracketR))e--,this.tokens.copyToken();else{if(0===e&&!this.tokens.matches1(dt.name)&&!this.tokens.currentToken().isType)break;if(this.tokens.matches1(dt.eq)){const t=this.tokens.currentToken().rhsEndIndex;if(null==t)throw new Error("Expected = token with an end index.");for(;this.tokens.currentIndex()<t;)this.rootTransformer.processToken()}else{const t=this.tokens.currentToken();if(ie(t)){const e=this.tokens.identifierName();let n=this.importProcessor.getIdentifierReplacement(e);if(null===n)throw new Error(`Expected a replacement for ${e} in \`export var\` syntax.`);ce(t)&&(n=`${e}: ${n}`),this.tokens.replaceToken(n)}else this.rootTransformer.processToken()}}if(t){const t=this.tokens.currentToken().rhsEndIndex;if(null==t)throw new Error("Expected = token with an end index.");for(;this.tokens.currentIndex()<t;)this.rootTransformer.processToken();this.tokens.appendCode(")")}}processExportFunction(){this.tokens.replaceToken("");const t=this.processNamedFunction();this.tokens.appendCode(` exports.${t} = ${t};`)}processNamedFunction(){if(this.tokens.matches1(dt._function))this.tokens.copyToken();else if(this.tokens.matches2(dt.name,dt._function)){if(!this.tokens.matchesContextual(ut._async))throw new Error("Expected async keyword in function export.");this.tokens.copyToken(),this.tokens.copyToken()}if(this.tokens.matches1(dt.star)&&this.tokens.copyToken(),!this.tokens.matches1(dt.name))throw new Error("Expected identifier for exported function name.");const t=this.tokens.identifierName();if(this.tokens.copyToken(),this.tokens.currentToken().isType)for(this.tokens.removeInitialToken();this.tokens.currentToken().isType;)this.tokens.removeToken();return this.tokens.copyExpectedToken(dt.parenL),this.rootTransformer.processBalancedCode(),this.tokens.copyExpectedToken(dt.parenR),this.rootTransformer.processPossibleTypeRange(),this.tokens.copyExpectedToken(dt.braceL),this.rootTransformer.processBalancedCode(),this.tokens.copyExpectedToken(dt.braceR),t}processExportClass(){this.tokens.removeInitialToken(),this.copyDecorators(),this.tokens.matches1(dt._abstract)&&this.tokens.removeToken();const t=this.rootTransformer.processNamedClass();this.tokens.appendCode(` exports.${t} = ${t};`)}processExportBindings(){this.tokens.removeInitialToken(),this.tokens.removeToken();const t=_o(this.tokens),e=[];for(;;){if(this.tokens.matches1(dt.braceR)){this.tokens.removeToken();break}const n=Oe(this.tokens);for(;this.tokens.currentIndex()<n.endIndex;)this.tokens.removeToken();if(!(n.isType||!t&&this.shouldElideExportedIdentifier(n.leftName))){const t=n.rightName;"default"===t?this.hadDefaultExport=!0:this.hadNamedExport=!0;const r=n.leftName,i=this.importProcessor.getIdentifierReplacement(r);e.push(`exports.${t} = ${i||r};`)}if(this.tokens.matches1(dt.braceR)){this.tokens.removeToken();break}if(this.tokens.matches2(dt.comma,dt.braceR)){this.tokens.removeToken(),this.tokens.removeToken();break}if(!this.tokens.matches1(dt.comma))throw new Error(`Unexpected token: ${JSON.stringify(this.tokens.currentToken())}`);this.tokens.removeToken()}if(this.tokens.matchesContextual(ut._from)){this.tokens.removeToken();const t=this.tokens.stringValue();this.tokens.replaceTokenTrimmingLeftWhitespace(this.importProcessor.claimImportCode(t)),bo(this.tokens)}else this.tokens.appendCode(e.join(" "));this.tokens.matches1(dt.semi)&&this.tokens.removeToken()}processExportStar(){for(this.tokens.removeInitialToken();!this.tokens.matches1(dt.string);)this.tokens.removeToken();const t=this.tokens.stringValue();this.tokens.replaceTokenTrimmingLeftWhitespace(this.importProcessor.claimImportCode(t)),bo(this.tokens),this.tokens.matches1(dt.semi)&&this.tokens.removeToken()}shouldElideExportedIdentifier(t){return this.isTypeScriptTransformEnabled&&!this.keepUnusedImports&&!this.declarationInfo.valueDeclarations.has(t)}}class To extends Pe{constructor(t,e,n,r,i,o,s,a){super(),this.tokens=t,this.nameManager=e,this.helperManager=n,this.reactHotLoaderTransformer=r,this.isTypeScriptTransformEnabled=i,this.isFlowTransformEnabled=o,this.keepUnusedImports=s,this.nonTypeIdentifiers=i&&!s?Ye(t,a):new Set,this.declarationInfo=i&&!s?xo(t):ko,this.injectCreateRequireForImportRequire=Boolean(a.injectCreateRequireForImportRequire)}process(){if(this.tokens.matches3(dt._import,dt.name,dt.eq))return this.processImportEquals();if(this.tokens.matches4(dt._import,dt.name,dt.name,dt.eq)&&this.tokens.matchesContextualAtIndex(this.tokens.currentIndex()+1,ut._type)){this.tokens.removeInitialToken();for(let t=0;t<7;t++)this.tokens.removeToken();return!0}if(this.tokens.matches2(dt._export,dt.eq))return this.tokens.replaceToken("module.exports"),!0;if(this.tokens.matches5(dt._export,dt._import,dt.name,dt.name,dt.eq)&&this.tokens.matchesContextualAtIndex(this.tokens.currentIndex()+2,ut._type)){this.tokens.removeInitialToken();for(let t=0;t<8;t++)this.tokens.removeToken();return!0}if(this.tokens.matches1(dt._import))return this.processImport();if(this.tokens.matches2(dt._export,dt._default))return this.processExportDefault();if(this.tokens.matches2(dt._export,dt.braceL))return this.processNamedExports();if(this.tokens.matches2(dt._export,dt.name)&&this.tokens.matchesContextualAtIndex(this.tokens.currentIndex()+1,ut._type)){if(this.tokens.removeInitialToken(),this.tokens.removeToken(),this.tokens.matches1(dt.braceL)){for(;!this.tokens.matches1(dt.braceR);)this.tokens.removeToken();this.tokens.removeToken()}else this.tokens.removeToken(),this.tokens.matches1(dt._as)&&(this.tokens.removeToken(),this.tokens.removeToken());return this.tokens.matchesContextual(ut._from)&&this.tokens.matches1AtIndex(this.tokens.currentIndex()+1,dt.string)&&(this.tokens.removeToken(),this.tokens.removeToken(),bo(this.tokens)),!0}return!1}processImportEquals(){const t=this.tokens.identifierNameAtIndex(this.tokens.currentIndex()+1);return this.shouldAutomaticallyElideImportedName(t)?yo(this.tokens):this.injectCreateRequireForImportRequire?(this.tokens.replaceToken("const"),this.tokens.copyToken(),this.tokens.copyToken(),this.tokens.replaceToken(this.helperManager.getHelperName("require"))):this.tokens.replaceToken("const"),!0}processImport(){if(this.tokens.matches2(dt._import,dt.parenL))return!1;const t=this.tokens.snapshot();if(this.removeImportTypeBindings()){for(this.tokens.restoreToSnapshot(t);!this.tokens.matches1(dt.string);)this.tokens.removeToken();this.tokens.removeToken(),bo(this.tokens),this.tokens.matches1(dt.semi)&&this.tokens.removeToken()}return!0}removeImportTypeBindings(){if(this.tokens.copyExpectedToken(dt._import),this.tokens.matchesContextual(ut._type)&&!this.tokens.matches1AtIndex(this.tokens.currentIndex()+1,dt.comma)&&!this.tokens.matchesContextualAtIndex(this.tokens.currentIndex()+1,ut._from))return!0;if(this.tokens.matches1(dt.string))return this.tokens.copyToken(),!1;this.tokens.matchesContextual(ut._module)&&this.tokens.matchesContextualAtIndex(this.tokens.currentIndex()+2,ut._from)&&this.tokens.copyToken();let t=!1,e=!1,n=!1;if(this.tokens.matches1(dt.name)&&(this.shouldAutomaticallyElideImportedName(this.tokens.identifierName())?(this.tokens.removeToken(),this.tokens.matches1(dt.comma)&&this.tokens.removeToken()):(t=!0,this.tokens.copyToken(),this.tokens.matches1(dt.comma)&&(n=!0,this.tokens.removeToken()))),this.tokens.matches1(dt.star))this.shouldAutomaticallyElideImportedName(this.tokens.identifierNameAtRelativeIndex(2))?(this.tokens.removeToken(),this.tokens.removeToken(),this.tokens.removeToken()):(n&&this.tokens.appendCode(","),t=!0,this.tokens.copyExpectedToken(dt.star),this.tokens.copyExpectedToken(dt.name),this.tokens.copyExpectedToken(dt.name));else if(this.tokens.matches1(dt.braceL)){for(n&&this.tokens.appendCode(","),this.tokens.copyToken();!this.tokens.matches1(dt.braceR);){e=!0;const n=Oe(this.tokens);if(n.isType||this.shouldAutomaticallyElideImportedName(n.rightName)){for(;this.tokens.currentIndex()<n.endIndex;)this.tokens.removeToken();this.tokens.matches1(dt.comma)&&this.tokens.removeToken()}else{for(t=!0;this.tokens.currentIndex()<n.endIndex;)this.tokens.copyToken();this.tokens.matches1(dt.comma)&&this.tokens.copyToken()}}this.tokens.copyExpectedToken(dt.braceR)}return!this.keepUnusedImports&&(this.isTypeScriptTransformEnabled?!t:!!this.isFlowTransformEnabled&&(e&&!t))}shouldAutomaticallyElideImportedName(t){return this.isTypeScriptTransformEnabled&&!this.keepUnusedImports&&!this.nonTypeIdentifiers.has(t)}processExportDefault(){if(Co(this.isTypeScriptTransformEnabled,this.keepUnusedImports,this.tokens,this.declarationInfo))return this.tokens.removeInitialToken(),this.tokens.removeToken(),this.tokens.removeToken(),!0;if(!(this.tokens.matches4(dt._export,dt._default,dt._function,dt.name)||this.tokens.matches5(dt._export,dt._default,dt.name,dt._function,dt.name)&&this.tokens.matchesContextualAtIndex(this.tokens.currentIndex()+2,ut._async)||this.tokens.matches4(dt._export,dt._default,dt._class,dt.name)||this.tokens.matches5(dt._export,dt._default,dt._abstract,dt._class,dt.name))&&this.reactHotLoaderTransformer){const t=this.nameManager.claimFreeName("_default");return this.tokens.replaceToken(`let ${t}; export`),this.tokens.copyToken(),this.tokens.appendCode(` ${t} =`),this.reactHotLoaderTransformer.setExtractedDefaultExportName(t),!0}return!1}processNamedExports(){if(!this.isTypeScriptTransformEnabled)return!1;this.tokens.copyExpectedToken(dt._export),this.tokens.copyExpectedToken(dt.braceL);const t=_o(this.tokens);let e=!1;for(;!this.tokens.matches1(dt.braceR);){const n=Oe(this.tokens);if(n.isType||!t&&this.shouldElideExportedName(n.leftName)){for(;this.tokens.currentIndex()<n.endIndex;)this.tokens.removeToken();this.tokens.matches1(dt.comma)&&this.tokens.removeToken()}else{for(e=!0;this.tokens.currentIndex()<n.endIndex;)this.tokens.copyToken();this.tokens.matches1(dt.comma)&&this.tokens.copyToken()}}return this.tokens.copyExpectedToken(dt.braceR),this.keepUnusedImports||!t||e||(this.tokens.removeToken(),this.tokens.removeToken(),bo(this.tokens)),!0}shouldElideExportedName(t){return this.isTypeScriptTransformEnabled&&!this.keepUnusedImports&&this.declarationInfo.typeDeclarations.has(t)&&!this.declarationInfo.valueDeclarations.has(t)}}class Ao extends Pe{constructor(t,e,n){super(),this.rootTransformer=t,this.tokens=e,this.isImportsTransformEnabled=n}process(){return!!(this.rootTransformer.processPossibleArrowParamEnd()||this.rootTransformer.processPossibleAsyncArrowWithTypeParams()||this.rootTransformer.processPossibleTypeRange())||(this.tokens.matches1(dt._enum)?(this.processEnum(),!0):this.tokens.matches2(dt._export,dt._enum)?(this.processNamedExportEnum(),!0):!!this.tokens.matches3(dt._export,dt._default,dt._enum)&&(this.processDefaultExportEnum(),!0))}processNamedExportEnum(){if(this.isImportsTransformEnabled){this.tokens.removeInitialToken();const t=this.tokens.identifierNameAtRelativeIndex(1);this.processEnum(),this.tokens.appendCode(` exports.${t} = ${t};`)}else this.tokens.copyToken(),this.processEnum()}processDefaultExportEnum(){this.tokens.removeInitialToken(),this.tokens.removeToken();const t=this.tokens.identifierNameAtRelativeIndex(1);this.processEnum(),this.isImportsTransformEnabled?this.tokens.appendCode(` exports.default = ${t};`):this.tokens.appendCode(` export default ${t};`)}processEnum(){this.tokens.replaceToken("const"),this.tokens.copyExpectedToken(dt.name);let t=!1;this.tokens.matchesContextual(ut._of)&&(this.tokens.removeToken(),t=this.tokens.matchesContextual(ut._symbol),this.tokens.removeToken());const e=this.tokens.matches3(dt.braceL,dt.name,dt.eq);this.tokens.appendCode(' = require("flow-enums-runtime")');const n=!t&&!e;for(this.tokens.replaceTokenTrimmingLeftWhitespace(n?".Mirrored([":"({");!this.tokens.matches1(dt.braceR);){if(this.tokens.matches1(dt.ellipsis)){this.tokens.removeToken();break}this.processEnumElement(t,e),this.tokens.matches1(dt.comma)&&this.tokens.copyToken()}this.tokens.replaceToken(n?"]);":"});")}processEnumElement(t,e){if(t){const t=this.tokens.identifierName();this.tokens.copyToken(),this.tokens.appendCode(`: Symbol("${t}")`)}else e?(this.tokens.copyToken(),this.tokens.replaceTokenTrimmingLeftWhitespace(":"),this.tokens.copyToken()):this.tokens.replaceToken(`"${this.tokens.identifierName()}"`)}}const wo="jest",So=["mock","unmock","enableAutomock","disableAutomock"];class Io extends Pe{__init(){this.hoistedFunctionNames=[]}constructor(t,e,n,r){super(),this.rootTransformer=t,this.tokens=e,this.nameManager=n,this.importProcessor=r,Io.prototype.__init.call(this)}process(){return!(0!==this.tokens.currentToken().scopeDepth||!this.tokens.matches4(dt.name,dt.dot,dt.name,dt.parenL)||this.tokens.identifierName()!==wo)&&(!function(t){let e,n=t[0],r=1;for(;r<t.length;){const i=t[r],o=t[r+1];if(r+=2,("optionalAccess"===i||"optionalCall"===i)&&null==n)return;"access"===i||"optionalAccess"===i?(e=n,n=o(n)):"call"!==i&&"optionalCall"!==i||(n=o(((...t)=>n.call(e,...t))),e=void 0)}return n}([this,"access",t=>t.importProcessor,"optionalAccess",t=>t.getGlobalNames,"call",t=>t(),"optionalAccess",t=>t.has,"call",t=>t(wo)])&&this.extractHoistedCalls())}getHoistedCode(){return this.hoistedFunctionNames.length>0?this.hoistedFunctionNames.map((t=>`${t}();`)).join(""):""}extractHoistedCalls(){this.tokens.removeToken();let t=!1;for(;this.tokens.matches3(dt.dot,dt.name,dt.parenL);){const e=this.tokens.identifierNameAtIndex(this.tokens.currentIndex()+1);if(So.includes(e)){const e=this.nameManager.claimFreeName("__jestHoist");this.hoistedFunctionNames.push(e),this.tokens.replaceToken(`function ${e}(){${wo}.`),this.tokens.copyToken(),this.tokens.copyToken(),this.rootTransformer.processBalancedCode(),this.tokens.copyExpectedToken(dt.parenR),this.tokens.appendCode(";}"),t=!1}else t?this.tokens.copyToken():this.tokens.replaceToken(`${wo}.`),this.tokens.copyToken(),this.tokens.copyToken(),this.rootTransformer.processBalancedCode(),this.tokens.copyExpectedToken(dt.parenR),t=!0}return!0}}class Lo extends Pe{constructor(t){super(),this.tokens=t}process(){if(this.tokens.matches1(dt.num)){const t=this.tokens.currentTokenCode();if(t.includes("_"))return this.tokens.replaceToken(t.replace(/_/g,"")),!0}return!1}}class Eo extends Pe{constructor(t,e){super(),this.tokens=t,this.nameManager=e}process(){return!!this.tokens.matches2(dt._catch,dt.braceL)&&(this.tokens.copyToken(),this.tokens.appendCode(` (${this.nameManager.claimFreeName("e")})`),!0)}}class Bo extends Pe{constructor(t,e){super(),this.tokens=t,this.nameManager=e}process(){if(this.tokens.matches1(dt.nullishCoalescing)){const t=this.tokens.currentToken();return this.tokens.tokens[t.nullishStartIndex].isAsyncOperation?this.tokens.replaceTokenTrimmingLeftWhitespace(", async () => ("):this.tokens.replaceTokenTrimmingLeftWhitespace(", () => ("),!0}if(this.tokens.matches1(dt._delete)){if(this.tokens.tokenAtRelativeIndex(1).isOptionalChainStart)return this.tokens.removeInitialToken(),!0}const t=this.tokens.currentToken().subscriptStartIndex;if(null!=t&&this.tokens.tokens[t].isOptionalChainStart&&this.tokens.tokenAtRelativeIndex(-1).type!==dt._super){const e=this.nameManager.claimFreeName("_");let n;if(n=t>0&&this.tokens.matches1AtIndex(t-1,dt._delete)&&this.isLastSubscriptInChain()?`${e} => delete ${e}`:`${e} => ${e}`,this.tokens.tokens[t].isAsyncOperation&&(n=`async ${n}`),this.tokens.matches2(dt.questionDot,dt.parenL)||this.tokens.matches2(dt.questionDot,dt.lessThan))this.justSkippedSuper()&&this.tokens.appendCode(".bind(this)"),this.tokens.replaceTokenTrimmingLeftWhitespace(`, 'optionalCall', ${n}`);else if(this.tokens.matches2(dt.questionDot,dt.bracketL))this.tokens.replaceTokenTrimmingLeftWhitespace(`, 'optionalAccess', ${n}`);else if(this.tokens.matches1(dt.questionDot))this.tokens.replaceTokenTrimmingLeftWhitespace(`, 'optionalAccess', ${n}.`);else if(this.tokens.matches1(dt.dot))this.tokens.replaceTokenTrimmingLeftWhitespace(`, 'access', ${n}.`);else if(this.tokens.matches1(dt.bracketL))this.tokens.replaceTokenTrimmingLeftWhitespace(`, 'access', ${n}[`);else{if(!this.tokens.matches1(dt.parenL))throw new Error("Unexpected subscript operator in optional chain.");this.justSkippedSuper()&&this.tokens.appendCode(".bind(this)"),this.tokens.replaceTokenTrimmingLeftWhitespace(`, 'call', ${n}(`)}return!0}return!1}isLastSubscriptInChain(){let t=0;for(let e=this.tokens.currentIndex()+1;;e++){if(e>=this.tokens.tokens.length)throw new Error("Reached the end of the code while finding the end of the access chain.");if(this.tokens.tokens[e].isOptionalChainStart?t++:this.tokens.tokens[e].isOptionalChainEnd&&t--,t<0)return!0;if(0===t&&null!=this.tokens.tokens[e].subscriptStartIndex)return!1}}justSkippedSuper(){let t=0,e=this.tokens.currentIndex()-1;for(;;){if(e<0)throw new Error("Reached the start of the code while finding the start of the access chain.");if(this.tokens.tokens[e].isOptionalChainStart?t--:this.tokens.tokens[e].isOptionalChainEnd&&t++,t<0)return!1;if(0===t&&null!=this.tokens.tokens[e].subscriptStartIndex)return this.tokens.tokens[e-1].type===dt._super;e--}}}class Fo extends Pe{constructor(t,e,n,r){super(),this.rootTransformer=t,this.tokens=e,this.importProcessor=n,this.options=r}process(){const t=this.tokens.currentIndex();if("createReactClass"===this.tokens.identifierName()){const e=this.importProcessor&&this.importProcessor.getIdentifierReplacement("createReactClass");return e?this.tokens.replaceToken(`(0, ${e})`):this.tokens.copyToken(),this.tryProcessCreateClassCall(t),!0}if(this.tokens.matches3(dt.name,dt.dot,dt.name)&&"React"===this.tokens.identifierName()&&"createClass"===this.tokens.identifierNameAtIndex(this.tokens.currentIndex()+2)){const e=this.importProcessor&&this.importProcessor.getIdentifierReplacement("React")||"React";return e?(this.tokens.replaceToken(e),this.tokens.copyToken(),this.tokens.copyToken()):(this.tokens.copyToken(),this.tokens.copyToken(),this.tokens.copyToken()),this.tryProcessCreateClassCall(t),!0}return!1}tryProcessCreateClassCall(t){const e=this.findDisplayName(t);e&&this.classNeedsDisplayName()&&(this.tokens.copyExpectedToken(dt.parenL),this.tokens.copyExpectedToken(dt.braceL),this.tokens.appendCode(`displayName: '${e}',`),this.rootTransformer.processBalancedCode(),this.tokens.copyExpectedToken(dt.braceR),this.tokens.copyExpectedToken(dt.parenR))}findDisplayName(t){return t<2?null:this.tokens.matches2AtIndex(t-2,dt.name,dt.eq)||t>=2&&this.tokens.tokens[t-2].identifierRole===ne.ObjectKey?this.tokens.identifierNameAtIndex(t-2):this.tokens.matches2AtIndex(t-2,dt._export,dt._default)?this.getDisplayNameFromFilename():null}getDisplayNameFromFilename(){const t=(this.options.filePath||"unknown").split("/"),e=t[t.length-1],n=e.lastIndexOf("."),r=-1===n?e:e.slice(0,n);return"index"===r&&t[t.length-2]?t[t.length-2]:r}classNeedsDisplayName(){let t=this.tokens.currentIndex();if(!this.tokens.matches2(dt.parenL,dt.braceL))return!1;const e=t+1,n=this.tokens.tokens[e].contextId;if(null==n)throw new Error("Expected non-null context ID on object open-brace.");for(;t<this.tokens.tokens.length;t++){const e=this.tokens.tokens[t];if(e.type===dt.braceR&&e.contextId===n){t++;break}if("displayName"===this.tokens.identifierNameAtIndex(t)&&this.tokens.tokens[t].identifierRole===ne.ObjectKey&&e.contextId===n)return!1}if(t===this.tokens.tokens.length)throw new Error("Unexpected end of input when processing React class.");return this.tokens.matches1AtIndex(t,dt.parenR)||this.tokens.matches2AtIndex(t,dt.comma,dt.parenR)}}class No extends Pe{__init(){this.extractedDefaultExportName=null}constructor(t,e){super(),this.tokens=t,this.filePath=e,No.prototype.__init.call(this)}setExtractedDefaultExportName(t){this.extractedDefaultExportName=t}getPrefixCode(){return"\n (function () {\n var enterModule = require('react-hot-loader').enterModule;\n enterModule && enterModule(module);\n })();".replace(/\s+/g," ").trim()}getSuffixCode(){const t=new Set;for(const n of this.tokens.tokens)!n.isType&&se(n)&&n.identifierRole!==ne.ImportDeclaration&&t.add(this.tokens.identifierNameForToken(n));const e=Array.from(t).map((t=>({variableName:t,uniqueLocalName:t})));return this.extractedDefaultExportName&&e.push({variableName:this.extractedDefaultExportName,uniqueLocalName:"default"}),`\n;(function () {\n var reactHotLoader = require('react-hot-loader').default;\n var leaveModule = require('react-hot-loader').leaveModule;\n if (!reactHotLoader) {\n return;\n }\n${e.map((({variableName:t,uniqueLocalName:e})=>` reactHotLoader.register(${t}, "${e}", ${JSON.stringify(this.filePath||"")});`)).join("\n")}\n leaveModule(module);\n})();`}process(){return!1}}const Mo=new Set(["break","case","catch","class","const","continue","debugger","default","delete","do","else","export","extends","finally","for","function","if","import","in","instanceof","new","return","super","switch","this","throw","try","typeof","var","void","while","with","yield","enum","implements","interface","let","package","private","protected","public","static","await","false","null","true"]);function jo(t){if(0===t.length)return!1;if(!te[t.charCodeAt(0)])return!1;for(let e=1;e<t.length;e++)if(!Qt[t.charCodeAt(e)])return!1;return!Mo.has(t)}class Oo extends Pe{constructor(t,e,n){super(),this.rootTransformer=t,this.tokens=e,this.isImportsTransformEnabled=n}process(){return!!(this.rootTransformer.processPossibleArrowParamEnd()||this.rootTransformer.processPossibleAsyncArrowWithTypeParams()||this.rootTransformer.processPossibleTypeRange())||(this.tokens.matches1(dt._public)||this.tokens.matches1(dt._protected)||this.tokens.matches1(dt._private)||this.tokens.matches1(dt._abstract)||this.tokens.matches1(dt._readonly)||this.tokens.matches1(dt._override)||this.tokens.matches1(dt.nonNullAssertion)?(this.tokens.removeInitialToken(),!0):this.tokens.matches1(dt._enum)||this.tokens.matches2(dt._const,dt._enum)?(this.processEnum(),!0):!(!this.tokens.matches2(dt._export,dt._enum)&&!this.tokens.matches3(dt._export,dt._const,dt._enum))&&(this.processEnum(!0),!0))}processEnum(t=!1){for(this.tokens.removeInitialToken();this.tokens.matches1(dt._const)||this.tokens.matches1(dt._enum);)this.tokens.removeToken();const e=this.tokens.identifierName();this.tokens.removeToken(),t&&!this.isImportsTransformEnabled&&this.tokens.appendCode("export "),this.tokens.appendCode(`var ${e}; (function (${e})`),this.tokens.copyExpectedToken(dt.braceL),this.processEnumBody(e),this.tokens.copyExpectedToken(dt.braceR),t&&this.isImportsTransformEnabled?this.tokens.appendCode(`)(${e} || (exports.${e} = ${e} = {}));`):this.tokens.appendCode(`)(${e} || (${e} = {}));`)}processEnumBody(t){let e=null;for(;!this.tokens.matches1(dt.braceR);){const{nameStringCode:n,variableName:r}=this.extractEnumKeyInfo(this.tokens.currentToken());this.tokens.removeInitialToken(),this.tokens.matches3(dt.eq,dt.string,dt.comma)||this.tokens.matches3(dt.eq,dt.string,dt.braceR)?this.processStringLiteralEnumMember(t,n,r):this.tokens.matches1(dt.eq)?this.processExplicitValueEnumMember(t,n,r):this.processImplicitValueEnumMember(t,n,r,e),this.tokens.matches1(dt.comma)&&this.tokens.removeToken(),e=null!=r?r:`${t}[${n}]`}}extractEnumKeyInfo(t){if(t.type===dt.name){const e=this.tokens.identifierNameForToken(t);return{nameStringCode:`"${e}"`,variableName:jo(e)?e:null}}if(t.type===dt.string){const e=this.tokens.stringValueForToken(t);return{nameStringCode:this.tokens.code.slice(t.start,t.end),variableName:jo(e)?e:null}}throw new Error("Expected name or string at beginning of enum element.")}processStringLiteralEnumMember(t,e,n){null!=n?(this.tokens.appendCode(`const ${n}`),this.tokens.copyToken(),this.tokens.copyToken(),this.tokens.appendCode(`; ${t}[${e}] = ${n};`)):(this.tokens.appendCode(`${t}[${e}]`),this.tokens.copyToken(),this.tokens.copyToken(),this.tokens.appendCode(";"))}processExplicitValueEnumMember(t,e,n){const r=this.tokens.currentToken().rhsEndIndex;if(null==r)throw new Error("Expected rhsEndIndex on enum assign.");if(null!=n){for(this.tokens.appendCode(`const ${n}`),this.tokens.copyToken();this.tokens.currentIndex()<r;)this.rootTransformer.processToken();this.tokens.appendCode(`; ${t}[${t}[${e}] = ${n}] = ${e};`)}else{for(this.tokens.appendCode(`${t}[${t}[${e}]`),this.tokens.copyToken();this.tokens.currentIndex()<r;)this.rootTransformer.processToken();this.tokens.appendCode(`] = ${e};`)}}processImplicitValueEnumMember(t,e,n,r){let i=null!=r?`${r} + 1`:"0";null!=n&&(this.tokens.appendCode(`const ${n} = ${i}; `),i=n),this.tokens.appendCode(`${t}[${t}[${e}] = ${i}] = ${e};`)}}class Ro{__init(){this.transformers=[]}__init2(){this.generatedVariables=[]}constructor(t,e,n,r){Ro.prototype.__init.call(this),Ro.prototype.__init2.call(this),this.nameManager=t.nameManager,this.helperManager=t.helperManager;const{tokenProcessor:i,importProcessor:o}=t;this.tokens=i,this.isImportsTransformEnabled=e.includes("imports"),this.isReactHotLoaderTransformEnabled=e.includes("react-hot-loader"),this.disableESTransforms=Boolean(r.disableESTransforms),r.disableESTransforms||(this.transformers.push(new Bo(i,this.nameManager)),this.transformers.push(new Lo(i)),this.transformers.push(new Eo(i,this.nameManager))),e.includes("jsx")&&("preserve"!==r.jsxRuntime&&this.transformers.push(new ze(this,i,o,this.nameManager,r)),this.transformers.push(new Fo(this,i,o,r)));let s=null;if(e.includes("react-hot-loader")){if(!r.filePath)throw new Error("filePath is required when using the react-hot-loader transform.");s=new No(i,r.filePath),this.transformers.push(s)}if(e.includes("imports")){if(null===o)throw new Error("Expected non-null importProcessor with imports transform enabled.");this.transformers.push(new vo(this,i,o,this.nameManager,this.helperManager,s,n,Boolean(r.enableLegacyTypeScriptModuleInterop),e.includes("typescript"),e.includes("flow"),Boolean(r.preserveDynamicImport),Boolean(r.keepUnusedImports)))}else this.transformers.push(new To(i,this.nameManager,this.helperManager,s,e.includes("typescript"),e.includes("flow"),Boolean(r.keepUnusedImports),r));e.includes("flow")&&this.transformers.push(new Ao(this,i,e.includes("imports"))),e.includes("typescript")&&this.transformers.push(new Oo(this,i,e.includes("imports"))),e.includes("jest")&&this.transformers.push(new Io(this,i,this.nameManager,o))}transform(){this.tokens.reset(),this.processBalancedCode();let t=this.isImportsTransformEnabled?'"use strict";':"";for(const i of this.transformers)t+=i.getPrefixCode();t+=this.helperManager.emitHelpers(),t+=this.generatedVariables.map((t=>` var ${t};`)).join("");for(const i of this.transformers)t+=i.getHoistedCode();let e="";for(const i of this.transformers)e+=i.getSuffixCode();const n=this.tokens.finish();let{code:r}=n;if(r.startsWith("#!")){let i=r.indexOf("\n");return-1===i&&(i=r.length,r+="\n"),{code:r.slice(0,i+1)+t+r.slice(i+1)+e,mappings:this.shiftMappings(n.mappings,t.length)}}return{code:t+r+e,mappings:this.shiftMappings(n.mappings,t.length)}}processBalancedCode(){let t=0,e=0;for(;!this.tokens.isAtEnd();){if(this.tokens.matches1(dt.braceL)||this.tokens.matches1(dt.dollarBraceL))t++;else if(this.tokens.matches1(dt.braceR)){if(0===t)return;t--}if(this.tokens.matches1(dt.parenL))e++;else if(this.tokens.matches1(dt.parenR)){if(0===e)return;e--}this.processToken()}}processToken(){if(this.tokens.matches1(dt._class))this.processClass();else{for(const t of this.transformers){if(t.process())return}this.tokens.copyToken()}}processNamedClass(){if(!this.tokens.matches2(dt._class,dt.name))throw new Error("Expected identifier for exported class name.");const t=this.tokens.identifierNameAtIndex(this.tokens.currentIndex()+1);return this.processClass(),t}processClass(){const t=uo(this,this.tokens,this.nameManager,this.disableESTransforms),e=(t.headerInfo.isExpression||!t.headerInfo.className)&&t.staticInitializerNames.length+t.instanceInitializerNames.length>0;let n=t.headerInfo.className;e&&(n=this.nameManager.claimFreeName("_class"),this.generatedVariables.push(n),this.tokens.appendCode(` (${n} =`));const r=this.tokens.currentToken().contextId;if(null==r)throw new Error("Expected class to have a context ID.");for(this.tokens.copyExpectedToken(dt._class);!this.tokens.matchesContextIdAndLabel(dt.braceL,r);)this.processToken();this.processClassBody(t,n);const i=t.staticInitializerNames.map((t=>`${n}.${t}()`));e?this.tokens.appendCode(`, ${i.map((t=>`${t}, `)).join("")}${n})`):t.staticInitializerNames.length>0&&this.tokens.appendCode(` ${i.map((t=>`${t};`)).join(" ")}`)}processClassBody(t,e){const{headerInfo:n,constructorInsertPos:r,constructorInitializerStatements:i,fields:o,instanceInitializerNames:s,rangesToRemove:a}=t;let l=0,c=0;const h=this.tokens.currentToken().contextId;if(null==h)throw new Error("Expected non-null context ID on class.");this.tokens.copyExpectedToken(dt.braceL),this.isReactHotLoaderTransformEnabled&&this.tokens.appendCode("__reactstandin__regenerateByEval(key, code) {this[key] = eval(code);}");const u=i.length+s.length>0;if(null===r&&u){const t=this.makeConstructorInitCode(i,s,e);if(n.hasSuperclass){const e=this.nameManager.claimFreeName("args");this.tokens.appendCode(`constructor(...${e}) { super(...${e}); ${t}; }`)}else this.tokens.appendCode(`constructor() { ${t}; }`)}for(;!this.tokens.matchesContextIdAndLabel(dt.braceR,h);)if(l<o.length&&this.tokens.currentIndex()===o[l].start){let t=!1;for(this.tokens.matches1(dt.bracketL)?this.tokens.copyTokenWithPrefix(`${o[l].initializerName}() {this`):this.tokens.matches1(dt.string)||this.tokens.matches1(dt.num)?(this.tokens.copyTokenWithPrefix(`${o[l].initializerName}() {this[`),t=!0):this.tokens.copyTokenWithPrefix(`${o[l].initializerName}() {this.`);this.tokens.currentIndex()<o[l].end;)t&&this.tokens.currentIndex()===o[l].equalsIndex&&this.tokens.appendCode("]"),this.processToken();this.tokens.appendCode("}"),l++}else if(c<a.length&&this.tokens.currentIndex()>=a[c].start){for(this.tokens.currentIndex()<a[c].end&&this.tokens.removeInitialToken();this.tokens.currentIndex()<a[c].end;)this.tokens.removeToken();c++}else this.tokens.currentIndex()===r?(this.tokens.copyToken(),u&&this.tokens.appendCode(`;${this.makeConstructorInitCode(i,s,e)};`),this.processToken()):this.processToken();this.tokens.copyExpectedToken(dt.braceR)}makeConstructorInitCode(t,e,n){return[...t,...e.map((t=>`${n}.prototype.${t}.call(this)`))].join(";")}processPossibleArrowParamEnd(){if(this.tokens.matches2(dt.parenR,dt.colon)&&this.tokens.tokenAtRelativeIndex(1).isType){let t=this.tokens.currentIndex()+1;for(;this.tokens.tokens[t].isType;)t++;if(this.tokens.matches1AtIndex(t,dt.arrow)){for(this.tokens.removeInitialToken();this.tokens.currentIndex()<t;)this.tokens.removeToken();return this.tokens.replaceTokenTrimmingLeftWhitespace(") =>"),!0}}return!1}processPossibleAsyncArrowWithTypeParams(){if(!this.tokens.matchesContextual(ut._async)&&!this.tokens.matches1(dt._async))return!1;const t=this.tokens.tokenAtRelativeIndex(1);if(t.type!==dt.lessThan||!t.isType)return!1;let e=this.tokens.currentIndex()+1;for(;this.tokens.tokens[e].isType;)e++;if(this.tokens.matches1AtIndex(e,dt.parenL)){for(this.tokens.replaceToken("async ("),this.tokens.removeInitialToken();this.tokens.currentIndex()<e;)this.tokens.removeToken();return this.tokens.removeToken(),this.processBalancedCode(),this.processToken(),!0}return!1}processPossibleTypeRange(){if(this.tokens.currentToken().isType){for(this.tokens.removeInitialToken();this.tokens.currentToken().isType;)this.tokens.removeToken();return!0}return!1}shiftMappings(t,e){for(let n=0;n<t.length;n++){const r=t[n];void 0!==r&&(t[n]=r+e)}return t}}n(89);function Do(t,e,n){e++,t.matches1AtIndex(e,dt.parenL)||(t.matches1AtIndex(e,dt.name)&&(n.add(t.identifierNameAtIndex(e)),e++,t.matches1AtIndex(e,dt.comma)&&e++),t.matches1AtIndex(e,dt.star)&&(e+=2,n.add(t.identifierNameAtIndex(e)),e++),t.matches1AtIndex(e,dt.braceL)&&function(t,e,n){for(;;){if(t.matches1AtIndex(e,dt.braceR))return;const r=Oe(t,e);if(e=r.endIndex,r.isType||n.add(r.rightName),t.matches2AtIndex(e,dt.comma,dt.braceR))return;if(t.matches1AtIndex(e,dt.braceR))return;if(!t.matches1AtIndex(e,dt.comma))throw new Error(`Unexpected token: ${JSON.stringify(t.tokens[e])}`);e++}}(t,++e,n))}function qo(t,e){!function(t){on.strictCheck(t)}(e);try{const n=$o(t,e),r=new Ro(n,e.transforms,Boolean(e.enableLegacyBabel5ModuleInterop),e).transform();let i={code:r.code};if(e.sourceMapOptions){if(!e.filePath)throw new Error("filePath must be specified when generating a source map.");i={...i,sourceMap:Ke(r,e.filePath,e.sourceMapOptions,t,n.tokenProcessor.tokens)}}return i}catch(n){throw e.filePath&&(n.message=`Error transforming ${e.filePath}: ${n.message}`),n}}function $o(t,e){const n=e.transforms.includes("jsx"),r=e.transforms.includes("typescript"),i=e.transforms.includes("flow"),o=!0===e.disableESTransforms,s=function(t,e,n,r){if(r&&n)throw new Error("Cannot combine flow and typescript plugins.");Rt(t,e,n,r);const i=lo();if(Bt.error)throw jt(Bt.error);return i}(t,n,r,i),a=s.tokens,l=s.scopes,c=new en(t,a),h=new Je(c),u=new ho(t,a,i,o,h),d=Boolean(e.enableLegacyTypeScriptModuleInterop);let p=null;return e.transforms.includes("imports")?(p=new Ge(c,u,d,e,e.transforms.includes("typescript"),Boolean(e.keepUnusedImports),h),p.preprocessTokens(),Qe(u,l,p.getGlobalNames()),e.transforms.includes("typescript")&&!e.keepUnusedImports&&p.pruneTypeOnlyImports()):e.transforms.includes("typescript")&&!e.keepUnusedImports&&Qe(u,l,function(t){const e=new Set;for(let n=0;n<t.tokens.length;n++)t.matches1AtIndex(n,dt._import)&&!t.matches3AtIndex(n,dt._import,dt.name,dt.eq)&&Do(t,n,e);return e}(u)),{tokenProcessor:u,scopes:l,nameManager:c,importProcessor:p,helperManager:h}}var Po=Object.defineProperty,zo=Object.defineProperties,Uo=Object.getOwnPropertyDescriptors,Wo=Object.getOwnPropertySymbols,Ho=Object.prototype.hasOwnProperty,Vo=Object.prototype.propertyIsEnumerable,Yo=(t,e,n)=>e in t?Po(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n,Go=(t,e)=>{for(var n in e||(e={}))Ho.call(e,n)&&Yo(t,n,e[n]);if(Wo)for(var n of Wo(e))Vo.call(e,n)&&Yo(t,n,e[n]);return t},Xo=(t,e)=>zo(t,Uo(e)),Ko=t=>{const{tabMode:e="indentation"}=t,n=(0,r.useRef)(null),[i,o]=(0,r.useState)(t.code||""),{theme:a}=t;return(0,r.useEffect)((()=>{o(t.code)}),[t.code]),function(t,e,n){function i(e){var n=t.current;if(n){var r=vt(n);n=Ct(n),r.position+=e.length-n.length,h.position=r,h.onChange(e,r)}}function o(e,n){var r=t.current;if(r){var i=window.getSelection().getRangeAt(0);i.deleteContents(),i.collapse();var o=n||0;(i=Tt(r,n=(i=vt(r)).position+(0>o?o:0),i.position+(0<o?o:0))).deleteContents(),e&&i.insertNode(document.createTextNode(e)),_t(Tt(r,n+e.length))}}function s(e){var n=t.current;if(n){n.focus();var r=0;if("number"==typeof e)r=e;else{var i=Ct(n).split("\n").slice(0,e.row);e.row&&(r+=i.join("\n").length+1),r+=e.column}_t(Tt(n,r))}}function a(){var e=t.current;return{text:Ct(e),position:e=vt(e)}}function l(){h.observer.disconnect()}n||(n={});var c=(0,r.useState)([])[1],h=(0,r.useState)((function(){var t={observer:null,disconnected:!1,onChange:e,queue:[],history:[],historyAt:-1,position:null};return"undefined"!=typeof MutationObserver&&(t.observer=new MutationObserver((function(e){var n;(n=t.queue).push.apply(n,e)}))),t}))[0],u=(0,r.useMemo)((function(){return{update:i,insert:o,move:s,getState:a}}),[]);"object"!=typeof navigator||((0,r.useLayoutEffect)((function(){if(h.onChange=e,t.current&&!n.disabled){if(h.disconnected=!1,h.observer.observe(t.current,xt),h.position){var r=h.position,i=r.position;_t(Tt(t.current,i,i+r.extent))}return l}})),(0,r.useLayoutEffect)((function(){if(t.current&&!n.disabled){var e=t.current;if(h.position){e.focus();var r=h.position,i=r.position;_t(Tt(e,i,i+r.extent))}var o=e.style.whiteSpace,s=e.contentEditable,a=!0;try{e.contentEditable="plaintext-only"}catch(_){e.contentEditable="true",a=!1}"pre"!==o&&(e.style.whiteSpace="pre-wrap"),n.indentation&&(e.style.tabSize=e.style.MozTabSize=""+n.indentation),r=""+" ".repeat(n.indentation||0);var l,d=new RegExp("^(?:"+r+")"),p=new RegExp("^(?:"+r+")*("+r+")$"),f=function(n){if(t.current&&h.position){var r=Ct(e),i=vt(e),o=(new Date).valueOf(),s=h.history[h.historyAt];!n&&500>o-l||s&&s[1]===r?l=o:(n=++h.historyAt,h.history[n]=[i,r],h.history.splice(n+1),500<n&&(h.historyAt--,h.history.shift()))}},m=function(){var t;if((t=h.queue).push.apply(t,h.observer.takeRecords()),t=vt(e),h.queue.length){h.observer.disconnect(),h.disconnected=!0;var n,r,i=Ct(e);for(h.position=t;n=h.queue.pop();){for(null!==n.oldValue&&(n.target.textContent=n.oldValue),r=n.removedNodes.length-1;0<=r;r--)n.target.insertBefore(n.removedNodes[r],n.nextSibling);for(r=n.addedNodes.length-1;0<=r;r--)n.addedNodes[r].parentNode&&n.target.removeChild(n.addedNodes[r])}h.onChange(i,t)}},g=function(t){if(!t.defaultPrevented&&t.target===e){if(h.disconnected)return t.preventDefault(),c([]);if(bt(t))t.preventDefault(),t.shiftKey?(t=++h.historyAt,(t=h.history[t])||(h.historyAt=h.history.length-1)):(t=--h.historyAt,(t=h.history[t])||(h.historyAt=0)),t&&(h.observer.disconnect(),h.disconnected=!0,h.position=t[0],h.onChange(t[1],t[0]));else{if(f(),"Enter"===t.key){t.preventDefault();var r=vt(e),i=/\S/g.exec(r.content);r="\n"+r.content.slice(0,i?i.index:r.content.length),u.insert(r)}else if(a&&!n.indentation||"Backspace"!==t.key){if(n.indentation&&"Tab"===t.key){t.preventDefault(),i=(r=vt(e)).position-r.content.length;var o=Ct(e);r=t.shiftKey?o.slice(0,i)+r.content.replace(d,"")+o.slice(i+r.content.length):o.slice(0,i)+(n.indentation?" ".repeat(n.indentation):"\t")+o.slice(i),u.update(r)}}else t.preventDefault(),window.getSelection().getRangeAt(0).collapsed?(r=vt(e),r=p.exec(r.content),u.insert("",r?-r[1].length:-1)):u.insert("",0);t.repeat&&m()}}},y=function(t){t.defaultPrevented||t.isComposing||(bt(t)||f(),m(),e.focus())},k=function(t){h.position=window.getSelection().rangeCount&&t.target===e?vt(e):null},x=function(t){t.preventDefault(),f(!0),u.insert(t.clipboardData.getData("text/plain")),f(!0),m()};return document.addEventListener("selectstart",k),window.addEventListener("keydown",g),e.addEventListener("paste",x),e.addEventListener("keyup",y),function(){document.removeEventListener("selectstart",k),window.removeEventListener("keydown",g),e.removeEventListener("paste",x),e.removeEventListener("keyup",y),e.style.whiteSpace=o,e.contentEditable=s}}h.history.length=0,h.historyAt=-1}),[t.current,n.disabled,n.indentation]))}(n,(t=>o(t.slice(0,-1))),{disabled:t.disabled,indentation:"indentation"===e?2:void 0}),(0,r.useEffect)((()=>{t.onChange&&t.onChange(i)}),[i]),(0,s.jsx)("div",{className:t.className,style:t.style,children:(0,s.jsx)(kt.f4,{code:i,theme:t.theme||kt.Zj.nightOwl,language:t.language,children:({className:t,tokens:e,getLineProps:r,getTokenProps:i,style:o})=>(0,s.jsx)("pre",{className:t,style:Go(Go({margin:0,outline:"none",padding:10,fontFamily:"inherit"},a&&"object"==typeof a.plain?a.plain:{}),o),ref:n,spellCheck:"false",children:e.map(((t,e)=>(0,s.jsxs)("span",Xo(Go({},r({line:t})),{children:[t.filter((t=>!t.empty)).map(((t,e)=>(0,s.jsx)("span",Go({},i({token:t})),`token-${e}`))),"\n"]}),`line-${e}`)))})})})},Zo=(0,r.createContext)({}),Jo=["jsx","imports"];function Qo(t={}){const e=Array.isArray(t.transforms)?t.transforms.filter(Boolean):Jo;return t=>qo(t,{transforms:e}).code}var ts=(t,e)=>class extends r.Component{componentDidCatch(t){e(t)}render(){return"function"==typeof t?(0,s.jsx)(t,{}):r.isValidElement(t)?t:null}},es=(t,e)=>{const n=Object.keys(e),r=n.map((t=>e[t]));return new Function(...n,t)(...r)};var ns='const _jsxFileName = "";',rs=t=>t.trim().replace(/;$/,""),is=t=>t.replace(ns,"").trim(),os=t=>ns+t,ss=t=>`return (${t})`;var as=function({children:t,code:e="",language:n="tsx",theme:i,enableTypeScript:o=!0,disabled:a=!1,scope:l,transformCode:c,noInline:h=!1}){const[u,d]=(0,r.useState)({error:void 0,element:void 0});function p(t){return e=this,n=null,i=function*(){const e=t=>{d({error:t.toString(),element:void 0})};try{const i=c?c(t):t;try{const t=yield Promise.resolve(i),n=t=>d({error:void 0,element:t});if("string"!=typeof t)throw new Error("Code failed to transform");const s={code:t,scope:l,enableTypeScript:o};h?(d({error:void 0,element:null}),(({code:t="",scope:e={},enableTypeScript:n=!0},i,o)=>{if(!/render\s*\(/.test(t))return o(new SyntaxError("No-Inline evaluations must call `render`."));const s=["jsx","imports"];n&&s.splice(1,0,"typescript"),es(Qo({transforms:s})(t),Xo(Go({React:r},e),{render:t=>{void 0===t?o(new SyntaxError("`render` must be called with valid JSX.")):i(ts(t,o))}}))})(s,n,e)):n((({code:t="",scope:e={},enableTypeScript:n=!0},i)=>{const o=["jsx"];n&&o.push("typescript");const s=function(...t){return t.reduce(((t,e)=>(...n)=>t(e(...n))))}(os,Qo({transforms:["imports"]}),ss,is,rs,Qo({transforms:o}),rs)(t);return ts(es(s,Go({React:r},e)),i)})(s,e))}catch(n){return e(n)}}catch(i){return e(i),Promise.resolve()}},new Promise(((t,r)=>{var o=t=>{try{a(i.next(t))}catch(e){r(e)}},s=t=>{try{a(i.throw(t))}catch(e){r(e)}},a=e=>e.done?t(e.value):Promise.resolve(e.value).then(o,s);a((i=i.apply(e,n)).next())}));var e,n,i}const f=t=>d({error:t.toString()});return(0,r.useEffect)((()=>{p(e).catch(f)}),[e,l,h,c]),(0,s.jsx)(Zo.Provider,{value:Xo(Go({},u),{code:e,language:n,theme:i,disabled:a,onError:f,onChange:t=>{p(t).catch(f)}}),children:t})};function ls(t){const{code:e,language:n,theme:i,disabled:o,onChange:a}=(0,r.useContext)(Zo);return(0,s.jsx)(Ko,Go({theme:i,code:e,language:n,disabled:o,onChange:a},t))}function cs(t){const{error:e}=(0,r.useContext)(Zo);return e?(0,s.jsx)("pre",Xo(Go({},t),{children:e})):null}var hs=function(t){var e=t,{Component:n="div"}=e,i=((t,e)=>{var n={};for(var r in t)Ho.call(t,r)&&e.indexOf(r)<0&&(n[r]=t[r]);if(null!=t&&Wo)for(var r of Wo(t))e.indexOf(r)<0&&Vo.call(t,r)&&(n[r]=t[r]);return n})(e,["Component"]);const{element:o}=(0,r.useContext)(Zo);return(0,s.jsx)(n,Xo(Go({},i),{children:o?(0,s.jsx)(o,{}):null}))};function us(t){let{children:e,fallback:n}=t;return(0,yt.A)()?(0,s.jsx)(s.Fragment,{children:e?.()}):n??null}var ds=n(2181),ps=n(5293);function fs(){const{prism:t}=(0,W.p)(),{colorMode:e}=(0,ps.G)(),n=t.theme,r=t.darkTheme||n;return"dark"===e?r:n}var ms=n(7489);const gs={playgroundContainer:"playgroundContainer_X_Ta",playgroundHeader:"playgroundHeader_dyrN",playgroundEditor:"playgroundEditor_Q6Y7",playgroundPreview:"playgroundPreview_DzOI"};function ys(t){let{children:e}=t;return(0,s.jsx)("div",{className:(0,u.A)(gs.playgroundHeader),children:e})}function ks(){return(0,s.jsx)("div",{children:"Loading..."})}function xs(){return(0,s.jsx)(us,{fallback:(0,s.jsx)(ks,{}),children:()=>(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(ms.A,{fallback:t=>(0,s.jsx)(ds.MN,{...t}),children:(0,s.jsx)(hs,{})}),(0,s.jsx)(cs,{})]})})}function _s(){return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(ys,{children:(0,s.jsx)(p.A,{id:"theme.Playground.result",description:"The result label of the live codeblocks",children:"Result"})}),(0,s.jsx)("div",{className:gs.playgroundPreview,children:(0,s.jsx)(xs,{})})]})}function bs(){const t=(0,yt.A)();return(0,s.jsx)(ls,{className:gs.playgroundEditor},String(t))}function Cs(){return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(ys,{children:(0,s.jsx)(p.A,{id:"theme.Playground.liveEditor",description:"The live editor label of the live codeblocks",children:"Live Editor"})}),(0,s.jsx)(bs,{})]})}const vs=t=>`${t};`;function Ts(t){let{children:e,transformCode:n,...r}=t;const{siteConfig:{themeConfig:i}}=(0,k.A)(),{liveCodeBlock:{playgroundPosition:o}}=i,a=fs(),l=r.metastring?.includes("noInline")??!1;return(0,s.jsx)("div",{className:gs.playgroundContainer,children:(0,s.jsx)(as,{code:e?.replace(/\n$/,""),noInline:l,transformCode:n??vs,theme:a,...r,children:"top"===o?(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(_s,{}),(0,s.jsx)(Cs,{})]}):(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(Cs,{}),(0,s.jsx)(_s,{})]})})})}var As=n(1433),ws=n(8426),Ss=n.n(ws);const Is=/title=(?<quote>["'])(?<title>.*?)\1/,Ls=/\{(?<range>[\d,-]+)\}/,Es={js:{start:"\\/\\/",end:""},jsBlock:{start:"\\/\\*",end:"\\*\\/"},jsx:{start:"\\{\\s*\\/\\*",end:"\\*\\/\\s*\\}"},bash:{start:"#",end:""},html:{start:"\x3c!--",end:"--\x3e"}},Bs={...Es,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:""}},Fs=Object.keys(Es);function Ns(t,e){const n=t.map((t=>{const{start:n,end:r}=Bs[t];return`(?:${n}\\s*(${e.flatMap((t=>[t.line,t.block?.start,t.block?.end].filter(Boolean))).join("|")})\\s*${r})`})).join("|");return new RegExp(`^\\s*(?:${n})\\s*$`)}function Ms(t,e){let n=t.replace(/\n$/,"");const{language:r,magicComments:i,metastring:o}=e;if(o&&Ls.test(o)){const t=o.match(Ls).groups.range;if(0===i.length)throw new Error(`A highlight range has been given in code block's metastring (\`\`\` ${o}), but no magic comment config is available. Docusaurus applies the first magic comment entry's className for metastring ranges.`);const e=i[0].className,r=Ss()(t).filter((t=>t>0)).map((t=>[t-1,[e]]));return{lineClassNames:Object.fromEntries(r),code:n}}if(void 0===r)return{lineClassNames:{},code:n};const s=function(t,e){switch(t){case"js":case"javascript":case"ts":case"typescript":return Ns(["js","jsBlock"],e);case"jsx":case"tsx":return Ns(["js","jsBlock","jsx"],e);case"html":return Ns(["js","jsBlock","html"],e);case"python":case"py":case"bash":return Ns(["bash"],e);case"markdown":case"md":return Ns(["html","jsx","bash"],e);case"tex":case"latex":case"matlab":return Ns(["tex"],e);case"lua":case"haskell":case"sql":return Ns(["lua"],e);case"wasm":return Ns(["wasm"],e);case"vb":case"vba":case"visual-basic":return Ns(["vb","rem"],e);case"vbnet":return Ns(["vbnet","rem"],e);case"batch":return Ns(["rem"],e);case"basic":return Ns(["rem","f90"],e);case"fsharp":return Ns(["js","ml"],e);case"ocaml":case"sml":return Ns(["ml"],e);case"fortran":return Ns(["f90"],e);case"cobol":return Ns(["cobol"],e);default:return Ns(Fs,e)}}(r,i),a=n.split("\n"),l=Object.fromEntries(i.map((t=>[t.className,{start:0,range:""}]))),c=Object.fromEntries(i.filter((t=>t.line)).map((t=>{let{className:e,line:n}=t;return[n,e]}))),h=Object.fromEntries(i.filter((t=>t.block)).map((t=>{let{className:e,block:n}=t;return[n.start,e]}))),u=Object.fromEntries(i.filter((t=>t.block)).map((t=>{let{className:e,block:n}=t;return[n.end,e]})));for(let p=0;p<a.length;){const t=a[p].match(s);if(!t){p+=1;continue}const e=t.slice(1).find((t=>void 0!==t));c[e]?l[c[e]].range+=`${p},`:h[e]?l[h[e]].start=p:u[e]&&(l[u[e]].range+=`${l[u[e]].start}-${p-1},`),a.splice(p,1)}n=a.join("\n");const d={};return Object.entries(l).forEach((t=>{let[e,{range:n}]=t;Ss()(n).forEach((t=>{d[t]??=[],d[t].push(e)}))})),{lineClassNames:d,code:n}}const js={codeBlockContainer:"codeBlockContainer_Ckt0"};function Os(t){let{as:e,...n}=t;const r=function(t){const e={color:"--prism-color",backgroundColor:"--prism-background-color"},n={};return Object.entries(t.plain).forEach((t=>{let[r,i]=t;const o=e[r];o&&"string"==typeof i&&(n[o]=i)})),n}(fs());return(0,s.jsx)(e,{...n,style:r,className:(0,u.A)(n.className,js.codeBlockContainer,_.G.common.codeBlock)})}const Rs={codeBlockContent:"codeBlockContent_biex",codeBlockTitle:"codeBlockTitle_Ktv7",codeBlock:"codeBlock_bY9V",codeBlockStandalone:"codeBlockStandalone_MEMb",codeBlockLines:"codeBlockLines_e6Vv",codeBlockLinesWithNumbering:"codeBlockLinesWithNumbering_o6Pm",buttonGroup:"buttonGroup__atx"};function Ds(t){let{children:e,className:n}=t;return(0,s.jsx)(Os,{as:"pre",tabIndex:0,className:(0,u.A)(Rs.codeBlockStandalone,"thin-scrollbar",n),children:(0,s.jsx)("code",{className:Rs.codeBlockLines,children:e})})}const qs={attributes:!0,characterData:!0,childList:!0,subtree:!0};function $s(t,e){const[n,i]=(0,r.useState)(),s=(0,r.useCallback)((()=>{i(t.current?.closest("[role=tabpanel][hidden]"))}),[t,i]);(0,r.useEffect)((()=>{s()}),[s]),function(t,e,n){void 0===n&&(n=qs);const i=(0,o._q)(e),s=(0,o.Be)(n);(0,r.useEffect)((()=>{const e=new MutationObserver(i);return t&&e.observe(t,s),()=>e.disconnect()}),[t,i,s])}(n,(t=>{t.forEach((t=>{"attributes"===t.type&&"hidden"===t.attributeName&&(e(),s())}))}),{attributes:!0,characterData:!1,childList:!1,subtree:!1})}const Ps={codeLine:"codeLine_lJS_",codeLineNumber:"codeLineNumber_Tfdd",codeLineContent:"codeLineContent_feaV"};function zs(t){let{line:e,classNames:n,showLineNumbers:r,getLineProps:i,getTokenProps:o}=t;1===e.length&&"\n"===e[0].content&&(e[0].content="");const a=i({line:e,className:(0,u.A)(n,r&&Ps.codeLine)}),l=e.map(((t,e)=>(0,s.jsx)("span",{...o({token:t})},e)));return(0,s.jsxs)("span",{...a,children:[r?(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)("span",{className:Ps.codeLineNumber}),(0,s.jsx)("span",{className:Ps.codeLineContent,children:l})]}):l,(0,s.jsx)("br",{})]})}function Us(t){return(0,s.jsx)("svg",{viewBox:"0 0 24 24",...t,children:(0,s.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 Ws(t){return(0,s.jsx)("svg",{viewBox:"0 0 24 24",...t,children:(0,s.jsx)("path",{fill:"currentColor",d:"M21,7L9,19L3.5,13.5L4.91,12.09L9,16.17L19.59,5.59L21,7Z"})})}const Hs={copyButtonCopied:"copyButtonCopied_obH4",copyButtonIcons:"copyButtonIcons_eSgA",copyButtonIcon:"copyButtonIcon_y97N",copyButtonSuccessIcon:"copyButtonSuccessIcon_LjdS"};function Vs(t){let{code:e,className:n}=t;const[i,o]=(0,r.useState)(!1),a=(0,r.useRef)(void 0),l=(0,r.useCallback)((()=>{!function(t,e){let{target:n=document.body}=void 0===e?{}:e;if("string"!=typeof t)throw new TypeError(`Expected parameter \`text\` to be a \`string\`, got \`${typeof t}\`.`);const r=document.createElement("textarea"),i=document.activeElement;r.value=t,r.setAttribute("readonly",""),r.style.contain="strict",r.style.position="absolute",r.style.left="-9999px",r.style.fontSize="12pt";const o=document.getSelection(),s=o.rangeCount>0&&o.getRangeAt(0);n.append(r),r.select(),r.selectionStart=0,r.selectionEnd=t.length;let a=!1;try{a=document.execCommand("copy")}catch{}r.remove(),s&&(o.removeAllRanges(),o.addRange(s)),i&&i.focus()}(e),o(!0),a.current=window.setTimeout((()=>{o(!1)}),1e3)}),[e]);return(0,r.useEffect)((()=>()=>window.clearTimeout(a.current)),[]),(0,s.jsx)("button",{type:"button","aria-label":i?(0,p.T)({id:"theme.CodeBlock.copied",message:"Copied",description:"The copied button label on code blocks"}):(0,p.T)({id:"theme.CodeBlock.copyButtonAriaLabel",message:"Copy code to clipboard",description:"The ARIA label for copy code blocks button"}),title:(0,p.T)({id:"theme.CodeBlock.copy",message:"Copy",description:"The copy button label on code blocks"}),className:(0,u.A)("clean-btn",n,Hs.copyButton,i&&Hs.copyButtonCopied),onClick:l,children:(0,s.jsxs)("span",{className:Hs.copyButtonIcons,"aria-hidden":"true",children:[(0,s.jsx)(Us,{className:Hs.copyButtonIcon}),(0,s.jsx)(Ws,{className:Hs.copyButtonSuccessIcon})]})})}function Ys(t){return(0,s.jsx)("svg",{viewBox:"0 0 24 24",...t,children:(0,s.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 Gs={wordWrapButtonIcon:"wordWrapButtonIcon_Bwma",wordWrapButtonEnabled:"wordWrapButtonEnabled_EoeP"};function Xs(t){let{className:e,onClick:n,isEnabled:r}=t;const i=(0,p.T)({id:"theme.CodeBlock.wordWrapToggle",message:"Toggle word wrap",description:"The title attribute for toggle word wrapping button of code block lines"});return(0,s.jsx)("button",{type:"button",onClick:n,className:(0,u.A)("clean-btn",e,r&&Gs.wordWrapButtonEnabled),"aria-label":i,title:i,children:(0,s.jsx)(Ys,{className:Gs.wordWrapButtonIcon,"aria-hidden":"true"})})}function Ks(t){let{children:e,className:n="",metastring:i,title:o,showLineNumbers:a,language:l}=t;const{prism:{defaultLanguage:c,magicComments:h}}=(0,W.p)(),d=function(t){return t?.toLowerCase()}(l??function(t){const e=t.split(" ").find((t=>t.startsWith("language-")));return e?.replace(/language-/,"")}(n)??c),p=fs(),f=function(){const[t,e]=(0,r.useState)(!1),[n,i]=(0,r.useState)(!1),o=(0,r.useRef)(null),s=(0,r.useCallback)((()=>{const n=o.current.querySelector("code");t?n.removeAttribute("style"):(n.style.whiteSpace="pre-wrap",n.style.overflowWrap="anywhere"),e((t=>!t))}),[o,t]),a=(0,r.useCallback)((()=>{const{scrollWidth:t,clientWidth:e}=o.current,n=t>e||o.current.querySelector("code").hasAttribute("style");i(n)}),[o]);return $s(o,a),(0,r.useEffect)((()=>{a()}),[t,a]),(0,r.useEffect)((()=>(window.addEventListener("resize",a,{passive:!0}),()=>{window.removeEventListener("resize",a)})),[a]),{codeBlockRef:o,isEnabled:t,isCodeScrollable:n,toggle:s}}(),m=function(t){return t?.match(Is)?.groups.title??""}(i)||o,{lineClassNames:g,code:y}=Ms(e,{metastring:i,language:d,magicComments:h}),k=a??function(t){return Boolean(t?.includes("showLineNumbers"))}(i);return(0,s.jsxs)(Os,{as:"div",className:(0,u.A)(n,d&&!n.includes(`language-${d}`)&&`language-${d}`),children:[m&&(0,s.jsx)("div",{className:Rs.codeBlockTitle,children:m}),(0,s.jsxs)("div",{className:Rs.codeBlockContent,children:[(0,s.jsx)(kt.f4,{theme:p,code:y,language:d??"text",children:t=>{let{className:e,style:n,tokens:r,getLineProps:i,getTokenProps:o}=t;return(0,s.jsx)("pre",{tabIndex:0,ref:f.codeBlockRef,className:(0,u.A)(e,Rs.codeBlock,"thin-scrollbar"),style:n,children:(0,s.jsx)("code",{className:(0,u.A)(Rs.codeBlockLines,k&&Rs.codeBlockLinesWithNumbering),children:r.map(((t,e)=>(0,s.jsx)(zs,{line:t,getLineProps:i,getTokenProps:o,classNames:g[e],showLineNumbers:k},e)))})})}}),(0,s.jsxs)("div",{className:Rs.buttonGroup,children:[(f.isEnabled||f.isCodeScrollable)&&(0,s.jsx)(Xs,{className:Rs.codeButton,onClick:()=>f.toggle(),isEnabled:f.isEnabled}),(0,s.jsx)(Vs,{className:Rs.codeButton,code:y})]})]})]})}const Zs=(Js=function(t){let{children:e,...n}=t;const i=(0,yt.A)(),o=function(t){return r.Children.toArray(t).some((t=>(0,r.isValidElement)(t)))?t:Array.isArray(t)?t.join(""):t}(e),a="string"==typeof o?Ks:Ds;return(0,s.jsx)(a,{...n,children:o},String(i))},function(t){return t.live?(0,s.jsx)(Ts,{scope:As.A,...t}):(0,s.jsx)(Js,{...t})});var Js;function Qs(t){return(0,s.jsx)("code",{...t})}var ta=n(3427);const ea={details:"details_lb9f",isBrowser:"isBrowser_bmU9",collapsibleContent:"collapsibleContent_i85q"};function na(t){return!!t&&("SUMMARY"===t.tagName||na(t.parentElement))}function ra(t,e){return!!t&&(t===e||ra(t.parentElement,e))}function ia(t){let{summary:e,children:n,...i}=t;(0,ta.A)().collectAnchor(i.id);const o=(0,yt.A)(),a=(0,r.useRef)(null),{collapsed:l,setCollapsed:c}=(0,U.u)({initialState:!i.open}),[h,d]=(0,r.useState)(i.open),p=r.isValidElement(e)?e:(0,s.jsx)("summary",{children:e??"Details"});return(0,s.jsxs)("details",{...i,ref:a,open:h,"data-collapsed":l,className:(0,u.A)(ea.details,o&&ea.isBrowser,i.className),onMouseDown:t=>{na(t.target)&&t.detail>1&&t.preventDefault()},onClick:t=>{t.stopPropagation();const e=t.target;na(e)&&ra(e,a.current)&&(t.preventDefault(),l?(c(!1),d(!0)):c(!0))},children:[p,(0,s.jsx)(U.N,{lazy:!1,collapsed:l,disableSSRStyle:!0,onCollapseTransitionEnd:t=>{c(t),d(!t)},children:(0,s.jsx)("div",{className:ea.collapsibleContent,children:n})})]})}const oa={details:"details_b_Ee"},sa="alert alert--info";function aa(t){let{...e}=t;return(0,s.jsx)(ia,{...e,className:(0,u.A)(sa,oa.details,e.className)})}function la(t){const e=r.Children.toArray(t.children),n=e.find((t=>r.isValidElement(t)&&"summary"===t.type)),i=(0,s.jsx)(s.Fragment,{children:e.filter((t=>t!==n))});return(0,s.jsx)(aa,{...t,summary:n,children:i})}function ca(t){return(0,s.jsx)(ft.A,{...t})}const ha={containsTaskList:"containsTaskList_mC6p"};function ua(t){if(void 0!==t)return(0,u.A)(t,t?.includes("contains-task-list")&&ha.containsTaskList)}const da={img:"img_ev3q"};function pa(t){const{mdxAdmonitionTitle:e,rest:n}=function(t){const e=r.Children.toArray(t),n=e.find((t=>r.isValidElement(t)&&"mdxAdmonitionTitle"===t.type)),i=e.filter((t=>t!==n)),o=n?.props.children;return{mdxAdmonitionTitle:o,rest:i.length>0?(0,s.jsx)(s.Fragment,{children:i}):null}}(t.children),i=t.title??e;return{...t,...i&&{title:i},children:n}}const fa={admonition:"admonition_xJq3",admonitionHeading:"admonitionHeading_Gvgb",admonitionIcon:"admonitionIcon_Rf37",admonitionContent:"admonitionContent_BuS1"};function ma(t){let{type:e,className:n,children:r}=t;return(0,s.jsx)("div",{className:(0,u.A)(_.G.common.admonition,_.G.common.admonitionType(e),fa.admonition,n),children:r})}function ga(t){let{icon:e,title:n}=t;return(0,s.jsxs)("div",{className:fa.admonitionHeading,children:[(0,s.jsx)("span",{className:fa.admonitionIcon,children:e}),n]})}function ya(t){let{children:e}=t;return e?(0,s.jsx)("div",{className:fa.admonitionContent,children:e}):null}function ka(t){const{type:e,icon:n,title:r,children:i,className:o}=t;return(0,s.jsxs)(ma,{type:e,className:o,children:[r||n?(0,s.jsx)(ga,{title:r,icon:n}):null,(0,s.jsx)(ya,{children:i})]})}function xa(t){return(0,s.jsx)("svg",{viewBox:"0 0 14 16",...t,children:(0,s.jsx)("path",{fillRule:"evenodd",d:"M6.3 5.69a.942.942 0 0 1-.28-.7c0-.28.09-.52.28-.7.19-.18.42-.28.7-.28.28 0 .52.09.7.28.18.19.28.42.28.7 0 .28-.09.52-.28.7a1 1 0 0 1-.7.3c-.28 0-.52-.11-.7-.3zM8 7.99c-.02-.25-.11-.48-.31-.69-.2-.19-.42-.3-.69-.31H6c-.27.02-.48.13-.69.31-.2.2-.3.44-.31.69h1v3c.02.27.11.5.31.69.2.2.42.31.69.31h1c.27 0 .48-.11.69-.31.2-.19.3-.42.31-.69H8V7.98v.01zM7 2.3c-3.14 0-5.7 2.54-5.7 5.68 0 3.14 2.56 5.7 5.7 5.7s5.7-2.55 5.7-5.7c0-3.15-2.56-5.69-5.7-5.69v.01zM7 .98c3.86 0 7 3.14 7 7s-3.14 7-7 7-7-3.12-7-7 3.14-7 7-7z"})})}const _a={icon:(0,s.jsx)(xa,{}),title:(0,s.jsx)(p.A,{id:"theme.admonition.note",description:"The default label used for the Note admonition (:::note)",children:"note"})};function ba(t){return(0,s.jsx)(ka,{..._a,...t,className:(0,u.A)("alert alert--secondary",t.className),children:t.children})}function Ca(t){return(0,s.jsx)("svg",{viewBox:"0 0 12 16",...t,children:(0,s.jsx)("path",{fillRule:"evenodd",d:"M6.5 0C3.48 0 1 2.19 1 5c0 .92.55 2.25 1 3 1.34 2.25 1.78 2.78 2 4v1h5v-1c.22-1.22.66-1.75 2-4 .45-.75 1-2.08 1-3 0-2.81-2.48-5-5.5-5zm3.64 7.48c-.25.44-.47.8-.67 1.11-.86 1.41-1.25 2.06-1.45 3.23-.02.05-.02.11-.02.17H5c0-.06 0-.13-.02-.17-.2-1.17-.59-1.83-1.45-3.23-.2-.31-.42-.67-.67-1.11C2.44 6.78 2 5.65 2 5c0-2.2 2.02-4 4.5-4 1.22 0 2.36.42 3.22 1.19C10.55 2.94 11 3.94 11 5c0 .66-.44 1.78-.86 2.48zM4 14h5c-.23 1.14-1.3 2-2.5 2s-2.27-.86-2.5-2z"})})}const va={icon:(0,s.jsx)(Ca,{}),title:(0,s.jsx)(p.A,{id:"theme.admonition.tip",description:"The default label used for the Tip admonition (:::tip)",children:"tip"})};function Ta(t){return(0,s.jsx)(ka,{...va,...t,className:(0,u.A)("alert alert--success",t.className),children:t.children})}function Aa(t){return(0,s.jsx)("svg",{viewBox:"0 0 14 16",...t,children:(0,s.jsx)("path",{fillRule:"evenodd",d:"M7 2.3c3.14 0 5.7 2.56 5.7 5.7s-2.56 5.7-5.7 5.7A5.71 5.71 0 0 1 1.3 8c0-3.14 2.56-5.7 5.7-5.7zM7 1C3.14 1 0 4.14 0 8s3.14 7 7 7 7-3.14 7-7-3.14-7-7-7zm1 3H6v5h2V4zm0 6H6v2h2v-2z"})})}const wa={icon:(0,s.jsx)(Aa,{}),title:(0,s.jsx)(p.A,{id:"theme.admonition.info",description:"The default label used for the Info admonition (:::info)",children:"info"})};function Sa(t){return(0,s.jsx)(ka,{...wa,...t,className:(0,u.A)("alert alert--info",t.className),children:t.children})}function Ia(t){return(0,s.jsx)("svg",{viewBox:"0 0 16 16",...t,children:(0,s.jsx)("path",{fillRule:"evenodd",d:"M8.893 1.5c-.183-.31-.52-.5-.887-.5s-.703.19-.886.5L.138 13.499a.98.98 0 0 0 0 1.001c.193.31.53.501.886.501h13.964c.367 0 .704-.19.877-.5a1.03 1.03 0 0 0 .01-1.002L8.893 1.5zm.133 11.497H6.987v-2.003h2.039v2.003zm0-3.004H6.987V5.987h2.039v4.006z"})})}const La={icon:(0,s.jsx)(Ia,{}),title:(0,s.jsx)(p.A,{id:"theme.admonition.warning",description:"The default label used for the Warning admonition (:::warning)",children:"warning"})};function Ea(t){return(0,s.jsx)("svg",{viewBox:"0 0 12 16",...t,children:(0,s.jsx)("path",{fillRule:"evenodd",d:"M5.05.31c.81 2.17.41 3.38-.52 4.31C3.55 5.67 1.98 6.45.9 7.98c-1.45 2.05-1.7 6.53 3.53 7.7-2.2-1.16-2.67-4.52-.3-6.61-.61 2.03.53 3.33 1.94 2.86 1.39-.47 2.3.53 2.27 1.67-.02.78-.31 1.44-1.13 1.81 3.42-.59 4.78-3.42 4.78-5.56 0-2.84-2.53-3.22-1.25-5.61-1.52.13-2.03 1.13-1.89 2.75.09 1.08-1.02 1.8-1.86 1.33-.67-.41-.66-1.19-.06-1.78C8.18 5.31 8.68 2.45 5.05.32L5.03.3l.02.01z"})})}const Ba={icon:(0,s.jsx)(Ea,{}),title:(0,s.jsx)(p.A,{id:"theme.admonition.danger",description:"The default label used for the Danger admonition (:::danger)",children:"danger"})};const Fa={icon:(0,s.jsx)(Ia,{}),title:(0,s.jsx)(p.A,{id:"theme.admonition.caution",description:"The default label used for the Caution admonition (:::caution)",children:"caution"})};const Na={...{note:ba,tip:Ta,info:Sa,warning:function(t){return(0,s.jsx)(ka,{...La,...t,className:(0,u.A)("alert alert--warning",t.className),children:t.children})},danger:function(t){return(0,s.jsx)(ka,{...Ba,...t,className:(0,u.A)("alert alert--danger",t.className),children:t.children})}},...{secondary:t=>(0,s.jsx)(ba,{title:"secondary",...t}),important:t=>(0,s.jsx)(Sa,{title:"important",...t}),success:t=>(0,s.jsx)(Ta,{title:"success",...t}),caution:function(t){return(0,s.jsx)(ka,{...Fa,...t,className:(0,u.A)("alert alert--warning",t.className),children:t.children})}}};function Ma(t){const e=pa(t),n=(r=e.type,Na[r]||(console.warn(`No admonition component found for admonition type "${r}". Using Info as fallback.`),Na.info));var r;return(0,s.jsx)(n,{...e})}var ja=n(9702);const Oa="docusaurus-mermaid-container";function Ra(){const{colorMode:t}=(0,ps.G)(),e=(0,W.p)().mermaid,n=e.theme[t],{options:i}=e;return(0,r.useMemo)((()=>({startOnLoad:!1,...i,theme:n})),[n,i])}function Da(t){let{text:e,config:n}=t;const[i,o]=(0,r.useState)(null),s=(0,r.useRef)(`mermaid-svg-${Math.round(1e7*Math.random())}`).current,a=Ra(),l=n??a;return(0,r.useEffect)((()=>{(async function(t){let{id:e,text:n,config:r}=t;ja.N.mermaidAPI.initialize(r);try{return await ja.N.render(e,n)}catch(i){throw document.querySelector(`#d${e}`)?.remove(),i}})({id:s,text:e,config:l}).then(o).catch((t=>{o((()=>{throw t}))}))}),[s,e,l]),i}const qa={container:"container_lyt7"};function $a(t){let{renderResult:e}=t;const n=(0,r.useRef)(null);return(0,r.useEffect)((()=>{const t=n.current;e.bindFunctions?.(t)}),[e]),(0,s.jsx)("div",{ref:n,className:`${Oa} ${qa.container}`,dangerouslySetInnerHTML:{__html:e.svg}})}function Pa(t){let{value:e}=t;const n=Da({text:e});return null===n?null:(0,s.jsx)($a,{renderResult:n})}const za={Head:gt.A,details:la,Details:la,code:function(t){return function(t){return void 0!==t.children&&r.Children.toArray(t.children).every((t=>"string"==typeof t&&!t.includes("\n")))}(t)?(0,s.jsx)(Qs,{...t}):(0,s.jsx)(Zs,{...t})},a:function(t){return(0,s.jsx)(f.A,{...t})},pre:function(t){return(0,s.jsx)(s.Fragment,{children:t.children})},ul:function(t){return(0,s.jsx)("ul",{...t,className:ua(t.className)})},li:function(t){return(0,ta.A)().collectAnchor(t.id),(0,s.jsx)("li",{...t})},img:function(t){return(0,s.jsx)("img",{decoding:"async",loading:"lazy",...t,className:(e=t.className,(0,u.A)(e,da.img))});var e},h1:t=>(0,s.jsx)(ca,{as:"h1",...t}),h2:t=>(0,s.jsx)(ca,{as:"h2",...t}),h3:t=>(0,s.jsx)(ca,{as:"h3",...t}),h4:t=>(0,s.jsx)(ca,{as:"h4",...t}),h5:t=>(0,s.jsx)(ca,{as:"h5",...t}),h6:t=>(0,s.jsx)(ca,{as:"h6",...t}),admonition:Ma,mermaid:function(t){return(0,s.jsx)(ms.A,{fallback:t=>(0,s.jsx)(ds.MN,{...t}),children:(0,s.jsx)(Pa,{...t})})}};function Ua(t){let{children:e}=t;return(0,s.jsx)(mt.x,{components:za,children:e})}function Wa(t){let{children:e}=t;const n=function(){const{metadata:t,frontMatter:e,contentTitle:n}=c();return e.hide_title||void 0!==n?null:t.title}();return(0,s.jsxs)("div",{className:(0,u.A)(_.G.docs.docMarkdown,"markdown"),children:[n&&(0,s.jsx)("header",{children:(0,s.jsx)(ft.A,{as:"h1",children:n})}),(0,s.jsx)(Ua,{children:e})]})}var Ha=n(1754),Va=n(9169),Ya=n(6025);function Ga(t){return(0,s.jsx)("svg",{viewBox:"0 0 24 24",...t,children:(0,s.jsx)("path",{d:"M10 19v-5h4v5c0 .55.45 1 1 1h3c.55 0 1-.45 1-1v-7h1.7c.46 0 .68-.57.33-.87L12.67 3.6c-.38-.34-.96-.34-1.34 0l-8.36 7.53c-.34.3-.13.87.33.87H5v7c0 .55.45 1 1 1h3c.55 0 1-.45 1-1z",fill:"currentColor"})})}const Xa={breadcrumbHomeIcon:"breadcrumbHomeIcon_YNFT"};function Ka(){const t=(0,Ya.Ay)("/");return(0,s.jsx)("li",{className:"breadcrumbs__item",children:(0,s.jsx)(f.A,{"aria-label":(0,p.T)({id:"theme.docs.breadcrumbs.home",message:"Home page",description:"The ARIA label for the home page in the breadcrumbs"}),className:"breadcrumbs__link",href:t,children:(0,s.jsx)(Ga,{className:Xa.breadcrumbHomeIcon})})})}const Za={breadcrumbsContainer:"breadcrumbsContainer_Z_bl"};function Ja(t){let{children:e,href:n,isLast:r}=t;const i="breadcrumbs__link";return r?(0,s.jsx)("span",{className:i,itemProp:"name",children:e}):n?(0,s.jsx)(f.A,{className:i,href:n,itemProp:"item",children:(0,s.jsx)("span",{itemProp:"name",children:e})}):(0,s.jsx)("span",{className:i,children:e})}function Qa(t){let{children:e,active:n,index:r,addMicrodata:i}=t;return(0,s.jsxs)("li",{...i&&{itemScope:!0,itemProp:"itemListElement",itemType:"https://schema.org/ListItem"},className:(0,u.A)("breadcrumbs__item",{"breadcrumbs__item--active":n}),children:[e,(0,s.jsx)("meta",{itemProp:"position",content:String(r+1)})]})}function tl(){const t=(0,Ha.OF)(),e=(0,Va.Dt)();return t?(0,s.jsx)("nav",{className:(0,u.A)(_.G.docs.docBreadcrumbs,Za.breadcrumbsContainer),"aria-label":(0,p.T)({id:"theme.docs.breadcrumbs.navAriaLabel",message:"Breadcrumbs",description:"The ARIA label for the breadcrumbs"}),children:(0,s.jsxs)("ul",{className:"breadcrumbs",itemScope:!0,itemType:"https://schema.org/BreadcrumbList",children:[e&&(0,s.jsx)(Ka,{}),t.map(((e,n)=>{const r=n===t.length-1,i="category"===e.type&&e.linkUnlisted?void 0:e.href;return(0,s.jsx)(Qa,{active:r,index:n,addMicrodata:!!i,children:(0,s.jsx)(Ja,{href:i,isLast:r,children:e.label})},n)}))]})}):null}function el(){return(0,s.jsx)(p.A,{id:"theme.unlistedContent.title",description:"The unlisted content banner title",children:"Unlisted page"})}function nl(){return(0,s.jsx)(p.A,{id:"theme.unlistedContent.message",description:"The unlisted content banner message",children:"This page is unlisted. Search engines will not index it, and only users having a direct link can access it."})}function rl(){return(0,s.jsx)(gt.A,{children:(0,s.jsx)("meta",{name:"robots",content:"noindex, nofollow"})})}function il(t){let{className:e}=t;return(0,s.jsx)(Ma,{type:"caution",title:(0,s.jsx)(el,{}),className:(0,u.A)(e,_.G.common.unlistedBanner),children:(0,s.jsx)(nl,{})})}function ol(t){return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(rl,{}),(0,s.jsx)(il,{...t})]})}const sl={docItemContainer:"docItemContainer_Djhp",docItemCol:"docItemCol_VOVn"};function al(t){let{children:e}=t;const n=function(){const{frontMatter:t,toc:e}=c(),n=(0,d.l)(),r=t.hide_table_of_contents,i=!r&&e.length>0;return{hidden:r,mobile:i?(0,s.jsx)(ot,{}):void 0,desktop:!i||"desktop"!==n&&"ssr"!==n?void 0:(0,s.jsx)(ht,{})}}(),{metadata:{unlisted:r}}=c();return(0,s.jsxs)("div",{className:"row",children:[(0,s.jsxs)("div",{className:(0,u.A)("col",!n.hidden&&sl.docItemCol),children:[r&&(0,s.jsx)(ol,{}),(0,s.jsx)(S,{}),(0,s.jsxs)("div",{className:sl.docItemContainer,children:[(0,s.jsxs)("article",{children:[(0,s.jsx)(tl,{}),(0,s.jsx)(I,{}),n.mobile,(0,s.jsx)(Wa,{children:e}),(0,s.jsx)(z,{})]}),(0,s.jsx)(y,{})]})]}),n.desktop&&(0,s.jsx)("div",{className:"col col--3",children:n.desktop})]})}function ll(t){const e=`docs-doc-id-${t.content.metadata.id}`,n=t.content;return(0,s.jsx)(l,{content:t.content,children:(0,s.jsxs)(i.e3,{className:e,children:[(0,s.jsx)(h,{}),(0,s.jsx)(al,{children:(0,s.jsx)(n,{})})]})})}},4353:function(t){t.exports=function(){"use strict";var t=1e3,e=6e4,n=36e5,r="millisecond",i="second",o="minute",s="hour",a="day",l="week",c="month",h="quarter",u="year",d="date",p="Invalid Date",f=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,m=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,g={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(t){var e=["th","st","nd","rd"],n=t%100;return"["+t+(e[(n-20)%10]||e[n]||e[0])+"]"}},y=function(t,e,n){var r=String(t);return!r||r.length>=e?t:""+Array(e+1-r.length).join(n)+t},k={s:y,z:function(t){var e=-t.utcOffset(),n=Math.abs(e),r=Math.floor(n/60),i=n%60;return(e<=0?"+":"-")+y(r,2,"0")+":"+y(i,2,"0")},m:function t(e,n){if(e.date()<n.date())return-t(n,e);var r=12*(n.year()-e.year())+(n.month()-e.month()),i=e.clone().add(r,c),o=n-i<0,s=e.clone().add(r+(o?-1:1),c);return+(-(r+(n-i)/(o?i-s:s-i))||0)},a:function(t){return t<0?Math.ceil(t)||0:Math.floor(t)},p:function(t){return{M:c,y:u,w:l,d:a,D:d,h:s,m:o,s:i,ms:r,Q:h}[t]||String(t||"").toLowerCase().replace(/s$/,"")},u:function(t){return void 0===t}},x="en",_={};_[x]=g;var b="$isDayjsObject",C=function(t){return t instanceof w||!(!t||!t[b])},v=function t(e,n,r){var i;if(!e)return x;if("string"==typeof e){var o=e.toLowerCase();_[o]&&(i=o),n&&(_[o]=n,i=o);var s=e.split("-");if(!i&&s.length>1)return t(s[0])}else{var a=e.name;_[a]=e,i=a}return!r&&i&&(x=i),i||!r&&x},T=function(t,e){if(C(t))return t.clone();var n="object"==typeof e?e:{};return n.date=t,n.args=arguments,new w(n)},A=k;A.l=v,A.i=C,A.w=function(t,e){return T(t,{locale:e.$L,utc:e.$u,x:e.$x,$offset:e.$offset})};var w=function(){function g(t){this.$L=v(t.locale,null,!0),this.parse(t),this.$x=this.$x||t.x||{},this[b]=!0}var y=g.prototype;return y.parse=function(t){this.$d=function(t){var e=t.date,n=t.utc;if(null===e)return new Date(NaN);if(A.u(e))return new Date;if(e instanceof Date)return new Date(e);if("string"==typeof e&&!/Z$/i.test(e)){var r=e.match(f);if(r){var i=r[2]-1||0,o=(r[7]||"0").substring(0,3);return n?new Date(Date.UTC(r[1],i,r[3]||1,r[4]||0,r[5]||0,r[6]||0,o)):new Date(r[1],i,r[3]||1,r[4]||0,r[5]||0,r[6]||0,o)}}return new Date(e)}(t),this.init()},y.init=function(){var t=this.$d;this.$y=t.getFullYear(),this.$M=t.getMonth(),this.$D=t.getDate(),this.$W=t.getDay(),this.$H=t.getHours(),this.$m=t.getMinutes(),this.$s=t.getSeconds(),this.$ms=t.getMilliseconds()},y.$utils=function(){return A},y.isValid=function(){return!(this.$d.toString()===p)},y.isSame=function(t,e){var n=T(t);return this.startOf(e)<=n&&n<=this.endOf(e)},y.isAfter=function(t,e){return T(t)<this.startOf(e)},y.isBefore=function(t,e){return this.endOf(e)<T(t)},y.$g=function(t,e,n){return A.u(t)?this[e]:this.set(n,t)},y.unix=function(){return Math.floor(this.valueOf()/1e3)},y.valueOf=function(){return this.$d.getTime()},y.startOf=function(t,e){var n=this,r=!!A.u(e)||e,h=A.p(t),p=function(t,e){var i=A.w(n.$u?Date.UTC(n.$y,e,t):new Date(n.$y,e,t),n);return r?i:i.endOf(a)},f=function(t,e){return A.w(n.toDate()[t].apply(n.toDate("s"),(r?[0,0,0,0]:[23,59,59,999]).slice(e)),n)},m=this.$W,g=this.$M,y=this.$D,k="set"+(this.$u?"UTC":"");switch(h){case u:return r?p(1,0):p(31,11);case c:return r?p(1,g):p(0,g+1);case l:var x=this.$locale().weekStart||0,_=(m<x?m+7:m)-x;return p(r?y-_:y+(6-_),g);case a:case d:return f(k+"Hours",0);case s:return f(k+"Minutes",1);case o:return f(k+"Seconds",2);case i:return f(k+"Milliseconds",3);default:return this.clone()}},y.endOf=function(t){return this.startOf(t,!1)},y.$set=function(t,e){var n,l=A.p(t),h="set"+(this.$u?"UTC":""),p=(n={},n[a]=h+"Date",n[d]=h+"Date",n[c]=h+"Month",n[u]=h+"FullYear",n[s]=h+"Hours",n[o]=h+"Minutes",n[i]=h+"Seconds",n[r]=h+"Milliseconds",n)[l],f=l===a?this.$D+(e-this.$W):e;if(l===c||l===u){var m=this.clone().set(d,1);m.$d[p](f),m.init(),this.$d=m.set(d,Math.min(this.$D,m.daysInMonth())).$d}else p&&this.$d[p](f);return this.init(),this},y.set=function(t,e){return this.clone().$set(t,e)},y.get=function(t){return this[A.p(t)]()},y.add=function(r,h){var d,p=this;r=Number(r);var f=A.p(h),m=function(t){var e=T(p);return A.w(e.date(e.date()+Math.round(t*r)),p)};if(f===c)return this.set(c,this.$M+r);if(f===u)return this.set(u,this.$y+r);if(f===a)return m(1);if(f===l)return m(7);var g=(d={},d[o]=e,d[s]=n,d[i]=t,d)[f]||1,y=this.$d.getTime()+r*g;return A.w(y,this)},y.subtract=function(t,e){return this.add(-1*t,e)},y.format=function(t){var e=this,n=this.$locale();if(!this.isValid())return n.invalidDate||p;var r=t||"YYYY-MM-DDTHH:mm:ssZ",i=A.z(this),o=this.$H,s=this.$m,a=this.$M,l=n.weekdays,c=n.months,h=n.meridiem,u=function(t,n,i,o){return t&&(t[n]||t(e,r))||i[n].slice(0,o)},d=function(t){return A.s(o%12||12,t,"0")},f=h||function(t,e,n){var r=t<12?"AM":"PM";return n?r.toLowerCase():r};return r.replace(m,(function(t,r){return r||function(t){switch(t){case"YY":return String(e.$y).slice(-2);case"YYYY":return A.s(e.$y,4,"0");case"M":return a+1;case"MM":return A.s(a+1,2,"0");case"MMM":return u(n.monthsShort,a,c,3);case"MMMM":return u(c,a);case"D":return e.$D;case"DD":return A.s(e.$D,2,"0");case"d":return String(e.$W);case"dd":return u(n.weekdaysMin,e.$W,l,2);case"ddd":return u(n.weekdaysShort,e.$W,l,3);case"dddd":return l[e.$W];case"H":return String(o);case"HH":return A.s(o,2,"0");case"h":return d(1);case"hh":return d(2);case"a":return f(o,s,!0);case"A":return f(o,s,!1);case"m":return String(s);case"mm":return A.s(s,2,"0");case"s":return String(e.$s);case"ss":return A.s(e.$s,2,"0");case"SSS":return A.s(e.$ms,3,"0");case"Z":return i}return null}(t)||i.replace(":","")}))},y.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},y.diff=function(r,d,p){var f,m=this,g=A.p(d),y=T(r),k=(y.utcOffset()-this.utcOffset())*e,x=this-y,_=function(){return A.m(m,y)};switch(g){case u:f=_()/12;break;case c:f=_();break;case h:f=_()/3;break;case l:f=(x-k)/6048e5;break;case a:f=(x-k)/864e5;break;case s:f=x/n;break;case o:f=x/e;break;case i:f=x/t;break;default:f=x}return p?f:A.a(f)},y.daysInMonth=function(){return this.endOf(c).$D},y.$locale=function(){return _[this.$L]},y.locale=function(t,e){if(!t)return this.$L;var n=this.clone(),r=v(t,e,!0);return r&&(n.$L=r),n},y.clone=function(){return A.w(this.$d,this)},y.toDate=function(){return new Date(this.valueOf())},y.toJSON=function(){return this.isValid()?this.toISOString():null},y.toISOString=function(){return this.$d.toISOString()},y.toString=function(){return this.$d.toUTCString()},g}(),S=w.prototype;return T.prototype=S,[["$ms",r],["$s",i],["$m",o],["$H",s],["$W",a],["$M",c],["$y",u],["$D",d]].forEach((function(t){S[t[1]]=function(e){return this.$g(e,t[0],t[1])}})),T.extend=function(t,e){return t.$i||(t(e,w,T),t.$i=!0),T},T.locale=v,T.isDayjs=C,T.unix=function(t){return T(1e3*t)},T.en=_[x],T.Ls=_,T.p={},T}()},2838:function(t){t.exports=function(){"use strict";const{entries:t,setPrototypeOf:e,isFrozen:n,getPrototypeOf:r,getOwnPropertyDescriptor:i}=Object;let{freeze:o,seal:s,create:a}=Object,{apply:l,construct:c}="undefined"!=typeof Reflect&&Reflect;o||(o=function(t){return t}),s||(s=function(t){return t}),l||(l=function(t,e,n){return t.apply(e,n)}),c||(c=function(t,e){return new t(...e)});const h=v(Array.prototype.forEach),u=v(Array.prototype.pop),d=v(Array.prototype.push),p=v(String.prototype.toLowerCase),f=v(String.prototype.toString),m=v(String.prototype.match),g=v(String.prototype.replace),y=v(String.prototype.indexOf),k=v(String.prototype.trim),x=v(Object.prototype.hasOwnProperty),_=v(RegExp.prototype.test),b=T(TypeError);function C(t){return"number"==typeof t&&isNaN(t)}function v(t){return function(e){for(var n=arguments.length,r=new Array(n>1?n-1:0),i=1;i<n;i++)r[i-1]=arguments[i];return l(t,e,r)}}function T(t){return function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];return c(t,n)}}function A(t,r){let i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:p;e&&e(t,null);let o=r.length;for(;o--;){let e=r[o];if("string"==typeof e){const t=i(e);t!==e&&(n(r)||(r[o]=t),e=t)}t[e]=!0}return t}function w(t){for(let e=0;e<t.length;e++)x(t,e)||(t[e]=null);return t}function S(e){const n=a(null);for(const[r,i]of t(e))x(e,r)&&(Array.isArray(i)?n[r]=w(i):i&&"object"==typeof i&&i.constructor===Object?n[r]=S(i):n[r]=i);return n}function I(t,e){for(;null!==t;){const n=i(t,e);if(n){if(n.get)return v(n.get);if("function"==typeof n.value)return v(n.value)}t=r(t)}function n(){return null}return n}const L=o(["a","abbr","acronym","address","area","article","aside","audio","b","bdi","bdo","big","blink","blockquote","body","br","button","canvas","caption","center","cite","code","col","colgroup","content","data","datalist","dd","decorator","del","details","dfn","dialog","dir","div","dl","dt","element","em","fieldset","figcaption","figure","font","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","img","input","ins","kbd","label","legend","li","main","map","mark","marquee","menu","menuitem","meter","nav","nobr","ol","optgroup","option","output","p","picture","pre","progress","q","rp","rt","ruby","s","samp","section","select","shadow","small","source","spacer","span","strike","strong","style","sub","summary","sup","table","tbody","td","template","textarea","tfoot","th","thead","time","tr","track","tt","u","ul","var","video","wbr"]),E=o(["svg","a","altglyph","altglyphdef","altglyphitem","animatecolor","animatemotion","animatetransform","circle","clippath","defs","desc","ellipse","filter","font","g","glyph","glyphref","hkern","image","line","lineargradient","marker","mask","metadata","mpath","path","pattern","polygon","polyline","radialgradient","rect","stop","style","switch","symbol","text","textpath","title","tref","tspan","view","vkern"]),B=o(["feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence"]),F=o(["animate","color-profile","cursor","discard","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","foreignobject","hatch","hatchpath","mesh","meshgradient","meshpatch","meshrow","missing-glyph","script","set","solidcolor","unknown","use"]),N=o(["math","menclose","merror","mfenced","mfrac","mglyph","mi","mlabeledtr","mmultiscripts","mn","mo","mover","mpadded","mphantom","mroot","mrow","ms","mspace","msqrt","mstyle","msub","msup","msubsup","mtable","mtd","mtext","mtr","munder","munderover","mprescripts"]),M=o(["maction","maligngroup","malignmark","mlongdiv","mscarries","mscarry","msgroup","mstack","msline","msrow","semantics","annotation","annotation-xml","mprescripts","none"]),j=o(["#text"]),O=o(["accept","action","align","alt","autocapitalize","autocomplete","autopictureinpicture","autoplay","background","bgcolor","border","capture","cellpadding","cellspacing","checked","cite","class","clear","color","cols","colspan","controls","controlslist","coords","crossorigin","datetime","decoding","default","dir","disabled","disablepictureinpicture","disableremoteplayback","download","draggable","enctype","enterkeyhint","face","for","headers","height","hidden","high","href","hreflang","id","inputmode","integrity","ismap","kind","label","lang","list","loading","loop","low","max","maxlength","media","method","min","minlength","multiple","muted","name","nonce","noshade","novalidate","nowrap","open","optimum","pattern","placeholder","playsinline","popover","popovertarget","popovertargetaction","poster","preload","pubdate","radiogroup","readonly","rel","required","rev","reversed","role","rows","rowspan","spellcheck","scope","selected","shape","size","sizes","span","srclang","start","src","srcset","step","style","summary","tabindex","title","translate","type","usemap","valign","value","width","wrap","xmlns","slot"]),R=o(["accent-height","accumulate","additive","alignment-baseline","ascent","attributename","attributetype","azimuth","basefrequency","baseline-shift","begin","bias","by","class","clip","clippathunits","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-profile","color-rendering","cx","cy","d","dx","dy","diffuseconstant","direction","display","divisor","dur","edgemode","elevation","end","fill","fill-opacity","fill-rule","filter","filterunits","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","fx","fy","g1","g2","glyph-name","glyphref","gradientunits","gradienttransform","height","href","id","image-rendering","in","in2","k","k1","k2","k3","k4","kerning","keypoints","keysplines","keytimes","lang","lengthadjust","letter-spacing","kernelmatrix","kernelunitlength","lighting-color","local","marker-end","marker-mid","marker-start","markerheight","markerunits","markerwidth","maskcontentunits","maskunits","max","mask","media","method","mode","min","name","numoctaves","offset","operator","opacity","order","orient","orientation","origin","overflow","paint-order","path","pathlength","patterncontentunits","patterntransform","patternunits","points","preservealpha","preserveaspectratio","primitiveunits","r","rx","ry","radius","refx","refy","repeatcount","repeatdur","restart","result","rotate","scale","seed","shape-rendering","specularconstant","specularexponent","spreadmethod","startoffset","stddeviation","stitchtiles","stop-color","stop-opacity","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke","stroke-width","style","surfacescale","systemlanguage","tabindex","targetx","targety","transform","transform-origin","text-anchor","text-decoration","text-rendering","textlength","type","u1","u2","unicode","values","viewbox","visibility","version","vert-adv-y","vert-origin-x","vert-origin-y","width","word-spacing","wrap","writing-mode","xchannelselector","ychannelselector","x","x1","x2","xmlns","y","y1","y2","z","zoomandpan"]),D=o(["accent","accentunder","align","bevelled","close","columnsalign","columnlines","columnspan","denomalign","depth","dir","display","displaystyle","encoding","fence","frame","height","href","id","largeop","length","linethickness","lspace","lquote","mathbackground","mathcolor","mathsize","mathvariant","maxsize","minsize","movablelimits","notation","numalign","open","rowalign","rowlines","rowspacing","rowspan","rspace","rquote","scriptlevel","scriptminsize","scriptsizemultiplier","selection","separator","separators","stretchy","subscriptshift","supscriptshift","symmetric","voffset","width","xmlns"]),q=o(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),$=s(/\{\{[\w\W]*|[\w\W]*\}\}/gm),P=s(/<%[\w\W]*|[\w\W]*%>/gm),z=s(/\${[\w\W]*}/gm),U=s(/^data-[\-\w.\u00B7-\uFFFF]/),W=s(/^aria-[\-\w]+$/),H=s(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),V=s(/^(?:\w+script|data):/i),Y=s(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),G=s(/^html$/i),X=s(/^[a-z][.\w]*(-[.\w]+)+$/i);var K=Object.freeze({__proto__:null,MUSTACHE_EXPR:$,ERB_EXPR:P,TMPLIT_EXPR:z,DATA_ATTR:U,ARIA_ATTR:W,IS_ALLOWED_URI:H,IS_SCRIPT_OR_DATA:V,ATTR_WHITESPACE:Y,DOCTYPE_NAME:G,CUSTOM_ELEMENT:X});const Z={element:1,attribute:2,text:3,cdataSection:4,entityReference:5,entityNode:6,progressingInstruction:7,comment:8,document:9,documentType:10,documentFragment:11,notation:12},J=function(){return"undefined"==typeof window?null:window},Q=function(t,e){if("object"!=typeof t||"function"!=typeof t.createPolicy)return null;let n=null;const r="data-tt-policy-suffix";e&&e.hasAttribute(r)&&(n=e.getAttribute(r));const i="dompurify"+(n?"#"+n:"");try{return t.createPolicy(i,{createHTML:t=>t,createScriptURL:t=>t})}catch(o){return console.warn("TrustedTypes policy "+i+" could not be created."),null}};function tt(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:J();const n=t=>tt(t);if(n.version="3.1.4",n.removed=[],!e||!e.document||e.document.nodeType!==Z.document)return n.isSupported=!1,n;let{document:r}=e;const i=r,s=i.currentScript,{DocumentFragment:l,HTMLTemplateElement:c,Node:v,Element:T,NodeFilter:w,NamedNodeMap:$=e.NamedNodeMap||e.MozNamedAttrMap,HTMLFormElement:P,DOMParser:z,trustedTypes:U}=e,W=T.prototype,V=I(W,"cloneNode"),Y=I(W,"nextSibling"),X=I(W,"childNodes"),et=I(W,"parentNode");if("function"==typeof c){const t=r.createElement("template");t.content&&t.content.ownerDocument&&(r=t.content.ownerDocument)}let nt,rt="";const{implementation:it,createNodeIterator:ot,createDocumentFragment:st,getElementsByTagName:at}=r,{importNode:lt}=i;let ct={};n.isSupported="function"==typeof t&&"function"==typeof et&&it&&void 0!==it.createHTMLDocument;const{MUSTACHE_EXPR:ht,ERB_EXPR:ut,TMPLIT_EXPR:dt,DATA_ATTR:pt,ARIA_ATTR:ft,IS_SCRIPT_OR_DATA:mt,ATTR_WHITESPACE:gt,CUSTOM_ELEMENT:yt}=K;let{IS_ALLOWED_URI:kt}=K,xt=null;const _t=A({},[...L,...E,...B,...N,...j]);let bt=null;const Ct=A({},[...O,...R,...D,...q]);let vt=Object.seal(a(null,{tagNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},allowCustomizedBuiltInElements:{writable:!0,configurable:!1,enumerable:!0,value:!1}})),Tt=null,At=null,wt=!0,St=!0,It=!1,Lt=!0,Et=!1,Bt=!0,Ft=!1,Nt=!1,Mt=!1,jt=!1,Ot=!1,Rt=!1,Dt=!0,qt=!1;const $t="user-content-";let Pt=!0,zt=!1,Ut={},Wt=null;const Ht=A({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","noscript","plaintext","script","style","svg","template","thead","title","video","xmp"]);let Vt=null;const Yt=A({},["audio","video","img","source","image","track"]);let Gt=null;const Xt=A({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),Kt="http://www.w3.org/1998/Math/MathML",Zt="http://www.w3.org/2000/svg",Jt="http://www.w3.org/1999/xhtml";let Qt=Jt,te=!1,ee=null;const ne=A({},[Kt,Zt,Jt],f);let re=null;const ie=["application/xhtml+xml","text/html"],oe="text/html";let se=null,ae=null;const le=255,ce=r.createElement("form"),he=function(t){return t instanceof RegExp||t instanceof Function},ue=function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(!ae||ae!==t){if(t&&"object"==typeof t||(t={}),t=S(t),re=-1===ie.indexOf(t.PARSER_MEDIA_TYPE)?oe:t.PARSER_MEDIA_TYPE,se="application/xhtml+xml"===re?f:p,xt=x(t,"ALLOWED_TAGS")?A({},t.ALLOWED_TAGS,se):_t,bt=x(t,"ALLOWED_ATTR")?A({},t.ALLOWED_ATTR,se):Ct,ee=x(t,"ALLOWED_NAMESPACES")?A({},t.ALLOWED_NAMESPACES,f):ne,Gt=x(t,"ADD_URI_SAFE_ATTR")?A(S(Xt),t.ADD_URI_SAFE_ATTR,se):Xt,Vt=x(t,"ADD_DATA_URI_TAGS")?A(S(Yt),t.ADD_DATA_URI_TAGS,se):Yt,Wt=x(t,"FORBID_CONTENTS")?A({},t.FORBID_CONTENTS,se):Ht,Tt=x(t,"FORBID_TAGS")?A({},t.FORBID_TAGS,se):{},At=x(t,"FORBID_ATTR")?A({},t.FORBID_ATTR,se):{},Ut=!!x(t,"USE_PROFILES")&&t.USE_PROFILES,wt=!1!==t.ALLOW_ARIA_ATTR,St=!1!==t.ALLOW_DATA_ATTR,It=t.ALLOW_UNKNOWN_PROTOCOLS||!1,Lt=!1!==t.ALLOW_SELF_CLOSE_IN_ATTR,Et=t.SAFE_FOR_TEMPLATES||!1,Bt=!1!==t.SAFE_FOR_XML,Ft=t.WHOLE_DOCUMENT||!1,jt=t.RETURN_DOM||!1,Ot=t.RETURN_DOM_FRAGMENT||!1,Rt=t.RETURN_TRUSTED_TYPE||!1,Mt=t.FORCE_BODY||!1,Dt=!1!==t.SANITIZE_DOM,qt=t.SANITIZE_NAMED_PROPS||!1,Pt=!1!==t.KEEP_CONTENT,zt=t.IN_PLACE||!1,kt=t.ALLOWED_URI_REGEXP||H,Qt=t.NAMESPACE||Jt,vt=t.CUSTOM_ELEMENT_HANDLING||{},t.CUSTOM_ELEMENT_HANDLING&&he(t.CUSTOM_ELEMENT_HANDLING.tagNameCheck)&&(vt.tagNameCheck=t.CUSTOM_ELEMENT_HANDLING.tagNameCheck),t.CUSTOM_ELEMENT_HANDLING&&he(t.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)&&(vt.attributeNameCheck=t.CUSTOM_ELEMENT_HANDLING.attributeNameCheck),t.CUSTOM_ELEMENT_HANDLING&&"boolean"==typeof t.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements&&(vt.allowCustomizedBuiltInElements=t.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements),Et&&(St=!1),Ot&&(jt=!0),Ut&&(xt=A({},j),bt=[],!0===Ut.html&&(A(xt,L),A(bt,O)),!0===Ut.svg&&(A(xt,E),A(bt,R),A(bt,q)),!0===Ut.svgFilters&&(A(xt,B),A(bt,R),A(bt,q)),!0===Ut.mathMl&&(A(xt,N),A(bt,D),A(bt,q))),t.ADD_TAGS&&(xt===_t&&(xt=S(xt)),A(xt,t.ADD_TAGS,se)),t.ADD_ATTR&&(bt===Ct&&(bt=S(bt)),A(bt,t.ADD_ATTR,se)),t.ADD_URI_SAFE_ATTR&&A(Gt,t.ADD_URI_SAFE_ATTR,se),t.FORBID_CONTENTS&&(Wt===Ht&&(Wt=S(Wt)),A(Wt,t.FORBID_CONTENTS,se)),Pt&&(xt["#text"]=!0),Ft&&A(xt,["html","head","body"]),xt.table&&(A(xt,["tbody"]),delete Tt.tbody),t.TRUSTED_TYPES_POLICY){if("function"!=typeof t.TRUSTED_TYPES_POLICY.createHTML)throw b('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');if("function"!=typeof t.TRUSTED_TYPES_POLICY.createScriptURL)throw b('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');nt=t.TRUSTED_TYPES_POLICY,rt=nt.createHTML("")}else void 0===nt&&(nt=Q(U,s)),null!==nt&&"string"==typeof rt&&(rt=nt.createHTML(""));o&&o(t),ae=t}},de=A({},["mi","mo","mn","ms","mtext"]),pe=A({},["foreignobject","annotation-xml"]),fe=A({},["title","style","font","a","script"]),me=A({},[...E,...B,...F]),ge=A({},[...N,...M]),ye=function(t){let e=et(t);e&&e.tagName||(e={namespaceURI:Qt,tagName:"template"});const n=p(t.tagName),r=p(e.tagName);return!!ee[t.namespaceURI]&&(t.namespaceURI===Zt?e.namespaceURI===Jt?"svg"===n:e.namespaceURI===Kt?"svg"===n&&("annotation-xml"===r||de[r]):Boolean(me[n]):t.namespaceURI===Kt?e.namespaceURI===Jt?"math"===n:e.namespaceURI===Zt?"math"===n&&pe[r]:Boolean(ge[n]):t.namespaceURI===Jt?!(e.namespaceURI===Zt&&!pe[r])&&!(e.namespaceURI===Kt&&!de[r])&&!ge[n]&&(fe[n]||!me[n]):!("application/xhtml+xml"!==re||!ee[t.namespaceURI]))},ke=function(t){d(n.removed,{element:t});try{t.parentNode.removeChild(t)}catch(e){t.remove()}},xe=function(t,e){try{d(n.removed,{attribute:e.getAttributeNode(t),from:e})}catch(r){d(n.removed,{attribute:null,from:e})}if(e.removeAttribute(t),"is"===t&&!bt[t])if(jt||Ot)try{ke(e)}catch(r){}else try{e.setAttribute(t,"")}catch(r){}},_e=function(t){let e=null,n=null;if(Mt)t="<remove></remove>"+t;else{const e=m(t,/^[\r\n\t ]+/);n=e&&e[0]}"application/xhtml+xml"===re&&Qt===Jt&&(t='<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>'+t+"</body></html>");const i=nt?nt.createHTML(t):t;if(Qt===Jt)try{e=(new z).parseFromString(i,re)}catch(s){}if(!e||!e.documentElement){e=it.createDocument(Qt,"template",null);try{e.documentElement.innerHTML=te?rt:i}catch(s){}}const o=e.body||e.documentElement;return t&&n&&o.insertBefore(r.createTextNode(n),o.childNodes[0]||null),Qt===Jt?at.call(e,Ft?"html":"body")[0]:Ft?e.documentElement:o},be=function(t){return ot.call(t.ownerDocument||t,t,w.SHOW_ELEMENT|w.SHOW_COMMENT|w.SHOW_TEXT|w.SHOW_PROCESSING_INSTRUCTION|w.SHOW_CDATA_SECTION,null)},Ce=function(t){return t instanceof P&&(void 0!==t.__depth&&"number"!=typeof t.__depth||void 0!==t.__removalCount&&"number"!=typeof t.__removalCount||"string"!=typeof t.nodeName||"string"!=typeof t.textContent||"function"!=typeof t.removeChild||!(t.attributes instanceof $)||"function"!=typeof t.removeAttribute||"function"!=typeof t.setAttribute||"string"!=typeof t.namespaceURI||"function"!=typeof t.insertBefore||"function"!=typeof t.hasChildNodes)},ve=function(t){return"function"==typeof v&&t instanceof v},Te=function(t,e,r){ct[t]&&h(ct[t],(t=>{t.call(n,e,r,ae)}))},Ae=function(t){let e=null;if(Te("beforeSanitizeElements",t,null),Ce(t))return ke(t),!0;const r=se(t.nodeName);if(Te("uponSanitizeElement",t,{tagName:r,allowedTags:xt}),t.hasChildNodes()&&!ve(t.firstElementChild)&&_(/<[/\w]/g,t.innerHTML)&&_(/<[/\w]/g,t.textContent))return ke(t),!0;if(t.nodeType===Z.progressingInstruction)return ke(t),!0;if(Bt&&t.nodeType===Z.comment&&_(/<[/\w]/g,t.data))return ke(t),!0;if(!xt[r]||Tt[r]){if(!Tt[r]&&Se(r)){if(vt.tagNameCheck instanceof RegExp&&_(vt.tagNameCheck,r))return!1;if(vt.tagNameCheck instanceof Function&&vt.tagNameCheck(r))return!1}if(Pt&&!Wt[r]){const e=et(t)||t.parentNode,n=X(t)||t.childNodes;if(n&&e)for(let r=n.length-1;r>=0;--r){const i=V(n[r],!0);i.__removalCount=(t.__removalCount||0)+1,e.insertBefore(i,Y(t))}}return ke(t),!0}return t instanceof T&&!ye(t)?(ke(t),!0):"noscript"!==r&&"noembed"!==r&&"noframes"!==r||!_(/<\/no(script|embed|frames)/i,t.innerHTML)?(Et&&t.nodeType===Z.text&&(e=t.textContent,h([ht,ut,dt],(t=>{e=g(e,t," ")})),t.textContent!==e&&(d(n.removed,{element:t.cloneNode()}),t.textContent=e)),Te("afterSanitizeElements",t,null),!1):(ke(t),!0)},we=function(t,e,n){if(Dt&&("id"===e||"name"===e)&&(n in r||n in ce||"__depth"===n||"__removalCount"===n))return!1;if(St&&!At[e]&&_(pt,e));else if(wt&&_(ft,e));else if(!bt[e]||At[e]){if(!(Se(t)&&(vt.tagNameCheck instanceof RegExp&&_(vt.tagNameCheck,t)||vt.tagNameCheck instanceof Function&&vt.tagNameCheck(t))&&(vt.attributeNameCheck instanceof RegExp&&_(vt.attributeNameCheck,e)||vt.attributeNameCheck instanceof Function&&vt.attributeNameCheck(e))||"is"===e&&vt.allowCustomizedBuiltInElements&&(vt.tagNameCheck instanceof RegExp&&_(vt.tagNameCheck,n)||vt.tagNameCheck instanceof Function&&vt.tagNameCheck(n))))return!1}else if(Gt[e]);else if(_(kt,g(n,gt,"")));else if("src"!==e&&"xlink:href"!==e&&"href"!==e||"script"===t||0!==y(n,"data:")||!Vt[t])if(It&&!_(mt,g(n,gt,"")));else if(n)return!1;return!0},Se=function(t){return"annotation-xml"!==t&&m(t,yt)},Ie=function(t){Te("beforeSanitizeAttributes",t,null);const{attributes:e}=t;if(!e)return;const r={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:bt};let i=e.length;for(;i--;){const s=e[i],{name:a,namespaceURI:l,value:c}=s,d=se(a);let p="value"===a?c:k(c);if(r.attrName=d,r.attrValue=p,r.keepAttr=!0,r.forceKeepAttr=void 0,Te("uponSanitizeAttribute",t,r),p=r.attrValue,r.forceKeepAttr)continue;if(xe(a,t),!r.keepAttr)continue;if(!Lt&&_(/\/>/i,p)){xe(a,t);continue}if(Bt&&_(/((--!?|])>)|<\/(style|title)/i,p)){xe(a,t);continue}Et&&h([ht,ut,dt],(t=>{p=g(p,t," ")}));const f=se(t.nodeName);if(we(f,d,p)){if(!qt||"id"!==d&&"name"!==d||(xe(a,t),p=$t+p),nt&&"object"==typeof U&&"function"==typeof U.getAttributeType)if(l);else switch(U.getAttributeType(f,d)){case"TrustedHTML":p=nt.createHTML(p);break;case"TrustedScriptURL":p=nt.createScriptURL(p)}try{l?t.setAttributeNS(l,a,p):t.setAttribute(a,p),Ce(t)?ke(t):u(n.removed)}catch(o){}}}Te("afterSanitizeAttributes",t,null)},Le=function t(e){let n=null;const r=be(e);for(Te("beforeSanitizeShadowDOM",e,null);n=r.nextNode();){if(Te("uponSanitizeShadowNode",n,null),Ae(n))continue;const e=et(n);n.nodeType===Z.element&&(e&&e.__depth?n.__depth=(n.__removalCount||0)+e.__depth+1:n.__depth=1),(n.__depth>=le||n.__depth<0||C(n.__depth))&&ke(n),n.content instanceof l&&(n.content.__depth=n.__depth,t(n.content)),Ie(n)}Te("afterSanitizeShadowDOM",e,null)};return n.sanitize=function(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=null,o=null,s=null,a=null;if(te=!t,te&&(t="\x3c!--\x3e"),"string"!=typeof t&&!ve(t)){if("function"!=typeof t.toString)throw b("toString is not a function");if("string"!=typeof(t=t.toString()))throw b("dirty is not a string, aborting")}if(!n.isSupported)return t;if(Nt||ue(e),n.removed=[],"string"==typeof t&&(zt=!1),zt){if(t.nodeName){const e=se(t.nodeName);if(!xt[e]||Tt[e])throw b("root node is forbidden and cannot be sanitized in-place")}}else if(t instanceof v)r=_e("\x3c!----\x3e"),o=r.ownerDocument.importNode(t,!0),o.nodeType===Z.element&&"BODY"===o.nodeName||"HTML"===o.nodeName?r=o:r.appendChild(o);else{if(!jt&&!Et&&!Ft&&-1===t.indexOf("<"))return nt&&Rt?nt.createHTML(t):t;if(r=_e(t),!r)return jt?null:Rt?rt:""}r&&Mt&&ke(r.firstChild);const c=be(zt?t:r);for(;s=c.nextNode();){if(Ae(s))continue;const t=et(s);s.nodeType===Z.element&&(t&&t.__depth?s.__depth=(s.__removalCount||0)+t.__depth+1:s.__depth=1),(s.__depth>=le||s.__depth<0||C(s.__depth))&&ke(s),s.content instanceof l&&(s.content.__depth=s.__depth,Le(s.content)),Ie(s)}if(zt)return t;if(jt){if(Ot)for(a=st.call(r.ownerDocument);r.firstChild;)a.appendChild(r.firstChild);else a=r;return(bt.shadowroot||bt.shadowrootmode)&&(a=lt.call(i,a,!0)),a}let u=Ft?r.outerHTML:r.innerHTML;return Ft&&xt["!doctype"]&&r.ownerDocument&&r.ownerDocument.doctype&&r.ownerDocument.doctype.name&&_(G,r.ownerDocument.doctype.name)&&(u="<!DOCTYPE "+r.ownerDocument.doctype.name+">\n"+u),Et&&h([ht,ut,dt],(t=>{u=g(u,t," ")})),nt&&Rt?nt.createHTML(u):u},n.setConfig=function(){ue(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}),Nt=!0},n.clearConfig=function(){ae=null,Nt=!1},n.isValidAttribute=function(t,e,n){ae||ue({});const r=se(t),i=se(e);return we(r,i,n)},n.addHook=function(t,e){"function"==typeof e&&(ct[t]=ct[t]||[],d(ct[t],e))},n.removeHook=function(t){if(ct[t])return u(ct[t])},n.removeHooks=function(t){ct[t]&&(ct[t]=[])},n.removeAllHooks=function(){ct={}},n}return tt()}()},89:(t,e)=>{"use strict";var n="\n",r=function(){function t(t){this.string=t;for(var e=[0],r=0;r<t.length;)switch(t[r]){case n:r+=1,e.push(r);break;case"\r":t[r+=1]===n&&(r+=1),e.push(r);break;default:r++}this.offsets=e}return t.prototype.locationForIndex=function(t){if(t<0||t>this.string.length)return null;for(var e=0,n=this.offsets;n[e+1]<=t;)e++;return{line:e,column:t-n[e]}},t.prototype.indexForLocation=function(t){var e=t.line,n=t.column;return e<0||e>=this.offsets.length||n<0||n>this.lengthOfLine(e)?null:this.offsets[e]+n},t.prototype.lengthOfLine=function(t){var e=this.offsets[t];return(t===this.offsets.length-1?this.string.length:this.offsets[t+1])-e},t}()},8426:(t,e)=>{function n(t){let e,n=[];for(let r of t.split(",").map((t=>t.trim())))if(/^-?\d+$/.test(r))n.push(parseInt(r,10));else if(e=r.match(/^(-?\d+)(-|\.\.\.?|\u2025|\u2026|\u22EF)(-?\d+)$/)){let[t,r,i,o]=e;if(r&&o){r=parseInt(r),o=parseInt(o);const t=r<o?1:-1;"-"!==i&&".."!==i&&"\u2025"!==i||(o+=t);for(let e=r;e!==o;e+=t)n.push(e)}}return n}e.default=n,t.exports=n},513:(t,e,n)=>{"use strict";function r(t){for(var e=[],n=1;n<arguments.length;n++)e[n-1]=arguments[n];var r=Array.from("string"==typeof t?[t]:t);r[r.length-1]=r[r.length-1].replace(/\r?\n([\t ]*)$/,"");var i=r.reduce((function(t,e){var n=e.match(/\n([\t ]+|(?!\s).)/g);return n?t.concat(n.map((function(t){var e,n;return null!==(n=null===(e=t.match(/[\t ]/g))||void 0===e?void 0:e.length)&&void 0!==n?n:0}))):t}),[]);if(i.length){var o=new RegExp("\n[\t ]{"+Math.min.apply(Math,i)+"}","g");r=r.map((function(t){return t.replace(o,"\n")}))}r[0]=r[0].replace(/^\r?\n/,"");var s=r[0];return e.forEach((function(t,e){var n=s.match(/(?:^|\n)( *)$/),i=n?n[1]:"",o=t;"string"==typeof t&&t.includes("\n")&&(o=String(t).split("\n").map((function(t,e){return 0===e?t:""+i+t})).join("\n")),s+=o+r[e+1]})),s}n.d(e,{T:()=>r})},9361:function(t,e,n){"use strict";var r=this&&this.__spreadArrays||function(){for(var t=0,e=0,n=arguments.length;e<n;e++)t+=arguments[e].length;var r=Array(t),i=0;for(e=0;e<n;e++)for(var o=arguments[e],s=0,a=o.length;s<a;s++,i++)r[i]=o[s];return r};Object.defineProperty(e,"__esModule",{value:!0}),e.Checker=e.createCheckers=void 0;var i=n(1680),o=n(1977),s=n(1680);Object.defineProperty(e,"TArray",{enumerable:!0,get:function(){return s.TArray}}),Object.defineProperty(e,"TEnumType",{enumerable:!0,get:function(){return s.TEnumType}}),Object.defineProperty(e,"TEnumLiteral",{enumerable:!0,get:function(){return s.TEnumLiteral}}),Object.defineProperty(e,"TFunc",{enumerable:!0,get:function(){return s.TFunc}}),Object.defineProperty(e,"TIface",{enumerable:!0,get:function(){return s.TIface}}),Object.defineProperty(e,"TLiteral",{enumerable:!0,get:function(){return s.TLiteral}}),Object.defineProperty(e,"TName",{enumerable:!0,get:function(){return s.TName}}),Object.defineProperty(e,"TOptional",{enumerable:!0,get:function(){return s.TOptional}}),Object.defineProperty(e,"TParam",{enumerable:!0,get:function(){return s.TParam}}),Object.defineProperty(e,"TParamList",{enumerable:!0,get:function(){return s.TParamList}}),Object.defineProperty(e,"TProp",{enumerable:!0,get:function(){return s.TProp}}),Object.defineProperty(e,"TTuple",{enumerable:!0,get:function(){return s.TTuple}}),Object.defineProperty(e,"TType",{enumerable:!0,get:function(){return s.TType}}),Object.defineProperty(e,"TUnion",{enumerable:!0,get:function(){return s.TUnion}}),Object.defineProperty(e,"TIntersection",{enumerable:!0,get:function(){return s.TIntersection}}),Object.defineProperty(e,"array",{enumerable:!0,get:function(){return s.array}}),Object.defineProperty(e,"enumlit",{enumerable:!0,get:function(){return s.enumlit}}),Object.defineProperty(e,"enumtype",{enumerable:!0,get:function(){return s.enumtype}}),Object.defineProperty(e,"func",{enumerable:!0,get:function(){return s.func}}),Object.defineProperty(e,"iface",{enumerable:!0,get:function(){return s.iface}}),Object.defineProperty(e,"lit",{enumerable:!0,get:function(){return s.lit}}),Object.defineProperty(e,"name",{enumerable:!0,get:function(){return s.name}}),Object.defineProperty(e,"opt",{enumerable:!0,get:function(){return s.opt}}),Object.defineProperty(e,"param",{enumerable:!0,get:function(){return s.param}}),Object.defineProperty(e,"tuple",{enumerable:!0,get:function(){return s.tuple}}),Object.defineProperty(e,"union",{enumerable:!0,get:function(){return s.union}}),Object.defineProperty(e,"intersection",{enumerable:!0,get:function(){return s.intersection}}),Object.defineProperty(e,"BasicType",{enumerable:!0,get:function(){return s.BasicType}});var a=n(1977);Object.defineProperty(e,"VError",{enumerable:!0,get:function(){return a.VError}}),e.createCheckers=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];for(var n=Object.assign.apply(Object,r([{},i.basicTypes],t)),o={},s=0,a=t;s<a.length;s++)for(var c=a[s],h=0,u=Object.keys(c);h<u.length;h++){var d=u[h];o[d]=new l(n,c[d])}return o};var l=function(){function t(t,e,n){if(void 0===n&&(n="value"),this.suite=t,this.ttype=e,this._path=n,this.props=new Map,e instanceof i.TIface)for(var r=0,o=e.props;r<o.length;r++){var s=o[r];this.props.set(s.name,s.ttype)}this.checkerPlain=this.ttype.getChecker(t,!1),this.checkerStrict=this.ttype.getChecker(t,!0)}return t.prototype.setReportedPath=function(t){this._path=t},t.prototype.check=function(t){return this._doCheck(this.checkerPlain,t)},t.prototype.test=function(t){return this.checkerPlain(t,new o.NoopContext)},t.prototype.validate=function(t){return this._doValidate(this.checkerPlain,t)},t.prototype.strictCheck=function(t){return this._doCheck(this.checkerStrict,t)},t.prototype.strictTest=function(t){return this.checkerStrict(t,new o.NoopContext)},t.prototype.strictValidate=function(t){return this._doValidate(this.checkerStrict,t)},t.prototype.getProp=function(e){var n=this.props.get(e);if(!n)throw new Error("Type has no property "+e);return new t(this.suite,n,this._path+"."+e)},t.prototype.methodArgs=function(e){var n=this._getMethod(e);return new t(this.suite,n.paramList)},t.prototype.methodResult=function(e){var n=this._getMethod(e);return new t(this.suite,n.result)},t.prototype.getArgs=function(){if(!(this.ttype instanceof i.TFunc))throw new Error("getArgs() applied to non-function");return new t(this.suite,this.ttype.paramList)},t.prototype.getResult=function(){if(!(this.ttype instanceof i.TFunc))throw new Error("getResult() applied to non-function");return new t(this.suite,this.ttype.result)},t.prototype.getType=function(){return this.ttype},t.prototype._doCheck=function(t,e){if(!t(e,new o.NoopContext)){var n=new o.DetailContext;throw t(e,n),n.getError(this._path)}},t.prototype._doValidate=function(t,e){if(t(e,new o.NoopContext))return null;var n=new o.DetailContext;return t(e,n),n.getErrorDetail(this._path)},t.prototype._getMethod=function(t){var e=this.props.get(t);if(!e)throw new Error("Type has no property "+t);if(!(e instanceof i.TFunc))throw new Error("Property "+t+" is not a method");return e},t}();e.Checker=l},1680:function(t,e,n){"use strict";var r,i=this&&this.__extends||(r=function(t,e){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])},r(t,e)},function(t,e){function n(){this.constructor=t}r(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)});Object.defineProperty(e,"__esModule",{value:!0}),e.basicTypes=e.BasicType=e.TParamList=e.TParam=e.param=e.TFunc=e.func=e.TProp=e.TOptional=e.opt=e.TIface=e.iface=e.TEnumLiteral=e.enumlit=e.TEnumType=e.enumtype=e.TIntersection=e.intersection=e.TUnion=e.union=e.TTuple=e.tuple=e.TArray=e.array=e.TLiteral=e.lit=e.TName=e.name=e.TType=void 0;var o=n(1977),s=function(){};function a(t){return"string"==typeof t?c(t):t}function l(t,e){var n=t[e];if(!n)throw new Error("Unknown type "+e);return n}function c(t){return new h(t)}e.TType=s,e.name=c;var h=function(t){function e(e){var n=t.call(this)||this;return n.name=e,n._failMsg="is not a "+e,n}return i(e,t),e.prototype.getChecker=function(t,n,r){var i=this,o=l(t,this.name),s=o.getChecker(t,n,r);return o instanceof A||o instanceof e?s:function(t,e){return!!s(t,e)||e.fail(null,i._failMsg,0)}},e}(s);e.TName=h,e.lit=function(t){return new u(t)};var u=function(t){function e(e){var n=t.call(this)||this;return n.value=e,n.name=JSON.stringify(e),n._failMsg="is not "+n.name,n}return i(e,t),e.prototype.getChecker=function(t,e){var n=this;return function(t,e){return t===n.value||e.fail(null,n._failMsg,-1)}},e}(s);e.TLiteral=u,e.array=function(t){return new d(a(t))};var d=function(t){function e(e){var n=t.call(this)||this;return n.ttype=e,n}return i(e,t),e.prototype.getChecker=function(t,e){var n=this.ttype.getChecker(t,e);return function(t,e){if(!Array.isArray(t))return e.fail(null,"is not an array",0);for(var r=0;r<t.length;r++){if(!n(t[r],e))return e.fail(r,null,1)}return!0}},e}(s);e.TArray=d,e.tuple=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];return new p(t.map((function(t){return a(t)})))};var p=function(t){function e(e){var n=t.call(this)||this;return n.ttypes=e,n}return i(e,t),e.prototype.getChecker=function(t,e){var n=this.ttypes.map((function(n){return n.getChecker(t,e)})),r=function(t,e){if(!Array.isArray(t))return e.fail(null,"is not an array",0);for(var r=0;r<n.length;r++){if(!n[r](t[r],e))return e.fail(r,null,1)}return!0};return e?function(t,e){return!!r(t,e)&&(t.length<=n.length||e.fail(n.length,"is extraneous",2))}:r},e}(s);e.TTuple=p,e.union=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];return new f(t.map((function(t){return a(t)})))};var f=function(t){function e(e){var n=t.call(this)||this;n.ttypes=e;var r=e.map((function(t){return t instanceof h||t instanceof u?t.name:null})).filter((function(t){return t})),i=e.length-r.length;return r.length?(i>0&&r.push(i+" more"),n._failMsg="is none of "+r.join(", ")):n._failMsg="is none of "+i+" types",n}return i(e,t),e.prototype.getChecker=function(t,e){var n=this,r=this.ttypes.map((function(n){return n.getChecker(t,e)}));return function(t,e){for(var i=e.unionResolver(),o=0;o<r.length;o++){if(r[o](t,i.createContext()))return!0}return e.resolveUnion(i),e.fail(null,n._failMsg,0)}},e}(s);e.TUnion=f,e.intersection=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];return new m(t.map((function(t){return a(t)})))};var m=function(t){function e(e){var n=t.call(this)||this;return n.ttypes=e,n}return i(e,t),e.prototype.getChecker=function(t,e){var n=new Set,r=this.ttypes.map((function(r){return r.getChecker(t,e,n)}));return function(t,e){return!!r.every((function(n){return n(t,e)}))||e.fail(null,null,0)}},e}(s);e.TIntersection=m,e.enumtype=function(t){return new g(t)};var g=function(t){function e(e){var n=t.call(this)||this;return n.members=e,n.validValues=new Set,n._failMsg="is not a valid enum value",n.validValues=new Set(Object.keys(e).map((function(t){return e[t]}))),n}return i(e,t),e.prototype.getChecker=function(t,e){var n=this;return function(t,e){return!!n.validValues.has(t)||e.fail(null,n._failMsg,0)}},e}(s);e.TEnumType=g,e.enumlit=function(t,e){return new y(t,e)};var y=function(t){function e(e,n){var r=t.call(this)||this;return r.enumName=e,r.prop=n,r._failMsg="is not "+e+"."+n,r}return i(e,t),e.prototype.getChecker=function(t,e){var n=this,r=l(t,this.enumName);if(!(r instanceof g))throw new Error("Type "+this.enumName+" used in enumlit is not an enum type");var i=r.members[this.prop];if(!r.members.hasOwnProperty(this.prop))throw new Error("Unknown value "+this.enumName+"."+this.prop+" used in enumlit");return function(t,e){return t===i||e.fail(null,n._failMsg,-1)}},e}(s);function k(t){return Object.keys(t).map((function(e){return function(t,e){return e instanceof _?new b(t,e.ttype,!0):new b(t,a(e),!1)}(e,t[e])}))}e.TEnumLiteral=y,e.iface=function(t,e){return new x(t,k(e))};var x=function(t){function e(e,n){var r=t.call(this)||this;return r.bases=e,r.props=n,r.propSet=new Set(n.map((function(t){return t.name}))),r}return i(e,t),e.prototype.getChecker=function(t,e,n){var r=this,i=this.bases.map((function(n){return l(t,n).getChecker(t,e)})),s=this.props.map((function(n){return n.ttype.getChecker(t,e)})),a=new o.NoopContext,c=this.props.map((function(t,e){return!t.isOpt&&!s[e](void 0,a)})),h=function(t,e){if("object"!=typeof t||null===t)return e.fail(null,"is not an object",0);for(var n=0;n<i.length;n++)if(!i[n](t,e))return!1;for(n=0;n<s.length;n++){var o=r.props[n].name,a=t[o];if(void 0===a){if(c[n])return e.fail(o,"is missing",1)}else if(!s[n](a,e))return e.fail(o,null,1)}return!0};if(!e)return h;var u=this.propSet;return n&&(this.propSet.forEach((function(t){return n.add(t)})),u=n),function(t,e){if(!h(t,e))return!1;for(var n in t)if(!u.has(n))return e.fail(n,"is extraneous",2);return!0}},e}(s);e.TIface=x,e.opt=function(t){return new _(a(t))};var _=function(t){function e(e){var n=t.call(this)||this;return n.ttype=e,n}return i(e,t),e.prototype.getChecker=function(t,e){var n=this.ttype.getChecker(t,e);return function(t,e){return void 0===t||n(t,e)}},e}(s);e.TOptional=_;var b=function(t,e,n){this.name=t,this.ttype=e,this.isOpt=n};e.TProp=b,e.func=function(t){for(var e=[],n=1;n<arguments.length;n++)e[n-1]=arguments[n];return new C(new T(e),a(t))};var C=function(t){function e(e,n){var r=t.call(this)||this;return r.paramList=e,r.result=n,r}return i(e,t),e.prototype.getChecker=function(t,e){return function(t,e){return"function"==typeof t||e.fail(null,"is not a function",0)}},e}(s);e.TFunc=C,e.param=function(t,e,n){return new v(t,a(e),Boolean(n))};var v=function(t,e,n){this.name=t,this.ttype=e,this.isOpt=n};e.TParam=v;var T=function(t){function e(e){var n=t.call(this)||this;return n.params=e,n}return i(e,t),e.prototype.getChecker=function(t,e){var n=this,r=this.params.map((function(n){return n.ttype.getChecker(t,e)})),i=new o.NoopContext,s=this.params.map((function(t,e){return!t.isOpt&&!r[e](void 0,i)})),a=function(t,e){if(!Array.isArray(t))return e.fail(null,"is not an array",0);for(var i=0;i<r.length;i++){var o=n.params[i];if(void 0===t[i]){if(s[i])return e.fail(o.name,"is missing",1)}else if(!r[i](t[i],e))return e.fail(o.name,null,1)}return!0};return e?function(t,e){return!!a(t,e)&&(t.length<=r.length||e.fail(r.length,"is extraneous",2))}:a},e}(s);e.TParamList=T;var A=function(t){function e(e,n){var r=t.call(this)||this;return r.validator=e,r.message=n,r}return i(e,t),e.prototype.getChecker=function(t,e){var n=this;return function(t,e){return!!n.validator(t)||e.fail(null,n.message,0)}},e}(s);e.BasicType=A,e.basicTypes={any:new A((function(t){return!0}),"is invalid"),number:new A((function(t){return"number"==typeof t}),"is not a number"),object:new A((function(t){return"object"==typeof t&&t}),"is not an object"),boolean:new A((function(t){return"boolean"==typeof t}),"is not a boolean"),string:new A((function(t){return"string"==typeof t}),"is not a string"),symbol:new A((function(t){return"symbol"==typeof t}),"is not a symbol"),void:new A((function(t){return null==t}),"is not void"),undefined:new A((function(t){return void 0===t}),"is not undefined"),null:new A((function(t){return null===t}),"is not null"),never:new A((function(t){return!1}),"is unexpected"),Date:new A(S("[object Date]"),"is not a Date"),RegExp:new A(S("[object RegExp]"),"is not a RegExp")};var w=Object.prototype.toString;function S(t){return function(e){return"object"==typeof e&&e&&w.call(e)===t}}"undefined"!=typeof Buffer&&(e.basicTypes.Buffer=new A((function(t){return Buffer.isBuffer(t)}),"is not a Buffer"));for(var I=function(t){e.basicTypes[t.name]=new A((function(e){return e instanceof t}),"is not a "+t.name)},L=0,E=[Int8Array,Uint8Array,Uint8ClampedArray,Int16Array,Uint16Array,Int32Array,Uint32Array,Float32Array,Float64Array,ArrayBuffer];L<E.length;L++){I(E[L])}},1977:function(t,e){"use strict";var n,r=this&&this.__extends||(n=function(t,e){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])},n(t,e)},function(t,e){function r(){this.constructor=t}n(t,e),t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)});Object.defineProperty(e,"__esModule",{value:!0}),e.DetailContext=e.NoopContext=e.VError=void 0;var i=function(t){function e(n,r){var i=t.call(this,r)||this;return i.path=n,Object.setPrototypeOf(i,e.prototype),i}return r(e,t),e}(Error);e.VError=i;var o=function(){function t(){}return t.prototype.fail=function(t,e,n){return!1},t.prototype.unionResolver=function(){return this},t.prototype.createContext=function(){return this},t.prototype.resolveUnion=function(t){},t}();e.NoopContext=o;var s=function(){function t(){this._propNames=[""],this._messages=[null],this._score=0}return t.prototype.fail=function(t,e,n){return this._propNames.push(t),this._messages.push(e),this._score+=n,!1},t.prototype.unionResolver=function(){return new a},t.prototype.resolveUnion=function(t){for(var e,n,r=null,i=0,o=t.contexts;i<o.length;i++){var s=o[i];(!r||s._score>=r._score)&&(r=s)}r&&r._score>0&&((e=this._propNames).push.apply(e,r._propNames),(n=this._messages).push.apply(n,r._messages))},t.prototype.getError=function(t){for(var e=[],n=this._propNames.length-1;n>=0;n--){var r=this._propNames[n];t+="number"==typeof r?"["+r+"]":r?"."+r:"";var o=this._messages[n];o&&e.push(t+" "+o)}return new i(t,e.join("; "))},t.prototype.getErrorDetail=function(t){for(var e=[],n=this._propNames.length-1;n>=0;n--){var r=this._propNames[n];t+="number"==typeof r?"["+r+"]":r?"."+r:"";var i=this._messages[n];i&&e.push({path:t,message:i})}var o=null;for(n=e.length-1;n>=0;n--)o&&(e[n].nested=[o]),o=e[n];return o},t}();e.DetailContext=s;var a=function(){function t(){this.contexts=[]}return t.prototype.createContext=function(){var t=new s;return this.contexts.push(t),t},t}()},6312:(t,e,n)=>{"use strict";function r(t,e){let n;if(void 0===e)for(const r of t)null!=r&&(n<r||void 0===n&&r>=r)&&(n=r);else{let r=-1;for(let i of t)null!=(i=e(i,++r,t))&&(n<i||void 0===n&&i>=i)&&(n=i)}return n}function i(t,e){let n;if(void 0===e)for(const r of t)null!=r&&(n>r||void 0===n&&r>=r)&&(n=r);else{let r=-1;for(let i of t)null!=(i=e(i,++r,t))&&(n>i||void 0===n&&i>=i)&&(n=i)}return n}function o(t){return t}n.d(e,{JLW:()=>ca,l78:()=>k,tlR:()=>y,qrM:()=>Ca,Yu4:()=>Ta,IA3:()=>wa,Wi0:()=>Ia,PGM:()=>La,OEq:()=>Ba,y8u:()=>Ma,olC:()=>Oa,IrU:()=>Da,oDi:()=>Pa,Q7f:()=>Ua,cVp:()=>Ha,lUB:()=>da,Lx9:()=>Ya,nVG:()=>el,uxU:()=>nl,Xf2:()=>ol,GZz:()=>al,UPb:()=>cl,dyv:()=>ll,bEH:()=>mr,n8j:()=>ma,T9B:()=>r,jkA:()=>i,rLf:()=>ka,WH:()=>Tr,m4Y:()=>gi,UMr:()=>vr,w7C:()=>Ns,zt:()=>Ms,Ltv:()=>js,Ubm:()=>Os,JWy:()=>Gn,UAC:()=>Ni,DCK:()=>uo,TUC:()=>zi,Agd:()=>Bi,t6C:()=>Si,wXd:()=>Li,ABi:()=>Di,Ui6:()=>Ji,rGn:()=>Ui,ucG:()=>Ii,YPH:()=>Ri,Mol:()=>Pi,PGu:()=>qi,GuW:()=>$i});var s=1,a=2,l=3,c=4,h=1e-6;function u(t){return"translate("+t+",0)"}function d(t){return"translate(0,"+t+")"}function p(t){return e=>+t(e)}function f(t,e){return e=Math.max(0,t.bandwidth()-2*e)/2,t.round()&&(e=Math.round(e)),n=>+t(n)+e}function m(){return!this.__axis}function g(t,e){var n=[],r=null,i=null,g=6,y=6,k=3,x="undefined"!=typeof window&&window.devicePixelRatio>1?0:.5,_=t===s||t===c?-1:1,b=t===c||t===a?"x":"y",C=t===s||t===l?u:d;function v(u){var d=null==r?e.ticks?e.ticks.apply(e,n):e.domain():r,v=null==i?e.tickFormat?e.tickFormat.apply(e,n):o:i,T=Math.max(g,0)+k,A=e.range(),w=+A[0]+x,S=+A[A.length-1]+x,I=(e.bandwidth?f:p)(e.copy(),x),L=u.selection?u.selection():u,E=L.selectAll(".domain").data([null]),B=L.selectAll(".tick").data(d,e).order(),F=B.exit(),N=B.enter().append("g").attr("class","tick"),M=B.select("line"),j=B.select("text");E=E.merge(E.enter().insert("path",".tick").attr("class","domain").attr("stroke","currentColor")),B=B.merge(N),M=M.merge(N.append("line").attr("stroke","currentColor").attr(b+"2",_*g)),j=j.merge(N.append("text").attr("fill","currentColor").attr(b,_*T).attr("dy",t===s?"0em":t===l?"0.71em":"0.32em")),u!==L&&(E=E.transition(u),B=B.transition(u),M=M.transition(u),j=j.transition(u),F=F.transition(u).attr("opacity",h).attr("transform",(function(t){return isFinite(t=I(t))?C(t+x):this.getAttribute("transform")})),N.attr("opacity",h).attr("transform",(function(t){var e=this.parentNode.__axis;return C((e&&isFinite(e=e(t))?e:I(t))+x)}))),F.remove(),E.attr("d",t===c||t===a?y?"M"+_*y+","+w+"H"+x+"V"+S+"H"+_*y:"M"+x+","+w+"V"+S:y?"M"+w+","+_*y+"V"+x+"H"+S+"V"+_*y:"M"+w+","+x+"H"+S),B.attr("opacity",1).attr("transform",(function(t){return C(I(t)+x)})),M.attr(b+"2",_*g),j.attr(b,_*T).text(v),L.filter(m).attr("fill","none").attr("font-size",10).attr("font-family","sans-serif").attr("text-anchor",t===a?"start":t===c?"end":"middle"),L.each((function(){this.__axis=I}))}return v.scale=function(t){return arguments.length?(e=t,v):e},v.ticks=function(){return n=Array.from(arguments),v},v.tickArguments=function(t){return arguments.length?(n=null==t?[]:Array.from(t),v):n.slice()},v.tickValues=function(t){return arguments.length?(r=null==t?null:Array.from(t),v):r&&r.slice()},v.tickFormat=function(t){return arguments.length?(i=t,v):i},v.tickSize=function(t){return arguments.length?(g=y=+t,v):g},v.tickSizeInner=function(t){return arguments.length?(g=+t,v):g},v.tickSizeOuter=function(t){return arguments.length?(y=+t,v):y},v.tickPadding=function(t){return arguments.length?(k=+t,v):k},v.offset=function(t){return arguments.length?(x=+t,v):x},v}function y(t){return g(s,t)}function k(t){return g(l,t)}function x(){}function _(t){return null==t?x:function(){return this.querySelector(t)}}function b(t){return null==t?[]:Array.isArray(t)?t:Array.from(t)}function C(){return[]}function v(t){return null==t?C:function(){return this.querySelectorAll(t)}}function T(t){return function(){return this.matches(t)}}function A(t){return function(e){return e.matches(t)}}var w=Array.prototype.find;function S(){return this.firstElementChild}var I=Array.prototype.filter;function L(){return Array.from(this.children)}function E(t){return new Array(t.length)}function B(t,e){this.ownerDocument=t.ownerDocument,this.namespaceURI=t.namespaceURI,this._next=null,this._parent=t,this.__data__=e}function F(t,e,n,r,i,o){for(var s,a=0,l=e.length,c=o.length;a<c;++a)(s=e[a])?(s.__data__=o[a],r[a]=s):n[a]=new B(t,o[a]);for(;a<l;++a)(s=e[a])&&(i[a]=s)}function N(t,e,n,r,i,o,s){var a,l,c,h=new Map,u=e.length,d=o.length,p=new Array(u);for(a=0;a<u;++a)(l=e[a])&&(p[a]=c=s.call(l,l.__data__,a,e)+"",h.has(c)?i[a]=l:h.set(c,l));for(a=0;a<d;++a)c=s.call(t,o[a],a,o)+"",(l=h.get(c))?(r[a]=l,l.__data__=o[a],h.delete(c)):n[a]=new B(t,o[a]);for(a=0;a<u;++a)(l=e[a])&&h.get(p[a])===l&&(i[a]=l)}function M(t){return t.__data__}function j(t){return"object"==typeof t&&"length"in t?t:Array.from(t)}function O(t,e){return t<e?-1:t>e?1:t>=e?0:NaN}B.prototype={constructor:B,appendChild:function(t){return this._parent.insertBefore(t,this._next)},insertBefore:function(t,e){return this._parent.insertBefore(t,e)},querySelector:function(t){return this._parent.querySelector(t)},querySelectorAll:function(t){return this._parent.querySelectorAll(t)}};var R="http://www.w3.org/1999/xhtml";const D={svg:"http://www.w3.org/2000/svg",xhtml:R,xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/"};function q(t){var e=t+="",n=e.indexOf(":");return n>=0&&"xmlns"!==(e=t.slice(0,n))&&(t=t.slice(n+1)),D.hasOwnProperty(e)?{space:D[e],local:t}:t}function $(t){return function(){this.removeAttribute(t)}}function P(t){return function(){this.removeAttributeNS(t.space,t.local)}}function z(t,e){return function(){this.setAttribute(t,e)}}function U(t,e){return function(){this.setAttributeNS(t.space,t.local,e)}}function W(t,e){return function(){var n=e.apply(this,arguments);null==n?this.removeAttribute(t):this.setAttribute(t,n)}}function H(t,e){return function(){var n=e.apply(this,arguments);null==n?this.removeAttributeNS(t.space,t.local):this.setAttributeNS(t.space,t.local,n)}}function V(t){return t.ownerDocument&&t.ownerDocument.defaultView||t.document&&t||t.defaultView}function Y(t){return function(){this.style.removeProperty(t)}}function G(t,e,n){return function(){this.style.setProperty(t,e,n)}}function X(t,e,n){return function(){var r=e.apply(this,arguments);null==r?this.style.removeProperty(t):this.style.setProperty(t,r,n)}}function K(t,e){return t.style.getPropertyValue(e)||V(t).getComputedStyle(t,null).getPropertyValue(e)}function Z(t){return function(){delete this[t]}}function J(t,e){return function(){this[t]=e}}function Q(t,e){return function(){var n=e.apply(this,arguments);null==n?delete this[t]:this[t]=n}}function tt(t){return t.trim().split(/^|\s+/)}function et(t){return t.classList||new nt(t)}function nt(t){this._node=t,this._names=tt(t.getAttribute("class")||"")}function rt(t,e){for(var n=et(t),r=-1,i=e.length;++r<i;)n.add(e[r])}function it(t,e){for(var n=et(t),r=-1,i=e.length;++r<i;)n.remove(e[r])}function ot(t){return function(){rt(this,t)}}function st(t){return function(){it(this,t)}}function at(t,e){return function(){(e.apply(this,arguments)?rt:it)(this,t)}}function lt(){this.textContent=""}function ct(t){return function(){this.textContent=t}}function ht(t){return function(){var e=t.apply(this,arguments);this.textContent=null==e?"":e}}function ut(){this.innerHTML=""}function dt(t){return function(){this.innerHTML=t}}function pt(t){return function(){var e=t.apply(this,arguments);this.innerHTML=null==e?"":e}}function ft(){this.nextSibling&&this.parentNode.appendChild(this)}function mt(){this.previousSibling&&this.parentNode.insertBefore(this,this.parentNode.firstChild)}function gt(t){return function(){var e=this.ownerDocument,n=this.namespaceURI;return n===R&&e.documentElement.namespaceURI===R?e.createElement(t):e.createElementNS(n,t)}}function yt(t){return function(){return this.ownerDocument.createElementNS(t.space,t.local)}}function kt(t){var e=q(t);return(e.local?yt:gt)(e)}function xt(){return null}function _t(){var t=this.parentNode;t&&t.removeChild(this)}function bt(){var t=this.cloneNode(!1),e=this.parentNode;return e?e.insertBefore(t,this.nextSibling):t}function Ct(){var t=this.cloneNode(!0),e=this.parentNode;return e?e.insertBefore(t,this.nextSibling):t}function vt(t){return function(){var e=this.__on;if(e){for(var n,r=0,i=-1,o=e.length;r<o;++r)n=e[r],t.type&&n.type!==t.type||n.name!==t.name?e[++i]=n:this.removeEventListener(n.type,n.listener,n.options);++i?e.length=i:delete this.__on}}}function Tt(t,e,n){return function(){var r,i=this.__on,o=function(t){return function(e){t.call(this,e,this.__data__)}}(e);if(i)for(var s=0,a=i.length;s<a;++s)if((r=i[s]).type===t.type&&r.name===t.name)return this.removeEventListener(r.type,r.listener,r.options),this.addEventListener(r.type,r.listener=o,r.options=n),void(r.value=e);this.addEventListener(t.type,o,n),r={type:t.type,name:t.name,value:e,listener:o,options:n},i?i.push(r):this.__on=[r]}}function At(t,e,n){var r=V(t),i=r.CustomEvent;"function"==typeof i?i=new i(e,n):(i=r.document.createEvent("Event"),n?(i.initEvent(e,n.bubbles,n.cancelable),i.detail=n.detail):i.initEvent(e,!1,!1)),t.dispatchEvent(i)}function wt(t,e){return function(){return At(this,t,e)}}function St(t,e){return function(){return At(this,t,e.apply(this,arguments))}}nt.prototype={add:function(t){this._names.indexOf(t)<0&&(this._names.push(t),this._node.setAttribute("class",this._names.join(" ")))},remove:function(t){var e=this._names.indexOf(t);e>=0&&(this._names.splice(e,1),this._node.setAttribute("class",this._names.join(" ")))},contains:function(t){return this._names.indexOf(t)>=0}};var It=[null];function Lt(t,e){this._groups=t,this._parents=e}function Et(){return new Lt([[document.documentElement]],It)}Lt.prototype=Et.prototype={constructor:Lt,select:function(t){"function"!=typeof t&&(t=_(t));for(var e=this._groups,n=e.length,r=new Array(n),i=0;i<n;++i)for(var o,s,a=e[i],l=a.length,c=r[i]=new Array(l),h=0;h<l;++h)(o=a[h])&&(s=t.call(o,o.__data__,h,a))&&("__data__"in o&&(s.__data__=o.__data__),c[h]=s);return new Lt(r,this._parents)},selectAll:function(t){t="function"==typeof t?function(t){return function(){return b(t.apply(this,arguments))}}(t):v(t);for(var e=this._groups,n=e.length,r=[],i=[],o=0;o<n;++o)for(var s,a=e[o],l=a.length,c=0;c<l;++c)(s=a[c])&&(r.push(t.call(s,s.__data__,c,a)),i.push(s));return new Lt(r,i)},selectChild:function(t){return this.select(null==t?S:function(t){return function(){return w.call(this.children,t)}}("function"==typeof t?t:A(t)))},selectChildren:function(t){return this.selectAll(null==t?L:function(t){return function(){return I.call(this.children,t)}}("function"==typeof t?t:A(t)))},filter:function(t){"function"!=typeof t&&(t=T(t));for(var e=this._groups,n=e.length,r=new Array(n),i=0;i<n;++i)for(var o,s=e[i],a=s.length,l=r[i]=[],c=0;c<a;++c)(o=s[c])&&t.call(o,o.__data__,c,s)&&l.push(o);return new Lt(r,this._parents)},data:function(t,e){if(!arguments.length)return Array.from(this,M);var n,r=e?N:F,i=this._parents,o=this._groups;"function"!=typeof t&&(n=t,t=function(){return n});for(var s=o.length,a=new Array(s),l=new Array(s),c=new Array(s),h=0;h<s;++h){var u=i[h],d=o[h],p=d.length,f=j(t.call(u,u&&u.__data__,h,i)),m=f.length,g=l[h]=new Array(m),y=a[h]=new Array(m);r(u,d,g,y,c[h]=new Array(p),f,e);for(var k,x,_=0,b=0;_<m;++_)if(k=g[_]){for(_>=b&&(b=_+1);!(x=y[b])&&++b<m;);k._next=x||null}}return(a=new Lt(a,i))._enter=l,a._exit=c,a},enter:function(){return new Lt(this._enter||this._groups.map(E),this._parents)},exit:function(){return new Lt(this._exit||this._groups.map(E),this._parents)},join:function(t,e,n){var r=this.enter(),i=this,o=this.exit();return"function"==typeof t?(r=t(r))&&(r=r.selection()):r=r.append(t+""),null!=e&&(i=e(i))&&(i=i.selection()),null==n?o.remove():n(o),r&&i?r.merge(i).order():i},merge:function(t){for(var e=t.selection?t.selection():t,n=this._groups,r=e._groups,i=n.length,o=r.length,s=Math.min(i,o),a=new Array(i),l=0;l<s;++l)for(var c,h=n[l],u=r[l],d=h.length,p=a[l]=new Array(d),f=0;f<d;++f)(c=h[f]||u[f])&&(p[f]=c);for(;l<i;++l)a[l]=n[l];return new Lt(a,this._parents)},selection:function(){return this},order:function(){for(var t=this._groups,e=-1,n=t.length;++e<n;)for(var r,i=t[e],o=i.length-1,s=i[o];--o>=0;)(r=i[o])&&(s&&4^r.compareDocumentPosition(s)&&s.parentNode.insertBefore(r,s),s=r);return this},sort:function(t){function e(e,n){return e&&n?t(e.__data__,n.__data__):!e-!n}t||(t=O);for(var n=this._groups,r=n.length,i=new Array(r),o=0;o<r;++o){for(var s,a=n[o],l=a.length,c=i[o]=new Array(l),h=0;h<l;++h)(s=a[h])&&(c[h]=s);c.sort(e)}return new Lt(i,this._parents).order()},call:function(){var t=arguments[0];return arguments[0]=this,t.apply(null,arguments),this},nodes:function(){return Array.from(this)},node:function(){for(var t=this._groups,e=0,n=t.length;e<n;++e)for(var r=t[e],i=0,o=r.length;i<o;++i){var s=r[i];if(s)return s}return null},size:function(){let t=0;for(const e of this)++t;return t},empty:function(){return!this.node()},each:function(t){for(var e=this._groups,n=0,r=e.length;n<r;++n)for(var i,o=e[n],s=0,a=o.length;s<a;++s)(i=o[s])&&t.call(i,i.__data__,s,o);return this},attr:function(t,e){var n=q(t);if(arguments.length<2){var r=this.node();return n.local?r.getAttributeNS(n.space,n.local):r.getAttribute(n)}return this.each((null==e?n.local?P:$:"function"==typeof e?n.local?H:W:n.local?U:z)(n,e))},style:function(t,e,n){return arguments.length>1?this.each((null==e?Y:"function"==typeof e?X:G)(t,e,null==n?"":n)):K(this.node(),t)},property:function(t,e){return arguments.length>1?this.each((null==e?Z:"function"==typeof e?Q:J)(t,e)):this.node()[t]},classed:function(t,e){var n=tt(t+"");if(arguments.length<2){for(var r=et(this.node()),i=-1,o=n.length;++i<o;)if(!r.contains(n[i]))return!1;return!0}return this.each(("function"==typeof e?at:e?ot:st)(n,e))},text:function(t){return arguments.length?this.each(null==t?lt:("function"==typeof t?ht:ct)(t)):this.node().textContent},html:function(t){return arguments.length?this.each(null==t?ut:("function"==typeof t?pt:dt)(t)):this.node().innerHTML},raise:function(){return this.each(ft)},lower:function(){return this.each(mt)},append:function(t){var e="function"==typeof t?t:kt(t);return this.select((function(){return this.appendChild(e.apply(this,arguments))}))},insert:function(t,e){var n="function"==typeof t?t:kt(t),r=null==e?xt:"function"==typeof e?e:_(e);return this.select((function(){return this.insertBefore(n.apply(this,arguments),r.apply(this,arguments)||null)}))},remove:function(){return this.each(_t)},clone:function(t){return this.select(t?Ct:bt)},datum:function(t){return arguments.length?this.property("__data__",t):this.node().__data__},on:function(t,e,n){var r,i,o=function(t){return t.trim().split(/^|\s+/).map((function(t){var e="",n=t.indexOf(".");return n>=0&&(e=t.slice(n+1),t=t.slice(0,n)),{type:t,name:e}}))}(t+""),s=o.length;if(!(arguments.length<2)){for(a=e?Tt:vt,r=0;r<s;++r)this.each(a(o[r],e,n));return this}var a=this.node().__on;if(a)for(var l,c=0,h=a.length;c<h;++c)for(r=0,l=a[c];r<s;++r)if((i=o[r]).type===l.type&&i.name===l.name)return l.value},dispatch:function(t,e){return this.each(("function"==typeof e?St:wt)(t,e))},[Symbol.iterator]:function*(){for(var t=this._groups,e=0,n=t.length;e<n;++e)for(var r,i=t[e],o=0,s=i.length;o<s;++o)(r=i[o])&&(yield r)}};const Bt=Et;var Ft={value:()=>{}};function Nt(){for(var t,e=0,n=arguments.length,r={};e<n;++e){if(!(t=arguments[e]+"")||t in r||/[\s.]/.test(t))throw new Error("illegal type: "+t);r[t]=[]}return new Mt(r)}function Mt(t){this._=t}function jt(t,e){for(var n,r=0,i=t.length;r<i;++r)if((n=t[r]).name===e)return n.value}function Ot(t,e,n){for(var r=0,i=t.length;r<i;++r)if(t[r].name===e){t[r]=Ft,t=t.slice(0,r).concat(t.slice(r+1));break}return null!=n&&t.push({name:e,value:n}),t}Mt.prototype=Nt.prototype={constructor:Mt,on:function(t,e){var n,r,i=this._,o=(r=i,(t+"").trim().split(/^|\s+/).map((function(t){var e="",n=t.indexOf(".");if(n>=0&&(e=t.slice(n+1),t=t.slice(0,n)),t&&!r.hasOwnProperty(t))throw new Error("unknown type: "+t);return{type:t,name:e}}))),s=-1,a=o.length;if(!(arguments.length<2)){if(null!=e&&"function"!=typeof e)throw new Error("invalid callback: "+e);for(;++s<a;)if(n=(t=o[s]).type)i[n]=Ot(i[n],t.name,e);else if(null==e)for(n in i)i[n]=Ot(i[n],t.name,null);return this}for(;++s<a;)if((n=(t=o[s]).type)&&(n=jt(i[n],t.name)))return n},copy:function(){var t={},e=this._;for(var n in e)t[n]=e[n].slice();return new Mt(t)},call:function(t,e){if((n=arguments.length-2)>0)for(var n,r,i=new Array(n),o=0;o<n;++o)i[o]=arguments[o+2];if(!this._.hasOwnProperty(t))throw new Error("unknown type: "+t);for(o=0,n=(r=this._[t]).length;o<n;++o)r[o].value.apply(e,i)},apply:function(t,e,n){if(!this._.hasOwnProperty(t))throw new Error("unknown type: "+t);for(var r=this._[t],i=0,o=r.length;i<o;++i)r[i].value.apply(e,n)}};const Rt=Nt;var Dt,qt,$t=0,Pt=0,zt=0,Ut=1e3,Wt=0,Ht=0,Vt=0,Yt="object"==typeof performance&&performance.now?performance:Date,Gt="object"==typeof window&&window.requestAnimationFrame?window.requestAnimationFrame.bind(window):function(t){setTimeout(t,17)};function Xt(){return Ht||(Gt(Kt),Ht=Yt.now()+Vt)}function Kt(){Ht=0}function Zt(){this._call=this._time=this._next=null}function Jt(t,e,n){var r=new Zt;return r.restart(t,e,n),r}function Qt(){Ht=(Wt=Yt.now())+Vt,$t=Pt=0;try{!function(){Xt(),++$t;for(var t,e=Dt;e;)(t=Ht-e._time)>=0&&e._call.call(void 0,t),e=e._next;--$t}()}finally{$t=0,function(){var t,e,n=Dt,r=1/0;for(;n;)n._call?(r>n._time&&(r=n._time),t=n,n=n._next):(e=n._next,n._next=null,n=t?t._next=e:Dt=e);qt=t,ee(r)}(),Ht=0}}function te(){var t=Yt.now(),e=t-Wt;e>Ut&&(Vt-=e,Wt=t)}function ee(t){$t||(Pt&&(Pt=clearTimeout(Pt)),t-Ht>24?(t<1/0&&(Pt=setTimeout(Qt,t-Yt.now()-Vt)),zt&&(zt=clearInterval(zt))):(zt||(Wt=Yt.now(),zt=setInterval(te,Ut)),$t=1,Gt(Qt)))}function ne(t,e,n){var r=new Zt;return e=null==e?0:+e,r.restart((n=>{r.stop(),t(n+e)}),e,n),r}Zt.prototype=Jt.prototype={constructor:Zt,restart:function(t,e,n){if("function"!=typeof t)throw new TypeError("callback is not a function");n=(null==n?Xt():+n)+(null==e?0:+e),this._next||qt===this||(qt?qt._next=this:Dt=this,qt=this),this._call=t,this._time=n,ee()},stop:function(){this._call&&(this._call=null,this._time=1/0,ee())}};var re=Rt("start","end","cancel","interrupt"),ie=[],oe=0,se=1,ae=2,le=3,ce=4,he=5,ue=6;function de(t,e,n,r,i,o){var s=t.__transition;if(s){if(n in s)return}else t.__transition={};!function(t,e,n){var r,i=t.__transition;function o(t){n.state=se,n.timer.restart(s,n.delay,n.time),n.delay<=t&&s(t-n.delay)}function s(o){var c,h,u,d;if(n.state!==se)return l();for(c in i)if((d=i[c]).name===n.name){if(d.state===le)return ne(s);d.state===ce?(d.state=ue,d.timer.stop(),d.on.call("interrupt",t,t.__data__,d.index,d.group),delete i[c]):+c<e&&(d.state=ue,d.timer.stop(),d.on.call("cancel",t,t.__data__,d.index,d.group),delete i[c])}if(ne((function(){n.state===le&&(n.state=ce,n.timer.restart(a,n.delay,n.time),a(o))})),n.state=ae,n.on.call("start",t,t.__data__,n.index,n.group),n.state===ae){for(n.state=le,r=new Array(u=n.tween.length),c=0,h=-1;c<u;++c)(d=n.tween[c].value.call(t,t.__data__,n.index,n.group))&&(r[++h]=d);r.length=h+1}}function a(e){for(var i=e<n.duration?n.ease.call(null,e/n.duration):(n.timer.restart(l),n.state=he,1),o=-1,s=r.length;++o<s;)r[o].call(t,i);n.state===he&&(n.on.call("end",t,t.__data__,n.index,n.group),l())}function l(){for(var r in n.state=ue,n.timer.stop(),delete i[e],i)return;delete t.__transition}i[e]=n,n.timer=Jt(o,0,n.time)}(t,n,{name:e,index:r,group:i,on:re,tween:ie,time:o.time,delay:o.delay,duration:o.duration,ease:o.ease,timer:null,state:oe})}function pe(t,e){var n=me(t,e);if(n.state>oe)throw new Error("too late; already scheduled");return n}function fe(t,e){var n=me(t,e);if(n.state>le)throw new Error("too late; already running");return n}function me(t,e){var n=t.__transition;if(!n||!(n=n[e]))throw new Error("transition not found");return n}function ge(t,e){return t=+t,e=+e,function(n){return t*(1-n)+e*n}}var ye,ke=180/Math.PI,xe={translateX:0,translateY:0,rotate:0,skewX:0,scaleX:1,scaleY:1};function _e(t,e,n,r,i,o){var s,a,l;return(s=Math.sqrt(t*t+e*e))&&(t/=s,e/=s),(l=t*n+e*r)&&(n-=t*l,r-=e*l),(a=Math.sqrt(n*n+r*r))&&(n/=a,r/=a,l/=a),t*r<e*n&&(t=-t,e=-e,l=-l,s=-s),{translateX:i,translateY:o,rotate:Math.atan2(e,t)*ke,skewX:Math.atan(l)*ke,scaleX:s,scaleY:a}}function be(t,e,n,r){function i(t){return t.length?t.pop()+" ":""}return function(o,s){var a=[],l=[];return o=t(o),s=t(s),function(t,r,i,o,s,a){if(t!==i||r!==o){var l=s.push("translate(",null,e,null,n);a.push({i:l-4,x:ge(t,i)},{i:l-2,x:ge(r,o)})}else(i||o)&&s.push("translate("+i+e+o+n)}(o.translateX,o.translateY,s.translateX,s.translateY,a,l),function(t,e,n,o){t!==e?(t-e>180?e+=360:e-t>180&&(t+=360),o.push({i:n.push(i(n)+"rotate(",null,r)-2,x:ge(t,e)})):e&&n.push(i(n)+"rotate("+e+r)}(o.rotate,s.rotate,a,l),function(t,e,n,o){t!==e?o.push({i:n.push(i(n)+"skewX(",null,r)-2,x:ge(t,e)}):e&&n.push(i(n)+"skewX("+e+r)}(o.skewX,s.skewX,a,l),function(t,e,n,r,o,s){if(t!==n||e!==r){var a=o.push(i(o)+"scale(",null,",",null,")");s.push({i:a-4,x:ge(t,n)},{i:a-2,x:ge(e,r)})}else 1===n&&1===r||o.push(i(o)+"scale("+n+","+r+")")}(o.scaleX,o.scaleY,s.scaleX,s.scaleY,a,l),o=s=null,function(t){for(var e,n=-1,r=l.length;++n<r;)a[(e=l[n]).i]=e.x(t);return a.join("")}}}var Ce=be((function(t){const e=new("function"==typeof DOMMatrix?DOMMatrix:WebKitCSSMatrix)(t+"");return e.isIdentity?xe:_e(e.a,e.b,e.c,e.d,e.e,e.f)}),"px, ","px)","deg)"),ve=be((function(t){return null==t?xe:(ye||(ye=document.createElementNS("http://www.w3.org/2000/svg","g")),ye.setAttribute("transform",t),(t=ye.transform.baseVal.consolidate())?_e((t=t.matrix).a,t.b,t.c,t.d,t.e,t.f):xe)}),", ",")",")");function Te(t,e){var n,r;return function(){var i=fe(this,t),o=i.tween;if(o!==n)for(var s=0,a=(r=n=o).length;s<a;++s)if(r[s].name===e){(r=r.slice()).splice(s,1);break}i.tween=r}}function Ae(t,e,n){var r,i;if("function"!=typeof n)throw new Error;return function(){var o=fe(this,t),s=o.tween;if(s!==r){i=(r=s).slice();for(var a={name:e,value:n},l=0,c=i.length;l<c;++l)if(i[l].name===e){i[l]=a;break}l===c&&i.push(a)}o.tween=i}}function we(t,e,n){var r=t._id;return t.each((function(){var t=fe(this,r);(t.value||(t.value={}))[e]=n.apply(this,arguments)})),function(t){return me(t,r).value[e]}}function Se(t,e,n){t.prototype=e.prototype=n,n.constructor=t}function Ie(t,e){var n=Object.create(t.prototype);for(var r in e)n[r]=e[r];return n}function Le(){}var Ee=.7,Be=1/Ee,Fe="\\s*([+-]?\\d+)\\s*",Ne="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)\\s*",Me="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)%\\s*",je=/^#([0-9a-f]{3,8})$/,Oe=new RegExp(`^rgb\\(${Fe},${Fe},${Fe}\\)$`),Re=new RegExp(`^rgb\\(${Me},${Me},${Me}\\)$`),De=new RegExp(`^rgba\\(${Fe},${Fe},${Fe},${Ne}\\)$`),qe=new RegExp(`^rgba\\(${Me},${Me},${Me},${Ne}\\)$`),$e=new RegExp(`^hsl\\(${Ne},${Me},${Me}\\)$`),Pe=new RegExp(`^hsla\\(${Ne},${Me},${Me},${Ne}\\)$`),ze={aliceblue:15792383,antiquewhite:16444375,aqua:65535,aquamarine:8388564,azure:15794175,beige:16119260,bisque:16770244,black:0,blanchedalmond:16772045,blue:255,blueviolet:9055202,brown:10824234,burlywood:14596231,cadetblue:6266528,chartreuse:8388352,chocolate:13789470,coral:16744272,cornflowerblue:6591981,cornsilk:16775388,crimson:14423100,cyan:65535,darkblue:139,darkcyan:35723,darkgoldenrod:12092939,darkgray:11119017,darkgreen:25600,darkgrey:11119017,darkkhaki:12433259,darkmagenta:9109643,darkolivegreen:5597999,darkorange:16747520,darkorchid:10040012,darkred:9109504,darksalmon:15308410,darkseagreen:9419919,darkslateblue:4734347,darkslategray:3100495,darkslategrey:3100495,darkturquoise:52945,darkviolet:9699539,deeppink:16716947,deepskyblue:49151,dimgray:6908265,dimgrey:6908265,dodgerblue:2003199,firebrick:11674146,floralwhite:16775920,forestgreen:2263842,fuchsia:16711935,gainsboro:14474460,ghostwhite:16316671,gold:16766720,goldenrod:14329120,gray:8421504,green:32768,greenyellow:11403055,grey:8421504,honeydew:15794160,hotpink:16738740,indianred:13458524,indigo:4915330,ivory:16777200,khaki:15787660,lavender:15132410,lavenderblush:16773365,lawngreen:8190976,lemonchiffon:16775885,lightblue:11393254,lightcoral:15761536,lightcyan:14745599,lightgoldenrodyellow:16448210,lightgray:13882323,lightgreen:9498256,lightgrey:13882323,lightpink:16758465,lightsalmon:16752762,lightseagreen:2142890,lightskyblue:8900346,lightslategray:7833753,lightslategrey:7833753,lightsteelblue:11584734,lightyellow:16777184,lime:65280,limegreen:3329330,linen:16445670,magenta:16711935,maroon:8388608,mediumaquamarine:6737322,mediumblue:205,mediumorchid:12211667,mediumpurple:9662683,mediumseagreen:3978097,mediumslateblue:8087790,mediumspringgreen:64154,mediumturquoise:4772300,mediumvioletred:13047173,midnightblue:1644912,mintcream:16121850,mistyrose:16770273,moccasin:16770229,navajowhite:16768685,navy:128,oldlace:16643558,olive:8421376,olivedrab:7048739,orange:16753920,orangered:16729344,orchid:14315734,palegoldenrod:15657130,palegreen:10025880,paleturquoise:11529966,palevioletred:14381203,papayawhip:16773077,peachpuff:16767673,peru:13468991,pink:16761035,plum:14524637,powderblue:11591910,purple:8388736,rebeccapurple:6697881,red:16711680,rosybrown:12357519,royalblue:4286945,saddlebrown:9127187,salmon:16416882,sandybrown:16032864,seagreen:3050327,seashell:16774638,sienna:10506797,silver:12632256,skyblue:8900331,slateblue:6970061,slategray:7372944,slategrey:7372944,snow:16775930,springgreen:65407,steelblue:4620980,tan:13808780,teal:32896,thistle:14204888,tomato:16737095,turquoise:4251856,violet:15631086,wheat:16113331,white:16777215,whitesmoke:16119285,yellow:16776960,yellowgreen:10145074};function Ue(){return this.rgb().formatHex()}function We(){return this.rgb().formatRgb()}function He(t){var e,n;return t=(t+"").trim().toLowerCase(),(e=je.exec(t))?(n=e[1].length,e=parseInt(e[1],16),6===n?Ve(e):3===n?new Ke(e>>8&15|e>>4&240,e>>4&15|240&e,(15&e)<<4|15&e,1):8===n?Ye(e>>24&255,e>>16&255,e>>8&255,(255&e)/255):4===n?Ye(e>>12&15|e>>8&240,e>>8&15|e>>4&240,e>>4&15|240&e,((15&e)<<4|15&e)/255):null):(e=Oe.exec(t))?new Ke(e[1],e[2],e[3],1):(e=Re.exec(t))?new Ke(255*e[1]/100,255*e[2]/100,255*e[3]/100,1):(e=De.exec(t))?Ye(e[1],e[2],e[3],e[4]):(e=qe.exec(t))?Ye(255*e[1]/100,255*e[2]/100,255*e[3]/100,e[4]):(e=$e.exec(t))?nn(e[1],e[2]/100,e[3]/100,1):(e=Pe.exec(t))?nn(e[1],e[2]/100,e[3]/100,e[4]):ze.hasOwnProperty(t)?Ve(ze[t]):"transparent"===t?new Ke(NaN,NaN,NaN,0):null}function Ve(t){return new Ke(t>>16&255,t>>8&255,255&t,1)}function Ye(t,e,n,r){return r<=0&&(t=e=n=NaN),new Ke(t,e,n,r)}function Ge(t){return t instanceof Le||(t=He(t)),t?new Ke((t=t.rgb()).r,t.g,t.b,t.opacity):new Ke}function Xe(t,e,n,r){return 1===arguments.length?Ge(t):new Ke(t,e,n,null==r?1:r)}function Ke(t,e,n,r){this.r=+t,this.g=+e,this.b=+n,this.opacity=+r}function Ze(){return`#${en(this.r)}${en(this.g)}${en(this.b)}`}function Je(){const t=Qe(this.opacity);return`${1===t?"rgb(":"rgba("}${tn(this.r)}, ${tn(this.g)}, ${tn(this.b)}${1===t?")":`, ${t})`}`}function Qe(t){return isNaN(t)?1:Math.max(0,Math.min(1,t))}function tn(t){return Math.max(0,Math.min(255,Math.round(t)||0))}function en(t){return((t=tn(t))<16?"0":"")+t.toString(16)}function nn(t,e,n,r){return r<=0?t=e=n=NaN:n<=0||n>=1?t=e=NaN:e<=0&&(t=NaN),new on(t,e,n,r)}function rn(t){if(t instanceof on)return new on(t.h,t.s,t.l,t.opacity);if(t instanceof Le||(t=He(t)),!t)return new on;if(t instanceof on)return t;var e=(t=t.rgb()).r/255,n=t.g/255,r=t.b/255,i=Math.min(e,n,r),o=Math.max(e,n,r),s=NaN,a=o-i,l=(o+i)/2;return a?(s=e===o?(n-r)/a+6*(n<r):n===o?(r-e)/a+2:(e-n)/a+4,a/=l<.5?o+i:2-o-i,s*=60):a=l>0&&l<1?0:s,new on(s,a,l,t.opacity)}function on(t,e,n,r){this.h=+t,this.s=+e,this.l=+n,this.opacity=+r}function sn(t){return(t=(t||0)%360)<0?t+360:t}function an(t){return Math.max(0,Math.min(1,t||0))}function ln(t,e,n){return 255*(t<60?e+(n-e)*t/60:t<180?n:t<240?e+(n-e)*(240-t)/60:e)}function cn(t,e,n,r,i){var o=t*t,s=o*t;return((1-3*t+3*o-s)*e+(4-6*o+3*s)*n+(1+3*t+3*o-3*s)*r+s*i)/6}Se(Le,He,{copy(t){return Object.assign(new this.constructor,this,t)},displayable(){return this.rgb().displayable()},hex:Ue,formatHex:Ue,formatHex8:function(){return this.rgb().formatHex8()},formatHsl:function(){return rn(this).formatHsl()},formatRgb:We,toString:We}),Se(Ke,Xe,Ie(Le,{brighter(t){return t=null==t?Be:Math.pow(Be,t),new Ke(this.r*t,this.g*t,this.b*t,this.opacity)},darker(t){return t=null==t?Ee:Math.pow(Ee,t),new Ke(this.r*t,this.g*t,this.b*t,this.opacity)},rgb(){return this},clamp(){return new Ke(tn(this.r),tn(this.g),tn(this.b),Qe(this.opacity))},displayable(){return-.5<=this.r&&this.r<255.5&&-.5<=this.g&&this.g<255.5&&-.5<=this.b&&this.b<255.5&&0<=this.opacity&&this.opacity<=1},hex:Ze,formatHex:Ze,formatHex8:function(){return`#${en(this.r)}${en(this.g)}${en(this.b)}${en(255*(isNaN(this.opacity)?1:this.opacity))}`},formatRgb:Je,toString:Je})),Se(on,(function(t,e,n,r){return 1===arguments.length?rn(t):new on(t,e,n,null==r?1:r)}),Ie(Le,{brighter(t){return t=null==t?Be:Math.pow(Be,t),new on(this.h,this.s,this.l*t,this.opacity)},darker(t){return t=null==t?Ee:Math.pow(Ee,t),new on(this.h,this.s,this.l*t,this.opacity)},rgb(){var t=this.h%360+360*(this.h<0),e=isNaN(t)||isNaN(this.s)?0:this.s,n=this.l,r=n+(n<.5?n:1-n)*e,i=2*n-r;return new Ke(ln(t>=240?t-240:t+120,i,r),ln(t,i,r),ln(t<120?t+240:t-120,i,r),this.opacity)},clamp(){return new on(sn(this.h),an(this.s),an(this.l),Qe(this.opacity))},displayable(){return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this.opacity<=1},formatHsl(){const t=Qe(this.opacity);return`${1===t?"hsl(":"hsla("}${sn(this.h)}, ${100*an(this.s)}%, ${100*an(this.l)}%${1===t?")":`, ${t})`}`}}));const hn=t=>()=>t;function un(t,e){return function(n){return t+n*e}}function dn(t){return 1==(t=+t)?pn:function(e,n){return n-e?function(t,e,n){return t=Math.pow(t,n),e=Math.pow(e,n)-t,n=1/n,function(r){return Math.pow(t+r*e,n)}}(e,n,t):hn(isNaN(e)?n:e)}}function pn(t,e){var n=e-t;return n?un(t,n):hn(isNaN(t)?e:t)}const fn=function t(e){var n=dn(e);function r(t,e){var r=n((t=Xe(t)).r,(e=Xe(e)).r),i=n(t.g,e.g),o=n(t.b,e.b),s=pn(t.opacity,e.opacity);return function(e){return t.r=r(e),t.g=i(e),t.b=o(e),t.opacity=s(e),t+""}}return r.gamma=t,r}(1);function mn(t){return function(e){var n,r,i=e.length,o=new Array(i),s=new Array(i),a=new Array(i);for(n=0;n<i;++n)r=Xe(e[n]),o[n]=r.r||0,s[n]=r.g||0,a[n]=r.b||0;return o=t(o),s=t(s),a=t(a),r.opacity=1,function(t){return r.r=o(t),r.g=s(t),r.b=a(t),r+""}}}mn((function(t){var e=t.length-1;return function(n){var r=n<=0?n=0:n>=1?(n=1,e-1):Math.floor(n*e),i=t[r],o=t[r+1],s=r>0?t[r-1]:2*i-o,a=r<e-1?t[r+2]:2*o-i;return cn((n-r/e)*e,s,i,o,a)}})),mn((function(t){var e=t.length;return function(n){var r=Math.floor(((n%=1)<0?++n:n)*e),i=t[(r+e-1)%e],o=t[r%e],s=t[(r+1)%e],a=t[(r+2)%e];return cn((n-r/e)*e,i,o,s,a)}}));var gn=/[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g,yn=new RegExp(gn.source,"g");function kn(t,e){var n,r,i,o=gn.lastIndex=yn.lastIndex=0,s=-1,a=[],l=[];for(t+="",e+="";(n=gn.exec(t))&&(r=yn.exec(e));)(i=r.index)>o&&(i=e.slice(o,i),a[s]?a[s]+=i:a[++s]=i),(n=n[0])===(r=r[0])?a[s]?a[s]+=r:a[++s]=r:(a[++s]=null,l.push({i:s,x:ge(n,r)})),o=yn.lastIndex;return o<e.length&&(i=e.slice(o),a[s]?a[s]+=i:a[++s]=i),a.length<2?l[0]?function(t){return function(e){return t(e)+""}}(l[0].x):function(t){return function(){return t}}(e):(e=l.length,function(t){for(var n,r=0;r<e;++r)a[(n=l[r]).i]=n.x(t);return a.join("")})}function xn(t,e){var n;return("number"==typeof e?ge:e instanceof He?fn:(n=He(e))?(e=n,fn):kn)(t,e)}function _n(t){return function(){this.removeAttribute(t)}}function bn(t){return function(){this.removeAttributeNS(t.space,t.local)}}function Cn(t,e,n){var r,i,o=n+"";return function(){var s=this.getAttribute(t);return s===o?null:s===r?i:i=e(r=s,n)}}function vn(t,e,n){var r,i,o=n+"";return function(){var s=this.getAttributeNS(t.space,t.local);return s===o?null:s===r?i:i=e(r=s,n)}}function Tn(t,e,n){var r,i,o;return function(){var s,a,l=n(this);if(null!=l)return(s=this.getAttribute(t))===(a=l+"")?null:s===r&&a===i?o:(i=a,o=e(r=s,l));this.removeAttribute(t)}}function An(t,e,n){var r,i,o;return function(){var s,a,l=n(this);if(null!=l)return(s=this.getAttributeNS(t.space,t.local))===(a=l+"")?null:s===r&&a===i?o:(i=a,o=e(r=s,l));this.removeAttributeNS(t.space,t.local)}}function wn(t,e){var n,r;function i(){var i=e.apply(this,arguments);return i!==r&&(n=(r=i)&&function(t,e){return function(n){this.setAttributeNS(t.space,t.local,e.call(this,n))}}(t,i)),n}return i._value=e,i}function Sn(t,e){var n,r;function i(){var i=e.apply(this,arguments);return i!==r&&(n=(r=i)&&function(t,e){return function(n){this.setAttribute(t,e.call(this,n))}}(t,i)),n}return i._value=e,i}function In(t,e){return function(){pe(this,t).delay=+e.apply(this,arguments)}}function Ln(t,e){return e=+e,function(){pe(this,t).delay=e}}function En(t,e){return function(){fe(this,t).duration=+e.apply(this,arguments)}}function Bn(t,e){return e=+e,function(){fe(this,t).duration=e}}var Fn=Bt.prototype.constructor;function Nn(t){return function(){this.style.removeProperty(t)}}var Mn=0;function jn(t,e,n,r){this._groups=t,this._parents=e,this._name=n,this._id=r}function On(){return++Mn}var Rn=Bt.prototype;jn.prototype=function(t){return Bt().transition(t)}.prototype={constructor:jn,select:function(t){var e=this._name,n=this._id;"function"!=typeof t&&(t=_(t));for(var r=this._groups,i=r.length,o=new Array(i),s=0;s<i;++s)for(var a,l,c=r[s],h=c.length,u=o[s]=new Array(h),d=0;d<h;++d)(a=c[d])&&(l=t.call(a,a.__data__,d,c))&&("__data__"in a&&(l.__data__=a.__data__),u[d]=l,de(u[d],e,n,d,u,me(a,n)));return new jn(o,this._parents,e,n)},selectAll:function(t){var e=this._name,n=this._id;"function"!=typeof t&&(t=v(t));for(var r=this._groups,i=r.length,o=[],s=[],a=0;a<i;++a)for(var l,c=r[a],h=c.length,u=0;u<h;++u)if(l=c[u]){for(var d,p=t.call(l,l.__data__,u,c),f=me(l,n),m=0,g=p.length;m<g;++m)(d=p[m])&&de(d,e,n,m,p,f);o.push(p),s.push(l)}return new jn(o,s,e,n)},selectChild:Rn.selectChild,selectChildren:Rn.selectChildren,filter:function(t){"function"!=typeof t&&(t=T(t));for(var e=this._groups,n=e.length,r=new Array(n),i=0;i<n;++i)for(var o,s=e[i],a=s.length,l=r[i]=[],c=0;c<a;++c)(o=s[c])&&t.call(o,o.__data__,c,s)&&l.push(o);return new jn(r,this._parents,this._name,this._id)},merge:function(t){if(t._id!==this._id)throw new Error;for(var e=this._groups,n=t._groups,r=e.length,i=n.length,o=Math.min(r,i),s=new Array(r),a=0;a<o;++a)for(var l,c=e[a],h=n[a],u=c.length,d=s[a]=new Array(u),p=0;p<u;++p)(l=c[p]||h[p])&&(d[p]=l);for(;a<r;++a)s[a]=e[a];return new jn(s,this._parents,this._name,this._id)},selection:function(){return new Fn(this._groups,this._parents)},transition:function(){for(var t=this._name,e=this._id,n=On(),r=this._groups,i=r.length,o=0;o<i;++o)for(var s,a=r[o],l=a.length,c=0;c<l;++c)if(s=a[c]){var h=me(s,e);de(s,t,n,c,a,{time:h.time+h.delay+h.duration,delay:0,duration:h.duration,ease:h.ease})}return new jn(r,this._parents,t,n)},call:Rn.call,nodes:Rn.nodes,node:Rn.node,size:Rn.size,empty:Rn.empty,each:Rn.each,on:function(t,e){var n=this._id;return arguments.length<2?me(this.node(),n).on.on(t):this.each(function(t,e,n){var r,i,o=function(t){return(t+"").trim().split(/^|\s+/).every((function(t){var e=t.indexOf(".");return e>=0&&(t=t.slice(0,e)),!t||"start"===t}))}(e)?pe:fe;return function(){var s=o(this,t),a=s.on;a!==r&&(i=(r=a).copy()).on(e,n),s.on=i}}(n,t,e))},attr:function(t,e){var n=q(t),r="transform"===n?ve:xn;return this.attrTween(t,"function"==typeof e?(n.local?An:Tn)(n,r,we(this,"attr."+t,e)):null==e?(n.local?bn:_n)(n):(n.local?vn:Cn)(n,r,e))},attrTween:function(t,e){var n="attr."+t;if(arguments.length<2)return(n=this.tween(n))&&n._value;if(null==e)return this.tween(n,null);if("function"!=typeof e)throw new Error;var r=q(t);return this.tween(n,(r.local?wn:Sn)(r,e))},style:function(t,e,n){var r="transform"==(t+="")?Ce:xn;return null==e?this.styleTween(t,function(t,e){var n,r,i;return function(){var o=K(this,t),s=(this.style.removeProperty(t),K(this,t));return o===s?null:o===n&&s===r?i:i=e(n=o,r=s)}}(t,r)).on("end.style."+t,Nn(t)):"function"==typeof e?this.styleTween(t,function(t,e,n){var r,i,o;return function(){var s=K(this,t),a=n(this),l=a+"";return null==a&&(this.style.removeProperty(t),l=a=K(this,t)),s===l?null:s===r&&l===i?o:(i=l,o=e(r=s,a))}}(t,r,we(this,"style."+t,e))).each(function(t,e){var n,r,i,o,s="style."+e,a="end."+s;return function(){var l=fe(this,t),c=l.on,h=null==l.value[s]?o||(o=Nn(e)):void 0;c===n&&i===h||(r=(n=c).copy()).on(a,i=h),l.on=r}}(this._id,t)):this.styleTween(t,function(t,e,n){var r,i,o=n+"";return function(){var s=K(this,t);return s===o?null:s===r?i:i=e(r=s,n)}}(t,r,e),n).on("end.style."+t,null)},styleTween:function(t,e,n){var r="style."+(t+="");if(arguments.length<2)return(r=this.tween(r))&&r._value;if(null==e)return this.tween(r,null);if("function"!=typeof e)throw new Error;return this.tween(r,function(t,e,n){var r,i;function o(){var o=e.apply(this,arguments);return o!==i&&(r=(i=o)&&function(t,e,n){return function(r){this.style.setProperty(t,e.call(this,r),n)}}(t,o,n)),r}return o._value=e,o}(t,e,null==n?"":n))},text:function(t){return this.tween("text","function"==typeof t?function(t){return function(){var e=t(this);this.textContent=null==e?"":e}}(we(this,"text",t)):function(t){return function(){this.textContent=t}}(null==t?"":t+""))},textTween:function(t){var e="text";if(arguments.length<1)return(e=this.tween(e))&&e._value;if(null==t)return this.tween(e,null);if("function"!=typeof t)throw new Error;return this.tween(e,function(t){var e,n;function r(){var r=t.apply(this,arguments);return r!==n&&(e=(n=r)&&function(t){return function(e){this.textContent=t.call(this,e)}}(r)),e}return r._value=t,r}(t))},remove:function(){return this.on("end.remove",function(t){return function(){var e=this.parentNode;for(var n in this.__transition)if(+n!==t)return;e&&e.removeChild(this)}}(this._id))},tween:function(t,e){var n=this._id;if(t+="",arguments.length<2){for(var r,i=me(this.node(),n).tween,o=0,s=i.length;o<s;++o)if((r=i[o]).name===t)return r.value;return null}return this.each((null==e?Te:Ae)(n,t,e))},delay:function(t){var e=this._id;return arguments.length?this.each(("function"==typeof t?In:Ln)(e,t)):me(this.node(),e).delay},duration:function(t){var e=this._id;return arguments.length?this.each(("function"==typeof t?En:Bn)(e,t)):me(this.node(),e).duration},ease:function(t){var e=this._id;return arguments.length?this.each(function(t,e){if("function"!=typeof e)throw new Error;return function(){fe(this,t).ease=e}}(e,t)):me(this.node(),e).ease},easeVarying:function(t){if("function"!=typeof t)throw new Error;return this.each(function(t,e){return function(){var n=e.apply(this,arguments);if("function"!=typeof n)throw new Error;fe(this,t).ease=n}}(this._id,t))},end:function(){var t,e,n=this,r=n._id,i=n.size();return new Promise((function(o,s){var a={value:s},l={value:function(){0==--i&&o()}};n.each((function(){var n=fe(this,r),i=n.on;i!==t&&((e=(t=i).copy())._.cancel.push(a),e._.interrupt.push(a),e._.end.push(l)),n.on=e})),0===i&&o()}))},[Symbol.iterator]:Rn[Symbol.iterator]};var Dn={time:null,delay:0,duration:250,ease:function(t){return((t*=2)<=1?t*t*t:(t-=2)*t*t+2)/2}};function qn(t,e){for(var n;!(n=t.__transition)||!(n=n[e]);)if(!(t=t.parentNode))throw new Error(`transition ${e} not found`);return n}Bt.prototype.interrupt=function(t){return this.each((function(){!function(t,e){var n,r,i,o=t.__transition,s=!0;if(o){for(i in e=null==e?null:e+"",o)(n=o[i]).name===e?(r=n.state>ae&&n.state<he,n.state=ue,n.timer.stop(),n.on.call(r?"interrupt":"cancel",t,t.__data__,n.index,n.group),delete o[i]):s=!1;s&&delete t.__transition}}(this,t)}))},Bt.prototype.transition=function(t){var e,n;t instanceof jn?(e=t._id,t=t._name):(e=On(),(n=Dn).time=Xt(),t=null==t?null:t+"");for(var r=this._groups,i=r.length,o=0;o<i;++o)for(var s,a=r[o],l=a.length,c=0;c<l;++c)(s=a[c])&&de(s,t,e,c,a,n||qn(s,e));return new jn(r,this._parents,t,e)};const{abs:$n,max:Pn,min:zn}=Math;function Un(t){return[+t[0],+t[1]]}function Wn(t){return[Un(t[0]),Un(t[1])]}["w","e"].map(Hn),["n","s"].map(Hn),["n","w","e","s","nw","ne","sw","se"].map(Hn);function Hn(t){return{type:t}}function Vn(t){if(!t.ok)throw new Error(t.status+" "+t.statusText);return t.text()}function Yn(t){return(e,n)=>function(t,e){return fetch(t,e).then(Vn)}(e,n).then((e=>(new DOMParser).parseFromString(e,t)))}Yn("application/xml");Yn("text/html");var Gn=Yn("image/svg+xml");const Xn=Math.PI/180,Kn=180/Math.PI,Zn=.96422,Jn=1,Qn=.82521,tr=4/29,er=6/29,nr=3*er*er,rr=er*er*er;function ir(t){if(t instanceof or)return new or(t.l,t.a,t.b,t.opacity);if(t instanceof dr)return pr(t);t instanceof Ke||(t=Ge(t));var e,n,r=cr(t.r),i=cr(t.g),o=cr(t.b),s=sr((.2225045*r+.7168786*i+.0606169*o)/Jn);return r===i&&i===o?e=n=s:(e=sr((.4360747*r+.3850649*i+.1430804*o)/Zn),n=sr((.0139322*r+.0971045*i+.7141733*o)/Qn)),new or(116*s-16,500*(e-s),200*(s-n),t.opacity)}function or(t,e,n,r){this.l=+t,this.a=+e,this.b=+n,this.opacity=+r}function sr(t){return t>rr?Math.pow(t,1/3):t/nr+tr}function ar(t){return t>er?t*t*t:nr*(t-tr)}function lr(t){return 255*(t<=.0031308?12.92*t:1.055*Math.pow(t,1/2.4)-.055)}function cr(t){return(t/=255)<=.04045?t/12.92:Math.pow((t+.055)/1.055,2.4)}function hr(t){if(t instanceof dr)return new dr(t.h,t.c,t.l,t.opacity);if(t instanceof or||(t=ir(t)),0===t.a&&0===t.b)return new dr(NaN,0<t.l&&t.l<100?0:NaN,t.l,t.opacity);var e=Math.atan2(t.b,t.a)*Kn;return new dr(e<0?e+360:e,Math.sqrt(t.a*t.a+t.b*t.b),t.l,t.opacity)}function ur(t,e,n,r){return 1===arguments.length?hr(t):new dr(t,e,n,null==r?1:r)}function dr(t,e,n,r){this.h=+t,this.c=+e,this.l=+n,this.opacity=+r}function pr(t){if(isNaN(t.h))return new or(t.l,0,0,t.opacity);var e=t.h*Xn;return new or(t.l,Math.cos(e)*t.c,Math.sin(e)*t.c,t.opacity)}function fr(t){return function(e,n){var r=t((e=ur(e)).h,(n=ur(n)).h),i=pn(e.c,n.c),o=pn(e.l,n.l),s=pn(e.opacity,n.opacity);return function(t){return e.h=r(t),e.c=i(t),e.l=o(t),e.opacity=s(t),e+""}}}Se(or,(function(t,e,n,r){return 1===arguments.length?ir(t):new or(t,e,n,null==r?1:r)}),Ie(Le,{brighter(t){return new or(this.l+18*(null==t?1:t),this.a,this.b,this.opacity)},darker(t){return new or(this.l-18*(null==t?1:t),this.a,this.b,this.opacity)},rgb(){var t=(this.l+16)/116,e=isNaN(this.a)?t:t+this.a/500,n=isNaN(this.b)?t:t-this.b/200;return new Ke(lr(3.1338561*(e=Zn*ar(e))-1.6168667*(t=Jn*ar(t))-.4906146*(n=Qn*ar(n))),lr(-.9787684*e+1.9161415*t+.033454*n),lr(.0719453*e-.2289914*t+1.4052427*n),this.opacity)}})),Se(dr,ur,Ie(Le,{brighter(t){return new dr(this.h,this.c,this.l+18*(null==t?1:t),this.opacity)},darker(t){return new dr(this.h,this.c,this.l-18*(null==t?1:t),this.opacity)},rgb(){return pr(this).rgb()}}));const mr=fr((function(t,e){var n=e-t;return n?un(t,n>180||n<-180?n-360*Math.round(n/360):n):hn(isNaN(t)?e:t)}));fr(pn);function gr(t,e){switch(arguments.length){case 0:break;case 1:this.range(t);break;default:this.range(e).domain(t)}return this}class yr extends Map{constructor(t,e=br){if(super(),Object.defineProperties(this,{_intern:{value:new Map},_key:{value:e}}),null!=t)for(const[n,r]of t)this.set(n,r)}get(t){return super.get(kr(this,t))}has(t){return super.has(kr(this,t))}set(t,e){return super.set(xr(this,t),e)}delete(t){return super.delete(_r(this,t))}}Set;function kr({_intern:t,_key:e},n){const r=e(n);return t.has(r)?t.get(r):n}function xr({_intern:t,_key:e},n){const r=e(n);return t.has(r)?t.get(r):(t.set(r,n),n)}function _r({_intern:t,_key:e},n){const r=e(n);return t.has(r)&&(n=t.get(r),t.delete(r)),n}function br(t){return null!==t&&"object"==typeof t?t.valueOf():t}const Cr=Symbol("implicit");function vr(){var t=new yr,e=[],n=[],r=Cr;function i(i){let o=t.get(i);if(void 0===o){if(r!==Cr)return r;t.set(i,o=e.push(i)-1)}return n[o%n.length]}return i.domain=function(n){if(!arguments.length)return e.slice();e=[],t=new yr;for(const r of n)t.has(r)||t.set(r,e.push(r)-1);return i},i.range=function(t){return arguments.length?(n=Array.from(t),i):n.slice()},i.unknown=function(t){return arguments.length?(r=t,i):r},i.copy=function(){return vr(e,n).unknown(r)},gr.apply(i,arguments),i}function Tr(){var t,e,n=vr().unknown(void 0),r=n.domain,i=n.range,o=0,s=1,a=!1,l=0,c=0,h=.5;function u(){var n=r().length,u=s<o,d=u?s:o,p=u?o:s;t=(p-d)/Math.max(1,n-l+2*c),a&&(t=Math.floor(t)),d+=(p-d-t*(n-l))*h,e=t*(1-l),a&&(d=Math.round(d),e=Math.round(e));var f=function(t,e,n){t=+t,e=+e,n=(i=arguments.length)<2?(e=t,t=0,1):i<3?1:+n;for(var r=-1,i=0|Math.max(0,Math.ceil((e-t)/n)),o=new Array(i);++r<i;)o[r]=t+r*n;return o}(n).map((function(e){return d+t*e}));return i(u?f.reverse():f)}return delete n.unknown,n.domain=function(t){return arguments.length?(r(t),u()):r()},n.range=function(t){return arguments.length?([o,s]=t,o=+o,s=+s,u()):[o,s]},n.rangeRound=function(t){return[o,s]=t,o=+o,s=+s,a=!0,u()},n.bandwidth=function(){return e},n.step=function(){return t},n.round=function(t){return arguments.length?(a=!!t,u()):a},n.padding=function(t){return arguments.length?(l=Math.min(1,c=+t),u()):l},n.paddingInner=function(t){return arguments.length?(l=Math.min(1,t),u()):l},n.paddingOuter=function(t){return arguments.length?(c=+t,u()):c},n.align=function(t){return arguments.length?(h=Math.max(0,Math.min(1,t)),u()):h},n.copy=function(){return Tr(r(),[o,s]).round(a).paddingInner(l).paddingOuter(c).align(h)},gr.apply(u(),arguments)}const Ar=Math.sqrt(50),wr=Math.sqrt(10),Sr=Math.sqrt(2);function Ir(t,e,n){const r=(e-t)/Math.max(0,n),i=Math.floor(Math.log10(r)),o=r/Math.pow(10,i),s=o>=Ar?10:o>=wr?5:o>=Sr?2:1;let a,l,c;return i<0?(c=Math.pow(10,-i)/s,a=Math.round(t*c),l=Math.round(e*c),a/c<t&&++a,l/c>e&&--l,c=-c):(c=Math.pow(10,i)*s,a=Math.round(t/c),l=Math.round(e/c),a*c<t&&++a,l*c>e&&--l),l<a&&.5<=n&&n<2?Ir(t,e,2*n):[a,l,c]}function Lr(t,e,n){return Ir(t=+t,e=+e,n=+n)[2]}function Er(t,e,n){n=+n;const r=(e=+e)<(t=+t),i=r?Lr(e,t,n):Lr(t,e,n);return(r?-1:1)*(i<0?1/-i:i)}function Br(t,e){return null==t||null==e?NaN:t<e?-1:t>e?1:t>=e?0:NaN}function Fr(t,e){return null==t||null==e?NaN:e<t?-1:e>t?1:e>=t?0:NaN}function Nr(t){let e,n,r;function i(t,r,i=0,o=t.length){if(i<o){if(0!==e(r,r))return o;do{const e=i+o>>>1;n(t[e],r)<0?i=e+1:o=e}while(i<o)}return i}return 2!==t.length?(e=Br,n=(e,n)=>Br(t(e),n),r=(e,n)=>t(e)-n):(e=t===Br||t===Fr?t:Mr,n=t,r=t),{left:i,center:function(t,e,n=0,o=t.length){const s=i(t,e,n,o-1);return s>n&&r(t[s-1],e)>-r(t[s],e)?s-1:s},right:function(t,r,i=0,o=t.length){if(i<o){if(0!==e(r,r))return o;do{const e=i+o>>>1;n(t[e],r)<=0?i=e+1:o=e}while(i<o)}return i}}}function Mr(){return 0}const jr=Nr(Br),Or=jr.right,Rr=(jr.left,Nr((function(t){return null===t?NaN:+t})).center,Or);function Dr(t,e){var n,r=e?e.length:0,i=t?Math.min(r,t.length):0,o=new Array(i),s=new Array(r);for(n=0;n<i;++n)o[n]=zr(t[n],e[n]);for(;n<r;++n)s[n]=e[n];return function(t){for(n=0;n<i;++n)s[n]=o[n](t);return s}}function qr(t,e){var n=new Date;return t=+t,e=+e,function(r){return n.setTime(t*(1-r)+e*r),n}}function $r(t,e){var n,r={},i={};for(n in null!==t&&"object"==typeof t||(t={}),null!==e&&"object"==typeof e||(e={}),e)n in t?r[n]=zr(t[n],e[n]):i[n]=e[n];return function(t){for(n in r)i[n]=r[n](t);return i}}function Pr(t,e){e||(e=[]);var n,r=t?Math.min(e.length,t.length):0,i=e.slice();return function(o){for(n=0;n<r;++n)i[n]=t[n]*(1-o)+e[n]*o;return i}}function zr(t,e){var n,r,i=typeof e;return null==e||"boolean"===i?hn(e):("number"===i?ge:"string"===i?(n=He(e))?(e=n,fn):kn:e instanceof He?fn:e instanceof Date?qr:(r=e,!ArrayBuffer.isView(r)||r instanceof DataView?Array.isArray(e)?Dr:"function"!=typeof e.valueOf&&"function"!=typeof e.toString||isNaN(e)?$r:ge:Pr))(t,e)}function Ur(t,e){return t=+t,e=+e,function(n){return Math.round(t*(1-n)+e*n)}}function Wr(t){return+t}var Hr=[0,1];function Vr(t){return t}function Yr(t,e){return(e-=t=+t)?function(n){return(n-t)/e}:(n=isNaN(e)?NaN:.5,function(){return n});var n}function Gr(t,e,n){var r=t[0],i=t[1],o=e[0],s=e[1];return i<r?(r=Yr(i,r),o=n(s,o)):(r=Yr(r,i),o=n(o,s)),function(t){return o(r(t))}}function Xr(t,e,n){var r=Math.min(t.length,e.length)-1,i=new Array(r),o=new Array(r),s=-1;for(t[r]<t[0]&&(t=t.slice().reverse(),e=e.slice().reverse());++s<r;)i[s]=Yr(t[s],t[s+1]),o[s]=n(e[s],e[s+1]);return function(e){var n=Rr(t,e,1,r)-1;return o[n](i[n](e))}}function Kr(t,e){return e.domain(t.domain()).range(t.range()).interpolate(t.interpolate()).clamp(t.clamp()).unknown(t.unknown())}function Zr(){var t,e,n,r,i,o,s=Hr,a=Hr,l=zr,c=Vr;function h(){var t,e,n,l=Math.min(s.length,a.length);return c!==Vr&&(t=s[0],e=s[l-1],t>e&&(n=t,t=e,e=n),c=function(n){return Math.max(t,Math.min(e,n))}),r=l>2?Xr:Gr,i=o=null,u}function u(e){return null==e||isNaN(e=+e)?n:(i||(i=r(s.map(t),a,l)))(t(c(e)))}return u.invert=function(n){return c(e((o||(o=r(a,s.map(t),ge)))(n)))},u.domain=function(t){return arguments.length?(s=Array.from(t,Wr),h()):s.slice()},u.range=function(t){return arguments.length?(a=Array.from(t),h()):a.slice()},u.rangeRound=function(t){return a=Array.from(t),l=Ur,h()},u.clamp=function(t){return arguments.length?(c=!!t||Vr,h()):c!==Vr},u.interpolate=function(t){return arguments.length?(l=t,h()):l},u.unknown=function(t){return arguments.length?(n=t,u):n},function(n,r){return t=n,e=r,h()}}function Jr(){return Zr()(Vr,Vr)}var Qr,ti=/^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;function ei(t){if(!(e=ti.exec(t)))throw new Error("invalid format: "+t);var e;return new ni({fill:e[1],align:e[2],sign:e[3],symbol:e[4],zero:e[5],width:e[6],comma:e[7],precision:e[8]&&e[8].slice(1),trim:e[9],type:e[10]})}function ni(t){this.fill=void 0===t.fill?" ":t.fill+"",this.align=void 0===t.align?">":t.align+"",this.sign=void 0===t.sign?"-":t.sign+"",this.symbol=void 0===t.symbol?"":t.symbol+"",this.zero=!!t.zero,this.width=void 0===t.width?void 0:+t.width,this.comma=!!t.comma,this.precision=void 0===t.precision?void 0:+t.precision,this.trim=!!t.trim,this.type=void 0===t.type?"":t.type+""}function ri(t,e){if((n=(t=e?t.toExponential(e-1):t.toExponential()).indexOf("e"))<0)return null;var n,r=t.slice(0,n);return[r.length>1?r[0]+r.slice(2):r,+t.slice(n+1)]}function ii(t){return(t=ri(Math.abs(t)))?t[1]:NaN}function oi(t,e){var n=ri(t,e);if(!n)return t+"";var r=n[0],i=n[1];return i<0?"0."+new Array(-i).join("0")+r:r.length>i+1?r.slice(0,i+1)+"."+r.slice(i+1):r+new Array(i-r.length+2).join("0")}ei.prototype=ni.prototype,ni.prototype.toString=function(){return this.fill+this.align+this.sign+this.symbol+(this.zero?"0":"")+(void 0===this.width?"":Math.max(1,0|this.width))+(this.comma?",":"")+(void 0===this.precision?"":"."+Math.max(0,0|this.precision))+(this.trim?"~":"")+this.type};const si={"%":(t,e)=>(100*t).toFixed(e),b:t=>Math.round(t).toString(2),c:t=>t+"",d:function(t){return Math.abs(t=Math.round(t))>=1e21?t.toLocaleString("en").replace(/,/g,""):t.toString(10)},e:(t,e)=>t.toExponential(e),f:(t,e)=>t.toFixed(e),g:(t,e)=>t.toPrecision(e),o:t=>Math.round(t).toString(8),p:(t,e)=>oi(100*t,e),r:oi,s:function(t,e){var n=ri(t,e);if(!n)return t+"";var r=n[0],i=n[1],o=i-(Qr=3*Math.max(-8,Math.min(8,Math.floor(i/3))))+1,s=r.length;return o===s?r:o>s?r+new Array(o-s+1).join("0"):o>0?r.slice(0,o)+"."+r.slice(o):"0."+new Array(1-o).join("0")+ri(t,Math.max(0,e+o-1))[0]},X:t=>Math.round(t).toString(16).toUpperCase(),x:t=>Math.round(t).toString(16)};function ai(t){return t}var li,ci,hi,ui=Array.prototype.map,di=["y","z","a","f","p","n","\xb5","m","","k","M","G","T","P","E","Z","Y"];function pi(t){var e,n,r=void 0===t.grouping||void 0===t.thousands?ai:(e=ui.call(t.grouping,Number),n=t.thousands+"",function(t,r){for(var i=t.length,o=[],s=0,a=e[0],l=0;i>0&&a>0&&(l+a+1>r&&(a=Math.max(1,r-l)),o.push(t.substring(i-=a,i+a)),!((l+=a+1)>r));)a=e[s=(s+1)%e.length];return o.reverse().join(n)}),i=void 0===t.currency?"":t.currency[0]+"",o=void 0===t.currency?"":t.currency[1]+"",s=void 0===t.decimal?".":t.decimal+"",a=void 0===t.numerals?ai:function(t){return function(e){return e.replace(/[0-9]/g,(function(e){return t[+e]}))}}(ui.call(t.numerals,String)),l=void 0===t.percent?"%":t.percent+"",c=void 0===t.minus?"\u2212":t.minus+"",h=void 0===t.nan?"NaN":t.nan+"";function u(t){var e=(t=ei(t)).fill,n=t.align,u=t.sign,d=t.symbol,p=t.zero,f=t.width,m=t.comma,g=t.precision,y=t.trim,k=t.type;"n"===k?(m=!0,k="g"):si[k]||(void 0===g&&(g=12),y=!0,k="g"),(p||"0"===e&&"="===n)&&(p=!0,e="0",n="=");var x="$"===d?i:"#"===d&&/[boxX]/.test(k)?"0"+k.toLowerCase():"",_="$"===d?o:/[%p]/.test(k)?l:"",b=si[k],C=/[defgprs%]/.test(k);function v(t){var i,o,l,d=x,v=_;if("c"===k)v=b(t)+v,t="";else{var T=(t=+t)<0||1/t<0;if(t=isNaN(t)?h:b(Math.abs(t),g),y&&(t=function(t){t:for(var e,n=t.length,r=1,i=-1;r<n;++r)switch(t[r]){case".":i=e=r;break;case"0":0===i&&(i=r),e=r;break;default:if(!+t[r])break t;i>0&&(i=0)}return i>0?t.slice(0,i)+t.slice(e+1):t}(t)),T&&0==+t&&"+"!==u&&(T=!1),d=(T?"("===u?u:c:"-"===u||"("===u?"":u)+d,v=("s"===k?di[8+Qr/3]:"")+v+(T&&"("===u?")":""),C)for(i=-1,o=t.length;++i<o;)if(48>(l=t.charCodeAt(i))||l>57){v=(46===l?s+t.slice(i+1):t.slice(i))+v,t=t.slice(0,i);break}}m&&!p&&(t=r(t,1/0));var A=d.length+t.length+v.length,w=A<f?new Array(f-A+1).join(e):"";switch(m&&p&&(t=r(w+t,w.length?f-v.length:1/0),w=""),n){case"<":t=d+t+v+w;break;case"=":t=d+w+t+v;break;case"^":t=w.slice(0,A=w.length>>1)+d+t+v+w.slice(A);break;default:t=w+d+t+v}return a(t)}return g=void 0===g?6:/[gprs]/.test(k)?Math.max(1,Math.min(21,g)):Math.max(0,Math.min(20,g)),v.toString=function(){return t+""},v}return{format:u,formatPrefix:function(t,e){var n=u(((t=ei(t)).type="f",t)),r=3*Math.max(-8,Math.min(8,Math.floor(ii(e)/3))),i=Math.pow(10,-r),o=di[8+r/3];return function(t){return n(i*t)+o}}}}function fi(t,e,n,r){var i,o=Er(t,e,n);switch((r=ei(null==r?",f":r)).type){case"s":var s=Math.max(Math.abs(t),Math.abs(e));return null!=r.precision||isNaN(i=function(t,e){return Math.max(0,3*Math.max(-8,Math.min(8,Math.floor(ii(e)/3)))-ii(Math.abs(t)))}(o,s))||(r.precision=i),hi(r,s);case"":case"e":case"g":case"p":case"r":null!=r.precision||isNaN(i=function(t,e){return t=Math.abs(t),e=Math.abs(e)-t,Math.max(0,ii(e)-ii(t))+1}(o,Math.max(Math.abs(t),Math.abs(e))))||(r.precision=i-("e"===r.type));break;case"f":case"%":null!=r.precision||isNaN(i=function(t){return Math.max(0,-ii(Math.abs(t)))}(o))||(r.precision=i-2*("%"===r.type))}return ci(r)}function mi(t){var e=t.domain;return t.ticks=function(t){var n=e();return function(t,e,n){if(!((n=+n)>0))return[];if((t=+t)==(e=+e))return[t];const r=e<t,[i,o,s]=r?Ir(e,t,n):Ir(t,e,n);if(!(o>=i))return[];const a=o-i+1,l=new Array(a);if(r)if(s<0)for(let c=0;c<a;++c)l[c]=(o-c)/-s;else for(let c=0;c<a;++c)l[c]=(o-c)*s;else if(s<0)for(let c=0;c<a;++c)l[c]=(i+c)/-s;else for(let c=0;c<a;++c)l[c]=(i+c)*s;return l}(n[0],n[n.length-1],null==t?10:t)},t.tickFormat=function(t,n){var r=e();return fi(r[0],r[r.length-1],null==t?10:t,n)},t.nice=function(n){null==n&&(n=10);var r,i,o=e(),s=0,a=o.length-1,l=o[s],c=o[a],h=10;for(c<l&&(i=l,l=c,c=i,i=s,s=a,a=i);h-- >0;){if((i=Lr(l,c,n))===r)return o[s]=l,o[a]=c,e(o);if(i>0)l=Math.floor(l/i)*i,c=Math.ceil(c/i)*i;else{if(!(i<0))break;l=Math.ceil(l*i)/i,c=Math.floor(c*i)/i}r=i}return t},t}function gi(){var t=Jr();return t.copy=function(){return Kr(t,gi())},gr.apply(t,arguments),mi(t)}li=pi({thousands:",",grouping:[3],currency:["$",""]}),ci=li.format,hi=li.formatPrefix;const yi=1e3,ki=6e4,xi=36e5,_i=864e5,bi=6048e5,Ci=2592e6,vi=31536e6,Ti=new Date,Ai=new Date;function wi(t,e,n,r){function i(e){return t(e=0===arguments.length?new Date:new Date(+e)),e}return i.floor=e=>(t(e=new Date(+e)),e),i.ceil=n=>(t(n=new Date(n-1)),e(n,1),t(n),n),i.round=t=>{const e=i(t),n=i.ceil(t);return t-e<n-t?e:n},i.offset=(t,n)=>(e(t=new Date(+t),null==n?1:Math.floor(n)),t),i.range=(n,r,o)=>{const s=[];if(n=i.ceil(n),o=null==o?1:Math.floor(o),!(n<r&&o>0))return s;let a;do{s.push(a=new Date(+n)),e(n,o),t(n)}while(a<n&&n<r);return s},i.filter=n=>wi((e=>{if(e>=e)for(;t(e),!n(e);)e.setTime(e-1)}),((t,r)=>{if(t>=t)if(r<0)for(;++r<=0;)for(;e(t,-1),!n(t););else for(;--r>=0;)for(;e(t,1),!n(t););})),n&&(i.count=(e,r)=>(Ti.setTime(+e),Ai.setTime(+r),t(Ti),t(Ai),Math.floor(n(Ti,Ai))),i.every=t=>(t=Math.floor(t),isFinite(t)&&t>0?t>1?i.filter(r?e=>r(e)%t==0:e=>i.count(0,e)%t==0):i:null)),i}const Si=wi((()=>{}),((t,e)=>{t.setTime(+t+e)}),((t,e)=>e-t));Si.every=t=>(t=Math.floor(t),isFinite(t)&&t>0?t>1?wi((e=>{e.setTime(Math.floor(e/t)*t)}),((e,n)=>{e.setTime(+e+n*t)}),((e,n)=>(n-e)/t)):Si:null);Si.range;const Ii=wi((t=>{t.setTime(t-t.getMilliseconds())}),((t,e)=>{t.setTime(+t+e*yi)}),((t,e)=>(e-t)/yi),(t=>t.getUTCSeconds())),Li=(Ii.range,wi((t=>{t.setTime(t-t.getMilliseconds()-t.getSeconds()*yi)}),((t,e)=>{t.setTime(+t+e*ki)}),((t,e)=>(e-t)/ki),(t=>t.getMinutes()))),Ei=(Li.range,wi((t=>{t.setUTCSeconds(0,0)}),((t,e)=>{t.setTime(+t+e*ki)}),((t,e)=>(e-t)/ki),(t=>t.getUTCMinutes()))),Bi=(Ei.range,wi((t=>{t.setTime(t-t.getMilliseconds()-t.getSeconds()*yi-t.getMinutes()*ki)}),((t,e)=>{t.setTime(+t+e*xi)}),((t,e)=>(e-t)/xi),(t=>t.getHours()))),Fi=(Bi.range,wi((t=>{t.setUTCMinutes(0,0,0)}),((t,e)=>{t.setTime(+t+e*xi)}),((t,e)=>(e-t)/xi),(t=>t.getUTCHours()))),Ni=(Fi.range,wi((t=>t.setHours(0,0,0,0)),((t,e)=>t.setDate(t.getDate()+e)),((t,e)=>(e-t-(e.getTimezoneOffset()-t.getTimezoneOffset())*ki)/_i),(t=>t.getDate()-1))),Mi=(Ni.range,wi((t=>{t.setUTCHours(0,0,0,0)}),((t,e)=>{t.setUTCDate(t.getUTCDate()+e)}),((t,e)=>(e-t)/_i),(t=>t.getUTCDate()-1))),ji=(Mi.range,wi((t=>{t.setUTCHours(0,0,0,0)}),((t,e)=>{t.setUTCDate(t.getUTCDate()+e)}),((t,e)=>(e-t)/_i),(t=>Math.floor(t/_i))));ji.range;function Oi(t){return wi((e=>{e.setDate(e.getDate()-(e.getDay()+7-t)%7),e.setHours(0,0,0,0)}),((t,e)=>{t.setDate(t.getDate()+7*e)}),((t,e)=>(e-t-(e.getTimezoneOffset()-t.getTimezoneOffset())*ki)/bi))}const Ri=Oi(0),Di=Oi(1),qi=Oi(2),$i=Oi(3),Pi=Oi(4),zi=Oi(5),Ui=Oi(6);Ri.range,Di.range,qi.range,$i.range,Pi.range,zi.range,Ui.range;function Wi(t){return wi((e=>{e.setUTCDate(e.getUTCDate()-(e.getUTCDay()+7-t)%7),e.setUTCHours(0,0,0,0)}),((t,e)=>{t.setUTCDate(t.getUTCDate()+7*e)}),((t,e)=>(e-t)/bi))}const Hi=Wi(0),Vi=Wi(1),Yi=Wi(2),Gi=Wi(3),Xi=Wi(4),Ki=Wi(5),Zi=Wi(6),Ji=(Hi.range,Vi.range,Yi.range,Gi.range,Xi.range,Ki.range,Zi.range,wi((t=>{t.setDate(1),t.setHours(0,0,0,0)}),((t,e)=>{t.setMonth(t.getMonth()+e)}),((t,e)=>e.getMonth()-t.getMonth()+12*(e.getFullYear()-t.getFullYear())),(t=>t.getMonth()))),Qi=(Ji.range,wi((t=>{t.setUTCDate(1),t.setUTCHours(0,0,0,0)}),((t,e)=>{t.setUTCMonth(t.getUTCMonth()+e)}),((t,e)=>e.getUTCMonth()-t.getUTCMonth()+12*(e.getUTCFullYear()-t.getUTCFullYear())),(t=>t.getUTCMonth()))),to=(Qi.range,wi((t=>{t.setMonth(0,1),t.setHours(0,0,0,0)}),((t,e)=>{t.setFullYear(t.getFullYear()+e)}),((t,e)=>e.getFullYear()-t.getFullYear()),(t=>t.getFullYear())));to.every=t=>isFinite(t=Math.floor(t))&&t>0?wi((e=>{e.setFullYear(Math.floor(e.getFullYear()/t)*t),e.setMonth(0,1),e.setHours(0,0,0,0)}),((e,n)=>{e.setFullYear(e.getFullYear()+n*t)})):null;to.range;const eo=wi((t=>{t.setUTCMonth(0,1),t.setUTCHours(0,0,0,0)}),((t,e)=>{t.setUTCFullYear(t.getUTCFullYear()+e)}),((t,e)=>e.getUTCFullYear()-t.getUTCFullYear()),(t=>t.getUTCFullYear()));eo.every=t=>isFinite(t=Math.floor(t))&&t>0?wi((e=>{e.setUTCFullYear(Math.floor(e.getUTCFullYear()/t)*t),e.setUTCMonth(0,1),e.setUTCHours(0,0,0,0)}),((e,n)=>{e.setUTCFullYear(e.getUTCFullYear()+n*t)})):null;eo.range;function no(t,e,n,r,i,o){const s=[[Ii,1,yi],[Ii,5,5e3],[Ii,15,15e3],[Ii,30,3e4],[o,1,ki],[o,5,3e5],[o,15,9e5],[o,30,18e5],[i,1,xi],[i,3,108e5],[i,6,216e5],[i,12,432e5],[r,1,_i],[r,2,1728e5],[n,1,bi],[e,1,Ci],[e,3,7776e6],[t,1,vi]];function a(e,n,r){const i=Math.abs(n-e)/r,o=Nr((([,,t])=>t)).right(s,i);if(o===s.length)return t.every(Er(e/vi,n/vi,r));if(0===o)return Si.every(Math.max(Er(e,n,r),1));const[a,l]=s[i/s[o-1][2]<s[o][2]/i?o-1:o];return a.every(l)}return[function(t,e,n){const r=e<t;r&&([t,e]=[e,t]);const i=n&&"function"==typeof n.range?n:a(t,e,n),o=i?i.range(t,+e+1):[];return r?o.reverse():o},a]}const[ro,io]=no(eo,Qi,Hi,ji,Fi,Ei),[oo,so]=no(to,Ji,Ri,Ni,Bi,Li);function ao(t){if(0<=t.y&&t.y<100){var e=new Date(-1,t.m,t.d,t.H,t.M,t.S,t.L);return e.setFullYear(t.y),e}return new Date(t.y,t.m,t.d,t.H,t.M,t.S,t.L)}function lo(t){if(0<=t.y&&t.y<100){var e=new Date(Date.UTC(-1,t.m,t.d,t.H,t.M,t.S,t.L));return e.setUTCFullYear(t.y),e}return new Date(Date.UTC(t.y,t.m,t.d,t.H,t.M,t.S,t.L))}function co(t,e,n){return{y:t,m:e,d:n,H:0,M:0,S:0,L:0}}var ho,uo,po={"-":"",_:" ",0:"0"},fo=/^\s*\d+/,mo=/^%/,go=/[\\^$*+?|[\]().{}]/g;function yo(t,e,n){var r=t<0?"-":"",i=(r?-t:t)+"",o=i.length;return r+(o<n?new Array(n-o+1).join(e)+i:i)}function ko(t){return t.replace(go,"\\$&")}function xo(t){return new RegExp("^(?:"+t.map(ko).join("|")+")","i")}function _o(t){return new Map(t.map(((t,e)=>[t.toLowerCase(),e])))}function bo(t,e,n){var r=fo.exec(e.slice(n,n+1));return r?(t.w=+r[0],n+r[0].length):-1}function Co(t,e,n){var r=fo.exec(e.slice(n,n+1));return r?(t.u=+r[0],n+r[0].length):-1}function vo(t,e,n){var r=fo.exec(e.slice(n,n+2));return r?(t.U=+r[0],n+r[0].length):-1}function To(t,e,n){var r=fo.exec(e.slice(n,n+2));return r?(t.V=+r[0],n+r[0].length):-1}function Ao(t,e,n){var r=fo.exec(e.slice(n,n+2));return r?(t.W=+r[0],n+r[0].length):-1}function wo(t,e,n){var r=fo.exec(e.slice(n,n+4));return r?(t.y=+r[0],n+r[0].length):-1}function So(t,e,n){var r=fo.exec(e.slice(n,n+2));return r?(t.y=+r[0]+(+r[0]>68?1900:2e3),n+r[0].length):-1}function Io(t,e,n){var r=/^(Z)|([+-]\d\d)(?::?(\d\d))?/.exec(e.slice(n,n+6));return r?(t.Z=r[1]?0:-(r[2]+(r[3]||"00")),n+r[0].length):-1}function Lo(t,e,n){var r=fo.exec(e.slice(n,n+1));return r?(t.q=3*r[0]-3,n+r[0].length):-1}function Eo(t,e,n){var r=fo.exec(e.slice(n,n+2));return r?(t.m=r[0]-1,n+r[0].length):-1}function Bo(t,e,n){var r=fo.exec(e.slice(n,n+2));return r?(t.d=+r[0],n+r[0].length):-1}function Fo(t,e,n){var r=fo.exec(e.slice(n,n+3));return r?(t.m=0,t.d=+r[0],n+r[0].length):-1}function No(t,e,n){var r=fo.exec(e.slice(n,n+2));return r?(t.H=+r[0],n+r[0].length):-1}function Mo(t,e,n){var r=fo.exec(e.slice(n,n+2));return r?(t.M=+r[0],n+r[0].length):-1}function jo(t,e,n){var r=fo.exec(e.slice(n,n+2));return r?(t.S=+r[0],n+r[0].length):-1}function Oo(t,e,n){var r=fo.exec(e.slice(n,n+3));return r?(t.L=+r[0],n+r[0].length):-1}function Ro(t,e,n){var r=fo.exec(e.slice(n,n+6));return r?(t.L=Math.floor(r[0]/1e3),n+r[0].length):-1}function Do(t,e,n){var r=mo.exec(e.slice(n,n+1));return r?n+r[0].length:-1}function qo(t,e,n){var r=fo.exec(e.slice(n));return r?(t.Q=+r[0],n+r[0].length):-1}function $o(t,e,n){var r=fo.exec(e.slice(n));return r?(t.s=+r[0],n+r[0].length):-1}function Po(t,e){return yo(t.getDate(),e,2)}function zo(t,e){return yo(t.getHours(),e,2)}function Uo(t,e){return yo(t.getHours()%12||12,e,2)}function Wo(t,e){return yo(1+Ni.count(to(t),t),e,3)}function Ho(t,e){return yo(t.getMilliseconds(),e,3)}function Vo(t,e){return Ho(t,e)+"000"}function Yo(t,e){return yo(t.getMonth()+1,e,2)}function Go(t,e){return yo(t.getMinutes(),e,2)}function Xo(t,e){return yo(t.getSeconds(),e,2)}function Ko(t){var e=t.getDay();return 0===e?7:e}function Zo(t,e){return yo(Ri.count(to(t)-1,t),e,2)}function Jo(t){var e=t.getDay();return e>=4||0===e?Pi(t):Pi.ceil(t)}function Qo(t,e){return t=Jo(t),yo(Pi.count(to(t),t)+(4===to(t).getDay()),e,2)}function ts(t){return t.getDay()}function es(t,e){return yo(Di.count(to(t)-1,t),e,2)}function ns(t,e){return yo(t.getFullYear()%100,e,2)}function rs(t,e){return yo((t=Jo(t)).getFullYear()%100,e,2)}function is(t,e){return yo(t.getFullYear()%1e4,e,4)}function os(t,e){var n=t.getDay();return yo((t=n>=4||0===n?Pi(t):Pi.ceil(t)).getFullYear()%1e4,e,4)}function ss(t){var e=t.getTimezoneOffset();return(e>0?"-":(e*=-1,"+"))+yo(e/60|0,"0",2)+yo(e%60,"0",2)}function as(t,e){return yo(t.getUTCDate(),e,2)}function ls(t,e){return yo(t.getUTCHours(),e,2)}function cs(t,e){return yo(t.getUTCHours()%12||12,e,2)}function hs(t,e){return yo(1+Mi.count(eo(t),t),e,3)}function us(t,e){return yo(t.getUTCMilliseconds(),e,3)}function ds(t,e){return us(t,e)+"000"}function ps(t,e){return yo(t.getUTCMonth()+1,e,2)}function fs(t,e){return yo(t.getUTCMinutes(),e,2)}function ms(t,e){return yo(t.getUTCSeconds(),e,2)}function gs(t){var e=t.getUTCDay();return 0===e?7:e}function ys(t,e){return yo(Hi.count(eo(t)-1,t),e,2)}function ks(t){var e=t.getUTCDay();return e>=4||0===e?Xi(t):Xi.ceil(t)}function xs(t,e){return t=ks(t),yo(Xi.count(eo(t),t)+(4===eo(t).getUTCDay()),e,2)}function _s(t){return t.getUTCDay()}function bs(t,e){return yo(Vi.count(eo(t)-1,t),e,2)}function Cs(t,e){return yo(t.getUTCFullYear()%100,e,2)}function vs(t,e){return yo((t=ks(t)).getUTCFullYear()%100,e,2)}function Ts(t,e){return yo(t.getUTCFullYear()%1e4,e,4)}function As(t,e){var n=t.getUTCDay();return yo((t=n>=4||0===n?Xi(t):Xi.ceil(t)).getUTCFullYear()%1e4,e,4)}function ws(){return"+0000"}function Ss(){return"%"}function Is(t){return+t}function Ls(t){return Math.floor(+t/1e3)}function Es(t){return new Date(t)}function Bs(t){return t instanceof Date?+t:+new Date(+t)}function Fs(t,e,n,r,i,o,s,a,l,c){var h=Jr(),u=h.invert,d=h.domain,p=c(".%L"),f=c(":%S"),m=c("%I:%M"),g=c("%I %p"),y=c("%a %d"),k=c("%b %d"),x=c("%B"),_=c("%Y");function b(t){return(l(t)<t?p:a(t)<t?f:s(t)<t?m:o(t)<t?g:r(t)<t?i(t)<t?y:k:n(t)<t?x:_)(t)}return h.invert=function(t){return new Date(u(t))},h.domain=function(t){return arguments.length?d(Array.from(t,Bs)):d().map(Es)},h.ticks=function(e){var n=d();return t(n[0],n[n.length-1],null==e?10:e)},h.tickFormat=function(t,e){return null==e?b:c(e)},h.nice=function(t){var n=d();return t&&"function"==typeof t.range||(t=e(n[0],n[n.length-1],null==t?10:t)),t?d(function(t,e){var n,r=0,i=(t=t.slice()).length-1,o=t[r],s=t[i];return s<o&&(n=r,r=i,i=n,n=o,o=s,s=n),t[r]=e.floor(o),t[i]=e.ceil(s),t}(n,t)):h},h.copy=function(){return Kr(h,Fs(t,e,n,r,i,o,s,a,l,c))},h}function Ns(){return gr.apply(Fs(oo,so,to,Ji,Ri,Ni,Bi,Li,Ii,uo).domain([new Date(2e3,0,1),new Date(2e3,0,2)]),arguments)}!function(t){ho=function(t){var e=t.dateTime,n=t.date,r=t.time,i=t.periods,o=t.days,s=t.shortDays,a=t.months,l=t.shortMonths,c=xo(i),h=_o(i),u=xo(o),d=_o(o),p=xo(s),f=_o(s),m=xo(a),g=_o(a),y=xo(l),k=_o(l),x={a:function(t){return s[t.getDay()]},A:function(t){return o[t.getDay()]},b:function(t){return l[t.getMonth()]},B:function(t){return a[t.getMonth()]},c:null,d:Po,e:Po,f:Vo,g:rs,G:os,H:zo,I:Uo,j:Wo,L:Ho,m:Yo,M:Go,p:function(t){return i[+(t.getHours()>=12)]},q:function(t){return 1+~~(t.getMonth()/3)},Q:Is,s:Ls,S:Xo,u:Ko,U:Zo,V:Qo,w:ts,W:es,x:null,X:null,y:ns,Y:is,Z:ss,"%":Ss},_={a:function(t){return s[t.getUTCDay()]},A:function(t){return o[t.getUTCDay()]},b:function(t){return l[t.getUTCMonth()]},B:function(t){return a[t.getUTCMonth()]},c:null,d:as,e:as,f:ds,g:vs,G:As,H:ls,I:cs,j:hs,L:us,m:ps,M:fs,p:function(t){return i[+(t.getUTCHours()>=12)]},q:function(t){return 1+~~(t.getUTCMonth()/3)},Q:Is,s:Ls,S:ms,u:gs,U:ys,V:xs,w:_s,W:bs,x:null,X:null,y:Cs,Y:Ts,Z:ws,"%":Ss},b={a:function(t,e,n){var r=p.exec(e.slice(n));return r?(t.w=f.get(r[0].toLowerCase()),n+r[0].length):-1},A:function(t,e,n){var r=u.exec(e.slice(n));return r?(t.w=d.get(r[0].toLowerCase()),n+r[0].length):-1},b:function(t,e,n){var r=y.exec(e.slice(n));return r?(t.m=k.get(r[0].toLowerCase()),n+r[0].length):-1},B:function(t,e,n){var r=m.exec(e.slice(n));return r?(t.m=g.get(r[0].toLowerCase()),n+r[0].length):-1},c:function(t,n,r){return T(t,e,n,r)},d:Bo,e:Bo,f:Ro,g:So,G:wo,H:No,I:No,j:Fo,L:Oo,m:Eo,M:Mo,p:function(t,e,n){var r=c.exec(e.slice(n));return r?(t.p=h.get(r[0].toLowerCase()),n+r[0].length):-1},q:Lo,Q:qo,s:$o,S:jo,u:Co,U:vo,V:To,w:bo,W:Ao,x:function(t,e,r){return T(t,n,e,r)},X:function(t,e,n){return T(t,r,e,n)},y:So,Y:wo,Z:Io,"%":Do};function C(t,e){return function(n){var r,i,o,s=[],a=-1,l=0,c=t.length;for(n instanceof Date||(n=new Date(+n));++a<c;)37===t.charCodeAt(a)&&(s.push(t.slice(l,a)),null!=(i=po[r=t.charAt(++a)])?r=t.charAt(++a):i="e"===r?" ":"0",(o=e[r])&&(r=o(n,i)),s.push(r),l=a+1);return s.push(t.slice(l,a)),s.join("")}}function v(t,e){return function(n){var r,i,o=co(1900,void 0,1);if(T(o,t,n+="",0)!=n.length)return null;if("Q"in o)return new Date(o.Q);if("s"in o)return new Date(1e3*o.s+("L"in o?o.L:0));if(e&&!("Z"in o)&&(o.Z=0),"p"in o&&(o.H=o.H%12+12*o.p),void 0===o.m&&(o.m="q"in o?o.q:0),"V"in o){if(o.V<1||o.V>53)return null;"w"in o||(o.w=1),"Z"in o?(i=(r=lo(co(o.y,0,1))).getUTCDay(),r=i>4||0===i?Vi.ceil(r):Vi(r),r=Mi.offset(r,7*(o.V-1)),o.y=r.getUTCFullYear(),o.m=r.getUTCMonth(),o.d=r.getUTCDate()+(o.w+6)%7):(i=(r=ao(co(o.y,0,1))).getDay(),r=i>4||0===i?Di.ceil(r):Di(r),r=Ni.offset(r,7*(o.V-1)),o.y=r.getFullYear(),o.m=r.getMonth(),o.d=r.getDate()+(o.w+6)%7)}else("W"in o||"U"in o)&&("w"in o||(o.w="u"in o?o.u%7:"W"in o?1:0),i="Z"in o?lo(co(o.y,0,1)).getUTCDay():ao(co(o.y,0,1)).getDay(),o.m=0,o.d="W"in o?(o.w+6)%7+7*o.W-(i+5)%7:o.w+7*o.U-(i+6)%7);return"Z"in o?(o.H+=o.Z/100|0,o.M+=o.Z%100,lo(o)):ao(o)}}function T(t,e,n,r){for(var i,o,s=0,a=e.length,l=n.length;s<a;){if(r>=l)return-1;if(37===(i=e.charCodeAt(s++))){if(i=e.charAt(s++),!(o=b[i in po?e.charAt(s++):i])||(r=o(t,n,r))<0)return-1}else if(i!=n.charCodeAt(r++))return-1}return r}return x.x=C(n,x),x.X=C(r,x),x.c=C(e,x),_.x=C(n,_),_.X=C(r,_),_.c=C(e,_),{format:function(t){var e=C(t+="",x);return e.toString=function(){return t},e},parse:function(t){var e=v(t+="",!1);return e.toString=function(){return t},e},utcFormat:function(t){var e=C(t+="",_);return e.toString=function(){return t},e},utcParse:function(t){var e=v(t+="",!0);return e.toString=function(){return t},e}}}(t),uo=ho.format,ho.parse,ho.utcFormat,ho.utcParse}({dateTime:"%x, %X",date:"%-m/%-d/%Y",time:"%-I:%M:%S %p",periods:["AM","PM"],days:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],shortDays:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],months:["January","February","March","April","May","June","July","August","September","October","November","December"],shortMonths:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"]});const Ms=function(t){for(var e=t.length/6|0,n=new Array(e),r=0;r<e;)n[r]="#"+t.slice(6*r,6*++r);return n}("4e79a7f28e2ce1575976b7b259a14fedc949af7aa1ff9da79c755fbab0ab");function js(t){return"string"==typeof t?new Lt([[document.querySelector(t)]],[document.documentElement]):new Lt([[t]],It)}function Os(t){return"string"==typeof t?new Lt([document.querySelectorAll(t)],[document.documentElement]):new Lt([b(t)],It)}function Rs(t){return function(){return t}}const Ds=Math.abs,qs=Math.atan2,$s=Math.cos,Ps=Math.max,zs=Math.min,Us=Math.sin,Ws=Math.sqrt,Hs=1e-12,Vs=Math.PI,Ys=Vs/2,Gs=2*Vs;function Xs(t){return t>=1?Ys:t<=-1?-Ys:Math.asin(t)}const Ks=Math.PI,Zs=2*Ks,Js=1e-6,Qs=Zs-Js;function ta(t){this._+=t[0];for(let e=1,n=t.length;e<n;++e)this._+=arguments[e]+t[e]}class ea{constructor(t){this._x0=this._y0=this._x1=this._y1=null,this._="",this._append=null==t?ta:function(t){let e=Math.floor(t);if(!(e>=0))throw new Error(`invalid digits: ${t}`);if(e>15)return ta;const n=10**e;return function(t){this._+=t[0];for(let e=1,r=t.length;e<r;++e)this._+=Math.round(arguments[e]*n)/n+t[e]}}(t)}moveTo(t,e){this._append`M${this._x0=this._x1=+t},${this._y0=this._y1=+e}`}closePath(){null!==this._x1&&(this._x1=this._x0,this._y1=this._y0,this._append`Z`)}lineTo(t,e){this._append`L${this._x1=+t},${this._y1=+e}`}quadraticCurveTo(t,e,n,r){this._append`Q${+t},${+e},${this._x1=+n},${this._y1=+r}`}bezierCurveTo(t,e,n,r,i,o){this._append`C${+t},${+e},${+n},${+r},${this._x1=+i},${this._y1=+o}`}arcTo(t,e,n,r,i){if(t=+t,e=+e,n=+n,r=+r,(i=+i)<0)throw new Error(`negative radius: ${i}`);let o=this._x1,s=this._y1,a=n-t,l=r-e,c=o-t,h=s-e,u=c*c+h*h;if(null===this._x1)this._append`M${this._x1=t},${this._y1=e}`;else if(u>Js)if(Math.abs(h*a-l*c)>Js&&i){let d=n-o,p=r-s,f=a*a+l*l,m=d*d+p*p,g=Math.sqrt(f),y=Math.sqrt(u),k=i*Math.tan((Ks-Math.acos((f+u-m)/(2*g*y)))/2),x=k/y,_=k/g;Math.abs(x-1)>Js&&this._append`L${t+x*c},${e+x*h}`,this._append`A${i},${i},0,0,${+(h*d>c*p)},${this._x1=t+_*a},${this._y1=e+_*l}`}else this._append`L${this._x1=t},${this._y1=e}`;else;}arc(t,e,n,r,i,o){if(t=+t,e=+e,o=!!o,(n=+n)<0)throw new Error(`negative radius: ${n}`);let s=n*Math.cos(r),a=n*Math.sin(r),l=t+s,c=e+a,h=1^o,u=o?r-i:i-r;null===this._x1?this._append`M${l},${c}`:(Math.abs(this._x1-l)>Js||Math.abs(this._y1-c)>Js)&&this._append`L${l},${c}`,n&&(u<0&&(u=u%Zs+Zs),u>Qs?this._append`A${n},${n},0,1,${h},${t-s},${e-a}A${n},${n},0,1,${h},${this._x1=l},${this._y1=c}`:u>Js&&this._append`A${n},${n},0,${+(u>=Ks)},${h},${this._x1=t+n*Math.cos(i)},${this._y1=e+n*Math.sin(i)}`)}rect(t,e,n,r){this._append`M${this._x0=this._x1=+t},${this._y0=this._y1=+e}h${n=+n}v${+r}h${-n}Z`}toString(){return this._}}function na(t){let e=3;return t.digits=function(n){if(!arguments.length)return e;if(null==n)e=null;else{const t=Math.floor(n);if(!(t>=0))throw new RangeError(`invalid digits: ${n}`);e=t}return t},()=>new ea(e)}function ra(t){return t.innerRadius}function ia(t){return t.outerRadius}function oa(t){return t.startAngle}function sa(t){return t.endAngle}function aa(t){return t&&t.padAngle}function la(t,e,n,r,i,o,s){var a=t-n,l=e-r,c=(s?o:-o)/Ws(a*a+l*l),h=c*l,u=-c*a,d=t+h,p=e+u,f=n+h,m=r+u,g=(d+f)/2,y=(p+m)/2,k=f-d,x=m-p,_=k*k+x*x,b=i-o,C=d*m-f*p,v=(x<0?-1:1)*Ws(Ps(0,b*b*_-C*C)),T=(C*x-k*v)/_,A=(-C*k-x*v)/_,w=(C*x+k*v)/_,S=(-C*k+x*v)/_,I=T-g,L=A-y,E=w-g,B=S-y;return I*I+L*L>E*E+B*B&&(T=w,A=S),{cx:T,cy:A,x01:-h,y01:-u,x11:T*(i/b-1),y11:A*(i/b-1)}}function ca(){var t=ra,e=ia,n=Rs(0),r=null,i=oa,o=sa,s=aa,a=null,l=na(c);function c(){var c,h,u,d=+t.apply(this,arguments),p=+e.apply(this,arguments),f=i.apply(this,arguments)-Ys,m=o.apply(this,arguments)-Ys,g=Ds(m-f),y=m>f;if(a||(a=c=l()),p<d&&(h=p,p=d,d=h),p>Hs)if(g>Gs-Hs)a.moveTo(p*$s(f),p*Us(f)),a.arc(0,0,p,f,m,!y),d>Hs&&(a.moveTo(d*$s(m),d*Us(m)),a.arc(0,0,d,m,f,y));else{var k,x,_=f,b=m,C=f,v=m,T=g,A=g,w=s.apply(this,arguments)/2,S=w>Hs&&(r?+r.apply(this,arguments):Ws(d*d+p*p)),I=zs(Ds(p-d)/2,+n.apply(this,arguments)),L=I,E=I;if(S>Hs){var B=Xs(S/d*Us(w)),F=Xs(S/p*Us(w));(T-=2*B)>Hs?(C+=B*=y?1:-1,v-=B):(T=0,C=v=(f+m)/2),(A-=2*F)>Hs?(_+=F*=y?1:-1,b-=F):(A=0,_=b=(f+m)/2)}var N=p*$s(_),M=p*Us(_),j=d*$s(v),O=d*Us(v);if(I>Hs){var R,D=p*$s(b),q=p*Us(b),$=d*$s(C),P=d*Us(C);if(g<Vs)if(R=function(t,e,n,r,i,o,s,a){var l=n-t,c=r-e,h=s-i,u=a-o,d=u*l-h*c;if(!(d*d<Hs))return[t+(d=(h*(e-o)-u*(t-i))/d)*l,e+d*c]}(N,M,$,P,D,q,j,O)){var z=N-R[0],U=M-R[1],W=D-R[0],H=q-R[1],V=1/Us(((u=(z*W+U*H)/(Ws(z*z+U*U)*Ws(W*W+H*H)))>1?0:u<-1?Vs:Math.acos(u))/2),Y=Ws(R[0]*R[0]+R[1]*R[1]);L=zs(I,(d-Y)/(V-1)),E=zs(I,(p-Y)/(V+1))}else L=E=0}A>Hs?E>Hs?(k=la($,P,N,M,p,E,y),x=la(D,q,j,O,p,E,y),a.moveTo(k.cx+k.x01,k.cy+k.y01),E<I?a.arc(k.cx,k.cy,E,qs(k.y01,k.x01),qs(x.y01,x.x01),!y):(a.arc(k.cx,k.cy,E,qs(k.y01,k.x01),qs(k.y11,k.x11),!y),a.arc(0,0,p,qs(k.cy+k.y11,k.cx+k.x11),qs(x.cy+x.y11,x.cx+x.x11),!y),a.arc(x.cx,x.cy,E,qs(x.y11,x.x11),qs(x.y01,x.x01),!y))):(a.moveTo(N,M),a.arc(0,0,p,_,b,!y)):a.moveTo(N,M),d>Hs&&T>Hs?L>Hs?(k=la(j,O,D,q,d,-L,y),x=la(N,M,$,P,d,-L,y),a.lineTo(k.cx+k.x01,k.cy+k.y01),L<I?a.arc(k.cx,k.cy,L,qs(k.y01,k.x01),qs(x.y01,x.x01),!y):(a.arc(k.cx,k.cy,L,qs(k.y01,k.x01),qs(k.y11,k.x11),!y),a.arc(0,0,d,qs(k.cy+k.y11,k.cx+k.x11),qs(x.cy+x.y11,x.cx+x.x11),y),a.arc(x.cx,x.cy,L,qs(x.y11,x.x11),qs(x.y01,x.x01),!y))):a.arc(0,0,d,v,C,y):a.lineTo(j,O)}else a.moveTo(0,0);if(a.closePath(),c)return a=null,c+""||null}return c.centroid=function(){var n=(+t.apply(this,arguments)+ +e.apply(this,arguments))/2,r=(+i.apply(this,arguments)+ +o.apply(this,arguments))/2-Vs/2;return[$s(r)*n,Us(r)*n]},c.innerRadius=function(e){return arguments.length?(t="function"==typeof e?e:Rs(+e),c):t},c.outerRadius=function(t){return arguments.length?(e="function"==typeof t?t:Rs(+t),c):e},c.cornerRadius=function(t){return arguments.length?(n="function"==typeof t?t:Rs(+t),c):n},c.padRadius=function(t){return arguments.length?(r=null==t?null:"function"==typeof t?t:Rs(+t),c):r},c.startAngle=function(t){return arguments.length?(i="function"==typeof t?t:Rs(+t),c):i},c.endAngle=function(t){return arguments.length?(o="function"==typeof t?t:Rs(+t),c):o},c.padAngle=function(t){return arguments.length?(s="function"==typeof t?t:Rs(+t),c):s},c.context=function(t){return arguments.length?(a=null==t?null:t,c):a},c}ea.prototype;Array.prototype.slice;function ha(t){return"object"==typeof t&&"length"in t?t:Array.from(t)}function ua(t){this._context=t}function da(t){return new ua(t)}function pa(t){return t[0]}function fa(t){return t[1]}function ma(t,e){var n=Rs(!0),r=null,i=da,o=null,s=na(a);function a(a){var l,c,h,u=(a=ha(a)).length,d=!1;for(null==r&&(o=i(h=s())),l=0;l<=u;++l)!(l<u&&n(c=a[l],l,a))===d&&((d=!d)?o.lineStart():o.lineEnd()),d&&o.point(+t(c,l,a),+e(c,l,a));if(h)return o=null,h+""||null}return t="function"==typeof t?t:void 0===t?pa:Rs(t),e="function"==typeof e?e:void 0===e?fa:Rs(e),a.x=function(e){return arguments.length?(t="function"==typeof e?e:Rs(+e),a):t},a.y=function(t){return arguments.length?(e="function"==typeof t?t:Rs(+t),a):e},a.defined=function(t){return arguments.length?(n="function"==typeof t?t:Rs(!!t),a):n},a.curve=function(t){return arguments.length?(i=t,null!=r&&(o=i(r)),a):i},a.context=function(t){return arguments.length?(null==t?r=o=null:o=i(r=t),a):r},a}function ga(t,e){return e<t?-1:e>t?1:e>=t?0:NaN}function ya(t){return t}function ka(){var t=ya,e=ga,n=null,r=Rs(0),i=Rs(Gs),o=Rs(0);function s(s){var a,l,c,h,u,d=(s=ha(s)).length,p=0,f=new Array(d),m=new Array(d),g=+r.apply(this,arguments),y=Math.min(Gs,Math.max(-Gs,i.apply(this,arguments)-g)),k=Math.min(Math.abs(y)/d,o.apply(this,arguments)),x=k*(y<0?-1:1);for(a=0;a<d;++a)(u=m[f[a]=a]=+t(s[a],a,s))>0&&(p+=u);for(null!=e?f.sort((function(t,n){return e(m[t],m[n])})):null!=n&&f.sort((function(t,e){return n(s[t],s[e])})),a=0,c=p?(y-d*x)/p:0;a<d;++a,g=h)l=f[a],h=g+((u=m[l])>0?u*c:0)+x,m[l]={data:s[l],index:a,value:u,startAngle:g,endAngle:h,padAngle:k};return m}return s.value=function(e){return arguments.length?(t="function"==typeof e?e:Rs(+e),s):t},s.sortValues=function(t){return arguments.length?(e=t,n=null,s):e},s.sort=function(t){return arguments.length?(n=t,e=null,s):n},s.startAngle=function(t){return arguments.length?(r="function"==typeof t?t:Rs(+t),s):r},s.endAngle=function(t){return arguments.length?(i="function"==typeof t?t:Rs(+t),s):i},s.padAngle=function(t){return arguments.length?(o="function"==typeof t?t:Rs(+t),s):o},s}function xa(){}function _a(t,e,n){t._context.bezierCurveTo((2*t._x0+t._x1)/3,(2*t._y0+t._y1)/3,(t._x0+2*t._x1)/3,(t._y0+2*t._y1)/3,(t._x0+4*t._x1+e)/6,(t._y0+4*t._y1+n)/6)}function ba(t){this._context=t}function Ca(t){return new ba(t)}function va(t){this._context=t}function Ta(t){return new va(t)}function Aa(t){this._context=t}function wa(t){return new Aa(t)}ua.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._point=0},lineEnd:function(){(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1,this._line?this._context.lineTo(t,e):this._context.moveTo(t,e);break;case 1:this._point=2;default:this._context.lineTo(t,e)}}},ba.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=NaN,this._point=0},lineEnd:function(){switch(this._point){case 3:_a(this,this._x1,this._y1);case 2:this._context.lineTo(this._x1,this._y1)}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1,this._line?this._context.lineTo(t,e):this._context.moveTo(t,e);break;case 1:this._point=2;break;case 2:this._point=3,this._context.lineTo((5*this._x0+this._x1)/6,(5*this._y0+this._y1)/6);default:_a(this,t,e)}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=e}},va.prototype={areaStart:xa,areaEnd:xa,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._y0=this._y1=this._y2=this._y3=this._y4=NaN,this._point=0},lineEnd:function(){switch(this._point){case 1:this._context.moveTo(this._x2,this._y2),this._context.closePath();break;case 2:this._context.moveTo((this._x2+2*this._x3)/3,(this._y2+2*this._y3)/3),this._context.lineTo((this._x3+2*this._x2)/3,(this._y3+2*this._y2)/3),this._context.closePath();break;case 3:this.point(this._x2,this._y2),this.point(this._x3,this._y3),this.point(this._x4,this._y4)}},point:function(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1,this._x2=t,this._y2=e;break;case 1:this._point=2,this._x3=t,this._y3=e;break;case 2:this._point=3,this._x4=t,this._y4=e,this._context.moveTo((this._x0+4*this._x1+t)/6,(this._y0+4*this._y1+e)/6);break;default:_a(this,t,e)}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=e}},Aa.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=NaN,this._point=0},lineEnd:function(){(this._line||0!==this._line&&3===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3;var n=(this._x0+4*this._x1+t)/6,r=(this._y0+4*this._y1+e)/6;this._line?this._context.lineTo(n,r):this._context.moveTo(n,r);break;case 3:this._point=4;default:_a(this,t,e)}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=e}};class Sa{constructor(t,e){this._context=t,this._x=e}areaStart(){this._line=0}areaEnd(){this._line=NaN}lineStart(){this._point=0}lineEnd(){(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line}point(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1,this._line?this._context.lineTo(t,e):this._context.moveTo(t,e);break;case 1:this._point=2;default:this._x?this._context.bezierCurveTo(this._x0=(this._x0+t)/2,this._y0,this._x0,e,t,e):this._context.bezierCurveTo(this._x0,this._y0=(this._y0+e)/2,t,this._y0,t,e)}this._x0=t,this._y0=e}}function Ia(t){return new Sa(t,!0)}function La(t){return new Sa(t,!1)}function Ea(t,e){this._basis=new ba(t),this._beta=e}Ea.prototype={lineStart:function(){this._x=[],this._y=[],this._basis.lineStart()},lineEnd:function(){var t=this._x,e=this._y,n=t.length-1;if(n>0)for(var r,i=t[0],o=e[0],s=t[n]-i,a=e[n]-o,l=-1;++l<=n;)r=l/n,this._basis.point(this._beta*t[l]+(1-this._beta)*(i+r*s),this._beta*e[l]+(1-this._beta)*(o+r*a));this._x=this._y=null,this._basis.lineEnd()},point:function(t,e){this._x.push(+t),this._y.push(+e)}};const Ba=function t(e){function n(t){return 1===e?new ba(t):new Ea(t,e)}return n.beta=function(e){return t(+e)},n}(.85);function Fa(t,e,n){t._context.bezierCurveTo(t._x1+t._k*(t._x2-t._x0),t._y1+t._k*(t._y2-t._y0),t._x2+t._k*(t._x1-e),t._y2+t._k*(t._y1-n),t._x2,t._y2)}function Na(t,e){this._context=t,this._k=(1-e)/6}Na.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x2,this._y2);break;case 3:Fa(this,this._x1,this._y1)}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1,this._line?this._context.lineTo(t,e):this._context.moveTo(t,e);break;case 1:this._point=2,this._x1=t,this._y1=e;break;case 2:this._point=3;default:Fa(this,t,e)}this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=e}};const Ma=function t(e){function n(t){return new Na(t,e)}return n.tension=function(e){return t(+e)},n}(0);function ja(t,e){this._context=t,this._k=(1-e)/6}ja.prototype={areaStart:xa,areaEnd:xa,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._x5=this._y0=this._y1=this._y2=this._y3=this._y4=this._y5=NaN,this._point=0},lineEnd:function(){switch(this._point){case 1:this._context.moveTo(this._x3,this._y3),this._context.closePath();break;case 2:this._context.lineTo(this._x3,this._y3),this._context.closePath();break;case 3:this.point(this._x3,this._y3),this.point(this._x4,this._y4),this.point(this._x5,this._y5)}},point:function(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1,this._x3=t,this._y3=e;break;case 1:this._point=2,this._context.moveTo(this._x4=t,this._y4=e);break;case 2:this._point=3,this._x5=t,this._y5=e;break;default:Fa(this,t,e)}this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=e}};const Oa=function t(e){function n(t){return new ja(t,e)}return n.tension=function(e){return t(+e)},n}(0);function Ra(t,e){this._context=t,this._k=(1-e)/6}Ra.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._point=0},lineEnd:function(){(this._line||0!==this._line&&3===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3,this._line?this._context.lineTo(this._x2,this._y2):this._context.moveTo(this._x2,this._y2);break;case 3:this._point=4;default:Fa(this,t,e)}this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=e}};const Da=function t(e){function n(t){return new Ra(t,e)}return n.tension=function(e){return t(+e)},n}(0);function qa(t,e,n){var r=t._x1,i=t._y1,o=t._x2,s=t._y2;if(t._l01_a>Hs){var a=2*t._l01_2a+3*t._l01_a*t._l12_a+t._l12_2a,l=3*t._l01_a*(t._l01_a+t._l12_a);r=(r*a-t._x0*t._l12_2a+t._x2*t._l01_2a)/l,i=(i*a-t._y0*t._l12_2a+t._y2*t._l01_2a)/l}if(t._l23_a>Hs){var c=2*t._l23_2a+3*t._l23_a*t._l12_a+t._l12_2a,h=3*t._l23_a*(t._l23_a+t._l12_a);o=(o*c+t._x1*t._l23_2a-e*t._l12_2a)/h,s=(s*c+t._y1*t._l23_2a-n*t._l12_2a)/h}t._context.bezierCurveTo(r,i,o,s,t._x2,t._y2)}function $a(t,e){this._context=t,this._alpha=e}$a.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x2,this._y2);break;case 3:this.point(this._x2,this._y2)}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){if(t=+t,e=+e,this._point){var n=this._x2-t,r=this._y2-e;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(n*n+r*r,this._alpha))}switch(this._point){case 0:this._point=1,this._line?this._context.lineTo(t,e):this._context.moveTo(t,e);break;case 1:this._point=2;break;case 2:this._point=3;default:qa(this,t,e)}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=e}};const Pa=function t(e){function n(t){return e?new $a(t,e):new Na(t,0)}return n.alpha=function(e){return t(+e)},n}(.5);function za(t,e){this._context=t,this._alpha=e}za.prototype={areaStart:xa,areaEnd:xa,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._x5=this._y0=this._y1=this._y2=this._y3=this._y4=this._y5=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){switch(this._point){case 1:this._context.moveTo(this._x3,this._y3),this._context.closePath();break;case 2:this._context.lineTo(this._x3,this._y3),this._context.closePath();break;case 3:this.point(this._x3,this._y3),this.point(this._x4,this._y4),this.point(this._x5,this._y5)}},point:function(t,e){if(t=+t,e=+e,this._point){var n=this._x2-t,r=this._y2-e;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(n*n+r*r,this._alpha))}switch(this._point){case 0:this._point=1,this._x3=t,this._y3=e;break;case 1:this._point=2,this._context.moveTo(this._x4=t,this._y4=e);break;case 2:this._point=3,this._x5=t,this._y5=e;break;default:qa(this,t,e)}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=e}};const Ua=function t(e){function n(t){return e?new za(t,e):new ja(t,0)}return n.alpha=function(e){return t(+e)},n}(.5);function Wa(t,e){this._context=t,this._alpha=e}Wa.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){(this._line||0!==this._line&&3===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){if(t=+t,e=+e,this._point){var n=this._x2-t,r=this._y2-e;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(n*n+r*r,this._alpha))}switch(this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3,this._line?this._context.lineTo(this._x2,this._y2):this._context.moveTo(this._x2,this._y2);break;case 3:this._point=4;default:qa(this,t,e)}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=e}};const Ha=function t(e){function n(t){return e?new Wa(t,e):new Ra(t,0)}return n.alpha=function(e){return t(+e)},n}(.5);function Va(t){this._context=t}function Ya(t){return new Va(t)}function Ga(t){return t<0?-1:1}function Xa(t,e,n){var r=t._x1-t._x0,i=e-t._x1,o=(t._y1-t._y0)/(r||i<0&&-0),s=(n-t._y1)/(i||r<0&&-0),a=(o*i+s*r)/(r+i);return(Ga(o)+Ga(s))*Math.min(Math.abs(o),Math.abs(s),.5*Math.abs(a))||0}function Ka(t,e){var n=t._x1-t._x0;return n?(3*(t._y1-t._y0)/n-e)/2:e}function Za(t,e,n){var r=t._x0,i=t._y0,o=t._x1,s=t._y1,a=(o-r)/3;t._context.bezierCurveTo(r+a,i+a*e,o-a,s-a*n,o,s)}function Ja(t){this._context=t}function Qa(t){this._context=new tl(t)}function tl(t){this._context=t}function el(t){return new Ja(t)}function nl(t){return new Qa(t)}function rl(t){this._context=t}function il(t){var e,n,r=t.length-1,i=new Array(r),o=new Array(r),s=new Array(r);for(i[0]=0,o[0]=2,s[0]=t[0]+2*t[1],e=1;e<r-1;++e)i[e]=1,o[e]=4,s[e]=4*t[e]+2*t[e+1];for(i[r-1]=2,o[r-1]=7,s[r-1]=8*t[r-1]+t[r],e=1;e<r;++e)n=i[e]/o[e-1],o[e]-=n,s[e]-=n*s[e-1];for(i[r-1]=s[r-1]/o[r-1],e=r-2;e>=0;--e)i[e]=(s[e]-i[e+1])/o[e];for(o[r-1]=(t[r]+i[r-1])/2,e=0;e<r-1;++e)o[e]=2*t[e+1]-i[e+1];return[i,o]}function ol(t){return new rl(t)}function sl(t,e){this._context=t,this._t=e}function al(t){return new sl(t,.5)}function ll(t){return new sl(t,0)}function cl(t){return new sl(t,1)}function hl(t,e,n){this.k=t,this.x=e,this.y=n}Va.prototype={areaStart:xa,areaEnd:xa,lineStart:function(){this._point=0},lineEnd:function(){this._point&&this._context.closePath()},point:function(t,e){t=+t,e=+e,this._point?this._context.lineTo(t,e):(this._point=1,this._context.moveTo(t,e))}},Ja.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=this._t0=NaN,this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x1,this._y1);break;case 3:Za(this,this._t0,Ka(this,this._t0))}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){var n=NaN;if(e=+e,(t=+t)!==this._x1||e!==this._y1){switch(this._point){case 0:this._point=1,this._line?this._context.lineTo(t,e):this._context.moveTo(t,e);break;case 1:this._point=2;break;case 2:this._point=3,Za(this,Ka(this,n=Xa(this,t,e)),n);break;default:Za(this,this._t0,n=Xa(this,t,e))}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=e,this._t0=n}}},(Qa.prototype=Object.create(Ja.prototype)).point=function(t,e){Ja.prototype.point.call(this,e,t)},tl.prototype={moveTo:function(t,e){this._context.moveTo(e,t)},closePath:function(){this._context.closePath()},lineTo:function(t,e){this._context.lineTo(e,t)},bezierCurveTo:function(t,e,n,r,i,o){this._context.bezierCurveTo(e,t,r,n,o,i)}},rl.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x=[],this._y=[]},lineEnd:function(){var t=this._x,e=this._y,n=t.length;if(n)if(this._line?this._context.lineTo(t[0],e[0]):this._context.moveTo(t[0],e[0]),2===n)this._context.lineTo(t[1],e[1]);else for(var r=il(t),i=il(e),o=0,s=1;s<n;++o,++s)this._context.bezierCurveTo(r[0][o],i[0][o],r[1][o],i[1][o],t[s],e[s]);(this._line||0!==this._line&&1===n)&&this._context.closePath(),this._line=1-this._line,this._x=this._y=null},point:function(t,e){this._x.push(+t),this._y.push(+e)}},sl.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x=this._y=NaN,this._point=0},lineEnd:function(){0<this._t&&this._t<1&&2===this._point&&this._context.lineTo(this._x,this._y),(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line>=0&&(this._t=1-this._t,this._line=1-this._line)},point:function(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1,this._line?this._context.lineTo(t,e):this._context.moveTo(t,e);break;case 1:this._point=2;default:if(this._t<=0)this._context.lineTo(this._x,e),this._context.lineTo(t,e);else{var n=this._x*(1-this._t)+t*this._t;this._context.lineTo(n,this._y),this._context.lineTo(n,e)}}this._x=t,this._y=e}},hl.prototype={constructor:hl,scale:function(t){return 1===t?this:new hl(this.k*t,this.x,this.y)},translate:function(t,e){return 0===t&0===e?this:new hl(this.k,this.x+this.k*t,this.y+this.k*e)},apply:function(t){return[t[0]*this.k+this.x,t[1]*this.k+this.y]},applyX:function(t){return t*this.k+this.x},applyY:function(t){return t*this.k+this.y},invert:function(t){return[(t[0]-this.x)/this.k,(t[1]-this.y)/this.k]},invertX:function(t){return(t-this.x)/this.k},invertY:function(t){return(t-this.y)/this.k},rescaleX:function(t){return t.copy().domain(t.range().map(this.invertX,this).map(t.invert,t))},rescaleY:function(t){return t.copy().domain(t.range().map(this.invertY,this).map(t.invert,t))},toString:function(){return"translate("+this.x+","+this.y+") scale("+this.k+")"}};new hl(1,0,0);hl.prototype},3539:(t,e,n)=>{"use strict";n.d(e,{A:()=>s});var r=n(2453),i=n(3122);const o=class{constructor(){this.type=i.Z.ALL}get(){return this.type}set(t){if(this.type&&this.type!==t)throw new Error("Cannot change both RGB and HSL channels at the same time");this.type=t}reset(){this.type=i.Z.ALL}is(t){return this.type===t}};const s=new class{constructor(t,e){this.color=e,this.changed=!1,this.data=t,this.type=new o}set(t,e){return this.color=e,this.changed=!1,this.data=t,this.type.type=i.Z.ALL,this}_ensureHSL(){const t=this.data,{h:e,s:n,l:i}=t;void 0===e&&(t.h=r.A.channel.rgb2hsl(t,"h")),void 0===n&&(t.s=r.A.channel.rgb2hsl(t,"s")),void 0===i&&(t.l=r.A.channel.rgb2hsl(t,"l"))}_ensureRGB(){const t=this.data,{r:e,g:n,b:i}=t;void 0===e&&(t.r=r.A.channel.hsl2rgb(t,"r")),void 0===n&&(t.g=r.A.channel.hsl2rgb(t,"g")),void 0===i&&(t.b=r.A.channel.hsl2rgb(t,"b"))}get r(){const t=this.data,e=t.r;return this.type.is(i.Z.HSL)||void 0===e?(this._ensureHSL(),r.A.channel.hsl2rgb(t,"r")):e}get g(){const t=this.data,e=t.g;return this.type.is(i.Z.HSL)||void 0===e?(this._ensureHSL(),r.A.channel.hsl2rgb(t,"g")):e}get b(){const t=this.data,e=t.b;return this.type.is(i.Z.HSL)||void 0===e?(this._ensureHSL(),r.A.channel.hsl2rgb(t,"b")):e}get h(){const t=this.data,e=t.h;return this.type.is(i.Z.RGB)||void 0===e?(this._ensureRGB(),r.A.channel.rgb2hsl(t,"h")):e}get s(){const t=this.data,e=t.s;return this.type.is(i.Z.RGB)||void 0===e?(this._ensureRGB(),r.A.channel.rgb2hsl(t,"s")):e}get l(){const t=this.data,e=t.l;return this.type.is(i.Z.RGB)||void 0===e?(this._ensureRGB(),r.A.channel.rgb2hsl(t,"l")):e}get a(){return this.data.a}set r(t){this.type.set(i.Z.RGB),this.changed=!0,this.data.r=t}set g(t){this.type.set(i.Z.RGB),this.changed=!0,this.data.g=t}set b(t){this.type.set(i.Z.RGB),this.changed=!0,this.data.b=t}set h(t){this.type.set(i.Z.HSL),this.changed=!0,this.data.h=t}set s(t){this.type.set(i.Z.HSL),this.changed=!0,this.data.s=t}set l(t){this.type.set(i.Z.HSL),this.changed=!0,this.data.l=t}set a(t){this.changed=!0,this.data.a=t}}({r:0,g:0,b:0,a:0},"transparent")},4886:(t,e,n)=>{"use strict";n.d(e,{A:()=>m});var r=n(3539),i=n(3122);const o={re:/^#((?:[a-f0-9]{2}){2,4}|[a-f0-9]{3})$/i,parse:t=>{if(35!==t.charCodeAt(0))return;const e=t.match(o.re);if(!e)return;const n=e[1],i=parseInt(n,16),s=n.length,a=s%4==0,l=s>4,c=l?1:17,h=l?8:4,u=a?0:-1,d=l?255:15;return r.A.set({r:(i>>h*(u+3)&d)*c,g:(i>>h*(u+2)&d)*c,b:(i>>h*(u+1)&d)*c,a:a?(i&d)*c/255:1},t)},stringify:t=>{const{r:e,g:n,b:r,a:o}=t;return o<1?`#${i.Y[Math.round(e)]}${i.Y[Math.round(n)]}${i.Y[Math.round(r)]}${i.Y[Math.round(255*o)]}`:`#${i.Y[Math.round(e)]}${i.Y[Math.round(n)]}${i.Y[Math.round(r)]}`}},s=o;var a=n(2453);const l={re:/^hsla?\(\s*?(-?(?:\d+(?:\.\d+)?|(?:\.\d+))(?:e-?\d+)?(?:deg|grad|rad|turn)?)\s*?(?:,|\s)\s*?(-?(?:\d+(?:\.\d+)?|(?:\.\d+))(?:e-?\d+)?%)\s*?(?:,|\s)\s*?(-?(?:\d+(?:\.\d+)?|(?:\.\d+))(?:e-?\d+)?%)(?:\s*?(?:,|\/)\s*?\+?(-?(?:\d+(?:\.\d+)?|(?:\.\d+))(?:e-?\d+)?(%)?))?\s*?\)$/i,hueRe:/^(.+?)(deg|grad|rad|turn)$/i,_hue2deg:t=>{const e=t.match(l.hueRe);if(e){const[,t,n]=e;switch(n){case"grad":return a.A.channel.clamp.h(.9*parseFloat(t));case"rad":return a.A.channel.clamp.h(180*parseFloat(t)/Math.PI);case"turn":return a.A.channel.clamp.h(360*parseFloat(t))}}return a.A.channel.clamp.h(parseFloat(t))},parse:t=>{const e=t.charCodeAt(0);if(104!==e&&72!==e)return;const n=t.match(l.re);if(!n)return;const[,i,o,s,c,h]=n;return r.A.set({h:l._hue2deg(i),s:a.A.channel.clamp.s(parseFloat(o)),l:a.A.channel.clamp.l(parseFloat(s)),a:c?a.A.channel.clamp.a(h?parseFloat(c)/100:parseFloat(c)):1},t)},stringify:t=>{const{h:e,s:n,l:r,a:i}=t;return i<1?`hsla(${a.A.lang.round(e)}, ${a.A.lang.round(n)}%, ${a.A.lang.round(r)}%, ${i})`:`hsl(${a.A.lang.round(e)}, ${a.A.lang.round(n)}%, ${a.A.lang.round(r)}%)`}},c=l,h={colors:{aliceblue:"#f0f8ff",antiquewhite:"#faebd7",aqua:"#00ffff",aquamarine:"#7fffd4",azure:"#f0ffff",beige:"#f5f5dc",bisque:"#ffe4c4",black:"#000000",blanchedalmond:"#ffebcd",blue:"#0000ff",blueviolet:"#8a2be2",brown:"#a52a2a",burlywood:"#deb887",cadetblue:"#5f9ea0",chartreuse:"#7fff00",chocolate:"#d2691e",coral:"#ff7f50",cornflowerblue:"#6495ed",cornsilk:"#fff8dc",crimson:"#dc143c",cyanaqua:"#00ffff",darkblue:"#00008b",darkcyan:"#008b8b",darkgoldenrod:"#b8860b",darkgray:"#a9a9a9",darkgreen:"#006400",darkgrey:"#a9a9a9",darkkhaki:"#bdb76b",darkmagenta:"#8b008b",darkolivegreen:"#556b2f",darkorange:"#ff8c00",darkorchid:"#9932cc",darkred:"#8b0000",darksalmon:"#e9967a",darkseagreen:"#8fbc8f",darkslateblue:"#483d8b",darkslategray:"#2f4f4f",darkslategrey:"#2f4f4f",darkturquoise:"#00ced1",darkviolet:"#9400d3",deeppink:"#ff1493",deepskyblue:"#00bfff",dimgray:"#696969",dimgrey:"#696969",dodgerblue:"#1e90ff",firebrick:"#b22222",floralwhite:"#fffaf0",forestgreen:"#228b22",fuchsia:"#ff00ff",gainsboro:"#dcdcdc",ghostwhite:"#f8f8ff",gold:"#ffd700",goldenrod:"#daa520",gray:"#808080",green:"#008000",greenyellow:"#adff2f",grey:"#808080",honeydew:"#f0fff0",hotpink:"#ff69b4",indianred:"#cd5c5c",indigo:"#4b0082",ivory:"#fffff0",khaki:"#f0e68c",lavender:"#e6e6fa",lavenderblush:"#fff0f5",lawngreen:"#7cfc00",lemonchiffon:"#fffacd",lightblue:"#add8e6",lightcoral:"#f08080",lightcyan:"#e0ffff",lightgoldenrodyellow:"#fafad2",lightgray:"#d3d3d3",lightgreen:"#90ee90",lightgrey:"#d3d3d3",lightpink:"#ffb6c1",lightsalmon:"#ffa07a",lightseagreen:"#20b2aa",lightskyblue:"#87cefa",lightslategray:"#778899",lightslategrey:"#778899",lightsteelblue:"#b0c4de",lightyellow:"#ffffe0",lime:"#00ff00",limegreen:"#32cd32",linen:"#faf0e6",magenta:"#ff00ff",maroon:"#800000",mediumaquamarine:"#66cdaa",mediumblue:"#0000cd",mediumorchid:"#ba55d3",mediumpurple:"#9370db",mediumseagreen:"#3cb371",mediumslateblue:"#7b68ee",mediumspringgreen:"#00fa9a",mediumturquoise:"#48d1cc",mediumvioletred:"#c71585",midnightblue:"#191970",mintcream:"#f5fffa",mistyrose:"#ffe4e1",moccasin:"#ffe4b5",navajowhite:"#ffdead",navy:"#000080",oldlace:"#fdf5e6",olive:"#808000",olivedrab:"#6b8e23",orange:"#ffa500",orangered:"#ff4500",orchid:"#da70d6",palegoldenrod:"#eee8aa",palegreen:"#98fb98",paleturquoise:"#afeeee",palevioletred:"#db7093",papayawhip:"#ffefd5",peachpuff:"#ffdab9",peru:"#cd853f",pink:"#ffc0cb",plum:"#dda0dd",powderblue:"#b0e0e6",purple:"#800080",rebeccapurple:"#663399",red:"#ff0000",rosybrown:"#bc8f8f",royalblue:"#4169e1",saddlebrown:"#8b4513",salmon:"#fa8072",sandybrown:"#f4a460",seagreen:"#2e8b57",seashell:"#fff5ee",sienna:"#a0522d",silver:"#c0c0c0",skyblue:"#87ceeb",slateblue:"#6a5acd",slategray:"#708090",slategrey:"#708090",snow:"#fffafa",springgreen:"#00ff7f",tan:"#d2b48c",teal:"#008080",thistle:"#d8bfd8",transparent:"#00000000",turquoise:"#40e0d0",violet:"#ee82ee",wheat:"#f5deb3",white:"#ffffff",whitesmoke:"#f5f5f5",yellow:"#ffff00",yellowgreen:"#9acd32"},parse:t=>{t=t.toLowerCase();const e=h.colors[t];if(e)return s.parse(e)},stringify:t=>{const e=s.stringify(t);for(const n in h.colors)if(h.colors[n]===e)return n}},u=h,d={re:/^rgba?\(\s*?(-?(?:\d+(?:\.\d+)?|(?:\.\d+))(?:e\d+)?(%?))\s*?(?:,|\s)\s*?(-?(?:\d+(?:\.\d+)?|(?:\.\d+))(?:e\d+)?(%?))\s*?(?:,|\s)\s*?(-?(?:\d+(?:\.\d+)?|(?:\.\d+))(?:e\d+)?(%?))(?:\s*?(?:,|\/)\s*?\+?(-?(?:\d+(?:\.\d+)?|(?:\.\d+))(?:e\d+)?(%?)))?\s*?\)$/i,parse:t=>{const e=t.charCodeAt(0);if(114!==e&&82!==e)return;const n=t.match(d.re);if(!n)return;const[,i,o,s,l,c,h,u,p]=n;return r.A.set({r:a.A.channel.clamp.r(o?2.55*parseFloat(i):parseFloat(i)),g:a.A.channel.clamp.g(l?2.55*parseFloat(s):parseFloat(s)),b:a.A.channel.clamp.b(h?2.55*parseFloat(c):parseFloat(c)),a:u?a.A.channel.clamp.a(p?parseFloat(u)/100:parseFloat(u)):1},t)},stringify:t=>{const{r:e,g:n,b:r,a:i}=t;return i<1?`rgba(${a.A.lang.round(e)}, ${a.A.lang.round(n)}, ${a.A.lang.round(r)}, ${a.A.lang.round(i)})`:`rgb(${a.A.lang.round(e)}, ${a.A.lang.round(n)}, ${a.A.lang.round(r)})`}},p=d,f={format:{keyword:h,hex:s,rgb:d,rgba:d,hsl:l,hsla:l},parse:t=>{if("string"!=typeof t)return t;const e=s.parse(t)||p.parse(t)||c.parse(t)||u.parse(t);if(e)return e;throw new Error(`Unsupported color format: "${t}"`)},stringify:t=>!t.changed&&t.color?t.color:t.type.is(i.Z.HSL)||void 0===t.data.r?c.stringify(t):t.a<1||!Number.isInteger(t.r)||!Number.isInteger(t.g)||!Number.isInteger(t.b)?p.stringify(t):s.stringify(t)},m=f},3122:(t,e,n)=>{"use strict";n.d(e,{Y:()=>i,Z:()=>o});var r=n(2453);const i={};for(let s=0;s<=255;s++)i[s]=r.A.unit.dec2hex(s);const o={ALL:0,RGB:1,HSL:2}},5635:(t,e,n)=>{"use strict";n.d(e,{A:()=>o});var r=n(2453),i=n(4886);const o=(t,e,n)=>{const o=i.A.parse(t),s=o[e],a=r.A.channel.clamp[e](s+n);return s!==a&&(o[e]=a),i.A.stringify(o)}},8232:(t,e,n)=>{"use strict";n.d(e,{A:()=>o});var r=n(2453),i=n(4886);const o=(t,e)=>{const n=i.A.parse(t);for(const i in e)n[i]=r.A.channel.clamp[i](e[i]);return i.A.stringify(n)}},5263:(t,e,n)=>{"use strict";n.d(e,{A:()=>i});var r=n(5635);const i=(t,e)=>(0,r.A)(t,"l",-e)},3219:(t,e,n)=>{"use strict";n.d(e,{A:()=>a});var r=n(2453),i=n(4886);const o=t=>{const{r:e,g:n,b:o}=i.A.parse(t),s=.2126*r.A.channel.toLinear(e)+.7152*r.A.channel.toLinear(n)+.0722*r.A.channel.toLinear(o);return r.A.lang.round(s)},s=t=>o(t)>=.5,a=t=>!s(t)},8041:(t,e,n)=>{"use strict";n.d(e,{A:()=>i});var r=n(5635);const i=(t,e)=>(0,r.A)(t,"l",e)},5582:(t,e,n)=>{"use strict";n.d(e,{A:()=>a});var r=n(2453),i=n(3539),o=n(4886),s=n(8232);const a=(t,e,n=0,a=1)=>{if("number"!=typeof t)return(0,s.A)(t,{a:e});const l=i.A.set({r:r.A.channel.clamp.r(t),g:r.A.channel.clamp.g(e),b:r.A.channel.clamp.b(n),a:r.A.channel.clamp.a(a)});return o.A.stringify(l)}},2453:(t,e,n)=>{"use strict";n.d(e,{A:()=>i});const r={min:{r:0,g:0,b:0,s:0,l:0,a:0},max:{r:255,g:255,b:255,h:360,s:100,l:100,a:1},clamp:{r:t=>t>=255?255:t<0?0:t,g:t=>t>=255?255:t<0?0:t,b:t=>t>=255?255:t<0?0:t,h:t=>t%360,s:t=>t>=100?100:t<0?0:t,l:t=>t>=100?100:t<0?0:t,a:t=>t>=1?1:t<0?0:t},toLinear:t=>{const e=t/255;return t>.03928?Math.pow((e+.055)/1.055,2.4):e/12.92},hue2rgb:(t,e,n)=>(n<0&&(n+=1),n>1&&(n-=1),n<1/6?t+6*(e-t)*n:n<.5?e:n<2/3?t+(e-t)*(2/3-n)*6:t),hsl2rgb:({h:t,s:e,l:n},i)=>{if(!e)return 2.55*n;t/=360,e/=100;const o=(n/=100)<.5?n*(1+e):n+e-n*e,s=2*n-o;switch(i){case"r":return 255*r.hue2rgb(s,o,t+1/3);case"g":return 255*r.hue2rgb(s,o,t);case"b":return 255*r.hue2rgb(s,o,t-1/3)}},rgb2hsl:({r:t,g:e,b:n},r)=>{t/=255,e/=255,n/=255;const i=Math.max(t,e,n),o=Math.min(t,e,n),s=(i+o)/2;if("l"===r)return 100*s;if(i===o)return 0;const a=i-o;if("s"===r)return 100*(s>.5?a/(2-i-o):a/(i+o));switch(i){case t:return 60*((e-n)/a+(e<n?6:0));case e:return 60*((n-t)/a+2);case n:return 60*((t-e)/a+4);default:return-1}}},i={channel:r,lang:{clamp:(t,e,n)=>e>n?Math.min(e,Math.max(n,t)):Math.min(n,Math.max(e,t)),round:t=>Math.round(1e10*t)/1e10},unit:{dec2hex:t=>{const e=Math.round(t).toString(16);return e.length>1?e:`0${e}`}}}},127:(t,e,n)=>{"use strict";n.d(e,{A:()=>d});const r=function(){this.__data__=[],this.size=0};var i=n(6984);const o=function(t,e){for(var n=t.length;n--;)if((0,i.A)(t[n][0],e))return n;return-1};var s=Array.prototype.splice;const a=function(t){var e=this.__data__,n=o(e,t);return!(n<0)&&(n==e.length-1?e.pop():s.call(e,n,1),--this.size,!0)};const l=function(t){var e=this.__data__,n=o(e,t);return n<0?void 0:e[n][1]};const c=function(t){return o(this.__data__,t)>-1};const h=function(t,e){var n=this.__data__,r=o(n,t);return r<0?(++this.size,n.push([t,e])):n[r][1]=e,this};function u(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var r=t[e];this.set(r[0],r[1])}}u.prototype.clear=r,u.prototype.delete=a,u.prototype.get=l,u.prototype.has=c,u.prototype.set=h;const d=u},8335:(t,e,n)=>{"use strict";n.d(e,{A:()=>o});var r=n(8744),i=n(1917);const o=(0,r.A)(i.A,"Map")},9471:(t,e,n)=>{"use strict";n.d(e,{A:()=>v});const r=(0,n(8744).A)(Object,"create");const i=function(){this.__data__=r?r(null):{},this.size=0};const o=function(t){var e=this.has(t)&&delete this.__data__[t];return this.size-=e?1:0,e};var s=Object.prototype.hasOwnProperty;const a=function(t){var e=this.__data__;if(r){var n=e[t];return"__lodash_hash_undefined__"===n?void 0:n}return s.call(e,t)?e[t]:void 0};var l=Object.prototype.hasOwnProperty;const c=function(t){var e=this.__data__;return r?void 0!==e[t]:l.call(e,t)};const h=function(t,e){var n=this.__data__;return this.size+=this.has(t)?0:1,n[t]=r&&void 0===e?"__lodash_hash_undefined__":e,this};function u(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var r=t[e];this.set(r[0],r[1])}}u.prototype.clear=i,u.prototype.delete=o,u.prototype.get=a,u.prototype.has=c,u.prototype.set=h;const d=u;var p=n(127),f=n(8335);const m=function(){this.size=0,this.__data__={hash:new d,map:new(f.A||p.A),string:new d}};const g=function(t){var e=typeof t;return"string"==e||"number"==e||"symbol"==e||"boolean"==e?"__proto__"!==t:null===t};const y=function(t,e){var n=t.__data__;return g(e)?n["string"==typeof e?"string":"hash"]:n.map};const k=function(t){var e=y(this,t).delete(t);return this.size-=e?1:0,e};const x=function(t){return y(this,t).get(t)};const _=function(t){return y(this,t).has(t)};const b=function(t,e){var n=y(this,t),r=n.size;return n.set(t,e),this.size+=n.size==r?0:1,this};function C(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var r=t[e];this.set(r[0],r[1])}}C.prototype.clear=m,C.prototype.delete=k,C.prototype.get=x,C.prototype.has=_,C.prototype.set=b;const v=C},9857:(t,e,n)=>{"use strict";n.d(e,{A:()=>o});var r=n(8744),i=n(1917);const o=(0,r.A)(i.A,"Set")},9373:(t,e,n)=>{"use strict";n.d(e,{A:()=>d});var r=n(127);const i=function(){this.__data__=new r.A,this.size=0};const o=function(t){var e=this.__data__,n=e.delete(t);return this.size=e.size,n};const s=function(t){return this.__data__.get(t)};const a=function(t){return this.__data__.has(t)};var l=n(8335),c=n(9471);const h=function(t,e){var n=this.__data__;if(n instanceof r.A){var i=n.__data__;if(!l.A||i.length<199)return i.push([t,e]),this.size=++n.size,this;n=this.__data__=new c.A(i)}return n.set(t,e),this.size=n.size,this};function u(t){var e=this.__data__=new r.A(t);this.size=e.size}u.prototype.clear=i,u.prototype.delete=o,u.prototype.get=s,u.prototype.has=a,u.prototype.set=h;const d=u},241:(t,e,n)=>{"use strict";n.d(e,{A:()=>r});const r=n(1917).A.Symbol},3988:(t,e,n)=>{"use strict";n.d(e,{A:()=>r});const r=n(1917).A.Uint8Array},3607:(t,e,n)=>{"use strict";n.d(e,{A:()=>h});const r=function(t,e){for(var n=-1,r=Array(t);++n<t;)r[n]=e(n);return r};var i=n(2274),o=n(2049),s=n(9912),a=n(5353),l=n(3858),c=Object.prototype.hasOwnProperty;const h=function(t,e){var n=(0,o.A)(t),h=!n&&(0,i.A)(t),u=!n&&!h&&(0,s.A)(t),d=!n&&!h&&!u&&(0,l.A)(t),p=n||h||u||d,f=p?r(t.length,String):[],m=f.length;for(var g in t)!e&&!c.call(t,g)||p&&("length"==g||u&&("offset"==g||"parent"==g)||d&&("buffer"==g||"byteLength"==g||"byteOffset"==g)||(0,a.A)(g,m))||f.push(g);return f}},2851:(t,e,n)=>{"use strict";n.d(e,{A:()=>s});var r=n(2528),i=n(6984),o=Object.prototype.hasOwnProperty;const s=function(t,e,n){var s=t[e];o.call(t,e)&&(0,i.A)(s,n)&&(void 0!==n||e in t)||(0,r.A)(t,e,n)}},2528:(t,e,n)=>{"use strict";n.d(e,{A:()=>i});var r=n(4171);const i=function(t,e,n){"__proto__"==e&&r.A?(0,r.A)(t,e,{configurable:!0,enumerable:!0,value:n,writable:!0}):t[e]=n}},4574:(t,e,n)=>{"use strict";n.d(e,{A:()=>r});const r=function(t){return function(e,n,r){for(var i=-1,o=Object(e),s=r(e),a=s.length;a--;){var l=s[t?a:++i];if(!1===n(o[l],l,o))break}return e}}()},8496:(t,e,n)=>{"use strict";n.d(e,{A:()=>d});var r=n(241),i=Object.prototype,o=i.hasOwnProperty,s=i.toString,a=r.A?r.A.toStringTag:void 0;const l=function(t){var e=o.call(t,a),n=t[a];try{t[a]=void 0;var r=!0}catch(l){}var i=s.call(t);return r&&(e?t[a]=n:delete t[a]),i};var c=Object.prototype.toString;const h=function(t){return c.call(t)};var u=r.A?r.A.toStringTag:void 0;const d=function(t){return null==t?void 0===t?"[object Undefined]":"[object Null]":u&&u in Object(t)?l(t):h(t)}},1852:(t,e,n)=>{"use strict";n.d(e,{A:()=>s});var r=n(7271);const i=(0,n(367).A)(Object.keys,Object);var o=Object.prototype.hasOwnProperty;const s=function(t){if(!(0,r.A)(t))return i(t);var e=[];for(var n in Object(t))o.call(t,n)&&"constructor"!=n&&e.push(n);return e}},4326:(t,e,n)=>{"use strict";n.d(e,{A:()=>s});var r=n(9008),i=n(6875),o=n(7525);const s=function(t,e){return(0,o.A)((0,i.A)(t,e,r.A),t+"")}},2789:(t,e,n)=>{"use strict";n.d(e,{A:()=>r});const r=function(t){return function(e){return t(e)}}},565:(t,e,n)=>{"use strict";n.d(e,{A:()=>i});var r=n(3988);const i=function(t){var e=new t.constructor(t.byteLength);return new r.A(e).set(new r.A(t)),e}},154:(t,e,n)=>{"use strict";n.d(e,{A:()=>l});var r=n(1917),i="object"==typeof exports&&exports&&!exports.nodeType&&exports,o=i&&"object"==typeof module&&module&&!module.nodeType&&module,s=o&&o.exports===i?r.A.Buffer:void 0,a=s?s.allocUnsafe:void 0;const l=function(t,e){if(e)return t.slice();var n=t.length,r=a?a(n):new t.constructor(n);return t.copy(r),r}},1801:(t,e,n)=>{"use strict";n.d(e,{A:()=>i});var r=n(565);const i=function(t,e){var n=e?(0,r.A)(t.buffer):t.buffer;return new t.constructor(n,t.byteOffset,t.length)}},9759:(t,e,n)=>{"use strict";n.d(e,{A:()=>r});const r=function(t,e){var n=-1,r=t.length;for(e||(e=Array(r));++n<r;)e[n]=t[n];return e}},2031:(t,e,n)=>{"use strict";n.d(e,{A:()=>o});var r=n(2851),i=n(2528);const o=function(t,e,n,o){var s=!n;n||(n={});for(var a=-1,l=e.length;++a<l;){var c=e[a],h=o?o(n[c],t[c],c,n,t):void 0;void 0===h&&(h=t[c]),s?(0,i.A)(n,c,h):(0,r.A)(n,c,h)}return n}},4171:(t,e,n)=>{"use strict";n.d(e,{A:()=>i});var r=n(8744);const i=function(){try{var t=(0,r.A)(Object,"defineProperty");return t({},"",{}),t}catch(e){}}()},2136:(t,e,n)=>{"use strict";n.d(e,{A:()=>r});const r="object"==typeof global&&global&&global.Object===Object&&global},8744:(t,e,n)=>{"use strict";n.d(e,{A:()=>k});var r=n(9610);const i=n(1917).A["__core-js_shared__"];var o,s=(o=/[^.]+$/.exec(i&&i.keys&&i.keys.IE_PROTO||""))?"Symbol(src)_1."+o:"";const a=function(t){return!!s&&s in t};var l=n(3149),c=n(1121),h=/^\[object .+?Constructor\]$/,u=Function.prototype,d=Object.prototype,p=u.toString,f=d.hasOwnProperty,m=RegExp("^"+p.call(f).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");const g=function(t){return!(!(0,l.A)(t)||a(t))&&((0,r.A)(t)?m:h).test((0,c.A)(t))};const y=function(t,e){return null==t?void 0:t[e]};const k=function(t,e){var n=y(t,e);return g(n)?n:void 0}},5647:(t,e,n)=>{"use strict";n.d(e,{A:()=>r});const r=(0,n(367).A)(Object.getPrototypeOf,Object)},9779:(t,e,n)=>{"use strict";n.d(e,{A:()=>v});var r=n(8744),i=n(1917);const o=(0,r.A)(i.A,"DataView");var s=n(8335);const a=(0,r.A)(i.A,"Promise");var l=n(9857);const c=(0,r.A)(i.A,"WeakMap");var h=n(8496),u=n(1121),d="[object Map]",p="[object Promise]",f="[object Set]",m="[object WeakMap]",g="[object DataView]",y=(0,u.A)(o),k=(0,u.A)(s.A),x=(0,u.A)(a),_=(0,u.A)(l.A),b=(0,u.A)(c),C=h.A;(o&&C(new o(new ArrayBuffer(1)))!=g||s.A&&C(new s.A)!=d||a&&C(a.resolve())!=p||l.A&&C(new l.A)!=f||c&&C(new c)!=m)&&(C=function(t){var e=(0,h.A)(t),n="[object Object]"==e?t.constructor:void 0,r=n?(0,u.A)(n):"";if(r)switch(r){case y:return g;case k:return d;case x:return p;case _:return f;case b:return m}return e});const v=C},8598:(t,e,n)=>{"use strict";n.d(e,{A:()=>l});var r=n(3149),i=Object.create;const o=function(){function t(){}return function(e){if(!(0,r.A)(e))return{};if(i)return i(e);t.prototype=e;var n=new t;return t.prototype=void 0,n}}();var s=n(5647),a=n(7271);const l=function(t){return"function"!=typeof t.constructor||(0,a.A)(t)?{}:o((0,s.A)(t))}},5353:(t,e,n)=>{"use strict";n.d(e,{A:()=>i});var r=/^(?:0|[1-9]\d*)$/;const i=function(t,e){var n=typeof t;return!!(e=null==e?9007199254740991:e)&&("number"==n||"symbol"!=n&&r.test(t))&&t>-1&&t%1==0&&t<e}},6832:(t,e,n)=>{"use strict";n.d(e,{A:()=>a});var r=n(6984),i=n(8446),o=n(5353),s=n(3149);const a=function(t,e,n){if(!(0,s.A)(n))return!1;var a=typeof e;return!!("number"==a?(0,i.A)(n)&&(0,o.A)(e,n.length):"string"==a&&e in n)&&(0,r.A)(n[e],t)}},7271:(t,e,n)=>{"use strict";n.d(e,{A:()=>i});var r=Object.prototype;const i=function(t){var e=t&&t.constructor;return t===("function"==typeof e&&e.prototype||r)}},4841:(t,e,n)=>{"use strict";n.d(e,{A:()=>a});var r=n(2136),i="object"==typeof exports&&exports&&!exports.nodeType&&exports,o=i&&"object"==typeof module&&module&&!module.nodeType&&module,s=o&&o.exports===i&&r.A.process;const a=function(){try{var t=o&&o.require&&o.require("util").types;return t||s&&s.binding&&s.binding("util")}catch(e){}}()},367:(t,e,n)=>{"use strict";n.d(e,{A:()=>r});const r=function(t,e){return function(n){return t(e(n))}}},6875:(t,e,n)=>{"use strict";n.d(e,{A:()=>o});const r=function(t,e,n){switch(n.length){case 0:return t.call(e);case 1:return t.call(e,n[0]);case 2:return t.call(e,n[0],n[1]);case 3:return t.call(e,n[0],n[1],n[2])}return t.apply(e,n)};var i=Math.max;const o=function(t,e,n){return e=i(void 0===e?t.length-1:e,0),function(){for(var o=arguments,s=-1,a=i(o.length-e,0),l=Array(a);++s<a;)l[s]=o[e+s];s=-1;for(var c=Array(e+1);++s<e;)c[s]=o[s];return c[e]=n(l),r(t,this,c)}}},1917:(t,e,n)=>{"use strict";n.d(e,{A:()=>o});var r=n(2136),i="object"==typeof self&&self&&self.Object===Object&&self;const o=r.A||i||Function("return this")()},7525:(t,e,n)=>{"use strict";n.d(e,{A:()=>l});var r=n(9142),i=n(4171),o=n(9008);const s=i.A?function(t,e){return(0,i.A)(t,"toString",{configurable:!0,enumerable:!1,value:(0,r.A)(e),writable:!0})}:o.A;var a=Date.now;const l=function(t){var e=0,n=0;return function(){var r=a(),i=16-(r-n);if(n=r,i>0){if(++e>=800)return arguments[0]}else e=0;return t.apply(void 0,arguments)}}(s)},1121:(t,e,n)=>{"use strict";n.d(e,{A:()=>i});var r=Function.prototype.toString;const i=function(t){if(null!=t){try{return r.call(t)}catch(e){}try{return t+""}catch(e){}}return""}},9142:(t,e,n)=>{"use strict";n.d(e,{A:()=>r});const r=function(t){return function(){return t}}},6984:(t,e,n)=>{"use strict";n.d(e,{A:()=>r});const r=function(t,e){return t===e||t!=t&&e!=e}},9008:(t,e,n)=>{"use strict";n.d(e,{A:()=>r});const r=function(t){return t}},2274:(t,e,n)=>{"use strict";n.d(e,{A:()=>c});var r=n(8496),i=n(3098);const o=function(t){return(0,i.A)(t)&&"[object Arguments]"==(0,r.A)(t)};var s=Object.prototype,a=s.hasOwnProperty,l=s.propertyIsEnumerable;const c=o(function(){return arguments}())?o:function(t){return(0,i.A)(t)&&a.call(t,"callee")&&!l.call(t,"callee")}},2049:(t,e,n)=>{"use strict";n.d(e,{A:()=>r});const r=Array.isArray},8446:(t,e,n)=>{"use strict";n.d(e,{A:()=>o});var r=n(9610),i=n(5254);const o=function(t){return null!=t&&(0,i.A)(t.length)&&!(0,r.A)(t)}},3533:(t,e,n)=>{"use strict";n.d(e,{A:()=>o});var r=n(8446),i=n(3098);const o=function(t){return(0,i.A)(t)&&(0,r.A)(t)}},9912:(t,e,n)=>{"use strict";n.d(e,{A:()=>l});var r=n(1917);const i=function(){return!1};var o="object"==typeof exports&&exports&&!exports.nodeType&&exports,s=o&&"object"==typeof module&&module&&!module.nodeType&&module,a=s&&s.exports===o?r.A.Buffer:void 0;const l=(a?a.isBuffer:void 0)||i},6401:(t,e,n)=>{"use strict";n.d(e,{A:()=>d});var r=n(1852),i=n(9779),o=n(2274),s=n(2049),a=n(8446),l=n(9912),c=n(7271),h=n(3858),u=Object.prototype.hasOwnProperty;const d=function(t){if(null==t)return!0;if((0,a.A)(t)&&((0,s.A)(t)||"string"==typeof t||"function"==typeof t.splice||(0,l.A)(t)||(0,h.A)(t)||(0,o.A)(t)))return!t.length;var e=(0,i.A)(t);if("[object Map]"==e||"[object Set]"==e)return!t.size;if((0,c.A)(t))return!(0,r.A)(t).length;for(var n in t)if(u.call(t,n))return!1;return!0}},9610:(t,e,n)=>{"use strict";n.d(e,{A:()=>o});var r=n(8496),i=n(3149);const o=function(t){if(!(0,i.A)(t))return!1;var e=(0,r.A)(t);return"[object Function]"==e||"[object GeneratorFunction]"==e||"[object AsyncFunction]"==e||"[object Proxy]"==e}},5254:(t,e,n)=>{"use strict";n.d(e,{A:()=>r});const r=function(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=9007199254740991}},3149:(t,e,n)=>{"use strict";n.d(e,{A:()=>r});const r=function(t){var e=typeof t;return null!=t&&("object"==e||"function"==e)}},3098:(t,e,n)=>{"use strict";n.d(e,{A:()=>r});const r=function(t){return null!=t&&"object"==typeof t}},4963:(t,e,n)=>{"use strict";n.d(e,{A:()=>u});var r=n(8496),i=n(5647),o=n(3098),s=Function.prototype,a=Object.prototype,l=s.toString,c=a.hasOwnProperty,h=l.call(Object);const u=function(t){if(!(0,o.A)(t)||"[object Object]"!=(0,r.A)(t))return!1;var e=(0,i.A)(t);if(null===e)return!0;var n=c.call(e,"constructor")&&e.constructor;return"function"==typeof n&&n instanceof n&&l.call(n)==h}},3858:(t,e,n)=>{"use strict";n.d(e,{A:()=>u});var r=n(8496),i=n(5254),o=n(3098),s={};s["[object Float32Array]"]=s["[object Float64Array]"]=s["[object Int8Array]"]=s["[object Int16Array]"]=s["[object Int32Array]"]=s["[object Uint8Array]"]=s["[object Uint8ClampedArray]"]=s["[object Uint16Array]"]=s["[object Uint32Array]"]=!0,s["[object Arguments]"]=s["[object Array]"]=s["[object ArrayBuffer]"]=s["[object Boolean]"]=s["[object DataView]"]=s["[object Date]"]=s["[object Error]"]=s["[object Function]"]=s["[object Map]"]=s["[object Number]"]=s["[object Object]"]=s["[object RegExp]"]=s["[object Set]"]=s["[object String]"]=s["[object WeakMap]"]=!1;const a=function(t){return(0,o.A)(t)&&(0,i.A)(t.length)&&!!s[(0,r.A)(t)]};var l=n(2789),c=n(4841),h=c.A&&c.A.isTypedArray;const u=h?(0,l.A)(h):a},5615:(t,e,n)=>{"use strict";n.d(e,{A:()=>h});var r=n(3607),i=n(3149),o=n(7271);const s=function(t){var e=[];if(null!=t)for(var n in Object(t))e.push(n);return e};var a=Object.prototype.hasOwnProperty;const l=function(t){if(!(0,i.A)(t))return s(t);var e=(0,o.A)(t),n=[];for(var r in t)("constructor"!=r||!e&&a.call(t,r))&&n.push(r);return n};var c=n(8446);const h=function(t){return(0,c.A)(t)?(0,r.A)(t,!0):l(t)}},6632:(t,e,n)=>{"use strict";n.d(e,{A:()=>o});var r=n(9471);function i(t,e){if("function"!=typeof t||null!=e&&"function"!=typeof e)throw new TypeError("Expected a function");var n=function(){var r=arguments,i=e?e.apply(this,r):r[0],o=n.cache;if(o.has(i))return o.get(i);var s=t.apply(this,r);return n.cache=o.set(i,s)||o,s};return n.cache=new(i.Cache||r.A),n}i.Cache=r.A;const o=i},8879:(t,e,n)=>{"use strict";n.d(e,{A:()=>I});var r=n(9373),i=n(2528),o=n(6984);const s=function(t,e,n){(void 0!==n&&!(0,o.A)(t[e],n)||void 0===n&&!(e in t))&&(0,i.A)(t,e,n)};var a=n(4574),l=n(154),c=n(1801),h=n(9759),u=n(8598),d=n(2274),p=n(2049),f=n(3533),m=n(9912),g=n(9610),y=n(3149),k=n(4963),x=n(3858);const _=function(t,e){if(("constructor"!==e||"function"!=typeof t[e])&&"__proto__"!=e)return t[e]};var b=n(2031),C=n(5615);const v=function(t){return(0,b.A)(t,(0,C.A)(t))};const T=function(t,e,n,r,i,o,a){var b=_(t,n),C=_(e,n),T=a.get(C);if(T)s(t,n,T);else{var A=o?o(b,C,n+"",t,e,a):void 0,w=void 0===A;if(w){var S=(0,p.A)(C),I=!S&&(0,m.A)(C),L=!S&&!I&&(0,x.A)(C);A=C,S||I||L?(0,p.A)(b)?A=b:(0,f.A)(b)?A=(0,h.A)(b):I?(w=!1,A=(0,l.A)(C,!0)):L?(w=!1,A=(0,c.A)(C,!0)):A=[]:(0,k.A)(C)||(0,d.A)(C)?(A=b,(0,d.A)(b)?A=v(b):(0,y.A)(b)&&!(0,g.A)(b)||(A=(0,u.A)(C))):w=!1}w&&(a.set(C,A),i(A,C,r,o,a),a.delete(C)),s(t,n,A)}};const A=function t(e,n,i,o,l){e!==n&&(0,a.A)(n,(function(a,c){if(l||(l=new r.A),(0,y.A)(a))T(e,n,c,i,t,o,l);else{var h=o?o(_(e,c),a,c+"",e,n,l):void 0;void 0===h&&(h=a),s(e,c,h)}}),C.A)};var w=n(4326),S=n(6832);const I=function(t){return(0,w.A)((function(e,n){var r=-1,i=n.length,o=i>1?n[i-1]:void 0,s=i>2?n[2]:void 0;for(o=t.length>3&&"function"==typeof o?(i--,o):void 0,s&&(0,S.A)(n[0],n[1],s)&&(o=i<3?void 0:o,i=1),e=Object(e);++r<i;){var a=n[r];a&&t(e,a,r,o)}return e}))}((function(t,e,n){A(t,e,n)}))},9702:(t,e,n)=>{"use strict";n.d(e,{A:()=>Vn,B:()=>zt,C:()=>Ce,D:()=>be,E:()=>Mt,F:()=>Me,G:()=>Tt,H:()=>At,I:()=>ue,J:()=>ht,K:()=>qn,L:()=>Mn,M:()=>Te,N:()=>co,Z:()=>ee,a:()=>Bn,b:()=>En,c:()=>Rn,d:()=>ft,e:()=>St,f:()=>te,g:()=>Ln,h:()=>ye,i:()=>xn,j:()=>ge,k:()=>ce,l:()=>at,m:()=>yt,n:()=>oe,o:()=>_n,p:()=>Dn,q:()=>Fn,r:()=>wt,s:()=>In,t:()=>Nn,u:()=>ve,v:()=>Sn,w:()=>fe,x:()=>kt,y:()=>de,z:()=>Pn});var r=n(513),i=n(4353),o=n(6750),s=n(6312),a=n(2838),l=n(4886),c=n(8232);const h=(t,e)=>{const n=l.A.parse(t),r={};for(const i in e)e[i]&&(r[i]=n[i]+e[i]);return(0,c.A)(t,r)};var u=n(5582);const d=(t,e,n=50)=>{const{r:r,g:i,b:o,a:s}=l.A.parse(t),{r:a,g:c,b:h,a:d}=l.A.parse(e),p=n/100,f=2*p-1,m=s-d,g=((f*m==-1?f:(f+m)/(1+f*m))+1)/2,y=1-g,k=r*g+a*y,x=i*g+c*y,_=o*g+h*y,b=s*p+d*(1-p);return(0,u.A)(k,x,_,b)},p=(t,e=100)=>{const n=l.A.parse(t);return n.r=255-n.r,n.g=255-n.g,n.b=255-n.b,d(n,t,e)};var f=n(5263),m=n(8041),g=n(3219),y=n(6632),k=n(8879),x="comm",_="rule",b="decl",C=Math.abs,v=String.fromCharCode;Object.assign;function T(t){return t.trim()}function A(t,e,n){return t.replace(e,n)}function w(t,e,n){return t.indexOf(e,n)}function S(t,e){return 0|t.charCodeAt(e)}function I(t,e,n){return t.slice(e,n)}function L(t){return t.length}function E(t,e){return e.push(t),t}function B(t,e){for(var n="",r=0;r<t.length;r++)n+=e(t[r],r,t,e)||"";return n}function F(t,e,n,r){switch(t.type){case"@layer":if(t.children.length)break;case"@import":case b:return t.return=t.return||t.value;case x:return"";case"@keyframes":return t.return=t.value+"{"+B(t.children,r)+"}";case _:if(!L(t.value=t.props.join(",")))return""}return L(n=B(t.children,r))?t.return=t.value+"{"+n+"}":""}var N=1,M=1,j=0,O=0,R=0,D="";function q(t,e,n,r,i,o,s,a){return{value:t,root:e,parent:n,type:r,props:i,children:o,line:N,column:M,length:s,return:"",siblings:a}}function $(){return R=O>0?S(D,--O):0,M--,10===R&&(M=1,N--),R}function P(){return R=O<j?S(D,O++):0,M++,10===R&&(M=1,N++),R}function z(){return S(D,O)}function U(){return O}function W(t,e){return I(D,t,e)}function H(t){switch(t){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function V(t){return N=M=1,j=L(D=t),O=0,[]}function Y(t){return D="",t}function G(t){return T(W(O-1,Z(91===t?t+2:40===t?t+1:t)))}function X(t){for(;(R=z())&&R<33;)P();return H(t)>2||H(R)>3?"":" "}function K(t,e){for(;--e&&P()&&!(R<48||R>102||R>57&&R<65||R>70&&R<97););return W(t,U()+(e<6&&32==z()&&32==P()))}function Z(t){for(;P();)switch(R){case t:return O;case 34:case 39:34!==t&&39!==t&&Z(R);break;case 40:41===t&&Z(t);break;case 92:P()}return O}function J(t,e){for(;P()&&t+R!==57&&(t+R!==84||47!==z()););return"/*"+W(e,O-1)+"*"+v(47===t?t:P())}function Q(t){for(;!H(z());)P();return W(t,O)}function tt(t){return Y(et("",null,null,null,[""],t=V(t),0,[0],t))}function et(t,e,n,r,i,o,s,a,l){for(var c=0,h=0,u=s,d=0,p=0,f=0,m=1,g=1,y=1,k=0,x="",_=i,b=o,T=r,I=x;g;)switch(f=k,k=P()){case 40:if(108!=f&&58==S(I,u-1)){-1!=w(I+=A(G(k),"&","&\f"),"&\f",C(c?a[c-1]:0))&&(y=-1);break}case 34:case 39:case 91:I+=G(k);break;case 9:case 10:case 13:case 32:I+=X(f);break;case 92:I+=K(U()-1,7);continue;case 47:switch(z()){case 42:case 47:E(rt(J(P(),U()),e,n,l),l);break;default:I+="/"}break;case 123*m:a[c++]=L(I)*y;case 125*m:case 59:case 0:switch(k){case 0:case 125:g=0;case 59+h:-1==y&&(I=A(I,/\f/g,"")),p>0&&L(I)-u&&E(p>32?it(I+";",r,n,u-1,l):it(A(I," ","")+";",r,n,u-2,l),l);break;case 59:I+=";";default:if(E(T=nt(I,e,n,c,h,i,a,x,_=[],b=[],u,o),o),123===k)if(0===h)et(I,e,T,T,_,o,u,a,b);else switch(99===d&&110===S(I,3)?100:d){case 100:case 108:case 109:case 115:et(t,T,T,r&&E(nt(t,T,T,0,0,i,a,x,i,_=[],u,b),b),i,b,u,a,r?_:b);break;default:et(I,T,T,T,[""],b,0,a,b)}}c=h=p=0,m=y=1,x=I="",u=s;break;case 58:u=1+L(I),p=f;default:if(m<1)if(123==k)--m;else if(125==k&&0==m++&&125==$())continue;switch(I+=v(k),k*m){case 38:y=h>0?1:(I+="\f",-1);break;case 44:a[c++]=(L(I)-1)*y,y=1;break;case 64:45===z()&&(I+=G(P())),d=z(),h=u=L(x=I+=Q(U())),k++;break;case 45:45===f&&2==L(I)&&(m=0)}}return o}function nt(t,e,n,r,i,o,s,a,l,c,h,u){for(var d=i-1,p=0===i?o:[""],f=function(t){return t.length}(p),m=0,g=0,y=0;m<r;++m)for(var k=0,x=I(t,d+1,d=C(g=s[m])),b=t;k<f;++k)(b=T(g>0?p[k]+" "+x:A(x,/&\f/g,p[k])))&&(l[y++]=b);return q(t,e,n,0===i?_:a,l,c,h,u)}function rt(t,e,n,r){return q(t,e,n,x,v(R),I(t,2,-2),0,r)}function it(t,e,n,r,i){return q(t,e,n,b,I(t,0,r),I(t,r+1,-1),r,i)}var ot=n(6401);const st={trace:0,debug:1,info:2,warn:3,error:4,fatal:5},at={trace:(...t)=>{},debug:(...t)=>{},info:(...t)=>{},warn:(...t)=>{},error:(...t)=>{},fatal:(...t)=>{}},lt=function(t="fatal"){let e=st.fatal;"string"==typeof t?(t=t.toLowerCase())in st&&(e=st[t]):"number"==typeof t&&(e=t),at.trace=()=>{},at.debug=()=>{},at.info=()=>{},at.warn=()=>{},at.error=()=>{},at.fatal=()=>{},e<=st.fatal&&(at.fatal=console.error?console.error.bind(console,ct("FATAL"),"color: orange"):console.log.bind(console,"\x1b[35m",ct("FATAL"))),e<=st.error&&(at.error=console.error?console.error.bind(console,ct("ERROR"),"color: orange"):console.log.bind(console,"\x1b[31m",ct("ERROR"))),e<=st.warn&&(at.warn=console.warn?console.warn.bind(console,ct("WARN"),"color: orange"):console.log.bind(console,"\x1b[33m",ct("WARN"))),e<=st.info&&(at.info=console.info?console.info.bind(console,ct("INFO"),"color: lightblue"):console.log.bind(console,"\x1b[34m",ct("INFO"))),e<=st.debug&&(at.debug=console.debug?console.debug.bind(console,ct("DEBUG"),"color: lightgreen"):console.log.bind(console,"\x1b[32m",ct("DEBUG"))),e<=st.trace&&(at.trace=console.debug?console.debug.bind(console,ct("TRACE"),"color: lightgreen"):console.log.bind(console,"\x1b[32m",ct("TRACE")))},ct=t=>`%c${i().format("ss.SSS")} : ${t} : `,ht=/<br\s*\/?>/gi,ut=(()=>{let t=!1;return()=>{t||(!function(){const t="data-temp-href-target";a.addHook("beforeSanitizeAttributes",(e=>{"A"===e.tagName&&e.hasAttribute("target")&&e.setAttribute(t,e.getAttribute("target")||"")})),a.addHook("afterSanitizeAttributes",(e=>{"A"===e.tagName&&e.hasAttribute(t)&&(e.setAttribute("target",e.getAttribute(t)||""),e.removeAttribute(t),"_blank"===e.getAttribute("target")&&e.setAttribute("rel","noopener"))}))}(),t=!0)}})();const dt=t=>{ut();return a.sanitize(t)},pt=(t,e)=>{var n;if(!1!==(null==(n=e.flowchart)?void 0:n.htmlLabels)){const n=e.securityLevel;"antiscript"===n||"strict"===n?t=dt(t):"loose"!==n&&(t=(t=(t=gt(t)).replace(/</g,"<").replace(/>/g,">")).replace(/=/g,"="),t=mt(t))}return t},ft=(t,e)=>t?t=e.dompurifyConfig?a.sanitize(pt(t,e),e.dompurifyConfig).toString():a.sanitize(pt(t,e),{FORBID_TAGS:["style"]}).toString():t,mt=t=>t.replace(/#br#/g,"<br/>"),gt=t=>t.replace(ht,"#br#"),yt=t=>!1!==t&&!["false","null","0"].includes(String(t).trim().toLowerCase()),kt=function(t){const e=t.split(/(,)/),n=[];for(let r=0;r<e.length;r++){let t=e[r];if(","===t&&r>0&&r+1<e.length){const i=e[r-1],o=e[r+1];_t(i,o)&&(t=i+","+o,r++,n.pop())}n.push(bt(t))}return n.join("")},xt=(t,e)=>Math.max(0,t.split(e).length-1),_t=(t,e)=>{const n=xt(t,"~"),r=xt(e,"~");return 1===n&&1===r},bt=t=>{const e=xt(t,"~");let n=!1;if(e<=1)return t;e%2!=0&&t.startsWith("~")&&(t=t.substring(1),n=!0);const r=[...t];let i=r.indexOf("~"),o=r.lastIndexOf("~");for(;-1!==i&&-1!==o&&i!==o;)r[i]="<",r[o]=">",i=r.indexOf("~"),o=r.lastIndexOf("~");return n&&r.unshift("~"),r.join("")},Ct=()=>void 0!==window.MathMLElement,vt=/\$\$(.*)\$\$/g,Tt=t=>{var e;return((null==(e=t.match(vt))?void 0:e.length)??0)>0},At=async(t,e)=>{t=await wt(t,e);const n=document.createElement("div");n.innerHTML=t,n.id="katex-temp",n.style.visibility="hidden",n.style.position="absolute",n.style.top="0";const r=document.querySelector("body");null==r||r.insertAdjacentElement("beforeend",n);const i={width:n.clientWidth,height:n.clientHeight};return n.remove(),i},wt=async(t,e)=>{if(!Tt(t))return t;if(!Ct()&&!e.legacyMathML)return t.replace(vt,"MathML is unsupported in this environment.");const{default:r}=await n.e(2130).then(n.bind(n,2130));return t.split(ht).map((t=>Tt(t)?`\n <div style="display: flex; align-items: center; justify-content: center; white-space: nowrap;">\n ${t}\n </div>\n `:`<div>${t}</div>`)).join("").replace(vt,((t,e)=>r.renderToString(e,{throwOnError:!0,displayMode:!0,output:Ct()?"mathml":"htmlAndMathml"}).replace(/\n/g," ").replace(/<annotation.*<\/annotation>/g,"")))},St={getRows:t=>{if(!t)return[""];return gt(t).replace(/\\n/g,"#br#").split("#br#")},sanitizeText:ft,sanitizeTextOrArray:(t,e)=>"string"==typeof t?ft(t,e):t.flat().map((t=>ft(t,e))),hasBreaks:t=>ht.test(t),splitBreaks:t=>t.split(ht),lineBreakRegex:ht,removeScript:dt,getUrl:t=>{let e="";return t&&(e=window.location.protocol+"//"+window.location.host+window.location.pathname+window.location.search,e=e.replaceAll(/\(/g,"\\("),e=e.replaceAll(/\)/g,"\\)")),e},evaluate:yt,getMax:function(...t){const e=t.filter((t=>!isNaN(t)));return Math.max(...e)},getMin:function(...t){const e=t.filter((t=>!isNaN(t)));return Math.min(...e)}},It=(t,e)=>h(t,e?{s:-40,l:10}:{s:-40,l:-10}),Lt="#ffffff",Et="#f2f2f2";let Bt=class{constructor(){this.background="#f4f4f4",this.primaryColor="#fff4dd",this.noteBkgColor="#fff5ad",this.noteTextColor="#333",this.THEME_COLOR_LIMIT=12,this.fontFamily='"trebuchet ms", verdana, arial, sans-serif',this.fontSize="16px"}updateColors(){var t,e,n,r,i,o,s,a,l,c,u;if(this.primaryTextColor=this.primaryTextColor||(this.darkMode?"#eee":"#333"),this.secondaryColor=this.secondaryColor||h(this.primaryColor,{h:-120}),this.tertiaryColor=this.tertiaryColor||h(this.primaryColor,{h:180,l:5}),this.primaryBorderColor=this.primaryBorderColor||It(this.primaryColor,this.darkMode),this.secondaryBorderColor=this.secondaryBorderColor||It(this.secondaryColor,this.darkMode),this.tertiaryBorderColor=this.tertiaryBorderColor||It(this.tertiaryColor,this.darkMode),this.noteBorderColor=this.noteBorderColor||It(this.noteBkgColor,this.darkMode),this.noteBkgColor=this.noteBkgColor||"#fff5ad",this.noteTextColor=this.noteTextColor||"#333",this.secondaryTextColor=this.secondaryTextColor||p(this.secondaryColor),this.tertiaryTextColor=this.tertiaryTextColor||p(this.tertiaryColor),this.lineColor=this.lineColor||p(this.background),this.arrowheadColor=this.arrowheadColor||p(this.background),this.textColor=this.textColor||this.primaryTextColor,this.border2=this.border2||this.tertiaryBorderColor,this.nodeBkg=this.nodeBkg||this.primaryColor,this.mainBkg=this.mainBkg||this.primaryColor,this.nodeBorder=this.nodeBorder||this.primaryBorderColor,this.clusterBkg=this.clusterBkg||this.tertiaryColor,this.clusterBorder=this.clusterBorder||this.tertiaryBorderColor,this.defaultLinkColor=this.defaultLinkColor||this.lineColor,this.titleColor=this.titleColor||this.tertiaryTextColor,this.edgeLabelBackground=this.edgeLabelBackground||(this.darkMode?(0,f.A)(this.secondaryColor,30):this.secondaryColor),this.nodeTextColor=this.nodeTextColor||this.primaryTextColor,this.actorBorder=this.actorBorder||this.primaryBorderColor,this.actorBkg=this.actorBkg||this.mainBkg,this.actorTextColor=this.actorTextColor||this.primaryTextColor,this.actorLineColor=this.actorLineColor||"grey",this.labelBoxBkgColor=this.labelBoxBkgColor||this.actorBkg,this.signalColor=this.signalColor||this.textColor,this.signalTextColor=this.signalTextColor||this.textColor,this.labelBoxBorderColor=this.labelBoxBorderColor||this.actorBorder,this.labelTextColor=this.labelTextColor||this.actorTextColor,this.loopTextColor=this.loopTextColor||this.actorTextColor,this.activationBorderColor=this.activationBorderColor||(0,f.A)(this.secondaryColor,10),this.activationBkgColor=this.activationBkgColor||this.secondaryColor,this.sequenceNumberColor=this.sequenceNumberColor||p(this.lineColor),this.sectionBkgColor=this.sectionBkgColor||this.tertiaryColor,this.altSectionBkgColor=this.altSectionBkgColor||"white",this.sectionBkgColor=this.sectionBkgColor||this.secondaryColor,this.sectionBkgColor2=this.sectionBkgColor2||this.primaryColor,this.excludeBkgColor=this.excludeBkgColor||"#eeeeee",this.taskBorderColor=this.taskBorderColor||this.primaryBorderColor,this.taskBkgColor=this.taskBkgColor||this.primaryColor,this.activeTaskBorderColor=this.activeTaskBorderColor||this.primaryColor,this.activeTaskBkgColor=this.activeTaskBkgColor||(0,m.A)(this.primaryColor,23),this.gridColor=this.gridColor||"lightgrey",this.doneTaskBkgColor=this.doneTaskBkgColor||"lightgrey",this.doneTaskBorderColor=this.doneTaskBorderColor||"grey",this.critBorderColor=this.critBorderColor||"#ff8888",this.critBkgColor=this.critBkgColor||"red",this.todayLineColor=this.todayLineColor||"red",this.taskTextColor=this.taskTextColor||this.textColor,this.taskTextOutsideColor=this.taskTextOutsideColor||this.textColor,this.taskTextLightColor=this.taskTextLightColor||this.textColor,this.taskTextColor=this.taskTextColor||this.primaryTextColor,this.taskTextDarkColor=this.taskTextDarkColor||this.textColor,this.taskTextClickableColor=this.taskTextClickableColor||"#003163",this.personBorder=this.personBorder||this.primaryBorderColor,this.personBkg=this.personBkg||this.mainBkg,this.transitionColor=this.transitionColor||this.lineColor,this.transitionLabelColor=this.transitionLabelColor||this.textColor,this.stateLabelColor=this.stateLabelColor||this.stateBkg||this.primaryTextColor,this.stateBkg=this.stateBkg||this.mainBkg,this.labelBackgroundColor=this.labelBackgroundColor||this.stateBkg,this.compositeBackground=this.compositeBackground||this.background||this.tertiaryColor,this.altBackground=this.altBackground||this.tertiaryColor,this.compositeTitleBackground=this.compositeTitleBackground||this.mainBkg,this.compositeBorder=this.compositeBorder||this.nodeBorder,this.innerEndBackground=this.nodeBorder,this.errorBkgColor=this.errorBkgColor||this.tertiaryColor,this.errorTextColor=this.errorTextColor||this.tertiaryTextColor,this.transitionColor=this.transitionColor||this.lineColor,this.specialStateColor=this.lineColor,this.cScale0=this.cScale0||this.primaryColor,this.cScale1=this.cScale1||this.secondaryColor,this.cScale2=this.cScale2||this.tertiaryColor,this.cScale3=this.cScale3||h(this.primaryColor,{h:30}),this.cScale4=this.cScale4||h(this.primaryColor,{h:60}),this.cScale5=this.cScale5||h(this.primaryColor,{h:90}),this.cScale6=this.cScale6||h(this.primaryColor,{h:120}),this.cScale7=this.cScale7||h(this.primaryColor,{h:150}),this.cScale8=this.cScale8||h(this.primaryColor,{h:210,l:150}),this.cScale9=this.cScale9||h(this.primaryColor,{h:270}),this.cScale10=this.cScale10||h(this.primaryColor,{h:300}),this.cScale11=this.cScale11||h(this.primaryColor,{h:330}),this.darkMode)for(let h=0;h<this.THEME_COLOR_LIMIT;h++)this["cScale"+h]=(0,f.A)(this["cScale"+h],75);else for(let h=0;h<this.THEME_COLOR_LIMIT;h++)this["cScale"+h]=(0,f.A)(this["cScale"+h],25);for(let h=0;h<this.THEME_COLOR_LIMIT;h++)this["cScaleInv"+h]=this["cScaleInv"+h]||p(this["cScale"+h]);for(let h=0;h<this.THEME_COLOR_LIMIT;h++)this.darkMode?this["cScalePeer"+h]=this["cScalePeer"+h]||(0,m.A)(this["cScale"+h],10):this["cScalePeer"+h]=this["cScalePeer"+h]||(0,f.A)(this["cScale"+h],10);this.scaleLabelColor=this.scaleLabelColor||this.labelTextColor;for(let h=0;h<this.THEME_COLOR_LIMIT;h++)this["cScaleLabel"+h]=this["cScaleLabel"+h]||this.scaleLabelColor;const d=this.darkMode?-4:-1;for(let p=0;p<5;p++)this["surface"+p]=this["surface"+p]||h(this.mainBkg,{h:180,s:-15,l:d*(5+3*p)}),this["surfacePeer"+p]=this["surfacePeer"+p]||h(this.mainBkg,{h:180,s:-15,l:d*(8+3*p)});this.classText=this.classText||this.textColor,this.fillType0=this.fillType0||this.primaryColor,this.fillType1=this.fillType1||this.secondaryColor,this.fillType2=this.fillType2||h(this.primaryColor,{h:64}),this.fillType3=this.fillType3||h(this.secondaryColor,{h:64}),this.fillType4=this.fillType4||h(this.primaryColor,{h:-64}),this.fillType5=this.fillType5||h(this.secondaryColor,{h:-64}),this.fillType6=this.fillType6||h(this.primaryColor,{h:128}),this.fillType7=this.fillType7||h(this.secondaryColor,{h:128}),this.pie1=this.pie1||this.primaryColor,this.pie2=this.pie2||this.secondaryColor,this.pie3=this.pie3||this.tertiaryColor,this.pie4=this.pie4||h(this.primaryColor,{l:-10}),this.pie5=this.pie5||h(this.secondaryColor,{l:-10}),this.pie6=this.pie6||h(this.tertiaryColor,{l:-10}),this.pie7=this.pie7||h(this.primaryColor,{h:60,l:-10}),this.pie8=this.pie8||h(this.primaryColor,{h:-60,l:-10}),this.pie9=this.pie9||h(this.primaryColor,{h:120,l:0}),this.pie10=this.pie10||h(this.primaryColor,{h:60,l:-20}),this.pie11=this.pie11||h(this.primaryColor,{h:-60,l:-20}),this.pie12=this.pie12||h(this.primaryColor,{h:120,l:-10}),this.pieTitleTextSize=this.pieTitleTextSize||"25px",this.pieTitleTextColor=this.pieTitleTextColor||this.taskTextDarkColor,this.pieSectionTextSize=this.pieSectionTextSize||"17px",this.pieSectionTextColor=this.pieSectionTextColor||this.textColor,this.pieLegendTextSize=this.pieLegendTextSize||"17px",this.pieLegendTextColor=this.pieLegendTextColor||this.taskTextDarkColor,this.pieStrokeColor=this.pieStrokeColor||"black",this.pieStrokeWidth=this.pieStrokeWidth||"2px",this.pieOuterStrokeWidth=this.pieOuterStrokeWidth||"2px",this.pieOuterStrokeColor=this.pieOuterStrokeColor||"black",this.pieOpacity=this.pieOpacity||"0.7",this.quadrant1Fill=this.quadrant1Fill||this.primaryColor,this.quadrant2Fill=this.quadrant2Fill||h(this.primaryColor,{r:5,g:5,b:5}),this.quadrant3Fill=this.quadrant3Fill||h(this.primaryColor,{r:10,g:10,b:10}),this.quadrant4Fill=this.quadrant4Fill||h(this.primaryColor,{r:15,g:15,b:15}),this.quadrant1TextFill=this.quadrant1TextFill||this.primaryTextColor,this.quadrant2TextFill=this.quadrant2TextFill||h(this.primaryTextColor,{r:-5,g:-5,b:-5}),this.quadrant3TextFill=this.quadrant3TextFill||h(this.primaryTextColor,{r:-10,g:-10,b:-10}),this.quadrant4TextFill=this.quadrant4TextFill||h(this.primaryTextColor,{r:-15,g:-15,b:-15}),this.quadrantPointFill=this.quadrantPointFill||(0,g.A)(this.quadrant1Fill)?(0,m.A)(this.quadrant1Fill):(0,f.A)(this.quadrant1Fill),this.quadrantPointTextFill=this.quadrantPointTextFill||this.primaryTextColor,this.quadrantXAxisTextFill=this.quadrantXAxisTextFill||this.primaryTextColor,this.quadrantYAxisTextFill=this.quadrantYAxisTextFill||this.primaryTextColor,this.quadrantInternalBorderStrokeFill=this.quadrantInternalBorderStrokeFill||this.primaryBorderColor,this.quadrantExternalBorderStrokeFill=this.quadrantExternalBorderStrokeFill||this.primaryBorderColor,this.quadrantTitleFill=this.quadrantTitleFill||this.primaryTextColor,this.xyChart={backgroundColor:(null==(t=this.xyChart)?void 0:t.backgroundColor)||this.background,titleColor:(null==(e=this.xyChart)?void 0:e.titleColor)||this.primaryTextColor,xAxisTitleColor:(null==(n=this.xyChart)?void 0:n.xAxisTitleColor)||this.primaryTextColor,xAxisLabelColor:(null==(r=this.xyChart)?void 0:r.xAxisLabelColor)||this.primaryTextColor,xAxisTickColor:(null==(i=this.xyChart)?void 0:i.xAxisTickColor)||this.primaryTextColor,xAxisLineColor:(null==(o=this.xyChart)?void 0:o.xAxisLineColor)||this.primaryTextColor,yAxisTitleColor:(null==(s=this.xyChart)?void 0:s.yAxisTitleColor)||this.primaryTextColor,yAxisLabelColor:(null==(a=this.xyChart)?void 0:a.yAxisLabelColor)||this.primaryTextColor,yAxisTickColor:(null==(l=this.xyChart)?void 0:l.yAxisTickColor)||this.primaryTextColor,yAxisLineColor:(null==(c=this.xyChart)?void 0:c.yAxisLineColor)||this.primaryTextColor,plotColorPalette:(null==(u=this.xyChart)?void 0:u.plotColorPalette)||"#FFF4DD,#FFD8B1,#FFA07A,#ECEFF1,#D6DBDF,#C3E0A8,#FFB6A4,#FFD74D,#738FA7,#FFFFF0"},this.requirementBackground=this.requirementBackground||this.primaryColor,this.requirementBorderColor=this.requirementBorderColor||this.primaryBorderColor,this.requirementBorderSize=this.requirementBorderSize||"1",this.requirementTextColor=this.requirementTextColor||this.primaryTextColor,this.relationColor=this.relationColor||this.lineColor,this.relationLabelBackground=this.relationLabelBackground||(this.darkMode?(0,f.A)(this.secondaryColor,30):this.secondaryColor),this.relationLabelColor=this.relationLabelColor||this.actorTextColor,this.git0=this.git0||this.primaryColor,this.git1=this.git1||this.secondaryColor,this.git2=this.git2||this.tertiaryColor,this.git3=this.git3||h(this.primaryColor,{h:-30}),this.git4=this.git4||h(this.primaryColor,{h:-60}),this.git5=this.git5||h(this.primaryColor,{h:-90}),this.git6=this.git6||h(this.primaryColor,{h:60}),this.git7=this.git7||h(this.primaryColor,{h:120}),this.darkMode?(this.git0=(0,m.A)(this.git0,25),this.git1=(0,m.A)(this.git1,25),this.git2=(0,m.A)(this.git2,25),this.git3=(0,m.A)(this.git3,25),this.git4=(0,m.A)(this.git4,25),this.git5=(0,m.A)(this.git5,25),this.git6=(0,m.A)(this.git6,25),this.git7=(0,m.A)(this.git7,25)):(this.git0=(0,f.A)(this.git0,25),this.git1=(0,f.A)(this.git1,25),this.git2=(0,f.A)(this.git2,25),this.git3=(0,f.A)(this.git3,25),this.git4=(0,f.A)(this.git4,25),this.git5=(0,f.A)(this.git5,25),this.git6=(0,f.A)(this.git6,25),this.git7=(0,f.A)(this.git7,25)),this.gitInv0=this.gitInv0||p(this.git0),this.gitInv1=this.gitInv1||p(this.git1),this.gitInv2=this.gitInv2||p(this.git2),this.gitInv3=this.gitInv3||p(this.git3),this.gitInv4=this.gitInv4||p(this.git4),this.gitInv5=this.gitInv5||p(this.git5),this.gitInv6=this.gitInv6||p(this.git6),this.gitInv7=this.gitInv7||p(this.git7),this.branchLabelColor=this.branchLabelColor||(this.darkMode?"black":this.labelTextColor),this.gitBranchLabel0=this.gitBranchLabel0||this.branchLabelColor,this.gitBranchLabel1=this.gitBranchLabel1||this.branchLabelColor,this.gitBranchLabel2=this.gitBranchLabel2||this.branchLabelColor,this.gitBranchLabel3=this.gitBranchLabel3||this.branchLabelColor,this.gitBranchLabel4=this.gitBranchLabel4||this.branchLabelColor,this.gitBranchLabel5=this.gitBranchLabel5||this.branchLabelColor,this.gitBranchLabel6=this.gitBranchLabel6||this.branchLabelColor,this.gitBranchLabel7=this.gitBranchLabel7||this.branchLabelColor,this.tagLabelColor=this.tagLabelColor||this.primaryTextColor,this.tagLabelBackground=this.tagLabelBackground||this.primaryColor,this.tagLabelBorder=this.tagBorder||this.primaryBorderColor,this.tagLabelFontSize=this.tagLabelFontSize||"10px",this.commitLabelColor=this.commitLabelColor||this.secondaryTextColor,this.commitLabelBackground=this.commitLabelBackground||this.secondaryColor,this.commitLabelFontSize=this.commitLabelFontSize||"10px",this.attributeBackgroundColorOdd=this.attributeBackgroundColorOdd||Lt,this.attributeBackgroundColorEven=this.attributeBackgroundColorEven||Et}calculate(t){if("object"!=typeof t)return void this.updateColors();const e=Object.keys(t);e.forEach((e=>{this[e]=t[e]})),this.updateColors(),e.forEach((e=>{this[e]=t[e]}))}};let Ft=class{constructor(){this.background="#333",this.primaryColor="#1f2020",this.secondaryColor=(0,m.A)(this.primaryColor,16),this.tertiaryColor=h(this.primaryColor,{h:-160}),this.primaryBorderColor=p(this.background),this.secondaryBorderColor=It(this.secondaryColor,this.darkMode),this.tertiaryBorderColor=It(this.tertiaryColor,this.darkMode),this.primaryTextColor=p(this.primaryColor),this.secondaryTextColor=p(this.secondaryColor),this.tertiaryTextColor=p(this.tertiaryColor),this.lineColor=p(this.background),this.textColor=p(this.background),this.mainBkg="#1f2020",this.secondBkg="calculated",this.mainContrastColor="lightgrey",this.darkTextColor=(0,m.A)(p("#323D47"),10),this.lineColor="calculated",this.border1="#81B1DB",this.border2=(0,u.A)(255,255,255,.25),this.arrowheadColor="calculated",this.fontFamily='"trebuchet ms", verdana, arial, sans-serif',this.fontSize="16px",this.labelBackground="#181818",this.textColor="#ccc",this.THEME_COLOR_LIMIT=12,this.nodeBkg="calculated",this.nodeBorder="calculated",this.clusterBkg="calculated",this.clusterBorder="calculated",this.defaultLinkColor="calculated",this.titleColor="#F9FFFE",this.edgeLabelBackground="calculated",this.actorBorder="calculated",this.actorBkg="calculated",this.actorTextColor="calculated",this.actorLineColor="calculated",this.signalColor="calculated",this.signalTextColor="calculated",this.labelBoxBkgColor="calculated",this.labelBoxBorderColor="calculated",this.labelTextColor="calculated",this.loopTextColor="calculated",this.noteBorderColor="calculated",this.noteBkgColor="#fff5ad",this.noteTextColor="calculated",this.activationBorderColor="calculated",this.activationBkgColor="calculated",this.sequenceNumberColor="black",this.sectionBkgColor=(0,f.A)("#EAE8D9",30),this.altSectionBkgColor="calculated",this.sectionBkgColor2="#EAE8D9",this.excludeBkgColor=(0,f.A)(this.sectionBkgColor,10),this.taskBorderColor=(0,u.A)(255,255,255,70),this.taskBkgColor="calculated",this.taskTextColor="calculated",this.taskTextLightColor="calculated",this.taskTextOutsideColor="calculated",this.taskTextClickableColor="#003163",this.activeTaskBorderColor=(0,u.A)(255,255,255,50),this.activeTaskBkgColor="#81B1DB",this.gridColor="calculated",this.doneTaskBkgColor="calculated",this.doneTaskBorderColor="grey",this.critBorderColor="#E83737",this.critBkgColor="#E83737",this.taskTextDarkColor="calculated",this.todayLineColor="#DB5757",this.personBorder=this.primaryBorderColor,this.personBkg=this.mainBkg,this.labelColor="calculated",this.errorBkgColor="#a44141",this.errorTextColor="#ddd"}updateColors(){var t,e,n,r,i,o,s,a,l,c,u;this.secondBkg=(0,m.A)(this.mainBkg,16),this.lineColor=this.mainContrastColor,this.arrowheadColor=this.mainContrastColor,this.nodeBkg=this.mainBkg,this.nodeBorder=this.border1,this.clusterBkg=this.secondBkg,this.clusterBorder=this.border2,this.defaultLinkColor=this.lineColor,this.edgeLabelBackground=(0,m.A)(this.labelBackground,25),this.actorBorder=this.border1,this.actorBkg=this.mainBkg,this.actorTextColor=this.mainContrastColor,this.actorLineColor=this.mainContrastColor,this.signalColor=this.mainContrastColor,this.signalTextColor=this.mainContrastColor,this.labelBoxBkgColor=this.actorBkg,this.labelBoxBorderColor=this.actorBorder,this.labelTextColor=this.mainContrastColor,this.loopTextColor=this.mainContrastColor,this.noteBorderColor=this.secondaryBorderColor,this.noteBkgColor=this.secondBkg,this.noteTextColor=this.secondaryTextColor,this.activationBorderColor=this.border1,this.activationBkgColor=this.secondBkg,this.altSectionBkgColor=this.background,this.taskBkgColor=(0,m.A)(this.mainBkg,23),this.taskTextColor=this.darkTextColor,this.taskTextLightColor=this.mainContrastColor,this.taskTextOutsideColor=this.taskTextLightColor,this.gridColor=this.mainContrastColor,this.doneTaskBkgColor=this.mainContrastColor,this.taskTextDarkColor=this.darkTextColor,this.transitionColor=this.transitionColor||this.lineColor,this.transitionLabelColor=this.transitionLabelColor||this.textColor,this.stateLabelColor=this.stateLabelColor||this.stateBkg||this.primaryTextColor,this.stateBkg=this.stateBkg||this.mainBkg,this.labelBackgroundColor=this.labelBackgroundColor||this.stateBkg,this.compositeBackground=this.compositeBackground||this.background||this.tertiaryColor,this.altBackground=this.altBackground||"#555",this.compositeTitleBackground=this.compositeTitleBackground||this.mainBkg,this.compositeBorder=this.compositeBorder||this.nodeBorder,this.innerEndBackground=this.primaryBorderColor,this.specialStateColor="#f4f4f4",this.errorBkgColor=this.errorBkgColor||this.tertiaryColor,this.errorTextColor=this.errorTextColor||this.tertiaryTextColor,this.fillType0=this.primaryColor,this.fillType1=this.secondaryColor,this.fillType2=h(this.primaryColor,{h:64}),this.fillType3=h(this.secondaryColor,{h:64}),this.fillType4=h(this.primaryColor,{h:-64}),this.fillType5=h(this.secondaryColor,{h:-64}),this.fillType6=h(this.primaryColor,{h:128}),this.fillType7=h(this.secondaryColor,{h:128}),this.cScale1=this.cScale1||"#0b0000",this.cScale2=this.cScale2||"#4d1037",this.cScale3=this.cScale3||"#3f5258",this.cScale4=this.cScale4||"#4f2f1b",this.cScale5=this.cScale5||"#6e0a0a",this.cScale6=this.cScale6||"#3b0048",this.cScale7=this.cScale7||"#995a01",this.cScale8=this.cScale8||"#154706",this.cScale9=this.cScale9||"#161722",this.cScale10=this.cScale10||"#00296f",this.cScale11=this.cScale11||"#01629c",this.cScale12=this.cScale12||"#010029",this.cScale0=this.cScale0||this.primaryColor,this.cScale1=this.cScale1||this.secondaryColor,this.cScale2=this.cScale2||this.tertiaryColor,this.cScale3=this.cScale3||h(this.primaryColor,{h:30}),this.cScale4=this.cScale4||h(this.primaryColor,{h:60}),this.cScale5=this.cScale5||h(this.primaryColor,{h:90}),this.cScale6=this.cScale6||h(this.primaryColor,{h:120}),this.cScale7=this.cScale7||h(this.primaryColor,{h:150}),this.cScale8=this.cScale8||h(this.primaryColor,{h:210}),this.cScale9=this.cScale9||h(this.primaryColor,{h:270}),this.cScale10=this.cScale10||h(this.primaryColor,{h:300}),this.cScale11=this.cScale11||h(this.primaryColor,{h:330});for(let h=0;h<this.THEME_COLOR_LIMIT;h++)this["cScaleInv"+h]=this["cScaleInv"+h]||p(this["cScale"+h]);for(let h=0;h<this.THEME_COLOR_LIMIT;h++)this["cScalePeer"+h]=this["cScalePeer"+h]||(0,m.A)(this["cScale"+h],10);for(let d=0;d<5;d++)this["surface"+d]=this["surface"+d]||h(this.mainBkg,{h:30,s:-30,l:-(4*d-10)}),this["surfacePeer"+d]=this["surfacePeer"+d]||h(this.mainBkg,{h:30,s:-30,l:-(4*d-7)});this.scaleLabelColor=this.scaleLabelColor||(this.darkMode?"black":this.labelTextColor);for(let h=0;h<this.THEME_COLOR_LIMIT;h++)this["cScaleLabel"+h]=this["cScaleLabel"+h]||this.scaleLabelColor;for(let h=0;h<this.THEME_COLOR_LIMIT;h++)this["pie"+h]=this["cScale"+h];this.pieTitleTextSize=this.pieTitleTextSize||"25px",this.pieTitleTextColor=this.pieTitleTextColor||this.taskTextDarkColor,this.pieSectionTextSize=this.pieSectionTextSize||"17px",this.pieSectionTextColor=this.pieSectionTextColor||this.textColor,this.pieLegendTextSize=this.pieLegendTextSize||"17px",this.pieLegendTextColor=this.pieLegendTextColor||this.taskTextDarkColor,this.pieStrokeColor=this.pieStrokeColor||"black",this.pieStrokeWidth=this.pieStrokeWidth||"2px",this.pieOuterStrokeWidth=this.pieOuterStrokeWidth||"2px",this.pieOuterStrokeColor=this.pieOuterStrokeColor||"black",this.pieOpacity=this.pieOpacity||"0.7",this.quadrant1Fill=this.quadrant1Fill||this.primaryColor,this.quadrant2Fill=this.quadrant2Fill||h(this.primaryColor,{r:5,g:5,b:5}),this.quadrant3Fill=this.quadrant3Fill||h(this.primaryColor,{r:10,g:10,b:10}),this.quadrant4Fill=this.quadrant4Fill||h(this.primaryColor,{r:15,g:15,b:15}),this.quadrant1TextFill=this.quadrant1TextFill||this.primaryTextColor,this.quadrant2TextFill=this.quadrant2TextFill||h(this.primaryTextColor,{r:-5,g:-5,b:-5}),this.quadrant3TextFill=this.quadrant3TextFill||h(this.primaryTextColor,{r:-10,g:-10,b:-10}),this.quadrant4TextFill=this.quadrant4TextFill||h(this.primaryTextColor,{r:-15,g:-15,b:-15}),this.quadrantPointFill=this.quadrantPointFill||(0,g.A)(this.quadrant1Fill)?(0,m.A)(this.quadrant1Fill):(0,f.A)(this.quadrant1Fill),this.quadrantPointTextFill=this.quadrantPointTextFill||this.primaryTextColor,this.quadrantXAxisTextFill=this.quadrantXAxisTextFill||this.primaryTextColor,this.quadrantYAxisTextFill=this.quadrantYAxisTextFill||this.primaryTextColor,this.quadrantInternalBorderStrokeFill=this.quadrantInternalBorderStrokeFill||this.primaryBorderColor,this.quadrantExternalBorderStrokeFill=this.quadrantExternalBorderStrokeFill||this.primaryBorderColor,this.quadrantTitleFill=this.quadrantTitleFill||this.primaryTextColor,this.xyChart={backgroundColor:(null==(t=this.xyChart)?void 0:t.backgroundColor)||this.background,titleColor:(null==(e=this.xyChart)?void 0:e.titleColor)||this.primaryTextColor,xAxisTitleColor:(null==(n=this.xyChart)?void 0:n.xAxisTitleColor)||this.primaryTextColor,xAxisLabelColor:(null==(r=this.xyChart)?void 0:r.xAxisLabelColor)||this.primaryTextColor,xAxisTickColor:(null==(i=this.xyChart)?void 0:i.xAxisTickColor)||this.primaryTextColor,xAxisLineColor:(null==(o=this.xyChart)?void 0:o.xAxisLineColor)||this.primaryTextColor,yAxisTitleColor:(null==(s=this.xyChart)?void 0:s.yAxisTitleColor)||this.primaryTextColor,yAxisLabelColor:(null==(a=this.xyChart)?void 0:a.yAxisLabelColor)||this.primaryTextColor,yAxisTickColor:(null==(l=this.xyChart)?void 0:l.yAxisTickColor)||this.primaryTextColor,yAxisLineColor:(null==(c=this.xyChart)?void 0:c.yAxisLineColor)||this.primaryTextColor,plotColorPalette:(null==(u=this.xyChart)?void 0:u.plotColorPalette)||"#3498db,#2ecc71,#e74c3c,#f1c40f,#bdc3c7,#ffffff,#34495e,#9b59b6,#1abc9c,#e67e22"},this.classText=this.primaryTextColor,this.requirementBackground=this.requirementBackground||this.primaryColor,this.requirementBorderColor=this.requirementBorderColor||this.primaryBorderColor,this.requirementBorderSize=this.requirementBorderSize||"1",this.requirementTextColor=this.requirementTextColor||this.primaryTextColor,this.relationColor=this.relationColor||this.lineColor,this.relationLabelBackground=this.relationLabelBackground||(this.darkMode?(0,f.A)(this.secondaryColor,30):this.secondaryColor),this.relationLabelColor=this.relationLabelColor||this.actorTextColor,this.git0=(0,m.A)(this.secondaryColor,20),this.git1=(0,m.A)(this.pie2||this.secondaryColor,20),this.git2=(0,m.A)(this.pie3||this.tertiaryColor,20),this.git3=(0,m.A)(this.pie4||h(this.primaryColor,{h:-30}),20),this.git4=(0,m.A)(this.pie5||h(this.primaryColor,{h:-60}),20),this.git5=(0,m.A)(this.pie6||h(this.primaryColor,{h:-90}),10),this.git6=(0,m.A)(this.pie7||h(this.primaryColor,{h:60}),10),this.git7=(0,m.A)(this.pie8||h(this.primaryColor,{h:120}),20),this.gitInv0=this.gitInv0||p(this.git0),this.gitInv1=this.gitInv1||p(this.git1),this.gitInv2=this.gitInv2||p(this.git2),this.gitInv3=this.gitInv3||p(this.git3),this.gitInv4=this.gitInv4||p(this.git4),this.gitInv5=this.gitInv5||p(this.git5),this.gitInv6=this.gitInv6||p(this.git6),this.gitInv7=this.gitInv7||p(this.git7),this.gitBranchLabel0=this.gitBranchLabel0||p(this.labelTextColor),this.gitBranchLabel1=this.gitBranchLabel1||this.labelTextColor,this.gitBranchLabel2=this.gitBranchLabel2||this.labelTextColor,this.gitBranchLabel3=this.gitBranchLabel3||p(this.labelTextColor),this.gitBranchLabel4=this.gitBranchLabel4||this.labelTextColor,this.gitBranchLabel5=this.gitBranchLabel5||this.labelTextColor,this.gitBranchLabel6=this.gitBranchLabel6||this.labelTextColor,this.gitBranchLabel7=this.gitBranchLabel7||this.labelTextColor,this.tagLabelColor=this.tagLabelColor||this.primaryTextColor,this.tagLabelBackground=this.tagLabelBackground||this.primaryColor,this.tagLabelBorder=this.tagBorder||this.primaryBorderColor,this.tagLabelFontSize=this.tagLabelFontSize||"10px",this.commitLabelColor=this.commitLabelColor||this.secondaryTextColor,this.commitLabelBackground=this.commitLabelBackground||this.secondaryColor,this.commitLabelFontSize=this.commitLabelFontSize||"10px",this.attributeBackgroundColorOdd=this.attributeBackgroundColorOdd||(0,m.A)(this.background,12),this.attributeBackgroundColorEven=this.attributeBackgroundColorEven||(0,m.A)(this.background,2)}calculate(t){if("object"!=typeof t)return void this.updateColors();const e=Object.keys(t);e.forEach((e=>{this[e]=t[e]})),this.updateColors(),e.forEach((e=>{this[e]=t[e]}))}};let Nt=class{constructor(){this.background="#f4f4f4",this.primaryColor="#ECECFF",this.secondaryColor=h(this.primaryColor,{h:120}),this.secondaryColor="#ffffde",this.tertiaryColor=h(this.primaryColor,{h:-160}),this.primaryBorderColor=It(this.primaryColor,this.darkMode),this.secondaryBorderColor=It(this.secondaryColor,this.darkMode),this.tertiaryBorderColor=It(this.tertiaryColor,this.darkMode),this.primaryTextColor=p(this.primaryColor),this.secondaryTextColor=p(this.secondaryColor),this.tertiaryTextColor=p(this.tertiaryColor),this.lineColor=p(this.background),this.textColor=p(this.background),this.background="white",this.mainBkg="#ECECFF",this.secondBkg="#ffffde",this.lineColor="#333333",this.border1="#9370DB",this.border2="#aaaa33",this.arrowheadColor="#333333",this.fontFamily='"trebuchet ms", verdana, arial, sans-serif',this.fontSize="16px",this.labelBackground="#e8e8e8",this.textColor="#333",this.THEME_COLOR_LIMIT=12,this.nodeBkg="calculated",this.nodeBorder="calculated",this.clusterBkg="calculated",this.clusterBorder="calculated",this.defaultLinkColor="calculated",this.titleColor="calculated",this.edgeLabelBackground="calculated",this.actorBorder="calculated",this.actorBkg="calculated",this.actorTextColor="black",this.actorLineColor="grey",this.signalColor="calculated",this.signalTextColor="calculated",this.labelBoxBkgColor="calculated",this.labelBoxBorderColor="calculated",this.labelTextColor="calculated",this.loopTextColor="calculated",this.noteBorderColor="calculated",this.noteBkgColor="#fff5ad",this.noteTextColor="calculated",this.activationBorderColor="#666",this.activationBkgColor="#f4f4f4",this.sequenceNumberColor="white",this.sectionBkgColor="calculated",this.altSectionBkgColor="calculated",this.sectionBkgColor2="calculated",this.excludeBkgColor="#eeeeee",this.taskBorderColor="calculated",this.taskBkgColor="calculated",this.taskTextLightColor="calculated",this.taskTextColor=this.taskTextLightColor,this.taskTextDarkColor="calculated",this.taskTextOutsideColor=this.taskTextDarkColor,this.taskTextClickableColor="calculated",this.activeTaskBorderColor="calculated",this.activeTaskBkgColor="calculated",this.gridColor="calculated",this.doneTaskBkgColor="calculated",this.doneTaskBorderColor="calculated",this.critBorderColor="calculated",this.critBkgColor="calculated",this.todayLineColor="calculated",this.sectionBkgColor=(0,u.A)(102,102,255,.49),this.altSectionBkgColor="white",this.sectionBkgColor2="#fff400",this.taskBorderColor="#534fbc",this.taskBkgColor="#8a90dd",this.taskTextLightColor="white",this.taskTextColor="calculated",this.taskTextDarkColor="black",this.taskTextOutsideColor="calculated",this.taskTextClickableColor="#003163",this.activeTaskBorderColor="#534fbc",this.activeTaskBkgColor="#bfc7ff",this.gridColor="lightgrey",this.doneTaskBkgColor="lightgrey",this.doneTaskBorderColor="grey",this.critBorderColor="#ff8888",this.critBkgColor="red",this.todayLineColor="red",this.personBorder=this.primaryBorderColor,this.personBkg=this.mainBkg,this.labelColor="black",this.errorBkgColor="#552222",this.errorTextColor="#552222",this.updateColors()}updateColors(){var t,e,n,r,i,o,s,a,l,c,u;this.cScale0=this.cScale0||this.primaryColor,this.cScale1=this.cScale1||this.secondaryColor,this.cScale2=this.cScale2||this.tertiaryColor,this.cScale3=this.cScale3||h(this.primaryColor,{h:30}),this.cScale4=this.cScale4||h(this.primaryColor,{h:60}),this.cScale5=this.cScale5||h(this.primaryColor,{h:90}),this.cScale6=this.cScale6||h(this.primaryColor,{h:120}),this.cScale7=this.cScale7||h(this.primaryColor,{h:150}),this.cScale8=this.cScale8||h(this.primaryColor,{h:210}),this.cScale9=this.cScale9||h(this.primaryColor,{h:270}),this.cScale10=this.cScale10||h(this.primaryColor,{h:300}),this.cScale11=this.cScale11||h(this.primaryColor,{h:330}),this.cScalePeer1=this.cScalePeer1||(0,f.A)(this.secondaryColor,45),this.cScalePeer2=this.cScalePeer2||(0,f.A)(this.tertiaryColor,40);for(let h=0;h<this.THEME_COLOR_LIMIT;h++)this["cScale"+h]=(0,f.A)(this["cScale"+h],10),this["cScalePeer"+h]=this["cScalePeer"+h]||(0,f.A)(this["cScale"+h],25);for(let d=0;d<this.THEME_COLOR_LIMIT;d++)this["cScaleInv"+d]=this["cScaleInv"+d]||h(this["cScale"+d],{h:180});for(let d=0;d<5;d++)this["surface"+d]=this["surface"+d]||h(this.mainBkg,{h:30,l:-(5+5*d)}),this["surfacePeer"+d]=this["surfacePeer"+d]||h(this.mainBkg,{h:30,l:-(7+5*d)});if(this.scaleLabelColor="calculated"!==this.scaleLabelColor&&this.scaleLabelColor?this.scaleLabelColor:this.labelTextColor,"calculated"!==this.labelTextColor){this.cScaleLabel0=this.cScaleLabel0||p(this.labelTextColor),this.cScaleLabel3=this.cScaleLabel3||p(this.labelTextColor);for(let t=0;t<this.THEME_COLOR_LIMIT;t++)this["cScaleLabel"+t]=this["cScaleLabel"+t]||this.labelTextColor}this.nodeBkg=this.mainBkg,this.nodeBorder=this.border1,this.clusterBkg=this.secondBkg,this.clusterBorder=this.border2,this.defaultLinkColor=this.lineColor,this.titleColor=this.textColor,this.edgeLabelBackground=this.labelBackground,this.actorBorder=(0,m.A)(this.border1,23),this.actorBkg=this.mainBkg,this.labelBoxBkgColor=this.actorBkg,this.signalColor=this.textColor,this.signalTextColor=this.textColor,this.labelBoxBorderColor=this.actorBorder,this.labelTextColor=this.actorTextColor,this.loopTextColor=this.actorTextColor,this.noteBorderColor=this.border2,this.noteTextColor=this.actorTextColor,this.taskTextColor=this.taskTextLightColor,this.taskTextOutsideColor=this.taskTextDarkColor,this.transitionColor=this.transitionColor||this.lineColor,this.transitionLabelColor=this.transitionLabelColor||this.textColor,this.stateLabelColor=this.stateLabelColor||this.stateBkg||this.primaryTextColor,this.stateBkg=this.stateBkg||this.mainBkg,this.labelBackgroundColor=this.labelBackgroundColor||this.stateBkg,this.compositeBackground=this.compositeBackground||this.background||this.tertiaryColor,this.altBackground=this.altBackground||"#f0f0f0",this.compositeTitleBackground=this.compositeTitleBackground||this.mainBkg,this.compositeBorder=this.compositeBorder||this.nodeBorder,this.innerEndBackground=this.nodeBorder,this.specialStateColor=this.lineColor,this.errorBkgColor=this.errorBkgColor||this.tertiaryColor,this.errorTextColor=this.errorTextColor||this.tertiaryTextColor,this.transitionColor=this.transitionColor||this.lineColor,this.classText=this.primaryTextColor,this.fillType0=this.primaryColor,this.fillType1=this.secondaryColor,this.fillType2=h(this.primaryColor,{h:64}),this.fillType3=h(this.secondaryColor,{h:64}),this.fillType4=h(this.primaryColor,{h:-64}),this.fillType5=h(this.secondaryColor,{h:-64}),this.fillType6=h(this.primaryColor,{h:128}),this.fillType7=h(this.secondaryColor,{h:128}),this.pie1=this.pie1||this.primaryColor,this.pie2=this.pie2||this.secondaryColor,this.pie3=this.pie3||h(this.tertiaryColor,{l:-40}),this.pie4=this.pie4||h(this.primaryColor,{l:-10}),this.pie5=this.pie5||h(this.secondaryColor,{l:-30}),this.pie6=this.pie6||h(this.tertiaryColor,{l:-20}),this.pie7=this.pie7||h(this.primaryColor,{h:60,l:-20}),this.pie8=this.pie8||h(this.primaryColor,{h:-60,l:-40}),this.pie9=this.pie9||h(this.primaryColor,{h:120,l:-40}),this.pie10=this.pie10||h(this.primaryColor,{h:60,l:-40}),this.pie11=this.pie11||h(this.primaryColor,{h:-90,l:-40}),this.pie12=this.pie12||h(this.primaryColor,{h:120,l:-30}),this.pieTitleTextSize=this.pieTitleTextSize||"25px",this.pieTitleTextColor=this.pieTitleTextColor||this.taskTextDarkColor,this.pieSectionTextSize=this.pieSectionTextSize||"17px",this.pieSectionTextColor=this.pieSectionTextColor||this.textColor,this.pieLegendTextSize=this.pieLegendTextSize||"17px",this.pieLegendTextColor=this.pieLegendTextColor||this.taskTextDarkColor,this.pieStrokeColor=this.pieStrokeColor||"black",this.pieStrokeWidth=this.pieStrokeWidth||"2px",this.pieOuterStrokeWidth=this.pieOuterStrokeWidth||"2px",this.pieOuterStrokeColor=this.pieOuterStrokeColor||"black",this.pieOpacity=this.pieOpacity||"0.7",this.quadrant1Fill=this.quadrant1Fill||this.primaryColor,this.quadrant2Fill=this.quadrant2Fill||h(this.primaryColor,{r:5,g:5,b:5}),this.quadrant3Fill=this.quadrant3Fill||h(this.primaryColor,{r:10,g:10,b:10}),this.quadrant4Fill=this.quadrant4Fill||h(this.primaryColor,{r:15,g:15,b:15}),this.quadrant1TextFill=this.quadrant1TextFill||this.primaryTextColor,this.quadrant2TextFill=this.quadrant2TextFill||h(this.primaryTextColor,{r:-5,g:-5,b:-5}),this.quadrant3TextFill=this.quadrant3TextFill||h(this.primaryTextColor,{r:-10,g:-10,b:-10}),this.quadrant4TextFill=this.quadrant4TextFill||h(this.primaryTextColor,{r:-15,g:-15,b:-15}),this.quadrantPointFill=this.quadrantPointFill||(0,g.A)(this.quadrant1Fill)?(0,m.A)(this.quadrant1Fill):(0,f.A)(this.quadrant1Fill),this.quadrantPointTextFill=this.quadrantPointTextFill||this.primaryTextColor,this.quadrantXAxisTextFill=this.quadrantXAxisTextFill||this.primaryTextColor,this.quadrantYAxisTextFill=this.quadrantYAxisTextFill||this.primaryTextColor,this.quadrantInternalBorderStrokeFill=this.quadrantInternalBorderStrokeFill||this.primaryBorderColor,this.quadrantExternalBorderStrokeFill=this.quadrantExternalBorderStrokeFill||this.primaryBorderColor,this.quadrantTitleFill=this.quadrantTitleFill||this.primaryTextColor,this.xyChart={backgroundColor:(null==(t=this.xyChart)?void 0:t.backgroundColor)||this.background,titleColor:(null==(e=this.xyChart)?void 0:e.titleColor)||this.primaryTextColor,xAxisTitleColor:(null==(n=this.xyChart)?void 0:n.xAxisTitleColor)||this.primaryTextColor,xAxisLabelColor:(null==(r=this.xyChart)?void 0:r.xAxisLabelColor)||this.primaryTextColor,xAxisTickColor:(null==(i=this.xyChart)?void 0:i.xAxisTickColor)||this.primaryTextColor,xAxisLineColor:(null==(o=this.xyChart)?void 0:o.xAxisLineColor)||this.primaryTextColor,yAxisTitleColor:(null==(s=this.xyChart)?void 0:s.yAxisTitleColor)||this.primaryTextColor,yAxisLabelColor:(null==(a=this.xyChart)?void 0:a.yAxisLabelColor)||this.primaryTextColor,yAxisTickColor:(null==(l=this.xyChart)?void 0:l.yAxisTickColor)||this.primaryTextColor,yAxisLineColor:(null==(c=this.xyChart)?void 0:c.yAxisLineColor)||this.primaryTextColor,plotColorPalette:(null==(u=this.xyChart)?void 0:u.plotColorPalette)||"#ECECFF,#8493A6,#FFC3A0,#DCDDE1,#B8E994,#D1A36F,#C3CDE6,#FFB6C1,#496078,#F8F3E3"},this.requirementBackground=this.requirementBackground||this.primaryColor,this.requirementBorderColor=this.requirementBorderColor||this.primaryBorderColor,this.requirementBorderSize=this.requirementBorderSize||"1",this.requirementTextColor=this.requirementTextColor||this.primaryTextColor,this.relationColor=this.relationColor||this.lineColor,this.relationLabelBackground=this.relationLabelBackground||this.labelBackground,this.relationLabelColor=this.relationLabelColor||this.actorTextColor,this.git0=this.git0||this.primaryColor,this.git1=this.git1||this.secondaryColor,this.git2=this.git2||this.tertiaryColor,this.git3=this.git3||h(this.primaryColor,{h:-30}),this.git4=this.git4||h(this.primaryColor,{h:-60}),this.git5=this.git5||h(this.primaryColor,{h:-90}),this.git6=this.git6||h(this.primaryColor,{h:60}),this.git7=this.git7||h(this.primaryColor,{h:120}),this.darkMode?(this.git0=(0,m.A)(this.git0,25),this.git1=(0,m.A)(this.git1,25),this.git2=(0,m.A)(this.git2,25),this.git3=(0,m.A)(this.git3,25),this.git4=(0,m.A)(this.git4,25),this.git5=(0,m.A)(this.git5,25),this.git6=(0,m.A)(this.git6,25),this.git7=(0,m.A)(this.git7,25)):(this.git0=(0,f.A)(this.git0,25),this.git1=(0,f.A)(this.git1,25),this.git2=(0,f.A)(this.git2,25),this.git3=(0,f.A)(this.git3,25),this.git4=(0,f.A)(this.git4,25),this.git5=(0,f.A)(this.git5,25),this.git6=(0,f.A)(this.git6,25),this.git7=(0,f.A)(this.git7,25)),this.gitInv0=this.gitInv0||(0,f.A)(p(this.git0),25),this.gitInv1=this.gitInv1||p(this.git1),this.gitInv2=this.gitInv2||p(this.git2),this.gitInv3=this.gitInv3||p(this.git3),this.gitInv4=this.gitInv4||p(this.git4),this.gitInv5=this.gitInv5||p(this.git5),this.gitInv6=this.gitInv6||p(this.git6),this.gitInv7=this.gitInv7||p(this.git7),this.gitBranchLabel0=this.gitBranchLabel0||p(this.labelTextColor),this.gitBranchLabel1=this.gitBranchLabel1||this.labelTextColor,this.gitBranchLabel2=this.gitBranchLabel2||this.labelTextColor,this.gitBranchLabel3=this.gitBranchLabel3||p(this.labelTextColor),this.gitBranchLabel4=this.gitBranchLabel4||this.labelTextColor,this.gitBranchLabel5=this.gitBranchLabel5||this.labelTextColor,this.gitBranchLabel6=this.gitBranchLabel6||this.labelTextColor,this.gitBranchLabel7=this.gitBranchLabel7||this.labelTextColor,this.tagLabelColor=this.tagLabelColor||this.primaryTextColor,this.tagLabelBackground=this.tagLabelBackground||this.primaryColor,this.tagLabelBorder=this.tagBorder||this.primaryBorderColor,this.tagLabelFontSize=this.tagLabelFontSize||"10px",this.commitLabelColor=this.commitLabelColor||this.secondaryTextColor,this.commitLabelBackground=this.commitLabelBackground||this.secondaryColor,this.commitLabelFontSize=this.commitLabelFontSize||"10px",this.attributeBackgroundColorOdd=this.attributeBackgroundColorOdd||Lt,this.attributeBackgroundColorEven=this.attributeBackgroundColorEven||Et}calculate(t){if("object"!=typeof t)return void this.updateColors();const e=Object.keys(t);e.forEach((e=>{this[e]=t[e]})),this.updateColors(),e.forEach((e=>{this[e]=t[e]}))}};const Mt=t=>{const e=new Nt;return e.calculate(t),e};let jt=class{constructor(){this.background="#f4f4f4",this.primaryColor="#cde498",this.secondaryColor="#cdffb2",this.background="white",this.mainBkg="#cde498",this.secondBkg="#cdffb2",this.lineColor="green",this.border1="#13540c",this.border2="#6eaa49",this.arrowheadColor="green",this.fontFamily='"trebuchet ms", verdana, arial, sans-serif',this.fontSize="16px",this.tertiaryColor=(0,m.A)("#cde498",10),this.primaryBorderColor=It(this.primaryColor,this.darkMode),this.secondaryBorderColor=It(this.secondaryColor,this.darkMode),this.tertiaryBorderColor=It(this.tertiaryColor,this.darkMode),this.primaryTextColor=p(this.primaryColor),this.secondaryTextColor=p(this.secondaryColor),this.tertiaryTextColor=p(this.primaryColor),this.lineColor=p(this.background),this.textColor=p(this.background),this.THEME_COLOR_LIMIT=12,this.nodeBkg="calculated",this.nodeBorder="calculated",this.clusterBkg="calculated",this.clusterBorder="calculated",this.defaultLinkColor="calculated",this.titleColor="#333",this.edgeLabelBackground="#e8e8e8",this.actorBorder="calculated",this.actorBkg="calculated",this.actorTextColor="black",this.actorLineColor="grey",this.signalColor="#333",this.signalTextColor="#333",this.labelBoxBkgColor="calculated",this.labelBoxBorderColor="#326932",this.labelTextColor="calculated",this.loopTextColor="calculated",this.noteBorderColor="calculated",this.noteBkgColor="#fff5ad",this.noteTextColor="calculated",this.activationBorderColor="#666",this.activationBkgColor="#f4f4f4",this.sequenceNumberColor="white",this.sectionBkgColor="#6eaa49",this.altSectionBkgColor="white",this.sectionBkgColor2="#6eaa49",this.excludeBkgColor="#eeeeee",this.taskBorderColor="calculated",this.taskBkgColor="#487e3a",this.taskTextLightColor="white",this.taskTextColor="calculated",this.taskTextDarkColor="black",this.taskTextOutsideColor="calculated",this.taskTextClickableColor="#003163",this.activeTaskBorderColor="calculated",this.activeTaskBkgColor="calculated",this.gridColor="lightgrey",this.doneTaskBkgColor="lightgrey",this.doneTaskBorderColor="grey",this.critBorderColor="#ff8888",this.critBkgColor="red",this.todayLineColor="red",this.personBorder=this.primaryBorderColor,this.personBkg=this.mainBkg,this.labelColor="black",this.errorBkgColor="#552222",this.errorTextColor="#552222"}updateColors(){var t,e,n,r,i,o,s,a,l,c,u;this.actorBorder=(0,f.A)(this.mainBkg,20),this.actorBkg=this.mainBkg,this.labelBoxBkgColor=this.actorBkg,this.labelTextColor=this.actorTextColor,this.loopTextColor=this.actorTextColor,this.noteBorderColor=this.border2,this.noteTextColor=this.actorTextColor,this.cScale0=this.cScale0||this.primaryColor,this.cScale1=this.cScale1||this.secondaryColor,this.cScale2=this.cScale2||this.tertiaryColor,this.cScale3=this.cScale3||h(this.primaryColor,{h:30}),this.cScale4=this.cScale4||h(this.primaryColor,{h:60}),this.cScale5=this.cScale5||h(this.primaryColor,{h:90}),this.cScale6=this.cScale6||h(this.primaryColor,{h:120}),this.cScale7=this.cScale7||h(this.primaryColor,{h:150}),this.cScale8=this.cScale8||h(this.primaryColor,{h:210}),this.cScale9=this.cScale9||h(this.primaryColor,{h:270}),this.cScale10=this.cScale10||h(this.primaryColor,{h:300}),this.cScale11=this.cScale11||h(this.primaryColor,{h:330}),this.cScalePeer1=this.cScalePeer1||(0,f.A)(this.secondaryColor,45),this.cScalePeer2=this.cScalePeer2||(0,f.A)(this.tertiaryColor,40);for(let h=0;h<this.THEME_COLOR_LIMIT;h++)this["cScale"+h]=(0,f.A)(this["cScale"+h],10),this["cScalePeer"+h]=this["cScalePeer"+h]||(0,f.A)(this["cScale"+h],25);for(let d=0;d<this.THEME_COLOR_LIMIT;d++)this["cScaleInv"+d]=this["cScaleInv"+d]||h(this["cScale"+d],{h:180});this.scaleLabelColor="calculated"!==this.scaleLabelColor&&this.scaleLabelColor?this.scaleLabelColor:this.labelTextColor;for(let h=0;h<this.THEME_COLOR_LIMIT;h++)this["cScaleLabel"+h]=this["cScaleLabel"+h]||this.scaleLabelColor;for(let d=0;d<5;d++)this["surface"+d]=this["surface"+d]||h(this.mainBkg,{h:30,s:-30,l:-(5+5*d)}),this["surfacePeer"+d]=this["surfacePeer"+d]||h(this.mainBkg,{h:30,s:-30,l:-(8+5*d)});this.nodeBkg=this.mainBkg,this.nodeBorder=this.border1,this.clusterBkg=this.secondBkg,this.clusterBorder=this.border2,this.defaultLinkColor=this.lineColor,this.taskBorderColor=this.border1,this.taskTextColor=this.taskTextLightColor,this.taskTextOutsideColor=this.taskTextDarkColor,this.activeTaskBorderColor=this.taskBorderColor,this.activeTaskBkgColor=this.mainBkg,this.transitionColor=this.transitionColor||this.lineColor,this.transitionLabelColor=this.transitionLabelColor||this.textColor,this.stateLabelColor=this.stateLabelColor||this.stateBkg||this.primaryTextColor,this.stateBkg=this.stateBkg||this.mainBkg,this.labelBackgroundColor=this.labelBackgroundColor||this.stateBkg,this.compositeBackground=this.compositeBackground||this.background||this.tertiaryColor,this.altBackground=this.altBackground||"#f0f0f0",this.compositeTitleBackground=this.compositeTitleBackground||this.mainBkg,this.compositeBorder=this.compositeBorder||this.nodeBorder,this.innerEndBackground=this.primaryBorderColor,this.specialStateColor=this.lineColor,this.errorBkgColor=this.errorBkgColor||this.tertiaryColor,this.errorTextColor=this.errorTextColor||this.tertiaryTextColor,this.transitionColor=this.transitionColor||this.lineColor,this.classText=this.primaryTextColor,this.fillType0=this.primaryColor,this.fillType1=this.secondaryColor,this.fillType2=h(this.primaryColor,{h:64}),this.fillType3=h(this.secondaryColor,{h:64}),this.fillType4=h(this.primaryColor,{h:-64}),this.fillType5=h(this.secondaryColor,{h:-64}),this.fillType6=h(this.primaryColor,{h:128}),this.fillType7=h(this.secondaryColor,{h:128}),this.pie1=this.pie1||this.primaryColor,this.pie2=this.pie2||this.secondaryColor,this.pie3=this.pie3||this.tertiaryColor,this.pie4=this.pie4||h(this.primaryColor,{l:-30}),this.pie5=this.pie5||h(this.secondaryColor,{l:-30}),this.pie6=this.pie6||h(this.tertiaryColor,{h:40,l:-40}),this.pie7=this.pie7||h(this.primaryColor,{h:60,l:-10}),this.pie8=this.pie8||h(this.primaryColor,{h:-60,l:-10}),this.pie9=this.pie9||h(this.primaryColor,{h:120,l:0}),this.pie10=this.pie10||h(this.primaryColor,{h:60,l:-50}),this.pie11=this.pie11||h(this.primaryColor,{h:-60,l:-50}),this.pie12=this.pie12||h(this.primaryColor,{h:120,l:-50}),this.pieTitleTextSize=this.pieTitleTextSize||"25px",this.pieTitleTextColor=this.pieTitleTextColor||this.taskTextDarkColor,this.pieSectionTextSize=this.pieSectionTextSize||"17px",this.pieSectionTextColor=this.pieSectionTextColor||this.textColor,this.pieLegendTextSize=this.pieLegendTextSize||"17px",this.pieLegendTextColor=this.pieLegendTextColor||this.taskTextDarkColor,this.pieStrokeColor=this.pieStrokeColor||"black",this.pieStrokeWidth=this.pieStrokeWidth||"2px",this.pieOuterStrokeWidth=this.pieOuterStrokeWidth||"2px",this.pieOuterStrokeColor=this.pieOuterStrokeColor||"black",this.pieOpacity=this.pieOpacity||"0.7",this.quadrant1Fill=this.quadrant1Fill||this.primaryColor,this.quadrant2Fill=this.quadrant2Fill||h(this.primaryColor,{r:5,g:5,b:5}),this.quadrant3Fill=this.quadrant3Fill||h(this.primaryColor,{r:10,g:10,b:10}),this.quadrant4Fill=this.quadrant4Fill||h(this.primaryColor,{r:15,g:15,b:15}),this.quadrant1TextFill=this.quadrant1TextFill||this.primaryTextColor,this.quadrant2TextFill=this.quadrant2TextFill||h(this.primaryTextColor,{r:-5,g:-5,b:-5}),this.quadrant3TextFill=this.quadrant3TextFill||h(this.primaryTextColor,{r:-10,g:-10,b:-10}),this.quadrant4TextFill=this.quadrant4TextFill||h(this.primaryTextColor,{r:-15,g:-15,b:-15}),this.quadrantPointFill=this.quadrantPointFill||(0,g.A)(this.quadrant1Fill)?(0,m.A)(this.quadrant1Fill):(0,f.A)(this.quadrant1Fill),this.quadrantPointTextFill=this.quadrantPointTextFill||this.primaryTextColor,this.quadrantXAxisTextFill=this.quadrantXAxisTextFill||this.primaryTextColor,this.quadrantYAxisTextFill=this.quadrantYAxisTextFill||this.primaryTextColor,this.quadrantInternalBorderStrokeFill=this.quadrantInternalBorderStrokeFill||this.primaryBorderColor,this.quadrantExternalBorderStrokeFill=this.quadrantExternalBorderStrokeFill||this.primaryBorderColor,this.quadrantTitleFill=this.quadrantTitleFill||this.primaryTextColor,this.xyChart={backgroundColor:(null==(t=this.xyChart)?void 0:t.backgroundColor)||this.background,titleColor:(null==(e=this.xyChart)?void 0:e.titleColor)||this.primaryTextColor,xAxisTitleColor:(null==(n=this.xyChart)?void 0:n.xAxisTitleColor)||this.primaryTextColor,xAxisLabelColor:(null==(r=this.xyChart)?void 0:r.xAxisLabelColor)||this.primaryTextColor,xAxisTickColor:(null==(i=this.xyChart)?void 0:i.xAxisTickColor)||this.primaryTextColor,xAxisLineColor:(null==(o=this.xyChart)?void 0:o.xAxisLineColor)||this.primaryTextColor,yAxisTitleColor:(null==(s=this.xyChart)?void 0:s.yAxisTitleColor)||this.primaryTextColor,yAxisLabelColor:(null==(a=this.xyChart)?void 0:a.yAxisLabelColor)||this.primaryTextColor,yAxisTickColor:(null==(l=this.xyChart)?void 0:l.yAxisTickColor)||this.primaryTextColor,yAxisLineColor:(null==(c=this.xyChart)?void 0:c.yAxisLineColor)||this.primaryTextColor,plotColorPalette:(null==(u=this.xyChart)?void 0:u.plotColorPalette)||"#CDE498,#FF6B6B,#A0D2DB,#D7BDE2,#F0F0F0,#FFC3A0,#7FD8BE,#FF9A8B,#FAF3E0,#FFF176"},this.requirementBackground=this.requirementBackground||this.primaryColor,this.requirementBorderColor=this.requirementBorderColor||this.primaryBorderColor,this.requirementBorderSize=this.requirementBorderSize||"1",this.requirementTextColor=this.requirementTextColor||this.primaryTextColor,this.relationColor=this.relationColor||this.lineColor,this.relationLabelBackground=this.relationLabelBackground||this.edgeLabelBackground,this.relationLabelColor=this.relationLabelColor||this.actorTextColor,this.git0=this.git0||this.primaryColor,this.git1=this.git1||this.secondaryColor,this.git2=this.git2||this.tertiaryColor,this.git3=this.git3||h(this.primaryColor,{h:-30}),this.git4=this.git4||h(this.primaryColor,{h:-60}),this.git5=this.git5||h(this.primaryColor,{h:-90}),this.git6=this.git6||h(this.primaryColor,{h:60}),this.git7=this.git7||h(this.primaryColor,{h:120}),this.darkMode?(this.git0=(0,m.A)(this.git0,25),this.git1=(0,m.A)(this.git1,25),this.git2=(0,m.A)(this.git2,25),this.git3=(0,m.A)(this.git3,25),this.git4=(0,m.A)(this.git4,25),this.git5=(0,m.A)(this.git5,25),this.git6=(0,m.A)(this.git6,25),this.git7=(0,m.A)(this.git7,25)):(this.git0=(0,f.A)(this.git0,25),this.git1=(0,f.A)(this.git1,25),this.git2=(0,f.A)(this.git2,25),this.git3=(0,f.A)(this.git3,25),this.git4=(0,f.A)(this.git4,25),this.git5=(0,f.A)(this.git5,25),this.git6=(0,f.A)(this.git6,25),this.git7=(0,f.A)(this.git7,25)),this.gitInv0=this.gitInv0||p(this.git0),this.gitInv1=this.gitInv1||p(this.git1),this.gitInv2=this.gitInv2||p(this.git2),this.gitInv3=this.gitInv3||p(this.git3),this.gitInv4=this.gitInv4||p(this.git4),this.gitInv5=this.gitInv5||p(this.git5),this.gitInv6=this.gitInv6||p(this.git6),this.gitInv7=this.gitInv7||p(this.git7),this.gitBranchLabel0=this.gitBranchLabel0||p(this.labelTextColor),this.gitBranchLabel1=this.gitBranchLabel1||this.labelTextColor,this.gitBranchLabel2=this.gitBranchLabel2||this.labelTextColor,this.gitBranchLabel3=this.gitBranchLabel3||p(this.labelTextColor),this.gitBranchLabel4=this.gitBranchLabel4||this.labelTextColor,this.gitBranchLabel5=this.gitBranchLabel5||this.labelTextColor,this.gitBranchLabel6=this.gitBranchLabel6||this.labelTextColor,this.gitBranchLabel7=this.gitBranchLabel7||this.labelTextColor,this.tagLabelColor=this.tagLabelColor||this.primaryTextColor,this.tagLabelBackground=this.tagLabelBackground||this.primaryColor,this.tagLabelBorder=this.tagBorder||this.primaryBorderColor,this.tagLabelFontSize=this.tagLabelFontSize||"10px",this.commitLabelColor=this.commitLabelColor||this.secondaryTextColor,this.commitLabelBackground=this.commitLabelBackground||this.secondaryColor,this.commitLabelFontSize=this.commitLabelFontSize||"10px",this.attributeBackgroundColorOdd=this.attributeBackgroundColorOdd||Lt,this.attributeBackgroundColorEven=this.attributeBackgroundColorEven||Et}calculate(t){if("object"!=typeof t)return void this.updateColors();const e=Object.keys(t);e.forEach((e=>{this[e]=t[e]})),this.updateColors(),e.forEach((e=>{this[e]=t[e]}))}};class Ot{constructor(){this.primaryColor="#eee",this.contrast="#707070",this.secondaryColor=(0,m.A)(this.contrast,55),this.background="#ffffff",this.tertiaryColor=h(this.primaryColor,{h:-160}),this.primaryBorderColor=It(this.primaryColor,this.darkMode),this.secondaryBorderColor=It(this.secondaryColor,this.darkMode),this.tertiaryBorderColor=It(this.tertiaryColor,this.darkMode),this.primaryTextColor=p(this.primaryColor),this.secondaryTextColor=p(this.secondaryColor),this.tertiaryTextColor=p(this.tertiaryColor),this.lineColor=p(this.background),this.textColor=p(this.background),this.mainBkg="#eee",this.secondBkg="calculated",this.lineColor="#666",this.border1="#999",this.border2="calculated",this.note="#ffa",this.text="#333",this.critical="#d42",this.done="#bbb",this.arrowheadColor="#333333",this.fontFamily='"trebuchet ms", verdana, arial, sans-serif',this.fontSize="16px",this.THEME_COLOR_LIMIT=12,this.nodeBkg="calculated",this.nodeBorder="calculated",this.clusterBkg="calculated",this.clusterBorder="calculated",this.defaultLinkColor="calculated",this.titleColor="calculated",this.edgeLabelBackground="white",this.actorBorder="calculated",this.actorBkg="calculated",this.actorTextColor="calculated",this.actorLineColor="calculated",this.signalColor="calculated",this.signalTextColor="calculated",this.labelBoxBkgColor="calculated",this.labelBoxBorderColor="calculated",this.labelTextColor="calculated",this.loopTextColor="calculated",this.noteBorderColor="calculated",this.noteBkgColor="calculated",this.noteTextColor="calculated",this.activationBorderColor="#666",this.activationBkgColor="#f4f4f4",this.sequenceNumberColor="white",this.sectionBkgColor="calculated",this.altSectionBkgColor="white",this.sectionBkgColor2="calculated",this.excludeBkgColor="#eeeeee",this.taskBorderColor="calculated",this.taskBkgColor="calculated",this.taskTextLightColor="white",this.taskTextColor="calculated",this.taskTextDarkColor="calculated",this.taskTextOutsideColor="calculated",this.taskTextClickableColor="#003163",this.activeTaskBorderColor="calculated",this.activeTaskBkgColor="calculated",this.gridColor="calculated",this.doneTaskBkgColor="calculated",this.doneTaskBorderColor="calculated",this.critBkgColor="calculated",this.critBorderColor="calculated",this.todayLineColor="calculated",this.personBorder=this.primaryBorderColor,this.personBkg=this.mainBkg,this.labelColor="black",this.errorBkgColor="#552222",this.errorTextColor="#552222"}updateColors(){var t,e,n,r,i,o,s,a,l,c,u;this.secondBkg=(0,m.A)(this.contrast,55),this.border2=this.contrast,this.actorBorder=(0,m.A)(this.border1,23),this.actorBkg=this.mainBkg,this.actorTextColor=this.text,this.actorLineColor=this.lineColor,this.signalColor=this.text,this.signalTextColor=this.text,this.labelBoxBkgColor=this.actorBkg,this.labelBoxBorderColor=this.actorBorder,this.labelTextColor=this.text,this.loopTextColor=this.text,this.noteBorderColor="#999",this.noteBkgColor="#666",this.noteTextColor="#fff",this.cScale0=this.cScale0||"#555",this.cScale1=this.cScale1||"#F4F4F4",this.cScale2=this.cScale2||"#555",this.cScale3=this.cScale3||"#BBB",this.cScale4=this.cScale4||"#777",this.cScale5=this.cScale5||"#999",this.cScale6=this.cScale6||"#DDD",this.cScale7=this.cScale7||"#FFF",this.cScale8=this.cScale8||"#DDD",this.cScale9=this.cScale9||"#BBB",this.cScale10=this.cScale10||"#999",this.cScale11=this.cScale11||"#777";for(let h=0;h<this.THEME_COLOR_LIMIT;h++)this["cScaleInv"+h]=this["cScaleInv"+h]||p(this["cScale"+h]);for(let h=0;h<this.THEME_COLOR_LIMIT;h++)this.darkMode?this["cScalePeer"+h]=this["cScalePeer"+h]||(0,m.A)(this["cScale"+h],10):this["cScalePeer"+h]=this["cScalePeer"+h]||(0,f.A)(this["cScale"+h],10);this.scaleLabelColor=this.scaleLabelColor||(this.darkMode?"black":this.labelTextColor),this.cScaleLabel0=this.cScaleLabel0||this.cScale1,this.cScaleLabel2=this.cScaleLabel2||this.cScale1;for(let h=0;h<this.THEME_COLOR_LIMIT;h++)this["cScaleLabel"+h]=this["cScaleLabel"+h]||this.scaleLabelColor;for(let d=0;d<5;d++)this["surface"+d]=this["surface"+d]||h(this.mainBkg,{l:-(5+5*d)}),this["surfacePeer"+d]=this["surfacePeer"+d]||h(this.mainBkg,{l:-(8+5*d)});this.nodeBkg=this.mainBkg,this.nodeBorder=this.border1,this.clusterBkg=this.secondBkg,this.clusterBorder=this.border2,this.defaultLinkColor=this.lineColor,this.titleColor=this.text,this.sectionBkgColor=(0,m.A)(this.contrast,30),this.sectionBkgColor2=(0,m.A)(this.contrast,30),this.taskBorderColor=(0,f.A)(this.contrast,10),this.taskBkgColor=this.contrast,this.taskTextColor=this.taskTextLightColor,this.taskTextDarkColor=this.text,this.taskTextOutsideColor=this.taskTextDarkColor,this.activeTaskBorderColor=this.taskBorderColor,this.activeTaskBkgColor=this.mainBkg,this.gridColor=(0,m.A)(this.border1,30),this.doneTaskBkgColor=this.done,this.doneTaskBorderColor=this.lineColor,this.critBkgColor=this.critical,this.critBorderColor=(0,f.A)(this.critBkgColor,10),this.todayLineColor=this.critBkgColor,this.transitionColor=this.transitionColor||"#000",this.transitionLabelColor=this.transitionLabelColor||this.textColor,this.stateLabelColor=this.stateLabelColor||this.stateBkg||this.primaryTextColor,this.stateBkg=this.stateBkg||this.mainBkg,this.labelBackgroundColor=this.labelBackgroundColor||this.stateBkg,this.compositeBackground=this.compositeBackground||this.background||this.tertiaryColor,this.altBackground=this.altBackground||"#f4f4f4",this.compositeTitleBackground=this.compositeTitleBackground||this.mainBkg,this.stateBorder=this.stateBorder||"#000",this.innerEndBackground=this.primaryBorderColor,this.specialStateColor="#222",this.errorBkgColor=this.errorBkgColor||this.tertiaryColor,this.errorTextColor=this.errorTextColor||this.tertiaryTextColor,this.classText=this.primaryTextColor,this.fillType0=this.primaryColor,this.fillType1=this.secondaryColor,this.fillType2=h(this.primaryColor,{h:64}),this.fillType3=h(this.secondaryColor,{h:64}),this.fillType4=h(this.primaryColor,{h:-64}),this.fillType5=h(this.secondaryColor,{h:-64}),this.fillType6=h(this.primaryColor,{h:128}),this.fillType7=h(this.secondaryColor,{h:128});for(let h=0;h<this.THEME_COLOR_LIMIT;h++)this["pie"+h]=this["cScale"+h];this.pie12=this.pie0,this.pieTitleTextSize=this.pieTitleTextSize||"25px",this.pieTitleTextColor=this.pieTitleTextColor||this.taskTextDarkColor,this.pieSectionTextSize=this.pieSectionTextSize||"17px",this.pieSectionTextColor=this.pieSectionTextColor||this.textColor,this.pieLegendTextSize=this.pieLegendTextSize||"17px",this.pieLegendTextColor=this.pieLegendTextColor||this.taskTextDarkColor,this.pieStrokeColor=this.pieStrokeColor||"black",this.pieStrokeWidth=this.pieStrokeWidth||"2px",this.pieOuterStrokeWidth=this.pieOuterStrokeWidth||"2px",this.pieOuterStrokeColor=this.pieOuterStrokeColor||"black",this.pieOpacity=this.pieOpacity||"0.7",this.quadrant1Fill=this.quadrant1Fill||this.primaryColor,this.quadrant2Fill=this.quadrant2Fill||h(this.primaryColor,{r:5,g:5,b:5}),this.quadrant3Fill=this.quadrant3Fill||h(this.primaryColor,{r:10,g:10,b:10}),this.quadrant4Fill=this.quadrant4Fill||h(this.primaryColor,{r:15,g:15,b:15}),this.quadrant1TextFill=this.quadrant1TextFill||this.primaryTextColor,this.quadrant2TextFill=this.quadrant2TextFill||h(this.primaryTextColor,{r:-5,g:-5,b:-5}),this.quadrant3TextFill=this.quadrant3TextFill||h(this.primaryTextColor,{r:-10,g:-10,b:-10}),this.quadrant4TextFill=this.quadrant4TextFill||h(this.primaryTextColor,{r:-15,g:-15,b:-15}),this.quadrantPointFill=this.quadrantPointFill||(0,g.A)(this.quadrant1Fill)?(0,m.A)(this.quadrant1Fill):(0,f.A)(this.quadrant1Fill),this.quadrantPointTextFill=this.quadrantPointTextFill||this.primaryTextColor,this.quadrantXAxisTextFill=this.quadrantXAxisTextFill||this.primaryTextColor,this.quadrantYAxisTextFill=this.quadrantYAxisTextFill||this.primaryTextColor,this.quadrantInternalBorderStrokeFill=this.quadrantInternalBorderStrokeFill||this.primaryBorderColor,this.quadrantExternalBorderStrokeFill=this.quadrantExternalBorderStrokeFill||this.primaryBorderColor,this.quadrantTitleFill=this.quadrantTitleFill||this.primaryTextColor,this.xyChart={backgroundColor:(null==(t=this.xyChart)?void 0:t.backgroundColor)||this.background,titleColor:(null==(e=this.xyChart)?void 0:e.titleColor)||this.primaryTextColor,xAxisTitleColor:(null==(n=this.xyChart)?void 0:n.xAxisTitleColor)||this.primaryTextColor,xAxisLabelColor:(null==(r=this.xyChart)?void 0:r.xAxisLabelColor)||this.primaryTextColor,xAxisTickColor:(null==(i=this.xyChart)?void 0:i.xAxisTickColor)||this.primaryTextColor,xAxisLineColor:(null==(o=this.xyChart)?void 0:o.xAxisLineColor)||this.primaryTextColor,yAxisTitleColor:(null==(s=this.xyChart)?void 0:s.yAxisTitleColor)||this.primaryTextColor,yAxisLabelColor:(null==(a=this.xyChart)?void 0:a.yAxisLabelColor)||this.primaryTextColor,yAxisTickColor:(null==(l=this.xyChart)?void 0:l.yAxisTickColor)||this.primaryTextColor,yAxisLineColor:(null==(c=this.xyChart)?void 0:c.yAxisLineColor)||this.primaryTextColor,plotColorPalette:(null==(u=this.xyChart)?void 0:u.plotColorPalette)||"#EEE,#6BB8E4,#8ACB88,#C7ACD6,#E8DCC2,#FFB2A8,#FFF380,#7E8D91,#FFD8B1,#FAF3E0"},this.requirementBackground=this.requirementBackground||this.primaryColor,this.requirementBorderColor=this.requirementBorderColor||this.primaryBorderColor,this.requirementBorderSize=this.requirementBorderSize||"1",this.requirementTextColor=this.requirementTextColor||this.primaryTextColor,this.relationColor=this.relationColor||this.lineColor,this.relationLabelBackground=this.relationLabelBackground||this.edgeLabelBackground,this.relationLabelColor=this.relationLabelColor||this.actorTextColor,this.git0=(0,f.A)(this.pie1,25)||this.primaryColor,this.git1=this.pie2||this.secondaryColor,this.git2=this.pie3||this.tertiaryColor,this.git3=this.pie4||h(this.primaryColor,{h:-30}),this.git4=this.pie5||h(this.primaryColor,{h:-60}),this.git5=this.pie6||h(this.primaryColor,{h:-90}),this.git6=this.pie7||h(this.primaryColor,{h:60}),this.git7=this.pie8||h(this.primaryColor,{h:120}),this.gitInv0=this.gitInv0||p(this.git0),this.gitInv1=this.gitInv1||p(this.git1),this.gitInv2=this.gitInv2||p(this.git2),this.gitInv3=this.gitInv3||p(this.git3),this.gitInv4=this.gitInv4||p(this.git4),this.gitInv5=this.gitInv5||p(this.git5),this.gitInv6=this.gitInv6||p(this.git6),this.gitInv7=this.gitInv7||p(this.git7),this.branchLabelColor=this.branchLabelColor||this.labelTextColor,this.gitBranchLabel0=this.branchLabelColor,this.gitBranchLabel1="white",this.gitBranchLabel2=this.branchLabelColor,this.gitBranchLabel3="white",this.gitBranchLabel4=this.branchLabelColor,this.gitBranchLabel5=this.branchLabelColor,this.gitBranchLabel6=this.branchLabelColor,this.gitBranchLabel7=this.branchLabelColor,this.tagLabelColor=this.tagLabelColor||this.primaryTextColor,this.tagLabelBackground=this.tagLabelBackground||this.primaryColor,this.tagLabelBorder=this.tagBorder||this.primaryBorderColor,this.tagLabelFontSize=this.tagLabelFontSize||"10px",this.commitLabelColor=this.commitLabelColor||this.secondaryTextColor,this.commitLabelBackground=this.commitLabelBackground||this.secondaryColor,this.commitLabelFontSize=this.commitLabelFontSize||"10px",this.attributeBackgroundColorOdd=this.attributeBackgroundColorOdd||Lt,this.attributeBackgroundColorEven=this.attributeBackgroundColorEven||Et}calculate(t){if("object"!=typeof t)return void this.updateColors();const e=Object.keys(t);e.forEach((e=>{this[e]=t[e]})),this.updateColors(),e.forEach((e=>{this[e]=t[e]}))}}const Rt={base:{getThemeVariables:t=>{const e=new Bt;return e.calculate(t),e}},dark:{getThemeVariables:t=>{const e=new Ft;return e.calculate(t),e}},default:{getThemeVariables:Mt},forest:{getThemeVariables:t=>{const e=new jt;return e.calculate(t),e}},neutral:{getThemeVariables:t=>{const e=new Ot;return e.calculate(t),e}}},Dt={flowchart:{useMaxWidth:!0,titleTopMargin:25,subGraphTitleMargin:{top:0,bottom:0},diagramPadding:8,htmlLabels:!0,nodeSpacing:50,rankSpacing:50,curve:"basis",padding:15,defaultRenderer:"dagre-wrapper",wrappingWidth:200},sequence:{useMaxWidth:!0,hideUnusedParticipants:!1,activationWidth:10,diagramMarginX:50,diagramMarginY:10,actorMargin:50,width:150,height:65,boxMargin:10,boxTextMargin:5,noteMargin:10,messageMargin:35,messageAlign:"center",mirrorActors:!0,forceMenus:!1,bottomMarginAdj:1,rightAngles:!1,showSequenceNumbers:!1,actorFontSize:14,actorFontFamily:'"Open Sans", sans-serif',actorFontWeight:400,noteFontSize:14,noteFontFamily:'"trebuchet ms", verdana, arial, sans-serif',noteFontWeight:400,noteAlign:"center",messageFontSize:16,messageFontFamily:'"trebuchet ms", verdana, arial, sans-serif',messageFontWeight:400,wrap:!1,wrapPadding:10,labelBoxWidth:50,labelBoxHeight:20},gantt:{useMaxWidth:!0,titleTopMargin:25,barHeight:20,barGap:4,topPadding:50,rightPadding:75,leftPadding:75,gridLineStartPadding:35,fontSize:11,sectionFontSize:11,numberSectionStyles:4,axisFormat:"%Y-%m-%d",topAxis:!1,displayMode:"",weekday:"sunday"},journey:{useMaxWidth:!0,diagramMarginX:50,diagramMarginY:10,leftMargin:150,width:150,height:50,boxMargin:10,boxTextMargin:5,noteMargin:10,messageMargin:35,messageAlign:"center",bottomMarginAdj:1,rightAngles:!1,taskFontSize:14,taskFontFamily:'"Open Sans", sans-serif',taskMargin:50,activationWidth:10,textPlacement:"fo",actorColours:["#8FBC8F","#7CFC00","#00FFFF","#20B2AA","#B0E0E6","#FFFFE0"],sectionFills:["#191970","#8B008B","#4B0082","#2F4F4F","#800000","#8B4513","#00008B"],sectionColours:["#fff"]},class:{useMaxWidth:!0,titleTopMargin:25,arrowMarkerAbsolute:!1,dividerMargin:10,padding:5,textHeight:10,defaultRenderer:"dagre-wrapper",htmlLabels:!1},state:{useMaxWidth:!0,titleTopMargin:25,dividerMargin:10,sizeUnit:5,padding:8,textHeight:10,titleShift:-15,noteMargin:10,forkWidth:70,forkHeight:7,miniPadding:2,fontSizeFactor:5.02,fontSize:24,labelHeight:16,edgeLengthFactor:"20",compositTitleSize:35,radius:5,defaultRenderer:"dagre-wrapper"},er:{useMaxWidth:!0,titleTopMargin:25,diagramPadding:20,layoutDirection:"TB",minEntityWidth:100,minEntityHeight:75,entityPadding:15,stroke:"gray",fill:"honeydew",fontSize:12},pie:{useMaxWidth:!0,textPosition:.75},quadrantChart:{useMaxWidth:!0,chartWidth:500,chartHeight:500,titleFontSize:20,titlePadding:10,quadrantPadding:5,xAxisLabelPadding:5,yAxisLabelPadding:5,xAxisLabelFontSize:16,yAxisLabelFontSize:16,quadrantLabelFontSize:16,quadrantTextTopPadding:5,pointTextPadding:5,pointLabelFontSize:12,pointRadius:5,xAxisPosition:"top",yAxisPosition:"left",quadrantInternalBorderStrokeWidth:1,quadrantExternalBorderStrokeWidth:2},xyChart:{useMaxWidth:!0,width:700,height:500,titleFontSize:20,titlePadding:10,showTitle:!0,xAxis:{$ref:"#/$defs/XYChartAxisConfig",showLabel:!0,labelFontSize:14,labelPadding:5,showTitle:!0,titleFontSize:16,titlePadding:5,showTick:!0,tickLength:5,tickWidth:2,showAxisLine:!0,axisLineWidth:2},yAxis:{$ref:"#/$defs/XYChartAxisConfig",showLabel:!0,labelFontSize:14,labelPadding:5,showTitle:!0,titleFontSize:16,titlePadding:5,showTick:!0,tickLength:5,tickWidth:2,showAxisLine:!0,axisLineWidth:2},chartOrientation:"vertical",plotReservedSpacePercent:50},requirement:{useMaxWidth:!0,rect_fill:"#f9f9f9",text_color:"#333",rect_border_size:"0.5px",rect_border_color:"#bbb",rect_min_width:200,rect_min_height:200,fontSize:14,rect_padding:10,line_height:20},mindmap:{useMaxWidth:!0,padding:10,maxNodeWidth:200},timeline:{useMaxWidth:!0,diagramMarginX:50,diagramMarginY:10,leftMargin:150,width:150,height:50,boxMargin:10,boxTextMargin:5,noteMargin:10,messageMargin:35,messageAlign:"center",bottomMarginAdj:1,rightAngles:!1,taskFontSize:14,taskFontFamily:'"Open Sans", sans-serif',taskMargin:50,activationWidth:10,textPlacement:"fo",actorColours:["#8FBC8F","#7CFC00","#00FFFF","#20B2AA","#B0E0E6","#FFFFE0"],sectionFills:["#191970","#8B008B","#4B0082","#2F4F4F","#800000","#8B4513","#00008B"],sectionColours:["#fff"],disableMulticolor:!1},gitGraph:{useMaxWidth:!0,titleTopMargin:25,diagramPadding:8,nodeLabel:{width:75,height:100,x:-25,y:0},mainBranchName:"main",mainBranchOrder:0,showCommitLabel:!0,showBranches:!0,rotateCommitLabel:!0,parallelCommits:!1,arrowMarkerAbsolute:!1},c4:{useMaxWidth:!0,diagramMarginX:50,diagramMarginY:10,c4ShapeMargin:50,c4ShapePadding:20,width:216,height:60,boxMargin:10,c4ShapeInRow:4,nextLinePaddingX:0,c4BoundaryInRow:2,personFontSize:14,personFontFamily:'"Open Sans", sans-serif',personFontWeight:"normal",external_personFontSize:14,external_personFontFamily:'"Open Sans", sans-serif',external_personFontWeight:"normal",systemFontSize:14,systemFontFamily:'"Open Sans", sans-serif',systemFontWeight:"normal",external_systemFontSize:14,external_systemFontFamily:'"Open Sans", sans-serif',external_systemFontWeight:"normal",system_dbFontSize:14,system_dbFontFamily:'"Open Sans", sans-serif',system_dbFontWeight:"normal",external_system_dbFontSize:14,external_system_dbFontFamily:'"Open Sans", sans-serif',external_system_dbFontWeight:"normal",system_queueFontSize:14,system_queueFontFamily:'"Open Sans", sans-serif',system_queueFontWeight:"normal",external_system_queueFontSize:14,external_system_queueFontFamily:'"Open Sans", sans-serif',external_system_queueFontWeight:"normal",boundaryFontSize:14,boundaryFontFamily:'"Open Sans", sans-serif',boundaryFontWeight:"normal",messageFontSize:12,messageFontFamily:'"Open Sans", sans-serif',messageFontWeight:"normal",containerFontSize:14,containerFontFamily:'"Open Sans", sans-serif',containerFontWeight:"normal",external_containerFontSize:14,external_containerFontFamily:'"Open Sans", sans-serif',external_containerFontWeight:"normal",container_dbFontSize:14,container_dbFontFamily:'"Open Sans", sans-serif',container_dbFontWeight:"normal",external_container_dbFontSize:14,external_container_dbFontFamily:'"Open Sans", sans-serif',external_container_dbFontWeight:"normal",container_queueFontSize:14,container_queueFontFamily:'"Open Sans", sans-serif',container_queueFontWeight:"normal",external_container_queueFontSize:14,external_container_queueFontFamily:'"Open Sans", sans-serif',external_container_queueFontWeight:"normal",componentFontSize:14,componentFontFamily:'"Open Sans", sans-serif',componentFontWeight:"normal",external_componentFontSize:14,external_componentFontFamily:'"Open Sans", sans-serif',external_componentFontWeight:"normal",component_dbFontSize:14,component_dbFontFamily:'"Open Sans", sans-serif',component_dbFontWeight:"normal",external_component_dbFontSize:14,external_component_dbFontFamily:'"Open Sans", sans-serif',external_component_dbFontWeight:"normal",component_queueFontSize:14,component_queueFontFamily:'"Open Sans", sans-serif',component_queueFontWeight:"normal",external_component_queueFontSize:14,external_component_queueFontFamily:'"Open Sans", sans-serif',external_component_queueFontWeight:"normal",wrap:!0,wrapPadding:10,person_bg_color:"#08427B",person_border_color:"#073B6F",external_person_bg_color:"#686868",external_person_border_color:"#8A8A8A",system_bg_color:"#1168BD",system_border_color:"#3C7FC0",system_db_bg_color:"#1168BD",system_db_border_color:"#3C7FC0",system_queue_bg_color:"#1168BD",system_queue_border_color:"#3C7FC0",external_system_bg_color:"#999999",external_system_border_color:"#8A8A8A",external_system_db_bg_color:"#999999",external_system_db_border_color:"#8A8A8A",external_system_queue_bg_color:"#999999",external_system_queue_border_color:"#8A8A8A",container_bg_color:"#438DD5",container_border_color:"#3C7FC0",container_db_bg_color:"#438DD5",container_db_border_color:"#3C7FC0",container_queue_bg_color:"#438DD5",container_queue_border_color:"#3C7FC0",external_container_bg_color:"#B3B3B3",external_container_border_color:"#A6A6A6",external_container_db_bg_color:"#B3B3B3",external_container_db_border_color:"#A6A6A6",external_container_queue_bg_color:"#B3B3B3",external_container_queue_border_color:"#A6A6A6",component_bg_color:"#85BBF0",component_border_color:"#78A8D8",component_db_bg_color:"#85BBF0",component_db_border_color:"#78A8D8",component_queue_bg_color:"#85BBF0",component_queue_border_color:"#78A8D8",external_component_bg_color:"#CCCCCC",external_component_border_color:"#BFBFBF",external_component_db_bg_color:"#CCCCCC",external_component_db_border_color:"#BFBFBF",external_component_queue_bg_color:"#CCCCCC",external_component_queue_border_color:"#BFBFBF"},sankey:{useMaxWidth:!0,width:600,height:400,linkColor:"gradient",nodeAlignment:"justify",showValues:!0,prefix:"",suffix:""},block:{useMaxWidth:!0,padding:8},theme:"default",maxTextSize:5e4,maxEdges:500,darkMode:!1,fontFamily:'"trebuchet ms", verdana, arial, sans-serif;',logLevel:5,securityLevel:"strict",startOnLoad:!0,arrowMarkerAbsolute:!1,secure:["secure","securityLevel","startOnLoad","maxTextSize","maxEdges"],legacyMathML:!1,deterministicIds:!1,fontSize:16},qt={...Dt,deterministicIDSeed:void 0,themeCSS:void 0,themeVariables:Rt.default.getThemeVariables(),sequence:{...Dt.sequence,messageFont:function(){return{fontFamily:this.messageFontFamily,fontSize:this.messageFontSize,fontWeight:this.messageFontWeight}},noteFont:function(){return{fontFamily:this.noteFontFamily,fontSize:this.noteFontSize,fontWeight:this.noteFontWeight}},actorFont:function(){return{fontFamily:this.actorFontFamily,fontSize:this.actorFontSize,fontWeight:this.actorFontWeight}}},gantt:{...Dt.gantt,tickInterval:void 0,useWidth:void 0},c4:{...Dt.c4,useWidth:void 0,personFont:function(){return{fontFamily:this.personFontFamily,fontSize:this.personFontSize,fontWeight:this.personFontWeight}},external_personFont:function(){return{fontFamily:this.external_personFontFamily,fontSize:this.external_personFontSize,fontWeight:this.external_personFontWeight}},systemFont:function(){return{fontFamily:this.systemFontFamily,fontSize:this.systemFontSize,fontWeight:this.systemFontWeight}},external_systemFont:function(){return{fontFamily:this.external_systemFontFamily,fontSize:this.external_systemFontSize,fontWeight:this.external_systemFontWeight}},system_dbFont:function(){return{fontFamily:this.system_dbFontFamily,fontSize:this.system_dbFontSize,fontWeight:this.system_dbFontWeight}},external_system_dbFont:function(){return{fontFamily:this.external_system_dbFontFamily,fontSize:this.external_system_dbFontSize,fontWeight:this.external_system_dbFontWeight}},system_queueFont:function(){return{fontFamily:this.system_queueFontFamily,fontSize:this.system_queueFontSize,fontWeight:this.system_queueFontWeight}},external_system_queueFont:function(){return{fontFamily:this.external_system_queueFontFamily,fontSize:this.external_system_queueFontSize,fontWeight:this.external_system_queueFontWeight}},containerFont:function(){return{fontFamily:this.containerFontFamily,fontSize:this.containerFontSize,fontWeight:this.containerFontWeight}},external_containerFont:function(){return{fontFamily:this.external_containerFontFamily,fontSize:this.external_containerFontSize,fontWeight:this.external_containerFontWeight}},container_dbFont:function(){return{fontFamily:this.container_dbFontFamily,fontSize:this.container_dbFontSize,fontWeight:this.container_dbFontWeight}},external_container_dbFont:function(){return{fontFamily:this.external_container_dbFontFamily,fontSize:this.external_container_dbFontSize,fontWeight:this.external_container_dbFontWeight}},container_queueFont:function(){return{fontFamily:this.container_queueFontFamily,fontSize:this.container_queueFontSize,fontWeight:this.container_queueFontWeight}},external_container_queueFont:function(){return{fontFamily:this.external_container_queueFontFamily,fontSize:this.external_container_queueFontSize,fontWeight:this.external_container_queueFontWeight}},componentFont:function(){return{fontFamily:this.componentFontFamily,fontSize:this.componentFontSize,fontWeight:this.componentFontWeight}},external_componentFont:function(){return{fontFamily:this.external_componentFontFamily,fontSize:this.external_componentFontSize,fontWeight:this.external_componentFontWeight}},component_dbFont:function(){return{fontFamily:this.component_dbFontFamily,fontSize:this.component_dbFontSize,fontWeight:this.component_dbFontWeight}},external_component_dbFont:function(){return{fontFamily:this.external_component_dbFontFamily,fontSize:this.external_component_dbFontSize,fontWeight:this.external_component_dbFontWeight}},component_queueFont:function(){return{fontFamily:this.component_queueFontFamily,fontSize:this.component_queueFontSize,fontWeight:this.component_queueFontWeight}},external_component_queueFont:function(){return{fontFamily:this.external_component_queueFontFamily,fontSize:this.external_component_queueFontSize,fontWeight:this.external_component_queueFontWeight}},boundaryFont:function(){return{fontFamily:this.boundaryFontFamily,fontSize:this.boundaryFontSize,fontWeight:this.boundaryFontWeight}},messageFont:function(){return{fontFamily:this.messageFontFamily,fontSize:this.messageFontSize,fontWeight:this.messageFontWeight}}},pie:{...Dt.pie,useWidth:984},xyChart:{...Dt.xyChart,useWidth:void 0},requirement:{...Dt.requirement,useWidth:void 0},gitGraph:{...Dt.gitGraph,useMaxWidth:!1},sankey:{...Dt.sankey,useMaxWidth:!1}},$t=(t,e="")=>Object.keys(t).reduce(((n,r)=>Array.isArray(t[r])?n:"object"==typeof t[r]&&null!==t[r]?[...n,e+r,...$t(t[r],"")]:[...n,e+r]),[]),Pt=new Set($t(qt,"")),zt=qt,Ut=t=>{if(at.debug("sanitizeDirective called with",t),"object"==typeof t&&null!=t)if(Array.isArray(t))t.forEach((t=>Ut(t)));else{for(const e of Object.keys(t)){if(at.debug("Checking key",e),e.startsWith("__")||e.includes("proto")||e.includes("constr")||!Pt.has(e)||null==t[e]){at.debug("sanitize deleting key: ",e),delete t[e];continue}if("object"==typeof t[e]){at.debug("sanitizing object",e),Ut(t[e]);continue}const n=["themeCSS","fontFamily","altFontFamily"];for(const r of n)e.includes(r)&&(at.debug("sanitizing css option",e),t[e]=Wt(t[e]))}if(t.themeVariables)for(const e of Object.keys(t.themeVariables)){const n=t.themeVariables[e];(null==n?void 0:n.match)&&!n.match(/^[\d "#%(),.;A-Za-z]+$/)&&(t.themeVariables[e]="")}at.debug("After sanitization",t)}},Wt=t=>{let e=0,n=0;for(const r of t){if(e<n)return"{ /* ERROR: Unbalanced CSS */ }";"{"===r?e++:"}"===r&&n++}return e!==n?"{ /* ERROR: Unbalanced CSS */ }":t},Ht=/^-{3}\s*[\n\r](.*?)[\n\r]-{3}\s*[\n\r]+/s,Vt=/%{2}{\s*(?:(\w+)\s*:|(\w+))\s*(?:(\w+)|((?:(?!}%{2}).|\r?\n)*))?\s*(?:}%{2})?/gi,Yt=/\s*%%.*\n/gm;class Gt extends Error{constructor(t){super(t),this.name="UnknownDiagramError"}}const Xt={},Kt=function(t,e){t=t.replace(Ht,"").replace(Vt,"").replace(Yt,"\n");for(const[n,{detector:r}]of Object.entries(Xt)){if(r(t,e))return n}throw new Gt(`No diagram type detected matching given configuration for text: ${t}`)},Zt=(...t)=>{for(const{id:e,detector:n,loader:r}of t)Jt(e,n,r)},Jt=(t,e,n)=>{Xt[t]?at.error(`Detector with key ${t} already exists`):Xt[t]={detector:e,loader:n},at.debug(`Detector with key ${t} added${n?" with loader":""}`)},Qt=(t,e,{depth:n=2,clobber:r=!1}={})=>{const i={depth:n,clobber:r};return Array.isArray(e)&&!Array.isArray(t)?(e.forEach((e=>Qt(t,e,i))),t):Array.isArray(e)&&Array.isArray(t)?(e.forEach((e=>{t.includes(e)||t.push(e)})),t):void 0===t||n<=0?null!=t&&"object"==typeof t&&"object"==typeof e?Object.assign(t,e):e:(void 0!==e&&"object"==typeof t&&"object"==typeof e&&Object.keys(e).forEach((i=>{"object"!=typeof e[i]||void 0!==t[i]&&"object"!=typeof t[i]?(r||"object"!=typeof t[i]&&"object"!=typeof e[i])&&(t[i]=e[i]):(void 0===t[i]&&(t[i]=Array.isArray(e[i])?[]:{}),t[i]=Qt(t[i],e[i],{depth:n-1,clobber:r}))})),t)},te=Qt,ee="\u200b",ne={curveBasis:s.qrM,curveBasisClosed:s.Yu4,curveBasisOpen:s.IA3,curveBumpX:s.Wi0,curveBumpY:s.PGM,curveBundle:s.OEq,curveCardinalClosed:s.olC,curveCardinalOpen:s.IrU,curveCardinal:s.y8u,curveCatmullRomClosed:s.Q7f,curveCatmullRomOpen:s.cVp,curveCatmullRom:s.oDi,curveLinear:s.lUB,curveLinearClosed:s.Lx9,curveMonotoneX:s.nVG,curveMonotoneY:s.uxU,curveNatural:s.Xf2,curveStep:s.GZz,curveStepAfter:s.UPb,curveStepBefore:s.dyv},re=/\s*(?:(\w+)(?=:):|(\w+))\s*(?:(\w+)|((?:(?!}%{2}).|\r?\n)*))?\s*(?:}%{2})?/gi,ie=function(t,e=null){try{const n=new RegExp(`[%]{2}(?![{]${re.source})(?=[}][%]{2}).*\n`,"ig");let r;t=t.trim().replace(n,"").replace(/'/gm,'"'),at.debug(`Detecting diagram directive${null!==e?" type:"+e:""} based on the text:${t}`);const i=[];for(;null!==(r=Vt.exec(t));)if(r.index===Vt.lastIndex&&Vt.lastIndex++,r&&!e||e&&r[1]&&r[1].match(e)||e&&r[2]&&r[2].match(e)){const t=r[1]?r[1]:r[2],e=r[3]?r[3].trim():r[4]?JSON.parse(r[4].trim()):null;i.push({type:t,args:e})}return 0===i.length?{type:t,args:null}:1===i.length?i[0]:i}catch(n){return at.error(`ERROR: ${n.message} - Unable to parse directive type: '${e}' based on the text: '${t}'`),{type:void 0,args:null}}};function oe(t,e){if(!t)return e;const n=`curve${t.charAt(0).toUpperCase()+t.slice(1)}`;return ne[n]??e}function se(t,e){return t&&e?Math.sqrt(Math.pow(e.x-t.x,2)+Math.pow(e.y-t.y,2)):0}const ae=(t,e=2)=>{const n=Math.pow(10,e);return Math.round(t*n)/n},le=(t,e)=>{let n,r=e;for(const i of t){if(n){const t=se(i,n);if(t<r)r-=t;else{const e=r/t;if(e<=0)return n;if(e>=1)return{x:i.x,y:i.y};if(e>0&&e<1)return{x:ae((1-e)*n.x+e*i.x,5),y:ae((1-e)*n.y+e*i.y,5)}}}n=i}throw new Error("Could not find a suitable point for the given distance")};function ce(t){let e="",n="";for(const r of t)void 0!==r&&(r.startsWith("color:")||r.startsWith("text-align:")?n=n+r+";":e=e+r+";");return{style:e,labelStyle:n}}let he=0;const ue=()=>(he++,"id-"+Math.random().toString(36).substr(2,12)+"-"+he);const de=t=>function(t){let e="";const n="0123456789abcdef";for(let r=0;r<t;r++)e+=n.charAt(Math.floor(16*Math.random()));return e}(t.length),pe=function(t,e){const n=e.text.replace(St.lineBreakRegex," "),[,r]=be(e.fontSize),i=t.append("text");i.attr("x",e.x),i.attr("y",e.y),i.style("text-anchor",e.anchor),i.style("font-family",e.fontFamily),i.style("font-size",r),i.style("font-weight",e.fontWeight),i.attr("fill",e.fill),void 0!==e.class&&i.attr("class",e.class);const o=i.append("tspan");return o.attr("x",e.x+2*e.textMargin),o.attr("fill",e.fill),o.text(n),i},fe=(0,y.A)(((t,e,n)=>{if(!t)return t;if(n=Object.assign({fontSize:12,fontWeight:400,fontFamily:"Arial",joinWith:"<br/>"},n),St.lineBreakRegex.test(t))return t;const r=t.split(" "),i=[];let o="";return r.forEach(((t,s)=>{const a=ye(`${t} `,n),l=ye(o,n);if(a>e){const{hyphenatedStrings:r,remainingWord:s}=me(t,e,"-",n);i.push(o,...r),o=s}else l+a>=e?(i.push(o),o=t):o=[o,t].filter(Boolean).join(" ");s+1===r.length&&i.push(o)})),i.filter((t=>""!==t)).join(n.joinWith)}),((t,e,n)=>`${t}${e}${n.fontSize}${n.fontWeight}${n.fontFamily}${n.joinWith}`)),me=(0,y.A)(((t,e,n="-",r)=>{r=Object.assign({fontSize:12,fontWeight:400,fontFamily:"Arial",margin:0},r);const i=[...t],o=[];let s="";return i.forEach(((t,a)=>{const l=`${s}${t}`;if(ye(l,r)>=e){const t=a+1,e=i.length===t,r=`${l}${n}`;o.push(e?l:r),s=""}else s=l})),{hyphenatedStrings:o,remainingWord:s}}),((t,e,n="-",r)=>`${t}${e}${n}${r.fontSize}${r.fontWeight}${r.fontFamily}`));function ge(t,e){return ke(t,e).height}function ye(t,e){return ke(t,e).width}const ke=(0,y.A)(((t,e)=>{const{fontSize:n=12,fontFamily:r="Arial",fontWeight:i=400}=e;if(!t)return{width:0,height:0};const[,o]=be(n),a=["sans-serif",r],l=t.split(St.lineBreakRegex),c=[],h=(0,s.Ltv)("body");if(!h.remove)return{width:0,height:0,lineHeight:0};const u=h.append("svg");for(const s of a){let t=0;const e={width:0,height:0,lineHeight:0};for(const n of l){const r={x:0,y:0,fill:void 0,anchor:"start",style:"#666",width:100,height:100,textMargin:0,rx:0,ry:0,valign:void 0,text:""};r.text=n||ee;const a=pe(u,r).style("font-size",o).style("font-weight",i).style("font-family",s),l=(a._groups||a)[0][0].getBBox();if(0===l.width&&0===l.height)throw new Error("svg element not in render tree");e.width=Math.round(Math.max(e.width,l.width)),t=Math.round(l.height),e.height+=t,e.lineHeight=Math.round(Math.max(e.lineHeight,t))}c.push(e)}u.remove();return c[isNaN(c[1].height)||isNaN(c[1].width)||isNaN(c[1].lineHeight)||c[0].height>c[1].height&&c[0].width>c[1].width&&c[0].lineHeight>c[1].lineHeight?0:1]}),((t,e)=>`${t}${e.fontSize}${e.fontWeight}${e.fontFamily}`));let xe;function _e(t){return"str"in t}const be=t=>{if("number"==typeof t)return[t,t+"px"];const e=parseInt(t??"",10);return Number.isNaN(e)?[void 0,void 0]:t===String(e)?[e,t+"px"]:[e,t]};function Ce(t,e){return(0,k.A)({},t,e)}const ve={assignWithDepth:te,wrapLabel:fe,calculateTextHeight:ge,calculateTextWidth:ye,calculateTextDimensions:ke,cleanAndMerge:Ce,detectInit:function(t,e){const n=ie(t,/(?:init\b)|(?:initialize\b)/);let r={};if(Array.isArray(n)){const t=n.map((t=>t.args));Ut(t),r=te(r,[...t])}else r=n.args;if(!r)return;let i=Kt(t,e);const o="config";return void 0!==r[o]&&("flowchart-v2"===i&&(i="flowchart"),r[i]=r[o],delete r[o]),r},detectDirective:ie,isSubstringInArray:function(t,e){for(const[n,r]of e.entries())if(r.match(t))return n;return-1},interpolateToCurve:oe,calcLabelPosition:function(t){return 1===t.length?t[0]:function(t){let e,n=0;return t.forEach((t=>{n+=se(t,e),e=t})),le(t,n/2)}(t)},calcCardinalityPosition:(t,e,n)=>{at.info(`our points ${JSON.stringify(e)}`),e[0]!==n&&(e=e.reverse());const r=le(e,25),i=t?10:5,o=Math.atan2(e[0].y-r.y,e[0].x-r.x),s={x:0,y:0};return s.x=Math.sin(o)*i+(e[0].x+r.x)/2,s.y=-Math.cos(o)*i+(e[0].y+r.y)/2,s},calcTerminalLabelPosition:function(t,e,n){const r=structuredClone(n);at.info("our points",r),"start_left"!==e&&"start_right"!==e&&r.reverse();const i=le(r,25+t),o=10+.5*t,s=Math.atan2(r[0].y-i.y,r[0].x-i.x),a={x:0,y:0};return"start_left"===e?(a.x=Math.sin(s+Math.PI)*o+(r[0].x+i.x)/2,a.y=-Math.cos(s+Math.PI)*o+(r[0].y+i.y)/2):"end_right"===e?(a.x=Math.sin(s-Math.PI)*o+(r[0].x+i.x)/2-5,a.y=-Math.cos(s-Math.PI)*o+(r[0].y+i.y)/2-5):"end_left"===e?(a.x=Math.sin(s)*o+(r[0].x+i.x)/2-5,a.y=-Math.cos(s)*o+(r[0].y+i.y)/2-5):(a.x=Math.sin(s)*o+(r[0].x+i.x)/2,a.y=-Math.cos(s)*o+(r[0].y+i.y)/2),a},formatUrl:function(t,e){const n=t.trim();if(n)return"loose"!==e.securityLevel?(0,o.Jf)(n):n},getStylesFromArray:ce,generateId:ue,random:de,runFunc:(t,...e)=>{const n=t.split("."),r=n.length-1,i=n[r];let o=window;for(let s=0;s<r;s++)if(o=o[n[s]],!o)return void at.error(`Function name: ${t} not found in window`);o[i](...e)},entityDecode:function(t){return xe=xe||document.createElement("div"),t=escape(t).replace(/%26/g,"&").replace(/%23/g,"#").replace(/%3B/g,";"),xe.innerHTML=t,unescape(xe.textContent)},insertTitle:(t,e,n,r)=>{var i;if(!r)return;const o=null==(i=t.node())?void 0:i.getBBox();o&&t.append("text").text(r).attr("x",o.x+o.width/2).attr("y",-n).attr("class",e)},parseFontSize:be,InitIDGenerator:class{constructor(t=!1,e){this.count=0,this.count=e?e.length:0,this.next=t?()=>this.count++:()=>Date.now()}}},Te=function(t){return t.replace(/\ufb02\xb0\xb0/g,"&#").replace(/\ufb02\xb0/g,"&").replace(/\xb6\xdf/g,";")},Ae="10.9.1",we=Object.freeze(zt);let Se,Ie=te({},we),Le=[],Ee=te({},we);const Be=(t,e)=>{let n=te({},t),r={};for(const i of e)je(i),r=te(r,i);if(n=te(n,r),r.theme&&r.theme in Rt){const t=te({},Se),e=te(t.themeVariables||{},r.themeVariables);n.theme&&n.theme in Rt&&(n.themeVariables=Rt[n.theme].getThemeVariables(e))}return Ee=n,$e(Ee),Ee},Fe=()=>te({},Ie),Ne=t=>($e(t),te(Ee,t),Me()),Me=()=>te({},Ee),je=t=>{t&&(["secure",...Ie.secure??[]].forEach((e=>{Object.hasOwn(t,e)&&(at.debug(`Denied attempt to modify a secure key ${e}`,t[e]),delete t[e])})),Object.keys(t).forEach((e=>{e.startsWith("__")&&delete t[e]})),Object.keys(t).forEach((e=>{"string"==typeof t[e]&&(t[e].includes("<")||t[e].includes(">")||t[e].includes("url(data:"))&&delete t[e],"object"==typeof t[e]&&je(t[e])})))},Oe=t=>{Ut(t),!t.fontFamily||t.themeVariables&&t.themeVariables.fontFamily||(t.themeVariables={fontFamily:t.fontFamily}),Le.push(t),Be(Ie,Le)},Re=(t=Ie)=>{Le=[],Be(t,Le)},De={LAZY_LOAD_DEPRECATED:"The configuration options lazyLoadedDiagrams and loadExternalDiagramsAtStartup are deprecated. Please use registerExternalDiagrams instead."},qe={},$e=t=>{var e;t&&((t.lazyLoadedDiagrams||t.loadExternalDiagramsAtStartup)&&(qe[e="LAZY_LOAD_DEPRECATED"]||(at.warn(De[e]),qe[e]=!0)))},Pe={id:"c4",detector:t=>/^\s*C4Context|C4Container|C4Component|C4Dynamic|C4Deployment/.test(t),loader:async()=>{const{diagram:t}=await n.e(1946).then(n.bind(n,1946));return{id:"c4",diagram:t}}},ze="flowchart",Ue={id:ze,detector:(t,e)=>{var n,r;return"dagre-wrapper"!==(null==(n=null==e?void 0:e.flowchart)?void 0:n.defaultRenderer)&&"elk"!==(null==(r=null==e?void 0:e.flowchart)?void 0:r.defaultRenderer)&&/^\s*graph/.test(t)},loader:async()=>{const{diagram:t}=await Promise.all([n.e(2076),n.e(8055),n.e(2983),n.e(2548),n.e(8810)]).then(n.bind(n,8810));return{id:ze,diagram:t}}},We="flowchart-v2",He={id:We,detector:(t,e)=>{var n,r,i;return"dagre-d3"!==(null==(n=null==e?void 0:e.flowchart)?void 0:n.defaultRenderer)&&"elk"!==(null==(r=null==e?void 0:e.flowchart)?void 0:r.defaultRenderer)&&(!(!/^\s*graph/.test(t)||"dagre-wrapper"!==(null==(i=null==e?void 0:e.flowchart)?void 0:i.defaultRenderer))||/^\s*flowchart/.test(t))},loader:async()=>{const{diagram:t}=await Promise.all([n.e(2076),n.e(8055),n.e(2983),n.e(2548),n.e(2453)]).then(n.bind(n,4834));return{id:We,diagram:t}}},Ve={id:"er",detector:t=>/^\s*erDiagram/.test(t),loader:async()=>{const{diagram:t}=await Promise.all([n.e(2076),n.e(1398)]).then(n.bind(n,1398));return{id:"er",diagram:t}}},Ye="gitGraph",Ge={id:Ye,detector:t=>/^\s*gitGraph/.test(t),loader:async()=>{const{diagram:t}=await n.e(4943).then(n.bind(n,4943));return{id:Ye,diagram:t}}},Xe="gantt",Ke={id:Xe,detector:t=>/^\s*gantt/.test(t),loader:async()=>{const{diagram:t}=await n.e(8869).then(n.bind(n,8869));return{id:Xe,diagram:t}}},Ze="info",Je={id:Ze,detector:t=>/^\s*info/.test(t),loader:async()=>{const{diagram:t}=await n.e(2843).then(n.bind(n,2843));return{id:Ze,diagram:t}}},Qe={id:"pie",detector:t=>/^\s*pie/.test(t),loader:async()=>{const{diagram:t}=await n.e(6803).then(n.bind(n,6803));return{id:"pie",diagram:t}}},tn="quadrantChart",en={id:tn,detector:t=>/^\s*quadrantChart/.test(t),loader:async()=>{const{diagram:t}=await n.e(8478).then(n.bind(n,8478));return{id:tn,diagram:t}}},nn="xychart",rn={id:nn,detector:t=>/^\s*xychart-beta/.test(t),loader:async()=>{const{diagram:t}=await Promise.all([n.e(2076),n.e(2925)]).then(n.bind(n,2925));return{id:nn,diagram:t}}},on="requirement",sn={id:on,detector:t=>/^\s*requirement(Diagram)?/.test(t),loader:async()=>{const{diagram:t}=await Promise.all([n.e(2076),n.e(3706)]).then(n.bind(n,3706));return{id:on,diagram:t}}},an="sequence",ln={id:an,detector:t=>/^\s*sequenceDiagram/.test(t),loader:async()=>{const{diagram:t}=await n.e(9689).then(n.bind(n,9689));return{id:an,diagram:t}}},cn="class",hn={id:cn,detector:(t,e)=>{var n;return"dagre-wrapper"!==(null==(n=null==e?void 0:e.class)?void 0:n.defaultRenderer)&&/^\s*classDiagram/.test(t)},loader:async()=>{const{diagram:t}=await Promise.all([n.e(2076),n.e(3626),n.e(7426)]).then(n.bind(n,7426));return{id:cn,diagram:t}}},un="classDiagram",dn={id:un,detector:(t,e)=>{var n;return!(!/^\s*classDiagram/.test(t)||"dagre-wrapper"!==(null==(n=null==e?void 0:e.class)?void 0:n.defaultRenderer))||/^\s*classDiagram-v2/.test(t)},loader:async()=>{const{diagram:t}=await Promise.all([n.e(2076),n.e(8055),n.e(2983),n.e(3626),n.e(8635)]).then(n.bind(n,8635));return{id:un,diagram:t}}},pn="state",fn={id:pn,detector:(t,e)=>{var n;return"dagre-wrapper"!==(null==(n=null==e?void 0:e.state)?void 0:n.defaultRenderer)&&/^\s*stateDiagram/.test(t)},loader:async()=>{const{diagram:t}=await Promise.all([n.e(2076),n.e(1245),n.e(1331)]).then(n.bind(n,1331));return{id:pn,diagram:t}}},mn="stateDiagram",gn={id:mn,detector:(t,e)=>{var n;return!!/^\s*stateDiagram-v2/.test(t)||!(!/^\s*stateDiagram/.test(t)||"dagre-wrapper"!==(null==(n=null==e?void 0:e.state)?void 0:n.defaultRenderer))},loader:async()=>{const{diagram:t}=await Promise.all([n.e(2076),n.e(8055),n.e(2983),n.e(1245),n.e(3068)]).then(n.bind(n,687));return{id:mn,diagram:t}}},yn="journey",kn={id:yn,detector:t=>/^\s*journey/.test(t),loader:async()=>{const{diagram:t}=await n.e(6420).then(n.bind(n,6420));return{id:yn,diagram:t}}},xn=function(t,e,n,r){const i=function(t,e,n){let r=new Map;return n?(r.set("width","100%"),r.set("style",`max-width: ${e}px;`)):(r.set("height",t),r.set("width",e)),r}(e,n,r);!function(t,e){for(let n of e)t.attr(n[0],n[1])}(t,i)},_n=function(t,e,n,r){const i=e.node().getBBox(),o=i.width,s=i.height;at.info(`SVG bounds: ${o}x${s}`,i);let a=0,l=0;at.info(`Graph bounds: ${a}x${l}`,t),a=o+2*n,l=s+2*n,at.info(`Calculated bounds: ${a}x${l}`),xn(e,l,a,r);const c=`${i.x-n} ${i.y-n} ${i.width+2*n} ${i.height+2*n}`;e.attr("viewBox",c)},bn={},Cn=(t,e,n)=>{let r="";return t in bn&&bn[t]?r=bn[t](n):at.warn(`No theme found for ${t}`),` & {\n font-family: ${n.fontFamily};\n font-size: ${n.fontSize};\n fill: ${n.textColor}\n }\n\n /* Classes common for multiple diagrams */\n\n & .error-icon {\n fill: ${n.errorBkgColor};\n }\n & .error-text {\n fill: ${n.errorTextColor};\n stroke: ${n.errorTextColor};\n }\n\n & .edge-thickness-normal {\n stroke-width: 2px;\n }\n & .edge-thickness-thick {\n stroke-width: 3.5px\n }\n & .edge-pattern-solid {\n stroke-dasharray: 0;\n }\n\n & .edge-pattern-dashed{\n stroke-dasharray: 3;\n }\n .edge-pattern-dotted {\n stroke-dasharray: 2;\n }\n\n & .marker {\n fill: ${n.lineColor};\n stroke: ${n.lineColor};\n }\n & .marker.cross {\n stroke: ${n.lineColor};\n }\n\n & svg {\n font-family: ${n.fontFamily};\n font-size: ${n.fontSize};\n }\n\n ${r}\n\n ${e}\n`};let vn="",Tn="",An="";const wn=t=>ft(t,Me()),Sn=()=>{vn="",An="",Tn=""},In=t=>{vn=wn(t).replace(/^\s+/g,"")},Ln=()=>vn,En=t=>{An=wn(t).replace(/\n\s+/g,"\n")},Bn=()=>An,Fn=t=>{Tn=wn(t)},Nn=()=>Tn,Mn=Object.freeze(Object.defineProperty({__proto__:null,clear:Sn,getAccDescription:Bn,getAccTitle:Ln,getDiagramTitle:Nn,setAccDescription:En,setAccTitle:In,setDiagramTitle:Fn},Symbol.toStringTag,{value:"Module"})),jn=at,On=lt,Rn=Me,Dn=Ne,qn=we,$n=t=>ft(t,Rn()),Pn=_n,zn={},Un=(t,e,n)=>{var r,i,o;if(zn[t])throw new Error(`Diagram ${t} already registered.`);zn[t]=e,n&&Jt(t,n),i=t,void 0!==(o=e.styles)&&(bn[i]=o),null==(r=e.injectUtils)||r.call(e,jn,On,Rn,$n,Pn,Mn,(()=>{}))},Wn=t=>{if(t in zn)return zn[t];throw new Hn(t)};class Hn extends Error{constructor(t){super(`Diagram ${t} not found.`)}}const Vn=t=>{var e;const{securityLevel:n}=Rn();let r=(0,s.Ltv)("body");if("sandbox"===n){const n=(null==(e=(0,s.Ltv)(`#i${t}`).node())?void 0:e.contentDocument)??document;r=(0,s.Ltv)(n.body)}return r.select(`#${t}`)},Yn={draw:(t,e,n)=>{at.debug("rendering svg for syntax error\n");const r=Vn(e),i=r.append("g");r.attr("viewBox","0 0 2412 512"),xn(r,100,512,!0),i.append("path").attr("class","error-icon").attr("d","m411.313,123.313c6.25-6.25 6.25-16.375 0-22.625s-16.375-6.25-22.625,0l-32,32-9.375,9.375-20.688-20.688c-12.484-12.5-32.766-12.5-45.25,0l-16,16c-1.261,1.261-2.304,2.648-3.31,4.051-21.739-8.561-45.324-13.426-70.065-13.426-105.867,0-192,86.133-192,192s86.133,192 192,192 192-86.133 192-192c0-24.741-4.864-48.327-13.426-70.065 1.402-1.007 2.79-2.049 4.051-3.31l16-16c12.5-12.492 12.5-32.758 0-45.25l-20.688-20.688 9.375-9.375 32.001-31.999zm-219.313,100.687c-52.938,0-96,43.063-96,96 0,8.836-7.164,16-16,16s-16-7.164-16-16c0-70.578 57.422-128 128-128 8.836,0 16,7.164 16,16s-7.164,16-16,16z"),i.append("path").attr("class","error-icon").attr("d","m459.02,148.98c-6.25-6.25-16.375-6.25-22.625,0s-6.25,16.375 0,22.625l16,16c3.125,3.125 7.219,4.688 11.313,4.688 4.094,0 8.188-1.563 11.313-4.688 6.25-6.25 6.25-16.375 0-22.625l-16.001-16z"),i.append("path").attr("class","error-icon").attr("d","m340.395,75.605c3.125,3.125 7.219,4.688 11.313,4.688 4.094,0 8.188-1.563 11.313-4.688 6.25-6.25 6.25-16.375 0-22.625l-16-16c-6.25-6.25-16.375-6.25-22.625,0s-6.25,16.375 0,22.625l15.999,16z"),i.append("path").attr("class","error-icon").attr("d","m400,64c8.844,0 16-7.164 16-16v-32c0-8.836-7.156-16-16-16-8.844,0-16,7.164-16,16v32c0,8.836 7.156,16 16,16z"),i.append("path").attr("class","error-icon").attr("d","m496,96.586h-32c-8.844,0-16,7.164-16,16 0,8.836 7.156,16 16,16h32c8.844,0 16-7.164 16-16 0-8.836-7.156-16-16-16z"),i.append("path").attr("class","error-icon").attr("d","m436.98,75.605c3.125,3.125 7.219,4.688 11.313,4.688 4.094,0 8.188-1.563 11.313-4.688l32-32c6.25-6.25 6.25-16.375 0-22.625s-16.375-6.25-22.625,0l-32,32c-6.251,6.25-6.251,16.375-0.001,22.625z"),i.append("text").attr("class","error-text").attr("x",1440).attr("y",250).attr("font-size","150px").style("text-anchor","middle").text("Syntax error in text"),i.append("text").attr("class","error-text").attr("x",1250).attr("y",400).attr("font-size","100px").style("text-anchor","middle").text(`mermaid version ${n}`)}},Gn=Yn,Xn={db:{},renderer:Yn,parser:{parser:{yy:{}},parse:()=>{}}},Kn="flowchart-elk",Zn={id:Kn,detector:(t,e)=>{var n;return!!(/^\s*flowchart-elk/.test(t)||/^\s*flowchart|graph/.test(t)&&"elk"===(null==(n=null==e?void 0:e.flowchart)?void 0:n.defaultRenderer))},loader:async()=>{const{diagram:t}=await Promise.all([n.e(2076),n.e(8055),n.e(2548),n.e(4741)]).then(n.bind(n,4741));return{id:Kn,diagram:t}}},Jn="timeline",Qn={id:Jn,detector:t=>/^\s*timeline/.test(t),loader:async()=>{const{diagram:t}=await n.e(2376).then(n.bind(n,2376));return{id:Jn,diagram:t}}},tr="mindmap",er={id:tr,detector:t=>/^\s*mindmap/.test(t),loader:async()=>{const{diagram:t}=await Promise.all([n.e(2076),n.e(1303)]).then(n.bind(n,1303));return{id:tr,diagram:t}}},nr="sankey",rr={id:nr,detector:t=>/^\s*sankey-beta/.test(t),loader:async()=>{const{diagram:t}=await n.e(6788).then(n.bind(n,6788));return{id:nr,diagram:t}}},ir="block",or={id:ir,detector:t=>/^\s*block-beta/.test(t),loader:async()=>{const{diagram:t}=await Promise.all([n.e(2076),n.e(8055),n.e(4162)]).then(n.bind(n,4162));return{id:ir,diagram:t}}};let sr=!1;const ar=()=>{sr||(sr=!0,Un("error",Xn,(t=>"error"===t.toLowerCase().trim())),Un("---",{db:{clear:()=>{}},styles:{},renderer:{draw:()=>{}},parser:{parser:{yy:{}},parse:()=>{throw new Error("Diagrams beginning with --- are not valid. If you were trying to use a YAML front-matter, please ensure that you've correctly opened and closed the YAML front-matter with un-indented `---` blocks")}},init:()=>null},(t=>t.toLowerCase().trimStart().startsWith("---"))),Zt(Pe,dn,hn,Ve,Ke,Je,Qe,sn,ln,Zn,He,Ue,er,Qn,Ge,gn,fn,kn,en,rr,rn,or))};class lr{constructor(t,e={}){this.text=t,this.metadata=e,this.type="graph",this.text=function(t){let e=t;return e=e.replace(/style.*:\S*#.*;/g,(function(t){return t.substring(0,t.length-1)})),e=e.replace(/classDef.*:\S*#.*;/g,(function(t){return t.substring(0,t.length-1)})),e=e.replace(/#\w+;/g,(function(t){const e=t.substring(1,t.length-1);return/^\+?\d+$/.test(e)?"\ufb02\xb0\xb0"+e+"\xb6\xdf":"\ufb02\xb0"+e+"\xb6\xdf"})),e}(t),this.text+="\n";const n=Me();try{this.type=Kt(t,n)}catch(i){this.type="error",this.detectError=i}const r=Wn(this.type);at.debug("Type "+this.type),this.db=r.db,this.renderer=r.renderer,this.parser=r.parser,this.parser.parser.yy=this.db,this.init=r.init,this.parse()}parse(){var t,e,n,r,i;if(this.detectError)throw this.detectError;null==(e=(t=this.db).clear)||e.call(t);const o=Me();null==(n=this.init)||n.call(this,o),this.metadata.title&&(null==(i=(r=this.db).setDiagramTitle)||i.call(r,this.metadata.title)),this.parser.parse(this.text)}async render(t,e){await this.renderer.draw(this.text,t,e,this)}getParser(){return this.parser}getType(){return this.type}}const cr=async(t,e={})=>{const n=Kt(t,Me());try{Wn(n)}catch(r){const t=Xt[n].loader;if(!t)throw new Gt(`Diagram ${n} not found.`);const{id:e,diagram:i}=await t();Un(e,i)}return new lr(t,e)};let hr=[];const ur="graphics-document document";const dr=t=>t.replace(/^\s*%%(?!{)[^\n]+\n?/gm,"").trimStart();function pr(t){return null==t}var fr={isNothing:pr,isObject:function(t){return"object"==typeof t&&null!==t},toArray:function(t){return Array.isArray(t)?t:pr(t)?[]:[t]},repeat:function(t,e){var n,r="";for(n=0;n<e;n+=1)r+=t;return r},isNegativeZero:function(t){return 0===t&&Number.NEGATIVE_INFINITY===1/t},extend:function(t,e){var n,r,i,o;if(e)for(n=0,r=(o=Object.keys(e)).length;n<r;n+=1)t[i=o[n]]=e[i];return t}};function mr(t,e){var n="",r=t.reason||"(unknown reason)";return t.mark?(t.mark.name&&(n+='in "'+t.mark.name+'" '),n+="("+(t.mark.line+1)+":"+(t.mark.column+1)+")",!e&&t.mark.snippet&&(n+="\n\n"+t.mark.snippet),r+" "+n):r}function gr(t,e){Error.call(this),this.name="YAMLException",this.reason=t,this.mark=e,this.message=mr(this,!1),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=(new Error).stack||""}gr.prototype=Object.create(Error.prototype),gr.prototype.constructor=gr,gr.prototype.toString=function(t){return this.name+": "+mr(this,t)};var yr=gr;function kr(t,e,n,r,i){var o="",s="",a=Math.floor(i/2)-1;return r-e>a&&(e=r-a+(o=" ... ").length),n-r>a&&(n=r+a-(s=" ...").length),{str:o+t.slice(e,n).replace(/\t/g,"\u2192")+s,pos:r-e+o.length}}function xr(t,e){return fr.repeat(" ",e-t.length)+t}var _r=function(t,e){if(e=Object.create(e||null),!t.buffer)return null;e.maxLength||(e.maxLength=79),"number"!=typeof e.indent&&(e.indent=1),"number"!=typeof e.linesBefore&&(e.linesBefore=3),"number"!=typeof e.linesAfter&&(e.linesAfter=2);for(var n,r=/\r?\n|\r|\0/g,i=[0],o=[],s=-1;n=r.exec(t.buffer);)o.push(n.index),i.push(n.index+n[0].length),t.position<=n.index&&s<0&&(s=i.length-2);s<0&&(s=i.length-1);var a,l,c="",h=Math.min(t.line+e.linesAfter,o.length).toString().length,u=e.maxLength-(e.indent+h+3);for(a=1;a<=e.linesBefore&&!(s-a<0);a++)l=kr(t.buffer,i[s-a],o[s-a],t.position-(i[s]-i[s-a]),u),c=fr.repeat(" ",e.indent)+xr((t.line-a+1).toString(),h)+" | "+l.str+"\n"+c;for(l=kr(t.buffer,i[s],o[s],t.position,u),c+=fr.repeat(" ",e.indent)+xr((t.line+1).toString(),h)+" | "+l.str+"\n",c+=fr.repeat("-",e.indent+h+3+l.pos)+"^\n",a=1;a<=e.linesAfter&&!(s+a>=o.length);a++)l=kr(t.buffer,i[s+a],o[s+a],t.position-(i[s]-i[s+a]),u),c+=fr.repeat(" ",e.indent)+xr((t.line+a+1).toString(),h)+" | "+l.str+"\n";return c.replace(/\n$/,"")},br=["kind","multi","resolve","construct","instanceOf","predicate","represent","representName","defaultStyle","styleAliases"],Cr=["scalar","sequence","mapping"];var vr=function(t,e){var n,r;if(e=e||{},Object.keys(e).forEach((function(e){if(-1===br.indexOf(e))throw new yr('Unknown option "'+e+'" is met in definition of "'+t+'" YAML type.')})),this.options=e,this.tag=t,this.kind=e.kind||null,this.resolve=e.resolve||function(){return!0},this.construct=e.construct||function(t){return t},this.instanceOf=e.instanceOf||null,this.predicate=e.predicate||null,this.represent=e.represent||null,this.representName=e.representName||null,this.defaultStyle=e.defaultStyle||null,this.multi=e.multi||!1,this.styleAliases=(n=e.styleAliases||null,r={},null!==n&&Object.keys(n).forEach((function(t){n[t].forEach((function(e){r[String(e)]=t}))})),r),-1===Cr.indexOf(this.kind))throw new yr('Unknown kind "'+this.kind+'" is specified for "'+t+'" YAML type.')};function Tr(t,e){var n=[];return t[e].forEach((function(t){var e=n.length;n.forEach((function(n,r){n.tag===t.tag&&n.kind===t.kind&&n.multi===t.multi&&(e=r)})),n[e]=t})),n}function Ar(t){return this.extend(t)}Ar.prototype.extend=function(t){var e=[],n=[];if(t instanceof vr)n.push(t);else if(Array.isArray(t))n=n.concat(t);else{if(!t||!Array.isArray(t.implicit)&&!Array.isArray(t.explicit))throw new yr("Schema.extend argument should be a Type, [ Type ], or a schema definition ({ implicit: [...], explicit: [...] })");t.implicit&&(e=e.concat(t.implicit)),t.explicit&&(n=n.concat(t.explicit))}e.forEach((function(t){if(!(t instanceof vr))throw new yr("Specified list of YAML types (or a single Type object) contains a non-Type object.");if(t.loadKind&&"scalar"!==t.loadKind)throw new yr("There is a non-scalar type in the implicit list of a schema. Implicit resolving of such types is not supported.");if(t.multi)throw new yr("There is a multi type in the implicit list of a schema. Multi tags can only be listed as explicit.")})),n.forEach((function(t){if(!(t instanceof vr))throw new yr("Specified list of YAML types (or a single Type object) contains a non-Type object.")}));var r=Object.create(Ar.prototype);return r.implicit=(this.implicit||[]).concat(e),r.explicit=(this.explicit||[]).concat(n),r.compiledImplicit=Tr(r,"implicit"),r.compiledExplicit=Tr(r,"explicit"),r.compiledTypeMap=function(){var t,e,n={scalar:{},sequence:{},mapping:{},fallback:{},multi:{scalar:[],sequence:[],mapping:[],fallback:[]}};function r(t){t.multi?(n.multi[t.kind].push(t),n.multi.fallback.push(t)):n[t.kind][t.tag]=n.fallback[t.tag]=t}for(t=0,e=arguments.length;t<e;t+=1)arguments[t].forEach(r);return n}(r.compiledImplicit,r.compiledExplicit),r};var wr=new Ar({explicit:[new vr("tag:yaml.org,2002:str",{kind:"scalar",construct:function(t){return null!==t?t:""}}),new vr("tag:yaml.org,2002:seq",{kind:"sequence",construct:function(t){return null!==t?t:[]}}),new vr("tag:yaml.org,2002:map",{kind:"mapping",construct:function(t){return null!==t?t:{}}})]});var Sr=new vr("tag:yaml.org,2002:null",{kind:"scalar",resolve:function(t){if(null===t)return!0;var e=t.length;return 1===e&&"~"===t||4===e&&("null"===t||"Null"===t||"NULL"===t)},construct:function(){return null},predicate:function(t){return null===t},represent:{canonical:function(){return"~"},lowercase:function(){return"null"},uppercase:function(){return"NULL"},camelcase:function(){return"Null"},empty:function(){return""}},defaultStyle:"lowercase"});var Ir=new vr("tag:yaml.org,2002:bool",{kind:"scalar",resolve:function(t){if(null===t)return!1;var e=t.length;return 4===e&&("true"===t||"True"===t||"TRUE"===t)||5===e&&("false"===t||"False"===t||"FALSE"===t)},construct:function(t){return"true"===t||"True"===t||"TRUE"===t},predicate:function(t){return"[object Boolean]"===Object.prototype.toString.call(t)},represent:{lowercase:function(t){return t?"true":"false"},uppercase:function(t){return t?"TRUE":"FALSE"},camelcase:function(t){return t?"True":"False"}},defaultStyle:"lowercase"});function Lr(t){return 48<=t&&t<=55}function Er(t){return 48<=t&&t<=57}var Br=new vr("tag:yaml.org,2002:int",{kind:"scalar",resolve:function(t){if(null===t)return!1;var e,n,r=t.length,i=0,o=!1;if(!r)return!1;if("-"!==(e=t[i])&&"+"!==e||(e=t[++i]),"0"===e){if(i+1===r)return!0;if("b"===(e=t[++i])){for(i++;i<r;i++)if("_"!==(e=t[i])){if("0"!==e&&"1"!==e)return!1;o=!0}return o&&"_"!==e}if("x"===e){for(i++;i<r;i++)if("_"!==(e=t[i])){if(!(48<=(n=t.charCodeAt(i))&&n<=57||65<=n&&n<=70||97<=n&&n<=102))return!1;o=!0}return o&&"_"!==e}if("o"===e){for(i++;i<r;i++)if("_"!==(e=t[i])){if(!Lr(t.charCodeAt(i)))return!1;o=!0}return o&&"_"!==e}}if("_"===e)return!1;for(;i<r;i++)if("_"!==(e=t[i])){if(!Er(t.charCodeAt(i)))return!1;o=!0}return!(!o||"_"===e)},construct:function(t){var e,n=t,r=1;if(-1!==n.indexOf("_")&&(n=n.replace(/_/g,"")),"-"!==(e=n[0])&&"+"!==e||("-"===e&&(r=-1),e=(n=n.slice(1))[0]),"0"===n)return 0;if("0"===e){if("b"===n[1])return r*parseInt(n.slice(2),2);if("x"===n[1])return r*parseInt(n.slice(2),16);if("o"===n[1])return r*parseInt(n.slice(2),8)}return r*parseInt(n,10)},predicate:function(t){return"[object Number]"===Object.prototype.toString.call(t)&&t%1==0&&!fr.isNegativeZero(t)},represent:{binary:function(t){return t>=0?"0b"+t.toString(2):"-0b"+t.toString(2).slice(1)},octal:function(t){return t>=0?"0o"+t.toString(8):"-0o"+t.toString(8).slice(1)},decimal:function(t){return t.toString(10)},hexadecimal:function(t){return t>=0?"0x"+t.toString(16).toUpperCase():"-0x"+t.toString(16).toUpperCase().slice(1)}},defaultStyle:"decimal",styleAliases:{binary:[2,"bin"],octal:[8,"oct"],decimal:[10,"dec"],hexadecimal:[16,"hex"]}}),Fr=new RegExp("^(?:[-+]?(?:[0-9][0-9_]*)(?:\\.[0-9_]*)?(?:[eE][-+]?[0-9]+)?|\\.[0-9_]+(?:[eE][-+]?[0-9]+)?|[-+]?\\.(?:inf|Inf|INF)|\\.(?:nan|NaN|NAN))$");var Nr=/^[-+]?[0-9]+e/;var Mr=new vr("tag:yaml.org,2002:float",{kind:"scalar",resolve:function(t){return null!==t&&!(!Fr.test(t)||"_"===t[t.length-1])},construct:function(t){var e,n;return n="-"===(e=t.replace(/_/g,"").toLowerCase())[0]?-1:1,"+-".indexOf(e[0])>=0&&(e=e.slice(1)),".inf"===e?1===n?Number.POSITIVE_INFINITY:Number.NEGATIVE_INFINITY:".nan"===e?NaN:n*parseFloat(e,10)},predicate:function(t){return"[object Number]"===Object.prototype.toString.call(t)&&(t%1!=0||fr.isNegativeZero(t))},represent:function(t,e){var n;if(isNaN(t))switch(e){case"lowercase":return".nan";case"uppercase":return".NAN";case"camelcase":return".NaN"}else if(Number.POSITIVE_INFINITY===t)switch(e){case"lowercase":return".inf";case"uppercase":return".INF";case"camelcase":return".Inf"}else if(Number.NEGATIVE_INFINITY===t)switch(e){case"lowercase":return"-.inf";case"uppercase":return"-.INF";case"camelcase":return"-.Inf"}else if(fr.isNegativeZero(t))return"-0.0";return n=t.toString(10),Nr.test(n)?n.replace("e",".e"):n},defaultStyle:"lowercase"}),jr=wr.extend({implicit:[Sr,Ir,Br,Mr]}),Or=jr,Rr=new RegExp("^([0-9][0-9][0-9][0-9])-([0-9][0-9])-([0-9][0-9])$"),Dr=new RegExp("^([0-9][0-9][0-9][0-9])-([0-9][0-9]?)-([0-9][0-9]?)(?:[Tt]|[ \\t]+)([0-9][0-9]?):([0-9][0-9]):([0-9][0-9])(?:\\.([0-9]*))?(?:[ \\t]*(Z|([-+])([0-9][0-9]?)(?::([0-9][0-9]))?))?$");var qr=new vr("tag:yaml.org,2002:timestamp",{kind:"scalar",resolve:function(t){return null!==t&&(null!==Rr.exec(t)||null!==Dr.exec(t))},construct:function(t){var e,n,r,i,o,s,a,l,c=0,h=null;if(null===(e=Rr.exec(t))&&(e=Dr.exec(t)),null===e)throw new Error("Date resolve error");if(n=+e[1],r=+e[2]-1,i=+e[3],!e[4])return new Date(Date.UTC(n,r,i));if(o=+e[4],s=+e[5],a=+e[6],e[7]){for(c=e[7].slice(0,3);c.length<3;)c+="0";c=+c}return e[9]&&(h=6e4*(60*+e[10]+ +(e[11]||0)),"-"===e[9]&&(h=-h)),l=new Date(Date.UTC(n,r,i,o,s,a,c)),h&&l.setTime(l.getTime()-h),l},instanceOf:Date,represent:function(t){return t.toISOString()}});var $r=new vr("tag:yaml.org,2002:merge",{kind:"scalar",resolve:function(t){return"<<"===t||null===t}}),Pr="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=\n\r";var zr=new vr("tag:yaml.org,2002:binary",{kind:"scalar",resolve:function(t){if(null===t)return!1;var e,n,r=0,i=t.length,o=Pr;for(n=0;n<i;n++)if(!((e=o.indexOf(t.charAt(n)))>64)){if(e<0)return!1;r+=6}return r%8==0},construct:function(t){var e,n,r=t.replace(/[\r\n=]/g,""),i=r.length,o=Pr,s=0,a=[];for(e=0;e<i;e++)e%4==0&&e&&(a.push(s>>16&255),a.push(s>>8&255),a.push(255&s)),s=s<<6|o.indexOf(r.charAt(e));return 0===(n=i%4*6)?(a.push(s>>16&255),a.push(s>>8&255),a.push(255&s)):18===n?(a.push(s>>10&255),a.push(s>>2&255)):12===n&&a.push(s>>4&255),new Uint8Array(a)},predicate:function(t){return"[object Uint8Array]"===Object.prototype.toString.call(t)},represent:function(t){var e,n,r="",i=0,o=t.length,s=Pr;for(e=0;e<o;e++)e%3==0&&e&&(r+=s[i>>18&63],r+=s[i>>12&63],r+=s[i>>6&63],r+=s[63&i]),i=(i<<8)+t[e];return 0===(n=o%3)?(r+=s[i>>18&63],r+=s[i>>12&63],r+=s[i>>6&63],r+=s[63&i]):2===n?(r+=s[i>>10&63],r+=s[i>>4&63],r+=s[i<<2&63],r+=s[64]):1===n&&(r+=s[i>>2&63],r+=s[i<<4&63],r+=s[64],r+=s[64]),r}}),Ur=Object.prototype.hasOwnProperty,Wr=Object.prototype.toString;var Hr=new vr("tag:yaml.org,2002:omap",{kind:"sequence",resolve:function(t){if(null===t)return!0;var e,n,r,i,o,s=[],a=t;for(e=0,n=a.length;e<n;e+=1){if(r=a[e],o=!1,"[object Object]"!==Wr.call(r))return!1;for(i in r)if(Ur.call(r,i)){if(o)return!1;o=!0}if(!o)return!1;if(-1!==s.indexOf(i))return!1;s.push(i)}return!0},construct:function(t){return null!==t?t:[]}}),Vr=Object.prototype.toString;var Yr=new vr("tag:yaml.org,2002:pairs",{kind:"sequence",resolve:function(t){if(null===t)return!0;var e,n,r,i,o,s=t;for(o=new Array(s.length),e=0,n=s.length;e<n;e+=1){if(r=s[e],"[object Object]"!==Vr.call(r))return!1;if(1!==(i=Object.keys(r)).length)return!1;o[e]=[i[0],r[i[0]]]}return!0},construct:function(t){if(null===t)return[];var e,n,r,i,o,s=t;for(o=new Array(s.length),e=0,n=s.length;e<n;e+=1)r=s[e],i=Object.keys(r),o[e]=[i[0],r[i[0]]];return o}}),Gr=Object.prototype.hasOwnProperty;var Xr=new vr("tag:yaml.org,2002:set",{kind:"mapping",resolve:function(t){if(null===t)return!0;var e,n=t;for(e in n)if(Gr.call(n,e)&&null!==n[e])return!1;return!0},construct:function(t){return null!==t?t:{}}}),Kr=Or.extend({implicit:[qr,$r],explicit:[zr,Hr,Yr,Xr]}),Zr=Object.prototype.hasOwnProperty,Jr=1,Qr=2,ti=3,ei=4,ni=1,ri=2,ii=3,oi=/[\x00-\x08\x0B\x0C\x0E-\x1F\x7F-\x84\x86-\x9F\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,si=/[\x85\u2028\u2029]/,ai=/[,\[\]\{\}]/,li=/^(?:!|!!|![a-z\-]+!)$/i,ci=/^(?:!|[^,\[\]\{\}])(?:%[0-9a-f]{2}|[0-9a-z\-#;\/\?:@&=\+\$,_\.!~\*'\(\)\[\]])*$/i;function hi(t){return Object.prototype.toString.call(t)}function ui(t){return 10===t||13===t}function di(t){return 9===t||32===t}function pi(t){return 9===t||32===t||10===t||13===t}function fi(t){return 44===t||91===t||93===t||123===t||125===t}function mi(t){var e;return 48<=t&&t<=57?t-48:97<=(e=32|t)&&e<=102?e-97+10:-1}function gi(t){return 48===t?"\0":97===t?"\x07":98===t?"\b":116===t||9===t?"\t":110===t?"\n":118===t?"\v":102===t?"\f":114===t?"\r":101===t?"\x1b":32===t?" ":34===t?'"':47===t?"/":92===t?"\\":78===t?"\x85":95===t?"\xa0":76===t?"\u2028":80===t?"\u2029":""}function yi(t){return t<=65535?String.fromCharCode(t):String.fromCharCode(55296+(t-65536>>10),56320+(t-65536&1023))}for(var ki=new Array(256),xi=new Array(256),_i=0;_i<256;_i++)ki[_i]=gi(_i)?1:0,xi[_i]=gi(_i);function bi(t,e){this.input=t,this.filename=e.filename||null,this.schema=e.schema||Kr,this.onWarning=e.onWarning||null,this.legacy=e.legacy||!1,this.json=e.json||!1,this.listener=e.listener||null,this.implicitTypes=this.schema.compiledImplicit,this.typeMap=this.schema.compiledTypeMap,this.length=t.length,this.position=0,this.line=0,this.lineStart=0,this.lineIndent=0,this.firstTabInLine=-1,this.documents=[]}function Ci(t,e){var n={name:t.filename,buffer:t.input.slice(0,-1),position:t.position,line:t.line,column:t.position-t.lineStart};return n.snippet=_r(n),new yr(e,n)}function vi(t,e){throw Ci(t,e)}function Ti(t,e){t.onWarning&&t.onWarning.call(null,Ci(t,e))}var Ai={YAML:function(t,e,n){var r,i,o;null!==t.version&&vi(t,"duplication of %YAML directive"),1!==n.length&&vi(t,"YAML directive accepts exactly one argument"),null===(r=/^([0-9]+)\.([0-9]+)$/.exec(n[0]))&&vi(t,"ill-formed argument of the YAML directive"),i=parseInt(r[1],10),o=parseInt(r[2],10),1!==i&&vi(t,"unacceptable YAML version of the document"),t.version=n[0],t.checkLineBreaks=o<2,1!==o&&2!==o&&Ti(t,"unsupported YAML version of the document")},TAG:function(t,e,n){var r,i;2!==n.length&&vi(t,"TAG directive accepts exactly two arguments"),r=n[0],i=n[1],li.test(r)||vi(t,"ill-formed tag handle (first argument) of the TAG directive"),Zr.call(t.tagMap,r)&&vi(t,'there is a previously declared suffix for "'+r+'" tag handle'),ci.test(i)||vi(t,"ill-formed tag prefix (second argument) of the TAG directive");try{i=decodeURIComponent(i)}catch(o){vi(t,"tag prefix is malformed: "+i)}t.tagMap[r]=i}};function wi(t,e,n,r){var i,o,s,a;if(e<n){if(a=t.input.slice(e,n),r)for(i=0,o=a.length;i<o;i+=1)9===(s=a.charCodeAt(i))||32<=s&&s<=1114111||vi(t,"expected valid JSON character");else oi.test(a)&&vi(t,"the stream contains non-printable characters");t.result+=a}}function Si(t,e,n,r){var i,o,s,a;for(fr.isObject(n)||vi(t,"cannot merge mappings; the provided source object is unacceptable"),s=0,a=(i=Object.keys(n)).length;s<a;s+=1)o=i[s],Zr.call(e,o)||(e[o]=n[o],r[o]=!0)}function Ii(t,e,n,r,i,o,s,a,l){var c,h;if(Array.isArray(i))for(c=0,h=(i=Array.prototype.slice.call(i)).length;c<h;c+=1)Array.isArray(i[c])&&vi(t,"nested arrays are not supported inside keys"),"object"==typeof i&&"[object Object]"===hi(i[c])&&(i[c]="[object Object]");if("object"==typeof i&&"[object Object]"===hi(i)&&(i="[object Object]"),i=String(i),null===e&&(e={}),"tag:yaml.org,2002:merge"===r)if(Array.isArray(o))for(c=0,h=o.length;c<h;c+=1)Si(t,e,o[c],n);else Si(t,e,o,n);else t.json||Zr.call(n,i)||!Zr.call(e,i)||(t.line=s||t.line,t.lineStart=a||t.lineStart,t.position=l||t.position,vi(t,"duplicated mapping key")),"__proto__"===i?Object.defineProperty(e,i,{configurable:!0,enumerable:!0,writable:!0,value:o}):e[i]=o,delete n[i];return e}function Li(t){var e;10===(e=t.input.charCodeAt(t.position))?t.position++:13===e?(t.position++,10===t.input.charCodeAt(t.position)&&t.position++):vi(t,"a line break is expected"),t.line+=1,t.lineStart=t.position,t.firstTabInLine=-1}function Ei(t,e,n){for(var r=0,i=t.input.charCodeAt(t.position);0!==i;){for(;di(i);)9===i&&-1===t.firstTabInLine&&(t.firstTabInLine=t.position),i=t.input.charCodeAt(++t.position);if(e&&35===i)do{i=t.input.charCodeAt(++t.position)}while(10!==i&&13!==i&&0!==i);if(!ui(i))break;for(Li(t),i=t.input.charCodeAt(t.position),r++,t.lineIndent=0;32===i;)t.lineIndent++,i=t.input.charCodeAt(++t.position)}return-1!==n&&0!==r&&t.lineIndent<n&&Ti(t,"deficient indentation"),r}function Bi(t){var e,n=t.position;return!(45!==(e=t.input.charCodeAt(n))&&46!==e||e!==t.input.charCodeAt(n+1)||e!==t.input.charCodeAt(n+2)||(n+=3,0!==(e=t.input.charCodeAt(n))&&!pi(e)))}function Fi(t,e){1===e?t.result+=" ":e>1&&(t.result+=fr.repeat("\n",e-1))}function Ni(t,e){var n,r,i=t.tag,o=t.anchor,s=[],a=!1;if(-1!==t.firstTabInLine)return!1;for(null!==t.anchor&&(t.anchorMap[t.anchor]=s),r=t.input.charCodeAt(t.position);0!==r&&(-1!==t.firstTabInLine&&(t.position=t.firstTabInLine,vi(t,"tab characters must not be used in indentation")),45===r)&&pi(t.input.charCodeAt(t.position+1));)if(a=!0,t.position++,Ei(t,!0,-1)&&t.lineIndent<=e)s.push(null),r=t.input.charCodeAt(t.position);else if(n=t.line,Oi(t,e,ti,!1,!0),s.push(t.result),Ei(t,!0,-1),r=t.input.charCodeAt(t.position),(t.line===n||t.lineIndent>e)&&0!==r)vi(t,"bad indentation of a sequence entry");else if(t.lineIndent<e)break;return!!a&&(t.tag=i,t.anchor=o,t.kind="sequence",t.result=s,!0)}function Mi(t){var e,n,r,i,o=!1,s=!1;if(33!==(i=t.input.charCodeAt(t.position)))return!1;if(null!==t.tag&&vi(t,"duplication of a tag property"),60===(i=t.input.charCodeAt(++t.position))?(o=!0,i=t.input.charCodeAt(++t.position)):33===i?(s=!0,n="!!",i=t.input.charCodeAt(++t.position)):n="!",e=t.position,o){do{i=t.input.charCodeAt(++t.position)}while(0!==i&&62!==i);t.position<t.length?(r=t.input.slice(e,t.position),i=t.input.charCodeAt(++t.position)):vi(t,"unexpected end of the stream within a verbatim tag")}else{for(;0!==i&&!pi(i);)33===i&&(s?vi(t,"tag suffix cannot contain exclamation marks"):(n=t.input.slice(e-1,t.position+1),li.test(n)||vi(t,"named tag handle cannot contain such characters"),s=!0,e=t.position+1)),i=t.input.charCodeAt(++t.position);r=t.input.slice(e,t.position),ai.test(r)&&vi(t,"tag suffix cannot contain flow indicator characters")}r&&!ci.test(r)&&vi(t,"tag name cannot contain such characters: "+r);try{r=decodeURIComponent(r)}catch(a){vi(t,"tag name is malformed: "+r)}return o?t.tag=r:Zr.call(t.tagMap,n)?t.tag=t.tagMap[n]+r:"!"===n?t.tag="!"+r:"!!"===n?t.tag="tag:yaml.org,2002:"+r:vi(t,'undeclared tag handle "'+n+'"'),!0}function ji(t){var e,n;if(38!==(n=t.input.charCodeAt(t.position)))return!1;for(null!==t.anchor&&vi(t,"duplication of an anchor property"),n=t.input.charCodeAt(++t.position),e=t.position;0!==n&&!pi(n)&&!fi(n);)n=t.input.charCodeAt(++t.position);return t.position===e&&vi(t,"name of an anchor node must contain at least one character"),t.anchor=t.input.slice(e,t.position),!0}function Oi(t,e,n,r,i){var o,s,a,l,c,h,u,d,p,f=1,m=!1,g=!1;if(null!==t.listener&&t.listener("open",t),t.tag=null,t.anchor=null,t.kind=null,t.result=null,o=s=a=ei===n||ti===n,r&&Ei(t,!0,-1)&&(m=!0,t.lineIndent>e?f=1:t.lineIndent===e?f=0:t.lineIndent<e&&(f=-1)),1===f)for(;Mi(t)||ji(t);)Ei(t,!0,-1)?(m=!0,a=o,t.lineIndent>e?f=1:t.lineIndent===e?f=0:t.lineIndent<e&&(f=-1)):a=!1;if(a&&(a=m||i),1!==f&&ei!==n||(d=Jr===n||Qr===n?e:e+1,p=t.position-t.lineStart,1===f?a&&(Ni(t,p)||function(t,e,n){var r,i,o,s,a,l,c,h=t.tag,u=t.anchor,d={},p=Object.create(null),f=null,m=null,g=null,y=!1,k=!1;if(-1!==t.firstTabInLine)return!1;for(null!==t.anchor&&(t.anchorMap[t.anchor]=d),c=t.input.charCodeAt(t.position);0!==c;){if(y||-1===t.firstTabInLine||(t.position=t.firstTabInLine,vi(t,"tab characters must not be used in indentation")),r=t.input.charCodeAt(t.position+1),o=t.line,63!==c&&58!==c||!pi(r)){if(s=t.line,a=t.lineStart,l=t.position,!Oi(t,n,Qr,!1,!0))break;if(t.line===o){for(c=t.input.charCodeAt(t.position);di(c);)c=t.input.charCodeAt(++t.position);if(58===c)pi(c=t.input.charCodeAt(++t.position))||vi(t,"a whitespace character is expected after the key-value separator within a block mapping"),y&&(Ii(t,d,p,f,m,null,s,a,l),f=m=g=null),k=!0,y=!1,i=!1,f=t.tag,m=t.result;else{if(!k)return t.tag=h,t.anchor=u,!0;vi(t,"can not read an implicit mapping pair; a colon is missed")}}else{if(!k)return t.tag=h,t.anchor=u,!0;vi(t,"can not read a block mapping entry; a multiline key may not be an implicit key")}}else 63===c?(y&&(Ii(t,d,p,f,m,null,s,a,l),f=m=g=null),k=!0,y=!0,i=!0):y?(y=!1,i=!0):vi(t,"incomplete explicit mapping pair; a key node is missed; or followed by a non-tabulated empty line"),t.position+=1,c=r;if((t.line===o||t.lineIndent>e)&&(y&&(s=t.line,a=t.lineStart,l=t.position),Oi(t,e,ei,!0,i)&&(y?m=t.result:g=t.result),y||(Ii(t,d,p,f,m,g,s,a,l),f=m=g=null),Ei(t,!0,-1),c=t.input.charCodeAt(t.position)),(t.line===o||t.lineIndent>e)&&0!==c)vi(t,"bad indentation of a mapping entry");else if(t.lineIndent<e)break}return y&&Ii(t,d,p,f,m,null,s,a,l),k&&(t.tag=h,t.anchor=u,t.kind="mapping",t.result=d),k}(t,p,d))||function(t,e){var n,r,i,o,s,a,l,c,h,u,d,p,f=!0,m=t.tag,g=t.anchor,y=Object.create(null);if(91===(p=t.input.charCodeAt(t.position)))s=93,c=!1,o=[];else{if(123!==p)return!1;s=125,c=!0,o={}}for(null!==t.anchor&&(t.anchorMap[t.anchor]=o),p=t.input.charCodeAt(++t.position);0!==p;){if(Ei(t,!0,e),(p=t.input.charCodeAt(t.position))===s)return t.position++,t.tag=m,t.anchor=g,t.kind=c?"mapping":"sequence",t.result=o,!0;f?44===p&&vi(t,"expected the node content, but found ','"):vi(t,"missed comma between flow collection entries"),d=null,a=l=!1,63===p&&pi(t.input.charCodeAt(t.position+1))&&(a=l=!0,t.position++,Ei(t,!0,e)),n=t.line,r=t.lineStart,i=t.position,Oi(t,e,Jr,!1,!0),u=t.tag,h=t.result,Ei(t,!0,e),p=t.input.charCodeAt(t.position),!l&&t.line!==n||58!==p||(a=!0,p=t.input.charCodeAt(++t.position),Ei(t,!0,e),Oi(t,e,Jr,!1,!0),d=t.result),c?Ii(t,o,y,u,h,d,n,r,i):a?o.push(Ii(t,null,y,u,h,d,n,r,i)):o.push(h),Ei(t,!0,e),44===(p=t.input.charCodeAt(t.position))?(f=!0,p=t.input.charCodeAt(++t.position)):f=!1}vi(t,"unexpected end of the stream within a flow collection")}(t,d)?g=!0:(s&&function(t,e){var n,r,i,o,s,a=ni,l=!1,c=!1,h=e,u=0,d=!1;if(124===(o=t.input.charCodeAt(t.position)))r=!1;else{if(62!==o)return!1;r=!0}for(t.kind="scalar",t.result="";0!==o;)if(43===(o=t.input.charCodeAt(++t.position))||45===o)ni===a?a=43===o?ii:ri:vi(t,"repeat of a chomping mode identifier");else{if(!((i=48<=(s=o)&&s<=57?s-48:-1)>=0))break;0===i?vi(t,"bad explicit indentation width of a block scalar; it cannot be less than one"):c?vi(t,"repeat of an indentation width identifier"):(h=e+i-1,c=!0)}if(di(o)){do{o=t.input.charCodeAt(++t.position)}while(di(o));if(35===o)do{o=t.input.charCodeAt(++t.position)}while(!ui(o)&&0!==o)}for(;0!==o;){for(Li(t),t.lineIndent=0,o=t.input.charCodeAt(t.position);(!c||t.lineIndent<h)&&32===o;)t.lineIndent++,o=t.input.charCodeAt(++t.position);if(!c&&t.lineIndent>h&&(h=t.lineIndent),ui(o))u++;else{if(t.lineIndent<h){a===ii?t.result+=fr.repeat("\n",l?1+u:u):a===ni&&l&&(t.result+="\n");break}for(r?di(o)?(d=!0,t.result+=fr.repeat("\n",l?1+u:u)):d?(d=!1,t.result+=fr.repeat("\n",u+1)):0===u?l&&(t.result+=" "):t.result+=fr.repeat("\n",u):t.result+=fr.repeat("\n",l?1+u:u),l=!0,c=!0,u=0,n=t.position;!ui(o)&&0!==o;)o=t.input.charCodeAt(++t.position);wi(t,n,t.position,!1)}}return!0}(t,d)||function(t,e){var n,r,i;if(39!==(n=t.input.charCodeAt(t.position)))return!1;for(t.kind="scalar",t.result="",t.position++,r=i=t.position;0!==(n=t.input.charCodeAt(t.position));)if(39===n){if(wi(t,r,t.position,!0),39!==(n=t.input.charCodeAt(++t.position)))return!0;r=t.position,t.position++,i=t.position}else ui(n)?(wi(t,r,i,!0),Fi(t,Ei(t,!1,e)),r=i=t.position):t.position===t.lineStart&&Bi(t)?vi(t,"unexpected end of the document within a single quoted scalar"):(t.position++,i=t.position);vi(t,"unexpected end of the stream within a single quoted scalar")}(t,d)||function(t,e){var n,r,i,o,s,a,l;if(34!==(a=t.input.charCodeAt(t.position)))return!1;for(t.kind="scalar",t.result="",t.position++,n=r=t.position;0!==(a=t.input.charCodeAt(t.position));){if(34===a)return wi(t,n,t.position,!0),t.position++,!0;if(92===a){if(wi(t,n,t.position,!0),ui(a=t.input.charCodeAt(++t.position)))Ei(t,!1,e);else if(a<256&&ki[a])t.result+=xi[a],t.position++;else if((s=120===(l=a)?2:117===l?4:85===l?8:0)>0){for(i=s,o=0;i>0;i--)(s=mi(a=t.input.charCodeAt(++t.position)))>=0?o=(o<<4)+s:vi(t,"expected hexadecimal character");t.result+=yi(o),t.position++}else vi(t,"unknown escape sequence");n=r=t.position}else ui(a)?(wi(t,n,r,!0),Fi(t,Ei(t,!1,e)),n=r=t.position):t.position===t.lineStart&&Bi(t)?vi(t,"unexpected end of the document within a double quoted scalar"):(t.position++,r=t.position)}vi(t,"unexpected end of the stream within a double quoted scalar")}(t,d)?g=!0:!function(t){var e,n,r;if(42!==(r=t.input.charCodeAt(t.position)))return!1;for(r=t.input.charCodeAt(++t.position),e=t.position;0!==r&&!pi(r)&&!fi(r);)r=t.input.charCodeAt(++t.position);return t.position===e&&vi(t,"name of an alias node must contain at least one character"),n=t.input.slice(e,t.position),Zr.call(t.anchorMap,n)||vi(t,'unidentified alias "'+n+'"'),t.result=t.anchorMap[n],Ei(t,!0,-1),!0}(t)?function(t,e,n){var r,i,o,s,a,l,c,h,u=t.kind,d=t.result;if(pi(h=t.input.charCodeAt(t.position))||fi(h)||35===h||38===h||42===h||33===h||124===h||62===h||39===h||34===h||37===h||64===h||96===h)return!1;if((63===h||45===h)&&(pi(r=t.input.charCodeAt(t.position+1))||n&&fi(r)))return!1;for(t.kind="scalar",t.result="",i=o=t.position,s=!1;0!==h;){if(58===h){if(pi(r=t.input.charCodeAt(t.position+1))||n&&fi(r))break}else if(35===h){if(pi(t.input.charCodeAt(t.position-1)))break}else{if(t.position===t.lineStart&&Bi(t)||n&&fi(h))break;if(ui(h)){if(a=t.line,l=t.lineStart,c=t.lineIndent,Ei(t,!1,-1),t.lineIndent>=e){s=!0,h=t.input.charCodeAt(t.position);continue}t.position=o,t.line=a,t.lineStart=l,t.lineIndent=c;break}}s&&(wi(t,i,o,!1),Fi(t,t.line-a),i=o=t.position,s=!1),di(h)||(o=t.position+1),h=t.input.charCodeAt(++t.position)}return wi(t,i,o,!1),!!t.result||(t.kind=u,t.result=d,!1)}(t,d,Jr===n)&&(g=!0,null===t.tag&&(t.tag="?")):(g=!0,null===t.tag&&null===t.anchor||vi(t,"alias node should not have any properties")),null!==t.anchor&&(t.anchorMap[t.anchor]=t.result)):0===f&&(g=a&&Ni(t,p))),null===t.tag)null!==t.anchor&&(t.anchorMap[t.anchor]=t.result);else if("?"===t.tag){for(null!==t.result&&"scalar"!==t.kind&&vi(t,'unacceptable node kind for !<?> tag; it should be "scalar", not "'+t.kind+'"'),l=0,c=t.implicitTypes.length;l<c;l+=1)if((u=t.implicitTypes[l]).resolve(t.result)){t.result=u.construct(t.result),t.tag=u.tag,null!==t.anchor&&(t.anchorMap[t.anchor]=t.result);break}}else if("!"!==t.tag){if(Zr.call(t.typeMap[t.kind||"fallback"],t.tag))u=t.typeMap[t.kind||"fallback"][t.tag];else for(u=null,l=0,c=(h=t.typeMap.multi[t.kind||"fallback"]).length;l<c;l+=1)if(t.tag.slice(0,h[l].tag.length)===h[l].tag){u=h[l];break}u||vi(t,"unknown tag !<"+t.tag+">"),null!==t.result&&u.kind!==t.kind&&vi(t,"unacceptable node kind for !<"+t.tag+'> tag; it should be "'+u.kind+'", not "'+t.kind+'"'),u.resolve(t.result,t.tag)?(t.result=u.construct(t.result,t.tag),null!==t.anchor&&(t.anchorMap[t.anchor]=t.result)):vi(t,"cannot resolve a node with !<"+t.tag+"> explicit tag")}return null!==t.listener&&t.listener("close",t),null!==t.tag||null!==t.anchor||g}function Ri(t){var e,n,r,i,o=t.position,s=!1;for(t.version=null,t.checkLineBreaks=t.legacy,t.tagMap=Object.create(null),t.anchorMap=Object.create(null);0!==(i=t.input.charCodeAt(t.position))&&(Ei(t,!0,-1),i=t.input.charCodeAt(t.position),!(t.lineIndent>0||37!==i));){for(s=!0,i=t.input.charCodeAt(++t.position),e=t.position;0!==i&&!pi(i);)i=t.input.charCodeAt(++t.position);for(r=[],(n=t.input.slice(e,t.position)).length<1&&vi(t,"directive name must not be less than one character in length");0!==i;){for(;di(i);)i=t.input.charCodeAt(++t.position);if(35===i){do{i=t.input.charCodeAt(++t.position)}while(0!==i&&!ui(i));break}if(ui(i))break;for(e=t.position;0!==i&&!pi(i);)i=t.input.charCodeAt(++t.position);r.push(t.input.slice(e,t.position))}0!==i&&Li(t),Zr.call(Ai,n)?Ai[n](t,n,r):Ti(t,'unknown document directive "'+n+'"')}Ei(t,!0,-1),0===t.lineIndent&&45===t.input.charCodeAt(t.position)&&45===t.input.charCodeAt(t.position+1)&&45===t.input.charCodeAt(t.position+2)?(t.position+=3,Ei(t,!0,-1)):s&&vi(t,"directives end mark is expected"),Oi(t,t.lineIndent-1,ei,!1,!0),Ei(t,!0,-1),t.checkLineBreaks&&si.test(t.input.slice(o,t.position))&&Ti(t,"non-ASCII line breaks are interpreted as content"),t.documents.push(t.result),t.position===t.lineStart&&Bi(t)?46===t.input.charCodeAt(t.position)&&(t.position+=3,Ei(t,!0,-1)):t.position<t.length-1&&vi(t,"end of the stream or a document separator is expected")}function Di(t,e){e=e||{},0!==(t=String(t)).length&&(10!==t.charCodeAt(t.length-1)&&13!==t.charCodeAt(t.length-1)&&(t+="\n"),65279===t.charCodeAt(0)&&(t=t.slice(1)));var n=new bi(t,e),r=t.indexOf("\0");for(-1!==r&&(n.position=r,vi(n,"null byte is not allowed in input")),n.input+="\0";32===n.input.charCodeAt(n.position);)n.lineIndent+=1,n.position+=1;for(;n.position<n.length-1;)Ri(n);return n.documents}var qi=jr,$i={loadAll:function(t,e,n){null!==e&&"object"==typeof e&&void 0===n&&(n=e,e=null);var r=Di(t,n);if("function"!=typeof e)return r;for(var i=0,o=r.length;i<o;i+=1)e(r[i])},load:function(t,e){var n=Di(t,e);if(0!==n.length){if(1===n.length)return n[0];throw new yr("expected a single document in the stream, but found more")}}}.load;const Pi=t=>t.replace(/\r\n?/g,"\n").replace(/<(\w+)([^>]*)>/g,((t,e,n)=>"<"+e+n.replace(/="([^"]*)"/g,"='$1'")+">")),zi=t=>{const{text:e,metadata:n}=function(t){const e=t.match(Ht);if(!e)return{text:t,metadata:{}};let n=$i(e[1],{schema:qi})??{};n="object"!=typeof n||Array.isArray(n)?{}:n;const r={};return n.displayMode&&(r.displayMode=n.displayMode.toString()),n.title&&(r.title=n.title.toString()),n.config&&(r.config=n.config),{text:t.slice(e[0].length),metadata:r}}(t),{displayMode:r,title:i,config:o={}}=n;return r&&(o.gantt||(o.gantt={}),o.gantt.displayMode=r),{title:i,config:o,text:e}},Ui=t=>{const e=ve.detectInit(t)??{},n=ve.detectDirective(t,"wrap");return Array.isArray(n)?e.wrap=n.some((({type:t})=>{})):"wrap"===(null==n?void 0:n.type)&&(e.wrap=!0),{text:(r=t,r.replace(Vt,"")),directive:e};var r};function Wi(t){const e=Pi(t),n=zi(e),r=Ui(n.text),i=Ce(n.config,r.directive);return{code:t=dr(r.text),title:n.title,config:i}}const Hi=["foreignobject"],Vi=["dominant-baseline"];function Yi(t){const e=Wi(t);return Re(),Oe(e.config??{}),e}const Gi=(t,e,n=[])=>`\n.${t} ${e} { ${n.join(" !important; ")} !important; }`,Xi=(t,e,n,r)=>{const i=((t,e={})=>{var n;let r="";if(void 0!==t.themeCSS&&(r+=`\n${t.themeCSS}`),void 0!==t.fontFamily&&(r+=`\n:root { --mermaid-font-family: ${t.fontFamily}}`),void 0!==t.altFontFamily&&(r+=`\n:root { --mermaid-alt-font-family: ${t.altFontFamily}}`),!(0,ot.A)(e)){const i=t.htmlLabels||(null==(n=t.flowchart)?void 0:n.htmlLabels)?["> *","span"]:["rect","polygon","ellipse","circle","path"];for(const t in e){const n=e[t];(0,ot.A)(n.styles)||i.forEach((t=>{r+=Gi(n.id,t,n.styles)})),(0,ot.A)(n.textStyles)||(r+=Gi(n.id,"tspan",n.textStyles))}}return r})(t,n);return B(tt(`${r}{${Cn(e,i,t.themeVariables)}}`),F)},Ki=(t,e,n,r,i)=>{const o=t.append("div");o.attr("id",n),r&&o.attr("style",r);const s=o.append("svg").attr("id",e).attr("width","100%").attr("xmlns","http://www.w3.org/2000/svg");return i&&s.attr("xmlns:xlink",i),s.append("g"),t};function Zi(t,e){return t.append("iframe").attr("id",e).attr("style","width: 100%; height: 100%;").attr("sandbox","")}const Ji=(t,e={})=>{const{code:n}=Wi(t);return cr(n,e)};const Qi=Object.freeze({render:async function(t,e,n){var r,i,o,l,c,h;ar();const u=Yi(e);e=u.code;const d=Me();at.debug(d),e.length>((null==d?void 0:d.maxTextSize)??5e4)&&(e="graph TB;a[Maximum text size in diagram exceeded];style a fill:#faa");const p="#"+t,f="i"+t,m="#"+f,g="d"+t,y="#"+g;let k=(0,s.Ltv)("body");const x="sandbox"===d.securityLevel,_="loose"===d.securityLevel,b=d.fontFamily;if(void 0!==n){if(n&&(n.innerHTML=""),x){const t=Zi((0,s.Ltv)(n),f);k=(0,s.Ltv)(t.nodes()[0].contentDocument.body),k.node().style.margin=0}else k=(0,s.Ltv)(n);Ki(k,t,g,`font-family: ${b}`,"http://www.w3.org/1999/xlink")}else{if(((t,e,n,r)=>{var i,o,s;null==(i=t.getElementById(e))||i.remove(),null==(o=t.getElementById(n))||o.remove(),null==(s=t.getElementById(r))||s.remove()})(document,t,g,f),x){const t=Zi((0,s.Ltv)("body"),f);k=(0,s.Ltv)(t.nodes()[0].contentDocument.body),k.node().style.margin=0}else k=(0,s.Ltv)("body");Ki(k,t,g)}let C,v;try{C=await Ji(e,{title:u.title})}catch(M){C=new lr("error"),v=M}const T=k.select(y).node(),A=C.type,w=T.firstChild,S=w.firstChild,I=null==(i=(r=C.renderer).getClasses)?void 0:i.call(r,e,C),L=Xi(d,A,I,p),E=document.createElement("style");E.innerHTML=L,w.insertBefore(E,S);try{await C.renderer.draw(e,t,Ae,C)}catch(j){throw Gn.draw(e,t,Ae),j}!function(t,e,n,r){(function(t,e){t.attr("role",ur),""!==e&&t.attr("aria-roledescription",e)})(e,t),function(t,e,n,r){if(void 0!==t.insert){if(n){const e=`chart-desc-${r}`;t.attr("aria-describedby",e),t.insert("desc",":first-child").attr("id",e).text(n)}if(e){const n=`chart-title-${r}`;t.attr("aria-labelledby",n),t.insert("title",":first-child").attr("id",n).text(e)}}}(e,n,r,e.attr("id"))}(A,k.select(`${y} svg`),null==(l=(o=C.db).getAccTitle)?void 0:l.call(o),null==(h=(c=C.db).getAccDescription)?void 0:h.call(c)),k.select(`[id="${t}"]`).selectAll("foreignobject > *").attr("xmlns","http://www.w3.org/1999/xhtml");let B=k.select(y).node().innerHTML;if(at.debug("config.arrowMarkerAbsolute",d.arrowMarkerAbsolute),B=((t="",e,n)=>{let r=t;return n||e||(r=r.replace(/marker-end="url\([\d+./:=?A-Za-z-]*?#/g,'marker-end="url(#')),r=Te(r),r=r.replace(/<br>/g,"<br/>"),r})(B,x,yt(d.arrowMarkerAbsolute)),x){B=((t="",e)=>{var n,r;return`<iframe style="width:100%;height:${(null==(r=null==(n=null==e?void 0:e.viewBox)?void 0:n.baseVal)?void 0:r.height)?e.viewBox.baseVal.height+"px":"100%"};border:0;margin:0;" src="data:text/html;base64,${btoa('<body style="margin:0">'+t+"</body>")}" sandbox="allow-top-navigation-by-user-activation allow-popups">\n The "iframe" tag is not supported by your browser.\n</iframe>`})(B,k.select(y+" svg").node())}else _||(B=a.sanitize(B,{ADD_TAGS:Hi,ADD_ATTR:Vi}));if(hr.forEach((t=>{t()})),hr=[],v)throw v;const F=x?m:y,N=(0,s.Ltv)(F).node();return N&&"remove"in N&&N.remove(),{svg:B,bindFunctions:C.db.bindFunctions}},parse:async function(t,e){ar(),t=Yi(t).code;try{await Ji(t)}catch(n){if(null==e?void 0:e.suppressErrors)return!1;throw n}return!0},getDiagramFromText:Ji,initialize:function(t={}){var e;(null==t?void 0:t.fontFamily)&&!(null==(e=t.themeVariables)?void 0:e.fontFamily)&&(t.themeVariables||(t.themeVariables={}),t.themeVariables.fontFamily=t.fontFamily),Se=te({},t),(null==t?void 0:t.theme)&&t.theme in Rt?t.themeVariables=Rt[t.theme].getThemeVariables(t.themeVariables):t&&(t.themeVariables=Rt.default.getThemeVariables(t.themeVariables));const n="object"==typeof t?(t=>(Ie=te({},we),Ie=te(Ie,t),t.theme&&Rt[t.theme]&&(Ie.themeVariables=Rt[t.theme].getThemeVariables(t.themeVariables)),Be(Ie,Le),Ie))(t):Fe();lt(n.logLevel),ar()},getConfig:Me,setConfig:Ne,getSiteConfig:Fe,updateSiteConfig:t=>(Ie=te(Ie,t),Be(Ie,Le),Ie),reset:()=>{Re()},globalReset:()=>{Re(we)},defaultConfig:we});lt(Me().logLevel),Re(Me());const to=(t,e,n)=>{at.warn(t),_e(t)?(n&&n(t.str,t.hash),e.push({...t,message:t.str,error:t})):(n&&n(t),t instanceof Error&&e.push({str:t.message,message:t.message,hash:t.name,error:t}))},eo=async function(t={querySelector:".mermaid"}){try{await no(t)}catch(e){if(_e(e)&&at.error(e.str),co.parseError&&co.parseError(e),!t.suppressErrors)throw at.error("Use the suppressErrors option to suppress these errors"),e}},no=async function({postRenderCallback:t,querySelector:e,nodes:n}={querySelector:".mermaid"}){const i=Qi.getConfig();let o;if(at.debug((t?"":"No ")+"Callback function found"),n)o=n;else{if(!e)throw new Error("Nodes and querySelector are both undefined");o=document.querySelectorAll(e)}at.debug(`Found ${o.length} diagrams`),void 0!==(null==i?void 0:i.startOnLoad)&&(at.debug("Start On Load: "+(null==i?void 0:i.startOnLoad)),Qi.updateSiteConfig({startOnLoad:null==i?void 0:i.startOnLoad}));const s=new ve.InitIDGenerator(i.deterministicIds,i.deterministicIDSeed);let a;const l=[];for(const h of Array.from(o)){if(at.info("Rendering diagram: "+h.id),h.getAttribute("data-processed"))continue;h.setAttribute("data-processed","true");const e=`mermaid-${s.next()}`;a=h.innerHTML,a=(0,r.T)(ve.entityDecode(a)).trim().replace(/<br\s*\/?>/gi,"<br/>");const n=ve.detectInit(a);n&&at.debug("Detected early reinit: ",n);try{const{svg:n,bindFunctions:r}=await lo(e,a,h);h.innerHTML=n,t&&await t(e),r&&r(h)}catch(c){to(c,l,co.parseError)}}if(l.length>0)throw l[0]},ro=function(t){Qi.initialize(t)},io=function(){if(co.startOnLoad){const{startOnLoad:t}=Qi.getConfig();t&&co.run().catch((t=>at.error("Mermaid failed to initialize",t)))}};"undefined"!=typeof document&&window.addEventListener("load",io,!1);const oo=[];let so=!1;const ao=async()=>{if(!so){for(so=!0;oo.length>0;){const e=oo.shift();if(e)try{await e()}catch(t){at.error("Error executing queue",t)}}so=!1}},lo=(t,e,n)=>new Promise(((r,i)=>{oo.push((()=>new Promise(((o,s)=>{Qi.render(t,e,n).then((t=>{o(t),r(t)}),(t=>{var e;at.error("Error parsing",t),null==(e=co.parseError)||e.call(co,t),s(t),i(t)}))})))),ao().catch(i)})),co={startOnLoad:!0,mermaidAPI:Qi,parse:async(t,e)=>new Promise(((n,r)=>{oo.push((()=>new Promise(((i,o)=>{Qi.parse(t,e).then((t=>{i(t),n(t)}),(t=>{var e;at.error("Error parsing",t),null==(e=co.parseError)||e.call(co,t),o(t),r(t)}))})))),ao().catch(r)})),render:lo,init:async function(t,e,n){at.warn("mermaid.init is deprecated. Please use run instead."),t&&ro(t);const r={postRenderCallback:n,querySelector:".mermaid"};"string"==typeof e?r.querySelector=e:e&&(e instanceof HTMLElement?r.nodes=[e]:r.nodes=e),await eo(r)},run:eo,registerExternalDiagrams:async(t,{lazyLoad:e=!0}={})=>{Zt(...t),!1===e&&await(async()=>{at.debug("Loading registered diagrams");const t=(await Promise.allSettled(Object.entries(Xt).map((async([t,{detector:e,loader:n}])=>{if(n)try{Wn(t)}catch(r){try{const{diagram:t,id:r}=await n();Un(r,t,e)}catch(i){throw at.error(`Failed to load external diagram with key ${t}. Removing from detectors.`),delete Xt[t],i}}})))).filter((t=>"rejected"===t.status));if(t.length>0){at.error(`Failed to load ${t.length} external diagrams`);for(const e of t)at.error(e);throw new Error(`Failed to load ${t.length} external diagrams`)}})()},initialize:ro,parseError:void 0,contentLoaded:io,setParseErrorHandler:function(t){co.parseError=t},detectType:Kt}}}]); \ No newline at end of file diff --git a/assets/js/7212.c4341725.js.LICENSE.txt b/assets/js/7212.175307cd.js.LICENSE.txt similarity index 100% rename from assets/js/7212.c4341725.js.LICENSE.txt rename to assets/js/7212.175307cd.js.LICENSE.txt diff --git a/assets/js/8055.ebb0de29.js b/assets/js/8055.ebb0de29.js new file mode 100644 index 00000000..4f56f77a --- /dev/null +++ b/assets/js/8055.ebb0de29.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[8055],{8055:(t,e,a)=>{a.d(e,{a:()=>l,b:()=>B,c:()=>d,d:()=>I,e:()=>M,f:()=>j,g:()=>C,h:()=>A,i:()=>x,j:()=>N,k:()=>R,l:()=>o,m:()=>Y,p:()=>_,s:()=>T,u:()=>h});var r=a(9702),n=a(6312),i=a(7560);const s={extension:(t,e,a)=>{r.l.trace("Making markers for ",a),t.append("defs").append("marker").attr("id",a+"_"+e+"-extensionStart").attr("class","marker extension "+e).attr("refX",18).attr("refY",7).attr("markerWidth",190).attr("markerHeight",240).attr("orient","auto").append("path").attr("d","M 1,7 L18,13 V 1 Z"),t.append("defs").append("marker").attr("id",a+"_"+e+"-extensionEnd").attr("class","marker extension "+e).attr("refX",1).attr("refY",7).attr("markerWidth",20).attr("markerHeight",28).attr("orient","auto").append("path").attr("d","M 1,1 V 13 L18,7 Z")},composition:(t,e,a)=>{t.append("defs").append("marker").attr("id",a+"_"+e+"-compositionStart").attr("class","marker composition "+e).attr("refX",18).attr("refY",7).attr("markerWidth",190).attr("markerHeight",240).attr("orient","auto").append("path").attr("d","M 18,7 L9,13 L1,7 L9,1 Z"),t.append("defs").append("marker").attr("id",a+"_"+e+"-compositionEnd").attr("class","marker composition "+e).attr("refX",1).attr("refY",7).attr("markerWidth",20).attr("markerHeight",28).attr("orient","auto").append("path").attr("d","M 18,7 L9,13 L1,7 L9,1 Z")},aggregation:(t,e,a)=>{t.append("defs").append("marker").attr("id",a+"_"+e+"-aggregationStart").attr("class","marker aggregation "+e).attr("refX",18).attr("refY",7).attr("markerWidth",190).attr("markerHeight",240).attr("orient","auto").append("path").attr("d","M 18,7 L9,13 L1,7 L9,1 Z"),t.append("defs").append("marker").attr("id",a+"_"+e+"-aggregationEnd").attr("class","marker aggregation "+e).attr("refX",1).attr("refY",7).attr("markerWidth",20).attr("markerHeight",28).attr("orient","auto").append("path").attr("d","M 18,7 L9,13 L1,7 L9,1 Z")},dependency:(t,e,a)=>{t.append("defs").append("marker").attr("id",a+"_"+e+"-dependencyStart").attr("class","marker dependency "+e).attr("refX",6).attr("refY",7).attr("markerWidth",190).attr("markerHeight",240).attr("orient","auto").append("path").attr("d","M 5,7 L9,13 L1,7 L9,1 Z"),t.append("defs").append("marker").attr("id",a+"_"+e+"-dependencyEnd").attr("class","marker dependency "+e).attr("refX",13).attr("refY",7).attr("markerWidth",20).attr("markerHeight",28).attr("orient","auto").append("path").attr("d","M 18,7 L9,13 L14,7 L9,1 Z")},lollipop:(t,e,a)=>{t.append("defs").append("marker").attr("id",a+"_"+e+"-lollipopStart").attr("class","marker lollipop "+e).attr("refX",13).attr("refY",7).attr("markerWidth",190).attr("markerHeight",240).attr("orient","auto").append("circle").attr("stroke","black").attr("fill","transparent").attr("cx",7).attr("cy",7).attr("r",6),t.append("defs").append("marker").attr("id",a+"_"+e+"-lollipopEnd").attr("class","marker lollipop "+e).attr("refX",1).attr("refY",7).attr("markerWidth",190).attr("markerHeight",240).attr("orient","auto").append("circle").attr("stroke","black").attr("fill","transparent").attr("cx",7).attr("cy",7).attr("r",6)},point:(t,e,a)=>{t.append("marker").attr("id",a+"_"+e+"-pointEnd").attr("class","marker "+e).attr("viewBox","0 0 10 10").attr("refX",6).attr("refY",5).attr("markerUnits","userSpaceOnUse").attr("markerWidth",12).attr("markerHeight",12).attr("orient","auto").append("path").attr("d","M 0 0 L 10 5 L 0 10 z").attr("class","arrowMarkerPath").style("stroke-width",1).style("stroke-dasharray","1,0"),t.append("marker").attr("id",a+"_"+e+"-pointStart").attr("class","marker "+e).attr("viewBox","0 0 10 10").attr("refX",4.5).attr("refY",5).attr("markerUnits","userSpaceOnUse").attr("markerWidth",12).attr("markerHeight",12).attr("orient","auto").append("path").attr("d","M 0 5 L 10 10 L 10 0 z").attr("class","arrowMarkerPath").style("stroke-width",1).style("stroke-dasharray","1,0")},circle:(t,e,a)=>{t.append("marker").attr("id",a+"_"+e+"-circleEnd").attr("class","marker "+e).attr("viewBox","0 0 10 10").attr("refX",11).attr("refY",5).attr("markerUnits","userSpaceOnUse").attr("markerWidth",11).attr("markerHeight",11).attr("orient","auto").append("circle").attr("cx","5").attr("cy","5").attr("r","5").attr("class","arrowMarkerPath").style("stroke-width",1).style("stroke-dasharray","1,0"),t.append("marker").attr("id",a+"_"+e+"-circleStart").attr("class","marker "+e).attr("viewBox","0 0 10 10").attr("refX",-1).attr("refY",5).attr("markerUnits","userSpaceOnUse").attr("markerWidth",11).attr("markerHeight",11).attr("orient","auto").append("circle").attr("cx","5").attr("cy","5").attr("r","5").attr("class","arrowMarkerPath").style("stroke-width",1).style("stroke-dasharray","1,0")},cross:(t,e,a)=>{t.append("marker").attr("id",a+"_"+e+"-crossEnd").attr("class","marker cross "+e).attr("viewBox","0 0 11 11").attr("refX",12).attr("refY",5.2).attr("markerUnits","userSpaceOnUse").attr("markerWidth",11).attr("markerHeight",11).attr("orient","auto").append("path").attr("d","M 1,1 l 9,9 M 10,1 l -9,9").attr("class","arrowMarkerPath").style("stroke-width",2).style("stroke-dasharray","1,0"),t.append("marker").attr("id",a+"_"+e+"-crossStart").attr("class","marker cross "+e).attr("viewBox","0 0 11 11").attr("refX",-1).attr("refY",5.2).attr("markerUnits","userSpaceOnUse").attr("markerWidth",11).attr("markerHeight",11).attr("orient","auto").append("path").attr("d","M 1,1 l 9,9 M 10,1 l -9,9").attr("class","arrowMarkerPath").style("stroke-width",2).style("stroke-dasharray","1,0")},barb:(t,e,a)=>{t.append("defs").append("marker").attr("id",a+"_"+e+"-barbEnd").attr("refX",19).attr("refY",7).attr("markerWidth",20).attr("markerHeight",14).attr("markerUnits","strokeWidth").attr("orient","auto").append("path").attr("d","M 19,7 L9,13 L14,7 L9,1 Z")}},l=(t,e,a,r)=>{e.forEach((e=>{s[e](t,a,r)}))};const d=(t,e,a,i)=>{let s=t||"";if("object"==typeof s&&(s=s[0]),(0,r.m)((0,r.c)().flowchart.htmlLabels)){s=s.replace(/\\n|\n/g,"<br />"),r.l.debug("vertexText"+s);let t=function(t){const e=(0,n.Ltv)(document.createElementNS("http://www.w3.org/2000/svg","foreignObject")),a=e.append("xhtml:div"),r=t.label,i=t.isNode?"nodeLabel":"edgeLabel";var s,l;return a.html('<span class="'+i+'" '+(t.labelStyle?'style="'+t.labelStyle+'"':"")+">"+r+"</span>"),s=a,(l=t.labelStyle)&&s.attr("style",l),a.style("display","inline-block"),a.style("white-space","nowrap"),a.attr("xmlns","http://www.w3.org/1999/xhtml"),e.node()}({isNode:i,label:(0,r.M)(s).replace(/fa[blrs]?:fa-[\w-]+/g,(t=>`<i class='${t.replace(":"," ")}'></i>`)),labelStyle:e.replace("fill:","color:")});return t}{const t=document.createElementNS("http://www.w3.org/2000/svg","text");t.setAttribute("style",e.replace("color:","fill:"));let r=[];r="string"==typeof s?s.split(/\\n|\n|<br\s*\/?>/gi):Array.isArray(s)?s:[];for(const e of r){const r=document.createElementNS("http://www.w3.org/2000/svg","tspan");r.setAttributeNS("http://www.w3.org/XML/1998/namespace","xml:space","preserve"),r.setAttribute("dy","1em"),r.setAttribute("x","0"),a?r.setAttribute("class","title-row"):r.setAttribute("class","row"),r.textContent=e.trim(),t.appendChild(r)}return t}},o=async(t,e,a,s)=>{let l;const o=e.useHtmlLabels||(0,r.m)((0,r.c)().flowchart.htmlLabels);l=a||"node default";const h=t.insert("g").attr("class",l).attr("id",e.domId||e.id),c=h.insert("g").attr("class","label").attr("style",e.labelStyle);let y;y=void 0===e.labelText?"":"string"==typeof e.labelText?e.labelText:e.labelText[0];const p=c.node();let g;g="markdown"===e.labelType?(0,i.a)(c,(0,r.d)((0,r.M)(y),(0,r.c)()),{useHtmlLabels:o,width:e.width||(0,r.c)().flowchart.wrappingWidth,classes:"markdown-node-label"}):p.appendChild(d((0,r.d)((0,r.M)(y),(0,r.c)()),e.labelStyle,!1,s));let x=g.getBBox();const f=e.padding/2;if((0,r.m)((0,r.c)().flowchart.htmlLabels)){const t=g.children[0],e=(0,n.Ltv)(g),a=t.getElementsByTagName("img");if(a){const t=""===y.replace(/<img[^>]*>/g,"").trim();await Promise.all([...a].map((e=>new Promise((a=>{function n(){if(e.style.display="flex",e.style.flexDirection="column",t){const t=(0,r.c)().fontSize?(0,r.c)().fontSize:window.getComputedStyle(document.body).fontSize,a=5,n=parseInt(t,10)*a+"px";e.style.minWidth=n,e.style.maxWidth=n}else e.style.width="100%";a(e)}setTimeout((()=>{e.complete&&n()})),e.addEventListener("error",n),e.addEventListener("load",n)})))))}x=t.getBoundingClientRect(),e.attr("width",x.width),e.attr("height",x.height)}return o?c.attr("transform","translate("+-x.width/2+", "+-x.height/2+")"):c.attr("transform","translate(0, "+-x.height/2+")"),e.centerLabel&&c.attr("transform","translate("+-x.width/2+", "+-x.height/2+")"),c.insert("rect",":first-child"),{shapeSvg:h,bbox:x,halfPadding:f,label:c}},h=(t,e)=>{const a=e.node().getBBox();t.width=a.width,t.height=a.height};function c(t,e,a,r){return t.insert("polygon",":first-child").attr("points",r.map((function(t){return t.x+","+t.y})).join(" ")).attr("class","label-container").attr("transform","translate("+-e/2+","+a/2+")")}function y(t,e,a,r){var n=t.x,i=t.y,s=n-r.x,l=i-r.y,d=Math.sqrt(e*e*l*l+a*a*s*s),o=Math.abs(e*a*s/d);r.x<n&&(o=-o);var h=Math.abs(e*a*l/d);return r.y<i&&(h=-h),{x:n+o,y:i+h}}function p(t,e,a,r){var n,i,s,l,d,o,h,c,y,p,x,f,u;if(n=e.y-t.y,s=t.x-e.x,d=e.x*t.y-t.x*e.y,y=n*a.x+s*a.y+d,p=n*r.x+s*r.y+d,!(0!==y&&0!==p&&g(y,p)||(i=r.y-a.y,l=a.x-r.x,o=r.x*a.y-a.x*r.y,h=i*t.x+l*t.y+o,c=i*e.x+l*e.y+o,0!==h&&0!==c&&g(h,c)||0==(x=n*l-i*s))))return f=Math.abs(x/2),{x:(u=s*o-l*d)<0?(u-f)/x:(u+f)/x,y:(u=i*d-n*o)<0?(u-f)/x:(u+f)/x}}function g(t,e){return t*e>0}const x=(t,e)=>{var a,r,n=t.x,i=t.y,s=e.x-n,l=e.y-i,d=t.width/2,o=t.height/2;return Math.abs(l)*d>Math.abs(s)*o?(l<0&&(o=-o),a=0===l?0:o*s/l,r=o):(s<0&&(d=-d),a=d,r=0===s?0:d*l/s),{x:n+a,y:i+r}},f={node:function(t,e){return t.intersect(e)},circle:function(t,e,a){return y(t,e,e,a)},ellipse:y,polygon:function(t,e,a){var r=t.x,n=t.y,i=[],s=Number.POSITIVE_INFINITY,l=Number.POSITIVE_INFINITY;"function"==typeof e.forEach?e.forEach((function(t){s=Math.min(s,t.x),l=Math.min(l,t.y)})):(s=Math.min(s,e.x),l=Math.min(l,e.y));for(var d=r-t.width/2-s,o=n-t.height/2-l,h=0;h<e.length;h++){var c=e[h],y=e[h<e.length-1?h+1:0],g=p(t,a,{x:d+c.x,y:o+c.y},{x:d+y.x,y:o+y.y});g&&i.push(g)}return i.length?(i.length>1&&i.sort((function(t,e){var r=t.x-a.x,n=t.y-a.y,i=Math.sqrt(r*r+n*n),s=e.x-a.x,l=e.y-a.y,d=Math.sqrt(s*s+l*l);return i<d?-1:i===d?0:1})),i[0]):t},rect:x},u=(t,e,a)=>{const r=(t=>{const e=new Set;for(const a of t)switch(a){case"x":e.add("right"),e.add("left");break;case"y":e.add("up"),e.add("down");break;default:e.add(a)}return e})(t),n=e.height+2*a.padding,i=n/2,s=e.width+2*i+a.padding,l=a.padding/2;return r.has("right")&&r.has("left")&&r.has("up")&&r.has("down")?[{x:0,y:0},{x:i,y:0},{x:s/2,y:2*l},{x:s-i,y:0},{x:s,y:0},{x:s,y:-n/3},{x:s+2*l,y:-n/2},{x:s,y:-2*n/3},{x:s,y:-n},{x:s-i,y:-n},{x:s/2,y:-n-2*l},{x:i,y:-n},{x:0,y:-n},{x:0,y:-2*n/3},{x:-2*l,y:-n/2},{x:0,y:-n/3}]:r.has("right")&&r.has("left")&&r.has("up")?[{x:i,y:0},{x:s-i,y:0},{x:s,y:-n/2},{x:s-i,y:-n},{x:i,y:-n},{x:0,y:-n/2}]:r.has("right")&&r.has("left")&&r.has("down")?[{x:0,y:0},{x:i,y:-n},{x:s-i,y:-n},{x:s,y:0}]:r.has("right")&&r.has("up")&&r.has("down")?[{x:0,y:0},{x:s,y:-i},{x:s,y:-n+i},{x:0,y:-n}]:r.has("left")&&r.has("up")&&r.has("down")?[{x:s,y:0},{x:0,y:-i},{x:0,y:-n+i},{x:s,y:-n}]:r.has("right")&&r.has("left")?[{x:i,y:0},{x:i,y:-l},{x:s-i,y:-l},{x:s-i,y:0},{x:s,y:-n/2},{x:s-i,y:-n},{x:s-i,y:-n+l},{x:i,y:-n+l},{x:i,y:-n},{x:0,y:-n/2}]:r.has("up")&&r.has("down")?[{x:s/2,y:0},{x:0,y:-l},{x:i,y:-l},{x:i,y:-n+l},{x:0,y:-n+l},{x:s/2,y:-n},{x:s,y:-n+l},{x:s-i,y:-n+l},{x:s-i,y:-l},{x:s,y:-l}]:r.has("right")&&r.has("up")?[{x:0,y:0},{x:s,y:-i},{x:0,y:-n}]:r.has("right")&&r.has("down")?[{x:0,y:0},{x:s,y:0},{x:0,y:-n}]:r.has("left")&&r.has("up")?[{x:s,y:0},{x:0,y:-i},{x:s,y:-n}]:r.has("left")&&r.has("down")?[{x:s,y:0},{x:0,y:0},{x:s,y:-n}]:r.has("right")?[{x:i,y:-l},{x:i,y:-l},{x:s-i,y:-l},{x:s-i,y:0},{x:s,y:-n/2},{x:s-i,y:-n},{x:s-i,y:-n+l},{x:i,y:-n+l},{x:i,y:-n+l}]:r.has("left")?[{x:i,y:0},{x:i,y:-l},{x:s-i,y:-l},{x:s-i,y:-n+l},{x:i,y:-n+l},{x:i,y:-n},{x:0,y:-n/2}]:r.has("up")?[{x:i,y:-l},{x:i,y:-n+l},{x:0,y:-n+l},{x:s/2,y:-n},{x:s,y:-n+l},{x:s-i,y:-n+l},{x:s-i,y:-l}]:r.has("down")?[{x:s/2,y:0},{x:0,y:-l},{x:i,y:-l},{x:i,y:-n+l},{x:s-i,y:-n+l},{x:s-i,y:-l},{x:s,y:-l}]:[{x:0,y:0}]},w=t=>t?" "+t:"",b=(t,e)=>`${e||"node default"}${w(t.classes)} ${w(t.class)}`,m=async(t,e)=>{const{shapeSvg:a,bbox:n}=await o(t,e,b(e,void 0),!0),i=n.width+e.padding+(n.height+e.padding),s=[{x:i/2,y:0},{x:i,y:-i/2},{x:i/2,y:-i},{x:0,y:-i/2}];r.l.info("Question main (Circle)");const l=c(a,i,i,s);return l.attr("style",e.style),h(e,l),e.intersect=function(t){return r.l.warn("Intersect called"),f.polygon(e,s,t)},a};function k(t,e,a,n){const i=[],s=t=>{i.push(t,0)},l=t=>{i.push(0,t)};e.includes("t")?(r.l.debug("add top border"),s(a)):l(a),e.includes("r")?(r.l.debug("add right border"),s(n)):l(n),e.includes("b")?(r.l.debug("add bottom border"),s(a)):l(a),e.includes("l")?(r.l.debug("add left border"),s(n)):l(n),t.attr("stroke-dasharray",i.join(" "))}const v=(t,e,a)=>{const r=t.insert("g").attr("class","node default").attr("id",e.domId||e.id);let n=70,i=10;"LR"===a&&(n=10,i=70);const s=r.append("rect").attr("x",-1*n/2).attr("y",-1*i/2).attr("width",n).attr("height",i).attr("class","fork-join");return h(e,s),e.height=e.height+e.padding/2,e.width=e.width+e.padding/2,e.intersect=function(t){return f.rect(e,t)},r},L={rhombus:m,composite:async(t,e)=>{const{shapeSvg:a,bbox:n,halfPadding:i}=await o(t,e,"node "+e.classes,!0),s=a.insert("rect",":first-child"),l=e.positioned?e.width:n.width+e.padding,d=e.positioned?e.height:n.height+e.padding,c=e.positioned?-l/2:-n.width/2-i,y=e.positioned?-d/2:-n.height/2-i;if(s.attr("class","basic cluster composite label-container").attr("style",e.style).attr("rx",e.rx).attr("ry",e.ry).attr("x",c).attr("y",y).attr("width",l).attr("height",d),e.props){const t=new Set(Object.keys(e.props));e.props.borders&&(k(s,e.props.borders,l,d),t.delete("borders")),t.forEach((t=>{r.l.warn(`Unknown node property ${t}`)}))}return h(e,s),e.intersect=function(t){return f.rect(e,t)},a},question:m,rect:async(t,e)=>{const{shapeSvg:a,bbox:n,halfPadding:i}=await o(t,e,"node "+e.classes+" "+e.class,!0),s=a.insert("rect",":first-child"),l=e.positioned?e.width:n.width+e.padding,d=e.positioned?e.height:n.height+e.padding,c=e.positioned?-l/2:-n.width/2-i,y=e.positioned?-d/2:-n.height/2-i;if(s.attr("class","basic label-container").attr("style",e.style).attr("rx",e.rx).attr("ry",e.ry).attr("x",c).attr("y",y).attr("width",l).attr("height",d),e.props){const t=new Set(Object.keys(e.props));e.props.borders&&(k(s,e.props.borders,l,d),t.delete("borders")),t.forEach((t=>{r.l.warn(`Unknown node property ${t}`)}))}return h(e,s),e.intersect=function(t){return f.rect(e,t)},a},labelRect:async(t,e)=>{const{shapeSvg:a}=await o(t,e,"label",!0);r.l.trace("Classes = ",e.class);const n=a.insert("rect",":first-child");if(n.attr("width",0).attr("height",0),a.attr("class","label edgeLabel"),e.props){const t=new Set(Object.keys(e.props));e.props.borders&&(k(n,e.props.borders,0,0),t.delete("borders")),t.forEach((t=>{r.l.warn(`Unknown node property ${t}`)}))}return h(e,n),e.intersect=function(t){return f.rect(e,t)},a},rectWithTitle:(t,e)=>{let a;a=e.classes?"node "+e.classes:"node default";const i=t.insert("g").attr("class",a).attr("id",e.domId||e.id),s=i.insert("rect",":first-child"),l=i.insert("line"),o=i.insert("g").attr("class","label"),c=e.labelText.flat?e.labelText.flat():e.labelText;let y="";y="object"==typeof c?c[0]:c,r.l.info("Label text abc79",y,c,"object"==typeof c);const p=o.node().appendChild(d(y,e.labelStyle,!0,!0));let g={width:0,height:0};if((0,r.m)((0,r.c)().flowchart.htmlLabels)){const t=p.children[0],e=(0,n.Ltv)(p);g=t.getBoundingClientRect(),e.attr("width",g.width),e.attr("height",g.height)}r.l.info("Text 2",c);const x=c.slice(1,c.length);let u=p.getBBox();const w=o.node().appendChild(d(x.join?x.join("<br/>"):x,e.labelStyle,!0,!0));if((0,r.m)((0,r.c)().flowchart.htmlLabels)){const t=w.children[0],e=(0,n.Ltv)(w);g=t.getBoundingClientRect(),e.attr("width",g.width),e.attr("height",g.height)}const b=e.padding/2;return(0,n.Ltv)(w).attr("transform","translate( "+(g.width>u.width?0:(u.width-g.width)/2)+", "+(u.height+b+5)+")"),(0,n.Ltv)(p).attr("transform","translate( "+(g.width<u.width?0:-(u.width-g.width)/2)+", 0)"),g=o.node().getBBox(),o.attr("transform","translate("+-g.width/2+", "+(-g.height/2-b+3)+")"),s.attr("class","outer title-state").attr("x",-g.width/2-b).attr("y",-g.height/2-b).attr("width",g.width+e.padding).attr("height",g.height+e.padding),l.attr("class","divider").attr("x1",-g.width/2-b).attr("x2",g.width/2+b).attr("y1",-g.height/2-b+u.height+b).attr("y2",-g.height/2-b+u.height+b),h(e,s),e.intersect=function(t){return f.rect(e,t)},i},choice:(t,e)=>{const a=t.insert("g").attr("class","node default").attr("id",e.domId||e.id),r=[{x:0,y:14},{x:14,y:0},{x:0,y:-14},{x:-14,y:0}];return a.insert("polygon",":first-child").attr("points",r.map((function(t){return t.x+","+t.y})).join(" ")).attr("class","state-start").attr("r",7).attr("width",28).attr("height",28),e.width=28,e.height=28,e.intersect=function(t){return f.circle(e,14,t)},a},circle:async(t,e)=>{const{shapeSvg:a,bbox:n,halfPadding:i}=await o(t,e,b(e,void 0),!0),s=a.insert("circle",":first-child");return s.attr("style",e.style).attr("rx",e.rx).attr("ry",e.ry).attr("r",n.width/2+i).attr("width",n.width+e.padding).attr("height",n.height+e.padding),r.l.info("Circle main"),h(e,s),e.intersect=function(t){return r.l.info("Circle intersect",e,n.width/2+i,t),f.circle(e,n.width/2+i,t)},a},doublecircle:async(t,e)=>{const{shapeSvg:a,bbox:n,halfPadding:i}=await o(t,e,b(e,void 0),!0),s=a.insert("g",":first-child"),l=s.insert("circle"),d=s.insert("circle");return s.attr("class",e.class),l.attr("style",e.style).attr("rx",e.rx).attr("ry",e.ry).attr("r",n.width/2+i+5).attr("width",n.width+e.padding+10).attr("height",n.height+e.padding+10),d.attr("style",e.style).attr("rx",e.rx).attr("ry",e.ry).attr("r",n.width/2+i).attr("width",n.width+e.padding).attr("height",n.height+e.padding),r.l.info("DoubleCircle main"),h(e,l),e.intersect=function(t){return r.l.info("DoubleCircle intersect",e,n.width/2+i+5,t),f.circle(e,n.width/2+i+5,t)},a},stadium:async(t,e)=>{const{shapeSvg:a,bbox:r}=await o(t,e,b(e,void 0),!0),n=r.height+e.padding,i=r.width+n/4+e.padding,s=a.insert("rect",":first-child").attr("style",e.style).attr("rx",n/2).attr("ry",n/2).attr("x",-i/2).attr("y",-n/2).attr("width",i).attr("height",n);return h(e,s),e.intersect=function(t){return f.rect(e,t)},a},hexagon:async(t,e)=>{const{shapeSvg:a,bbox:r}=await o(t,e,b(e,void 0),!0),n=r.height+e.padding,i=n/4,s=r.width+2*i+e.padding,l=[{x:i,y:0},{x:s-i,y:0},{x:s,y:-n/2},{x:s-i,y:-n},{x:i,y:-n},{x:0,y:-n/2}],d=c(a,s,n,l);return d.attr("style",e.style),h(e,d),e.intersect=function(t){return f.polygon(e,l,t)},a},block_arrow:async(t,e)=>{const{shapeSvg:a,bbox:r}=await o(t,e,void 0,!0),n=r.height+2*e.padding,i=n/2,s=r.width+2*i+e.padding,l=u(e.directions,r,e),d=c(a,s,n,l);return d.attr("style",e.style),h(e,d),e.intersect=function(t){return f.polygon(e,l,t)},a},rect_left_inv_arrow:async(t,e)=>{const{shapeSvg:a,bbox:r}=await o(t,e,b(e,void 0),!0),n=r.width+e.padding,i=r.height+e.padding,s=[{x:-i/2,y:0},{x:n,y:0},{x:n,y:-i},{x:-i/2,y:-i},{x:0,y:-i/2}];return c(a,n,i,s).attr("style",e.style),e.width=n+i,e.height=i,e.intersect=function(t){return f.polygon(e,s,t)},a},lean_right:async(t,e)=>{const{shapeSvg:a,bbox:r}=await o(t,e,b(e),!0),n=r.width+e.padding,i=r.height+e.padding,s=[{x:-2*i/6,y:0},{x:n-i/6,y:0},{x:n+2*i/6,y:-i},{x:i/6,y:-i}],l=c(a,n,i,s);return l.attr("style",e.style),h(e,l),e.intersect=function(t){return f.polygon(e,s,t)},a},lean_left:async(t,e)=>{const{shapeSvg:a,bbox:r}=await o(t,e,b(e,void 0),!0),n=r.width+e.padding,i=r.height+e.padding,s=[{x:2*i/6,y:0},{x:n+i/6,y:0},{x:n-2*i/6,y:-i},{x:-i/6,y:-i}],l=c(a,n,i,s);return l.attr("style",e.style),h(e,l),e.intersect=function(t){return f.polygon(e,s,t)},a},trapezoid:async(t,e)=>{const{shapeSvg:a,bbox:r}=await o(t,e,b(e,void 0),!0),n=r.width+e.padding,i=r.height+e.padding,s=[{x:-2*i/6,y:0},{x:n+2*i/6,y:0},{x:n-i/6,y:-i},{x:i/6,y:-i}],l=c(a,n,i,s);return l.attr("style",e.style),h(e,l),e.intersect=function(t){return f.polygon(e,s,t)},a},inv_trapezoid:async(t,e)=>{const{shapeSvg:a,bbox:r}=await o(t,e,b(e,void 0),!0),n=r.width+e.padding,i=r.height+e.padding,s=[{x:i/6,y:0},{x:n-i/6,y:0},{x:n+2*i/6,y:-i},{x:-2*i/6,y:-i}],l=c(a,n,i,s);return l.attr("style",e.style),h(e,l),e.intersect=function(t){return f.polygon(e,s,t)},a},rect_right_inv_arrow:async(t,e)=>{const{shapeSvg:a,bbox:r}=await o(t,e,b(e,void 0),!0),n=r.width+e.padding,i=r.height+e.padding,s=[{x:0,y:0},{x:n+i/2,y:0},{x:n,y:-i/2},{x:n+i/2,y:-i},{x:0,y:-i}],l=c(a,n,i,s);return l.attr("style",e.style),h(e,l),e.intersect=function(t){return f.polygon(e,s,t)},a},cylinder:async(t,e)=>{const{shapeSvg:a,bbox:r}=await o(t,e,b(e,void 0),!0),n=r.width+e.padding,i=n/2,s=i/(2.5+n/50),l=r.height+s+e.padding,d="M 0,"+s+" a "+i+","+s+" 0,0,0 "+n+" 0 a "+i+","+s+" 0,0,0 "+-n+" 0 l 0,"+l+" a "+i+","+s+" 0,0,0 "+n+" 0 l 0,"+-l,c=a.attr("label-offset-y",s).insert("path",":first-child").attr("style",e.style).attr("d",d).attr("transform","translate("+-n/2+","+-(l/2+s)+")");return h(e,c),e.intersect=function(t){const a=f.rect(e,t),r=a.x-e.x;if(0!=i&&(Math.abs(r)<e.width/2||Math.abs(r)==e.width/2&&Math.abs(a.y-e.y)>e.height/2-s)){let n=s*s*(1-r*r/(i*i));0!=n&&(n=Math.sqrt(n)),n=s-n,t.y-e.y>0&&(n=-n),a.y+=n}return a},a},start:(t,e)=>{const a=t.insert("g").attr("class","node default").attr("id",e.domId||e.id),r=a.insert("circle",":first-child");return r.attr("class","state-start").attr("r",7).attr("width",14).attr("height",14),h(e,r),e.intersect=function(t){return f.circle(e,7,t)},a},end:(t,e)=>{const a=t.insert("g").attr("class","node default").attr("id",e.domId||e.id),r=a.insert("circle",":first-child"),n=a.insert("circle",":first-child");return n.attr("class","state-start").attr("r",7).attr("width",14).attr("height",14),r.attr("class","state-end").attr("r",5).attr("width",10).attr("height",10),h(e,n),e.intersect=function(t){return f.circle(e,7,t)},a},note:async(t,e)=>{e.useHtmlLabels||(0,r.c)().flowchart.htmlLabels||(e.centerLabel=!0);const{shapeSvg:a,bbox:n,halfPadding:i}=await o(t,e,"node "+e.classes,!0);r.l.info("Classes = ",e.classes);const s=a.insert("rect",":first-child");return s.attr("rx",e.rx).attr("ry",e.ry).attr("x",-n.width/2-i).attr("y",-n.height/2-i).attr("width",n.width+e.padding).attr("height",n.height+e.padding),h(e,s),e.intersect=function(t){return f.rect(e,t)},a},subroutine:async(t,e)=>{const{shapeSvg:a,bbox:r}=await o(t,e,b(e,void 0),!0),n=r.width+e.padding,i=r.height+e.padding,s=[{x:0,y:0},{x:n,y:0},{x:n,y:-i},{x:0,y:-i},{x:0,y:0},{x:-8,y:0},{x:n+8,y:0},{x:n+8,y:-i},{x:-8,y:-i},{x:-8,y:0}],l=c(a,n,i,s);return l.attr("style",e.style),h(e,l),e.intersect=function(t){return f.polygon(e,s,t)},a},fork:v,join:v,class_box:(t,e)=>{const a=e.padding/2;let i;i=e.classes?"node "+e.classes:"node default";const s=t.insert("g").attr("class",i).attr("id",e.domId||e.id),l=s.insert("rect",":first-child"),o=s.insert("line"),c=s.insert("line");let y=0,p=4;const g=s.insert("g").attr("class","label");let x=0;const u=e.classData.annotations&&e.classData.annotations[0],w=e.classData.annotations[0]?"\xab"+e.classData.annotations[0]+"\xbb":"",b=g.node().appendChild(d(w,e.labelStyle,!0,!0));let m=b.getBBox();if((0,r.m)((0,r.c)().flowchart.htmlLabels)){const t=b.children[0],e=(0,n.Ltv)(b);m=t.getBoundingClientRect(),e.attr("width",m.width),e.attr("height",m.height)}e.classData.annotations[0]&&(p+=m.height+4,y+=m.width);let k=e.classData.label;void 0!==e.classData.type&&""!==e.classData.type&&((0,r.c)().flowchart.htmlLabels?k+="<"+e.classData.type+">":k+="<"+e.classData.type+">");const v=g.node().appendChild(d(k,e.labelStyle,!0,!0));(0,n.Ltv)(v).attr("class","classTitle");let L=v.getBBox();if((0,r.m)((0,r.c)().flowchart.htmlLabels)){const t=v.children[0],e=(0,n.Ltv)(v);L=t.getBoundingClientRect(),e.attr("width",L.width),e.attr("height",L.height)}p+=L.height+4,L.width>y&&(y=L.width);const S=[];e.classData.members.forEach((t=>{const a=t.getDisplayDetails();let i=a.displayText;(0,r.c)().flowchart.htmlLabels&&(i=i.replace(/</g,"<").replace(/>/g,">"));const s=g.node().appendChild(d(i,a.cssStyle?a.cssStyle:e.labelStyle,!0,!0));let l=s.getBBox();if((0,r.m)((0,r.c)().flowchart.htmlLabels)){const t=s.children[0],e=(0,n.Ltv)(s);l=t.getBoundingClientRect(),e.attr("width",l.width),e.attr("height",l.height)}l.width>y&&(y=l.width),p+=l.height+4,S.push(s)})),p+=8;const M=[];if(e.classData.methods.forEach((t=>{const a=t.getDisplayDetails();let i=a.displayText;(0,r.c)().flowchart.htmlLabels&&(i=i.replace(/</g,"<").replace(/>/g,">"));const s=g.node().appendChild(d(i,a.cssStyle?a.cssStyle:e.labelStyle,!0,!0));let l=s.getBBox();if((0,r.m)((0,r.c)().flowchart.htmlLabels)){const t=s.children[0],e=(0,n.Ltv)(s);l=t.getBoundingClientRect(),e.attr("width",l.width),e.attr("height",l.height)}l.width>y&&(y=l.width),p+=l.height+4,M.push(s)})),p+=8,u){let t=(y-m.width)/2;(0,n.Ltv)(b).attr("transform","translate( "+(-1*y/2+t)+", "+-1*p/2+")"),x=m.height+4}let T=(y-L.width)/2;return(0,n.Ltv)(v).attr("transform","translate( "+(-1*y/2+T)+", "+(-1*p/2+x)+")"),x+=L.height+4,o.attr("class","divider").attr("x1",-y/2-a).attr("x2",y/2+a).attr("y1",-p/2-a+8+x).attr("y2",-p/2-a+8+x),x+=8,S.forEach((t=>{(0,n.Ltv)(t).attr("transform","translate( "+-y/2+", "+(-1*p/2+x+4)+")");const e=null==t?void 0:t.getBBox();x+=((null==e?void 0:e.height)??0)+4})),x+=8,c.attr("class","divider").attr("x1",-y/2-a).attr("x2",y/2+a).attr("y1",-p/2-a+8+x).attr("y2",-p/2-a+8+x),x+=8,M.forEach((t=>{(0,n.Ltv)(t).attr("transform","translate( "+-y/2+", "+(-1*p/2+x)+")");const e=null==t?void 0:t.getBBox();x+=((null==e?void 0:e.height)??0)+4})),l.attr("style",e.style).attr("class","outer title-state").attr("x",-y/2-a).attr("y",-p/2-a).attr("width",y+e.padding).attr("height",p+e.padding),h(e,l),e.intersect=function(t){return f.rect(e,t)},s}};let S={};const M=async(t,e,a)=>{let n,i;if(e.link){let s;"sandbox"===(0,r.c)().securityLevel?s="_top":e.linkTarget&&(s=e.linkTarget||"_blank"),n=t.insert("svg:a").attr("xlink:href",e.link).attr("target",s),i=await L[e.shape](n,e,a)}else i=await L[e.shape](t,e,a),n=i;return e.tooltip&&i.attr("title",e.tooltip),e.class&&i.attr("class","node default "+e.class),n.attr("data-node","true"),n.attr("data-id",e.id),S[e.id]=n,e.haveCallback&&S[e.id].attr("class",S[e.id].attr("class")+" clickable"),n},T=(t,e)=>{S[e.id]=t},B=()=>{S={}},_=t=>{const e=S[t.id];r.l.trace("Transforming node",t.diff,t,"translate("+(t.x-t.width/2-5)+", "+t.width/2+")");const a=t.diff||0;return t.clusterNode?e.attr("transform","translate("+(t.x+a-t.width/2)+", "+(t.y-t.height/2-8)+")"):e.attr("transform","translate("+t.x+", "+t.y+")"),a},C=({flowchart:t})=>{var e,a;const r=(null==(e=null==t?void 0:t.subGraphTitleMargin)?void 0:e.top)??0,n=(null==(a=null==t?void 0:t.subGraphTitleMargin)?void 0:a.bottom)??0;return{subGraphTitleTopMargin:r,subGraphTitleBottomMargin:n,subGraphTitleTotalMargin:r+n}},E={aggregation:18,extension:18,composition:18,dependency:6,lollipop:13.5,arrow_point:5.3};function $(t,e){if(void 0===t||void 0===e)return{angle:0,deltaX:0,deltaY:0};t=P(t),e=P(e);const[a,r]=[t.x,t.y],[n,i]=[e.x,e.y],s=n-a,l=i-r;return{angle:Math.atan(l/s),deltaX:s,deltaY:l}}const P=t=>Array.isArray(t)?{x:t[0],y:t[1]}:t,R=t=>({x:function(e,a,r){let n=0;if(0===a&&Object.hasOwn(E,t.arrowTypeStart)){const{angle:e,deltaX:a}=$(r[0],r[1]);n=E[t.arrowTypeStart]*Math.cos(e)*(a>=0?1:-1)}else if(a===r.length-1&&Object.hasOwn(E,t.arrowTypeEnd)){const{angle:e,deltaX:a}=$(r[r.length-1],r[r.length-2]);n=E[t.arrowTypeEnd]*Math.cos(e)*(a>=0?1:-1)}return P(e).x+n},y:function(e,a,r){let n=0;if(0===a&&Object.hasOwn(E,t.arrowTypeStart)){const{angle:e,deltaY:a}=$(r[0],r[1]);n=E[t.arrowTypeStart]*Math.abs(Math.sin(e))*(a>=0?1:-1)}else if(a===r.length-1&&Object.hasOwn(E,t.arrowTypeEnd)){const{angle:e,deltaY:a}=$(r[r.length-1],r[r.length-2]);n=E[t.arrowTypeEnd]*Math.abs(Math.sin(e))*(a>=0?1:-1)}return P(e).y+n}}),Y=(t,e,a,r,n)=>{e.arrowTypeStart&&W(t,"start",e.arrowTypeStart,a,r,n),e.arrowTypeEnd&&W(t,"end",e.arrowTypeEnd,a,r,n)},O={arrow_cross:"cross",arrow_point:"point",arrow_barb:"barb",arrow_circle:"circle",aggregation:"aggregation",extension:"extension",composition:"composition",dependency:"dependency",lollipop:"lollipop"},W=(t,e,a,n,i,s)=>{const l=O[a];if(!l)return void r.l.warn(`Unknown arrow type: ${a}`);const d="start"===e?"Start":"End";t.attr(`marker-${e}`,`url(${n}#${i}_${s}-${l}${d})`)};let X={},H={};const I=()=>{X={},H={}},j=(t,e)=>{const a=(0,r.m)((0,r.c)().flowchart.htmlLabels),s="markdown"===e.labelType?(0,i.a)(t,e.label,{style:e.labelStyle,useHtmlLabels:a,addSvgBackground:!0}):d(e.label,e.labelStyle),l=t.insert("g").attr("class","edgeLabel"),o=l.insert("g").attr("class","label");o.node().appendChild(s);let h,c=s.getBBox();if(a){const t=s.children[0],e=(0,n.Ltv)(s);c=t.getBoundingClientRect(),e.attr("width",c.width),e.attr("height",c.height)}if(o.attr("transform","translate("+-c.width/2+", "+-c.height/2+")"),X[e.id]=l,e.width=c.width,e.height=c.height,e.startLabelLeft){const a=d(e.startLabelLeft,e.labelStyle),r=t.insert("g").attr("class","edgeTerminals"),n=r.insert("g").attr("class","inner");h=n.node().appendChild(a);const i=a.getBBox();n.attr("transform","translate("+-i.width/2+", "+-i.height/2+")"),H[e.id]||(H[e.id]={}),H[e.id].startLeft=r,D(h,e.startLabelLeft)}if(e.startLabelRight){const a=d(e.startLabelRight,e.labelStyle),r=t.insert("g").attr("class","edgeTerminals"),n=r.insert("g").attr("class","inner");h=r.node().appendChild(a),n.node().appendChild(a);const i=a.getBBox();n.attr("transform","translate("+-i.width/2+", "+-i.height/2+")"),H[e.id]||(H[e.id]={}),H[e.id].startRight=r,D(h,e.startLabelRight)}if(e.endLabelLeft){const a=d(e.endLabelLeft,e.labelStyle),r=t.insert("g").attr("class","edgeTerminals"),n=r.insert("g").attr("class","inner");h=n.node().appendChild(a);const i=a.getBBox();n.attr("transform","translate("+-i.width/2+", "+-i.height/2+")"),r.node().appendChild(a),H[e.id]||(H[e.id]={}),H[e.id].endLeft=r,D(h,e.endLabelLeft)}if(e.endLabelRight){const a=d(e.endLabelRight,e.labelStyle),r=t.insert("g").attr("class","edgeTerminals"),n=r.insert("g").attr("class","inner");h=n.node().appendChild(a);const i=a.getBBox();n.attr("transform","translate("+-i.width/2+", "+-i.height/2+")"),r.node().appendChild(a),H[e.id]||(H[e.id]={}),H[e.id].endRight=r,D(h,e.endLabelRight)}return s};function D(t,e){(0,r.c)().flowchart.htmlLabels&&t&&(t.style.width=9*e.length+"px",t.style.height="12px")}const N=(t,e)=>{r.l.debug("Moving label abc88 ",t.id,t.label,X[t.id],e);let a=e.updatedPath?e.updatedPath:e.originalPath;const n=(0,r.c)(),{subGraphTitleTotalMargin:i}=C(n);if(t.label){const n=X[t.id];let s=t.x,l=t.y;if(a){const n=r.u.calcLabelPosition(a);r.l.debug("Moving label "+t.label+" from (",s,",",l,") to (",n.x,",",n.y,") abc88"),e.updatedPath&&(s=n.x,l=n.y)}n.attr("transform",`translate(${s}, ${l+i/2})`)}if(t.startLabelLeft){const e=H[t.id].startLeft;let n=t.x,i=t.y;if(a){const e=r.u.calcTerminalLabelPosition(t.arrowTypeStart?10:0,"start_left",a);n=e.x,i=e.y}e.attr("transform",`translate(${n}, ${i})`)}if(t.startLabelRight){const e=H[t.id].startRight;let n=t.x,i=t.y;if(a){const e=r.u.calcTerminalLabelPosition(t.arrowTypeStart?10:0,"start_right",a);n=e.x,i=e.y}e.attr("transform",`translate(${n}, ${i})`)}if(t.endLabelLeft){const e=H[t.id].endLeft;let n=t.x,i=t.y;if(a){const e=r.u.calcTerminalLabelPosition(t.arrowTypeEnd?10:0,"end_left",a);n=e.x,i=e.y}e.attr("transform",`translate(${n}, ${i})`)}if(t.endLabelRight){const e=H[t.id].endRight;let n=t.x,i=t.y;if(a){const e=r.u.calcTerminalLabelPosition(t.arrowTypeEnd?10:0,"end_right",a);n=e.x,i=e.y}e.attr("transform",`translate(${n}, ${i})`)}},U=(t,e)=>{r.l.debug("abc88 cutPathAtIntersect",t,e);let a=[],n=t[0],i=!1;return t.forEach((t=>{if(((t,e)=>{const a=t.x,r=t.y,n=Math.abs(e.x-a),i=Math.abs(e.y-r),s=t.width/2,l=t.height/2;return n>=s||i>=l})(e,t)||i)n=t,i||a.push(t);else{const s=((t,e,a)=>{r.l.debug(`intersection calc abc89:\n outsidePoint: ${JSON.stringify(e)}\n insidePoint : ${JSON.stringify(a)}\n node : x:${t.x} y:${t.y} w:${t.width} h:${t.height}`);const n=t.x,i=t.y,s=Math.abs(n-a.x),l=t.width/2;let d=a.x<e.x?l-s:l+s;const o=t.height/2,h=Math.abs(e.y-a.y),c=Math.abs(e.x-a.x);if(Math.abs(i-e.y)*l>Math.abs(n-e.x)*o){let t=a.y<e.y?e.y-o-i:i-o-e.y;d=c*t/h;const n={x:a.x<e.x?a.x+d:a.x-c+d,y:a.y<e.y?a.y+h-t:a.y-h+t};return 0===d&&(n.x=e.x,n.y=e.y),0===c&&(n.x=e.x),0===h&&(n.y=e.y),r.l.debug(`abc89 topp/bott calc, Q ${h}, q ${t}, R ${c}, r ${d}`,n),n}{d=a.x<e.x?e.x-l-n:n-l-e.x;let t=h*d/c,i=a.x<e.x?a.x+c-d:a.x-c+d,s=a.y<e.y?a.y+t:a.y-t;return r.l.debug(`sides calc abc89, Q ${h}, q ${t}, R ${c}, r ${d}`,{_x:i,_y:s}),0===d&&(i=e.x,s=e.y),0===c&&(i=e.x),0===h&&(s=e.y),{x:i,y:s}}})(e,n,t);let l=!1;a.forEach((t=>{l=l||t.x===s.x&&t.y===s.y})),a.some((t=>t.x===s.x&&t.y===s.y))||a.push(s),i=!0}})),a},A=function(t,e,a,i,s,l,d){let o=a.points;r.l.debug("abc88 InsertEdge: edge=",a,"e=",e);let h=!1;const c=l.node(e.v);var y=l.node(e.w);(null==y?void 0:y.intersect)&&(null==c?void 0:c.intersect)&&(o=o.slice(1,a.points.length-1),o.unshift(c.intersect(o[0])),o.push(y.intersect(o[o.length-1]))),a.toCluster&&(r.l.debug("to cluster abc88",i[a.toCluster]),o=U(a.points,i[a.toCluster].node),h=!0),a.fromCluster&&(r.l.debug("from cluster abc88",i[a.fromCluster]),o=U(o.reverse(),i[a.fromCluster].node).reverse(),h=!0);const p=o.filter((t=>!Number.isNaN(t.y)));let g=n.qrM;!a.curve||"graph"!==s&&"flowchart"!==s||(g=a.curve);const{x:x,y:f}=R(a),u=(0,n.n8j)().x(x).y(f).curve(g);let w;switch(a.thickness){case"normal":w="edge-thickness-normal";break;case"thick":case"invisible":w="edge-thickness-thick";break;default:w=""}switch(a.pattern){case"solid":w+=" edge-pattern-solid";break;case"dotted":w+=" edge-pattern-dotted";break;case"dashed":w+=" edge-pattern-dashed"}const b=t.append("path").attr("d",u(p)).attr("id",a.id).attr("class"," "+w+(a.classes?" "+a.classes:"")).attr("style",a.style);let m="";((0,r.c)().flowchart.arrowMarkerAbsolute||(0,r.c)().state.arrowMarkerAbsolute)&&(m=window.location.protocol+"//"+window.location.host+window.location.pathname+window.location.search,m=m.replace(/\(/g,"\\("),m=m.replace(/\)/g,"\\)")),Y(b,a,m,d,s);let k={};return h&&(k.updatedPath=o),k.originalPath=a.points,k}}}]); \ No newline at end of file diff --git a/assets/js/929a6889.7ec9e044.js b/assets/js/929a6889.7ec9e044.js new file mode 100644 index 00000000..22807f2e --- /dev/null +++ b/assets/js/929a6889.7ec9e044.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[9155],{2749:(e,n,c)=>{c.r(n),c.d(n,{assets:()=>r,contentTitle:()=>i,default:()=>h,frontMatter:()=>s,metadata:()=>o,toc:()=>l});var t=c(4848),a=c(8453);const s={id:"account-set",title:"Use an Account Set",slug:"/docs/account-set"},i=void 0,o={id:"demo/account-set",title:"Use an Account Set",description:"Group the created accounts into an account set and check its balance.",source:"@site/docs/demo/account-set.mdx",sourceDirName:"demo",slug:"/docs/account-set",permalink:"/docs/account-set",draft:!1,unlisted:!1,tags:[],version:"current",frontMatter:{id:"account-set",title:"Use an Account Set",slug:"/docs/account-set"},sidebar:"demoSidebar",previous:{title:"Check the Balance of an Account",permalink:"/docs/check-account-balance"}},r={},l=[{value:"Create an Account Set",id:"create-an-account-set",level:2},{value:"Variables",id:"variables",level:3},{value:"GraphQL Request Body",id:"graphql-request-body",level:3},{value:"Response",id:"response",level:3},{value:"Add Accounts to the Account Set",id:"add-accounts-to-the-account-set",level:2},{value:"Variables",id:"variables-1",level:3},{value:"GraphQL Request Body",id:"graphql-request-body-1",level:3},{value:"Response",id:"response-1",level:3},{value:"Check the Balance of the Account Set",id:"check-the-balance-of-the-account-set",level:2},{value:"Variables",id:"variables-2",level:3},{value:"GraphQL Request Body",id:"graphql-request-body-2",level:3},{value:"Response",id:"response-2",level:3},{value:"Significance",id:"significance",level:2}];function d(e){const n={code:"code",h2:"h2",h3:"h3",li:"li",p:"p",pre:"pre",strong:"strong",ul:"ul",...(0,a.R)(),...e.components};return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(n.p,{children:"Group the created accounts into an account set and check its balance."}),"\n",(0,t.jsx)(n.h2,{id:"create-an-account-set",children:"Create an Account Set"}),"\n",(0,t.jsx)(n.p,{children:"This initial step sets up the framework for grouping accounts under a common set for streamlined financial management."}),"\n",(0,t.jsx)(n.h3,{id:"variables",children:"Variables"}),"\n",(0,t.jsxs)(n.ul,{children:["\n",(0,t.jsxs)(n.li,{children:[(0,t.jsx)(n.strong,{children:"Account Set ID"}),": The ",(0,t.jsx)(n.code,{children:"accountSetId"})," uniquely identifies the account set being created."]}),"\n",(0,t.jsxs)(n.li,{children:[(0,t.jsx)(n.strong,{children:"Journal ID"}),": The ",(0,t.jsx)(n.code,{children:"journalId"})," links the account set to a specific journal."]}),"\n",(0,t.jsxs)(n.li,{children:[(0,t.jsx)(n.strong,{children:"Name"}),": The ",(0,t.jsx)(n.code,{children:"name"})," parameter specifies the label or designation of the account set. This name helps users and systems identify and refer to the account set in operations and reports."]}),"\n",(0,t.jsxs)(n.li,{children:[(0,t.jsx)(n.strong,{children:"Normal Balance Type"}),": The ",(0,t.jsx)(n.code,{children:"normalBalanceType"})," indicates the expected normal balance of the account set (either 'DEBIT' or 'CREDIT'). This setting is foundational for ensuring that the account set correctly represents the nature of the majority of its transactions, aiding in proper financial analysis."]}),"\n"]}),"\n",(0,t.jsx)(n.pre,{children:(0,t.jsx)(n.code,{className:"language-json",children:'{\n "input": {\n "accountSetId": "e0cacaef-b692-48d6-81e2-238a5a614a04",\n "journalId": "bcc24f47-990c-457d-88cb-76332450ac77",\n "name": "Main Account Set",\n "normalBalanceType": "CREDIT"\n }\n}\n'})}),"\n",(0,t.jsx)(n.h3,{id:"graphql-request-body",children:"GraphQL Request Body"}),"\n",(0,t.jsx)(n.pre,{children:(0,t.jsx)(n.code,{className:"language-graphql",children:"mutation accountSetCreate($input: AccountSetCreateInput!) {\n accountSetCreate(input: $input) {\n accountSet {\n accountSetId\n name\n }\n }\n}\n"})}),"\n",(0,t.jsx)(n.h3,{id:"response",children:"Response"}),"\n",(0,t.jsx)(n.pre,{children:(0,t.jsx)(n.code,{className:"language-json",children:'{\n "data": {\n "accountSetCreate": {\n "accountSet": {\n "accountSetId": "e0cacaef-b692-48d6-81e2-238a5a614a04",\n "name": "Main Account Set"\n }\n }\n }\n}\n'})}),"\n",(0,t.jsx)(n.h2,{id:"add-accounts-to-the-account-set",children:"Add Accounts to the Account Set"}),"\n",(0,t.jsx)(n.p,{children:"After creating an account set, this section explains how to add individual accounts to it."}),"\n",(0,t.jsx)(n.h3,{id:"variables-1",children:"Variables"}),"\n",(0,t.jsxs)(n.ul,{children:["\n",(0,t.jsxs)(n.li,{children:[(0,t.jsx)(n.strong,{children:"Account Set ID"}),": The ",(0,t.jsx)(n.code,{children:"accountSetId"})," specifies which account set the accounts are being added to. This ensures that the accounts are grouped correctly."]}),"\n",(0,t.jsxs)(n.li,{children:[(0,t.jsx)(n.strong,{children:"Member ID"}),": The ",(0,t.jsx)(n.code,{children:"memberId"})," refers to the unique identifier of the account (e.g., ",(0,t.jsx)(n.code,{children:"Alice - Checking"}),") being added to the account set."]}),"\n",(0,t.jsxs)(n.li,{children:[(0,t.jsx)(n.strong,{children:"Member Type"}),": The ",(0,t.jsx)(n.code,{children:"memberType"}),' indicates the type of member being added to the set, in this case, an "ACCOUNT." This helps the system understand how to treat the member within the set, whether it\'s an individual account or another entity type.']}),"\n"]}),"\n",(0,t.jsx)(n.pre,{children:(0,t.jsx)(n.code,{className:"language-json",children:'{\n "input": {\n "accountSetId": "e0cacaef-b692-48d6-81e2-238a5a614a04",\n "memberId": "3a7d421b-7f5a-43ca-ba6f-5f3e6ee67237",\n "memberType": "ACCOUNT"\n }\n}\n'})}),"\n",(0,t.jsx)(n.h3,{id:"graphql-request-body-1",children:"GraphQL Request Body"}),"\n",(0,t.jsx)(n.pre,{children:(0,t.jsx)(n.code,{className:"language-graphql",children:'mutation addToAccountSet($input: AddToAccountSetInput!) {\n addToAccountSet(input: $input) {\n accountSet {\n accountSetId\n name\n balance(currency: "USD") {\n settled {\n normalBalance {\n units\n }\n }\n }\n }\n }\n}\n'})}),"\n",(0,t.jsx)(n.h3,{id:"response-1",children:"Response"}),"\n",(0,t.jsx)(n.pre,{children:(0,t.jsx)(n.code,{className:"language-json",children:'{\n "data": {\n "addToAccountSet": {\n "accountSet": {\n "accountSetId": "e0cacaef-b692-48d6-81e2-238a5a614a04",\n "name": "Main Account Set",\n "balance": {\n "settled": {\n "normalBalance": {\n "units": "9.53"\n }\n }\n }\n }\n }\n }\n}\n'})}),"\n",(0,t.jsx)(n.h2,{id:"check-the-balance-of-the-account-set",children:"Check the Balance of the Account Set"}),"\n",(0,t.jsx)(n.p,{children:"This section explains how to query the balance of the entire account set. This operation is crucial for obtaining a consolidated view of the financial status represented by the account set, providing valuable insights into the overall financial health of the grouped accounts."}),"\n",(0,t.jsx)(n.h3,{id:"variables-2",children:"Variables"}),"\n",(0,t.jsxs)(n.ul,{children:["\n",(0,t.jsxs)(n.li,{children:[(0,t.jsx)(n.strong,{children:"Account Set ID"}),": The ",(0,t.jsx)(n.code,{children:"accountSetId"})," is used to identify which account set's balance is being queried. This identification is essential for retrieving the correct balance information from potentially multiple sets."]}),"\n",(0,t.jsxs)(n.li,{children:[(0,t.jsx)(n.strong,{children:"Journal ID"}),": The ",(0,t.jsx)(n.code,{children:"journalId"})," helps to specify the journal context for the balance query. Since an account set could potentially be linked to multiple journals over time, this helps ensure the balance retrieved is relevant to the specified journal."]}),"\n",(0,t.jsxs)(n.li,{children:[(0,t.jsx)(n.strong,{children:"Currency"}),": The ",(0,t.jsx)(n.code,{children:"currency"})," specifies the currency unit (e.g., USD) in which the balance should be reported."]}),"\n"]}),"\n",(0,t.jsx)(n.pre,{children:(0,t.jsx)(n.code,{className:"language-json",children:'{\n "accountSetId": "e0cacaef-b692-48d6-81e2-238a5a614a04",\n "journalId": "bcc24f47-990c-457d-88cb-76332450ac77",\n "currency": "USD"\n}\n'})}),"\n",(0,t.jsx)(n.h3,{id:"graphql-request-body-2",children:"GraphQL Request Body"}),"\n",(0,t.jsx)(n.pre,{children:(0,t.jsx)(n.code,{className:"language-graphql",children:"query accountSetWithBalance($accountSetId: UUID!, $currency: CurrencyCode!) {\n accountSet(id: $accountSetId) {\n name\n journalId\n balance(currency: $currency) {\n settled {\n normalBalance {\n units\n }\n }\n }\n }\n}\n"})}),"\n",(0,t.jsx)(n.h3,{id:"response-2",children:"Response"}),"\n",(0,t.jsx)(n.pre,{children:(0,t.jsx)(n.code,{className:"language-json",children:'{\n "data": {\n "accountSet": {\n "name": "Main Account Set",\n "journalId": "bcc24f47-990c-457d-88cb-76332450ac77",\n "balance": {\n "settled": {\n "normalBalance": {\n "units": "9.53"\n }\n }\n }\n }\n }\n}\n'})}),"\n",(0,t.jsx)(n.h2,{id:"significance",children:"Significance"}),"\n",(0,t.jsx)(n.p,{children:"This page details how to use the GraphQL API to create an Account Set, add accounts, and query the balance of the Set. This method simplifies account management and enhances oversight by offering a unified view of financial health across grouped accounts. By consolidating accounts, businesses can streamline processes, enforce consistent transaction rules, and achieve detailed financial reporting and decision-making based on aggregated insights."})]})}function h(e={}){const{wrapper:n}={...(0,a.R)(),...e.components};return n?(0,t.jsx)(n,{...e,children:(0,t.jsx)(d,{...e})}):d(e)}}}]); \ No newline at end of file diff --git a/assets/js/common.eb4a5bf5.js b/assets/js/common.eb4a5bf5.js new file mode 100644 index 00000000..fe3711d7 --- /dev/null +++ b/assets/js/common.eb4a5bf5.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[2076],{8453:(e,n,t)=>{t.d(n,{R:()=>u,x:()=>c});var r=t(6540);const i={},o=r.createContext(i);function u(e){const n=r.useContext(o);return r.useMemo((function(){return"function"==typeof e?e(n):{...n,...e}}),[n,e])}function c(e){let n;return n=e.disableParentContext?"function"==typeof e.components?e.components(i):e.components||i:u(e.components),r.createElement(o.Provider,{value:n},e.children)}},1176:(e,n,t)=>{t.d(n,{Zp:()=>Ln});var r=t(8058),i=t(5664),o=t(8585),u=t(9142),c=t(4098),s=t(4722),a=t(1395),l=t(697);class f{constructor(){var e={};e._next=e._prev=e,this._sentinel=e}dequeue(){var e=this._sentinel,n=e._prev;if(n!==e)return d(n),n}enqueue(e){var n=this._sentinel;e._prev&&e._next&&d(e),e._next=n._next,n._next._prev=e,n._next=e,e._prev=n}toString(){for(var e=[],n=this._sentinel,t=n._prev;t!==n;)e.push(JSON.stringify(t,h)),t=t._prev;return"["+e.join(", ")+"]"}}function d(e){e._prev._next=e._next,e._next._prev=e._prev,delete e._next,delete e._prev}function h(e,n){if("_next"!==e&&"_prev"!==e)return n}var p=u.A(1);function g(e,n){if(e.nodeCount()<=1)return[];var t=function(e,n){var t=new l.T,i=0,o=0;r.A(e.nodes(),(function(e){t.setNode(e,{v:e,in:0,out:0})})),r.A(e.edges(),(function(e){var r=t.edge(e.v,e.w)||0,u=n(e),c=r+u;t.setEdge(e.v,e.w,c),o=Math.max(o,t.node(e.v).out+=u),i=Math.max(i,t.node(e.w).in+=u)}));var u=a.A(o+i+3).map((function(){return new f})),c=i+1;return r.A(t.nodes(),(function(e){m(u,c,t.node(e))})),{graph:t,buckets:u,zeroIdx:c}}(e,n||p),i=function(e,n,t){var r,i=[],o=n[n.length-1],u=n[0];for(;e.nodeCount();){for(;r=u.dequeue();)v(e,n,t,r);for(;r=o.dequeue();)v(e,n,t,r);if(e.nodeCount())for(var c=n.length-2;c>0;--c)if(r=n[c].dequeue()){i=i.concat(v(e,n,t,r,!0));break}}return i}(t.graph,t.buckets,t.zeroIdx);return c.A(s.A(i,(function(n){return e.outEdges(n.v,n.w)})))}function v(e,n,t,i,o){var u=o?[]:void 0;return r.A(e.inEdges(i.v),(function(r){var i=e.edge(r),c=e.node(r.v);o&&u.push({v:r.v,w:r.w}),c.out-=i,m(n,t,c)})),r.A(e.outEdges(i.v),(function(r){var i=e.edge(r),o=r.w,u=e.node(o);u.in-=i,m(n,t,u)})),e.removeNode(i.v),u}function m(e,n,t){t.out?t.in?e[t.out-t.in+n].enqueue(t):e[e.length-1].enqueue(t):e[0].enqueue(t)}function A(e){var n="greedy"===e.graph().acyclicer?g(e,function(e){return function(n){return e.edge(n).weight}}(e)):function(e){var n=[],t={},i={};function u(c){o.A(i,c)||(i[c]=!0,t[c]=!0,r.A(e.outEdges(c),(function(e){o.A(t,e.w)?n.push(e):u(e.w)})),delete t[c])}return r.A(e.nodes(),u),n}(e);r.A(n,(function(n){var t=e.edge(n);e.removeEdge(n),t.forwardName=n.name,t.reversed=!0,e.setEdge(n.w,n.v,t,i.A("rev"))}))}var b=t(8879),x=t(1942),y=t(3068),k=t(1882);const w=function(e,n,t){for(var r=-1,i=e.length;++r<i;){var o=e[r],u=n(o);if(null!=u&&(void 0===c?u==u&&!(0,k.A)(u):t(u,c)))var c=u,s=o}return s};const _=function(e,n){return e>n};var E=t(9008);const F=function(e){return e&&e.length?w(e,E.A,_):void 0};const S=function(e){var n=null==e?0:e.length;return n?e[n-1]:void 0};var I=t(2528),C=t(9841),j=t(9574);const T=function(e,n){var t={};return n=(0,j.A)(n,3),(0,C.A)(e,(function(e,r,i){(0,I.A)(t,r,n(e,r,i))})),t};var L=t(9592);const O=function(e,n){return e<n};const z=function(e){return e&&e.length?w(e,E.A,O):void 0};var D=t(1917);const M=function(){return D.A.Date.now()};function N(e,n,t,r){var o;do{o=i.A(r)}while(e.hasNode(o));return t.dummy=n,e.setNode(o,t),o}function B(e){var n=new l.T({multigraph:e.isMultigraph()}).setGraph(e.graph());return r.A(e.nodes(),(function(t){e.children(t).length||n.setNode(t,e.node(t))})),r.A(e.edges(),(function(t){n.setEdge(t,e.edge(t))})),n}function P(e,n){var t,r,i=e.x,o=e.y,u=n.x-i,c=n.y-o,s=e.width/2,a=e.height/2;if(!u&&!c)throw new Error("Not possible to find intersection inside of the rectangle");return Math.abs(c)*s>Math.abs(u)*a?(c<0&&(a=-a),t=a*u/c,r=a):(u<0&&(s=-s),t=s,r=s*c/u),{x:i+t,y:o+r}}function R(e){var n=s.A(a.A(H(e)+1),(function(){return[]}));return r.A(e.nodes(),(function(t){var r=e.node(t),i=r.rank;L.A(i)||(n[i][r.order]=t)})),n}function q(e,n,t,r){var i={width:0,height:0};return arguments.length>=4&&(i.rank=t,i.order=r),N(e,"border",i,n)}function H(e){return F(s.A(e.nodes(),(function(n){var t=e.node(n).rank;if(!L.A(t))return t})))}function V(e,n){var t=M();try{return n()}finally{console.log(e+" time: "+(M()-t)+"ms")}}function U(e,n){return n()}function $(e,n,t,r,i,o){var u={width:0,height:0,rank:o,borderType:n},c=i[n][o-1],s=N(e,"border",u,t);i[n][o]=s,e.setParent(s,r),c&&e.setEdge(c,s,{weight:1})}function Q(e){var n=e.graph().rankdir.toLowerCase();"bt"!==n&&"rl"!==n||function(e){r.A(e.nodes(),(function(n){Y(e.node(n))})),r.A(e.edges(),(function(n){var t=e.edge(n);r.A(t.points,Y),o.A(t,"y")&&Y(t)}))}(e),"lr"!==n&&"rl"!==n||(!function(e){r.A(e.nodes(),(function(n){Z(e.node(n))})),r.A(e.edges(),(function(n){var t=e.edge(n);r.A(t.points,Z),o.A(t,"x")&&Z(t)}))}(e),G(e))}function G(e){r.A(e.nodes(),(function(n){W(e.node(n))})),r.A(e.edges(),(function(n){W(e.edge(n))}))}function W(e){var n=e.width;e.width=e.height,e.height=n}function Y(e){e.y=-e.y}function Z(e){var n=e.x;e.x=e.y,e.y=n}function J(e){e.graph().dummyChains=[],r.A(e.edges(),(function(n){!function(e,n){var t,r,i,o=n.v,u=e.node(o).rank,c=n.w,s=e.node(c).rank,a=n.name,l=e.edge(n),f=l.labelRank;if(s===u+1)return;for(e.removeEdge(n),i=0,++u;u<s;++i,++u)l.points=[],t=N(e,"edge",r={width:0,height:0,edgeLabel:l,edgeObj:n,rank:u},"_d"),u===f&&(r.width=l.width,r.height=l.height,r.dummy="edge-label",r.labelpos=l.labelpos),e.setEdge(o,t,{weight:l.weight},a),0===i&&e.graph().dummyChains.push(t),o=t;e.setEdge(o,c,{weight:l.weight},a)}(e,n)}))}const K=function(e,n){return e&&e.length?w(e,(0,j.A)(n,2),O):void 0};function X(e){var n={};r.A(e.sources(),(function t(r){var i=e.node(r);if(o.A(n,r))return i.rank;n[r]=!0;var u=z(s.A(e.outEdges(r),(function(n){return t(n.w)-e.edge(n).minlen})));return u!==Number.POSITIVE_INFINITY&&null!=u||(u=0),i.rank=u}))}function ee(e,n){return e.node(n.w).rank-e.node(n.v).rank-e.edge(n).minlen}function ne(e){var n,t,r=new l.T({directed:!1}),i=e.nodes()[0],o=e.nodeCount();for(r.setNode(i,{});te(r,e)<o;)n=re(r,e),t=r.hasNode(n.v)?ee(e,n):-ee(e,n),ie(r,e,t);return r}function te(e,n){return r.A(e.nodes(),(function t(i){r.A(n.nodeEdges(i),(function(r){var o=r.v,u=i===o?r.w:o;e.hasNode(u)||ee(n,r)||(e.setNode(u,{}),e.setEdge(i,u,{}),t(u))}))})),e.nodeCount()}function re(e,n){return K(n.edges(),(function(t){if(e.hasNode(t.v)!==e.hasNode(t.w))return ee(n,t)}))}function ie(e,n,t){r.A(e.nodes(),(function(e){n.node(e).rank+=t}))}var oe=t(8446),ue=t(7422);const ce=function(e){return function(n,t,r){var i=Object(n);if(!(0,oe.A)(n)){var o=(0,j.A)(t,3);n=(0,ue.A)(n),t=function(e){return o(i[e],e,i)}}var u=e(n,t,r);return u>-1?i[o?n[u]:u]:void 0}};var se=t(5707),ae=t(4342);const le=function(e){var n=(0,ae.A)(e),t=n%1;return n==n?t?n-t:n:0};var fe=Math.max;const de=ce((function(e,n,t){var r=null==e?0:e.length;if(!r)return-1;var i=null==t?0:le(t);return i<0&&(i=fe(r+i,0)),(0,se.A)(e,(0,j.A)(n,3),i)}));var he=t(1662);u.A(1);u.A(1);t(1852),t(9779),t(8496);var pe=t(2049);t(3098);(0,t(805).A)("length");RegExp("[\\u200d\\ud800-\\udfff\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff\\ufe0e\\ufe0f]");var ge="\\ud800-\\udfff",ve="["+ge+"]",me="[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]",Ae="\\ud83c[\\udffb-\\udfff]",be="[^"+ge+"]",xe="(?:\\ud83c[\\udde6-\\uddff]){2}",ye="[\\ud800-\\udbff][\\udc00-\\udfff]",ke="(?:"+me+"|"+Ae+")"+"?",we="[\\ufe0e\\ufe0f]?",_e=we+ke+("(?:\\u200d(?:"+[be,xe,ye].join("|")+")"+we+ke+")*"),Ee="(?:"+[be+me+"?",me,xe,ye,ve].join("|")+")";RegExp(Ae+"(?="+Ae+")|"+Ee+_e,"g");function Fe(){}function Se(e,n,t){pe.A(n)||(n=[n]);var i=(e.isDirected()?e.successors:e.neighbors).bind(e),o=[],u={};return r.A(n,(function(n){if(!e.hasNode(n))throw new Error("Graph does not have node: "+n);Ie(e,n,"post"===t,u,i,o)})),o}function Ie(e,n,t,i,u,c){o.A(i,n)||(i[n]=!0,t||c.push(n),r.A(u(n),(function(n){Ie(e,n,t,i,u,c)})),t&&c.push(n))}Fe.prototype=new Error;t(3046);function Ce(e){e=function(e){var n=(new l.T).setGraph(e.graph());return r.A(e.nodes(),(function(t){n.setNode(t,e.node(t))})),r.A(e.edges(),(function(t){var r=n.edge(t.v,t.w)||{weight:0,minlen:1},i=e.edge(t);n.setEdge(t.v,t.w,{weight:r.weight+i.weight,minlen:Math.max(r.minlen,i.minlen)})})),n}(e),X(e);var n,t=ne(e);for(Le(t),je(t,e);n=ze(t);)Me(t,e,n,De(t,e,n))}function je(e,n){var t=function(e,n){return Se(e,n,"post")}(e,e.nodes());t=t.slice(0,t.length-1),r.A(t,(function(t){!function(e,n,t){var r=e.node(t),i=r.parent;e.edge(t,i).cutvalue=Te(e,n,t)}(e,n,t)}))}function Te(e,n,t){var i=e.node(t).parent,o=!0,u=n.edge(t,i),c=0;return u||(o=!1,u=n.edge(i,t)),c=u.weight,r.A(n.nodeEdges(t),(function(r){var u,s,a=r.v===t,l=a?r.w:r.v;if(l!==i){var f=a===o,d=n.edge(r).weight;if(c+=f?d:-d,u=t,s=l,e.hasEdge(u,s)){var h=e.edge(t,l).cutvalue;c+=f?-h:h}}})),c}function Le(e,n){arguments.length<2&&(n=e.nodes()[0]),Oe(e,{},1,n)}function Oe(e,n,t,i,u){var c=t,s=e.node(i);return n[i]=!0,r.A(e.neighbors(i),(function(r){o.A(n,r)||(t=Oe(e,n,t,r,i))})),s.low=c,s.lim=t++,u?s.parent=u:delete s.parent,t}function ze(e){return de(e.edges(),(function(n){return e.edge(n).cutvalue<0}))}function De(e,n,t){var r=t.v,i=t.w;n.hasEdge(r,i)||(r=t.w,i=t.v);var o=e.node(r),u=e.node(i),c=o,s=!1;o.lim>u.lim&&(c=u,s=!0);var a=he.A(n.edges(),(function(n){return s===Ne(e,e.node(n.v),c)&&s!==Ne(e,e.node(n.w),c)}));return K(a,(function(e){return ee(n,e)}))}function Me(e,n,t,i){var o=t.v,u=t.w;e.removeEdge(o,u),e.setEdge(i.v,i.w,{}),Le(e),je(e,n),function(e,n){var t=de(e.nodes(),(function(e){return!n.node(e).parent})),i=function(e,n){return Se(e,n,"pre")}(e,t);i=i.slice(1),r.A(i,(function(t){var r=e.node(t).parent,i=n.edge(t,r),o=!1;i||(i=n.edge(r,t),o=!0),n.node(t).rank=n.node(r).rank+(o?i.minlen:-i.minlen)}))}(e,n)}function Ne(e,n,t){return t.low<=n.lim&&n.lim<=t.lim}function Be(e){switch(e.graph().ranker){case"network-simplex":default:Re(e);break;case"tight-tree":!function(e){X(e),ne(e)}(e);break;case"longest-path":Pe(e)}}Ce.initLowLimValues=Le,Ce.initCutValues=je,Ce.calcCutValue=Te,Ce.leaveEdge=ze,Ce.enterEdge=De,Ce.exchangeEdges=Me;var Pe=X;function Re(e){Ce(e)}var qe=t(8207),He=t(9463);function Ve(e){var n=N(e,"root",{},"_root"),t=function(e){var n={};function t(i,o){var u=e.children(i);u&&u.length&&r.A(u,(function(e){t(e,o+1)})),n[i]=o}return r.A(e.children(),(function(e){t(e,1)})),n}(e),i=F(qe.A(t))-1,o=2*i+1;e.graph().nestingRoot=n,r.A(e.edges(),(function(n){e.edge(n).minlen*=o}));var u=function(e){return He.A(e.edges(),(function(n,t){return n+e.edge(t).weight}),0)}(e)+1;r.A(e.children(),(function(r){Ue(e,n,o,u,i,t,r)})),e.graph().nodeRankFactor=o}function Ue(e,n,t,i,o,u,c){var s=e.children(c);if(s.length){var a=q(e,"_bt"),l=q(e,"_bb"),f=e.node(c);e.setParent(a,c),f.borderTop=a,e.setParent(l,c),f.borderBottom=l,r.A(s,(function(r){Ue(e,n,t,i,o,u,r);var s=e.node(r),f=s.borderTop?s.borderTop:r,d=s.borderBottom?s.borderBottom:r,h=s.borderTop?i:2*i,p=f!==d?1:o-u[c]+1;e.setEdge(a,f,{weight:h,minlen:p,nestingEdge:!0}),e.setEdge(d,l,{weight:h,minlen:p,nestingEdge:!0})})),e.parent(c)||e.setEdge(n,a,{weight:0,minlen:o+u[c]})}else c!==n&&e.setEdge(n,c,{weight:0,minlen:t})}var $e=t(1641);const Qe=function(e){return(0,$e.A)(e,5)};function Ge(e,n,t){var u=function(e){var n;for(;e.hasNode(n=i.A("_root")););return n}(e),c=new l.T({compound:!0}).setGraph({root:u}).setDefaultNodeLabel((function(n){return e.node(n)}));return r.A(e.nodes(),(function(i){var s=e.node(i),a=e.parent(i);(s.rank===n||s.minRank<=n&&n<=s.maxRank)&&(c.setNode(i),c.setParent(i,a||u),r.A(e[t](i),(function(n){var t=n.v===i?n.w:n.v,r=c.edge(t,i),o=L.A(r)?0:r.weight;c.setEdge(t,i,{weight:e.edge(n).weight+o})})),o.A(s,"minRank")&&c.setNode(i,{borderLeft:s.borderLeft[n],borderRight:s.borderRight[n]}))})),c}var We=t(2851);const Ye=function(e,n,t){for(var r=-1,i=e.length,o=n.length,u={};++r<i;){var c=r<o?n[r]:void 0;t(u,e[r],c)}return u};const Ze=function(e,n){return Ye(e||[],n||[],We.A)};var Je=t(3588),Ke=t(5572),Xe=t(6318),en=t(2568);const nn=function(e,n){var t=e.length;for(e.sort(n);t--;)e[t]=e[t].value;return e};var tn=t(2789);const rn=function(e,n){if(e!==n){var t=void 0!==e,r=null===e,i=e==e,o=(0,k.A)(e),u=void 0!==n,c=null===n,s=n==n,a=(0,k.A)(n);if(!c&&!a&&!o&&e>n||o&&u&&s&&!c&&!a||r&&u&&s||!t&&s||!i)return 1;if(!r&&!o&&!a&&e<n||a&&t&&i&&!r&&!o||c&&t&&i||!u&&i||!s)return-1}return 0};const on=function(e,n,t){for(var r=-1,i=e.criteria,o=n.criteria,u=i.length,c=t.length;++r<u;){var s=rn(i[r],o[r]);if(s)return r>=c?s:s*("desc"==t[r]?-1:1)}return e.index-n.index};const un=function(e,n,t){n=n.length?(0,Ke.A)(n,(function(e){return(0,pe.A)(e)?function(n){return(0,Xe.A)(n,1===e.length?e[0]:e)}:e})):[E.A];var r=-1;n=(0,Ke.A)(n,(0,tn.A)(j.A));var i=(0,en.A)(e,(function(e,t,i){return{criteria:(0,Ke.A)(n,(function(n){return n(e)})),index:++r,value:e}}));return nn(i,(function(e,n){return on(e,n,t)}))};var cn=t(4326),sn=t(6832);const an=(0,cn.A)((function(e,n){if(null==e)return[];var t=n.length;return t>1&&(0,sn.A)(e,n[0],n[1])?n=[]:t>2&&(0,sn.A)(n[0],n[1],n[2])&&(n=[n[0]]),un(e,(0,Je.A)(n,1),[])}));function ln(e,n){for(var t=0,r=1;r<n.length;++r)t+=fn(e,n[r-1],n[r]);return t}function fn(e,n,t){for(var i=Ze(t,s.A(t,(function(e,n){return n}))),o=c.A(s.A(n,(function(n){return an(s.A(e.outEdges(n),(function(n){return{pos:i[n.w],weight:e.edge(n).weight}})),"pos")}))),u=1;u<t.length;)u<<=1;var a=2*u-1;u-=1;var l=s.A(new Array(a),(function(){return 0})),f=0;return r.A(o.forEach((function(e){var n=e.pos+u;l[n]+=e.weight;for(var t=0;n>0;)n%2&&(t+=l[n+1]),l[n=n-1>>1]+=e.weight;f+=e.weight*t}))),f}function dn(e,n){var t={};return r.A(e,(function(e,n){var r=t[e.v]={indegree:0,in:[],out:[],vs:[e.v],i:n};L.A(e.barycenter)||(r.barycenter=e.barycenter,r.weight=e.weight)})),r.A(n.edges(),(function(e){var n=t[e.v],r=t[e.w];L.A(n)||L.A(r)||(r.indegree++,n.out.push(t[e.w]))})),function(e){var n=[];function t(e){return function(n){n.merged||(L.A(n.barycenter)||L.A(e.barycenter)||n.barycenter>=e.barycenter)&&function(e,n){var t=0,r=0;e.weight&&(t+=e.barycenter*e.weight,r+=e.weight);n.weight&&(t+=n.barycenter*n.weight,r+=n.weight);e.vs=n.vs.concat(e.vs),e.barycenter=t/r,e.weight=r,e.i=Math.min(n.i,e.i),n.merged=!0}(e,n)}}function i(n){return function(t){t.in.push(n),0==--t.indegree&&e.push(t)}}for(;e.length;){var o=e.pop();n.push(o),r.A(o.in.reverse(),t(o)),r.A(o.out,i(o))}return s.A(he.A(n,(function(e){return!e.merged})),(function(e){return x.A(e,["vs","i","barycenter","weight"])}))}(he.A(t,(function(e){return!e.indegree})))}function hn(e,n){var t,i=function(e,n){var t={lhs:[],rhs:[]};return r.A(e,(function(e){n(e)?t.lhs.push(e):t.rhs.push(e)})),t}(e,(function(e){return o.A(e,"barycenter")})),u=i.lhs,s=an(i.rhs,(function(e){return-e.i})),a=[],l=0,f=0,d=0;u.sort((t=!!n,function(e,n){return e.barycenter<n.barycenter?-1:e.barycenter>n.barycenter?1:t?n.i-e.i:e.i-n.i})),d=pn(a,s,d),r.A(u,(function(e){d+=e.vs.length,a.push(e.vs),l+=e.barycenter*e.weight,f+=e.weight,d=pn(a,s,d)}));var h={vs:c.A(a)};return f&&(h.barycenter=l/f,h.weight=f),h}function pn(e,n,t){for(var r;n.length&&(r=S(n)).i<=t;)n.pop(),e.push(r.vs),t++;return t}function gn(e,n,t,i){var u=e.children(n),a=e.node(n),l=a?a.borderLeft:void 0,f=a?a.borderRight:void 0,d={};l&&(u=he.A(u,(function(e){return e!==l&&e!==f})));var h=function(e,n){return s.A(n,(function(n){var t=e.inEdges(n);if(t.length){var r=He.A(t,(function(n,t){var r=e.edge(t),i=e.node(t.v);return{sum:n.sum+r.weight*i.order,weight:n.weight+r.weight}}),{sum:0,weight:0});return{v:n,barycenter:r.sum/r.weight,weight:r.weight}}return{v:n}}))}(e,u);r.A(h,(function(n){if(e.children(n.v).length){var r=gn(e,n.v,t,i);d[n.v]=r,o.A(r,"barycenter")&&(u=n,c=r,L.A(u.barycenter)?(u.barycenter=c.barycenter,u.weight=c.weight):(u.barycenter=(u.barycenter*u.weight+c.barycenter*c.weight)/(u.weight+c.weight),u.weight+=c.weight))}var u,c}));var p=dn(h,t);!function(e,n){r.A(e,(function(e){e.vs=c.A(e.vs.map((function(e){return n[e]?n[e].vs:e})))}))}(p,d);var g=hn(p,i);if(l&&(g.vs=c.A([l,g.vs,f]),e.predecessors(l).length)){var v=e.node(e.predecessors(l)[0]),m=e.node(e.predecessors(f)[0]);o.A(g,"barycenter")||(g.barycenter=0,g.weight=0),g.barycenter=(g.barycenter*g.weight+v.order+m.order)/(g.weight+2),g.weight+=2}return g}function vn(e){var n=H(e),t=mn(e,a.A(1,n+1),"inEdges"),i=mn(e,a.A(n-1,-1,-1),"outEdges"),u=function(e){var n={},t=he.A(e.nodes(),(function(n){return!e.children(n).length})),i=F(s.A(t,(function(n){return e.node(n).rank}))),u=s.A(a.A(i+1),(function(){return[]})),c=an(t,(function(n){return e.node(n).rank}));return r.A(c,(function t(i){if(!o.A(n,i)){n[i]=!0;var c=e.node(i);u[c.rank].push(i),r.A(e.successors(i),t)}})),u}(e);bn(e,u);for(var c,l=Number.POSITIVE_INFINITY,f=0,d=0;d<4;++f,++d){An(f%2?t:i,f%4>=2);var h=ln(e,u=R(e));h<l&&(d=0,c=Qe(u),l=h)}bn(e,c)}function mn(e,n,t){return s.A(n,(function(n){return Ge(e,n,t)}))}function An(e,n){var t=new l.T;r.A(e,(function(e){var i=e.graph().root,o=gn(e,i,t,n);r.A(o.vs,(function(n,t){e.node(n).order=t})),function(e,n,t){var i,o={};r.A(t,(function(t){for(var r,u,c=e.parent(t);c;){if((r=e.parent(c))?(u=o[r],o[r]=c):(u=i,i=c),u&&u!==c)return void n.setEdge(u,c);c=r}}))}(e,t,o.vs)}))}function bn(e,n){r.A(n,(function(n){r.A(n,(function(n,t){e.node(n).order=t}))}))}function xn(e){var n=function(e){var n={},t=0;function i(o){var u=t;r.A(e.children(o),i),n[o]={low:u,lim:t++}}return r.A(e.children(),i),n}(e);r.A(e.graph().dummyChains,(function(t){for(var r=e.node(t),i=r.edgeObj,o=function(e,n,t,r){var i,o,u=[],c=[],s=Math.min(n[t].low,n[r].low),a=Math.max(n[t].lim,n[r].lim);i=t;do{i=e.parent(i),u.push(i)}while(i&&(n[i].low>s||a>n[i].lim));o=i,i=r;for(;(i=e.parent(i))!==o;)c.push(i);return{path:u.concat(c.reverse()),lca:o}}(e,n,i.v,i.w),u=o.path,c=o.lca,s=0,a=u[s],l=!0;t!==i.w;){if(r=e.node(t),l){for(;(a=u[s])!==c&&e.node(a).maxRank<r.rank;)s++;a===c&&(l=!1)}if(!l){for(;s<u.length-1&&e.node(a=u[s+1]).minRank<=r.rank;)s++;a=u[s]}e.setParent(t,a),t=e.successors(t)[0]}}))}var yn=t(9922);const kn=function(e,n){return e&&(0,C.A)(e,(0,yn.A)(n))};var wn=t(4574),_n=t(5615);const En=function(e,n){return null==e?e:(0,wn.A)(e,(0,yn.A)(n),_n.A)};function Fn(e,n){var t={};return He.A(n,(function(n,i){var o=0,u=0,c=n.length,s=S(i);return r.A(i,(function(n,a){var l=function(e,n){if(e.node(n).dummy)return de(e.predecessors(n),(function(n){return e.node(n).dummy}))}(e,n),f=l?e.node(l).order:c;(l||n===s)&&(r.A(i.slice(u,a+1),(function(n){r.A(e.predecessors(n),(function(r){var i=e.node(r),u=i.order;!(u<o||f<u)||i.dummy&&e.node(n).dummy||Sn(t,r,n)}))})),u=a+1,o=f)})),i})),t}function Sn(e,n,t){if(n>t){var r=n;n=t,t=r}var i=e[n];i||(e[n]=i={}),i[t]=!0}function In(e,n,t){if(n>t){var r=n;n=t,t=r}return o.A(e[n],t)}function Cn(e,n,t,i,u){var c={},s=function(e,n,t,i){var u=new l.T,c=e.graph(),s=function(e,n,t){return function(r,i,u){var c,s=r.node(i),a=r.node(u),l=0;if(l+=s.width/2,o.A(s,"labelpos"))switch(s.labelpos.toLowerCase()){case"l":c=-s.width/2;break;case"r":c=s.width/2}if(c&&(l+=t?c:-c),c=0,l+=(s.dummy?n:e)/2,l+=(a.dummy?n:e)/2,l+=a.width/2,o.A(a,"labelpos"))switch(a.labelpos.toLowerCase()){case"l":c=a.width/2;break;case"r":c=-a.width/2}return c&&(l+=t?c:-c),c=0,l}}(c.nodesep,c.edgesep,i);return r.A(n,(function(n){var i;r.A(n,(function(n){var r=t[n];if(u.setNode(r),i){var o=t[i],c=u.edge(o,r);u.setEdge(o,r,Math.max(s(e,n,i),c||0))}i=n}))})),u}(e,n,t,u),a=u?"borderLeft":"borderRight";function f(e,n){for(var t=s.nodes(),r=t.pop(),i={};r;)i[r]?e(r):(i[r]=!0,t.push(r),t=t.concat(n(r))),r=t.pop()}return f((function(e){c[e]=s.inEdges(e).reduce((function(e,n){return Math.max(e,c[n.v]+s.edge(n))}),0)}),s.predecessors.bind(s)),f((function(n){var t=s.outEdges(n).reduce((function(e,n){return Math.min(e,c[n.w]-s.edge(n))}),Number.POSITIVE_INFINITY),r=e.node(n);t!==Number.POSITIVE_INFINITY&&r.borderType!==a&&(c[n]=Math.max(c[n],t))}),s.successors.bind(s)),r.A(i,(function(e){c[e]=c[t[e]]})),c}function jn(e){var n,t=R(e),i=b.A(Fn(e,t),function(e,n){var t={};function i(n,i,o,u,c){var s;r.A(a.A(i,o),(function(i){s=n[i],e.node(s).dummy&&r.A(e.predecessors(s),(function(n){var r=e.node(n);r.dummy&&(r.order<u||r.order>c)&&Sn(t,n,s)}))}))}return He.A(n,(function(n,t){var o,u=-1,c=0;return r.A(t,(function(r,s){if("border"===e.node(r).dummy){var a=e.predecessors(r);a.length&&(o=e.node(a[0]).order,i(t,c,s,u,o),c=s,u=o)}i(t,c,t.length,o,n.length)})),t})),t}(e,t)),o={};r.A(["u","d"],(function(u){n="u"===u?t:qe.A(t).reverse(),r.A(["l","r"],(function(t){"r"===t&&(n=s.A(n,(function(e){return qe.A(e).reverse()})));var c=("u"===u?e.predecessors:e.successors).bind(e),a=function(e,n,t,i){var o={},u={},c={};return r.A(n,(function(e){r.A(e,(function(e,n){o[e]=e,u[e]=e,c[e]=n}))})),r.A(n,(function(e){var n=-1;r.A(e,(function(e){var r=i(e);if(r.length){r=an(r,(function(e){return c[e]}));for(var s=(r.length-1)/2,a=Math.floor(s),l=Math.ceil(s);a<=l;++a){var f=r[a];u[e]===e&&n<c[f]&&!In(t,e,f)&&(u[f]=e,u[e]=o[e]=o[f],n=c[f])}}}))})),{root:o,align:u}}(0,n,i,c),l=Cn(e,n,a.root,a.align,"r"===t);"r"===t&&(l=T(l,(function(e){return-e}))),o[u+t]=l}))}));var u=function(e,n){return K(qe.A(n),(function(n){var t=Number.NEGATIVE_INFINITY,r=Number.POSITIVE_INFINITY;return En(n,(function(n,i){var o=function(e,n){return e.node(n).width}(e,i)/2;t=Math.max(n+o,t),r=Math.min(n-o,r)})),t-r}))}(e,o);return function(e,n){var t=qe.A(n),i=z(t),o=F(t);r.A(["u","d"],(function(t){r.A(["l","r"],(function(r){var u,c=t+r,s=e[c];if(s!==n){var a=qe.A(s);(u="l"===r?i-z(a):o-F(a))&&(e[c]=T(s,(function(e){return e+u})))}}))}))}(o,u),function(e,n){return T(e.ul,(function(t,r){if(n)return e[n.toLowerCase()][r];var i=an(s.A(e,r));return(i[1]+i[2])/2}))}(o,e.graph().align)}function Tn(e){(function(e){var n=R(e),t=e.graph().ranksep,i=0;r.A(n,(function(n){var o=F(s.A(n,(function(n){return e.node(n).height})));r.A(n,(function(n){e.node(n).y=i+o/2})),i+=o+t}))})(e=B(e)),kn(jn(e),(function(n,t){e.node(t).x=n}))}function Ln(e,n){var t=n&&n.debugTiming?V:U;t("layout",(function(){var n=t(" buildLayoutGraph",(function(){return function(e){var n=new l.T({multigraph:!0,compound:!0}),t=Hn(e.graph());return n.setGraph(b.A({},zn,qn(t,On),x.A(t,Dn))),r.A(e.nodes(),(function(t){var r=Hn(e.node(t));n.setNode(t,y.A(qn(r,Mn),Nn)),n.setParent(t,e.parent(t))})),r.A(e.edges(),(function(t){var r=Hn(e.edge(t));n.setEdge(t,b.A({},Pn,qn(r,Bn),x.A(r,Rn)))})),n}(e)}));t(" runLayout",(function(){!function(e,n){n(" makeSpaceForEdgeLabels",(function(){!function(e){var n=e.graph();n.ranksep/=2,r.A(e.edges(),(function(t){var r=e.edge(t);r.minlen*=2,"c"!==r.labelpos.toLowerCase()&&("TB"===n.rankdir||"BT"===n.rankdir?r.width+=r.labeloffset:r.height+=r.labeloffset)}))}(e)})),n(" removeSelfEdges",(function(){!function(e){r.A(e.edges(),(function(n){if(n.v===n.w){var t=e.node(n.v);t.selfEdges||(t.selfEdges=[]),t.selfEdges.push({e:n,label:e.edge(n)}),e.removeEdge(n)}}))}(e)})),n(" acyclic",(function(){A(e)})),n(" nestingGraph.run",(function(){Ve(e)})),n(" rank",(function(){Be(B(e))})),n(" injectEdgeLabelProxies",(function(){!function(e){r.A(e.edges(),(function(n){var t=e.edge(n);if(t.width&&t.height){var r=e.node(n.v),i={rank:(e.node(n.w).rank-r.rank)/2+r.rank,e:n};N(e,"edge-proxy",i,"_ep")}}))}(e)})),n(" removeEmptyRanks",(function(){!function(e){var n=z(s.A(e.nodes(),(function(n){return e.node(n).rank}))),t=[];r.A(e.nodes(),(function(r){var i=e.node(r).rank-n;t[i]||(t[i]=[]),t[i].push(r)}));var i=0,o=e.graph().nodeRankFactor;r.A(t,(function(n,t){L.A(n)&&t%o!=0?--i:i&&r.A(n,(function(n){e.node(n).rank+=i}))}))}(e)})),n(" nestingGraph.cleanup",(function(){!function(e){var n=e.graph();e.removeNode(n.nestingRoot),delete n.nestingRoot,r.A(e.edges(),(function(n){e.edge(n).nestingEdge&&e.removeEdge(n)}))}(e)})),n(" normalizeRanks",(function(){!function(e){var n=z(s.A(e.nodes(),(function(n){return e.node(n).rank})));r.A(e.nodes(),(function(t){var r=e.node(t);o.A(r,"rank")&&(r.rank-=n)}))}(e)})),n(" assignRankMinMax",(function(){!function(e){var n=0;r.A(e.nodes(),(function(t){var r=e.node(t);r.borderTop&&(r.minRank=e.node(r.borderTop).rank,r.maxRank=e.node(r.borderBottom).rank,n=F(n,r.maxRank))})),e.graph().maxRank=n}(e)})),n(" removeEdgeLabelProxies",(function(){!function(e){r.A(e.nodes(),(function(n){var t=e.node(n);"edge-proxy"===t.dummy&&(e.edge(t.e).labelRank=t.rank,e.removeNode(n))}))}(e)})),n(" normalize.run",(function(){J(e)})),n(" parentDummyChains",(function(){xn(e)})),n(" addBorderSegments",(function(){!function(e){r.A(e.children(),(function n(t){var i=e.children(t),u=e.node(t);if(i.length&&r.A(i,n),o.A(u,"minRank")){u.borderLeft=[],u.borderRight=[];for(var c=u.minRank,s=u.maxRank+1;c<s;++c)$(e,"borderLeft","_bl",t,u,c),$(e,"borderRight","_br",t,u,c)}}))}(e)})),n(" order",(function(){vn(e)})),n(" insertSelfEdges",(function(){!function(e){var n=R(e);r.A(n,(function(n){var t=0;r.A(n,(function(n,i){var o=e.node(n);o.order=i+t,r.A(o.selfEdges,(function(n){N(e,"selfedge",{width:n.label.width,height:n.label.height,rank:o.rank,order:i+ ++t,e:n.e,label:n.label},"_se")})),delete o.selfEdges}))}))}(e)})),n(" adjustCoordinateSystem",(function(){!function(e){var n=e.graph().rankdir.toLowerCase();"lr"!==n&&"rl"!==n||G(e)}(e)})),n(" position",(function(){Tn(e)})),n(" positionSelfEdges",(function(){!function(e){r.A(e.nodes(),(function(n){var t=e.node(n);if("selfedge"===t.dummy){var r=e.node(t.e.v),i=r.x+r.width/2,o=r.y,u=t.x-i,c=r.height/2;e.setEdge(t.e,t.label),e.removeNode(n),t.label.points=[{x:i+2*u/3,y:o-c},{x:i+5*u/6,y:o-c},{x:i+u,y:o},{x:i+5*u/6,y:o+c},{x:i+2*u/3,y:o+c}],t.label.x=t.x,t.label.y=t.y}}))}(e)})),n(" removeBorderNodes",(function(){!function(e){r.A(e.nodes(),(function(n){if(e.children(n).length){var t=e.node(n),r=e.node(t.borderTop),i=e.node(t.borderBottom),o=e.node(S(t.borderLeft)),u=e.node(S(t.borderRight));t.width=Math.abs(u.x-o.x),t.height=Math.abs(i.y-r.y),t.x=o.x+t.width/2,t.y=r.y+t.height/2}})),r.A(e.nodes(),(function(n){"border"===e.node(n).dummy&&e.removeNode(n)}))}(e)})),n(" normalize.undo",(function(){!function(e){r.A(e.graph().dummyChains,(function(n){var t,r=e.node(n),i=r.edgeLabel;for(e.setEdge(r.edgeObj,i);r.dummy;)t=e.successors(n)[0],e.removeNode(n),i.points.push({x:r.x,y:r.y}),"edge-label"===r.dummy&&(i.x=r.x,i.y=r.y,i.width=r.width,i.height=r.height),n=t,r=e.node(n)}))}(e)})),n(" fixupEdgeLabelCoords",(function(){!function(e){r.A(e.edges(),(function(n){var t=e.edge(n);if(o.A(t,"x"))switch("l"!==t.labelpos&&"r"!==t.labelpos||(t.width-=t.labeloffset),t.labelpos){case"l":t.x-=t.width/2+t.labeloffset;break;case"r":t.x+=t.width/2+t.labeloffset}}))}(e)})),n(" undoCoordinateSystem",(function(){Q(e)})),n(" translateGraph",(function(){!function(e){var n=Number.POSITIVE_INFINITY,t=0,i=Number.POSITIVE_INFINITY,u=0,c=e.graph(),s=c.marginx||0,a=c.marginy||0;function l(e){var r=e.x,o=e.y,c=e.width,s=e.height;n=Math.min(n,r-c/2),t=Math.max(t,r+c/2),i=Math.min(i,o-s/2),u=Math.max(u,o+s/2)}r.A(e.nodes(),(function(n){l(e.node(n))})),r.A(e.edges(),(function(n){var t=e.edge(n);o.A(t,"x")&&l(t)})),n-=s,i-=a,r.A(e.nodes(),(function(t){var r=e.node(t);r.x-=n,r.y-=i})),r.A(e.edges(),(function(t){var u=e.edge(t);r.A(u.points,(function(e){e.x-=n,e.y-=i})),o.A(u,"x")&&(u.x-=n),o.A(u,"y")&&(u.y-=i)})),c.width=t-n+s,c.height=u-i+a}(e)})),n(" assignNodeIntersects",(function(){!function(e){r.A(e.edges(),(function(n){var t,r,i=e.edge(n),o=e.node(n.v),u=e.node(n.w);i.points?(t=i.points[0],r=i.points[i.points.length-1]):(i.points=[],t=u,r=o),i.points.unshift(P(o,t)),i.points.push(P(u,r))}))}(e)})),n(" reversePoints",(function(){!function(e){r.A(e.edges(),(function(n){var t=e.edge(n);t.reversed&&t.points.reverse()}))}(e)})),n(" acyclic.undo",(function(){!function(e){r.A(e.edges(),(function(n){var t=e.edge(n);if(t.reversed){e.removeEdge(n);var r=t.forwardName;delete t.reversed,delete t.forwardName,e.setEdge(n.w,n.v,t,r)}}))}(e)}))}(n,t)})),t(" updateInputGraph",(function(){!function(e,n){r.A(e.nodes(),(function(t){var r=e.node(t),i=n.node(t);r&&(r.x=i.x,r.y=i.y,n.children(t).length&&(r.width=i.width,r.height=i.height))})),r.A(e.edges(),(function(t){var r=e.edge(t),i=n.edge(t);r.points=i.points,o.A(i,"x")&&(r.x=i.x,r.y=i.y)})),e.graph().width=n.graph().width,e.graph().height=n.graph().height}(e,n)}))}))}var On=["nodesep","edgesep","ranksep","marginx","marginy"],zn={ranksep:50,edgesep:20,nodesep:50,rankdir:"tb"},Dn=["acyclicer","ranker","rankdir","align"],Mn=["width","height"],Nn={width:0,height:0},Bn=["minlen","weight","width","height","labeloffset"],Pn={minlen:1,weight:1,width:0,height:0,labeloffset:10,labelpos:"r"},Rn=["labelpos"];function qn(e,n){return T(x.A(e,n),Number)}function Hn(e){var n={};return r.A(e,(function(e,t){n[t.toLowerCase()]=e})),n}},3046:(e,n,t)=>{t.d(n,{T:()=>z});var r=t(8585),i=t(9142),o=t(9610),u=t(7422),c=t(1662),s=t(6401),a=t(8058),l=t(9592),f=t(3588),d=t(4326),h=t(2062),p=t(5707);const g=function(e){return e!=e};const v=function(e,n,t){for(var r=t-1,i=e.length;++r<i;)if(e[r]===n)return r;return-1};const m=function(e,n,t){return n==n?v(e,n,t):(0,p.A)(e,g,t)};const A=function(e,n){return!!(null==e?0:e.length)&&m(e,n,0)>-1};const b=function(e,n,t){for(var r=-1,i=null==e?0:e.length;++r<i;)if(t(n,e[r]))return!0;return!1};var x=t(4099),y=t(9857);const k=function(){};var w=t(9959),_=y.A&&1/(0,w.A)(new y.A([,-0]))[1]==1/0?function(e){return new y.A(e)}:k;const E=_;const F=function(e,n,t){var r=-1,i=A,o=e.length,u=!0,c=[],s=c;if(t)u=!1,i=b;else if(o>=200){var a=n?null:E(e);if(a)return(0,w.A)(a);u=!1,i=x.A,s=new h.A}else s=n?[]:c;e:for(;++r<o;){var l=e[r],f=n?n(l):l;if(l=t||0!==l?l:0,u&&f==f){for(var d=s.length;d--;)if(s[d]===f)continue e;n&&s.push(f),c.push(l)}else i(s,f,t)||(s!==c&&s.push(f),c.push(l))}return c};var S=t(3533);const I=(0,d.A)((function(e){return F((0,f.A)(e,1,S.A,!0))}));var C=t(8207),j=t(9463),T="\0",L="\0",O="\x01";class z{constructor(e={}){this._isDirected=!r.A(e,"directed")||e.directed,this._isMultigraph=!!r.A(e,"multigraph")&&e.multigraph,this._isCompound=!!r.A(e,"compound")&&e.compound,this._label=void 0,this._defaultNodeLabelFn=i.A(void 0),this._defaultEdgeLabelFn=i.A(void 0),this._nodes={},this._isCompound&&(this._parent={},this._children={},this._children[L]={}),this._in={},this._preds={},this._out={},this._sucs={},this._edgeObjs={},this._edgeLabels={}}isDirected(){return this._isDirected}isMultigraph(){return this._isMultigraph}isCompound(){return this._isCompound}setGraph(e){return this._label=e,this}graph(){return this._label}setDefaultNodeLabel(e){return o.A(e)||(e=i.A(e)),this._defaultNodeLabelFn=e,this}nodeCount(){return this._nodeCount}nodes(){return u.A(this._nodes)}sources(){var e=this;return c.A(this.nodes(),(function(n){return s.A(e._in[n])}))}sinks(){var e=this;return c.A(this.nodes(),(function(n){return s.A(e._out[n])}))}setNodes(e,n){var t=arguments,r=this;return a.A(e,(function(e){t.length>1?r.setNode(e,n):r.setNode(e)})),this}setNode(e,n){return r.A(this._nodes,e)?(arguments.length>1&&(this._nodes[e]=n),this):(this._nodes[e]=arguments.length>1?n:this._defaultNodeLabelFn(e),this._isCompound&&(this._parent[e]=L,this._children[e]={},this._children[L][e]=!0),this._in[e]={},this._preds[e]={},this._out[e]={},this._sucs[e]={},++this._nodeCount,this)}node(e){return this._nodes[e]}hasNode(e){return r.A(this._nodes,e)}removeNode(e){var n=this;if(r.A(this._nodes,e)){var t=function(e){n.removeEdge(n._edgeObjs[e])};delete this._nodes[e],this._isCompound&&(this._removeFromParentsChildList(e),delete this._parent[e],a.A(this.children(e),(function(e){n.setParent(e)})),delete this._children[e]),a.A(u.A(this._in[e]),t),delete this._in[e],delete this._preds[e],a.A(u.A(this._out[e]),t),delete this._out[e],delete this._sucs[e],--this._nodeCount}return this}setParent(e,n){if(!this._isCompound)throw new Error("Cannot set parent in a non-compound graph");if(l.A(n))n=L;else{for(var t=n+="";!l.A(t);t=this.parent(t))if(t===e)throw new Error("Setting "+n+" as parent of "+e+" would create a cycle");this.setNode(n)}return this.setNode(e),this._removeFromParentsChildList(e),this._parent[e]=n,this._children[n][e]=!0,this}_removeFromParentsChildList(e){delete this._children[this._parent[e]][e]}parent(e){if(this._isCompound){var n=this._parent[e];if(n!==L)return n}}children(e){if(l.A(e)&&(e=L),this._isCompound){var n=this._children[e];if(n)return u.A(n)}else{if(e===L)return this.nodes();if(this.hasNode(e))return[]}}predecessors(e){var n=this._preds[e];if(n)return u.A(n)}successors(e){var n=this._sucs[e];if(n)return u.A(n)}neighbors(e){var n=this.predecessors(e);if(n)return I(n,this.successors(e))}isLeaf(e){return 0===(this.isDirected()?this.successors(e):this.neighbors(e)).length}filterNodes(e){var n=new this.constructor({directed:this._isDirected,multigraph:this._isMultigraph,compound:this._isCompound});n.setGraph(this.graph());var t=this;a.A(this._nodes,(function(t,r){e(r)&&n.setNode(r,t)})),a.A(this._edgeObjs,(function(e){n.hasNode(e.v)&&n.hasNode(e.w)&&n.setEdge(e,t.edge(e))}));var r={};function i(e){var o=t.parent(e);return void 0===o||n.hasNode(o)?(r[e]=o,o):o in r?r[o]:i(o)}return this._isCompound&&a.A(n.nodes(),(function(e){n.setParent(e,i(e))})),n}setDefaultEdgeLabel(e){return o.A(e)||(e=i.A(e)),this._defaultEdgeLabelFn=e,this}edgeCount(){return this._edgeCount}edges(){return C.A(this._edgeObjs)}setPath(e,n){var t=this,r=arguments;return j.A(e,(function(e,i){return r.length>1?t.setEdge(e,i,n):t.setEdge(e,i),i})),this}setEdge(){var e,n,t,i,o=!1,u=arguments[0];"object"==typeof u&&null!==u&&"v"in u?(e=u.v,n=u.w,t=u.name,2===arguments.length&&(i=arguments[1],o=!0)):(e=u,n=arguments[1],t=arguments[3],arguments.length>2&&(i=arguments[2],o=!0)),e=""+e,n=""+n,l.A(t)||(t=""+t);var c=N(this._isDirected,e,n,t);if(r.A(this._edgeLabels,c))return o&&(this._edgeLabels[c]=i),this;if(!l.A(t)&&!this._isMultigraph)throw new Error("Cannot set a named edge when isMultigraph = false");this.setNode(e),this.setNode(n),this._edgeLabels[c]=o?i:this._defaultEdgeLabelFn(e,n,t);var s=function(e,n,t,r){var i=""+n,o=""+t;if(!e&&i>o){var u=i;i=o,o=u}var c={v:i,w:o};r&&(c.name=r);return c}(this._isDirected,e,n,t);return e=s.v,n=s.w,Object.freeze(s),this._edgeObjs[c]=s,D(this._preds[n],e),D(this._sucs[e],n),this._in[n][c]=s,this._out[e][c]=s,this._edgeCount++,this}edge(e,n,t){var r=1===arguments.length?B(this._isDirected,arguments[0]):N(this._isDirected,e,n,t);return this._edgeLabels[r]}hasEdge(e,n,t){var i=1===arguments.length?B(this._isDirected,arguments[0]):N(this._isDirected,e,n,t);return r.A(this._edgeLabels,i)}removeEdge(e,n,t){var r=1===arguments.length?B(this._isDirected,arguments[0]):N(this._isDirected,e,n,t),i=this._edgeObjs[r];return i&&(e=i.v,n=i.w,delete this._edgeLabels[r],delete this._edgeObjs[r],M(this._preds[n],e),M(this._sucs[e],n),delete this._in[n][r],delete this._out[e][r],this._edgeCount--),this}inEdges(e,n){var t=this._in[e];if(t){var r=C.A(t);return n?c.A(r,(function(e){return e.v===n})):r}}outEdges(e,n){var t=this._out[e];if(t){var r=C.A(t);return n?c.A(r,(function(e){return e.w===n})):r}}nodeEdges(e,n){var t=this.inEdges(e,n);if(t)return t.concat(this.outEdges(e,n))}}function D(e,n){e[n]?e[n]++:e[n]=1}function M(e,n){--e[n]||delete e[n]}function N(e,n,t,r){var i=""+n,o=""+t;if(!e&&i>o){var u=i;i=o,o=u}return i+O+o+O+(l.A(r)?T:r)}function B(e,n){return N(e,n.v,n.w,n.name)}z.prototype._nodeCount=0,z.prototype._edgeCount=0},697:(e,n,t)=>{t.d(n,{T:()=>r.T});var r=t(3046)},2062:(e,n,t)=>{t.d(n,{A:()=>c});var r=t(9471);const i=function(e){return this.__data__.set(e,"__lodash_hash_undefined__"),this};const o=function(e){return this.__data__.has(e)};function u(e){var n=-1,t=null==e?0:e.length;for(this.__data__=new r.A;++n<t;)this.add(e[n])}u.prototype.add=u.prototype.push=i,u.prototype.has=o;const c=u},2641:(e,n,t)=>{t.d(n,{A:()=>r});const r=function(e,n){for(var t=-1,r=null==e?0:e.length;++t<r&&!1!==n(e[t],t,e););return e}},2634:(e,n,t)=>{t.d(n,{A:()=>r});const r=function(e,n){for(var t=-1,r=null==e?0:e.length,i=0,o=[];++t<r;){var u=e[t];n(u,t,e)&&(o[i++]=u)}return o}},5572:(e,n,t)=>{t.d(n,{A:()=>r});const r=function(e,n){for(var t=-1,r=null==e?0:e.length,i=Array(r);++t<r;)i[t]=n(e[t],t,e);return i}},6912:(e,n,t)=>{t.d(n,{A:()=>r});const r=function(e,n){for(var t=-1,r=n.length,i=e.length;++t<r;)e[i+t]=n[t];return e}},1641:(e,n,t)=>{t.d(n,{A:()=>X});var r=t(9373),i=t(2641),o=t(2851),u=t(2031),c=t(7422);const s=function(e,n){return e&&(0,u.A)(n,(0,c.A)(n),e)};var a=t(5615);const l=function(e,n){return e&&(0,u.A)(n,(0,a.A)(n),e)};var f=t(154),d=t(9759),h=t(4792);const p=function(e,n){return(0,u.A)(e,(0,h.A)(e),n)};var g=t(6912),v=t(5647),m=t(3153);const A=Object.getOwnPropertySymbols?function(e){for(var n=[];e;)(0,g.A)(n,(0,h.A)(e)),e=(0,v.A)(e);return n}:m.A;const b=function(e,n){return(0,u.A)(e,A(e),n)};var x=t(9042),y=t(3831);const k=function(e){return(0,y.A)(e,a.A,A)};var w=t(9779),_=Object.prototype.hasOwnProperty;const E=function(e){var n=e.length,t=new e.constructor(n);return n&&"string"==typeof e[0]&&_.call(e,"index")&&(t.index=e.index,t.input=e.input),t};var F=t(565);const S=function(e,n){var t=n?(0,F.A)(e.buffer):e.buffer;return new e.constructor(t,e.byteOffset,e.byteLength)};var I=/\w*$/;const C=function(e){var n=new e.constructor(e.source,I.exec(e));return n.lastIndex=e.lastIndex,n};var j=t(241),T=j.A?j.A.prototype:void 0,L=T?T.valueOf:void 0;const O=function(e){return L?Object(L.call(e)):{}};var z=t(1801);const D=function(e,n,t){var r=e.constructor;switch(n){case"[object ArrayBuffer]":return(0,F.A)(e);case"[object Boolean]":case"[object Date]":return new r(+e);case"[object DataView]":return S(e,t);case"[object Float32Array]":case"[object Float64Array]":case"[object Int8Array]":case"[object Int16Array]":case"[object Int32Array]":case"[object Uint8Array]":case"[object Uint8ClampedArray]":case"[object Uint16Array]":case"[object Uint32Array]":return(0,z.A)(e,t);case"[object Map]":case"[object Set]":return new r;case"[object Number]":case"[object String]":return new r(e);case"[object RegExp]":return C(e);case"[object Symbol]":return O(e)}};var M=t(8598),N=t(2049),B=t(9912),P=t(3098);const R=function(e){return(0,P.A)(e)&&"[object Map]"==(0,w.A)(e)};var q=t(2789),H=t(4841),V=H.A&&H.A.isMap;const U=V?(0,q.A)(V):R;var $=t(3149);const Q=function(e){return(0,P.A)(e)&&"[object Set]"==(0,w.A)(e)};var G=H.A&&H.A.isSet;const W=G?(0,q.A)(G):Q;var Y="[object Arguments]",Z="[object Function]",J="[object Object]",K={};K[Y]=K["[object Array]"]=K["[object ArrayBuffer]"]=K["[object DataView]"]=K["[object Boolean]"]=K["[object Date]"]=K["[object Float32Array]"]=K["[object Float64Array]"]=K["[object Int8Array]"]=K["[object Int16Array]"]=K["[object Int32Array]"]=K["[object Map]"]=K["[object Number]"]=K[J]=K["[object RegExp]"]=K["[object Set]"]=K["[object String]"]=K["[object Symbol]"]=K["[object Uint8Array]"]=K["[object Uint8ClampedArray]"]=K["[object Uint16Array]"]=K["[object Uint32Array]"]=!0,K["[object Error]"]=K[Z]=K["[object WeakMap]"]=!1;const X=function e(n,t,u,h,g,v){var m,A=1&t,y=2&t,_=4&t;if(u&&(m=g?u(n,h,g,v):u(n)),void 0!==m)return m;if(!(0,$.A)(n))return n;var F=(0,N.A)(n);if(F){if(m=E(n),!A)return(0,d.A)(n,m)}else{var S=(0,w.A)(n),I=S==Z||"[object GeneratorFunction]"==S;if((0,B.A)(n))return(0,f.A)(n,A);if(S==J||S==Y||I&&!g){if(m=y||I?{}:(0,M.A)(n),!A)return y?b(n,l(m,n)):p(n,s(m,n))}else{if(!K[S])return g?n:{};m=D(n,S,A)}}v||(v=new r.A);var C=v.get(n);if(C)return C;v.set(n,m),W(n)?n.forEach((function(r){m.add(e(r,t,u,r,n,v))})):U(n)&&n.forEach((function(r,i){m.set(i,e(r,t,u,i,n,v))}));var j=_?y?k:x.A:y?a.A:c.A,T=F?void 0:j(n);return(0,i.A)(T||n,(function(r,i){T&&(r=n[i=r]),(0,o.A)(m,i,e(r,t,u,i,n,v))})),m}},6240:(e,n,t)=>{t.d(n,{A:()=>o});var r=t(9841),i=t(8446);const o=function(e,n){return function(t,r){if(null==t)return t;if(!(0,i.A)(t))return e(t,r);for(var o=t.length,u=n?o:-1,c=Object(t);(n?u--:++u<o)&&!1!==r(c[u],u,c););return t}}(r.A)},5707:(e,n,t)=>{t.d(n,{A:()=>r});const r=function(e,n,t,r){for(var i=e.length,o=t+(r?1:-1);r?o--:++o<i;)if(n(e[o],o,e))return o;return-1}},3588:(e,n,t)=>{t.d(n,{A:()=>a});var r=t(6912),i=t(241),o=t(2274),u=t(2049),c=i.A?i.A.isConcatSpreadable:void 0;const s=function(e){return(0,u.A)(e)||(0,o.A)(e)||!!(c&&e&&e[c])};const a=function e(n,t,i,o,u){var c=-1,a=n.length;for(i||(i=s),u||(u=[]);++c<a;){var l=n[c];t>0&&i(l)?t>1?e(l,t-1,i,o,u):(0,r.A)(u,l):o||(u[u.length]=l)}return u}},9841:(e,n,t)=>{t.d(n,{A:()=>o});var r=t(4574),i=t(7422);const o=function(e,n){return e&&(0,r.A)(e,n,i.A)}},6318:(e,n,t)=>{t.d(n,{A:()=>o});var r=t(7819),i=t(901);const o=function(e,n){for(var t=0,o=(n=(0,r.A)(n,e)).length;null!=e&&t<o;)e=e[(0,i.A)(n[t++])];return t&&t==o?e:void 0}},3831:(e,n,t)=>{t.d(n,{A:()=>o});var r=t(6912),i=t(2049);const o=function(e,n,t){var o=n(e);return(0,i.A)(e)?o:(0,r.A)(o,t(e))}},9574:(e,n,t)=>{t.d(n,{A:()=>G});var r=t(9373),i=t(2062);const o=function(e,n){for(var t=-1,r=null==e?0:e.length;++t<r;)if(n(e[t],t,e))return!0;return!1};var u=t(4099);const c=function(e,n,t,r,c,s){var a=1&t,l=e.length,f=n.length;if(l!=f&&!(a&&f>l))return!1;var d=s.get(e),h=s.get(n);if(d&&h)return d==n&&h==e;var p=-1,g=!0,v=2&t?new i.A:void 0;for(s.set(e,n),s.set(n,e);++p<l;){var m=e[p],A=n[p];if(r)var b=a?r(A,m,p,n,e,s):r(m,A,p,e,n,s);if(void 0!==b){if(b)continue;g=!1;break}if(v){if(!o(n,(function(e,n){if(!(0,u.A)(v,n)&&(m===e||c(m,e,t,r,s)))return v.push(n)}))){g=!1;break}}else if(m!==A&&!c(m,A,t,r,s)){g=!1;break}}return s.delete(e),s.delete(n),g};var s=t(241),a=t(3988),l=t(6984);const f=function(e){var n=-1,t=Array(e.size);return e.forEach((function(e,r){t[++n]=[r,e]})),t};var d=t(9959),h=s.A?s.A.prototype:void 0,p=h?h.valueOf:void 0;const g=function(e,n,t,r,i,o,u){switch(t){case"[object DataView]":if(e.byteLength!=n.byteLength||e.byteOffset!=n.byteOffset)return!1;e=e.buffer,n=n.buffer;case"[object ArrayBuffer]":return!(e.byteLength!=n.byteLength||!o(new a.A(e),new a.A(n)));case"[object Boolean]":case"[object Date]":case"[object Number]":return(0,l.A)(+e,+n);case"[object Error]":return e.name==n.name&&e.message==n.message;case"[object RegExp]":case"[object String]":return e==n+"";case"[object Map]":var s=f;case"[object Set]":var h=1&r;if(s||(s=d.A),e.size!=n.size&&!h)return!1;var g=u.get(e);if(g)return g==n;r|=2,u.set(e,n);var v=c(s(e),s(n),r,i,o,u);return u.delete(e),v;case"[object Symbol]":if(p)return p.call(e)==p.call(n)}return!1};var v=t(9042),m=Object.prototype.hasOwnProperty;const A=function(e,n,t,r,i,o){var u=1&t,c=(0,v.A)(e),s=c.length;if(s!=(0,v.A)(n).length&&!u)return!1;for(var a=s;a--;){var l=c[a];if(!(u?l in n:m.call(n,l)))return!1}var f=o.get(e),d=o.get(n);if(f&&d)return f==n&&d==e;var h=!0;o.set(e,n),o.set(n,e);for(var p=u;++a<s;){var g=e[l=c[a]],A=n[l];if(r)var b=u?r(A,g,l,n,e,o):r(g,A,l,e,n,o);if(!(void 0===b?g===A||i(g,A,t,r,o):b)){h=!1;break}p||(p="constructor"==l)}if(h&&!p){var x=e.constructor,y=n.constructor;x==y||!("constructor"in e)||!("constructor"in n)||"function"==typeof x&&x instanceof x&&"function"==typeof y&&y instanceof y||(h=!1)}return o.delete(e),o.delete(n),h};var b=t(9779),x=t(2049),y=t(9912),k=t(3858),w="[object Arguments]",_="[object Array]",E="[object Object]",F=Object.prototype.hasOwnProperty;const S=function(e,n,t,i,o,u){var s=(0,x.A)(e),a=(0,x.A)(n),l=s?_:(0,b.A)(e),f=a?_:(0,b.A)(n),d=(l=l==w?E:l)==E,h=(f=f==w?E:f)==E,p=l==f;if(p&&(0,y.A)(e)){if(!(0,y.A)(n))return!1;s=!0,d=!1}if(p&&!d)return u||(u=new r.A),s||(0,k.A)(e)?c(e,n,t,i,o,u):g(e,n,l,t,i,o,u);if(!(1&t)){var v=d&&F.call(e,"__wrapped__"),m=h&&F.call(n,"__wrapped__");if(v||m){var S=v?e.value():e,I=m?n.value():n;return u||(u=new r.A),o(S,I,t,i,u)}}return!!p&&(u||(u=new r.A),A(e,n,t,i,o,u))};var I=t(3098);const C=function e(n,t,r,i,o){return n===t||(null==n||null==t||!(0,I.A)(n)&&!(0,I.A)(t)?n!=n&&t!=t:S(n,t,r,i,e,o))};const j=function(e,n,t,i){var o=t.length,u=o,c=!i;if(null==e)return!u;for(e=Object(e);o--;){var s=t[o];if(c&&s[2]?s[1]!==e[s[0]]:!(s[0]in e))return!1}for(;++o<u;){var a=(s=t[o])[0],l=e[a],f=s[1];if(c&&s[2]){if(void 0===l&&!(a in e))return!1}else{var d=new r.A;if(i)var h=i(l,f,a,e,n,d);if(!(void 0===h?C(f,l,3,i,d):h))return!1}}return!0};var T=t(3149);const L=function(e){return e==e&&!(0,T.A)(e)};var O=t(7422);const z=function(e){for(var n=(0,O.A)(e),t=n.length;t--;){var r=n[t],i=e[r];n[t]=[r,i,L(i)]}return n};const D=function(e,n){return function(t){return null!=t&&(t[e]===n&&(void 0!==n||e in Object(t)))}};const M=function(e){var n=z(e);return 1==n.length&&n[0][2]?D(n[0][0],n[0][1]):function(t){return t===e||j(t,e,n)}};var N=t(6318);const B=function(e,n,t){var r=null==e?void 0:(0,N.A)(e,n);return void 0===r?t:r};var P=t(6807),R=t(6586),q=t(901);const H=function(e,n){return(0,R.A)(e)&&L(n)?D((0,q.A)(e),n):function(t){var r=B(t,e);return void 0===r&&r===n?(0,P.A)(t,e):C(n,r,3)}};var V=t(9008),U=t(805);const $=function(e){return function(n){return(0,N.A)(n,e)}};const Q=function(e){return(0,R.A)(e)?(0,U.A)((0,q.A)(e)):$(e)};const G=function(e){return"function"==typeof e?e:null==e?V.A:"object"==typeof e?(0,x.A)(e)?H(e[0],e[1]):M(e):Q(e)}},2568:(e,n,t)=>{t.d(n,{A:()=>o});var r=t(6240),i=t(8446);const o=function(e,n){var t=-1,o=(0,i.A)(e)?Array(e.length):[];return(0,r.A)(e,(function(e,r,i){o[++t]=n(e,r,i)})),o}},805:(e,n,t)=>{t.d(n,{A:()=>r});const r=function(e){return function(n){return null==n?void 0:n[e]}}},4099:(e,n,t)=>{t.d(n,{A:()=>r});const r=function(e,n){return e.has(n)}},9922:(e,n,t)=>{t.d(n,{A:()=>i});var r=t(9008);const i=function(e){return"function"==typeof e?e:r.A}},7819:(e,n,t)=>{t.d(n,{A:()=>l});var r=t(2049),i=t(6586),o=t(6632);var u=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,c=/\\(\\)?/g;const s=function(e){var n=(0,o.A)(e,(function(e){return 500===t.size&&t.clear(),e})),t=n.cache;return n}((function(e){var n=[];return 46===e.charCodeAt(0)&&n.push(""),e.replace(u,(function(e,t,r,i){n.push(r?i.replace(c,"$1"):t||e)})),n}));var a=t(8894);const l=function(e,n){return(0,r.A)(e)?e:(0,i.A)(e,n)?[e]:s((0,a.A)(e))}},9042:(e,n,t)=>{t.d(n,{A:()=>u});var r=t(3831),i=t(4792),o=t(7422);const u=function(e){return(0,r.A)(e,o.A,i.A)}},4792:(e,n,t)=>{t.d(n,{A:()=>c});var r=t(2634),i=t(3153),o=Object.prototype.propertyIsEnumerable,u=Object.getOwnPropertySymbols;const c=u?function(e){return null==e?[]:(e=Object(e),(0,r.A)(u(e),(function(n){return o.call(e,n)})))}:i.A},5054:(e,n,t)=>{t.d(n,{A:()=>a});var r=t(7819),i=t(2274),o=t(2049),u=t(5353),c=t(5254),s=t(901);const a=function(e,n,t){for(var a=-1,l=(n=(0,r.A)(n,e)).length,f=!1;++a<l;){var d=(0,s.A)(n[a]);if(!(f=null!=e&&t(e,d)))break;e=e[d]}return f||++a!=l?f:!!(l=null==e?0:e.length)&&(0,c.A)(l)&&(0,u.A)(d,l)&&((0,o.A)(e)||(0,i.A)(e))}},6586:(e,n,t)=>{t.d(n,{A:()=>c});var r=t(2049),i=t(1882),o=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,u=/^\w*$/;const c=function(e,n){if((0,r.A)(e))return!1;var t=typeof e;return!("number"!=t&&"symbol"!=t&&"boolean"!=t&&null!=e&&!(0,i.A)(e))||(u.test(e)||!o.test(e)||null!=n&&e in Object(n))}},9959:(e,n,t)=>{t.d(n,{A:()=>r});const r=function(e){var n=-1,t=Array(e.size);return e.forEach((function(e){t[++n]=e})),t}},901:(e,n,t)=>{t.d(n,{A:()=>i});var r=t(1882);const i=function(e){if("string"==typeof e||(0,r.A)(e))return e;var n=e+"";return"0"==n&&1/e==-1/0?"-0":n}},3068:(e,n,t)=>{t.d(n,{A:()=>a});var r=t(4326),i=t(6984),o=t(6832),u=t(5615),c=Object.prototype,s=c.hasOwnProperty;const a=(0,r.A)((function(e,n){e=Object(e);var t=-1,r=n.length,a=r>2?n[2]:void 0;for(a&&(0,o.A)(n[0],n[1],a)&&(r=1);++t<r;)for(var l=n[t],f=(0,u.A)(l),d=-1,h=f.length;++d<h;){var p=f[d],g=e[p];(void 0===g||(0,i.A)(g,c[p])&&!s.call(e,p))&&(e[p]=l[p])}return e}))},1662:(e,n,t)=>{t.d(n,{A:()=>s});var r=t(2634),i=t(6240);const o=function(e,n){var t=[];return(0,i.A)(e,(function(e,r,i){n(e,r,i)&&t.push(e)})),t};var u=t(9574),c=t(2049);const s=function(e,n){return((0,c.A)(e)?r.A:o)(e,(0,u.A)(n,3))}},4098:(e,n,t)=>{t.d(n,{A:()=>i});var r=t(3588);const i=function(e){return(null==e?0:e.length)?(0,r.A)(e,1):[]}},8058:(e,n,t)=>{t.d(n,{A:()=>c});var r=t(2641),i=t(6240),o=t(9922),u=t(2049);const c=function(e,n){return((0,u.A)(e)?r.A:i.A)(e,(0,o.A)(n))}},8585:(e,n,t)=>{t.d(n,{A:()=>u});var r=Object.prototype.hasOwnProperty;const i=function(e,n){return null!=e&&r.call(e,n)};var o=t(5054);const u=function(e,n){return null!=e&&(0,o.A)(e,n,i)}},6807:(e,n,t)=>{t.d(n,{A:()=>o});const r=function(e,n){return null!=e&&n in Object(e)};var i=t(5054);const o=function(e,n){return null!=e&&(0,i.A)(e,n,r)}},1882:(e,n,t)=>{t.d(n,{A:()=>o});var r=t(8496),i=t(3098);const o=function(e){return"symbol"==typeof e||(0,i.A)(e)&&"[object Symbol]"==(0,r.A)(e)}},9592:(e,n,t)=>{t.d(n,{A:()=>r});const r=function(e){return void 0===e}},7422:(e,n,t)=>{t.d(n,{A:()=>u});var r=t(3607),i=t(1852),o=t(8446);const u=function(e){return(0,o.A)(e)?(0,r.A)(e):(0,i.A)(e)}},4722:(e,n,t)=>{t.d(n,{A:()=>c});var r=t(5572),i=t(9574),o=t(2568),u=t(2049);const c=function(e,n){return((0,u.A)(e)?r.A:o.A)(e,(0,i.A)(n,3))}},1942:(e,n,t)=>{t.d(n,{A:()=>v});var r=t(6318),i=t(2851),o=t(7819),u=t(5353),c=t(3149),s=t(901);const a=function(e,n,t,r){if(!(0,c.A)(e))return e;for(var a=-1,l=(n=(0,o.A)(n,e)).length,f=l-1,d=e;null!=d&&++a<l;){var h=(0,s.A)(n[a]),p=t;if("__proto__"===h||"constructor"===h||"prototype"===h)return e;if(a!=f){var g=d[h];void 0===(p=r?r(g,h,d):void 0)&&(p=(0,c.A)(g)?g:(0,u.A)(n[a+1])?[]:{})}(0,i.A)(d,h,p),d=d[h]}return e};const l=function(e,n,t){for(var i=-1,u=n.length,c={};++i<u;){var s=n[i],l=(0,r.A)(e,s);t(l,s)&&a(c,(0,o.A)(s,e),l)}return c};var f=t(6807);const d=function(e,n){return l(e,n,(function(n,t){return(0,f.A)(e,t)}))};var h=t(4098),p=t(6875),g=t(7525);const v=function(e){return(0,g.A)((0,p.A)(e,void 0,h.A),e+"")}((function(e,n){return null==e?{}:d(e,n)}))},1395:(e,n,t)=>{t.d(n,{A:()=>s});var r=Math.ceil,i=Math.max;const o=function(e,n,t,o){for(var u=-1,c=i(r((n-e)/(t||1)),0),s=Array(c);c--;)s[o?c:++u]=e,e+=t;return s};var u=t(6832),c=t(4342);const s=function(e){return function(n,t,r){return r&&"number"!=typeof r&&(0,u.A)(n,t,r)&&(t=r=void 0),n=(0,c.A)(n),void 0===t?(t=n,n=0):t=(0,c.A)(t),r=void 0===r?n<t?1:-1:(0,c.A)(r),o(n,t,r,e)}}()},9463:(e,n,t)=>{t.d(n,{A:()=>s});const r=function(e,n,t,r){var i=-1,o=null==e?0:e.length;for(r&&o&&(t=e[++i]);++i<o;)t=n(t,e[i],i,e);return t};var i=t(6240),o=t(9574);const u=function(e,n,t,r,i){return i(e,(function(e,i,o){t=r?(r=!1,e):n(t,e,i,o)})),t};var c=t(2049);const s=function(e,n,t){var s=(0,c.A)(e)?r:u,a=arguments.length<3;return s(e,(0,o.A)(n,4),t,a,i.A)}},3153:(e,n,t)=>{t.d(n,{A:()=>r});const r=function(){return[]}},4342:(e,n,t)=>{t.d(n,{A:()=>g});var r=/\s/;const i=function(e){for(var n=e.length;n--&&r.test(e.charAt(n)););return n};var o=/^\s+/;const u=function(e){return e?e.slice(0,i(e)+1).replace(o,""):e};var c=t(3149),s=t(1882),a=/^[-+]0x[0-9a-f]+$/i,l=/^0b[01]+$/i,f=/^0o[0-7]+$/i,d=parseInt;const h=function(e){if("number"==typeof e)return e;if((0,s.A)(e))return NaN;if((0,c.A)(e)){var n="function"==typeof e.valueOf?e.valueOf():e;e=(0,c.A)(n)?n+"":n}if("string"!=typeof e)return 0===e?e:+e;e=u(e);var t=l.test(e);return t||f.test(e)?d(e.slice(2),t?2:8):a.test(e)?NaN:+e};var p=1/0;const g=function(e){return e?(e=h(e))===p||e===-1/0?17976931348623157e292*(e<0?-1:1):e==e?e:0:0===e?e:0}},8894:(e,n,t)=>{t.d(n,{A:()=>l});var r=t(241),i=t(5572),o=t(2049),u=t(1882),c=r.A?r.A.prototype:void 0,s=c?c.toString:void 0;const a=function e(n){if("string"==typeof n)return n;if((0,o.A)(n))return(0,i.A)(n,e)+"";if((0,u.A)(n))return s?s.call(n):"";var t=n+"";return"0"==t&&1/n==-1/0?"-0":t};const l=function(e){return null==e?"":a(e)}},5664:(e,n,t)=>{t.d(n,{A:()=>o});var r=t(8894),i=0;const o=function(e){var n=++i;return(0,r.A)(e)+n}},8207:(e,n,t)=>{t.d(n,{A:()=>u});var r=t(5572);const i=function(e,n){return(0,r.A)(n,(function(n){return e[n]}))};var o=t(7422);const u=function(e){return null==e?[]:i(e,(0,o.A)(e))}},7560:(e,n,t)=>{t.d(n,{a:()=>hn,c:()=>fn});var r={};t.r(r),t.d(r,{attentionMarkers:()=>Pe,contentInitial:()=>Oe,disable:()=>Re,document:()=>Le,flow:()=>De,flowInitial:()=>ze,insideSpan:()=>Be,string:()=>Me,text:()=>Ne});var i=t(9702);const o={};function u(e,n,t){if(function(e){return Boolean(e&&"object"==typeof e)}(e)){if("value"in e)return"html"!==e.type||t?e.value:"";if(n&&"alt"in e&&e.alt)return e.alt;if("children"in e)return c(e.children,n,t)}return Array.isArray(e)?c(e,n,t):""}function c(e,n,t){const r=[];let i=-1;for(;++i<e.length;)r[i]=u(e[i],n,t);return r.join("")}function s(e,n,t,r){const i=e.length;let o,u=0;if(n=n<0?-n>i?0:i+n:n>i?i:n,t=t>0?t:0,r.length<1e4)o=Array.from(r),o.unshift(n,t),e.splice(...o);else for(t&&e.splice(n,t);u<r.length;)o=r.slice(u,u+1e4),o.unshift(n,0),e.splice(...o),u+=1e4,n+=1e4}function a(e,n){return e.length>0?(s(e,e.length,0,n),e):n}const l={}.hasOwnProperty;function f(e,n){let t;for(t in n){const r=(l.call(e,t)?e[t]:void 0)||(e[t]={}),i=n[t];let o;if(i)for(o in i){l.call(r,o)||(r[o]=[]);const e=i[o];d(r[o],Array.isArray(e)?e:e?[e]:[])}}}function d(e,n){let t=-1;const r=[];for(;++t<n.length;)("after"===n[t].add?e:r).push(n[t]);s(e,0,0,r)}const h=E(/[A-Za-z]/),p=E(/[\dA-Za-z]/),g=E(/[#-'*+\--9=?A-Z^-~]/);function v(e){return null!==e&&(e<32||127===e)}const m=E(/\d/),A=E(/[\dA-Fa-f]/),b=E(/[!-/:-@[-`{-~]/);function x(e){return null!==e&&e<-2}function y(e){return null!==e&&(e<0||32===e)}function k(e){return-2===e||-1===e||32===e}const w=E(/[!-\/:-@\[-`\{-~\xA1\xA7\xAB\xB6\xB7\xBB\xBF\u037E\u0387\u055A-\u055F\u0589\u058A\u05BE\u05C0\u05C3\u05C6\u05F3\u05F4\u0609\u060A\u060C\u060D\u061B\u061D-\u061F\u066A-\u066D\u06D4\u0700-\u070D\u07F7-\u07F9\u0830-\u083E\u085E\u0964\u0965\u0970\u09FD\u0A76\u0AF0\u0C77\u0C84\u0DF4\u0E4F\u0E5A\u0E5B\u0F04-\u0F12\u0F14\u0F3A-\u0F3D\u0F85\u0FD0-\u0FD4\u0FD9\u0FDA\u104A-\u104F\u10FB\u1360-\u1368\u1400\u166E\u169B\u169C\u16EB-\u16ED\u1735\u1736\u17D4-\u17D6\u17D8-\u17DA\u1800-\u180A\u1944\u1945\u1A1E\u1A1F\u1AA0-\u1AA6\u1AA8-\u1AAD\u1B5A-\u1B60\u1B7D\u1B7E\u1BFC-\u1BFF\u1C3B-\u1C3F\u1C7E\u1C7F\u1CC0-\u1CC7\u1CD3\u2010-\u2027\u2030-\u2043\u2045-\u2051\u2053-\u205E\u207D\u207E\u208D\u208E\u2308-\u230B\u2329\u232A\u2768-\u2775\u27C5\u27C6\u27E6-\u27EF\u2983-\u2998\u29D8-\u29DB\u29FC\u29FD\u2CF9-\u2CFC\u2CFE\u2CFF\u2D70\u2E00-\u2E2E\u2E30-\u2E4F\u2E52-\u2E5D\u3001-\u3003\u3008-\u3011\u3014-\u301F\u3030\u303D\u30A0\u30FB\uA4FE\uA4FF\uA60D-\uA60F\uA673\uA67E\uA6F2-\uA6F7\uA874-\uA877\uA8CE\uA8CF\uA8F8-\uA8FA\uA8FC\uA92E\uA92F\uA95F\uA9C1-\uA9CD\uA9DE\uA9DF\uAA5C-\uAA5F\uAADE\uAADF\uAAF0\uAAF1\uABEB\uFD3E\uFD3F\uFE10-\uFE19\uFE30-\uFE52\uFE54-\uFE61\uFE63\uFE68\uFE6A\uFE6B\uFF01-\uFF03\uFF05-\uFF0A\uFF0C-\uFF0F\uFF1A\uFF1B\uFF1F\uFF20\uFF3B-\uFF3D\uFF3F\uFF5B\uFF5D\uFF5F-\uFF65]/),_=E(/\s/);function E(e){return function(n){return null!==n&&e.test(String.fromCharCode(n))}}function F(e,n,t,r){const i=r?r-1:Number.POSITIVE_INFINITY;let o=0;return function(r){if(k(r))return e.enter(t),u(r);return n(r)};function u(r){return k(r)&&o++<i?(e.consume(r),u):(e.exit(t),n(r))}}const S={tokenize:function(e){const n=e.attempt(this.parser.constructs.contentInitial,(function(t){if(null===t)return void e.consume(t);return e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),F(e,n,"linePrefix")}),(function(n){return e.enter("paragraph"),r(n)}));let t;return n;function r(n){const r=e.enter("chunkText",{contentType:"text",previous:t});return t&&(t.next=r),t=r,i(n)}function i(n){return null===n?(e.exit("chunkText"),e.exit("paragraph"),void e.consume(n)):x(n)?(e.consume(n),e.exit("chunkText"),r):(e.consume(n),i)}}};const I={tokenize:function(e){const n=this,t=[];let r,i,o,u=0;return c;function c(r){if(u<t.length){const i=t[u];return n.containerState=i[1],e.attempt(i[0].continuation,a,l)(r)}return l(r)}function a(e){if(u++,n.containerState._closeFlow){n.containerState._closeFlow=void 0,r&&b();const t=n.events.length;let i,o=t;for(;o--;)if("exit"===n.events[o][0]&&"chunkFlow"===n.events[o][1].type){i=n.events[o][1].end;break}A(u);let c=t;for(;c<n.events.length;)n.events[c][1].end=Object.assign({},i),c++;return s(n.events,o+1,0,n.events.slice(t)),n.events.length=c,l(e)}return c(e)}function l(i){if(u===t.length){if(!r)return h(i);if(r.currentConstruct&&r.currentConstruct.concrete)return g(i);n.interrupt=Boolean(r.currentConstruct&&!r._gfmTableDynamicInterruptHack)}return n.containerState={},e.check(C,f,d)(i)}function f(e){return r&&b(),A(u),h(e)}function d(e){return n.parser.lazy[n.now().line]=u!==t.length,o=n.now().offset,g(e)}function h(t){return n.containerState={},e.attempt(C,p,g)(t)}function p(e){return u++,t.push([n.currentConstruct,n.containerState]),h(e)}function g(t){return null===t?(r&&b(),A(0),void e.consume(t)):(r=r||n.parser.flow(n.now()),e.enter("chunkFlow",{contentType:"flow",previous:i,_tokenizer:r}),v(t))}function v(t){return null===t?(m(e.exit("chunkFlow"),!0),A(0),void e.consume(t)):x(t)?(e.consume(t),m(e.exit("chunkFlow")),u=0,n.interrupt=void 0,c):(e.consume(t),v)}function m(e,t){const c=n.sliceStream(e);if(t&&c.push(null),e.previous=i,i&&(i.next=e),i=e,r.defineSkip(e.start),r.write(c),n.parser.lazy[e.start.line]){let e=r.events.length;for(;e--;)if(r.events[e][1].start.offset<o&&(!r.events[e][1].end||r.events[e][1].end.offset>o))return;const t=n.events.length;let i,c,a=t;for(;a--;)if("exit"===n.events[a][0]&&"chunkFlow"===n.events[a][1].type){if(i){c=n.events[a][1].end;break}i=!0}for(A(u),e=t;e<n.events.length;)n.events[e][1].end=Object.assign({},c),e++;s(n.events,a+1,0,n.events.slice(t)),n.events.length=e}}function A(r){let i=t.length;for(;i-- >r;){const r=t[i];n.containerState=r[1],r[0].exit.call(n,e)}t.length=r}function b(){r.write([null]),i=void 0,r=void 0,n.containerState._closeFlow=void 0}}},C={tokenize:function(e,n,t){return F(e,e.attempt(this.parser.constructs.document,n,t),"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}};const j={tokenize:function(e,n,t){return function(n){return k(n)?F(e,r,"linePrefix")(n):r(n)};function r(e){return null===e||x(e)?n(e):t(e)}},partial:!0};function T(e,n,t,r){const i=e.length;let o,u=0;if(n=n<0?-n>i?0:i+n:n>i?i:n,t=t>0?t:0,r.length<1e4)o=Array.from(r),o.unshift(n,t),e.splice(...o);else for(t&&e.splice(n,t);u<r.length;)o=r.slice(u,u+1e4),o.unshift(n,0),e.splice(...o),u+=1e4,n+=1e4}function L(e){const n={};let t,r,i,o,u,c,s,a=-1;for(;++a<e.length;){for(;a in n;)a=n[a];if(t=e[a],a&&"chunkFlow"===t[1].type&&"listItemPrefix"===e[a-1][1].type&&(c=t[1]._tokenizer.events,i=0,i<c.length&&"lineEndingBlank"===c[i][1].type&&(i+=2),i<c.length&&"content"===c[i][1].type))for(;++i<c.length&&"content"!==c[i][1].type;)"chunkText"===c[i][1].type&&(c[i][1]._isInFirstContentOfListItem=!0,i++);if("enter"===t[0])t[1].contentType&&(Object.assign(n,O(e,a)),a=n[a],s=!0);else if(t[1]._container){for(i=a,r=void 0;i--&&(o=e[i],"lineEnding"===o[1].type||"lineEndingBlank"===o[1].type);)"enter"===o[0]&&(r&&(e[r][1].type="lineEndingBlank"),o[1].type="lineEnding",r=i);r&&(t[1].end=Object.assign({},e[r][1].start),u=e.slice(r,a),u.unshift(t),T(e,r,a-r+1,u))}}return!s}function O(e,n){const t=e[n][1],r=e[n][2];let i=n-1;const o=[],u=t._tokenizer||r.parser[t.contentType](t.start),c=u.events,s=[],a={};let l,f,d=-1,h=t,p=0,g=0;const v=[g];for(;h;){for(;e[++i][1]!==h;);o.push(i),h._tokenizer||(l=r.sliceStream(h),h.next||l.push(null),f&&u.defineSkip(h.start),h._isInFirstContentOfListItem&&(u._gfmTasklistFirstContentOfListItem=!0),u.write(l),h._isInFirstContentOfListItem&&(u._gfmTasklistFirstContentOfListItem=void 0)),f=h,h=h.next}for(h=t;++d<c.length;)"exit"===c[d][0]&&"enter"===c[d-1][0]&&c[d][1].type===c[d-1][1].type&&c[d][1].start.line!==c[d][1].end.line&&(g=d+1,v.push(g),h._tokenizer=void 0,h.previous=void 0,h=h.next);for(u.events=[],h?(h._tokenizer=void 0,h.previous=void 0):v.pop(),d=v.length;d--;){const n=c.slice(v[d],v[d+1]),t=o.pop();s.unshift([t,t+n.length-1]),T(e,t,2,n)}for(d=-1;++d<s.length;)a[p+s[d][0]]=p+s[d][1],p+=s[d][1]-s[d][0]-1;return a}const z={tokenize:function(e,n){let t;return function(n){return e.enter("content"),t=e.enter("chunkContent",{contentType:"content"}),r(n)};function r(n){return null===n?i(n):x(n)?e.check(D,o,i)(n):(e.consume(n),r)}function i(t){return e.exit("chunkContent"),e.exit("content"),n(t)}function o(n){return e.consume(n),e.exit("chunkContent"),t.next=e.enter("chunkContent",{contentType:"content",previous:t}),t=t.next,r}},resolve:function(e){return L(e),e}},D={tokenize:function(e,n,t){const r=this;return function(n){return e.exit("chunkContent"),e.enter("lineEnding"),e.consume(n),e.exit("lineEnding"),F(e,i,"linePrefix")};function i(i){if(null===i||x(i))return t(i);const o=r.events[r.events.length-1];return!r.parser.constructs.disable.null.includes("codeIndented")&&o&&"linePrefix"===o[1].type&&o[2].sliceSerialize(o[1],!0).length>=4?n(i):e.interrupt(r.parser.constructs.flow,t,n)(i)}},partial:!0};const M={tokenize:function(e){const n=this,t=e.attempt(j,(function(r){if(null===r)return void e.consume(r);return e.enter("lineEndingBlank"),e.consume(r),e.exit("lineEndingBlank"),n.currentConstruct=void 0,t}),e.attempt(this.parser.constructs.flowInitial,r,F(e,e.attempt(this.parser.constructs.flow,r,e.attempt(z,r)),"linePrefix")));return t;function r(r){if(null!==r)return e.enter("lineEnding"),e.consume(r),e.exit("lineEnding"),n.currentConstruct=void 0,t;e.consume(r)}}};const N={resolveAll:q()},B=R("string"),P=R("text");function R(e){return{tokenize:function(n){const t=this,r=this.parser.constructs[e],i=n.attempt(r,o,u);return o;function o(e){return s(e)?i(e):u(e)}function u(e){if(null!==e)return n.enter("data"),n.consume(e),c;n.consume(e)}function c(e){return s(e)?(n.exit("data"),i(e)):(n.consume(e),c)}function s(e){if(null===e)return!0;const n=r[e];let i=-1;if(n)for(;++i<n.length;){const e=n[i];if(!e.previous||e.previous.call(t,t.previous))return!0}return!1}},resolveAll:q("text"===e?H:void 0)}}function q(e){return function(n,t){let r,i=-1;for(;++i<=n.length;)void 0===r?n[i]&&"data"===n[i][1].type&&(r=i,i++):n[i]&&"data"===n[i][1].type||(i!==r+2&&(n[r][1].end=n[i-1][1].end,n.splice(r+2,i-r-2),i=r+2),r=void 0);return e?e(n,t):n}}function H(e,n){let t=0;for(;++t<=e.length;)if((t===e.length||"lineEnding"===e[t][1].type)&&"data"===e[t-1][1].type){const r=e[t-1][1],i=n.sliceStream(r);let o,u=i.length,c=-1,s=0;for(;u--;){const e=i[u];if("string"==typeof e){for(c=e.length;32===e.charCodeAt(c-1);)s++,c--;if(c)break;c=-1}else if(-2===e)o=!0,s++;else if(-1!==e){u++;break}}if(s){const i={type:t===e.length||o||s<2?"lineSuffix":"hardBreakTrailing",start:{line:r.end.line,column:r.end.column-s,offset:r.end.offset-s,_index:r.start._index+u,_bufferIndex:u?c:r.start._bufferIndex+c},end:Object.assign({},r.end)};r.end=Object.assign({},i.start),r.start.offset===r.end.offset?Object.assign(r,i):(e.splice(t,0,["enter",i,n],["exit",i,n]),t+=2)}t++}return e}function V(e,n,t){const r=[];let i=-1;for(;++i<e.length;){const o=e[i].resolveAll;o&&!r.includes(o)&&(n=o(n,t),r.push(o))}return n}function U(e,n,t){let r=Object.assign(t?Object.assign({},t):{line:1,column:1,offset:0},{_index:0,_bufferIndex:-1});const i={},o=[];let u=[],c=[],l=!0;const f={consume:function(e){x(e)?(r.line++,r.column=1,r.offset+=-3===e?2:1,w()):-1!==e&&(r.column++,r.offset++);r._bufferIndex<0?r._index++:(r._bufferIndex++,r._bufferIndex===u[r._index].length&&(r._bufferIndex=-1,r._index++));d.previous=e,l=!0},enter:function(e,n){const t=n||{};return t.type=e,t.start=v(),d.events.push(["enter",t,d]),c.push(t),t},exit:function(e){const n=c.pop();return n.end=v(),d.events.push(["exit",n,d]),n},attempt:y((function(e,n){k(e,n.from)})),check:y(b),interrupt:y(b,{interrupt:!0})},d={previous:null,code:null,containerState:{},events:[],parser:e,sliceStream:g,sliceSerialize:function(e,n){return function(e,n){let t=-1;const r=[];let i;for(;++t<e.length;){const o=e[t];let u;if("string"==typeof o)u=o;else switch(o){case-5:u="\r";break;case-4:u="\n";break;case-3:u="\r\n";break;case-2:u=n?" ":"\t";break;case-1:if(!n&&i)continue;u=" ";break;default:u=String.fromCharCode(o)}i=-2===o,r.push(u)}return r.join("")}(g(e),n)},now:v,defineSkip:function(e){i[e.line]=e.column,w()},write:function(e){if(u=a(u,e),m(),null!==u[u.length-1])return[];return k(n,0),d.events=V(o,d.events,d),d.events}};let h,p=n.tokenize.call(d,f);return n.resolveAll&&o.push(n),d;function g(e){return function(e,n){const t=n.start._index,r=n.start._bufferIndex,i=n.end._index,o=n.end._bufferIndex;let u;if(t===i)u=[e[t].slice(r,o)];else{if(u=e.slice(t,i),r>-1){const e=u[0];"string"==typeof e?u[0]=e.slice(r):u.shift()}o>0&&u.push(e[i].slice(0,o))}return u}(u,e)}function v(){const{line:e,column:n,offset:t,_index:i,_bufferIndex:o}=r;return{line:e,column:n,offset:t,_index:i,_bufferIndex:o}}function m(){let e;for(;r._index<u.length;){const n=u[r._index];if("string"==typeof n)for(e=r._index,r._bufferIndex<0&&(r._bufferIndex=0);r._index===e&&r._bufferIndex<n.length;)A(n.charCodeAt(r._bufferIndex));else A(n)}}function A(e){l=void 0,h=e,p=p(e)}function b(e,n){n.restore()}function y(e,n){return function(t,i,o){let u,s,a,h;return Array.isArray(t)?p(t):"tokenize"in t?p([t]):function(e){return n;function n(n){const t=null!==n&&e[n],r=null!==n&&e.null;return p([...Array.isArray(t)?t:t?[t]:[],...Array.isArray(r)?r:r?[r]:[]])(n)}}(t);function p(e){return u=e,s=0,0===e.length?o:g(e[s])}function g(e){return function(t){h=function(){const e=v(),n=d.previous,t=d.currentConstruct,i=d.events.length,o=Array.from(c);return{restore:u,from:i};function u(){r=e,d.previous=n,d.currentConstruct=t,d.events.length=i,c=o,w()}}(),a=e,e.partial||(d.currentConstruct=e);if(e.name&&d.parser.constructs.disable.null.includes(e.name))return A(t);return e.tokenize.call(n?Object.assign(Object.create(d),n):d,f,m,A)(t)}}function m(n){return l=!0,e(a,h),i}function A(e){return l=!0,h.restore(),++s<u.length?g(u[s]):o}}}function k(e,n){e.resolveAll&&!o.includes(e)&&o.push(e),e.resolve&&s(d.events,n,d.events.length-n,e.resolve(d.events.slice(n),d)),e.resolveTo&&(d.events=e.resolveTo(d.events,d))}function w(){r.line in i&&r.column<2&&(r.column=i[r.line],r.offset+=i[r.line]-1)}}const $={name:"thematicBreak",tokenize:function(e,n,t){let r,i=0;return function(n){return e.enter("thematicBreak"),function(e){return r=e,o(e)}(n)};function o(o){return o===r?(e.enter("thematicBreakSequence"),u(o)):i>=3&&(null===o||x(o))?(e.exit("thematicBreak"),n(o)):t(o)}function u(n){return n===r?(e.consume(n),i++,u):(e.exit("thematicBreakSequence"),k(n)?F(e,o,"whitespace")(n):o(n))}}};const Q={name:"list",tokenize:function(e,n,t){const r=this,i=r.events[r.events.length-1];let o=i&&"linePrefix"===i[1].type?i[2].sliceSerialize(i[1],!0).length:0,u=0;return function(n){const i=r.containerState.type||(42===n||43===n||45===n?"listUnordered":"listOrdered");if("listUnordered"===i?!r.containerState.marker||n===r.containerState.marker:m(n)){if(r.containerState.type||(r.containerState.type=i,e.enter(i,{_container:!0})),"listUnordered"===i)return e.enter("listItemPrefix"),42===n||45===n?e.check($,t,s)(n):s(n);if(!r.interrupt||49===n)return e.enter("listItemPrefix"),e.enter("listItemValue"),c(n)}return t(n)};function c(n){return m(n)&&++u<10?(e.consume(n),c):(!r.interrupt||u<2)&&(r.containerState.marker?n===r.containerState.marker:41===n||46===n)?(e.exit("listItemValue"),s(n)):t(n)}function s(n){return e.enter("listItemMarker"),e.consume(n),e.exit("listItemMarker"),r.containerState.marker=r.containerState.marker||n,e.check(j,r.interrupt?t:a,e.attempt(G,f,l))}function a(e){return r.containerState.initialBlankLine=!0,o++,f(e)}function l(n){return k(n)?(e.enter("listItemPrefixWhitespace"),e.consume(n),e.exit("listItemPrefixWhitespace"),f):t(n)}function f(t){return r.containerState.size=o+r.sliceSerialize(e.exit("listItemPrefix"),!0).length,n(t)}},continuation:{tokenize:function(e,n,t){const r=this;return r.containerState._closeFlow=void 0,e.check(j,(function(t){return r.containerState.furtherBlankLines=r.containerState.furtherBlankLines||r.containerState.initialBlankLine,F(e,n,"listItemIndent",r.containerState.size+1)(t)}),(function(t){if(r.containerState.furtherBlankLines||!k(t))return r.containerState.furtherBlankLines=void 0,r.containerState.initialBlankLine=void 0,i(t);return r.containerState.furtherBlankLines=void 0,r.containerState.initialBlankLine=void 0,e.attempt(W,n,i)(t)}));function i(i){return r.containerState._closeFlow=!0,r.interrupt=void 0,F(e,e.attempt(Q,n,t),"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(i)}}},exit:function(e){e.exit(this.containerState.type)}},G={tokenize:function(e,n,t){const r=this;return F(e,(function(e){const i=r.events[r.events.length-1];return!k(e)&&i&&"listItemPrefixWhitespace"===i[1].type?n(e):t(e)}),"listItemPrefixWhitespace",r.parser.constructs.disable.null.includes("codeIndented")?void 0:5)},partial:!0},W={tokenize:function(e,n,t){const r=this;return F(e,(function(e){const i=r.events[r.events.length-1];return i&&"listItemIndent"===i[1].type&&i[2].sliceSerialize(i[1],!0).length===r.containerState.size?n(e):t(e)}),"listItemIndent",r.containerState.size+1)},partial:!0};const Y={name:"blockQuote",tokenize:function(e,n,t){const r=this;return function(n){if(62===n){const t=r.containerState;return t.open||(e.enter("blockQuote",{_container:!0}),t.open=!0),e.enter("blockQuotePrefix"),e.enter("blockQuoteMarker"),e.consume(n),e.exit("blockQuoteMarker"),i}return t(n)};function i(t){return k(t)?(e.enter("blockQuotePrefixWhitespace"),e.consume(t),e.exit("blockQuotePrefixWhitespace"),e.exit("blockQuotePrefix"),n):(e.exit("blockQuotePrefix"),n(t))}},continuation:{tokenize:function(e,n,t){const r=this;return function(n){if(k(n))return F(e,i,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(n);return i(n)};function i(r){return e.attempt(Y,n,t)(r)}}},exit:function(e){e.exit("blockQuote")}};function Z(e,n,t,r,i,o,u,c,s){const a=s||Number.POSITIVE_INFINITY;let l=0;return function(n){if(60===n)return e.enter(r),e.enter(i),e.enter(o),e.consume(n),e.exit(o),f;if(null===n||32===n||41===n||v(n))return t(n);return e.enter(r),e.enter(u),e.enter(c),e.enter("chunkString",{contentType:"string"}),p(n)};function f(t){return 62===t?(e.enter(o),e.consume(t),e.exit(o),e.exit(i),e.exit(r),n):(e.enter(c),e.enter("chunkString",{contentType:"string"}),d(t))}function d(n){return 62===n?(e.exit("chunkString"),e.exit(c),f(n)):null===n||60===n||x(n)?t(n):(e.consume(n),92===n?h:d)}function h(n){return 60===n||62===n||92===n?(e.consume(n),d):d(n)}function p(i){return l||null!==i&&41!==i&&!y(i)?l<a&&40===i?(e.consume(i),l++,p):41===i?(e.consume(i),l--,p):null===i||32===i||40===i||v(i)?t(i):(e.consume(i),92===i?g:p):(e.exit("chunkString"),e.exit(c),e.exit(u),e.exit(r),n(i))}function g(n){return 40===n||41===n||92===n?(e.consume(n),p):p(n)}}function J(e,n,t,r,i,o){const u=this;let c,s=0;return function(n){return e.enter(r),e.enter(i),e.consume(n),e.exit(i),e.enter(o),a};function a(f){return s>999||null===f||91===f||93===f&&!c||94===f&&!s&&"_hiddenFootnoteSupport"in u.parser.constructs?t(f):93===f?(e.exit(o),e.enter(i),e.consume(f),e.exit(i),e.exit(r),n):x(f)?(e.enter("lineEnding"),e.consume(f),e.exit("lineEnding"),a):(e.enter("chunkString",{contentType:"string"}),l(f))}function l(n){return null===n||91===n||93===n||x(n)||s++>999?(e.exit("chunkString"),a(n)):(e.consume(n),c||(c=!k(n)),92===n?f:l)}function f(n){return 91===n||92===n||93===n?(e.consume(n),s++,l):l(n)}}function K(e,n,t,r,i,o){let u;return function(n){if(34===n||39===n||40===n)return e.enter(r),e.enter(i),e.consume(n),e.exit(i),u=40===n?41:n,c;return t(n)};function c(t){return t===u?(e.enter(i),e.consume(t),e.exit(i),e.exit(r),n):(e.enter(o),s(t))}function s(n){return n===u?(e.exit(o),c(u)):null===n?t(n):x(n)?(e.enter("lineEnding"),e.consume(n),e.exit("lineEnding"),F(e,s,"linePrefix")):(e.enter("chunkString",{contentType:"string"}),a(n))}function a(n){return n===u||null===n||x(n)?(e.exit("chunkString"),s(n)):(e.consume(n),92===n?l:a)}function l(n){return n===u||92===n?(e.consume(n),a):a(n)}}function X(e,n){let t;return function r(i){if(x(i))return e.enter("lineEnding"),e.consume(i),e.exit("lineEnding"),t=!0,r;if(k(i))return F(e,r,t?"linePrefix":"lineSuffix")(i);return n(i)}}function ee(e){return e.replace(/[\t\n\r ]+/g," ").replace(/^ | $/g,"").toLowerCase().toUpperCase()}const ne={name:"definition",tokenize:function(e,n,t){const r=this;let i;return function(n){return e.enter("definition"),function(n){return J.call(r,e,o,t,"definitionLabel","definitionLabelMarker","definitionLabelString")(n)}(n)};function o(n){return i=ee(r.sliceSerialize(r.events[r.events.length-1][1]).slice(1,-1)),58===n?(e.enter("definitionMarker"),e.consume(n),e.exit("definitionMarker"),u):t(n)}function u(n){return y(n)?X(e,c)(n):c(n)}function c(n){return Z(e,s,t,"definitionDestination","definitionDestinationLiteral","definitionDestinationLiteralMarker","definitionDestinationRaw","definitionDestinationString")(n)}function s(n){return e.attempt(te,a,a)(n)}function a(n){return k(n)?F(e,l,"whitespace")(n):l(n)}function l(o){return null===o||x(o)?(e.exit("definition"),r.parser.defined.push(i),n(o)):t(o)}}},te={tokenize:function(e,n,t){return function(n){return y(n)?X(e,r)(n):t(n)};function r(n){return K(e,i,t,"definitionTitle","definitionTitleMarker","definitionTitleString")(n)}function i(n){return k(n)?F(e,o,"whitespace")(n):o(n)}function o(e){return null===e||x(e)?n(e):t(e)}},partial:!0};const re={name:"codeIndented",tokenize:function(e,n,t){const r=this;return function(n){return e.enter("codeIndented"),F(e,i,"linePrefix",5)(n)};function i(e){const n=r.events[r.events.length-1];return n&&"linePrefix"===n[1].type&&n[2].sliceSerialize(n[1],!0).length>=4?o(e):t(e)}function o(n){return null===n?c(n):x(n)?e.attempt(ie,o,c)(n):(e.enter("codeFlowValue"),u(n))}function u(n){return null===n||x(n)?(e.exit("codeFlowValue"),o(n)):(e.consume(n),u)}function c(t){return e.exit("codeIndented"),n(t)}}},ie={tokenize:function(e,n,t){const r=this;return i;function i(n){return r.parser.lazy[r.now().line]?t(n):x(n)?(e.enter("lineEnding"),e.consume(n),e.exit("lineEnding"),i):F(e,o,"linePrefix",5)(n)}function o(e){const o=r.events[r.events.length-1];return o&&"linePrefix"===o[1].type&&o[2].sliceSerialize(o[1],!0).length>=4?n(e):x(e)?i(e):t(e)}},partial:!0};const oe={name:"headingAtx",tokenize:function(e,n,t){let r=0;return function(n){return e.enter("atxHeading"),function(n){return e.enter("atxHeadingSequence"),i(n)}(n)};function i(n){return 35===n&&r++<6?(e.consume(n),i):null===n||y(n)?(e.exit("atxHeadingSequence"),o(n)):t(n)}function o(t){return 35===t?(e.enter("atxHeadingSequence"),u(t)):null===t||x(t)?(e.exit("atxHeading"),n(t)):k(t)?F(e,o,"whitespace")(t):(e.enter("atxHeadingText"),c(t))}function u(n){return 35===n?(e.consume(n),u):(e.exit("atxHeadingSequence"),o(n))}function c(n){return null===n||35===n||y(n)?(e.exit("atxHeadingText"),o(n)):(e.consume(n),c)}},resolve:function(e,n){let t,r,i=e.length-2,o=3;"whitespace"===e[o][1].type&&(o+=2);i-2>o&&"whitespace"===e[i][1].type&&(i-=2);"atxHeadingSequence"===e[i][1].type&&(o===i-1||i-4>o&&"whitespace"===e[i-2][1].type)&&(i-=o+1===i?2:4);i>o&&(t={type:"atxHeadingText",start:e[o][1].start,end:e[i][1].end},r={type:"chunkText",start:e[o][1].start,end:e[i][1].end,contentType:"text"},s(e,o,i-o+1,[["enter",t,n],["enter",r,n],["exit",r,n],["exit",t,n]]));return e}};const ue={name:"setextUnderline",tokenize:function(e,n,t){const r=this;let i;return function(n){let u,c=r.events.length;for(;c--;)if("lineEnding"!==r.events[c][1].type&&"linePrefix"!==r.events[c][1].type&&"content"!==r.events[c][1].type){u="paragraph"===r.events[c][1].type;break}if(!r.parser.lazy[r.now().line]&&(r.interrupt||u))return e.enter("setextHeadingLine"),i=n,function(n){return e.enter("setextHeadingLineSequence"),o(n)}(n);return t(n)};function o(n){return n===i?(e.consume(n),o):(e.exit("setextHeadingLineSequence"),k(n)?F(e,u,"lineSuffix")(n):u(n))}function u(r){return null===r||x(r)?(e.exit("setextHeadingLine"),n(r)):t(r)}},resolveTo:function(e,n){let t,r,i,o=e.length;for(;o--;)if("enter"===e[o][0]){if("content"===e[o][1].type){t=o;break}"paragraph"===e[o][1].type&&(r=o)}else"content"===e[o][1].type&&e.splice(o,1),i||"definition"!==e[o][1].type||(i=o);const u={type:"setextHeading",start:Object.assign({},e[r][1].start),end:Object.assign({},e[e.length-1][1].end)};e[r][1].type="setextHeadingText",i?(e.splice(r,0,["enter",u,n]),e.splice(i+1,0,["exit",e[t][1],n]),e[t][1].end=Object.assign({},e[i][1].end)):e[t][1]=u;return e.push(["exit",u,n]),e}};const ce=["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"],se=["pre","script","style","textarea"],ae={name:"htmlFlow",tokenize:function(e,n,t){const r=this;let i,o,u,c,s;return function(n){return function(n){return e.enter("htmlFlow"),e.enter("htmlFlowData"),e.consume(n),a}(n)};function a(c){return 33===c?(e.consume(c),l):47===c?(e.consume(c),o=!0,g):63===c?(e.consume(c),i=3,r.interrupt?n:P):h(c)?(e.consume(c),u=String.fromCharCode(c),v):t(c)}function l(o){return 45===o?(e.consume(o),i=2,f):91===o?(e.consume(o),i=5,c=0,d):h(o)?(e.consume(o),i=4,r.interrupt?n:P):t(o)}function f(i){return 45===i?(e.consume(i),r.interrupt?n:P):t(i)}function d(i){const o="CDATA[";return i===o.charCodeAt(c++)?(e.consume(i),6===c?r.interrupt?n:T:d):t(i)}function g(n){return h(n)?(e.consume(n),u=String.fromCharCode(n),v):t(n)}function v(c){if(null===c||47===c||62===c||y(c)){const s=47===c,a=u.toLowerCase();return s||o||!se.includes(a)?ce.includes(u.toLowerCase())?(i=6,s?(e.consume(c),m):r.interrupt?n(c):T(c)):(i=7,r.interrupt&&!r.parser.lazy[r.now().line]?t(c):o?A(c):b(c)):(i=1,r.interrupt?n(c):T(c))}return 45===c||p(c)?(e.consume(c),u+=String.fromCharCode(c),v):t(c)}function m(i){return 62===i?(e.consume(i),r.interrupt?n:T):t(i)}function A(n){return k(n)?(e.consume(n),A):C(n)}function b(n){return 47===n?(e.consume(n),C):58===n||95===n||h(n)?(e.consume(n),w):k(n)?(e.consume(n),b):C(n)}function w(n){return 45===n||46===n||58===n||95===n||p(n)?(e.consume(n),w):_(n)}function _(n){return 61===n?(e.consume(n),E):k(n)?(e.consume(n),_):b(n)}function E(n){return null===n||60===n||61===n||62===n||96===n?t(n):34===n||39===n?(e.consume(n),s=n,F):k(n)?(e.consume(n),E):S(n)}function F(n){return n===s?(e.consume(n),s=null,I):null===n||x(n)?t(n):(e.consume(n),F)}function S(n){return null===n||34===n||39===n||47===n||60===n||61===n||62===n||96===n||y(n)?_(n):(e.consume(n),S)}function I(e){return 47===e||62===e||k(e)?b(e):t(e)}function C(n){return 62===n?(e.consume(n),j):t(n)}function j(n){return null===n||x(n)?T(n):k(n)?(e.consume(n),j):t(n)}function T(n){return 45===n&&2===i?(e.consume(n),D):60===n&&1===i?(e.consume(n),M):62===n&&4===i?(e.consume(n),R):63===n&&3===i?(e.consume(n),P):93===n&&5===i?(e.consume(n),B):!x(n)||6!==i&&7!==i?null===n||x(n)?(e.exit("htmlFlowData"),L(n)):(e.consume(n),T):(e.exit("htmlFlowData"),e.check(le,q,L)(n))}function L(n){return e.check(fe,O,q)(n)}function O(n){return e.enter("lineEnding"),e.consume(n),e.exit("lineEnding"),z}function z(n){return null===n||x(n)?L(n):(e.enter("htmlFlowData"),T(n))}function D(n){return 45===n?(e.consume(n),P):T(n)}function M(n){return 47===n?(e.consume(n),u="",N):T(n)}function N(n){if(62===n){const t=u.toLowerCase();return se.includes(t)?(e.consume(n),R):T(n)}return h(n)&&u.length<8?(e.consume(n),u+=String.fromCharCode(n),N):T(n)}function B(n){return 93===n?(e.consume(n),P):T(n)}function P(n){return 62===n?(e.consume(n),R):45===n&&2===i?(e.consume(n),P):T(n)}function R(n){return null===n||x(n)?(e.exit("htmlFlowData"),q(n)):(e.consume(n),R)}function q(t){return e.exit("htmlFlow"),n(t)}},resolveTo:function(e){let n=e.length;for(;n--&&("enter"!==e[n][0]||"htmlFlow"!==e[n][1].type););n>1&&"linePrefix"===e[n-2][1].type&&(e[n][1].start=e[n-2][1].start,e[n+1][1].start=e[n-2][1].start,e.splice(n-2,2));return e},concrete:!0},le={tokenize:function(e,n,t){return function(r){return e.enter("lineEnding"),e.consume(r),e.exit("lineEnding"),e.attempt(j,n,t)}},partial:!0},fe={tokenize:function(e,n,t){const r=this;return function(n){if(x(n))return e.enter("lineEnding"),e.consume(n),e.exit("lineEnding"),i;return t(n)};function i(e){return r.parser.lazy[r.now().line]?t(e):n(e)}},partial:!0};const de={tokenize:function(e,n,t){const r=this;return function(n){if(null===n)return t(n);return e.enter("lineEnding"),e.consume(n),e.exit("lineEnding"),i};function i(e){return r.parser.lazy[r.now().line]?t(e):n(e)}},partial:!0},he={name:"codeFenced",tokenize:function(e,n,t){const r=this,i={tokenize:function(e,n,t){let i=0;return u;function u(n){return e.enter("lineEnding"),e.consume(n),e.exit("lineEnding"),s}function s(n){return e.enter("codeFencedFence"),k(n)?F(e,a,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(n):a(n)}function a(n){return n===o?(e.enter("codeFencedFenceSequence"),l(n)):t(n)}function l(n){return n===o?(i++,e.consume(n),l):i>=c?(e.exit("codeFencedFenceSequence"),k(n)?F(e,f,"whitespace")(n):f(n)):t(n)}function f(r){return null===r||x(r)?(e.exit("codeFencedFence"),n(r)):t(r)}},partial:!0};let o,u=0,c=0;return function(n){return function(n){const t=r.events[r.events.length-1];return u=t&&"linePrefix"===t[1].type?t[2].sliceSerialize(t[1],!0).length:0,o=n,e.enter("codeFenced"),e.enter("codeFencedFence"),e.enter("codeFencedFenceSequence"),s(n)}(n)};function s(n){return n===o?(c++,e.consume(n),s):c<3?t(n):(e.exit("codeFencedFenceSequence"),k(n)?F(e,a,"whitespace")(n):a(n))}function a(t){return null===t||x(t)?(e.exit("codeFencedFence"),r.interrupt?n(t):e.check(de,h,A)(t)):(e.enter("codeFencedFenceInfo"),e.enter("chunkString",{contentType:"string"}),l(t))}function l(n){return null===n||x(n)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),a(n)):k(n)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),F(e,f,"whitespace")(n)):96===n&&n===o?t(n):(e.consume(n),l)}function f(n){return null===n||x(n)?a(n):(e.enter("codeFencedFenceMeta"),e.enter("chunkString",{contentType:"string"}),d(n))}function d(n){return null===n||x(n)?(e.exit("chunkString"),e.exit("codeFencedFenceMeta"),a(n)):96===n&&n===o?t(n):(e.consume(n),d)}function h(n){return e.attempt(i,A,p)(n)}function p(n){return e.enter("lineEnding"),e.consume(n),e.exit("lineEnding"),g}function g(n){return u>0&&k(n)?F(e,v,"linePrefix",u+1)(n):v(n)}function v(n){return null===n||x(n)?e.check(de,h,A)(n):(e.enter("codeFlowValue"),m(n))}function m(n){return null===n||x(n)?(e.exit("codeFlowValue"),v(n)):(e.consume(n),m)}function A(t){return e.exit("codeFenced"),n(t)}},concrete:!0};const pe=document.createElement("i");function ge(e){const n="&"+e+";";pe.innerHTML=n;const t=pe.textContent;return(59!==t.charCodeAt(t.length-1)||"semi"===e)&&(t!==n&&t)}const ve={name:"characterReference",tokenize:function(e,n,t){const r=this;let i,o,u=0;return function(n){return e.enter("characterReference"),e.enter("characterReferenceMarker"),e.consume(n),e.exit("characterReferenceMarker"),c};function c(n){return 35===n?(e.enter("characterReferenceMarkerNumeric"),e.consume(n),e.exit("characterReferenceMarkerNumeric"),s):(e.enter("characterReferenceValue"),i=31,o=p,a(n))}function s(n){return 88===n||120===n?(e.enter("characterReferenceMarkerHexadecimal"),e.consume(n),e.exit("characterReferenceMarkerHexadecimal"),e.enter("characterReferenceValue"),i=6,o=A,a):(e.enter("characterReferenceValue"),i=7,o=m,a(n))}function a(c){if(59===c&&u){const i=e.exit("characterReferenceValue");return o!==p||ge(r.sliceSerialize(i))?(e.enter("characterReferenceMarker"),e.consume(c),e.exit("characterReferenceMarker"),e.exit("characterReference"),n):t(c)}return o(c)&&u++<i?(e.consume(c),a):t(c)}}};const me={name:"characterEscape",tokenize:function(e,n,t){return function(n){return e.enter("characterEscape"),e.enter("escapeMarker"),e.consume(n),e.exit("escapeMarker"),r};function r(r){return b(r)?(e.enter("characterEscapeValue"),e.consume(r),e.exit("characterEscapeValue"),e.exit("characterEscape"),n):t(r)}}};const Ae={name:"lineEnding",tokenize:function(e,n){return function(t){return e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),F(e,n,"linePrefix")}}};const be={name:"labelEnd",tokenize:function(e,n,t){const r=this;let i,o,u=r.events.length;for(;u--;)if(("labelImage"===r.events[u][1].type||"labelLink"===r.events[u][1].type)&&!r.events[u][1]._balanced){i=r.events[u][1];break}return function(n){if(!i)return t(n);if(i._inactive)return l(n);return o=r.parser.defined.includes(ee(r.sliceSerialize({start:i.end,end:r.now()}))),e.enter("labelEnd"),e.enter("labelMarker"),e.consume(n),e.exit("labelMarker"),e.exit("labelEnd"),c};function c(n){return 40===n?e.attempt(xe,a,o?a:l)(n):91===n?e.attempt(ye,a,o?s:l)(n):o?a(n):l(n)}function s(n){return e.attempt(ke,a,l)(n)}function a(e){return n(e)}function l(e){return i._balanced=!0,t(e)}},resolveTo:function(e,n){let t,r,i,o,u=e.length,c=0;for(;u--;)if(t=e[u][1],r){if("link"===t.type||"labelLink"===t.type&&t._inactive)break;"enter"===e[u][0]&&"labelLink"===t.type&&(t._inactive=!0)}else if(i){if("enter"===e[u][0]&&("labelImage"===t.type||"labelLink"===t.type)&&!t._balanced&&(r=u,"labelLink"!==t.type)){c=2;break}}else"labelEnd"===t.type&&(i=u);const l={type:"labelLink"===e[r][1].type?"link":"image",start:Object.assign({},e[r][1].start),end:Object.assign({},e[e.length-1][1].end)},f={type:"label",start:Object.assign({},e[r][1].start),end:Object.assign({},e[i][1].end)},d={type:"labelText",start:Object.assign({},e[r+c+2][1].end),end:Object.assign({},e[i-2][1].start)};return o=[["enter",l,n],["enter",f,n]],o=a(o,e.slice(r+1,r+c+3)),o=a(o,[["enter",d,n]]),o=a(o,V(n.parser.constructs.insideSpan.null,e.slice(r+c+4,i-3),n)),o=a(o,[["exit",d,n],e[i-2],e[i-1],["exit",f,n]]),o=a(o,e.slice(i+1)),o=a(o,[["exit",l,n]]),s(e,r,e.length,o),e},resolveAll:function(e){let n=-1;for(;++n<e.length;){const t=e[n][1];"labelImage"!==t.type&&"labelLink"!==t.type&&"labelEnd"!==t.type||(e.splice(n+1,"labelImage"===t.type?4:2),t.type="data",n++)}return e}},xe={tokenize:function(e,n,t){return function(n){return e.enter("resource"),e.enter("resourceMarker"),e.consume(n),e.exit("resourceMarker"),r};function r(n){return y(n)?X(e,i)(n):i(n)}function i(n){return 41===n?a(n):Z(e,o,u,"resourceDestination","resourceDestinationLiteral","resourceDestinationLiteralMarker","resourceDestinationRaw","resourceDestinationString",32)(n)}function o(n){return y(n)?X(e,c)(n):a(n)}function u(e){return t(e)}function c(n){return 34===n||39===n||40===n?K(e,s,t,"resourceTitle","resourceTitleMarker","resourceTitleString")(n):a(n)}function s(n){return y(n)?X(e,a)(n):a(n)}function a(r){return 41===r?(e.enter("resourceMarker"),e.consume(r),e.exit("resourceMarker"),e.exit("resource"),n):t(r)}}},ye={tokenize:function(e,n,t){const r=this;return function(n){return J.call(r,e,i,o,"reference","referenceMarker","referenceString")(n)};function i(e){return r.parser.defined.includes(ee(r.sliceSerialize(r.events[r.events.length-1][1]).slice(1,-1)))?n(e):t(e)}function o(e){return t(e)}}},ke={tokenize:function(e,n,t){return function(n){return e.enter("reference"),e.enter("referenceMarker"),e.consume(n),e.exit("referenceMarker"),r};function r(r){return 93===r?(e.enter("referenceMarker"),e.consume(r),e.exit("referenceMarker"),e.exit("reference"),n):t(r)}}};const we={name:"labelStartImage",tokenize:function(e,n,t){const r=this;return function(n){return e.enter("labelImage"),e.enter("labelImageMarker"),e.consume(n),e.exit("labelImageMarker"),i};function i(n){return 91===n?(e.enter("labelMarker"),e.consume(n),e.exit("labelMarker"),e.exit("labelImage"),o):t(n)}function o(e){return 94===e&&"_hiddenFootnoteSupport"in r.parser.constructs?t(e):n(e)}},resolveAll:be.resolveAll};function _e(e){return null===e||y(e)||_(e)?1:w(e)?2:void 0}const Ee={name:"attention",tokenize:function(e,n){const t=this.parser.constructs.attentionMarkers.null,r=this.previous,i=_e(r);let o;return function(n){return o=n,e.enter("attentionSequence"),u(n)};function u(c){if(c===o)return e.consume(c),u;const s=e.exit("attentionSequence"),a=_e(c),l=!a||2===a&&i||t.includes(c),f=!i||2===i&&a||t.includes(r);return s._open=Boolean(42===o?l:l&&(i||!f)),s._close=Boolean(42===o?f:f&&(a||!l)),n(c)}},resolveAll:function(e,n){let t,r,i,o,u,c,l,f,d=-1;for(;++d<e.length;)if("enter"===e[d][0]&&"attentionSequence"===e[d][1].type&&e[d][1]._close)for(t=d;t--;)if("exit"===e[t][0]&&"attentionSequence"===e[t][1].type&&e[t][1]._open&&n.sliceSerialize(e[t][1]).charCodeAt(0)===n.sliceSerialize(e[d][1]).charCodeAt(0)){if((e[t][1]._close||e[d][1]._open)&&(e[d][1].end.offset-e[d][1].start.offset)%3&&!((e[t][1].end.offset-e[t][1].start.offset+e[d][1].end.offset-e[d][1].start.offset)%3))continue;c=e[t][1].end.offset-e[t][1].start.offset>1&&e[d][1].end.offset-e[d][1].start.offset>1?2:1;const h=Object.assign({},e[t][1].end),p=Object.assign({},e[d][1].start);Fe(h,-c),Fe(p,c),o={type:c>1?"strongSequence":"emphasisSequence",start:h,end:Object.assign({},e[t][1].end)},u={type:c>1?"strongSequence":"emphasisSequence",start:Object.assign({},e[d][1].start),end:p},i={type:c>1?"strongText":"emphasisText",start:Object.assign({},e[t][1].end),end:Object.assign({},e[d][1].start)},r={type:c>1?"strong":"emphasis",start:Object.assign({},o.start),end:Object.assign({},u.end)},e[t][1].end=Object.assign({},o.start),e[d][1].start=Object.assign({},u.end),l=[],e[t][1].end.offset-e[t][1].start.offset&&(l=a(l,[["enter",e[t][1],n],["exit",e[t][1],n]])),l=a(l,[["enter",r,n],["enter",o,n],["exit",o,n],["enter",i,n]]),l=a(l,V(n.parser.constructs.insideSpan.null,e.slice(t+1,d),n)),l=a(l,[["exit",i,n],["enter",u,n],["exit",u,n],["exit",r,n]]),e[d][1].end.offset-e[d][1].start.offset?(f=2,l=a(l,[["enter",e[d][1],n],["exit",e[d][1],n]])):f=0,s(e,t-1,d-t+3,l),d=t+l.length-f-2;break}d=-1;for(;++d<e.length;)"attentionSequence"===e[d][1].type&&(e[d][1].type="data");return e}};function Fe(e,n){e.column+=n,e.offset+=n,e._bufferIndex+=n}const Se={name:"autolink",tokenize:function(e,n,t){let r=0;return function(n){return e.enter("autolink"),e.enter("autolinkMarker"),e.consume(n),e.exit("autolinkMarker"),e.enter("autolinkProtocol"),i};function i(n){return h(n)?(e.consume(n),o):s(n)}function o(e){return 43===e||45===e||46===e||p(e)?(r=1,u(e)):s(e)}function u(n){return 58===n?(e.consume(n),r=0,c):(43===n||45===n||46===n||p(n))&&r++<32?(e.consume(n),u):(r=0,s(n))}function c(r){return 62===r?(e.exit("autolinkProtocol"),e.enter("autolinkMarker"),e.consume(r),e.exit("autolinkMarker"),e.exit("autolink"),n):null===r||32===r||60===r||v(r)?t(r):(e.consume(r),c)}function s(n){return 64===n?(e.consume(n),a):g(n)?(e.consume(n),s):t(n)}function a(e){return p(e)?l(e):t(e)}function l(t){return 46===t?(e.consume(t),r=0,a):62===t?(e.exit("autolinkProtocol").type="autolinkEmail",e.enter("autolinkMarker"),e.consume(t),e.exit("autolinkMarker"),e.exit("autolink"),n):f(t)}function f(n){if((45===n||p(n))&&r++<63){const t=45===n?f:l;return e.consume(n),t}return t(n)}}};const Ie={name:"htmlText",tokenize:function(e,n,t){const r=this;let i,o,u;return function(n){return e.enter("htmlText"),e.enter("htmlTextData"),e.consume(n),c};function c(n){return 33===n?(e.consume(n),s):47===n?(e.consume(n),E):63===n?(e.consume(n),w):h(n)?(e.consume(n),C):t(n)}function s(n){return 45===n?(e.consume(n),a):91===n?(e.consume(n),o=0,g):h(n)?(e.consume(n),b):t(n)}function a(n){return 45===n?(e.consume(n),d):t(n)}function l(n){return null===n?t(n):45===n?(e.consume(n),f):x(n)?(u=l,B(n)):(e.consume(n),l)}function f(n){return 45===n?(e.consume(n),d):l(n)}function d(e){return 62===e?N(e):45===e?f(e):l(e)}function g(n){const r="CDATA[";return n===r.charCodeAt(o++)?(e.consume(n),6===o?v:g):t(n)}function v(n){return null===n?t(n):93===n?(e.consume(n),m):x(n)?(u=v,B(n)):(e.consume(n),v)}function m(n){return 93===n?(e.consume(n),A):v(n)}function A(n){return 62===n?N(n):93===n?(e.consume(n),A):v(n)}function b(n){return null===n||62===n?N(n):x(n)?(u=b,B(n)):(e.consume(n),b)}function w(n){return null===n?t(n):63===n?(e.consume(n),_):x(n)?(u=w,B(n)):(e.consume(n),w)}function _(e){return 62===e?N(e):w(e)}function E(n){return h(n)?(e.consume(n),S):t(n)}function S(n){return 45===n||p(n)?(e.consume(n),S):I(n)}function I(n){return x(n)?(u=I,B(n)):k(n)?(e.consume(n),I):N(n)}function C(n){return 45===n||p(n)?(e.consume(n),C):47===n||62===n||y(n)?j(n):t(n)}function j(n){return 47===n?(e.consume(n),N):58===n||95===n||h(n)?(e.consume(n),T):x(n)?(u=j,B(n)):k(n)?(e.consume(n),j):N(n)}function T(n){return 45===n||46===n||58===n||95===n||p(n)?(e.consume(n),T):L(n)}function L(n){return 61===n?(e.consume(n),O):x(n)?(u=L,B(n)):k(n)?(e.consume(n),L):j(n)}function O(n){return null===n||60===n||61===n||62===n||96===n?t(n):34===n||39===n?(e.consume(n),i=n,z):x(n)?(u=O,B(n)):k(n)?(e.consume(n),O):(e.consume(n),D)}function z(n){return n===i?(e.consume(n),i=void 0,M):null===n?t(n):x(n)?(u=z,B(n)):(e.consume(n),z)}function D(n){return null===n||34===n||39===n||60===n||61===n||96===n?t(n):47===n||62===n||y(n)?j(n):(e.consume(n),D)}function M(e){return 47===e||62===e||y(e)?j(e):t(e)}function N(r){return 62===r?(e.consume(r),e.exit("htmlTextData"),e.exit("htmlText"),n):t(r)}function B(n){return e.exit("htmlTextData"),e.enter("lineEnding"),e.consume(n),e.exit("lineEnding"),P}function P(n){return k(n)?F(e,R,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(n):R(n)}function R(n){return e.enter("htmlTextData"),u(n)}}};const Ce={name:"labelStartLink",tokenize:function(e,n,t){const r=this;return function(n){return e.enter("labelLink"),e.enter("labelMarker"),e.consume(n),e.exit("labelMarker"),e.exit("labelLink"),i};function i(e){return 94===e&&"_hiddenFootnoteSupport"in r.parser.constructs?t(e):n(e)}},resolveAll:be.resolveAll};const je={name:"hardBreakEscape",tokenize:function(e,n,t){return function(n){return e.enter("hardBreakEscape"),e.consume(n),r};function r(r){return x(r)?(e.exit("hardBreakEscape"),n(r)):t(r)}}};const Te={name:"codeText",tokenize:function(e,n,t){let r,i,o=0;return function(n){return e.enter("codeText"),e.enter("codeTextSequence"),u(n)};function u(n){return 96===n?(e.consume(n),o++,u):(e.exit("codeTextSequence"),c(n))}function c(n){return null===n?t(n):32===n?(e.enter("space"),e.consume(n),e.exit("space"),c):96===n?(i=e.enter("codeTextSequence"),r=0,a(n)):x(n)?(e.enter("lineEnding"),e.consume(n),e.exit("lineEnding"),c):(e.enter("codeTextData"),s(n))}function s(n){return null===n||32===n||96===n||x(n)?(e.exit("codeTextData"),c(n)):(e.consume(n),s)}function a(t){return 96===t?(e.consume(t),r++,a):r===o?(e.exit("codeTextSequence"),e.exit("codeText"),n(t)):(i.type="codeTextData",s(t))}},resolve:function(e){let n,t,r=e.length-4,i=3;if(!("lineEnding"!==e[i][1].type&&"space"!==e[i][1].type||"lineEnding"!==e[r][1].type&&"space"!==e[r][1].type))for(n=i;++n<r;)if("codeTextData"===e[n][1].type){e[i][1].type="codeTextPadding",e[r][1].type="codeTextPadding",i+=2,r-=2;break}n=i-1,r++;for(;++n<=r;)void 0===t?n!==r&&"lineEnding"!==e[n][1].type&&(t=n):n!==r&&"lineEnding"!==e[n][1].type||(e[t][1].type="codeTextData",n!==t+2&&(e[t][1].end=e[n-1][1].end,e.splice(t+2,n-t-2),r-=n-t-2,n=t+2),t=void 0);return e},previous:function(e){return 96!==e||"characterEscape"===this.events[this.events.length-1][1].type}};const Le={42:Q,43:Q,45:Q,48:Q,49:Q,50:Q,51:Q,52:Q,53:Q,54:Q,55:Q,56:Q,57:Q,62:Y},Oe={91:ne},ze={[-2]:re,[-1]:re,32:re},De={35:oe,42:$,45:[ue,$],60:ae,61:ue,95:$,96:he,126:he},Me={38:ve,92:me},Ne={[-5]:Ae,[-4]:Ae,[-3]:Ae,33:we,38:ve,42:Ee,60:[Se,Ie],91:Ce,92:[je,me],93:be,95:Ee,96:Te},Be={null:[Ee,N]},Pe={null:[42,95]},Re={null:[]};function qe(e){const n=function(e){const n={};let t=-1;for(;++t<e.length;)f(n,e[t]);return n}([r,...(e||{}).extensions||[]]),t={defined:[],lazy:{},constructs:n,content:i(S),document:i(I),flow:i(M),string:i(B),text:i(P)};return t;function i(e){return function(n){return U(t,e,n)}}}const He=/[\0\t\n\r]/g;function Ve(e,n){const t=Number.parseInt(e,n);return t<9||11===t||t>13&&t<32||t>126&&t<160||t>55295&&t<57344||t>64975&&t<65008||!(65535&~t)||65534==(65535&t)||t>1114111?"\ufffd":String.fromCharCode(t)}const Ue=/\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi;function $e(e,n,t){if(n)return n;if(35===t.charCodeAt(0)){const e=t.charCodeAt(1),n=120===e||88===e;return Ve(t.slice(n?2:1),n?16:10)}return ge(t)||e}function Qe(e){return e&&"object"==typeof e?"position"in e||"type"in e?We(e.position):"start"in e||"end"in e?We(e):"line"in e||"column"in e?Ge(e):"":""}function Ge(e){return Ye(e&&e.line)+":"+Ye(e&&e.column)}function We(e){return Ge(e&&e.start)+"-"+Ge(e&&e.end)}function Ye(e){return e&&"number"==typeof e?e:1}const Ze={}.hasOwnProperty,Je=function(e,n,t){return"string"!=typeof n&&(t=n,n=void 0),function(e){const n={transforms:[],canContainEols:["emphasis","fragment","heading","paragraph","strong"],enter:{autolink:a(oe),autolinkProtocol:C,autolinkEmail:C,atxHeading:a(ne),blockQuote:a(Y),characterEscape:C,characterReference:C,codeFenced:a(Z),codeFencedFenceInfo:l,codeFencedFenceMeta:l,codeIndented:a(Z,l),codeText:a(J,l),codeTextData:C,data:C,codeFlowValue:C,definition:a(K),definitionDestinationString:l,definitionLabelString:l,definitionTitleString:l,emphasis:a(X),hardBreakEscape:a(te),hardBreakTrailing:a(te),htmlFlow:a(re,l),htmlFlowData:C,htmlText:a(re,l),htmlTextData:C,image:a(ie),label:l,link:a(oe),listItem:a(ce),listItemValue:v,listOrdered:a(ue,g),listUnordered:a(ue),paragraph:a(se),reference:V,referenceString:l,resourceDestinationString:l,resourceTitleString:l,setextHeading:a(ne),strong:a(ae),thematicBreak:a(fe)},exit:{atxHeading:d(),atxHeadingSequence:E,autolink:d(),autolinkEmail:W,autolinkProtocol:G,blockQuote:d(),characterEscapeValue:j,characterReferenceMarkerHexadecimal:$,characterReferenceMarkerNumeric:$,characterReferenceValue:Q,codeFenced:d(x),codeFencedFence:b,codeFencedFenceInfo:m,codeFencedFenceMeta:A,codeFlowValue:j,codeIndented:d(y),codeText:d(D),codeTextData:j,data:j,definition:d(),definitionDestinationString:_,definitionLabelString:k,definitionTitleString:w,emphasis:d(),hardBreakEscape:d(L),hardBreakTrailing:d(L),htmlFlow:d(O),htmlFlowData:j,htmlText:d(z),htmlTextData:j,image:d(N),label:P,labelText:B,lineEnding:T,link:d(M),listItem:d(),listOrdered:d(),listUnordered:d(),paragraph:d(),referenceString:U,resourceDestinationString:R,resourceTitleString:q,resource:H,setextHeading:d(I),setextHeadingLineSequence:S,setextHeadingText:F,strong:d(),thematicBreak:d()}};Xe(n,(e||{}).mdastExtensions||[]);const t={};return r;function r(e){let t={type:"root",children:[]};const r={stack:[t],tokenStack:[],config:n,enter:f,exit:h,buffer:l,resume:p,setData:c,getData:s},o=[];let u=-1;for(;++u<e.length;)if("listOrdered"===e[u][1].type||"listUnordered"===e[u][1].type)if("enter"===e[u][0])o.push(u);else{u=i(e,o.pop(),u)}for(u=-1;++u<e.length;){const t=n[e[u][0]];Ze.call(t,e[u][1].type)&&t[e[u][1].type].call(Object.assign({sliceSerialize:e[u][2].sliceSerialize},r),e[u][1])}if(r.tokenStack.length>0){const e=r.tokenStack[r.tokenStack.length-1];(e[1]||nn).call(r,void 0,e[0])}for(t.position={start:Ke(e.length>0?e[0][1].start:{line:1,column:1,offset:0}),end:Ke(e.length>0?e[e.length-2][1].end:{line:1,column:1,offset:0})},u=-1;++u<n.transforms.length;)t=n.transforms[u](t)||t;return t}function i(e,n,t){let r,i,o,u,c=n-1,s=-1,a=!1;for(;++c<=t;){const n=e[c];if("listUnordered"===n[1].type||"listOrdered"===n[1].type||"blockQuote"===n[1].type?("enter"===n[0]?s++:s--,u=void 0):"lineEndingBlank"===n[1].type?"enter"===n[0]&&(!r||u||s||o||(o=c),u=void 0):"linePrefix"===n[1].type||"listItemValue"===n[1].type||"listItemMarker"===n[1].type||"listItemPrefix"===n[1].type||"listItemPrefixWhitespace"===n[1].type||(u=void 0),!s&&"enter"===n[0]&&"listItemPrefix"===n[1].type||-1===s&&"exit"===n[0]&&("listUnordered"===n[1].type||"listOrdered"===n[1].type)){if(r){let u=c;for(i=void 0;u--;){const n=e[u];if("lineEnding"===n[1].type||"lineEndingBlank"===n[1].type){if("exit"===n[0])continue;i&&(e[i][1].type="lineEndingBlank",a=!0),n[1].type="lineEnding",i=u}else if("linePrefix"!==n[1].type&&"blockQuotePrefix"!==n[1].type&&"blockQuotePrefixWhitespace"!==n[1].type&&"blockQuoteMarker"!==n[1].type&&"listItemIndent"!==n[1].type)break}o&&(!i||o<i)&&(r._spread=!0),r.end=Object.assign({},i?e[i][1].start:n[1].end),e.splice(i||c,0,["exit",r,n[2]]),c++,t++}"listItemPrefix"===n[1].type&&(r={type:"listItem",_spread:!1,start:Object.assign({},n[1].start),end:void 0},e.splice(c,0,["enter",r,n[2]]),c++,t++,o=void 0,u=!0)}}return e[n][1]._spread=a,t}function c(e,n){t[e]=n}function s(e){return t[e]}function a(e,n){return t;function t(t){f.call(this,e(t),t),n&&n.call(this,t)}}function l(){this.stack.push({type:"fragment",children:[]})}function f(e,n,t){return this.stack[this.stack.length-1].children.push(e),this.stack.push(e),this.tokenStack.push([n,t]),e.position={start:Ke(n.start)},e}function d(e){return n;function n(n){e&&e.call(this,n),h.call(this,n)}}function h(e,n){const t=this.stack.pop(),r=this.tokenStack.pop();if(!r)throw new Error("Cannot close `"+e.type+"` ("+Qe({start:e.start,end:e.end})+"): it\u2019s not open");if(r[0].type!==e.type)if(n)n.call(this,e,r[0]);else{(r[1]||nn).call(this,e,r[0])}return t.position.end=Ke(e.end),t}function p(){return function(e,n){const t=n||o;return u(e,"boolean"!=typeof t.includeImageAlt||t.includeImageAlt,"boolean"!=typeof t.includeHtml||t.includeHtml)}(this.stack.pop())}function g(){c("expectingFirstListItemValue",!0)}function v(e){if(s("expectingFirstListItemValue")){this.stack[this.stack.length-2].start=Number.parseInt(this.sliceSerialize(e),10),c("expectingFirstListItemValue")}}function m(){const e=this.resume();this.stack[this.stack.length-1].lang=e}function A(){const e=this.resume();this.stack[this.stack.length-1].meta=e}function b(){s("flowCodeInside")||(this.buffer(),c("flowCodeInside",!0))}function x(){const e=this.resume();this.stack[this.stack.length-1].value=e.replace(/^(\r?\n|\r)|(\r?\n|\r)$/g,""),c("flowCodeInside")}function y(){const e=this.resume();this.stack[this.stack.length-1].value=e.replace(/(\r?\n|\r)$/g,"")}function k(e){const n=this.resume(),t=this.stack[this.stack.length-1];t.label=n,t.identifier=ee(this.sliceSerialize(e)).toLowerCase()}function w(){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 E(e){const n=this.stack[this.stack.length-1];if(!n.depth){const t=this.sliceSerialize(e).length;n.depth=t}}function F(){c("setextHeadingSlurpLineEnding",!0)}function S(e){this.stack[this.stack.length-1].depth=61===this.sliceSerialize(e).charCodeAt(0)?1:2}function I(){c("setextHeadingSlurpLineEnding")}function C(e){const n=this.stack[this.stack.length-1];let t=n.children[n.children.length-1];t&&"text"===t.type||(t=le(),t.position={start:Ke(e.start)},n.children.push(t)),this.stack.push(t)}function j(e){const n=this.stack.pop();n.value+=this.sliceSerialize(e),n.position.end=Ke(e.end)}function T(e){const t=this.stack[this.stack.length-1];if(s("atHardBreak")){return t.children[t.children.length-1].position.end=Ke(e.end),void c("atHardBreak")}!s("setextHeadingSlurpLineEnding")&&n.canContainEols.includes(t.type)&&(C.call(this,e),j.call(this,e))}function L(){c("atHardBreak",!0)}function O(){const e=this.resume();this.stack[this.stack.length-1].value=e}function z(){const e=this.resume();this.stack[this.stack.length-1].value=e}function D(){const e=this.resume();this.stack[this.stack.length-1].value=e}function M(){const e=this.stack[this.stack.length-1];if(s("inReference")){const n=s("referenceType")||"shortcut";e.type+="Reference",e.referenceType=n,delete e.url,delete e.title}else delete e.identifier,delete e.label;c("referenceType")}function N(){const e=this.stack[this.stack.length-1];if(s("inReference")){const n=s("referenceType")||"shortcut";e.type+="Reference",e.referenceType=n,delete e.url,delete e.title}else delete e.identifier,delete e.label;c("referenceType")}function B(e){const n=this.sliceSerialize(e),t=this.stack[this.stack.length-2];t.label=function(e){return e.replace(Ue,$e)}(n),t.identifier=ee(n).toLowerCase()}function P(){const e=this.stack[this.stack.length-1],n=this.resume(),t=this.stack[this.stack.length-1];if(c("inReference",!0),"link"===t.type){const n=e.children;t.children=n}else t.alt=n}function R(){const e=this.resume();this.stack[this.stack.length-1].url=e}function q(){const e=this.resume();this.stack[this.stack.length-1].title=e}function H(){c("inReference")}function V(){c("referenceType","collapsed")}function U(e){const n=this.resume(),t=this.stack[this.stack.length-1];t.label=n,t.identifier=ee(this.sliceSerialize(e)).toLowerCase(),c("referenceType","full")}function $(e){c("characterReferenceType",e.type)}function Q(e){const n=this.sliceSerialize(e),t=s("characterReferenceType");let r;if(t)r=Ve(n,"characterReferenceMarkerNumeric"===t?10:16),c("characterReferenceType");else{r=ge(n)}const i=this.stack.pop();i.value+=r,i.position.end=Ke(e.end)}function G(e){j.call(this,e);this.stack[this.stack.length-1].url=this.sliceSerialize(e)}function W(e){j.call(this,e);this.stack[this.stack.length-1].url="mailto:"+this.sliceSerialize(e)}function Y(){return{type:"blockquote",children:[]}}function Z(){return{type:"code",lang:null,meta:null,value:""}}function J(){return{type:"inlineCode",value:""}}function K(){return{type:"definition",identifier:"",label:null,title:null,url:""}}function X(){return{type:"emphasis",children:[]}}function ne(){return{type:"heading",depth:void 0,children:[]}}function te(){return{type:"break"}}function re(){return{type:"html",value:""}}function ie(){return{type:"image",title:null,url:"",alt:null}}function oe(){return{type:"link",title:null,url:"",children:[]}}function ue(e){return{type:"list",ordered:"listOrdered"===e.type,start:null,spread:e._spread,children:[]}}function ce(e){return{type:"listItem",spread:e._spread,checked:null,children:[]}}function se(){return{type:"paragraph",children:[]}}function ae(){return{type:"strong",children:[]}}function le(){return{type:"text",value:""}}function fe(){return{type:"thematicBreak"}}}(t)(function(e){for(;!L(e););return e}(qe(t).document().write(function(){let e,n=1,t="",r=!0;return function(i,o,u){const c=[];let s,a,l,f,d;for(i=t+i.toString(o),l=0,t="",r&&(65279===i.charCodeAt(0)&&l++,r=void 0);l<i.length;){if(He.lastIndex=l,s=He.exec(i),f=s&&void 0!==s.index?s.index:i.length,d=i.charCodeAt(f),!s){t=i.slice(l);break}if(10===d&&l===f&&e)c.push(-3),e=void 0;else switch(e&&(c.push(-5),e=void 0),l<f&&(c.push(i.slice(l,f)),n+=f-l),d){case 0:c.push(65533),n++;break;case 9:for(a=4*Math.ceil(n/4),c.push(-2);n++<a;)c.push(-1);break;case 10:c.push(-4),n=1;break;default:e=!0,n=1}l=f+1}return u&&(e&&c.push(-5),t&&c.push(t),c.push(null)),c}}()(e,n,!0))))};function Ke(e){return{line:e.line,column:e.column,offset:e.offset}}function Xe(e,n){let t=-1;for(;++t<n.length;){const r=n[t];Array.isArray(r)?Xe(e,r):en(e,r)}}function en(e,n){let t;for(t in n)if(Ze.call(n,t))if("canContainEols"===t){const r=n[t];r&&e[t].push(...r)}else if("transforms"===t){const r=n[t];r&&e[t].push(...r)}else if("enter"===t||"exit"===t){const r=n[t];r&&Object.assign(e[t],r)}}function nn(e,n){throw e?new Error("Cannot close `"+e.type+"` ("+Qe({start:e.start,end:e.end})+"): a different token (`"+n.type+"`, "+Qe({start:n.start,end:n.end})+") is open"):new Error("Cannot close document, a token (`"+n.type+"`, "+Qe({start:n.start,end:n.end})+") is still open")}var tn=t(513);function rn(e){const n=function(e){const n=e.replace(/\n{2,}/g,"\n");return(0,tn.T)(n)}(e),{children:t}=Je(n),r=[[]];let i=0;function o(e,n="normal"){if("text"===e.type){e.value.split("\n").forEach(((e,t)=>{0!==t&&(i++,r.push([])),e.split(" ").forEach((e=>{e&&r[i].push({content:e,type:n})}))}))}else"strong"!==e.type&&"emphasis"!==e.type||e.children.forEach((n=>{o(n,e.type)}))}return t.forEach((e=>{"paragraph"===e.type&&e.children.forEach((e=>{o(e)}))})),r}function on(e,n){var t;return un(e,[],(t=n.content,Intl.Segmenter?[...(new Intl.Segmenter).segment(t)].map((e=>e.segment)):[...t]),n.type)}function un(e,n,t,r){if(0===t.length)return[{content:n.join(""),type:r},{content:"",type:r}];const[i,...o]=t,u=[...n,i];return e([{content:u.join(""),type:r}])?un(e,u,o,r):(0===n.length&&i&&(n.push(i),t.shift()),[{content:n.join(""),type:r},{content:t.join(""),type:r}])}function cn(e,n){if(e.some((({content:e})=>e.includes("\n"))))throw new Error("splitLineToFitWidth does not support newlines in the line");return sn(e,n)}function sn(e,n,t=[],r=[]){if(0===e.length)return r.length>0&&t.push(r),t.length>0?t:[];let i="";" "===e[0].content&&(i=" ",e.shift());const o=e.shift()??{content:" ",type:"normal"},u=[...r];if(""!==i&&u.push({content:i,type:"normal"}),u.push(o),n(u))return sn(e,n,t,u);if(r.length>0)t.push(r),e.unshift(o);else if(o.content){const[r,i]=on(n,o);t.push([r]),i.content&&e.unshift(i)}return sn(e,n,t)}function an(e,n,t){return e.append("tspan").attr("class","text-outer-tspan").attr("x",0).attr("y",n*t-.1+"em").attr("dy",t+"em")}function ln(e,n,t){const r=e.append("text"),i=an(r,1,n);dn(i,t);const o=i.node().getComputedTextLength();return r.remove(),o}function fn(e,n,t){var r;const i=e.append("text"),o=an(i,1,n);dn(o,[{content:t,type:"normal"}]);const u=null==(r=o.node())?void 0:r.getBoundingClientRect();return u&&i.remove(),u}function dn(e,n){e.text(""),n.forEach(((n,t)=>{const r=e.append("tspan").attr("font-style","emphasis"===n.type?"italic":"normal").attr("class","text-inner-tspan").attr("font-weight","strong"===n.type?"bold":"normal");0===t?r.text(n.content):r.text(" "+n.content)}))}const hn=(e,n="",{style:t="",isTitle:r=!1,classes:o="",useHtmlLabels:u=!0,isNode:c=!0,width:s=200,addSvgBackground:a=!1}={})=>{if(i.l.info("createText",n,t,r,o,u,c,a),u){const r=function(e){const{children:n}=Je(e);return n.map((function e(n){return"text"===n.type?n.value.replace(/\n/g,"<br/>"):"strong"===n.type?`<strong>${n.children.map(e).join("")}</strong>`:"emphasis"===n.type?`<em>${n.children.map(e).join("")}</em>`:"paragraph"===n.type?`<p>${n.children.map(e).join("")}</p>`:`Unsupported markdown: ${n.type}`})).join("")}(n),u=function(e,n,t,r,i=!1){const o=e.append("foreignObject"),u=o.append("xhtml:div"),c=n.label,s=n.isNode?"nodeLabel":"edgeLabel";var a,l;u.html(`\n <span class="${s} ${r}" `+(n.labelStyle?'style="'+n.labelStyle+'"':"")+">"+c+"</span>"),a=u,(l=n.labelStyle)&&a.attr("style",l),u.style("display","table-cell"),u.style("white-space","nowrap"),u.style("max-width",t+"px"),u.attr("xmlns","http://www.w3.org/1999/xhtml"),i&&u.attr("class","labelBkg");let f=u.node().getBoundingClientRect();return f.width===t&&(u.style("display","table"),u.style("white-space","break-spaces"),u.style("width",t+"px"),f=u.node().getBoundingClientRect()),o.style("width",f.width),o.style("height",f.height),o.node()}(e,{isNode:c,label:(0,i.M)(r).replace(/fa[blrs]?:fa-[\w-]+/g,(e=>`<i class='${e.replace(":"," ")}'></i>`)),labelStyle:t.replace("fill:","color:")},s,o,a);return u}{const t=function(e,n,t,r=!1){const i=n.append("g"),o=i.insert("rect").attr("class","background"),u=i.append("text").attr("y","-10.1");let c=0;for(const s of t){const n=n=>ln(i,1.1,n)<=e,t=n(s)?[s]:cn(s,n);for(const e of t)dn(an(u,c,1.1),e),c++}if(r){const e=u.node().getBBox(),n=2;return o.attr("x",-n).attr("y",-n).attr("width",e.width+2*n).attr("height",e.height+2*n),i.node()}return u.node()}(s,e,rn(n),a);return t}}}}]); \ No newline at end of file diff --git a/assets/js/common.f68d5b12.js b/assets/js/common.f68d5b12.js deleted file mode 100644 index 1a240b36..00000000 --- a/assets/js/common.f68d5b12.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[2076],{8453:(t,e,n)=>{n.d(e,{R:()=>a,x:()=>s});var r=n(6540);const i={},o=r.createContext(i);function a(t){const e=r.useContext(o);return r.useMemo((function(){return"function"==typeof t?t(e):{...e,...t}}),[e,t])}function s(t){let e;return e=t.disableParentContext?"function"==typeof t.components?t.components(i):t.components||i:a(t.components),r.createElement(o.Provider,{value:e},t.children)}},1176:(t,e,n)=>{n.d(e,{Zp:()=>Ie});var r=n(8058),i=n(5664),o=n(8585),a=n(9142),s=n(4098),c=n(4722),u=n(1395),l=n(697);class d{constructor(){var t={};t._next=t._prev=t,this._sentinel=t}dequeue(){var t=this._sentinel,e=t._prev;if(e!==t)return f(e),e}enqueue(t){var e=this._sentinel;t._prev&&t._next&&f(t),t._next=e._next,e._next._prev=t,e._next=t,t._prev=e}toString(){for(var t=[],e=this._sentinel,n=e._prev;n!==e;)t.push(JSON.stringify(n,h)),n=n._prev;return"["+t.join(", ")+"]"}}function f(t){t._prev._next=t._next,t._next._prev=t._prev,delete t._next,delete t._prev}function h(t,e){if("_next"!==t&&"_prev"!==t)return e}var p=a.A(1);function g(t,e){if(t.nodeCount()<=1)return[];var n=function(t,e){var n=new l.T,i=0,o=0;r.A(t.nodes(),(function(t){n.setNode(t,{v:t,in:0,out:0})})),r.A(t.edges(),(function(t){var r=n.edge(t.v,t.w)||0,a=e(t),s=r+a;n.setEdge(t.v,t.w,s),o=Math.max(o,n.node(t.v).out+=a),i=Math.max(i,n.node(t.w).in+=a)}));var a=u.A(o+i+3).map((function(){return new d})),s=i+1;return r.A(n.nodes(),(function(t){m(a,s,n.node(t))})),{graph:n,buckets:a,zeroIdx:s}}(t,e||p),i=function(t,e,n){var r,i=[],o=e[e.length-1],a=e[0];for(;t.nodeCount();){for(;r=a.dequeue();)y(t,e,n,r);for(;r=o.dequeue();)y(t,e,n,r);if(t.nodeCount())for(var s=e.length-2;s>0;--s)if(r=e[s].dequeue()){i=i.concat(y(t,e,n,r,!0));break}}return i}(n.graph,n.buckets,n.zeroIdx);return s.A(c.A(i,(function(e){return t.outEdges(e.v,e.w)})))}function y(t,e,n,i,o){var a=o?[]:void 0;return r.A(t.inEdges(i.v),(function(r){var i=t.edge(r),s=t.node(r.v);o&&a.push({v:r.v,w:r.w}),s.out-=i,m(e,n,s)})),r.A(t.outEdges(i.v),(function(r){var i=t.edge(r),o=r.w,a=t.node(o);a.in-=i,m(e,n,a)})),t.removeNode(i.v),a}function m(t,e,n){n.out?n.in?t[n.out-n.in+e].enqueue(n):t[t.length-1].enqueue(n):t[0].enqueue(n)}function v(t){var e="greedy"===t.graph().acyclicer?g(t,function(t){return function(e){return t.edge(e).weight}}(t)):function(t){var e=[],n={},i={};function a(s){o.A(i,s)||(i[s]=!0,n[s]=!0,r.A(t.outEdges(s),(function(t){o.A(n,t.w)?e.push(t):a(t.w)})),delete n[s])}return r.A(t.nodes(),a),e}(t);r.A(e,(function(e){var n=t.edge(e);t.removeEdge(e),n.forwardName=e.name,n.reversed=!0,t.setEdge(e.w,e.v,n,i.A("rev"))}))}var x=n(8879),b=n(1942),A=n(3068),w=n(1882);const k=function(t,e,n){for(var r=-1,i=t.length;++r<i;){var o=t[r],a=e(o);if(null!=a&&(void 0===s?a==a&&!(0,w.A)(a):n(a,s)))var s=a,c=o}return c};const _=function(t,e){return t>e};var E=n(9008);const S=function(t){return t&&t.length?k(t,E.A,_):void 0};const F=function(t){var e=null==t?0:t.length;return e?t[e-1]:void 0};var L=n(2528),C=n(9841),T=n(9574);const I=function(t,e){var n={};return e=(0,T.A)(e,3),(0,C.A)(t,(function(t,r,i){(0,L.A)(n,r,e(t,r,i))})),n};var M=n(9592);const j=function(t,e){return t<e};const B=function(t){return t&&t.length?k(t,E.A,j):void 0};var O=n(1917);const D=function(){return O.A.Date.now()};function N(t,e,n,r){var o;do{o=i.A(r)}while(t.hasNode(o));return n.dummy=e,t.setNode(o,n),o}function P(t){var e=new l.T({multigraph:t.isMultigraph()}).setGraph(t.graph());return r.A(t.nodes(),(function(n){t.children(n).length||e.setNode(n,t.node(n))})),r.A(t.edges(),(function(n){e.setEdge(n,t.edge(n))})),e}function z(t,e){var n,r,i=t.x,o=t.y,a=e.x-i,s=e.y-o,c=t.width/2,u=t.height/2;if(!a&&!s)throw new Error("Not possible to find intersection inside of the rectangle");return Math.abs(s)*c>Math.abs(a)*u?(s<0&&(u=-u),n=u*a/s,r=u):(a<0&&(c=-c),n=c,r=c*s/a),{x:i+n,y:o+r}}function R(t){var e=c.A(u.A($(t)+1),(function(){return[]}));return r.A(t.nodes(),(function(n){var r=t.node(n),i=r.rank;M.A(i)||(e[i][r.order]=n)})),e}function H(t,e,n,r){var i={width:0,height:0};return arguments.length>=4&&(i.rank=n,i.order=r),N(t,"border",i,e)}function $(t){return S(c.A(t.nodes(),(function(e){var n=t.node(e).rank;if(!M.A(n))return n})))}function q(t,e){var n=D();try{return e()}finally{console.log(t+" time: "+(D()-n)+"ms")}}function V(t,e){return e()}function U(t,e,n,r,i,o){var a={width:0,height:0,rank:o,borderType:e},s=i[e][o-1],c=N(t,"border",a,n);i[e][o]=c,t.setParent(c,r),s&&t.setEdge(s,c,{weight:1})}function Y(t){var e=t.graph().rankdir.toLowerCase();"bt"!==e&&"rl"!==e||function(t){r.A(t.nodes(),(function(e){G(t.node(e))})),r.A(t.edges(),(function(e){var n=t.edge(e);r.A(n.points,G),o.A(n,"y")&&G(n)}))}(t),"lr"!==e&&"rl"!==e||(!function(t){r.A(t.nodes(),(function(e){Q(t.node(e))})),r.A(t.edges(),(function(e){var n=t.edge(e);r.A(n.points,Q),o.A(n,"x")&&Q(n)}))}(t),W(t))}function W(t){r.A(t.nodes(),(function(e){X(t.node(e))})),r.A(t.edges(),(function(e){X(t.edge(e))}))}function X(t){var e=t.width;t.width=t.height,t.height=e}function G(t){t.y=-t.y}function Q(t){var e=t.x;t.x=t.y,t.y=e}function Z(t){t.graph().dummyChains=[],r.A(t.edges(),(function(e){!function(t,e){var n,r,i,o=e.v,a=t.node(o).rank,s=e.w,c=t.node(s).rank,u=e.name,l=t.edge(e),d=l.labelRank;if(c===a+1)return;for(t.removeEdge(e),i=0,++a;a<c;++i,++a)l.points=[],n=N(t,"edge",r={width:0,height:0,edgeLabel:l,edgeObj:e,rank:a},"_d"),a===d&&(r.width=l.width,r.height=l.height,r.dummy="edge-label",r.labelpos=l.labelpos),t.setEdge(o,n,{weight:l.weight},u),0===i&&t.graph().dummyChains.push(n),o=n;t.setEdge(o,s,{weight:l.weight},u)}(t,e)}))}const J=function(t,e){return t&&t.length?k(t,(0,T.A)(e,2),j):void 0};function K(t){var e={};r.A(t.sources(),(function n(r){var i=t.node(r);if(o.A(e,r))return i.rank;e[r]=!0;var a=B(c.A(t.outEdges(r),(function(e){return n(e.w)-t.edge(e).minlen})));return a!==Number.POSITIVE_INFINITY&&null!=a||(a=0),i.rank=a}))}function tt(t,e){return t.node(e.w).rank-t.node(e.v).rank-t.edge(e).minlen}function et(t){var e,n,r=new l.T({directed:!1}),i=t.nodes()[0],o=t.nodeCount();for(r.setNode(i,{});nt(r,t)<o;)e=rt(r,t),n=r.hasNode(e.v)?tt(t,e):-tt(t,e),it(r,t,n);return r}function nt(t,e){return r.A(t.nodes(),(function n(i){r.A(e.nodeEdges(i),(function(r){var o=r.v,a=i===o?r.w:o;t.hasNode(a)||tt(e,r)||(t.setNode(a,{}),t.setEdge(i,a,{}),n(a))}))})),t.nodeCount()}function rt(t,e){return J(e.edges(),(function(n){if(t.hasNode(n.v)!==t.hasNode(n.w))return tt(e,n)}))}function it(t,e,n){r.A(t.nodes(),(function(t){e.node(t).rank+=n}))}var ot=n(8446),at=n(7422);const st=function(t){return function(e,n,r){var i=Object(e);if(!(0,ot.A)(e)){var o=(0,T.A)(n,3);e=(0,at.A)(e),n=function(t){return o(i[t],t,i)}}var a=t(e,n,r);return a>-1?i[o?e[a]:a]:void 0}};var ct=n(5707),ut=n(4342);const lt=function(t){var e=(0,ut.A)(t),n=e%1;return e==e?n?e-n:e:0};var dt=Math.max;const ft=st((function(t,e,n){var r=null==t?0:t.length;if(!r)return-1;var i=null==n?0:lt(n);return i<0&&(i=dt(r+i,0)),(0,ct.A)(t,(0,T.A)(e,3),i)}));var ht=n(1662);a.A(1);a.A(1);n(1852),n(9779),n(8496);var pt=n(2049);n(3098);(0,n(805).A)("length");RegExp("[\\u200d\\ud800-\\udfff\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff\\ufe0e\\ufe0f]");var gt="\\ud800-\\udfff",yt="["+gt+"]",mt="[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]",vt="\\ud83c[\\udffb-\\udfff]",xt="[^"+gt+"]",bt="(?:\\ud83c[\\udde6-\\uddff]){2}",At="[\\ud800-\\udbff][\\udc00-\\udfff]",wt="(?:"+mt+"|"+vt+")"+"?",kt="[\\ufe0e\\ufe0f]?",_t=kt+wt+("(?:\\u200d(?:"+[xt,bt,At].join("|")+")"+kt+wt+")*"),Et="(?:"+[xt+mt+"?",mt,bt,At,yt].join("|")+")";RegExp(vt+"(?="+vt+")|"+Et+_t,"g");function St(){}function Ft(t,e,n){pt.A(e)||(e=[e]);var i=(t.isDirected()?t.successors:t.neighbors).bind(t),o=[],a={};return r.A(e,(function(e){if(!t.hasNode(e))throw new Error("Graph does not have node: "+e);Lt(t,e,"post"===n,a,i,o)})),o}function Lt(t,e,n,i,a,s){o.A(i,e)||(i[e]=!0,n||s.push(e),r.A(a(e),(function(e){Lt(t,e,n,i,a,s)})),n&&s.push(e))}St.prototype=new Error;n(3046);function Ct(t){t=function(t){var e=(new l.T).setGraph(t.graph());return r.A(t.nodes(),(function(n){e.setNode(n,t.node(n))})),r.A(t.edges(),(function(n){var r=e.edge(n.v,n.w)||{weight:0,minlen:1},i=t.edge(n);e.setEdge(n.v,n.w,{weight:r.weight+i.weight,minlen:Math.max(r.minlen,i.minlen)})})),e}(t),K(t);var e,n=et(t);for(Mt(n),Tt(n,t);e=Bt(n);)Dt(n,t,e,Ot(n,t,e))}function Tt(t,e){var n=function(t,e){return Ft(t,e,"post")}(t,t.nodes());n=n.slice(0,n.length-1),r.A(n,(function(n){!function(t,e,n){var r=t.node(n),i=r.parent;t.edge(n,i).cutvalue=It(t,e,n)}(t,e,n)}))}function It(t,e,n){var i=t.node(n).parent,o=!0,a=e.edge(n,i),s=0;return a||(o=!1,a=e.edge(i,n)),s=a.weight,r.A(e.nodeEdges(n),(function(r){var a,c,u=r.v===n,l=u?r.w:r.v;if(l!==i){var d=u===o,f=e.edge(r).weight;if(s+=d?f:-f,a=n,c=l,t.hasEdge(a,c)){var h=t.edge(n,l).cutvalue;s+=d?-h:h}}})),s}function Mt(t,e){arguments.length<2&&(e=t.nodes()[0]),jt(t,{},1,e)}function jt(t,e,n,i,a){var s=n,c=t.node(i);return e[i]=!0,r.A(t.neighbors(i),(function(r){o.A(e,r)||(n=jt(t,e,n,r,i))})),c.low=s,c.lim=n++,a?c.parent=a:delete c.parent,n}function Bt(t){return ft(t.edges(),(function(e){return t.edge(e).cutvalue<0}))}function Ot(t,e,n){var r=n.v,i=n.w;e.hasEdge(r,i)||(r=n.w,i=n.v);var o=t.node(r),a=t.node(i),s=o,c=!1;o.lim>a.lim&&(s=a,c=!0);var u=ht.A(e.edges(),(function(e){return c===Nt(t,t.node(e.v),s)&&c!==Nt(t,t.node(e.w),s)}));return J(u,(function(t){return tt(e,t)}))}function Dt(t,e,n,i){var o=n.v,a=n.w;t.removeEdge(o,a),t.setEdge(i.v,i.w,{}),Mt(t),Tt(t,e),function(t,e){var n=ft(t.nodes(),(function(t){return!e.node(t).parent})),i=function(t,e){return Ft(t,e,"pre")}(t,n);i=i.slice(1),r.A(i,(function(n){var r=t.node(n).parent,i=e.edge(n,r),o=!1;i||(i=e.edge(r,n),o=!0),e.node(n).rank=e.node(r).rank+(o?i.minlen:-i.minlen)}))}(t,e)}function Nt(t,e,n){return n.low<=e.lim&&e.lim<=n.lim}function Pt(t){switch(t.graph().ranker){case"network-simplex":default:Rt(t);break;case"tight-tree":!function(t){K(t),et(t)}(t);break;case"longest-path":zt(t)}}Ct.initLowLimValues=Mt,Ct.initCutValues=Tt,Ct.calcCutValue=It,Ct.leaveEdge=Bt,Ct.enterEdge=Ot,Ct.exchangeEdges=Dt;var zt=K;function Rt(t){Ct(t)}var Ht=n(8207),$t=n(9463);function qt(t){var e=N(t,"root",{},"_root"),n=function(t){var e={};function n(i,o){var a=t.children(i);a&&a.length&&r.A(a,(function(t){n(t,o+1)})),e[i]=o}return r.A(t.children(),(function(t){n(t,1)})),e}(t),i=S(Ht.A(n))-1,o=2*i+1;t.graph().nestingRoot=e,r.A(t.edges(),(function(e){t.edge(e).minlen*=o}));var a=function(t){return $t.A(t.edges(),(function(e,n){return e+t.edge(n).weight}),0)}(t)+1;r.A(t.children(),(function(r){Vt(t,e,o,a,i,n,r)})),t.graph().nodeRankFactor=o}function Vt(t,e,n,i,o,a,s){var c=t.children(s);if(c.length){var u=H(t,"_bt"),l=H(t,"_bb"),d=t.node(s);t.setParent(u,s),d.borderTop=u,t.setParent(l,s),d.borderBottom=l,r.A(c,(function(r){Vt(t,e,n,i,o,a,r);var c=t.node(r),d=c.borderTop?c.borderTop:r,f=c.borderBottom?c.borderBottom:r,h=c.borderTop?i:2*i,p=d!==f?1:o-a[s]+1;t.setEdge(u,d,{weight:h,minlen:p,nestingEdge:!0}),t.setEdge(f,l,{weight:h,minlen:p,nestingEdge:!0})})),t.parent(s)||t.setEdge(e,u,{weight:0,minlen:o+a[s]})}else s!==e&&t.setEdge(e,s,{weight:0,minlen:n})}var Ut=n(1641);const Yt=function(t){return(0,Ut.A)(t,5)};function Wt(t,e,n){var a=function(t){var e;for(;t.hasNode(e=i.A("_root")););return e}(t),s=new l.T({compound:!0}).setGraph({root:a}).setDefaultNodeLabel((function(e){return t.node(e)}));return r.A(t.nodes(),(function(i){var c=t.node(i),u=t.parent(i);(c.rank===e||c.minRank<=e&&e<=c.maxRank)&&(s.setNode(i),s.setParent(i,u||a),r.A(t[n](i),(function(e){var n=e.v===i?e.w:e.v,r=s.edge(n,i),o=M.A(r)?0:r.weight;s.setEdge(n,i,{weight:t.edge(e).weight+o})})),o.A(c,"minRank")&&s.setNode(i,{borderLeft:c.borderLeft[e],borderRight:c.borderRight[e]}))})),s}var Xt=n(2851);const Gt=function(t,e,n){for(var r=-1,i=t.length,o=e.length,a={};++r<i;){var s=r<o?e[r]:void 0;n(a,t[r],s)}return a};const Qt=function(t,e){return Gt(t||[],e||[],Xt.A)};var Zt=n(3588),Jt=n(5572),Kt=n(6318),te=n(2568);const ee=function(t,e){var n=t.length;for(t.sort(e);n--;)t[n]=t[n].value;return t};var ne=n(2789);const re=function(t,e){if(t!==e){var n=void 0!==t,r=null===t,i=t==t,o=(0,w.A)(t),a=void 0!==e,s=null===e,c=e==e,u=(0,w.A)(e);if(!s&&!u&&!o&&t>e||o&&a&&c&&!s&&!u||r&&a&&c||!n&&c||!i)return 1;if(!r&&!o&&!u&&t<e||u&&n&&i&&!r&&!o||s&&n&&i||!a&&i||!c)return-1}return 0};const ie=function(t,e,n){for(var r=-1,i=t.criteria,o=e.criteria,a=i.length,s=n.length;++r<a;){var c=re(i[r],o[r]);if(c)return r>=s?c:c*("desc"==n[r]?-1:1)}return t.index-e.index};const oe=function(t,e,n){e=e.length?(0,Jt.A)(e,(function(t){return(0,pt.A)(t)?function(e){return(0,Kt.A)(e,1===t.length?t[0]:t)}:t})):[E.A];var r=-1;e=(0,Jt.A)(e,(0,ne.A)(T.A));var i=(0,te.A)(t,(function(t,n,i){return{criteria:(0,Jt.A)(e,(function(e){return e(t)})),index:++r,value:t}}));return ee(i,(function(t,e){return ie(t,e,n)}))};var ae=n(4326),se=n(6832);const ce=(0,ae.A)((function(t,e){if(null==t)return[];var n=e.length;return n>1&&(0,se.A)(t,e[0],e[1])?e=[]:n>2&&(0,se.A)(e[0],e[1],e[2])&&(e=[e[0]]),oe(t,(0,Zt.A)(e,1),[])}));function ue(t,e){for(var n=0,r=1;r<e.length;++r)n+=le(t,e[r-1],e[r]);return n}function le(t,e,n){for(var i=Qt(n,c.A(n,(function(t,e){return e}))),o=s.A(c.A(e,(function(e){return ce(c.A(t.outEdges(e),(function(e){return{pos:i[e.w],weight:t.edge(e).weight}})),"pos")}))),a=1;a<n.length;)a<<=1;var u=2*a-1;a-=1;var l=c.A(new Array(u),(function(){return 0})),d=0;return r.A(o.forEach((function(t){var e=t.pos+a;l[e]+=t.weight;for(var n=0;e>0;)e%2&&(n+=l[e+1]),l[e=e-1>>1]+=t.weight;d+=t.weight*n}))),d}function de(t,e){var n={};return r.A(t,(function(t,e){var r=n[t.v]={indegree:0,in:[],out:[],vs:[t.v],i:e};M.A(t.barycenter)||(r.barycenter=t.barycenter,r.weight=t.weight)})),r.A(e.edges(),(function(t){var e=n[t.v],r=n[t.w];M.A(e)||M.A(r)||(r.indegree++,e.out.push(n[t.w]))})),function(t){var e=[];function n(t){return function(e){e.merged||(M.A(e.barycenter)||M.A(t.barycenter)||e.barycenter>=t.barycenter)&&function(t,e){var n=0,r=0;t.weight&&(n+=t.barycenter*t.weight,r+=t.weight);e.weight&&(n+=e.barycenter*e.weight,r+=e.weight);t.vs=e.vs.concat(t.vs),t.barycenter=n/r,t.weight=r,t.i=Math.min(e.i,t.i),e.merged=!0}(t,e)}}function i(e){return function(n){n.in.push(e),0==--n.indegree&&t.push(n)}}for(;t.length;){var o=t.pop();e.push(o),r.A(o.in.reverse(),n(o)),r.A(o.out,i(o))}return c.A(ht.A(e,(function(t){return!t.merged})),(function(t){return b.A(t,["vs","i","barycenter","weight"])}))}(ht.A(n,(function(t){return!t.indegree})))}function fe(t,e){var n,i=function(t,e){var n={lhs:[],rhs:[]};return r.A(t,(function(t){e(t)?n.lhs.push(t):n.rhs.push(t)})),n}(t,(function(t){return o.A(t,"barycenter")})),a=i.lhs,c=ce(i.rhs,(function(t){return-t.i})),u=[],l=0,d=0,f=0;a.sort((n=!!e,function(t,e){return t.barycenter<e.barycenter?-1:t.barycenter>e.barycenter?1:n?e.i-t.i:t.i-e.i})),f=he(u,c,f),r.A(a,(function(t){f+=t.vs.length,u.push(t.vs),l+=t.barycenter*t.weight,d+=t.weight,f=he(u,c,f)}));var h={vs:s.A(u)};return d&&(h.barycenter=l/d,h.weight=d),h}function he(t,e,n){for(var r;e.length&&(r=F(e)).i<=n;)e.pop(),t.push(r.vs),n++;return n}function pe(t,e,n,i){var a=t.children(e),u=t.node(e),l=u?u.borderLeft:void 0,d=u?u.borderRight:void 0,f={};l&&(a=ht.A(a,(function(t){return t!==l&&t!==d})));var h=function(t,e){return c.A(e,(function(e){var n=t.inEdges(e);if(n.length){var r=$t.A(n,(function(e,n){var r=t.edge(n),i=t.node(n.v);return{sum:e.sum+r.weight*i.order,weight:e.weight+r.weight}}),{sum:0,weight:0});return{v:e,barycenter:r.sum/r.weight,weight:r.weight}}return{v:e}}))}(t,a);r.A(h,(function(e){if(t.children(e.v).length){var r=pe(t,e.v,n,i);f[e.v]=r,o.A(r,"barycenter")&&(a=e,s=r,M.A(a.barycenter)?(a.barycenter=s.barycenter,a.weight=s.weight):(a.barycenter=(a.barycenter*a.weight+s.barycenter*s.weight)/(a.weight+s.weight),a.weight+=s.weight))}var a,s}));var p=de(h,n);!function(t,e){r.A(t,(function(t){t.vs=s.A(t.vs.map((function(t){return e[t]?e[t].vs:t})))}))}(p,f);var g=fe(p,i);if(l&&(g.vs=s.A([l,g.vs,d]),t.predecessors(l).length)){var y=t.node(t.predecessors(l)[0]),m=t.node(t.predecessors(d)[0]);o.A(g,"barycenter")||(g.barycenter=0,g.weight=0),g.barycenter=(g.barycenter*g.weight+y.order+m.order)/(g.weight+2),g.weight+=2}return g}function ge(t){var e=$(t),n=ye(t,u.A(1,e+1),"inEdges"),i=ye(t,u.A(e-1,-1,-1),"outEdges"),a=function(t){var e={},n=ht.A(t.nodes(),(function(e){return!t.children(e).length})),i=S(c.A(n,(function(e){return t.node(e).rank}))),a=c.A(u.A(i+1),(function(){return[]})),s=ce(n,(function(e){return t.node(e).rank}));return r.A(s,(function n(i){if(!o.A(e,i)){e[i]=!0;var s=t.node(i);a[s.rank].push(i),r.A(t.successors(i),n)}})),a}(t);ve(t,a);for(var s,l=Number.POSITIVE_INFINITY,d=0,f=0;f<4;++d,++f){me(d%2?n:i,d%4>=2);var h=ue(t,a=R(t));h<l&&(f=0,s=Yt(a),l=h)}ve(t,s)}function ye(t,e,n){return c.A(e,(function(e){return Wt(t,e,n)}))}function me(t,e){var n=new l.T;r.A(t,(function(t){var i=t.graph().root,o=pe(t,i,n,e);r.A(o.vs,(function(e,n){t.node(e).order=n})),function(t,e,n){var i,o={};r.A(n,(function(n){for(var r,a,s=t.parent(n);s;){if((r=t.parent(s))?(a=o[r],o[r]=s):(a=i,i=s),a&&a!==s)return void e.setEdge(a,s);s=r}}))}(t,n,o.vs)}))}function ve(t,e){r.A(e,(function(e){r.A(e,(function(e,n){t.node(e).order=n}))}))}function xe(t){var e=function(t){var e={},n=0;function i(o){var a=n;r.A(t.children(o),i),e[o]={low:a,lim:n++}}return r.A(t.children(),i),e}(t);r.A(t.graph().dummyChains,(function(n){for(var r=t.node(n),i=r.edgeObj,o=function(t,e,n,r){var i,o,a=[],s=[],c=Math.min(e[n].low,e[r].low),u=Math.max(e[n].lim,e[r].lim);i=n;do{i=t.parent(i),a.push(i)}while(i&&(e[i].low>c||u>e[i].lim));o=i,i=r;for(;(i=t.parent(i))!==o;)s.push(i);return{path:a.concat(s.reverse()),lca:o}}(t,e,i.v,i.w),a=o.path,s=o.lca,c=0,u=a[c],l=!0;n!==i.w;){if(r=t.node(n),l){for(;(u=a[c])!==s&&t.node(u).maxRank<r.rank;)c++;u===s&&(l=!1)}if(!l){for(;c<a.length-1&&t.node(u=a[c+1]).minRank<=r.rank;)c++;u=a[c]}t.setParent(n,u),n=t.successors(n)[0]}}))}var be=n(9922);const Ae=function(t,e){return t&&(0,C.A)(t,(0,be.A)(e))};var we=n(4574),ke=n(5615);const _e=function(t,e){return null==t?t:(0,we.A)(t,(0,be.A)(e),ke.A)};function Ee(t,e){var n={};return $t.A(e,(function(e,i){var o=0,a=0,s=e.length,c=F(i);return r.A(i,(function(e,u){var l=function(t,e){if(t.node(e).dummy)return ft(t.predecessors(e),(function(e){return t.node(e).dummy}))}(t,e),d=l?t.node(l).order:s;(l||e===c)&&(r.A(i.slice(a,u+1),(function(e){r.A(t.predecessors(e),(function(r){var i=t.node(r),a=i.order;!(a<o||d<a)||i.dummy&&t.node(e).dummy||Se(n,r,e)}))})),a=u+1,o=d)})),i})),n}function Se(t,e,n){if(e>n){var r=e;e=n,n=r}var i=t[e];i||(t[e]=i={}),i[n]=!0}function Fe(t,e,n){if(e>n){var r=e;e=n,n=r}return o.A(t[e],n)}function Le(t,e,n,i,a){var s={},c=function(t,e,n,i){var a=new l.T,s=t.graph(),c=function(t,e,n){return function(r,i,a){var s,c=r.node(i),u=r.node(a),l=0;if(l+=c.width/2,o.A(c,"labelpos"))switch(c.labelpos.toLowerCase()){case"l":s=-c.width/2;break;case"r":s=c.width/2}if(s&&(l+=n?s:-s),s=0,l+=(c.dummy?e:t)/2,l+=(u.dummy?e:t)/2,l+=u.width/2,o.A(u,"labelpos"))switch(u.labelpos.toLowerCase()){case"l":s=u.width/2;break;case"r":s=-u.width/2}return s&&(l+=n?s:-s),s=0,l}}(s.nodesep,s.edgesep,i);return r.A(e,(function(e){var i;r.A(e,(function(e){var r=n[e];if(a.setNode(r),i){var o=n[i],s=a.edge(o,r);a.setEdge(o,r,Math.max(c(t,e,i),s||0))}i=e}))})),a}(t,e,n,a),u=a?"borderLeft":"borderRight";function d(t,e){for(var n=c.nodes(),r=n.pop(),i={};r;)i[r]?t(r):(i[r]=!0,n.push(r),n=n.concat(e(r))),r=n.pop()}return d((function(t){s[t]=c.inEdges(t).reduce((function(t,e){return Math.max(t,s[e.v]+c.edge(e))}),0)}),c.predecessors.bind(c)),d((function(e){var n=c.outEdges(e).reduce((function(t,e){return Math.min(t,s[e.w]-c.edge(e))}),Number.POSITIVE_INFINITY),r=t.node(e);n!==Number.POSITIVE_INFINITY&&r.borderType!==u&&(s[e]=Math.max(s[e],n))}),c.successors.bind(c)),r.A(i,(function(t){s[t]=s[n[t]]})),s}function Ce(t){var e,n=R(t),i=x.A(Ee(t,n),function(t,e){var n={};function i(e,i,o,a,s){var c;r.A(u.A(i,o),(function(i){c=e[i],t.node(c).dummy&&r.A(t.predecessors(c),(function(e){var r=t.node(e);r.dummy&&(r.order<a||r.order>s)&&Se(n,e,c)}))}))}return $t.A(e,(function(e,n){var o,a=-1,s=0;return r.A(n,(function(r,c){if("border"===t.node(r).dummy){var u=t.predecessors(r);u.length&&(o=t.node(u[0]).order,i(n,s,c,a,o),s=c,a=o)}i(n,s,n.length,o,e.length)})),n})),n}(t,n)),o={};r.A(["u","d"],(function(a){e="u"===a?n:Ht.A(n).reverse(),r.A(["l","r"],(function(n){"r"===n&&(e=c.A(e,(function(t){return Ht.A(t).reverse()})));var s=("u"===a?t.predecessors:t.successors).bind(t),u=function(t,e,n,i){var o={},a={},s={};return r.A(e,(function(t){r.A(t,(function(t,e){o[t]=t,a[t]=t,s[t]=e}))})),r.A(e,(function(t){var e=-1;r.A(t,(function(t){var r=i(t);if(r.length){r=ce(r,(function(t){return s[t]}));for(var c=(r.length-1)/2,u=Math.floor(c),l=Math.ceil(c);u<=l;++u){var d=r[u];a[t]===t&&e<s[d]&&!Fe(n,t,d)&&(a[d]=t,a[t]=o[t]=o[d],e=s[d])}}}))})),{root:o,align:a}}(0,e,i,s),l=Le(t,e,u.root,u.align,"r"===n);"r"===n&&(l=I(l,(function(t){return-t}))),o[a+n]=l}))}));var a=function(t,e){return J(Ht.A(e),(function(e){var n=Number.NEGATIVE_INFINITY,r=Number.POSITIVE_INFINITY;return _e(e,(function(e,i){var o=function(t,e){return t.node(e).width}(t,i)/2;n=Math.max(e+o,n),r=Math.min(e-o,r)})),n-r}))}(t,o);return function(t,e){var n=Ht.A(e),i=B(n),o=S(n);r.A(["u","d"],(function(n){r.A(["l","r"],(function(r){var a,s=n+r,c=t[s];if(c!==e){var u=Ht.A(c);(a="l"===r?i-B(u):o-S(u))&&(t[s]=I(c,(function(t){return t+a})))}}))}))}(o,a),function(t,e){return I(t.ul,(function(n,r){if(e)return t[e.toLowerCase()][r];var i=ce(c.A(t,r));return(i[1]+i[2])/2}))}(o,t.graph().align)}function Te(t){(function(t){var e=R(t),n=t.graph().ranksep,i=0;r.A(e,(function(e){var o=S(c.A(e,(function(e){return t.node(e).height})));r.A(e,(function(e){t.node(e).y=i+o/2})),i+=o+n}))})(t=P(t)),Ae(Ce(t),(function(e,n){t.node(n).x=e}))}function Ie(t,e){var n=e&&e.debugTiming?q:V;n("layout",(function(){var e=n(" buildLayoutGraph",(function(){return function(t){var e=new l.T({multigraph:!0,compound:!0}),n=He(t.graph());return e.setGraph(x.A({},je,Re(n,Me),b.A(n,Be))),r.A(t.nodes(),(function(n){var r=He(t.node(n));e.setNode(n,A.A(Re(r,Oe),De)),e.setParent(n,t.parent(n))})),r.A(t.edges(),(function(n){var r=He(t.edge(n));e.setEdge(n,x.A({},Pe,Re(r,Ne),b.A(r,ze)))})),e}(t)}));n(" runLayout",(function(){!function(t,e){e(" makeSpaceForEdgeLabels",(function(){!function(t){var e=t.graph();e.ranksep/=2,r.A(t.edges(),(function(n){var r=t.edge(n);r.minlen*=2,"c"!==r.labelpos.toLowerCase()&&("TB"===e.rankdir||"BT"===e.rankdir?r.width+=r.labeloffset:r.height+=r.labeloffset)}))}(t)})),e(" removeSelfEdges",(function(){!function(t){r.A(t.edges(),(function(e){if(e.v===e.w){var n=t.node(e.v);n.selfEdges||(n.selfEdges=[]),n.selfEdges.push({e:e,label:t.edge(e)}),t.removeEdge(e)}}))}(t)})),e(" acyclic",(function(){v(t)})),e(" nestingGraph.run",(function(){qt(t)})),e(" rank",(function(){Pt(P(t))})),e(" injectEdgeLabelProxies",(function(){!function(t){r.A(t.edges(),(function(e){var n=t.edge(e);if(n.width&&n.height){var r=t.node(e.v),i={rank:(t.node(e.w).rank-r.rank)/2+r.rank,e:e};N(t,"edge-proxy",i,"_ep")}}))}(t)})),e(" removeEmptyRanks",(function(){!function(t){var e=B(c.A(t.nodes(),(function(e){return t.node(e).rank}))),n=[];r.A(t.nodes(),(function(r){var i=t.node(r).rank-e;n[i]||(n[i]=[]),n[i].push(r)}));var i=0,o=t.graph().nodeRankFactor;r.A(n,(function(e,n){M.A(e)&&n%o!=0?--i:i&&r.A(e,(function(e){t.node(e).rank+=i}))}))}(t)})),e(" nestingGraph.cleanup",(function(){!function(t){var e=t.graph();t.removeNode(e.nestingRoot),delete e.nestingRoot,r.A(t.edges(),(function(e){t.edge(e).nestingEdge&&t.removeEdge(e)}))}(t)})),e(" normalizeRanks",(function(){!function(t){var e=B(c.A(t.nodes(),(function(e){return t.node(e).rank})));r.A(t.nodes(),(function(n){var r=t.node(n);o.A(r,"rank")&&(r.rank-=e)}))}(t)})),e(" assignRankMinMax",(function(){!function(t){var e=0;r.A(t.nodes(),(function(n){var r=t.node(n);r.borderTop&&(r.minRank=t.node(r.borderTop).rank,r.maxRank=t.node(r.borderBottom).rank,e=S(e,r.maxRank))})),t.graph().maxRank=e}(t)})),e(" removeEdgeLabelProxies",(function(){!function(t){r.A(t.nodes(),(function(e){var n=t.node(e);"edge-proxy"===n.dummy&&(t.edge(n.e).labelRank=n.rank,t.removeNode(e))}))}(t)})),e(" normalize.run",(function(){Z(t)})),e(" parentDummyChains",(function(){xe(t)})),e(" addBorderSegments",(function(){!function(t){r.A(t.children(),(function e(n){var i=t.children(n),a=t.node(n);if(i.length&&r.A(i,e),o.A(a,"minRank")){a.borderLeft=[],a.borderRight=[];for(var s=a.minRank,c=a.maxRank+1;s<c;++s)U(t,"borderLeft","_bl",n,a,s),U(t,"borderRight","_br",n,a,s)}}))}(t)})),e(" order",(function(){ge(t)})),e(" insertSelfEdges",(function(){!function(t){var e=R(t);r.A(e,(function(e){var n=0;r.A(e,(function(e,i){var o=t.node(e);o.order=i+n,r.A(o.selfEdges,(function(e){N(t,"selfedge",{width:e.label.width,height:e.label.height,rank:o.rank,order:i+ ++n,e:e.e,label:e.label},"_se")})),delete o.selfEdges}))}))}(t)})),e(" adjustCoordinateSystem",(function(){!function(t){var e=t.graph().rankdir.toLowerCase();"lr"!==e&&"rl"!==e||W(t)}(t)})),e(" position",(function(){Te(t)})),e(" positionSelfEdges",(function(){!function(t){r.A(t.nodes(),(function(e){var n=t.node(e);if("selfedge"===n.dummy){var r=t.node(n.e.v),i=r.x+r.width/2,o=r.y,a=n.x-i,s=r.height/2;t.setEdge(n.e,n.label),t.removeNode(e),n.label.points=[{x:i+2*a/3,y:o-s},{x:i+5*a/6,y:o-s},{x:i+a,y:o},{x:i+5*a/6,y:o+s},{x:i+2*a/3,y:o+s}],n.label.x=n.x,n.label.y=n.y}}))}(t)})),e(" removeBorderNodes",(function(){!function(t){r.A(t.nodes(),(function(e){if(t.children(e).length){var n=t.node(e),r=t.node(n.borderTop),i=t.node(n.borderBottom),o=t.node(F(n.borderLeft)),a=t.node(F(n.borderRight));n.width=Math.abs(a.x-o.x),n.height=Math.abs(i.y-r.y),n.x=o.x+n.width/2,n.y=r.y+n.height/2}})),r.A(t.nodes(),(function(e){"border"===t.node(e).dummy&&t.removeNode(e)}))}(t)})),e(" normalize.undo",(function(){!function(t){r.A(t.graph().dummyChains,(function(e){var n,r=t.node(e),i=r.edgeLabel;for(t.setEdge(r.edgeObj,i);r.dummy;)n=t.successors(e)[0],t.removeNode(e),i.points.push({x:r.x,y:r.y}),"edge-label"===r.dummy&&(i.x=r.x,i.y=r.y,i.width=r.width,i.height=r.height),e=n,r=t.node(e)}))}(t)})),e(" fixupEdgeLabelCoords",(function(){!function(t){r.A(t.edges(),(function(e){var n=t.edge(e);if(o.A(n,"x"))switch("l"!==n.labelpos&&"r"!==n.labelpos||(n.width-=n.labeloffset),n.labelpos){case"l":n.x-=n.width/2+n.labeloffset;break;case"r":n.x+=n.width/2+n.labeloffset}}))}(t)})),e(" undoCoordinateSystem",(function(){Y(t)})),e(" translateGraph",(function(){!function(t){var e=Number.POSITIVE_INFINITY,n=0,i=Number.POSITIVE_INFINITY,a=0,s=t.graph(),c=s.marginx||0,u=s.marginy||0;function l(t){var r=t.x,o=t.y,s=t.width,c=t.height;e=Math.min(e,r-s/2),n=Math.max(n,r+s/2),i=Math.min(i,o-c/2),a=Math.max(a,o+c/2)}r.A(t.nodes(),(function(e){l(t.node(e))})),r.A(t.edges(),(function(e){var n=t.edge(e);o.A(n,"x")&&l(n)})),e-=c,i-=u,r.A(t.nodes(),(function(n){var r=t.node(n);r.x-=e,r.y-=i})),r.A(t.edges(),(function(n){var a=t.edge(n);r.A(a.points,(function(t){t.x-=e,t.y-=i})),o.A(a,"x")&&(a.x-=e),o.A(a,"y")&&(a.y-=i)})),s.width=n-e+c,s.height=a-i+u}(t)})),e(" assignNodeIntersects",(function(){!function(t){r.A(t.edges(),(function(e){var n,r,i=t.edge(e),o=t.node(e.v),a=t.node(e.w);i.points?(n=i.points[0],r=i.points[i.points.length-1]):(i.points=[],n=a,r=o),i.points.unshift(z(o,n)),i.points.push(z(a,r))}))}(t)})),e(" reversePoints",(function(){!function(t){r.A(t.edges(),(function(e){var n=t.edge(e);n.reversed&&n.points.reverse()}))}(t)})),e(" acyclic.undo",(function(){!function(t){r.A(t.edges(),(function(e){var n=t.edge(e);if(n.reversed){t.removeEdge(e);var r=n.forwardName;delete n.reversed,delete n.forwardName,t.setEdge(e.w,e.v,n,r)}}))}(t)}))}(e,n)})),n(" updateInputGraph",(function(){!function(t,e){r.A(t.nodes(),(function(n){var r=t.node(n),i=e.node(n);r&&(r.x=i.x,r.y=i.y,e.children(n).length&&(r.width=i.width,r.height=i.height))})),r.A(t.edges(),(function(n){var r=t.edge(n),i=e.edge(n);r.points=i.points,o.A(i,"x")&&(r.x=i.x,r.y=i.y)})),t.graph().width=e.graph().width,t.graph().height=e.graph().height}(t,e)}))}))}var Me=["nodesep","edgesep","ranksep","marginx","marginy"],je={ranksep:50,edgesep:20,nodesep:50,rankdir:"tb"},Be=["acyclicer","ranker","rankdir","align"],Oe=["width","height"],De={width:0,height:0},Ne=["minlen","weight","width","height","labeloffset"],Pe={minlen:1,weight:1,width:0,height:0,labeloffset:10,labelpos:"r"},ze=["labelpos"];function Re(t,e){return I(b.A(t,e),Number)}function He(t){var e={};return r.A(t,(function(t,n){e[n.toLowerCase()]=t})),e}},3046:(t,e,n)=>{n.d(e,{T:()=>B});var r=n(8585),i=n(9142),o=n(9610),a=n(7422),s=n(1662),c=n(6401),u=n(8058),l=n(9592),d=n(3588),f=n(4326),h=n(2062),p=n(5707);const g=function(t){return t!=t};const y=function(t,e,n){for(var r=n-1,i=t.length;++r<i;)if(t[r]===e)return r;return-1};const m=function(t,e,n){return e==e?y(t,e,n):(0,p.A)(t,g,n)};const v=function(t,e){return!!(null==t?0:t.length)&&m(t,e,0)>-1};const x=function(t,e,n){for(var r=-1,i=null==t?0:t.length;++r<i;)if(n(e,t[r]))return!0;return!1};var b=n(4099),A=n(9857);const w=function(){};var k=n(9959),_=A.A&&1/(0,k.A)(new A.A([,-0]))[1]==1/0?function(t){return new A.A(t)}:w;const E=_;const S=function(t,e,n){var r=-1,i=v,o=t.length,a=!0,s=[],c=s;if(n)a=!1,i=x;else if(o>=200){var u=e?null:E(t);if(u)return(0,k.A)(u);a=!1,i=b.A,c=new h.A}else c=e?[]:s;t:for(;++r<o;){var l=t[r],d=e?e(l):l;if(l=n||0!==l?l:0,a&&d==d){for(var f=c.length;f--;)if(c[f]===d)continue t;e&&c.push(d),s.push(l)}else i(c,d,n)||(c!==s&&c.push(d),s.push(l))}return s};var F=n(3533);const L=(0,f.A)((function(t){return S((0,d.A)(t,1,F.A,!0))}));var C=n(8207),T=n(9463),I="\0",M="\0",j="\x01";class B{constructor(t={}){this._isDirected=!r.A(t,"directed")||t.directed,this._isMultigraph=!!r.A(t,"multigraph")&&t.multigraph,this._isCompound=!!r.A(t,"compound")&&t.compound,this._label=void 0,this._defaultNodeLabelFn=i.A(void 0),this._defaultEdgeLabelFn=i.A(void 0),this._nodes={},this._isCompound&&(this._parent={},this._children={},this._children[M]={}),this._in={},this._preds={},this._out={},this._sucs={},this._edgeObjs={},this._edgeLabels={}}isDirected(){return this._isDirected}isMultigraph(){return this._isMultigraph}isCompound(){return this._isCompound}setGraph(t){return this._label=t,this}graph(){return this._label}setDefaultNodeLabel(t){return o.A(t)||(t=i.A(t)),this._defaultNodeLabelFn=t,this}nodeCount(){return this._nodeCount}nodes(){return a.A(this._nodes)}sources(){var t=this;return s.A(this.nodes(),(function(e){return c.A(t._in[e])}))}sinks(){var t=this;return s.A(this.nodes(),(function(e){return c.A(t._out[e])}))}setNodes(t,e){var n=arguments,r=this;return u.A(t,(function(t){n.length>1?r.setNode(t,e):r.setNode(t)})),this}setNode(t,e){return r.A(this._nodes,t)?(arguments.length>1&&(this._nodes[t]=e),this):(this._nodes[t]=arguments.length>1?e:this._defaultNodeLabelFn(t),this._isCompound&&(this._parent[t]=M,this._children[t]={},this._children[M][t]=!0),this._in[t]={},this._preds[t]={},this._out[t]={},this._sucs[t]={},++this._nodeCount,this)}node(t){return this._nodes[t]}hasNode(t){return r.A(this._nodes,t)}removeNode(t){var e=this;if(r.A(this._nodes,t)){var n=function(t){e.removeEdge(e._edgeObjs[t])};delete this._nodes[t],this._isCompound&&(this._removeFromParentsChildList(t),delete this._parent[t],u.A(this.children(t),(function(t){e.setParent(t)})),delete this._children[t]),u.A(a.A(this._in[t]),n),delete this._in[t],delete this._preds[t],u.A(a.A(this._out[t]),n),delete this._out[t],delete this._sucs[t],--this._nodeCount}return this}setParent(t,e){if(!this._isCompound)throw new Error("Cannot set parent in a non-compound graph");if(l.A(e))e=M;else{for(var n=e+="";!l.A(n);n=this.parent(n))if(n===t)throw new Error("Setting "+e+" as parent of "+t+" would create a cycle");this.setNode(e)}return this.setNode(t),this._removeFromParentsChildList(t),this._parent[t]=e,this._children[e][t]=!0,this}_removeFromParentsChildList(t){delete this._children[this._parent[t]][t]}parent(t){if(this._isCompound){var e=this._parent[t];if(e!==M)return e}}children(t){if(l.A(t)&&(t=M),this._isCompound){var e=this._children[t];if(e)return a.A(e)}else{if(t===M)return this.nodes();if(this.hasNode(t))return[]}}predecessors(t){var e=this._preds[t];if(e)return a.A(e)}successors(t){var e=this._sucs[t];if(e)return a.A(e)}neighbors(t){var e=this.predecessors(t);if(e)return L(e,this.successors(t))}isLeaf(t){return 0===(this.isDirected()?this.successors(t):this.neighbors(t)).length}filterNodes(t){var e=new this.constructor({directed:this._isDirected,multigraph:this._isMultigraph,compound:this._isCompound});e.setGraph(this.graph());var n=this;u.A(this._nodes,(function(n,r){t(r)&&e.setNode(r,n)})),u.A(this._edgeObjs,(function(t){e.hasNode(t.v)&&e.hasNode(t.w)&&e.setEdge(t,n.edge(t))}));var r={};function i(t){var o=n.parent(t);return void 0===o||e.hasNode(o)?(r[t]=o,o):o in r?r[o]:i(o)}return this._isCompound&&u.A(e.nodes(),(function(t){e.setParent(t,i(t))})),e}setDefaultEdgeLabel(t){return o.A(t)||(t=i.A(t)),this._defaultEdgeLabelFn=t,this}edgeCount(){return this._edgeCount}edges(){return C.A(this._edgeObjs)}setPath(t,e){var n=this,r=arguments;return T.A(t,(function(t,i){return r.length>1?n.setEdge(t,i,e):n.setEdge(t,i),i})),this}setEdge(){var t,e,n,i,o=!1,a=arguments[0];"object"==typeof a&&null!==a&&"v"in a?(t=a.v,e=a.w,n=a.name,2===arguments.length&&(i=arguments[1],o=!0)):(t=a,e=arguments[1],n=arguments[3],arguments.length>2&&(i=arguments[2],o=!0)),t=""+t,e=""+e,l.A(n)||(n=""+n);var s=N(this._isDirected,t,e,n);if(r.A(this._edgeLabels,s))return o&&(this._edgeLabels[s]=i),this;if(!l.A(n)&&!this._isMultigraph)throw new Error("Cannot set a named edge when isMultigraph = false");this.setNode(t),this.setNode(e),this._edgeLabels[s]=o?i:this._defaultEdgeLabelFn(t,e,n);var c=function(t,e,n,r){var i=""+e,o=""+n;if(!t&&i>o){var a=i;i=o,o=a}var s={v:i,w:o};r&&(s.name=r);return s}(this._isDirected,t,e,n);return t=c.v,e=c.w,Object.freeze(c),this._edgeObjs[s]=c,O(this._preds[e],t),O(this._sucs[t],e),this._in[e][s]=c,this._out[t][s]=c,this._edgeCount++,this}edge(t,e,n){var r=1===arguments.length?P(this._isDirected,arguments[0]):N(this._isDirected,t,e,n);return this._edgeLabels[r]}hasEdge(t,e,n){var i=1===arguments.length?P(this._isDirected,arguments[0]):N(this._isDirected,t,e,n);return r.A(this._edgeLabels,i)}removeEdge(t,e,n){var r=1===arguments.length?P(this._isDirected,arguments[0]):N(this._isDirected,t,e,n),i=this._edgeObjs[r];return i&&(t=i.v,e=i.w,delete this._edgeLabels[r],delete this._edgeObjs[r],D(this._preds[e],t),D(this._sucs[t],e),delete this._in[e][r],delete this._out[t][r],this._edgeCount--),this}inEdges(t,e){var n=this._in[t];if(n){var r=C.A(n);return e?s.A(r,(function(t){return t.v===e})):r}}outEdges(t,e){var n=this._out[t];if(n){var r=C.A(n);return e?s.A(r,(function(t){return t.w===e})):r}}nodeEdges(t,e){var n=this.inEdges(t,e);if(n)return n.concat(this.outEdges(t,e))}}function O(t,e){t[e]?t[e]++:t[e]=1}function D(t,e){--t[e]||delete t[e]}function N(t,e,n,r){var i=""+e,o=""+n;if(!t&&i>o){var a=i;i=o,o=a}return i+j+o+j+(l.A(r)?I:r)}function P(t,e){return N(t,e.v,e.w,e.name)}B.prototype._nodeCount=0,B.prototype._edgeCount=0},697:(t,e,n)=>{n.d(e,{T:()=>r.T});var r=n(3046)},2062:(t,e,n)=>{n.d(e,{A:()=>s});var r=n(9471);const i=function(t){return this.__data__.set(t,"__lodash_hash_undefined__"),this};const o=function(t){return this.__data__.has(t)};function a(t){var e=-1,n=null==t?0:t.length;for(this.__data__=new r.A;++e<n;)this.add(t[e])}a.prototype.add=a.prototype.push=i,a.prototype.has=o;const s=a},2641:(t,e,n)=>{n.d(e,{A:()=>r});const r=function(t,e){for(var n=-1,r=null==t?0:t.length;++n<r&&!1!==e(t[n],n,t););return t}},2634:(t,e,n)=>{n.d(e,{A:()=>r});const r=function(t,e){for(var n=-1,r=null==t?0:t.length,i=0,o=[];++n<r;){var a=t[n];e(a,n,t)&&(o[i++]=a)}return o}},5572:(t,e,n)=>{n.d(e,{A:()=>r});const r=function(t,e){for(var n=-1,r=null==t?0:t.length,i=Array(r);++n<r;)i[n]=e(t[n],n,t);return i}},6912:(t,e,n)=>{n.d(e,{A:()=>r});const r=function(t,e){for(var n=-1,r=e.length,i=t.length;++n<r;)t[i+n]=e[n];return t}},1641:(t,e,n)=>{n.d(e,{A:()=>K});var r=n(9373),i=n(2641),o=n(2851),a=n(2031),s=n(7422);const c=function(t,e){return t&&(0,a.A)(e,(0,s.A)(e),t)};var u=n(5615);const l=function(t,e){return t&&(0,a.A)(e,(0,u.A)(e),t)};var d=n(154),f=n(9759),h=n(4792);const p=function(t,e){return(0,a.A)(t,(0,h.A)(t),e)};var g=n(6912),y=n(5647),m=n(3153);const v=Object.getOwnPropertySymbols?function(t){for(var e=[];t;)(0,g.A)(e,(0,h.A)(t)),t=(0,y.A)(t);return e}:m.A;const x=function(t,e){return(0,a.A)(t,v(t),e)};var b=n(9042),A=n(3831);const w=function(t){return(0,A.A)(t,u.A,v)};var k=n(9779),_=Object.prototype.hasOwnProperty;const E=function(t){var e=t.length,n=new t.constructor(e);return e&&"string"==typeof t[0]&&_.call(t,"index")&&(n.index=t.index,n.input=t.input),n};var S=n(565);const F=function(t,e){var n=e?(0,S.A)(t.buffer):t.buffer;return new t.constructor(n,t.byteOffset,t.byteLength)};var L=/\w*$/;const C=function(t){var e=new t.constructor(t.source,L.exec(t));return e.lastIndex=t.lastIndex,e};var T=n(241),I=T.A?T.A.prototype:void 0,M=I?I.valueOf:void 0;const j=function(t){return M?Object(M.call(t)):{}};var B=n(1801);const O=function(t,e,n){var r=t.constructor;switch(e){case"[object ArrayBuffer]":return(0,S.A)(t);case"[object Boolean]":case"[object Date]":return new r(+t);case"[object DataView]":return F(t,n);case"[object Float32Array]":case"[object Float64Array]":case"[object Int8Array]":case"[object Int16Array]":case"[object Int32Array]":case"[object Uint8Array]":case"[object Uint8ClampedArray]":case"[object Uint16Array]":case"[object Uint32Array]":return(0,B.A)(t,n);case"[object Map]":case"[object Set]":return new r;case"[object Number]":case"[object String]":return new r(t);case"[object RegExp]":return C(t);case"[object Symbol]":return j(t)}};var D=n(8598),N=n(2049),P=n(9912),z=n(3098);const R=function(t){return(0,z.A)(t)&&"[object Map]"==(0,k.A)(t)};var H=n(2789),$=n(4841),q=$.A&&$.A.isMap;const V=q?(0,H.A)(q):R;var U=n(3149);const Y=function(t){return(0,z.A)(t)&&"[object Set]"==(0,k.A)(t)};var W=$.A&&$.A.isSet;const X=W?(0,H.A)(W):Y;var G="[object Arguments]",Q="[object Function]",Z="[object Object]",J={};J[G]=J["[object Array]"]=J["[object ArrayBuffer]"]=J["[object DataView]"]=J["[object Boolean]"]=J["[object Date]"]=J["[object Float32Array]"]=J["[object Float64Array]"]=J["[object Int8Array]"]=J["[object Int16Array]"]=J["[object Int32Array]"]=J["[object Map]"]=J["[object Number]"]=J[Z]=J["[object RegExp]"]=J["[object Set]"]=J["[object String]"]=J["[object Symbol]"]=J["[object Uint8Array]"]=J["[object Uint8ClampedArray]"]=J["[object Uint16Array]"]=J["[object Uint32Array]"]=!0,J["[object Error]"]=J[Q]=J["[object WeakMap]"]=!1;const K=function t(e,n,a,h,g,y){var m,v=1&n,A=2&n,_=4&n;if(a&&(m=g?a(e,h,g,y):a(e)),void 0!==m)return m;if(!(0,U.A)(e))return e;var S=(0,N.A)(e);if(S){if(m=E(e),!v)return(0,f.A)(e,m)}else{var F=(0,k.A)(e),L=F==Q||"[object GeneratorFunction]"==F;if((0,P.A)(e))return(0,d.A)(e,v);if(F==Z||F==G||L&&!g){if(m=A||L?{}:(0,D.A)(e),!v)return A?x(e,l(m,e)):p(e,c(m,e))}else{if(!J[F])return g?e:{};m=O(e,F,v)}}y||(y=new r.A);var C=y.get(e);if(C)return C;y.set(e,m),X(e)?e.forEach((function(r){m.add(t(r,n,a,r,e,y))})):V(e)&&e.forEach((function(r,i){m.set(i,t(r,n,a,i,e,y))}));var T=_?A?w:b.A:A?u.A:s.A,I=S?void 0:T(e);return(0,i.A)(I||e,(function(r,i){I&&(r=e[i=r]),(0,o.A)(m,i,t(r,n,a,i,e,y))})),m}},6240:(t,e,n)=>{n.d(e,{A:()=>o});var r=n(9841),i=n(8446);const o=function(t,e){return function(n,r){if(null==n)return n;if(!(0,i.A)(n))return t(n,r);for(var o=n.length,a=e?o:-1,s=Object(n);(e?a--:++a<o)&&!1!==r(s[a],a,s););return n}}(r.A)},5707:(t,e,n)=>{n.d(e,{A:()=>r});const r=function(t,e,n,r){for(var i=t.length,o=n+(r?1:-1);r?o--:++o<i;)if(e(t[o],o,t))return o;return-1}},3588:(t,e,n)=>{n.d(e,{A:()=>u});var r=n(6912),i=n(241),o=n(2274),a=n(2049),s=i.A?i.A.isConcatSpreadable:void 0;const c=function(t){return(0,a.A)(t)||(0,o.A)(t)||!!(s&&t&&t[s])};const u=function t(e,n,i,o,a){var s=-1,u=e.length;for(i||(i=c),a||(a=[]);++s<u;){var l=e[s];n>0&&i(l)?n>1?t(l,n-1,i,o,a):(0,r.A)(a,l):o||(a[a.length]=l)}return a}},9841:(t,e,n)=>{n.d(e,{A:()=>o});var r=n(4574),i=n(7422);const o=function(t,e){return t&&(0,r.A)(t,e,i.A)}},6318:(t,e,n)=>{n.d(e,{A:()=>o});var r=n(7819),i=n(901);const o=function(t,e){for(var n=0,o=(e=(0,r.A)(e,t)).length;null!=t&&n<o;)t=t[(0,i.A)(e[n++])];return n&&n==o?t:void 0}},3831:(t,e,n)=>{n.d(e,{A:()=>o});var r=n(6912),i=n(2049);const o=function(t,e,n){var o=e(t);return(0,i.A)(t)?o:(0,r.A)(o,n(t))}},9574:(t,e,n)=>{n.d(e,{A:()=>W});var r=n(9373),i=n(2062);const o=function(t,e){for(var n=-1,r=null==t?0:t.length;++n<r;)if(e(t[n],n,t))return!0;return!1};var a=n(4099);const s=function(t,e,n,r,s,c){var u=1&n,l=t.length,d=e.length;if(l!=d&&!(u&&d>l))return!1;var f=c.get(t),h=c.get(e);if(f&&h)return f==e&&h==t;var p=-1,g=!0,y=2&n?new i.A:void 0;for(c.set(t,e),c.set(e,t);++p<l;){var m=t[p],v=e[p];if(r)var x=u?r(v,m,p,e,t,c):r(m,v,p,t,e,c);if(void 0!==x){if(x)continue;g=!1;break}if(y){if(!o(e,(function(t,e){if(!(0,a.A)(y,e)&&(m===t||s(m,t,n,r,c)))return y.push(e)}))){g=!1;break}}else if(m!==v&&!s(m,v,n,r,c)){g=!1;break}}return c.delete(t),c.delete(e),g};var c=n(241),u=n(3988),l=n(6984);const d=function(t){var e=-1,n=Array(t.size);return t.forEach((function(t,r){n[++e]=[r,t]})),n};var f=n(9959),h=c.A?c.A.prototype:void 0,p=h?h.valueOf:void 0;const g=function(t,e,n,r,i,o,a){switch(n){case"[object DataView]":if(t.byteLength!=e.byteLength||t.byteOffset!=e.byteOffset)return!1;t=t.buffer,e=e.buffer;case"[object ArrayBuffer]":return!(t.byteLength!=e.byteLength||!o(new u.A(t),new u.A(e)));case"[object Boolean]":case"[object Date]":case"[object Number]":return(0,l.A)(+t,+e);case"[object Error]":return t.name==e.name&&t.message==e.message;case"[object RegExp]":case"[object String]":return t==e+"";case"[object Map]":var c=d;case"[object Set]":var h=1&r;if(c||(c=f.A),t.size!=e.size&&!h)return!1;var g=a.get(t);if(g)return g==e;r|=2,a.set(t,e);var y=s(c(t),c(e),r,i,o,a);return a.delete(t),y;case"[object Symbol]":if(p)return p.call(t)==p.call(e)}return!1};var y=n(9042),m=Object.prototype.hasOwnProperty;const v=function(t,e,n,r,i,o){var a=1&n,s=(0,y.A)(t),c=s.length;if(c!=(0,y.A)(e).length&&!a)return!1;for(var u=c;u--;){var l=s[u];if(!(a?l in e:m.call(e,l)))return!1}var d=o.get(t),f=o.get(e);if(d&&f)return d==e&&f==t;var h=!0;o.set(t,e),o.set(e,t);for(var p=a;++u<c;){var g=t[l=s[u]],v=e[l];if(r)var x=a?r(v,g,l,e,t,o):r(g,v,l,t,e,o);if(!(void 0===x?g===v||i(g,v,n,r,o):x)){h=!1;break}p||(p="constructor"==l)}if(h&&!p){var b=t.constructor,A=e.constructor;b==A||!("constructor"in t)||!("constructor"in e)||"function"==typeof b&&b instanceof b&&"function"==typeof A&&A instanceof A||(h=!1)}return o.delete(t),o.delete(e),h};var x=n(9779),b=n(2049),A=n(9912),w=n(3858),k="[object Arguments]",_="[object Array]",E="[object Object]",S=Object.prototype.hasOwnProperty;const F=function(t,e,n,i,o,a){var c=(0,b.A)(t),u=(0,b.A)(e),l=c?_:(0,x.A)(t),d=u?_:(0,x.A)(e),f=(l=l==k?E:l)==E,h=(d=d==k?E:d)==E,p=l==d;if(p&&(0,A.A)(t)){if(!(0,A.A)(e))return!1;c=!0,f=!1}if(p&&!f)return a||(a=new r.A),c||(0,w.A)(t)?s(t,e,n,i,o,a):g(t,e,l,n,i,o,a);if(!(1&n)){var y=f&&S.call(t,"__wrapped__"),m=h&&S.call(e,"__wrapped__");if(y||m){var F=y?t.value():t,L=m?e.value():e;return a||(a=new r.A),o(F,L,n,i,a)}}return!!p&&(a||(a=new r.A),v(t,e,n,i,o,a))};var L=n(3098);const C=function t(e,n,r,i,o){return e===n||(null==e||null==n||!(0,L.A)(e)&&!(0,L.A)(n)?e!=e&&n!=n:F(e,n,r,i,t,o))};const T=function(t,e,n,i){var o=n.length,a=o,s=!i;if(null==t)return!a;for(t=Object(t);o--;){var c=n[o];if(s&&c[2]?c[1]!==t[c[0]]:!(c[0]in t))return!1}for(;++o<a;){var u=(c=n[o])[0],l=t[u],d=c[1];if(s&&c[2]){if(void 0===l&&!(u in t))return!1}else{var f=new r.A;if(i)var h=i(l,d,u,t,e,f);if(!(void 0===h?C(d,l,3,i,f):h))return!1}}return!0};var I=n(3149);const M=function(t){return t==t&&!(0,I.A)(t)};var j=n(7422);const B=function(t){for(var e=(0,j.A)(t),n=e.length;n--;){var r=e[n],i=t[r];e[n]=[r,i,M(i)]}return e};const O=function(t,e){return function(n){return null!=n&&(n[t]===e&&(void 0!==e||t in Object(n)))}};const D=function(t){var e=B(t);return 1==e.length&&e[0][2]?O(e[0][0],e[0][1]):function(n){return n===t||T(n,t,e)}};var N=n(6318);const P=function(t,e,n){var r=null==t?void 0:(0,N.A)(t,e);return void 0===r?n:r};var z=n(6807),R=n(6586),H=n(901);const $=function(t,e){return(0,R.A)(t)&&M(e)?O((0,H.A)(t),e):function(n){var r=P(n,t);return void 0===r&&r===e?(0,z.A)(n,t):C(e,r,3)}};var q=n(9008),V=n(805);const U=function(t){return function(e){return(0,N.A)(e,t)}};const Y=function(t){return(0,R.A)(t)?(0,V.A)((0,H.A)(t)):U(t)};const W=function(t){return"function"==typeof t?t:null==t?q.A:"object"==typeof t?(0,b.A)(t)?$(t[0],t[1]):D(t):Y(t)}},2568:(t,e,n)=>{n.d(e,{A:()=>o});var r=n(6240),i=n(8446);const o=function(t,e){var n=-1,o=(0,i.A)(t)?Array(t.length):[];return(0,r.A)(t,(function(t,r,i){o[++n]=e(t,r,i)})),o}},805:(t,e,n)=>{n.d(e,{A:()=>r});const r=function(t){return function(e){return null==e?void 0:e[t]}}},4099:(t,e,n)=>{n.d(e,{A:()=>r});const r=function(t,e){return t.has(e)}},9922:(t,e,n)=>{n.d(e,{A:()=>i});var r=n(9008);const i=function(t){return"function"==typeof t?t:r.A}},7819:(t,e,n)=>{n.d(e,{A:()=>l});var r=n(2049),i=n(6586),o=n(6632);var a=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,s=/\\(\\)?/g;const c=function(t){var e=(0,o.A)(t,(function(t){return 500===n.size&&n.clear(),t})),n=e.cache;return e}((function(t){var e=[];return 46===t.charCodeAt(0)&&e.push(""),t.replace(a,(function(t,n,r,i){e.push(r?i.replace(s,"$1"):n||t)})),e}));var u=n(8894);const l=function(t,e){return(0,r.A)(t)?t:(0,i.A)(t,e)?[t]:c((0,u.A)(t))}},9042:(t,e,n)=>{n.d(e,{A:()=>a});var r=n(3831),i=n(4792),o=n(7422);const a=function(t){return(0,r.A)(t,o.A,i.A)}},4792:(t,e,n)=>{n.d(e,{A:()=>s});var r=n(2634),i=n(3153),o=Object.prototype.propertyIsEnumerable,a=Object.getOwnPropertySymbols;const s=a?function(t){return null==t?[]:(t=Object(t),(0,r.A)(a(t),(function(e){return o.call(t,e)})))}:i.A},5054:(t,e,n)=>{n.d(e,{A:()=>u});var r=n(7819),i=n(2274),o=n(2049),a=n(5353),s=n(5254),c=n(901);const u=function(t,e,n){for(var u=-1,l=(e=(0,r.A)(e,t)).length,d=!1;++u<l;){var f=(0,c.A)(e[u]);if(!(d=null!=t&&n(t,f)))break;t=t[f]}return d||++u!=l?d:!!(l=null==t?0:t.length)&&(0,s.A)(l)&&(0,a.A)(f,l)&&((0,o.A)(t)||(0,i.A)(t))}},6586:(t,e,n)=>{n.d(e,{A:()=>s});var r=n(2049),i=n(1882),o=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,a=/^\w*$/;const s=function(t,e){if((0,r.A)(t))return!1;var n=typeof t;return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=t&&!(0,i.A)(t))||(a.test(t)||!o.test(t)||null!=e&&t in Object(e))}},9959:(t,e,n)=>{n.d(e,{A:()=>r});const r=function(t){var e=-1,n=Array(t.size);return t.forEach((function(t){n[++e]=t})),n}},901:(t,e,n)=>{n.d(e,{A:()=>i});var r=n(1882);const i=function(t){if("string"==typeof t||(0,r.A)(t))return t;var e=t+"";return"0"==e&&1/t==-1/0?"-0":e}},3068:(t,e,n)=>{n.d(e,{A:()=>u});var r=n(4326),i=n(6984),o=n(6832),a=n(5615),s=Object.prototype,c=s.hasOwnProperty;const u=(0,r.A)((function(t,e){t=Object(t);var n=-1,r=e.length,u=r>2?e[2]:void 0;for(u&&(0,o.A)(e[0],e[1],u)&&(r=1);++n<r;)for(var l=e[n],d=(0,a.A)(l),f=-1,h=d.length;++f<h;){var p=d[f],g=t[p];(void 0===g||(0,i.A)(g,s[p])&&!c.call(t,p))&&(t[p]=l[p])}return t}))},1662:(t,e,n)=>{n.d(e,{A:()=>c});var r=n(2634),i=n(6240);const o=function(t,e){var n=[];return(0,i.A)(t,(function(t,r,i){e(t,r,i)&&n.push(t)})),n};var a=n(9574),s=n(2049);const c=function(t,e){return((0,s.A)(t)?r.A:o)(t,(0,a.A)(e,3))}},4098:(t,e,n)=>{n.d(e,{A:()=>i});var r=n(3588);const i=function(t){return(null==t?0:t.length)?(0,r.A)(t,1):[]}},8058:(t,e,n)=>{n.d(e,{A:()=>s});var r=n(2641),i=n(6240),o=n(9922),a=n(2049);const s=function(t,e){return((0,a.A)(t)?r.A:i.A)(t,(0,o.A)(e))}},8585:(t,e,n)=>{n.d(e,{A:()=>a});var r=Object.prototype.hasOwnProperty;const i=function(t,e){return null!=t&&r.call(t,e)};var o=n(5054);const a=function(t,e){return null!=t&&(0,o.A)(t,e,i)}},6807:(t,e,n)=>{n.d(e,{A:()=>o});const r=function(t,e){return null!=t&&e in Object(t)};var i=n(5054);const o=function(t,e){return null!=t&&(0,i.A)(t,e,r)}},1882:(t,e,n)=>{n.d(e,{A:()=>o});var r=n(8496),i=n(3098);const o=function(t){return"symbol"==typeof t||(0,i.A)(t)&&"[object Symbol]"==(0,r.A)(t)}},9592:(t,e,n)=>{n.d(e,{A:()=>r});const r=function(t){return void 0===t}},7422:(t,e,n)=>{n.d(e,{A:()=>a});var r=n(3607),i=n(1852),o=n(8446);const a=function(t){return(0,o.A)(t)?(0,r.A)(t):(0,i.A)(t)}},4722:(t,e,n)=>{n.d(e,{A:()=>s});var r=n(5572),i=n(9574),o=n(2568),a=n(2049);const s=function(t,e){return((0,a.A)(t)?r.A:o.A)(t,(0,i.A)(e,3))}},1942:(t,e,n)=>{n.d(e,{A:()=>y});var r=n(6318),i=n(2851),o=n(7819),a=n(5353),s=n(3149),c=n(901);const u=function(t,e,n,r){if(!(0,s.A)(t))return t;for(var u=-1,l=(e=(0,o.A)(e,t)).length,d=l-1,f=t;null!=f&&++u<l;){var h=(0,c.A)(e[u]),p=n;if("__proto__"===h||"constructor"===h||"prototype"===h)return t;if(u!=d){var g=f[h];void 0===(p=r?r(g,h,f):void 0)&&(p=(0,s.A)(g)?g:(0,a.A)(e[u+1])?[]:{})}(0,i.A)(f,h,p),f=f[h]}return t};const l=function(t,e,n){for(var i=-1,a=e.length,s={};++i<a;){var c=e[i],l=(0,r.A)(t,c);n(l,c)&&u(s,(0,o.A)(c,t),l)}return s};var d=n(6807);const f=function(t,e){return l(t,e,(function(e,n){return(0,d.A)(t,n)}))};var h=n(4098),p=n(6875),g=n(7525);const y=function(t){return(0,g.A)((0,p.A)(t,void 0,h.A),t+"")}((function(t,e){return null==t?{}:f(t,e)}))},1395:(t,e,n)=>{n.d(e,{A:()=>c});var r=Math.ceil,i=Math.max;const o=function(t,e,n,o){for(var a=-1,s=i(r((e-t)/(n||1)),0),c=Array(s);s--;)c[o?s:++a]=t,t+=n;return c};var a=n(6832),s=n(4342);const c=function(t){return function(e,n,r){return r&&"number"!=typeof r&&(0,a.A)(e,n,r)&&(n=r=void 0),e=(0,s.A)(e),void 0===n?(n=e,e=0):n=(0,s.A)(n),r=void 0===r?e<n?1:-1:(0,s.A)(r),o(e,n,r,t)}}()},9463:(t,e,n)=>{n.d(e,{A:()=>c});const r=function(t,e,n,r){var i=-1,o=null==t?0:t.length;for(r&&o&&(n=t[++i]);++i<o;)n=e(n,t[i],i,t);return n};var i=n(6240),o=n(9574);const a=function(t,e,n,r,i){return i(t,(function(t,i,o){n=r?(r=!1,t):e(n,t,i,o)})),n};var s=n(2049);const c=function(t,e,n){var c=(0,s.A)(t)?r:a,u=arguments.length<3;return c(t,(0,o.A)(e,4),n,u,i.A)}},3153:(t,e,n)=>{n.d(e,{A:()=>r});const r=function(){return[]}},4342:(t,e,n)=>{n.d(e,{A:()=>g});var r=/\s/;const i=function(t){for(var e=t.length;e--&&r.test(t.charAt(e)););return e};var o=/^\s+/;const a=function(t){return t?t.slice(0,i(t)+1).replace(o,""):t};var s=n(3149),c=n(1882),u=/^[-+]0x[0-9a-f]+$/i,l=/^0b[01]+$/i,d=/^0o[0-7]+$/i,f=parseInt;const h=function(t){if("number"==typeof t)return t;if((0,c.A)(t))return NaN;if((0,s.A)(t)){var e="function"==typeof t.valueOf?t.valueOf():t;t=(0,s.A)(e)?e+"":e}if("string"!=typeof t)return 0===t?t:+t;t=a(t);var n=l.test(t);return n||d.test(t)?f(t.slice(2),n?2:8):u.test(t)?NaN:+t};var p=1/0;const g=function(t){return t?(t=h(t))===p||t===-1/0?17976931348623157e292*(t<0?-1:1):t==t?t:0:0===t?t:0}},8894:(t,e,n)=>{n.d(e,{A:()=>l});var r=n(241),i=n(5572),o=n(2049),a=n(1882),s=r.A?r.A.prototype:void 0,c=s?s.toString:void 0;const u=function t(e){if("string"==typeof e)return e;if((0,o.A)(e))return(0,i.A)(e,t)+"";if((0,a.A)(e))return c?c.call(e):"";var n=e+"";return"0"==n&&1/e==-1/0?"-0":n};const l=function(t){return null==t?"":u(t)}},5664:(t,e,n)=>{n.d(e,{A:()=>o});var r=n(8894),i=0;const o=function(t){var e=++i;return(0,r.A)(t)+e}},8207:(t,e,n)=>{n.d(e,{A:()=>a});var r=n(5572);const i=function(t,e){return(0,r.A)(e,(function(e){return t[e]}))};var o=n(7422);const a=function(t){return null==t?[]:i(t,(0,o.A)(t))}},7560:(t,e,n)=>{n.d(e,{a:()=>fe,c:()=>le});var r={};n.r(r),n.d(r,{attentionMarkers:()=>zt,contentInitial:()=>jt,disable:()=>Rt,document:()=>Mt,flow:()=>Ot,flowInitial:()=>Bt,insideSpan:()=>Pt,string:()=>Dt,text:()=>Nt});var i=n(9702);const o={};function a(t,e,n){if(function(t){return Boolean(t&&"object"==typeof t)}(t)){if("value"in t)return"html"!==t.type||n?t.value:"";if(e&&"alt"in t&&t.alt)return t.alt;if("children"in t)return s(t.children,e,n)}return Array.isArray(t)?s(t,e,n):""}function s(t,e,n){const r=[];let i=-1;for(;++i<t.length;)r[i]=a(t[i],e,n);return r.join("")}function c(t,e,n,r){const i=t.length;let o,a=0;if(e=e<0?-e>i?0:i+e:e>i?i:e,n=n>0?n:0,r.length<1e4)o=Array.from(r),o.unshift(e,n),t.splice(...o);else for(n&&t.splice(e,n);a<r.length;)o=r.slice(a,a+1e4),o.unshift(e,0),t.splice(...o),a+=1e4,e+=1e4}function u(t,e){return t.length>0?(c(t,t.length,0,e),t):e}const l={}.hasOwnProperty;function d(t,e){let n;for(n in e){const r=(l.call(t,n)?t[n]:void 0)||(t[n]={}),i=e[n];let o;if(i)for(o in i){l.call(r,o)||(r[o]=[]);const t=i[o];f(r[o],Array.isArray(t)?t:t?[t]:[])}}}function f(t,e){let n=-1;const r=[];for(;++n<e.length;)("after"===e[n].add?t:r).push(e[n]);c(t,0,0,r)}const h=E(/[A-Za-z]/),p=E(/[\dA-Za-z]/),g=E(/[#-'*+\--9=?A-Z^-~]/);function y(t){return null!==t&&(t<32||127===t)}const m=E(/\d/),v=E(/[\dA-Fa-f]/),x=E(/[!-/:-@[-`{-~]/);function b(t){return null!==t&&t<-2}function A(t){return null!==t&&(t<0||32===t)}function w(t){return-2===t||-1===t||32===t}const k=E(/[!-\/:-@\[-`\{-~\xA1\xA7\xAB\xB6\xB7\xBB\xBF\u037E\u0387\u055A-\u055F\u0589\u058A\u05BE\u05C0\u05C3\u05C6\u05F3\u05F4\u0609\u060A\u060C\u060D\u061B\u061D-\u061F\u066A-\u066D\u06D4\u0700-\u070D\u07F7-\u07F9\u0830-\u083E\u085E\u0964\u0965\u0970\u09FD\u0A76\u0AF0\u0C77\u0C84\u0DF4\u0E4F\u0E5A\u0E5B\u0F04-\u0F12\u0F14\u0F3A-\u0F3D\u0F85\u0FD0-\u0FD4\u0FD9\u0FDA\u104A-\u104F\u10FB\u1360-\u1368\u1400\u166E\u169B\u169C\u16EB-\u16ED\u1735\u1736\u17D4-\u17D6\u17D8-\u17DA\u1800-\u180A\u1944\u1945\u1A1E\u1A1F\u1AA0-\u1AA6\u1AA8-\u1AAD\u1B5A-\u1B60\u1B7D\u1B7E\u1BFC-\u1BFF\u1C3B-\u1C3F\u1C7E\u1C7F\u1CC0-\u1CC7\u1CD3\u2010-\u2027\u2030-\u2043\u2045-\u2051\u2053-\u205E\u207D\u207E\u208D\u208E\u2308-\u230B\u2329\u232A\u2768-\u2775\u27C5\u27C6\u27E6-\u27EF\u2983-\u2998\u29D8-\u29DB\u29FC\u29FD\u2CF9-\u2CFC\u2CFE\u2CFF\u2D70\u2E00-\u2E2E\u2E30-\u2E4F\u2E52-\u2E5D\u3001-\u3003\u3008-\u3011\u3014-\u301F\u3030\u303D\u30A0\u30FB\uA4FE\uA4FF\uA60D-\uA60F\uA673\uA67E\uA6F2-\uA6F7\uA874-\uA877\uA8CE\uA8CF\uA8F8-\uA8FA\uA8FC\uA92E\uA92F\uA95F\uA9C1-\uA9CD\uA9DE\uA9DF\uAA5C-\uAA5F\uAADE\uAADF\uAAF0\uAAF1\uABEB\uFD3E\uFD3F\uFE10-\uFE19\uFE30-\uFE52\uFE54-\uFE61\uFE63\uFE68\uFE6A\uFE6B\uFF01-\uFF03\uFF05-\uFF0A\uFF0C-\uFF0F\uFF1A\uFF1B\uFF1F\uFF20\uFF3B-\uFF3D\uFF3F\uFF5B\uFF5D\uFF5F-\uFF65]/),_=E(/\s/);function E(t){return function(e){return null!==e&&t.test(String.fromCharCode(e))}}function S(t,e,n,r){const i=r?r-1:Number.POSITIVE_INFINITY;let o=0;return function(r){if(w(r))return t.enter(n),a(r);return e(r)};function a(r){return w(r)&&o++<i?(t.consume(r),a):(t.exit(n),e(r))}}const F={tokenize:function(t){const e=t.attempt(this.parser.constructs.contentInitial,(function(n){if(null===n)return void t.consume(n);return t.enter("lineEnding"),t.consume(n),t.exit("lineEnding"),S(t,e,"linePrefix")}),(function(e){return t.enter("paragraph"),r(e)}));let n;return e;function r(e){const r=t.enter("chunkText",{contentType:"text",previous:n});return n&&(n.next=r),n=r,i(e)}function i(e){return null===e?(t.exit("chunkText"),t.exit("paragraph"),void t.consume(e)):b(e)?(t.consume(e),t.exit("chunkText"),r):(t.consume(e),i)}}};const L={tokenize:function(t){const e=this,n=[];let r,i,o,a=0;return s;function s(r){if(a<n.length){const i=n[a];return e.containerState=i[1],t.attempt(i[0].continuation,u,l)(r)}return l(r)}function u(t){if(a++,e.containerState._closeFlow){e.containerState._closeFlow=void 0,r&&x();const n=e.events.length;let i,o=n;for(;o--;)if("exit"===e.events[o][0]&&"chunkFlow"===e.events[o][1].type){i=e.events[o][1].end;break}v(a);let s=n;for(;s<e.events.length;)e.events[s][1].end=Object.assign({},i),s++;return c(e.events,o+1,0,e.events.slice(n)),e.events.length=s,l(t)}return s(t)}function l(i){if(a===n.length){if(!r)return h(i);if(r.currentConstruct&&r.currentConstruct.concrete)return g(i);e.interrupt=Boolean(r.currentConstruct&&!r._gfmTableDynamicInterruptHack)}return e.containerState={},t.check(C,d,f)(i)}function d(t){return r&&x(),v(a),h(t)}function f(t){return e.parser.lazy[e.now().line]=a!==n.length,o=e.now().offset,g(t)}function h(n){return e.containerState={},t.attempt(C,p,g)(n)}function p(t){return a++,n.push([e.currentConstruct,e.containerState]),h(t)}function g(n){return null===n?(r&&x(),v(0),void t.consume(n)):(r=r||e.parser.flow(e.now()),t.enter("chunkFlow",{contentType:"flow",previous:i,_tokenizer:r}),y(n))}function y(n){return null===n?(m(t.exit("chunkFlow"),!0),v(0),void t.consume(n)):b(n)?(t.consume(n),m(t.exit("chunkFlow")),a=0,e.interrupt=void 0,s):(t.consume(n),y)}function m(t,n){const s=e.sliceStream(t);if(n&&s.push(null),t.previous=i,i&&(i.next=t),i=t,r.defineSkip(t.start),r.write(s),e.parser.lazy[t.start.line]){let t=r.events.length;for(;t--;)if(r.events[t][1].start.offset<o&&(!r.events[t][1].end||r.events[t][1].end.offset>o))return;const n=e.events.length;let i,s,u=n;for(;u--;)if("exit"===e.events[u][0]&&"chunkFlow"===e.events[u][1].type){if(i){s=e.events[u][1].end;break}i=!0}for(v(a),t=n;t<e.events.length;)e.events[t][1].end=Object.assign({},s),t++;c(e.events,u+1,0,e.events.slice(n)),e.events.length=t}}function v(r){let i=n.length;for(;i-- >r;){const r=n[i];e.containerState=r[1],r[0].exit.call(e,t)}n.length=r}function x(){r.write([null]),i=void 0,r=void 0,e.containerState._closeFlow=void 0}}},C={tokenize:function(t,e,n){return S(t,t.attempt(this.parser.constructs.document,e,n),"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}};const T={tokenize:function(t,e,n){return function(e){return w(e)?S(t,r,"linePrefix")(e):r(e)};function r(t){return null===t||b(t)?e(t):n(t)}},partial:!0};function I(t,e,n,r){const i=t.length;let o,a=0;if(e=e<0?-e>i?0:i+e:e>i?i:e,n=n>0?n:0,r.length<1e4)o=Array.from(r),o.unshift(e,n),t.splice(...o);else for(n&&t.splice(e,n);a<r.length;)o=r.slice(a,a+1e4),o.unshift(e,0),t.splice(...o),a+=1e4,e+=1e4}function M(t){const e={};let n,r,i,o,a,s,c,u=-1;for(;++u<t.length;){for(;u in e;)u=e[u];if(n=t[u],u&&"chunkFlow"===n[1].type&&"listItemPrefix"===t[u-1][1].type&&(s=n[1]._tokenizer.events,i=0,i<s.length&&"lineEndingBlank"===s[i][1].type&&(i+=2),i<s.length&&"content"===s[i][1].type))for(;++i<s.length&&"content"!==s[i][1].type;)"chunkText"===s[i][1].type&&(s[i][1]._isInFirstContentOfListItem=!0,i++);if("enter"===n[0])n[1].contentType&&(Object.assign(e,j(t,u)),u=e[u],c=!0);else if(n[1]._container){for(i=u,r=void 0;i--&&(o=t[i],"lineEnding"===o[1].type||"lineEndingBlank"===o[1].type);)"enter"===o[0]&&(r&&(t[r][1].type="lineEndingBlank"),o[1].type="lineEnding",r=i);r&&(n[1].end=Object.assign({},t[r][1].start),a=t.slice(r,u),a.unshift(n),I(t,r,u-r+1,a))}}return!c}function j(t,e){const n=t[e][1],r=t[e][2];let i=e-1;const o=[],a=n._tokenizer||r.parser[n.contentType](n.start),s=a.events,c=[],u={};let l,d,f=-1,h=n,p=0,g=0;const y=[g];for(;h;){for(;t[++i][1]!==h;);o.push(i),h._tokenizer||(l=r.sliceStream(h),h.next||l.push(null),d&&a.defineSkip(h.start),h._isInFirstContentOfListItem&&(a._gfmTasklistFirstContentOfListItem=!0),a.write(l),h._isInFirstContentOfListItem&&(a._gfmTasklistFirstContentOfListItem=void 0)),d=h,h=h.next}for(h=n;++f<s.length;)"exit"===s[f][0]&&"enter"===s[f-1][0]&&s[f][1].type===s[f-1][1].type&&s[f][1].start.line!==s[f][1].end.line&&(g=f+1,y.push(g),h._tokenizer=void 0,h.previous=void 0,h=h.next);for(a.events=[],h?(h._tokenizer=void 0,h.previous=void 0):y.pop(),f=y.length;f--;){const e=s.slice(y[f],y[f+1]),n=o.pop();c.unshift([n,n+e.length-1]),I(t,n,2,e)}for(f=-1;++f<c.length;)u[p+c[f][0]]=p+c[f][1],p+=c[f][1]-c[f][0]-1;return u}const B={tokenize:function(t,e){let n;return function(e){return t.enter("content"),n=t.enter("chunkContent",{contentType:"content"}),r(e)};function r(e){return null===e?i(e):b(e)?t.check(O,o,i)(e):(t.consume(e),r)}function i(n){return t.exit("chunkContent"),t.exit("content"),e(n)}function o(e){return t.consume(e),t.exit("chunkContent"),n.next=t.enter("chunkContent",{contentType:"content",previous:n}),n=n.next,r}},resolve:function(t){return M(t),t}},O={tokenize:function(t,e,n){const r=this;return function(e){return t.exit("chunkContent"),t.enter("lineEnding"),t.consume(e),t.exit("lineEnding"),S(t,i,"linePrefix")};function i(i){if(null===i||b(i))return n(i);const o=r.events[r.events.length-1];return!r.parser.constructs.disable.null.includes("codeIndented")&&o&&"linePrefix"===o[1].type&&o[2].sliceSerialize(o[1],!0).length>=4?e(i):t.interrupt(r.parser.constructs.flow,n,e)(i)}},partial:!0};const D={tokenize:function(t){const e=this,n=t.attempt(T,(function(r){if(null===r)return void t.consume(r);return t.enter("lineEndingBlank"),t.consume(r),t.exit("lineEndingBlank"),e.currentConstruct=void 0,n}),t.attempt(this.parser.constructs.flowInitial,r,S(t,t.attempt(this.parser.constructs.flow,r,t.attempt(B,r)),"linePrefix")));return n;function r(r){if(null!==r)return t.enter("lineEnding"),t.consume(r),t.exit("lineEnding"),e.currentConstruct=void 0,n;t.consume(r)}}};const N={resolveAll:H()},P=R("string"),z=R("text");function R(t){return{tokenize:function(e){const n=this,r=this.parser.constructs[t],i=e.attempt(r,o,a);return o;function o(t){return c(t)?i(t):a(t)}function a(t){if(null!==t)return e.enter("data"),e.consume(t),s;e.consume(t)}function s(t){return c(t)?(e.exit("data"),i(t)):(e.consume(t),s)}function c(t){if(null===t)return!0;const e=r[t];let i=-1;if(e)for(;++i<e.length;){const t=e[i];if(!t.previous||t.previous.call(n,n.previous))return!0}return!1}},resolveAll:H("text"===t?$:void 0)}}function H(t){return function(e,n){let r,i=-1;for(;++i<=e.length;)void 0===r?e[i]&&"data"===e[i][1].type&&(r=i,i++):e[i]&&"data"===e[i][1].type||(i!==r+2&&(e[r][1].end=e[i-1][1].end,e.splice(r+2,i-r-2),i=r+2),r=void 0);return t?t(e,n):e}}function $(t,e){let n=0;for(;++n<=t.length;)if((n===t.length||"lineEnding"===t[n][1].type)&&"data"===t[n-1][1].type){const r=t[n-1][1],i=e.sliceStream(r);let o,a=i.length,s=-1,c=0;for(;a--;){const t=i[a];if("string"==typeof t){for(s=t.length;32===t.charCodeAt(s-1);)c++,s--;if(s)break;s=-1}else if(-2===t)o=!0,c++;else if(-1!==t){a++;break}}if(c){const i={type:n===t.length||o||c<2?"lineSuffix":"hardBreakTrailing",start:{line:r.end.line,column:r.end.column-c,offset:r.end.offset-c,_index:r.start._index+a,_bufferIndex:a?s:r.start._bufferIndex+s},end:Object.assign({},r.end)};r.end=Object.assign({},i.start),r.start.offset===r.end.offset?Object.assign(r,i):(t.splice(n,0,["enter",i,e],["exit",i,e]),n+=2)}n++}return t}function q(t,e,n){const r=[];let i=-1;for(;++i<t.length;){const o=t[i].resolveAll;o&&!r.includes(o)&&(e=o(e,n),r.push(o))}return e}function V(t,e,n){let r=Object.assign(n?Object.assign({},n):{line:1,column:1,offset:0},{_index:0,_bufferIndex:-1});const i={},o=[];let a=[],s=[],l=!0;const d={consume:function(t){b(t)?(r.line++,r.column=1,r.offset+=-3===t?2:1,k()):-1!==t&&(r.column++,r.offset++);r._bufferIndex<0?r._index++:(r._bufferIndex++,r._bufferIndex===a[r._index].length&&(r._bufferIndex=-1,r._index++));f.previous=t,l=!0},enter:function(t,e){const n=e||{};return n.type=t,n.start=y(),f.events.push(["enter",n,f]),s.push(n),n},exit:function(t){const e=s.pop();return e.end=y(),f.events.push(["exit",e,f]),e},attempt:A((function(t,e){w(t,e.from)})),check:A(x),interrupt:A(x,{interrupt:!0})},f={previous:null,code:null,containerState:{},events:[],parser:t,sliceStream:g,sliceSerialize:function(t,e){return function(t,e){let n=-1;const r=[];let i;for(;++n<t.length;){const o=t[n];let a;if("string"==typeof o)a=o;else switch(o){case-5:a="\r";break;case-4:a="\n";break;case-3:a="\r\n";break;case-2:a=e?" ":"\t";break;case-1:if(!e&&i)continue;a=" ";break;default:a=String.fromCharCode(o)}i=-2===o,r.push(a)}return r.join("")}(g(t),e)},now:y,defineSkip:function(t){i[t.line]=t.column,k()},write:function(t){if(a=u(a,t),m(),null!==a[a.length-1])return[];return w(e,0),f.events=q(o,f.events,f),f.events}};let h,p=e.tokenize.call(f,d);return e.resolveAll&&o.push(e),f;function g(t){return function(t,e){const n=e.start._index,r=e.start._bufferIndex,i=e.end._index,o=e.end._bufferIndex;let a;if(n===i)a=[t[n].slice(r,o)];else{if(a=t.slice(n,i),r>-1){const t=a[0];"string"==typeof t?a[0]=t.slice(r):a.shift()}o>0&&a.push(t[i].slice(0,o))}return a}(a,t)}function y(){const{line:t,column:e,offset:n,_index:i,_bufferIndex:o}=r;return{line:t,column:e,offset:n,_index:i,_bufferIndex:o}}function m(){let t;for(;r._index<a.length;){const e=a[r._index];if("string"==typeof e)for(t=r._index,r._bufferIndex<0&&(r._bufferIndex=0);r._index===t&&r._bufferIndex<e.length;)v(e.charCodeAt(r._bufferIndex));else v(e)}}function v(t){l=void 0,h=t,p=p(t)}function x(t,e){e.restore()}function A(t,e){return function(n,i,o){let a,c,u,h;return Array.isArray(n)?p(n):"tokenize"in n?p([n]):function(t){return e;function e(e){const n=null!==e&&t[e],r=null!==e&&t.null;return p([...Array.isArray(n)?n:n?[n]:[],...Array.isArray(r)?r:r?[r]:[]])(e)}}(n);function p(t){return a=t,c=0,0===t.length?o:g(t[c])}function g(t){return function(n){h=function(){const t=y(),e=f.previous,n=f.currentConstruct,i=f.events.length,o=Array.from(s);return{restore:a,from:i};function a(){r=t,f.previous=e,f.currentConstruct=n,f.events.length=i,s=o,k()}}(),u=t,t.partial||(f.currentConstruct=t);if(t.name&&f.parser.constructs.disable.null.includes(t.name))return v(n);return t.tokenize.call(e?Object.assign(Object.create(f),e):f,d,m,v)(n)}}function m(e){return l=!0,t(u,h),i}function v(t){return l=!0,h.restore(),++c<a.length?g(a[c]):o}}}function w(t,e){t.resolveAll&&!o.includes(t)&&o.push(t),t.resolve&&c(f.events,e,f.events.length-e,t.resolve(f.events.slice(e),f)),t.resolveTo&&(f.events=t.resolveTo(f.events,f))}function k(){r.line in i&&r.column<2&&(r.column=i[r.line],r.offset+=i[r.line]-1)}}const U={name:"thematicBreak",tokenize:function(t,e,n){let r,i=0;return function(e){return t.enter("thematicBreak"),function(t){return r=t,o(t)}(e)};function o(o){return o===r?(t.enter("thematicBreakSequence"),a(o)):i>=3&&(null===o||b(o))?(t.exit("thematicBreak"),e(o)):n(o)}function a(e){return e===r?(t.consume(e),i++,a):(t.exit("thematicBreakSequence"),w(e)?S(t,o,"whitespace")(e):o(e))}}};const Y={name:"list",tokenize:function(t,e,n){const r=this,i=r.events[r.events.length-1];let o=i&&"linePrefix"===i[1].type?i[2].sliceSerialize(i[1],!0).length:0,a=0;return function(e){const i=r.containerState.type||(42===e||43===e||45===e?"listUnordered":"listOrdered");if("listUnordered"===i?!r.containerState.marker||e===r.containerState.marker:m(e)){if(r.containerState.type||(r.containerState.type=i,t.enter(i,{_container:!0})),"listUnordered"===i)return t.enter("listItemPrefix"),42===e||45===e?t.check(U,n,c)(e):c(e);if(!r.interrupt||49===e)return t.enter("listItemPrefix"),t.enter("listItemValue"),s(e)}return n(e)};function s(e){return m(e)&&++a<10?(t.consume(e),s):(!r.interrupt||a<2)&&(r.containerState.marker?e===r.containerState.marker:41===e||46===e)?(t.exit("listItemValue"),c(e)):n(e)}function c(e){return t.enter("listItemMarker"),t.consume(e),t.exit("listItemMarker"),r.containerState.marker=r.containerState.marker||e,t.check(T,r.interrupt?n:u,t.attempt(W,d,l))}function u(t){return r.containerState.initialBlankLine=!0,o++,d(t)}function l(e){return w(e)?(t.enter("listItemPrefixWhitespace"),t.consume(e),t.exit("listItemPrefixWhitespace"),d):n(e)}function d(n){return r.containerState.size=o+r.sliceSerialize(t.exit("listItemPrefix"),!0).length,e(n)}},continuation:{tokenize:function(t,e,n){const r=this;return r.containerState._closeFlow=void 0,t.check(T,(function(n){return r.containerState.furtherBlankLines=r.containerState.furtherBlankLines||r.containerState.initialBlankLine,S(t,e,"listItemIndent",r.containerState.size+1)(n)}),(function(n){if(r.containerState.furtherBlankLines||!w(n))return r.containerState.furtherBlankLines=void 0,r.containerState.initialBlankLine=void 0,i(n);return r.containerState.furtherBlankLines=void 0,r.containerState.initialBlankLine=void 0,t.attempt(X,e,i)(n)}));function i(i){return r.containerState._closeFlow=!0,r.interrupt=void 0,S(t,t.attempt(Y,e,n),"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(i)}}},exit:function(t){t.exit(this.containerState.type)}},W={tokenize:function(t,e,n){const r=this;return S(t,(function(t){const i=r.events[r.events.length-1];return!w(t)&&i&&"listItemPrefixWhitespace"===i[1].type?e(t):n(t)}),"listItemPrefixWhitespace",r.parser.constructs.disable.null.includes("codeIndented")?void 0:5)},partial:!0},X={tokenize:function(t,e,n){const r=this;return S(t,(function(t){const i=r.events[r.events.length-1];return i&&"listItemIndent"===i[1].type&&i[2].sliceSerialize(i[1],!0).length===r.containerState.size?e(t):n(t)}),"listItemIndent",r.containerState.size+1)},partial:!0};const G={name:"blockQuote",tokenize:function(t,e,n){const r=this;return function(e){if(62===e){const n=r.containerState;return n.open||(t.enter("blockQuote",{_container:!0}),n.open=!0),t.enter("blockQuotePrefix"),t.enter("blockQuoteMarker"),t.consume(e),t.exit("blockQuoteMarker"),i}return n(e)};function i(n){return w(n)?(t.enter("blockQuotePrefixWhitespace"),t.consume(n),t.exit("blockQuotePrefixWhitespace"),t.exit("blockQuotePrefix"),e):(t.exit("blockQuotePrefix"),e(n))}},continuation:{tokenize:function(t,e,n){const r=this;return function(e){if(w(e))return S(t,i,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(e);return i(e)};function i(r){return t.attempt(G,e,n)(r)}}},exit:function(t){t.exit("blockQuote")}};function Q(t,e,n,r,i,o,a,s,c){const u=c||Number.POSITIVE_INFINITY;let l=0;return function(e){if(60===e)return t.enter(r),t.enter(i),t.enter(o),t.consume(e),t.exit(o),d;if(null===e||32===e||41===e||y(e))return n(e);return t.enter(r),t.enter(a),t.enter(s),t.enter("chunkString",{contentType:"string"}),p(e)};function d(n){return 62===n?(t.enter(o),t.consume(n),t.exit(o),t.exit(i),t.exit(r),e):(t.enter(s),t.enter("chunkString",{contentType:"string"}),f(n))}function f(e){return 62===e?(t.exit("chunkString"),t.exit(s),d(e)):null===e||60===e||b(e)?n(e):(t.consume(e),92===e?h:f)}function h(e){return 60===e||62===e||92===e?(t.consume(e),f):f(e)}function p(i){return l||null!==i&&41!==i&&!A(i)?l<u&&40===i?(t.consume(i),l++,p):41===i?(t.consume(i),l--,p):null===i||32===i||40===i||y(i)?n(i):(t.consume(i),92===i?g:p):(t.exit("chunkString"),t.exit(s),t.exit(a),t.exit(r),e(i))}function g(e){return 40===e||41===e||92===e?(t.consume(e),p):p(e)}}function Z(t,e,n,r,i,o){const a=this;let s,c=0;return function(e){return t.enter(r),t.enter(i),t.consume(e),t.exit(i),t.enter(o),u};function u(d){return c>999||null===d||91===d||93===d&&!s||94===d&&!c&&"_hiddenFootnoteSupport"in a.parser.constructs?n(d):93===d?(t.exit(o),t.enter(i),t.consume(d),t.exit(i),t.exit(r),e):b(d)?(t.enter("lineEnding"),t.consume(d),t.exit("lineEnding"),u):(t.enter("chunkString",{contentType:"string"}),l(d))}function l(e){return null===e||91===e||93===e||b(e)||c++>999?(t.exit("chunkString"),u(e)):(t.consume(e),s||(s=!w(e)),92===e?d:l)}function d(e){return 91===e||92===e||93===e?(t.consume(e),c++,l):l(e)}}function J(t,e,n,r,i,o){let a;return function(e){if(34===e||39===e||40===e)return t.enter(r),t.enter(i),t.consume(e),t.exit(i),a=40===e?41:e,s;return n(e)};function s(n){return n===a?(t.enter(i),t.consume(n),t.exit(i),t.exit(r),e):(t.enter(o),c(n))}function c(e){return e===a?(t.exit(o),s(a)):null===e?n(e):b(e)?(t.enter("lineEnding"),t.consume(e),t.exit("lineEnding"),S(t,c,"linePrefix")):(t.enter("chunkString",{contentType:"string"}),u(e))}function u(e){return e===a||null===e||b(e)?(t.exit("chunkString"),c(e)):(t.consume(e),92===e?l:u)}function l(e){return e===a||92===e?(t.consume(e),u):u(e)}}function K(t,e){let n;return function r(i){if(b(i))return t.enter("lineEnding"),t.consume(i),t.exit("lineEnding"),n=!0,r;if(w(i))return S(t,r,n?"linePrefix":"lineSuffix")(i);return e(i)}}function tt(t){return t.replace(/[\t\n\r ]+/g," ").replace(/^ | $/g,"").toLowerCase().toUpperCase()}const et={name:"definition",tokenize:function(t,e,n){const r=this;let i;return function(e){return t.enter("definition"),function(e){return Z.call(r,t,o,n,"definitionLabel","definitionLabelMarker","definitionLabelString")(e)}(e)};function o(e){return i=tt(r.sliceSerialize(r.events[r.events.length-1][1]).slice(1,-1)),58===e?(t.enter("definitionMarker"),t.consume(e),t.exit("definitionMarker"),a):n(e)}function a(e){return A(e)?K(t,s)(e):s(e)}function s(e){return Q(t,c,n,"definitionDestination","definitionDestinationLiteral","definitionDestinationLiteralMarker","definitionDestinationRaw","definitionDestinationString")(e)}function c(e){return t.attempt(nt,u,u)(e)}function u(e){return w(e)?S(t,l,"whitespace")(e):l(e)}function l(o){return null===o||b(o)?(t.exit("definition"),r.parser.defined.push(i),e(o)):n(o)}}},nt={tokenize:function(t,e,n){return function(e){return A(e)?K(t,r)(e):n(e)};function r(e){return J(t,i,n,"definitionTitle","definitionTitleMarker","definitionTitleString")(e)}function i(e){return w(e)?S(t,o,"whitespace")(e):o(e)}function o(t){return null===t||b(t)?e(t):n(t)}},partial:!0};const rt={name:"codeIndented",tokenize:function(t,e,n){const r=this;return function(e){return t.enter("codeIndented"),S(t,i,"linePrefix",5)(e)};function i(t){const e=r.events[r.events.length-1];return e&&"linePrefix"===e[1].type&&e[2].sliceSerialize(e[1],!0).length>=4?o(t):n(t)}function o(e){return null===e?s(e):b(e)?t.attempt(it,o,s)(e):(t.enter("codeFlowValue"),a(e))}function a(e){return null===e||b(e)?(t.exit("codeFlowValue"),o(e)):(t.consume(e),a)}function s(n){return t.exit("codeIndented"),e(n)}}},it={tokenize:function(t,e,n){const r=this;return i;function i(e){return r.parser.lazy[r.now().line]?n(e):b(e)?(t.enter("lineEnding"),t.consume(e),t.exit("lineEnding"),i):S(t,o,"linePrefix",5)(e)}function o(t){const o=r.events[r.events.length-1];return o&&"linePrefix"===o[1].type&&o[2].sliceSerialize(o[1],!0).length>=4?e(t):b(t)?i(t):n(t)}},partial:!0};const ot={name:"headingAtx",tokenize:function(t,e,n){let r=0;return function(e){return t.enter("atxHeading"),function(e){return t.enter("atxHeadingSequence"),i(e)}(e)};function i(e){return 35===e&&r++<6?(t.consume(e),i):null===e||A(e)?(t.exit("atxHeadingSequence"),o(e)):n(e)}function o(n){return 35===n?(t.enter("atxHeadingSequence"),a(n)):null===n||b(n)?(t.exit("atxHeading"),e(n)):w(n)?S(t,o,"whitespace")(n):(t.enter("atxHeadingText"),s(n))}function a(e){return 35===e?(t.consume(e),a):(t.exit("atxHeadingSequence"),o(e))}function s(e){return null===e||35===e||A(e)?(t.exit("atxHeadingText"),o(e)):(t.consume(e),s)}},resolve:function(t,e){let n,r,i=t.length-2,o=3;"whitespace"===t[o][1].type&&(o+=2);i-2>o&&"whitespace"===t[i][1].type&&(i-=2);"atxHeadingSequence"===t[i][1].type&&(o===i-1||i-4>o&&"whitespace"===t[i-2][1].type)&&(i-=o+1===i?2:4);i>o&&(n={type:"atxHeadingText",start:t[o][1].start,end:t[i][1].end},r={type:"chunkText",start:t[o][1].start,end:t[i][1].end,contentType:"text"},c(t,o,i-o+1,[["enter",n,e],["enter",r,e],["exit",r,e],["exit",n,e]]));return t}};const at={name:"setextUnderline",tokenize:function(t,e,n){const r=this;let i;return function(e){let a,s=r.events.length;for(;s--;)if("lineEnding"!==r.events[s][1].type&&"linePrefix"!==r.events[s][1].type&&"content"!==r.events[s][1].type){a="paragraph"===r.events[s][1].type;break}if(!r.parser.lazy[r.now().line]&&(r.interrupt||a))return t.enter("setextHeadingLine"),i=e,function(e){return t.enter("setextHeadingLineSequence"),o(e)}(e);return n(e)};function o(e){return e===i?(t.consume(e),o):(t.exit("setextHeadingLineSequence"),w(e)?S(t,a,"lineSuffix")(e):a(e))}function a(r){return null===r||b(r)?(t.exit("setextHeadingLine"),e(r)):n(r)}},resolveTo:function(t,e){let n,r,i,o=t.length;for(;o--;)if("enter"===t[o][0]){if("content"===t[o][1].type){n=o;break}"paragraph"===t[o][1].type&&(r=o)}else"content"===t[o][1].type&&t.splice(o,1),i||"definition"!==t[o][1].type||(i=o);const a={type:"setextHeading",start:Object.assign({},t[r][1].start),end:Object.assign({},t[t.length-1][1].end)};t[r][1].type="setextHeadingText",i?(t.splice(r,0,["enter",a,e]),t.splice(i+1,0,["exit",t[n][1],e]),t[n][1].end=Object.assign({},t[i][1].end)):t[n][1]=a;return t.push(["exit",a,e]),t}};const st=["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"],ct=["pre","script","style","textarea"],ut={name:"htmlFlow",tokenize:function(t,e,n){const r=this;let i,o,a,s,c;return function(e){return function(e){return t.enter("htmlFlow"),t.enter("htmlFlowData"),t.consume(e),u}(e)};function u(s){return 33===s?(t.consume(s),l):47===s?(t.consume(s),o=!0,g):63===s?(t.consume(s),i=3,r.interrupt?e:z):h(s)?(t.consume(s),a=String.fromCharCode(s),y):n(s)}function l(o){return 45===o?(t.consume(o),i=2,d):91===o?(t.consume(o),i=5,s=0,f):h(o)?(t.consume(o),i=4,r.interrupt?e:z):n(o)}function d(i){return 45===i?(t.consume(i),r.interrupt?e:z):n(i)}function f(i){const o="CDATA[";return i===o.charCodeAt(s++)?(t.consume(i),6===s?r.interrupt?e:I:f):n(i)}function g(e){return h(e)?(t.consume(e),a=String.fromCharCode(e),y):n(e)}function y(s){if(null===s||47===s||62===s||A(s)){const c=47===s,u=a.toLowerCase();return c||o||!ct.includes(u)?st.includes(a.toLowerCase())?(i=6,c?(t.consume(s),m):r.interrupt?e(s):I(s)):(i=7,r.interrupt&&!r.parser.lazy[r.now().line]?n(s):o?v(s):x(s)):(i=1,r.interrupt?e(s):I(s))}return 45===s||p(s)?(t.consume(s),a+=String.fromCharCode(s),y):n(s)}function m(i){return 62===i?(t.consume(i),r.interrupt?e:I):n(i)}function v(e){return w(e)?(t.consume(e),v):C(e)}function x(e){return 47===e?(t.consume(e),C):58===e||95===e||h(e)?(t.consume(e),k):w(e)?(t.consume(e),x):C(e)}function k(e){return 45===e||46===e||58===e||95===e||p(e)?(t.consume(e),k):_(e)}function _(e){return 61===e?(t.consume(e),E):w(e)?(t.consume(e),_):x(e)}function E(e){return null===e||60===e||61===e||62===e||96===e?n(e):34===e||39===e?(t.consume(e),c=e,S):w(e)?(t.consume(e),E):F(e)}function S(e){return e===c?(t.consume(e),c=null,L):null===e||b(e)?n(e):(t.consume(e),S)}function F(e){return null===e||34===e||39===e||47===e||60===e||61===e||62===e||96===e||A(e)?_(e):(t.consume(e),F)}function L(t){return 47===t||62===t||w(t)?x(t):n(t)}function C(e){return 62===e?(t.consume(e),T):n(e)}function T(e){return null===e||b(e)?I(e):w(e)?(t.consume(e),T):n(e)}function I(e){return 45===e&&2===i?(t.consume(e),O):60===e&&1===i?(t.consume(e),D):62===e&&4===i?(t.consume(e),R):63===e&&3===i?(t.consume(e),z):93===e&&5===i?(t.consume(e),P):!b(e)||6!==i&&7!==i?null===e||b(e)?(t.exit("htmlFlowData"),M(e)):(t.consume(e),I):(t.exit("htmlFlowData"),t.check(lt,H,M)(e))}function M(e){return t.check(dt,j,H)(e)}function j(e){return t.enter("lineEnding"),t.consume(e),t.exit("lineEnding"),B}function B(e){return null===e||b(e)?M(e):(t.enter("htmlFlowData"),I(e))}function O(e){return 45===e?(t.consume(e),z):I(e)}function D(e){return 47===e?(t.consume(e),a="",N):I(e)}function N(e){if(62===e){const n=a.toLowerCase();return ct.includes(n)?(t.consume(e),R):I(e)}return h(e)&&a.length<8?(t.consume(e),a+=String.fromCharCode(e),N):I(e)}function P(e){return 93===e?(t.consume(e),z):I(e)}function z(e){return 62===e?(t.consume(e),R):45===e&&2===i?(t.consume(e),z):I(e)}function R(e){return null===e||b(e)?(t.exit("htmlFlowData"),H(e)):(t.consume(e),R)}function H(n){return t.exit("htmlFlow"),e(n)}},resolveTo:function(t){let e=t.length;for(;e--&&("enter"!==t[e][0]||"htmlFlow"!==t[e][1].type););e>1&&"linePrefix"===t[e-2][1].type&&(t[e][1].start=t[e-2][1].start,t[e+1][1].start=t[e-2][1].start,t.splice(e-2,2));return t},concrete:!0},lt={tokenize:function(t,e,n){return function(r){return t.enter("lineEnding"),t.consume(r),t.exit("lineEnding"),t.attempt(T,e,n)}},partial:!0},dt={tokenize:function(t,e,n){const r=this;return function(e){if(b(e))return t.enter("lineEnding"),t.consume(e),t.exit("lineEnding"),i;return n(e)};function i(t){return r.parser.lazy[r.now().line]?n(t):e(t)}},partial:!0};const ft={tokenize:function(t,e,n){const r=this;return function(e){if(null===e)return n(e);return t.enter("lineEnding"),t.consume(e),t.exit("lineEnding"),i};function i(t){return r.parser.lazy[r.now().line]?n(t):e(t)}},partial:!0},ht={name:"codeFenced",tokenize:function(t,e,n){const r=this,i={tokenize:function(t,e,n){let i=0;return a;function a(e){return t.enter("lineEnding"),t.consume(e),t.exit("lineEnding"),c}function c(e){return t.enter("codeFencedFence"),w(e)?S(t,u,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(e):u(e)}function u(e){return e===o?(t.enter("codeFencedFenceSequence"),l(e)):n(e)}function l(e){return e===o?(i++,t.consume(e),l):i>=s?(t.exit("codeFencedFenceSequence"),w(e)?S(t,d,"whitespace")(e):d(e)):n(e)}function d(r){return null===r||b(r)?(t.exit("codeFencedFence"),e(r)):n(r)}},partial:!0};let o,a=0,s=0;return function(e){return function(e){const n=r.events[r.events.length-1];return a=n&&"linePrefix"===n[1].type?n[2].sliceSerialize(n[1],!0).length:0,o=e,t.enter("codeFenced"),t.enter("codeFencedFence"),t.enter("codeFencedFenceSequence"),c(e)}(e)};function c(e){return e===o?(s++,t.consume(e),c):s<3?n(e):(t.exit("codeFencedFenceSequence"),w(e)?S(t,u,"whitespace")(e):u(e))}function u(n){return null===n||b(n)?(t.exit("codeFencedFence"),r.interrupt?e(n):t.check(ft,h,v)(n)):(t.enter("codeFencedFenceInfo"),t.enter("chunkString",{contentType:"string"}),l(n))}function l(e){return null===e||b(e)?(t.exit("chunkString"),t.exit("codeFencedFenceInfo"),u(e)):w(e)?(t.exit("chunkString"),t.exit("codeFencedFenceInfo"),S(t,d,"whitespace")(e)):96===e&&e===o?n(e):(t.consume(e),l)}function d(e){return null===e||b(e)?u(e):(t.enter("codeFencedFenceMeta"),t.enter("chunkString",{contentType:"string"}),f(e))}function f(e){return null===e||b(e)?(t.exit("chunkString"),t.exit("codeFencedFenceMeta"),u(e)):96===e&&e===o?n(e):(t.consume(e),f)}function h(e){return t.attempt(i,v,p)(e)}function p(e){return t.enter("lineEnding"),t.consume(e),t.exit("lineEnding"),g}function g(e){return a>0&&w(e)?S(t,y,"linePrefix",a+1)(e):y(e)}function y(e){return null===e||b(e)?t.check(ft,h,v)(e):(t.enter("codeFlowValue"),m(e))}function m(e){return null===e||b(e)?(t.exit("codeFlowValue"),y(e)):(t.consume(e),m)}function v(n){return t.exit("codeFenced"),e(n)}},concrete:!0};const pt=document.createElement("i");function gt(t){const e="&"+t+";";pt.innerHTML=e;const n=pt.textContent;return(59!==n.charCodeAt(n.length-1)||"semi"===t)&&(n!==e&&n)}const yt={name:"characterReference",tokenize:function(t,e,n){const r=this;let i,o,a=0;return function(e){return t.enter("characterReference"),t.enter("characterReferenceMarker"),t.consume(e),t.exit("characterReferenceMarker"),s};function s(e){return 35===e?(t.enter("characterReferenceMarkerNumeric"),t.consume(e),t.exit("characterReferenceMarkerNumeric"),c):(t.enter("characterReferenceValue"),i=31,o=p,u(e))}function c(e){return 88===e||120===e?(t.enter("characterReferenceMarkerHexadecimal"),t.consume(e),t.exit("characterReferenceMarkerHexadecimal"),t.enter("characterReferenceValue"),i=6,o=v,u):(t.enter("characterReferenceValue"),i=7,o=m,u(e))}function u(s){if(59===s&&a){const i=t.exit("characterReferenceValue");return o!==p||gt(r.sliceSerialize(i))?(t.enter("characterReferenceMarker"),t.consume(s),t.exit("characterReferenceMarker"),t.exit("characterReference"),e):n(s)}return o(s)&&a++<i?(t.consume(s),u):n(s)}}};const mt={name:"characterEscape",tokenize:function(t,e,n){return function(e){return t.enter("characterEscape"),t.enter("escapeMarker"),t.consume(e),t.exit("escapeMarker"),r};function r(r){return x(r)?(t.enter("characterEscapeValue"),t.consume(r),t.exit("characterEscapeValue"),t.exit("characterEscape"),e):n(r)}}};const vt={name:"lineEnding",tokenize:function(t,e){return function(n){return t.enter("lineEnding"),t.consume(n),t.exit("lineEnding"),S(t,e,"linePrefix")}}};const xt={name:"labelEnd",tokenize:function(t,e,n){const r=this;let i,o,a=r.events.length;for(;a--;)if(("labelImage"===r.events[a][1].type||"labelLink"===r.events[a][1].type)&&!r.events[a][1]._balanced){i=r.events[a][1];break}return function(e){if(!i)return n(e);if(i._inactive)return l(e);return o=r.parser.defined.includes(tt(r.sliceSerialize({start:i.end,end:r.now()}))),t.enter("labelEnd"),t.enter("labelMarker"),t.consume(e),t.exit("labelMarker"),t.exit("labelEnd"),s};function s(e){return 40===e?t.attempt(bt,u,o?u:l)(e):91===e?t.attempt(At,u,o?c:l)(e):o?u(e):l(e)}function c(e){return t.attempt(wt,u,l)(e)}function u(t){return e(t)}function l(t){return i._balanced=!0,n(t)}},resolveTo:function(t,e){let n,r,i,o,a=t.length,s=0;for(;a--;)if(n=t[a][1],r){if("link"===n.type||"labelLink"===n.type&&n._inactive)break;"enter"===t[a][0]&&"labelLink"===n.type&&(n._inactive=!0)}else if(i){if("enter"===t[a][0]&&("labelImage"===n.type||"labelLink"===n.type)&&!n._balanced&&(r=a,"labelLink"!==n.type)){s=2;break}}else"labelEnd"===n.type&&(i=a);const l={type:"labelLink"===t[r][1].type?"link":"image",start:Object.assign({},t[r][1].start),end:Object.assign({},t[t.length-1][1].end)},d={type:"label",start:Object.assign({},t[r][1].start),end:Object.assign({},t[i][1].end)},f={type:"labelText",start:Object.assign({},t[r+s+2][1].end),end:Object.assign({},t[i-2][1].start)};return o=[["enter",l,e],["enter",d,e]],o=u(o,t.slice(r+1,r+s+3)),o=u(o,[["enter",f,e]]),o=u(o,q(e.parser.constructs.insideSpan.null,t.slice(r+s+4,i-3),e)),o=u(o,[["exit",f,e],t[i-2],t[i-1],["exit",d,e]]),o=u(o,t.slice(i+1)),o=u(o,[["exit",l,e]]),c(t,r,t.length,o),t},resolveAll:function(t){let e=-1;for(;++e<t.length;){const n=t[e][1];"labelImage"!==n.type&&"labelLink"!==n.type&&"labelEnd"!==n.type||(t.splice(e+1,"labelImage"===n.type?4:2),n.type="data",e++)}return t}},bt={tokenize:function(t,e,n){return function(e){return t.enter("resource"),t.enter("resourceMarker"),t.consume(e),t.exit("resourceMarker"),r};function r(e){return A(e)?K(t,i)(e):i(e)}function i(e){return 41===e?u(e):Q(t,o,a,"resourceDestination","resourceDestinationLiteral","resourceDestinationLiteralMarker","resourceDestinationRaw","resourceDestinationString",32)(e)}function o(e){return A(e)?K(t,s)(e):u(e)}function a(t){return n(t)}function s(e){return 34===e||39===e||40===e?J(t,c,n,"resourceTitle","resourceTitleMarker","resourceTitleString")(e):u(e)}function c(e){return A(e)?K(t,u)(e):u(e)}function u(r){return 41===r?(t.enter("resourceMarker"),t.consume(r),t.exit("resourceMarker"),t.exit("resource"),e):n(r)}}},At={tokenize:function(t,e,n){const r=this;return function(e){return Z.call(r,t,i,o,"reference","referenceMarker","referenceString")(e)};function i(t){return r.parser.defined.includes(tt(r.sliceSerialize(r.events[r.events.length-1][1]).slice(1,-1)))?e(t):n(t)}function o(t){return n(t)}}},wt={tokenize:function(t,e,n){return function(e){return t.enter("reference"),t.enter("referenceMarker"),t.consume(e),t.exit("referenceMarker"),r};function r(r){return 93===r?(t.enter("referenceMarker"),t.consume(r),t.exit("referenceMarker"),t.exit("reference"),e):n(r)}}};const kt={name:"labelStartImage",tokenize:function(t,e,n){const r=this;return function(e){return t.enter("labelImage"),t.enter("labelImageMarker"),t.consume(e),t.exit("labelImageMarker"),i};function i(e){return 91===e?(t.enter("labelMarker"),t.consume(e),t.exit("labelMarker"),t.exit("labelImage"),o):n(e)}function o(t){return 94===t&&"_hiddenFootnoteSupport"in r.parser.constructs?n(t):e(t)}},resolveAll:xt.resolveAll};function _t(t){return null===t||A(t)||_(t)?1:k(t)?2:void 0}const Et={name:"attention",tokenize:function(t,e){const n=this.parser.constructs.attentionMarkers.null,r=this.previous,i=_t(r);let o;return function(e){return o=e,t.enter("attentionSequence"),a(e)};function a(s){if(s===o)return t.consume(s),a;const c=t.exit("attentionSequence"),u=_t(s),l=!u||2===u&&i||n.includes(s),d=!i||2===i&&u||n.includes(r);return c._open=Boolean(42===o?l:l&&(i||!d)),c._close=Boolean(42===o?d:d&&(u||!l)),e(s)}},resolveAll:function(t,e){let n,r,i,o,a,s,l,d,f=-1;for(;++f<t.length;)if("enter"===t[f][0]&&"attentionSequence"===t[f][1].type&&t[f][1]._close)for(n=f;n--;)if("exit"===t[n][0]&&"attentionSequence"===t[n][1].type&&t[n][1]._open&&e.sliceSerialize(t[n][1]).charCodeAt(0)===e.sliceSerialize(t[f][1]).charCodeAt(0)){if((t[n][1]._close||t[f][1]._open)&&(t[f][1].end.offset-t[f][1].start.offset)%3&&!((t[n][1].end.offset-t[n][1].start.offset+t[f][1].end.offset-t[f][1].start.offset)%3))continue;s=t[n][1].end.offset-t[n][1].start.offset>1&&t[f][1].end.offset-t[f][1].start.offset>1?2:1;const h=Object.assign({},t[n][1].end),p=Object.assign({},t[f][1].start);St(h,-s),St(p,s),o={type:s>1?"strongSequence":"emphasisSequence",start:h,end:Object.assign({},t[n][1].end)},a={type:s>1?"strongSequence":"emphasisSequence",start:Object.assign({},t[f][1].start),end:p},i={type:s>1?"strongText":"emphasisText",start:Object.assign({},t[n][1].end),end:Object.assign({},t[f][1].start)},r={type:s>1?"strong":"emphasis",start:Object.assign({},o.start),end:Object.assign({},a.end)},t[n][1].end=Object.assign({},o.start),t[f][1].start=Object.assign({},a.end),l=[],t[n][1].end.offset-t[n][1].start.offset&&(l=u(l,[["enter",t[n][1],e],["exit",t[n][1],e]])),l=u(l,[["enter",r,e],["enter",o,e],["exit",o,e],["enter",i,e]]),l=u(l,q(e.parser.constructs.insideSpan.null,t.slice(n+1,f),e)),l=u(l,[["exit",i,e],["enter",a,e],["exit",a,e],["exit",r,e]]),t[f][1].end.offset-t[f][1].start.offset?(d=2,l=u(l,[["enter",t[f][1],e],["exit",t[f][1],e]])):d=0,c(t,n-1,f-n+3,l),f=n+l.length-d-2;break}f=-1;for(;++f<t.length;)"attentionSequence"===t[f][1].type&&(t[f][1].type="data");return t}};function St(t,e){t.column+=e,t.offset+=e,t._bufferIndex+=e}const Ft={name:"autolink",tokenize:function(t,e,n){let r=0;return function(e){return t.enter("autolink"),t.enter("autolinkMarker"),t.consume(e),t.exit("autolinkMarker"),t.enter("autolinkProtocol"),i};function i(e){return h(e)?(t.consume(e),o):c(e)}function o(t){return 43===t||45===t||46===t||p(t)?(r=1,a(t)):c(t)}function a(e){return 58===e?(t.consume(e),r=0,s):(43===e||45===e||46===e||p(e))&&r++<32?(t.consume(e),a):(r=0,c(e))}function s(r){return 62===r?(t.exit("autolinkProtocol"),t.enter("autolinkMarker"),t.consume(r),t.exit("autolinkMarker"),t.exit("autolink"),e):null===r||32===r||60===r||y(r)?n(r):(t.consume(r),s)}function c(e){return 64===e?(t.consume(e),u):g(e)?(t.consume(e),c):n(e)}function u(t){return p(t)?l(t):n(t)}function l(n){return 46===n?(t.consume(n),r=0,u):62===n?(t.exit("autolinkProtocol").type="autolinkEmail",t.enter("autolinkMarker"),t.consume(n),t.exit("autolinkMarker"),t.exit("autolink"),e):d(n)}function d(e){if((45===e||p(e))&&r++<63){const n=45===e?d:l;return t.consume(e),n}return n(e)}}};const Lt={name:"htmlText",tokenize:function(t,e,n){const r=this;let i,o,a;return function(e){return t.enter("htmlText"),t.enter("htmlTextData"),t.consume(e),s};function s(e){return 33===e?(t.consume(e),c):47===e?(t.consume(e),E):63===e?(t.consume(e),k):h(e)?(t.consume(e),C):n(e)}function c(e){return 45===e?(t.consume(e),u):91===e?(t.consume(e),o=0,g):h(e)?(t.consume(e),x):n(e)}function u(e){return 45===e?(t.consume(e),f):n(e)}function l(e){return null===e?n(e):45===e?(t.consume(e),d):b(e)?(a=l,P(e)):(t.consume(e),l)}function d(e){return 45===e?(t.consume(e),f):l(e)}function f(t){return 62===t?N(t):45===t?d(t):l(t)}function g(e){const r="CDATA[";return e===r.charCodeAt(o++)?(t.consume(e),6===o?y:g):n(e)}function y(e){return null===e?n(e):93===e?(t.consume(e),m):b(e)?(a=y,P(e)):(t.consume(e),y)}function m(e){return 93===e?(t.consume(e),v):y(e)}function v(e){return 62===e?N(e):93===e?(t.consume(e),v):y(e)}function x(e){return null===e||62===e?N(e):b(e)?(a=x,P(e)):(t.consume(e),x)}function k(e){return null===e?n(e):63===e?(t.consume(e),_):b(e)?(a=k,P(e)):(t.consume(e),k)}function _(t){return 62===t?N(t):k(t)}function E(e){return h(e)?(t.consume(e),F):n(e)}function F(e){return 45===e||p(e)?(t.consume(e),F):L(e)}function L(e){return b(e)?(a=L,P(e)):w(e)?(t.consume(e),L):N(e)}function C(e){return 45===e||p(e)?(t.consume(e),C):47===e||62===e||A(e)?T(e):n(e)}function T(e){return 47===e?(t.consume(e),N):58===e||95===e||h(e)?(t.consume(e),I):b(e)?(a=T,P(e)):w(e)?(t.consume(e),T):N(e)}function I(e){return 45===e||46===e||58===e||95===e||p(e)?(t.consume(e),I):M(e)}function M(e){return 61===e?(t.consume(e),j):b(e)?(a=M,P(e)):w(e)?(t.consume(e),M):T(e)}function j(e){return null===e||60===e||61===e||62===e||96===e?n(e):34===e||39===e?(t.consume(e),i=e,B):b(e)?(a=j,P(e)):w(e)?(t.consume(e),j):(t.consume(e),O)}function B(e){return e===i?(t.consume(e),i=void 0,D):null===e?n(e):b(e)?(a=B,P(e)):(t.consume(e),B)}function O(e){return null===e||34===e||39===e||60===e||61===e||96===e?n(e):47===e||62===e||A(e)?T(e):(t.consume(e),O)}function D(t){return 47===t||62===t||A(t)?T(t):n(t)}function N(r){return 62===r?(t.consume(r),t.exit("htmlTextData"),t.exit("htmlText"),e):n(r)}function P(e){return t.exit("htmlTextData"),t.enter("lineEnding"),t.consume(e),t.exit("lineEnding"),z}function z(e){return w(e)?S(t,R,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(e):R(e)}function R(e){return t.enter("htmlTextData"),a(e)}}};const Ct={name:"labelStartLink",tokenize:function(t,e,n){const r=this;return function(e){return t.enter("labelLink"),t.enter("labelMarker"),t.consume(e),t.exit("labelMarker"),t.exit("labelLink"),i};function i(t){return 94===t&&"_hiddenFootnoteSupport"in r.parser.constructs?n(t):e(t)}},resolveAll:xt.resolveAll};const Tt={name:"hardBreakEscape",tokenize:function(t,e,n){return function(e){return t.enter("hardBreakEscape"),t.consume(e),r};function r(r){return b(r)?(t.exit("hardBreakEscape"),e(r)):n(r)}}};const It={name:"codeText",tokenize:function(t,e,n){let r,i,o=0;return function(e){return t.enter("codeText"),t.enter("codeTextSequence"),a(e)};function a(e){return 96===e?(t.consume(e),o++,a):(t.exit("codeTextSequence"),s(e))}function s(e){return null===e?n(e):32===e?(t.enter("space"),t.consume(e),t.exit("space"),s):96===e?(i=t.enter("codeTextSequence"),r=0,u(e)):b(e)?(t.enter("lineEnding"),t.consume(e),t.exit("lineEnding"),s):(t.enter("codeTextData"),c(e))}function c(e){return null===e||32===e||96===e||b(e)?(t.exit("codeTextData"),s(e)):(t.consume(e),c)}function u(n){return 96===n?(t.consume(n),r++,u):r===o?(t.exit("codeTextSequence"),t.exit("codeText"),e(n)):(i.type="codeTextData",c(n))}},resolve:function(t){let e,n,r=t.length-4,i=3;if(!("lineEnding"!==t[i][1].type&&"space"!==t[i][1].type||"lineEnding"!==t[r][1].type&&"space"!==t[r][1].type))for(e=i;++e<r;)if("codeTextData"===t[e][1].type){t[i][1].type="codeTextPadding",t[r][1].type="codeTextPadding",i+=2,r-=2;break}e=i-1,r++;for(;++e<=r;)void 0===n?e!==r&&"lineEnding"!==t[e][1].type&&(n=e):e!==r&&"lineEnding"!==t[e][1].type||(t[n][1].type="codeTextData",e!==n+2&&(t[n][1].end=t[e-1][1].end,t.splice(n+2,e-n-2),r-=e-n-2,e=n+2),n=void 0);return t},previous:function(t){return 96!==t||"characterEscape"===this.events[this.events.length-1][1].type}};const Mt={42:Y,43:Y,45:Y,48:Y,49:Y,50:Y,51:Y,52:Y,53:Y,54:Y,55:Y,56:Y,57:Y,62:G},jt={91:et},Bt={[-2]:rt,[-1]:rt,32:rt},Ot={35:ot,42:U,45:[at,U],60:ut,61:at,95:U,96:ht,126:ht},Dt={38:yt,92:mt},Nt={[-5]:vt,[-4]:vt,[-3]:vt,33:kt,38:yt,42:Et,60:[Ft,Lt],91:Ct,92:[Tt,mt],93:xt,95:Et,96:It},Pt={null:[Et,N]},zt={null:[42,95]},Rt={null:[]};function Ht(t){const e=function(t){const e={};let n=-1;for(;++n<t.length;)d(e,t[n]);return e}([r,...(t||{}).extensions||[]]),n={defined:[],lazy:{},constructs:e,content:i(F),document:i(L),flow:i(D),string:i(P),text:i(z)};return n;function i(t){return function(e){return V(n,t,e)}}}const $t=/[\0\t\n\r]/g;function qt(t,e){const n=Number.parseInt(t,e);return n<9||11===n||n>13&&n<32||n>126&&n<160||n>55295&&n<57344||n>64975&&n<65008||!(65535&~n)||65534==(65535&n)||n>1114111?"\ufffd":String.fromCharCode(n)}const Vt=/\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi;function Ut(t,e,n){if(e)return e;if(35===n.charCodeAt(0)){const t=n.charCodeAt(1),e=120===t||88===t;return qt(n.slice(e?2:1),e?16:10)}return gt(n)||t}function Yt(t){return t&&"object"==typeof t?"position"in t||"type"in t?Xt(t.position):"start"in t||"end"in t?Xt(t):"line"in t||"column"in t?Wt(t):"":""}function Wt(t){return Gt(t&&t.line)+":"+Gt(t&&t.column)}function Xt(t){return Wt(t&&t.start)+"-"+Wt(t&&t.end)}function Gt(t){return t&&"number"==typeof t?t:1}const Qt={}.hasOwnProperty,Zt=function(t,e,n){return"string"!=typeof e&&(n=e,e=void 0),function(t){const e={transforms:[],canContainEols:["emphasis","fragment","heading","paragraph","strong"],enter:{autolink:u(ot),autolinkProtocol:C,autolinkEmail:C,atxHeading:u(et),blockQuote:u(G),characterEscape:C,characterReference:C,codeFenced:u(Q),codeFencedFenceInfo:l,codeFencedFenceMeta:l,codeIndented:u(Q,l),codeText:u(Z,l),codeTextData:C,data:C,codeFlowValue:C,definition:u(J),definitionDestinationString:l,definitionLabelString:l,definitionTitleString:l,emphasis:u(K),hardBreakEscape:u(nt),hardBreakTrailing:u(nt),htmlFlow:u(rt,l),htmlFlowData:C,htmlText:u(rt,l),htmlTextData:C,image:u(it),label:l,link:u(ot),listItem:u(st),listItemValue:y,listOrdered:u(at,g),listUnordered:u(at),paragraph:u(ct),reference:q,referenceString:l,resourceDestinationString:l,resourceTitleString:l,setextHeading:u(et),strong:u(ut),thematicBreak:u(dt)},exit:{atxHeading:f(),atxHeadingSequence:E,autolink:f(),autolinkEmail:X,autolinkProtocol:W,blockQuote:f(),characterEscapeValue:T,characterReferenceMarkerHexadecimal:U,characterReferenceMarkerNumeric:U,characterReferenceValue:Y,codeFenced:f(b),codeFencedFence:x,codeFencedFenceInfo:m,codeFencedFenceMeta:v,codeFlowValue:T,codeIndented:f(A),codeText:f(O),codeTextData:T,data:T,definition:f(),definitionDestinationString:_,definitionLabelString:w,definitionTitleString:k,emphasis:f(),hardBreakEscape:f(M),hardBreakTrailing:f(M),htmlFlow:f(j),htmlFlowData:T,htmlText:f(B),htmlTextData:T,image:f(N),label:z,labelText:P,lineEnding:I,link:f(D),listItem:f(),listOrdered:f(),listUnordered:f(),paragraph:f(),referenceString:V,resourceDestinationString:R,resourceTitleString:H,resource:$,setextHeading:f(L),setextHeadingLineSequence:F,setextHeadingText:S,strong:f(),thematicBreak:f()}};Kt(e,(t||{}).mdastExtensions||[]);const n={};return r;function r(t){let n={type:"root",children:[]};const r={stack:[n],tokenStack:[],config:e,enter:d,exit:h,buffer:l,resume:p,setData:s,getData:c},o=[];let a=-1;for(;++a<t.length;)if("listOrdered"===t[a][1].type||"listUnordered"===t[a][1].type)if("enter"===t[a][0])o.push(a);else{a=i(t,o.pop(),a)}for(a=-1;++a<t.length;){const n=e[t[a][0]];Qt.call(n,t[a][1].type)&&n[t[a][1].type].call(Object.assign({sliceSerialize:t[a][2].sliceSerialize},r),t[a][1])}if(r.tokenStack.length>0){const t=r.tokenStack[r.tokenStack.length-1];(t[1]||ee).call(r,void 0,t[0])}for(n.position={start:Jt(t.length>0?t[0][1].start:{line:1,column:1,offset:0}),end:Jt(t.length>0?t[t.length-2][1].end:{line:1,column:1,offset:0})},a=-1;++a<e.transforms.length;)n=e.transforms[a](n)||n;return n}function i(t,e,n){let r,i,o,a,s=e-1,c=-1,u=!1;for(;++s<=n;){const e=t[s];if("listUnordered"===e[1].type||"listOrdered"===e[1].type||"blockQuote"===e[1].type?("enter"===e[0]?c++:c--,a=void 0):"lineEndingBlank"===e[1].type?"enter"===e[0]&&(!r||a||c||o||(o=s),a=void 0):"linePrefix"===e[1].type||"listItemValue"===e[1].type||"listItemMarker"===e[1].type||"listItemPrefix"===e[1].type||"listItemPrefixWhitespace"===e[1].type||(a=void 0),!c&&"enter"===e[0]&&"listItemPrefix"===e[1].type||-1===c&&"exit"===e[0]&&("listUnordered"===e[1].type||"listOrdered"===e[1].type)){if(r){let a=s;for(i=void 0;a--;){const e=t[a];if("lineEnding"===e[1].type||"lineEndingBlank"===e[1].type){if("exit"===e[0])continue;i&&(t[i][1].type="lineEndingBlank",u=!0),e[1].type="lineEnding",i=a}else if("linePrefix"!==e[1].type&&"blockQuotePrefix"!==e[1].type&&"blockQuotePrefixWhitespace"!==e[1].type&&"blockQuoteMarker"!==e[1].type&&"listItemIndent"!==e[1].type)break}o&&(!i||o<i)&&(r._spread=!0),r.end=Object.assign({},i?t[i][1].start:e[1].end),t.splice(i||s,0,["exit",r,e[2]]),s++,n++}"listItemPrefix"===e[1].type&&(r={type:"listItem",_spread:!1,start:Object.assign({},e[1].start),end:void 0},t.splice(s,0,["enter",r,e[2]]),s++,n++,o=void 0,a=!0)}}return t[e][1]._spread=u,n}function s(t,e){n[t]=e}function c(t){return n[t]}function u(t,e){return n;function n(n){d.call(this,t(n),n),e&&e.call(this,n)}}function l(){this.stack.push({type:"fragment",children:[]})}function d(t,e,n){return this.stack[this.stack.length-1].children.push(t),this.stack.push(t),this.tokenStack.push([e,n]),t.position={start:Jt(e.start)},t}function f(t){return e;function e(e){t&&t.call(this,e),h.call(this,e)}}function h(t,e){const n=this.stack.pop(),r=this.tokenStack.pop();if(!r)throw new Error("Cannot close `"+t.type+"` ("+Yt({start:t.start,end:t.end})+"): it\u2019s not open");if(r[0].type!==t.type)if(e)e.call(this,t,r[0]);else{(r[1]||ee).call(this,t,r[0])}return n.position.end=Jt(t.end),n}function p(){return function(t,e){const n=e||o;return a(t,"boolean"!=typeof n.includeImageAlt||n.includeImageAlt,"boolean"!=typeof n.includeHtml||n.includeHtml)}(this.stack.pop())}function g(){s("expectingFirstListItemValue",!0)}function y(t){if(c("expectingFirstListItemValue")){this.stack[this.stack.length-2].start=Number.parseInt(this.sliceSerialize(t),10),s("expectingFirstListItemValue")}}function m(){const t=this.resume();this.stack[this.stack.length-1].lang=t}function v(){const t=this.resume();this.stack[this.stack.length-1].meta=t}function x(){c("flowCodeInside")||(this.buffer(),s("flowCodeInside",!0))}function b(){const t=this.resume();this.stack[this.stack.length-1].value=t.replace(/^(\r?\n|\r)|(\r?\n|\r)$/g,""),s("flowCodeInside")}function A(){const t=this.resume();this.stack[this.stack.length-1].value=t.replace(/(\r?\n|\r)$/g,"")}function w(t){const e=this.resume(),n=this.stack[this.stack.length-1];n.label=e,n.identifier=tt(this.sliceSerialize(t)).toLowerCase()}function k(){const t=this.resume();this.stack[this.stack.length-1].title=t}function _(){const t=this.resume();this.stack[this.stack.length-1].url=t}function E(t){const e=this.stack[this.stack.length-1];if(!e.depth){const n=this.sliceSerialize(t).length;e.depth=n}}function S(){s("setextHeadingSlurpLineEnding",!0)}function F(t){this.stack[this.stack.length-1].depth=61===this.sliceSerialize(t).charCodeAt(0)?1:2}function L(){s("setextHeadingSlurpLineEnding")}function C(t){const e=this.stack[this.stack.length-1];let n=e.children[e.children.length-1];n&&"text"===n.type||(n=lt(),n.position={start:Jt(t.start)},e.children.push(n)),this.stack.push(n)}function T(t){const e=this.stack.pop();e.value+=this.sliceSerialize(t),e.position.end=Jt(t.end)}function I(t){const n=this.stack[this.stack.length-1];if(c("atHardBreak")){return n.children[n.children.length-1].position.end=Jt(t.end),void s("atHardBreak")}!c("setextHeadingSlurpLineEnding")&&e.canContainEols.includes(n.type)&&(C.call(this,t),T.call(this,t))}function M(){s("atHardBreak",!0)}function j(){const t=this.resume();this.stack[this.stack.length-1].value=t}function B(){const t=this.resume();this.stack[this.stack.length-1].value=t}function O(){const t=this.resume();this.stack[this.stack.length-1].value=t}function D(){const t=this.stack[this.stack.length-1];if(c("inReference")){const e=c("referenceType")||"shortcut";t.type+="Reference",t.referenceType=e,delete t.url,delete t.title}else delete t.identifier,delete t.label;s("referenceType")}function N(){const t=this.stack[this.stack.length-1];if(c("inReference")){const e=c("referenceType")||"shortcut";t.type+="Reference",t.referenceType=e,delete t.url,delete t.title}else delete t.identifier,delete t.label;s("referenceType")}function P(t){const e=this.sliceSerialize(t),n=this.stack[this.stack.length-2];n.label=function(t){return t.replace(Vt,Ut)}(e),n.identifier=tt(e).toLowerCase()}function z(){const t=this.stack[this.stack.length-1],e=this.resume(),n=this.stack[this.stack.length-1];if(s("inReference",!0),"link"===n.type){const e=t.children;n.children=e}else n.alt=e}function R(){const t=this.resume();this.stack[this.stack.length-1].url=t}function H(){const t=this.resume();this.stack[this.stack.length-1].title=t}function $(){s("inReference")}function q(){s("referenceType","collapsed")}function V(t){const e=this.resume(),n=this.stack[this.stack.length-1];n.label=e,n.identifier=tt(this.sliceSerialize(t)).toLowerCase(),s("referenceType","full")}function U(t){s("characterReferenceType",t.type)}function Y(t){const e=this.sliceSerialize(t),n=c("characterReferenceType");let r;if(n)r=qt(e,"characterReferenceMarkerNumeric"===n?10:16),s("characterReferenceType");else{r=gt(e)}const i=this.stack.pop();i.value+=r,i.position.end=Jt(t.end)}function W(t){T.call(this,t);this.stack[this.stack.length-1].url=this.sliceSerialize(t)}function X(t){T.call(this,t);this.stack[this.stack.length-1].url="mailto:"+this.sliceSerialize(t)}function G(){return{type:"blockquote",children:[]}}function Q(){return{type:"code",lang:null,meta:null,value:""}}function Z(){return{type:"inlineCode",value:""}}function J(){return{type:"definition",identifier:"",label:null,title:null,url:""}}function K(){return{type:"emphasis",children:[]}}function et(){return{type:"heading",depth:void 0,children:[]}}function nt(){return{type:"break"}}function rt(){return{type:"html",value:""}}function it(){return{type:"image",title:null,url:"",alt:null}}function ot(){return{type:"link",title:null,url:"",children:[]}}function at(t){return{type:"list",ordered:"listOrdered"===t.type,start:null,spread:t._spread,children:[]}}function st(t){return{type:"listItem",spread:t._spread,checked:null,children:[]}}function ct(){return{type:"paragraph",children:[]}}function ut(){return{type:"strong",children:[]}}function lt(){return{type:"text",value:""}}function dt(){return{type:"thematicBreak"}}}(n)(function(t){for(;!M(t););return t}(Ht(n).document().write(function(){let t,e=1,n="",r=!0;return function(i,o,a){const s=[];let c,u,l,d,f;for(i=n+i.toString(o),l=0,n="",r&&(65279===i.charCodeAt(0)&&l++,r=void 0);l<i.length;){if($t.lastIndex=l,c=$t.exec(i),d=c&&void 0!==c.index?c.index:i.length,f=i.charCodeAt(d),!c){n=i.slice(l);break}if(10===f&&l===d&&t)s.push(-3),t=void 0;else switch(t&&(s.push(-5),t=void 0),l<d&&(s.push(i.slice(l,d)),e+=d-l),f){case 0:s.push(65533),e++;break;case 9:for(u=4*Math.ceil(e/4),s.push(-2);e++<u;)s.push(-1);break;case 10:s.push(-4),e=1;break;default:t=!0,e=1}l=d+1}return a&&(t&&s.push(-5),n&&s.push(n),s.push(null)),s}}()(t,e,!0))))};function Jt(t){return{line:t.line,column:t.column,offset:t.offset}}function Kt(t,e){let n=-1;for(;++n<e.length;){const r=e[n];Array.isArray(r)?Kt(t,r):te(t,r)}}function te(t,e){let n;for(n in e)if(Qt.call(e,n))if("canContainEols"===n){const r=e[n];r&&t[n].push(...r)}else if("transforms"===n){const r=e[n];r&&t[n].push(...r)}else if("enter"===n||"exit"===n){const r=e[n];r&&Object.assign(t[n],r)}}function ee(t,e){throw t?new Error("Cannot close `"+t.type+"` ("+Yt({start:t.start,end:t.end})+"): a different token (`"+e.type+"`, "+Yt({start:e.start,end:e.end})+") is open"):new Error("Cannot close document, a token (`"+e.type+"`, "+Yt({start:e.start,end:e.end})+") is still open")}var ne=n(513);function re(t){const e=function(t){const e=t.replace(/\n{2,}/g,"\n");return(0,ne.T)(e)}(t),{children:n}=Zt(e),r=[[]];let i=0;function o(t,e="normal"){if("text"===t.type){t.value.split("\n").forEach(((t,n)=>{0!==n&&(i++,r.push([])),t.split(" ").forEach((t=>{t&&r[i].push({content:t,type:e})}))}))}else"strong"!==t.type&&"emphasis"!==t.type||t.children.forEach((e=>{o(e,t.type)}))}return n.forEach((t=>{"paragraph"===t.type&&t.children.forEach((t=>{o(t)}))})),r}function ie(t,e){var n;return oe(t,[],(n=e.content,Intl.Segmenter?[...(new Intl.Segmenter).segment(n)].map((t=>t.segment)):[...n]),e.type)}function oe(t,e,n,r){if(0===n.length)return[{content:e.join(""),type:r},{content:"",type:r}];const[i,...o]=n,a=[...e,i];return t([{content:a.join(""),type:r}])?oe(t,a,o,r):(0===e.length&&i&&(e.push(i),n.shift()),[{content:e.join(""),type:r},{content:n.join(""),type:r}])}function ae(t,e){if(t.some((({content:t})=>t.includes("\n"))))throw new Error("splitLineToFitWidth does not support newlines in the line");return se(t,e)}function se(t,e,n=[],r=[]){if(0===t.length)return r.length>0&&n.push(r),n.length>0?n:[];let i="";" "===t[0].content&&(i=" ",t.shift());const o=t.shift()??{content:" ",type:"normal"},a=[...r];if(""!==i&&a.push({content:i,type:"normal"}),a.push(o),e(a))return se(t,e,n,a);if(r.length>0)n.push(r),t.unshift(o);else if(o.content){const[r,i]=ie(e,o);n.push([r]),i.content&&t.unshift(i)}return se(t,e,n)}function ce(t,e,n){return t.append("tspan").attr("class","text-outer-tspan").attr("x",0).attr("y",e*n-.1+"em").attr("dy",n+"em")}function ue(t,e,n){const r=t.append("text"),i=ce(r,1,e);de(i,n);const o=i.node().getComputedTextLength();return r.remove(),o}function le(t,e,n){var r;const i=t.append("text"),o=ce(i,1,e);de(o,[{content:n,type:"normal"}]);const a=null==(r=o.node())?void 0:r.getBoundingClientRect();return a&&i.remove(),a}function de(t,e){t.text(""),e.forEach(((e,n)=>{const r=t.append("tspan").attr("font-style","emphasis"===e.type?"italic":"normal").attr("class","text-inner-tspan").attr("font-weight","strong"===e.type?"bold":"normal");0===n?r.text(e.content):r.text(" "+e.content)}))}const fe=(t,e="",{style:n="",isTitle:r=!1,classes:o="",useHtmlLabels:a=!0,isNode:s=!0,width:c=200,addSvgBackground:u=!1}={})=>{if(i.l.info("createText",e,n,r,o,a,s,u),a){const r=function(t){const{children:e}=Zt(t);return e.map((function t(e){return"text"===e.type?e.value.replace(/\n/g,"<br/>"):"strong"===e.type?`<strong>${e.children.map(t).join("")}</strong>`:"emphasis"===e.type?`<em>${e.children.map(t).join("")}</em>`:"paragraph"===e.type?`<p>${e.children.map(t).join("")}</p>`:`Unsupported markdown: ${e.type}`})).join("")}(e),a=function(t,e,n,r,i=!1){const o=t.append("foreignObject"),a=o.append("xhtml:div"),s=e.label,c=e.isNode?"nodeLabel":"edgeLabel";var u,l;a.html(`\n <span class="${c} ${r}" `+(e.labelStyle?'style="'+e.labelStyle+'"':"")+">"+s+"</span>"),u=a,(l=e.labelStyle)&&u.attr("style",l),a.style("display","table-cell"),a.style("white-space","nowrap"),a.style("max-width",n+"px"),a.attr("xmlns","http://www.w3.org/1999/xhtml"),i&&a.attr("class","labelBkg");let d=a.node().getBoundingClientRect();return d.width===n&&(a.style("display","table"),a.style("white-space","break-spaces"),a.style("width",n+"px"),d=a.node().getBoundingClientRect()),o.style("width",d.width),o.style("height",d.height),o.node()}(t,{isNode:s,label:(0,i.M)(r).replace(/fa[blrs]?:fa-[\w-]+/g,(t=>`<i class='${t.replace(":"," ")}'></i>`)),labelStyle:n.replace("fill:","color:")},c,o,u);return a}{const n=function(t,e,n,r=!1){const i=e.append("g"),o=i.insert("rect").attr("class","background"),a=i.append("text").attr("y","-10.1");let s=0;for(const c of n){const e=e=>ue(i,1.1,e)<=t,n=e(c)?[c]:ae(c,e);for(const t of n)de(ce(a,s,1.1),t),s++}if(r){const t=a.node().getBBox(),e=2;return o.attr("x",-e).attr("y",-e).attr("width",t.width+2*e).attr("height",t.height+2*e),i.node()}return a.node()}(c,t,re(e),u);return n}}},8055:(t,e,n)=>{n.d(e,{a:()=>s,b:()=>F,c:()=>c,d:()=>z,e:()=>E,f:()=>R,g:()=>C,h:()=>V,i:()=>g,j:()=>$,k:()=>j,l:()=>u,m:()=>B,p:()=>L,s:()=>S,u:()=>l});var r=n(9702),i=n(6312),o=n(7560);const a={extension:(t,e,n)=>{r.l.trace("Making markers for ",n),t.append("defs").append("marker").attr("id",n+"_"+e+"-extensionStart").attr("class","marker extension "+e).attr("refX",18).attr("refY",7).attr("markerWidth",190).attr("markerHeight",240).attr("orient","auto").append("path").attr("d","M 1,7 L18,13 V 1 Z"),t.append("defs").append("marker").attr("id",n+"_"+e+"-extensionEnd").attr("class","marker extension "+e).attr("refX",1).attr("refY",7).attr("markerWidth",20).attr("markerHeight",28).attr("orient","auto").append("path").attr("d","M 1,1 V 13 L18,7 Z")},composition:(t,e,n)=>{t.append("defs").append("marker").attr("id",n+"_"+e+"-compositionStart").attr("class","marker composition "+e).attr("refX",18).attr("refY",7).attr("markerWidth",190).attr("markerHeight",240).attr("orient","auto").append("path").attr("d","M 18,7 L9,13 L1,7 L9,1 Z"),t.append("defs").append("marker").attr("id",n+"_"+e+"-compositionEnd").attr("class","marker composition "+e).attr("refX",1).attr("refY",7).attr("markerWidth",20).attr("markerHeight",28).attr("orient","auto").append("path").attr("d","M 18,7 L9,13 L1,7 L9,1 Z")},aggregation:(t,e,n)=>{t.append("defs").append("marker").attr("id",n+"_"+e+"-aggregationStart").attr("class","marker aggregation "+e).attr("refX",18).attr("refY",7).attr("markerWidth",190).attr("markerHeight",240).attr("orient","auto").append("path").attr("d","M 18,7 L9,13 L1,7 L9,1 Z"),t.append("defs").append("marker").attr("id",n+"_"+e+"-aggregationEnd").attr("class","marker aggregation "+e).attr("refX",1).attr("refY",7).attr("markerWidth",20).attr("markerHeight",28).attr("orient","auto").append("path").attr("d","M 18,7 L9,13 L1,7 L9,1 Z")},dependency:(t,e,n)=>{t.append("defs").append("marker").attr("id",n+"_"+e+"-dependencyStart").attr("class","marker dependency "+e).attr("refX",6).attr("refY",7).attr("markerWidth",190).attr("markerHeight",240).attr("orient","auto").append("path").attr("d","M 5,7 L9,13 L1,7 L9,1 Z"),t.append("defs").append("marker").attr("id",n+"_"+e+"-dependencyEnd").attr("class","marker dependency "+e).attr("refX",13).attr("refY",7).attr("markerWidth",20).attr("markerHeight",28).attr("orient","auto").append("path").attr("d","M 18,7 L9,13 L14,7 L9,1 Z")},lollipop:(t,e,n)=>{t.append("defs").append("marker").attr("id",n+"_"+e+"-lollipopStart").attr("class","marker lollipop "+e).attr("refX",13).attr("refY",7).attr("markerWidth",190).attr("markerHeight",240).attr("orient","auto").append("circle").attr("stroke","black").attr("fill","transparent").attr("cx",7).attr("cy",7).attr("r",6),t.append("defs").append("marker").attr("id",n+"_"+e+"-lollipopEnd").attr("class","marker lollipop "+e).attr("refX",1).attr("refY",7).attr("markerWidth",190).attr("markerHeight",240).attr("orient","auto").append("circle").attr("stroke","black").attr("fill","transparent").attr("cx",7).attr("cy",7).attr("r",6)},point:(t,e,n)=>{t.append("marker").attr("id",n+"_"+e+"-pointEnd").attr("class","marker "+e).attr("viewBox","0 0 10 10").attr("refX",6).attr("refY",5).attr("markerUnits","userSpaceOnUse").attr("markerWidth",12).attr("markerHeight",12).attr("orient","auto").append("path").attr("d","M 0 0 L 10 5 L 0 10 z").attr("class","arrowMarkerPath").style("stroke-width",1).style("stroke-dasharray","1,0"),t.append("marker").attr("id",n+"_"+e+"-pointStart").attr("class","marker "+e).attr("viewBox","0 0 10 10").attr("refX",4.5).attr("refY",5).attr("markerUnits","userSpaceOnUse").attr("markerWidth",12).attr("markerHeight",12).attr("orient","auto").append("path").attr("d","M 0 5 L 10 10 L 10 0 z").attr("class","arrowMarkerPath").style("stroke-width",1).style("stroke-dasharray","1,0")},circle:(t,e,n)=>{t.append("marker").attr("id",n+"_"+e+"-circleEnd").attr("class","marker "+e).attr("viewBox","0 0 10 10").attr("refX",11).attr("refY",5).attr("markerUnits","userSpaceOnUse").attr("markerWidth",11).attr("markerHeight",11).attr("orient","auto").append("circle").attr("cx","5").attr("cy","5").attr("r","5").attr("class","arrowMarkerPath").style("stroke-width",1).style("stroke-dasharray","1,0"),t.append("marker").attr("id",n+"_"+e+"-circleStart").attr("class","marker "+e).attr("viewBox","0 0 10 10").attr("refX",-1).attr("refY",5).attr("markerUnits","userSpaceOnUse").attr("markerWidth",11).attr("markerHeight",11).attr("orient","auto").append("circle").attr("cx","5").attr("cy","5").attr("r","5").attr("class","arrowMarkerPath").style("stroke-width",1).style("stroke-dasharray","1,0")},cross:(t,e,n)=>{t.append("marker").attr("id",n+"_"+e+"-crossEnd").attr("class","marker cross "+e).attr("viewBox","0 0 11 11").attr("refX",12).attr("refY",5.2).attr("markerUnits","userSpaceOnUse").attr("markerWidth",11).attr("markerHeight",11).attr("orient","auto").append("path").attr("d","M 1,1 l 9,9 M 10,1 l -9,9").attr("class","arrowMarkerPath").style("stroke-width",2).style("stroke-dasharray","1,0"),t.append("marker").attr("id",n+"_"+e+"-crossStart").attr("class","marker cross "+e).attr("viewBox","0 0 11 11").attr("refX",-1).attr("refY",5.2).attr("markerUnits","userSpaceOnUse").attr("markerWidth",11).attr("markerHeight",11).attr("orient","auto").append("path").attr("d","M 1,1 l 9,9 M 10,1 l -9,9").attr("class","arrowMarkerPath").style("stroke-width",2).style("stroke-dasharray","1,0")},barb:(t,e,n)=>{t.append("defs").append("marker").attr("id",n+"_"+e+"-barbEnd").attr("refX",19).attr("refY",7).attr("markerWidth",20).attr("markerHeight",14).attr("markerUnits","strokeWidth").attr("orient","auto").append("path").attr("d","M 19,7 L9,13 L14,7 L9,1 Z")}},s=(t,e,n,r)=>{e.forEach((e=>{a[e](t,n,r)}))};const c=(t,e,n,o)=>{let a=t||"";if("object"==typeof a&&(a=a[0]),(0,r.m)((0,r.c)().flowchart.htmlLabels)){a=a.replace(/\\n|\n/g,"<br />"),r.l.debug("vertexText"+a);let t=function(t){const e=(0,i.Ltv)(document.createElementNS("http://www.w3.org/2000/svg","foreignObject")),n=e.append("xhtml:div"),r=t.label,o=t.isNode?"nodeLabel":"edgeLabel";var a,s;return n.html('<span class="'+o+'" '+(t.labelStyle?'style="'+t.labelStyle+'"':"")+">"+r+"</span>"),a=n,(s=t.labelStyle)&&a.attr("style",s),n.style("display","inline-block"),n.style("white-space","nowrap"),n.attr("xmlns","http://www.w3.org/1999/xhtml"),e.node()}({isNode:o,label:(0,r.M)(a).replace(/fa[blrs]?:fa-[\w-]+/g,(t=>`<i class='${t.replace(":"," ")}'></i>`)),labelStyle:e.replace("fill:","color:")});return t}{const t=document.createElementNS("http://www.w3.org/2000/svg","text");t.setAttribute("style",e.replace("color:","fill:"));let r=[];r="string"==typeof a?a.split(/\\n|\n|<br\s*\/?>/gi):Array.isArray(a)?a:[];for(const e of r){const r=document.createElementNS("http://www.w3.org/2000/svg","tspan");r.setAttributeNS("http://www.w3.org/XML/1998/namespace","xml:space","preserve"),r.setAttribute("dy","1em"),r.setAttribute("x","0"),n?r.setAttribute("class","title-row"):r.setAttribute("class","row"),r.textContent=e.trim(),t.appendChild(r)}return t}},u=async(t,e,n,a)=>{let s;const u=e.useHtmlLabels||(0,r.m)((0,r.c)().flowchart.htmlLabels);s=n||"node default";const l=t.insert("g").attr("class",s).attr("id",e.domId||e.id),d=l.insert("g").attr("class","label").attr("style",e.labelStyle);let f;f=void 0===e.labelText?"":"string"==typeof e.labelText?e.labelText:e.labelText[0];const h=d.node();let p;p="markdown"===e.labelType?(0,o.a)(d,(0,r.d)((0,r.M)(f),(0,r.c)()),{useHtmlLabels:u,width:e.width||(0,r.c)().flowchart.wrappingWidth,classes:"markdown-node-label"}):h.appendChild(c((0,r.d)((0,r.M)(f),(0,r.c)()),e.labelStyle,!1,a));let g=p.getBBox();const y=e.padding/2;if((0,r.m)((0,r.c)().flowchart.htmlLabels)){const t=p.children[0],e=(0,i.Ltv)(p),n=t.getElementsByTagName("img");if(n){const t=""===f.replace(/<img[^>]*>/g,"").trim();await Promise.all([...n].map((e=>new Promise((n=>{function i(){if(e.style.display="flex",e.style.flexDirection="column",t){const t=(0,r.c)().fontSize?(0,r.c)().fontSize:window.getComputedStyle(document.body).fontSize,n=5,i=parseInt(t,10)*n+"px";e.style.minWidth=i,e.style.maxWidth=i}else e.style.width="100%";n(e)}setTimeout((()=>{e.complete&&i()})),e.addEventListener("error",i),e.addEventListener("load",i)})))))}g=t.getBoundingClientRect(),e.attr("width",g.width),e.attr("height",g.height)}return u?d.attr("transform","translate("+-g.width/2+", "+-g.height/2+")"):d.attr("transform","translate(0, "+-g.height/2+")"),e.centerLabel&&d.attr("transform","translate("+-g.width/2+", "+-g.height/2+")"),d.insert("rect",":first-child"),{shapeSvg:l,bbox:g,halfPadding:y,label:d}},l=(t,e)=>{const n=e.node().getBBox();t.width=n.width,t.height=n.height};function d(t,e,n,r){return t.insert("polygon",":first-child").attr("points",r.map((function(t){return t.x+","+t.y})).join(" ")).attr("class","label-container").attr("transform","translate("+-e/2+","+n/2+")")}function f(t,e,n,r){var i=t.x,o=t.y,a=i-r.x,s=o-r.y,c=Math.sqrt(e*e*s*s+n*n*a*a),u=Math.abs(e*n*a/c);r.x<i&&(u=-u);var l=Math.abs(e*n*s/c);return r.y<o&&(l=-l),{x:i+u,y:o+l}}function h(t,e,n,r){var i,o,a,s,c,u,l,d,f,h,g,y,m;if(i=e.y-t.y,a=t.x-e.x,c=e.x*t.y-t.x*e.y,f=i*n.x+a*n.y+c,h=i*r.x+a*r.y+c,!(0!==f&&0!==h&&p(f,h)||(o=r.y-n.y,s=n.x-r.x,u=r.x*n.y-n.x*r.y,l=o*t.x+s*t.y+u,d=o*e.x+s*e.y+u,0!==l&&0!==d&&p(l,d)||0==(g=i*s-o*a))))return y=Math.abs(g/2),{x:(m=a*u-s*c)<0?(m-y)/g:(m+y)/g,y:(m=o*c-i*u)<0?(m-y)/g:(m+y)/g}}function p(t,e){return t*e>0}const g=(t,e)=>{var n,r,i=t.x,o=t.y,a=e.x-i,s=e.y-o,c=t.width/2,u=t.height/2;return Math.abs(s)*c>Math.abs(a)*u?(s<0&&(u=-u),n=0===s?0:u*a/s,r=u):(a<0&&(c=-c),n=c,r=0===a?0:c*s/a),{x:i+n,y:o+r}},y={node:function(t,e){return t.intersect(e)},circle:function(t,e,n){return f(t,e,e,n)},ellipse:f,polygon:function(t,e,n){var r=t.x,i=t.y,o=[],a=Number.POSITIVE_INFINITY,s=Number.POSITIVE_INFINITY;"function"==typeof e.forEach?e.forEach((function(t){a=Math.min(a,t.x),s=Math.min(s,t.y)})):(a=Math.min(a,e.x),s=Math.min(s,e.y));for(var c=r-t.width/2-a,u=i-t.height/2-s,l=0;l<e.length;l++){var d=e[l],f=e[l<e.length-1?l+1:0],p=h(t,n,{x:c+d.x,y:u+d.y},{x:c+f.x,y:u+f.y});p&&o.push(p)}return o.length?(o.length>1&&o.sort((function(t,e){var r=t.x-n.x,i=t.y-n.y,o=Math.sqrt(r*r+i*i),a=e.x-n.x,s=e.y-n.y,c=Math.sqrt(a*a+s*s);return o<c?-1:o===c?0:1})),o[0]):t},rect:g},m=(t,e,n)=>{const r=(t=>{const e=new Set;for(const n of t)switch(n){case"x":e.add("right"),e.add("left");break;case"y":e.add("up"),e.add("down");break;default:e.add(n)}return e})(t),i=e.height+2*n.padding,o=i/2,a=e.width+2*o+n.padding,s=n.padding/2;return r.has("right")&&r.has("left")&&r.has("up")&&r.has("down")?[{x:0,y:0},{x:o,y:0},{x:a/2,y:2*s},{x:a-o,y:0},{x:a,y:0},{x:a,y:-i/3},{x:a+2*s,y:-i/2},{x:a,y:-2*i/3},{x:a,y:-i},{x:a-o,y:-i},{x:a/2,y:-i-2*s},{x:o,y:-i},{x:0,y:-i},{x:0,y:-2*i/3},{x:-2*s,y:-i/2},{x:0,y:-i/3}]:r.has("right")&&r.has("left")&&r.has("up")?[{x:o,y:0},{x:a-o,y:0},{x:a,y:-i/2},{x:a-o,y:-i},{x:o,y:-i},{x:0,y:-i/2}]:r.has("right")&&r.has("left")&&r.has("down")?[{x:0,y:0},{x:o,y:-i},{x:a-o,y:-i},{x:a,y:0}]:r.has("right")&&r.has("up")&&r.has("down")?[{x:0,y:0},{x:a,y:-o},{x:a,y:-i+o},{x:0,y:-i}]:r.has("left")&&r.has("up")&&r.has("down")?[{x:a,y:0},{x:0,y:-o},{x:0,y:-i+o},{x:a,y:-i}]:r.has("right")&&r.has("left")?[{x:o,y:0},{x:o,y:-s},{x:a-o,y:-s},{x:a-o,y:0},{x:a,y:-i/2},{x:a-o,y:-i},{x:a-o,y:-i+s},{x:o,y:-i+s},{x:o,y:-i},{x:0,y:-i/2}]:r.has("up")&&r.has("down")?[{x:a/2,y:0},{x:0,y:-s},{x:o,y:-s},{x:o,y:-i+s},{x:0,y:-i+s},{x:a/2,y:-i},{x:a,y:-i+s},{x:a-o,y:-i+s},{x:a-o,y:-s},{x:a,y:-s}]:r.has("right")&&r.has("up")?[{x:0,y:0},{x:a,y:-o},{x:0,y:-i}]:r.has("right")&&r.has("down")?[{x:0,y:0},{x:a,y:0},{x:0,y:-i}]:r.has("left")&&r.has("up")?[{x:a,y:0},{x:0,y:-o},{x:a,y:-i}]:r.has("left")&&r.has("down")?[{x:a,y:0},{x:0,y:0},{x:a,y:-i}]:r.has("right")?[{x:o,y:-s},{x:o,y:-s},{x:a-o,y:-s},{x:a-o,y:0},{x:a,y:-i/2},{x:a-o,y:-i},{x:a-o,y:-i+s},{x:o,y:-i+s},{x:o,y:-i+s}]:r.has("left")?[{x:o,y:0},{x:o,y:-s},{x:a-o,y:-s},{x:a-o,y:-i+s},{x:o,y:-i+s},{x:o,y:-i},{x:0,y:-i/2}]:r.has("up")?[{x:o,y:-s},{x:o,y:-i+s},{x:0,y:-i+s},{x:a/2,y:-i},{x:a,y:-i+s},{x:a-o,y:-i+s},{x:a-o,y:-s}]:r.has("down")?[{x:a/2,y:0},{x:0,y:-s},{x:o,y:-s},{x:o,y:-i+s},{x:a-o,y:-i+s},{x:a-o,y:-s},{x:a,y:-s}]:[{x:0,y:0}]},v=t=>t?" "+t:"",x=(t,e)=>`${e||"node default"}${v(t.classes)} ${v(t.class)}`,b=async(t,e)=>{const{shapeSvg:n,bbox:i}=await u(t,e,x(e,void 0),!0),o=i.width+e.padding+(i.height+e.padding),a=[{x:o/2,y:0},{x:o,y:-o/2},{x:o/2,y:-o},{x:0,y:-o/2}];r.l.info("Question main (Circle)");const s=d(n,o,o,a);return s.attr("style",e.style),l(e,s),e.intersect=function(t){return r.l.warn("Intersect called"),y.polygon(e,a,t)},n};function A(t,e,n,i){const o=[],a=t=>{o.push(t,0)},s=t=>{o.push(0,t)};e.includes("t")?(r.l.debug("add top border"),a(n)):s(n),e.includes("r")?(r.l.debug("add right border"),a(i)):s(i),e.includes("b")?(r.l.debug("add bottom border"),a(n)):s(n),e.includes("l")?(r.l.debug("add left border"),a(i)):s(i),t.attr("stroke-dasharray",o.join(" "))}const w=(t,e,n)=>{const r=t.insert("g").attr("class","node default").attr("id",e.domId||e.id);let i=70,o=10;"LR"===n&&(i=10,o=70);const a=r.append("rect").attr("x",-1*i/2).attr("y",-1*o/2).attr("width",i).attr("height",o).attr("class","fork-join");return l(e,a),e.height=e.height+e.padding/2,e.width=e.width+e.padding/2,e.intersect=function(t){return y.rect(e,t)},r},k={rhombus:b,composite:async(t,e)=>{const{shapeSvg:n,bbox:i,halfPadding:o}=await u(t,e,"node "+e.classes,!0),a=n.insert("rect",":first-child"),s=e.positioned?e.width:i.width+e.padding,c=e.positioned?e.height:i.height+e.padding,d=e.positioned?-s/2:-i.width/2-o,f=e.positioned?-c/2:-i.height/2-o;if(a.attr("class","basic cluster composite label-container").attr("style",e.style).attr("rx",e.rx).attr("ry",e.ry).attr("x",d).attr("y",f).attr("width",s).attr("height",c),e.props){const t=new Set(Object.keys(e.props));e.props.borders&&(A(a,e.props.borders,s,c),t.delete("borders")),t.forEach((t=>{r.l.warn(`Unknown node property ${t}`)}))}return l(e,a),e.intersect=function(t){return y.rect(e,t)},n},question:b,rect:async(t,e)=>{const{shapeSvg:n,bbox:i,halfPadding:o}=await u(t,e,"node "+e.classes+" "+e.class,!0),a=n.insert("rect",":first-child"),s=e.positioned?e.width:i.width+e.padding,c=e.positioned?e.height:i.height+e.padding,d=e.positioned?-s/2:-i.width/2-o,f=e.positioned?-c/2:-i.height/2-o;if(a.attr("class","basic label-container").attr("style",e.style).attr("rx",e.rx).attr("ry",e.ry).attr("x",d).attr("y",f).attr("width",s).attr("height",c),e.props){const t=new Set(Object.keys(e.props));e.props.borders&&(A(a,e.props.borders,s,c),t.delete("borders")),t.forEach((t=>{r.l.warn(`Unknown node property ${t}`)}))}return l(e,a),e.intersect=function(t){return y.rect(e,t)},n},labelRect:async(t,e)=>{const{shapeSvg:n}=await u(t,e,"label",!0);r.l.trace("Classes = ",e.class);const i=n.insert("rect",":first-child");if(i.attr("width",0).attr("height",0),n.attr("class","label edgeLabel"),e.props){const t=new Set(Object.keys(e.props));e.props.borders&&(A(i,e.props.borders,0,0),t.delete("borders")),t.forEach((t=>{r.l.warn(`Unknown node property ${t}`)}))}return l(e,i),e.intersect=function(t){return y.rect(e,t)},n},rectWithTitle:(t,e)=>{let n;n=e.classes?"node "+e.classes:"node default";const o=t.insert("g").attr("class",n).attr("id",e.domId||e.id),a=o.insert("rect",":first-child"),s=o.insert("line"),u=o.insert("g").attr("class","label"),d=e.labelText.flat?e.labelText.flat():e.labelText;let f="";f="object"==typeof d?d[0]:d,r.l.info("Label text abc79",f,d,"object"==typeof d);const h=u.node().appendChild(c(f,e.labelStyle,!0,!0));let p={width:0,height:0};if((0,r.m)((0,r.c)().flowchart.htmlLabels)){const t=h.children[0],e=(0,i.Ltv)(h);p=t.getBoundingClientRect(),e.attr("width",p.width),e.attr("height",p.height)}r.l.info("Text 2",d);const g=d.slice(1,d.length);let m=h.getBBox();const v=u.node().appendChild(c(g.join?g.join("<br/>"):g,e.labelStyle,!0,!0));if((0,r.m)((0,r.c)().flowchart.htmlLabels)){const t=v.children[0],e=(0,i.Ltv)(v);p=t.getBoundingClientRect(),e.attr("width",p.width),e.attr("height",p.height)}const x=e.padding/2;return(0,i.Ltv)(v).attr("transform","translate( "+(p.width>m.width?0:(m.width-p.width)/2)+", "+(m.height+x+5)+")"),(0,i.Ltv)(h).attr("transform","translate( "+(p.width<m.width?0:-(m.width-p.width)/2)+", 0)"),p=u.node().getBBox(),u.attr("transform","translate("+-p.width/2+", "+(-p.height/2-x+3)+")"),a.attr("class","outer title-state").attr("x",-p.width/2-x).attr("y",-p.height/2-x).attr("width",p.width+e.padding).attr("height",p.height+e.padding),s.attr("class","divider").attr("x1",-p.width/2-x).attr("x2",p.width/2+x).attr("y1",-p.height/2-x+m.height+x).attr("y2",-p.height/2-x+m.height+x),l(e,a),e.intersect=function(t){return y.rect(e,t)},o},choice:(t,e)=>{const n=t.insert("g").attr("class","node default").attr("id",e.domId||e.id),r=[{x:0,y:14},{x:14,y:0},{x:0,y:-14},{x:-14,y:0}];return n.insert("polygon",":first-child").attr("points",r.map((function(t){return t.x+","+t.y})).join(" ")).attr("class","state-start").attr("r",7).attr("width",28).attr("height",28),e.width=28,e.height=28,e.intersect=function(t){return y.circle(e,14,t)},n},circle:async(t,e)=>{const{shapeSvg:n,bbox:i,halfPadding:o}=await u(t,e,x(e,void 0),!0),a=n.insert("circle",":first-child");return a.attr("style",e.style).attr("rx",e.rx).attr("ry",e.ry).attr("r",i.width/2+o).attr("width",i.width+e.padding).attr("height",i.height+e.padding),r.l.info("Circle main"),l(e,a),e.intersect=function(t){return r.l.info("Circle intersect",e,i.width/2+o,t),y.circle(e,i.width/2+o,t)},n},doublecircle:async(t,e)=>{const{shapeSvg:n,bbox:i,halfPadding:o}=await u(t,e,x(e,void 0),!0),a=n.insert("g",":first-child"),s=a.insert("circle"),c=a.insert("circle");return a.attr("class",e.class),s.attr("style",e.style).attr("rx",e.rx).attr("ry",e.ry).attr("r",i.width/2+o+5).attr("width",i.width+e.padding+10).attr("height",i.height+e.padding+10),c.attr("style",e.style).attr("rx",e.rx).attr("ry",e.ry).attr("r",i.width/2+o).attr("width",i.width+e.padding).attr("height",i.height+e.padding),r.l.info("DoubleCircle main"),l(e,s),e.intersect=function(t){return r.l.info("DoubleCircle intersect",e,i.width/2+o+5,t),y.circle(e,i.width/2+o+5,t)},n},stadium:async(t,e)=>{const{shapeSvg:n,bbox:r}=await u(t,e,x(e,void 0),!0),i=r.height+e.padding,o=r.width+i/4+e.padding,a=n.insert("rect",":first-child").attr("style",e.style).attr("rx",i/2).attr("ry",i/2).attr("x",-o/2).attr("y",-i/2).attr("width",o).attr("height",i);return l(e,a),e.intersect=function(t){return y.rect(e,t)},n},hexagon:async(t,e)=>{const{shapeSvg:n,bbox:r}=await u(t,e,x(e,void 0),!0),i=r.height+e.padding,o=i/4,a=r.width+2*o+e.padding,s=[{x:o,y:0},{x:a-o,y:0},{x:a,y:-i/2},{x:a-o,y:-i},{x:o,y:-i},{x:0,y:-i/2}],c=d(n,a,i,s);return c.attr("style",e.style),l(e,c),e.intersect=function(t){return y.polygon(e,s,t)},n},block_arrow:async(t,e)=>{const{shapeSvg:n,bbox:r}=await u(t,e,void 0,!0),i=r.height+2*e.padding,o=i/2,a=r.width+2*o+e.padding,s=m(e.directions,r,e),c=d(n,a,i,s);return c.attr("style",e.style),l(e,c),e.intersect=function(t){return y.polygon(e,s,t)},n},rect_left_inv_arrow:async(t,e)=>{const{shapeSvg:n,bbox:r}=await u(t,e,x(e,void 0),!0),i=r.width+e.padding,o=r.height+e.padding,a=[{x:-o/2,y:0},{x:i,y:0},{x:i,y:-o},{x:-o/2,y:-o},{x:0,y:-o/2}];return d(n,i,o,a).attr("style",e.style),e.width=i+o,e.height=o,e.intersect=function(t){return y.polygon(e,a,t)},n},lean_right:async(t,e)=>{const{shapeSvg:n,bbox:r}=await u(t,e,x(e),!0),i=r.width+e.padding,o=r.height+e.padding,a=[{x:-2*o/6,y:0},{x:i-o/6,y:0},{x:i+2*o/6,y:-o},{x:o/6,y:-o}],s=d(n,i,o,a);return s.attr("style",e.style),l(e,s),e.intersect=function(t){return y.polygon(e,a,t)},n},lean_left:async(t,e)=>{const{shapeSvg:n,bbox:r}=await u(t,e,x(e,void 0),!0),i=r.width+e.padding,o=r.height+e.padding,a=[{x:2*o/6,y:0},{x:i+o/6,y:0},{x:i-2*o/6,y:-o},{x:-o/6,y:-o}],s=d(n,i,o,a);return s.attr("style",e.style),l(e,s),e.intersect=function(t){return y.polygon(e,a,t)},n},trapezoid:async(t,e)=>{const{shapeSvg:n,bbox:r}=await u(t,e,x(e,void 0),!0),i=r.width+e.padding,o=r.height+e.padding,a=[{x:-2*o/6,y:0},{x:i+2*o/6,y:0},{x:i-o/6,y:-o},{x:o/6,y:-o}],s=d(n,i,o,a);return s.attr("style",e.style),l(e,s),e.intersect=function(t){return y.polygon(e,a,t)},n},inv_trapezoid:async(t,e)=>{const{shapeSvg:n,bbox:r}=await u(t,e,x(e,void 0),!0),i=r.width+e.padding,o=r.height+e.padding,a=[{x:o/6,y:0},{x:i-o/6,y:0},{x:i+2*o/6,y:-o},{x:-2*o/6,y:-o}],s=d(n,i,o,a);return s.attr("style",e.style),l(e,s),e.intersect=function(t){return y.polygon(e,a,t)},n},rect_right_inv_arrow:async(t,e)=>{const{shapeSvg:n,bbox:r}=await u(t,e,x(e,void 0),!0),i=r.width+e.padding,o=r.height+e.padding,a=[{x:0,y:0},{x:i+o/2,y:0},{x:i,y:-o/2},{x:i+o/2,y:-o},{x:0,y:-o}],s=d(n,i,o,a);return s.attr("style",e.style),l(e,s),e.intersect=function(t){return y.polygon(e,a,t)},n},cylinder:async(t,e)=>{const{shapeSvg:n,bbox:r}=await u(t,e,x(e,void 0),!0),i=r.width+e.padding,o=i/2,a=o/(2.5+i/50),s=r.height+a+e.padding,c="M 0,"+a+" a "+o+","+a+" 0,0,0 "+i+" 0 a "+o+","+a+" 0,0,0 "+-i+" 0 l 0,"+s+" a "+o+","+a+" 0,0,0 "+i+" 0 l 0,"+-s,d=n.attr("label-offset-y",a).insert("path",":first-child").attr("style",e.style).attr("d",c).attr("transform","translate("+-i/2+","+-(s/2+a)+")");return l(e,d),e.intersect=function(t){const n=y.rect(e,t),r=n.x-e.x;if(0!=o&&(Math.abs(r)<e.width/2||Math.abs(r)==e.width/2&&Math.abs(n.y-e.y)>e.height/2-a)){let i=a*a*(1-r*r/(o*o));0!=i&&(i=Math.sqrt(i)),i=a-i,t.y-e.y>0&&(i=-i),n.y+=i}return n},n},start:(t,e)=>{const n=t.insert("g").attr("class","node default").attr("id",e.domId||e.id),r=n.insert("circle",":first-child");return r.attr("class","state-start").attr("r",7).attr("width",14).attr("height",14),l(e,r),e.intersect=function(t){return y.circle(e,7,t)},n},end:(t,e)=>{const n=t.insert("g").attr("class","node default").attr("id",e.domId||e.id),r=n.insert("circle",":first-child"),i=n.insert("circle",":first-child");return i.attr("class","state-start").attr("r",7).attr("width",14).attr("height",14),r.attr("class","state-end").attr("r",5).attr("width",10).attr("height",10),l(e,i),e.intersect=function(t){return y.circle(e,7,t)},n},note:async(t,e)=>{e.useHtmlLabels||(0,r.c)().flowchart.htmlLabels||(e.centerLabel=!0);const{shapeSvg:n,bbox:i,halfPadding:o}=await u(t,e,"node "+e.classes,!0);r.l.info("Classes = ",e.classes);const a=n.insert("rect",":first-child");return a.attr("rx",e.rx).attr("ry",e.ry).attr("x",-i.width/2-o).attr("y",-i.height/2-o).attr("width",i.width+e.padding).attr("height",i.height+e.padding),l(e,a),e.intersect=function(t){return y.rect(e,t)},n},subroutine:async(t,e)=>{const{shapeSvg:n,bbox:r}=await u(t,e,x(e,void 0),!0),i=r.width+e.padding,o=r.height+e.padding,a=[{x:0,y:0},{x:i,y:0},{x:i,y:-o},{x:0,y:-o},{x:0,y:0},{x:-8,y:0},{x:i+8,y:0},{x:i+8,y:-o},{x:-8,y:-o},{x:-8,y:0}],s=d(n,i,o,a);return s.attr("style",e.style),l(e,s),e.intersect=function(t){return y.polygon(e,a,t)},n},fork:w,join:w,class_box:(t,e)=>{const n=e.padding/2;let o;o=e.classes?"node "+e.classes:"node default";const a=t.insert("g").attr("class",o).attr("id",e.domId||e.id),s=a.insert("rect",":first-child"),u=a.insert("line"),d=a.insert("line");let f=0,h=4;const p=a.insert("g").attr("class","label");let g=0;const m=e.classData.annotations&&e.classData.annotations[0],v=e.classData.annotations[0]?"\xab"+e.classData.annotations[0]+"\xbb":"",x=p.node().appendChild(c(v,e.labelStyle,!0,!0));let b=x.getBBox();if((0,r.m)((0,r.c)().flowchart.htmlLabels)){const t=x.children[0],e=(0,i.Ltv)(x);b=t.getBoundingClientRect(),e.attr("width",b.width),e.attr("height",b.height)}e.classData.annotations[0]&&(h+=b.height+4,f+=b.width);let A=e.classData.label;void 0!==e.classData.type&&""!==e.classData.type&&((0,r.c)().flowchart.htmlLabels?A+="<"+e.classData.type+">":A+="<"+e.classData.type+">");const w=p.node().appendChild(c(A,e.labelStyle,!0,!0));(0,i.Ltv)(w).attr("class","classTitle");let k=w.getBBox();if((0,r.m)((0,r.c)().flowchart.htmlLabels)){const t=w.children[0],e=(0,i.Ltv)(w);k=t.getBoundingClientRect(),e.attr("width",k.width),e.attr("height",k.height)}h+=k.height+4,k.width>f&&(f=k.width);const _=[];e.classData.members.forEach((t=>{const n=t.getDisplayDetails();let o=n.displayText;(0,r.c)().flowchart.htmlLabels&&(o=o.replace(/</g,"<").replace(/>/g,">"));const a=p.node().appendChild(c(o,n.cssStyle?n.cssStyle:e.labelStyle,!0,!0));let s=a.getBBox();if((0,r.m)((0,r.c)().flowchart.htmlLabels)){const t=a.children[0],e=(0,i.Ltv)(a);s=t.getBoundingClientRect(),e.attr("width",s.width),e.attr("height",s.height)}s.width>f&&(f=s.width),h+=s.height+4,_.push(a)})),h+=8;const E=[];if(e.classData.methods.forEach((t=>{const n=t.getDisplayDetails();let o=n.displayText;(0,r.c)().flowchart.htmlLabels&&(o=o.replace(/</g,"<").replace(/>/g,">"));const a=p.node().appendChild(c(o,n.cssStyle?n.cssStyle:e.labelStyle,!0,!0));let s=a.getBBox();if((0,r.m)((0,r.c)().flowchart.htmlLabels)){const t=a.children[0],e=(0,i.Ltv)(a);s=t.getBoundingClientRect(),e.attr("width",s.width),e.attr("height",s.height)}s.width>f&&(f=s.width),h+=s.height+4,E.push(a)})),h+=8,m){let t=(f-b.width)/2;(0,i.Ltv)(x).attr("transform","translate( "+(-1*f/2+t)+", "+-1*h/2+")"),g=b.height+4}let S=(f-k.width)/2;return(0,i.Ltv)(w).attr("transform","translate( "+(-1*f/2+S)+", "+(-1*h/2+g)+")"),g+=k.height+4,u.attr("class","divider").attr("x1",-f/2-n).attr("x2",f/2+n).attr("y1",-h/2-n+8+g).attr("y2",-h/2-n+8+g),g+=8,_.forEach((t=>{(0,i.Ltv)(t).attr("transform","translate( "+-f/2+", "+(-1*h/2+g+4)+")");const e=null==t?void 0:t.getBBox();g+=((null==e?void 0:e.height)??0)+4})),g+=8,d.attr("class","divider").attr("x1",-f/2-n).attr("x2",f/2+n).attr("y1",-h/2-n+8+g).attr("y2",-h/2-n+8+g),g+=8,E.forEach((t=>{(0,i.Ltv)(t).attr("transform","translate( "+-f/2+", "+(-1*h/2+g)+")");const e=null==t?void 0:t.getBBox();g+=((null==e?void 0:e.height)??0)+4})),s.attr("style",e.style).attr("class","outer title-state").attr("x",-f/2-n).attr("y",-h/2-n).attr("width",f+e.padding).attr("height",h+e.padding),l(e,s),e.intersect=function(t){return y.rect(e,t)},a}};let _={};const E=async(t,e,n)=>{let i,o;if(e.link){let a;"sandbox"===(0,r.c)().securityLevel?a="_top":e.linkTarget&&(a=e.linkTarget||"_blank"),i=t.insert("svg:a").attr("xlink:href",e.link).attr("target",a),o=await k[e.shape](i,e,n)}else o=await k[e.shape](t,e,n),i=o;return e.tooltip&&o.attr("title",e.tooltip),e.class&&o.attr("class","node default "+e.class),i.attr("data-node","true"),i.attr("data-id",e.id),_[e.id]=i,e.haveCallback&&_[e.id].attr("class",_[e.id].attr("class")+" clickable"),i},S=(t,e)=>{_[e.id]=t},F=()=>{_={}},L=t=>{const e=_[t.id];r.l.trace("Transforming node",t.diff,t,"translate("+(t.x-t.width/2-5)+", "+t.width/2+")");const n=t.diff||0;return t.clusterNode?e.attr("transform","translate("+(t.x+n-t.width/2)+", "+(t.y-t.height/2-8)+")"):e.attr("transform","translate("+t.x+", "+t.y+")"),n},C=({flowchart:t})=>{var e,n;const r=(null==(e=null==t?void 0:t.subGraphTitleMargin)?void 0:e.top)??0,i=(null==(n=null==t?void 0:t.subGraphTitleMargin)?void 0:n.bottom)??0;return{subGraphTitleTopMargin:r,subGraphTitleBottomMargin:i,subGraphTitleTotalMargin:r+i}},T={aggregation:18,extension:18,composition:18,dependency:6,lollipop:13.5,arrow_point:5.3};function I(t,e){if(void 0===t||void 0===e)return{angle:0,deltaX:0,deltaY:0};t=M(t),e=M(e);const[n,r]=[t.x,t.y],[i,o]=[e.x,e.y],a=i-n,s=o-r;return{angle:Math.atan(s/a),deltaX:a,deltaY:s}}const M=t=>Array.isArray(t)?{x:t[0],y:t[1]}:t,j=t=>({x:function(e,n,r){let i=0;if(0===n&&Object.hasOwn(T,t.arrowTypeStart)){const{angle:e,deltaX:n}=I(r[0],r[1]);i=T[t.arrowTypeStart]*Math.cos(e)*(n>=0?1:-1)}else if(n===r.length-1&&Object.hasOwn(T,t.arrowTypeEnd)){const{angle:e,deltaX:n}=I(r[r.length-1],r[r.length-2]);i=T[t.arrowTypeEnd]*Math.cos(e)*(n>=0?1:-1)}return M(e).x+i},y:function(e,n,r){let i=0;if(0===n&&Object.hasOwn(T,t.arrowTypeStart)){const{angle:e,deltaY:n}=I(r[0],r[1]);i=T[t.arrowTypeStart]*Math.abs(Math.sin(e))*(n>=0?1:-1)}else if(n===r.length-1&&Object.hasOwn(T,t.arrowTypeEnd)){const{angle:e,deltaY:n}=I(r[r.length-1],r[r.length-2]);i=T[t.arrowTypeEnd]*Math.abs(Math.sin(e))*(n>=0?1:-1)}return M(e).y+i}}),B=(t,e,n,r,i)=>{e.arrowTypeStart&&D(t,"start",e.arrowTypeStart,n,r,i),e.arrowTypeEnd&&D(t,"end",e.arrowTypeEnd,n,r,i)},O={arrow_cross:"cross",arrow_point:"point",arrow_barb:"barb",arrow_circle:"circle",aggregation:"aggregation",extension:"extension",composition:"composition",dependency:"dependency",lollipop:"lollipop"},D=(t,e,n,i,o,a)=>{const s=O[n];if(!s)return void r.l.warn(`Unknown arrow type: ${n}`);const c="start"===e?"Start":"End";t.attr(`marker-${e}`,`url(${i}#${o}_${a}-${s}${c})`)};let N={},P={};const z=()=>{N={},P={}},R=(t,e)=>{const n=(0,r.m)((0,r.c)().flowchart.htmlLabels),a="markdown"===e.labelType?(0,o.a)(t,e.label,{style:e.labelStyle,useHtmlLabels:n,addSvgBackground:!0}):c(e.label,e.labelStyle),s=t.insert("g").attr("class","edgeLabel"),u=s.insert("g").attr("class","label");u.node().appendChild(a);let l,d=a.getBBox();if(n){const t=a.children[0],e=(0,i.Ltv)(a);d=t.getBoundingClientRect(),e.attr("width",d.width),e.attr("height",d.height)}if(u.attr("transform","translate("+-d.width/2+", "+-d.height/2+")"),N[e.id]=s,e.width=d.width,e.height=d.height,e.startLabelLeft){const n=c(e.startLabelLeft,e.labelStyle),r=t.insert("g").attr("class","edgeTerminals"),i=r.insert("g").attr("class","inner");l=i.node().appendChild(n);const o=n.getBBox();i.attr("transform","translate("+-o.width/2+", "+-o.height/2+")"),P[e.id]||(P[e.id]={}),P[e.id].startLeft=r,H(l,e.startLabelLeft)}if(e.startLabelRight){const n=c(e.startLabelRight,e.labelStyle),r=t.insert("g").attr("class","edgeTerminals"),i=r.insert("g").attr("class","inner");l=r.node().appendChild(n),i.node().appendChild(n);const o=n.getBBox();i.attr("transform","translate("+-o.width/2+", "+-o.height/2+")"),P[e.id]||(P[e.id]={}),P[e.id].startRight=r,H(l,e.startLabelRight)}if(e.endLabelLeft){const n=c(e.endLabelLeft,e.labelStyle),r=t.insert("g").attr("class","edgeTerminals"),i=r.insert("g").attr("class","inner");l=i.node().appendChild(n);const o=n.getBBox();i.attr("transform","translate("+-o.width/2+", "+-o.height/2+")"),r.node().appendChild(n),P[e.id]||(P[e.id]={}),P[e.id].endLeft=r,H(l,e.endLabelLeft)}if(e.endLabelRight){const n=c(e.endLabelRight,e.labelStyle),r=t.insert("g").attr("class","edgeTerminals"),i=r.insert("g").attr("class","inner");l=i.node().appendChild(n);const o=n.getBBox();i.attr("transform","translate("+-o.width/2+", "+-o.height/2+")"),r.node().appendChild(n),P[e.id]||(P[e.id]={}),P[e.id].endRight=r,H(l,e.endLabelRight)}return a};function H(t,e){(0,r.c)().flowchart.htmlLabels&&t&&(t.style.width=9*e.length+"px",t.style.height="12px")}const $=(t,e)=>{r.l.debug("Moving label abc88 ",t.id,t.label,N[t.id],e);let n=e.updatedPath?e.updatedPath:e.originalPath;const i=(0,r.c)(),{subGraphTitleTotalMargin:o}=C(i);if(t.label){const i=N[t.id];let a=t.x,s=t.y;if(n){const i=r.u.calcLabelPosition(n);r.l.debug("Moving label "+t.label+" from (",a,",",s,") to (",i.x,",",i.y,") abc88"),e.updatedPath&&(a=i.x,s=i.y)}i.attr("transform",`translate(${a}, ${s+o/2})`)}if(t.startLabelLeft){const e=P[t.id].startLeft;let i=t.x,o=t.y;if(n){const e=r.u.calcTerminalLabelPosition(t.arrowTypeStart?10:0,"start_left",n);i=e.x,o=e.y}e.attr("transform",`translate(${i}, ${o})`)}if(t.startLabelRight){const e=P[t.id].startRight;let i=t.x,o=t.y;if(n){const e=r.u.calcTerminalLabelPosition(t.arrowTypeStart?10:0,"start_right",n);i=e.x,o=e.y}e.attr("transform",`translate(${i}, ${o})`)}if(t.endLabelLeft){const e=P[t.id].endLeft;let i=t.x,o=t.y;if(n){const e=r.u.calcTerminalLabelPosition(t.arrowTypeEnd?10:0,"end_left",n);i=e.x,o=e.y}e.attr("transform",`translate(${i}, ${o})`)}if(t.endLabelRight){const e=P[t.id].endRight;let i=t.x,o=t.y;if(n){const e=r.u.calcTerminalLabelPosition(t.arrowTypeEnd?10:0,"end_right",n);i=e.x,o=e.y}e.attr("transform",`translate(${i}, ${o})`)}},q=(t,e)=>{r.l.debug("abc88 cutPathAtIntersect",t,e);let n=[],i=t[0],o=!1;return t.forEach((t=>{if(((t,e)=>{const n=t.x,r=t.y,i=Math.abs(e.x-n),o=Math.abs(e.y-r),a=t.width/2,s=t.height/2;return i>=a||o>=s})(e,t)||o)i=t,o||n.push(t);else{const a=((t,e,n)=>{r.l.debug(`intersection calc abc89:\n outsidePoint: ${JSON.stringify(e)}\n insidePoint : ${JSON.stringify(n)}\n node : x:${t.x} y:${t.y} w:${t.width} h:${t.height}`);const i=t.x,o=t.y,a=Math.abs(i-n.x),s=t.width/2;let c=n.x<e.x?s-a:s+a;const u=t.height/2,l=Math.abs(e.y-n.y),d=Math.abs(e.x-n.x);if(Math.abs(o-e.y)*s>Math.abs(i-e.x)*u){let t=n.y<e.y?e.y-u-o:o-u-e.y;c=d*t/l;const i={x:n.x<e.x?n.x+c:n.x-d+c,y:n.y<e.y?n.y+l-t:n.y-l+t};return 0===c&&(i.x=e.x,i.y=e.y),0===d&&(i.x=e.x),0===l&&(i.y=e.y),r.l.debug(`abc89 topp/bott calc, Q ${l}, q ${t}, R ${d}, r ${c}`,i),i}{c=n.x<e.x?e.x-s-i:i-s-e.x;let t=l*c/d,o=n.x<e.x?n.x+d-c:n.x-d+c,a=n.y<e.y?n.y+t:n.y-t;return r.l.debug(`sides calc abc89, Q ${l}, q ${t}, R ${d}, r ${c}`,{_x:o,_y:a}),0===c&&(o=e.x,a=e.y),0===d&&(o=e.x),0===l&&(a=e.y),{x:o,y:a}}})(e,i,t);let s=!1;n.forEach((t=>{s=s||t.x===a.x&&t.y===a.y})),n.some((t=>t.x===a.x&&t.y===a.y))||n.push(a),o=!0}})),n},V=function(t,e,n,o,a,s,c){let u=n.points;r.l.debug("abc88 InsertEdge: edge=",n,"e=",e);let l=!1;const d=s.node(e.v);var f=s.node(e.w);(null==f?void 0:f.intersect)&&(null==d?void 0:d.intersect)&&(u=u.slice(1,n.points.length-1),u.unshift(d.intersect(u[0])),u.push(f.intersect(u[u.length-1]))),n.toCluster&&(r.l.debug("to cluster abc88",o[n.toCluster]),u=q(n.points,o[n.toCluster].node),l=!0),n.fromCluster&&(r.l.debug("from cluster abc88",o[n.fromCluster]),u=q(u.reverse(),o[n.fromCluster].node).reverse(),l=!0);const h=u.filter((t=>!Number.isNaN(t.y)));let p=i.qrM;!n.curve||"graph"!==a&&"flowchart"!==a||(p=n.curve);const{x:g,y:y}=j(n),m=(0,i.n8j)().x(g).y(y).curve(p);let v;switch(n.thickness){case"normal":v="edge-thickness-normal";break;case"thick":case"invisible":v="edge-thickness-thick";break;default:v=""}switch(n.pattern){case"solid":v+=" edge-pattern-solid";break;case"dotted":v+=" edge-pattern-dotted";break;case"dashed":v+=" edge-pattern-dashed"}const x=t.append("path").attr("d",m(h)).attr("id",n.id).attr("class"," "+v+(n.classes?" "+n.classes:"")).attr("style",n.style);let b="";((0,r.c)().flowchart.arrowMarkerAbsolute||(0,r.c)().state.arrowMarkerAbsolute)&&(b=window.location.protocol+"//"+window.location.host+window.location.pathname+window.location.search,b=b.replace(/\(/g,"\\("),b=b.replace(/\)/g,"\\)")),B(x,n,b,c,a);let A={};return l&&(A.updatedPath=u),A.originalPath=n.points,A}}}]); \ No newline at end of file diff --git a/assets/js/de557132.74eed5b0.js b/assets/js/de557132.74eed5b0.js deleted file mode 100644 index 1b660a1f..00000000 --- a/assets/js/de557132.74eed5b0.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[9799],{1034:(e,n,c)=>{c.r(n),c.d(n,{assets:()=>l,contentTitle:()=>r,default:()=>u,frontMatter:()=>s,metadata:()=>t,toc:()=>o});var a=c(4848),i=c(8453);const s={id:"check-account-balance",title:"Check Account Balance",slug:"/docs/check-account-balance"},r=void 0,t={id:"demo/check-account-balance",title:"Check Account Balance",description:"The functionality is essential for users (e.g., account holders, financial managers) to view the balance of a specific account in a particular journal and currency. This allows for real-time financial monitoring and decision-making based on up-to-date account information.",source:"@site/docs/demo/check-account-balance.mdx",sourceDirName:"demo",slug:"/docs/check-account-balance",permalink:"/docs/check-account-balance",draft:!1,unlisted:!1,tags:[],version:"current",frontMatter:{id:"check-account-balance",title:"Check Account Balance",slug:"/docs/check-account-balance"},sidebar:"demoSidebar",previous:{title:"Post a Transaction",permalink:"/docs/transaction-post"}},l={},o=[{value:"Process",id:"process",level:2},{value:"Variables",id:"variables",level:3},{value:"GraphQL Request Body",id:"graphql-request-body",level:3},{value:"Response",id:"response",level:2},{value:"Significance",id:"significance",level:2}];function d(e){const n={code:"code",h2:"h2",h3:"h3",li:"li",p:"p",pre:"pre",strong:"strong",ul:"ul",...(0,i.R)(),...e.components};return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(n.p,{children:"The functionality is essential for users (e.g., account holders, financial managers) to view the balance of a specific account in a particular journal and currency. This allows for real-time financial monitoring and decision-making based on up-to-date account information."}),"\n",(0,a.jsx)(n.h2,{id:"process",children:"Process"}),"\n",(0,a.jsx)(n.h3,{id:"variables",children:"Variables"}),"\n",(0,a.jsxs)(n.ul,{children:["\n",(0,a.jsxs)(n.li,{children:[(0,a.jsx)(n.strong,{children:"Account ID"}),": The ",(0,a.jsx)(n.code,{children:"accountId"})," uniquely identifies the account whose balance is being queried. This ensures that the query is precise and retrieves information for the correct account."]}),"\n",(0,a.jsxs)(n.li,{children:[(0,a.jsx)(n.strong,{children:"Journal ID"}),": The ",(0,a.jsx)(n.code,{children:"journalId"})," specifies which journal to check for the account's balance. This is important because an account may have different balances in different journals due to various types of transactions."]}),"\n",(0,a.jsxs)(n.li,{children:[(0,a.jsx)(n.strong,{children:"Currency"}),": The ",(0,a.jsx)(n.code,{children:"currency"})," parameter ensures that the balance is provided in the desired currency, in this case, USD. This is crucial for accuracy and relevance, especially in multi-currency environments."]}),"\n"]}),"\n",(0,a.jsx)(n.pre,{children:(0,a.jsx)(n.code,{children:'{\n "accountId": "3a7d421b-7f5a-43ca-ba6f-5f3e6ee67237",\n "journalId": "bcc24f47-990c-457d-88cb-76332450ac77",\n "currency": "USD"\n}\n'})}),"\n",(0,a.jsx)(n.h3,{id:"graphql-request-body",children:"GraphQL Request Body"}),"\n",(0,a.jsxs)(n.p,{children:["The ",(0,a.jsx)(n.code,{children:"accountWithBalance"})," query is executed with the provided inputs. The query fetches the account's name and its settled balance in the specified journal and currency."]}),"\n",(0,a.jsx)(n.pre,{children:(0,a.jsx)(n.code,{className:"language-graphql",children:"query accountWithBalance(\n $accountId: UUID!\n $journalId: UUID!\n $currency: CurrencyCode!\n) {\n account(id: $accountId) {\n name\n balance(journalId: $journalId, currency: $currency) {\n settled {\n normalBalance {\n units\n }\n }\n }\n }\n}\n"})}),"\n",(0,a.jsx)(n.p,{children:"The system retrieves the settled balance from the specified journal for the given account."}),"\n",(0,a.jsx)(n.h2,{id:"response",children:"Response"}),"\n",(0,a.jsx)(n.p,{children:"The response includes the account's name and its settled balance in the specified currency and journal. This information is returned in a structured JSON format, which includes:"}),"\n",(0,a.jsxs)(n.ul,{children:["\n",(0,a.jsxs)(n.li,{children:[(0,a.jsx)(n.strong,{children:"Account Name"}),': "Alice - Checking", confirming that the balance belongs to the correct account.']}),"\n",(0,a.jsxs)(n.li,{children:[(0,a.jsx)(n.strong,{children:"Settled Balance"}),": The ",(0,a.jsx)(n.code,{children:"normalBalance"})," ",(0,a.jsx)(n.code,{children:"units"}),' show the account\'s balance as "9.53" USD, indicating the available settled funds in the account.']}),"\n"]}),"\n",(0,a.jsx)(n.pre,{children:(0,a.jsx)(n.code,{className:"language-json",children:'{\n "data": {\n "account": {\n "name": "Alice - Checking",\n "balance": {\n "settled": {\n "normalBalance": {\n "units": "9.53"\n }\n }\n }\n }\n }\n}\n'})}),"\n",(0,a.jsx)(n.h2,{id:"significance",children:"Significance"}),"\n",(0,a.jsx)(n.p,{children:"Checking account balances is a fundamental operation in financial management. It allows users to:"}),"\n",(0,a.jsxs)(n.ul,{children:["\n",(0,a.jsxs)(n.li,{children:[(0,a.jsx)(n.strong,{children:"Monitor Financial Status"}),": Users can keep track of their available funds, ensuring they are aware of their financial position."]}),"\n",(0,a.jsxs)(n.li,{children:[(0,a.jsx)(n.strong,{children:"Make Informed Decisions"}),": Accurate and up-to-date balance information is essential for making financial decisions, such as initiating transactions, budgeting, or investing."]}),"\n",(0,a.jsxs)(n.li,{children:[(0,a.jsx)(n.strong,{children:"Ensure Compliance and Accuracy"}),": Regularly checking balances helps in identifying any discrepancies or issues early, maintaining the integrity of financial records."]}),"\n"]})]})}function u(e={}){const{wrapper:n}={...(0,i.R)(),...e.components};return n?(0,a.jsx)(n,{...e,children:(0,a.jsx)(d,{...e})}):d(e)}}}]); \ No newline at end of file diff --git a/assets/js/de557132.bf930119.js b/assets/js/de557132.bf930119.js new file mode 100644 index 00000000..e7f57293 --- /dev/null +++ b/assets/js/de557132.bf930119.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[9799],{1034:(e,n,c)=>{c.r(n),c.d(n,{assets:()=>o,contentTitle:()=>t,default:()=>u,frontMatter:()=>s,metadata:()=>r,toc:()=>l});var a=c(4848),i=c(8453);const s={id:"check-account-balance",title:"Check the Balance of an Account",slug:"/docs/check-account-balance"},t=void 0,r={id:"demo/check-account-balance",title:"Check the Balance of an Account",description:"The functionality is essential for users (e.g., account holders, financial managers) to view the balance of a specific account in a particular journal and currency. This allows for real-time financial monitoring and decision-making based on up-to-date account information.",source:"@site/docs/demo/check-account-balance.mdx",sourceDirName:"demo",slug:"/docs/check-account-balance",permalink:"/docs/check-account-balance",draft:!1,unlisted:!1,tags:[],version:"current",frontMatter:{id:"check-account-balance",title:"Check the Balance of an Account",slug:"/docs/check-account-balance"},sidebar:"demoSidebar",previous:{title:"Post a Transaction",permalink:"/docs/transaction-post"},next:{title:"Use an Account Set",permalink:"/docs/account-set"}},o={},l=[{value:"Process",id:"process",level:2},{value:"Variables",id:"variables",level:3},{value:"GraphQL Request Body",id:"graphql-request-body",level:3},{value:"Response",id:"response",level:2},{value:"Significance",id:"significance",level:2}];function d(e){const n={code:"code",h2:"h2",h3:"h3",li:"li",p:"p",pre:"pre",strong:"strong",ul:"ul",...(0,i.R)(),...e.components};return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(n.p,{children:"The functionality is essential for users (e.g., account holders, financial managers) to view the balance of a specific account in a particular journal and currency. This allows for real-time financial monitoring and decision-making based on up-to-date account information."}),"\n",(0,a.jsx)(n.h2,{id:"process",children:"Process"}),"\n",(0,a.jsx)(n.h3,{id:"variables",children:"Variables"}),"\n",(0,a.jsxs)(n.ul,{children:["\n",(0,a.jsxs)(n.li,{children:[(0,a.jsx)(n.strong,{children:"Account ID"}),": The ",(0,a.jsx)(n.code,{children:"accountId"})," uniquely identifies the account whose balance is being queried. This ensures that the query is precise and retrieves information for the correct account."]}),"\n",(0,a.jsxs)(n.li,{children:[(0,a.jsx)(n.strong,{children:"Journal ID"}),": The ",(0,a.jsx)(n.code,{children:"journalId"})," specifies which journal to check for the account's balance. This is important because an account may have different balances in different journals due to various types of transactions."]}),"\n",(0,a.jsxs)(n.li,{children:[(0,a.jsx)(n.strong,{children:"Currency"}),": The ",(0,a.jsx)(n.code,{children:"currency"})," parameter ensures that the balance is provided in the desired currency, in this case, USD. This is crucial for accuracy and relevance, especially in multi-currency environments."]}),"\n"]}),"\n",(0,a.jsx)(n.pre,{children:(0,a.jsx)(n.code,{children:'{\n "accountId": "3a7d421b-7f5a-43ca-ba6f-5f3e6ee67237",\n "journalId": "bcc24f47-990c-457d-88cb-76332450ac77",\n "currency": "USD"\n}\n'})}),"\n",(0,a.jsx)(n.h3,{id:"graphql-request-body",children:"GraphQL Request Body"}),"\n",(0,a.jsxs)(n.p,{children:["The ",(0,a.jsx)(n.code,{children:"accountWithBalance"})," query is executed with the provided inputs. The query fetches the account's name and its settled balance in the specified journal and currency."]}),"\n",(0,a.jsx)(n.pre,{children:(0,a.jsx)(n.code,{className:"language-graphql",children:"query accountWithBalance(\n $accountId: UUID!\n $journalId: UUID!\n $currency: CurrencyCode!\n) {\n account(id: $accountId) {\n name\n balance(journalId: $journalId, currency: $currency) {\n settled {\n normalBalance {\n units\n }\n }\n }\n }\n}\n"})}),"\n",(0,a.jsx)(n.p,{children:"The system retrieves the settled balance from the specified journal for the given account."}),"\n",(0,a.jsx)(n.h2,{id:"response",children:"Response"}),"\n",(0,a.jsx)(n.p,{children:"The response includes the account's name and its settled balance in the specified currency and journal. This information is returned in a structured JSON format, which includes:"}),"\n",(0,a.jsxs)(n.ul,{children:["\n",(0,a.jsxs)(n.li,{children:[(0,a.jsx)(n.strong,{children:"Account Name"}),': "Alice - Checking", confirming that the balance belongs to the correct account.']}),"\n",(0,a.jsxs)(n.li,{children:[(0,a.jsx)(n.strong,{children:"Settled Balance"}),": The ",(0,a.jsx)(n.code,{children:"normalBalance"})," ",(0,a.jsx)(n.code,{children:"units"}),' show the account\'s balance as "9.53" USD, indicating the available settled funds in the account.']}),"\n"]}),"\n",(0,a.jsx)(n.pre,{children:(0,a.jsx)(n.code,{className:"language-json",children:'{\n "data": {\n "account": {\n "name": "Alice - Checking",\n "balance": {\n "settled": {\n "normalBalance": {\n "units": "9.53"\n }\n }\n }\n }\n }\n}\n'})}),"\n",(0,a.jsx)(n.h2,{id:"significance",children:"Significance"}),"\n",(0,a.jsx)(n.p,{children:"Checking account balances is a fundamental operation in financial management. It allows users to:"}),"\n",(0,a.jsxs)(n.ul,{children:["\n",(0,a.jsxs)(n.li,{children:[(0,a.jsx)(n.strong,{children:"Monitor Financial Status"}),": Users can keep track of their available funds, ensuring they are aware of their financial position."]}),"\n",(0,a.jsxs)(n.li,{children:[(0,a.jsx)(n.strong,{children:"Make Informed Decisions"}),": Accurate and up-to-date balance information is essential for making financial decisions, such as initiating transactions, budgeting, or investing."]}),"\n",(0,a.jsxs)(n.li,{children:[(0,a.jsx)(n.strong,{children:"Ensure Compliance and Accuracy"}),": Regularly checking balances helps in identifying any discrepancies or issues early, maintaining the integrity of financial records."]}),"\n"]})]})}function u(e={}){const{wrapper:n}={...(0,i.R)(),...e.components};return n?(0,a.jsx)(n,{...e,children:(0,a.jsx)(d,{...e})}):d(e)}}}]); \ No newline at end of file diff --git a/assets/js/f4d26413.22ed5226.js b/assets/js/f4d26413.e382921e.js similarity index 51% rename from assets/js/f4d26413.22ed5226.js rename to assets/js/f4d26413.e382921e.js index 12277507..9b24c00c 100644 --- a/assets/js/f4d26413.22ed5226.js +++ b/assets/js/f4d26413.e382921e.js @@ -1 +1 @@ -"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[6413],{9143:(e,n,t)=>{t.r(n),t.d(n,{assets:()=>o,contentTitle:()=>r,default:()=>p,frontMatter:()=>s,metadata:()=>c,toc:()=>d});var a=t(4848),i=t(8453);const s={id:"tx-template-create",title:"Create Transaction Templates",slug:"/docs/tx-template-create"},r=void 0,c={id:"demo/tx-template-create",title:"Create Transaction Templates",description:"This functionality allows a user (an administrator or financial manager) to define templates for recurring transaction types - specifically deposits and withdrawals. By defining these templates, the user ensures consistency, accuracy, and efficiency in transaction processing.",source:"@site/docs/demo/tx-template-create.mdx",sourceDirName:"demo",slug:"/docs/tx-template-create",permalink:"/docs/tx-template-create",draft:!1,unlisted:!1,tags:[],version:"current",frontMatter:{id:"tx-template-create",title:"Create Transaction Templates",slug:"/docs/tx-template-create"},sidebar:"demoSidebar",previous:{title:"Create a Journal and Accounts",permalink:"/docs/create-journal-and-accounts"},next:{title:"Post a Transaction",permalink:"/docs/transaction-post"}},o={},d=[{value:"Process",id:"process",level:2},{value:"Creation of Deposit Transaction Template",id:"creation-of-deposit-transaction-template",level:3},{value:"Creation of Withdrawal Transaction Template",id:"creation-of-withdrawal-transaction-template",level:3},{value:"GraphQL Request Body",id:"graphql-request-body",level:3},{value:"Variables",id:"variables",level:3},{value:"Response",id:"response",level:2},{value:"Significance",id:"significance",level:2}];function l(e){const n={code:"code",h2:"h2",h3:"h3",li:"li",p:"p",pre:"pre",strong:"strong",ul:"ul",...(0,i.R)(),...e.components};return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(n.p,{children:"This functionality allows a user (an administrator or financial manager) to define templates for recurring transaction types - specifically deposits and withdrawals. By defining these templates, the user ensures consistency, accuracy, and efficiency in transaction processing."}),"\n",(0,a.jsx)(n.h2,{id:"process",children:"Process"}),"\n",(0,a.jsx)(n.h3,{id:"creation-of-deposit-transaction-template",children:"Creation of Deposit Transaction Template"}),"\n",(0,a.jsxs)(n.ul,{children:["\n",(0,a.jsxs)(n.li,{children:["\n",(0,a.jsxs)(n.p,{children:[(0,a.jsx)(n.strong,{children:"Identification and Description"}),": The template is uniquely identified by a ",(0,a.jsx)(n.code,{children:"txTemplateId"})," and a descriptive code. The description explains that this template is for an ACH credit into a customer's account."]}),"\n"]}),"\n",(0,a.jsxs)(n.li,{children:["\n",(0,a.jsxs)(n.p,{children:[(0,a.jsx)(n.strong,{children:"Parameters"}),": Parameters like the account ID (",(0,a.jsx)(n.code,{children:"account"}),"), transaction amount (",(0,a.jsx)(n.code,{children:"amount"}),"), and effective date (",(0,a.jsx)(n.code,{children:"effective"}),") are defined, which are necessary inputs for executing a deposit transaction."]}),"\n"]}),"\n",(0,a.jsxs)(n.li,{children:["\n",(0,a.jsxs)(n.p,{children:[(0,a.jsx)(n.strong,{children:"Transaction and Entries Definition"}),":\nThe transaction input specifies which journal to log this transaction under and when it becomes effective. Entries detail the movement of funds, specifying which account to debit and which to credit, in what amount, and under what transaction conditions, e.g., ",(0,a.jsx)(n.code,{children:"currency"})," and transaction type (",(0,a.jsx)(n.code,{children:"entryType"}),")."]}),"\n"]}),"\n"]}),"\n",(0,a.jsx)(n.h3,{id:"creation-of-withdrawal-transaction-template",children:"Creation of Withdrawal Transaction Template"}),"\n",(0,a.jsxs)(n.ul,{children:["\n",(0,a.jsxs)(n.li,{children:["\n",(0,a.jsxs)(n.p,{children:[(0,a.jsx)(n.strong,{children:"Identification and Description"}),": Similarly, this template has its unique identifier and code, and is described for use in ACH debits from a customer's account."]}),"\n"]}),"\n",(0,a.jsxs)(n.li,{children:["\n",(0,a.jsxs)(n.p,{children:[(0,a.jsx)(n.strong,{children:"Parameters"}),": It uses the same types of parameters as the deposit template, allowing for consistency across templates."]}),"\n"]}),"\n",(0,a.jsxs)(n.li,{children:["\n",(0,a.jsxs)(n.p,{children:[(0,a.jsx)(n.strong,{children:"Transaction and Entries Definition"}),": This template defines how funds will be withdrawn, including debiting the customer's account and crediting an asset account, with specifics on the transaction type and conditions."]}),"\n"]}),"\n"]}),"\n",(0,a.jsx)(n.h3,{id:"graphql-request-body",children:"GraphQL Request Body"}),"\n",(0,a.jsx)(n.pre,{children:(0,a.jsx)(n.code,{className:"language-graphql",children:'mutation CreateDepositAndWithdrawalTxTemplates(\n $depositTemplateId: UUID!\n $depositTemplateCode: String!\n $withdrawalTemplateId: UUID!\n $withdrawalTemplateCode: String!\n $journalId: Expression!\n $assetAccountId: Expression!\n) {\n depositTemplate: txTemplateCreate(\n input: {\n txTemplateId: $depositTemplateId\n code: $depositTemplateCode\n description: "An ACH credit into a customer account."\n params: [\n { name: "account", type: UUID, description: "Deposit account ID." }\n {\n name: "amount"\n type: DECIMAL\n description: "Amount with decimal, e.g. `1.23`."\n }\n {\n name: "effective"\n type: DATE\n description: "Effective date for transaction."\n }\n ]\n txInput: { journalId: $journalId, effective: "params.effective" }\n entries: [\n {\n accountId: $assetAccountId\n units: "params.amount"\n currency: "\'USD\'"\n entryType: "\'ACH_DR\'"\n direction: "DEBIT"\n layer: "SETTLED"\n }\n {\n accountId: "params.account"\n units: "params.amount"\n currency: "\'USD\'"\n entryType: "\'ACH_CR\'"\n direction: "CREDIT"\n layer: "SETTLED"\n }\n ]\n }\n ) {\n txTemplate {\n txTemplateId\n }\n }\n\n withdrawalTemplate: txTemplateCreate(\n input: {\n txTemplateId: $withdrawalTemplateId\n code: $withdrawalTemplateCode\n description: "An ACH debit into a customer account."\n params: [\n { name: "account", type: UUID, description: "Withdraw account ID." }\n {\n name: "amount"\n type: DECIMAL\n description: "Amount with decimal, e.g. `1.23`."\n }\n {\n name: "effective"\n type: DATE\n description: "Effective date for transaction."\n }\n ]\n txInput: { journalId: $journalId, effective: "params.effective" }\n entries: [\n {\n accountId: $assetAccountId\n units: "params.amount"\n currency: "\'USD\'"\n entryType: "\'ACH_CR\'"\n direction: "CREDIT"\n layer: "SETTLED"\n }\n {\n accountId: "params.account"\n units: "params.amount"\n currency: "\'USD\'"\n entryType: "\'ACH_DR\'"\n direction: "DEBIT"\n layer: "SETTLED"\n }\n ]\n }\n ) {\n txTemplate {\n txTemplateId\n }\n }\n}\n'})}),"\n",(0,a.jsx)(n.h3,{id:"variables",children:"Variables"}),"\n",(0,a.jsxs)(n.ul,{children:["\n",(0,a.jsxs)(n.li,{children:[(0,a.jsx)(n.strong,{children:"depositTemplateId"}),": A unique identifier for the deposit transaction template. This ensures that the template is uniquely recognized within the system."]}),"\n",(0,a.jsxs)(n.li,{children:[(0,a.jsx)(n.strong,{children:"depositTemplateCode"}),": A code that describes the deposit transaction template. This provides an easy reference for users."]}),"\n",(0,a.jsxs)(n.li,{children:[(0,a.jsx)(n.strong,{children:"withdrawalTemplateId"}),": A unique identifier for the withdrawal transaction template. This ensures that the template is uniquely recognized within the system."]}),"\n",(0,a.jsxs)(n.li,{children:[(0,a.jsx)(n.strong,{children:"withdrawalTemplateCode"}),": A code that describes the withdrawal transaction template. This provides an easy reference for users."]}),"\n",(0,a.jsxs)(n.li,{children:[(0,a.jsx)(n.strong,{children:"journalId"}),": The identifier for the journal where the transactions will be logged. This links the transaction to the correct financial journal."]}),"\n",(0,a.jsxs)(n.li,{children:[(0,a.jsx)(n.strong,{children:"assetAccountId"}),": The identifier for the asset account involved in the transactions. This specifies which account will be debited or credited during the transaction."]}),"\n"]}),"\n",(0,a.jsx)(n.pre,{children:(0,a.jsx)(n.code,{className:"language-json",children:'{\n "depositTemplateId": "ea1c7224-ca09-409f-b581-3551beead58c",\n "depositTemplateCode": "DEPOSIT-ea1c7224-ca09-409f-b581-3551beead58c",\n "withdrawalTemplateId": "241ef9dd-8c6c-4fb8-b9fb-931083f2b728",\n "withdrawalTemplateCode": "withdrawal-241ef9dd-8c6c-4fb8-b9fb-931083f2b728",\n "assetAccountId": "uuid(\'2e40175d-35c2-4b6f-9c01-cc2309934d25\')",\n "journalId": "uuid(\'bcc24f47-990c-457d-88cb-76332450ac77\')"\n}\n'})}),"\n",(0,a.jsx)(n.h2,{id:"response",children:"Response"}),"\n",(0,a.jsx)(n.p,{children:"Upon successful submission of the GraphQL mutations, the system creates these templates and returns their IDs in the response. This confirms that the templates are ready for use in future transactions."}),"\n",(0,a.jsx)(n.pre,{children:(0,a.jsx)(n.code,{className:"language-json",children:'{\n "data": {\n "depositTemplate": {\n "txTemplate": {\n "txTemplateId": "ea1c7224-ca09-409f-b581-3551beead58c"\n }\n },\n "withdrawalTemplate": {\n "txTemplate": {\n "txTemplateId": "241ef9dd-8c6c-4fb8-b9fb-931083f2b728"\n }\n }\n }\n}\n'})}),"\n",(0,a.jsx)(n.h2,{id:"significance",children:"Significance"}),"\n",(0,a.jsx)(n.p,{children:"Creating transaction templates standardizes the execution of frequent transaction types, reducing errors and the time needed for transaction entry. This systematization is crucial for large organizations or financial institutions where transactions occur regularly and need to adhere to strict regulatory and internal standards. The use of GraphQL allows for clear, customizable, and direct communication with the database, facilitating dynamic interaction with the financial data."})]})}function p(e={}){const{wrapper:n}={...(0,i.R)(),...e.components};return n?(0,a.jsx)(n,{...e,children:(0,a.jsx)(l,{...e})}):l(e)}}}]); \ No newline at end of file +"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[6413],{9143:(e,n,t)=>{t.r(n),t.d(n,{assets:()=>o,contentTitle:()=>r,default:()=>p,frontMatter:()=>s,metadata:()=>c,toc:()=>d});var a=t(4848),i=t(8453);const s={id:"tx-template-create",title:"Create Transaction Templates",slug:"/docs/tx-template-create"},r=void 0,c={id:"demo/tx-template-create",title:"Create Transaction Templates",description:"This functionality allows a user (an administrator or financial manager) to define templates for recurring transaction types - specifically deposits and withdrawals. By defining these templates, the user ensures consistency, accuracy, and efficiency in transaction processing.",source:"@site/docs/demo/tx-template-create.mdx",sourceDirName:"demo",slug:"/docs/tx-template-create",permalink:"/docs/tx-template-create",draft:!1,unlisted:!1,tags:[],version:"current",frontMatter:{id:"tx-template-create",title:"Create Transaction Templates",slug:"/docs/tx-template-create"},sidebar:"demoSidebar",previous:{title:"Create a Journal and Accounts",permalink:"/docs/create-journal-and-accounts"},next:{title:"Post a Transaction",permalink:"/docs/transaction-post"}},o={},d=[{value:"Process",id:"process",level:2},{value:"Creation of Deposit Transaction Template",id:"creation-of-deposit-transaction-template",level:3},{value:"Creation of Withdrawal Transaction Template",id:"creation-of-withdrawal-transaction-template",level:3},{value:"GraphQL Request Body",id:"graphql-request-body",level:3},{value:"Variables",id:"variables",level:3},{value:"Response",id:"response",level:2},{value:"Significance",id:"significance",level:2}];function l(e){const n={code:"code",h2:"h2",h3:"h3",li:"li",p:"p",pre:"pre",strong:"strong",ul:"ul",...(0,i.R)(),...e.components};return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(n.p,{children:"This functionality allows a user (an administrator or financial manager) to define templates for recurring transaction types - specifically deposits and withdrawals. By defining these templates, the user ensures consistency, accuracy, and efficiency in transaction processing."}),"\n",(0,a.jsx)(n.h2,{id:"process",children:"Process"}),"\n",(0,a.jsx)(n.h3,{id:"creation-of-deposit-transaction-template",children:"Creation of Deposit Transaction Template"}),"\n",(0,a.jsxs)(n.ul,{children:["\n",(0,a.jsxs)(n.li,{children:["\n",(0,a.jsxs)(n.p,{children:[(0,a.jsx)(n.strong,{children:"Identification and Description"}),": The template is uniquely identified by a ",(0,a.jsx)(n.code,{children:"txTemplateId"})," and a descriptive code. The description explains that this template is for an ACH credit into a customer's account."]}),"\n"]}),"\n",(0,a.jsxs)(n.li,{children:["\n",(0,a.jsxs)(n.p,{children:[(0,a.jsx)(n.strong,{children:"Parameters"}),": Parameters like the account ID (",(0,a.jsx)(n.code,{children:"account"}),"), transaction amount (",(0,a.jsx)(n.code,{children:"amount"}),"), and effective date (",(0,a.jsx)(n.code,{children:"effective"}),") are defined, which are necessary inputs for executing a deposit transaction."]}),"\n"]}),"\n",(0,a.jsxs)(n.li,{children:["\n",(0,a.jsxs)(n.p,{children:[(0,a.jsx)(n.strong,{children:"Transaction and Entries Definition"}),":\nThe transaction input specifies which journal to log this transaction under and when it becomes effective. Entries detail the movement of funds, specifying which account to debit and which to credit, in what amount, and under what transaction conditions, e.g., ",(0,a.jsx)(n.code,{children:"currency"})," and transaction type (",(0,a.jsx)(n.code,{children:"entryType"}),")."]}),"\n"]}),"\n"]}),"\n",(0,a.jsx)(n.h3,{id:"creation-of-withdrawal-transaction-template",children:"Creation of Withdrawal Transaction Template"}),"\n",(0,a.jsxs)(n.ul,{children:["\n",(0,a.jsxs)(n.li,{children:["\n",(0,a.jsxs)(n.p,{children:[(0,a.jsx)(n.strong,{children:"Identification and Description"}),": Similarly, this template has its unique identifier and code, and is described for use in ACH debits from a customer's account."]}),"\n"]}),"\n",(0,a.jsxs)(n.li,{children:["\n",(0,a.jsxs)(n.p,{children:[(0,a.jsx)(n.strong,{children:"Parameters"}),": It uses the same types of parameters as the deposit template, allowing for consistency across templates."]}),"\n"]}),"\n",(0,a.jsxs)(n.li,{children:["\n",(0,a.jsxs)(n.p,{children:[(0,a.jsx)(n.strong,{children:"Transaction and Entries Definition"}),": This template defines how funds will be withdrawn, including debiting the customer's account and crediting an asset account, with specifics on the transaction type and conditions."]}),"\n"]}),"\n"]}),"\n",(0,a.jsx)(n.h3,{id:"graphql-request-body",children:"GraphQL Request Body"}),"\n",(0,a.jsx)(n.pre,{children:(0,a.jsx)(n.code,{className:"language-graphql",children:'mutation CreateDepositAndWithdrawalTxTemplates(\n $depositTemplateId: UUID!\n $depositTemplateCode: String!\n $withdrawalTemplateId: UUID!\n $withdrawalTemplateCode: String!\n $journalId: Expression!\n $assetAccountId: Expression!\n) {\n depositTemplate: txTemplateCreate(\n input: {\n txTemplateId: $depositTemplateId\n code: $depositTemplateCode\n description: "An ACH credit into a customer account."\n params: [\n { name: "account", type: UUID, description: "Deposit account ID." }\n {\n name: "amount"\n type: DECIMAL\n description: "Amount with decimal, e.g. `1.23`."\n }\n {\n name: "effective"\n type: DATE\n description: "Effective date for transaction."\n }\n ]\n transaction: { journalId: $journalId, effective: "params.effective" }\n entries: [\n {\n accountId: $assetAccountId\n units: "params.amount"\n currency: "\'USD\'"\n entryType: "\'ACH_DR\'"\n direction: "DEBIT"\n layer: "SETTLED"\n }\n {\n accountId: "params.account"\n units: "params.amount"\n currency: "\'USD\'"\n entryType: "\'ACH_CR\'"\n direction: "CREDIT"\n layer: "SETTLED"\n }\n ]\n }\n ) {\n txTemplate {\n txTemplateId\n }\n }\n\n withdrawalTemplate: txTemplateCreate(\n input: {\n txTemplateId: $withdrawalTemplateId\n code: $withdrawalTemplateCode\n description: "An ACH debit into a customer account."\n params: [\n { name: "account", type: UUID, description: "Withdraw account ID." }\n {\n name: "amount"\n type: DECIMAL\n description: "Amount with decimal, e.g. `1.23`."\n }\n {\n name: "effective"\n type: DATE\n description: "Effective date for transaction."\n }\n ]\n transaction: { journalId: $journalId, effective: "params.effective" }\n entries: [\n {\n accountId: $assetAccountId\n units: "params.amount"\n currency: "\'USD\'"\n entryType: "\'ACH_CR\'"\n direction: "CREDIT"\n layer: "SETTLED"\n }\n {\n accountId: "params.account"\n units: "params.amount"\n currency: "\'USD\'"\n entryType: "\'ACH_DR\'"\n direction: "DEBIT"\n layer: "SETTLED"\n }\n ]\n }\n ) {\n txTemplate {\n txTemplateId\n }\n }\n}\n'})}),"\n",(0,a.jsx)(n.h3,{id:"variables",children:"Variables"}),"\n",(0,a.jsxs)(n.ul,{children:["\n",(0,a.jsxs)(n.li,{children:[(0,a.jsx)(n.strong,{children:"depositTemplateId"}),": A unique identifier for the deposit transaction template. This ensures that the template is uniquely recognized within the system."]}),"\n",(0,a.jsxs)(n.li,{children:[(0,a.jsx)(n.strong,{children:"depositTemplateCode"}),": A code that describes the deposit transaction template. This provides an easy reference for users."]}),"\n",(0,a.jsxs)(n.li,{children:[(0,a.jsx)(n.strong,{children:"withdrawalTemplateId"}),": A unique identifier for the withdrawal transaction template. This ensures that the template is uniquely recognized within the system."]}),"\n",(0,a.jsxs)(n.li,{children:[(0,a.jsx)(n.strong,{children:"withdrawalTemplateCode"}),": A code that describes the withdrawal transaction template. This provides an easy reference for users."]}),"\n",(0,a.jsxs)(n.li,{children:[(0,a.jsx)(n.strong,{children:"journalId"}),": The identifier for the journal where the transactions will be logged. This links the transaction to the correct financial journal."]}),"\n",(0,a.jsxs)(n.li,{children:[(0,a.jsx)(n.strong,{children:"assetAccountId"}),": The identifier for the asset account involved in the transactions. This specifies which account will be debited or credited during the transaction."]}),"\n"]}),"\n",(0,a.jsx)(n.pre,{children:(0,a.jsx)(n.code,{className:"language-json",children:'{\n "depositTemplateId": "ea1c7224-ca09-409f-b581-3551beead58c",\n "depositTemplateCode": "DEPOSIT-ea1c7224-ca09-409f-b581-3551beead58c",\n "withdrawalTemplateId": "241ef9dd-8c6c-4fb8-b9fb-931083f2b728",\n "withdrawalTemplateCode": "withdrawal-241ef9dd-8c6c-4fb8-b9fb-931083f2b728",\n "assetAccountId": "uuid(\'2e40175d-35c2-4b6f-9c01-cc2309934d25\')",\n "journalId": "uuid(\'bcc24f47-990c-457d-88cb-76332450ac77\')"\n}\n'})}),"\n",(0,a.jsx)(n.h2,{id:"response",children:"Response"}),"\n",(0,a.jsx)(n.p,{children:"Upon successful submission of the GraphQL mutations, the system creates these templates and returns their IDs in the response. This confirms that the templates are ready for use in future transactions."}),"\n",(0,a.jsx)(n.pre,{children:(0,a.jsx)(n.code,{className:"language-json",children:'{\n "data": {\n "depositTemplate": {\n "txTemplate": {\n "txTemplateId": "ea1c7224-ca09-409f-b581-3551beead58c"\n }\n },\n "withdrawalTemplate": {\n "txTemplate": {\n "txTemplateId": "241ef9dd-8c6c-4fb8-b9fb-931083f2b728"\n }\n }\n }\n}\n'})}),"\n",(0,a.jsx)(n.h2,{id:"significance",children:"Significance"}),"\n",(0,a.jsx)(n.p,{children:"Creating transaction templates standardizes the execution of frequent transaction types, reducing errors and the time needed for transaction entry. This systematization is crucial for large organizations or financial institutions where transactions occur regularly and need to adhere to strict regulatory and internal standards. The use of GraphQL allows for clear, customizable, and direct communication with the database, facilitating dynamic interaction with the financial data."})]})}function p(e={}){const{wrapper:n}={...(0,i.R)(),...e.components};return n?(0,a.jsx)(n,{...e,children:(0,a.jsx)(l,{...e})}):l(e)}}}]); \ No newline at end of file diff --git a/assets/js/main.152c842a.js b/assets/js/main.152c842a.js deleted file mode 100644 index 65105635..00000000 --- a/assets/js/main.152c842a.js +++ /dev/null @@ -1,2 +0,0 @@ -/*! For license information please see main.152c842a.js.LICENSE.txt */ -(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[8792],{9188:(e,t,n)=>{"use strict";n.d(t,{W:()=>a});var r=n(6540);function a(){return r.createElement("svg",{width:"20",height:"20",className:"DocSearch-Search-Icon",viewBox:"0 0 20 20","aria-hidden":"true"},r.createElement("path",{d:"M14.386 14.386l4.0877 4.0877-4.0877-4.0877c-2.9418 2.9419-7.7115 2.9419-10.6533 0-2.9419-2.9418-2.9419-7.7115 0-10.6533 2.9418-2.9419 7.7115-2.9419 10.6533 0 2.9419 2.9418 2.9419 7.7115 0 10.6533z",stroke:"currentColor",fill:"none",fillRule:"evenodd",strokeLinecap:"round",strokeLinejoin:"round"}))}},8328:(e,t,n)=>{"use strict";n.d(t,{A:()=>p});n(6540);var r=n(3259),a=n.n(r),o=n(4054);const i={"0e384e19":[()=>Promise.all([n.e(2076),n.e(3976)]).then(n.bind(n,619)),"@site/docs/intro.md",619],"12ebaf8d":[()=>Promise.all([n.e(2076),n.e(1438)]).then(n.bind(n,7512)),"@site/docs/demo/transaction-post.mdx",7512],17896441:[()=>Promise.all([n.e(1869),n.e(2076),n.e(7212),n.e(8401)]).then(n.bind(n,7212)),"@theme/DocItem",7212],"1a4e3797":[()=>Promise.all([n.e(1869),n.e(2138)]).then(n.bind(n,9057)),"@theme/SearchPage",9057],"1df93b7f":[()=>Promise.all([n.e(1869),n.e(4583)]).then(n.bind(n,5579)),"@site/src/pages/index.tsx",5579],"22dd74f7":[()=>n.e(1567).then(n.t.bind(n,5226,19)),"@generated/docusaurus-plugin-content-docs/default/p/index-466.json",5226],"368a1e78":[()=>Promise.all([n.e(2076),n.e(4606)]).then(n.bind(n,647)),"@site/docs/accounting/glossary.md",647],"503c2630":[()=>Promise.all([n.e(2076),n.e(3639)]).then(n.bind(n,2197)),"@site/docs/accounting/double-entry-accounting.md",2197],"5e95c892":[()=>n.e(9647).then(n.bind(n,7121)),"@theme/DocsRoot",7121],"5e9f5e1a":[()=>Promise.resolve().then(n.bind(n,4784)),"@generated/docusaurus.config",4784],a7456010:[()=>n.e(1235).then(n.t.bind(n,8552,19)),"@generated/docusaurus-plugin-content-pages/default/__plugin.json",8552],a7bd4aaa:[()=>n.e(7098).then(n.bind(n,4532)),"@theme/DocVersionRoot",4532],a94703ab:[()=>Promise.all([n.e(1869),n.e(9048)]).then(n.bind(n,2559)),"@theme/DocRoot",2559],aba21aa0:[()=>n.e(5742).then(n.t.bind(n,7093,19)),"@generated/docusaurus-plugin-content-docs/default/__plugin.json",7093],b7796488:[()=>Promise.all([n.e(2076),n.e(9260)]).then(n.bind(n,9770)),"@site/docs/accounting/step-by-step.md",9770],c141421f:[()=>n.e(957).then(n.t.bind(n,936,19)),"@generated/docusaurus-theme-search-algolia/default/__plugin.json",936],d540b4e1:[()=>Promise.all([n.e(2076),n.e(5430)]).then(n.bind(n,4809)),"@site/docs/accounting/accounting-intro.md",4809],de557132:[()=>Promise.all([n.e(2076),n.e(9799)]).then(n.bind(n,1034)),"@site/docs/demo/check-account-balance.mdx",1034],e03721cf:[()=>Promise.all([n.e(2076),n.e(6238)]).then(n.bind(n,6104)),"@site/docs/demo/create-journal-and-accounts.mdx",6104],f4d26413:[()=>Promise.all([n.e(2076),n.e(6413)]).then(n.bind(n,9143)),"@site/docs/demo/tx-template-create.mdx",9143]};var l=n(4848);function s(e){let{error:t,retry:n,pastDelay:r}=e;return t?(0,l.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,l.jsx)("p",{children:String(t)}),(0,l.jsx)("div",{children:(0,l.jsx)("button",{type:"button",onClick:n,children:"Retry"})})]}):r?(0,l.jsx)("div",{style:{display:"flex",justifyContent:"center",alignItems:"center",height:"100vh"},children:(0,l.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,l.jsxs)("g",{fill:"none",fillRule:"evenodd",transform:"translate(1 1)",strokeWidth:"2",children:[(0,l.jsxs)("circle",{cx:"22",cy:"22",r:"6",strokeOpacity:"0",children:[(0,l.jsx)("animate",{attributeName:"r",begin:"1.5s",dur:"3s",values:"6;22",calcMode:"linear",repeatCount:"indefinite"}),(0,l.jsx)("animate",{attributeName:"stroke-opacity",begin:"1.5s",dur:"3s",values:"1;0",calcMode:"linear",repeatCount:"indefinite"}),(0,l.jsx)("animate",{attributeName:"stroke-width",begin:"1.5s",dur:"3s",values:"2;0",calcMode:"linear",repeatCount:"indefinite"})]}),(0,l.jsxs)("circle",{cx:"22",cy:"22",r:"6",strokeOpacity:"0",children:[(0,l.jsx)("animate",{attributeName:"r",begin:"3s",dur:"3s",values:"6;22",calcMode:"linear",repeatCount:"indefinite"}),(0,l.jsx)("animate",{attributeName:"stroke-opacity",begin:"3s",dur:"3s",values:"1;0",calcMode:"linear",repeatCount:"indefinite"}),(0,l.jsx)("animate",{attributeName:"stroke-width",begin:"3s",dur:"3s",values:"2;0",calcMode:"linear",repeatCount:"indefinite"})]}),(0,l.jsx)("circle",{cx:"22",cy:"22",r:"8",children:(0,l.jsx)("animate",{attributeName:"r",begin:"0s",dur:"1.5s",values:"6;1;2;3;4;5;6",calcMode:"linear",repeatCount:"indefinite"})})]})})}):null}var u=n(6921),c=n(3102);function d(e,t){if("*"===e)return a()({loading:s,loader:()=>n.e(2237).then(n.bind(n,2237)),modules:["@theme/NotFound"],webpack:()=>[2237],render(e,t){const n=e.default;return(0,l.jsx)(c.W,{value:{plugin:{name:"native",id:"default"}},children:(0,l.jsx)(n,{...t})})}});const r=o[`${e}-${t}`],d={},p=[],f=[],m=(0,u.A)(r);return Object.entries(m).forEach((e=>{let[t,n]=e;const r=i[n];r&&(d[t]=r[0],p.push(r[1]),f.push(r[2]))})),a().Map({loading:s,loader:d,modules:p,webpack:()=>f,render(t,n){const a=JSON.parse(JSON.stringify(r));Object.entries(t).forEach((t=>{let[n,r]=t;const o=r.default;if(!o)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 o&&"function"!=typeof o||Object.keys(r).filter((e=>"default"!==e)).forEach((e=>{o[e]=r[e]}));let i=a;const l=n.split(".");l.slice(0,-1).forEach((e=>{i=i[e]})),i[l[l.length-1]]=o}));const o=a.__comp;delete a.__comp;const i=a.__context;delete a.__context;const s=a.__props;return delete a.__props,(0,l.jsx)(c.W,{value:i,children:(0,l.jsx)(o,{...a,...s,...n})})}})}const p=[{path:"/search",component:d("/search","5de"),exact:!0},{path:"/",component:d("/","e5f"),exact:!0},{path:"/",component:d("/","e58"),routes:[{path:"/",component:d("/","9ef"),routes:[{path:"/",component:d("/","2f0"),routes:[{path:"/accounting/double-entry-accounting",component:d("/accounting/double-entry-accounting","4a0"),exact:!0,sidebar:"accountingSidebar"},{path:"/accounting/glossary",component:d("/accounting/glossary","b96"),exact:!0,sidebar:"accountingSidebar"},{path:"/accounting/intro",component:d("/accounting/intro","c22"),exact:!0,sidebar:"accountingSidebar"},{path:"/docs",component:d("/docs","b7e"),exact:!0,sidebar:"demoSidebar"},{path:"/docs/check-account-balance",component:d("/docs/check-account-balance","496"),exact:!0,sidebar:"demoSidebar"},{path:"/docs/create-journal-and-accounts",component:d("/docs/create-journal-and-accounts","e94"),exact:!0,sidebar:"demoSidebar"},{path:"/docs/step-by-step",component:d("/docs/step-by-step","64f"),exact:!0,sidebar:"accountingSidebar"},{path:"/docs/transaction-post",component:d("/docs/transaction-post","dd4"),exact:!0,sidebar:"demoSidebar"},{path:"/docs/tx-template-create",component:d("/docs/tx-template-create","aec"),exact:!0,sidebar:"demoSidebar"}]}]}]},{path:"*",component:d("*")}]},6125:(e,t,n)=>{"use strict";n.d(t,{o:()=>o,x:()=>i});var r=n(6540),a=n(4848);const o=r.createContext(!1);function i(e){let{children:t}=e;const[n,i]=(0,r.useState)(!1);return(0,r.useEffect)((()=>{i(!0)}),[]),(0,a.jsx)(o.Provider,{value:n,children:t})}},8536:(e,t,n)=>{"use strict";var r=n(6540),a=n(5338),o=n(545),i=n(4625),l=n(4784),s=n(8193);const u=[n(1911),n(119),n(6134),n(6294),n(1043)];var c=n(8328),d=n(6347),p=n(2831),f=n(4848);function m(e){let{children:t}=e;return(0,f.jsx)(f.Fragment,{children:t})}var h=n(5260),g=n(4586),y=n(6025),b=n(6342),v=n(9024),w=n(2131),k=n(4090),x=n(2967),S=n(440),E=n(1463);function C(){const{i18n:{currentLocale:e,defaultLocale:t,localeConfigs:n}}=(0,g.A)(),r=(0,w.o)(),a=n[e].htmlLang,o=e=>e.replace("-","_");return(0,f.jsxs)(h.A,{children:[Object.entries(n).map((e=>{let[t,{htmlLang:n}]=e;return(0,f.jsx)("link",{rel:"alternate",href:r.createUrl({locale:t,fullyQualified:!0}),hrefLang:n},t)})),(0,f.jsx)("link",{rel:"alternate",href:r.createUrl({locale:t,fullyQualified:!0}),hrefLang:"x-default"}),(0,f.jsx)("meta",{property:"og:locale",content:o(a)}),Object.values(n).filter((e=>a!==e.htmlLang)).map((e=>(0,f.jsx)("meta",{property:"og:locale:alternate",content:o(e.htmlLang)},`meta-og-${e.htmlLang}`)))]})}function T(e){let{permalink:t}=e;const{siteConfig:{url:n}}=(0,g.A)(),r=function(){const{siteConfig:{url:e,baseUrl:t,trailingSlash:n}}=(0,g.A)(),{pathname:r}=(0,d.zy)();return e+(0,S.applyTrailingSlash)((0,y.Ay)(r),{trailingSlash:n,baseUrl:t})}(),a=t?`${n}${t}`:r;return(0,f.jsxs)(h.A,{children:[(0,f.jsx)("meta",{property:"og:url",content:a}),(0,f.jsx)("link",{rel:"canonical",href:a})]})}function A(){const{i18n:{currentLocale:e}}=(0,g.A)(),{metadata:t,image:n}=(0,b.p)();return(0,f.jsxs)(f.Fragment,{children:[(0,f.jsxs)(h.A,{children:[(0,f.jsx)("meta",{name:"twitter:card",content:"summary_large_image"}),(0,f.jsx)("body",{className:k.w})]}),n&&(0,f.jsx)(v.be,{image:n}),(0,f.jsx)(T,{}),(0,f.jsx)(C,{}),(0,f.jsx)(E.A,{tag:x.Cy,locale:e}),(0,f.jsx)(h.A,{children:t.map(((e,t)=>(0,f.jsx)("meta",{...e},t)))})]})}const _=new Map;var j=n(6125),R=n(6988),L=n(205);function N(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];const a=u.map((t=>{const r=t.default?.[e]??t[e];return r?.(...n)}));return()=>a.forEach((e=>e?.()))}const P=function(e){let{children:t,location:n,previousLocation:r}=e;return(0,L.A)((()=>{r!==n&&(!function(e){let{location:t,previousLocation:n}=e;if(!n)return;const r=t.pathname===n.pathname,a=t.hash===n.hash,o=t.search===n.search;if(r&&a&&!o)return;const{hash:i}=t;if(i){const e=decodeURIComponent(i.substring(1)),t=document.getElementById(e);t?.scrollIntoView()}else window.scrollTo(0,0)}({location:n,previousLocation:r}),N("onRouteDidUpdate",{previousLocation:r,location:n}))}),[r,n]),t};function O(e){const t=Array.from(new Set([e,decodeURI(e)])).map((e=>(0,p.u)(c.A,e))).flat();return Promise.all(t.map((e=>e.route.component.preload?.())))}class D extends r.Component{previousLocation;routeUpdateCleanupCb;constructor(e){super(e),this.previousLocation=null,this.routeUpdateCleanupCb=s.A.canUseDOM?N("onRouteUpdate",{previousLocation:null,location:this.props.location}):()=>{},this.state={nextRouteHasLoaded:!0}}shouldComponentUpdate(e,t){if(e.location===this.props.location)return t.nextRouteHasLoaded;const n=e.location;return this.previousLocation=this.props.location,this.setState({nextRouteHasLoaded:!1}),this.routeUpdateCleanupCb=N("onRouteUpdate",{previousLocation:this.previousLocation,location:n}),O(n.pathname).then((()=>{this.routeUpdateCleanupCb(),this.setState({nextRouteHasLoaded:!0})})).catch((e=>{console.warn(e),window.location.reload()})),!1}render(){const{children:e,location:t}=this.props;return(0,f.jsx)(P,{previousLocation:this.previousLocation,location:t,children:(0,f.jsx)(d.qh,{location:t,render:()=>e})})}}const I=D,M="__docusaurus-base-url-issue-banner-container",F="__docusaurus-base-url-issue-banner",z="__docusaurus-base-url-issue-banner-suggestion-container";function B(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 = '${M}';\n var bannerHtml = ${JSON.stringify(function(e){return`\n<div id="${F}" 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="${z}" 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('${z}');\n var actualHomePagePath = window.location.pathname;\n var suggestedBaseUrl = actualHomePagePath.substr(-1) === '/'\n ? actualHomePagePath\n : actualHomePagePath + '/';\n suggestionContainer.innerHTML = suggestedBaseUrl;\n}\n`}function $(){const{siteConfig:{baseUrl:e}}=(0,g.A)();return(0,f.jsx)(f.Fragment,{children:!s.A.canUseDOM&&(0,f.jsx)(h.A,{children:(0,f.jsx)("script",{children:B(e)})})})}function U(){const{siteConfig:{baseUrl:e,baseUrlIssueBanner:t}}=(0,g.A)(),{pathname:n}=(0,d.zy)();return t&&n===e?(0,f.jsx)($,{}):null}function q(){const{siteConfig:{favicon:e,title:t,noIndex:n},i18n:{currentLocale:r,localeConfigs:a}}=(0,g.A)(),o=(0,y.Ay)(e),{htmlLang:i,direction:l}=a[r];return(0,f.jsxs)(h.A,{children:[(0,f.jsx)("html",{lang:i,dir:l}),(0,f.jsx)("title",{children:t}),(0,f.jsx)("meta",{property:"og:title",content:t}),(0,f.jsx)("meta",{name:"viewport",content:"width=device-width, initial-scale=1.0"}),n&&(0,f.jsx)("meta",{name:"robots",content:"noindex, nofollow"}),e&&(0,f.jsx)("link",{rel:"icon",href:o})]})}var H=n(7489),G=n(2303);function V(){const e=(0,G.A)();return(0,f.jsx)(h.A,{children:(0,f.jsx)("html",{"data-has-hydrated":e})})}const W=(0,p.v)(c.A);function K(){const e=function(e){if(_.has(e.pathname))return{...e,pathname:_.get(e.pathname)};if((0,p.u)(c.A,e.pathname).some((e=>{let{route:t}=e;return!0===t.exact})))return _.set(e.pathname,e.pathname),e;const t=e.pathname.trim().replace(/(?:\/index)?\.html$/,"")||"/";return _.set(e.pathname,t),{...e,pathname:t}}((0,d.zy)());return(0,f.jsx)(I,{location:e,children:W})}function Q(){return(0,f.jsx)(H.A,{children:(0,f.jsx)(R.l,{children:(0,f.jsxs)(j.x,{children:[(0,f.jsxs)(m,{children:[(0,f.jsx)(q,{}),(0,f.jsx)(A,{}),(0,f.jsx)(U,{}),(0,f.jsx)(K,{})]}),(0,f.jsx)(V,{})]})})})}var Y=n(4054);const Z=function(e){try{return document.createElement("link").relList.supports(e)}catch{return!1}}("prefetch")?function(e){return new Promise(((t,n)=>{if("undefined"==typeof document)return void n();const r=document.createElement("link");r.setAttribute("rel","prefetch"),r.setAttribute("href",e),r.onload=()=>t(),r.onerror=()=>n();const a=document.getElementsByTagName("head")[0]??document.getElementsByName("script")[0]?.parentNode;a?.appendChild(r)}))}:function(e){return new Promise(((t,n)=>{const r=new XMLHttpRequest;r.open("GET",e,!0),r.withCredentials=!0,r.onload=()=>{200===r.status?t():n()},r.send(null)}))};var X=n(6921);const J=new Set,ee=new Set,te=()=>navigator.connection?.effectiveType.includes("2g")||navigator.connection?.saveData,ne={prefetch:e=>{if(!(e=>!te()&&!ee.has(e)&&!J.has(e))(e))return!1;J.add(e);const t=(0,p.u)(c.A,e).flatMap((e=>{return t=e.route.path,Object.entries(Y).filter((e=>{let[n]=e;return n.replace(/-[^-]+$/,"")===t})).flatMap((e=>{let[,t]=e;return Object.values((0,X.A)(t))}));var t}));return Promise.all(t.map((e=>{const t=n.gca(e);return t&&!t.includes("undefined")?Z(t).catch((()=>{})):Promise.resolve()})))},preload:e=>!!(e=>!te()&&!ee.has(e))(e)&&(ee.add(e),O(e))},re=Object.freeze(ne);function ae(e){let{children:t}=e;return"hash"===l.default.future.experimental_router?(0,f.jsx)(i.I9,{children:t}):(0,f.jsx)(i.Kd,{children:t})}const oe=Boolean(!0);if(s.A.canUseDOM){window.docusaurus=re;const e=document.getElementById("__docusaurus"),t=(0,f.jsx)(o.vd,{children:(0,f.jsx)(ae,{children:(0,f.jsx)(Q,{})})}),n=(e,t)=>{console.error("Docusaurus React Root onRecoverableError:",e,t)},i=()=>{if(window.docusaurusRoot)window.docusaurusRoot.render(t);else if(oe)window.docusaurusRoot=a.hydrateRoot(e,t,{onRecoverableError:n});else{const r=a.createRoot(e,{onRecoverableError:n});r.render(t),window.docusaurusRoot=r}};O(window.location.pathname).then((()=>{(0,r.startTransition)(i)}))}},6988:(e,t,n)=>{"use strict";n.d(t,{o:()=>d,l:()=>p});var r=n(6540),a=n(4784);const o=JSON.parse('{"docusaurus-plugin-content-docs":{"default":{"path":"/","versions":[{"name":"current","label":"Next","isLast":true,"path":"/","mainDocId":"intro","docs":[{"id":"accounting/accounting-intro","path":"/accounting/intro","sidebar":"accountingSidebar"},{"id":"accounting/double-entry-accounting","path":"/accounting/double-entry-accounting","sidebar":"accountingSidebar"},{"id":"accounting/glossary","path":"/accounting/glossary","sidebar":"accountingSidebar"},{"id":"accounting/step-by-step","path":"/docs/step-by-step","sidebar":"accountingSidebar"},{"id":"demo/check-account-balance","path":"/docs/check-account-balance","sidebar":"demoSidebar"},{"id":"demo/create-journal-and-accounts","path":"/docs/create-journal-and-accounts","sidebar":"demoSidebar"},{"id":"demo/transaction-post","path":"/docs/transaction-post","sidebar":"demoSidebar"},{"id":"demo/tx-template-create","path":"/docs/tx-template-create","sidebar":"demoSidebar"},{"id":"intro","path":"/docs","sidebar":"demoSidebar"}],"draftIds":[],"sidebars":{"demoSidebar":{"link":{"path":"/docs","label":"intro"}},"accountingSidebar":{"link":{"path":"/accounting/intro","label":"accounting/accounting-intro"}}}}],"breadcrumbs":true}},"docusaurus-plugin-google-gtag":{"default":{"trackingID":["G-CSZCYN1TG7"],"anonymizeIP":true,"id":"default"}}}'),i=JSON.parse('{"defaultLocale":"en","locales":["en"],"path":"i18n","currentLocale":"en","localeConfigs":{"en":{"label":"English","direction":"ltr","htmlLang":"en","calendar":"gregory","path":"en"}}}');var l=n(2654);const s=JSON.parse('{"docusaurusVersion":"3.4.0","siteVersion":"0.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-google-gtag":{"type":"package","name":"@docusaurus/plugin-google-gtag","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"},"docusaurus-theme-search-algolia":{"type":"package","name":"@docusaurus/theme-search-algolia","version":"3.4.0"},"docusaurus-theme-live-codeblock":{"type":"package","name":"@docusaurus/theme-live-codeblock","version":"3.4.0"},"docusaurus-theme-mermaid":{"type":"package","name":"@docusaurus/theme-mermaid","version":"3.4.0"}}}');var u=n(4848);const c={siteConfig:a.default,siteMetadata:s,globalData:o,i18n:i,codeTranslations:l},d=r.createContext(c);function p(e){let{children:t}=e;return(0,u.jsx)(d.Provider,{value:c,children:t})}},7489:(e,t,n)=>{"use strict";n.d(t,{A:()=>h});var r=n(6540),a=n(8193),o=n(5260),i=n(440),l=n(4561),s=n(3102),u=n(4848);function c(e){let{error:t,tryAgain:n}=e;return(0,u.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,u.jsx)("h1",{style:{fontSize:"3rem"},children:"This page crashed"}),(0,u.jsx)("button",{type:"button",onClick:n,style:{margin:"1rem 0",fontSize:"2rem",cursor:"pointer",borderRadius:20,padding:"1rem"},children:"Try again"}),(0,u.jsx)(d,{error:t})]})}function d(e){let{error:t}=e;const n=(0,i.getErrorCausalChain)(t).map((e=>e.message)).join("\n\nCause:\n");return(0,u.jsx)("p",{style:{whiteSpace:"pre-wrap"},children:n})}function p(e){let{children:t}=e;return(0,u.jsx)(s.W,{value:{plugin:{name:"docusaurus-core-error-boundary",id:"default"}},children:t})}function f(e){let{error:t,tryAgain:n}=e;return(0,u.jsx)(p,{children:(0,u.jsxs)(h,{fallback:()=>(0,u.jsx)(c,{error:t,tryAgain:n}),children:[(0,u.jsx)(o.A,{children:(0,u.jsx)("title",{children:"Page Error"})}),(0,u.jsx)(l.A,{children:(0,u.jsx)(c,{error:t,tryAgain:n})})]})})}const m=e=>(0,u.jsx)(f,{...e});class h extends r.Component{constructor(e){super(e),this.state={error:null}}componentDidCatch(e){a.A.canUseDOM&&this.setState({error:e})}render(){const{children:e}=this.props,{error:t}=this.state;if(t){const e={error:t,tryAgain:()=>this.setState({error:null})};return(this.props.fallback??m)(e)}return e??null}}},8193:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});const r="undefined"!=typeof window&&"document"in window&&"createElement"in window.document,a={canUseDOM:r,canUseEventListeners:r&&("addEventListener"in window||"attachEvent"in window),canUseIntersectionObserver:r&&"IntersectionObserver"in window,canUseViewport:r&&"screen"in window}},5260:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});n(6540);var r=n(545),a=n(4848);function o(e){return(0,a.jsx)(r.mg,{...e})}},8774:(e,t,n)=>{"use strict";n.d(t,{A:()=>f});var r=n(6540),a=n(4625),o=n(440),i=n(4586),l=n(6654),s=n(8193),u=n(3427),c=n(6025),d=n(4848);function p(e,t){let{isNavLink:n,to:p,href:f,activeClassName:m,isActive:h,"data-noBrokenLinkCheck":g,autoAddBaseUrl:y=!0,...b}=e;const{siteConfig:v}=(0,i.A)(),{trailingSlash:w,baseUrl:k}=v,x=v.future.experimental_router,{withBaseUrl:S}=(0,c.hH)(),E=(0,u.A)(),C=(0,r.useRef)(null);(0,r.useImperativeHandle)(t,(()=>C.current));const T=p||f;const A=(0,l.A)(T),_=T?.replace("pathname://","");let j=void 0!==_?(R=_,y&&(e=>e.startsWith("/"))(R)?S(R):R):void 0;var R;"hash"===x&&j?.startsWith("./")&&(j=j?.slice(1)),j&&A&&(j=(0,o.applyTrailingSlash)(j,{trailingSlash:w,baseUrl:k}));const L=(0,r.useRef)(!1),N=n?a.k2:a.N_,P=s.A.canUseIntersectionObserver,O=(0,r.useRef)(),D=()=>{L.current||null==j||(window.docusaurus.preload(j),L.current=!0)};(0,r.useEffect)((()=>(!P&&A&&null!=j&&window.docusaurus.prefetch(j),()=>{P&&O.current&&O.current.disconnect()})),[O,j,P,A]);const I=j?.startsWith("#")??!1,M=!b.target||"_self"===b.target,F=!j||!A||!M;return g||!I&&F||E.collectLink(j),b.id&&E.collectAnchor(b.id),F?(0,d.jsx)("a",{ref:C,href:j,...T&&!A&&{target:"_blank",rel:"noopener noreferrer"},...b}):(0,d.jsx)(N,{...b,onMouseEnter:D,onTouchStart:D,innerRef:e=>{C.current=e,P&&e&&A&&(O.current=new window.IntersectionObserver((t=>{t.forEach((t=>{e===t.target&&(t.isIntersecting||t.intersectionRatio>0)&&(O.current.unobserve(e),O.current.disconnect(),null!=j&&window.docusaurus.prefetch(j))}))})),O.current.observe(e))},to:j,...n&&{isActive:h,activeClassName:m}})}const f=r.forwardRef(p)},1312:(e,t,n)=>{"use strict";n.d(t,{A:()=>u,T:()=>s});var r=n(6540),a=n(4848);function o(e,t){const n=e.split(/(\{\w+\})/).map(((e,n)=>{if(n%2==1){const n=t?.[e.slice(1,-1)];if(void 0!==n)return n}return e}));return n.some((e=>(0,r.isValidElement)(e)))?n.map(((e,t)=>(0,r.isValidElement)(e)?r.cloneElement(e,{key:t}):e)).filter((e=>""!==e)):n.join("")}var i=n(2654);function l(e){let{id:t,message:n}=e;if(void 0===t&&void 0===n)throw new Error("Docusaurus translation declarations must have at least a translation id or a default translation message");return i[t??n]??n??t}function s(e,t){let{message:n,id:r}=e;return o(l({message:n,id:r}),t)}function u(e){let{children:t,id:n,values:r}=e;if(t&&"string"!=typeof t)throw console.warn("Illegal <Translate> children",t),new Error("The Docusaurus <Translate> component only accept simple string values");const i=l({message:t,id:n});return(0,a.jsx)(a.Fragment,{children:o(i,r)})}},7065:(e,t,n)=>{"use strict";n.d(t,{W:()=>r});const r="default"},6654:(e,t,n)=>{"use strict";function r(e){return/^(?:\w*:|\/\/)/.test(e)}function a(e){return void 0!==e&&!r(e)}n.d(t,{A:()=>a,z:()=>r})},6025:(e,t,n)=>{"use strict";n.d(t,{Ay:()=>l,hH:()=>i});var r=n(6540),a=n(4586),o=n(6654);function i(){const{siteConfig:e}=(0,a.A)(),{baseUrl:t,url:n}=e,i=e.future.experimental_router,l=(0,r.useCallback)(((e,r)=>function(e){let{siteUrl:t,baseUrl:n,url:r,options:{forcePrependBaseUrl:a=!1,absolute:i=!1}={},router:l}=e;if(!r||r.startsWith("#")||(0,o.z)(r))return r;if("hash"===l)return r.startsWith("/")?`.${r}`:`./${r}`;if(a)return n+r.replace(/^\//,"");if(r===n.replace(/\/$/,""))return n;const s=r.startsWith(n)?r:n+r.replace(/^\//,"");return i?t+s:s}({siteUrl:n,baseUrl:t,url:e,options:r,router:i})),[n,t,i]);return{withBaseUrl:l}}function l(e,t){void 0===t&&(t={});const{withBaseUrl:n}=i();return n(e,t)}},3427:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var r=n(6540);n(4848);const a=r.createContext({collectAnchor:()=>{},collectLink:()=>{}}),o=()=>(0,r.useContext)(a);function i(){return o()}},4586:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=n(6540),a=n(6988);function o(){return(0,r.useContext)(a.o)}},2303:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=n(6540),a=n(6125);function o(){return(0,r.useContext)(a.o)}},205:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});var r=n(6540);const a=n(8193).A.canUseDOM?r.useLayoutEffect:r.useEffect},6921:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});const r=e=>"object"==typeof e&&!!e&&Object.keys(e).length>0;function a(e){const t={};return function e(n,a){Object.entries(n).forEach((n=>{let[o,i]=n;const l=a?`${a}.${o}`:o;r(i)?e(i,l):t[l]=i}))}(e),t}},3102:(e,t,n)=>{"use strict";n.d(t,{W:()=>i,o:()=>o});var r=n(6540),a=n(4848);const o=r.createContext(null);function i(e){let{children:t,value:n}=e;const i=r.useContext(o),l=(0,r.useMemo)((()=>function(e){let{parent:t,value:n}=e;if(!t){if(!n)throw new Error("Unexpected: no Docusaurus route context found");if(!("plugin"in n))throw new Error("Unexpected: Docusaurus topmost route context has no `plugin` attribute");return n}const r={...t.data,...n?.data};return{plugin:t.plugin,data:r}}({parent:i,value:n})),[i,n]);return(0,a.jsx)(o.Provider,{value:l,children:t})}},4070:(e,t,n)=>{"use strict";n.d(t,{zK:()=>y,vT:()=>f,gk:()=>m,Gy:()=>d,HW:()=>b,ht:()=>p,r7:()=>g,jh:()=>h});var r=n(6347),a=n(4586),o=n(7065);function i(e,t){void 0===t&&(t={});const n=function(){const{globalData:e}=(0,a.A)();return e}()[e];if(!n&&t.failfast)throw new Error(`Docusaurus plugin global data not found for "${e}" plugin.`);return n}const l=e=>e.versions.find((e=>e.isLast));function s(e,t){const n=l(e);return[...e.versions.filter((e=>e!==n)),n].find((e=>!!(0,r.B6)(t,{path:e.path,exact:!1,strict:!1})))}function u(e,t){const n=s(e,t),a=n?.docs.find((e=>!!(0,r.B6)(t,{path:e.path,exact:!0,strict:!1})));return{activeVersion:n,activeDoc:a,alternateDocVersions:a?function(t){const n={};return e.versions.forEach((e=>{e.docs.forEach((r=>{r.id===t&&(n[e.name]=r)}))})),n}(a.id):{}}}const c={},d=()=>i("docusaurus-plugin-content-docs")??c,p=e=>{try{return function(e,t,n){void 0===t&&(t=o.W),void 0===n&&(n={});const r=i(e),a=r?.[t];if(!a&&n.failfast)throw new Error(`Docusaurus plugin global data not found for "${e}" plugin with id "${t}".`);return a}("docusaurus-plugin-content-docs",e,{failfast:!0})}catch(t){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:t})}};function f(e){void 0===e&&(e={});const t=d(),{pathname:n}=(0,r.zy)();return function(e,t,n){void 0===n&&(n={});const a=Object.entries(e).sort(((e,t)=>t[1].path.localeCompare(e[1].path))).find((e=>{let[,n]=e;return!!(0,r.B6)(t,{path:n.path,exact:!1,strict:!1})})),o=a?{pluginId:a[0],pluginData:a[1]}:void 0;if(!o&&n.failfast)throw new Error(`Can't find active docs plugin for "${t}" 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 o}(t,n,e)}function m(e){void 0===e&&(e={});const t=f(e),{pathname:n}=(0,r.zy)();if(!t)return;return{activePlugin:t,activeVersion:s(t.pluginData,n)}}function h(e){return p(e).versions}function g(e){const t=p(e);return l(t)}function y(e){const t=p(e),{pathname:n}=(0,r.zy)();return u(t,n)}function b(e){const t=p(e),{pathname:n}=(0,r.zy)();return function(e,t){const n=l(e);return{latestDocSuggestion:u(e,t).alternateDocVersions[n.name],latestVersionSuggestion:n}}(t,n)}},1911:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>r});const r={onRouteDidUpdate(e){let{location:t,previousLocation:n}=e;!n||t.pathname===n.pathname&&t.search===n.search&&t.hash===n.hash||setTimeout((()=>{window.gtag("set","page_path",t.pathname+t.search+t.hash),window.gtag("event","page_view")}))}}},6294:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>o});var r=n(5947),a=n.n(r);a().configure({showSpinner:!1});const o={onRouteUpdate(e){let{location:t,previousLocation:n}=e;if(n&&t.pathname!==n.pathname){const e=window.setTimeout((()=>{a().start()}),200);return()=>window.clearTimeout(e)}},onRouteDidUpdate(){a().done()}}},6134:(e,t,n)=>{"use strict";n.r(t);var r=n(1765),a=n(4784);!function(e){const{themeConfig:{prism:t}}=a.default,{additionalLanguages:r}=t;globalThis.Prism=e,r.forEach((e=>{"php"===e&&n(9700),n(8692)(`./prism-${e}`)})),delete globalThis.Prism}(r.My)},1107:(e,t,n)=>{"use strict";n.d(t,{A:()=>c});n(6540);var r=n(4164),a=n(1312),o=n(6342),i=n(8774),l=n(3427);const s={anchorWithStickyNavbar:"anchorWithStickyNavbar_LWe7",anchorWithHideOnScrollNavbar:"anchorWithHideOnScrollNavbar_WYt5"};var u=n(4848);function c(e){let{as:t,id:n,...c}=e;const d=(0,l.A)(),{navbar:{hideOnScroll:p}}=(0,o.p)();if("h1"===t||!n)return(0,u.jsx)(t,{...c,id:void 0});d.collectAnchor(n);const f=(0,a.T)({id:"theme.common.headingLinkTitle",message:"Direct link to {heading}",description:"Title for link to heading"},{heading:"string"==typeof c.children?c.children:n});return(0,u.jsxs)(t,{...c,className:(0,r.A)("anchor",p?s.anchorWithHideOnScrollNavbar:s.anchorWithStickyNavbar,c.className),id:n,children:[c.children,(0,u.jsx)(i.A,{className:"hash-link",to:`#${n}`,"aria-label":f,title:f,children:"\u200b"})]})}},3186:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});n(6540);const r={iconExternalLink:"iconExternalLink_nPIU"};var a=n(4848);function o(e){let{width:t=13.5,height:n=13.5}=e;return(0,a.jsx)("svg",{width:t,height:n,"aria-hidden":"true",viewBox:"0 0 24 24",className:r.iconExternalLink,children:(0,a.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"})})}},4561:(e,t,n)=>{"use strict";n.d(t,{A:()=>jt});var r=n(6540),a=n(4164),o=n(7489),i=n(9024),l=n(6347),s=n(1312),u=n(5062),c=n(4848);const d="__docusaurus_skipToContent_fallback";function p(e){e.setAttribute("tabindex","-1"),e.focus(),e.removeAttribute("tabindex")}function f(){const e=(0,r.useRef)(null),{action:t}=(0,l.W6)(),n=(0,r.useCallback)((e=>{e.preventDefault();const t=document.querySelector("main:first-of-type")??document.getElementById(d);t&&p(t)}),[]);return(0,u.$)((n=>{let{location:r}=n;e.current&&!r.hash&&"PUSH"===t&&p(e.current)})),{containerRef:e,onClick:n}}const m=(0,s.T)({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 h(e){const t=e.children??m,{containerRef:n,onClick:r}=f();return(0,c.jsx)("div",{ref:n,role:"region","aria-label":m,children:(0,c.jsx)("a",{...e,href:`#${d}`,onClick:r,children:t})})}var g=n(7559),y=n(4090);const b={skipToContent:"skipToContent_fXgn"};function v(){return(0,c.jsx)(h,{className:b.skipToContent})}var w=n(6342),k=n(5041);function x(e){let{width:t=21,height:n=21,color:r="currentColor",strokeWidth:a=1.2,className:o,...i}=e;return(0,c.jsx)("svg",{viewBox:"0 0 15 15",width:t,height:n,...i,children:(0,c.jsx)("g",{stroke:r,strokeWidth:a,children:(0,c.jsx)("path",{d:"M.75.75l13.5 13.5M14.25.75L.75 14.25"})})})}const S={closeButton:"closeButton_CVFx"};function E(e){return(0,c.jsx)("button",{type:"button","aria-label":(0,s.T)({id:"theme.AnnouncementBar.closeButtonAriaLabel",message:"Close",description:"The ARIA label for close button of announcement bar"}),...e,className:(0,a.A)("clean-btn close",S.closeButton,e.className),children:(0,c.jsx)(x,{width:14,height:14,strokeWidth:3.1})})}const C={content:"content_knG7"};function T(e){const{announcementBar:t}=(0,w.p)(),{content:n}=t;return(0,c.jsx)("div",{...e,className:(0,a.A)(C.content,e.className),dangerouslySetInnerHTML:{__html:n}})}const A={announcementBar:"announcementBar_mb4j",announcementBarPlaceholder:"announcementBarPlaceholder_vyr4",announcementBarClose:"announcementBarClose_gvF7",announcementBarContent:"announcementBarContent_xLdY"};function _(){const{announcementBar:e}=(0,w.p)(),{isActive:t,close:n}=(0,k.M)();if(!t)return null;const{backgroundColor:r,textColor:a,isCloseable:o}=e;return(0,c.jsxs)("div",{className:A.announcementBar,style:{backgroundColor:r,color:a},role:"banner",children:[o&&(0,c.jsx)("div",{className:A.announcementBarPlaceholder}),(0,c.jsx)(T,{className:A.announcementBarContent}),o&&(0,c.jsx)(E,{onClick:n,className:A.announcementBarClose})]})}var j=n(2069),R=n(3104);var L=n(9532),N=n(5600);const P=r.createContext(null);function O(e){let{children:t}=e;const n=function(){const e=(0,j.M)(),t=(0,N.YL)(),[n,a]=(0,r.useState)(!1),o=null!==t.component,i=(0,L.ZC)(o);return(0,r.useEffect)((()=>{o&&!i&&a(!0)}),[o,i]),(0,r.useEffect)((()=>{o?e.shown||a(!0):a(!1)}),[e.shown,o]),(0,r.useMemo)((()=>[n,a]),[n])}();return(0,c.jsx)(P.Provider,{value:n,children:t})}function D(e){if(e.component){const t=e.component;return(0,c.jsx)(t,{...e.props})}}function I(){const e=(0,r.useContext)(P);if(!e)throw new L.dV("NavbarSecondaryMenuDisplayProvider");const[t,n]=e,a=(0,r.useCallback)((()=>n(!1)),[n]),o=(0,N.YL)();return(0,r.useMemo)((()=>({shown:t,hide:a,content:D(o)})),[a,o,t])}function M(e){let{header:t,primaryMenu:n,secondaryMenu:r}=e;const{shown:o}=I();return(0,c.jsxs)("div",{className:"navbar-sidebar",children:[t,(0,c.jsxs)("div",{className:(0,a.A)("navbar-sidebar__items",{"navbar-sidebar__items--show-secondary":o}),children:[(0,c.jsx)("div",{className:"navbar-sidebar__item menu",children:n}),(0,c.jsx)("div",{className:"navbar-sidebar__item menu",children:r})]})]})}var F=n(5293),z=n(2303);function B(e){return(0,c.jsx)("svg",{viewBox:"0 0 24 24",width:24,height:24,...e,children:(0,c.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 $(e){return(0,c.jsx)("svg",{viewBox:"0 0 24 24",width:24,height:24,...e,children:(0,c.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_vylO",toggleButton:"toggleButton_gllP",darkToggleIcon:"darkToggleIcon_wfgR",lightToggleIcon:"lightToggleIcon_pyhR",toggleButtonDisabled:"toggleButtonDisabled_aARS"};function q(e){let{className:t,buttonClassName:n,value:r,onChange:o}=e;const i=(0,z.A)(),l=(0,s.T)({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,s.T)({message:"dark mode",id:"theme.colorToggle.ariaLabel.mode.dark",description:"The name for the dark color mode"}):(0,s.T)({message:"light mode",id:"theme.colorToggle.ariaLabel.mode.light",description:"The name for the light color mode"})});return(0,c.jsx)("div",{className:(0,a.A)(U.toggle,t),children:(0,c.jsxs)("button",{className:(0,a.A)("clean-btn",U.toggleButton,!i&&U.toggleButtonDisabled,n),type:"button",onClick:()=>o("dark"===r?"light":"dark"),disabled:!i,title:l,"aria-label":l,"aria-live":"polite",children:[(0,c.jsx)(B,{className:(0,a.A)(U.toggleIcon,U.lightToggleIcon)}),(0,c.jsx)($,{className:(0,a.A)(U.toggleIcon,U.darkToggleIcon)})]})})}const H=r.memo(q),G={darkNavbarColorModeToggle:"darkNavbarColorModeToggle_X3D1"};function V(e){let{className:t}=e;const n=(0,w.p)().navbar.style,r=(0,w.p)().colorMode.disableSwitch,{colorMode:a,setColorMode:o}=(0,F.G)();return r?null:(0,c.jsx)(H,{className:t,buttonClassName:"dark"===n?G.darkNavbarColorModeToggle:void 0,value:a,onChange:o})}var W=n(3465);function K(){return(0,c.jsx)(W.A,{className:"navbar__brand",imageClassName:"navbar__logo",titleClassName:"navbar__title text--truncate"})}function Q(){const e=(0,j.M)();return(0,c.jsx)("button",{type:"button","aria-label":(0,s.T)({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,c.jsx)(x,{color:"var(--ifm-color-emphasis-600)"})})}function Y(){return(0,c.jsxs)("div",{className:"navbar-sidebar__brand",children:[(0,c.jsx)(K,{}),(0,c.jsx)(V,{className:"margin-right--md"}),(0,c.jsx)(Q,{})]})}var Z=n(8774),X=n(6025),J=n(6654),ee=n(1252),te=n(3186);function ne(e){let{activeBasePath:t,activeBaseRegex:n,to:r,href:a,label:o,html:i,isDropdownLink:l,prependBaseUrlToHref:s,...u}=e;const d=(0,X.Ay)(r),p=(0,X.Ay)(t),f=(0,X.Ay)(a,{forcePrependBaseUrl:!0}),m=o&&a&&!(0,J.A)(a),h=i?{dangerouslySetInnerHTML:{__html:i}}:{children:(0,c.jsxs)(c.Fragment,{children:[o,m&&(0,c.jsx)(te.A,{...l&&{width:12,height:12}})]})};return a?(0,c.jsx)(Z.A,{href:s?f:a,...u,...h}):(0,c.jsx)(Z.A,{to:d,isNavLink:!0,...(t||n)&&{isActive:(e,t)=>n?(0,ee.G)(n,t.pathname):t.pathname.startsWith(p)},...u,...h})}function re(e){let{className:t,isDropdownItem:n=!1,...r}=e;const o=(0,c.jsx)(ne,{className:(0,a.A)(n?"dropdown__link":"navbar__item navbar__link",t),isDropdownLink:n,...r});return n?(0,c.jsx)("li",{children:o}):o}function ae(e){let{className:t,isDropdownItem:n,...r}=e;return(0,c.jsx)("li",{className:"menu__list-item",children:(0,c.jsx)(ne,{className:(0,a.A)("menu__link",t),...r})})}function oe(e){let{mobile:t=!1,position:n,...r}=e;const a=t?ae:re;return(0,c.jsx)(a,{...r,activeClassName:r.activeClassName??(t?"menu__link--active":"navbar__link--active")})}var ie=n(1422),le=n(9169),se=n(4586);const ue={dropdownNavbarItemMobile:"dropdownNavbarItemMobile_S0Fm"};function ce(e,t){return e.some((e=>function(e,t){return!!(0,le.ys)(e.to,t)||!!(0,ee.G)(e.activeBaseRegex,t)||!(!e.activeBasePath||!t.startsWith(e.activeBasePath))}(e,t)))}function de(e){let{items:t,position:n,className:o,onClick:i,...l}=e;const s=(0,r.useRef)(null),[u,d]=(0,r.useState)(!1);return(0,r.useEffect)((()=>{const e=e=>{s.current&&!s.current.contains(e.target)&&d(!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)}}),[s]),(0,c.jsxs)("div",{ref:s,className:(0,a.A)("navbar__item","dropdown","dropdown--hoverable",{"dropdown--right":"right"===n,"dropdown--show":u}),children:[(0,c.jsx)(ne,{"aria-haspopup":"true","aria-expanded":u,role:"button",href:l.to?void 0:"#",className:(0,a.A)("navbar__link",o),...l,onClick:l.to?void 0:e=>e.preventDefault(),onKeyDown:e=>{"Enter"===e.key&&(e.preventDefault(),d(!u))},children:l.children??l.label}),(0,c.jsx)("ul",{className:"dropdown__menu",children:t.map(((e,t)=>(0,r.createElement)(Ge,{isDropdownItem:!0,activeClassName:"dropdown__link--active",...e,key:t})))})]})}function pe(e){let{items:t,className:n,position:o,onClick:i,...s}=e;const u=function(){const{siteConfig:{baseUrl:e}}=(0,se.A)(),{pathname:t}=(0,l.zy)();return t.replace(e,"/")}(),d=ce(t,u),{collapsed:p,toggleCollapsed:f,setCollapsed:m}=(0,ie.u)({initialState:()=>!d});return(0,r.useEffect)((()=>{d&&m(!d)}),[u,d,m]),(0,c.jsxs)("li",{className:(0,a.A)("menu__list-item",{"menu__list-item--collapsed":p}),children:[(0,c.jsx)(ne,{role:"button",className:(0,a.A)(ue.dropdownNavbarItemMobile,"menu__link menu__link--sublist menu__link--sublist-caret",n),...s,onClick:e=>{e.preventDefault(),f()},children:s.children??s.label}),(0,c.jsx)(ie.N,{lazy:!0,as:"ul",className:"menu__list",collapsed:p,children:t.map(((e,t)=>(0,r.createElement)(Ge,{mobile:!0,isDropdownItem:!0,onClick:i,activeClassName:"menu__link--active",...e,key:t})))})]})}function fe(e){let{mobile:t=!1,...n}=e;const r=t?pe:de;return(0,c.jsx)(r,{...n})}var me=n(2131);function he(e){let{width:t=20,height:n=20,...r}=e;return(0,c.jsx)("svg",{viewBox:"0 0 24 24",width:t,height:n,"aria-hidden":!0,...r,children:(0,c.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 ge="iconLanguage_nlXk";var ye=n(961);function be(){return r.createElement("svg",{width:"15",height:"15",className:"DocSearch-Control-Key-Icon"},r.createElement("path",{d:"M4.505 4.496h2M5.505 5.496v5M8.216 4.496l.055 5.993M10 7.5c.333.333.5.667.5 1v2M12.326 4.5v5.996M8.384 4.496c1.674 0 2.116 0 2.116 1.5s-.442 1.5-2.116 1.5M3.205 9.303c-.09.448-.277 1.21-1.241 1.203C1 10.5.5 9.513.5 8V7c0-1.57.5-2.5 1.464-2.494.964.006 1.134.598 1.24 1.342M12.553 10.5h1.953",strokeWidth:"1.2",stroke:"currentColor",fill:"none",strokeLinecap:"square"}))}var ve=n(9188),we=["translations"];function ke(){return ke=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},ke.apply(this,arguments)}function xe(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==n)return;var r,a,o=[],i=!0,l=!1;try{for(n=n.call(e);!(i=(r=n.next()).done)&&(o.push(r.value),!t||o.length!==t);i=!0);}catch(s){l=!0,a=s}finally{try{i||null==n.return||n.return()}finally{if(l)throw a}}return o}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return Se(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Se(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Se(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 Ee(e,t){if(null==e)return{};var n,r,a=function(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(a[n]=e[n])}return a}var Ce="Ctrl";var Te=r.forwardRef((function(e,t){var n=e.translations,a=void 0===n?{}:n,o=Ee(e,we),i=a.buttonText,l=void 0===i?"Search":i,s=a.buttonAriaLabel,u=void 0===s?"Search":s,c=xe((0,r.useState)(null),2),d=c[0],p=c[1];return(0,r.useEffect)((function(){"undefined"!=typeof navigator&&(/(Mac|iPhone|iPod|iPad)/i.test(navigator.platform)?p("\u2318"):p(Ce))}),[]),r.createElement("button",ke({type:"button",className:"DocSearch DocSearch-Button","aria-label":u},o,{ref:t}),r.createElement("span",{className:"DocSearch-Button-Container"},r.createElement(ve.W,null),r.createElement("span",{className:"DocSearch-Button-Placeholder"},l)),r.createElement("span",{className:"DocSearch-Button-Keys"},null!==d&&r.createElement(r.Fragment,null,r.createElement(Ae,{reactsToKey:d===Ce?Ce:"Meta"},d===Ce?r.createElement(be,null):d),r.createElement(Ae,{reactsToKey:"k"},"K"))))}));function Ae(e){var t=e.reactsToKey,n=e.children,a=xe((0,r.useState)(!1),2),o=a[0],i=a[1];return(0,r.useEffect)((function(){if(t)return window.addEventListener("keydown",e),window.addEventListener("keyup",n),function(){window.removeEventListener("keydown",e),window.removeEventListener("keyup",n)};function e(e){e.key===t&&i(!0)}function n(e){e.key!==t&&"Meta"!==e.key||i(!1)}}),[t]),r.createElement("kbd",{className:o?"DocSearch-Button-Key DocSearch-Button-Key--pressed":"DocSearch-Button-Key"},n)}var _e=n(5260),je=n(4255),Re=n(1062),Le=n(2967);const Ne={button:{buttonText:(0,s.T)({id:"theme.SearchBar.label",message:"Search",description:"The ARIA label and placeholder for search button"}),buttonAriaLabel:(0,s.T)({id:"theme.SearchBar.label",message:"Search",description:"The ARIA label and placeholder for search button"})},modal:{searchBox:{resetButtonTitle:(0,s.T)({id:"theme.SearchModal.searchBox.resetButtonTitle",message:"Clear the query",description:"The label and ARIA label for search box reset button"}),resetButtonAriaLabel:(0,s.T)({id:"theme.SearchModal.searchBox.resetButtonTitle",message:"Clear the query",description:"The label and ARIA label for search box reset button"}),cancelButtonText:(0,s.T)({id:"theme.SearchModal.searchBox.cancelButtonText",message:"Cancel",description:"The label and ARIA label for search box cancel button"}),cancelButtonAriaLabel:(0,s.T)({id:"theme.SearchModal.searchBox.cancelButtonText",message:"Cancel",description:"The label and ARIA label for search box cancel button"})},startScreen:{recentSearchesTitle:(0,s.T)({id:"theme.SearchModal.startScreen.recentSearchesTitle",message:"Recent",description:"The title for recent searches"}),noRecentSearchesText:(0,s.T)({id:"theme.SearchModal.startScreen.noRecentSearchesText",message:"No recent searches",description:"The text when no recent searches"}),saveRecentSearchButtonTitle:(0,s.T)({id:"theme.SearchModal.startScreen.saveRecentSearchButtonTitle",message:"Save this search",description:"The label for save recent search button"}),removeRecentSearchButtonTitle:(0,s.T)({id:"theme.SearchModal.startScreen.removeRecentSearchButtonTitle",message:"Remove this search from history",description:"The label for remove recent search button"}),favoriteSearchesTitle:(0,s.T)({id:"theme.SearchModal.startScreen.favoriteSearchesTitle",message:"Favorite",description:"The title for favorite searches"}),removeFavoriteSearchButtonTitle:(0,s.T)({id:"theme.SearchModal.startScreen.removeFavoriteSearchButtonTitle",message:"Remove this search from favorites",description:"The label for remove favorite search button"})},errorScreen:{titleText:(0,s.T)({id:"theme.SearchModal.errorScreen.titleText",message:"Unable to fetch results",description:"The title for error screen of search modal"}),helpText:(0,s.T)({id:"theme.SearchModal.errorScreen.helpText",message:"You might want to check your network connection.",description:"The help text for error screen of search modal"})},footer:{selectText:(0,s.T)({id:"theme.SearchModal.footer.selectText",message:"to select",description:"The explanatory text of the action for the enter key"}),selectKeyAriaLabel:(0,s.T)({id:"theme.SearchModal.footer.selectKeyAriaLabel",message:"Enter key",description:"The ARIA label for the Enter key button that makes the selection"}),navigateText:(0,s.T)({id:"theme.SearchModal.footer.navigateText",message:"to navigate",description:"The explanatory text of the action for the Arrow up and Arrow down key"}),navigateUpKeyAriaLabel:(0,s.T)({id:"theme.SearchModal.footer.navigateUpKeyAriaLabel",message:"Arrow up",description:"The ARIA label for the Arrow up key button that makes the navigation"}),navigateDownKeyAriaLabel:(0,s.T)({id:"theme.SearchModal.footer.navigateDownKeyAriaLabel",message:"Arrow down",description:"The ARIA label for the Arrow down key button that makes the navigation"}),closeText:(0,s.T)({id:"theme.SearchModal.footer.closeText",message:"to close",description:"The explanatory text of the action for Escape key"}),closeKeyAriaLabel:(0,s.T)({id:"theme.SearchModal.footer.closeKeyAriaLabel",message:"Escape key",description:"The ARIA label for the Escape key button that close the modal"}),searchByText:(0,s.T)({id:"theme.SearchModal.footer.searchByText",message:"Search by",description:"The text explain that the search is making by Algolia"})},noResultsScreen:{noResultsText:(0,s.T)({id:"theme.SearchModal.noResultsScreen.noResultsText",message:"No results for",description:"The text explains that there are no results for the following search"}),suggestedQueryText:(0,s.T)({id:"theme.SearchModal.noResultsScreen.suggestedQueryText",message:"Try searching for",description:"The text for the suggested query when no results are found for the following search"}),reportMissingResultsText:(0,s.T)({id:"theme.SearchModal.noResultsScreen.reportMissingResultsText",message:"Believe this query should return results?",description:"The text for the question where the user thinks there are missing results"}),reportMissingResultsLinkText:(0,s.T)({id:"theme.SearchModal.noResultsScreen.reportMissingResultsLinkText",message:"Let us know.",description:"The text for the link to report missing results"})}},placeholder:(0,s.T)({id:"theme.SearchModal.placeholder",message:"Search docs",description:"The placeholder of the input of the DocSearch pop-up modal"})};let Pe=null;function Oe(e){let{hit:t,children:n}=e;return(0,c.jsx)(Z.A,{to:t.url,children:n})}function De(e){let{state:t,onClose:n}=e;const r=(0,je.w)();return(0,c.jsx)(Z.A,{to:r(t.query),onClick:n,children:(0,c.jsx)(s.A,{id:"theme.SearchBar.seeAll",values:{count:t.context.nbHits},children:"See all {count} results"})})}function Ie(e){let{contextualSearch:t,externalUrlRegex:a,...o}=e;const{siteMetadata:i}=(0,se.A)(),s=(0,Re.C)(),u=function(){const{locale:e,tags:t}=(0,Le.af)();return[`language:${e}`,t.map((e=>`docusaurus_tag:${e}`))]}(),d=o.searchParameters?.facetFilters??[],p=t?function(e,t){const n=e=>"string"==typeof e?[e]:e;return[...n(e),...n(t)]}(u,d):d,f={...o.searchParameters,facetFilters:p},m=(0,l.W6)(),h=(0,r.useRef)(null),g=(0,r.useRef)(null),[y,b]=(0,r.useState)(!1),[v,w]=(0,r.useState)(void 0),k=(0,r.useCallback)((()=>Pe?Promise.resolve():Promise.all([n.e(9462).then(n.bind(n,9462)),Promise.all([n.e(1869),n.e(8913)]).then(n.bind(n,8913)),Promise.all([n.e(1869),n.e(416)]).then(n.bind(n,416))]).then((e=>{let[{DocSearchModal:t}]=e;Pe=t}))),[]),x=(0,r.useCallback)((()=>{if(!h.current){const e=document.createElement("div");h.current=e,document.body.insertBefore(e,document.body.firstChild)}}),[]),S=(0,r.useCallback)((()=>{x(),k().then((()=>b(!0)))}),[k,x]),E=(0,r.useCallback)((()=>{b(!1),g.current?.focus()}),[]),C=(0,r.useCallback)((e=>{e.preventDefault(),w(e.key),S()}),[S]),T=(0,r.useRef)({navigate(e){let{itemUrl:t}=e;(0,ee.G)(a,t)?window.location.href=t:m.push(t)}}).current,A=(0,r.useRef)((e=>o.transformItems?o.transformItems(e):e.map((e=>({...e,url:s(e.url)}))))).current,_=(0,r.useMemo)((()=>e=>(0,c.jsx)(De,{...e,onClose:E})),[E]),j=(0,r.useCallback)((e=>(e.addAlgoliaAgent("docusaurus",i.docusaurusVersion),e)),[i.docusaurusVersion]);return function(e){var t=e.isOpen,n=e.onOpen,a=e.onClose,o=e.onInput,i=e.searchButtonRef;r.useEffect((function(){function e(e){var r;(27===e.keyCode&&t||"k"===(null===(r=e.key)||void 0===r?void 0:r.toLowerCase())&&(e.metaKey||e.ctrlKey)||!function(e){var t=e.target,n=t.tagName;return t.isContentEditable||"INPUT"===n||"SELECT"===n||"TEXTAREA"===n}(e)&&"/"===e.key&&!t)&&(e.preventDefault(),t?a():document.body.classList.contains("DocSearch--active")||document.body.classList.contains("DocSearch--active")||n()),i&&i.current===document.activeElement&&o&&/[a-zA-Z0-9]/.test(String.fromCharCode(e.keyCode))&&o(e)}return window.addEventListener("keydown",e),function(){window.removeEventListener("keydown",e)}}),[t,n,a,o,i])}({isOpen:y,onOpen:S,onClose:E,onInput:C,searchButtonRef:g}),(0,c.jsxs)(c.Fragment,{children:[(0,c.jsx)(_e.A,{children:(0,c.jsx)("link",{rel:"preconnect",href:`https://${o.appId}-dsn.algolia.net`,crossOrigin:"anonymous"})}),(0,c.jsx)(Te,{onTouchStart:k,onFocus:k,onMouseOver:k,onClick:S,ref:g,translations:Ne.button}),y&&Pe&&h.current&&(0,ye.createPortal)((0,c.jsx)(Pe,{onClose:E,initialScrollY:window.scrollY,initialQuery:v,navigator:T,transformItems:A,hitComponent:Oe,transformSearchClient:j,...o.searchPagePath&&{resultsFooterComponent:_},...o,searchParameters:f,placeholder:Ne.placeholder,translations:Ne.modal}),h.current)]})}function Me(){const{siteConfig:e}=(0,se.A)();return(0,c.jsx)(Ie,{...e.themeConfig.algolia})}const Fe={navbarSearchContainer:"navbarSearchContainer_Bca1"};function ze(e){let{children:t,className:n}=e;return(0,c.jsx)("div",{className:(0,a.A)(n,Fe.navbarSearchContainer),children:t})}var Be=n(4070),$e=n(1754);var Ue=n(5597);const qe=e=>e.docs.find((t=>t.id===e.mainDocId));const He={default:oe,localeDropdown:function(e){let{mobile:t,dropdownItemsBefore:n,dropdownItemsAfter:r,queryString:a="",...o}=e;const{i18n:{currentLocale:i,locales:u,localeConfigs:d}}=(0,se.A)(),p=(0,me.o)(),{search:f,hash:m}=(0,l.zy)(),h=[...n,...u.map((e=>{const n=`${`pathname://${p.createUrl({locale:e,fullyQualified:!1})}`}${f}${m}${a}`;return{label:d[e].label,lang:d[e].htmlLang,to:n,target:"_self",autoAddBaseUrl:!1,className:e===i?t?"menu__link--active":"dropdown__link--active":""}})),...r],g=t?(0,s.T)({message:"Languages",id:"theme.navbar.mobileLanguageDropdown.label",description:"The label for the mobile language switcher dropdown"}):d[i].label;return(0,c.jsx)(fe,{...o,mobile:t,label:(0,c.jsxs)(c.Fragment,{children:[(0,c.jsx)(he,{className:ge}),g]}),items:h})},search:function(e){let{mobile:t,className:n}=e;return t?null:(0,c.jsx)(ze,{className:n,children:(0,c.jsx)(Me,{})})},dropdown:fe,html:function(e){let{value:t,className:n,mobile:r=!1,isDropdownItem:o=!1}=e;const i=o?"li":"div";return(0,c.jsx)(i,{className:(0,a.A)({navbar__item:!r&&!o,"menu__list-item":r},n),dangerouslySetInnerHTML:{__html:t}})},doc:function(e){let{docId:t,label:n,docsPluginId:r,...a}=e;const{activeDoc:o}=(0,Be.zK)(r),i=(0,$e.QB)(t,r),l=o?.path===i?.path;return null===i||i.unlisted&&!l?null:(0,c.jsx)(oe,{exact:!0,...a,isActive:()=>l||!!o?.sidebar&&o.sidebar===i.sidebar,label:n??i.id,to:i.path})},docSidebar:function(e){let{sidebarId:t,label:n,docsPluginId:r,...a}=e;const{activeDoc:o}=(0,Be.zK)(r),i=(0,$e.fW)(t,r).link;if(!i)throw new Error(`DocSidebarNavbarItem: Sidebar with ID "${t}" doesn't have anything to be linked to.`);return(0,c.jsx)(oe,{exact:!0,...a,isActive:()=>o?.sidebar===t,label:n??i.label,to:i.path})},docsVersion:function(e){let{label:t,to:n,docsPluginId:r,...a}=e;const o=(0,$e.Vd)(r)[0],i=t??o.label,l=n??(e=>e.docs.find((t=>t.id===e.mainDocId)))(o).path;return(0,c.jsx)(oe,{...a,label:i,to:l})},docsVersionDropdown:function(e){let{mobile:t,docsPluginId:n,dropdownActiveClassDisabled:r,dropdownItemsBefore:a,dropdownItemsAfter:o,...i}=e;const{search:u,hash:d}=(0,l.zy)(),p=(0,Be.zK)(n),f=(0,Be.jh)(n),{savePreferredVersionName:m}=(0,Ue.g1)(n),h=[...a,...f.map((e=>{const t=p.alternateDocVersions[e.name]??qe(e);return{label:e.label,to:`${t.path}${u}${d}`,isActive:()=>e===p.activeVersion,onClick:()=>m(e.name)}})),...o],g=(0,$e.Vd)(n)[0],y=t&&h.length>1?(0,s.T)({id:"theme.navbar.mobileVersionsDropdown.label",message:"Versions",description:"The label for the navbar versions dropdown on mobile view"}):g.label,b=t&&h.length>1?void 0:qe(g).path;return h.length<=1?(0,c.jsx)(oe,{...i,mobile:t,label:y,to:b,isActive:r?()=>!1:void 0}):(0,c.jsx)(fe,{...i,mobile:t,label:y,to:b,items:h,isActive:r?()=>!1:void 0})}};function Ge(e){let{type:t,...n}=e;const r=function(e,t){return e&&"default"!==e?e:"items"in t?"dropdown":"default"}(t,n),a=He[r];if(!a)throw new Error(`No NavbarItem component found for type "${t}".`);return(0,c.jsx)(a,{...n})}function Ve(){const e=(0,j.M)(),t=(0,w.p)().navbar.items;return(0,c.jsx)("ul",{className:"menu__list",children:t.map(((t,n)=>(0,r.createElement)(Ge,{mobile:!0,...t,onClick:()=>e.toggle(),key:n})))})}function We(e){return(0,c.jsx)("button",{...e,type:"button",className:"clean-btn navbar-sidebar__back",children:(0,c.jsx)(s.A,{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 Ke(){const e=0===(0,w.p)().navbar.items.length,t=I();return(0,c.jsxs)(c.Fragment,{children:[!e&&(0,c.jsx)(We,{onClick:()=>t.hide()}),t.content]})}function Qe(){const e=(0,j.M)();var t;return void 0===(t=e.shown)&&(t=!0),(0,r.useEffect)((()=>(document.body.style.overflow=t?"hidden":"visible",()=>{document.body.style.overflow="visible"})),[t]),e.shouldRender?(0,c.jsx)(M,{header:(0,c.jsx)(Y,{}),primaryMenu:(0,c.jsx)(Ve,{}),secondaryMenu:(0,c.jsx)(Ke,{})}):null}const Ye={navbarHideable:"navbarHideable_m1mJ",navbarHidden:"navbarHidden_jGov"};function Ze(e){return(0,c.jsx)("div",{role:"presentation",...e,className:(0,a.A)("navbar-sidebar__backdrop",e.className)})}function Xe(e){let{children:t}=e;const{navbar:{hideOnScroll:n,style:o}}=(0,w.p)(),i=(0,j.M)(),{navbarRef:l,isNavbarVisible:d}=function(e){const[t,n]=(0,r.useState)(e),a=(0,r.useRef)(!1),o=(0,r.useRef)(0),i=(0,r.useCallback)((e=>{null!==e&&(o.current=e.getBoundingClientRect().height)}),[]);return(0,R.Mq)(((t,r)=>{let{scrollY:i}=t;if(!e)return;if(i<o.current)return void n(!0);if(a.current)return void(a.current=!1);const l=r?.scrollY,s=document.documentElement.scrollHeight-o.current,u=window.innerHeight;l&&i>=l?n(!1):i+u<s&&n(!0)})),(0,u.$)((t=>{if(!e)return;const r=t.location.hash;if(r?document.getElementById(r.substring(1)):void 0)return a.current=!0,void n(!1);n(!0)})),{navbarRef:i,isNavbarVisible:t}}(n);return(0,c.jsxs)("nav",{ref:l,"aria-label":(0,s.T)({id:"theme.NavBar.navAriaLabel",message:"Main",description:"The ARIA label for the main navigation"}),className:(0,a.A)("navbar","navbar--fixed-top",n&&[Ye.navbarHideable,!d&&Ye.navbarHidden],{"navbar--dark":"dark"===o,"navbar--primary":"primary"===o,"navbar-sidebar--show":i.shown}),children:[t,(0,c.jsx)(Ze,{onClick:i.toggle}),(0,c.jsx)(Qe,{})]})}var Je=n(2181);const et="right";function tt(e){let{width:t=30,height:n=30,className:r,...a}=e;return(0,c.jsx)("svg",{className:r,width:t,height:n,viewBox:"0 0 30 30","aria-hidden":"true",...a,children:(0,c.jsx)("path",{stroke:"currentColor",strokeLinecap:"round",strokeMiterlimit:"10",strokeWidth:"2",d:"M4 7h22M4 15h22M4 23h22"})})}function nt(){const{toggle:e,shown:t}=(0,j.M)();return(0,c.jsx)("button",{onClick:e,"aria-label":(0,s.T)({id:"theme.docs.sidebar.toggleSidebarButtonAriaLabel",message:"Toggle navigation bar",description:"The ARIA label for hamburger menu button of mobile navigation"}),"aria-expanded":t,className:"navbar__toggle clean-btn",type:"button",children:(0,c.jsx)(tt,{})})}const rt={colorModeToggle:"colorModeToggle_DEke"};function at(e){let{items:t}=e;return(0,c.jsx)(c.Fragment,{children:t.map(((e,t)=>(0,c.jsx)(Je.k2,{onError:t=>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:t}),children:(0,c.jsx)(Ge,{...e})},t)))})}function ot(e){let{left:t,right:n}=e;return(0,c.jsxs)("div",{className:"navbar__inner",children:[(0,c.jsx)("div",{className:"navbar__items",children:t}),(0,c.jsx)("div",{className:"navbar__items navbar__items--right",children:n})]})}function it(){const e=(0,j.M)(),t=(0,w.p)().navbar.items,[n,r]=function(e){function t(e){return"left"===(e.position??et)}return[e.filter(t),e.filter((e=>!t(e)))]}(t),a=t.find((e=>"search"===e.type));return(0,c.jsx)(ot,{left:(0,c.jsxs)(c.Fragment,{children:[!e.disabled&&(0,c.jsx)(nt,{}),(0,c.jsx)(K,{}),(0,c.jsx)(at,{items:n})]}),right:(0,c.jsxs)(c.Fragment,{children:[(0,c.jsx)(at,{items:r}),(0,c.jsx)(V,{className:rt.colorModeToggle}),!a&&(0,c.jsx)(ze,{children:(0,c.jsx)(Me,{})})]})})}function lt(){return(0,c.jsx)(Xe,{children:(0,c.jsx)(it,{})})}function st(e){let{item:t}=e;const{to:n,href:r,label:a,prependBaseUrlToHref:o,...i}=t,l=(0,X.Ay)(n),s=(0,X.Ay)(r,{forcePrependBaseUrl:!0});return(0,c.jsxs)(Z.A,{className:"footer__link-item",...r?{href:o?s:r}:{to:l},...i,children:[a,r&&!(0,J.A)(r)&&(0,c.jsx)(te.A,{})]})}function ut(e){let{item:t}=e;return t.html?(0,c.jsx)("li",{className:"footer__item",dangerouslySetInnerHTML:{__html:t.html}}):(0,c.jsx)("li",{className:"footer__item",children:(0,c.jsx)(st,{item:t})},t.href??t.to)}function ct(e){let{column:t}=e;return(0,c.jsxs)("div",{className:"col footer__col",children:[(0,c.jsx)("div",{className:"footer__title",children:t.title}),(0,c.jsx)("ul",{className:"footer__items clean-list",children:t.items.map(((e,t)=>(0,c.jsx)(ut,{item:e},t)))})]})}function dt(e){let{columns:t}=e;return(0,c.jsx)("div",{className:"row footer__links",children:t.map(((e,t)=>(0,c.jsx)(ct,{column:e},t)))})}function pt(){return(0,c.jsx)("span",{className:"footer__link-separator",children:"\xb7"})}function ft(e){let{item:t}=e;return t.html?(0,c.jsx)("span",{className:"footer__link-item",dangerouslySetInnerHTML:{__html:t.html}}):(0,c.jsx)(st,{item:t})}function mt(e){let{links:t}=e;return(0,c.jsx)("div",{className:"footer__links text--center",children:(0,c.jsx)("div",{className:"footer__links",children:t.map(((e,n)=>(0,c.jsxs)(r.Fragment,{children:[(0,c.jsx)(ft,{item:e}),t.length!==n+1&&(0,c.jsx)(pt,{})]},n)))})})}function ht(e){let{links:t}=e;return function(e){return"title"in e[0]}(t)?(0,c.jsx)(dt,{columns:t}):(0,c.jsx)(mt,{links:t})}var gt=n(1122);const yt={footerLogoLink:"footerLogoLink_BH7S"};function bt(e){let{logo:t}=e;const{withBaseUrl:n}=(0,X.hH)(),r={light:n(t.src),dark:n(t.srcDark??t.src)};return(0,c.jsx)(gt.A,{className:(0,a.A)("footer__logo",t.className),alt:t.alt,sources:r,width:t.width,height:t.height,style:t.style})}function vt(e){let{logo:t}=e;return t.href?(0,c.jsx)(Z.A,{href:t.href,className:yt.footerLogoLink,target:t.target,children:(0,c.jsx)(bt,{logo:t})}):(0,c.jsx)(bt,{logo:t})}function wt(e){let{copyright:t}=e;return(0,c.jsx)("div",{className:"footer__copyright",dangerouslySetInnerHTML:{__html:t}})}function kt(e){let{style:t,links:n,logo:r,copyright:o}=e;return(0,c.jsx)("footer",{className:(0,a.A)("footer",{"footer--dark":"dark"===t}),children:(0,c.jsxs)("div",{className:"container container-fluid",children:[n,(r||o)&&(0,c.jsxs)("div",{className:"footer__bottom text--center",children:[r&&(0,c.jsx)("div",{className:"margin-bottom--sm",children:r}),o]})]})})}function xt(){const{footer:e}=(0,w.p)();if(!e)return null;const{copyright:t,links:n,logo:r,style:a}=e;return(0,c.jsx)(kt,{style:a,links:n&&n.length>0&&(0,c.jsx)(ht,{links:n}),logo:r&&(0,c.jsx)(vt,{logo:r}),copyright:t&&(0,c.jsx)(wt,{copyright:t})})}const St=r.memo(xt),Et=(0,L.fM)([F.a,k.o,R.Tv,Ue.VQ,i.Jx,function(e){let{children:t}=e;return(0,c.jsx)(N.y_,{children:(0,c.jsx)(j.e,{children:(0,c.jsx)(O,{children:t})})})}]);function Ct(e){let{children:t}=e;return(0,c.jsx)(Et,{children:t})}var Tt=n(1107);function At(e){let{error:t,tryAgain:n}=e;return(0,c.jsx)("main",{className:"container margin-vert--xl",children:(0,c.jsx)("div",{className:"row",children:(0,c.jsxs)("div",{className:"col col--6 col--offset-3",children:[(0,c.jsx)(Tt.A,{as:"h1",className:"hero__title",children:(0,c.jsx)(s.A,{id:"theme.ErrorPageContent.title",description:"The title of the fallback page when the page crashed",children:"This page crashed."})}),(0,c.jsx)("div",{className:"margin-vert--lg",children:(0,c.jsx)(Je.a2,{onClick:n,className:"button button--primary shadow--lw"})}),(0,c.jsx)("hr",{}),(0,c.jsx)("div",{className:"margin-vert--md",children:(0,c.jsx)(Je.bq,{error:t})})]})})})}const _t={mainWrapper:"mainWrapper_z2l0"};function jt(e){const{children:t,noFooter:n,wrapperClassName:r,title:l,description:s}=e;return(0,y.J)(),(0,c.jsxs)(Ct,{children:[(0,c.jsx)(i.be,{title:l,description:s}),(0,c.jsx)(v,{}),(0,c.jsx)(_,{}),(0,c.jsx)(lt,{}),(0,c.jsx)("div",{id:d,className:(0,a.A)(g.G.wrapper.main,_t.mainWrapper,r),children:(0,c.jsx)(o.A,{fallback:e=>(0,c.jsx)(At,{...e}),children:t})}),!n&&(0,c.jsx)(St,{})]})}},3465:(e,t,n)=>{"use strict";n.d(t,{A:()=>c});n(6540);var r=n(8774),a=n(6025),o=n(4586),i=n(6342),l=n(1122),s=n(4848);function u(e){let{logo:t,alt:n,imageClassName:r}=e;const o={light:(0,a.Ay)(t.src),dark:(0,a.Ay)(t.srcDark||t.src)},i=(0,s.jsx)(l.A,{className:t.className,sources:o,height:t.height,width:t.width,alt:n,style:t.style});return r?(0,s.jsx)("div",{className:r,children:i}):i}function c(e){const{siteConfig:{title:t}}=(0,o.A)(),{navbar:{title:n,logo:l}}=(0,i.p)(),{imageClassName:c,titleClassName:d,...p}=e,f=(0,a.Ay)(l?.href||"/"),m=n?"":t,h=l?.alt??m;return(0,s.jsxs)(r.A,{to:f,...p,...l?.target&&{target:l.target},children:[l&&(0,s.jsx)(u,{logo:l,alt:h,imageClassName:c}),null!=n&&(0,s.jsx)("b",{className:d,children:n})]})}},1463:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});n(6540);var r=n(5260),a=n(4848);function o(e){let{locale:t,version:n,tag:o}=e;const i=t;return(0,a.jsxs)(r.A,{children:[t&&(0,a.jsx)("meta",{name:"docusaurus_locale",content:t}),n&&(0,a.jsx)("meta",{name:"docusaurus_version",content:n}),o&&(0,a.jsx)("meta",{name:"docusaurus_tag",content:o}),i&&(0,a.jsx)("meta",{name:"docsearch:language",content:i}),n&&(0,a.jsx)("meta",{name:"docsearch:version",content:n}),o&&(0,a.jsx)("meta",{name:"docsearch:docusaurus_tag",content:o})]})}},1122:(e,t,n)=>{"use strict";n.d(t,{A:()=>c});var r=n(6540),a=n(4164),o=n(2303),i=n(5293);const l={themedComponent:"themedComponent_mlkZ","themedComponent--light":"themedComponent--light_NVdE","themedComponent--dark":"themedComponent--dark_xIcU"};var s=n(4848);function u(e){let{className:t,children:n}=e;const u=(0,o.A)(),{colorMode:c}=(0,i.G)();return(0,s.jsx)(s.Fragment,{children:(u?"dark"===c?["dark"]:["light"]:["light","dark"]).map((e=>{const o=n({theme:e,className:(0,a.A)(t,l.themedComponent,l[`themedComponent--${e}`])});return(0,s.jsx)(r.Fragment,{children:o},e)}))})}function c(e){const{sources:t,className:n,alt:r,...a}=e;return(0,s.jsx)(u,{className:n,children:e=>{let{theme:n,className:o}=e;return(0,s.jsx)("img",{src:t[n],alt:r,className:o,...a})}})}},1422:(e,t,n)=>{"use strict";n.d(t,{N:()=>y,u:()=>u});var r=n(6540),a=n(8193),o=n(205),i=n(3109),l=n(4848);const s="ease-in-out";function u(e){let{initialState:t}=e;const[n,a]=(0,r.useState)(t??!1),o=(0,r.useCallback)((()=>{a((e=>!e))}),[]);return{collapsed:n,setCollapsed:a,toggleCollapsed:o}}const c={display:"none",overflow:"hidden",height:"0px"},d={display:"block",overflow:"visible",height:"auto"};function p(e,t){const n=t?c:d;e.style.display=n.display,e.style.overflow=n.overflow,e.style.height=n.height}function f(e){let{collapsibleRef:t,collapsed:n,animation:a}=e;const o=(0,r.useRef)(!1);(0,r.useEffect)((()=>{const e=t.current;function r(){const t=e.scrollHeight,n=a?.duration??function(e){if((0,i.O)())return 1;const t=e/36;return Math.round(10*(4+15*t**.25+t/5))}(t);return{transition:`height ${n}ms ${a?.easing??s}`,height:`${t}px`}}function l(){const t=r();e.style.transition=t.transition,e.style.height=t.height}if(!o.current)return p(e,n),void(o.current=!0);return e.style.willChange="height",function(){const t=requestAnimationFrame((()=>{n?(l(),requestAnimationFrame((()=>{e.style.height=c.height,e.style.overflow=c.overflow}))):(e.style.display="block",requestAnimationFrame((()=>{l()})))}));return()=>cancelAnimationFrame(t)}()}),[t,n,a])}function m(e){if(!a.A.canUseDOM)return e?c:d}function h(e){let{as:t="div",collapsed:n,children:a,animation:o,onCollapseTransitionEnd:i,className:s,disableSSRStyle:u}=e;const c=(0,r.useRef)(null);return f({collapsibleRef:c,collapsed:n,animation:o}),(0,l.jsx)(t,{ref:c,style:u?void 0:m(n),onTransitionEnd:e=>{"height"===e.propertyName&&(p(c.current,n),i?.(n))},className:s,children:a})}function g(e){let{collapsed:t,...n}=e;const[a,i]=(0,r.useState)(!t),[s,u]=(0,r.useState)(t);return(0,o.A)((()=>{t||i(!0)}),[t]),(0,o.A)((()=>{a&&u(t)}),[a,t]),a?(0,l.jsx)(h,{...n,collapsed:s}):null}function y(e){let{lazy:t,...n}=e;const r=t?g:h;return(0,l.jsx)(r,{...n})}},5041:(e,t,n)=>{"use strict";n.d(t,{M:()=>h,o:()=>m});var r=n(6540),a=n(2303),o=n(679),i=n(9532),l=n(6342),s=n(4848);const u=(0,o.Wf)("docusaurus.announcement.dismiss"),c=(0,o.Wf)("docusaurus.announcement.id"),d=()=>"true"===u.get(),p=e=>u.set(String(e)),f=r.createContext(null);function m(e){let{children:t}=e;const n=function(){const{announcementBar:e}=(0,l.p)(),t=(0,a.A)(),[n,o]=(0,r.useState)((()=>!!t&&d()));(0,r.useEffect)((()=>{o(d())}),[]);const i=(0,r.useCallback)((()=>{p(!0),o(!0)}),[]);return(0,r.useEffect)((()=>{if(!e)return;const{id:t}=e;let n=c.get();"annoucement-bar"===n&&(n="announcement-bar");const r=t!==n;c.set(t),r&&p(!1),!r&&d()||o(!1)}),[e]),(0,r.useMemo)((()=>({isActive:!!e&&!n,close:i})),[e,n,i])}();return(0,s.jsx)(f.Provider,{value:n,children:t})}function h(){const e=(0,r.useContext)(f);if(!e)throw new i.dV("AnnouncementBarProvider");return e}},5293:(e,t,n)=>{"use strict";n.d(t,{G:()=>y,a:()=>g});var r=n(6540),a=n(8193),o=n(9532),i=n(679),l=n(6342),s=n(4848);const u=r.createContext(void 0),c="theme",d=(0,i.Wf)(c),p={light:"light",dark:"dark"},f=e=>e===p.dark?p.dark:p.light,m=e=>a.A.canUseDOM?f(document.documentElement.getAttribute("data-theme")):f(e),h=e=>{d.set(f(e))};function g(e){let{children:t}=e;const n=function(){const{colorMode:{defaultMode:e,disableSwitch:t,respectPrefersColorScheme:n}}=(0,l.p)(),[a,o]=(0,r.useState)(m(e));(0,r.useEffect)((()=>{t&&d.del()}),[t]);const i=(0,r.useCallback)((function(t,r){void 0===r&&(r={});const{persist:a=!0}=r;t?(o(t),a&&h(t)):(o(n?window.matchMedia("(prefers-color-scheme: dark)").matches?p.dark:p.light:e),d.del())}),[n,e]);(0,r.useEffect)((()=>{document.documentElement.setAttribute("data-theme",f(a))}),[a]),(0,r.useEffect)((()=>{if(t)return;const e=e=>{if(e.key!==c)return;const t=d.get();null!==t&&i(f(t))};return window.addEventListener("storage",e),()=>window.removeEventListener("storage",e)}),[t,i]);const s=(0,r.useRef)(!1);return(0,r.useEffect)((()=>{if(t&&!n)return;const e=window.matchMedia("(prefers-color-scheme: dark)"),r=()=>{window.matchMedia("print").matches||s.current?s.current=window.matchMedia("print").matches:i(null)};return e.addListener(r),()=>e.removeListener(r)}),[i,t,n]),(0,r.useMemo)((()=>({colorMode:a,setColorMode:i,get isDarkTheme(){return a===p.dark},setLightTheme(){i(p.light)},setDarkTheme(){i(p.dark)}})),[a,i])}();return(0,s.jsx)(u.Provider,{value:n,children:t})}function y(){const e=(0,r.useContext)(u);if(null==e)throw new o.dV("ColorModeProvider","Please see https://docusaurus.io/docs/api/themes/configuration#use-color-mode.");return e}},5597:(e,t,n)=>{"use strict";n.d(t,{VQ:()=>y,XK:()=>w,g1:()=>v});var r=n(6540),a=n(4070),o=n(7065),i=n(6342),l=n(1754),s=n(9532),u=n(679),c=n(4848);const d=e=>`docs-preferred-version-${e}`,p={save:(e,t,n)=>{(0,u.Wf)(d(e),{persistence:t}).set(n)},read:(e,t)=>(0,u.Wf)(d(e),{persistence:t}).get(),clear:(e,t)=>{(0,u.Wf)(d(e),{persistence:t}).del()}},f=e=>Object.fromEntries(e.map((e=>[e,{preferredVersionName:null}])));const m=r.createContext(null);function h(){const e=(0,a.Gy)(),t=(0,i.p)().docs.versionPersistence,n=(0,r.useMemo)((()=>Object.keys(e)),[e]),[o,l]=(0,r.useState)((()=>f(n)));(0,r.useEffect)((()=>{l(function(e){let{pluginIds:t,versionPersistence:n,allDocsData:r}=e;function a(e){const t=p.read(e,n);return r[e].versions.some((e=>e.name===t))?{preferredVersionName:t}:(p.clear(e,n),{preferredVersionName:null})}return Object.fromEntries(t.map((e=>[e,a(e)])))}({allDocsData:e,versionPersistence:t,pluginIds:n}))}),[e,t,n]);return[o,(0,r.useMemo)((()=>({savePreferredVersion:function(e,n){p.save(e,t,n),l((t=>({...t,[e]:{preferredVersionName:n}})))}})),[t])]}function g(e){let{children:t}=e;const n=h();return(0,c.jsx)(m.Provider,{value:n,children:t})}function y(e){let{children:t}=e;return l.C5?(0,c.jsx)(g,{children:t}):(0,c.jsx)(c.Fragment,{children:t})}function b(){const e=(0,r.useContext)(m);if(!e)throw new s.dV("DocsPreferredVersionContextProvider");return e}function v(e){void 0===e&&(e=o.W);const t=(0,a.ht)(e),[n,i]=b(),{preferredVersionName:l}=n[e];return{preferredVersion:t.versions.find((e=>e.name===l))??null,savePreferredVersionName:(0,r.useCallback)((t=>{i.savePreferredVersion(e,t)}),[i,e])}}function w(){const e=(0,a.Gy)(),[t]=b();function n(n){const r=e[n],{preferredVersionName:a}=t[n];return r.versions.find((e=>e.name===a))??null}const r=Object.keys(e);return Object.fromEntries(r.map((e=>[e,n(e)])))}},6588:(e,t,n)=>{"use strict";n.d(t,{V:()=>s,t:()=>u});var r=n(6540),a=n(9532),o=n(4848);const i=Symbol("EmptyContext"),l=r.createContext(i);function s(e){let{children:t,name:n,items:a}=e;const i=(0,r.useMemo)((()=>n&&a?{name:n,items:a}:null),[n,a]);return(0,o.jsx)(l.Provider,{value:i,children:t})}function u(){const e=(0,r.useContext)(l);if(e===i)throw new a.dV("DocsSidebarProvider");return e}},2252:(e,t,n)=>{"use strict";n.d(t,{n:()=>l,r:()=>s});var r=n(6540),a=n(9532),o=n(4848);const i=r.createContext(null);function l(e){let{children:t,version:n}=e;return(0,o.jsx)(i.Provider,{value:n,children:t})}function s(){const e=(0,r.useContext)(i);if(null===e)throw new a.dV("DocsVersionProvider");return e}},2069:(e,t,n)=>{"use strict";n.d(t,{M:()=>f,e:()=>p});var r=n(6540),a=n(5600),o=n(4581),i=n(7485),l=n(6342),s=n(9532),u=n(4848);const c=r.createContext(void 0);function d(){const e=function(){const e=(0,a.YL)(),{items:t}=(0,l.p)().navbar;return 0===t.length&&!e.component}(),t=(0,o.l)(),n=!e&&"mobile"===t,[s,u]=(0,r.useState)(!1);(0,i.$Z)((()=>{if(s)return u(!1),!1}));const c=(0,r.useCallback)((()=>{u((e=>!e))}),[]);return(0,r.useEffect)((()=>{"desktop"===t&&u(!1)}),[t]),(0,r.useMemo)((()=>({disabled:e,shouldRender:n,toggle:c,shown:s})),[e,n,c,s])}function p(e){let{children:t}=e;const n=d();return(0,u.jsx)(c.Provider,{value:n,children:t})}function f(){const e=r.useContext(c);if(void 0===e)throw new s.dV("NavbarMobileSidebarProvider");return e}},5600:(e,t,n)=>{"use strict";n.d(t,{GX:()=>u,YL:()=>s,y_:()=>l});var r=n(6540),a=n(9532),o=n(4848);const i=r.createContext(null);function l(e){let{children:t}=e;const n=(0,r.useState)({component:null,props:null});return(0,o.jsx)(i.Provider,{value:n,children:t})}function s(){const e=(0,r.useContext)(i);if(!e)throw new a.dV("NavbarSecondaryMenuContentProvider");return e[0]}function u(e){let{component:t,props:n}=e;const o=(0,r.useContext)(i);if(!o)throw new a.dV("NavbarSecondaryMenuContentProvider");const[,l]=o,s=(0,a.Be)(n);return(0,r.useEffect)((()=>{l({component:t,props:s})}),[l,t,s]),(0,r.useEffect)((()=>()=>l({component:null,props:null})),[l]),null}},4090:(e,t,n)=>{"use strict";n.d(t,{w:()=>a,J:()=>o});var r=n(6540);const a="navigation-with-keyboard";function o(){(0,r.useEffect)((()=>{function e(e){"keydown"===e.type&&"Tab"===e.key&&document.body.classList.add(a),"mousedown"===e.type&&document.body.classList.remove(a)}return document.addEventListener("keydown",e),document.addEventListener("mousedown",e),()=>{document.body.classList.remove(a),document.removeEventListener("keydown",e),document.removeEventListener("mousedown",e)}}),[])}},4255:(e,t,n)=>{"use strict";n.d(t,{b:()=>l,w:()=>s});var r=n(6540),a=n(4586),o=n(7485);const i="q";function l(){return(0,o.l)(i)}function s(){const{siteConfig:{baseUrl:e,themeConfig:t}}=(0,a.A)(),{algolia:{searchPagePath:n}}=t;return(0,r.useCallback)((t=>`${e}${n}?${i}=${encodeURIComponent(t)}`),[e,n])}},4581:(e,t,n)=>{"use strict";n.d(t,{l:()=>l});var r=n(6540),a=n(8193);const o={desktop:"desktop",mobile:"mobile",ssr:"ssr"},i=996;function l(e){let{desktopBreakpoint:t=i}=void 0===e?{}:e;const[n,l]=(0,r.useState)((()=>"ssr"));return(0,r.useEffect)((()=>{function e(){l(function(e){if(!a.A.canUseDOM)throw new Error("getWindowSize() should only be called after React hydration");return window.innerWidth>e?o.desktop:o.mobile}(t))}return e(),window.addEventListener("resize",e),()=>{window.removeEventListener("resize",e)}}),[t]),n}},7559:(e,t,n)=>{"use strict";n.d(t,{G:()=>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"}}},3109:(e,t,n)=>{"use strict";function r(){return window.matchMedia("(prefers-reduced-motion: reduce)").matches}n.d(t,{O:()=>r})},1754:(e,t,n)=>{"use strict";n.d(t,{Nr:()=>f,w8:()=>g,C5:()=>p,B5:()=>E,Vd:()=>k,QB:()=>S,fW:()=>x,OF:()=>w,Y:()=>b});var r=n(6540),a=n(6347),o=n(2831),i=n(4070),l=n(5597),s=n(2252),u=n(6588);function c(e){return Array.from(new Set(e))}var d=n(9169);const p=!!i.Gy;function f(e){return"link"!==e.type||e.unlisted?"category"===e.type?function(e){if(e.href&&!e.linkUnlisted)return e.href;for(const t of e.items){const e=f(t);if(e)return e}}(e):void 0:e.href}const m=(e,t)=>void 0!==e&&(0,d.ys)(e,t),h=(e,t)=>e.some((e=>g(e,t)));function g(e,t){return"link"===e.type?m(e.href,t):"category"===e.type&&(m(e.href,t)||h(e.items,t))}function y(e,t){switch(e.type){case"category":return g(e,t)||e.items.some((e=>y(e,t)));case"link":return!e.unlisted||g(e,t);default:return!0}}function b(e,t){return(0,r.useMemo)((()=>e.filter((e=>y(e,t)))),[e,t])}function v(e){let{sidebarItems:t,pathname:n,onlyCategories:r=!1}=e;const a=[];return function e(t){for(const o of t)if("category"===o.type&&((0,d.ys)(o.href,n)||e(o.items))||"link"===o.type&&(0,d.ys)(o.href,n)){return r&&"category"!==o.type||a.unshift(o),!0}return!1}(t),a}function w(){const e=(0,u.t)(),{pathname:t}=(0,a.zy)(),n=(0,i.vT)()?.pluginData.breadcrumbs;return!1!==n&&e?v({sidebarItems:e.items,pathname:t}):null}function k(e){const{activeVersion:t}=(0,i.zK)(e),{preferredVersion:n}=(0,l.g1)(e),a=(0,i.r7)(e);return(0,r.useMemo)((()=>c([t,n,a].filter(Boolean))),[t,n,a])}function x(e,t){const n=k(t);return(0,r.useMemo)((()=>{const t=n.flatMap((e=>e.sidebars?Object.entries(e.sidebars):[])),r=t.find((t=>t[0]===e));if(!r)throw new Error(`Can't find any sidebar with id "${e}" in version${n.length>1?"s":""} ${n.map((e=>e.name)).join(", ")}".\nAvailable sidebar ids are:\n- ${t.map((e=>e[0])).join("\n- ")}`);return r[1]}),[e,n])}function S(e,t){const n=k(t);return(0,r.useMemo)((()=>{const t=n.flatMap((e=>e.docs)),r=t.find((t=>t.id===e));if(!r){if(n.flatMap((e=>e.draftIds)).includes(e))return null;throw new Error(`Couldn't find any doc with id "${e}" in version${n.length>1?"s":""} "${n.map((e=>e.name)).join(", ")}".\nAvailable doc ids are:\n- ${c(t.map((e=>e.id))).join("\n- ")}`)}return r}),[e,n])}function E(e){let{route:t}=e;const n=(0,a.zy)(),r=(0,s.r)(),i=t.routes,l=i.find((e=>(0,a.B6)(n.pathname,e)));if(!l)return null;const u=l.sidebar,c=u?r.docsSidebars[u]:void 0;return{docElement:(0,o.v)(i),sidebarName:u,sidebarItems:c}}},2181:(e,t,n)=>{"use strict";n.d(t,{bq:()=>c,MN:()=>u,a2:()=>s,k2:()=>d});var r=n(6540),a=n(1312),o=n(440);const i={errorBoundaryError:"errorBoundaryError_a6uf",errorBoundaryFallback:"errorBoundaryFallback_VBag"};var l=n(4848);function s(e){return(0,l.jsx)("button",{type:"button",...e,children:(0,l.jsx)(a.A,{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 u(e){let{error:t,tryAgain:n}=e;return(0,l.jsxs)("div",{className:i.errorBoundaryFallback,children:[(0,l.jsx)("p",{children:t.message}),(0,l.jsx)(s,{onClick:n})]})}function c(e){let{error:t}=e;const n=(0,o.getErrorCausalChain)(t).map((e=>e.message)).join("\n\nCause:\n");return(0,l.jsx)("p",{className:i.errorBoundaryError,children:n})}class d extends r.Component{componentDidCatch(e,t){throw this.props.onError(e,t)}render(){return this.props.children}}},481:(e,t,n)=>{"use strict";n.d(t,{s:()=>a});var r=n(4586);function a(e){const{siteConfig:t}=(0,r.A)(),{title:n,titleDelimiter:a}=t;return e?.trim().length?`${e.trim()} ${a} ${n}`:n}},7485:(e,t,n)=>{"use strict";n.d(t,{$Z:()=>i,l:()=>s});var r=n(6540),a=n(6347),o=n(9532);function i(e){!function(e){const t=(0,a.W6)(),n=(0,o._q)(e);(0,r.useEffect)((()=>t.block(((e,t)=>n(e,t)))),[t,n])}(((t,n)=>{if("POP"===n)return e(t,n)}))}function l(e){const t=(0,a.W6)();return(0,r.useSyncExternalStore)(t.listen,(()=>e(t)),(()=>e(t)))}function s(e){const t=function(e){return l((t=>null===e?null:new URLSearchParams(t.location.search).get(e)))}(e)??"",n=function(e){const t=(0,a.W6)();return(0,r.useCallback)(((n,r)=>{const a=new URLSearchParams(t.location.search);n?a.set(e,n):a.delete(e),(r?.push?t.push:t.replace)({search:a.toString()})}),[e,t])}(e);return[t,n]}},9024:(e,t,n)=>{"use strict";n.d(t,{e3:()=>f,be:()=>d,Jx:()=>m});var r=n(6540),a=n(4164),o=n(5260),i=n(3102);function l(){const e=r.useContext(i.o);if(!e)throw new Error("Unexpected: no Docusaurus route context found");return e}var s=n(6025),u=n(481),c=n(4848);function d(e){let{title:t,description:n,keywords:r,image:a,children:i}=e;const l=(0,u.s)(t),{withBaseUrl:d}=(0,s.hH)(),p=a?d(a,{absolute:!0}):void 0;return(0,c.jsxs)(o.A,{children:[t&&(0,c.jsx)("title",{children:l}),t&&(0,c.jsx)("meta",{property:"og:title",content:l}),n&&(0,c.jsx)("meta",{name:"description",content:n}),n&&(0,c.jsx)("meta",{property:"og:description",content:n}),r&&(0,c.jsx)("meta",{name:"keywords",content:Array.isArray(r)?r.join(","):r}),p&&(0,c.jsx)("meta",{property:"og:image",content:p}),p&&(0,c.jsx)("meta",{name:"twitter:image",content:p}),i]})}const p=r.createContext(void 0);function f(e){let{className:t,children:n}=e;const i=r.useContext(p),l=(0,a.A)(i,t);return(0,c.jsxs)(p.Provider,{value:l,children:[(0,c.jsx)(o.A,{children:(0,c.jsx)("html",{className:l})}),n]})}function m(e){let{children:t}=e;const n=l(),r=`plugin-${n.plugin.name.replace(/docusaurus-(?:plugin|theme)-(?:content-)?/gi,"")}`;const o=`plugin-id-${n.plugin.id}`;return(0,c.jsx)(f,{className:(0,a.A)(r,o),children:t})}},9532:(e,t,n)=>{"use strict";n.d(t,{Be:()=>u,ZC:()=>l,_q:()=>i,dV:()=>s,fM:()=>c});var r=n(6540),a=n(205),o=n(4848);function i(e){const t=(0,r.useRef)(e);return(0,a.A)((()=>{t.current=e}),[e]),(0,r.useCallback)((function(){return t.current(...arguments)}),[])}function l(e){const t=(0,r.useRef)();return(0,a.A)((()=>{t.current=e})),t.current}class s extends Error{constructor(e,t){super(),this.name="ReactContextError",this.message=`Hook ${this.stack?.split("\n")[1]?.match(/at (?:\w+\.)?(?<name>\w+)/)?.groups.name??""} is called outside the <${e}>. ${t??""}`}}function u(e){const t=Object.entries(e);return t.sort(((e,t)=>e[0].localeCompare(t[0]))),(0,r.useMemo)((()=>e),t.flat())}function c(e){return t=>{let{children:n}=t;return(0,o.jsx)(o.Fragment,{children:e.reduceRight(((e,t)=>(0,o.jsx)(t,{children:e})),n)})}}},1252:(e,t,n)=>{"use strict";function r(e,t){return void 0!==e&&void 0!==t&&new RegExp(e,"gi").test(t)}n.d(t,{G:()=>r})},9169:(e,t,n)=>{"use strict";n.d(t,{Dt:()=>l,ys:()=>i});var r=n(6540),a=n(8328),o=n(4586);function i(e,t){const n=e=>(!e||e.endsWith("/")?e:`${e}/`)?.toLowerCase();return n(e)===n(t)}function l(){const{baseUrl:e}=(0,o.A)().siteConfig;return(0,r.useMemo)((()=>function(e){let{baseUrl:t,routes:n}=e;function r(e){return e.path===t&&!0===e.exact}function a(e){return e.path===t&&!e.exact}return function e(t){if(0===t.length)return;return t.find(r)||e(t.filter(a).flatMap((e=>e.routes??[])))}(n)}({routes:a.A,baseUrl:e})),[e])}},3104:(e,t,n)=>{"use strict";n.d(t,{Mq:()=>p,Tv:()=>u,gk:()=>f});var r=n(6540),a=n(8193),o=n(2303),i=(n(205),n(9532)),l=n(4848);const s=r.createContext(void 0);function u(e){let{children:t}=e;const n=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)(s.Provider,{value:n,children:t})}function c(){const e=(0,r.useContext)(s);if(null==e)throw new i.dV("ScrollControllerProvider");return e}const d=()=>a.A.canUseDOM?{scrollX:window.pageXOffset,scrollY:window.pageYOffset}:null;function p(e,t){void 0===t&&(t=[]);const{scrollEventsEnabledRef:n}=c(),a=(0,r.useRef)(d()),o=(0,i._q)(e);(0,r.useEffect)((()=>{const e=()=>{if(!n.current)return;const e=d();o(e,a.current),a.current=e},t={passive:!0};return e(),window.addEventListener("scroll",e,t),()=>window.removeEventListener("scroll",e,t)}),[o,n,...t])}function f(){const e=(0,r.useRef)(null),t=(0,o.A)()&&"smooth"===getComputedStyle(document.documentElement).scrollBehavior;return{startScroll:n=>{e.current=t?function(e){return window.scrollTo({top:e,behavior:"smooth"}),()=>{}}(n):function(e){let t=null;const n=document.documentElement.scrollTop>e;return function r(){const a=document.documentElement.scrollTop;(n&&a>e||!n&&a<e)&&(t=requestAnimationFrame(r),window.scrollTo(0,Math.floor(.85*(a-e))+e))}(),()=>t&&cancelAnimationFrame(t)}(n)},cancelScroll:()=>e.current?.()}}},2967:(e,t,n)=>{"use strict";n.d(t,{Cy:()=>i,af:()=>s,tU:()=>l});var r=n(4070),a=n(4586),o=n(5597);const i="default";function l(e,t){return`docs-${e}-${t}`}function s(){const{i18n:e}=(0,a.A)(),t=(0,r.Gy)(),n=(0,r.gk)(),s=(0,o.XK)();const u=[i,...Object.keys(t).map((function(e){const r=n?.activePlugin.pluginId===e?n.activeVersion:void 0,a=s[e],o=t[e].versions.find((e=>e.isLast));return l(e,(r??a??o).name)}))];return{locale:e.currentLocale,tags:u}}},679:(e,t,n)=>{"use strict";n.d(t,{Wf:()=>u});n(6540);const r=JSON.parse('{"N":"localStorage","M":""}'),a=r.N;function o(e){let{key:t,oldValue:n,newValue:r,storage:a}=e;if(n===r)return;const o=document.createEvent("StorageEvent");o.initStorageEvent("storage",!1,!1,t,n,r,window.location.href,a),window.dispatchEvent(o)}function i(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(n){return t=n,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.",t),l=!0),null}var t}let l=!1;const s={get:()=>null,set:()=>{},del:()=>{},listen:()=>()=>{}};function u(e,t){const n=`${e}${r.M}`;if("undefined"==typeof window)return function(e){function t(){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:t,set:t,del:t,listen:t}}(n);const a=i(t?.persistence);return null===a?s:{get:()=>{try{return a.getItem(n)}catch(e){return console.error(`Docusaurus storage error, can't get key=${n}`,e),null}},set:e=>{try{const t=a.getItem(n);a.setItem(n,e),o({key:n,oldValue:t,newValue:e,storage:a})}catch(t){console.error(`Docusaurus storage error, can't set ${n}=${e}`,t)}},del:()=>{try{const e=a.getItem(n);a.removeItem(n),o({key:n,oldValue:e,newValue:null,storage:a})}catch(e){console.error(`Docusaurus storage error, can't delete key=${n}`,e)}},listen:e=>{try{const t=t=>{t.storageArea===a&&t.key===n&&e(t)};return window.addEventListener("storage",t),()=>window.removeEventListener("storage",t)}catch(t){return console.error(`Docusaurus storage error, can't listen for changes of key=${n}`,t),()=>{}}}}}},2131:(e,t,n)=>{"use strict";n.d(t,{o:()=>i});var r=n(4586),a=n(6347),o=n(440);function i(){const{siteConfig:{baseUrl:e,url:t,trailingSlash:n},i18n:{defaultLocale:i,currentLocale:l}}=(0,r.A)(),{pathname:s}=(0,a.zy)(),u=(0,o.applyTrailingSlash)(s,{trailingSlash:n,baseUrl:e}),c=l===i?e:e.replace(`/${l}/`,"/"),d=u.replace(e,"");return{createUrl:function(e){let{locale:n,fullyQualified:r}=e;return`${r?t:""}${function(e){return e===i?`${c}`:`${c}${e}/`}(n)}${d}`}}}},5062:(e,t,n)=>{"use strict";n.d(t,{$:()=>i});var r=n(6540),a=n(6347),o=n(9532);function i(e){const t=(0,a.zy)(),n=(0,o.ZC)(t),i=(0,o._q)(e);(0,r.useEffect)((()=>{n&&t!==n&&i({location:t,previousLocation:n})}),[i,t,n])}},6342:(e,t,n)=>{"use strict";n.d(t,{p:()=>a});var r=n(4586);function a(){return(0,r.A)().siteConfig.themeConfig}},8126:(e,t,n)=>{"use strict";n.d(t,{c:()=>a});var r=n(4586);function a(){const{siteConfig:{themeConfig:e}}=(0,r.A)();return e}},1062:(e,t,n)=>{"use strict";n.d(t,{C:()=>l});var r=n(6540),a=n(1252),o=n(6025),i=n(8126);function l(){const{withBaseUrl:e}=(0,o.hH)(),{algolia:{externalUrlRegex:t,replaceSearchResultPathname:n}}=(0,i.c)();return(0,r.useCallback)((r=>{const o=new URL(r);if((0,a.G)(t,o.href))return r;const i=`${o.pathname+o.hash}`;return e(function(e,t){return t?e.replaceAll(new RegExp(t.from,"g"),t.to):e}(i,n))}),[e,t,n])}},2983:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.removeTrailingSlash=t.addLeadingSlash=t.addTrailingSlash=void 0;const r=n(2566);function a(e){return e.endsWith("/")?e:`${e}/`}function o(e){return(0,r.removeSuffix)(e,"/")}t.addTrailingSlash=a,t.default=function(e,t){const{trailingSlash:n,baseUrl:r}=t;if(e.startsWith("#"))return e;if(void 0===n)return e;const[i]=e.split(/[#?]/),l="/"===i||i===r?i:(s=i,n?a(s):o(s));var s;return e.replace(i,l)},t.addLeadingSlash=function(e){return(0,r.addPrefix)(e,"/")},t.removeTrailingSlash=o},253:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getErrorCausalChain=void 0,t.getErrorCausalChain=function e(t){return t.cause?[t,...e(t.cause)]:[t]}},440: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.getErrorCausalChain=t.removePrefix=t.addSuffix=t.removeSuffix=t.addPrefix=t.removeTrailingSlash=t.addLeadingSlash=t.addTrailingSlash=t.applyTrailingSlash=t.blogPostContainerID=void 0,t.blogPostContainerID="__blog-post-container";var a=n(2983);Object.defineProperty(t,"applyTrailingSlash",{enumerable:!0,get:function(){return r(a).default}}),Object.defineProperty(t,"addTrailingSlash",{enumerable:!0,get:function(){return a.addTrailingSlash}}),Object.defineProperty(t,"addLeadingSlash",{enumerable:!0,get:function(){return a.addLeadingSlash}}),Object.defineProperty(t,"removeTrailingSlash",{enumerable:!0,get:function(){return a.removeTrailingSlash}});var o=n(2566);Object.defineProperty(t,"addPrefix",{enumerable:!0,get:function(){return o.addPrefix}}),Object.defineProperty(t,"removeSuffix",{enumerable:!0,get:function(){return o.removeSuffix}}),Object.defineProperty(t,"addSuffix",{enumerable:!0,get:function(){return o.addSuffix}}),Object.defineProperty(t,"removePrefix",{enumerable:!0,get:function(){return o.removePrefix}});var i=n(253);Object.defineProperty(t,"getErrorCausalChain",{enumerable:!0,get:function(){return i.getErrorCausalChain}})},2566:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.removePrefix=t.addSuffix=t.removeSuffix=t.addPrefix=void 0,t.addPrefix=function(e,t){return e.startsWith(t)?e:`${t}${e}`},t.removeSuffix=function(e,t){return""===t?e:e.endsWith(t)?e.slice(0,-t.length):e},t.addSuffix=function(e,t){return e.endsWith(t)?e:`${e}${t}`},t.removePrefix=function(e,t){return e.startsWith(t)?e.slice(t.length):e}},1513:(e,t,n)=>{"use strict";n.d(t,{zR:()=>w,TM:()=>T,yJ:()=>f,sC:()=>_,AO:()=>p});var r=n(8168);function a(e){return"/"===e.charAt(0)}function o(e,t){for(var n=t,r=n+1,a=e.length;r<a;n+=1,r+=1)e[n]=e[r];e.pop()}const i=function(e,t){void 0===t&&(t="");var n,r=e&&e.split("/")||[],i=t&&t.split("/")||[],l=e&&a(e),s=t&&a(t),u=l||s;if(e&&a(e)?i=r:r.length&&(i.pop(),i=i.concat(r)),!i.length)return"/";if(i.length){var c=i[i.length-1];n="."===c||".."===c||""===c}else n=!1;for(var d=0,p=i.length;p>=0;p--){var f=i[p];"."===f?o(i,p):".."===f?(o(i,p),d++):d&&(o(i,p),d--)}if(!u)for(;d--;d)i.unshift("..");!u||""===i[0]||i[0]&&a(i[0])||i.unshift("");var m=i.join("/");return n&&"/"!==m.substr(-1)&&(m+="/"),m};var l=n(1561);function s(e){return"/"===e.charAt(0)?e:"/"+e}function u(e){return"/"===e.charAt(0)?e.substr(1):e}function c(e,t){return function(e,t){return 0===e.toLowerCase().indexOf(t.toLowerCase())&&-1!=="/?#".indexOf(e.charAt(t.length))}(e,t)?e.substr(t.length):e}function d(e){return"/"===e.charAt(e.length-1)?e.slice(0,-1):e}function p(e){var t=e.pathname,n=e.search,r=e.hash,a=t||"/";return n&&"?"!==n&&(a+="?"===n.charAt(0)?n:"?"+n),r&&"#"!==r&&(a+="#"===r.charAt(0)?r:"#"+r),a}function f(e,t,n,a){var o;"string"==typeof e?(o=function(e){var t=e||"/",n="",r="",a=t.indexOf("#");-1!==a&&(r=t.substr(a),t=t.substr(0,a));var o=t.indexOf("?");return-1!==o&&(n=t.substr(o),t=t.substr(0,o)),{pathname:t,search:"?"===n?"":n,hash:"#"===r?"":r}}(e),o.state=t):(void 0===(o=(0,r.A)({},e)).pathname&&(o.pathname=""),o.search?"?"!==o.search.charAt(0)&&(o.search="?"+o.search):o.search="",o.hash?"#"!==o.hash.charAt(0)&&(o.hash="#"+o.hash):o.hash="",void 0!==t&&void 0===o.state&&(o.state=t));try{o.pathname=decodeURI(o.pathname)}catch(l){throw l instanceof URIError?new URIError('Pathname "'+o.pathname+'" could not be decoded. This is likely caused by an invalid percent-encoding.'):l}return n&&(o.key=n),a?o.pathname?"/"!==o.pathname.charAt(0)&&(o.pathname=i(o.pathname,a.pathname)):o.pathname=a.pathname:o.pathname||(o.pathname="/"),o}function m(){var e=null;var t=[];return{setPrompt:function(t){return e=t,function(){e===t&&(e=null)}},confirmTransitionTo:function(t,n,r,a){if(null!=e){var o="function"==typeof e?e(t,n):e;"string"==typeof o?"function"==typeof r?r(o,a):a(!0):a(!1!==o)}else a(!0)},appendListener:function(e){var n=!0;function r(){n&&e.apply(void 0,arguments)}return t.push(r),function(){n=!1,t=t.filter((function(e){return e!==r}))}},notifyListeners:function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];t.forEach((function(e){return e.apply(void 0,n)}))}}}var h=!("undefined"==typeof window||!window.document||!window.document.createElement);function g(e,t){t(window.confirm(e))}var y="popstate",b="hashchange";function v(){try{return window.history.state||{}}catch(e){return{}}}function w(e){void 0===e&&(e={}),h||(0,l.A)(!1);var t,n=window.history,a=(-1===(t=window.navigator.userAgent).indexOf("Android 2.")&&-1===t.indexOf("Android 4.0")||-1===t.indexOf("Mobile Safari")||-1!==t.indexOf("Chrome")||-1!==t.indexOf("Windows Phone"))&&window.history&&"pushState"in window.history,o=!(-1===window.navigator.userAgent.indexOf("Trident")),i=e,u=i.forceRefresh,w=void 0!==u&&u,k=i.getUserConfirmation,x=void 0===k?g:k,S=i.keyLength,E=void 0===S?6:S,C=e.basename?d(s(e.basename)):"";function T(e){var t=e||{},n=t.key,r=t.state,a=window.location,o=a.pathname+a.search+a.hash;return C&&(o=c(o,C)),f(o,r,n)}function A(){return Math.random().toString(36).substr(2,E)}var _=m();function j(e){(0,r.A)($,e),$.length=n.length,_.notifyListeners($.location,$.action)}function R(e){(function(e){return void 0===e.state&&-1===navigator.userAgent.indexOf("CriOS")})(e)||P(T(e.state))}function L(){P(T(v()))}var N=!1;function P(e){if(N)N=!1,j();else{_.confirmTransitionTo(e,"POP",x,(function(t){t?j({action:"POP",location:e}):function(e){var t=$.location,n=D.indexOf(t.key);-1===n&&(n=0);var r=D.indexOf(e.key);-1===r&&(r=0);var a=n-r;a&&(N=!0,M(a))}(e)}))}}var O=T(v()),D=[O.key];function I(e){return C+p(e)}function M(e){n.go(e)}var F=0;function z(e){1===(F+=e)&&1===e?(window.addEventListener(y,R),o&&window.addEventListener(b,L)):0===F&&(window.removeEventListener(y,R),o&&window.removeEventListener(b,L))}var B=!1;var $={length:n.length,action:"POP",location:O,createHref:I,push:function(e,t){var r="PUSH",o=f(e,t,A(),$.location);_.confirmTransitionTo(o,r,x,(function(e){if(e){var t=I(o),i=o.key,l=o.state;if(a)if(n.pushState({key:i,state:l},null,t),w)window.location.href=t;else{var s=D.indexOf($.location.key),u=D.slice(0,s+1);u.push(o.key),D=u,j({action:r,location:o})}else window.location.href=t}}))},replace:function(e,t){var r="REPLACE",o=f(e,t,A(),$.location);_.confirmTransitionTo(o,r,x,(function(e){if(e){var t=I(o),i=o.key,l=o.state;if(a)if(n.replaceState({key:i,state:l},null,t),w)window.location.replace(t);else{var s=D.indexOf($.location.key);-1!==s&&(D[s]=o.key),j({action:r,location:o})}else window.location.replace(t)}}))},go:M,goBack:function(){M(-1)},goForward:function(){M(1)},block:function(e){void 0===e&&(e=!1);var t=_.setPrompt(e);return B||(z(1),B=!0),function(){return B&&(B=!1,z(-1)),t()}},listen:function(e){var t=_.appendListener(e);return z(1),function(){z(-1),t()}}};return $}var k="hashchange",x={hashbang:{encodePath:function(e){return"!"===e.charAt(0)?e:"!/"+u(e)},decodePath:function(e){return"!"===e.charAt(0)?e.substr(1):e}},noslash:{encodePath:u,decodePath:s},slash:{encodePath:s,decodePath:s}};function S(e){var t=e.indexOf("#");return-1===t?e:e.slice(0,t)}function E(){var e=window.location.href,t=e.indexOf("#");return-1===t?"":e.substring(t+1)}function C(e){window.location.replace(S(window.location.href)+"#"+e)}function T(e){void 0===e&&(e={}),h||(0,l.A)(!1);var t=window.history,n=(window.navigator.userAgent.indexOf("Firefox"),e),a=n.getUserConfirmation,o=void 0===a?g:a,i=n.hashType,u=void 0===i?"slash":i,y=e.basename?d(s(e.basename)):"",b=x[u],v=b.encodePath,w=b.decodePath;function T(){var e=w(E());return y&&(e=c(e,y)),f(e)}var A=m();function _(e){(0,r.A)(B,e),B.length=t.length,A.notifyListeners(B.location,B.action)}var j=!1,R=null;function L(){var e,t,n=E(),r=v(n);if(n!==r)C(r);else{var a=T(),i=B.location;if(!j&&(t=a,(e=i).pathname===t.pathname&&e.search===t.search&&e.hash===t.hash))return;if(R===p(a))return;R=null,function(e){if(j)j=!1,_();else{var t="POP";A.confirmTransitionTo(e,t,o,(function(n){n?_({action:t,location:e}):function(e){var t=B.location,n=D.lastIndexOf(p(t));-1===n&&(n=0);var r=D.lastIndexOf(p(e));-1===r&&(r=0);var a=n-r;a&&(j=!0,I(a))}(e)}))}}(a)}}var N=E(),P=v(N);N!==P&&C(P);var O=T(),D=[p(O)];function I(e){t.go(e)}var M=0;function F(e){1===(M+=e)&&1===e?window.addEventListener(k,L):0===M&&window.removeEventListener(k,L)}var z=!1;var B={length:t.length,action:"POP",location:O,createHref:function(e){var t=document.querySelector("base"),n="";return t&&t.getAttribute("href")&&(n=S(window.location.href)),n+"#"+v(y+p(e))},push:function(e,t){var n="PUSH",r=f(e,void 0,void 0,B.location);A.confirmTransitionTo(r,n,o,(function(e){if(e){var t=p(r),a=v(y+t);if(E()!==a){R=t,function(e){window.location.hash=e}(a);var o=D.lastIndexOf(p(B.location)),i=D.slice(0,o+1);i.push(t),D=i,_({action:n,location:r})}else _()}}))},replace:function(e,t){var n="REPLACE",r=f(e,void 0,void 0,B.location);A.confirmTransitionTo(r,n,o,(function(e){if(e){var t=p(r),a=v(y+t);E()!==a&&(R=t,C(a));var o=D.indexOf(p(B.location));-1!==o&&(D[o]=t),_({action:n,location:r})}}))},go:I,goBack:function(){I(-1)},goForward:function(){I(1)},block:function(e){void 0===e&&(e=!1);var t=A.setPrompt(e);return z||(F(1),z=!0),function(){return z&&(z=!1,F(-1)),t()}},listen:function(e){var t=A.appendListener(e);return F(1),function(){F(-1),t()}}};return B}function A(e,t,n){return Math.min(Math.max(e,t),n)}function _(e){void 0===e&&(e={});var t=e,n=t.getUserConfirmation,a=t.initialEntries,o=void 0===a?["/"]:a,i=t.initialIndex,l=void 0===i?0:i,s=t.keyLength,u=void 0===s?6:s,c=m();function d(e){(0,r.A)(w,e),w.length=w.entries.length,c.notifyListeners(w.location,w.action)}function h(){return Math.random().toString(36).substr(2,u)}var g=A(l,0,o.length-1),y=o.map((function(e){return f(e,void 0,"string"==typeof e?h():e.key||h())})),b=p;function v(e){var t=A(w.index+e,0,w.entries.length-1),r=w.entries[t];c.confirmTransitionTo(r,"POP",n,(function(e){e?d({action:"POP",location:r,index:t}):d()}))}var w={length:y.length,action:"POP",location:y[g],index:g,entries:y,createHref:b,push:function(e,t){var r="PUSH",a=f(e,t,h(),w.location);c.confirmTransitionTo(a,r,n,(function(e){if(e){var t=w.index+1,n=w.entries.slice(0);n.length>t?n.splice(t,n.length-t,a):n.push(a),d({action:r,location:a,index:t,entries:n})}}))},replace:function(e,t){var r="REPLACE",a=f(e,t,h(),w.location);c.confirmTransitionTo(a,r,n,(function(e){e&&(w.entries[w.index]=a,d({action:r,location:a}))}))},go:v,goBack:function(){v(-1)},goForward:function(){v(1)},canGo:function(e){var t=w.index+e;return t>=0&&t<w.entries.length},block:function(e){return void 0===e&&(e=!1),c.setPrompt(e)},listen:function(e){return c.appendListener(e)}};return w}},4146:(e,t,n)=>{"use strict";var r=n(4363),a={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},o={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},l={};function s(e){return r.isMemo(e)?i:l[e.$$typeof]||a}l[r.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},l[r.Memo]=i;var u=Object.defineProperty,c=Object.getOwnPropertyNames,d=Object.getOwnPropertySymbols,p=Object.getOwnPropertyDescriptor,f=Object.getPrototypeOf,m=Object.prototype;e.exports=function e(t,n,r){if("string"!=typeof n){if(m){var a=f(n);a&&a!==m&&e(t,a,r)}var i=c(n);d&&(i=i.concat(d(n)));for(var l=s(t),h=s(n),g=0;g<i.length;++g){var y=i[g];if(!(o[y]||r&&r[y]||h&&h[y]||l&&l[y])){var b=p(n,y);try{u(t,y,b)}catch(v){}}}}return t}},311:e=>{"use strict";e.exports=function(e,t,n,r,a,o,i,l){if(!e){var s;if(void 0===t)s=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var u=[n,r,a,o,i,l],c=0;(s=new Error(t.replace(/%s/g,(function(){return u[c++]})))).name="Invariant Violation"}throw s.framesToPop=1,s}}},4634:e=>{e.exports=Array.isArray||function(e){return"[object Array]"==Object.prototype.toString.call(e)}},119:(e,t,n)=>{"use strict";n.r(t)},1043:(e,t,n)=>{"use strict";n.r(t)},5947:function(e,t,n){var r,a;r=function(){var e,t,n={version:"0.2.0"},r=n.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 a(e,t,n){return e<t?t:e>n?n:e}function o(e){return 100*(-1+e)}function i(e,t,n){var a;return(a="translate3d"===r.positionUsing?{transform:"translate3d("+o(e)+"%,0,0)"}:"translate"===r.positionUsing?{transform:"translate("+o(e)+"%,0)"}:{"margin-left":o(e)+"%"}).transition="all "+t+"ms "+n,a}n.configure=function(e){var t,n;for(t in e)void 0!==(n=e[t])&&e.hasOwnProperty(t)&&(r[t]=n);return this},n.status=null,n.set=function(e){var t=n.isStarted();e=a(e,r.minimum,1),n.status=1===e?null:e;var o=n.render(!t),u=o.querySelector(r.barSelector),c=r.speed,d=r.easing;return o.offsetWidth,l((function(t){""===r.positionUsing&&(r.positionUsing=n.getPositioningCSS()),s(u,i(e,c,d)),1===e?(s(o,{transition:"none",opacity:1}),o.offsetWidth,setTimeout((function(){s(o,{transition:"all "+c+"ms linear",opacity:0}),setTimeout((function(){n.remove(),t()}),c)}),c)):setTimeout(t,c)})),this},n.isStarted=function(){return"number"==typeof n.status},n.start=function(){n.status||n.set(0);var e=function(){setTimeout((function(){n.status&&(n.trickle(),e())}),r.trickleSpeed)};return r.trickle&&e(),this},n.done=function(e){return e||n.status?n.inc(.3+.5*Math.random()).set(1):this},n.inc=function(e){var t=n.status;return t?("number"!=typeof e&&(e=(1-t)*a(Math.random()*t,.1,.95)),t=a(t+e,0,.994),n.set(t)):n.start()},n.trickle=function(){return n.inc(Math.random()*r.trickleRate)},e=0,t=0,n.promise=function(r){return r&&"resolved"!==r.state()?(0===t&&n.start(),e++,t++,r.always((function(){0==--t?(e=0,n.done()):n.set((e-t)/e)})),this):this},n.render=function(e){if(n.isRendered())return document.getElementById("nprogress");c(document.documentElement,"nprogress-busy");var t=document.createElement("div");t.id="nprogress",t.innerHTML=r.template;var a,i=t.querySelector(r.barSelector),l=e?"-100":o(n.status||0),u=document.querySelector(r.parent);return s(i,{transition:"all 0 linear",transform:"translate3d("+l+"%,0,0)"}),r.showSpinner||(a=t.querySelector(r.spinnerSelector))&&f(a),u!=document.body&&c(u,"nprogress-custom-parent"),u.appendChild(t),t},n.remove=function(){d(document.documentElement,"nprogress-busy"),d(document.querySelector(r.parent),"nprogress-custom-parent");var e=document.getElementById("nprogress");e&&f(e)},n.isRendered=function(){return!!document.getElementById("nprogress")},n.getPositioningCSS=function(){var e=document.body.style,t="WebkitTransform"in e?"Webkit":"MozTransform"in e?"Moz":"msTransform"in e?"ms":"OTransform"in e?"O":"";return t+"Perspective"in e?"translate3d":t+"Transform"in e?"translate":"margin"};var l=function(){var e=[];function t(){var n=e.shift();n&&n(t)}return function(n){e.push(n),1==e.length&&t()}}(),s=function(){var e=["Webkit","O","Moz","ms"],t={};function n(e){return e.replace(/^-ms-/,"ms-").replace(/-([\da-z])/gi,(function(e,t){return t.toUpperCase()}))}function r(t){var n=document.body.style;if(t in n)return t;for(var r,a=e.length,o=t.charAt(0).toUpperCase()+t.slice(1);a--;)if((r=e[a]+o)in n)return r;return t}function a(e){return e=n(e),t[e]||(t[e]=r(e))}function o(e,t,n){t=a(t),e.style[t]=n}return function(e,t){var n,r,a=arguments;if(2==a.length)for(n in t)void 0!==(r=t[n])&&t.hasOwnProperty(n)&&o(e,n,r);else o(e,a[1],a[2])}}();function u(e,t){return("string"==typeof e?e:p(e)).indexOf(" "+t+" ")>=0}function c(e,t){var n=p(e),r=n+t;u(n,t)||(e.className=r.substring(1))}function d(e,t){var n,r=p(e);u(e,t)&&(n=r.replace(" "+t+" "," "),e.className=n.substring(1,n.length-1))}function p(e){return(" "+(e.className||"")+" ").replace(/\s+/gi," ")}function f(e){e&&e.parentNode&&e.parentNode.removeChild(e)}return n},void 0===(a="function"==typeof r?r.call(t,n,t,e):r)||(e.exports=a)},6969:e=>{e.exports&&(e.exports={core:{meta:{path:"components/prism-core.js",option:"mandatory"},core:"Core"},themes:{meta:{path:"themes/{id}.css",link:"index.html?theme={id}",exclusive:!0},prism:{title:"Default",option:"default"},"prism-dark":"Dark","prism-funky":"Funky","prism-okaidia":{title:"Okaidia",owner:"ocodia"},"prism-twilight":{title:"Twilight",owner:"remybach"},"prism-coy":{title:"Coy",owner:"tshedor"},"prism-solarizedlight":{title:"Solarized Light",owner:"hectormatos2011 "},"prism-tomorrow":{title:"Tomorrow Night",owner:"Rosey"}},languages:{meta:{path:"components/prism-{id}",noCSS:!0,examplesPath:"examples/prism-{id}",addCheckAll:!0},markup:{title:"Markup",alias:["html","xml","svg","mathml","ssml","atom","rss"],aliasTitles:{html:"HTML",xml:"XML",svg:"SVG",mathml:"MathML",ssml:"SSML",atom:"Atom",rss:"RSS"},option:"default"},css:{title:"CSS",option:"default",modify:"markup"},clike:{title:"C-like",option:"default"},javascript:{title:"JavaScript",require:"clike",modify:"markup",optional:"regex",alias:"js",option:"default"},abap:{title:"ABAP",owner:"dellagustin"},abnf:{title:"ABNF",owner:"RunDevelopment"},actionscript:{title:"ActionScript",require:"javascript",modify:"markup",owner:"Golmote"},ada:{title:"Ada",owner:"Lucretia"},agda:{title:"Agda",owner:"xy-ren"},al:{title:"AL",owner:"RunDevelopment"},antlr4:{title:"ANTLR4",alias:"g4",owner:"RunDevelopment"},apacheconf:{title:"Apache Configuration",owner:"GuiTeK"},apex:{title:"Apex",require:["clike","sql"],owner:"RunDevelopment"},apl:{title:"APL",owner:"ngn"},applescript:{title:"AppleScript",owner:"Golmote"},aql:{title:"AQL",owner:"RunDevelopment"},arduino:{title:"Arduino",require:"cpp",alias:"ino",owner:"dkern"},arff:{title:"ARFF",owner:"Golmote"},armasm:{title:"ARM Assembly",alias:"arm-asm",owner:"RunDevelopment"},arturo:{title:"Arturo",alias:"art",optional:["bash","css","javascript","markup","markdown","sql"],owner:"drkameleon"},asciidoc:{alias:"adoc",title:"AsciiDoc",owner:"Golmote"},aspnet:{title:"ASP.NET (C#)",require:["markup","csharp"],owner:"nauzilus"},asm6502:{title:"6502 Assembly",owner:"kzurawel"},asmatmel:{title:"Atmel AVR Assembly",owner:"cerkit"},autohotkey:{title:"AutoHotkey",owner:"aviaryan"},autoit:{title:"AutoIt",owner:"Golmote"},avisynth:{title:"AviSynth",alias:"avs",owner:"Zinfidel"},"avro-idl":{title:"Avro IDL",alias:"avdl",owner:"RunDevelopment"},awk:{title:"AWK",alias:"gawk",aliasTitles:{gawk:"GAWK"},owner:"RunDevelopment"},bash:{title:"Bash",alias:["sh","shell"],aliasTitles:{sh:"Shell",shell:"Shell"},owner:"zeitgeist87"},basic:{title:"BASIC",owner:"Golmote"},batch:{title:"Batch",owner:"Golmote"},bbcode:{title:"BBcode",alias:"shortcode",aliasTitles:{shortcode:"Shortcode"},owner:"RunDevelopment"},bbj:{title:"BBj",owner:"hyyan"},bicep:{title:"Bicep",owner:"johnnyreilly"},birb:{title:"Birb",require:"clike",owner:"Calamity210"},bison:{title:"Bison",require:"c",owner:"Golmote"},bnf:{title:"BNF",alias:"rbnf",aliasTitles:{rbnf:"RBNF"},owner:"RunDevelopment"},bqn:{title:"BQN",owner:"yewscion"},brainfuck:{title:"Brainfuck",owner:"Golmote"},brightscript:{title:"BrightScript",owner:"RunDevelopment"},bro:{title:"Bro",owner:"wayward710"},bsl:{title:"BSL (1C:Enterprise)",alias:"oscript",aliasTitles:{oscript:"OneScript"},owner:"Diversus23"},c:{title:"C",require:"clike",owner:"zeitgeist87"},csharp:{title:"C#",require:"clike",alias:["cs","dotnet"],owner:"mvalipour"},cpp:{title:"C++",require:"c",owner:"zeitgeist87"},cfscript:{title:"CFScript",require:"clike",alias:"cfc",owner:"mjclemente"},chaiscript:{title:"ChaiScript",require:["clike","cpp"],owner:"RunDevelopment"},cil:{title:"CIL",owner:"sbrl"},cilkc:{title:"Cilk/C",require:"c",alias:"cilk-c",owner:"OpenCilk"},cilkcpp:{title:"Cilk/C++",require:"cpp",alias:["cilk-cpp","cilk"],owner:"OpenCilk"},clojure:{title:"Clojure",owner:"troglotit"},cmake:{title:"CMake",owner:"mjrogozinski"},cobol:{title:"COBOL",owner:"RunDevelopment"},coffeescript:{title:"CoffeeScript",require:"javascript",alias:"coffee",owner:"R-osey"},concurnas:{title:"Concurnas",alias:"conc",owner:"jasontatton"},csp:{title:"Content-Security-Policy",owner:"ScottHelme"},cooklang:{title:"Cooklang",owner:"ahue"},coq:{title:"Coq",owner:"RunDevelopment"},crystal:{title:"Crystal",require:"ruby",owner:"MakeNowJust"},"css-extras":{title:"CSS Extras",require:"css",modify:"css",owner:"milesj"},csv:{title:"CSV",owner:"RunDevelopment"},cue:{title:"CUE",owner:"RunDevelopment"},cypher:{title:"Cypher",owner:"RunDevelopment"},d:{title:"D",require:"clike",owner:"Golmote"},dart:{title:"Dart",require:"clike",owner:"Golmote"},dataweave:{title:"DataWeave",owner:"machaval"},dax:{title:"DAX",owner:"peterbud"},dhall:{title:"Dhall",owner:"RunDevelopment"},diff:{title:"Diff",owner:"uranusjr"},django:{title:"Django/Jinja2",require:"markup-templating",alias:"jinja2",owner:"romanvm"},"dns-zone-file":{title:"DNS zone file",owner:"RunDevelopment",alias:"dns-zone"},docker:{title:"Docker",alias:"dockerfile",owner:"JustinBeckwith"},dot:{title:"DOT (Graphviz)",alias:"gv",optional:"markup",owner:"RunDevelopment"},ebnf:{title:"EBNF",owner:"RunDevelopment"},editorconfig:{title:"EditorConfig",owner:"osipxd"},eiffel:{title:"Eiffel",owner:"Conaclos"},ejs:{title:"EJS",require:["javascript","markup-templating"],owner:"RunDevelopment",alias:"eta",aliasTitles:{eta:"Eta"}},elixir:{title:"Elixir",owner:"Golmote"},elm:{title:"Elm",owner:"zwilias"},etlua:{title:"Embedded Lua templating",require:["lua","markup-templating"],owner:"RunDevelopment"},erb:{title:"ERB",require:["ruby","markup-templating"],owner:"Golmote"},erlang:{title:"Erlang",owner:"Golmote"},"excel-formula":{title:"Excel Formula",alias:["xlsx","xls"],owner:"RunDevelopment"},fsharp:{title:"F#",require:"clike",owner:"simonreynolds7"},factor:{title:"Factor",owner:"catb0t"},false:{title:"False",owner:"edukisto"},"firestore-security-rules":{title:"Firestore security rules",require:"clike",owner:"RunDevelopment"},flow:{title:"Flow",require:"javascript",owner:"Golmote"},fortran:{title:"Fortran",owner:"Golmote"},ftl:{title:"FreeMarker Template Language",require:"markup-templating",owner:"RunDevelopment"},gml:{title:"GameMaker Language",alias:"gamemakerlanguage",require:"clike",owner:"LiarOnce"},gap:{title:"GAP (CAS)",owner:"RunDevelopment"},gcode:{title:"G-code",owner:"RunDevelopment"},gdscript:{title:"GDScript",owner:"RunDevelopment"},gedcom:{title:"GEDCOM",owner:"Golmote"},gettext:{title:"gettext",alias:"po",owner:"RunDevelopment"},gherkin:{title:"Gherkin",owner:"hason"},git:{title:"Git",owner:"lgiraudel"},glsl:{title:"GLSL",require:"c",owner:"Golmote"},gn:{title:"GN",alias:"gni",owner:"RunDevelopment"},"linker-script":{title:"GNU Linker Script",alias:"ld",owner:"RunDevelopment"},go:{title:"Go",require:"clike",owner:"arnehormann"},"go-module":{title:"Go module",alias:"go-mod",owner:"RunDevelopment"},gradle:{title:"Gradle",require:"clike",owner:"zeabdelkhalek-badido18"},graphql:{title:"GraphQL",optional:"markdown",owner:"Golmote"},groovy:{title:"Groovy",require:"clike",owner:"robfletcher"},haml:{title:"Haml",require:"ruby",optional:["css","css-extras","coffeescript","erb","javascript","less","markdown","scss","textile"],owner:"Golmote"},handlebars:{title:"Handlebars",require:"markup-templating",alias:["hbs","mustache"],aliasTitles:{mustache:"Mustache"},owner:"Golmote"},haskell:{title:"Haskell",alias:"hs",owner:"bholst"},haxe:{title:"Haxe",require:"clike",optional:"regex",owner:"Golmote"},hcl:{title:"HCL",owner:"outsideris"},hlsl:{title:"HLSL",require:"c",owner:"RunDevelopment"},hoon:{title:"Hoon",owner:"matildepark"},http:{title:"HTTP",optional:["csp","css","hpkp","hsts","javascript","json","markup","uri"],owner:"danielgtaylor"},hpkp:{title:"HTTP Public-Key-Pins",owner:"ScottHelme"},hsts:{title:"HTTP Strict-Transport-Security",owner:"ScottHelme"},ichigojam:{title:"IchigoJam",owner:"BlueCocoa"},icon:{title:"Icon",owner:"Golmote"},"icu-message-format":{title:"ICU Message Format",owner:"RunDevelopment"},idris:{title:"Idris",alias:"idr",owner:"KeenS",require:"haskell"},ignore:{title:".ignore",owner:"osipxd",alias:["gitignore","hgignore","npmignore"],aliasTitles:{gitignore:".gitignore",hgignore:".hgignore",npmignore:".npmignore"}},inform7:{title:"Inform 7",owner:"Golmote"},ini:{title:"Ini",owner:"aviaryan"},io:{title:"Io",owner:"AlesTsurko"},j:{title:"J",owner:"Golmote"},java:{title:"Java",require:"clike",owner:"sherblot"},javadoc:{title:"JavaDoc",require:["markup","java","javadoclike"],modify:"java",optional:"scala",owner:"RunDevelopment"},javadoclike:{title:"JavaDoc-like",modify:["java","javascript","php"],owner:"RunDevelopment"},javastacktrace:{title:"Java stack trace",owner:"RunDevelopment"},jexl:{title:"Jexl",owner:"czosel"},jolie:{title:"Jolie",require:"clike",owner:"thesave"},jq:{title:"JQ",owner:"RunDevelopment"},jsdoc:{title:"JSDoc",require:["javascript","javadoclike","typescript"],modify:"javascript",optional:["actionscript","coffeescript"],owner:"RunDevelopment"},"js-extras":{title:"JS Extras",require:"javascript",modify:"javascript",optional:["actionscript","coffeescript","flow","n4js","typescript"],owner:"RunDevelopment"},json:{title:"JSON",alias:"webmanifest",aliasTitles:{webmanifest:"Web App Manifest"},owner:"CupOfTea696"},json5:{title:"JSON5",require:"json",owner:"RunDevelopment"},jsonp:{title:"JSONP",require:"json",owner:"RunDevelopment"},jsstacktrace:{title:"JS stack trace",owner:"sbrl"},"js-templates":{title:"JS Templates",require:"javascript",modify:"javascript",optional:["css","css-extras","graphql","markdown","markup","sql"],owner:"RunDevelopment"},julia:{title:"Julia",owner:"cdagnino"},keepalived:{title:"Keepalived Configure",owner:"dev-itsheng"},keyman:{title:"Keyman",owner:"mcdurdin"},kotlin:{title:"Kotlin",alias:["kt","kts"],aliasTitles:{kts:"Kotlin Script"},require:"clike",owner:"Golmote"},kumir:{title:"KuMir (\u041a\u0443\u041c\u0438\u0440)",alias:"kum",owner:"edukisto"},kusto:{title:"Kusto",owner:"RunDevelopment"},latex:{title:"LaTeX",alias:["tex","context"],aliasTitles:{tex:"TeX",context:"ConTeXt"},owner:"japborst"},latte:{title:"Latte",require:["clike","markup-templating","php"],owner:"nette"},less:{title:"Less",require:"css",optional:"css-extras",owner:"Golmote"},lilypond:{title:"LilyPond",require:"scheme",alias:"ly",owner:"RunDevelopment"},liquid:{title:"Liquid",require:"markup-templating",owner:"cinhtau"},lisp:{title:"Lisp",alias:["emacs","elisp","emacs-lisp"],owner:"JuanCaicedo"},livescript:{title:"LiveScript",owner:"Golmote"},llvm:{title:"LLVM IR",owner:"porglezomp"},log:{title:"Log file",optional:"javastacktrace",owner:"RunDevelopment"},lolcode:{title:"LOLCODE",owner:"Golmote"},lua:{title:"Lua",owner:"Golmote"},magma:{title:"Magma (CAS)",owner:"RunDevelopment"},makefile:{title:"Makefile",owner:"Golmote"},markdown:{title:"Markdown",require:"markup",optional:"yaml",alias:"md",owner:"Golmote"},"markup-templating":{title:"Markup templating",require:"markup",owner:"Golmote"},mata:{title:"Mata",owner:"RunDevelopment"},matlab:{title:"MATLAB",owner:"Golmote"},maxscript:{title:"MAXScript",owner:"RunDevelopment"},mel:{title:"MEL",owner:"Golmote"},mermaid:{title:"Mermaid",owner:"RunDevelopment"},metafont:{title:"METAFONT",owner:"LaeriExNihilo"},mizar:{title:"Mizar",owner:"Golmote"},mongodb:{title:"MongoDB",owner:"airs0urce",require:"javascript"},monkey:{title:"Monkey",owner:"Golmote"},moonscript:{title:"MoonScript",alias:"moon",owner:"RunDevelopment"},n1ql:{title:"N1QL",owner:"TMWilds"},n4js:{title:"N4JS",require:"javascript",optional:"jsdoc",alias:"n4jsd",owner:"bsmith-n4"},"nand2tetris-hdl":{title:"Nand To Tetris HDL",owner:"stephanmax"},naniscript:{title:"Naninovel Script",owner:"Elringus",alias:"nani"},nasm:{title:"NASM",owner:"rbmj"},neon:{title:"NEON",owner:"nette"},nevod:{title:"Nevod",owner:"nezaboodka"},nginx:{title:"nginx",owner:"volado"},nim:{title:"Nim",owner:"Golmote"},nix:{title:"Nix",owner:"Golmote"},nsis:{title:"NSIS",owner:"idleberg"},objectivec:{title:"Objective-C",require:"c",alias:"objc",owner:"uranusjr"},ocaml:{title:"OCaml",owner:"Golmote"},odin:{title:"Odin",owner:"edukisto"},opencl:{title:"OpenCL",require:"c",modify:["c","cpp"],owner:"Milania1"},openqasm:{title:"OpenQasm",alias:"qasm",owner:"RunDevelopment"},oz:{title:"Oz",owner:"Golmote"},parigp:{title:"PARI/GP",owner:"Golmote"},parser:{title:"Parser",require:"markup",owner:"Golmote"},pascal:{title:"Pascal",alias:"objectpascal",aliasTitles:{objectpascal:"Object Pascal"},owner:"Golmote"},pascaligo:{title:"Pascaligo",owner:"DefinitelyNotAGoat"},psl:{title:"PATROL Scripting Language",owner:"bertysentry"},pcaxis:{title:"PC-Axis",alias:"px",owner:"RunDevelopment"},peoplecode:{title:"PeopleCode",alias:"pcode",owner:"RunDevelopment"},perl:{title:"Perl",owner:"Golmote"},php:{title:"PHP",require:"markup-templating",owner:"milesj"},phpdoc:{title:"PHPDoc",require:["php","javadoclike"],modify:"php",owner:"RunDevelopment"},"php-extras":{title:"PHP Extras",require:"php",modify:"php",owner:"milesj"},"plant-uml":{title:"PlantUML",alias:"plantuml",owner:"RunDevelopment"},plsql:{title:"PL/SQL",require:"sql",owner:"Golmote"},powerquery:{title:"PowerQuery",alias:["pq","mscript"],owner:"peterbud"},powershell:{title:"PowerShell",owner:"nauzilus"},processing:{title:"Processing",require:"clike",owner:"Golmote"},prolog:{title:"Prolog",owner:"Golmote"},promql:{title:"PromQL",owner:"arendjr"},properties:{title:".properties",owner:"Golmote"},protobuf:{title:"Protocol Buffers",require:"clike",owner:"just-boris"},pug:{title:"Pug",require:["markup","javascript"],optional:["coffeescript","ejs","handlebars","less","livescript","markdown","scss","stylus","twig"],owner:"Golmote"},puppet:{title:"Puppet",owner:"Golmote"},pure:{title:"Pure",optional:["c","cpp","fortran"],owner:"Golmote"},purebasic:{title:"PureBasic",require:"clike",alias:"pbfasm",owner:"HeX0R101"},purescript:{title:"PureScript",require:"haskell",alias:"purs",owner:"sriharshachilakapati"},python:{title:"Python",alias:"py",owner:"multipetros"},qsharp:{title:"Q#",require:"clike",alias:"qs",owner:"fedonman"},q:{title:"Q (kdb+ database)",owner:"Golmote"},qml:{title:"QML",require:"javascript",owner:"RunDevelopment"},qore:{title:"Qore",require:"clike",owner:"temnroegg"},r:{title:"R",owner:"Golmote"},racket:{title:"Racket",require:"scheme",alias:"rkt",owner:"RunDevelopment"},cshtml:{title:"Razor C#",alias:"razor",require:["markup","csharp"],optional:["css","css-extras","javascript","js-extras"],owner:"RunDevelopment"},jsx:{title:"React JSX",require:["markup","javascript"],optional:["jsdoc","js-extras","js-templates"],owner:"vkbansal"},tsx:{title:"React TSX",require:["jsx","typescript"]},reason:{title:"Reason",require:"clike",owner:"Golmote"},regex:{title:"Regex",owner:"RunDevelopment"},rego:{title:"Rego",owner:"JordanSh"},renpy:{title:"Ren'py",alias:"rpy",owner:"HyuchiaDiego"},rescript:{title:"ReScript",alias:"res",owner:"vmarcosp"},rest:{title:"reST (reStructuredText)",owner:"Golmote"},rip:{title:"Rip",owner:"ravinggenius"},roboconf:{title:"Roboconf",owner:"Golmote"},robotframework:{title:"Robot Framework",alias:"robot",owner:"RunDevelopment"},ruby:{title:"Ruby",require:"clike",alias:"rb",owner:"samflores"},rust:{title:"Rust",owner:"Golmote"},sas:{title:"SAS",optional:["groovy","lua","sql"],owner:"Golmote"},sass:{title:"Sass (Sass)",require:"css",optional:"css-extras",owner:"Golmote"},scss:{title:"Sass (SCSS)",require:"css",optional:"css-extras",owner:"MoOx"},scala:{title:"Scala",require:"java",owner:"jozic"},scheme:{title:"Scheme",owner:"bacchus123"},"shell-session":{title:"Shell session",require:"bash",alias:["sh-session","shellsession"],owner:"RunDevelopment"},smali:{title:"Smali",owner:"RunDevelopment"},smalltalk:{title:"Smalltalk",owner:"Golmote"},smarty:{title:"Smarty",require:"markup-templating",optional:"php",owner:"Golmote"},sml:{title:"SML",alias:"smlnj",aliasTitles:{smlnj:"SML/NJ"},owner:"RunDevelopment"},solidity:{title:"Solidity (Ethereum)",alias:"sol",require:"clike",owner:"glachaud"},"solution-file":{title:"Solution file",alias:"sln",owner:"RunDevelopment"},soy:{title:"Soy (Closure Template)",require:"markup-templating",owner:"Golmote"},sparql:{title:"SPARQL",require:"turtle",owner:"Triply-Dev",alias:"rq"},"splunk-spl":{title:"Splunk SPL",owner:"RunDevelopment"},sqf:{title:"SQF: Status Quo Function (Arma 3)",require:"clike",owner:"RunDevelopment"},sql:{title:"SQL",owner:"multipetros"},squirrel:{title:"Squirrel",require:"clike",owner:"RunDevelopment"},stan:{title:"Stan",owner:"RunDevelopment"},stata:{title:"Stata Ado",require:["mata","java","python"],owner:"RunDevelopment"},iecst:{title:"Structured Text (IEC 61131-3)",owner:"serhioromano"},stylus:{title:"Stylus",owner:"vkbansal"},supercollider:{title:"SuperCollider",alias:"sclang",owner:"RunDevelopment"},swift:{title:"Swift",owner:"chrischares"},systemd:{title:"Systemd configuration file",owner:"RunDevelopment"},"t4-templating":{title:"T4 templating",owner:"RunDevelopment"},"t4-cs":{title:"T4 Text Templates (C#)",require:["t4-templating","csharp"],alias:"t4",owner:"RunDevelopment"},"t4-vb":{title:"T4 Text Templates (VB)",require:["t4-templating","vbnet"],owner:"RunDevelopment"},tap:{title:"TAP",owner:"isaacs",require:"yaml"},tcl:{title:"Tcl",owner:"PeterChaplin"},tt2:{title:"Template Toolkit 2",require:["clike","markup-templating"],owner:"gflohr"},textile:{title:"Textile",require:"markup",optional:"css",owner:"Golmote"},toml:{title:"TOML",owner:"RunDevelopment"},tremor:{title:"Tremor",alias:["trickle","troy"],owner:"darach",aliasTitles:{trickle:"trickle",troy:"troy"}},turtle:{title:"Turtle",alias:"trig",aliasTitles:{trig:"TriG"},owner:"jakubklimek"},twig:{title:"Twig",require:"markup-templating",owner:"brandonkelly"},typescript:{title:"TypeScript",require:"javascript",optional:"js-templates",alias:"ts",owner:"vkbansal"},typoscript:{title:"TypoScript",alias:"tsconfig",aliasTitles:{tsconfig:"TSConfig"},owner:"dkern"},unrealscript:{title:"UnrealScript",alias:["uscript","uc"],owner:"RunDevelopment"},uorazor:{title:"UO Razor Script",owner:"jaseowns"},uri:{title:"URI",alias:"url",aliasTitles:{url:"URL"},owner:"RunDevelopment"},v:{title:"V",require:"clike",owner:"taggon"},vala:{title:"Vala",require:"clike",optional:"regex",owner:"TemplarVolk"},vbnet:{title:"VB.Net",require:"basic",owner:"Bigsby"},velocity:{title:"Velocity",require:"markup",owner:"Golmote"},verilog:{title:"Verilog",owner:"a-rey"},vhdl:{title:"VHDL",owner:"a-rey"},vim:{title:"vim",owner:"westonganger"},"visual-basic":{title:"Visual Basic",alias:["vb","vba"],aliasTitles:{vba:"VBA"},owner:"Golmote"},warpscript:{title:"WarpScript",owner:"RunDevelopment"},wasm:{title:"WebAssembly",owner:"Golmote"},"web-idl":{title:"Web IDL",alias:"webidl",owner:"RunDevelopment"},wgsl:{title:"WGSL",owner:"Dr4gonthree"},wiki:{title:"Wiki markup",require:"markup",owner:"Golmote"},wolfram:{title:"Wolfram language",alias:["mathematica","nb","wl"],aliasTitles:{mathematica:"Mathematica",nb:"Mathematica Notebook"},owner:"msollami"},wren:{title:"Wren",owner:"clsource"},xeora:{title:"Xeora",require:"markup",alias:"xeoracube",aliasTitles:{xeoracube:"XeoraCube"},owner:"freakmaxi"},"xml-doc":{title:"XML doc (.net)",require:"markup",modify:["csharp","fsharp","vbnet"],owner:"RunDevelopment"},xojo:{title:"Xojo (REALbasic)",owner:"Golmote"},xquery:{title:"XQuery",require:"markup",owner:"Golmote"},yaml:{title:"YAML",alias:"yml",owner:"hason"},yang:{title:"YANG",owner:"RunDevelopment"},zig:{title:"Zig",owner:"RunDevelopment"}},plugins:{meta:{path:"plugins/{id}/prism-{id}",link:"plugins/{id}/"},"line-highlight":{title:"Line Highlight",description:"Highlights specific lines and/or line ranges."},"line-numbers":{title:"Line Numbers",description:"Line number at the beginning of code lines.",owner:"kuba-kubula"},"show-invisibles":{title:"Show Invisibles",description:"Show hidden characters such as tabs and line breaks.",optional:["autolinker","data-uri-highlight"]},autolinker:{title:"Autolinker",description:"Converts URLs and emails in code to clickable links. Parses Markdown links in comments."},wpd:{title:"WebPlatform Docs",description:'Makes tokens link to <a href="https://webplatform.github.io/docs/">WebPlatform.org documentation</a>. The links open in a new tab.'},"custom-class":{title:"Custom Class",description:"This plugin allows you to prefix Prism's default classes (<code>.comment</code> can become <code>.namespace--comment</code>) or replace them with your defined ones (like <code>.editor__comment</code>). You can even add new classes.",owner:"dvkndn",noCSS:!0},"file-highlight":{title:"File Highlight",description:"Fetch external files and highlight them with Prism. Used on the Prism website itself.",noCSS:!0},"show-language":{title:"Show Language",description:"Display the highlighted language in code blocks (inline code does not show the label).",owner:"nauzilus",noCSS:!0,require:"toolbar"},"jsonp-highlight":{title:"JSONP Highlight",description:"Fetch content with JSONP and highlight some interesting content (e.g. GitHub/Gists or Bitbucket API).",noCSS:!0,owner:"nauzilus"},"highlight-keywords":{title:"Highlight Keywords",description:"Adds special CSS classes for each keyword for fine-grained highlighting.",owner:"vkbansal",noCSS:!0},"remove-initial-line-feed":{title:"Remove initial line feed",description:"Removes the initial line feed in code blocks.",owner:"Golmote",noCSS:!0},"inline-color":{title:"Inline color",description:"Adds a small inline preview for colors in style sheets.",require:"css-extras",owner:"RunDevelopment"},previewers:{title:"Previewers",description:"Previewers for angles, colors, gradients, easing and time.",require:"css-extras",owner:"Golmote"},autoloader:{title:"Autoloader",description:"Automatically loads the needed languages to highlight the code blocks.",owner:"Golmote",noCSS:!0},"keep-markup":{title:"Keep Markup",description:"Prevents custom markup from being dropped out during highlighting.",owner:"Golmote",optional:"normalize-whitespace",noCSS:!0},"command-line":{title:"Command Line",description:"Display a command line with a prompt and, optionally, the output/response from the commands.",owner:"chriswells0"},"unescaped-markup":{title:"Unescaped Markup",description:"Write markup without having to escape anything."},"normalize-whitespace":{title:"Normalize Whitespace",description:"Supports multiple operations to normalize whitespace in code blocks.",owner:"zeitgeist87",optional:"unescaped-markup",noCSS:!0},"data-uri-highlight":{title:"Data-URI Highlight",description:"Highlights data-URI contents.",owner:"Golmote",noCSS:!0},toolbar:{title:"Toolbar",description:"Attach a toolbar for plugins to easily register buttons on the top of a code block.",owner:"mAAdhaTTah"},"copy-to-clipboard":{title:"Copy to Clipboard Button",description:"Add a button that copies the code block to the clipboard when clicked.",owner:"mAAdhaTTah",require:"toolbar",noCSS:!0},"download-button":{title:"Download Button",description:"A button in the toolbar of a code block adding a convenient way to download a code file.",owner:"Golmote",require:"toolbar",noCSS:!0},"match-braces":{title:"Match braces",description:"Highlights matching braces.",owner:"RunDevelopment"},"diff-highlight":{title:"Diff Highlight",description:"Highlights the code inside diff blocks.",owner:"RunDevelopment",require:"diff"},"filter-highlight-all":{title:"Filter highlightAll",description:"Filters the elements the <code>highlightAll</code> and <code>highlightAllUnder</code> methods actually highlight.",owner:"RunDevelopment",noCSS:!0},treeview:{title:"Treeview",description:"A language with special styles to highlight file system tree structures.",owner:"Golmote"}}})},8722:(e,t,n)=>{const r=n(6969),a=n(8380),o=new Set;function i(e){void 0===e?e=Object.keys(r.languages).filter((e=>"meta"!=e)):Array.isArray(e)||(e=[e]);const t=[...o,...Object.keys(Prism.languages)];a(r,e,t).load((e=>{if(!(e in r.languages))return void(i.silent||console.warn("Language does not exist: "+e));const t="./prism-"+e;delete n.c[n(3157).resolve(t)],delete Prism.languages[e],n(3157)(t),o.add(e)}))}i.silent=!1,e.exports=i},9700:()=>{!function(e){function t(e,t){return"___"+e.toUpperCase()+t+"___"}Object.defineProperties(e.languages["markup-templating"]={},{buildPlaceholders:{value:function(n,r,a,o){if(n.language===r){var i=n.tokenStack=[];n.code=n.code.replace(a,(function(e){if("function"==typeof o&&!o(e))return e;for(var a,l=i.length;-1!==n.code.indexOf(a=t(r,l));)++l;return i[l]=e,a})),n.grammar=e.languages.markup}}},tokenizePlaceholders:{value:function(n,r){if(n.language===r&&n.tokenStack){n.grammar=e.languages[r];var a=0,o=Object.keys(n.tokenStack);!function i(l){for(var s=0;s<l.length&&!(a>=o.length);s++){var u=l[s];if("string"==typeof u||u.content&&"string"==typeof u.content){var c=o[a],d=n.tokenStack[c],p="string"==typeof u?u:u.content,f=t(r,c),m=p.indexOf(f);if(m>-1){++a;var h=p.substring(0,m),g=new e.Token(r,e.tokenize(d,n.grammar),"language-"+r,d),y=p.substring(m+f.length),b=[];h&&b.push.apply(b,i([h])),b.push(g),y&&b.push.apply(b,i([y])),"string"==typeof u?l.splice.apply(l,[s,1].concat(b)):u.content=b}}else u.content&&i(u.content)}return l}(n.tokens)}}}})}(Prism)},8692:(e,t,n)=>{var r={"./":8722};function a(e){var t=o(e);return n(t)}function o(e){if(!n.o(r,e)){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}return r[e]}a.keys=function(){return Object.keys(r)},a.resolve=o,e.exports=a,a.id=8692},3157:(e,t,n)=>{var r={"./":8722};function a(e){var t=o(e);return n(t)}function o(e){if(!n.o(r,e)){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}return r[e]}a.keys=function(){return Object.keys(r)},a.resolve=o,e.exports=a,a.id=3157},8380:e=>{"use strict";var t=function(){var e=function(){};function t(e,t){Array.isArray(e)?e.forEach(t):null!=e&&t(e,0)}function n(e){for(var t={},n=0,r=e.length;n<r;n++)t[e[n]]=!0;return t}function r(e){var n={},r=[];function a(r,o){if(!(r in n)){o.push(r);var i=o.indexOf(r);if(i<o.length-1)throw new Error("Circular dependency: "+o.slice(i).join(" -> "));var l={},s=e[r];if(s){function u(t){if(!(t in e))throw new Error(r+" depends on an unknown component "+t);if(!(t in l))for(var i in a(t,o),l[t]=!0,n[t])l[i]=!0}t(s.require,u),t(s.optional,u),t(s.modify,u)}n[r]=l,o.pop()}}return function(e){var t=n[e];return t||(a(e,r),t=n[e]),t}}function a(e){for(var t in e)return!0;return!1}return function(o,i,l){var s=function(e){var t={};for(var n in e){var r=e[n];for(var a in r)if("meta"!=a){var o=r[a];t[a]="string"==typeof o?{title:o}:o}}return t}(o),u=function(e){var n;return function(r){if(r in e)return r;if(!n)for(var a in n={},e){var o=e[a];t(o&&o.alias,(function(t){if(t in n)throw new Error(t+" cannot be alias for both "+a+" and "+n[t]);if(t in e)throw new Error(t+" cannot be alias of "+a+" because it is a component.");n[t]=a}))}return n[r]||r}}(s);i=i.map(u),l=(l||[]).map(u);var c=n(i),d=n(l);i.forEach((function e(n){var r=s[n];t(r&&r.require,(function(t){t in d||(c[t]=!0,e(t))}))}));for(var p,f=r(s),m=c;a(m);){for(var h in p={},m){var g=s[h];t(g&&g.modify,(function(e){e in d&&(p[e]=!0)}))}for(var y in d)if(!(y in c))for(var b in f(y))if(b in c){p[y]=!0;break}for(var v in m=p)c[v]=!0}var w={getIds:function(){var e=[];return w.load((function(t){e.push(t)})),e},load:function(t,n){return function(t,n,r,a){var o=a?a.series:void 0,i=a?a.parallel:e,l={},s={};function u(e){if(e in l)return l[e];s[e]=!0;var a,c=[];for(var d in t(e))d in n&&c.push(d);if(0===c.length)a=r(e);else{var p=i(c.map((function(e){var t=u(e);return delete s[e],t})));o?a=o(p,(function(){return r(e)})):r(e)}return l[e]=a}for(var c in n)u(c);var d=[];for(var p in s)d.push(l[p]);return i(d)}(f,c,t,n)}};return w}}();e.exports=t},2694:(e,t,n)=>{"use strict";var r=n(6925);function a(){}function o(){}o.resetWarningCache=a,e.exports=function(){function e(e,t,n,a,o,i){if(i!==r){var l=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 l.name="Invariant Violation",l}}function t(){return e}e.isRequired=e;var n={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:o,resetWarningCache:a};return n.PropTypes=n,n}},5556:(e,t,n)=>{e.exports=n(2694)()},6925:e=>{"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},2551:(e,t,n)=>{"use strict";var r=n(6540),a=n(9982);function o(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n<arguments.length;n++)t+="&args[]="+encodeURIComponent(arguments[n]);return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var i=new Set,l={};function s(e,t){u(e,t),u(e+"Capture",t)}function u(e,t){for(l[e]=t,e=0;e<t.length;e++)i.add(t[e])}var c=!("undefined"==typeof window||void 0===window.document||void 0===window.document.createElement),d=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 h(e,t,n,r,a,o,i){this.acceptsBooleans=2===t||3===t||4===t,this.attributeName=r,this.attributeNamespace=a,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=o,this.removeEmptyString=i}var g={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach((function(e){g[e]=new h(e,0,!1,e,null,!1,!1)})),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach((function(e){var t=e[0];g[t]=new h(t,1,!1,e[1],null,!1,!1)})),["contentEditable","draggable","spellCheck","value"].forEach((function(e){g[e]=new h(e,2,!1,e.toLowerCase(),null,!1,!1)})),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach((function(e){g[e]=new h(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){g[e]=new h(e,3,!1,e.toLowerCase(),null,!1,!1)})),["checked","multiple","muted","selected"].forEach((function(e){g[e]=new h(e,3,!0,e,null,!1,!1)})),["capture","download"].forEach((function(e){g[e]=new h(e,4,!1,e,null,!1,!1)})),["cols","rows","size","span"].forEach((function(e){g[e]=new h(e,6,!1,e,null,!1,!1)})),["rowSpan","start"].forEach((function(e){g[e]=new h(e,5,!1,e.toLowerCase(),null,!1,!1)}));var y=/[\-:]([a-z])/g;function b(e){return e[1].toUpperCase()}function v(e,t,n,r){var a=g.hasOwnProperty(t)?g[t]:null;(null!==a?0!==a.type:r||!(2<t.length)||"o"!==t[0]&&"O"!==t[0]||"n"!==t[1]&&"N"!==t[1])&&(function(e,t,n,r){if(null==t||function(e,t,n,r){if(null!==n&&0===n.type)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return!r&&(null!==n?!n.acceptsBooleans:"data-"!==(e=e.toLowerCase().slice(0,5))&&"aria-"!==e);default:return!1}}(e,t,n,r))return!0;if(r)return!1;if(null!==n)switch(n.type){case 3:return!t;case 4:return!1===t;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}(t,n,a,r)&&(n=null),r||null===a?function(e){return!!d.call(m,e)||!d.call(f,e)&&(p.test(e)?m[e]=!0:(f[e]=!0,!1))}(t)&&(null===n?e.removeAttribute(t):e.setAttribute(t,""+n)):a.mustUseProperty?e[a.propertyName]=null===n?3!==a.type&&"":n:(t=a.attributeName,r=a.attributeNamespace,null===n?e.removeAttribute(t):(n=3===(a=a.type)||4===a&&!0===n?"":""+n,r?e.setAttributeNS(r,t,n):e.setAttribute(t,n))))}"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 t=e.replace(y,b);g[t]=new h(t,1,!1,e,null,!1,!1)})),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach((function(e){var t=e.replace(y,b);g[t]=new h(t,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)})),["xml:base","xml:lang","xml:space"].forEach((function(e){var t=e.replace(y,b);g[t]=new h(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)})),["tabIndex","crossOrigin"].forEach((function(e){g[e]=new h(e,1,!1,e.toLowerCase(),null,!1,!1)})),g.xlinkHref=new h("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach((function(e){g[e]=new h(e,1,!1,e.toLowerCase(),null,!0,!0)}));var w=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,k=Symbol.for("react.element"),x=Symbol.for("react.portal"),S=Symbol.for("react.fragment"),E=Symbol.for("react.strict_mode"),C=Symbol.for("react.profiler"),T=Symbol.for("react.provider"),A=Symbol.for("react.context"),_=Symbol.for("react.forward_ref"),j=Symbol.for("react.suspense"),R=Symbol.for("react.suspense_list"),L=Symbol.for("react.memo"),N=Symbol.for("react.lazy");Symbol.for("react.scope"),Symbol.for("react.debug_trace_mode");var P=Symbol.for("react.offscreen");Symbol.for("react.legacy_hidden"),Symbol.for("react.cache"),Symbol.for("react.tracing_marker");var O=Symbol.iterator;function D(e){return null===e||"object"!=typeof e?null:"function"==typeof(e=O&&e[O]||e["@@iterator"])?e:null}var I,M=Object.assign;function F(e){if(void 0===I)try{throw Error()}catch(n){var t=n.stack.trim().match(/\n( *(at )?)/);I=t&&t[1]||""}return"\n"+I+e}var z=!1;function B(e,t){if(!e||z)return"";z=!0;var n=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(t)if(t=function(){throw Error()},Object.defineProperty(t.prototype,"props",{set:function(){throw Error()}}),"object"==typeof Reflect&&Reflect.construct){try{Reflect.construct(t,[])}catch(u){var r=u}Reflect.construct(e,[],t)}else{try{t.call()}catch(u){r=u}e.call(t.prototype)}else{try{throw Error()}catch(u){r=u}e()}}catch(u){if(u&&r&&"string"==typeof u.stack){for(var a=u.stack.split("\n"),o=r.stack.split("\n"),i=a.length-1,l=o.length-1;1<=i&&0<=l&&a[i]!==o[l];)l--;for(;1<=i&&0<=l;i--,l--)if(a[i]!==o[l]){if(1!==i||1!==l)do{if(i--,0>--l||a[i]!==o[l]){var s="\n"+a[i].replace(" at new "," at ");return e.displayName&&s.includes("<anonymous>")&&(s=s.replace("<anonymous>",e.displayName)),s}}while(1<=i&&0<=l);break}}}finally{z=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?F(e):""}function $(e){switch(e.tag){case 5:return F(e.type);case 16:return F("Lazy");case 13:return F("Suspense");case 19:return F("SuspenseList");case 0:case 2:case 15:return e=B(e.type,!1);case 11:return e=B(e.type.render,!1);case 1:return e=B(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 x:return"Portal";case C:return"Profiler";case E:return"StrictMode";case j:return"Suspense";case R:return"SuspenseList"}if("object"==typeof e)switch(e.$$typeof){case A:return(e.displayName||"Context")+".Consumer";case T:return(e._context.displayName||"Context")+".Provider";case _:var t=e.render;return(e=e.displayName)||(e=""!==(e=t.displayName||t.name||"")?"ForwardRef("+e+")":"ForwardRef"),e;case L:return null!==(t=e.displayName||null)?t:U(e.type)||"Memo";case N:t=e._payload,e=e._init;try{return U(e(t))}catch(n){}}return null}function q(e){var t=e.type;switch(e.tag){case 24:return"Cache";case 9:return(t.displayName||"Context")+".Consumer";case 10:return(t._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return e=(e=t.render).displayName||e.name||"",t.displayName||(""!==e?"ForwardRef("+e+")":"ForwardRef");case 7:return"Fragment";case 5:return t;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return U(t);case 8:return t===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 t)return t.displayName||t.name||null;if("string"==typeof t)return t}return null}function H(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":case"object":return e;default:return""}}function G(e){var t=e.type;return(e=e.nodeName)&&"input"===e.toLowerCase()&&("checkbox"===t||"radio"===t)}function V(e){e._valueTracker||(e._valueTracker=function(e){var t=G(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=""+e[t];if(!e.hasOwnProperty(t)&&void 0!==n&&"function"==typeof n.get&&"function"==typeof n.set){var a=n.get,o=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return a.call(this)},set:function(e){r=""+e,o.call(this,e)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(e){r=""+e},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}(e))}function W(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=G(e)?e.checked?"true":"false":e.value),(e=r)!==n&&(t.setValue(e),!0)}function K(e){if(void 0===(e=e||("undefined"!=typeof document?document:void 0)))return null;try{return e.activeElement||e.body}catch(t){return e.body}}function Q(e,t){var n=t.checked;return M({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:null!=n?n:e._wrapperState.initialChecked})}function Y(e,t){var n=null==t.defaultValue?"":t.defaultValue,r=null!=t.checked?t.checked:t.defaultChecked;n=H(null!=t.value?t.value:n),e._wrapperState={initialChecked:r,initialValue:n,controlled:"checkbox"===t.type||"radio"===t.type?null!=t.checked:null!=t.value}}function Z(e,t){null!=(t=t.checked)&&v(e,"checked",t,!1)}function X(e,t){Z(e,t);var n=H(t.value),r=t.type;if(null!=n)"number"===r?(0===n&&""===e.value||e.value!=n)&&(e.value=""+n):e.value!==""+n&&(e.value=""+n);else if("submit"===r||"reset"===r)return void e.removeAttribute("value");t.hasOwnProperty("value")?ee(e,t.type,n):t.hasOwnProperty("defaultValue")&&ee(e,t.type,H(t.defaultValue)),null==t.checked&&null!=t.defaultChecked&&(e.defaultChecked=!!t.defaultChecked)}function J(e,t,n){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var r=t.type;if(!("submit"!==r&&"reset"!==r||void 0!==t.value&&null!==t.value))return;t=""+e._wrapperState.initialValue,n||t===e.value||(e.value=t),e.defaultValue=t}""!==(n=e.name)&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,""!==n&&(e.name=n)}function ee(e,t,n){"number"===t&&K(e.ownerDocument)===e||(null==n?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var te=Array.isArray;function ne(e,t,n,r){if(e=e.options,t){t={};for(var a=0;a<n.length;a++)t["$"+n[a]]=!0;for(n=0;n<e.length;n++)a=t.hasOwnProperty("$"+e[n].value),e[n].selected!==a&&(e[n].selected=a),a&&r&&(e[n].defaultSelected=!0)}else{for(n=""+H(n),t=null,a=0;a<e.length;a++){if(e[a].value===n)return e[a].selected=!0,void(r&&(e[a].defaultSelected=!0));null!==t||e[a].disabled||(t=e[a])}null!==t&&(t.selected=!0)}}function re(e,t){if(null!=t.dangerouslySetInnerHTML)throw Error(o(91));return M({},t,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function ae(e,t){var n=t.value;if(null==n){if(n=t.children,t=t.defaultValue,null!=n){if(null!=t)throw Error(o(92));if(te(n)){if(1<n.length)throw Error(o(93));n=n[0]}t=n}null==t&&(t=""),n=t}e._wrapperState={initialValue:H(n)}}function oe(e,t){var n=H(t.value),r=H(t.defaultValue);null!=n&&((n=""+n)!==e.value&&(e.value=n),null==t.defaultValue&&e.defaultValue!==n&&(e.defaultValue=n)),null!=r&&(e.defaultValue=""+r)}function ie(e){var t=e.textContent;t===e._wrapperState.initialValue&&""!==t&&null!==t&&(e.value=t)}function le(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 se(e,t){return null==e||"http://www.w3.org/1999/xhtml"===e?le(t):"http://www.w3.org/2000/svg"===e&&"foreignObject"===t?"http://www.w3.org/1999/xhtml":e}var ue,ce,de=(ce=function(e,t){if("http://www.w3.org/2000/svg"!==e.namespaceURI||"innerHTML"in e)e.innerHTML=t;else{for((ue=ue||document.createElement("div")).innerHTML="<svg>"+t.valueOf().toString()+"</svg>",t=ue.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}},"undefined"!=typeof MSApp&&MSApp.execUnsafeLocalFunction?function(e,t,n,r){MSApp.execUnsafeLocalFunction((function(){return ce(e,t)}))}:ce);function pe(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&3===n.nodeType)return void(n.nodeValue=t)}e.textContent=t}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 he(e,t,n){return null==t||"boolean"==typeof t||""===t?"":n||"number"!=typeof t||0===t||fe.hasOwnProperty(e)&&fe[e]?(""+t).trim():t+"px"}function ge(e,t){for(var n in e=e.style,t)if(t.hasOwnProperty(n)){var r=0===n.indexOf("--"),a=he(n,t[n],r);"float"===n&&(n="cssFloat"),r?e.setProperty(n,a):e[n]=a}}Object.keys(fe).forEach((function(e){me.forEach((function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),fe[t]=fe[e]}))}));var ye=M({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,t){if(t){if(ye[e]&&(null!=t.children||null!=t.dangerouslySetInnerHTML))throw Error(o(137,e));if(null!=t.dangerouslySetInnerHTML){if(null!=t.children)throw Error(o(60));if("object"!=typeof t.dangerouslySetInnerHTML||!("__html"in t.dangerouslySetInnerHTML))throw Error(o(61))}if(null!=t.style&&"object"!=typeof t.style)throw Error(o(62))}}function ve(e,t){if(-1===e.indexOf("-"))return"string"==typeof t.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 we=null;function ke(e){return(e=e.target||e.srcElement||window).correspondingUseElement&&(e=e.correspondingUseElement),3===e.nodeType?e.parentNode:e}var xe=null,Se=null,Ee=null;function Ce(e){if(e=va(e)){if("function"!=typeof xe)throw Error(o(280));var t=e.stateNode;t&&(t=ka(t),xe(e.stateNode,e.type,t))}}function Te(e){Se?Ee?Ee.push(e):Ee=[e]:Se=e}function Ae(){if(Se){var e=Se,t=Ee;if(Ee=Se=null,Ce(e),t)for(e=0;e<t.length;e++)Ce(t[e])}}function _e(e,t){return e(t)}function je(){}var Re=!1;function Le(e,t,n){if(Re)return e(t,n);Re=!0;try{return _e(e,t,n)}finally{Re=!1,(null!==Se||null!==Ee)&&(je(),Ae())}}function Ne(e,t){var n=e.stateNode;if(null===n)return null;var r=ka(n);if(null===r)return null;n=r[t];e:switch(t){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(n&&"function"!=typeof n)throw Error(o(231,t,typeof n));return n}var Pe=!1;if(c)try{var Oe={};Object.defineProperty(Oe,"passive",{get:function(){Pe=!0}}),window.addEventListener("test",Oe,Oe),window.removeEventListener("test",Oe,Oe)}catch(ce){Pe=!1}function De(e,t,n,r,a,o,i,l,s){var u=Array.prototype.slice.call(arguments,3);try{t.apply(n,u)}catch(c){this.onError(c)}}var Ie=!1,Me=null,Fe=!1,ze=null,Be={onError:function(e){Ie=!0,Me=e}};function $e(e,t,n,r,a,o,i,l,s){Ie=!1,Me=null,De.apply(Be,arguments)}function Ue(e){var t=e,n=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do{!!(4098&(t=e).flags)&&(n=t.return),e=t.return}while(e)}return 3===t.tag?n:null}function qe(e){if(13===e.tag){var t=e.memoizedState;if(null===t&&(null!==(e=e.alternate)&&(t=e.memoizedState)),null!==t)return t.dehydrated}return null}function He(e){if(Ue(e)!==e)throw Error(o(188))}function Ge(e){return null!==(e=function(e){var t=e.alternate;if(!t){if(null===(t=Ue(e)))throw Error(o(188));return t!==e?null:e}for(var n=e,r=t;;){var a=n.return;if(null===a)break;var i=a.alternate;if(null===i){if(null!==(r=a.return)){n=r;continue}break}if(a.child===i.child){for(i=a.child;i;){if(i===n)return He(a),e;if(i===r)return He(a),t;i=i.sibling}throw Error(o(188))}if(n.return!==r.return)n=a,r=i;else{for(var l=!1,s=a.child;s;){if(s===n){l=!0,n=a,r=i;break}if(s===r){l=!0,r=a,n=i;break}s=s.sibling}if(!l){for(s=i.child;s;){if(s===n){l=!0,n=i,r=a;break}if(s===r){l=!0,r=i,n=a;break}s=s.sibling}if(!l)throw Error(o(189))}}if(n.alternate!==r)throw Error(o(190))}if(3!==n.tag)throw Error(o(188));return n.stateNode.current===n?e:t}(e))?Ve(e):null}function Ve(e){if(5===e.tag||6===e.tag)return e;for(e=e.child;null!==e;){var t=Ve(e);if(null!==t)return t;e=e.sibling}return null}var We=a.unstable_scheduleCallback,Ke=a.unstable_cancelCallback,Qe=a.unstable_shouldYield,Ye=a.unstable_requestPaint,Ze=a.unstable_now,Xe=a.unstable_getCurrentPriorityLevel,Je=a.unstable_ImmediatePriority,et=a.unstable_UserBlockingPriority,tt=a.unstable_NormalPriority,nt=a.unstable_LowPriority,rt=a.unstable_IdlePriority,at=null,ot=null;var it=Math.clz32?Math.clz32:function(e){return e>>>=0,0===e?32:31-(lt(e)/st|0)|0},lt=Math.log,st=Math.LN2;var ut=64,ct=4194304;function dt(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 pt(e,t){var n=e.pendingLanes;if(0===n)return 0;var r=0,a=e.suspendedLanes,o=e.pingedLanes,i=268435455&n;if(0!==i){var l=i&~a;0!==l?r=dt(l):0!==(o&=i)&&(r=dt(o))}else 0!==(i=n&~a)?r=dt(i):0!==o&&(r=dt(o));if(0===r)return 0;if(0!==t&&t!==r&&!(t&a)&&((a=r&-r)>=(o=t&-t)||16===a&&4194240&o))return t;if(4&r&&(r|=16&n),0!==(t=e.entangledLanes))for(e=e.entanglements,t&=r;0<t;)a=1<<(n=31-it(t)),r|=e[n],t&=~a;return r}function ft(e,t){switch(e){case 1:case 2:case 4:return t+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 t+5e3;default:return-1}}function mt(e){return 0!==(e=-1073741825&e.pendingLanes)?e:1073741824&e?1073741824:0}function ht(){var e=ut;return!(4194240&(ut<<=1))&&(ut=64),e}function gt(e){for(var t=[],n=0;31>n;n++)t.push(e);return t}function yt(e,t,n){e.pendingLanes|=t,536870912!==t&&(e.suspendedLanes=0,e.pingedLanes=0),(e=e.eventTimes)[t=31-it(t)]=n}function bt(e,t){var n=e.entangledLanes|=t;for(e=e.entanglements;n;){var r=31-it(n),a=1<<r;a&t|e[r]&t&&(e[r]|=t),n&=~a}}var vt=0;function wt(e){return 1<(e&=-e)?4<e?268435455&e?16:536870912:4:1}var kt,xt,St,Et,Ct,Tt=!1,At=[],_t=null,jt=null,Rt=null,Lt=new Map,Nt=new Map,Pt=[],Ot="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 Dt(e,t){switch(e){case"focusin":case"focusout":_t=null;break;case"dragenter":case"dragleave":jt=null;break;case"mouseover":case"mouseout":Rt=null;break;case"pointerover":case"pointerout":Lt.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":Nt.delete(t.pointerId)}}function It(e,t,n,r,a,o){return null===e||e.nativeEvent!==o?(e={blockedOn:t,domEventName:n,eventSystemFlags:r,nativeEvent:o,targetContainers:[a]},null!==t&&(null!==(t=va(t))&&xt(t)),e):(e.eventSystemFlags|=r,t=e.targetContainers,null!==a&&-1===t.indexOf(a)&&t.push(a),e)}function Mt(e){var t=ba(e.target);if(null!==t){var n=Ue(t);if(null!==n)if(13===(t=n.tag)){if(null!==(t=qe(n)))return e.blockedOn=t,void Ct(e.priority,(function(){St(n)}))}else if(3===t&&n.stateNode.current.memoizedState.isDehydrated)return void(e.blockedOn=3===n.tag?n.stateNode.containerInfo:null)}e.blockedOn=null}function Ft(e){if(null!==e.blockedOn)return!1;for(var t=e.targetContainers;0<t.length;){var n=Qt(e.domEventName,e.eventSystemFlags,t[0],e.nativeEvent);if(null!==n)return null!==(t=va(n))&&xt(t),e.blockedOn=n,!1;var r=new(n=e.nativeEvent).constructor(n.type,n);we=r,n.target.dispatchEvent(r),we=null,t.shift()}return!0}function zt(e,t,n){Ft(e)&&n.delete(t)}function Bt(){Tt=!1,null!==_t&&Ft(_t)&&(_t=null),null!==jt&&Ft(jt)&&(jt=null),null!==Rt&&Ft(Rt)&&(Rt=null),Lt.forEach(zt),Nt.forEach(zt)}function $t(e,t){e.blockedOn===t&&(e.blockedOn=null,Tt||(Tt=!0,a.unstable_scheduleCallback(a.unstable_NormalPriority,Bt)))}function Ut(e){function t(t){return $t(t,e)}if(0<At.length){$t(At[0],e);for(var n=1;n<At.length;n++){var r=At[n];r.blockedOn===e&&(r.blockedOn=null)}}for(null!==_t&&$t(_t,e),null!==jt&&$t(jt,e),null!==Rt&&$t(Rt,e),Lt.forEach(t),Nt.forEach(t),n=0;n<Pt.length;n++)(r=Pt[n]).blockedOn===e&&(r.blockedOn=null);for(;0<Pt.length&&null===(n=Pt[0]).blockedOn;)Mt(n),null===n.blockedOn&&Pt.shift()}var qt=w.ReactCurrentBatchConfig,Ht=!0;function Gt(e,t,n,r){var a=vt,o=qt.transition;qt.transition=null;try{vt=1,Wt(e,t,n,r)}finally{vt=a,qt.transition=o}}function Vt(e,t,n,r){var a=vt,o=qt.transition;qt.transition=null;try{vt=4,Wt(e,t,n,r)}finally{vt=a,qt.transition=o}}function Wt(e,t,n,r){if(Ht){var a=Qt(e,t,n,r);if(null===a)Hr(e,t,r,Kt,n),Dt(e,r);else if(function(e,t,n,r,a){switch(t){case"focusin":return _t=It(_t,e,t,n,r,a),!0;case"dragenter":return jt=It(jt,e,t,n,r,a),!0;case"mouseover":return Rt=It(Rt,e,t,n,r,a),!0;case"pointerover":var o=a.pointerId;return Lt.set(o,It(Lt.get(o)||null,e,t,n,r,a)),!0;case"gotpointercapture":return o=a.pointerId,Nt.set(o,It(Nt.get(o)||null,e,t,n,r,a)),!0}return!1}(a,e,t,n,r))r.stopPropagation();else if(Dt(e,r),4&t&&-1<Ot.indexOf(e)){for(;null!==a;){var o=va(a);if(null!==o&&kt(o),null===(o=Qt(e,t,n,r))&&Hr(e,t,r,Kt,n),o===a)break;a=o}null!==a&&r.stopPropagation()}else Hr(e,t,r,null,n)}}var Kt=null;function Qt(e,t,n,r){if(Kt=null,null!==(e=ba(e=ke(r))))if(null===(t=Ue(e)))e=null;else if(13===(n=t.tag)){if(null!==(e=qe(t)))return e;e=null}else if(3===n){if(t.stateNode.current.memoizedState.isDehydrated)return 3===t.tag?t.stateNode.containerInfo:null;e=null}else t!==e&&(e=null);return Kt=e,null}function Yt(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(Xe()){case Je:return 1;case et:return 4;case tt:case nt:return 16;case rt:return 536870912;default:return 16}default:return 16}}var Zt=null,Xt=null,Jt=null;function en(){if(Jt)return Jt;var e,t,n=Xt,r=n.length,a="value"in Zt?Zt.value:Zt.textContent,o=a.length;for(e=0;e<r&&n[e]===a[e];e++);var i=r-e;for(t=1;t<=i&&n[r-t]===a[o-t];t++);return Jt=a.slice(e,1<t?1-t:void 0)}function tn(e){var t=e.keyCode;return"charCode"in e?0===(e=e.charCode)&&13===t&&(e=13):e=t,10===e&&(e=13),32<=e||13===e?e:0}function nn(){return!0}function rn(){return!1}function an(e){function t(t,n,r,a,o){for(var i in this._reactName=t,this._targetInst=r,this.type=n,this.nativeEvent=a,this.target=o,this.currentTarget=null,e)e.hasOwnProperty(i)&&(t=e[i],this[i]=t?t(a):a[i]);return this.isDefaultPrevented=(null!=a.defaultPrevented?a.defaultPrevented:!1===a.returnValue)?nn:rn,this.isPropagationStopped=rn,this}return M(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var e=this.nativeEvent;e&&(e.preventDefault?e.preventDefault():"unknown"!=typeof e.returnValue&&(e.returnValue=!1),this.isDefaultPrevented=nn)},stopPropagation:function(){var e=this.nativeEvent;e&&(e.stopPropagation?e.stopPropagation():"unknown"!=typeof e.cancelBubble&&(e.cancelBubble=!0),this.isPropagationStopped=nn)},persist:function(){},isPersistent:nn}),t}var on,ln,sn,un={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},cn=an(un),dn=M({},un,{view:0,detail:0}),pn=an(dn),fn=M({},dn,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Cn,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!==sn&&(sn&&"mousemove"===e.type?(on=e.screenX-sn.screenX,ln=e.screenY-sn.screenY):ln=on=0,sn=e),on)},movementY:function(e){return"movementY"in e?e.movementY:ln}}),mn=an(fn),hn=an(M({},fn,{dataTransfer:0})),gn=an(M({},dn,{relatedTarget:0})),yn=an(M({},un,{animationName:0,elapsedTime:0,pseudoElement:0})),bn=M({},un,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),vn=an(bn),wn=an(M({},un,{data:0})),kn={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},xn={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"},Sn={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function En(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):!!(e=Sn[e])&&!!t[e]}function Cn(){return En}var Tn=M({},dn,{key:function(e){if(e.key){var t=kn[e.key]||e.key;if("Unidentified"!==t)return t}return"keypress"===e.type?13===(e=tn(e))?"Enter":String.fromCharCode(e):"keydown"===e.type||"keyup"===e.type?xn[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Cn,charCode:function(e){return"keypress"===e.type?tn(e):0},keyCode:function(e){return"keydown"===e.type||"keyup"===e.type?e.keyCode:0},which:function(e){return"keypress"===e.type?tn(e):"keydown"===e.type||"keyup"===e.type?e.keyCode:0}}),An=an(Tn),_n=an(M({},fn,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0})),jn=an(M({},dn,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Cn})),Rn=an(M({},un,{propertyName:0,elapsedTime:0,pseudoElement:0})),Ln=M({},fn,{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}),Nn=an(Ln),Pn=[9,13,27,32],On=c&&"CompositionEvent"in window,Dn=null;c&&"documentMode"in document&&(Dn=document.documentMode);var In=c&&"TextEvent"in window&&!Dn,Mn=c&&(!On||Dn&&8<Dn&&11>=Dn),Fn=String.fromCharCode(32),zn=!1;function Bn(e,t){switch(e){case"keyup":return-1!==Pn.indexOf(t.keyCode);case"keydown":return 229!==t.keyCode;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function $n(e){return"object"==typeof(e=e.detail)&&"data"in e?e.data:null}var Un=!1;var qn={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 Hn(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return"input"===t?!!qn[e.type]:"textarea"===t}function Gn(e,t,n,r){Te(r),0<(t=Vr(t,"onChange")).length&&(n=new cn("onChange","change",null,n,r),e.push({event:n,listeners:t}))}var Vn=null,Wn=null;function Kn(e){Fr(e,0)}function Qn(e){if(W(wa(e)))return e}function Yn(e,t){if("change"===e)return t}var Zn=!1;if(c){var Xn;if(c){var Jn="oninput"in document;if(!Jn){var er=document.createElement("div");er.setAttribute("oninput","return;"),Jn="function"==typeof er.oninput}Xn=Jn}else Xn=!1;Zn=Xn&&(!document.documentMode||9<document.documentMode)}function tr(){Vn&&(Vn.detachEvent("onpropertychange",nr),Wn=Vn=null)}function nr(e){if("value"===e.propertyName&&Qn(Wn)){var t=[];Gn(t,Wn,e,ke(e)),Le(Kn,t)}}function rr(e,t,n){"focusin"===e?(tr(),Wn=n,(Vn=t).attachEvent("onpropertychange",nr)):"focusout"===e&&tr()}function ar(e){if("selectionchange"===e||"keyup"===e||"keydown"===e)return Qn(Wn)}function or(e,t){if("click"===e)return Qn(t)}function ir(e,t){if("input"===e||"change"===e)return Qn(t)}var lr="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t};function sr(e,t){if(lr(e,t))return!0;if("object"!=typeof e||null===e||"object"!=typeof t||null===t)return!1;var n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(r=0;r<n.length;r++){var a=n[r];if(!d.call(t,a)||!lr(e[a],t[a]))return!1}return!0}function ur(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function cr(e,t){var n,r=ur(e);for(e=0;r;){if(3===r.nodeType){if(n=e+r.textContent.length,e<=t&&n>=t)return{node:r,offset:t-e};e=n}e:{for(;r;){if(r.nextSibling){r=r.nextSibling;break e}r=r.parentNode}r=void 0}r=ur(r)}}function dr(e,t){return!(!e||!t)&&(e===t||(!e||3!==e.nodeType)&&(t&&3===t.nodeType?dr(e,t.parentNode):"contains"in e?e.contains(t):!!e.compareDocumentPosition&&!!(16&e.compareDocumentPosition(t))))}function pr(){for(var e=window,t=K();t instanceof e.HTMLIFrameElement;){try{var n="string"==typeof t.contentWindow.location.href}catch(r){n=!1}if(!n)break;t=K((e=t.contentWindow).document)}return t}function fr(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&("input"===t&&("text"===e.type||"search"===e.type||"tel"===e.type||"url"===e.type||"password"===e.type)||"textarea"===t||"true"===e.contentEditable)}function mr(e){var t=pr(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&dr(n.ownerDocument.documentElement,n)){if(null!==r&&fr(n))if(t=r.start,void 0===(e=r.end)&&(e=t),"selectionStart"in n)n.selectionStart=t,n.selectionEnd=Math.min(e,n.value.length);else if((e=(t=n.ownerDocument||document)&&t.defaultView||window).getSelection){e=e.getSelection();var a=n.textContent.length,o=Math.min(r.start,a);r=void 0===r.end?o:Math.min(r.end,a),!e.extend&&o>r&&(a=r,r=o,o=a),a=cr(n,o);var i=cr(n,r);a&&i&&(1!==e.rangeCount||e.anchorNode!==a.node||e.anchorOffset!==a.offset||e.focusNode!==i.node||e.focusOffset!==i.offset)&&((t=t.createRange()).setStart(a.node,a.offset),e.removeAllRanges(),o>r?(e.addRange(t),e.extend(i.node,i.offset)):(t.setEnd(i.node,i.offset),e.addRange(t)))}for(t=[],e=n;e=e.parentNode;)1===e.nodeType&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for("function"==typeof n.focus&&n.focus(),n=0;n<t.length;n++)(e=t[n]).element.scrollLeft=e.left,e.element.scrollTop=e.top}}var hr=c&&"documentMode"in document&&11>=document.documentMode,gr=null,yr=null,br=null,vr=!1;function wr(e,t,n){var r=n.window===n?n.document:9===n.nodeType?n:n.ownerDocument;vr||null==gr||gr!==K(r)||("selectionStart"in(r=gr)&&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&&sr(br,r)||(br=r,0<(r=Vr(yr,"onSelect")).length&&(t=new cn("onSelect","select",null,t,n),e.push({event:t,listeners:r}),t.target=gr)))}function kr(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var xr={animationend:kr("Animation","AnimationEnd"),animationiteration:kr("Animation","AnimationIteration"),animationstart:kr("Animation","AnimationStart"),transitionend:kr("Transition","TransitionEnd")},Sr={},Er={};function Cr(e){if(Sr[e])return Sr[e];if(!xr[e])return e;var t,n=xr[e];for(t in n)if(n.hasOwnProperty(t)&&t in Er)return Sr[e]=n[t];return e}c&&(Er=document.createElement("div").style,"AnimationEvent"in window||(delete xr.animationend.animation,delete xr.animationiteration.animation,delete xr.animationstart.animation),"TransitionEvent"in window||delete xr.transitionend.transition);var Tr=Cr("animationend"),Ar=Cr("animationiteration"),_r=Cr("animationstart"),jr=Cr("transitionend"),Rr=new Map,Lr="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 Nr(e,t){Rr.set(e,t),s(t,[e])}for(var Pr=0;Pr<Lr.length;Pr++){var Or=Lr[Pr];Nr(Or.toLowerCase(),"on"+(Or[0].toUpperCase()+Or.slice(1)))}Nr(Tr,"onAnimationEnd"),Nr(Ar,"onAnimationIteration"),Nr(_r,"onAnimationStart"),Nr("dblclick","onDoubleClick"),Nr("focusin","onFocus"),Nr("focusout","onBlur"),Nr(jr,"onTransitionEnd"),u("onMouseEnter",["mouseout","mouseover"]),u("onMouseLeave",["mouseout","mouseover"]),u("onPointerEnter",["pointerout","pointerover"]),u("onPointerLeave",["pointerout","pointerover"]),s("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),s("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),s("onBeforeInput",["compositionend","keypress","textInput","paste"]),s("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),s("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),s("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var Dr="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(" "),Ir=new Set("cancel close invalid load scroll toggle".split(" ").concat(Dr));function Mr(e,t,n){var r=e.type||"unknown-event";e.currentTarget=n,function(e,t,n,r,a,i,l,s,u){if($e.apply(this,arguments),Ie){if(!Ie)throw Error(o(198));var c=Me;Ie=!1,Me=null,Fe||(Fe=!0,ze=c)}}(r,t,void 0,e),e.currentTarget=null}function Fr(e,t){t=!!(4&t);for(var n=0;n<e.length;n++){var r=e[n],a=r.event;r=r.listeners;e:{var o=void 0;if(t)for(var i=r.length-1;0<=i;i--){var l=r[i],s=l.instance,u=l.currentTarget;if(l=l.listener,s!==o&&a.isPropagationStopped())break e;Mr(a,l,u),o=s}else for(i=0;i<r.length;i++){if(s=(l=r[i]).instance,u=l.currentTarget,l=l.listener,s!==o&&a.isPropagationStopped())break e;Mr(a,l,u),o=s}}}if(Fe)throw e=ze,Fe=!1,ze=null,e}function zr(e,t){var n=t[ha];void 0===n&&(n=t[ha]=new Set);var r=e+"__bubble";n.has(r)||(qr(t,e,2,!1),n.add(r))}function Br(e,t,n){var r=0;t&&(r|=4),qr(n,e,r,t)}var $r="_reactListening"+Math.random().toString(36).slice(2);function Ur(e){if(!e[$r]){e[$r]=!0,i.forEach((function(t){"selectionchange"!==t&&(Ir.has(t)||Br(t,!1,e),Br(t,!0,e))}));var t=9===e.nodeType?e:e.ownerDocument;null===t||t[$r]||(t[$r]=!0,Br("selectionchange",!1,t))}}function qr(e,t,n,r){switch(Yt(t)){case 1:var a=Gt;break;case 4:a=Vt;break;default:a=Wt}n=a.bind(null,t,n,e),a=void 0,!Pe||"touchstart"!==t&&"touchmove"!==t&&"wheel"!==t||(a=!0),r?void 0!==a?e.addEventListener(t,n,{capture:!0,passive:a}):e.addEventListener(t,n,!0):void 0!==a?e.addEventListener(t,n,{passive:a}):e.addEventListener(t,n,!1)}function Hr(e,t,n,r,a){var o=r;if(!(1&t||2&t||null===r))e:for(;;){if(null===r)return;var i=r.tag;if(3===i||4===i){var l=r.stateNode.containerInfo;if(l===a||8===l.nodeType&&l.parentNode===a)break;if(4===i)for(i=r.return;null!==i;){var s=i.tag;if((3===s||4===s)&&((s=i.stateNode.containerInfo)===a||8===s.nodeType&&s.parentNode===a))return;i=i.return}for(;null!==l;){if(null===(i=ba(l)))return;if(5===(s=i.tag)||6===s){r=o=i;continue e}l=l.parentNode}}r=r.return}Le((function(){var r=o,a=ke(n),i=[];e:{var l=Rr.get(e);if(void 0!==l){var s=cn,u=e;switch(e){case"keypress":if(0===tn(n))break e;case"keydown":case"keyup":s=An;break;case"focusin":u="focus",s=gn;break;case"focusout":u="blur",s=gn;break;case"beforeblur":case"afterblur":s=gn;break;case"click":if(2===n.button)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":s=mn;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":s=hn;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":s=jn;break;case Tr:case Ar:case _r:s=yn;break;case jr:s=Rn;break;case"scroll":s=pn;break;case"wheel":s=Nn;break;case"copy":case"cut":case"paste":s=vn;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":s=_n}var c=!!(4&t),d=!c&&"scroll"===e,p=c?null!==l?l+"Capture":null:l;c=[];for(var f,m=r;null!==m;){var h=(f=m).stateNode;if(5===f.tag&&null!==h&&(f=h,null!==p&&(null!=(h=Ne(m,p))&&c.push(Gr(m,h,f)))),d)break;m=m.return}0<c.length&&(l=new s(l,u,null,n,a),i.push({event:l,listeners:c}))}}if(!(7&t)){if(s="mouseout"===e||"pointerout"===e,(!(l="mouseover"===e||"pointerover"===e)||n===we||!(u=n.relatedTarget||n.fromElement)||!ba(u)&&!u[ma])&&(s||l)&&(l=a.window===a?a:(l=a.ownerDocument)?l.defaultView||l.parentWindow:window,s?(s=r,null!==(u=(u=n.relatedTarget||n.toElement)?ba(u):null)&&(u!==(d=Ue(u))||5!==u.tag&&6!==u.tag)&&(u=null)):(s=null,u=r),s!==u)){if(c=mn,h="onMouseLeave",p="onMouseEnter",m="mouse","pointerout"!==e&&"pointerover"!==e||(c=_n,h="onPointerLeave",p="onPointerEnter",m="pointer"),d=null==s?l:wa(s),f=null==u?l:wa(u),(l=new c(h,m+"leave",s,n,a)).target=d,l.relatedTarget=f,h=null,ba(a)===r&&((c=new c(p,m+"enter",u,n,a)).target=f,c.relatedTarget=d,h=c),d=h,s&&u)e:{for(p=u,m=0,f=c=s;f;f=Wr(f))m++;for(f=0,h=p;h;h=Wr(h))f++;for(;0<m-f;)c=Wr(c),m--;for(;0<f-m;)p=Wr(p),f--;for(;m--;){if(c===p||null!==p&&c===p.alternate)break e;c=Wr(c),p=Wr(p)}c=null}else c=null;null!==s&&Kr(i,l,s,c,!1),null!==u&&null!==d&&Kr(i,d,u,c,!0)}if("select"===(s=(l=r?wa(r):window).nodeName&&l.nodeName.toLowerCase())||"input"===s&&"file"===l.type)var g=Yn;else if(Hn(l))if(Zn)g=ir;else{g=ar;var y=rr}else(s=l.nodeName)&&"input"===s.toLowerCase()&&("checkbox"===l.type||"radio"===l.type)&&(g=or);switch(g&&(g=g(e,r))?Gn(i,g,n,a):(y&&y(e,l,r),"focusout"===e&&(y=l._wrapperState)&&y.controlled&&"number"===l.type&&ee(l,"number",l.value)),y=r?wa(r):window,e){case"focusin":(Hn(y)||"true"===y.contentEditable)&&(gr=y,yr=r,br=null);break;case"focusout":br=yr=gr=null;break;case"mousedown":vr=!0;break;case"contextmenu":case"mouseup":case"dragend":vr=!1,wr(i,n,a);break;case"selectionchange":if(hr)break;case"keydown":case"keyup":wr(i,n,a)}var b;if(On)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 Un?Bn(e,n)&&(v="onCompositionEnd"):"keydown"===e&&229===n.keyCode&&(v="onCompositionStart");v&&(Mn&&"ko"!==n.locale&&(Un||"onCompositionStart"!==v?"onCompositionEnd"===v&&Un&&(b=en()):(Xt="value"in(Zt=a)?Zt.value:Zt.textContent,Un=!0)),0<(y=Vr(r,v)).length&&(v=new wn(v,e,null,n,a),i.push({event:v,listeners:y}),b?v.data=b:null!==(b=$n(n))&&(v.data=b))),(b=In?function(e,t){switch(e){case"compositionend":return $n(t);case"keypress":return 32!==t.which?null:(zn=!0,Fn);case"textInput":return(e=t.data)===Fn&&zn?null:e;default:return null}}(e,n):function(e,t){if(Un)return"compositionend"===e||!On&&Bn(e,t)?(e=en(),Jt=Xt=Zt=null,Un=!1,e):null;switch(e){case"paste":default:return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1<t.char.length)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case"compositionend":return Mn&&"ko"!==t.locale?null:t.data}}(e,n))&&(0<(r=Vr(r,"onBeforeInput")).length&&(a=new wn("onBeforeInput","beforeinput",null,n,a),i.push({event:a,listeners:r}),a.data=b))}Fr(i,t)}))}function Gr(e,t,n){return{instance:e,listener:t,currentTarget:n}}function Vr(e,t){for(var n=t+"Capture",r=[];null!==e;){var a=e,o=a.stateNode;5===a.tag&&null!==o&&(a=o,null!=(o=Ne(e,n))&&r.unshift(Gr(e,o,a)),null!=(o=Ne(e,t))&&r.push(Gr(e,o,a))),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 Kr(e,t,n,r,a){for(var o=t._reactName,i=[];null!==n&&n!==r;){var l=n,s=l.alternate,u=l.stateNode;if(null!==s&&s===r)break;5===l.tag&&null!==u&&(l=u,a?null!=(s=Ne(n,o))&&i.unshift(Gr(n,s,l)):a||null!=(s=Ne(n,o))&&i.push(Gr(n,s,l))),n=n.return}0!==i.length&&e.push({event:t,listeners:i})}var Qr=/\r\n?/g,Yr=/\u0000|\uFFFD/g;function Zr(e){return("string"==typeof e?e:""+e).replace(Qr,"\n").replace(Yr,"")}function Xr(e,t,n){if(t=Zr(t),Zr(e)!==t&&n)throw Error(o(425))}function Jr(){}var ea=null,ta=null;function na(e,t){return"textarea"===e||"noscript"===e||"string"==typeof t.children||"number"==typeof t.children||"object"==typeof t.dangerouslySetInnerHTML&&null!==t.dangerouslySetInnerHTML&&null!=t.dangerouslySetInnerHTML.__html}var ra="function"==typeof setTimeout?setTimeout:void 0,aa="function"==typeof clearTimeout?clearTimeout:void 0,oa="function"==typeof Promise?Promise:void 0,ia="function"==typeof queueMicrotask?queueMicrotask:void 0!==oa?function(e){return oa.resolve(null).then(e).catch(la)}:ra;function la(e){setTimeout((function(){throw e}))}function sa(e,t){var n=t,r=0;do{var a=n.nextSibling;if(e.removeChild(n),a&&8===a.nodeType)if("/$"===(n=a.data)){if(0===r)return e.removeChild(a),void Ut(t);r--}else"$"!==n&&"$?"!==n&&"$!"!==n||r++;n=a}while(n);Ut(t)}function ua(e){for(;null!=e;e=e.nextSibling){var t=e.nodeType;if(1===t||3===t)break;if(8===t){if("$"===(t=e.data)||"$!"===t||"$?"===t)break;if("/$"===t)return null}}return e}function ca(e){e=e.previousSibling;for(var t=0;e;){if(8===e.nodeType){var n=e.data;if("$"===n||"$!"===n||"$?"===n){if(0===t)return e;t--}else"/$"===n&&t++}e=e.previousSibling}return null}var da=Math.random().toString(36).slice(2),pa="__reactFiber$"+da,fa="__reactProps$"+da,ma="__reactContainer$"+da,ha="__reactEvents$"+da,ga="__reactListeners$"+da,ya="__reactHandles$"+da;function ba(e){var t=e[pa];if(t)return t;for(var n=e.parentNode;n;){if(t=n[ma]||n[pa]){if(n=t.alternate,null!==t.child||null!==n&&null!==n.child)for(e=ca(e);null!==e;){if(n=e[pa])return n;e=ca(e)}return t}n=(e=n).parentNode}return null}function va(e){return!(e=e[pa]||e[ma])||5!==e.tag&&6!==e.tag&&13!==e.tag&&3!==e.tag?null:e}function wa(e){if(5===e.tag||6===e.tag)return e.stateNode;throw Error(o(33))}function ka(e){return e[fa]||null}var xa=[],Sa=-1;function Ea(e){return{current:e}}function Ca(e){0>Sa||(e.current=xa[Sa],xa[Sa]=null,Sa--)}function Ta(e,t){Sa++,xa[Sa]=e.current,e.current=t}var Aa={},_a=Ea(Aa),ja=Ea(!1),Ra=Aa;function La(e,t){var n=e.type.contextTypes;if(!n)return Aa;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var a,o={};for(a in n)o[a]=t[a];return r&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=o),o}function Na(e){return null!=(e=e.childContextTypes)}function Pa(){Ca(ja),Ca(_a)}function Oa(e,t,n){if(_a.current!==Aa)throw Error(o(168));Ta(_a,t),Ta(ja,n)}function Da(e,t,n){var r=e.stateNode;if(t=t.childContextTypes,"function"!=typeof r.getChildContext)return n;for(var a in r=r.getChildContext())if(!(a in t))throw Error(o(108,q(e)||"Unknown",a));return M({},n,r)}function Ia(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||Aa,Ra=_a.current,Ta(_a,e),Ta(ja,ja.current),!0}function Ma(e,t,n){var r=e.stateNode;if(!r)throw Error(o(169));n?(e=Da(e,t,Ra),r.__reactInternalMemoizedMergedChildContext=e,Ca(ja),Ca(_a),Ta(_a,e)):Ca(ja),Ta(ja,n)}var Fa=null,za=!1,Ba=!1;function $a(e){null===Fa?Fa=[e]:Fa.push(e)}function Ua(){if(!Ba&&null!==Fa){Ba=!0;var e=0,t=vt;try{var n=Fa;for(vt=1;e<n.length;e++){var r=n[e];do{r=r(!0)}while(null!==r)}Fa=null,za=!1}catch(a){throw null!==Fa&&(Fa=Fa.slice(e+1)),We(Je,Ua),a}finally{vt=t,Ba=!1}}return null}var qa=[],Ha=0,Ga=null,Va=0,Wa=[],Ka=0,Qa=null,Ya=1,Za="";function Xa(e,t){qa[Ha++]=Va,qa[Ha++]=Ga,Ga=e,Va=t}function Ja(e,t,n){Wa[Ka++]=Ya,Wa[Ka++]=Za,Wa[Ka++]=Qa,Qa=e;var r=Ya;e=Za;var a=32-it(r)-1;r&=~(1<<a),n+=1;var o=32-it(t)+a;if(30<o){var i=a-a%5;o=(r&(1<<i)-1).toString(32),r>>=i,a-=i,Ya=1<<32-it(t)+a|n<<a|r,Za=o+e}else Ya=1<<o|n<<a|r,Za=e}function eo(e){null!==e.return&&(Xa(e,1),Ja(e,1,0))}function to(e){for(;e===Ga;)Ga=qa[--Ha],qa[Ha]=null,Va=qa[--Ha],qa[Ha]=null;for(;e===Qa;)Qa=Wa[--Ka],Wa[Ka]=null,Za=Wa[--Ka],Wa[Ka]=null,Ya=Wa[--Ka],Wa[Ka]=null}var no=null,ro=null,ao=!1,oo=null;function io(e,t){var n=Lu(5,null,null,0);n.elementType="DELETED",n.stateNode=t,n.return=e,null===(t=e.deletions)?(e.deletions=[n],e.flags|=16):t.push(n)}function lo(e,t){switch(e.tag){case 5:var n=e.type;return null!==(t=1!==t.nodeType||n.toLowerCase()!==t.nodeName.toLowerCase()?null:t)&&(e.stateNode=t,no=e,ro=ua(t.firstChild),!0);case 6:return null!==(t=""===e.pendingProps||3!==t.nodeType?null:t)&&(e.stateNode=t,no=e,ro=null,!0);case 13:return null!==(t=8!==t.nodeType?null:t)&&(n=null!==Qa?{id:Ya,overflow:Za}:null,e.memoizedState={dehydrated:t,treeContext:n,retryLane:1073741824},(n=Lu(18,null,null,0)).stateNode=t,n.return=e,e.child=n,no=e,ro=null,!0);default:return!1}}function so(e){return!(!(1&e.mode)||128&e.flags)}function uo(e){if(ao){var t=ro;if(t){var n=t;if(!lo(e,t)){if(so(e))throw Error(o(418));t=ua(n.nextSibling);var r=no;t&&lo(e,t)?io(r,n):(e.flags=-4097&e.flags|2,ao=!1,no=e)}}else{if(so(e))throw Error(o(418));e.flags=-4097&e.flags|2,ao=!1,no=e}}}function co(e){for(e=e.return;null!==e&&5!==e.tag&&3!==e.tag&&13!==e.tag;)e=e.return;no=e}function po(e){if(e!==no)return!1;if(!ao)return co(e),ao=!0,!1;var t;if((t=3!==e.tag)&&!(t=5!==e.tag)&&(t="head"!==(t=e.type)&&"body"!==t&&!na(e.type,e.memoizedProps)),t&&(t=ro)){if(so(e))throw fo(),Error(o(418));for(;t;)io(e,t),t=ua(t.nextSibling)}if(co(e),13===e.tag){if(!(e=null!==(e=e.memoizedState)?e.dehydrated:null))throw Error(o(317));e:{for(e=e.nextSibling,t=0;e;){if(8===e.nodeType){var n=e.data;if("/$"===n){if(0===t){ro=ua(e.nextSibling);break e}t--}else"$"!==n&&"$!"!==n&&"$?"!==n||t++}e=e.nextSibling}ro=null}}else ro=no?ua(e.stateNode.nextSibling):null;return!0}function fo(){for(var e=ro;e;)e=ua(e.nextSibling)}function mo(){ro=no=null,ao=!1}function ho(e){null===oo?oo=[e]:oo.push(e)}var go=w.ReactCurrentBatchConfig;function yo(e,t,n){if(null!==(e=n.ref)&&"function"!=typeof e&&"object"!=typeof e){if(n._owner){if(n=n._owner){if(1!==n.tag)throw Error(o(309));var r=n.stateNode}if(!r)throw Error(o(147,e));var a=r,i=""+e;return null!==t&&null!==t.ref&&"function"==typeof t.ref&&t.ref._stringRef===i?t.ref:(t=function(e){var t=a.refs;null===e?delete t[i]:t[i]=e},t._stringRef=i,t)}if("string"!=typeof e)throw Error(o(284));if(!n._owner)throw Error(o(290,e))}return e}function bo(e,t){throw e=Object.prototype.toString.call(t),Error(o(31,"[object Object]"===e?"object with keys {"+Object.keys(t).join(", ")+"}":e))}function vo(e){return(0,e._init)(e._payload)}function wo(e){function t(t,n){if(e){var r=t.deletions;null===r?(t.deletions=[n],t.flags|=16):r.push(n)}}function n(n,r){if(!e)return null;for(;null!==r;)t(n,r),r=r.sibling;return null}function r(e,t){for(e=new Map;null!==t;)null!==t.key?e.set(t.key,t):e.set(t.index,t),t=t.sibling;return e}function a(e,t){return(e=Pu(e,t)).index=0,e.sibling=null,e}function i(t,n,r){return t.index=r,e?null!==(r=t.alternate)?(r=r.index)<n?(t.flags|=2,n):r:(t.flags|=2,n):(t.flags|=1048576,n)}function l(t){return e&&null===t.alternate&&(t.flags|=2),t}function s(e,t,n,r){return null===t||6!==t.tag?((t=Mu(n,e.mode,r)).return=e,t):((t=a(t,n)).return=e,t)}function u(e,t,n,r){var o=n.type;return o===S?d(e,t,n.props.children,r,n.key):null!==t&&(t.elementType===o||"object"==typeof o&&null!==o&&o.$$typeof===N&&vo(o)===t.type)?((r=a(t,n.props)).ref=yo(e,t,n),r.return=e,r):((r=Ou(n.type,n.key,n.props,null,e.mode,r)).ref=yo(e,t,n),r.return=e,r)}function c(e,t,n,r){return null===t||4!==t.tag||t.stateNode.containerInfo!==n.containerInfo||t.stateNode.implementation!==n.implementation?((t=Fu(n,e.mode,r)).return=e,t):((t=a(t,n.children||[])).return=e,t)}function d(e,t,n,r,o){return null===t||7!==t.tag?((t=Du(n,e.mode,r,o)).return=e,t):((t=a(t,n)).return=e,t)}function p(e,t,n){if("string"==typeof t&&""!==t||"number"==typeof t)return(t=Mu(""+t,e.mode,n)).return=e,t;if("object"==typeof t&&null!==t){switch(t.$$typeof){case k:return(n=Ou(t.type,t.key,t.props,null,e.mode,n)).ref=yo(e,null,t),n.return=e,n;case x:return(t=Fu(t,e.mode,n)).return=e,t;case N:return p(e,(0,t._init)(t._payload),n)}if(te(t)||D(t))return(t=Du(t,e.mode,n,null)).return=e,t;bo(e,t)}return null}function f(e,t,n,r){var a=null!==t?t.key:null;if("string"==typeof n&&""!==n||"number"==typeof n)return null!==a?null:s(e,t,""+n,r);if("object"==typeof n&&null!==n){switch(n.$$typeof){case k:return n.key===a?u(e,t,n,r):null;case x:return n.key===a?c(e,t,n,r):null;case N:return f(e,t,(a=n._init)(n._payload),r)}if(te(n)||D(n))return null!==a?null:d(e,t,n,r,null);bo(e,n)}return null}function m(e,t,n,r,a){if("string"==typeof r&&""!==r||"number"==typeof r)return s(t,e=e.get(n)||null,""+r,a);if("object"==typeof r&&null!==r){switch(r.$$typeof){case k:return u(t,e=e.get(null===r.key?n:r.key)||null,r,a);case x:return c(t,e=e.get(null===r.key?n:r.key)||null,r,a);case N:return m(e,t,n,(0,r._init)(r._payload),a)}if(te(r)||D(r))return d(t,e=e.get(n)||null,r,a,null);bo(t,r)}return null}function h(a,o,l,s){for(var u=null,c=null,d=o,h=o=0,g=null;null!==d&&h<l.length;h++){d.index>h?(g=d,d=null):g=d.sibling;var y=f(a,d,l[h],s);if(null===y){null===d&&(d=g);break}e&&d&&null===y.alternate&&t(a,d),o=i(y,o,h),null===c?u=y:c.sibling=y,c=y,d=g}if(h===l.length)return n(a,d),ao&&Xa(a,h),u;if(null===d){for(;h<l.length;h++)null!==(d=p(a,l[h],s))&&(o=i(d,o,h),null===c?u=d:c.sibling=d,c=d);return ao&&Xa(a,h),u}for(d=r(a,d);h<l.length;h++)null!==(g=m(d,a,h,l[h],s))&&(e&&null!==g.alternate&&d.delete(null===g.key?h:g.key),o=i(g,o,h),null===c?u=g:c.sibling=g,c=g);return e&&d.forEach((function(e){return t(a,e)})),ao&&Xa(a,h),u}function g(a,l,s,u){var c=D(s);if("function"!=typeof c)throw Error(o(150));if(null==(s=c.call(s)))throw Error(o(151));for(var d=c=null,h=l,g=l=0,y=null,b=s.next();null!==h&&!b.done;g++,b=s.next()){h.index>g?(y=h,h=null):y=h.sibling;var v=f(a,h,b.value,u);if(null===v){null===h&&(h=y);break}e&&h&&null===v.alternate&&t(a,h),l=i(v,l,g),null===d?c=v:d.sibling=v,d=v,h=y}if(b.done)return n(a,h),ao&&Xa(a,g),c;if(null===h){for(;!b.done;g++,b=s.next())null!==(b=p(a,b.value,u))&&(l=i(b,l,g),null===d?c=b:d.sibling=b,d=b);return ao&&Xa(a,g),c}for(h=r(a,h);!b.done;g++,b=s.next())null!==(b=m(h,a,g,b.value,u))&&(e&&null!==b.alternate&&h.delete(null===b.key?g:b.key),l=i(b,l,g),null===d?c=b:d.sibling=b,d=b);return e&&h.forEach((function(e){return t(a,e)})),ao&&Xa(a,g),c}return function e(r,o,i,s){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 k:e:{for(var u=i.key,c=o;null!==c;){if(c.key===u){if((u=i.type)===S){if(7===c.tag){n(r,c.sibling),(o=a(c,i.props.children)).return=r,r=o;break e}}else if(c.elementType===u||"object"==typeof u&&null!==u&&u.$$typeof===N&&vo(u)===c.type){n(r,c.sibling),(o=a(c,i.props)).ref=yo(r,c,i),o.return=r,r=o;break e}n(r,c);break}t(r,c),c=c.sibling}i.type===S?((o=Du(i.props.children,r.mode,s,i.key)).return=r,r=o):((s=Ou(i.type,i.key,i.props,null,r.mode,s)).ref=yo(r,o,i),s.return=r,r=s)}return l(r);case x:e:{for(c=i.key;null!==o;){if(o.key===c){if(4===o.tag&&o.stateNode.containerInfo===i.containerInfo&&o.stateNode.implementation===i.implementation){n(r,o.sibling),(o=a(o,i.children||[])).return=r,r=o;break e}n(r,o);break}t(r,o),o=o.sibling}(o=Fu(i,r.mode,s)).return=r,r=o}return l(r);case N:return e(r,o,(c=i._init)(i._payload),s)}if(te(i))return h(r,o,i,s);if(D(i))return g(r,o,i,s);bo(r,i)}return"string"==typeof i&&""!==i||"number"==typeof i?(i=""+i,null!==o&&6===o.tag?(n(r,o.sibling),(o=a(o,i)).return=r,r=o):(n(r,o),(o=Mu(i,r.mode,s)).return=r,r=o),l(r)):n(r,o)}}var ko=wo(!0),xo=wo(!1),So=Ea(null),Eo=null,Co=null,To=null;function Ao(){To=Co=Eo=null}function _o(e){var t=So.current;Ca(So),e._currentValue=t}function jo(e,t,n){for(;null!==e;){var r=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,null!==r&&(r.childLanes|=t)):null!==r&&(r.childLanes&t)!==t&&(r.childLanes|=t),e===n)break;e=e.return}}function Ro(e,t){Eo=e,To=Co=null,null!==(e=e.dependencies)&&null!==e.firstContext&&(!!(e.lanes&t)&&(vl=!0),e.firstContext=null)}function Lo(e){var t=e._currentValue;if(To!==e)if(e={context:e,memoizedValue:t,next:null},null===Co){if(null===Eo)throw Error(o(308));Co=e,Eo.dependencies={lanes:0,firstContext:e}}else Co=Co.next=e;return t}var No=null;function Po(e){null===No?No=[e]:No.push(e)}function Oo(e,t,n,r){var a=t.interleaved;return null===a?(n.next=n,Po(t)):(n.next=a.next,a.next=n),t.interleaved=n,Do(e,r)}function Do(e,t){e.lanes|=t;var n=e.alternate;for(null!==n&&(n.lanes|=t),n=e,e=e.return;null!==e;)e.childLanes|=t,null!==(n=e.alternate)&&(n.childLanes|=t),n=e,e=e.return;return 3===n.tag?n.stateNode:null}var Io=!1;function Mo(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function Fo(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,effects:e.effects})}function zo(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function Bo(e,t,n){var r=e.updateQueue;if(null===r)return null;if(r=r.shared,2&_s){var a=r.pending;return null===a?t.next=t:(t.next=a.next,a.next=t),r.pending=t,Do(e,n)}return null===(a=r.interleaved)?(t.next=t,Po(r)):(t.next=a.next,a.next=t),r.interleaved=t,Do(e,n)}function $o(e,t,n){if(null!==(t=t.updateQueue)&&(t=t.shared,4194240&n)){var r=t.lanes;n|=r&=e.pendingLanes,t.lanes=n,bt(e,n)}}function Uo(e,t){var n=e.updateQueue,r=e.alternate;if(null!==r&&n===(r=r.updateQueue)){var a=null,o=null;if(null!==(n=n.firstBaseUpdate)){do{var i={eventTime:n.eventTime,lane:n.lane,tag:n.tag,payload:n.payload,callback:n.callback,next:null};null===o?a=o=i:o=o.next=i,n=n.next}while(null!==n);null===o?a=o=t:o=o.next=t}else a=o=t;return n={baseState:r.baseState,firstBaseUpdate:a,lastBaseUpdate:o,shared:r.shared,effects:r.effects},void(e.updateQueue=n)}null===(e=n.lastBaseUpdate)?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}function qo(e,t,n,r){var a=e.updateQueue;Io=!1;var o=a.firstBaseUpdate,i=a.lastBaseUpdate,l=a.shared.pending;if(null!==l){a.shared.pending=null;var s=l,u=s.next;s.next=null,null===i?o=u:i.next=u,i=s;var c=e.alternate;null!==c&&((l=(c=c.updateQueue).lastBaseUpdate)!==i&&(null===l?c.firstBaseUpdate=u:l.next=u,c.lastBaseUpdate=s))}if(null!==o){var d=a.baseState;for(i=0,c=u=s=null,l=o;;){var p=l.lane,f=l.eventTime;if((r&p)===p){null!==c&&(c=c.next={eventTime:f,lane:0,tag:l.tag,payload:l.payload,callback:l.callback,next:null});e:{var m=e,h=l;switch(p=t,f=n,h.tag){case 1:if("function"==typeof(m=h.payload)){d=m.call(f,d,p);break e}d=m;break e;case 3:m.flags=-65537&m.flags|128;case 0:if(null==(p="function"==typeof(m=h.payload)?m.call(f,d,p):m))break e;d=M({},d,p);break e;case 2:Io=!0}}null!==l.callback&&0!==l.lane&&(e.flags|=64,null===(p=a.effects)?a.effects=[l]:p.push(l))}else f={eventTime:f,lane:p,tag:l.tag,payload:l.payload,callback:l.callback,next:null},null===c?(u=c=f,s=d):c=c.next=f,i|=p;if(null===(l=l.next)){if(null===(l=a.shared.pending))break;l=(p=l).next,p.next=null,a.lastBaseUpdate=p,a.shared.pending=null}}if(null===c&&(s=d),a.baseState=s,a.firstBaseUpdate=u,a.lastBaseUpdate=c,null!==(t=a.shared.interleaved)){a=t;do{i|=a.lane,a=a.next}while(a!==t)}else null===o&&(a.shared.lanes=0);Is|=i,e.lanes=i,e.memoizedState=d}}function Ho(e,t,n){if(e=t.effects,t.effects=null,null!==e)for(t=0;t<e.length;t++){var r=e[t],a=r.callback;if(null!==a){if(r.callback=null,r=n,"function"!=typeof a)throw Error(o(191,a));a.call(r)}}}var Go={},Vo=Ea(Go),Wo=Ea(Go),Ko=Ea(Go);function Qo(e){if(e===Go)throw Error(o(174));return e}function Yo(e,t){switch(Ta(Ko,t),Ta(Wo,e),Ta(Vo,Go),e=t.nodeType){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:se(null,"");break;default:t=se(t=(e=8===e?t.parentNode:t).namespaceURI||null,e=e.tagName)}Ca(Vo),Ta(Vo,t)}function Zo(){Ca(Vo),Ca(Wo),Ca(Ko)}function Xo(e){Qo(Ko.current);var t=Qo(Vo.current),n=se(t,e.type);t!==n&&(Ta(Wo,e),Ta(Vo,n))}function Jo(e){Wo.current===e&&(Ca(Vo),Ca(Wo))}var ei=Ea(0);function ti(e){for(var t=e;null!==t;){if(13===t.tag){var n=t.memoizedState;if(null!==n&&(null===(n=n.dehydrated)||"$?"===n.data||"$!"===n.data))return t}else if(19===t.tag&&void 0!==t.memoizedProps.revealOrder){if(128&t.flags)return t}else if(null!==t.child){t.child.return=t,t=t.child;continue}if(t===e)break;for(;null===t.sibling;){if(null===t.return||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var ni=[];function ri(){for(var e=0;e<ni.length;e++)ni[e]._workInProgressVersionPrimary=null;ni.length=0}var ai=w.ReactCurrentDispatcher,oi=w.ReactCurrentBatchConfig,ii=0,li=null,si=null,ui=null,ci=!1,di=!1,pi=0,fi=0;function mi(){throw Error(o(321))}function hi(e,t){if(null===t)return!1;for(var n=0;n<t.length&&n<e.length;n++)if(!lr(e[n],t[n]))return!1;return!0}function gi(e,t,n,r,a,i){if(ii=i,li=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,ai.current=null===e||null===e.memoizedState?Ji:el,e=n(r,a),di){i=0;do{if(di=!1,pi=0,25<=i)throw Error(o(301));i+=1,ui=si=null,t.updateQueue=null,ai.current=tl,e=n(r,a)}while(di)}if(ai.current=Xi,t=null!==si&&null!==si.next,ii=0,ui=si=li=null,ci=!1,t)throw Error(o(300));return e}function yi(){var e=0!==pi;return pi=0,e}function bi(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return null===ui?li.memoizedState=ui=e:ui=ui.next=e,ui}function vi(){if(null===si){var e=li.alternate;e=null!==e?e.memoizedState:null}else e=si.next;var t=null===ui?li.memoizedState:ui.next;if(null!==t)ui=t,si=e;else{if(null===e)throw Error(o(310));e={memoizedState:(si=e).memoizedState,baseState:si.baseState,baseQueue:si.baseQueue,queue:si.queue,next:null},null===ui?li.memoizedState=ui=e:ui=ui.next=e}return ui}function wi(e,t){return"function"==typeof t?t(e):t}function ki(e){var t=vi(),n=t.queue;if(null===n)throw Error(o(311));n.lastRenderedReducer=e;var r=si,a=r.baseQueue,i=n.pending;if(null!==i){if(null!==a){var l=a.next;a.next=i.next,i.next=l}r.baseQueue=a=i,n.pending=null}if(null!==a){i=a.next,r=r.baseState;var s=l=null,u=null,c=i;do{var d=c.lane;if((ii&d)===d)null!==u&&(u=u.next={lane:0,action:c.action,hasEagerState:c.hasEagerState,eagerState:c.eagerState,next:null}),r=c.hasEagerState?c.eagerState:e(r,c.action);else{var p={lane:d,action:c.action,hasEagerState:c.hasEagerState,eagerState:c.eagerState,next:null};null===u?(s=u=p,l=r):u=u.next=p,li.lanes|=d,Is|=d}c=c.next}while(null!==c&&c!==i);null===u?l=r:u.next=s,lr(r,t.memoizedState)||(vl=!0),t.memoizedState=r,t.baseState=l,t.baseQueue=u,n.lastRenderedState=r}if(null!==(e=n.interleaved)){a=e;do{i=a.lane,li.lanes|=i,Is|=i,a=a.next}while(a!==e)}else null===a&&(n.lanes=0);return[t.memoizedState,n.dispatch]}function xi(e){var t=vi(),n=t.queue;if(null===n)throw Error(o(311));n.lastRenderedReducer=e;var r=n.dispatch,a=n.pending,i=t.memoizedState;if(null!==a){n.pending=null;var l=a=a.next;do{i=e(i,l.action),l=l.next}while(l!==a);lr(i,t.memoizedState)||(vl=!0),t.memoizedState=i,null===t.baseQueue&&(t.baseState=i),n.lastRenderedState=i}return[i,r]}function Si(){}function Ei(e,t){var n=li,r=vi(),a=t(),i=!lr(r.memoizedState,a);if(i&&(r.memoizedState=a,vl=!0),r=r.queue,Ii(Ai.bind(null,n,r,e),[e]),r.getSnapshot!==t||i||null!==ui&&1&ui.memoizedState.tag){if(n.flags|=2048,Li(9,Ti.bind(null,n,r,a,t),void 0,null),null===js)throw Error(o(349));30&ii||Ci(n,t,a)}return a}function Ci(e,t,n){e.flags|=16384,e={getSnapshot:t,value:n},null===(t=li.updateQueue)?(t={lastEffect:null,stores:null},li.updateQueue=t,t.stores=[e]):null===(n=t.stores)?t.stores=[e]:n.push(e)}function Ti(e,t,n,r){t.value=n,t.getSnapshot=r,_i(t)&&ji(e)}function Ai(e,t,n){return n((function(){_i(t)&&ji(e)}))}function _i(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!lr(e,n)}catch(r){return!0}}function ji(e){var t=Do(e,1);null!==t&&nu(t,e,1,-1)}function Ri(e){var t=bi();return"function"==typeof e&&(e=e()),t.memoizedState=t.baseState=e,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:wi,lastRenderedState:e},t.queue=e,e=e.dispatch=Ki.bind(null,li,e),[t.memoizedState,e]}function Li(e,t,n,r){return e={tag:e,create:t,destroy:n,deps:r,next:null},null===(t=li.updateQueue)?(t={lastEffect:null,stores:null},li.updateQueue=t,t.lastEffect=e.next=e):null===(n=t.lastEffect)?t.lastEffect=e.next=e:(r=n.next,n.next=e,e.next=r,t.lastEffect=e),e}function Ni(){return vi().memoizedState}function Pi(e,t,n,r){var a=bi();li.flags|=e,a.memoizedState=Li(1|t,n,void 0,void 0===r?null:r)}function Oi(e,t,n,r){var a=vi();r=void 0===r?null:r;var o=void 0;if(null!==si){var i=si.memoizedState;if(o=i.destroy,null!==r&&hi(r,i.deps))return void(a.memoizedState=Li(t,n,o,r))}li.flags|=e,a.memoizedState=Li(1|t,n,o,r)}function Di(e,t){return Pi(8390656,8,e,t)}function Ii(e,t){return Oi(2048,8,e,t)}function Mi(e,t){return Oi(4,2,e,t)}function Fi(e,t){return Oi(4,4,e,t)}function zi(e,t){return"function"==typeof t?(e=e(),t(e),function(){t(null)}):null!=t?(e=e(),t.current=e,function(){t.current=null}):void 0}function Bi(e,t,n){return n=null!=n?n.concat([e]):null,Oi(4,4,zi.bind(null,t,e),n)}function $i(){}function Ui(e,t){var n=vi();t=void 0===t?null:t;var r=n.memoizedState;return null!==r&&null!==t&&hi(t,r[1])?r[0]:(n.memoizedState=[e,t],e)}function qi(e,t){var n=vi();t=void 0===t?null:t;var r=n.memoizedState;return null!==r&&null!==t&&hi(t,r[1])?r[0]:(e=e(),n.memoizedState=[e,t],e)}function Hi(e,t,n){return 21&ii?(lr(n,t)||(n=ht(),li.lanes|=n,Is|=n,e.baseState=!0),t):(e.baseState&&(e.baseState=!1,vl=!0),e.memoizedState=n)}function Gi(e,t){var n=vt;vt=0!==n&&4>n?n:4,e(!0);var r=oi.transition;oi.transition={};try{e(!1),t()}finally{vt=n,oi.transition=r}}function Vi(){return vi().memoizedState}function Wi(e,t,n){var r=tu(e);if(n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},Qi(e))Yi(t,n);else if(null!==(n=Oo(e,t,n,r))){nu(n,e,r,eu()),Zi(n,t,r)}}function Ki(e,t,n){var r=tu(e),a={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(Qi(e))Yi(t,a);else{var o=e.alternate;if(0===e.lanes&&(null===o||0===o.lanes)&&null!==(o=t.lastRenderedReducer))try{var i=t.lastRenderedState,l=o(i,n);if(a.hasEagerState=!0,a.eagerState=l,lr(l,i)){var s=t.interleaved;return null===s?(a.next=a,Po(t)):(a.next=s.next,s.next=a),void(t.interleaved=a)}}catch(u){}null!==(n=Oo(e,t,a,r))&&(nu(n,e,r,a=eu()),Zi(n,t,r))}}function Qi(e){var t=e.alternate;return e===li||null!==t&&t===li}function Yi(e,t){di=ci=!0;var n=e.pending;null===n?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function Zi(e,t,n){if(4194240&n){var r=t.lanes;n|=r&=e.pendingLanes,t.lanes=n,bt(e,n)}}var Xi={readContext:Lo,useCallback:mi,useContext:mi,useEffect:mi,useImperativeHandle:mi,useInsertionEffect:mi,useLayoutEffect:mi,useMemo:mi,useReducer:mi,useRef:mi,useState:mi,useDebugValue:mi,useDeferredValue:mi,useTransition:mi,useMutableSource:mi,useSyncExternalStore:mi,useId:mi,unstable_isNewReconciler:!1},Ji={readContext:Lo,useCallback:function(e,t){return bi().memoizedState=[e,void 0===t?null:t],e},useContext:Lo,useEffect:Di,useImperativeHandle:function(e,t,n){return n=null!=n?n.concat([e]):null,Pi(4194308,4,zi.bind(null,t,e),n)},useLayoutEffect:function(e,t){return Pi(4194308,4,e,t)},useInsertionEffect:function(e,t){return Pi(4,2,e,t)},useMemo:function(e,t){var n=bi();return t=void 0===t?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=bi();return t=void 0!==n?n(t):t,r.memoizedState=r.baseState=t,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:t},r.queue=e,e=e.dispatch=Wi.bind(null,li,e),[r.memoizedState,e]},useRef:function(e){return e={current:e},bi().memoizedState=e},useState:Ri,useDebugValue:$i,useDeferredValue:function(e){return bi().memoizedState=e},useTransition:function(){var e=Ri(!1),t=e[0];return e=Gi.bind(null,e[1]),bi().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=li,a=bi();if(ao){if(void 0===n)throw Error(o(407));n=n()}else{if(n=t(),null===js)throw Error(o(349));30&ii||Ci(r,t,n)}a.memoizedState=n;var i={value:n,getSnapshot:t};return a.queue=i,Di(Ai.bind(null,r,i,e),[e]),r.flags|=2048,Li(9,Ti.bind(null,r,i,n,t),void 0,null),n},useId:function(){var e=bi(),t=js.identifierPrefix;if(ao){var n=Za;t=":"+t+"R"+(n=(Ya&~(1<<32-it(Ya)-1)).toString(32)+n),0<(n=pi++)&&(t+="H"+n.toString(32)),t+=":"}else t=":"+t+"r"+(n=fi++).toString(32)+":";return e.memoizedState=t},unstable_isNewReconciler:!1},el={readContext:Lo,useCallback:Ui,useContext:Lo,useEffect:Ii,useImperativeHandle:Bi,useInsertionEffect:Mi,useLayoutEffect:Fi,useMemo:qi,useReducer:ki,useRef:Ni,useState:function(){return ki(wi)},useDebugValue:$i,useDeferredValue:function(e){return Hi(vi(),si.memoizedState,e)},useTransition:function(){return[ki(wi)[0],vi().memoizedState]},useMutableSource:Si,useSyncExternalStore:Ei,useId:Vi,unstable_isNewReconciler:!1},tl={readContext:Lo,useCallback:Ui,useContext:Lo,useEffect:Ii,useImperativeHandle:Bi,useInsertionEffect:Mi,useLayoutEffect:Fi,useMemo:qi,useReducer:xi,useRef:Ni,useState:function(){return xi(wi)},useDebugValue:$i,useDeferredValue:function(e){var t=vi();return null===si?t.memoizedState=e:Hi(t,si.memoizedState,e)},useTransition:function(){return[xi(wi)[0],vi().memoizedState]},useMutableSource:Si,useSyncExternalStore:Ei,useId:Vi,unstable_isNewReconciler:!1};function nl(e,t){if(e&&e.defaultProps){for(var n in t=M({},t),e=e.defaultProps)void 0===t[n]&&(t[n]=e[n]);return t}return t}function rl(e,t,n,r){n=null==(n=n(r,t=e.memoizedState))?t:M({},t,n),e.memoizedState=n,0===e.lanes&&(e.updateQueue.baseState=n)}var al={isMounted:function(e){return!!(e=e._reactInternals)&&Ue(e)===e},enqueueSetState:function(e,t,n){e=e._reactInternals;var r=eu(),a=tu(e),o=zo(r,a);o.payload=t,null!=n&&(o.callback=n),null!==(t=Bo(e,o,a))&&(nu(t,e,a,r),$o(t,e,a))},enqueueReplaceState:function(e,t,n){e=e._reactInternals;var r=eu(),a=tu(e),o=zo(r,a);o.tag=1,o.payload=t,null!=n&&(o.callback=n),null!==(t=Bo(e,o,a))&&(nu(t,e,a,r),$o(t,e,a))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var n=eu(),r=tu(e),a=zo(n,r);a.tag=2,null!=t&&(a.callback=t),null!==(t=Bo(e,a,r))&&(nu(t,e,r,n),$o(t,e,r))}};function ol(e,t,n,r,a,o,i){return"function"==typeof(e=e.stateNode).shouldComponentUpdate?e.shouldComponentUpdate(r,o,i):!t.prototype||!t.prototype.isPureReactComponent||(!sr(n,r)||!sr(a,o))}function il(e,t,n){var r=!1,a=Aa,o=t.contextType;return"object"==typeof o&&null!==o?o=Lo(o):(a=Na(t)?Ra:_a.current,o=(r=null!=(r=t.contextTypes))?La(e,a):Aa),t=new t(n,o),e.memoizedState=null!==t.state&&void 0!==t.state?t.state:null,t.updater=al,e.stateNode=t,t._reactInternals=e,r&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=a,e.__reactInternalMemoizedMaskedChildContext=o),t}function ll(e,t,n,r){e=t.state,"function"==typeof t.componentWillReceiveProps&&t.componentWillReceiveProps(n,r),"function"==typeof t.UNSAFE_componentWillReceiveProps&&t.UNSAFE_componentWillReceiveProps(n,r),t.state!==e&&al.enqueueReplaceState(t,t.state,null)}function sl(e,t,n,r){var a=e.stateNode;a.props=n,a.state=e.memoizedState,a.refs={},Mo(e);var o=t.contextType;"object"==typeof o&&null!==o?a.context=Lo(o):(o=Na(t)?Ra:_a.current,a.context=La(e,o)),a.state=e.memoizedState,"function"==typeof(o=t.getDerivedStateFromProps)&&(rl(e,t,o,n),a.state=e.memoizedState),"function"==typeof t.getDerivedStateFromProps||"function"==typeof a.getSnapshotBeforeUpdate||"function"!=typeof a.UNSAFE_componentWillMount&&"function"!=typeof a.componentWillMount||(t=a.state,"function"==typeof a.componentWillMount&&a.componentWillMount(),"function"==typeof a.UNSAFE_componentWillMount&&a.UNSAFE_componentWillMount(),t!==a.state&&al.enqueueReplaceState(a,a.state,null),qo(e,n,a,r),a.state=e.memoizedState),"function"==typeof a.componentDidMount&&(e.flags|=4194308)}function ul(e,t){try{var n="",r=t;do{n+=$(r),r=r.return}while(r);var a=n}catch(o){a="\nError generating stack: "+o.message+"\n"+o.stack}return{value:e,source:t,stack:a,digest:null}}function cl(e,t,n){return{value:e,source:null,stack:null!=n?n:null,digest:null!=t?t:null}}function dl(e,t){try{console.error(t.value)}catch(n){setTimeout((function(){throw n}))}}var pl="function"==typeof WeakMap?WeakMap:Map;function fl(e,t,n){(n=zo(-1,n)).tag=3,n.payload={element:null};var r=t.value;return n.callback=function(){Hs||(Hs=!0,Gs=r),dl(0,t)},n}function ml(e,t,n){(n=zo(-1,n)).tag=3;var r=e.type.getDerivedStateFromError;if("function"==typeof r){var a=t.value;n.payload=function(){return r(a)},n.callback=function(){dl(0,t)}}var o=e.stateNode;return null!==o&&"function"==typeof o.componentDidCatch&&(n.callback=function(){dl(0,t),"function"!=typeof r&&(null===Vs?Vs=new Set([this]):Vs.add(this));var e=t.stack;this.componentDidCatch(t.value,{componentStack:null!==e?e:""})}),n}function hl(e,t,n){var r=e.pingCache;if(null===r){r=e.pingCache=new pl;var a=new Set;r.set(t,a)}else void 0===(a=r.get(t))&&(a=new Set,r.set(t,a));a.has(n)||(a.add(n),e=Cu.bind(null,e,t,n),t.then(e,e))}function gl(e){do{var t;if((t=13===e.tag)&&(t=null===(t=e.memoizedState)||null!==t.dehydrated),t)return e;e=e.return}while(null!==e);return null}function yl(e,t,n,r,a){return 1&e.mode?(e.flags|=65536,e.lanes=a,e):(e===t?e.flags|=65536:(e.flags|=128,n.flags|=131072,n.flags&=-52805,1===n.tag&&(null===n.alternate?n.tag=17:((t=zo(-1,1)).tag=2,Bo(n,t,1))),n.lanes|=1),e)}var bl=w.ReactCurrentOwner,vl=!1;function wl(e,t,n,r){t.child=null===e?xo(t,null,n,r):ko(t,e.child,n,r)}function kl(e,t,n,r,a){n=n.render;var o=t.ref;return Ro(t,a),r=gi(e,t,n,r,o,a),n=yi(),null===e||vl?(ao&&n&&eo(t),t.flags|=1,wl(e,t,r,a),t.child):(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~a,Hl(e,t,a))}function xl(e,t,n,r,a){if(null===e){var o=n.type;return"function"!=typeof o||Nu(o)||void 0!==o.defaultProps||null!==n.compare||void 0!==n.defaultProps?((e=Ou(n.type,null,r,t,t.mode,a)).ref=t.ref,e.return=t,t.child=e):(t.tag=15,t.type=o,Sl(e,t,o,r,a))}if(o=e.child,!(e.lanes&a)){var i=o.memoizedProps;if((n=null!==(n=n.compare)?n:sr)(i,r)&&e.ref===t.ref)return Hl(e,t,a)}return t.flags|=1,(e=Pu(o,r)).ref=t.ref,e.return=t,t.child=e}function Sl(e,t,n,r,a){if(null!==e){var o=e.memoizedProps;if(sr(o,r)&&e.ref===t.ref){if(vl=!1,t.pendingProps=r=o,!(e.lanes&a))return t.lanes=e.lanes,Hl(e,t,a);131072&e.flags&&(vl=!0)}}return Tl(e,t,n,r,a)}function El(e,t,n){var r=t.pendingProps,a=r.children,o=null!==e?e.memoizedState:null;if("hidden"===r.mode)if(1&t.mode){if(!(1073741824&n))return e=null!==o?o.baseLanes|n:n,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e,cachePool:null,transitions:null},t.updateQueue=null,Ta(Ps,Ns),Ns|=e,null;t.memoizedState={baseLanes:0,cachePool:null,transitions:null},r=null!==o?o.baseLanes:n,Ta(Ps,Ns),Ns|=r}else t.memoizedState={baseLanes:0,cachePool:null,transitions:null},Ta(Ps,Ns),Ns|=n;else null!==o?(r=o.baseLanes|n,t.memoizedState=null):r=n,Ta(Ps,Ns),Ns|=r;return wl(e,t,a,n),t.child}function Cl(e,t){var n=t.ref;(null===e&&null!==n||null!==e&&e.ref!==n)&&(t.flags|=512,t.flags|=2097152)}function Tl(e,t,n,r,a){var o=Na(n)?Ra:_a.current;return o=La(t,o),Ro(t,a),n=gi(e,t,n,r,o,a),r=yi(),null===e||vl?(ao&&r&&eo(t),t.flags|=1,wl(e,t,n,a),t.child):(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~a,Hl(e,t,a))}function Al(e,t,n,r,a){if(Na(n)){var o=!0;Ia(t)}else o=!1;if(Ro(t,a),null===t.stateNode)ql(e,t),il(t,n,r),sl(t,n,r,a),r=!0;else if(null===e){var i=t.stateNode,l=t.memoizedProps;i.props=l;var s=i.context,u=n.contextType;"object"==typeof u&&null!==u?u=Lo(u):u=La(t,u=Na(n)?Ra:_a.current);var c=n.getDerivedStateFromProps,d="function"==typeof c||"function"==typeof i.getSnapshotBeforeUpdate;d||"function"!=typeof i.UNSAFE_componentWillReceiveProps&&"function"!=typeof i.componentWillReceiveProps||(l!==r||s!==u)&&ll(t,i,r,u),Io=!1;var p=t.memoizedState;i.state=p,qo(t,r,i,a),s=t.memoizedState,l!==r||p!==s||ja.current||Io?("function"==typeof c&&(rl(t,n,c,r),s=t.memoizedState),(l=Io||ol(t,n,l,r,p,s,u))?(d||"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&&(t.flags|=4194308)):("function"==typeof i.componentDidMount&&(t.flags|=4194308),t.memoizedProps=r,t.memoizedState=s),i.props=r,i.state=s,i.context=u,r=l):("function"==typeof i.componentDidMount&&(t.flags|=4194308),r=!1)}else{i=t.stateNode,Fo(e,t),l=t.memoizedProps,u=t.type===t.elementType?l:nl(t.type,l),i.props=u,d=t.pendingProps,p=i.context,"object"==typeof(s=n.contextType)&&null!==s?s=Lo(s):s=La(t,s=Na(n)?Ra:_a.current);var f=n.getDerivedStateFromProps;(c="function"==typeof f||"function"==typeof i.getSnapshotBeforeUpdate)||"function"!=typeof i.UNSAFE_componentWillReceiveProps&&"function"!=typeof i.componentWillReceiveProps||(l!==d||p!==s)&&ll(t,i,r,s),Io=!1,p=t.memoizedState,i.state=p,qo(t,r,i,a);var m=t.memoizedState;l!==d||p!==m||ja.current||Io?("function"==typeof f&&(rl(t,n,f,r),m=t.memoizedState),(u=Io||ol(t,n,u,r,p,m,s)||!1)?(c||"function"!=typeof i.UNSAFE_componentWillUpdate&&"function"!=typeof i.componentWillUpdate||("function"==typeof i.componentWillUpdate&&i.componentWillUpdate(r,m,s),"function"==typeof i.UNSAFE_componentWillUpdate&&i.UNSAFE_componentWillUpdate(r,m,s)),"function"==typeof i.componentDidUpdate&&(t.flags|=4),"function"==typeof i.getSnapshotBeforeUpdate&&(t.flags|=1024)):("function"!=typeof i.componentDidUpdate||l===e.memoizedProps&&p===e.memoizedState||(t.flags|=4),"function"!=typeof i.getSnapshotBeforeUpdate||l===e.memoizedProps&&p===e.memoizedState||(t.flags|=1024),t.memoizedProps=r,t.memoizedState=m),i.props=r,i.state=m,i.context=s,r=u):("function"!=typeof i.componentDidUpdate||l===e.memoizedProps&&p===e.memoizedState||(t.flags|=4),"function"!=typeof i.getSnapshotBeforeUpdate||l===e.memoizedProps&&p===e.memoizedState||(t.flags|=1024),r=!1)}return _l(e,t,n,r,o,a)}function _l(e,t,n,r,a,o){Cl(e,t);var i=!!(128&t.flags);if(!r&&!i)return a&&Ma(t,n,!1),Hl(e,t,o);r=t.stateNode,bl.current=t;var l=i&&"function"!=typeof n.getDerivedStateFromError?null:r.render();return t.flags|=1,null!==e&&i?(t.child=ko(t,e.child,null,o),t.child=ko(t,null,l,o)):wl(e,t,l,o),t.memoizedState=r.state,a&&Ma(t,n,!0),t.child}function jl(e){var t=e.stateNode;t.pendingContext?Oa(0,t.pendingContext,t.pendingContext!==t.context):t.context&&Oa(0,t.context,!1),Yo(e,t.containerInfo)}function Rl(e,t,n,r,a){return mo(),ho(a),t.flags|=256,wl(e,t,n,r),t.child}var Ll,Nl,Pl,Ol,Dl={dehydrated:null,treeContext:null,retryLane:0};function Il(e){return{baseLanes:e,cachePool:null,transitions:null}}function Ml(e,t,n){var r,a=t.pendingProps,i=ei.current,l=!1,s=!!(128&t.flags);if((r=s)||(r=(null===e||null!==e.memoizedState)&&!!(2&i)),r?(l=!0,t.flags&=-129):null!==e&&null===e.memoizedState||(i|=1),Ta(ei,1&i),null===e)return uo(t),null!==(e=t.memoizedState)&&null!==(e=e.dehydrated)?(1&t.mode?"$!"===e.data?t.lanes=8:t.lanes=1073741824:t.lanes=1,null):(s=a.children,e=a.fallback,l?(a=t.mode,l=t.child,s={mode:"hidden",children:s},1&a||null===l?l=Iu(s,a,0,null):(l.childLanes=0,l.pendingProps=s),e=Du(e,a,n,null),l.return=t,e.return=t,l.sibling=e,t.child=l,t.child.memoizedState=Il(n),t.memoizedState=Dl,e):Fl(t,s));if(null!==(i=e.memoizedState)&&null!==(r=i.dehydrated))return function(e,t,n,r,a,i,l){if(n)return 256&t.flags?(t.flags&=-257,zl(e,t,l,r=cl(Error(o(422))))):null!==t.memoizedState?(t.child=e.child,t.flags|=128,null):(i=r.fallback,a=t.mode,r=Iu({mode:"visible",children:r.children},a,0,null),(i=Du(i,a,l,null)).flags|=2,r.return=t,i.return=t,r.sibling=i,t.child=r,1&t.mode&&ko(t,e.child,null,l),t.child.memoizedState=Il(l),t.memoizedState=Dl,i);if(!(1&t.mode))return zl(e,t,l,null);if("$!"===a.data){if(r=a.nextSibling&&a.nextSibling.dataset)var s=r.dgst;return r=s,zl(e,t,l,r=cl(i=Error(o(419)),r,void 0))}if(s=!!(l&e.childLanes),vl||s){if(null!==(r=js)){switch(l&-l){case 4:a=2;break;case 16:a=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:a=32;break;case 536870912:a=268435456;break;default:a=0}0!==(a=a&(r.suspendedLanes|l)?0:a)&&a!==i.retryLane&&(i.retryLane=a,Do(e,a),nu(r,e,a,-1))}return hu(),zl(e,t,l,r=cl(Error(o(421))))}return"$?"===a.data?(t.flags|=128,t.child=e.child,t=Au.bind(null,e),a._reactRetry=t,null):(e=i.treeContext,ro=ua(a.nextSibling),no=t,ao=!0,oo=null,null!==e&&(Wa[Ka++]=Ya,Wa[Ka++]=Za,Wa[Ka++]=Qa,Ya=e.id,Za=e.overflow,Qa=t),t=Fl(t,r.children),t.flags|=4096,t)}(e,t,s,a,r,i,n);if(l){l=a.fallback,s=t.mode,r=(i=e.child).sibling;var u={mode:"hidden",children:a.children};return 1&s||t.child===i?(a=Pu(i,u)).subtreeFlags=14680064&i.subtreeFlags:((a=t.child).childLanes=0,a.pendingProps=u,t.deletions=null),null!==r?l=Pu(r,l):(l=Du(l,s,n,null)).flags|=2,l.return=t,a.return=t,a.sibling=l,t.child=a,a=l,l=t.child,s=null===(s=e.child.memoizedState)?Il(n):{baseLanes:s.baseLanes|n,cachePool:null,transitions:s.transitions},l.memoizedState=s,l.childLanes=e.childLanes&~n,t.memoizedState=Dl,a}return e=(l=e.child).sibling,a=Pu(l,{mode:"visible",children:a.children}),!(1&t.mode)&&(a.lanes=n),a.return=t,a.sibling=null,null!==e&&(null===(n=t.deletions)?(t.deletions=[e],t.flags|=16):n.push(e)),t.child=a,t.memoizedState=null,a}function Fl(e,t){return(t=Iu({mode:"visible",children:t},e.mode,0,null)).return=e,e.child=t}function zl(e,t,n,r){return null!==r&&ho(r),ko(t,e.child,null,n),(e=Fl(t,t.pendingProps.children)).flags|=2,t.memoizedState=null,e}function Bl(e,t,n){e.lanes|=t;var r=e.alternate;null!==r&&(r.lanes|=t),jo(e.return,t,n)}function $l(e,t,n,r,a){var o=e.memoizedState;null===o?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:r,tail:n,tailMode:a}:(o.isBackwards=t,o.rendering=null,o.renderingStartTime=0,o.last=r,o.tail=n,o.tailMode=a)}function Ul(e,t,n){var r=t.pendingProps,a=r.revealOrder,o=r.tail;if(wl(e,t,r.children,n),2&(r=ei.current))r=1&r|2,t.flags|=128;else{if(null!==e&&128&e.flags)e:for(e=t.child;null!==e;){if(13===e.tag)null!==e.memoizedState&&Bl(e,n,t);else if(19===e.tag)Bl(e,n,t);else if(null!==e.child){e.child.return=e,e=e.child;continue}if(e===t)break e;for(;null===e.sibling;){if(null===e.return||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}r&=1}if(Ta(ei,r),1&t.mode)switch(a){case"forwards":for(n=t.child,a=null;null!==n;)null!==(e=n.alternate)&&null===ti(e)&&(a=n),n=n.sibling;null===(n=a)?(a=t.child,t.child=null):(a=n.sibling,n.sibling=null),$l(t,!1,a,n,o);break;case"backwards":for(n=null,a=t.child,t.child=null;null!==a;){if(null!==(e=a.alternate)&&null===ti(e)){t.child=a;break}e=a.sibling,a.sibling=n,n=a,a=e}$l(t,!0,n,null,o);break;case"together":$l(t,!1,null,null,void 0);break;default:t.memoizedState=null}else t.memoizedState=null;return t.child}function ql(e,t){!(1&t.mode)&&null!==e&&(e.alternate=null,t.alternate=null,t.flags|=2)}function Hl(e,t,n){if(null!==e&&(t.dependencies=e.dependencies),Is|=t.lanes,!(n&t.childLanes))return null;if(null!==e&&t.child!==e.child)throw Error(o(153));if(null!==t.child){for(n=Pu(e=t.child,e.pendingProps),t.child=n,n.return=t;null!==e.sibling;)e=e.sibling,(n=n.sibling=Pu(e,e.pendingProps)).return=t;n.sibling=null}return t.child}function Gl(e,t){if(!ao)switch(e.tailMode){case"hidden":t=e.tail;for(var n=null;null!==t;)null!==t.alternate&&(n=t),t=t.sibling;null===n?e.tail=null:n.sibling=null;break;case"collapsed":n=e.tail;for(var r=null;null!==n;)null!==n.alternate&&(r=n),n=n.sibling;null===r?t||null===e.tail?e.tail=null:e.tail.sibling=null:r.sibling=null}}function Vl(e){var t=null!==e.alternate&&e.alternate.child===e.child,n=0,r=0;if(t)for(var a=e.child;null!==a;)n|=a.lanes|a.childLanes,r|=14680064&a.subtreeFlags,r|=14680064&a.flags,a.return=e,a=a.sibling;else for(a=e.child;null!==a;)n|=a.lanes|a.childLanes,r|=a.subtreeFlags,r|=a.flags,a.return=e,a=a.sibling;return e.subtreeFlags|=r,e.childLanes=n,t}function Wl(e,t,n){var r=t.pendingProps;switch(to(t),t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Vl(t),null;case 1:case 17:return Na(t.type)&&Pa(),Vl(t),null;case 3:return r=t.stateNode,Zo(),Ca(ja),Ca(_a),ri(),r.pendingContext&&(r.context=r.pendingContext,r.pendingContext=null),null!==e&&null!==e.child||(po(t)?t.flags|=4:null===e||e.memoizedState.isDehydrated&&!(256&t.flags)||(t.flags|=1024,null!==oo&&(iu(oo),oo=null))),Nl(e,t),Vl(t),null;case 5:Jo(t);var a=Qo(Ko.current);if(n=t.type,null!==e&&null!=t.stateNode)Pl(e,t,n,r,a),e.ref!==t.ref&&(t.flags|=512,t.flags|=2097152);else{if(!r){if(null===t.stateNode)throw Error(o(166));return Vl(t),null}if(e=Qo(Vo.current),po(t)){r=t.stateNode,n=t.type;var i=t.memoizedProps;switch(r[pa]=t,r[fa]=i,e=!!(1&t.mode),n){case"dialog":zr("cancel",r),zr("close",r);break;case"iframe":case"object":case"embed":zr("load",r);break;case"video":case"audio":for(a=0;a<Dr.length;a++)zr(Dr[a],r);break;case"source":zr("error",r);break;case"img":case"image":case"link":zr("error",r),zr("load",r);break;case"details":zr("toggle",r);break;case"input":Y(r,i),zr("invalid",r);break;case"select":r._wrapperState={wasMultiple:!!i.multiple},zr("invalid",r);break;case"textarea":ae(r,i),zr("invalid",r)}for(var s in be(n,i),a=null,i)if(i.hasOwnProperty(s)){var u=i[s];"children"===s?"string"==typeof u?r.textContent!==u&&(!0!==i.suppressHydrationWarning&&Xr(r.textContent,u,e),a=["children",u]):"number"==typeof u&&r.textContent!==""+u&&(!0!==i.suppressHydrationWarning&&Xr(r.textContent,u,e),a=["children",""+u]):l.hasOwnProperty(s)&&null!=u&&"onScroll"===s&&zr("scroll",r)}switch(n){case"input":V(r),J(r,i,!0);break;case"textarea":V(r),ie(r);break;case"select":case"option":break;default:"function"==typeof i.onClick&&(r.onclick=Jr)}r=a,t.updateQueue=r,null!==r&&(t.flags|=4)}else{s=9===a.nodeType?a:a.ownerDocument,"http://www.w3.org/1999/xhtml"===e&&(e=le(n)),"http://www.w3.org/1999/xhtml"===e?"script"===n?((e=s.createElement("div")).innerHTML="<script><\/script>",e=e.removeChild(e.firstChild)):"string"==typeof r.is?e=s.createElement(n,{is:r.is}):(e=s.createElement(n),"select"===n&&(s=e,r.multiple?s.multiple=!0:r.size&&(s.size=r.size))):e=s.createElementNS(e,n),e[pa]=t,e[fa]=r,Ll(e,t,!1,!1),t.stateNode=e;e:{switch(s=ve(n,r),n){case"dialog":zr("cancel",e),zr("close",e),a=r;break;case"iframe":case"object":case"embed":zr("load",e),a=r;break;case"video":case"audio":for(a=0;a<Dr.length;a++)zr(Dr[a],e);a=r;break;case"source":zr("error",e),a=r;break;case"img":case"image":case"link":zr("error",e),zr("load",e),a=r;break;case"details":zr("toggle",e),a=r;break;case"input":Y(e,r),a=Q(e,r),zr("invalid",e);break;case"option":default:a=r;break;case"select":e._wrapperState={wasMultiple:!!r.multiple},a=M({},r,{value:void 0}),zr("invalid",e);break;case"textarea":ae(e,r),a=re(e,r),zr("invalid",e)}for(i in be(n,a),u=a)if(u.hasOwnProperty(i)){var c=u[i];"style"===i?ge(e,c):"dangerouslySetInnerHTML"===i?null!=(c=c?c.__html:void 0)&&de(e,c):"children"===i?"string"==typeof c?("textarea"!==n||""!==c)&&pe(e,c):"number"==typeof c&&pe(e,""+c):"suppressContentEditableWarning"!==i&&"suppressHydrationWarning"!==i&&"autoFocus"!==i&&(l.hasOwnProperty(i)?null!=c&&"onScroll"===i&&zr("scroll",e):null!=c&&v(e,i,c,s))}switch(n){case"input":V(e),J(e,r,!1);break;case"textarea":V(e),ie(e);break;case"option":null!=r.value&&e.setAttribute("value",""+H(r.value));break;case"select":e.multiple=!!r.multiple,null!=(i=r.value)?ne(e,!!r.multiple,i,!1):null!=r.defaultValue&&ne(e,!!r.multiple,r.defaultValue,!0);break;default:"function"==typeof a.onClick&&(e.onclick=Jr)}switch(n){case"button":case"input":case"select":case"textarea":r=!!r.autoFocus;break e;case"img":r=!0;break e;default:r=!1}}r&&(t.flags|=4)}null!==t.ref&&(t.flags|=512,t.flags|=2097152)}return Vl(t),null;case 6:if(e&&null!=t.stateNode)Ol(e,t,e.memoizedProps,r);else{if("string"!=typeof r&&null===t.stateNode)throw Error(o(166));if(n=Qo(Ko.current),Qo(Vo.current),po(t)){if(r=t.stateNode,n=t.memoizedProps,r[pa]=t,(i=r.nodeValue!==n)&&null!==(e=no))switch(e.tag){case 3:Xr(r.nodeValue,n,!!(1&e.mode));break;case 5:!0!==e.memoizedProps.suppressHydrationWarning&&Xr(r.nodeValue,n,!!(1&e.mode))}i&&(t.flags|=4)}else(r=(9===n.nodeType?n:n.ownerDocument).createTextNode(r))[pa]=t,t.stateNode=r}return Vl(t),null;case 13:if(Ca(ei),r=t.memoizedState,null===e||null!==e.memoizedState&&null!==e.memoizedState.dehydrated){if(ao&&null!==ro&&1&t.mode&&!(128&t.flags))fo(),mo(),t.flags|=98560,i=!1;else if(i=po(t),null!==r&&null!==r.dehydrated){if(null===e){if(!i)throw Error(o(318));if(!(i=null!==(i=t.memoizedState)?i.dehydrated:null))throw Error(o(317));i[pa]=t}else mo(),!(128&t.flags)&&(t.memoizedState=null),t.flags|=4;Vl(t),i=!1}else null!==oo&&(iu(oo),oo=null),i=!0;if(!i)return 65536&t.flags?t:null}return 128&t.flags?(t.lanes=n,t):((r=null!==r)!==(null!==e&&null!==e.memoizedState)&&r&&(t.child.flags|=8192,1&t.mode&&(null===e||1&ei.current?0===Os&&(Os=3):hu())),null!==t.updateQueue&&(t.flags|=4),Vl(t),null);case 4:return Zo(),Nl(e,t),null===e&&Ur(t.stateNode.containerInfo),Vl(t),null;case 10:return _o(t.type._context),Vl(t),null;case 19:if(Ca(ei),null===(i=t.memoizedState))return Vl(t),null;if(r=!!(128&t.flags),null===(s=i.rendering))if(r)Gl(i,!1);else{if(0!==Os||null!==e&&128&e.flags)for(e=t.child;null!==e;){if(null!==(s=ti(e))){for(t.flags|=128,Gl(i,!1),null!==(r=s.updateQueue)&&(t.updateQueue=r,t.flags|=4),t.subtreeFlags=0,r=n,n=t.child;null!==n;)e=r,(i=n).flags&=14680066,null===(s=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=s.childLanes,i.lanes=s.lanes,i.child=s.child,i.subtreeFlags=0,i.deletions=null,i.memoizedProps=s.memoizedProps,i.memoizedState=s.memoizedState,i.updateQueue=s.updateQueue,i.type=s.type,e=s.dependencies,i.dependencies=null===e?null:{lanes:e.lanes,firstContext:e.firstContext}),n=n.sibling;return Ta(ei,1&ei.current|2),t.child}e=e.sibling}null!==i.tail&&Ze()>Us&&(t.flags|=128,r=!0,Gl(i,!1),t.lanes=4194304)}else{if(!r)if(null!==(e=ti(s))){if(t.flags|=128,r=!0,null!==(n=e.updateQueue)&&(t.updateQueue=n,t.flags|=4),Gl(i,!0),null===i.tail&&"hidden"===i.tailMode&&!s.alternate&&!ao)return Vl(t),null}else 2*Ze()-i.renderingStartTime>Us&&1073741824!==n&&(t.flags|=128,r=!0,Gl(i,!1),t.lanes=4194304);i.isBackwards?(s.sibling=t.child,t.child=s):(null!==(n=i.last)?n.sibling=s:t.child=s,i.last=s)}return null!==i.tail?(t=i.tail,i.rendering=t,i.tail=t.sibling,i.renderingStartTime=Ze(),t.sibling=null,n=ei.current,Ta(ei,r?1&n|2:1&n),t):(Vl(t),null);case 22:case 23:return du(),r=null!==t.memoizedState,null!==e&&null!==e.memoizedState!==r&&(t.flags|=8192),r&&1&t.mode?!!(1073741824&Ns)&&(Vl(t),6&t.subtreeFlags&&(t.flags|=8192)):Vl(t),null;case 24:case 25:return null}throw Error(o(156,t.tag))}function Kl(e,t){switch(to(t),t.tag){case 1:return Na(t.type)&&Pa(),65536&(e=t.flags)?(t.flags=-65537&e|128,t):null;case 3:return Zo(),Ca(ja),Ca(_a),ri(),65536&(e=t.flags)&&!(128&e)?(t.flags=-65537&e|128,t):null;case 5:return Jo(t),null;case 13:if(Ca(ei),null!==(e=t.memoizedState)&&null!==e.dehydrated){if(null===t.alternate)throw Error(o(340));mo()}return 65536&(e=t.flags)?(t.flags=-65537&e|128,t):null;case 19:return Ca(ei),null;case 4:return Zo(),null;case 10:return _o(t.type._context),null;case 22:case 23:return du(),null;default:return null}}Ll=function(e,t){for(var n=t.child;null!==n;){if(5===n.tag||6===n.tag)e.appendChild(n.stateNode);else if(4!==n.tag&&null!==n.child){n.child.return=n,n=n.child;continue}if(n===t)break;for(;null===n.sibling;){if(null===n.return||n.return===t)return;n=n.return}n.sibling.return=n.return,n=n.sibling}},Nl=function(){},Pl=function(e,t,n,r){var a=e.memoizedProps;if(a!==r){e=t.stateNode,Qo(Vo.current);var o,i=null;switch(n){case"input":a=Q(e,a),r=Q(e,r),i=[];break;case"select":a=M({},a,{value:void 0}),r=M({},r,{value:void 0}),i=[];break;case"textarea":a=re(e,a),r=re(e,r),i=[];break;default:"function"!=typeof a.onClick&&"function"==typeof r.onClick&&(e.onclick=Jr)}for(c in be(n,r),n=null,a)if(!r.hasOwnProperty(c)&&a.hasOwnProperty(c)&&null!=a[c])if("style"===c){var s=a[c];for(o in s)s.hasOwnProperty(o)&&(n||(n={}),n[o]="")}else"dangerouslySetInnerHTML"!==c&&"children"!==c&&"suppressContentEditableWarning"!==c&&"suppressHydrationWarning"!==c&&"autoFocus"!==c&&(l.hasOwnProperty(c)?i||(i=[]):(i=i||[]).push(c,null));for(c in r){var u=r[c];if(s=null!=a?a[c]:void 0,r.hasOwnProperty(c)&&u!==s&&(null!=u||null!=s))if("style"===c)if(s){for(o in s)!s.hasOwnProperty(o)||u&&u.hasOwnProperty(o)||(n||(n={}),n[o]="");for(o in u)u.hasOwnProperty(o)&&s[o]!==u[o]&&(n||(n={}),n[o]=u[o])}else n||(i||(i=[]),i.push(c,n)),n=u;else"dangerouslySetInnerHTML"===c?(u=u?u.__html:void 0,s=s?s.__html:void 0,null!=u&&s!==u&&(i=i||[]).push(c,u)):"children"===c?"string"!=typeof u&&"number"!=typeof u||(i=i||[]).push(c,""+u):"suppressContentEditableWarning"!==c&&"suppressHydrationWarning"!==c&&(l.hasOwnProperty(c)?(null!=u&&"onScroll"===c&&zr("scroll",e),i||s===u||(i=[])):(i=i||[]).push(c,u))}n&&(i=i||[]).push("style",n);var c=i;(t.updateQueue=c)&&(t.flags|=4)}},Ol=function(e,t,n,r){n!==r&&(t.flags|=4)};var Ql=!1,Yl=!1,Zl="function"==typeof WeakSet?WeakSet:Set,Xl=null;function Jl(e,t){var n=e.ref;if(null!==n)if("function"==typeof n)try{n(null)}catch(r){Eu(e,t,r)}else n.current=null}function es(e,t,n){try{n()}catch(r){Eu(e,t,r)}}var ts=!1;function ns(e,t,n){var r=t.updateQueue;if(null!==(r=null!==r?r.lastEffect:null)){var a=r=r.next;do{if((a.tag&e)===e){var o=a.destroy;a.destroy=void 0,void 0!==o&&es(t,n,o)}a=a.next}while(a!==r)}}function rs(e,t){if(null!==(t=null!==(t=t.updateQueue)?t.lastEffect:null)){var n=t=t.next;do{if((n.tag&e)===e){var r=n.create;n.destroy=r()}n=n.next}while(n!==t)}}function as(e){var t=e.ref;if(null!==t){var n=e.stateNode;e.tag,e=n,"function"==typeof t?t(e):t.current=e}}function os(e){var t=e.alternate;null!==t&&(e.alternate=null,os(t)),e.child=null,e.deletions=null,e.sibling=null,5===e.tag&&(null!==(t=e.stateNode)&&(delete t[pa],delete t[fa],delete t[ha],delete t[ga],delete t[ya])),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 is(e){return 5===e.tag||3===e.tag||4===e.tag}function ls(e){e:for(;;){for(;null===e.sibling;){if(null===e.return||is(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 ss(e,t,n){var r=e.tag;if(5===r||6===r)e=e.stateNode,t?8===n.nodeType?n.parentNode.insertBefore(e,t):n.insertBefore(e,t):(8===n.nodeType?(t=n.parentNode).insertBefore(e,n):(t=n).appendChild(e),null!=(n=n._reactRootContainer)||null!==t.onclick||(t.onclick=Jr));else if(4!==r&&null!==(e=e.child))for(ss(e,t,n),e=e.sibling;null!==e;)ss(e,t,n),e=e.sibling}function us(e,t,n){var r=e.tag;if(5===r||6===r)e=e.stateNode,t?n.insertBefore(e,t):n.appendChild(e);else if(4!==r&&null!==(e=e.child))for(us(e,t,n),e=e.sibling;null!==e;)us(e,t,n),e=e.sibling}var cs=null,ds=!1;function ps(e,t,n){for(n=n.child;null!==n;)fs(e,t,n),n=n.sibling}function fs(e,t,n){if(ot&&"function"==typeof ot.onCommitFiberUnmount)try{ot.onCommitFiberUnmount(at,n)}catch(l){}switch(n.tag){case 5:Yl||Jl(n,t);case 6:var r=cs,a=ds;cs=null,ps(e,t,n),ds=a,null!==(cs=r)&&(ds?(e=cs,n=n.stateNode,8===e.nodeType?e.parentNode.removeChild(n):e.removeChild(n)):cs.removeChild(n.stateNode));break;case 18:null!==cs&&(ds?(e=cs,n=n.stateNode,8===e.nodeType?sa(e.parentNode,n):1===e.nodeType&&sa(e,n),Ut(e)):sa(cs,n.stateNode));break;case 4:r=cs,a=ds,cs=n.stateNode.containerInfo,ds=!0,ps(e,t,n),cs=r,ds=a;break;case 0:case 11:case 14:case 15:if(!Yl&&(null!==(r=n.updateQueue)&&null!==(r=r.lastEffect))){a=r=r.next;do{var o=a,i=o.destroy;o=o.tag,void 0!==i&&(2&o||4&o)&&es(n,t,i),a=a.next}while(a!==r)}ps(e,t,n);break;case 1:if(!Yl&&(Jl(n,t),"function"==typeof(r=n.stateNode).componentWillUnmount))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(l){Eu(n,t,l)}ps(e,t,n);break;case 21:ps(e,t,n);break;case 22:1&n.mode?(Yl=(r=Yl)||null!==n.memoizedState,ps(e,t,n),Yl=r):ps(e,t,n);break;default:ps(e,t,n)}}function ms(e){var t=e.updateQueue;if(null!==t){e.updateQueue=null;var n=e.stateNode;null===n&&(n=e.stateNode=new Zl),t.forEach((function(t){var r=_u.bind(null,e,t);n.has(t)||(n.add(t),t.then(r,r))}))}}function hs(e,t){var n=t.deletions;if(null!==n)for(var r=0;r<n.length;r++){var a=n[r];try{var i=e,l=t,s=l;e:for(;null!==s;){switch(s.tag){case 5:cs=s.stateNode,ds=!1;break e;case 3:case 4:cs=s.stateNode.containerInfo,ds=!0;break e}s=s.return}if(null===cs)throw Error(o(160));fs(i,l,a),cs=null,ds=!1;var u=a.alternate;null!==u&&(u.return=null),a.return=null}catch(c){Eu(a,t,c)}}if(12854&t.subtreeFlags)for(t=t.child;null!==t;)gs(t,e),t=t.sibling}function gs(e,t){var n=e.alternate,r=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:if(hs(t,e),ys(e),4&r){try{ns(3,e,e.return),rs(3,e)}catch(g){Eu(e,e.return,g)}try{ns(5,e,e.return)}catch(g){Eu(e,e.return,g)}}break;case 1:hs(t,e),ys(e),512&r&&null!==n&&Jl(n,n.return);break;case 5:if(hs(t,e),ys(e),512&r&&null!==n&&Jl(n,n.return),32&e.flags){var a=e.stateNode;try{pe(a,"")}catch(g){Eu(e,e.return,g)}}if(4&r&&null!=(a=e.stateNode)){var i=e.memoizedProps,l=null!==n?n.memoizedProps:i,s=e.type,u=e.updateQueue;if(e.updateQueue=null,null!==u)try{"input"===s&&"radio"===i.type&&null!=i.name&&Z(a,i),ve(s,l);var c=ve(s,i);for(l=0;l<u.length;l+=2){var d=u[l],p=u[l+1];"style"===d?ge(a,p):"dangerouslySetInnerHTML"===d?de(a,p):"children"===d?pe(a,p):v(a,d,p,c)}switch(s){case"input":X(a,i);break;case"textarea":oe(a,i);break;case"select":var f=a._wrapperState.wasMultiple;a._wrapperState.wasMultiple=!!i.multiple;var m=i.value;null!=m?ne(a,!!i.multiple,m,!1):f!==!!i.multiple&&(null!=i.defaultValue?ne(a,!!i.multiple,i.defaultValue,!0):ne(a,!!i.multiple,i.multiple?[]:"",!1))}a[fa]=i}catch(g){Eu(e,e.return,g)}}break;case 6:if(hs(t,e),ys(e),4&r){if(null===e.stateNode)throw Error(o(162));a=e.stateNode,i=e.memoizedProps;try{a.nodeValue=i}catch(g){Eu(e,e.return,g)}}break;case 3:if(hs(t,e),ys(e),4&r&&null!==n&&n.memoizedState.isDehydrated)try{Ut(t.containerInfo)}catch(g){Eu(e,e.return,g)}break;case 4:default:hs(t,e),ys(e);break;case 13:hs(t,e),ys(e),8192&(a=e.child).flags&&(i=null!==a.memoizedState,a.stateNode.isHidden=i,!i||null!==a.alternate&&null!==a.alternate.memoizedState||($s=Ze())),4&r&&ms(e);break;case 22:if(d=null!==n&&null!==n.memoizedState,1&e.mode?(Yl=(c=Yl)||d,hs(t,e),Yl=c):hs(t,e),ys(e),8192&r){if(c=null!==e.memoizedState,(e.stateNode.isHidden=c)&&!d&&1&e.mode)for(Xl=e,d=e.child;null!==d;){for(p=Xl=d;null!==Xl;){switch(m=(f=Xl).child,f.tag){case 0:case 11:case 14:case 15:ns(4,f,f.return);break;case 1:Jl(f,f.return);var h=f.stateNode;if("function"==typeof h.componentWillUnmount){r=f,n=f.return;try{t=r,h.props=t.memoizedProps,h.state=t.memoizedState,h.componentWillUnmount()}catch(g){Eu(r,n,g)}}break;case 5:Jl(f,f.return);break;case 22:if(null!==f.memoizedState){ks(p);continue}}null!==m?(m.return=f,Xl=m):ks(p)}d=d.sibling}e:for(d=null,p=e;;){if(5===p.tag){if(null===d){d=p;try{a=p.stateNode,c?"function"==typeof(i=a.style).setProperty?i.setProperty("display","none","important"):i.display="none":(s=p.stateNode,l=null!=(u=p.memoizedProps.style)&&u.hasOwnProperty("display")?u.display:null,s.style.display=he("display",l))}catch(g){Eu(e,e.return,g)}}}else if(6===p.tag){if(null===d)try{p.stateNode.nodeValue=c?"":p.memoizedProps}catch(g){Eu(e,e.return,g)}}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;d===p&&(d=null),p=p.return}d===p&&(d=null),p.sibling.return=p.return,p=p.sibling}}break;case 19:hs(t,e),ys(e),4&r&&ms(e);case 21:}}function ys(e){var t=e.flags;if(2&t){try{e:{for(var n=e.return;null!==n;){if(is(n)){var r=n;break e}n=n.return}throw Error(o(160))}switch(r.tag){case 5:var a=r.stateNode;32&r.flags&&(pe(a,""),r.flags&=-33),us(e,ls(e),a);break;case 3:case 4:var i=r.stateNode.containerInfo;ss(e,ls(e),i);break;default:throw Error(o(161))}}catch(l){Eu(e,e.return,l)}e.flags&=-3}4096&t&&(e.flags&=-4097)}function bs(e,t,n){Xl=e,vs(e,t,n)}function vs(e,t,n){for(var r=!!(1&e.mode);null!==Xl;){var a=Xl,o=a.child;if(22===a.tag&&r){var i=null!==a.memoizedState||Ql;if(!i){var l=a.alternate,s=null!==l&&null!==l.memoizedState||Yl;l=Ql;var u=Yl;if(Ql=i,(Yl=s)&&!u)for(Xl=a;null!==Xl;)s=(i=Xl).child,22===i.tag&&null!==i.memoizedState?xs(a):null!==s?(s.return=i,Xl=s):xs(a);for(;null!==o;)Xl=o,vs(o,t,n),o=o.sibling;Xl=a,Ql=l,Yl=u}ws(e)}else 8772&a.subtreeFlags&&null!==o?(o.return=a,Xl=o):ws(e)}}function ws(e){for(;null!==Xl;){var t=Xl;if(8772&t.flags){var n=t.alternate;try{if(8772&t.flags)switch(t.tag){case 0:case 11:case 15:Yl||rs(5,t);break;case 1:var r=t.stateNode;if(4&t.flags&&!Yl)if(null===n)r.componentDidMount();else{var a=t.elementType===t.type?n.memoizedProps:nl(t.type,n.memoizedProps);r.componentDidUpdate(a,n.memoizedState,r.__reactInternalSnapshotBeforeUpdate)}var i=t.updateQueue;null!==i&&Ho(t,i,r);break;case 3:var l=t.updateQueue;if(null!==l){if(n=null,null!==t.child)switch(t.child.tag){case 5:case 1:n=t.child.stateNode}Ho(t,l,n)}break;case 5:var s=t.stateNode;if(null===n&&4&t.flags){n=s;var u=t.memoizedProps;switch(t.type){case"button":case"input":case"select":case"textarea":u.autoFocus&&n.focus();break;case"img":u.src&&(n.src=u.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===t.memoizedState){var c=t.alternate;if(null!==c){var d=c.memoizedState;if(null!==d){var p=d.dehydrated;null!==p&&Ut(p)}}}break;default:throw Error(o(163))}Yl||512&t.flags&&as(t)}catch(f){Eu(t,t.return,f)}}if(t===e){Xl=null;break}if(null!==(n=t.sibling)){n.return=t.return,Xl=n;break}Xl=t.return}}function ks(e){for(;null!==Xl;){var t=Xl;if(t===e){Xl=null;break}var n=t.sibling;if(null!==n){n.return=t.return,Xl=n;break}Xl=t.return}}function xs(e){for(;null!==Xl;){var t=Xl;try{switch(t.tag){case 0:case 11:case 15:var n=t.return;try{rs(4,t)}catch(s){Eu(t,n,s)}break;case 1:var r=t.stateNode;if("function"==typeof r.componentDidMount){var a=t.return;try{r.componentDidMount()}catch(s){Eu(t,a,s)}}var o=t.return;try{as(t)}catch(s){Eu(t,o,s)}break;case 5:var i=t.return;try{as(t)}catch(s){Eu(t,i,s)}}}catch(s){Eu(t,t.return,s)}if(t===e){Xl=null;break}var l=t.sibling;if(null!==l){l.return=t.return,Xl=l;break}Xl=t.return}}var Ss,Es=Math.ceil,Cs=w.ReactCurrentDispatcher,Ts=w.ReactCurrentOwner,As=w.ReactCurrentBatchConfig,_s=0,js=null,Rs=null,Ls=0,Ns=0,Ps=Ea(0),Os=0,Ds=null,Is=0,Ms=0,Fs=0,zs=null,Bs=null,$s=0,Us=1/0,qs=null,Hs=!1,Gs=null,Vs=null,Ws=!1,Ks=null,Qs=0,Ys=0,Zs=null,Xs=-1,Js=0;function eu(){return 6&_s?Ze():-1!==Xs?Xs:Xs=Ze()}function tu(e){return 1&e.mode?2&_s&&0!==Ls?Ls&-Ls:null!==go.transition?(0===Js&&(Js=ht()),Js):0!==(e=vt)?e:e=void 0===(e=window.event)?16:Yt(e.type):1}function nu(e,t,n,r){if(50<Ys)throw Ys=0,Zs=null,Error(o(185));yt(e,n,r),2&_s&&e===js||(e===js&&(!(2&_s)&&(Ms|=n),4===Os&&lu(e,Ls)),ru(e,r),1===n&&0===_s&&!(1&t.mode)&&(Us=Ze()+500,za&&Ua()))}function ru(e,t){var n=e.callbackNode;!function(e,t){for(var n=e.suspendedLanes,r=e.pingedLanes,a=e.expirationTimes,o=e.pendingLanes;0<o;){var i=31-it(o),l=1<<i,s=a[i];-1===s?l&n&&!(l&r)||(a[i]=ft(l,t)):s<=t&&(e.expiredLanes|=l),o&=~l}}(e,t);var r=pt(e,e===js?Ls:0);if(0===r)null!==n&&Ke(n),e.callbackNode=null,e.callbackPriority=0;else if(t=r&-r,e.callbackPriority!==t){if(null!=n&&Ke(n),1===t)0===e.tag?function(e){za=!0,$a(e)}(su.bind(null,e)):$a(su.bind(null,e)),ia((function(){!(6&_s)&&Ua()})),n=null;else{switch(wt(r)){case 1:n=Je;break;case 4:n=et;break;case 16:default:n=tt;break;case 536870912:n=rt}n=ju(n,au.bind(null,e))}e.callbackPriority=t,e.callbackNode=n}}function au(e,t){if(Xs=-1,Js=0,6&_s)throw Error(o(327));var n=e.callbackNode;if(xu()&&e.callbackNode!==n)return null;var r=pt(e,e===js?Ls:0);if(0===r)return null;if(30&r||r&e.expiredLanes||t)t=gu(e,r);else{t=r;var a=_s;_s|=2;var i=mu();for(js===e&&Ls===t||(qs=null,Us=Ze()+500,pu(e,t));;)try{bu();break}catch(s){fu(e,s)}Ao(),Cs.current=i,_s=a,null!==Rs?t=0:(js=null,Ls=0,t=Os)}if(0!==t){if(2===t&&(0!==(a=mt(e))&&(r=a,t=ou(e,a))),1===t)throw n=Ds,pu(e,0),lu(e,r),ru(e,Ze()),n;if(6===t)lu(e,r);else{if(a=e.current.alternate,!(30&r||function(e){for(var t=e;;){if(16384&t.flags){var n=t.updateQueue;if(null!==n&&null!==(n=n.stores))for(var r=0;r<n.length;r++){var a=n[r],o=a.getSnapshot;a=a.value;try{if(!lr(o(),a))return!1}catch(l){return!1}}}if(n=t.child,16384&t.subtreeFlags&&null!==n)n.return=t,t=n;else{if(t===e)break;for(;null===t.sibling;){if(null===t.return||t.return===e)return!0;t=t.return}t.sibling.return=t.return,t=t.sibling}}return!0}(a)||(t=gu(e,r),2===t&&(i=mt(e),0!==i&&(r=i,t=ou(e,i))),1!==t)))throw n=Ds,pu(e,0),lu(e,r),ru(e,Ze()),n;switch(e.finishedWork=a,e.finishedLanes=r,t){case 0:case 1:throw Error(o(345));case 2:case 5:ku(e,Bs,qs);break;case 3:if(lu(e,r),(130023424&r)===r&&10<(t=$s+500-Ze())){if(0!==pt(e,0))break;if(((a=e.suspendedLanes)&r)!==r){eu(),e.pingedLanes|=e.suspendedLanes&a;break}e.timeoutHandle=ra(ku.bind(null,e,Bs,qs),t);break}ku(e,Bs,qs);break;case 4:if(lu(e,r),(4194240&r)===r)break;for(t=e.eventTimes,a=-1;0<r;){var l=31-it(r);i=1<<l,(l=t[l])>a&&(a=l),r&=~i}if(r=a,10<(r=(120>(r=Ze()-r)?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*Es(r/1960))-r)){e.timeoutHandle=ra(ku.bind(null,e,Bs,qs),r);break}ku(e,Bs,qs);break;default:throw Error(o(329))}}}return ru(e,Ze()),e.callbackNode===n?au.bind(null,e):null}function ou(e,t){var n=zs;return e.current.memoizedState.isDehydrated&&(pu(e,t).flags|=256),2!==(e=gu(e,t))&&(t=Bs,Bs=n,null!==t&&iu(t)),e}function iu(e){null===Bs?Bs=e:Bs.push.apply(Bs,e)}function lu(e,t){for(t&=~Fs,t&=~Ms,e.suspendedLanes|=t,e.pingedLanes&=~t,e=e.expirationTimes;0<t;){var n=31-it(t),r=1<<n;e[n]=-1,t&=~r}}function su(e){if(6&_s)throw Error(o(327));xu();var t=pt(e,0);if(!(1&t))return ru(e,Ze()),null;var n=gu(e,t);if(0!==e.tag&&2===n){var r=mt(e);0!==r&&(t=r,n=ou(e,r))}if(1===n)throw n=Ds,pu(e,0),lu(e,t),ru(e,Ze()),n;if(6===n)throw Error(o(345));return e.finishedWork=e.current.alternate,e.finishedLanes=t,ku(e,Bs,qs),ru(e,Ze()),null}function uu(e,t){var n=_s;_s|=1;try{return e(t)}finally{0===(_s=n)&&(Us=Ze()+500,za&&Ua())}}function cu(e){null!==Ks&&0===Ks.tag&&!(6&_s)&&xu();var t=_s;_s|=1;var n=As.transition,r=vt;try{if(As.transition=null,vt=1,e)return e()}finally{vt=r,As.transition=n,!(6&(_s=t))&&Ua()}}function du(){Ns=Ps.current,Ca(Ps)}function pu(e,t){e.finishedWork=null,e.finishedLanes=0;var n=e.timeoutHandle;if(-1!==n&&(e.timeoutHandle=-1,aa(n)),null!==Rs)for(n=Rs.return;null!==n;){var r=n;switch(to(r),r.tag){case 1:null!=(r=r.type.childContextTypes)&&Pa();break;case 3:Zo(),Ca(ja),Ca(_a),ri();break;case 5:Jo(r);break;case 4:Zo();break;case 13:case 19:Ca(ei);break;case 10:_o(r.type._context);break;case 22:case 23:du()}n=n.return}if(js=e,Rs=e=Pu(e.current,null),Ls=Ns=t,Os=0,Ds=null,Fs=Ms=Is=0,Bs=zs=null,null!==No){for(t=0;t<No.length;t++)if(null!==(r=(n=No[t]).interleaved)){n.interleaved=null;var a=r.next,o=n.pending;if(null!==o){var i=o.next;o.next=a,r.next=i}n.pending=r}No=null}return e}function fu(e,t){for(;;){var n=Rs;try{if(Ao(),ai.current=Xi,ci){for(var r=li.memoizedState;null!==r;){var a=r.queue;null!==a&&(a.pending=null),r=r.next}ci=!1}if(ii=0,ui=si=li=null,di=!1,pi=0,Ts.current=null,null===n||null===n.return){Os=1,Ds=t,Rs=null;break}e:{var i=e,l=n.return,s=n,u=t;if(t=Ls,s.flags|=32768,null!==u&&"object"==typeof u&&"function"==typeof u.then){var c=u,d=s,p=d.tag;if(!(1&d.mode||0!==p&&11!==p&&15!==p)){var f=d.alternate;f?(d.updateQueue=f.updateQueue,d.memoizedState=f.memoizedState,d.lanes=f.lanes):(d.updateQueue=null,d.memoizedState=null)}var m=gl(l);if(null!==m){m.flags&=-257,yl(m,l,s,0,t),1&m.mode&&hl(i,c,t),u=c;var h=(t=m).updateQueue;if(null===h){var g=new Set;g.add(u),t.updateQueue=g}else h.add(u);break e}if(!(1&t)){hl(i,c,t),hu();break e}u=Error(o(426))}else if(ao&&1&s.mode){var y=gl(l);if(null!==y){!(65536&y.flags)&&(y.flags|=256),yl(y,l,s,0,t),ho(ul(u,s));break e}}i=u=ul(u,s),4!==Os&&(Os=2),null===zs?zs=[i]:zs.push(i),i=l;do{switch(i.tag){case 3:i.flags|=65536,t&=-t,i.lanes|=t,Uo(i,fl(0,u,t));break e;case 1:s=u;var b=i.type,v=i.stateNode;if(!(128&i.flags||"function"!=typeof b.getDerivedStateFromError&&(null===v||"function"!=typeof v.componentDidCatch||null!==Vs&&Vs.has(v)))){i.flags|=65536,t&=-t,i.lanes|=t,Uo(i,ml(i,s,t));break e}}i=i.return}while(null!==i)}wu(n)}catch(w){t=w,Rs===n&&null!==n&&(Rs=n=n.return);continue}break}}function mu(){var e=Cs.current;return Cs.current=Xi,null===e?Xi:e}function hu(){0!==Os&&3!==Os&&2!==Os||(Os=4),null===js||!(268435455&Is)&&!(268435455&Ms)||lu(js,Ls)}function gu(e,t){var n=_s;_s|=2;var r=mu();for(js===e&&Ls===t||(qs=null,pu(e,t));;)try{yu();break}catch(a){fu(e,a)}if(Ao(),_s=n,Cs.current=r,null!==Rs)throw Error(o(261));return js=null,Ls=0,Os}function yu(){for(;null!==Rs;)vu(Rs)}function bu(){for(;null!==Rs&&!Qe();)vu(Rs)}function vu(e){var t=Ss(e.alternate,e,Ns);e.memoizedProps=e.pendingProps,null===t?wu(e):Rs=t,Ts.current=null}function wu(e){var t=e;do{var n=t.alternate;if(e=t.return,32768&t.flags){if(null!==(n=Kl(n,t)))return n.flags&=32767,void(Rs=n);if(null===e)return Os=6,void(Rs=null);e.flags|=32768,e.subtreeFlags=0,e.deletions=null}else if(null!==(n=Wl(n,t,Ns)))return void(Rs=n);if(null!==(t=t.sibling))return void(Rs=t);Rs=t=e}while(null!==t);0===Os&&(Os=5)}function ku(e,t,n){var r=vt,a=As.transition;try{As.transition=null,vt=1,function(e,t,n,r){do{xu()}while(null!==Ks);if(6&_s)throw Error(o(327));n=e.finishedWork;var a=e.finishedLanes;if(null===n)return null;if(e.finishedWork=null,e.finishedLanes=0,n===e.current)throw Error(o(177));e.callbackNode=null,e.callbackPriority=0;var i=n.lanes|n.childLanes;if(function(e,t){var n=e.pendingLanes&~t;e.pendingLanes=t,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=t,e.mutableReadLanes&=t,e.entangledLanes&=t,t=e.entanglements;var r=e.eventTimes;for(e=e.expirationTimes;0<n;){var a=31-it(n),o=1<<a;t[a]=0,r[a]=-1,e[a]=-1,n&=~o}}(e,i),e===js&&(Rs=js=null,Ls=0),!(2064&n.subtreeFlags)&&!(2064&n.flags)||Ws||(Ws=!0,ju(tt,(function(){return xu(),null}))),i=!!(15990&n.flags),!!(15990&n.subtreeFlags)||i){i=As.transition,As.transition=null;var l=vt;vt=1;var s=_s;_s|=4,Ts.current=null,function(e,t){if(ea=Ht,fr(e=pr())){if("selectionStart"in e)var n={start:e.selectionStart,end:e.selectionEnd};else e:{var r=(n=(n=e.ownerDocument)&&n.defaultView||window).getSelection&&n.getSelection();if(r&&0!==r.rangeCount){n=r.anchorNode;var a=r.anchorOffset,i=r.focusNode;r=r.focusOffset;try{n.nodeType,i.nodeType}catch(k){n=null;break e}var l=0,s=-1,u=-1,c=0,d=0,p=e,f=null;t:for(;;){for(var m;p!==n||0!==a&&3!==p.nodeType||(s=l+a),p!==i||0!==r&&3!==p.nodeType||(u=l+r),3===p.nodeType&&(l+=p.nodeValue.length),null!==(m=p.firstChild);)f=p,p=m;for(;;){if(p===e)break t;if(f===n&&++c===a&&(s=l),f===i&&++d===r&&(u=l),null!==(m=p.nextSibling))break;f=(p=f).parentNode}p=m}n=-1===s||-1===u?null:{start:s,end:u}}else n=null}n=n||{start:0,end:0}}else n=null;for(ta={focusedElem:e,selectionRange:n},Ht=!1,Xl=t;null!==Xl;)if(e=(t=Xl).child,1028&t.subtreeFlags&&null!==e)e.return=t,Xl=e;else for(;null!==Xl;){t=Xl;try{var h=t.alternate;if(1024&t.flags)switch(t.tag){case 0:case 11:case 15:case 5:case 6:case 4:case 17:break;case 1:if(null!==h){var g=h.memoizedProps,y=h.memoizedState,b=t.stateNode,v=b.getSnapshotBeforeUpdate(t.elementType===t.type?g:nl(t.type,g),y);b.__reactInternalSnapshotBeforeUpdate=v}break;case 3:var w=t.stateNode.containerInfo;1===w.nodeType?w.textContent="":9===w.nodeType&&w.documentElement&&w.removeChild(w.documentElement);break;default:throw Error(o(163))}}catch(k){Eu(t,t.return,k)}if(null!==(e=t.sibling)){e.return=t.return,Xl=e;break}Xl=t.return}h=ts,ts=!1}(e,n),gs(n,e),mr(ta),Ht=!!ea,ta=ea=null,e.current=n,bs(n,e,a),Ye(),_s=s,vt=l,As.transition=i}else e.current=n;if(Ws&&(Ws=!1,Ks=e,Qs=a),i=e.pendingLanes,0===i&&(Vs=null),function(e){if(ot&&"function"==typeof ot.onCommitFiberRoot)try{ot.onCommitFiberRoot(at,e,void 0,!(128&~e.current.flags))}catch(t){}}(n.stateNode),ru(e,Ze()),null!==t)for(r=e.onRecoverableError,n=0;n<t.length;n++)a=t[n],r(a.value,{componentStack:a.stack,digest:a.digest});if(Hs)throw Hs=!1,e=Gs,Gs=null,e;!!(1&Qs)&&0!==e.tag&&xu(),i=e.pendingLanes,1&i?e===Zs?Ys++:(Ys=0,Zs=e):Ys=0,Ua()}(e,t,n,r)}finally{As.transition=a,vt=r}return null}function xu(){if(null!==Ks){var e=wt(Qs),t=As.transition,n=vt;try{if(As.transition=null,vt=16>e?16:e,null===Ks)var r=!1;else{if(e=Ks,Ks=null,Qs=0,6&_s)throw Error(o(331));var a=_s;for(_s|=4,Xl=e.current;null!==Xl;){var i=Xl,l=i.child;if(16&Xl.flags){var s=i.deletions;if(null!==s){for(var u=0;u<s.length;u++){var c=s[u];for(Xl=c;null!==Xl;){var d=Xl;switch(d.tag){case 0:case 11:case 15:ns(8,d,i)}var p=d.child;if(null!==p)p.return=d,Xl=p;else for(;null!==Xl;){var f=(d=Xl).sibling,m=d.return;if(os(d),d===c){Xl=null;break}if(null!==f){f.return=m,Xl=f;break}Xl=m}}}var h=i.alternate;if(null!==h){var g=h.child;if(null!==g){h.child=null;do{var y=g.sibling;g.sibling=null,g=y}while(null!==g)}}Xl=i}}if(2064&i.subtreeFlags&&null!==l)l.return=i,Xl=l;else e:for(;null!==Xl;){if(2048&(i=Xl).flags)switch(i.tag){case 0:case 11:case 15:ns(9,i,i.return)}var b=i.sibling;if(null!==b){b.return=i.return,Xl=b;break e}Xl=i.return}}var v=e.current;for(Xl=v;null!==Xl;){var w=(l=Xl).child;if(2064&l.subtreeFlags&&null!==w)w.return=l,Xl=w;else e:for(l=v;null!==Xl;){if(2048&(s=Xl).flags)try{switch(s.tag){case 0:case 11:case 15:rs(9,s)}}catch(x){Eu(s,s.return,x)}if(s===l){Xl=null;break e}var k=s.sibling;if(null!==k){k.return=s.return,Xl=k;break e}Xl=s.return}}if(_s=a,Ua(),ot&&"function"==typeof ot.onPostCommitFiberRoot)try{ot.onPostCommitFiberRoot(at,e)}catch(x){}r=!0}return r}finally{vt=n,As.transition=t}}return!1}function Su(e,t,n){e=Bo(e,t=fl(0,t=ul(n,t),1),1),t=eu(),null!==e&&(yt(e,1,t),ru(e,t))}function Eu(e,t,n){if(3===e.tag)Su(e,e,n);else for(;null!==t;){if(3===t.tag){Su(t,e,n);break}if(1===t.tag){var r=t.stateNode;if("function"==typeof t.type.getDerivedStateFromError||"function"==typeof r.componentDidCatch&&(null===Vs||!Vs.has(r))){t=Bo(t,e=ml(t,e=ul(n,e),1),1),e=eu(),null!==t&&(yt(t,1,e),ru(t,e));break}}t=t.return}}function Cu(e,t,n){var r=e.pingCache;null!==r&&r.delete(t),t=eu(),e.pingedLanes|=e.suspendedLanes&n,js===e&&(Ls&n)===n&&(4===Os||3===Os&&(130023424&Ls)===Ls&&500>Ze()-$s?pu(e,0):Fs|=n),ru(e,t)}function Tu(e,t){0===t&&(1&e.mode?(t=ct,!(130023424&(ct<<=1))&&(ct=4194304)):t=1);var n=eu();null!==(e=Do(e,t))&&(yt(e,t,n),ru(e,n))}function Au(e){var t=e.memoizedState,n=0;null!==t&&(n=t.retryLane),Tu(e,n)}function _u(e,t){var n=0;switch(e.tag){case 13:var r=e.stateNode,a=e.memoizedState;null!==a&&(n=a.retryLane);break;case 19:r=e.stateNode;break;default:throw Error(o(314))}null!==r&&r.delete(t),Tu(e,n)}function ju(e,t){return We(e,t)}function Ru(e,t,n,r){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,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 Lu(e,t,n,r){return new Ru(e,t,n,r)}function Nu(e){return!(!(e=e.prototype)||!e.isReactComponent)}function Pu(e,t){var n=e.alternate;return null===n?((n=Lu(e.tag,t,e.key,e.mode)).elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.type=e.type,n.flags=0,n.subtreeFlags=0,n.deletions=null),n.flags=14680064&e.flags,n.childLanes=e.childLanes,n.lanes=e.lanes,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,t=e.dependencies,n.dependencies=null===t?null:{lanes:t.lanes,firstContext:t.firstContext},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n}function Ou(e,t,n,r,a,i){var l=2;if(r=e,"function"==typeof e)Nu(e)&&(l=1);else if("string"==typeof e)l=5;else e:switch(e){case S:return Du(n.children,a,i,t);case E:l=8,a|=8;break;case C:return(e=Lu(12,n,t,2|a)).elementType=C,e.lanes=i,e;case j:return(e=Lu(13,n,t,a)).elementType=j,e.lanes=i,e;case R:return(e=Lu(19,n,t,a)).elementType=R,e.lanes=i,e;case P:return Iu(n,a,i,t);default:if("object"==typeof e&&null!==e)switch(e.$$typeof){case T:l=10;break e;case A:l=9;break e;case _:l=11;break e;case L:l=14;break e;case N:l=16,r=null;break e}throw Error(o(130,null==e?e:typeof e,""))}return(t=Lu(l,n,t,a)).elementType=e,t.type=r,t.lanes=i,t}function Du(e,t,n,r){return(e=Lu(7,e,r,t)).lanes=n,e}function Iu(e,t,n,r){return(e=Lu(22,e,r,t)).elementType=P,e.lanes=n,e.stateNode={isHidden:!1},e}function Mu(e,t,n){return(e=Lu(6,e,null,t)).lanes=n,e}function Fu(e,t,n){return(t=Lu(4,null!==e.children?e.children:[],e.key,t)).lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function zu(e,t,n,r,a){this.tag=t,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=gt(0),this.expirationTimes=gt(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=gt(0),this.identifierPrefix=r,this.onRecoverableError=a,this.mutableSourceEagerHydrationData=null}function Bu(e,t,n,r,a,o,i,l,s){return e=new zu(e,t,n,l,s),1===t?(t=1,!0===o&&(t|=8)):t=0,o=Lu(3,null,null,t),e.current=o,o.stateNode=e,o.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},Mo(o),e}function $u(e){if(!e)return Aa;e:{if(Ue(e=e._reactInternals)!==e||1!==e.tag)throw Error(o(170));var t=e;do{switch(t.tag){case 3:t=t.stateNode.context;break e;case 1:if(Na(t.type)){t=t.stateNode.__reactInternalMemoizedMergedChildContext;break e}}t=t.return}while(null!==t);throw Error(o(171))}if(1===e.tag){var n=e.type;if(Na(n))return Da(e,n,t)}return t}function Uu(e,t,n,r,a,o,i,l,s){return(e=Bu(n,r,!0,e,0,o,0,l,s)).context=$u(null),n=e.current,(o=zo(r=eu(),a=tu(n))).callback=null!=t?t:null,Bo(n,o,a),e.current.lanes=a,yt(e,a,r),ru(e,r),e}function qu(e,t,n,r){var a=t.current,o=eu(),i=tu(a);return n=$u(n),null===t.context?t.context=n:t.pendingContext=n,(t=zo(o,i)).payload={element:e},null!==(r=void 0===r?null:r)&&(t.callback=r),null!==(e=Bo(a,t,i))&&(nu(e,a,i,o),$o(e,a,i)),i}function Hu(e){return(e=e.current).child?(e.child.tag,e.child.stateNode):null}function Gu(e,t){if(null!==(e=e.memoizedState)&&null!==e.dehydrated){var n=e.retryLane;e.retryLane=0!==n&&n<t?n:t}}function Vu(e,t){Gu(e,t),(e=e.alternate)&&Gu(e,t)}Ss=function(e,t,n){if(null!==e)if(e.memoizedProps!==t.pendingProps||ja.current)vl=!0;else{if(!(e.lanes&n||128&t.flags))return vl=!1,function(e,t,n){switch(t.tag){case 3:jl(t),mo();break;case 5:Xo(t);break;case 1:Na(t.type)&&Ia(t);break;case 4:Yo(t,t.stateNode.containerInfo);break;case 10:var r=t.type._context,a=t.memoizedProps.value;Ta(So,r._currentValue),r._currentValue=a;break;case 13:if(null!==(r=t.memoizedState))return null!==r.dehydrated?(Ta(ei,1&ei.current),t.flags|=128,null):n&t.child.childLanes?Ml(e,t,n):(Ta(ei,1&ei.current),null!==(e=Hl(e,t,n))?e.sibling:null);Ta(ei,1&ei.current);break;case 19:if(r=!!(n&t.childLanes),128&e.flags){if(r)return Ul(e,t,n);t.flags|=128}if(null!==(a=t.memoizedState)&&(a.rendering=null,a.tail=null,a.lastEffect=null),Ta(ei,ei.current),r)break;return null;case 22:case 23:return t.lanes=0,El(e,t,n)}return Hl(e,t,n)}(e,t,n);vl=!!(131072&e.flags)}else vl=!1,ao&&1048576&t.flags&&Ja(t,Va,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;ql(e,t),e=t.pendingProps;var a=La(t,_a.current);Ro(t,n),a=gi(null,t,r,e,a,n);var i=yi();return t.flags|=1,"object"==typeof a&&null!==a&&"function"==typeof a.render&&void 0===a.$$typeof?(t.tag=1,t.memoizedState=null,t.updateQueue=null,Na(r)?(i=!0,Ia(t)):i=!1,t.memoizedState=null!==a.state&&void 0!==a.state?a.state:null,Mo(t),a.updater=al,t.stateNode=a,a._reactInternals=t,sl(t,r,e,n),t=_l(null,t,r,!0,i,n)):(t.tag=0,ao&&i&&eo(t),wl(null,t,a,n),t=t.child),t;case 16:r=t.elementType;e:{switch(ql(e,t),e=t.pendingProps,r=(a=r._init)(r._payload),t.type=r,a=t.tag=function(e){if("function"==typeof e)return Nu(e)?1:0;if(null!=e){if((e=e.$$typeof)===_)return 11;if(e===L)return 14}return 2}(r),e=nl(r,e),a){case 0:t=Tl(null,t,r,e,n);break e;case 1:t=Al(null,t,r,e,n);break e;case 11:t=kl(null,t,r,e,n);break e;case 14:t=xl(null,t,r,nl(r.type,e),n);break e}throw Error(o(306,r,""))}return t;case 0:return r=t.type,a=t.pendingProps,Tl(e,t,r,a=t.elementType===r?a:nl(r,a),n);case 1:return r=t.type,a=t.pendingProps,Al(e,t,r,a=t.elementType===r?a:nl(r,a),n);case 3:e:{if(jl(t),null===e)throw Error(o(387));r=t.pendingProps,a=(i=t.memoizedState).element,Fo(e,t),qo(t,r,null,n);var l=t.memoizedState;if(r=l.element,i.isDehydrated){if(i={element:r,isDehydrated:!1,cache:l.cache,pendingSuspenseBoundaries:l.pendingSuspenseBoundaries,transitions:l.transitions},t.updateQueue.baseState=i,t.memoizedState=i,256&t.flags){t=Rl(e,t,r,n,a=ul(Error(o(423)),t));break e}if(r!==a){t=Rl(e,t,r,n,a=ul(Error(o(424)),t));break e}for(ro=ua(t.stateNode.containerInfo.firstChild),no=t,ao=!0,oo=null,n=xo(t,null,r,n),t.child=n;n;)n.flags=-3&n.flags|4096,n=n.sibling}else{if(mo(),r===a){t=Hl(e,t,n);break e}wl(e,t,r,n)}t=t.child}return t;case 5:return Xo(t),null===e&&uo(t),r=t.type,a=t.pendingProps,i=null!==e?e.memoizedProps:null,l=a.children,na(r,a)?l=null:null!==i&&na(r,i)&&(t.flags|=32),Cl(e,t),wl(e,t,l,n),t.child;case 6:return null===e&&uo(t),null;case 13:return Ml(e,t,n);case 4:return Yo(t,t.stateNode.containerInfo),r=t.pendingProps,null===e?t.child=ko(t,null,r,n):wl(e,t,r,n),t.child;case 11:return r=t.type,a=t.pendingProps,kl(e,t,r,a=t.elementType===r?a:nl(r,a),n);case 7:return wl(e,t,t.pendingProps,n),t.child;case 8:case 12:return wl(e,t,t.pendingProps.children,n),t.child;case 10:e:{if(r=t.type._context,a=t.pendingProps,i=t.memoizedProps,l=a.value,Ta(So,r._currentValue),r._currentValue=l,null!==i)if(lr(i.value,l)){if(i.children===a.children&&!ja.current){t=Hl(e,t,n);break e}}else for(null!==(i=t.child)&&(i.return=t);null!==i;){var s=i.dependencies;if(null!==s){l=i.child;for(var u=s.firstContext;null!==u;){if(u.context===r){if(1===i.tag){(u=zo(-1,n&-n)).tag=2;var c=i.updateQueue;if(null!==c){var d=(c=c.shared).pending;null===d?u.next=u:(u.next=d.next,d.next=u),c.pending=u}}i.lanes|=n,null!==(u=i.alternate)&&(u.lanes|=n),jo(i.return,n,t),s.lanes|=n;break}u=u.next}}else if(10===i.tag)l=i.type===t.type?null:i.child;else if(18===i.tag){if(null===(l=i.return))throw Error(o(341));l.lanes|=n,null!==(s=l.alternate)&&(s.lanes|=n),jo(l,n,t),l=i.sibling}else l=i.child;if(null!==l)l.return=i;else for(l=i;null!==l;){if(l===t){l=null;break}if(null!==(i=l.sibling)){i.return=l.return,l=i;break}l=l.return}i=l}wl(e,t,a.children,n),t=t.child}return t;case 9:return a=t.type,r=t.pendingProps.children,Ro(t,n),r=r(a=Lo(a)),t.flags|=1,wl(e,t,r,n),t.child;case 14:return a=nl(r=t.type,t.pendingProps),xl(e,t,r,a=nl(r.type,a),n);case 15:return Sl(e,t,t.type,t.pendingProps,n);case 17:return r=t.type,a=t.pendingProps,a=t.elementType===r?a:nl(r,a),ql(e,t),t.tag=1,Na(r)?(e=!0,Ia(t)):e=!1,Ro(t,n),il(t,r,a),sl(t,r,a,n),_l(null,t,r,!0,e,n);case 19:return Ul(e,t,n);case 22:return El(e,t,n)}throw Error(o(156,t.tag))};var Wu="function"==typeof reportError?reportError:function(e){console.error(e)};function Ku(e){this._internalRoot=e}function Qu(e){this._internalRoot=e}function Yu(e){return!(!e||1!==e.nodeType&&9!==e.nodeType&&11!==e.nodeType)}function Zu(e){return!(!e||1!==e.nodeType&&9!==e.nodeType&&11!==e.nodeType&&(8!==e.nodeType||" react-mount-point-unstable "!==e.nodeValue))}function Xu(){}function Ju(e,t,n,r,a){var o=n._reactRootContainer;if(o){var i=o;if("function"==typeof a){var l=a;a=function(){var e=Hu(i);l.call(e)}}qu(t,i,e,a)}else i=function(e,t,n,r,a){if(a){if("function"==typeof r){var o=r;r=function(){var e=Hu(i);o.call(e)}}var i=Uu(t,r,e,0,null,!1,0,"",Xu);return e._reactRootContainer=i,e[ma]=i.current,Ur(8===e.nodeType?e.parentNode:e),cu(),i}for(;a=e.lastChild;)e.removeChild(a);if("function"==typeof r){var l=r;r=function(){var e=Hu(s);l.call(e)}}var s=Bu(e,0,!1,null,0,!1,0,"",Xu);return e._reactRootContainer=s,e[ma]=s.current,Ur(8===e.nodeType?e.parentNode:e),cu((function(){qu(t,s,n,r)})),s}(n,t,e,a,r);return Hu(i)}Qu.prototype.render=Ku.prototype.render=function(e){var t=this._internalRoot;if(null===t)throw Error(o(409));qu(e,t,null,null)},Qu.prototype.unmount=Ku.prototype.unmount=function(){var e=this._internalRoot;if(null!==e){this._internalRoot=null;var t=e.containerInfo;cu((function(){qu(null,e,null,null)})),t[ma]=null}},Qu.prototype.unstable_scheduleHydration=function(e){if(e){var t=Et();e={blockedOn:null,target:e,priority:t};for(var n=0;n<Pt.length&&0!==t&&t<Pt[n].priority;n++);Pt.splice(n,0,e),0===n&&Mt(e)}},kt=function(e){switch(e.tag){case 3:var t=e.stateNode;if(t.current.memoizedState.isDehydrated){var n=dt(t.pendingLanes);0!==n&&(bt(t,1|n),ru(t,Ze()),!(6&_s)&&(Us=Ze()+500,Ua()))}break;case 13:cu((function(){var t=Do(e,1);if(null!==t){var n=eu();nu(t,e,1,n)}})),Vu(e,1)}},xt=function(e){if(13===e.tag){var t=Do(e,134217728);if(null!==t)nu(t,e,134217728,eu());Vu(e,134217728)}},St=function(e){if(13===e.tag){var t=tu(e),n=Do(e,t);if(null!==n)nu(n,e,t,eu());Vu(e,t)}},Et=function(){return vt},Ct=function(e,t){var n=vt;try{return vt=e,t()}finally{vt=n}},xe=function(e,t,n){switch(t){case"input":if(X(e,n),t=n.name,"radio"===n.type&&null!=t){for(n=e;n.parentNode;)n=n.parentNode;for(n=n.querySelectorAll("input[name="+JSON.stringify(""+t)+'][type="radio"]'),t=0;t<n.length;t++){var r=n[t];if(r!==e&&r.form===e.form){var a=ka(r);if(!a)throw Error(o(90));W(r),X(r,a)}}}break;case"textarea":oe(e,n);break;case"select":null!=(t=n.value)&&ne(e,!!n.multiple,t,!1)}},_e=uu,je=cu;var ec={usingClientEntryPoint:!1,Events:[va,wa,ka,Te,Ae,uu]},tc={findFiberByHostInstance:ba,bundleType:0,version:"18.3.1",rendererPackageName:"react-dom"},nc={bundleType:tc.bundleType,version:tc.version,rendererPackageName:tc.rendererPackageName,rendererConfig:tc.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:w.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return null===(e=Ge(e))?null:e.stateNode},findFiberByHostInstance:tc.findFiberByHostInstance||function(){return null},findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null,reconcilerVersion:"18.3.1-next-f1338f8080-20240426"};if("undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__){var rc=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!rc.isDisabled&&rc.supportsFiber)try{at=rc.inject(nc),ot=rc}catch(ce){}}t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=ec,t.createPortal=function(e,t){var n=2<arguments.length&&void 0!==arguments[2]?arguments[2]:null;if(!Yu(t))throw Error(o(200));return function(e,t,n){var r=3<arguments.length&&void 0!==arguments[3]?arguments[3]:null;return{$$typeof:x,key:null==r?null:""+r,children:e,containerInfo:t,implementation:n}}(e,t,null,n)},t.createRoot=function(e,t){if(!Yu(e))throw Error(o(299));var n=!1,r="",a=Wu;return null!=t&&(!0===t.unstable_strictMode&&(n=!0),void 0!==t.identifierPrefix&&(r=t.identifierPrefix),void 0!==t.onRecoverableError&&(a=t.onRecoverableError)),t=Bu(e,1,!1,null,0,n,0,r,a),e[ma]=t.current,Ur(8===e.nodeType?e.parentNode:e),new Ku(t)},t.findDOMNode=function(e){if(null==e)return null;if(1===e.nodeType)return e;var t=e._reactInternals;if(void 0===t){if("function"==typeof e.render)throw Error(o(188));throw e=Object.keys(e).join(","),Error(o(268,e))}return e=null===(e=Ge(t))?null:e.stateNode},t.flushSync=function(e){return cu(e)},t.hydrate=function(e,t,n){if(!Zu(t))throw Error(o(200));return Ju(null,e,t,!0,n)},t.hydrateRoot=function(e,t,n){if(!Yu(e))throw Error(o(405));var r=null!=n&&n.hydratedSources||null,a=!1,i="",l=Wu;if(null!=n&&(!0===n.unstable_strictMode&&(a=!0),void 0!==n.identifierPrefix&&(i=n.identifierPrefix),void 0!==n.onRecoverableError&&(l=n.onRecoverableError)),t=Uu(t,null,e,1,null!=n?n:null,a,0,i,l),e[ma]=t.current,Ur(e),r)for(e=0;e<r.length;e++)a=(a=(n=r[e])._getVersion)(n._source),null==t.mutableSourceEagerHydrationData?t.mutableSourceEagerHydrationData=[n,a]:t.mutableSourceEagerHydrationData.push(n,a);return new Qu(t)},t.render=function(e,t,n){if(!Zu(t))throw Error(o(200));return Ju(null,e,t,!1,n)},t.unmountComponentAtNode=function(e){if(!Zu(e))throw Error(o(40));return!!e._reactRootContainer&&(cu((function(){Ju(null,null,e,!1,(function(){e._reactRootContainer=null,e[ma]=null}))})),!0)},t.unstable_batchedUpdates=uu,t.unstable_renderSubtreeIntoContainer=function(e,t,n,r){if(!Zu(n))throw Error(o(200));if(null==e||void 0===e._reactInternals)throw Error(o(38));return Ju(e,t,n,!1,r)},t.version="18.3.1-next-f1338f8080-20240426"},5338:(e,t,n)=>{"use strict";var r=n(961);t.createRoot=r.createRoot,t.hydrateRoot=r.hydrateRoot},961:(e,t,n)=>{"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(t){console.error(t)}}(),e.exports=n(2551)},115:e=>{var t="undefined"!=typeof Element,n="function"==typeof Map,r="function"==typeof Set,a="function"==typeof ArrayBuffer&&!!ArrayBuffer.isView;function o(e,i){if(e===i)return!0;if(e&&i&&"object"==typeof e&&"object"==typeof i){if(e.constructor!==i.constructor)return!1;var l,s,u,c;if(Array.isArray(e)){if((l=e.length)!=i.length)return!1;for(s=l;0!=s--;)if(!o(e[s],i[s]))return!1;return!0}if(n&&e instanceof Map&&i instanceof Map){if(e.size!==i.size)return!1;for(c=e.entries();!(s=c.next()).done;)if(!i.has(s.value[0]))return!1;for(c=e.entries();!(s=c.next()).done;)if(!o(s.value[1],i.get(s.value[0])))return!1;return!0}if(r&&e instanceof Set&&i instanceof Set){if(e.size!==i.size)return!1;for(c=e.entries();!(s=c.next()).done;)if(!i.has(s.value[0]))return!1;return!0}if(a&&ArrayBuffer.isView(e)&&ArrayBuffer.isView(i)){if((l=e.length)!=i.length)return!1;for(s=l;0!=s--;)if(e[s]!==i[s])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((l=(u=Object.keys(e)).length)!==Object.keys(i).length)return!1;for(s=l;0!=s--;)if(!Object.prototype.hasOwnProperty.call(i,u[s]))return!1;if(t&&e instanceof Element)return!1;for(s=l;0!=s--;)if(("_owner"!==u[s]&&"__v"!==u[s]&&"__o"!==u[s]||!e.$$typeof)&&!o(e[u[s]],i[u[s]]))return!1;return!0}return e!=e&&i!=i}e.exports=function(e,t){try{return o(e,t)}catch(n){if((n.message||"").match(/stack|recursion/i))return console.warn("react-fast-compare cannot handle circular refs"),!1;throw n}}},545:(e,t,n)=>{"use strict";n.d(t,{mg:()=>J,vd:()=>G});var r=n(6540),a=n(5556),o=n.n(a),i=n(115),l=n.n(i),s=n(311),u=n.n(s),c=n(2833),d=n.n(c);function p(){return p=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},p.apply(this,arguments)}function f(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,m(e,t)}function m(e,t){return m=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},m(e,t)}function h(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)t.indexOf(n=o[r])>=0||(a[n]=e[n]);return a}var g={BASE:"base",BODY:"body",HEAD:"head",HTML:"html",LINK:"link",META:"meta",NOSCRIPT:"noscript",SCRIPT:"script",STYLE:"style",TITLE:"title",FRAGMENT:"Symbol(react.fragment)"},y={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"]},w=Object.keys(g).map((function(e){return g[e]})),k={accesskey:"accessKey",charset:"charSet",class:"className",contenteditable:"contentEditable",contextmenu:"contextMenu","http-equiv":"httpEquiv",itemprop:"itemProp",tabindex:"tabIndex"},x=Object.keys(k).reduce((function(e,t){return e[k[t]]=t,e}),{}),S=function(e,t){for(var n=e.length-1;n>=0;n-=1){var r=e[n];if(Object.prototype.hasOwnProperty.call(r,t))return r[t]}return null},E=function(e){var t=S(e,g.TITLE),n=S(e,"titleTemplate");if(Array.isArray(t)&&(t=t.join("")),n&&t)return n.replace(/%s/g,(function(){return t}));var r=S(e,"defaultTitle");return t||r||void 0},C=function(e){return S(e,"onChangeClientState")||function(){}},T=function(e,t){return t.filter((function(t){return void 0!==t[e]})).map((function(t){return t[e]})).reduce((function(e,t){return p({},e,t)}),{})},A=function(e,t){return t.filter((function(e){return void 0!==e[g.BASE]})).map((function(e){return e[g.BASE]})).reverse().reduce((function(t,n){if(!t.length)for(var r=Object.keys(n),a=0;a<r.length;a+=1){var o=r[a].toLowerCase();if(-1!==e.indexOf(o)&&n[o])return t.concat(n)}return t}),[])},_=function(e,t,n){var r={};return n.filter((function(t){return!!Array.isArray(t[e])||(void 0!==t[e]&&console&&"function"==typeof console.warn&&console.warn("Helmet: "+e+' should be of type "Array". Instead found type "'+typeof t[e]+'"'),!1)})).map((function(t){return t[e]})).reverse().reduce((function(e,n){var a={};n.filter((function(e){for(var n,o=Object.keys(e),i=0;i<o.length;i+=1){var l=o[i],s=l.toLowerCase();-1===t.indexOf(s)||"rel"===n&&"canonical"===e[n].toLowerCase()||"rel"===s&&"stylesheet"===e[s].toLowerCase()||(n=s),-1===t.indexOf(l)||"innerHTML"!==l&&"cssText"!==l&&"itemprop"!==l||(n=l)}if(!n||!e[n])return!1;var u=e[n].toLowerCase();return r[n]||(r[n]={}),a[n]||(a[n]={}),!r[n][u]&&(a[n][u]=!0,!0)})).reverse().forEach((function(t){return e.push(t)}));for(var o=Object.keys(a),i=0;i<o.length;i+=1){var l=o[i],s=p({},r[l],a[l]);r[l]=s}return e}),[]).reverse()},j=function(e,t){if(Array.isArray(e)&&e.length)for(var n=0;n<e.length;n+=1)if(e[n][t])return!0;return!1},R=function(e){return Array.isArray(e)?e.join(""):e},L=function(e,t){return Array.isArray(e)?e.reduce((function(e,n){return function(e,t){for(var n=Object.keys(e),r=0;r<n.length;r+=1)if(t[n[r]]&&t[n[r]].includes(e[n[r]]))return!0;return!1}(n,t)?e.priority.push(n):e.default.push(n),e}),{priority:[],default:[]}):{default:e}},N=function(e,t){var n;return p({},e,((n={})[t]=void 0,n))},P=[g.NOSCRIPT,g.SCRIPT,g.STYLE],O=function(e,t){return void 0===t&&(t=!0),!1===t?String(e):String(e).replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/"/g,""").replace(/'/g,"'")},D=function(e){return Object.keys(e).reduce((function(t,n){var r=void 0!==e[n]?n+'="'+e[n]+'"':""+n;return t?t+" "+r:r}),"")},I=function(e,t){return void 0===t&&(t={}),Object.keys(e).reduce((function(t,n){return t[k[n]||n]=e[n],t}),t)},M=function(e,t){return t.map((function(t,n){var a,o=((a={key:n})["data-rh"]=!0,a);return Object.keys(t).forEach((function(e){var n=k[e]||e;"innerHTML"===n||"cssText"===n?o.dangerouslySetInnerHTML={__html:t.innerHTML||t.cssText}:o[n]=t[e]})),r.createElement(e,o)}))},F=function(e,t,n){switch(e){case g.TITLE:return{toComponent:function(){return n=t.titleAttributes,(a={key:e=t.title})["data-rh"]=!0,o=I(n,a),[r.createElement(g.TITLE,o,e)];var e,n,a,o},toString:function(){return function(e,t,n,r){var a=D(n),o=R(t);return a?"<"+e+' data-rh="true" '+a+">"+O(o,r)+"</"+e+">":"<"+e+' data-rh="true">'+O(o,r)+"</"+e+">"}(e,t.title,t.titleAttributes,n)}};case"bodyAttributes":case"htmlAttributes":return{toComponent:function(){return I(t)},toString:function(){return D(t)}};default:return{toComponent:function(){return M(e,t)},toString:function(){return function(e,t,n){return t.reduce((function(t,r){var a=Object.keys(r).filter((function(e){return!("innerHTML"===e||"cssText"===e)})).reduce((function(e,t){var a=void 0===r[t]?t:t+'="'+O(r[t],n)+'"';return e?e+" "+a:a}),""),o=r.innerHTML||r.cssText||"",i=-1===P.indexOf(e);return t+"<"+e+' data-rh="true" '+a+(i?"/>":">"+o+"</"+e+">")}),"")}(e,t,n)}}}},z=function(e){var t=e.baseTag,n=e.bodyAttributes,r=e.encode,a=e.htmlAttributes,o=e.noscriptTags,i=e.styleTags,l=e.title,s=void 0===l?"":l,u=e.titleAttributes,c=e.linkTags,d=e.metaTags,p=e.scriptTags,f={toComponent:function(){},toString:function(){return""}};if(e.prioritizeSeoTags){var m=function(e){var t=e.linkTags,n=e.scriptTags,r=e.encode,a=L(e.metaTags,v),o=L(t,y),i=L(n,b);return{priorityMethods:{toComponent:function(){return[].concat(M(g.META,a.priority),M(g.LINK,o.priority),M(g.SCRIPT,i.priority))},toString:function(){return F(g.META,a.priority,r)+" "+F(g.LINK,o.priority,r)+" "+F(g.SCRIPT,i.priority,r)}},metaTags:a.default,linkTags:o.default,scriptTags:i.default}}(e);f=m.priorityMethods,c=m.linkTags,d=m.metaTags,p=m.scriptTags}return{priority:f,base:F(g.BASE,t,r),bodyAttributes:F("bodyAttributes",n,r),htmlAttributes:F("htmlAttributes",a,r),link:F(g.LINK,c,r),meta:F(g.META,d,r),noscript:F(g.NOSCRIPT,o,r),script:F(g.SCRIPT,p,r),style:F(g.STYLE,i,r),title:F(g.TITLE,{title:s,titleAttributes:u},r)}},B=[],$=function(e,t){var n=this;void 0===t&&(t="undefined"!=typeof document),this.instances=[],this.value={setHelmet:function(e){n.context.helmet=e},helmetInstances:{get:function(){return n.canUseDOM?B:n.instances},add:function(e){(n.canUseDOM?B:n.instances).push(e)},remove:function(e){var t=(n.canUseDOM?B:n.instances).indexOf(e);(n.canUseDOM?B:n.instances).splice(t,1)}}},this.context=e,this.canUseDOM=t,t||(e.helmet=z({baseTag:[],bodyAttributes:{},encodeSpecialCharacters:!0,htmlAttributes:{},linkTags:[],metaTags:[],noscriptTags:[],scriptTags:[],styleTags:[],title:"",titleAttributes:{}}))},U=r.createContext({}),q=o().shape({setHelmet:o().func,helmetInstances:o().shape({get:o().func,add:o().func,remove:o().func})}),H="undefined"!=typeof document,G=function(e){function t(n){var r;return(r=e.call(this,n)||this).helmetData=new $(r.props.context,t.canUseDOM),r}return f(t,e),t.prototype.render=function(){return r.createElement(U.Provider,{value:this.helmetData.value},this.props.children)},t}(r.Component);G.canUseDOM=H,G.propTypes={context:o().shape({helmet:o().shape()}),children:o().node.isRequired},G.defaultProps={context:{}},G.displayName="HelmetProvider";var V=function(e,t){var n,r=document.head||document.querySelector(g.HEAD),a=r.querySelectorAll(e+"[data-rh]"),o=[].slice.call(a),i=[];return t&&t.length&&t.forEach((function(t){var r=document.createElement(e);for(var a in t)Object.prototype.hasOwnProperty.call(t,a)&&("innerHTML"===a?r.innerHTML=t.innerHTML:"cssText"===a?r.styleSheet?r.styleSheet.cssText=t.cssText:r.appendChild(document.createTextNode(t.cssText)):r.setAttribute(a,void 0===t[a]?"":t[a]));r.setAttribute("data-rh","true"),o.some((function(e,t){return n=t,r.isEqualNode(e)}))?o.splice(n,1):i.push(r)})),o.forEach((function(e){return e.parentNode.removeChild(e)})),i.forEach((function(e){return r.appendChild(e)})),{oldTags:o,newTags:i}},W=function(e,t){var n=document.getElementsByTagName(e)[0];if(n){for(var r=n.getAttribute("data-rh"),a=r?r.split(","):[],o=[].concat(a),i=Object.keys(t),l=0;l<i.length;l+=1){var s=i[l],u=t[s]||"";n.getAttribute(s)!==u&&n.setAttribute(s,u),-1===a.indexOf(s)&&a.push(s);var c=o.indexOf(s);-1!==c&&o.splice(c,1)}for(var d=o.length-1;d>=0;d-=1)n.removeAttribute(o[d]);a.length===o.length?n.removeAttribute("data-rh"):n.getAttribute("data-rh")!==i.join(",")&&n.setAttribute("data-rh",i.join(","))}},K=function(e,t){var n=e.baseTag,r=e.htmlAttributes,a=e.linkTags,o=e.metaTags,i=e.noscriptTags,l=e.onChangeClientState,s=e.scriptTags,u=e.styleTags,c=e.title,d=e.titleAttributes;W(g.BODY,e.bodyAttributes),W(g.HTML,r),function(e,t){void 0!==e&&document.title!==e&&(document.title=R(e)),W(g.TITLE,t)}(c,d);var p={baseTag:V(g.BASE,n),linkTags:V(g.LINK,a),metaTags:V(g.META,o),noscriptTags:V(g.NOSCRIPT,i),scriptTags:V(g.SCRIPT,s),styleTags:V(g.STYLE,u)},f={},m={};Object.keys(p).forEach((function(e){var t=p[e],n=t.newTags,r=t.oldTags;n.length&&(f[e]=n),r.length&&(m[e]=p[e].oldTags)})),t&&t(),l(e,f,m)},Q=null,Y=function(e){function t(){for(var t,n=arguments.length,r=new Array(n),a=0;a<n;a++)r[a]=arguments[a];return(t=e.call.apply(e,[this].concat(r))||this).rendered=!1,t}f(t,e);var n=t.prototype;return n.shouldComponentUpdate=function(e){return!d()(e,this.props)},n.componentDidUpdate=function(){this.emitChange()},n.componentWillUnmount=function(){this.props.context.helmetInstances.remove(this),this.emitChange()},n.emitChange=function(){var e,t,n=this.props.context,r=n.setHelmet,a=null,o=(e=n.helmetInstances.get().map((function(e){var t=p({},e.props);return delete t.context,t})),{baseTag:A(["href"],e),bodyAttributes:T("bodyAttributes",e),defer:S(e,"defer"),encode:S(e,"encodeSpecialCharacters"),htmlAttributes:T("htmlAttributes",e),linkTags:_(g.LINK,["rel","href"],e),metaTags:_(g.META,["name","charset","http-equiv","property","itemprop"],e),noscriptTags:_(g.NOSCRIPT,["innerHTML"],e),onChangeClientState:C(e),scriptTags:_(g.SCRIPT,["src","innerHTML"],e),styleTags:_(g.STYLE,["cssText"],e),title:E(e),titleAttributes:T("titleAttributes",e),prioritizeSeoTags:j(e,"prioritizeSeoTags")});G.canUseDOM?(t=o,Q&&cancelAnimationFrame(Q),t.defer?Q=requestAnimationFrame((function(){K(t,(function(){Q=null}))})):(K(t),Q=null)):z&&(a=z(o)),r(a)},n.init=function(){this.rendered||(this.rendered=!0,this.props.context.helmetInstances.add(this),this.emitChange())},n.render=function(){return this.init(),null},t}(r.Component);Y.propTypes={context:q.isRequired},Y.displayName="HelmetDispatcher";var Z=["children"],X=["children"],J=function(e){function t(){return e.apply(this,arguments)||this}f(t,e);var n=t.prototype;return n.shouldComponentUpdate=function(e){return!l()(N(this.props,"helmetData"),N(e,"helmetData"))},n.mapNestedChildrenToProps=function(e,t){if(!t)return null;switch(e.type){case g.SCRIPT:case g.NOSCRIPT:return{innerHTML:t};case g.STYLE:return{cssText:t};default:throw new Error("<"+e.type+" /> elements are self-closing and can not contain children. Refer to our API for more information.")}},n.flattenArrayTypeChildren=function(e){var t,n=e.child,r=e.arrayTypeChildren;return p({},r,((t={})[n.type]=[].concat(r[n.type]||[],[p({},e.newChildProps,this.mapNestedChildrenToProps(n,e.nestedChildren))]),t))},n.mapObjectTypeChildren=function(e){var t,n,r=e.child,a=e.newProps,o=e.newChildProps,i=e.nestedChildren;switch(r.type){case g.TITLE:return p({},a,((t={})[r.type]=i,t.titleAttributes=p({},o),t));case g.BODY:return p({},a,{bodyAttributes:p({},o)});case g.HTML:return p({},a,{htmlAttributes:p({},o)});default:return p({},a,((n={})[r.type]=p({},o),n))}},n.mapArrayTypeChildrenToProps=function(e,t){var n=p({},t);return Object.keys(e).forEach((function(t){var r;n=p({},n,((r={})[t]=e[t],r))})),n},n.warnOnInvalidChildren=function(e,t){return u()(w.some((function(t){return e.type===t})),"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 "+w.join(", ")+" are allowed. Helmet does not support rendering <"+e.type+"> elements. Refer to our API for more information."),u()(!t||"string"==typeof t||Array.isArray(t)&&!t.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},n.mapChildrenToProps=function(e,t){var n=this,a={};return r.Children.forEach(e,(function(e){if(e&&e.props){var r=e.props,o=r.children,i=h(r,Z),l=Object.keys(i).reduce((function(e,t){return e[x[t]||t]=i[t],e}),{}),s=e.type;switch("symbol"==typeof s?s=s.toString():n.warnOnInvalidChildren(e,o),s){case g.FRAGMENT:t=n.mapChildrenToProps(o,t);break;case g.LINK:case g.META:case g.NOSCRIPT:case g.SCRIPT:case g.STYLE:a=n.flattenArrayTypeChildren({child:e,arrayTypeChildren:a,newChildProps:l,nestedChildren:o});break;default:t=n.mapObjectTypeChildren({child:e,newProps:t,newChildProps:l,nestedChildren:o})}}})),this.mapArrayTypeChildrenToProps(a,t)},n.render=function(){var e=this.props,t=e.children,n=h(e,X),a=p({},n),o=n.helmetData;return t&&(a=this.mapChildrenToProps(t,a)),!o||o instanceof $||(o=new $(o.context,o.instances)),o?r.createElement(Y,p({},a,{context:o.value,helmetData:void 0})):r.createElement(U.Consumer,null,(function(e){return r.createElement(Y,p({},a,{context:e}))}))},t}(r.Component);J.propTypes={base:o().object,bodyAttributes:o().object,children:o().oneOfType([o().arrayOf(o().node),o().node]),defaultTitle:o().string,defer:o().bool,encodeSpecialCharacters:o().bool,htmlAttributes:o().object,link:o().arrayOf(o().object),meta:o().arrayOf(o().object),noscript:o().arrayOf(o().object),onChangeClientState:o().func,script:o().arrayOf(o().object),style:o().arrayOf(o().object),title:o().string,titleAttributes:o().object,titleTemplate:o().string,prioritizeSeoTags:o().bool,helmetData:o().object},J.defaultProps={defer:!0,encodeSpecialCharacters:!0,prioritizeSeoTags:!1},J.displayName="Helmet"},2799:(e,t)=>{"use strict";var n="function"==typeof Symbol&&Symbol.for,r=n?Symbol.for("react.element"):60103,a=n?Symbol.for("react.portal"):60106,o=n?Symbol.for("react.fragment"):60107,i=n?Symbol.for("react.strict_mode"):60108,l=n?Symbol.for("react.profiler"):60114,s=n?Symbol.for("react.provider"):60109,u=n?Symbol.for("react.context"):60110,c=n?Symbol.for("react.async_mode"):60111,d=n?Symbol.for("react.concurrent_mode"):60111,p=n?Symbol.for("react.forward_ref"):60112,f=n?Symbol.for("react.suspense"):60113,m=n?Symbol.for("react.suspense_list"):60120,h=n?Symbol.for("react.memo"):60115,g=n?Symbol.for("react.lazy"):60116,y=n?Symbol.for("react.block"):60121,b=n?Symbol.for("react.fundamental"):60117,v=n?Symbol.for("react.responder"):60118,w=n?Symbol.for("react.scope"):60119;function k(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case r:switch(e=e.type){case c:case d:case o:case l:case i:case f:return e;default:switch(e=e&&e.$$typeof){case u:case p:case g:case h:case s:return e;default:return t}}case a:return t}}}function x(e){return k(e)===d}t.AsyncMode=c,t.ConcurrentMode=d,t.ContextConsumer=u,t.ContextProvider=s,t.Element=r,t.ForwardRef=p,t.Fragment=o,t.Lazy=g,t.Memo=h,t.Portal=a,t.Profiler=l,t.StrictMode=i,t.Suspense=f,t.isAsyncMode=function(e){return x(e)||k(e)===c},t.isConcurrentMode=x,t.isContextConsumer=function(e){return k(e)===u},t.isContextProvider=function(e){return k(e)===s},t.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===r},t.isForwardRef=function(e){return k(e)===p},t.isFragment=function(e){return k(e)===o},t.isLazy=function(e){return k(e)===g},t.isMemo=function(e){return k(e)===h},t.isPortal=function(e){return k(e)===a},t.isProfiler=function(e){return k(e)===l},t.isStrictMode=function(e){return k(e)===i},t.isSuspense=function(e){return k(e)===f},t.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===o||e===d||e===l||e===i||e===f||e===m||"object"==typeof e&&null!==e&&(e.$$typeof===g||e.$$typeof===h||e.$$typeof===s||e.$$typeof===u||e.$$typeof===p||e.$$typeof===b||e.$$typeof===v||e.$$typeof===w||e.$$typeof===y)},t.typeOf=k},4363:(e,t,n)=>{"use strict";e.exports=n(2799)},3259:(e,t,n)=>{"use strict";function r(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}function a(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function o(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function i(){return i=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},i.apply(this,arguments)}var l=n(6540),s=[],u=[];var c=l.createContext(null);function d(e){var t=e(),n={loading:!0,loaded:null,error:null};return n.promise=t.then((function(e){return n.loading=!1,n.loaded=e,e})).catch((function(e){throw n.loading=!1,n.error=e,e})),n}function p(e){var t={loading:!1,loaded:{},error:null},n=[];try{Object.keys(e).forEach((function(r){var a=d(e[r]);a.loading?t.loading=!0:(t.loaded[r]=a.loaded,t.error=a.error),n.push(a.promise),a.promise.then((function(e){t.loaded[r]=e})).catch((function(e){t.error=e}))}))}catch(r){t.error=r}return t.promise=Promise.all(n).then((function(e){return t.loading=!1,e})).catch((function(e){throw t.loading=!1,e})),t}function f(e,t){return l.createElement((n=e)&&n.__esModule?n.default:n,t);var n}function m(e,t){var d,p;if(!t.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},t),h=null;function g(){return h||(h=e(m.loader)),h.promise}return s.push(g),"function"==typeof m.webpack&&u.push((function(){if((0,m.webpack)().every((function(e){return void 0!==e&&void 0!==n.m[e]})))return g()})),p=d=function(t){function n(n){var r;return o(a(a(r=t.call(this,n)||this)),"retry",(function(){r.setState({error:null,loading:!0,timedOut:!1}),h=e(m.loader),r._loadModule()})),g(),r.state={error:h.error,pastDelay:!1,timedOut:!1,loading:h.loading,loaded:h.loaded},r}r(n,t),n.preload=function(){return g()};var i=n.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(t){e.context.report(t)})),h.loading){var t=function(t){e._mounted&&e.setState(t)};"number"==typeof m.delay&&(0===m.delay?this.setState({pastDelay:!0}):this._delay=setTimeout((function(){t({pastDelay:!0})}),m.delay)),"number"==typeof m.timeout&&(this._timeout=setTimeout((function(){t({timedOut:!0})}),m.timeout));var n=function(){t({error:h.error,loaded:h.loaded,loading:h.loading}),e._clearTimeouts()};h.promise.then((function(){return n(),null})).catch((function(e){return n(),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?l.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},n}(l.Component),o(d,"contextType",c),p}function h(e){return m(d,e)}h.Map=function(e){if("function"!=typeof e.render)throw new Error("LoadableMap requires a `render(loaded, props)` function");return m(p,e)};var g=function(e){function t(){return e.apply(this,arguments)||this}return r(t,e),t.prototype.render=function(){return l.createElement(c.Provider,{value:{report:this.props.report}},l.Children.only(this.props.children))},t}(l.Component);function y(e){for(var t=[];e.length;){var n=e.pop();t.push(n())}return Promise.all(t).then((function(){if(e.length)return y(e)}))}h.Capture=g,h.preloadAll=function(){return new Promise((function(e,t){y(s).then(e,t)}))},h.preloadReady=function(){return new Promise((function(e,t){y(u).then(e,e)}))},e.exports=h},2831:(e,t,n)=>{"use strict";n.d(t,{u:()=>i,v:()=>l});var r=n(6347),a=n(8168),o=n(6540);function i(e,t,n){return void 0===n&&(n=[]),e.some((function(e){var a=e.path?(0,r.B6)(t,e):n.length?n[n.length-1].match:r.Ix.computeRootMatch(t);return a&&(n.push({route:e,match:a}),e.routes&&i(e.routes,t,n)),a})),n}function l(e,t,n){return void 0===t&&(t={}),void 0===n&&(n={}),e?o.createElement(r.dO,n,e.map((function(e,n){return o.createElement(r.qh,{key:e.key||n,path:e.path,exact:e.exact,strict:e.strict,render:function(n){return e.render?e.render((0,a.A)({},n,{},t,{route:e})):o.createElement(e.component,(0,a.A)({},n,t,{route:e}))}})}))):null}},4625:(e,t,n)=>{"use strict";n.d(t,{I9:()=>d,Kd:()=>c,N_:()=>y,k2:()=>w});var r=n(6347),a=n(2892),o=n(6540),i=n(1513),l=n(8168),s=n(8587),u=n(1561),c=function(e){function t(){for(var t,n=arguments.length,r=new Array(n),a=0;a<n;a++)r[a]=arguments[a];return(t=e.call.apply(e,[this].concat(r))||this).history=(0,i.zR)(t.props),t}return(0,a.A)(t,e),t.prototype.render=function(){return o.createElement(r.Ix,{history:this.history,children:this.props.children})},t}(o.Component);var d=function(e){function t(){for(var t,n=arguments.length,r=new Array(n),a=0;a<n;a++)r[a]=arguments[a];return(t=e.call.apply(e,[this].concat(r))||this).history=(0,i.TM)(t.props),t}return(0,a.A)(t,e),t.prototype.render=function(){return o.createElement(r.Ix,{history:this.history,children:this.props.children})},t}(o.Component);var p=function(e,t){return"function"==typeof e?e(t):e},f=function(e,t){return"string"==typeof e?(0,i.yJ)(e,null,null,t):e},m=function(e){return e},h=o.forwardRef;void 0===h&&(h=m);var g=h((function(e,t){var n=e.innerRef,r=e.navigate,a=e.onClick,i=(0,s.A)(e,["innerRef","navigate","onClick"]),u=i.target,c=(0,l.A)({},i,{onClick:function(e){try{a&&a(e)}catch(t){throw e.preventDefault(),t}e.defaultPrevented||0!==e.button||u&&"_self"!==u||function(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}(e)||(e.preventDefault(),r())}});return c.ref=m!==h&&t||n,o.createElement("a",c)}));var y=h((function(e,t){var n=e.component,a=void 0===n?g:n,c=e.replace,d=e.to,y=e.innerRef,b=(0,s.A)(e,["component","replace","to","innerRef"]);return o.createElement(r.XZ.Consumer,null,(function(e){e||(0,u.A)(!1);var n=e.history,r=f(p(d,e.location),e.location),s=r?n.createHref(r):"",g=(0,l.A)({},b,{href:s,navigate:function(){var t=p(d,e.location),r=(0,i.AO)(e.location)===(0,i.AO)(f(t));(c||r?n.replace:n.push)(t)}});return m!==h?g.ref=t||y:g.innerRef=y,o.createElement(a,g)}))})),b=function(e){return e},v=o.forwardRef;void 0===v&&(v=b);var w=v((function(e,t){var n=e["aria-current"],a=void 0===n?"page":n,i=e.activeClassName,c=void 0===i?"active":i,d=e.activeStyle,m=e.className,h=e.exact,g=e.isActive,w=e.location,k=e.sensitive,x=e.strict,S=e.style,E=e.to,C=e.innerRef,T=(0,s.A)(e,["aria-current","activeClassName","activeStyle","className","exact","isActive","location","sensitive","strict","style","to","innerRef"]);return o.createElement(r.XZ.Consumer,null,(function(e){e||(0,u.A)(!1);var n=w||e.location,i=f(p(E,n),n),s=i.pathname,A=s&&s.replace(/([.+*?=^!:${}()[\]|/\\])/g,"\\$1"),_=A?(0,r.B6)(n.pathname,{path:A,exact:h,sensitive:k,strict:x}):null,j=!!(g?g(_,n):_),R="function"==typeof m?m(j):m,L="function"==typeof S?S(j):S;j&&(R=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return t.filter((function(e){return e})).join(" ")}(R,c),L=(0,l.A)({},L,d));var N=(0,l.A)({"aria-current":j&&a||null,className:R,style:L,to:i},T);return b!==v?N.ref=t||C:N.innerRef=C,o.createElement(y,N)}))}))},6347:(e,t,n)=>{"use strict";n.d(t,{B6:()=>S,Ix:()=>v,W6:()=>N,XZ:()=>b,dO:()=>R,qh:()=>E,zy:()=>P});var r=n(2892),a=n(6540),o=n(5556),i=n.n(o),l=n(1513),s=n(1561),u=n(8168),c=n(8505),d=n.n(c),p=(n(4363),n(8587)),f=(n(4146),1073741823),m="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:void 0!==n.g?n.g:{};var h=a.createContext||function(e,t){var n,o,l="__create-react-context-"+function(){var e="__global_unique_id__";return m[e]=(m[e]||0)+1}()+"__",s=function(e){function n(){for(var t,n,r,a=arguments.length,o=new Array(a),i=0;i<a;i++)o[i]=arguments[i];return(t=e.call.apply(e,[this].concat(o))||this).emitter=(n=t.props.value,r=[],{on:function(e){r.push(e)},off:function(e){r=r.filter((function(t){return t!==e}))},get:function(){return n},set:function(e,t){n=e,r.forEach((function(e){return e(n,t)}))}}),t}(0,r.A)(n,e);var a=n.prototype;return a.getChildContext=function(){var e;return(e={})[l]=this.emitter,e},a.componentWillReceiveProps=function(e){if(this.props.value!==e.value){var n,r=this.props.value,a=e.value;((o=r)===(i=a)?0!==o||1/o==1/i:o!=o&&i!=i)?n=0:(n="function"==typeof t?t(r,a):f,0!==(n|=0)&&this.emitter.set(e.value,n))}var o,i},a.render=function(){return this.props.children},n}(a.Component);s.childContextTypes=((n={})[l]=i().object.isRequired,n);var u=function(t){function n(){for(var e,n=arguments.length,r=new Array(n),a=0;a<n;a++)r[a]=arguments[a];return(e=t.call.apply(t,[this].concat(r))||this).observedBits=void 0,e.state={value:e.getValue()},e.onUpdate=function(t,n){(0|e.observedBits)&n&&e.setState({value:e.getValue()})},e}(0,r.A)(n,t);var a=n.prototype;return a.componentWillReceiveProps=function(e){var t=e.observedBits;this.observedBits=null==t?f:t},a.componentDidMount=function(){this.context[l]&&this.context[l].on(this.onUpdate);var e=this.props.observedBits;this.observedBits=null==e?f:e},a.componentWillUnmount=function(){this.context[l]&&this.context[l].off(this.onUpdate)},a.getValue=function(){return this.context[l]?this.context[l].get():e},a.render=function(){return(e=this.props.children,Array.isArray(e)?e[0]:e)(this.state.value);var e},n}(a.Component);return u.contextTypes=((o={})[l]=i().object,o),{Provider:s,Consumer:u}},g=function(e){var t=h();return t.displayName=e,t},y=g("Router-History"),b=g("Router"),v=function(e){function t(t){var n;return(n=e.call(this,t)||this).state={location:t.history.location},n._isMounted=!1,n._pendingLocation=null,t.staticContext||(n.unlisten=t.history.listen((function(e){n._pendingLocation=e}))),n}(0,r.A)(t,e),t.computeRootMatch=function(e){return{path:"/",url:"/",params:{},isExact:"/"===e}};var n=t.prototype;return n.componentDidMount=function(){var e=this;this._isMounted=!0,this.unlisten&&this.unlisten(),this.props.staticContext||(this.unlisten=this.props.history.listen((function(t){e._isMounted&&e.setState({location:t})}))),this._pendingLocation&&this.setState({location:this._pendingLocation})},n.componentWillUnmount=function(){this.unlisten&&(this.unlisten(),this._isMounted=!1,this._pendingLocation=null)},n.render=function(){return a.createElement(b.Provider,{value:{history:this.props.history,location:this.state.location,match:t.computeRootMatch(this.state.location.pathname),staticContext:this.props.staticContext}},a.createElement(y.Provider,{children:this.props.children||null,value:this.props.history}))},t}(a.Component);a.Component;a.Component;var w={},k=1e4,x=0;function S(e,t){void 0===t&&(t={}),("string"==typeof t||Array.isArray(t))&&(t={path:t});var n=t,r=n.path,a=n.exact,o=void 0!==a&&a,i=n.strict,l=void 0!==i&&i,s=n.sensitive,u=void 0!==s&&s;return[].concat(r).reduce((function(t,n){if(!n&&""!==n)return null;if(t)return t;var r=function(e,t){var n=""+t.end+t.strict+t.sensitive,r=w[n]||(w[n]={});if(r[e])return r[e];var a=[],o={regexp:d()(e,a,t),keys:a};return x<k&&(r[e]=o,x++),o}(n,{end:o,strict:l,sensitive:u}),a=r.regexp,i=r.keys,s=a.exec(e);if(!s)return null;var c=s[0],p=s.slice(1),f=e===c;return o&&!f?null:{path:n,url:"/"===n&&""===c?"/":c,isExact:f,params:i.reduce((function(e,t,n){return e[t.name]=p[n],e}),{})}}),null)}var E=function(e){function t(){return e.apply(this,arguments)||this}return(0,r.A)(t,e),t.prototype.render=function(){var e=this;return a.createElement(b.Consumer,null,(function(t){t||(0,s.A)(!1);var n=e.props.location||t.location,r=e.props.computedMatch?e.props.computedMatch:e.props.path?S(n.pathname,e.props):t.match,o=(0,u.A)({},t,{location:n,match:r}),i=e.props,l=i.children,c=i.component,d=i.render;return Array.isArray(l)&&function(e){return 0===a.Children.count(e)}(l)&&(l=null),a.createElement(b.Provider,{value:o},o.match?l?"function"==typeof l?l(o):l:c?a.createElement(c,o):d?d(o):null:"function"==typeof l?l(o):null)}))},t}(a.Component);function C(e){return"/"===e.charAt(0)?e:"/"+e}function T(e,t){if(!e)return t;var n=C(e);return 0!==t.pathname.indexOf(n)?t:(0,u.A)({},t,{pathname:t.pathname.substr(n.length)})}function A(e){return"string"==typeof e?e:(0,l.AO)(e)}function _(e){return function(){(0,s.A)(!1)}}function j(){}a.Component;var R=function(e){function t(){return e.apply(this,arguments)||this}return(0,r.A)(t,e),t.prototype.render=function(){var e=this;return a.createElement(b.Consumer,null,(function(t){t||(0,s.A)(!1);var n,r,o=e.props.location||t.location;return a.Children.forEach(e.props.children,(function(e){if(null==r&&a.isValidElement(e)){n=e;var i=e.props.path||e.props.from;r=i?S(o.pathname,(0,u.A)({},e.props,{path:i})):t.match}})),r?a.cloneElement(n,{location:o,computedMatch:r}):null}))},t}(a.Component);var L=a.useContext;function N(){return L(y)}function P(){return L(b).location}},8505:(e,t,n)=>{var r=n(4634);e.exports=f,e.exports.parse=o,e.exports.compile=function(e,t){return l(o(e,t),t)},e.exports.tokensToFunction=l,e.exports.tokensToRegExp=p;var a=new RegExp(["(\\\\.)","([\\/.])?(?:(?:\\:(\\w+)(?:\\(((?:\\\\.|[^\\\\()])+)\\))?|\\(((?:\\\\.|[^\\\\()])+)\\))([+*?])?|(\\*))"].join("|"),"g");function o(e,t){for(var n,r=[],o=0,i=0,l="",c=t&&t.delimiter||"/";null!=(n=a.exec(e));){var d=n[0],p=n[1],f=n.index;if(l+=e.slice(i,f),i=f+d.length,p)l+=p[1];else{var m=e[i],h=n[2],g=n[3],y=n[4],b=n[5],v=n[6],w=n[7];l&&(r.push(l),l="");var k=null!=h&&null!=m&&m!==h,x="+"===v||"*"===v,S="?"===v||"*"===v,E=n[2]||c,C=y||b;r.push({name:g||o++,prefix:h||"",delimiter:E,optional:S,repeat:x,partial:k,asterisk:!!w,pattern:C?u(C):w?".*":"[^"+s(E)+"]+?"})}}return i<e.length&&(l+=e.substr(i)),l&&r.push(l),r}function i(e){return encodeURI(e).replace(/[\/?#]/g,(function(e){return"%"+e.charCodeAt(0).toString(16).toUpperCase()}))}function l(e,t){for(var n=new Array(e.length),a=0;a<e.length;a++)"object"==typeof e[a]&&(n[a]=new RegExp("^(?:"+e[a].pattern+")$",d(t)));return function(t,a){for(var o="",l=t||{},s=(a||{}).pretty?i:encodeURIComponent,u=0;u<e.length;u++){var c=e[u];if("string"!=typeof c){var d,p=l[c.name];if(null==p){if(c.optional){c.partial&&(o+=c.prefix);continue}throw new TypeError('Expected "'+c.name+'" to be defined')}if(r(p)){if(!c.repeat)throw new TypeError('Expected "'+c.name+'" to not repeat, but received `'+JSON.stringify(p)+"`");if(0===p.length){if(c.optional)continue;throw new TypeError('Expected "'+c.name+'" to not be empty')}for(var f=0;f<p.length;f++){if(d=s(p[f]),!n[u].test(d))throw new TypeError('Expected all "'+c.name+'" to match "'+c.pattern+'", but received `'+JSON.stringify(d)+"`");o+=(0===f?c.prefix:c.delimiter)+d}}else{if(d=c.asterisk?encodeURI(p).replace(/[?#]/g,(function(e){return"%"+e.charCodeAt(0).toString(16).toUpperCase()})):s(p),!n[u].test(d))throw new TypeError('Expected "'+c.name+'" to match "'+c.pattern+'", but received "'+d+'"');o+=c.prefix+d}}else o+=c}return o}}function s(e){return e.replace(/([.+*?=^!:${}()[\]|\/\\])/g,"\\$1")}function u(e){return e.replace(/([=!:$\/()])/g,"\\$1")}function c(e,t){return e.keys=t,e}function d(e){return e&&e.sensitive?"":"i"}function p(e,t,n){r(t)||(n=t||n,t=[]);for(var a=(n=n||{}).strict,o=!1!==n.end,i="",l=0;l<e.length;l++){var u=e[l];if("string"==typeof u)i+=s(u);else{var p=s(u.prefix),f="(?:"+u.pattern+")";t.push(u),u.repeat&&(f+="(?:"+p+f+")*"),i+=f=u.optional?u.partial?p+"("+f+")?":"(?:"+p+"("+f+"))?":p+"("+f+")"}}var m=s(n.delimiter||"/"),h=i.slice(-m.length)===m;return a||(i=(h?i.slice(0,-m.length):i)+"(?:"+m+"(?=$))?"),i+=o?"$":a&&h?"":"(?="+m+"|$)",c(new RegExp("^"+i,d(n)),t)}function f(e,t,n){return r(t)||(n=t||n,t=[]),n=n||{},e instanceof RegExp?function(e,t){var n=e.source.match(/\((?!\?)/g);if(n)for(var r=0;r<n.length;r++)t.push({name:r,prefix:null,delimiter:null,optional:!1,repeat:!1,partial:!1,asterisk:!1,pattern:null});return c(e,t)}(e,t):r(e)?function(e,t,n){for(var r=[],a=0;a<e.length;a++)r.push(f(e[a],t,n).source);return c(new RegExp("(?:"+r.join("|")+")",d(n)),t)}(e,t,n):function(e,t,n){return p(o(e,n),t,n)}(e,t,n)}},1020:(e,t,n)=>{"use strict";var r=n(6540),a=Symbol.for("react.element"),o=Symbol.for("react.fragment"),i=Object.prototype.hasOwnProperty,l=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,s={key:!0,ref:!0,__self:!0,__source:!0};function u(e,t,n){var r,o={},u=null,c=null;for(r in void 0!==n&&(u=""+n),void 0!==t.key&&(u=""+t.key),void 0!==t.ref&&(c=t.ref),t)i.call(t,r)&&!s.hasOwnProperty(r)&&(o[r]=t[r]);if(e&&e.defaultProps)for(r in t=e.defaultProps)void 0===o[r]&&(o[r]=t[r]);return{$$typeof:a,type:e,key:u,ref:c,props:o,_owner:l.current}}t.Fragment=o,t.jsx=u,t.jsxs=u},5287:(e,t)=>{"use strict";var n=Symbol.for("react.element"),r=Symbol.for("react.portal"),a=Symbol.for("react.fragment"),o=Symbol.for("react.strict_mode"),i=Symbol.for("react.profiler"),l=Symbol.for("react.provider"),s=Symbol.for("react.context"),u=Symbol.for("react.forward_ref"),c=Symbol.for("react.suspense"),d=Symbol.for("react.memo"),p=Symbol.for("react.lazy"),f=Symbol.iterator;var m={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},h=Object.assign,g={};function y(e,t,n){this.props=e,this.context=t,this.refs=g,this.updater=n||m}function b(){}function v(e,t,n){this.props=e,this.context=t,this.refs=g,this.updater=n||m}y.prototype.isReactComponent={},y.prototype.setState=function(e,t){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,t,"setState")},y.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")},b.prototype=y.prototype;var w=v.prototype=new b;w.constructor=v,h(w,y.prototype),w.isPureReactComponent=!0;var k=Array.isArray,x=Object.prototype.hasOwnProperty,S={current:null},E={key:!0,ref:!0,__self:!0,__source:!0};function C(e,t,r){var a,o={},i=null,l=null;if(null!=t)for(a in void 0!==t.ref&&(l=t.ref),void 0!==t.key&&(i=""+t.key),t)x.call(t,a)&&!E.hasOwnProperty(a)&&(o[a]=t[a]);var s=arguments.length-2;if(1===s)o.children=r;else if(1<s){for(var u=Array(s),c=0;c<s;c++)u[c]=arguments[c+2];o.children=u}if(e&&e.defaultProps)for(a in s=e.defaultProps)void 0===o[a]&&(o[a]=s[a]);return{$$typeof:n,type:e,key:i,ref:l,props:o,_owner:S.current}}function T(e){return"object"==typeof e&&null!==e&&e.$$typeof===n}var A=/\/+/g;function _(e,t){return"object"==typeof e&&null!==e&&null!=e.key?function(e){var t={"=":"=0",":":"=2"};return"$"+e.replace(/[=:]/g,(function(e){return t[e]}))}(""+e.key):t.toString(36)}function j(e,t,a,o,i){var l=typeof e;"undefined"!==l&&"boolean"!==l||(e=null);var s=!1;if(null===e)s=!0;else switch(l){case"string":case"number":s=!0;break;case"object":switch(e.$$typeof){case n:case r:s=!0}}if(s)return i=i(s=e),e=""===o?"."+_(s,0):o,k(i)?(a="",null!=e&&(a=e.replace(A,"$&/")+"/"),j(i,t,a,"",(function(e){return e}))):null!=i&&(T(i)&&(i=function(e,t){return{$$typeof:n,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}(i,a+(!i.key||s&&s.key===i.key?"":(""+i.key).replace(A,"$&/")+"/")+e)),t.push(i)),1;if(s=0,o=""===o?".":o+":",k(e))for(var u=0;u<e.length;u++){var c=o+_(l=e[u],u);s+=j(l,t,a,c,i)}else if(c=function(e){return null===e||"object"!=typeof e?null:"function"==typeof(e=f&&e[f]||e["@@iterator"])?e:null}(e),"function"==typeof c)for(e=c.call(e),u=0;!(l=e.next()).done;)s+=j(l=l.value,t,a,c=o+_(l,u++),i);else if("object"===l)throw t=String(e),Error("Objects are not valid as a React child (found: "+("[object Object]"===t?"object with keys {"+Object.keys(e).join(", ")+"}":t)+"). If you meant to render a collection of children, use an array instead.");return s}function R(e,t,n){if(null==e)return e;var r=[],a=0;return j(e,r,"","",(function(e){return t.call(n,e,a++)})),r}function L(e){if(-1===e._status){var t=e._result;(t=t()).then((function(t){0!==e._status&&-1!==e._status||(e._status=1,e._result=t)}),(function(t){0!==e._status&&-1!==e._status||(e._status=2,e._result=t)})),-1===e._status&&(e._status=0,e._result=t)}if(1===e._status)return e._result.default;throw e._result}var N={current:null},P={transition:null},O={ReactCurrentDispatcher:N,ReactCurrentBatchConfig:P,ReactCurrentOwner:S};function D(){throw Error("act(...) is not supported in production builds of React.")}t.Children={map:R,forEach:function(e,t,n){R(e,(function(){t.apply(this,arguments)}),n)},count:function(e){var t=0;return R(e,(function(){t++})),t},toArray:function(e){return R(e,(function(e){return e}))||[]},only:function(e){if(!T(e))throw Error("React.Children.only expected to receive a single React element child.");return e}},t.Component=y,t.Fragment=a,t.Profiler=i,t.PureComponent=v,t.StrictMode=o,t.Suspense=c,t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=O,t.act=D,t.cloneElement=function(e,t,r){if(null==e)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+e+".");var a=h({},e.props),o=e.key,i=e.ref,l=e._owner;if(null!=t){if(void 0!==t.ref&&(i=t.ref,l=S.current),void 0!==t.key&&(o=""+t.key),e.type&&e.type.defaultProps)var s=e.type.defaultProps;for(u in t)x.call(t,u)&&!E.hasOwnProperty(u)&&(a[u]=void 0===t[u]&&void 0!==s?s[u]:t[u])}var u=arguments.length-2;if(1===u)a.children=r;else if(1<u){s=Array(u);for(var c=0;c<u;c++)s[c]=arguments[c+2];a.children=s}return{$$typeof:n,type:e.type,key:o,ref:i,props:a,_owner:l}},t.createContext=function(e){return(e={$$typeof:s,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null}).Provider={$$typeof:l,_context:e},e.Consumer=e},t.createElement=C,t.createFactory=function(e){var t=C.bind(null,e);return t.type=e,t},t.createRef=function(){return{current:null}},t.forwardRef=function(e){return{$$typeof:u,render:e}},t.isValidElement=T,t.lazy=function(e){return{$$typeof:p,_payload:{_status:-1,_result:e},_init:L}},t.memo=function(e,t){return{$$typeof:d,type:e,compare:void 0===t?null:t}},t.startTransition=function(e){var t=P.transition;P.transition={};try{e()}finally{P.transition=t}},t.unstable_act=D,t.useCallback=function(e,t){return N.current.useCallback(e,t)},t.useContext=function(e){return N.current.useContext(e)},t.useDebugValue=function(){},t.useDeferredValue=function(e){return N.current.useDeferredValue(e)},t.useEffect=function(e,t){return N.current.useEffect(e,t)},t.useId=function(){return N.current.useId()},t.useImperativeHandle=function(e,t,n){return N.current.useImperativeHandle(e,t,n)},t.useInsertionEffect=function(e,t){return N.current.useInsertionEffect(e,t)},t.useLayoutEffect=function(e,t){return N.current.useLayoutEffect(e,t)},t.useMemo=function(e,t){return N.current.useMemo(e,t)},t.useReducer=function(e,t,n){return N.current.useReducer(e,t,n)},t.useRef=function(e){return N.current.useRef(e)},t.useState=function(e){return N.current.useState(e)},t.useSyncExternalStore=function(e,t,n){return N.current.useSyncExternalStore(e,t,n)},t.useTransition=function(){return N.current.useTransition()},t.version="18.3.1"},6540:(e,t,n)=>{"use strict";e.exports=n(5287)},4848:(e,t,n)=>{"use strict";e.exports=n(1020)},7463:(e,t)=>{"use strict";function n(e,t){var n=e.length;e.push(t);e:for(;0<n;){var r=n-1>>>1,a=e[r];if(!(0<o(a,t)))break e;e[r]=t,e[n]=a,n=r}}function r(e){return 0===e.length?null:e[0]}function a(e){if(0===e.length)return null;var t=e[0],n=e.pop();if(n!==t){e[0]=n;e:for(var r=0,a=e.length,i=a>>>1;r<i;){var l=2*(r+1)-1,s=e[l],u=l+1,c=e[u];if(0>o(s,n))u<a&&0>o(c,s)?(e[r]=c,e[u]=n,r=u):(e[r]=s,e[l]=n,r=l);else{if(!(u<a&&0>o(c,n)))break e;e[r]=c,e[u]=n,r=u}}}return t}function o(e,t){var n=e.sortIndex-t.sortIndex;return 0!==n?n:e.id-t.id}if("object"==typeof performance&&"function"==typeof performance.now){var i=performance;t.unstable_now=function(){return i.now()}}else{var l=Date,s=l.now();t.unstable_now=function(){return l.now()-s}}var u=[],c=[],d=1,p=null,f=3,m=!1,h=!1,g=!1,y="function"==typeof setTimeout?setTimeout:null,b="function"==typeof clearTimeout?clearTimeout:null,v="undefined"!=typeof setImmediate?setImmediate:null;function w(e){for(var t=r(c);null!==t;){if(null===t.callback)a(c);else{if(!(t.startTime<=e))break;a(c),t.sortIndex=t.expirationTime,n(u,t)}t=r(c)}}function k(e){if(g=!1,w(e),!h)if(null!==r(u))h=!0,P(x);else{var t=r(c);null!==t&&O(k,t.startTime-e)}}function x(e,n){h=!1,g&&(g=!1,b(T),T=-1),m=!0;var o=f;try{for(w(n),p=r(u);null!==p&&(!(p.expirationTime>n)||e&&!j());){var i=p.callback;if("function"==typeof i){p.callback=null,f=p.priorityLevel;var l=i(p.expirationTime<=n);n=t.unstable_now(),"function"==typeof l?p.callback=l:p===r(u)&&a(u),w(n)}else a(u);p=r(u)}if(null!==p)var s=!0;else{var d=r(c);null!==d&&O(k,d.startTime-n),s=!1}return s}finally{p=null,f=o,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,T=-1,A=5,_=-1;function j(){return!(t.unstable_now()-_<A)}function R(){if(null!==C){var e=t.unstable_now();_=e;var n=!0;try{n=C(!0,e)}finally{n?S():(E=!1,C=null)}}else E=!1}if("function"==typeof v)S=function(){v(R)};else if("undefined"!=typeof MessageChannel){var L=new MessageChannel,N=L.port2;L.port1.onmessage=R,S=function(){N.postMessage(null)}}else S=function(){y(R,0)};function P(e){C=e,E||(E=!0,S())}function O(e,n){T=y((function(){e(t.unstable_now())}),n)}t.unstable_IdlePriority=5,t.unstable_ImmediatePriority=1,t.unstable_LowPriority=4,t.unstable_NormalPriority=3,t.unstable_Profiling=null,t.unstable_UserBlockingPriority=2,t.unstable_cancelCallback=function(e){e.callback=null},t.unstable_continueExecution=function(){h||m||(h=!0,P(x))},t.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"):A=0<e?Math.floor(1e3/e):5},t.unstable_getCurrentPriorityLevel=function(){return f},t.unstable_getFirstCallbackNode=function(){return r(u)},t.unstable_next=function(e){switch(f){case 1:case 2:case 3:var t=3;break;default:t=f}var n=f;f=t;try{return e()}finally{f=n}},t.unstable_pauseExecution=function(){},t.unstable_requestPaint=function(){},t.unstable_runWithPriority=function(e,t){switch(e){case 1:case 2:case 3:case 4:case 5:break;default:e=3}var n=f;f=e;try{return t()}finally{f=n}},t.unstable_scheduleCallback=function(e,a,o){var i=t.unstable_now();switch("object"==typeof o&&null!==o?o="number"==typeof(o=o.delay)&&0<o?i+o:i:o=i,e){case 1:var l=-1;break;case 2:l=250;break;case 5:l=1073741823;break;case 4:l=1e4;break;default:l=5e3}return e={id:d++,callback:a,priorityLevel:e,startTime:o,expirationTime:l=o+l,sortIndex:-1},o>i?(e.sortIndex=o,n(c,e),null===r(u)&&e===r(c)&&(g?(b(T),T=-1):g=!0,O(k,o-i))):(e.sortIndex=l,n(u,e),h||m||(h=!0,P(x))),e},t.unstable_shouldYield=j,t.unstable_wrapCallback=function(e){var t=f;return function(){var n=f;f=t;try{return e.apply(this,arguments)}finally{f=n}}}},9982:(e,t,n)=>{"use strict";e.exports=n(7463)},2833:e=>{e.exports=function(e,t,n,r){var a=n?n.call(r,e,t):void 0;if(void 0!==a)return!!a;if(e===t)return!0;if("object"!=typeof e||!e||"object"!=typeof t||!t)return!1;var o=Object.keys(e),i=Object.keys(t);if(o.length!==i.length)return!1;for(var l=Object.prototype.hasOwnProperty.bind(t),s=0;s<o.length;s++){var u=o[s];if(!l(u))return!1;var c=e[u],d=t[u];if(!1===(a=n?n.call(r,c,d,u):void 0)||void 0===a&&c!==d)return!1}return!0}},4784:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>r});const r={title:"Cala",tagline:"a powerful open source core banking ledger",favicon:"img/favicon.ico",url:"https://cala.sh",baseUrl:"/",organizationName:"GaloyMoney",projectName:"cala",onBrokenLinks:"throw",onBrokenMarkdownLinks:"throw",i18n:{defaultLocale:"en",locales:["en"],path:"i18n",localeConfigs:{}},presets:[["classic",{docs:{sidebarPath:"./sidebars.ts",routeBasePath:"/"},theme:{customCss:"./src/css/custom.css"},gtag:{trackingID:"G-CSZCYN1TG7",anonymizeIP:!0}}]],themeConfig:{image:"img/galoy.png",navbar:{title:"Cala",logo:{alt:"Cala Logo",src:"img/logo.svg"},items:[{type:"docSidebar",sidebarId:"demoSidebar",position:"left",label:"Docs"},{type:"docSidebar",sidebarId:"accountingSidebar",position:"left",label:"Accounting Intro"},{href:"https://cala.sh/api-reference.html",label:"API Reference",position:"left"},{href:"https://docs.rs/cala-ledger/latest/cala_ledger/",label:"Rust crate docs",position:"left"},{href:"https://github.com/GaloyMoney/cala",label:"GitHub",position:"right"}],hideOnScroll:!1},footer:{style:"dark",links:[{title:"Docs",items:[{label:"Try Cala",to:"/docs"},{label:"GraphQL API demo",to:"/docs/create-journal-and-accounts"}]},{title:"Community",items:[{label:"Mattermost",href:"https://chat.galoy.io"},{label:"X / Twitter",href:"https://x.com/GaloyMoney"}]},{title:"More",items:[{label:"GitHub",href:"https://github.com/GaloyMoney"},{label:"Docs.rs",href:"https://docs.rs/cala-ledger/latest/cala_ledger"}]}],copyright:"Copyright \xa9 2024 Galoy Inc."},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:[],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},liveCodeBlock:{playgroundPosition:"bottom"},algolia:{appId:"O0AKBHZC9K",apiKey:"470bd6518378e8367534ce5d7ddf767b",indexName:"cala",contextualSearch:!1,externalUrlRegex:"cala\\.sh/api-reference\\.html",searchParameters:{},searchPagePath:"search"},docs:{versionPersistence:"localStorage",sidebar:{hideable:!1,autoCollapseCategories:!1}},metadata:[],tableOfContents:{minHeadingLevel:2,maxHeadingLevel:3},mermaid:{theme:{dark:"dark",light:"default"},options:{}}},markdown:{mermaid:!0,format:"mdx",mdx1Compat:{comments:!0,admonitions:!0,headingIds:!0},anchors:{maintainCase:!1}},themes:["@docusaurus/theme-live-codeblock","@docusaurus/theme-mermaid"],baseUrlIssueBanner:!0,future:{experimental_storage:{type:"localStorage",namespace:!1},experimental_router:"browser"},onBrokenAnchors:"warn",onDuplicateRoutes:"warn",staticDirectories:["static"],customFields:{},plugins:[],scripts:[],headTags:[],stylesheets:[],clientModules:[],titleDelimiter:"|",noIndex:!1}},8168:(e,t,n)=>{"use strict";function r(){return r=Object.assign?Object.assign.bind():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},r.apply(this,arguments)}n.d(t,{A:()=>r})},2892:(e,t,n)=>{"use strict";function r(e,t){return r=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},r(e,t)}function a(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,r(e,t)}n.d(t,{A:()=>a})},8587:(e,t,n)=>{"use strict";function r(e,t){if(null==e)return{};var n={};for(var r in e)if(Object.prototype.hasOwnProperty.call(e,r)){if(t.indexOf(r)>=0)continue;n[r]=e[r]}return n}n.d(t,{A:()=>r})},4164:(e,t,n)=>{"use strict";function r(e){var t,n,a="";if("string"==typeof e||"number"==typeof e)a+=e;else if("object"==typeof e)if(Array.isArray(e)){var o=e.length;for(t=0;t<o;t++)e[t]&&(n=r(e[t]))&&(a&&(a+=" "),a+=n)}else for(n in e)e[n]&&(a&&(a+=" "),a+=n);return a}n.d(t,{A:()=>a});const a=function(){for(var e,t,n=0,a="",o=arguments.length;n<o;n++)(e=arguments[n])&&(t=r(e))&&(a&&(a+=" "),a+=t);return a}},1765:(e,t,n)=>{"use strict";n.d(t,{My:()=>A,Zj:()=>_,f4:()=>te});var r,a,o,i,l,s,u,c=n(6540),d=n(4164),p=Object.create,f=Object.defineProperty,m=Object.defineProperties,h=Object.getOwnPropertyDescriptor,g=Object.getOwnPropertyDescriptors,y=Object.getOwnPropertyNames,b=Object.getOwnPropertySymbols,v=Object.getPrototypeOf,w=Object.prototype.hasOwnProperty,k=Object.prototype.propertyIsEnumerable,x=(e,t,n)=>t in e?f(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,S=(e,t)=>{for(var n in t||(t={}))w.call(t,n)&&x(e,n,t[n]);if(b)for(var n of b(t))k.call(t,n)&&x(e,n,t[n]);return e},E=(e,t)=>m(e,g(t)),C=(e,t)=>{var n={};for(var r in e)w.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&b)for(var r of b(e))t.indexOf(r)<0&&k.call(e,r)&&(n[r]=e[r]);return n},T=(r={"../../node_modules/.pnpm/prismjs@1.29.0_patch_hash=vrxx3pzkik6jpmgpayxfjunetu/node_modules/prismjs/prism.js"(e,t){var n=function(){var e=/(?:^|\s)lang(?:uage)?-([\w-]+)(?=\s|$)/i,t=0,n={},r={util:{encode:function e(t){return t instanceof a?new a(t.type,e(t.content),t.alias):Array.isArray(t)?t.map(e):t.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:++t}),e.__id},clone:function e(t,n){var a,o;switch(n=n||{},r.util.type(t)){case"Object":if(o=r.util.objId(t),n[o])return n[o];for(var i in a={},n[o]=a,t)t.hasOwnProperty(i)&&(a[i]=e(t[i],n));return a;case"Array":return o=r.util.objId(t),n[o]?n[o]:(a=[],n[o]=a,t.forEach((function(t,r){a[r]=e(t,n)})),a);default:return t}},getLanguage:function(t){for(;t;){var n=e.exec(t.className);if(n)return n[1].toLowerCase();t=t.parentElement}return"none"},setLanguage:function(t,n){t.className=t.className.replace(RegExp(e,"gi"),""),t.classList.add("language-"+n)},isActive:function(e,t,n){for(var r="no-"+t;e;){var a=e.classList;if(a.contains(t))return!0;if(a.contains(r))return!1;e=e.parentElement}return!!n}},languages:{plain:n,plaintext:n,text:n,txt:n,extend:function(e,t){var n=r.util.clone(r.languages[e]);for(var a in t)n[a]=t[a];return n},insertBefore:function(e,t,n,a){var o=(a=a||r.languages)[e],i={};for(var l in o)if(o.hasOwnProperty(l)){if(l==t)for(var s in n)n.hasOwnProperty(s)&&(i[s]=n[s]);n.hasOwnProperty(l)||(i[l]=o[l])}var u=a[e];return a[e]=i,r.languages.DFS(r.languages,(function(t,n){n===u&&t!=e&&(this[t]=i)})),i},DFS:function e(t,n,a,o){o=o||{};var i=r.util.objId;for(var l in t)if(t.hasOwnProperty(l)){n.call(t,l,t[l],a||l);var s=t[l],u=r.util.type(s);"Object"!==u||o[i(s)]?"Array"!==u||o[i(s)]||(o[i(s)]=!0,e(s,n,l,o)):(o[i(s)]=!0,e(s,n,null,o))}}},plugins:{},highlight:function(e,t,n){var o={code:e,grammar:t,language:n};if(r.hooks.run("before-tokenize",o),!o.grammar)throw new Error('The language "'+o.language+'" has no grammar.');return o.tokens=r.tokenize(o.code,o.grammar),r.hooks.run("after-tokenize",o),a.stringify(r.util.encode(o.tokens),o.language)},tokenize:function(e,t){var n=t.rest;if(n){for(var r in n)t[r]=n[r];delete t.rest}var a=new l;return s(a,a.head,e),i(e,a,t,a.head,0),function(e){for(var t=[],n=e.head.next;n!==e.tail;)t.push(n.value),n=n.next;return t}(a)},hooks:{all:{},add:function(e,t){var n=r.hooks.all;n[e]=n[e]||[],n[e].push(t)},run:function(e,t){var n=r.hooks.all[e];if(n&&n.length)for(var a,o=0;a=n[o++];)a(t)}},Token:a};function a(e,t,n,r){this.type=e,this.content=t,this.alias=n,this.length=0|(r||"").length}function o(e,t,n,r){e.lastIndex=t;var a=e.exec(n);if(a&&r&&a[1]){var o=a[1].length;a.index+=o,a[0]=a[0].slice(o)}return a}function i(e,t,n,l,c,d){for(var p in n)if(n.hasOwnProperty(p)&&n[p]){var f=n[p];f=Array.isArray(f)?f:[f];for(var m=0;m<f.length;++m){if(d&&d.cause==p+","+m)return;var h=f[m],g=h.inside,y=!!h.lookbehind,b=!!h.greedy,v=h.alias;if(b&&!h.pattern.global){var w=h.pattern.toString().match(/[imsuy]*$/)[0];h.pattern=RegExp(h.pattern.source,w+"g")}for(var k=h.pattern||h,x=l.next,S=c;x!==t.tail&&!(d&&S>=d.reach);S+=x.value.length,x=x.next){var E=x.value;if(t.length>e.length)return;if(!(E instanceof a)){var C,T=1;if(b){if(!(C=o(k,S,e,y))||C.index>=e.length)break;var A=C.index,_=C.index+C[0].length,j=S;for(j+=x.value.length;A>=j;)j+=(x=x.next).value.length;if(S=j-=x.value.length,x.value instanceof a)continue;for(var R=x;R!==t.tail&&(j<_||"string"==typeof R.value);R=R.next)T++,j+=R.value.length;T--,E=e.slice(S,j),C.index-=S}else if(!(C=o(k,0,E,y)))continue;A=C.index;var L=C[0],N=E.slice(0,A),P=E.slice(A+L.length),O=S+E.length;d&&O>d.reach&&(d.reach=O);var D=x.prev;if(N&&(D=s(t,D,N),S+=N.length),u(t,D,T),x=s(t,D,new a(p,g?r.tokenize(L,g):L,v,L)),P&&s(t,x,P),T>1){var I={cause:p+","+m,reach:O};i(e,t,n,x.prev,S,I),d&&I.reach>d.reach&&(d.reach=I.reach)}}}}}}function l(){var e={value:null,prev:null,next:null},t={value:null,prev:e,next:null};e.next=t,this.head=e,this.tail=t,this.length=0}function s(e,t,n){var r=t.next,a={value:n,prev:t,next:r};return t.next=a,r.prev=a,e.length++,a}function u(e,t,n){for(var r=t.next,a=0;a<n&&r!==e.tail;a++)r=r.next;t.next=r,r.prev=t,e.length-=a}return a.stringify=function e(t,n){if("string"==typeof t)return t;if(Array.isArray(t)){var a="";return t.forEach((function(t){a+=e(t,n)})),a}var o={type:t.type,content:e(t.content,n),tag:"span",classes:["token",t.type],attributes:{},language:n},i=t.alias;i&&(Array.isArray(i)?Array.prototype.push.apply(o.classes,i):o.classes.push(i)),r.hooks.run("wrap",o);var l="";for(var s in o.attributes)l+=" "+s+'="'+(o.attributes[s]||"").replace(/"/g,""")+'"';return"<"+o.tag+' class="'+o.classes.join(" ")+'"'+l+">"+o.content+"</"+o.tag+">"},r}();t.exports=n,n.default=n}},function(){return a||(0,r[y(r)[0]])((a={exports:{}}).exports,a),a.exports}),A=((e,t,n)=>(n=null!=e?p(v(e)):{},((e,t,n,r)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let a of y(t))w.call(e,a)||a===n||f(e,a,{get:()=>t[a],enumerable:!(r=h(t,a))||r.enumerable});return e})(!t&&e&&e.__esModule?n:f(n,"default",{value:e,enumerable:!0}),e)))(T());A.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]},A.languages.markup.tag.inside["attr-value"].inside.entity=A.languages.markup.entity,A.languages.markup.doctype.inside["internal-subset"].inside=A.languages.markup,A.hooks.add("wrap",(function(e){"entity"===e.type&&(e.attributes.title=e.content.replace(/&/,"&"))})),Object.defineProperty(A.languages.markup.tag,"addInlined",{value:function(e,t){var n;(t=((n=((n={})["language-"+t]={pattern:/(^<!\[CDATA\[)[\s\S]+?(?=\]\]>$)/i,lookbehind:!0,inside:A.languages[t]},n.cdata=/^<!\[CDATA\[|\]\]>$/i,{"included-cdata":{pattern:/<!\[CDATA\[[\s\S]*?\]\]>/i,inside:n}}))["language-"+t]={pattern:/[\s\S]+/,inside:A.languages[t]},{}))[e]={pattern:RegExp(/(<__[^>]*>)(?:<!\[CDATA\[(?:[^\]]|\](?!\]>))*\]\]>|(?!<!\[CDATA\[)[\s\S])*?(?=<\/__>)/.source.replace(/__/g,(function(){return e})),"i"),lookbehind:!0,greedy:!0,inside:n},A.languages.insertBefore("markup","cdata",t)}}),Object.defineProperty(A.languages.markup.tag,"addAttribute",{value:function(e,t){A.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:[t,"language-"+t],inside:A.languages[t]},punctuation:[{pattern:/^=/,alias:"attr-equals"},/"|'/]}}}})}}),A.languages.html=A.languages.markup,A.languages.mathml=A.languages.markup,A.languages.svg=A.languages.markup,A.languages.xml=A.languages.extend("markup",{}),A.languages.ssml=A.languages.xml,A.languages.atom=A.languages.xml,A.languages.rss=A.languages.xml,o=A,i={pattern:/\\[\\(){}[\]^$+*?|.]/,alias:"escape"},s="(?:[^\\\\-]|"+(l=/\\(?: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+")",s=RegExp(s+"-"+s),u={pattern:/(<|')[^<>']+(?=[>']$)/,lookbehind:!0,alias:"variable"},o.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:s,inside:{escape:l,"range-punctuation":{pattern:/-/,alias:"operator"}}},"special-escape":i,"char-set":{pattern:/\\[wsd]|\\p\{[^{}]+\}/i,alias:"class-name"},escape:l}},"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":u}}],anchor:{pattern:/[$^]|\\[ABbGZz]/,alias:"function"},escape:l,group:[{pattern:/\((?:\?(?:<[^<>']+>|'[^<>']+'|[>:]|<?[=!]|[idmnsuxU]+(?:-[idmnsuxU]+)?:?))?/,alias:"punctuation",inside:{"group-name":u}},{pattern:/\)/,alias:"punctuation"}],quantifier:{pattern:/(?:[+*?]|\{\d+(?:,\d*)?\})[?+]?/,alias:"number"},alternation:{pattern:/\|/,alias:"keyword"}},A.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:/[{}[\];(),.:]/},A.languages.javascript=A.languages.extend("clike",{"class-name":[A.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}|\?\?=?|\?\.?|[~:]/}),A.languages.javascript["class-name"][0].pattern=/(\b(?:class|extends|implements|instanceof|interface|new)\s+)[\w.\\]+/,A.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:A.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:A.languages.javascript},{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*=>)/i,lookbehind:!0,inside:A.languages.javascript},{pattern:/(\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*=>)/,lookbehind:!0,inside:A.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:A.languages.javascript}],constant:/\b[A-Z](?:[A-Z_]|\dx?)*\b/}),A.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:A.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"}}),A.languages.insertBefore("javascript","operator",{"literal-property":{pattern:/((?:^|[,{])[ \t]*)(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*:)/m,lookbehind:!0,alias:"property"}}),A.languages.markup&&(A.languages.markup.tag.addInlined("script","javascript"),A.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")),A.languages.js=A.languages.javascript,A.languages.actionscript=A.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:/\+\+|--|(?:[+\-*\/%^]|&&?|\|\|?|<<?|>>?>?|[!=]=?)=?|[~?@]/}),A.languages.actionscript["class-name"].alias="function",delete A.languages.actionscript.parameter,delete A.languages.actionscript["literal-property"],A.languages.markup&&A.languages.insertBefore("actionscript","string",{xml:{pattern:/(^|[^.])<\/?\w+(?:\s+[^\s>\/=]+=("|')(?:\\[\s\S]|(?!\2)[^\\])*\2)*\s*\/?>/,lookbehind:!0,inside:A.languages.markup}}),function(e){var t=/#(?!\{).+/,n={pattern:/#\{[^}]+\}/,alias:"variable"};e.languages.coffeescript=e.languages.extend("javascript",{comment:t,string:[{pattern:/'(?:\\[\s\S]|[^\\'])*'/,greedy:!0},{pattern:/"(?:\\[\s\S]|[^\\"])*"/,greedy:!0,inside:{interpolation:n}}],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:t,interpolation:n}}}),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:n}}]}),e.languages.insertBefore("coffeescript","keyword",{property:/(?!\d)\w+(?=\s*:(?!:))/}),delete e.languages.coffeescript["template-string"],e.languages.coffee=e.languages.coffeescript}(A),function(e){var t=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(t,"addSupport",{value:function(t,n){(t="string"==typeof t?[t]:t).forEach((function(t){var r=function(e){e.inside||(e.inside={}),e.inside.rest=n},a="doc-comment";if(o=e.languages[t]){var o,i=o[a];if((i=i||(o=e.languages.insertBefore(t,"comment",{"doc-comment":{pattern:/(^|[^\\])\/\*\*[^/][\s\S]*?(?:\*\/|$)/,lookbehind:!0,alias:"comment"}}))[a])instanceof RegExp&&(i=o[a]={pattern:i}),Array.isArray(i))for(var l=0,s=i.length;l<s;l++)i[l]instanceof RegExp&&(i[l]={pattern:i[l]}),r(i[l]);else r(i)}}))}}),t.addSupport(["java","javascript","php"],t)}(A),function(e){var t=/(?:"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n])*')/;(t=(e.languages.css={comment:/\/\*[\s\S]*?\*\//,atrule:{pattern:RegExp("@[\\w-](?:"+/[^;{\s"']|\s+(?!\s)/.source+"|"+t.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\\((?:"+t.source+"|"+/(?:[^\\\r\n()"']|\\[\s\S])*/.source+")\\)","i"),greedy:!0,inside:{function:/^url/i,punctuation:/^\(|\)$/,string:{pattern:RegExp("^"+t.source+"$"),alias:"url"}}},selector:{pattern:RegExp("(^|[{}\\s])[^{}\\s](?:[^{};\"'\\s]|\\s+(?![\\s{])|"+t.source+")*(?=\\s*\\{)"),lookbehind:!0},string:{pattern:t,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))&&(t.tag.addInlined("style","css"),t.tag.addAttribute("style","css"))}(A),function(e){var t=/("|')(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,n=(t=(e.languages.css.selector={pattern:e.languages.css.selector.pattern,lookbehind:!0,inside:t={"pseudo-element":/:(?:after|before|first-letter|first-line|selection)|::[-\w]+/,"pseudo-class":/:[-\w]+/,class:/\.[-\w]+/,id:/#[-\w]+/,attribute:{pattern:RegExp("\\[(?:[^[\\]\"']|"+t.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":[t,{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=t,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:t,number:n,function:/[\w-]+(?=\()/,punctuation:/[(),]/}}],entity:/\\[\da-f]{1,8}/i,unit:t,number:n})}(A),function(e){var t=/[*&][^\s[\]{},]+/,n=/!(?:<[\w\-%#;/?:@&=+$,.!~*'()[\]]+>|(?:[a-zA-Z\d-]*!)?[\w\-%#;/?:@&=+$.~*'()]+)?/,r="(?:"+n.source+"(?:[ \t]+"+t.source+")?|"+t.source+"(?:[ \t]+"+n.source+")?)",a=/(?:[^\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})),o=/"(?:[^"\\\r\n]|\\.)*"|'(?:[^'\\\r\n]|\\.)*'/.source;function i(e,t){t=(t||"").replace(/m/g,"")+"m";var n=/([:\-,[{]\s*(?:\s<<prop>>[ \t]+)?)(?:<<value>>)(?=[ \t]*(?:$|,|\]|\}|(?:[\r\n]\s*)?#))/.source.replace(/<<prop>>/g,(function(){return r})).replace(/<<value>>/g,(function(){return e}));return RegExp(n,t)}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"(?:"+a+"|"+o+")"}))),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(o),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:n,important:t,punctuation:/---|[:[\]{}\-,|>?]|\.\.\./},e.languages.yml=e.languages.yaml}(A),function(e){var t=/(?:\\.|[^\\\n\r]|(?:\n|\r\n?)(?![\r\n]))/.source;function n(e){return e=e.replace(/<inner>/g,(function(){return t})),RegExp(/((?:^|[^\\])(?:\\{2})*)/.source+"(?:"+e+")")}var r=/(?:\\.|``(?:[^`\r\n]|`(?!`))+``|`[^`\r\n]+`|[^\\|\r\n`])+/.source,a=/\|?__(?:\|__)+\|?(?:(?:\n|\r\n?)|(?![\s\S]))/.source.replace(/__/g,(function(){return r})),o=/\|?[ \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("^"+a+o+"(?:"+a+")*","m"),inside:{"table-data-rows":{pattern:RegExp("^("+a+o+")(?:"+a+")*$"),lookbehind:!0,inside:{"table-data":{pattern:RegExp(r),inside:e.languages.markdown},punctuation:/\|/}},"table-line":{pattern:RegExp("^("+a+")"+o+"$"),lookbehind:!0,inside:{punctuation:/\||:?-{3,}:?/}},"table-header-row":{pattern:RegExp("^"+a+"$"),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:n(/\b__(?:(?!_)<inner>|_(?:(?!_)<inner>)+_)+__\b|\*\*(?:(?!\*)<inner>|\*(?:(?!\*)<inner>)+\*)+\*\*/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^..)[\s\S]+(?=..$)/,lookbehind:!0,inside:{}},punctuation:/\*\*|__/}},italic:{pattern:n(/\b_(?:(?!_)<inner>|__(?:(?!_)<inner>)+__)+_\b|\*(?:(?!\*)<inner>|\*\*(?:(?!\*)<inner>)+\*\*)+\*/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^.)[\s\S]+(?=.$)/,lookbehind:!0,inside:{}},punctuation:/[*_]/}},strike:{pattern:n(/(~~?)(?:(?!~)<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:n(/!?\[(?:(?!\])<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(t){["url","bold","italic","strike","code-snippet"].forEach((function(n){t!==n&&(e.languages.markdown[t].inside.content.inside[n]=e.languages.markdown[n])}))})),e.hooks.add("after-tokenize",(function(e){"markdown"!==e.language&&"md"!==e.language||function e(t){if(t&&"string"!=typeof t)for(var n=0,r=t.length;n<r;n++){var a,o=t[n];"code"!==o.type?e(o.content):(a=o.content[1],o=o.content[3],a&&o&&"code-language"===a.type&&"code-block"===o.type&&"string"==typeof a.content&&(a=a.content.replace(/\b#/g,"sharp").replace(/\b\+\+/g,"pp"),a="language-"+(a=(/[a-z][\w-]*/i.exec(a)||[""])[0].toLowerCase()),o.alias?"string"==typeof o.alias?o.alias=[o.alias,a]:o.alias.push(a):o.alias=[a]))}}(e.tokens)})),e.hooks.add("wrap",(function(t){if("code-block"===t.type){for(var n="",r=0,a=t.classes.length;r<a;r++){var o=t.classes[r];if(o=/language-(.+)/.exec(o)){n=o[1];break}}var u,c=e.languages[n];c?t.content=e.highlight(t.content.replace(i,"").replace(/&(\w{1,8}|#x?[\da-f]{1,8});/gi,(function(e,t){var n;return"#"===(t=t.toLowerCase())[0]?(n="x"===t[1]?parseInt(t.slice(2),16):Number(t.slice(1)),s(n)):l[t]||e})),c,n):n&&"none"!==n&&e.plugins.autoloader&&(u="md-"+(new Date).valueOf()+"-"+Math.floor(1e16*Math.random()),t.attributes.id=u,e.plugins.autoloader.loadLanguages(n,(function(){var t=document.getElementById(u);t&&(t.innerHTML=e.highlight(t.textContent,e.languages[n],n))})))}})),RegExp(e.languages.markup.tag.pattern.source,"gi")),l={amp:"&",lt:"<",gt:">",quot:'"'},s=String.fromCodePoint||String.fromCharCode;e.languages.md=e.languages.markdown}(A),A.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:A.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+/},A.hooks.add("after-tokenize",(function(e){if("graphql"===e.language)for(var t=e.tokens.filter((function(e){return"string"!=typeof e&&"comment"!==e.type&&"scalar"!==e.type})),n=0;n<t.length;){var r=t[n++];if("keyword"===r.type&&"mutation"===r.content){var a=[];if(d(["definition-mutation","punctuation"])&&"("===c(1).content){n+=2;var o=p(/^\($/,/^\)$/);if(-1===o)continue;for(;n<o;n++){var i=c(0);"variable"===i.type&&(f(i,"variable-input"),a.push(i.content))}n=o+1}if(d(["punctuation","property-query"])&&"{"===c(0).content&&(n++,f(c(0),"property-mutation"),0<a.length)){var l=p(/^\{$/,/^\}$/);if(-1!==l)for(var s=n;s<l;s++){var u=t[s];"variable"===u.type&&0<=a.indexOf(u.content)&&f(u,"variable-input")}}}}function c(e){return t[n+e]}function d(e,t){t=t||0;for(var n=0;n<e.length;n++){var r=c(n+t);if(!r||r.type!==e[n])return}return 1}function p(e,r){for(var a=1,o=n;o<t.length;o++){var i=t[o],l=i.content;if("punctuation"===i.type&&"string"==typeof l)if(e.test(l))a++;else if(r.test(l)&&0==--a)return o}return-1}function f(e,t){var n=e.alias;n?Array.isArray(n)||(e.alias=n=[n]):e.alias=n=[],n.push(t)}})),A.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 t=e.languages.javascript["template-string"],n=t.pattern.source,r=t.inside.interpolation,a=r.inside["interpolation-punctuation"],o=r.pattern.source;function i(t,r){if(e.languages[t])return{pattern:RegExp("((?:"+r+")\\s*)"+n),lookbehind:!0,greedy:!0,inside:{"template-punctuation":{pattern:/^`|`$/,alias:"string"},"embedded-code":{pattern:/[\s\S]+/,alias:t}}}}function l(t,n,r){return t={code:t,grammar:n,language:r},e.hooks.run("before-tokenize",t),t.tokens=e.tokenize(t.code,t.grammar),e.hooks.run("after-tokenize",t),t.tokens}function s(t,n,i){var s=e.tokenize(t,{interpolation:{pattern:RegExp(o),lookbehind:!0}}),u=0,c={},d=(s=l(s.map((function(e){if("string"==typeof e)return e;var n,r;for(e=e.content;-1!==t.indexOf((r=u++,n="___"+i.toUpperCase()+"_"+r+"___")););return c[n]=e,n})).join(""),n,i),Object.keys(c));return u=0,function t(n){for(var o=0;o<n.length;o++){if(u>=d.length)return;var i,s,p,f,m,h,g,y=n[o];"string"==typeof y||"string"==typeof y.content?(i=d[u],-1!==(g=(h="string"==typeof y?y:y.content).indexOf(i))&&(++u,s=h.substring(0,g),m=c[i],p=void 0,(f={})["interpolation-punctuation"]=a,3===(f=e.tokenize(m,f)).length&&((p=[1,1]).push.apply(p,l(f[1],e.languages.javascript,"javascript")),f.splice.apply(f,p)),p=new e.Token("interpolation",f,r.alias,m),f=h.substring(g+i.length),m=[],s&&m.push(s),m.push(p),f&&(t(h=[f]),m.push.apply(m,h)),"string"==typeof y?(n.splice.apply(n,[o,1].concat(m)),o+=m.length-1):y.content=m)):(g=y.content,Array.isArray(g)?t(g):t([g]))}}(s),new e.Token(i,s,"language-"+i,t)}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),t].filter(Boolean);var u={javascript:!0,js:!0,typescript:!0,ts:!0,jsx:!0,tsx:!0};function c(e){return"string"==typeof e?e:Array.isArray(e)?e.map(c).join(""):c(e.content)}e.hooks.add("after-tokenize",(function(t){t.language in u&&function t(n){for(var r=0,a=n.length;r<a;r++){var o,i,l,u=n[r];"string"!=typeof u&&(o=u.content,Array.isArray(o)?"template-string"===u.type?(u=o[1],3===o.length&&"string"!=typeof u&&"embedded-code"===u.type&&(i=c(u),u=u.alias,u=Array.isArray(u)?u[0]:u,l=e.languages[u])&&(o[1]=s(i,l,u))):t(o):"string"!=typeof o&&t([o]))}}(t.tokens)}))}(A),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 t=e.languages.extend("typescript",{});delete t["class-name"],e.languages.typescript["class-name"].inside=t,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:t}}}}),e.languages.ts=e.languages.typescript}(A),function(e){var t=e.languages.javascript,n=/\{(?:[^{}]|\{(?:[^{}]|\{[^{}]*\})*\})+\}/.source,r="(@(?:arg|argument|param|property)\\s+(?:"+n+"\\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:t,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 n}))),lookbehind:!0,inside:{punctuation:/\./}},{pattern:RegExp("(@[a-z]+\\s+)"+n),lookbehind:!0,inside:{string:t.string,number:t.number,boolean:t.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:t,alias:"language-javascript"}}}}),e.languages.javadoclike.addSupport("javascript",e.languages.jsdoc)}(A),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})}(A),A.languages.n4js=A.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/}),A.languages.insertBefore("n4js","constant",{annotation:{pattern:/@+\w+/,alias:"operator"}}),A.languages.n4jsd=A.languages.n4js,function(e){function t(e,t){return RegExp(e.replace(/<ID>/g,(function(){return/(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*/.source})),t)}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:t(/(\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:t(/(\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:t(/(\.\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 n=["function","function-variable","method","method-variable","property-access"],r=0;r<n.length;r++){var a=n[r],o=e.languages.javascript[a];a=(o="RegExp"===e.util.type(o)?e.languages.javascript[a]={pattern:o}:o).inside||{};(o.inside=a)["maybe-class-name"]=/^[A-Z][\s\S]*/}}(A),function(e){var t=e.util.clone(e.languages.javascript),n=/(?:\s|\/\/.*(?!.)|\/\*(?:[^*]|\*(?!\/))\*\/)/.source,r=/(?:\{(?:\{(?:\{[^{}]*\}|[^{}])*\}|[^{}])*\})/.source,a=/(?:\{<S>*\.{3}(?:[^{}]|<BRACES>)*\})/.source;function o(e,t){return e=e.replace(/<S>/g,(function(){return n})).replace(/<BRACES>/g,(function(){return r})).replace(/<SPREAD>/g,(function(){return a})),RegExp(e,t)}function i(t){for(var n=[],r=0;r<t.length;r++){var a=t[r],o=!1;"string"!=typeof a&&("tag"===a.type&&a.content[0]&&"tag"===a.content[0].type?"</"===a.content[0].content[0].content?0<n.length&&n[n.length-1].tagName===l(a.content[0].content[1])&&n.pop():"/>"!==a.content[a.content.length-1].content&&n.push({tagName:l(a.content[0].content[1]),openedBraces:0}):0<n.length&&"punctuation"===a.type&&"{"===a.content?n[n.length-1].openedBraces++:0<n.length&&0<n[n.length-1].openedBraces&&"punctuation"===a.type&&"}"===a.content?n[n.length-1].openedBraces--:o=!0),(o||"string"==typeof a)&&0<n.length&&0===n[n.length-1].openedBraces&&(o=l(a),r<t.length-1&&("string"==typeof t[r+1]||"plain-text"===t[r+1].type)&&(o+=l(t[r+1]),t.splice(r+1,1)),0<r&&("string"==typeof t[r-1]||"plain-text"===t[r-1].type)&&(o=l(t[r-1])+o,t.splice(r-1,1),r--),t[r]=new e.Token("plain-text",o,null,o)),a.content&&"string"!=typeof a.content&&i(a.content)}}a=o(a).source,e.languages.jsx=e.languages.extend("markup",t),e.languages.jsx.tag.pattern=o(/<\/?(?:[\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=t.comment,e.languages.insertBefore("inside","attr-name",{spread:{pattern:o(/<SPREAD>/.source),inside:e.languages.jsx}},e.languages.jsx.tag),e.languages.insertBefore("inside","special-attr",{script:{pattern:o(/=<BRACES>/.source),alias:"language-javascript",inside:{"script-punctuation":{pattern:/^=(?=\{)/,alias:"punctuation"},rest:e.languages.jsx}}},e.languages.jsx.tag);var l=function(e){return e?"string"==typeof e?e:"string"==typeof e.content?e.content:e.content.map(l).join(""):""};e.hooks.add("after-tokenize",(function(e){"jsx"!==e.language&&"tsx"!==e.language||i(e.tokens)}))}(A),function(e){var t=e.util.clone(e.languages.typescript);(t=(e.languages.tsx=e.languages.extend("jsx",t),delete e.languages.tsx.parameter,delete e.languages.tsx["literal-property"],e.languages.tsx.tag)).pattern=RegExp(/(^|[^\w$]|(?=<\/))/.source+"(?:"+t.pattern.source+")",t.pattern.flags),t.lookbehind=!0}(A),A.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:/[{}[\]();,.:\\]/},A.languages.swift["string-literal"].forEach((function(e){e.inside.interpolation.inside=A.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 t={"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:t},string:/[\s\S]+/}},{pattern:/"(?:[^"\\\r\n$]|\\.|\$(?:(?!\{)|\{[^{}]*\}))*"/,alias:"singleline",inside:{interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$(?:[a-z_]\w*|\{[^{}]*\})/i,lookbehind:!0,inside:t},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}(A),A.languages.c=A.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|[?:~]|[-+*/%&|^!=<>]=?/}),A.languages.insertBefore("c","string",{char:{pattern:/'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n]){0,32}'/,greedy:!0}}),A.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},A.languages.c.string],char:A.languages.c.char,comment:A.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:A.languages.c}}}}),A.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 A.languages.c.boolean,A.languages.objectivec=A.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 A.languages.objectivec["class-name"],A.languages.objc=A.languages.objectivec,A.languages.reason=A.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/}),A.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 A.languages.reason.function,function(e){for(var t=/\/\*(?:[^*/]|\*(?!\/)|\/(?!\*)|<self>)*\*\//.source,n=0;n<2;n++)t=t.replace(/<self>/g,(function(){return t}));t=t.replace(/<self>/g,(function(){return/[^\s\S]/.source})),e.languages.rust={comment:[{pattern:RegExp(/(^|[^\\])/.source+t),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}(A),A.languages.go=A.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/}),A.languages.insertBefore("go","string",{char:{pattern:/'(?:\\.|[^'\\\r\n]){0,10}'/,greedy:!0}}),delete A.languages.go["class-name"],function(e){var t=/\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/,n=/\b(?!<keyword>)\w+(?:\s*\.\s*\w+)*\b/.source.replace(/<keyword>/g,(function(){return t.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 t.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:t,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 n}))+")"),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"])}(A),A.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:/[{}[\];(),.:]/},A.languages.python["string-interpolation"].inside.interpolation.inside.rest=A.languages.python,A.languages.py=A.languages.python;var _={};((e,t)=>{for(var n in t)f(e,n,{get:t[n],enumerable:!0})})(_,{dracula:()=>j,duotoneDark:()=>R,duotoneLight:()=>L,github:()=>N,jettwaveDark:()=>G,jettwaveLight:()=>V,nightOwl:()=>P,nightOwlLight:()=>O,oceanicNext:()=>M,okaidia:()=>F,oneDark:()=>W,oneLight:()=>K,palenight:()=>z,shadesOfPurple:()=>B,synthwave84:()=>$,ultramin:()=>U,vsDark:()=>q,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)"}}]},R={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"}}]},L={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"}}]},N={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"}}]},P={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)"}}]},O={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)"}}]},D="#c5a5c5",I="#8dc891",M={plain:{backgroundColor:"#282c34",color:"#ffffff"},styles:[{types:["attr-name"],style:{color:D}},{types:["attr-value"],style:{color:I}},{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:I}},{types:["punctuation"],style:{color:I}},{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:D}},{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}}]},F={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"}}]},z={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)"}}]},B={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)"}}]},$={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"}}]},U={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)"}}]},q={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)"}}]},G={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"}}]},W={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%)"}}]},K={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%)"}}]},Q=(e,t)=>{const{plain:n}=e,r=e.styles.reduce(((e,n)=>{const{languages:r,style:a}=n;return r&&!r.includes(t)||n.types.forEach((t=>{const n=S(S({},e[t]),a);e[t]=n})),e}),{});return r.root=n,r.plain=E(S({},n),{backgroundColor:void 0}),r},Y=/\r\n|\r|\n/,Z=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)},X=(e,t)=>{const n=e.length;return n>0&&e[n-1]===t?e:e.concat(t)},J=e=>{const t=[[]],n=[e],r=[0],a=[e.length];let o=0,i=0,l=[];const s=[l];for(;i>-1;){for(;(o=r[i]++)<a[i];){let e,u=t[i];const c=n[i][o];if("string"==typeof c?(u=i>0?u:["plain"],e=c):(u=X(u,c.type),c.alias&&(u=X(u,c.alias)),e=c.content),"string"!=typeof e){i++,t.push(u),n.push(e),r.push(0),a.push(e.length);continue}const d=e.split(Y),p=d.length;l.push({types:u,content:d[0]});for(let t=1;t<p;t++)Z(l),s.push(l=[]),l.push({types:u,content:d[t]})}i--,t.pop(),n.pop(),r.pop(),a.pop()}return Z(l),s},ee=({children:e,language:t,code:n,theme:r,prism:a})=>{const o=t.toLowerCase(),i=((e,t)=>{const[n,r]=(0,c.useState)(Q(t,e)),a=(0,c.useRef)(),o=(0,c.useRef)();return(0,c.useEffect)((()=>{t===a.current&&e===o.current||(a.current=t,o.current=e,r(Q(t,e)))}),[e,t]),n})(o,r),l=(e=>(0,c.useCallback)((t=>{var n=t,{className:r,style:a,line:o}=n,i=C(n,["className","style","line"]);const l=E(S({},i),{className:(0,d.A)("token-line",r)});return"object"==typeof e&&"plain"in e&&(l.style=e.plain),"object"==typeof a&&(l.style=S(S({},l.style||{}),a)),l}),[e]))(i),s=(e=>{const t=(0,c.useCallback)((({types:t,empty:n})=>{if(null!=e)return 1===t.length&&"plain"===t[0]?null!=n?{display:"inline-block"}:void 0:1===t.length&&null!=n?e[t[0]]:Object.assign(null!=n?{display:"inline-block"}:{},...t.map((t=>e[t])))}),[e]);return(0,c.useCallback)((e=>{var n=e,{token:r,className:a,style:o}=n,i=C(n,["token","className","style"]);const l=E(S({},i),{className:(0,d.A)("token",...r.types,a),children:r.content,style:t(r)});return null!=o&&(l.style=S(S({},l.style||{}),o)),l}),[t])})(i),u=(({prism:e,code:t,grammar:n,language:r})=>{const a=(0,c.useRef)(e);return(0,c.useMemo)((()=>{if(null==n)return J([t]);const e={code:t,grammar:n,language:r,tokens:[]};return a.current.hooks.run("before-tokenize",e),e.tokens=a.current.tokenize(t,n),a.current.hooks.run("after-tokenize",e),J(e.tokens)}),[t,n,r])})({prism:a,language:o,code:n,grammar:a.languages[o]});return e({tokens:u,className:`prism-code language-${o}`,style:null!=i?i.root:{},getLineProps:l,getTokenProps:s})},te=e=>(0,c.createElement)(ee,E(S({},e),{prism:e.prism||A,theme:e.theme||q,code:e.code,language:e.language}))},1561:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=!0,a="Invariant failed";function o(e,t){if(!e){if(r)throw new Error(a);var n="function"==typeof t?t():t,o=n?"".concat(a,": ").concat(n):a;throw new Error(o)}}},2654:e=>{"use strict";e.exports={}},4054:e=>{"use strict";e.exports=JSON.parse('{"/search-5de":{"__comp":"1a4e3797","__context":{"plugin":"c141421f"}},"/-e5f":{"__comp":"1df93b7f","__context":{"plugin":"a7456010"},"config":"5e9f5e1a"},"/-e58":{"__comp":"5e95c892","__context":{"plugin":"aba21aa0"}},"/-9ef":{"__comp":"a7bd4aaa","__props":"22dd74f7"},"/-2f0":{"__comp":"a94703ab"},"/accounting/double-entry-accounting-4a0":{"__comp":"17896441","content":"503c2630"},"/accounting/glossary-b96":{"__comp":"17896441","content":"368a1e78"},"/accounting/intro-c22":{"__comp":"17896441","content":"d540b4e1"},"/docs-b7e":{"__comp":"17896441","content":"0e384e19"},"/docs/check-account-balance-496":{"__comp":"17896441","content":"de557132"},"/docs/create-journal-and-accounts-e94":{"__comp":"17896441","content":"e03721cf"},"/docs/step-by-step-64f":{"__comp":"17896441","content":"b7796488"},"/docs/transaction-post-dd4":{"__comp":"17896441","content":"12ebaf8d"},"/docs/tx-template-create-aec":{"__comp":"17896441","content":"f4d26413"}}')}},e=>{e.O(0,[1869],(()=>{return t=8536,e(e.s=t);var t}));e.O()}]); \ No newline at end of file diff --git a/assets/js/main.98810172.js b/assets/js/main.98810172.js new file mode 100644 index 00000000..3edbef01 --- /dev/null +++ b/assets/js/main.98810172.js @@ -0,0 +1,2 @@ +/*! For license information please see main.98810172.js.LICENSE.txt */ +(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[8792],{9188:(e,t,n)=>{"use strict";n.d(t,{W:()=>a});var r=n(6540);function a(){return r.createElement("svg",{width:"20",height:"20",className:"DocSearch-Search-Icon",viewBox:"0 0 20 20","aria-hidden":"true"},r.createElement("path",{d:"M14.386 14.386l4.0877 4.0877-4.0877-4.0877c-2.9418 2.9419-7.7115 2.9419-10.6533 0-2.9419-2.9418-2.9419-7.7115 0-10.6533 2.9418-2.9419 7.7115-2.9419 10.6533 0 2.9419 2.9418 2.9419 7.7115 0 10.6533z",stroke:"currentColor",fill:"none",fillRule:"evenodd",strokeLinecap:"round",strokeLinejoin:"round"}))}},8328:(e,t,n)=>{"use strict";n.d(t,{A:()=>p});n(6540);var r=n(3259),a=n.n(r),o=n(4054);const i={"0e384e19":[()=>Promise.all([n.e(2076),n.e(3976)]).then(n.bind(n,619)),"@site/docs/intro.md",619],"12ebaf8d":[()=>Promise.all([n.e(2076),n.e(1438)]).then(n.bind(n,7512)),"@site/docs/demo/transaction-post.mdx",7512],17896441:[()=>Promise.all([n.e(1869),n.e(2076),n.e(7212),n.e(8401)]).then(n.bind(n,7212)),"@theme/DocItem",7212],"1a4e3797":[()=>Promise.all([n.e(1869),n.e(2138)]).then(n.bind(n,9057)),"@theme/SearchPage",9057],"1df93b7f":[()=>Promise.all([n.e(1869),n.e(4583)]).then(n.bind(n,5579)),"@site/src/pages/index.tsx",5579],"22dd74f7":[()=>n.e(1567).then(n.t.bind(n,5226,19)),"@generated/docusaurus-plugin-content-docs/default/p/index-466.json",5226],"368a1e78":[()=>Promise.all([n.e(2076),n.e(4606)]).then(n.bind(n,647)),"@site/docs/accounting/glossary.md",647],"503c2630":[()=>Promise.all([n.e(2076),n.e(3639)]).then(n.bind(n,2197)),"@site/docs/accounting/double-entry-accounting.md",2197],"5e95c892":[()=>n.e(9647).then(n.bind(n,7121)),"@theme/DocsRoot",7121],"5e9f5e1a":[()=>Promise.resolve().then(n.bind(n,4784)),"@generated/docusaurus.config",4784],"929a6889":[()=>Promise.all([n.e(2076),n.e(9155)]).then(n.bind(n,2749)),"@site/docs/demo/account-set.mdx",2749],a7456010:[()=>n.e(1235).then(n.t.bind(n,8552,19)),"@generated/docusaurus-plugin-content-pages/default/__plugin.json",8552],a7bd4aaa:[()=>n.e(7098).then(n.bind(n,4532)),"@theme/DocVersionRoot",4532],a94703ab:[()=>Promise.all([n.e(1869),n.e(9048)]).then(n.bind(n,2559)),"@theme/DocRoot",2559],aba21aa0:[()=>n.e(5742).then(n.t.bind(n,7093,19)),"@generated/docusaurus-plugin-content-docs/default/__plugin.json",7093],b7796488:[()=>Promise.all([n.e(2076),n.e(9260)]).then(n.bind(n,9770)),"@site/docs/accounting/step-by-step.md",9770],c141421f:[()=>n.e(957).then(n.t.bind(n,936,19)),"@generated/docusaurus-theme-search-algolia/default/__plugin.json",936],d540b4e1:[()=>Promise.all([n.e(2076),n.e(5430)]).then(n.bind(n,4809)),"@site/docs/accounting/accounting-intro.md",4809],de557132:[()=>Promise.all([n.e(2076),n.e(9799)]).then(n.bind(n,1034)),"@site/docs/demo/check-account-balance.mdx",1034],e03721cf:[()=>Promise.all([n.e(2076),n.e(6238)]).then(n.bind(n,6104)),"@site/docs/demo/create-journal-and-accounts.mdx",6104],f4d26413:[()=>Promise.all([n.e(2076),n.e(6413)]).then(n.bind(n,9143)),"@site/docs/demo/tx-template-create.mdx",9143]};var l=n(4848);function s(e){let{error:t,retry:n,pastDelay:r}=e;return t?(0,l.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,l.jsx)("p",{children:String(t)}),(0,l.jsx)("div",{children:(0,l.jsx)("button",{type:"button",onClick:n,children:"Retry"})})]}):r?(0,l.jsx)("div",{style:{display:"flex",justifyContent:"center",alignItems:"center",height:"100vh"},children:(0,l.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,l.jsxs)("g",{fill:"none",fillRule:"evenodd",transform:"translate(1 1)",strokeWidth:"2",children:[(0,l.jsxs)("circle",{cx:"22",cy:"22",r:"6",strokeOpacity:"0",children:[(0,l.jsx)("animate",{attributeName:"r",begin:"1.5s",dur:"3s",values:"6;22",calcMode:"linear",repeatCount:"indefinite"}),(0,l.jsx)("animate",{attributeName:"stroke-opacity",begin:"1.5s",dur:"3s",values:"1;0",calcMode:"linear",repeatCount:"indefinite"}),(0,l.jsx)("animate",{attributeName:"stroke-width",begin:"1.5s",dur:"3s",values:"2;0",calcMode:"linear",repeatCount:"indefinite"})]}),(0,l.jsxs)("circle",{cx:"22",cy:"22",r:"6",strokeOpacity:"0",children:[(0,l.jsx)("animate",{attributeName:"r",begin:"3s",dur:"3s",values:"6;22",calcMode:"linear",repeatCount:"indefinite"}),(0,l.jsx)("animate",{attributeName:"stroke-opacity",begin:"3s",dur:"3s",values:"1;0",calcMode:"linear",repeatCount:"indefinite"}),(0,l.jsx)("animate",{attributeName:"stroke-width",begin:"3s",dur:"3s",values:"2;0",calcMode:"linear",repeatCount:"indefinite"})]}),(0,l.jsx)("circle",{cx:"22",cy:"22",r:"8",children:(0,l.jsx)("animate",{attributeName:"r",begin:"0s",dur:"1.5s",values:"6;1;2;3;4;5;6",calcMode:"linear",repeatCount:"indefinite"})})]})})}):null}var u=n(6921),c=n(3102);function d(e,t){if("*"===e)return a()({loading:s,loader:()=>n.e(2237).then(n.bind(n,2237)),modules:["@theme/NotFound"],webpack:()=>[2237],render(e,t){const n=e.default;return(0,l.jsx)(c.W,{value:{plugin:{name:"native",id:"default"}},children:(0,l.jsx)(n,{...t})})}});const r=o[`${e}-${t}`],d={},p=[],f=[],m=(0,u.A)(r);return Object.entries(m).forEach((e=>{let[t,n]=e;const r=i[n];r&&(d[t]=r[0],p.push(r[1]),f.push(r[2]))})),a().Map({loading:s,loader:d,modules:p,webpack:()=>f,render(t,n){const a=JSON.parse(JSON.stringify(r));Object.entries(t).forEach((t=>{let[n,r]=t;const o=r.default;if(!o)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 o&&"function"!=typeof o||Object.keys(r).filter((e=>"default"!==e)).forEach((e=>{o[e]=r[e]}));let i=a;const l=n.split(".");l.slice(0,-1).forEach((e=>{i=i[e]})),i[l[l.length-1]]=o}));const o=a.__comp;delete a.__comp;const i=a.__context;delete a.__context;const s=a.__props;return delete a.__props,(0,l.jsx)(c.W,{value:i,children:(0,l.jsx)(o,{...a,...s,...n})})}})}const p=[{path:"/search",component:d("/search","5de"),exact:!0},{path:"/",component:d("/","e5f"),exact:!0},{path:"/",component:d("/","13e"),routes:[{path:"/",component:d("/","f90"),routes:[{path:"/",component:d("/","81b"),routes:[{path:"/accounting/double-entry-accounting",component:d("/accounting/double-entry-accounting","4a0"),exact:!0,sidebar:"accountingSidebar"},{path:"/accounting/glossary",component:d("/accounting/glossary","b96"),exact:!0,sidebar:"accountingSidebar"},{path:"/accounting/intro",component:d("/accounting/intro","c22"),exact:!0,sidebar:"accountingSidebar"},{path:"/docs",component:d("/docs","b7e"),exact:!0,sidebar:"demoSidebar"},{path:"/docs/account-set",component:d("/docs/account-set","5ec"),exact:!0,sidebar:"demoSidebar"},{path:"/docs/check-account-balance",component:d("/docs/check-account-balance","496"),exact:!0,sidebar:"demoSidebar"},{path:"/docs/create-journal-and-accounts",component:d("/docs/create-journal-and-accounts","e94"),exact:!0,sidebar:"demoSidebar"},{path:"/docs/step-by-step",component:d("/docs/step-by-step","64f"),exact:!0,sidebar:"accountingSidebar"},{path:"/docs/transaction-post",component:d("/docs/transaction-post","dd4"),exact:!0,sidebar:"demoSidebar"},{path:"/docs/tx-template-create",component:d("/docs/tx-template-create","aec"),exact:!0,sidebar:"demoSidebar"}]}]}]},{path:"*",component:d("*")}]},6125:(e,t,n)=>{"use strict";n.d(t,{o:()=>o,x:()=>i});var r=n(6540),a=n(4848);const o=r.createContext(!1);function i(e){let{children:t}=e;const[n,i]=(0,r.useState)(!1);return(0,r.useEffect)((()=>{i(!0)}),[]),(0,a.jsx)(o.Provider,{value:n,children:t})}},8536:(e,t,n)=>{"use strict";var r=n(6540),a=n(5338),o=n(545),i=n(4625),l=n(4784),s=n(8193);const u=[n(1911),n(119),n(6134),n(6294),n(1043)];var c=n(8328),d=n(6347),p=n(2831),f=n(4848);function m(e){let{children:t}=e;return(0,f.jsx)(f.Fragment,{children:t})}var h=n(5260),g=n(4586),y=n(6025),b=n(6342),v=n(9024),w=n(2131),k=n(4090),x=n(2967),S=n(440),E=n(1463);function C(){const{i18n:{currentLocale:e,defaultLocale:t,localeConfigs:n}}=(0,g.A)(),r=(0,w.o)(),a=n[e].htmlLang,o=e=>e.replace("-","_");return(0,f.jsxs)(h.A,{children:[Object.entries(n).map((e=>{let[t,{htmlLang:n}]=e;return(0,f.jsx)("link",{rel:"alternate",href:r.createUrl({locale:t,fullyQualified:!0}),hrefLang:n},t)})),(0,f.jsx)("link",{rel:"alternate",href:r.createUrl({locale:t,fullyQualified:!0}),hrefLang:"x-default"}),(0,f.jsx)("meta",{property:"og:locale",content:o(a)}),Object.values(n).filter((e=>a!==e.htmlLang)).map((e=>(0,f.jsx)("meta",{property:"og:locale:alternate",content:o(e.htmlLang)},`meta-og-${e.htmlLang}`)))]})}function T(e){let{permalink:t}=e;const{siteConfig:{url:n}}=(0,g.A)(),r=function(){const{siteConfig:{url:e,baseUrl:t,trailingSlash:n}}=(0,g.A)(),{pathname:r}=(0,d.zy)();return e+(0,S.applyTrailingSlash)((0,y.Ay)(r),{trailingSlash:n,baseUrl:t})}(),a=t?`${n}${t}`:r;return(0,f.jsxs)(h.A,{children:[(0,f.jsx)("meta",{property:"og:url",content:a}),(0,f.jsx)("link",{rel:"canonical",href:a})]})}function A(){const{i18n:{currentLocale:e}}=(0,g.A)(),{metadata:t,image:n}=(0,b.p)();return(0,f.jsxs)(f.Fragment,{children:[(0,f.jsxs)(h.A,{children:[(0,f.jsx)("meta",{name:"twitter:card",content:"summary_large_image"}),(0,f.jsx)("body",{className:k.w})]}),n&&(0,f.jsx)(v.be,{image:n}),(0,f.jsx)(T,{}),(0,f.jsx)(C,{}),(0,f.jsx)(E.A,{tag:x.Cy,locale:e}),(0,f.jsx)(h.A,{children:t.map(((e,t)=>(0,f.jsx)("meta",{...e},t)))})]})}const _=new Map;var j=n(6125),R=n(6988),L=n(205);function N(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];const a=u.map((t=>{const r=t.default?.[e]??t[e];return r?.(...n)}));return()=>a.forEach((e=>e?.()))}const P=function(e){let{children:t,location:n,previousLocation:r}=e;return(0,L.A)((()=>{r!==n&&(!function(e){let{location:t,previousLocation:n}=e;if(!n)return;const r=t.pathname===n.pathname,a=t.hash===n.hash,o=t.search===n.search;if(r&&a&&!o)return;const{hash:i}=t;if(i){const e=decodeURIComponent(i.substring(1)),t=document.getElementById(e);t?.scrollIntoView()}else window.scrollTo(0,0)}({location:n,previousLocation:r}),N("onRouteDidUpdate",{previousLocation:r,location:n}))}),[r,n]),t};function O(e){const t=Array.from(new Set([e,decodeURI(e)])).map((e=>(0,p.u)(c.A,e))).flat();return Promise.all(t.map((e=>e.route.component.preload?.())))}class D extends r.Component{previousLocation;routeUpdateCleanupCb;constructor(e){super(e),this.previousLocation=null,this.routeUpdateCleanupCb=s.A.canUseDOM?N("onRouteUpdate",{previousLocation:null,location:this.props.location}):()=>{},this.state={nextRouteHasLoaded:!0}}shouldComponentUpdate(e,t){if(e.location===this.props.location)return t.nextRouteHasLoaded;const n=e.location;return this.previousLocation=this.props.location,this.setState({nextRouteHasLoaded:!1}),this.routeUpdateCleanupCb=N("onRouteUpdate",{previousLocation:this.previousLocation,location:n}),O(n.pathname).then((()=>{this.routeUpdateCleanupCb(),this.setState({nextRouteHasLoaded:!0})})).catch((e=>{console.warn(e),window.location.reload()})),!1}render(){const{children:e,location:t}=this.props;return(0,f.jsx)(P,{previousLocation:this.previousLocation,location:t,children:(0,f.jsx)(d.qh,{location:t,render:()=>e})})}}const I=D,M="__docusaurus-base-url-issue-banner-container",F="__docusaurus-base-url-issue-banner",z="__docusaurus-base-url-issue-banner-suggestion-container";function B(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 = '${M}';\n var bannerHtml = ${JSON.stringify(function(e){return`\n<div id="${F}" 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="${z}" 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('${z}');\n var actualHomePagePath = window.location.pathname;\n var suggestedBaseUrl = actualHomePagePath.substr(-1) === '/'\n ? actualHomePagePath\n : actualHomePagePath + '/';\n suggestionContainer.innerHTML = suggestedBaseUrl;\n}\n`}function $(){const{siteConfig:{baseUrl:e}}=(0,g.A)();return(0,f.jsx)(f.Fragment,{children:!s.A.canUseDOM&&(0,f.jsx)(h.A,{children:(0,f.jsx)("script",{children:B(e)})})})}function U(){const{siteConfig:{baseUrl:e,baseUrlIssueBanner:t}}=(0,g.A)(),{pathname:n}=(0,d.zy)();return t&&n===e?(0,f.jsx)($,{}):null}function q(){const{siteConfig:{favicon:e,title:t,noIndex:n},i18n:{currentLocale:r,localeConfigs:a}}=(0,g.A)(),o=(0,y.Ay)(e),{htmlLang:i,direction:l}=a[r];return(0,f.jsxs)(h.A,{children:[(0,f.jsx)("html",{lang:i,dir:l}),(0,f.jsx)("title",{children:t}),(0,f.jsx)("meta",{property:"og:title",content:t}),(0,f.jsx)("meta",{name:"viewport",content:"width=device-width, initial-scale=1.0"}),n&&(0,f.jsx)("meta",{name:"robots",content:"noindex, nofollow"}),e&&(0,f.jsx)("link",{rel:"icon",href:o})]})}var H=n(7489),G=n(2303);function V(){const e=(0,G.A)();return(0,f.jsx)(h.A,{children:(0,f.jsx)("html",{"data-has-hydrated":e})})}const W=(0,p.v)(c.A);function K(){const e=function(e){if(_.has(e.pathname))return{...e,pathname:_.get(e.pathname)};if((0,p.u)(c.A,e.pathname).some((e=>{let{route:t}=e;return!0===t.exact})))return _.set(e.pathname,e.pathname),e;const t=e.pathname.trim().replace(/(?:\/index)?\.html$/,"")||"/";return _.set(e.pathname,t),{...e,pathname:t}}((0,d.zy)());return(0,f.jsx)(I,{location:e,children:W})}function Q(){return(0,f.jsx)(H.A,{children:(0,f.jsx)(R.l,{children:(0,f.jsxs)(j.x,{children:[(0,f.jsxs)(m,{children:[(0,f.jsx)(q,{}),(0,f.jsx)(A,{}),(0,f.jsx)(U,{}),(0,f.jsx)(K,{})]}),(0,f.jsx)(V,{})]})})})}var Y=n(4054);const Z=function(e){try{return document.createElement("link").relList.supports(e)}catch{return!1}}("prefetch")?function(e){return new Promise(((t,n)=>{if("undefined"==typeof document)return void n();const r=document.createElement("link");r.setAttribute("rel","prefetch"),r.setAttribute("href",e),r.onload=()=>t(),r.onerror=()=>n();const a=document.getElementsByTagName("head")[0]??document.getElementsByName("script")[0]?.parentNode;a?.appendChild(r)}))}:function(e){return new Promise(((t,n)=>{const r=new XMLHttpRequest;r.open("GET",e,!0),r.withCredentials=!0,r.onload=()=>{200===r.status?t():n()},r.send(null)}))};var X=n(6921);const J=new Set,ee=new Set,te=()=>navigator.connection?.effectiveType.includes("2g")||navigator.connection?.saveData,ne={prefetch:e=>{if(!(e=>!te()&&!ee.has(e)&&!J.has(e))(e))return!1;J.add(e);const t=(0,p.u)(c.A,e).flatMap((e=>{return t=e.route.path,Object.entries(Y).filter((e=>{let[n]=e;return n.replace(/-[^-]+$/,"")===t})).flatMap((e=>{let[,t]=e;return Object.values((0,X.A)(t))}));var t}));return Promise.all(t.map((e=>{const t=n.gca(e);return t&&!t.includes("undefined")?Z(t).catch((()=>{})):Promise.resolve()})))},preload:e=>!!(e=>!te()&&!ee.has(e))(e)&&(ee.add(e),O(e))},re=Object.freeze(ne);function ae(e){let{children:t}=e;return"hash"===l.default.future.experimental_router?(0,f.jsx)(i.I9,{children:t}):(0,f.jsx)(i.Kd,{children:t})}const oe=Boolean(!0);if(s.A.canUseDOM){window.docusaurus=re;const e=document.getElementById("__docusaurus"),t=(0,f.jsx)(o.vd,{children:(0,f.jsx)(ae,{children:(0,f.jsx)(Q,{})})}),n=(e,t)=>{console.error("Docusaurus React Root onRecoverableError:",e,t)},i=()=>{if(window.docusaurusRoot)window.docusaurusRoot.render(t);else if(oe)window.docusaurusRoot=a.hydrateRoot(e,t,{onRecoverableError:n});else{const r=a.createRoot(e,{onRecoverableError:n});r.render(t),window.docusaurusRoot=r}};O(window.location.pathname).then((()=>{(0,r.startTransition)(i)}))}},6988:(e,t,n)=>{"use strict";n.d(t,{o:()=>d,l:()=>p});var r=n(6540),a=n(4784);const o=JSON.parse('{"docusaurus-plugin-content-docs":{"default":{"path":"/","versions":[{"name":"current","label":"Next","isLast":true,"path":"/","mainDocId":"intro","docs":[{"id":"accounting/accounting-intro","path":"/accounting/intro","sidebar":"accountingSidebar"},{"id":"accounting/double-entry-accounting","path":"/accounting/double-entry-accounting","sidebar":"accountingSidebar"},{"id":"accounting/glossary","path":"/accounting/glossary","sidebar":"accountingSidebar"},{"id":"accounting/step-by-step","path":"/docs/step-by-step","sidebar":"accountingSidebar"},{"id":"demo/account-set","path":"/docs/account-set","sidebar":"demoSidebar"},{"id":"demo/check-account-balance","path":"/docs/check-account-balance","sidebar":"demoSidebar"},{"id":"demo/create-journal-and-accounts","path":"/docs/create-journal-and-accounts","sidebar":"demoSidebar"},{"id":"demo/transaction-post","path":"/docs/transaction-post","sidebar":"demoSidebar"},{"id":"demo/tx-template-create","path":"/docs/tx-template-create","sidebar":"demoSidebar"},{"id":"intro","path":"/docs","sidebar":"demoSidebar"}],"draftIds":[],"sidebars":{"demoSidebar":{"link":{"path":"/docs","label":"intro"}},"accountingSidebar":{"link":{"path":"/accounting/intro","label":"accounting/accounting-intro"}}}}],"breadcrumbs":true}},"docusaurus-plugin-google-gtag":{"default":{"trackingID":["G-CSZCYN1TG7"],"anonymizeIP":true,"id":"default"}}}'),i=JSON.parse('{"defaultLocale":"en","locales":["en"],"path":"i18n","currentLocale":"en","localeConfigs":{"en":{"label":"English","direction":"ltr","htmlLang":"en","calendar":"gregory","path":"en"}}}');var l=n(2654);const s=JSON.parse('{"docusaurusVersion":"3.4.0","siteVersion":"0.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-google-gtag":{"type":"package","name":"@docusaurus/plugin-google-gtag","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"},"docusaurus-theme-search-algolia":{"type":"package","name":"@docusaurus/theme-search-algolia","version":"3.4.0"},"docusaurus-theme-live-codeblock":{"type":"package","name":"@docusaurus/theme-live-codeblock","version":"3.4.0"},"docusaurus-theme-mermaid":{"type":"package","name":"@docusaurus/theme-mermaid","version":"3.4.0"}}}');var u=n(4848);const c={siteConfig:a.default,siteMetadata:s,globalData:o,i18n:i,codeTranslations:l},d=r.createContext(c);function p(e){let{children:t}=e;return(0,u.jsx)(d.Provider,{value:c,children:t})}},7489:(e,t,n)=>{"use strict";n.d(t,{A:()=>h});var r=n(6540),a=n(8193),o=n(5260),i=n(440),l=n(4561),s=n(3102),u=n(4848);function c(e){let{error:t,tryAgain:n}=e;return(0,u.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,u.jsx)("h1",{style:{fontSize:"3rem"},children:"This page crashed"}),(0,u.jsx)("button",{type:"button",onClick:n,style:{margin:"1rem 0",fontSize:"2rem",cursor:"pointer",borderRadius:20,padding:"1rem"},children:"Try again"}),(0,u.jsx)(d,{error:t})]})}function d(e){let{error:t}=e;const n=(0,i.getErrorCausalChain)(t).map((e=>e.message)).join("\n\nCause:\n");return(0,u.jsx)("p",{style:{whiteSpace:"pre-wrap"},children:n})}function p(e){let{children:t}=e;return(0,u.jsx)(s.W,{value:{plugin:{name:"docusaurus-core-error-boundary",id:"default"}},children:t})}function f(e){let{error:t,tryAgain:n}=e;return(0,u.jsx)(p,{children:(0,u.jsxs)(h,{fallback:()=>(0,u.jsx)(c,{error:t,tryAgain:n}),children:[(0,u.jsx)(o.A,{children:(0,u.jsx)("title",{children:"Page Error"})}),(0,u.jsx)(l.A,{children:(0,u.jsx)(c,{error:t,tryAgain:n})})]})})}const m=e=>(0,u.jsx)(f,{...e});class h extends r.Component{constructor(e){super(e),this.state={error:null}}componentDidCatch(e){a.A.canUseDOM&&this.setState({error:e})}render(){const{children:e}=this.props,{error:t}=this.state;if(t){const e={error:t,tryAgain:()=>this.setState({error:null})};return(this.props.fallback??m)(e)}return e??null}}},8193:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});const r="undefined"!=typeof window&&"document"in window&&"createElement"in window.document,a={canUseDOM:r,canUseEventListeners:r&&("addEventListener"in window||"attachEvent"in window),canUseIntersectionObserver:r&&"IntersectionObserver"in window,canUseViewport:r&&"screen"in window}},5260:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});n(6540);var r=n(545),a=n(4848);function o(e){return(0,a.jsx)(r.mg,{...e})}},8774:(e,t,n)=>{"use strict";n.d(t,{A:()=>f});var r=n(6540),a=n(4625),o=n(440),i=n(4586),l=n(6654),s=n(8193),u=n(3427),c=n(6025),d=n(4848);function p(e,t){let{isNavLink:n,to:p,href:f,activeClassName:m,isActive:h,"data-noBrokenLinkCheck":g,autoAddBaseUrl:y=!0,...b}=e;const{siteConfig:v}=(0,i.A)(),{trailingSlash:w,baseUrl:k}=v,x=v.future.experimental_router,{withBaseUrl:S}=(0,c.hH)(),E=(0,u.A)(),C=(0,r.useRef)(null);(0,r.useImperativeHandle)(t,(()=>C.current));const T=p||f;const A=(0,l.A)(T),_=T?.replace("pathname://","");let j=void 0!==_?(R=_,y&&(e=>e.startsWith("/"))(R)?S(R):R):void 0;var R;"hash"===x&&j?.startsWith("./")&&(j=j?.slice(1)),j&&A&&(j=(0,o.applyTrailingSlash)(j,{trailingSlash:w,baseUrl:k}));const L=(0,r.useRef)(!1),N=n?a.k2:a.N_,P=s.A.canUseIntersectionObserver,O=(0,r.useRef)(),D=()=>{L.current||null==j||(window.docusaurus.preload(j),L.current=!0)};(0,r.useEffect)((()=>(!P&&A&&null!=j&&window.docusaurus.prefetch(j),()=>{P&&O.current&&O.current.disconnect()})),[O,j,P,A]);const I=j?.startsWith("#")??!1,M=!b.target||"_self"===b.target,F=!j||!A||!M;return g||!I&&F||E.collectLink(j),b.id&&E.collectAnchor(b.id),F?(0,d.jsx)("a",{ref:C,href:j,...T&&!A&&{target:"_blank",rel:"noopener noreferrer"},...b}):(0,d.jsx)(N,{...b,onMouseEnter:D,onTouchStart:D,innerRef:e=>{C.current=e,P&&e&&A&&(O.current=new window.IntersectionObserver((t=>{t.forEach((t=>{e===t.target&&(t.isIntersecting||t.intersectionRatio>0)&&(O.current.unobserve(e),O.current.disconnect(),null!=j&&window.docusaurus.prefetch(j))}))})),O.current.observe(e))},to:j,...n&&{isActive:h,activeClassName:m}})}const f=r.forwardRef(p)},1312:(e,t,n)=>{"use strict";n.d(t,{A:()=>u,T:()=>s});var r=n(6540),a=n(4848);function o(e,t){const n=e.split(/(\{\w+\})/).map(((e,n)=>{if(n%2==1){const n=t?.[e.slice(1,-1)];if(void 0!==n)return n}return e}));return n.some((e=>(0,r.isValidElement)(e)))?n.map(((e,t)=>(0,r.isValidElement)(e)?r.cloneElement(e,{key:t}):e)).filter((e=>""!==e)):n.join("")}var i=n(2654);function l(e){let{id:t,message:n}=e;if(void 0===t&&void 0===n)throw new Error("Docusaurus translation declarations must have at least a translation id or a default translation message");return i[t??n]??n??t}function s(e,t){let{message:n,id:r}=e;return o(l({message:n,id:r}),t)}function u(e){let{children:t,id:n,values:r}=e;if(t&&"string"!=typeof t)throw console.warn("Illegal <Translate> children",t),new Error("The Docusaurus <Translate> component only accept simple string values");const i=l({message:t,id:n});return(0,a.jsx)(a.Fragment,{children:o(i,r)})}},7065:(e,t,n)=>{"use strict";n.d(t,{W:()=>r});const r="default"},6654:(e,t,n)=>{"use strict";function r(e){return/^(?:\w*:|\/\/)/.test(e)}function a(e){return void 0!==e&&!r(e)}n.d(t,{A:()=>a,z:()=>r})},6025:(e,t,n)=>{"use strict";n.d(t,{Ay:()=>l,hH:()=>i});var r=n(6540),a=n(4586),o=n(6654);function i(){const{siteConfig:e}=(0,a.A)(),{baseUrl:t,url:n}=e,i=e.future.experimental_router,l=(0,r.useCallback)(((e,r)=>function(e){let{siteUrl:t,baseUrl:n,url:r,options:{forcePrependBaseUrl:a=!1,absolute:i=!1}={},router:l}=e;if(!r||r.startsWith("#")||(0,o.z)(r))return r;if("hash"===l)return r.startsWith("/")?`.${r}`:`./${r}`;if(a)return n+r.replace(/^\//,"");if(r===n.replace(/\/$/,""))return n;const s=r.startsWith(n)?r:n+r.replace(/^\//,"");return i?t+s:s}({siteUrl:n,baseUrl:t,url:e,options:r,router:i})),[n,t,i]);return{withBaseUrl:l}}function l(e,t){void 0===t&&(t={});const{withBaseUrl:n}=i();return n(e,t)}},3427:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var r=n(6540);n(4848);const a=r.createContext({collectAnchor:()=>{},collectLink:()=>{}}),o=()=>(0,r.useContext)(a);function i(){return o()}},4586:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=n(6540),a=n(6988);function o(){return(0,r.useContext)(a.o)}},2303:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=n(6540),a=n(6125);function o(){return(0,r.useContext)(a.o)}},205:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});var r=n(6540);const a=n(8193).A.canUseDOM?r.useLayoutEffect:r.useEffect},6921:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});const r=e=>"object"==typeof e&&!!e&&Object.keys(e).length>0;function a(e){const t={};return function e(n,a){Object.entries(n).forEach((n=>{let[o,i]=n;const l=a?`${a}.${o}`:o;r(i)?e(i,l):t[l]=i}))}(e),t}},3102:(e,t,n)=>{"use strict";n.d(t,{W:()=>i,o:()=>o});var r=n(6540),a=n(4848);const o=r.createContext(null);function i(e){let{children:t,value:n}=e;const i=r.useContext(o),l=(0,r.useMemo)((()=>function(e){let{parent:t,value:n}=e;if(!t){if(!n)throw new Error("Unexpected: no Docusaurus route context found");if(!("plugin"in n))throw new Error("Unexpected: Docusaurus topmost route context has no `plugin` attribute");return n}const r={...t.data,...n?.data};return{plugin:t.plugin,data:r}}({parent:i,value:n})),[i,n]);return(0,a.jsx)(o.Provider,{value:l,children:t})}},4070:(e,t,n)=>{"use strict";n.d(t,{zK:()=>y,vT:()=>f,gk:()=>m,Gy:()=>d,HW:()=>b,ht:()=>p,r7:()=>g,jh:()=>h});var r=n(6347),a=n(4586),o=n(7065);function i(e,t){void 0===t&&(t={});const n=function(){const{globalData:e}=(0,a.A)();return e}()[e];if(!n&&t.failfast)throw new Error(`Docusaurus plugin global data not found for "${e}" plugin.`);return n}const l=e=>e.versions.find((e=>e.isLast));function s(e,t){const n=l(e);return[...e.versions.filter((e=>e!==n)),n].find((e=>!!(0,r.B6)(t,{path:e.path,exact:!1,strict:!1})))}function u(e,t){const n=s(e,t),a=n?.docs.find((e=>!!(0,r.B6)(t,{path:e.path,exact:!0,strict:!1})));return{activeVersion:n,activeDoc:a,alternateDocVersions:a?function(t){const n={};return e.versions.forEach((e=>{e.docs.forEach((r=>{r.id===t&&(n[e.name]=r)}))})),n}(a.id):{}}}const c={},d=()=>i("docusaurus-plugin-content-docs")??c,p=e=>{try{return function(e,t,n){void 0===t&&(t=o.W),void 0===n&&(n={});const r=i(e),a=r?.[t];if(!a&&n.failfast)throw new Error(`Docusaurus plugin global data not found for "${e}" plugin with id "${t}".`);return a}("docusaurus-plugin-content-docs",e,{failfast:!0})}catch(t){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:t})}};function f(e){void 0===e&&(e={});const t=d(),{pathname:n}=(0,r.zy)();return function(e,t,n){void 0===n&&(n={});const a=Object.entries(e).sort(((e,t)=>t[1].path.localeCompare(e[1].path))).find((e=>{let[,n]=e;return!!(0,r.B6)(t,{path:n.path,exact:!1,strict:!1})})),o=a?{pluginId:a[0],pluginData:a[1]}:void 0;if(!o&&n.failfast)throw new Error(`Can't find active docs plugin for "${t}" 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 o}(t,n,e)}function m(e){void 0===e&&(e={});const t=f(e),{pathname:n}=(0,r.zy)();if(!t)return;return{activePlugin:t,activeVersion:s(t.pluginData,n)}}function h(e){return p(e).versions}function g(e){const t=p(e);return l(t)}function y(e){const t=p(e),{pathname:n}=(0,r.zy)();return u(t,n)}function b(e){const t=p(e),{pathname:n}=(0,r.zy)();return function(e,t){const n=l(e);return{latestDocSuggestion:u(e,t).alternateDocVersions[n.name],latestVersionSuggestion:n}}(t,n)}},1911:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>r});const r={onRouteDidUpdate(e){let{location:t,previousLocation:n}=e;!n||t.pathname===n.pathname&&t.search===n.search&&t.hash===n.hash||setTimeout((()=>{window.gtag("set","page_path",t.pathname+t.search+t.hash),window.gtag("event","page_view")}))}}},6294:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>o});var r=n(5947),a=n.n(r);a().configure({showSpinner:!1});const o={onRouteUpdate(e){let{location:t,previousLocation:n}=e;if(n&&t.pathname!==n.pathname){const e=window.setTimeout((()=>{a().start()}),200);return()=>window.clearTimeout(e)}},onRouteDidUpdate(){a().done()}}},6134:(e,t,n)=>{"use strict";n.r(t);var r=n(1765),a=n(4784);!function(e){const{themeConfig:{prism:t}}=a.default,{additionalLanguages:r}=t;globalThis.Prism=e,r.forEach((e=>{"php"===e&&n(9700),n(8692)(`./prism-${e}`)})),delete globalThis.Prism}(r.My)},1107:(e,t,n)=>{"use strict";n.d(t,{A:()=>c});n(6540);var r=n(4164),a=n(1312),o=n(6342),i=n(8774),l=n(3427);const s={anchorWithStickyNavbar:"anchorWithStickyNavbar_LWe7",anchorWithHideOnScrollNavbar:"anchorWithHideOnScrollNavbar_WYt5"};var u=n(4848);function c(e){let{as:t,id:n,...c}=e;const d=(0,l.A)(),{navbar:{hideOnScroll:p}}=(0,o.p)();if("h1"===t||!n)return(0,u.jsx)(t,{...c,id:void 0});d.collectAnchor(n);const f=(0,a.T)({id:"theme.common.headingLinkTitle",message:"Direct link to {heading}",description:"Title for link to heading"},{heading:"string"==typeof c.children?c.children:n});return(0,u.jsxs)(t,{...c,className:(0,r.A)("anchor",p?s.anchorWithHideOnScrollNavbar:s.anchorWithStickyNavbar,c.className),id:n,children:[c.children,(0,u.jsx)(i.A,{className:"hash-link",to:`#${n}`,"aria-label":f,title:f,children:"\u200b"})]})}},3186:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});n(6540);const r={iconExternalLink:"iconExternalLink_nPIU"};var a=n(4848);function o(e){let{width:t=13.5,height:n=13.5}=e;return(0,a.jsx)("svg",{width:t,height:n,"aria-hidden":"true",viewBox:"0 0 24 24",className:r.iconExternalLink,children:(0,a.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"})})}},4561:(e,t,n)=>{"use strict";n.d(t,{A:()=>jt});var r=n(6540),a=n(4164),o=n(7489),i=n(9024),l=n(6347),s=n(1312),u=n(5062),c=n(4848);const d="__docusaurus_skipToContent_fallback";function p(e){e.setAttribute("tabindex","-1"),e.focus(),e.removeAttribute("tabindex")}function f(){const e=(0,r.useRef)(null),{action:t}=(0,l.W6)(),n=(0,r.useCallback)((e=>{e.preventDefault();const t=document.querySelector("main:first-of-type")??document.getElementById(d);t&&p(t)}),[]);return(0,u.$)((n=>{let{location:r}=n;e.current&&!r.hash&&"PUSH"===t&&p(e.current)})),{containerRef:e,onClick:n}}const m=(0,s.T)({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 h(e){const t=e.children??m,{containerRef:n,onClick:r}=f();return(0,c.jsx)("div",{ref:n,role:"region","aria-label":m,children:(0,c.jsx)("a",{...e,href:`#${d}`,onClick:r,children:t})})}var g=n(7559),y=n(4090);const b={skipToContent:"skipToContent_fXgn"};function v(){return(0,c.jsx)(h,{className:b.skipToContent})}var w=n(6342),k=n(5041);function x(e){let{width:t=21,height:n=21,color:r="currentColor",strokeWidth:a=1.2,className:o,...i}=e;return(0,c.jsx)("svg",{viewBox:"0 0 15 15",width:t,height:n,...i,children:(0,c.jsx)("g",{stroke:r,strokeWidth:a,children:(0,c.jsx)("path",{d:"M.75.75l13.5 13.5M14.25.75L.75 14.25"})})})}const S={closeButton:"closeButton_CVFx"};function E(e){return(0,c.jsx)("button",{type:"button","aria-label":(0,s.T)({id:"theme.AnnouncementBar.closeButtonAriaLabel",message:"Close",description:"The ARIA label for close button of announcement bar"}),...e,className:(0,a.A)("clean-btn close",S.closeButton,e.className),children:(0,c.jsx)(x,{width:14,height:14,strokeWidth:3.1})})}const C={content:"content_knG7"};function T(e){const{announcementBar:t}=(0,w.p)(),{content:n}=t;return(0,c.jsx)("div",{...e,className:(0,a.A)(C.content,e.className),dangerouslySetInnerHTML:{__html:n}})}const A={announcementBar:"announcementBar_mb4j",announcementBarPlaceholder:"announcementBarPlaceholder_vyr4",announcementBarClose:"announcementBarClose_gvF7",announcementBarContent:"announcementBarContent_xLdY"};function _(){const{announcementBar:e}=(0,w.p)(),{isActive:t,close:n}=(0,k.M)();if(!t)return null;const{backgroundColor:r,textColor:a,isCloseable:o}=e;return(0,c.jsxs)("div",{className:A.announcementBar,style:{backgroundColor:r,color:a},role:"banner",children:[o&&(0,c.jsx)("div",{className:A.announcementBarPlaceholder}),(0,c.jsx)(T,{className:A.announcementBarContent}),o&&(0,c.jsx)(E,{onClick:n,className:A.announcementBarClose})]})}var j=n(2069),R=n(3104);var L=n(9532),N=n(5600);const P=r.createContext(null);function O(e){let{children:t}=e;const n=function(){const e=(0,j.M)(),t=(0,N.YL)(),[n,a]=(0,r.useState)(!1),o=null!==t.component,i=(0,L.ZC)(o);return(0,r.useEffect)((()=>{o&&!i&&a(!0)}),[o,i]),(0,r.useEffect)((()=>{o?e.shown||a(!0):a(!1)}),[e.shown,o]),(0,r.useMemo)((()=>[n,a]),[n])}();return(0,c.jsx)(P.Provider,{value:n,children:t})}function D(e){if(e.component){const t=e.component;return(0,c.jsx)(t,{...e.props})}}function I(){const e=(0,r.useContext)(P);if(!e)throw new L.dV("NavbarSecondaryMenuDisplayProvider");const[t,n]=e,a=(0,r.useCallback)((()=>n(!1)),[n]),o=(0,N.YL)();return(0,r.useMemo)((()=>({shown:t,hide:a,content:D(o)})),[a,o,t])}function M(e){let{header:t,primaryMenu:n,secondaryMenu:r}=e;const{shown:o}=I();return(0,c.jsxs)("div",{className:"navbar-sidebar",children:[t,(0,c.jsxs)("div",{className:(0,a.A)("navbar-sidebar__items",{"navbar-sidebar__items--show-secondary":o}),children:[(0,c.jsx)("div",{className:"navbar-sidebar__item menu",children:n}),(0,c.jsx)("div",{className:"navbar-sidebar__item menu",children:r})]})]})}var F=n(5293),z=n(2303);function B(e){return(0,c.jsx)("svg",{viewBox:"0 0 24 24",width:24,height:24,...e,children:(0,c.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 $(e){return(0,c.jsx)("svg",{viewBox:"0 0 24 24",width:24,height:24,...e,children:(0,c.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_vylO",toggleButton:"toggleButton_gllP",darkToggleIcon:"darkToggleIcon_wfgR",lightToggleIcon:"lightToggleIcon_pyhR",toggleButtonDisabled:"toggleButtonDisabled_aARS"};function q(e){let{className:t,buttonClassName:n,value:r,onChange:o}=e;const i=(0,z.A)(),l=(0,s.T)({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,s.T)({message:"dark mode",id:"theme.colorToggle.ariaLabel.mode.dark",description:"The name for the dark color mode"}):(0,s.T)({message:"light mode",id:"theme.colorToggle.ariaLabel.mode.light",description:"The name for the light color mode"})});return(0,c.jsx)("div",{className:(0,a.A)(U.toggle,t),children:(0,c.jsxs)("button",{className:(0,a.A)("clean-btn",U.toggleButton,!i&&U.toggleButtonDisabled,n),type:"button",onClick:()=>o("dark"===r?"light":"dark"),disabled:!i,title:l,"aria-label":l,"aria-live":"polite",children:[(0,c.jsx)(B,{className:(0,a.A)(U.toggleIcon,U.lightToggleIcon)}),(0,c.jsx)($,{className:(0,a.A)(U.toggleIcon,U.darkToggleIcon)})]})})}const H=r.memo(q),G={darkNavbarColorModeToggle:"darkNavbarColorModeToggle_X3D1"};function V(e){let{className:t}=e;const n=(0,w.p)().navbar.style,r=(0,w.p)().colorMode.disableSwitch,{colorMode:a,setColorMode:o}=(0,F.G)();return r?null:(0,c.jsx)(H,{className:t,buttonClassName:"dark"===n?G.darkNavbarColorModeToggle:void 0,value:a,onChange:o})}var W=n(3465);function K(){return(0,c.jsx)(W.A,{className:"navbar__brand",imageClassName:"navbar__logo",titleClassName:"navbar__title text--truncate"})}function Q(){const e=(0,j.M)();return(0,c.jsx)("button",{type:"button","aria-label":(0,s.T)({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,c.jsx)(x,{color:"var(--ifm-color-emphasis-600)"})})}function Y(){return(0,c.jsxs)("div",{className:"navbar-sidebar__brand",children:[(0,c.jsx)(K,{}),(0,c.jsx)(V,{className:"margin-right--md"}),(0,c.jsx)(Q,{})]})}var Z=n(8774),X=n(6025),J=n(6654),ee=n(1252),te=n(3186);function ne(e){let{activeBasePath:t,activeBaseRegex:n,to:r,href:a,label:o,html:i,isDropdownLink:l,prependBaseUrlToHref:s,...u}=e;const d=(0,X.Ay)(r),p=(0,X.Ay)(t),f=(0,X.Ay)(a,{forcePrependBaseUrl:!0}),m=o&&a&&!(0,J.A)(a),h=i?{dangerouslySetInnerHTML:{__html:i}}:{children:(0,c.jsxs)(c.Fragment,{children:[o,m&&(0,c.jsx)(te.A,{...l&&{width:12,height:12}})]})};return a?(0,c.jsx)(Z.A,{href:s?f:a,...u,...h}):(0,c.jsx)(Z.A,{to:d,isNavLink:!0,...(t||n)&&{isActive:(e,t)=>n?(0,ee.G)(n,t.pathname):t.pathname.startsWith(p)},...u,...h})}function re(e){let{className:t,isDropdownItem:n=!1,...r}=e;const o=(0,c.jsx)(ne,{className:(0,a.A)(n?"dropdown__link":"navbar__item navbar__link",t),isDropdownLink:n,...r});return n?(0,c.jsx)("li",{children:o}):o}function ae(e){let{className:t,isDropdownItem:n,...r}=e;return(0,c.jsx)("li",{className:"menu__list-item",children:(0,c.jsx)(ne,{className:(0,a.A)("menu__link",t),...r})})}function oe(e){let{mobile:t=!1,position:n,...r}=e;const a=t?ae:re;return(0,c.jsx)(a,{...r,activeClassName:r.activeClassName??(t?"menu__link--active":"navbar__link--active")})}var ie=n(1422),le=n(9169),se=n(4586);const ue={dropdownNavbarItemMobile:"dropdownNavbarItemMobile_S0Fm"};function ce(e,t){return e.some((e=>function(e,t){return!!(0,le.ys)(e.to,t)||!!(0,ee.G)(e.activeBaseRegex,t)||!(!e.activeBasePath||!t.startsWith(e.activeBasePath))}(e,t)))}function de(e){let{items:t,position:n,className:o,onClick:i,...l}=e;const s=(0,r.useRef)(null),[u,d]=(0,r.useState)(!1);return(0,r.useEffect)((()=>{const e=e=>{s.current&&!s.current.contains(e.target)&&d(!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)}}),[s]),(0,c.jsxs)("div",{ref:s,className:(0,a.A)("navbar__item","dropdown","dropdown--hoverable",{"dropdown--right":"right"===n,"dropdown--show":u}),children:[(0,c.jsx)(ne,{"aria-haspopup":"true","aria-expanded":u,role:"button",href:l.to?void 0:"#",className:(0,a.A)("navbar__link",o),...l,onClick:l.to?void 0:e=>e.preventDefault(),onKeyDown:e=>{"Enter"===e.key&&(e.preventDefault(),d(!u))},children:l.children??l.label}),(0,c.jsx)("ul",{className:"dropdown__menu",children:t.map(((e,t)=>(0,r.createElement)(Ge,{isDropdownItem:!0,activeClassName:"dropdown__link--active",...e,key:t})))})]})}function pe(e){let{items:t,className:n,position:o,onClick:i,...s}=e;const u=function(){const{siteConfig:{baseUrl:e}}=(0,se.A)(),{pathname:t}=(0,l.zy)();return t.replace(e,"/")}(),d=ce(t,u),{collapsed:p,toggleCollapsed:f,setCollapsed:m}=(0,ie.u)({initialState:()=>!d});return(0,r.useEffect)((()=>{d&&m(!d)}),[u,d,m]),(0,c.jsxs)("li",{className:(0,a.A)("menu__list-item",{"menu__list-item--collapsed":p}),children:[(0,c.jsx)(ne,{role:"button",className:(0,a.A)(ue.dropdownNavbarItemMobile,"menu__link menu__link--sublist menu__link--sublist-caret",n),...s,onClick:e=>{e.preventDefault(),f()},children:s.children??s.label}),(0,c.jsx)(ie.N,{lazy:!0,as:"ul",className:"menu__list",collapsed:p,children:t.map(((e,t)=>(0,r.createElement)(Ge,{mobile:!0,isDropdownItem:!0,onClick:i,activeClassName:"menu__link--active",...e,key:t})))})]})}function fe(e){let{mobile:t=!1,...n}=e;const r=t?pe:de;return(0,c.jsx)(r,{...n})}var me=n(2131);function he(e){let{width:t=20,height:n=20,...r}=e;return(0,c.jsx)("svg",{viewBox:"0 0 24 24",width:t,height:n,"aria-hidden":!0,...r,children:(0,c.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 ge="iconLanguage_nlXk";var ye=n(961);function be(){return r.createElement("svg",{width:"15",height:"15",className:"DocSearch-Control-Key-Icon"},r.createElement("path",{d:"M4.505 4.496h2M5.505 5.496v5M8.216 4.496l.055 5.993M10 7.5c.333.333.5.667.5 1v2M12.326 4.5v5.996M8.384 4.496c1.674 0 2.116 0 2.116 1.5s-.442 1.5-2.116 1.5M3.205 9.303c-.09.448-.277 1.21-1.241 1.203C1 10.5.5 9.513.5 8V7c0-1.57.5-2.5 1.464-2.494.964.006 1.134.598 1.24 1.342M12.553 10.5h1.953",strokeWidth:"1.2",stroke:"currentColor",fill:"none",strokeLinecap:"square"}))}var ve=n(9188),we=["translations"];function ke(){return ke=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},ke.apply(this,arguments)}function xe(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==n)return;var r,a,o=[],i=!0,l=!1;try{for(n=n.call(e);!(i=(r=n.next()).done)&&(o.push(r.value),!t||o.length!==t);i=!0);}catch(s){l=!0,a=s}finally{try{i||null==n.return||n.return()}finally{if(l)throw a}}return o}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return Se(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Se(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Se(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 Ee(e,t){if(null==e)return{};var n,r,a=function(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(a[n]=e[n])}return a}var Ce="Ctrl";var Te=r.forwardRef((function(e,t){var n=e.translations,a=void 0===n?{}:n,o=Ee(e,we),i=a.buttonText,l=void 0===i?"Search":i,s=a.buttonAriaLabel,u=void 0===s?"Search":s,c=xe((0,r.useState)(null),2),d=c[0],p=c[1];return(0,r.useEffect)((function(){"undefined"!=typeof navigator&&(/(Mac|iPhone|iPod|iPad)/i.test(navigator.platform)?p("\u2318"):p(Ce))}),[]),r.createElement("button",ke({type:"button",className:"DocSearch DocSearch-Button","aria-label":u},o,{ref:t}),r.createElement("span",{className:"DocSearch-Button-Container"},r.createElement(ve.W,null),r.createElement("span",{className:"DocSearch-Button-Placeholder"},l)),r.createElement("span",{className:"DocSearch-Button-Keys"},null!==d&&r.createElement(r.Fragment,null,r.createElement(Ae,{reactsToKey:d===Ce?Ce:"Meta"},d===Ce?r.createElement(be,null):d),r.createElement(Ae,{reactsToKey:"k"},"K"))))}));function Ae(e){var t=e.reactsToKey,n=e.children,a=xe((0,r.useState)(!1),2),o=a[0],i=a[1];return(0,r.useEffect)((function(){if(t)return window.addEventListener("keydown",e),window.addEventListener("keyup",n),function(){window.removeEventListener("keydown",e),window.removeEventListener("keyup",n)};function e(e){e.key===t&&i(!0)}function n(e){e.key!==t&&"Meta"!==e.key||i(!1)}}),[t]),r.createElement("kbd",{className:o?"DocSearch-Button-Key DocSearch-Button-Key--pressed":"DocSearch-Button-Key"},n)}var _e=n(5260),je=n(4255),Re=n(1062),Le=n(2967);const Ne={button:{buttonText:(0,s.T)({id:"theme.SearchBar.label",message:"Search",description:"The ARIA label and placeholder for search button"}),buttonAriaLabel:(0,s.T)({id:"theme.SearchBar.label",message:"Search",description:"The ARIA label and placeholder for search button"})},modal:{searchBox:{resetButtonTitle:(0,s.T)({id:"theme.SearchModal.searchBox.resetButtonTitle",message:"Clear the query",description:"The label and ARIA label for search box reset button"}),resetButtonAriaLabel:(0,s.T)({id:"theme.SearchModal.searchBox.resetButtonTitle",message:"Clear the query",description:"The label and ARIA label for search box reset button"}),cancelButtonText:(0,s.T)({id:"theme.SearchModal.searchBox.cancelButtonText",message:"Cancel",description:"The label and ARIA label for search box cancel button"}),cancelButtonAriaLabel:(0,s.T)({id:"theme.SearchModal.searchBox.cancelButtonText",message:"Cancel",description:"The label and ARIA label for search box cancel button"})},startScreen:{recentSearchesTitle:(0,s.T)({id:"theme.SearchModal.startScreen.recentSearchesTitle",message:"Recent",description:"The title for recent searches"}),noRecentSearchesText:(0,s.T)({id:"theme.SearchModal.startScreen.noRecentSearchesText",message:"No recent searches",description:"The text when no recent searches"}),saveRecentSearchButtonTitle:(0,s.T)({id:"theme.SearchModal.startScreen.saveRecentSearchButtonTitle",message:"Save this search",description:"The label for save recent search button"}),removeRecentSearchButtonTitle:(0,s.T)({id:"theme.SearchModal.startScreen.removeRecentSearchButtonTitle",message:"Remove this search from history",description:"The label for remove recent search button"}),favoriteSearchesTitle:(0,s.T)({id:"theme.SearchModal.startScreen.favoriteSearchesTitle",message:"Favorite",description:"The title for favorite searches"}),removeFavoriteSearchButtonTitle:(0,s.T)({id:"theme.SearchModal.startScreen.removeFavoriteSearchButtonTitle",message:"Remove this search from favorites",description:"The label for remove favorite search button"})},errorScreen:{titleText:(0,s.T)({id:"theme.SearchModal.errorScreen.titleText",message:"Unable to fetch results",description:"The title for error screen of search modal"}),helpText:(0,s.T)({id:"theme.SearchModal.errorScreen.helpText",message:"You might want to check your network connection.",description:"The help text for error screen of search modal"})},footer:{selectText:(0,s.T)({id:"theme.SearchModal.footer.selectText",message:"to select",description:"The explanatory text of the action for the enter key"}),selectKeyAriaLabel:(0,s.T)({id:"theme.SearchModal.footer.selectKeyAriaLabel",message:"Enter key",description:"The ARIA label for the Enter key button that makes the selection"}),navigateText:(0,s.T)({id:"theme.SearchModal.footer.navigateText",message:"to navigate",description:"The explanatory text of the action for the Arrow up and Arrow down key"}),navigateUpKeyAriaLabel:(0,s.T)({id:"theme.SearchModal.footer.navigateUpKeyAriaLabel",message:"Arrow up",description:"The ARIA label for the Arrow up key button that makes the navigation"}),navigateDownKeyAriaLabel:(0,s.T)({id:"theme.SearchModal.footer.navigateDownKeyAriaLabel",message:"Arrow down",description:"The ARIA label for the Arrow down key button that makes the navigation"}),closeText:(0,s.T)({id:"theme.SearchModal.footer.closeText",message:"to close",description:"The explanatory text of the action for Escape key"}),closeKeyAriaLabel:(0,s.T)({id:"theme.SearchModal.footer.closeKeyAriaLabel",message:"Escape key",description:"The ARIA label for the Escape key button that close the modal"}),searchByText:(0,s.T)({id:"theme.SearchModal.footer.searchByText",message:"Search by",description:"The text explain that the search is making by Algolia"})},noResultsScreen:{noResultsText:(0,s.T)({id:"theme.SearchModal.noResultsScreen.noResultsText",message:"No results for",description:"The text explains that there are no results for the following search"}),suggestedQueryText:(0,s.T)({id:"theme.SearchModal.noResultsScreen.suggestedQueryText",message:"Try searching for",description:"The text for the suggested query when no results are found for the following search"}),reportMissingResultsText:(0,s.T)({id:"theme.SearchModal.noResultsScreen.reportMissingResultsText",message:"Believe this query should return results?",description:"The text for the question where the user thinks there are missing results"}),reportMissingResultsLinkText:(0,s.T)({id:"theme.SearchModal.noResultsScreen.reportMissingResultsLinkText",message:"Let us know.",description:"The text for the link to report missing results"})}},placeholder:(0,s.T)({id:"theme.SearchModal.placeholder",message:"Search docs",description:"The placeholder of the input of the DocSearch pop-up modal"})};let Pe=null;function Oe(e){let{hit:t,children:n}=e;return(0,c.jsx)(Z.A,{to:t.url,children:n})}function De(e){let{state:t,onClose:n}=e;const r=(0,je.w)();return(0,c.jsx)(Z.A,{to:r(t.query),onClick:n,children:(0,c.jsx)(s.A,{id:"theme.SearchBar.seeAll",values:{count:t.context.nbHits},children:"See all {count} results"})})}function Ie(e){let{contextualSearch:t,externalUrlRegex:a,...o}=e;const{siteMetadata:i}=(0,se.A)(),s=(0,Re.C)(),u=function(){const{locale:e,tags:t}=(0,Le.af)();return[`language:${e}`,t.map((e=>`docusaurus_tag:${e}`))]}(),d=o.searchParameters?.facetFilters??[],p=t?function(e,t){const n=e=>"string"==typeof e?[e]:e;return[...n(e),...n(t)]}(u,d):d,f={...o.searchParameters,facetFilters:p},m=(0,l.W6)(),h=(0,r.useRef)(null),g=(0,r.useRef)(null),[y,b]=(0,r.useState)(!1),[v,w]=(0,r.useState)(void 0),k=(0,r.useCallback)((()=>Pe?Promise.resolve():Promise.all([n.e(9462).then(n.bind(n,9462)),Promise.all([n.e(1869),n.e(8913)]).then(n.bind(n,8913)),Promise.all([n.e(1869),n.e(416)]).then(n.bind(n,416))]).then((e=>{let[{DocSearchModal:t}]=e;Pe=t}))),[]),x=(0,r.useCallback)((()=>{if(!h.current){const e=document.createElement("div");h.current=e,document.body.insertBefore(e,document.body.firstChild)}}),[]),S=(0,r.useCallback)((()=>{x(),k().then((()=>b(!0)))}),[k,x]),E=(0,r.useCallback)((()=>{b(!1),g.current?.focus()}),[]),C=(0,r.useCallback)((e=>{e.preventDefault(),w(e.key),S()}),[S]),T=(0,r.useRef)({navigate(e){let{itemUrl:t}=e;(0,ee.G)(a,t)?window.location.href=t:m.push(t)}}).current,A=(0,r.useRef)((e=>o.transformItems?o.transformItems(e):e.map((e=>({...e,url:s(e.url)}))))).current,_=(0,r.useMemo)((()=>e=>(0,c.jsx)(De,{...e,onClose:E})),[E]),j=(0,r.useCallback)((e=>(e.addAlgoliaAgent("docusaurus",i.docusaurusVersion),e)),[i.docusaurusVersion]);return function(e){var t=e.isOpen,n=e.onOpen,a=e.onClose,o=e.onInput,i=e.searchButtonRef;r.useEffect((function(){function e(e){var r;(27===e.keyCode&&t||"k"===(null===(r=e.key)||void 0===r?void 0:r.toLowerCase())&&(e.metaKey||e.ctrlKey)||!function(e){var t=e.target,n=t.tagName;return t.isContentEditable||"INPUT"===n||"SELECT"===n||"TEXTAREA"===n}(e)&&"/"===e.key&&!t)&&(e.preventDefault(),t?a():document.body.classList.contains("DocSearch--active")||document.body.classList.contains("DocSearch--active")||n()),i&&i.current===document.activeElement&&o&&/[a-zA-Z0-9]/.test(String.fromCharCode(e.keyCode))&&o(e)}return window.addEventListener("keydown",e),function(){window.removeEventListener("keydown",e)}}),[t,n,a,o,i])}({isOpen:y,onOpen:S,onClose:E,onInput:C,searchButtonRef:g}),(0,c.jsxs)(c.Fragment,{children:[(0,c.jsx)(_e.A,{children:(0,c.jsx)("link",{rel:"preconnect",href:`https://${o.appId}-dsn.algolia.net`,crossOrigin:"anonymous"})}),(0,c.jsx)(Te,{onTouchStart:k,onFocus:k,onMouseOver:k,onClick:S,ref:g,translations:Ne.button}),y&&Pe&&h.current&&(0,ye.createPortal)((0,c.jsx)(Pe,{onClose:E,initialScrollY:window.scrollY,initialQuery:v,navigator:T,transformItems:A,hitComponent:Oe,transformSearchClient:j,...o.searchPagePath&&{resultsFooterComponent:_},...o,searchParameters:f,placeholder:Ne.placeholder,translations:Ne.modal}),h.current)]})}function Me(){const{siteConfig:e}=(0,se.A)();return(0,c.jsx)(Ie,{...e.themeConfig.algolia})}const Fe={navbarSearchContainer:"navbarSearchContainer_Bca1"};function ze(e){let{children:t,className:n}=e;return(0,c.jsx)("div",{className:(0,a.A)(n,Fe.navbarSearchContainer),children:t})}var Be=n(4070),$e=n(1754);var Ue=n(5597);const qe=e=>e.docs.find((t=>t.id===e.mainDocId));const He={default:oe,localeDropdown:function(e){let{mobile:t,dropdownItemsBefore:n,dropdownItemsAfter:r,queryString:a="",...o}=e;const{i18n:{currentLocale:i,locales:u,localeConfigs:d}}=(0,se.A)(),p=(0,me.o)(),{search:f,hash:m}=(0,l.zy)(),h=[...n,...u.map((e=>{const n=`${`pathname://${p.createUrl({locale:e,fullyQualified:!1})}`}${f}${m}${a}`;return{label:d[e].label,lang:d[e].htmlLang,to:n,target:"_self",autoAddBaseUrl:!1,className:e===i?t?"menu__link--active":"dropdown__link--active":""}})),...r],g=t?(0,s.T)({message:"Languages",id:"theme.navbar.mobileLanguageDropdown.label",description:"The label for the mobile language switcher dropdown"}):d[i].label;return(0,c.jsx)(fe,{...o,mobile:t,label:(0,c.jsxs)(c.Fragment,{children:[(0,c.jsx)(he,{className:ge}),g]}),items:h})},search:function(e){let{mobile:t,className:n}=e;return t?null:(0,c.jsx)(ze,{className:n,children:(0,c.jsx)(Me,{})})},dropdown:fe,html:function(e){let{value:t,className:n,mobile:r=!1,isDropdownItem:o=!1}=e;const i=o?"li":"div";return(0,c.jsx)(i,{className:(0,a.A)({navbar__item:!r&&!o,"menu__list-item":r},n),dangerouslySetInnerHTML:{__html:t}})},doc:function(e){let{docId:t,label:n,docsPluginId:r,...a}=e;const{activeDoc:o}=(0,Be.zK)(r),i=(0,$e.QB)(t,r),l=o?.path===i?.path;return null===i||i.unlisted&&!l?null:(0,c.jsx)(oe,{exact:!0,...a,isActive:()=>l||!!o?.sidebar&&o.sidebar===i.sidebar,label:n??i.id,to:i.path})},docSidebar:function(e){let{sidebarId:t,label:n,docsPluginId:r,...a}=e;const{activeDoc:o}=(0,Be.zK)(r),i=(0,$e.fW)(t,r).link;if(!i)throw new Error(`DocSidebarNavbarItem: Sidebar with ID "${t}" doesn't have anything to be linked to.`);return(0,c.jsx)(oe,{exact:!0,...a,isActive:()=>o?.sidebar===t,label:n??i.label,to:i.path})},docsVersion:function(e){let{label:t,to:n,docsPluginId:r,...a}=e;const o=(0,$e.Vd)(r)[0],i=t??o.label,l=n??(e=>e.docs.find((t=>t.id===e.mainDocId)))(o).path;return(0,c.jsx)(oe,{...a,label:i,to:l})},docsVersionDropdown:function(e){let{mobile:t,docsPluginId:n,dropdownActiveClassDisabled:r,dropdownItemsBefore:a,dropdownItemsAfter:o,...i}=e;const{search:u,hash:d}=(0,l.zy)(),p=(0,Be.zK)(n),f=(0,Be.jh)(n),{savePreferredVersionName:m}=(0,Ue.g1)(n),h=[...a,...f.map((e=>{const t=p.alternateDocVersions[e.name]??qe(e);return{label:e.label,to:`${t.path}${u}${d}`,isActive:()=>e===p.activeVersion,onClick:()=>m(e.name)}})),...o],g=(0,$e.Vd)(n)[0],y=t&&h.length>1?(0,s.T)({id:"theme.navbar.mobileVersionsDropdown.label",message:"Versions",description:"The label for the navbar versions dropdown on mobile view"}):g.label,b=t&&h.length>1?void 0:qe(g).path;return h.length<=1?(0,c.jsx)(oe,{...i,mobile:t,label:y,to:b,isActive:r?()=>!1:void 0}):(0,c.jsx)(fe,{...i,mobile:t,label:y,to:b,items:h,isActive:r?()=>!1:void 0})}};function Ge(e){let{type:t,...n}=e;const r=function(e,t){return e&&"default"!==e?e:"items"in t?"dropdown":"default"}(t,n),a=He[r];if(!a)throw new Error(`No NavbarItem component found for type "${t}".`);return(0,c.jsx)(a,{...n})}function Ve(){const e=(0,j.M)(),t=(0,w.p)().navbar.items;return(0,c.jsx)("ul",{className:"menu__list",children:t.map(((t,n)=>(0,r.createElement)(Ge,{mobile:!0,...t,onClick:()=>e.toggle(),key:n})))})}function We(e){return(0,c.jsx)("button",{...e,type:"button",className:"clean-btn navbar-sidebar__back",children:(0,c.jsx)(s.A,{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 Ke(){const e=0===(0,w.p)().navbar.items.length,t=I();return(0,c.jsxs)(c.Fragment,{children:[!e&&(0,c.jsx)(We,{onClick:()=>t.hide()}),t.content]})}function Qe(){const e=(0,j.M)();var t;return void 0===(t=e.shown)&&(t=!0),(0,r.useEffect)((()=>(document.body.style.overflow=t?"hidden":"visible",()=>{document.body.style.overflow="visible"})),[t]),e.shouldRender?(0,c.jsx)(M,{header:(0,c.jsx)(Y,{}),primaryMenu:(0,c.jsx)(Ve,{}),secondaryMenu:(0,c.jsx)(Ke,{})}):null}const Ye={navbarHideable:"navbarHideable_m1mJ",navbarHidden:"navbarHidden_jGov"};function Ze(e){return(0,c.jsx)("div",{role:"presentation",...e,className:(0,a.A)("navbar-sidebar__backdrop",e.className)})}function Xe(e){let{children:t}=e;const{navbar:{hideOnScroll:n,style:o}}=(0,w.p)(),i=(0,j.M)(),{navbarRef:l,isNavbarVisible:d}=function(e){const[t,n]=(0,r.useState)(e),a=(0,r.useRef)(!1),o=(0,r.useRef)(0),i=(0,r.useCallback)((e=>{null!==e&&(o.current=e.getBoundingClientRect().height)}),[]);return(0,R.Mq)(((t,r)=>{let{scrollY:i}=t;if(!e)return;if(i<o.current)return void n(!0);if(a.current)return void(a.current=!1);const l=r?.scrollY,s=document.documentElement.scrollHeight-o.current,u=window.innerHeight;l&&i>=l?n(!1):i+u<s&&n(!0)})),(0,u.$)((t=>{if(!e)return;const r=t.location.hash;if(r?document.getElementById(r.substring(1)):void 0)return a.current=!0,void n(!1);n(!0)})),{navbarRef:i,isNavbarVisible:t}}(n);return(0,c.jsxs)("nav",{ref:l,"aria-label":(0,s.T)({id:"theme.NavBar.navAriaLabel",message:"Main",description:"The ARIA label for the main navigation"}),className:(0,a.A)("navbar","navbar--fixed-top",n&&[Ye.navbarHideable,!d&&Ye.navbarHidden],{"navbar--dark":"dark"===o,"navbar--primary":"primary"===o,"navbar-sidebar--show":i.shown}),children:[t,(0,c.jsx)(Ze,{onClick:i.toggle}),(0,c.jsx)(Qe,{})]})}var Je=n(2181);const et="right";function tt(e){let{width:t=30,height:n=30,className:r,...a}=e;return(0,c.jsx)("svg",{className:r,width:t,height:n,viewBox:"0 0 30 30","aria-hidden":"true",...a,children:(0,c.jsx)("path",{stroke:"currentColor",strokeLinecap:"round",strokeMiterlimit:"10",strokeWidth:"2",d:"M4 7h22M4 15h22M4 23h22"})})}function nt(){const{toggle:e,shown:t}=(0,j.M)();return(0,c.jsx)("button",{onClick:e,"aria-label":(0,s.T)({id:"theme.docs.sidebar.toggleSidebarButtonAriaLabel",message:"Toggle navigation bar",description:"The ARIA label for hamburger menu button of mobile navigation"}),"aria-expanded":t,className:"navbar__toggle clean-btn",type:"button",children:(0,c.jsx)(tt,{})})}const rt={colorModeToggle:"colorModeToggle_DEke"};function at(e){let{items:t}=e;return(0,c.jsx)(c.Fragment,{children:t.map(((e,t)=>(0,c.jsx)(Je.k2,{onError:t=>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:t}),children:(0,c.jsx)(Ge,{...e})},t)))})}function ot(e){let{left:t,right:n}=e;return(0,c.jsxs)("div",{className:"navbar__inner",children:[(0,c.jsx)("div",{className:"navbar__items",children:t}),(0,c.jsx)("div",{className:"navbar__items navbar__items--right",children:n})]})}function it(){const e=(0,j.M)(),t=(0,w.p)().navbar.items,[n,r]=function(e){function t(e){return"left"===(e.position??et)}return[e.filter(t),e.filter((e=>!t(e)))]}(t),a=t.find((e=>"search"===e.type));return(0,c.jsx)(ot,{left:(0,c.jsxs)(c.Fragment,{children:[!e.disabled&&(0,c.jsx)(nt,{}),(0,c.jsx)(K,{}),(0,c.jsx)(at,{items:n})]}),right:(0,c.jsxs)(c.Fragment,{children:[(0,c.jsx)(at,{items:r}),(0,c.jsx)(V,{className:rt.colorModeToggle}),!a&&(0,c.jsx)(ze,{children:(0,c.jsx)(Me,{})})]})})}function lt(){return(0,c.jsx)(Xe,{children:(0,c.jsx)(it,{})})}function st(e){let{item:t}=e;const{to:n,href:r,label:a,prependBaseUrlToHref:o,...i}=t,l=(0,X.Ay)(n),s=(0,X.Ay)(r,{forcePrependBaseUrl:!0});return(0,c.jsxs)(Z.A,{className:"footer__link-item",...r?{href:o?s:r}:{to:l},...i,children:[a,r&&!(0,J.A)(r)&&(0,c.jsx)(te.A,{})]})}function ut(e){let{item:t}=e;return t.html?(0,c.jsx)("li",{className:"footer__item",dangerouslySetInnerHTML:{__html:t.html}}):(0,c.jsx)("li",{className:"footer__item",children:(0,c.jsx)(st,{item:t})},t.href??t.to)}function ct(e){let{column:t}=e;return(0,c.jsxs)("div",{className:"col footer__col",children:[(0,c.jsx)("div",{className:"footer__title",children:t.title}),(0,c.jsx)("ul",{className:"footer__items clean-list",children:t.items.map(((e,t)=>(0,c.jsx)(ut,{item:e},t)))})]})}function dt(e){let{columns:t}=e;return(0,c.jsx)("div",{className:"row footer__links",children:t.map(((e,t)=>(0,c.jsx)(ct,{column:e},t)))})}function pt(){return(0,c.jsx)("span",{className:"footer__link-separator",children:"\xb7"})}function ft(e){let{item:t}=e;return t.html?(0,c.jsx)("span",{className:"footer__link-item",dangerouslySetInnerHTML:{__html:t.html}}):(0,c.jsx)(st,{item:t})}function mt(e){let{links:t}=e;return(0,c.jsx)("div",{className:"footer__links text--center",children:(0,c.jsx)("div",{className:"footer__links",children:t.map(((e,n)=>(0,c.jsxs)(r.Fragment,{children:[(0,c.jsx)(ft,{item:e}),t.length!==n+1&&(0,c.jsx)(pt,{})]},n)))})})}function ht(e){let{links:t}=e;return function(e){return"title"in e[0]}(t)?(0,c.jsx)(dt,{columns:t}):(0,c.jsx)(mt,{links:t})}var gt=n(1122);const yt={footerLogoLink:"footerLogoLink_BH7S"};function bt(e){let{logo:t}=e;const{withBaseUrl:n}=(0,X.hH)(),r={light:n(t.src),dark:n(t.srcDark??t.src)};return(0,c.jsx)(gt.A,{className:(0,a.A)("footer__logo",t.className),alt:t.alt,sources:r,width:t.width,height:t.height,style:t.style})}function vt(e){let{logo:t}=e;return t.href?(0,c.jsx)(Z.A,{href:t.href,className:yt.footerLogoLink,target:t.target,children:(0,c.jsx)(bt,{logo:t})}):(0,c.jsx)(bt,{logo:t})}function wt(e){let{copyright:t}=e;return(0,c.jsx)("div",{className:"footer__copyright",dangerouslySetInnerHTML:{__html:t}})}function kt(e){let{style:t,links:n,logo:r,copyright:o}=e;return(0,c.jsx)("footer",{className:(0,a.A)("footer",{"footer--dark":"dark"===t}),children:(0,c.jsxs)("div",{className:"container container-fluid",children:[n,(r||o)&&(0,c.jsxs)("div",{className:"footer__bottom text--center",children:[r&&(0,c.jsx)("div",{className:"margin-bottom--sm",children:r}),o]})]})})}function xt(){const{footer:e}=(0,w.p)();if(!e)return null;const{copyright:t,links:n,logo:r,style:a}=e;return(0,c.jsx)(kt,{style:a,links:n&&n.length>0&&(0,c.jsx)(ht,{links:n}),logo:r&&(0,c.jsx)(vt,{logo:r}),copyright:t&&(0,c.jsx)(wt,{copyright:t})})}const St=r.memo(xt),Et=(0,L.fM)([F.a,k.o,R.Tv,Ue.VQ,i.Jx,function(e){let{children:t}=e;return(0,c.jsx)(N.y_,{children:(0,c.jsx)(j.e,{children:(0,c.jsx)(O,{children:t})})})}]);function Ct(e){let{children:t}=e;return(0,c.jsx)(Et,{children:t})}var Tt=n(1107);function At(e){let{error:t,tryAgain:n}=e;return(0,c.jsx)("main",{className:"container margin-vert--xl",children:(0,c.jsx)("div",{className:"row",children:(0,c.jsxs)("div",{className:"col col--6 col--offset-3",children:[(0,c.jsx)(Tt.A,{as:"h1",className:"hero__title",children:(0,c.jsx)(s.A,{id:"theme.ErrorPageContent.title",description:"The title of the fallback page when the page crashed",children:"This page crashed."})}),(0,c.jsx)("div",{className:"margin-vert--lg",children:(0,c.jsx)(Je.a2,{onClick:n,className:"button button--primary shadow--lw"})}),(0,c.jsx)("hr",{}),(0,c.jsx)("div",{className:"margin-vert--md",children:(0,c.jsx)(Je.bq,{error:t})})]})})})}const _t={mainWrapper:"mainWrapper_z2l0"};function jt(e){const{children:t,noFooter:n,wrapperClassName:r,title:l,description:s}=e;return(0,y.J)(),(0,c.jsxs)(Ct,{children:[(0,c.jsx)(i.be,{title:l,description:s}),(0,c.jsx)(v,{}),(0,c.jsx)(_,{}),(0,c.jsx)(lt,{}),(0,c.jsx)("div",{id:d,className:(0,a.A)(g.G.wrapper.main,_t.mainWrapper,r),children:(0,c.jsx)(o.A,{fallback:e=>(0,c.jsx)(At,{...e}),children:t})}),!n&&(0,c.jsx)(St,{})]})}},3465:(e,t,n)=>{"use strict";n.d(t,{A:()=>c});n(6540);var r=n(8774),a=n(6025),o=n(4586),i=n(6342),l=n(1122),s=n(4848);function u(e){let{logo:t,alt:n,imageClassName:r}=e;const o={light:(0,a.Ay)(t.src),dark:(0,a.Ay)(t.srcDark||t.src)},i=(0,s.jsx)(l.A,{className:t.className,sources:o,height:t.height,width:t.width,alt:n,style:t.style});return r?(0,s.jsx)("div",{className:r,children:i}):i}function c(e){const{siteConfig:{title:t}}=(0,o.A)(),{navbar:{title:n,logo:l}}=(0,i.p)(),{imageClassName:c,titleClassName:d,...p}=e,f=(0,a.Ay)(l?.href||"/"),m=n?"":t,h=l?.alt??m;return(0,s.jsxs)(r.A,{to:f,...p,...l?.target&&{target:l.target},children:[l&&(0,s.jsx)(u,{logo:l,alt:h,imageClassName:c}),null!=n&&(0,s.jsx)("b",{className:d,children:n})]})}},1463:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});n(6540);var r=n(5260),a=n(4848);function o(e){let{locale:t,version:n,tag:o}=e;const i=t;return(0,a.jsxs)(r.A,{children:[t&&(0,a.jsx)("meta",{name:"docusaurus_locale",content:t}),n&&(0,a.jsx)("meta",{name:"docusaurus_version",content:n}),o&&(0,a.jsx)("meta",{name:"docusaurus_tag",content:o}),i&&(0,a.jsx)("meta",{name:"docsearch:language",content:i}),n&&(0,a.jsx)("meta",{name:"docsearch:version",content:n}),o&&(0,a.jsx)("meta",{name:"docsearch:docusaurus_tag",content:o})]})}},1122:(e,t,n)=>{"use strict";n.d(t,{A:()=>c});var r=n(6540),a=n(4164),o=n(2303),i=n(5293);const l={themedComponent:"themedComponent_mlkZ","themedComponent--light":"themedComponent--light_NVdE","themedComponent--dark":"themedComponent--dark_xIcU"};var s=n(4848);function u(e){let{className:t,children:n}=e;const u=(0,o.A)(),{colorMode:c}=(0,i.G)();return(0,s.jsx)(s.Fragment,{children:(u?"dark"===c?["dark"]:["light"]:["light","dark"]).map((e=>{const o=n({theme:e,className:(0,a.A)(t,l.themedComponent,l[`themedComponent--${e}`])});return(0,s.jsx)(r.Fragment,{children:o},e)}))})}function c(e){const{sources:t,className:n,alt:r,...a}=e;return(0,s.jsx)(u,{className:n,children:e=>{let{theme:n,className:o}=e;return(0,s.jsx)("img",{src:t[n],alt:r,className:o,...a})}})}},1422:(e,t,n)=>{"use strict";n.d(t,{N:()=>y,u:()=>u});var r=n(6540),a=n(8193),o=n(205),i=n(3109),l=n(4848);const s="ease-in-out";function u(e){let{initialState:t}=e;const[n,a]=(0,r.useState)(t??!1),o=(0,r.useCallback)((()=>{a((e=>!e))}),[]);return{collapsed:n,setCollapsed:a,toggleCollapsed:o}}const c={display:"none",overflow:"hidden",height:"0px"},d={display:"block",overflow:"visible",height:"auto"};function p(e,t){const n=t?c:d;e.style.display=n.display,e.style.overflow=n.overflow,e.style.height=n.height}function f(e){let{collapsibleRef:t,collapsed:n,animation:a}=e;const o=(0,r.useRef)(!1);(0,r.useEffect)((()=>{const e=t.current;function r(){const t=e.scrollHeight,n=a?.duration??function(e){if((0,i.O)())return 1;const t=e/36;return Math.round(10*(4+15*t**.25+t/5))}(t);return{transition:`height ${n}ms ${a?.easing??s}`,height:`${t}px`}}function l(){const t=r();e.style.transition=t.transition,e.style.height=t.height}if(!o.current)return p(e,n),void(o.current=!0);return e.style.willChange="height",function(){const t=requestAnimationFrame((()=>{n?(l(),requestAnimationFrame((()=>{e.style.height=c.height,e.style.overflow=c.overflow}))):(e.style.display="block",requestAnimationFrame((()=>{l()})))}));return()=>cancelAnimationFrame(t)}()}),[t,n,a])}function m(e){if(!a.A.canUseDOM)return e?c:d}function h(e){let{as:t="div",collapsed:n,children:a,animation:o,onCollapseTransitionEnd:i,className:s,disableSSRStyle:u}=e;const c=(0,r.useRef)(null);return f({collapsibleRef:c,collapsed:n,animation:o}),(0,l.jsx)(t,{ref:c,style:u?void 0:m(n),onTransitionEnd:e=>{"height"===e.propertyName&&(p(c.current,n),i?.(n))},className:s,children:a})}function g(e){let{collapsed:t,...n}=e;const[a,i]=(0,r.useState)(!t),[s,u]=(0,r.useState)(t);return(0,o.A)((()=>{t||i(!0)}),[t]),(0,o.A)((()=>{a&&u(t)}),[a,t]),a?(0,l.jsx)(h,{...n,collapsed:s}):null}function y(e){let{lazy:t,...n}=e;const r=t?g:h;return(0,l.jsx)(r,{...n})}},5041:(e,t,n)=>{"use strict";n.d(t,{M:()=>h,o:()=>m});var r=n(6540),a=n(2303),o=n(679),i=n(9532),l=n(6342),s=n(4848);const u=(0,o.Wf)("docusaurus.announcement.dismiss"),c=(0,o.Wf)("docusaurus.announcement.id"),d=()=>"true"===u.get(),p=e=>u.set(String(e)),f=r.createContext(null);function m(e){let{children:t}=e;const n=function(){const{announcementBar:e}=(0,l.p)(),t=(0,a.A)(),[n,o]=(0,r.useState)((()=>!!t&&d()));(0,r.useEffect)((()=>{o(d())}),[]);const i=(0,r.useCallback)((()=>{p(!0),o(!0)}),[]);return(0,r.useEffect)((()=>{if(!e)return;const{id:t}=e;let n=c.get();"annoucement-bar"===n&&(n="announcement-bar");const r=t!==n;c.set(t),r&&p(!1),!r&&d()||o(!1)}),[e]),(0,r.useMemo)((()=>({isActive:!!e&&!n,close:i})),[e,n,i])}();return(0,s.jsx)(f.Provider,{value:n,children:t})}function h(){const e=(0,r.useContext)(f);if(!e)throw new i.dV("AnnouncementBarProvider");return e}},5293:(e,t,n)=>{"use strict";n.d(t,{G:()=>y,a:()=>g});var r=n(6540),a=n(8193),o=n(9532),i=n(679),l=n(6342),s=n(4848);const u=r.createContext(void 0),c="theme",d=(0,i.Wf)(c),p={light:"light",dark:"dark"},f=e=>e===p.dark?p.dark:p.light,m=e=>a.A.canUseDOM?f(document.documentElement.getAttribute("data-theme")):f(e),h=e=>{d.set(f(e))};function g(e){let{children:t}=e;const n=function(){const{colorMode:{defaultMode:e,disableSwitch:t,respectPrefersColorScheme:n}}=(0,l.p)(),[a,o]=(0,r.useState)(m(e));(0,r.useEffect)((()=>{t&&d.del()}),[t]);const i=(0,r.useCallback)((function(t,r){void 0===r&&(r={});const{persist:a=!0}=r;t?(o(t),a&&h(t)):(o(n?window.matchMedia("(prefers-color-scheme: dark)").matches?p.dark:p.light:e),d.del())}),[n,e]);(0,r.useEffect)((()=>{document.documentElement.setAttribute("data-theme",f(a))}),[a]),(0,r.useEffect)((()=>{if(t)return;const e=e=>{if(e.key!==c)return;const t=d.get();null!==t&&i(f(t))};return window.addEventListener("storage",e),()=>window.removeEventListener("storage",e)}),[t,i]);const s=(0,r.useRef)(!1);return(0,r.useEffect)((()=>{if(t&&!n)return;const e=window.matchMedia("(prefers-color-scheme: dark)"),r=()=>{window.matchMedia("print").matches||s.current?s.current=window.matchMedia("print").matches:i(null)};return e.addListener(r),()=>e.removeListener(r)}),[i,t,n]),(0,r.useMemo)((()=>({colorMode:a,setColorMode:i,get isDarkTheme(){return a===p.dark},setLightTheme(){i(p.light)},setDarkTheme(){i(p.dark)}})),[a,i])}();return(0,s.jsx)(u.Provider,{value:n,children:t})}function y(){const e=(0,r.useContext)(u);if(null==e)throw new o.dV("ColorModeProvider","Please see https://docusaurus.io/docs/api/themes/configuration#use-color-mode.");return e}},5597:(e,t,n)=>{"use strict";n.d(t,{VQ:()=>y,XK:()=>w,g1:()=>v});var r=n(6540),a=n(4070),o=n(7065),i=n(6342),l=n(1754),s=n(9532),u=n(679),c=n(4848);const d=e=>`docs-preferred-version-${e}`,p={save:(e,t,n)=>{(0,u.Wf)(d(e),{persistence:t}).set(n)},read:(e,t)=>(0,u.Wf)(d(e),{persistence:t}).get(),clear:(e,t)=>{(0,u.Wf)(d(e),{persistence:t}).del()}},f=e=>Object.fromEntries(e.map((e=>[e,{preferredVersionName:null}])));const m=r.createContext(null);function h(){const e=(0,a.Gy)(),t=(0,i.p)().docs.versionPersistence,n=(0,r.useMemo)((()=>Object.keys(e)),[e]),[o,l]=(0,r.useState)((()=>f(n)));(0,r.useEffect)((()=>{l(function(e){let{pluginIds:t,versionPersistence:n,allDocsData:r}=e;function a(e){const t=p.read(e,n);return r[e].versions.some((e=>e.name===t))?{preferredVersionName:t}:(p.clear(e,n),{preferredVersionName:null})}return Object.fromEntries(t.map((e=>[e,a(e)])))}({allDocsData:e,versionPersistence:t,pluginIds:n}))}),[e,t,n]);return[o,(0,r.useMemo)((()=>({savePreferredVersion:function(e,n){p.save(e,t,n),l((t=>({...t,[e]:{preferredVersionName:n}})))}})),[t])]}function g(e){let{children:t}=e;const n=h();return(0,c.jsx)(m.Provider,{value:n,children:t})}function y(e){let{children:t}=e;return l.C5?(0,c.jsx)(g,{children:t}):(0,c.jsx)(c.Fragment,{children:t})}function b(){const e=(0,r.useContext)(m);if(!e)throw new s.dV("DocsPreferredVersionContextProvider");return e}function v(e){void 0===e&&(e=o.W);const t=(0,a.ht)(e),[n,i]=b(),{preferredVersionName:l}=n[e];return{preferredVersion:t.versions.find((e=>e.name===l))??null,savePreferredVersionName:(0,r.useCallback)((t=>{i.savePreferredVersion(e,t)}),[i,e])}}function w(){const e=(0,a.Gy)(),[t]=b();function n(n){const r=e[n],{preferredVersionName:a}=t[n];return r.versions.find((e=>e.name===a))??null}const r=Object.keys(e);return Object.fromEntries(r.map((e=>[e,n(e)])))}},6588:(e,t,n)=>{"use strict";n.d(t,{V:()=>s,t:()=>u});var r=n(6540),a=n(9532),o=n(4848);const i=Symbol("EmptyContext"),l=r.createContext(i);function s(e){let{children:t,name:n,items:a}=e;const i=(0,r.useMemo)((()=>n&&a?{name:n,items:a}:null),[n,a]);return(0,o.jsx)(l.Provider,{value:i,children:t})}function u(){const e=(0,r.useContext)(l);if(e===i)throw new a.dV("DocsSidebarProvider");return e}},2252:(e,t,n)=>{"use strict";n.d(t,{n:()=>l,r:()=>s});var r=n(6540),a=n(9532),o=n(4848);const i=r.createContext(null);function l(e){let{children:t,version:n}=e;return(0,o.jsx)(i.Provider,{value:n,children:t})}function s(){const e=(0,r.useContext)(i);if(null===e)throw new a.dV("DocsVersionProvider");return e}},2069:(e,t,n)=>{"use strict";n.d(t,{M:()=>f,e:()=>p});var r=n(6540),a=n(5600),o=n(4581),i=n(7485),l=n(6342),s=n(9532),u=n(4848);const c=r.createContext(void 0);function d(){const e=function(){const e=(0,a.YL)(),{items:t}=(0,l.p)().navbar;return 0===t.length&&!e.component}(),t=(0,o.l)(),n=!e&&"mobile"===t,[s,u]=(0,r.useState)(!1);(0,i.$Z)((()=>{if(s)return u(!1),!1}));const c=(0,r.useCallback)((()=>{u((e=>!e))}),[]);return(0,r.useEffect)((()=>{"desktop"===t&&u(!1)}),[t]),(0,r.useMemo)((()=>({disabled:e,shouldRender:n,toggle:c,shown:s})),[e,n,c,s])}function p(e){let{children:t}=e;const n=d();return(0,u.jsx)(c.Provider,{value:n,children:t})}function f(){const e=r.useContext(c);if(void 0===e)throw new s.dV("NavbarMobileSidebarProvider");return e}},5600:(e,t,n)=>{"use strict";n.d(t,{GX:()=>u,YL:()=>s,y_:()=>l});var r=n(6540),a=n(9532),o=n(4848);const i=r.createContext(null);function l(e){let{children:t}=e;const n=(0,r.useState)({component:null,props:null});return(0,o.jsx)(i.Provider,{value:n,children:t})}function s(){const e=(0,r.useContext)(i);if(!e)throw new a.dV("NavbarSecondaryMenuContentProvider");return e[0]}function u(e){let{component:t,props:n}=e;const o=(0,r.useContext)(i);if(!o)throw new a.dV("NavbarSecondaryMenuContentProvider");const[,l]=o,s=(0,a.Be)(n);return(0,r.useEffect)((()=>{l({component:t,props:s})}),[l,t,s]),(0,r.useEffect)((()=>()=>l({component:null,props:null})),[l]),null}},4090:(e,t,n)=>{"use strict";n.d(t,{w:()=>a,J:()=>o});var r=n(6540);const a="navigation-with-keyboard";function o(){(0,r.useEffect)((()=>{function e(e){"keydown"===e.type&&"Tab"===e.key&&document.body.classList.add(a),"mousedown"===e.type&&document.body.classList.remove(a)}return document.addEventListener("keydown",e),document.addEventListener("mousedown",e),()=>{document.body.classList.remove(a),document.removeEventListener("keydown",e),document.removeEventListener("mousedown",e)}}),[])}},4255:(e,t,n)=>{"use strict";n.d(t,{b:()=>l,w:()=>s});var r=n(6540),a=n(4586),o=n(7485);const i="q";function l(){return(0,o.l)(i)}function s(){const{siteConfig:{baseUrl:e,themeConfig:t}}=(0,a.A)(),{algolia:{searchPagePath:n}}=t;return(0,r.useCallback)((t=>`${e}${n}?${i}=${encodeURIComponent(t)}`),[e,n])}},4581:(e,t,n)=>{"use strict";n.d(t,{l:()=>l});var r=n(6540),a=n(8193);const o={desktop:"desktop",mobile:"mobile",ssr:"ssr"},i=996;function l(e){let{desktopBreakpoint:t=i}=void 0===e?{}:e;const[n,l]=(0,r.useState)((()=>"ssr"));return(0,r.useEffect)((()=>{function e(){l(function(e){if(!a.A.canUseDOM)throw new Error("getWindowSize() should only be called after React hydration");return window.innerWidth>e?o.desktop:o.mobile}(t))}return e(),window.addEventListener("resize",e),()=>{window.removeEventListener("resize",e)}}),[t]),n}},7559:(e,t,n)=>{"use strict";n.d(t,{G:()=>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"}}},3109:(e,t,n)=>{"use strict";function r(){return window.matchMedia("(prefers-reduced-motion: reduce)").matches}n.d(t,{O:()=>r})},1754:(e,t,n)=>{"use strict";n.d(t,{Nr:()=>f,w8:()=>g,C5:()=>p,B5:()=>E,Vd:()=>k,QB:()=>S,fW:()=>x,OF:()=>w,Y:()=>b});var r=n(6540),a=n(6347),o=n(2831),i=n(4070),l=n(5597),s=n(2252),u=n(6588);function c(e){return Array.from(new Set(e))}var d=n(9169);const p=!!i.Gy;function f(e){return"link"!==e.type||e.unlisted?"category"===e.type?function(e){if(e.href&&!e.linkUnlisted)return e.href;for(const t of e.items){const e=f(t);if(e)return e}}(e):void 0:e.href}const m=(e,t)=>void 0!==e&&(0,d.ys)(e,t),h=(e,t)=>e.some((e=>g(e,t)));function g(e,t){return"link"===e.type?m(e.href,t):"category"===e.type&&(m(e.href,t)||h(e.items,t))}function y(e,t){switch(e.type){case"category":return g(e,t)||e.items.some((e=>y(e,t)));case"link":return!e.unlisted||g(e,t);default:return!0}}function b(e,t){return(0,r.useMemo)((()=>e.filter((e=>y(e,t)))),[e,t])}function v(e){let{sidebarItems:t,pathname:n,onlyCategories:r=!1}=e;const a=[];return function e(t){for(const o of t)if("category"===o.type&&((0,d.ys)(o.href,n)||e(o.items))||"link"===o.type&&(0,d.ys)(o.href,n)){return r&&"category"!==o.type||a.unshift(o),!0}return!1}(t),a}function w(){const e=(0,u.t)(),{pathname:t}=(0,a.zy)(),n=(0,i.vT)()?.pluginData.breadcrumbs;return!1!==n&&e?v({sidebarItems:e.items,pathname:t}):null}function k(e){const{activeVersion:t}=(0,i.zK)(e),{preferredVersion:n}=(0,l.g1)(e),a=(0,i.r7)(e);return(0,r.useMemo)((()=>c([t,n,a].filter(Boolean))),[t,n,a])}function x(e,t){const n=k(t);return(0,r.useMemo)((()=>{const t=n.flatMap((e=>e.sidebars?Object.entries(e.sidebars):[])),r=t.find((t=>t[0]===e));if(!r)throw new Error(`Can't find any sidebar with id "${e}" in version${n.length>1?"s":""} ${n.map((e=>e.name)).join(", ")}".\nAvailable sidebar ids are:\n- ${t.map((e=>e[0])).join("\n- ")}`);return r[1]}),[e,n])}function S(e,t){const n=k(t);return(0,r.useMemo)((()=>{const t=n.flatMap((e=>e.docs)),r=t.find((t=>t.id===e));if(!r){if(n.flatMap((e=>e.draftIds)).includes(e))return null;throw new Error(`Couldn't find any doc with id "${e}" in version${n.length>1?"s":""} "${n.map((e=>e.name)).join(", ")}".\nAvailable doc ids are:\n- ${c(t.map((e=>e.id))).join("\n- ")}`)}return r}),[e,n])}function E(e){let{route:t}=e;const n=(0,a.zy)(),r=(0,s.r)(),i=t.routes,l=i.find((e=>(0,a.B6)(n.pathname,e)));if(!l)return null;const u=l.sidebar,c=u?r.docsSidebars[u]:void 0;return{docElement:(0,o.v)(i),sidebarName:u,sidebarItems:c}}},2181:(e,t,n)=>{"use strict";n.d(t,{bq:()=>c,MN:()=>u,a2:()=>s,k2:()=>d});var r=n(6540),a=n(1312),o=n(440);const i={errorBoundaryError:"errorBoundaryError_a6uf",errorBoundaryFallback:"errorBoundaryFallback_VBag"};var l=n(4848);function s(e){return(0,l.jsx)("button",{type:"button",...e,children:(0,l.jsx)(a.A,{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 u(e){let{error:t,tryAgain:n}=e;return(0,l.jsxs)("div",{className:i.errorBoundaryFallback,children:[(0,l.jsx)("p",{children:t.message}),(0,l.jsx)(s,{onClick:n})]})}function c(e){let{error:t}=e;const n=(0,o.getErrorCausalChain)(t).map((e=>e.message)).join("\n\nCause:\n");return(0,l.jsx)("p",{className:i.errorBoundaryError,children:n})}class d extends r.Component{componentDidCatch(e,t){throw this.props.onError(e,t)}render(){return this.props.children}}},481:(e,t,n)=>{"use strict";n.d(t,{s:()=>a});var r=n(4586);function a(e){const{siteConfig:t}=(0,r.A)(),{title:n,titleDelimiter:a}=t;return e?.trim().length?`${e.trim()} ${a} ${n}`:n}},7485:(e,t,n)=>{"use strict";n.d(t,{$Z:()=>i,l:()=>s});var r=n(6540),a=n(6347),o=n(9532);function i(e){!function(e){const t=(0,a.W6)(),n=(0,o._q)(e);(0,r.useEffect)((()=>t.block(((e,t)=>n(e,t)))),[t,n])}(((t,n)=>{if("POP"===n)return e(t,n)}))}function l(e){const t=(0,a.W6)();return(0,r.useSyncExternalStore)(t.listen,(()=>e(t)),(()=>e(t)))}function s(e){const t=function(e){return l((t=>null===e?null:new URLSearchParams(t.location.search).get(e)))}(e)??"",n=function(e){const t=(0,a.W6)();return(0,r.useCallback)(((n,r)=>{const a=new URLSearchParams(t.location.search);n?a.set(e,n):a.delete(e),(r?.push?t.push:t.replace)({search:a.toString()})}),[e,t])}(e);return[t,n]}},9024:(e,t,n)=>{"use strict";n.d(t,{e3:()=>f,be:()=>d,Jx:()=>m});var r=n(6540),a=n(4164),o=n(5260),i=n(3102);function l(){const e=r.useContext(i.o);if(!e)throw new Error("Unexpected: no Docusaurus route context found");return e}var s=n(6025),u=n(481),c=n(4848);function d(e){let{title:t,description:n,keywords:r,image:a,children:i}=e;const l=(0,u.s)(t),{withBaseUrl:d}=(0,s.hH)(),p=a?d(a,{absolute:!0}):void 0;return(0,c.jsxs)(o.A,{children:[t&&(0,c.jsx)("title",{children:l}),t&&(0,c.jsx)("meta",{property:"og:title",content:l}),n&&(0,c.jsx)("meta",{name:"description",content:n}),n&&(0,c.jsx)("meta",{property:"og:description",content:n}),r&&(0,c.jsx)("meta",{name:"keywords",content:Array.isArray(r)?r.join(","):r}),p&&(0,c.jsx)("meta",{property:"og:image",content:p}),p&&(0,c.jsx)("meta",{name:"twitter:image",content:p}),i]})}const p=r.createContext(void 0);function f(e){let{className:t,children:n}=e;const i=r.useContext(p),l=(0,a.A)(i,t);return(0,c.jsxs)(p.Provider,{value:l,children:[(0,c.jsx)(o.A,{children:(0,c.jsx)("html",{className:l})}),n]})}function m(e){let{children:t}=e;const n=l(),r=`plugin-${n.plugin.name.replace(/docusaurus-(?:plugin|theme)-(?:content-)?/gi,"")}`;const o=`plugin-id-${n.plugin.id}`;return(0,c.jsx)(f,{className:(0,a.A)(r,o),children:t})}},9532:(e,t,n)=>{"use strict";n.d(t,{Be:()=>u,ZC:()=>l,_q:()=>i,dV:()=>s,fM:()=>c});var r=n(6540),a=n(205),o=n(4848);function i(e){const t=(0,r.useRef)(e);return(0,a.A)((()=>{t.current=e}),[e]),(0,r.useCallback)((function(){return t.current(...arguments)}),[])}function l(e){const t=(0,r.useRef)();return(0,a.A)((()=>{t.current=e})),t.current}class s extends Error{constructor(e,t){super(),this.name="ReactContextError",this.message=`Hook ${this.stack?.split("\n")[1]?.match(/at (?:\w+\.)?(?<name>\w+)/)?.groups.name??""} is called outside the <${e}>. ${t??""}`}}function u(e){const t=Object.entries(e);return t.sort(((e,t)=>e[0].localeCompare(t[0]))),(0,r.useMemo)((()=>e),t.flat())}function c(e){return t=>{let{children:n}=t;return(0,o.jsx)(o.Fragment,{children:e.reduceRight(((e,t)=>(0,o.jsx)(t,{children:e})),n)})}}},1252:(e,t,n)=>{"use strict";function r(e,t){return void 0!==e&&void 0!==t&&new RegExp(e,"gi").test(t)}n.d(t,{G:()=>r})},9169:(e,t,n)=>{"use strict";n.d(t,{Dt:()=>l,ys:()=>i});var r=n(6540),a=n(8328),o=n(4586);function i(e,t){const n=e=>(!e||e.endsWith("/")?e:`${e}/`)?.toLowerCase();return n(e)===n(t)}function l(){const{baseUrl:e}=(0,o.A)().siteConfig;return(0,r.useMemo)((()=>function(e){let{baseUrl:t,routes:n}=e;function r(e){return e.path===t&&!0===e.exact}function a(e){return e.path===t&&!e.exact}return function e(t){if(0===t.length)return;return t.find(r)||e(t.filter(a).flatMap((e=>e.routes??[])))}(n)}({routes:a.A,baseUrl:e})),[e])}},3104:(e,t,n)=>{"use strict";n.d(t,{Mq:()=>p,Tv:()=>u,gk:()=>f});var r=n(6540),a=n(8193),o=n(2303),i=(n(205),n(9532)),l=n(4848);const s=r.createContext(void 0);function u(e){let{children:t}=e;const n=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)(s.Provider,{value:n,children:t})}function c(){const e=(0,r.useContext)(s);if(null==e)throw new i.dV("ScrollControllerProvider");return e}const d=()=>a.A.canUseDOM?{scrollX:window.pageXOffset,scrollY:window.pageYOffset}:null;function p(e,t){void 0===t&&(t=[]);const{scrollEventsEnabledRef:n}=c(),a=(0,r.useRef)(d()),o=(0,i._q)(e);(0,r.useEffect)((()=>{const e=()=>{if(!n.current)return;const e=d();o(e,a.current),a.current=e},t={passive:!0};return e(),window.addEventListener("scroll",e,t),()=>window.removeEventListener("scroll",e,t)}),[o,n,...t])}function f(){const e=(0,r.useRef)(null),t=(0,o.A)()&&"smooth"===getComputedStyle(document.documentElement).scrollBehavior;return{startScroll:n=>{e.current=t?function(e){return window.scrollTo({top:e,behavior:"smooth"}),()=>{}}(n):function(e){let t=null;const n=document.documentElement.scrollTop>e;return function r(){const a=document.documentElement.scrollTop;(n&&a>e||!n&&a<e)&&(t=requestAnimationFrame(r),window.scrollTo(0,Math.floor(.85*(a-e))+e))}(),()=>t&&cancelAnimationFrame(t)}(n)},cancelScroll:()=>e.current?.()}}},2967:(e,t,n)=>{"use strict";n.d(t,{Cy:()=>i,af:()=>s,tU:()=>l});var r=n(4070),a=n(4586),o=n(5597);const i="default";function l(e,t){return`docs-${e}-${t}`}function s(){const{i18n:e}=(0,a.A)(),t=(0,r.Gy)(),n=(0,r.gk)(),s=(0,o.XK)();const u=[i,...Object.keys(t).map((function(e){const r=n?.activePlugin.pluginId===e?n.activeVersion:void 0,a=s[e],o=t[e].versions.find((e=>e.isLast));return l(e,(r??a??o).name)}))];return{locale:e.currentLocale,tags:u}}},679:(e,t,n)=>{"use strict";n.d(t,{Wf:()=>u});n(6540);const r=JSON.parse('{"N":"localStorage","M":""}'),a=r.N;function o(e){let{key:t,oldValue:n,newValue:r,storage:a}=e;if(n===r)return;const o=document.createEvent("StorageEvent");o.initStorageEvent("storage",!1,!1,t,n,r,window.location.href,a),window.dispatchEvent(o)}function i(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(n){return t=n,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.",t),l=!0),null}var t}let l=!1;const s={get:()=>null,set:()=>{},del:()=>{},listen:()=>()=>{}};function u(e,t){const n=`${e}${r.M}`;if("undefined"==typeof window)return function(e){function t(){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:t,set:t,del:t,listen:t}}(n);const a=i(t?.persistence);return null===a?s:{get:()=>{try{return a.getItem(n)}catch(e){return console.error(`Docusaurus storage error, can't get key=${n}`,e),null}},set:e=>{try{const t=a.getItem(n);a.setItem(n,e),o({key:n,oldValue:t,newValue:e,storage:a})}catch(t){console.error(`Docusaurus storage error, can't set ${n}=${e}`,t)}},del:()=>{try{const e=a.getItem(n);a.removeItem(n),o({key:n,oldValue:e,newValue:null,storage:a})}catch(e){console.error(`Docusaurus storage error, can't delete key=${n}`,e)}},listen:e=>{try{const t=t=>{t.storageArea===a&&t.key===n&&e(t)};return window.addEventListener("storage",t),()=>window.removeEventListener("storage",t)}catch(t){return console.error(`Docusaurus storage error, can't listen for changes of key=${n}`,t),()=>{}}}}}},2131:(e,t,n)=>{"use strict";n.d(t,{o:()=>i});var r=n(4586),a=n(6347),o=n(440);function i(){const{siteConfig:{baseUrl:e,url:t,trailingSlash:n},i18n:{defaultLocale:i,currentLocale:l}}=(0,r.A)(),{pathname:s}=(0,a.zy)(),u=(0,o.applyTrailingSlash)(s,{trailingSlash:n,baseUrl:e}),c=l===i?e:e.replace(`/${l}/`,"/"),d=u.replace(e,"");return{createUrl:function(e){let{locale:n,fullyQualified:r}=e;return`${r?t:""}${function(e){return e===i?`${c}`:`${c}${e}/`}(n)}${d}`}}}},5062:(e,t,n)=>{"use strict";n.d(t,{$:()=>i});var r=n(6540),a=n(6347),o=n(9532);function i(e){const t=(0,a.zy)(),n=(0,o.ZC)(t),i=(0,o._q)(e);(0,r.useEffect)((()=>{n&&t!==n&&i({location:t,previousLocation:n})}),[i,t,n])}},6342:(e,t,n)=>{"use strict";n.d(t,{p:()=>a});var r=n(4586);function a(){return(0,r.A)().siteConfig.themeConfig}},8126:(e,t,n)=>{"use strict";n.d(t,{c:()=>a});var r=n(4586);function a(){const{siteConfig:{themeConfig:e}}=(0,r.A)();return e}},1062:(e,t,n)=>{"use strict";n.d(t,{C:()=>l});var r=n(6540),a=n(1252),o=n(6025),i=n(8126);function l(){const{withBaseUrl:e}=(0,o.hH)(),{algolia:{externalUrlRegex:t,replaceSearchResultPathname:n}}=(0,i.c)();return(0,r.useCallback)((r=>{const o=new URL(r);if((0,a.G)(t,o.href))return r;const i=`${o.pathname+o.hash}`;return e(function(e,t){return t?e.replaceAll(new RegExp(t.from,"g"),t.to):e}(i,n))}),[e,t,n])}},2983:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.removeTrailingSlash=t.addLeadingSlash=t.addTrailingSlash=void 0;const r=n(2566);function a(e){return e.endsWith("/")?e:`${e}/`}function o(e){return(0,r.removeSuffix)(e,"/")}t.addTrailingSlash=a,t.default=function(e,t){const{trailingSlash:n,baseUrl:r}=t;if(e.startsWith("#"))return e;if(void 0===n)return e;const[i]=e.split(/[#?]/),l="/"===i||i===r?i:(s=i,n?a(s):o(s));var s;return e.replace(i,l)},t.addLeadingSlash=function(e){return(0,r.addPrefix)(e,"/")},t.removeTrailingSlash=o},253:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getErrorCausalChain=void 0,t.getErrorCausalChain=function e(t){return t.cause?[t,...e(t.cause)]:[t]}},440: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.getErrorCausalChain=t.removePrefix=t.addSuffix=t.removeSuffix=t.addPrefix=t.removeTrailingSlash=t.addLeadingSlash=t.addTrailingSlash=t.applyTrailingSlash=t.blogPostContainerID=void 0,t.blogPostContainerID="__blog-post-container";var a=n(2983);Object.defineProperty(t,"applyTrailingSlash",{enumerable:!0,get:function(){return r(a).default}}),Object.defineProperty(t,"addTrailingSlash",{enumerable:!0,get:function(){return a.addTrailingSlash}}),Object.defineProperty(t,"addLeadingSlash",{enumerable:!0,get:function(){return a.addLeadingSlash}}),Object.defineProperty(t,"removeTrailingSlash",{enumerable:!0,get:function(){return a.removeTrailingSlash}});var o=n(2566);Object.defineProperty(t,"addPrefix",{enumerable:!0,get:function(){return o.addPrefix}}),Object.defineProperty(t,"removeSuffix",{enumerable:!0,get:function(){return o.removeSuffix}}),Object.defineProperty(t,"addSuffix",{enumerable:!0,get:function(){return o.addSuffix}}),Object.defineProperty(t,"removePrefix",{enumerable:!0,get:function(){return o.removePrefix}});var i=n(253);Object.defineProperty(t,"getErrorCausalChain",{enumerable:!0,get:function(){return i.getErrorCausalChain}})},2566:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.removePrefix=t.addSuffix=t.removeSuffix=t.addPrefix=void 0,t.addPrefix=function(e,t){return e.startsWith(t)?e:`${t}${e}`},t.removeSuffix=function(e,t){return""===t?e:e.endsWith(t)?e.slice(0,-t.length):e},t.addSuffix=function(e,t){return e.endsWith(t)?e:`${e}${t}`},t.removePrefix=function(e,t){return e.startsWith(t)?e.slice(t.length):e}},1513:(e,t,n)=>{"use strict";n.d(t,{zR:()=>w,TM:()=>T,yJ:()=>f,sC:()=>_,AO:()=>p});var r=n(8168);function a(e){return"/"===e.charAt(0)}function o(e,t){for(var n=t,r=n+1,a=e.length;r<a;n+=1,r+=1)e[n]=e[r];e.pop()}const i=function(e,t){void 0===t&&(t="");var n,r=e&&e.split("/")||[],i=t&&t.split("/")||[],l=e&&a(e),s=t&&a(t),u=l||s;if(e&&a(e)?i=r:r.length&&(i.pop(),i=i.concat(r)),!i.length)return"/";if(i.length){var c=i[i.length-1];n="."===c||".."===c||""===c}else n=!1;for(var d=0,p=i.length;p>=0;p--){var f=i[p];"."===f?o(i,p):".."===f?(o(i,p),d++):d&&(o(i,p),d--)}if(!u)for(;d--;d)i.unshift("..");!u||""===i[0]||i[0]&&a(i[0])||i.unshift("");var m=i.join("/");return n&&"/"!==m.substr(-1)&&(m+="/"),m};var l=n(1561);function s(e){return"/"===e.charAt(0)?e:"/"+e}function u(e){return"/"===e.charAt(0)?e.substr(1):e}function c(e,t){return function(e,t){return 0===e.toLowerCase().indexOf(t.toLowerCase())&&-1!=="/?#".indexOf(e.charAt(t.length))}(e,t)?e.substr(t.length):e}function d(e){return"/"===e.charAt(e.length-1)?e.slice(0,-1):e}function p(e){var t=e.pathname,n=e.search,r=e.hash,a=t||"/";return n&&"?"!==n&&(a+="?"===n.charAt(0)?n:"?"+n),r&&"#"!==r&&(a+="#"===r.charAt(0)?r:"#"+r),a}function f(e,t,n,a){var o;"string"==typeof e?(o=function(e){var t=e||"/",n="",r="",a=t.indexOf("#");-1!==a&&(r=t.substr(a),t=t.substr(0,a));var o=t.indexOf("?");return-1!==o&&(n=t.substr(o),t=t.substr(0,o)),{pathname:t,search:"?"===n?"":n,hash:"#"===r?"":r}}(e),o.state=t):(void 0===(o=(0,r.A)({},e)).pathname&&(o.pathname=""),o.search?"?"!==o.search.charAt(0)&&(o.search="?"+o.search):o.search="",o.hash?"#"!==o.hash.charAt(0)&&(o.hash="#"+o.hash):o.hash="",void 0!==t&&void 0===o.state&&(o.state=t));try{o.pathname=decodeURI(o.pathname)}catch(l){throw l instanceof URIError?new URIError('Pathname "'+o.pathname+'" could not be decoded. This is likely caused by an invalid percent-encoding.'):l}return n&&(o.key=n),a?o.pathname?"/"!==o.pathname.charAt(0)&&(o.pathname=i(o.pathname,a.pathname)):o.pathname=a.pathname:o.pathname||(o.pathname="/"),o}function m(){var e=null;var t=[];return{setPrompt:function(t){return e=t,function(){e===t&&(e=null)}},confirmTransitionTo:function(t,n,r,a){if(null!=e){var o="function"==typeof e?e(t,n):e;"string"==typeof o?"function"==typeof r?r(o,a):a(!0):a(!1!==o)}else a(!0)},appendListener:function(e){var n=!0;function r(){n&&e.apply(void 0,arguments)}return t.push(r),function(){n=!1,t=t.filter((function(e){return e!==r}))}},notifyListeners:function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];t.forEach((function(e){return e.apply(void 0,n)}))}}}var h=!("undefined"==typeof window||!window.document||!window.document.createElement);function g(e,t){t(window.confirm(e))}var y="popstate",b="hashchange";function v(){try{return window.history.state||{}}catch(e){return{}}}function w(e){void 0===e&&(e={}),h||(0,l.A)(!1);var t,n=window.history,a=(-1===(t=window.navigator.userAgent).indexOf("Android 2.")&&-1===t.indexOf("Android 4.0")||-1===t.indexOf("Mobile Safari")||-1!==t.indexOf("Chrome")||-1!==t.indexOf("Windows Phone"))&&window.history&&"pushState"in window.history,o=!(-1===window.navigator.userAgent.indexOf("Trident")),i=e,u=i.forceRefresh,w=void 0!==u&&u,k=i.getUserConfirmation,x=void 0===k?g:k,S=i.keyLength,E=void 0===S?6:S,C=e.basename?d(s(e.basename)):"";function T(e){var t=e||{},n=t.key,r=t.state,a=window.location,o=a.pathname+a.search+a.hash;return C&&(o=c(o,C)),f(o,r,n)}function A(){return Math.random().toString(36).substr(2,E)}var _=m();function j(e){(0,r.A)($,e),$.length=n.length,_.notifyListeners($.location,$.action)}function R(e){(function(e){return void 0===e.state&&-1===navigator.userAgent.indexOf("CriOS")})(e)||P(T(e.state))}function L(){P(T(v()))}var N=!1;function P(e){if(N)N=!1,j();else{_.confirmTransitionTo(e,"POP",x,(function(t){t?j({action:"POP",location:e}):function(e){var t=$.location,n=D.indexOf(t.key);-1===n&&(n=0);var r=D.indexOf(e.key);-1===r&&(r=0);var a=n-r;a&&(N=!0,M(a))}(e)}))}}var O=T(v()),D=[O.key];function I(e){return C+p(e)}function M(e){n.go(e)}var F=0;function z(e){1===(F+=e)&&1===e?(window.addEventListener(y,R),o&&window.addEventListener(b,L)):0===F&&(window.removeEventListener(y,R),o&&window.removeEventListener(b,L))}var B=!1;var $={length:n.length,action:"POP",location:O,createHref:I,push:function(e,t){var r="PUSH",o=f(e,t,A(),$.location);_.confirmTransitionTo(o,r,x,(function(e){if(e){var t=I(o),i=o.key,l=o.state;if(a)if(n.pushState({key:i,state:l},null,t),w)window.location.href=t;else{var s=D.indexOf($.location.key),u=D.slice(0,s+1);u.push(o.key),D=u,j({action:r,location:o})}else window.location.href=t}}))},replace:function(e,t){var r="REPLACE",o=f(e,t,A(),$.location);_.confirmTransitionTo(o,r,x,(function(e){if(e){var t=I(o),i=o.key,l=o.state;if(a)if(n.replaceState({key:i,state:l},null,t),w)window.location.replace(t);else{var s=D.indexOf($.location.key);-1!==s&&(D[s]=o.key),j({action:r,location:o})}else window.location.replace(t)}}))},go:M,goBack:function(){M(-1)},goForward:function(){M(1)},block:function(e){void 0===e&&(e=!1);var t=_.setPrompt(e);return B||(z(1),B=!0),function(){return B&&(B=!1,z(-1)),t()}},listen:function(e){var t=_.appendListener(e);return z(1),function(){z(-1),t()}}};return $}var k="hashchange",x={hashbang:{encodePath:function(e){return"!"===e.charAt(0)?e:"!/"+u(e)},decodePath:function(e){return"!"===e.charAt(0)?e.substr(1):e}},noslash:{encodePath:u,decodePath:s},slash:{encodePath:s,decodePath:s}};function S(e){var t=e.indexOf("#");return-1===t?e:e.slice(0,t)}function E(){var e=window.location.href,t=e.indexOf("#");return-1===t?"":e.substring(t+1)}function C(e){window.location.replace(S(window.location.href)+"#"+e)}function T(e){void 0===e&&(e={}),h||(0,l.A)(!1);var t=window.history,n=(window.navigator.userAgent.indexOf("Firefox"),e),a=n.getUserConfirmation,o=void 0===a?g:a,i=n.hashType,u=void 0===i?"slash":i,y=e.basename?d(s(e.basename)):"",b=x[u],v=b.encodePath,w=b.decodePath;function T(){var e=w(E());return y&&(e=c(e,y)),f(e)}var A=m();function _(e){(0,r.A)(B,e),B.length=t.length,A.notifyListeners(B.location,B.action)}var j=!1,R=null;function L(){var e,t,n=E(),r=v(n);if(n!==r)C(r);else{var a=T(),i=B.location;if(!j&&(t=a,(e=i).pathname===t.pathname&&e.search===t.search&&e.hash===t.hash))return;if(R===p(a))return;R=null,function(e){if(j)j=!1,_();else{var t="POP";A.confirmTransitionTo(e,t,o,(function(n){n?_({action:t,location:e}):function(e){var t=B.location,n=D.lastIndexOf(p(t));-1===n&&(n=0);var r=D.lastIndexOf(p(e));-1===r&&(r=0);var a=n-r;a&&(j=!0,I(a))}(e)}))}}(a)}}var N=E(),P=v(N);N!==P&&C(P);var O=T(),D=[p(O)];function I(e){t.go(e)}var M=0;function F(e){1===(M+=e)&&1===e?window.addEventListener(k,L):0===M&&window.removeEventListener(k,L)}var z=!1;var B={length:t.length,action:"POP",location:O,createHref:function(e){var t=document.querySelector("base"),n="";return t&&t.getAttribute("href")&&(n=S(window.location.href)),n+"#"+v(y+p(e))},push:function(e,t){var n="PUSH",r=f(e,void 0,void 0,B.location);A.confirmTransitionTo(r,n,o,(function(e){if(e){var t=p(r),a=v(y+t);if(E()!==a){R=t,function(e){window.location.hash=e}(a);var o=D.lastIndexOf(p(B.location)),i=D.slice(0,o+1);i.push(t),D=i,_({action:n,location:r})}else _()}}))},replace:function(e,t){var n="REPLACE",r=f(e,void 0,void 0,B.location);A.confirmTransitionTo(r,n,o,(function(e){if(e){var t=p(r),a=v(y+t);E()!==a&&(R=t,C(a));var o=D.indexOf(p(B.location));-1!==o&&(D[o]=t),_({action:n,location:r})}}))},go:I,goBack:function(){I(-1)},goForward:function(){I(1)},block:function(e){void 0===e&&(e=!1);var t=A.setPrompt(e);return z||(F(1),z=!0),function(){return z&&(z=!1,F(-1)),t()}},listen:function(e){var t=A.appendListener(e);return F(1),function(){F(-1),t()}}};return B}function A(e,t,n){return Math.min(Math.max(e,t),n)}function _(e){void 0===e&&(e={});var t=e,n=t.getUserConfirmation,a=t.initialEntries,o=void 0===a?["/"]:a,i=t.initialIndex,l=void 0===i?0:i,s=t.keyLength,u=void 0===s?6:s,c=m();function d(e){(0,r.A)(w,e),w.length=w.entries.length,c.notifyListeners(w.location,w.action)}function h(){return Math.random().toString(36).substr(2,u)}var g=A(l,0,o.length-1),y=o.map((function(e){return f(e,void 0,"string"==typeof e?h():e.key||h())})),b=p;function v(e){var t=A(w.index+e,0,w.entries.length-1),r=w.entries[t];c.confirmTransitionTo(r,"POP",n,(function(e){e?d({action:"POP",location:r,index:t}):d()}))}var w={length:y.length,action:"POP",location:y[g],index:g,entries:y,createHref:b,push:function(e,t){var r="PUSH",a=f(e,t,h(),w.location);c.confirmTransitionTo(a,r,n,(function(e){if(e){var t=w.index+1,n=w.entries.slice(0);n.length>t?n.splice(t,n.length-t,a):n.push(a),d({action:r,location:a,index:t,entries:n})}}))},replace:function(e,t){var r="REPLACE",a=f(e,t,h(),w.location);c.confirmTransitionTo(a,r,n,(function(e){e&&(w.entries[w.index]=a,d({action:r,location:a}))}))},go:v,goBack:function(){v(-1)},goForward:function(){v(1)},canGo:function(e){var t=w.index+e;return t>=0&&t<w.entries.length},block:function(e){return void 0===e&&(e=!1),c.setPrompt(e)},listen:function(e){return c.appendListener(e)}};return w}},4146:(e,t,n)=>{"use strict";var r=n(4363),a={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},o={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},l={};function s(e){return r.isMemo(e)?i:l[e.$$typeof]||a}l[r.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},l[r.Memo]=i;var u=Object.defineProperty,c=Object.getOwnPropertyNames,d=Object.getOwnPropertySymbols,p=Object.getOwnPropertyDescriptor,f=Object.getPrototypeOf,m=Object.prototype;e.exports=function e(t,n,r){if("string"!=typeof n){if(m){var a=f(n);a&&a!==m&&e(t,a,r)}var i=c(n);d&&(i=i.concat(d(n)));for(var l=s(t),h=s(n),g=0;g<i.length;++g){var y=i[g];if(!(o[y]||r&&r[y]||h&&h[y]||l&&l[y])){var b=p(n,y);try{u(t,y,b)}catch(v){}}}}return t}},311:e=>{"use strict";e.exports=function(e,t,n,r,a,o,i,l){if(!e){var s;if(void 0===t)s=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var u=[n,r,a,o,i,l],c=0;(s=new Error(t.replace(/%s/g,(function(){return u[c++]})))).name="Invariant Violation"}throw s.framesToPop=1,s}}},4634:e=>{e.exports=Array.isArray||function(e){return"[object Array]"==Object.prototype.toString.call(e)}},119:(e,t,n)=>{"use strict";n.r(t)},1043:(e,t,n)=>{"use strict";n.r(t)},5947:function(e,t,n){var r,a;r=function(){var e,t,n={version:"0.2.0"},r=n.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 a(e,t,n){return e<t?t:e>n?n:e}function o(e){return 100*(-1+e)}function i(e,t,n){var a;return(a="translate3d"===r.positionUsing?{transform:"translate3d("+o(e)+"%,0,0)"}:"translate"===r.positionUsing?{transform:"translate("+o(e)+"%,0)"}:{"margin-left":o(e)+"%"}).transition="all "+t+"ms "+n,a}n.configure=function(e){var t,n;for(t in e)void 0!==(n=e[t])&&e.hasOwnProperty(t)&&(r[t]=n);return this},n.status=null,n.set=function(e){var t=n.isStarted();e=a(e,r.minimum,1),n.status=1===e?null:e;var o=n.render(!t),u=o.querySelector(r.barSelector),c=r.speed,d=r.easing;return o.offsetWidth,l((function(t){""===r.positionUsing&&(r.positionUsing=n.getPositioningCSS()),s(u,i(e,c,d)),1===e?(s(o,{transition:"none",opacity:1}),o.offsetWidth,setTimeout((function(){s(o,{transition:"all "+c+"ms linear",opacity:0}),setTimeout((function(){n.remove(),t()}),c)}),c)):setTimeout(t,c)})),this},n.isStarted=function(){return"number"==typeof n.status},n.start=function(){n.status||n.set(0);var e=function(){setTimeout((function(){n.status&&(n.trickle(),e())}),r.trickleSpeed)};return r.trickle&&e(),this},n.done=function(e){return e||n.status?n.inc(.3+.5*Math.random()).set(1):this},n.inc=function(e){var t=n.status;return t?("number"!=typeof e&&(e=(1-t)*a(Math.random()*t,.1,.95)),t=a(t+e,0,.994),n.set(t)):n.start()},n.trickle=function(){return n.inc(Math.random()*r.trickleRate)},e=0,t=0,n.promise=function(r){return r&&"resolved"!==r.state()?(0===t&&n.start(),e++,t++,r.always((function(){0==--t?(e=0,n.done()):n.set((e-t)/e)})),this):this},n.render=function(e){if(n.isRendered())return document.getElementById("nprogress");c(document.documentElement,"nprogress-busy");var t=document.createElement("div");t.id="nprogress",t.innerHTML=r.template;var a,i=t.querySelector(r.barSelector),l=e?"-100":o(n.status||0),u=document.querySelector(r.parent);return s(i,{transition:"all 0 linear",transform:"translate3d("+l+"%,0,0)"}),r.showSpinner||(a=t.querySelector(r.spinnerSelector))&&f(a),u!=document.body&&c(u,"nprogress-custom-parent"),u.appendChild(t),t},n.remove=function(){d(document.documentElement,"nprogress-busy"),d(document.querySelector(r.parent),"nprogress-custom-parent");var e=document.getElementById("nprogress");e&&f(e)},n.isRendered=function(){return!!document.getElementById("nprogress")},n.getPositioningCSS=function(){var e=document.body.style,t="WebkitTransform"in e?"Webkit":"MozTransform"in e?"Moz":"msTransform"in e?"ms":"OTransform"in e?"O":"";return t+"Perspective"in e?"translate3d":t+"Transform"in e?"translate":"margin"};var l=function(){var e=[];function t(){var n=e.shift();n&&n(t)}return function(n){e.push(n),1==e.length&&t()}}(),s=function(){var e=["Webkit","O","Moz","ms"],t={};function n(e){return e.replace(/^-ms-/,"ms-").replace(/-([\da-z])/gi,(function(e,t){return t.toUpperCase()}))}function r(t){var n=document.body.style;if(t in n)return t;for(var r,a=e.length,o=t.charAt(0).toUpperCase()+t.slice(1);a--;)if((r=e[a]+o)in n)return r;return t}function a(e){return e=n(e),t[e]||(t[e]=r(e))}function o(e,t,n){t=a(t),e.style[t]=n}return function(e,t){var n,r,a=arguments;if(2==a.length)for(n in t)void 0!==(r=t[n])&&t.hasOwnProperty(n)&&o(e,n,r);else o(e,a[1],a[2])}}();function u(e,t){return("string"==typeof e?e:p(e)).indexOf(" "+t+" ")>=0}function c(e,t){var n=p(e),r=n+t;u(n,t)||(e.className=r.substring(1))}function d(e,t){var n,r=p(e);u(e,t)&&(n=r.replace(" "+t+" "," "),e.className=n.substring(1,n.length-1))}function p(e){return(" "+(e.className||"")+" ").replace(/\s+/gi," ")}function f(e){e&&e.parentNode&&e.parentNode.removeChild(e)}return n},void 0===(a="function"==typeof r?r.call(t,n,t,e):r)||(e.exports=a)},6969:e=>{e.exports&&(e.exports={core:{meta:{path:"components/prism-core.js",option:"mandatory"},core:"Core"},themes:{meta:{path:"themes/{id}.css",link:"index.html?theme={id}",exclusive:!0},prism:{title:"Default",option:"default"},"prism-dark":"Dark","prism-funky":"Funky","prism-okaidia":{title:"Okaidia",owner:"ocodia"},"prism-twilight":{title:"Twilight",owner:"remybach"},"prism-coy":{title:"Coy",owner:"tshedor"},"prism-solarizedlight":{title:"Solarized Light",owner:"hectormatos2011 "},"prism-tomorrow":{title:"Tomorrow Night",owner:"Rosey"}},languages:{meta:{path:"components/prism-{id}",noCSS:!0,examplesPath:"examples/prism-{id}",addCheckAll:!0},markup:{title:"Markup",alias:["html","xml","svg","mathml","ssml","atom","rss"],aliasTitles:{html:"HTML",xml:"XML",svg:"SVG",mathml:"MathML",ssml:"SSML",atom:"Atom",rss:"RSS"},option:"default"},css:{title:"CSS",option:"default",modify:"markup"},clike:{title:"C-like",option:"default"},javascript:{title:"JavaScript",require:"clike",modify:"markup",optional:"regex",alias:"js",option:"default"},abap:{title:"ABAP",owner:"dellagustin"},abnf:{title:"ABNF",owner:"RunDevelopment"},actionscript:{title:"ActionScript",require:"javascript",modify:"markup",owner:"Golmote"},ada:{title:"Ada",owner:"Lucretia"},agda:{title:"Agda",owner:"xy-ren"},al:{title:"AL",owner:"RunDevelopment"},antlr4:{title:"ANTLR4",alias:"g4",owner:"RunDevelopment"},apacheconf:{title:"Apache Configuration",owner:"GuiTeK"},apex:{title:"Apex",require:["clike","sql"],owner:"RunDevelopment"},apl:{title:"APL",owner:"ngn"},applescript:{title:"AppleScript",owner:"Golmote"},aql:{title:"AQL",owner:"RunDevelopment"},arduino:{title:"Arduino",require:"cpp",alias:"ino",owner:"dkern"},arff:{title:"ARFF",owner:"Golmote"},armasm:{title:"ARM Assembly",alias:"arm-asm",owner:"RunDevelopment"},arturo:{title:"Arturo",alias:"art",optional:["bash","css","javascript","markup","markdown","sql"],owner:"drkameleon"},asciidoc:{alias:"adoc",title:"AsciiDoc",owner:"Golmote"},aspnet:{title:"ASP.NET (C#)",require:["markup","csharp"],owner:"nauzilus"},asm6502:{title:"6502 Assembly",owner:"kzurawel"},asmatmel:{title:"Atmel AVR Assembly",owner:"cerkit"},autohotkey:{title:"AutoHotkey",owner:"aviaryan"},autoit:{title:"AutoIt",owner:"Golmote"},avisynth:{title:"AviSynth",alias:"avs",owner:"Zinfidel"},"avro-idl":{title:"Avro IDL",alias:"avdl",owner:"RunDevelopment"},awk:{title:"AWK",alias:"gawk",aliasTitles:{gawk:"GAWK"},owner:"RunDevelopment"},bash:{title:"Bash",alias:["sh","shell"],aliasTitles:{sh:"Shell",shell:"Shell"},owner:"zeitgeist87"},basic:{title:"BASIC",owner:"Golmote"},batch:{title:"Batch",owner:"Golmote"},bbcode:{title:"BBcode",alias:"shortcode",aliasTitles:{shortcode:"Shortcode"},owner:"RunDevelopment"},bbj:{title:"BBj",owner:"hyyan"},bicep:{title:"Bicep",owner:"johnnyreilly"},birb:{title:"Birb",require:"clike",owner:"Calamity210"},bison:{title:"Bison",require:"c",owner:"Golmote"},bnf:{title:"BNF",alias:"rbnf",aliasTitles:{rbnf:"RBNF"},owner:"RunDevelopment"},bqn:{title:"BQN",owner:"yewscion"},brainfuck:{title:"Brainfuck",owner:"Golmote"},brightscript:{title:"BrightScript",owner:"RunDevelopment"},bro:{title:"Bro",owner:"wayward710"},bsl:{title:"BSL (1C:Enterprise)",alias:"oscript",aliasTitles:{oscript:"OneScript"},owner:"Diversus23"},c:{title:"C",require:"clike",owner:"zeitgeist87"},csharp:{title:"C#",require:"clike",alias:["cs","dotnet"],owner:"mvalipour"},cpp:{title:"C++",require:"c",owner:"zeitgeist87"},cfscript:{title:"CFScript",require:"clike",alias:"cfc",owner:"mjclemente"},chaiscript:{title:"ChaiScript",require:["clike","cpp"],owner:"RunDevelopment"},cil:{title:"CIL",owner:"sbrl"},cilkc:{title:"Cilk/C",require:"c",alias:"cilk-c",owner:"OpenCilk"},cilkcpp:{title:"Cilk/C++",require:"cpp",alias:["cilk-cpp","cilk"],owner:"OpenCilk"},clojure:{title:"Clojure",owner:"troglotit"},cmake:{title:"CMake",owner:"mjrogozinski"},cobol:{title:"COBOL",owner:"RunDevelopment"},coffeescript:{title:"CoffeeScript",require:"javascript",alias:"coffee",owner:"R-osey"},concurnas:{title:"Concurnas",alias:"conc",owner:"jasontatton"},csp:{title:"Content-Security-Policy",owner:"ScottHelme"},cooklang:{title:"Cooklang",owner:"ahue"},coq:{title:"Coq",owner:"RunDevelopment"},crystal:{title:"Crystal",require:"ruby",owner:"MakeNowJust"},"css-extras":{title:"CSS Extras",require:"css",modify:"css",owner:"milesj"},csv:{title:"CSV",owner:"RunDevelopment"},cue:{title:"CUE",owner:"RunDevelopment"},cypher:{title:"Cypher",owner:"RunDevelopment"},d:{title:"D",require:"clike",owner:"Golmote"},dart:{title:"Dart",require:"clike",owner:"Golmote"},dataweave:{title:"DataWeave",owner:"machaval"},dax:{title:"DAX",owner:"peterbud"},dhall:{title:"Dhall",owner:"RunDevelopment"},diff:{title:"Diff",owner:"uranusjr"},django:{title:"Django/Jinja2",require:"markup-templating",alias:"jinja2",owner:"romanvm"},"dns-zone-file":{title:"DNS zone file",owner:"RunDevelopment",alias:"dns-zone"},docker:{title:"Docker",alias:"dockerfile",owner:"JustinBeckwith"},dot:{title:"DOT (Graphviz)",alias:"gv",optional:"markup",owner:"RunDevelopment"},ebnf:{title:"EBNF",owner:"RunDevelopment"},editorconfig:{title:"EditorConfig",owner:"osipxd"},eiffel:{title:"Eiffel",owner:"Conaclos"},ejs:{title:"EJS",require:["javascript","markup-templating"],owner:"RunDevelopment",alias:"eta",aliasTitles:{eta:"Eta"}},elixir:{title:"Elixir",owner:"Golmote"},elm:{title:"Elm",owner:"zwilias"},etlua:{title:"Embedded Lua templating",require:["lua","markup-templating"],owner:"RunDevelopment"},erb:{title:"ERB",require:["ruby","markup-templating"],owner:"Golmote"},erlang:{title:"Erlang",owner:"Golmote"},"excel-formula":{title:"Excel Formula",alias:["xlsx","xls"],owner:"RunDevelopment"},fsharp:{title:"F#",require:"clike",owner:"simonreynolds7"},factor:{title:"Factor",owner:"catb0t"},false:{title:"False",owner:"edukisto"},"firestore-security-rules":{title:"Firestore security rules",require:"clike",owner:"RunDevelopment"},flow:{title:"Flow",require:"javascript",owner:"Golmote"},fortran:{title:"Fortran",owner:"Golmote"},ftl:{title:"FreeMarker Template Language",require:"markup-templating",owner:"RunDevelopment"},gml:{title:"GameMaker Language",alias:"gamemakerlanguage",require:"clike",owner:"LiarOnce"},gap:{title:"GAP (CAS)",owner:"RunDevelopment"},gcode:{title:"G-code",owner:"RunDevelopment"},gdscript:{title:"GDScript",owner:"RunDevelopment"},gedcom:{title:"GEDCOM",owner:"Golmote"},gettext:{title:"gettext",alias:"po",owner:"RunDevelopment"},gherkin:{title:"Gherkin",owner:"hason"},git:{title:"Git",owner:"lgiraudel"},glsl:{title:"GLSL",require:"c",owner:"Golmote"},gn:{title:"GN",alias:"gni",owner:"RunDevelopment"},"linker-script":{title:"GNU Linker Script",alias:"ld",owner:"RunDevelopment"},go:{title:"Go",require:"clike",owner:"arnehormann"},"go-module":{title:"Go module",alias:"go-mod",owner:"RunDevelopment"},gradle:{title:"Gradle",require:"clike",owner:"zeabdelkhalek-badido18"},graphql:{title:"GraphQL",optional:"markdown",owner:"Golmote"},groovy:{title:"Groovy",require:"clike",owner:"robfletcher"},haml:{title:"Haml",require:"ruby",optional:["css","css-extras","coffeescript","erb","javascript","less","markdown","scss","textile"],owner:"Golmote"},handlebars:{title:"Handlebars",require:"markup-templating",alias:["hbs","mustache"],aliasTitles:{mustache:"Mustache"},owner:"Golmote"},haskell:{title:"Haskell",alias:"hs",owner:"bholst"},haxe:{title:"Haxe",require:"clike",optional:"regex",owner:"Golmote"},hcl:{title:"HCL",owner:"outsideris"},hlsl:{title:"HLSL",require:"c",owner:"RunDevelopment"},hoon:{title:"Hoon",owner:"matildepark"},http:{title:"HTTP",optional:["csp","css","hpkp","hsts","javascript","json","markup","uri"],owner:"danielgtaylor"},hpkp:{title:"HTTP Public-Key-Pins",owner:"ScottHelme"},hsts:{title:"HTTP Strict-Transport-Security",owner:"ScottHelme"},ichigojam:{title:"IchigoJam",owner:"BlueCocoa"},icon:{title:"Icon",owner:"Golmote"},"icu-message-format":{title:"ICU Message Format",owner:"RunDevelopment"},idris:{title:"Idris",alias:"idr",owner:"KeenS",require:"haskell"},ignore:{title:".ignore",owner:"osipxd",alias:["gitignore","hgignore","npmignore"],aliasTitles:{gitignore:".gitignore",hgignore:".hgignore",npmignore:".npmignore"}},inform7:{title:"Inform 7",owner:"Golmote"},ini:{title:"Ini",owner:"aviaryan"},io:{title:"Io",owner:"AlesTsurko"},j:{title:"J",owner:"Golmote"},java:{title:"Java",require:"clike",owner:"sherblot"},javadoc:{title:"JavaDoc",require:["markup","java","javadoclike"],modify:"java",optional:"scala",owner:"RunDevelopment"},javadoclike:{title:"JavaDoc-like",modify:["java","javascript","php"],owner:"RunDevelopment"},javastacktrace:{title:"Java stack trace",owner:"RunDevelopment"},jexl:{title:"Jexl",owner:"czosel"},jolie:{title:"Jolie",require:"clike",owner:"thesave"},jq:{title:"JQ",owner:"RunDevelopment"},jsdoc:{title:"JSDoc",require:["javascript","javadoclike","typescript"],modify:"javascript",optional:["actionscript","coffeescript"],owner:"RunDevelopment"},"js-extras":{title:"JS Extras",require:"javascript",modify:"javascript",optional:["actionscript","coffeescript","flow","n4js","typescript"],owner:"RunDevelopment"},json:{title:"JSON",alias:"webmanifest",aliasTitles:{webmanifest:"Web App Manifest"},owner:"CupOfTea696"},json5:{title:"JSON5",require:"json",owner:"RunDevelopment"},jsonp:{title:"JSONP",require:"json",owner:"RunDevelopment"},jsstacktrace:{title:"JS stack trace",owner:"sbrl"},"js-templates":{title:"JS Templates",require:"javascript",modify:"javascript",optional:["css","css-extras","graphql","markdown","markup","sql"],owner:"RunDevelopment"},julia:{title:"Julia",owner:"cdagnino"},keepalived:{title:"Keepalived Configure",owner:"dev-itsheng"},keyman:{title:"Keyman",owner:"mcdurdin"},kotlin:{title:"Kotlin",alias:["kt","kts"],aliasTitles:{kts:"Kotlin Script"},require:"clike",owner:"Golmote"},kumir:{title:"KuMir (\u041a\u0443\u041c\u0438\u0440)",alias:"kum",owner:"edukisto"},kusto:{title:"Kusto",owner:"RunDevelopment"},latex:{title:"LaTeX",alias:["tex","context"],aliasTitles:{tex:"TeX",context:"ConTeXt"},owner:"japborst"},latte:{title:"Latte",require:["clike","markup-templating","php"],owner:"nette"},less:{title:"Less",require:"css",optional:"css-extras",owner:"Golmote"},lilypond:{title:"LilyPond",require:"scheme",alias:"ly",owner:"RunDevelopment"},liquid:{title:"Liquid",require:"markup-templating",owner:"cinhtau"},lisp:{title:"Lisp",alias:["emacs","elisp","emacs-lisp"],owner:"JuanCaicedo"},livescript:{title:"LiveScript",owner:"Golmote"},llvm:{title:"LLVM IR",owner:"porglezomp"},log:{title:"Log file",optional:"javastacktrace",owner:"RunDevelopment"},lolcode:{title:"LOLCODE",owner:"Golmote"},lua:{title:"Lua",owner:"Golmote"},magma:{title:"Magma (CAS)",owner:"RunDevelopment"},makefile:{title:"Makefile",owner:"Golmote"},markdown:{title:"Markdown",require:"markup",optional:"yaml",alias:"md",owner:"Golmote"},"markup-templating":{title:"Markup templating",require:"markup",owner:"Golmote"},mata:{title:"Mata",owner:"RunDevelopment"},matlab:{title:"MATLAB",owner:"Golmote"},maxscript:{title:"MAXScript",owner:"RunDevelopment"},mel:{title:"MEL",owner:"Golmote"},mermaid:{title:"Mermaid",owner:"RunDevelopment"},metafont:{title:"METAFONT",owner:"LaeriExNihilo"},mizar:{title:"Mizar",owner:"Golmote"},mongodb:{title:"MongoDB",owner:"airs0urce",require:"javascript"},monkey:{title:"Monkey",owner:"Golmote"},moonscript:{title:"MoonScript",alias:"moon",owner:"RunDevelopment"},n1ql:{title:"N1QL",owner:"TMWilds"},n4js:{title:"N4JS",require:"javascript",optional:"jsdoc",alias:"n4jsd",owner:"bsmith-n4"},"nand2tetris-hdl":{title:"Nand To Tetris HDL",owner:"stephanmax"},naniscript:{title:"Naninovel Script",owner:"Elringus",alias:"nani"},nasm:{title:"NASM",owner:"rbmj"},neon:{title:"NEON",owner:"nette"},nevod:{title:"Nevod",owner:"nezaboodka"},nginx:{title:"nginx",owner:"volado"},nim:{title:"Nim",owner:"Golmote"},nix:{title:"Nix",owner:"Golmote"},nsis:{title:"NSIS",owner:"idleberg"},objectivec:{title:"Objective-C",require:"c",alias:"objc",owner:"uranusjr"},ocaml:{title:"OCaml",owner:"Golmote"},odin:{title:"Odin",owner:"edukisto"},opencl:{title:"OpenCL",require:"c",modify:["c","cpp"],owner:"Milania1"},openqasm:{title:"OpenQasm",alias:"qasm",owner:"RunDevelopment"},oz:{title:"Oz",owner:"Golmote"},parigp:{title:"PARI/GP",owner:"Golmote"},parser:{title:"Parser",require:"markup",owner:"Golmote"},pascal:{title:"Pascal",alias:"objectpascal",aliasTitles:{objectpascal:"Object Pascal"},owner:"Golmote"},pascaligo:{title:"Pascaligo",owner:"DefinitelyNotAGoat"},psl:{title:"PATROL Scripting Language",owner:"bertysentry"},pcaxis:{title:"PC-Axis",alias:"px",owner:"RunDevelopment"},peoplecode:{title:"PeopleCode",alias:"pcode",owner:"RunDevelopment"},perl:{title:"Perl",owner:"Golmote"},php:{title:"PHP",require:"markup-templating",owner:"milesj"},phpdoc:{title:"PHPDoc",require:["php","javadoclike"],modify:"php",owner:"RunDevelopment"},"php-extras":{title:"PHP Extras",require:"php",modify:"php",owner:"milesj"},"plant-uml":{title:"PlantUML",alias:"plantuml",owner:"RunDevelopment"},plsql:{title:"PL/SQL",require:"sql",owner:"Golmote"},powerquery:{title:"PowerQuery",alias:["pq","mscript"],owner:"peterbud"},powershell:{title:"PowerShell",owner:"nauzilus"},processing:{title:"Processing",require:"clike",owner:"Golmote"},prolog:{title:"Prolog",owner:"Golmote"},promql:{title:"PromQL",owner:"arendjr"},properties:{title:".properties",owner:"Golmote"},protobuf:{title:"Protocol Buffers",require:"clike",owner:"just-boris"},pug:{title:"Pug",require:["markup","javascript"],optional:["coffeescript","ejs","handlebars","less","livescript","markdown","scss","stylus","twig"],owner:"Golmote"},puppet:{title:"Puppet",owner:"Golmote"},pure:{title:"Pure",optional:["c","cpp","fortran"],owner:"Golmote"},purebasic:{title:"PureBasic",require:"clike",alias:"pbfasm",owner:"HeX0R101"},purescript:{title:"PureScript",require:"haskell",alias:"purs",owner:"sriharshachilakapati"},python:{title:"Python",alias:"py",owner:"multipetros"},qsharp:{title:"Q#",require:"clike",alias:"qs",owner:"fedonman"},q:{title:"Q (kdb+ database)",owner:"Golmote"},qml:{title:"QML",require:"javascript",owner:"RunDevelopment"},qore:{title:"Qore",require:"clike",owner:"temnroegg"},r:{title:"R",owner:"Golmote"},racket:{title:"Racket",require:"scheme",alias:"rkt",owner:"RunDevelopment"},cshtml:{title:"Razor C#",alias:"razor",require:["markup","csharp"],optional:["css","css-extras","javascript","js-extras"],owner:"RunDevelopment"},jsx:{title:"React JSX",require:["markup","javascript"],optional:["jsdoc","js-extras","js-templates"],owner:"vkbansal"},tsx:{title:"React TSX",require:["jsx","typescript"]},reason:{title:"Reason",require:"clike",owner:"Golmote"},regex:{title:"Regex",owner:"RunDevelopment"},rego:{title:"Rego",owner:"JordanSh"},renpy:{title:"Ren'py",alias:"rpy",owner:"HyuchiaDiego"},rescript:{title:"ReScript",alias:"res",owner:"vmarcosp"},rest:{title:"reST (reStructuredText)",owner:"Golmote"},rip:{title:"Rip",owner:"ravinggenius"},roboconf:{title:"Roboconf",owner:"Golmote"},robotframework:{title:"Robot Framework",alias:"robot",owner:"RunDevelopment"},ruby:{title:"Ruby",require:"clike",alias:"rb",owner:"samflores"},rust:{title:"Rust",owner:"Golmote"},sas:{title:"SAS",optional:["groovy","lua","sql"],owner:"Golmote"},sass:{title:"Sass (Sass)",require:"css",optional:"css-extras",owner:"Golmote"},scss:{title:"Sass (SCSS)",require:"css",optional:"css-extras",owner:"MoOx"},scala:{title:"Scala",require:"java",owner:"jozic"},scheme:{title:"Scheme",owner:"bacchus123"},"shell-session":{title:"Shell session",require:"bash",alias:["sh-session","shellsession"],owner:"RunDevelopment"},smali:{title:"Smali",owner:"RunDevelopment"},smalltalk:{title:"Smalltalk",owner:"Golmote"},smarty:{title:"Smarty",require:"markup-templating",optional:"php",owner:"Golmote"},sml:{title:"SML",alias:"smlnj",aliasTitles:{smlnj:"SML/NJ"},owner:"RunDevelopment"},solidity:{title:"Solidity (Ethereum)",alias:"sol",require:"clike",owner:"glachaud"},"solution-file":{title:"Solution file",alias:"sln",owner:"RunDevelopment"},soy:{title:"Soy (Closure Template)",require:"markup-templating",owner:"Golmote"},sparql:{title:"SPARQL",require:"turtle",owner:"Triply-Dev",alias:"rq"},"splunk-spl":{title:"Splunk SPL",owner:"RunDevelopment"},sqf:{title:"SQF: Status Quo Function (Arma 3)",require:"clike",owner:"RunDevelopment"},sql:{title:"SQL",owner:"multipetros"},squirrel:{title:"Squirrel",require:"clike",owner:"RunDevelopment"},stan:{title:"Stan",owner:"RunDevelopment"},stata:{title:"Stata Ado",require:["mata","java","python"],owner:"RunDevelopment"},iecst:{title:"Structured Text (IEC 61131-3)",owner:"serhioromano"},stylus:{title:"Stylus",owner:"vkbansal"},supercollider:{title:"SuperCollider",alias:"sclang",owner:"RunDevelopment"},swift:{title:"Swift",owner:"chrischares"},systemd:{title:"Systemd configuration file",owner:"RunDevelopment"},"t4-templating":{title:"T4 templating",owner:"RunDevelopment"},"t4-cs":{title:"T4 Text Templates (C#)",require:["t4-templating","csharp"],alias:"t4",owner:"RunDevelopment"},"t4-vb":{title:"T4 Text Templates (VB)",require:["t4-templating","vbnet"],owner:"RunDevelopment"},tap:{title:"TAP",owner:"isaacs",require:"yaml"},tcl:{title:"Tcl",owner:"PeterChaplin"},tt2:{title:"Template Toolkit 2",require:["clike","markup-templating"],owner:"gflohr"},textile:{title:"Textile",require:"markup",optional:"css",owner:"Golmote"},toml:{title:"TOML",owner:"RunDevelopment"},tremor:{title:"Tremor",alias:["trickle","troy"],owner:"darach",aliasTitles:{trickle:"trickle",troy:"troy"}},turtle:{title:"Turtle",alias:"trig",aliasTitles:{trig:"TriG"},owner:"jakubklimek"},twig:{title:"Twig",require:"markup-templating",owner:"brandonkelly"},typescript:{title:"TypeScript",require:"javascript",optional:"js-templates",alias:"ts",owner:"vkbansal"},typoscript:{title:"TypoScript",alias:"tsconfig",aliasTitles:{tsconfig:"TSConfig"},owner:"dkern"},unrealscript:{title:"UnrealScript",alias:["uscript","uc"],owner:"RunDevelopment"},uorazor:{title:"UO Razor Script",owner:"jaseowns"},uri:{title:"URI",alias:"url",aliasTitles:{url:"URL"},owner:"RunDevelopment"},v:{title:"V",require:"clike",owner:"taggon"},vala:{title:"Vala",require:"clike",optional:"regex",owner:"TemplarVolk"},vbnet:{title:"VB.Net",require:"basic",owner:"Bigsby"},velocity:{title:"Velocity",require:"markup",owner:"Golmote"},verilog:{title:"Verilog",owner:"a-rey"},vhdl:{title:"VHDL",owner:"a-rey"},vim:{title:"vim",owner:"westonganger"},"visual-basic":{title:"Visual Basic",alias:["vb","vba"],aliasTitles:{vba:"VBA"},owner:"Golmote"},warpscript:{title:"WarpScript",owner:"RunDevelopment"},wasm:{title:"WebAssembly",owner:"Golmote"},"web-idl":{title:"Web IDL",alias:"webidl",owner:"RunDevelopment"},wgsl:{title:"WGSL",owner:"Dr4gonthree"},wiki:{title:"Wiki markup",require:"markup",owner:"Golmote"},wolfram:{title:"Wolfram language",alias:["mathematica","nb","wl"],aliasTitles:{mathematica:"Mathematica",nb:"Mathematica Notebook"},owner:"msollami"},wren:{title:"Wren",owner:"clsource"},xeora:{title:"Xeora",require:"markup",alias:"xeoracube",aliasTitles:{xeoracube:"XeoraCube"},owner:"freakmaxi"},"xml-doc":{title:"XML doc (.net)",require:"markup",modify:["csharp","fsharp","vbnet"],owner:"RunDevelopment"},xojo:{title:"Xojo (REALbasic)",owner:"Golmote"},xquery:{title:"XQuery",require:"markup",owner:"Golmote"},yaml:{title:"YAML",alias:"yml",owner:"hason"},yang:{title:"YANG",owner:"RunDevelopment"},zig:{title:"Zig",owner:"RunDevelopment"}},plugins:{meta:{path:"plugins/{id}/prism-{id}",link:"plugins/{id}/"},"line-highlight":{title:"Line Highlight",description:"Highlights specific lines and/or line ranges."},"line-numbers":{title:"Line Numbers",description:"Line number at the beginning of code lines.",owner:"kuba-kubula"},"show-invisibles":{title:"Show Invisibles",description:"Show hidden characters such as tabs and line breaks.",optional:["autolinker","data-uri-highlight"]},autolinker:{title:"Autolinker",description:"Converts URLs and emails in code to clickable links. Parses Markdown links in comments."},wpd:{title:"WebPlatform Docs",description:'Makes tokens link to <a href="https://webplatform.github.io/docs/">WebPlatform.org documentation</a>. The links open in a new tab.'},"custom-class":{title:"Custom Class",description:"This plugin allows you to prefix Prism's default classes (<code>.comment</code> can become <code>.namespace--comment</code>) or replace them with your defined ones (like <code>.editor__comment</code>). You can even add new classes.",owner:"dvkndn",noCSS:!0},"file-highlight":{title:"File Highlight",description:"Fetch external files and highlight them with Prism. Used on the Prism website itself.",noCSS:!0},"show-language":{title:"Show Language",description:"Display the highlighted language in code blocks (inline code does not show the label).",owner:"nauzilus",noCSS:!0,require:"toolbar"},"jsonp-highlight":{title:"JSONP Highlight",description:"Fetch content with JSONP and highlight some interesting content (e.g. GitHub/Gists or Bitbucket API).",noCSS:!0,owner:"nauzilus"},"highlight-keywords":{title:"Highlight Keywords",description:"Adds special CSS classes for each keyword for fine-grained highlighting.",owner:"vkbansal",noCSS:!0},"remove-initial-line-feed":{title:"Remove initial line feed",description:"Removes the initial line feed in code blocks.",owner:"Golmote",noCSS:!0},"inline-color":{title:"Inline color",description:"Adds a small inline preview for colors in style sheets.",require:"css-extras",owner:"RunDevelopment"},previewers:{title:"Previewers",description:"Previewers for angles, colors, gradients, easing and time.",require:"css-extras",owner:"Golmote"},autoloader:{title:"Autoloader",description:"Automatically loads the needed languages to highlight the code blocks.",owner:"Golmote",noCSS:!0},"keep-markup":{title:"Keep Markup",description:"Prevents custom markup from being dropped out during highlighting.",owner:"Golmote",optional:"normalize-whitespace",noCSS:!0},"command-line":{title:"Command Line",description:"Display a command line with a prompt and, optionally, the output/response from the commands.",owner:"chriswells0"},"unescaped-markup":{title:"Unescaped Markup",description:"Write markup without having to escape anything."},"normalize-whitespace":{title:"Normalize Whitespace",description:"Supports multiple operations to normalize whitespace in code blocks.",owner:"zeitgeist87",optional:"unescaped-markup",noCSS:!0},"data-uri-highlight":{title:"Data-URI Highlight",description:"Highlights data-URI contents.",owner:"Golmote",noCSS:!0},toolbar:{title:"Toolbar",description:"Attach a toolbar for plugins to easily register buttons on the top of a code block.",owner:"mAAdhaTTah"},"copy-to-clipboard":{title:"Copy to Clipboard Button",description:"Add a button that copies the code block to the clipboard when clicked.",owner:"mAAdhaTTah",require:"toolbar",noCSS:!0},"download-button":{title:"Download Button",description:"A button in the toolbar of a code block adding a convenient way to download a code file.",owner:"Golmote",require:"toolbar",noCSS:!0},"match-braces":{title:"Match braces",description:"Highlights matching braces.",owner:"RunDevelopment"},"diff-highlight":{title:"Diff Highlight",description:"Highlights the code inside diff blocks.",owner:"RunDevelopment",require:"diff"},"filter-highlight-all":{title:"Filter highlightAll",description:"Filters the elements the <code>highlightAll</code> and <code>highlightAllUnder</code> methods actually highlight.",owner:"RunDevelopment",noCSS:!0},treeview:{title:"Treeview",description:"A language with special styles to highlight file system tree structures.",owner:"Golmote"}}})},8722:(e,t,n)=>{const r=n(6969),a=n(8380),o=new Set;function i(e){void 0===e?e=Object.keys(r.languages).filter((e=>"meta"!=e)):Array.isArray(e)||(e=[e]);const t=[...o,...Object.keys(Prism.languages)];a(r,e,t).load((e=>{if(!(e in r.languages))return void(i.silent||console.warn("Language does not exist: "+e));const t="./prism-"+e;delete n.c[n(3157).resolve(t)],delete Prism.languages[e],n(3157)(t),o.add(e)}))}i.silent=!1,e.exports=i},9700:()=>{!function(e){function t(e,t){return"___"+e.toUpperCase()+t+"___"}Object.defineProperties(e.languages["markup-templating"]={},{buildPlaceholders:{value:function(n,r,a,o){if(n.language===r){var i=n.tokenStack=[];n.code=n.code.replace(a,(function(e){if("function"==typeof o&&!o(e))return e;for(var a,l=i.length;-1!==n.code.indexOf(a=t(r,l));)++l;return i[l]=e,a})),n.grammar=e.languages.markup}}},tokenizePlaceholders:{value:function(n,r){if(n.language===r&&n.tokenStack){n.grammar=e.languages[r];var a=0,o=Object.keys(n.tokenStack);!function i(l){for(var s=0;s<l.length&&!(a>=o.length);s++){var u=l[s];if("string"==typeof u||u.content&&"string"==typeof u.content){var c=o[a],d=n.tokenStack[c],p="string"==typeof u?u:u.content,f=t(r,c),m=p.indexOf(f);if(m>-1){++a;var h=p.substring(0,m),g=new e.Token(r,e.tokenize(d,n.grammar),"language-"+r,d),y=p.substring(m+f.length),b=[];h&&b.push.apply(b,i([h])),b.push(g),y&&b.push.apply(b,i([y])),"string"==typeof u?l.splice.apply(l,[s,1].concat(b)):u.content=b}}else u.content&&i(u.content)}return l}(n.tokens)}}}})}(Prism)},8692:(e,t,n)=>{var r={"./":8722};function a(e){var t=o(e);return n(t)}function o(e){if(!n.o(r,e)){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}return r[e]}a.keys=function(){return Object.keys(r)},a.resolve=o,e.exports=a,a.id=8692},3157:(e,t,n)=>{var r={"./":8722};function a(e){var t=o(e);return n(t)}function o(e){if(!n.o(r,e)){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}return r[e]}a.keys=function(){return Object.keys(r)},a.resolve=o,e.exports=a,a.id=3157},8380:e=>{"use strict";var t=function(){var e=function(){};function t(e,t){Array.isArray(e)?e.forEach(t):null!=e&&t(e,0)}function n(e){for(var t={},n=0,r=e.length;n<r;n++)t[e[n]]=!0;return t}function r(e){var n={},r=[];function a(r,o){if(!(r in n)){o.push(r);var i=o.indexOf(r);if(i<o.length-1)throw new Error("Circular dependency: "+o.slice(i).join(" -> "));var l={},s=e[r];if(s){function u(t){if(!(t in e))throw new Error(r+" depends on an unknown component "+t);if(!(t in l))for(var i in a(t,o),l[t]=!0,n[t])l[i]=!0}t(s.require,u),t(s.optional,u),t(s.modify,u)}n[r]=l,o.pop()}}return function(e){var t=n[e];return t||(a(e,r),t=n[e]),t}}function a(e){for(var t in e)return!0;return!1}return function(o,i,l){var s=function(e){var t={};for(var n in e){var r=e[n];for(var a in r)if("meta"!=a){var o=r[a];t[a]="string"==typeof o?{title:o}:o}}return t}(o),u=function(e){var n;return function(r){if(r in e)return r;if(!n)for(var a in n={},e){var o=e[a];t(o&&o.alias,(function(t){if(t in n)throw new Error(t+" cannot be alias for both "+a+" and "+n[t]);if(t in e)throw new Error(t+" cannot be alias of "+a+" because it is a component.");n[t]=a}))}return n[r]||r}}(s);i=i.map(u),l=(l||[]).map(u);var c=n(i),d=n(l);i.forEach((function e(n){var r=s[n];t(r&&r.require,(function(t){t in d||(c[t]=!0,e(t))}))}));for(var p,f=r(s),m=c;a(m);){for(var h in p={},m){var g=s[h];t(g&&g.modify,(function(e){e in d&&(p[e]=!0)}))}for(var y in d)if(!(y in c))for(var b in f(y))if(b in c){p[y]=!0;break}for(var v in m=p)c[v]=!0}var w={getIds:function(){var e=[];return w.load((function(t){e.push(t)})),e},load:function(t,n){return function(t,n,r,a){var o=a?a.series:void 0,i=a?a.parallel:e,l={},s={};function u(e){if(e in l)return l[e];s[e]=!0;var a,c=[];for(var d in t(e))d in n&&c.push(d);if(0===c.length)a=r(e);else{var p=i(c.map((function(e){var t=u(e);return delete s[e],t})));o?a=o(p,(function(){return r(e)})):r(e)}return l[e]=a}for(var c in n)u(c);var d=[];for(var p in s)d.push(l[p]);return i(d)}(f,c,t,n)}};return w}}();e.exports=t},2694:(e,t,n)=>{"use strict";var r=n(6925);function a(){}function o(){}o.resetWarningCache=a,e.exports=function(){function e(e,t,n,a,o,i){if(i!==r){var l=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 l.name="Invariant Violation",l}}function t(){return e}e.isRequired=e;var n={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:o,resetWarningCache:a};return n.PropTypes=n,n}},5556:(e,t,n)=>{e.exports=n(2694)()},6925:e=>{"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},2551:(e,t,n)=>{"use strict";var r=n(6540),a=n(9982);function o(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n<arguments.length;n++)t+="&args[]="+encodeURIComponent(arguments[n]);return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var i=new Set,l={};function s(e,t){u(e,t),u(e+"Capture",t)}function u(e,t){for(l[e]=t,e=0;e<t.length;e++)i.add(t[e])}var c=!("undefined"==typeof window||void 0===window.document||void 0===window.document.createElement),d=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 h(e,t,n,r,a,o,i){this.acceptsBooleans=2===t||3===t||4===t,this.attributeName=r,this.attributeNamespace=a,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=o,this.removeEmptyString=i}var g={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach((function(e){g[e]=new h(e,0,!1,e,null,!1,!1)})),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach((function(e){var t=e[0];g[t]=new h(t,1,!1,e[1],null,!1,!1)})),["contentEditable","draggable","spellCheck","value"].forEach((function(e){g[e]=new h(e,2,!1,e.toLowerCase(),null,!1,!1)})),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach((function(e){g[e]=new h(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){g[e]=new h(e,3,!1,e.toLowerCase(),null,!1,!1)})),["checked","multiple","muted","selected"].forEach((function(e){g[e]=new h(e,3,!0,e,null,!1,!1)})),["capture","download"].forEach((function(e){g[e]=new h(e,4,!1,e,null,!1,!1)})),["cols","rows","size","span"].forEach((function(e){g[e]=new h(e,6,!1,e,null,!1,!1)})),["rowSpan","start"].forEach((function(e){g[e]=new h(e,5,!1,e.toLowerCase(),null,!1,!1)}));var y=/[\-:]([a-z])/g;function b(e){return e[1].toUpperCase()}function v(e,t,n,r){var a=g.hasOwnProperty(t)?g[t]:null;(null!==a?0!==a.type:r||!(2<t.length)||"o"!==t[0]&&"O"!==t[0]||"n"!==t[1]&&"N"!==t[1])&&(function(e,t,n,r){if(null==t||function(e,t,n,r){if(null!==n&&0===n.type)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return!r&&(null!==n?!n.acceptsBooleans:"data-"!==(e=e.toLowerCase().slice(0,5))&&"aria-"!==e);default:return!1}}(e,t,n,r))return!0;if(r)return!1;if(null!==n)switch(n.type){case 3:return!t;case 4:return!1===t;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}(t,n,a,r)&&(n=null),r||null===a?function(e){return!!d.call(m,e)||!d.call(f,e)&&(p.test(e)?m[e]=!0:(f[e]=!0,!1))}(t)&&(null===n?e.removeAttribute(t):e.setAttribute(t,""+n)):a.mustUseProperty?e[a.propertyName]=null===n?3!==a.type&&"":n:(t=a.attributeName,r=a.attributeNamespace,null===n?e.removeAttribute(t):(n=3===(a=a.type)||4===a&&!0===n?"":""+n,r?e.setAttributeNS(r,t,n):e.setAttribute(t,n))))}"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 t=e.replace(y,b);g[t]=new h(t,1,!1,e,null,!1,!1)})),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach((function(e){var t=e.replace(y,b);g[t]=new h(t,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)})),["xml:base","xml:lang","xml:space"].forEach((function(e){var t=e.replace(y,b);g[t]=new h(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)})),["tabIndex","crossOrigin"].forEach((function(e){g[e]=new h(e,1,!1,e.toLowerCase(),null,!1,!1)})),g.xlinkHref=new h("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach((function(e){g[e]=new h(e,1,!1,e.toLowerCase(),null,!0,!0)}));var w=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,k=Symbol.for("react.element"),x=Symbol.for("react.portal"),S=Symbol.for("react.fragment"),E=Symbol.for("react.strict_mode"),C=Symbol.for("react.profiler"),T=Symbol.for("react.provider"),A=Symbol.for("react.context"),_=Symbol.for("react.forward_ref"),j=Symbol.for("react.suspense"),R=Symbol.for("react.suspense_list"),L=Symbol.for("react.memo"),N=Symbol.for("react.lazy");Symbol.for("react.scope"),Symbol.for("react.debug_trace_mode");var P=Symbol.for("react.offscreen");Symbol.for("react.legacy_hidden"),Symbol.for("react.cache"),Symbol.for("react.tracing_marker");var O=Symbol.iterator;function D(e){return null===e||"object"!=typeof e?null:"function"==typeof(e=O&&e[O]||e["@@iterator"])?e:null}var I,M=Object.assign;function F(e){if(void 0===I)try{throw Error()}catch(n){var t=n.stack.trim().match(/\n( *(at )?)/);I=t&&t[1]||""}return"\n"+I+e}var z=!1;function B(e,t){if(!e||z)return"";z=!0;var n=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(t)if(t=function(){throw Error()},Object.defineProperty(t.prototype,"props",{set:function(){throw Error()}}),"object"==typeof Reflect&&Reflect.construct){try{Reflect.construct(t,[])}catch(u){var r=u}Reflect.construct(e,[],t)}else{try{t.call()}catch(u){r=u}e.call(t.prototype)}else{try{throw Error()}catch(u){r=u}e()}}catch(u){if(u&&r&&"string"==typeof u.stack){for(var a=u.stack.split("\n"),o=r.stack.split("\n"),i=a.length-1,l=o.length-1;1<=i&&0<=l&&a[i]!==o[l];)l--;for(;1<=i&&0<=l;i--,l--)if(a[i]!==o[l]){if(1!==i||1!==l)do{if(i--,0>--l||a[i]!==o[l]){var s="\n"+a[i].replace(" at new "," at ");return e.displayName&&s.includes("<anonymous>")&&(s=s.replace("<anonymous>",e.displayName)),s}}while(1<=i&&0<=l);break}}}finally{z=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?F(e):""}function $(e){switch(e.tag){case 5:return F(e.type);case 16:return F("Lazy");case 13:return F("Suspense");case 19:return F("SuspenseList");case 0:case 2:case 15:return e=B(e.type,!1);case 11:return e=B(e.type.render,!1);case 1:return e=B(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 x:return"Portal";case C:return"Profiler";case E:return"StrictMode";case j:return"Suspense";case R:return"SuspenseList"}if("object"==typeof e)switch(e.$$typeof){case A:return(e.displayName||"Context")+".Consumer";case T:return(e._context.displayName||"Context")+".Provider";case _:var t=e.render;return(e=e.displayName)||(e=""!==(e=t.displayName||t.name||"")?"ForwardRef("+e+")":"ForwardRef"),e;case L:return null!==(t=e.displayName||null)?t:U(e.type)||"Memo";case N:t=e._payload,e=e._init;try{return U(e(t))}catch(n){}}return null}function q(e){var t=e.type;switch(e.tag){case 24:return"Cache";case 9:return(t.displayName||"Context")+".Consumer";case 10:return(t._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return e=(e=t.render).displayName||e.name||"",t.displayName||(""!==e?"ForwardRef("+e+")":"ForwardRef");case 7:return"Fragment";case 5:return t;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return U(t);case 8:return t===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 t)return t.displayName||t.name||null;if("string"==typeof t)return t}return null}function H(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":case"object":return e;default:return""}}function G(e){var t=e.type;return(e=e.nodeName)&&"input"===e.toLowerCase()&&("checkbox"===t||"radio"===t)}function V(e){e._valueTracker||(e._valueTracker=function(e){var t=G(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=""+e[t];if(!e.hasOwnProperty(t)&&void 0!==n&&"function"==typeof n.get&&"function"==typeof n.set){var a=n.get,o=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return a.call(this)},set:function(e){r=""+e,o.call(this,e)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(e){r=""+e},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}(e))}function W(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=G(e)?e.checked?"true":"false":e.value),(e=r)!==n&&(t.setValue(e),!0)}function K(e){if(void 0===(e=e||("undefined"!=typeof document?document:void 0)))return null;try{return e.activeElement||e.body}catch(t){return e.body}}function Q(e,t){var n=t.checked;return M({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:null!=n?n:e._wrapperState.initialChecked})}function Y(e,t){var n=null==t.defaultValue?"":t.defaultValue,r=null!=t.checked?t.checked:t.defaultChecked;n=H(null!=t.value?t.value:n),e._wrapperState={initialChecked:r,initialValue:n,controlled:"checkbox"===t.type||"radio"===t.type?null!=t.checked:null!=t.value}}function Z(e,t){null!=(t=t.checked)&&v(e,"checked",t,!1)}function X(e,t){Z(e,t);var n=H(t.value),r=t.type;if(null!=n)"number"===r?(0===n&&""===e.value||e.value!=n)&&(e.value=""+n):e.value!==""+n&&(e.value=""+n);else if("submit"===r||"reset"===r)return void e.removeAttribute("value");t.hasOwnProperty("value")?ee(e,t.type,n):t.hasOwnProperty("defaultValue")&&ee(e,t.type,H(t.defaultValue)),null==t.checked&&null!=t.defaultChecked&&(e.defaultChecked=!!t.defaultChecked)}function J(e,t,n){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var r=t.type;if(!("submit"!==r&&"reset"!==r||void 0!==t.value&&null!==t.value))return;t=""+e._wrapperState.initialValue,n||t===e.value||(e.value=t),e.defaultValue=t}""!==(n=e.name)&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,""!==n&&(e.name=n)}function ee(e,t,n){"number"===t&&K(e.ownerDocument)===e||(null==n?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var te=Array.isArray;function ne(e,t,n,r){if(e=e.options,t){t={};for(var a=0;a<n.length;a++)t["$"+n[a]]=!0;for(n=0;n<e.length;n++)a=t.hasOwnProperty("$"+e[n].value),e[n].selected!==a&&(e[n].selected=a),a&&r&&(e[n].defaultSelected=!0)}else{for(n=""+H(n),t=null,a=0;a<e.length;a++){if(e[a].value===n)return e[a].selected=!0,void(r&&(e[a].defaultSelected=!0));null!==t||e[a].disabled||(t=e[a])}null!==t&&(t.selected=!0)}}function re(e,t){if(null!=t.dangerouslySetInnerHTML)throw Error(o(91));return M({},t,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function ae(e,t){var n=t.value;if(null==n){if(n=t.children,t=t.defaultValue,null!=n){if(null!=t)throw Error(o(92));if(te(n)){if(1<n.length)throw Error(o(93));n=n[0]}t=n}null==t&&(t=""),n=t}e._wrapperState={initialValue:H(n)}}function oe(e,t){var n=H(t.value),r=H(t.defaultValue);null!=n&&((n=""+n)!==e.value&&(e.value=n),null==t.defaultValue&&e.defaultValue!==n&&(e.defaultValue=n)),null!=r&&(e.defaultValue=""+r)}function ie(e){var t=e.textContent;t===e._wrapperState.initialValue&&""!==t&&null!==t&&(e.value=t)}function le(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 se(e,t){return null==e||"http://www.w3.org/1999/xhtml"===e?le(t):"http://www.w3.org/2000/svg"===e&&"foreignObject"===t?"http://www.w3.org/1999/xhtml":e}var ue,ce,de=(ce=function(e,t){if("http://www.w3.org/2000/svg"!==e.namespaceURI||"innerHTML"in e)e.innerHTML=t;else{for((ue=ue||document.createElement("div")).innerHTML="<svg>"+t.valueOf().toString()+"</svg>",t=ue.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}},"undefined"!=typeof MSApp&&MSApp.execUnsafeLocalFunction?function(e,t,n,r){MSApp.execUnsafeLocalFunction((function(){return ce(e,t)}))}:ce);function pe(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&3===n.nodeType)return void(n.nodeValue=t)}e.textContent=t}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 he(e,t,n){return null==t||"boolean"==typeof t||""===t?"":n||"number"!=typeof t||0===t||fe.hasOwnProperty(e)&&fe[e]?(""+t).trim():t+"px"}function ge(e,t){for(var n in e=e.style,t)if(t.hasOwnProperty(n)){var r=0===n.indexOf("--"),a=he(n,t[n],r);"float"===n&&(n="cssFloat"),r?e.setProperty(n,a):e[n]=a}}Object.keys(fe).forEach((function(e){me.forEach((function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),fe[t]=fe[e]}))}));var ye=M({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,t){if(t){if(ye[e]&&(null!=t.children||null!=t.dangerouslySetInnerHTML))throw Error(o(137,e));if(null!=t.dangerouslySetInnerHTML){if(null!=t.children)throw Error(o(60));if("object"!=typeof t.dangerouslySetInnerHTML||!("__html"in t.dangerouslySetInnerHTML))throw Error(o(61))}if(null!=t.style&&"object"!=typeof t.style)throw Error(o(62))}}function ve(e,t){if(-1===e.indexOf("-"))return"string"==typeof t.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 we=null;function ke(e){return(e=e.target||e.srcElement||window).correspondingUseElement&&(e=e.correspondingUseElement),3===e.nodeType?e.parentNode:e}var xe=null,Se=null,Ee=null;function Ce(e){if(e=va(e)){if("function"!=typeof xe)throw Error(o(280));var t=e.stateNode;t&&(t=ka(t),xe(e.stateNode,e.type,t))}}function Te(e){Se?Ee?Ee.push(e):Ee=[e]:Se=e}function Ae(){if(Se){var e=Se,t=Ee;if(Ee=Se=null,Ce(e),t)for(e=0;e<t.length;e++)Ce(t[e])}}function _e(e,t){return e(t)}function je(){}var Re=!1;function Le(e,t,n){if(Re)return e(t,n);Re=!0;try{return _e(e,t,n)}finally{Re=!1,(null!==Se||null!==Ee)&&(je(),Ae())}}function Ne(e,t){var n=e.stateNode;if(null===n)return null;var r=ka(n);if(null===r)return null;n=r[t];e:switch(t){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(n&&"function"!=typeof n)throw Error(o(231,t,typeof n));return n}var Pe=!1;if(c)try{var Oe={};Object.defineProperty(Oe,"passive",{get:function(){Pe=!0}}),window.addEventListener("test",Oe,Oe),window.removeEventListener("test",Oe,Oe)}catch(ce){Pe=!1}function De(e,t,n,r,a,o,i,l,s){var u=Array.prototype.slice.call(arguments,3);try{t.apply(n,u)}catch(c){this.onError(c)}}var Ie=!1,Me=null,Fe=!1,ze=null,Be={onError:function(e){Ie=!0,Me=e}};function $e(e,t,n,r,a,o,i,l,s){Ie=!1,Me=null,De.apply(Be,arguments)}function Ue(e){var t=e,n=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do{!!(4098&(t=e).flags)&&(n=t.return),e=t.return}while(e)}return 3===t.tag?n:null}function qe(e){if(13===e.tag){var t=e.memoizedState;if(null===t&&(null!==(e=e.alternate)&&(t=e.memoizedState)),null!==t)return t.dehydrated}return null}function He(e){if(Ue(e)!==e)throw Error(o(188))}function Ge(e){return null!==(e=function(e){var t=e.alternate;if(!t){if(null===(t=Ue(e)))throw Error(o(188));return t!==e?null:e}for(var n=e,r=t;;){var a=n.return;if(null===a)break;var i=a.alternate;if(null===i){if(null!==(r=a.return)){n=r;continue}break}if(a.child===i.child){for(i=a.child;i;){if(i===n)return He(a),e;if(i===r)return He(a),t;i=i.sibling}throw Error(o(188))}if(n.return!==r.return)n=a,r=i;else{for(var l=!1,s=a.child;s;){if(s===n){l=!0,n=a,r=i;break}if(s===r){l=!0,r=a,n=i;break}s=s.sibling}if(!l){for(s=i.child;s;){if(s===n){l=!0,n=i,r=a;break}if(s===r){l=!0,r=i,n=a;break}s=s.sibling}if(!l)throw Error(o(189))}}if(n.alternate!==r)throw Error(o(190))}if(3!==n.tag)throw Error(o(188));return n.stateNode.current===n?e:t}(e))?Ve(e):null}function Ve(e){if(5===e.tag||6===e.tag)return e;for(e=e.child;null!==e;){var t=Ve(e);if(null!==t)return t;e=e.sibling}return null}var We=a.unstable_scheduleCallback,Ke=a.unstable_cancelCallback,Qe=a.unstable_shouldYield,Ye=a.unstable_requestPaint,Ze=a.unstable_now,Xe=a.unstable_getCurrentPriorityLevel,Je=a.unstable_ImmediatePriority,et=a.unstable_UserBlockingPriority,tt=a.unstable_NormalPriority,nt=a.unstable_LowPriority,rt=a.unstable_IdlePriority,at=null,ot=null;var it=Math.clz32?Math.clz32:function(e){return e>>>=0,0===e?32:31-(lt(e)/st|0)|0},lt=Math.log,st=Math.LN2;var ut=64,ct=4194304;function dt(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 pt(e,t){var n=e.pendingLanes;if(0===n)return 0;var r=0,a=e.suspendedLanes,o=e.pingedLanes,i=268435455&n;if(0!==i){var l=i&~a;0!==l?r=dt(l):0!==(o&=i)&&(r=dt(o))}else 0!==(i=n&~a)?r=dt(i):0!==o&&(r=dt(o));if(0===r)return 0;if(0!==t&&t!==r&&!(t&a)&&((a=r&-r)>=(o=t&-t)||16===a&&4194240&o))return t;if(4&r&&(r|=16&n),0!==(t=e.entangledLanes))for(e=e.entanglements,t&=r;0<t;)a=1<<(n=31-it(t)),r|=e[n],t&=~a;return r}function ft(e,t){switch(e){case 1:case 2:case 4:return t+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 t+5e3;default:return-1}}function mt(e){return 0!==(e=-1073741825&e.pendingLanes)?e:1073741824&e?1073741824:0}function ht(){var e=ut;return!(4194240&(ut<<=1))&&(ut=64),e}function gt(e){for(var t=[],n=0;31>n;n++)t.push(e);return t}function yt(e,t,n){e.pendingLanes|=t,536870912!==t&&(e.suspendedLanes=0,e.pingedLanes=0),(e=e.eventTimes)[t=31-it(t)]=n}function bt(e,t){var n=e.entangledLanes|=t;for(e=e.entanglements;n;){var r=31-it(n),a=1<<r;a&t|e[r]&t&&(e[r]|=t),n&=~a}}var vt=0;function wt(e){return 1<(e&=-e)?4<e?268435455&e?16:536870912:4:1}var kt,xt,St,Et,Ct,Tt=!1,At=[],_t=null,jt=null,Rt=null,Lt=new Map,Nt=new Map,Pt=[],Ot="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 Dt(e,t){switch(e){case"focusin":case"focusout":_t=null;break;case"dragenter":case"dragleave":jt=null;break;case"mouseover":case"mouseout":Rt=null;break;case"pointerover":case"pointerout":Lt.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":Nt.delete(t.pointerId)}}function It(e,t,n,r,a,o){return null===e||e.nativeEvent!==o?(e={blockedOn:t,domEventName:n,eventSystemFlags:r,nativeEvent:o,targetContainers:[a]},null!==t&&(null!==(t=va(t))&&xt(t)),e):(e.eventSystemFlags|=r,t=e.targetContainers,null!==a&&-1===t.indexOf(a)&&t.push(a),e)}function Mt(e){var t=ba(e.target);if(null!==t){var n=Ue(t);if(null!==n)if(13===(t=n.tag)){if(null!==(t=qe(n)))return e.blockedOn=t,void Ct(e.priority,(function(){St(n)}))}else if(3===t&&n.stateNode.current.memoizedState.isDehydrated)return void(e.blockedOn=3===n.tag?n.stateNode.containerInfo:null)}e.blockedOn=null}function Ft(e){if(null!==e.blockedOn)return!1;for(var t=e.targetContainers;0<t.length;){var n=Qt(e.domEventName,e.eventSystemFlags,t[0],e.nativeEvent);if(null!==n)return null!==(t=va(n))&&xt(t),e.blockedOn=n,!1;var r=new(n=e.nativeEvent).constructor(n.type,n);we=r,n.target.dispatchEvent(r),we=null,t.shift()}return!0}function zt(e,t,n){Ft(e)&&n.delete(t)}function Bt(){Tt=!1,null!==_t&&Ft(_t)&&(_t=null),null!==jt&&Ft(jt)&&(jt=null),null!==Rt&&Ft(Rt)&&(Rt=null),Lt.forEach(zt),Nt.forEach(zt)}function $t(e,t){e.blockedOn===t&&(e.blockedOn=null,Tt||(Tt=!0,a.unstable_scheduleCallback(a.unstable_NormalPriority,Bt)))}function Ut(e){function t(t){return $t(t,e)}if(0<At.length){$t(At[0],e);for(var n=1;n<At.length;n++){var r=At[n];r.blockedOn===e&&(r.blockedOn=null)}}for(null!==_t&&$t(_t,e),null!==jt&&$t(jt,e),null!==Rt&&$t(Rt,e),Lt.forEach(t),Nt.forEach(t),n=0;n<Pt.length;n++)(r=Pt[n]).blockedOn===e&&(r.blockedOn=null);for(;0<Pt.length&&null===(n=Pt[0]).blockedOn;)Mt(n),null===n.blockedOn&&Pt.shift()}var qt=w.ReactCurrentBatchConfig,Ht=!0;function Gt(e,t,n,r){var a=vt,o=qt.transition;qt.transition=null;try{vt=1,Wt(e,t,n,r)}finally{vt=a,qt.transition=o}}function Vt(e,t,n,r){var a=vt,o=qt.transition;qt.transition=null;try{vt=4,Wt(e,t,n,r)}finally{vt=a,qt.transition=o}}function Wt(e,t,n,r){if(Ht){var a=Qt(e,t,n,r);if(null===a)Hr(e,t,r,Kt,n),Dt(e,r);else if(function(e,t,n,r,a){switch(t){case"focusin":return _t=It(_t,e,t,n,r,a),!0;case"dragenter":return jt=It(jt,e,t,n,r,a),!0;case"mouseover":return Rt=It(Rt,e,t,n,r,a),!0;case"pointerover":var o=a.pointerId;return Lt.set(o,It(Lt.get(o)||null,e,t,n,r,a)),!0;case"gotpointercapture":return o=a.pointerId,Nt.set(o,It(Nt.get(o)||null,e,t,n,r,a)),!0}return!1}(a,e,t,n,r))r.stopPropagation();else if(Dt(e,r),4&t&&-1<Ot.indexOf(e)){for(;null!==a;){var o=va(a);if(null!==o&&kt(o),null===(o=Qt(e,t,n,r))&&Hr(e,t,r,Kt,n),o===a)break;a=o}null!==a&&r.stopPropagation()}else Hr(e,t,r,null,n)}}var Kt=null;function Qt(e,t,n,r){if(Kt=null,null!==(e=ba(e=ke(r))))if(null===(t=Ue(e)))e=null;else if(13===(n=t.tag)){if(null!==(e=qe(t)))return e;e=null}else if(3===n){if(t.stateNode.current.memoizedState.isDehydrated)return 3===t.tag?t.stateNode.containerInfo:null;e=null}else t!==e&&(e=null);return Kt=e,null}function Yt(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(Xe()){case Je:return 1;case et:return 4;case tt:case nt:return 16;case rt:return 536870912;default:return 16}default:return 16}}var Zt=null,Xt=null,Jt=null;function en(){if(Jt)return Jt;var e,t,n=Xt,r=n.length,a="value"in Zt?Zt.value:Zt.textContent,o=a.length;for(e=0;e<r&&n[e]===a[e];e++);var i=r-e;for(t=1;t<=i&&n[r-t]===a[o-t];t++);return Jt=a.slice(e,1<t?1-t:void 0)}function tn(e){var t=e.keyCode;return"charCode"in e?0===(e=e.charCode)&&13===t&&(e=13):e=t,10===e&&(e=13),32<=e||13===e?e:0}function nn(){return!0}function rn(){return!1}function an(e){function t(t,n,r,a,o){for(var i in this._reactName=t,this._targetInst=r,this.type=n,this.nativeEvent=a,this.target=o,this.currentTarget=null,e)e.hasOwnProperty(i)&&(t=e[i],this[i]=t?t(a):a[i]);return this.isDefaultPrevented=(null!=a.defaultPrevented?a.defaultPrevented:!1===a.returnValue)?nn:rn,this.isPropagationStopped=rn,this}return M(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var e=this.nativeEvent;e&&(e.preventDefault?e.preventDefault():"unknown"!=typeof e.returnValue&&(e.returnValue=!1),this.isDefaultPrevented=nn)},stopPropagation:function(){var e=this.nativeEvent;e&&(e.stopPropagation?e.stopPropagation():"unknown"!=typeof e.cancelBubble&&(e.cancelBubble=!0),this.isPropagationStopped=nn)},persist:function(){},isPersistent:nn}),t}var on,ln,sn,un={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},cn=an(un),dn=M({},un,{view:0,detail:0}),pn=an(dn),fn=M({},dn,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Cn,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!==sn&&(sn&&"mousemove"===e.type?(on=e.screenX-sn.screenX,ln=e.screenY-sn.screenY):ln=on=0,sn=e),on)},movementY:function(e){return"movementY"in e?e.movementY:ln}}),mn=an(fn),hn=an(M({},fn,{dataTransfer:0})),gn=an(M({},dn,{relatedTarget:0})),yn=an(M({},un,{animationName:0,elapsedTime:0,pseudoElement:0})),bn=M({},un,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),vn=an(bn),wn=an(M({},un,{data:0})),kn={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},xn={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"},Sn={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function En(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):!!(e=Sn[e])&&!!t[e]}function Cn(){return En}var Tn=M({},dn,{key:function(e){if(e.key){var t=kn[e.key]||e.key;if("Unidentified"!==t)return t}return"keypress"===e.type?13===(e=tn(e))?"Enter":String.fromCharCode(e):"keydown"===e.type||"keyup"===e.type?xn[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Cn,charCode:function(e){return"keypress"===e.type?tn(e):0},keyCode:function(e){return"keydown"===e.type||"keyup"===e.type?e.keyCode:0},which:function(e){return"keypress"===e.type?tn(e):"keydown"===e.type||"keyup"===e.type?e.keyCode:0}}),An=an(Tn),_n=an(M({},fn,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0})),jn=an(M({},dn,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Cn})),Rn=an(M({},un,{propertyName:0,elapsedTime:0,pseudoElement:0})),Ln=M({},fn,{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}),Nn=an(Ln),Pn=[9,13,27,32],On=c&&"CompositionEvent"in window,Dn=null;c&&"documentMode"in document&&(Dn=document.documentMode);var In=c&&"TextEvent"in window&&!Dn,Mn=c&&(!On||Dn&&8<Dn&&11>=Dn),Fn=String.fromCharCode(32),zn=!1;function Bn(e,t){switch(e){case"keyup":return-1!==Pn.indexOf(t.keyCode);case"keydown":return 229!==t.keyCode;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function $n(e){return"object"==typeof(e=e.detail)&&"data"in e?e.data:null}var Un=!1;var qn={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 Hn(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return"input"===t?!!qn[e.type]:"textarea"===t}function Gn(e,t,n,r){Te(r),0<(t=Vr(t,"onChange")).length&&(n=new cn("onChange","change",null,n,r),e.push({event:n,listeners:t}))}var Vn=null,Wn=null;function Kn(e){Fr(e,0)}function Qn(e){if(W(wa(e)))return e}function Yn(e,t){if("change"===e)return t}var Zn=!1;if(c){var Xn;if(c){var Jn="oninput"in document;if(!Jn){var er=document.createElement("div");er.setAttribute("oninput","return;"),Jn="function"==typeof er.oninput}Xn=Jn}else Xn=!1;Zn=Xn&&(!document.documentMode||9<document.documentMode)}function tr(){Vn&&(Vn.detachEvent("onpropertychange",nr),Wn=Vn=null)}function nr(e){if("value"===e.propertyName&&Qn(Wn)){var t=[];Gn(t,Wn,e,ke(e)),Le(Kn,t)}}function rr(e,t,n){"focusin"===e?(tr(),Wn=n,(Vn=t).attachEvent("onpropertychange",nr)):"focusout"===e&&tr()}function ar(e){if("selectionchange"===e||"keyup"===e||"keydown"===e)return Qn(Wn)}function or(e,t){if("click"===e)return Qn(t)}function ir(e,t){if("input"===e||"change"===e)return Qn(t)}var lr="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t};function sr(e,t){if(lr(e,t))return!0;if("object"!=typeof e||null===e||"object"!=typeof t||null===t)return!1;var n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(r=0;r<n.length;r++){var a=n[r];if(!d.call(t,a)||!lr(e[a],t[a]))return!1}return!0}function ur(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function cr(e,t){var n,r=ur(e);for(e=0;r;){if(3===r.nodeType){if(n=e+r.textContent.length,e<=t&&n>=t)return{node:r,offset:t-e};e=n}e:{for(;r;){if(r.nextSibling){r=r.nextSibling;break e}r=r.parentNode}r=void 0}r=ur(r)}}function dr(e,t){return!(!e||!t)&&(e===t||(!e||3!==e.nodeType)&&(t&&3===t.nodeType?dr(e,t.parentNode):"contains"in e?e.contains(t):!!e.compareDocumentPosition&&!!(16&e.compareDocumentPosition(t))))}function pr(){for(var e=window,t=K();t instanceof e.HTMLIFrameElement;){try{var n="string"==typeof t.contentWindow.location.href}catch(r){n=!1}if(!n)break;t=K((e=t.contentWindow).document)}return t}function fr(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&("input"===t&&("text"===e.type||"search"===e.type||"tel"===e.type||"url"===e.type||"password"===e.type)||"textarea"===t||"true"===e.contentEditable)}function mr(e){var t=pr(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&dr(n.ownerDocument.documentElement,n)){if(null!==r&&fr(n))if(t=r.start,void 0===(e=r.end)&&(e=t),"selectionStart"in n)n.selectionStart=t,n.selectionEnd=Math.min(e,n.value.length);else if((e=(t=n.ownerDocument||document)&&t.defaultView||window).getSelection){e=e.getSelection();var a=n.textContent.length,o=Math.min(r.start,a);r=void 0===r.end?o:Math.min(r.end,a),!e.extend&&o>r&&(a=r,r=o,o=a),a=cr(n,o);var i=cr(n,r);a&&i&&(1!==e.rangeCount||e.anchorNode!==a.node||e.anchorOffset!==a.offset||e.focusNode!==i.node||e.focusOffset!==i.offset)&&((t=t.createRange()).setStart(a.node,a.offset),e.removeAllRanges(),o>r?(e.addRange(t),e.extend(i.node,i.offset)):(t.setEnd(i.node,i.offset),e.addRange(t)))}for(t=[],e=n;e=e.parentNode;)1===e.nodeType&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for("function"==typeof n.focus&&n.focus(),n=0;n<t.length;n++)(e=t[n]).element.scrollLeft=e.left,e.element.scrollTop=e.top}}var hr=c&&"documentMode"in document&&11>=document.documentMode,gr=null,yr=null,br=null,vr=!1;function wr(e,t,n){var r=n.window===n?n.document:9===n.nodeType?n:n.ownerDocument;vr||null==gr||gr!==K(r)||("selectionStart"in(r=gr)&&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&&sr(br,r)||(br=r,0<(r=Vr(yr,"onSelect")).length&&(t=new cn("onSelect","select",null,t,n),e.push({event:t,listeners:r}),t.target=gr)))}function kr(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var xr={animationend:kr("Animation","AnimationEnd"),animationiteration:kr("Animation","AnimationIteration"),animationstart:kr("Animation","AnimationStart"),transitionend:kr("Transition","TransitionEnd")},Sr={},Er={};function Cr(e){if(Sr[e])return Sr[e];if(!xr[e])return e;var t,n=xr[e];for(t in n)if(n.hasOwnProperty(t)&&t in Er)return Sr[e]=n[t];return e}c&&(Er=document.createElement("div").style,"AnimationEvent"in window||(delete xr.animationend.animation,delete xr.animationiteration.animation,delete xr.animationstart.animation),"TransitionEvent"in window||delete xr.transitionend.transition);var Tr=Cr("animationend"),Ar=Cr("animationiteration"),_r=Cr("animationstart"),jr=Cr("transitionend"),Rr=new Map,Lr="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 Nr(e,t){Rr.set(e,t),s(t,[e])}for(var Pr=0;Pr<Lr.length;Pr++){var Or=Lr[Pr];Nr(Or.toLowerCase(),"on"+(Or[0].toUpperCase()+Or.slice(1)))}Nr(Tr,"onAnimationEnd"),Nr(Ar,"onAnimationIteration"),Nr(_r,"onAnimationStart"),Nr("dblclick","onDoubleClick"),Nr("focusin","onFocus"),Nr("focusout","onBlur"),Nr(jr,"onTransitionEnd"),u("onMouseEnter",["mouseout","mouseover"]),u("onMouseLeave",["mouseout","mouseover"]),u("onPointerEnter",["pointerout","pointerover"]),u("onPointerLeave",["pointerout","pointerover"]),s("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),s("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),s("onBeforeInput",["compositionend","keypress","textInput","paste"]),s("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),s("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),s("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var Dr="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(" "),Ir=new Set("cancel close invalid load scroll toggle".split(" ").concat(Dr));function Mr(e,t,n){var r=e.type||"unknown-event";e.currentTarget=n,function(e,t,n,r,a,i,l,s,u){if($e.apply(this,arguments),Ie){if(!Ie)throw Error(o(198));var c=Me;Ie=!1,Me=null,Fe||(Fe=!0,ze=c)}}(r,t,void 0,e),e.currentTarget=null}function Fr(e,t){t=!!(4&t);for(var n=0;n<e.length;n++){var r=e[n],a=r.event;r=r.listeners;e:{var o=void 0;if(t)for(var i=r.length-1;0<=i;i--){var l=r[i],s=l.instance,u=l.currentTarget;if(l=l.listener,s!==o&&a.isPropagationStopped())break e;Mr(a,l,u),o=s}else for(i=0;i<r.length;i++){if(s=(l=r[i]).instance,u=l.currentTarget,l=l.listener,s!==o&&a.isPropagationStopped())break e;Mr(a,l,u),o=s}}}if(Fe)throw e=ze,Fe=!1,ze=null,e}function zr(e,t){var n=t[ha];void 0===n&&(n=t[ha]=new Set);var r=e+"__bubble";n.has(r)||(qr(t,e,2,!1),n.add(r))}function Br(e,t,n){var r=0;t&&(r|=4),qr(n,e,r,t)}var $r="_reactListening"+Math.random().toString(36).slice(2);function Ur(e){if(!e[$r]){e[$r]=!0,i.forEach((function(t){"selectionchange"!==t&&(Ir.has(t)||Br(t,!1,e),Br(t,!0,e))}));var t=9===e.nodeType?e:e.ownerDocument;null===t||t[$r]||(t[$r]=!0,Br("selectionchange",!1,t))}}function qr(e,t,n,r){switch(Yt(t)){case 1:var a=Gt;break;case 4:a=Vt;break;default:a=Wt}n=a.bind(null,t,n,e),a=void 0,!Pe||"touchstart"!==t&&"touchmove"!==t&&"wheel"!==t||(a=!0),r?void 0!==a?e.addEventListener(t,n,{capture:!0,passive:a}):e.addEventListener(t,n,!0):void 0!==a?e.addEventListener(t,n,{passive:a}):e.addEventListener(t,n,!1)}function Hr(e,t,n,r,a){var o=r;if(!(1&t||2&t||null===r))e:for(;;){if(null===r)return;var i=r.tag;if(3===i||4===i){var l=r.stateNode.containerInfo;if(l===a||8===l.nodeType&&l.parentNode===a)break;if(4===i)for(i=r.return;null!==i;){var s=i.tag;if((3===s||4===s)&&((s=i.stateNode.containerInfo)===a||8===s.nodeType&&s.parentNode===a))return;i=i.return}for(;null!==l;){if(null===(i=ba(l)))return;if(5===(s=i.tag)||6===s){r=o=i;continue e}l=l.parentNode}}r=r.return}Le((function(){var r=o,a=ke(n),i=[];e:{var l=Rr.get(e);if(void 0!==l){var s=cn,u=e;switch(e){case"keypress":if(0===tn(n))break e;case"keydown":case"keyup":s=An;break;case"focusin":u="focus",s=gn;break;case"focusout":u="blur",s=gn;break;case"beforeblur":case"afterblur":s=gn;break;case"click":if(2===n.button)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":s=mn;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":s=hn;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":s=jn;break;case Tr:case Ar:case _r:s=yn;break;case jr:s=Rn;break;case"scroll":s=pn;break;case"wheel":s=Nn;break;case"copy":case"cut":case"paste":s=vn;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":s=_n}var c=!!(4&t),d=!c&&"scroll"===e,p=c?null!==l?l+"Capture":null:l;c=[];for(var f,m=r;null!==m;){var h=(f=m).stateNode;if(5===f.tag&&null!==h&&(f=h,null!==p&&(null!=(h=Ne(m,p))&&c.push(Gr(m,h,f)))),d)break;m=m.return}0<c.length&&(l=new s(l,u,null,n,a),i.push({event:l,listeners:c}))}}if(!(7&t)){if(s="mouseout"===e||"pointerout"===e,(!(l="mouseover"===e||"pointerover"===e)||n===we||!(u=n.relatedTarget||n.fromElement)||!ba(u)&&!u[ma])&&(s||l)&&(l=a.window===a?a:(l=a.ownerDocument)?l.defaultView||l.parentWindow:window,s?(s=r,null!==(u=(u=n.relatedTarget||n.toElement)?ba(u):null)&&(u!==(d=Ue(u))||5!==u.tag&&6!==u.tag)&&(u=null)):(s=null,u=r),s!==u)){if(c=mn,h="onMouseLeave",p="onMouseEnter",m="mouse","pointerout"!==e&&"pointerover"!==e||(c=_n,h="onPointerLeave",p="onPointerEnter",m="pointer"),d=null==s?l:wa(s),f=null==u?l:wa(u),(l=new c(h,m+"leave",s,n,a)).target=d,l.relatedTarget=f,h=null,ba(a)===r&&((c=new c(p,m+"enter",u,n,a)).target=f,c.relatedTarget=d,h=c),d=h,s&&u)e:{for(p=u,m=0,f=c=s;f;f=Wr(f))m++;for(f=0,h=p;h;h=Wr(h))f++;for(;0<m-f;)c=Wr(c),m--;for(;0<f-m;)p=Wr(p),f--;for(;m--;){if(c===p||null!==p&&c===p.alternate)break e;c=Wr(c),p=Wr(p)}c=null}else c=null;null!==s&&Kr(i,l,s,c,!1),null!==u&&null!==d&&Kr(i,d,u,c,!0)}if("select"===(s=(l=r?wa(r):window).nodeName&&l.nodeName.toLowerCase())||"input"===s&&"file"===l.type)var g=Yn;else if(Hn(l))if(Zn)g=ir;else{g=ar;var y=rr}else(s=l.nodeName)&&"input"===s.toLowerCase()&&("checkbox"===l.type||"radio"===l.type)&&(g=or);switch(g&&(g=g(e,r))?Gn(i,g,n,a):(y&&y(e,l,r),"focusout"===e&&(y=l._wrapperState)&&y.controlled&&"number"===l.type&&ee(l,"number",l.value)),y=r?wa(r):window,e){case"focusin":(Hn(y)||"true"===y.contentEditable)&&(gr=y,yr=r,br=null);break;case"focusout":br=yr=gr=null;break;case"mousedown":vr=!0;break;case"contextmenu":case"mouseup":case"dragend":vr=!1,wr(i,n,a);break;case"selectionchange":if(hr)break;case"keydown":case"keyup":wr(i,n,a)}var b;if(On)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 Un?Bn(e,n)&&(v="onCompositionEnd"):"keydown"===e&&229===n.keyCode&&(v="onCompositionStart");v&&(Mn&&"ko"!==n.locale&&(Un||"onCompositionStart"!==v?"onCompositionEnd"===v&&Un&&(b=en()):(Xt="value"in(Zt=a)?Zt.value:Zt.textContent,Un=!0)),0<(y=Vr(r,v)).length&&(v=new wn(v,e,null,n,a),i.push({event:v,listeners:y}),b?v.data=b:null!==(b=$n(n))&&(v.data=b))),(b=In?function(e,t){switch(e){case"compositionend":return $n(t);case"keypress":return 32!==t.which?null:(zn=!0,Fn);case"textInput":return(e=t.data)===Fn&&zn?null:e;default:return null}}(e,n):function(e,t){if(Un)return"compositionend"===e||!On&&Bn(e,t)?(e=en(),Jt=Xt=Zt=null,Un=!1,e):null;switch(e){case"paste":default:return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1<t.char.length)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case"compositionend":return Mn&&"ko"!==t.locale?null:t.data}}(e,n))&&(0<(r=Vr(r,"onBeforeInput")).length&&(a=new wn("onBeforeInput","beforeinput",null,n,a),i.push({event:a,listeners:r}),a.data=b))}Fr(i,t)}))}function Gr(e,t,n){return{instance:e,listener:t,currentTarget:n}}function Vr(e,t){for(var n=t+"Capture",r=[];null!==e;){var a=e,o=a.stateNode;5===a.tag&&null!==o&&(a=o,null!=(o=Ne(e,n))&&r.unshift(Gr(e,o,a)),null!=(o=Ne(e,t))&&r.push(Gr(e,o,a))),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 Kr(e,t,n,r,a){for(var o=t._reactName,i=[];null!==n&&n!==r;){var l=n,s=l.alternate,u=l.stateNode;if(null!==s&&s===r)break;5===l.tag&&null!==u&&(l=u,a?null!=(s=Ne(n,o))&&i.unshift(Gr(n,s,l)):a||null!=(s=Ne(n,o))&&i.push(Gr(n,s,l))),n=n.return}0!==i.length&&e.push({event:t,listeners:i})}var Qr=/\r\n?/g,Yr=/\u0000|\uFFFD/g;function Zr(e){return("string"==typeof e?e:""+e).replace(Qr,"\n").replace(Yr,"")}function Xr(e,t,n){if(t=Zr(t),Zr(e)!==t&&n)throw Error(o(425))}function Jr(){}var ea=null,ta=null;function na(e,t){return"textarea"===e||"noscript"===e||"string"==typeof t.children||"number"==typeof t.children||"object"==typeof t.dangerouslySetInnerHTML&&null!==t.dangerouslySetInnerHTML&&null!=t.dangerouslySetInnerHTML.__html}var ra="function"==typeof setTimeout?setTimeout:void 0,aa="function"==typeof clearTimeout?clearTimeout:void 0,oa="function"==typeof Promise?Promise:void 0,ia="function"==typeof queueMicrotask?queueMicrotask:void 0!==oa?function(e){return oa.resolve(null).then(e).catch(la)}:ra;function la(e){setTimeout((function(){throw e}))}function sa(e,t){var n=t,r=0;do{var a=n.nextSibling;if(e.removeChild(n),a&&8===a.nodeType)if("/$"===(n=a.data)){if(0===r)return e.removeChild(a),void Ut(t);r--}else"$"!==n&&"$?"!==n&&"$!"!==n||r++;n=a}while(n);Ut(t)}function ua(e){for(;null!=e;e=e.nextSibling){var t=e.nodeType;if(1===t||3===t)break;if(8===t){if("$"===(t=e.data)||"$!"===t||"$?"===t)break;if("/$"===t)return null}}return e}function ca(e){e=e.previousSibling;for(var t=0;e;){if(8===e.nodeType){var n=e.data;if("$"===n||"$!"===n||"$?"===n){if(0===t)return e;t--}else"/$"===n&&t++}e=e.previousSibling}return null}var da=Math.random().toString(36).slice(2),pa="__reactFiber$"+da,fa="__reactProps$"+da,ma="__reactContainer$"+da,ha="__reactEvents$"+da,ga="__reactListeners$"+da,ya="__reactHandles$"+da;function ba(e){var t=e[pa];if(t)return t;for(var n=e.parentNode;n;){if(t=n[ma]||n[pa]){if(n=t.alternate,null!==t.child||null!==n&&null!==n.child)for(e=ca(e);null!==e;){if(n=e[pa])return n;e=ca(e)}return t}n=(e=n).parentNode}return null}function va(e){return!(e=e[pa]||e[ma])||5!==e.tag&&6!==e.tag&&13!==e.tag&&3!==e.tag?null:e}function wa(e){if(5===e.tag||6===e.tag)return e.stateNode;throw Error(o(33))}function ka(e){return e[fa]||null}var xa=[],Sa=-1;function Ea(e){return{current:e}}function Ca(e){0>Sa||(e.current=xa[Sa],xa[Sa]=null,Sa--)}function Ta(e,t){Sa++,xa[Sa]=e.current,e.current=t}var Aa={},_a=Ea(Aa),ja=Ea(!1),Ra=Aa;function La(e,t){var n=e.type.contextTypes;if(!n)return Aa;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var a,o={};for(a in n)o[a]=t[a];return r&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=o),o}function Na(e){return null!=(e=e.childContextTypes)}function Pa(){Ca(ja),Ca(_a)}function Oa(e,t,n){if(_a.current!==Aa)throw Error(o(168));Ta(_a,t),Ta(ja,n)}function Da(e,t,n){var r=e.stateNode;if(t=t.childContextTypes,"function"!=typeof r.getChildContext)return n;for(var a in r=r.getChildContext())if(!(a in t))throw Error(o(108,q(e)||"Unknown",a));return M({},n,r)}function Ia(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||Aa,Ra=_a.current,Ta(_a,e),Ta(ja,ja.current),!0}function Ma(e,t,n){var r=e.stateNode;if(!r)throw Error(o(169));n?(e=Da(e,t,Ra),r.__reactInternalMemoizedMergedChildContext=e,Ca(ja),Ca(_a),Ta(_a,e)):Ca(ja),Ta(ja,n)}var Fa=null,za=!1,Ba=!1;function $a(e){null===Fa?Fa=[e]:Fa.push(e)}function Ua(){if(!Ba&&null!==Fa){Ba=!0;var e=0,t=vt;try{var n=Fa;for(vt=1;e<n.length;e++){var r=n[e];do{r=r(!0)}while(null!==r)}Fa=null,za=!1}catch(a){throw null!==Fa&&(Fa=Fa.slice(e+1)),We(Je,Ua),a}finally{vt=t,Ba=!1}}return null}var qa=[],Ha=0,Ga=null,Va=0,Wa=[],Ka=0,Qa=null,Ya=1,Za="";function Xa(e,t){qa[Ha++]=Va,qa[Ha++]=Ga,Ga=e,Va=t}function Ja(e,t,n){Wa[Ka++]=Ya,Wa[Ka++]=Za,Wa[Ka++]=Qa,Qa=e;var r=Ya;e=Za;var a=32-it(r)-1;r&=~(1<<a),n+=1;var o=32-it(t)+a;if(30<o){var i=a-a%5;o=(r&(1<<i)-1).toString(32),r>>=i,a-=i,Ya=1<<32-it(t)+a|n<<a|r,Za=o+e}else Ya=1<<o|n<<a|r,Za=e}function eo(e){null!==e.return&&(Xa(e,1),Ja(e,1,0))}function to(e){for(;e===Ga;)Ga=qa[--Ha],qa[Ha]=null,Va=qa[--Ha],qa[Ha]=null;for(;e===Qa;)Qa=Wa[--Ka],Wa[Ka]=null,Za=Wa[--Ka],Wa[Ka]=null,Ya=Wa[--Ka],Wa[Ka]=null}var no=null,ro=null,ao=!1,oo=null;function io(e,t){var n=Lu(5,null,null,0);n.elementType="DELETED",n.stateNode=t,n.return=e,null===(t=e.deletions)?(e.deletions=[n],e.flags|=16):t.push(n)}function lo(e,t){switch(e.tag){case 5:var n=e.type;return null!==(t=1!==t.nodeType||n.toLowerCase()!==t.nodeName.toLowerCase()?null:t)&&(e.stateNode=t,no=e,ro=ua(t.firstChild),!0);case 6:return null!==(t=""===e.pendingProps||3!==t.nodeType?null:t)&&(e.stateNode=t,no=e,ro=null,!0);case 13:return null!==(t=8!==t.nodeType?null:t)&&(n=null!==Qa?{id:Ya,overflow:Za}:null,e.memoizedState={dehydrated:t,treeContext:n,retryLane:1073741824},(n=Lu(18,null,null,0)).stateNode=t,n.return=e,e.child=n,no=e,ro=null,!0);default:return!1}}function so(e){return!(!(1&e.mode)||128&e.flags)}function uo(e){if(ao){var t=ro;if(t){var n=t;if(!lo(e,t)){if(so(e))throw Error(o(418));t=ua(n.nextSibling);var r=no;t&&lo(e,t)?io(r,n):(e.flags=-4097&e.flags|2,ao=!1,no=e)}}else{if(so(e))throw Error(o(418));e.flags=-4097&e.flags|2,ao=!1,no=e}}}function co(e){for(e=e.return;null!==e&&5!==e.tag&&3!==e.tag&&13!==e.tag;)e=e.return;no=e}function po(e){if(e!==no)return!1;if(!ao)return co(e),ao=!0,!1;var t;if((t=3!==e.tag)&&!(t=5!==e.tag)&&(t="head"!==(t=e.type)&&"body"!==t&&!na(e.type,e.memoizedProps)),t&&(t=ro)){if(so(e))throw fo(),Error(o(418));for(;t;)io(e,t),t=ua(t.nextSibling)}if(co(e),13===e.tag){if(!(e=null!==(e=e.memoizedState)?e.dehydrated:null))throw Error(o(317));e:{for(e=e.nextSibling,t=0;e;){if(8===e.nodeType){var n=e.data;if("/$"===n){if(0===t){ro=ua(e.nextSibling);break e}t--}else"$"!==n&&"$!"!==n&&"$?"!==n||t++}e=e.nextSibling}ro=null}}else ro=no?ua(e.stateNode.nextSibling):null;return!0}function fo(){for(var e=ro;e;)e=ua(e.nextSibling)}function mo(){ro=no=null,ao=!1}function ho(e){null===oo?oo=[e]:oo.push(e)}var go=w.ReactCurrentBatchConfig;function yo(e,t,n){if(null!==(e=n.ref)&&"function"!=typeof e&&"object"!=typeof e){if(n._owner){if(n=n._owner){if(1!==n.tag)throw Error(o(309));var r=n.stateNode}if(!r)throw Error(o(147,e));var a=r,i=""+e;return null!==t&&null!==t.ref&&"function"==typeof t.ref&&t.ref._stringRef===i?t.ref:(t=function(e){var t=a.refs;null===e?delete t[i]:t[i]=e},t._stringRef=i,t)}if("string"!=typeof e)throw Error(o(284));if(!n._owner)throw Error(o(290,e))}return e}function bo(e,t){throw e=Object.prototype.toString.call(t),Error(o(31,"[object Object]"===e?"object with keys {"+Object.keys(t).join(", ")+"}":e))}function vo(e){return(0,e._init)(e._payload)}function wo(e){function t(t,n){if(e){var r=t.deletions;null===r?(t.deletions=[n],t.flags|=16):r.push(n)}}function n(n,r){if(!e)return null;for(;null!==r;)t(n,r),r=r.sibling;return null}function r(e,t){for(e=new Map;null!==t;)null!==t.key?e.set(t.key,t):e.set(t.index,t),t=t.sibling;return e}function a(e,t){return(e=Pu(e,t)).index=0,e.sibling=null,e}function i(t,n,r){return t.index=r,e?null!==(r=t.alternate)?(r=r.index)<n?(t.flags|=2,n):r:(t.flags|=2,n):(t.flags|=1048576,n)}function l(t){return e&&null===t.alternate&&(t.flags|=2),t}function s(e,t,n,r){return null===t||6!==t.tag?((t=Mu(n,e.mode,r)).return=e,t):((t=a(t,n)).return=e,t)}function u(e,t,n,r){var o=n.type;return o===S?d(e,t,n.props.children,r,n.key):null!==t&&(t.elementType===o||"object"==typeof o&&null!==o&&o.$$typeof===N&&vo(o)===t.type)?((r=a(t,n.props)).ref=yo(e,t,n),r.return=e,r):((r=Ou(n.type,n.key,n.props,null,e.mode,r)).ref=yo(e,t,n),r.return=e,r)}function c(e,t,n,r){return null===t||4!==t.tag||t.stateNode.containerInfo!==n.containerInfo||t.stateNode.implementation!==n.implementation?((t=Fu(n,e.mode,r)).return=e,t):((t=a(t,n.children||[])).return=e,t)}function d(e,t,n,r,o){return null===t||7!==t.tag?((t=Du(n,e.mode,r,o)).return=e,t):((t=a(t,n)).return=e,t)}function p(e,t,n){if("string"==typeof t&&""!==t||"number"==typeof t)return(t=Mu(""+t,e.mode,n)).return=e,t;if("object"==typeof t&&null!==t){switch(t.$$typeof){case k:return(n=Ou(t.type,t.key,t.props,null,e.mode,n)).ref=yo(e,null,t),n.return=e,n;case x:return(t=Fu(t,e.mode,n)).return=e,t;case N:return p(e,(0,t._init)(t._payload),n)}if(te(t)||D(t))return(t=Du(t,e.mode,n,null)).return=e,t;bo(e,t)}return null}function f(e,t,n,r){var a=null!==t?t.key:null;if("string"==typeof n&&""!==n||"number"==typeof n)return null!==a?null:s(e,t,""+n,r);if("object"==typeof n&&null!==n){switch(n.$$typeof){case k:return n.key===a?u(e,t,n,r):null;case x:return n.key===a?c(e,t,n,r):null;case N:return f(e,t,(a=n._init)(n._payload),r)}if(te(n)||D(n))return null!==a?null:d(e,t,n,r,null);bo(e,n)}return null}function m(e,t,n,r,a){if("string"==typeof r&&""!==r||"number"==typeof r)return s(t,e=e.get(n)||null,""+r,a);if("object"==typeof r&&null!==r){switch(r.$$typeof){case k:return u(t,e=e.get(null===r.key?n:r.key)||null,r,a);case x:return c(t,e=e.get(null===r.key?n:r.key)||null,r,a);case N:return m(e,t,n,(0,r._init)(r._payload),a)}if(te(r)||D(r))return d(t,e=e.get(n)||null,r,a,null);bo(t,r)}return null}function h(a,o,l,s){for(var u=null,c=null,d=o,h=o=0,g=null;null!==d&&h<l.length;h++){d.index>h?(g=d,d=null):g=d.sibling;var y=f(a,d,l[h],s);if(null===y){null===d&&(d=g);break}e&&d&&null===y.alternate&&t(a,d),o=i(y,o,h),null===c?u=y:c.sibling=y,c=y,d=g}if(h===l.length)return n(a,d),ao&&Xa(a,h),u;if(null===d){for(;h<l.length;h++)null!==(d=p(a,l[h],s))&&(o=i(d,o,h),null===c?u=d:c.sibling=d,c=d);return ao&&Xa(a,h),u}for(d=r(a,d);h<l.length;h++)null!==(g=m(d,a,h,l[h],s))&&(e&&null!==g.alternate&&d.delete(null===g.key?h:g.key),o=i(g,o,h),null===c?u=g:c.sibling=g,c=g);return e&&d.forEach((function(e){return t(a,e)})),ao&&Xa(a,h),u}function g(a,l,s,u){var c=D(s);if("function"!=typeof c)throw Error(o(150));if(null==(s=c.call(s)))throw Error(o(151));for(var d=c=null,h=l,g=l=0,y=null,b=s.next();null!==h&&!b.done;g++,b=s.next()){h.index>g?(y=h,h=null):y=h.sibling;var v=f(a,h,b.value,u);if(null===v){null===h&&(h=y);break}e&&h&&null===v.alternate&&t(a,h),l=i(v,l,g),null===d?c=v:d.sibling=v,d=v,h=y}if(b.done)return n(a,h),ao&&Xa(a,g),c;if(null===h){for(;!b.done;g++,b=s.next())null!==(b=p(a,b.value,u))&&(l=i(b,l,g),null===d?c=b:d.sibling=b,d=b);return ao&&Xa(a,g),c}for(h=r(a,h);!b.done;g++,b=s.next())null!==(b=m(h,a,g,b.value,u))&&(e&&null!==b.alternate&&h.delete(null===b.key?g:b.key),l=i(b,l,g),null===d?c=b:d.sibling=b,d=b);return e&&h.forEach((function(e){return t(a,e)})),ao&&Xa(a,g),c}return function e(r,o,i,s){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 k:e:{for(var u=i.key,c=o;null!==c;){if(c.key===u){if((u=i.type)===S){if(7===c.tag){n(r,c.sibling),(o=a(c,i.props.children)).return=r,r=o;break e}}else if(c.elementType===u||"object"==typeof u&&null!==u&&u.$$typeof===N&&vo(u)===c.type){n(r,c.sibling),(o=a(c,i.props)).ref=yo(r,c,i),o.return=r,r=o;break e}n(r,c);break}t(r,c),c=c.sibling}i.type===S?((o=Du(i.props.children,r.mode,s,i.key)).return=r,r=o):((s=Ou(i.type,i.key,i.props,null,r.mode,s)).ref=yo(r,o,i),s.return=r,r=s)}return l(r);case x:e:{for(c=i.key;null!==o;){if(o.key===c){if(4===o.tag&&o.stateNode.containerInfo===i.containerInfo&&o.stateNode.implementation===i.implementation){n(r,o.sibling),(o=a(o,i.children||[])).return=r,r=o;break e}n(r,o);break}t(r,o),o=o.sibling}(o=Fu(i,r.mode,s)).return=r,r=o}return l(r);case N:return e(r,o,(c=i._init)(i._payload),s)}if(te(i))return h(r,o,i,s);if(D(i))return g(r,o,i,s);bo(r,i)}return"string"==typeof i&&""!==i||"number"==typeof i?(i=""+i,null!==o&&6===o.tag?(n(r,o.sibling),(o=a(o,i)).return=r,r=o):(n(r,o),(o=Mu(i,r.mode,s)).return=r,r=o),l(r)):n(r,o)}}var ko=wo(!0),xo=wo(!1),So=Ea(null),Eo=null,Co=null,To=null;function Ao(){To=Co=Eo=null}function _o(e){var t=So.current;Ca(So),e._currentValue=t}function jo(e,t,n){for(;null!==e;){var r=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,null!==r&&(r.childLanes|=t)):null!==r&&(r.childLanes&t)!==t&&(r.childLanes|=t),e===n)break;e=e.return}}function Ro(e,t){Eo=e,To=Co=null,null!==(e=e.dependencies)&&null!==e.firstContext&&(!!(e.lanes&t)&&(vl=!0),e.firstContext=null)}function Lo(e){var t=e._currentValue;if(To!==e)if(e={context:e,memoizedValue:t,next:null},null===Co){if(null===Eo)throw Error(o(308));Co=e,Eo.dependencies={lanes:0,firstContext:e}}else Co=Co.next=e;return t}var No=null;function Po(e){null===No?No=[e]:No.push(e)}function Oo(e,t,n,r){var a=t.interleaved;return null===a?(n.next=n,Po(t)):(n.next=a.next,a.next=n),t.interleaved=n,Do(e,r)}function Do(e,t){e.lanes|=t;var n=e.alternate;for(null!==n&&(n.lanes|=t),n=e,e=e.return;null!==e;)e.childLanes|=t,null!==(n=e.alternate)&&(n.childLanes|=t),n=e,e=e.return;return 3===n.tag?n.stateNode:null}var Io=!1;function Mo(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function Fo(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,effects:e.effects})}function zo(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function Bo(e,t,n){var r=e.updateQueue;if(null===r)return null;if(r=r.shared,2&_s){var a=r.pending;return null===a?t.next=t:(t.next=a.next,a.next=t),r.pending=t,Do(e,n)}return null===(a=r.interleaved)?(t.next=t,Po(r)):(t.next=a.next,a.next=t),r.interleaved=t,Do(e,n)}function $o(e,t,n){if(null!==(t=t.updateQueue)&&(t=t.shared,4194240&n)){var r=t.lanes;n|=r&=e.pendingLanes,t.lanes=n,bt(e,n)}}function Uo(e,t){var n=e.updateQueue,r=e.alternate;if(null!==r&&n===(r=r.updateQueue)){var a=null,o=null;if(null!==(n=n.firstBaseUpdate)){do{var i={eventTime:n.eventTime,lane:n.lane,tag:n.tag,payload:n.payload,callback:n.callback,next:null};null===o?a=o=i:o=o.next=i,n=n.next}while(null!==n);null===o?a=o=t:o=o.next=t}else a=o=t;return n={baseState:r.baseState,firstBaseUpdate:a,lastBaseUpdate:o,shared:r.shared,effects:r.effects},void(e.updateQueue=n)}null===(e=n.lastBaseUpdate)?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}function qo(e,t,n,r){var a=e.updateQueue;Io=!1;var o=a.firstBaseUpdate,i=a.lastBaseUpdate,l=a.shared.pending;if(null!==l){a.shared.pending=null;var s=l,u=s.next;s.next=null,null===i?o=u:i.next=u,i=s;var c=e.alternate;null!==c&&((l=(c=c.updateQueue).lastBaseUpdate)!==i&&(null===l?c.firstBaseUpdate=u:l.next=u,c.lastBaseUpdate=s))}if(null!==o){var d=a.baseState;for(i=0,c=u=s=null,l=o;;){var p=l.lane,f=l.eventTime;if((r&p)===p){null!==c&&(c=c.next={eventTime:f,lane:0,tag:l.tag,payload:l.payload,callback:l.callback,next:null});e:{var m=e,h=l;switch(p=t,f=n,h.tag){case 1:if("function"==typeof(m=h.payload)){d=m.call(f,d,p);break e}d=m;break e;case 3:m.flags=-65537&m.flags|128;case 0:if(null==(p="function"==typeof(m=h.payload)?m.call(f,d,p):m))break e;d=M({},d,p);break e;case 2:Io=!0}}null!==l.callback&&0!==l.lane&&(e.flags|=64,null===(p=a.effects)?a.effects=[l]:p.push(l))}else f={eventTime:f,lane:p,tag:l.tag,payload:l.payload,callback:l.callback,next:null},null===c?(u=c=f,s=d):c=c.next=f,i|=p;if(null===(l=l.next)){if(null===(l=a.shared.pending))break;l=(p=l).next,p.next=null,a.lastBaseUpdate=p,a.shared.pending=null}}if(null===c&&(s=d),a.baseState=s,a.firstBaseUpdate=u,a.lastBaseUpdate=c,null!==(t=a.shared.interleaved)){a=t;do{i|=a.lane,a=a.next}while(a!==t)}else null===o&&(a.shared.lanes=0);Is|=i,e.lanes=i,e.memoizedState=d}}function Ho(e,t,n){if(e=t.effects,t.effects=null,null!==e)for(t=0;t<e.length;t++){var r=e[t],a=r.callback;if(null!==a){if(r.callback=null,r=n,"function"!=typeof a)throw Error(o(191,a));a.call(r)}}}var Go={},Vo=Ea(Go),Wo=Ea(Go),Ko=Ea(Go);function Qo(e){if(e===Go)throw Error(o(174));return e}function Yo(e,t){switch(Ta(Ko,t),Ta(Wo,e),Ta(Vo,Go),e=t.nodeType){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:se(null,"");break;default:t=se(t=(e=8===e?t.parentNode:t).namespaceURI||null,e=e.tagName)}Ca(Vo),Ta(Vo,t)}function Zo(){Ca(Vo),Ca(Wo),Ca(Ko)}function Xo(e){Qo(Ko.current);var t=Qo(Vo.current),n=se(t,e.type);t!==n&&(Ta(Wo,e),Ta(Vo,n))}function Jo(e){Wo.current===e&&(Ca(Vo),Ca(Wo))}var ei=Ea(0);function ti(e){for(var t=e;null!==t;){if(13===t.tag){var n=t.memoizedState;if(null!==n&&(null===(n=n.dehydrated)||"$?"===n.data||"$!"===n.data))return t}else if(19===t.tag&&void 0!==t.memoizedProps.revealOrder){if(128&t.flags)return t}else if(null!==t.child){t.child.return=t,t=t.child;continue}if(t===e)break;for(;null===t.sibling;){if(null===t.return||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var ni=[];function ri(){for(var e=0;e<ni.length;e++)ni[e]._workInProgressVersionPrimary=null;ni.length=0}var ai=w.ReactCurrentDispatcher,oi=w.ReactCurrentBatchConfig,ii=0,li=null,si=null,ui=null,ci=!1,di=!1,pi=0,fi=0;function mi(){throw Error(o(321))}function hi(e,t){if(null===t)return!1;for(var n=0;n<t.length&&n<e.length;n++)if(!lr(e[n],t[n]))return!1;return!0}function gi(e,t,n,r,a,i){if(ii=i,li=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,ai.current=null===e||null===e.memoizedState?Ji:el,e=n(r,a),di){i=0;do{if(di=!1,pi=0,25<=i)throw Error(o(301));i+=1,ui=si=null,t.updateQueue=null,ai.current=tl,e=n(r,a)}while(di)}if(ai.current=Xi,t=null!==si&&null!==si.next,ii=0,ui=si=li=null,ci=!1,t)throw Error(o(300));return e}function yi(){var e=0!==pi;return pi=0,e}function bi(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return null===ui?li.memoizedState=ui=e:ui=ui.next=e,ui}function vi(){if(null===si){var e=li.alternate;e=null!==e?e.memoizedState:null}else e=si.next;var t=null===ui?li.memoizedState:ui.next;if(null!==t)ui=t,si=e;else{if(null===e)throw Error(o(310));e={memoizedState:(si=e).memoizedState,baseState:si.baseState,baseQueue:si.baseQueue,queue:si.queue,next:null},null===ui?li.memoizedState=ui=e:ui=ui.next=e}return ui}function wi(e,t){return"function"==typeof t?t(e):t}function ki(e){var t=vi(),n=t.queue;if(null===n)throw Error(o(311));n.lastRenderedReducer=e;var r=si,a=r.baseQueue,i=n.pending;if(null!==i){if(null!==a){var l=a.next;a.next=i.next,i.next=l}r.baseQueue=a=i,n.pending=null}if(null!==a){i=a.next,r=r.baseState;var s=l=null,u=null,c=i;do{var d=c.lane;if((ii&d)===d)null!==u&&(u=u.next={lane:0,action:c.action,hasEagerState:c.hasEagerState,eagerState:c.eagerState,next:null}),r=c.hasEagerState?c.eagerState:e(r,c.action);else{var p={lane:d,action:c.action,hasEagerState:c.hasEagerState,eagerState:c.eagerState,next:null};null===u?(s=u=p,l=r):u=u.next=p,li.lanes|=d,Is|=d}c=c.next}while(null!==c&&c!==i);null===u?l=r:u.next=s,lr(r,t.memoizedState)||(vl=!0),t.memoizedState=r,t.baseState=l,t.baseQueue=u,n.lastRenderedState=r}if(null!==(e=n.interleaved)){a=e;do{i=a.lane,li.lanes|=i,Is|=i,a=a.next}while(a!==e)}else null===a&&(n.lanes=0);return[t.memoizedState,n.dispatch]}function xi(e){var t=vi(),n=t.queue;if(null===n)throw Error(o(311));n.lastRenderedReducer=e;var r=n.dispatch,a=n.pending,i=t.memoizedState;if(null!==a){n.pending=null;var l=a=a.next;do{i=e(i,l.action),l=l.next}while(l!==a);lr(i,t.memoizedState)||(vl=!0),t.memoizedState=i,null===t.baseQueue&&(t.baseState=i),n.lastRenderedState=i}return[i,r]}function Si(){}function Ei(e,t){var n=li,r=vi(),a=t(),i=!lr(r.memoizedState,a);if(i&&(r.memoizedState=a,vl=!0),r=r.queue,Ii(Ai.bind(null,n,r,e),[e]),r.getSnapshot!==t||i||null!==ui&&1&ui.memoizedState.tag){if(n.flags|=2048,Li(9,Ti.bind(null,n,r,a,t),void 0,null),null===js)throw Error(o(349));30&ii||Ci(n,t,a)}return a}function Ci(e,t,n){e.flags|=16384,e={getSnapshot:t,value:n},null===(t=li.updateQueue)?(t={lastEffect:null,stores:null},li.updateQueue=t,t.stores=[e]):null===(n=t.stores)?t.stores=[e]:n.push(e)}function Ti(e,t,n,r){t.value=n,t.getSnapshot=r,_i(t)&&ji(e)}function Ai(e,t,n){return n((function(){_i(t)&&ji(e)}))}function _i(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!lr(e,n)}catch(r){return!0}}function ji(e){var t=Do(e,1);null!==t&&nu(t,e,1,-1)}function Ri(e){var t=bi();return"function"==typeof e&&(e=e()),t.memoizedState=t.baseState=e,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:wi,lastRenderedState:e},t.queue=e,e=e.dispatch=Ki.bind(null,li,e),[t.memoizedState,e]}function Li(e,t,n,r){return e={tag:e,create:t,destroy:n,deps:r,next:null},null===(t=li.updateQueue)?(t={lastEffect:null,stores:null},li.updateQueue=t,t.lastEffect=e.next=e):null===(n=t.lastEffect)?t.lastEffect=e.next=e:(r=n.next,n.next=e,e.next=r,t.lastEffect=e),e}function Ni(){return vi().memoizedState}function Pi(e,t,n,r){var a=bi();li.flags|=e,a.memoizedState=Li(1|t,n,void 0,void 0===r?null:r)}function Oi(e,t,n,r){var a=vi();r=void 0===r?null:r;var o=void 0;if(null!==si){var i=si.memoizedState;if(o=i.destroy,null!==r&&hi(r,i.deps))return void(a.memoizedState=Li(t,n,o,r))}li.flags|=e,a.memoizedState=Li(1|t,n,o,r)}function Di(e,t){return Pi(8390656,8,e,t)}function Ii(e,t){return Oi(2048,8,e,t)}function Mi(e,t){return Oi(4,2,e,t)}function Fi(e,t){return Oi(4,4,e,t)}function zi(e,t){return"function"==typeof t?(e=e(),t(e),function(){t(null)}):null!=t?(e=e(),t.current=e,function(){t.current=null}):void 0}function Bi(e,t,n){return n=null!=n?n.concat([e]):null,Oi(4,4,zi.bind(null,t,e),n)}function $i(){}function Ui(e,t){var n=vi();t=void 0===t?null:t;var r=n.memoizedState;return null!==r&&null!==t&&hi(t,r[1])?r[0]:(n.memoizedState=[e,t],e)}function qi(e,t){var n=vi();t=void 0===t?null:t;var r=n.memoizedState;return null!==r&&null!==t&&hi(t,r[1])?r[0]:(e=e(),n.memoizedState=[e,t],e)}function Hi(e,t,n){return 21&ii?(lr(n,t)||(n=ht(),li.lanes|=n,Is|=n,e.baseState=!0),t):(e.baseState&&(e.baseState=!1,vl=!0),e.memoizedState=n)}function Gi(e,t){var n=vt;vt=0!==n&&4>n?n:4,e(!0);var r=oi.transition;oi.transition={};try{e(!1),t()}finally{vt=n,oi.transition=r}}function Vi(){return vi().memoizedState}function Wi(e,t,n){var r=tu(e);if(n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},Qi(e))Yi(t,n);else if(null!==(n=Oo(e,t,n,r))){nu(n,e,r,eu()),Zi(n,t,r)}}function Ki(e,t,n){var r=tu(e),a={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(Qi(e))Yi(t,a);else{var o=e.alternate;if(0===e.lanes&&(null===o||0===o.lanes)&&null!==(o=t.lastRenderedReducer))try{var i=t.lastRenderedState,l=o(i,n);if(a.hasEagerState=!0,a.eagerState=l,lr(l,i)){var s=t.interleaved;return null===s?(a.next=a,Po(t)):(a.next=s.next,s.next=a),void(t.interleaved=a)}}catch(u){}null!==(n=Oo(e,t,a,r))&&(nu(n,e,r,a=eu()),Zi(n,t,r))}}function Qi(e){var t=e.alternate;return e===li||null!==t&&t===li}function Yi(e,t){di=ci=!0;var n=e.pending;null===n?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function Zi(e,t,n){if(4194240&n){var r=t.lanes;n|=r&=e.pendingLanes,t.lanes=n,bt(e,n)}}var Xi={readContext:Lo,useCallback:mi,useContext:mi,useEffect:mi,useImperativeHandle:mi,useInsertionEffect:mi,useLayoutEffect:mi,useMemo:mi,useReducer:mi,useRef:mi,useState:mi,useDebugValue:mi,useDeferredValue:mi,useTransition:mi,useMutableSource:mi,useSyncExternalStore:mi,useId:mi,unstable_isNewReconciler:!1},Ji={readContext:Lo,useCallback:function(e,t){return bi().memoizedState=[e,void 0===t?null:t],e},useContext:Lo,useEffect:Di,useImperativeHandle:function(e,t,n){return n=null!=n?n.concat([e]):null,Pi(4194308,4,zi.bind(null,t,e),n)},useLayoutEffect:function(e,t){return Pi(4194308,4,e,t)},useInsertionEffect:function(e,t){return Pi(4,2,e,t)},useMemo:function(e,t){var n=bi();return t=void 0===t?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=bi();return t=void 0!==n?n(t):t,r.memoizedState=r.baseState=t,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:t},r.queue=e,e=e.dispatch=Wi.bind(null,li,e),[r.memoizedState,e]},useRef:function(e){return e={current:e},bi().memoizedState=e},useState:Ri,useDebugValue:$i,useDeferredValue:function(e){return bi().memoizedState=e},useTransition:function(){var e=Ri(!1),t=e[0];return e=Gi.bind(null,e[1]),bi().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=li,a=bi();if(ao){if(void 0===n)throw Error(o(407));n=n()}else{if(n=t(),null===js)throw Error(o(349));30&ii||Ci(r,t,n)}a.memoizedState=n;var i={value:n,getSnapshot:t};return a.queue=i,Di(Ai.bind(null,r,i,e),[e]),r.flags|=2048,Li(9,Ti.bind(null,r,i,n,t),void 0,null),n},useId:function(){var e=bi(),t=js.identifierPrefix;if(ao){var n=Za;t=":"+t+"R"+(n=(Ya&~(1<<32-it(Ya)-1)).toString(32)+n),0<(n=pi++)&&(t+="H"+n.toString(32)),t+=":"}else t=":"+t+"r"+(n=fi++).toString(32)+":";return e.memoizedState=t},unstable_isNewReconciler:!1},el={readContext:Lo,useCallback:Ui,useContext:Lo,useEffect:Ii,useImperativeHandle:Bi,useInsertionEffect:Mi,useLayoutEffect:Fi,useMemo:qi,useReducer:ki,useRef:Ni,useState:function(){return ki(wi)},useDebugValue:$i,useDeferredValue:function(e){return Hi(vi(),si.memoizedState,e)},useTransition:function(){return[ki(wi)[0],vi().memoizedState]},useMutableSource:Si,useSyncExternalStore:Ei,useId:Vi,unstable_isNewReconciler:!1},tl={readContext:Lo,useCallback:Ui,useContext:Lo,useEffect:Ii,useImperativeHandle:Bi,useInsertionEffect:Mi,useLayoutEffect:Fi,useMemo:qi,useReducer:xi,useRef:Ni,useState:function(){return xi(wi)},useDebugValue:$i,useDeferredValue:function(e){var t=vi();return null===si?t.memoizedState=e:Hi(t,si.memoizedState,e)},useTransition:function(){return[xi(wi)[0],vi().memoizedState]},useMutableSource:Si,useSyncExternalStore:Ei,useId:Vi,unstable_isNewReconciler:!1};function nl(e,t){if(e&&e.defaultProps){for(var n in t=M({},t),e=e.defaultProps)void 0===t[n]&&(t[n]=e[n]);return t}return t}function rl(e,t,n,r){n=null==(n=n(r,t=e.memoizedState))?t:M({},t,n),e.memoizedState=n,0===e.lanes&&(e.updateQueue.baseState=n)}var al={isMounted:function(e){return!!(e=e._reactInternals)&&Ue(e)===e},enqueueSetState:function(e,t,n){e=e._reactInternals;var r=eu(),a=tu(e),o=zo(r,a);o.payload=t,null!=n&&(o.callback=n),null!==(t=Bo(e,o,a))&&(nu(t,e,a,r),$o(t,e,a))},enqueueReplaceState:function(e,t,n){e=e._reactInternals;var r=eu(),a=tu(e),o=zo(r,a);o.tag=1,o.payload=t,null!=n&&(o.callback=n),null!==(t=Bo(e,o,a))&&(nu(t,e,a,r),$o(t,e,a))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var n=eu(),r=tu(e),a=zo(n,r);a.tag=2,null!=t&&(a.callback=t),null!==(t=Bo(e,a,r))&&(nu(t,e,r,n),$o(t,e,r))}};function ol(e,t,n,r,a,o,i){return"function"==typeof(e=e.stateNode).shouldComponentUpdate?e.shouldComponentUpdate(r,o,i):!t.prototype||!t.prototype.isPureReactComponent||(!sr(n,r)||!sr(a,o))}function il(e,t,n){var r=!1,a=Aa,o=t.contextType;return"object"==typeof o&&null!==o?o=Lo(o):(a=Na(t)?Ra:_a.current,o=(r=null!=(r=t.contextTypes))?La(e,a):Aa),t=new t(n,o),e.memoizedState=null!==t.state&&void 0!==t.state?t.state:null,t.updater=al,e.stateNode=t,t._reactInternals=e,r&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=a,e.__reactInternalMemoizedMaskedChildContext=o),t}function ll(e,t,n,r){e=t.state,"function"==typeof t.componentWillReceiveProps&&t.componentWillReceiveProps(n,r),"function"==typeof t.UNSAFE_componentWillReceiveProps&&t.UNSAFE_componentWillReceiveProps(n,r),t.state!==e&&al.enqueueReplaceState(t,t.state,null)}function sl(e,t,n,r){var a=e.stateNode;a.props=n,a.state=e.memoizedState,a.refs={},Mo(e);var o=t.contextType;"object"==typeof o&&null!==o?a.context=Lo(o):(o=Na(t)?Ra:_a.current,a.context=La(e,o)),a.state=e.memoizedState,"function"==typeof(o=t.getDerivedStateFromProps)&&(rl(e,t,o,n),a.state=e.memoizedState),"function"==typeof t.getDerivedStateFromProps||"function"==typeof a.getSnapshotBeforeUpdate||"function"!=typeof a.UNSAFE_componentWillMount&&"function"!=typeof a.componentWillMount||(t=a.state,"function"==typeof a.componentWillMount&&a.componentWillMount(),"function"==typeof a.UNSAFE_componentWillMount&&a.UNSAFE_componentWillMount(),t!==a.state&&al.enqueueReplaceState(a,a.state,null),qo(e,n,a,r),a.state=e.memoizedState),"function"==typeof a.componentDidMount&&(e.flags|=4194308)}function ul(e,t){try{var n="",r=t;do{n+=$(r),r=r.return}while(r);var a=n}catch(o){a="\nError generating stack: "+o.message+"\n"+o.stack}return{value:e,source:t,stack:a,digest:null}}function cl(e,t,n){return{value:e,source:null,stack:null!=n?n:null,digest:null!=t?t:null}}function dl(e,t){try{console.error(t.value)}catch(n){setTimeout((function(){throw n}))}}var pl="function"==typeof WeakMap?WeakMap:Map;function fl(e,t,n){(n=zo(-1,n)).tag=3,n.payload={element:null};var r=t.value;return n.callback=function(){Hs||(Hs=!0,Gs=r),dl(0,t)},n}function ml(e,t,n){(n=zo(-1,n)).tag=3;var r=e.type.getDerivedStateFromError;if("function"==typeof r){var a=t.value;n.payload=function(){return r(a)},n.callback=function(){dl(0,t)}}var o=e.stateNode;return null!==o&&"function"==typeof o.componentDidCatch&&(n.callback=function(){dl(0,t),"function"!=typeof r&&(null===Vs?Vs=new Set([this]):Vs.add(this));var e=t.stack;this.componentDidCatch(t.value,{componentStack:null!==e?e:""})}),n}function hl(e,t,n){var r=e.pingCache;if(null===r){r=e.pingCache=new pl;var a=new Set;r.set(t,a)}else void 0===(a=r.get(t))&&(a=new Set,r.set(t,a));a.has(n)||(a.add(n),e=Cu.bind(null,e,t,n),t.then(e,e))}function gl(e){do{var t;if((t=13===e.tag)&&(t=null===(t=e.memoizedState)||null!==t.dehydrated),t)return e;e=e.return}while(null!==e);return null}function yl(e,t,n,r,a){return 1&e.mode?(e.flags|=65536,e.lanes=a,e):(e===t?e.flags|=65536:(e.flags|=128,n.flags|=131072,n.flags&=-52805,1===n.tag&&(null===n.alternate?n.tag=17:((t=zo(-1,1)).tag=2,Bo(n,t,1))),n.lanes|=1),e)}var bl=w.ReactCurrentOwner,vl=!1;function wl(e,t,n,r){t.child=null===e?xo(t,null,n,r):ko(t,e.child,n,r)}function kl(e,t,n,r,a){n=n.render;var o=t.ref;return Ro(t,a),r=gi(e,t,n,r,o,a),n=yi(),null===e||vl?(ao&&n&&eo(t),t.flags|=1,wl(e,t,r,a),t.child):(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~a,Hl(e,t,a))}function xl(e,t,n,r,a){if(null===e){var o=n.type;return"function"!=typeof o||Nu(o)||void 0!==o.defaultProps||null!==n.compare||void 0!==n.defaultProps?((e=Ou(n.type,null,r,t,t.mode,a)).ref=t.ref,e.return=t,t.child=e):(t.tag=15,t.type=o,Sl(e,t,o,r,a))}if(o=e.child,!(e.lanes&a)){var i=o.memoizedProps;if((n=null!==(n=n.compare)?n:sr)(i,r)&&e.ref===t.ref)return Hl(e,t,a)}return t.flags|=1,(e=Pu(o,r)).ref=t.ref,e.return=t,t.child=e}function Sl(e,t,n,r,a){if(null!==e){var o=e.memoizedProps;if(sr(o,r)&&e.ref===t.ref){if(vl=!1,t.pendingProps=r=o,!(e.lanes&a))return t.lanes=e.lanes,Hl(e,t,a);131072&e.flags&&(vl=!0)}}return Tl(e,t,n,r,a)}function El(e,t,n){var r=t.pendingProps,a=r.children,o=null!==e?e.memoizedState:null;if("hidden"===r.mode)if(1&t.mode){if(!(1073741824&n))return e=null!==o?o.baseLanes|n:n,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e,cachePool:null,transitions:null},t.updateQueue=null,Ta(Ps,Ns),Ns|=e,null;t.memoizedState={baseLanes:0,cachePool:null,transitions:null},r=null!==o?o.baseLanes:n,Ta(Ps,Ns),Ns|=r}else t.memoizedState={baseLanes:0,cachePool:null,transitions:null},Ta(Ps,Ns),Ns|=n;else null!==o?(r=o.baseLanes|n,t.memoizedState=null):r=n,Ta(Ps,Ns),Ns|=r;return wl(e,t,a,n),t.child}function Cl(e,t){var n=t.ref;(null===e&&null!==n||null!==e&&e.ref!==n)&&(t.flags|=512,t.flags|=2097152)}function Tl(e,t,n,r,a){var o=Na(n)?Ra:_a.current;return o=La(t,o),Ro(t,a),n=gi(e,t,n,r,o,a),r=yi(),null===e||vl?(ao&&r&&eo(t),t.flags|=1,wl(e,t,n,a),t.child):(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~a,Hl(e,t,a))}function Al(e,t,n,r,a){if(Na(n)){var o=!0;Ia(t)}else o=!1;if(Ro(t,a),null===t.stateNode)ql(e,t),il(t,n,r),sl(t,n,r,a),r=!0;else if(null===e){var i=t.stateNode,l=t.memoizedProps;i.props=l;var s=i.context,u=n.contextType;"object"==typeof u&&null!==u?u=Lo(u):u=La(t,u=Na(n)?Ra:_a.current);var c=n.getDerivedStateFromProps,d="function"==typeof c||"function"==typeof i.getSnapshotBeforeUpdate;d||"function"!=typeof i.UNSAFE_componentWillReceiveProps&&"function"!=typeof i.componentWillReceiveProps||(l!==r||s!==u)&&ll(t,i,r,u),Io=!1;var p=t.memoizedState;i.state=p,qo(t,r,i,a),s=t.memoizedState,l!==r||p!==s||ja.current||Io?("function"==typeof c&&(rl(t,n,c,r),s=t.memoizedState),(l=Io||ol(t,n,l,r,p,s,u))?(d||"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&&(t.flags|=4194308)):("function"==typeof i.componentDidMount&&(t.flags|=4194308),t.memoizedProps=r,t.memoizedState=s),i.props=r,i.state=s,i.context=u,r=l):("function"==typeof i.componentDidMount&&(t.flags|=4194308),r=!1)}else{i=t.stateNode,Fo(e,t),l=t.memoizedProps,u=t.type===t.elementType?l:nl(t.type,l),i.props=u,d=t.pendingProps,p=i.context,"object"==typeof(s=n.contextType)&&null!==s?s=Lo(s):s=La(t,s=Na(n)?Ra:_a.current);var f=n.getDerivedStateFromProps;(c="function"==typeof f||"function"==typeof i.getSnapshotBeforeUpdate)||"function"!=typeof i.UNSAFE_componentWillReceiveProps&&"function"!=typeof i.componentWillReceiveProps||(l!==d||p!==s)&&ll(t,i,r,s),Io=!1,p=t.memoizedState,i.state=p,qo(t,r,i,a);var m=t.memoizedState;l!==d||p!==m||ja.current||Io?("function"==typeof f&&(rl(t,n,f,r),m=t.memoizedState),(u=Io||ol(t,n,u,r,p,m,s)||!1)?(c||"function"!=typeof i.UNSAFE_componentWillUpdate&&"function"!=typeof i.componentWillUpdate||("function"==typeof i.componentWillUpdate&&i.componentWillUpdate(r,m,s),"function"==typeof i.UNSAFE_componentWillUpdate&&i.UNSAFE_componentWillUpdate(r,m,s)),"function"==typeof i.componentDidUpdate&&(t.flags|=4),"function"==typeof i.getSnapshotBeforeUpdate&&(t.flags|=1024)):("function"!=typeof i.componentDidUpdate||l===e.memoizedProps&&p===e.memoizedState||(t.flags|=4),"function"!=typeof i.getSnapshotBeforeUpdate||l===e.memoizedProps&&p===e.memoizedState||(t.flags|=1024),t.memoizedProps=r,t.memoizedState=m),i.props=r,i.state=m,i.context=s,r=u):("function"!=typeof i.componentDidUpdate||l===e.memoizedProps&&p===e.memoizedState||(t.flags|=4),"function"!=typeof i.getSnapshotBeforeUpdate||l===e.memoizedProps&&p===e.memoizedState||(t.flags|=1024),r=!1)}return _l(e,t,n,r,o,a)}function _l(e,t,n,r,a,o){Cl(e,t);var i=!!(128&t.flags);if(!r&&!i)return a&&Ma(t,n,!1),Hl(e,t,o);r=t.stateNode,bl.current=t;var l=i&&"function"!=typeof n.getDerivedStateFromError?null:r.render();return t.flags|=1,null!==e&&i?(t.child=ko(t,e.child,null,o),t.child=ko(t,null,l,o)):wl(e,t,l,o),t.memoizedState=r.state,a&&Ma(t,n,!0),t.child}function jl(e){var t=e.stateNode;t.pendingContext?Oa(0,t.pendingContext,t.pendingContext!==t.context):t.context&&Oa(0,t.context,!1),Yo(e,t.containerInfo)}function Rl(e,t,n,r,a){return mo(),ho(a),t.flags|=256,wl(e,t,n,r),t.child}var Ll,Nl,Pl,Ol,Dl={dehydrated:null,treeContext:null,retryLane:0};function Il(e){return{baseLanes:e,cachePool:null,transitions:null}}function Ml(e,t,n){var r,a=t.pendingProps,i=ei.current,l=!1,s=!!(128&t.flags);if((r=s)||(r=(null===e||null!==e.memoizedState)&&!!(2&i)),r?(l=!0,t.flags&=-129):null!==e&&null===e.memoizedState||(i|=1),Ta(ei,1&i),null===e)return uo(t),null!==(e=t.memoizedState)&&null!==(e=e.dehydrated)?(1&t.mode?"$!"===e.data?t.lanes=8:t.lanes=1073741824:t.lanes=1,null):(s=a.children,e=a.fallback,l?(a=t.mode,l=t.child,s={mode:"hidden",children:s},1&a||null===l?l=Iu(s,a,0,null):(l.childLanes=0,l.pendingProps=s),e=Du(e,a,n,null),l.return=t,e.return=t,l.sibling=e,t.child=l,t.child.memoizedState=Il(n),t.memoizedState=Dl,e):Fl(t,s));if(null!==(i=e.memoizedState)&&null!==(r=i.dehydrated))return function(e,t,n,r,a,i,l){if(n)return 256&t.flags?(t.flags&=-257,zl(e,t,l,r=cl(Error(o(422))))):null!==t.memoizedState?(t.child=e.child,t.flags|=128,null):(i=r.fallback,a=t.mode,r=Iu({mode:"visible",children:r.children},a,0,null),(i=Du(i,a,l,null)).flags|=2,r.return=t,i.return=t,r.sibling=i,t.child=r,1&t.mode&&ko(t,e.child,null,l),t.child.memoizedState=Il(l),t.memoizedState=Dl,i);if(!(1&t.mode))return zl(e,t,l,null);if("$!"===a.data){if(r=a.nextSibling&&a.nextSibling.dataset)var s=r.dgst;return r=s,zl(e,t,l,r=cl(i=Error(o(419)),r,void 0))}if(s=!!(l&e.childLanes),vl||s){if(null!==(r=js)){switch(l&-l){case 4:a=2;break;case 16:a=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:a=32;break;case 536870912:a=268435456;break;default:a=0}0!==(a=a&(r.suspendedLanes|l)?0:a)&&a!==i.retryLane&&(i.retryLane=a,Do(e,a),nu(r,e,a,-1))}return hu(),zl(e,t,l,r=cl(Error(o(421))))}return"$?"===a.data?(t.flags|=128,t.child=e.child,t=Au.bind(null,e),a._reactRetry=t,null):(e=i.treeContext,ro=ua(a.nextSibling),no=t,ao=!0,oo=null,null!==e&&(Wa[Ka++]=Ya,Wa[Ka++]=Za,Wa[Ka++]=Qa,Ya=e.id,Za=e.overflow,Qa=t),t=Fl(t,r.children),t.flags|=4096,t)}(e,t,s,a,r,i,n);if(l){l=a.fallback,s=t.mode,r=(i=e.child).sibling;var u={mode:"hidden",children:a.children};return 1&s||t.child===i?(a=Pu(i,u)).subtreeFlags=14680064&i.subtreeFlags:((a=t.child).childLanes=0,a.pendingProps=u,t.deletions=null),null!==r?l=Pu(r,l):(l=Du(l,s,n,null)).flags|=2,l.return=t,a.return=t,a.sibling=l,t.child=a,a=l,l=t.child,s=null===(s=e.child.memoizedState)?Il(n):{baseLanes:s.baseLanes|n,cachePool:null,transitions:s.transitions},l.memoizedState=s,l.childLanes=e.childLanes&~n,t.memoizedState=Dl,a}return e=(l=e.child).sibling,a=Pu(l,{mode:"visible",children:a.children}),!(1&t.mode)&&(a.lanes=n),a.return=t,a.sibling=null,null!==e&&(null===(n=t.deletions)?(t.deletions=[e],t.flags|=16):n.push(e)),t.child=a,t.memoizedState=null,a}function Fl(e,t){return(t=Iu({mode:"visible",children:t},e.mode,0,null)).return=e,e.child=t}function zl(e,t,n,r){return null!==r&&ho(r),ko(t,e.child,null,n),(e=Fl(t,t.pendingProps.children)).flags|=2,t.memoizedState=null,e}function Bl(e,t,n){e.lanes|=t;var r=e.alternate;null!==r&&(r.lanes|=t),jo(e.return,t,n)}function $l(e,t,n,r,a){var o=e.memoizedState;null===o?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:r,tail:n,tailMode:a}:(o.isBackwards=t,o.rendering=null,o.renderingStartTime=0,o.last=r,o.tail=n,o.tailMode=a)}function Ul(e,t,n){var r=t.pendingProps,a=r.revealOrder,o=r.tail;if(wl(e,t,r.children,n),2&(r=ei.current))r=1&r|2,t.flags|=128;else{if(null!==e&&128&e.flags)e:for(e=t.child;null!==e;){if(13===e.tag)null!==e.memoizedState&&Bl(e,n,t);else if(19===e.tag)Bl(e,n,t);else if(null!==e.child){e.child.return=e,e=e.child;continue}if(e===t)break e;for(;null===e.sibling;){if(null===e.return||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}r&=1}if(Ta(ei,r),1&t.mode)switch(a){case"forwards":for(n=t.child,a=null;null!==n;)null!==(e=n.alternate)&&null===ti(e)&&(a=n),n=n.sibling;null===(n=a)?(a=t.child,t.child=null):(a=n.sibling,n.sibling=null),$l(t,!1,a,n,o);break;case"backwards":for(n=null,a=t.child,t.child=null;null!==a;){if(null!==(e=a.alternate)&&null===ti(e)){t.child=a;break}e=a.sibling,a.sibling=n,n=a,a=e}$l(t,!0,n,null,o);break;case"together":$l(t,!1,null,null,void 0);break;default:t.memoizedState=null}else t.memoizedState=null;return t.child}function ql(e,t){!(1&t.mode)&&null!==e&&(e.alternate=null,t.alternate=null,t.flags|=2)}function Hl(e,t,n){if(null!==e&&(t.dependencies=e.dependencies),Is|=t.lanes,!(n&t.childLanes))return null;if(null!==e&&t.child!==e.child)throw Error(o(153));if(null!==t.child){for(n=Pu(e=t.child,e.pendingProps),t.child=n,n.return=t;null!==e.sibling;)e=e.sibling,(n=n.sibling=Pu(e,e.pendingProps)).return=t;n.sibling=null}return t.child}function Gl(e,t){if(!ao)switch(e.tailMode){case"hidden":t=e.tail;for(var n=null;null!==t;)null!==t.alternate&&(n=t),t=t.sibling;null===n?e.tail=null:n.sibling=null;break;case"collapsed":n=e.tail;for(var r=null;null!==n;)null!==n.alternate&&(r=n),n=n.sibling;null===r?t||null===e.tail?e.tail=null:e.tail.sibling=null:r.sibling=null}}function Vl(e){var t=null!==e.alternate&&e.alternate.child===e.child,n=0,r=0;if(t)for(var a=e.child;null!==a;)n|=a.lanes|a.childLanes,r|=14680064&a.subtreeFlags,r|=14680064&a.flags,a.return=e,a=a.sibling;else for(a=e.child;null!==a;)n|=a.lanes|a.childLanes,r|=a.subtreeFlags,r|=a.flags,a.return=e,a=a.sibling;return e.subtreeFlags|=r,e.childLanes=n,t}function Wl(e,t,n){var r=t.pendingProps;switch(to(t),t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Vl(t),null;case 1:case 17:return Na(t.type)&&Pa(),Vl(t),null;case 3:return r=t.stateNode,Zo(),Ca(ja),Ca(_a),ri(),r.pendingContext&&(r.context=r.pendingContext,r.pendingContext=null),null!==e&&null!==e.child||(po(t)?t.flags|=4:null===e||e.memoizedState.isDehydrated&&!(256&t.flags)||(t.flags|=1024,null!==oo&&(iu(oo),oo=null))),Nl(e,t),Vl(t),null;case 5:Jo(t);var a=Qo(Ko.current);if(n=t.type,null!==e&&null!=t.stateNode)Pl(e,t,n,r,a),e.ref!==t.ref&&(t.flags|=512,t.flags|=2097152);else{if(!r){if(null===t.stateNode)throw Error(o(166));return Vl(t),null}if(e=Qo(Vo.current),po(t)){r=t.stateNode,n=t.type;var i=t.memoizedProps;switch(r[pa]=t,r[fa]=i,e=!!(1&t.mode),n){case"dialog":zr("cancel",r),zr("close",r);break;case"iframe":case"object":case"embed":zr("load",r);break;case"video":case"audio":for(a=0;a<Dr.length;a++)zr(Dr[a],r);break;case"source":zr("error",r);break;case"img":case"image":case"link":zr("error",r),zr("load",r);break;case"details":zr("toggle",r);break;case"input":Y(r,i),zr("invalid",r);break;case"select":r._wrapperState={wasMultiple:!!i.multiple},zr("invalid",r);break;case"textarea":ae(r,i),zr("invalid",r)}for(var s in be(n,i),a=null,i)if(i.hasOwnProperty(s)){var u=i[s];"children"===s?"string"==typeof u?r.textContent!==u&&(!0!==i.suppressHydrationWarning&&Xr(r.textContent,u,e),a=["children",u]):"number"==typeof u&&r.textContent!==""+u&&(!0!==i.suppressHydrationWarning&&Xr(r.textContent,u,e),a=["children",""+u]):l.hasOwnProperty(s)&&null!=u&&"onScroll"===s&&zr("scroll",r)}switch(n){case"input":V(r),J(r,i,!0);break;case"textarea":V(r),ie(r);break;case"select":case"option":break;default:"function"==typeof i.onClick&&(r.onclick=Jr)}r=a,t.updateQueue=r,null!==r&&(t.flags|=4)}else{s=9===a.nodeType?a:a.ownerDocument,"http://www.w3.org/1999/xhtml"===e&&(e=le(n)),"http://www.w3.org/1999/xhtml"===e?"script"===n?((e=s.createElement("div")).innerHTML="<script><\/script>",e=e.removeChild(e.firstChild)):"string"==typeof r.is?e=s.createElement(n,{is:r.is}):(e=s.createElement(n),"select"===n&&(s=e,r.multiple?s.multiple=!0:r.size&&(s.size=r.size))):e=s.createElementNS(e,n),e[pa]=t,e[fa]=r,Ll(e,t,!1,!1),t.stateNode=e;e:{switch(s=ve(n,r),n){case"dialog":zr("cancel",e),zr("close",e),a=r;break;case"iframe":case"object":case"embed":zr("load",e),a=r;break;case"video":case"audio":for(a=0;a<Dr.length;a++)zr(Dr[a],e);a=r;break;case"source":zr("error",e),a=r;break;case"img":case"image":case"link":zr("error",e),zr("load",e),a=r;break;case"details":zr("toggle",e),a=r;break;case"input":Y(e,r),a=Q(e,r),zr("invalid",e);break;case"option":default:a=r;break;case"select":e._wrapperState={wasMultiple:!!r.multiple},a=M({},r,{value:void 0}),zr("invalid",e);break;case"textarea":ae(e,r),a=re(e,r),zr("invalid",e)}for(i in be(n,a),u=a)if(u.hasOwnProperty(i)){var c=u[i];"style"===i?ge(e,c):"dangerouslySetInnerHTML"===i?null!=(c=c?c.__html:void 0)&&de(e,c):"children"===i?"string"==typeof c?("textarea"!==n||""!==c)&&pe(e,c):"number"==typeof c&&pe(e,""+c):"suppressContentEditableWarning"!==i&&"suppressHydrationWarning"!==i&&"autoFocus"!==i&&(l.hasOwnProperty(i)?null!=c&&"onScroll"===i&&zr("scroll",e):null!=c&&v(e,i,c,s))}switch(n){case"input":V(e),J(e,r,!1);break;case"textarea":V(e),ie(e);break;case"option":null!=r.value&&e.setAttribute("value",""+H(r.value));break;case"select":e.multiple=!!r.multiple,null!=(i=r.value)?ne(e,!!r.multiple,i,!1):null!=r.defaultValue&&ne(e,!!r.multiple,r.defaultValue,!0);break;default:"function"==typeof a.onClick&&(e.onclick=Jr)}switch(n){case"button":case"input":case"select":case"textarea":r=!!r.autoFocus;break e;case"img":r=!0;break e;default:r=!1}}r&&(t.flags|=4)}null!==t.ref&&(t.flags|=512,t.flags|=2097152)}return Vl(t),null;case 6:if(e&&null!=t.stateNode)Ol(e,t,e.memoizedProps,r);else{if("string"!=typeof r&&null===t.stateNode)throw Error(o(166));if(n=Qo(Ko.current),Qo(Vo.current),po(t)){if(r=t.stateNode,n=t.memoizedProps,r[pa]=t,(i=r.nodeValue!==n)&&null!==(e=no))switch(e.tag){case 3:Xr(r.nodeValue,n,!!(1&e.mode));break;case 5:!0!==e.memoizedProps.suppressHydrationWarning&&Xr(r.nodeValue,n,!!(1&e.mode))}i&&(t.flags|=4)}else(r=(9===n.nodeType?n:n.ownerDocument).createTextNode(r))[pa]=t,t.stateNode=r}return Vl(t),null;case 13:if(Ca(ei),r=t.memoizedState,null===e||null!==e.memoizedState&&null!==e.memoizedState.dehydrated){if(ao&&null!==ro&&1&t.mode&&!(128&t.flags))fo(),mo(),t.flags|=98560,i=!1;else if(i=po(t),null!==r&&null!==r.dehydrated){if(null===e){if(!i)throw Error(o(318));if(!(i=null!==(i=t.memoizedState)?i.dehydrated:null))throw Error(o(317));i[pa]=t}else mo(),!(128&t.flags)&&(t.memoizedState=null),t.flags|=4;Vl(t),i=!1}else null!==oo&&(iu(oo),oo=null),i=!0;if(!i)return 65536&t.flags?t:null}return 128&t.flags?(t.lanes=n,t):((r=null!==r)!==(null!==e&&null!==e.memoizedState)&&r&&(t.child.flags|=8192,1&t.mode&&(null===e||1&ei.current?0===Os&&(Os=3):hu())),null!==t.updateQueue&&(t.flags|=4),Vl(t),null);case 4:return Zo(),Nl(e,t),null===e&&Ur(t.stateNode.containerInfo),Vl(t),null;case 10:return _o(t.type._context),Vl(t),null;case 19:if(Ca(ei),null===(i=t.memoizedState))return Vl(t),null;if(r=!!(128&t.flags),null===(s=i.rendering))if(r)Gl(i,!1);else{if(0!==Os||null!==e&&128&e.flags)for(e=t.child;null!==e;){if(null!==(s=ti(e))){for(t.flags|=128,Gl(i,!1),null!==(r=s.updateQueue)&&(t.updateQueue=r,t.flags|=4),t.subtreeFlags=0,r=n,n=t.child;null!==n;)e=r,(i=n).flags&=14680066,null===(s=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=s.childLanes,i.lanes=s.lanes,i.child=s.child,i.subtreeFlags=0,i.deletions=null,i.memoizedProps=s.memoizedProps,i.memoizedState=s.memoizedState,i.updateQueue=s.updateQueue,i.type=s.type,e=s.dependencies,i.dependencies=null===e?null:{lanes:e.lanes,firstContext:e.firstContext}),n=n.sibling;return Ta(ei,1&ei.current|2),t.child}e=e.sibling}null!==i.tail&&Ze()>Us&&(t.flags|=128,r=!0,Gl(i,!1),t.lanes=4194304)}else{if(!r)if(null!==(e=ti(s))){if(t.flags|=128,r=!0,null!==(n=e.updateQueue)&&(t.updateQueue=n,t.flags|=4),Gl(i,!0),null===i.tail&&"hidden"===i.tailMode&&!s.alternate&&!ao)return Vl(t),null}else 2*Ze()-i.renderingStartTime>Us&&1073741824!==n&&(t.flags|=128,r=!0,Gl(i,!1),t.lanes=4194304);i.isBackwards?(s.sibling=t.child,t.child=s):(null!==(n=i.last)?n.sibling=s:t.child=s,i.last=s)}return null!==i.tail?(t=i.tail,i.rendering=t,i.tail=t.sibling,i.renderingStartTime=Ze(),t.sibling=null,n=ei.current,Ta(ei,r?1&n|2:1&n),t):(Vl(t),null);case 22:case 23:return du(),r=null!==t.memoizedState,null!==e&&null!==e.memoizedState!==r&&(t.flags|=8192),r&&1&t.mode?!!(1073741824&Ns)&&(Vl(t),6&t.subtreeFlags&&(t.flags|=8192)):Vl(t),null;case 24:case 25:return null}throw Error(o(156,t.tag))}function Kl(e,t){switch(to(t),t.tag){case 1:return Na(t.type)&&Pa(),65536&(e=t.flags)?(t.flags=-65537&e|128,t):null;case 3:return Zo(),Ca(ja),Ca(_a),ri(),65536&(e=t.flags)&&!(128&e)?(t.flags=-65537&e|128,t):null;case 5:return Jo(t),null;case 13:if(Ca(ei),null!==(e=t.memoizedState)&&null!==e.dehydrated){if(null===t.alternate)throw Error(o(340));mo()}return 65536&(e=t.flags)?(t.flags=-65537&e|128,t):null;case 19:return Ca(ei),null;case 4:return Zo(),null;case 10:return _o(t.type._context),null;case 22:case 23:return du(),null;default:return null}}Ll=function(e,t){for(var n=t.child;null!==n;){if(5===n.tag||6===n.tag)e.appendChild(n.stateNode);else if(4!==n.tag&&null!==n.child){n.child.return=n,n=n.child;continue}if(n===t)break;for(;null===n.sibling;){if(null===n.return||n.return===t)return;n=n.return}n.sibling.return=n.return,n=n.sibling}},Nl=function(){},Pl=function(e,t,n,r){var a=e.memoizedProps;if(a!==r){e=t.stateNode,Qo(Vo.current);var o,i=null;switch(n){case"input":a=Q(e,a),r=Q(e,r),i=[];break;case"select":a=M({},a,{value:void 0}),r=M({},r,{value:void 0}),i=[];break;case"textarea":a=re(e,a),r=re(e,r),i=[];break;default:"function"!=typeof a.onClick&&"function"==typeof r.onClick&&(e.onclick=Jr)}for(c in be(n,r),n=null,a)if(!r.hasOwnProperty(c)&&a.hasOwnProperty(c)&&null!=a[c])if("style"===c){var s=a[c];for(o in s)s.hasOwnProperty(o)&&(n||(n={}),n[o]="")}else"dangerouslySetInnerHTML"!==c&&"children"!==c&&"suppressContentEditableWarning"!==c&&"suppressHydrationWarning"!==c&&"autoFocus"!==c&&(l.hasOwnProperty(c)?i||(i=[]):(i=i||[]).push(c,null));for(c in r){var u=r[c];if(s=null!=a?a[c]:void 0,r.hasOwnProperty(c)&&u!==s&&(null!=u||null!=s))if("style"===c)if(s){for(o in s)!s.hasOwnProperty(o)||u&&u.hasOwnProperty(o)||(n||(n={}),n[o]="");for(o in u)u.hasOwnProperty(o)&&s[o]!==u[o]&&(n||(n={}),n[o]=u[o])}else n||(i||(i=[]),i.push(c,n)),n=u;else"dangerouslySetInnerHTML"===c?(u=u?u.__html:void 0,s=s?s.__html:void 0,null!=u&&s!==u&&(i=i||[]).push(c,u)):"children"===c?"string"!=typeof u&&"number"!=typeof u||(i=i||[]).push(c,""+u):"suppressContentEditableWarning"!==c&&"suppressHydrationWarning"!==c&&(l.hasOwnProperty(c)?(null!=u&&"onScroll"===c&&zr("scroll",e),i||s===u||(i=[])):(i=i||[]).push(c,u))}n&&(i=i||[]).push("style",n);var c=i;(t.updateQueue=c)&&(t.flags|=4)}},Ol=function(e,t,n,r){n!==r&&(t.flags|=4)};var Ql=!1,Yl=!1,Zl="function"==typeof WeakSet?WeakSet:Set,Xl=null;function Jl(e,t){var n=e.ref;if(null!==n)if("function"==typeof n)try{n(null)}catch(r){Eu(e,t,r)}else n.current=null}function es(e,t,n){try{n()}catch(r){Eu(e,t,r)}}var ts=!1;function ns(e,t,n){var r=t.updateQueue;if(null!==(r=null!==r?r.lastEffect:null)){var a=r=r.next;do{if((a.tag&e)===e){var o=a.destroy;a.destroy=void 0,void 0!==o&&es(t,n,o)}a=a.next}while(a!==r)}}function rs(e,t){if(null!==(t=null!==(t=t.updateQueue)?t.lastEffect:null)){var n=t=t.next;do{if((n.tag&e)===e){var r=n.create;n.destroy=r()}n=n.next}while(n!==t)}}function as(e){var t=e.ref;if(null!==t){var n=e.stateNode;e.tag,e=n,"function"==typeof t?t(e):t.current=e}}function os(e){var t=e.alternate;null!==t&&(e.alternate=null,os(t)),e.child=null,e.deletions=null,e.sibling=null,5===e.tag&&(null!==(t=e.stateNode)&&(delete t[pa],delete t[fa],delete t[ha],delete t[ga],delete t[ya])),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 is(e){return 5===e.tag||3===e.tag||4===e.tag}function ls(e){e:for(;;){for(;null===e.sibling;){if(null===e.return||is(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 ss(e,t,n){var r=e.tag;if(5===r||6===r)e=e.stateNode,t?8===n.nodeType?n.parentNode.insertBefore(e,t):n.insertBefore(e,t):(8===n.nodeType?(t=n.parentNode).insertBefore(e,n):(t=n).appendChild(e),null!=(n=n._reactRootContainer)||null!==t.onclick||(t.onclick=Jr));else if(4!==r&&null!==(e=e.child))for(ss(e,t,n),e=e.sibling;null!==e;)ss(e,t,n),e=e.sibling}function us(e,t,n){var r=e.tag;if(5===r||6===r)e=e.stateNode,t?n.insertBefore(e,t):n.appendChild(e);else if(4!==r&&null!==(e=e.child))for(us(e,t,n),e=e.sibling;null!==e;)us(e,t,n),e=e.sibling}var cs=null,ds=!1;function ps(e,t,n){for(n=n.child;null!==n;)fs(e,t,n),n=n.sibling}function fs(e,t,n){if(ot&&"function"==typeof ot.onCommitFiberUnmount)try{ot.onCommitFiberUnmount(at,n)}catch(l){}switch(n.tag){case 5:Yl||Jl(n,t);case 6:var r=cs,a=ds;cs=null,ps(e,t,n),ds=a,null!==(cs=r)&&(ds?(e=cs,n=n.stateNode,8===e.nodeType?e.parentNode.removeChild(n):e.removeChild(n)):cs.removeChild(n.stateNode));break;case 18:null!==cs&&(ds?(e=cs,n=n.stateNode,8===e.nodeType?sa(e.parentNode,n):1===e.nodeType&&sa(e,n),Ut(e)):sa(cs,n.stateNode));break;case 4:r=cs,a=ds,cs=n.stateNode.containerInfo,ds=!0,ps(e,t,n),cs=r,ds=a;break;case 0:case 11:case 14:case 15:if(!Yl&&(null!==(r=n.updateQueue)&&null!==(r=r.lastEffect))){a=r=r.next;do{var o=a,i=o.destroy;o=o.tag,void 0!==i&&(2&o||4&o)&&es(n,t,i),a=a.next}while(a!==r)}ps(e,t,n);break;case 1:if(!Yl&&(Jl(n,t),"function"==typeof(r=n.stateNode).componentWillUnmount))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(l){Eu(n,t,l)}ps(e,t,n);break;case 21:ps(e,t,n);break;case 22:1&n.mode?(Yl=(r=Yl)||null!==n.memoizedState,ps(e,t,n),Yl=r):ps(e,t,n);break;default:ps(e,t,n)}}function ms(e){var t=e.updateQueue;if(null!==t){e.updateQueue=null;var n=e.stateNode;null===n&&(n=e.stateNode=new Zl),t.forEach((function(t){var r=_u.bind(null,e,t);n.has(t)||(n.add(t),t.then(r,r))}))}}function hs(e,t){var n=t.deletions;if(null!==n)for(var r=0;r<n.length;r++){var a=n[r];try{var i=e,l=t,s=l;e:for(;null!==s;){switch(s.tag){case 5:cs=s.stateNode,ds=!1;break e;case 3:case 4:cs=s.stateNode.containerInfo,ds=!0;break e}s=s.return}if(null===cs)throw Error(o(160));fs(i,l,a),cs=null,ds=!1;var u=a.alternate;null!==u&&(u.return=null),a.return=null}catch(c){Eu(a,t,c)}}if(12854&t.subtreeFlags)for(t=t.child;null!==t;)gs(t,e),t=t.sibling}function gs(e,t){var n=e.alternate,r=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:if(hs(t,e),ys(e),4&r){try{ns(3,e,e.return),rs(3,e)}catch(g){Eu(e,e.return,g)}try{ns(5,e,e.return)}catch(g){Eu(e,e.return,g)}}break;case 1:hs(t,e),ys(e),512&r&&null!==n&&Jl(n,n.return);break;case 5:if(hs(t,e),ys(e),512&r&&null!==n&&Jl(n,n.return),32&e.flags){var a=e.stateNode;try{pe(a,"")}catch(g){Eu(e,e.return,g)}}if(4&r&&null!=(a=e.stateNode)){var i=e.memoizedProps,l=null!==n?n.memoizedProps:i,s=e.type,u=e.updateQueue;if(e.updateQueue=null,null!==u)try{"input"===s&&"radio"===i.type&&null!=i.name&&Z(a,i),ve(s,l);var c=ve(s,i);for(l=0;l<u.length;l+=2){var d=u[l],p=u[l+1];"style"===d?ge(a,p):"dangerouslySetInnerHTML"===d?de(a,p):"children"===d?pe(a,p):v(a,d,p,c)}switch(s){case"input":X(a,i);break;case"textarea":oe(a,i);break;case"select":var f=a._wrapperState.wasMultiple;a._wrapperState.wasMultiple=!!i.multiple;var m=i.value;null!=m?ne(a,!!i.multiple,m,!1):f!==!!i.multiple&&(null!=i.defaultValue?ne(a,!!i.multiple,i.defaultValue,!0):ne(a,!!i.multiple,i.multiple?[]:"",!1))}a[fa]=i}catch(g){Eu(e,e.return,g)}}break;case 6:if(hs(t,e),ys(e),4&r){if(null===e.stateNode)throw Error(o(162));a=e.stateNode,i=e.memoizedProps;try{a.nodeValue=i}catch(g){Eu(e,e.return,g)}}break;case 3:if(hs(t,e),ys(e),4&r&&null!==n&&n.memoizedState.isDehydrated)try{Ut(t.containerInfo)}catch(g){Eu(e,e.return,g)}break;case 4:default:hs(t,e),ys(e);break;case 13:hs(t,e),ys(e),8192&(a=e.child).flags&&(i=null!==a.memoizedState,a.stateNode.isHidden=i,!i||null!==a.alternate&&null!==a.alternate.memoizedState||($s=Ze())),4&r&&ms(e);break;case 22:if(d=null!==n&&null!==n.memoizedState,1&e.mode?(Yl=(c=Yl)||d,hs(t,e),Yl=c):hs(t,e),ys(e),8192&r){if(c=null!==e.memoizedState,(e.stateNode.isHidden=c)&&!d&&1&e.mode)for(Xl=e,d=e.child;null!==d;){for(p=Xl=d;null!==Xl;){switch(m=(f=Xl).child,f.tag){case 0:case 11:case 14:case 15:ns(4,f,f.return);break;case 1:Jl(f,f.return);var h=f.stateNode;if("function"==typeof h.componentWillUnmount){r=f,n=f.return;try{t=r,h.props=t.memoizedProps,h.state=t.memoizedState,h.componentWillUnmount()}catch(g){Eu(r,n,g)}}break;case 5:Jl(f,f.return);break;case 22:if(null!==f.memoizedState){ks(p);continue}}null!==m?(m.return=f,Xl=m):ks(p)}d=d.sibling}e:for(d=null,p=e;;){if(5===p.tag){if(null===d){d=p;try{a=p.stateNode,c?"function"==typeof(i=a.style).setProperty?i.setProperty("display","none","important"):i.display="none":(s=p.stateNode,l=null!=(u=p.memoizedProps.style)&&u.hasOwnProperty("display")?u.display:null,s.style.display=he("display",l))}catch(g){Eu(e,e.return,g)}}}else if(6===p.tag){if(null===d)try{p.stateNode.nodeValue=c?"":p.memoizedProps}catch(g){Eu(e,e.return,g)}}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;d===p&&(d=null),p=p.return}d===p&&(d=null),p.sibling.return=p.return,p=p.sibling}}break;case 19:hs(t,e),ys(e),4&r&&ms(e);case 21:}}function ys(e){var t=e.flags;if(2&t){try{e:{for(var n=e.return;null!==n;){if(is(n)){var r=n;break e}n=n.return}throw Error(o(160))}switch(r.tag){case 5:var a=r.stateNode;32&r.flags&&(pe(a,""),r.flags&=-33),us(e,ls(e),a);break;case 3:case 4:var i=r.stateNode.containerInfo;ss(e,ls(e),i);break;default:throw Error(o(161))}}catch(l){Eu(e,e.return,l)}e.flags&=-3}4096&t&&(e.flags&=-4097)}function bs(e,t,n){Xl=e,vs(e,t,n)}function vs(e,t,n){for(var r=!!(1&e.mode);null!==Xl;){var a=Xl,o=a.child;if(22===a.tag&&r){var i=null!==a.memoizedState||Ql;if(!i){var l=a.alternate,s=null!==l&&null!==l.memoizedState||Yl;l=Ql;var u=Yl;if(Ql=i,(Yl=s)&&!u)for(Xl=a;null!==Xl;)s=(i=Xl).child,22===i.tag&&null!==i.memoizedState?xs(a):null!==s?(s.return=i,Xl=s):xs(a);for(;null!==o;)Xl=o,vs(o,t,n),o=o.sibling;Xl=a,Ql=l,Yl=u}ws(e)}else 8772&a.subtreeFlags&&null!==o?(o.return=a,Xl=o):ws(e)}}function ws(e){for(;null!==Xl;){var t=Xl;if(8772&t.flags){var n=t.alternate;try{if(8772&t.flags)switch(t.tag){case 0:case 11:case 15:Yl||rs(5,t);break;case 1:var r=t.stateNode;if(4&t.flags&&!Yl)if(null===n)r.componentDidMount();else{var a=t.elementType===t.type?n.memoizedProps:nl(t.type,n.memoizedProps);r.componentDidUpdate(a,n.memoizedState,r.__reactInternalSnapshotBeforeUpdate)}var i=t.updateQueue;null!==i&&Ho(t,i,r);break;case 3:var l=t.updateQueue;if(null!==l){if(n=null,null!==t.child)switch(t.child.tag){case 5:case 1:n=t.child.stateNode}Ho(t,l,n)}break;case 5:var s=t.stateNode;if(null===n&&4&t.flags){n=s;var u=t.memoizedProps;switch(t.type){case"button":case"input":case"select":case"textarea":u.autoFocus&&n.focus();break;case"img":u.src&&(n.src=u.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===t.memoizedState){var c=t.alternate;if(null!==c){var d=c.memoizedState;if(null!==d){var p=d.dehydrated;null!==p&&Ut(p)}}}break;default:throw Error(o(163))}Yl||512&t.flags&&as(t)}catch(f){Eu(t,t.return,f)}}if(t===e){Xl=null;break}if(null!==(n=t.sibling)){n.return=t.return,Xl=n;break}Xl=t.return}}function ks(e){for(;null!==Xl;){var t=Xl;if(t===e){Xl=null;break}var n=t.sibling;if(null!==n){n.return=t.return,Xl=n;break}Xl=t.return}}function xs(e){for(;null!==Xl;){var t=Xl;try{switch(t.tag){case 0:case 11:case 15:var n=t.return;try{rs(4,t)}catch(s){Eu(t,n,s)}break;case 1:var r=t.stateNode;if("function"==typeof r.componentDidMount){var a=t.return;try{r.componentDidMount()}catch(s){Eu(t,a,s)}}var o=t.return;try{as(t)}catch(s){Eu(t,o,s)}break;case 5:var i=t.return;try{as(t)}catch(s){Eu(t,i,s)}}}catch(s){Eu(t,t.return,s)}if(t===e){Xl=null;break}var l=t.sibling;if(null!==l){l.return=t.return,Xl=l;break}Xl=t.return}}var Ss,Es=Math.ceil,Cs=w.ReactCurrentDispatcher,Ts=w.ReactCurrentOwner,As=w.ReactCurrentBatchConfig,_s=0,js=null,Rs=null,Ls=0,Ns=0,Ps=Ea(0),Os=0,Ds=null,Is=0,Ms=0,Fs=0,zs=null,Bs=null,$s=0,Us=1/0,qs=null,Hs=!1,Gs=null,Vs=null,Ws=!1,Ks=null,Qs=0,Ys=0,Zs=null,Xs=-1,Js=0;function eu(){return 6&_s?Ze():-1!==Xs?Xs:Xs=Ze()}function tu(e){return 1&e.mode?2&_s&&0!==Ls?Ls&-Ls:null!==go.transition?(0===Js&&(Js=ht()),Js):0!==(e=vt)?e:e=void 0===(e=window.event)?16:Yt(e.type):1}function nu(e,t,n,r){if(50<Ys)throw Ys=0,Zs=null,Error(o(185));yt(e,n,r),2&_s&&e===js||(e===js&&(!(2&_s)&&(Ms|=n),4===Os&&lu(e,Ls)),ru(e,r),1===n&&0===_s&&!(1&t.mode)&&(Us=Ze()+500,za&&Ua()))}function ru(e,t){var n=e.callbackNode;!function(e,t){for(var n=e.suspendedLanes,r=e.pingedLanes,a=e.expirationTimes,o=e.pendingLanes;0<o;){var i=31-it(o),l=1<<i,s=a[i];-1===s?l&n&&!(l&r)||(a[i]=ft(l,t)):s<=t&&(e.expiredLanes|=l),o&=~l}}(e,t);var r=pt(e,e===js?Ls:0);if(0===r)null!==n&&Ke(n),e.callbackNode=null,e.callbackPriority=0;else if(t=r&-r,e.callbackPriority!==t){if(null!=n&&Ke(n),1===t)0===e.tag?function(e){za=!0,$a(e)}(su.bind(null,e)):$a(su.bind(null,e)),ia((function(){!(6&_s)&&Ua()})),n=null;else{switch(wt(r)){case 1:n=Je;break;case 4:n=et;break;case 16:default:n=tt;break;case 536870912:n=rt}n=ju(n,au.bind(null,e))}e.callbackPriority=t,e.callbackNode=n}}function au(e,t){if(Xs=-1,Js=0,6&_s)throw Error(o(327));var n=e.callbackNode;if(xu()&&e.callbackNode!==n)return null;var r=pt(e,e===js?Ls:0);if(0===r)return null;if(30&r||r&e.expiredLanes||t)t=gu(e,r);else{t=r;var a=_s;_s|=2;var i=mu();for(js===e&&Ls===t||(qs=null,Us=Ze()+500,pu(e,t));;)try{bu();break}catch(s){fu(e,s)}Ao(),Cs.current=i,_s=a,null!==Rs?t=0:(js=null,Ls=0,t=Os)}if(0!==t){if(2===t&&(0!==(a=mt(e))&&(r=a,t=ou(e,a))),1===t)throw n=Ds,pu(e,0),lu(e,r),ru(e,Ze()),n;if(6===t)lu(e,r);else{if(a=e.current.alternate,!(30&r||function(e){for(var t=e;;){if(16384&t.flags){var n=t.updateQueue;if(null!==n&&null!==(n=n.stores))for(var r=0;r<n.length;r++){var a=n[r],o=a.getSnapshot;a=a.value;try{if(!lr(o(),a))return!1}catch(l){return!1}}}if(n=t.child,16384&t.subtreeFlags&&null!==n)n.return=t,t=n;else{if(t===e)break;for(;null===t.sibling;){if(null===t.return||t.return===e)return!0;t=t.return}t.sibling.return=t.return,t=t.sibling}}return!0}(a)||(t=gu(e,r),2===t&&(i=mt(e),0!==i&&(r=i,t=ou(e,i))),1!==t)))throw n=Ds,pu(e,0),lu(e,r),ru(e,Ze()),n;switch(e.finishedWork=a,e.finishedLanes=r,t){case 0:case 1:throw Error(o(345));case 2:case 5:ku(e,Bs,qs);break;case 3:if(lu(e,r),(130023424&r)===r&&10<(t=$s+500-Ze())){if(0!==pt(e,0))break;if(((a=e.suspendedLanes)&r)!==r){eu(),e.pingedLanes|=e.suspendedLanes&a;break}e.timeoutHandle=ra(ku.bind(null,e,Bs,qs),t);break}ku(e,Bs,qs);break;case 4:if(lu(e,r),(4194240&r)===r)break;for(t=e.eventTimes,a=-1;0<r;){var l=31-it(r);i=1<<l,(l=t[l])>a&&(a=l),r&=~i}if(r=a,10<(r=(120>(r=Ze()-r)?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*Es(r/1960))-r)){e.timeoutHandle=ra(ku.bind(null,e,Bs,qs),r);break}ku(e,Bs,qs);break;default:throw Error(o(329))}}}return ru(e,Ze()),e.callbackNode===n?au.bind(null,e):null}function ou(e,t){var n=zs;return e.current.memoizedState.isDehydrated&&(pu(e,t).flags|=256),2!==(e=gu(e,t))&&(t=Bs,Bs=n,null!==t&&iu(t)),e}function iu(e){null===Bs?Bs=e:Bs.push.apply(Bs,e)}function lu(e,t){for(t&=~Fs,t&=~Ms,e.suspendedLanes|=t,e.pingedLanes&=~t,e=e.expirationTimes;0<t;){var n=31-it(t),r=1<<n;e[n]=-1,t&=~r}}function su(e){if(6&_s)throw Error(o(327));xu();var t=pt(e,0);if(!(1&t))return ru(e,Ze()),null;var n=gu(e,t);if(0!==e.tag&&2===n){var r=mt(e);0!==r&&(t=r,n=ou(e,r))}if(1===n)throw n=Ds,pu(e,0),lu(e,t),ru(e,Ze()),n;if(6===n)throw Error(o(345));return e.finishedWork=e.current.alternate,e.finishedLanes=t,ku(e,Bs,qs),ru(e,Ze()),null}function uu(e,t){var n=_s;_s|=1;try{return e(t)}finally{0===(_s=n)&&(Us=Ze()+500,za&&Ua())}}function cu(e){null!==Ks&&0===Ks.tag&&!(6&_s)&&xu();var t=_s;_s|=1;var n=As.transition,r=vt;try{if(As.transition=null,vt=1,e)return e()}finally{vt=r,As.transition=n,!(6&(_s=t))&&Ua()}}function du(){Ns=Ps.current,Ca(Ps)}function pu(e,t){e.finishedWork=null,e.finishedLanes=0;var n=e.timeoutHandle;if(-1!==n&&(e.timeoutHandle=-1,aa(n)),null!==Rs)for(n=Rs.return;null!==n;){var r=n;switch(to(r),r.tag){case 1:null!=(r=r.type.childContextTypes)&&Pa();break;case 3:Zo(),Ca(ja),Ca(_a),ri();break;case 5:Jo(r);break;case 4:Zo();break;case 13:case 19:Ca(ei);break;case 10:_o(r.type._context);break;case 22:case 23:du()}n=n.return}if(js=e,Rs=e=Pu(e.current,null),Ls=Ns=t,Os=0,Ds=null,Fs=Ms=Is=0,Bs=zs=null,null!==No){for(t=0;t<No.length;t++)if(null!==(r=(n=No[t]).interleaved)){n.interleaved=null;var a=r.next,o=n.pending;if(null!==o){var i=o.next;o.next=a,r.next=i}n.pending=r}No=null}return e}function fu(e,t){for(;;){var n=Rs;try{if(Ao(),ai.current=Xi,ci){for(var r=li.memoizedState;null!==r;){var a=r.queue;null!==a&&(a.pending=null),r=r.next}ci=!1}if(ii=0,ui=si=li=null,di=!1,pi=0,Ts.current=null,null===n||null===n.return){Os=1,Ds=t,Rs=null;break}e:{var i=e,l=n.return,s=n,u=t;if(t=Ls,s.flags|=32768,null!==u&&"object"==typeof u&&"function"==typeof u.then){var c=u,d=s,p=d.tag;if(!(1&d.mode||0!==p&&11!==p&&15!==p)){var f=d.alternate;f?(d.updateQueue=f.updateQueue,d.memoizedState=f.memoizedState,d.lanes=f.lanes):(d.updateQueue=null,d.memoizedState=null)}var m=gl(l);if(null!==m){m.flags&=-257,yl(m,l,s,0,t),1&m.mode&&hl(i,c,t),u=c;var h=(t=m).updateQueue;if(null===h){var g=new Set;g.add(u),t.updateQueue=g}else h.add(u);break e}if(!(1&t)){hl(i,c,t),hu();break e}u=Error(o(426))}else if(ao&&1&s.mode){var y=gl(l);if(null!==y){!(65536&y.flags)&&(y.flags|=256),yl(y,l,s,0,t),ho(ul(u,s));break e}}i=u=ul(u,s),4!==Os&&(Os=2),null===zs?zs=[i]:zs.push(i),i=l;do{switch(i.tag){case 3:i.flags|=65536,t&=-t,i.lanes|=t,Uo(i,fl(0,u,t));break e;case 1:s=u;var b=i.type,v=i.stateNode;if(!(128&i.flags||"function"!=typeof b.getDerivedStateFromError&&(null===v||"function"!=typeof v.componentDidCatch||null!==Vs&&Vs.has(v)))){i.flags|=65536,t&=-t,i.lanes|=t,Uo(i,ml(i,s,t));break e}}i=i.return}while(null!==i)}wu(n)}catch(w){t=w,Rs===n&&null!==n&&(Rs=n=n.return);continue}break}}function mu(){var e=Cs.current;return Cs.current=Xi,null===e?Xi:e}function hu(){0!==Os&&3!==Os&&2!==Os||(Os=4),null===js||!(268435455&Is)&&!(268435455&Ms)||lu(js,Ls)}function gu(e,t){var n=_s;_s|=2;var r=mu();for(js===e&&Ls===t||(qs=null,pu(e,t));;)try{yu();break}catch(a){fu(e,a)}if(Ao(),_s=n,Cs.current=r,null!==Rs)throw Error(o(261));return js=null,Ls=0,Os}function yu(){for(;null!==Rs;)vu(Rs)}function bu(){for(;null!==Rs&&!Qe();)vu(Rs)}function vu(e){var t=Ss(e.alternate,e,Ns);e.memoizedProps=e.pendingProps,null===t?wu(e):Rs=t,Ts.current=null}function wu(e){var t=e;do{var n=t.alternate;if(e=t.return,32768&t.flags){if(null!==(n=Kl(n,t)))return n.flags&=32767,void(Rs=n);if(null===e)return Os=6,void(Rs=null);e.flags|=32768,e.subtreeFlags=0,e.deletions=null}else if(null!==(n=Wl(n,t,Ns)))return void(Rs=n);if(null!==(t=t.sibling))return void(Rs=t);Rs=t=e}while(null!==t);0===Os&&(Os=5)}function ku(e,t,n){var r=vt,a=As.transition;try{As.transition=null,vt=1,function(e,t,n,r){do{xu()}while(null!==Ks);if(6&_s)throw Error(o(327));n=e.finishedWork;var a=e.finishedLanes;if(null===n)return null;if(e.finishedWork=null,e.finishedLanes=0,n===e.current)throw Error(o(177));e.callbackNode=null,e.callbackPriority=0;var i=n.lanes|n.childLanes;if(function(e,t){var n=e.pendingLanes&~t;e.pendingLanes=t,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=t,e.mutableReadLanes&=t,e.entangledLanes&=t,t=e.entanglements;var r=e.eventTimes;for(e=e.expirationTimes;0<n;){var a=31-it(n),o=1<<a;t[a]=0,r[a]=-1,e[a]=-1,n&=~o}}(e,i),e===js&&(Rs=js=null,Ls=0),!(2064&n.subtreeFlags)&&!(2064&n.flags)||Ws||(Ws=!0,ju(tt,(function(){return xu(),null}))),i=!!(15990&n.flags),!!(15990&n.subtreeFlags)||i){i=As.transition,As.transition=null;var l=vt;vt=1;var s=_s;_s|=4,Ts.current=null,function(e,t){if(ea=Ht,fr(e=pr())){if("selectionStart"in e)var n={start:e.selectionStart,end:e.selectionEnd};else e:{var r=(n=(n=e.ownerDocument)&&n.defaultView||window).getSelection&&n.getSelection();if(r&&0!==r.rangeCount){n=r.anchorNode;var a=r.anchorOffset,i=r.focusNode;r=r.focusOffset;try{n.nodeType,i.nodeType}catch(k){n=null;break e}var l=0,s=-1,u=-1,c=0,d=0,p=e,f=null;t:for(;;){for(var m;p!==n||0!==a&&3!==p.nodeType||(s=l+a),p!==i||0!==r&&3!==p.nodeType||(u=l+r),3===p.nodeType&&(l+=p.nodeValue.length),null!==(m=p.firstChild);)f=p,p=m;for(;;){if(p===e)break t;if(f===n&&++c===a&&(s=l),f===i&&++d===r&&(u=l),null!==(m=p.nextSibling))break;f=(p=f).parentNode}p=m}n=-1===s||-1===u?null:{start:s,end:u}}else n=null}n=n||{start:0,end:0}}else n=null;for(ta={focusedElem:e,selectionRange:n},Ht=!1,Xl=t;null!==Xl;)if(e=(t=Xl).child,1028&t.subtreeFlags&&null!==e)e.return=t,Xl=e;else for(;null!==Xl;){t=Xl;try{var h=t.alternate;if(1024&t.flags)switch(t.tag){case 0:case 11:case 15:case 5:case 6:case 4:case 17:break;case 1:if(null!==h){var g=h.memoizedProps,y=h.memoizedState,b=t.stateNode,v=b.getSnapshotBeforeUpdate(t.elementType===t.type?g:nl(t.type,g),y);b.__reactInternalSnapshotBeforeUpdate=v}break;case 3:var w=t.stateNode.containerInfo;1===w.nodeType?w.textContent="":9===w.nodeType&&w.documentElement&&w.removeChild(w.documentElement);break;default:throw Error(o(163))}}catch(k){Eu(t,t.return,k)}if(null!==(e=t.sibling)){e.return=t.return,Xl=e;break}Xl=t.return}h=ts,ts=!1}(e,n),gs(n,e),mr(ta),Ht=!!ea,ta=ea=null,e.current=n,bs(n,e,a),Ye(),_s=s,vt=l,As.transition=i}else e.current=n;if(Ws&&(Ws=!1,Ks=e,Qs=a),i=e.pendingLanes,0===i&&(Vs=null),function(e){if(ot&&"function"==typeof ot.onCommitFiberRoot)try{ot.onCommitFiberRoot(at,e,void 0,!(128&~e.current.flags))}catch(t){}}(n.stateNode),ru(e,Ze()),null!==t)for(r=e.onRecoverableError,n=0;n<t.length;n++)a=t[n],r(a.value,{componentStack:a.stack,digest:a.digest});if(Hs)throw Hs=!1,e=Gs,Gs=null,e;!!(1&Qs)&&0!==e.tag&&xu(),i=e.pendingLanes,1&i?e===Zs?Ys++:(Ys=0,Zs=e):Ys=0,Ua()}(e,t,n,r)}finally{As.transition=a,vt=r}return null}function xu(){if(null!==Ks){var e=wt(Qs),t=As.transition,n=vt;try{if(As.transition=null,vt=16>e?16:e,null===Ks)var r=!1;else{if(e=Ks,Ks=null,Qs=0,6&_s)throw Error(o(331));var a=_s;for(_s|=4,Xl=e.current;null!==Xl;){var i=Xl,l=i.child;if(16&Xl.flags){var s=i.deletions;if(null!==s){for(var u=0;u<s.length;u++){var c=s[u];for(Xl=c;null!==Xl;){var d=Xl;switch(d.tag){case 0:case 11:case 15:ns(8,d,i)}var p=d.child;if(null!==p)p.return=d,Xl=p;else for(;null!==Xl;){var f=(d=Xl).sibling,m=d.return;if(os(d),d===c){Xl=null;break}if(null!==f){f.return=m,Xl=f;break}Xl=m}}}var h=i.alternate;if(null!==h){var g=h.child;if(null!==g){h.child=null;do{var y=g.sibling;g.sibling=null,g=y}while(null!==g)}}Xl=i}}if(2064&i.subtreeFlags&&null!==l)l.return=i,Xl=l;else e:for(;null!==Xl;){if(2048&(i=Xl).flags)switch(i.tag){case 0:case 11:case 15:ns(9,i,i.return)}var b=i.sibling;if(null!==b){b.return=i.return,Xl=b;break e}Xl=i.return}}var v=e.current;for(Xl=v;null!==Xl;){var w=(l=Xl).child;if(2064&l.subtreeFlags&&null!==w)w.return=l,Xl=w;else e:for(l=v;null!==Xl;){if(2048&(s=Xl).flags)try{switch(s.tag){case 0:case 11:case 15:rs(9,s)}}catch(x){Eu(s,s.return,x)}if(s===l){Xl=null;break e}var k=s.sibling;if(null!==k){k.return=s.return,Xl=k;break e}Xl=s.return}}if(_s=a,Ua(),ot&&"function"==typeof ot.onPostCommitFiberRoot)try{ot.onPostCommitFiberRoot(at,e)}catch(x){}r=!0}return r}finally{vt=n,As.transition=t}}return!1}function Su(e,t,n){e=Bo(e,t=fl(0,t=ul(n,t),1),1),t=eu(),null!==e&&(yt(e,1,t),ru(e,t))}function Eu(e,t,n){if(3===e.tag)Su(e,e,n);else for(;null!==t;){if(3===t.tag){Su(t,e,n);break}if(1===t.tag){var r=t.stateNode;if("function"==typeof t.type.getDerivedStateFromError||"function"==typeof r.componentDidCatch&&(null===Vs||!Vs.has(r))){t=Bo(t,e=ml(t,e=ul(n,e),1),1),e=eu(),null!==t&&(yt(t,1,e),ru(t,e));break}}t=t.return}}function Cu(e,t,n){var r=e.pingCache;null!==r&&r.delete(t),t=eu(),e.pingedLanes|=e.suspendedLanes&n,js===e&&(Ls&n)===n&&(4===Os||3===Os&&(130023424&Ls)===Ls&&500>Ze()-$s?pu(e,0):Fs|=n),ru(e,t)}function Tu(e,t){0===t&&(1&e.mode?(t=ct,!(130023424&(ct<<=1))&&(ct=4194304)):t=1);var n=eu();null!==(e=Do(e,t))&&(yt(e,t,n),ru(e,n))}function Au(e){var t=e.memoizedState,n=0;null!==t&&(n=t.retryLane),Tu(e,n)}function _u(e,t){var n=0;switch(e.tag){case 13:var r=e.stateNode,a=e.memoizedState;null!==a&&(n=a.retryLane);break;case 19:r=e.stateNode;break;default:throw Error(o(314))}null!==r&&r.delete(t),Tu(e,n)}function ju(e,t){return We(e,t)}function Ru(e,t,n,r){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,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 Lu(e,t,n,r){return new Ru(e,t,n,r)}function Nu(e){return!(!(e=e.prototype)||!e.isReactComponent)}function Pu(e,t){var n=e.alternate;return null===n?((n=Lu(e.tag,t,e.key,e.mode)).elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.type=e.type,n.flags=0,n.subtreeFlags=0,n.deletions=null),n.flags=14680064&e.flags,n.childLanes=e.childLanes,n.lanes=e.lanes,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,t=e.dependencies,n.dependencies=null===t?null:{lanes:t.lanes,firstContext:t.firstContext},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n}function Ou(e,t,n,r,a,i){var l=2;if(r=e,"function"==typeof e)Nu(e)&&(l=1);else if("string"==typeof e)l=5;else e:switch(e){case S:return Du(n.children,a,i,t);case E:l=8,a|=8;break;case C:return(e=Lu(12,n,t,2|a)).elementType=C,e.lanes=i,e;case j:return(e=Lu(13,n,t,a)).elementType=j,e.lanes=i,e;case R:return(e=Lu(19,n,t,a)).elementType=R,e.lanes=i,e;case P:return Iu(n,a,i,t);default:if("object"==typeof e&&null!==e)switch(e.$$typeof){case T:l=10;break e;case A:l=9;break e;case _:l=11;break e;case L:l=14;break e;case N:l=16,r=null;break e}throw Error(o(130,null==e?e:typeof e,""))}return(t=Lu(l,n,t,a)).elementType=e,t.type=r,t.lanes=i,t}function Du(e,t,n,r){return(e=Lu(7,e,r,t)).lanes=n,e}function Iu(e,t,n,r){return(e=Lu(22,e,r,t)).elementType=P,e.lanes=n,e.stateNode={isHidden:!1},e}function Mu(e,t,n){return(e=Lu(6,e,null,t)).lanes=n,e}function Fu(e,t,n){return(t=Lu(4,null!==e.children?e.children:[],e.key,t)).lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function zu(e,t,n,r,a){this.tag=t,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=gt(0),this.expirationTimes=gt(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=gt(0),this.identifierPrefix=r,this.onRecoverableError=a,this.mutableSourceEagerHydrationData=null}function Bu(e,t,n,r,a,o,i,l,s){return e=new zu(e,t,n,l,s),1===t?(t=1,!0===o&&(t|=8)):t=0,o=Lu(3,null,null,t),e.current=o,o.stateNode=e,o.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},Mo(o),e}function $u(e){if(!e)return Aa;e:{if(Ue(e=e._reactInternals)!==e||1!==e.tag)throw Error(o(170));var t=e;do{switch(t.tag){case 3:t=t.stateNode.context;break e;case 1:if(Na(t.type)){t=t.stateNode.__reactInternalMemoizedMergedChildContext;break e}}t=t.return}while(null!==t);throw Error(o(171))}if(1===e.tag){var n=e.type;if(Na(n))return Da(e,n,t)}return t}function Uu(e,t,n,r,a,o,i,l,s){return(e=Bu(n,r,!0,e,0,o,0,l,s)).context=$u(null),n=e.current,(o=zo(r=eu(),a=tu(n))).callback=null!=t?t:null,Bo(n,o,a),e.current.lanes=a,yt(e,a,r),ru(e,r),e}function qu(e,t,n,r){var a=t.current,o=eu(),i=tu(a);return n=$u(n),null===t.context?t.context=n:t.pendingContext=n,(t=zo(o,i)).payload={element:e},null!==(r=void 0===r?null:r)&&(t.callback=r),null!==(e=Bo(a,t,i))&&(nu(e,a,i,o),$o(e,a,i)),i}function Hu(e){return(e=e.current).child?(e.child.tag,e.child.stateNode):null}function Gu(e,t){if(null!==(e=e.memoizedState)&&null!==e.dehydrated){var n=e.retryLane;e.retryLane=0!==n&&n<t?n:t}}function Vu(e,t){Gu(e,t),(e=e.alternate)&&Gu(e,t)}Ss=function(e,t,n){if(null!==e)if(e.memoizedProps!==t.pendingProps||ja.current)vl=!0;else{if(!(e.lanes&n||128&t.flags))return vl=!1,function(e,t,n){switch(t.tag){case 3:jl(t),mo();break;case 5:Xo(t);break;case 1:Na(t.type)&&Ia(t);break;case 4:Yo(t,t.stateNode.containerInfo);break;case 10:var r=t.type._context,a=t.memoizedProps.value;Ta(So,r._currentValue),r._currentValue=a;break;case 13:if(null!==(r=t.memoizedState))return null!==r.dehydrated?(Ta(ei,1&ei.current),t.flags|=128,null):n&t.child.childLanes?Ml(e,t,n):(Ta(ei,1&ei.current),null!==(e=Hl(e,t,n))?e.sibling:null);Ta(ei,1&ei.current);break;case 19:if(r=!!(n&t.childLanes),128&e.flags){if(r)return Ul(e,t,n);t.flags|=128}if(null!==(a=t.memoizedState)&&(a.rendering=null,a.tail=null,a.lastEffect=null),Ta(ei,ei.current),r)break;return null;case 22:case 23:return t.lanes=0,El(e,t,n)}return Hl(e,t,n)}(e,t,n);vl=!!(131072&e.flags)}else vl=!1,ao&&1048576&t.flags&&Ja(t,Va,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;ql(e,t),e=t.pendingProps;var a=La(t,_a.current);Ro(t,n),a=gi(null,t,r,e,a,n);var i=yi();return t.flags|=1,"object"==typeof a&&null!==a&&"function"==typeof a.render&&void 0===a.$$typeof?(t.tag=1,t.memoizedState=null,t.updateQueue=null,Na(r)?(i=!0,Ia(t)):i=!1,t.memoizedState=null!==a.state&&void 0!==a.state?a.state:null,Mo(t),a.updater=al,t.stateNode=a,a._reactInternals=t,sl(t,r,e,n),t=_l(null,t,r,!0,i,n)):(t.tag=0,ao&&i&&eo(t),wl(null,t,a,n),t=t.child),t;case 16:r=t.elementType;e:{switch(ql(e,t),e=t.pendingProps,r=(a=r._init)(r._payload),t.type=r,a=t.tag=function(e){if("function"==typeof e)return Nu(e)?1:0;if(null!=e){if((e=e.$$typeof)===_)return 11;if(e===L)return 14}return 2}(r),e=nl(r,e),a){case 0:t=Tl(null,t,r,e,n);break e;case 1:t=Al(null,t,r,e,n);break e;case 11:t=kl(null,t,r,e,n);break e;case 14:t=xl(null,t,r,nl(r.type,e),n);break e}throw Error(o(306,r,""))}return t;case 0:return r=t.type,a=t.pendingProps,Tl(e,t,r,a=t.elementType===r?a:nl(r,a),n);case 1:return r=t.type,a=t.pendingProps,Al(e,t,r,a=t.elementType===r?a:nl(r,a),n);case 3:e:{if(jl(t),null===e)throw Error(o(387));r=t.pendingProps,a=(i=t.memoizedState).element,Fo(e,t),qo(t,r,null,n);var l=t.memoizedState;if(r=l.element,i.isDehydrated){if(i={element:r,isDehydrated:!1,cache:l.cache,pendingSuspenseBoundaries:l.pendingSuspenseBoundaries,transitions:l.transitions},t.updateQueue.baseState=i,t.memoizedState=i,256&t.flags){t=Rl(e,t,r,n,a=ul(Error(o(423)),t));break e}if(r!==a){t=Rl(e,t,r,n,a=ul(Error(o(424)),t));break e}for(ro=ua(t.stateNode.containerInfo.firstChild),no=t,ao=!0,oo=null,n=xo(t,null,r,n),t.child=n;n;)n.flags=-3&n.flags|4096,n=n.sibling}else{if(mo(),r===a){t=Hl(e,t,n);break e}wl(e,t,r,n)}t=t.child}return t;case 5:return Xo(t),null===e&&uo(t),r=t.type,a=t.pendingProps,i=null!==e?e.memoizedProps:null,l=a.children,na(r,a)?l=null:null!==i&&na(r,i)&&(t.flags|=32),Cl(e,t),wl(e,t,l,n),t.child;case 6:return null===e&&uo(t),null;case 13:return Ml(e,t,n);case 4:return Yo(t,t.stateNode.containerInfo),r=t.pendingProps,null===e?t.child=ko(t,null,r,n):wl(e,t,r,n),t.child;case 11:return r=t.type,a=t.pendingProps,kl(e,t,r,a=t.elementType===r?a:nl(r,a),n);case 7:return wl(e,t,t.pendingProps,n),t.child;case 8:case 12:return wl(e,t,t.pendingProps.children,n),t.child;case 10:e:{if(r=t.type._context,a=t.pendingProps,i=t.memoizedProps,l=a.value,Ta(So,r._currentValue),r._currentValue=l,null!==i)if(lr(i.value,l)){if(i.children===a.children&&!ja.current){t=Hl(e,t,n);break e}}else for(null!==(i=t.child)&&(i.return=t);null!==i;){var s=i.dependencies;if(null!==s){l=i.child;for(var u=s.firstContext;null!==u;){if(u.context===r){if(1===i.tag){(u=zo(-1,n&-n)).tag=2;var c=i.updateQueue;if(null!==c){var d=(c=c.shared).pending;null===d?u.next=u:(u.next=d.next,d.next=u),c.pending=u}}i.lanes|=n,null!==(u=i.alternate)&&(u.lanes|=n),jo(i.return,n,t),s.lanes|=n;break}u=u.next}}else if(10===i.tag)l=i.type===t.type?null:i.child;else if(18===i.tag){if(null===(l=i.return))throw Error(o(341));l.lanes|=n,null!==(s=l.alternate)&&(s.lanes|=n),jo(l,n,t),l=i.sibling}else l=i.child;if(null!==l)l.return=i;else for(l=i;null!==l;){if(l===t){l=null;break}if(null!==(i=l.sibling)){i.return=l.return,l=i;break}l=l.return}i=l}wl(e,t,a.children,n),t=t.child}return t;case 9:return a=t.type,r=t.pendingProps.children,Ro(t,n),r=r(a=Lo(a)),t.flags|=1,wl(e,t,r,n),t.child;case 14:return a=nl(r=t.type,t.pendingProps),xl(e,t,r,a=nl(r.type,a),n);case 15:return Sl(e,t,t.type,t.pendingProps,n);case 17:return r=t.type,a=t.pendingProps,a=t.elementType===r?a:nl(r,a),ql(e,t),t.tag=1,Na(r)?(e=!0,Ia(t)):e=!1,Ro(t,n),il(t,r,a),sl(t,r,a,n),_l(null,t,r,!0,e,n);case 19:return Ul(e,t,n);case 22:return El(e,t,n)}throw Error(o(156,t.tag))};var Wu="function"==typeof reportError?reportError:function(e){console.error(e)};function Ku(e){this._internalRoot=e}function Qu(e){this._internalRoot=e}function Yu(e){return!(!e||1!==e.nodeType&&9!==e.nodeType&&11!==e.nodeType)}function Zu(e){return!(!e||1!==e.nodeType&&9!==e.nodeType&&11!==e.nodeType&&(8!==e.nodeType||" react-mount-point-unstable "!==e.nodeValue))}function Xu(){}function Ju(e,t,n,r,a){var o=n._reactRootContainer;if(o){var i=o;if("function"==typeof a){var l=a;a=function(){var e=Hu(i);l.call(e)}}qu(t,i,e,a)}else i=function(e,t,n,r,a){if(a){if("function"==typeof r){var o=r;r=function(){var e=Hu(i);o.call(e)}}var i=Uu(t,r,e,0,null,!1,0,"",Xu);return e._reactRootContainer=i,e[ma]=i.current,Ur(8===e.nodeType?e.parentNode:e),cu(),i}for(;a=e.lastChild;)e.removeChild(a);if("function"==typeof r){var l=r;r=function(){var e=Hu(s);l.call(e)}}var s=Bu(e,0,!1,null,0,!1,0,"",Xu);return e._reactRootContainer=s,e[ma]=s.current,Ur(8===e.nodeType?e.parentNode:e),cu((function(){qu(t,s,n,r)})),s}(n,t,e,a,r);return Hu(i)}Qu.prototype.render=Ku.prototype.render=function(e){var t=this._internalRoot;if(null===t)throw Error(o(409));qu(e,t,null,null)},Qu.prototype.unmount=Ku.prototype.unmount=function(){var e=this._internalRoot;if(null!==e){this._internalRoot=null;var t=e.containerInfo;cu((function(){qu(null,e,null,null)})),t[ma]=null}},Qu.prototype.unstable_scheduleHydration=function(e){if(e){var t=Et();e={blockedOn:null,target:e,priority:t};for(var n=0;n<Pt.length&&0!==t&&t<Pt[n].priority;n++);Pt.splice(n,0,e),0===n&&Mt(e)}},kt=function(e){switch(e.tag){case 3:var t=e.stateNode;if(t.current.memoizedState.isDehydrated){var n=dt(t.pendingLanes);0!==n&&(bt(t,1|n),ru(t,Ze()),!(6&_s)&&(Us=Ze()+500,Ua()))}break;case 13:cu((function(){var t=Do(e,1);if(null!==t){var n=eu();nu(t,e,1,n)}})),Vu(e,1)}},xt=function(e){if(13===e.tag){var t=Do(e,134217728);if(null!==t)nu(t,e,134217728,eu());Vu(e,134217728)}},St=function(e){if(13===e.tag){var t=tu(e),n=Do(e,t);if(null!==n)nu(n,e,t,eu());Vu(e,t)}},Et=function(){return vt},Ct=function(e,t){var n=vt;try{return vt=e,t()}finally{vt=n}},xe=function(e,t,n){switch(t){case"input":if(X(e,n),t=n.name,"radio"===n.type&&null!=t){for(n=e;n.parentNode;)n=n.parentNode;for(n=n.querySelectorAll("input[name="+JSON.stringify(""+t)+'][type="radio"]'),t=0;t<n.length;t++){var r=n[t];if(r!==e&&r.form===e.form){var a=ka(r);if(!a)throw Error(o(90));W(r),X(r,a)}}}break;case"textarea":oe(e,n);break;case"select":null!=(t=n.value)&&ne(e,!!n.multiple,t,!1)}},_e=uu,je=cu;var ec={usingClientEntryPoint:!1,Events:[va,wa,ka,Te,Ae,uu]},tc={findFiberByHostInstance:ba,bundleType:0,version:"18.3.1",rendererPackageName:"react-dom"},nc={bundleType:tc.bundleType,version:tc.version,rendererPackageName:tc.rendererPackageName,rendererConfig:tc.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:w.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return null===(e=Ge(e))?null:e.stateNode},findFiberByHostInstance:tc.findFiberByHostInstance||function(){return null},findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null,reconcilerVersion:"18.3.1-next-f1338f8080-20240426"};if("undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__){var rc=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!rc.isDisabled&&rc.supportsFiber)try{at=rc.inject(nc),ot=rc}catch(ce){}}t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=ec,t.createPortal=function(e,t){var n=2<arguments.length&&void 0!==arguments[2]?arguments[2]:null;if(!Yu(t))throw Error(o(200));return function(e,t,n){var r=3<arguments.length&&void 0!==arguments[3]?arguments[3]:null;return{$$typeof:x,key:null==r?null:""+r,children:e,containerInfo:t,implementation:n}}(e,t,null,n)},t.createRoot=function(e,t){if(!Yu(e))throw Error(o(299));var n=!1,r="",a=Wu;return null!=t&&(!0===t.unstable_strictMode&&(n=!0),void 0!==t.identifierPrefix&&(r=t.identifierPrefix),void 0!==t.onRecoverableError&&(a=t.onRecoverableError)),t=Bu(e,1,!1,null,0,n,0,r,a),e[ma]=t.current,Ur(8===e.nodeType?e.parentNode:e),new Ku(t)},t.findDOMNode=function(e){if(null==e)return null;if(1===e.nodeType)return e;var t=e._reactInternals;if(void 0===t){if("function"==typeof e.render)throw Error(o(188));throw e=Object.keys(e).join(","),Error(o(268,e))}return e=null===(e=Ge(t))?null:e.stateNode},t.flushSync=function(e){return cu(e)},t.hydrate=function(e,t,n){if(!Zu(t))throw Error(o(200));return Ju(null,e,t,!0,n)},t.hydrateRoot=function(e,t,n){if(!Yu(e))throw Error(o(405));var r=null!=n&&n.hydratedSources||null,a=!1,i="",l=Wu;if(null!=n&&(!0===n.unstable_strictMode&&(a=!0),void 0!==n.identifierPrefix&&(i=n.identifierPrefix),void 0!==n.onRecoverableError&&(l=n.onRecoverableError)),t=Uu(t,null,e,1,null!=n?n:null,a,0,i,l),e[ma]=t.current,Ur(e),r)for(e=0;e<r.length;e++)a=(a=(n=r[e])._getVersion)(n._source),null==t.mutableSourceEagerHydrationData?t.mutableSourceEagerHydrationData=[n,a]:t.mutableSourceEagerHydrationData.push(n,a);return new Qu(t)},t.render=function(e,t,n){if(!Zu(t))throw Error(o(200));return Ju(null,e,t,!1,n)},t.unmountComponentAtNode=function(e){if(!Zu(e))throw Error(o(40));return!!e._reactRootContainer&&(cu((function(){Ju(null,null,e,!1,(function(){e._reactRootContainer=null,e[ma]=null}))})),!0)},t.unstable_batchedUpdates=uu,t.unstable_renderSubtreeIntoContainer=function(e,t,n,r){if(!Zu(n))throw Error(o(200));if(null==e||void 0===e._reactInternals)throw Error(o(38));return Ju(e,t,n,!1,r)},t.version="18.3.1-next-f1338f8080-20240426"},5338:(e,t,n)=>{"use strict";var r=n(961);t.createRoot=r.createRoot,t.hydrateRoot=r.hydrateRoot},961:(e,t,n)=>{"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(t){console.error(t)}}(),e.exports=n(2551)},115:e=>{var t="undefined"!=typeof Element,n="function"==typeof Map,r="function"==typeof Set,a="function"==typeof ArrayBuffer&&!!ArrayBuffer.isView;function o(e,i){if(e===i)return!0;if(e&&i&&"object"==typeof e&&"object"==typeof i){if(e.constructor!==i.constructor)return!1;var l,s,u,c;if(Array.isArray(e)){if((l=e.length)!=i.length)return!1;for(s=l;0!=s--;)if(!o(e[s],i[s]))return!1;return!0}if(n&&e instanceof Map&&i instanceof Map){if(e.size!==i.size)return!1;for(c=e.entries();!(s=c.next()).done;)if(!i.has(s.value[0]))return!1;for(c=e.entries();!(s=c.next()).done;)if(!o(s.value[1],i.get(s.value[0])))return!1;return!0}if(r&&e instanceof Set&&i instanceof Set){if(e.size!==i.size)return!1;for(c=e.entries();!(s=c.next()).done;)if(!i.has(s.value[0]))return!1;return!0}if(a&&ArrayBuffer.isView(e)&&ArrayBuffer.isView(i)){if((l=e.length)!=i.length)return!1;for(s=l;0!=s--;)if(e[s]!==i[s])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((l=(u=Object.keys(e)).length)!==Object.keys(i).length)return!1;for(s=l;0!=s--;)if(!Object.prototype.hasOwnProperty.call(i,u[s]))return!1;if(t&&e instanceof Element)return!1;for(s=l;0!=s--;)if(("_owner"!==u[s]&&"__v"!==u[s]&&"__o"!==u[s]||!e.$$typeof)&&!o(e[u[s]],i[u[s]]))return!1;return!0}return e!=e&&i!=i}e.exports=function(e,t){try{return o(e,t)}catch(n){if((n.message||"").match(/stack|recursion/i))return console.warn("react-fast-compare cannot handle circular refs"),!1;throw n}}},545:(e,t,n)=>{"use strict";n.d(t,{mg:()=>J,vd:()=>G});var r=n(6540),a=n(5556),o=n.n(a),i=n(115),l=n.n(i),s=n(311),u=n.n(s),c=n(2833),d=n.n(c);function p(){return p=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},p.apply(this,arguments)}function f(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,m(e,t)}function m(e,t){return m=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},m(e,t)}function h(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)t.indexOf(n=o[r])>=0||(a[n]=e[n]);return a}var g={BASE:"base",BODY:"body",HEAD:"head",HTML:"html",LINK:"link",META:"meta",NOSCRIPT:"noscript",SCRIPT:"script",STYLE:"style",TITLE:"title",FRAGMENT:"Symbol(react.fragment)"},y={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"]},w=Object.keys(g).map((function(e){return g[e]})),k={accesskey:"accessKey",charset:"charSet",class:"className",contenteditable:"contentEditable",contextmenu:"contextMenu","http-equiv":"httpEquiv",itemprop:"itemProp",tabindex:"tabIndex"},x=Object.keys(k).reduce((function(e,t){return e[k[t]]=t,e}),{}),S=function(e,t){for(var n=e.length-1;n>=0;n-=1){var r=e[n];if(Object.prototype.hasOwnProperty.call(r,t))return r[t]}return null},E=function(e){var t=S(e,g.TITLE),n=S(e,"titleTemplate");if(Array.isArray(t)&&(t=t.join("")),n&&t)return n.replace(/%s/g,(function(){return t}));var r=S(e,"defaultTitle");return t||r||void 0},C=function(e){return S(e,"onChangeClientState")||function(){}},T=function(e,t){return t.filter((function(t){return void 0!==t[e]})).map((function(t){return t[e]})).reduce((function(e,t){return p({},e,t)}),{})},A=function(e,t){return t.filter((function(e){return void 0!==e[g.BASE]})).map((function(e){return e[g.BASE]})).reverse().reduce((function(t,n){if(!t.length)for(var r=Object.keys(n),a=0;a<r.length;a+=1){var o=r[a].toLowerCase();if(-1!==e.indexOf(o)&&n[o])return t.concat(n)}return t}),[])},_=function(e,t,n){var r={};return n.filter((function(t){return!!Array.isArray(t[e])||(void 0!==t[e]&&console&&"function"==typeof console.warn&&console.warn("Helmet: "+e+' should be of type "Array". Instead found type "'+typeof t[e]+'"'),!1)})).map((function(t){return t[e]})).reverse().reduce((function(e,n){var a={};n.filter((function(e){for(var n,o=Object.keys(e),i=0;i<o.length;i+=1){var l=o[i],s=l.toLowerCase();-1===t.indexOf(s)||"rel"===n&&"canonical"===e[n].toLowerCase()||"rel"===s&&"stylesheet"===e[s].toLowerCase()||(n=s),-1===t.indexOf(l)||"innerHTML"!==l&&"cssText"!==l&&"itemprop"!==l||(n=l)}if(!n||!e[n])return!1;var u=e[n].toLowerCase();return r[n]||(r[n]={}),a[n]||(a[n]={}),!r[n][u]&&(a[n][u]=!0,!0)})).reverse().forEach((function(t){return e.push(t)}));for(var o=Object.keys(a),i=0;i<o.length;i+=1){var l=o[i],s=p({},r[l],a[l]);r[l]=s}return e}),[]).reverse()},j=function(e,t){if(Array.isArray(e)&&e.length)for(var n=0;n<e.length;n+=1)if(e[n][t])return!0;return!1},R=function(e){return Array.isArray(e)?e.join(""):e},L=function(e,t){return Array.isArray(e)?e.reduce((function(e,n){return function(e,t){for(var n=Object.keys(e),r=0;r<n.length;r+=1)if(t[n[r]]&&t[n[r]].includes(e[n[r]]))return!0;return!1}(n,t)?e.priority.push(n):e.default.push(n),e}),{priority:[],default:[]}):{default:e}},N=function(e,t){var n;return p({},e,((n={})[t]=void 0,n))},P=[g.NOSCRIPT,g.SCRIPT,g.STYLE],O=function(e,t){return void 0===t&&(t=!0),!1===t?String(e):String(e).replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/"/g,""").replace(/'/g,"'")},D=function(e){return Object.keys(e).reduce((function(t,n){var r=void 0!==e[n]?n+'="'+e[n]+'"':""+n;return t?t+" "+r:r}),"")},I=function(e,t){return void 0===t&&(t={}),Object.keys(e).reduce((function(t,n){return t[k[n]||n]=e[n],t}),t)},M=function(e,t){return t.map((function(t,n){var a,o=((a={key:n})["data-rh"]=!0,a);return Object.keys(t).forEach((function(e){var n=k[e]||e;"innerHTML"===n||"cssText"===n?o.dangerouslySetInnerHTML={__html:t.innerHTML||t.cssText}:o[n]=t[e]})),r.createElement(e,o)}))},F=function(e,t,n){switch(e){case g.TITLE:return{toComponent:function(){return n=t.titleAttributes,(a={key:e=t.title})["data-rh"]=!0,o=I(n,a),[r.createElement(g.TITLE,o,e)];var e,n,a,o},toString:function(){return function(e,t,n,r){var a=D(n),o=R(t);return a?"<"+e+' data-rh="true" '+a+">"+O(o,r)+"</"+e+">":"<"+e+' data-rh="true">'+O(o,r)+"</"+e+">"}(e,t.title,t.titleAttributes,n)}};case"bodyAttributes":case"htmlAttributes":return{toComponent:function(){return I(t)},toString:function(){return D(t)}};default:return{toComponent:function(){return M(e,t)},toString:function(){return function(e,t,n){return t.reduce((function(t,r){var a=Object.keys(r).filter((function(e){return!("innerHTML"===e||"cssText"===e)})).reduce((function(e,t){var a=void 0===r[t]?t:t+'="'+O(r[t],n)+'"';return e?e+" "+a:a}),""),o=r.innerHTML||r.cssText||"",i=-1===P.indexOf(e);return t+"<"+e+' data-rh="true" '+a+(i?"/>":">"+o+"</"+e+">")}),"")}(e,t,n)}}}},z=function(e){var t=e.baseTag,n=e.bodyAttributes,r=e.encode,a=e.htmlAttributes,o=e.noscriptTags,i=e.styleTags,l=e.title,s=void 0===l?"":l,u=e.titleAttributes,c=e.linkTags,d=e.metaTags,p=e.scriptTags,f={toComponent:function(){},toString:function(){return""}};if(e.prioritizeSeoTags){var m=function(e){var t=e.linkTags,n=e.scriptTags,r=e.encode,a=L(e.metaTags,v),o=L(t,y),i=L(n,b);return{priorityMethods:{toComponent:function(){return[].concat(M(g.META,a.priority),M(g.LINK,o.priority),M(g.SCRIPT,i.priority))},toString:function(){return F(g.META,a.priority,r)+" "+F(g.LINK,o.priority,r)+" "+F(g.SCRIPT,i.priority,r)}},metaTags:a.default,linkTags:o.default,scriptTags:i.default}}(e);f=m.priorityMethods,c=m.linkTags,d=m.metaTags,p=m.scriptTags}return{priority:f,base:F(g.BASE,t,r),bodyAttributes:F("bodyAttributes",n,r),htmlAttributes:F("htmlAttributes",a,r),link:F(g.LINK,c,r),meta:F(g.META,d,r),noscript:F(g.NOSCRIPT,o,r),script:F(g.SCRIPT,p,r),style:F(g.STYLE,i,r),title:F(g.TITLE,{title:s,titleAttributes:u},r)}},B=[],$=function(e,t){var n=this;void 0===t&&(t="undefined"!=typeof document),this.instances=[],this.value={setHelmet:function(e){n.context.helmet=e},helmetInstances:{get:function(){return n.canUseDOM?B:n.instances},add:function(e){(n.canUseDOM?B:n.instances).push(e)},remove:function(e){var t=(n.canUseDOM?B:n.instances).indexOf(e);(n.canUseDOM?B:n.instances).splice(t,1)}}},this.context=e,this.canUseDOM=t,t||(e.helmet=z({baseTag:[],bodyAttributes:{},encodeSpecialCharacters:!0,htmlAttributes:{},linkTags:[],metaTags:[],noscriptTags:[],scriptTags:[],styleTags:[],title:"",titleAttributes:{}}))},U=r.createContext({}),q=o().shape({setHelmet:o().func,helmetInstances:o().shape({get:o().func,add:o().func,remove:o().func})}),H="undefined"!=typeof document,G=function(e){function t(n){var r;return(r=e.call(this,n)||this).helmetData=new $(r.props.context,t.canUseDOM),r}return f(t,e),t.prototype.render=function(){return r.createElement(U.Provider,{value:this.helmetData.value},this.props.children)},t}(r.Component);G.canUseDOM=H,G.propTypes={context:o().shape({helmet:o().shape()}),children:o().node.isRequired},G.defaultProps={context:{}},G.displayName="HelmetProvider";var V=function(e,t){var n,r=document.head||document.querySelector(g.HEAD),a=r.querySelectorAll(e+"[data-rh]"),o=[].slice.call(a),i=[];return t&&t.length&&t.forEach((function(t){var r=document.createElement(e);for(var a in t)Object.prototype.hasOwnProperty.call(t,a)&&("innerHTML"===a?r.innerHTML=t.innerHTML:"cssText"===a?r.styleSheet?r.styleSheet.cssText=t.cssText:r.appendChild(document.createTextNode(t.cssText)):r.setAttribute(a,void 0===t[a]?"":t[a]));r.setAttribute("data-rh","true"),o.some((function(e,t){return n=t,r.isEqualNode(e)}))?o.splice(n,1):i.push(r)})),o.forEach((function(e){return e.parentNode.removeChild(e)})),i.forEach((function(e){return r.appendChild(e)})),{oldTags:o,newTags:i}},W=function(e,t){var n=document.getElementsByTagName(e)[0];if(n){for(var r=n.getAttribute("data-rh"),a=r?r.split(","):[],o=[].concat(a),i=Object.keys(t),l=0;l<i.length;l+=1){var s=i[l],u=t[s]||"";n.getAttribute(s)!==u&&n.setAttribute(s,u),-1===a.indexOf(s)&&a.push(s);var c=o.indexOf(s);-1!==c&&o.splice(c,1)}for(var d=o.length-1;d>=0;d-=1)n.removeAttribute(o[d]);a.length===o.length?n.removeAttribute("data-rh"):n.getAttribute("data-rh")!==i.join(",")&&n.setAttribute("data-rh",i.join(","))}},K=function(e,t){var n=e.baseTag,r=e.htmlAttributes,a=e.linkTags,o=e.metaTags,i=e.noscriptTags,l=e.onChangeClientState,s=e.scriptTags,u=e.styleTags,c=e.title,d=e.titleAttributes;W(g.BODY,e.bodyAttributes),W(g.HTML,r),function(e,t){void 0!==e&&document.title!==e&&(document.title=R(e)),W(g.TITLE,t)}(c,d);var p={baseTag:V(g.BASE,n),linkTags:V(g.LINK,a),metaTags:V(g.META,o),noscriptTags:V(g.NOSCRIPT,i),scriptTags:V(g.SCRIPT,s),styleTags:V(g.STYLE,u)},f={},m={};Object.keys(p).forEach((function(e){var t=p[e],n=t.newTags,r=t.oldTags;n.length&&(f[e]=n),r.length&&(m[e]=p[e].oldTags)})),t&&t(),l(e,f,m)},Q=null,Y=function(e){function t(){for(var t,n=arguments.length,r=new Array(n),a=0;a<n;a++)r[a]=arguments[a];return(t=e.call.apply(e,[this].concat(r))||this).rendered=!1,t}f(t,e);var n=t.prototype;return n.shouldComponentUpdate=function(e){return!d()(e,this.props)},n.componentDidUpdate=function(){this.emitChange()},n.componentWillUnmount=function(){this.props.context.helmetInstances.remove(this),this.emitChange()},n.emitChange=function(){var e,t,n=this.props.context,r=n.setHelmet,a=null,o=(e=n.helmetInstances.get().map((function(e){var t=p({},e.props);return delete t.context,t})),{baseTag:A(["href"],e),bodyAttributes:T("bodyAttributes",e),defer:S(e,"defer"),encode:S(e,"encodeSpecialCharacters"),htmlAttributes:T("htmlAttributes",e),linkTags:_(g.LINK,["rel","href"],e),metaTags:_(g.META,["name","charset","http-equiv","property","itemprop"],e),noscriptTags:_(g.NOSCRIPT,["innerHTML"],e),onChangeClientState:C(e),scriptTags:_(g.SCRIPT,["src","innerHTML"],e),styleTags:_(g.STYLE,["cssText"],e),title:E(e),titleAttributes:T("titleAttributes",e),prioritizeSeoTags:j(e,"prioritizeSeoTags")});G.canUseDOM?(t=o,Q&&cancelAnimationFrame(Q),t.defer?Q=requestAnimationFrame((function(){K(t,(function(){Q=null}))})):(K(t),Q=null)):z&&(a=z(o)),r(a)},n.init=function(){this.rendered||(this.rendered=!0,this.props.context.helmetInstances.add(this),this.emitChange())},n.render=function(){return this.init(),null},t}(r.Component);Y.propTypes={context:q.isRequired},Y.displayName="HelmetDispatcher";var Z=["children"],X=["children"],J=function(e){function t(){return e.apply(this,arguments)||this}f(t,e);var n=t.prototype;return n.shouldComponentUpdate=function(e){return!l()(N(this.props,"helmetData"),N(e,"helmetData"))},n.mapNestedChildrenToProps=function(e,t){if(!t)return null;switch(e.type){case g.SCRIPT:case g.NOSCRIPT:return{innerHTML:t};case g.STYLE:return{cssText:t};default:throw new Error("<"+e.type+" /> elements are self-closing and can not contain children. Refer to our API for more information.")}},n.flattenArrayTypeChildren=function(e){var t,n=e.child,r=e.arrayTypeChildren;return p({},r,((t={})[n.type]=[].concat(r[n.type]||[],[p({},e.newChildProps,this.mapNestedChildrenToProps(n,e.nestedChildren))]),t))},n.mapObjectTypeChildren=function(e){var t,n,r=e.child,a=e.newProps,o=e.newChildProps,i=e.nestedChildren;switch(r.type){case g.TITLE:return p({},a,((t={})[r.type]=i,t.titleAttributes=p({},o),t));case g.BODY:return p({},a,{bodyAttributes:p({},o)});case g.HTML:return p({},a,{htmlAttributes:p({},o)});default:return p({},a,((n={})[r.type]=p({},o),n))}},n.mapArrayTypeChildrenToProps=function(e,t){var n=p({},t);return Object.keys(e).forEach((function(t){var r;n=p({},n,((r={})[t]=e[t],r))})),n},n.warnOnInvalidChildren=function(e,t){return u()(w.some((function(t){return e.type===t})),"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 "+w.join(", ")+" are allowed. Helmet does not support rendering <"+e.type+"> elements. Refer to our API for more information."),u()(!t||"string"==typeof t||Array.isArray(t)&&!t.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},n.mapChildrenToProps=function(e,t){var n=this,a={};return r.Children.forEach(e,(function(e){if(e&&e.props){var r=e.props,o=r.children,i=h(r,Z),l=Object.keys(i).reduce((function(e,t){return e[x[t]||t]=i[t],e}),{}),s=e.type;switch("symbol"==typeof s?s=s.toString():n.warnOnInvalidChildren(e,o),s){case g.FRAGMENT:t=n.mapChildrenToProps(o,t);break;case g.LINK:case g.META:case g.NOSCRIPT:case g.SCRIPT:case g.STYLE:a=n.flattenArrayTypeChildren({child:e,arrayTypeChildren:a,newChildProps:l,nestedChildren:o});break;default:t=n.mapObjectTypeChildren({child:e,newProps:t,newChildProps:l,nestedChildren:o})}}})),this.mapArrayTypeChildrenToProps(a,t)},n.render=function(){var e=this.props,t=e.children,n=h(e,X),a=p({},n),o=n.helmetData;return t&&(a=this.mapChildrenToProps(t,a)),!o||o instanceof $||(o=new $(o.context,o.instances)),o?r.createElement(Y,p({},a,{context:o.value,helmetData:void 0})):r.createElement(U.Consumer,null,(function(e){return r.createElement(Y,p({},a,{context:e}))}))},t}(r.Component);J.propTypes={base:o().object,bodyAttributes:o().object,children:o().oneOfType([o().arrayOf(o().node),o().node]),defaultTitle:o().string,defer:o().bool,encodeSpecialCharacters:o().bool,htmlAttributes:o().object,link:o().arrayOf(o().object),meta:o().arrayOf(o().object),noscript:o().arrayOf(o().object),onChangeClientState:o().func,script:o().arrayOf(o().object),style:o().arrayOf(o().object),title:o().string,titleAttributes:o().object,titleTemplate:o().string,prioritizeSeoTags:o().bool,helmetData:o().object},J.defaultProps={defer:!0,encodeSpecialCharacters:!0,prioritizeSeoTags:!1},J.displayName="Helmet"},2799:(e,t)=>{"use strict";var n="function"==typeof Symbol&&Symbol.for,r=n?Symbol.for("react.element"):60103,a=n?Symbol.for("react.portal"):60106,o=n?Symbol.for("react.fragment"):60107,i=n?Symbol.for("react.strict_mode"):60108,l=n?Symbol.for("react.profiler"):60114,s=n?Symbol.for("react.provider"):60109,u=n?Symbol.for("react.context"):60110,c=n?Symbol.for("react.async_mode"):60111,d=n?Symbol.for("react.concurrent_mode"):60111,p=n?Symbol.for("react.forward_ref"):60112,f=n?Symbol.for("react.suspense"):60113,m=n?Symbol.for("react.suspense_list"):60120,h=n?Symbol.for("react.memo"):60115,g=n?Symbol.for("react.lazy"):60116,y=n?Symbol.for("react.block"):60121,b=n?Symbol.for("react.fundamental"):60117,v=n?Symbol.for("react.responder"):60118,w=n?Symbol.for("react.scope"):60119;function k(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case r:switch(e=e.type){case c:case d:case o:case l:case i:case f:return e;default:switch(e=e&&e.$$typeof){case u:case p:case g:case h:case s:return e;default:return t}}case a:return t}}}function x(e){return k(e)===d}t.AsyncMode=c,t.ConcurrentMode=d,t.ContextConsumer=u,t.ContextProvider=s,t.Element=r,t.ForwardRef=p,t.Fragment=o,t.Lazy=g,t.Memo=h,t.Portal=a,t.Profiler=l,t.StrictMode=i,t.Suspense=f,t.isAsyncMode=function(e){return x(e)||k(e)===c},t.isConcurrentMode=x,t.isContextConsumer=function(e){return k(e)===u},t.isContextProvider=function(e){return k(e)===s},t.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===r},t.isForwardRef=function(e){return k(e)===p},t.isFragment=function(e){return k(e)===o},t.isLazy=function(e){return k(e)===g},t.isMemo=function(e){return k(e)===h},t.isPortal=function(e){return k(e)===a},t.isProfiler=function(e){return k(e)===l},t.isStrictMode=function(e){return k(e)===i},t.isSuspense=function(e){return k(e)===f},t.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===o||e===d||e===l||e===i||e===f||e===m||"object"==typeof e&&null!==e&&(e.$$typeof===g||e.$$typeof===h||e.$$typeof===s||e.$$typeof===u||e.$$typeof===p||e.$$typeof===b||e.$$typeof===v||e.$$typeof===w||e.$$typeof===y)},t.typeOf=k},4363:(e,t,n)=>{"use strict";e.exports=n(2799)},3259:(e,t,n)=>{"use strict";function r(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}function a(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function o(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function i(){return i=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},i.apply(this,arguments)}var l=n(6540),s=[],u=[];var c=l.createContext(null);function d(e){var t=e(),n={loading:!0,loaded:null,error:null};return n.promise=t.then((function(e){return n.loading=!1,n.loaded=e,e})).catch((function(e){throw n.loading=!1,n.error=e,e})),n}function p(e){var t={loading:!1,loaded:{},error:null},n=[];try{Object.keys(e).forEach((function(r){var a=d(e[r]);a.loading?t.loading=!0:(t.loaded[r]=a.loaded,t.error=a.error),n.push(a.promise),a.promise.then((function(e){t.loaded[r]=e})).catch((function(e){t.error=e}))}))}catch(r){t.error=r}return t.promise=Promise.all(n).then((function(e){return t.loading=!1,e})).catch((function(e){throw t.loading=!1,e})),t}function f(e,t){return l.createElement((n=e)&&n.__esModule?n.default:n,t);var n}function m(e,t){var d,p;if(!t.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},t),h=null;function g(){return h||(h=e(m.loader)),h.promise}return s.push(g),"function"==typeof m.webpack&&u.push((function(){if((0,m.webpack)().every((function(e){return void 0!==e&&void 0!==n.m[e]})))return g()})),p=d=function(t){function n(n){var r;return o(a(a(r=t.call(this,n)||this)),"retry",(function(){r.setState({error:null,loading:!0,timedOut:!1}),h=e(m.loader),r._loadModule()})),g(),r.state={error:h.error,pastDelay:!1,timedOut:!1,loading:h.loading,loaded:h.loaded},r}r(n,t),n.preload=function(){return g()};var i=n.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(t){e.context.report(t)})),h.loading){var t=function(t){e._mounted&&e.setState(t)};"number"==typeof m.delay&&(0===m.delay?this.setState({pastDelay:!0}):this._delay=setTimeout((function(){t({pastDelay:!0})}),m.delay)),"number"==typeof m.timeout&&(this._timeout=setTimeout((function(){t({timedOut:!0})}),m.timeout));var n=function(){t({error:h.error,loaded:h.loaded,loading:h.loading}),e._clearTimeouts()};h.promise.then((function(){return n(),null})).catch((function(e){return n(),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?l.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},n}(l.Component),o(d,"contextType",c),p}function h(e){return m(d,e)}h.Map=function(e){if("function"!=typeof e.render)throw new Error("LoadableMap requires a `render(loaded, props)` function");return m(p,e)};var g=function(e){function t(){return e.apply(this,arguments)||this}return r(t,e),t.prototype.render=function(){return l.createElement(c.Provider,{value:{report:this.props.report}},l.Children.only(this.props.children))},t}(l.Component);function y(e){for(var t=[];e.length;){var n=e.pop();t.push(n())}return Promise.all(t).then((function(){if(e.length)return y(e)}))}h.Capture=g,h.preloadAll=function(){return new Promise((function(e,t){y(s).then(e,t)}))},h.preloadReady=function(){return new Promise((function(e,t){y(u).then(e,e)}))},e.exports=h},2831:(e,t,n)=>{"use strict";n.d(t,{u:()=>i,v:()=>l});var r=n(6347),a=n(8168),o=n(6540);function i(e,t,n){return void 0===n&&(n=[]),e.some((function(e){var a=e.path?(0,r.B6)(t,e):n.length?n[n.length-1].match:r.Ix.computeRootMatch(t);return a&&(n.push({route:e,match:a}),e.routes&&i(e.routes,t,n)),a})),n}function l(e,t,n){return void 0===t&&(t={}),void 0===n&&(n={}),e?o.createElement(r.dO,n,e.map((function(e,n){return o.createElement(r.qh,{key:e.key||n,path:e.path,exact:e.exact,strict:e.strict,render:function(n){return e.render?e.render((0,a.A)({},n,{},t,{route:e})):o.createElement(e.component,(0,a.A)({},n,t,{route:e}))}})}))):null}},4625:(e,t,n)=>{"use strict";n.d(t,{I9:()=>d,Kd:()=>c,N_:()=>y,k2:()=>w});var r=n(6347),a=n(2892),o=n(6540),i=n(1513),l=n(8168),s=n(8587),u=n(1561),c=function(e){function t(){for(var t,n=arguments.length,r=new Array(n),a=0;a<n;a++)r[a]=arguments[a];return(t=e.call.apply(e,[this].concat(r))||this).history=(0,i.zR)(t.props),t}return(0,a.A)(t,e),t.prototype.render=function(){return o.createElement(r.Ix,{history:this.history,children:this.props.children})},t}(o.Component);var d=function(e){function t(){for(var t,n=arguments.length,r=new Array(n),a=0;a<n;a++)r[a]=arguments[a];return(t=e.call.apply(e,[this].concat(r))||this).history=(0,i.TM)(t.props),t}return(0,a.A)(t,e),t.prototype.render=function(){return o.createElement(r.Ix,{history:this.history,children:this.props.children})},t}(o.Component);var p=function(e,t){return"function"==typeof e?e(t):e},f=function(e,t){return"string"==typeof e?(0,i.yJ)(e,null,null,t):e},m=function(e){return e},h=o.forwardRef;void 0===h&&(h=m);var g=h((function(e,t){var n=e.innerRef,r=e.navigate,a=e.onClick,i=(0,s.A)(e,["innerRef","navigate","onClick"]),u=i.target,c=(0,l.A)({},i,{onClick:function(e){try{a&&a(e)}catch(t){throw e.preventDefault(),t}e.defaultPrevented||0!==e.button||u&&"_self"!==u||function(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}(e)||(e.preventDefault(),r())}});return c.ref=m!==h&&t||n,o.createElement("a",c)}));var y=h((function(e,t){var n=e.component,a=void 0===n?g:n,c=e.replace,d=e.to,y=e.innerRef,b=(0,s.A)(e,["component","replace","to","innerRef"]);return o.createElement(r.XZ.Consumer,null,(function(e){e||(0,u.A)(!1);var n=e.history,r=f(p(d,e.location),e.location),s=r?n.createHref(r):"",g=(0,l.A)({},b,{href:s,navigate:function(){var t=p(d,e.location),r=(0,i.AO)(e.location)===(0,i.AO)(f(t));(c||r?n.replace:n.push)(t)}});return m!==h?g.ref=t||y:g.innerRef=y,o.createElement(a,g)}))})),b=function(e){return e},v=o.forwardRef;void 0===v&&(v=b);var w=v((function(e,t){var n=e["aria-current"],a=void 0===n?"page":n,i=e.activeClassName,c=void 0===i?"active":i,d=e.activeStyle,m=e.className,h=e.exact,g=e.isActive,w=e.location,k=e.sensitive,x=e.strict,S=e.style,E=e.to,C=e.innerRef,T=(0,s.A)(e,["aria-current","activeClassName","activeStyle","className","exact","isActive","location","sensitive","strict","style","to","innerRef"]);return o.createElement(r.XZ.Consumer,null,(function(e){e||(0,u.A)(!1);var n=w||e.location,i=f(p(E,n),n),s=i.pathname,A=s&&s.replace(/([.+*?=^!:${}()[\]|/\\])/g,"\\$1"),_=A?(0,r.B6)(n.pathname,{path:A,exact:h,sensitive:k,strict:x}):null,j=!!(g?g(_,n):_),R="function"==typeof m?m(j):m,L="function"==typeof S?S(j):S;j&&(R=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return t.filter((function(e){return e})).join(" ")}(R,c),L=(0,l.A)({},L,d));var N=(0,l.A)({"aria-current":j&&a||null,className:R,style:L,to:i},T);return b!==v?N.ref=t||C:N.innerRef=C,o.createElement(y,N)}))}))},6347:(e,t,n)=>{"use strict";n.d(t,{B6:()=>S,Ix:()=>v,W6:()=>N,XZ:()=>b,dO:()=>R,qh:()=>E,zy:()=>P});var r=n(2892),a=n(6540),o=n(5556),i=n.n(o),l=n(1513),s=n(1561),u=n(8168),c=n(8505),d=n.n(c),p=(n(4363),n(8587)),f=(n(4146),1073741823),m="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:void 0!==n.g?n.g:{};var h=a.createContext||function(e,t){var n,o,l="__create-react-context-"+function(){var e="__global_unique_id__";return m[e]=(m[e]||0)+1}()+"__",s=function(e){function n(){for(var t,n,r,a=arguments.length,o=new Array(a),i=0;i<a;i++)o[i]=arguments[i];return(t=e.call.apply(e,[this].concat(o))||this).emitter=(n=t.props.value,r=[],{on:function(e){r.push(e)},off:function(e){r=r.filter((function(t){return t!==e}))},get:function(){return n},set:function(e,t){n=e,r.forEach((function(e){return e(n,t)}))}}),t}(0,r.A)(n,e);var a=n.prototype;return a.getChildContext=function(){var e;return(e={})[l]=this.emitter,e},a.componentWillReceiveProps=function(e){if(this.props.value!==e.value){var n,r=this.props.value,a=e.value;((o=r)===(i=a)?0!==o||1/o==1/i:o!=o&&i!=i)?n=0:(n="function"==typeof t?t(r,a):f,0!==(n|=0)&&this.emitter.set(e.value,n))}var o,i},a.render=function(){return this.props.children},n}(a.Component);s.childContextTypes=((n={})[l]=i().object.isRequired,n);var u=function(t){function n(){for(var e,n=arguments.length,r=new Array(n),a=0;a<n;a++)r[a]=arguments[a];return(e=t.call.apply(t,[this].concat(r))||this).observedBits=void 0,e.state={value:e.getValue()},e.onUpdate=function(t,n){(0|e.observedBits)&n&&e.setState({value:e.getValue()})},e}(0,r.A)(n,t);var a=n.prototype;return a.componentWillReceiveProps=function(e){var t=e.observedBits;this.observedBits=null==t?f:t},a.componentDidMount=function(){this.context[l]&&this.context[l].on(this.onUpdate);var e=this.props.observedBits;this.observedBits=null==e?f:e},a.componentWillUnmount=function(){this.context[l]&&this.context[l].off(this.onUpdate)},a.getValue=function(){return this.context[l]?this.context[l].get():e},a.render=function(){return(e=this.props.children,Array.isArray(e)?e[0]:e)(this.state.value);var e},n}(a.Component);return u.contextTypes=((o={})[l]=i().object,o),{Provider:s,Consumer:u}},g=function(e){var t=h();return t.displayName=e,t},y=g("Router-History"),b=g("Router"),v=function(e){function t(t){var n;return(n=e.call(this,t)||this).state={location:t.history.location},n._isMounted=!1,n._pendingLocation=null,t.staticContext||(n.unlisten=t.history.listen((function(e){n._pendingLocation=e}))),n}(0,r.A)(t,e),t.computeRootMatch=function(e){return{path:"/",url:"/",params:{},isExact:"/"===e}};var n=t.prototype;return n.componentDidMount=function(){var e=this;this._isMounted=!0,this.unlisten&&this.unlisten(),this.props.staticContext||(this.unlisten=this.props.history.listen((function(t){e._isMounted&&e.setState({location:t})}))),this._pendingLocation&&this.setState({location:this._pendingLocation})},n.componentWillUnmount=function(){this.unlisten&&(this.unlisten(),this._isMounted=!1,this._pendingLocation=null)},n.render=function(){return a.createElement(b.Provider,{value:{history:this.props.history,location:this.state.location,match:t.computeRootMatch(this.state.location.pathname),staticContext:this.props.staticContext}},a.createElement(y.Provider,{children:this.props.children||null,value:this.props.history}))},t}(a.Component);a.Component;a.Component;var w={},k=1e4,x=0;function S(e,t){void 0===t&&(t={}),("string"==typeof t||Array.isArray(t))&&(t={path:t});var n=t,r=n.path,a=n.exact,o=void 0!==a&&a,i=n.strict,l=void 0!==i&&i,s=n.sensitive,u=void 0!==s&&s;return[].concat(r).reduce((function(t,n){if(!n&&""!==n)return null;if(t)return t;var r=function(e,t){var n=""+t.end+t.strict+t.sensitive,r=w[n]||(w[n]={});if(r[e])return r[e];var a=[],o={regexp:d()(e,a,t),keys:a};return x<k&&(r[e]=o,x++),o}(n,{end:o,strict:l,sensitive:u}),a=r.regexp,i=r.keys,s=a.exec(e);if(!s)return null;var c=s[0],p=s.slice(1),f=e===c;return o&&!f?null:{path:n,url:"/"===n&&""===c?"/":c,isExact:f,params:i.reduce((function(e,t,n){return e[t.name]=p[n],e}),{})}}),null)}var E=function(e){function t(){return e.apply(this,arguments)||this}return(0,r.A)(t,e),t.prototype.render=function(){var e=this;return a.createElement(b.Consumer,null,(function(t){t||(0,s.A)(!1);var n=e.props.location||t.location,r=e.props.computedMatch?e.props.computedMatch:e.props.path?S(n.pathname,e.props):t.match,o=(0,u.A)({},t,{location:n,match:r}),i=e.props,l=i.children,c=i.component,d=i.render;return Array.isArray(l)&&function(e){return 0===a.Children.count(e)}(l)&&(l=null),a.createElement(b.Provider,{value:o},o.match?l?"function"==typeof l?l(o):l:c?a.createElement(c,o):d?d(o):null:"function"==typeof l?l(o):null)}))},t}(a.Component);function C(e){return"/"===e.charAt(0)?e:"/"+e}function T(e,t){if(!e)return t;var n=C(e);return 0!==t.pathname.indexOf(n)?t:(0,u.A)({},t,{pathname:t.pathname.substr(n.length)})}function A(e){return"string"==typeof e?e:(0,l.AO)(e)}function _(e){return function(){(0,s.A)(!1)}}function j(){}a.Component;var R=function(e){function t(){return e.apply(this,arguments)||this}return(0,r.A)(t,e),t.prototype.render=function(){var e=this;return a.createElement(b.Consumer,null,(function(t){t||(0,s.A)(!1);var n,r,o=e.props.location||t.location;return a.Children.forEach(e.props.children,(function(e){if(null==r&&a.isValidElement(e)){n=e;var i=e.props.path||e.props.from;r=i?S(o.pathname,(0,u.A)({},e.props,{path:i})):t.match}})),r?a.cloneElement(n,{location:o,computedMatch:r}):null}))},t}(a.Component);var L=a.useContext;function N(){return L(y)}function P(){return L(b).location}},8505:(e,t,n)=>{var r=n(4634);e.exports=f,e.exports.parse=o,e.exports.compile=function(e,t){return l(o(e,t),t)},e.exports.tokensToFunction=l,e.exports.tokensToRegExp=p;var a=new RegExp(["(\\\\.)","([\\/.])?(?:(?:\\:(\\w+)(?:\\(((?:\\\\.|[^\\\\()])+)\\))?|\\(((?:\\\\.|[^\\\\()])+)\\))([+*?])?|(\\*))"].join("|"),"g");function o(e,t){for(var n,r=[],o=0,i=0,l="",c=t&&t.delimiter||"/";null!=(n=a.exec(e));){var d=n[0],p=n[1],f=n.index;if(l+=e.slice(i,f),i=f+d.length,p)l+=p[1];else{var m=e[i],h=n[2],g=n[3],y=n[4],b=n[5],v=n[6],w=n[7];l&&(r.push(l),l="");var k=null!=h&&null!=m&&m!==h,x="+"===v||"*"===v,S="?"===v||"*"===v,E=n[2]||c,C=y||b;r.push({name:g||o++,prefix:h||"",delimiter:E,optional:S,repeat:x,partial:k,asterisk:!!w,pattern:C?u(C):w?".*":"[^"+s(E)+"]+?"})}}return i<e.length&&(l+=e.substr(i)),l&&r.push(l),r}function i(e){return encodeURI(e).replace(/[\/?#]/g,(function(e){return"%"+e.charCodeAt(0).toString(16).toUpperCase()}))}function l(e,t){for(var n=new Array(e.length),a=0;a<e.length;a++)"object"==typeof e[a]&&(n[a]=new RegExp("^(?:"+e[a].pattern+")$",d(t)));return function(t,a){for(var o="",l=t||{},s=(a||{}).pretty?i:encodeURIComponent,u=0;u<e.length;u++){var c=e[u];if("string"!=typeof c){var d,p=l[c.name];if(null==p){if(c.optional){c.partial&&(o+=c.prefix);continue}throw new TypeError('Expected "'+c.name+'" to be defined')}if(r(p)){if(!c.repeat)throw new TypeError('Expected "'+c.name+'" to not repeat, but received `'+JSON.stringify(p)+"`");if(0===p.length){if(c.optional)continue;throw new TypeError('Expected "'+c.name+'" to not be empty')}for(var f=0;f<p.length;f++){if(d=s(p[f]),!n[u].test(d))throw new TypeError('Expected all "'+c.name+'" to match "'+c.pattern+'", but received `'+JSON.stringify(d)+"`");o+=(0===f?c.prefix:c.delimiter)+d}}else{if(d=c.asterisk?encodeURI(p).replace(/[?#]/g,(function(e){return"%"+e.charCodeAt(0).toString(16).toUpperCase()})):s(p),!n[u].test(d))throw new TypeError('Expected "'+c.name+'" to match "'+c.pattern+'", but received "'+d+'"');o+=c.prefix+d}}else o+=c}return o}}function s(e){return e.replace(/([.+*?=^!:${}()[\]|\/\\])/g,"\\$1")}function u(e){return e.replace(/([=!:$\/()])/g,"\\$1")}function c(e,t){return e.keys=t,e}function d(e){return e&&e.sensitive?"":"i"}function p(e,t,n){r(t)||(n=t||n,t=[]);for(var a=(n=n||{}).strict,o=!1!==n.end,i="",l=0;l<e.length;l++){var u=e[l];if("string"==typeof u)i+=s(u);else{var p=s(u.prefix),f="(?:"+u.pattern+")";t.push(u),u.repeat&&(f+="(?:"+p+f+")*"),i+=f=u.optional?u.partial?p+"("+f+")?":"(?:"+p+"("+f+"))?":p+"("+f+")"}}var m=s(n.delimiter||"/"),h=i.slice(-m.length)===m;return a||(i=(h?i.slice(0,-m.length):i)+"(?:"+m+"(?=$))?"),i+=o?"$":a&&h?"":"(?="+m+"|$)",c(new RegExp("^"+i,d(n)),t)}function f(e,t,n){return r(t)||(n=t||n,t=[]),n=n||{},e instanceof RegExp?function(e,t){var n=e.source.match(/\((?!\?)/g);if(n)for(var r=0;r<n.length;r++)t.push({name:r,prefix:null,delimiter:null,optional:!1,repeat:!1,partial:!1,asterisk:!1,pattern:null});return c(e,t)}(e,t):r(e)?function(e,t,n){for(var r=[],a=0;a<e.length;a++)r.push(f(e[a],t,n).source);return c(new RegExp("(?:"+r.join("|")+")",d(n)),t)}(e,t,n):function(e,t,n){return p(o(e,n),t,n)}(e,t,n)}},1020:(e,t,n)=>{"use strict";var r=n(6540),a=Symbol.for("react.element"),o=Symbol.for("react.fragment"),i=Object.prototype.hasOwnProperty,l=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,s={key:!0,ref:!0,__self:!0,__source:!0};function u(e,t,n){var r,o={},u=null,c=null;for(r in void 0!==n&&(u=""+n),void 0!==t.key&&(u=""+t.key),void 0!==t.ref&&(c=t.ref),t)i.call(t,r)&&!s.hasOwnProperty(r)&&(o[r]=t[r]);if(e&&e.defaultProps)for(r in t=e.defaultProps)void 0===o[r]&&(o[r]=t[r]);return{$$typeof:a,type:e,key:u,ref:c,props:o,_owner:l.current}}t.Fragment=o,t.jsx=u,t.jsxs=u},5287:(e,t)=>{"use strict";var n=Symbol.for("react.element"),r=Symbol.for("react.portal"),a=Symbol.for("react.fragment"),o=Symbol.for("react.strict_mode"),i=Symbol.for("react.profiler"),l=Symbol.for("react.provider"),s=Symbol.for("react.context"),u=Symbol.for("react.forward_ref"),c=Symbol.for("react.suspense"),d=Symbol.for("react.memo"),p=Symbol.for("react.lazy"),f=Symbol.iterator;var m={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},h=Object.assign,g={};function y(e,t,n){this.props=e,this.context=t,this.refs=g,this.updater=n||m}function b(){}function v(e,t,n){this.props=e,this.context=t,this.refs=g,this.updater=n||m}y.prototype.isReactComponent={},y.prototype.setState=function(e,t){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,t,"setState")},y.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")},b.prototype=y.prototype;var w=v.prototype=new b;w.constructor=v,h(w,y.prototype),w.isPureReactComponent=!0;var k=Array.isArray,x=Object.prototype.hasOwnProperty,S={current:null},E={key:!0,ref:!0,__self:!0,__source:!0};function C(e,t,r){var a,o={},i=null,l=null;if(null!=t)for(a in void 0!==t.ref&&(l=t.ref),void 0!==t.key&&(i=""+t.key),t)x.call(t,a)&&!E.hasOwnProperty(a)&&(o[a]=t[a]);var s=arguments.length-2;if(1===s)o.children=r;else if(1<s){for(var u=Array(s),c=0;c<s;c++)u[c]=arguments[c+2];o.children=u}if(e&&e.defaultProps)for(a in s=e.defaultProps)void 0===o[a]&&(o[a]=s[a]);return{$$typeof:n,type:e,key:i,ref:l,props:o,_owner:S.current}}function T(e){return"object"==typeof e&&null!==e&&e.$$typeof===n}var A=/\/+/g;function _(e,t){return"object"==typeof e&&null!==e&&null!=e.key?function(e){var t={"=":"=0",":":"=2"};return"$"+e.replace(/[=:]/g,(function(e){return t[e]}))}(""+e.key):t.toString(36)}function j(e,t,a,o,i){var l=typeof e;"undefined"!==l&&"boolean"!==l||(e=null);var s=!1;if(null===e)s=!0;else switch(l){case"string":case"number":s=!0;break;case"object":switch(e.$$typeof){case n:case r:s=!0}}if(s)return i=i(s=e),e=""===o?"."+_(s,0):o,k(i)?(a="",null!=e&&(a=e.replace(A,"$&/")+"/"),j(i,t,a,"",(function(e){return e}))):null!=i&&(T(i)&&(i=function(e,t){return{$$typeof:n,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}(i,a+(!i.key||s&&s.key===i.key?"":(""+i.key).replace(A,"$&/")+"/")+e)),t.push(i)),1;if(s=0,o=""===o?".":o+":",k(e))for(var u=0;u<e.length;u++){var c=o+_(l=e[u],u);s+=j(l,t,a,c,i)}else if(c=function(e){return null===e||"object"!=typeof e?null:"function"==typeof(e=f&&e[f]||e["@@iterator"])?e:null}(e),"function"==typeof c)for(e=c.call(e),u=0;!(l=e.next()).done;)s+=j(l=l.value,t,a,c=o+_(l,u++),i);else if("object"===l)throw t=String(e),Error("Objects are not valid as a React child (found: "+("[object Object]"===t?"object with keys {"+Object.keys(e).join(", ")+"}":t)+"). If you meant to render a collection of children, use an array instead.");return s}function R(e,t,n){if(null==e)return e;var r=[],a=0;return j(e,r,"","",(function(e){return t.call(n,e,a++)})),r}function L(e){if(-1===e._status){var t=e._result;(t=t()).then((function(t){0!==e._status&&-1!==e._status||(e._status=1,e._result=t)}),(function(t){0!==e._status&&-1!==e._status||(e._status=2,e._result=t)})),-1===e._status&&(e._status=0,e._result=t)}if(1===e._status)return e._result.default;throw e._result}var N={current:null},P={transition:null},O={ReactCurrentDispatcher:N,ReactCurrentBatchConfig:P,ReactCurrentOwner:S};function D(){throw Error("act(...) is not supported in production builds of React.")}t.Children={map:R,forEach:function(e,t,n){R(e,(function(){t.apply(this,arguments)}),n)},count:function(e){var t=0;return R(e,(function(){t++})),t},toArray:function(e){return R(e,(function(e){return e}))||[]},only:function(e){if(!T(e))throw Error("React.Children.only expected to receive a single React element child.");return e}},t.Component=y,t.Fragment=a,t.Profiler=i,t.PureComponent=v,t.StrictMode=o,t.Suspense=c,t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=O,t.act=D,t.cloneElement=function(e,t,r){if(null==e)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+e+".");var a=h({},e.props),o=e.key,i=e.ref,l=e._owner;if(null!=t){if(void 0!==t.ref&&(i=t.ref,l=S.current),void 0!==t.key&&(o=""+t.key),e.type&&e.type.defaultProps)var s=e.type.defaultProps;for(u in t)x.call(t,u)&&!E.hasOwnProperty(u)&&(a[u]=void 0===t[u]&&void 0!==s?s[u]:t[u])}var u=arguments.length-2;if(1===u)a.children=r;else if(1<u){s=Array(u);for(var c=0;c<u;c++)s[c]=arguments[c+2];a.children=s}return{$$typeof:n,type:e.type,key:o,ref:i,props:a,_owner:l}},t.createContext=function(e){return(e={$$typeof:s,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null}).Provider={$$typeof:l,_context:e},e.Consumer=e},t.createElement=C,t.createFactory=function(e){var t=C.bind(null,e);return t.type=e,t},t.createRef=function(){return{current:null}},t.forwardRef=function(e){return{$$typeof:u,render:e}},t.isValidElement=T,t.lazy=function(e){return{$$typeof:p,_payload:{_status:-1,_result:e},_init:L}},t.memo=function(e,t){return{$$typeof:d,type:e,compare:void 0===t?null:t}},t.startTransition=function(e){var t=P.transition;P.transition={};try{e()}finally{P.transition=t}},t.unstable_act=D,t.useCallback=function(e,t){return N.current.useCallback(e,t)},t.useContext=function(e){return N.current.useContext(e)},t.useDebugValue=function(){},t.useDeferredValue=function(e){return N.current.useDeferredValue(e)},t.useEffect=function(e,t){return N.current.useEffect(e,t)},t.useId=function(){return N.current.useId()},t.useImperativeHandle=function(e,t,n){return N.current.useImperativeHandle(e,t,n)},t.useInsertionEffect=function(e,t){return N.current.useInsertionEffect(e,t)},t.useLayoutEffect=function(e,t){return N.current.useLayoutEffect(e,t)},t.useMemo=function(e,t){return N.current.useMemo(e,t)},t.useReducer=function(e,t,n){return N.current.useReducer(e,t,n)},t.useRef=function(e){return N.current.useRef(e)},t.useState=function(e){return N.current.useState(e)},t.useSyncExternalStore=function(e,t,n){return N.current.useSyncExternalStore(e,t,n)},t.useTransition=function(){return N.current.useTransition()},t.version="18.3.1"},6540:(e,t,n)=>{"use strict";e.exports=n(5287)},4848:(e,t,n)=>{"use strict";e.exports=n(1020)},7463:(e,t)=>{"use strict";function n(e,t){var n=e.length;e.push(t);e:for(;0<n;){var r=n-1>>>1,a=e[r];if(!(0<o(a,t)))break e;e[r]=t,e[n]=a,n=r}}function r(e){return 0===e.length?null:e[0]}function a(e){if(0===e.length)return null;var t=e[0],n=e.pop();if(n!==t){e[0]=n;e:for(var r=0,a=e.length,i=a>>>1;r<i;){var l=2*(r+1)-1,s=e[l],u=l+1,c=e[u];if(0>o(s,n))u<a&&0>o(c,s)?(e[r]=c,e[u]=n,r=u):(e[r]=s,e[l]=n,r=l);else{if(!(u<a&&0>o(c,n)))break e;e[r]=c,e[u]=n,r=u}}}return t}function o(e,t){var n=e.sortIndex-t.sortIndex;return 0!==n?n:e.id-t.id}if("object"==typeof performance&&"function"==typeof performance.now){var i=performance;t.unstable_now=function(){return i.now()}}else{var l=Date,s=l.now();t.unstable_now=function(){return l.now()-s}}var u=[],c=[],d=1,p=null,f=3,m=!1,h=!1,g=!1,y="function"==typeof setTimeout?setTimeout:null,b="function"==typeof clearTimeout?clearTimeout:null,v="undefined"!=typeof setImmediate?setImmediate:null;function w(e){for(var t=r(c);null!==t;){if(null===t.callback)a(c);else{if(!(t.startTime<=e))break;a(c),t.sortIndex=t.expirationTime,n(u,t)}t=r(c)}}function k(e){if(g=!1,w(e),!h)if(null!==r(u))h=!0,P(x);else{var t=r(c);null!==t&&O(k,t.startTime-e)}}function x(e,n){h=!1,g&&(g=!1,b(T),T=-1),m=!0;var o=f;try{for(w(n),p=r(u);null!==p&&(!(p.expirationTime>n)||e&&!j());){var i=p.callback;if("function"==typeof i){p.callback=null,f=p.priorityLevel;var l=i(p.expirationTime<=n);n=t.unstable_now(),"function"==typeof l?p.callback=l:p===r(u)&&a(u),w(n)}else a(u);p=r(u)}if(null!==p)var s=!0;else{var d=r(c);null!==d&&O(k,d.startTime-n),s=!1}return s}finally{p=null,f=o,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,T=-1,A=5,_=-1;function j(){return!(t.unstable_now()-_<A)}function R(){if(null!==C){var e=t.unstable_now();_=e;var n=!0;try{n=C(!0,e)}finally{n?S():(E=!1,C=null)}}else E=!1}if("function"==typeof v)S=function(){v(R)};else if("undefined"!=typeof MessageChannel){var L=new MessageChannel,N=L.port2;L.port1.onmessage=R,S=function(){N.postMessage(null)}}else S=function(){y(R,0)};function P(e){C=e,E||(E=!0,S())}function O(e,n){T=y((function(){e(t.unstable_now())}),n)}t.unstable_IdlePriority=5,t.unstable_ImmediatePriority=1,t.unstable_LowPriority=4,t.unstable_NormalPriority=3,t.unstable_Profiling=null,t.unstable_UserBlockingPriority=2,t.unstable_cancelCallback=function(e){e.callback=null},t.unstable_continueExecution=function(){h||m||(h=!0,P(x))},t.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"):A=0<e?Math.floor(1e3/e):5},t.unstable_getCurrentPriorityLevel=function(){return f},t.unstable_getFirstCallbackNode=function(){return r(u)},t.unstable_next=function(e){switch(f){case 1:case 2:case 3:var t=3;break;default:t=f}var n=f;f=t;try{return e()}finally{f=n}},t.unstable_pauseExecution=function(){},t.unstable_requestPaint=function(){},t.unstable_runWithPriority=function(e,t){switch(e){case 1:case 2:case 3:case 4:case 5:break;default:e=3}var n=f;f=e;try{return t()}finally{f=n}},t.unstable_scheduleCallback=function(e,a,o){var i=t.unstable_now();switch("object"==typeof o&&null!==o?o="number"==typeof(o=o.delay)&&0<o?i+o:i:o=i,e){case 1:var l=-1;break;case 2:l=250;break;case 5:l=1073741823;break;case 4:l=1e4;break;default:l=5e3}return e={id:d++,callback:a,priorityLevel:e,startTime:o,expirationTime:l=o+l,sortIndex:-1},o>i?(e.sortIndex=o,n(c,e),null===r(u)&&e===r(c)&&(g?(b(T),T=-1):g=!0,O(k,o-i))):(e.sortIndex=l,n(u,e),h||m||(h=!0,P(x))),e},t.unstable_shouldYield=j,t.unstable_wrapCallback=function(e){var t=f;return function(){var n=f;f=t;try{return e.apply(this,arguments)}finally{f=n}}}},9982:(e,t,n)=>{"use strict";e.exports=n(7463)},2833:e=>{e.exports=function(e,t,n,r){var a=n?n.call(r,e,t):void 0;if(void 0!==a)return!!a;if(e===t)return!0;if("object"!=typeof e||!e||"object"!=typeof t||!t)return!1;var o=Object.keys(e),i=Object.keys(t);if(o.length!==i.length)return!1;for(var l=Object.prototype.hasOwnProperty.bind(t),s=0;s<o.length;s++){var u=o[s];if(!l(u))return!1;var c=e[u],d=t[u];if(!1===(a=n?n.call(r,c,d,u):void 0)||void 0===a&&c!==d)return!1}return!0}},4784:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>r});const r={title:"Cala",tagline:"a powerful open source core banking ledger",favicon:"img/favicon.ico",url:"https://cala.sh",baseUrl:"/",organizationName:"GaloyMoney",projectName:"cala",onBrokenLinks:"throw",onBrokenMarkdownLinks:"throw",i18n:{defaultLocale:"en",locales:["en"],path:"i18n",localeConfigs:{}},presets:[["classic",{docs:{sidebarPath:"./sidebars.ts",routeBasePath:"/"},theme:{customCss:"./src/css/custom.css"},gtag:{trackingID:"G-CSZCYN1TG7",anonymizeIP:!0}}]],themeConfig:{image:"img/galoy.png",navbar:{title:"Cala",logo:{alt:"Cala Logo",src:"img/logo.svg"},items:[{type:"docSidebar",sidebarId:"demoSidebar",position:"left",label:"Docs"},{type:"docSidebar",sidebarId:"accountingSidebar",position:"left",label:"Accounting Intro"},{href:"https://cala.sh/api-reference.html",label:"API Reference",position:"left"},{href:"https://docs.rs/cala-ledger/latest/cala_ledger/",label:"Rust Crate Docs",position:"left"},{href:"https://github.com/GaloyMoney/cala",label:"GitHub",position:"right"}],hideOnScroll:!1},footer:{style:"dark",links:[{title:"Docs",items:[{label:"Try Cala",to:"/docs"},{label:"GraphQL API Demo",to:"/docs/create-journal-and-accounts"}]},{title:"Community",items:[{label:"Mattermost",href:"https://chat.galoy.io"},{label:"X / Twitter",href:"https://x.com/GaloyMoney"}]},{title:"More",items:[{label:"GitHub",href:"https://github.com/GaloyMoney"},{label:"Docs.rs",href:"https://docs.rs/cala-ledger/latest/cala_ledger"}]}],copyright:"Copyright \xa9 2024 Galoy Inc."},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:[],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},liveCodeBlock:{playgroundPosition:"bottom"},algolia:{appId:"O0AKBHZC9K",apiKey:"470bd6518378e8367534ce5d7ddf767b",indexName:"cala",contextualSearch:!1,externalUrlRegex:"cala\\.sh/api-reference\\.html",searchParameters:{},searchPagePath:"search"},docs:{versionPersistence:"localStorage",sidebar:{hideable:!1,autoCollapseCategories:!1}},metadata:[],tableOfContents:{minHeadingLevel:2,maxHeadingLevel:3},mermaid:{theme:{dark:"dark",light:"default"},options:{}}},markdown:{mermaid:!0,format:"mdx",mdx1Compat:{comments:!0,admonitions:!0,headingIds:!0},anchors:{maintainCase:!1}},themes:["@docusaurus/theme-live-codeblock","@docusaurus/theme-mermaid"],baseUrlIssueBanner:!0,future:{experimental_storage:{type:"localStorage",namespace:!1},experimental_router:"browser"},onBrokenAnchors:"warn",onDuplicateRoutes:"warn",staticDirectories:["static"],customFields:{},plugins:[],scripts:[],headTags:[],stylesheets:[],clientModules:[],titleDelimiter:"|",noIndex:!1}},8168:(e,t,n)=>{"use strict";function r(){return r=Object.assign?Object.assign.bind():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},r.apply(this,arguments)}n.d(t,{A:()=>r})},2892:(e,t,n)=>{"use strict";function r(e,t){return r=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},r(e,t)}function a(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,r(e,t)}n.d(t,{A:()=>a})},8587:(e,t,n)=>{"use strict";function r(e,t){if(null==e)return{};var n={};for(var r in e)if(Object.prototype.hasOwnProperty.call(e,r)){if(t.indexOf(r)>=0)continue;n[r]=e[r]}return n}n.d(t,{A:()=>r})},4164:(e,t,n)=>{"use strict";function r(e){var t,n,a="";if("string"==typeof e||"number"==typeof e)a+=e;else if("object"==typeof e)if(Array.isArray(e)){var o=e.length;for(t=0;t<o;t++)e[t]&&(n=r(e[t]))&&(a&&(a+=" "),a+=n)}else for(n in e)e[n]&&(a&&(a+=" "),a+=n);return a}n.d(t,{A:()=>a});const a=function(){for(var e,t,n=0,a="",o=arguments.length;n<o;n++)(e=arguments[n])&&(t=r(e))&&(a&&(a+=" "),a+=t);return a}},1765:(e,t,n)=>{"use strict";n.d(t,{My:()=>A,Zj:()=>_,f4:()=>te});var r,a,o,i,l,s,u,c=n(6540),d=n(4164),p=Object.create,f=Object.defineProperty,m=Object.defineProperties,h=Object.getOwnPropertyDescriptor,g=Object.getOwnPropertyDescriptors,y=Object.getOwnPropertyNames,b=Object.getOwnPropertySymbols,v=Object.getPrototypeOf,w=Object.prototype.hasOwnProperty,k=Object.prototype.propertyIsEnumerable,x=(e,t,n)=>t in e?f(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,S=(e,t)=>{for(var n in t||(t={}))w.call(t,n)&&x(e,n,t[n]);if(b)for(var n of b(t))k.call(t,n)&&x(e,n,t[n]);return e},E=(e,t)=>m(e,g(t)),C=(e,t)=>{var n={};for(var r in e)w.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&b)for(var r of b(e))t.indexOf(r)<0&&k.call(e,r)&&(n[r]=e[r]);return n},T=(r={"../../node_modules/.pnpm/prismjs@1.29.0_patch_hash=vrxx3pzkik6jpmgpayxfjunetu/node_modules/prismjs/prism.js"(e,t){var n=function(){var e=/(?:^|\s)lang(?:uage)?-([\w-]+)(?=\s|$)/i,t=0,n={},r={util:{encode:function e(t){return t instanceof a?new a(t.type,e(t.content),t.alias):Array.isArray(t)?t.map(e):t.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:++t}),e.__id},clone:function e(t,n){var a,o;switch(n=n||{},r.util.type(t)){case"Object":if(o=r.util.objId(t),n[o])return n[o];for(var i in a={},n[o]=a,t)t.hasOwnProperty(i)&&(a[i]=e(t[i],n));return a;case"Array":return o=r.util.objId(t),n[o]?n[o]:(a=[],n[o]=a,t.forEach((function(t,r){a[r]=e(t,n)})),a);default:return t}},getLanguage:function(t){for(;t;){var n=e.exec(t.className);if(n)return n[1].toLowerCase();t=t.parentElement}return"none"},setLanguage:function(t,n){t.className=t.className.replace(RegExp(e,"gi"),""),t.classList.add("language-"+n)},isActive:function(e,t,n){for(var r="no-"+t;e;){var a=e.classList;if(a.contains(t))return!0;if(a.contains(r))return!1;e=e.parentElement}return!!n}},languages:{plain:n,plaintext:n,text:n,txt:n,extend:function(e,t){var n=r.util.clone(r.languages[e]);for(var a in t)n[a]=t[a];return n},insertBefore:function(e,t,n,a){var o=(a=a||r.languages)[e],i={};for(var l in o)if(o.hasOwnProperty(l)){if(l==t)for(var s in n)n.hasOwnProperty(s)&&(i[s]=n[s]);n.hasOwnProperty(l)||(i[l]=o[l])}var u=a[e];return a[e]=i,r.languages.DFS(r.languages,(function(t,n){n===u&&t!=e&&(this[t]=i)})),i},DFS:function e(t,n,a,o){o=o||{};var i=r.util.objId;for(var l in t)if(t.hasOwnProperty(l)){n.call(t,l,t[l],a||l);var s=t[l],u=r.util.type(s);"Object"!==u||o[i(s)]?"Array"!==u||o[i(s)]||(o[i(s)]=!0,e(s,n,l,o)):(o[i(s)]=!0,e(s,n,null,o))}}},plugins:{},highlight:function(e,t,n){var o={code:e,grammar:t,language:n};if(r.hooks.run("before-tokenize",o),!o.grammar)throw new Error('The language "'+o.language+'" has no grammar.');return o.tokens=r.tokenize(o.code,o.grammar),r.hooks.run("after-tokenize",o),a.stringify(r.util.encode(o.tokens),o.language)},tokenize:function(e,t){var n=t.rest;if(n){for(var r in n)t[r]=n[r];delete t.rest}var a=new l;return s(a,a.head,e),i(e,a,t,a.head,0),function(e){for(var t=[],n=e.head.next;n!==e.tail;)t.push(n.value),n=n.next;return t}(a)},hooks:{all:{},add:function(e,t){var n=r.hooks.all;n[e]=n[e]||[],n[e].push(t)},run:function(e,t){var n=r.hooks.all[e];if(n&&n.length)for(var a,o=0;a=n[o++];)a(t)}},Token:a};function a(e,t,n,r){this.type=e,this.content=t,this.alias=n,this.length=0|(r||"").length}function o(e,t,n,r){e.lastIndex=t;var a=e.exec(n);if(a&&r&&a[1]){var o=a[1].length;a.index+=o,a[0]=a[0].slice(o)}return a}function i(e,t,n,l,c,d){for(var p in n)if(n.hasOwnProperty(p)&&n[p]){var f=n[p];f=Array.isArray(f)?f:[f];for(var m=0;m<f.length;++m){if(d&&d.cause==p+","+m)return;var h=f[m],g=h.inside,y=!!h.lookbehind,b=!!h.greedy,v=h.alias;if(b&&!h.pattern.global){var w=h.pattern.toString().match(/[imsuy]*$/)[0];h.pattern=RegExp(h.pattern.source,w+"g")}for(var k=h.pattern||h,x=l.next,S=c;x!==t.tail&&!(d&&S>=d.reach);S+=x.value.length,x=x.next){var E=x.value;if(t.length>e.length)return;if(!(E instanceof a)){var C,T=1;if(b){if(!(C=o(k,S,e,y))||C.index>=e.length)break;var A=C.index,_=C.index+C[0].length,j=S;for(j+=x.value.length;A>=j;)j+=(x=x.next).value.length;if(S=j-=x.value.length,x.value instanceof a)continue;for(var R=x;R!==t.tail&&(j<_||"string"==typeof R.value);R=R.next)T++,j+=R.value.length;T--,E=e.slice(S,j),C.index-=S}else if(!(C=o(k,0,E,y)))continue;A=C.index;var L=C[0],N=E.slice(0,A),P=E.slice(A+L.length),O=S+E.length;d&&O>d.reach&&(d.reach=O);var D=x.prev;if(N&&(D=s(t,D,N),S+=N.length),u(t,D,T),x=s(t,D,new a(p,g?r.tokenize(L,g):L,v,L)),P&&s(t,x,P),T>1){var I={cause:p+","+m,reach:O};i(e,t,n,x.prev,S,I),d&&I.reach>d.reach&&(d.reach=I.reach)}}}}}}function l(){var e={value:null,prev:null,next:null},t={value:null,prev:e,next:null};e.next=t,this.head=e,this.tail=t,this.length=0}function s(e,t,n){var r=t.next,a={value:n,prev:t,next:r};return t.next=a,r.prev=a,e.length++,a}function u(e,t,n){for(var r=t.next,a=0;a<n&&r!==e.tail;a++)r=r.next;t.next=r,r.prev=t,e.length-=a}return a.stringify=function e(t,n){if("string"==typeof t)return t;if(Array.isArray(t)){var a="";return t.forEach((function(t){a+=e(t,n)})),a}var o={type:t.type,content:e(t.content,n),tag:"span",classes:["token",t.type],attributes:{},language:n},i=t.alias;i&&(Array.isArray(i)?Array.prototype.push.apply(o.classes,i):o.classes.push(i)),r.hooks.run("wrap",o);var l="";for(var s in o.attributes)l+=" "+s+'="'+(o.attributes[s]||"").replace(/"/g,""")+'"';return"<"+o.tag+' class="'+o.classes.join(" ")+'"'+l+">"+o.content+"</"+o.tag+">"},r}();t.exports=n,n.default=n}},function(){return a||(0,r[y(r)[0]])((a={exports:{}}).exports,a),a.exports}),A=((e,t,n)=>(n=null!=e?p(v(e)):{},((e,t,n,r)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let a of y(t))w.call(e,a)||a===n||f(e,a,{get:()=>t[a],enumerable:!(r=h(t,a))||r.enumerable});return e})(!t&&e&&e.__esModule?n:f(n,"default",{value:e,enumerable:!0}),e)))(T());A.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]},A.languages.markup.tag.inside["attr-value"].inside.entity=A.languages.markup.entity,A.languages.markup.doctype.inside["internal-subset"].inside=A.languages.markup,A.hooks.add("wrap",(function(e){"entity"===e.type&&(e.attributes.title=e.content.replace(/&/,"&"))})),Object.defineProperty(A.languages.markup.tag,"addInlined",{value:function(e,t){var n;(t=((n=((n={})["language-"+t]={pattern:/(^<!\[CDATA\[)[\s\S]+?(?=\]\]>$)/i,lookbehind:!0,inside:A.languages[t]},n.cdata=/^<!\[CDATA\[|\]\]>$/i,{"included-cdata":{pattern:/<!\[CDATA\[[\s\S]*?\]\]>/i,inside:n}}))["language-"+t]={pattern:/[\s\S]+/,inside:A.languages[t]},{}))[e]={pattern:RegExp(/(<__[^>]*>)(?:<!\[CDATA\[(?:[^\]]|\](?!\]>))*\]\]>|(?!<!\[CDATA\[)[\s\S])*?(?=<\/__>)/.source.replace(/__/g,(function(){return e})),"i"),lookbehind:!0,greedy:!0,inside:n},A.languages.insertBefore("markup","cdata",t)}}),Object.defineProperty(A.languages.markup.tag,"addAttribute",{value:function(e,t){A.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:[t,"language-"+t],inside:A.languages[t]},punctuation:[{pattern:/^=/,alias:"attr-equals"},/"|'/]}}}})}}),A.languages.html=A.languages.markup,A.languages.mathml=A.languages.markup,A.languages.svg=A.languages.markup,A.languages.xml=A.languages.extend("markup",{}),A.languages.ssml=A.languages.xml,A.languages.atom=A.languages.xml,A.languages.rss=A.languages.xml,o=A,i={pattern:/\\[\\(){}[\]^$+*?|.]/,alias:"escape"},s="(?:[^\\\\-]|"+(l=/\\(?: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+")",s=RegExp(s+"-"+s),u={pattern:/(<|')[^<>']+(?=[>']$)/,lookbehind:!0,alias:"variable"},o.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:s,inside:{escape:l,"range-punctuation":{pattern:/-/,alias:"operator"}}},"special-escape":i,"char-set":{pattern:/\\[wsd]|\\p\{[^{}]+\}/i,alias:"class-name"},escape:l}},"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":u}}],anchor:{pattern:/[$^]|\\[ABbGZz]/,alias:"function"},escape:l,group:[{pattern:/\((?:\?(?:<[^<>']+>|'[^<>']+'|[>:]|<?[=!]|[idmnsuxU]+(?:-[idmnsuxU]+)?:?))?/,alias:"punctuation",inside:{"group-name":u}},{pattern:/\)/,alias:"punctuation"}],quantifier:{pattern:/(?:[+*?]|\{\d+(?:,\d*)?\})[?+]?/,alias:"number"},alternation:{pattern:/\|/,alias:"keyword"}},A.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:/[{}[\];(),.:]/},A.languages.javascript=A.languages.extend("clike",{"class-name":[A.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}|\?\?=?|\?\.?|[~:]/}),A.languages.javascript["class-name"][0].pattern=/(\b(?:class|extends|implements|instanceof|interface|new)\s+)[\w.\\]+/,A.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:A.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:A.languages.javascript},{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*=>)/i,lookbehind:!0,inside:A.languages.javascript},{pattern:/(\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*=>)/,lookbehind:!0,inside:A.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:A.languages.javascript}],constant:/\b[A-Z](?:[A-Z_]|\dx?)*\b/}),A.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:A.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"}}),A.languages.insertBefore("javascript","operator",{"literal-property":{pattern:/((?:^|[,{])[ \t]*)(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*:)/m,lookbehind:!0,alias:"property"}}),A.languages.markup&&(A.languages.markup.tag.addInlined("script","javascript"),A.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")),A.languages.js=A.languages.javascript,A.languages.actionscript=A.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:/\+\+|--|(?:[+\-*\/%^]|&&?|\|\|?|<<?|>>?>?|[!=]=?)=?|[~?@]/}),A.languages.actionscript["class-name"].alias="function",delete A.languages.actionscript.parameter,delete A.languages.actionscript["literal-property"],A.languages.markup&&A.languages.insertBefore("actionscript","string",{xml:{pattern:/(^|[^.])<\/?\w+(?:\s+[^\s>\/=]+=("|')(?:\\[\s\S]|(?!\2)[^\\])*\2)*\s*\/?>/,lookbehind:!0,inside:A.languages.markup}}),function(e){var t=/#(?!\{).+/,n={pattern:/#\{[^}]+\}/,alias:"variable"};e.languages.coffeescript=e.languages.extend("javascript",{comment:t,string:[{pattern:/'(?:\\[\s\S]|[^\\'])*'/,greedy:!0},{pattern:/"(?:\\[\s\S]|[^\\"])*"/,greedy:!0,inside:{interpolation:n}}],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:t,interpolation:n}}}),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:n}}]}),e.languages.insertBefore("coffeescript","keyword",{property:/(?!\d)\w+(?=\s*:(?!:))/}),delete e.languages.coffeescript["template-string"],e.languages.coffee=e.languages.coffeescript}(A),function(e){var t=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(t,"addSupport",{value:function(t,n){(t="string"==typeof t?[t]:t).forEach((function(t){var r=function(e){e.inside||(e.inside={}),e.inside.rest=n},a="doc-comment";if(o=e.languages[t]){var o,i=o[a];if((i=i||(o=e.languages.insertBefore(t,"comment",{"doc-comment":{pattern:/(^|[^\\])\/\*\*[^/][\s\S]*?(?:\*\/|$)/,lookbehind:!0,alias:"comment"}}))[a])instanceof RegExp&&(i=o[a]={pattern:i}),Array.isArray(i))for(var l=0,s=i.length;l<s;l++)i[l]instanceof RegExp&&(i[l]={pattern:i[l]}),r(i[l]);else r(i)}}))}}),t.addSupport(["java","javascript","php"],t)}(A),function(e){var t=/(?:"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n])*')/;(t=(e.languages.css={comment:/\/\*[\s\S]*?\*\//,atrule:{pattern:RegExp("@[\\w-](?:"+/[^;{\s"']|\s+(?!\s)/.source+"|"+t.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\\((?:"+t.source+"|"+/(?:[^\\\r\n()"']|\\[\s\S])*/.source+")\\)","i"),greedy:!0,inside:{function:/^url/i,punctuation:/^\(|\)$/,string:{pattern:RegExp("^"+t.source+"$"),alias:"url"}}},selector:{pattern:RegExp("(^|[{}\\s])[^{}\\s](?:[^{};\"'\\s]|\\s+(?![\\s{])|"+t.source+")*(?=\\s*\\{)"),lookbehind:!0},string:{pattern:t,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))&&(t.tag.addInlined("style","css"),t.tag.addAttribute("style","css"))}(A),function(e){var t=/("|')(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,n=(t=(e.languages.css.selector={pattern:e.languages.css.selector.pattern,lookbehind:!0,inside:t={"pseudo-element":/:(?:after|before|first-letter|first-line|selection)|::[-\w]+/,"pseudo-class":/:[-\w]+/,class:/\.[-\w]+/,id:/#[-\w]+/,attribute:{pattern:RegExp("\\[(?:[^[\\]\"']|"+t.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":[t,{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=t,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:t,number:n,function:/[\w-]+(?=\()/,punctuation:/[(),]/}}],entity:/\\[\da-f]{1,8}/i,unit:t,number:n})}(A),function(e){var t=/[*&][^\s[\]{},]+/,n=/!(?:<[\w\-%#;/?:@&=+$,.!~*'()[\]]+>|(?:[a-zA-Z\d-]*!)?[\w\-%#;/?:@&=+$.~*'()]+)?/,r="(?:"+n.source+"(?:[ \t]+"+t.source+")?|"+t.source+"(?:[ \t]+"+n.source+")?)",a=/(?:[^\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})),o=/"(?:[^"\\\r\n]|\\.)*"|'(?:[^'\\\r\n]|\\.)*'/.source;function i(e,t){t=(t||"").replace(/m/g,"")+"m";var n=/([:\-,[{]\s*(?:\s<<prop>>[ \t]+)?)(?:<<value>>)(?=[ \t]*(?:$|,|\]|\}|(?:[\r\n]\s*)?#))/.source.replace(/<<prop>>/g,(function(){return r})).replace(/<<value>>/g,(function(){return e}));return RegExp(n,t)}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"(?:"+a+"|"+o+")"}))),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(o),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:n,important:t,punctuation:/---|[:[\]{}\-,|>?]|\.\.\./},e.languages.yml=e.languages.yaml}(A),function(e){var t=/(?:\\.|[^\\\n\r]|(?:\n|\r\n?)(?![\r\n]))/.source;function n(e){return e=e.replace(/<inner>/g,(function(){return t})),RegExp(/((?:^|[^\\])(?:\\{2})*)/.source+"(?:"+e+")")}var r=/(?:\\.|``(?:[^`\r\n]|`(?!`))+``|`[^`\r\n]+`|[^\\|\r\n`])+/.source,a=/\|?__(?:\|__)+\|?(?:(?:\n|\r\n?)|(?![\s\S]))/.source.replace(/__/g,(function(){return r})),o=/\|?[ \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("^"+a+o+"(?:"+a+")*","m"),inside:{"table-data-rows":{pattern:RegExp("^("+a+o+")(?:"+a+")*$"),lookbehind:!0,inside:{"table-data":{pattern:RegExp(r),inside:e.languages.markdown},punctuation:/\|/}},"table-line":{pattern:RegExp("^("+a+")"+o+"$"),lookbehind:!0,inside:{punctuation:/\||:?-{3,}:?/}},"table-header-row":{pattern:RegExp("^"+a+"$"),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:n(/\b__(?:(?!_)<inner>|_(?:(?!_)<inner>)+_)+__\b|\*\*(?:(?!\*)<inner>|\*(?:(?!\*)<inner>)+\*)+\*\*/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^..)[\s\S]+(?=..$)/,lookbehind:!0,inside:{}},punctuation:/\*\*|__/}},italic:{pattern:n(/\b_(?:(?!_)<inner>|__(?:(?!_)<inner>)+__)+_\b|\*(?:(?!\*)<inner>|\*\*(?:(?!\*)<inner>)+\*\*)+\*/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^.)[\s\S]+(?=.$)/,lookbehind:!0,inside:{}},punctuation:/[*_]/}},strike:{pattern:n(/(~~?)(?:(?!~)<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:n(/!?\[(?:(?!\])<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(t){["url","bold","italic","strike","code-snippet"].forEach((function(n){t!==n&&(e.languages.markdown[t].inside.content.inside[n]=e.languages.markdown[n])}))})),e.hooks.add("after-tokenize",(function(e){"markdown"!==e.language&&"md"!==e.language||function e(t){if(t&&"string"!=typeof t)for(var n=0,r=t.length;n<r;n++){var a,o=t[n];"code"!==o.type?e(o.content):(a=o.content[1],o=o.content[3],a&&o&&"code-language"===a.type&&"code-block"===o.type&&"string"==typeof a.content&&(a=a.content.replace(/\b#/g,"sharp").replace(/\b\+\+/g,"pp"),a="language-"+(a=(/[a-z][\w-]*/i.exec(a)||[""])[0].toLowerCase()),o.alias?"string"==typeof o.alias?o.alias=[o.alias,a]:o.alias.push(a):o.alias=[a]))}}(e.tokens)})),e.hooks.add("wrap",(function(t){if("code-block"===t.type){for(var n="",r=0,a=t.classes.length;r<a;r++){var o=t.classes[r];if(o=/language-(.+)/.exec(o)){n=o[1];break}}var u,c=e.languages[n];c?t.content=e.highlight(t.content.replace(i,"").replace(/&(\w{1,8}|#x?[\da-f]{1,8});/gi,(function(e,t){var n;return"#"===(t=t.toLowerCase())[0]?(n="x"===t[1]?parseInt(t.slice(2),16):Number(t.slice(1)),s(n)):l[t]||e})),c,n):n&&"none"!==n&&e.plugins.autoloader&&(u="md-"+(new Date).valueOf()+"-"+Math.floor(1e16*Math.random()),t.attributes.id=u,e.plugins.autoloader.loadLanguages(n,(function(){var t=document.getElementById(u);t&&(t.innerHTML=e.highlight(t.textContent,e.languages[n],n))})))}})),RegExp(e.languages.markup.tag.pattern.source,"gi")),l={amp:"&",lt:"<",gt:">",quot:'"'},s=String.fromCodePoint||String.fromCharCode;e.languages.md=e.languages.markdown}(A),A.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:A.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+/},A.hooks.add("after-tokenize",(function(e){if("graphql"===e.language)for(var t=e.tokens.filter((function(e){return"string"!=typeof e&&"comment"!==e.type&&"scalar"!==e.type})),n=0;n<t.length;){var r=t[n++];if("keyword"===r.type&&"mutation"===r.content){var a=[];if(d(["definition-mutation","punctuation"])&&"("===c(1).content){n+=2;var o=p(/^\($/,/^\)$/);if(-1===o)continue;for(;n<o;n++){var i=c(0);"variable"===i.type&&(f(i,"variable-input"),a.push(i.content))}n=o+1}if(d(["punctuation","property-query"])&&"{"===c(0).content&&(n++,f(c(0),"property-mutation"),0<a.length)){var l=p(/^\{$/,/^\}$/);if(-1!==l)for(var s=n;s<l;s++){var u=t[s];"variable"===u.type&&0<=a.indexOf(u.content)&&f(u,"variable-input")}}}}function c(e){return t[n+e]}function d(e,t){t=t||0;for(var n=0;n<e.length;n++){var r=c(n+t);if(!r||r.type!==e[n])return}return 1}function p(e,r){for(var a=1,o=n;o<t.length;o++){var i=t[o],l=i.content;if("punctuation"===i.type&&"string"==typeof l)if(e.test(l))a++;else if(r.test(l)&&0==--a)return o}return-1}function f(e,t){var n=e.alias;n?Array.isArray(n)||(e.alias=n=[n]):e.alias=n=[],n.push(t)}})),A.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 t=e.languages.javascript["template-string"],n=t.pattern.source,r=t.inside.interpolation,a=r.inside["interpolation-punctuation"],o=r.pattern.source;function i(t,r){if(e.languages[t])return{pattern:RegExp("((?:"+r+")\\s*)"+n),lookbehind:!0,greedy:!0,inside:{"template-punctuation":{pattern:/^`|`$/,alias:"string"},"embedded-code":{pattern:/[\s\S]+/,alias:t}}}}function l(t,n,r){return t={code:t,grammar:n,language:r},e.hooks.run("before-tokenize",t),t.tokens=e.tokenize(t.code,t.grammar),e.hooks.run("after-tokenize",t),t.tokens}function s(t,n,i){var s=e.tokenize(t,{interpolation:{pattern:RegExp(o),lookbehind:!0}}),u=0,c={},d=(s=l(s.map((function(e){if("string"==typeof e)return e;var n,r;for(e=e.content;-1!==t.indexOf((r=u++,n="___"+i.toUpperCase()+"_"+r+"___")););return c[n]=e,n})).join(""),n,i),Object.keys(c));return u=0,function t(n){for(var o=0;o<n.length;o++){if(u>=d.length)return;var i,s,p,f,m,h,g,y=n[o];"string"==typeof y||"string"==typeof y.content?(i=d[u],-1!==(g=(h="string"==typeof y?y:y.content).indexOf(i))&&(++u,s=h.substring(0,g),m=c[i],p=void 0,(f={})["interpolation-punctuation"]=a,3===(f=e.tokenize(m,f)).length&&((p=[1,1]).push.apply(p,l(f[1],e.languages.javascript,"javascript")),f.splice.apply(f,p)),p=new e.Token("interpolation",f,r.alias,m),f=h.substring(g+i.length),m=[],s&&m.push(s),m.push(p),f&&(t(h=[f]),m.push.apply(m,h)),"string"==typeof y?(n.splice.apply(n,[o,1].concat(m)),o+=m.length-1):y.content=m)):(g=y.content,Array.isArray(g)?t(g):t([g]))}}(s),new e.Token(i,s,"language-"+i,t)}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),t].filter(Boolean);var u={javascript:!0,js:!0,typescript:!0,ts:!0,jsx:!0,tsx:!0};function c(e){return"string"==typeof e?e:Array.isArray(e)?e.map(c).join(""):c(e.content)}e.hooks.add("after-tokenize",(function(t){t.language in u&&function t(n){for(var r=0,a=n.length;r<a;r++){var o,i,l,u=n[r];"string"!=typeof u&&(o=u.content,Array.isArray(o)?"template-string"===u.type?(u=o[1],3===o.length&&"string"!=typeof u&&"embedded-code"===u.type&&(i=c(u),u=u.alias,u=Array.isArray(u)?u[0]:u,l=e.languages[u])&&(o[1]=s(i,l,u))):t(o):"string"!=typeof o&&t([o]))}}(t.tokens)}))}(A),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 t=e.languages.extend("typescript",{});delete t["class-name"],e.languages.typescript["class-name"].inside=t,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:t}}}}),e.languages.ts=e.languages.typescript}(A),function(e){var t=e.languages.javascript,n=/\{(?:[^{}]|\{(?:[^{}]|\{[^{}]*\})*\})+\}/.source,r="(@(?:arg|argument|param|property)\\s+(?:"+n+"\\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:t,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 n}))),lookbehind:!0,inside:{punctuation:/\./}},{pattern:RegExp("(@[a-z]+\\s+)"+n),lookbehind:!0,inside:{string:t.string,number:t.number,boolean:t.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:t,alias:"language-javascript"}}}}),e.languages.javadoclike.addSupport("javascript",e.languages.jsdoc)}(A),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})}(A),A.languages.n4js=A.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/}),A.languages.insertBefore("n4js","constant",{annotation:{pattern:/@+\w+/,alias:"operator"}}),A.languages.n4jsd=A.languages.n4js,function(e){function t(e,t){return RegExp(e.replace(/<ID>/g,(function(){return/(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*/.source})),t)}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:t(/(\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:t(/(\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:t(/(\.\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 n=["function","function-variable","method","method-variable","property-access"],r=0;r<n.length;r++){var a=n[r],o=e.languages.javascript[a];a=(o="RegExp"===e.util.type(o)?e.languages.javascript[a]={pattern:o}:o).inside||{};(o.inside=a)["maybe-class-name"]=/^[A-Z][\s\S]*/}}(A),function(e){var t=e.util.clone(e.languages.javascript),n=/(?:\s|\/\/.*(?!.)|\/\*(?:[^*]|\*(?!\/))\*\/)/.source,r=/(?:\{(?:\{(?:\{[^{}]*\}|[^{}])*\}|[^{}])*\})/.source,a=/(?:\{<S>*\.{3}(?:[^{}]|<BRACES>)*\})/.source;function o(e,t){return e=e.replace(/<S>/g,(function(){return n})).replace(/<BRACES>/g,(function(){return r})).replace(/<SPREAD>/g,(function(){return a})),RegExp(e,t)}function i(t){for(var n=[],r=0;r<t.length;r++){var a=t[r],o=!1;"string"!=typeof a&&("tag"===a.type&&a.content[0]&&"tag"===a.content[0].type?"</"===a.content[0].content[0].content?0<n.length&&n[n.length-1].tagName===l(a.content[0].content[1])&&n.pop():"/>"!==a.content[a.content.length-1].content&&n.push({tagName:l(a.content[0].content[1]),openedBraces:0}):0<n.length&&"punctuation"===a.type&&"{"===a.content?n[n.length-1].openedBraces++:0<n.length&&0<n[n.length-1].openedBraces&&"punctuation"===a.type&&"}"===a.content?n[n.length-1].openedBraces--:o=!0),(o||"string"==typeof a)&&0<n.length&&0===n[n.length-1].openedBraces&&(o=l(a),r<t.length-1&&("string"==typeof t[r+1]||"plain-text"===t[r+1].type)&&(o+=l(t[r+1]),t.splice(r+1,1)),0<r&&("string"==typeof t[r-1]||"plain-text"===t[r-1].type)&&(o=l(t[r-1])+o,t.splice(r-1,1),r--),t[r]=new e.Token("plain-text",o,null,o)),a.content&&"string"!=typeof a.content&&i(a.content)}}a=o(a).source,e.languages.jsx=e.languages.extend("markup",t),e.languages.jsx.tag.pattern=o(/<\/?(?:[\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=t.comment,e.languages.insertBefore("inside","attr-name",{spread:{pattern:o(/<SPREAD>/.source),inside:e.languages.jsx}},e.languages.jsx.tag),e.languages.insertBefore("inside","special-attr",{script:{pattern:o(/=<BRACES>/.source),alias:"language-javascript",inside:{"script-punctuation":{pattern:/^=(?=\{)/,alias:"punctuation"},rest:e.languages.jsx}}},e.languages.jsx.tag);var l=function(e){return e?"string"==typeof e?e:"string"==typeof e.content?e.content:e.content.map(l).join(""):""};e.hooks.add("after-tokenize",(function(e){"jsx"!==e.language&&"tsx"!==e.language||i(e.tokens)}))}(A),function(e){var t=e.util.clone(e.languages.typescript);(t=(e.languages.tsx=e.languages.extend("jsx",t),delete e.languages.tsx.parameter,delete e.languages.tsx["literal-property"],e.languages.tsx.tag)).pattern=RegExp(/(^|[^\w$]|(?=<\/))/.source+"(?:"+t.pattern.source+")",t.pattern.flags),t.lookbehind=!0}(A),A.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:/[{}[\]();,.:\\]/},A.languages.swift["string-literal"].forEach((function(e){e.inside.interpolation.inside=A.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 t={"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:t},string:/[\s\S]+/}},{pattern:/"(?:[^"\\\r\n$]|\\.|\$(?:(?!\{)|\{[^{}]*\}))*"/,alias:"singleline",inside:{interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$(?:[a-z_]\w*|\{[^{}]*\})/i,lookbehind:!0,inside:t},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}(A),A.languages.c=A.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|[?:~]|[-+*/%&|^!=<>]=?/}),A.languages.insertBefore("c","string",{char:{pattern:/'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n]){0,32}'/,greedy:!0}}),A.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},A.languages.c.string],char:A.languages.c.char,comment:A.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:A.languages.c}}}}),A.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 A.languages.c.boolean,A.languages.objectivec=A.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 A.languages.objectivec["class-name"],A.languages.objc=A.languages.objectivec,A.languages.reason=A.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/}),A.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 A.languages.reason.function,function(e){for(var t=/\/\*(?:[^*/]|\*(?!\/)|\/(?!\*)|<self>)*\*\//.source,n=0;n<2;n++)t=t.replace(/<self>/g,(function(){return t}));t=t.replace(/<self>/g,(function(){return/[^\s\S]/.source})),e.languages.rust={comment:[{pattern:RegExp(/(^|[^\\])/.source+t),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}(A),A.languages.go=A.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/}),A.languages.insertBefore("go","string",{char:{pattern:/'(?:\\.|[^'\\\r\n]){0,10}'/,greedy:!0}}),delete A.languages.go["class-name"],function(e){var t=/\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/,n=/\b(?!<keyword>)\w+(?:\s*\.\s*\w+)*\b/.source.replace(/<keyword>/g,(function(){return t.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 t.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:t,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 n}))+")"),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"])}(A),A.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:/[{}[\];(),.:]/},A.languages.python["string-interpolation"].inside.interpolation.inside.rest=A.languages.python,A.languages.py=A.languages.python;var _={};((e,t)=>{for(var n in t)f(e,n,{get:t[n],enumerable:!0})})(_,{dracula:()=>j,duotoneDark:()=>R,duotoneLight:()=>L,github:()=>N,jettwaveDark:()=>G,jettwaveLight:()=>V,nightOwl:()=>P,nightOwlLight:()=>O,oceanicNext:()=>M,okaidia:()=>F,oneDark:()=>W,oneLight:()=>K,palenight:()=>z,shadesOfPurple:()=>B,synthwave84:()=>$,ultramin:()=>U,vsDark:()=>q,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)"}}]},R={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"}}]},L={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"}}]},N={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"}}]},P={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)"}}]},O={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)"}}]},D="#c5a5c5",I="#8dc891",M={plain:{backgroundColor:"#282c34",color:"#ffffff"},styles:[{types:["attr-name"],style:{color:D}},{types:["attr-value"],style:{color:I}},{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:I}},{types:["punctuation"],style:{color:I}},{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:D}},{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}}]},F={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"}}]},z={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)"}}]},B={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)"}}]},$={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"}}]},U={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)"}}]},q={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)"}}]},G={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"}}]},W={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%)"}}]},K={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%)"}}]},Q=(e,t)=>{const{plain:n}=e,r=e.styles.reduce(((e,n)=>{const{languages:r,style:a}=n;return r&&!r.includes(t)||n.types.forEach((t=>{const n=S(S({},e[t]),a);e[t]=n})),e}),{});return r.root=n,r.plain=E(S({},n),{backgroundColor:void 0}),r},Y=/\r\n|\r|\n/,Z=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)},X=(e,t)=>{const n=e.length;return n>0&&e[n-1]===t?e:e.concat(t)},J=e=>{const t=[[]],n=[e],r=[0],a=[e.length];let o=0,i=0,l=[];const s=[l];for(;i>-1;){for(;(o=r[i]++)<a[i];){let e,u=t[i];const c=n[i][o];if("string"==typeof c?(u=i>0?u:["plain"],e=c):(u=X(u,c.type),c.alias&&(u=X(u,c.alias)),e=c.content),"string"!=typeof e){i++,t.push(u),n.push(e),r.push(0),a.push(e.length);continue}const d=e.split(Y),p=d.length;l.push({types:u,content:d[0]});for(let t=1;t<p;t++)Z(l),s.push(l=[]),l.push({types:u,content:d[t]})}i--,t.pop(),n.pop(),r.pop(),a.pop()}return Z(l),s},ee=({children:e,language:t,code:n,theme:r,prism:a})=>{const o=t.toLowerCase(),i=((e,t)=>{const[n,r]=(0,c.useState)(Q(t,e)),a=(0,c.useRef)(),o=(0,c.useRef)();return(0,c.useEffect)((()=>{t===a.current&&e===o.current||(a.current=t,o.current=e,r(Q(t,e)))}),[e,t]),n})(o,r),l=(e=>(0,c.useCallback)((t=>{var n=t,{className:r,style:a,line:o}=n,i=C(n,["className","style","line"]);const l=E(S({},i),{className:(0,d.A)("token-line",r)});return"object"==typeof e&&"plain"in e&&(l.style=e.plain),"object"==typeof a&&(l.style=S(S({},l.style||{}),a)),l}),[e]))(i),s=(e=>{const t=(0,c.useCallback)((({types:t,empty:n})=>{if(null!=e)return 1===t.length&&"plain"===t[0]?null!=n?{display:"inline-block"}:void 0:1===t.length&&null!=n?e[t[0]]:Object.assign(null!=n?{display:"inline-block"}:{},...t.map((t=>e[t])))}),[e]);return(0,c.useCallback)((e=>{var n=e,{token:r,className:a,style:o}=n,i=C(n,["token","className","style"]);const l=E(S({},i),{className:(0,d.A)("token",...r.types,a),children:r.content,style:t(r)});return null!=o&&(l.style=S(S({},l.style||{}),o)),l}),[t])})(i),u=(({prism:e,code:t,grammar:n,language:r})=>{const a=(0,c.useRef)(e);return(0,c.useMemo)((()=>{if(null==n)return J([t]);const e={code:t,grammar:n,language:r,tokens:[]};return a.current.hooks.run("before-tokenize",e),e.tokens=a.current.tokenize(t,n),a.current.hooks.run("after-tokenize",e),J(e.tokens)}),[t,n,r])})({prism:a,language:o,code:n,grammar:a.languages[o]});return e({tokens:u,className:`prism-code language-${o}`,style:null!=i?i.root:{},getLineProps:l,getTokenProps:s})},te=e=>(0,c.createElement)(ee,E(S({},e),{prism:e.prism||A,theme:e.theme||q,code:e.code,language:e.language}))},1561:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=!0,a="Invariant failed";function o(e,t){if(!e){if(r)throw new Error(a);var n="function"==typeof t?t():t,o=n?"".concat(a,": ").concat(n):a;throw new Error(o)}}},2654:e=>{"use strict";e.exports={}},4054:e=>{"use strict";e.exports=JSON.parse('{"/search-5de":{"__comp":"1a4e3797","__context":{"plugin":"c141421f"}},"/-e5f":{"__comp":"1df93b7f","__context":{"plugin":"a7456010"},"config":"5e9f5e1a"},"/-13e":{"__comp":"5e95c892","__context":{"plugin":"aba21aa0"}},"/-f90":{"__comp":"a7bd4aaa","__props":"22dd74f7"},"/-81b":{"__comp":"a94703ab"},"/accounting/double-entry-accounting-4a0":{"__comp":"17896441","content":"503c2630"},"/accounting/glossary-b96":{"__comp":"17896441","content":"368a1e78"},"/accounting/intro-c22":{"__comp":"17896441","content":"d540b4e1"},"/docs-b7e":{"__comp":"17896441","content":"0e384e19"},"/docs/account-set-5ec":{"__comp":"17896441","content":"929a6889"},"/docs/check-account-balance-496":{"__comp":"17896441","content":"de557132"},"/docs/create-journal-and-accounts-e94":{"__comp":"17896441","content":"e03721cf"},"/docs/step-by-step-64f":{"__comp":"17896441","content":"b7796488"},"/docs/transaction-post-dd4":{"__comp":"17896441","content":"12ebaf8d"},"/docs/tx-template-create-aec":{"__comp":"17896441","content":"f4d26413"}}')}},e=>{e.O(0,[1869],(()=>{return t=8536,e(e.s=t);var t}));e.O()}]); \ No newline at end of file diff --git a/assets/js/main.152c842a.js.LICENSE.txt b/assets/js/main.98810172.js.LICENSE.txt similarity index 100% rename from assets/js/main.152c842a.js.LICENSE.txt rename to assets/js/main.98810172.js.LICENSE.txt diff --git a/assets/js/runtime~main.32b8c6b9.js b/assets/js/runtime~main.32b8c6b9.js new file mode 100644 index 00000000..5186f05e --- /dev/null +++ b/assets/js/runtime~main.32b8c6b9.js @@ -0,0 +1 @@ +(()=>{"use strict";var e,t,a,r,o,f={},d={};function n(e){var t=d[e];if(void 0!==t)return t.exports;var a=d[e]={id:e,loaded:!1,exports:{}};return f[e].call(a.exports,a,a.exports,n),a.loaded=!0,a.exports}n.m=f,n.c=d,e=[],n.O=(t,a,r,o)=>{if(!a){var f=1/0;for(i=0;i<e.length;i++){a=e[i][0],r=e[i][1],o=e[i][2];for(var d=!0,c=0;c<a.length;c++)(!1&o||f>=o)&&Object.keys(n.O).every((e=>n.O[e](a[c])))?a.splice(c--,1):(d=!1,o<f&&(f=o));if(d){e.splice(i--,1);var b=r();void 0!==b&&(t=b)}}return t}o=o||0;for(var i=e.length;i>0&&e[i-1][2]>o;i--)e[i]=e[i-1];e[i]=[a,r,o]},n.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return n.d(t,{a:t}),t},a=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,n.t=function(e,r){if(1&r&&(e=this(e)),8&r)return e;if("object"==typeof e&&e){if(4&r&&e.__esModule)return e;if(16&r&&"function"==typeof e.then)return e}var o=Object.create(null);n.r(o);var f={};t=t||[null,a({}),a([]),a(a)];for(var d=2&r&&e;"object"==typeof d&&!~t.indexOf(d);d=a(d))Object.getOwnPropertyNames(d).forEach((t=>f[t]=()=>e[t]));return f.default=()=>e,n.d(o,f),o},n.d=(e,t)=>{for(var a in t)n.o(t,a)&&!n.o(e,a)&&Object.defineProperty(e,a,{enumerable:!0,get:t[a]})},n.f={},n.e=e=>Promise.all(Object.keys(n.f).reduce(((t,a)=>(n.f[a](e,t),t)),[])),n.u=e=>"assets/js/"+({957:"c141421f",1235:"a7456010",1438:"12ebaf8d",1567:"22dd74f7",2076:"common",2138:"1a4e3797",3639:"503c2630",3976:"0e384e19",4583:"1df93b7f",4606:"368a1e78",5430:"d540b4e1",5742:"aba21aa0",6238:"e03721cf",6413:"f4d26413",7098:"a7bd4aaa",8401:"17896441",9048:"a94703ab",9155:"929a6889",9260:"b7796488",9647:"5e95c892",9799:"de557132"}[e]||e)+"."+{416:"36a683d5",957:"94fe8bc5",1235:"7b4b0a20",1245:"0096c0d1",1303:"f58d74ff",1331:"0b957d9a",1398:"f9a5d5fb",1438:"840edc16",1567:"efa9877e",1946:"28e63a5c",2076:"eb4a5bf5",2130:"3fd02a97",2138:"a99332a6",2237:"e6fb9380",2376:"7b45a760",2453:"0e02fc20",2548:"443140a8",2843:"4625eac2",2925:"e893bc8d",2983:"91dcb60c",3068:"6d6eb98a",3626:"42342029",3639:"c2fdbb2b",3706:"58f4dce9",3976:"6158cf72",4162:"e128da79",4583:"c33a76b9",4606:"66c08f84",4741:"3408c544",4943:"cf1b98c2",5430:"8611b9e9",5742:"9ac6642b",6238:"3d20b9d4",6413:"e382921e",6420:"ac5234ca",6788:"eeeebf75",6803:"326f077f",7098:"dc097708",7212:"175307cd",7426:"7fb7be50",8055:"ebb0de29",8401:"3f92cdac",8478:"3196b892",8635:"6076fbee",8810:"eb117454",8869:"2ce31d12",8913:"83bce4ad",9048:"c6d34ac9",9155:"7ec9e044",9260:"62dd252c",9462:"b5f9db17",9647:"293bd6c6",9689:"af8fe443",9799:"bf930119"}[e]+".js",n.miniCssF=e=>{},n.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),r={},o="website:",n.l=(e,t,a,f)=>{if(r[e])r[e].push(t);else{var d,c;if(void 0!==a)for(var b=document.getElementsByTagName("script"),i=0;i<b.length;i++){var u=b[i];if(u.getAttribute("src")==e||u.getAttribute("data-webpack")==o+a){d=u;break}}d||(c=!0,(d=document.createElement("script")).charset="utf-8",d.timeout=120,n.nc&&d.setAttribute("nonce",n.nc),d.setAttribute("data-webpack",o+a),d.src=e),r[e]=[t];var l=(t,a)=>{d.onerror=d.onload=null,clearTimeout(s);var o=r[e];if(delete r[e],d.parentNode&&d.parentNode.removeChild(d),o&&o.forEach((e=>e(a))),t)return t(a)},s=setTimeout(l.bind(null,void 0,{type:"timeout",target:d}),12e4);d.onerror=l.bind(null,d.onerror),d.onload=l.bind(null,d.onload),c&&document.head.appendChild(d)}},n.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.p="/",n.gca=function(e){return e={17896441:"8401",c141421f:"957",a7456010:"1235","12ebaf8d":"1438","22dd74f7":"1567",common:"2076","1a4e3797":"2138","503c2630":"3639","0e384e19":"3976","1df93b7f":"4583","368a1e78":"4606",d540b4e1:"5430",aba21aa0:"5742",e03721cf:"6238",f4d26413:"6413",a7bd4aaa:"7098",a94703ab:"9048","929a6889":"9155",b7796488:"9260","5e95c892":"9647",de557132:"9799"}[e]||e,n.p+n.u(e)},(()=>{var e={5354:0,1869:0};n.f.j=(t,a)=>{var r=n.o(e,t)?e[t]:void 0;if(0!==r)if(r)a.push(r[2]);else if(/^(1869|5354)$/.test(t))e[t]=0;else{var o=new Promise(((a,o)=>r=e[t]=[a,o]));a.push(r[2]=o);var f=n.p+n.u(t),d=new Error;n.l(f,(a=>{if(n.o(e,t)&&(0!==(r=e[t])&&(e[t]=void 0),r)){var o=a&&("load"===a.type?"missing":a.type),f=a&&a.target&&a.target.src;d.message="Loading chunk "+t+" failed.\n("+o+": "+f+")",d.name="ChunkLoadError",d.type=o,d.request=f,r[1](d)}}),"chunk-"+t,t)}},n.O.j=t=>0===e[t];var t=(t,a)=>{var r,o,f=a[0],d=a[1],c=a[2],b=0;if(f.some((t=>0!==e[t]))){for(r in d)n.o(d,r)&&(n.m[r]=d[r]);if(c)var i=c(n)}for(t&&t(a);b<f.length;b++)o=f[b],n.o(e,o)&&e[o]&&e[o][0](),e[o]=0;return n.O(i)},a=self.webpackChunkwebsite=self.webpackChunkwebsite||[];a.forEach(t.bind(null,0)),a.push=t.bind(null,a.push.bind(a))})()})(); \ No newline at end of file diff --git a/assets/js/runtime~main.3338c7ef.js b/assets/js/runtime~main.3338c7ef.js deleted file mode 100644 index a32640e5..00000000 --- a/assets/js/runtime~main.3338c7ef.js +++ /dev/null @@ -1 +0,0 @@ -(()=>{"use strict";var e,t,a,r,o,d={},f={};function n(e){var t=f[e];if(void 0!==t)return t.exports;var a=f[e]={id:e,loaded:!1,exports:{}};return d[e].call(a.exports,a,a.exports,n),a.loaded=!0,a.exports}n.m=d,n.c=f,e=[],n.O=(t,a,r,o)=>{if(!a){var d=1/0;for(i=0;i<e.length;i++){a=e[i][0],r=e[i][1],o=e[i][2];for(var f=!0,c=0;c<a.length;c++)(!1&o||d>=o)&&Object.keys(n.O).every((e=>n.O[e](a[c])))?a.splice(c--,1):(f=!1,o<d&&(d=o));if(f){e.splice(i--,1);var b=r();void 0!==b&&(t=b)}}return t}o=o||0;for(var i=e.length;i>0&&e[i-1][2]>o;i--)e[i]=e[i-1];e[i]=[a,r,o]},n.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return n.d(t,{a:t}),t},a=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,n.t=function(e,r){if(1&r&&(e=this(e)),8&r)return e;if("object"==typeof e&&e){if(4&r&&e.__esModule)return e;if(16&r&&"function"==typeof e.then)return e}var o=Object.create(null);n.r(o);var d={};t=t||[null,a({}),a([]),a(a)];for(var f=2&r&&e;"object"==typeof f&&!~t.indexOf(f);f=a(f))Object.getOwnPropertyNames(f).forEach((t=>d[t]=()=>e[t]));return d.default=()=>e,n.d(o,d),o},n.d=(e,t)=>{for(var a in t)n.o(t,a)&&!n.o(e,a)&&Object.defineProperty(e,a,{enumerable:!0,get:t[a]})},n.f={},n.e=e=>Promise.all(Object.keys(n.f).reduce(((t,a)=>(n.f[a](e,t),t)),[])),n.u=e=>"assets/js/"+({957:"c141421f",1235:"a7456010",1438:"12ebaf8d",1567:"22dd74f7",2076:"common",2138:"1a4e3797",3639:"503c2630",3976:"0e384e19",4583:"1df93b7f",4606:"368a1e78",5430:"d540b4e1",5742:"aba21aa0",6238:"e03721cf",6413:"f4d26413",7098:"a7bd4aaa",8401:"17896441",9048:"a94703ab",9260:"b7796488",9647:"5e95c892",9799:"de557132"}[e]||e)+"."+{416:"36a683d5",957:"94fe8bc5",1235:"7b4b0a20",1245:"0096c0d1",1303:"f58d74ff",1331:"0b957d9a",1398:"f9a5d5fb",1438:"14ef6f8d",1567:"c7992af1",1946:"28e63a5c",2076:"f68d5b12",2130:"3fd02a97",2138:"a99332a6",2237:"e6fb9380",2376:"7b45a760",2453:"0e02fc20",2548:"443140a8",2843:"4625eac2",2925:"e893bc8d",2983:"91dcb60c",3068:"6d6eb98a",3626:"42342029",3639:"c2fdbb2b",3706:"58f4dce9",3976:"8f165ead",4162:"e128da79",4583:"c33a76b9",4606:"2f576ff6",4741:"3408c544",4943:"cf1b98c2",5430:"8611b9e9",5742:"9ac6642b",6238:"3d20b9d4",6413:"22ed5226",6420:"ac5234ca",6788:"eeeebf75",6803:"326f077f",7098:"dc097708",7212:"c4341725",7426:"7fb7be50",8401:"3f92cdac",8478:"3196b892",8635:"6076fbee",8810:"eb117454",8869:"2ce31d12",8913:"83bce4ad",9048:"c6d34ac9",9260:"62dd252c",9462:"b5f9db17",9647:"293bd6c6",9689:"af8fe443",9799:"74eed5b0"}[e]+".js",n.miniCssF=e=>{},n.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),r={},o="website:",n.l=(e,t,a,d)=>{if(r[e])r[e].push(t);else{var f,c;if(void 0!==a)for(var b=document.getElementsByTagName("script"),i=0;i<b.length;i++){var u=b[i];if(u.getAttribute("src")==e||u.getAttribute("data-webpack")==o+a){f=u;break}}f||(c=!0,(f=document.createElement("script")).charset="utf-8",f.timeout=120,n.nc&&f.setAttribute("nonce",n.nc),f.setAttribute("data-webpack",o+a),f.src=e),r[e]=[t];var l=(t,a)=>{f.onerror=f.onload=null,clearTimeout(s);var o=r[e];if(delete r[e],f.parentNode&&f.parentNode.removeChild(f),o&&o.forEach((e=>e(a))),t)return t(a)},s=setTimeout(l.bind(null,void 0,{type:"timeout",target:f}),12e4);f.onerror=l.bind(null,f.onerror),f.onload=l.bind(null,f.onload),c&&document.head.appendChild(f)}},n.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.p="/",n.gca=function(e){return e={17896441:"8401",c141421f:"957",a7456010:"1235","12ebaf8d":"1438","22dd74f7":"1567",common:"2076","1a4e3797":"2138","503c2630":"3639","0e384e19":"3976","1df93b7f":"4583","368a1e78":"4606",d540b4e1:"5430",aba21aa0:"5742",e03721cf:"6238",f4d26413:"6413",a7bd4aaa:"7098",a94703ab:"9048",b7796488:"9260","5e95c892":"9647",de557132:"9799"}[e]||e,n.p+n.u(e)},(()=>{var e={5354:0,1869:0};n.f.j=(t,a)=>{var r=n.o(e,t)?e[t]:void 0;if(0!==r)if(r)a.push(r[2]);else if(/^(1869|5354)$/.test(t))e[t]=0;else{var o=new Promise(((a,o)=>r=e[t]=[a,o]));a.push(r[2]=o);var d=n.p+n.u(t),f=new Error;n.l(d,(a=>{if(n.o(e,t)&&(0!==(r=e[t])&&(e[t]=void 0),r)){var o=a&&("load"===a.type?"missing":a.type),d=a&&a.target&&a.target.src;f.message="Loading chunk "+t+" failed.\n("+o+": "+d+")",f.name="ChunkLoadError",f.type=o,f.request=d,r[1](f)}}),"chunk-"+t,t)}},n.O.j=t=>0===e[t];var t=(t,a)=>{var r,o,d=a[0],f=a[1],c=a[2],b=0;if(d.some((t=>0!==e[t]))){for(r in f)n.o(f,r)&&(n.m[r]=f[r]);if(c)var i=c(n)}for(t&&t(a);b<d.length;b++)o=d[b],n.o(e,o)&&e[o]&&e[o][0](),e[o]=0;return n.O(i)},a=self.webpackChunkwebsite=self.webpackChunkwebsite||[];a.forEach(t.bind(null,0)),a.push=t.bind(null,a.push.bind(a))})()})(); \ No newline at end of file diff --git a/docs/account-set/index.html b/docs/account-set/index.html new file mode 100644 index 00000000..1d5f796f --- /dev/null +++ b/docs/account-set/index.html @@ -0,0 +1,61 @@ +<!doctype html> +<html lang="en" dir="ltr" class="docs-wrapper plugin-docs plugin-id-default docs-version-current docs-doc-page docs-doc-id-demo/account-set" data-has-hydrated="false"> +<head> +<meta charset="UTF-8"> +<meta name="generator" content="Docusaurus v3.4.0"> +<title data-rh="true">Use an Account Set | Cala + + + + + + + + + + +

Use an Account Set

Group the created accounts into an account set and check its balance.

+

Create an Account Set

+

This initial step sets up the framework for grouping accounts under a common set for streamlined financial management.

+

Variables

+
    +
  • Account Set ID: The accountSetId uniquely identifies the account set being created.
  • +
  • Journal ID: The journalId links the account set to a specific journal.
  • +
  • Name: The name parameter specifies the label or designation of the account set. This name helps users and systems identify and refer to the account set in operations and reports.
  • +
  • Normal Balance Type: The normalBalanceType indicates the expected normal balance of the account set (either 'DEBIT' or 'CREDIT'). This setting is foundational for ensuring that the account set correctly represents the nature of the majority of its transactions, aiding in proper financial analysis.
  • +
+
{
"input": {
"accountSetId": "e0cacaef-b692-48d6-81e2-238a5a614a04",
"journalId": "bcc24f47-990c-457d-88cb-76332450ac77",
"name": "Main Account Set",
"normalBalanceType": "CREDIT"
}
}
+

GraphQL Request Body

+
mutation accountSetCreate($input: AccountSetCreateInput!) {
accountSetCreate(input: $input) {
accountSet {
accountSetId
name
}
}
}
+

Response

+
{
"data": {
"accountSetCreate": {
"accountSet": {
"accountSetId": "e0cacaef-b692-48d6-81e2-238a5a614a04",
"name": "Main Account Set"
}
}
}
}
+

Add Accounts to the Account Set

+

After creating an account set, this section explains how to add individual accounts to it.

+

Variables

+
    +
  • Account Set ID: The accountSetId specifies which account set the accounts are being added to. This ensures that the accounts are grouped correctly.
  • +
  • Member ID: The memberId refers to the unique identifier of the account (e.g., Alice - Checking) being added to the account set.
  • +
  • Member Type: The memberType indicates the type of member being added to the set, in this case, an "ACCOUNT." This helps the system understand how to treat the member within the set, whether it's an individual account or another entity type.
  • +
+
{
"input": {
"accountSetId": "e0cacaef-b692-48d6-81e2-238a5a614a04",
"memberId": "3a7d421b-7f5a-43ca-ba6f-5f3e6ee67237",
"memberType": "ACCOUNT"
}
}
+

GraphQL Request Body

+
mutation addToAccountSet($input: AddToAccountSetInput!) {
addToAccountSet(input: $input) {
accountSet {
accountSetId
name
balance(currency: "USD") {
settled {
normalBalance {
units
}
}
}
}
}
}
+

Response

+
{
"data": {
"addToAccountSet": {
"accountSet": {
"accountSetId": "e0cacaef-b692-48d6-81e2-238a5a614a04",
"name": "Main Account Set",
"balance": {
"settled": {
"normalBalance": {
"units": "9.53"
}
}
}
}
}
}
}
+

Check the Balance of the Account Set

+

This section explains how to query the balance of the entire account set. This operation is crucial for obtaining a consolidated view of the financial status represented by the account set, providing valuable insights into the overall financial health of the grouped accounts.

+

Variables

+
    +
  • Account Set ID: The accountSetId is used to identify which account set's balance is being queried. This identification is essential for retrieving the correct balance information from potentially multiple sets.
  • +
  • Journal ID: The journalId helps to specify the journal context for the balance query. Since an account set could potentially be linked to multiple journals over time, this helps ensure the balance retrieved is relevant to the specified journal.
  • +
  • Currency: The currency specifies the currency unit (e.g., USD) in which the balance should be reported.
  • +
+
{
"accountSetId": "e0cacaef-b692-48d6-81e2-238a5a614a04",
"journalId": "bcc24f47-990c-457d-88cb-76332450ac77",
"currency": "USD"
}
+

GraphQL Request Body

+
query accountSetWithBalance($accountSetId: UUID!, $currency: CurrencyCode!) {
accountSet(id: $accountSetId) {
name
journalId
balance(currency: $currency) {
settled {
normalBalance {
units
}
}
}
}
}
+

Response

+
{
"data": {
"accountSet": {
"name": "Main Account Set",
"journalId": "bcc24f47-990c-457d-88cb-76332450ac77",
"balance": {
"settled": {
"normalBalance": {
"units": "9.53"
}
}
}
}
}
}
+

Significance

+

This page details how to use the GraphQL API to create an Account Set, add accounts, and query the balance of the Set. This method simplifies account management and enhances oversight by offering a unified view of financial health across grouped accounts. By consolidating accounts, businesses can streamline processes, enforce consistent transaction rules, and achieve detailed financial reporting and decision-making based on aggregated insights.

+ + \ No newline at end of file diff --git a/docs/check-account-balance/index.html b/docs/check-account-balance/index.html index eaa68122..6877ee56 100644 --- a/docs/check-account-balance/index.html +++ b/docs/check-account-balance/index.html @@ -3,18 +3,18 @@ -Check Account Balance | Cala +Check the Balance of an Account | Cala - - + + -

Check Account Balance

The functionality is essential for users (e.g., account holders, financial managers) to view the balance of a specific account in a particular journal and currency. This allows for real-time financial monitoring and decision-making based on up-to-date account information.

+ +
\ No newline at end of file diff --git a/docs/create-journal-and-accounts/index.html b/docs/create-journal-and-accounts/index.html index 319b68e8..1efda19c 100644 --- a/docs/create-journal-and-accounts/index.html +++ b/docs/create-journal-and-accounts/index.html @@ -10,12 +10,12 @@ - - + + -

Create a Journal and Accounts

Create different types of accounts (journal, checking, and debit accounts) through the GraphQL API.

-

Create a Journal

+

Create a Journal and Accounts

Create different types of accounts (journal, checking, and debit accounts) through the GraphQL API.

+

Create a Journal

Initiate the creation of a journal, specifically a "General Ledger," which is fundamental in accounting for keeping track of all the financial transactions of a company.

Variables

The GraphQL mutation request input contains the unique ID and the name of the journal. The system creates a journal entity with these details.

@@ -45,6 +45,6 @@

Graph
mutation accountCreate($input: AccountCreateInput!) {
accountCreate(input: $input) {
account {
accountId
name
}
}
}

Response

The response shows the successful creation of the debit account, confirming that it's set up to track asset-related transactions.

-
{
"data": {
"accountCreate": {
"account": {
"accountId": "2e40175d-35c2-4b6f-9c01-cc2309934d25",
"name": "Assets"
}
}
}
}
+
{
"data": {
"accountCreate": {
"account": {
"accountId": "2e40175d-35c2-4b6f-9c01-cc2309934d25",
"name": "Assets"
}
}
}
}
\ No newline at end of file diff --git a/docs/index.html b/docs/index.html index 12fd7060..569d5952 100644 --- a/docs/index.html +++ b/docs/index.html @@ -10,11 +10,11 @@ - - + + -

Try Cala

Install Docker and Docker Compose

+ +
docker-compose down
\ No newline at end of file diff --git a/docs/step-by-step/index.html b/docs/step-by-step/index.html index 9de6fd96..69778d95 100644 --- a/docs/step-by-step/index.html +++ b/docs/step-by-step/index.html @@ -10,11 +10,11 @@ - - + + -

Accounting with Cala Step-by-Step

    +

    Accounting with Cala Step-by-Step

    1. Create Journals and Accounts: Start by setting up journals and accounts. Journals will hold the records of all transactions, and accounts will be used to categorize these transactions.

    2. @@ -28,6 +28,6 @@

      Check Account Balances: Regularly query the balances of accounts to monitor the financial status. This helps in maintaining accurate and up-to-date financial records.

    -

    By following these steps and understanding the glossary of terms, you'll be well-equipped to use Cala to build robust banking software. This structured approach ensures that your financial transactions are accurate, consistent, and compliant with accounting standards.

    +

    By following these steps and understanding the glossary of terms, you'll be well-equipped to use Cala to build robust banking software. This structured approach ensures that your financial transactions are accurate, consistent, and compliant with accounting standards.

\ No newline at end of file diff --git a/docs/transaction-post/index.html b/docs/transaction-post/index.html index 3e92ec6a..213283e2 100644 --- a/docs/transaction-post/index.html +++ b/docs/transaction-post/index.html @@ -10,11 +10,11 @@ - - + + -

Post a Transaction

This functionality allows to execute financial transactions based on predefined parameters and templates. The specific transaction being posted here is based on a deposit template, which facilitates adding funds to a user's account.

+

Post a Transaction

This functionality allows to execute financial transactions based on predefined parameters and templates. The specific transaction being posted here is based on a deposit template, which facilitates adding funds to a user's account.

Process

Variables

Significance

-

Posting transactions in a controlled and templated manner reduces errors and ensures consistency in transaction handling. It allows financial institutions or businesses to handle financial transactions systematically, providing clarity and reliability in financial operations. This process is particularly important in environments where accuracy and consistency in financial transactions are critical for compliance and operational integrity.

+

Posting transactions in a controlled and templated manner reduces errors and ensures consistency in transaction handling. It allows financial institutions or businesses to handle financial transactions systematically, providing clarity and reliability in financial operations. This process is particularly important in environments where accuracy and consistency in financial transactions are critical for compliance and operational integrity.

\ No newline at end of file diff --git a/docs/tx-template-create/index.html b/docs/tx-template-create/index.html index de79cdb4..10db4d50 100644 --- a/docs/tx-template-create/index.html +++ b/docs/tx-template-create/index.html @@ -10,11 +10,11 @@ - - + + -

Create Transaction Templates

This functionality allows a user (an administrator or financial manager) to define templates for recurring transaction types - specifically deposits and withdrawals. By defining these templates, the user ensures consistency, accuracy, and efficiency in transaction processing.

+

Create Transaction Templates

This functionality allows a user (an administrator or financial manager) to define templates for recurring transaction types - specifically deposits and withdrawals. By defining these templates, the user ensures consistency, accuracy, and efficiency in transaction processing.

Process

Creation of Deposit Transaction Template

    @@ -42,7 +42,7 @@

    GraphQL Request Body

    -
    mutation CreateDepositAndWithdrawalTxTemplates(
    $depositTemplateId: UUID!
    $depositTemplateCode: String!
    $withdrawalTemplateId: UUID!
    $withdrawalTemplateCode: String!
    $journalId: Expression!
    $assetAccountId: Expression!
    ) {
    depositTemplate: txTemplateCreate(
    input: {
    txTemplateId: $depositTemplateId
    code: $depositTemplateCode
    description: "An ACH credit into a customer account."
    params: [
    { name: "account", type: UUID, description: "Deposit account ID." }
    {
    name: "amount"
    type: DECIMAL
    description: "Amount with decimal, e.g. `1.23`."
    }
    {
    name: "effective"
    type: DATE
    description: "Effective date for transaction."
    }
    ]
    txInput: { journalId: $journalId, effective: "params.effective" }
    entries: [
    {
    accountId: $assetAccountId
    units: "params.amount"
    currency: "'USD'"
    entryType: "'ACH_DR'"
    direction: "DEBIT"
    layer: "SETTLED"
    }
    {
    accountId: "params.account"
    units: "params.amount"
    currency: "'USD'"
    entryType: "'ACH_CR'"
    direction: "CREDIT"
    layer: "SETTLED"
    }
    ]
    }
    ) {
    txTemplate {
    txTemplateId
    }
    }

    withdrawalTemplate: txTemplateCreate(
    input: {
    txTemplateId: $withdrawalTemplateId
    code: $withdrawalTemplateCode
    description: "An ACH debit into a customer account."
    params: [
    { name: "account", type: UUID, description: "Withdraw account ID." }
    {
    name: "amount"
    type: DECIMAL
    description: "Amount with decimal, e.g. `1.23`."
    }
    {
    name: "effective"
    type: DATE
    description: "Effective date for transaction."
    }
    ]
    txInput: { journalId: $journalId, effective: "params.effective" }
    entries: [
    {
    accountId: $assetAccountId
    units: "params.amount"
    currency: "'USD'"
    entryType: "'ACH_CR'"
    direction: "CREDIT"
    layer: "SETTLED"
    }
    {
    accountId: "params.account"
    units: "params.amount"
    currency: "'USD'"
    entryType: "'ACH_DR'"
    direction: "DEBIT"
    layer: "SETTLED"
    }
    ]
    }
    ) {
    txTemplate {
    txTemplateId
    }
    }
    }
    +
    mutation CreateDepositAndWithdrawalTxTemplates(
    $depositTemplateId: UUID!
    $depositTemplateCode: String!
    $withdrawalTemplateId: UUID!
    $withdrawalTemplateCode: String!
    $journalId: Expression!
    $assetAccountId: Expression!
    ) {
    depositTemplate: txTemplateCreate(
    input: {
    txTemplateId: $depositTemplateId
    code: $depositTemplateCode
    description: "An ACH credit into a customer account."
    params: [
    { name: "account", type: UUID, description: "Deposit account ID." }
    {
    name: "amount"
    type: DECIMAL
    description: "Amount with decimal, e.g. `1.23`."
    }
    {
    name: "effective"
    type: DATE
    description: "Effective date for transaction."
    }
    ]
    transaction: { journalId: $journalId, effective: "params.effective" }
    entries: [
    {
    accountId: $assetAccountId
    units: "params.amount"
    currency: "'USD'"
    entryType: "'ACH_DR'"
    direction: "DEBIT"
    layer: "SETTLED"
    }
    {
    accountId: "params.account"
    units: "params.amount"
    currency: "'USD'"
    entryType: "'ACH_CR'"
    direction: "CREDIT"
    layer: "SETTLED"
    }
    ]
    }
    ) {
    txTemplate {
    txTemplateId
    }
    }

    withdrawalTemplate: txTemplateCreate(
    input: {
    txTemplateId: $withdrawalTemplateId
    code: $withdrawalTemplateCode
    description: "An ACH debit into a customer account."
    params: [
    { name: "account", type: UUID, description: "Withdraw account ID." }
    {
    name: "amount"
    type: DECIMAL
    description: "Amount with decimal, e.g. `1.23`."
    }
    {
    name: "effective"
    type: DATE
    description: "Effective date for transaction."
    }
    ]
    transaction: { journalId: $journalId, effective: "params.effective" }
    entries: [
    {
    accountId: $assetAccountId
    units: "params.amount"
    currency: "'USD'"
    entryType: "'ACH_CR'"
    direction: "CREDIT"
    layer: "SETTLED"
    }
    {
    accountId: "params.account"
    units: "params.amount"
    currency: "'USD'"
    entryType: "'ACH_DR'"
    direction: "DEBIT"
    layer: "SETTLED"
    }
    ]
    }
    ) {
    txTemplate {
    txTemplateId
    }
    }
    }

    Variables

Significance

-

Creating transaction templates standardizes the execution of frequent transaction types, reducing errors and the time needed for transaction entry. This systematization is crucial for large organizations or financial institutions where transactions occur regularly and need to adhere to strict regulatory and internal standards. The use of GraphQL allows for clear, customizable, and direct communication with the database, facilitating dynamic interaction with the financial data.

+

Creating transaction templates standardizes the execution of frequent transaction types, reducing errors and the time needed for transaction entry. This systematization is crucial for large organizations or financial institutions where transactions occur regularly and need to adhere to strict regulatory and internal standards. The use of GraphQL allows for clear, customizable, and direct communication with the database, facilitating dynamic interaction with the financial data.

\ No newline at end of file diff --git a/index.html b/index.html index 6e435e61..fc95ff3d 100644 --- a/index.html +++ b/index.html @@ -10,10 +10,10 @@ - - + + - + \ No newline at end of file diff --git a/search/index.html b/search/index.html index 5a03c8aa..2c39b38f 100644 --- a/search/index.html +++ b/search/index.html @@ -10,10 +10,10 @@ - - + + - + \ No newline at end of file diff --git a/sitemap.xml b/sitemap.xml index ada61270..643fac66 100644 --- a/sitemap.xml +++ b/sitemap.xml @@ -1 +1 @@ -https://cala.sh/searchweekly0.5https://cala.sh/weekly0.5https://cala.sh/accounting/double-entry-accountingweekly0.5https://cala.sh/accounting/glossaryweekly0.5https://cala.sh/accounting/introweekly0.5https://cala.sh/docsweekly0.5https://cala.sh/docs/check-account-balanceweekly0.5https://cala.sh/docs/create-journal-and-accountsweekly0.5https://cala.sh/docs/step-by-stepweekly0.5https://cala.sh/docs/transaction-postweekly0.5https://cala.sh/docs/tx-template-createweekly0.5 \ No newline at end of file +https://cala.sh/searchweekly0.5https://cala.sh/weekly0.5https://cala.sh/accounting/double-entry-accountingweekly0.5https://cala.sh/accounting/glossaryweekly0.5https://cala.sh/accounting/introweekly0.5https://cala.sh/docsweekly0.5https://cala.sh/docs/account-setweekly0.5https://cala.sh/docs/check-account-balanceweekly0.5https://cala.sh/docs/create-journal-and-accountsweekly0.5https://cala.sh/docs/step-by-stepweekly0.5https://cala.sh/docs/transaction-postweekly0.5https://cala.sh/docs/tx-template-createweekly0.5 \ No newline at end of file