Page Not Found
We could not find what you were looking for.
Please contact the owner of the site that linked you to the original URL and let them know their link is broken.
diff --git a/404.html b/404.html index cb2f1886..1f8bb880 100644 --- a/404.html +++ b/404.html @@ -2,17 +2,17 @@
- +We could not find what you were looking for.
Please contact the owner of the site that linked you to the original URL and let them know their link is broken.
We could not find what you were looking for.
Please contact the owner of the site that linked you to the original URL and let them know their link is broken.
Overview: The runtime environment of a client node in the Calimero Network is crucial for the execution of decentralized applications (DApps), particularly those compiled to WebAssembly (WASM).
@@ -30,8 +30,8 @@ application security and integrity, particularly in a decentralized setting where trust is distributed. -Overview: Storage on client nodes involves maintaining the state and data required for the decentralized applications they support.
Functionality:
@@ -41,20 +41,20 @@Data stored on client nodes can be encrypted, providing an additional layer of security and privacy for user data.
-Overview: Managing identities on the Calimero Network is fundamental for ensuring secure and private interactions between nodes and applications. Functionality:
-Nodes implement mechanisms for authenticating users and applications, ensuring that interactions are secure and that entities are who they claim to be.
-The management of cryptographic keys is an integral part of identity management, enabling secure communication and data encryption across the network.
-Current State: The marketplace for decentralized applications within the Calimero Network is facilitated by a smart contract on the NEAR blockchain, with application data and metadata hosted on IPFS. This setup serves as a temporary @@ -66,6 +66,6 @@
This document provides an overview of the networking component of Calimero
Network, which is implemented using the libp2p
library. The network consists
of two types of peers: client nodes and boot nodes, each serving distinct roles
@@ -21,8 +21,8 @@
Client node is the component which hosts and runs client applications,
communicates and shares data between other client nodes. Boot node is the
component used for the initial discovery of the peers in the network.
Deployment: Must run on a publicly available machine with a static IP @@ -117,9 +117,9 @@
One of the common techniques used for NAT traversal in P2P networks is Hole Punching. This technique allows two peers, each behind a NAT, to establish a direct connection with each other. Here's a brief explanation:
@@ -224,6 +224,6 @@The runtime environment in the Calimero Network is essential for executing + ICP Hackathon with prize pool of 40 000 USD and Starknet Hackathon with prize pool of 25 000 USD!
The runtime environment in the Calimero Network is essential for executing decentralized applications (DApps). It acts as a bridge between the application logic, the network, and storage layers, ensuring seamless operation and integration. The runtime ensures secure, isolated, and efficient execution of applications by managing resources effectively, supporting real-time event handling, enabling scalability, and providing robust storage and transaction management.
-Security and Isolation: The runtime provides a secure execution @@ -65,6 +65,6 @@
The server is a core component for interacting with a Calimero node. Calimero + ICP Hackathon with prize pool of 40 000 USD and Starknet Hackathon with prize pool of 25 000 USD!
The server is a core component for interacting with a Calimero node. Calimero can be embedded with your client to make it a self-contained node, or it can run as a remote node that multiple clients can connect to, allowing centralized state management.
-JSON-RPC API: Provides a standardized way for clients to query or mutate @@ -48,6 +48,6 @@
The storage component in the Calimero Network is essential for managing and + ICP Hackathon with prize pool of 40 000 USD and Starknet Hackathon with prize pool of 25 000 USD!
The storage component in the Calimero Network is essential for managing and maintaining the data generated and utilized by decentralized applications (DApps). It ensures data integrity, security, and efficient access, enabling seamless operation of applications within the network.
-Generic Storage Interface: Calimero provides a flexible storage interface @@ -61,6 +61,6 @@
Calimero Network offers a robust framework for developing and running + ICP Hackathon with prize pool of 40 000 USD and Starknet Hackathon with prize pool of 25 000 USD!
Calimero Network offers a robust framework for developing and running peer-to-peer (P2P) applications. Our framework allows users to participate in the network or build applications for others to use.
-Users participate in the network with a client node. By encapsulating the complexities of operating a client node, we aim to make it easy and intuitive for everyone to engage in the decentralized world.
@@ -32,8 +32,8 @@To develop applications on the Calimero Network, we provide comprehensive SDKs:
Explore other sections to learn more about each component, and how they -contribute to a seamless decentralized experience.
["'])(?.*?)\1/,it=/\{(? [\d,-]+)\}/,at={js:{start:"\\/\\/",end:""},jsBlock:{start:"\\/\\*",end:"\\*\\/"},jsx:{start:"\\{\\s*\\/\\*",end:"\\*\\/\\s*\\}"},bash:{start:"#",end:""},html:{start:"\x3c!--",end:"--\x3e"}},ot={...at,lua:{start:"--",end:""},wasm:{start:"\\;\\;",end:""},tex:{start:"%",end:""},vb:{start:"['\u2018\u2019]",end:""},vbnet:{start:"(?:_\\s*)?['\u2018\u2019]",end:""},rem:{start:"[Rr][Ee][Mm]\\b",end:""},f90:{start:"!",end:""},ml:{start:"\\(\\*",end:"\\*\\)"},cobol:{start:"\\*>",end:""}},st=Object.keys(at);function lt(t,e){const r=t.map((t=>{const{start:r,end:n}=ot[t];return`(?:${r}\\s*(${e.flatMap((t=>[t.line,t.block?.start,t.block?.end].filter(Boolean))).join("|")})\\s*${n})`})).join("|");return new RegExp(`^\\s*(?:${r})\\s*$`)}function ct(t,e){let r=t.replace(/\n$/,"");const{language:n,magicComments:i,metastring:a}=e;if(a&&it.test(a)){const t=a.match(it).groups.range;if(0===i.length)throw new Error(`A highlight range has been given in code block's metastring (\`\`\` ${a}), but no magic comment config is available. Docusaurus applies the first magic comment entry's className for metastring ranges.`);const e=i[0].className,n=rt()(t).filter((t=>t>0)).map((t=>[t-1,[e]]));return{lineClassNames:Object.fromEntries(n),code:r}}if(void 0===n)return{lineClassNames:{},code:r};const o=function(t,e){switch(t){case"js":case"javascript":case"ts":case"typescript":return lt(["js","jsBlock"],e);case"jsx":case"tsx":return lt(["js","jsBlock","jsx"],e);case"html":return lt(["js","jsBlock","html"],e);case"python":case"py":case"bash":return lt(["bash"],e);case"markdown":case"md":return lt(["html","jsx","bash"],e);case"tex":case"latex":case"matlab":return lt(["tex"],e);case"lua":case"haskell":return lt(["lua"],e);case"sql":return lt(["lua","jsBlock"],e);case"wasm":return lt(["wasm"],e);case"vb":case"vba":case"visual-basic":return lt(["vb","rem"],e);case"vbnet":return lt(["vbnet","rem"],e);case"batch":return lt(["rem"],e);case"basic":return lt(["rem","f90"],e);case"fsharp":return lt(["js","ml"],e);case"ocaml":case"sml":return lt(["ml"],e);case"fortran":return lt(["f90"],e);case"cobol":return lt(["cobol"],e);default:return lt(st,e)}}(n,i),s=r.split("\n"),l=Object.fromEntries(i.map((t=>[t.className,{start:0,range:""}]))),c=Object.fromEntries(i.filter((t=>t.line)).map((t=>{let{className:e,line:r}=t;return[r,e]}))),h=Object.fromEntries(i.filter((t=>t.block)).map((t=>{let{className:e,block:r}=t;return[r.start,e]}))),u=Object.fromEntries(i.filter((t=>t.block)).map((t=>{let{className:e,block:r}=t;return[r.end,e]})));for(let p=0;p void 0!==t));c[e]?l[c[e]].range+=`${p},`:h[e]?l[h[e]].start=p:u[e]&&(l[u[e]].range+=`${l[u[e]].start}-${p-1},`),s.splice(p,1)}r=s.join("\n");const d={};return Object.entries(l).forEach((t=>{let[e,{range:r}]=t;rt()(r).forEach((t=>{d[t]??=[],d[t].push(e)}))})),{lineClassNames:d,code:r}}const ht="codeBlockContainer_CNI3";function ut(t){let{as:e,...r}=t;const n=function(t){const e={color:"--prism-color",backgroundColor:"--prism-background-color"},r={};return Object.entries(t.plain).forEach((t=>{let[n,i]=t;const a=e[n];a&&"string"==typeof i&&(r[a]=i)})),r}(tt());return(0,o.jsx)(e,{...r,style:n,className:(0,l.A)(r.className,ht,y.G.common.codeBlock)})}const dt={codeBlockContent:"codeBlockContent_GXNV",codeBlockTitle:"codeBlockTitle_vw48",codeBlock:"codeBlock_B0z7",codeBlockStandalone:"codeBlockStandalone_asbf",codeBlockLines:"codeBlockLines_hqQX",codeBlockLinesWithNumbering:"codeBlockLinesWithNumbering_olj4",buttonGroup:"buttonGroup__0cn"};function pt(t){let{children:e,className:r}=t;return(0,o.jsx)(ut,{as:"pre",tabIndex:0,className:(0,l.A)(dt.codeBlockStandalone,"thin-scrollbar",r),children:(0,o.jsx)("code",{className:dt.codeBlockLines,children:e})})}var ft=r(6606);const gt={attributes:!0,characterData:!0,childList:!0,subtree:!0};function mt(t,e){const[r,i]=(0,n.useState)(),a=(0,n.useCallback)((()=>{i(t.current?.closest("[role=tabpanel][hidden]"))}),[t,i]);(0,n.useEffect)((()=>{a()}),[a]),function(t,e,r){void 0===r&&(r=gt);const i=(0,ft._q)(e),a=(0,ft.Be)(r);(0,n.useEffect)((()=>{const e=new MutationObserver(i);return t&&e.observe(t,a),()=>e.disconnect()}),[t,i,a])}(r,(t=>{t.forEach((t=>{"attributes"===t.type&&"hidden"===t.attributeName&&(e(),a())}))}),{attributes:!0,characterData:!1,childList:!1,subtree:!1})}var yt=r(6194);const xt="codeLine_BsDX",bt="codeLineNumber_mX8G",kt="codeLineContent_RGO5";function Ct(t){let{line:e,classNames:r,showLineNumbers:n,getLineProps:i,getTokenProps:a}=t;1===e.length&&"\n"===e[0].content&&(e[0].content="");const s=i({line:e,className:(0,l.A)(r,n&&xt)}),c=e.map(((t,e)=>(0,o.jsx)("span",{...a({token:t})},e)));return(0,o.jsxs)("span",{...s,children:[n?(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)("span",{className:bt}),(0,o.jsx)("span",{className:kt,children:c})]}):c,(0,o.jsx)("br",{})]})}function wt(t){return(0,o.jsx)("svg",{viewBox:"0 0 24 24",...t,children:(0,o.jsx)("path",{fill:"currentColor",d:"M19,21H8V7H19M19,5H8A2,2 0 0,0 6,7V21A2,2 0 0,0 8,23H19A2,2 0 0,0 21,21V7A2,2 0 0,0 19,5M16,1H4A2,2 0 0,0 2,3V17H4V3H16V1Z"})})}function vt(t){return(0,o.jsx)("svg",{viewBox:"0 0 24 24",...t,children:(0,o.jsx)("path",{fill:"currentColor",d:"M21,7L9,19L3.5,13.5L4.91,12.09L9,16.17L19.59,5.59L21,7Z"})})}const _t={copyButtonCopied:"copyButtonCopied_EIq7",copyButtonIcons:"copyButtonIcons_d7gu",copyButtonIcon:"copyButtonIcon_xf3N",copyButtonSuccessIcon:"copyButtonSuccessIcon_umIj"};function St(t){let{code:e,className:r}=t;const[i,a]=(0,n.useState)(!1),s=(0,n.useRef)(void 0),c=(0,n.useCallback)((()=>{!function(t,e){let{target:r=document.body}=void 0===e?{}:e;if("string"!=typeof t)throw new TypeError(`Expected parameter \`text\` to be a \`string\`, got \`${typeof t}\`.`);const n=document.createElement("textarea"),i=document.activeElement;n.value=t,n.setAttribute("readonly",""),n.style.contain="strict",n.style.position="absolute",n.style.left="-9999px",n.style.fontSize="12pt";const a=document.getSelection(),o=a.rangeCount>0&&a.getRangeAt(0);r.append(n),n.select(),n.selectionStart=0,n.selectionEnd=t.length;let s=!1;try{s=document.execCommand("copy")}catch{}n.remove(),o&&(a.removeAllRanges(),a.addRange(o)),i&&i.focus()}(e),a(!0),s.current=window.setTimeout((()=>{a(!1)}),1e3)}),[e]);return(0,n.useEffect)((()=>()=>window.clearTimeout(s.current)),[]),(0,o.jsx)("button",{type:"button","aria-label":i?(0,h.T)({id:"theme.CodeBlock.copied",message:"Copied",description:"The copied button label on code blocks"}):(0,h.T)({id:"theme.CodeBlock.copyButtonAriaLabel",message:"Copy code to clipboard",description:"The ARIA label for copy code blocks button"}),title:(0,h.T)({id:"theme.CodeBlock.copy",message:"Copy",description:"The copy button label on code blocks"}),className:(0,l.A)("clean-btn",r,_t.copyButton,i&&_t.copyButtonCopied),onClick:c,children:(0,o.jsxs)("span",{className:_t.copyButtonIcons,"aria-hidden":"true",children:[(0,o.jsx)(wt,{className:_t.copyButtonIcon}),(0,o.jsx)(vt,{className:_t.copyButtonSuccessIcon})]})})}function At(t){return(0,o.jsx)("svg",{viewBox:"0 0 24 24",...t,children:(0,o.jsx)("path",{fill:"currentColor",d:"M4 19h6v-2H4v2zM20 5H4v2h16V5zm-3 6H4v2h13.25c1.1 0 2 .9 2 2s-.9 2-2 2H15v-2l-3 3l3 3v-2h2c2.21 0 4-1.79 4-4s-1.79-4-4-4z"})})}const Tt="wordWrapButtonIcon_lMdP",Mt="wordWrapButtonEnabled_EZEn";function Bt(t){let{className:e,onClick:r,isEnabled:n}=t;const i=(0,h.T)({id:"theme.CodeBlock.wordWrapToggle",message:"Toggle word wrap",description:"The title attribute for toggle word wrapping button of code block lines"});return(0,o.jsx)("button",{type:"button",onClick:r,className:(0,l.A)("clean-btn",e,n&&Mt),"aria-label":i,title:i,children:(0,o.jsx)(At,{className:Tt,"aria-hidden":"true"})})}function Lt(t){let{children:e,className:r="",metastring:i,title:a,showLineNumbers:s,language:c}=t;const{prism:{defaultLanguage:h,magicComments:u}}=(0,M.p)(),d=function(t){return t?.toLowerCase()}(c??function(t){const e=t.split(" ").find((t=>t.startsWith("language-")));return e?.replace(/language-/,"")}(r)??h),p=tt(),f=function(){const[t,e]=(0,n.useState)(!1),[r,i]=(0,n.useState)(!1),a=(0,n.useRef)(null),o=(0,n.useCallback)((()=>{const r=a.current.querySelector("code");t?r.removeAttribute("style"):(r.style.whiteSpace="pre-wrap",r.style.overflowWrap="anywhere"),e((t=>!t))}),[a,t]),s=(0,n.useCallback)((()=>{const{scrollWidth:t,clientWidth:e}=a.current,r=t>e||a.current.querySelector("code").hasAttribute("style");i(r)}),[a]);return mt(a,s),(0,n.useEffect)((()=>{s()}),[t,s]),(0,n.useEffect)((()=>(window.addEventListener("resize",s,{passive:!0}),()=>{window.removeEventListener("resize",s)})),[s]),{codeBlockRef:a,isEnabled:t,isCodeScrollable:r,toggle:o}}(),g=function(t){return t?.match(nt)?.groups.title??""}(i)||a,{lineClassNames:m,code:y}=ct(e,{metastring:i,language:d,magicComments:u}),x=s??function(t){return Boolean(t?.includes("showLineNumbers"))}(i);return(0,o.jsxs)(ut,{as:"div",className:(0,l.A)(r,d&&!r.includes(`language-${d}`)&&`language-${d}`),children:[g&&(0,o.jsx)("div",{className:dt.codeBlockTitle,children:g}),(0,o.jsxs)("div",{className:dt.codeBlockContent,children:[(0,o.jsx)(yt.f4,{theme:p,code:y,language:d??"text",children:t=>{let{className:e,style:r,tokens:n,getLineProps:i,getTokenProps:a}=t;return(0,o.jsx)("pre",{tabIndex:0,ref:f.codeBlockRef,className:(0,l.A)(e,dt.codeBlock,"thin-scrollbar"),style:r,children:(0,o.jsx)("code",{className:(0,l.A)(dt.codeBlockLines,x&&dt.codeBlockLinesWithNumbering),children:n.map(((t,e)=>(0,o.jsx)(Ct,{line:t,getLineProps:i,getTokenProps:a,classNames:m[e],showLineNumbers:x},e)))})})}}),(0,o.jsxs)("div",{className:dt.buttonGroup,children:[(f.isEnabled||f.isCodeScrollable)&&(0,o.jsx)(Bt,{className:dt.codeButton,onClick:()=>f.toggle(),isEnabled:f.isEnabled}),(0,o.jsx)(St,{className:dt.codeButton,code:y})]})]})]})}function Ft(t){let{children:e,...r}=t;const i=(0,Q.A)(),a=function(t){return n.Children.toArray(t).some((t=>(0,n.isValidElement)(t)))?t:Array.isArray(t)?t.join(""):t}(e),s="string"==typeof a?Lt:pt;return(0,o.jsx)(s,{...r,children:a},String(i))}function $t(t){return(0,o.jsx)("code",{...t})}var Et=r(4508);const Nt="details_qARj",Dt="isBrowser_HCSd",jt="collapsibleContent_fNOf";function It(t){return!!t&&("SUMMARY"===t.tagName||It(t.parentElement))}function Ot(t,e){return!!t&&(t===e||Ot(t.parentElement,e))}function Rt(t){let{summary:e,children:r,...i}=t;(0,Et.A)().collectAnchor(i.id);const a=(0,Q.A)(),s=(0,n.useRef)(null),{collapsed:c,setCollapsed:h}=(0,T.u)({initialState:!i.open}),[u,d]=(0,n.useState)(i.open),p=n.isValidElement(e)?e:(0,o.jsx)("summary",{children:e??"Details"});return(0,o.jsxs)("details",{...i,ref:s,open:u,"data-collapsed":c,className:(0,l.A)(Nt,a&&Dt,i.className),onMouseDown:t=>{It(t.target)&&t.detail>1&&t.preventDefault()},onClick:t=>{t.stopPropagation();const e=t.target;It(e)&&Ot(e,s.current)&&(t.preventDefault(),c?(h(!1),d(!0)):h(!0))},children:[p,(0,o.jsx)(T.N,{lazy:!1,collapsed:c,disableSSRStyle:!0,onCollapseTransitionEnd:t=>{h(t),d(!t)},children:(0,o.jsx)("div",{className:jt,children:r})})]})}const Pt="details_Q_Ck";function zt(t){let{...e}=t;return(0,o.jsx)(Rt,{...e,className:(0,l.A)("alert alert--info",Pt,e.className)})}function Kt(t){const e=n.Children.toArray(t.children),r=e.find((t=>n.isValidElement(t)&&"summary"===t.type)),i=(0,o.jsx)(o.Fragment,{children:e.filter((t=>t!==r))});return(0,o.jsx)(zt,{...t,summary:r,children:i})}function qt(t){return(0,o.jsx)(G.A,{...t})}const Wt="containsTaskList_RB1A";function Ht(t){if(void 0!==t)return(0,l.A)(t,t?.includes("contains-task-list")&&Wt)}const Ut="img_zzmh";function Yt(t){const{mdxAdmonitionTitle:e,rest:r}=function(t){const e=n.Children.toArray(t),r=e.find((t=>n.isValidElement(t)&&"mdxAdmonitionTitle"===t.type)),i=e.filter((t=>t!==r)),a=r?.props.children;return{mdxAdmonitionTitle:a,rest:i.length>0?(0,o.jsx)(o.Fragment,{children:i}):null}}(t.children),i=t.title??e;return{...t,...i&&{title:i},children:r}}const Vt="admonition_XD15",Gt="admonitionHeading_ozOI",Zt="admonitionIcon_z2Qo",Xt="admonitionContent_BT_s";function Qt(t){let{type:e,className:r,children:n}=t;return(0,o.jsx)("div",{className:(0,l.A)(y.G.common.admonition,y.G.common.admonitionType(e),Vt,r),children:n})}function Jt(t){let{icon:e,title:r}=t;return(0,o.jsxs)("div",{className:Gt,children:[(0,o.jsx)("span",{className:Zt,children:e}),r]})}function te(t){let{children:e}=t;return e?(0,o.jsx)("div",{className:Xt,children:e}):null}function ee(t){const{type:e,icon:r,title:n,children:i,className:a}=t;return(0,o.jsxs)(Qt,{type:e,className:a,children:[n||r?(0,o.jsx)(Jt,{title:n,icon:r}):null,(0,o.jsx)(te,{children:i})]})}function re(t){return(0,o.jsx)("svg",{viewBox:"0 0 14 16",...t,children:(0,o.jsx)("path",{fillRule:"evenodd",d:"M6.3 5.69a.942.942 0 0 1-.28-.7c0-.28.09-.52.28-.7.19-.18.42-.28.7-.28.28 0 .52.09.7.28.18.19.28.42.28.7 0 .28-.09.52-.28.7a1 1 0 0 1-.7.3c-.28 0-.52-.11-.7-.3zM8 7.99c-.02-.25-.11-.48-.31-.69-.2-.19-.42-.3-.69-.31H6c-.27.02-.48.13-.69.31-.2.2-.3.44-.31.69h1v3c.02.27.11.5.31.69.2.2.42.31.69.31h1c.27 0 .48-.11.69-.31.2-.19.3-.42.31-.69H8V7.98v.01zM7 2.3c-3.14 0-5.7 2.54-5.7 5.68 0 3.14 2.56 5.7 5.7 5.7s5.7-2.55 5.7-5.7c0-3.15-2.56-5.69-5.7-5.69v.01zM7 .98c3.86 0 7 3.14 7 7s-3.14 7-7 7-7-3.12-7-7 3.14-7 7-7z"})})}const ne={icon:(0,o.jsx)(re,{}),title:(0,o.jsx)(h.A,{id:"theme.admonition.note",description:"The default label used for the Note admonition (:::note)",children:"note"})};function ie(t){return(0,o.jsx)(ee,{...ne,...t,className:(0,l.A)("alert alert--secondary",t.className),children:t.children})}function ae(t){return(0,o.jsx)("svg",{viewBox:"0 0 12 16",...t,children:(0,o.jsx)("path",{fillRule:"evenodd",d:"M6.5 0C3.48 0 1 2.19 1 5c0 .92.55 2.25 1 3 1.34 2.25 1.78 2.78 2 4v1h5v-1c.22-1.22.66-1.75 2-4 .45-.75 1-2.08 1-3 0-2.81-2.48-5-5.5-5zm3.64 7.48c-.25.44-.47.8-.67 1.11-.86 1.41-1.25 2.06-1.45 3.23-.02.05-.02.11-.02.17H5c0-.06 0-.13-.02-.17-.2-1.17-.59-1.83-1.45-3.23-.2-.31-.42-.67-.67-1.11C2.44 6.78 2 5.65 2 5c0-2.2 2.02-4 4.5-4 1.22 0 2.36.42 3.22 1.19C10.55 2.94 11 3.94 11 5c0 .66-.44 1.78-.86 2.48zM4 14h5c-.23 1.14-1.3 2-2.5 2s-2.27-.86-2.5-2z"})})}const oe={icon:(0,o.jsx)(ae,{}),title:(0,o.jsx)(h.A,{id:"theme.admonition.tip",description:"The default label used for the Tip admonition (:::tip)",children:"tip"})};function se(t){return(0,o.jsx)(ee,{...oe,...t,className:(0,l.A)("alert alert--success",t.className),children:t.children})}function le(t){return(0,o.jsx)("svg",{viewBox:"0 0 14 16",...t,children:(0,o.jsx)("path",{fillRule:"evenodd",d:"M7 2.3c3.14 0 5.7 2.56 5.7 5.7s-2.56 5.7-5.7 5.7A5.71 5.71 0 0 1 1.3 8c0-3.14 2.56-5.7 5.7-5.7zM7 1C3.14 1 0 4.14 0 8s3.14 7 7 7 7-3.14 7-7-3.14-7-7-7zm1 3H6v5h2V4zm0 6H6v2h2v-2z"})})}const ce={icon:(0,o.jsx)(le,{}),title:(0,o.jsx)(h.A,{id:"theme.admonition.info",description:"The default label used for the Info admonition (:::info)",children:"info"})};function he(t){return(0,o.jsx)(ee,{...ce,...t,className:(0,l.A)("alert alert--info",t.className),children:t.children})}function ue(t){return(0,o.jsx)("svg",{viewBox:"0 0 16 16",...t,children:(0,o.jsx)("path",{fillRule:"evenodd",d:"M8.893 1.5c-.183-.31-.52-.5-.887-.5s-.703.19-.886.5L.138 13.499a.98.98 0 0 0 0 1.001c.193.31.53.501.886.501h13.964c.367 0 .704-.19.877-.5a1.03 1.03 0 0 0 .01-1.002L8.893 1.5zm.133 11.497H6.987v-2.003h2.039v2.003zm0-3.004H6.987V5.987h2.039v4.006z"})})}const de={icon:(0,o.jsx)(ue,{}),title:(0,o.jsx)(h.A,{id:"theme.admonition.warning",description:"The default label used for the Warning admonition (:::warning)",children:"warning"})};function pe(t){return(0,o.jsx)("svg",{viewBox:"0 0 12 16",...t,children:(0,o.jsx)("path",{fillRule:"evenodd",d:"M5.05.31c.81 2.17.41 3.38-.52 4.31C3.55 5.67 1.98 6.45.9 7.98c-1.45 2.05-1.7 6.53 3.53 7.7-2.2-1.16-2.67-4.52-.3-6.61-.61 2.03.53 3.33 1.94 2.86 1.39-.47 2.3.53 2.27 1.67-.02.78-.31 1.44-1.13 1.81 3.42-.59 4.78-3.42 4.78-5.56 0-2.84-2.53-3.22-1.25-5.61-1.52.13-2.03 1.13-1.89 2.75.09 1.08-1.02 1.8-1.86 1.33-.67-.41-.66-1.19-.06-1.78C8.18 5.31 8.68 2.45 5.05.32L5.03.3l.02.01z"})})}const fe={icon:(0,o.jsx)(pe,{}),title:(0,o.jsx)(h.A,{id:"theme.admonition.danger",description:"The default label used for the Danger admonition (:::danger)",children:"danger"})};const ge={icon:(0,o.jsx)(ue,{}),title:(0,o.jsx)(h.A,{id:"theme.admonition.caution",description:"The default label used for the Caution admonition (:::caution)",children:"caution"})};const me={...{note:ie,tip:se,info:he,warning:function(t){return(0,o.jsx)(ee,{...de,...t,className:(0,l.A)("alert alert--warning",t.className),children:t.children})},danger:function(t){return(0,o.jsx)(ee,{...fe,...t,className:(0,l.A)("alert alert--danger",t.className),children:t.children})}},...{secondary:t=>(0,o.jsx)(ie,{title:"secondary",...t}),important:t=>(0,o.jsx)(he,{title:"important",...t}),success:t=>(0,o.jsx)(se,{title:"success",...t}),caution:function(t){return(0,o.jsx)(ee,{...ge,...t,className:(0,l.A)("alert alert--warning",t.className),children:t.children})}}};function ye(t){const e=Yt(t),r=(n=e.type,me[n]||(console.warn(`No admonition component found for admonition type "${n}". Using Info as fallback.`),me.info));var n;return(0,o.jsx)(r,{...e})}var xe=r(9570),be=r(212),ke=r(1802),Ce=r(6532),we=(r(5738),r(5466),r(1883)),ve=(r(5436),r(6483),r(1023),r(6887)),_e=r(9704),Se=r(8958),Ae=r(1611),Te=r(6793),Me=r(8893),Be="comm",Le="rule",Fe="decl",$e=Math.abs,Ee=String.fromCharCode;Object.assign;function Ne(t){return t.trim()}function De(t,e,r){return t.replace(e,r)}function je(t,e,r){return t.indexOf(e,r)}function Ie(t,e){return 0|t.charCodeAt(e)}function Oe(t,e,r){return t.slice(e,r)}function Re(t){return t.length}function Pe(t,e){return e.push(t),t}function ze(t,e){for(var r="",n=0;n 0?Ie(Ve,--Ue):0,We--,10===Ye&&(We=1,qe--),Ye}function Xe(){return Ye=Ue 2||er(Ye)>3?"":" "}function or(t,e){for(;--e&&Xe()&&!(Ye<48||Ye>102||Ye>57&&Ye<65||Ye>70&&Ye<97););return tr(t,Je()+(e<6&&32==Qe()&&32==Xe()))}function sr(t){for(;Xe();)switch(Ye){case t:return Ue;case 34:case 39:34!==t&&39!==t&&sr(Ye);break;case 40:41===t&&sr(t);break;case 92:Xe()}return Ue}function lr(t,e){for(;Xe()&&t+Ye!==57&&(t+Ye!==84||47!==Qe()););return"/*"+tr(e,Ue-1)+"*"+Ee(47===t?t:Xe())}function cr(t){for(;!er(Qe());)Xe();return tr(t,Ue)}function hr(t){return nr(ur("",null,null,null,[""],t=rr(t),0,[0],t))}function ur(t,e,r,n,i,a,o,s,l){for(var c=0,h=0,u=o,d=0,p=0,f=0,g=1,m=1,y=1,x=0,b="",k=i,C=a,w=n,v=b;m;)switch(f=x,x=Xe()){case 40:if(108!=f&&58==Ie(v,u-1)){-1!=je(v+=De(ir(x),"&","&\f"),"&\f",$e(c?s[c-1]:0))&&(y=-1);break}case 34:case 39:case 91:v+=ir(x);break;case 9:case 10:case 13:case 32:v+=ar(f);break;case 92:v+=or(Je()-1,7);continue;case 47:switch(Qe()){case 42:case 47:Pe(pr(lr(Xe(),Je()),e,r,l),l),5!=er(f||1)&&5!=er(Qe()||1)||!Re(v)||" "===Oe(v,-1,void 0)||(v+=" ");break;default:v+="/"}break;case 123*g:s[c++]=Re(v)*y;case 125*g:case 59:case 0:switch(x){case 0:case 125:m=0;case 59+h:-1==y&&(v=De(v,/\f/g,"")),p>0&&(Re(v)-u||0===g&&47===f)&&Pe(p>32?fr(v+";",n,r,u-1,l):fr(De(v," ","")+";",n,r,u-2,l),l);break;case 59:v+=";";default:if(Pe(w=dr(v,e,r,c,h,i,s,b,k=[],C=[],u,a),a),123===x)if(0===h)ur(v,e,w,w,k,a,u,s,C);else switch(99===d&&110===Ie(v,3)?100:d){case 100:case 108:case 109:case 115:ur(t,w,w,n&&Pe(dr(t,w,w,0,0,i,s,b,i,k=[],u,C),C),i,C,u,s,n?k:C);break;default:ur(v,w,w,w,[""],C,0,s,C)}}c=h=p=0,g=y=1,b=v="",u=o;break;case 58:u=1+Re(v),p=f;default:if(g<1)if(123==x)--g;else if(125==x&&0==g++&&125==Ze())continue;switch(v+=Ee(x),x*g){case 38:y=h>0?1:(v+="\f",-1);break;case 44:s[c++]=(Re(v)-1)*y,y=1;break;case 64:45===Qe()&&(v+=ir(Xe())),d=Qe(),h=u=Re(b=v+=cr(Je())),x++;break;case 45:45===f&&2==Re(v)&&(g=0)}}return a}function dr(t,e,r,n,i,a,o,s,l,c,h,u){for(var d=i-1,p=0===i?a:[""],f=function(t){return t.length}(p),g=0,m=0,y=0;g 0?p[x]+" "+b:De(b,/&\f/g,p[x])))&&(l[y++]=k);return Ge(t,e,r,0===i?Le:s,l,c,h,u)}function pr(t,e,r,n){return Ge(t,e,r,Be,Ee(Ye),Oe(t,2,-2),0,n)}function fr(t,e,r,n,i){return Ge(t,e,r,Fe,Oe(t,0,n),Oe(t,n+1,-1),n,i)}var gr=r(9945),mr=r(570),yr={id:"c4",detector:(0,Ae.K2)((t=>/^\s*C4Context|C4Container|C4Component|C4Dynamic|C4Deployment/.test(t)),"detector"),loader:(0,Ae.K2)((async()=>{const{diagram:t}=await r.e(3440).then(r.bind(r,3440));return{id:"c4",diagram:t}}),"loader")},xr="flowchart",br={id:xr,detector:(0,Ae.K2)(((t,e)=>"dagre-wrapper"!==e?.flowchart?.defaultRenderer&&"elk"!==e?.flowchart?.defaultRenderer&&/^\s*graph/.test(t)),"detector"),loader:(0,Ae.K2)((async()=>{const{diagram:t}=await r.e(7933).then(r.bind(r,7933));return{id:xr,diagram:t}}),"loader")},kr="flowchart-v2",Cr={id:kr,detector:(0,Ae.K2)(((t,e)=>"dagre-d3"!==e?.flowchart?.defaultRenderer&&("elk"===e?.flowchart?.defaultRenderer&&(e.layout="elk"),!(!/^\s*graph/.test(t)||"dagre-wrapper"!==e?.flowchart?.defaultRenderer)||/^\s*flowchart/.test(t))),"detector"),loader:(0,Ae.K2)((async()=>{const{diagram:t}=await r.e(7933).then(r.bind(r,7933));return{id:kr,diagram:t}}),"loader")},wr={id:"er",detector:(0,Ae.K2)((t=>/^\s*erDiagram/.test(t)),"detector"),loader:(0,Ae.K2)((async()=>{const{diagram:t}=await Promise.all([r.e(1874),r.e(4326),r.e(8954)]).then(r.bind(r,8954));return{id:"er",diagram:t}}),"loader")},vr="gitGraph",_r={id:vr,detector:(0,Ae.K2)((t=>/^\s*gitGraph/.test(t)),"detector"),loader:(0,Ae.K2)((async()=>{const{diagram:t}=await Promise.all([r.e(1874),r.e(9859),r.e(7970)]).then(r.bind(r,7970));return{id:vr,diagram:t}}),"loader")},Sr="gantt",Ar={id:Sr,detector:(0,Ae.K2)((t=>/^\s*gantt/.test(t)),"detector"),loader:(0,Ae.K2)((async()=>{const{diagram:t}=await r.e(1580).then(r.bind(r,1580));return{id:Sr,diagram:t}}),"loader")},Tr="info",Mr={id:Tr,detector:(0,Ae.K2)((t=>/^\s*info/.test(t)),"detector"),loader:(0,Ae.K2)((async()=>{const{diagram:t}=await Promise.all([r.e(1874),r.e(9859),r.e(8354)]).then(r.bind(r,8354));return{id:Tr,diagram:t}}),"loader")},Br={id:"pie",detector:(0,Ae.K2)((t=>/^\s*pie/.test(t)),"detector"),loader:(0,Ae.K2)((async()=>{const{diagram:t}=await Promise.all([r.e(1874),r.e(9859),r.e(9865)]).then(r.bind(r,9865));return{id:"pie",diagram:t}}),"loader")},Lr="quadrantChart",Fr={id:Lr,detector:(0,Ae.K2)((t=>/^\s*quadrantChart/.test(t)),"detector"),loader:(0,Ae.K2)((async()=>{const{diagram:t}=await r.e(6640).then(r.bind(r,6640));return{id:Lr,diagram:t}}),"loader")},$r="xychart",Er={id:$r,detector:(0,Ae.K2)((t=>/^\s*xychart-beta/.test(t)),"detector"),loader:(0,Ae.K2)((async()=>{const{diagram:t}=await r.e(6425).then(r.bind(r,6425));return{id:$r,diagram:t}}),"loader")},Nr="requirement",Dr={id:Nr,detector:(0,Ae.K2)((t=>/^\s*requirement(Diagram)?/.test(t)),"detector"),loader:(0,Ae.K2)((async()=>{const{diagram:t}=await Promise.all([r.e(1874),r.e(4326),r.e(4949)]).then(r.bind(r,4949));return{id:Nr,diagram:t}}),"loader")},jr="sequence",Ir={id:jr,detector:(0,Ae.K2)((t=>/^\s*sequenceDiagram/.test(t)),"detector"),loader:(0,Ae.K2)((async()=>{const{diagram:t}=await r.e(7092).then(r.bind(r,7092));return{id:jr,diagram:t}}),"loader")},Or="class",Rr={id:Or,detector:(0,Ae.K2)(((t,e)=>"dagre-wrapper"!==e?.class?.defaultRenderer&&/^\s*classDiagram/.test(t)),"detector"),loader:(0,Ae.K2)((async()=>{const{diagram:t}=await Promise.all([r.e(1960),r.e(5999)]).then(r.bind(r,5999));return{id:Or,diagram:t}}),"loader")},Pr="classDiagram",zr={id:Pr,detector:(0,Ae.K2)(((t,e)=>!(!/^\s*classDiagram/.test(t)||"dagre-wrapper"!==e?.class?.defaultRenderer)||/^\s*classDiagram-v2/.test(t)),"detector"),loader:(0,Ae.K2)((async()=>{const{diagram:t}=await Promise.all([r.e(1960),r.e(888)]).then(r.bind(r,888));return{id:Pr,diagram:t}}),"loader")},Kr="state",qr={id:Kr,detector:(0,Ae.K2)(((t,e)=>"dagre-wrapper"!==e?.state?.defaultRenderer&&/^\s*stateDiagram/.test(t)),"detector"),loader:(0,Ae.K2)((async()=>{const{diagram:t}=await Promise.all([r.e(1874),r.e(4326),r.e(6270),r.e(6924)]).then(r.bind(r,6924));return{id:Kr,diagram:t}}),"loader")},Wr="stateDiagram",Hr={id:Wr,detector:(0,Ae.K2)(((t,e)=>!!/^\s*stateDiagram-v2/.test(t)||!(!/^\s*stateDiagram/.test(t)||"dagre-wrapper"!==e?.state?.defaultRenderer)),"detector"),loader:(0,Ae.K2)((async()=>{const{diagram:t}=await Promise.all([r.e(6270),r.e(2702)]).then(r.bind(r,2702));return{id:Wr,diagram:t}}),"loader")},Ur="journey",Yr={id:Ur,detector:(0,Ae.K2)((t=>/^\s*journey/.test(t)),"detector"),loader:(0,Ae.K2)((async()=>{const{diagram:t}=await r.e(4021).then(r.bind(r,4021));return{id:Ur,diagram:t}}),"loader")},Vr={draw:(0,Ae.K2)(((t,e,r)=>{Ae.Rm.debug("rendering svg for syntax error\n");const n=(0,Se.D)(e),i=n.append("g");n.attr("viewBox","0 0 2412 512"),(0,Ae.a$)(n,100,512,!0),i.append("path").attr("class","error-icon").attr("d","m411.313,123.313c6.25-6.25 6.25-16.375 0-22.625s-16.375-6.25-22.625,0l-32,32-9.375,9.375-20.688-20.688c-12.484-12.5-32.766-12.5-45.25,0l-16,16c-1.261,1.261-2.304,2.648-3.31,4.051-21.739-8.561-45.324-13.426-70.065-13.426-105.867,0-192,86.133-192,192s86.133,192 192,192 192-86.133 192-192c0-24.741-4.864-48.327-13.426-70.065 1.402-1.007 2.79-2.049 4.051-3.31l16-16c12.5-12.492 12.5-32.758 0-45.25l-20.688-20.688 9.375-9.375 32.001-31.999zm-219.313,100.687c-52.938,0-96,43.063-96,96 0,8.836-7.164,16-16,16s-16-7.164-16-16c0-70.578 57.422-128 128-128 8.836,0 16,7.164 16,16s-7.164,16-16,16z"),i.append("path").attr("class","error-icon").attr("d","m459.02,148.98c-6.25-6.25-16.375-6.25-22.625,0s-6.25,16.375 0,22.625l16,16c3.125,3.125 7.219,4.688 11.313,4.688 4.094,0 8.188-1.563 11.313-4.688 6.25-6.25 6.25-16.375 0-22.625l-16.001-16z"),i.append("path").attr("class","error-icon").attr("d","m340.395,75.605c3.125,3.125 7.219,4.688 11.313,4.688 4.094,0 8.188-1.563 11.313-4.688 6.25-6.25 6.25-16.375 0-22.625l-16-16c-6.25-6.25-16.375-6.25-22.625,0s-6.25,16.375 0,22.625l15.999,16z"),i.append("path").attr("class","error-icon").attr("d","m400,64c8.844,0 16-7.164 16-16v-32c0-8.836-7.156-16-16-16-8.844,0-16,7.164-16,16v32c0,8.836 7.156,16 16,16z"),i.append("path").attr("class","error-icon").attr("d","m496,96.586h-32c-8.844,0-16,7.164-16,16 0,8.836 7.156,16 16,16h32c8.844,0 16-7.164 16-16 0-8.836-7.156-16-16-16z"),i.append("path").attr("class","error-icon").attr("d","m436.98,75.605c3.125,3.125 7.219,4.688 11.313,4.688 4.094,0 8.188-1.563 11.313-4.688l32-32c6.25-6.25 6.25-16.375 0-22.625s-16.375-6.25-22.625,0l-32,32c-6.251,6.25-6.251,16.375-0.001,22.625z"),i.append("text").attr("class","error-text").attr("x",1440).attr("y",250).attr("font-size","150px").style("text-anchor","middle").text("Syntax error in text"),i.append("text").attr("class","error-text").attr("x",1250).attr("y",400).attr("font-size","100px").style("text-anchor","middle").text(`mermaid version ${r}`)}),"draw")},Gr=Vr,Zr={db:{},renderer:Vr,parser:{parse:(0,Ae.K2)((()=>{}),"parse")}},Xr="flowchart-elk",Qr={id:Xr,detector:(0,Ae.K2)(((t,e={})=>!!(/^\s*flowchart-elk/.test(t)||/^\s*flowchart|graph/.test(t)&&"elk"===e?.flowchart?.defaultRenderer)&&(e.layout="elk",!0)),"detector"),loader:(0,Ae.K2)((async()=>{const{diagram:t}=await r.e(7933).then(r.bind(r,7933));return{id:Xr,diagram:t}}),"loader")},Jr="timeline",tn={id:Jr,detector:(0,Ae.K2)((t=>/^\s*timeline/.test(t)),"detector"),loader:(0,Ae.K2)((async()=>{const{diagram:t}=await r.e(771).then(r.bind(r,771));return{id:Jr,diagram:t}}),"loader")},en="mindmap",rn={id:en,detector:(0,Ae.K2)((t=>/^\s*mindmap/.test(t)),"detector"),loader:(0,Ae.K2)((async()=>{const{diagram:t}=await Promise.all([r.e(5064),r.e(6391)]).then(r.bind(r,6391));return{id:en,diagram:t}}),"loader")},nn="kanban",an={id:nn,detector:(0,Ae.K2)((t=>/^\s*kanban/.test(t)),"detector"),loader:(0,Ae.K2)((async()=>{const{diagram:t}=await r.e(3387).then(r.bind(r,3387));return{id:nn,diagram:t}}),"loader")},on="sankey",sn={id:on,detector:(0,Ae.K2)((t=>/^\s*sankey-beta/.test(t)),"detector"),loader:(0,Ae.K2)((async()=>{const{diagram:t}=await r.e(928).then(r.bind(r,928));return{id:on,diagram:t}}),"loader")},ln="packet",cn={id:ln,detector:(0,Ae.K2)((t=>/^\s*packet-beta/.test(t)),"detector"),loader:(0,Ae.K2)((async()=>{const{diagram:t}=await Promise.all([r.e(1874),r.e(9859),r.e(3173)]).then(r.bind(r,3173));return{id:ln,diagram:t}}),"loader")},hn="block",un={id:hn,detector:(0,Ae.K2)((t=>/^\s*block-beta/.test(t)),"detector"),loader:(0,Ae.K2)((async()=>{const{diagram:t}=await Promise.all([r.e(1874),r.e(362)]).then(r.bind(r,362));return{id:hn,diagram:t}}),"loader")},dn="architecture",pn={id:dn,detector:(0,Ae.K2)((t=>/^\s*architecture/.test(t)),"detector"),loader:(0,Ae.K2)((async()=>{const{diagram:t}=await Promise.all([r.e(1874),r.e(9859),r.e(5064),r.e(7087)]).then(r.bind(r,7087));return{id:dn,diagram:t}}),"loader")},fn=!1,gn=(0,Ae.K2)((()=>{fn||(fn=!0,(0,Ae.Js)("error",Zr,(t=>"error"===t.toLowerCase().trim())),(0,Ae.Js)("---",{db:{clear:(0,Ae.K2)((()=>{}),"clear")},styles:{},renderer:{draw:(0,Ae.K2)((()=>{}),"draw")},parser:{parse:(0,Ae.K2)((()=>{throw new Error("Diagrams beginning with --- are not valid. If you were trying to use a YAML front-matter, please ensure that you've correctly opened and closed the YAML front-matter with un-indented `---` blocks")}),"parse")},init:(0,Ae.K2)((()=>null),"init")},(t=>t.toLowerCase().trimStart().startsWith("---"))),(0,Ae.Xd)(yr,an,zr,Rr,wr,Ar,Mr,Br,Dr,Ir,Qr,Cr,br,rn,tn,_r,Hr,qr,Yr,Fr,sn,cn,Er,un,pn))}),"addDiagrams"),mn=(0,Ae.K2)((async()=>{Ae.Rm.debug("Loading registered diagrams");const t=(await Promise.allSettled(Object.entries(Ae.mW).map((async([t,{detector:e,loader:r}])=>{if(r)try{(0,Ae.Gs)(t)}catch{try{const{diagram:t,id:n}=await r();(0,Ae.Js)(n,t,e)}catch(n){throw Ae.Rm.error(`Failed to load external diagram with key ${t}. Removing from detectors.`),delete Ae.mW[t],n}}})))).filter((t=>"rejected"===t.status));if(t.length>0){Ae.Rm.error(`Failed to load ${t.length} external diagrams`);for(const e of t)Ae.Rm.error(e);throw new Error(`Failed to load ${t.length} external diagrams`)}}),"loadRegisteredDiagrams");function yn(t,e){t.attr("role","graphics-document document"),""!==e&&t.attr("aria-roledescription",e)}function xn(t,e,r,n){if(void 0!==t.insert){if(r){const e=`chart-desc-${n}`;t.attr("aria-describedby",e),t.insert("desc",":first-child").attr("id",e).text(r)}if(e){const r=`chart-title-${n}`;t.attr("aria-labelledby",r),t.insert("title",":first-child").attr("id",r).text(e)}}}(0,Ae.K2)(yn,"setA11yDiagramInfo"),(0,Ae.K2)(xn,"addSVGa11yTitleDescription");var bn=class t{constructor(t,e,r,n,i){this.type=t,this.text=e,this.db=r,this.parser=n,this.renderer=i}static{(0,Ae.K2)(this,"Diagram")}static async fromText(e,r={}){const n=(0,Ae.zj)(),i=(0,Ae.Ch)(e,n);e=(0,ve.C4)(e)+"\n";try{(0,Ae.Gs)(i)}catch{const t=(0,Ae.J$)(i);if(!t)throw new Ae.C0(`Diagram ${i} not found.`);const{id:e,diagram:r}=await t();(0,Ae.Js)(e,r)}const{db:a,parser:o,renderer:s,init:l}=(0,Ae.Gs)(i);return o.parser&&(o.parser.yy=a),a.clear?.(),l?.(n),r.title&&a.setDiagramTitle?.(r.title),await o.parse(e),new t(i,e,a,o,s)}async render(t,e){await this.renderer.draw(this.text,t,e,this)}getParser(){return this.parser}getType(){return this.type}},kn=[],Cn=(0,Ae.K2)((()=>{kn.forEach((t=>{t()})),kn=[]}),"attachFunctions"),wn=(0,Ae.K2)((t=>t.replace(/^\s*%%(?!{)[^\n]+\n?/gm,"").trimStart()),"cleanupComments");function vn(t){const e=t.match(Ae.EJ);if(!e)return{text:t,metadata:{}};let r=(0,ke.H)(e[1],{schema:ke.r})??{};r="object"!=typeof r||Array.isArray(r)?{}:r;const n={};return r.displayMode&&(n.displayMode=r.displayMode.toString()),r.title&&(n.title=r.title.toString()),r.config&&(n.config=r.config),{text:t.slice(e[0].length),metadata:n}}(0,Ae.K2)(vn,"extractFrontMatter");var _n=(0,Ae.K2)((t=>t.replace(/\r\n?/g,"\n").replace(/<(\w+)([^>]*)>/g,((t,e,r)=>"<"+e+r.replace(/="([^"]*)"/g,"='$1'")+">"))),"cleanupText"),Sn=(0,Ae.K2)((t=>{const{text:e,metadata:r}=vn(t),{displayMode:n,title:i,config:a={}}=r;return n&&(a.gantt||(a.gantt={}),a.gantt.displayMode=n),{title:i,config:a,text:e}}),"processFrontmatter"),An=(0,Ae.K2)((t=>{const e=ve._K.detectInit(t)??{},r=ve._K.detectDirective(t,"wrap");return Array.isArray(r)?e.wrap=r.some((({type:t})=>"wrap"===t)):"wrap"===r?.type&&(e.wrap=!0),{text:(0,ve.vU)(t),directive:e}}),"processDirectives");function Tn(t){const e=_n(t),r=Sn(e),n=An(r.text),i=(0,ve.$t)(r.config,n.directive);return{code:t=wn(n.text),title:r.title,config:i}}function Mn(t){const e=(new TextEncoder).encode(t),r=Array.from(e,(t=>String.fromCodePoint(t))).join("");return btoa(r)}(0,Ae.K2)(Tn,"preprocessDiagram"),(0,Ae.K2)(Mn,"toBase64");var Bn=["foreignobject"],Ln=["dominant-baseline"];function Fn(t){const e=Tn(t);return(0,Ae.cL)(),(0,Ae.xA)(e.config??{}),e}async function $n(t,e){gn();try{const{code:e,config:r}=Fn(t);return{diagramType:(await qn(e)).type,config:r}}catch(r){if(e?.suppressErrors)return!1;throw r}}(0,Ae.K2)(Fn,"processAndSetConfigs"),(0,Ae.K2)($n,"parse");var En=(0,Ae.K2)(((t,e,r=[])=>`\n.${t} ${e} { ${r.join(" !important; ")} !important; }`),"cssImportantStyles"),Nn=(0,Ae.K2)(((t,e=new Map)=>{let r="";if(void 0!==t.themeCSS&&(r+=`\n${t.themeCSS}`),void 0!==t.fontFamily&&(r+=`\n:root { --mermaid-font-family: ${t.fontFamily}}`),void 0!==t.altFontFamily&&(r+=`\n:root { --mermaid-alt-font-family: ${t.altFontFamily}}`),e instanceof Map){const n=t.htmlLabels??t.flowchart?.htmlLabels?["> *","span"]:["rect","polygon","ellipse","circle","path"];e.forEach((t=>{(0,mr.A)(t.styles)||n.forEach((e=>{r+=En(t.id,e,t.styles)})),(0,mr.A)(t.textStyles)||(r+=En(t.id,"tspan",(t?.textStyles||[]).map((t=>t.replace("color","fill")))))}))}return r}),"createCssStyles"),Dn=(0,Ae.K2)(((t,e,r,n)=>{const i=Nn(t,r);return ze(hr(`${n}{${(0,Ae.tM)(e,i,t.themeVariables)}}`),Ke)}),"createUserStyles"),jn=(0,Ae.K2)(((t="",e,r)=>{let n=t;return r||e||(n=n.replace(/marker-end="url\([\d+./:=?A-Za-z-]*?#/g,'marker-end="url(#')),n=(0,ve.Sm)(n),n=n.replace(/
/g,"
"),n}),"cleanUpSvgCode"),In=(0,Ae.K2)(((t="",e)=>`