From 6ffbd52875963b2e12a7d48e151c5aa0a7032238 Mon Sep 17 00:00:00 2001 From: Github Deployment Date: Mon, 20 May 2024 00:05:54 +0000 Subject: [PATCH] deploy latest main --- assets/{apis-Cz6Otmp9.js => apis-D8F-QCGv.js} | 2 +- assets/{client-BgaL9RwG.js => client-ClpWnpXL.js} | 2 +- assets/{codegen-BYKrWVlU.js => codegen-BKQwSmbi.js} | 2 +- .../{constants-waEoK2Pg.js => constants-Bix42yjo.js} | 2 +- ...started-L-jvfI-a.js => getting-started-CcLvYk78.js} | 10 +++++----- assets/{index-D1EFUyQH.js => index-D2cdgzBc.js} | 2 +- assets/{index-CnhgBks4.js => index-DBGcajzP.js} | 4 ++-- .../{providers-Cv3d4kKp.js => providers-BU4ragnR.js} | 2 +- assets/{queries-CbKGZF_c.js => queries-BulcR9Vi.js} | 2 +- assets/{signers-oNd0Cq5s.js => signers-CeGt6-FV.js} | 2 +- assets/style-DiADXQLC.css | 1 - assets/style-tY_lfRBg.css | 1 + assets/{typed-D4g5AJsN.js => typed-ByiZhdT5.js} | 2 +- assets/{types-BqJWXfAw.js => types-kMiv1VX1.js} | 2 +- assets/{upgrade-DGR_r9bB.js => upgrade-MDfuJAwV.js} | 2 +- client/index.html | 4 ++-- codegen/index.html | 4 ++-- getting-started/index.html | 4 ++-- index.html | 4 ++-- providers/index.html | 4 ++-- recipes/upgrade/index.html | 4 ++-- signers/index.html | 4 ++-- typed/apis/index.html | 4 ++-- typed/constants/index.html | 4 ++-- typed/index.html | 4 ++-- typed/queries/index.html | 4 ++-- types/index.html | 4 ++-- 27 files changed, 43 insertions(+), 43 deletions(-) rename assets/{apis-Cz6Otmp9.js => apis-D8F-QCGv.js} (99%) rename assets/{client-BgaL9RwG.js => client-ClpWnpXL.js} (99%) rename assets/{codegen-BYKrWVlU.js => codegen-BKQwSmbi.js} (99%) rename assets/{constants-waEoK2Pg.js => constants-Bix42yjo.js} (98%) rename assets/{getting-started-L-jvfI-a.js => getting-started-CcLvYk78.js} (94%) rename assets/{index-D1EFUyQH.js => index-D2cdgzBc.js} (98%) rename assets/{index-CnhgBks4.js => index-DBGcajzP.js} (97%) rename assets/{providers-Cv3d4kKp.js => providers-BU4ragnR.js} (99%) rename assets/{queries-CbKGZF_c.js => queries-BulcR9Vi.js} (99%) rename assets/{signers-oNd0Cq5s.js => signers-CeGt6-FV.js} (99%) delete mode 100644 assets/style-DiADXQLC.css create mode 100644 assets/style-tY_lfRBg.css rename assets/{typed-D4g5AJsN.js => typed-ByiZhdT5.js} (99%) rename assets/{types-BqJWXfAw.js => types-kMiv1VX1.js} (99%) rename assets/{upgrade-DGR_r9bB.js => upgrade-MDfuJAwV.js} (99%) diff --git a/assets/apis-Cz6Otmp9.js b/assets/apis-D8F-QCGv.js similarity index 99% rename from assets/apis-Cz6Otmp9.js rename to assets/apis-D8F-QCGv.js index 6c24b24d..525a298a 100644 --- a/assets/apis-Cz6Otmp9.js +++ b/assets/apis-D8F-QCGv.js @@ -1,4 +1,4 @@ -import{u as l,j as s}from"./index-CnhgBks4.js";const n={title:"Runtime APIs",description:"undefined"};function a(e){const i={a:"a",code:"code",div:"div",h1:"h1",header:"header",p:"p",pre:"pre",span:"span",...l(),...e.components};return s.jsxs(s.Fragment,{children:[s.jsx(i.header,{children:s.jsxs(i.h1,{id:"runtime-apis",children:["Runtime APIs",s.jsx(i.a,{"aria-hidden":"true",tabIndex:"-1",href:"#runtime-apis",children:s.jsx(i.div,{"data-autolink-icon":!0})})]})}),` +import{u as l,j as s}from"./index-DBGcajzP.js";const n={title:"Runtime APIs",description:"undefined"};function a(e){const i={a:"a",code:"code",div:"div",h1:"h1",header:"header",p:"p",pre:"pre",span:"span",...l(),...e.components};return s.jsxs(s.Fragment,{children:[s.jsx(i.header,{children:s.jsxs(i.h1,{id:"runtime-apis",children:["Runtime APIs",s.jsx(i.a,{"aria-hidden":"true",tabIndex:"-1",href:"#runtime-apis",children:s.jsx(i.div,{"data-autolink-icon":!0})})]})}),` `,s.jsxs(i.p,{children:["Runtime APIs (aka Runtime calls in other frameworks) directly query the wasm runtime to get some information. In PAPI they're under ",s.jsx(i.code,{children:"typedApi.apis"}),". Let's see its interface:"]}),` `,s.jsx(i.pre,{className:"shiki shiki-themes github-light github-dark-dimmed",style:{backgroundColor:"#fff","--shiki-dark-bg":"#22272e",color:"#24292e","--shiki-dark":"#adbac7"},tabIndex:"0",children:s.jsxs(i.code,{children:[s.jsxs(i.span,{className:"line",children:[s.jsx(i.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:"type"}),s.jsx(i.span,{style:{color:"#6F42C1","--shiki-dark":"#F69D50"},children:" CallOptions"}),s.jsx(i.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:" ="}),s.jsx(i.span,{style:{color:"#6F42C1","--shiki-dark":"#F69D50"},children:" Partial"}),s.jsx(i.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:"<{"})]}),` `,s.jsxs(i.span,{className:"line",children:[s.jsx(i.span,{style:{color:"#E36209","--shiki-dark":"#F69D50"},children:" at"}),s.jsx(i.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:":"}),s.jsx(i.span,{style:{color:"#005CC5","--shiki-dark":"#6CB6FF"},children:" string"})]}),` diff --git a/assets/client-BgaL9RwG.js b/assets/client-ClpWnpXL.js similarity index 99% rename from assets/client-BgaL9RwG.js rename to assets/client-ClpWnpXL.js index 1e2e627f..83bd4f9d 100644 --- a/assets/client-BgaL9RwG.js +++ b/assets/client-ClpWnpXL.js @@ -1,4 +1,4 @@ -import{u as n,j as s}from"./index-CnhgBks4.js";const r={title:"PolkadotClient",description:"undefined"};function i(e){const l={a:"a",code:"code",div:"div",h1:"h1",header:"header",p:"p",pre:"pre",span:"span",...n(),...e.components};return s.jsxs(s.Fragment,{children:[s.jsx(l.header,{children:s.jsxs(l.h1,{id:"polkadotclient",children:["PolkadotClient",s.jsx(l.a,{"aria-hidden":"true",tabIndex:"-1",href:"#polkadotclient",children:s.jsx(l.div,{"data-autolink-icon":!0})})]})}),` +import{u as n,j as s}from"./index-DBGcajzP.js";const r={title:"PolkadotClient",description:"undefined"};function i(e){const l={a:"a",code:"code",div:"div",h1:"h1",header:"header",p:"p",pre:"pre",span:"span",...n(),...e.components};return s.jsxs(s.Fragment,{children:[s.jsx(l.header,{children:s.jsxs(l.h1,{id:"polkadotclient",children:["PolkadotClient",s.jsx(l.a,{"aria-hidden":"true",tabIndex:"-1",href:"#polkadotclient",children:s.jsx(l.div,{"data-autolink-icon":!0})})]})}),` `,s.jsxs(l.p,{children:[s.jsx(l.code,{children:"PolkadotClient"})," interface shapes the top-level API for ",s.jsx(l.code,{children:"polkadot-api"}),". Once we get a client using ",s.jsx(l.code,{children:"createClient"})," function, we'll find the following:"]}),` `,s.jsx(l.pre,{className:"shiki shiki-themes github-light github-dark-dimmed",style:{backgroundColor:"#fff","--shiki-dark-bg":"#22272e",color:"#24292e","--shiki-dark":"#adbac7"},tabIndex:"0",children:s.jsxs(l.code,{children:[s.jsxs(l.span,{className:"line",children:[s.jsx(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:"interface"}),s.jsx(l.span,{style:{color:"#6F42C1","--shiki-dark":"#F69D50"},children:" PolkadotClient"}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:" {"})]}),` `,s.jsx(l.span,{className:"line",children:s.jsx(l.span,{style:{color:"#6A737D","--shiki-dark":"#768390"},children:" /**"})}),` diff --git a/assets/codegen-BYKrWVlU.js b/assets/codegen-BKQwSmbi.js similarity index 99% rename from assets/codegen-BYKrWVlU.js rename to assets/codegen-BKQwSmbi.js index 22de350e..38852391 100644 --- a/assets/codegen-BYKrWVlU.js +++ b/assets/codegen-BKQwSmbi.js @@ -1,4 +1,4 @@ -import{u as l,j as s}from"./index-CnhgBks4.js";const r={title:"Codegen",description:"undefined"};function n(i){const e={a:"a",aside:"aside",code:"code",div:"div",h1:"h1",h2:"h2",header:"header",li:"li",p:"p",pre:"pre",span:"span",ul:"ul",...l(),...i.components};return s.jsxs(s.Fragment,{children:[s.jsx(e.header,{children:s.jsxs(e.h1,{id:"codegen",children:["Codegen",s.jsx(e.a,{"aria-hidden":"true",tabIndex:"-1",href:"#codegen",children:s.jsx(e.div,{"data-autolink-icon":!0})})]})}),` +import{u as l,j as s}from"./index-DBGcajzP.js";const r={title:"Codegen",description:"undefined"};function n(i){const e={a:"a",aside:"aside",code:"code",div:"div",h1:"h1",h2:"h2",header:"header",li:"li",p:"p",pre:"pre",span:"span",ul:"ul",...l(),...i.components};return s.jsxs(s.Fragment,{children:[s.jsx(e.header,{children:s.jsxs(e.h1,{id:"codegen",children:["Codegen",s.jsx(e.a,{"aria-hidden":"true",tabIndex:"-1",href:"#codegen",children:s.jsx(e.div,{"data-autolink-icon":!0})})]})}),` `,s.jsx(e.p,{children:"Technically, to connect to a chain, all you need is just the provider. But to interact with it, you need to know the list of storage, runtime, and transaction calls and their types."}),` `,s.jsx(e.p,{children:"During runtime, the library can request the metadata for the chain it's connected to, and from this, it generates all the codecs to interact with it. But as a developer, you need to get that information beforehand."}),` `,s.jsx(e.p,{children:"Polkadot-API has a CLI that downloads the metadata for a chain and then uses that metadata to generate all the type descriptors."}),` diff --git a/assets/constants-waEoK2Pg.js b/assets/constants-Bix42yjo.js similarity index 98% rename from assets/constants-waEoK2Pg.js rename to assets/constants-Bix42yjo.js index 9f4fdbd3..472b43e6 100644 --- a/assets/constants-waEoK2Pg.js +++ b/assets/constants-Bix42yjo.js @@ -1,4 +1,4 @@ -import{u as r,j as s}from"./index-CnhgBks4.js";const a={title:"Constants",description:"undefined"};function i(n){const e={a:"a",code:"code",div:"div",h1:"h1",header:"header",li:"li",p:"p",pre:"pre",span:"span",ul:"ul",...r(),...n.components};return s.jsxs(s.Fragment,{children:[s.jsx(e.header,{children:s.jsxs(e.h1,{id:"constants",children:["Constants",s.jsx(e.a,{"aria-hidden":"true",tabIndex:"-1",href:"#constants",children:s.jsx(e.div,{"data-autolink-icon":!0})})]})}),` +import{u as r,j as s}from"./index-DBGcajzP.js";const a={title:"Constants",description:"undefined"};function i(n){const e={a:"a",code:"code",div:"div",h1:"h1",header:"header",li:"li",p:"p",pre:"pre",span:"span",ul:"ul",...r(),...n.components};return s.jsxs(s.Fragment,{children:[s.jsx(e.header,{children:s.jsxs(e.h1,{id:"constants",children:["Constants",s.jsx(e.a,{"aria-hidden":"true",tabIndex:"-1",href:"#constants",children:s.jsx(e.div,{"data-autolink-icon":!0})})]})}),` `,s.jsxs(e.p,{children:["Constants are the simplest structure that we find inside the ",s.jsx(e.code,{children:"TypedApi"}),". Constants are hard-coded key-value pairs that are embedded in the runtime metadata. In PAPI their structure is just a simple function that return its decoded value, with two alternatives. As explained in ",s.jsx(e.a,{href:"/typed",children:"the previous section"})," for ",s.jsx(e.code,{children:"isCompatible"}),", we have two options to get the value:"]}),` `,s.jsxs(e.ul,{children:[` `,s.jsx(e.li,{children:"Promise-based call, without passing the runtime"}),` diff --git a/assets/getting-started-L-jvfI-a.js b/assets/getting-started-CcLvYk78.js similarity index 94% rename from assets/getting-started-L-jvfI-a.js rename to assets/getting-started-CcLvYk78.js index ff6a302a..0cce1e91 100644 --- a/assets/getting-started-L-jvfI-a.js +++ b/assets/getting-started-CcLvYk78.js @@ -1,4 +1,4 @@ -import{j as s,$ as h,a as t,b as k,c as p,u as o}from"./index-CnhgBks4.js";const a=({options:i,children:e})=>s.jsxs(h,{className:"Tabs__root border rounded bg-[--vocs-color_codeBlockBackground] border-[--vocs-color_codeInlineBorder]",defaultValue:Object.keys(i)[0],children:[s.jsx(t,{className:"Tabs__list flex flex-wrap px-2 bg-[--vocs-color_codeTitleBackground]",children:Object.entries(i).map(([r,d])=>s.jsx(k,{className:"text-sm p-3 pb-2 text-[--vocs-color_text3] border-b border-transparent hover:text-[--vocs-color_text] [&[data-state='active']]:text-[--vocs-color_text] [&[data-state='active']]:border-[--vocs-color_borderAccent]",value:r,children:d},r))}),e]}),l=i=>s.jsx(p,{...i}),x=Object.freeze(Object.defineProperty({__proto__:null,Content:l,Root:a},Symbol.toStringTag,{value:"Module"})),y={title:"Getting Started",description:"undefined"};function c(i){const e={a:"a",aside:"aside",code:"code",div:"div",h1:"h1",header:"header",p:"p",pre:"pre",span:"span",...o(),...i.components};return x||n("Tabs",!1),l||n("Tabs.Content",!0),a||n("Tabs.Root",!0),s.jsxs(s.Fragment,{children:[s.jsx(e.header,{children:s.jsxs(e.h1,{id:"getting-started",children:["Getting Started",s.jsx(e.a,{"aria-hidden":"true",tabIndex:"-1",href:"#getting-started",children:s.jsx(e.div,{"data-autolink-icon":!0})})]})}),` +import{j as s,$ as h,a as t,b as k,c as p,u as o}from"./index-DBGcajzP.js";const a=({options:i,children:e})=>s.jsxs(h,{className:"Tabs__root border rounded bg-[--vocs-color_codeBlockBackground] border-[--vocs-color_codeInlineBorder]",defaultValue:Object.keys(i)[0],children:[s.jsx(t,{className:"Tabs__list flex flex-wrap px-2 bg-[--vocs-color_codeTitleBackground]",children:Object.entries(i).map(([r,d])=>s.jsx(k,{className:"text-sm p-3 pb-2 text-[--vocs-color_text3] border-b border-transparent hover:text-[--vocs-color_text] [&[data-state='active']]:text-[--vocs-color_text] [&[data-state='active']]:border-[--vocs-color_borderAccent]",value:r,children:d},r))}),e]}),l=i=>s.jsx(p,{...i}),x=Object.freeze(Object.defineProperty({__proto__:null,Content:l,Root:a},Symbol.toStringTag,{value:"Module"})),y={title:"Getting Started",description:"undefined"};function c(i){const e={a:"a",aside:"aside",code:"code",div:"div",h1:"h1",header:"header",p:"p",pre:"pre",span:"span",...o(),...i.components};return x||n("Tabs",!1),l||n("Tabs.Content",!0),a||n("Tabs.Root",!0),s.jsxs(s.Fragment,{children:[s.jsx(e.header,{children:s.jsxs(e.h1,{id:"getting-started",children:["Getting Started",s.jsx(e.a,{"aria-hidden":"true",tabIndex:"-1",href:"#getting-started",children:s.jsx(e.div,{"data-autolink-icon":!0})})]})}),` `,s.jsxs(e.p,{children:["Start by installing ",s.jsx(e.code,{children:"polkadot-api"})," and ",s.jsx(e.code,{children:"@polkadot-api/descriptors"})]}),` `,s.jsx(e.pre,{className:"shiki shiki-themes github-light github-dark-dimmed",style:{backgroundColor:"#fff","--shiki-dark-bg":"#22272e",color:"#24292e","--shiki-dark":"#adbac7"},tabIndex:"0",children:s.jsx(e.code,{children:s.jsxs(e.span,{className:"line",children:[s.jsx(e.span,{style:{color:"#6F42C1","--shiki-dark":"#F69D50"},children:"npm"}),s.jsx(e.span,{style:{color:"#032F62","--shiki-dark":"#96D0FF"},children:" i"}),s.jsx(e.span,{style:{color:"#032F62","--shiki-dark":"#96D0FF"},children:" polkadot-api"}),s.jsx(e.span,{style:{color:"#032F62","--shiki-dark":"#96D0FF"},children:" @polkadot-api/descriptors"})]})})}),` `,s.jsx(e.p,{children:"Next, download the latest metadata from the chain you want to connect to and generate the types:"}),` @@ -28,7 +28,7 @@ import{j as s,$ as h,a as t,b as k,c as p,u as o}from"./index-CnhgBks4.js";const `,s.jsx(e.span,{className:"line","data-empty-line":!0,children:" "}),` `,s.jsx(e.span,{className:"line",children:s.jsx(e.span,{style:{color:"#6A737D","--shiki-dark":"#768390"},children:"// With the `client`, you can get information such as subscribing to the last"})}),` `,s.jsx(e.span,{className:"line",children:s.jsx(e.span,{style:{color:"#6A737D","--shiki-dark":"#768390"},children:"// block to get the latest hash:"})}),` -`,s.jsxs(e.span,{className:"line",children:[s.jsx(e.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:"client.finalized$."}),s.jsx(e.span,{style:{color:"#6F42C1","--shiki-dark":"#DCBDFB"},children:"subscribe"}),s.jsx(e.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:"(("}),s.jsx(e.span,{style:{color:"#E36209","--shiki-dark":"#F69D50"},children:"finalizedBlock"}),s.jsx(e.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:") "}),s.jsx(e.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:"=>"})]}),` +`,s.jsxs(e.span,{className:"line",children:[s.jsx(e.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:"client.finalizedBlock$."}),s.jsx(e.span,{style:{color:"#6F42C1","--shiki-dark":"#DCBDFB"},children:"subscribe"}),s.jsx(e.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:"(("}),s.jsx(e.span,{style:{color:"#E36209","--shiki-dark":"#F69D50"},children:"finalizedBlock"}),s.jsx(e.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:") "}),s.jsx(e.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:"=>"})]}),` `,s.jsxs(e.span,{className:"line",children:[s.jsx(e.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:" console."}),s.jsx(e.span,{style:{color:"#6F42C1","--shiki-dark":"#DCBDFB"},children:"log"}),s.jsx(e.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:"(finalizedBlock.number, finalizedBlock.hash),"})]}),` `,s.jsx(e.span,{className:"line",children:s.jsx(e.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:")"})}),` `,s.jsx(e.span,{className:"line","data-empty-line":!0,children:" "}),` @@ -56,7 +56,7 @@ import{j as s,$ as h,a as t,b as k,c as p,u as o}from"./index-CnhgBks4.js";const `,s.jsx(e.span,{className:"line","data-empty-line":!0,children:" "}),` `,s.jsx(e.span,{className:"line",children:s.jsx(e.span,{style:{color:"#6A737D","--shiki-dark":"#768390"},children:"// With the `client`, you can get information such as subscribing to the last"})}),` `,s.jsx(e.span,{className:"line",children:s.jsx(e.span,{style:{color:"#6A737D","--shiki-dark":"#768390"},children:"// block to get the latest hash:"})}),` -`,s.jsxs(e.span,{className:"line",children:[s.jsx(e.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:"client.finalized$."}),s.jsx(e.span,{style:{color:"#6F42C1","--shiki-dark":"#DCBDFB"},children:"subscribe"}),s.jsx(e.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:"(("}),s.jsx(e.span,{style:{color:"#E36209","--shiki-dark":"#F69D50"},children:"finalizedBlock"}),s.jsx(e.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:") "}),s.jsx(e.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:"=>"})]}),` +`,s.jsxs(e.span,{className:"line",children:[s.jsx(e.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:"client.finalizedBlock$."}),s.jsx(e.span,{style:{color:"#6F42C1","--shiki-dark":"#DCBDFB"},children:"subscribe"}),s.jsx(e.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:"(("}),s.jsx(e.span,{style:{color:"#E36209","--shiki-dark":"#F69D50"},children:"finalizedBlock"}),s.jsx(e.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:") "}),s.jsx(e.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:"=>"})]}),` `,s.jsxs(e.span,{className:"line",children:[s.jsx(e.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:" console."}),s.jsx(e.span,{style:{color:"#6F42C1","--shiki-dark":"#DCBDFB"},children:"log"}),s.jsx(e.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:"(finalizedBlock.number, finalizedBlock.hash),"})]}),` `,s.jsx(e.span,{className:"line",children:s.jsx(e.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:")"})}),` `,s.jsx(e.span,{className:"line","data-empty-line":!0,children:" "}),` @@ -79,7 +79,7 @@ import{j as s,$ as h,a as t,b as k,c as p,u as o}from"./index-CnhgBks4.js";const `,s.jsx(e.span,{className:"line","data-empty-line":!0,children:" "}),` `,s.jsx(e.span,{className:"line",children:s.jsx(e.span,{style:{color:"#6A737D","--shiki-dark":"#768390"},children:"// With the `client`, you can get information such as subscribing to the last"})}),` `,s.jsx(e.span,{className:"line",children:s.jsx(e.span,{style:{color:"#6A737D","--shiki-dark":"#768390"},children:"// block to get the latest hash:"})}),` -`,s.jsxs(e.span,{className:"line",children:[s.jsx(e.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:"client.finalized$."}),s.jsx(e.span,{style:{color:"#6F42C1","--shiki-dark":"#DCBDFB"},children:"subscribe"}),s.jsx(e.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:"(("}),s.jsx(e.span,{style:{color:"#E36209","--shiki-dark":"#F69D50"},children:"finalizedBlock"}),s.jsx(e.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:") "}),s.jsx(e.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:"=>"})]}),` +`,s.jsxs(e.span,{className:"line",children:[s.jsx(e.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:"client.finalizedBlock$."}),s.jsx(e.span,{style:{color:"#6F42C1","--shiki-dark":"#DCBDFB"},children:"subscribe"}),s.jsx(e.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:"(("}),s.jsx(e.span,{style:{color:"#E36209","--shiki-dark":"#F69D50"},children:"finalizedBlock"}),s.jsx(e.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:") "}),s.jsx(e.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:"=>"})]}),` `,s.jsxs(e.span,{className:"line",children:[s.jsx(e.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:" console."}),s.jsx(e.span,{style:{color:"#6F42C1","--shiki-dark":"#DCBDFB"},children:"log"}),s.jsx(e.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:"(finalizedBlock.number, finalizedBlock.hash),"})]}),` `,s.jsx(e.span,{className:"line",children:s.jsx(e.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:")"})}),` `,s.jsx(e.span,{className:"line","data-empty-line":!0,children:" "}),` @@ -102,7 +102,7 @@ import{j as s,$ as h,a as t,b as k,c as p,u as o}from"./index-CnhgBks4.js";const `,s.jsx(e.span,{className:"line","data-empty-line":!0,children:" "}),` `,s.jsx(e.span,{className:"line",children:s.jsx(e.span,{style:{color:"#6A737D","--shiki-dark":"#768390"},children:"// With the `client`, you can get information such as subscribing to the last"})}),` `,s.jsx(e.span,{className:"line",children:s.jsx(e.span,{style:{color:"#6A737D","--shiki-dark":"#768390"},children:"// block to get the latest hash:"})}),` -`,s.jsxs(e.span,{className:"line",children:[s.jsx(e.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:"client.finalized$."}),s.jsx(e.span,{style:{color:"#6F42C1","--shiki-dark":"#DCBDFB"},children:"subscribe"}),s.jsx(e.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:"(("}),s.jsx(e.span,{style:{color:"#E36209","--shiki-dark":"#F69D50"},children:"finalizedBlock"}),s.jsx(e.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:") "}),s.jsx(e.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:"=>"})]}),` +`,s.jsxs(e.span,{className:"line",children:[s.jsx(e.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:"client.finalizedBlock$."}),s.jsx(e.span,{style:{color:"#6F42C1","--shiki-dark":"#DCBDFB"},children:"subscribe"}),s.jsx(e.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:"(("}),s.jsx(e.span,{style:{color:"#E36209","--shiki-dark":"#F69D50"},children:"finalizedBlock"}),s.jsx(e.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:") "}),s.jsx(e.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:"=>"})]}),` `,s.jsxs(e.span,{className:"line",children:[s.jsx(e.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:" console."}),s.jsx(e.span,{style:{color:"#6F42C1","--shiki-dark":"#DCBDFB"},children:"log"}),s.jsx(e.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:"(finalizedBlock.number, finalizedBlock.hash),"})]}),` `,s.jsx(e.span,{className:"line",children:s.jsx(e.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:")"})}),` `,s.jsx(e.span,{className:"line","data-empty-line":!0,children:" "}),` diff --git a/assets/index-D1EFUyQH.js b/assets/index-D2cdgzBc.js similarity index 98% rename from assets/index-D1EFUyQH.js rename to assets/index-D2cdgzBc.js index dc067757..fc28197b 100644 --- a/assets/index-D1EFUyQH.js +++ b/assets/index-D2cdgzBc.js @@ -1,4 +1,4 @@ -import{j as e,L as b,d as n,e as y,f as _,R as P,g as N,T as a,C as l,u as f}from"./index-CnhgBks4.js";var w="vocs_Button_button",H="vocs_Button_button_accent";function k({children:s,className:t,href:o,variant:v}){return e.jsx(b,{className:n(t,w,v==="accent"&&H),href:o,variant:"styleless",children:s})}var L="vocs_HomePage_button",B="vocs_HomePage_buttons",C="vocs_HomePage_description",M="vocs_HomePage_logo",c="vocs_HomePage_packageManager",D="vocs_HomePage",I="vocs_HomePage_tabs",d="vocs_HomePage_tabsContent",R="vocs_HomePage_tabsList",T="vocs_HomePage_tagline",E="vocs_HomePage_title";function u({children:s,className:t}){return e.jsx("div",{className:n(t,D),children:s})}function g({className:s}){const{logoUrl:t,title:o}=y();return t?e.jsx("div",{className:n(s,M),children:e.jsx(_,{})}):e.jsx("h1",{className:n(s,E),children:o})}function S({children:s,className:t}){return e.jsx("div",{className:n(t,T),children:s})}function x({children:s,className:t}){return e.jsx("div",{className:n(t,C),children:s})}function m({children:s,className:t}){return e.jsx("div",{className:n(t,B),children:s})}function r(s){return e.jsx(k,{...s,className:n(L,s.className)})}function p({name:s,type:t="install"}){return e.jsxs(P,{className:I,defaultValue:"npm",children:[e.jsxs(N,{className:R,children:[e.jsx(a,{value:"npm",children:"npm"}),e.jsx(a,{value:"pnpm",children:"pnpm"}),e.jsx(a,{value:"yarn",children:"yarn"})]}),e.jsxs(l,{className:d,value:"npm",children:[e.jsx("span",{className:c,children:"npm"})," ",t==="init"?"init":"install"," ",s]}),e.jsxs(l,{className:d,value:"pnpm",children:[e.jsx("span",{className:c,children:"pnpm"})," ",t==="init"?"create":"install"," ",s]}),e.jsxs(l,{className:d,value:"yarn",children:[e.jsx("span",{className:c,children:"yarn"})," ",t==="init"?"create":"install"," ",s]})]})}const $=Object.freeze(Object.defineProperty({__proto__:null,Button:r,Buttons:m,Description:x,InstallPackage:p,Logo:g,Root:u,Tagline:S},Symbol.toStringTag,{value:"Module"})),h=({title:s,children:t})=>e.jsxs("div",{className:"w-full border rounded border-gray-500 p-4 text-left",children:[e.jsx("div",{className:"text-[--vocs-color_heading] text-lg py-2 font-bold",children:s}),e.jsx("div",{children:t})]}),O={layout:"landing",content:{width:"60rem"}};function j(s){const t={a:"a",li:"li",p:"p",strong:"strong",ul:"ul",...f(),...s.components};return $||i("HomePage",!1),r||i("HomePage.Button",!0),m||i("HomePage.Buttons",!0),x||i("HomePage.Description",!0),p||i("HomePage.InstallPackage",!0),g||i("HomePage.Logo",!0),u||i("HomePage.Root",!0),e.jsxs(u,{children:[e.jsxs("div",{className:"flex justify-between w-full flex-col md:flex-row gap-4",children:[e.jsxs("div",{className:"flex flex-col text-left",children:[e.jsx(g,{}),e.jsx(x,{children:"Typescript API to interact with Polkadot chains."}),e.jsxs(m,{className:"py-2",children:[e.jsx(r,{href:"/getting-started",variant:"accent",children:"Get started"}),e.jsx(r,{href:"https://github.com/polkadot-api/polkadot-api",children:"GitHub"})]})]}),e.jsx(p,{name:"polkadot-api",type:"i"})]}),e.jsxs("div",{className:"flex gap-2 flex-col md:flex-row mt-8",children:[e.jsx(h,{title:"Light client first",children:e.jsx(t.p,{children:"Built from the ground up for the light client, allowing the running of a node from the browser."})}),e.jsx(h,{title:"Fully typed API",children:e.jsx(t.p,{children:"IDEs show all the type information for every operation of a chain."})}),e.jsx(h,{title:"Lightweight",children:e.jsx(t.p,{children:"Minimal impact on the main bundle (under 50kB)."})})]}),e.jsxs("div",{className:"text-left w-full max-w-5xl p-2",children:[e.jsx("h2",{className:"text-[--vocs-color_heading] text-3xl py-4 border-b border-gray-500 mb-4",children:"Features"}),e.jsxs(t.ul,{children:[` +import{j as e,L as b,d as n,e as y,f as _,R as P,g as N,T as a,C as l,u as f}from"./index-DBGcajzP.js";var w="vocs_Button_button",H="vocs_Button_button_accent";function k({children:s,className:t,href:o,variant:v}){return e.jsx(b,{className:n(t,w,v==="accent"&&H),href:o,variant:"styleless",children:s})}var L="vocs_HomePage_button",B="vocs_HomePage_buttons",C="vocs_HomePage_description",M="vocs_HomePage_logo",c="vocs_HomePage_packageManager",D="vocs_HomePage",I="vocs_HomePage_tabs",d="vocs_HomePage_tabsContent",R="vocs_HomePage_tabsList",T="vocs_HomePage_tagline",E="vocs_HomePage_title";function u({children:s,className:t}){return e.jsx("div",{className:n(t,D),children:s})}function g({className:s}){const{logoUrl:t,title:o}=y();return t?e.jsx("div",{className:n(s,M),children:e.jsx(_,{})}):e.jsx("h1",{className:n(s,E),children:o})}function S({children:s,className:t}){return e.jsx("div",{className:n(t,T),children:s})}function x({children:s,className:t}){return e.jsx("div",{className:n(t,C),children:s})}function m({children:s,className:t}){return e.jsx("div",{className:n(t,B),children:s})}function r(s){return e.jsx(k,{...s,className:n(L,s.className)})}function p({name:s,type:t="install"}){return e.jsxs(P,{className:I,defaultValue:"npm",children:[e.jsxs(N,{className:R,children:[e.jsx(a,{value:"npm",children:"npm"}),e.jsx(a,{value:"pnpm",children:"pnpm"}),e.jsx(a,{value:"yarn",children:"yarn"})]}),e.jsxs(l,{className:d,value:"npm",children:[e.jsx("span",{className:c,children:"npm"})," ",t==="init"?"init":"install"," ",s]}),e.jsxs(l,{className:d,value:"pnpm",children:[e.jsx("span",{className:c,children:"pnpm"})," ",t==="init"?"create":"install"," ",s]}),e.jsxs(l,{className:d,value:"yarn",children:[e.jsx("span",{className:c,children:"yarn"})," ",t==="init"?"create":"install"," ",s]})]})}const $=Object.freeze(Object.defineProperty({__proto__:null,Button:r,Buttons:m,Description:x,InstallPackage:p,Logo:g,Root:u,Tagline:S},Symbol.toStringTag,{value:"Module"})),h=({title:s,children:t})=>e.jsxs("div",{className:"w-full border rounded border-gray-500 p-4 text-left",children:[e.jsx("div",{className:"text-[--vocs-color_heading] text-lg py-2 font-bold",children:s}),e.jsx("div",{children:t})]}),O={layout:"landing",content:{width:"60rem"}};function j(s){const t={a:"a",li:"li",p:"p",strong:"strong",ul:"ul",...f(),...s.components};return $||i("HomePage",!1),r||i("HomePage.Button",!0),m||i("HomePage.Buttons",!0),x||i("HomePage.Description",!0),p||i("HomePage.InstallPackage",!0),g||i("HomePage.Logo",!0),u||i("HomePage.Root",!0),e.jsxs(u,{children:[e.jsxs("div",{className:"flex justify-between w-full flex-col md:flex-row gap-4",children:[e.jsxs("div",{className:"flex flex-col text-left",children:[e.jsx(g,{}),e.jsx(x,{children:"Typescript API to interact with Polkadot chains."}),e.jsxs(m,{className:"py-2",children:[e.jsx(r,{href:"/getting-started",variant:"accent",children:"Get started"}),e.jsx(r,{href:"https://github.com/polkadot-api/polkadot-api",children:"GitHub"})]})]}),e.jsx(p,{name:"polkadot-api",type:"i"})]}),e.jsxs("div",{className:"flex gap-2 flex-col md:flex-row mt-8",children:[e.jsx(h,{title:"Light client first",children:e.jsx(t.p,{children:"Built from the ground up for the light client, allowing the running of a node from the browser."})}),e.jsx(h,{title:"Fully typed API",children:e.jsx(t.p,{children:"IDEs show all the type information for every operation of a chain."})}),e.jsx(h,{title:"Lightweight",children:e.jsx(t.p,{children:"Minimal impact on the main bundle (under 50kB)."})})]}),e.jsxs("div",{className:"text-left w-full max-w-5xl p-2",children:[e.jsx("h2",{className:"text-[--vocs-color_heading] text-3xl py-4 border-b border-gray-500 mb-4",children:"Features"}),e.jsxs(t.ul,{children:[` `,e.jsxs(t.li,{children:["ðŸŠķ ",e.jsx(t.strong,{children:"Light client first"}),": built on top of the ",e.jsx(t.a,{href:"https://paritytech.github.io/json-rpc-interface-spec/",children:"new JSON-RPC spec"})," to fully leverage the potential of light-clients."]}),` `,e.jsxs(t.li,{children:["ðŸ’Ą Delightful ",e.jsx(t.strong,{children:"TypeScript support"})," with types and docs generated from on-chain metadata."]}),` `,e.jsxs(t.li,{children:["📋 First class support for ",e.jsx(t.strong,{children:"storage"})," reads, ",e.jsx(t.strong,{children:"constants"}),", ",e.jsx(t.strong,{children:"transactions"}),", ",e.jsx(t.strong,{children:"events"})," and ",e.jsx(t.strong,{children:"runtime calls"}),"."]}),` diff --git a/assets/index-CnhgBks4.js b/assets/index-DBGcajzP.js similarity index 97% rename from assets/index-CnhgBks4.js rename to assets/index-DBGcajzP.js index e71bb7bf..b4bc39a9 100644 --- a/assets/index-CnhgBks4.js +++ b/assets/index-DBGcajzP.js @@ -65,7 +65,7 @@ Error generating stack: `+i.message+` * LICENSE.md file in the root directory of this source tree. * * @license MIT - */function _o(){return _o=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0)&&(n[o]=e[o]);return n}function dx(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}function hx(e,t){return e.button===0&&(!t||t==="_self")&&!dx(e)}const px=["onClick","relative","reloadDocument","replace","state","target","to","preventScrollReset","unstable_viewTransition"],vx="6";try{window.__reactRouterVersion=vx}catch{}function mx(e,t){return Pw({basename:t==null?void 0:t.basename,future:_o({},t==null?void 0:t.future,{v7_prependBasename:!0}),history:tw({window:t==null?void 0:t.window}),hydrationData:(t==null?void 0:t.hydrationData)||gx(),routes:e,mapRouteProperties:ux,unstable_dataStrategy:t==null?void 0:t.unstable_dataStrategy,window:t==null?void 0:t.window}).initialize()}function gx(){var e;let t=(e=window)==null?void 0:e.__staticRouterHydrationData;return t&&t.errors&&(t=_o({},t,{errors:yx(t.errors)})),t}function yx(e){if(!e)return null;let t=Object.entries(e),n={};for(let[r,o]of t)if(o&&o.__type==="RouteErrorResponse")n[r]=new jf(o.status,o.statusText,o.data,o.internal===!0);else if(o&&o.__type==="Error"){if(o.__subType){let i=window[o.__subType];if(typeof i=="function")try{let a=new i(o.message);a.stack="",n[r]=a}catch{}}if(n[r]==null){let i=new Error(o.message);i.stack="",n[r]=i}}else n[r]=o;return n}const wx=p.createContext({isTransitioning:!1}),xx=p.createContext(new Map),Cx="startTransition",qh=Vu[Cx],Ex="flushSync",ep=ew[Ex];function _x(e){qh?qh(e):e()}function Jo(e){ep?ep(e):e()}class Sx{constructor(){this.status="pending",this.promise=new Promise((t,n)=>{this.resolve=r=>{this.status==="pending"&&(this.status="resolved",t(r))},this.reject=r=>{this.status==="pending"&&(this.status="rejected",n(r))}})}}function bx(e){let{fallbackElement:t,router:n,future:r}=e,[o,i]=p.useState(n.state),[a,l]=p.useState(),[s,u]=p.useState({isTransitioning:!1}),[f,c]=p.useState(),[d,h]=p.useState(),[y,v]=p.useState(),C=p.useRef(new Map),{v7_startTransition:m}=r||{},g=p.useCallback(_=>{m?_x(_):_()},[m]),w=p.useCallback((_,b)=>{let{deletedFetchers:k,unstable_flushSync:N,unstable_viewTransitionOpts:O}=b;k.forEach(I=>C.current.delete(I)),_.fetchers.forEach((I,R)=>{I.data!==void 0&&C.current.set(R,I.data)});let D=n.window==null||n.window.document==null||typeof n.window.document.startViewTransition!="function";if(!O||D){N?Jo(()=>i(_)):g(()=>i(_));return}if(N){Jo(()=>{d&&(f&&f.resolve(),d.skipTransition()),u({isTransitioning:!0,flushSync:!0,currentLocation:O.currentLocation,nextLocation:O.nextLocation})});let I=n.window.document.startViewTransition(()=>{Jo(()=>i(_))});I.finished.finally(()=>{Jo(()=>{c(void 0),h(void 0),l(void 0),u({isTransitioning:!1})})}),Jo(()=>h(I));return}d?(f&&f.resolve(),d.skipTransition(),v({state:_,currentLocation:O.currentLocation,nextLocation:O.nextLocation})):(l(_),u({isTransitioning:!0,flushSync:!1,currentLocation:O.currentLocation,nextLocation:O.nextLocation}))},[n.window,d,f,C,g]);p.useLayoutEffect(()=>n.subscribe(w),[n,w]),p.useEffect(()=>{s.isTransitioning&&!s.flushSync&&c(new Sx)},[s]),p.useEffect(()=>{if(f&&a&&n.window){let _=a,b=f.promise,k=n.window.document.startViewTransition(async()=>{g(()=>i(_)),await b});k.finished.finally(()=>{c(void 0),h(void 0),l(void 0),u({isTransitioning:!1})}),h(k)}},[g,a,f,n.window]),p.useEffect(()=>{f&&a&&o.location.key===a.location.key&&f.resolve()},[f,d,o.location,a]),p.useEffect(()=>{!s.isTransitioning&&y&&(l(y.state),u({isTransitioning:!0,flushSync:!1,currentLocation:y.currentLocation,nextLocation:y.nextLocation}),v(void 0))},[s.isTransitioning,y]),p.useEffect(()=>{},[]);let E=p.useMemo(()=>({createHref:n.createHref,encodeLocation:n.encodeLocation,go:_=>n.navigate(_),push:(_,b,k)=>n.navigate(_,{state:b,preventScrollReset:k==null?void 0:k.preventScrollReset}),replace:(_,b,k)=>n.navigate(_,{replace:!0,state:b,preventScrollReset:k==null?void 0:k.preventScrollReset})}),[n]),S=n.basename||"/",$=p.useMemo(()=>({router:n,navigator:E,static:!1,basename:S}),[n,E,S]);return p.createElement(p.Fragment,null,p.createElement(Ki.Provider,{value:$},p.createElement(Uf.Provider,{value:o},p.createElement(xx.Provider,{value:C.current},p.createElement(wx.Provider,{value:s},p.createElement(cx,{basename:S,location:o.location,navigationType:o.historyAction,navigator:E,future:{v7_relativeSplatPath:n.future.v7_relativeSplatPath}},o.initialized||n.future.v7_partialHydration?p.createElement($x,{routes:n.routes,future:n.future,state:o}):t))))),null)}function $x(e){let{routes:t,future:n,state:r}=e;return Xw(t,void 0,r,n)}const Tx=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",kx=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,Yl=p.forwardRef(function(t,n){let{onClick:r,relative:o,reloadDocument:i,replace:a,state:l,target:s,to:u,preventScrollReset:f,unstable_viewTransition:c}=t,d=fx(t,px),{basename:h}=p.useContext(rr),y,v=!1;if(typeof u=="string"&&kx.test(u)&&(y=u,Tx))try{let w=new URL(window.location.href),E=u.startsWith("//")?new URL(w.protocol+u):new URL(u),S=Tr(E.pathname,h);E.origin===w.origin&&S!=null?u=S+E.search+E.hash:v=!0}catch{}let C=Gw(u,{relative:o}),m=Ax(u,{replace:a,state:l,target:s,preventScrollReset:f,relative:o,unstable_viewTransition:c});function g(w){r&&r(w),w.defaultPrevented||m(w)}return p.createElement("a",_o({},d,{href:y||C,onClick:v||i?r:g,ref:n,target:s}))});function Rx(e){let{getKey:t,storageKey:n}=e;return Lx({getKey:t,storageKey:n}),null}var ou;(function(e){e.UseScrollRestoration="useScrollRestoration",e.UseSubmit="useSubmit",e.UseSubmitFetcher="useSubmitFetcher",e.UseFetcher="useFetcher",e.useViewTransitionState="useViewTransitionState"})(ou||(ou={}));var iu;(function(e){e.UseFetcher="useFetcher",e.UseFetchers="useFetchers",e.UseScrollRestoration="useScrollRestoration"})(iu||(iu={}));function Px(e){let t=p.useContext(Ki);return t||ne(!1),t}function Nx(e){let t=p.useContext(Uf);return t||ne(!1),t}function Ax(e,t){let{target:n,replace:r,state:o,preventScrollReset:i,relative:a,unstable_viewTransition:l}=t===void 0?{}:t,s=Vf(),u=Oe(),f=U0(e,{relative:a});return p.useCallback(c=>{if(hx(c,n)){c.preventDefault();let d=r!==void 0?r:_r(u)===_r(f);s(e,{replace:d,state:o,preventScrollReset:i,relative:a,unstable_viewTransition:l})}},[u,s,f,r,o,n,e,i,a,l])}const tp="react-router-scroll-positions";let wa={};function Lx(e){let{getKey:t,storageKey:n}=e===void 0?{}:e,{router:r}=Px(ou.UseScrollRestoration),{restoreScrollPosition:o,preventScrollReset:i}=Nx(iu.UseScrollRestoration),{basename:a}=p.useContext(rr),l=Oe(),s=ax(),u=ix();p.useEffect(()=>(window.history.scrollRestoration="manual",()=>{window.history.scrollRestoration="auto"}),[]),Ix(p.useCallback(()=>{if(u.state==="idle"){let f=(t?t(l,s):null)||l.key;wa[f]=window.scrollY}try{sessionStorage.setItem(n||tp,JSON.stringify(wa))}catch{}window.history.scrollRestoration="auto"},[n,t,u.state,l,s])),typeof document<"u"&&(p.useLayoutEffect(()=>{try{let f=sessionStorage.getItem(n||tp);f&&(wa=JSON.parse(f))}catch{}},[n]),p.useLayoutEffect(()=>{let f=t&&a!=="/"?(d,h)=>t(_o({},d,{pathname:Tr(d.pathname,a)||d.pathname}),h):t,c=r==null?void 0:r.enableScrollRestoration(wa,()=>window.scrollY,f);return()=>c&&c()},[r,a,t]),p.useLayoutEffect(()=>{if(o!==!1){if(typeof o=="number"){window.scrollTo(0,o);return}if(l.hash){let f=document.getElementById(decodeURIComponent(l.hash.slice(1)));if(f){f.scrollIntoView();return}}i!==!0&&window.scrollTo(0,0)}},[l,o,i]))}function Ix(e,t){let{capture:n}={};p.useEffect(()=>{let r=n!=null?{capture:n}:void 0;return window.addEventListener("pagehide",e,r),()=>{window.removeEventListener("pagehide",e,r)}},[e,n])}const Ox="modulepreload",Mx=function(e){return"/polkadot-api-docs/"+e},np={},be=function(t,n,r){let o=Promise.resolve();if(n&&n.length>0){document.getElementsByTagName("link");const i=document.querySelector("meta[property=csp-nonce]"),a=(i==null?void 0:i.nonce)||(i==null?void 0:i.getAttribute("nonce"));o=Promise.all(n.map(l=>{if(l=Mx(l),l in np)return;np[l]=!0;const s=l.endsWith(".css"),u=s?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${l}"]${u}`))return;const f=document.createElement("link");if(f.rel=s?"stylesheet":Ox,s||(f.as="script",f.crossOrigin=""),f.href=l,a&&f.setAttribute("nonce",a),document.head.appendChild(f),s)return new Promise((c,d)=>{f.addEventListener("load",c),f.addEventListener("error",()=>d(new Error(`Unable to preload CSS for ${l}`)))})}))}return o.then(()=>t()).catch(i=>{const a=new Event("vite:preloadError",{cancelable:!0});if(a.payload=i,window.dispatchEvent(a),!a.defaultPrevented)throw i})};function au(e){return Array.isArray(e)?e.map(au):typeof e=="object"&&e!==null?Object.keys(e).reduce((t,n)=>(t[n]=au(e[n]),t),{}):typeof e=="string"&&e.includes("_vocs-fn_")?new Function(`return ${e.slice(9)}`)():e}const W0=au({blogDir:"./pages/blog",rootDir:"docs",title:"Polkadot-API",titleTemplate:"%s – Polkadot-API",description:"Typescript API to interact with polkadot chains",basePath:"/polkadot-api-docs",topNav:[{text:"Guide",link:"/getting-started",id:20,items:[]}],sidebar:[{text:"Getting Started",link:"/getting-started"},{text:"Top-level client",items:[{text:"PolkadotClient",link:"/client"},{text:"Typed API",link:"/typed",items:[{text:"Constants",link:"/typed/constants"},{text:"Runtime APIs",link:"/typed/apis"},{text:"Storage queries",link:"/typed/queries"}]}]},{text:"Providers",link:"/providers"},{text:"Codegen",link:"/codegen"},{text:"Types",link:"/types"},{text:"Signers",link:"/signers"},{text:"Recipes",items:[{text:"Prepare for runtime upgrade",link:"/recipes/upgrade"}]},{text:"Examples",items:[{text:"Teleport across chains",link:"https://github.com/polkadot-api/react-teleport-example"}]}],socials:[{icon:"github",link:"https://github.com/polkadot-api/polkadot-api",label:"GitHub",type:"github"}],font:{},markdown:{code:{themes:{dark:"github-dark-dimmed",light:"github-light"}}},theme:{},vite:{base:"/polkadot-api-docs"}}),K0=p.createContext(W0);function Y0(){return typeof window<"u",W0}function Dx({children:e,config:t}){const[n,r]=p.useState(()=>t||Y0());return p.useEffect(()=>{},[]),p.useEffect(()=>{typeof window<"u"},[n]),x.jsx(K0.Provider,{value:n,children:e})}function Ke(){return p.useContext(K0)}const Kf=[{lazy:()=>be(()=>import("./client-BgaL9RwG.js"),[]),path:"/client",type:"mdx",filePath:"client.md",lastUpdatedAt:1715961329e3},{lazy:()=>be(()=>import("./client-BgaL9RwG.js"),[]),path:"/client.html",type:"mdx",filePath:"client.md",lastUpdatedAt:1715961329e3},{lazy:()=>be(()=>import("./codegen-BYKrWVlU.js"),[]),path:"/codegen",type:"mdx",filePath:"codegen.md",lastUpdatedAt:1715961329e3},{lazy:()=>be(()=>import("./codegen-BYKrWVlU.js"),[]),path:"/codegen.html",type:"mdx",filePath:"codegen.md",lastUpdatedAt:1715961329e3},{lazy:()=>be(()=>import("./getting-started-L-jvfI-a.js"),[]),path:"/getting-started",type:"mdx",filePath:"getting-started.mdx",lastUpdatedAt:1715961329e3},{lazy:()=>be(()=>import("./getting-started-L-jvfI-a.js"),[]),path:"/getting-started.html",type:"mdx",filePath:"getting-started.mdx",lastUpdatedAt:1715961329e3},{lazy:()=>be(()=>import("./index-D1EFUyQH.js"),[]),path:"/",type:"mdx",filePath:"index.mdx",lastUpdatedAt:1715961329e3},{lazy:()=>be(()=>import("./providers-Cv3d4kKp.js"),[]),path:"/providers",type:"mdx",filePath:"providers.md",lastUpdatedAt:1715961329e3},{lazy:()=>be(()=>import("./providers-Cv3d4kKp.js"),[]),path:"/providers.html",type:"mdx",filePath:"providers.md",lastUpdatedAt:1715961329e3},{lazy:()=>be(()=>import("./signers-oNd0Cq5s.js"),[]),path:"/signers",type:"mdx",filePath:"signers.md",lastUpdatedAt:1715961329e3},{lazy:()=>be(()=>import("./signers-oNd0Cq5s.js"),[]),path:"/signers.html",type:"mdx",filePath:"signers.md",lastUpdatedAt:1715961329e3},{lazy:()=>be(()=>import("./typed-D4g5AJsN.js"),[]),path:"/typed",type:"mdx",filePath:"typed.md",lastUpdatedAt:1715961329e3},{lazy:()=>be(()=>import("./typed-D4g5AJsN.js"),[]),path:"/typed.html",type:"mdx",filePath:"typed.md",lastUpdatedAt:1715961329e3},{lazy:()=>be(()=>import("./types-BqJWXfAw.js"),[]),path:"/types",type:"mdx",filePath:"types.mdx",lastUpdatedAt:1715961329e3},{lazy:()=>be(()=>import("./types-BqJWXfAw.js"),[]),path:"/types.html",type:"mdx",filePath:"types.mdx",lastUpdatedAt:1715961329e3},{lazy:()=>be(()=>import("./upgrade-DGR_r9bB.js"),[]),path:"/recipes/upgrade",type:"mdx",filePath:"recipes/upgrade.md",lastUpdatedAt:1715961329e3},{lazy:()=>be(()=>import("./upgrade-DGR_r9bB.js"),[]),path:"/recipes/upgrade.html",type:"mdx",filePath:"recipes/upgrade.md",lastUpdatedAt:1715961329e3},{lazy:()=>be(()=>import("./apis-Cz6Otmp9.js"),[]),path:"/typed/apis",type:"mdx",filePath:"typed/apis.md",lastUpdatedAt:1715961329e3},{lazy:()=>be(()=>import("./apis-Cz6Otmp9.js"),[]),path:"/typed/apis.html",type:"mdx",filePath:"typed/apis.md",lastUpdatedAt:1715961329e3},{lazy:()=>be(()=>import("./constants-waEoK2Pg.js"),[]),path:"/typed/constants",type:"mdx",filePath:"typed/constants.md",lastUpdatedAt:1715961329e3},{lazy:()=>be(()=>import("./constants-waEoK2Pg.js"),[]),path:"/typed/constants.html",type:"mdx",filePath:"typed/constants.md",lastUpdatedAt:1715961329e3},{lazy:()=>be(()=>import("./queries-CbKGZF_c.js"),[]),path:"/typed/queries",type:"mdx",filePath:"typed/queries.md",lastUpdatedAt:1715961329e3},{lazy:()=>be(()=>import("./queries-CbKGZF_c.js"),[]),path:"/typed/queries.html",type:"mdx",filePath:"typed/queries.md",lastUpdatedAt:1715961329e3}];var Ms={horizontalPadding:"var(--vocs-content_horizontalPadding)",verticalPadding:"var(--vocs-content_verticalPadding)",width:"var(--vocs-content_width)"},rp={default:"system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif",mono:'ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace'},op={default:"var(--vocs-fontFamily_default)",mono:"var(--vocs-fontFamily_mono)"},ip={white:"var(--vocs-color_white)",black:"var(--vocs-color_black)",background:"var(--vocs-color_background)",background2:"var(--vocs-color_background2)",background3:"var(--vocs-color_background3)",background4:"var(--vocs-color_background4)",background5:"var(--vocs-color_background5)",backgroundAccent:"var(--vocs-color_backgroundAccent)",backgroundAccentHover:"var(--vocs-color_backgroundAccentHover)",backgroundAccentText:"var(--vocs-color_backgroundAccentText)",backgroundBlueTint:"var(--vocs-color_backgroundBlueTint)",backgroundDark:"var(--vocs-color_backgroundDark)",backgroundGreenTint:"var(--vocs-color_backgroundGreenTint)",backgroundGreenTint2:"var(--vocs-color_backgroundGreenTint2)",backgroundIrisTint:"var(--vocs-color_backgroundIrisTint)",backgroundRedTint:"var(--vocs-color_backgroundRedTint)",backgroundRedTint2:"var(--vocs-color_backgroundRedTint2)",backgroundYellowTint:"var(--vocs-color_backgroundYellowTint)",border:"var(--vocs-color_border)",border2:"var(--vocs-color_border2)",borderAccent:"var(--vocs-color_borderAccent)",borderBlue:"var(--vocs-color_borderBlue)",borderGreen:"var(--vocs-color_borderGreen)",borderIris:"var(--vocs-color_borderIris)",borderRed:"var(--vocs-color_borderRed)",borderYellow:"var(--vocs-color_borderYellow)",heading:"var(--vocs-color_heading)",inverted:"var(--vocs-color_inverted)",shadow:"var(--vocs-color_shadow)",shadow2:"var(--vocs-color_shadow2)",text:"var(--vocs-color_text)",text2:"var(--vocs-color_text2)",text3:"var(--vocs-color_text3)",text4:"var(--vocs-color_text4)",textAccent:"var(--vocs-color_textAccent)",textAccentHover:"var(--vocs-color_textAccentHover)",textBlue:"var(--vocs-color_textBlue)",textBlueHover:"var(--vocs-color_textBlueHover)",textGreen:"var(--vocs-color_textGreen)",textGreenHover:"var(--vocs-color_textGreenHover)",textIris:"var(--vocs-color_textIris)",textIrisHover:"var(--vocs-color_textIrisHover)",textRed:"var(--vocs-color_textRed)",textRedHover:"var(--vocs-color_textRedHover)",textYellow:"var(--vocs-color_textYellow)",textYellowHover:"var(--vocs-color_textYellowHover)",title:"var(--vocs-color_title)"},Ds={0:"var(--vocs-space_0)",1:"var(--vocs-space_1)",2:"var(--vocs-space_2)",3:"var(--vocs-space_3)",4:"var(--vocs-space_4)",6:"var(--vocs-space_6)",8:"var(--vocs-space_8)",12:"var(--vocs-space_12)",14:"var(--vocs-space_14)",16:"var(--vocs-space_16)",18:"var(--vocs-space_18)",20:"var(--vocs-space_20)",22:"var(--vocs-space_22)",24:"var(--vocs-space_24)",28:"var(--vocs-space_28)",32:"var(--vocs-space_32)",36:"var(--vocs-space_36)",40:"var(--vocs-space_40)",44:"var(--vocs-space_44)",48:"var(--vocs-space_48)",56:"var(--vocs-space_56)",64:"var(--vocs-space_64)",72:"var(--vocs-space_72)",80:"var(--vocs-space_80)"};function G0(e){var t,n,r="";if(typeof e=="string"||typeof e=="number")r+=e;else if(typeof e=="object")if(Array.isArray(e)){var o=e.length;for(t=0;t"".concat(l,":").concat(this[l])).join(";")},writable:!1}),n}var Fx="var(--vocs_ExternalLink_iconUrl)",zx="vocs_ExternalLink";const Bx=p.forwardRef(({className:e,children:t,hideExternalIcon:n,href:r,...o},i)=>{const{basePath:a}=Ke(),l=a;return x.jsx("a",{ref:i,className:M(e,n||typeof t!="string"?void 0:zx),href:r,target:"_blank",rel:"noopener noreferrer",style:Yt({[Fx]:`url(${l}/.vocs/icons/arrow-diagonal.svg)`}),...o,children:t})});var ap="vocs_Link_accent_underlined",lp="vocs_Link",sp="vocs_Link_styleless",lu=new Map,xa=new WeakMap,cp=0,Ux=void 0;function Hx(e){return e?(xa.has(e)||(cp+=1,xa.set(e,cp.toString())),xa.get(e)):"0"}function Vx(e){return Object.keys(e).sort().filter(t=>e[t]!==void 0).map(t=>`${t}_${t==="root"?Hx(e.root):e[t]}`).toString()}function Wx(e){const t=Vx(e);let n=lu.get(t);if(!n){const r=new Map;let o;const i=new IntersectionObserver(a=>{a.forEach(l=>{var s;const u=l.isIntersecting&&o.some(f=>l.intersectionRatio>=f);e.trackVisibility&&typeof l.isVisible>"u"&&(l.isVisible=u),(s=r.get(l.target))==null||s.forEach(f=>{f(u,l)})})},e);o=i.thresholds||(Array.isArray(e.threshold)?e.threshold:[e.threshold||0]),n={id:t,observer:i,elements:r},lu.set(t,n)}return n}function Kx(e,t,n={},r=Ux){if(typeof window.IntersectionObserver>"u"&&r!==void 0){const s=e.getBoundingClientRect();return t(r,{isIntersecting:r,target:e,intersectionRatio:typeof n.threshold=="number"?n.threshold:0,time:0,boundingClientRect:s,intersectionRect:s,rootBounds:s}),()=>{}}const{id:o,observer:i,elements:a}=Wx(n),l=a.get(e)||[];return a.has(e)||a.set(e,l),l.push(t),i.observe(e),function(){l.splice(l.indexOf(t),1),l.length===0&&(a.delete(e),i.unobserve(e)),a.size===0&&(i.disconnect(),lu.delete(o))}}function Q0({threshold:e,delay:t,trackVisibility:n,rootMargin:r,root:o,triggerOnce:i,skip:a,initialInView:l,fallbackInView:s,onChange:u}={}){var f;const[c,d]=p.useState(null),h=p.useRef(),[y,v]=p.useState({inView:!!l,entry:void 0});h.current=u,p.useEffect(()=>{if(a||!c)return;let w;return w=Kx(c,(E,S)=>{v({inView:E,entry:S}),h.current&&h.current(E,S),S.isIntersecting&&i&&w&&(w(),w=void 0)},{root:o,rootMargin:r,threshold:e,trackVisibility:n,delay:t},s),()=>{w&&w()}},[Array.isArray(e)?e.toString():e,c,o,r,i,a,n,s,t]);const C=(f=y.entry)==null?void 0:f.target,m=p.useRef();!c&&C&&!i&&!a&&m.current!==C&&(m.current=C,v({inView:!!l,entry:void 0}));const g=[d,y.inView,y.entry];return g.ref=g[0],g.inView=g[1],g.entry=g[2],g}function Yx(...e){return t=>{Gx(t,...e)}}function Gx(e,...t){t.forEach(n=>{typeof n=="function"?n(e):n!=null&&(n.current=e)})}const Qn=p.forwardRef((e,t)=>{const n=()=>{var i;return(i=Kf.find(a=>a.path===e.to))==null?void 0:i.lazy()},{ref:r,inView:o}=Q0();return p.useEffect(()=>{o&&n()},[o,n]),x.jsx(Yl,{ref:Yx(t,r),...e})}),on=p.forwardRef((e,t)=>{const{href:n,variant:r="accent underlined"}=e,{pathname:o}=Oe();if(n!=null&&n.match(/^(www|https?)/))return x.jsx(Bx,{...e,ref:t,className:M(e.className,lp,r==="accent underlined"&&ap,r==="styleless"&&sp),hideExternalIcon:e.hideExternalIcon});const[i,a]=(n||"").split("#"),l=`${i||o}${a?`#${a}`:""}`;return x.jsx(Qn,{...e,ref:t,className:M(e.className,lp,r==="accent underlined"&&ap,r==="styleless"&&sp),to:l})});var Qx="vocs_NotFound_divider",Zx="vocs_NotFound",Xx="vocs_H1",Z0="vocs_Heading",X0="vocs_Heading_slugTarget";function Ao({level:e,...t}){const n=`h${e}`;return x.jsxs(n,{...t,id:void 0,className:M(t.className,Z0),children:[x.jsx("div",{id:t.id,className:X0}),t.children]})}function J0(e){return x.jsx(Ao,{...e,className:M(e.className,Xx),level:1})}var Jx="vocs_Paragraph";function q0(e){return x.jsx("p",{...e,className:M(e.className,Jx)})}function qx(){return x.jsxs("div",{className:Zx,children:[x.jsx(J0,{children:"Page Not Found"}),x.jsx("div",{style:{height:Ds[24]}}),x.jsx("hr",{className:Qx}),x.jsx("div",{style:{height:Ds[24]}}),x.jsx(q0,{children:"The page you were looking for could not be found."}),x.jsx("div",{style:{height:Ds[8]}}),x.jsx(on,{href:"/",children:"Go to Home Page"})]})}var e5="var(--vocs_Banner_bannerBackgroundColor)",t5="var(--vocs_Banner_bannerHeight)",n5="var(--vocs_Banner_bannerTextColor)",r5="vocs_Banner_closeButton",o5="vocs_Banner_content",i5="vocs_Banner_inner",a5="vocs_Banner";const l5=Object.getPrototypeOf(s5).constructor;async function s5(e,t){return new l5(String(e))(t)}function c5(e,t){return new Function(String(e))(t)}function Rr(e,t){if(e==null)return{};var n={},r=Object.keys(e),o,i;for(i=0;i=0)&&(n[o]=e[o]);return n}var u5=["color"],f5=p.forwardRef(function(e,t){var n=e.color,r=n===void 0?"currentColor":n,o=Rr(e,u5);return p.createElement("svg",Object.assign({width:"15",height:"15",viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},o,{ref:t}),p.createElement("path",{d:"M6.85355 3.14645C7.04882 3.34171 7.04882 3.65829 6.85355 3.85355L3.70711 7H12.5C12.7761 7 13 7.22386 13 7.5C13 7.77614 12.7761 8 12.5 8H3.70711L6.85355 11.1464C7.04882 11.3417 7.04882 11.6583 6.85355 11.8536C6.65829 12.0488 6.34171 12.0488 6.14645 11.8536L2.14645 7.85355C1.95118 7.65829 1.95118 7.34171 2.14645 7.14645L6.14645 3.14645C6.34171 2.95118 6.65829 2.95118 6.85355 3.14645Z",fill:r,fillRule:"evenodd",clipRule:"evenodd"}))}),d5=["color"],h5=p.forwardRef(function(e,t){var n=e.color,r=n===void 0?"currentColor":n,o=Rr(e,d5);return p.createElement("svg",Object.assign({width:"15",height:"15",viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},o,{ref:t}),p.createElement("path",{d:"M6.1584 3.13508C6.35985 2.94621 6.67627 2.95642 6.86514 3.15788L10.6151 7.15788C10.7954 7.3502 10.7954 7.64949 10.6151 7.84182L6.86514 11.8418C6.67627 12.0433 6.35985 12.0535 6.1584 11.8646C5.95694 11.6757 5.94673 11.3593 6.1356 11.1579L9.565 7.49985L6.1356 3.84182C5.94673 3.64036 5.95694 3.32394 6.1584 3.13508Z",fill:r,fillRule:"evenodd",clipRule:"evenodd"}))}),p5=["color"],v5=p.forwardRef(function(e,t){var n=e.color,r=n===void 0?"currentColor":n,o=Rr(e,p5);return p.createElement("svg",Object.assign({width:"15",height:"15",viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},o,{ref:t}),p.createElement("path",{d:"M12.8536 2.85355C13.0488 2.65829 13.0488 2.34171 12.8536 2.14645C12.6583 1.95118 12.3417 1.95118 12.1464 2.14645L7.5 6.79289L2.85355 2.14645C2.65829 1.95118 2.34171 1.95118 2.14645 2.14645C1.95118 2.34171 1.95118 2.65829 2.14645 2.85355L6.79289 7.5L2.14645 12.1464C1.95118 12.3417 1.95118 12.6583 2.14645 12.8536C2.34171 13.0488 2.65829 13.0488 2.85355 12.8536L7.5 8.20711L12.1464 12.8536C12.3417 13.0488 12.6583 13.0488 12.8536 12.8536C13.0488 12.6583 13.0488 12.3417 12.8536 12.1464L8.20711 7.5L12.8536 2.85355Z",fill:r,fillRule:"evenodd",clipRule:"evenodd"}))}),m5=["color"],g5=p.forwardRef(function(e,t){var n=e.color,r=n===void 0?"currentColor":n,o=Rr(e,m5);return p.createElement("svg",Object.assign({width:"15",height:"15",viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},o,{ref:t}),p.createElement("path",{d:"M3.5 2C3.22386 2 3 2.22386 3 2.5V12.5C3 12.7761 3.22386 13 3.5 13H11.5C11.7761 13 12 12.7761 12 12.5V6H8.5C8.22386 6 8 5.77614 8 5.5V2H3.5ZM9 2.70711L11.2929 5H9V2.70711ZM2 2.5C2 1.67157 2.67157 1 3.5 1H8.5C8.63261 1 8.75979 1.05268 8.85355 1.14645L12.8536 5.14645C12.9473 5.24021 13 5.36739 13 5.5V12.5C13 13.3284 12.3284 14 11.5 14H3.5C2.67157 14 2 13.3284 2 12.5V2.5Z",fill:r,fillRule:"evenodd",clipRule:"evenodd"}))}),y5=["color"],w5=p.forwardRef(function(e,t){var n=e.color,r=n===void 0?"currentColor":n,o=Rr(e,y5);return p.createElement("svg",Object.assign({width:"15",height:"15",viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},o,{ref:t}),p.createElement("path",{d:"M1.5 5.25C1.91421 5.25 2.25 4.91421 2.25 4.5C2.25 4.08579 1.91421 3.75 1.5 3.75C1.08579 3.75 0.75 4.08579 0.75 4.5C0.75 4.91421 1.08579 5.25 1.5 5.25ZM4 4.5C4 4.22386 4.22386 4 4.5 4H13.5C13.7761 4 14 4.22386 14 4.5C14 4.77614 13.7761 5 13.5 5H4.5C4.22386 5 4 4.77614 4 4.5ZM4.5 7C4.22386 7 4 7.22386 4 7.5C4 7.77614 4.22386 8 4.5 8H13.5C13.7761 8 14 7.77614 14 7.5C14 7.22386 13.7761 7 13.5 7H4.5ZM4.5 10C4.22386 10 4 10.2239 4 10.5C4 10.7761 4.22386 11 4.5 11H13.5C13.7761 11 14 10.7761 14 10.5C14 10.2239 13.7761 10 13.5 10H4.5ZM2.25 7.5C2.25 7.91421 1.91421 8.25 1.5 8.25C1.08579 8.25 0.75 7.91421 0.75 7.5C0.75 7.08579 1.08579 6.75 1.5 6.75C1.91421 6.75 2.25 7.08579 2.25 7.5ZM1.5 11.25C1.91421 11.25 2.25 10.9142 2.25 10.5C2.25 10.0858 1.91421 9.75 1.5 9.75C1.08579 9.75 0.75 10.0858 0.75 10.5C0.75 10.9142 1.08579 11.25 1.5 11.25Z",fill:r,fillRule:"evenodd",clipRule:"evenodd"}))}),x5=["color"],Yf=p.forwardRef(function(e,t){var n=e.color,r=n===void 0?"currentColor":n,o=Rr(e,x5);return p.createElement("svg",Object.assign({width:"15",height:"15",viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},o,{ref:t}),p.createElement("path",{d:"M10 6.5C10 8.433 8.433 10 6.5 10C4.567 10 3 8.433 3 6.5C3 4.567 4.567 3 6.5 3C8.433 3 10 4.567 10 6.5ZM9.30884 10.0159C8.53901 10.6318 7.56251 11 6.5 11C4.01472 11 2 8.98528 2 6.5C2 4.01472 4.01472 2 6.5 2C8.98528 2 11 4.01472 11 6.5C11 7.56251 10.6318 8.53901 10.0159 9.30884L12.8536 12.1464C13.0488 12.3417 13.0488 12.6583 12.8536 12.8536C12.6583 13.0488 12.3417 13.0488 12.1464 12.8536L9.30884 10.0159Z",fill:r,fillRule:"evenodd",clipRule:"evenodd"}))}),C5=["color"],E5=p.forwardRef(function(e,t){var n=e.color,r=n===void 0?"currentColor":n,o=Rr(e,C5);return p.createElement("svg",Object.assign({width:"15",height:"15",viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},o,{ref:t}),p.createElement("path",{d:"M12.1464 1.14645C12.3417 0.951184 12.6583 0.951184 12.8535 1.14645L14.8535 3.14645C15.0488 3.34171 15.0488 3.65829 14.8535 3.85355L10.9109 7.79618C10.8349 7.87218 10.7471 7.93543 10.651 7.9835L6.72359 9.94721C6.53109 10.0435 6.29861 10.0057 6.14643 9.85355C5.99425 9.70137 5.95652 9.46889 6.05277 9.27639L8.01648 5.34897C8.06455 5.25283 8.1278 5.16507 8.2038 5.08907L12.1464 1.14645ZM12.5 2.20711L8.91091 5.79618L7.87266 7.87267L8.12731 8.12732L10.2038 7.08907L13.7929 3.5L12.5 2.20711ZM9.99998 2L8.99998 3H4.9C4.47171 3 4.18056 3.00039 3.95552 3.01877C3.73631 3.03668 3.62421 3.06915 3.54601 3.10899C3.35785 3.20487 3.20487 3.35785 3.10899 3.54601C3.06915 3.62421 3.03669 3.73631 3.01878 3.95552C3.00039 4.18056 3 4.47171 3 4.9V11.1C3 11.5283 3.00039 11.8194 3.01878 12.0445C3.03669 12.2637 3.06915 12.3758 3.10899 12.454C3.20487 12.6422 3.35785 12.7951 3.54601 12.891C3.62421 12.9309 3.73631 12.9633 3.95552 12.9812C4.18056 12.9996 4.47171 13 4.9 13H11.1C11.5283 13 11.8194 12.9996 12.0445 12.9812C12.2637 12.9633 12.3758 12.9309 12.454 12.891C12.6422 12.7951 12.7951 12.6422 12.891 12.454C12.9309 12.3758 12.9633 12.2637 12.9812 12.0445C12.9996 11.8194 13 11.5283 13 11.1V6.99998L14 5.99998V11.1V11.1207C14 11.5231 14 11.8553 13.9779 12.1259C13.9549 12.407 13.9057 12.6653 13.782 12.908C13.5903 13.2843 13.2843 13.5903 12.908 13.782C12.6653 13.9057 12.407 13.9549 12.1259 13.9779C11.8553 14 11.5231 14 11.1207 14H11.1H4.9H4.87934C4.47686 14 4.14468 14 3.87409 13.9779C3.59304 13.9549 3.33469 13.9057 3.09202 13.782C2.7157 13.5903 2.40973 13.2843 2.21799 12.908C2.09434 12.6653 2.04506 12.407 2.0221 12.1259C1.99999 11.8553 1.99999 11.5231 2 11.1207V11.1206V11.1V4.9V4.87935V4.87932V4.87931C1.99999 4.47685 1.99999 4.14468 2.0221 3.87409C2.04506 3.59304 2.09434 3.33469 2.21799 3.09202C2.40973 2.71569 2.7157 2.40973 3.09202 2.21799C3.33469 2.09434 3.59304 2.04506 3.87409 2.0221C4.14468 1.99999 4.47685 1.99999 4.87932 2H4.87935H4.9H9.99998Z",fill:r,fillRule:"evenodd",clipRule:"evenodd"}))});function Cl(e,t){if(typeof e!="object"||e===null)return e;if(Array.isArray(e))return e.map((r,o)=>Cl(r,o));const n=e.props.children?{...e.props,children:Cl(e.props.children)}:e.props;return Z.createElement(e.type,{...n,key:t})}function _5({hide:e}){const{banner:t}=Ke(),n=p.useMemo(()=>{const r=(t==null?void 0:t.content)??"";if(!r)return null;if(typeof r!="string")return()=>Cl(r);const{default:o}=c5(r,{...Qy,Fragment:p.Fragment});return o},[t]);return n?x.jsx("div",{className:M(a5),style:Yt({[e5]:t==null?void 0:t.backgroundColor,[n5]:t==null?void 0:t.textColor}),children:x.jsxs("div",{className:M(i5),children:[x.jsx("div",{className:M(o5),children:x.jsx(n,{})}),(t==null?void 0:t.dismissable)!=="false"&&x.jsx("button",{className:M(r5),onClick:e,type:"button",children:x.jsx(v5,{width:14,height:14})})]})}):null}var S5="vocs_Content";function eg({children:e,className:t}){return x.jsx("article",{className:M(t,S5),children:e})}function tg({items:e,pathname:t}){const n=t.replace(/\.html$/,""),r=[];for(const o of e)(o.link&&n.startsWith(o.match||o.link)||o.items&&tg({items:o.items,pathname:t}).length>0)&&r.push(o.id);return r}function Yi({items:e,pathname:t}){return p.useMemo(()=>tg({items:e,pathname:t}),[e,t])}function Pr(){const e=p.useContext(ng);if(!e)throw new Error("`usePageData` must be used within `PageDataContext.Provider`.");return e}const ng=p.createContext(void 0);function Gl(){const{pathname:e}=Oe(),t=Ke(),{sidebar:n}=t;if(!n)return{items:[]};if(Array.isArray(n))return{items:n};const r=p.useMemo(()=>{const o=Object.keys(n).filter(i=>e.startsWith(i));return o[o.length-1]},[n,e]);return r?Array.isArray(n[r])?{key:r,items:n[r]}:{...n[r],key:r}:{items:[]}}function Nr(){const e=Gl(),{frontmatter:t}=Pr(),{layout:n,showLogo:r,showOutline:o,showSidebar:i,showTopNav:a}=t||{},l=n??"docs";return{layout:l,get showLogo(){return typeof r<"u"?r:!0},get showOutline(){return typeof o<"u"?o:l==="docs"},get showSidebar(){return e.items.length===0?!1:typeof i<"u"?i:!(l==="minimal"||l==="landing")},get showTopNav(){return typeof a<"u"?a:!0}}}function b5(){const[e,t]=p.useState(()=>{if(!(typeof window>"u")){if(localStorage.getItem("vocs.theme")){const n=localStorage.getItem("vocs.theme");if(n)return n}return window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light"}});return p.useEffect(()=>{e&&localStorage.setItem("vocs.theme",e),e==="dark"?document.documentElement.classList.add("dark"):document.documentElement.classList.remove("dark")},[e]),{theme:e,toggle(){t(n=>n==="light"?"dark":"light")}}}var $5="vocs_utils_visibleDark",T5="vocs_utils_visibleLight",rg="vocs_utils_visuallyHidden";function Y(){return Y=Object.assign?Object.assign.bind():function(e){for(var t=1;te.forEach(n=>k5(n,t))}function Ue(...e){return p.useCallback(og(...e),e)}function _n(e,t=[]){let n=[];function r(i,a){const l=p.createContext(a),s=n.length;n=[...n,a];function u(c){const{scope:d,children:h,...y}=c,v=(d==null?void 0:d[e][s])||l,C=p.useMemo(()=>y,Object.values(y));return p.createElement(v.Provider,{value:C},h)}function f(c,d){const h=(d==null?void 0:d[e][s])||l,y=p.useContext(h);if(y)return y;if(a!==void 0)return a;throw new Error(`\`${c}\` must be used within \`${i}\``)}return u.displayName=i+"Provider",[u,f]}const o=()=>{const i=n.map(a=>p.createContext(a));return function(l){const s=(l==null?void 0:l[e])||i;return p.useMemo(()=>({[`__scope${e}`]:{...l,[e]:s}}),[l,s])}};return o.scopeName=e,[r,R5(o,...t)]}function R5(...e){const t=e[0];if(e.length===1)return t;const n=()=>{const r=e.map(o=>({useScope:o(),scopeName:o.scopeName}));return function(i){const a=r.reduce((l,{useScope:s,scopeName:u})=>{const c=s(i)[`__scope${u}`];return{...l,...c}},{});return p.useMemo(()=>({[`__scope${t.scopeName}`]:a}),[a])}};return n.scopeName=t.scopeName,n}const wn=globalThis!=null&&globalThis.document?p.useLayoutEffect:()=>{},P5=Vu.useId||(()=>{});let N5=0;function an(e){const[t,n]=p.useState(P5());return wn(()=>{n(r=>r??String(N5++))},[e]),t?`radix-${t}`:""}function lt(e){const t=p.useRef(e);return p.useEffect(()=>{t.current=e}),p.useMemo(()=>(...n)=>{var r;return(r=t.current)===null||r===void 0?void 0:r.call(t,...n)},[])}function or({prop:e,defaultProp:t,onChange:n=()=>{}}){const[r,o]=A5({defaultProp:t,onChange:n}),i=e!==void 0,a=i?e:r,l=lt(n),s=p.useCallback(u=>{if(i){const c=typeof u=="function"?u(e):u;c!==e&&l(c)}else o(u)},[i,e,o,l]);return[a,s]}function A5({defaultProp:e,onChange:t}){const n=p.useState(e),[r]=n,o=p.useRef(r),i=lt(t);return p.useEffect(()=>{o.current!==r&&(i(r),o.current=r)},[r,o,i]),n}const So=p.forwardRef((e,t)=>{const{children:n,...r}=e,o=p.Children.toArray(n),i=o.find(I5);if(i){const a=i.props.children,l=o.map(s=>s===i?p.Children.count(a)>1?p.Children.only(null):p.isValidElement(a)?a.props.children:null:s);return p.createElement(su,Y({},r,{ref:t}),p.isValidElement(a)?p.cloneElement(a,void 0,l):null)}return p.createElement(su,Y({},r,{ref:t}),n)});So.displayName="Slot";const su=p.forwardRef((e,t)=>{const{children:n,...r}=e;return p.isValidElement(n)?p.cloneElement(n,{...O5(r,n.props),ref:t?og(t,n.ref):n.ref}):p.Children.count(n)>1?p.Children.only(null):null});su.displayName="SlotClone";const L5=({children:e})=>p.createElement(p.Fragment,null,e);function I5(e){return p.isValidElement(e)&&e.type===L5}function O5(e,t){const n={...t};for(const r in t){const o=e[r],i=t[r];/^on[A-Z]/.test(r)?o&&i?n[r]=(...l)=>{i(...l),o(...l)}:o&&(n[r]=o):r==="style"?n[r]={...o,...i}:r==="className"&&(n[r]=[o,i].filter(Boolean).join(" "))}return{...e,...n}}const M5=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","span","svg","ul"],fe=M5.reduce((e,t)=>{const n=p.forwardRef((r,o)=>{const{asChild:i,...a}=r,l=i?So:t;return p.useEffect(()=>{window[Symbol.for("radix-ui")]=!0},[]),p.createElement(l,Y({},a,{ref:o}))});return n.displayName=`Primitive.${t}`,{...e,[t]:n}},{});function cu(e,t){e&&Po.flushSync(()=>e.dispatchEvent(t))}function D5(e,t=globalThis==null?void 0:globalThis.document){const n=lt(e);p.useEffect(()=>{const r=o=>{o.key==="Escape"&&n(o)};return t.addEventListener("keydown",r),()=>t.removeEventListener("keydown",r)},[n,t])}const uu="dismissableLayer.update",j5="dismissableLayer.pointerDownOutside",F5="dismissableLayer.focusOutside";let up;const z5=p.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),Gf=p.forwardRef((e,t)=>{var n;const{disableOutsidePointerEvents:r=!1,onEscapeKeyDown:o,onPointerDownOutside:i,onFocusOutside:a,onInteractOutside:l,onDismiss:s,...u}=e,f=p.useContext(z5),[c,d]=p.useState(null),h=(n=c==null?void 0:c.ownerDocument)!==null&&n!==void 0?n:globalThis==null?void 0:globalThis.document,[,y]=p.useState({}),v=Ue(t,b=>d(b)),C=Array.from(f.layers),[m]=[...f.layersWithOutsidePointerEventsDisabled].slice(-1),g=C.indexOf(m),w=c?C.indexOf(c):-1,E=f.layersWithOutsidePointerEventsDisabled.size>0,S=w>=g,$=B5(b=>{const k=b.target,N=[...f.branches].some(O=>O.contains(k));!S||N||(i==null||i(b),l==null||l(b),b.defaultPrevented||s==null||s())},h),_=U5(b=>{const k=b.target;[...f.branches].some(O=>O.contains(k))||(a==null||a(b),l==null||l(b),b.defaultPrevented||s==null||s())},h);return D5(b=>{w===f.layers.size-1&&(o==null||o(b),!b.defaultPrevented&&s&&(b.preventDefault(),s()))},h),p.useEffect(()=>{if(c)return r&&(f.layersWithOutsidePointerEventsDisabled.size===0&&(up=h.body.style.pointerEvents,h.body.style.pointerEvents="none"),f.layersWithOutsidePointerEventsDisabled.add(c)),f.layers.add(c),fp(),()=>{r&&f.layersWithOutsidePointerEventsDisabled.size===1&&(h.body.style.pointerEvents=up)}},[c,h,r,f]),p.useEffect(()=>()=>{c&&(f.layers.delete(c),f.layersWithOutsidePointerEventsDisabled.delete(c),fp())},[c,f]),p.useEffect(()=>{const b=()=>y({});return document.addEventListener(uu,b),()=>document.removeEventListener(uu,b)},[]),p.createElement(fe.div,Y({},u,{ref:v,style:{pointerEvents:E?S?"auto":"none":void 0,...e.style},onFocusCapture:le(e.onFocusCapture,_.onFocusCapture),onBlurCapture:le(e.onBlurCapture,_.onBlurCapture),onPointerDownCapture:le(e.onPointerDownCapture,$.onPointerDownCapture)}))});function B5(e,t=globalThis==null?void 0:globalThis.document){const n=lt(e),r=p.useRef(!1),o=p.useRef(()=>{});return p.useEffect(()=>{const i=l=>{if(l.target&&!r.current){let u=function(){ig(j5,n,s,{discrete:!0})};const s={originalEvent:l};l.pointerType==="touch"?(t.removeEventListener("click",o.current),o.current=u,t.addEventListener("click",o.current,{once:!0})):u()}else t.removeEventListener("click",o.current);r.current=!1},a=window.setTimeout(()=>{t.addEventListener("pointerdown",i)},0);return()=>{window.clearTimeout(a),t.removeEventListener("pointerdown",i),t.removeEventListener("click",o.current)}},[t,n]),{onPointerDownCapture:()=>r.current=!0}}function U5(e,t=globalThis==null?void 0:globalThis.document){const n=lt(e),r=p.useRef(!1);return p.useEffect(()=>{const o=i=>{i.target&&!r.current&&ig(F5,n,{originalEvent:i},{discrete:!1})};return t.addEventListener("focusin",o),()=>t.removeEventListener("focusin",o)},[t,n]),{onFocusCapture:()=>r.current=!0,onBlurCapture:()=>r.current=!1}}function fp(){const e=new CustomEvent(uu);document.dispatchEvent(e)}function ig(e,t,n,{discrete:r}){const o=n.originalEvent.target,i=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:n});t&&o.addEventListener(e,t,{once:!0}),r?cu(o,i):o.dispatchEvent(i)}const js="focusScope.autoFocusOnMount",Fs="focusScope.autoFocusOnUnmount",dp={bubbles:!1,cancelable:!0},ag=p.forwardRef((e,t)=>{const{loop:n=!1,trapped:r=!1,onMountAutoFocus:o,onUnmountAutoFocus:i,...a}=e,[l,s]=p.useState(null),u=lt(o),f=lt(i),c=p.useRef(null),d=Ue(t,v=>s(v)),h=p.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;p.useEffect(()=>{if(r){let v=function(w){if(h.paused||!l)return;const E=w.target;l.contains(E)?c.current=E:An(c.current,{select:!0})},C=function(w){if(h.paused||!l)return;const E=w.relatedTarget;E!==null&&(l.contains(E)||An(c.current,{select:!0}))},m=function(w){if(document.activeElement===document.body)for(const S of w)S.removedNodes.length>0&&An(l)};document.addEventListener("focusin",v),document.addEventListener("focusout",C);const g=new MutationObserver(m);return l&&g.observe(l,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",v),document.removeEventListener("focusout",C),g.disconnect()}}},[r,l,h.paused]),p.useEffect(()=>{if(l){pp.add(h);const v=document.activeElement;if(!l.contains(v)){const m=new CustomEvent(js,dp);l.addEventListener(js,u),l.dispatchEvent(m),m.defaultPrevented||(H5(G5(lg(l)),{select:!0}),document.activeElement===v&&An(l))}return()=>{l.removeEventListener(js,u),setTimeout(()=>{const m=new CustomEvent(Fs,dp);l.addEventListener(Fs,f),l.dispatchEvent(m),m.defaultPrevented||An(v??document.body,{select:!0}),l.removeEventListener(Fs,f),pp.remove(h)},0)}}},[l,u,f,h]);const y=p.useCallback(v=>{if(!n&&!r||h.paused)return;const C=v.key==="Tab"&&!v.altKey&&!v.ctrlKey&&!v.metaKey,m=document.activeElement;if(C&&m){const g=v.currentTarget,[w,E]=V5(g);w&&E?!v.shiftKey&&m===E?(v.preventDefault(),n&&An(w,{select:!0})):v.shiftKey&&m===w&&(v.preventDefault(),n&&An(E,{select:!0})):m===g&&v.preventDefault()}},[n,r,h.paused]);return p.createElement(fe.div,Y({tabIndex:-1},a,{ref:d,onKeyDown:y}))});function H5(e,{select:t=!1}={}){const n=document.activeElement;for(const r of e)if(An(r,{select:t}),document.activeElement!==n)return}function V5(e){const t=lg(e),n=hp(t,e),r=hp(t.reverse(),e);return[n,r]}function lg(e){const t=[],n=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:r=>{const o=r.tagName==="INPUT"&&r.type==="hidden";return r.disabled||r.hidden||o?NodeFilter.FILTER_SKIP:r.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;n.nextNode();)t.push(n.currentNode);return t}function hp(e,t){for(const n of e)if(!W5(n,{upTo:t}))return n}function W5(e,{upTo:t}){if(getComputedStyle(e).visibility==="hidden")return!0;for(;e;){if(t!==void 0&&e===t)return!1;if(getComputedStyle(e).display==="none")return!0;e=e.parentElement}return!1}function K5(e){return e instanceof HTMLInputElement&&"select"in e}function An(e,{select:t=!1}={}){if(e&&e.focus){const n=document.activeElement;e.focus({preventScroll:!0}),e!==n&&K5(e)&&t&&e.select()}}const pp=Y5();function Y5(){let e=[];return{add(t){const n=e[0];t!==n&&(n==null||n.pause()),e=vp(e,t),e.unshift(t)},remove(t){var n;e=vp(e,t),(n=e[0])===null||n===void 0||n.resume()}}}function vp(e,t){const n=[...e],r=n.indexOf(t);return r!==-1&&n.splice(r,1),n}function G5(e){return e.filter(t=>t.tagName!=="A")}const sg=p.forwardRef((e,t)=>{var n;const{container:r=globalThis==null||(n=globalThis.document)===null||n===void 0?void 0:n.body,...o}=e;return r?k0.createPortal(p.createElement(fe.div,Y({},o,{ref:t})),r):null});function Q5(e,t){return p.useReducer((n,r)=>{const o=t[n][r];return o??n},e)}const Sn=e=>{const{present:t,children:n}=e,r=Z5(t),o=typeof n=="function"?n({present:r.isPresent}):p.Children.only(n),i=Ue(r.ref,o.ref);return typeof n=="function"||r.isPresent?p.cloneElement(o,{ref:i}):null};Sn.displayName="Presence";function Z5(e){const[t,n]=p.useState(),r=p.useRef({}),o=p.useRef(e),i=p.useRef("none"),a=e?"mounted":"unmounted",[l,s]=Q5(a,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return p.useEffect(()=>{const u=Ca(r.current);i.current=l==="mounted"?u:"none"},[l]),wn(()=>{const u=r.current,f=o.current;if(f!==e){const d=i.current,h=Ca(u);e?s("MOUNT"):h==="none"||(u==null?void 0:u.display)==="none"?s("UNMOUNT"):s(f&&d!==h?"ANIMATION_OUT":"UNMOUNT"),o.current=e}},[e,s]),wn(()=>{if(t){const u=c=>{const h=Ca(r.current).includes(c.animationName);c.target===t&&h&&Po.flushSync(()=>s("ANIMATION_END"))},f=c=>{c.target===t&&(i.current=Ca(r.current))};return t.addEventListener("animationstart",f),t.addEventListener("animationcancel",u),t.addEventListener("animationend",u),()=>{t.removeEventListener("animationstart",f),t.removeEventListener("animationcancel",u),t.removeEventListener("animationend",u)}}else s("ANIMATION_END")},[t,s]),{isPresent:["mounted","unmountSuspended"].includes(l),ref:p.useCallback(u=>{u&&(r.current=getComputedStyle(u)),n(u)},[])}}function Ca(e){return(e==null?void 0:e.animationName)||"none"}let zs=0;function cg(){p.useEffect(()=>{var e,t;const n=document.querySelectorAll("[data-radix-focus-guard]");return document.body.insertAdjacentElement("afterbegin",(e=n[0])!==null&&e!==void 0?e:mp()),document.body.insertAdjacentElement("beforeend",(t=n[1])!==null&&t!==void 0?t:mp()),zs++,()=>{zs===1&&document.querySelectorAll("[data-radix-focus-guard]").forEach(r=>r.remove()),zs--}},[])}function mp(){const e=document.createElement("span");return e.setAttribute("data-radix-focus-guard",""),e.tabIndex=0,e.style.cssText="outline: none; opacity: 0; position: fixed; pointer-events: none",e}var en=function(){return en=Object.assign||function(t){for(var n,r=1,o=arguments.length;r"u")return h4;var t=p4(e),n=document.documentElement.clientWidth,r=window.innerWidth;return{left:t[0],top:t[1],right:t[2],gap:Math.max(0,r-n+t[2]-t[0])}},m4=hg(),uo="data-scroll-locked",g4=function(e,t,n,r){var o=e.left,i=e.top,a=e.right,l=e.gap;return n===void 0&&(n="margin"),` + */function _o(){return _o=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0)&&(n[o]=e[o]);return n}function dx(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}function hx(e,t){return e.button===0&&(!t||t==="_self")&&!dx(e)}const px=["onClick","relative","reloadDocument","replace","state","target","to","preventScrollReset","unstable_viewTransition"],vx="6";try{window.__reactRouterVersion=vx}catch{}function mx(e,t){return Pw({basename:t==null?void 0:t.basename,future:_o({},t==null?void 0:t.future,{v7_prependBasename:!0}),history:tw({window:t==null?void 0:t.window}),hydrationData:(t==null?void 0:t.hydrationData)||gx(),routes:e,mapRouteProperties:ux,unstable_dataStrategy:t==null?void 0:t.unstable_dataStrategy,window:t==null?void 0:t.window}).initialize()}function gx(){var e;let t=(e=window)==null?void 0:e.__staticRouterHydrationData;return t&&t.errors&&(t=_o({},t,{errors:yx(t.errors)})),t}function yx(e){if(!e)return null;let t=Object.entries(e),n={};for(let[r,o]of t)if(o&&o.__type==="RouteErrorResponse")n[r]=new jf(o.status,o.statusText,o.data,o.internal===!0);else if(o&&o.__type==="Error"){if(o.__subType){let i=window[o.__subType];if(typeof i=="function")try{let a=new i(o.message);a.stack="",n[r]=a}catch{}}if(n[r]==null){let i=new Error(o.message);i.stack="",n[r]=i}}else n[r]=o;return n}const wx=p.createContext({isTransitioning:!1}),xx=p.createContext(new Map),Cx="startTransition",qh=Vu[Cx],Ex="flushSync",ep=ew[Ex];function _x(e){qh?qh(e):e()}function Jo(e){ep?ep(e):e()}class Sx{constructor(){this.status="pending",this.promise=new Promise((t,n)=>{this.resolve=r=>{this.status==="pending"&&(this.status="resolved",t(r))},this.reject=r=>{this.status==="pending"&&(this.status="rejected",n(r))}})}}function bx(e){let{fallbackElement:t,router:n,future:r}=e,[o,i]=p.useState(n.state),[a,l]=p.useState(),[s,u]=p.useState({isTransitioning:!1}),[f,c]=p.useState(),[d,h]=p.useState(),[y,v]=p.useState(),C=p.useRef(new Map),{v7_startTransition:m}=r||{},g=p.useCallback(_=>{m?_x(_):_()},[m]),w=p.useCallback((_,b)=>{let{deletedFetchers:k,unstable_flushSync:N,unstable_viewTransitionOpts:O}=b;k.forEach(I=>C.current.delete(I)),_.fetchers.forEach((I,R)=>{I.data!==void 0&&C.current.set(R,I.data)});let D=n.window==null||n.window.document==null||typeof n.window.document.startViewTransition!="function";if(!O||D){N?Jo(()=>i(_)):g(()=>i(_));return}if(N){Jo(()=>{d&&(f&&f.resolve(),d.skipTransition()),u({isTransitioning:!0,flushSync:!0,currentLocation:O.currentLocation,nextLocation:O.nextLocation})});let I=n.window.document.startViewTransition(()=>{Jo(()=>i(_))});I.finished.finally(()=>{Jo(()=>{c(void 0),h(void 0),l(void 0),u({isTransitioning:!1})})}),Jo(()=>h(I));return}d?(f&&f.resolve(),d.skipTransition(),v({state:_,currentLocation:O.currentLocation,nextLocation:O.nextLocation})):(l(_),u({isTransitioning:!0,flushSync:!1,currentLocation:O.currentLocation,nextLocation:O.nextLocation}))},[n.window,d,f,C,g]);p.useLayoutEffect(()=>n.subscribe(w),[n,w]),p.useEffect(()=>{s.isTransitioning&&!s.flushSync&&c(new Sx)},[s]),p.useEffect(()=>{if(f&&a&&n.window){let _=a,b=f.promise,k=n.window.document.startViewTransition(async()=>{g(()=>i(_)),await b});k.finished.finally(()=>{c(void 0),h(void 0),l(void 0),u({isTransitioning:!1})}),h(k)}},[g,a,f,n.window]),p.useEffect(()=>{f&&a&&o.location.key===a.location.key&&f.resolve()},[f,d,o.location,a]),p.useEffect(()=>{!s.isTransitioning&&y&&(l(y.state),u({isTransitioning:!0,flushSync:!1,currentLocation:y.currentLocation,nextLocation:y.nextLocation}),v(void 0))},[s.isTransitioning,y]),p.useEffect(()=>{},[]);let E=p.useMemo(()=>({createHref:n.createHref,encodeLocation:n.encodeLocation,go:_=>n.navigate(_),push:(_,b,k)=>n.navigate(_,{state:b,preventScrollReset:k==null?void 0:k.preventScrollReset}),replace:(_,b,k)=>n.navigate(_,{replace:!0,state:b,preventScrollReset:k==null?void 0:k.preventScrollReset})}),[n]),S=n.basename||"/",$=p.useMemo(()=>({router:n,navigator:E,static:!1,basename:S}),[n,E,S]);return p.createElement(p.Fragment,null,p.createElement(Ki.Provider,{value:$},p.createElement(Uf.Provider,{value:o},p.createElement(xx.Provider,{value:C.current},p.createElement(wx.Provider,{value:s},p.createElement(cx,{basename:S,location:o.location,navigationType:o.historyAction,navigator:E,future:{v7_relativeSplatPath:n.future.v7_relativeSplatPath}},o.initialized||n.future.v7_partialHydration?p.createElement($x,{routes:n.routes,future:n.future,state:o}):t))))),null)}function $x(e){let{routes:t,future:n,state:r}=e;return Xw(t,void 0,r,n)}const Tx=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",kx=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,Yl=p.forwardRef(function(t,n){let{onClick:r,relative:o,reloadDocument:i,replace:a,state:l,target:s,to:u,preventScrollReset:f,unstable_viewTransition:c}=t,d=fx(t,px),{basename:h}=p.useContext(rr),y,v=!1;if(typeof u=="string"&&kx.test(u)&&(y=u,Tx))try{let w=new URL(window.location.href),E=u.startsWith("//")?new URL(w.protocol+u):new URL(u),S=Tr(E.pathname,h);E.origin===w.origin&&S!=null?u=S+E.search+E.hash:v=!0}catch{}let C=Gw(u,{relative:o}),m=Ax(u,{replace:a,state:l,target:s,preventScrollReset:f,relative:o,unstable_viewTransition:c});function g(w){r&&r(w),w.defaultPrevented||m(w)}return p.createElement("a",_o({},d,{href:y||C,onClick:v||i?r:g,ref:n,target:s}))});function Rx(e){let{getKey:t,storageKey:n}=e;return Lx({getKey:t,storageKey:n}),null}var ou;(function(e){e.UseScrollRestoration="useScrollRestoration",e.UseSubmit="useSubmit",e.UseSubmitFetcher="useSubmitFetcher",e.UseFetcher="useFetcher",e.useViewTransitionState="useViewTransitionState"})(ou||(ou={}));var iu;(function(e){e.UseFetcher="useFetcher",e.UseFetchers="useFetchers",e.UseScrollRestoration="useScrollRestoration"})(iu||(iu={}));function Px(e){let t=p.useContext(Ki);return t||ne(!1),t}function Nx(e){let t=p.useContext(Uf);return t||ne(!1),t}function Ax(e,t){let{target:n,replace:r,state:o,preventScrollReset:i,relative:a,unstable_viewTransition:l}=t===void 0?{}:t,s=Vf(),u=Oe(),f=U0(e,{relative:a});return p.useCallback(c=>{if(hx(c,n)){c.preventDefault();let d=r!==void 0?r:_r(u)===_r(f);s(e,{replace:d,state:o,preventScrollReset:i,relative:a,unstable_viewTransition:l})}},[u,s,f,r,o,n,e,i,a,l])}const tp="react-router-scroll-positions";let wa={};function Lx(e){let{getKey:t,storageKey:n}=e===void 0?{}:e,{router:r}=Px(ou.UseScrollRestoration),{restoreScrollPosition:o,preventScrollReset:i}=Nx(iu.UseScrollRestoration),{basename:a}=p.useContext(rr),l=Oe(),s=ax(),u=ix();p.useEffect(()=>(window.history.scrollRestoration="manual",()=>{window.history.scrollRestoration="auto"}),[]),Ix(p.useCallback(()=>{if(u.state==="idle"){let f=(t?t(l,s):null)||l.key;wa[f]=window.scrollY}try{sessionStorage.setItem(n||tp,JSON.stringify(wa))}catch{}window.history.scrollRestoration="auto"},[n,t,u.state,l,s])),typeof document<"u"&&(p.useLayoutEffect(()=>{try{let f=sessionStorage.getItem(n||tp);f&&(wa=JSON.parse(f))}catch{}},[n]),p.useLayoutEffect(()=>{let f=t&&a!=="/"?(d,h)=>t(_o({},d,{pathname:Tr(d.pathname,a)||d.pathname}),h):t,c=r==null?void 0:r.enableScrollRestoration(wa,()=>window.scrollY,f);return()=>c&&c()},[r,a,t]),p.useLayoutEffect(()=>{if(o!==!1){if(typeof o=="number"){window.scrollTo(0,o);return}if(l.hash){let f=document.getElementById(decodeURIComponent(l.hash.slice(1)));if(f){f.scrollIntoView();return}}i!==!0&&window.scrollTo(0,0)}},[l,o,i]))}function Ix(e,t){let{capture:n}={};p.useEffect(()=>{let r=n!=null?{capture:n}:void 0;return window.addEventListener("pagehide",e,r),()=>{window.removeEventListener("pagehide",e,r)}},[e,n])}const Ox="modulepreload",Mx=function(e){return"/polkadot-api-docs/"+e},np={},be=function(t,n,r){let o=Promise.resolve();if(n&&n.length>0){document.getElementsByTagName("link");const i=document.querySelector("meta[property=csp-nonce]"),a=(i==null?void 0:i.nonce)||(i==null?void 0:i.getAttribute("nonce"));o=Promise.all(n.map(l=>{if(l=Mx(l),l in np)return;np[l]=!0;const s=l.endsWith(".css"),u=s?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${l}"]${u}`))return;const f=document.createElement("link");if(f.rel=s?"stylesheet":Ox,s||(f.as="script",f.crossOrigin=""),f.href=l,a&&f.setAttribute("nonce",a),document.head.appendChild(f),s)return new Promise((c,d)=>{f.addEventListener("load",c),f.addEventListener("error",()=>d(new Error(`Unable to preload CSS for ${l}`)))})}))}return o.then(()=>t()).catch(i=>{const a=new Event("vite:preloadError",{cancelable:!0});if(a.payload=i,window.dispatchEvent(a),!a.defaultPrevented)throw i})};function au(e){return Array.isArray(e)?e.map(au):typeof e=="object"&&e!==null?Object.keys(e).reduce((t,n)=>(t[n]=au(e[n]),t),{}):typeof e=="string"&&e.includes("_vocs-fn_")?new Function(`return ${e.slice(9)}`)():e}const W0=au({blogDir:"./pages/blog",rootDir:"docs",title:"Polkadot-API",titleTemplate:"%s – Polkadot-API",description:"Typescript API to interact with polkadot chains",basePath:"/polkadot-api-docs",topNav:[{text:"Guide",link:"/getting-started",id:20,items:[]}],sidebar:[{text:"Getting Started",link:"/getting-started"},{text:"Top-level client",items:[{text:"PolkadotClient",link:"/client"},{text:"Typed API",link:"/typed",items:[{text:"Constants",link:"/typed/constants"},{text:"Runtime APIs",link:"/typed/apis"},{text:"Storage queries",link:"/typed/queries"}]}]},{text:"Providers",link:"/providers"},{text:"Codegen",link:"/codegen"},{text:"Types",link:"/types"},{text:"Signers",link:"/signers"},{text:"Recipes",items:[{text:"Prepare for runtime upgrade",link:"/recipes/upgrade"}]},{text:"Examples",items:[{text:"Teleport across chains",link:"https://github.com/polkadot-api/react-teleport-example"}]}],socials:[{icon:"github",link:"https://github.com/polkadot-api/polkadot-api",label:"GitHub",type:"github"}],font:{},markdown:{code:{themes:{dark:"github-dark-dimmed",light:"github-light"}}},theme:{},vite:{base:"/polkadot-api-docs"}}),K0=p.createContext(W0);function Y0(){return typeof window<"u",W0}function Dx({children:e,config:t}){const[n,r]=p.useState(()=>t||Y0());return p.useEffect(()=>{},[]),p.useEffect(()=>{typeof window<"u"},[n]),x.jsx(K0.Provider,{value:n,children:e})}function Ke(){return p.useContext(K0)}const Kf=[{lazy:()=>be(()=>import("./client-ClpWnpXL.js"),[]),path:"/client",type:"mdx",filePath:"client.md",lastUpdatedAt:1716163495e3},{lazy:()=>be(()=>import("./client-ClpWnpXL.js"),[]),path:"/client.html",type:"mdx",filePath:"client.md",lastUpdatedAt:1716163495e3},{lazy:()=>be(()=>import("./codegen-BKQwSmbi.js"),[]),path:"/codegen",type:"mdx",filePath:"codegen.md",lastUpdatedAt:1716163495e3},{lazy:()=>be(()=>import("./codegen-BKQwSmbi.js"),[]),path:"/codegen.html",type:"mdx",filePath:"codegen.md",lastUpdatedAt:1716163495e3},{lazy:()=>be(()=>import("./getting-started-CcLvYk78.js"),[]),path:"/getting-started",type:"mdx",filePath:"getting-started.mdx",lastUpdatedAt:1716163495e3},{lazy:()=>be(()=>import("./getting-started-CcLvYk78.js"),[]),path:"/getting-started.html",type:"mdx",filePath:"getting-started.mdx",lastUpdatedAt:1716163495e3},{lazy:()=>be(()=>import("./index-D2cdgzBc.js"),[]),path:"/",type:"mdx",filePath:"index.mdx",lastUpdatedAt:1716163495e3},{lazy:()=>be(()=>import("./providers-BU4ragnR.js"),[]),path:"/providers",type:"mdx",filePath:"providers.md",lastUpdatedAt:1716163495e3},{lazy:()=>be(()=>import("./providers-BU4ragnR.js"),[]),path:"/providers.html",type:"mdx",filePath:"providers.md",lastUpdatedAt:1716163495e3},{lazy:()=>be(()=>import("./signers-CeGt6-FV.js"),[]),path:"/signers",type:"mdx",filePath:"signers.md",lastUpdatedAt:1716163495e3},{lazy:()=>be(()=>import("./signers-CeGt6-FV.js"),[]),path:"/signers.html",type:"mdx",filePath:"signers.md",lastUpdatedAt:1716163495e3},{lazy:()=>be(()=>import("./typed-ByiZhdT5.js"),[]),path:"/typed",type:"mdx",filePath:"typed.md",lastUpdatedAt:1716163495e3},{lazy:()=>be(()=>import("./typed-ByiZhdT5.js"),[]),path:"/typed.html",type:"mdx",filePath:"typed.md",lastUpdatedAt:1716163495e3},{lazy:()=>be(()=>import("./types-kMiv1VX1.js"),[]),path:"/types",type:"mdx",filePath:"types.mdx",lastUpdatedAt:1716163495e3},{lazy:()=>be(()=>import("./types-kMiv1VX1.js"),[]),path:"/types.html",type:"mdx",filePath:"types.mdx",lastUpdatedAt:1716163495e3},{lazy:()=>be(()=>import("./upgrade-MDfuJAwV.js"),[]),path:"/recipes/upgrade",type:"mdx",filePath:"recipes/upgrade.md",lastUpdatedAt:1716163495e3},{lazy:()=>be(()=>import("./upgrade-MDfuJAwV.js"),[]),path:"/recipes/upgrade.html",type:"mdx",filePath:"recipes/upgrade.md",lastUpdatedAt:1716163495e3},{lazy:()=>be(()=>import("./apis-D8F-QCGv.js"),[]),path:"/typed/apis",type:"mdx",filePath:"typed/apis.md",lastUpdatedAt:1716163495e3},{lazy:()=>be(()=>import("./apis-D8F-QCGv.js"),[]),path:"/typed/apis.html",type:"mdx",filePath:"typed/apis.md",lastUpdatedAt:1716163495e3},{lazy:()=>be(()=>import("./constants-Bix42yjo.js"),[]),path:"/typed/constants",type:"mdx",filePath:"typed/constants.md",lastUpdatedAt:1716163495e3},{lazy:()=>be(()=>import("./constants-Bix42yjo.js"),[]),path:"/typed/constants.html",type:"mdx",filePath:"typed/constants.md",lastUpdatedAt:1716163495e3},{lazy:()=>be(()=>import("./queries-BulcR9Vi.js"),[]),path:"/typed/queries",type:"mdx",filePath:"typed/queries.md",lastUpdatedAt:1716163495e3},{lazy:()=>be(()=>import("./queries-BulcR9Vi.js"),[]),path:"/typed/queries.html",type:"mdx",filePath:"typed/queries.md",lastUpdatedAt:1716163495e3}];var Ms={horizontalPadding:"var(--vocs-content_horizontalPadding)",verticalPadding:"var(--vocs-content_verticalPadding)",width:"var(--vocs-content_width)"},rp={default:"system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif",mono:'ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace'},op={default:"var(--vocs-fontFamily_default)",mono:"var(--vocs-fontFamily_mono)"},ip={white:"var(--vocs-color_white)",black:"var(--vocs-color_black)",background:"var(--vocs-color_background)",background2:"var(--vocs-color_background2)",background3:"var(--vocs-color_background3)",background4:"var(--vocs-color_background4)",background5:"var(--vocs-color_background5)",backgroundAccent:"var(--vocs-color_backgroundAccent)",backgroundAccentHover:"var(--vocs-color_backgroundAccentHover)",backgroundAccentText:"var(--vocs-color_backgroundAccentText)",backgroundBlueTint:"var(--vocs-color_backgroundBlueTint)",backgroundDark:"var(--vocs-color_backgroundDark)",backgroundGreenTint:"var(--vocs-color_backgroundGreenTint)",backgroundGreenTint2:"var(--vocs-color_backgroundGreenTint2)",backgroundIrisTint:"var(--vocs-color_backgroundIrisTint)",backgroundRedTint:"var(--vocs-color_backgroundRedTint)",backgroundRedTint2:"var(--vocs-color_backgroundRedTint2)",backgroundYellowTint:"var(--vocs-color_backgroundYellowTint)",border:"var(--vocs-color_border)",border2:"var(--vocs-color_border2)",borderAccent:"var(--vocs-color_borderAccent)",borderBlue:"var(--vocs-color_borderBlue)",borderGreen:"var(--vocs-color_borderGreen)",borderIris:"var(--vocs-color_borderIris)",borderRed:"var(--vocs-color_borderRed)",borderYellow:"var(--vocs-color_borderYellow)",heading:"var(--vocs-color_heading)",inverted:"var(--vocs-color_inverted)",shadow:"var(--vocs-color_shadow)",shadow2:"var(--vocs-color_shadow2)",text:"var(--vocs-color_text)",text2:"var(--vocs-color_text2)",text3:"var(--vocs-color_text3)",text4:"var(--vocs-color_text4)",textAccent:"var(--vocs-color_textAccent)",textAccentHover:"var(--vocs-color_textAccentHover)",textBlue:"var(--vocs-color_textBlue)",textBlueHover:"var(--vocs-color_textBlueHover)",textGreen:"var(--vocs-color_textGreen)",textGreenHover:"var(--vocs-color_textGreenHover)",textIris:"var(--vocs-color_textIris)",textIrisHover:"var(--vocs-color_textIrisHover)",textRed:"var(--vocs-color_textRed)",textRedHover:"var(--vocs-color_textRedHover)",textYellow:"var(--vocs-color_textYellow)",textYellowHover:"var(--vocs-color_textYellowHover)",title:"var(--vocs-color_title)"},Ds={0:"var(--vocs-space_0)",1:"var(--vocs-space_1)",2:"var(--vocs-space_2)",3:"var(--vocs-space_3)",4:"var(--vocs-space_4)",6:"var(--vocs-space_6)",8:"var(--vocs-space_8)",12:"var(--vocs-space_12)",14:"var(--vocs-space_14)",16:"var(--vocs-space_16)",18:"var(--vocs-space_18)",20:"var(--vocs-space_20)",22:"var(--vocs-space_22)",24:"var(--vocs-space_24)",28:"var(--vocs-space_28)",32:"var(--vocs-space_32)",36:"var(--vocs-space_36)",40:"var(--vocs-space_40)",44:"var(--vocs-space_44)",48:"var(--vocs-space_48)",56:"var(--vocs-space_56)",64:"var(--vocs-space_64)",72:"var(--vocs-space_72)",80:"var(--vocs-space_80)"};function G0(e){var t,n,r="";if(typeof e=="string"||typeof e=="number")r+=e;else if(typeof e=="object")if(Array.isArray(e)){var o=e.length;for(t=0;t"".concat(l,":").concat(this[l])).join(";")},writable:!1}),n}var Fx="var(--vocs_ExternalLink_iconUrl)",zx="vocs_ExternalLink";const Bx=p.forwardRef(({className:e,children:t,hideExternalIcon:n,href:r,...o},i)=>{const{basePath:a}=Ke(),l=a;return x.jsx("a",{ref:i,className:M(e,n||typeof t!="string"?void 0:zx),href:r,target:"_blank",rel:"noopener noreferrer",style:Yt({[Fx]:`url(${l}/.vocs/icons/arrow-diagonal.svg)`}),...o,children:t})});var ap="vocs_Link_accent_underlined",lp="vocs_Link",sp="vocs_Link_styleless",lu=new Map,xa=new WeakMap,cp=0,Ux=void 0;function Hx(e){return e?(xa.has(e)||(cp+=1,xa.set(e,cp.toString())),xa.get(e)):"0"}function Vx(e){return Object.keys(e).sort().filter(t=>e[t]!==void 0).map(t=>`${t}_${t==="root"?Hx(e.root):e[t]}`).toString()}function Wx(e){const t=Vx(e);let n=lu.get(t);if(!n){const r=new Map;let o;const i=new IntersectionObserver(a=>{a.forEach(l=>{var s;const u=l.isIntersecting&&o.some(f=>l.intersectionRatio>=f);e.trackVisibility&&typeof l.isVisible>"u"&&(l.isVisible=u),(s=r.get(l.target))==null||s.forEach(f=>{f(u,l)})})},e);o=i.thresholds||(Array.isArray(e.threshold)?e.threshold:[e.threshold||0]),n={id:t,observer:i,elements:r},lu.set(t,n)}return n}function Kx(e,t,n={},r=Ux){if(typeof window.IntersectionObserver>"u"&&r!==void 0){const s=e.getBoundingClientRect();return t(r,{isIntersecting:r,target:e,intersectionRatio:typeof n.threshold=="number"?n.threshold:0,time:0,boundingClientRect:s,intersectionRect:s,rootBounds:s}),()=>{}}const{id:o,observer:i,elements:a}=Wx(n),l=a.get(e)||[];return a.has(e)||a.set(e,l),l.push(t),i.observe(e),function(){l.splice(l.indexOf(t),1),l.length===0&&(a.delete(e),i.unobserve(e)),a.size===0&&(i.disconnect(),lu.delete(o))}}function Q0({threshold:e,delay:t,trackVisibility:n,rootMargin:r,root:o,triggerOnce:i,skip:a,initialInView:l,fallbackInView:s,onChange:u}={}){var f;const[c,d]=p.useState(null),h=p.useRef(),[y,v]=p.useState({inView:!!l,entry:void 0});h.current=u,p.useEffect(()=>{if(a||!c)return;let w;return w=Kx(c,(E,S)=>{v({inView:E,entry:S}),h.current&&h.current(E,S),S.isIntersecting&&i&&w&&(w(),w=void 0)},{root:o,rootMargin:r,threshold:e,trackVisibility:n,delay:t},s),()=>{w&&w()}},[Array.isArray(e)?e.toString():e,c,o,r,i,a,n,s,t]);const C=(f=y.entry)==null?void 0:f.target,m=p.useRef();!c&&C&&!i&&!a&&m.current!==C&&(m.current=C,v({inView:!!l,entry:void 0}));const g=[d,y.inView,y.entry];return g.ref=g[0],g.inView=g[1],g.entry=g[2],g}function Yx(...e){return t=>{Gx(t,...e)}}function Gx(e,...t){t.forEach(n=>{typeof n=="function"?n(e):n!=null&&(n.current=e)})}const Qn=p.forwardRef((e,t)=>{const n=()=>{var i;return(i=Kf.find(a=>a.path===e.to))==null?void 0:i.lazy()},{ref:r,inView:o}=Q0();return p.useEffect(()=>{o&&n()},[o,n]),x.jsx(Yl,{ref:Yx(t,r),...e})}),on=p.forwardRef((e,t)=>{const{href:n,variant:r="accent underlined"}=e,{pathname:o}=Oe();if(n!=null&&n.match(/^(www|https?)/))return x.jsx(Bx,{...e,ref:t,className:M(e.className,lp,r==="accent underlined"&&ap,r==="styleless"&&sp),hideExternalIcon:e.hideExternalIcon});const[i,a]=(n||"").split("#"),l=`${i||o}${a?`#${a}`:""}`;return x.jsx(Qn,{...e,ref:t,className:M(e.className,lp,r==="accent underlined"&&ap,r==="styleless"&&sp),to:l})});var Qx="vocs_NotFound_divider",Zx="vocs_NotFound",Xx="vocs_H1",Z0="vocs_Heading",X0="vocs_Heading_slugTarget";function Ao({level:e,...t}){const n=`h${e}`;return x.jsxs(n,{...t,id:void 0,className:M(t.className,Z0),children:[x.jsx("div",{id:t.id,className:X0}),t.children]})}function J0(e){return x.jsx(Ao,{...e,className:M(e.className,Xx),level:1})}var Jx="vocs_Paragraph";function q0(e){return x.jsx("p",{...e,className:M(e.className,Jx)})}function qx(){return x.jsxs("div",{className:Zx,children:[x.jsx(J0,{children:"Page Not Found"}),x.jsx("div",{style:{height:Ds[24]}}),x.jsx("hr",{className:Qx}),x.jsx("div",{style:{height:Ds[24]}}),x.jsx(q0,{children:"The page you were looking for could not be found."}),x.jsx("div",{style:{height:Ds[8]}}),x.jsx(on,{href:"/",children:"Go to Home Page"})]})}var e5="var(--vocs_Banner_bannerBackgroundColor)",t5="var(--vocs_Banner_bannerHeight)",n5="var(--vocs_Banner_bannerTextColor)",r5="vocs_Banner_closeButton",o5="vocs_Banner_content",i5="vocs_Banner_inner",a5="vocs_Banner";const l5=Object.getPrototypeOf(s5).constructor;async function s5(e,t){return new l5(String(e))(t)}function c5(e,t){return new Function(String(e))(t)}function Rr(e,t){if(e==null)return{};var n={},r=Object.keys(e),o,i;for(i=0;i=0)&&(n[o]=e[o]);return n}var u5=["color"],f5=p.forwardRef(function(e,t){var n=e.color,r=n===void 0?"currentColor":n,o=Rr(e,u5);return p.createElement("svg",Object.assign({width:"15",height:"15",viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},o,{ref:t}),p.createElement("path",{d:"M6.85355 3.14645C7.04882 3.34171 7.04882 3.65829 6.85355 3.85355L3.70711 7H12.5C12.7761 7 13 7.22386 13 7.5C13 7.77614 12.7761 8 12.5 8H3.70711L6.85355 11.1464C7.04882 11.3417 7.04882 11.6583 6.85355 11.8536C6.65829 12.0488 6.34171 12.0488 6.14645 11.8536L2.14645 7.85355C1.95118 7.65829 1.95118 7.34171 2.14645 7.14645L6.14645 3.14645C6.34171 2.95118 6.65829 2.95118 6.85355 3.14645Z",fill:r,fillRule:"evenodd",clipRule:"evenodd"}))}),d5=["color"],h5=p.forwardRef(function(e,t){var n=e.color,r=n===void 0?"currentColor":n,o=Rr(e,d5);return p.createElement("svg",Object.assign({width:"15",height:"15",viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},o,{ref:t}),p.createElement("path",{d:"M6.1584 3.13508C6.35985 2.94621 6.67627 2.95642 6.86514 3.15788L10.6151 7.15788C10.7954 7.3502 10.7954 7.64949 10.6151 7.84182L6.86514 11.8418C6.67627 12.0433 6.35985 12.0535 6.1584 11.8646C5.95694 11.6757 5.94673 11.3593 6.1356 11.1579L9.565 7.49985L6.1356 3.84182C5.94673 3.64036 5.95694 3.32394 6.1584 3.13508Z",fill:r,fillRule:"evenodd",clipRule:"evenodd"}))}),p5=["color"],v5=p.forwardRef(function(e,t){var n=e.color,r=n===void 0?"currentColor":n,o=Rr(e,p5);return p.createElement("svg",Object.assign({width:"15",height:"15",viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},o,{ref:t}),p.createElement("path",{d:"M12.8536 2.85355C13.0488 2.65829 13.0488 2.34171 12.8536 2.14645C12.6583 1.95118 12.3417 1.95118 12.1464 2.14645L7.5 6.79289L2.85355 2.14645C2.65829 1.95118 2.34171 1.95118 2.14645 2.14645C1.95118 2.34171 1.95118 2.65829 2.14645 2.85355L6.79289 7.5L2.14645 12.1464C1.95118 12.3417 1.95118 12.6583 2.14645 12.8536C2.34171 13.0488 2.65829 13.0488 2.85355 12.8536L7.5 8.20711L12.1464 12.8536C12.3417 13.0488 12.6583 13.0488 12.8536 12.8536C13.0488 12.6583 13.0488 12.3417 12.8536 12.1464L8.20711 7.5L12.8536 2.85355Z",fill:r,fillRule:"evenodd",clipRule:"evenodd"}))}),m5=["color"],g5=p.forwardRef(function(e,t){var n=e.color,r=n===void 0?"currentColor":n,o=Rr(e,m5);return p.createElement("svg",Object.assign({width:"15",height:"15",viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},o,{ref:t}),p.createElement("path",{d:"M3.5 2C3.22386 2 3 2.22386 3 2.5V12.5C3 12.7761 3.22386 13 3.5 13H11.5C11.7761 13 12 12.7761 12 12.5V6H8.5C8.22386 6 8 5.77614 8 5.5V2H3.5ZM9 2.70711L11.2929 5H9V2.70711ZM2 2.5C2 1.67157 2.67157 1 3.5 1H8.5C8.63261 1 8.75979 1.05268 8.85355 1.14645L12.8536 5.14645C12.9473 5.24021 13 5.36739 13 5.5V12.5C13 13.3284 12.3284 14 11.5 14H3.5C2.67157 14 2 13.3284 2 12.5V2.5Z",fill:r,fillRule:"evenodd",clipRule:"evenodd"}))}),y5=["color"],w5=p.forwardRef(function(e,t){var n=e.color,r=n===void 0?"currentColor":n,o=Rr(e,y5);return p.createElement("svg",Object.assign({width:"15",height:"15",viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},o,{ref:t}),p.createElement("path",{d:"M1.5 5.25C1.91421 5.25 2.25 4.91421 2.25 4.5C2.25 4.08579 1.91421 3.75 1.5 3.75C1.08579 3.75 0.75 4.08579 0.75 4.5C0.75 4.91421 1.08579 5.25 1.5 5.25ZM4 4.5C4 4.22386 4.22386 4 4.5 4H13.5C13.7761 4 14 4.22386 14 4.5C14 4.77614 13.7761 5 13.5 5H4.5C4.22386 5 4 4.77614 4 4.5ZM4.5 7C4.22386 7 4 7.22386 4 7.5C4 7.77614 4.22386 8 4.5 8H13.5C13.7761 8 14 7.77614 14 7.5C14 7.22386 13.7761 7 13.5 7H4.5ZM4.5 10C4.22386 10 4 10.2239 4 10.5C4 10.7761 4.22386 11 4.5 11H13.5C13.7761 11 14 10.7761 14 10.5C14 10.2239 13.7761 10 13.5 10H4.5ZM2.25 7.5C2.25 7.91421 1.91421 8.25 1.5 8.25C1.08579 8.25 0.75 7.91421 0.75 7.5C0.75 7.08579 1.08579 6.75 1.5 6.75C1.91421 6.75 2.25 7.08579 2.25 7.5ZM1.5 11.25C1.91421 11.25 2.25 10.9142 2.25 10.5C2.25 10.0858 1.91421 9.75 1.5 9.75C1.08579 9.75 0.75 10.0858 0.75 10.5C0.75 10.9142 1.08579 11.25 1.5 11.25Z",fill:r,fillRule:"evenodd",clipRule:"evenodd"}))}),x5=["color"],Yf=p.forwardRef(function(e,t){var n=e.color,r=n===void 0?"currentColor":n,o=Rr(e,x5);return p.createElement("svg",Object.assign({width:"15",height:"15",viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},o,{ref:t}),p.createElement("path",{d:"M10 6.5C10 8.433 8.433 10 6.5 10C4.567 10 3 8.433 3 6.5C3 4.567 4.567 3 6.5 3C8.433 3 10 4.567 10 6.5ZM9.30884 10.0159C8.53901 10.6318 7.56251 11 6.5 11C4.01472 11 2 8.98528 2 6.5C2 4.01472 4.01472 2 6.5 2C8.98528 2 11 4.01472 11 6.5C11 7.56251 10.6318 8.53901 10.0159 9.30884L12.8536 12.1464C13.0488 12.3417 13.0488 12.6583 12.8536 12.8536C12.6583 13.0488 12.3417 13.0488 12.1464 12.8536L9.30884 10.0159Z",fill:r,fillRule:"evenodd",clipRule:"evenodd"}))}),C5=["color"],E5=p.forwardRef(function(e,t){var n=e.color,r=n===void 0?"currentColor":n,o=Rr(e,C5);return p.createElement("svg",Object.assign({width:"15",height:"15",viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},o,{ref:t}),p.createElement("path",{d:"M12.1464 1.14645C12.3417 0.951184 12.6583 0.951184 12.8535 1.14645L14.8535 3.14645C15.0488 3.34171 15.0488 3.65829 14.8535 3.85355L10.9109 7.79618C10.8349 7.87218 10.7471 7.93543 10.651 7.9835L6.72359 9.94721C6.53109 10.0435 6.29861 10.0057 6.14643 9.85355C5.99425 9.70137 5.95652 9.46889 6.05277 9.27639L8.01648 5.34897C8.06455 5.25283 8.1278 5.16507 8.2038 5.08907L12.1464 1.14645ZM12.5 2.20711L8.91091 5.79618L7.87266 7.87267L8.12731 8.12732L10.2038 7.08907L13.7929 3.5L12.5 2.20711ZM9.99998 2L8.99998 3H4.9C4.47171 3 4.18056 3.00039 3.95552 3.01877C3.73631 3.03668 3.62421 3.06915 3.54601 3.10899C3.35785 3.20487 3.20487 3.35785 3.10899 3.54601C3.06915 3.62421 3.03669 3.73631 3.01878 3.95552C3.00039 4.18056 3 4.47171 3 4.9V11.1C3 11.5283 3.00039 11.8194 3.01878 12.0445C3.03669 12.2637 3.06915 12.3758 3.10899 12.454C3.20487 12.6422 3.35785 12.7951 3.54601 12.891C3.62421 12.9309 3.73631 12.9633 3.95552 12.9812C4.18056 12.9996 4.47171 13 4.9 13H11.1C11.5283 13 11.8194 12.9996 12.0445 12.9812C12.2637 12.9633 12.3758 12.9309 12.454 12.891C12.6422 12.7951 12.7951 12.6422 12.891 12.454C12.9309 12.3758 12.9633 12.2637 12.9812 12.0445C12.9996 11.8194 13 11.5283 13 11.1V6.99998L14 5.99998V11.1V11.1207C14 11.5231 14 11.8553 13.9779 12.1259C13.9549 12.407 13.9057 12.6653 13.782 12.908C13.5903 13.2843 13.2843 13.5903 12.908 13.782C12.6653 13.9057 12.407 13.9549 12.1259 13.9779C11.8553 14 11.5231 14 11.1207 14H11.1H4.9H4.87934C4.47686 14 4.14468 14 3.87409 13.9779C3.59304 13.9549 3.33469 13.9057 3.09202 13.782C2.7157 13.5903 2.40973 13.2843 2.21799 12.908C2.09434 12.6653 2.04506 12.407 2.0221 12.1259C1.99999 11.8553 1.99999 11.5231 2 11.1207V11.1206V11.1V4.9V4.87935V4.87932V4.87931C1.99999 4.47685 1.99999 4.14468 2.0221 3.87409C2.04506 3.59304 2.09434 3.33469 2.21799 3.09202C2.40973 2.71569 2.7157 2.40973 3.09202 2.21799C3.33469 2.09434 3.59304 2.04506 3.87409 2.0221C4.14468 1.99999 4.47685 1.99999 4.87932 2H4.87935H4.9H9.99998Z",fill:r,fillRule:"evenodd",clipRule:"evenodd"}))});function Cl(e,t){if(typeof e!="object"||e===null)return e;if(Array.isArray(e))return e.map((r,o)=>Cl(r,o));const n=e.props.children?{...e.props,children:Cl(e.props.children)}:e.props;return Z.createElement(e.type,{...n,key:t})}function _5({hide:e}){const{banner:t}=Ke(),n=p.useMemo(()=>{const r=(t==null?void 0:t.content)??"";if(!r)return null;if(typeof r!="string")return()=>Cl(r);const{default:o}=c5(r,{...Qy,Fragment:p.Fragment});return o},[t]);return n?x.jsx("div",{className:M(a5),style:Yt({[e5]:t==null?void 0:t.backgroundColor,[n5]:t==null?void 0:t.textColor}),children:x.jsxs("div",{className:M(i5),children:[x.jsx("div",{className:M(o5),children:x.jsx(n,{})}),(t==null?void 0:t.dismissable)!=="false"&&x.jsx("button",{className:M(r5),onClick:e,type:"button",children:x.jsx(v5,{width:14,height:14})})]})}):null}var S5="vocs_Content";function eg({children:e,className:t}){return x.jsx("article",{className:M(t,S5),children:e})}function tg({items:e,pathname:t}){const n=t.replace(/\.html$/,""),r=[];for(const o of e)(o.link&&n.startsWith(o.match||o.link)||o.items&&tg({items:o.items,pathname:t}).length>0)&&r.push(o.id);return r}function Yi({items:e,pathname:t}){return p.useMemo(()=>tg({items:e,pathname:t}),[e,t])}function Pr(){const e=p.useContext(ng);if(!e)throw new Error("`usePageData` must be used within `PageDataContext.Provider`.");return e}const ng=p.createContext(void 0);function Gl(){const{pathname:e}=Oe(),t=Ke(),{sidebar:n}=t;if(!n)return{items:[]};if(Array.isArray(n))return{items:n};const r=p.useMemo(()=>{const o=Object.keys(n).filter(i=>e.startsWith(i));return o[o.length-1]},[n,e]);return r?Array.isArray(n[r])?{key:r,items:n[r]}:{...n[r],key:r}:{items:[]}}function Nr(){const e=Gl(),{frontmatter:t}=Pr(),{layout:n,showLogo:r,showOutline:o,showSidebar:i,showTopNav:a}=t||{},l=n??"docs";return{layout:l,get showLogo(){return typeof r<"u"?r:!0},get showOutline(){return typeof o<"u"?o:l==="docs"},get showSidebar(){return e.items.length===0?!1:typeof i<"u"?i:!(l==="minimal"||l==="landing")},get showTopNav(){return typeof a<"u"?a:!0}}}function b5(){const[e,t]=p.useState(()=>{if(!(typeof window>"u")){if(localStorage.getItem("vocs.theme")){const n=localStorage.getItem("vocs.theme");if(n)return n}return window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light"}});return p.useEffect(()=>{e&&localStorage.setItem("vocs.theme",e),e==="dark"?document.documentElement.classList.add("dark"):document.documentElement.classList.remove("dark")},[e]),{theme:e,toggle(){t(n=>n==="light"?"dark":"light")}}}var $5="vocs_utils_visibleDark",T5="vocs_utils_visibleLight",rg="vocs_utils_visuallyHidden";function Y(){return Y=Object.assign?Object.assign.bind():function(e){for(var t=1;te.forEach(n=>k5(n,t))}function Ue(...e){return p.useCallback(og(...e),e)}function _n(e,t=[]){let n=[];function r(i,a){const l=p.createContext(a),s=n.length;n=[...n,a];function u(c){const{scope:d,children:h,...y}=c,v=(d==null?void 0:d[e][s])||l,C=p.useMemo(()=>y,Object.values(y));return p.createElement(v.Provider,{value:C},h)}function f(c,d){const h=(d==null?void 0:d[e][s])||l,y=p.useContext(h);if(y)return y;if(a!==void 0)return a;throw new Error(`\`${c}\` must be used within \`${i}\``)}return u.displayName=i+"Provider",[u,f]}const o=()=>{const i=n.map(a=>p.createContext(a));return function(l){const s=(l==null?void 0:l[e])||i;return p.useMemo(()=>({[`__scope${e}`]:{...l,[e]:s}}),[l,s])}};return o.scopeName=e,[r,R5(o,...t)]}function R5(...e){const t=e[0];if(e.length===1)return t;const n=()=>{const r=e.map(o=>({useScope:o(),scopeName:o.scopeName}));return function(i){const a=r.reduce((l,{useScope:s,scopeName:u})=>{const c=s(i)[`__scope${u}`];return{...l,...c}},{});return p.useMemo(()=>({[`__scope${t.scopeName}`]:a}),[a])}};return n.scopeName=t.scopeName,n}const wn=globalThis!=null&&globalThis.document?p.useLayoutEffect:()=>{},P5=Vu.useId||(()=>{});let N5=0;function an(e){const[t,n]=p.useState(P5());return wn(()=>{n(r=>r??String(N5++))},[e]),t?`radix-${t}`:""}function lt(e){const t=p.useRef(e);return p.useEffect(()=>{t.current=e}),p.useMemo(()=>(...n)=>{var r;return(r=t.current)===null||r===void 0?void 0:r.call(t,...n)},[])}function or({prop:e,defaultProp:t,onChange:n=()=>{}}){const[r,o]=A5({defaultProp:t,onChange:n}),i=e!==void 0,a=i?e:r,l=lt(n),s=p.useCallback(u=>{if(i){const c=typeof u=="function"?u(e):u;c!==e&&l(c)}else o(u)},[i,e,o,l]);return[a,s]}function A5({defaultProp:e,onChange:t}){const n=p.useState(e),[r]=n,o=p.useRef(r),i=lt(t);return p.useEffect(()=>{o.current!==r&&(i(r),o.current=r)},[r,o,i]),n}const So=p.forwardRef((e,t)=>{const{children:n,...r}=e,o=p.Children.toArray(n),i=o.find(I5);if(i){const a=i.props.children,l=o.map(s=>s===i?p.Children.count(a)>1?p.Children.only(null):p.isValidElement(a)?a.props.children:null:s);return p.createElement(su,Y({},r,{ref:t}),p.isValidElement(a)?p.cloneElement(a,void 0,l):null)}return p.createElement(su,Y({},r,{ref:t}),n)});So.displayName="Slot";const su=p.forwardRef((e,t)=>{const{children:n,...r}=e;return p.isValidElement(n)?p.cloneElement(n,{...O5(r,n.props),ref:t?og(t,n.ref):n.ref}):p.Children.count(n)>1?p.Children.only(null):null});su.displayName="SlotClone";const L5=({children:e})=>p.createElement(p.Fragment,null,e);function I5(e){return p.isValidElement(e)&&e.type===L5}function O5(e,t){const n={...t};for(const r in t){const o=e[r],i=t[r];/^on[A-Z]/.test(r)?o&&i?n[r]=(...l)=>{i(...l),o(...l)}:o&&(n[r]=o):r==="style"?n[r]={...o,...i}:r==="className"&&(n[r]=[o,i].filter(Boolean).join(" "))}return{...e,...n}}const M5=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","span","svg","ul"],fe=M5.reduce((e,t)=>{const n=p.forwardRef((r,o)=>{const{asChild:i,...a}=r,l=i?So:t;return p.useEffect(()=>{window[Symbol.for("radix-ui")]=!0},[]),p.createElement(l,Y({},a,{ref:o}))});return n.displayName=`Primitive.${t}`,{...e,[t]:n}},{});function cu(e,t){e&&Po.flushSync(()=>e.dispatchEvent(t))}function D5(e,t=globalThis==null?void 0:globalThis.document){const n=lt(e);p.useEffect(()=>{const r=o=>{o.key==="Escape"&&n(o)};return t.addEventListener("keydown",r),()=>t.removeEventListener("keydown",r)},[n,t])}const uu="dismissableLayer.update",j5="dismissableLayer.pointerDownOutside",F5="dismissableLayer.focusOutside";let up;const z5=p.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),Gf=p.forwardRef((e,t)=>{var n;const{disableOutsidePointerEvents:r=!1,onEscapeKeyDown:o,onPointerDownOutside:i,onFocusOutside:a,onInteractOutside:l,onDismiss:s,...u}=e,f=p.useContext(z5),[c,d]=p.useState(null),h=(n=c==null?void 0:c.ownerDocument)!==null&&n!==void 0?n:globalThis==null?void 0:globalThis.document,[,y]=p.useState({}),v=Ue(t,b=>d(b)),C=Array.from(f.layers),[m]=[...f.layersWithOutsidePointerEventsDisabled].slice(-1),g=C.indexOf(m),w=c?C.indexOf(c):-1,E=f.layersWithOutsidePointerEventsDisabled.size>0,S=w>=g,$=B5(b=>{const k=b.target,N=[...f.branches].some(O=>O.contains(k));!S||N||(i==null||i(b),l==null||l(b),b.defaultPrevented||s==null||s())},h),_=U5(b=>{const k=b.target;[...f.branches].some(O=>O.contains(k))||(a==null||a(b),l==null||l(b),b.defaultPrevented||s==null||s())},h);return D5(b=>{w===f.layers.size-1&&(o==null||o(b),!b.defaultPrevented&&s&&(b.preventDefault(),s()))},h),p.useEffect(()=>{if(c)return r&&(f.layersWithOutsidePointerEventsDisabled.size===0&&(up=h.body.style.pointerEvents,h.body.style.pointerEvents="none"),f.layersWithOutsidePointerEventsDisabled.add(c)),f.layers.add(c),fp(),()=>{r&&f.layersWithOutsidePointerEventsDisabled.size===1&&(h.body.style.pointerEvents=up)}},[c,h,r,f]),p.useEffect(()=>()=>{c&&(f.layers.delete(c),f.layersWithOutsidePointerEventsDisabled.delete(c),fp())},[c,f]),p.useEffect(()=>{const b=()=>y({});return document.addEventListener(uu,b),()=>document.removeEventListener(uu,b)},[]),p.createElement(fe.div,Y({},u,{ref:v,style:{pointerEvents:E?S?"auto":"none":void 0,...e.style},onFocusCapture:le(e.onFocusCapture,_.onFocusCapture),onBlurCapture:le(e.onBlurCapture,_.onBlurCapture),onPointerDownCapture:le(e.onPointerDownCapture,$.onPointerDownCapture)}))});function B5(e,t=globalThis==null?void 0:globalThis.document){const n=lt(e),r=p.useRef(!1),o=p.useRef(()=>{});return p.useEffect(()=>{const i=l=>{if(l.target&&!r.current){let u=function(){ig(j5,n,s,{discrete:!0})};const s={originalEvent:l};l.pointerType==="touch"?(t.removeEventListener("click",o.current),o.current=u,t.addEventListener("click",o.current,{once:!0})):u()}else t.removeEventListener("click",o.current);r.current=!1},a=window.setTimeout(()=>{t.addEventListener("pointerdown",i)},0);return()=>{window.clearTimeout(a),t.removeEventListener("pointerdown",i),t.removeEventListener("click",o.current)}},[t,n]),{onPointerDownCapture:()=>r.current=!0}}function U5(e,t=globalThis==null?void 0:globalThis.document){const n=lt(e),r=p.useRef(!1);return p.useEffect(()=>{const o=i=>{i.target&&!r.current&&ig(F5,n,{originalEvent:i},{discrete:!1})};return t.addEventListener("focusin",o),()=>t.removeEventListener("focusin",o)},[t,n]),{onFocusCapture:()=>r.current=!0,onBlurCapture:()=>r.current=!1}}function fp(){const e=new CustomEvent(uu);document.dispatchEvent(e)}function ig(e,t,n,{discrete:r}){const o=n.originalEvent.target,i=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:n});t&&o.addEventListener(e,t,{once:!0}),r?cu(o,i):o.dispatchEvent(i)}const js="focusScope.autoFocusOnMount",Fs="focusScope.autoFocusOnUnmount",dp={bubbles:!1,cancelable:!0},ag=p.forwardRef((e,t)=>{const{loop:n=!1,trapped:r=!1,onMountAutoFocus:o,onUnmountAutoFocus:i,...a}=e,[l,s]=p.useState(null),u=lt(o),f=lt(i),c=p.useRef(null),d=Ue(t,v=>s(v)),h=p.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;p.useEffect(()=>{if(r){let v=function(w){if(h.paused||!l)return;const E=w.target;l.contains(E)?c.current=E:An(c.current,{select:!0})},C=function(w){if(h.paused||!l)return;const E=w.relatedTarget;E!==null&&(l.contains(E)||An(c.current,{select:!0}))},m=function(w){if(document.activeElement===document.body)for(const S of w)S.removedNodes.length>0&&An(l)};document.addEventListener("focusin",v),document.addEventListener("focusout",C);const g=new MutationObserver(m);return l&&g.observe(l,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",v),document.removeEventListener("focusout",C),g.disconnect()}}},[r,l,h.paused]),p.useEffect(()=>{if(l){pp.add(h);const v=document.activeElement;if(!l.contains(v)){const m=new CustomEvent(js,dp);l.addEventListener(js,u),l.dispatchEvent(m),m.defaultPrevented||(H5(G5(lg(l)),{select:!0}),document.activeElement===v&&An(l))}return()=>{l.removeEventListener(js,u),setTimeout(()=>{const m=new CustomEvent(Fs,dp);l.addEventListener(Fs,f),l.dispatchEvent(m),m.defaultPrevented||An(v??document.body,{select:!0}),l.removeEventListener(Fs,f),pp.remove(h)},0)}}},[l,u,f,h]);const y=p.useCallback(v=>{if(!n&&!r||h.paused)return;const C=v.key==="Tab"&&!v.altKey&&!v.ctrlKey&&!v.metaKey,m=document.activeElement;if(C&&m){const g=v.currentTarget,[w,E]=V5(g);w&&E?!v.shiftKey&&m===E?(v.preventDefault(),n&&An(w,{select:!0})):v.shiftKey&&m===w&&(v.preventDefault(),n&&An(E,{select:!0})):m===g&&v.preventDefault()}},[n,r,h.paused]);return p.createElement(fe.div,Y({tabIndex:-1},a,{ref:d,onKeyDown:y}))});function H5(e,{select:t=!1}={}){const n=document.activeElement;for(const r of e)if(An(r,{select:t}),document.activeElement!==n)return}function V5(e){const t=lg(e),n=hp(t,e),r=hp(t.reverse(),e);return[n,r]}function lg(e){const t=[],n=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:r=>{const o=r.tagName==="INPUT"&&r.type==="hidden";return r.disabled||r.hidden||o?NodeFilter.FILTER_SKIP:r.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;n.nextNode();)t.push(n.currentNode);return t}function hp(e,t){for(const n of e)if(!W5(n,{upTo:t}))return n}function W5(e,{upTo:t}){if(getComputedStyle(e).visibility==="hidden")return!0;for(;e;){if(t!==void 0&&e===t)return!1;if(getComputedStyle(e).display==="none")return!0;e=e.parentElement}return!1}function K5(e){return e instanceof HTMLInputElement&&"select"in e}function An(e,{select:t=!1}={}){if(e&&e.focus){const n=document.activeElement;e.focus({preventScroll:!0}),e!==n&&K5(e)&&t&&e.select()}}const pp=Y5();function Y5(){let e=[];return{add(t){const n=e[0];t!==n&&(n==null||n.pause()),e=vp(e,t),e.unshift(t)},remove(t){var n;e=vp(e,t),(n=e[0])===null||n===void 0||n.resume()}}}function vp(e,t){const n=[...e],r=n.indexOf(t);return r!==-1&&n.splice(r,1),n}function G5(e){return e.filter(t=>t.tagName!=="A")}const sg=p.forwardRef((e,t)=>{var n;const{container:r=globalThis==null||(n=globalThis.document)===null||n===void 0?void 0:n.body,...o}=e;return r?k0.createPortal(p.createElement(fe.div,Y({},o,{ref:t})),r):null});function Q5(e,t){return p.useReducer((n,r)=>{const o=t[n][r];return o??n},e)}const Sn=e=>{const{present:t,children:n}=e,r=Z5(t),o=typeof n=="function"?n({present:r.isPresent}):p.Children.only(n),i=Ue(r.ref,o.ref);return typeof n=="function"||r.isPresent?p.cloneElement(o,{ref:i}):null};Sn.displayName="Presence";function Z5(e){const[t,n]=p.useState(),r=p.useRef({}),o=p.useRef(e),i=p.useRef("none"),a=e?"mounted":"unmounted",[l,s]=Q5(a,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return p.useEffect(()=>{const u=Ca(r.current);i.current=l==="mounted"?u:"none"},[l]),wn(()=>{const u=r.current,f=o.current;if(f!==e){const d=i.current,h=Ca(u);e?s("MOUNT"):h==="none"||(u==null?void 0:u.display)==="none"?s("UNMOUNT"):s(f&&d!==h?"ANIMATION_OUT":"UNMOUNT"),o.current=e}},[e,s]),wn(()=>{if(t){const u=c=>{const h=Ca(r.current).includes(c.animationName);c.target===t&&h&&Po.flushSync(()=>s("ANIMATION_END"))},f=c=>{c.target===t&&(i.current=Ca(r.current))};return t.addEventListener("animationstart",f),t.addEventListener("animationcancel",u),t.addEventListener("animationend",u),()=>{t.removeEventListener("animationstart",f),t.removeEventListener("animationcancel",u),t.removeEventListener("animationend",u)}}else s("ANIMATION_END")},[t,s]),{isPresent:["mounted","unmountSuspended"].includes(l),ref:p.useCallback(u=>{u&&(r.current=getComputedStyle(u)),n(u)},[])}}function Ca(e){return(e==null?void 0:e.animationName)||"none"}let zs=0;function cg(){p.useEffect(()=>{var e,t;const n=document.querySelectorAll("[data-radix-focus-guard]");return document.body.insertAdjacentElement("afterbegin",(e=n[0])!==null&&e!==void 0?e:mp()),document.body.insertAdjacentElement("beforeend",(t=n[1])!==null&&t!==void 0?t:mp()),zs++,()=>{zs===1&&document.querySelectorAll("[data-radix-focus-guard]").forEach(r=>r.remove()),zs--}},[])}function mp(){const e=document.createElement("span");return e.setAttribute("data-radix-focus-guard",""),e.tabIndex=0,e.style.cssText="outline: none; opacity: 0; position: fixed; pointer-events: none",e}var en=function(){return en=Object.assign||function(t){for(var n,r=1,o=arguments.length;r"u")return h4;var t=p4(e),n=document.documentElement.clientWidth,r=window.innerWidth;return{left:t[0],top:t[1],right:t[2],gap:Math.max(0,r-n+t[2]-t[0])}},m4=hg(),uo="data-scroll-locked",g4=function(e,t,n,r){var o=e.left,i=e.top,a=e.right,l=e.gap;return n===void 0&&(n="margin"),` .`.concat(J5,` { overflow: hidden `).concat(r,`; padding-right: `).concat(l,"px ").concat(r,`; @@ -114,4 +114,4 @@ Error generating stack: `+i.message+` object-assign (c) Sindre Sorhus @license MIT -*/var Jp=Object.getOwnPropertySymbols,k_=Object.prototype.hasOwnProperty,R_=Object.prototype.propertyIsEnumerable;function P_(e){if(e==null)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}function N_(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de",Object.getOwnPropertyNames(e)[0]==="5")return!1;for(var t={},n=0;n<10;n++)t["_"+String.fromCharCode(n)]=n;var r=Object.getOwnPropertyNames(t).map(function(i){return t[i]});if(r.join("")!=="0123456789")return!1;var o={};return"abcdefghijklmnopqrst".split("").forEach(function(i){o[i]=i}),Object.keys(Object.assign({},o)).join("")==="abcdefghijklmnopqrst"}catch{return!1}}var A_=N_()?Object.assign:function(e,t){for(var n,r=P_(e),o,i=1;i=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n},z_=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t&&(typeof t=="object"||typeof t=="function")?t:e},Pu=function(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0;return n===!1?String(t):String(t).replace(/&/g,"&").replace(//g,">").replace(/"/g,""").replace(/'/g,"'")},B_=function(t){var n=ho(t,q.TITLE),r=ho(t,zi.TITLE_TEMPLATE);if(r&&n)return r.replace(/%s/g,function(){return Array.isArray(n)?n.join(""):n});var o=ho(t,zi.DEFAULT_TITLE);return n||o||void 0},U_=function(t){return ho(t,zi.ON_CHANGE_CLIENT_STATE)||function(){}},nc=function(t,n){return n.filter(function(r){return typeof r[t]<"u"}).map(function(r){return r[t]}).reduce(function(r,o){return dt({},r,o)},{})},H_=function(t,n){return n.filter(function(r){return typeof r[q.BASE]<"u"}).map(function(r){return r[q.BASE]}).reverse().reduce(function(r,o){if(!r.length)for(var i=Object.keys(o),a=0;a=0;r--){var o=t[r];if(o.hasOwnProperty(n))return o[n]}return null},V_=function(t){return{baseTag:H_([Ce.HREF,Ce.TARGET],t),bodyAttributes:nc(gr.BODY,t),defer:ho(t,zi.DEFER),encode:ho(t,zi.ENCODE_SPECIAL_CHARACTERS),htmlAttributes:nc(gr.HTML,t),linkTags:ti(q.LINK,[Ce.REL,Ce.HREF],t),metaTags:ti(q.META,[Ce.NAME,Ce.CHARSET,Ce.HTTPEQUIV,Ce.PROPERTY,Ce.ITEM_PROP],t),noscriptTags:ti(q.NOSCRIPT,[Ce.INNER_HTML],t),onChangeClientState:U_(t),scriptTags:ti(q.SCRIPT,[Ce.SRC,Ce.INNER_HTML],t),styleTags:ti(q.STYLE,[Ce.CSS_TEXT],t),title:B_(t),titleAttributes:nc(gr.TITLE,t)}},Nu=function(){var e=Date.now();return function(t){var n=Date.now();n-e>16?(e=n,t(n)):setTimeout(function(){Nu(t)},0)}}(),ev=function(t){return clearTimeout(t)},W_=typeof window<"u"?window.requestAnimationFrame&&window.requestAnimationFrame.bind(window)||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||Nu:global.requestAnimationFrame||Nu,K_=typeof window<"u"?window.cancelAnimationFrame||window.webkitCancelAnimationFrame||window.mozCancelAnimationFrame||ev:global.cancelAnimationFrame||ev,Y_=function(t){return console&&typeof console.warn=="function"&&console.warn(t)},ni=null,G_=function(t){ni&&K_(ni),t.defer?ni=W_(function(){tv(t,function(){ni=null})}):(tv(t),ni=null)},tv=function(t,n){var r=t.baseTag,o=t.bodyAttributes,i=t.htmlAttributes,a=t.linkTags,l=t.metaTags,s=t.noscriptTags,u=t.onChangeClientState,f=t.scriptTags,c=t.styleTags,d=t.title,h=t.titleAttributes;Au(q.BODY,o),Au(q.HTML,i),Q_(d,h);var y={baseTag:Vr(q.BASE,r),linkTags:Vr(q.LINK,a),metaTags:Vr(q.META,l),noscriptTags:Vr(q.NOSCRIPT,s),scriptTags:Vr(q.SCRIPT,f),styleTags:Vr(q.STYLE,c)},v={},C={};Object.keys(y).forEach(function(m){var g=y[m],w=g.newTags,E=g.oldTags;w.length&&(v[m]=w),E.length&&(C[m]=y[m].oldTags)}),n&&n(),u(t,v,C)},X1=function(t){return Array.isArray(t)?t.join(""):t},Q_=function(t,n){typeof t<"u"&&document.title!==t&&(document.title=X1(t)),Au(q.TITLE,n)},Au=function(t,n){var r=document.getElementsByTagName(t)[0];if(r){for(var o=r.getAttribute(Ht),i=o?o.split(","):[],a=[].concat(i),l=Object.keys(n),s=0;s=0;d--)r.removeAttribute(a[d]);i.length===a.length?r.removeAttribute(Ht):r.getAttribute(Ht)!==l.join(",")&&r.setAttribute(Ht,l.join(","))}},Vr=function(t,n){var r=document.head||document.querySelector(q.HEAD),o=r.querySelectorAll(t+"["+Ht+"]"),i=Array.prototype.slice.call(o),a=[],l=void 0;return n&&n.length&&n.forEach(function(s){var u=document.createElement(t);for(var f in s)if(s.hasOwnProperty(f))if(f===Ce.INNER_HTML)u.innerHTML=s.innerHTML;else if(f===Ce.CSS_TEXT)u.styleSheet?u.styleSheet.cssText=s.cssText:u.appendChild(document.createTextNode(s.cssText));else{var c=typeof s[f]>"u"?"":s[f];u.setAttribute(f,c)}u.setAttribute(Ht,"true"),i.some(function(d,h){return l=h,u.isEqualNode(d)})?i.splice(l,1):a.push(u)}),i.forEach(function(s){return s.parentNode.removeChild(s)}),a.forEach(function(s){return r.appendChild(s)}),{oldTags:i,newTags:a}},J1=function(t){return Object.keys(t).reduce(function(n,r){var o=typeof t[r]<"u"?r+'="'+t[r]+'"':""+r;return n?n+" "+o:o},"")},Z_=function(t,n,r,o){var i=J1(r),a=X1(n);return i?"<"+t+" "+Ht+'="true" '+i+">"+Pu(a,o)+"":"<"+t+" "+Ht+'="true">'+Pu(a,o)+""},X_=function(t,n,r){return n.reduce(function(o,i){var a=Object.keys(i).filter(function(u){return!(u===Ce.INNER_HTML||u===Ce.CSS_TEXT)}).reduce(function(u,f){var c=typeof i[f]>"u"?f:f+'="'+Pu(i[f],r)+'"';return u?u+" "+c:c},""),l=i.innerHTML||i.cssText||"",s=O_.indexOf(t)===-1;return o+"<"+t+" "+Ht+'="true" '+a+(s?"/>":">"+l+"")},"")},q1=function(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return Object.keys(t).reduce(function(r,o){return r[Rl[o]||o]=t[o],r},n)},J_=function(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return Object.keys(t).reduce(function(r,o){return r[I_[o]||o]=t[o],r},n)},q_=function(t,n,r){var o,i=(o={key:n},o[Ht]=!0,o),a=q1(r,i);return[Z.createElement(q.TITLE,a,n)]},e9=function(t,n){return n.map(function(r,o){var i,a=(i={key:o},i[Ht]=!0,i);return Object.keys(r).forEach(function(l){var s=Rl[l]||l;if(s===Ce.INNER_HTML||s===Ce.CSS_TEXT){var u=r.innerHTML||r.cssText;a.dangerouslySetInnerHTML={__html:u}}else a[s]=r[l]}),Z.createElement(t,a)})},sn=function(t,n,r){switch(t){case q.TITLE:return{toComponent:function(){return q_(t,n.title,n.titleAttributes)},toString:function(){return Z_(t,n.title,n.titleAttributes,r)}};case gr.BODY:case gr.HTML:return{toComponent:function(){return q1(n)},toString:function(){return J1(n)}};default:return{toComponent:function(){return e9(t,n)},toString:function(){return X_(t,n,r)}}}},ey=function(t){var n=t.baseTag,r=t.bodyAttributes,o=t.encode,i=t.htmlAttributes,a=t.linkTags,l=t.metaTags,s=t.noscriptTags,u=t.scriptTags,f=t.styleTags,c=t.title,d=c===void 0?"":c,h=t.titleAttributes;return{base:sn(q.BASE,n,o),bodyAttributes:sn(gr.BODY,r,o),htmlAttributes:sn(gr.HTML,i,o),link:sn(q.LINK,a,o),meta:sn(q.META,l,o),noscript:sn(q.NOSCRIPT,s,o),script:sn(q.SCRIPT,u,o),style:sn(q.STYLE,f,o),title:sn(q.TITLE,{title:d,titleAttributes:h},o)}},t9=function(t){var n,r;return r=n=function(o){F_(i,o);function i(){return D_(this,i),z_(this,o.apply(this,arguments))}return i.prototype.shouldComponentUpdate=function(l){return!T_(this.props,l)},i.prototype.mapNestedChildrenToProps=function(l,s){if(!s)return null;switch(l.type){case q.SCRIPT:case q.NOSCRIPT:return{innerHTML:s};case q.STYLE:return{cssText:s}}throw new Error("<"+l.type+" /> elements are self-closing and can not contain children. Refer to our API for more information.")},i.prototype.flattenArrayTypeChildren=function(l){var s,u=l.child,f=l.arrayTypeChildren,c=l.newChildProps,d=l.nestedChildren;return dt({},f,(s={},s[u.type]=[].concat(f[u.type]||[],[dt({},c,this.mapNestedChildrenToProps(u,d))]),s))},i.prototype.mapObjectTypeChildren=function(l){var s,u,f=l.child,c=l.newProps,d=l.newChildProps,h=l.nestedChildren;switch(f.type){case q.TITLE:return dt({},c,(s={},s[f.type]=h,s.titleAttributes=dt({},d),s));case q.BODY:return dt({},c,{bodyAttributes:dt({},d)});case q.HTML:return dt({},c,{htmlAttributes:dt({},d)})}return dt({},c,(u={},u[f.type]=dt({},d),u))},i.prototype.mapArrayTypeChildrenToProps=function(l,s){var u=dt({},s);return Object.keys(l).forEach(function(f){var c;u=dt({},u,(c={},c[f]=l[f],c))}),u},i.prototype.warnOnInvalidChildren=function(l,s){return!0},i.prototype.mapChildrenToProps=function(l,s){var u=this,f={};return Z.Children.forEach(l,function(c){if(!(!c||!c.props)){var d=c.props,h=d.children,y=qp(d,["children"]),v=J_(y);switch(u.warnOnInvalidChildren(c,h),c.type){case q.LINK:case q.META:case q.NOSCRIPT:case q.SCRIPT:case q.STYLE:f=u.flattenArrayTypeChildren({child:c,arrayTypeChildren:f,newChildProps:v,nestedChildren:h});break;default:s=u.mapObjectTypeChildren({child:c,newProps:s,newChildProps:v,nestedChildren:h});break}}}),s=this.mapArrayTypeChildrenToProps(f,s),s},i.prototype.render=function(){var l=this.props,s=l.children,u=qp(l,["children"]),f=dt({},u);return s&&(f=this.mapChildrenToProps(s,f)),Z.createElement(t,f)},j_(i,null,[{key:"canUseDOM",set:function(l){t.canUseDOM=l}}]),i}(Z.Component),n.propTypes={base:xe.object,bodyAttributes:xe.object,children:xe.oneOfType([xe.arrayOf(xe.node),xe.node]),defaultTitle:xe.string,defer:xe.bool,encodeSpecialCharacters:xe.bool,htmlAttributes:xe.object,link:xe.arrayOf(xe.object),meta:xe.arrayOf(xe.object),noscript:xe.arrayOf(xe.object),onChangeClientState:xe.func,script:xe.arrayOf(xe.object),style:xe.arrayOf(xe.object),title:xe.string,titleAttributes:xe.object,titleTemplate:xe.string},n.defaultProps={defer:!0,encodeSpecialCharacters:!0},n.peek=t.peek,n.rewind=function(){var o=t.rewind();return o||(o=ey({baseTag:[],bodyAttributes:{},encodeSpecialCharacters:!0,htmlAttributes:{},linkTags:[],metaTags:[],noscriptTags:[],scriptTags:[],styleTags:[],title:"",titleAttributes:{}})),o},r},n9=function(){return null},r9=C_(V_,G_,ey)(n9),Lu=t9(r9);Lu.renderStatic=Lu.rewind;var rc="vocs_Anchor",o9="vocs_Autolink";function i9(e){return e.href?x.jsx(Yl,{...e,className:M(e.className,o9),to:e.href}):null}function a9(e){const{children:t,href:n}=e,{pathname:r}=Oe();return t&&typeof t=="object"&&"props"in t&&t.props["data-autolink-icon"]?x.jsx(i9,{className:M(e.className,rc),...e}):n!=null&&n.match(/^#/)?x.jsx("a",{className:M(e.className,rc),...e,href:`${r}${n}`}):x.jsx(on,{className:M(e.className,rc),...e})}var l9="vocs_Callout_danger",s9="vocs_Callout_info",c9="vocs_Callout_note",ty="vocs_Callout",u9="vocs_Callout_success",f9="vocs_Callout_tip",d9="vocs_Callout_warning";const h9=Object.freeze(Object.defineProperty({__proto__:null,danger:l9,info:s9,note:c9,root:ty,success:u9,tip:f9,warning:d9},Symbol.toStringTag,{value:"Module"}));function p9({className:e,children:t,type:n}){return x.jsx("aside",{className:M(e,ty,h9[n]),children:t})}var v9="vocs_Aside";function m9(e){const t=M(e.className,v9);return"data-callout"in e?x.jsx(p9,{className:t,type:e["data-callout"],children:e.children}):x.jsx("aside",{...e,className:t})}var g9="vocs_Blockquote";function y9(e){return x.jsx("blockquote",{...e,className:M(e.className,g9)})}var w9="vocs_Code";function x9(e){const t=C9(e.children);return x.jsx("code",{...e,className:M(e.className,w9),children:t})}function C9(e){return Array.isArray(e)?e.map((t,n)=>{var r,o,i;return t.props&&"data-line"in t.props&&typeof t.props.children=="string"&&t.props.children.trim()===""&&((i=(o=(r=e[n+1])==null?void 0:r.props)==null?void 0:o.className)!=null&&i.includes("twoslash-tag-line"))?null:t}).filter(Boolean):e}var E9="vocs_Details";function _9(e){return x.jsx("details",{...e,className:M(e.className,E9)})}var S9="vocs_Authors_authors",b9="vocs_Authors_link",$9="vocs_Authors",nv="vocs_Authors_separator";function ny(e){const{frontmatter:t}=Pr(),{authors:n=t==null?void 0:t.authors,date:r=t==null?void 0:t.date}=e,o=p.useMemo(()=>{if(n)return Array.isArray(n)?n:n.split(",").map(a=>a.trim())},[n]),i=p.useMemo(()=>r?new Date(r).toLocaleDateString("en-US",{year:"numeric",month:"long",day:"numeric"}):null,[r]);return x.jsxs("div",{className:$9,children:[i,o&&(i?" by ":"By "),x.jsx("span",{className:S9,children:o==null?void 0:o.map((a,l)=>{const{text:s,url:u}=T9(a);return x.jsxs(p.Fragment,{children:[u?x.jsx("a",{className:b9,href:u,target:"_blank",rel:"noopener noreferrer",children:s}):s,lx.jsxs(p.Fragment,{children:[x.jsx("div",{className:P9,children:x.jsxs(Qn,{to:e.path,children:[x.jsx("h2",{className:L9,children:e.title}),x.jsx(ny,{authors:e.authors,date:e.date}),x.jsxs("p",{className:k9,children:[e.description," ",x.jsx("span",{className:N9,children:"[→]"})]})]})}),tx.jsxs(p.Fragment,{children:[x.jsx("div",{className:U9,children:t.name}),t.items.map((r,o)=>{var i;return x.jsx("div",{className:z9,style:Yt({[M9]:r.length.toString(),[D9]:`${((i=t.height)==null?void 0:i.toString())??"40"}px`}),children:r.map((a,l)=>x.jsx(on,{className:M(O9,a?B9:void 0),hideExternalIcon:!0,href:a==null?void 0:a.link,variant:"styleless",children:x.jsx("img",{className:j9,src:a==null?void 0:a.image,alt:a==null?void 0:a.name})},l))},o)})]},n))})}var V9="var(--vocs_AutolinkIcon_iconUrl)",W9="vocs_AutolinkIcon";function K9(e){const{basePath:t}=Ke(),n=t;return x.jsx("div",{...e,className:M(e.className,W9),style:Yt({[V9]:`url(${n}/.vocs/icons/link.svg)`})})}const oc="rovingFocusGroup.onEntryFocus",Y9={bubbles:!1,cancelable:!0},md="RovingFocusGroup",[Iu,ry,G9]=Xl(md),[Q9,oy]=_n(md,[G9]),[Z9,X9]=Q9(md),J9=p.forwardRef((e,t)=>p.createElement(Iu.Provider,{scope:e.__scopeRovingFocusGroup},p.createElement(Iu.Slot,{scope:e.__scopeRovingFocusGroup},p.createElement(q9,Y({},e,{ref:t}))))),q9=p.forwardRef((e,t)=>{const{__scopeRovingFocusGroup:n,orientation:r,loop:o=!1,dir:i,currentTabStopId:a,defaultCurrentTabStopId:l,onCurrentTabStopIdChange:s,onEntryFocus:u,...f}=e,c=p.useRef(null),d=Ue(t,c),h=Zl(i),[y=null,v]=or({prop:a,defaultProp:l,onChange:s}),[C,m]=p.useState(!1),g=lt(u),w=ry(n),E=p.useRef(!1),[S,$]=p.useState(0);return p.useEffect(()=>{const _=c.current;if(_)return _.addEventListener(oc,g),()=>_.removeEventListener(oc,g)},[g]),p.createElement(Z9,{scope:n,orientation:r,dir:h,loop:o,currentTabStopId:y,onItemFocus:p.useCallback(_=>v(_),[v]),onItemShiftTab:p.useCallback(()=>m(!0),[]),onFocusableItemAdd:p.useCallback(()=>$(_=>_+1),[]),onFocusableItemRemove:p.useCallback(()=>$(_=>_-1),[])},p.createElement(fe.div,Y({tabIndex:C||S===0?-1:0,"data-orientation":r},f,{ref:d,style:{outline:"none",...e.style},onMouseDown:le(e.onMouseDown,()=>{E.current=!0}),onFocus:le(e.onFocus,_=>{const b=!E.current;if(_.target===_.currentTarget&&b&&!C){const k=new CustomEvent(oc,Y9);if(_.currentTarget.dispatchEvent(k),!k.defaultPrevented){const N=w().filter(B=>B.focusable),O=N.find(B=>B.active),D=N.find(B=>B.id===y),R=[O,D,...N].filter(Boolean).map(B=>B.ref.current);iy(R)}}E.current=!1}),onBlur:le(e.onBlur,()=>m(!1))})))}),eS="RovingFocusGroupItem",tS=p.forwardRef((e,t)=>{const{__scopeRovingFocusGroup:n,focusable:r=!0,active:o=!1,tabStopId:i,...a}=e,l=an(),s=i||l,u=X9(eS,n),f=u.currentTabStopId===s,c=ry(n),{onFocusableItemAdd:d,onFocusableItemRemove:h}=u;return p.useEffect(()=>{if(r)return d(),()=>h()},[r,d,h]),p.createElement(Iu.ItemSlot,{scope:n,id:s,focusable:r,active:o},p.createElement(fe.span,Y({tabIndex:f?0:-1,"data-orientation":u.orientation},a,{ref:t,onMouseDown:le(e.onMouseDown,y=>{r?u.onItemFocus(s):y.preventDefault()}),onFocus:le(e.onFocus,()=>u.onItemFocus(s)),onKeyDown:le(e.onKeyDown,y=>{if(y.key==="Tab"&&y.shiftKey){u.onItemShiftTab();return}if(y.target!==y.currentTarget)return;const v=oS(y,u.orientation,u.dir);if(v!==void 0){y.preventDefault();let m=c().filter(g=>g.focusable).map(g=>g.ref.current);if(v==="last")m.reverse();else if(v==="prev"||v==="next"){v==="prev"&&m.reverse();const g=m.indexOf(y.currentTarget);m=u.loop?iS(m,g+1):m.slice(g+1)}setTimeout(()=>iy(m))}})})))}),nS={ArrowLeft:"prev",ArrowUp:"prev",ArrowRight:"next",ArrowDown:"next",PageUp:"first",Home:"first",PageDown:"last",End:"last"};function rS(e,t){return t!=="rtl"?e:e==="ArrowLeft"?"ArrowRight":e==="ArrowRight"?"ArrowLeft":e}function oS(e,t,n){const r=rS(e.key,n);if(!(t==="vertical"&&["ArrowLeft","ArrowRight"].includes(r))&&!(t==="horizontal"&&["ArrowUp","ArrowDown"].includes(r)))return nS[r]}function iy(e){const t=document.activeElement;for(const n of e)if(n===t||(n.focus(),document.activeElement!==t))return}function iS(e,t){return e.map((n,r)=>e[(t+r)%e.length])}const aS=J9,lS=tS,ay="Tabs",[sS,p$]=_n(ay,[oy]),ly=oy(),[cS,gd]=sS(ay),uS=p.forwardRef((e,t)=>{const{__scopeTabs:n,value:r,onValueChange:o,defaultValue:i,orientation:a="horizontal",dir:l,activationMode:s="automatic",...u}=e,f=Zl(l),[c,d]=or({prop:r,onChange:o,defaultProp:i});return p.createElement(cS,{scope:n,baseId:an(),value:c,onValueChange:d,orientation:a,dir:f,activationMode:s},p.createElement(fe.div,Y({dir:f,"data-orientation":a},u,{ref:t})))}),fS="TabsList",dS=p.forwardRef((e,t)=>{const{__scopeTabs:n,loop:r=!0,...o}=e,i=gd(fS,n),a=ly(n);return p.createElement(aS,Y({asChild:!0},a,{orientation:i.orientation,dir:i.dir,loop:r}),p.createElement(fe.div,Y({role:"tablist","aria-orientation":i.orientation},o,{ref:t})))}),hS="TabsTrigger",pS=p.forwardRef((e,t)=>{const{__scopeTabs:n,value:r,disabled:o=!1,...i}=e,a=gd(hS,n),l=ly(n),s=sy(a.baseId,r),u=cy(a.baseId,r),f=r===a.value;return p.createElement(lS,Y({asChild:!0},l,{focusable:!o,active:f}),p.createElement(fe.button,Y({type:"button",role:"tab","aria-selected":f,"aria-controls":u,"data-state":f?"active":"inactive","data-disabled":o?"":void 0,disabled:o,id:s},i,{ref:t,onMouseDown:le(e.onMouseDown,c=>{!o&&c.button===0&&c.ctrlKey===!1?a.onValueChange(r):c.preventDefault()}),onKeyDown:le(e.onKeyDown,c=>{[" ","Enter"].includes(c.key)&&a.onValueChange(r)}),onFocus:le(e.onFocus,()=>{const c=a.activationMode!=="manual";!f&&!o&&c&&a.onValueChange(r)})})))}),vS="TabsContent",mS=p.forwardRef((e,t)=>{const{__scopeTabs:n,value:r,forceMount:o,children:i,...a}=e,l=gd(vS,n),s=sy(l.baseId,r),u=cy(l.baseId,r),f=r===l.value,c=p.useRef(f);return p.useEffect(()=>{const d=requestAnimationFrame(()=>c.current=!1);return()=>cancelAnimationFrame(d)},[]),p.createElement(Sn,{present:o||f},({present:d})=>p.createElement(fe.div,Y({"data-state":f?"active":"inactive","data-orientation":l.orientation,role:"tabpanel","aria-labelledby":s,hidden:!d,id:u,tabIndex:0},a,{ref:t,style:{...e.style,animationDuration:c.current?"0s":void 0}}),d&&i))});function sy(e,t){return`${e}-trigger-${t}`}function cy(e,t){return`${e}-content-${t}`}const gS=uS,yS=dS,wS=pS,xS=mS;var CS="vocs_Tabs_content",ES="vocs_Tabs_list",_S="vocs_Tabs",SS="vocs_Tabs_trigger";function bS(e){return x.jsx(gS,{...e,className:M(e.className,_S)})}function $S(e){return x.jsx(yS,{...e,className:M(e.className,ES)})}function TS(e){return x.jsx(wS,{...e,className:M(e.className,SS)})}function kS(e){return x.jsx(xS,{...e,className:M(e.className,CS)})}var RS="vocs_CodeGroup";function PS({children:e}){if(!Array.isArray(e))return null;const t=e.map(n=>{const r=n.props["data-title"]?n:n.props.children,{props:o}=r,i=o["data-title"],a=o.children;return{title:i,content:a}});return x.jsxs(bS,{className:RS,defaultValue:t[0].title,children:[x.jsx($S,{"aria-label":"Code group",children:t.map(({title:n},r)=>x.jsx(TS,{value:n||r.toString(),children:n},n||r.toString()))}),t.map(({title:n,content:r},o)=>{var a,l;const i=(l=(a=r.props)==null?void 0:a.className)==null?void 0:l.includes("shiki");return x.jsx(kS,{"data-shiki":i,value:n||o.toString(),children:r},n||o.toString())})]})}var NS="vocs_Div",AS="vocs_Step_content",LS="vocs_Step",uy="vocs_Step_title",IS="vocs_H2";function fy(e){return x.jsx(Ao,{...e,className:M(e.className,IS),level:2})}var OS="vocs_H3";function dy(e){return x.jsx(Ao,{...e,className:M(e.className,OS),level:3})}var MS="vocs_H4";function hy(e){return x.jsx(Ao,{...e,className:M(e.className,MS),level:4})}var DS="vocs_H5";function py(e){return x.jsx(Ao,{...e,className:M(e.className,DS),level:5})}var jS="vocs_H6";function vy(e){return x.jsx(Ao,{...e,className:M(e.className,jS),level:6})}function FS({children:e,className:t,title:n,titleLevel:r=2}){const o=(()=>{if(r===2)return fy;if(r===3)return dy;if(r===4)return hy;if(r===5)return py;if(r===6)return vy;throw new Error("Invalid.")})();return x.jsxs("div",{className:M(t,LS),children:[typeof n=="string"?x.jsx(o,{className:uy,children:n}):n,x.jsx("div",{className:AS,children:e})]})}var zS="vocs_Steps";function BS({children:e,className:t}){return x.jsx("div",{className:M(t,zS),children:e})}function US({children:e}){return Array.isArray(e)?x.jsx(BS,{children:e.map(({props:t},n)=>{const[r,...o]=Array.isArray(t.children)?t.children:[t.children];return x.jsx(FS,{title:p.cloneElement(r,{className:uy}),children:o},n)})}):null}var HS="vocs_Subtitle";function VS({children:e}){return x.jsx("div",{className:HS,role:"doc-subtitle",children:e})}function WS(e){const{layout:t}=Nr(),n=M(e.className,NS);return e.className==="code-group"?x.jsx(PS,{...e,className:n}):"data-authors"in e?x.jsx(ny,{}):"data-blog-posts"in e?x.jsx(I9,{}):"data-sponsors"in e?x.jsx(H9,{}):"data-autolink-icon"in e&&t==="docs"?x.jsx(K9,{...e,className:n}):"data-vocs-steps"in e?x.jsx(US,{...e,className:n}):e.role==="doc-subtitle"?x.jsx(VS,{...e}):x.jsx("div",{...e,className:n})}var KS="vocs_Figcaption";function YS(e){const t=M(e.className,KS);return x.jsx("figcaption",{...e,className:t})}var GS="vocs_Figure";function QS(e){const t=M(e.className,GS);return x.jsx("figure",{...e,className:t})}var ZS="vocs_Header";function XS(e){return x.jsx("header",{...e,className:M(e.className,ZS)})}var JS="vocs_HorizontalRule";function qS(e){return x.jsx("hr",{...e,className:M(e.className,JS)})}var eb="vocs_List_ordered",tb="vocs_List",nb="vocs_List_unordered";function ov({ordered:e,...t}){const n=e?"ol":"ul";return x.jsx(n,{...t,className:M(t.className,tb,e?eb:nb)})}var rb="vocs_ListItem";function ob(e){return x.jsx("li",{...e,className:M(e.className,rb)})}function ib(){const e=p.useRef(null),[t,n]=p.useState(!1);p.useEffect(()=>{if(!t)return;const o=setTimeout(()=>n(!1),1e3);return()=>clearTimeout(o)},[t]);function r(){var a;n(!0);const o=(a=e.current)==null?void 0:a.cloneNode(!0),i=o==null?void 0:o.querySelectorAll("button,.line.diff.remove,.twoslash-popup-info-hover,.twoslash-popup-info,.twoslash-meta-line,.twoslash-tag-line");for(const l of i??[])l.remove();navigator.clipboard.writeText(o==null?void 0:o.textContent)}return{copied:t,copy:r,ref:e}}var ab="vocs_CopyButton";function lb(){return x.jsxs("svg",{width:"100%",height:"100%",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 68 67",children:[x.jsx("title",{children:"Checkmark"}),x.jsx("path",{fill:"currentColor",d:"M26.175 66.121c1.904 0 3.418-.83 4.492-2.49L66.263 7.332c.83-1.27 1.123-2.295 1.123-3.32 0-2.393-1.563-4.004-4.004-4.004-1.758 0-2.734.586-3.809 2.295L25.98 56.209 8.304 32.381c-1.123-1.514-2.198-2.149-3.809-2.149-2.441 0-4.2 1.71-4.2 4.15 0 1.026.44 2.15 1.27 3.224l19.971 25.927c1.367 1.758 2.734 2.588 4.639 2.588Z"})]})}function sb(){return x.jsxs("svg",{width:"100%",height:"100%",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 82 82",children:[x.jsx("title",{children:"Copy"}),x.jsx("path",{fill:"currentColor",d:"M12.451 63.281h38.38c8.3 0 12.45-4.053 12.45-12.256v-38.77C63.281 4.054 59.131 0 50.831 0H12.45C4.101 0 0 4.053 0 12.256v38.77C0 59.227 4.102 63.28 12.451 63.28Zm.098-7.031c-3.516 0-5.518-1.904-5.518-5.615V12.647c0-3.711 2.002-5.616 5.518-5.616h38.183c3.516 0 5.518 1.905 5.518 5.615v37.989c0 3.71-2.002 5.615-5.518 5.615H12.55Z"}),x.jsx("path",{stroke:"currentColor",strokeWidth:"6.75px",d:"M69.385 78.266h-38.38c-3.679 0-5.782-.894-6.987-2.081-1.196-1.178-2.088-3.219-2.088-6.8v-38.77c0-3.581.892-5.622 2.088-6.8 1.205-1.187 3.308-2.08 6.988-2.08h38.379c3.65 0 5.758.89 6.973 2.084 1.203 1.182 2.103 3.225 2.103 6.796v38.77c0 3.57-.9 5.614-2.103 6.796-1.215 1.193-3.323 2.085-6.973 2.085Z"})]})}function cb({copy:e,copied:t}){return x.jsx("button",{className:ab,onClick:e,type:"button",children:t?x.jsx(ct,{label:"Copied",size:"14px",icon:lb}):x.jsx(ct,{label:"Copy",size:"18px",icon:sb})})}var ub="vocs_CodeBlock";function fb(e){return x.jsx("div",{...e,className:M(e.className,ub)})}function db(){return x.jsxs("svg",{width:"100%",height:"100%",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 94 99",fill:"none",children:[x.jsx("title",{children:"File"}),x.jsx("rect",{width:"77px",height:"89px",x:"8px",y:"3px",stroke:"currentColor",strokeWidth:"6px",rx:"7px"}),x.jsx("path",{stroke:"currentColor",strokeLinecap:"round",strokeWidth:"6px",d:"M25 22h43M25 35h43M25 48h22"})]})}function hb(){return x.jsxs("svg",{width:"100%",height:"100%",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 79 95",fill:"none",children:[x.jsx("title",{children:"Terminal"}),x.jsx("path",{fill:"currentColor",d:"M38.281 34.033c0-1.074-.39-2.05-1.22-2.88L6.885 1.171C6.152.39 5.175 0 4.053 0 1.758 0 0 1.709 0 4.004c0 1.074.488 2.1 1.172 2.88l27.295 27.15L1.172 61.181C.488 61.962 0 62.939 0 64.062c0 2.295 1.758 4.004 4.053 4.004 1.123 0 2.1-.39 2.832-1.172l30.176-29.98c.83-.83 1.22-1.807 1.22-2.88Z"}),x.jsx("path",{stroke:"currentColor",strokeLinecap:"round",strokeWidth:"8px",d:"M36 75h55"})]})}var pb="vocs_CodeTitle";function vb({children:e,className:t,language:n,...r}){return x.jsxs("div",{...r,className:M(t,pb),children:[n==="bash"?x.jsx(ct,{label:"Terminal",size:"14px",icon:hb,style:{marginTop:3}}):e.match(/\.(.*)$/)?x.jsx(ct,{label:"File",size:"14px",icon:db,style:{marginTop:1}}):null,e]})}var mb="vocs_Pre",gb="vocs_Pre_wrapper";function yb({children:e,className:t,...n}){const{copied:r,copy:o,ref:i}=ib();function a(u){return!u||typeof u!="object"?u:"props"in u?{...u,props:{...u.props,children:Array.isArray(u.props.children)?u.props.children.map(a):a(u.props.children)}}:u}const l=p.useMemo(()=>a(e),[e]);return(u=>t!=null&&t.includes("shiki")?x.jsxs(fb,{children:[n["data-title"]&&x.jsx(vb,{language:n["data-lang"],children:n["data-title"]}),u]}):u)(x.jsx("div",{className:M(gb),children:x.jsxs("pre",{ref:i,...n,className:M(t,mb),children:["data-language"in n&&x.jsx(cb,{copied:r,copy:o}),l]})}))}var wb="vocs_Footnotes";function xb(e){return x.jsx("section",{...e,className:M(e.className,wb)})}var iv="vocs_Section";function Cb(e){return"data-footnotes"in e?x.jsx(xb,{...e,className:M(e.className,iv)}):x.jsx("section",{...e,className:M(e.className,iv)})}var av="vocs_Span";function Qa(e,t){if(!e||!t)return!1;const n=t.getRootNode==null?void 0:t.getRootNode();if(e.contains(t))return!0;if(n&&$u(n)){let r=t;for(;r;){if(e===r)return!0;r=r.parentNode||r.host}}return!1}function Ou(e,t){const n=["mouse","pen"];return n.push("",void 0),n.includes(e)}function Na(e){return(e==null?void 0:e.ownerDocument)||document}function Eb(e){return"composedPath"in e?e.composedPath()[0]:e.target}const my={...Vu},_b=my.useInsertionEffect,Sb=_b||(e=>e());function Mu(e){const t=p.useRef(()=>{});return Sb(()=>{t.current=e}),p.useCallback(function(){for(var n=arguments.length,r=new Array(n),o=0;o"floating-ui-"+Math.random().toString(36).slice(2,6)+bb++;function $b(){const[e,t]=p.useState(()=>lv?sv():void 0);return $o(()=>{e==null&&t(sv())},[]),p.useEffect(()=>{lv=!0},[]),e}const Tb=my.useId,gy=Tb||$b,kb=p.forwardRef(function(t,n){const{context:{placement:r,elements:{floating:o},middlewareData:{arrow:i}},width:a=14,height:l=7,tipRadius:s=0,strokeWidth:u=0,staticOffset:f,stroke:c,d,style:{transform:h,...y}={},...v}=t,C=gy();if(!o)return null;const m=u*2,g=m/2,w=a/2*(s/-8+1),E=l/2*s/4,[S,$]=r.split("-"),_=C1.isRTL(o),b=!!d,k=S==="top"||S==="bottom",N=f&&$==="end"?"bottom":"top";let O=f&&$==="end"?"right":"left";f&&_&&(O=$==="end"?"left":"right");const D=(i==null?void 0:i.x)!=null?f||i.x:"",I=(i==null?void 0:i.y)!=null?f||i.y:"",R=d||"M0,0"+(" H"+a)+(" L"+(a-w)+","+(l-E))+(" Q"+a/2+","+l+" "+w+","+(l-E))+" Z",B={top:b?"rotate(180deg)":"",left:b?"rotate(90deg)":"rotate(-90deg)",bottom:b?"":"rotate(180deg)",right:b?"rotate(-90deg)":"rotate(90deg)"}[S];return p.createElement("svg",Du({},v,{"aria-hidden":!0,ref:n,width:b?a:a+m,height:a,viewBox:"0 0 "+a+" "+(l>a?l:a),style:{position:"absolute",pointerEvents:"none",[O]:D,[N]:I,[S]:k||b?"100%":"calc(100% - "+m/2+"px)",transform:""+B+(h??""),...y}}),m>0&&p.createElement("path",{clipPath:"url(#"+C+")",fill:"none",stroke:c,strokeWidth:m+(d?0:1),d:R}),p.createElement("path",{stroke:m&&!d?v.fill:"none",d:R}),p.createElement("clipPath",{id:C},p.createElement("rect",{x:-g,y:g*(b?-1:1),width:a+m,height:a})))});function Rb(){const e=new Map;return{emit(t,n){var r;(r=e.get(t))==null||r.forEach(o=>o(n))},on(t,n){e.set(t,[...e.get(t)||[],n])},off(t,n){var r;e.set(t,((r=e.get(t))==null?void 0:r.filter(o=>o!==n))||[])}}}const Pb=p.createContext(null),Nb=p.createContext(null),yy=()=>{var e;return((e=p.useContext(Pb))==null?void 0:e.id)||null},wy=()=>p.useContext(Nb);function Ab(e){return"data-floating-ui-"+e}function cv(e){const t=p.useRef(e);return $o(()=>{t.current=e}),t}const uv=Ab("safe-polygon");function ic(e,t,n){return n&&!Ou(n)?0:typeof e=="number"?e:e==null?void 0:e[t]}function Lb(e,t){t===void 0&&(t={});const{open:n,onOpenChange:r,dataRef:o,events:i,elements:{domReference:a,floating:l}}=e,{enabled:s=!0,delay:u=0,handleClose:f=null,mouseOnly:c=!1,restMs:d=0,move:h=!0}=t,y=wy(),v=yy(),C=cv(f),m=cv(u),g=p.useRef(),w=p.useRef(-1),E=p.useRef(),S=p.useRef(-1),$=p.useRef(!0),_=p.useRef(!1),b=p.useRef(()=>{}),k=p.useCallback(()=>{var I;const R=(I=o.current.openEvent)==null?void 0:I.type;return(R==null?void 0:R.includes("mouse"))&&R!=="mousedown"},[o]);p.useEffect(()=>{if(!s)return;function I(R){let{open:B}=R;B||(clearTimeout(w.current),clearTimeout(S.current),$.current=!0)}return i.on("openchange",I),()=>{i.off("openchange",I)}},[s,i]),p.useEffect(()=>{if(!s||!C.current||!n)return;function I(B){k()&&r(!1,B,"hover")}const R=Na(l).documentElement;return R.addEventListener("mouseleave",I),()=>{R.removeEventListener("mouseleave",I)}},[l,n,r,s,C,k]);const N=p.useCallback(function(I,R,B){R===void 0&&(R=!0),B===void 0&&(B="hover");const G=ic(m.current,"close",g.current);G&&!E.current?(clearTimeout(w.current),w.current=window.setTimeout(()=>r(!1,I,B),G)):R&&(clearTimeout(w.current),r(!1,I,B))},[m,r]),O=Mu(()=>{b.current(),E.current=void 0}),D=Mu(()=>{if(_.current){const I=Na(l).body;I.style.pointerEvents="",I.removeAttribute(uv),_.current=!1}});return p.useEffect(()=>{if(!s)return;function I(){return o.current.openEvent?["click","mousedown"].includes(o.current.openEvent.type):!1}function R(z){if(clearTimeout(w.current),$.current=!1,c&&!Ou(g.current)||d>0&&!ic(m.current,"open"))return;const L=ic(m.current,"open",g.current);L?w.current=window.setTimeout(()=>{r(!0,z,"hover")},L):r(!0,z,"hover")}function B(z){if(I())return;b.current();const L=Na(l);if(clearTimeout(S.current),C.current&&o.current.floatingContext){n||clearTimeout(w.current),E.current=C.current({...o.current.floatingContext,tree:y,x:z.clientX,y:z.clientY,onClose(){D(),O(),N(z,!0,"safe-polygon")}});const K=E.current;L.addEventListener("mousemove",K),b.current=()=>{L.removeEventListener("mousemove",K)};return}(g.current==="touch"?!Qa(l,z.relatedTarget):!0)&&N(z)}function G(z){I()||o.current.floatingContext&&(C.current==null||C.current({...o.current.floatingContext,tree:y,x:z.clientX,y:z.clientY,onClose(){D(),O(),N(z)}})(z))}if(Je(a)){const z=a;return n&&z.addEventListener("mouseleave",G),l==null||l.addEventListener("mouseleave",G),h&&z.addEventListener("mousemove",R,{once:!0}),z.addEventListener("mouseenter",R),z.addEventListener("mouseleave",B),()=>{n&&z.removeEventListener("mouseleave",G),l==null||l.removeEventListener("mouseleave",G),h&&z.removeEventListener("mousemove",R),z.removeEventListener("mouseenter",R),z.removeEventListener("mouseleave",B)}}},[a,l,s,e,c,d,h,N,O,D,r,n,y,m,C,o]),$o(()=>{var I;if(s&&n&&(I=C.current)!=null&&I.__options.blockPointerEvents&&k()){const B=Na(l).body;if(B.setAttribute(uv,""),B.style.pointerEvents="none",_.current=!0,Je(a)&&l){var R;const G=a,z=y==null||(R=y.nodesRef.current.find(L=>L.id===v))==null||(R=R.context)==null?void 0:R.elements.floating;return z&&(z.style.pointerEvents=""),G.style.pointerEvents="auto",l.style.pointerEvents="auto",()=>{G.style.pointerEvents="",l.style.pointerEvents=""}}}},[s,n,v,l,a,y,C,k]),$o(()=>{n||(g.current=void 0,O(),D())},[n,O,D]),p.useEffect(()=>()=>{O(),clearTimeout(w.current),clearTimeout(S.current),D()},[s,a,O,D]),p.useMemo(()=>{if(!s)return{};function I(R){g.current=R.pointerType}return{reference:{onPointerDown:I,onPointerEnter:I,onMouseMove(R){function B(){$.current||r(!0,R.nativeEvent,"hover")}c&&!Ou(g.current)||n||d===0||(clearTimeout(S.current),g.current==="touch"?B():S.current=window.setTimeout(B,d))}},floating:{onMouseEnter(){clearTimeout(w.current)},onMouseLeave(R){N(R.nativeEvent,!1)}}}},[s,c,n,d,r,N])}function Ib(e,t){let n=e.filter(o=>{var i;return o.parentId===t&&((i=o.context)==null?void 0:i.open)}),r=n;for(;r.length;)r=e.filter(o=>{var i;return(i=r)==null?void 0:i.some(a=>{var l;return o.parentId===a.id&&((l=o.context)==null?void 0:l.open)})}),n=n.concat(r);return n}function Ob(e){const{open:t=!1,onOpenChange:n,elements:r}=e,o=gy(),i=p.useRef({}),[a]=p.useState(()=>Rb()),l=yy()!=null,[s,u]=p.useState(r.reference),f=Mu((h,y,v)=>{i.current.openEvent=h?y:void 0,a.emit("openchange",{open:h,event:y,reason:v,nested:l}),n==null||n(h,y,v)}),c=p.useMemo(()=>({setPositionReference:u}),[]),d=p.useMemo(()=>({reference:s||r.reference||null,floating:r.floating||null,domReference:r.reference}),[s,r.reference,r.floating]);return p.useMemo(()=>({dataRef:i,open:t,onOpenChange:f,elements:d,events:a,floatingId:o,refs:c}),[t,f,d,a,o,c])}function Mb(e){e===void 0&&(e={});const{nodeId:t}=e,n=Ob({...e,elements:{reference:null,floating:null,...e.elements}}),r=e.rootContext||n,o=r.elements,[i,a]=p.useState(null),[l,s]=p.useState(null),f=(o==null?void 0:o.reference)||i,c=p.useRef(null),d=wy();$o(()=>{f&&(c.current=f)},[f]);const h=$1({...e,elements:{...o,...l&&{reference:l}}}),y=p.useCallback(w=>{const E=Je(w)?{getBoundingClientRect:()=>w.getBoundingClientRect(),contextElement:w}:w;s(E),h.refs.setReference(E)},[h.refs]),v=p.useCallback(w=>{(Je(w)||w===null)&&(c.current=w,a(w)),(Je(h.refs.reference.current)||h.refs.reference.current===null||w!==null&&!Je(w))&&h.refs.setReference(w)},[h.refs]),C=p.useMemo(()=>({...h.refs,setReference:v,setPositionReference:y,domReference:c}),[h.refs,v,y]),m=p.useMemo(()=>({...h.elements,domReference:f}),[h.elements,f]),g=p.useMemo(()=>({...h,...r,refs:C,elements:m,nodeId:t}),[h,C,m,t,r]);return $o(()=>{r.dataRef.current.floatingContext=g;const w=d==null?void 0:d.nodesRef.current.find(E=>E.id===t);w&&(w.context=g)}),p.useMemo(()=>({...h,context:g,refs:C,elements:m}),[h,C,m,g])}const fv="active",dv="selected";function ac(e,t,n){const r=new Map,o=n==="item";let i=e;if(o&&e){const{[fv]:a,[dv]:l,...s}=e;i=s}return{...n==="floating"&&{tabIndex:-1},...i,...t.map(a=>{const l=a?a[n]:null;return typeof l=="function"?e?l(e):null:l}).concat(e).reduce((a,l)=>(l&&Object.entries(l).forEach(s=>{let[u,f]=s;if(!(o&&[fv,dv].includes(u)))if(u.indexOf("on")===0){if(r.has(u)||r.set(u,[]),typeof f=="function"){var c;(c=r.get(u))==null||c.push(f),a[u]=function(){for(var d,h=arguments.length,y=new Array(h),v=0;vC(...y)).find(C=>C!==void 0)}}}else a[u]=f}),a),{})}}function Db(e){e===void 0&&(e=[]);const t=e,n=p.useCallback(i=>ac(i,e,"reference"),t),r=p.useCallback(i=>ac(i,e,"floating"),t),o=p.useCallback(i=>ac(i,e,"item"),e.map(i=>i==null?void 0:i.item));return p.useMemo(()=>({getReferenceProps:n,getFloatingProps:r,getItemProps:o}),[n,r,o])}function hv(e,t){const[n,r]=e;let o=!1;const i=t.length;for(let a=0,l=i-1;a=r!=c>=r&&n<=(f-s)*(r-u)/(c-u)+s&&(o=!o)}return o}function jb(e,t){return e[0]>=t.x&&e[0]<=t.x+t.width&&e[1]>=t.y&&e[1]<=t.y+t.height}function Fb(e){e===void 0&&(e={});const{buffer:t=.5,blockPointerEvents:n=!1,requireIntent:r=!0}=e;let o,i=!1,a=null,l=null,s=performance.now();function u(c,d){const h=performance.now(),y=h-s;if(a===null||l===null||y===0)return a=c,l=d,s=h,null;const v=c-a,C=d-l,g=Math.sqrt(v*v+C*C)/y;return a=c,l=d,s=h,g}const f=c=>{let{x:d,y:h,placement:y,elements:v,onClose:C,nodeId:m,tree:g}=c;return function(E){function S(){clearTimeout(o),C()}if(clearTimeout(o),!v.domReference||!v.floating||y==null||d==null||h==null)return;const{clientX:$,clientY:_}=E,b=[$,_],k=Eb(E),N=E.type==="mouseleave",O=Qa(v.floating,k),D=Qa(v.domReference,k),I=v.domReference.getBoundingClientRect(),R=v.floating.getBoundingClientRect(),B=y.split("-")[0],G=d>R.right-R.width/2,z=h>R.bottom-R.height/2,L=jb(b,I),U=R.width>I.width,K=R.height>I.height,oe=(U?I:R).left,ae=(U?I:R).right,Fe=(K?I:R).top,Me=(K?I:R).bottom;if(O&&(i=!0,!N))return;if(D&&(i=!1),D&&!N){i=!0;return}if(N&&Je(E.relatedTarget)&&Qa(v.floating,E.relatedTarget)||g&&Ib(g.nodesRef.current,m).some(Pe=>{let{context:de}=Pe;return de==null?void 0:de.open}))return;if(B==="top"&&h>=I.bottom-1||B==="bottom"&&h<=I.top+1||B==="left"&&d>=I.right-1||B==="right"&&d<=I.left+1)return S();let ge=[];switch(B){case"top":ge=[[oe,I.top+1],[oe,R.bottom-1],[ae,R.bottom-1],[ae,I.top+1]];break;case"bottom":ge=[[oe,R.top+1],[oe,I.bottom-1],[ae,I.bottom-1],[ae,R.top+1]];break;case"left":ge=[[R.right-1,Me],[R.right-1,Fe],[I.left+1,Fe],[I.left+1,Me]];break;case"right":ge=[[I.right-1,Me],[I.right-1,Fe],[R.left+1,Fe],[R.left+1,Me]];break}function ye(Pe){let[de,Se]=Pe;switch(B){case"top":{const Ot=[U?de+t/2:G?de+t*4:de-t*4,Se+t+1],Mt=[U?de-t/2:G?de+t*4:de-t*4,Se+t+1],Ne=[[R.left,G||U?R.bottom-t:R.top],[R.right,G?U?R.bottom-t:R.top:R.bottom-t]];return[Ot,Mt,...Ne]}case"bottom":{const Ot=[U?de+t/2:G?de+t*4:de-t*4,Se-t],Mt=[U?de-t/2:G?de+t*4:de-t*4,Se-t],Ne=[[R.left,G||U?R.top+t:R.bottom],[R.right,G?U?R.top+t:R.bottom:R.top+t]];return[Ot,Mt,...Ne]}case"left":{const Ot=[de+t+1,K?Se+t/2:z?Se+t*4:Se-t*4],Mt=[de+t+1,K?Se-t/2:z?Se+t*4:Se-t*4];return[...[[z||K?R.right-t:R.left,R.top],[z?K?R.right-t:R.left:R.right-t,R.bottom]],Ot,Mt]}case"right":{const Ot=[de-t,K?Se+t/2:z?Se+t*4:Se-t*4],Mt=[de-t,K?Se-t/2:z?Se+t*4:Se-t*4],Ne=[[z||K?R.left+t:R.right,R.top],[z?K?R.left+t:R.right:R.left+t,R.bottom]];return[Ot,Mt,...Ne]}}}if(!hv([$,_],ge)){if(i&&!L)return S();if(!N&&r){const Pe=u(E.clientX,E.clientY);if(Pe!==null&&Pe<.1)return S()}hv([$,_],ye([d,h]))?!i&&r&&(o=window.setTimeout(S,40)):S()}}};return f.__options={blockPointerEvents:n},f}function zb({children:e,...t}){const[n,r]=e,o=p.useRef(null),[i,a]=p.useState(!1),{context:l,refs:s,floatingStyles:u}=Mb({middleware:[S1({element:o}),E1(8),_1()],open:i,onOpenChange:a,placement:"bottom-start"}),f=Lb(l,{handleClose:Fb()}),{getReferenceProps:c,getFloatingProps:d}=Db([f]),h=r.props.children,y=n.props.children;return x.jsxs("span",{...t,children:[x.jsx("span",{className:"twoslash-target",ref:s.setReference,...c(),children:h}),i&&x.jsxs("div",{className:"twoslash-popup-info-hover",ref:s.setFloating,style:u,...d(),children:[x.jsx(kb,{ref:o,context:l,fill:ip.background5,height:3,stroke:ip.border2,strokeWidth:1,width:7}),x.jsx("div",{className:"twoslash-popup-scroll-container",children:y})]})]})}function Bb(e){var n;const t=M(e.className,av);return(n=e.className)!=null&&n.includes("twoslash-hover")?x.jsx(zb,{...e,className:t}):x.jsx("span",{...e,className:M(e.className,av)})}var Ub="vocs_CalloutTitle";function Hb({className:e,children:t}){return x.jsx("strong",{className:M(e,Ub),children:t})}var pv="vocs_Strong";function Vb(e){return"data-callout-title"in e&&typeof e.children=="string"?x.jsx(Hb,{...e,className:M(e.className,pv),children:e.children}):x.jsx("strong",{...e,className:M(e.className,pv)})}var Wb="vocs_Summary";function Kb(e){return x.jsx("summary",{...e,className:M(e.className,Wb)})}var Yb="vocs_Table";function Gb(e){return x.jsx("table",{...e,className:M(e.className,Yb)})}var Qb="vocs_TableCell";function Zb(e){return x.jsx("td",{...e,className:M(e.className,Qb)})}var Xb="vocs_TableHeader";function Jb(e){return x.jsx("th",{...e,className:M(e.className,Xb)})}var qb="vocs_TableRow";function e$(e){return x.jsx("tr",{...e,className:M(e.className,qb)})}const t$={a:a9,aside:m9,blockquote:y9,code:x9,details:_9,div:WS,pre:yb,header:XS,figcaption:YS,figure:QS,h1:J0,h2:fy,h3:dy,h4:hy,h5:py,h6:vy,hr:qS,kd:Ig,li:ob,ol:e=>x.jsx(ov,{ordered:!0,...e}),p:q0,section:Cb,span:Bb,strong:Vb,summary:Kb,table:Gb,td:Zb,th:Jb,tr:e$,ul:e=>x.jsx(ov,{ordered:!1,...e})};function n$(){const{pathname:e}=Oe(),t=Ke(),{ogImageUrl:n}=t;if(!n)return;if(typeof n=="string")return n;const r=p.useMemo(()=>{const o=Object.keys(n).filter(i=>e.startsWith(i));return o[o.length-1]},[n,e]);if(r)return n[r]}function ju(e){const{children:t,filePath:n,frontmatter:r,lastUpdatedAt:o,path:i}=e,{pathname:a}=Oe(),l=p.useRef();return p.useEffect(()=>{l.current=a}),x.jsxs(x.Fragment,{children:[x.jsx(r$,{frontmatter:r}),typeof window<"u"&&x.jsx(Rx,{}),x.jsx(c_,{components:t$,children:x.jsx(V7,{frontmatter:r,path:i,children:x.jsx(ng.Provider,{value:{filePath:n,frontmatter:r,lastUpdatedAt:o,previousPath:l.current},children:t})})})]})}function r$({frontmatter:e}){var c,d,h,y,v,C;const t=Ke(),n=n$(),{baseUrl:r,font:o,iconUrl:i,logoUrl:a}=t,l=(e==null?void 0:e.title)??t.title,s=(e==null?void 0:e.description)??t.description,u=t.title&&!l.includes(t.title),f=typeof window<"u"&&window.location.hostname==="localhost";return x.jsxs(Lu,{defaultTitle:t.title,titleTemplate:u?t.titleTemplate:void 0,children:[l&&x.jsx("title",{children:l}),r&&!0&&!f&&x.jsx("base",{href:r}),s!=="undefined"&&x.jsx("meta",{name:"description",content:s}),i&&typeof i=="string"&&x.jsx("link",{rel:"icon",href:i,type:lc(i)}),i&&typeof i!="string"&&x.jsx("link",{rel:"icon",href:i.light,type:lc(i.light)}),i&&typeof i!="string"&&x.jsx("link",{rel:"icon",href:i.dark,type:lc(i.dark),media:"(prefers-color-scheme: dark)"}),x.jsx("meta",{property:"og:type",content:"website"}),x.jsx("meta",{property:"og:title",content:l||t.title}),r&&x.jsx("meta",{property:"og:url",content:r}),s!=="undefined"&&x.jsx("meta",{property:"og:description",content:s}),n&&x.jsx("meta",{property:"og:image",content:n.replace("%logo",`${r||""}${typeof a=="string"?a:(a==null?void 0:a.dark)||""}`).replace("%title",l||"").replace("%description",(s!=="undefined"?s:"")||"")}),(((c=o==null?void 0:o.default)==null?void 0:c.google)||((d=o==null?void 0:o.mono)==null?void 0:d.google))&&x.jsx("link",{rel:"preconnect",href:"https://fonts.googleapis.com"}),(((h=o==null?void 0:o.default)==null?void 0:h.google)||((y=o==null?void 0:o.mono)==null?void 0:y.google))&&x.jsx("link",{rel:"preconnect",href:"https://fonts.gstatic.com",crossOrigin:""}),((v=o==null?void 0:o.default)==null?void 0:v.google)&&x.jsx("link",{href:`https://fonts.googleapis.com/css2?family=${o.default.google}:wght@300;400;500&display=swap`,rel:"stylesheet"}),((C=o==null?void 0:o.mono)==null?void 0:C.google)&&x.jsx("link",{href:`https://fonts.googleapis.com/css2?family=${o.mono.google}:wght@300;400;500&display=swap`,rel:"stylesheet"}),x.jsx("meta",{name:"twitter:card",content:"summary_large_image"}),n&&x.jsx("meta",{property:"twitter:image",content:n.replace("%logo",`${r||""}${typeof a=="string"?a:(a==null?void 0:a.dark)||""}`).replace("%title",l||"").replace("%description",(s!=="undefined"?s:"")||"")})]})}function lc(e){if(e.endsWith(".svg"))return"image/svg+xml";if(e.endsWith(".png"))return"image/png";if(e.endsWith(".jpg"))return"image/jpeg";if(e.endsWith(".ico"))return"image/x-icon";if(e.endsWith(".webp"))return"image/webp"}const o$=(()=>{const e=Kf.find(({path:t})=>t==="*");return e?{path:e.path,lazy:async()=>{const{frontmatter:t,...n}=await e.lazy();return{...n,element:x.jsx(ju,{frontmatter:t,path:e.path,children:x.jsx(ku,{children:x.jsx(n.default,{})})})}}}:{path:"*",lazy:void 0,element:x.jsx(ju,{frontmatter:{layout:"minimal"},path:"*",children:x.jsx(ku,{children:x.jsx(qx,{})})})}})(),vv=[...Kf.filter(({path:e})=>e!=="*").map(e=>({path:e.path,lazy:async()=>{const{frontmatter:t,...n}=await e.lazy();return{...n,element:x.jsx(ju,{filePath:e.filePath,frontmatter:t,lastUpdatedAt:e.lastUpdatedAt,path:e.path,children:x.jsx(ku,{children:x.jsx(n.default,{})})})}}})),o$];async function i$(e,t){var r;const n=(r=dr(e,window.location,t))==null?void 0:r.filter(o=>o.route.lazy);n&&(n==null?void 0:n.length)>0&&await Promise.all(n.map(async o=>{const i=await o.route.lazy();Object.assign(o.route,{...i,lazy:void 0})}))}function a$(){const e=document.querySelectorAll('style[data-vocs-temp-style="true"]');for(const t of e)t.remove()}l$();async function l$(){const e=Y0().basePath;await i$(vv,e),a$();const t=mx(vv,{basename:e});R0(document.getElementById("app"),x.jsx(Dx,{children:x.jsx(bx,{router:t})}))}export{gS as $,kS as C,on as L,bS as R,TS as T,yS as a,wS as b,xS as c,M as d,Ke as e,G6 as f,$S as g,x as j,s_ as u}; +*/var Jp=Object.getOwnPropertySymbols,k_=Object.prototype.hasOwnProperty,R_=Object.prototype.propertyIsEnumerable;function P_(e){if(e==null)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}function N_(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de",Object.getOwnPropertyNames(e)[0]==="5")return!1;for(var t={},n=0;n<10;n++)t["_"+String.fromCharCode(n)]=n;var r=Object.getOwnPropertyNames(t).map(function(i){return t[i]});if(r.join("")!=="0123456789")return!1;var o={};return"abcdefghijklmnopqrst".split("").forEach(function(i){o[i]=i}),Object.keys(Object.assign({},o)).join("")==="abcdefghijklmnopqrst"}catch{return!1}}var A_=N_()?Object.assign:function(e,t){for(var n,r=P_(e),o,i=1;i=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n},z_=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t&&(typeof t=="object"||typeof t=="function")?t:e},Pu=function(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0;return n===!1?String(t):String(t).replace(/&/g,"&").replace(//g,">").replace(/"/g,""").replace(/'/g,"'")},B_=function(t){var n=ho(t,q.TITLE),r=ho(t,zi.TITLE_TEMPLATE);if(r&&n)return r.replace(/%s/g,function(){return Array.isArray(n)?n.join(""):n});var o=ho(t,zi.DEFAULT_TITLE);return n||o||void 0},U_=function(t){return ho(t,zi.ON_CHANGE_CLIENT_STATE)||function(){}},nc=function(t,n){return n.filter(function(r){return typeof r[t]<"u"}).map(function(r){return r[t]}).reduce(function(r,o){return dt({},r,o)},{})},H_=function(t,n){return n.filter(function(r){return typeof r[q.BASE]<"u"}).map(function(r){return r[q.BASE]}).reverse().reduce(function(r,o){if(!r.length)for(var i=Object.keys(o),a=0;a=0;r--){var o=t[r];if(o.hasOwnProperty(n))return o[n]}return null},V_=function(t){return{baseTag:H_([Ce.HREF,Ce.TARGET],t),bodyAttributes:nc(gr.BODY,t),defer:ho(t,zi.DEFER),encode:ho(t,zi.ENCODE_SPECIAL_CHARACTERS),htmlAttributes:nc(gr.HTML,t),linkTags:ti(q.LINK,[Ce.REL,Ce.HREF],t),metaTags:ti(q.META,[Ce.NAME,Ce.CHARSET,Ce.HTTPEQUIV,Ce.PROPERTY,Ce.ITEM_PROP],t),noscriptTags:ti(q.NOSCRIPT,[Ce.INNER_HTML],t),onChangeClientState:U_(t),scriptTags:ti(q.SCRIPT,[Ce.SRC,Ce.INNER_HTML],t),styleTags:ti(q.STYLE,[Ce.CSS_TEXT],t),title:B_(t),titleAttributes:nc(gr.TITLE,t)}},Nu=function(){var e=Date.now();return function(t){var n=Date.now();n-e>16?(e=n,t(n)):setTimeout(function(){Nu(t)},0)}}(),ev=function(t){return clearTimeout(t)},W_=typeof window<"u"?window.requestAnimationFrame&&window.requestAnimationFrame.bind(window)||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||Nu:global.requestAnimationFrame||Nu,K_=typeof window<"u"?window.cancelAnimationFrame||window.webkitCancelAnimationFrame||window.mozCancelAnimationFrame||ev:global.cancelAnimationFrame||ev,Y_=function(t){return console&&typeof console.warn=="function"&&console.warn(t)},ni=null,G_=function(t){ni&&K_(ni),t.defer?ni=W_(function(){tv(t,function(){ni=null})}):(tv(t),ni=null)},tv=function(t,n){var r=t.baseTag,o=t.bodyAttributes,i=t.htmlAttributes,a=t.linkTags,l=t.metaTags,s=t.noscriptTags,u=t.onChangeClientState,f=t.scriptTags,c=t.styleTags,d=t.title,h=t.titleAttributes;Au(q.BODY,o),Au(q.HTML,i),Q_(d,h);var y={baseTag:Vr(q.BASE,r),linkTags:Vr(q.LINK,a),metaTags:Vr(q.META,l),noscriptTags:Vr(q.NOSCRIPT,s),scriptTags:Vr(q.SCRIPT,f),styleTags:Vr(q.STYLE,c)},v={},C={};Object.keys(y).forEach(function(m){var g=y[m],w=g.newTags,E=g.oldTags;w.length&&(v[m]=w),E.length&&(C[m]=y[m].oldTags)}),n&&n(),u(t,v,C)},X1=function(t){return Array.isArray(t)?t.join(""):t},Q_=function(t,n){typeof t<"u"&&document.title!==t&&(document.title=X1(t)),Au(q.TITLE,n)},Au=function(t,n){var r=document.getElementsByTagName(t)[0];if(r){for(var o=r.getAttribute(Ht),i=o?o.split(","):[],a=[].concat(i),l=Object.keys(n),s=0;s=0;d--)r.removeAttribute(a[d]);i.length===a.length?r.removeAttribute(Ht):r.getAttribute(Ht)!==l.join(",")&&r.setAttribute(Ht,l.join(","))}},Vr=function(t,n){var r=document.head||document.querySelector(q.HEAD),o=r.querySelectorAll(t+"["+Ht+"]"),i=Array.prototype.slice.call(o),a=[],l=void 0;return n&&n.length&&n.forEach(function(s){var u=document.createElement(t);for(var f in s)if(s.hasOwnProperty(f))if(f===Ce.INNER_HTML)u.innerHTML=s.innerHTML;else if(f===Ce.CSS_TEXT)u.styleSheet?u.styleSheet.cssText=s.cssText:u.appendChild(document.createTextNode(s.cssText));else{var c=typeof s[f]>"u"?"":s[f];u.setAttribute(f,c)}u.setAttribute(Ht,"true"),i.some(function(d,h){return l=h,u.isEqualNode(d)})?i.splice(l,1):a.push(u)}),i.forEach(function(s){return s.parentNode.removeChild(s)}),a.forEach(function(s){return r.appendChild(s)}),{oldTags:i,newTags:a}},J1=function(t){return Object.keys(t).reduce(function(n,r){var o=typeof t[r]<"u"?r+'="'+t[r]+'"':""+r;return n?n+" "+o:o},"")},Z_=function(t,n,r,o){var i=J1(r),a=X1(n);return i?"<"+t+" "+Ht+'="true" '+i+">"+Pu(a,o)+"":"<"+t+" "+Ht+'="true">'+Pu(a,o)+""},X_=function(t,n,r){return n.reduce(function(o,i){var a=Object.keys(i).filter(function(u){return!(u===Ce.INNER_HTML||u===Ce.CSS_TEXT)}).reduce(function(u,f){var c=typeof i[f]>"u"?f:f+'="'+Pu(i[f],r)+'"';return u?u+" "+c:c},""),l=i.innerHTML||i.cssText||"",s=O_.indexOf(t)===-1;return o+"<"+t+" "+Ht+'="true" '+a+(s?"/>":">"+l+"")},"")},q1=function(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return Object.keys(t).reduce(function(r,o){return r[Rl[o]||o]=t[o],r},n)},J_=function(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return Object.keys(t).reduce(function(r,o){return r[I_[o]||o]=t[o],r},n)},q_=function(t,n,r){var o,i=(o={key:n},o[Ht]=!0,o),a=q1(r,i);return[Z.createElement(q.TITLE,a,n)]},eS=function(t,n){return n.map(function(r,o){var i,a=(i={key:o},i[Ht]=!0,i);return Object.keys(r).forEach(function(l){var s=Rl[l]||l;if(s===Ce.INNER_HTML||s===Ce.CSS_TEXT){var u=r.innerHTML||r.cssText;a.dangerouslySetInnerHTML={__html:u}}else a[s]=r[l]}),Z.createElement(t,a)})},sn=function(t,n,r){switch(t){case q.TITLE:return{toComponent:function(){return q_(t,n.title,n.titleAttributes)},toString:function(){return Z_(t,n.title,n.titleAttributes,r)}};case gr.BODY:case gr.HTML:return{toComponent:function(){return q1(n)},toString:function(){return J1(n)}};default:return{toComponent:function(){return eS(t,n)},toString:function(){return X_(t,n,r)}}}},ey=function(t){var n=t.baseTag,r=t.bodyAttributes,o=t.encode,i=t.htmlAttributes,a=t.linkTags,l=t.metaTags,s=t.noscriptTags,u=t.scriptTags,f=t.styleTags,c=t.title,d=c===void 0?"":c,h=t.titleAttributes;return{base:sn(q.BASE,n,o),bodyAttributes:sn(gr.BODY,r,o),htmlAttributes:sn(gr.HTML,i,o),link:sn(q.LINK,a,o),meta:sn(q.META,l,o),noscript:sn(q.NOSCRIPT,s,o),script:sn(q.SCRIPT,u,o),style:sn(q.STYLE,f,o),title:sn(q.TITLE,{title:d,titleAttributes:h},o)}},tS=function(t){var n,r;return r=n=function(o){F_(i,o);function i(){return D_(this,i),z_(this,o.apply(this,arguments))}return i.prototype.shouldComponentUpdate=function(l){return!T_(this.props,l)},i.prototype.mapNestedChildrenToProps=function(l,s){if(!s)return null;switch(l.type){case q.SCRIPT:case q.NOSCRIPT:return{innerHTML:s};case q.STYLE:return{cssText:s}}throw new Error("<"+l.type+" /> elements are self-closing and can not contain children. Refer to our API for more information.")},i.prototype.flattenArrayTypeChildren=function(l){var s,u=l.child,f=l.arrayTypeChildren,c=l.newChildProps,d=l.nestedChildren;return dt({},f,(s={},s[u.type]=[].concat(f[u.type]||[],[dt({},c,this.mapNestedChildrenToProps(u,d))]),s))},i.prototype.mapObjectTypeChildren=function(l){var s,u,f=l.child,c=l.newProps,d=l.newChildProps,h=l.nestedChildren;switch(f.type){case q.TITLE:return dt({},c,(s={},s[f.type]=h,s.titleAttributes=dt({},d),s));case q.BODY:return dt({},c,{bodyAttributes:dt({},d)});case q.HTML:return dt({},c,{htmlAttributes:dt({},d)})}return dt({},c,(u={},u[f.type]=dt({},d),u))},i.prototype.mapArrayTypeChildrenToProps=function(l,s){var u=dt({},s);return Object.keys(l).forEach(function(f){var c;u=dt({},u,(c={},c[f]=l[f],c))}),u},i.prototype.warnOnInvalidChildren=function(l,s){return!0},i.prototype.mapChildrenToProps=function(l,s){var u=this,f={};return Z.Children.forEach(l,function(c){if(!(!c||!c.props)){var d=c.props,h=d.children,y=qp(d,["children"]),v=J_(y);switch(u.warnOnInvalidChildren(c,h),c.type){case q.LINK:case q.META:case q.NOSCRIPT:case q.SCRIPT:case q.STYLE:f=u.flattenArrayTypeChildren({child:c,arrayTypeChildren:f,newChildProps:v,nestedChildren:h});break;default:s=u.mapObjectTypeChildren({child:c,newProps:s,newChildProps:v,nestedChildren:h});break}}}),s=this.mapArrayTypeChildrenToProps(f,s),s},i.prototype.render=function(){var l=this.props,s=l.children,u=qp(l,["children"]),f=dt({},u);return s&&(f=this.mapChildrenToProps(s,f)),Z.createElement(t,f)},j_(i,null,[{key:"canUseDOM",set:function(l){t.canUseDOM=l}}]),i}(Z.Component),n.propTypes={base:xe.object,bodyAttributes:xe.object,children:xe.oneOfType([xe.arrayOf(xe.node),xe.node]),defaultTitle:xe.string,defer:xe.bool,encodeSpecialCharacters:xe.bool,htmlAttributes:xe.object,link:xe.arrayOf(xe.object),meta:xe.arrayOf(xe.object),noscript:xe.arrayOf(xe.object),onChangeClientState:xe.func,script:xe.arrayOf(xe.object),style:xe.arrayOf(xe.object),title:xe.string,titleAttributes:xe.object,titleTemplate:xe.string},n.defaultProps={defer:!0,encodeSpecialCharacters:!0},n.peek=t.peek,n.rewind=function(){var o=t.rewind();return o||(o=ey({baseTag:[],bodyAttributes:{},encodeSpecialCharacters:!0,htmlAttributes:{},linkTags:[],metaTags:[],noscriptTags:[],scriptTags:[],styleTags:[],title:"",titleAttributes:{}})),o},r},nS=function(){return null},rS=C_(V_,G_,ey)(nS),Lu=tS(rS);Lu.renderStatic=Lu.rewind;var rc="vocs_Anchor",oS="vocs_Autolink";function iS(e){return e.href?x.jsx(Yl,{...e,className:M(e.className,oS),to:e.href}):null}function aS(e){const{children:t,href:n}=e,{pathname:r}=Oe();return t&&typeof t=="object"&&"props"in t&&t.props["data-autolink-icon"]?x.jsx(iS,{className:M(e.className,rc),...e}):n!=null&&n.match(/^#/)?x.jsx("a",{className:M(e.className,rc),...e,href:`${r}${n}`}):x.jsx(on,{className:M(e.className,rc),...e})}var lS="vocs_Callout_danger",sS="vocs_Callout_info",cS="vocs_Callout_note",ty="vocs_Callout",uS="vocs_Callout_success",fS="vocs_Callout_tip",dS="vocs_Callout_warning";const hS=Object.freeze(Object.defineProperty({__proto__:null,danger:lS,info:sS,note:cS,root:ty,success:uS,tip:fS,warning:dS},Symbol.toStringTag,{value:"Module"}));function pS({className:e,children:t,type:n}){return x.jsx("aside",{className:M(e,ty,hS[n]),children:t})}var vS="vocs_Aside";function mS(e){const t=M(e.className,vS);return"data-callout"in e?x.jsx(pS,{className:t,type:e["data-callout"],children:e.children}):x.jsx("aside",{...e,className:t})}var gS="vocs_Blockquote";function yS(e){return x.jsx("blockquote",{...e,className:M(e.className,gS)})}var wS="vocs_Code";function xS(e){const t=CS(e.children);return x.jsx("code",{...e,className:M(e.className,wS),children:t})}function CS(e){return Array.isArray(e)?e.map((t,n)=>{var r,o,i;return t.props&&"data-line"in t.props&&typeof t.props.children=="string"&&t.props.children.trim()===""&&((i=(o=(r=e[n+1])==null?void 0:r.props)==null?void 0:o.className)!=null&&i.includes("twoslash-tag-line"))?null:t}).filter(Boolean):e}var ES="vocs_Details";function _S(e){return x.jsx("details",{...e,className:M(e.className,ES)})}var SS="vocs_Authors_authors",bS="vocs_Authors_link",$S="vocs_Authors",nv="vocs_Authors_separator";function ny(e){const{frontmatter:t}=Pr(),{authors:n=t==null?void 0:t.authors,date:r=t==null?void 0:t.date}=e,o=p.useMemo(()=>{if(n)return Array.isArray(n)?n:n.split(",").map(a=>a.trim())},[n]),i=p.useMemo(()=>r?new Date(r).toLocaleDateString("en-US",{year:"numeric",month:"long",day:"numeric"}):null,[r]);return x.jsxs("div",{className:$S,children:[i,o&&(i?" by ":"By "),x.jsx("span",{className:SS,children:o==null?void 0:o.map((a,l)=>{const{text:s,url:u}=TS(a);return x.jsxs(p.Fragment,{children:[u?x.jsx("a",{className:bS,href:u,target:"_blank",rel:"noopener noreferrer",children:s}):s,lx.jsxs(p.Fragment,{children:[x.jsx("div",{className:PS,children:x.jsxs(Qn,{to:e.path,children:[x.jsx("h2",{className:LS,children:e.title}),x.jsx(ny,{authors:e.authors,date:e.date}),x.jsxs("p",{className:kS,children:[e.description," ",x.jsx("span",{className:NS,children:"[→]"})]})]})}),tx.jsxs(p.Fragment,{children:[x.jsx("div",{className:US,children:t.name}),t.items.map((r,o)=>{var i;return x.jsx("div",{className:zS,style:Yt({[MS]:r.length.toString(),[DS]:`${((i=t.height)==null?void 0:i.toString())??"40"}px`}),children:r.map((a,l)=>x.jsx(on,{className:M(OS,a?BS:void 0),hideExternalIcon:!0,href:a==null?void 0:a.link,variant:"styleless",children:x.jsx("img",{className:jS,src:a==null?void 0:a.image,alt:a==null?void 0:a.name})},l))},o)})]},n))})}var VS="var(--vocs_AutolinkIcon_iconUrl)",WS="vocs_AutolinkIcon";function KS(e){const{basePath:t}=Ke(),n=t;return x.jsx("div",{...e,className:M(e.className,WS),style:Yt({[VS]:`url(${n}/.vocs/icons/link.svg)`})})}const oc="rovingFocusGroup.onEntryFocus",YS={bubbles:!1,cancelable:!0},md="RovingFocusGroup",[Iu,ry,GS]=Xl(md),[QS,oy]=_n(md,[GS]),[ZS,XS]=QS(md),JS=p.forwardRef((e,t)=>p.createElement(Iu.Provider,{scope:e.__scopeRovingFocusGroup},p.createElement(Iu.Slot,{scope:e.__scopeRovingFocusGroup},p.createElement(qS,Y({},e,{ref:t}))))),qS=p.forwardRef((e,t)=>{const{__scopeRovingFocusGroup:n,orientation:r,loop:o=!1,dir:i,currentTabStopId:a,defaultCurrentTabStopId:l,onCurrentTabStopIdChange:s,onEntryFocus:u,...f}=e,c=p.useRef(null),d=Ue(t,c),h=Zl(i),[y=null,v]=or({prop:a,defaultProp:l,onChange:s}),[C,m]=p.useState(!1),g=lt(u),w=ry(n),E=p.useRef(!1),[S,$]=p.useState(0);return p.useEffect(()=>{const _=c.current;if(_)return _.addEventListener(oc,g),()=>_.removeEventListener(oc,g)},[g]),p.createElement(ZS,{scope:n,orientation:r,dir:h,loop:o,currentTabStopId:y,onItemFocus:p.useCallback(_=>v(_),[v]),onItemShiftTab:p.useCallback(()=>m(!0),[]),onFocusableItemAdd:p.useCallback(()=>$(_=>_+1),[]),onFocusableItemRemove:p.useCallback(()=>$(_=>_-1),[])},p.createElement(fe.div,Y({tabIndex:C||S===0?-1:0,"data-orientation":r},f,{ref:d,style:{outline:"none",...e.style},onMouseDown:le(e.onMouseDown,()=>{E.current=!0}),onFocus:le(e.onFocus,_=>{const b=!E.current;if(_.target===_.currentTarget&&b&&!C){const k=new CustomEvent(oc,YS);if(_.currentTarget.dispatchEvent(k),!k.defaultPrevented){const N=w().filter(B=>B.focusable),O=N.find(B=>B.active),D=N.find(B=>B.id===y),R=[O,D,...N].filter(Boolean).map(B=>B.ref.current);iy(R)}}E.current=!1}),onBlur:le(e.onBlur,()=>m(!1))})))}),e9="RovingFocusGroupItem",t9=p.forwardRef((e,t)=>{const{__scopeRovingFocusGroup:n,focusable:r=!0,active:o=!1,tabStopId:i,...a}=e,l=an(),s=i||l,u=XS(e9,n),f=u.currentTabStopId===s,c=ry(n),{onFocusableItemAdd:d,onFocusableItemRemove:h}=u;return p.useEffect(()=>{if(r)return d(),()=>h()},[r,d,h]),p.createElement(Iu.ItemSlot,{scope:n,id:s,focusable:r,active:o},p.createElement(fe.span,Y({tabIndex:f?0:-1,"data-orientation":u.orientation},a,{ref:t,onMouseDown:le(e.onMouseDown,y=>{r?u.onItemFocus(s):y.preventDefault()}),onFocus:le(e.onFocus,()=>u.onItemFocus(s)),onKeyDown:le(e.onKeyDown,y=>{if(y.key==="Tab"&&y.shiftKey){u.onItemShiftTab();return}if(y.target!==y.currentTarget)return;const v=o9(y,u.orientation,u.dir);if(v!==void 0){y.preventDefault();let m=c().filter(g=>g.focusable).map(g=>g.ref.current);if(v==="last")m.reverse();else if(v==="prev"||v==="next"){v==="prev"&&m.reverse();const g=m.indexOf(y.currentTarget);m=u.loop?i9(m,g+1):m.slice(g+1)}setTimeout(()=>iy(m))}})})))}),n9={ArrowLeft:"prev",ArrowUp:"prev",ArrowRight:"next",ArrowDown:"next",PageUp:"first",Home:"first",PageDown:"last",End:"last"};function r9(e,t){return t!=="rtl"?e:e==="ArrowLeft"?"ArrowRight":e==="ArrowRight"?"ArrowLeft":e}function o9(e,t,n){const r=r9(e.key,n);if(!(t==="vertical"&&["ArrowLeft","ArrowRight"].includes(r))&&!(t==="horizontal"&&["ArrowUp","ArrowDown"].includes(r)))return n9[r]}function iy(e){const t=document.activeElement;for(const n of e)if(n===t||(n.focus(),document.activeElement!==t))return}function i9(e,t){return e.map((n,r)=>e[(t+r)%e.length])}const a9=JS,l9=t9,ay="Tabs",[s9,p$]=_n(ay,[oy]),ly=oy(),[c9,gd]=s9(ay),u9=p.forwardRef((e,t)=>{const{__scopeTabs:n,value:r,onValueChange:o,defaultValue:i,orientation:a="horizontal",dir:l,activationMode:s="automatic",...u}=e,f=Zl(l),[c,d]=or({prop:r,onChange:o,defaultProp:i});return p.createElement(c9,{scope:n,baseId:an(),value:c,onValueChange:d,orientation:a,dir:f,activationMode:s},p.createElement(fe.div,Y({dir:f,"data-orientation":a},u,{ref:t})))}),f9="TabsList",d9=p.forwardRef((e,t)=>{const{__scopeTabs:n,loop:r=!0,...o}=e,i=gd(f9,n),a=ly(n);return p.createElement(a9,Y({asChild:!0},a,{orientation:i.orientation,dir:i.dir,loop:r}),p.createElement(fe.div,Y({role:"tablist","aria-orientation":i.orientation},o,{ref:t})))}),h9="TabsTrigger",p9=p.forwardRef((e,t)=>{const{__scopeTabs:n,value:r,disabled:o=!1,...i}=e,a=gd(h9,n),l=ly(n),s=sy(a.baseId,r),u=cy(a.baseId,r),f=r===a.value;return p.createElement(l9,Y({asChild:!0},l,{focusable:!o,active:f}),p.createElement(fe.button,Y({type:"button",role:"tab","aria-selected":f,"aria-controls":u,"data-state":f?"active":"inactive","data-disabled":o?"":void 0,disabled:o,id:s},i,{ref:t,onMouseDown:le(e.onMouseDown,c=>{!o&&c.button===0&&c.ctrlKey===!1?a.onValueChange(r):c.preventDefault()}),onKeyDown:le(e.onKeyDown,c=>{[" ","Enter"].includes(c.key)&&a.onValueChange(r)}),onFocus:le(e.onFocus,()=>{const c=a.activationMode!=="manual";!f&&!o&&c&&a.onValueChange(r)})})))}),v9="TabsContent",m9=p.forwardRef((e,t)=>{const{__scopeTabs:n,value:r,forceMount:o,children:i,...a}=e,l=gd(v9,n),s=sy(l.baseId,r),u=cy(l.baseId,r),f=r===l.value,c=p.useRef(f);return p.useEffect(()=>{const d=requestAnimationFrame(()=>c.current=!1);return()=>cancelAnimationFrame(d)},[]),p.createElement(Sn,{present:o||f},({present:d})=>p.createElement(fe.div,Y({"data-state":f?"active":"inactive","data-orientation":l.orientation,role:"tabpanel","aria-labelledby":s,hidden:!d,id:u,tabIndex:0},a,{ref:t,style:{...e.style,animationDuration:c.current?"0s":void 0}}),d&&i))});function sy(e,t){return`${e}-trigger-${t}`}function cy(e,t){return`${e}-content-${t}`}const g9=u9,y9=d9,w9=p9,x9=m9;var C9="vocs_Tabs_content",E9="vocs_Tabs_list",_9="vocs_Tabs",S9="vocs_Tabs_trigger";function b9(e){return x.jsx(g9,{...e,className:M(e.className,_9)})}function $9(e){return x.jsx(y9,{...e,className:M(e.className,E9)})}function T9(e){return x.jsx(w9,{...e,className:M(e.className,S9)})}function k9(e){return x.jsx(x9,{...e,className:M(e.className,C9)})}var R9="vocs_CodeGroup";function P9({children:e}){if(!Array.isArray(e))return null;const t=e.map(n=>{const r=n.props["data-title"]?n:n.props.children,{props:o}=r,i=o["data-title"],a=o.children;return{title:i,content:a}});return x.jsxs(b9,{className:R9,defaultValue:t[0].title,children:[x.jsx($9,{"aria-label":"Code group",children:t.map(({title:n},r)=>x.jsx(T9,{value:n||r.toString(),children:n},n||r.toString()))}),t.map(({title:n,content:r},o)=>{var a,l;const i=(l=(a=r.props)==null?void 0:a.className)==null?void 0:l.includes("shiki");return x.jsx(k9,{"data-shiki":i,value:n||o.toString(),children:r},n||o.toString())})]})}var N9="vocs_Div",A9="vocs_Step_content",L9="vocs_Step",uy="vocs_Step_title",I9="vocs_H2";function fy(e){return x.jsx(Ao,{...e,className:M(e.className,I9),level:2})}var O9="vocs_H3";function dy(e){return x.jsx(Ao,{...e,className:M(e.className,O9),level:3})}var M9="vocs_H4";function hy(e){return x.jsx(Ao,{...e,className:M(e.className,M9),level:4})}var D9="vocs_H5";function py(e){return x.jsx(Ao,{...e,className:M(e.className,D9),level:5})}var j9="vocs_H6";function vy(e){return x.jsx(Ao,{...e,className:M(e.className,j9),level:6})}function F9({children:e,className:t,title:n,titleLevel:r=2}){const o=(()=>{if(r===2)return fy;if(r===3)return dy;if(r===4)return hy;if(r===5)return py;if(r===6)return vy;throw new Error("Invalid.")})();return x.jsxs("div",{className:M(t,L9),children:[typeof n=="string"?x.jsx(o,{className:uy,children:n}):n,x.jsx("div",{className:A9,children:e})]})}var z9="vocs_Steps";function B9({children:e,className:t}){return x.jsx("div",{className:M(t,z9),children:e})}function U9({children:e}){return Array.isArray(e)?x.jsx(B9,{children:e.map(({props:t},n)=>{const[r,...o]=Array.isArray(t.children)?t.children:[t.children];return x.jsx(F9,{title:p.cloneElement(r,{className:uy}),children:o},n)})}):null}var H9="vocs_Subtitle";function V9({children:e}){return x.jsx("div",{className:H9,role:"doc-subtitle",children:e})}function W9(e){const{layout:t}=Nr(),n=M(e.className,N9);return e.className==="code-group"?x.jsx(P9,{...e,className:n}):"data-authors"in e?x.jsx(ny,{}):"data-blog-posts"in e?x.jsx(IS,{}):"data-sponsors"in e?x.jsx(HS,{}):"data-autolink-icon"in e&&t==="docs"?x.jsx(KS,{...e,className:n}):"data-vocs-steps"in e?x.jsx(U9,{...e,className:n}):e.role==="doc-subtitle"?x.jsx(V9,{...e}):x.jsx("div",{...e,className:n})}var K9="vocs_Figcaption";function Y9(e){const t=M(e.className,K9);return x.jsx("figcaption",{...e,className:t})}var G9="vocs_Figure";function Q9(e){const t=M(e.className,G9);return x.jsx("figure",{...e,className:t})}var Z9="vocs_Header";function X9(e){return x.jsx("header",{...e,className:M(e.className,Z9)})}var J9="vocs_HorizontalRule";function q9(e){return x.jsx("hr",{...e,className:M(e.className,J9)})}var eb="vocs_List_ordered",tb="vocs_List",nb="vocs_List_unordered";function ov({ordered:e,...t}){const n=e?"ol":"ul";return x.jsx(n,{...t,className:M(t.className,tb,e?eb:nb)})}var rb="vocs_ListItem";function ob(e){return x.jsx("li",{...e,className:M(e.className,rb)})}function ib(){const e=p.useRef(null),[t,n]=p.useState(!1);p.useEffect(()=>{if(!t)return;const o=setTimeout(()=>n(!1),1e3);return()=>clearTimeout(o)},[t]);function r(){var a;n(!0);const o=(a=e.current)==null?void 0:a.cloneNode(!0),i=o==null?void 0:o.querySelectorAll("button,.line.diff.remove,.twoslash-popup-info-hover,.twoslash-popup-info,.twoslash-meta-line,.twoslash-tag-line");for(const l of i??[])l.remove();navigator.clipboard.writeText(o==null?void 0:o.textContent)}return{copied:t,copy:r,ref:e}}var ab="vocs_CopyButton";function lb(){return x.jsxs("svg",{width:"100%",height:"100%",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 68 67",children:[x.jsx("title",{children:"Checkmark"}),x.jsx("path",{fill:"currentColor",d:"M26.175 66.121c1.904 0 3.418-.83 4.492-2.49L66.263 7.332c.83-1.27 1.123-2.295 1.123-3.32 0-2.393-1.563-4.004-4.004-4.004-1.758 0-2.734.586-3.809 2.295L25.98 56.209 8.304 32.381c-1.123-1.514-2.198-2.149-3.809-2.149-2.441 0-4.2 1.71-4.2 4.15 0 1.026.44 2.15 1.27 3.224l19.971 25.927c1.367 1.758 2.734 2.588 4.639 2.588Z"})]})}function sb(){return x.jsxs("svg",{width:"100%",height:"100%",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 82 82",children:[x.jsx("title",{children:"Copy"}),x.jsx("path",{fill:"currentColor",d:"M12.451 63.281h38.38c8.3 0 12.45-4.053 12.45-12.256v-38.77C63.281 4.054 59.131 0 50.831 0H12.45C4.101 0 0 4.053 0 12.256v38.77C0 59.227 4.102 63.28 12.451 63.28Zm.098-7.031c-3.516 0-5.518-1.904-5.518-5.615V12.647c0-3.711 2.002-5.616 5.518-5.616h38.183c3.516 0 5.518 1.905 5.518 5.615v37.989c0 3.71-2.002 5.615-5.518 5.615H12.55Z"}),x.jsx("path",{stroke:"currentColor",strokeWidth:"6.75px",d:"M69.385 78.266h-38.38c-3.679 0-5.782-.894-6.987-2.081-1.196-1.178-2.088-3.219-2.088-6.8v-38.77c0-3.581.892-5.622 2.088-6.8 1.205-1.187 3.308-2.08 6.988-2.08h38.379c3.65 0 5.758.89 6.973 2.084 1.203 1.182 2.103 3.225 2.103 6.796v38.77c0 3.57-.9 5.614-2.103 6.796-1.215 1.193-3.323 2.085-6.973 2.085Z"})]})}function cb({copy:e,copied:t}){return x.jsx("button",{className:ab,onClick:e,type:"button",children:t?x.jsx(ct,{label:"Copied",size:"14px",icon:lb}):x.jsx(ct,{label:"Copy",size:"18px",icon:sb})})}var ub="vocs_CodeBlock";function fb(e){return x.jsx("div",{...e,className:M(e.className,ub)})}function db(){return x.jsxs("svg",{width:"100%",height:"100%",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 94 99",fill:"none",children:[x.jsx("title",{children:"File"}),x.jsx("rect",{width:"77px",height:"89px",x:"8px",y:"3px",stroke:"currentColor",strokeWidth:"6px",rx:"7px"}),x.jsx("path",{stroke:"currentColor",strokeLinecap:"round",strokeWidth:"6px",d:"M25 22h43M25 35h43M25 48h22"})]})}function hb(){return x.jsxs("svg",{width:"100%",height:"100%",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 79 95",fill:"none",children:[x.jsx("title",{children:"Terminal"}),x.jsx("path",{fill:"currentColor",d:"M38.281 34.033c0-1.074-.39-2.05-1.22-2.88L6.885 1.171C6.152.39 5.175 0 4.053 0 1.758 0 0 1.709 0 4.004c0 1.074.488 2.1 1.172 2.88l27.295 27.15L1.172 61.181C.488 61.962 0 62.939 0 64.062c0 2.295 1.758 4.004 4.053 4.004 1.123 0 2.1-.39 2.832-1.172l30.176-29.98c.83-.83 1.22-1.807 1.22-2.88Z"}),x.jsx("path",{stroke:"currentColor",strokeLinecap:"round",strokeWidth:"8px",d:"M36 75h55"})]})}var pb="vocs_CodeTitle";function vb({children:e,className:t,language:n,...r}){return x.jsxs("div",{...r,className:M(t,pb),children:[n==="bash"?x.jsx(ct,{label:"Terminal",size:"14px",icon:hb,style:{marginTop:3}}):e.match(/\.(.*)$/)?x.jsx(ct,{label:"File",size:"14px",icon:db,style:{marginTop:1}}):null,e]})}var mb="vocs_Pre",gb="vocs_Pre_wrapper";function yb({children:e,className:t,...n}){const{copied:r,copy:o,ref:i}=ib();function a(u){return!u||typeof u!="object"?u:"props"in u?{...u,props:{...u.props,children:Array.isArray(u.props.children)?u.props.children.map(a):a(u.props.children)}}:u}const l=p.useMemo(()=>a(e),[e]);return(u=>t!=null&&t.includes("shiki")?x.jsxs(fb,{children:[n["data-title"]&&x.jsx(vb,{language:n["data-lang"],children:n["data-title"]}),u]}):u)(x.jsx("div",{className:M(gb),children:x.jsxs("pre",{ref:i,...n,className:M(t,mb),children:["data-language"in n&&x.jsx(cb,{copied:r,copy:o}),l]})}))}var wb="vocs_Footnotes";function xb(e){return x.jsx("section",{...e,className:M(e.className,wb)})}var iv="vocs_Section";function Cb(e){return"data-footnotes"in e?x.jsx(xb,{...e,className:M(e.className,iv)}):x.jsx("section",{...e,className:M(e.className,iv)})}var av="vocs_Span";function Qa(e,t){if(!e||!t)return!1;const n=t.getRootNode==null?void 0:t.getRootNode();if(e.contains(t))return!0;if(n&&$u(n)){let r=t;for(;r;){if(e===r)return!0;r=r.parentNode||r.host}}return!1}function Ou(e,t){const n=["mouse","pen"];return n.push("",void 0),n.includes(e)}function Na(e){return(e==null?void 0:e.ownerDocument)||document}function Eb(e){return"composedPath"in e?e.composedPath()[0]:e.target}const my={...Vu},_b=my.useInsertionEffect,Sb=_b||(e=>e());function Mu(e){const t=p.useRef(()=>{});return Sb(()=>{t.current=e}),p.useCallback(function(){for(var n=arguments.length,r=new Array(n),o=0;o"floating-ui-"+Math.random().toString(36).slice(2,6)+bb++;function $b(){const[e,t]=p.useState(()=>lv?sv():void 0);return $o(()=>{e==null&&t(sv())},[]),p.useEffect(()=>{lv=!0},[]),e}const Tb=my.useId,gy=Tb||$b,kb=p.forwardRef(function(t,n){const{context:{placement:r,elements:{floating:o},middlewareData:{arrow:i}},width:a=14,height:l=7,tipRadius:s=0,strokeWidth:u=0,staticOffset:f,stroke:c,d,style:{transform:h,...y}={},...v}=t,C=gy();if(!o)return null;const m=u*2,g=m/2,w=a/2*(s/-8+1),E=l/2*s/4,[S,$]=r.split("-"),_=C1.isRTL(o),b=!!d,k=S==="top"||S==="bottom",N=f&&$==="end"?"bottom":"top";let O=f&&$==="end"?"right":"left";f&&_&&(O=$==="end"?"left":"right");const D=(i==null?void 0:i.x)!=null?f||i.x:"",I=(i==null?void 0:i.y)!=null?f||i.y:"",R=d||"M0,0"+(" H"+a)+(" L"+(a-w)+","+(l-E))+(" Q"+a/2+","+l+" "+w+","+(l-E))+" Z",B={top:b?"rotate(180deg)":"",left:b?"rotate(90deg)":"rotate(-90deg)",bottom:b?"":"rotate(180deg)",right:b?"rotate(-90deg)":"rotate(90deg)"}[S];return p.createElement("svg",Du({},v,{"aria-hidden":!0,ref:n,width:b?a:a+m,height:a,viewBox:"0 0 "+a+" "+(l>a?l:a),style:{position:"absolute",pointerEvents:"none",[O]:D,[N]:I,[S]:k||b?"100%":"calc(100% - "+m/2+"px)",transform:""+B+(h??""),...y}}),m>0&&p.createElement("path",{clipPath:"url(#"+C+")",fill:"none",stroke:c,strokeWidth:m+(d?0:1),d:R}),p.createElement("path",{stroke:m&&!d?v.fill:"none",d:R}),p.createElement("clipPath",{id:C},p.createElement("rect",{x:-g,y:g*(b?-1:1),width:a+m,height:a})))});function Rb(){const e=new Map;return{emit(t,n){var r;(r=e.get(t))==null||r.forEach(o=>o(n))},on(t,n){e.set(t,[...e.get(t)||[],n])},off(t,n){var r;e.set(t,((r=e.get(t))==null?void 0:r.filter(o=>o!==n))||[])}}}const Pb=p.createContext(null),Nb=p.createContext(null),yy=()=>{var e;return((e=p.useContext(Pb))==null?void 0:e.id)||null},wy=()=>p.useContext(Nb);function Ab(e){return"data-floating-ui-"+e}function cv(e){const t=p.useRef(e);return $o(()=>{t.current=e}),t}const uv=Ab("safe-polygon");function ic(e,t,n){return n&&!Ou(n)?0:typeof e=="number"?e:e==null?void 0:e[t]}function Lb(e,t){t===void 0&&(t={});const{open:n,onOpenChange:r,dataRef:o,events:i,elements:{domReference:a,floating:l}}=e,{enabled:s=!0,delay:u=0,handleClose:f=null,mouseOnly:c=!1,restMs:d=0,move:h=!0}=t,y=wy(),v=yy(),C=cv(f),m=cv(u),g=p.useRef(),w=p.useRef(-1),E=p.useRef(),S=p.useRef(-1),$=p.useRef(!0),_=p.useRef(!1),b=p.useRef(()=>{}),k=p.useCallback(()=>{var I;const R=(I=o.current.openEvent)==null?void 0:I.type;return(R==null?void 0:R.includes("mouse"))&&R!=="mousedown"},[o]);p.useEffect(()=>{if(!s)return;function I(R){let{open:B}=R;B||(clearTimeout(w.current),clearTimeout(S.current),$.current=!0)}return i.on("openchange",I),()=>{i.off("openchange",I)}},[s,i]),p.useEffect(()=>{if(!s||!C.current||!n)return;function I(B){k()&&r(!1,B,"hover")}const R=Na(l).documentElement;return R.addEventListener("mouseleave",I),()=>{R.removeEventListener("mouseleave",I)}},[l,n,r,s,C,k]);const N=p.useCallback(function(I,R,B){R===void 0&&(R=!0),B===void 0&&(B="hover");const G=ic(m.current,"close",g.current);G&&!E.current?(clearTimeout(w.current),w.current=window.setTimeout(()=>r(!1,I,B),G)):R&&(clearTimeout(w.current),r(!1,I,B))},[m,r]),O=Mu(()=>{b.current(),E.current=void 0}),D=Mu(()=>{if(_.current){const I=Na(l).body;I.style.pointerEvents="",I.removeAttribute(uv),_.current=!1}});return p.useEffect(()=>{if(!s)return;function I(){return o.current.openEvent?["click","mousedown"].includes(o.current.openEvent.type):!1}function R(z){if(clearTimeout(w.current),$.current=!1,c&&!Ou(g.current)||d>0&&!ic(m.current,"open"))return;const L=ic(m.current,"open",g.current);L?w.current=window.setTimeout(()=>{r(!0,z,"hover")},L):r(!0,z,"hover")}function B(z){if(I())return;b.current();const L=Na(l);if(clearTimeout(S.current),C.current&&o.current.floatingContext){n||clearTimeout(w.current),E.current=C.current({...o.current.floatingContext,tree:y,x:z.clientX,y:z.clientY,onClose(){D(),O(),N(z,!0,"safe-polygon")}});const K=E.current;L.addEventListener("mousemove",K),b.current=()=>{L.removeEventListener("mousemove",K)};return}(g.current==="touch"?!Qa(l,z.relatedTarget):!0)&&N(z)}function G(z){I()||o.current.floatingContext&&(C.current==null||C.current({...o.current.floatingContext,tree:y,x:z.clientX,y:z.clientY,onClose(){D(),O(),N(z)}})(z))}if(Je(a)){const z=a;return n&&z.addEventListener("mouseleave",G),l==null||l.addEventListener("mouseleave",G),h&&z.addEventListener("mousemove",R,{once:!0}),z.addEventListener("mouseenter",R),z.addEventListener("mouseleave",B),()=>{n&&z.removeEventListener("mouseleave",G),l==null||l.removeEventListener("mouseleave",G),h&&z.removeEventListener("mousemove",R),z.removeEventListener("mouseenter",R),z.removeEventListener("mouseleave",B)}}},[a,l,s,e,c,d,h,N,O,D,r,n,y,m,C,o]),$o(()=>{var I;if(s&&n&&(I=C.current)!=null&&I.__options.blockPointerEvents&&k()){const B=Na(l).body;if(B.setAttribute(uv,""),B.style.pointerEvents="none",_.current=!0,Je(a)&&l){var R;const G=a,z=y==null||(R=y.nodesRef.current.find(L=>L.id===v))==null||(R=R.context)==null?void 0:R.elements.floating;return z&&(z.style.pointerEvents=""),G.style.pointerEvents="auto",l.style.pointerEvents="auto",()=>{G.style.pointerEvents="",l.style.pointerEvents=""}}}},[s,n,v,l,a,y,C,k]),$o(()=>{n||(g.current=void 0,O(),D())},[n,O,D]),p.useEffect(()=>()=>{O(),clearTimeout(w.current),clearTimeout(S.current),D()},[s,a,O,D]),p.useMemo(()=>{if(!s)return{};function I(R){g.current=R.pointerType}return{reference:{onPointerDown:I,onPointerEnter:I,onMouseMove(R){function B(){$.current||r(!0,R.nativeEvent,"hover")}c&&!Ou(g.current)||n||d===0||(clearTimeout(S.current),g.current==="touch"?B():S.current=window.setTimeout(B,d))}},floating:{onMouseEnter(){clearTimeout(w.current)},onMouseLeave(R){N(R.nativeEvent,!1)}}}},[s,c,n,d,r,N])}function Ib(e,t){let n=e.filter(o=>{var i;return o.parentId===t&&((i=o.context)==null?void 0:i.open)}),r=n;for(;r.length;)r=e.filter(o=>{var i;return(i=r)==null?void 0:i.some(a=>{var l;return o.parentId===a.id&&((l=o.context)==null?void 0:l.open)})}),n=n.concat(r);return n}function Ob(e){const{open:t=!1,onOpenChange:n,elements:r}=e,o=gy(),i=p.useRef({}),[a]=p.useState(()=>Rb()),l=yy()!=null,[s,u]=p.useState(r.reference),f=Mu((h,y,v)=>{i.current.openEvent=h?y:void 0,a.emit("openchange",{open:h,event:y,reason:v,nested:l}),n==null||n(h,y,v)}),c=p.useMemo(()=>({setPositionReference:u}),[]),d=p.useMemo(()=>({reference:s||r.reference||null,floating:r.floating||null,domReference:r.reference}),[s,r.reference,r.floating]);return p.useMemo(()=>({dataRef:i,open:t,onOpenChange:f,elements:d,events:a,floatingId:o,refs:c}),[t,f,d,a,o,c])}function Mb(e){e===void 0&&(e={});const{nodeId:t}=e,n=Ob({...e,elements:{reference:null,floating:null,...e.elements}}),r=e.rootContext||n,o=r.elements,[i,a]=p.useState(null),[l,s]=p.useState(null),f=(o==null?void 0:o.reference)||i,c=p.useRef(null),d=wy();$o(()=>{f&&(c.current=f)},[f]);const h=$1({...e,elements:{...o,...l&&{reference:l}}}),y=p.useCallback(w=>{const E=Je(w)?{getBoundingClientRect:()=>w.getBoundingClientRect(),contextElement:w}:w;s(E),h.refs.setReference(E)},[h.refs]),v=p.useCallback(w=>{(Je(w)||w===null)&&(c.current=w,a(w)),(Je(h.refs.reference.current)||h.refs.reference.current===null||w!==null&&!Je(w))&&h.refs.setReference(w)},[h.refs]),C=p.useMemo(()=>({...h.refs,setReference:v,setPositionReference:y,domReference:c}),[h.refs,v,y]),m=p.useMemo(()=>({...h.elements,domReference:f}),[h.elements,f]),g=p.useMemo(()=>({...h,...r,refs:C,elements:m,nodeId:t}),[h,C,m,t,r]);return $o(()=>{r.dataRef.current.floatingContext=g;const w=d==null?void 0:d.nodesRef.current.find(E=>E.id===t);w&&(w.context=g)}),p.useMemo(()=>({...h,context:g,refs:C,elements:m}),[h,C,m,g])}const fv="active",dv="selected";function ac(e,t,n){const r=new Map,o=n==="item";let i=e;if(o&&e){const{[fv]:a,[dv]:l,...s}=e;i=s}return{...n==="floating"&&{tabIndex:-1},...i,...t.map(a=>{const l=a?a[n]:null;return typeof l=="function"?e?l(e):null:l}).concat(e).reduce((a,l)=>(l&&Object.entries(l).forEach(s=>{let[u,f]=s;if(!(o&&[fv,dv].includes(u)))if(u.indexOf("on")===0){if(r.has(u)||r.set(u,[]),typeof f=="function"){var c;(c=r.get(u))==null||c.push(f),a[u]=function(){for(var d,h=arguments.length,y=new Array(h),v=0;vC(...y)).find(C=>C!==void 0)}}}else a[u]=f}),a),{})}}function Db(e){e===void 0&&(e=[]);const t=e,n=p.useCallback(i=>ac(i,e,"reference"),t),r=p.useCallback(i=>ac(i,e,"floating"),t),o=p.useCallback(i=>ac(i,e,"item"),e.map(i=>i==null?void 0:i.item));return p.useMemo(()=>({getReferenceProps:n,getFloatingProps:r,getItemProps:o}),[n,r,o])}function hv(e,t){const[n,r]=e;let o=!1;const i=t.length;for(let a=0,l=i-1;a=r!=c>=r&&n<=(f-s)*(r-u)/(c-u)+s&&(o=!o)}return o}function jb(e,t){return e[0]>=t.x&&e[0]<=t.x+t.width&&e[1]>=t.y&&e[1]<=t.y+t.height}function Fb(e){e===void 0&&(e={});const{buffer:t=.5,blockPointerEvents:n=!1,requireIntent:r=!0}=e;let o,i=!1,a=null,l=null,s=performance.now();function u(c,d){const h=performance.now(),y=h-s;if(a===null||l===null||y===0)return a=c,l=d,s=h,null;const v=c-a,C=d-l,g=Math.sqrt(v*v+C*C)/y;return a=c,l=d,s=h,g}const f=c=>{let{x:d,y:h,placement:y,elements:v,onClose:C,nodeId:m,tree:g}=c;return function(E){function S(){clearTimeout(o),C()}if(clearTimeout(o),!v.domReference||!v.floating||y==null||d==null||h==null)return;const{clientX:$,clientY:_}=E,b=[$,_],k=Eb(E),N=E.type==="mouseleave",O=Qa(v.floating,k),D=Qa(v.domReference,k),I=v.domReference.getBoundingClientRect(),R=v.floating.getBoundingClientRect(),B=y.split("-")[0],G=d>R.right-R.width/2,z=h>R.bottom-R.height/2,L=jb(b,I),U=R.width>I.width,K=R.height>I.height,oe=(U?I:R).left,ae=(U?I:R).right,Fe=(K?I:R).top,Me=(K?I:R).bottom;if(O&&(i=!0,!N))return;if(D&&(i=!1),D&&!N){i=!0;return}if(N&&Je(E.relatedTarget)&&Qa(v.floating,E.relatedTarget)||g&&Ib(g.nodesRef.current,m).some(Pe=>{let{context:de}=Pe;return de==null?void 0:de.open}))return;if(B==="top"&&h>=I.bottom-1||B==="bottom"&&h<=I.top+1||B==="left"&&d>=I.right-1||B==="right"&&d<=I.left+1)return S();let ge=[];switch(B){case"top":ge=[[oe,I.top+1],[oe,R.bottom-1],[ae,R.bottom-1],[ae,I.top+1]];break;case"bottom":ge=[[oe,R.top+1],[oe,I.bottom-1],[ae,I.bottom-1],[ae,R.top+1]];break;case"left":ge=[[R.right-1,Me],[R.right-1,Fe],[I.left+1,Fe],[I.left+1,Me]];break;case"right":ge=[[I.right-1,Me],[I.right-1,Fe],[R.left+1,Fe],[R.left+1,Me]];break}function ye(Pe){let[de,Se]=Pe;switch(B){case"top":{const Ot=[U?de+t/2:G?de+t*4:de-t*4,Se+t+1],Mt=[U?de-t/2:G?de+t*4:de-t*4,Se+t+1],Ne=[[R.left,G||U?R.bottom-t:R.top],[R.right,G?U?R.bottom-t:R.top:R.bottom-t]];return[Ot,Mt,...Ne]}case"bottom":{const Ot=[U?de+t/2:G?de+t*4:de-t*4,Se-t],Mt=[U?de-t/2:G?de+t*4:de-t*4,Se-t],Ne=[[R.left,G||U?R.top+t:R.bottom],[R.right,G?U?R.top+t:R.bottom:R.top+t]];return[Ot,Mt,...Ne]}case"left":{const Ot=[de+t+1,K?Se+t/2:z?Se+t*4:Se-t*4],Mt=[de+t+1,K?Se-t/2:z?Se+t*4:Se-t*4];return[...[[z||K?R.right-t:R.left,R.top],[z?K?R.right-t:R.left:R.right-t,R.bottom]],Ot,Mt]}case"right":{const Ot=[de-t,K?Se+t/2:z?Se+t*4:Se-t*4],Mt=[de-t,K?Se-t/2:z?Se+t*4:Se-t*4],Ne=[[z||K?R.left+t:R.right,R.top],[z?K?R.left+t:R.right:R.left+t,R.bottom]];return[Ot,Mt,...Ne]}}}if(!hv([$,_],ge)){if(i&&!L)return S();if(!N&&r){const Pe=u(E.clientX,E.clientY);if(Pe!==null&&Pe<.1)return S()}hv([$,_],ye([d,h]))?!i&&r&&(o=window.setTimeout(S,40)):S()}}};return f.__options={blockPointerEvents:n},f}function zb({children:e,...t}){const[n,r]=e,o=p.useRef(null),[i,a]=p.useState(!1),{context:l,refs:s,floatingStyles:u}=Mb({middleware:[S1({element:o}),E1(8),_1()],open:i,onOpenChange:a,placement:"bottom-start"}),f=Lb(l,{handleClose:Fb()}),{getReferenceProps:c,getFloatingProps:d}=Db([f]),h=r.props.children,y=n.props.children;return x.jsxs("span",{...t,children:[x.jsx("span",{className:"twoslash-target",ref:s.setReference,...c(),children:h}),i&&x.jsxs("div",{className:"twoslash-popup-info-hover",ref:s.setFloating,style:u,...d(),children:[x.jsx(kb,{ref:o,context:l,fill:ip.background5,height:3,stroke:ip.border2,strokeWidth:1,width:7}),x.jsx("div",{className:"twoslash-popup-scroll-container",children:y})]})]})}function Bb(e){var n;const t=M(e.className,av);return(n=e.className)!=null&&n.includes("twoslash-hover")?x.jsx(zb,{...e,className:t}):x.jsx("span",{...e,className:M(e.className,av)})}var Ub="vocs_CalloutTitle";function Hb({className:e,children:t}){return x.jsx("strong",{className:M(e,Ub),children:t})}var pv="vocs_Strong";function Vb(e){return"data-callout-title"in e&&typeof e.children=="string"?x.jsx(Hb,{...e,className:M(e.className,pv),children:e.children}):x.jsx("strong",{...e,className:M(e.className,pv)})}var Wb="vocs_Summary";function Kb(e){return x.jsx("summary",{...e,className:M(e.className,Wb)})}var Yb="vocs_Table";function Gb(e){return x.jsx("table",{...e,className:M(e.className,Yb)})}var Qb="vocs_TableCell";function Zb(e){return x.jsx("td",{...e,className:M(e.className,Qb)})}var Xb="vocs_TableHeader";function Jb(e){return x.jsx("th",{...e,className:M(e.className,Xb)})}var qb="vocs_TableRow";function e$(e){return x.jsx("tr",{...e,className:M(e.className,qb)})}const t$={a:aS,aside:mS,blockquote:yS,code:xS,details:_S,div:W9,pre:yb,header:X9,figcaption:Y9,figure:Q9,h1:J0,h2:fy,h3:dy,h4:hy,h5:py,h6:vy,hr:q9,kd:Ig,li:ob,ol:e=>x.jsx(ov,{ordered:!0,...e}),p:q0,section:Cb,span:Bb,strong:Vb,summary:Kb,table:Gb,td:Zb,th:Jb,tr:e$,ul:e=>x.jsx(ov,{ordered:!1,...e})};function n$(){const{pathname:e}=Oe(),t=Ke(),{ogImageUrl:n}=t;if(!n)return;if(typeof n=="string")return n;const r=p.useMemo(()=>{const o=Object.keys(n).filter(i=>e.startsWith(i));return o[o.length-1]},[n,e]);if(r)return n[r]}function ju(e){const{children:t,filePath:n,frontmatter:r,lastUpdatedAt:o,path:i}=e,{pathname:a}=Oe(),l=p.useRef();return p.useEffect(()=>{l.current=a}),x.jsxs(x.Fragment,{children:[x.jsx(r$,{frontmatter:r}),typeof window<"u"&&x.jsx(Rx,{}),x.jsx(c_,{components:t$,children:x.jsx(V7,{frontmatter:r,path:i,children:x.jsx(ng.Provider,{value:{filePath:n,frontmatter:r,lastUpdatedAt:o,previousPath:l.current},children:t})})})]})}function r$({frontmatter:e}){var c,d,h,y,v,C;const t=Ke(),n=n$(),{baseUrl:r,font:o,iconUrl:i,logoUrl:a}=t,l=(e==null?void 0:e.title)??t.title,s=(e==null?void 0:e.description)??t.description,u=t.title&&!l.includes(t.title),f=typeof window<"u"&&window.location.hostname==="localhost";return x.jsxs(Lu,{defaultTitle:t.title,titleTemplate:u?t.titleTemplate:void 0,children:[l&&x.jsx("title",{children:l}),r&&!0&&!f&&x.jsx("base",{href:r}),s!=="undefined"&&x.jsx("meta",{name:"description",content:s}),i&&typeof i=="string"&&x.jsx("link",{rel:"icon",href:i,type:lc(i)}),i&&typeof i!="string"&&x.jsx("link",{rel:"icon",href:i.light,type:lc(i.light)}),i&&typeof i!="string"&&x.jsx("link",{rel:"icon",href:i.dark,type:lc(i.dark),media:"(prefers-color-scheme: dark)"}),x.jsx("meta",{property:"og:type",content:"website"}),x.jsx("meta",{property:"og:title",content:l||t.title}),r&&x.jsx("meta",{property:"og:url",content:r}),s!=="undefined"&&x.jsx("meta",{property:"og:description",content:s}),n&&x.jsx("meta",{property:"og:image",content:n.replace("%logo",`${r||""}${typeof a=="string"?a:(a==null?void 0:a.dark)||""}`).replace("%title",l||"").replace("%description",(s!=="undefined"?s:"")||"")}),(((c=o==null?void 0:o.default)==null?void 0:c.google)||((d=o==null?void 0:o.mono)==null?void 0:d.google))&&x.jsx("link",{rel:"preconnect",href:"https://fonts.googleapis.com"}),(((h=o==null?void 0:o.default)==null?void 0:h.google)||((y=o==null?void 0:o.mono)==null?void 0:y.google))&&x.jsx("link",{rel:"preconnect",href:"https://fonts.gstatic.com",crossOrigin:""}),((v=o==null?void 0:o.default)==null?void 0:v.google)&&x.jsx("link",{href:`https://fonts.googleapis.com/css2?family=${o.default.google}:wght@300;400;500&display=swap`,rel:"stylesheet"}),((C=o==null?void 0:o.mono)==null?void 0:C.google)&&x.jsx("link",{href:`https://fonts.googleapis.com/css2?family=${o.mono.google}:wght@300;400;500&display=swap`,rel:"stylesheet"}),x.jsx("meta",{name:"twitter:card",content:"summary_large_image"}),n&&x.jsx("meta",{property:"twitter:image",content:n.replace("%logo",`${r||""}${typeof a=="string"?a:(a==null?void 0:a.dark)||""}`).replace("%title",l||"").replace("%description",(s!=="undefined"?s:"")||"")})]})}function lc(e){if(e.endsWith(".svg"))return"image/svg+xml";if(e.endsWith(".png"))return"image/png";if(e.endsWith(".jpg"))return"image/jpeg";if(e.endsWith(".ico"))return"image/x-icon";if(e.endsWith(".webp"))return"image/webp"}const o$=(()=>{const e=Kf.find(({path:t})=>t==="*");return e?{path:e.path,lazy:async()=>{const{frontmatter:t,...n}=await e.lazy();return{...n,element:x.jsx(ju,{frontmatter:t,path:e.path,children:x.jsx(ku,{children:x.jsx(n.default,{})})})}}}:{path:"*",lazy:void 0,element:x.jsx(ju,{frontmatter:{layout:"minimal"},path:"*",children:x.jsx(ku,{children:x.jsx(qx,{})})})}})(),vv=[...Kf.filter(({path:e})=>e!=="*").map(e=>({path:e.path,lazy:async()=>{const{frontmatter:t,...n}=await e.lazy();return{...n,element:x.jsx(ju,{filePath:e.filePath,frontmatter:t,lastUpdatedAt:e.lastUpdatedAt,path:e.path,children:x.jsx(ku,{children:x.jsx(n.default,{})})})}}})),o$];async function i$(e,t){var r;const n=(r=dr(e,window.location,t))==null?void 0:r.filter(o=>o.route.lazy);n&&(n==null?void 0:n.length)>0&&await Promise.all(n.map(async o=>{const i=await o.route.lazy();Object.assign(o.route,{...i,lazy:void 0})}))}function a$(){const e=document.querySelectorAll('style[data-vocs-temp-style="true"]');for(const t of e)t.remove()}l$();async function l$(){const e=Y0().basePath;await i$(vv,e),a$();const t=mx(vv,{basename:e});R0(document.getElementById("app"),x.jsx(Dx,{children:x.jsx(bx,{router:t})}))}export{g9 as $,k9 as C,on as L,b9 as R,T9 as T,y9 as a,w9 as b,x9 as c,M as d,Ke as e,G6 as f,$9 as g,x as j,s_ as u}; diff --git a/assets/providers-Cv3d4kKp.js b/assets/providers-BU4ragnR.js similarity index 99% rename from assets/providers-Cv3d4kKp.js rename to assets/providers-BU4ragnR.js index 1f84267e..9e35bf68 100644 --- a/assets/providers-Cv3d4kKp.js +++ b/assets/providers-BU4ragnR.js @@ -1,4 +1,4 @@ -import{u as l,j as s}from"./index-CnhgBks4.js";const o={title:"Providers",description:"undefined"};function r(i){const e={a:"a",code:"code",div:"div",h1:"h1",h2:"h2",header:"header",li:"li",p:"p",pre:"pre",span:"span",ul:"ul",...l(),...i.components};return s.jsxs(s.Fragment,{children:[s.jsx(e.header,{children:s.jsxs(e.h1,{id:"providers",children:["Providers",s.jsx(e.a,{"aria-hidden":"true",tabIndex:"-1",href:"#providers",children:s.jsx(e.div,{"data-autolink-icon":!0})})]})}),` +import{u as l,j as s}from"./index-DBGcajzP.js";const o={title:"Providers",description:"undefined"};function r(i){const e={a:"a",code:"code",div:"div",h1:"h1",h2:"h2",header:"header",li:"li",p:"p",pre:"pre",span:"span",ul:"ul",...l(),...i.components};return s.jsxs(s.Fragment,{children:[s.jsx(e.header,{children:s.jsxs(e.h1,{id:"providers",children:["Providers",s.jsx(e.a,{"aria-hidden":"true",tabIndex:"-1",href:"#providers",children:s.jsx(e.div,{"data-autolink-icon":!0})})]})}),` `,s.jsxs(e.p,{children:["The entry point of Polkadot-API, ",s.jsx(e.code,{children:"createClient(provider)"})," requires one ",s.jsx(e.code,{children:"JsonRpcProvider"}),", which lets Polkadot-API communicate with a node. It's a function with the following shape:"]}),` `,s.jsx(e.pre,{className:"shiki shiki-themes github-light github-dark-dimmed",style:{backgroundColor:"#fff","--shiki-dark-bg":"#22272e",color:"#24292e","--shiki-dark":"#adbac7"},tabIndex:"0",children:s.jsxs(e.code,{children:[s.jsxs(e.span,{className:"line",children:[s.jsx(e.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:"interface"}),s.jsx(e.span,{style:{color:"#6F42C1","--shiki-dark":"#F69D50"},children:" JsonRpcProvider"}),s.jsx(e.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:" {"})]}),` `,s.jsxs(e.span,{className:"line",children:[s.jsx(e.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:" ("}),s.jsx(e.span,{style:{color:"#6F42C1","--shiki-dark":"#DCBDFB"},children:"onMessage"}),s.jsx(e.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:":"}),s.jsx(e.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:" ("}),s.jsx(e.span,{style:{color:"#E36209","--shiki-dark":"#F69D50"},children:"message"}),s.jsx(e.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:":"}),s.jsx(e.span,{style:{color:"#005CC5","--shiki-dark":"#6CB6FF"},children:" string"}),s.jsx(e.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:") "}),s.jsx(e.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:"=>"}),s.jsx(e.span,{style:{color:"#005CC5","--shiki-dark":"#6CB6FF"},children:" void"}),s.jsx(e.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:") "}),s.jsx(e.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:"=>"}),s.jsx(e.span,{style:{color:"#6F42C1","--shiki-dark":"#F69D50"},children:" JsonRpcConnection"}),s.jsx(e.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:";"})]}),` diff --git a/assets/queries-CbKGZF_c.js b/assets/queries-BulcR9Vi.js similarity index 99% rename from assets/queries-CbKGZF_c.js rename to assets/queries-BulcR9Vi.js index aceae648..f28da2dd 100644 --- a/assets/queries-CbKGZF_c.js +++ b/assets/queries-BulcR9Vi.js @@ -1,4 +1,4 @@ -import{u as l,j as s}from"./index-CnhgBks4.js";const n={title:"Storage queries",description:"undefined"};function r(i){const e={a:"a",code:"code",div:"div",h1:"h1",h2:"h2",header:"header",p:"p",pre:"pre",span:"span",...l(),...i.components};return s.jsxs(s.Fragment,{children:[s.jsx(e.header,{children:s.jsxs(e.h1,{id:"storage-queries",children:["Storage queries",s.jsx(e.a,{"aria-hidden":"true",tabIndex:"-1",href:"#storage-queries",children:s.jsx(e.div,{"data-autolink-icon":!0})})]})}),` +import{u as l,j as s}from"./index-DBGcajzP.js";const n={title:"Storage queries",description:"undefined"};function r(i){const e={a:"a",code:"code",div:"div",h1:"h1",h2:"h2",header:"header",p:"p",pre:"pre",span:"span",...l(),...i.components};return s.jsxs(s.Fragment,{children:[s.jsx(e.header,{children:s.jsxs(e.h1,{id:"storage-queries",children:["Storage queries",s.jsx(e.a,{"aria-hidden":"true",tabIndex:"-1",href:"#storage-queries",children:s.jsx(e.div,{"data-autolink-icon":!0})})]})}),` `,s.jsxs(e.p,{children:["For ",s.jsx(e.code,{children:"query"})," we have mainly two different situations. There're two kinds of storage entries: entries with and without keys."]}),` `,s.jsxs(e.h2,{id:"entries-without-keys",children:["Entries without keys",s.jsx(e.a,{"aria-hidden":"true",tabIndex:"-1",href:"#entries-without-keys",children:s.jsx(e.div,{"data-autolink-icon":!0})})]}),` `,s.jsxs(e.p,{children:["For example, ",s.jsx(e.code,{children:"System.Number"})," query (it returns the block number) has no keys to index it with. Therefore, under ",s.jsx(e.code,{children:"typedApi.System.Number"})," we have the following structure:"]}),` diff --git a/assets/signers-oNd0Cq5s.js b/assets/signers-CeGt6-FV.js similarity index 99% rename from assets/signers-oNd0Cq5s.js rename to assets/signers-CeGt6-FV.js index 1e744a82..f9643787 100644 --- a/assets/signers-oNd0Cq5s.js +++ b/assets/signers-CeGt6-FV.js @@ -1,4 +1,4 @@ -import{u as r,j as s}from"./index-CnhgBks4.js";const a={title:"Signers",description:"undefined"};function n(e){const i={a:"a",code:"code",div:"div",h1:"h1",h2:"h2",header:"header",p:"p",pre:"pre",span:"span",...r(),...e.components};return s.jsxs(s.Fragment,{children:[s.jsx(i.header,{children:s.jsxs(i.h1,{id:"signers",children:["Signers",s.jsx(i.a,{"aria-hidden":"true",tabIndex:"-1",href:"#signers",children:s.jsx(i.div,{"data-autolink-icon":!0})})]})}),` +import{u as r,j as s}from"./index-DBGcajzP.js";const a={title:"Signers",description:"undefined"};function n(e){const i={a:"a",code:"code",div:"div",h1:"h1",h2:"h2",header:"header",p:"p",pre:"pre",span:"span",...r(),...e.components};return s.jsxs(s.Fragment,{children:[s.jsx(i.header,{children:s.jsxs(i.h1,{id:"signers",children:["Signers",s.jsx(i.a,{"aria-hidden":"true",tabIndex:"-1",href:"#signers",children:s.jsx(i.div,{"data-autolink-icon":!0})})]})}),` `,s.jsx(i.p,{children:"For transactions, the generated descriptors and its corresponding typed API are needed to create the transaction extrinsics, but for these transactions to be signed, we also need a signer, which is the responsible of taking it the call data and signing it."}),` `,s.jsx(i.p,{children:"Every method on Polkadot-API that needs to sign something, takes in a signer with the following interface:"}),` `,s.jsx(i.pre,{className:"shiki shiki-themes github-light github-dark-dimmed",style:{backgroundColor:"#fff","--shiki-dark-bg":"#22272e",color:"#24292e","--shiki-dark":"#adbac7"},tabIndex:"0",children:s.jsxs(i.code,{children:[s.jsxs(i.span,{className:"line",children:[s.jsx(i.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:"interface"}),s.jsx(i.span,{style:{color:"#6F42C1","--shiki-dark":"#F69D50"},children:" PolkadotSigner"}),s.jsx(i.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:" {"})]}),` diff --git a/assets/style-DiADXQLC.css b/assets/style-DiADXQLC.css deleted file mode 100644 index 2e93f45e..00000000 --- a/assets/style-DiADXQLC.css +++ /dev/null @@ -1 +0,0 @@ -@layer vocs_preflight;:root{--vocs-color_white: rgba(255 255 255 / 100%);--vocs-color_black: rgba(0 0 0 / 100%);--vocs-color_background: rgba(255 255 255 / 100%);--vocs-color_background2: #f9f9f9;--vocs-color_background3: #f6f6f6;--vocs-color_background4: #f0f0f0;--vocs-color_background5: #e8e8e8;--vocs-color_backgroundAccent: #5b5bd6;--vocs-color_backgroundAccentHover: #5151cd;--vocs-color_backgroundAccentText: rgba(255 255 255 / 100%);--vocs-color_backgroundBlueTint: #008cff0b;--vocs-color_backgroundDark: #f9f9f9;--vocs-color_backgroundGreenTint: #00a32f0b;--vocs-color_backgroundGreenTint2: #00a43319;--vocs-color_backgroundIrisTint: #0000ff07;--vocs-color_backgroundRedTint: #ff000008;--vocs-color_backgroundRedTint2: #f3000d14;--vocs-color_backgroundYellowTint: #f4dd0016;--vocs-color_border: #ececec;--vocs-color_border2: #cecece;--vocs-color_borderAccent: #5753c6;--vocs-color_borderBlue: #009eff2a;--vocs-color_borderGreen: #019c393b;--vocs-color_borderIris: #dadcff;--vocs-color_borderRed: #ff000824;--vocs-color_borderYellow: #ffd5008f;--vocs-color_heading: #202020;--vocs-color_inverted: rgba(0 0 0 / 100%);--vocs-color_shadow: #0000000f;--vocs-color_shadow2: #00000006;--vocs-color_text: #4c4c4c;--vocs-color_text2: #646464;--vocs-color_text3: #838383;--vocs-color_text4: #bbbbbb;--vocs-color_textAccent: #5753c6;--vocs-color_textAccentHover: #272962;--vocs-color_textBlue: #0d74ce;--vocs-color_textBlueHover: #113264;--vocs-color_textGreen: #218358;--vocs-color_textGreenHover: #193b2d;--vocs-color_textIris: #5753c6;--vocs-color_textIrisHover: #272962;--vocs-color_textRed: #ce2c31;--vocs-color_textRedHover: #641723;--vocs-color_textYellow: #9e6c00;--vocs-color_textYellowHover: #473b1f;--vocs-color_title: #202020}:root.dark{--vocs-color_white: rgba(255 255 255 / 100%);--vocs-color_black: rgba(0 0 0 / 100%);--vocs-color_background: #232225;--vocs-color_background2: #2b292d;--vocs-color_background3: #2e2c31;--vocs-color_background4: #323035;--vocs-color_background5: #3c393f;--vocs-color_backgroundAccent: #5b5bd6;--vocs-color_backgroundAccentHover: #5753c6;--vocs-color_backgroundAccentText: rgba(255 255 255 / 100%);--vocs-color_backgroundBlueTint: #008ff519;--vocs-color_backgroundDark: #1e1d1f;--vocs-color_backgroundGreenTint: #00a43319;--vocs-color_backgroundGreenTint2: #00a83829;--vocs-color_backgroundIrisTint: #000bff19;--vocs-color_backgroundRedTint: #f3000d14;--vocs-color_backgroundRedTint2: #ff000824;--vocs-color_backgroundYellowTint: #f4dd0016;--vocs-color_border: #3c393f;--vocs-color_border2: #6f6d78;--vocs-color_borderAccent: #6e6ade;--vocs-color_borderBlue: #009eff2a;--vocs-color_borderGreen: #019c393b;--vocs-color_borderIris: #303374;--vocs-color_borderRed: #ff000824;--vocs-color_borderYellow: #f4dd0016;--vocs-color_heading: #e9e9ea;--vocs-color_inverted: rgba(255 255 255 / 100%);--vocs-color_shadow: #00000000;--vocs-color_shadow2: rgba(0, 0, 0, .05);--vocs-color_text: #cfcfcf;--vocs-color_text2: #bdbdbe;--vocs-color_text3: #a7a7a8;--vocs-color_text4: #656567;--vocs-color_textAccent: #b1a9ff;--vocs-color_textAccentHover: #6e6ade;--vocs-color_textBlue: #70b8ff;--vocs-color_textBlueHover: #3b9eff;--vocs-color_textGreen: #3dd68c;--vocs-color_textGreenHover: #33b074;--vocs-color_textIris: #b1a9ff;--vocs-color_textIrisHover: #6e6ade;--vocs-color_textRed: #ff9592;--vocs-color_textRedHover: #ec5d5e;--vocs-color_textYellow: #f5e147;--vocs-color_textYellowHover: #e2a336;--vocs-color_title: rgba(255 255 255 / 100%)}:root{--vocs-color_blockquoteBorder: var(--vocs-color_border);--vocs-color_blockquoteText: var(--vocs-color_text3);--vocs-color_dangerBackground: var(--vocs-color_backgroundRedTint);--vocs-color_dangerBorder: var(--vocs-color_borderRed);--vocs-color_dangerText: var(--vocs-color_textRed);--vocs-color_dangerTextHover: var(--vocs-color_textRedHover);--vocs-color_infoBackground: var(--vocs-color_backgroundBlueTint);--vocs-color_infoBorder: var(--vocs-color_borderBlue);--vocs-color_infoText: var(--vocs-color_textBlue);--vocs-color_infoTextHover: var(--vocs-color_textBlueHover);--vocs-color_noteBackground: var(--vocs-color_background2);--vocs-color_noteBorder: var(--vocs-color_border);--vocs-color_noteText: var(--vocs-color_text2);--vocs-color_successBackground: var(--vocs-color_backgroundGreenTint);--vocs-color_successBorder: var(--vocs-color_borderGreen);--vocs-color_successText: var(--vocs-color_textGreen);--vocs-color_successTextHover: var(--vocs-color_textGreenHover);--vocs-color_tipBackground: var(--vocs-color_backgroundIrisTint);--vocs-color_tipBorder: var(--vocs-color_borderIris);--vocs-color_tipText: var(--vocs-color_textIris);--vocs-color_tipTextHover: var(--vocs-color_textIrisHover);--vocs-color_warningBackground: var(--vocs-color_backgroundYellowTint);--vocs-color_warningBorder: var(--vocs-color_borderYellow);--vocs-color_warningText: var(--vocs-color_textYellow);--vocs-color_warningTextHover: var(--vocs-color_textYellowHover);--vocs-color_codeBlockBackground: var(--vocs-color_background2);--vocs-color_codeCharacterHighlightBackground: var(--vocs-color_background5);--vocs-color_codeHighlightBackground: var(--vocs-color_background4);--vocs-color_codeHighlightBorder: var(--vocs-color_border2);--vocs-color_codeInlineBackground: var(--vocs-color_background4);--vocs-color_codeInlineBorder: var(--vocs-color_border);--vocs-color_codeInlineText: var(--vocs-color_textAccent);--vocs-color_codeTitleBackground: var(--vocs-color_background4);--vocs-color_lineNumber: var(--vocs-color_text4);--vocs-color_hr: var(--vocs-color_border);--vocs-color_link: var(--vocs-color_textAccent);--vocs-color_linkHover: var(--vocs-color_textAccentHover);--vocs-color_searchHighlightBackground: var(--vocs-color_borderAccent);--vocs-color_searchHighlightText: var(--vocs-color_background);--vocs-color_tableBorder: var(--vocs-color_border);--vocs-color_tableHeaderBackground: var(--vocs-color_background2);--vocs-color_tableHeaderText: var(--vocs-color_text2);--vocs-borderRadius_0: 0;--vocs-borderRadius_2: 2px;--vocs-borderRadius_3: 3px;--vocs-borderRadius_4: 4px;--vocs-borderRadius_6: 6px;--vocs-borderRadius_8: 8px;--vocs-fontFamily_default: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;--vocs-fontFamily_mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;--vocs-fontSize_9: .5625rem;--vocs-fontSize_11: .6875rem;--vocs-fontSize_12: .75rem;--vocs-fontSize_13: .8125rem;--vocs-fontSize_14: .875rem;--vocs-fontSize_15: .9375rem;--vocs-fontSize_16: 1rem;--vocs-fontSize_18: 1.125rem;--vocs-fontSize_20: 1.25rem;--vocs-fontSize_24: 1.5rem;--vocs-fontSize_32: 2rem;--vocs-fontSize_64: 3rem;--vocs-fontSize_root: 16px;--vocs-fontSize_h1: var(--vocs-fontSize_32);--vocs-fontSize_h2: var(--vocs-fontSize_24);--vocs-fontSize_h3: var(--vocs-fontSize_20);--vocs-fontSize_h4: var(--vocs-fontSize_18);--vocs-fontSize_h5: var(--vocs-fontSize_16);--vocs-fontSize_h6: var(--vocs-fontSize_16);--vocs-fontSize_calloutCodeBlock: .8em;--vocs-fontSize_code: .875em;--vocs-fontSize_codeBlock: var(--vocs-fontSize_14);--vocs-fontSize_lineNumber: var(--vocs-fontSize_15);--vocs-fontSize_subtitle: var(--vocs-fontSize_20);--vocs-fontSize_th: var(--vocs-fontSize_14);--vocs-fontSize_td: var(--vocs-fontSize_14);--vocs-fontWeight_regular: 300;--vocs-fontWeight_medium: 400;--vocs-fontWeight_semibold: 500;--vocs-lineHeight_code: 1.75em;--vocs-lineHeight_heading: 1.5em;--vocs-lineHeight_listItem: 1.5em;--vocs-lineHeight_outlineItem: 1em;--vocs-lineHeight_paragraph: 1.75em;--vocs-lineHeight_sidebarItem: 1.375em;--vocs-space_0: 0px;--vocs-space_1: 1px;--vocs-space_2: .125rem;--vocs-space_3: .1875rem;--vocs-space_4: .25rem;--vocs-space_6: .375rem;--vocs-space_8: .5rem;--vocs-space_12: .75rem;--vocs-space_14: .875rem;--vocs-space_16: 1rem;--vocs-space_18: 1.125rem;--vocs-space_20: 1.25rem;--vocs-space_22: 1.375rem;--vocs-space_24: 1.5rem;--vocs-space_28: 1.75rem;--vocs-space_32: 2rem;--vocs-space_36: 2.25rem;--vocs-space_40: 2.5rem;--vocs-space_44: 2.75rem;--vocs-space_48: 3rem;--vocs-space_56: 3.5rem;--vocs-space_64: 4rem;--vocs-space_72: 4.5rem;--vocs-space_80: 5rem;--vocs-zIndex_backdrop: 69420;--vocs-zIndex_drawer: 69421;--vocs-zIndex_gutterRight: 11;--vocs-zIndex_gutterLeft: 14;--vocs-zIndex_gutterTop: 13;--vocs-zIndex_gutterTopCurtain: 12;--vocs-zIndex_popover: 69422;--vocs-zIndex_surface: 10;--vocs-content_horizontalPadding: var(--vocs-space_48);--vocs-content_verticalPadding: var(--vocs-space_32);--vocs-content_width: calc(70ch + (var(--vocs-content_horizontalPadding) * 2));--vocs-outline_width: 280px;--vocs-sidebar_horizontalPadding: var(--vocs-space_24);--vocs-sidebar_verticalPadding: var(--vocs-space_0);--vocs-sidebar_width: 300px;--vocs-topNav_height: 60px;--vocs-topNav_horizontalPadding: var(--vocs-content_horizontalPadding);--vocs-topNav_curtainHeight: 40px}@media screen and (max-width: 1080px){:root{--vocs-content_verticalPadding: var(--vocs-space_48);--vocs-content_horizontalPadding: var(--vocs-space_24);--vocs-sidebar_horizontalPadding: var(--vocs-space_16);--vocs-sidebar_verticalPadding: var(--vocs-space_16);--vocs-sidebar_width: 300px;--vocs-topNav_height: 48px}}@media screen and (max-width: 720px){:root{--vocs-content_horizontalPadding: var(--vocs-space_16);--vocs-content_verticalPadding: var(--vocs-space_32)}}.vocs_Banner{background-color:var(--vocs_Banner_bannerBackgroundColor, var(--vocs-color_backgroundAccent));border-bottom:1px solid var(--vocs_Banner_bannerBackgroundColor, var(--vocs-color_borderAccent));color:var(--vocs_Banner_bannerTextColor, var(--vocs-color_backgroundAccentText));height:var(--vocs_Banner_bannerHeight, 36px);position:fixed;top:0;width:100%;z-index:var(--vocs-zIndex_gutterTop)}.vocs_Banner_content{font-size:var(--vocs-fontSize_14);overflow-x:scroll;padding-left:var(--vocs-space_8);padding-right:var(--vocs-space_8);margin-right:var(--vocs-space_24);-ms-overflow-style:none;scrollbar-width:none;white-space:pre}.vocs_Banner_content::-webkit-scrollbar{display:none}.vocs_Banner_inner{align-items:center;display:flex;height:100%;justify-content:center;position:relative;width:100%}.vocs_Banner_closeButton{align-items:center;background-color:var(--vocs_Banner_bannerBackgroundColor, var(--vocs-color_backgroundAccent));display:flex;justify-content:center;height:100%;position:absolute;right:0;width:var(--vocs-space_24)}.vocs_Banner_content a{font-weight:400;text-underline-offset:2px;text-decoration:underline}@media screen and (max-width: 1080px){.vocs_Banner{position:initial}}.vocs_DocsLayout{--vocs_DocsLayout_leftGutterWidth: max(calc((100vw - var(--vocs-content_width)) / 2), var(--vocs-sidebar_width))}.vocs_DocsLayout_content{background-color:var(--vocs-color_background);margin-left:auto;margin-right:auto;max-width:var(--vocs-content_width);min-height:100vh}.vocs_DocsLayout_content_withSidebar{margin-left:var(--vocs_DocsLayout_leftGutterWidth);margin-right:unset}.vocs_DocsLayout_gutterLeft{background-color:var(--vocs-color_backgroundDark);justify-content:flex-end;display:flex;height:100vh;position:fixed;top:var(--vocs_Banner_bannerHeight, 0px);width:var(--vocs_DocsLayout_leftGutterWidth);z-index:var(--vocs-zIndex_gutterLeft)}.vocs_DocsLayout_gutterTop{align-items:center;background-color:color-mix(in srgb,var(--vocs-color_background) 98%,transparent);height:var(--vocs-topNav_height);width:100vw;z-index:var(--vocs-zIndex_gutterTop)}.vocs_DocsLayout_gutterTopCurtain{display:flex;height:var(--vocs-topNav_curtainHeight);width:100vw;z-index:var(--vocs-zIndex_gutterTopCurtain)}.vocs_DocsLayout_gutterTopCurtain_hidden{background:unset;display:none}.vocs_DocsLayout_gutterRight{display:flex;height:100vh;overflow-y:auto;padding:calc(var(--vocs-content_verticalPadding) + var(--vocs-topNav_height) + var(--vocs-space_8)) var(--vocs-space_24) 0 0;position:fixed;top:var(--vocs_Banner_bannerHeight, 0px);right:0;width:calc((100vw - var(--vocs-content_width)) / 2);z-index:var(--vocs-zIndex_gutterRight)}.vocs_DocsLayout_gutterRight::-webkit-scrollbar{display:none}.vocs_DocsLayout_gutterRight_withSidebar{width:calc(100vw - var(--vocs-content_width) - var(--vocs_DocsLayout_leftGutterWidth))}.vocs_DocsLayout_outlinePopover{display:none;overflow-y:auto;height:calc(100vh - var(--vocs-topNav_height) - var(--vocs-topNav_curtainHeight))}.vocs_DocsLayout_sidebar{padding:var(--vocs-space_0) var(--vocs-sidebar_horizontalPadding) var(--vocs-space_24) var(--vocs-sidebar_horizontalPadding)}.vocs_DocsLayout_sidebarDrawer{display:none}@media screen and (max-width: 720px){.vocs_DocsLayout_content{overflow-x:hidden}}@media screen and (min-width: 1081px){.vocs_DocsLayout_content_withTopNav{padding-top:calc(var(--vocs-topNav_height) + var(--vocs_Banner_bannerHeight, 0px))}.vocs_DocsLayout_gutterTop{padding-left:calc(var(--vocs_DocsLayout_leftGutterWidth) - var(--vocs-sidebar_width));padding-right:calc(var(--vocs_DocsLayout_leftGutterWidth) - var(--vocs-sidebar_width));position:fixed;top:var(--vocs_Banner_bannerHeight, 0px)}.vocs_DocsLayout_gutterTop_offsetLeftGutter{padding-left:var(--vocs_DocsLayout_leftGutterWidth)}.vocs_DocsLayout_gutterTopCurtain{position:fixed;top:calc(var(--vocs-topNav_height) + var(--vocs_Banner_bannerHeight, 0px))}.vocs_DocsLayout_gutterTopCurtain_withSidebar{margin-left:var(--vocs_DocsLayout_leftGutterWidth)}}@media screen and (max-width: 1080px){.vocs_DocsLayout_content{margin-left:auto;margin-right:auto}.vocs_DocsLayout_gutterLeft{display:none}.vocs_DocsLayout_gutterTop{position:initial}.vocs_DocsLayout_gutterTop_sticky,.vocs_DocsLayout_gutterTopCurtain{position:sticky;top:0}.vocs_DocsLayout_outlinePopover,.vocs_DocsLayout_sidebarDrawer{display:block}}@media screen and (max-width: 1280px){.vocs_DocsLayout_gutterRight{display:none}}@layer vocs_reset_reset;html,body,.vocs_DocsLayout{font-family:var(--vocs-fontFamily_default);font-feature-settings:"rlig" 1,"calt" 1;font-size:var(--vocs-fontSize_root)}button,select{text-transform:none;-webkit-appearance:button;-moz-appearance:button;appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{outline:auto}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;-moz-appearance:textfield;appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none;-moz-appearance:none;appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;-moz-appearance:button;appearance:button;font:inherit}summary{display:list-item}blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre{margin:0}fieldset{margin:0;padding:0}legend{padding:0}ol,ul,menu{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::-moz-placeholder,textarea::-moz-placeholder{opacity:1}input::placeholder,textarea::placeholder{opacity:1}button,[role=button]{cursor:pointer}:disabled{overflow:default}img,svg,video,canvas,audio,iframe,embed,object{display:block;vertical-align:middle}img,video{max-width:100%;height:auto}[hidden]{display:none}@layer vocs_reset_reset{*,:before,:after{box-sizing:border-box;border-width:0;border-style:solid}*:focus-visible{outline:2px solid var(--vocs-color_borderAccent);outline-offset:2px;outline-style:dashed}html,body{-webkit-text-size-adjust:100%;-moz-text-size-adjust:100%;text-size-adjust:100%;-moz-tab-size:4;-o-tab-size:4;tab-size:4;line-height:inherit;margin:0;padding:0;border:0;text-rendering:optimizeLegibility}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit;text-wrap:balance}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:var(--vocs-fontFamily_mono);font-size:var(--vocs-fontSize_root)}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{border-color:inherit;border-collapse:collapse;text-indent:0}button,input,optgroup,select,textarea{font-family:inherit;font-feature-settings:inherit;font-variation-settings:inherit;font-size:100%;font-weight:inherit;line-height:inherit;color:inherit;margin:0;padding:0}}.vocs_Tabs{background-color:var(--vocs-color_codeBlockBackground);border:1px solid var(--vocs-color_codeInlineBorder);border-radius:var(--vocs-borderRadius_4)}.vocs_Tabs_list{background-color:var(--vocs-color_codeTitleBackground);border-bottom:1px solid var(--vocs-color_border);border-top-left-radius:var(--vocs-borderRadius_4);border-top-right-radius:var(--vocs-borderRadius_4);display:flex;padding:var(--vocs-space_0) var(--vocs-space_14)}.vocs_Tabs_trigger{border-bottom:2px solid transparent;color:var(--vocs-color_text3);font-size:var(--vocs-fontSize_14);font-weight:var(--vocs-fontWeight_medium);padding:var(--vocs-space_8) var(--vocs-space_8) var(--vocs-space_6) var(--vocs-space_8);transition:color .1s}.vocs_Tabs_trigger:hover{color:var(--vocs-color_text)}.vocs_Tabs_trigger[data-state=active]{border-bottom:2px solid var(--vocs-color_borderAccent);color:var(--vocs-color_text)}.vocs_Tabs_content{background-color:var(--vocs-color_codeBlockBackground)}.vocs_Tabs_content:not([data-shiki=true]){padding:var(--vocs-space_20) var(--vocs-space_22)}.vocs_Tabs pre{margin-bottom:var(--vocs-space_0)}@media screen and (max-width: 720px){.vocs_Tabs_list{border-radius:0;padding:var(--vocs-space_0) var(--vocs-space_8)}.vocs_Tabs_content:not([data-shiki=true]){padding:var(--vocs-space_20) var(--vocs-space_16)}.vocs_Tabs pre{margin:unset}}.vocs_CodeBlock{border:1px solid var(--vocs-color_codeInlineBorder);border-radius:var(--vocs-borderRadius_4)}.vocs_Tabs .vocs_CodeBlock,.vocs_Callout .vocs_CodeBlock{border:none;margin-left:unset;margin-right:unset}.vocs_CodeBlock code{display:grid;font-size:var(--vocs-fontSize_codeBlock)}.vocs_Callout .vocs_CodeBlock code{font-size:var(--vocs-fontSize_calloutCodeBlock)}.vocs_CodeBlock pre{background-color:var(--vocs-color_codeBlockBackground);border-radius:var(--vocs-borderRadius_4);overflow-x:auto;padding:var(--vocs-space_20) var(--vocs-space_0)}.vocs_Callout .vocs_CodeBlock pre{background-color:color-mix(in srgb,var(--vocs-color_codeBlockBackground) 65%,transparent)!important;border:1px solid var(--vocs-color_codeInlineBorder);border-radius:var(--vocs-borderRadius_4);padding:var(--vocs-space_12) var(--vocs-space_0)}.vocs_CodeBlock .line{border-left:2px solid transparent;padding:var(--vocs-space_0) var(--vocs-space_22);line-height:var(--vocs-lineHeight_code)}.vocs_Callout .vocs_CodeBlock .line{padding:var(--vocs-space_0) var(--vocs-space_12)}.vocs_CodeBlock .twoslash-popup-info .line{padding:var(--vocs-space_0) var(--vocs-space_4)}.vocs_CodeBlock .twoslash-popup-info-hover .line{display:inline-block;padding:var(--vocs-space_0) var(--vocs-space_8)}.vocs_CodeBlock .twoslash-error-line,.vocs_CodeBlock .twoslash-tag-line{padding:var(--vocs-space_0) var(--vocs-space_22)}.vocs_CodeBlock [data-line-numbers]{counter-reset:line}.vocs_CodeBlock [data-line-numbers]>.line{padding:var(--vocs-space_0) var(--vocs-space_16)}.vocs_CodeBlock [data-line-numbers]>.line:before{content:counter(line);color:var(--vocs-color_lineNumber);display:inline-block;font-size:var(--vocs-fontSize_lineNumber);margin-right:var(--vocs-space_16);text-align:right;width:1rem}.vocs_CodeBlock [data-line-numbers]>.line:not(.diff.remove+.diff.add):before{counter-increment:line}.vocs_CodeBlock [data-line-numbers]>.line.diff:after{margin-left:calc(-1 * var(--vocs-space_4))}.vocs_CodeBlock .highlighted{background-color:var(--vocs-color_codeHighlightBackground);border-left:2px solid var(--vocs-color_codeHighlightBorder);box-sizing:content-box}.vocs_CodeBlock .highlighted-word{border-radius:var(--vocs-borderRadius_2);background-color:var(--vocs-color_codeCharacterHighlightBackground)!important;box-shadow:0 0 0 4px var(--vocs-color_codeCharacterHighlightBackground)}.vocs_CodeBlock .has-diff{position:relative}.vocs_CodeBlock .line.diff:after{position:absolute;left:var(--vocs-space_8)}.vocs_CodeBlock .line.diff.add{background-color:var(--vocs-color_backgroundGreenTint2)}.vocs_CodeBlock .line.diff.add:after{content:"+";color:var(--vocs-color_textGreen)}.vocs_CodeBlock .line.diff.remove{background-color:var(--vocs-color_backgroundRedTint2);opacity:.6}.vocs_CodeBlock .line.diff.remove>span{filter:grayscale(1)}.vocs_CodeBlock .line.diff.remove:after{content:"-";color:var(--vocs-color_textRed)}.vocs_CodeBlock .has-focused>code>.line:not(.focused),.vocs_CodeBlock .has-focused>code>.twoslash-meta-line:not(.focused){opacity:.3;transition:opacity .2s}.vocs_CodeBlock:hover .has-focused .line:not(.focused),.vocs_CodeBlock:hover .has-focused .twoslash-meta-line:not(.focused){opacity:1;transition:opacity .2s}@media screen and (max-width: 720px){.vocs_CodeBlock{border-radius:0;border-right:none;border-left:none;margin-left:calc(-1 * var(--vocs-space_16));margin-right:calc(-1 * var(--vocs-space_16))}.vocs_CodeBlock pre{border-radius:0}.vocs_CodeBlock .line,.vocs_CodeBlock .twoslash-error-line,.vocs_CodeBlock .twoslash-tag-line{padding:0 var(--vocs-space_16)}.vocs_CodeBlock .line.diff:after{left:var(--vocs-space_6)}}.vocs_Header{border-bottom:1px solid var(--vocs-color_border)}.vocs_Header:not(:last-child){margin-bottom:var(--vocs-space_28);padding-bottom:var(--vocs-space_28)}[data-layout=landing] .vocs_Header{padding-bottom:var(--vocs-space_16)}[data-layout=landing] .vocs_Header:not(:first-child){padding-top:var(--vocs-space_36)}.vocs_H2{font-size:var(--vocs-fontSize_h2);letter-spacing:-.02em}.vocs_H2.vocs_H2:not(:last-child){margin-bottom:var(--vocs-space_24)}:not(.vocs_Header)+.vocs_H2:not(:only-child){border-top:1px solid var(--vocs-color_border);margin-top:var(--vocs-space_56);padding-top:var(--vocs-space_24)}[data-layout=landing] .vocs_H2.vocs_H2{border-top:none;margin-top:var(--vocs-space_24);padding-top:0}.vocs_H3{font-size:var(--vocs-fontSize_h3)}.vocs_H3:not(:first-child){margin-top:var(--vocs-space_18);padding-top:var(--vocs-space_18)}.vocs_H3.vocs_H3:not(:last-child){margin-bottom:var(--vocs-space_24)}.vocs_H2+.vocs_H3{padding-top:var(--vocs-space_0)}.vocs_H4{font-size:var(--vocs-fontSize_h4)}.vocs_H4:not(:first-child){margin-top:var(--vocs-space_18);padding-top:var(--vocs-space_12)}.vocs_H4.vocs_H4:not(:last-child){margin-bottom:var(--vocs-space_24)}.vocs_H3+.vocs_H4{padding-top:var(--vocs-space_0)}.vocs_H5{font-size:var(--vocs-fontSize_h5)}.vocs_H5:not(:first-child){margin-top:var(--vocs-space_16)}.vocs_H5.vocs_H5:not(:last-child){margin-bottom:var(--vocs-space_24)}.vocs_H4+.vocs_H5{padding-top:var(--vocs-space_0)}.vocs_H6{font-size:var(--vocs-fontSize_h6)}.vocs_H6:not(:first-child){margin-top:var(--vocs-space_16)}.vocs_H6.vocs_H6:not(:last-child){margin-bottom:var(--vocs-space_24)}.vocs_H5+.vocs_H6{padding-top:var(--vocs-space_0)}.vocs_Step:not(:last-child){margin-bottom:var(--vocs-space_24)}.vocs_Step_title{margin-bottom:var(--vocs-space_8);position:relative}.vocs_Step_title:before{content:counter(step);align-items:center;background-color:var(--vocs-color_background5);border-radius:100%;border:.5em solid var(--vocs-color_background);box-sizing:content-box;color:var(--vocs-color_text2);counter-increment:step;display:flex;font-size:.625em;font-weight:var(--vocs-fontWeight_regular);height:2em;justify-content:center;left:calc(-25.125px - 1.45em);position:absolute;top:-.25em;width:2em}.vocs_H2+.vocs_Step_content,.vocs_H3+.vocs_Step_content,.vocs_H4+.vocs_Step_content,.vocs_H5+.vocs_Step_content,.vocs_H6+.vocs_Step_content{margin-top:calc(var(--vocs-space_8) * -1)}.vocs_Step_content>*:not(:last-child){margin-bottom:var(--vocs-space_16)}.vocs_Step_content>*:last-child{margin-bottom:var(--vocs-space_0)}@media screen and (max-width: 720px){.vocs_Step_content>.vocs_Tabs,.vocs_Step_content>.vocs_CodeBlock{outline:6px solid var(--vocs-color_background);margin-left:calc(-1 * var(--vocs-space_44) - 2px);margin-right:calc(-1 * var(--vocs-space_16))}.vocs_Step_content .vocs_Tabs pre.shiki{border-top:none}}.vocs_Callout{border-radius:var(--vocs-borderRadius_4);font-size:var(--vocs-fontSize_14);padding:var(--vocs-space_16) var(--vocs-space_20);margin-bottom:var(--vocs-space_16)}.vocs_Callout_note{background-color:var(--vocs-color_noteBackground);border:1px solid var(--vocs-color_noteBorder);color:var(--vocs-color_noteText)}.vocs_Callout_info{background-color:var(--vocs-color_infoBackground);border:1px solid var(--vocs-color_infoBorder);color:var(--vocs-color_infoText)}.vocs_Callout_warning{background-color:var(--vocs-color_warningBackground);border:1px solid var(--vocs-color_warningBorder);color:var(--vocs-color_warningText)}.vocs_Callout_danger{background-color:var(--vocs-color_dangerBackground);border:1px solid var(--vocs-color_dangerBorder);color:var(--vocs-color_dangerText)}.vocs_Callout_tip{background-color:var(--vocs-color_tipBackground);border:1px solid var(--vocs-color_tipBorder);color:var(--vocs-color_tipText)}.vocs_Callout_success{background-color:var(--vocs-color_successBackground);border:1px solid var(--vocs-color_successBorder);color:var(--vocs-color_successText)}@media screen and (max-width: 720px){:not(undefined)>.vocs_Callout{border-radius:0;border-left-width:0;border-right-width:0;margin-left:calc(-1 * var(--vocs-space_16));margin-right:calc(-1 * var(--vocs-space_16))}}.vocs_Content{background-color:var(--vocs-color_background);max-width:var(--vocs-content_width);padding:var(--vocs-content_verticalPadding) var(--vocs-content_horizontalPadding);width:100%}.vocs_Callout>*+.vocs_Details{margin-top:-8px}@layer vocs_global_global;:root.dark{color-scheme:dark}:root.dark pre.shiki span:not(.line),:root.dark :not(pre.shiki) .line span{color:var(--shiki-dark)!important}pre.shiki{background-color:var(--vocs-color_codeBlockBackground)!important}.vocs_Content>*:not(:last-child),.vocs_Details>*:not(:last-child){margin-bottom:var(--vocs-space_24)}.vocs_Callout>*:not(:last-child),.vocs_Callout>.vocs_Details>*:not(:last-child){margin-bottom:var(--vocs-space_16)}.vocs_Content>*:last-child,.vocs_Callout>*:last-child,.vocs_Details>*:last-child{margin-bottom:var(--vocs-space_0)}#app[aria-hidden=true]{background:var(--vocs-color_background)}@layer vocs_global_global{:root{background-color:var(--vocs-color_background);color:var(--vocs-color_text);line-height:var(--vocs-lineHeight_paragraph);font-size:var(--vocs-fontSize_root);font-weight:var(--vocs-fontWeight_regular)}}@media screen and (max-width: 720px){:root{background-color:var(--vocs-color_backgroundDark)}}:root{--vocs-twoslash_borderColor: var(--vocs-color_border2);--vocs-twoslash_underlineColor: currentColor;--vocs-twoslash_popupBackground: var(--vocs-color_background2);--vocs-twoslash_popupShadow: rgba(0, 0, 0, .08) 0px 1px 4px;--vocs-twoslash_matchedColor: inherit;--vocs-twoslash_unmatchedColor: #888;--vocs-twoslash_cursorColor: #8888;--vocs-twoslash_errorColor: var(--vocs-color_textRed);--vocs-twoslash_errorBackground: var(--vocs-color_backgroundRedTint2);--vocs-twoslash_highlightedBackground: var(--vocs-color_background);--vocs-twoslash_highlightedBorder: var(--vocs-color_background);--vocs-twoslash_tagColor: var(--vocs-color_textBlue);--vocs-twoslash_tagBackground: var(--vocs-color_backgroundBlueTint);--vocs-twoslash_tagWarnColor: var(--vocs-color_textYellow);--vocs-twoslash_tagWarnBackground: var(--vocs-color_backgroundYellowTint);--vocs-twoslash_tagAnnotateColor: var(--vocs-color_textGreen);--vocs-twoslash_tagAnnotateBackground: var(--vocs-color_backgroundGreenTint2)}:root.dark{--vocs-twoslash_borderColor: var(--vocs-color_border2);--vocs-twoslash_underlineColor: currentColor;--vocs-twoslash_popupBackground: var(--vocs-color_background5);--vocs-twoslash_popupShadow: rgba(0, 0, 0, .08) 0px 1px 4px;--vocs-twoslash_matchedColor: inherit;--vocs-twoslash_unmatchedColor: #888;--vocs-twoslash_cursorColor: #8888;--vocs-twoslash_errorColor: var(--vocs-color_textRed);--vocs-twoslash_errorBackground: var(--vocs-color_backgroundRedTint2);--vocs-twoslash_highlightedBackground: var(--vocs-color_background);--vocs-twoslash_highlightedBorder: var(--vocs-color_background);--vocs-twoslash_tagColor: var(--vocs-color_textBlue);--vocs-twoslash_tagBackground: var(--vocs-color_backgroundBlueTint);--vocs-twoslash_tagWarnColor: var(--vocs-color_textYellow);--vocs-twoslash_tagWarnBackground: var(--vocs-color_backgroundYellowTint);--vocs-twoslash_tagAnnotateColor: var(--vocs-color_textGreen);--vocs-twoslash_tagAnnotateBackground: var(--vocs-color_backgroundGreenTint2)}:root .twoslash-popup-info-hover,:root .twoslash-popup-info{--shiki-light-bg: var(--vocs-color_background2)}:root .twoslash-popup-info{width:-moz-max-content;width:max-content}:root.dark .twoslash-popup-info,:root.dark .twoslash-popup-info-hover{--shiki-dark-bg: var(--vocs-color_background5)}.twoslash-query-persisted>.twoslash-popup-info{z-index:1}:not(.twoslash-query-persisted)>.twoslash-popup-info{z-index:2}.twoslash:hover .twoslash-hover{border-color:var(--vocs-twoslash_underlineColor)}.twoslash .twoslash-hover{border-bottom:1px dotted transparent;transition-timing-function:ease;transition:border-color .3s}.twoslash-query-persisted{position:relative}.twoslash .twoslash-popup-info{position:absolute;top:0;left:0;opacity:0;display:inline-block;transform:translateY(1.1em);background:var(--vocs-twoslash_popupBackground);border:1px solid var(--vocs-twoslash_borderColor);transition:opacity .3s;border-radius:4px;max-width:540px;padding:4px 6px;pointer-events:none;text-align:left;z-index:20;white-space:pre-wrap;-webkit-user-select:none;-moz-user-select:none;user-select:none;box-shadow:var(--vocs-twoslash_popupShadow)}.twoslash .twoslash-popup-info-hover{background:var(--vocs-twoslash_popupBackground);border:1px solid var(--vocs-twoslash_borderColor);border-radius:4px;box-shadow:var(--vocs-twoslash_popupShadow);display:inline-block;max-width:500px;pointer-events:auto;position:fixed;opacity:1;transition:opacity .3s;white-space:pre-wrap;-webkit-user-select:none;-moz-user-select:none;user-select:none;z-index:20}.twoslash .twoslash-popup-scroll-container{max-height:300px;padding:4px 0;overflow-y:auto;-ms-overflow-style:none;scrollbar-width:none}.twoslash-popup-arrow{position:absolute;top:-4px;left:1em;border-top:1px solid var(--vocs-twoslash_borderColor);border-right:1px solid var(--vocs-twoslash_borderColor);background:var(--vocs-twoslash_popupBackground);transform:rotate(-45deg);width:6px;height:6px;pointer-events:none}.twoslash .twoslash-popup-scroll-container::-webkit-scrollbar{display:none}.twoslash .twoslash-popup-jsdoc{border-top:1px solid var(--vocs-color_border2);color:var(--vocs-color_text);font-family:sans-serif;font-weight:500;margin-top:4px;padding:4px 10px 0}.twoslash-tag-line+.twoslash-tag-line{margin-top:-.2em}.twoslash-query-persisted .twoslash-popup-info{z-index:9;transform:translateY(1.5em)}.twoslash-hover:hover .twoslash-popup-info,.twoslash-query-persisted .twoslash-popup-info{opacity:1;pointer-events:auto}.twoslash-popup-info:hover,.twoslash-popup-info-hover:hover{-webkit-user-select:auto;-moz-user-select:auto;user-select:auto}.twoslash-error-line{position:relative;background-color:var(--vocs-twoslash_errorBackground);border-left:2px solid var(--vocs-twoslash_errorColor);color:var(--vocs-twoslash_errorColor);margin:.2em 0}.twoslash-error{background:url("data:image/svg+xml,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20viewBox%3D'0%200%206%203'%20enable-background%3D'new%200%200%206%203'%20height%3D'3'%20width%3D'6'%3E%3Cg%20fill%3D'%23c94824'%3E%3Cpolygon%20points%3D'5.5%2C0%202.5%2C3%201.1%2C3%204.1%2C0'%2F%3E%3Cpolygon%20points%3D'4%2C0%206%2C2%206%2C0.6%205.4%2C0'%2F%3E%3Cpolygon%20points%3D'0%2C2%201%2C3%202.4%2C3%200%2C0.6'%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E") repeat-x bottom left;padding-bottom:2px}.twoslash-completion-cursor{position:relative}.twoslash-completion-cursor .twoslash-completion-list{-webkit-user-select:none;-moz-user-select:none;user-select:none;position:absolute;top:0;left:0;transform:translateY(1.2em);margin:3px 0 0 -1px;z-index:8;box-shadow:var(--vocs-twoslash_popupShadow);background:var(--vocs-twoslash_popupBackground);border:1px solid var(--vocs-twoslash_borderColor)}.twoslash-completion-list{border-radius:4px;font-size:.8rem;padding:4px;display:flex;flex-direction:column;gap:4px;width:240px}.twoslash-completion-list:hover{-webkit-user-select:auto;-moz-user-select:auto;user-select:auto}.twoslash-completion-list:before{content:" ";background-color:var(--vocs-twoslash_cursorColor);width:2px;position:absolute;top:-1.6em;height:1.4em;left:-1px}.twoslash-completion-list .twoslash-completion-list-item{overflow:hidden;display:flex;align-items:center;gap:.5em;line-height:1em}.twoslash-completion-list .twoslash-completion-list-item span.twoslash-completions-unmatched.twoslash-completions-unmatched.twoslash-completions-unmatched{color:var(--vocs-twoslash_unmatchedColor)!important}.twoslash-completion-list .deprecated{text-decoration:line-through;opacity:.5}.twoslash-completion-list .twoslash-completion-list-item span.twoslash-completions-matched.twoslash-completions-unmatched.twoslash-completions-unmatched{color:var(--vocs-twoslash_matchedColor)!important}.twoslash-tag-line{position:relative;background-color:var(--vocs-twoslash_tagBackground);border-left:2px solid var(--vocs-twoslash_tagColor);color:var(--vocs-twoslash_tagColor);margin:.2em 0;display:flex;align-items:center;gap:.3em}.twoslash-tag-line+.line[data-empty-line]+.twoslash-tag-line{margin-top:-1.95em}.twoslash-tag-line .twoslash-tag-icon{width:1.1em;color:inherit}.twoslash-tag-line.twoslash-tag-error-line{background-color:var(--vocs-twoslash_errorBackground);border-left:2px solid var(--vocs-twoslash_errorColor);color:var(--vocs-twoslash_errorColor)}.twoslash-tag-line.twoslash-tag-warn-line{background-color:var(--vocs-twoslash_tagWarnBackground);border-left:2px solid var(--vocs-twoslash_tagWarnColor);color:var(--vocs-twoslash_tagWarnColor)}.twoslash-tag-line.twoslash-tag-annotate-line{background-color:var(--vocs-twoslash_tagAnnotateBackground);border-left:2px solid var(--vocs-twoslash_tagAnnotateColor);color:var(--vocs-twoslash_tagAnnotateColor)}.twoslash-highlighted{border-radius:var(--vocs-borderRadius_2);background-color:var(--vocs-color_codeCharacterHighlightBackground)!important;box-shadow:0 0 0 4px var(--vocs-color_codeCharacterHighlightBackground)}@media (prefers-reduced-motion: reduce){.twoslash *{transition:none!important}}.vocs_ExternalLink:after{content:"";background-color:currentColor;color:var(--vocs_ExternalLink_arrowColor);display:inline-block;height:.5em;margin-left:.325em;margin-right:.25em;width:.5em;-webkit-mask:var(--vocs_ExternalLink_iconUrl) no-repeat center / contain;mask:var(--vocs_ExternalLink_iconUrl) no-repeat center / contain}.vocs_Link_accent_underlined{color:var(--vocs-color_link);font-weight:var(--vocs-fontWeight_medium);text-underline-offset:var(--vocs-space_2);text-decoration:underline;transition:color .1s}.vocs_Link_accent_underlined:hover{color:var(--vocs-color_linkHover)}.vocs_Link_styleless{--vocs_ExternalLink_arrowColor: var(--vocs-color_text3)}.vocs_NotFound{align-items:center;display:flex;flex-direction:column;max-width:400px;margin:0 auto;padding-top:var(--vocs-space_64)}.vocs_NotFound_divider{border-color:var(--vocs-color_border);width:50%}.vocs_H1{font-size:var(--vocs-fontSize_h1);letter-spacing:-.02em}.vocs_Heading{align-items:center;color:var(--vocs-color_heading);font-weight:var(--vocs-fontWeight_semibold);gap:.25em;line-height:var(--vocs-lineHeight_heading);position:relative}.vocs_Heading_slugTarget{position:absolute;top:0;visibility:hidden}@media screen and (min-width: 1081px){.vocs_Heading_slugTarget{top:calc(-1 * (var(--vocs-topNav_height)))}.vocs_Header .vocs_Heading_slugTarget,.vocs_Step_title .vocs_Heading_slugTarget,.vocs_Header+.vocs_Heading .vocs_Heading_slugTarget{top:calc(-1 * (var(--vocs-topNav_height) + var(--vocs-space_24)))}}@media screen and (max-width: 1080px){.vocs_Heading_slugTarget{top:calc(-1 * var(--vocs-topNav_curtainHeight))}.vocs_Header .vocs_Heading_slugTarget,.vocs_Header+.vocs_Heading .vocs_Heading_slugTarget{top:calc(-1 * calc(var(--vocs-topNav_curtainHeight) + var(--vocs-space_24)))}}.vocs_Blockquote{border-left:2px solid var(--vocs-color_blockquoteBorder);padding-left:var(--vocs-space_16);margin-bottom:var(--vocs-space_16)}.vocs_H2+.vocs_List,.vocs_H3+.vocs_List,.vocs_H4+.vocs_List,.vocs_H5+.vocs_List,.vocs_H6+.vocs_List{margin-top:calc(var(--vocs-space_8) * -1)}.vocs_Paragraph+.vocs_List{margin-top:calc(-1 * var(--vocs-space_8))}.vocs_List_ordered{list-style:decimal;padding-left:var(--vocs-space_20);margin-bottom:var(--vocs-space_16)}.vocs_List_ordered .vocs_List_ordered{list-style:lower-alpha}.vocs_List_ordered .vocs_List_ordered .vocs_List_ordered{list-style:lower-roman}.vocs_List_unordered{list-style:disc;padding-left:var(--vocs-space_24);margin-bottom:var(--vocs-space_16)}.vocs_List_unordered .vocs_List_unordered{list-style:circle}.vocs_List_ordered .vocs_List_ordered,.vocs_List_unordered .vocs_List_unordered,.vocs_List_ordered .vocs_List_unordered,.vocs_List_unordered .vocs_List_ordered{margin-bottom:var(--vocs-space_0);padding-top:var(--vocs-space_8);padding-left:var(--vocs-space_16);padding-bottom:var(--vocs-space_0)}.vocs_List_unordered.contains-task-list{list-style:none;padding-left:var(--vocs-space_12)}.vocs_Paragraph{line-height:var(--vocs-lineHeight_paragraph)}.vocs_Blockquote>.vocs_Paragraph{color:var(--vocs-color_blockquoteText);margin-bottom:var(--vocs-space_8)}.vocs_H2+.vocs_Paragraph,.vocs_H3+.vocs_Paragraph,.vocs_H4+.vocs_Paragraph,.vocs_H5+.vocs_Paragraph,.vocs_H6+.vocs_Paragraph,.vocs_List+.vocs_Paragraph{margin-top:calc(var(--vocs-space_8) * -1)}.vocs_Paragraph+.vocs_Paragraph{margin-top:calc(-1 * var(--vocs-space_8))}:root:not(.dark) .vocs_utils_visibleDark{display:none}:root.dark .vocs_utils_visibleLight{display:none}.vocs_utils_visuallyHidden{clip:rect(0 0 0 0);clip-path:inset(50%);height:1px;overflow:hidden;position:absolute;white-space:nowrap;width:1px}.vocs_DesktopSearch_search{align-items:center;background-color:var(--vocs-color_backgroundDark);border:1px solid var(--vocs-color_backgroundDark);border-radius:var(--vocs-borderRadius_8);color:var(--vocs-color_text2);display:flex;font-size:var(--vocs-fontSize_14);font-weight:var(--vocs-fontWeight_medium);gap:var(--vocs-space_6);height:var(--vocs-space_40);max-width:15.5rem;padding-left:var(--vocs-space_12);padding-right:var(--vocs-space_12);position:relative;width:100%;transition:color .1s,border-color .1s}.vocs_DesktopSearch_search:hover{color:var(--vocs-color_text);border-color:var(--vocs-color_text3)}.vocs_DesktopSearch_searchCommand{align-items:center;border:1.5px solid var(--vocs-color_text3);border-radius:var(--vocs-borderRadius_4);color:var(--vocs-color_text3);display:flex;height:var(--vocs-space_12);justify-content:center;margin-left:auto;margin-top:var(--vocs-space_1);padding:var(--vocs-space_1);width:var(--vocs-space_12)}.vocs_Kbd{color:var(--vocs-color_text2);display:inline-block;border-radius:var(--vocs-borderRadius_3);font-size:var(--vocs-fontSize_11);font-family:var(--vocs-fontFamily_default);font-feature-settings:cv08;line-height:105%;min-width:20px;padding:var(--vocs-space_3);padding-left:var(--vocs-space_4);padding-right:var(--vocs-space_4);padding-top:var(--vocs-space_3);text-align:center;text-transform:capitalize;vertical-align:baseline;border:.5px solid var(--vocs-color_border);background-color:var(--vocs-color_background3);box-shadow:var(--vocs-color_shadow2) 0 2px 0 0}.vocs_KeyboardShortcut{align-items:center;display:inline-flex;gap:var(--vocs-space_6);font-size:var(--vocs-fontSize_12)}.vocs_KeyboardShortcut_kbdGroup{align-items:center;display:inline-flex;gap:var(--vocs-space_3)}@media screen and (max-width: 720px){.vocs_KeyboardShortcut{display:none}}@keyframes vocs_SearchDialog_fadeIn{0%{opacity:0}to{opacity:1}}@keyframes vocs_SearchDialog_fadeAndSlideIn{0%{opacity:0;transform:translate(-50%,-5%) scale(.96)}to{opacity:1;transform:translate(-50%) scale(1)}}.vocs_SearchDialog{animation:vocs_SearchDialog_fadeAndSlideIn .1s ease-in-out;background:var(--vocs-color_background);border-radius:var(--vocs-borderRadius_6);display:flex;flex-direction:column;gap:var(--vocs-space_8);height:-moz-min-content;height:min-content;left:50%;margin:64px auto;max-height:min(100vh - 128px,900px);padding:var(--vocs-space_12);padding-bottom:var(--vocs-space_8);position:fixed;top:0;transform:translate(-50%);width:min(100vw - 60px,775px);z-index:var(--vocs-zIndex_backdrop)}.vocs_SearchDialog_overlay{animation:vocs_SearchDialog_fadeIn .1s ease-in-out;background:#0009;position:fixed;top:0;right:0;bottom:0;left:0;z-index:var(--vocs-zIndex_backdrop)}.vocs_SearchDialog_searchBox{align-items:center;border:1px solid var(--vocs-color_border);border-radius:var(--vocs-borderRadius_4);display:flex;gap:var(--vocs-space_8);padding-left:var(--vocs-space_8);padding-right:var(--vocs-space_8);margin-bottom:var(--vocs-space_8);width:100%}.vocs_SearchDialog_searchBox:focus-within{border-color:var(--vocs-color_borderAccent)}.vocs_SearchDialog_searchInput{background:transparent;display:flex;font-size:var(--vocs-fontSize_16);height:var(--vocs-space_40);width:100%}.vocs_SearchDialog_searchInput:focus{outline:none}.vocs_SearchDialog_searchInput::-moz-placeholder{color:var(--vocs-color_text4)}.vocs_SearchDialog_searchInput::placeholder{color:var(--vocs-color_text4)}.vocs_SearchDialog_searchInputIcon{color:var(--vocs-color_text3)}.vocs_SearchDialog_searchInputIconMobile{display:none}.vocs_SearchDialog_results{display:flex;flex-direction:column;gap:var(--vocs-space_8);overflow-x:hidden;overflow-y:auto;overscroll-behavior:contain;width:100%}.vocs_SearchDialog_result{border:1.5px solid var(--vocs-color_border);border-radius:var(--vocs-borderRadius_4);width:100%}.vocs_SearchDialog_result:focus-within{border-color:var(--vocs-color_borderAccent)}.vocs_SearchDialog_result>a{display:flex;flex-direction:column;gap:var(--vocs-space_8);min-height:var(--vocs-space_36);outline:none;justify-content:center;padding:var(--vocs-space_12);width:100%}.vocs_SearchDialog_resultSelected{border-color:var(--vocs-color_borderAccent)}.vocs_SearchDialog_resultIcon{color:var(--vocs-color_textAccent);margin-right:1px;width:15px}.vocs_SearchDialog_titles{align-items:center;display:flex;flex-wrap:wrap;font-weight:var(--vocs-fontWeight_medium);gap:var(--vocs-space_4);line-height:22px}.vocs_SearchDialog_title{align-items:center;display:flex;gap:var(--vocs-space_4);white-space:nowrap}.vocs_SearchDialog_titleIcon{color:var(--vocs-color_text);display:inline-block;opacity:.5}.vocs_SearchDialog_resultSelected .vocs_SearchDialog_title,.vocs_SearchDialog_resultSelected .vocs_SearchDialog_titleIcon{color:var(--vocs-color_textAccent)}.vocs_SearchDialog_content{padding:0}.vocs_SearchDialog_excerpt{max-height:8.75rem;overflow:hidden;opacity:.5;position:relative}.vocs_SearchDialog_excerpt:before{content:"";position:absolute;top:-1px;left:0;width:100%;height:8px;background:linear-gradient(var(--vocs-color_background),transparent);z-index:1000}.vocs_SearchDialog_excerpt:after{content:"";position:absolute;bottom:-1px;left:0;width:100%;height:12px;background:linear-gradient(transparent,var(--vocs-color_background));z-index:1000}.vocs_SearchDialog_title mark,.vocs_SearchDialog_excerpt mark{background-color:var(--vocs-color_searchHighlightBackground);color:var(--vocs-color_searchHighlightText);border-radius:var(--vocs-borderRadius_2);padding-bottom:0;padding-left:var(--vocs-space_2);padding-right:var(--vocs-space_2);padding-top:0}.vocs_SearchDialog_resultSelected .vocs_SearchDialog_excerpt{opacity:1}.vocs_SearchDialog_searchShortcuts{align-items:center;color:var(--vocs-color_text2);display:flex;gap:var(--vocs-space_20);font-size:var(--vocs-fontSize_14)}.vocs_SearchDialog_searchShortcutsGroup{align-items:center;display:inline-flex;gap:var(--vocs-space_3);margin-right:var(--vocs-space_6)}@media screen and (max-width: 720px){.vocs_SearchDialog{border-radius:0;height:calc(100vh - env(safe-area-inset-top) - env(safe-area-inset-bottom));margin:0;max-height:unset;width:100vw}.vocs_SearchDialog_searchInputIconDesktop{display:none}.vocs_SearchDialog_searchInputIconMobile{display:block}.vocs_SearchDialog_excerpt{opacity:1}.vocs_SearchDialog_searchShortcuts{display:none}}.vocs_DesktopTopNav{align-items:center;display:flex;justify-content:space-between;padding:0 var(--vocs-topNav_horizontalPadding);height:var(--vocs-topNav_height)}.vocs_DesktopTopNav_withLogo{padding-left:calc(((100% - var(--vocs-content_width)) / 2) + var(--vocs-topNav_horizontalPadding))}.vocs_DesktopTopNav_button{border-radius:var(--vocs-borderRadius_4);padding:var(--vocs-space_8)}.vocs_DesktopTopNav_content{right:calc(-1 * var(--vocs-space_24))}.vocs_DesktopTopNav_curtain{background:linear-gradient(var(--vocs-color_background),transparent 70%);height:30px;opacity:.98;width:100%}.vocs_DesktopTopNav_divider{background-color:var(--vocs-color_border);height:35%;width:1px}.vocs_DesktopTopNav_group{align-items:center;display:flex}.vocs_DesktopTopNav_icon{color:var(--vocs-color_text2);transition:color .1s}.vocs_DesktopTopNav_button:hover .vocs_DesktopTopNav_icon{color:var(--vocs-color_text)}.vocs_DesktopTopNav_item{align-items:center;display:flex;height:100%;position:relative}.vocs_DesktopTopNav_logo{padding-left:var(--vocs-sidebar_horizontalPadding);padding-right:var(--vocs-sidebar_horizontalPadding);width:var(--vocs-sidebar_width)}.vocs_DesktopTopNav_logoWrapper{display:flex;height:100%;justify-content:flex-end;left:0;position:absolute;width:var(--vocs_DocsLayout_leftGutterWidth)}.vocs_DesktopTopNav_section{align-items:center;display:flex;height:100%;gap:var(--vocs-space_24)}@media screen and (max-width: 1080px){.vocs_DesktopTopNav,.vocs_DesktopTopNav_curtain{display:none}}@media screen and (max-width: 1280px){.vocs_DesktopTopNav_hideCompact{display:none}}.vocs_Icon{align-items:center;display:flex;height:var(--vocs_Icon_size);width:var(--vocs_Icon_size)}:root:not(.dark) .vocs_Logo_logoDark{display:none}:root.dark .vocs_Logo_logoLight{display:none}.vocs_NavLogo_logoImage{height:50%;width:auto}.vocs_NavLogo_title{font-size:var(--vocs-fontSize_18);font-weight:var(--vocs-fontWeight_semibold);line-height:var(--vocs-lineHeight_heading)}@keyframes vocs_NavigationMenu_fadeIn{0%{opacity:0;transform:translateY(-6px)}to{opacity:1;transform:translateY(0)}}.vocs_NavigationMenu_list{display:flex;gap:var(--vocs-space_20)}.vocs_NavigationMenu_link{align-items:center;display:flex;font-size:var(--vocs-fontSize_14);font-weight:var(--vocs-fontWeight_medium);height:100%}.vocs_NavigationMenu_link:hover,.vocs_NavigationMenu_link[data-active=true]{color:var(--vocs-color_textAccent)}.vocs_NavigationMenu_trigger:after{content:"";background-color:currentColor;color:var(--vocs-color_text3);display:inline-block;height:.625em;margin-left:.325em;width:.625em;-webkit-mask:var(--vocs_NavigationMenu_chevronDownIcon) no-repeat center / contain;mask:var(--vocs_NavigationMenu_chevronDownIcon) no-repeat center / contain}.vocs_NavigationMenu_content{background-color:var(--vocs-color_background2);border:1px solid var(--vocs-color_border);border-radius:var(--vocs-borderRadius_4);box-shadow:0 3px 10px var(--vocs-color_shadow);display:flex;flex-direction:column;padding:var(--vocs-space_12) var(--vocs-space_16);position:absolute;top:calc(100% + var(--vocs-space_8));min-width:200px;z-index:var(--vocs-zIndex_popover);animation:vocs_NavigationMenu_fadeIn .5s cubic-bezier(.16,1,.3,1)}.vocs_Footer{--vocs_Footer_iconWidth: 24px;display:flex;flex-direction:column;gap:var(--vocs-space_32);max-width:var(--vocs-content_width);overflow-x:hidden;padding:var(--vocs-space_28) var(--vocs-content_horizontalPadding) var(--vocs-space_48)}.vocs_Footer_container{border-bottom:1px solid var(--vocs-color_border);display:flex;justify-content:space-between;padding-bottom:var(--vocs-space_16)}.vocs_Footer_editLink{align-items:center;display:flex;font-size:var(--vocs-fontSize_14);gap:var(--vocs-space_8);text-decoration:none}.vocs_Footer_lastUpdated{color:var(--vocs-color_text3);font-size:var(--vocs-fontSize_14)}.vocs_Footer_navigation{display:flex;justify-content:space-between}.vocs_Footer_navigationIcon{width:var(--vocs_Footer_iconWidth)}.vocs_Footer_navigationIcon_left{display:flex}.vocs_Footer_navigationIcon_right{display:flex;justify-content:flex-end}.vocs_Footer_navigationItem{display:flex;flex-direction:column;gap:var(--vocs-space_4)}.vocs_Footer_navigationItem_right{align-items:flex-end}.vocs_Footer_navigationText{align-items:center;display:flex;font-size:var(--vocs-fontSize_18);font-weight:var(--vocs-fontWeight_medium)}.vocs_Footer_navigationTextInner{overflow:hidden;text-overflow:ellipsis;width:26ch;white-space:pre}@media screen and (max-width: 720px){.vocs_Footer_navigationIcon_left,.vocs_Footer_navigationIcon_right{justify-content:center}.vocs_Footer_navigationText{font-size:var(--vocs-fontSize_12)}}@media screen and (max-width: 480px){.vocs_Footer_navigationTextInner{width:20ch}}.vocs_MobileSearch_searchButton{align-items:center;display:flex;color:var(--vocs-color_text);height:var(--vocs-space_28);justify-content:center;width:var(--vocs-space_28)}@keyframes vocs_MobileTopNav_fadeIn{0%{opacity:0}to{opacity:1}}.vocs_MobileTopNav{align-items:center;background-color:var(--vocs-color_backgroundDark);border-bottom:1px solid var(--vocs-color_border);display:none;height:100%;justify-content:space-between;padding:var(--vocs-space_0) var(--vocs-content_horizontalPadding);width:100%}.vocs_MobileTopNav_button{border-radius:var(--vocs-borderRadius_4);padding:var(--vocs-space_8)}.vocs_MobileTopNav_content{left:calc(-1 * var(--vocs-space_24))}.vocs_MobileTopNav_curtain{align-items:center;background-color:var(--vocs-color_backgroundDark);border-bottom:1px solid var(--vocs-color_border);display:none;justify-content:space-between;font-size:var(--vocs-fontSize_13);font-weight:var(--vocs-fontWeight_medium);height:100%;padding:var(--vocs-space_0) var(--vocs-content_horizontalPadding);width:100%}.vocs_MobileTopNav_curtainGroup{align-items:center;display:flex;gap:var(--vocs-space_12)}.vocs_MobileTopNav_divider{background-color:var(--vocs-color_border);height:35%;width:1px}.vocs_MobileTopNav_group{align-items:center;display:flex;height:100%}.vocs_MobileTopNav_icon{color:var(--vocs-color_text2);transition:color .1s}.vocs_MobileTopNav_button:hover .vocs_MobileTopNav_icon{color:var(--vocs-color_text)}.vocs_MobileTopNav_item{position:relative}.vocs_MobileTopNav_logo{align-items:center;display:flex;height:var(--vocs-topNav_height)}.vocs_MobileTopNav_logoImage{height:30%}.vocs_MobileTopNav_menuTrigger{align-items:center;display:flex;gap:var(--vocs-space_8)}.vocs_MobileTopNav_menuTitle{max-width:22ch;overflow:hidden;text-align:left;text-overflow:ellipsis;white-space:pre}.vocs_MobileTopNav_navigation{margin-left:var(--vocs-space_8)}.vocs_MobileTopNav_navigationContent{display:flex;flex-direction:column;margin-left:var(--vocs-space_8)}.vocs_MobileTopNav_navigationItem{align-items:center;display:flex;justify-content:flex-start;font-size:var(--vocs-fontSize_14);font-weight:var(--vocs-fontWeight_medium);width:100%}.vocs_MobileTopNav_navigationItem:hover,.vocs_MobileTopNav_navigationItem[data-active=true],.vocs_MobileTopNav_navigationItem[data-state=open]{color:var(--vocs-color_textAccent)}.vocs_MobileTopNav_trigger:after{content:"";background-color:currentColor;display:inline-block;height:.625em;margin-left:.325em;width:.625em;-webkit-mask:var(--vocs_MobileTopNav_chevronDownIcon) no-repeat center / contain;mask:var(--vocs_MobileTopNav_chevronDownIcon) no-repeat center / contain}.vocs_MobileTopNav_trigger[data-state=open]:after{-webkit-mask:var(--vocs_MobileTopNav_chevronUpIcon) no-repeat center / contain;mask:var(--vocs_MobileTopNav_chevronUpIcon) no-repeat center / contain}.vocs_MobileTopNav_outlineTrigger{animation:vocs_MobileTopNav_fadeIn .5s cubic-bezier(.16,1,.3,1);align-items:center;color:var(--vocs-color_text2);display:flex;gap:var(--vocs-space_6)}.vocs_MobileTopNav_outlineTrigger[data-state=open]{color:var(--vocs-color_textAccent)}.vocs_MobileTopNav_outlinePopover{display:none;overflow-y:scroll;padding:var(--vocs-space_16);max-height:80vh}.vocs_MobileTopNav_section{align-items:center;display:flex;height:100%;gap:var(--vocs-space_16)}.vocs_MobileTopNav_separator{background-color:var(--vocs-color_border);height:1.75em;width:1px}.vocs_MobileTopNav_sidebarPopover{display:none;overflow-y:scroll;padding:0 var(--vocs-sidebar_horizontalPadding);max-height:80vh;width:var(--vocs-sidebar_width)}.vocs_MobileTopNav_title{font-size:var(--vocs-fontSize_18);font-weight:var(--vocs-fontWeight_semibold);line-height:var(--vocs-lineHeight_heading)}.vocs_MobileTopNav_topNavPopover{display:none;overflow-y:scroll;padding:var(--vocs-sidebar_verticalPadding) var(--vocs-sidebar_horizontalPadding);max-height:80vh;width:var(--vocs-sidebar_width)}@media screen and (max-width: 1080px){.vocs_MobileTopNav,.vocs_MobileTopNav_curtain{display:flex}.vocs_MobileTopNav_outlinePopover{display:block;max-width:300px}.vocs_MobileTopNav_sidebarPopover{display:block}.vocs_MobileTopNav_topNavPopover{display:flex;flex-direction:column}}@media screen and (max-width: 720px){.vocs_MobileTopNav_navigation:not(.vocs_MobileTopNav_navigation_compact){display:none}}@media screen and (min-width: 721px){.vocs_MobileTopNav_navigation.vocs_MobileTopNav_navigation_compact{display:none}}.vocs_Outline{width:100%}.vocs_Outline_nav{display:flex;flex-direction:column;gap:var(--vocs-space_8)}.vocs_DocsLayout_gutterRight .vocs_Outline_nav{border-left:1px solid var(--vocs-color_border);padding-left:var(--vocs-space_16)}.vocs_Outline_heading{color:var(--vocs-color_title);font-size:var(--vocs-fontSize_13);font-weight:var(--vocs-fontWeight_semibold);line-height:var(--vocs-lineHeight_heading);letter-spacing:.025em}.vocs_Outline_items .vocs_Outline_items{padding-left:var(--vocs-space_12)}.vocs_Outline_item{line-height:var(--vocs-lineHeight_outlineItem);margin-bottom:var(--vocs-space_8);overflow:hidden;text-overflow:ellipsis;text-wrap:nowrap}.vocs_Outline_link{color:var(--vocs-color_text2);font-weight:var(--vocs-fontWeight_medium);font-size:var(--vocs-fontSize_13);transition:color .1s}.vocs_Outline_link[data-active=true]{color:var(--vocs-color_textAccent)}.vocs_Outline_link[data-active=true]:hover{color:var(--vocs-color_textAccentHover)}.vocs_Outline_link:hover{color:var(--vocs-color_text)}.vocs_Popover{background-color:var(--vocs-color_background2);border:1px solid var(--vocs-color_border);border-radius:var(--vocs-borderRadius_4);margin:0 var(--vocs-space_6);z-index:var(--vocs-zIndex_popover)}.vocs_Sidebar{display:flex;flex-direction:column;font-size:var(--vocs-fontSize_14);overflow-y:auto;width:var(--vocs-sidebar_width)}.vocs_Sidebar_backLink{text-align:left}.vocs_Sidebar_divider{background-color:var(--vocs-color_border);width:100%;height:1px}.vocs_Sidebar_navigation{outline:0}.vocs_Sidebar_navigation:first-child{padding-top:var(--vocs-space_16)}.vocs_Sidebar_group{display:flex;flex-direction:column}.vocs_Sidebar_logo{align-items:center;display:flex;height:var(--vocs-topNav_height);padding-top:var(--vocs-space_4)}.vocs_Sidebar_logoWrapper{background-color:var(--vocs-color_backgroundDark);position:sticky;top:0;z-index:var(--vocs-zIndex_gutterTopCurtain)}.vocs_Sidebar_section{display:flex;flex-direction:column;font-size:1em}.vocs_Sidebar_navigation>.vocs_Sidebar_group>.vocs_Sidebar_section+.vocs_Sidebar_section{border-top:1px solid var(--vocs-color_border)}.vocs_Sidebar_levelCollapsed{gap:var(--vocs-space_4);padding-bottom:var(--vocs-space_12)}.vocs_Sidebar_levelInset{border-left:1px solid var(--vocs-color_border);font-size:var(--vocs-fontSize_13);margin-top:var(--vocs-space_8);padding-left:var(--vocs-space_12)}.vocs_Sidebar_levelInset.vocs_Sidebar_levelInset.vocs_Sidebar_levelInset{font-weight:var(--vocs-fontWeight_regular);padding-top:0;padding-bottom:0}.vocs_Sidebar_items{display:flex;flex-direction:column;gap:.625em;padding-top:var(--vocs-space_16);padding-bottom:var(--vocs-space_16);font-weight:var(--vocs-fontWeight_medium)}.vocs_Sidebar_level .vocs_Sidebar_items{padding-top:var(--vocs-space_6)}.vocs_Sidebar_item{color:var(--vocs-color_text3);letter-spacing:.25px;line-height:var(--vocs-lineHeight_sidebarItem);width:100%;transition:color .1s}.vocs_Sidebar_item:hover{color:var(--vocs-color_text)}.vocs_Sidebar_item[data-active=true]{color:var(--vocs-color_textAccent)}.vocs_Sidebar_sectionHeader{align-items:center;display:flex;justify-content:space-between}.vocs_Sidebar_level>.vocs_Sidebar_sectionHeader{padding-top:var(--vocs-space_12)}.vocs_Sidebar_sectionHeaderActive{color:var(--vocs-color_text)}.vocs_Sidebar_sectionTitle{color:var(--vocs-color_title);font-size:var(--vocs-fontSize_14);font-weight:var(--vocs-fontWeight_semibold);letter-spacing:.25px;width:100%}.vocs_Sidebar_sectionCollapse{color:var(--vocs-color_text3);transform:rotate(90deg);transition:transform .25s}.vocs_Sidebar_sectionCollapseActive{transform:rotate(0)}@media screen and (max-width: 1080px){.vocs_Sidebar{width:100%}.vocs_Sidebar_logoWrapper{display:none}}.vocs_SkipLink{background:var(--vocs-color_background);border-radius:var(--vocs-borderRadius_4);color:var(--vocs-color_link);font-size:var(--vocs-fontSize_14);font-weight:var(--vocs-fontWeight_semibold);left:var(--vocs-space_8);padding:var(--vocs-space_8) var(--vocs-space_16);position:fixed;text-decoration:none;top:var(--vocs-space_8);z-index:999}.vocs_SkipLink:focus{clip:auto;clip-path:none;height:auto;width:auto}@layer vocs_preflight{*,:before,:after{box-sizing:border-box;border-width:0;border-style:solid;border-color:#e5e7eb}:before,:after{--tw-content: ""}html,:host{line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;-o-tab-size:4;tab-size:4;font-family:ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji";font-feature-settings:normal;font-variation-settings:normal;-webkit-tap-highlight-color:transparent}body{margin:0;line-height:inherit}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-feature-settings:normal;font-variation-settings:normal;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}button,input,optgroup,select,textarea{font-family:inherit;font-feature-settings:inherit;font-variation-settings:inherit;font-size:100%;font-weight:inherit;line-height:inherit;letter-spacing:inherit;color:inherit;margin:0;padding:0}button,select{text-transform:none}button,input:where([type=button]),input:where([type=reset]),input:where([type=submit]){-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre{margin:0}fieldset{margin:0;padding:0}legend{padding:0}ol,ul,menu{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::-moz-placeholder,textarea::-moz-placeholder{opacity:1;color:#9ca3af}input::placeholder,textarea::placeholder{opacity:1;color:#9ca3af}button,[role=button]{cursor:pointer}:disabled{cursor:default}img,svg,video,canvas,audio,iframe,embed,object{display:block;vertical-align:middle}img,video{max-width:100%;height:auto}[hidden]{display:none}*,:before,:after{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }::backdrop{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }}.mb-4{margin-bottom:1rem}.mt-8{margin-top:2rem}.block{display:block}.flex{display:flex}.w-full{width:100%}.max-w-5xl{max-width:64rem}.flex-col{flex-direction:column}.flex-wrap{flex-wrap:wrap}.justify-between{justify-content:space-between}.gap-2{gap:.5rem}.gap-4{gap:1rem}.rounded{border-radius:.25rem}.border{border-width:1px}.border-b{border-bottom-width:1px}.border-\[--vocs-color_codeInlineBorder\]{border-color:var(--vocs-color_codeInlineBorder)}.border-gray-500{--tw-border-opacity: 1;border-color:rgb(107 114 128 / var(--tw-border-opacity))}.border-transparent{border-color:transparent}.bg-\[--vocs-color_codeBlockBackground\]{background-color:var(--vocs-color_codeBlockBackground)}.bg-\[--vocs-color_codeTitleBackground\]{background-color:var(--vocs-color_codeTitleBackground)}.p-2{padding:.5rem}.p-3{padding:.75rem}.p-4{padding:1rem}.px-2{padding-left:.5rem;padding-right:.5rem}.py-2{padding-top:.5rem;padding-bottom:.5rem}.py-4{padding-top:1rem;padding-bottom:1rem}.pb-2{padding-bottom:.5rem}.text-left{text-align:left}.text-3xl{font-size:1.875rem;line-height:2.25rem}.text-lg{font-size:1.125rem;line-height:1.75rem}.text-sm{font-size:.875rem;line-height:1.25rem}.font-bold{font-weight:700}.text-\[--vocs-color_heading\]{color:var(--vocs-color_heading)}.text-\[--vocs-color_text3\]{color:var(--vocs-color_text3)}.hover\:text-\[--vocs-color_text\]:hover{color:var(--vocs-color_text)}@media (min-width: 768px){.md\:flex-row{flex-direction:row}}.\[\&\[data-state\=\'active\'\]\]\:border-\[--vocs-color_borderAccent\][data-state=active]{border-color:var(--vocs-color_borderAccent)}.\[\&\[data-state\=\'active\'\]\]\:text-\[--vocs-color_text\][data-state=active]{color:var(--vocs-color_text)}.vocs_Section{border-top:1px solid var(--vocs-color_border);margin-top:var(--vocs-space_56);padding-top:var(--vocs-space_24)}.vocs_Anchor{color:var(--vocs-color_link);font-weight:var(--vocs-fontWeight_medium);text-underline-offset:var(--vocs-space_2);text-decoration:underline;transition:color .1s}.vocs_Callout_danger .vocs_Anchor{color:var(--vocs-color_dangerText)}.vocs_Callout_danger .vocs_Anchor:hover{color:var(--vocs-color_dangerTextHover)}.vocs_Callout_info .vocs_Anchor{color:var(--vocs-color_infoText)}.vocs_Callout_info .vocs_Anchor:hover{color:var(--vocs-color_infoTextHover)}.vocs_Callout_success .vocs_Anchor{color:var(--vocs-color_successText)}.vocs_Callout_success .vocs_Anchor:hover{color:var(--vocs-color_successTextHover)}.vocs_Callout_tip .vocs_Anchor{color:var(--vocs-color_tipText)}.vocs_Callout_tip .vocs_Anchor:hover{color:var(--vocs-color_tipTextHover)}.vocs_Callout_warning .vocs_Anchor{color:var(--vocs-color_warningText)}.vocs_Callout_warning .vocs_Anchor:hover{color:var(--vocs-color_warningTextHover)}.vocs_Anchor:hover{color:var(--vocs-color_linkHover)}.vocs_Section a.data-footnote-backref{color:var(--vocs-color_link);font-weight:var(--vocs-fontWeight_medium);text-underline-offset:var(--vocs-space_2);text-decoration:underline}.vocs_Section a.data-footnote-backref:hover{color:var(--vocs-color_linkHover)}.vocs_Autolink{opacity:0;margin-top:.1em;position:absolute;transition:opacity .1s,transform .1s;transform:translate(-2px) scale(.98)}.vocs_Heading:hover .vocs_Autolink{opacity:1;transform:translate(0) scale(1)}.vocs_Pre_wrapper{position:relative}.vocs_Code{transition:color .1s}:not(.vocs_Pre)>.vocs_Code{background-color:var(--vocs-color_codeInlineBackground);border:1px solid var(--vocs-color_codeInlineBorder);border-radius:var(--vocs-borderRadius_4);color:var(--vocs-color_codeInlineText);font-size:var(--vocs-fontSize_code);padding:var(--vocs-space_3) var(--vocs-space_6)}.vocs_Anchor>.vocs_Code{color:var(--vocs-color_link);text-decoration:underline;text-underline-offset:var(--vocs-space_2)}.vocs_Anchor:hover>.vocs_Code{color:var(--vocs-color_linkHover)}.vocs_Callout_danger .vocs_Code{color:var(--vocs-color_dangerText)}.vocs_Callout_info .vocs_Code{color:var(--vocs-color_infoText)}.vocs_Callout_success .vocs_Code{color:var(--vocs-color_successText)}.vocs_Callout_tip .vocs_Code{color:var(--vocs-color_tipText)}.vocs_Callout_warning .vocs_Code{color:var(--vocs-color_warningText)}.vocs_Heading .vocs_Code{color:inherit}.twoslash-popup-info-hover>.vocs_Code{background-color:inherit;padding:0;text-wrap:wrap}.twoslash-popup-jsdoc .vocs_Code{display:inline}.vocs_Authors{color:var(--vocs-color_text3);font-size:var(--vocs-fontSize_14)}.vocs_Authors_authors{color:var(--vocs-color_text)}.vocs_Authors_link{text-decoration:underline;text-underline-offset:2px}.vocs_Authors_link:hover{color:var(--vocs-color_text2)}.vocs_Authors_separator{color:var(--vocs-color_text3)}.vocs_BlogPosts{display:flex;flex-direction:column;gap:var(--vocs-space_32)}.vocs_BlogPosts_description{margin-top:var(--vocs-space_16)}.vocs_BlogPosts_divider{border-color:var(--vocs-color_background4)}.vocs_BlogPosts_post:hover .vocs_BlogPosts_readMore{color:var(--vocs-color_textAccent)}.vocs_BlogPosts_title{font-size:var(--vocs-fontSize_h2);font-weight:var(--vocs-fontWeight_semibold)}.vocs_Sponsors{border-radius:var(--vocs-borderRadius_8);display:flex;flex-direction:column;gap:var(--vocs-space_4);overflow:hidden}.vocs_Sponsors_title{background-color:var(--vocs-color_background3);color:var(--vocs-color_text3);font-size:var(--vocs-fontSize_13);font-weight:var(--vocs-fontWeight_medium);padding:var(--vocs-space_4) 0;text-align:center}.vocs_Sponsors_row{display:flex;flex-direction:row;gap:var(--vocs-space_4)}.vocs_Sponsors_column{align-items:center;background-color:var(--vocs-color_background3);display:flex;justify-content:center;padding:var(--vocs-space_32);width:calc(var(--vocs_Sponsors_columns) * 100%)}.vocs_Sponsors_sponsor{transition:background-color .1s}.vocs_Sponsors_sponsor:hover{background-color:var(--vocs-color_background5)}.dark .vocs_Sponsors_sponsor:hover{background-color:var(--vocs-color_white)}.vocs_Sponsors_image{filter:grayscale(1);height:var(--vocs_Sponsors_height);transition:filter .1s}.dark .vocs_Sponsors_image{filter:grayscale(1) invert(1)}.vocs_Sponsors_column:hover .vocs_Sponsors_image{filter:none}.vocs_AutolinkIcon{background-color:var(--vocs-color_textAccent);display:inline-block;margin-left:.25em;height:.8em;width:.8em;-webkit-mask:var(--vocs_AutolinkIcon_iconUrl) no-repeat center / contain;mask:var(--vocs_AutolinkIcon_iconUrl) no-repeat center / contain;transition:background-color .1s}.vocs_Autolink:hover .vocs_AutolinkIcon{background-color:var(--vocs-color_textAccentHover)}@media screen and (max-width: 720px){.vocs_CodeGroup{border-radius:0;border-right:none;border-left:none;margin-left:calc(-1 * var(--vocs-space_16));margin-right:calc(-1 * var(--vocs-space_16))}}.vocs_Steps{border-left:1.5px solid var(--vocs-color_border);counter-reset:step;padding-left:var(--vocs-space_24);margin-left:var(--vocs-space_12);margin-top:var(--vocs-space_24)}@media screen and (max-width: 720px){.vocs_Steps{margin-left:var(--vocs-space_4)}}.vocs_Subtitle{color:var(--vocs-color_text2);font-size:var(--vocs-fontSize_subtitle);font-weight:var(--vocs-fontWeight_regular);letter-spacing:-.02em;line-height:var(--vocs-lineHeight_heading);margin-top:var(--vocs-space_4);text-wrap:balance}.vocs_HorizontalRule{border-top:1px solid var(--vocs-color_hr);margin-bottom:var(--vocs-space_16)}.vocs_ListItem{line-height:var(--vocs-lineHeight_listItem)}.vocs_ListItem:not(:last-child){margin-bottom:.5em}.vocs_CopyButton{align-items:center;background-color:color-mix(in srgb,var(--vocs-color_background2) 75%,transparent);-webkit-backdrop-filter:blur(1px);backdrop-filter:blur(1px);border:1px solid var(--vocs-color_border);border-radius:var(--vocs-borderRadius_4);color:var(--vocs-color_text3);display:flex;justify-content:center;position:absolute;right:var(--vocs-space_18);top:var(--vocs-space_18);opacity:0;height:32px;width:32px;transition:background-color .15s,opacity .15s;z-index:var(--vocs-zIndex_surface)}.vocs_CopyButton:hover{background-color:var(--vocs-color_background4);transition:background-color .05s}.vocs_CopyButton:focus-visible{background-color:var(--vocs-color_background4);opacity:1;transition:background-color .05s}.vocs_CopyButton:hover:active{background-color:var(--vocs-color_background2)}.vocs_Pre:hover .vocs_CopyButton{opacity:1}.vocs_CodeTitle{align-items:center;background-color:var(--vocs-color_codeTitleBackground);border-bottom:1px solid var(--vocs-color_border);color:var(--vocs-color_text3);display:flex;font-size:var(--vocs-fontSize_14);font-weight:var(--vocs-fontWeight_medium);gap:var(--vocs-space_6);padding:var(--vocs-space_8) var(--vocs-space_24)}.vocs_CodeGroup .vocs_CodeTitle{display:none}@media screen and (max-width: 720px){.vocs_CodeTitle{border-radius:0;padding-left:var(--vocs-space_16);padding-right:var(--vocs-space_16)}}.vocs_CalloutTitle{font-size:var(--vocs-fontSize_12);letter-spacing:.02em;text-transform:uppercase}.vocs_Strong{font-weight:var(--vocs-fontWeight_semibold)}.vocs_Content>.vocs_Strong{display:block}.vocs_Callout>.vocs_Strong{display:block;margin-bottom:var(--vocs-space_4)}.vocs_Summary{cursor:pointer}.vocs_Summary.vocs_Summary:hover{text-decoration:underline}.vocs_Details[open] .vocs_Summary{margin-bottom:var(--vocs-space_4)}.vocs_Callout .vocs_Summary{font-weight:var(--vocs-fontWeight_medium)}.vocs_Details .vocs_Summary.vocs_Summary{margin-bottom:0}.vocs_Table{display:block;border-collapse:collapse;overflow-x:auto;margin-bottom:var(--vocs-space_24)}.vocs_TableCell{border:1px solid var(--vocs-color_tableBorder);font-size:var(--vocs-fontSize_td);padding:var(--vocs-space_8) var(--vocs-space_12)}.vocs_TableHeader{border:1px solid var(--vocs-color_tableBorder);background-color:var(--vocs-color_tableHeaderBackground);color:var(--vocs-color_tableHeaderText);font-size:var(--vocs-fontSize_th);font-weight:var(--vocs-fontWeight_medium);padding:var(--vocs-space_8) var(--vocs-space_12);text-align:left}.vocs_TableHeader[align=center]{text-align:center}.vocs_TableHeader[align=right]{text-align:right}.vocs_TableRow{border-top:1px solid var(--vocs-color_tableBorder)}.vocs_TableRow:nth-child(2n){background-color:var(--vocs-color_background2)}@media screen and (max-width: 720px){.Tabs__root{border-radius:0;margin-left:calc(-1 * var(--vocs-space_16));margin-right:calc(-1 * var(--vocs-space_16));padding-left:var(--vocs-space_16);padding-right:var(--vocs-space_16)}.Tabs__list{margin-left:calc(-1 * var(--vocs-space_16));margin-right:calc(-1 * var(--vocs-space_16))}}.vocs_Button_button{align-items:center;background:var(--vocs-color_background4);border:1px solid var(--vocs-color_border);border-radius:var(--vocs-borderRadius_4);color:var(--vocs-color_text);display:flex;font-size:var(--vocs-fontSize_14);font-weight:var(--vocs-fontWeight_medium);height:36px;padding:0 var(--vocs-space_16);transition:background .1s;white-space:pre;width:-moz-fit-content;width:fit-content}.vocs_Button_button:hover{background:var(--vocs-color_background3)}.vocs_Button_button_accent{background:var(--vocs-color_backgroundAccent);color:var(--vocs-color_backgroundAccentText);border:1px solid var(--vocs-color_borderAccent)}.vocs_Button_button_accent:hover{background:var(--vocs-color_backgroundAccentHover)}.vocs_HomePage{align-items:center;display:flex;flex-direction:column;padding-top:var(--vocs-space_64);text-align:center;gap:var(--vocs-space_32)}.vocs_HomePage_logo{display:flex;justify-content:center;height:48px}.vocs_HomePage_title{font-size:var(--vocs-fontSize_64);font-weight:var(--vocs-fontWeight_semibold);line-height:1em}.vocs_HomePage_tagline{color:var(--vocs-color_text2);font-size:var(--vocs-fontSize_20);font-weight:var(--vocs-fontWeight_medium);line-height:1.5em}.vocs_HomePage_title+.vocs_HomePage_tagline{margin-top:calc(-1 * var(--vocs-space_8))}.vocs_HomePage_description{color:var(--vocs-color_text);font-size:var(--vocs-fontSize_16);font-weight:var(--vocs-fontWeight_regular);line-height:var(--vocs-lineHeight_paragraph)}.vocs_HomePage_tagline+.vocs_HomePage_description{margin-top:calc(-1 * var(--vocs-space_8))}.vocs_HomePage_buttons{display:flex;gap:var(--vocs-space_16)}.vocs_HomePage_tabs{min-width:300px}.vocs_HomePage_tabsList{display:flex;justify-content:center}.vocs_HomePage_tabsContent{color:var(--vocs-color_text2);font-family:var(--vocs-fontFamily_mono)}.vocs_HomePage_packageManager{color:var(--vocs-color_textAccent)}@media screen and (max-width: 720px){.vocs_HomePage{padding-top:var(--vocs-space_32)}.vocs_HomePage_logo{height:36px}} diff --git a/assets/style-tY_lfRBg.css b/assets/style-tY_lfRBg.css new file mode 100644 index 00000000..51fa0138 --- /dev/null +++ b/assets/style-tY_lfRBg.css @@ -0,0 +1 @@ +@layer vocs_preflight;:root{--vocs-color_white: rgba(255 255 255 / 100%);--vocs-color_black: rgba(0 0 0 / 100%);--vocs-color_background: rgba(255 255 255 / 100%);--vocs-color_background2: #f9f9f9;--vocs-color_background3: #f6f6f6;--vocs-color_background4: #f0f0f0;--vocs-color_background5: #e8e8e8;--vocs-color_backgroundAccent: #5b5bd6;--vocs-color_backgroundAccentHover: #5151cd;--vocs-color_backgroundAccentText: rgba(255 255 255 / 100%);--vocs-color_backgroundBlueTint: #008cff0b;--vocs-color_backgroundDark: #f9f9f9;--vocs-color_backgroundGreenTint: #00a32f0b;--vocs-color_backgroundGreenTint2: #00a43319;--vocs-color_backgroundIrisTint: #0000ff07;--vocs-color_backgroundRedTint: #ff000008;--vocs-color_backgroundRedTint2: #f3000d14;--vocs-color_backgroundYellowTint: #f4dd0016;--vocs-color_border: #ececec;--vocs-color_border2: #cecece;--vocs-color_borderAccent: #5753c6;--vocs-color_borderBlue: #009eff2a;--vocs-color_borderGreen: #019c393b;--vocs-color_borderIris: #dadcff;--vocs-color_borderRed: #ff000824;--vocs-color_borderYellow: #ffd5008f;--vocs-color_heading: #202020;--vocs-color_inverted: rgba(0 0 0 / 100%);--vocs-color_shadow: #0000000f;--vocs-color_shadow2: #00000006;--vocs-color_text: #4c4c4c;--vocs-color_text2: #646464;--vocs-color_text3: #838383;--vocs-color_text4: #bbbbbb;--vocs-color_textAccent: #5753c6;--vocs-color_textAccentHover: #272962;--vocs-color_textBlue: #0d74ce;--vocs-color_textBlueHover: #113264;--vocs-color_textGreen: #218358;--vocs-color_textGreenHover: #193b2d;--vocs-color_textIris: #5753c6;--vocs-color_textIrisHover: #272962;--vocs-color_textRed: #ce2c31;--vocs-color_textRedHover: #641723;--vocs-color_textYellow: #9e6c00;--vocs-color_textYellowHover: #473b1f;--vocs-color_title: #202020}:root.dark{--vocs-color_white: rgba(255 255 255 / 100%);--vocs-color_black: rgba(0 0 0 / 100%);--vocs-color_background: #232225;--vocs-color_background2: #2b292d;--vocs-color_background3: #2e2c31;--vocs-color_background4: #323035;--vocs-color_background5: #3c393f;--vocs-color_backgroundAccent: #5b5bd6;--vocs-color_backgroundAccentHover: #5753c6;--vocs-color_backgroundAccentText: rgba(255 255 255 / 100%);--vocs-color_backgroundBlueTint: #008ff519;--vocs-color_backgroundDark: #1e1d1f;--vocs-color_backgroundGreenTint: #00a43319;--vocs-color_backgroundGreenTint2: #00a83829;--vocs-color_backgroundIrisTint: #000bff19;--vocs-color_backgroundRedTint: #f3000d14;--vocs-color_backgroundRedTint2: #ff000824;--vocs-color_backgroundYellowTint: #f4dd0016;--vocs-color_border: #3c393f;--vocs-color_border2: #6f6d78;--vocs-color_borderAccent: #6e6ade;--vocs-color_borderBlue: #009eff2a;--vocs-color_borderGreen: #019c393b;--vocs-color_borderIris: #303374;--vocs-color_borderRed: #ff000824;--vocs-color_borderYellow: #f4dd0016;--vocs-color_heading: #e9e9ea;--vocs-color_inverted: rgba(255 255 255 / 100%);--vocs-color_shadow: #00000000;--vocs-color_shadow2: rgba(0, 0, 0, .05);--vocs-color_text: #cfcfcf;--vocs-color_text2: #bdbdbe;--vocs-color_text3: #a7a7a8;--vocs-color_text4: #656567;--vocs-color_textAccent: #b1a9ff;--vocs-color_textAccentHover: #6e6ade;--vocs-color_textBlue: #70b8ff;--vocs-color_textBlueHover: #3b9eff;--vocs-color_textGreen: #3dd68c;--vocs-color_textGreenHover: #33b074;--vocs-color_textIris: #b1a9ff;--vocs-color_textIrisHover: #6e6ade;--vocs-color_textRed: #ff9592;--vocs-color_textRedHover: #ec5d5e;--vocs-color_textYellow: #f5e147;--vocs-color_textYellowHover: #e2a336;--vocs-color_title: rgba(255 255 255 / 100%)}:root{--vocs-color_blockquoteBorder: var(--vocs-color_border);--vocs-color_blockquoteText: var(--vocs-color_text3);--vocs-color_dangerBackground: var(--vocs-color_backgroundRedTint);--vocs-color_dangerBorder: var(--vocs-color_borderRed);--vocs-color_dangerText: var(--vocs-color_textRed);--vocs-color_dangerTextHover: var(--vocs-color_textRedHover);--vocs-color_infoBackground: var(--vocs-color_backgroundBlueTint);--vocs-color_infoBorder: var(--vocs-color_borderBlue);--vocs-color_infoText: var(--vocs-color_textBlue);--vocs-color_infoTextHover: var(--vocs-color_textBlueHover);--vocs-color_noteBackground: var(--vocs-color_background2);--vocs-color_noteBorder: var(--vocs-color_border);--vocs-color_noteText: var(--vocs-color_text2);--vocs-color_successBackground: var(--vocs-color_backgroundGreenTint);--vocs-color_successBorder: var(--vocs-color_borderGreen);--vocs-color_successText: var(--vocs-color_textGreen);--vocs-color_successTextHover: var(--vocs-color_textGreenHover);--vocs-color_tipBackground: var(--vocs-color_backgroundIrisTint);--vocs-color_tipBorder: var(--vocs-color_borderIris);--vocs-color_tipText: var(--vocs-color_textIris);--vocs-color_tipTextHover: var(--vocs-color_textIrisHover);--vocs-color_warningBackground: var(--vocs-color_backgroundYellowTint);--vocs-color_warningBorder: var(--vocs-color_borderYellow);--vocs-color_warningText: var(--vocs-color_textYellow);--vocs-color_warningTextHover: var(--vocs-color_textYellowHover);--vocs-color_codeBlockBackground: var(--vocs-color_background2);--vocs-color_codeCharacterHighlightBackground: var(--vocs-color_background5);--vocs-color_codeHighlightBackground: var(--vocs-color_background4);--vocs-color_codeHighlightBorder: var(--vocs-color_border2);--vocs-color_codeInlineBackground: var(--vocs-color_background4);--vocs-color_codeInlineBorder: var(--vocs-color_border);--vocs-color_codeInlineText: var(--vocs-color_textAccent);--vocs-color_codeTitleBackground: var(--vocs-color_background4);--vocs-color_lineNumber: var(--vocs-color_text4);--vocs-color_hr: var(--vocs-color_border);--vocs-color_link: var(--vocs-color_textAccent);--vocs-color_linkHover: var(--vocs-color_textAccentHover);--vocs-color_searchHighlightBackground: var(--vocs-color_borderAccent);--vocs-color_searchHighlightText: var(--vocs-color_background);--vocs-color_tableBorder: var(--vocs-color_border);--vocs-color_tableHeaderBackground: var(--vocs-color_background2);--vocs-color_tableHeaderText: var(--vocs-color_text2);--vocs-borderRadius_0: 0;--vocs-borderRadius_2: 2px;--vocs-borderRadius_3: 3px;--vocs-borderRadius_4: 4px;--vocs-borderRadius_6: 6px;--vocs-borderRadius_8: 8px;--vocs-fontFamily_default: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;--vocs-fontFamily_mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;--vocs-fontSize_9: .5625rem;--vocs-fontSize_11: .6875rem;--vocs-fontSize_12: .75rem;--vocs-fontSize_13: .8125rem;--vocs-fontSize_14: .875rem;--vocs-fontSize_15: .9375rem;--vocs-fontSize_16: 1rem;--vocs-fontSize_18: 1.125rem;--vocs-fontSize_20: 1.25rem;--vocs-fontSize_24: 1.5rem;--vocs-fontSize_32: 2rem;--vocs-fontSize_64: 3rem;--vocs-fontSize_root: 16px;--vocs-fontSize_h1: var(--vocs-fontSize_32);--vocs-fontSize_h2: var(--vocs-fontSize_24);--vocs-fontSize_h3: var(--vocs-fontSize_20);--vocs-fontSize_h4: var(--vocs-fontSize_18);--vocs-fontSize_h5: var(--vocs-fontSize_16);--vocs-fontSize_h6: var(--vocs-fontSize_16);--vocs-fontSize_calloutCodeBlock: .8em;--vocs-fontSize_code: .875em;--vocs-fontSize_codeBlock: var(--vocs-fontSize_14);--vocs-fontSize_lineNumber: var(--vocs-fontSize_15);--vocs-fontSize_subtitle: var(--vocs-fontSize_20);--vocs-fontSize_th: var(--vocs-fontSize_14);--vocs-fontSize_td: var(--vocs-fontSize_14);--vocs-fontWeight_regular: 300;--vocs-fontWeight_medium: 400;--vocs-fontWeight_semibold: 500;--vocs-lineHeight_code: 1.75em;--vocs-lineHeight_heading: 1.5em;--vocs-lineHeight_listItem: 1.5em;--vocs-lineHeight_outlineItem: 1em;--vocs-lineHeight_paragraph: 1.75em;--vocs-lineHeight_sidebarItem: 1.375em;--vocs-space_0: 0px;--vocs-space_1: 1px;--vocs-space_2: .125rem;--vocs-space_3: .1875rem;--vocs-space_4: .25rem;--vocs-space_6: .375rem;--vocs-space_8: .5rem;--vocs-space_12: .75rem;--vocs-space_14: .875rem;--vocs-space_16: 1rem;--vocs-space_18: 1.125rem;--vocs-space_20: 1.25rem;--vocs-space_22: 1.375rem;--vocs-space_24: 1.5rem;--vocs-space_28: 1.75rem;--vocs-space_32: 2rem;--vocs-space_36: 2.25rem;--vocs-space_40: 2.5rem;--vocs-space_44: 2.75rem;--vocs-space_48: 3rem;--vocs-space_56: 3.5rem;--vocs-space_64: 4rem;--vocs-space_72: 4.5rem;--vocs-space_80: 5rem;--vocs-zIndex_backdrop: 69420;--vocs-zIndex_drawer: 69421;--vocs-zIndex_gutterRight: 11;--vocs-zIndex_gutterLeft: 14;--vocs-zIndex_gutterTop: 13;--vocs-zIndex_gutterTopCurtain: 12;--vocs-zIndex_popover: 69422;--vocs-zIndex_surface: 10;--vocs-content_horizontalPadding: var(--vocs-space_48);--vocs-content_verticalPadding: var(--vocs-space_32);--vocs-content_width: calc(70ch + (var(--vocs-content_horizontalPadding) * 2));--vocs-outline_width: 280px;--vocs-sidebar_horizontalPadding: var(--vocs-space_24);--vocs-sidebar_verticalPadding: var(--vocs-space_0);--vocs-sidebar_width: 300px;--vocs-topNav_height: 60px;--vocs-topNav_horizontalPadding: var(--vocs-content_horizontalPadding);--vocs-topNav_curtainHeight: 40px}@media screen and (max-width: 1080px){:root{--vocs-content_verticalPadding: var(--vocs-space_48);--vocs-content_horizontalPadding: var(--vocs-space_24);--vocs-sidebar_horizontalPadding: var(--vocs-space_16);--vocs-sidebar_verticalPadding: var(--vocs-space_16);--vocs-sidebar_width: 300px;--vocs-topNav_height: 48px}}@media screen and (max-width: 720px){:root{--vocs-content_horizontalPadding: var(--vocs-space_16);--vocs-content_verticalPadding: var(--vocs-space_32)}}.vocs_Banner{background-color:var(--vocs_Banner_bannerBackgroundColor, var(--vocs-color_backgroundAccent));border-bottom:1px solid var(--vocs_Banner_bannerBackgroundColor, var(--vocs-color_borderAccent));color:var(--vocs_Banner_bannerTextColor, var(--vocs-color_backgroundAccentText));height:var(--vocs_Banner_bannerHeight, 36px);position:fixed;top:0;width:100%;z-index:var(--vocs-zIndex_gutterTop)}.vocs_Banner_content{font-size:var(--vocs-fontSize_14);overflow-x:scroll;padding-left:var(--vocs-space_8);padding-right:var(--vocs-space_8);margin-right:var(--vocs-space_24);-ms-overflow-style:none;scrollbar-width:none;white-space:pre}.vocs_Banner_content::-webkit-scrollbar{display:none}.vocs_Banner_inner{align-items:center;display:flex;height:100%;justify-content:center;position:relative;width:100%}.vocs_Banner_closeButton{align-items:center;background-color:var(--vocs_Banner_bannerBackgroundColor, var(--vocs-color_backgroundAccent));display:flex;justify-content:center;height:100%;position:absolute;right:0;width:var(--vocs-space_24)}.vocs_Banner_content a{font-weight:400;text-underline-offset:2px;text-decoration:underline}@media screen and (max-width: 1080px){.vocs_Banner{position:initial}}.vocs_DocsLayout{--vocs_DocsLayout_leftGutterWidth: max(calc((100vw - var(--vocs-content_width)) / 2), var(--vocs-sidebar_width))}.vocs_DocsLayout_content{background-color:var(--vocs-color_background);margin-left:auto;margin-right:auto;max-width:var(--vocs-content_width);min-height:100vh}.vocs_DocsLayout_content_withSidebar{margin-left:var(--vocs_DocsLayout_leftGutterWidth);margin-right:unset}.vocs_DocsLayout_gutterLeft{background-color:var(--vocs-color_backgroundDark);justify-content:flex-end;display:flex;height:100vh;position:fixed;top:var(--vocs_Banner_bannerHeight, 0px);width:var(--vocs_DocsLayout_leftGutterWidth);z-index:var(--vocs-zIndex_gutterLeft)}.vocs_DocsLayout_gutterTop{align-items:center;background-color:color-mix(in srgb,var(--vocs-color_background) 98%,transparent);height:var(--vocs-topNav_height);width:100vw;z-index:var(--vocs-zIndex_gutterTop)}.vocs_DocsLayout_gutterTopCurtain{display:flex;height:var(--vocs-topNav_curtainHeight);width:100vw;z-index:var(--vocs-zIndex_gutterTopCurtain)}.vocs_DocsLayout_gutterTopCurtain_hidden{background:unset;display:none}.vocs_DocsLayout_gutterRight{display:flex;height:100vh;overflow-y:auto;padding:calc(var(--vocs-content_verticalPadding) + var(--vocs-topNav_height) + var(--vocs-space_8)) var(--vocs-space_24) 0 0;position:fixed;top:var(--vocs_Banner_bannerHeight, 0px);right:0;width:calc((100vw - var(--vocs-content_width)) / 2);z-index:var(--vocs-zIndex_gutterRight)}.vocs_DocsLayout_gutterRight::-webkit-scrollbar{display:none}.vocs_DocsLayout_gutterRight_withSidebar{width:calc(100vw - var(--vocs-content_width) - var(--vocs_DocsLayout_leftGutterWidth))}.vocs_DocsLayout_outlinePopover{display:none;overflow-y:auto;height:calc(100vh - var(--vocs-topNav_height) - var(--vocs-topNav_curtainHeight))}.vocs_DocsLayout_sidebar{padding:var(--vocs-space_0) var(--vocs-sidebar_horizontalPadding) var(--vocs-space_24) var(--vocs-sidebar_horizontalPadding)}.vocs_DocsLayout_sidebarDrawer{display:none}@media screen and (max-width: 720px){.vocs_DocsLayout_content{overflow-x:hidden}}@media screen and (min-width: 1081px){.vocs_DocsLayout_content_withTopNav{padding-top:calc(var(--vocs-topNav_height) + var(--vocs_Banner_bannerHeight, 0px))}.vocs_DocsLayout_gutterTop{padding-left:calc(var(--vocs_DocsLayout_leftGutterWidth) - var(--vocs-sidebar_width));padding-right:calc(var(--vocs_DocsLayout_leftGutterWidth) - var(--vocs-sidebar_width));position:fixed;top:var(--vocs_Banner_bannerHeight, 0px)}.vocs_DocsLayout_gutterTop_offsetLeftGutter{padding-left:var(--vocs_DocsLayout_leftGutterWidth)}.vocs_DocsLayout_gutterTopCurtain{position:fixed;top:calc(var(--vocs-topNav_height) + var(--vocs_Banner_bannerHeight, 0px))}.vocs_DocsLayout_gutterTopCurtain_withSidebar{margin-left:var(--vocs_DocsLayout_leftGutterWidth)}}@media screen and (max-width: 1080px){.vocs_DocsLayout_content{margin-left:auto;margin-right:auto}.vocs_DocsLayout_gutterLeft{display:none}.vocs_DocsLayout_gutterTop{position:initial}.vocs_DocsLayout_gutterTop_sticky,.vocs_DocsLayout_gutterTopCurtain{position:sticky;top:0}.vocs_DocsLayout_outlinePopover,.vocs_DocsLayout_sidebarDrawer{display:block}}@media screen and (max-width: 1280px){.vocs_DocsLayout_gutterRight{display:none}}@layer vocs_reset_reset;html,body,.vocs_DocsLayout{font-family:var(--vocs-fontFamily_default);font-feature-settings:"rlig" 1,"calt" 1;font-size:var(--vocs-fontSize_root)}button,select{text-transform:none;-webkit-appearance:button;-moz-appearance:button;appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{outline:auto}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;-moz-appearance:textfield;appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none;-moz-appearance:none;appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;-moz-appearance:button;appearance:button;font:inherit}summary{display:list-item}blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre{margin:0}fieldset{margin:0;padding:0}legend{padding:0}ol,ul,menu{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::-moz-placeholder,textarea::-moz-placeholder{opacity:1}input::placeholder,textarea::placeholder{opacity:1}button,[role=button]{cursor:pointer}:disabled{overflow:default}img,svg,video,canvas,audio,iframe,embed,object{display:block;vertical-align:middle}img,video{max-width:100%;height:auto}[hidden]{display:none}@layer vocs_reset_reset{*,:before,:after{box-sizing:border-box;border-width:0;border-style:solid}*:focus-visible{outline:2px solid var(--vocs-color_borderAccent);outline-offset:2px;outline-style:dashed}html,body{-webkit-text-size-adjust:100%;-moz-text-size-adjust:100%;text-size-adjust:100%;-moz-tab-size:4;-o-tab-size:4;tab-size:4;line-height:inherit;margin:0;padding:0;border:0;text-rendering:optimizeLegibility}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit;text-wrap:balance}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:var(--vocs-fontFamily_mono);font-size:var(--vocs-fontSize_root)}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{border-color:inherit;border-collapse:collapse;text-indent:0}button,input,optgroup,select,textarea{font-family:inherit;font-feature-settings:inherit;font-variation-settings:inherit;font-size:100%;font-weight:inherit;line-height:inherit;color:inherit;margin:0;padding:0}}.vocs_Tabs{background-color:var(--vocs-color_codeBlockBackground);border:1px solid var(--vocs-color_codeInlineBorder);border-radius:var(--vocs-borderRadius_4)}.vocs_Tabs_list{background-color:var(--vocs-color_codeTitleBackground);border-bottom:1px solid var(--vocs-color_border);border-top-left-radius:var(--vocs-borderRadius_4);border-top-right-radius:var(--vocs-borderRadius_4);display:flex;padding:var(--vocs-space_0) var(--vocs-space_14)}.vocs_Tabs_trigger{border-bottom:2px solid transparent;color:var(--vocs-color_text3);font-size:var(--vocs-fontSize_14);font-weight:var(--vocs-fontWeight_medium);padding:var(--vocs-space_8) var(--vocs-space_8) var(--vocs-space_6) var(--vocs-space_8);transition:color .1s}.vocs_Tabs_trigger:hover{color:var(--vocs-color_text)}.vocs_Tabs_trigger[data-state=active]{border-bottom:2px solid var(--vocs-color_borderAccent);color:var(--vocs-color_text)}.vocs_Tabs_content{background-color:var(--vocs-color_codeBlockBackground)}.vocs_Tabs_content:not([data-shiki=true]){padding:var(--vocs-space_20) var(--vocs-space_22)}.vocs_Tabs pre{margin-bottom:var(--vocs-space_0)}@media screen and (max-width: 720px){.vocs_Tabs_list{border-radius:0;padding:var(--vocs-space_0) var(--vocs-space_8)}.vocs_Tabs_content:not([data-shiki=true]){padding:var(--vocs-space_20) var(--vocs-space_16)}.vocs_Tabs pre{margin:unset}}.vocs_CodeBlock{border:1px solid var(--vocs-color_codeInlineBorder);border-radius:var(--vocs-borderRadius_4)}.vocs_Tabs .vocs_CodeBlock,undefined .vocs_CodeBlock{border:none;margin-left:unset;margin-right:unset}.vocs_CodeBlock code{display:grid;font-size:var(--vocs-fontSize_codeBlock)}undefined .vocs_CodeBlock code{font-size:var(--vocs-fontSize_calloutCodeBlock)}.vocs_CodeBlock pre{background-color:var(--vocs-color_codeBlockBackground);border-radius:var(--vocs-borderRadius_4);overflow-x:auto;padding:var(--vocs-space_20) var(--vocs-space_0)}undefined .vocs_CodeBlock pre{background-color:color-mix(in srgb,var(--vocs-color_codeBlockBackground) 65%,transparent)!important;border:1px solid var(--vocs-color_codeInlineBorder);border-radius:var(--vocs-borderRadius_4);padding:var(--vocs-space_12) var(--vocs-space_0)}.vocs_CodeBlock .line{border-left:2px solid transparent;padding:var(--vocs-space_0) var(--vocs-space_22);line-height:var(--vocs-lineHeight_code)}undefined .vocs_CodeBlock .line{padding:var(--vocs-space_0) var(--vocs-space_12)}.vocs_CodeBlock .twoslash-popup-info .line{padding:var(--vocs-space_0) var(--vocs-space_4)}.vocs_CodeBlock .twoslash-popup-info-hover .line{display:inline-block;padding:var(--vocs-space_0) var(--vocs-space_8)}.vocs_CodeBlock .twoslash-error-line,.vocs_CodeBlock .twoslash-tag-line{padding:var(--vocs-space_0) var(--vocs-space_22)}.vocs_CodeBlock [data-line-numbers]{counter-reset:line}.vocs_CodeBlock [data-line-numbers]>.line{padding:var(--vocs-space_0) var(--vocs-space_16)}.vocs_CodeBlock [data-line-numbers]>.line:before{content:counter(line);color:var(--vocs-color_lineNumber);display:inline-block;font-size:var(--vocs-fontSize_lineNumber);margin-right:var(--vocs-space_16);text-align:right;width:1rem}.vocs_CodeBlock [data-line-numbers]>.line:not(.diff.remove+.diff.add):before{counter-increment:line}.vocs_CodeBlock [data-line-numbers]>.line.diff:after{margin-left:calc(-1 * var(--vocs-space_4))}.vocs_CodeBlock .highlighted{background-color:var(--vocs-color_codeHighlightBackground);border-left:2px solid var(--vocs-color_codeHighlightBorder);box-sizing:content-box}.vocs_CodeBlock .highlighted-word{border-radius:var(--vocs-borderRadius_2);background-color:var(--vocs-color_codeCharacterHighlightBackground)!important;box-shadow:0 0 0 4px var(--vocs-color_codeCharacterHighlightBackground)}.vocs_CodeBlock .has-diff{position:relative}.vocs_CodeBlock .line.diff:after{position:absolute;left:var(--vocs-space_8)}.vocs_CodeBlock .line.diff.add{background-color:var(--vocs-color_backgroundGreenTint2)}.vocs_CodeBlock .line.diff.add:after{content:"+";color:var(--vocs-color_textGreen)}.vocs_CodeBlock .line.diff.remove{background-color:var(--vocs-color_backgroundRedTint2);opacity:.6}.vocs_CodeBlock .line.diff.remove>span{filter:grayscale(1)}.vocs_CodeBlock .line.diff.remove:after{content:"-";color:var(--vocs-color_textRed)}.vocs_CodeBlock .has-focused>code>.line:not(.focused),.vocs_CodeBlock .has-focused>code>.twoslash-meta-line:not(.focused){opacity:.3;transition:opacity .2s}.vocs_CodeBlock:hover .has-focused .line:not(.focused),.vocs_CodeBlock:hover .has-focused .twoslash-meta-line:not(.focused){opacity:1;transition:opacity .2s}@media screen and (max-width: 720px){.vocs_CodeBlock{border-radius:0;border-right:none;border-left:none;margin-left:calc(-1 * var(--vocs-space_16));margin-right:calc(-1 * var(--vocs-space_16))}.vocs_CodeBlock pre{border-radius:0}.vocs_CodeBlock .line,.vocs_CodeBlock .twoslash-error-line,.vocs_CodeBlock .twoslash-tag-line{padding:0 var(--vocs-space_16)}.vocs_CodeBlock .line.diff:after{left:var(--vocs-space_6)}}.vocs_Header{border-bottom:1px solid var(--vocs-color_border)}.vocs_Header:not(:last-child){margin-bottom:var(--vocs-space_28);padding-bottom:var(--vocs-space_28)}[data-layout=landing] .vocs_Header{padding-bottom:var(--vocs-space_16)}[data-layout=landing] .vocs_Header:not(:first-child){padding-top:var(--vocs-space_36)}.vocs_H2{font-size:var(--vocs-fontSize_h2);letter-spacing:-.02em}.vocs_H2.vocs_H2:not(:last-child){margin-bottom:var(--vocs-space_24)}:not(.vocs_Header)+.vocs_H2:not(:only-child){border-top:1px solid var(--vocs-color_border);margin-top:var(--vocs-space_56);padding-top:var(--vocs-space_24)}[data-layout=landing] .vocs_H2.vocs_H2{border-top:none;margin-top:var(--vocs-space_24);padding-top:0}.vocs_H3{font-size:var(--vocs-fontSize_h3)}.vocs_H3:not(:first-child){margin-top:var(--vocs-space_18);padding-top:var(--vocs-space_18)}.vocs_H3.vocs_H3:not(:last-child){margin-bottom:var(--vocs-space_24)}.vocs_H2+.vocs_H3{padding-top:var(--vocs-space_0)}.vocs_H4{font-size:var(--vocs-fontSize_h4)}.vocs_H4:not(:first-child){margin-top:var(--vocs-space_18);padding-top:var(--vocs-space_12)}.vocs_H4.vocs_H4:not(:last-child){margin-bottom:var(--vocs-space_24)}.vocs_H3+.vocs_H4{padding-top:var(--vocs-space_0)}.vocs_H5{font-size:var(--vocs-fontSize_h5)}.vocs_H5:not(:first-child){margin-top:var(--vocs-space_16)}.vocs_H5.vocs_H5:not(:last-child){margin-bottom:var(--vocs-space_24)}.vocs_H4+.vocs_H5{padding-top:var(--vocs-space_0)}.vocs_H6{font-size:var(--vocs-fontSize_h6)}.vocs_H6:not(:first-child){margin-top:var(--vocs-space_16)}.vocs_H6.vocs_H6:not(:last-child){margin-bottom:var(--vocs-space_24)}.vocs_H5+.vocs_H6{padding-top:var(--vocs-space_0)}.vocs_Step:not(:last-child){margin-bottom:var(--vocs-space_24)}.vocs_Step_title{margin-bottom:var(--vocs-space_8);position:relative}.vocs_Step_title:before{content:counter(step);align-items:center;background-color:var(--vocs-color_background5);border-radius:100%;border:.5em solid var(--vocs-color_background);box-sizing:content-box;color:var(--vocs-color_text2);counter-increment:step;display:flex;font-size:.625em;font-weight:var(--vocs-fontWeight_regular);height:2em;justify-content:center;left:calc(-25.125px - 1.45em);position:absolute;top:-.25em;width:2em}.vocs_H2+.vocs_Step_content,.vocs_H3+.vocs_Step_content,.vocs_H4+.vocs_Step_content,.vocs_H5+.vocs_Step_content,.vocs_H6+.vocs_Step_content{margin-top:calc(var(--vocs-space_8) * -1)}.vocs_Step_content>*:not(:last-child){margin-bottom:var(--vocs-space_16)}.vocs_Step_content>*:last-child{margin-bottom:var(--vocs-space_0)}@media screen and (max-width: 720px){.vocs_Step_content>.vocs_Tabs,.vocs_Step_content>.vocs_CodeBlock{outline:6px solid var(--vocs-color_background);margin-left:calc(-1 * var(--vocs-space_44) - 2px);margin-right:calc(-1 * var(--vocs-space_16))}.vocs_Step_content .vocs_Tabs pre.shiki{border-top:none}}.vocs_Callout{border-radius:var(--vocs-borderRadius_4);font-size:var(--vocs-fontSize_14);padding:var(--vocs-space_16) var(--vocs-space_20);margin-bottom:var(--vocs-space_16)}.vocs_Callout_note{background-color:var(--vocs-color_noteBackground);border:1px solid var(--vocs-color_noteBorder);color:var(--vocs-color_noteText)}.vocs_Callout_info{background-color:var(--vocs-color_infoBackground);border:1px solid var(--vocs-color_infoBorder);color:var(--vocs-color_infoText)}.vocs_Callout_warning{background-color:var(--vocs-color_warningBackground);border:1px solid var(--vocs-color_warningBorder);color:var(--vocs-color_warningText)}.vocs_Callout_danger{background-color:var(--vocs-color_dangerBackground);border:1px solid var(--vocs-color_dangerBorder);color:var(--vocs-color_dangerText)}.vocs_Callout_tip{background-color:var(--vocs-color_tipBackground);border:1px solid var(--vocs-color_tipBorder);color:var(--vocs-color_tipText)}.vocs_Callout_success{background-color:var(--vocs-color_successBackground);border:1px solid var(--vocs-color_successBorder);color:var(--vocs-color_successText)}@media screen and (max-width: 720px){:not(.vocs_Step_content)>.vocs_Callout{border-radius:0;border-left-width:0;border-right-width:0;margin-left:calc(-1 * var(--vocs-space_16));margin-right:calc(-1 * var(--vocs-space_16))}}.vocs_Content{background-color:var(--vocs-color_background);max-width:var(--vocs-content_width);padding:var(--vocs-content_verticalPadding) var(--vocs-content_horizontalPadding);width:100%}.vocs_Callout>*+.vocs_Details{margin-top:-8px}@layer vocs_global_global;:root.dark{color-scheme:dark}:root.dark pre.shiki span:not(.line),:root.dark :not(pre.shiki) .line span{color:var(--shiki-dark)!important}pre.shiki{background-color:var(--vocs-color_codeBlockBackground)!important}.vocs_Content>*:not(:last-child),.vocs_Details>*:not(:last-child){margin-bottom:var(--vocs-space_24)}.vocs_Callout>*:not(:last-child),.vocs_Callout>.vocs_Details>*:not(:last-child){margin-bottom:var(--vocs-space_16)}.vocs_Content>*:last-child,.vocs_Callout>*:last-child,.vocs_Details>*:last-child{margin-bottom:var(--vocs-space_0)}#app[aria-hidden=true]{background:var(--vocs-color_background)}@layer vocs_global_global{:root{background-color:var(--vocs-color_background);color:var(--vocs-color_text);line-height:var(--vocs-lineHeight_paragraph);font-size:var(--vocs-fontSize_root);font-weight:var(--vocs-fontWeight_regular)}}@media screen and (max-width: 720px){:root{background-color:var(--vocs-color_backgroundDark)}}:root{--vocs-twoslash_borderColor: var(--vocs-color_border2);--vocs-twoslash_underlineColor: currentColor;--vocs-twoslash_popupBackground: var(--vocs-color_background2);--vocs-twoslash_popupShadow: rgba(0, 0, 0, .08) 0px 1px 4px;--vocs-twoslash_matchedColor: inherit;--vocs-twoslash_unmatchedColor: #888;--vocs-twoslash_cursorColor: #8888;--vocs-twoslash_errorColor: var(--vocs-color_textRed);--vocs-twoslash_errorBackground: var(--vocs-color_backgroundRedTint2);--vocs-twoslash_highlightedBackground: var(--vocs-color_background);--vocs-twoslash_highlightedBorder: var(--vocs-color_background);--vocs-twoslash_tagColor: var(--vocs-color_textBlue);--vocs-twoslash_tagBackground: var(--vocs-color_backgroundBlueTint);--vocs-twoslash_tagWarnColor: var(--vocs-color_textYellow);--vocs-twoslash_tagWarnBackground: var(--vocs-color_backgroundYellowTint);--vocs-twoslash_tagAnnotateColor: var(--vocs-color_textGreen);--vocs-twoslash_tagAnnotateBackground: var(--vocs-color_backgroundGreenTint2)}:root.dark{--vocs-twoslash_borderColor: var(--vocs-color_border2);--vocs-twoslash_underlineColor: currentColor;--vocs-twoslash_popupBackground: var(--vocs-color_background5);--vocs-twoslash_popupShadow: rgba(0, 0, 0, .08) 0px 1px 4px;--vocs-twoslash_matchedColor: inherit;--vocs-twoslash_unmatchedColor: #888;--vocs-twoslash_cursorColor: #8888;--vocs-twoslash_errorColor: var(--vocs-color_textRed);--vocs-twoslash_errorBackground: var(--vocs-color_backgroundRedTint2);--vocs-twoslash_highlightedBackground: var(--vocs-color_background);--vocs-twoslash_highlightedBorder: var(--vocs-color_background);--vocs-twoslash_tagColor: var(--vocs-color_textBlue);--vocs-twoslash_tagBackground: var(--vocs-color_backgroundBlueTint);--vocs-twoslash_tagWarnColor: var(--vocs-color_textYellow);--vocs-twoslash_tagWarnBackground: var(--vocs-color_backgroundYellowTint);--vocs-twoslash_tagAnnotateColor: var(--vocs-color_textGreen);--vocs-twoslash_tagAnnotateBackground: var(--vocs-color_backgroundGreenTint2)}:root .twoslash-popup-info-hover,:root .twoslash-popup-info{--shiki-light-bg: var(--vocs-color_background2)}:root .twoslash-popup-info{width:-moz-max-content;width:max-content}:root.dark .twoslash-popup-info,:root.dark .twoslash-popup-info-hover{--shiki-dark-bg: var(--vocs-color_background5)}.twoslash-query-persisted>.twoslash-popup-info{z-index:1}:not(.twoslash-query-persisted)>.twoslash-popup-info{z-index:2}.twoslash:hover .twoslash-hover{border-color:var(--vocs-twoslash_underlineColor)}.twoslash .twoslash-hover{border-bottom:1px dotted transparent;transition-timing-function:ease;transition:border-color .3s}.twoslash-query-persisted{position:relative}.twoslash .twoslash-popup-info{position:absolute;top:0;left:0;opacity:0;display:inline-block;transform:translateY(1.1em);background:var(--vocs-twoslash_popupBackground);border:1px solid var(--vocs-twoslash_borderColor);transition:opacity .3s;border-radius:4px;max-width:540px;padding:4px 6px;pointer-events:none;text-align:left;z-index:20;white-space:pre-wrap;-webkit-user-select:none;-moz-user-select:none;user-select:none;box-shadow:var(--vocs-twoslash_popupShadow)}.twoslash .twoslash-popup-info-hover{background:var(--vocs-twoslash_popupBackground);border:1px solid var(--vocs-twoslash_borderColor);border-radius:4px;box-shadow:var(--vocs-twoslash_popupShadow);display:inline-block;max-width:500px;pointer-events:auto;position:fixed;opacity:1;transition:opacity .3s;white-space:pre-wrap;-webkit-user-select:none;-moz-user-select:none;user-select:none;z-index:20}.twoslash .twoslash-popup-scroll-container{max-height:300px;padding:4px 0;overflow-y:auto;-ms-overflow-style:none;scrollbar-width:none}.twoslash-popup-arrow{position:absolute;top:-4px;left:1em;border-top:1px solid var(--vocs-twoslash_borderColor);border-right:1px solid var(--vocs-twoslash_borderColor);background:var(--vocs-twoslash_popupBackground);transform:rotate(-45deg);width:6px;height:6px;pointer-events:none}.twoslash .twoslash-popup-scroll-container::-webkit-scrollbar{display:none}.twoslash .twoslash-popup-jsdoc{border-top:1px solid var(--vocs-color_border2);color:var(--vocs-color_text);font-family:sans-serif;font-weight:500;margin-top:4px;padding:4px 10px 0}.twoslash-tag-line+.twoslash-tag-line{margin-top:-.2em}.twoslash-query-persisted .twoslash-popup-info{z-index:9;transform:translateY(1.5em)}.twoslash-hover:hover .twoslash-popup-info,.twoslash-query-persisted .twoslash-popup-info{opacity:1;pointer-events:auto}.twoslash-popup-info:hover,.twoslash-popup-info-hover:hover{-webkit-user-select:auto;-moz-user-select:auto;user-select:auto}.twoslash-error-line{position:relative;background-color:var(--vocs-twoslash_errorBackground);border-left:2px solid var(--vocs-twoslash_errorColor);color:var(--vocs-twoslash_errorColor);margin:.2em 0}.twoslash-error{background:url("data:image/svg+xml,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20viewBox%3D'0%200%206%203'%20enable-background%3D'new%200%200%206%203'%20height%3D'3'%20width%3D'6'%3E%3Cg%20fill%3D'%23c94824'%3E%3Cpolygon%20points%3D'5.5%2C0%202.5%2C3%201.1%2C3%204.1%2C0'%2F%3E%3Cpolygon%20points%3D'4%2C0%206%2C2%206%2C0.6%205.4%2C0'%2F%3E%3Cpolygon%20points%3D'0%2C2%201%2C3%202.4%2C3%200%2C0.6'%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E") repeat-x bottom left;padding-bottom:2px}.twoslash-completion-cursor{position:relative}.twoslash-completion-cursor .twoslash-completion-list{-webkit-user-select:none;-moz-user-select:none;user-select:none;position:absolute;top:0;left:0;transform:translateY(1.2em);margin:3px 0 0 -1px;z-index:8;box-shadow:var(--vocs-twoslash_popupShadow);background:var(--vocs-twoslash_popupBackground);border:1px solid var(--vocs-twoslash_borderColor)}.twoslash-completion-list{border-radius:4px;font-size:.8rem;padding:4px;display:flex;flex-direction:column;gap:4px;width:240px}.twoslash-completion-list:hover{-webkit-user-select:auto;-moz-user-select:auto;user-select:auto}.twoslash-completion-list:before{content:" ";background-color:var(--vocs-twoslash_cursorColor);width:2px;position:absolute;top:-1.6em;height:1.4em;left:-1px}.twoslash-completion-list .twoslash-completion-list-item{overflow:hidden;display:flex;align-items:center;gap:.5em;line-height:1em}.twoslash-completion-list .twoslash-completion-list-item span.twoslash-completions-unmatched.twoslash-completions-unmatched.twoslash-completions-unmatched{color:var(--vocs-twoslash_unmatchedColor)!important}.twoslash-completion-list .deprecated{text-decoration:line-through;opacity:.5}.twoslash-completion-list .twoslash-completion-list-item span.twoslash-completions-matched.twoslash-completions-unmatched.twoslash-completions-unmatched{color:var(--vocs-twoslash_matchedColor)!important}.twoslash-tag-line{position:relative;background-color:var(--vocs-twoslash_tagBackground);border-left:2px solid var(--vocs-twoslash_tagColor);color:var(--vocs-twoslash_tagColor);margin:.2em 0;display:flex;align-items:center;gap:.3em}.twoslash-tag-line+.line[data-empty-line]+.twoslash-tag-line{margin-top:-1.95em}.twoslash-tag-line .twoslash-tag-icon{width:1.1em;color:inherit}.twoslash-tag-line.twoslash-tag-error-line{background-color:var(--vocs-twoslash_errorBackground);border-left:2px solid var(--vocs-twoslash_errorColor);color:var(--vocs-twoslash_errorColor)}.twoslash-tag-line.twoslash-tag-warn-line{background-color:var(--vocs-twoslash_tagWarnBackground);border-left:2px solid var(--vocs-twoslash_tagWarnColor);color:var(--vocs-twoslash_tagWarnColor)}.twoslash-tag-line.twoslash-tag-annotate-line{background-color:var(--vocs-twoslash_tagAnnotateBackground);border-left:2px solid var(--vocs-twoslash_tagAnnotateColor);color:var(--vocs-twoslash_tagAnnotateColor)}.twoslash-highlighted{border-radius:var(--vocs-borderRadius_2);background-color:var(--vocs-color_codeCharacterHighlightBackground)!important;box-shadow:0 0 0 4px var(--vocs-color_codeCharacterHighlightBackground)}@media (prefers-reduced-motion: reduce){.twoslash *{transition:none!important}}.vocs_ExternalLink:after{content:"";background-color:currentColor;color:var(--vocs_ExternalLink_arrowColor);display:inline-block;height:.5em;margin-left:.325em;margin-right:.25em;width:.5em;-webkit-mask:var(--vocs_ExternalLink_iconUrl) no-repeat center / contain;mask:var(--vocs_ExternalLink_iconUrl) no-repeat center / contain}.vocs_Link_accent_underlined{color:var(--vocs-color_link);font-weight:var(--vocs-fontWeight_medium);text-underline-offset:var(--vocs-space_2);text-decoration:underline;transition:color .1s}.vocs_Link_accent_underlined:hover{color:var(--vocs-color_linkHover)}.vocs_Link_styleless{--vocs_ExternalLink_arrowColor: var(--vocs-color_text3)}.vocs_NotFound{align-items:center;display:flex;flex-direction:column;max-width:400px;margin:0 auto;padding-top:var(--vocs-space_64)}.vocs_NotFound_divider{border-color:var(--vocs-color_border);width:50%}.vocs_H1{font-size:var(--vocs-fontSize_h1);letter-spacing:-.02em}.vocs_Heading{align-items:center;color:var(--vocs-color_heading);font-weight:var(--vocs-fontWeight_semibold);gap:.25em;line-height:var(--vocs-lineHeight_heading);position:relative}.vocs_Heading_slugTarget{position:absolute;top:0;visibility:hidden}@media screen and (min-width: 1081px){.vocs_Heading_slugTarget{top:calc(-1 * (var(--vocs-topNav_height)))}.vocs_Header .vocs_Heading_slugTarget,.vocs_Step_title .vocs_Heading_slugTarget,.vocs_Header+.vocs_Heading .vocs_Heading_slugTarget{top:calc(-1 * (var(--vocs-topNav_height) + var(--vocs-space_24)))}}@media screen and (max-width: 1080px){.vocs_Heading_slugTarget{top:calc(-1 * var(--vocs-topNav_curtainHeight))}.vocs_Header .vocs_Heading_slugTarget,.vocs_Header+.vocs_Heading .vocs_Heading_slugTarget{top:calc(-1 * calc(var(--vocs-topNav_curtainHeight) + var(--vocs-space_24)))}}.vocs_Blockquote{border-left:2px solid var(--vocs-color_blockquoteBorder);padding-left:var(--vocs-space_16);margin-bottom:var(--vocs-space_16)}.vocs_H2+.vocs_List,.vocs_H3+.vocs_List,.vocs_H4+.vocs_List,.vocs_H5+.vocs_List,.vocs_H6+.vocs_List{margin-top:calc(var(--vocs-space_8) * -1)}.vocs_Paragraph+.vocs_List{margin-top:calc(-1 * var(--vocs-space_8))}.vocs_List_ordered{list-style:decimal;padding-left:var(--vocs-space_20);margin-bottom:var(--vocs-space_16)}.vocs_List_ordered .vocs_List_ordered{list-style:lower-alpha}.vocs_List_ordered .vocs_List_ordered .vocs_List_ordered{list-style:lower-roman}.vocs_List_unordered{list-style:disc;padding-left:var(--vocs-space_24);margin-bottom:var(--vocs-space_16)}.vocs_List_unordered .vocs_List_unordered{list-style:circle}.vocs_List_ordered .vocs_List_ordered,.vocs_List_unordered .vocs_List_unordered,.vocs_List_ordered .vocs_List_unordered,.vocs_List_unordered .vocs_List_ordered{margin-bottom:var(--vocs-space_0);padding-top:var(--vocs-space_8);padding-left:var(--vocs-space_16);padding-bottom:var(--vocs-space_0)}.vocs_List_unordered.contains-task-list{list-style:none;padding-left:var(--vocs-space_12)}.vocs_Paragraph{line-height:var(--vocs-lineHeight_paragraph)}.vocs_Blockquote>.vocs_Paragraph{color:var(--vocs-color_blockquoteText);margin-bottom:var(--vocs-space_8)}.vocs_H2+.vocs_Paragraph,.vocs_H3+.vocs_Paragraph,.vocs_H4+.vocs_Paragraph,.vocs_H5+.vocs_Paragraph,.vocs_H6+.vocs_Paragraph,.vocs_List+.vocs_Paragraph{margin-top:calc(var(--vocs-space_8) * -1)}.vocs_Paragraph+.vocs_Paragraph{margin-top:calc(-1 * var(--vocs-space_8))}:root:not(.dark) .vocs_utils_visibleDark{display:none}:root.dark .vocs_utils_visibleLight{display:none}.vocs_utils_visuallyHidden{clip:rect(0 0 0 0);clip-path:inset(50%);height:1px;overflow:hidden;position:absolute;white-space:nowrap;width:1px}.vocs_DesktopSearch_search{align-items:center;background-color:var(--vocs-color_backgroundDark);border:1px solid var(--vocs-color_backgroundDark);border-radius:var(--vocs-borderRadius_8);color:var(--vocs-color_text2);display:flex;font-size:var(--vocs-fontSize_14);font-weight:var(--vocs-fontWeight_medium);gap:var(--vocs-space_6);height:var(--vocs-space_40);max-width:15.5rem;padding-left:var(--vocs-space_12);padding-right:var(--vocs-space_12);position:relative;width:100%;transition:color .1s,border-color .1s}.vocs_DesktopSearch_search:hover{color:var(--vocs-color_text);border-color:var(--vocs-color_text3)}.vocs_DesktopSearch_searchCommand{align-items:center;border:1.5px solid var(--vocs-color_text3);border-radius:var(--vocs-borderRadius_4);color:var(--vocs-color_text3);display:flex;height:var(--vocs-space_12);justify-content:center;margin-left:auto;margin-top:var(--vocs-space_1);padding:var(--vocs-space_1);width:var(--vocs-space_12)}.vocs_Kbd{color:var(--vocs-color_text2);display:inline-block;border-radius:var(--vocs-borderRadius_3);font-size:var(--vocs-fontSize_11);font-family:var(--vocs-fontFamily_default);font-feature-settings:cv08;line-height:105%;min-width:20px;padding:var(--vocs-space_3);padding-left:var(--vocs-space_4);padding-right:var(--vocs-space_4);padding-top:var(--vocs-space_3);text-align:center;text-transform:capitalize;vertical-align:baseline;border:.5px solid var(--vocs-color_border);background-color:var(--vocs-color_background3);box-shadow:var(--vocs-color_shadow2) 0 2px 0 0}.vocs_KeyboardShortcut{align-items:center;display:inline-flex;gap:var(--vocs-space_6);font-size:var(--vocs-fontSize_12)}.vocs_KeyboardShortcut_kbdGroup{align-items:center;display:inline-flex;gap:var(--vocs-space_3)}@media screen and (max-width: 720px){.vocs_KeyboardShortcut{display:none}}@keyframes vocs_SearchDialog_fadeIn{0%{opacity:0}to{opacity:1}}@keyframes vocs_SearchDialog_fadeAndSlideIn{0%{opacity:0;transform:translate(-50%,-5%) scale(.96)}to{opacity:1;transform:translate(-50%) scale(1)}}.vocs_SearchDialog{animation:vocs_SearchDialog_fadeAndSlideIn .1s ease-in-out;background:var(--vocs-color_background);border-radius:var(--vocs-borderRadius_6);display:flex;flex-direction:column;gap:var(--vocs-space_8);height:-moz-min-content;height:min-content;left:50%;margin:64px auto;max-height:min(100vh - 128px,900px);padding:var(--vocs-space_12);padding-bottom:var(--vocs-space_8);position:fixed;top:0;transform:translate(-50%);width:min(100vw - 60px,775px);z-index:var(--vocs-zIndex_backdrop)}.vocs_SearchDialog_overlay{animation:vocs_SearchDialog_fadeIn .1s ease-in-out;background:#0009;position:fixed;top:0;right:0;bottom:0;left:0;z-index:var(--vocs-zIndex_backdrop)}.vocs_SearchDialog_searchBox{align-items:center;border:1px solid var(--vocs-color_border);border-radius:var(--vocs-borderRadius_4);display:flex;gap:var(--vocs-space_8);padding-left:var(--vocs-space_8);padding-right:var(--vocs-space_8);margin-bottom:var(--vocs-space_8);width:100%}.vocs_SearchDialog_searchBox:focus-within{border-color:var(--vocs-color_borderAccent)}.vocs_SearchDialog_searchInput{background:transparent;display:flex;font-size:var(--vocs-fontSize_16);height:var(--vocs-space_40);width:100%}.vocs_SearchDialog_searchInput:focus{outline:none}.vocs_SearchDialog_searchInput::-moz-placeholder{color:var(--vocs-color_text4)}.vocs_SearchDialog_searchInput::placeholder{color:var(--vocs-color_text4)}.vocs_SearchDialog_searchInputIcon{color:var(--vocs-color_text3)}.vocs_SearchDialog_searchInputIconMobile{display:none}.vocs_SearchDialog_results{display:flex;flex-direction:column;gap:var(--vocs-space_8);overflow-x:hidden;overflow-y:auto;overscroll-behavior:contain;width:100%}.vocs_SearchDialog_result{border:1.5px solid var(--vocs-color_border);border-radius:var(--vocs-borderRadius_4);width:100%}.vocs_SearchDialog_result:focus-within{border-color:var(--vocs-color_borderAccent)}.vocs_SearchDialog_result>a{display:flex;flex-direction:column;gap:var(--vocs-space_8);min-height:var(--vocs-space_36);outline:none;justify-content:center;padding:var(--vocs-space_12);width:100%}.vocs_SearchDialog_resultSelected{border-color:var(--vocs-color_borderAccent)}.vocs_SearchDialog_resultIcon{color:var(--vocs-color_textAccent);margin-right:1px;width:15px}.vocs_SearchDialog_titles{align-items:center;display:flex;flex-wrap:wrap;font-weight:var(--vocs-fontWeight_medium);gap:var(--vocs-space_4);line-height:22px}.vocs_SearchDialog_title{align-items:center;display:flex;gap:var(--vocs-space_4);white-space:nowrap}.vocs_SearchDialog_titleIcon{color:var(--vocs-color_text);display:inline-block;opacity:.5}.vocs_SearchDialog_resultSelected .vocs_SearchDialog_title,.vocs_SearchDialog_resultSelected .vocs_SearchDialog_titleIcon{color:var(--vocs-color_textAccent)}.vocs_SearchDialog_content{padding:0}.vocs_SearchDialog_excerpt{max-height:8.75rem;overflow:hidden;opacity:.5;position:relative}.vocs_SearchDialog_excerpt:before{content:"";position:absolute;top:-1px;left:0;width:100%;height:8px;background:linear-gradient(var(--vocs-color_background),transparent);z-index:1000}.vocs_SearchDialog_excerpt:after{content:"";position:absolute;bottom:-1px;left:0;width:100%;height:12px;background:linear-gradient(transparent,var(--vocs-color_background));z-index:1000}.vocs_SearchDialog_title mark,.vocs_SearchDialog_excerpt mark{background-color:var(--vocs-color_searchHighlightBackground);color:var(--vocs-color_searchHighlightText);border-radius:var(--vocs-borderRadius_2);padding-bottom:0;padding-left:var(--vocs-space_2);padding-right:var(--vocs-space_2);padding-top:0}.vocs_SearchDialog_resultSelected .vocs_SearchDialog_excerpt{opacity:1}.vocs_SearchDialog_searchShortcuts{align-items:center;color:var(--vocs-color_text2);display:flex;gap:var(--vocs-space_20);font-size:var(--vocs-fontSize_14)}.vocs_SearchDialog_searchShortcutsGroup{align-items:center;display:inline-flex;gap:var(--vocs-space_3);margin-right:var(--vocs-space_6)}@media screen and (max-width: 720px){.vocs_SearchDialog{border-radius:0;height:calc(100vh - env(safe-area-inset-top) - env(safe-area-inset-bottom));margin:0;max-height:unset;width:100vw}.vocs_SearchDialog_searchInputIconDesktop{display:none}.vocs_SearchDialog_searchInputIconMobile{display:block}.vocs_SearchDialog_excerpt{opacity:1}.vocs_SearchDialog_searchShortcuts{display:none}}.vocs_DesktopTopNav{align-items:center;display:flex;justify-content:space-between;padding:0 var(--vocs-topNav_horizontalPadding);height:var(--vocs-topNav_height)}.vocs_DesktopTopNav_withLogo{padding-left:calc(((100% - var(--vocs-content_width)) / 2) + var(--vocs-topNav_horizontalPadding))}.vocs_DesktopTopNav_button{border-radius:var(--vocs-borderRadius_4);padding:var(--vocs-space_8)}.vocs_DesktopTopNav_content{right:calc(-1 * var(--vocs-space_24))}.vocs_DesktopTopNav_curtain{background:linear-gradient(var(--vocs-color_background),transparent 70%);height:30px;opacity:.98;width:100%}.vocs_DesktopTopNav_divider{background-color:var(--vocs-color_border);height:35%;width:1px}.vocs_DesktopTopNav_group{align-items:center;display:flex}.vocs_DesktopTopNav_icon{color:var(--vocs-color_text2);transition:color .1s}.vocs_DesktopTopNav_button:hover .vocs_DesktopTopNav_icon{color:var(--vocs-color_text)}.vocs_DesktopTopNav_item{align-items:center;display:flex;height:100%;position:relative}.vocs_DesktopTopNav_logo{padding-left:var(--vocs-sidebar_horizontalPadding);padding-right:var(--vocs-sidebar_horizontalPadding);width:var(--vocs-sidebar_width)}.vocs_DesktopTopNav_logoWrapper{display:flex;height:100%;justify-content:flex-end;left:0;position:absolute;width:var(--vocs_DocsLayout_leftGutterWidth)}.vocs_DesktopTopNav_section{align-items:center;display:flex;height:100%;gap:var(--vocs-space_24)}@media screen and (max-width: 1080px){.vocs_DesktopTopNav,.vocs_DesktopTopNav_curtain{display:none}}@media screen and (max-width: 1280px){.vocs_DesktopTopNav_hideCompact{display:none}}.vocs_Icon{align-items:center;display:flex;height:var(--vocs_Icon_size);width:var(--vocs_Icon_size)}:root:not(.dark) .vocs_Logo_logoDark{display:none}:root.dark .vocs_Logo_logoLight{display:none}.vocs_NavLogo_logoImage{height:50%;width:auto}.vocs_NavLogo_title{font-size:var(--vocs-fontSize_18);font-weight:var(--vocs-fontWeight_semibold);line-height:var(--vocs-lineHeight_heading)}@keyframes vocs_NavigationMenu_fadeIn{0%{opacity:0;transform:translateY(-6px)}to{opacity:1;transform:translateY(0)}}.vocs_NavigationMenu_list{display:flex;gap:var(--vocs-space_20)}.vocs_NavigationMenu_link{align-items:center;display:flex;font-size:var(--vocs-fontSize_14);font-weight:var(--vocs-fontWeight_medium);height:100%}.vocs_NavigationMenu_link:hover,.vocs_NavigationMenu_link[data-active=true]{color:var(--vocs-color_textAccent)}.vocs_NavigationMenu_trigger:after{content:"";background-color:currentColor;color:var(--vocs-color_text3);display:inline-block;height:.625em;margin-left:.325em;width:.625em;-webkit-mask:var(--vocs_NavigationMenu_chevronDownIcon) no-repeat center / contain;mask:var(--vocs_NavigationMenu_chevronDownIcon) no-repeat center / contain}.vocs_NavigationMenu_content{background-color:var(--vocs-color_background2);border:1px solid var(--vocs-color_border);border-radius:var(--vocs-borderRadius_4);box-shadow:0 3px 10px var(--vocs-color_shadow);display:flex;flex-direction:column;padding:var(--vocs-space_12) var(--vocs-space_16);position:absolute;top:calc(100% + var(--vocs-space_8));min-width:200px;z-index:var(--vocs-zIndex_popover);animation:vocs_NavigationMenu_fadeIn .5s cubic-bezier(.16,1,.3,1)}.vocs_Footer{--vocs_Footer_iconWidth: 24px;display:flex;flex-direction:column;gap:var(--vocs-space_32);max-width:var(--vocs-content_width);overflow-x:hidden;padding:var(--vocs-space_28) var(--vocs-content_horizontalPadding) var(--vocs-space_48)}.vocs_Footer_container{border-bottom:1px solid var(--vocs-color_border);display:flex;justify-content:space-between;padding-bottom:var(--vocs-space_16)}.vocs_Footer_editLink{align-items:center;display:flex;font-size:var(--vocs-fontSize_14);gap:var(--vocs-space_8);text-decoration:none}.vocs_Footer_lastUpdated{color:var(--vocs-color_text3);font-size:var(--vocs-fontSize_14)}.vocs_Footer_navigation{display:flex;justify-content:space-between}.vocs_Footer_navigationIcon{width:var(--vocs_Footer_iconWidth)}.vocs_Footer_navigationIcon_left{display:flex}.vocs_Footer_navigationIcon_right{display:flex;justify-content:flex-end}.vocs_Footer_navigationItem{display:flex;flex-direction:column;gap:var(--vocs-space_4)}.vocs_Footer_navigationItem_right{align-items:flex-end}.vocs_Footer_navigationText{align-items:center;display:flex;font-size:var(--vocs-fontSize_18);font-weight:var(--vocs-fontWeight_medium)}.vocs_Footer_navigationTextInner{overflow:hidden;text-overflow:ellipsis;width:26ch;white-space:pre}@media screen and (max-width: 720px){.vocs_Footer_navigationIcon_left,.vocs_Footer_navigationIcon_right{justify-content:center}.vocs_Footer_navigationText{font-size:var(--vocs-fontSize_12)}}@media screen and (max-width: 480px){.vocs_Footer_navigationTextInner{width:20ch}}.vocs_MobileSearch_searchButton{align-items:center;display:flex;color:var(--vocs-color_text);height:var(--vocs-space_28);justify-content:center;width:var(--vocs-space_28)}@keyframes vocs_MobileTopNav_fadeIn{0%{opacity:0}to{opacity:1}}.vocs_MobileTopNav{align-items:center;background-color:var(--vocs-color_backgroundDark);border-bottom:1px solid var(--vocs-color_border);display:none;height:100%;justify-content:space-between;padding:var(--vocs-space_0) var(--vocs-content_horizontalPadding);width:100%}.vocs_MobileTopNav_button{border-radius:var(--vocs-borderRadius_4);padding:var(--vocs-space_8)}.vocs_MobileTopNav_content{left:calc(-1 * var(--vocs-space_24))}.vocs_MobileTopNav_curtain{align-items:center;background-color:var(--vocs-color_backgroundDark);border-bottom:1px solid var(--vocs-color_border);display:none;justify-content:space-between;font-size:var(--vocs-fontSize_13);font-weight:var(--vocs-fontWeight_medium);height:100%;padding:var(--vocs-space_0) var(--vocs-content_horizontalPadding);width:100%}.vocs_MobileTopNav_curtainGroup{align-items:center;display:flex;gap:var(--vocs-space_12)}.vocs_MobileTopNav_divider{background-color:var(--vocs-color_border);height:35%;width:1px}.vocs_MobileTopNav_group{align-items:center;display:flex;height:100%}.vocs_MobileTopNav_icon{color:var(--vocs-color_text2);transition:color .1s}.vocs_MobileTopNav_button:hover .vocs_MobileTopNav_icon{color:var(--vocs-color_text)}.vocs_MobileTopNav_item{position:relative}.vocs_MobileTopNav_logo{align-items:center;display:flex;height:var(--vocs-topNav_height)}.vocs_MobileTopNav_logoImage{height:30%}.vocs_MobileTopNav_menuTrigger{align-items:center;display:flex;gap:var(--vocs-space_8)}.vocs_MobileTopNav_menuTitle{max-width:22ch;overflow:hidden;text-align:left;text-overflow:ellipsis;white-space:pre}.vocs_MobileTopNav_navigation{margin-left:var(--vocs-space_8)}.vocs_MobileTopNav_navigationContent{display:flex;flex-direction:column;margin-left:var(--vocs-space_8)}.vocs_MobileTopNav_navigationItem{align-items:center;display:flex;justify-content:flex-start;font-size:var(--vocs-fontSize_14);font-weight:var(--vocs-fontWeight_medium);width:100%}.vocs_MobileTopNav_navigationItem:hover,.vocs_MobileTopNav_navigationItem[data-active=true],.vocs_MobileTopNav_navigationItem[data-state=open]{color:var(--vocs-color_textAccent)}.vocs_MobileTopNav_trigger:after{content:"";background-color:currentColor;display:inline-block;height:.625em;margin-left:.325em;width:.625em;-webkit-mask:var(--vocs_MobileTopNav_chevronDownIcon) no-repeat center / contain;mask:var(--vocs_MobileTopNav_chevronDownIcon) no-repeat center / contain}.vocs_MobileTopNav_trigger[data-state=open]:after{-webkit-mask:var(--vocs_MobileTopNav_chevronUpIcon) no-repeat center / contain;mask:var(--vocs_MobileTopNav_chevronUpIcon) no-repeat center / contain}.vocs_MobileTopNav_outlineTrigger{animation:vocs_MobileTopNav_fadeIn .5s cubic-bezier(.16,1,.3,1);align-items:center;color:var(--vocs-color_text2);display:flex;gap:var(--vocs-space_6)}.vocs_MobileTopNav_outlineTrigger[data-state=open]{color:var(--vocs-color_textAccent)}.vocs_MobileTopNav_outlinePopover{display:none;overflow-y:scroll;padding:var(--vocs-space_16);max-height:80vh}.vocs_MobileTopNav_section{align-items:center;display:flex;height:100%;gap:var(--vocs-space_16)}.vocs_MobileTopNav_separator{background-color:var(--vocs-color_border);height:1.75em;width:1px}.vocs_MobileTopNav_sidebarPopover{display:none;overflow-y:scroll;padding:0 var(--vocs-sidebar_horizontalPadding);max-height:80vh;width:var(--vocs-sidebar_width)}.vocs_MobileTopNav_title{font-size:var(--vocs-fontSize_18);font-weight:var(--vocs-fontWeight_semibold);line-height:var(--vocs-lineHeight_heading)}.vocs_MobileTopNav_topNavPopover{display:none;overflow-y:scroll;padding:var(--vocs-sidebar_verticalPadding) var(--vocs-sidebar_horizontalPadding);max-height:80vh;width:var(--vocs-sidebar_width)}@media screen and (max-width: 1080px){.vocs_MobileTopNav,.vocs_MobileTopNav_curtain{display:flex}.vocs_MobileTopNav_outlinePopover{display:block;max-width:300px}.vocs_MobileTopNav_sidebarPopover{display:block}.vocs_MobileTopNav_topNavPopover{display:flex;flex-direction:column}}@media screen and (max-width: 720px){.vocs_MobileTopNav_navigation:not(.vocs_MobileTopNav_navigation_compact){display:none}}@media screen and (min-width: 721px){.vocs_MobileTopNav_navigation.vocs_MobileTopNav_navigation_compact{display:none}}.vocs_Outline{width:100%}.vocs_Outline_nav{display:flex;flex-direction:column;gap:var(--vocs-space_8)}.vocs_DocsLayout_gutterRight .vocs_Outline_nav{border-left:1px solid var(--vocs-color_border);padding-left:var(--vocs-space_16)}.vocs_Outline_heading{color:var(--vocs-color_title);font-size:var(--vocs-fontSize_13);font-weight:var(--vocs-fontWeight_semibold);line-height:var(--vocs-lineHeight_heading);letter-spacing:.025em}.vocs_Outline_items .vocs_Outline_items{padding-left:var(--vocs-space_12)}.vocs_Outline_item{line-height:var(--vocs-lineHeight_outlineItem);margin-bottom:var(--vocs-space_8);overflow:hidden;text-overflow:ellipsis;text-wrap:nowrap}.vocs_Outline_link{color:var(--vocs-color_text2);font-weight:var(--vocs-fontWeight_medium);font-size:var(--vocs-fontSize_13);transition:color .1s}.vocs_Outline_link[data-active=true]{color:var(--vocs-color_textAccent)}.vocs_Outline_link[data-active=true]:hover{color:var(--vocs-color_textAccentHover)}.vocs_Outline_link:hover{color:var(--vocs-color_text)}.vocs_Popover{background-color:var(--vocs-color_background2);border:1px solid var(--vocs-color_border);border-radius:var(--vocs-borderRadius_4);margin:0 var(--vocs-space_6);z-index:var(--vocs-zIndex_popover)}.vocs_Sidebar{display:flex;flex-direction:column;font-size:var(--vocs-fontSize_14);overflow-y:auto;width:var(--vocs-sidebar_width)}.vocs_Sidebar_backLink{text-align:left}.vocs_Sidebar_divider{background-color:var(--vocs-color_border);width:100%;height:1px}.vocs_Sidebar_navigation{outline:0}.vocs_Sidebar_navigation:first-child{padding-top:var(--vocs-space_16)}.vocs_Sidebar_group{display:flex;flex-direction:column}.vocs_Sidebar_logo{align-items:center;display:flex;height:var(--vocs-topNav_height);padding-top:var(--vocs-space_4)}.vocs_Sidebar_logoWrapper{background-color:var(--vocs-color_backgroundDark);position:sticky;top:0;z-index:var(--vocs-zIndex_gutterTopCurtain)}.vocs_Sidebar_section{display:flex;flex-direction:column;font-size:1em}.vocs_Sidebar_navigation>.vocs_Sidebar_group>.vocs_Sidebar_section+.vocs_Sidebar_section{border-top:1px solid var(--vocs-color_border)}.vocs_Sidebar_levelCollapsed{gap:var(--vocs-space_4);padding-bottom:var(--vocs-space_12)}.vocs_Sidebar_levelInset{border-left:1px solid var(--vocs-color_border);font-size:var(--vocs-fontSize_13);margin-top:var(--vocs-space_8);padding-left:var(--vocs-space_12)}.vocs_Sidebar_levelInset.vocs_Sidebar_levelInset.vocs_Sidebar_levelInset{font-weight:var(--vocs-fontWeight_regular);padding-top:0;padding-bottom:0}.vocs_Sidebar_items{display:flex;flex-direction:column;gap:.625em;padding-top:var(--vocs-space_16);padding-bottom:var(--vocs-space_16);font-weight:var(--vocs-fontWeight_medium)}.vocs_Sidebar_level .vocs_Sidebar_items{padding-top:var(--vocs-space_6)}.vocs_Sidebar_item{color:var(--vocs-color_text3);letter-spacing:.25px;line-height:var(--vocs-lineHeight_sidebarItem);width:100%;transition:color .1s}.vocs_Sidebar_item:hover{color:var(--vocs-color_text)}.vocs_Sidebar_item[data-active=true]{color:var(--vocs-color_textAccent)}.vocs_Sidebar_sectionHeader{align-items:center;display:flex;justify-content:space-between}.vocs_Sidebar_level>.vocs_Sidebar_sectionHeader{padding-top:var(--vocs-space_12)}.vocs_Sidebar_sectionHeaderActive{color:var(--vocs-color_text)}.vocs_Sidebar_sectionTitle{color:var(--vocs-color_title);font-size:var(--vocs-fontSize_14);font-weight:var(--vocs-fontWeight_semibold);letter-spacing:.25px;width:100%}.vocs_Sidebar_sectionCollapse{color:var(--vocs-color_text3);transform:rotate(90deg);transition:transform .25s}.vocs_Sidebar_sectionCollapseActive{transform:rotate(0)}@media screen and (max-width: 1080px){.vocs_Sidebar{width:100%}.vocs_Sidebar_logoWrapper{display:none}}.vocs_SkipLink{background:var(--vocs-color_background);border-radius:var(--vocs-borderRadius_4);color:var(--vocs-color_link);font-size:var(--vocs-fontSize_14);font-weight:var(--vocs-fontWeight_semibold);left:var(--vocs-space_8);padding:var(--vocs-space_8) var(--vocs-space_16);position:fixed;text-decoration:none;top:var(--vocs-space_8);z-index:999}.vocs_SkipLink:focus{clip:auto;clip-path:none;height:auto;width:auto}@layer vocs_preflight{*,:before,:after{box-sizing:border-box;border-width:0;border-style:solid;border-color:#e5e7eb}:before,:after{--tw-content: ""}html,:host{line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;-o-tab-size:4;tab-size:4;font-family:ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji";font-feature-settings:normal;font-variation-settings:normal;-webkit-tap-highlight-color:transparent}body{margin:0;line-height:inherit}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-feature-settings:normal;font-variation-settings:normal;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}button,input,optgroup,select,textarea{font-family:inherit;font-feature-settings:inherit;font-variation-settings:inherit;font-size:100%;font-weight:inherit;line-height:inherit;letter-spacing:inherit;color:inherit;margin:0;padding:0}button,select{text-transform:none}button,input:where([type=button]),input:where([type=reset]),input:where([type=submit]){-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre{margin:0}fieldset{margin:0;padding:0}legend{padding:0}ol,ul,menu{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::-moz-placeholder,textarea::-moz-placeholder{opacity:1;color:#9ca3af}input::placeholder,textarea::placeholder{opacity:1;color:#9ca3af}button,[role=button]{cursor:pointer}:disabled{cursor:default}img,svg,video,canvas,audio,iframe,embed,object{display:block;vertical-align:middle}img,video{max-width:100%;height:auto}[hidden]{display:none}*,:before,:after{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }::backdrop{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }}.mb-4{margin-bottom:1rem}.mt-8{margin-top:2rem}.block{display:block}.flex{display:flex}.w-full{width:100%}.max-w-5xl{max-width:64rem}.flex-col{flex-direction:column}.flex-wrap{flex-wrap:wrap}.justify-between{justify-content:space-between}.gap-2{gap:.5rem}.gap-4{gap:1rem}.rounded{border-radius:.25rem}.border{border-width:1px}.border-b{border-bottom-width:1px}.border-\[--vocs-color_codeInlineBorder\]{border-color:var(--vocs-color_codeInlineBorder)}.border-gray-500{--tw-border-opacity: 1;border-color:rgb(107 114 128 / var(--tw-border-opacity))}.border-transparent{border-color:transparent}.bg-\[--vocs-color_codeBlockBackground\]{background-color:var(--vocs-color_codeBlockBackground)}.bg-\[--vocs-color_codeTitleBackground\]{background-color:var(--vocs-color_codeTitleBackground)}.p-2{padding:.5rem}.p-3{padding:.75rem}.p-4{padding:1rem}.px-2{padding-left:.5rem;padding-right:.5rem}.py-2{padding-top:.5rem;padding-bottom:.5rem}.py-4{padding-top:1rem;padding-bottom:1rem}.pb-2{padding-bottom:.5rem}.text-left{text-align:left}.text-3xl{font-size:1.875rem;line-height:2.25rem}.text-lg{font-size:1.125rem;line-height:1.75rem}.text-sm{font-size:.875rem;line-height:1.25rem}.font-bold{font-weight:700}.text-\[--vocs-color_heading\]{color:var(--vocs-color_heading)}.text-\[--vocs-color_text3\]{color:var(--vocs-color_text3)}.hover\:text-\[--vocs-color_text\]:hover{color:var(--vocs-color_text)}@media (min-width: 768px){.md\:flex-row{flex-direction:row}}.\[\&\[data-state\=\'active\'\]\]\:border-\[--vocs-color_borderAccent\][data-state=active]{border-color:var(--vocs-color_borderAccent)}.\[\&\[data-state\=\'active\'\]\]\:text-\[--vocs-color_text\][data-state=active]{color:var(--vocs-color_text)}.vocs_Section{border-top:1px solid var(--vocs-color_border);margin-top:var(--vocs-space_56);padding-top:var(--vocs-space_24)}.vocs_Anchor{color:var(--vocs-color_link);font-weight:var(--vocs-fontWeight_medium);text-underline-offset:var(--vocs-space_2);text-decoration:underline;transition:color .1s}.vocs_Callout_danger .vocs_Anchor{color:var(--vocs-color_dangerText)}.vocs_Callout_danger .vocs_Anchor:hover{color:var(--vocs-color_dangerTextHover)}.vocs_Callout_info .vocs_Anchor{color:var(--vocs-color_infoText)}.vocs_Callout_info .vocs_Anchor:hover{color:var(--vocs-color_infoTextHover)}.vocs_Callout_success .vocs_Anchor{color:var(--vocs-color_successText)}.vocs_Callout_success .vocs_Anchor:hover{color:var(--vocs-color_successTextHover)}.vocs_Callout_tip .vocs_Anchor{color:var(--vocs-color_tipText)}.vocs_Callout_tip .vocs_Anchor:hover{color:var(--vocs-color_tipTextHover)}.vocs_Callout_warning .vocs_Anchor{color:var(--vocs-color_warningText)}.vocs_Callout_warning .vocs_Anchor:hover{color:var(--vocs-color_warningTextHover)}.vocs_Anchor:hover{color:var(--vocs-color_linkHover)}.vocs_Section a.data-footnote-backref{color:var(--vocs-color_link);font-weight:var(--vocs-fontWeight_medium);text-underline-offset:var(--vocs-space_2);text-decoration:underline}.vocs_Section a.data-footnote-backref:hover{color:var(--vocs-color_linkHover)}.vocs_Autolink{opacity:0;margin-top:.1em;position:absolute;transition:opacity .1s,transform .1s;transform:translate(-2px) scale(.98)}.vocs_Heading:hover .vocs_Autolink{opacity:1;transform:translate(0) scale(1)}.vocs_Pre_wrapper{position:relative}.vocs_Code{transition:color .1s}:not(.vocs_Pre)>.vocs_Code{background-color:var(--vocs-color_codeInlineBackground);border:1px solid var(--vocs-color_codeInlineBorder);border-radius:var(--vocs-borderRadius_4);color:var(--vocs-color_codeInlineText);font-size:var(--vocs-fontSize_code);padding:var(--vocs-space_3) var(--vocs-space_6)}.vocs_Anchor>.vocs_Code{color:var(--vocs-color_link);text-decoration:underline;text-underline-offset:var(--vocs-space_2)}.vocs_Anchor:hover>.vocs_Code{color:var(--vocs-color_linkHover)}.vocs_Callout_danger .vocs_Code{color:var(--vocs-color_dangerText)}.vocs_Callout_info .vocs_Code{color:var(--vocs-color_infoText)}.vocs_Callout_success .vocs_Code{color:var(--vocs-color_successText)}.vocs_Callout_tip .vocs_Code{color:var(--vocs-color_tipText)}.vocs_Callout_warning .vocs_Code{color:var(--vocs-color_warningText)}.vocs_Heading .vocs_Code{color:inherit}.twoslash-popup-info-hover>.vocs_Code{background-color:inherit;padding:0;text-wrap:wrap}.twoslash-popup-jsdoc .vocs_Code{display:inline}.vocs_Authors{color:var(--vocs-color_text3);font-size:var(--vocs-fontSize_14)}.vocs_Authors_authors{color:var(--vocs-color_text)}.vocs_Authors_link{text-decoration:underline;text-underline-offset:2px}.vocs_Authors_link:hover{color:var(--vocs-color_text2)}.vocs_Authors_separator{color:var(--vocs-color_text3)}.vocs_BlogPosts{display:flex;flex-direction:column;gap:var(--vocs-space_32)}.vocs_BlogPosts_description{margin-top:var(--vocs-space_16)}.vocs_BlogPosts_divider{border-color:var(--vocs-color_background4)}.vocs_BlogPosts_post:hover .vocs_BlogPosts_readMore{color:var(--vocs-color_textAccent)}.vocs_BlogPosts_title{font-size:var(--vocs-fontSize_h2);font-weight:var(--vocs-fontWeight_semibold)}.vocs_Sponsors{border-radius:var(--vocs-borderRadius_8);display:flex;flex-direction:column;gap:var(--vocs-space_4);overflow:hidden}.vocs_Sponsors_title{background-color:var(--vocs-color_background3);color:var(--vocs-color_text3);font-size:var(--vocs-fontSize_13);font-weight:var(--vocs-fontWeight_medium);padding:var(--vocs-space_4) 0;text-align:center}.vocs_Sponsors_row{display:flex;flex-direction:row;gap:var(--vocs-space_4)}.vocs_Sponsors_column{align-items:center;background-color:var(--vocs-color_background3);display:flex;justify-content:center;padding:var(--vocs-space_32);width:calc(var(--vocs_Sponsors_columns) * 100%)}.vocs_Sponsors_sponsor{transition:background-color .1s}.vocs_Sponsors_sponsor:hover{background-color:var(--vocs-color_background5)}.dark .vocs_Sponsors_sponsor:hover{background-color:var(--vocs-color_white)}.vocs_Sponsors_image{filter:grayscale(1);height:var(--vocs_Sponsors_height);transition:filter .1s}.dark .vocs_Sponsors_image{filter:grayscale(1) invert(1)}.vocs_Sponsors_column:hover .vocs_Sponsors_image{filter:none}.vocs_AutolinkIcon{background-color:var(--vocs-color_textAccent);display:inline-block;margin-left:.25em;height:.8em;width:.8em;-webkit-mask:var(--vocs_AutolinkIcon_iconUrl) no-repeat center / contain;mask:var(--vocs_AutolinkIcon_iconUrl) no-repeat center / contain;transition:background-color .1s}.vocs_Autolink:hover .vocs_AutolinkIcon{background-color:var(--vocs-color_textAccentHover)}@media screen and (max-width: 720px){.vocs_CodeGroup{border-radius:0;border-right:none;border-left:none;margin-left:calc(-1 * var(--vocs-space_16));margin-right:calc(-1 * var(--vocs-space_16))}}.vocs_Steps{border-left:1.5px solid var(--vocs-color_border);counter-reset:step;padding-left:var(--vocs-space_24);margin-left:var(--vocs-space_12);margin-top:var(--vocs-space_24)}@media screen and (max-width: 720px){.vocs_Steps{margin-left:var(--vocs-space_4)}}.vocs_Subtitle{color:var(--vocs-color_text2);font-size:var(--vocs-fontSize_subtitle);font-weight:var(--vocs-fontWeight_regular);letter-spacing:-.02em;line-height:var(--vocs-lineHeight_heading);margin-top:var(--vocs-space_4);text-wrap:balance}.vocs_HorizontalRule{border-top:1px solid var(--vocs-color_hr);margin-bottom:var(--vocs-space_16)}.vocs_ListItem{line-height:var(--vocs-lineHeight_listItem)}.vocs_ListItem:not(:last-child){margin-bottom:.5em}.vocs_CopyButton{align-items:center;background-color:color-mix(in srgb,var(--vocs-color_background2) 75%,transparent);-webkit-backdrop-filter:blur(1px);backdrop-filter:blur(1px);border:1px solid var(--vocs-color_border);border-radius:var(--vocs-borderRadius_4);color:var(--vocs-color_text3);display:flex;justify-content:center;position:absolute;right:var(--vocs-space_18);top:var(--vocs-space_18);opacity:0;height:32px;width:32px;transition:background-color .15s,opacity .15s;z-index:var(--vocs-zIndex_surface)}.vocs_CopyButton:hover{background-color:var(--vocs-color_background4);transition:background-color .05s}.vocs_CopyButton:focus-visible{background-color:var(--vocs-color_background4);opacity:1;transition:background-color .05s}.vocs_CopyButton:hover:active{background-color:var(--vocs-color_background2)}.vocs_Pre:hover .vocs_CopyButton{opacity:1}.vocs_CodeTitle{align-items:center;background-color:var(--vocs-color_codeTitleBackground);border-bottom:1px solid var(--vocs-color_border);color:var(--vocs-color_text3);display:flex;font-size:var(--vocs-fontSize_14);font-weight:var(--vocs-fontWeight_medium);gap:var(--vocs-space_6);padding:var(--vocs-space_8) var(--vocs-space_24)}.vocs_CodeGroup .vocs_CodeTitle{display:none}@media screen and (max-width: 720px){.vocs_CodeTitle{border-radius:0;padding-left:var(--vocs-space_16);padding-right:var(--vocs-space_16)}}.vocs_CalloutTitle{font-size:var(--vocs-fontSize_12);letter-spacing:.02em;text-transform:uppercase}.vocs_Strong{font-weight:var(--vocs-fontWeight_semibold)}.vocs_Content>.vocs_Strong{display:block}.vocs_Callout>.vocs_Strong{display:block;margin-bottom:var(--vocs-space_4)}.vocs_Summary{cursor:pointer}.vocs_Summary.vocs_Summary:hover{text-decoration:underline}.vocs_Details[open] .vocs_Summary{margin-bottom:var(--vocs-space_4)}.vocs_Callout .vocs_Summary{font-weight:var(--vocs-fontWeight_medium)}.vocs_Details .vocs_Summary.vocs_Summary{margin-bottom:0}.vocs_Table{display:block;border-collapse:collapse;overflow-x:auto;margin-bottom:var(--vocs-space_24)}.vocs_TableCell{border:1px solid var(--vocs-color_tableBorder);font-size:var(--vocs-fontSize_td);padding:var(--vocs-space_8) var(--vocs-space_12)}.vocs_TableHeader{border:1px solid var(--vocs-color_tableBorder);background-color:var(--vocs-color_tableHeaderBackground);color:var(--vocs-color_tableHeaderText);font-size:var(--vocs-fontSize_th);font-weight:var(--vocs-fontWeight_medium);padding:var(--vocs-space_8) var(--vocs-space_12);text-align:left}.vocs_TableHeader[align=center]{text-align:center}.vocs_TableHeader[align=right]{text-align:right}.vocs_TableRow{border-top:1px solid var(--vocs-color_tableBorder)}.vocs_TableRow:nth-child(2n){background-color:var(--vocs-color_background2)}@media screen and (max-width: 720px){.Tabs__root{border-radius:0;margin-left:calc(-1 * var(--vocs-space_16));margin-right:calc(-1 * var(--vocs-space_16));padding-left:var(--vocs-space_16);padding-right:var(--vocs-space_16)}.Tabs__list{margin-left:calc(-1 * var(--vocs-space_16));margin-right:calc(-1 * var(--vocs-space_16))}}.vocs_Button_button{align-items:center;background:var(--vocs-color_background4);border:1px solid var(--vocs-color_border);border-radius:var(--vocs-borderRadius_4);color:var(--vocs-color_text);display:flex;font-size:var(--vocs-fontSize_14);font-weight:var(--vocs-fontWeight_medium);height:36px;padding:0 var(--vocs-space_16);transition:background .1s;white-space:pre;width:-moz-fit-content;width:fit-content}.vocs_Button_button:hover{background:var(--vocs-color_background3)}.vocs_Button_button_accent{background:var(--vocs-color_backgroundAccent);color:var(--vocs-color_backgroundAccentText);border:1px solid var(--vocs-color_borderAccent)}.vocs_Button_button_accent:hover{background:var(--vocs-color_backgroundAccentHover)}.vocs_HomePage{align-items:center;display:flex;flex-direction:column;padding-top:var(--vocs-space_64);text-align:center;gap:var(--vocs-space_32)}.vocs_HomePage_logo{display:flex;justify-content:center;height:48px}.vocs_HomePage_title{font-size:var(--vocs-fontSize_64);font-weight:var(--vocs-fontWeight_semibold);line-height:1em}.vocs_HomePage_tagline{color:var(--vocs-color_text2);font-size:var(--vocs-fontSize_20);font-weight:var(--vocs-fontWeight_medium);line-height:1.5em}.vocs_HomePage_title+.vocs_HomePage_tagline{margin-top:calc(-1 * var(--vocs-space_8))}.vocs_HomePage_description{color:var(--vocs-color_text);font-size:var(--vocs-fontSize_16);font-weight:var(--vocs-fontWeight_regular);line-height:var(--vocs-lineHeight_paragraph)}.vocs_HomePage_tagline+.vocs_HomePage_description{margin-top:calc(-1 * var(--vocs-space_8))}.vocs_HomePage_buttons{display:flex;gap:var(--vocs-space_16)}.vocs_HomePage_tabs{min-width:300px}.vocs_HomePage_tabsList{display:flex;justify-content:center}.vocs_HomePage_tabsContent{color:var(--vocs-color_text2);font-family:var(--vocs-fontFamily_mono)}.vocs_HomePage_packageManager{color:var(--vocs-color_textAccent)}@media screen and (max-width: 720px){.vocs_HomePage{padding-top:var(--vocs-space_32)}.vocs_HomePage_logo{height:36px}} diff --git a/assets/typed-D4g5AJsN.js b/assets/typed-ByiZhdT5.js similarity index 99% rename from assets/typed-D4g5AJsN.js rename to assets/typed-ByiZhdT5.js index 467ae6b1..3cc5ee00 100644 --- a/assets/typed-D4g5AJsN.js +++ b/assets/typed-ByiZhdT5.js @@ -1,4 +1,4 @@ -import{u as l,j as s}from"./index-CnhgBks4.js";const a={title:"TypedApi",description:"undefined"};function n(i){const e={a:"a",code:"code",div:"div",h1:"h1",h2:"h2",header:"header",p:"p",pre:"pre",span:"span",...l(),...i.components};return s.jsxs(s.Fragment,{children:[s.jsx(e.header,{children:s.jsxs(e.h1,{id:"typedapi",children:["TypedApi",s.jsx(e.a,{"aria-hidden":"true",tabIndex:"-1",href:"#typedapi",children:s.jsx(e.div,{"data-autolink-icon":!0})})]})}),` +import{u as l,j as s}from"./index-DBGcajzP.js";const a={title:"TypedApi",description:"undefined"};function n(i){const e={a:"a",code:"code",div:"div",h1:"h1",h2:"h2",header:"header",p:"p",pre:"pre",span:"span",...l(),...i.components};return s.jsxs(s.Fragment,{children:[s.jsx(e.header,{children:s.jsxs(e.h1,{id:"typedapi",children:["TypedApi",s.jsx(e.a,{"aria-hidden":"true",tabIndex:"-1",href:"#typedapi",children:s.jsx(e.div,{"data-autolink-icon":!0})})]})}),` `,s.jsxs(e.p,{children:["The ",s.jsx(e.code,{children:"TypedApi"})," allows to interact with the runtime metadata easily and with a great developer experience. It'll allow to make storage calls, create transactions, etc. It uses the descriptors generated by PAPI CLI (see ",s.jsx(e.a,{href:"/codegen",children:"Codegen"})," section for a deeper explanation) to generate the types used at devel time. ",s.jsx(e.code,{children:"TypedApi"})," object looks like:"]}),` `,s.jsx(e.pre,{className:"shiki shiki-themes github-light github-dark-dimmed",style:{backgroundColor:"#fff","--shiki-dark-bg":"#22272e",color:"#24292e","--shiki-dark":"#adbac7"},tabIndex:"0",children:s.jsxs(e.code,{children:[s.jsxs(e.span,{className:"line",children:[s.jsx(e.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:"type"}),s.jsx(e.span,{style:{color:"#6F42C1","--shiki-dark":"#F69D50"},children:" TypedApi"}),s.jsx(e.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:" ="}),s.jsx(e.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:" {"})]}),` `,s.jsxs(e.span,{className:"line",children:[s.jsx(e.span,{style:{color:"#E36209","--shiki-dark":"#F69D50"},children:" query"}),s.jsx(e.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:":"}),s.jsx(e.span,{style:{color:"#6F42C1","--shiki-dark":"#F69D50"},children:" StorageApi"})]}),` diff --git a/assets/types-BqJWXfAw.js b/assets/types-kMiv1VX1.js similarity index 99% rename from assets/types-BqJWXfAw.js rename to assets/types-kMiv1VX1.js index 10ec0a9b..ff722a04 100644 --- a/assets/types-BqJWXfAw.js +++ b/assets/types-kMiv1VX1.js @@ -1,4 +1,4 @@ -import{u as n,j as s}from"./index-CnhgBks4.js";const a={title:"Types",description:"undefined"};function l(i){const e={a:"a",code:"code",div:"div",h1:"h1",h2:"h2",header:"header",p:"p",pre:"pre",span:"span",...n(),...i.components};return s.jsxs(s.Fragment,{children:[s.jsx(e.header,{children:s.jsxs(e.h1,{id:"types",children:["Types",s.jsx(e.a,{"aria-hidden":"true",tabIndex:"-1",href:"#types",children:s.jsx(e.div,{"data-autolink-icon":!0})})]})}),` +import{u as n,j as s}from"./index-DBGcajzP.js";const a={title:"Types",description:"undefined"};function l(i){const e={a:"a",code:"code",div:"div",h1:"h1",h2:"h2",header:"header",p:"p",pre:"pre",span:"span",...n(),...i.components};return s.jsxs(s.Fragment,{children:[s.jsx(e.header,{children:s.jsxs(e.h1,{id:"types",children:["Types",s.jsx(e.a,{"aria-hidden":"true",tabIndex:"-1",href:"#types",children:s.jsx(e.div,{"data-autolink-icon":!0})})]})}),` `,s.jsx(e.p,{children:"All the types defined in the metadata of a chain are anonymous: They represent the structure of the data, down to the primitive types."}),` `,s.jsx(e.p,{children:"Polkadot-API has some types defined that make it easier working with chain data."}),` `,s.jsxs(e.h2,{id:"ss58string",children:["SS58String",s.jsx(e.a,{"aria-hidden":"true",tabIndex:"-1",href:"#ss58string",children:s.jsx(e.div,{"data-autolink-icon":!0})})]}),` diff --git a/assets/upgrade-DGR_r9bB.js b/assets/upgrade-MDfuJAwV.js similarity index 99% rename from assets/upgrade-DGR_r9bB.js rename to assets/upgrade-MDfuJAwV.js index 30d3e53e..5f85af3b 100644 --- a/assets/upgrade-DGR_r9bB.js +++ b/assets/upgrade-MDfuJAwV.js @@ -1,4 +1,4 @@ -import{u as n,j as s}from"./index-CnhgBks4.js";const a={title:"Preparing for a runtime upgrade",description:"undefined"};function r(i){const e={a:"a",aside:"aside",code:"code",div:"div",h1:"h1",header:"header",p:"p",pre:"pre",span:"span",...n(),...i.components};return s.jsxs(s.Fragment,{children:[s.jsx(e.header,{children:s.jsxs(e.h1,{id:"preparing-for-a-runtime-upgrade",children:["Preparing for a runtime upgrade",s.jsx(e.a,{"aria-hidden":"true",tabIndex:"-1",href:"#preparing-for-a-runtime-upgrade",children:s.jsx(e.div,{"data-autolink-icon":!0})})]})}),` +import{u as n,j as s}from"./index-DBGcajzP.js";const a={title:"Preparing for a runtime upgrade",description:"undefined"};function r(i){const e={a:"a",aside:"aside",code:"code",div:"div",h1:"h1",header:"header",p:"p",pre:"pre",span:"span",...n(),...i.components};return s.jsxs(s.Fragment,{children:[s.jsx(e.header,{children:s.jsxs(e.h1,{id:"preparing-for-a-runtime-upgrade",children:["Preparing for a runtime upgrade",s.jsx(e.a,{"aria-hidden":"true",tabIndex:"-1",href:"#preparing-for-a-runtime-upgrade",children:s.jsx(e.div,{"data-autolink-icon":!0})})]})}),` `,s.jsx(e.p,{children:"With Polkadot-API's support for multiple chains, you can make your dApp prepare for an upcoming runtime upgrade on a chain as long as you can get the metadata for that upgrade."}),` `,s.jsx(e.p,{children:"As an example, let's imagine we have already set up the polkadot relay chain for our dApp"}),` `,s.jsx(e.pre,{className:"shiki shiki-themes github-light github-dark-dimmed",style:{backgroundColor:"#fff","--shiki-dark-bg":"#22272e",color:"#24292e","--shiki-dark":"#adbac7"},tabIndex:"0",children:s.jsx(e.code,{children:s.jsxs(e.span,{className:"line",children:[s.jsx(e.span,{style:{color:"#6F42C1","--shiki-dark":"#F69D50"},children:"npx"}),s.jsx(e.span,{style:{color:"#032F62","--shiki-dark":"#96D0FF"},children:" papi"}),s.jsx(e.span,{style:{color:"#032F62","--shiki-dark":"#96D0FF"},children:" add"}),s.jsx(e.span,{style:{color:"#032F62","--shiki-dark":"#96D0FF"},children:" dot"}),s.jsx(e.span,{style:{color:"#005CC5","--shiki-dark":"#6CB6FF"},children:" -n"}),s.jsx(e.span,{style:{color:"#032F62","--shiki-dark":"#96D0FF"},children:" polkadot"})]})})}),` diff --git a/client/index.html b/client/index.html index 6a3f32eb..57396f2c 100644 --- a/client/index.html +++ b/client/index.html @@ -12,8 +12,8 @@ - - + +
diff --git a/codegen/index.html b/codegen/index.html index 6a3f32eb..57396f2c 100644 --- a/codegen/index.html +++ b/codegen/index.html @@ -12,8 +12,8 @@ - - + +
diff --git a/getting-started/index.html b/getting-started/index.html index 6a3f32eb..57396f2c 100644 --- a/getting-started/index.html +++ b/getting-started/index.html @@ -12,8 +12,8 @@ - - + +
diff --git a/index.html b/index.html index 6a3f32eb..57396f2c 100644 --- a/index.html +++ b/index.html @@ -12,8 +12,8 @@ - - + +
diff --git a/providers/index.html b/providers/index.html index 6a3f32eb..57396f2c 100644 --- a/providers/index.html +++ b/providers/index.html @@ -12,8 +12,8 @@ - - + +
diff --git a/recipes/upgrade/index.html b/recipes/upgrade/index.html index 6a3f32eb..57396f2c 100644 --- a/recipes/upgrade/index.html +++ b/recipes/upgrade/index.html @@ -12,8 +12,8 @@ - - + +
diff --git a/signers/index.html b/signers/index.html index 6a3f32eb..57396f2c 100644 --- a/signers/index.html +++ b/signers/index.html @@ -12,8 +12,8 @@ - - + +
diff --git a/typed/apis/index.html b/typed/apis/index.html index 6a3f32eb..57396f2c 100644 --- a/typed/apis/index.html +++ b/typed/apis/index.html @@ -12,8 +12,8 @@ - - + +
diff --git a/typed/constants/index.html b/typed/constants/index.html index 6a3f32eb..57396f2c 100644 --- a/typed/constants/index.html +++ b/typed/constants/index.html @@ -12,8 +12,8 @@ - - + +
diff --git a/typed/index.html b/typed/index.html index 6a3f32eb..57396f2c 100644 --- a/typed/index.html +++ b/typed/index.html @@ -12,8 +12,8 @@ - - + +
diff --git a/typed/queries/index.html b/typed/queries/index.html index 6a3f32eb..57396f2c 100644 --- a/typed/queries/index.html +++ b/typed/queries/index.html @@ -12,8 +12,8 @@ - - + +
diff --git a/types/index.html b/types/index.html index 6a3f32eb..57396f2c 100644 --- a/types/index.html +++ b/types/index.html @@ -12,8 +12,8 @@ - - + +