From 654db4acc4ec5cce6eb39e48d5b4d47f438b6c68 Mon Sep 17 00:00:00 2001 From: Charles Ancheta <55412395+cbebe@users.noreply.github.com> Date: Thu, 17 Oct 2024 19:55:59 -0600 Subject: [PATCH] Deploy website - based on cb8b0d069cd3721c2c1087f53b2cef070b350ece --- 404.html | 6 +- assets/js/0058b4c6.8533b0e6.js | 1 - assets/js/0058b4c6.95089e26.js | 1 + assets/js/0ded9cdf.709acda9.js | 1 - assets/js/1bec4011.cc3cdce6.js | 1 + assets/js/22b8ac92.2aa1299a.js | 1 + assets/js/3a6d7150.4854da31.js | 1 + assets/js/8d4e1d08.049b4e2e.js | 1 + assets/js/9a675b67.572f2f95.js | 1 + assets/js/b0307b86.6a60b7c0.js | 1 + assets/js/b981fc7d.963852b5.js | 1 + assets/js/c3cda6f3.40f4147a.js | 1 - assets/js/cba70e43.de10e27f.js | 1 + assets/js/e8f86626.7fef53fc.js | 1 + assets/js/ee415a80.59b1f8f6.js | 1 + assets/js/main.314885ea.js | 2 - assets/js/main.379652c9.js | 2 + ...CENSE.txt => main.379652c9.js.LICENSE.txt} | 0 assets/js/runtime~main.27c6d6aa.js | 1 - assets/js/runtime~main.5cb02b35.js | 1 + docs/category/-fyshing-manual/index.html | 13 ++ docs/category/fysh/index.html | 6 +- docs/fysh/installation/index.html | 8 +- docs/fysh/manual/comments/index.html | 21 +++ .../fysh/manual/control-structures/index.html | 40 +++++ docs/fysh/manual/data-types/index.html | 55 ++++++ docs/fysh/manual/examples/index.html | 33 ++++ docs/fysh/manual/functions/index.html | 26 +++ .../fysh-logic-and-operations/index.html | 57 ++++++ docs/fysh/manual/fysh-syntax/index.html | 87 +++++++++ docs/fysh/manual/index.html | 170 ------------------ docs/fysh/manual/output/index.html | 18 ++ index.html | 6 +- markdown-page/index.html | 6 +- playground/index.html | 6 +- sitemap.xml | 2 +- 36 files changed, 384 insertions(+), 196 deletions(-) delete mode 100644 assets/js/0058b4c6.8533b0e6.js create mode 100644 assets/js/0058b4c6.95089e26.js delete mode 100644 assets/js/0ded9cdf.709acda9.js create mode 100644 assets/js/1bec4011.cc3cdce6.js create mode 100644 assets/js/22b8ac92.2aa1299a.js create mode 100644 assets/js/3a6d7150.4854da31.js create mode 100644 assets/js/8d4e1d08.049b4e2e.js create mode 100644 assets/js/9a675b67.572f2f95.js create mode 100644 assets/js/b0307b86.6a60b7c0.js create mode 100644 assets/js/b981fc7d.963852b5.js delete mode 100644 assets/js/c3cda6f3.40f4147a.js create mode 100644 assets/js/cba70e43.de10e27f.js create mode 100644 assets/js/e8f86626.7fef53fc.js create mode 100644 assets/js/ee415a80.59b1f8f6.js delete mode 100644 assets/js/main.314885ea.js create mode 100644 assets/js/main.379652c9.js rename assets/js/{main.314885ea.js.LICENSE.txt => main.379652c9.js.LICENSE.txt} (100%) delete mode 100644 assets/js/runtime~main.27c6d6aa.js create mode 100644 assets/js/runtime~main.5cb02b35.js create mode 100644 docs/category/-fyshing-manual/index.html create mode 100644 docs/fysh/manual/comments/index.html create mode 100644 docs/fysh/manual/control-structures/index.html create mode 100644 docs/fysh/manual/data-types/index.html create mode 100644 docs/fysh/manual/examples/index.html create mode 100644 docs/fysh/manual/functions/index.html create mode 100644 docs/fysh/manual/fysh-logic-and-operations/index.html create mode 100644 docs/fysh/manual/fysh-syntax/index.html delete mode 100644 docs/fysh/manual/index.html create mode 100644 docs/fysh/manual/output/index.html diff --git a/404.html b/404.html index c206004..ff61851 100644 --- a/404.html +++ b/404.html @@ -4,10 +4,10 @@ Page Not Found | Fysh - - + + -
Skip to main content

Page Not Found

We could not find what you were looking for.

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

+
Skip to main content

Page Not Found

We could not find what you were looking for.

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

\ No newline at end of file diff --git a/assets/js/0058b4c6.8533b0e6.js b/assets/js/0058b4c6.8533b0e6.js deleted file mode 100644 index a38f174..0000000 --- a/assets/js/0058b4c6.8533b0e6.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunk_fysh_fyve_source=self.webpackChunk_fysh_fyve_source||[]).push([[849],{999:s=>{s.exports=JSON.parse('{"version":{"pluginId":"default","version":"current","label":"Next","banner":null,"badge":false,"noIndex":false,"className":"docs-version-current","isLast":true,"docsSidebars":{"docsSidebar":[{"type":"category","label":"Fysh","collapsible":true,"collapsed":true,"items":[{"type":"link","label":"\ud83d\udc69\u200d\ud83d\udcbb How to Compile and Run Fysh","href":"/docs/fysh/installation","docId":"fysh/installation","unlisted":false},{"type":"link","label":"\ud83d\udc19 Fyshing Manual","href":"/docs/fysh/manual","docId":"fysh/manual","unlisted":false}],"href":"/docs/category/fysh"}]},"docs":{"fysh/installation":{"id":"fysh/installation","title":"\ud83d\udc69\u200d\ud83d\udcbb How to Compile and Run Fysh","description":"\u2699\ufe0f Option 1: Using VSCode","sidebar":"docsSidebar"},"fysh/manual":{"id":"fysh/manual","title":"\ud83d\udc19 Fyshing Manual","description":"\ud83d\udc20 Chapter 1: Fysh Syntax","sidebar":"docsSidebar"}}}}')}}]); \ No newline at end of file diff --git a/assets/js/0058b4c6.95089e26.js b/assets/js/0058b4c6.95089e26.js new file mode 100644 index 0000000..6285379 --- /dev/null +++ b/assets/js/0058b4c6.95089e26.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunk_fysh_fyve_source=self.webpackChunk_fysh_fyve_source||[]).push([[849],{999:a=>{a.exports=JSON.parse('{"version":{"pluginId":"default","version":"current","label":"Next","banner":null,"badge":false,"noIndex":false,"className":"docs-version-current","isLast":true,"docsSidebars":{"docsSidebar":[{"type":"category","label":"Fysh","collapsible":true,"collapsed":true,"items":[{"type":"link","label":"\ud83d\udc69\u200d\ud83d\udcbb How to Compile and Run Fysh","href":"/docs/fysh/installation","docId":"fysh/installation","unlisted":false},{"type":"category","label":"\ud83d\udc19 Fyshing Manual","collapsible":true,"collapsed":true,"items":[{"type":"link","label":"\ud83d\udc20 Chapter 1: Fysh Syntax","href":"/docs/fysh/manual/fysh-syntax","docId":"fysh/manual/fysh-syntax","unlisted":false},{"type":"link","label":"\ud83d\udcca Chapter 2: Data Types","href":"/docs/fysh/manual/data-types","docId":"fysh/manual/data-types","unlisted":false},{"type":"link","label":"\ud83e\udde0 Chapter 3: Fysh Logic and Operations","href":"/docs/fysh/manual/fysh-logic-and-operations","docId":"fysh/manual/fysh-logic-and-operations","unlisted":false},{"type":"link","label":"\ud83d\udd04 Chapter 4: Control Structures","href":"/docs/fysh/manual/control-structures","docId":"fysh/manual/control-structures","unlisted":false},{"type":"link","label":"\ud83e\uddd1\u200d\ud83d\udd27 Chapter 5: Functions","href":"/docs/fysh/manual/functions","docId":"fysh/manual/functions","unlisted":false},{"type":"link","label":"\u2693 Chapter 6: Output","href":"/docs/fysh/manual/output","docId":"fysh/manual/output","unlisted":false},{"type":"link","label":"\ud83d\udcac Chapter 7: Comments","href":"/docs/fysh/manual/comments","docId":"fysh/manual/comments","unlisted":false},{"type":"link","label":"\ud83d\udcc8 Examples","href":"/docs/fysh/manual/examples","docId":"fysh/manual/examples","unlisted":false}],"href":"/docs/category/-fyshing-manual"}],"href":"/docs/category/fysh"}]},"docs":{"fysh/installation":{"id":"fysh/installation","title":"\ud83d\udc69\u200d\ud83d\udcbb How to Compile and Run Fysh","description":"\u2699\ufe0f Option 1: Using VSCode","sidebar":"docsSidebar"},"fysh/manual/comments":{"id":"fysh/manual/comments","title":"\ud83d\udcac Chapter 7: Comments","description":"\ud83d\udd09 Single-line Comments","sidebar":"docsSidebar"},"fysh/manual/control-structures":{"id":"fysh/manual/control-structures","title":"\ud83d\udd04 Chapter 4: Control Structures","description":"\ud83d\udd01 While Loops","sidebar":"docsSidebar"},"fysh/manual/data-types":{"id":"fysh/manual/data-types","title":"\ud83d\udcca Chapter 2: Data Types","description":"\ud83d\udccf Integers","sidebar":"docsSidebar"},"fysh/manual/examples":{"id":"fysh/manual/examples","title":"\ud83d\udcc8 Examples","description":"\u2757Factorial Example","sidebar":"docsSidebar"},"fysh/manual/functions":{"id":"fysh/manual/functions","title":"\ud83e\uddd1\u200d\ud83d\udd27 Chapter 5: Functions","description":"\u270f\ufe0f Defining Functions","sidebar":"docsSidebar"},"fysh/manual/fysh-logic-and-operations":{"id":"fysh/manual/fysh-logic-and-operations","title":"\ud83e\udde0 Chapter 3: Fysh Logic and Operations","description":"\ud83e\udd14 Logical Operations","sidebar":"docsSidebar"},"fysh/manual/fysh-syntax":{"id":"fysh/manual/fysh-syntax","title":"\ud83d\udc20 Chapter 1: Fysh Syntax","description":"\ud83d\udc1f Variables","sidebar":"docsSidebar"},"fysh/manual/output":{"id":"fysh/manual/output","title":"\u2693 Chapter 6: Output","description":"\u26d3\ufe0f Output Value","sidebar":"docsSidebar"}}}}')}}]); \ No newline at end of file diff --git a/assets/js/0ded9cdf.709acda9.js b/assets/js/0ded9cdf.709acda9.js deleted file mode 100644 index 0685844..0000000 --- a/assets/js/0ded9cdf.709acda9.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunk_fysh_fyve_source=self.webpackChunk_fysh_fyve_source||[]).push([[658],{7686:(e,n,s)=>{s.r(n),s.d(n,{assets:()=>h,contentTitle:()=>a,default:()=>o,frontMatter:()=>r,metadata:()=>t,toc:()=>c});var i=s(6070),l=s(1503);const r={sidebar_position:2},a="\ud83d\udc19 Fyshing Manual",t={id:"fysh/manual",title:"\ud83d\udc19 Fyshing Manual",description:"\ud83d\udc20 Chapter 1: Fysh Syntax",source:"@site/docs/fysh/manual.md",sourceDirName:"fysh",slug:"/fysh/manual",permalink:"/docs/fysh/manual",draft:!1,unlisted:!1,editUrl:"https://github.com/Fysh-Fyve/fysh/tree/master/pkg/website/docs/fysh/manual.md",tags:[],version:"current",sidebarPosition:2,frontMatter:{sidebar_position:2},sidebar:"docsSidebar",previous:{title:"\ud83d\udc69\u200d\ud83d\udcbb How to Compile and Run Fysh",permalink:"/docs/fysh/installation"}},h={},c=[{value:"\ud83d\udc20 Chapter 1: Fysh Syntax",id:"-chapter-1-fysh-syntax",level:2},{value:"\ud83d\udc1f Variables",id:"-variables",level:3},{value:"\ud83d\udc41\ufe0f Optional Visuals",id:"\ufe0f-optional-visuals",level:3},{value:"\u2795 Arithmetic with Variables",id:"-arithmetic-with-variables",level:3},{value:"\ud83d\udd3c\ud83d\udd3d Increment and Decrement",id:"-increment-and-decrement",level:3},{value:"\ud83c\udf62 Random Number Generation",id:"-random-number-generation",level:3},{value:"\ud83d\udcca Chapter 2: Data Types",id:"-chapter-2-data-types",level:2},{value:"\ud83d\udccf Integers",id:"-integers",level:3},{value:"\ud83d\udcd0 Floating Point Numbers",id:"-floating-point-numbers",level:3},{value:"\ud83d\udcdd Strings",id:"-strings",level:3},{value:"\ud83d\udce6 Arrays and Traversal",id:"-arrays-and-traversal",level:3},{value:"\ud83e\udde0 Chapter 3: Fysh Logic and Operations",id:"-chapter-3-fysh-logic-and-operations",level:2},{value:"\ud83e\udd14 Logical Operations",id:"-logical-operations",level:3},{value:"\ud83d\udd27 Bitwise Operations",id:"-bitwise-operations",level:3},{value:"\ud83d\udc38 Tadpoles",id:"-tadpoles",level:3},{value:"\ud83d\udd04 Chapter 3: Control Structures",id:"-chapter-3-control-structures",level:2},{value:"\ud83d\udd01 While Loops",id:"-while-loops",level:3},{value:"\u2753 Conditional Statements",id:"-conditional-statements",level:3},{value:"\ud83e\uddd1\u200d\ud83d\udd27 Chapter 4: Functions",id:"-chapter-4-functions",level:2},{value:"\u270f\ufe0f Defining Functions",id:"\ufe0f-defining-functions",level:3},{value:"\ud83d\udcde Calling Functions",id:"-calling-functions",level:3},{value:"\u2693 Chapter 5: Output",id:"-chapter-5-output",level:2},{value:"\u26d3\ufe0f Output Value",id:"\ufe0f-output-value",level:3},{value:"\ud83d\udcac Chapter 6: Comments",id:"-chapter-6-comments",level:2},{value:"\ud83d\udd09 Single-line Comments",id:"-single-line-comments",level:3},{value:"\ud83d\udd0a Multi-line Comments",id:"-multi-line-comments",level:3},{value:"\ud83d\udcc8 Examples",id:"-examples",level:2},{value:"\u2757Factorial Example",id:"factorial-example",level:3}];function d(e){const n={code:"code",h1:"h1",h2:"h2",h3:"h3",li:"li",ol:"ol",p:"p",pre:"pre",strong:"strong",ul:"ul",...(0,l.R)(),...e.components},{Details:s}=n;return s||function(e,n){throw new Error("Expected "+(n?"component":"object")+" `"+e+"` to be defined: you likely forgot to import, pass, or provide it.")}("Details",!0),(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(n.h1,{id:"-fyshing-manual",children:"\ud83d\udc19 Fyshing Manual"}),"\n",(0,i.jsx)(n.h2,{id:"-chapter-1-fysh-syntax",children:"\ud83d\udc20 Chapter 1: Fysh Syntax"}),"\n",(0,i.jsxs)(s,{children:[(0,i.jsx)("summary",{children:"Click to expand"}),(0,i.jsx)(n.h3,{id:"-variables",children:"\ud83d\udc1f Variables"}),(0,i.jsxs)(n.ul,{children:["\n",(0,i.jsxs)(n.li,{children:["Meet Steven, our fishy friend. In Fysh, variables like Steven are declared\nwith ",(0,i.jsx)(n.code,{children:">"}),". Every line of fysh ends with a wave ",(0,i.jsx)(n.code,{children:"~"}),"."]}),"\n"]}),(0,i.jsx)(n.pre,{children:(0,i.jsx)(n.code,{className:"language-fysh",children:"> ~\n"})}),(0,i.jsxs)(n.ul,{children:["\n",(0,i.jsxs)(n.li,{children:["Steven has binary scales. In Fysh, ",(0,i.jsx)(n.code,{children:"}"})," represents ",(0,i.jsx)(n.code,{children:"1"})," and ",(0,i.jsx)(n.code,{children:")"})," represents ",(0,i.jsx)(n.code,{children:"0"}),".\nHere, Steven is valued at ",(0,i.jsx)(n.code,{children:"0b101"}),", which is ",(0,i.jsx)(n.code,{children:"5"})," in decimal."]}),"\n"]}),(0,i.jsx)(n.pre,{children:(0,i.jsx)(n.code,{className:"language-fysh",children:"> = ><})}> ~\n"})}),(0,i.jsxs)(n.ul,{children:["\n",(0,i.jsxs)(n.li,{children:["Steven doesn\u2019t give a flying fysh about scale direction. ",(0,i.jsx)(n.code,{children:"\u2248"})," for variable\nassignment is cool with them too."]}),"\n"]}),(0,i.jsx)(n.pre,{children:(0,i.jsx)(n.code,{className:"language-fysh",children:"> \u2248 ><}({> ~\n"})}),(0,i.jsx)(n.h3,{id:"\ufe0f-optional-visuals",children:"\ud83d\udc41\ufe0f Optional Visuals"}),(0,i.jsxs)(n.ul,{children:["\n",(0,i.jsx)(n.li,{children:"Steven is blind. You have the power to bless them with sight, but it's\ncompletely optional! You can make them biblically accurate by giving them\nmultiple eyes."}),"\n"]}),(0,i.jsx)(n.pre,{children:(0,i.jsx)(n.code,{className:"language-fysh",children:"> \u2248 ><{({\xb0> ~\n> \u2248 ><{({o> ~\n> \u2248 ><{({\xb0\xb0> ~\n> \u2248 ><{({o\xb0> ~\n> = ><{({\xb0o\xb0> ~\n"})}),(0,i.jsx)(n.h3,{id:"-arithmetic-with-variables",children:"\u2795 Arithmetic with Variables"}),(0,i.jsxs)(n.ul,{children:["\n",(0,i.jsxs)(n.li,{children:[(0,i.jsx)(n.strong,{children:"Summing values:"})," A school of Fysh's value is the sum of each member. This\ngives Steven a value of ",(0,i.jsx)(n.code,{children:"0b101 = 0b100 + 0b001 ="})," (5 = 4 + 1)."]}),"\n"]}),(0,i.jsx)(n.pre,{children:(0,i.jsx)(n.code,{className:"language-fysh",children:"> \u2248 ><{((\xb0> ><(({\xb0> ~\n"})}),(0,i.jsxs)(n.ul,{children:["\n",(0,i.jsxs)(n.li,{children:[(0,i.jsx)(n.strong,{children:"Subtracting values:"})," Sometimes fysh are negative and start to swim\nbackwards. This takes away from the school's value. Steven's value is\n",(0,i.jsx)(n.code,{children:"0b101 = 0b111 - 0b010"})," (5 = 7 - 2)."]}),"\n"]}),(0,i.jsx)(n.pre,{children:(0,i.jsx)(n.code,{className:"language-fysh",children:"> \u2248 ><{{{\xb0> <\xb0)})>< ~ # 0b101 = 0b111 - 0b010\n"})}),(0,i.jsxs)(n.ul,{children:["\n",(0,i.jsxs)(n.li,{children:[(0,i.jsx)(n.strong,{children:"Multiplying values:"})," Fysh often get lonely. This loneliness causes fysh to\nmeet new fysh and proliferate. This gives Steven a value of\n",(0,i.jsx)(n.code,{children:"0b101010 = 0b110 * 0b111"}),". (42 = 6 * 7)"]}),"\n"]}),(0,i.jsx)(n.pre,{children:(0,i.jsx)(n.code,{className:"language-fysh",children:"> = ><{{(\xb0> <3 ><{{{\xb0> ~\n> \u2248 ><{{(\xb0> \u2661 ><{{{\xb0> ~\n"})}),(0,i.jsxs)(n.ul,{children:["\n",(0,i.jsxs)(n.li,{children:[(0,i.jsx)(n.strong,{children:"Dividing values:"})," Not every fysh story is a happy one. At times, separation\nis inevitable, and their division breaks their heart. This gives Steven a\nvalue of ",(0,i.jsx)(n.code,{children:"0b101 = 0b11001 / 0b101"}),". (5 = 25 / 5)"]}),"\n"]}),(0,i.jsx)(n.pre,{children:(0,i.jsx)(n.code,{className:"language-fysh",children:"> \u2248 ><{{(({\xb0> <{({\xb0> ~\n> \u2248 ><{{(({\xb0> \ud83d\udc94 ><{({\xb0> ~\n"})}),(0,i.jsxs)(n.ul,{children:["\n",(0,i.jsxs)(n.li,{children:[(0,i.jsx)(n.strong,{children:"Using parentheses for complex operations:"})," Fysh are often abducted and\nisolated into fyshbowls ",(0,i.jsx)(n.code,{children:"( )"})," for terrestrials' amusment. This makes the fysh\nsad and gives Steven a value of ",(0,i.jsx)(n.code,{children:"0b101 = 0b101 / (0b101 - 0b100)"}),". (5 = 5 /\n(5 - 4))"]}),"\n"]}),(0,i.jsx)(n.pre,{children:(0,i.jsx)(n.code,{className:"language-fysh",children:"> \u2248 ><{({\xb0> \ud83d\udc94 ( ><{({\xb0> <\xb0}))>< ) ~\n"})}),(0,i.jsx)(n.h3,{id:"-increment-and-decrement",children:"\ud83d\udd3c\ud83d\udd3d Increment and Decrement"}),(0,i.jsxs)(n.ul,{children:["\n",(0,i.jsxs)(n.li,{children:[(0,i.jsx)(n.strong,{children:"Increment:"})," As life goes on, we learn from our mistakes and improve.\nSteven\u2019s self help journey allowed them to grow an extra tail, incrementing\ntheir value by 1."]}),"\n"]}),(0,i.jsx)(n.pre,{children:(0,i.jsx)(n.code,{className:"language-fysh",children:">> ~\n"})}),(0,i.jsxs)(n.ul,{children:["\n",(0,i.jsxs)(n.li,{children:[(0,i.jsx)(n.strong,{children:"Decrement:"})," Sometimes we feel like a fyshup, a failure. And that's ok, it\u2019s\na part of being fysh. However for some fysh, this feeling is too much to\nhandle and is internalized. They haven\u2019t received the emotional support they\nneed and have gone on a downward spiral, causing them to feel worthless. They\nbegin to retreat and try to swim away in the opposite direction causing their\nvalue to decrement by 1."]}),"\n"]}),(0,i.jsx)(n.pre,{children:(0,i.jsx)(n.code,{className:"language-fysh",children:"<< ~\n"})}),(0,i.jsx)(n.h3,{id:"-random-number-generation",children:"\ud83c\udf62 Random Number Generation"}),(0,i.jsxs)(n.p,{children:[(0,i.jsx)(n.strong,{children:"Random Number:"})," This is a grilled fysh. It generates a random signed 32-bit\nnumber that determines the doneness of the fysh."]}),(0,i.jsx)(n.pre,{children:(0,i.jsx)(n.code,{className:"language-fysh",children:"><###> ~\n"})})]}),"\n",(0,i.jsx)(n.h2,{id:"-chapter-2-data-types",children:"\ud83d\udcca Chapter 2: Data Types"}),"\n",(0,i.jsxs)(s,{children:[(0,i.jsx)("summary",{children:"Click to expand"}),(0,i.jsx)(n.h3,{id:"-integers",children:"\ud83d\udccf Integers"}),(0,i.jsxs)(n.ul,{children:["\n",(0,i.jsxs)(n.li,{children:[(0,i.jsx)(n.strong,{children:"Integer:"})," Steven is an integer represented using binary scales. They have\nscales that are either ",(0,i.jsx)(n.code,{children:"1"})," or ",(0,i.jsx)(n.code,{children:"0"}),". Steven's value is ",(0,i.jsx)(n.code,{children:"0b101"}),", which is ",(0,i.jsx)(n.code,{children:"5"})," in\ndecimal."]}),"\n"]}),(0,i.jsx)(n.pre,{children:(0,i.jsx)(n.code,{className:"language-fysh",children:"> \u2248 ><{({\xb0> ~\n"})}),(0,i.jsx)(n.h3,{id:"-floating-point-numbers",children:"\ud83d\udcd0 Floating Point Numbers"}),(0,i.jsxs)(n.ul,{children:["\n",(0,i.jsxs)(n.li,{children:[(0,i.jsx)(n.strong,{children:"Floats:"})," Steven can also be a float fysh. To seperate the integer and\ndecimal parts, we use a fysh bone ",(0,i.jsx)(n.code,{children:"-"}),". Steven's value is ",(0,i.jsx)(n.code,{children:"5.5"}),"."]}),"\n"]}),(0,i.jsx)(n.pre,{children:(0,i.jsx)(n.code,{className:"language-fysh",children:"> \u2248 ><{({-{({\xb0> ~\n"})}),(0,i.jsxs)(n.ul,{children:["\n",(0,i.jsxs)(n.li,{children:[(0,i.jsx)(n.strong,{children:"Floats with multiple bones:"})," Steven can also have multiple bones to\nseperate each decimal place. Steven's value is ",(0,i.jsx)(n.code,{children:"5 + 0.2 + 0.05 = 5.25"}),"."]}),"\n"]}),(0,i.jsx)(n.pre,{children:(0,i.jsx)(n.code,{className:"language-fysh",children:"> \u2248 ><{({-{(-{({\xb0> ~\n"})}),(0,i.jsxs)(n.ul,{children:["\n",(0,i.jsxs)(n.li,{children:[(0,i.jsx)(n.strong,{children:"Floats with numbers larger than 9:"})," If a value in the decimal place is\ngreater than 9, it will occupy an extra decimal place. Steven's value is\n",(0,i.jsx)(n.code,{children:"15 + 0.15 + 0.005 15.155"}),"."]}),"\n"]}),(0,i.jsx)(n.pre,{children:(0,i.jsx)(n.code,{className:"language-fysh",children:"> \u2248 ><{{{{-{{{{-{({\xb0> ~\n"})}),(0,i.jsx)(n.h3,{id:"-strings",children:"\ud83d\udcdd Strings"}),(0,i.jsxs)(n.ul,{children:["\n",(0,i.jsxs)(n.li,{children:[(0,i.jsx)(n.strong,{children:"Strings:"})," Steven can also be a string fysh. They speak using bubbles.\nSteven's value is ",(0,i.jsx)(n.code,{children:'"Hello, World!"'}),"."]}),"\n"]}),(0,i.jsx)(n.pre,{children:(0,i.jsx)(n.code,{className:"language-fysh",children:"> \u2248 \ud83e\udee7Hello, World!\ud83e\udee7 ~\n"})}),(0,i.jsx)(n.h3,{id:"-arrays-and-traversal",children:"\ud83d\udce6 Arrays and Traversal"}),(0,i.jsxs)(n.ul,{children:["\n",(0,i.jsxs)(n.li,{children:[(0,i.jsx)(n.strong,{children:"Arrays:"})," A fysh tank ",(0,i.jsx)(n.code,{children:"[ ]"})," is used create an array. Each item is separated\nby fysh food -.value is ",(0,i.jsx)(n.code,{children:"[0b010, 0b010] = [2, 2]"}),"."]}),"\n"]}),(0,i.jsx)(n.pre,{children:(0,i.jsx)(n.code,{className:"language-fysh",children:"> \u2248 [><({(\xb0> - ><({(\xb0>] ~\n"})}),(0,i.jsxs)(n.ul,{children:["\n",(0,i.jsxs)(n.li,{children:[(0,i.jsx)(n.strong,{children:"Accessing Array Elements:"})," These fysh tanks can be traversed using a fysh\ntank ",(0,i.jsx)(n.code,{children:"[ ]"})," with a number inside it. Steven returns the element at index 1.\nArray indexes start at 0."]}),"\n"]}),(0,i.jsx)(n.pre,{children:(0,i.jsx)(n.code,{className:"language-fysh",children:">[><(({\xb0>] ~\n"})})]}),"\n",(0,i.jsx)(n.h2,{id:"-chapter-3-fysh-logic-and-operations",children:"\ud83e\udde0 Chapter 3: Fysh Logic and Operations"}),"\n",(0,i.jsxs)(s,{children:[(0,i.jsx)("summary",{children:"Click to expand"}),(0,i.jsx)(n.h3,{id:"-logical-operations",children:"\ud83e\udd14 Logical Operations"}),(0,i.jsxs)(n.ul,{children:["\n",(0,i.jsxs)(n.li,{children:[(0,i.jsxs)(n.strong,{children:[(0,i.jsx)(n.code,{children:"AND (&&)"}),", ",(0,i.jsx)(n.code,{children:"OR (||)"}),", and ",(0,i.jsx)(n.code,{children:"NOT (!!)"})]}),": Steven is experiencing an\nexistential crisis. They're questioning the very fabric of reality.","\n",(0,i.jsxs)(n.ul,{children:["\n",(0,i.jsxs)(n.li,{children:["If steven is real ",(0,i.jsx)(n.code,{children:"and"})," they found the truth, they're happy. (Steven &&\ntheTruth)"]}),"\n",(0,i.jsxs)(n.li,{children:["Steven is happy if either they're real ",(0,i.jsx)(n.code,{children:"or"})," found the truth. (Steven ||\ntheTruth)"]}),"\n",(0,i.jsxs)(n.li,{children:["But then Steven thought about it and said \"hey it would be kinda cool if I\nwasn't real\" and is now only happy if they're ",(0,i.jsx)(n.code,{children:"not"})," real. (!!Steven)"]}),"\n"]}),"\n"]}),"\n"]}),(0,i.jsx)(n.pre,{children:(0,i.jsx)(n.code,{className:"language-fysh",children:"> && > ~\n> || > ~\n!! > ~\n"})}),(0,i.jsx)(n.h3,{id:"-bitwise-operations",children:"\ud83d\udd27 Bitwise Operations"}),(0,i.jsxs)(n.ul,{children:["\n",(0,i.jsxs)(n.li,{children:["Steven is bored and looking to have their bits rearranged. At Fysh, we're\nhereto help! We have provided Steven with a variety of tools and bitwise\nmanipulations to satisfy their bit busting needs:","\n",(0,i.jsxs)(n.ul,{children:["\n",(0,i.jsx)(n.li,{children:(0,i.jsx)(n.code,{children:"AND (&)"})}),"\n",(0,i.jsx)(n.li,{children:(0,i.jsx)(n.code,{children:"OR (|)"})}),"\n",(0,i.jsx)(n.li,{children:(0,i.jsx)(n.code,{children:"XOR (^)"})}),"\n",(0,i.jsx)(n.li,{children:(0,i.jsx)(n.code,{children:"NOT (!)"})}),"\n"]}),"\n"]}),"\n"]}),(0,i.jsx)(n.pre,{children:(0,i.jsx)(n.code,{className:"language-fysh",children:"> & ><(({\xb0> ~\n> | ><(({\xb0> ~\n> ^ ><(({\xb0> ~\n! > ~\n"})}),(0,i.jsxs)(n.ul,{children:["\n",(0,i.jsxs)(n.li,{children:[(0,i.jsx)(n.strong,{children:"Logical shifts:"})," Steven can also use logical shifts! Steven shifts their\nbits to the left then right by 1.","\n",(0,i.jsxs)(n.ul,{children:["\n",(0,i.jsx)(n.li,{children:(0,i.jsxs)(n.strong,{children:["Left shift (",(0,i.jsx)(n.code,{children:"<<"}),"):"]})}),"\n",(0,i.jsx)(n.li,{children:(0,i.jsxs)(n.strong,{children:["Right shift (",(0,i.jsx)(n.code,{children:">>"}),"):"]})}),"\n"]}),"\n"]}),"\n"]}),(0,i.jsx)(n.pre,{children:(0,i.jsx)(n.code,{className:"language-fysh",children:"> << ><(({\xb0> ~\n> >> ><(({\xb0> ~\n"})}),(0,i.jsx)(n.h3,{id:"-tadpoles",children:"\ud83d\udc38 Tadpoles"}),(0,i.jsxs)(n.p,{children:["Tadpoles are Fysh too. They swim towards bigger Fysh (they like the danger) and\nare represented by ",(0,i.jsx)(n.code,{children:"~o"})," or ",(0,i.jsx)(n.code,{children:"o~"}),". Here, we are checking if Steven is bigger than\n5 and less than 7, respectively."]}),(0,i.jsx)(n.pre,{children:(0,i.jsx)(n.code,{className:"language-fysh",children:"> Greater/Less than\n> o~ ><{({\xb0>\n> ~o ><{{{\xb0>\n\n> Greater/Less than or equal to (replace ~ with \u2248 or =)\n> o= ><{({\xb0>\n> \u2248o ><{{{\xb0>\n"})})]}),"\n",(0,i.jsx)(n.h2,{id:"-chapter-3-control-structures",children:"\ud83d\udd04 Chapter 3: Control Structures"}),"\n",(0,i.jsxs)(s,{children:[(0,i.jsx)("summary",{children:"Click to expand"}),(0,i.jsx)(n.h3,{id:"-while-loops",children:"\ud83d\udd01 While Loops"}),(0,i.jsxs)(n.ul,{children:["\n",(0,i.jsxs)(n.li,{children:["In the whirlpool of Fysh logic, the while loop, represented by ",(0,i.jsx)(n.code,{children:"@"})," or ",(0,i.jsx)(n.code,{children:"\ud83c\udf00"}),",\nwith the condition stored in either ",(0,i.jsx)(n.code,{children:"[ ]"})," or ",(0,i.jsx)(n.code,{children:"( )"}),". Small fysh define the\niterative heart ",(0,i.jsx)(n.code,{children:"><>"})," and ",(0,i.jsx)(n.code,{children:"<><"}),"."]}),"\n"]}),(0,i.jsx)(n.p,{children:"Here we repeat the loop while Steve is greater than 5. Steven decrements by 1\neach iteration."}),(0,i.jsx)(n.pre,{children:(0,i.jsx)(n.code,{className:"language-fysh",children:"\ud83c\udf00 [> o~ ><{((\xb0>]\n><>\n << ~\n<><\n\n@ (> o~ ><{((\xb0>)\n><>\n << ~\n<><\n"})}),(0,i.jsx)(n.h3,{id:"-conditional-statements",children:"\u2753 Conditional Statements"}),(0,i.jsx)(n.p,{children:"Conditional statements run based on how each Fysh feels"}),(0,i.jsxs)(n.ul,{children:["\n",(0,i.jsxs)(n.li,{children:[(0,i.jsxs)(n.strong,{children:[(0,i.jsx)(n.code,{children:"if"})," statement:"]})," are happy since they're the condition you're looking for.\nThey feel wanted and loved. They are represented by a happy Fysh"]}),"\n"]}),(0,i.jsx)(n.pre,{children:(0,i.jsx)(n.code,{className:"language-fysh",children:"><(((^> [> o~ ><{((\xb0>]\n><>\n << ~\n<><\n"})}),(0,i.jsxs)(n.ul,{children:["\n",(0,i.jsxs)(n.li,{children:[(0,i.jsxs)(n.strong,{children:[(0,i.jsx)(n.code,{children:"else"})," statement:"]})," feel like they're the last resort, an afterthought. This\nmakes them feel unimportant and sad. They are represented by a dead Fysh"]}),"\n"]}),(0,i.jsx)(n.pre,{children:(0,i.jsx)(n.code,{className:"language-fysh",children:"><(((*>\n><>\n > \u2248 ><(((\xb0> ~\n<><\n"})}),(0,i.jsxs)(n.ul,{children:["\n",(0,i.jsxs)(n.li,{children:[(0,i.jsxs)(n.strong,{children:[(0,i.jsx)(n.code,{children:"else if"})," statement:"]})," are the middle child. They're not the first choice,\nbut they're not the last either. They're represented by both a dead and happy\nFysh"]}),"\n"]}),(0,i.jsx)(n.pre,{children:(0,i.jsx)(n.code,{className:"language-fysh",children:"><(((*> ><(((^> [> ~o ><{((\xb0>]\n><>\n >> ~\n<><\n"})})]}),"\n",(0,i.jsx)(n.h2,{id:"-chapter-4-functions",children:"\ud83e\uddd1\u200d\ud83d\udd27 Chapter 4: Functions"}),"\n",(0,i.jsxs)(s,{children:[(0,i.jsx)("summary",{children:"Click to expand"}),(0,i.jsx)(n.h3,{id:"\ufe0f-defining-functions",children:"\u270f\ufe0f Defining Functions"}),(0,i.jsxs)(n.p,{children:["To define a function or SUBroutine, use a submarine ",(0,i.jsx)(n.code,{children:">(funcNameHere)"})," along with\nany parameters ",(0,i.jsx)(n.code,{children:">"}),". To return a value, use a squid ",(0,i.jsx)(n.code,{children:"<~"})," or ",(0,i.jsx)(n.code,{children:"\ud83e\udd91"}),"."]}),(0,i.jsxs)(n.p,{children:["Here the function is called ",(0,i.jsx)(n.code,{children:"submarine"})," and has 3 parameters. It returns the sum\nof the 3 parameters."]}),(0,i.jsx)(n.pre,{children:(0,i.jsx)(n.code,{className:"language-fysh",children:">(submarine) > > >\n><>\n <~ > > > ~\n<><\n"})}),(0,i.jsx)(n.h3,{id:"-calling-functions",children:"\ud83d\udcde Calling Functions"}),(0,i.jsxs)(n.ul,{children:["\n",(0,i.jsxs)(n.li,{children:["To call a subroutine, put the submarine in a Fysh tank along with its\narguments. If two or more params are next to each other, separate them with\nFysh food ",(0,i.jsx)(n.code,{children:"-"}),"."]}),"\n"]}),(0,i.jsx)(n.pre,{children:(0,i.jsx)(n.code,{className:"language-fysh",children:"[>(submarine) > - > - >] ~\n"})})]}),"\n",(0,i.jsx)(n.h2,{id:"-chapter-5-output",children:"\u2693 Chapter 5: Output"}),"\n",(0,i.jsxs)(s,{children:[(0,i.jsx)("summary",{children:"Click to expand"}),(0,i.jsx)(n.h3,{id:"\ufe0f-output-value",children:"\u26d3\ufe0f Output Value"}),(0,i.jsxs)(n.p,{children:["When we finally reach our destination, we anchor ourselves. Anchors are used to\noutput the value of a Fysh. They are represented by ",(0,i.jsx)(n.code,{children:"(+o"})," or ",(0,i.jsx)(n.code,{children:"\u2693"})]}),(0,i.jsxs)(n.p,{children:["Here we're outputting ",(0,i.jsx)(n.code,{children:"0b101"})," (5)."]}),(0,i.jsx)(n.pre,{children:(0,i.jsx)(n.code,{className:"language-fysh",children:"(+o ><{({\xb0> ~\n"})})]}),"\n",(0,i.jsx)(n.h2,{id:"-chapter-6-comments",children:"\ud83d\udcac Chapter 6: Comments"}),"\n",(0,i.jsxs)(s,{children:[(0,i.jsx)("summary",{children:"Click to expand"}),(0,i.jsx)(n.h3,{id:"-single-line-comments",children:"\ud83d\udd09 Single-line Comments"}),(0,i.jsxs)(n.p,{children:["Navigator Fysh are used to guide the reader through the code. They are\nrepresented by ",(0,i.jsx)(n.code,{children:">"}),"."]}),(0,i.jsx)(n.pre,{children:(0,i.jsx)(n.code,{className:"language-fysh",children:"> What's cookin' good lookin'?\n"})}),(0,i.jsx)(n.h3,{id:"-multi-line-comments",children:"\ud83d\udd0a Multi-line Comments"}),(0,i.jsxs)(n.p,{children:["For longer explanations, multiline comments are used. They are represented by\n",(0,i.jsx)(n.code,{children:">"})," and ",(0,i.jsx)(n.code,{children:"<*\\><"})]}),(0,i.jsx)(n.pre,{children:(0,i.jsx)(n.code,{className:"language-fysh",children:">\nHow to grill a Fysh:\n1. Catch a Fysh\n2. Grill the Fysh\n3. Eat the Fysh\n<*/><\n"})})]}),"\n",(0,i.jsx)(n.h2,{id:"-examples",children:"\ud83d\udcc8 Examples"}),"\n",(0,i.jsxs)(s,{children:[(0,i.jsx)("summary",{children:"Click to expand"}),(0,i.jsx)(n.h3,{id:"factorial-example",children:"\u2757Factorial Example"}),(0,i.jsx)(n.p,{children:"This program calculates the factorial of number. In this case 5. The factorial\nof 5 is 120."}),(0,i.jsx)(n.pre,{children:(0,i.jsx)(n.code,{className:"language-fysh",children:"> Factorial Example\n\n> \u2248 ><{({\xb0> ~\n> \u2248 ><(({\xb0> ~\n\n\ud83c\udf00 [> o~ ><(({\xb0>]\n><>\n > \u2248 > \u2661 > ~\n << ~\n<><\n(+o > ~\n"})}),(0,i.jsx)(n.p,{children:"Let's break it down:"}),(0,i.jsxs)(n.ol,{children:["\n",(0,i.jsxs)(n.li,{children:[(0,i.jsx)(n.code,{children:"> \u2248 ><{({\xb0> ~"})," - Declare the number to calculate the factorial of.\n(5 in this case)"]}),"\n",(0,i.jsxs)(n.li,{children:[(0,i.jsx)(n.code,{children:"> \u2248 ><(({\xb0> ~"})," - Declare the factorial variable. (1 in this case)"]}),"\n",(0,i.jsxs)(n.li,{children:[(0,i.jsx)(n.code,{children:"\ud83c\udf00 [> o~ ><(({\xb0>]"})," - While the number is greater than 1, do the\nfollowing:","\n",(0,i.jsxs)(n.ol,{children:["\n",(0,i.jsxs)(n.li,{children:[(0,i.jsx)(n.code,{children:"> \u2248 > \u2661 > ~"})," - Multiply the factorial by\nthe number."]}),"\n",(0,i.jsxs)(n.li,{children:[(0,i.jsx)(n.code,{children:"<< ~"})," - Decrement the number."]}),"\n",(0,i.jsx)(n.li,{children:"Repeat until the number is 1."}),"\n"]}),"\n"]}),"\n",(0,i.jsxs)(n.li,{children:[(0,i.jsx)(n.code,{children:"(+o > ~"})," - Output the factorial."]}),"\n"]})]})]})}function o(e={}){const{wrapper:n}={...(0,l.R)(),...e.components};return n?(0,i.jsx)(n,{...e,children:(0,i.jsx)(d,{...e})}):d(e)}},1503:(e,n,s)=>{s.d(n,{R:()=>a,x:()=>t});var i=s(758);const l={},r=i.createContext(l);function a(e){const n=i.useContext(r);return i.useMemo((function(){return"function"==typeof e?e(n):{...n,...e}}),[n,e])}function t(e){let n;return n=e.disableParentContext?"function"==typeof e.components?e.components(l):e.components||l:a(e.components),i.createElement(r.Provider,{value:n},e.children)}}}]); \ No newline at end of file diff --git a/assets/js/1bec4011.cc3cdce6.js b/assets/js/1bec4011.cc3cdce6.js new file mode 100644 index 0000000..13b0041 --- /dev/null +++ b/assets/js/1bec4011.cc3cdce6.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunk_fysh_fyve_source=self.webpackChunk_fysh_fyve_source||[]).push([[668],{3107:(n,e,t)=>{t.r(e),t.d(e,{assets:()=>c,contentTitle:()=>i,default:()=>h,frontMatter:()=>a,metadata:()=>o,toc:()=>u});var s=t(6070),r=t(1503);const a={},i="\ud83e\uddd1\u200d\ud83d\udd27 Chapter 5: Functions",o={id:"fysh/manual/functions",title:"\ud83e\uddd1\u200d\ud83d\udd27 Chapter 5: Functions",description:"\u270f\ufe0f Defining Functions",source:"@site/docs/fysh/02-manual/05-functions.md",sourceDirName:"fysh/02-manual",slug:"/fysh/manual/functions",permalink:"/docs/fysh/manual/functions",draft:!1,unlisted:!1,editUrl:"https://github.com/Fysh-Fyve/fysh/tree/master/pkg/website/docs/fysh/02-manual/05-functions.md",tags:[],version:"current",sidebarPosition:5,frontMatter:{},sidebar:"docsSidebar",previous:{title:"\ud83d\udd04 Chapter 4: Control Structures",permalink:"/docs/fysh/manual/control-structures"},next:{title:"\u2693 Chapter 6: Output",permalink:"/docs/fysh/manual/output"}},c={},u=[{value:"\u270f\ufe0f Defining Functions",id:"\ufe0f-defining-functions",level:2},{value:"\ud83d\udcde Calling Functions",id:"-calling-functions",level:2}];function l(n){const e={code:"code",h1:"h1",h2:"h2",li:"li",p:"p",pre:"pre",ul:"ul",...(0,r.R)(),...n.components};return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(e.h1,{id:"-chapter-5-functions",children:"\ud83e\uddd1\u200d\ud83d\udd27 Chapter 5: Functions"}),"\n",(0,s.jsx)(e.h2,{id:"\ufe0f-defining-functions",children:"\u270f\ufe0f Defining Functions"}),"\n",(0,s.jsxs)(e.p,{children:["To define a function or SUBroutine, use a submarine ",(0,s.jsx)(e.code,{children:">(funcNameHere)"})," along with\nany parameters ",(0,s.jsx)(e.code,{children:">"}),". To return a value, use a squid ",(0,s.jsx)(e.code,{children:"<~"})," or ",(0,s.jsx)(e.code,{children:"\ud83e\udd91"}),"."]}),"\n",(0,s.jsxs)(e.p,{children:["Here the function is called ",(0,s.jsx)(e.code,{children:"submarine"})," and has 3 parameters. It returns the sum\nof the 3 parameters."]}),"\n",(0,s.jsx)(e.pre,{children:(0,s.jsx)(e.code,{className:"language-fysh",children:">(submarine) > > >\n><>\n <~ > > > ~\n<><\n"})}),"\n",(0,s.jsx)(e.h2,{id:"-calling-functions",children:"\ud83d\udcde Calling Functions"}),"\n",(0,s.jsxs)(e.ul,{children:["\n",(0,s.jsxs)(e.li,{children:["To call a subroutine, put the submarine in a Fysh tank along with its\narguments. If two or more params are next to each other, separate them with\nFysh food ",(0,s.jsx)(e.code,{children:"-"}),"."]}),"\n"]}),"\n",(0,s.jsx)(e.pre,{children:(0,s.jsx)(e.code,{className:"language-fysh",children:"[>(submarine) > - > - >] ~\n"})})]})}function h(n={}){const{wrapper:e}={...(0,r.R)(),...n.components};return e?(0,s.jsx)(e,{...n,children:(0,s.jsx)(l,{...n})}):l(n)}},1503:(n,e,t)=>{t.d(e,{R:()=>i,x:()=>o});var s=t(758);const r={},a=s.createContext(r);function i(n){const e=s.useContext(a);return s.useMemo((function(){return"function"==typeof n?n(e):{...e,...n}}),[e,n])}function o(n){let e;return e=n.disableParentContext?"function"==typeof n.components?n.components(r):n.components||r:i(n.components),s.createElement(a.Provider,{value:e},n.children)}}}]); \ No newline at end of file diff --git a/assets/js/22b8ac92.2aa1299a.js b/assets/js/22b8ac92.2aa1299a.js new file mode 100644 index 0000000..bdfa6b4 --- /dev/null +++ b/assets/js/22b8ac92.2aa1299a.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunk_fysh_fyve_source=self.webpackChunk_fysh_fyve_source||[]).push([[4],{9702:e=>{e.exports=JSON.parse('{"categoryGeneratedIndex":{"title":"\ud83d\udc19 Fyshing Manual","slug":"/category/-fyshing-manual","permalink":"/docs/category/-fyshing-manual","sidebar":"docsSidebar","navigation":{"previous":{"title":"\ud83d\udc69\u200d\ud83d\udcbb How to Compile and Run Fysh","permalink":"/docs/fysh/installation"},"next":{"title":"\ud83d\udc20 Chapter 1: Fysh Syntax","permalink":"/docs/fysh/manual/fysh-syntax"}}}}')}}]); \ No newline at end of file diff --git a/assets/js/3a6d7150.4854da31.js b/assets/js/3a6d7150.4854da31.js new file mode 100644 index 0000000..0d25d58 --- /dev/null +++ b/assets/js/3a6d7150.4854da31.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunk_fysh_fyve_source=self.webpackChunk_fysh_fyve_source||[]).push([[598],{1311:(e,n,s)=>{s.r(n),s.d(n,{assets:()=>c,contentTitle:()=>l,default:()=>o,frontMatter:()=>t,metadata:()=>i,toc:()=>d});var a=s(6070),r=s(1503);const t={},l="\ud83d\udcca Chapter 2: Data Types",i={id:"fysh/manual/data-types",title:"\ud83d\udcca Chapter 2: Data Types",description:"\ud83d\udccf Integers",source:"@site/docs/fysh/02-manual/02-data-types.md",sourceDirName:"fysh/02-manual",slug:"/fysh/manual/data-types",permalink:"/docs/fysh/manual/data-types",draft:!1,unlisted:!1,editUrl:"https://github.com/Fysh-Fyve/fysh/tree/master/pkg/website/docs/fysh/02-manual/02-data-types.md",tags:[],version:"current",sidebarPosition:2,frontMatter:{},sidebar:"docsSidebar",previous:{title:"\ud83d\udc20 Chapter 1: Fysh Syntax",permalink:"/docs/fysh/manual/fysh-syntax"},next:{title:"\ud83e\udde0 Chapter 3: Fysh Logic and Operations",permalink:"/docs/fysh/manual/fysh-logic-and-operations"}},c={},d=[{value:"\ud83d\udccf Integers",id:"-integers",level:2},{value:"\ud83d\udcd0 Floating Point Numbers",id:"-floating-point-numbers",level:2},{value:"\ud83d\udcdd Strings",id:"-strings",level:2},{value:"\ud83d\udce6 Arrays and Traversal",id:"-arrays-and-traversal",level:2}];function h(e){const n={code:"code",h1:"h1",h2:"h2",li:"li",pre:"pre",strong:"strong",ul:"ul",...(0,r.R)(),...e.components};return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(n.h1,{id:"-chapter-2-data-types",children:"\ud83d\udcca Chapter 2: Data Types"}),"\n",(0,a.jsx)(n.h2,{id:"-integers",children:"\ud83d\udccf Integers"}),"\n",(0,a.jsxs)(n.ul,{children:["\n",(0,a.jsxs)(n.li,{children:[(0,a.jsx)(n.strong,{children:"Integer:"})," Steven is an integer represented using binary scales. They have\nscales that are either ",(0,a.jsx)(n.code,{children:"1"})," or ",(0,a.jsx)(n.code,{children:"0"}),". Steven's value is ",(0,a.jsx)(n.code,{children:"0b101"}),", which is ",(0,a.jsx)(n.code,{children:"5"})," in\ndecimal."]}),"\n"]}),"\n",(0,a.jsx)(n.pre,{children:(0,a.jsx)(n.code,{className:"language-fysh",children:"> \u2248 ><{({\xb0> ~\n"})}),"\n",(0,a.jsx)(n.h2,{id:"-floating-point-numbers",children:"\ud83d\udcd0 Floating Point Numbers"}),"\n",(0,a.jsxs)(n.ul,{children:["\n",(0,a.jsxs)(n.li,{children:[(0,a.jsx)(n.strong,{children:"Floats:"})," Steven can also be a float fysh. To seperate the integer and\ndecimal parts, we use a fysh bone ",(0,a.jsx)(n.code,{children:"-"}),". Steven's value is ",(0,a.jsx)(n.code,{children:"5.5"}),"."]}),"\n"]}),"\n",(0,a.jsx)(n.pre,{children:(0,a.jsx)(n.code,{className:"language-fysh",children:"> \u2248 ><{({-{({\xb0> ~\n"})}),"\n",(0,a.jsxs)(n.ul,{children:["\n",(0,a.jsxs)(n.li,{children:[(0,a.jsx)(n.strong,{children:"Floats with multiple bones:"})," Steven can also have multiple bones to\nseperate each decimal place. Steven's value is ",(0,a.jsx)(n.code,{children:"5 + 0.2 + 0.05 = 5.25"}),"."]}),"\n"]}),"\n",(0,a.jsx)(n.pre,{children:(0,a.jsx)(n.code,{className:"language-fysh",children:"> \u2248 ><{({-{(-{({\xb0> ~\n"})}),"\n",(0,a.jsxs)(n.ul,{children:["\n",(0,a.jsxs)(n.li,{children:[(0,a.jsx)(n.strong,{children:"Floats with numbers larger than 9:"})," If a value in the decimal place is\ngreater than 9, it will occupy an extra decimal place. Steven's value is\n",(0,a.jsx)(n.code,{children:"15 + 0.15 + 0.005 15.155"}),"."]}),"\n"]}),"\n",(0,a.jsx)(n.pre,{children:(0,a.jsx)(n.code,{className:"language-fysh",children:"> \u2248 ><{{{{-{{{{-{({\xb0> ~\n"})}),"\n",(0,a.jsx)(n.h2,{id:"-strings",children:"\ud83d\udcdd Strings"}),"\n",(0,a.jsxs)(n.ul,{children:["\n",(0,a.jsxs)(n.li,{children:[(0,a.jsx)(n.strong,{children:"Strings:"})," Steven can also be a string fysh. They speak using bubbles.\nSteven's value is ",(0,a.jsx)(n.code,{children:'"Hello, World!"'}),"."]}),"\n"]}),"\n",(0,a.jsx)(n.pre,{children:(0,a.jsx)(n.code,{className:"language-fysh",children:"> \u2248 \ud83e\udee7Hello, World!\ud83e\udee7 ~\n"})}),"\n",(0,a.jsx)(n.h2,{id:"-arrays-and-traversal",children:"\ud83d\udce6 Arrays and Traversal"}),"\n",(0,a.jsxs)(n.ul,{children:["\n",(0,a.jsxs)(n.li,{children:[(0,a.jsx)(n.strong,{children:"Arrays:"})," A fysh tank ",(0,a.jsx)(n.code,{children:"[ ]"})," is used create an array. Each item is separated\nby fysh food -.value is ",(0,a.jsx)(n.code,{children:"[0b010, 0b010] = [2, 2]"}),"."]}),"\n"]}),"\n",(0,a.jsx)(n.pre,{children:(0,a.jsx)(n.code,{className:"language-fysh",children:"> \u2248 [><({(\xb0> - ><({(\xb0>] ~\n"})}),"\n",(0,a.jsxs)(n.ul,{children:["\n",(0,a.jsxs)(n.li,{children:[(0,a.jsx)(n.strong,{children:"Accessing Array Elements:"})," These fysh tanks can be traversed using a fysh\ntank ",(0,a.jsx)(n.code,{children:"[ ]"})," with a number inside it. Steven returns the element at index 1.\nArray indexes start at 0."]}),"\n"]}),"\n",(0,a.jsx)(n.pre,{children:(0,a.jsx)(n.code,{className:"language-fysh",children:">[><(({\xb0>] ~\n"})})]})}function o(e={}){const{wrapper:n}={...(0,r.R)(),...e.components};return n?(0,a.jsx)(n,{...e,children:(0,a.jsx)(h,{...e})}):h(e)}},1503:(e,n,s)=>{s.d(n,{R:()=>l,x:()=>i});var a=s(758);const r={},t=a.createContext(r);function l(e){const n=a.useContext(t);return a.useMemo((function(){return"function"==typeof e?e(n):{...n,...e}}),[n,e])}function i(e){let n;return n=e.disableParentContext?"function"==typeof e.components?e.components(r):e.components||r:l(e.components),a.createElement(t.Provider,{value:n},e.children)}}}]); \ No newline at end of file diff --git a/assets/js/8d4e1d08.049b4e2e.js b/assets/js/8d4e1d08.049b4e2e.js new file mode 100644 index 0000000..94f959b --- /dev/null +++ b/assets/js/8d4e1d08.049b4e2e.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunk_fysh_fyve_source=self.webpackChunk_fysh_fyve_source||[]).push([[537],{3036:(e,n,s)=>{s.r(n),s.d(n,{assets:()=>h,contentTitle:()=>r,default:()=>o,frontMatter:()=>t,metadata:()=>l,toc:()=>c});var i=s(6070),a=s(1503);const t={},r="\ud83d\udc20 Chapter 1: Fysh Syntax",l={id:"fysh/manual/fysh-syntax",title:"\ud83d\udc20 Chapter 1: Fysh Syntax",description:"\ud83d\udc1f Variables",source:"@site/docs/fysh/02-manual/01-fysh-syntax.md",sourceDirName:"fysh/02-manual",slug:"/fysh/manual/fysh-syntax",permalink:"/docs/fysh/manual/fysh-syntax",draft:!1,unlisted:!1,editUrl:"https://github.com/Fysh-Fyve/fysh/tree/master/pkg/website/docs/fysh/02-manual/01-fysh-syntax.md",tags:[],version:"current",sidebarPosition:1,frontMatter:{},sidebar:"docsSidebar",previous:{title:"\ud83d\udc19 Fyshing Manual",permalink:"/docs/category/-fyshing-manual"},next:{title:"\ud83d\udcca Chapter 2: Data Types",permalink:"/docs/fysh/manual/data-types"}},h={},c=[{value:"\ud83d\udc1f Variables",id:"-variables",level:2},{value:"\ud83d\udc41\ufe0f Optional Visuals",id:"\ufe0f-optional-visuals",level:2},{value:"\u2795 Arithmetic with Variables",id:"-arithmetic-with-variables",level:2},{value:"\ud83d\udd3c\ud83d\udd3d Increment and Decrement",id:"-increment-and-decrement",level:2},{value:"\ud83c\udf62 Random Number Generation",id:"-random-number-generation",level:2}];function d(e){const n={code:"code",h1:"h1",h2:"h2",li:"li",p:"p",pre:"pre",strong:"strong",ul:"ul",...(0,a.R)(),...e.components};return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(n.h1,{id:"-chapter-1-fysh-syntax",children:"\ud83d\udc20 Chapter 1: Fysh Syntax"}),"\n",(0,i.jsx)(n.h2,{id:"-variables",children:"\ud83d\udc1f Variables"}),"\n",(0,i.jsxs)(n.ul,{children:["\n",(0,i.jsxs)(n.li,{children:["Meet Steven, our fishy friend. In Fysh, variables like Steven are declared\nwith ",(0,i.jsx)(n.code,{children:">"}),". Every line of fysh ends with a wave ",(0,i.jsx)(n.code,{children:"~"}),"."]}),"\n"]}),"\n",(0,i.jsx)(n.pre,{children:(0,i.jsx)(n.code,{className:"language-fysh",children:"> ~\n"})}),"\n",(0,i.jsxs)(n.ul,{children:["\n",(0,i.jsxs)(n.li,{children:["Steven has binary scales. In Fysh, ",(0,i.jsx)(n.code,{children:"}"})," represents ",(0,i.jsx)(n.code,{children:"1"})," and ",(0,i.jsx)(n.code,{children:")"})," represents ",(0,i.jsx)(n.code,{children:"0"}),".\nHere, Steven is valued at ",(0,i.jsx)(n.code,{children:"0b101"}),", which is ",(0,i.jsx)(n.code,{children:"5"})," in decimal."]}),"\n"]}),"\n",(0,i.jsx)(n.pre,{children:(0,i.jsx)(n.code,{className:"language-fysh",children:"> = ><})}> ~\n"})}),"\n",(0,i.jsxs)(n.ul,{children:["\n",(0,i.jsxs)(n.li,{children:["Steven doesn\u2019t give a flying fysh about scale direction. ",(0,i.jsx)(n.code,{children:"\u2248"})," for variable\nassignment is cool with them too."]}),"\n"]}),"\n",(0,i.jsx)(n.pre,{children:(0,i.jsx)(n.code,{className:"language-fysh",children:"> \u2248 ><}({> ~\n"})}),"\n",(0,i.jsx)(n.h2,{id:"\ufe0f-optional-visuals",children:"\ud83d\udc41\ufe0f Optional Visuals"}),"\n",(0,i.jsxs)(n.ul,{children:["\n",(0,i.jsx)(n.li,{children:"Steven is blind. You have the power to bless them with sight, but it's\ncompletely optional! You can make them biblically accurate by giving them\nmultiple eyes."}),"\n"]}),"\n",(0,i.jsx)(n.pre,{children:(0,i.jsx)(n.code,{className:"language-fysh",children:"> \u2248 ><{({\xb0> ~\n> \u2248 ><{({o> ~\n> \u2248 ><{({\xb0\xb0> ~\n> \u2248 ><{({o\xb0> ~\n> = ><{({\xb0o\xb0> ~\n"})}),"\n",(0,i.jsx)(n.h2,{id:"-arithmetic-with-variables",children:"\u2795 Arithmetic with Variables"}),"\n",(0,i.jsxs)(n.ul,{children:["\n",(0,i.jsxs)(n.li,{children:[(0,i.jsx)(n.strong,{children:"Summing values:"})," A school of Fysh's value is the sum of each member. This\ngives Steven a value of ",(0,i.jsx)(n.code,{children:"0b101 = 0b100 + 0b001 ="})," (5 = 4 + 1)."]}),"\n"]}),"\n",(0,i.jsx)(n.pre,{children:(0,i.jsx)(n.code,{className:"language-fysh",children:"> \u2248 ><{((\xb0> ><(({\xb0> ~\n"})}),"\n",(0,i.jsxs)(n.ul,{children:["\n",(0,i.jsxs)(n.li,{children:[(0,i.jsx)(n.strong,{children:"Subtracting values:"})," Sometimes fysh are negative and start to swim\nbackwards. This takes away from the school's value. Steven's value is\n",(0,i.jsx)(n.code,{children:"0b101 = 0b111 - 0b010"})," (5 = 7 - 2)."]}),"\n"]}),"\n",(0,i.jsx)(n.pre,{children:(0,i.jsx)(n.code,{className:"language-fysh",children:"> \u2248 ><{{{\xb0> <\xb0)})>< ~ # 0b101 = 0b111 - 0b010\n"})}),"\n",(0,i.jsxs)(n.ul,{children:["\n",(0,i.jsxs)(n.li,{children:[(0,i.jsx)(n.strong,{children:"Multiplying values:"})," Fysh often get lonely. This loneliness causes fysh to\nmeet new fysh and proliferate. This gives Steven a value of\n",(0,i.jsx)(n.code,{children:"0b101010 = 0b110 * 0b111"}),". (42 = 6 * 7)"]}),"\n"]}),"\n",(0,i.jsx)(n.pre,{children:(0,i.jsx)(n.code,{className:"language-fysh",children:"> = ><{{(\xb0> <3 ><{{{\xb0> ~\n> \u2248 ><{{(\xb0> \u2661 ><{{{\xb0> ~\n"})}),"\n",(0,i.jsxs)(n.ul,{children:["\n",(0,i.jsxs)(n.li,{children:[(0,i.jsx)(n.strong,{children:"Dividing values:"})," Not every fysh story is a happy one. At times, separation\nis inevitable, and their division breaks their heart. This gives Steven a\nvalue of ",(0,i.jsx)(n.code,{children:"0b101 = 0b11001 / 0b101"}),". (5 = 25 / 5)"]}),"\n"]}),"\n",(0,i.jsx)(n.pre,{children:(0,i.jsx)(n.code,{className:"language-fysh",children:"> \u2248 ><{{(({\xb0> <{({\xb0> ~\n> \u2248 ><{{(({\xb0> \ud83d\udc94 ><{({\xb0> ~\n"})}),"\n",(0,i.jsxs)(n.ul,{children:["\n",(0,i.jsxs)(n.li,{children:[(0,i.jsx)(n.strong,{children:"Using parentheses for complex operations:"})," Fysh are often abducted and\nisolated into fyshbowls ",(0,i.jsx)(n.code,{children:"( )"})," for terrestrials' amusment. This makes the fysh\nsad and gives Steven a value of ",(0,i.jsx)(n.code,{children:"0b101 = 0b101 / (0b101 - 0b100)"}),". (5 = 5 /\n(5 - 4))"]}),"\n"]}),"\n",(0,i.jsx)(n.pre,{children:(0,i.jsx)(n.code,{className:"language-fysh",children:"> \u2248 ><{({\xb0> \ud83d\udc94 ( ><{({\xb0> <\xb0}))>< ) ~\n"})}),"\n",(0,i.jsx)(n.h2,{id:"-increment-and-decrement",children:"\ud83d\udd3c\ud83d\udd3d Increment and Decrement"}),"\n",(0,i.jsxs)(n.ul,{children:["\n",(0,i.jsxs)(n.li,{children:[(0,i.jsx)(n.strong,{children:"Increment:"})," As life goes on, we learn from our mistakes and improve.\nSteven\u2019s self help journey allowed them to grow an extra tail, incrementing\ntheir value by 1."]}),"\n"]}),"\n",(0,i.jsx)(n.pre,{children:(0,i.jsx)(n.code,{className:"language-fysh",children:">> ~\n"})}),"\n",(0,i.jsxs)(n.ul,{children:["\n",(0,i.jsxs)(n.li,{children:[(0,i.jsx)(n.strong,{children:"Decrement:"})," Sometimes we feel like a fyshup, a failure. And that's ok, it\u2019s\na part of being fysh. However for some fysh, this feeling is too much to\nhandle and is internalized. They haven\u2019t received the emotional support they\nneed and have gone on a downward spiral, causing them to feel worthless. They\nbegin to retreat and try to swim away in the opposite direction causing their\nvalue to decrement by 1."]}),"\n"]}),"\n",(0,i.jsx)(n.pre,{children:(0,i.jsx)(n.code,{className:"language-fysh",children:"<< ~\n"})}),"\n",(0,i.jsx)(n.h2,{id:"-random-number-generation",children:"\ud83c\udf62 Random Number Generation"}),"\n",(0,i.jsxs)(n.p,{children:[(0,i.jsx)(n.strong,{children:"Random Number:"})," This is a grilled fysh. It generates a random signed 32-bit\nnumber that determines the doneness of the fysh."]}),"\n",(0,i.jsx)(n.pre,{children:(0,i.jsx)(n.code,{className:"language-fysh",children:"><###> ~\n"})})]})}function o(e={}){const{wrapper:n}={...(0,a.R)(),...e.components};return n?(0,i.jsx)(n,{...e,children:(0,i.jsx)(d,{...e})}):d(e)}},1503:(e,n,s)=>{s.d(n,{R:()=>r,x:()=>l});var i=s(758);const a={},t=i.createContext(a);function r(e){const n=i.useContext(t);return i.useMemo((function(){return"function"==typeof e?e(n):{...n,...e}}),[n,e])}function l(e){let n;return n=e.disableParentContext?"function"==typeof e.components?e.components(a):e.components||a:r(e.components),i.createElement(t.Provider,{value:n},e.children)}}}]); \ No newline at end of file diff --git a/assets/js/9a675b67.572f2f95.js b/assets/js/9a675b67.572f2f95.js new file mode 100644 index 0000000..8781c76 --- /dev/null +++ b/assets/js/9a675b67.572f2f95.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunk_fysh_fyve_source=self.webpackChunk_fysh_fyve_source||[]).push([[832],{1975:(e,n,t)=>{t.r(n),t.d(n,{assets:()=>c,contentTitle:()=>l,default:()=>d,frontMatter:()=>o,metadata:()=>i,toc:()=>h});var s=t(6070),r=t(1503);const o={},l="\ud83d\udd04 Chapter 4: Control Structures",i={id:"fysh/manual/control-structures",title:"\ud83d\udd04 Chapter 4: Control Structures",description:"\ud83d\udd01 While Loops",source:"@site/docs/fysh/02-manual/04-control-structures.md",sourceDirName:"fysh/02-manual",slug:"/fysh/manual/control-structures",permalink:"/docs/fysh/manual/control-structures",draft:!1,unlisted:!1,editUrl:"https://github.com/Fysh-Fyve/fysh/tree/master/pkg/website/docs/fysh/02-manual/04-control-structures.md",tags:[],version:"current",sidebarPosition:4,frontMatter:{},sidebar:"docsSidebar",previous:{title:"\ud83e\udde0 Chapter 3: Fysh Logic and Operations",permalink:"/docs/fysh/manual/fysh-logic-and-operations"},next:{title:"\ud83e\uddd1\u200d\ud83d\udd27 Chapter 5: Functions",permalink:"/docs/fysh/manual/functions"}},c={},h=[{value:"\ud83d\udd01 While Loops",id:"-while-loops",level:2},{value:"\u2753 Conditional Statements",id:"-conditional-statements",level:2}];function a(e){const n={code:"code",h1:"h1",h2:"h2",li:"li",p:"p",pre:"pre",strong:"strong",ul:"ul",...(0,r.R)(),...e.components};return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(n.h1,{id:"-chapter-4-control-structures",children:"\ud83d\udd04 Chapter 4: Control Structures"}),"\n",(0,s.jsx)(n.h2,{id:"-while-loops",children:"\ud83d\udd01 While Loops"}),"\n",(0,s.jsxs)(n.ul,{children:["\n",(0,s.jsxs)(n.li,{children:["In the whirlpool of Fysh logic, the while loop, represented by ",(0,s.jsx)(n.code,{children:"@"})," or ",(0,s.jsx)(n.code,{children:"\ud83c\udf00"}),",\nwith the condition stored in either ",(0,s.jsx)(n.code,{children:"[ ]"})," or ",(0,s.jsx)(n.code,{children:"( )"}),". Small fysh define the\niterative heart ",(0,s.jsx)(n.code,{children:"><>"})," and ",(0,s.jsx)(n.code,{children:"<><"}),"."]}),"\n"]}),"\n",(0,s.jsx)(n.p,{children:"Here we repeat the loop while Steve is greater than 5. Steven decrements by 1\neach iteration."}),"\n",(0,s.jsx)(n.pre,{children:(0,s.jsx)(n.code,{className:"language-fysh",children:"\ud83c\udf00 [> o~ ><{((\xb0>]\n><>\n << ~\n<><\n\n@ (> o~ ><{((\xb0>)\n><>\n << ~\n<><\n"})}),"\n",(0,s.jsx)(n.h2,{id:"-conditional-statements",children:"\u2753 Conditional Statements"}),"\n",(0,s.jsx)(n.p,{children:"Conditional statements run based on how each Fysh feels"}),"\n",(0,s.jsxs)(n.ul,{children:["\n",(0,s.jsxs)(n.li,{children:[(0,s.jsxs)(n.strong,{children:[(0,s.jsx)(n.code,{children:"if"})," statement:"]})," are happy since they're the condition you're looking for.\nThey feel wanted and loved. They are represented by a happy Fysh"]}),"\n"]}),"\n",(0,s.jsx)(n.pre,{children:(0,s.jsx)(n.code,{className:"language-fysh",children:"><(((^> [> o~ ><{((\xb0>]\n><>\n << ~\n<><\n"})}),"\n",(0,s.jsxs)(n.ul,{children:["\n",(0,s.jsxs)(n.li,{children:[(0,s.jsxs)(n.strong,{children:[(0,s.jsx)(n.code,{children:"else"})," statement:"]})," feel like they're the last resort, an afterthought. This\nmakes them feel unimportant and sad. They are represented by a dead Fysh"]}),"\n"]}),"\n",(0,s.jsx)(n.pre,{children:(0,s.jsx)(n.code,{className:"language-fysh",children:"><(((*>\n><>\n > \u2248 ><(((\xb0> ~\n<><\n"})}),"\n",(0,s.jsxs)(n.ul,{children:["\n",(0,s.jsxs)(n.li,{children:[(0,s.jsxs)(n.strong,{children:[(0,s.jsx)(n.code,{children:"else if"})," statement:"]})," are the middle child. They're not the first choice,\nbut they're not the last either. They're represented by both a dead and happy\nFysh"]}),"\n"]}),"\n",(0,s.jsx)(n.pre,{children:(0,s.jsx)(n.code,{className:"language-fysh",children:"><(((*> ><(((^> [> ~o ><{((\xb0>]\n><>\n >> ~\n<><\n"})})]})}function d(e={}){const{wrapper:n}={...(0,r.R)(),...e.components};return n?(0,s.jsx)(n,{...e,children:(0,s.jsx)(a,{...e})}):a(e)}},1503:(e,n,t)=>{t.d(n,{R:()=>l,x:()=>i});var s=t(758);const r={},o=s.createContext(r);function l(e){const n=s.useContext(o);return s.useMemo((function(){return"function"==typeof e?e(n):{...n,...e}}),[n,e])}function i(e){let n;return n=e.disableParentContext?"function"==typeof e.components?e.components(r):e.components||r:l(e.components),s.createElement(o.Provider,{value:n},e.children)}}}]); \ No newline at end of file diff --git a/assets/js/b0307b86.6a60b7c0.js b/assets/js/b0307b86.6a60b7c0.js new file mode 100644 index 0000000..85672b0 --- /dev/null +++ b/assets/js/b0307b86.6a60b7c0.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunk_fysh_fyve_source=self.webpackChunk_fysh_fyve_source||[]).push([[141],{3056:(e,n,t)=>{t.r(n),t.d(n,{assets:()=>c,contentTitle:()=>i,default:()=>h,frontMatter:()=>r,metadata:()=>l,toc:()=>a});var s=t(6070),o=t(1503);const r={},i="\ud83d\udcac Chapter 7: Comments",l={id:"fysh/manual/comments",title:"\ud83d\udcac Chapter 7: Comments",description:"\ud83d\udd09 Single-line Comments",source:"@site/docs/fysh/02-manual/07-comments.md",sourceDirName:"fysh/02-manual",slug:"/fysh/manual/comments",permalink:"/docs/fysh/manual/comments",draft:!1,unlisted:!1,editUrl:"https://github.com/Fysh-Fyve/fysh/tree/master/pkg/website/docs/fysh/02-manual/07-comments.md",tags:[],version:"current",sidebarPosition:7,frontMatter:{},sidebar:"docsSidebar",previous:{title:"\u2693 Chapter 6: Output",permalink:"/docs/fysh/manual/output"},next:{title:"\ud83d\udcc8 Examples",permalink:"/docs/fysh/manual/examples"}},c={},a=[{value:"\ud83d\udd09 Single-line Comments",id:"-single-line-comments",level:2},{value:"\ud83d\udd0a Multi-line Comments",id:"-multi-line-comments",level:2}];function m(e){const n={code:"code",h1:"h1",h2:"h2",p:"p",pre:"pre",...(0,o.R)(),...e.components};return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(n.h1,{id:"-chapter-7-comments",children:"\ud83d\udcac Chapter 7: Comments"}),"\n",(0,s.jsx)(n.h2,{id:"-single-line-comments",children:"\ud83d\udd09 Single-line Comments"}),"\n",(0,s.jsxs)(n.p,{children:["Navigator Fysh are used to guide the reader through the code. They are\nrepresented by ",(0,s.jsx)(n.code,{children:">"}),"."]}),"\n",(0,s.jsx)(n.pre,{children:(0,s.jsx)(n.code,{className:"language-fysh",children:"> What's cookin' good lookin'?\n"})}),"\n",(0,s.jsx)(n.h2,{id:"-multi-line-comments",children:"\ud83d\udd0a Multi-line Comments"}),"\n",(0,s.jsxs)(n.p,{children:["For longer explanations, multiline comments are used. They are represented by\n",(0,s.jsx)(n.code,{children:">"})," and ",(0,s.jsx)(n.code,{children:"<*\\><"})]}),"\n",(0,s.jsx)(n.pre,{children:(0,s.jsx)(n.code,{className:"language-fysh",children:">\nHow to grill a Fysh:\n1. Catch a Fysh\n2. Grill the Fysh\n3. Eat the Fysh\n<*/><\n"})})]})}function h(e={}){const{wrapper:n}={...(0,o.R)(),...e.components};return n?(0,s.jsx)(n,{...e,children:(0,s.jsx)(m,{...e})}):m(e)}},1503:(e,n,t)=>{t.d(n,{R:()=>i,x:()=>l});var s=t(758);const o={},r=s.createContext(o);function i(e){const n=s.useContext(r);return s.useMemo((function(){return"function"==typeof e?e(n):{...n,...e}}),[n,e])}function l(e){let n;return n=e.disableParentContext?"function"==typeof e.components?e.components(o):e.components||o:i(e.components),s.createElement(r.Provider,{value:n},e.children)}}}]); \ No newline at end of file diff --git a/assets/js/b981fc7d.963852b5.js b/assets/js/b981fc7d.963852b5.js new file mode 100644 index 0000000..cd823e0 --- /dev/null +++ b/assets/js/b981fc7d.963852b5.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunk_fysh_fyve_source=self.webpackChunk_fysh_fyve_source||[]).push([[1],{4318:(e,n,s)=>{s.r(n),s.d(n,{assets:()=>l,contentTitle:()=>o,default:()=>d,frontMatter:()=>r,metadata:()=>a,toc:()=>h});var t=s(6070),i=s(1503);const r={},o="\ud83e\udde0 Chapter 3: Fysh Logic and Operations",a={id:"fysh/manual/fysh-logic-and-operations",title:"\ud83e\udde0 Chapter 3: Fysh Logic and Operations",description:"\ud83e\udd14 Logical Operations",source:"@site/docs/fysh/02-manual/03-fysh-logic-and-operations.md",sourceDirName:"fysh/02-manual",slug:"/fysh/manual/fysh-logic-and-operations",permalink:"/docs/fysh/manual/fysh-logic-and-operations",draft:!1,unlisted:!1,editUrl:"https://github.com/Fysh-Fyve/fysh/tree/master/pkg/website/docs/fysh/02-manual/03-fysh-logic-and-operations.md",tags:[],version:"current",sidebarPosition:3,frontMatter:{},sidebar:"docsSidebar",previous:{title:"\ud83d\udcca Chapter 2: Data Types",permalink:"/docs/fysh/manual/data-types"},next:{title:"\ud83d\udd04 Chapter 4: Control Structures",permalink:"/docs/fysh/manual/control-structures"}},l={},h=[{value:"\ud83e\udd14 Logical Operations",id:"-logical-operations",level:2},{value:"\ud83d\udd27 Bitwise Operations",id:"-bitwise-operations",level:2},{value:"\ud83d\udc38 Tadpoles",id:"-tadpoles",level:2}];function c(e){const n={code:"code",h1:"h1",h2:"h2",li:"li",p:"p",pre:"pre",strong:"strong",ul:"ul",...(0,i.R)(),...e.components};return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(n.h1,{id:"-chapter-3-fysh-logic-and-operations",children:"\ud83e\udde0 Chapter 3: Fysh Logic and Operations"}),"\n",(0,t.jsx)(n.h2,{id:"-logical-operations",children:"\ud83e\udd14 Logical Operations"}),"\n",(0,t.jsxs)(n.ul,{children:["\n",(0,t.jsxs)(n.li,{children:[(0,t.jsxs)(n.strong,{children:[(0,t.jsx)(n.code,{children:"AND (&&)"}),", ",(0,t.jsx)(n.code,{children:"OR (||)"}),", and ",(0,t.jsx)(n.code,{children:"NOT (!!)"})]}),": Steven is experiencing an\nexistential crisis. They're questioning the very fabric of reality.","\n",(0,t.jsxs)(n.ul,{children:["\n",(0,t.jsxs)(n.li,{children:["If steven is real ",(0,t.jsx)(n.code,{children:"and"})," they found the truth, they're happy. (Steven &&\ntheTruth)"]}),"\n",(0,t.jsxs)(n.li,{children:["Steven is happy if either they're real ",(0,t.jsx)(n.code,{children:"or"})," found the truth. (Steven ||\ntheTruth)"]}),"\n",(0,t.jsxs)(n.li,{children:["But then Steven thought about it and said \"hey it would be kinda cool if I\nwasn't real\" and is now only happy if they're ",(0,t.jsx)(n.code,{children:"not"})," real. (!!Steven)"]}),"\n"]}),"\n"]}),"\n"]}),"\n",(0,t.jsx)(n.pre,{children:(0,t.jsx)(n.code,{className:"language-fysh",children:"> && > ~\n> || > ~\n!! > ~\n"})}),"\n",(0,t.jsx)(n.h2,{id:"-bitwise-operations",children:"\ud83d\udd27 Bitwise Operations"}),"\n",(0,t.jsxs)(n.ul,{children:["\n",(0,t.jsxs)(n.li,{children:["Steven is bored and looking to have their bits rearranged. At Fysh, we're\nhereto help! We have provided Steven with a variety of tools and bitwise\nmanipulations to satisfy their bit busting needs:","\n",(0,t.jsxs)(n.ul,{children:["\n",(0,t.jsx)(n.li,{children:(0,t.jsx)(n.code,{children:"AND (&)"})}),"\n",(0,t.jsx)(n.li,{children:(0,t.jsx)(n.code,{children:"OR (|)"})}),"\n",(0,t.jsx)(n.li,{children:(0,t.jsx)(n.code,{children:"XOR (^)"})}),"\n",(0,t.jsx)(n.li,{children:(0,t.jsx)(n.code,{children:"NOT (!)"})}),"\n"]}),"\n"]}),"\n"]}),"\n",(0,t.jsx)(n.pre,{children:(0,t.jsx)(n.code,{className:"language-fysh",children:"> & ><(({\xb0> ~\n> | ><(({\xb0> ~\n> ^ ><(({\xb0> ~\n! > ~\n"})}),"\n",(0,t.jsxs)(n.ul,{children:["\n",(0,t.jsxs)(n.li,{children:[(0,t.jsx)(n.strong,{children:"Logical shifts:"})," Steven can also use logical shifts! Steven shifts their\nbits to the left then right by 1.","\n",(0,t.jsxs)(n.ul,{children:["\n",(0,t.jsx)(n.li,{children:(0,t.jsxs)(n.strong,{children:["Left shift (",(0,t.jsx)(n.code,{children:"<<"}),"):"]})}),"\n",(0,t.jsx)(n.li,{children:(0,t.jsxs)(n.strong,{children:["Right shift (",(0,t.jsx)(n.code,{children:">>"}),"):"]})}),"\n"]}),"\n"]}),"\n"]}),"\n",(0,t.jsx)(n.pre,{children:(0,t.jsx)(n.code,{className:"language-fysh",children:"> << ><(({\xb0> ~\n> >> ><(({\xb0> ~\n"})}),"\n",(0,t.jsx)(n.h2,{id:"-tadpoles",children:"\ud83d\udc38 Tadpoles"}),"\n",(0,t.jsxs)(n.p,{children:["Tadpoles are Fysh too. They swim towards bigger Fysh (they like the danger) and\nare represented by ",(0,t.jsx)(n.code,{children:"~o"})," or ",(0,t.jsx)(n.code,{children:"o~"}),". Here, we are checking if Steven is bigger than\n5 and less than 7, respectively."]}),"\n",(0,t.jsx)(n.pre,{children:(0,t.jsx)(n.code,{className:"language-fysh",children:"> Greater/Less than\n> o~ ><{({\xb0>\n> ~o ><{{{\xb0>\n\n> Greater/Less than or equal to (replace ~ with \u2248 or =)\n> o= ><{({\xb0>\n> \u2248o ><{{{\xb0>\n"})})]})}function d(e={}){const{wrapper:n}={...(0,i.R)(),...e.components};return n?(0,t.jsx)(n,{...e,children:(0,t.jsx)(c,{...e})}):c(e)}},1503:(e,n,s)=>{s.d(n,{R:()=>o,x:()=>a});var t=s(758);const i={},r=t.createContext(i);function o(e){const n=t.useContext(r);return t.useMemo((function(){return"function"==typeof e?e(n):{...n,...e}}),[n,e])}function a(e){let n;return n=e.disableParentContext?"function"==typeof e.components?e.components(i):e.components||i:o(e.components),t.createElement(r.Provider,{value:n},e.children)}}}]); \ No newline at end of file diff --git a/assets/js/c3cda6f3.40f4147a.js b/assets/js/c3cda6f3.40f4147a.js deleted file mode 100644 index f8b5475..0000000 --- a/assets/js/c3cda6f3.40f4147a.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunk_fysh_fyve_source=self.webpackChunk_fysh_fyve_source||[]).push([[684],{892:(n,e,s)=>{s.r(e),s.d(e,{assets:()=>c,contentTitle:()=>l,default:()=>h,frontMatter:()=>i,metadata:()=>r,toc:()=>d});var t=s(6070),o=s(1503);const i={sidebar_position:1},l="\ud83d\udc69\u200d\ud83d\udcbb How to Compile and Run Fysh",r={id:"fysh/installation",title:"\ud83d\udc69\u200d\ud83d\udcbb How to Compile and Run Fysh",description:"\u2699\ufe0f Option 1: Using VSCode",source:"@site/docs/fysh/installation.md",sourceDirName:"fysh",slug:"/fysh/installation",permalink:"/docs/fysh/installation",draft:!1,unlisted:!1,editUrl:"https://github.com/Fysh-Fyve/fysh/tree/master/pkg/website/docs/fysh/installation.md",tags:[],version:"current",sidebarPosition:1,frontMatter:{sidebar_position:1},sidebar:"docsSidebar",previous:{title:"Fysh",permalink:"/docs/category/fysh"},next:{title:"\ud83d\udc19 Fyshing Manual",permalink:"/docs/fysh/manual"}},c={},d=[{value:"\u2699\ufe0f Option 1: Using VSCode",id:"\ufe0f-option-1-using-vscode",level:2},{value:"\u2699\ufe0f Option 2: Using Command Line",id:"\ufe0f-option-2-using-command-line",level:2}];function a(n){const e={code:"code",h1:"h1",h2:"h2",li:"li",ol:"ol",...(0,o.R)(),...n.components};return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(e.h1,{id:"-how-to-compile-and-run-fysh",children:"\ud83d\udc69\u200d\ud83d\udcbb How to Compile and Run Fysh"}),"\n",(0,t.jsx)(e.h2,{id:"\ufe0f-option-1-using-vscode",children:"\u2699\ufe0f Option 1: Using VSCode"}),"\n",(0,t.jsxs)(e.ol,{children:["\n",(0,t.jsxs)(e.li,{children:["Download the ",(0,t.jsx)(e.code,{children:"Fysh"})," VSCode extension."]}),"\n",(0,t.jsxs)(e.li,{children:["Create a ",(0,t.jsx)(e.code,{children:".fysh"})," file."]}),"\n",(0,t.jsx)(e.li,{children:"Write your code."}),"\n",(0,t.jsx)(e.li,{children:"Press the run button."}),"\n"]}),"\n",(0,t.jsx)(e.h2,{id:"\ufe0f-option-2-using-command-line",children:"\u2699\ufe0f Option 2: Using Command Line"}),"\n",(0,t.jsxs)(e.ol,{children:["\n",(0,t.jsxs)(e.li,{children:["Install the latest version ",(0,t.jsx)(e.code,{children:"go install github.com/Fysh-Fyve/fysh/pkg/go-fysh/cmd@latest"})]}),"\n",(0,t.jsxs)(e.li,{children:["Execute with ",(0,t.jsx)(e.code,{children:"fysh .fysh"}),"."]}),"\n"]})]})}function h(n={}){const{wrapper:e}={...(0,o.R)(),...n.components};return e?(0,t.jsx)(e,{...n,children:(0,t.jsx)(a,{...n})}):a(n)}},1503:(n,e,s)=>{s.d(e,{R:()=>l,x:()=>r});var t=s(758);const o={},i=t.createContext(o);function l(n){const e=t.useContext(i);return t.useMemo((function(){return"function"==typeof n?n(e):{...e,...n}}),[e,n])}function r(n){let e;return e=n.disableParentContext?"function"==typeof n.components?n.components(o):n.components||o:l(n.components),t.createElement(i.Provider,{value:e},n.children)}}}]); \ No newline at end of file diff --git a/assets/js/cba70e43.de10e27f.js b/assets/js/cba70e43.de10e27f.js new file mode 100644 index 0000000..e4abd3a --- /dev/null +++ b/assets/js/cba70e43.de10e27f.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunk_fysh_fyve_source=self.webpackChunk_fysh_fyve_source||[]).push([[822],{4798:(e,t,n)=>{n.r(t),n.d(t,{assets:()=>c,contentTitle:()=>r,default:()=>p,frontMatter:()=>o,metadata:()=>a,toc:()=>i});var s=n(6070),u=n(1503);const o={},r="\u2693 Chapter 6: Output",a={id:"fysh/manual/output",title:"\u2693 Chapter 6: Output",description:"\u26d3\ufe0f Output Value",source:"@site/docs/fysh/02-manual/06-output.md",sourceDirName:"fysh/02-manual",slug:"/fysh/manual/output",permalink:"/docs/fysh/manual/output",draft:!1,unlisted:!1,editUrl:"https://github.com/Fysh-Fyve/fysh/tree/master/pkg/website/docs/fysh/02-manual/06-output.md",tags:[],version:"current",sidebarPosition:6,frontMatter:{},sidebar:"docsSidebar",previous:{title:"\ud83e\uddd1\u200d\ud83d\udd27 Chapter 5: Functions",permalink:"/docs/fysh/manual/functions"},next:{title:"\ud83d\udcac Chapter 7: Comments",permalink:"/docs/fysh/manual/comments"}},c={},i=[{value:"\u26d3\ufe0f Output Value",id:"\ufe0f-output-value",level:2}];function l(e){const t={code:"code",h1:"h1",h2:"h2",p:"p",pre:"pre",...(0,u.R)(),...e.components};return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(t.h1,{id:"-chapter-6-output",children:"\u2693 Chapter 6: Output"}),"\n",(0,s.jsx)(t.h2,{id:"\ufe0f-output-value",children:"\u26d3\ufe0f Output Value"}),"\n",(0,s.jsxs)(t.p,{children:["When we finally reach our destination, we anchor ourselves. Anchors are used to\noutput the value of a Fysh. They are represented by ",(0,s.jsx)(t.code,{children:"(+o"})," or ",(0,s.jsx)(t.code,{children:"\u2693"})]}),"\n",(0,s.jsxs)(t.p,{children:["Here we're outputting ",(0,s.jsx)(t.code,{children:"0b101"})," (5)."]}),"\n",(0,s.jsx)(t.pre,{children:(0,s.jsx)(t.code,{className:"language-fysh",children:"(+o ><{({\xb0> ~\n"})})]})}function p(e={}){const{wrapper:t}={...(0,u.R)(),...e.components};return t?(0,s.jsx)(t,{...e,children:(0,s.jsx)(l,{...e})}):l(e)}},1503:(e,t,n)=>{n.d(t,{R:()=>r,x:()=>a});var s=n(758);const u={},o=s.createContext(u);function r(e){const t=s.useContext(o);return s.useMemo((function(){return"function"==typeof e?e(t):{...t,...e}}),[t,e])}function a(e){let t;return t=e.disableParentContext?"function"==typeof e.components?e.components(u):e.components||u:r(e.components),s.createElement(o.Provider,{value:t},e.children)}}}]); \ No newline at end of file diff --git a/assets/js/e8f86626.7fef53fc.js b/assets/js/e8f86626.7fef53fc.js new file mode 100644 index 0000000..2862143 --- /dev/null +++ b/assets/js/e8f86626.7fef53fc.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunk_fysh_fyve_source=self.webpackChunk_fysh_fyve_source||[]).push([[94],{3314:(e,n,t)=>{t.r(n),t.d(n,{assets:()=>i,contentTitle:()=>l,default:()=>m,frontMatter:()=>s,metadata:()=>c,toc:()=>o});var a=t(6070),r=t(1503);const s={},l="\ud83d\udcc8 Examples",c={id:"fysh/manual/examples",title:"\ud83d\udcc8 Examples",description:"\u2757Factorial Example",source:"@site/docs/fysh/02-manual/08-examples.md",sourceDirName:"fysh/02-manual",slug:"/fysh/manual/examples",permalink:"/docs/fysh/manual/examples",draft:!1,unlisted:!1,editUrl:"https://github.com/Fysh-Fyve/fysh/tree/master/pkg/website/docs/fysh/02-manual/08-examples.md",tags:[],version:"current",sidebarPosition:8,frontMatter:{},sidebar:"docsSidebar",previous:{title:"\ud83d\udcac Chapter 7: Comments",permalink:"/docs/fysh/manual/comments"}},i={},o=[{value:"\u2757Factorial Example",id:"factorial-example",level:2}];function h(e){const n={code:"code",h1:"h1",h2:"h2",li:"li",ol:"ol",p:"p",pre:"pre",...(0,r.R)(),...e.components};return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(n.h1,{id:"-examples",children:"\ud83d\udcc8 Examples"}),"\n",(0,a.jsx)(n.h2,{id:"factorial-example",children:"\u2757Factorial Example"}),"\n",(0,a.jsx)(n.p,{children:"This program calculates the factorial of number. In this case 5. The factorial\nof 5 is 120."}),"\n",(0,a.jsx)(n.pre,{children:(0,a.jsx)(n.code,{className:"language-fysh",children:"> Factorial Example\n\n> \u2248 ><{({\xb0> ~\n> \u2248 ><(({\xb0> ~\n\n\ud83c\udf00 [> o~ ><(({\xb0>]\n><>\n > \u2248 > \u2661 > ~\n << ~\n<><\n(+o > ~\n"})}),"\n",(0,a.jsx)(n.p,{children:"Let's break it down:"}),"\n",(0,a.jsxs)(n.ol,{children:["\n",(0,a.jsxs)(n.li,{children:[(0,a.jsx)(n.code,{children:"> \u2248 ><{({\xb0> ~"})," - Declare the number to calculate the factorial of.\n(5 in this case)"]}),"\n",(0,a.jsxs)(n.li,{children:[(0,a.jsx)(n.code,{children:"> \u2248 ><(({\xb0> ~"})," - Declare the factorial variable. (1 in this case)"]}),"\n",(0,a.jsxs)(n.li,{children:[(0,a.jsx)(n.code,{children:"\ud83c\udf00 [> o~ ><(({\xb0>]"})," - While the number is greater than 1, do the\nfollowing:","\n",(0,a.jsxs)(n.ol,{children:["\n",(0,a.jsxs)(n.li,{children:[(0,a.jsx)(n.code,{children:"> \u2248 > \u2661 > ~"})," - Multiply the factorial by\nthe number."]}),"\n",(0,a.jsxs)(n.li,{children:[(0,a.jsx)(n.code,{children:"<< ~"})," - Decrement the number."]}),"\n",(0,a.jsx)(n.li,{children:"Repeat until the number is 1."}),"\n"]}),"\n"]}),"\n",(0,a.jsxs)(n.li,{children:[(0,a.jsx)(n.code,{children:"(+o > ~"})," - Output the factorial."]}),"\n"]})]})}function m(e={}){const{wrapper:n}={...(0,r.R)(),...e.components};return n?(0,a.jsx)(n,{...e,children:(0,a.jsx)(h,{...e})}):h(e)}},1503:(e,n,t)=>{t.d(n,{R:()=>l,x:()=>c});var a=t(758);const r={},s=a.createContext(r);function l(e){const n=a.useContext(s);return a.useMemo((function(){return"function"==typeof e?e(n):{...n,...e}}),[n,e])}function c(e){let n;return n=e.disableParentContext?"function"==typeof e.components?e.components(r):e.components||r:l(e.components),a.createElement(s.Provider,{value:n},e.children)}}}]); \ No newline at end of file diff --git a/assets/js/ee415a80.59b1f8f6.js b/assets/js/ee415a80.59b1f8f6.js new file mode 100644 index 0000000..4254f8a --- /dev/null +++ b/assets/js/ee415a80.59b1f8f6.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunk_fysh_fyve_source=self.webpackChunk_fysh_fyve_source||[]).push([[702],{9804:(n,e,s)=>{s.r(e),s.d(e,{assets:()=>r,contentTitle:()=>l,default:()=>h,frontMatter:()=>i,metadata:()=>c,toc:()=>d});var t=s(6070),o=s(1503);const i={},l="\ud83d\udc69\u200d\ud83d\udcbb How to Compile and Run Fysh",c={id:"fysh/installation",title:"\ud83d\udc69\u200d\ud83d\udcbb How to Compile and Run Fysh",description:"\u2699\ufe0f Option 1: Using VSCode",source:"@site/docs/fysh/01-installation.md",sourceDirName:"fysh",slug:"/fysh/installation",permalink:"/docs/fysh/installation",draft:!1,unlisted:!1,editUrl:"https://github.com/Fysh-Fyve/fysh/tree/master/pkg/website/docs/fysh/01-installation.md",tags:[],version:"current",sidebarPosition:1,frontMatter:{},sidebar:"docsSidebar",previous:{title:"Fysh",permalink:"/docs/category/fysh"},next:{title:"\ud83d\udc19 Fyshing Manual",permalink:"/docs/category/-fyshing-manual"}},r={},d=[{value:"\u2699\ufe0f Option 1: Using VSCode",id:"\ufe0f-option-1-using-vscode",level:2},{value:"\u2699\ufe0f Option 2: Using Command Line",id:"\ufe0f-option-2-using-command-line",level:2}];function a(n){const e={code:"code",h1:"h1",h2:"h2",li:"li",ol:"ol",...(0,o.R)(),...n.components};return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(e.h1,{id:"-how-to-compile-and-run-fysh",children:"\ud83d\udc69\u200d\ud83d\udcbb How to Compile and Run Fysh"}),"\n",(0,t.jsx)(e.h2,{id:"\ufe0f-option-1-using-vscode",children:"\u2699\ufe0f Option 1: Using VSCode"}),"\n",(0,t.jsxs)(e.ol,{children:["\n",(0,t.jsxs)(e.li,{children:["Download the ",(0,t.jsx)(e.code,{children:"Fysh"})," VSCode extension."]}),"\n",(0,t.jsxs)(e.li,{children:["Create a ",(0,t.jsx)(e.code,{children:".fysh"})," file."]}),"\n",(0,t.jsx)(e.li,{children:"Write your code."}),"\n",(0,t.jsx)(e.li,{children:"Press the run button."}),"\n"]}),"\n",(0,t.jsx)(e.h2,{id:"\ufe0f-option-2-using-command-line",children:"\u2699\ufe0f Option 2: Using Command Line"}),"\n",(0,t.jsxs)(e.ol,{children:["\n",(0,t.jsxs)(e.li,{children:["Install the latest version ",(0,t.jsx)(e.code,{children:"go install github.com/Fysh-Fyve/fysh/pkg/go-fysh/cmd@latest"})]}),"\n",(0,t.jsxs)(e.li,{children:["Execute with ",(0,t.jsx)(e.code,{children:"fysh .fysh"}),"."]}),"\n"]})]})}function h(n={}){const{wrapper:e}={...(0,o.R)(),...n.components};return e?(0,t.jsx)(e,{...n,children:(0,t.jsx)(a,{...n})}):a(n)}},1503:(n,e,s)=>{s.d(e,{R:()=>l,x:()=>c});var t=s(758);const o={},i=t.createContext(o);function l(n){const e=t.useContext(i);return t.useMemo((function(){return"function"==typeof n?n(e):{...e,...n}}),[e,n])}function c(n){let e;return e=n.disableParentContext?"function"==typeof n.components?n.components(o):n.components||o:l(n.components),t.createElement(i.Provider,{value:e},n.children)}}}]); \ No newline at end of file diff --git a/assets/js/main.314885ea.js b/assets/js/main.314885ea.js deleted file mode 100644 index be35232..0000000 --- a/assets/js/main.314885ea.js +++ /dev/null @@ -1,2 +0,0 @@ -/*! For license information please see main.314885ea.js.LICENSE.txt */ -(self.webpackChunk_fysh_fyve_source=self.webpackChunk_fysh_fyve_source||[]).push([[792],{725:(e,t,n)=>{var r={"./":6532};function a(e){var t=o(e);return n(t)}function o(e){if(!n.o(r,e)){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}return r[e]}a.keys=function(){return Object.keys(r)},a.resolve=o,e.exports=a,a.id=725},2186:(e,t,n)=>{"use strict";n.d(t,{o:()=>o,x:()=>i});var r=n(758),a=n(6070),o=r.createContext(!1);function i(e){var t=e.children,n=(0,r.useState)(!1),i=n[0],l=n[1];return(0,r.useEffect)((function(){l(!0)}),[]),(0,a.jsx)(o.Provider,{value:i,children:t})}},4556:(e,t,n)=>{"use strict";var r=n(758),a=n(9576),o=n(248),i=n(1742),l=n(225),s=n(3810);const u=[n(9909),n(2960),n(4422),n(4342)];var c=n(4099),d=n(5557),f=n(389),p=n(6070);function m(e){var t=e.children;return(0,p.jsx)(p.Fragment,{children:t})}var g=n(9379),h=n(4425),y=n(3722),v=n(355),b=n(1179),w=n(5104),k=n(4511),x=n(9340),S=n(3237),E=n(9463);function C(){var e=(0,h.A)().i18n,t=e.currentLocale,n=e.defaultLocale,r=e.localeConfigs,a=(0,w.o)(),o=r[t].htmlLang,i=function(e){return e.replace("-","_")};return(0,p.jsxs)(g.A,{children:[Object.entries(r).map((function(e){var t=e[0],n=e[1].htmlLang;return(0,p.jsx)("link",{rel:"alternate",href:a.createUrl({locale:t,fullyQualified:!0}),hrefLang:n},t)})),(0,p.jsx)("link",{rel:"alternate",href:a.createUrl({locale:n,fullyQualified:!0}),hrefLang:"x-default"}),(0,p.jsx)("meta",{property:"og:locale",content:i(o)}),Object.values(r).filter((function(e){return o!==e.htmlLang})).map((function(e){return(0,p.jsx)("meta",{property:"og:locale:alternate",content:i(e.htmlLang)},"meta-og-"+e.htmlLang)}))]})}function A(e){var t=e.permalink,n=(0,h.A)().siteConfig.url,r=function(){var e=(0,h.A)().siteConfig,t=e.url,n=e.baseUrl,r=e.trailingSlash,a=(0,d.zy)().pathname;return t+(0,S.applyTrailingSlash)((0,y.Ay)(a),{trailingSlash:r,baseUrl:n})}(),a=t?""+n+t:r;return(0,p.jsxs)(g.A,{children:[(0,p.jsx)("meta",{property:"og:url",content:a}),(0,p.jsx)("link",{rel:"canonical",href:a})]})}function _(){var e=(0,h.A)().i18n.currentLocale,t=(0,v.p)(),n=t.metadata,r=t.image;return(0,p.jsxs)(p.Fragment,{children:[(0,p.jsxs)(g.A,{children:[(0,p.jsx)("meta",{name:"twitter:card",content:"summary_large_image"}),(0,p.jsx)("body",{className:k.w})]}),r&&(0,p.jsx)(b.be,{image:r}),(0,p.jsx)(A,{}),(0,p.jsx)(C,{}),(0,p.jsx)(E.A,{tag:x.Cy,locale:e}),(0,p.jsx)(g.A,{children:n.map((function(e,t){return(0,p.jsx)("meta",Object.assign({},e),t)}))})]})}var T=new Map;var j=n(2186),N=n(9600),O=n(1245),L=n(5656);function R(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r\n

Your Docusaurus site did not load properly.

\n

A very common reason is a wrong site baseUrl configuration.

\n

Current configured baseUrl = '+e+" "+("/"===e?" (default value)":"")+'

\n

We suggest trying baseUrl =

\n\n'}(e)).replace(/{"use strict";n.d(t,{o:()=>d,l:()=>f});var r=n(758),a=n(225);const o=JSON.parse('{"docusaurus-plugin-content-docs":{"default":{"path":"/docs","versions":[{"name":"current","label":"Next","isLast":true,"path":"/docs","mainDocId":"fysh/installation","docs":[{"id":"fysh/installation","path":"/docs/fysh/installation","sidebar":"docsSidebar"},{"id":"fysh/manual","path":"/docs/fysh/manual","sidebar":"docsSidebar"},{"id":"/category/fysh","path":"/docs/category/fysh","sidebar":"docsSidebar"}],"draftIds":[],"sidebars":{"docsSidebar":{"link":{"path":"/docs/category/fysh","label":"Fysh"}}}}],"breadcrumbs":true}}}'),i=JSON.parse('{"defaultLocale":"en","locales":["en"],"path":"i18n","currentLocale":"en","localeConfigs":{"en":{"label":"English","direction":"ltr","htmlLang":"en","calendar":"gregory","path":"en"}}}');var l=n(3939);const s=JSON.parse('{"docusaurusVersion":"3.4.0","pluginVersions":{"docusaurus-plugin-content-docs":{"type":"package","name":"@docusaurus/plugin-content-docs","version":"3.4.0"},"docusaurus-plugin-content-pages":{"type":"package","name":"@docusaurus/plugin-content-pages","version":"3.4.0"},"docusaurus-plugin-sitemap":{"type":"package","name":"@docusaurus/plugin-sitemap","version":"3.4.0"},"docusaurus-theme-classic":{"type":"package","name":"@docusaurus/theme-classic","version":"3.4.0"}}}');var u=n(6070),c={siteConfig:a.default,siteMetadata:s,globalData:o,i18n:i,codeTranslations:l},d=r.createContext(c);function f(e){var t=e.children;return(0,u.jsx)(d.Provider,{value:c,children:t})}},7753:(e,t,n)=>{"use strict";n.d(t,{A:()=>h});var r=n(1245),a=n(758),o=n(3810),i=n(9379),l=n(3237),s=n(7235),u=n(8645),c=n(6070);function d(e){var t=e.error,n=e.tryAgain;return(0,c.jsxs)("div",{style:{display:"flex",flexDirection:"column",justifyContent:"center",alignItems:"flex-start",minHeight:"100vh",width:"100%",maxWidth:"80ch",fontSize:"20px",margin:"0 auto",padding:"1rem"},children:[(0,c.jsx)("h1",{style:{fontSize:"3rem"},children:"This page crashed"}),(0,c.jsx)("button",{type:"button",onClick:n,style:{margin:"1rem 0",fontSize:"2rem",cursor:"pointer",borderRadius:20,padding:"1rem"},children:"Try again"}),(0,c.jsx)(f,{error:t})]})}function f(e){var t=e.error,n=(0,l.getErrorCausalChain)(t).map((function(e){return e.message})).join("\n\nCause:\n");return(0,c.jsx)("p",{style:{whiteSpace:"pre-wrap"},children:n})}function p(e){var t=e.children;return(0,c.jsx)(u.W,{value:{plugin:{name:"docusaurus-core-error-boundary",id:"default"}},children:t})}function m(e){var t=e.error,n=e.tryAgain;return(0,c.jsx)(p,{children:(0,c.jsxs)(h,{fallback:function(){return(0,c.jsx)(d,{error:t,tryAgain:n})},children:[(0,c.jsx)(i.A,{children:(0,c.jsx)("title",{children:"Page Error"})}),(0,c.jsx)(s.A,{children:(0,c.jsx)(d,{error:t,tryAgain:n})})]})})}var g=function(e){return(0,c.jsx)(m,Object.assign({},e))},h=function(e){function t(t){var n;return(n=e.call(this,t)||this).state={error:null},n}(0,r.A)(t,e);var n=t.prototype;return n.componentDidCatch=function(e){o.A.canUseDOM&&this.setState({error:e})},n.render=function(){var e=this,t=this.props.children,n=this.state.error;if(n){var r,a={error:n,tryAgain:function(){return e.setState({error:null})}};return(null!=(r=this.props.fallback)?r:g)(a)}return null!=t?t:null},t}(a.Component)},3810:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});var r="undefined"!=typeof window&&"document"in window&&"createElement"in window.document;const a={canUseDOM:r,canUseEventListeners:r&&("addEventListener"in window||"attachEvent"in window),canUseIntersectionObserver:r&&"IntersectionObserver"in window,canUseViewport:r&&"screen"in window}},9379:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});n(758);var r=n(248),a=n(6070);function o(e){return(0,a.jsx)(r.mg,Object.assign({},e))}},9789:(e,t,n)=>{"use strict";n.d(t,{A:()=>g});var r=n(8957),a=n(758),o=n(1742),i=n(3237),l=n(4425),s=n(7011),u=n(3810),c=n(6914),d=n(3722),f=n(6070),p=["isNavLink","to","href","activeClassName","isActive","data-noBrokenLinkCheck","autoAddBaseUrl"];function m(e,t){var n,m,g,h=e.isNavLink,y=e.to,v=e.href,b=e.activeClassName,w=e.isActive,k=e["data-noBrokenLinkCheck"],x=e.autoAddBaseUrl,S=void 0===x||x,E=(0,r.A)(e,p),C=(0,l.A)().siteConfig,A=C.trailingSlash,_=C.baseUrl,T=C.future.experimental_router,j=(0,d.hH)().withBaseUrl,N=(0,c.A)(),O=(0,a.useRef)(null);(0,a.useImperativeHandle)(t,(function(){return O.current}));var L=y||v;var R,P,D=(0,s.A)(L),I=null==L?void 0:L.replace("pathname://",""),F=void 0!==I?(R=I,S&&function(e){return e.startsWith("/")}(R)?j(R):R):void 0;"hash"===T&&null!=(n=F)&&n.startsWith("./")&&(F=null==(P=F)?void 0:P.slice(1));F&&D&&(F=(0,i.applyTrailingSlash)(F,{trailingSlash:A,baseUrl:_}));var M=(0,a.useRef)(!1),z=h?o.k2:o.N_,B=u.A.canUseIntersectionObserver,U=(0,a.useRef)(),$=function(){M.current||null==F||(window.docusaurus.preload(F),M.current=!0)};(0,a.useEffect)((function(){return!B&&D&&null!=F&&window.docusaurus.prefetch(F),function(){B&&U.current&&U.current.disconnect()}}),[U,F,B,D]);var q=null!=(m=null==(g=F)?void 0:g.startsWith("#"))&&m,H=!E.target||"_self"===E.target,G=!F||!D||!H;return k||!q&&G||N.collectLink(F),E.id&&N.collectAnchor(E.id),G?(0,f.jsx)("a",Object.assign({ref:O,href:F},L&&!D&&{target:"_blank",rel:"noopener noreferrer"},E)):(0,f.jsx)(z,Object.assign({},E,{onMouseEnter:$,onTouchStart:$,innerRef:function(e){O.current=e,B&&e&&D&&(U.current=new window.IntersectionObserver((function(t){t.forEach((function(t){e===t.target&&(t.isIntersecting||t.intersectionRatio>0)&&(U.current.unobserve(e),U.current.disconnect(),null!=F&&window.docusaurus.prefetch(F))}))})),U.current.observe(e))},to:F},h&&{isActive:w,activeClassName:b}))}const g=a.forwardRef(m)},1537:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});const r=function(){return null}},2369:(e,t,n)=>{"use strict";n.d(t,{A:()=>u,T:()=>s});var r=n(758),a=n(6070);function o(e,t){var n=e.split(/(\{\w+\})/).map((function(e,n){if(n%2==1){var r=null==t?void 0:t[e.slice(1,-1)];if(void 0!==r)return r}return e}));return n.some((function(e){return(0,r.isValidElement)(e)}))?n.map((function(e,t){return(0,r.isValidElement)(e)?r.cloneElement(e,{key:t}):e})).filter((function(e){return""!==e})):n.join("")}var i=n(3939);function l(e){var t,n,r=e.id,a=e.message;if(void 0===r&&void 0===a)throw new Error("Docusaurus translation declarations must have at least a translation id or a default translation message");return null!=(t=null!=(n=i[null!=r?r:a])?n:a)?t:r}function s(e,t){return o(l({message:e.message,id:e.id}),t)}function u(e){var t=e.children,n=e.id,r=e.values;if(t&&"string"!=typeof t)throw console.warn("Illegal children",t),new Error("The Docusaurus component only accept simple string values");var i=l({message:t,id:n});return(0,a.jsx)(a.Fragment,{children:o(i,r)})}},3400:(e,t,n)=>{"use strict";n.d(t,{W:()=>r});var r="default"},7011:(e,t,n)=>{"use strict";function r(e){return/^(?:\w*:|\/\/)/.test(e)}function a(e){return void 0!==e&&!r(e)}n.d(t,{A:()=>a,z:()=>r})},3722:(e,t,n)=>{"use strict";n.d(t,{Ay:()=>l,hH:()=>i});var r=n(758),a=n(4425),o=n(7011);function i(){var e=(0,a.A)().siteConfig,t=e.baseUrl,n=e.url,i=e.future.experimental_router,l=(0,r.useCallback)((function(e,r){return function(e){var t=e.siteUrl,n=e.baseUrl,r=e.url,a=e.options,i=void 0===a?{}:a,l=i.forcePrependBaseUrl,s=void 0!==l&&l,u=i.absolute,c=void 0!==u&&u,d=e.router;if(!r||r.startsWith("#")||(0,o.z)(r))return r;if("hash"===d)return r.startsWith("/")?"."+r:"./"+r;if(s)return n+r.replace(/^\//,"");if(r===n.replace(/\/$/,""))return n;var f=r.startsWith(n)?r:n+r.replace(/^\//,"");return c?t+f:f}({siteUrl:n,baseUrl:t,url:e,options:r,router:i})}),[n,t,i]);return{withBaseUrl:l}}function l(e,t){return void 0===t&&(t={}),(0,i().withBaseUrl)(e,t)}},6914:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var r=n(758),a=(n(6070),r.createContext({collectAnchor:function(){},collectLink:function(){}})),o=function(){return(0,r.useContext)(a)};function i(){return o()}},4425:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=n(758),a=n(9600);function o(){return(0,r.useContext)(a.o)}},9572:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=n(758),a=n(2186);function o(){return(0,r.useContext)(a.o)}},5656:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});var r=n(758);const a=n(3810).A.canUseDOM?r.useLayoutEffect:r.useEffect},7166:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});var r=function(e){return"object"==typeof e&&!!e&&Object.keys(e).length>0};function a(e){var t={};return function e(n,a){Object.entries(n).forEach((function(n){var o=n[0],i=n[1],l=a?a+"."+o:o;r(i)?e(i,l):t[l]=i}))}(e),t}},8645:(e,t,n)=>{"use strict";n.d(t,{W:()=>i,o:()=>o});var r=n(758),a=n(6070),o=r.createContext(null);function i(e){var t=e.children,n=e.value,i=r.useContext(o),l=(0,r.useMemo)((function(){return function(e){var t=e.parent,n=e.value;if(!t){if(!n)throw new Error("Unexpected: no Docusaurus route context found");if(!("plugin"in n))throw new Error("Unexpected: Docusaurus topmost route context has no `plugin` attribute");return n}var r=Object.assign({},t.data,null==n?void 0:n.data);return{plugin:t.plugin,data:r}}({parent:i,value:n})}),[i,n]);return(0,a.jsx)(o.Provider,{value:l,children:t})}},6873:(e,t,n)=>{"use strict";n.d(t,{zK:()=>g,vT:()=>f,Gy:()=>c,HW:()=>h,ht:()=>d,r7:()=>m,jh:()=>p});var r=n(5557),a=n(4425),o=n(3400);function i(e,t){void 0===t&&(t={});var n=(0,a.A)().globalData[e];if(!n&&t.failfast)throw new Error('Docusaurus plugin global data not found for "'+e+'" plugin.');return n}var l=function(e){return e.versions.find((function(e){return e.isLast}))};function s(e,t){var n,a,o=function(e,t){var n=l(e);return[].concat(e.versions.filter((function(e){return e!==n})),[n]).find((function(e){return!!(0,r.B6)(t,{path:e.path,exact:!1,strict:!1})}))}(e,t),i=null==o?void 0:o.docs.find((function(e){return!!(0,r.B6)(t,{path:e.path,exact:!0,strict:!1})}));return{activeVersion:o,activeDoc:i,alternateDocVersions:i?(n=i.id,a={},e.versions.forEach((function(e){e.docs.forEach((function(t){t.id===n&&(a[e.name]=t)}))})),a):{}}}var u={},c=function(){var e;return null!=(e=i("docusaurus-plugin-content-docs"))?e:u},d=function(e){try{return function(e,t,n){void 0===t&&(t=o.W),void 0===n&&(n={});var r=i(e),a=null==r?void 0:r[t];if(!a&&n.failfast)throw new Error('Docusaurus plugin global data not found for "'+e+'" plugin with id "'+t+'".');return a}("docusaurus-plugin-content-docs",e,{failfast:!0})}catch(t){throw new Error("You are using a feature of the Docusaurus docs plugin, but this plugin does not seem to be enabled"+("Default"===e?"":" (pluginId="+e),{cause:t})}};function f(e){return void 0===e&&(e={}),function(e,t,n){void 0===n&&(n={});var a=Object.entries(e).sort((function(e,t){return t[1].path.localeCompare(e[1].path)})).find((function(e){var n=e[1];return!!(0,r.B6)(t,{path:n.path,exact:!1,strict:!1})})),o=a?{pluginId:a[0],pluginData:a[1]}:void 0;if(!o&&n.failfast)throw new Error("Can't find active docs plugin for \""+t+'" pathname, while it was expected to be found. Maybe you tried to use a docs feature that can only be used on a docs-related page? Existing docs plugin paths are: '+Object.values(e).map((function(e){return e.path})).join(", "));return o}(c(),(0,r.zy)().pathname,e)}function p(e){return d(e).versions}function m(e){var t=d(e);return l(t)}function g(e){return s(d(e),(0,r.zy)().pathname)}function h(e){return function(e,t){var n=l(e);return{latestDocSuggestion:s(e,t).alternateDocVersions[n.name],latestVersionSuggestion:n}}(d(e),(0,r.zy)().pathname)}},4355:(e,t,n)=>{"use strict";function r(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}function a(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function o(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function i(){return i=Object.assign||function(e){for(var t=1;t{"use strict";n.r(t),n.d(t,{default:()=>o});var r=n(8744),a=n.n(r);a().configure({showSpinner:!1});const o={onRouteUpdate:function(e){var t=e.location,n=e.previousLocation;if(n&&t.pathname!==n.pathname){var r=window.setTimeout((function(){a().start()}),200);return function(){return window.clearTimeout(r)}}},onRouteDidUpdate:function(){a().done()}}},2960:(e,t,n)=>{"use strict";var r,a,o=n(5371),i=n(225);r=o.My,a=i.default.themeConfig.prism.additionalLanguages,globalThis.Prism=r,a.forEach((function(e){"php"===e&&n(1274),n(725)("./prism-"+e)})),delete globalThis.Prism},7945:(e,t,n)=>{"use strict";n.d(t,{A:()=>f});var r=n(8957),a=(n(758),n(3526)),o=n(2369),i=n(355),l=n(9789),s=n(6914);const u={anchorWithStickyNavbar:"anchorWithStickyNavbar_W2hc",anchorWithHideOnScrollNavbar:"anchorWithHideOnScrollNavbar_XUwu"};var c=n(6070),d=["as","id"];function f(e){var t=e.as,n=e.id,f=(0,r.A)(e,d),p=(0,s.A)(),m=(0,i.p)().navbar.hideOnScroll;if("h1"===t||!n)return(0,c.jsx)(t,Object.assign({},f,{id:void 0}));p.collectAnchor(n);var g=(0,o.T)({id:"theme.common.headingLinkTitle",message:"Direct link to {heading}",description:"Title for link to heading"},{heading:"string"==typeof f.children?f.children:n});return(0,c.jsxs)(t,Object.assign({},f,{className:(0,a.A)("anchor",m?u.anchorWithHideOnScrollNavbar:u.anchorWithStickyNavbar,f.className),id:n,children:[f.children,(0,c.jsx)(l.A,{className:"hash-link",to:"#"+n,"aria-label":g,title:g,children:"\u200b"})]}))}},8269:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});n(758);const r={iconExternalLink:"iconExternalLink_xChG"};var a=n(6070);function o(e){var t=e.width,n=void 0===t?13.5:t,o=e.height,i=void 0===o?13.5:o;return(0,a.jsx)("svg",{width:n,height:i,"aria-hidden":"true",viewBox:"0 0 24 24",className:r.iconExternalLink,children:(0,a.jsx)("path",{fill:"currentColor",d:"M21 13v10h-21v-19h12v2h-10v15h17v-8h2zm3-12h-10.988l4.035 4-6.977 7.07 2.828 2.828 6.977-7.07 4.125 4.172v-11z"})})}},7235:(e,t,n)=>{"use strict";n.d(t,{A:()=>Lt});var r=n(758),a=n(3526),o=n(7753),i=n(1179),l=n(5557),s=n(2369),u=n(1373),c=n(6070),d="__docusaurus_skipToContent_fallback";function f(e){e.setAttribute("tabindex","-1"),e.focus(),e.removeAttribute("tabindex")}function p(){var e=(0,r.useRef)(null),t=(0,l.W6)().action,n=(0,r.useCallback)((function(e){e.preventDefault();var t,n=null!=(t=document.querySelector("main:first-of-type"))?t:document.getElementById(d);n&&f(n)}),[]);return(0,u.$)((function(n){var r=n.location;e.current&&!r.hash&&"PUSH"===t&&f(e.current)})),{containerRef:e,onClick:n}}var m=(0,s.T)({id:"theme.common.skipToMainContent",description:"The skip to content label used for accessibility, allowing to rapidly navigate to main content with keyboard tab/enter navigation",message:"Skip to main content"});function g(e){var t,n=null!=(t=e.children)?t:m,r=p(),a=r.containerRef,o=r.onClick;return(0,c.jsx)("div",{ref:a,role:"region","aria-label":m,children:(0,c.jsx)("a",Object.assign({},e,{href:"#"+d,onClick:o,children:n}))})}var h=n(9508),y=n(4511);const v={skipToContent:"skipToContent_eb3Y"};function b(){return(0,c.jsx)(g,{className:v.skipToContent})}var w=n(355),k=n(2460),x=n(8957),S=["width","height","color","strokeWidth","className"];function E(e){var t=e.width,n=void 0===t?21:t,r=e.height,a=void 0===r?21:r,o=e.color,i=void 0===o?"currentColor":o,l=e.strokeWidth,s=void 0===l?1.2:l,u=(e.className,(0,x.A)(e,S));return(0,c.jsx)("svg",Object.assign({viewBox:"0 0 15 15",width:n,height:a},u,{children:(0,c.jsx)("g",{stroke:i,strokeWidth:s,children:(0,c.jsx)("path",{d:"M.75.75l13.5 13.5M14.25.75L.75 14.25"})})}))}const C={closeButton:"closeButton_HP17"};function A(e){return(0,c.jsx)("button",Object.assign({type:"button","aria-label":(0,s.T)({id:"theme.AnnouncementBar.closeButtonAriaLabel",message:"Close",description:"The ARIA label for close button of announcement bar"})},e,{className:(0,a.A)("clean-btn close",C.closeButton,e.className),children:(0,c.jsx)(E,{width:14,height:14,strokeWidth:3.1})}))}const _={content:"content_Lw_b"};function T(e){var t=(0,w.p)().announcementBar.content;return(0,c.jsx)("div",Object.assign({},e,{className:(0,a.A)(_.content,e.className),dangerouslySetInnerHTML:{__html:t}}))}const j={announcementBar:"announcementBar_bqVo",announcementBarPlaceholder:"announcementBarPlaceholder_NNHG",announcementBarClose:"announcementBarClose_xttr",announcementBarContent:"announcementBarContent_n1jh"};function N(){var e=(0,w.p)().announcementBar,t=(0,k.M)(),n=t.isActive,r=t.close;if(!n)return null;var a=e.backgroundColor,o=e.textColor,i=e.isCloseable;return(0,c.jsxs)("div",{className:j.announcementBar,style:{backgroundColor:a,color:o},role:"banner",children:[i&&(0,c.jsx)("div",{className:j.announcementBarPlaceholder}),(0,c.jsx)(T,{className:j.announcementBarContent}),i&&(0,c.jsx)(A,{onClick:r,className:j.announcementBarClose})]})}var O=n(6939),L=n(4579);var R=n(7091),P=n(5377),D=r.createContext(null);function I(e){var t,n,a,o,i,l,s,u=e.children,d=(t=(0,O.M)(),n=(0,P.YL)(),a=(0,r.useState)(!1),o=a[0],i=a[1],l=null!==n.component,s=(0,R.ZC)(l),(0,r.useEffect)((function(){l&&!s&&i(!0)}),[l,s]),(0,r.useEffect)((function(){l?t.shown||i(!0):i(!1)}),[t.shown,l]),(0,r.useMemo)((function(){return[o,i]}),[o]));return(0,c.jsx)(D.Provider,{value:d,children:u})}function F(e){if(e.component){var t=e.component;return(0,c.jsx)(t,Object.assign({},e.props))}}function M(){var e=(0,r.useContext)(D);if(!e)throw new R.dV("NavbarSecondaryMenuDisplayProvider");var t=e[0],n=e[1],a=(0,r.useCallback)((function(){return n(!1)}),[n]),o=(0,P.YL)();return(0,r.useMemo)((function(){return{shown:t,hide:a,content:F(o)}}),[a,o,t])}function z(e){var t=e.header,n=e.primaryMenu,r=e.secondaryMenu,o=M().shown;return(0,c.jsxs)("div",{className:"navbar-sidebar",children:[t,(0,c.jsxs)("div",{className:(0,a.A)("navbar-sidebar__items",{"navbar-sidebar__items--show-secondary":o}),children:[(0,c.jsx)("div",{className:"navbar-sidebar__item menu",children:n}),(0,c.jsx)("div",{className:"navbar-sidebar__item menu",children:r})]})]})}var B=n(3548),U=n(9572);function $(e){return(0,c.jsx)("svg",Object.assign({viewBox:"0 0 24 24",width:24,height:24},e,{children:(0,c.jsx)("path",{fill:"currentColor",d:"M12,9c1.65,0,3,1.35,3,3s-1.35,3-3,3s-3-1.35-3-3S10.35,9,12,9 M12,7c-2.76,0-5,2.24-5,5s2.24,5,5,5s5-2.24,5-5 S14.76,7,12,7L12,7z M2,13l2,0c0.55,0,1-0.45,1-1s-0.45-1-1-1l-2,0c-0.55,0-1,0.45-1,1S1.45,13,2,13z M20,13l2,0c0.55,0,1-0.45,1-1 s-0.45-1-1-1l-2,0c-0.55,0-1,0.45-1,1S19.45,13,20,13z M11,2v2c0,0.55,0.45,1,1,1s1-0.45,1-1V2c0-0.55-0.45-1-1-1S11,1.45,11,2z M11,20v2c0,0.55,0.45,1,1,1s1-0.45,1-1v-2c0-0.55-0.45-1-1-1C11.45,19,11,19.45,11,20z M5.99,4.58c-0.39-0.39-1.03-0.39-1.41,0 c-0.39,0.39-0.39,1.03,0,1.41l1.06,1.06c0.39,0.39,1.03,0.39,1.41,0s0.39-1.03,0-1.41L5.99,4.58z M18.36,16.95 c-0.39-0.39-1.03-0.39-1.41,0c-0.39,0.39-0.39,1.03,0,1.41l1.06,1.06c0.39,0.39,1.03,0.39,1.41,0c0.39-0.39,0.39-1.03,0-1.41 L18.36,16.95z M19.42,5.99c0.39-0.39,0.39-1.03,0-1.41c-0.39-0.39-1.03-0.39-1.41,0l-1.06,1.06c-0.39,0.39-0.39,1.03,0,1.41 s1.03,0.39,1.41,0L19.42,5.99z M7.05,18.36c0.39-0.39,0.39-1.03,0-1.41c-0.39-0.39-1.03-0.39-1.41,0l-1.06,1.06 c-0.39,0.39-0.39,1.03,0,1.41s1.03,0.39,1.41,0L7.05,18.36z"})}))}function q(e){return(0,c.jsx)("svg",Object.assign({viewBox:"0 0 24 24",width:24,height:24},e,{children:(0,c.jsx)("path",{fill:"currentColor",d:"M9.37,5.51C9.19,6.15,9.1,6.82,9.1,7.5c0,4.08,3.32,7.4,7.4,7.4c0.68,0,1.35-0.09,1.99-0.27C17.45,17.19,14.93,19,12,19 c-3.86,0-7-3.14-7-7C5,9.07,6.81,6.55,9.37,5.51z M12,3c-4.97,0-9,4.03-9,9s4.03,9,9,9s9-4.03,9-9c0-0.46-0.04-0.92-0.1-1.36 c-0.98,1.37-2.58,2.26-4.4,2.26c-2.98,0-5.4-2.42-5.4-5.4c0-1.81,0.89-3.42,2.26-4.4C12.92,3.04,12.46,3,12,3L12,3z"})}))}const H={toggle:"toggle_kd3t",toggleButton:"toggleButton_wJrE",darkToggleIcon:"darkToggleIcon_KNp2",lightToggleIcon:"lightToggleIcon_BR0d",toggleButtonDisabled:"toggleButtonDisabled_l7ec"};function G(e){var t=e.className,n=e.buttonClassName,r=e.value,o=e.onChange,i=(0,U.A)(),l=(0,s.T)({message:"Switch between dark and light mode (currently {mode})",id:"theme.colorToggle.ariaLabel",description:"The ARIA label for the navbar color mode toggle"},{mode:"dark"===r?(0,s.T)({message:"dark mode",id:"theme.colorToggle.ariaLabel.mode.dark",description:"The name for the dark color mode"}):(0,s.T)({message:"light mode",id:"theme.colorToggle.ariaLabel.mode.light",description:"The name for the light color mode"})});return(0,c.jsx)("div",{className:(0,a.A)(H.toggle,t),children:(0,c.jsxs)("button",{className:(0,a.A)("clean-btn",H.toggleButton,!i&&H.toggleButtonDisabled,n),type:"button",onClick:function(){return o("dark"===r?"light":"dark")},disabled:!i,title:l,"aria-label":l,"aria-live":"polite",children:[(0,c.jsx)($,{className:(0,a.A)(H.toggleIcon,H.lightToggleIcon)}),(0,c.jsx)(q,{className:(0,a.A)(H.toggleIcon,H.darkToggleIcon)})]})})}const W=r.memo(G),V={darkNavbarColorModeToggle:"darkNavbarColorModeToggle_uB9a"};function Q(e){var t=e.className,n=(0,w.p)().navbar.style,r=(0,w.p)().colorMode.disableSwitch,a=(0,B.G)(),o=a.colorMode,i=a.setColorMode;return r?null:(0,c.jsx)(W,{className:t,buttonClassName:"dark"===n?V.darkNavbarColorModeToggle:void 0,value:o,onChange:i})}var K=n(6665);function Y(){return(0,c.jsx)(K.A,{className:"navbar__brand",imageClassName:"navbar__logo",titleClassName:"navbar__title text--truncate"})}function Z(){var e=(0,O.M)();return(0,c.jsx)("button",{type:"button","aria-label":(0,s.T)({id:"theme.docs.sidebar.closeSidebarButtonAriaLabel",message:"Close navigation bar",description:"The ARIA label for close button of mobile sidebar"}),className:"clean-btn navbar-sidebar__close",onClick:function(){return e.toggle()},children:(0,c.jsx)(E,{color:"var(--ifm-color-emphasis-600)"})})}function X(){return(0,c.jsxs)("div",{className:"navbar-sidebar__brand",children:[(0,c.jsx)(Y,{}),(0,c.jsx)(Q,{className:"margin-right--md"}),(0,c.jsx)(Z,{})]})}var J=n(9789),ee=n(3722),te=n(7011);function ne(e,t){return void 0!==e&&void 0!==t&&new RegExp(e,"gi").test(t)}var re=n(8269),ae=["activeBasePath","activeBaseRegex","to","href","label","html","isDropdownLink","prependBaseUrlToHref"];function oe(e){var t=e.activeBasePath,n=e.activeBaseRegex,r=e.to,a=e.href,o=e.label,i=e.html,l=e.isDropdownLink,s=e.prependBaseUrlToHref,u=(0,x.A)(e,ae),d=(0,ee.Ay)(r),f=(0,ee.Ay)(t),p=(0,ee.Ay)(a,{forcePrependBaseUrl:!0}),m=o&&a&&!(0,te.A)(a),g=i?{dangerouslySetInnerHTML:{__html:i}}:{children:(0,c.jsxs)(c.Fragment,{children:[o,m&&(0,c.jsx)(re.A,Object.assign({},l&&{width:12,height:12}))]})};return a?(0,c.jsx)(J.A,Object.assign({href:s?p:a},u,g)):(0,c.jsx)(J.A,Object.assign({to:d,isNavLink:!0},(t||n)&&{isActive:function(e,t){return n?ne(n,t.pathname):t.pathname.startsWith(f)}},u,g))}var ie=["className","isDropdownItem"],le=["className","isDropdownItem"],se=["mobile","position"];function ue(e){var t=e.className,n=e.isDropdownItem,r=void 0!==n&&n,o=(0,x.A)(e,ie),i=(0,c.jsx)(oe,Object.assign({className:(0,a.A)(r?"dropdown__link":"navbar__item navbar__link",t),isDropdownLink:r},o));return r?(0,c.jsx)("li",{children:i}):i}function ce(e){var t=e.className,n=(e.isDropdownItem,(0,x.A)(e,le));return(0,c.jsx)("li",{className:"menu__list-item",children:(0,c.jsx)(oe,Object.assign({className:(0,a.A)("menu__link",t)},n))})}function de(e){var t,n=e.mobile,r=void 0!==n&&n,a=(e.position,(0,x.A)(e,se)),o=r?ce:ue;return(0,c.jsx)(o,Object.assign({},a,{activeClassName:null!=(t=a.activeClassName)?t:r?"menu__link--active":"navbar__link--active"}))}var fe=n(5319),pe=n(7902),me=n(4425);const ge="dropdownNavbarItemMobile_BO3Z";var he=["items","position","className","onClick"],ye=["items","className","position","onClick"],ve=["mobile"];function be(e,t){return e.some((function(e){return function(e,t){return!!(0,pe.ys)(e.to,t)||!!ne(e.activeBaseRegex,t)||!(!e.activeBasePath||!t.startsWith(e.activeBasePath))}(e,t)}))}function we(e){var t,n=e.items,o=e.position,i=e.className,l=(e.onClick,(0,x.A)(e,he)),s=(0,r.useRef)(null),u=(0,r.useState)(!1),d=u[0],f=u[1];return(0,r.useEffect)((function(){var e=function(e){s.current&&!s.current.contains(e.target)&&f(!1)};return document.addEventListener("mousedown",e),document.addEventListener("touchstart",e),document.addEventListener("focusin",e),function(){document.removeEventListener("mousedown",e),document.removeEventListener("touchstart",e),document.removeEventListener("focusin",e)}}),[s]),(0,c.jsxs)("div",{ref:s,className:(0,a.A)("navbar__item","dropdown","dropdown--hoverable",{"dropdown--right":"right"===o,"dropdown--show":d}),children:[(0,c.jsx)(oe,Object.assign({"aria-haspopup":"true","aria-expanded":d,role:"button",href:l.to?void 0:"#",className:(0,a.A)("navbar__link",i)},l,{onClick:l.to?void 0:function(e){return e.preventDefault()},onKeyDown:function(e){"Enter"===e.key&&(e.preventDefault(),f(!d))},children:null!=(t=l.children)?t:l.label})),(0,c.jsx)("ul",{className:"dropdown__menu",children:n.map((function(e,t){return(0,r.createElement)(Ue,Object.assign({isDropdownItem:!0,activeClassName:"dropdown__link--active"},e,{key:t}))}))})]})}function ke(e){var t,n,o=e.items,i=e.className,s=(e.position,e.onClick),u=(0,x.A)(e,ye),d=(n=(0,me.A)().siteConfig.baseUrl,(0,l.zy)().pathname.replace(n,"/")),f=be(o,d),p=(0,fe.u)({initialState:function(){return!f}}),m=p.collapsed,g=p.toggleCollapsed,h=p.setCollapsed;return(0,r.useEffect)((function(){f&&h(!f)}),[d,f,h]),(0,c.jsxs)("li",{className:(0,a.A)("menu__list-item",{"menu__list-item--collapsed":m}),children:[(0,c.jsx)(oe,Object.assign({role:"button",className:(0,a.A)(ge,"menu__link menu__link--sublist menu__link--sublist-caret",i)},u,{onClick:function(e){e.preventDefault(),g()},children:null!=(t=u.children)?t:u.label})),(0,c.jsx)(fe.N,{lazy:!0,as:"ul",className:"menu__list",collapsed:m,children:o.map((function(e,t){return(0,r.createElement)(Ue,Object.assign({mobile:!0,isDropdownItem:!0,onClick:s,activeClassName:"menu__link--active"},e,{key:t}))}))})]})}function xe(e){var t=e.mobile,n=void 0!==t&&t,r=(0,x.A)(e,ve),a=n?ke:we;return(0,c.jsx)(a,Object.assign({},r))}var Se=n(5104),Ee=["width","height"];function Ce(e){var t=e.width,n=void 0===t?20:t,r=e.height,a=void 0===r?20:r,o=(0,x.A)(e,Ee);return(0,c.jsx)("svg",Object.assign({viewBox:"0 0 24 24",width:n,height:a,"aria-hidden":!0},o,{children:(0,c.jsx)("path",{fill:"currentColor",d:"M12.87 15.07l-2.54-2.51.03-.03c1.74-1.94 2.98-4.17 3.71-6.53H17V4h-7V2H8v2H1v1.99h11.17C11.5 7.92 10.44 9.75 9 11.35 8.07 10.32 7.3 9.19 6.69 8h-2c.73 1.63 1.73 3.17 2.98 4.56l-5.09 5.02L4 19l5-5 3.11 3.11.76-2.04zM18.5 10h-2L12 22h2l1.12-3h4.75L21 22h2l-4.5-12zm-2.62 7l1.62-4.33L19.12 17h-3.24z"})}))}const Ae="iconLanguage_zI8u";var _e=["mobile","dropdownItemsBefore","dropdownItemsAfter","queryString"];var Te=n(1537);const je={navbarSearchContainer:"navbarSearchContainer_g9uX"};function Ne(e){var t=e.children,n=e.className;return(0,c.jsx)("div",{className:(0,a.A)(n,je.navbarSearchContainer),children:t})}var Oe=n(6873),Le=n(161),Re=["docId","label","docsPluginId"];var Pe=["sidebarId","label","docsPluginId"];var De=["label","to","docsPluginId"];var Ie=n(770),Fe=["mobile","docsPluginId","dropdownActiveClassDisabled","dropdownItemsBefore","dropdownItemsAfter"],Me=function(e){return e.docs.find((function(t){return t.id===e.mainDocId}))};const ze={default:de,localeDropdown:function(e){var t=e.mobile,n=e.dropdownItemsBefore,r=e.dropdownItemsAfter,a=e.queryString,o=void 0===a?"":a,i=(0,x.A)(e,_e),u=(0,me.A)().i18n,d=u.currentLocale,f=u.locales,p=u.localeConfigs,m=(0,Se.o)(),g=(0,l.zy)(),h=g.search,y=g.hash,v=f.map((function(e){var n=""+("pathname://"+m.createUrl({locale:e,fullyQualified:!1}))+h+y+o;return{label:p[e].label,lang:p[e].htmlLang,to:n,target:"_self",autoAddBaseUrl:!1,className:e===d?t?"menu__link--active":"dropdown__link--active":""}})),b=[].concat(n,v,r),w=t?(0,s.T)({message:"Languages",id:"theme.navbar.mobileLanguageDropdown.label",description:"The label for the mobile language switcher dropdown"}):p[d].label;return(0,c.jsx)(xe,Object.assign({},i,{mobile:t,label:(0,c.jsxs)(c.Fragment,{children:[(0,c.jsx)(Ce,{className:Ae}),w]}),items:b}))},search:function(e){var t=e.mobile,n=e.className;return t?null:(0,c.jsx)(Ne,{className:n,children:(0,c.jsx)(Te.A,{})})},dropdown:xe,html:function(e){var t=e.value,n=e.className,r=e.mobile,o=void 0!==r&&r,i=e.isDropdownItem,l=void 0!==i&&i,s=l?"li":"div";return(0,c.jsx)(s,{className:(0,a.A)({navbar__item:!o&&!l,"menu__list-item":o},n),dangerouslySetInnerHTML:{__html:t}})},doc:function(e){var t=e.docId,n=e.label,r=e.docsPluginId,a=(0,x.A)(e,Re),o=(0,Oe.zK)(r).activeDoc,i=(0,Le.QB)(t,r),l=(null==o?void 0:o.path)===(null==i?void 0:i.path);return null===i||i.unlisted&&!l?null:(0,c.jsx)(de,Object.assign({exact:!0},a,{isActive:function(){return l||!(null==o||!o.sidebar)&&o.sidebar===i.sidebar},label:null!=n?n:i.id,to:i.path}))},docSidebar:function(e){var t=e.sidebarId,n=e.label,r=e.docsPluginId,a=(0,x.A)(e,Pe),o=(0,Oe.zK)(r).activeDoc,i=(0,Le.fW)(t,r).link;if(!i)throw new Error('DocSidebarNavbarItem: Sidebar with ID "'+t+"\" doesn't have anything to be linked to.");return(0,c.jsx)(de,Object.assign({exact:!0},a,{isActive:function(){return(null==o?void 0:o.sidebar)===t},label:null!=n?n:i.label,to:i.path}))},docsVersion:function(e){var t=e.label,n=e.to,r=e.docsPluginId,a=(0,x.A)(e,De),o=(0,Le.Vd)(r)[0],i=null!=t?t:o.label,l=null!=n?n:function(e){return e.docs.find((function(t){return t.id===e.mainDocId}))}(o).path;return(0,c.jsx)(de,Object.assign({},a,{label:i,to:l}))},docsVersionDropdown:function(e){var t=e.mobile,n=e.docsPluginId,r=e.dropdownActiveClassDisabled,a=e.dropdownItemsBefore,o=e.dropdownItemsAfter,i=(0,x.A)(e,Fe),u=(0,l.zy)(),d=u.search,f=u.hash,p=(0,Oe.zK)(n),m=(0,Oe.jh)(n),g=(0,Ie.g1)(n).savePreferredVersionName,h=m.map((function(e){var t,n=null!=(t=p.alternateDocVersions[e.name])?t:Me(e);return{label:e.label,to:""+n.path+d+f,isActive:function(){return e===p.activeVersion},onClick:function(){return g(e.name)}}})),y=[].concat(a,h,o),v=(0,Le.Vd)(n)[0],b=t&&y.length>1?(0,s.T)({id:"theme.navbar.mobileVersionsDropdown.label",message:"Versions",description:"The label for the navbar versions dropdown on mobile view"}):v.label,w=t&&y.length>1?void 0:Me(v).path;return y.length<=1?(0,c.jsx)(de,Object.assign({},i,{mobile:t,label:b,to:w,isActive:r?function(){return!1}:void 0})):(0,c.jsx)(xe,Object.assign({},i,{mobile:t,label:b,to:w,items:y,isActive:r?function(){return!1}:void 0}))}};var Be=["type"];function Ue(e){var t=e.type,n=(0,x.A)(e,Be),r=function(e,t){return e&&"default"!==e?e:"items"in t?"dropdown":"default"}(t,n),a=ze[r];if(!a)throw new Error('No NavbarItem component found for type "'+t+'".');return(0,c.jsx)(a,Object.assign({},n))}function $e(){var e=(0,O.M)(),t=(0,w.p)().navbar.items;return(0,c.jsx)("ul",{className:"menu__list",children:t.map((function(t,n){return(0,r.createElement)(Ue,Object.assign({mobile:!0},t,{onClick:function(){return e.toggle()},key:n}))}))})}function qe(e){return(0,c.jsx)("button",Object.assign({},e,{type:"button",className:"clean-btn navbar-sidebar__back",children:(0,c.jsx)(s.A,{id:"theme.navbar.mobileSidebarSecondaryMenu.backButtonLabel",description:"The label of the back button to return to main menu, inside the mobile navbar sidebar secondary menu (notably used to display the docs sidebar)",children:"\u2190 Back to main menu"})}))}function He(){var e=0===(0,w.p)().navbar.items.length,t=M();return(0,c.jsxs)(c.Fragment,{children:[!e&&(0,c.jsx)(qe,{onClick:function(){return t.hide()}}),t.content]})}function Ge(){var e,t=(0,O.M)();return void 0===(e=t.shown)&&(e=!0),(0,r.useEffect)((function(){return document.body.style.overflow=e?"hidden":"visible",function(){document.body.style.overflow="visible"}}),[e]),t.shouldRender?(0,c.jsx)(z,{header:(0,c.jsx)(X,{}),primaryMenu:(0,c.jsx)($e,{}),secondaryMenu:(0,c.jsx)(He,{})}):null}const We={navbarHideable:"navbarHideable_h9Dl",navbarHidden:"navbarHidden_YzaQ"};function Ve(e){return(0,c.jsx)("div",Object.assign({role:"presentation"},e,{className:(0,a.A)("navbar-sidebar__backdrop",e.className)}))}function Qe(e){var t=e.children,n=(0,w.p)().navbar,o=n.hideOnScroll,i=n.style,l=(0,O.M)(),d=function(e){var t=(0,r.useState)(e),n=t[0],a=t[1],o=(0,r.useRef)(!1),i=(0,r.useRef)(0),l=(0,r.useCallback)((function(e){null!==e&&(i.current=e.getBoundingClientRect().height)}),[]);return(0,L.Mq)((function(t,n){var r=t.scrollY;if(e)if(r=l?a(!1):r+u0&&(0,c.jsx)(vt,{links:n}),logo:r&&(0,c.jsx)(xt,{logo:r}),copyright:t&&(0,c.jsx)(St,{copyright:t})})}const At=r.memo(Ct);var _t=(0,R.fM)([B.a,k.o,L.Tv,Ie.VQ,i.Jx,function(e){var t=e.children;return(0,c.jsx)(P.y_,{children:(0,c.jsx)(O.e,{children:(0,c.jsx)(I,{children:t})})})}]);function Tt(e){var t=e.children;return(0,c.jsx)(_t,{children:t})}var jt=n(7945);function Nt(e){var t=e.error,n=e.tryAgain;return(0,c.jsx)("main",{className:"container margin-vert--xl",children:(0,c.jsx)("div",{className:"row",children:(0,c.jsxs)("div",{className:"col col--6 col--offset-3",children:[(0,c.jsx)(jt.A,{as:"h1",className:"hero__title",children:(0,c.jsx)(s.A,{id:"theme.ErrorPageContent.title",description:"The title of the fallback page when the page crashed",children:"This page crashed."})}),(0,c.jsx)("div",{className:"margin-vert--lg",children:(0,c.jsx)(Xe,{onClick:n,className:"button button--primary shadow--lw"})}),(0,c.jsx)("hr",{}),(0,c.jsx)("div",{className:"margin-vert--md",children:(0,c.jsx)(Je,{error:t})})]})})})}const Ot={mainWrapper:"mainWrapper_lWIu"};function Lt(e){var t=e.children,n=e.noFooter,r=e.wrapperClassName,l=e.title,s=e.description;return(0,y.J)(),(0,c.jsxs)(Tt,{children:[(0,c.jsx)(i.be,{title:l,description:s}),(0,c.jsx)(b,{}),(0,c.jsx)(N,{}),(0,c.jsx)(ut,{}),(0,c.jsx)("div",{id:d,className:(0,a.A)(h.G.wrapper.main,Ot.mainWrapper,r),children:(0,c.jsx)(o.A,{fallback:function(e){return(0,c.jsx)(Nt,Object.assign({},e))},children:t})}),!n&&(0,c.jsx)(At,{})]})}},6665:(e,t,n)=>{"use strict";n.d(t,{A:()=>f});var r=n(8957),a=(n(758),n(9789)),o=n(3722),i=n(4425),l=n(355),s=n(125),u=n(6070),c=["imageClassName","titleClassName"];function d(e){var t=e.logo,n=e.alt,r=e.imageClassName,a={light:(0,o.Ay)(t.src),dark:(0,o.Ay)(t.srcDark||t.src)},i=(0,u.jsx)(s.A,{className:t.className,sources:a,height:t.height,width:t.width,alt:n,style:t.style});return r?(0,u.jsx)("div",{className:r,children:i}):i}function f(e){var t,n=(0,i.A)().siteConfig.title,s=(0,l.p)().navbar,f=s.title,p=s.logo,m=e.imageClassName,g=e.titleClassName,h=(0,r.A)(e,c),y=(0,o.Ay)((null==p?void 0:p.href)||"/"),v=f?"":n,b=null!=(t=null==p?void 0:p.alt)?t:v;return(0,u.jsxs)(a.A,Object.assign({to:y},h,(null==p?void 0:p.target)&&{target:p.target},{children:[p&&(0,u.jsx)(d,{logo:p,alt:b,imageClassName:m}),null!=f&&(0,u.jsx)("b",{className:g,children:f})]}))}},9463:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});n(758);var r=n(9379),a=n(6070);function o(e){var t=e.locale,n=e.version,o=e.tag,i=t;return(0,a.jsxs)(r.A,{children:[t&&(0,a.jsx)("meta",{name:"docusaurus_locale",content:t}),n&&(0,a.jsx)("meta",{name:"docusaurus_version",content:n}),o&&(0,a.jsx)("meta",{name:"docusaurus_tag",content:o}),i&&(0,a.jsx)("meta",{name:"docsearch:language",content:i}),n&&(0,a.jsx)("meta",{name:"docsearch:version",content:n}),o&&(0,a.jsx)("meta",{name:"docsearch:docusaurus_tag",content:o})]})}},125:(e,t,n)=>{"use strict";n.d(t,{A:()=>f});var r=n(8957),a=n(758),o=n(3526),i=n(9572),l=n(3548);const s={themedComponent:"themedComponent_BsZl","themedComponent--light":"themedComponent--light__Tg6","themedComponent--dark":"themedComponent--dark_SgFb"};var u=n(6070);function c(e){var t=e.className,n=e.children,r=(0,i.A)(),c=(0,l.G)().colorMode;return(0,u.jsx)(u.Fragment,{children:(r?"dark"===c?["dark"]:["light"]:["light","dark"]).map((function(e){var r=n({theme:e,className:(0,o.A)(t,s.themedComponent,s["themedComponent--"+e])});return(0,u.jsx)(a.Fragment,{children:r},e)}))})}var d=["sources","className","alt"];function f(e){var t=e.sources,n=e.className,a=e.alt,o=(0,r.A)(e,d);return(0,u.jsx)(c,{className:n,children:function(e){var n=e.theme,r=e.className;return(0,u.jsx)("img",Object.assign({src:t[n],alt:a,className:r},o))}})}},5319:(e,t,n)=>{"use strict";n.d(t,{N:()=>w,u:()=>f});var r=n(8957),a=n(758),o=n(3810),i=n(5656),l=n(4516),s=n(6070),u=["collapsed"],c=["lazy"],d="ease-in-out";function f(e){var t=e.initialState,n=(0,a.useState)(null!=t&&t),r=n[0],o=n[1],i=(0,a.useCallback)((function(){o((function(e){return!e}))}),[]);return{collapsed:r,setCollapsed:o,toggleCollapsed:i}}var p={display:"none",overflow:"hidden",height:"0px"},m={display:"block",overflow:"visible",height:"auto"};function g(e,t){var n=t?p:m;e.style.display=n.display,e.style.overflow=n.overflow,e.style.height=n.height}function h(e){var t=e.collapsibleRef,n=e.collapsed,r=e.animation,o=(0,a.useRef)(!1);(0,a.useEffect)((function(){var e,a=t.current;function i(){var e,t,n=a.scrollHeight,o=null!=(e=null==r?void 0:r.duration)?e:function(e){if((0,l.O)())return 1;var t=e/36;return Math.round(10*(4+15*Math.pow(t,.25)+t/5))}(n);return{transition:"height "+o+"ms "+(null!=(t=null==r?void 0:r.easing)?t:d),height:n+"px"}}function s(){var e=i();a.style.transition=e.transition,a.style.height=e.height}if(!o.current)return g(a,n),void(o.current=!0);return a.style.willChange="height",e=requestAnimationFrame((function(){n?(s(),requestAnimationFrame((function(){a.style.height=p.height,a.style.overflow=p.overflow}))):(a.style.display="block",requestAnimationFrame((function(){s()})))})),function(){return cancelAnimationFrame(e)}}),[t,n,r])}function y(e){if(!o.A.canUseDOM)return e?p:m}function v(e){var t=e.as,n=void 0===t?"div":t,r=e.collapsed,o=e.children,i=e.animation,l=e.onCollapseTransitionEnd,u=e.className,c=e.disableSSRStyle,d=(0,a.useRef)(null);return h({collapsibleRef:d,collapsed:r,animation:i}),(0,s.jsx)(n,{ref:d,style:c?void 0:y(r),onTransitionEnd:function(e){"height"===e.propertyName&&(g(d.current,r),null==l||l(r))},className:u,children:o})}function b(e){var t=e.collapsed,n=(0,r.A)(e,u),o=(0,a.useState)(!t),l=o[0],c=o[1],d=(0,a.useState)(t),f=d[0],p=d[1];return(0,i.A)((function(){t||c(!0)}),[t]),(0,i.A)((function(){l&&p(t)}),[l,t]),l?(0,s.jsx)(v,Object.assign({},n,{collapsed:f})):null}function w(e){var t=e.lazy,n=(0,r.A)(e,c),a=t?b:v;return(0,s.jsx)(a,Object.assign({},n))}},2460:(e,t,n)=>{"use strict";n.d(t,{M:()=>g,o:()=>m});var r=n(758),a=n(9572),o=n(6962),i=n(7091),l=n(355),s=n(6070),u=(0,o.Wf)("docusaurus.announcement.dismiss"),c=(0,o.Wf)("docusaurus.announcement.id"),d=function(){return"true"===u.get()},f=function(e){return u.set(String(e))},p=r.createContext(null);function m(e){var t=e.children,n=function(){var e=(0,l.p)().announcementBar,t=(0,a.A)(),n=(0,r.useState)((function(){return!!t&&d()})),o=n[0],i=n[1];(0,r.useEffect)((function(){i(d())}),[]);var s=(0,r.useCallback)((function(){f(!0),i(!0)}),[]);return(0,r.useEffect)((function(){if(e){var t=e.id,n=c.get();"annoucement-bar"===n&&(n="announcement-bar");var r=t!==n;c.set(t),r&&f(!1),!r&&d()||i(!1)}}),[e]),(0,r.useMemo)((function(){return{isActive:!!e&&!o,close:s}}),[e,o,s])}();return(0,s.jsx)(p.Provider,{value:n,children:t})}function g(){var e=(0,r.useContext)(p);if(!e)throw new i.dV("AnnouncementBarProvider");return e}},3548:(e,t,n)=>{"use strict";n.d(t,{G:()=>y,a:()=>h});var r=n(758),a=n(3810),o=n(7091),i=n(6962),l=n(355),s=n(6070),u=r.createContext(void 0),c="theme",d=(0,i.Wf)(c),f={light:"light",dark:"dark"},p=function(e){return e===f.dark?f.dark:f.light},m=function(e){return a.A.canUseDOM?p(document.documentElement.getAttribute("data-theme")):p(e)},g=function(e){d.set(p(e))};function h(e){var t=e.children,n=function(){var e=(0,l.p)().colorMode,t=e.defaultMode,n=e.disableSwitch,a=e.respectPrefersColorScheme,o=(0,r.useState)(m(t)),i=o[0],s=o[1];(0,r.useEffect)((function(){n&&d.del()}),[n]);var u=(0,r.useCallback)((function(e,n){void 0===n&&(n={});var r=n.persist,o=void 0===r||r;e?(s(e),o&&g(e)):(s(a?window.matchMedia("(prefers-color-scheme: dark)").matches?f.dark:f.light:t),d.del())}),[a,t]);(0,r.useEffect)((function(){document.documentElement.setAttribute("data-theme",p(i))}),[i]),(0,r.useEffect)((function(){if(!n){var e=function(e){if(e.key===c){var t=d.get();null!==t&&u(p(t))}};return window.addEventListener("storage",e),function(){return window.removeEventListener("storage",e)}}}),[n,u]);var h=(0,r.useRef)(!1);return(0,r.useEffect)((function(){if(!n||a){var e=window.matchMedia("(prefers-color-scheme: dark)"),t=function(){window.matchMedia("print").matches||h.current?h.current=window.matchMedia("print").matches:u(null)};return e.addListener(t),function(){return e.removeListener(t)}}}),[u,n,a]),(0,r.useMemo)((function(){return{colorMode:i,setColorMode:u,get isDarkTheme(){return i===f.dark},setLightTheme:function(){u(f.light)},setDarkTheme:function(){u(f.dark)}}}),[i,u])}();return(0,s.jsx)(u.Provider,{value:n,children:t})}function y(){var e=(0,r.useContext)(u);if(null==e)throw new o.dV("ColorModeProvider","Please see https://docusaurus.io/docs/api/themes/configuration#use-color-mode.");return e}},770:(e,t,n)=>{"use strict";n.d(t,{VQ:()=>y,g1:()=>b});var r=n(758),a=n(6873),o=n(3400),i=n(355),l=n(161),s=n(7091),u=n(6962),c=n(6070),d=function(e){return"docs-preferred-version-"+e},f={save:function(e,t,n){(0,u.Wf)(d(e),{persistence:t}).set(n)},read:function(e,t){return(0,u.Wf)(d(e),{persistence:t}).get()},clear:function(e,t){(0,u.Wf)(d(e),{persistence:t}).del()}},p=function(e){return Object.fromEntries(e.map((function(e){return[e,{preferredVersionName:null}]})))};var m=r.createContext(null);function g(){var e=(0,a.Gy)(),t=(0,i.p)().docs.versionPersistence,n=(0,r.useMemo)((function(){return Object.keys(e)}),[e]),o=(0,r.useState)((function(){return p(n)})),l=o[0],s=o[1];return(0,r.useEffect)((function(){s(function(e){var t=e.pluginIds,n=e.versionPersistence,r=e.allDocsData;return Object.fromEntries(t.map((function(e){return[e,(t=e,a=f.read(t,n),r[t].versions.some((function(e){return e.name===a}))?{preferredVersionName:a}:(f.clear(t,n),{preferredVersionName:null}))];var t,a})))}({allDocsData:e,versionPersistence:t,pluginIds:n}))}),[e,t,n]),[l,(0,r.useMemo)((function(){return{savePreferredVersion:function(e,n){f.save(e,t,n),s((function(t){var r;return Object.assign({},t,((r={})[e]={preferredVersionName:n},r))}))}}}),[t])]}function h(e){var t=e.children,n=g();return(0,c.jsx)(m.Provider,{value:n,children:t})}function y(e){var t=e.children;return l.C5?(0,c.jsx)(h,{children:t}):(0,c.jsx)(c.Fragment,{children:t})}function v(){var e=(0,r.useContext)(m);if(!e)throw new s.dV("DocsPreferredVersionContextProvider");return e}function b(e){var t;void 0===e&&(e=o.W);var n=(0,a.ht)(e),i=v(),l=i[0],s=i[1],u=l[e].preferredVersionName;return{preferredVersion:null!=(t=n.versions.find((function(e){return e.name===u})))?t:null,savePreferredVersionName:(0,r.useCallback)((function(t){s.savePreferredVersion(e,t)}),[s,e])}}},3045:(e,t,n)=>{"use strict";n.d(t,{V:()=>s,t:()=>u});var r=n(758),a=n(7091),o=n(6070),i=Symbol("EmptyContext"),l=r.createContext(i);function s(e){var t=e.children,n=e.name,a=e.items,i=(0,r.useMemo)((function(){return n&&a?{name:n,items:a}:null}),[n,a]);return(0,o.jsx)(l.Provider,{value:i,children:t})}function u(){var e=(0,r.useContext)(l);if(e===i)throw new a.dV("DocsSidebarProvider");return e}},4389:(e,t,n)=>{"use strict";n.d(t,{n:()=>l,r:()=>s});var r=n(758),a=n(7091),o=n(6070),i=r.createContext(null);function l(e){var t=e.children,n=e.version;return(0,o.jsx)(i.Provider,{value:n,children:t})}function s(){var e=(0,r.useContext)(i);if(null===e)throw new a.dV("DocsVersionProvider");return e}},6939:(e,t,n)=>{"use strict";n.d(t,{e:()=>p,M:()=>m});var r=n(758),a=n(5377),o=n(1554),i=n(5557),l=n(7091);function s(e){!function(e){var t=(0,i.W6)(),n=(0,l._q)(e);(0,r.useEffect)((function(){return t.block((function(e,t){return n(e,t)}))}),[t,n])}((function(t,n){if("POP"===n)return e(t,n)}))}var u=n(355),c=n(6070),d=r.createContext(void 0);function f(){var e,t=(e=(0,a.YL)(),0===(0,u.p)().navbar.items.length&&!e.component),n=(0,o.l)(),i=!t&&"mobile"===n,l=(0,r.useState)(!1),c=l[0],d=l[1];s((function(){if(c)return d(!1),!1}));var f=(0,r.useCallback)((function(){d((function(e){return!e}))}),[]);return(0,r.useEffect)((function(){"desktop"===n&&d(!1)}),[n]),(0,r.useMemo)((function(){return{disabled:t,shouldRender:i,toggle:f,shown:c}}),[t,i,f,c])}function p(e){var t=e.children,n=f();return(0,c.jsx)(d.Provider,{value:n,children:t})}function m(){var e=r.useContext(d);if(void 0===e)throw new l.dV("NavbarMobileSidebarProvider");return e}},5377:(e,t,n)=>{"use strict";n.d(t,{GX:()=>u,YL:()=>s,y_:()=>l});var r=n(758),a=n(7091),o=n(6070),i=r.createContext(null);function l(e){var t=e.children,n=(0,r.useState)({component:null,props:null});return(0,o.jsx)(i.Provider,{value:n,children:t})}function s(){var e=(0,r.useContext)(i);if(!e)throw new a.dV("NavbarSecondaryMenuContentProvider");return e[0]}function u(e){var t=e.component,n=e.props,o=(0,r.useContext)(i);if(!o)throw new a.dV("NavbarSecondaryMenuContentProvider");var l=o[1],s=(0,a.Be)(n);return(0,r.useEffect)((function(){l({component:t,props:s})}),[l,t,s]),(0,r.useEffect)((function(){return function(){return l({component:null,props:null})}}),[l]),null}},4511:(e,t,n)=>{"use strict";n.d(t,{w:()=>a,J:()=>o});var r=n(758),a="navigation-with-keyboard";function o(){(0,r.useEffect)((function(){function e(e){"keydown"===e.type&&"Tab"===e.key&&document.body.classList.add(a),"mousedown"===e.type&&document.body.classList.remove(a)}return document.addEventListener("keydown",e),document.addEventListener("mousedown",e),function(){document.body.classList.remove(a),document.removeEventListener("keydown",e),document.removeEventListener("mousedown",e)}}),[])}},1554:(e,t,n)=>{"use strict";n.d(t,{l:()=>l});var r=n(758),a=n(3810),o={desktop:"desktop",mobile:"mobile",ssr:"ssr"},i=996;function l(e){var t=(void 0===e?{}:e).desktopBreakpoint,n=void 0===t?i:t,l=(0,r.useState)((function(){return"ssr"})),s=l[0],u=l[1];return(0,r.useEffect)((function(){function e(){u(function(e){if(!a.A.canUseDOM)throw new Error("getWindowSize() should only be called after React hydration");return window.innerWidth>e?o.desktop:o.mobile}(n))}return e(),window.addEventListener("resize",e),function(){window.removeEventListener("resize",e)}}),[n]),s}},9508:(e,t,n)=>{"use strict";n.d(t,{G:()=>r});var r={page:{blogListPage:"blog-list-page",blogPostPage:"blog-post-page",blogTagsListPage:"blog-tags-list-page",blogTagPostListPage:"blog-tags-post-list-page",docsDocPage:"docs-doc-page",docsTagsListPage:"docs-tags-list-page",docsTagDocListPage:"docs-tags-doc-list-page",mdxPage:"mdx-page"},wrapper:{main:"main-wrapper",blogPages:"blog-wrapper",docsPages:"docs-wrapper",mdxPages:"mdx-wrapper"},common:{editThisPage:"theme-edit-this-page",lastUpdated:"theme-last-updated",backToTopButton:"theme-back-to-top-button",codeBlock:"theme-code-block",admonition:"theme-admonition",unlistedBanner:"theme-unlisted-banner",admonitionType:function(e){return"theme-admonition-"+e}},layout:{},docs:{docVersionBanner:"theme-doc-version-banner",docVersionBadge:"theme-doc-version-badge",docBreadcrumbs:"theme-doc-breadcrumbs",docMarkdown:"theme-doc-markdown",docTocMobile:"theme-doc-toc-mobile",docTocDesktop:"theme-doc-toc-desktop",docFooter:"theme-doc-footer",docFooterTagsRow:"theme-doc-footer-tags-row",docFooterEditMetaRow:"theme-doc-footer-edit-meta-row",docSidebarContainer:"theme-doc-sidebar-container",docSidebarMenu:"theme-doc-sidebar-menu",docSidebarItemCategory:"theme-doc-sidebar-item-category",docSidebarItemLink:"theme-doc-sidebar-item-link",docSidebarItemCategoryLevel:function(e){return"theme-doc-sidebar-item-category-level-"+e},docSidebarItemLinkLevel:function(e){return"theme-doc-sidebar-item-link-level-"+e}},blog:{blogFooterTagsRow:"theme-blog-footer-tags-row",blogFooterEditMetaRow:"theme-blog-footer-edit-meta-row"},pages:{pageFooterEditMetaRow:"theme-pages-footer-edit-meta-row"}}},4516:(e,t,n)=>{"use strict";function r(){return window.matchMedia("(prefers-reduced-motion: reduce)").matches}n.d(t,{O:()=>r})},161:(e,t,n)=>{"use strict";function r(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n=e.length?{done:!0}:{done:!1,value:e[a++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}n.d(t,{d1:()=>j,Nr:()=>h,w8:()=>w,C5:()=>m,$S:()=>y,cC:()=>g,B5:()=>T,Vd:()=>C,QB:()=>_,fW:()=>A,OF:()=>E,Y:()=>x});var o=n(758),i=n(5557),l=n(389),s=n(6873),u=n(770),c=n(4389),d=n(3045);function f(e){return Array.from(new Set(e))}var p=n(7902),m=!!s.Gy;function g(e){var t=(0,c.r)();if(e){var n=t.docs[e];if(!n)throw new Error("no version doc found by id="+e);return n}}function h(e){return"link"!==e.type||e.unlisted?"category"===e.type?function(e){if(e.href&&!e.linkUnlisted)return e.href;for(var t,n=a(e.items);!(t=n()).done;){var r=h(t.value);if(r)return r}}(e):void 0:e.href}function y(){var e=(0,i.zy)().pathname,t=(0,d.t)();if(!t)throw new Error("Unexpected: cant find current sidebar in context");var n=S({sidebarItems:t.items,pathname:e,onlyCategories:!0}).slice(-1)[0];if(!n)throw new Error(e+" is not associated with a category. useCurrentSidebarCategory() should only be used on category index pages.");return n}var v=function(e,t){return void 0!==e&&(0,p.ys)(e,t)},b=function(e,t){return e.some((function(e){return w(e,t)}))};function w(e,t){return"link"===e.type?v(e.href,t):"category"===e.type&&(v(e.href,t)||b(e.items,t))}function k(e,t){switch(e.type){case"category":return w(e,t)||e.items.some((function(e){return k(e,t)}));case"link":return!e.unlisted||w(e,t);default:return!0}}function x(e,t){return(0,o.useMemo)((function(){return e.filter((function(e){return k(e,t)}))}),[e,t])}function S(e){var t=e.sidebarItems,n=e.pathname,r=e.onlyCategories,o=void 0!==r&&r,i=[];return function e(t){for(var r,l=a(t);!(r=l()).done;){var s=r.value;if("category"===s.type&&((0,p.ys)(s.href,n)||e(s.items))||"link"===s.type&&(0,p.ys)(s.href,n))return o&&"category"!==s.type||i.unshift(s),!0}return!1}(t),i}function E(){var e,t=(0,d.t)(),n=(0,i.zy)().pathname;return!1!==(null==(e=(0,s.vT)())?void 0:e.pluginData.breadcrumbs)&&t?S({sidebarItems:t.items,pathname:n}):null}function C(e){var t=(0,s.zK)(e).activeVersion,n=(0,u.g1)(e).preferredVersion,r=(0,s.r7)(e);return(0,o.useMemo)((function(){return f([t,n,r].filter(Boolean))}),[t,n,r])}function A(e,t){var n=C(t);return(0,o.useMemo)((function(){var t=n.flatMap((function(e){return e.sidebars?Object.entries(e.sidebars):[]})),r=t.find((function(t){return t[0]===e}));if(!r)throw new Error("Can't find any sidebar with id \""+e+'" in version'+(n.length>1?"s":"")+" "+n.map((function(e){return e.name})).join(", ")+'".\nAvailable sidebar ids are:\n- '+t.map((function(e){return e[0]})).join("\n- "));return r[1]}),[e,n])}function _(e,t){var n=C(t);return(0,o.useMemo)((function(){var t=n.flatMap((function(e){return e.docs})),r=t.find((function(t){return t.id===e}));if(!r){if(n.flatMap((function(e){return e.draftIds})).includes(e))return null;throw new Error("Couldn't find any doc with id \""+e+'" in version'+(n.length>1?"s":"")+' "'+n.map((function(e){return e.name})).join(", ")+'".\nAvailable doc ids are:\n- '+f(t.map((function(e){return e.id}))).join("\n- "))}return r}),[e,n])}function T(e){var t=e.route,n=(0,i.zy)(),r=(0,c.r)(),a=t.routes,o=a.find((function(e){return(0,i.B6)(n.pathname,e)}));if(!o)return null;var s=o.sidebar,u=s?r.docsSidebars[s]:void 0;return{docElement:(0,l.v)(a),sidebarName:s,sidebarItems:u}}function j(e){return e.filter((function(e){return!("category"===e.type||"link"===e.type)||!!h(e)}))}},1179:(e,t,n)=>{"use strict";n.d(t,{e3:()=>p,be:()=>d,Jx:()=>m});var r=n(758),a=n(3526),o=n(9379),i=n(8645);function l(){var e=r.useContext(i.o);if(!e)throw new Error("Unexpected: no Docusaurus route context found");return e}var s=n(3722),u=n(4425);var c=n(6070);function d(e){var t=e.title,n=e.description,r=e.keywords,a=e.image,i=e.children,l=function(e){var t=(0,u.A)().siteConfig,n=t.title,r=t.titleDelimiter;return null!=e&&e.trim().length?e.trim()+" "+r+" "+n:n}(t),d=(0,s.hH)().withBaseUrl,f=a?d(a,{absolute:!0}):void 0;return(0,c.jsxs)(o.A,{children:[t&&(0,c.jsx)("title",{children:l}),t&&(0,c.jsx)("meta",{property:"og:title",content:l}),n&&(0,c.jsx)("meta",{name:"description",content:n}),n&&(0,c.jsx)("meta",{property:"og:description",content:n}),r&&(0,c.jsx)("meta",{name:"keywords",content:Array.isArray(r)?r.join(","):r}),f&&(0,c.jsx)("meta",{property:"og:image",content:f}),f&&(0,c.jsx)("meta",{name:"twitter:image",content:f}),i]})}var f=r.createContext(void 0);function p(e){var t=e.className,n=e.children,i=r.useContext(f),l=(0,a.A)(i,t);return(0,c.jsxs)(f.Provider,{value:l,children:[(0,c.jsx)(o.A,{children:(0,c.jsx)("html",{className:l})}),n]})}function m(e){var t=e.children,n=l(),r="plugin-"+n.plugin.name.replace(/docusaurus-(?:plugin|theme)-(?:content-)?/gi,""),o="plugin-id-"+n.plugin.id;return(0,c.jsx)(p,{className:(0,a.A)(r,o),children:t})}},7091:(e,t,n)=>{"use strict";n.d(t,{dV:()=>m,fM:()=>h,_q:()=>f,ZC:()=>p,Be:()=>g});var r=n(2792),a=n(1245);function o(e){return o=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},o(e)}var i=n(8484);function l(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(l=function(){return!!e})()}function s(e){var t="function"==typeof Map?new Map:void 0;return s=function(e){if(null===e||!function(e){try{return-1!==Function.toString.call(e).indexOf("[native code]")}catch(t){return"function"==typeof e}}(e))return e;if("function"!=typeof e)throw new TypeError("Super expression must either be null or a function");if(void 0!==t){if(t.has(e))return t.get(e);t.set(e,n)}function n(){return function(e,t,n){if(l())return Reflect.construct.apply(null,arguments);var r=[null];r.push.apply(r,t);var a=new(e.bind.apply(e,r));return n&&(0,i.A)(a,n.prototype),a}(e,arguments,o(this).constructor)}return n.prototype=Object.create(e.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),(0,i.A)(n,e)},s(e)}var u=n(758),c=n(5656),d=n(6070);function f(e){var t=(0,u.useRef)(e);return(0,c.A)((function(){t.current=e}),[e]),(0,u.useCallback)((function(){return t.current.apply(t,arguments)}),[])}function p(e){var t=(0,u.useRef)();return(0,c.A)((function(){t.current=e})),t.current}var m=function(e){function t(t,n){var a,o,i;return(i=e.call(this)||this).name="ReactContextError",i.message="Hook "+(null!=(a=null==(o=i.stack)||null==(o=o.split("\n")[1])||null==(o=o.match((0,r.A)(/at (?:\w+\.)?(\w+)/,{name:1})))?void 0:o.groups.name)?a:"")+" is called outside the <"+t+">. "+(null!=n?n:""),i}return(0,a.A)(t,e),t}(s(Error));function g(e){var t=Object.entries(e);return t.sort((function(e,t){return e[0].localeCompare(t[0])})),(0,u.useMemo)((function(){return e}),t.flat())}function h(e){return function(t){var n=t.children;return(0,d.jsx)(d.Fragment,{children:e.reduceRight((function(e,t){return(0,d.jsx)(t,{children:e})}),n)})}}},7902:(e,t,n)=>{"use strict";n.d(t,{Dt:()=>l,ys:()=>i});var r=n(758),a=n(4099),o=n(4425);function i(e,t){var n=function(e){var t;return null==(t=!e||e.endsWith("/")?e:e+"/")?void 0:t.toLowerCase()};return n(e)===n(t)}function l(){var e=(0,o.A)().siteConfig.baseUrl;return(0,r.useMemo)((function(){return function(e){var t=e.baseUrl;function n(e){return e.path===t&&!0===e.exact}function r(e){return e.path===t&&!e.exact}return function e(t){if(0!==t.length)return t.find(n)||e(t.filter(r).flatMap((function(e){var t;return null!=(t=e.routes)?t:[]})))}(e.routes)}({routes:a.A,baseUrl:e})}),[e])}},4579:(e,t,n)=>{"use strict";n.d(t,{Mq:()=>f,Tv:()=>u,gk:()=>p});var r=n(758),a=n(3810),o=n(9572),i=(n(5656),n(7091)),l=n(6070);var s=r.createContext(void 0);function u(e){var t,n=e.children,a=(t=(0,r.useRef)(!0),(0,r.useMemo)((function(){return{scrollEventsEnabledRef:t,enableScrollEvents:function(){t.current=!0},disableScrollEvents:function(){t.current=!1}}}),[]));return(0,l.jsx)(s.Provider,{value:a,children:n})}function c(){var e=(0,r.useContext)(s);if(null==e)throw new i.dV("ScrollControllerProvider");return e}var d=function(){return a.A.canUseDOM?{scrollX:window.pageXOffset,scrollY:window.pageYOffset}:null};function f(e,t){void 0===t&&(t=[]);var n=c().scrollEventsEnabledRef,a=(0,r.useRef)(d()),o=(0,i._q)(e);(0,r.useEffect)((function(){var e=function(){if(n.current){var e=d();o(e,a.current),a.current=e}},t={passive:!0};return e(),window.addEventListener("scroll",e,t),function(){return window.removeEventListener("scroll",e,t)}}),[o,n].concat(t))}function p(){var e=(0,r.useRef)(null),t=(0,o.A)()&&"smooth"===getComputedStyle(document.documentElement).scrollBehavior;return{startScroll:function(n){e.current=t?function(e){return window.scrollTo({top:e,behavior:"smooth"}),function(){}}(n):function(e){var t=null,n=document.documentElement.scrollTop>e;return function r(){var a=document.documentElement.scrollTop;(n&&a>e||!n&&a{"use strict";n.d(t,{Cy:()=>r,tU:()=>a});n(4425);var r="default";function a(e,t){return"docs-"+e+"-"+t}},6962:(e,t,n)=>{"use strict";n.d(t,{Wf:()=>u});n(758);const r=JSON.parse('{"N":"localStorage","M":""}');var a=r.N;function o(e){var t=e.key,n=e.oldValue,r=e.newValue,a=e.storage;if(n!==r){var o=document.createEvent("StorageEvent");o.initStorageEvent("storage",!1,!1,t,n,r,window.location.href,a),window.dispatchEvent(o)}}function i(e){if(void 0===e&&(e=a),"undefined"==typeof window)throw new Error("Browser storage is not available on Node.js/Docusaurus SSR process.");if("none"===e)return null;try{return window[e]}catch(n){return t=n,l||(console.warn("Docusaurus browser storage is not available.\nPossible reasons: running Docusaurus in an iframe, in an incognito browser session, or using too strict browser privacy settings.",t),l=!0),null}var t}var l=!1;var s={get:function(){return null},set:function(){},del:function(){},listen:function(){return function(){}}};function u(e,t){var n=""+e+r.M;if("undefined"==typeof window)return function(e){function t(){throw new Error('Illegal storage API usage for storage key "'+e+'".\nDocusaurus storage APIs are not supposed to be called on the server-rendering process.\nPlease only call storage APIs in effects and event handlers.')}return{get:t,set:t,del:t,listen:t}}(n);var a=i(null==t?void 0:t.persistence);return null===a?s:{get:function(){try{return a.getItem(n)}catch(e){return console.error("Docusaurus storage error, can't get key="+n,e),null}},set:function(e){try{var t=a.getItem(n);a.setItem(n,e),o({key:n,oldValue:t,newValue:e,storage:a})}catch(r){console.error("Docusaurus storage error, can't set "+n+"="+e,r)}},del:function(){try{var e=a.getItem(n);a.removeItem(n),o({key:n,oldValue:e,newValue:null,storage:a})}catch(t){console.error("Docusaurus storage error, can't delete key="+n,t)}},listen:function(e){try{var t=function(t){t.storageArea===a&&t.key===n&&e(t)};return window.addEventListener("storage",t),function(){return window.removeEventListener("storage",t)}}catch(r){return console.error("Docusaurus storage error, can't listen for changes of key="+n,r),function(){}}}}}},5104:(e,t,n)=>{"use strict";n.d(t,{o:()=>i});var r=n(4425),a=n(5557),o=n(3237);function i(){var e=(0,r.A)(),t=e.siteConfig,n=t.baseUrl,i=t.url,l=t.trailingSlash,s=e.i18n,u=s.defaultLocale,c=s.currentLocale,d=(0,a.zy)().pathname,f=(0,o.applyTrailingSlash)(d,{trailingSlash:l,baseUrl:n}),p=c===u?n:n.replace("/"+c+"/","/"),m=f.replace(n,"");return{createUrl:function(e){var t=e.locale;return""+(e.fullyQualified?i:"")+function(e){return e===u?""+p:""+p+e+"/"}(t)+m}}}},1373:(e,t,n)=>{"use strict";n.d(t,{$:()=>i});var r=n(758),a=n(5557),o=n(7091);function i(e){var t=(0,a.zy)(),n=(0,o.ZC)(t),i=(0,o._q)(e);(0,r.useEffect)((function(){n&&t!==n&&i({location:t,previousLocation:n})}),[i,t,n])}},355:(e,t,n)=>{"use strict";n.d(t,{p:()=>a});var r=n(4425);function a(){return(0,r.A)().siteConfig.themeConfig}},1864:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.removeTrailingSlash=t.addLeadingSlash=t.addTrailingSlash=void 0;var r=n(2607);function a(e){return e.endsWith("/")?e:e+"/"}function o(e){return(0,r.removeSuffix)(e,"/")}t.addTrailingSlash=a,t.default=function(e,t){var n=t.trailingSlash,r=t.baseUrl;if(e.startsWith("#"))return e;if(void 0===n)return e;var i,l=e.split(/[#?]/)[0],s="/"===l||l===r?l:(i=l,n?a(i):o(i));return e.replace(l,s)},t.addLeadingSlash=function(e){return(0,r.addPrefix)(e,"/")},t.removeTrailingSlash=o},4782:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getErrorCausalChain=void 0,t.getErrorCausalChain=function e(t){return t.cause?[t].concat(e(t.cause)):[t]}},3237:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.getErrorCausalChain=t.removePrefix=t.addSuffix=t.removeSuffix=t.addPrefix=t.removeTrailingSlash=t.addLeadingSlash=t.addTrailingSlash=t.applyTrailingSlash=t.blogPostContainerID=void 0,t.blogPostContainerID="__blog-post-container";var a=n(1864);Object.defineProperty(t,"applyTrailingSlash",{enumerable:!0,get:function(){return r(a).default}}),Object.defineProperty(t,"addTrailingSlash",{enumerable:!0,get:function(){return a.addTrailingSlash}}),Object.defineProperty(t,"addLeadingSlash",{enumerable:!0,get:function(){return a.addLeadingSlash}}),Object.defineProperty(t,"removeTrailingSlash",{enumerable:!0,get:function(){return a.removeTrailingSlash}});var o=n(2607);Object.defineProperty(t,"addPrefix",{enumerable:!0,get:function(){return o.addPrefix}}),Object.defineProperty(t,"removeSuffix",{enumerable:!0,get:function(){return o.removeSuffix}}),Object.defineProperty(t,"addSuffix",{enumerable:!0,get:function(){return o.addSuffix}}),Object.defineProperty(t,"removePrefix",{enumerable:!0,get:function(){return o.removePrefix}});var i=n(4782);Object.defineProperty(t,"getErrorCausalChain",{enumerable:!0,get:function(){return i.getErrorCausalChain}})},2607:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.removePrefix=t.addSuffix=t.removeSuffix=t.addPrefix=void 0,t.addPrefix=function(e,t){return e.startsWith(t)?e:""+t+e},t.removeSuffix=function(e,t){return""===t?e:e.endsWith(t)?e.slice(0,-t.length):e},t.addSuffix=function(e,t){return e.endsWith(t)?e:""+e+t},t.removePrefix=function(e,t){return e.startsWith(t)?e.slice(t.length):e}},4099:(e,t,n)=>{"use strict";n.d(t,{A:()=>f});n(758);var r=n(4355),a=n.n(r),o=n(9451);const i={"0058b4c6":[function(){return n.e(849).then(n.t.bind(n,999,19))},"@generated/docusaurus-plugin-content-docs/default/p/docs-175.json",999],"0ce74438":[function(){return Promise.all([n.e(869),n.e(365)]).then(n.bind(n,2368))},"@site/src/pages/playground.tsx",2368],"0ded9cdf":[function(){return n.e(658).then(n.bind(n,7686))},"@site/docs/fysh/manual.md",7686],"11d51d02":[function(){return n.e(857).then(n.t.bind(n,913,19))},"@generated/docusaurus-plugin-content-docs/default/p/docs-category-fysh-414.json",913],"14eb3368":[function(){return Promise.all([n.e(869),n.e(969)]).then(n.bind(n,1799))},"@theme/DocCategoryGeneratedIndexPage",1799],17896441:[function(){return Promise.all([n.e(869),n.e(353),n.e(401)]).then(n.bind(n,1215))},"@theme/DocItem",1215],"1df93b7f":[function(){return Promise.all([n.e(869),n.e(583)]).then(n.bind(n,3833))},"@site/src/pages/index.tsx",3833],"1f391b9e":[function(){return Promise.all([n.e(869),n.e(353),n.e(61)]).then(n.bind(n,4347))},"@theme/MDXPage",4347],"393be207":[function(){return n.e(134).then(n.bind(n,1713))},"@site/src/pages/markdown-page.md",1713],"5e95c892":[function(){return n.e(647).then(n.bind(n,2465))},"@theme/DocsRoot",2465],"5e9f5e1a":[function(){return Promise.resolve().then(n.bind(n,225))},"@generated/docusaurus.config",225],a7456010:[function(){return n.e(235).then(n.t.bind(n,6285,19))},"@generated/docusaurus-plugin-content-pages/default/__plugin.json",6285],a7bd4aaa:[function(){return n.e(98).then(n.bind(n,3236))},"@theme/DocVersionRoot",3236],a94703ab:[function(){return Promise.all([n.e(869),n.e(48)]).then(n.bind(n,1721))},"@theme/DocRoot",1721],aba21aa0:[function(){return n.e(742).then(n.t.bind(n,7470,19))},"@generated/docusaurus-plugin-content-docs/default/__plugin.json",7470],c3cda6f3:[function(){return n.e(684).then(n.bind(n,892))},"@site/docs/fysh/installation.md",892]};var l=n(6070);function s(e){var t=e.error,n=e.retry,r=e.pastDelay;return t?(0,l.jsxs)("div",{style:{textAlign:"center",color:"#fff",backgroundColor:"#fa383e",borderColor:"#fa383e",borderStyle:"solid",borderRadius:"0.25rem",borderWidth:"1px",boxSizing:"border-box",display:"block",padding:"1rem",flex:"0 0 50%",marginLeft:"25%",marginRight:"25%",marginTop:"5rem",maxWidth:"50%",width:"100%"},children:[(0,l.jsx)("p",{children:String(t)}),(0,l.jsx)("div",{children:(0,l.jsx)("button",{type:"button",onClick:n,children:"Retry"})})]}):r?(0,l.jsx)("div",{style:{display:"flex",justifyContent:"center",alignItems:"center",height:"100vh"},children:(0,l.jsx)("svg",{id:"loader",style:{width:128,height:110,position:"absolute",top:"calc(100vh - 64%)"},viewBox:"0 0 45 45",xmlns:"http://www.w3.org/2000/svg",stroke:"#61dafb",children:(0,l.jsxs)("g",{fill:"none",fillRule:"evenodd",transform:"translate(1 1)",strokeWidth:"2",children:[(0,l.jsxs)("circle",{cx:"22",cy:"22",r:"6",strokeOpacity:"0",children:[(0,l.jsx)("animate",{attributeName:"r",begin:"1.5s",dur:"3s",values:"6;22",calcMode:"linear",repeatCount:"indefinite"}),(0,l.jsx)("animate",{attributeName:"stroke-opacity",begin:"1.5s",dur:"3s",values:"1;0",calcMode:"linear",repeatCount:"indefinite"}),(0,l.jsx)("animate",{attributeName:"stroke-width",begin:"1.5s",dur:"3s",values:"2;0",calcMode:"linear",repeatCount:"indefinite"})]}),(0,l.jsxs)("circle",{cx:"22",cy:"22",r:"6",strokeOpacity:"0",children:[(0,l.jsx)("animate",{attributeName:"r",begin:"3s",dur:"3s",values:"6;22",calcMode:"linear",repeatCount:"indefinite"}),(0,l.jsx)("animate",{attributeName:"stroke-opacity",begin:"3s",dur:"3s",values:"1;0",calcMode:"linear",repeatCount:"indefinite"}),(0,l.jsx)("animate",{attributeName:"stroke-width",begin:"3s",dur:"3s",values:"2;0",calcMode:"linear",repeatCount:"indefinite"})]}),(0,l.jsx)("circle",{cx:"22",cy:"22",r:"8",children:(0,l.jsx)("animate",{attributeName:"r",begin:"0s",dur:"1.5s",values:"6;1;2;3;4;5;6",calcMode:"linear",repeatCount:"indefinite"})})]})})}):null}var u=n(7166),c=n(8645);function d(e,t){if("*"===e)return a()({loading:s,loader:function(){return n.e(453).then(n.bind(n,9453))},modules:["@theme/NotFound"],webpack:function(){return[9453]},render:function(e,t){var n=e.default;return(0,l.jsx)(c.W,{value:{plugin:{name:"native",id:"default"}},children:(0,l.jsx)(n,Object.assign({},t))})}});var r=o[e+"-"+t],d={},f=[],p=[],m=(0,u.A)(r);return Object.entries(m).forEach((function(e){var t=e[0],n=e[1],r=i[n];r&&(d[t]=r[0],f.push(r[1]),p.push(r[2]))})),a().Map({loading:s,loader:d,modules:f,webpack:function(){return p},render:function(t,n){var a=JSON.parse(JSON.stringify(r));Object.entries(t).forEach((function(t){var n=t[0],r=t[1],o=r.default;if(!o)throw new Error("The page component at "+e+" doesn't have a default export. This makes it impossible to render anything. Consider default-exporting a React component.");"object"!=typeof o&&"function"!=typeof o||Object.keys(r).filter((function(e){return"default"!==e})).forEach((function(e){o[e]=r[e]}));var i=a,l=n.split(".");l.slice(0,-1).forEach((function(e){i=i[e]})),i[l[l.length-1]]=o}));var o=a.__comp;delete a.__comp;var i=a.__context;delete a.__context;var s=a.__props;return delete a.__props,(0,l.jsx)(c.W,{value:i,children:(0,l.jsx)(o,Object.assign({},a,s,n))})}})}const f=[{path:"/markdown-page",component:d("/markdown-page","3d7"),exact:!0},{path:"/playground",component:d("/playground","859"),exact:!0},{path:"/docs",component:d("/docs","89a"),routes:[{path:"/docs",component:d("/docs","bf8"),routes:[{path:"/docs",component:d("/docs","601"),routes:[{path:"/docs/category/fysh",component:d("/docs/category/fysh","d4d"),exact:!0,sidebar:"docsSidebar"},{path:"/docs/fysh/installation",component:d("/docs/fysh/installation","69c"),exact:!0,sidebar:"docsSidebar"},{path:"/docs/fysh/manual",component:d("/docs/fysh/manual","4c0"),exact:!0,sidebar:"docsSidebar"}]}]}]},{path:"/",component:d("/","e5f"),exact:!0},{path:"*",component:d("*")}]},3332:(e,t,n)=>{"use strict";n.d(t,{zR:()=>w,TM:()=>A,yJ:()=>p,sC:()=>T,AO:()=>f});var r=n(8762);function a(e){return"/"===e.charAt(0)}function o(e,t){for(var n=t,r=n+1,a=e.length;r=0;f--){var p=i[f];"."===p?o(i,f):".."===p?(o(i,f),d++):d&&(o(i,f),d--)}if(!u)for(;d--;d)i.unshift("..");!u||""===i[0]||i[0]&&a(i[0])||i.unshift("");var m=i.join("/");return n&&"/"!==m.substr(-1)&&(m+="/"),m};var l=n(5385);function s(e){return"/"===e.charAt(0)?e:"/"+e}function u(e){return"/"===e.charAt(0)?e.substr(1):e}function c(e,t){return function(e,t){return 0===e.toLowerCase().indexOf(t.toLowerCase())&&-1!=="/?#".indexOf(e.charAt(t.length))}(e,t)?e.substr(t.length):e}function d(e){return"/"===e.charAt(e.length-1)?e.slice(0,-1):e}function f(e){var t=e.pathname,n=e.search,r=e.hash,a=t||"/";return n&&"?"!==n&&(a+="?"===n.charAt(0)?n:"?"+n),r&&"#"!==r&&(a+="#"===r.charAt(0)?r:"#"+r),a}function p(e,t,n,a){var o;"string"==typeof e?(o=function(e){var t=e||"/",n="",r="",a=t.indexOf("#");-1!==a&&(r=t.substr(a),t=t.substr(0,a));var o=t.indexOf("?");return-1!==o&&(n=t.substr(o),t=t.substr(0,o)),{pathname:t,search:"?"===n?"":n,hash:"#"===r?"":r}}(e),o.state=t):(void 0===(o=(0,r.A)({},e)).pathname&&(o.pathname=""),o.search?"?"!==o.search.charAt(0)&&(o.search="?"+o.search):o.search="",o.hash?"#"!==o.hash.charAt(0)&&(o.hash="#"+o.hash):o.hash="",void 0!==t&&void 0===o.state&&(o.state=t));try{o.pathname=decodeURI(o.pathname)}catch(l){throw l instanceof URIError?new URIError('Pathname "'+o.pathname+'" could not be decoded. This is likely caused by an invalid percent-encoding.'):l}return n&&(o.key=n),a?o.pathname?"/"!==o.pathname.charAt(0)&&(o.pathname=i(o.pathname,a.pathname)):o.pathname=a.pathname:o.pathname||(o.pathname="/"),o}function m(){var e=null;var t=[];return{setPrompt:function(t){return e=t,function(){e===t&&(e=null)}},confirmTransitionTo:function(t,n,r,a){if(null!=e){var o="function"==typeof e?e(t,n):e;"string"==typeof o?"function"==typeof r?r(o,a):a(!0):a(!1!==o)}else a(!0)},appendListener:function(e){var n=!0;function r(){n&&e.apply(void 0,arguments)}return t.push(r),function(){n=!1,t=t.filter((function(e){return e!==r}))}},notifyListeners:function(){for(var e=arguments.length,n=new Array(e),r=0;rt?n.splice(t,n.length-t,a):n.push(a),d({action:r,location:a,index:t,entries:n})}}))},replace:function(e,t){var r="REPLACE",a=p(e,t,g(),w.location);c.confirmTransitionTo(a,r,n,(function(e){e&&(w.entries[w.index]=a,d({action:r,location:a}))}))},go:b,goBack:function(){b(-1)},goForward:function(){b(1)},canGo:function(e){var t=w.index+e;return t>=0&&t{"use strict";var r=n(5959),a={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},o={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},i={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},l={};function s(e){return r.isMemo(e)?i:l[e.$$typeof]||a}l[r.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},l[r.Memo]=i;var u=Object.defineProperty,c=Object.getOwnPropertyNames,d=Object.getOwnPropertySymbols,f=Object.getOwnPropertyDescriptor,p=Object.getPrototypeOf,m=Object.prototype;e.exports=function e(t,n,r){if("string"!=typeof n){if(m){var a=p(n);a&&a!==m&&e(t,a,r)}var i=c(n);d&&(i=i.concat(d(n)));for(var l=s(t),g=s(n),h=0;h{"use strict";e.exports=function(e,t,n,r,a,o,i,l){if(!e){var s;if(void 0===t)s=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var u=[n,r,a,o,i,l],c=0;(s=new Error(t.replace(/%s/g,(function(){return u[c++]})))).name="Invariant Violation"}throw s.framesToPop=1,s}}},5526:e=>{e.exports=Array.isArray||function(e){return"[object Array]"==Object.prototype.toString.call(e)}},9909:(e,t,n)=>{"use strict";n.r(t)},4342:(e,t,n)=>{"use strict";n.r(t)},8744:function(e,t,n){var r,a;r=function(){var e,t,n={version:"0.2.0"},r=n.settings={minimum:.08,easing:"ease",positionUsing:"",speed:200,trickle:!0,trickleRate:.02,trickleSpeed:800,showSpinner:!0,barSelector:'[role="bar"]',spinnerSelector:'[role="spinner"]',parent:"body",template:'
'};function a(e,t,n){return en?n:e}function o(e){return 100*(-1+e)}function i(e,t,n){var a;return(a="translate3d"===r.positionUsing?{transform:"translate3d("+o(e)+"%,0,0)"}:"translate"===r.positionUsing?{transform:"translate("+o(e)+"%,0)"}:{"margin-left":o(e)+"%"}).transition="all "+t+"ms "+n,a}n.configure=function(e){var t,n;for(t in e)void 0!==(n=e[t])&&e.hasOwnProperty(t)&&(r[t]=n);return this},n.status=null,n.set=function(e){var t=n.isStarted();e=a(e,r.minimum,1),n.status=1===e?null:e;var o=n.render(!t),u=o.querySelector(r.barSelector),c=r.speed,d=r.easing;return o.offsetWidth,l((function(t){""===r.positionUsing&&(r.positionUsing=n.getPositioningCSS()),s(u,i(e,c,d)),1===e?(s(o,{transition:"none",opacity:1}),o.offsetWidth,setTimeout((function(){s(o,{transition:"all "+c+"ms linear",opacity:0}),setTimeout((function(){n.remove(),t()}),c)}),c)):setTimeout(t,c)})),this},n.isStarted=function(){return"number"==typeof n.status},n.start=function(){n.status||n.set(0);var e=function(){setTimeout((function(){n.status&&(n.trickle(),e())}),r.trickleSpeed)};return r.trickle&&e(),this},n.done=function(e){return e||n.status?n.inc(.3+.5*Math.random()).set(1):this},n.inc=function(e){var t=n.status;return t?("number"!=typeof e&&(e=(1-t)*a(Math.random()*t,.1,.95)),t=a(t+e,0,.994),n.set(t)):n.start()},n.trickle=function(){return n.inc(Math.random()*r.trickleRate)},e=0,t=0,n.promise=function(r){return r&&"resolved"!==r.state()?(0===t&&n.start(),e++,t++,r.always((function(){0==--t?(e=0,n.done()):n.set((e-t)/e)})),this):this},n.render=function(e){if(n.isRendered())return document.getElementById("nprogress");c(document.documentElement,"nprogress-busy");var t=document.createElement("div");t.id="nprogress",t.innerHTML=r.template;var a,i=t.querySelector(r.barSelector),l=e?"-100":o(n.status||0),u=document.querySelector(r.parent);return s(i,{transition:"all 0 linear",transform:"translate3d("+l+"%,0,0)"}),r.showSpinner||(a=t.querySelector(r.spinnerSelector))&&p(a),u!=document.body&&c(u,"nprogress-custom-parent"),u.appendChild(t),t},n.remove=function(){d(document.documentElement,"nprogress-busy"),d(document.querySelector(r.parent),"nprogress-custom-parent");var e=document.getElementById("nprogress");e&&p(e)},n.isRendered=function(){return!!document.getElementById("nprogress")},n.getPositioningCSS=function(){var e=document.body.style,t="WebkitTransform"in e?"Webkit":"MozTransform"in e?"Moz":"msTransform"in e?"ms":"OTransform"in e?"O":"";return t+"Perspective"in e?"translate3d":t+"Transform"in e?"translate":"margin"};var l=function(){var e=[];function t(){var n=e.shift();n&&n(t)}return function(n){e.push(n),1==e.length&&t()}}(),s=function(){var e=["Webkit","O","Moz","ms"],t={};function n(e){return e.replace(/^-ms-/,"ms-").replace(/-([\da-z])/gi,(function(e,t){return t.toUpperCase()}))}function r(t){var n=document.body.style;if(t in n)return t;for(var r,a=e.length,o=t.charAt(0).toUpperCase()+t.slice(1);a--;)if((r=e[a]+o)in n)return r;return t}function a(e){return e=n(e),t[e]||(t[e]=r(e))}function o(e,t,n){t=a(t),e.style[t]=n}return function(e,t){var n,r,a=arguments;if(2==a.length)for(n in t)void 0!==(r=t[n])&&t.hasOwnProperty(n)&&o(e,n,r);else o(e,a[1],a[2])}}();function u(e,t){return("string"==typeof e?e:f(e)).indexOf(" "+t+" ")>=0}function c(e,t){var n=f(e),r=n+t;u(n,t)||(e.className=r.substring(1))}function d(e,t){var n,r=f(e);u(e,t)&&(n=r.replace(" "+t+" "," "),e.className=n.substring(1,n.length-1))}function f(e){return(" "+(e.className||"")+" ").replace(/\s+/gi," ")}function p(e){e&&e.parentNode&&e.parentNode.removeChild(e)}return n},void 0===(a="function"==typeof r?r.call(t,n,t,e):r)||(e.exports=a)},4785:(e,t,n)=>{var r=n(5526);e.exports=m,e.exports.parse=o,e.exports.compile=function(e,t){return s(o(e,t),t)},e.exports.tokensToFunction=s,e.exports.tokensToRegExp=p;var a=new RegExp(["(\\\\.)","([\\/.])?(?:(?:\\:(\\w+)(?:\\(((?:\\\\.|[^\\\\()])+)\\))?|\\(((?:\\\\.|[^\\\\()])+)\\))([+*?])?|(\\*))"].join("|"),"g");function o(e,t){for(var n,r=[],o=0,l=0,s="",u=t&&t.delimiter||"/";null!=(n=a.exec(e));){var d=n[0],f=n[1],p=n.index;if(s+=e.slice(l,p),l=p+d.length,f)s+=f[1];else{var m=e[l],g=n[2],h=n[3],y=n[4],v=n[5],b=n[6],w=n[7];s&&(r.push(s),s="");var k=null!=g&&null!=m&&m!==g,x="+"===b||"*"===b,S="?"===b||"*"===b,E=g||u,C=y||v,A=g||("string"==typeof r[r.length-1]?r[r.length-1]:"");r.push({name:h||o++,prefix:g||"",delimiter:E,optional:S,repeat:x,partial:k,asterisk:!!w,pattern:C?c(C):w?".*":i(E,A)})}}return l-1?"[^"+u(e)+"]+?":u(t)+"|(?:(?!"+u(t)+")[^"+u(e)+"])+?"}function l(e){return encodeURI(e).replace(/[\/?#]/g,(function(e){return"%"+e.charCodeAt(0).toString(16).toUpperCase()}))}function s(e,t){for(var n=new Array(e.length),a=0;a{e.exports&&(e.exports={core:{meta:{path:"components/prism-core.js",option:"mandatory"},core:"Core"},themes:{meta:{path:"themes/{id}.css",link:"index.html?theme={id}",exclusive:!0},prism:{title:"Default",option:"default"},"prism-dark":"Dark","prism-funky":"Funky","prism-okaidia":{title:"Okaidia",owner:"ocodia"},"prism-twilight":{title:"Twilight",owner:"remybach"},"prism-coy":{title:"Coy",owner:"tshedor"},"prism-solarizedlight":{title:"Solarized Light",owner:"hectormatos2011 "},"prism-tomorrow":{title:"Tomorrow Night",owner:"Rosey"}},languages:{meta:{path:"components/prism-{id}",noCSS:!0,examplesPath:"examples/prism-{id}",addCheckAll:!0},markup:{title:"Markup",alias:["html","xml","svg","mathml","ssml","atom","rss"],aliasTitles:{html:"HTML",xml:"XML",svg:"SVG",mathml:"MathML",ssml:"SSML",atom:"Atom",rss:"RSS"},option:"default"},css:{title:"CSS",option:"default",modify:"markup"},clike:{title:"C-like",option:"default"},javascript:{title:"JavaScript",require:"clike",modify:"markup",optional:"regex",alias:"js",option:"default"},abap:{title:"ABAP",owner:"dellagustin"},abnf:{title:"ABNF",owner:"RunDevelopment"},actionscript:{title:"ActionScript",require:"javascript",modify:"markup",owner:"Golmote"},ada:{title:"Ada",owner:"Lucretia"},agda:{title:"Agda",owner:"xy-ren"},al:{title:"AL",owner:"RunDevelopment"},antlr4:{title:"ANTLR4",alias:"g4",owner:"RunDevelopment"},apacheconf:{title:"Apache Configuration",owner:"GuiTeK"},apex:{title:"Apex",require:["clike","sql"],owner:"RunDevelopment"},apl:{title:"APL",owner:"ngn"},applescript:{title:"AppleScript",owner:"Golmote"},aql:{title:"AQL",owner:"RunDevelopment"},arduino:{title:"Arduino",require:"cpp",alias:"ino",owner:"dkern"},arff:{title:"ARFF",owner:"Golmote"},armasm:{title:"ARM Assembly",alias:"arm-asm",owner:"RunDevelopment"},arturo:{title:"Arturo",alias:"art",optional:["bash","css","javascript","markup","markdown","sql"],owner:"drkameleon"},asciidoc:{alias:"adoc",title:"AsciiDoc",owner:"Golmote"},aspnet:{title:"ASP.NET (C#)",require:["markup","csharp"],owner:"nauzilus"},asm6502:{title:"6502 Assembly",owner:"kzurawel"},asmatmel:{title:"Atmel AVR Assembly",owner:"cerkit"},autohotkey:{title:"AutoHotkey",owner:"aviaryan"},autoit:{title:"AutoIt",owner:"Golmote"},avisynth:{title:"AviSynth",alias:"avs",owner:"Zinfidel"},"avro-idl":{title:"Avro IDL",alias:"avdl",owner:"RunDevelopment"},awk:{title:"AWK",alias:"gawk",aliasTitles:{gawk:"GAWK"},owner:"RunDevelopment"},bash:{title:"Bash",alias:["sh","shell"],aliasTitles:{sh:"Shell",shell:"Shell"},owner:"zeitgeist87"},basic:{title:"BASIC",owner:"Golmote"},batch:{title:"Batch",owner:"Golmote"},bbcode:{title:"BBcode",alias:"shortcode",aliasTitles:{shortcode:"Shortcode"},owner:"RunDevelopment"},bbj:{title:"BBj",owner:"hyyan"},bicep:{title:"Bicep",owner:"johnnyreilly"},birb:{title:"Birb",require:"clike",owner:"Calamity210"},bison:{title:"Bison",require:"c",owner:"Golmote"},bnf:{title:"BNF",alias:"rbnf",aliasTitles:{rbnf:"RBNF"},owner:"RunDevelopment"},bqn:{title:"BQN",owner:"yewscion"},brainfuck:{title:"Brainfuck",owner:"Golmote"},brightscript:{title:"BrightScript",owner:"RunDevelopment"},bro:{title:"Bro",owner:"wayward710"},bsl:{title:"BSL (1C:Enterprise)",alias:"oscript",aliasTitles:{oscript:"OneScript"},owner:"Diversus23"},c:{title:"C",require:"clike",owner:"zeitgeist87"},csharp:{title:"C#",require:"clike",alias:["cs","dotnet"],owner:"mvalipour"},cpp:{title:"C++",require:"c",owner:"zeitgeist87"},cfscript:{title:"CFScript",require:"clike",alias:"cfc",owner:"mjclemente"},chaiscript:{title:"ChaiScript",require:["clike","cpp"],owner:"RunDevelopment"},cil:{title:"CIL",owner:"sbrl"},cilkc:{title:"Cilk/C",require:"c",alias:"cilk-c",owner:"OpenCilk"},cilkcpp:{title:"Cilk/C++",require:"cpp",alias:["cilk-cpp","cilk"],owner:"OpenCilk"},clojure:{title:"Clojure",owner:"troglotit"},cmake:{title:"CMake",owner:"mjrogozinski"},cobol:{title:"COBOL",owner:"RunDevelopment"},coffeescript:{title:"CoffeeScript",require:"javascript",alias:"coffee",owner:"R-osey"},concurnas:{title:"Concurnas",alias:"conc",owner:"jasontatton"},csp:{title:"Content-Security-Policy",owner:"ScottHelme"},cooklang:{title:"Cooklang",owner:"ahue"},coq:{title:"Coq",owner:"RunDevelopment"},crystal:{title:"Crystal",require:"ruby",owner:"MakeNowJust"},"css-extras":{title:"CSS Extras",require:"css",modify:"css",owner:"milesj"},csv:{title:"CSV",owner:"RunDevelopment"},cue:{title:"CUE",owner:"RunDevelopment"},cypher:{title:"Cypher",owner:"RunDevelopment"},d:{title:"D",require:"clike",owner:"Golmote"},dart:{title:"Dart",require:"clike",owner:"Golmote"},dataweave:{title:"DataWeave",owner:"machaval"},dax:{title:"DAX",owner:"peterbud"},dhall:{title:"Dhall",owner:"RunDevelopment"},diff:{title:"Diff",owner:"uranusjr"},django:{title:"Django/Jinja2",require:"markup-templating",alias:"jinja2",owner:"romanvm"},"dns-zone-file":{title:"DNS zone file",owner:"RunDevelopment",alias:"dns-zone"},docker:{title:"Docker",alias:"dockerfile",owner:"JustinBeckwith"},dot:{title:"DOT (Graphviz)",alias:"gv",optional:"markup",owner:"RunDevelopment"},ebnf:{title:"EBNF",owner:"RunDevelopment"},editorconfig:{title:"EditorConfig",owner:"osipxd"},eiffel:{title:"Eiffel",owner:"Conaclos"},ejs:{title:"EJS",require:["javascript","markup-templating"],owner:"RunDevelopment",alias:"eta",aliasTitles:{eta:"Eta"}},elixir:{title:"Elixir",owner:"Golmote"},elm:{title:"Elm",owner:"zwilias"},etlua:{title:"Embedded Lua templating",require:["lua","markup-templating"],owner:"RunDevelopment"},erb:{title:"ERB",require:["ruby","markup-templating"],owner:"Golmote"},erlang:{title:"Erlang",owner:"Golmote"},"excel-formula":{title:"Excel Formula",alias:["xlsx","xls"],owner:"RunDevelopment"},fsharp:{title:"F#",require:"clike",owner:"simonreynolds7"},factor:{title:"Factor",owner:"catb0t"},false:{title:"False",owner:"edukisto"},"firestore-security-rules":{title:"Firestore security rules",require:"clike",owner:"RunDevelopment"},flow:{title:"Flow",require:"javascript",owner:"Golmote"},fortran:{title:"Fortran",owner:"Golmote"},ftl:{title:"FreeMarker Template Language",require:"markup-templating",owner:"RunDevelopment"},gml:{title:"GameMaker Language",alias:"gamemakerlanguage",require:"clike",owner:"LiarOnce"},gap:{title:"GAP (CAS)",owner:"RunDevelopment"},gcode:{title:"G-code",owner:"RunDevelopment"},gdscript:{title:"GDScript",owner:"RunDevelopment"},gedcom:{title:"GEDCOM",owner:"Golmote"},gettext:{title:"gettext",alias:"po",owner:"RunDevelopment"},gherkin:{title:"Gherkin",owner:"hason"},git:{title:"Git",owner:"lgiraudel"},glsl:{title:"GLSL",require:"c",owner:"Golmote"},gn:{title:"GN",alias:"gni",owner:"RunDevelopment"},"linker-script":{title:"GNU Linker Script",alias:"ld",owner:"RunDevelopment"},go:{title:"Go",require:"clike",owner:"arnehormann"},"go-module":{title:"Go module",alias:"go-mod",owner:"RunDevelopment"},gradle:{title:"Gradle",require:"clike",owner:"zeabdelkhalek-badido18"},graphql:{title:"GraphQL",optional:"markdown",owner:"Golmote"},groovy:{title:"Groovy",require:"clike",owner:"robfletcher"},haml:{title:"Haml",require:"ruby",optional:["css","css-extras","coffeescript","erb","javascript","less","markdown","scss","textile"],owner:"Golmote"},handlebars:{title:"Handlebars",require:"markup-templating",alias:["hbs","mustache"],aliasTitles:{mustache:"Mustache"},owner:"Golmote"},haskell:{title:"Haskell",alias:"hs",owner:"bholst"},haxe:{title:"Haxe",require:"clike",optional:"regex",owner:"Golmote"},hcl:{title:"HCL",owner:"outsideris"},hlsl:{title:"HLSL",require:"c",owner:"RunDevelopment"},hoon:{title:"Hoon",owner:"matildepark"},http:{title:"HTTP",optional:["csp","css","hpkp","hsts","javascript","json","markup","uri"],owner:"danielgtaylor"},hpkp:{title:"HTTP Public-Key-Pins",owner:"ScottHelme"},hsts:{title:"HTTP Strict-Transport-Security",owner:"ScottHelme"},ichigojam:{title:"IchigoJam",owner:"BlueCocoa"},icon:{title:"Icon",owner:"Golmote"},"icu-message-format":{title:"ICU Message Format",owner:"RunDevelopment"},idris:{title:"Idris",alias:"idr",owner:"KeenS",require:"haskell"},ignore:{title:".ignore",owner:"osipxd",alias:["gitignore","hgignore","npmignore"],aliasTitles:{gitignore:".gitignore",hgignore:".hgignore",npmignore:".npmignore"}},inform7:{title:"Inform 7",owner:"Golmote"},ini:{title:"Ini",owner:"aviaryan"},io:{title:"Io",owner:"AlesTsurko"},j:{title:"J",owner:"Golmote"},java:{title:"Java",require:"clike",owner:"sherblot"},javadoc:{title:"JavaDoc",require:["markup","java","javadoclike"],modify:"java",optional:"scala",owner:"RunDevelopment"},javadoclike:{title:"JavaDoc-like",modify:["java","javascript","php"],owner:"RunDevelopment"},javastacktrace:{title:"Java stack trace",owner:"RunDevelopment"},jexl:{title:"Jexl",owner:"czosel"},jolie:{title:"Jolie",require:"clike",owner:"thesave"},jq:{title:"JQ",owner:"RunDevelopment"},jsdoc:{title:"JSDoc",require:["javascript","javadoclike","typescript"],modify:"javascript",optional:["actionscript","coffeescript"],owner:"RunDevelopment"},"js-extras":{title:"JS Extras",require:"javascript",modify:"javascript",optional:["actionscript","coffeescript","flow","n4js","typescript"],owner:"RunDevelopment"},json:{title:"JSON",alias:"webmanifest",aliasTitles:{webmanifest:"Web App Manifest"},owner:"CupOfTea696"},json5:{title:"JSON5",require:"json",owner:"RunDevelopment"},jsonp:{title:"JSONP",require:"json",owner:"RunDevelopment"},jsstacktrace:{title:"JS stack trace",owner:"sbrl"},"js-templates":{title:"JS Templates",require:"javascript",modify:"javascript",optional:["css","css-extras","graphql","markdown","markup","sql"],owner:"RunDevelopment"},julia:{title:"Julia",owner:"cdagnino"},keepalived:{title:"Keepalived Configure",owner:"dev-itsheng"},keyman:{title:"Keyman",owner:"mcdurdin"},kotlin:{title:"Kotlin",alias:["kt","kts"],aliasTitles:{kts:"Kotlin Script"},require:"clike",owner:"Golmote"},kumir:{title:"KuMir (\u041a\u0443\u041c\u0438\u0440)",alias:"kum",owner:"edukisto"},kusto:{title:"Kusto",owner:"RunDevelopment"},latex:{title:"LaTeX",alias:["tex","context"],aliasTitles:{tex:"TeX",context:"ConTeXt"},owner:"japborst"},latte:{title:"Latte",require:["clike","markup-templating","php"],owner:"nette"},less:{title:"Less",require:"css",optional:"css-extras",owner:"Golmote"},lilypond:{title:"LilyPond",require:"scheme",alias:"ly",owner:"RunDevelopment"},liquid:{title:"Liquid",require:"markup-templating",owner:"cinhtau"},lisp:{title:"Lisp",alias:["emacs","elisp","emacs-lisp"],owner:"JuanCaicedo"},livescript:{title:"LiveScript",owner:"Golmote"},llvm:{title:"LLVM IR",owner:"porglezomp"},log:{title:"Log file",optional:"javastacktrace",owner:"RunDevelopment"},lolcode:{title:"LOLCODE",owner:"Golmote"},lua:{title:"Lua",owner:"Golmote"},magma:{title:"Magma (CAS)",owner:"RunDevelopment"},makefile:{title:"Makefile",owner:"Golmote"},markdown:{title:"Markdown",require:"markup",optional:"yaml",alias:"md",owner:"Golmote"},"markup-templating":{title:"Markup templating",require:"markup",owner:"Golmote"},mata:{title:"Mata",owner:"RunDevelopment"},matlab:{title:"MATLAB",owner:"Golmote"},maxscript:{title:"MAXScript",owner:"RunDevelopment"},mel:{title:"MEL",owner:"Golmote"},mermaid:{title:"Mermaid",owner:"RunDevelopment"},metafont:{title:"METAFONT",owner:"LaeriExNihilo"},mizar:{title:"Mizar",owner:"Golmote"},mongodb:{title:"MongoDB",owner:"airs0urce",require:"javascript"},monkey:{title:"Monkey",owner:"Golmote"},moonscript:{title:"MoonScript",alias:"moon",owner:"RunDevelopment"},n1ql:{title:"N1QL",owner:"TMWilds"},n4js:{title:"N4JS",require:"javascript",optional:"jsdoc",alias:"n4jsd",owner:"bsmith-n4"},"nand2tetris-hdl":{title:"Nand To Tetris HDL",owner:"stephanmax"},naniscript:{title:"Naninovel Script",owner:"Elringus",alias:"nani"},nasm:{title:"NASM",owner:"rbmj"},neon:{title:"NEON",owner:"nette"},nevod:{title:"Nevod",owner:"nezaboodka"},nginx:{title:"nginx",owner:"volado"},nim:{title:"Nim",owner:"Golmote"},nix:{title:"Nix",owner:"Golmote"},nsis:{title:"NSIS",owner:"idleberg"},objectivec:{title:"Objective-C",require:"c",alias:"objc",owner:"uranusjr"},ocaml:{title:"OCaml",owner:"Golmote"},odin:{title:"Odin",owner:"edukisto"},opencl:{title:"OpenCL",require:"c",modify:["c","cpp"],owner:"Milania1"},openqasm:{title:"OpenQasm",alias:"qasm",owner:"RunDevelopment"},oz:{title:"Oz",owner:"Golmote"},parigp:{title:"PARI/GP",owner:"Golmote"},parser:{title:"Parser",require:"markup",owner:"Golmote"},pascal:{title:"Pascal",alias:"objectpascal",aliasTitles:{objectpascal:"Object Pascal"},owner:"Golmote"},pascaligo:{title:"Pascaligo",owner:"DefinitelyNotAGoat"},psl:{title:"PATROL Scripting Language",owner:"bertysentry"},pcaxis:{title:"PC-Axis",alias:"px",owner:"RunDevelopment"},peoplecode:{title:"PeopleCode",alias:"pcode",owner:"RunDevelopment"},perl:{title:"Perl",owner:"Golmote"},php:{title:"PHP",require:"markup-templating",owner:"milesj"},phpdoc:{title:"PHPDoc",require:["php","javadoclike"],modify:"php",owner:"RunDevelopment"},"php-extras":{title:"PHP Extras",require:"php",modify:"php",owner:"milesj"},"plant-uml":{title:"PlantUML",alias:"plantuml",owner:"RunDevelopment"},plsql:{title:"PL/SQL",require:"sql",owner:"Golmote"},powerquery:{title:"PowerQuery",alias:["pq","mscript"],owner:"peterbud"},powershell:{title:"PowerShell",owner:"nauzilus"},processing:{title:"Processing",require:"clike",owner:"Golmote"},prolog:{title:"Prolog",owner:"Golmote"},promql:{title:"PromQL",owner:"arendjr"},properties:{title:".properties",owner:"Golmote"},protobuf:{title:"Protocol Buffers",require:"clike",owner:"just-boris"},pug:{title:"Pug",require:["markup","javascript"],optional:["coffeescript","ejs","handlebars","less","livescript","markdown","scss","stylus","twig"],owner:"Golmote"},puppet:{title:"Puppet",owner:"Golmote"},pure:{title:"Pure",optional:["c","cpp","fortran"],owner:"Golmote"},purebasic:{title:"PureBasic",require:"clike",alias:"pbfasm",owner:"HeX0R101"},purescript:{title:"PureScript",require:"haskell",alias:"purs",owner:"sriharshachilakapati"},python:{title:"Python",alias:"py",owner:"multipetros"},qsharp:{title:"Q#",require:"clike",alias:"qs",owner:"fedonman"},q:{title:"Q (kdb+ database)",owner:"Golmote"},qml:{title:"QML",require:"javascript",owner:"RunDevelopment"},qore:{title:"Qore",require:"clike",owner:"temnroegg"},r:{title:"R",owner:"Golmote"},racket:{title:"Racket",require:"scheme",alias:"rkt",owner:"RunDevelopment"},cshtml:{title:"Razor C#",alias:"razor",require:["markup","csharp"],optional:["css","css-extras","javascript","js-extras"],owner:"RunDevelopment"},jsx:{title:"React JSX",require:["markup","javascript"],optional:["jsdoc","js-extras","js-templates"],owner:"vkbansal"},tsx:{title:"React TSX",require:["jsx","typescript"]},reason:{title:"Reason",require:"clike",owner:"Golmote"},regex:{title:"Regex",owner:"RunDevelopment"},rego:{title:"Rego",owner:"JordanSh"},renpy:{title:"Ren'py",alias:"rpy",owner:"HyuchiaDiego"},rescript:{title:"ReScript",alias:"res",owner:"vmarcosp"},rest:{title:"reST (reStructuredText)",owner:"Golmote"},rip:{title:"Rip",owner:"ravinggenius"},roboconf:{title:"Roboconf",owner:"Golmote"},robotframework:{title:"Robot Framework",alias:"robot",owner:"RunDevelopment"},ruby:{title:"Ruby",require:"clike",alias:"rb",owner:"samflores"},rust:{title:"Rust",owner:"Golmote"},sas:{title:"SAS",optional:["groovy","lua","sql"],owner:"Golmote"},sass:{title:"Sass (Sass)",require:"css",optional:"css-extras",owner:"Golmote"},scss:{title:"Sass (SCSS)",require:"css",optional:"css-extras",owner:"MoOx"},scala:{title:"Scala",require:"java",owner:"jozic"},scheme:{title:"Scheme",owner:"bacchus123"},"shell-session":{title:"Shell session",require:"bash",alias:["sh-session","shellsession"],owner:"RunDevelopment"},smali:{title:"Smali",owner:"RunDevelopment"},smalltalk:{title:"Smalltalk",owner:"Golmote"},smarty:{title:"Smarty",require:"markup-templating",optional:"php",owner:"Golmote"},sml:{title:"SML",alias:"smlnj",aliasTitles:{smlnj:"SML/NJ"},owner:"RunDevelopment"},solidity:{title:"Solidity (Ethereum)",alias:"sol",require:"clike",owner:"glachaud"},"solution-file":{title:"Solution file",alias:"sln",owner:"RunDevelopment"},soy:{title:"Soy (Closure Template)",require:"markup-templating",owner:"Golmote"},sparql:{title:"SPARQL",require:"turtle",owner:"Triply-Dev",alias:"rq"},"splunk-spl":{title:"Splunk SPL",owner:"RunDevelopment"},sqf:{title:"SQF: Status Quo Function (Arma 3)",require:"clike",owner:"RunDevelopment"},sql:{title:"SQL",owner:"multipetros"},squirrel:{title:"Squirrel",require:"clike",owner:"RunDevelopment"},stan:{title:"Stan",owner:"RunDevelopment"},stata:{title:"Stata Ado",require:["mata","java","python"],owner:"RunDevelopment"},iecst:{title:"Structured Text (IEC 61131-3)",owner:"serhioromano"},stylus:{title:"Stylus",owner:"vkbansal"},supercollider:{title:"SuperCollider",alias:"sclang",owner:"RunDevelopment"},swift:{title:"Swift",owner:"chrischares"},systemd:{title:"Systemd configuration file",owner:"RunDevelopment"},"t4-templating":{title:"T4 templating",owner:"RunDevelopment"},"t4-cs":{title:"T4 Text Templates (C#)",require:["t4-templating","csharp"],alias:"t4",owner:"RunDevelopment"},"t4-vb":{title:"T4 Text Templates (VB)",require:["t4-templating","vbnet"],owner:"RunDevelopment"},tap:{title:"TAP",owner:"isaacs",require:"yaml"},tcl:{title:"Tcl",owner:"PeterChaplin"},tt2:{title:"Template Toolkit 2",require:["clike","markup-templating"],owner:"gflohr"},textile:{title:"Textile",require:"markup",optional:"css",owner:"Golmote"},toml:{title:"TOML",owner:"RunDevelopment"},tremor:{title:"Tremor",alias:["trickle","troy"],owner:"darach",aliasTitles:{trickle:"trickle",troy:"troy"}},turtle:{title:"Turtle",alias:"trig",aliasTitles:{trig:"TriG"},owner:"jakubklimek"},twig:{title:"Twig",require:"markup-templating",owner:"brandonkelly"},typescript:{title:"TypeScript",require:"javascript",optional:"js-templates",alias:"ts",owner:"vkbansal"},typoscript:{title:"TypoScript",alias:"tsconfig",aliasTitles:{tsconfig:"TSConfig"},owner:"dkern"},unrealscript:{title:"UnrealScript",alias:["uscript","uc"],owner:"RunDevelopment"},uorazor:{title:"UO Razor Script",owner:"jaseowns"},uri:{title:"URI",alias:"url",aliasTitles:{url:"URL"},owner:"RunDevelopment"},v:{title:"V",require:"clike",owner:"taggon"},vala:{title:"Vala",require:"clike",optional:"regex",owner:"TemplarVolk"},vbnet:{title:"VB.Net",require:"basic",owner:"Bigsby"},velocity:{title:"Velocity",require:"markup",owner:"Golmote"},verilog:{title:"Verilog",owner:"a-rey"},vhdl:{title:"VHDL",owner:"a-rey"},vim:{title:"vim",owner:"westonganger"},"visual-basic":{title:"Visual Basic",alias:["vb","vba"],aliasTitles:{vba:"VBA"},owner:"Golmote"},warpscript:{title:"WarpScript",owner:"RunDevelopment"},wasm:{title:"WebAssembly",owner:"Golmote"},"web-idl":{title:"Web IDL",alias:"webidl",owner:"RunDevelopment"},wgsl:{title:"WGSL",owner:"Dr4gonthree"},wiki:{title:"Wiki markup",require:"markup",owner:"Golmote"},wolfram:{title:"Wolfram language",alias:["mathematica","nb","wl"],aliasTitles:{mathematica:"Mathematica",nb:"Mathematica Notebook"},owner:"msollami"},wren:{title:"Wren",owner:"clsource"},xeora:{title:"Xeora",require:"markup",alias:"xeoracube",aliasTitles:{xeoracube:"XeoraCube"},owner:"freakmaxi"},"xml-doc":{title:"XML doc (.net)",require:"markup",modify:["csharp","fsharp","vbnet"],owner:"RunDevelopment"},xojo:{title:"Xojo (REALbasic)",owner:"Golmote"},xquery:{title:"XQuery",require:"markup",owner:"Golmote"},yaml:{title:"YAML",alias:"yml",owner:"hason"},yang:{title:"YANG",owner:"RunDevelopment"},zig:{title:"Zig",owner:"RunDevelopment"}},plugins:{meta:{path:"plugins/{id}/prism-{id}",link:"plugins/{id}/"},"line-highlight":{title:"Line Highlight",description:"Highlights specific lines and/or line ranges."},"line-numbers":{title:"Line Numbers",description:"Line number at the beginning of code lines.",owner:"kuba-kubula"},"show-invisibles":{title:"Show Invisibles",description:"Show hidden characters such as tabs and line breaks.",optional:["autolinker","data-uri-highlight"]},autolinker:{title:"Autolinker",description:"Converts URLs and emails in code to clickable links. Parses Markdown links in comments."},wpd:{title:"WebPlatform Docs",description:'Makes tokens link to WebPlatform.org documentation. The links open in a new tab.'},"custom-class":{title:"Custom Class",description:"This plugin allows you to prefix Prism's default classes (.comment can become .namespace--comment) or replace them with your defined ones (like .editor__comment). You can even add new classes.",owner:"dvkndn",noCSS:!0},"file-highlight":{title:"File Highlight",description:"Fetch external files and highlight them with Prism. Used on the Prism website itself.",noCSS:!0},"show-language":{title:"Show Language",description:"Display the highlighted language in code blocks (inline code does not show the label).",owner:"nauzilus",noCSS:!0,require:"toolbar"},"jsonp-highlight":{title:"JSONP Highlight",description:"Fetch content with JSONP and highlight some interesting content (e.g. GitHub/Gists or Bitbucket API).",noCSS:!0,owner:"nauzilus"},"highlight-keywords":{title:"Highlight Keywords",description:"Adds special CSS classes for each keyword for fine-grained highlighting.",owner:"vkbansal",noCSS:!0},"remove-initial-line-feed":{title:"Remove initial line feed",description:"Removes the initial line feed in code blocks.",owner:"Golmote",noCSS:!0},"inline-color":{title:"Inline color",description:"Adds a small inline preview for colors in style sheets.",require:"css-extras",owner:"RunDevelopment"},previewers:{title:"Previewers",description:"Previewers for angles, colors, gradients, easing and time.",require:"css-extras",owner:"Golmote"},autoloader:{title:"Autoloader",description:"Automatically loads the needed languages to highlight the code blocks.",owner:"Golmote",noCSS:!0},"keep-markup":{title:"Keep Markup",description:"Prevents custom markup from being dropped out during highlighting.",owner:"Golmote",optional:"normalize-whitespace",noCSS:!0},"command-line":{title:"Command Line",description:"Display a command line with a prompt and, optionally, the output/response from the commands.",owner:"chriswells0"},"unescaped-markup":{title:"Unescaped Markup",description:"Write markup without having to escape anything."},"normalize-whitespace":{title:"Normalize Whitespace",description:"Supports multiple operations to normalize whitespace in code blocks.",owner:"zeitgeist87",optional:"unescaped-markup",noCSS:!0},"data-uri-highlight":{title:"Data-URI Highlight",description:"Highlights data-URI contents.",owner:"Golmote",noCSS:!0},toolbar:{title:"Toolbar",description:"Attach a toolbar for plugins to easily register buttons on the top of a code block.",owner:"mAAdhaTTah"},"copy-to-clipboard":{title:"Copy to Clipboard Button",description:"Add a button that copies the code block to the clipboard when clicked.",owner:"mAAdhaTTah",require:"toolbar",noCSS:!0},"download-button":{title:"Download Button",description:"A button in the toolbar of a code block adding a convenient way to download a code file.",owner:"Golmote",require:"toolbar",noCSS:!0},"match-braces":{title:"Match braces",description:"Highlights matching braces.",owner:"RunDevelopment"},"diff-highlight":{title:"Diff Highlight",description:"Highlights the code inside diff blocks.",owner:"RunDevelopment",require:"diff"},"filter-highlight-all":{title:"Filter highlightAll",description:"Filters the elements the highlightAll and highlightAllUnder methods actually highlight.",owner:"RunDevelopment",noCSS:!0},treeview:{title:"Treeview",description:"A language with special styles to highlight file system tree structures.",owner:"Golmote"}}})},6532:(e,t,n)=>{const r=n(9227),a=n(9670),o=new Set;function i(e){void 0===e?e=Object.keys(r.languages).filter((e=>"meta"!=e)):Array.isArray(e)||(e=[e]);const t=[...o,...Object.keys(Prism.languages)];a(r,e,t).load((e=>{if(!(e in r.languages))return void(i.silent||console.warn("Language does not exist: "+e));const t="./prism-"+e;delete n.c[n(7507).resolve(t)],delete Prism.languages[e],n(7507)(t),o.add(e)}))}i.silent=!1,e.exports=i},1274:()=>{!function(e){function t(e,t){return"___"+e.toUpperCase()+t+"___"}Object.defineProperties(e.languages["markup-templating"]={},{buildPlaceholders:{value:function(n,r,a,o){if(n.language===r){var i=n.tokenStack=[];n.code=n.code.replace(a,(function(e){if("function"==typeof o&&!o(e))return e;for(var a,l=i.length;-1!==n.code.indexOf(a=t(r,l));)++l;return i[l]=e,a})),n.grammar=e.languages.markup}}},tokenizePlaceholders:{value:function(n,r){if(n.language===r&&n.tokenStack){n.grammar=e.languages[r];var a=0,o=Object.keys(n.tokenStack);!function i(l){for(var s=0;s=o.length);s++){var u=l[s];if("string"==typeof u||u.content&&"string"==typeof u.content){var c=o[a],d=n.tokenStack[c],f="string"==typeof u?u:u.content,p=t(r,c),m=f.indexOf(p);if(m>-1){++a;var g=f.substring(0,m),h=new e.Token(r,e.tokenize(d,n.grammar),"language-"+r,d),y=f.substring(m+p.length),v=[];g&&v.push.apply(v,i([g])),v.push(h),y&&v.push.apply(v,i([y])),"string"==typeof u?l.splice.apply(l,[s,1].concat(v)):u.content=v}}else u.content&&i(u.content)}return l}(n.tokens)}}}})}(Prism)},7507:(e,t,n)=>{var r={"./":6532};function a(e){var t=o(e);return n(t)}function o(e){if(!n.o(r,e)){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}return r[e]}a.keys=function(){return Object.keys(r)},a.resolve=o,e.exports=a,a.id=7507},9670:e=>{"use strict";var t=function(){var e=function(){};function t(e,t){Array.isArray(e)?e.forEach(t):null!=e&&t(e,0)}function n(e){for(var t={},n=0,r=e.length;n "));var l={},s=e[r];if(s){function u(t){if(!(t in e))throw new Error(r+" depends on an unknown component "+t);if(!(t in l))for(var i in a(t,o),l[t]=!0,n[t])l[i]=!0}t(s.require,u),t(s.optional,u),t(s.modify,u)}n[r]=l,o.pop()}}return function(e){var t=n[e];return t||(a(e,r),t=n[e]),t}}function a(e){for(var t in e)return!0;return!1}return function(o,i,l){var s=function(e){var t={};for(var n in e){var r=e[n];for(var a in r)if("meta"!=a){var o=r[a];t[a]="string"==typeof o?{title:o}:o}}return t}(o),u=function(e){var n;return function(r){if(r in e)return r;if(!n)for(var a in n={},e){var o=e[a];t(o&&o.alias,(function(t){if(t in n)throw new Error(t+" cannot be alias for both "+a+" and "+n[t]);if(t in e)throw new Error(t+" cannot be alias of "+a+" because it is a component.");n[t]=a}))}return n[r]||r}}(s);i=i.map(u),l=(l||[]).map(u);var c=n(i),d=n(l);i.forEach((function e(n){var r=s[n];t(r&&r.require,(function(t){t in d||(c[t]=!0,e(t))}))}));for(var f,p=r(s),m=c;a(m);){for(var g in f={},m){var h=s[g];t(h&&h.modify,(function(e){e in d&&(f[e]=!0)}))}for(var y in d)if(!(y in c))for(var v in p(y))if(v in c){f[y]=!0;break}for(var b in m=f)c[b]=!0}var w={getIds:function(){var e=[];return w.load((function(t){e.push(t)})),e},load:function(t,n){return function(t,n,r,a){var o=a?a.series:void 0,i=a?a.parallel:e,l={},s={};function u(e){if(e in l)return l[e];s[e]=!0;var a,c=[];for(var d in t(e))d in n&&c.push(d);if(0===c.length)a=r(e);else{var f=i(c.map((function(e){var t=u(e);return delete s[e],t})));o?a=o(f,(function(){return r(e)})):r(e)}return l[e]=a}for(var c in n)u(c);var d=[];for(var f in s)d.push(l[f]);return i(d)}(p,c,t,n)}};return w}}();e.exports=t},6186:(e,t,n)=>{"use strict";var r=n(2985);function a(){}function o(){}o.resetWarningCache=a,e.exports=function(){function e(e,t,n,a,o,i){if(i!==r){var l=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw l.name="Invariant Violation",l}}function t(){return e}e.isRequired=e;var n={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:o,resetWarningCache:a};return n.PropTypes=n,n}},2736:(e,t,n)=>{e.exports=n(6186)()},2985:e=>{"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},9481:(e,t,n)=>{"use strict";var r=n(758),a=n(1896);function o(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n