diff --git a/404.html b/404.html index 8aa2e8e63..59e580920 100644 --- a/404.html +++ b/404.html @@ -5,8 +5,8 @@ Page Not Found | Touying - - + +
Skip to main content

Page Not Found

We could not find what you were looking for.

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

diff --git a/assets/js/33b22e37.4ebbbed0.js b/assets/js/33b22e37.d147c331.js similarity index 97% rename from assets/js/33b22e37.4ebbbed0.js rename to assets/js/33b22e37.d147c331.js index 48f53faed..92805b3b1 100644 --- a/assets/js/33b22e37.4ebbbed0.js +++ b/assets/js/33b22e37.d147c331.js @@ -1 +1 @@ -"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[8937],{4911:(e,n,t)=>{t.r(n),t.d(n,{assets:()=>c,contentTitle:()=>r,default:()=>d,frontMatter:()=>s,metadata:()=>a,toc:()=>l});var o=t(5893),i=t(1151);const s={sidebar_position:6},r="Ctheorems",a={id:"integration/ctheorems",title:"Ctheorems",description:"Touying can work seamlessly with the ctheorems package, allowing you to directly use the ctheorems package.",source:"@site/versioned_docs/version-0.4.1/integration/ctheorems.md",sourceDirName:"integration",slug:"/integration/ctheorems",permalink:"/touying/docs/0.4.1/integration/ctheorems",draft:!1,unlisted:!1,editUrl:"https://github.com/touying-typ/touying/tree/main/docs/versioned_docs/version-0.4.1/integration/ctheorems.md",tags:[],version:"0.4.1",sidebarPosition:6,frontMatter:{sidebar_position:6},sidebar:"tutorialSidebar",previous:{title:"Codly",permalink:"/touying/docs/0.4.1/integration/codly"},next:{title:"Themes",permalink:"/touying/docs/0.4.1/category/themes"}},c={},l=[];function m(e){const n={code:"code",h1:"h1",img:"img",p:"p",pre:"pre",...(0,i.a)(),...e.components};return(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)(n.h1,{id:"ctheorems",children:"Ctheorems"}),"\n",(0,o.jsxs)(n.p,{children:["Touying can work seamlessly with the ",(0,o.jsx)(n.code,{children:"ctheorems"})," package, allowing you to directly use the ",(0,o.jsx)(n.code,{children:"ctheorems"})," package."]}),"\n",(0,o.jsxs)(n.p,{children:["Moreover, you can utilize ",(0,o.jsx)(n.code,{children:'#let s = (s.methods.numbering)(self: s, section: "1.", "1.1")'})," to set numbering for sections and subsections."]}),"\n",(0,o.jsx)(n.pre,{children:(0,o.jsx)(n.code,{className:"language-typst",children:'#import "@preview/touying:0.4.1": *\n#import "@preview/ctheorems:1.1.2": *\n\n// Register university theme\n#let s = themes.simple.register(aspect-ratio: "16-9")\n\n// Set the numbering of section and subsection\n#let s = (s.methods.numbering)(self: s, section: "1.", "1.1")\n\n// Theroems configuration by ctheorems\n#show: thmrules.with(qed-symbol: $square$)\n#let theorem = thmbox("theorem", "Theorem", fill: rgb("#eeffee"))\n#let corollary = thmplain(\n "corollary",\n "Corollary",\n base: "theorem",\n titlefmt: strong\n)\n#let definition = thmbox("definition", "Definition", inset: (x: 1.2em, top: 1em))\n#let example = thmplain("example", "Example").with(numbering: none)\n#let proof = thmproof("proof", "Proof")\n\n// Extract methods\n#let (init, slides, touying-outline, alert, speaker-note) = utils.methods(s)\n#show: init\n\n#show strong: alert\n\n// Extract slide functions\n#let (slide, empty-slide) = utils.slides(s)\n#show: slides\n\n= Theroems\n\n== Prime numbers\n\n#definition[\n A natural number is called a #highlight[_prime number_] if it is greater\n than 1 and cannot be written as the product of two smaller natural numbers.\n]\n#example[\n The numbers $2$, $3$, and $17$ are prime.\n @cor_largest_prime shows that this list is not exhaustive!\n]\n\n#theorem("Euclid")[\n There are infinitely many primes.\n]\n#proof[\n Suppose to the contrary that $p_1, p_2, dots, p_n$ is a finite enumeration\n of all primes. Set $P = p_1 p_2 dots p_n$. Since $P + 1$ is not in our list,\n it cannot be prime. Thus, some prime factor $p_j$ divides $P + 1$. Since\n $p_j$ also divides $P$, it must divide the difference $(P + 1) - P = 1$, a\n contradiction.\n]\n\n#corollary[\n There is no largest prime number.\n] \n#corollary[\n There are infinitely many composite numbers.\n]\n\n#theorem[\n There are arbitrarily long stretches of composite numbers.\n]\n\n#proof[\n For any $n > 2$, consider $\n n! + 2, quad n! + 3, quad ..., quad n! + n #qedhere\n $\n]\n'})}),"\n",(0,o.jsx)(n.p,{children:(0,o.jsx)(n.img,{src:"https://github.com/touying-typ/touying/assets/34951714/b506da7e-b7d6-4493-b35a-2307cfd38ddc",alt:"image"})})]})}function d(e={}){const{wrapper:n}={...(0,i.a)(),...e.components};return n?(0,o.jsx)(n,{...e,children:(0,o.jsx)(m,{...e})}):m(e)}},1151:(e,n,t)=>{t.d(n,{Z:()=>a,a:()=>r});var o=t(7294);const i={},s=o.createContext(i);function r(e){const n=o.useContext(s);return o.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:r(e.components),o.createElement(s.Provider,{value:n},e.children)}}}]); \ No newline at end of file +"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[8937],{4911:(e,n,t)=>{t.r(n),t.d(n,{assets:()=>c,contentTitle:()=>r,default:()=>d,frontMatter:()=>s,metadata:()=>a,toc:()=>l});var o=t(5893),i=t(1151);const s={sidebar_position:6},r="Ctheorems",a={id:"integration/ctheorems",title:"Ctheorems",description:"Touying can work seamlessly with the ctheorems package, allowing you to directly use the ctheorems package.",source:"@site/versioned_docs/version-0.4.1/integration/ctheorems.md",sourceDirName:"integration",slug:"/integration/ctheorems",permalink:"/touying/docs/0.4.1/integration/ctheorems",draft:!1,unlisted:!1,editUrl:"https://github.com/touying-typ/touying/tree/main/docs/versioned_docs/version-0.4.1/integration/ctheorems.md",tags:[],version:"0.4.1",sidebarPosition:6,frontMatter:{sidebar_position:6},sidebar:"tutorialSidebar",previous:{title:"Codly",permalink:"/touying/docs/0.4.1/integration/codly"},next:{title:"Themes",permalink:"/touying/docs/0.4.1/category/themes"}},c={},l=[];function m(e){const n={code:"code",h1:"h1",img:"img",p:"p",pre:"pre",...(0,i.a)(),...e.components};return(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)(n.h1,{id:"ctheorems",children:"Ctheorems"}),"\n",(0,o.jsxs)(n.p,{children:["Touying can work seamlessly with the ",(0,o.jsx)(n.code,{children:"ctheorems"})," package, allowing you to directly use the ",(0,o.jsx)(n.code,{children:"ctheorems"})," package."]}),"\n",(0,o.jsxs)(n.p,{children:["Moreover, you can utilize ",(0,o.jsx)(n.code,{children:'#let s = (s.methods.numbering)(self: s, section: "1.", "1.1")'})," to set numbering for sections and subsections."]}),"\n",(0,o.jsx)(n.pre,{children:(0,o.jsx)(n.code,{className:"language-typst",children:'#import "@preview/touying:0.4.1": *\n#import "@preview/ctheorems:1.1.2": *\n\n// Register university theme\n#let s = themes.simple.register(aspect-ratio: "16-9")\n\n// Set the numbering of section and subsection\n#let s = (s.methods.numbering)(self: s, section: "1.", "1.1")\n\n// Theorems configuration by ctheorems\n#show: thmrules.with(qed-symbol: $square$)\n#let theorem = thmbox("theorem", "Theorem", fill: rgb("#eeffee"))\n#let corollary = thmplain(\n "corollary",\n "Corollary",\n base: "theorem",\n titlefmt: strong\n)\n#let definition = thmbox("definition", "Definition", inset: (x: 1.2em, top: 1em))\n#let example = thmplain("example", "Example").with(numbering: none)\n#let proof = thmproof("proof", "Proof")\n\n// Extract methods\n#let (init, slides, touying-outline, alert, speaker-note) = utils.methods(s)\n#show: init\n\n#show strong: alert\n\n// Extract slide functions\n#let (slide, empty-slide) = utils.slides(s)\n#show: slides\n\n= Theorems\n\n== Prime numbers\n\n#definition[\n A natural number is called a #highlight[_prime number_] if it is greater\n than 1 and cannot be written as the product of two smaller natural numbers.\n]\n#example[\n The numbers $2$, $3$, and $17$ are prime.\n @cor_largest_prime shows that this list is not exhaustive!\n]\n\n#theorem("Euclid")[\n There are infinitely many primes.\n]\n#proof[\n Suppose to the contrary that $p_1, p_2, dots, p_n$ is a finite enumeration\n of all primes. Set $P = p_1 p_2 dots p_n$. Since $P + 1$ is not in our list,\n it cannot be prime. Thus, some prime factor $p_j$ divides $P + 1$. Since\n $p_j$ also divides $P$, it must divide the difference $(P + 1) - P = 1$, a\n contradiction.\n]\n\n#corollary[\n There is no largest prime number.\n] \n#corollary[\n There are infinitely many composite numbers.\n]\n\n#theorem[\n There are arbitrarily long stretches of composite numbers.\n]\n\n#proof[\n For any $n > 2$, consider $\n n! + 2, quad n! + 3, quad ..., quad n! + n #qedhere\n $\n]\n'})}),"\n",(0,o.jsx)(n.p,{children:(0,o.jsx)(n.img,{src:"https://github.com/touying-typ/touying/assets/34951714/b506da7e-b7d6-4493-b35a-2307cfd38ddc",alt:"image"})})]})}function d(e={}){const{wrapper:n}={...(0,i.a)(),...e.components};return n?(0,o.jsx)(n,{...e,children:(0,o.jsx)(m,{...e})}):m(e)}},1151:(e,n,t)=>{t.d(n,{Z:()=>a,a:()=>r});var o=t(7294);const i={},s=o.createContext(i);function r(e){const n=o.useContext(s);return o.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:r(e.components),o.createElement(s.Provider,{value:n},e.children)}}}]); \ No newline at end of file diff --git a/assets/js/49841adc.34a0ae31.js b/assets/js/49841adc.9038079c.js similarity index 98% rename from assets/js/49841adc.34a0ae31.js rename to assets/js/49841adc.9038079c.js index 924433dd4..490bff820 100644 --- a/assets/js/49841adc.34a0ae31.js +++ b/assets/js/49841adc.9038079c.js @@ -1 +1 @@ -"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[819],{4847:(e,n,t)=>{t.r(n),t.d(n,{assets:()=>l,contentTitle:()=>r,default:()=>u,frontMatter:()=>o,metadata:()=>a,toc:()=>d});var i=t(5893),s=t(1151);const o={sidebar_position:2},r="Getting Started",a={id:"start",title:"Getting Started",description:"Before you begin, make sure you have the Typst environment installed. If not, you can use the Web App or install the Tinymist LSP plugins for VS Code.",source:"@site/versioned_docs/version-0.4.1/start.md",sourceDirName:".",slug:"/start",permalink:"/touying/docs/0.4.1/start",draft:!1,unlisted:!1,editUrl:"https://github.com/touying-typ/touying/tree/main/docs/versioned_docs/version-0.4.1/start.md",tags:[],version:"0.4.1",sidebarPosition:2,frontMatter:{sidebar_position:2},sidebar:"tutorialSidebar",previous:{title:"Introduction to Touying",permalink:"/touying/docs/0.4.1/intro"},next:{title:"Sections and Subsections",permalink:"/touying/docs/0.4.1/sections"}},l={},d=[{value:"More Complex Examples",id:"more-complex-examples",level:2}];function c(e){const n={a:"a",code:"code",h1:"h1",h2:"h2",img:"img",p:"p",pre:"pre",strong:"strong",...(0,s.a)(),...e.components};return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(n.h1,{id:"getting-started",children:"Getting Started"}),"\n",(0,i.jsxs)(n.p,{children:["Before you begin, make sure you have the Typst environment installed. If not, you can use the ",(0,i.jsx)(n.a,{href:"https://typst.app/",children:"Web App"})," or install the ",(0,i.jsx)(n.a,{href:"https://marketplace.visualstudio.com/items?itemName=myriad-dreamin.tinymist",children:"Tinymist LSP"})," plugins for VS Code."]}),"\n",(0,i.jsx)(n.p,{children:"To use Touying, you just need to include the following in your document:"}),"\n",(0,i.jsx)(n.pre,{children:(0,i.jsx)(n.code,{className:"language-typst",children:'#import "@preview/touying:0.4.1": *\n\n#let s = themes.simple.register()\n#let (init, slides) = utils.methods(s)\n#show: init\n\n#let (slide, empty-slide) = utils.slides(s)\n#show: slides\n\n= Title\n\n== First Slide\n\nHello, Touying!\n\n#pause\n\nHello, Typst!\n'})}),"\n",(0,i.jsx)(n.p,{children:(0,i.jsx)(n.img,{src:"https://github.com/touying-typ/touying/assets/34951714/f5bdbf8f-7bf9-45fd-9923-0fa5d66450b2",alt:"image"})}),"\n",(0,i.jsx)(n.p,{children:"It's that simple! You've created your first Touying slides. Congratulations! \ud83c\udf89"}),"\n",(0,i.jsxs)(n.p,{children:[(0,i.jsx)(n.strong,{children:"Tip:"})," You can use Typst syntax like ",(0,i.jsx)(n.code,{children:'#import "config.typ": *'})," or ",(0,i.jsx)(n.code,{children:'#include "content.typ"'})," to implement Touying's multi-file architecture."]}),"\n",(0,i.jsxs)(n.p,{children:[(0,i.jsx)(n.strong,{children:"Warning:"})," The comma in ",(0,i.jsx)(n.code,{children:"#let (slide, empty-slide) = utils.slides(s)"})," is necessary for the unpacking syntax."]}),"\n",(0,i.jsx)(n.h2,{id:"more-complex-examples",children:"More Complex Examples"}),"\n",(0,i.jsxs)(n.p,{children:["In fact, Touying provides various styles for slide writing. You can also use the ",(0,i.jsx)(n.code,{children:"#slide[..]"})," syntax to access more powerful features provided by Touying."]}),"\n",(0,i.jsx)(n.p,{children:(0,i.jsx)(n.img,{src:"https://github.com/touying-typ/touying/assets/34951714/fcecb505-d2d1-4e36-945a-225f4661a694",alt:"image"})}),"\n",(0,i.jsx)(n.p,{children:"Touying offers many built-in themes to easily create beautiful slides. For example, in this case:"}),"\n",(0,i.jsx)(n.pre,{children:(0,i.jsx)(n.code,{children:'#let s = themes.university.register(aspect-ratio: "16-9")\n'})}),"\n",(0,i.jsx)(n.p,{children:"you can use the university theme. For more detailed tutorials on themes, you can refer to the following sections."}),"\n",(0,i.jsx)(n.pre,{children:(0,i.jsx)(n.code,{className:"language-typst",children:'#import "@preview/touying:0.4.1": *\n#import "@preview/cetz:0.2.2"\n#import "@preview/fletcher:0.4.4" as fletcher: node, edge\n#import "@preview/ctheorems:1.1.2": *\n\n// cetz and fletcher bindings for touying\n#let cetz-canvas = touying-reducer.with(reduce: cetz.canvas, cover: cetz.draw.hide.with(bounds: true))\n#let fletcher-diagram = touying-reducer.with(reduce: fletcher.diagram, cover: fletcher.hide)\n\n// Register university theme\n// You can replace it with other themes and it can still work normally\n#let s = themes.university.register(aspect-ratio: "16-9")\n\n// Set the numbering of section and subsection\n#let s = (s.methods.numbering)(self: s, section: "1.", "1.1")\n\n// Global information configuration\n#let s = (s.methods.info)(\n self: s,\n title: [Title],\n subtitle: [Subtitle],\n author: [Authors],\n date: datetime.today(),\n institution: [Institution],\n)\n\n// Pdfpc configuration\n// typst query --root . ./example.typ --field value --one "" > ./example.pdfpc\n#let s = (s.methods.append-preamble)(self: s, pdfpc.config(\n duration-minutes: 30,\n start-time: datetime(hour: 14, minute: 10, second: 0),\n end-time: datetime(hour: 14, minute: 40, second: 0),\n last-minutes: 5,\n note-font-size: 12,\n disable-markdown: false,\n default-transition: (\n type: "push",\n duration-seconds: 2,\n angle: ltr,\n alignment: "vertical",\n direction: "inward",\n ),\n))\n\n// Theroems configuration by ctheorems\n#show: thmrules.with(qed-symbol: $square$)\n#let theorem = thmbox("theorem", "Theorem", fill: rgb("#eeffee"))\n#let corollary = thmplain(\n "corollary",\n "Corollary",\n base: "theorem",\n titlefmt: strong\n)\n#let definition = thmbox("definition", "Definition", inset: (x: 1.2em, top: 1em))\n#let example = thmplain("example", "Example").with(numbering: none)\n#let proof = thmproof("proof", "Proof")\n\n// Extract methods\n#let (init, slides, touying-outline, alert, speaker-note) = utils.methods(s)\n#show: init\n\n#show strong: alert\n\n// Extract slide functions\n#let (slide, empty-slide) = utils.slides(s)\n#show: slides\n\n= Animation\n\n== Simple Animation\n\nWe can use `#pause` to #pause display something later.\n\n#pause\n\nJust like this.\n\n#meanwhile\n\nMeanwhile, #pause we can also use `#meanwhile` to #pause display other content synchronously.\n\n\n== Complex Animation\n\n#slide(repeat: 3, self => [\n #let (uncover, only, alternatives) = utils.methods(self)\n\n At subslide #self.subslide, we can\n\n use #uncover("2-")[`#uncover` function] for reserving space,\n\n use #only("2-")[`#only` function] for not reserving space,\n\n #alternatives[call `#only` multiple times \\u{2717}][use `#alternatives` function #sym.checkmark] for choosing one of the alternatives.\n])\n\n\n== Math Equation Animation\n\nTouying equation with `pause`:\n\n#touying-equation(`\n f(x) &= pause x^2 + 2x + 1 \\\n &= pause (x + 1)^2 \\\n`)\n\n#meanwhile\n\nHere, #pause we have the expression of $f(x)$.\n\n#pause\n\nBy factorizing, we can obtain this result.\n\n\n== CeTZ Animation\n\nCeTZ Animation in Touying:\n\n#cetz-canvas({\n import cetz.draw: *\n \n rect((0,0), (5,5))\n\n (pause,)\n\n rect((0,0), (1,1))\n rect((1,1), (2,2))\n rect((2,2), (3,3))\n\n (pause,)\n\n line((0,0), (2.5, 2.5), name: "line")\n})\n\n\n== Fletcher Animation\n\nFletcher Animation in Touying:\n\n#fletcher-diagram(\n node-stroke: .1em,\n node-fill: gradient.radial(blue.lighten(80%), blue, center: (30%, 20%), radius: 80%),\n spacing: 4em,\n edge((-1,0), "r", "-|>", `open(path)`, label-pos: 0, label-side: center),\n node((0,0), `reading`, radius: 2em),\n edge((0,0), (0,0), `read()`, "--|>", bend: 130deg),\n pause,\n edge(`read()`, "-|>"),\n node((1,0), `eof`, radius: 2em),\n pause,\n edge(`close()`, "-|>"),\n node((2,0), `closed`, radius: 2em, extrude: (-2.5, 0)),\n edge((0,0), (2,0), `close()`, "-|>", bend: -40deg),\n)\n\n\n= Theroems\n\n== Prime numbers\n\n#definition[\n A natural number is called a #highlight[_prime number_] if it is greater\n than 1 and cannot be written as the product of two smaller natural numbers.\n]\n#example[\n The numbers $2$, $3$, and $17$ are prime.\n @cor_largest_prime shows that this list is not exhaustive!\n]\n\n#theorem("Euclid")[\n There are infinitely many primes.\n]\n#proof[\n Suppose to the contrary that $p_1, p_2, dots, p_n$ is a finite enumeration\n of all primes. Set $P = p_1 p_2 dots p_n$. Since $P + 1$ is not in our list,\n it cannot be prime. Thus, some prime factor $p_j$ divides $P + 1$. Since\n $p_j$ also divides $P$, it must divide the difference $(P + 1) - P = 1$, a\n contradiction.\n]\n\n#corollary[\n There is no largest prime number.\n] \n#corollary[\n There are infinitely many composite numbers.\n]\n\n#theorem[\n There are arbitrarily long stretches of composite numbers.\n]\n\n#proof[\n For any $n > 2$, consider $\n n! + 2, quad n! + 3, quad ..., quad n! + n #qedhere\n $\n]\n\n\n= Others\n\n== Side-by-side\n\n#slide(composer: (1fr, 1fr))[\n First column.\n][\n Second column.\n]\n\n\n== Multiple Pages\n\n#lorem(200)\n\n\n// appendix by freezing last-slide-number\n#let s = (s.methods.appendix)(self: s)\n#let (slide, empty-slide) = utils.slides(s)\n\n== Appendix\n\n#slide[\n Please pay attention to the current slide number.\n]\n'})}),"\n",(0,i.jsx)(n.p,{children:(0,i.jsx)(n.img,{src:"https://github.com/touying-typ/touying/assets/34951714/fcecb505-d2d1-4e36-945a-225f4661a694",alt:"image"})}),"\n",(0,i.jsx)(n.p,{children:"Touying offers many built-in themes to easily create beautiful slides. For example, in this case:"}),"\n",(0,i.jsx)(n.pre,{children:(0,i.jsx)(n.code,{children:'#let s = themes.university.register(aspect-ratio: "16-9")\n'})}),"\n",(0,i.jsx)(n.p,{children:"you can use the university theme. For more detailed tutorials on themes, you can refer to the following sections."})]})}function u(e={}){const{wrapper:n}={...(0,s.a)(),...e.components};return n?(0,i.jsx)(n,{...e,children:(0,i.jsx)(c,{...e})}):c(e)}},1151:(e,n,t)=>{t.d(n,{Z:()=>a,a:()=>r});var i=t(7294);const s={},o=i.createContext(s);function r(e){const n=i.useContext(o);return i.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(s):e.components||s:r(e.components),i.createElement(o.Provider,{value:n},e.children)}}}]); \ No newline at end of file +"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[819],{4847:(e,n,t)=>{t.r(n),t.d(n,{assets:()=>l,contentTitle:()=>r,default:()=>u,frontMatter:()=>o,metadata:()=>a,toc:()=>d});var i=t(5893),s=t(1151);const o={sidebar_position:2},r="Getting Started",a={id:"start",title:"Getting Started",description:"Before you begin, make sure you have the Typst environment installed. If not, you can use the Web App or install the Tinymist LSP plugins for VS Code.",source:"@site/versioned_docs/version-0.4.1/start.md",sourceDirName:".",slug:"/start",permalink:"/touying/docs/0.4.1/start",draft:!1,unlisted:!1,editUrl:"https://github.com/touying-typ/touying/tree/main/docs/versioned_docs/version-0.4.1/start.md",tags:[],version:"0.4.1",sidebarPosition:2,frontMatter:{sidebar_position:2},sidebar:"tutorialSidebar",previous:{title:"Introduction to Touying",permalink:"/touying/docs/0.4.1/intro"},next:{title:"Sections and Subsections",permalink:"/touying/docs/0.4.1/sections"}},l={},d=[{value:"More Complex Examples",id:"more-complex-examples",level:2}];function c(e){const n={a:"a",code:"code",h1:"h1",h2:"h2",img:"img",p:"p",pre:"pre",strong:"strong",...(0,s.a)(),...e.components};return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(n.h1,{id:"getting-started",children:"Getting Started"}),"\n",(0,i.jsxs)(n.p,{children:["Before you begin, make sure you have the Typst environment installed. If not, you can use the ",(0,i.jsx)(n.a,{href:"https://typst.app/",children:"Web App"})," or install the ",(0,i.jsx)(n.a,{href:"https://marketplace.visualstudio.com/items?itemName=myriad-dreamin.tinymist",children:"Tinymist LSP"})," plugins for VS Code."]}),"\n",(0,i.jsx)(n.p,{children:"To use Touying, you just need to include the following in your document:"}),"\n",(0,i.jsx)(n.pre,{children:(0,i.jsx)(n.code,{className:"language-typst",children:'#import "@preview/touying:0.4.1": *\n\n#let s = themes.simple.register()\n#let (init, slides) = utils.methods(s)\n#show: init\n\n#let (slide, empty-slide) = utils.slides(s)\n#show: slides\n\n= Title\n\n== First Slide\n\nHello, Touying!\n\n#pause\n\nHello, Typst!\n'})}),"\n",(0,i.jsx)(n.p,{children:(0,i.jsx)(n.img,{src:"https://github.com/touying-typ/touying/assets/34951714/f5bdbf8f-7bf9-45fd-9923-0fa5d66450b2",alt:"image"})}),"\n",(0,i.jsx)(n.p,{children:"It's that simple! You've created your first Touying slides. Congratulations! \ud83c\udf89"}),"\n",(0,i.jsxs)(n.p,{children:[(0,i.jsx)(n.strong,{children:"Tip:"})," You can use Typst syntax like ",(0,i.jsx)(n.code,{children:'#import "config.typ": *'})," or ",(0,i.jsx)(n.code,{children:'#include "content.typ"'})," to implement Touying's multi-file architecture."]}),"\n",(0,i.jsxs)(n.p,{children:[(0,i.jsx)(n.strong,{children:"Warning:"})," The comma in ",(0,i.jsx)(n.code,{children:"#let (slide, empty-slide) = utils.slides(s)"})," is necessary for the unpacking syntax."]}),"\n",(0,i.jsx)(n.h2,{id:"more-complex-examples",children:"More Complex Examples"}),"\n",(0,i.jsxs)(n.p,{children:["In fact, Touying provides various styles for slide writing. You can also use the ",(0,i.jsx)(n.code,{children:"#slide[..]"})," syntax to access more powerful features provided by Touying."]}),"\n",(0,i.jsx)(n.p,{children:(0,i.jsx)(n.img,{src:"https://github.com/touying-typ/touying/assets/34951714/fcecb505-d2d1-4e36-945a-225f4661a694",alt:"image"})}),"\n",(0,i.jsx)(n.p,{children:"Touying offers many built-in themes to easily create beautiful slides. For example, in this case:"}),"\n",(0,i.jsx)(n.pre,{children:(0,i.jsx)(n.code,{children:'#let s = themes.university.register(aspect-ratio: "16-9")\n'})}),"\n",(0,i.jsx)(n.p,{children:"you can use the university theme. For more detailed tutorials on themes, you can refer to the following sections."}),"\n",(0,i.jsx)(n.pre,{children:(0,i.jsx)(n.code,{className:"language-typst",children:'#import "@preview/touying:0.4.1": *\n#import "@preview/cetz:0.2.2"\n#import "@preview/fletcher:0.4.4" as fletcher: node, edge\n#import "@preview/ctheorems:1.1.2": *\n\n// cetz and fletcher bindings for touying\n#let cetz-canvas = touying-reducer.with(reduce: cetz.canvas, cover: cetz.draw.hide.with(bounds: true))\n#let fletcher-diagram = touying-reducer.with(reduce: fletcher.diagram, cover: fletcher.hide)\n\n// Register university theme\n// You can replace it with other themes and it can still work normally\n#let s = themes.university.register(aspect-ratio: "16-9")\n\n// Set the numbering of section and subsection\n#let s = (s.methods.numbering)(self: s, section: "1.", "1.1")\n\n// Global information configuration\n#let s = (s.methods.info)(\n self: s,\n title: [Title],\n subtitle: [Subtitle],\n author: [Authors],\n date: datetime.today(),\n institution: [Institution],\n)\n\n// Pdfpc configuration\n// typst query --root . ./example.typ --field value --one "" > ./example.pdfpc\n#let s = (s.methods.append-preamble)(self: s, pdfpc.config(\n duration-minutes: 30,\n start-time: datetime(hour: 14, minute: 10, second: 0),\n end-time: datetime(hour: 14, minute: 40, second: 0),\n last-minutes: 5,\n note-font-size: 12,\n disable-markdown: false,\n default-transition: (\n type: "push",\n duration-seconds: 2,\n angle: ltr,\n alignment: "vertical",\n direction: "inward",\n ),\n))\n\n// Theorems configuration by ctheorems\n#show: thmrules.with(qed-symbol: $square$)\n#let theorem = thmbox("theorem", "Theorem", fill: rgb("#eeffee"))\n#let corollary = thmplain(\n "corollary",\n "Corollary",\n base: "theorem",\n titlefmt: strong\n)\n#let definition = thmbox("definition", "Definition", inset: (x: 1.2em, top: 1em))\n#let example = thmplain("example", "Example").with(numbering: none)\n#let proof = thmproof("proof", "Proof")\n\n// Extract methods\n#let (init, slides, touying-outline, alert, speaker-note) = utils.methods(s)\n#show: init\n\n#show strong: alert\n\n// Extract slide functions\n#let (slide, empty-slide) = utils.slides(s)\n#show: slides\n\n= Animation\n\n== Simple Animation\n\nWe can use `#pause` to #pause display something later.\n\n#pause\n\nJust like this.\n\n#meanwhile\n\nMeanwhile, #pause we can also use `#meanwhile` to #pause display other content synchronously.\n\n\n== Complex Animation\n\n#slide(repeat: 3, self => [\n #let (uncover, only, alternatives) = utils.methods(self)\n\n At subslide #self.subslide, we can\n\n use #uncover("2-")[`#uncover` function] for reserving space,\n\n use #only("2-")[`#only` function] for not reserving space,\n\n #alternatives[call `#only` multiple times \\u{2717}][use `#alternatives` function #sym.checkmark] for choosing one of the alternatives.\n])\n\n\n== Math Equation Animation\n\nTouying equation with `pause`:\n\n#touying-equation(`\n f(x) &= pause x^2 + 2x + 1 \\\n &= pause (x + 1)^2 \\\n`)\n\n#meanwhile\n\nHere, #pause we have the expression of $f(x)$.\n\n#pause\n\nBy factorizing, we can obtain this result.\n\n\n== CeTZ Animation\n\nCeTZ Animation in Touying:\n\n#cetz-canvas({\n import cetz.draw: *\n \n rect((0,0), (5,5))\n\n (pause,)\n\n rect((0,0), (1,1))\n rect((1,1), (2,2))\n rect((2,2), (3,3))\n\n (pause,)\n\n line((0,0), (2.5, 2.5), name: "line")\n})\n\n\n== Fletcher Animation\n\nFletcher Animation in Touying:\n\n#fletcher-diagram(\n node-stroke: .1em,\n node-fill: gradient.radial(blue.lighten(80%), blue, center: (30%, 20%), radius: 80%),\n spacing: 4em,\n edge((-1,0), "r", "-|>", `open(path)`, label-pos: 0, label-side: center),\n node((0,0), `reading`, radius: 2em),\n edge((0,0), (0,0), `read()`, "--|>", bend: 130deg),\n pause,\n edge(`read()`, "-|>"),\n node((1,0), `eof`, radius: 2em),\n pause,\n edge(`close()`, "-|>"),\n node((2,0), `closed`, radius: 2em, extrude: (-2.5, 0)),\n edge((0,0), (2,0), `close()`, "-|>", bend: -40deg),\n)\n\n\n= Theorems\n\n== Prime numbers\n\n#definition[\n A natural number is called a #highlight[_prime number_] if it is greater\n than 1 and cannot be written as the product of two smaller natural numbers.\n]\n#example[\n The numbers $2$, $3$, and $17$ are prime.\n @cor_largest_prime shows that this list is not exhaustive!\n]\n\n#theorem("Euclid")[\n There are infinitely many primes.\n]\n#proof[\n Suppose to the contrary that $p_1, p_2, dots, p_n$ is a finite enumeration\n of all primes. Set $P = p_1 p_2 dots p_n$. Since $P + 1$ is not in our list,\n it cannot be prime. Thus, some prime factor $p_j$ divides $P + 1$. Since\n $p_j$ also divides $P$, it must divide the difference $(P + 1) - P = 1$, a\n contradiction.\n]\n\n#corollary[\n There is no largest prime number.\n] \n#corollary[\n There are infinitely many composite numbers.\n]\n\n#theorem[\n There are arbitrarily long stretches of composite numbers.\n]\n\n#proof[\n For any $n > 2$, consider $\n n! + 2, quad n! + 3, quad ..., quad n! + n #qedhere\n $\n]\n\n\n= Others\n\n== Side-by-side\n\n#slide(composer: (1fr, 1fr))[\n First column.\n][\n Second column.\n]\n\n\n== Multiple Pages\n\n#lorem(200)\n\n\n// appendix by freezing last-slide-number\n#let s = (s.methods.appendix)(self: s)\n#let (slide, empty-slide) = utils.slides(s)\n\n== Appendix\n\n#slide[\n Please pay attention to the current slide number.\n]\n'})}),"\n",(0,i.jsx)(n.p,{children:(0,i.jsx)(n.img,{src:"https://github.com/touying-typ/touying/assets/34951714/fcecb505-d2d1-4e36-945a-225f4661a694",alt:"image"})}),"\n",(0,i.jsx)(n.p,{children:"Touying offers many built-in themes to easily create beautiful slides. For example, in this case:"}),"\n",(0,i.jsx)(n.pre,{children:(0,i.jsx)(n.code,{children:'#let s = themes.university.register(aspect-ratio: "16-9")\n'})}),"\n",(0,i.jsx)(n.p,{children:"you can use the university theme. For more detailed tutorials on themes, you can refer to the following sections."})]})}function u(e={}){const{wrapper:n}={...(0,s.a)(),...e.components};return n?(0,i.jsx)(n,{...e,children:(0,i.jsx)(c,{...e})}):c(e)}},1151:(e,n,t)=>{t.d(n,{Z:()=>a,a:()=>r});var i=t(7294);const s={},o=i.createContext(s);function r(e){const n=i.useContext(o);return i.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(s):e.components||s:r(e.components),i.createElement(o.Provider,{value:n},e.children)}}}]); \ No newline at end of file diff --git a/assets/js/55b57bd3.0dc30e84.js b/assets/js/55b57bd3.07e30846.js similarity index 97% rename from assets/js/55b57bd3.0dc30e84.js rename to assets/js/55b57bd3.07e30846.js index 362df130a..06f085317 100644 --- a/assets/js/55b57bd3.0dc30e84.js +++ b/assets/js/55b57bd3.07e30846.js @@ -1 +1 @@ -"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[6259],{4628:(e,n,t)=>{t.r(n),t.d(n,{assets:()=>c,contentTitle:()=>s,default:()=>h,frontMatter:()=>r,metadata:()=>a,toc:()=>l});var o=t(5893),i=t(1151);const r={sidebar_position:6},s="Ctheorems",a={id:"integration/ctheorems",title:"Ctheorems",description:"Touying can work seamlessly with the ctheorems package, allowing you to directly use the ctheorems package.",source:"@site/docs/integration/ctheorems.md",sourceDirName:"integration",slug:"/integration/ctheorems",permalink:"/touying/docs/next/integration/ctheorems",draft:!1,unlisted:!1,editUrl:"https://github.com/touying-typ/touying/tree/main/docs/docs/integration/ctheorems.md",tags:[],version:"current",sidebarPosition:6,frontMatter:{sidebar_position:6},sidebar:"tutorialSidebar",previous:{title:"Codly",permalink:"/touying/docs/next/integration/codly"},next:{title:"Themes",permalink:"/touying/docs/next/category/themes"}},c={},l=[];function m(e){const n={code:"code",h1:"h1",img:"img",p:"p",pre:"pre",...(0,i.a)(),...e.components};return(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)(n.h1,{id:"ctheorems",children:"Ctheorems"}),"\n",(0,o.jsxs)(n.p,{children:["Touying can work seamlessly with the ",(0,o.jsx)(n.code,{children:"ctheorems"})," package, allowing you to directly use the ",(0,o.jsx)(n.code,{children:"ctheorems"})," package."]}),"\n",(0,o.jsxs)(n.p,{children:["Moreover, you can utilize ",(0,o.jsx)(n.code,{children:'#let s = (s.methods.numbering)(self: s, section: "1.", "1.1")'})," to set numbering for sections and subsections."]}),"\n",(0,o.jsx)(n.pre,{children:(0,o.jsx)(n.code,{className:"language-typst",children:'#import "@preview/touying:0.4.2": *\n#import "@preview/ctheorems:1.1.2": *\n\n// Register university theme\n#let s = themes.simple.register(aspect-ratio: "16-9")\n\n// Set the numbering of section and subsection\n#let s = (s.methods.numbering)(self: s, section: "1.", "1.1")\n\n// Theroems configuration by ctheorems\n#show: thmrules.with(qed-symbol: $square$)\n#let theorem = thmbox("theorem", "Theorem", fill: rgb("#eeffee"))\n#let corollary = thmplain(\n "corollary",\n "Corollary",\n base: "theorem",\n titlefmt: strong\n)\n#let definition = thmbox("definition", "Definition", inset: (x: 1.2em, top: 1em))\n#let example = thmplain("example", "Example").with(numbering: none)\n#let proof = thmproof("proof", "Proof")\n\n// Extract methods\n#let (init, slides, touying-outline, alert, speaker-note) = utils.methods(s)\n#show: init\n\n#show strong: alert\n\n// Extract slide functions\n#let (slide, empty-slide) = utils.slides(s)\n#show: slides\n\n= Theroems\n\n== Prime numbers\n\n#definition[\n A natural number is called a #highlight[_prime number_] if it is greater\n than 1 and cannot be written as the product of two smaller natural numbers.\n]\n#example[\n The numbers $2$, $3$, and $17$ are prime.\n @cor_largest_prime shows that this list is not exhaustive!\n]\n\n#theorem("Euclid")[\n There are infinitely many primes.\n]\n#proof[\n Suppose to the contrary that $p_1, p_2, dots, p_n$ is a finite enumeration\n of all primes. Set $P = p_1 p_2 dots p_n$. Since $P + 1$ is not in our list,\n it cannot be prime. Thus, some prime factor $p_j$ divides $P + 1$. Since\n $p_j$ also divides $P$, it must divide the difference $(P + 1) - P = 1$, a\n contradiction.\n]\n\n#corollary[\n There is no largest prime number.\n] \n#corollary[\n There are infinitely many composite numbers.\n]\n\n#theorem[\n There are arbitrarily long stretches of composite numbers.\n]\n\n#proof[\n For any $n > 2$, consider $\n n! + 2, quad n! + 3, quad ..., quad n! + n #qedhere\n $\n]\n'})}),"\n",(0,o.jsx)(n.p,{children:(0,o.jsx)(n.img,{src:"https://github.com/touying-typ/touying/assets/34951714/b506da7e-b7d6-4493-b35a-2307cfd38ddc",alt:"image"})})]})}function h(e={}){const{wrapper:n}={...(0,i.a)(),...e.components};return n?(0,o.jsx)(n,{...e,children:(0,o.jsx)(m,{...e})}):m(e)}},1151:(e,n,t)=>{t.d(n,{Z:()=>a,a:()=>s});var o=t(7294);const i={},r=o.createContext(i);function s(e){const n=o.useContext(r);return o.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:s(e.components),o.createElement(r.Provider,{value:n},e.children)}}}]); \ No newline at end of file +"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[6259],{4628:(e,n,t)=>{t.r(n),t.d(n,{assets:()=>c,contentTitle:()=>s,default:()=>h,frontMatter:()=>r,metadata:()=>a,toc:()=>l});var o=t(5893),i=t(1151);const r={sidebar_position:6},s="Ctheorems",a={id:"integration/ctheorems",title:"Ctheorems",description:"Touying can work seamlessly with the ctheorems package, allowing you to directly use the ctheorems package.",source:"@site/docs/integration/ctheorems.md",sourceDirName:"integration",slug:"/integration/ctheorems",permalink:"/touying/docs/next/integration/ctheorems",draft:!1,unlisted:!1,editUrl:"https://github.com/touying-typ/touying/tree/main/docs/docs/integration/ctheorems.md",tags:[],version:"current",sidebarPosition:6,frontMatter:{sidebar_position:6},sidebar:"tutorialSidebar",previous:{title:"Codly",permalink:"/touying/docs/next/integration/codly"},next:{title:"Themes",permalink:"/touying/docs/next/category/themes"}},c={},l=[];function m(e){const n={code:"code",h1:"h1",img:"img",p:"p",pre:"pre",...(0,i.a)(),...e.components};return(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)(n.h1,{id:"ctheorems",children:"Ctheorems"}),"\n",(0,o.jsxs)(n.p,{children:["Touying can work seamlessly with the ",(0,o.jsx)(n.code,{children:"ctheorems"})," package, allowing you to directly use the ",(0,o.jsx)(n.code,{children:"ctheorems"})," package."]}),"\n",(0,o.jsxs)(n.p,{children:["Moreover, you can utilize ",(0,o.jsx)(n.code,{children:'#let s = (s.methods.numbering)(self: s, section: "1.", "1.1")'})," to set numbering for sections and subsections."]}),"\n",(0,o.jsx)(n.pre,{children:(0,o.jsx)(n.code,{className:"language-typst",children:'#import "@preview/touying:0.4.2": *\n#import "@preview/ctheorems:1.1.2": *\n\n// Register university theme\n#let s = themes.simple.register(aspect-ratio: "16-9")\n\n// Set the numbering of section and subsection\n#let s = (s.methods.numbering)(self: s, section: "1.", "1.1")\n\n// Theorems configuration by ctheorems\n#show: thmrules.with(qed-symbol: $square$)\n#let theorem = thmbox("theorem", "Theorem", fill: rgb("#eeffee"))\n#let corollary = thmplain(\n "corollary",\n "Corollary",\n base: "theorem",\n titlefmt: strong\n)\n#let definition = thmbox("definition", "Definition", inset: (x: 1.2em, top: 1em))\n#let example = thmplain("example", "Example").with(numbering: none)\n#let proof = thmproof("proof", "Proof")\n\n// Extract methods\n#let (init, slides, touying-outline, alert, speaker-note) = utils.methods(s)\n#show: init\n\n#show strong: alert\n\n// Extract slide functions\n#let (slide, empty-slide) = utils.slides(s)\n#show: slides\n\n= Theorems\n\n== Prime numbers\n\n#definition[\n A natural number is called a #highlight[_prime number_] if it is greater\n than 1 and cannot be written as the product of two smaller natural numbers.\n]\n#example[\n The numbers $2$, $3$, and $17$ are prime.\n @cor_largest_prime shows that this list is not exhaustive!\n]\n\n#theorem("Euclid")[\n There are infinitely many primes.\n]\n#proof[\n Suppose to the contrary that $p_1, p_2, dots, p_n$ is a finite enumeration\n of all primes. Set $P = p_1 p_2 dots p_n$. Since $P + 1$ is not in our list,\n it cannot be prime. Thus, some prime factor $p_j$ divides $P + 1$. Since\n $p_j$ also divides $P$, it must divide the difference $(P + 1) - P = 1$, a\n contradiction.\n]\n\n#corollary[\n There is no largest prime number.\n] \n#corollary[\n There are infinitely many composite numbers.\n]\n\n#theorem[\n There are arbitrarily long stretches of composite numbers.\n]\n\n#proof[\n For any $n > 2$, consider $\n n! + 2, quad n! + 3, quad ..., quad n! + n #qedhere\n $\n]\n'})}),"\n",(0,o.jsx)(n.p,{children:(0,o.jsx)(n.img,{src:"https://github.com/touying-typ/touying/assets/34951714/b506da7e-b7d6-4493-b35a-2307cfd38ddc",alt:"image"})})]})}function h(e={}){const{wrapper:n}={...(0,i.a)(),...e.components};return n?(0,o.jsx)(n,{...e,children:(0,o.jsx)(m,{...e})}):m(e)}},1151:(e,n,t)=>{t.d(n,{Z:()=>a,a:()=>s});var o=t(7294);const i={},r=o.createContext(i);function s(e){const n=o.useContext(r);return o.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:s(e.components),o.createElement(r.Provider,{value:n},e.children)}}}]); \ No newline at end of file diff --git a/assets/js/71b26582.dd10909a.js b/assets/js/71b26582.907a20b2.js similarity index 97% rename from assets/js/71b26582.dd10909a.js rename to assets/js/71b26582.907a20b2.js index f6a43729d..c70176fcb 100644 --- a/assets/js/71b26582.dd10909a.js +++ b/assets/js/71b26582.907a20b2.js @@ -1 +1 @@ -"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[4187],{8194:(e,n,t)=>{t.r(n),t.d(n,{assets:()=>c,contentTitle:()=>r,default:()=>d,frontMatter:()=>s,metadata:()=>a,toc:()=>l});var o=t(5893),i=t(1151);const s={sidebar_position:6},r="Ctheorems",a={id:"integration/ctheorems",title:"Ctheorems",description:"Touying can work seamlessly with the ctheorems package, allowing you to directly use the ctheorems package.",source:"@site/versioned_docs/version-0.4.2/integration/ctheorems.md",sourceDirName:"integration",slug:"/integration/ctheorems",permalink:"/touying/docs/integration/ctheorems",draft:!1,unlisted:!1,editUrl:"https://github.com/touying-typ/touying/tree/main/docs/versioned_docs/version-0.4.2/integration/ctheorems.md",tags:[],version:"0.4.2",sidebarPosition:6,frontMatter:{sidebar_position:6},sidebar:"tutorialSidebar",previous:{title:"Codly",permalink:"/touying/docs/integration/codly"},next:{title:"Themes",permalink:"/touying/docs/category/themes"}},c={},l=[];function m(e){const n={code:"code",h1:"h1",img:"img",p:"p",pre:"pre",...(0,i.a)(),...e.components};return(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)(n.h1,{id:"ctheorems",children:"Ctheorems"}),"\n",(0,o.jsxs)(n.p,{children:["Touying can work seamlessly with the ",(0,o.jsx)(n.code,{children:"ctheorems"})," package, allowing you to directly use the ",(0,o.jsx)(n.code,{children:"ctheorems"})," package."]}),"\n",(0,o.jsxs)(n.p,{children:["Moreover, you can utilize ",(0,o.jsx)(n.code,{children:'#let s = (s.methods.numbering)(self: s, section: "1.", "1.1")'})," to set numbering for sections and subsections."]}),"\n",(0,o.jsx)(n.pre,{children:(0,o.jsx)(n.code,{className:"language-typst",children:'#import "@preview/touying:0.4.2": *\n#import "@preview/ctheorems:1.1.2": *\n\n// Register university theme\n#let s = themes.simple.register(aspect-ratio: "16-9")\n\n// Set the numbering of section and subsection\n#let s = (s.methods.numbering)(self: s, section: "1.", "1.1")\n\n// Theroems configuration by ctheorems\n#show: thmrules.with(qed-symbol: $square$)\n#let theorem = thmbox("theorem", "Theorem", fill: rgb("#eeffee"))\n#let corollary = thmplain(\n "corollary",\n "Corollary",\n base: "theorem",\n titlefmt: strong\n)\n#let definition = thmbox("definition", "Definition", inset: (x: 1.2em, top: 1em))\n#let example = thmplain("example", "Example").with(numbering: none)\n#let proof = thmproof("proof", "Proof")\n\n// Extract methods\n#let (init, slides, touying-outline, alert, speaker-note) = utils.methods(s)\n#show: init\n\n#show strong: alert\n\n// Extract slide functions\n#let (slide, empty-slide) = utils.slides(s)\n#show: slides\n\n= Theroems\n\n== Prime numbers\n\n#definition[\n A natural number is called a #highlight[_prime number_] if it is greater\n than 1 and cannot be written as the product of two smaller natural numbers.\n]\n#example[\n The numbers $2$, $3$, and $17$ are prime.\n @cor_largest_prime shows that this list is not exhaustive!\n]\n\n#theorem("Euclid")[\n There are infinitely many primes.\n]\n#proof[\n Suppose to the contrary that $p_1, p_2, dots, p_n$ is a finite enumeration\n of all primes. Set $P = p_1 p_2 dots p_n$. Since $P + 1$ is not in our list,\n it cannot be prime. Thus, some prime factor $p_j$ divides $P + 1$. Since\n $p_j$ also divides $P$, it must divide the difference $(P + 1) - P = 1$, a\n contradiction.\n]\n\n#corollary[\n There is no largest prime number.\n] \n#corollary[\n There are infinitely many composite numbers.\n]\n\n#theorem[\n There are arbitrarily long stretches of composite numbers.\n]\n\n#proof[\n For any $n > 2$, consider $\n n! + 2, quad n! + 3, quad ..., quad n! + n #qedhere\n $\n]\n'})}),"\n",(0,o.jsx)(n.p,{children:(0,o.jsx)(n.img,{src:"https://github.com/touying-typ/touying/assets/34951714/b506da7e-b7d6-4493-b35a-2307cfd38ddc",alt:"image"})})]})}function d(e={}){const{wrapper:n}={...(0,i.a)(),...e.components};return n?(0,o.jsx)(n,{...e,children:(0,o.jsx)(m,{...e})}):m(e)}},1151:(e,n,t)=>{t.d(n,{Z:()=>a,a:()=>r});var o=t(7294);const i={},s=o.createContext(i);function r(e){const n=o.useContext(s);return o.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:r(e.components),o.createElement(s.Provider,{value:n},e.children)}}}]); \ No newline at end of file +"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[4187],{8194:(e,n,t)=>{t.r(n),t.d(n,{assets:()=>c,contentTitle:()=>r,default:()=>d,frontMatter:()=>s,metadata:()=>a,toc:()=>l});var o=t(5893),i=t(1151);const s={sidebar_position:6},r="Ctheorems",a={id:"integration/ctheorems",title:"Ctheorems",description:"Touying can work seamlessly with the ctheorems package, allowing you to directly use the ctheorems package.",source:"@site/versioned_docs/version-0.4.2/integration/ctheorems.md",sourceDirName:"integration",slug:"/integration/ctheorems",permalink:"/touying/docs/integration/ctheorems",draft:!1,unlisted:!1,editUrl:"https://github.com/touying-typ/touying/tree/main/docs/versioned_docs/version-0.4.2/integration/ctheorems.md",tags:[],version:"0.4.2",sidebarPosition:6,frontMatter:{sidebar_position:6},sidebar:"tutorialSidebar",previous:{title:"Codly",permalink:"/touying/docs/integration/codly"},next:{title:"Themes",permalink:"/touying/docs/category/themes"}},c={},l=[];function m(e){const n={code:"code",h1:"h1",img:"img",p:"p",pre:"pre",...(0,i.a)(),...e.components};return(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)(n.h1,{id:"ctheorems",children:"Ctheorems"}),"\n",(0,o.jsxs)(n.p,{children:["Touying can work seamlessly with the ",(0,o.jsx)(n.code,{children:"ctheorems"})," package, allowing you to directly use the ",(0,o.jsx)(n.code,{children:"ctheorems"})," package."]}),"\n",(0,o.jsxs)(n.p,{children:["Moreover, you can utilize ",(0,o.jsx)(n.code,{children:'#let s = (s.methods.numbering)(self: s, section: "1.", "1.1")'})," to set numbering for sections and subsections."]}),"\n",(0,o.jsx)(n.pre,{children:(0,o.jsx)(n.code,{className:"language-typst",children:'#import "@preview/touying:0.4.2": *\n#import "@preview/ctheorems:1.1.2": *\n\n// Register university theme\n#let s = themes.simple.register(aspect-ratio: "16-9")\n\n// Set the numbering of section and subsection\n#let s = (s.methods.numbering)(self: s, section: "1.", "1.1")\n\n// Theorems configuration by ctheorems\n#show: thmrules.with(qed-symbol: $square$)\n#let theorem = thmbox("theorem", "Theorem", fill: rgb("#eeffee"))\n#let corollary = thmplain(\n "corollary",\n "Corollary",\n base: "theorem",\n titlefmt: strong\n)\n#let definition = thmbox("definition", "Definition", inset: (x: 1.2em, top: 1em))\n#let example = thmplain("example", "Example").with(numbering: none)\n#let proof = thmproof("proof", "Proof")\n\n// Extract methods\n#let (init, slides, touying-outline, alert, speaker-note) = utils.methods(s)\n#show: init\n\n#show strong: alert\n\n// Extract slide functions\n#let (slide, empty-slide) = utils.slides(s)\n#show: slides\n\n= Theorems\n\n== Prime numbers\n\n#definition[\n A natural number is called a #highlight[_prime number_] if it is greater\n than 1 and cannot be written as the product of two smaller natural numbers.\n]\n#example[\n The numbers $2$, $3$, and $17$ are prime.\n @cor_largest_prime shows that this list is not exhaustive!\n]\n\n#theorem("Euclid")[\n There are infinitely many primes.\n]\n#proof[\n Suppose to the contrary that $p_1, p_2, dots, p_n$ is a finite enumeration\n of all primes. Set $P = p_1 p_2 dots p_n$. Since $P + 1$ is not in our list,\n it cannot be prime. Thus, some prime factor $p_j$ divides $P + 1$. Since\n $p_j$ also divides $P$, it must divide the difference $(P + 1) - P = 1$, a\n contradiction.\n]\n\n#corollary[\n There is no largest prime number.\n] \n#corollary[\n There are infinitely many composite numbers.\n]\n\n#theorem[\n There are arbitrarily long stretches of composite numbers.\n]\n\n#proof[\n For any $n > 2$, consider $\n n! + 2, quad n! + 3, quad ..., quad n! + n #qedhere\n $\n]\n'})}),"\n",(0,o.jsx)(n.p,{children:(0,o.jsx)(n.img,{src:"https://github.com/touying-typ/touying/assets/34951714/b506da7e-b7d6-4493-b35a-2307cfd38ddc",alt:"image"})})]})}function d(e={}){const{wrapper:n}={...(0,i.a)(),...e.components};return n?(0,o.jsx)(n,{...e,children:(0,o.jsx)(m,{...e})}):m(e)}},1151:(e,n,t)=>{t.d(n,{Z:()=>a,a:()=>r});var o=t(7294);const i={},s=o.createContext(i);function r(e){const n=o.useContext(s);return o.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:r(e.components),o.createElement(s.Provider,{value:n},e.children)}}}]); \ No newline at end of file diff --git a/assets/js/7240ac5a.898c8f78.js b/assets/js/7240ac5a.615fce78.js similarity index 98% rename from assets/js/7240ac5a.898c8f78.js rename to assets/js/7240ac5a.615fce78.js index e14851757..9ad288f34 100644 --- a/assets/js/7240ac5a.898c8f78.js +++ b/assets/js/7240ac5a.615fce78.js @@ -1 +1 @@ -"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[3564],{9697:(e,n,t)=>{t.r(n),t.d(n,{assets:()=>l,contentTitle:()=>r,default:()=>d,frontMatter:()=>o,metadata:()=>a,toc:()=>c});var i=t(5893),s=t(1151);const o={sidebar_position:2},r="Getting Started",a={id:"start",title:"Getting Started",description:"Before you begin, make sure you have the Typst environment installed. If not, you can use the Web App or install the Tinymist LSP plugins for VS Code.",source:"@site/versioned_docs/version-0.4.2/start.md",sourceDirName:".",slug:"/start",permalink:"/touying/docs/start",draft:!1,unlisted:!1,editUrl:"https://github.com/touying-typ/touying/tree/main/docs/versioned_docs/version-0.4.2/start.md",tags:[],version:"0.4.2",sidebarPosition:2,frontMatter:{sidebar_position:2},sidebar:"tutorialSidebar",previous:{title:"Introduction to Touying",permalink:"/touying/docs/intro"},next:{title:"Sections and Subsections",permalink:"/touying/docs/sections"}},l={},c=[{value:"More Complex Examples",id:"more-complex-examples",level:2}];function u(e){const n={a:"a",code:"code",h1:"h1",h2:"h2",img:"img",p:"p",pre:"pre",strong:"strong",...(0,s.a)(),...e.components};return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(n.h1,{id:"getting-started",children:"Getting Started"}),"\n",(0,i.jsxs)(n.p,{children:["Before you begin, make sure you have the Typst environment installed. If not, you can use the ",(0,i.jsx)(n.a,{href:"https://typst.app/",children:"Web App"})," or install the ",(0,i.jsx)(n.a,{href:"https://marketplace.visualstudio.com/items?itemName=myriad-dreamin.tinymist",children:"Tinymist LSP"})," plugins for VS Code."]}),"\n",(0,i.jsx)(n.p,{children:"To use Touying, you just need to include the following in your document:"}),"\n",(0,i.jsx)(n.pre,{children:(0,i.jsx)(n.code,{className:"language-typst",children:'#import "@preview/touying:0.4.2": *\n\n#let s = themes.simple.register()\n#let (init, slides) = utils.methods(s)\n#show: init\n\n#let (slide, empty-slide) = utils.slides(s)\n#show: slides\n\n= Title\n\n== First Slide\n\nHello, Touying!\n\n#pause\n\nHello, Typst!\n'})}),"\n",(0,i.jsx)(n.p,{children:(0,i.jsx)(n.img,{src:"https://github.com/touying-typ/touying/assets/34951714/f5bdbf8f-7bf9-45fd-9923-0fa5d66450b2",alt:"image"})}),"\n",(0,i.jsx)(n.p,{children:"It's that simple! You've created your first Touying slides. Congratulations! \ud83c\udf89"}),"\n",(0,i.jsxs)(n.p,{children:[(0,i.jsx)(n.strong,{children:"Tip:"})," You can use Typst syntax like ",(0,i.jsx)(n.code,{children:'#import "config.typ": *'})," or ",(0,i.jsx)(n.code,{children:'#include "content.typ"'})," to implement Touying's multi-file architecture."]}),"\n",(0,i.jsxs)(n.p,{children:[(0,i.jsx)(n.strong,{children:"Warning:"})," The comma in ",(0,i.jsx)(n.code,{children:"#let (slide, empty-slide) = utils.slides(s)"})," is necessary for the unpacking syntax."]}),"\n",(0,i.jsx)(n.h2,{id:"more-complex-examples",children:"More Complex Examples"}),"\n",(0,i.jsxs)(n.p,{children:["In fact, Touying provides various styles for slide writing. You can also use the ",(0,i.jsx)(n.code,{children:"#slide[..]"})," syntax to access more powerful features provided by Touying."]}),"\n",(0,i.jsx)(n.p,{children:(0,i.jsx)(n.img,{src:"https://github.com/touying-typ/touying/assets/34951714/fcecb505-d2d1-4e36-945a-225f4661a694",alt:"image"})}),"\n",(0,i.jsx)(n.p,{children:"Touying offers many built-in themes to easily create beautiful slides. For example, in this case:"}),"\n",(0,i.jsx)(n.pre,{children:(0,i.jsx)(n.code,{children:'#let s = themes.university.register(aspect-ratio: "16-9")\n'})}),"\n",(0,i.jsx)(n.p,{children:"you can use the university theme. For more detailed tutorials on themes, you can refer to the following sections."}),"\n",(0,i.jsx)(n.pre,{children:(0,i.jsx)(n.code,{className:"language-typst",children:'#import "@preview/touying:0.4.2": *\n#import "@preview/cetz:0.2.2"\n#import "@preview/fletcher:0.4.4" as fletcher: node, edge\n#import "@preview/ctheorems:1.1.2": *\n\n// cetz and fletcher bindings for touying\n#let cetz-canvas = touying-reducer.with(reduce: cetz.canvas, cover: cetz.draw.hide.with(bounds: true))\n#let fletcher-diagram = touying-reducer.with(reduce: fletcher.diagram, cover: fletcher.hide)\n\n// Register university theme\n// You can replace it with other themes and it can still work normally\n#let s = themes.university.register(aspect-ratio: "16-9")\n\n// Set the numbering of section and subsection\n#let s = (s.methods.numbering)(self: s, section: "1.", "1.1")\n\n// Set the speaker notes configuration\n// #let s = (s.methods.show-notes-on-second-screen)(self: s, right)\n\n// Global information configuration\n#let s = (s.methods.info)(\n self: s,\n title: [Title],\n subtitle: [Subtitle],\n author: [Authors],\n date: datetime.today(),\n institution: [Institution],\n)\n\n// Pdfpc configuration\n// typst query --root . ./example.typ --field value --one "" > ./example.pdfpc\n#let s = (s.methods.append-preamble)(self: s, pdfpc.config(\n duration-minutes: 30,\n start-time: datetime(hour: 14, minute: 10, second: 0),\n end-time: datetime(hour: 14, minute: 40, second: 0),\n last-minutes: 5,\n note-font-size: 12,\n disable-markdown: false,\n default-transition: (\n type: "push",\n duration-seconds: 2,\n angle: ltr,\n alignment: "vertical",\n direction: "inward",\n ),\n))\n\n// Theroems configuration by ctheorems\n#show: thmrules.with(qed-symbol: $square$)\n#let theorem = thmbox("theorem", "Theorem", fill: rgb("#eeffee"))\n#let corollary = thmplain(\n "corollary",\n "Corollary",\n base: "theorem",\n titlefmt: strong\n)\n#let definition = thmbox("definition", "Definition", inset: (x: 1.2em, top: 1em))\n#let example = thmplain("example", "Example").with(numbering: none)\n#let proof = thmproof("proof", "Proof")\n\n// Extract methods\n#let (init, slides, touying-outline, alert, speaker-note) = utils.methods(s)\n#show: init\n\n#show strong: alert\n\n// Extract slide functions\n#let (slide, empty-slide) = utils.slides(s)\n#show: slides\n\n= Animation\n\n== Simple Animation\n\nWe can use `#pause` to #pause display something later.\n\n#pause\n\nJust like this.\n\n#meanwhile\n\nMeanwhile, #pause we can also use `#meanwhile` to #pause display other content synchronously.\n\n#speaker-note[\n + This is a speaker note.\n + You won\'t see it unless you use `#let s = (s.math.show-notes-on-second-screen)(self: s, right)`\n]\n\n\n== Complex Animation - Mark-Style\n\nAt subslide #utils.touying-wrapper((self: none) => str(self.subslide)), we can\n\nuse #uncover("2-")[`#uncover` function] for reserving space,\n\nuse #only("2-")[`#only` function] for not reserving space,\n\n#alternatives[call `#only` multiple times \\u{2717}][use `#alternatives` function #sym.checkmark] for choosing one of the alternatives.\n\n\n== Complex Animation - Callback-Style\n\n#slide(repeat: 3, self => [\n #let (uncover, only, alternatives) = utils.methods(self)\n\n At subslide #self.subslide, we can\n\n use #uncover("2-")[`#uncover` function] for reserving space,\n\n use #only("2-")[`#only` function] for not reserving space,\n\n #alternatives[call `#only` multiple times \\u{2717}][use `#alternatives` function #sym.checkmark] for choosing one of the alternatives.\n])\n\n\n== Math Equation Animation\n\nTouying equation with `pause`:\n\n#touying-equation(`\n f(x) &= pause x^2 + 2x + 1 \\\n &= pause (x + 1)^2 \\\n`)\n\n#meanwhile\n\nHere, #pause we have the expression of $f(x)$.\n\n#pause\n\nBy factorizing, we can obtain this result.\n\n\n== CeTZ Animation\n\nCeTZ Animation in Touying:\n\n#cetz-canvas({\n import cetz.draw: *\n \n rect((0,0), (5,5))\n\n (pause,)\n\n rect((0,0), (1,1))\n rect((1,1), (2,2))\n rect((2,2), (3,3))\n\n (pause,)\n\n line((0,0), (2.5, 2.5), name: "line")\n})\n\n\n== Fletcher Animation\n\nFletcher Animation in Touying:\n\n#fletcher-diagram(\n node-stroke: .1em,\n node-fill: gradient.radial(blue.lighten(80%), blue, center: (30%, 20%), radius: 80%),\n spacing: 4em,\n edge((-1,0), "r", "-|>", `open(path)`, label-pos: 0, label-side: center),\n node((0,0), `reading`, radius: 2em),\n edge((0,0), (0,0), `read()`, "--|>", bend: 130deg),\n pause,\n edge(`read()`, "-|>"),\n node((1,0), `eof`, radius: 2em),\n pause,\n edge(`close()`, "-|>"),\n node((2,0), `closed`, radius: 2em, extrude: (-2.5, 0)),\n edge((0,0), (2,0), `close()`, "-|>", bend: -40deg),\n)\n\n\n= Theroems\n\n== Prime numbers\n\n#definition[\n A natural number is called a #highlight[_prime number_] if it is greater\n than 1 and cannot be written as the product of two smaller natural numbers.\n]\n#example[\n The numbers $2$, $3$, and $17$ are prime.\n @cor_largest_prime shows that this list is not exhaustive!\n]\n\n#theorem("Euclid")[\n There are infinitely many primes.\n]\n#proof[\n Suppose to the contrary that $p_1, p_2, dots, p_n$ is a finite enumeration\n of all primes. Set $P = p_1 p_2 dots p_n$. Since $P + 1$ is not in our list,\n it cannot be prime. Thus, some prime factor $p_j$ divides $P + 1$. Since\n $p_j$ also divides $P$, it must divide the difference $(P + 1) - P = 1$, a\n contradiction.\n]\n\n#corollary[\n There is no largest prime number.\n] \n#corollary[\n There are infinitely many composite numbers.\n]\n\n#theorem[\n There are arbitrarily long stretches of composite numbers.\n]\n\n#proof[\n For any $n > 2$, consider $\n n! + 2, quad n! + 3, quad ..., quad n! + n #qedhere\n $\n]\n\n\n= Others\n\n== Side-by-side\n\n#slide(composer: (1fr, 1fr))[\n First column.\n][\n Second column.\n]\n\n\n== Multiple Pages\n\n#lorem(200)\n\n\n// appendix by freezing last-slide-number\n#let s = (s.methods.appendix)(self: s)\n#let (slide, empty-slide) = utils.slides(s)\n\n== Appendix\n\n#slide[\n Please pay attention to the current slide number.\n]\n'})}),"\n",(0,i.jsx)(n.p,{children:(0,i.jsx)(n.img,{src:"https://github.com/touying-typ/touying/assets/34951714/fcecb505-d2d1-4e36-945a-225f4661a694",alt:"image"})}),"\n",(0,i.jsx)(n.p,{children:"Touying offers many built-in themes to easily create beautiful slides. For example, in this case:"}),"\n",(0,i.jsx)(n.pre,{children:(0,i.jsx)(n.code,{children:'#let s = themes.university.register(aspect-ratio: "16-9")\n'})}),"\n",(0,i.jsx)(n.p,{children:"you can use the university theme. For more detailed tutorials on themes, you can refer to the following sections."})]})}function d(e={}){const{wrapper:n}={...(0,s.a)(),...e.components};return n?(0,i.jsx)(n,{...e,children:(0,i.jsx)(u,{...e})}):u(e)}},1151:(e,n,t)=>{t.d(n,{Z:()=>a,a:()=>r});var i=t(7294);const s={},o=i.createContext(s);function r(e){const n=i.useContext(o);return i.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(s):e.components||s:r(e.components),i.createElement(o.Provider,{value:n},e.children)}}}]); \ No newline at end of file +"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[3564],{9697:(e,n,t)=>{t.r(n),t.d(n,{assets:()=>l,contentTitle:()=>r,default:()=>d,frontMatter:()=>o,metadata:()=>a,toc:()=>c});var i=t(5893),s=t(1151);const o={sidebar_position:2},r="Getting Started",a={id:"start",title:"Getting Started",description:"Before you begin, make sure you have the Typst environment installed. If not, you can use the Web App or install the Tinymist LSP plugins for VS Code.",source:"@site/versioned_docs/version-0.4.2/start.md",sourceDirName:".",slug:"/start",permalink:"/touying/docs/start",draft:!1,unlisted:!1,editUrl:"https://github.com/touying-typ/touying/tree/main/docs/versioned_docs/version-0.4.2/start.md",tags:[],version:"0.4.2",sidebarPosition:2,frontMatter:{sidebar_position:2},sidebar:"tutorialSidebar",previous:{title:"Introduction to Touying",permalink:"/touying/docs/intro"},next:{title:"Sections and Subsections",permalink:"/touying/docs/sections"}},l={},c=[{value:"More Complex Examples",id:"more-complex-examples",level:2}];function u(e){const n={a:"a",code:"code",h1:"h1",h2:"h2",img:"img",p:"p",pre:"pre",strong:"strong",...(0,s.a)(),...e.components};return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(n.h1,{id:"getting-started",children:"Getting Started"}),"\n",(0,i.jsxs)(n.p,{children:["Before you begin, make sure you have the Typst environment installed. If not, you can use the ",(0,i.jsx)(n.a,{href:"https://typst.app/",children:"Web App"})," or install the ",(0,i.jsx)(n.a,{href:"https://marketplace.visualstudio.com/items?itemName=myriad-dreamin.tinymist",children:"Tinymist LSP"})," plugins for VS Code."]}),"\n",(0,i.jsx)(n.p,{children:"To use Touying, you just need to include the following in your document:"}),"\n",(0,i.jsx)(n.pre,{children:(0,i.jsx)(n.code,{className:"language-typst",children:'#import "@preview/touying:0.4.2": *\n\n#let s = themes.simple.register()\n#let (init, slides) = utils.methods(s)\n#show: init\n\n#let (slide, empty-slide) = utils.slides(s)\n#show: slides\n\n= Title\n\n== First Slide\n\nHello, Touying!\n\n#pause\n\nHello, Typst!\n'})}),"\n",(0,i.jsx)(n.p,{children:(0,i.jsx)(n.img,{src:"https://github.com/touying-typ/touying/assets/34951714/f5bdbf8f-7bf9-45fd-9923-0fa5d66450b2",alt:"image"})}),"\n",(0,i.jsx)(n.p,{children:"It's that simple! You've created your first Touying slides. Congratulations! \ud83c\udf89"}),"\n",(0,i.jsxs)(n.p,{children:[(0,i.jsx)(n.strong,{children:"Tip:"})," You can use Typst syntax like ",(0,i.jsx)(n.code,{children:'#import "config.typ": *'})," or ",(0,i.jsx)(n.code,{children:'#include "content.typ"'})," to implement Touying's multi-file architecture."]}),"\n",(0,i.jsxs)(n.p,{children:[(0,i.jsx)(n.strong,{children:"Warning:"})," The comma in ",(0,i.jsx)(n.code,{children:"#let (slide, empty-slide) = utils.slides(s)"})," is necessary for the unpacking syntax."]}),"\n",(0,i.jsx)(n.h2,{id:"more-complex-examples",children:"More Complex Examples"}),"\n",(0,i.jsxs)(n.p,{children:["In fact, Touying provides various styles for slide writing. You can also use the ",(0,i.jsx)(n.code,{children:"#slide[..]"})," syntax to access more powerful features provided by Touying."]}),"\n",(0,i.jsx)(n.p,{children:(0,i.jsx)(n.img,{src:"https://github.com/touying-typ/touying/assets/34951714/fcecb505-d2d1-4e36-945a-225f4661a694",alt:"image"})}),"\n",(0,i.jsx)(n.p,{children:"Touying offers many built-in themes to easily create beautiful slides. For example, in this case:"}),"\n",(0,i.jsx)(n.pre,{children:(0,i.jsx)(n.code,{children:'#let s = themes.university.register(aspect-ratio: "16-9")\n'})}),"\n",(0,i.jsx)(n.p,{children:"you can use the university theme. For more detailed tutorials on themes, you can refer to the following sections."}),"\n",(0,i.jsx)(n.pre,{children:(0,i.jsx)(n.code,{className:"language-typst",children:'#import "@preview/touying:0.4.2": *\n#import "@preview/cetz:0.2.2"\n#import "@preview/fletcher:0.4.4" as fletcher: node, edge\n#import "@preview/ctheorems:1.1.2": *\n\n// cetz and fletcher bindings for touying\n#let cetz-canvas = touying-reducer.with(reduce: cetz.canvas, cover: cetz.draw.hide.with(bounds: true))\n#let fletcher-diagram = touying-reducer.with(reduce: fletcher.diagram, cover: fletcher.hide)\n\n// Register university theme\n// You can replace it with other themes and it can still work normally\n#let s = themes.university.register(aspect-ratio: "16-9")\n\n// Set the numbering of section and subsection\n#let s = (s.methods.numbering)(self: s, section: "1.", "1.1")\n\n// Set the speaker notes configuration\n// #let s = (s.methods.show-notes-on-second-screen)(self: s, right)\n\n// Global information configuration\n#let s = (s.methods.info)(\n self: s,\n title: [Title],\n subtitle: [Subtitle],\n author: [Authors],\n date: datetime.today(),\n institution: [Institution],\n)\n\n// Pdfpc configuration\n// typst query --root . ./example.typ --field value --one "" > ./example.pdfpc\n#let s = (s.methods.append-preamble)(self: s, pdfpc.config(\n duration-minutes: 30,\n start-time: datetime(hour: 14, minute: 10, second: 0),\n end-time: datetime(hour: 14, minute: 40, second: 0),\n last-minutes: 5,\n note-font-size: 12,\n disable-markdown: false,\n default-transition: (\n type: "push",\n duration-seconds: 2,\n angle: ltr,\n alignment: "vertical",\n direction: "inward",\n ),\n))\n\n// Theorems configuration by ctheorems\n#show: thmrules.with(qed-symbol: $square$)\n#let theorem = thmbox("theorem", "Theorem", fill: rgb("#eeffee"))\n#let corollary = thmplain(\n "corollary",\n "Corollary",\n base: "theorem",\n titlefmt: strong\n)\n#let definition = thmbox("definition", "Definition", inset: (x: 1.2em, top: 1em))\n#let example = thmplain("example", "Example").with(numbering: none)\n#let proof = thmproof("proof", "Proof")\n\n// Extract methods\n#let (init, slides, touying-outline, alert, speaker-note) = utils.methods(s)\n#show: init\n\n#show strong: alert\n\n// Extract slide functions\n#let (slide, empty-slide) = utils.slides(s)\n#show: slides\n\n= Animation\n\n== Simple Animation\n\nWe can use `#pause` to #pause display something later.\n\n#pause\n\nJust like this.\n\n#meanwhile\n\nMeanwhile, #pause we can also use `#meanwhile` to #pause display other content synchronously.\n\n#speaker-note[\n + This is a speaker note.\n + You won\'t see it unless you use `#let s = (s.math.show-notes-on-second-screen)(self: s, right)`\n]\n\n\n== Complex Animation - Mark-Style\n\nAt subslide #utils.touying-wrapper((self: none) => str(self.subslide)), we can\n\nuse #uncover("2-")[`#uncover` function] for reserving space,\n\nuse #only("2-")[`#only` function] for not reserving space,\n\n#alternatives[call `#only` multiple times \\u{2717}][use `#alternatives` function #sym.checkmark] for choosing one of the alternatives.\n\n\n== Complex Animation - Callback-Style\n\n#slide(repeat: 3, self => [\n #let (uncover, only, alternatives) = utils.methods(self)\n\n At subslide #self.subslide, we can\n\n use #uncover("2-")[`#uncover` function] for reserving space,\n\n use #only("2-")[`#only` function] for not reserving space,\n\n #alternatives[call `#only` multiple times \\u{2717}][use `#alternatives` function #sym.checkmark] for choosing one of the alternatives.\n])\n\n\n== Math Equation Animation\n\nTouying equation with `pause`:\n\n#touying-equation(`\n f(x) &= pause x^2 + 2x + 1 \\\n &= pause (x + 1)^2 \\\n`)\n\n#meanwhile\n\nHere, #pause we have the expression of $f(x)$.\n\n#pause\n\nBy factorizing, we can obtain this result.\n\n\n== CeTZ Animation\n\nCeTZ Animation in Touying:\n\n#cetz-canvas({\n import cetz.draw: *\n \n rect((0,0), (5,5))\n\n (pause,)\n\n rect((0,0), (1,1))\n rect((1,1), (2,2))\n rect((2,2), (3,3))\n\n (pause,)\n\n line((0,0), (2.5, 2.5), name: "line")\n})\n\n\n== Fletcher Animation\n\nFletcher Animation in Touying:\n\n#fletcher-diagram(\n node-stroke: .1em,\n node-fill: gradient.radial(blue.lighten(80%), blue, center: (30%, 20%), radius: 80%),\n spacing: 4em,\n edge((-1,0), "r", "-|>", `open(path)`, label-pos: 0, label-side: center),\n node((0,0), `reading`, radius: 2em),\n edge((0,0), (0,0), `read()`, "--|>", bend: 130deg),\n pause,\n edge(`read()`, "-|>"),\n node((1,0), `eof`, radius: 2em),\n pause,\n edge(`close()`, "-|>"),\n node((2,0), `closed`, radius: 2em, extrude: (-2.5, 0)),\n edge((0,0), (2,0), `close()`, "-|>", bend: -40deg),\n)\n\n\n= Theorems\n\n== Prime numbers\n\n#definition[\n A natural number is called a #highlight[_prime number_] if it is greater\n than 1 and cannot be written as the product of two smaller natural numbers.\n]\n#example[\n The numbers $2$, $3$, and $17$ are prime.\n @cor_largest_prime shows that this list is not exhaustive!\n]\n\n#theorem("Euclid")[\n There are infinitely many primes.\n]\n#proof[\n Suppose to the contrary that $p_1, p_2, dots, p_n$ is a finite enumeration\n of all primes. Set $P = p_1 p_2 dots p_n$. Since $P + 1$ is not in our list,\n it cannot be prime. Thus, some prime factor $p_j$ divides $P + 1$. Since\n $p_j$ also divides $P$, it must divide the difference $(P + 1) - P = 1$, a\n contradiction.\n]\n\n#corollary[\n There is no largest prime number.\n] \n#corollary[\n There are infinitely many composite numbers.\n]\n\n#theorem[\n There are arbitrarily long stretches of composite numbers.\n]\n\n#proof[\n For any $n > 2$, consider $\n n! + 2, quad n! + 3, quad ..., quad n! + n #qedhere\n $\n]\n\n\n= Others\n\n== Side-by-side\n\n#slide(composer: (1fr, 1fr))[\n First column.\n][\n Second column.\n]\n\n\n== Multiple Pages\n\n#lorem(200)\n\n\n// appendix by freezing last-slide-number\n#let s = (s.methods.appendix)(self: s)\n#let (slide, empty-slide) = utils.slides(s)\n\n== Appendix\n\n#slide[\n Please pay attention to the current slide number.\n]\n'})}),"\n",(0,i.jsx)(n.p,{children:(0,i.jsx)(n.img,{src:"https://github.com/touying-typ/touying/assets/34951714/fcecb505-d2d1-4e36-945a-225f4661a694",alt:"image"})}),"\n",(0,i.jsx)(n.p,{children:"Touying offers many built-in themes to easily create beautiful slides. For example, in this case:"}),"\n",(0,i.jsx)(n.pre,{children:(0,i.jsx)(n.code,{children:'#let s = themes.university.register(aspect-ratio: "16-9")\n'})}),"\n",(0,i.jsx)(n.p,{children:"you can use the university theme. For more detailed tutorials on themes, you can refer to the following sections."})]})}function d(e={}){const{wrapper:n}={...(0,s.a)(),...e.components};return n?(0,i.jsx)(n,{...e,children:(0,i.jsx)(u,{...e})}):u(e)}},1151:(e,n,t)=>{t.d(n,{Z:()=>a,a:()=>r});var i=t(7294);const s={},o=i.createContext(s);function r(e){const n=i.useContext(o);return i.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(s):e.components||s:r(e.components),i.createElement(o.Provider,{value:n},e.children)}}}]); \ No newline at end of file diff --git a/assets/js/98ce8162.6ed4d0c2.js b/assets/js/98ce8162.0bf35546.js similarity index 98% rename from assets/js/98ce8162.6ed4d0c2.js rename to assets/js/98ce8162.0bf35546.js index a2d6e9f9a..0e5837011 100644 --- a/assets/js/98ce8162.6ed4d0c2.js +++ b/assets/js/98ce8162.0bf35546.js @@ -1 +1 @@ -"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[1543],{715:(e,n,t)=>{t.r(n),t.d(n,{assets:()=>l,contentTitle:()=>r,default:()=>d,frontMatter:()=>o,metadata:()=>a,toc:()=>c});var i=t(5893),s=t(1151);const o={sidebar_position:2},r="Getting Started",a={id:"start",title:"Getting Started",description:"Before you begin, make sure you have the Typst environment installed. If not, you can use the Web App or install the Tinymist LSP plugins for VS Code.",source:"@site/docs/start.md",sourceDirName:".",slug:"/start",permalink:"/touying/docs/next/start",draft:!1,unlisted:!1,editUrl:"https://github.com/touying-typ/touying/tree/main/docs/docs/start.md",tags:[],version:"current",sidebarPosition:2,frontMatter:{sidebar_position:2},sidebar:"tutorialSidebar",previous:{title:"Introduction to Touying",permalink:"/touying/docs/next/intro"},next:{title:"Sections and Subsections",permalink:"/touying/docs/next/sections"}},l={},c=[{value:"More Complex Examples",id:"more-complex-examples",level:2}];function u(e){const n={a:"a",code:"code",h1:"h1",h2:"h2",img:"img",p:"p",pre:"pre",strong:"strong",...(0,s.a)(),...e.components};return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(n.h1,{id:"getting-started",children:"Getting Started"}),"\n",(0,i.jsxs)(n.p,{children:["Before you begin, make sure you have the Typst environment installed. If not, you can use the ",(0,i.jsx)(n.a,{href:"https://typst.app/",children:"Web App"})," or install the ",(0,i.jsx)(n.a,{href:"https://marketplace.visualstudio.com/items?itemName=myriad-dreamin.tinymist",children:"Tinymist LSP"})," plugins for VS Code."]}),"\n",(0,i.jsx)(n.p,{children:"To use Touying, you just need to include the following in your document:"}),"\n",(0,i.jsx)(n.pre,{children:(0,i.jsx)(n.code,{className:"language-typst",children:'#import "@preview/touying:0.4.2": *\n\n#let s = themes.simple.register()\n#let (init, slides) = utils.methods(s)\n#show: init\n\n#let (slide, empty-slide) = utils.slides(s)\n#show: slides\n\n= Title\n\n== First Slide\n\nHello, Touying!\n\n#pause\n\nHello, Typst!\n'})}),"\n",(0,i.jsx)(n.p,{children:(0,i.jsx)(n.img,{src:"https://github.com/touying-typ/touying/assets/34951714/f5bdbf8f-7bf9-45fd-9923-0fa5d66450b2",alt:"image"})}),"\n",(0,i.jsx)(n.p,{children:"It's that simple! You've created your first Touying slides. Congratulations! \ud83c\udf89"}),"\n",(0,i.jsxs)(n.p,{children:[(0,i.jsx)(n.strong,{children:"Tip:"})," You can use Typst syntax like ",(0,i.jsx)(n.code,{children:'#import "config.typ": *'})," or ",(0,i.jsx)(n.code,{children:'#include "content.typ"'})," to implement Touying's multi-file architecture."]}),"\n",(0,i.jsxs)(n.p,{children:[(0,i.jsx)(n.strong,{children:"Warning:"})," The comma in ",(0,i.jsx)(n.code,{children:"#let (slide, empty-slide) = utils.slides(s)"})," is necessary for the unpacking syntax."]}),"\n",(0,i.jsx)(n.h2,{id:"more-complex-examples",children:"More Complex Examples"}),"\n",(0,i.jsxs)(n.p,{children:["In fact, Touying provides various styles for slide writing. You can also use the ",(0,i.jsx)(n.code,{children:"#slide[..]"})," syntax to access more powerful features provided by Touying."]}),"\n",(0,i.jsx)(n.p,{children:(0,i.jsx)(n.img,{src:"https://github.com/touying-typ/touying/assets/34951714/fcecb505-d2d1-4e36-945a-225f4661a694",alt:"image"})}),"\n",(0,i.jsx)(n.p,{children:"Touying offers many built-in themes to easily create beautiful slides. For example, in this case:"}),"\n",(0,i.jsx)(n.pre,{children:(0,i.jsx)(n.code,{children:'#let s = themes.university.register(aspect-ratio: "16-9")\n'})}),"\n",(0,i.jsx)(n.p,{children:"you can use the university theme. For more detailed tutorials on themes, you can refer to the following sections."}),"\n",(0,i.jsx)(n.pre,{children:(0,i.jsx)(n.code,{className:"language-typst",children:'#import "@preview/touying:0.4.2": *\n#import "@preview/cetz:0.2.2"\n#import "@preview/fletcher:0.4.4" as fletcher: node, edge\n#import "@preview/ctheorems:1.1.2": *\n\n// cetz and fletcher bindings for touying\n#let cetz-canvas = touying-reducer.with(reduce: cetz.canvas, cover: cetz.draw.hide.with(bounds: true))\n#let fletcher-diagram = touying-reducer.with(reduce: fletcher.diagram, cover: fletcher.hide)\n\n// Register university theme\n// You can replace it with other themes and it can still work normally\n#let s = themes.university.register(aspect-ratio: "16-9")\n\n// Set the numbering of section and subsection\n#let s = (s.methods.numbering)(self: s, section: "1.", "1.1")\n\n// Set the speaker notes configuration\n// #let s = (s.methods.show-notes-on-second-screen)(self: s, right)\n\n// Global information configuration\n#let s = (s.methods.info)(\n self: s,\n title: [Title],\n subtitle: [Subtitle],\n author: [Authors],\n date: datetime.today(),\n institution: [Institution],\n)\n\n// Pdfpc configuration\n// typst query --root . ./example.typ --field value --one "" > ./example.pdfpc\n#let s = (s.methods.append-preamble)(self: s, pdfpc.config(\n duration-minutes: 30,\n start-time: datetime(hour: 14, minute: 10, second: 0),\n end-time: datetime(hour: 14, minute: 40, second: 0),\n last-minutes: 5,\n note-font-size: 12,\n disable-markdown: false,\n default-transition: (\n type: "push",\n duration-seconds: 2,\n angle: ltr,\n alignment: "vertical",\n direction: "inward",\n ),\n))\n\n// Theroems configuration by ctheorems\n#show: thmrules.with(qed-symbol: $square$)\n#let theorem = thmbox("theorem", "Theorem", fill: rgb("#eeffee"))\n#let corollary = thmplain(\n "corollary",\n "Corollary",\n base: "theorem",\n titlefmt: strong\n)\n#let definition = thmbox("definition", "Definition", inset: (x: 1.2em, top: 1em))\n#let example = thmplain("example", "Example").with(numbering: none)\n#let proof = thmproof("proof", "Proof")\n\n// Extract methods\n#let (init, slides, touying-outline, alert, speaker-note) = utils.methods(s)\n#show: init\n\n#show strong: alert\n\n// Extract slide functions\n#let (slide, empty-slide) = utils.slides(s)\n#show: slides\n\n= Animation\n\n== Simple Animation\n\nWe can use `#pause` to #pause display something later.\n\n#pause\n\nJust like this.\n\n#meanwhile\n\nMeanwhile, #pause we can also use `#meanwhile` to #pause display other content synchronously.\n\n#speaker-note[\n + This is a speaker note.\n + You won\'t see it unless you use `#let s = (s.math.show-notes-on-second-screen)(self: s, right)`\n]\n\n\n== Complex Animation - Mark-Style\n\nAt subslide #utils.touying-wrapper((self: none) => str(self.subslide)), we can\n\nuse #uncover("2-")[`#uncover` function] for reserving space,\n\nuse #only("2-")[`#only` function] for not reserving space,\n\n#alternatives[call `#only` multiple times \\u{2717}][use `#alternatives` function #sym.checkmark] for choosing one of the alternatives.\n\n\n== Complex Animation - Callback-Style\n\n#slide(repeat: 3, self => [\n #let (uncover, only, alternatives) = utils.methods(self)\n\n At subslide #self.subslide, we can\n\n use #uncover("2-")[`#uncover` function] for reserving space,\n\n use #only("2-")[`#only` function] for not reserving space,\n\n #alternatives[call `#only` multiple times \\u{2717}][use `#alternatives` function #sym.checkmark] for choosing one of the alternatives.\n])\n\n\n== Math Equation Animation\n\nTouying equation with `pause`:\n\n#touying-equation(`\n f(x) &= pause x^2 + 2x + 1 \\\n &= pause (x + 1)^2 \\\n`)\n\n#meanwhile\n\nHere, #pause we have the expression of $f(x)$.\n\n#pause\n\nBy factorizing, we can obtain this result.\n\n\n== CeTZ Animation\n\nCeTZ Animation in Touying:\n\n#cetz-canvas({\n import cetz.draw: *\n \n rect((0,0), (5,5))\n\n (pause,)\n\n rect((0,0), (1,1))\n rect((1,1), (2,2))\n rect((2,2), (3,3))\n\n (pause,)\n\n line((0,0), (2.5, 2.5), name: "line")\n})\n\n\n== Fletcher Animation\n\nFletcher Animation in Touying:\n\n#fletcher-diagram(\n node-stroke: .1em,\n node-fill: gradient.radial(blue.lighten(80%), blue, center: (30%, 20%), radius: 80%),\n spacing: 4em,\n edge((-1,0), "r", "-|>", `open(path)`, label-pos: 0, label-side: center),\n node((0,0), `reading`, radius: 2em),\n edge((0,0), (0,0), `read()`, "--|>", bend: 130deg),\n pause,\n edge(`read()`, "-|>"),\n node((1,0), `eof`, radius: 2em),\n pause,\n edge(`close()`, "-|>"),\n node((2,0), `closed`, radius: 2em, extrude: (-2.5, 0)),\n edge((0,0), (2,0), `close()`, "-|>", bend: -40deg),\n)\n\n\n= Theroems\n\n== Prime numbers\n\n#definition[\n A natural number is called a #highlight[_prime number_] if it is greater\n than 1 and cannot be written as the product of two smaller natural numbers.\n]\n#example[\n The numbers $2$, $3$, and $17$ are prime.\n @cor_largest_prime shows that this list is not exhaustive!\n]\n\n#theorem("Euclid")[\n There are infinitely many primes.\n]\n#proof[\n Suppose to the contrary that $p_1, p_2, dots, p_n$ is a finite enumeration\n of all primes. Set $P = p_1 p_2 dots p_n$. Since $P + 1$ is not in our list,\n it cannot be prime. Thus, some prime factor $p_j$ divides $P + 1$. Since\n $p_j$ also divides $P$, it must divide the difference $(P + 1) - P = 1$, a\n contradiction.\n]\n\n#corollary[\n There is no largest prime number.\n] \n#corollary[\n There are infinitely many composite numbers.\n]\n\n#theorem[\n There are arbitrarily long stretches of composite numbers.\n]\n\n#proof[\n For any $n > 2$, consider $\n n! + 2, quad n! + 3, quad ..., quad n! + n #qedhere\n $\n]\n\n\n= Others\n\n== Side-by-side\n\n#slide(composer: (1fr, 1fr))[\n First column.\n][\n Second column.\n]\n\n\n== Multiple Pages\n\n#lorem(200)\n\n\n// appendix by freezing last-slide-number\n#let s = (s.methods.appendix)(self: s)\n#let (slide, empty-slide) = utils.slides(s)\n\n== Appendix\n\n#slide[\n Please pay attention to the current slide number.\n]\n'})}),"\n",(0,i.jsx)(n.p,{children:(0,i.jsx)(n.img,{src:"https://github.com/touying-typ/touying/assets/34951714/fcecb505-d2d1-4e36-945a-225f4661a694",alt:"image"})}),"\n",(0,i.jsx)(n.p,{children:"Touying offers many built-in themes to easily create beautiful slides. For example, in this case:"}),"\n",(0,i.jsx)(n.pre,{children:(0,i.jsx)(n.code,{children:'#let s = themes.university.register(aspect-ratio: "16-9")\n'})}),"\n",(0,i.jsx)(n.p,{children:"you can use the university theme. For more detailed tutorials on themes, you can refer to the following sections."})]})}function d(e={}){const{wrapper:n}={...(0,s.a)(),...e.components};return n?(0,i.jsx)(n,{...e,children:(0,i.jsx)(u,{...e})}):u(e)}},1151:(e,n,t)=>{t.d(n,{Z:()=>a,a:()=>r});var i=t(7294);const s={},o=i.createContext(s);function r(e){const n=i.useContext(o);return i.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(s):e.components||s:r(e.components),i.createElement(o.Provider,{value:n},e.children)}}}]); \ No newline at end of file +"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[1543],{715:(e,n,t)=>{t.r(n),t.d(n,{assets:()=>l,contentTitle:()=>r,default:()=>d,frontMatter:()=>o,metadata:()=>a,toc:()=>c});var i=t(5893),s=t(1151);const o={sidebar_position:2},r="Getting Started",a={id:"start",title:"Getting Started",description:"Before you begin, make sure you have the Typst environment installed. If not, you can use the Web App or install the Tinymist LSP plugins for VS Code.",source:"@site/docs/start.md",sourceDirName:".",slug:"/start",permalink:"/touying/docs/next/start",draft:!1,unlisted:!1,editUrl:"https://github.com/touying-typ/touying/tree/main/docs/docs/start.md",tags:[],version:"current",sidebarPosition:2,frontMatter:{sidebar_position:2},sidebar:"tutorialSidebar",previous:{title:"Introduction to Touying",permalink:"/touying/docs/next/intro"},next:{title:"Sections and Subsections",permalink:"/touying/docs/next/sections"}},l={},c=[{value:"More Complex Examples",id:"more-complex-examples",level:2}];function u(e){const n={a:"a",code:"code",h1:"h1",h2:"h2",img:"img",p:"p",pre:"pre",strong:"strong",...(0,s.a)(),...e.components};return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(n.h1,{id:"getting-started",children:"Getting Started"}),"\n",(0,i.jsxs)(n.p,{children:["Before you begin, make sure you have the Typst environment installed. If not, you can use the ",(0,i.jsx)(n.a,{href:"https://typst.app/",children:"Web App"})," or install the ",(0,i.jsx)(n.a,{href:"https://marketplace.visualstudio.com/items?itemName=myriad-dreamin.tinymist",children:"Tinymist LSP"})," plugins for VS Code."]}),"\n",(0,i.jsx)(n.p,{children:"To use Touying, you just need to include the following in your document:"}),"\n",(0,i.jsx)(n.pre,{children:(0,i.jsx)(n.code,{className:"language-typst",children:'#import "@preview/touying:0.4.2": *\n\n#let s = themes.simple.register()\n#let (init, slides) = utils.methods(s)\n#show: init\n\n#let (slide, empty-slide) = utils.slides(s)\n#show: slides\n\n= Title\n\n== First Slide\n\nHello, Touying!\n\n#pause\n\nHello, Typst!\n'})}),"\n",(0,i.jsx)(n.p,{children:(0,i.jsx)(n.img,{src:"https://github.com/touying-typ/touying/assets/34951714/f5bdbf8f-7bf9-45fd-9923-0fa5d66450b2",alt:"image"})}),"\n",(0,i.jsx)(n.p,{children:"It's that simple! You've created your first Touying slides. Congratulations! \ud83c\udf89"}),"\n",(0,i.jsxs)(n.p,{children:[(0,i.jsx)(n.strong,{children:"Tip:"})," You can use Typst syntax like ",(0,i.jsx)(n.code,{children:'#import "config.typ": *'})," or ",(0,i.jsx)(n.code,{children:'#include "content.typ"'})," to implement Touying's multi-file architecture."]}),"\n",(0,i.jsxs)(n.p,{children:[(0,i.jsx)(n.strong,{children:"Warning:"})," The comma in ",(0,i.jsx)(n.code,{children:"#let (slide, empty-slide) = utils.slides(s)"})," is necessary for the unpacking syntax."]}),"\n",(0,i.jsx)(n.h2,{id:"more-complex-examples",children:"More Complex Examples"}),"\n",(0,i.jsxs)(n.p,{children:["In fact, Touying provides various styles for slide writing. You can also use the ",(0,i.jsx)(n.code,{children:"#slide[..]"})," syntax to access more powerful features provided by Touying."]}),"\n",(0,i.jsx)(n.p,{children:(0,i.jsx)(n.img,{src:"https://github.com/touying-typ/touying/assets/34951714/fcecb505-d2d1-4e36-945a-225f4661a694",alt:"image"})}),"\n",(0,i.jsx)(n.p,{children:"Touying offers many built-in themes to easily create beautiful slides. For example, in this case:"}),"\n",(0,i.jsx)(n.pre,{children:(0,i.jsx)(n.code,{children:'#let s = themes.university.register(aspect-ratio: "16-9")\n'})}),"\n",(0,i.jsx)(n.p,{children:"you can use the university theme. For more detailed tutorials on themes, you can refer to the following sections."}),"\n",(0,i.jsx)(n.pre,{children:(0,i.jsx)(n.code,{className:"language-typst",children:'#import "@preview/touying:0.4.2": *\n#import "@preview/cetz:0.2.2"\n#import "@preview/fletcher:0.4.4" as fletcher: node, edge\n#import "@preview/ctheorems:1.1.2": *\n\n// cetz and fletcher bindings for touying\n#let cetz-canvas = touying-reducer.with(reduce: cetz.canvas, cover: cetz.draw.hide.with(bounds: true))\n#let fletcher-diagram = touying-reducer.with(reduce: fletcher.diagram, cover: fletcher.hide)\n\n// Register university theme\n// You can replace it with other themes and it can still work normally\n#let s = themes.university.register(aspect-ratio: "16-9")\n\n// Set the numbering of section and subsection\n#let s = (s.methods.numbering)(self: s, section: "1.", "1.1")\n\n// Set the speaker notes configuration\n// #let s = (s.methods.show-notes-on-second-screen)(self: s, right)\n\n// Global information configuration\n#let s = (s.methods.info)(\n self: s,\n title: [Title],\n subtitle: [Subtitle],\n author: [Authors],\n date: datetime.today(),\n institution: [Institution],\n)\n\n// Pdfpc configuration\n// typst query --root . ./example.typ --field value --one "" > ./example.pdfpc\n#let s = (s.methods.append-preamble)(self: s, pdfpc.config(\n duration-minutes: 30,\n start-time: datetime(hour: 14, minute: 10, second: 0),\n end-time: datetime(hour: 14, minute: 40, second: 0),\n last-minutes: 5,\n note-font-size: 12,\n disable-markdown: false,\n default-transition: (\n type: "push",\n duration-seconds: 2,\n angle: ltr,\n alignment: "vertical",\n direction: "inward",\n ),\n))\n\n// Theorems configuration by ctheorems\n#show: thmrules.with(qed-symbol: $square$)\n#let theorem = thmbox("theorem", "Theorem", fill: rgb("#eeffee"))\n#let corollary = thmplain(\n "corollary",\n "Corollary",\n base: "theorem",\n titlefmt: strong\n)\n#let definition = thmbox("definition", "Definition", inset: (x: 1.2em, top: 1em))\n#let example = thmplain("example", "Example").with(numbering: none)\n#let proof = thmproof("proof", "Proof")\n\n// Extract methods\n#let (init, slides, touying-outline, alert, speaker-note) = utils.methods(s)\n#show: init\n\n#show strong: alert\n\n// Extract slide functions\n#let (slide, empty-slide) = utils.slides(s)\n#show: slides\n\n= Animation\n\n== Simple Animation\n\nWe can use `#pause` to #pause display something later.\n\n#pause\n\nJust like this.\n\n#meanwhile\n\nMeanwhile, #pause we can also use `#meanwhile` to #pause display other content synchronously.\n\n#speaker-note[\n + This is a speaker note.\n + You won\'t see it unless you use `#let s = (s.math.show-notes-on-second-screen)(self: s, right)`\n]\n\n\n== Complex Animation - Mark-Style\n\nAt subslide #utils.touying-wrapper((self: none) => str(self.subslide)), we can\n\nuse #uncover("2-")[`#uncover` function] for reserving space,\n\nuse #only("2-")[`#only` function] for not reserving space,\n\n#alternatives[call `#only` multiple times \\u{2717}][use `#alternatives` function #sym.checkmark] for choosing one of the alternatives.\n\n\n== Complex Animation - Callback-Style\n\n#slide(repeat: 3, self => [\n #let (uncover, only, alternatives) = utils.methods(self)\n\n At subslide #self.subslide, we can\n\n use #uncover("2-")[`#uncover` function] for reserving space,\n\n use #only("2-")[`#only` function] for not reserving space,\n\n #alternatives[call `#only` multiple times \\u{2717}][use `#alternatives` function #sym.checkmark] for choosing one of the alternatives.\n])\n\n\n== Math Equation Animation\n\nTouying equation with `pause`:\n\n#touying-equation(`\n f(x) &= pause x^2 + 2x + 1 \\\n &= pause (x + 1)^2 \\\n`)\n\n#meanwhile\n\nHere, #pause we have the expression of $f(x)$.\n\n#pause\n\nBy factorizing, we can obtain this result.\n\n\n== CeTZ Animation\n\nCeTZ Animation in Touying:\n\n#cetz-canvas({\n import cetz.draw: *\n \n rect((0,0), (5,5))\n\n (pause,)\n\n rect((0,0), (1,1))\n rect((1,1), (2,2))\n rect((2,2), (3,3))\n\n (pause,)\n\n line((0,0), (2.5, 2.5), name: "line")\n})\n\n\n== Fletcher Animation\n\nFletcher Animation in Touying:\n\n#fletcher-diagram(\n node-stroke: .1em,\n node-fill: gradient.radial(blue.lighten(80%), blue, center: (30%, 20%), radius: 80%),\n spacing: 4em,\n edge((-1,0), "r", "-|>", `open(path)`, label-pos: 0, label-side: center),\n node((0,0), `reading`, radius: 2em),\n edge((0,0), (0,0), `read()`, "--|>", bend: 130deg),\n pause,\n edge(`read()`, "-|>"),\n node((1,0), `eof`, radius: 2em),\n pause,\n edge(`close()`, "-|>"),\n node((2,0), `closed`, radius: 2em, extrude: (-2.5, 0)),\n edge((0,0), (2,0), `close()`, "-|>", bend: -40deg),\n)\n\n\n= Theorems\n\n== Prime numbers\n\n#definition[\n A natural number is called a #highlight[_prime number_] if it is greater\n than 1 and cannot be written as the product of two smaller natural numbers.\n]\n#example[\n The numbers $2$, $3$, and $17$ are prime.\n @cor_largest_prime shows that this list is not exhaustive!\n]\n\n#theorem("Euclid")[\n There are infinitely many primes.\n]\n#proof[\n Suppose to the contrary that $p_1, p_2, dots, p_n$ is a finite enumeration\n of all primes. Set $P = p_1 p_2 dots p_n$. Since $P + 1$ is not in our list,\n it cannot be prime. Thus, some prime factor $p_j$ divides $P + 1$. Since\n $p_j$ also divides $P$, it must divide the difference $(P + 1) - P = 1$, a\n contradiction.\n]\n\n#corollary[\n There is no largest prime number.\n] \n#corollary[\n There are infinitely many composite numbers.\n]\n\n#theorem[\n There are arbitrarily long stretches of composite numbers.\n]\n\n#proof[\n For any $n > 2$, consider $\n n! + 2, quad n! + 3, quad ..., quad n! + n #qedhere\n $\n]\n\n\n= Others\n\n== Side-by-side\n\n#slide(composer: (1fr, 1fr))[\n First column.\n][\n Second column.\n]\n\n\n== Multiple Pages\n\n#lorem(200)\n\n\n// appendix by freezing last-slide-number\n#let s = (s.methods.appendix)(self: s)\n#let (slide, empty-slide) = utils.slides(s)\n\n== Appendix\n\n#slide[\n Please pay attention to the current slide number.\n]\n'})}),"\n",(0,i.jsx)(n.p,{children:(0,i.jsx)(n.img,{src:"https://github.com/touying-typ/touying/assets/34951714/fcecb505-d2d1-4e36-945a-225f4661a694",alt:"image"})}),"\n",(0,i.jsx)(n.p,{children:"Touying offers many built-in themes to easily create beautiful slides. For example, in this case:"}),"\n",(0,i.jsx)(n.pre,{children:(0,i.jsx)(n.code,{children:'#let s = themes.university.register(aspect-ratio: "16-9")\n'})}),"\n",(0,i.jsx)(n.p,{children:"you can use the university theme. For more detailed tutorials on themes, you can refer to the following sections."})]})}function d(e={}){const{wrapper:n}={...(0,s.a)(),...e.components};return n?(0,i.jsx)(n,{...e,children:(0,i.jsx)(u,{...e})}):u(e)}},1151:(e,n,t)=>{t.d(n,{Z:()=>a,a:()=>r});var i=t(7294);const s={},o=i.createContext(s);function r(e){const n=i.useContext(o);return i.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(s):e.components||s:r(e.components),i.createElement(o.Provider,{value:n},e.children)}}}]); \ No newline at end of file diff --git a/assets/js/bef23ce3.af23c37e.js b/assets/js/bef23ce3.ccb7feac.js similarity index 97% rename from assets/js/bef23ce3.af23c37e.js rename to assets/js/bef23ce3.ccb7feac.js index 3d10aa71e..9b37a6063 100644 --- a/assets/js/bef23ce3.af23c37e.js +++ b/assets/js/bef23ce3.ccb7feac.js @@ -1 +1 @@ -"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[5096],{3207:(e,n,t)=>{t.r(n),t.d(n,{assets:()=>c,contentTitle:()=>r,default:()=>d,frontMatter:()=>s,metadata:()=>a,toc:()=>l});var o=t(5893),i=t(1151);const s={sidebar_position:6},r="Ctheorems",a={id:"integration/ctheorems",title:"Ctheorems",description:"Touying can work seamlessly with the ctheorems package, allowing you to directly use the ctheorems package.",source:"@site/versioned_docs/version-0.4.0+/integration/ctheorems.md",sourceDirName:"integration",slug:"/integration/ctheorems",permalink:"/touying/docs/0.4.0+/integration/ctheorems",draft:!1,unlisted:!1,editUrl:"https://github.com/touying-typ/touying/tree/main/docs/versioned_docs/version-0.4.0+/integration/ctheorems.md",tags:[],version:"0.4.0+",sidebarPosition:6,frontMatter:{sidebar_position:6},sidebar:"tutorialSidebar",previous:{title:"Codly",permalink:"/touying/docs/0.4.0+/integration/codly"},next:{title:"Themes",permalink:"/touying/docs/0.4.0+/category/themes"}},c={},l=[];function m(e){const n={code:"code",h1:"h1",img:"img",p:"p",pre:"pre",...(0,i.a)(),...e.components};return(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)(n.h1,{id:"ctheorems",children:"Ctheorems"}),"\n",(0,o.jsxs)(n.p,{children:["Touying can work seamlessly with the ",(0,o.jsx)(n.code,{children:"ctheorems"})," package, allowing you to directly use the ",(0,o.jsx)(n.code,{children:"ctheorems"})," package."]}),"\n",(0,o.jsxs)(n.p,{children:["Moreover, you can utilize ",(0,o.jsx)(n.code,{children:'#let s = (s.methods.numbering)(self: s, section: "1.", "1.1")'})," to set numbering for sections and subsections."]}),"\n",(0,o.jsx)(n.pre,{children:(0,o.jsx)(n.code,{className:"language-typst",children:'#import "@preview/touying:0.4.0": *\n#import "@preview/ctheorems:1.1.2": *\n\n// Register university theme\n#let s = themes.simple.register(aspect-ratio: "16-9")\n\n// Set the numbering of section and subsection\n#let s = (s.methods.numbering)(self: s, section: "1.", "1.1")\n\n// Theroems configuration by ctheorems\n#show: thmrules.with(qed-symbol: $square$)\n#let theorem = thmbox("theorem", "Theorem", fill: rgb("#eeffee"))\n#let corollary = thmplain(\n "corollary",\n "Corollary",\n base: "theorem",\n titlefmt: strong\n)\n#let definition = thmbox("definition", "Definition", inset: (x: 1.2em, top: 1em))\n#let example = thmplain("example", "Example").with(numbering: none)\n#let proof = thmproof("proof", "Proof")\n\n// Extract methods\n#let (init, slides, touying-outline, alert) = utils.methods(s)\n#show: init\n\n#show strong: alert\n\n// Extract slide functions\n#let (slide, empty-slide) = utils.slides(s)\n#show: slides\n\n= Theroems\n\n== Prime numbers\n\n#definition[\n A natural number is called a #highlight[_prime number_] if it is greater\n than 1 and cannot be written as the product of two smaller natural numbers.\n]\n#example[\n The numbers $2$, $3$, and $17$ are prime.\n @cor_largest_prime shows that this list is not exhaustive!\n]\n\n#theorem("Euclid")[\n There are infinitely many primes.\n]\n#proof[\n Suppose to the contrary that $p_1, p_2, dots, p_n$ is a finite enumeration\n of all primes. Set $P = p_1 p_2 dots p_n$. Since $P + 1$ is not in our list,\n it cannot be prime. Thus, some prime factor $p_j$ divides $P + 1$. Since\n $p_j$ also divides $P$, it must divide the difference $(P + 1) - P = 1$, a\n contradiction.\n]\n\n#corollary[\n There is no largest prime number.\n] \n#corollary[\n There are infinitely many composite numbers.\n]\n\n#theorem[\n There are arbitrarily long stretches of composite numbers.\n]\n\n#proof[\n For any $n > 2$, consider $\n n! + 2, quad n! + 3, quad ..., quad n! + n #qedhere\n $\n]\n'})}),"\n",(0,o.jsx)(n.p,{children:(0,o.jsx)(n.img,{src:"https://github.com/touying-typ/touying/assets/34951714/b506da7e-b7d6-4493-b35a-2307cfd38ddc",alt:"image"})})]})}function d(e={}){const{wrapper:n}={...(0,i.a)(),...e.components};return n?(0,o.jsx)(n,{...e,children:(0,o.jsx)(m,{...e})}):m(e)}},1151:(e,n,t)=>{t.d(n,{Z:()=>a,a:()=>r});var o=t(7294);const i={},s=o.createContext(i);function r(e){const n=o.useContext(s);return o.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:r(e.components),o.createElement(s.Provider,{value:n},e.children)}}}]); \ No newline at end of file +"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[5096],{3207:(e,n,t)=>{t.r(n),t.d(n,{assets:()=>c,contentTitle:()=>r,default:()=>d,frontMatter:()=>s,metadata:()=>a,toc:()=>l});var o=t(5893),i=t(1151);const s={sidebar_position:6},r="Ctheorems",a={id:"integration/ctheorems",title:"Ctheorems",description:"Touying can work seamlessly with the ctheorems package, allowing you to directly use the ctheorems package.",source:"@site/versioned_docs/version-0.4.0+/integration/ctheorems.md",sourceDirName:"integration",slug:"/integration/ctheorems",permalink:"/touying/docs/0.4.0+/integration/ctheorems",draft:!1,unlisted:!1,editUrl:"https://github.com/touying-typ/touying/tree/main/docs/versioned_docs/version-0.4.0+/integration/ctheorems.md",tags:[],version:"0.4.0+",sidebarPosition:6,frontMatter:{sidebar_position:6},sidebar:"tutorialSidebar",previous:{title:"Codly",permalink:"/touying/docs/0.4.0+/integration/codly"},next:{title:"Themes",permalink:"/touying/docs/0.4.0+/category/themes"}},c={},l=[];function m(e){const n={code:"code",h1:"h1",img:"img",p:"p",pre:"pre",...(0,i.a)(),...e.components};return(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)(n.h1,{id:"ctheorems",children:"Ctheorems"}),"\n",(0,o.jsxs)(n.p,{children:["Touying can work seamlessly with the ",(0,o.jsx)(n.code,{children:"ctheorems"})," package, allowing you to directly use the ",(0,o.jsx)(n.code,{children:"ctheorems"})," package."]}),"\n",(0,o.jsxs)(n.p,{children:["Moreover, you can utilize ",(0,o.jsx)(n.code,{children:'#let s = (s.methods.numbering)(self: s, section: "1.", "1.1")'})," to set numbering for sections and subsections."]}),"\n",(0,o.jsx)(n.pre,{children:(0,o.jsx)(n.code,{className:"language-typst",children:'#import "@preview/touying:0.4.0": *\n#import "@preview/ctheorems:1.1.2": *\n\n// Register university theme\n#let s = themes.simple.register(aspect-ratio: "16-9")\n\n// Set the numbering of section and subsection\n#let s = (s.methods.numbering)(self: s, section: "1.", "1.1")\n\n// Theorems configuration by ctheorems\n#show: thmrules.with(qed-symbol: $square$)\n#let theorem = thmbox("theorem", "Theorem", fill: rgb("#eeffee"))\n#let corollary = thmplain(\n "corollary",\n "Corollary",\n base: "theorem",\n titlefmt: strong\n)\n#let definition = thmbox("definition", "Definition", inset: (x: 1.2em, top: 1em))\n#let example = thmplain("example", "Example").with(numbering: none)\n#let proof = thmproof("proof", "Proof")\n\n// Extract methods\n#let (init, slides, touying-outline, alert) = utils.methods(s)\n#show: init\n\n#show strong: alert\n\n// Extract slide functions\n#let (slide, empty-slide) = utils.slides(s)\n#show: slides\n\n= Theorems\n\n== Prime numbers\n\n#definition[\n A natural number is called a #highlight[_prime number_] if it is greater\n than 1 and cannot be written as the product of two smaller natural numbers.\n]\n#example[\n The numbers $2$, $3$, and $17$ are prime.\n @cor_largest_prime shows that this list is not exhaustive!\n]\n\n#theorem("Euclid")[\n There are infinitely many primes.\n]\n#proof[\n Suppose to the contrary that $p_1, p_2, dots, p_n$ is a finite enumeration\n of all primes. Set $P = p_1 p_2 dots p_n$. Since $P + 1$ is not in our list,\n it cannot be prime. Thus, some prime factor $p_j$ divides $P + 1$. Since\n $p_j$ also divides $P$, it must divide the difference $(P + 1) - P = 1$, a\n contradiction.\n]\n\n#corollary[\n There is no largest prime number.\n] \n#corollary[\n There are infinitely many composite numbers.\n]\n\n#theorem[\n There are arbitrarily long stretches of composite numbers.\n]\n\n#proof[\n For any $n > 2$, consider $\n n! + 2, quad n! + 3, quad ..., quad n! + n #qedhere\n $\n]\n'})}),"\n",(0,o.jsx)(n.p,{children:(0,o.jsx)(n.img,{src:"https://github.com/touying-typ/touying/assets/34951714/b506da7e-b7d6-4493-b35a-2307cfd38ddc",alt:"image"})})]})}function d(e={}){const{wrapper:n}={...(0,i.a)(),...e.components};return n?(0,o.jsx)(n,{...e,children:(0,o.jsx)(m,{...e})}):m(e)}},1151:(e,n,t)=>{t.d(n,{Z:()=>a,a:()=>r});var o=t(7294);const i={},s=o.createContext(i);function r(e){const n=o.useContext(s);return o.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:r(e.components),o.createElement(s.Provider,{value:n},e.children)}}}]); \ No newline at end of file diff --git a/assets/js/f24a23d8.f4ec9b16.js b/assets/js/f24a23d8.5afd976b.js similarity index 98% rename from assets/js/f24a23d8.f4ec9b16.js rename to assets/js/f24a23d8.5afd976b.js index 2d834a654..10516ff53 100644 --- a/assets/js/f24a23d8.f4ec9b16.js +++ b/assets/js/f24a23d8.5afd976b.js @@ -1 +1 @@ -"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[2322],{2417:(e,n,t)=>{t.r(n),t.d(n,{assets:()=>l,contentTitle:()=>r,default:()=>u,frontMatter:()=>o,metadata:()=>a,toc:()=>d});var i=t(5893),s=t(1151);const o={sidebar_position:2},r="Getting Started",a={id:"start",title:"Getting Started",description:"Before you begin, make sure you have the Typst environment installed. If not, you can use the Web App or install the Tinymist LSP plugins for VS Code.",source:"@site/versioned_docs/version-0.4.0+/start.md",sourceDirName:".",slug:"/start",permalink:"/touying/docs/0.4.0+/start",draft:!1,unlisted:!1,editUrl:"https://github.com/touying-typ/touying/tree/main/docs/versioned_docs/version-0.4.0+/start.md",tags:[],version:"0.4.0+",sidebarPosition:2,frontMatter:{sidebar_position:2},sidebar:"tutorialSidebar",previous:{title:"Introduction to Touying",permalink:"/touying/docs/0.4.0+/intro"},next:{title:"Sections and Subsections",permalink:"/touying/docs/0.4.0+/sections"}},l={},d=[{value:"More Complex Examples",id:"more-complex-examples",level:2}];function c(e){const n={a:"a",code:"code",h1:"h1",h2:"h2",img:"img",p:"p",pre:"pre",strong:"strong",...(0,s.a)(),...e.components};return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(n.h1,{id:"getting-started",children:"Getting Started"}),"\n",(0,i.jsxs)(n.p,{children:["Before you begin, make sure you have the Typst environment installed. If not, you can use the ",(0,i.jsx)(n.a,{href:"https://typst.app/",children:"Web App"})," or install the ",(0,i.jsx)(n.a,{href:"https://marketplace.visualstudio.com/items?itemName=myriad-dreamin.tinymist",children:"Tinymist LSP"})," plugins for VS Code."]}),"\n",(0,i.jsx)(n.p,{children:"To use Touying, you just need to include the following in your document:"}),"\n",(0,i.jsx)(n.pre,{children:(0,i.jsx)(n.code,{className:"language-typst",children:'#import "@preview/touying:0.4.0": *\n\n#let s = themes.simple.register()\n#let (init, slides) = utils.methods(s)\n#show: init\n\n#let (slide, empty-slide) = utils.slides(s)\n#show: slides\n\n= Title\n\n== First Slide\n\nHello, Touying!\n\n#pause\n\nHello, Typst!\n'})}),"\n",(0,i.jsx)(n.p,{children:(0,i.jsx)(n.img,{src:"https://github.com/touying-typ/touying/assets/34951714/f5bdbf8f-7bf9-45fd-9923-0fa5d66450b2",alt:"image"})}),"\n",(0,i.jsx)(n.p,{children:"It's that simple! You've created your first Touying slides. Congratulations! \ud83c\udf89"}),"\n",(0,i.jsxs)(n.p,{children:[(0,i.jsx)(n.strong,{children:"Tip:"})," You can use Typst syntax like ",(0,i.jsx)(n.code,{children:'#import "config.typ": *'})," or ",(0,i.jsx)(n.code,{children:'#include "content.typ"'})," to implement Touying's multi-file architecture."]}),"\n",(0,i.jsxs)(n.p,{children:[(0,i.jsx)(n.strong,{children:"Warning:"})," The comma in ",(0,i.jsx)(n.code,{children:"#let (slide, empty-slide) = utils.slides(s)"})," is necessary for the unpacking syntax."]}),"\n",(0,i.jsx)(n.h2,{id:"more-complex-examples",children:"More Complex Examples"}),"\n",(0,i.jsxs)(n.p,{children:["In fact, Touying provides various styles for slide writing. You can also use the ",(0,i.jsx)(n.code,{children:"#slide[..]"})," syntax to access more powerful features provided by Touying."]}),"\n",(0,i.jsx)(n.p,{children:(0,i.jsx)(n.img,{src:"https://github.com/touying-typ/touying/assets/34951714/fcecb505-d2d1-4e36-945a-225f4661a694",alt:"image"})}),"\n",(0,i.jsx)(n.p,{children:"Touying offers many built-in themes to easily create beautiful slides. For example, in this case:"}),"\n",(0,i.jsx)(n.pre,{children:(0,i.jsx)(n.code,{children:'#let s = themes.university.register(aspect-ratio: "16-9")\n'})}),"\n",(0,i.jsx)(n.p,{children:"you can use the university theme. For more detailed tutorials on themes, you can refer to the following sections."}),"\n",(0,i.jsx)(n.pre,{children:(0,i.jsx)(n.code,{className:"language-typst",children:'#import "@preview/touying:0.4.0": *\n#import "@preview/cetz:0.2.2"\n#import "@preview/fletcher:0.4.4" as fletcher: node, edge\n#import "@preview/ctheorems:1.1.2": *\n\n// cetz and fletcher bindings for touying\n#let cetz-canvas = touying-reducer.with(reduce: cetz.canvas, cover: cetz.draw.hide.with(bounds: true))\n#let fletcher-diagram = touying-reducer.with(reduce: fletcher.diagram, cover: fletcher.hide)\n\n// Register university theme\n// You can replace it with other themes and it can still work normally\n#let s = themes.university.register(aspect-ratio: "16-9")\n\n// Set the numbering of section and subsection\n#let s = (s.methods.numbering)(self: s, section: "1.", "1.1")\n\n// Global information configuration\n#let s = (s.methods.info)(\n self: s,\n title: [Title],\n subtitle: [Subtitle],\n author: [Authors],\n date: datetime.today(),\n institution: [Institution],\n)\n\n// Pdfpc configuration\n// typst query --root . ./example.typ --field value --one "" > ./example.pdfpc\n#let s = (s.methods.append-preamble)(self: s, pdfpc.config(\n duration-minutes: 30,\n start-time: datetime(hour: 14, minute: 10, second: 0),\n end-time: datetime(hour: 14, minute: 40, second: 0),\n last-minutes: 5,\n note-font-size: 12,\n disable-markdown: false,\n default-transition: (\n type: "push",\n duration-seconds: 2,\n angle: ltr,\n alignment: "vertical",\n direction: "inward",\n ),\n))\n\n// Theroems configuration by ctheorems\n#show: thmrules.with(qed-symbol: $square$)\n#let theorem = thmbox("theorem", "Theorem", fill: rgb("#eeffee"))\n#let corollary = thmplain(\n "corollary",\n "Corollary",\n base: "theorem",\n titlefmt: strong\n)\n#let definition = thmbox("definition", "Definition", inset: (x: 1.2em, top: 1em))\n#let example = thmplain("example", "Example").with(numbering: none)\n#let proof = thmproof("proof", "Proof")\n\n// Extract methods\n#let (init, slides, touying-outline, alert) = utils.methods(s)\n#show: init\n\n#show strong: alert\n\n// Extract slide functions\n#let (slide, empty-slide) = utils.slides(s)\n#show: slides\n\n= Animation\n\n== Simple Animation\n\nWe can use `#pause` to #pause display something later.\n\n#pause\n\nJust like this.\n\n#meanwhile\n\nMeanwhile, #pause we can also use `#meanwhile` to #pause display other content synchronously.\n\n\n== Complex Animation\n\n#slide(repeat: 3, self => [\n #let (uncover, only, alternatives) = utils.methods(self)\n\n At subslide #self.subslide, we can\n\n use #uncover("2-")[`#uncover` function] for reserving space,\n\n use #only("2-")[`#only` function] for not reserving space,\n\n #alternatives[call `#only` multiple times \\u{2717}][use `#alternatives` function #sym.checkmark] for choosing one of the alternatives.\n])\n\n\n== Math Equation Animation\n\nTouying equation with `pause`:\n\n#touying-equation(`\n f(x) &= pause x^2 + 2x + 1 \\\n &= pause (x + 1)^2 \\\n`)\n\n#meanwhile\n\nHere, #pause we have the expression of $f(x)$.\n\n#pause\n\nBy factorizing, we can obtain this result.\n\n\n== CeTZ Animation\n\nCeTZ Animation in Touying:\n\n#cetz-canvas({\n import cetz.draw: *\n \n rect((0,0), (5,5))\n\n (pause,)\n\n rect((0,0), (1,1))\n rect((1,1), (2,2))\n rect((2,2), (3,3))\n\n (pause,)\n\n line((0,0), (2.5, 2.5), name: "line")\n})\n\n\n== Fletcher Animation\n\nFletcher Animation in Touying:\n\n#fletcher-diagram(\n node-stroke: .1em,\n node-fill: gradient.radial(blue.lighten(80%), blue, center: (30%, 20%), radius: 80%),\n spacing: 4em,\n edge((-1,0), "r", "-|>", `open(path)`, label-pos: 0, label-side: center),\n node((0,0), `reading`, radius: 2em),\n edge((0,0), (0,0), `read()`, "--|>", bend: 130deg),\n pause,\n edge(`read()`, "-|>"),\n node((1,0), `eof`, radius: 2em),\n pause,\n edge(`close()`, "-|>"),\n node((2,0), `closed`, radius: 2em, extrude: (-2.5, 0)),\n edge((0,0), (2,0), `close()`, "-|>", bend: -40deg),\n)\n\n\n= Theroems\n\n== Prime numbers\n\n#definition[\n A natural number is called a #highlight[_prime number_] if it is greater\n than 1 and cannot be written as the product of two smaller natural numbers.\n]\n#example[\n The numbers $2$, $3$, and $17$ are prime.\n @cor_largest_prime shows that this list is not exhaustive!\n]\n\n#theorem("Euclid")[\n There are infinitely many primes.\n]\n#proof[\n Suppose to the contrary that $p_1, p_2, dots, p_n$ is a finite enumeration\n of all primes. Set $P = p_1 p_2 dots p_n$. Since $P + 1$ is not in our list,\n it cannot be prime. Thus, some prime factor $p_j$ divides $P + 1$. Since\n $p_j$ also divides $P$, it must divide the difference $(P + 1) - P = 1$, a\n contradiction.\n]\n\n#corollary[\n There is no largest prime number.\n] \n#corollary[\n There are infinitely many composite numbers.\n]\n\n#theorem[\n There are arbitrarily long stretches of composite numbers.\n]\n\n#proof[\n For any $n > 2$, consider $\n n! + 2, quad n! + 3, quad ..., quad n! + n #qedhere\n $\n]\n\n\n= Others\n\n== Side-by-side\n\n#slide(composer: (1fr, 1fr))[\n First column.\n][\n Second column.\n]\n\n\n== Multiple Pages\n\n#lorem(200)\n\n\n// appendix by freezing last-slide-number\n#let s = (s.methods.appendix)(self: s)\n#let (slide, empty-slide) = utils.slides(s)\n\n== Appendix\n\n#slide[\n Please pay attention to the current slide number.\n]\n'})}),"\n",(0,i.jsx)(n.p,{children:(0,i.jsx)(n.img,{src:"https://github.com/touying-typ/touying/assets/34951714/fcecb505-d2d1-4e36-945a-225f4661a694",alt:"image"})}),"\n",(0,i.jsx)(n.p,{children:"Touying offers many built-in themes to easily create beautiful slides. For example, in this case:"}),"\n",(0,i.jsx)(n.pre,{children:(0,i.jsx)(n.code,{children:'#let s = themes.university.register(aspect-ratio: "16-9")\n'})}),"\n",(0,i.jsx)(n.p,{children:"you can use the university theme. For more detailed tutorials on themes, you can refer to the following sections."})]})}function u(e={}){const{wrapper:n}={...(0,s.a)(),...e.components};return n?(0,i.jsx)(n,{...e,children:(0,i.jsx)(c,{...e})}):c(e)}},1151:(e,n,t)=>{t.d(n,{Z:()=>a,a:()=>r});var i=t(7294);const s={},o=i.createContext(s);function r(e){const n=i.useContext(o);return i.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(s):e.components||s:r(e.components),i.createElement(o.Provider,{value:n},e.children)}}}]); \ No newline at end of file +"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[2322],{2417:(e,n,t)=>{t.r(n),t.d(n,{assets:()=>l,contentTitle:()=>r,default:()=>u,frontMatter:()=>o,metadata:()=>a,toc:()=>d});var i=t(5893),s=t(1151);const o={sidebar_position:2},r="Getting Started",a={id:"start",title:"Getting Started",description:"Before you begin, make sure you have the Typst environment installed. If not, you can use the Web App or install the Tinymist LSP plugins for VS Code.",source:"@site/versioned_docs/version-0.4.0+/start.md",sourceDirName:".",slug:"/start",permalink:"/touying/docs/0.4.0+/start",draft:!1,unlisted:!1,editUrl:"https://github.com/touying-typ/touying/tree/main/docs/versioned_docs/version-0.4.0+/start.md",tags:[],version:"0.4.0+",sidebarPosition:2,frontMatter:{sidebar_position:2},sidebar:"tutorialSidebar",previous:{title:"Introduction to Touying",permalink:"/touying/docs/0.4.0+/intro"},next:{title:"Sections and Subsections",permalink:"/touying/docs/0.4.0+/sections"}},l={},d=[{value:"More Complex Examples",id:"more-complex-examples",level:2}];function c(e){const n={a:"a",code:"code",h1:"h1",h2:"h2",img:"img",p:"p",pre:"pre",strong:"strong",...(0,s.a)(),...e.components};return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(n.h1,{id:"getting-started",children:"Getting Started"}),"\n",(0,i.jsxs)(n.p,{children:["Before you begin, make sure you have the Typst environment installed. If not, you can use the ",(0,i.jsx)(n.a,{href:"https://typst.app/",children:"Web App"})," or install the ",(0,i.jsx)(n.a,{href:"https://marketplace.visualstudio.com/items?itemName=myriad-dreamin.tinymist",children:"Tinymist LSP"})," plugins for VS Code."]}),"\n",(0,i.jsx)(n.p,{children:"To use Touying, you just need to include the following in your document:"}),"\n",(0,i.jsx)(n.pre,{children:(0,i.jsx)(n.code,{className:"language-typst",children:'#import "@preview/touying:0.4.0": *\n\n#let s = themes.simple.register()\n#let (init, slides) = utils.methods(s)\n#show: init\n\n#let (slide, empty-slide) = utils.slides(s)\n#show: slides\n\n= Title\n\n== First Slide\n\nHello, Touying!\n\n#pause\n\nHello, Typst!\n'})}),"\n",(0,i.jsx)(n.p,{children:(0,i.jsx)(n.img,{src:"https://github.com/touying-typ/touying/assets/34951714/f5bdbf8f-7bf9-45fd-9923-0fa5d66450b2",alt:"image"})}),"\n",(0,i.jsx)(n.p,{children:"It's that simple! You've created your first Touying slides. Congratulations! \ud83c\udf89"}),"\n",(0,i.jsxs)(n.p,{children:[(0,i.jsx)(n.strong,{children:"Tip:"})," You can use Typst syntax like ",(0,i.jsx)(n.code,{children:'#import "config.typ": *'})," or ",(0,i.jsx)(n.code,{children:'#include "content.typ"'})," to implement Touying's multi-file architecture."]}),"\n",(0,i.jsxs)(n.p,{children:[(0,i.jsx)(n.strong,{children:"Warning:"})," The comma in ",(0,i.jsx)(n.code,{children:"#let (slide, empty-slide) = utils.slides(s)"})," is necessary for the unpacking syntax."]}),"\n",(0,i.jsx)(n.h2,{id:"more-complex-examples",children:"More Complex Examples"}),"\n",(0,i.jsxs)(n.p,{children:["In fact, Touying provides various styles for slide writing. You can also use the ",(0,i.jsx)(n.code,{children:"#slide[..]"})," syntax to access more powerful features provided by Touying."]}),"\n",(0,i.jsx)(n.p,{children:(0,i.jsx)(n.img,{src:"https://github.com/touying-typ/touying/assets/34951714/fcecb505-d2d1-4e36-945a-225f4661a694",alt:"image"})}),"\n",(0,i.jsx)(n.p,{children:"Touying offers many built-in themes to easily create beautiful slides. For example, in this case:"}),"\n",(0,i.jsx)(n.pre,{children:(0,i.jsx)(n.code,{children:'#let s = themes.university.register(aspect-ratio: "16-9")\n'})}),"\n",(0,i.jsx)(n.p,{children:"you can use the university theme. For more detailed tutorials on themes, you can refer to the following sections."}),"\n",(0,i.jsx)(n.pre,{children:(0,i.jsx)(n.code,{className:"language-typst",children:'#import "@preview/touying:0.4.0": *\n#import "@preview/cetz:0.2.2"\n#import "@preview/fletcher:0.4.4" as fletcher: node, edge\n#import "@preview/ctheorems:1.1.2": *\n\n// cetz and fletcher bindings for touying\n#let cetz-canvas = touying-reducer.with(reduce: cetz.canvas, cover: cetz.draw.hide.with(bounds: true))\n#let fletcher-diagram = touying-reducer.with(reduce: fletcher.diagram, cover: fletcher.hide)\n\n// Register university theme\n// You can replace it with other themes and it can still work normally\n#let s = themes.university.register(aspect-ratio: "16-9")\n\n// Set the numbering of section and subsection\n#let s = (s.methods.numbering)(self: s, section: "1.", "1.1")\n\n// Global information configuration\n#let s = (s.methods.info)(\n self: s,\n title: [Title],\n subtitle: [Subtitle],\n author: [Authors],\n date: datetime.today(),\n institution: [Institution],\n)\n\n// Pdfpc configuration\n// typst query --root . ./example.typ --field value --one "" > ./example.pdfpc\n#let s = (s.methods.append-preamble)(self: s, pdfpc.config(\n duration-minutes: 30,\n start-time: datetime(hour: 14, minute: 10, second: 0),\n end-time: datetime(hour: 14, minute: 40, second: 0),\n last-minutes: 5,\n note-font-size: 12,\n disable-markdown: false,\n default-transition: (\n type: "push",\n duration-seconds: 2,\n angle: ltr,\n alignment: "vertical",\n direction: "inward",\n ),\n))\n\n// Theorems configuration by ctheorems\n#show: thmrules.with(qed-symbol: $square$)\n#let theorem = thmbox("theorem", "Theorem", fill: rgb("#eeffee"))\n#let corollary = thmplain(\n "corollary",\n "Corollary",\n base: "theorem",\n titlefmt: strong\n)\n#let definition = thmbox("definition", "Definition", inset: (x: 1.2em, top: 1em))\n#let example = thmplain("example", "Example").with(numbering: none)\n#let proof = thmproof("proof", "Proof")\n\n// Extract methods\n#let (init, slides, touying-outline, alert) = utils.methods(s)\n#show: init\n\n#show strong: alert\n\n// Extract slide functions\n#let (slide, empty-slide) = utils.slides(s)\n#show: slides\n\n= Animation\n\n== Simple Animation\n\nWe can use `#pause` to #pause display something later.\n\n#pause\n\nJust like this.\n\n#meanwhile\n\nMeanwhile, #pause we can also use `#meanwhile` to #pause display other content synchronously.\n\n\n== Complex Animation\n\n#slide(repeat: 3, self => [\n #let (uncover, only, alternatives) = utils.methods(self)\n\n At subslide #self.subslide, we can\n\n use #uncover("2-")[`#uncover` function] for reserving space,\n\n use #only("2-")[`#only` function] for not reserving space,\n\n #alternatives[call `#only` multiple times \\u{2717}][use `#alternatives` function #sym.checkmark] for choosing one of the alternatives.\n])\n\n\n== Math Equation Animation\n\nTouying equation with `pause`:\n\n#touying-equation(`\n f(x) &= pause x^2 + 2x + 1 \\\n &= pause (x + 1)^2 \\\n`)\n\n#meanwhile\n\nHere, #pause we have the expression of $f(x)$.\n\n#pause\n\nBy factorizing, we can obtain this result.\n\n\n== CeTZ Animation\n\nCeTZ Animation in Touying:\n\n#cetz-canvas({\n import cetz.draw: *\n \n rect((0,0), (5,5))\n\n (pause,)\n\n rect((0,0), (1,1))\n rect((1,1), (2,2))\n rect((2,2), (3,3))\n\n (pause,)\n\n line((0,0), (2.5, 2.5), name: "line")\n})\n\n\n== Fletcher Animation\n\nFletcher Animation in Touying:\n\n#fletcher-diagram(\n node-stroke: .1em,\n node-fill: gradient.radial(blue.lighten(80%), blue, center: (30%, 20%), radius: 80%),\n spacing: 4em,\n edge((-1,0), "r", "-|>", `open(path)`, label-pos: 0, label-side: center),\n node((0,0), `reading`, radius: 2em),\n edge((0,0), (0,0), `read()`, "--|>", bend: 130deg),\n pause,\n edge(`read()`, "-|>"),\n node((1,0), `eof`, radius: 2em),\n pause,\n edge(`close()`, "-|>"),\n node((2,0), `closed`, radius: 2em, extrude: (-2.5, 0)),\n edge((0,0), (2,0), `close()`, "-|>", bend: -40deg),\n)\n\n\n= Theorems\n\n== Prime numbers\n\n#definition[\n A natural number is called a #highlight[_prime number_] if it is greater\n than 1 and cannot be written as the product of two smaller natural numbers.\n]\n#example[\n The numbers $2$, $3$, and $17$ are prime.\n @cor_largest_prime shows that this list is not exhaustive!\n]\n\n#theorem("Euclid")[\n There are infinitely many primes.\n]\n#proof[\n Suppose to the contrary that $p_1, p_2, dots, p_n$ is a finite enumeration\n of all primes. Set $P = p_1 p_2 dots p_n$. Since $P + 1$ is not in our list,\n it cannot be prime. Thus, some prime factor $p_j$ divides $P + 1$. Since\n $p_j$ also divides $P$, it must divide the difference $(P + 1) - P = 1$, a\n contradiction.\n]\n\n#corollary[\n There is no largest prime number.\n] \n#corollary[\n There are infinitely many composite numbers.\n]\n\n#theorem[\n There are arbitrarily long stretches of composite numbers.\n]\n\n#proof[\n For any $n > 2$, consider $\n n! + 2, quad n! + 3, quad ..., quad n! + n #qedhere\n $\n]\n\n\n= Others\n\n== Side-by-side\n\n#slide(composer: (1fr, 1fr))[\n First column.\n][\n Second column.\n]\n\n\n== Multiple Pages\n\n#lorem(200)\n\n\n// appendix by freezing last-slide-number\n#let s = (s.methods.appendix)(self: s)\n#let (slide, empty-slide) = utils.slides(s)\n\n== Appendix\n\n#slide[\n Please pay attention to the current slide number.\n]\n'})}),"\n",(0,i.jsx)(n.p,{children:(0,i.jsx)(n.img,{src:"https://github.com/touying-typ/touying/assets/34951714/fcecb505-d2d1-4e36-945a-225f4661a694",alt:"image"})}),"\n",(0,i.jsx)(n.p,{children:"Touying offers many built-in themes to easily create beautiful slides. For example, in this case:"}),"\n",(0,i.jsx)(n.pre,{children:(0,i.jsx)(n.code,{children:'#let s = themes.university.register(aspect-ratio: "16-9")\n'})}),"\n",(0,i.jsx)(n.p,{children:"you can use the university theme. For more detailed tutorials on themes, you can refer to the following sections."})]})}function u(e={}){const{wrapper:n}={...(0,s.a)(),...e.components};return n?(0,i.jsx)(n,{...e,children:(0,i.jsx)(c,{...e})}):c(e)}},1151:(e,n,t)=>{t.d(n,{Z:()=>a,a:()=>r});var i=t(7294);const s={},o=i.createContext(s);function r(e){const n=i.useContext(o);return i.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(s):e.components||s:r(e.components),i.createElement(o.Provider,{value:n},e.children)}}}]); \ No newline at end of file diff --git a/assets/js/main.581f119c.js b/assets/js/main.b162647d.js similarity index 99% rename from assets/js/main.581f119c.js rename to assets/js/main.b162647d.js index abaa2b686..9f24342f8 100644 --- a/assets/js/main.581f119c.js +++ b/assets/js/main.b162647d.js @@ -1,2 +1,2 @@ -/*! For license information please see main.581f119c.js.LICENSE.txt */ -(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[179],{723:(e,t,n)=>{"use strict";n.d(t,{Z:()=>p});n(7294);var o=n(8356),r=n.n(o),i=n(6887);const a={"01140225":[()=>n.e(8671).then(n.t.bind(n,9683,19)),"~docs/default/category-touyingdocs-040-tutorialsidebar-category-package-integration-c9a.json",9683],"018a1506":[()=>n.e(69).then(n.bind(n,3390)),"@site/versioned_docs/version-0.3.2+/code-styles.md",3390],"01a85c17":[()=>Promise.all([n.e(532),n.e(4013)]).then(n.bind(n,1223)),"@theme/BlogTagsListPage",1223],"024af9ce":[()=>n.e(6902).then(n.bind(n,8154)),"@site/versioned_docs/version-0.4.0+/utilities/oop.md",8154],"0275f7e4":[()=>n.e(1560).then(n.bind(n,1898)),"@site/versioned_docs/version-0.2.x/progress/counters.md",1898],"02f62403":[()=>n.e(7836).then(n.bind(n,7837)),"@site/versioned_docs/version-0.3.x/sections.md",7837],"0479d12b":[()=>n.e(4621).then(n.bind(n,3498)),"@site/versioned_docs/version-0.3.2+/utilities/oop.md",3498],"04b649ca":[()=>n.e(1089).then(n.bind(n,4519)),"@site/versioned_docs/version-0.4.0+/themes/university.md",4519],"05206b71":[()=>n.e(8881).then(n.bind(n,4693)),"@site/versioned_docs/version-0.4.0+/external/pdfpc.md",4693],"05ed0e1f":[()=>n.e(7503).then(n.bind(n,8338)),"@site/versioned_docs/version-0.4.0+/themes/aqua.md",8338],"06e0043a":[()=>n.e(4725).then(n.t.bind(n,5681,19)),"~blog/default/touying-blog-tags-tags-16e.json",5681],"06e97d6d":[()=>n.e(7899).then(n.bind(n,225)),"@site/versioned_docs/version-0.4.2/external/pympress.md",225],"072a110d":[()=>n.e(4061).then(n.bind(n,3074)),"@site/versioned_docs/version-0.4.2/code-styles.md",3074],"080c9bd0":[()=>n.e(417).then(n.bind(n,137)),"@site/versioned_docs/version-0.3.x/external/pdfpc.md",137],"09ecdeab":[()=>n.e(9139).then(n.bind(n,7396)),"@site/docs/dynamic/cover.md",7396],"0b163c46":[()=>n.e(6486).then(n.bind(n,2502)),"@site/versioned_docs/version-0.4.2/multi-file.md",2502],"0c7d33f3":[()=>n.e(4842).then(n.bind(n,5152)),"@site/docs/utilities/oop.md",5152],"0d1c87af":[()=>n.e(2792).then(n.bind(n,2006)),"@site/docs/themes/aqua.md",2006],"0e384e19":[()=>n.e(9671).then(n.bind(n,7876)),"@site/docs/intro.md",7876],"0ed1cf13":[()=>n.e(4245).then(n.bind(n,2936)),"@site/versioned_docs/version-0.4.2/themes/university.md",2936],"0f02b06b":[()=>n.e(378).then(n.t.bind(n,3356,19)),"~docs/default/category-touyingdocs-041-tutorialsidebar-category-progress-4db.json",3356],"10eff399":[()=>n.e(9744).then(n.t.bind(n,7858,19)),"~blog/default/touying-blog-tags-development-edd-list.json",7858],11366869:[()=>n.e(5428).then(n.bind(n,7159)),"@site/versioned_docs/version-0.3.2+/utilities/fit-to.md",7159],"116fbef0":[()=>n.e(2432).then(n.bind(n,1529)),"@site/versioned_docs/version-0.3.x/integration/cetz.md",1529],"11b282fc":[()=>n.e(8814).then(n.bind(n,8079)),"@site/versioned_docs/version-0.2.x/dynamic/complex.md",8079],"14c08683":[()=>n.e(3942).then(n.t.bind(n,824,19)),"~docs/default/category-touyingdocs-02-x-tutorialsidebar-category-themes-e70.json",824],"14eb3368":[()=>Promise.all([n.e(532),n.e(9817)]).then(n.bind(n,4228)),"@theme/DocCategoryGeneratedIndexPage",4228],"1514c4f3":[()=>n.e(3651).then(n.bind(n,118)),"@site/versioned_docs/version-0.3.2+/integration/fletcher.md",118],"16a5b323":[()=>n.e(7140).then(n.bind(n,1871)),"@site/versioned_docs/version-0.4.1/integration/fletcher.md",1871],"173c8b24":[()=>n.e(4733).then(n.bind(n,6130)),"@site/versioned_docs/version-0.3.x/themes/metropolis.md",6130],"1748a406":[()=>n.e(9966).then(n.t.bind(n,5968,19)),"~docs/default/category-touyingdocs-032-tutorialsidebar-category-progress-697.json",5968],17588091:[()=>n.e(4823).then(n.bind(n,3706)),"@site/versioned_docs/version-0.3.x/changelog.md",3706],17896441:[()=>Promise.all([n.e(532),n.e(9206),n.e(7918)]).then(n.bind(n,5154)),"@theme/DocItem",5154],"1aab1ab5":[()=>n.e(2701).then(n.t.bind(n,4533,19)),"~docs/default/version-0-3-2-metadata-prop-d6b.json",4533],"1b6fd54f":[()=>n.e(5921).then(n.bind(n,479)),"@site/versioned_docs/version-0.3.2+/intro.md",479],"1bf261d1":[()=>n.e(8271).then(n.bind(n,8593)),"@site/versioned_docs/version-0.4.1/themes/metropolis.md",8593],"1cf5eacf":[()=>n.e(5635).then(n.t.bind(n,8322,19)),"~docs/default/version-0-4-0-metadata-prop-2ad.json",8322],"1ea66885":[()=>n.e(9985).then(n.bind(n,5099)),"@site/versioned_docs/version-0.4.1/multi-file.md",5099],"1f391b9e":[()=>Promise.all([n.e(532),n.e(9206),n.e(3085)]).then(n.bind(n,4247)),"@theme/MDXPage",4247],"2073d020":[()=>n.e(2964).then(n.bind(n,3701)),"@site/versioned_docs/version-0.4.2/dynamic/cover.md",3701],"2553c37c":[()=>n.e(5526).then(n.bind(n,2382)),"@site/versioned_docs/version-0.3.2+/build-your-own-theme.md",2382],"267f059f":[()=>n.e(2786).then(n.bind(n,5580)),"@site/versioned_docs/version-0.2.x/external/pdfpc.md",5580],"286c2c64":[()=>n.e(6296).then(n.bind(n,5374)),"@site/versioned_docs/version-0.3.x/dynamic/simple.md",5374],"28a86b5d":[()=>n.e(4447).then(n.bind(n,2970)),"@site/versioned_docs/version-0.3.x/build-your-own-theme.md",2970],"29255e1b":[()=>n.e(6533).then(n.t.bind(n,1784,19)),"~docs/default/category-touyingdocs-041-tutorialsidebar-category-package-integration-5cb.json",1784],"293f9c83":[()=>n.e(8088).then(n.bind(n,9547)),"@site/docs/integration/cetz.md",9547],"29e7adb3":[()=>n.e(8210).then(n.t.bind(n,1572,19)),"~docs/default/category-touyingdocs-03-x-tutorialsidebar-category-utilities-792.json",1572],"2b13119a":[()=>n.e(9027).then(n.bind(n,629)),"@site/versioned_docs/version-0.3.2+/sections.md",629],"2b886b59":[()=>n.e(4645).then(n.bind(n,5186)),"@site/versioned_docs/version-0.4.2/integration/cetz.md",5186],"2b9fd23c":[()=>n.e(7545).then(n.bind(n,7512)),"@site/versioned_docs/version-0.2.x/changelog.md",7512],"2c0b54ac":[()=>n.e(80).then(n.bind(n,8925)),"@site/docs/utilities/fit-to.md",8925],"2cc1595c":[()=>n.e(498).then(n.bind(n,6411)),"@site/versioned_docs/version-0.2.x/dynamic/other.md",6411],"2d4a7f47":[()=>n.e(9183).then(n.bind(n,9763)),"@site/blog/2024-01-17-touying-0-2-0.md",9763],"30e9e8ba":[()=>n.e(8694).then(n.bind(n,5129)),"@site/versioned_docs/version-0.4.0+/integration/mitex.md",5129],"3143bd0d":[()=>n.e(2529).then(n.bind(n,2705)),"@site/versioned_docs/version-0.3.2+/external/typst-preview.md",2705],"332622f2":[()=>n.e(7256).then(n.bind(n,4149)),"@site/versioned_docs/version-0.4.1/dynamic/equation.md",4149],"33b22e37":[()=>n.e(8937).then(n.bind(n,4911)),"@site/versioned_docs/version-0.4.1/integration/ctheorems.md",4911],"340f1526":[()=>n.e(1893).then(n.bind(n,4405)),"@site/versioned_docs/version-0.3.2+/changelog.md",4405],"34ff0b4c":[()=>n.e(8084).then(n.bind(n,9634)),"@site/versioned_docs/version-0.3.x/intro.md",9634],"359eb289":[()=>n.e(5651).then(n.bind(n,4153)),"@site/versioned_docs/version-0.4.0+/changelog.md",4153],"35b233e8":[()=>n.e(1039).then(n.t.bind(n,1580,19)),"~docs/default/category-touyingdocs-032-tutorialsidebar-category-utilities-17a.json",1580],"38682d35":[()=>n.e(9413).then(n.bind(n,346)),"@site/versioned_docs/version-0.3.x/themes/simple.md",346],"38803c52":[()=>n.e(6721).then(n.bind(n,1217)),"@site/versioned_docs/version-0.2.x/themes/university.md",1217],"393be207":[()=>n.e(7414).then(n.bind(n,1181)),"@site/src/pages/markdown-page.md",1181],39430005:[()=>n.e(9619).then(n.bind(n,4057)),"@site/docs/dynamic/other.md",4057],"396cf6b9":[()=>n.e(9705).then(n.bind(n,4885)),"@site/docs/dynamic/simple.md",4885],"3b0a1f02":[()=>n.e(7460).then(n.bind(n,5644)),"@site/versioned_docs/version-0.4.1/integration/pinit.md",5644],"3b36ca8e":[()=>n.e(5022).then(n.t.bind(n,3769,19)),"/home/runner/work/touying/touying/docs/.docusaurus/docusaurus-plugin-content-docs/default/plugin-route-context-module-100.json",3769],"3c6c49a5":[()=>n.e(9799).then(n.bind(n,9342)),"@site/versioned_docs/version-0.4.1/progress/sections.md",9342],"3d438ec7":[()=>n.e(6085).then(n.t.bind(n,2691,19)),"~docs/default/category-touyingdocs-tutorialsidebar-category-external-tools-6ee.json",2691],"3f2877b5":[()=>n.e(8350).then(n.bind(n,5813)),"@site/docs/integration/fletcher.md",5813],"3fefcd96":[()=>n.e(6518).then(n.bind(n,9235)),"@site/versioned_docs/version-0.3.2+/start.md",9235],"40f02aaa":[()=>n.e(7857).then(n.bind(n,6239)),"@site/versioned_docs/version-0.4.2/external/typst-preview.md",6239],"41a6ae87":[()=>n.e(6526).then(n.t.bind(n,3076,19)),"~blog/default/touying-blog-archive-7de.json",3076],"41abee02":[()=>n.e(3994).then(n.bind(n,2110)),"@site/versioned_docs/version-0.3.x/dynamic/equation.md",2110],"43e6fa63":[()=>n.e(5151).then(n.t.bind(n,2863,19)),"~docs/default/category-touyingdocsnext-tutorialsidebar-category-dynamic-slides-d7d.json",2863],"472f8a66":[()=>n.e(8565).then(n.bind(n,2857)),"@site/docs/layout.md",2857],"4919068e":[()=>n.e(5313).then(n.bind(n,9575)),"@site/versioned_docs/version-0.4.0+/sections.md",9575],"493359fe":[()=>n.e(9965).then(n.t.bind(n,9629,19)),"~docs/default/category-touyingdocs-040-tutorialsidebar-category-themes-4bb.json",9629],"495c719e":[()=>n.e(1400).then(n.bind(n,7102)),"@site/versioned_docs/version-0.3.2+/integration/polylux.md",7102],"49841adc":[()=>n.e(819).then(n.bind(n,4847)),"@site/versioned_docs/version-0.4.1/start.md",4847],"49c05bac":[()=>n.e(8235).then(n.bind(n,7965)),"@site/versioned_docs/version-0.4.2/dynamic/handout.md",7965],"4b91b61e":[()=>n.e(5870).then(n.t.bind(n,1696,19)),"~docs/default/category-touyingdocs-03-x-tutorialsidebar-category-progress-143.json",1696],"4bb9edb3":[()=>n.e(3280).then(n.bind(n,567)),"@site/docs/dynamic/equation.md",567],"4c713790":[()=>n.e(3389).then(n.bind(n,4760)),"@site/versioned_docs/version-0.3.x/external/typst-preview.md",4760],"4e3d17c1":[()=>n.e(4067).then(n.bind(n,8284)),"@site/versioned_docs/version-0.4.0+/global-settings.md",8284],"4fabf2f1":[()=>n.e(9090).then(n.bind(n,4825)),"@site/versioned_docs/version-0.3.x/themes/dewdrop.md",4825],"5035b6a4":[()=>n.e(5609).then(n.t.bind(n,5745,19)),"/home/runner/work/touying/touying/docs/.docusaurus/docusaurus-plugin-content-pages/default/plugin-route-context-module-100.json",5745],"5057383c":[()=>n.e(5854).then(n.bind(n,3242)),"@site/docs/external/pympress.md",3242],"51a4d3bf":[()=>n.e(2289).then(n.bind(n,4728)),"@site/docs/dynamic/complex.md",4728],"51f6a377":[()=>n.e(873).then(n.bind(n,2334)),"@site/versioned_docs/version-0.4.1/dynamic/complex.md",2334],"5297811e":[()=>n.e(7504).then(n.bind(n,7161)),"@site/versioned_docs/version-0.3.2+/external/pdfpc.md",7161],"54e3aac2":[()=>n.e(9213).then(n.bind(n,9919)),"@site/versioned_docs/version-0.4.2/dynamic/equation.md",9919],"54ea3d6a":[()=>n.e(5617).then(n.t.bind(n,2251,19)),"~docs/default/category-touyingdocs-tutorialsidebar-category-progress-a47.json",2251],"5539901a":[()=>n.e(5701).then(n.bind(n,9275)),"@site/versioned_docs/version-0.4.0+/dynamic/cover.md",9275],"555ecac1":[()=>n.e(6662).then(n.bind(n,4620)),"@site/versioned_docs/version-0.2.x/start.md",4620],"55b57bd3":[()=>n.e(6259).then(n.bind(n,4628)),"@site/docs/integration/ctheorems.md",4628],"5670b452":[()=>n.e(997).then(n.bind(n,2261)),"@site/docs/build-your-own-theme.md",2261],"56a68450":[()=>n.e(8110).then(n.t.bind(n,2363,19)),"~docs/default/category-touyingdocsnext-tutorialsidebar-category-themes-02d.json",2363],"5806a9e1":[()=>n.e(1827).then(n.bind(n,9288)),"@site/versioned_docs/version-0.4.0+/progress/counters.md",9288],"58092a00":[()=>n.e(6099).then(n.bind(n,8018)),"@site/versioned_docs/version-0.3.2+/integration/pinit.md",8018],58132609:[()=>n.e(6175).then(n.bind(n,1161)),"@site/versioned_docs/version-0.4.0+/progress/sections.md",1161],"583d85fc":[()=>n.e(3715).then(n.bind(n,2069)),"@site/versioned_docs/version-0.3.x/integration/mitex.md",2069],"5848d47c":[()=>n.e(3845).then(n.bind(n,9456)),"@site/versioned_docs/version-0.4.2/utilities/fit-to.md",9456],"5a3af86b":[()=>n.e(7991).then(n.bind(n,7906)),"@site/versioned_docs/version-0.4.1/themes/university.md",7906],"5a57e638":[()=>n.e(2143).then(n.bind(n,8811)),"@site/docs/themes/simple.md",8811],"5b27bc59":[()=>n.e(3969).then(n.bind(n,4154)),"@site/docs/dynamic/handout.md",4154],"5c062049":[()=>n.e(263).then(n.bind(n,2403)),"@site/versioned_docs/version-0.3.2+/dynamic/other.md",2403],"5d410c12":[()=>n.e(8912).then(n.bind(n,4734)),"@site/versioned_docs/version-0.4.1/progress/counters.md",4734],"5de4625c":[()=>n.e(438).then(n.bind(n,2255)),"@site/versioned_docs/version-0.4.0+/themes/dewdrop.md",2255],"5e95c892":[()=>n.e(9661).then(n.bind(n,1892)),"@theme/DocsRoot",1892],"5e9f5e1a":[()=>Promise.resolve().then(n.bind(n,6809)),"@generated/docusaurus.config",6809],"5ed554a8":[()=>n.e(2829).then(n.bind(n,828)),"@site/versioned_docs/version-0.4.1/themes/simple.md",828],"5eea6960":[()=>n.e(1110).then(n.t.bind(n,382,19)),"~docs/default/category-touyingdocs-032-tutorialsidebar-category-themes-f68.json",382],"5fecb693":[()=>n.e(64).then(n.bind(n,9588)),"@site/versioned_docs/version-0.4.2/themes/simple.md",9588],"5ff4e923":[()=>n.e(4372).then(n.bind(n,2588)),"@site/versioned_docs/version-0.4.1/external/pdfpc.md",2588],"648478e2":[()=>n.e(915).then(n.t.bind(n,7886,19)),"~docs/default/category-touyingdocs-032-tutorialsidebar-category-external-tools-2cb.json",7886],"64ea200d":[()=>n.e(2112).then(n.bind(n,128)),"@site/versioned_docs/version-0.4.2/dynamic/other.md",128],"65dfabbc":[()=>n.e(6685).then(n.t.bind(n,5457,19)),"~docs/default/category-touyingdocsnext-tutorialsidebar-category-progress-b4b.json",5457],"65e4303d":[()=>n.e(4042).then(n.bind(n,8487)),"@site/versioned_docs/version-0.4.0+/dynamic/complex.md",8487],"65e4cc1e":[()=>n.e(5598).then(n.bind(n,349)),"@site/versioned_docs/version-0.2.x/intro.md",349],"6607fcb6":[()=>n.e(8332).then(n.bind(n,3732)),"@site/docs/multi-file.md",3732],"678a4048":[()=>n.e(5122).then(n.bind(n,269)),"@site/versioned_docs/version-0.4.2/intro.md",269],"679913bd":[()=>n.e(6757).then(n.t.bind(n,1059,19)),"~docs/default/category-touyingdocs-040-tutorialsidebar-category-progress-433.json",1059],"67bae27a":[()=>n.e(1860).then(n.bind(n,5462)),"@site/versioned_docs/version-0.3.x/integration/fletcher.md",5462],"6875c492":[()=>Promise.all([n.e(532),n.e(9206),n.e(9677),n.e(8610)]).then(n.bind(n,1714)),"@theme/BlogTagsPostsPage",1714],"6bd5e75c":[()=>n.e(2172).then(n.t.bind(n,6484,19)),"~docs/default/category-touyingdocs-tutorialsidebar-category-themes-122.json",6484],"6c1ba8b1":[()=>n.e(5106).then(n.bind(n,5497)),"@site/versioned_docs/version-0.4.0+/integration/codly.md",5497],"6c8708e3":[()=>n.e(3376).then(n.bind(n,8655)),"@site/versioned_docs/version-0.3.2+/themes/simple.md",8655],"6d7ce909":[()=>n.e(5695).then(n.bind(n,689)),"@site/docs/external/typst-preview.md",689],"6ff50dbf":[()=>n.e(9864).then(n.t.bind(n,8534,19)),"~docs/default/category-touyingdocs-040-tutorialsidebar-category-dynamic-slides-424.json",8534],"7032e634":[()=>n.e(108).then(n.bind(n,2218)),"@site/versioned_docs/version-0.4.2/build-your-own-theme.md",2218],"717af290":[()=>n.e(5739).then(n.t.bind(n,662,19)),"~docs/default/category-touyingdocs-02-x-tutorialsidebar-category-external-tools-050.json",662],"71b26582":[()=>n.e(4187).then(n.bind(n,8194)),"@site/versioned_docs/version-0.4.2/integration/ctheorems.md",8194],"7240ac5a":[()=>n.e(3564).then(n.bind(n,9697)),"@site/versioned_docs/version-0.4.2/start.md",9697],"729d3e1e":[()=>n.e(9375).then(n.bind(n,3624)),"@site/versioned_docs/version-0.2.x/layout.md",3624],"730fef4c":[()=>n.e(8341).then(n.bind(n,5960)),"@site/versioned_docs/version-0.3.x/global-settings.md",5960],"7329c3b8":[()=>n.e(5431).then(n.bind(n,8412)),"@site/versioned_docs/version-0.3.2+/dynamic/cover.md",8412],"7381b349":[()=>n.e(9116).then(n.bind(n,3788)),"@site/versioned_docs/version-0.4.2/themes/dewdrop.md",3788],"73a6f857":[()=>n.e(9632).then(n.bind(n,8813)),"@site/versioned_docs/version-0.4.1/integration/cetz.md",8813],"743177ed":[()=>n.e(4432).then(n.bind(n,9230)),"@site/versioned_docs/version-0.4.1/layout.md",9230],76911421:[()=>n.e(7577).then(n.bind(n,7441)),"@site/versioned_docs/version-0.4.1/dynamic/cover.md",7441],"77a6cbd2":[()=>n.e(1537).then(n.bind(n,3350)),"@site/versioned_docs/version-0.4.1/themes/aqua.md",3350],"77e3d78c":[()=>n.e(2191).then(n.bind(n,8465)),"@site/docs/progress/counters.md",8465],"78b57648":[()=>n.e(4952).then(n.bind(n,9508)),"@site/versioned_docs/version-0.4.1/external/typst-preview.md",9508],"78c3c618":[()=>n.e(9254).then(n.t.bind(n,9750,19)),"~docs/default/category-touyingdocsnext-tutorialsidebar-category-utilities-a88.json",9750],"7927a478":[()=>n.e(2847).then(n.bind(n,8139)),"@site/versioned_docs/version-0.4.0+/code-styles.md",8139],"797defb6":[()=>n.e(3684).then(n.t.bind(n,6996,19)),"~docs/default/category-touyingdocs-03-x-tutorialsidebar-category-themes-56c.json",6996],"7b7fae98":[()=>n.e(8861).then(n.t.bind(n,4700,19)),"~docs/default/category-touyingdocs-041-tutorialsidebar-category-external-tools-61e.json",4700],"7ba330a5":[()=>n.e(3135).then(n.bind(n,1525)),"@site/versioned_docs/version-0.2.x/dynamic/simple.md",1525],"7bec2371":[()=>n.e(8250).then(n.bind(n,8509)),"@site/versioned_docs/version-0.4.2/changelog.md",8509],"7c9c7243":[()=>n.e(1949).then(n.bind(n,1794)),"@site/versioned_docs/version-0.4.0+/build-your-own-theme.md",1794],"7d3539b2":[()=>n.e(4481).then(n.bind(n,6594)),"@site/docs/themes/university.md",6594],"7f50710c":[()=>n.e(5030).then(n.bind(n,5362)),"@site/versioned_docs/version-0.4.0+/themes/simple.md",5362],"7f65dfb7":[()=>n.e(6917).then(n.bind(n,2049)),"@site/docs/code-styles.md",2049],"80a0c88e":[()=>n.e(3209).then(n.bind(n,8135)),"@site/docs/themes/metropolis.md",8135],"814f3328":[()=>n.e(2535).then(n.t.bind(n,5641,19)),"~blog/default/blog-post-list-prop-default.json",5641],"82487ba9":[()=>n.e(2865).then(n.bind(n,9191)),"@site/versioned_docs/version-0.2.x/dynamic/equation.md",9191],82580390:[()=>n.e(1566).then(n.t.bind(n,6158,19)),"~docs/default/category-touyingdocs-040-tutorialsidebar-category-utilities-fb8.json",6158],"832b8a10":[()=>n.e(8240).then(n.bind(n,3826)),"@site/versioned_docs/version-0.4.0+/multi-file.md",3826],"83b73936":[()=>n.e(4873).then(n.t.bind(n,2347,19)),"~docs/default/category-touyingdocs-tutorialsidebar-category-dynamic-slides-37b.json",2347],"850166d8":[()=>n.e(7335).then(n.bind(n,3338)),"@site/versioned_docs/version-0.2.x/utilities/oop.md",3338],"851c2574":[()=>n.e(9319).then(n.bind(n,6691)),"@site/versioned_docs/version-0.2.x/dynamic/cover.md",6691],"864ebe97":[()=>n.e(6193).then(n.bind(n,6602)),"@site/versioned_docs/version-0.3.x/themes/university.md",6602],"86e5cb88":[()=>n.e(2830).then(n.bind(n,1628)),"@site/versioned_docs/version-0.3.x/utilities/oop.md",1628],"86f810a5":[()=>n.e(3134).then(n.bind(n,2109)),"@site/versioned_docs/version-0.3.2+/dynamic/handout.md",2109],"886cfe15":[()=>n.e(8563).then(n.bind(n,7027)),"@site/versioned_docs/version-0.4.1/build-your-own-theme.md",7027],"890ef1f8":[()=>n.e(2751).then(n.bind(n,7758)),"@site/versioned_docs/version-0.4.0+/integration/cetz.md",7758],"8992ec7c":[()=>n.e(160).then(n.bind(n,6770)),"@site/versioned_docs/version-0.4.2/global-settings.md",6770],"89f39702":[()=>n.e(6114).then(n.bind(n,1431)),"@site/versioned_docs/version-0.2.x/progress/sections.md",1431],"8aab68b4":[()=>n.e(511).then(n.bind(n,5294)),"@site/versioned_docs/version-0.4.1/dynamic/simple.md",5294],"8aac4d68":[()=>n.e(56).then(n.t.bind(n,1554,19)),"~docs/default/category-touyingdocs-041-tutorialsidebar-category-themes-87e.json",1554],"8ac96054":[()=>n.e(9527).then(n.bind(n,3680)),"@site/docs/external/pdfpc.md",3680],"8ded3f77":[()=>n.e(5332).then(n.t.bind(n,4469,19)),"/home/runner/work/touying/touying/docs/.docusaurus/docusaurus-plugin-content-blog/default/plugin-route-context-module-100.json",4469],"8e2c1ca5":[()=>n.e(4618).then(n.bind(n,9e3)),"@site/versioned_docs/version-0.4.0+/utilities/fit-to.md",9e3],"91b4e1d3":[()=>n.e(4983).then(n.t.bind(n,2801,19)),"~docs/default/version-0-4-1-metadata-prop-27c.json",2801],"91bd08ce":[()=>n.e(3263).then(n.bind(n,9365)),"@site/versioned_docs/version-0.3.x/layout.md",9365],"926843be":[()=>n.e(5832).then(n.bind(n,4008)),"@site/versioned_docs/version-0.2.x/utilities/fit-to.md",4008],"9286a2c0":[()=>n.e(2556).then(n.bind(n,3716)),"@site/versioned_docs/version-0.4.1/integration/codly.md",3716],"92f7ac8d":[()=>n.e(1546).then(n.bind(n,7909)),"@site/versioned_docs/version-0.3.2+/integration/codly.md",7909],"935f2afb":[()=>n.e(53).then(n.t.bind(n,1109,19)),"~docs/default/version-current-metadata-prop-751.json",1109],"95c1a82e":[()=>n.e(7513).then(n.bind(n,4843)),"@site/versioned_docs/version-0.4.1/dynamic/other.md",4843],"974d09da":[()=>n.e(9664).then(n.bind(n,1322)),"@site/versioned_docs/version-0.4.0+/layout.md",1322],"98ce8162":[()=>n.e(1543).then(n.bind(n,715)),"@site/docs/start.md",715],"99d50e1d":[()=>n.e(8010).then(n.bind(n,3283)),"@site/versioned_docs/version-0.3.x/start.md",3283],"9b94a5b3":[()=>n.e(5140).then(n.bind(n,5882)),"@site/versioned_docs/version-0.4.1/integration/mitex.md",5882],"9beb87c2":[()=>n.e(3034).then(n.bind(n,4123)),"@site/docs/changelog.md",4123],"9c7bd7dc":[()=>n.e(1392).then(n.bind(n,9020)),"@site/versioned_docs/version-0.4.2/integration/pinit.md",9020],"9cec3c93":[()=>n.e(1317).then(n.t.bind(n,621,19)),"~docs/default/category-touyingdocs-02-x-tutorialsidebar-category-dynamic-slides-835.json",621],"9d0f4357":[()=>n.e(2026).then(n.t.bind(n,8762,19)),"~docs/default/category-touyingdocs-tutorialsidebar-category-utilities-37c.json",8762],"9dfc2059":[()=>n.e(9437).then(n.bind(n,7606)),"@site/versioned_docs/version-0.4.1/changelog.md",7606],"9e4087bc":[()=>n.e(3608).then(n.bind(n,3169)),"@theme/BlogArchivePage",3169],"9ea180da":[()=>n.e(9861).then(n.bind(n,9556)),"@site/versioned_docs/version-0.3.2+/themes/university.md",9556],"9f9db465":[()=>n.e(7060).then(n.bind(n,2124)),"@site/versioned_docs/version-0.3.x/utilities/fit-to.md",2124],a3b8b6db:[()=>n.e(5094).then(n.t.bind(n,9760,19)),"~docs/default/category-touyingdocs-tutorialsidebar-category-package-integration-9af.json",9760],a449492b:[()=>n.e(1626).then(n.bind(n,4176)),"@site/versioned_docs/version-0.3.x/dynamic/other.md",4176],a62a85e6:[()=>n.e(9259).then(n.bind(n,2806)),"@site/versioned_docs/version-0.3.2+/themes/aqua.md",2806],a6aa9e1f:[()=>Promise.all([n.e(532),n.e(9206),n.e(9677),n.e(3089)]).then(n.bind(n,46)),"@theme/BlogListPage",46],a732a165:[()=>n.e(4288).then(n.bind(n,5349)),"@site/versioned_docs/version-0.4.0+/dynamic/simple.md",5349],a7bd4aaa:[()=>n.e(8518).then(n.bind(n,8564)),"@theme/DocVersionRoot",8564],a7cd7c6a:[()=>n.e(6679).then(n.bind(n,6830)),"@site/versioned_docs/version-0.2.x/themes/metropolis.md",6830],a94703ab:[()=>Promise.all([n.e(532),n.e(4368)]).then(n.bind(n,2674)),"@theme/DocRoot",2674],a94a4682:[()=>n.e(4599).then(n.bind(n,5376)),"@site/blog/2024-01-17-touying-0-2-0.md?truncated=true",5376],ab32da60:[()=>n.e(7190).then(n.bind(n,7022)),"@site/docs/sections.md",7022],acb203b2:[()=>n.e(1956).then(n.bind(n,4955)),"@site/versioned_docs/version-0.4.1/utilities/fit-to.md",4955],acfad3c9:[()=>n.e(7668).then(n.bind(n,4059)),"@site/versioned_docs/version-0.3.2+/themes/dewdrop.md",4059],ad8b99e1:[()=>n.e(5644).then(n.bind(n,9193)),"@site/versioned_docs/version-0.4.2/external/pdfpc.md",9193],ad972684:[()=>n.e(6403).then(n.bind(n,7378)),"@site/versioned_docs/version-0.3.x/integration/polylux.md",7378],ada9f060:[()=>n.e(2707).then(n.t.bind(n,1913,19)),"~docs/default/category-touyingdocs-03-x-tutorialsidebar-category-external-tools-b73.json",1913],ae31ff46:[()=>n.e(2528).then(n.t.bind(n,8497,19)),"~docs/default/version-0-2-x-metadata-prop-34c.json",8497],af23d200:[()=>n.e(3539).then(n.bind(n,9153)),"@site/versioned_docs/version-0.4.1/intro.md",9153],b035a2d2:[()=>n.e(876).then(n.bind(n,655)),"@site/versioned_docs/version-0.3.2+/progress/sections.md",655],b0b113fa:[()=>n.e(6138).then(n.bind(n,887)),"@site/versioned_docs/version-0.4.2/layout.md",887],b1a1bf59:[()=>n.e(3655).then(n.bind(n,5388)),"@site/versioned_docs/version-0.3.x/dynamic/handout.md",5388],b2b68e5a:[()=>n.e(6567).then(n.bind(n,3536)),"@site/versioned_docs/version-0.3.2+/global-settings.md",3536],b472294c:[()=>n.e(1049).then(n.bind(n,7625)),"@site/versioned_docs/version-0.3.x/progress/sections.md",7625],b5dfb830:[()=>n.e(2464).then(n.bind(n,5881)),"@site/versioned_docs/version-0.4.0+/dynamic/handout.md",5881],b6606f5f:[()=>n.e(513).then(n.bind(n,381)),"@site/versioned_docs/version-0.4.0+/intro.md",381],b779464e:[()=>n.e(9156).then(n.bind(n,9310)),"@site/versioned_docs/version-0.4.1/sections.md",9310],b7a138aa:[()=>n.e(9895).then(n.bind(n,4472)),"@site/versioned_docs/version-0.2.x/themes/simple.md",4472],b8cfeb64:[()=>n.e(1842).then(n.bind(n,4505)),"@site/versioned_docs/version-0.4.2/progress/counters.md",4505],b8fd1f7e:[()=>n.e(4984).then(n.bind(n,7519)),"@site/versioned_docs/version-0.3.x/dynamic/complex.md",7519],bbd5eca0:[()=>n.e(2013).then(n.t.bind(n,2289,19)),"~docs/default/version-0-4-2-metadata-prop-7b5.json",2289],bce42248:[()=>n.e(5675).then(n.bind(n,806)),"@site/versioned_docs/version-0.3.2+/progress/counters.md",806],bef23ce3:[()=>n.e(5096).then(n.bind(n,3207)),"@site/versioned_docs/version-0.4.0+/integration/ctheorems.md",3207],bf750d2c:[()=>n.e(4770).then(n.bind(n,871)),"@site/versioned_docs/version-0.3.x/dynamic/cover.md",871],c37d3efc:[()=>n.e(2551).then(n.t.bind(n,5808,19)),"~docs/default/category-touyingdocs-02-x-tutorialsidebar-category-utilities-ae4.json",5808],c38df086:[()=>n.e(6154).then(n.bind(n,82)),"@site/docs/integration/pinit.md",82],c4bbdbdb:[()=>n.e(9876).then(n.bind(n,1329)),"@site/versioned_docs/version-0.4.2/utilities/oop.md",1329],c4f5d8e4:[()=>Promise.all([n.e(532),n.e(4195)]).then(n.bind(n,3261)),"@site/src/pages/index.js",3261],c51e9508:[()=>n.e(1053).then(n.t.bind(n,1902,19)),"~docs/default/category-touyingdocsnext-tutorialsidebar-category-external-tools-2f9.json",1902],c60ded92:[()=>n.e(4450).then(n.bind(n,2136)),"@site/versioned_docs/version-0.4.0+/dynamic/other.md",2136],c6f2035a:[()=>n.e(9949).then(n.bind(n,4633)),"@site/versioned_docs/version-0.4.2/themes/metropolis.md",4633],c7f97b4e:[()=>n.e(2216).then(n.t.bind(n,7126,19)),"~docs/default/category-touyingdocs-032-tutorialsidebar-category-dynamic-slides-d21.json",7126],c9566e8a:[()=>n.e(6118).then(n.bind(n,4091)),"@site/docs/progress/sections.md",4091],c9c87310:[()=>n.e(9410).then(n.bind(n,7309)),"@site/versioned_docs/version-0.3.2+/integration/mitex.md",7309],cbb499f0:[()=>n.e(1001).then(n.bind(n,7717)),"@site/versioned_docs/version-0.4.1/dynamic/handout.md",7717],cbce90b2:[()=>n.e(6864).then(n.t.bind(n,6307,19)),"~docs/default/version-0-3-x-metadata-prop-ffc.json",6307],ccc49370:[()=>Promise.all([n.e(532),n.e(9206),n.e(9677),n.e(6103)]).then(n.bind(n,5203)),"@theme/BlogPostPage",5203],ce30cdaf:[()=>n.e(3808).then(n.bind(n,4273)),"@site/versioned_docs/version-0.4.0+/integration/pinit.md",4273],ce57b2d1:[()=>n.e(2868).then(n.bind(n,8575)),"@site/versioned_docs/version-0.2.x/themes/dewdrop.md",8575],d0193031:[()=>n.e(1545).then(n.bind(n,3868)),"@site/versioned_docs/version-0.4.2/integration/fletcher.md",3868],d03d89a3:[()=>n.e(8510).then(n.bind(n,2846)),"@site/versioned_docs/version-0.4.2/sections.md",2846],d16cbc15:[()=>n.e(2403).then(n.bind(n,9741)),"@site/docs/themes/dewdrop.md",9741],d287f9e6:[()=>n.e(612).then(n.bind(n,1344)),"@site/docs/integration/codly.md",1344],d37c9d26:[()=>n.e(743).then(n.bind(n,5455)),"@site/versioned_docs/version-0.4.2/dynamic/simple.md",5455],d434ce9a:[()=>n.e(2992).then(n.bind(n,4946)),"@site/versioned_docs/version-0.4.1/external/pympress.md",4946],d4a2dc55:[()=>n.e(7224).then(n.bind(n,6599)),"@site/versioned_docs/version-0.2.x/build-your-own-theme.md",6599],d736a72a:[()=>n.e(1214).then(n.bind(n,4489)),"@site/versioned_docs/version-0.4.1/utilities/oop.md",4489],d848b1c8:[()=>n.e(2925).then(n.bind(n,9399)),"@site/versioned_docs/version-0.4.0+/themes/metropolis.md",9399],d85491b0:[()=>n.e(6893).then(n.t.bind(n,5986,19)),"~docs/default/category-touyingdocs-02-x-tutorialsidebar-category-progress-2d8.json",5986],d85bd5da:[()=>n.e(6060).then(n.bind(n,8253)),"@site/versioned_docs/version-0.4.2/dynamic/complex.md",8253],d9bab663:[()=>n.e(196).then(n.bind(n,6294)),"@site/versioned_docs/version-0.2.x/external/typst-preview.md",6294],dbe874ba:[()=>n.e(1712).then(n.bind(n,8843)),"@site/versioned_docs/version-0.4.2/integration/codly.md",8843],dc65f2fa:[()=>n.e(9974).then(n.bind(n,5040)),"@site/versioned_docs/version-0.3.2+/layout.md",5040],dd61c10c:[()=>n.e(2231).then(n.t.bind(n,3595,19)),"~docs/default/category-touyingdocs-041-tutorialsidebar-category-utilities-79b.json",3595],de4f60ff:[()=>n.e(3432).then(n.bind(n,2964)),"@site/versioned_docs/version-0.3.2+/dynamic/simple.md",2964],df5b4e08:[()=>n.e(7701).then(n.bind(n,8373)),"@site/versioned_docs/version-0.2.x/dynamic/handout.md",8373],e511abbf:[()=>n.e(1498).then(n.bind(n,5367)),"@site/versioned_docs/version-0.4.0+/external/typst-preview.md",5367],e52dffae:[()=>n.e(7603).then(n.bind(n,9916)),"@site/versioned_docs/version-0.4.1/code-styles.md",9916],e5a884f4:[()=>n.e(8300).then(n.bind(n,5606)),"@site/versioned_docs/version-0.2.x/style.md",5606],e5b11173:[()=>n.e(530).then(n.bind(n,1847)),"@site/versioned_docs/version-0.3.x/code-styles.md",1847],e6bd25e0:[()=>n.e(3832).then(n.t.bind(n,4561,19)),"~docs/default/category-touyingdocs-03-x-tutorialsidebar-category-package-integration-29d.json",4561],e7541c45:[()=>n.e(8990).then(n.bind(n,9706)),"@site/versioned_docs/version-0.4.0+/integration/fletcher.md",9706],e881b3bd:[()=>n.e(8572).then(n.t.bind(n,763,19)),"~docs/default/category-touyingdocs-040-tutorialsidebar-category-external-tools-671.json",763],e9b496d5:[()=>n.e(2418).then(n.t.bind(n,9152,19)),"~docs/default/category-touyingdocsnext-tutorialsidebar-category-package-integration-0ab.json",9152],ebca17e9:[()=>n.e(9095).then(n.bind(n,6917)),"@site/docs/integration/mitex.md",6917],ecfd88b4:[()=>n.e(5619).then(n.bind(n,6111)),"@site/versioned_docs/version-0.3.x/progress/counters.md",6111],ed5e9b8d:[()=>n.e(8207).then(n.bind(n,2307)),"@site/versioned_docs/version-0.4.1/themes/dewdrop.md",2307],f1ad31ea:[()=>n.e(7977).then(n.t.bind(n,5055,19)),"~docs/default/category-touyingdocs-041-tutorialsidebar-category-dynamic-slides-c14.json",5055],f24a23d8:[()=>n.e(2322).then(n.bind(n,2417)),"@site/versioned_docs/version-0.4.0+/start.md",2417],f2a3c69a:[()=>n.e(7510).then(n.bind(n,2195)),"@site/versioned_docs/version-0.4.2/progress/sections.md",2195],f2bffab0:[()=>n.e(6142).then(n.bind(n,1647)),"@site/versioned_docs/version-0.3.2+/dynamic/equation.md",1647],f3a7b3b2:[()=>n.e(9916).then(n.bind(n,1075)),"@site/docs/global-settings.md",1075],f3d96861:[()=>n.e(9754).then(n.bind(n,9476)),"@site/versioned_docs/version-0.3.x/integration/codly.md",9476],f554ac40:[()=>n.e(6232).then(n.bind(n,348)),"@site/versioned_docs/version-0.4.0+/dynamic/equation.md",348],f5938888:[()=>n.e(8338).then(n.t.bind(n,8931,19)),"~blog/default/touying-blog-tags-development-edd.json",8931],f5d6ba2d:[()=>n.e(3284).then(n.bind(n,3293)),"@site/versioned_docs/version-0.4.2/themes/aqua.md",3293],f65f6456:[()=>n.e(2784).then(n.t.bind(n,1292,19)),"~docs/default/category-touyingdocs-032-tutorialsidebar-category-package-integration-e6b.json",1292],f7c1e588:[()=>n.e(9199).then(n.bind(n,5165)),"@site/versioned_docs/version-0.3.x/integration/pinit.md",5165],f8016cde:[()=>n.e(9543).then(n.bind(n,8814)),"@site/versioned_docs/version-0.3.2+/themes/metropolis.md",8814],f80396ac:[()=>n.e(1588).then(n.bind(n,402)),"@site/versioned_docs/version-0.3.2+/integration/cetz.md",402],f8777534:[()=>n.e(1581).then(n.t.bind(n,2498,19)),"~blog/default/touying-blog-45d.json",2498],f9b59e29:[()=>n.e(945).then(n.bind(n,7597)),"@site/versioned_docs/version-0.4.2/integration/mitex.md",7597],fbe708ec:[()=>n.e(9159).then(n.bind(n,3316)),"@site/versioned_docs/version-0.3.2+/dynamic/complex.md",3316],fc190723:[()=>n.e(1188).then(n.bind(n,4266)),"@site/versioned_docs/version-0.4.1/global-settings.md",4266],ff235272:[()=>n.e(5954).then(n.t.bind(n,826,19)),"~docs/default/category-touyingdocs-03-x-tutorialsidebar-category-dynamic-slides-02c.json",826]};var s=n(5893);function l(e){let{error:t,retry:n,pastDelay:o}=e;return t?(0,s.jsxs)("div",{style:{textAlign:"center",color:"#fff",backgroundColor:"#fa383e",borderColor:"#fa383e",borderStyle:"solid",borderRadius:"0.25rem",borderWidth:"1px",boxSizing:"border-box",display:"block",padding:"1rem",flex:"0 0 50%",marginLeft:"25%",marginRight:"25%",marginTop:"5rem",maxWidth:"50%",width:"100%"},children:[(0,s.jsx)("p",{children:String(t)}),(0,s.jsx)("div",{children:(0,s.jsx)("button",{type:"button",onClick:n,children:"Retry"})})]}):o?(0,s.jsx)("div",{style:{display:"flex",justifyContent:"center",alignItems:"center",height:"100vh"},children:(0,s.jsx)("svg",{id:"loader",style:{width:128,height:110,position:"absolute",top:"calc(100vh - 64%)"},viewBox:"0 0 45 45",xmlns:"http://www.w3.org/2000/svg",stroke:"#61dafb",children:(0,s.jsxs)("g",{fill:"none",fillRule:"evenodd",transform:"translate(1 1)",strokeWidth:"2",children:[(0,s.jsxs)("circle",{cx:"22",cy:"22",r:"6",strokeOpacity:"0",children:[(0,s.jsx)("animate",{attributeName:"r",begin:"1.5s",dur:"3s",values:"6;22",calcMode:"linear",repeatCount:"indefinite"}),(0,s.jsx)("animate",{attributeName:"stroke-opacity",begin:"1.5s",dur:"3s",values:"1;0",calcMode:"linear",repeatCount:"indefinite"}),(0,s.jsx)("animate",{attributeName:"stroke-width",begin:"1.5s",dur:"3s",values:"2;0",calcMode:"linear",repeatCount:"indefinite"})]}),(0,s.jsxs)("circle",{cx:"22",cy:"22",r:"6",strokeOpacity:"0",children:[(0,s.jsx)("animate",{attributeName:"r",begin:"3s",dur:"3s",values:"6;22",calcMode:"linear",repeatCount:"indefinite"}),(0,s.jsx)("animate",{attributeName:"stroke-opacity",begin:"3s",dur:"3s",values:"1;0",calcMode:"linear",repeatCount:"indefinite"}),(0,s.jsx)("animate",{attributeName:"stroke-width",begin:"3s",dur:"3s",values:"2;0",calcMode:"linear",repeatCount:"indefinite"})]}),(0,s.jsx)("circle",{cx:"22",cy:"22",r:"8",children:(0,s.jsx)("animate",{attributeName:"r",begin:"0s",dur:"1.5s",values:"6;1;2;3;4;5;6",calcMode:"linear",repeatCount:"indefinite"})})]})})}):null}var c=n(9670),u=n(226);function d(e,t){if("*"===e)return r()({loading:l,loader:()=>n.e(1772).then(n.bind(n,1772)),modules:["@theme/NotFound"],webpack:()=>[1772],render(e,t){const n=e.default;return(0,s.jsx)(u.z,{value:{plugin:{name:"native",id:"default"}},children:(0,s.jsx)(n,{...t})})}});const o=i[`${e}-${t}`],d={},p=[],f=[],g=(0,c.Z)(o);return Object.entries(g).forEach((e=>{let[t,n]=e;const o=a[n];o&&(d[t]=o[0],p.push(o[1]),f.push(o[2]))})),r().Map({loading:l,loader:d,modules:p,webpack:()=>f,render(t,n){const r=JSON.parse(JSON.stringify(o));Object.entries(t).forEach((t=>{let[n,o]=t;const i=o.default;if(!i)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 i&&"function"!=typeof i||Object.keys(o).filter((e=>"default"!==e)).forEach((e=>{i[e]=o[e]}));let a=r;const s=n.split(".");s.slice(0,-1).forEach((e=>{a=a[e]})),a[s[s.length-1]]=i}));const i=r.__comp;delete r.__comp;const a=r.__context;return delete r.__context,(0,s.jsx)(u.z,{value:a,children:(0,s.jsx)(i,{...r,...n})})}})}const p=[{path:"/touying/blog",component:d("/touying/blog","c0b"),exact:!0},{path:"/touying/blog/archive",component:d("/touying/blog/archive","22c"),exact:!0},{path:"/touying/blog/tags",component:d("/touying/blog/tags","7f2"),exact:!0},{path:"/touying/blog/tags/development",component:d("/touying/blog/tags/development","29e"),exact:!0},{path:"/touying/blog/touying-0-2-0",component:d("/touying/blog/touying-0-2-0","0cb"),exact:!0},{path:"/touying/markdown-page",component:d("/touying/markdown-page","bfb"),exact:!0},{path:"/touying/docs",component:d("/touying/docs","9c0"),routes:[{path:"/touying/docs/0.2.x",component:d("/touying/docs/0.2.x","bc6"),routes:[{path:"/touying/docs/0.2.x",component:d("/touying/docs/0.2.x","61b"),routes:[{path:"/touying/docs/0.2.x/build-your-own-theme",component:d("/touying/docs/0.2.x/build-your-own-theme","b10"),exact:!0,sidebar:"tutorialSidebar"},{path:"/touying/docs/0.2.x/category/dynamic-slides",component:d("/touying/docs/0.2.x/category/dynamic-slides","ad3"),exact:!0,sidebar:"tutorialSidebar"},{path:"/touying/docs/0.2.x/category/external-tools",component:d("/touying/docs/0.2.x/category/external-tools","eff"),exact:!0,sidebar:"tutorialSidebar"},{path:"/touying/docs/0.2.x/category/progress",component:d("/touying/docs/0.2.x/category/progress","006"),exact:!0,sidebar:"tutorialSidebar"},{path:"/touying/docs/0.2.x/category/themes",component:d("/touying/docs/0.2.x/category/themes","461"),exact:!0,sidebar:"tutorialSidebar"},{path:"/touying/docs/0.2.x/category/utilities",component:d("/touying/docs/0.2.x/category/utilities","9a4"),exact:!0,sidebar:"tutorialSidebar"},{path:"/touying/docs/0.2.x/changelog",component:d("/touying/docs/0.2.x/changelog","20e"),exact:!0,sidebar:"tutorialSidebar"},{path:"/touying/docs/0.2.x/dynamic/complex",component:d("/touying/docs/0.2.x/dynamic/complex","0e0"),exact:!0,sidebar:"tutorialSidebar"},{path:"/touying/docs/0.2.x/dynamic/cover",component:d("/touying/docs/0.2.x/dynamic/cover","408"),exact:!0,sidebar:"tutorialSidebar"},{path:"/touying/docs/0.2.x/dynamic/equation",component:d("/touying/docs/0.2.x/dynamic/equation","acd"),exact:!0,sidebar:"tutorialSidebar"},{path:"/touying/docs/0.2.x/dynamic/handout",component:d("/touying/docs/0.2.x/dynamic/handout","979"),exact:!0,sidebar:"tutorialSidebar"},{path:"/touying/docs/0.2.x/dynamic/other",component:d("/touying/docs/0.2.x/dynamic/other","16d"),exact:!0,sidebar:"tutorialSidebar"},{path:"/touying/docs/0.2.x/dynamic/simple",component:d("/touying/docs/0.2.x/dynamic/simple","521"),exact:!0,sidebar:"tutorialSidebar"},{path:"/touying/docs/0.2.x/external/pdfpc",component:d("/touying/docs/0.2.x/external/pdfpc","a1d"),exact:!0,sidebar:"tutorialSidebar"},{path:"/touying/docs/0.2.x/external/typst-preview",component:d("/touying/docs/0.2.x/external/typst-preview","917"),exact:!0,sidebar:"tutorialSidebar"},{path:"/touying/docs/0.2.x/intro",component:d("/touying/docs/0.2.x/intro","4e4"),exact:!0,sidebar:"tutorialSidebar"},{path:"/touying/docs/0.2.x/layout",component:d("/touying/docs/0.2.x/layout","2a4"),exact:!0,sidebar:"tutorialSidebar"},{path:"/touying/docs/0.2.x/progress/counters",component:d("/touying/docs/0.2.x/progress/counters","379"),exact:!0,sidebar:"tutorialSidebar"},{path:"/touying/docs/0.2.x/progress/sections",component:d("/touying/docs/0.2.x/progress/sections","9b3"),exact:!0,sidebar:"tutorialSidebar"},{path:"/touying/docs/0.2.x/start",component:d("/touying/docs/0.2.x/start","39a"),exact:!0,sidebar:"tutorialSidebar"},{path:"/touying/docs/0.2.x/style",component:d("/touying/docs/0.2.x/style","be9"),exact:!0,sidebar:"tutorialSidebar"},{path:"/touying/docs/0.2.x/themes/dewdrop",component:d("/touying/docs/0.2.x/themes/dewdrop","18e"),exact:!0,sidebar:"tutorialSidebar"},{path:"/touying/docs/0.2.x/themes/metropolis",component:d("/touying/docs/0.2.x/themes/metropolis","149"),exact:!0,sidebar:"tutorialSidebar"},{path:"/touying/docs/0.2.x/themes/simple",component:d("/touying/docs/0.2.x/themes/simple","a5e"),exact:!0,sidebar:"tutorialSidebar"},{path:"/touying/docs/0.2.x/themes/university",component:d("/touying/docs/0.2.x/themes/university","f75"),exact:!0,sidebar:"tutorialSidebar"},{path:"/touying/docs/0.2.x/utilities/fit-to",component:d("/touying/docs/0.2.x/utilities/fit-to","e25"),exact:!0,sidebar:"tutorialSidebar"},{path:"/touying/docs/0.2.x/utilities/oop",component:d("/touying/docs/0.2.x/utilities/oop","765"),exact:!0,sidebar:"tutorialSidebar"}]}]},{path:"/touying/docs/0.3.2+",component:d("/touying/docs/0.3.2+","50d"),routes:[{path:"/touying/docs/0.3.2+",component:d("/touying/docs/0.3.2+","344"),routes:[{path:"/touying/docs/0.3.2+/build-your-own-theme",component:d("/touying/docs/0.3.2+/build-your-own-theme","33e"),exact:!0,sidebar:"tutorialSidebar"},{path:"/touying/docs/0.3.2+/category/dynamic-slides",component:d("/touying/docs/0.3.2+/category/dynamic-slides","0cd"),exact:!0,sidebar:"tutorialSidebar"},{path:"/touying/docs/0.3.2+/category/external-tools",component:d("/touying/docs/0.3.2+/category/external-tools","53c"),exact:!0,sidebar:"tutorialSidebar"},{path:"/touying/docs/0.3.2+/category/package-integration",component:d("/touying/docs/0.3.2+/category/package-integration","a9f"),exact:!0,sidebar:"tutorialSidebar"},{path:"/touying/docs/0.3.2+/category/progress",component:d("/touying/docs/0.3.2+/category/progress","043"),exact:!0,sidebar:"tutorialSidebar"},{path:"/touying/docs/0.3.2+/category/themes",component:d("/touying/docs/0.3.2+/category/themes","1f7"),exact:!0,sidebar:"tutorialSidebar"},{path:"/touying/docs/0.3.2+/category/utilities",component:d("/touying/docs/0.3.2+/category/utilities","36b"),exact:!0,sidebar:"tutorialSidebar"},{path:"/touying/docs/0.3.2+/changelog",component:d("/touying/docs/0.3.2+/changelog","a50"),exact:!0,sidebar:"tutorialSidebar"},{path:"/touying/docs/0.3.2+/code-styles",component:d("/touying/docs/0.3.2+/code-styles","98b"),exact:!0,sidebar:"tutorialSidebar"},{path:"/touying/docs/0.3.2+/dynamic/complex",component:d("/touying/docs/0.3.2+/dynamic/complex","638"),exact:!0,sidebar:"tutorialSidebar"},{path:"/touying/docs/0.3.2+/dynamic/cover",component:d("/touying/docs/0.3.2+/dynamic/cover","b32"),exact:!0,sidebar:"tutorialSidebar"},{path:"/touying/docs/0.3.2+/dynamic/equation",component:d("/touying/docs/0.3.2+/dynamic/equation","928"),exact:!0,sidebar:"tutorialSidebar"},{path:"/touying/docs/0.3.2+/dynamic/handout",component:d("/touying/docs/0.3.2+/dynamic/handout","762"),exact:!0,sidebar:"tutorialSidebar"},{path:"/touying/docs/0.3.2+/dynamic/other",component:d("/touying/docs/0.3.2+/dynamic/other","795"),exact:!0,sidebar:"tutorialSidebar"},{path:"/touying/docs/0.3.2+/dynamic/simple",component:d("/touying/docs/0.3.2+/dynamic/simple","372"),exact:!0,sidebar:"tutorialSidebar"},{path:"/touying/docs/0.3.2+/external/pdfpc",component:d("/touying/docs/0.3.2+/external/pdfpc","d5f"),exact:!0,sidebar:"tutorialSidebar"},{path:"/touying/docs/0.3.2+/external/typst-preview",component:d("/touying/docs/0.3.2+/external/typst-preview","e6e"),exact:!0,sidebar:"tutorialSidebar"},{path:"/touying/docs/0.3.2+/global-settings",component:d("/touying/docs/0.3.2+/global-settings","4ec"),exact:!0,sidebar:"tutorialSidebar"},{path:"/touying/docs/0.3.2+/integration/cetz",component:d("/touying/docs/0.3.2+/integration/cetz","523"),exact:!0,sidebar:"tutorialSidebar"},{path:"/touying/docs/0.3.2+/integration/codly",component:d("/touying/docs/0.3.2+/integration/codly","0b4"),exact:!0,sidebar:"tutorialSidebar"},{path:"/touying/docs/0.3.2+/integration/fletcher",component:d("/touying/docs/0.3.2+/integration/fletcher","365"),exact:!0,sidebar:"tutorialSidebar"},{path:"/touying/docs/0.3.2+/integration/mitex",component:d("/touying/docs/0.3.2+/integration/mitex","dbc"),exact:!0,sidebar:"tutorialSidebar"},{path:"/touying/docs/0.3.2+/integration/pinit",component:d("/touying/docs/0.3.2+/integration/pinit","963"),exact:!0,sidebar:"tutorialSidebar"},{path:"/touying/docs/0.3.2+/integration/polylux",component:d("/touying/docs/0.3.2+/integration/polylux","99a"),exact:!0,sidebar:"tutorialSidebar"},{path:"/touying/docs/0.3.2+/intro",component:d("/touying/docs/0.3.2+/intro","b11"),exact:!0,sidebar:"tutorialSidebar"},{path:"/touying/docs/0.3.2+/layout",component:d("/touying/docs/0.3.2+/layout","419"),exact:!0,sidebar:"tutorialSidebar"},{path:"/touying/docs/0.3.2+/progress/counters",component:d("/touying/docs/0.3.2+/progress/counters","c2b"),exact:!0,sidebar:"tutorialSidebar"},{path:"/touying/docs/0.3.2+/progress/sections",component:d("/touying/docs/0.3.2+/progress/sections","8c3"),exact:!0,sidebar:"tutorialSidebar"},{path:"/touying/docs/0.3.2+/sections",component:d("/touying/docs/0.3.2+/sections","5bb"),exact:!0,sidebar:"tutorialSidebar"},{path:"/touying/docs/0.3.2+/start",component:d("/touying/docs/0.3.2+/start","8bc"),exact:!0,sidebar:"tutorialSidebar"},{path:"/touying/docs/0.3.2+/themes/aqua",component:d("/touying/docs/0.3.2+/themes/aqua","83a"),exact:!0,sidebar:"tutorialSidebar"},{path:"/touying/docs/0.3.2+/themes/dewdrop",component:d("/touying/docs/0.3.2+/themes/dewdrop","7c1"),exact:!0,sidebar:"tutorialSidebar"},{path:"/touying/docs/0.3.2+/themes/metropolis",component:d("/touying/docs/0.3.2+/themes/metropolis","e94"),exact:!0,sidebar:"tutorialSidebar"},{path:"/touying/docs/0.3.2+/themes/simple",component:d("/touying/docs/0.3.2+/themes/simple","096"),exact:!0,sidebar:"tutorialSidebar"},{path:"/touying/docs/0.3.2+/themes/university",component:d("/touying/docs/0.3.2+/themes/university","cab"),exact:!0,sidebar:"tutorialSidebar"},{path:"/touying/docs/0.3.2+/utilities/fit-to",component:d("/touying/docs/0.3.2+/utilities/fit-to","f92"),exact:!0,sidebar:"tutorialSidebar"},{path:"/touying/docs/0.3.2+/utilities/oop",component:d("/touying/docs/0.3.2+/utilities/oop","4c3"),exact:!0,sidebar:"tutorialSidebar"}]}]},{path:"/touying/docs/0.3.x",component:d("/touying/docs/0.3.x","430"),routes:[{path:"/touying/docs/0.3.x",component:d("/touying/docs/0.3.x","e60"),routes:[{path:"/touying/docs/0.3.x/build-your-own-theme",component:d("/touying/docs/0.3.x/build-your-own-theme","25f"),exact:!0,sidebar:"tutorialSidebar"},{path:"/touying/docs/0.3.x/category/dynamic-slides",component:d("/touying/docs/0.3.x/category/dynamic-slides","ed4"),exact:!0,sidebar:"tutorialSidebar"},{path:"/touying/docs/0.3.x/category/external-tools",component:d("/touying/docs/0.3.x/category/external-tools","1b1"),exact:!0,sidebar:"tutorialSidebar"},{path:"/touying/docs/0.3.x/category/package-integration",component:d("/touying/docs/0.3.x/category/package-integration","bf6"),exact:!0,sidebar:"tutorialSidebar"},{path:"/touying/docs/0.3.x/category/progress",component:d("/touying/docs/0.3.x/category/progress","dc4"),exact:!0,sidebar:"tutorialSidebar"},{path:"/touying/docs/0.3.x/category/themes",component:d("/touying/docs/0.3.x/category/themes","1b8"),exact:!0,sidebar:"tutorialSidebar"},{path:"/touying/docs/0.3.x/category/utilities",component:d("/touying/docs/0.3.x/category/utilities","e2f"),exact:!0,sidebar:"tutorialSidebar"},{path:"/touying/docs/0.3.x/changelog",component:d("/touying/docs/0.3.x/changelog","e67"),exact:!0,sidebar:"tutorialSidebar"},{path:"/touying/docs/0.3.x/code-styles",component:d("/touying/docs/0.3.x/code-styles","d8e"),exact:!0,sidebar:"tutorialSidebar"},{path:"/touying/docs/0.3.x/dynamic/complex",component:d("/touying/docs/0.3.x/dynamic/complex","36f"),exact:!0,sidebar:"tutorialSidebar"},{path:"/touying/docs/0.3.x/dynamic/cover",component:d("/touying/docs/0.3.x/dynamic/cover","534"),exact:!0,sidebar:"tutorialSidebar"},{path:"/touying/docs/0.3.x/dynamic/equation",component:d("/touying/docs/0.3.x/dynamic/equation","627"),exact:!0,sidebar:"tutorialSidebar"},{path:"/touying/docs/0.3.x/dynamic/handout",component:d("/touying/docs/0.3.x/dynamic/handout","56d"),exact:!0,sidebar:"tutorialSidebar"},{path:"/touying/docs/0.3.x/dynamic/other",component:d("/touying/docs/0.3.x/dynamic/other","792"),exact:!0,sidebar:"tutorialSidebar"},{path:"/touying/docs/0.3.x/dynamic/simple",component:d("/touying/docs/0.3.x/dynamic/simple","62e"),exact:!0,sidebar:"tutorialSidebar"},{path:"/touying/docs/0.3.x/external/pdfpc",component:d("/touying/docs/0.3.x/external/pdfpc","5f7"),exact:!0,sidebar:"tutorialSidebar"},{path:"/touying/docs/0.3.x/external/typst-preview",component:d("/touying/docs/0.3.x/external/typst-preview","416"),exact:!0,sidebar:"tutorialSidebar"},{path:"/touying/docs/0.3.x/global-settings",component:d("/touying/docs/0.3.x/global-settings","308"),exact:!0,sidebar:"tutorialSidebar"},{path:"/touying/docs/0.3.x/integration/cetz",component:d("/touying/docs/0.3.x/integration/cetz","ee3"),exact:!0,sidebar:"tutorialSidebar"},{path:"/touying/docs/0.3.x/integration/codly",component:d("/touying/docs/0.3.x/integration/codly","519"),exact:!0,sidebar:"tutorialSidebar"},{path:"/touying/docs/0.3.x/integration/fletcher",component:d("/touying/docs/0.3.x/integration/fletcher","643"),exact:!0,sidebar:"tutorialSidebar"},{path:"/touying/docs/0.3.x/integration/mitex",component:d("/touying/docs/0.3.x/integration/mitex","3d4"),exact:!0,sidebar:"tutorialSidebar"},{path:"/touying/docs/0.3.x/integration/pinit",component:d("/touying/docs/0.3.x/integration/pinit","4a7"),exact:!0,sidebar:"tutorialSidebar"},{path:"/touying/docs/0.3.x/integration/polylux",component:d("/touying/docs/0.3.x/integration/polylux","44f"),exact:!0,sidebar:"tutorialSidebar"},{path:"/touying/docs/0.3.x/intro",component:d("/touying/docs/0.3.x/intro","45d"),exact:!0,sidebar:"tutorialSidebar"},{path:"/touying/docs/0.3.x/layout",component:d("/touying/docs/0.3.x/layout","4ac"),exact:!0,sidebar:"tutorialSidebar"},{path:"/touying/docs/0.3.x/progress/counters",component:d("/touying/docs/0.3.x/progress/counters","fab"),exact:!0,sidebar:"tutorialSidebar"},{path:"/touying/docs/0.3.x/progress/sections",component:d("/touying/docs/0.3.x/progress/sections","92f"),exact:!0,sidebar:"tutorialSidebar"},{path:"/touying/docs/0.3.x/sections",component:d("/touying/docs/0.3.x/sections","93d"),exact:!0,sidebar:"tutorialSidebar"},{path:"/touying/docs/0.3.x/start",component:d("/touying/docs/0.3.x/start","4a8"),exact:!0,sidebar:"tutorialSidebar"},{path:"/touying/docs/0.3.x/themes/dewdrop",component:d("/touying/docs/0.3.x/themes/dewdrop","6ed"),exact:!0,sidebar:"tutorialSidebar"},{path:"/touying/docs/0.3.x/themes/metropolis",component:d("/touying/docs/0.3.x/themes/metropolis","4d3"),exact:!0,sidebar:"tutorialSidebar"},{path:"/touying/docs/0.3.x/themes/simple",component:d("/touying/docs/0.3.x/themes/simple","d69"),exact:!0,sidebar:"tutorialSidebar"},{path:"/touying/docs/0.3.x/themes/university",component:d("/touying/docs/0.3.x/themes/university","476"),exact:!0,sidebar:"tutorialSidebar"},{path:"/touying/docs/0.3.x/utilities/fit-to",component:d("/touying/docs/0.3.x/utilities/fit-to","21f"),exact:!0,sidebar:"tutorialSidebar"},{path:"/touying/docs/0.3.x/utilities/oop",component:d("/touying/docs/0.3.x/utilities/oop","b87"),exact:!0,sidebar:"tutorialSidebar"}]}]},{path:"/touying/docs/0.4.0+",component:d("/touying/docs/0.4.0+","612"),routes:[{path:"/touying/docs/0.4.0+",component:d("/touying/docs/0.4.0+","00a"),routes:[{path:"/touying/docs/0.4.0+/build-your-own-theme",component:d("/touying/docs/0.4.0+/build-your-own-theme","23f"),exact:!0,sidebar:"tutorialSidebar"},{path:"/touying/docs/0.4.0+/category/dynamic-slides",component:d("/touying/docs/0.4.0+/category/dynamic-slides","590"),exact:!0,sidebar:"tutorialSidebar"},{path:"/touying/docs/0.4.0+/category/external-tools",component:d("/touying/docs/0.4.0+/category/external-tools","a66"),exact:!0,sidebar:"tutorialSidebar"},{path:"/touying/docs/0.4.0+/category/package-integration",component:d("/touying/docs/0.4.0+/category/package-integration","e6c"),exact:!0,sidebar:"tutorialSidebar"},{path:"/touying/docs/0.4.0+/category/progress",component:d("/touying/docs/0.4.0+/category/progress","3df"),exact:!0,sidebar:"tutorialSidebar"},{path:"/touying/docs/0.4.0+/category/themes",component:d("/touying/docs/0.4.0+/category/themes","0b4"),exact:!0,sidebar:"tutorialSidebar"},{path:"/touying/docs/0.4.0+/category/utilities",component:d("/touying/docs/0.4.0+/category/utilities","8f4"),exact:!0,sidebar:"tutorialSidebar"},{path:"/touying/docs/0.4.0+/changelog",component:d("/touying/docs/0.4.0+/changelog","85b"),exact:!0,sidebar:"tutorialSidebar"},{path:"/touying/docs/0.4.0+/code-styles",component:d("/touying/docs/0.4.0+/code-styles","b89"),exact:!0,sidebar:"tutorialSidebar"},{path:"/touying/docs/0.4.0+/dynamic/complex",component:d("/touying/docs/0.4.0+/dynamic/complex","a79"),exact:!0,sidebar:"tutorialSidebar"},{path:"/touying/docs/0.4.0+/dynamic/cover",component:d("/touying/docs/0.4.0+/dynamic/cover","058"),exact:!0,sidebar:"tutorialSidebar"},{path:"/touying/docs/0.4.0+/dynamic/equation",component:d("/touying/docs/0.4.0+/dynamic/equation","e83"),exact:!0,sidebar:"tutorialSidebar"},{path:"/touying/docs/0.4.0+/dynamic/handout",component:d("/touying/docs/0.4.0+/dynamic/handout","f33"),exact:!0,sidebar:"tutorialSidebar"},{path:"/touying/docs/0.4.0+/dynamic/other",component:d("/touying/docs/0.4.0+/dynamic/other","43e"),exact:!0,sidebar:"tutorialSidebar"},{path:"/touying/docs/0.4.0+/dynamic/simple",component:d("/touying/docs/0.4.0+/dynamic/simple","ae8"),exact:!0,sidebar:"tutorialSidebar"},{path:"/touying/docs/0.4.0+/external/pdfpc",component:d("/touying/docs/0.4.0+/external/pdfpc","0ba"),exact:!0,sidebar:"tutorialSidebar"},{path:"/touying/docs/0.4.0+/external/typst-preview",component:d("/touying/docs/0.4.0+/external/typst-preview","84f"),exact:!0,sidebar:"tutorialSidebar"},{path:"/touying/docs/0.4.0+/global-settings",component:d("/touying/docs/0.4.0+/global-settings","d55"),exact:!0,sidebar:"tutorialSidebar"},{path:"/touying/docs/0.4.0+/integration/cetz",component:d("/touying/docs/0.4.0+/integration/cetz","34b"),exact:!0,sidebar:"tutorialSidebar"},{path:"/touying/docs/0.4.0+/integration/codly",component:d("/touying/docs/0.4.0+/integration/codly","d7f"),exact:!0,sidebar:"tutorialSidebar"},{path:"/touying/docs/0.4.0+/integration/ctheorems",component:d("/touying/docs/0.4.0+/integration/ctheorems","54c"),exact:!0,sidebar:"tutorialSidebar"},{path:"/touying/docs/0.4.0+/integration/fletcher",component:d("/touying/docs/0.4.0+/integration/fletcher","3d6"),exact:!0,sidebar:"tutorialSidebar"},{path:"/touying/docs/0.4.0+/integration/mitex",component:d("/touying/docs/0.4.0+/integration/mitex","358"),exact:!0,sidebar:"tutorialSidebar"},{path:"/touying/docs/0.4.0+/integration/pinit",component:d("/touying/docs/0.4.0+/integration/pinit","e86"),exact:!0,sidebar:"tutorialSidebar"},{path:"/touying/docs/0.4.0+/intro",component:d("/touying/docs/0.4.0+/intro","701"),exact:!0,sidebar:"tutorialSidebar"},{path:"/touying/docs/0.4.0+/layout",component:d("/touying/docs/0.4.0+/layout","a59"),exact:!0,sidebar:"tutorialSidebar"},{path:"/touying/docs/0.4.0+/multi-file",component:d("/touying/docs/0.4.0+/multi-file","20b"),exact:!0,sidebar:"tutorialSidebar"},{path:"/touying/docs/0.4.0+/progress/counters",component:d("/touying/docs/0.4.0+/progress/counters","293"),exact:!0,sidebar:"tutorialSidebar"},{path:"/touying/docs/0.4.0+/progress/sections",component:d("/touying/docs/0.4.0+/progress/sections","b8d"),exact:!0,sidebar:"tutorialSidebar"},{path:"/touying/docs/0.4.0+/sections",component:d("/touying/docs/0.4.0+/sections","58c"),exact:!0,sidebar:"tutorialSidebar"},{path:"/touying/docs/0.4.0+/start",component:d("/touying/docs/0.4.0+/start","8c9"),exact:!0,sidebar:"tutorialSidebar"},{path:"/touying/docs/0.4.0+/themes/aqua",component:d("/touying/docs/0.4.0+/themes/aqua","294"),exact:!0,sidebar:"tutorialSidebar"},{path:"/touying/docs/0.4.0+/themes/dewdrop",component:d("/touying/docs/0.4.0+/themes/dewdrop","be7"),exact:!0,sidebar:"tutorialSidebar"},{path:"/touying/docs/0.4.0+/themes/metropolis",component:d("/touying/docs/0.4.0+/themes/metropolis","692"),exact:!0,sidebar:"tutorialSidebar"},{path:"/touying/docs/0.4.0+/themes/simple",component:d("/touying/docs/0.4.0+/themes/simple","0ea"),exact:!0,sidebar:"tutorialSidebar"},{path:"/touying/docs/0.4.0+/themes/university",component:d("/touying/docs/0.4.0+/themes/university","396"),exact:!0,sidebar:"tutorialSidebar"},{path:"/touying/docs/0.4.0+/utilities/fit-to",component:d("/touying/docs/0.4.0+/utilities/fit-to","f12"),exact:!0,sidebar:"tutorialSidebar"},{path:"/touying/docs/0.4.0+/utilities/oop",component:d("/touying/docs/0.4.0+/utilities/oop","4b1"),exact:!0,sidebar:"tutorialSidebar"}]}]},{path:"/touying/docs/0.4.1",component:d("/touying/docs/0.4.1","eaf"),routes:[{path:"/touying/docs/0.4.1",component:d("/touying/docs/0.4.1","8f8"),routes:[{path:"/touying/docs/0.4.1/build-your-own-theme",component:d("/touying/docs/0.4.1/build-your-own-theme","672"),exact:!0,sidebar:"tutorialSidebar"},{path:"/touying/docs/0.4.1/category/dynamic-slides",component:d("/touying/docs/0.4.1/category/dynamic-slides","4c3"),exact:!0,sidebar:"tutorialSidebar"},{path:"/touying/docs/0.4.1/category/external-tools",component:d("/touying/docs/0.4.1/category/external-tools","911"),exact:!0,sidebar:"tutorialSidebar"},{path:"/touying/docs/0.4.1/category/package-integration",component:d("/touying/docs/0.4.1/category/package-integration","1ed"),exact:!0,sidebar:"tutorialSidebar"},{path:"/touying/docs/0.4.1/category/progress",component:d("/touying/docs/0.4.1/category/progress","004"),exact:!0,sidebar:"tutorialSidebar"},{path:"/touying/docs/0.4.1/category/themes",component:d("/touying/docs/0.4.1/category/themes","b9e"),exact:!0,sidebar:"tutorialSidebar"},{path:"/touying/docs/0.4.1/category/utilities",component:d("/touying/docs/0.4.1/category/utilities","14a"),exact:!0,sidebar:"tutorialSidebar"},{path:"/touying/docs/0.4.1/changelog",component:d("/touying/docs/0.4.1/changelog","2d6"),exact:!0,sidebar:"tutorialSidebar"},{path:"/touying/docs/0.4.1/code-styles",component:d("/touying/docs/0.4.1/code-styles","a61"),exact:!0,sidebar:"tutorialSidebar"},{path:"/touying/docs/0.4.1/dynamic/complex",component:d("/touying/docs/0.4.1/dynamic/complex","4d5"),exact:!0,sidebar:"tutorialSidebar"},{path:"/touying/docs/0.4.1/dynamic/cover",component:d("/touying/docs/0.4.1/dynamic/cover","31a"),exact:!0,sidebar:"tutorialSidebar"},{path:"/touying/docs/0.4.1/dynamic/equation",component:d("/touying/docs/0.4.1/dynamic/equation","73a"),exact:!0,sidebar:"tutorialSidebar"},{path:"/touying/docs/0.4.1/dynamic/handout",component:d("/touying/docs/0.4.1/dynamic/handout","6fb"),exact:!0,sidebar:"tutorialSidebar"},{path:"/touying/docs/0.4.1/dynamic/other",component:d("/touying/docs/0.4.1/dynamic/other","dc1"),exact:!0,sidebar:"tutorialSidebar"},{path:"/touying/docs/0.4.1/dynamic/simple",component:d("/touying/docs/0.4.1/dynamic/simple","7d3"),exact:!0,sidebar:"tutorialSidebar"},{path:"/touying/docs/0.4.1/external/pdfpc",component:d("/touying/docs/0.4.1/external/pdfpc","e48"),exact:!0,sidebar:"tutorialSidebar"},{path:"/touying/docs/0.4.1/external/pympress",component:d("/touying/docs/0.4.1/external/pympress","706"),exact:!0,sidebar:"tutorialSidebar"},{path:"/touying/docs/0.4.1/external/typst-preview",component:d("/touying/docs/0.4.1/external/typst-preview","948"),exact:!0,sidebar:"tutorialSidebar"},{path:"/touying/docs/0.4.1/global-settings",component:d("/touying/docs/0.4.1/global-settings","90a"),exact:!0,sidebar:"tutorialSidebar"},{path:"/touying/docs/0.4.1/integration/cetz",component:d("/touying/docs/0.4.1/integration/cetz","bc0"),exact:!0,sidebar:"tutorialSidebar"},{path:"/touying/docs/0.4.1/integration/codly",component:d("/touying/docs/0.4.1/integration/codly","36c"),exact:!0,sidebar:"tutorialSidebar"},{path:"/touying/docs/0.4.1/integration/ctheorems",component:d("/touying/docs/0.4.1/integration/ctheorems","1a9"),exact:!0,sidebar:"tutorialSidebar"},{path:"/touying/docs/0.4.1/integration/fletcher",component:d("/touying/docs/0.4.1/integration/fletcher","e72"),exact:!0,sidebar:"tutorialSidebar"},{path:"/touying/docs/0.4.1/integration/mitex",component:d("/touying/docs/0.4.1/integration/mitex","6f0"),exact:!0,sidebar:"tutorialSidebar"},{path:"/touying/docs/0.4.1/integration/pinit",component:d("/touying/docs/0.4.1/integration/pinit","740"),exact:!0,sidebar:"tutorialSidebar"},{path:"/touying/docs/0.4.1/intro",component:d("/touying/docs/0.4.1/intro","6a8"),exact:!0,sidebar:"tutorialSidebar"},{path:"/touying/docs/0.4.1/layout",component:d("/touying/docs/0.4.1/layout","025"),exact:!0,sidebar:"tutorialSidebar"},{path:"/touying/docs/0.4.1/multi-file",component:d("/touying/docs/0.4.1/multi-file","213"),exact:!0,sidebar:"tutorialSidebar"},{path:"/touying/docs/0.4.1/progress/counters",component:d("/touying/docs/0.4.1/progress/counters","818"),exact:!0,sidebar:"tutorialSidebar"},{path:"/touying/docs/0.4.1/progress/sections",component:d("/touying/docs/0.4.1/progress/sections","873"),exact:!0,sidebar:"tutorialSidebar"},{path:"/touying/docs/0.4.1/sections",component:d("/touying/docs/0.4.1/sections","125"),exact:!0,sidebar:"tutorialSidebar"},{path:"/touying/docs/0.4.1/start",component:d("/touying/docs/0.4.1/start","bd6"),exact:!0,sidebar:"tutorialSidebar"},{path:"/touying/docs/0.4.1/themes/aqua",component:d("/touying/docs/0.4.1/themes/aqua","faf"),exact:!0,sidebar:"tutorialSidebar"},{path:"/touying/docs/0.4.1/themes/dewdrop",component:d("/touying/docs/0.4.1/themes/dewdrop","9ef"),exact:!0,sidebar:"tutorialSidebar"},{path:"/touying/docs/0.4.1/themes/metropolis",component:d("/touying/docs/0.4.1/themes/metropolis","9db"),exact:!0,sidebar:"tutorialSidebar"},{path:"/touying/docs/0.4.1/themes/simple",component:d("/touying/docs/0.4.1/themes/simple","451"),exact:!0,sidebar:"tutorialSidebar"},{path:"/touying/docs/0.4.1/themes/university",component:d("/touying/docs/0.4.1/themes/university","d82"),exact:!0,sidebar:"tutorialSidebar"},{path:"/touying/docs/0.4.1/utilities/fit-to",component:d("/touying/docs/0.4.1/utilities/fit-to","177"),exact:!0,sidebar:"tutorialSidebar"},{path:"/touying/docs/0.4.1/utilities/oop",component:d("/touying/docs/0.4.1/utilities/oop","d9a"),exact:!0,sidebar:"tutorialSidebar"}]}]},{path:"/touying/docs/next",component:d("/touying/docs/next","1d2"),routes:[{path:"/touying/docs/next",component:d("/touying/docs/next","473"),routes:[{path:"/touying/docs/next/build-your-own-theme",component:d("/touying/docs/next/build-your-own-theme","329"),exact:!0,sidebar:"tutorialSidebar"},{path:"/touying/docs/next/category/dynamic-slides",component:d("/touying/docs/next/category/dynamic-slides","b94"),exact:!0,sidebar:"tutorialSidebar"},{path:"/touying/docs/next/category/external-tools",component:d("/touying/docs/next/category/external-tools","6e6"),exact:!0,sidebar:"tutorialSidebar"},{path:"/touying/docs/next/category/package-integration",component:d("/touying/docs/next/category/package-integration","0ae"),exact:!0,sidebar:"tutorialSidebar"},{path:"/touying/docs/next/category/progress",component:d("/touying/docs/next/category/progress","b0e"),exact:!0,sidebar:"tutorialSidebar"},{path:"/touying/docs/next/category/themes",component:d("/touying/docs/next/category/themes","1b5"),exact:!0,sidebar:"tutorialSidebar"},{path:"/touying/docs/next/category/utilities",component:d("/touying/docs/next/category/utilities","459"),exact:!0,sidebar:"tutorialSidebar"},{path:"/touying/docs/next/changelog",component:d("/touying/docs/next/changelog","5a4"),exact:!0,sidebar:"tutorialSidebar"},{path:"/touying/docs/next/code-styles",component:d("/touying/docs/next/code-styles","cee"),exact:!0,sidebar:"tutorialSidebar"},{path:"/touying/docs/next/dynamic/complex",component:d("/touying/docs/next/dynamic/complex","63c"),exact:!0,sidebar:"tutorialSidebar"},{path:"/touying/docs/next/dynamic/cover",component:d("/touying/docs/next/dynamic/cover","e00"),exact:!0,sidebar:"tutorialSidebar"},{path:"/touying/docs/next/dynamic/equation",component:d("/touying/docs/next/dynamic/equation","cd3"),exact:!0,sidebar:"tutorialSidebar"},{path:"/touying/docs/next/dynamic/handout",component:d("/touying/docs/next/dynamic/handout","ce2"),exact:!0,sidebar:"tutorialSidebar"},{path:"/touying/docs/next/dynamic/other",component:d("/touying/docs/next/dynamic/other","669"),exact:!0,sidebar:"tutorialSidebar"},{path:"/touying/docs/next/dynamic/simple",component:d("/touying/docs/next/dynamic/simple","881"),exact:!0,sidebar:"tutorialSidebar"},{path:"/touying/docs/next/external/pdfpc",component:d("/touying/docs/next/external/pdfpc","85b"),exact:!0,sidebar:"tutorialSidebar"},{path:"/touying/docs/next/external/pympress",component:d("/touying/docs/next/external/pympress","5d8"),exact:!0,sidebar:"tutorialSidebar"},{path:"/touying/docs/next/external/typst-preview",component:d("/touying/docs/next/external/typst-preview","b6b"),exact:!0,sidebar:"tutorialSidebar"},{path:"/touying/docs/next/global-settings",component:d("/touying/docs/next/global-settings","471"),exact:!0,sidebar:"tutorialSidebar"},{path:"/touying/docs/next/integration/cetz",component:d("/touying/docs/next/integration/cetz","4b6"),exact:!0,sidebar:"tutorialSidebar"},{path:"/touying/docs/next/integration/codly",component:d("/touying/docs/next/integration/codly","63b"),exact:!0,sidebar:"tutorialSidebar"},{path:"/touying/docs/next/integration/ctheorems",component:d("/touying/docs/next/integration/ctheorems","ab0"),exact:!0,sidebar:"tutorialSidebar"},{path:"/touying/docs/next/integration/fletcher",component:d("/touying/docs/next/integration/fletcher","00f"),exact:!0,sidebar:"tutorialSidebar"},{path:"/touying/docs/next/integration/mitex",component:d("/touying/docs/next/integration/mitex","aad"),exact:!0,sidebar:"tutorialSidebar"},{path:"/touying/docs/next/integration/pinit",component:d("/touying/docs/next/integration/pinit","242"),exact:!0,sidebar:"tutorialSidebar"},{path:"/touying/docs/next/intro",component:d("/touying/docs/next/intro","d28"),exact:!0,sidebar:"tutorialSidebar"},{path:"/touying/docs/next/layout",component:d("/touying/docs/next/layout","e3d"),exact:!0,sidebar:"tutorialSidebar"},{path:"/touying/docs/next/multi-file",component:d("/touying/docs/next/multi-file","435"),exact:!0,sidebar:"tutorialSidebar"},{path:"/touying/docs/next/progress/counters",component:d("/touying/docs/next/progress/counters","74c"),exact:!0,sidebar:"tutorialSidebar"},{path:"/touying/docs/next/progress/sections",component:d("/touying/docs/next/progress/sections","66a"),exact:!0,sidebar:"tutorialSidebar"},{path:"/touying/docs/next/sections",component:d("/touying/docs/next/sections","db5"),exact:!0,sidebar:"tutorialSidebar"},{path:"/touying/docs/next/start",component:d("/touying/docs/next/start","592"),exact:!0,sidebar:"tutorialSidebar"},{path:"/touying/docs/next/themes/aqua",component:d("/touying/docs/next/themes/aqua","550"),exact:!0,sidebar:"tutorialSidebar"},{path:"/touying/docs/next/themes/dewdrop",component:d("/touying/docs/next/themes/dewdrop","53d"),exact:!0,sidebar:"tutorialSidebar"},{path:"/touying/docs/next/themes/metropolis",component:d("/touying/docs/next/themes/metropolis","842"),exact:!0,sidebar:"tutorialSidebar"},{path:"/touying/docs/next/themes/simple",component:d("/touying/docs/next/themes/simple","89c"),exact:!0,sidebar:"tutorialSidebar"},{path:"/touying/docs/next/themes/university",component:d("/touying/docs/next/themes/university","cd1"),exact:!0,sidebar:"tutorialSidebar"},{path:"/touying/docs/next/utilities/fit-to",component:d("/touying/docs/next/utilities/fit-to","3a4"),exact:!0,sidebar:"tutorialSidebar"},{path:"/touying/docs/next/utilities/oop",component:d("/touying/docs/next/utilities/oop","b3d"),exact:!0,sidebar:"tutorialSidebar"}]}]},{path:"/touying/docs",component:d("/touying/docs","50e"),routes:[{path:"/touying/docs",component:d("/touying/docs","e0e"),routes:[{path:"/touying/docs/build-your-own-theme",component:d("/touying/docs/build-your-own-theme","b7a"),exact:!0,sidebar:"tutorialSidebar"},{path:"/touying/docs/category/dynamic-slides",component:d("/touying/docs/category/dynamic-slides","30d"),exact:!0,sidebar:"tutorialSidebar"},{path:"/touying/docs/category/external-tools",component:d("/touying/docs/category/external-tools","fc1"),exact:!0,sidebar:"tutorialSidebar"},{path:"/touying/docs/category/package-integration",component:d("/touying/docs/category/package-integration","ad5"),exact:!0,sidebar:"tutorialSidebar"},{path:"/touying/docs/category/progress",component:d("/touying/docs/category/progress","60e"),exact:!0,sidebar:"tutorialSidebar"},{path:"/touying/docs/category/themes",component:d("/touying/docs/category/themes","5bc"),exact:!0,sidebar:"tutorialSidebar"},{path:"/touying/docs/category/utilities",component:d("/touying/docs/category/utilities","b5f"),exact:!0,sidebar:"tutorialSidebar"},{path:"/touying/docs/changelog",component:d("/touying/docs/changelog","c65"),exact:!0,sidebar:"tutorialSidebar"},{path:"/touying/docs/code-styles",component:d("/touying/docs/code-styles","9f2"),exact:!0,sidebar:"tutorialSidebar"},{path:"/touying/docs/dynamic/complex",component:d("/touying/docs/dynamic/complex","ce5"),exact:!0,sidebar:"tutorialSidebar"},{path:"/touying/docs/dynamic/cover",component:d("/touying/docs/dynamic/cover","332"),exact:!0,sidebar:"tutorialSidebar"},{path:"/touying/docs/dynamic/equation",component:d("/touying/docs/dynamic/equation","429"),exact:!0,sidebar:"tutorialSidebar"},{path:"/touying/docs/dynamic/handout",component:d("/touying/docs/dynamic/handout","a49"),exact:!0,sidebar:"tutorialSidebar"},{path:"/touying/docs/dynamic/other",component:d("/touying/docs/dynamic/other","5cf"),exact:!0,sidebar:"tutorialSidebar"},{path:"/touying/docs/dynamic/simple",component:d("/touying/docs/dynamic/simple","d9a"),exact:!0,sidebar:"tutorialSidebar"},{path:"/touying/docs/external/pdfpc",component:d("/touying/docs/external/pdfpc","f87"),exact:!0,sidebar:"tutorialSidebar"},{path:"/touying/docs/external/pympress",component:d("/touying/docs/external/pympress","1d3"),exact:!0,sidebar:"tutorialSidebar"},{path:"/touying/docs/external/typst-preview",component:d("/touying/docs/external/typst-preview","a2e"),exact:!0,sidebar:"tutorialSidebar"},{path:"/touying/docs/global-settings",component:d("/touying/docs/global-settings","c96"),exact:!0,sidebar:"tutorialSidebar"},{path:"/touying/docs/integration/cetz",component:d("/touying/docs/integration/cetz","ba6"),exact:!0,sidebar:"tutorialSidebar"},{path:"/touying/docs/integration/codly",component:d("/touying/docs/integration/codly","e5c"),exact:!0,sidebar:"tutorialSidebar"},{path:"/touying/docs/integration/ctheorems",component:d("/touying/docs/integration/ctheorems","607"),exact:!0,sidebar:"tutorialSidebar"},{path:"/touying/docs/integration/fletcher",component:d("/touying/docs/integration/fletcher","e1b"),exact:!0,sidebar:"tutorialSidebar"},{path:"/touying/docs/integration/mitex",component:d("/touying/docs/integration/mitex","c9d"),exact:!0,sidebar:"tutorialSidebar"},{path:"/touying/docs/integration/pinit",component:d("/touying/docs/integration/pinit","120"),exact:!0,sidebar:"tutorialSidebar"},{path:"/touying/docs/intro",component:d("/touying/docs/intro","bed"),exact:!0,sidebar:"tutorialSidebar"},{path:"/touying/docs/layout",component:d("/touying/docs/layout","ce0"),exact:!0,sidebar:"tutorialSidebar"},{path:"/touying/docs/multi-file",component:d("/touying/docs/multi-file","839"),exact:!0,sidebar:"tutorialSidebar"},{path:"/touying/docs/progress/counters",component:d("/touying/docs/progress/counters","279"),exact:!0,sidebar:"tutorialSidebar"},{path:"/touying/docs/progress/sections",component:d("/touying/docs/progress/sections","ebd"),exact:!0,sidebar:"tutorialSidebar"},{path:"/touying/docs/sections",component:d("/touying/docs/sections","2e2"),exact:!0,sidebar:"tutorialSidebar"},{path:"/touying/docs/start",component:d("/touying/docs/start","2c0"),exact:!0,sidebar:"tutorialSidebar"},{path:"/touying/docs/themes/aqua",component:d("/touying/docs/themes/aqua","bf7"),exact:!0,sidebar:"tutorialSidebar"},{path:"/touying/docs/themes/dewdrop",component:d("/touying/docs/themes/dewdrop","2ef"),exact:!0,sidebar:"tutorialSidebar"},{path:"/touying/docs/themes/metropolis",component:d("/touying/docs/themes/metropolis","03f"),exact:!0,sidebar:"tutorialSidebar"},{path:"/touying/docs/themes/simple",component:d("/touying/docs/themes/simple","faf"),exact:!0,sidebar:"tutorialSidebar"},{path:"/touying/docs/themes/university",component:d("/touying/docs/themes/university","7d3"),exact:!0,sidebar:"tutorialSidebar"},{path:"/touying/docs/utilities/fit-to",component:d("/touying/docs/utilities/fit-to","e30"),exact:!0,sidebar:"tutorialSidebar"},{path:"/touying/docs/utilities/oop",component:d("/touying/docs/utilities/oop","1a6"),exact:!0,sidebar:"tutorialSidebar"}]}]}]},{path:"/touying/",component:d("/touying/","622"),exact:!0},{path:"*",component:d("*")}]},8934:(e,t,n)=>{"use strict";n.d(t,{_:()=>i,t:()=>a});var o=n(7294),r=n(5893);const i=o.createContext(!1);function a(e){let{children:t}=e;const[n,a]=(0,o.useState)(!1);return(0,o.useEffect)((()=>{a(!0)}),[]),(0,r.jsx)(i.Provider,{value:n,children:t})}},7221:(e,t,n)=>{"use strict";var o=n(7294),r=n(745),i=n(3727),a=n(405),s=n(412);const l=[n(2497),n(3310),n(8320),n(2295)];var c=n(723),u=n(6550),d=n(8790),p=n(5893);function f(e){let{children:t}=e;return(0,p.jsx)(p.Fragment,{children:t})}var g=n(5742),m=n(2263),h=n(4996),y=n(6668),b=n(1944),v=n(4711),x=n(9727),w=n(3320),S=n(8780),k=n(197);function _(){const{i18n:{currentLocale:e,defaultLocale:t,localeConfigs:n}}=(0,m.Z)(),o=(0,v.l)(),r=n[e].htmlLang,i=e=>e.replace("-","_");return(0,p.jsxs)(g.Z,{children:[Object.entries(n).map((e=>{let[t,{htmlLang:n}]=e;return(0,p.jsx)("link",{rel:"alternate",href:o.createUrl({locale:t,fullyQualified:!0}),hrefLang:n},t)})),(0,p.jsx)("link",{rel:"alternate",href:o.createUrl({locale:t,fullyQualified:!0}),hrefLang:"x-default"}),(0,p.jsx)("meta",{property:"og:locale",content:i(r)}),Object.values(n).filter((e=>r!==e.htmlLang)).map((e=>(0,p.jsx)("meta",{property:"og:locale:alternate",content:i(e.htmlLang)},`meta-og-${e.htmlLang}`)))]})}function E(e){let{permalink:t}=e;const{siteConfig:{url:n}}=(0,m.Z)(),o=function(){const{siteConfig:{url:e,baseUrl:t,trailingSlash:n}}=(0,m.Z)(),{pathname:o}=(0,u.TH)();return e+(0,S.applyTrailingSlash)((0,h.Z)(o),{trailingSlash:n,baseUrl:t})}(),r=t?`${n}${t}`:o;return(0,p.jsxs)(g.Z,{children:[(0,p.jsx)("meta",{property:"og:url",content:r}),(0,p.jsx)("link",{rel:"canonical",href:r})]})}function C(){const{i18n:{currentLocale:e}}=(0,m.Z)(),{metadata:t,image:n}=(0,y.L)();return(0,p.jsxs)(p.Fragment,{children:[(0,p.jsxs)(g.Z,{children:[(0,p.jsx)("meta",{name:"twitter:card",content:"summary_large_image"}),(0,p.jsx)("body",{className:x.h})]}),n&&(0,p.jsx)(b.d,{image:n}),(0,p.jsx)(E,{}),(0,p.jsx)(_,{}),(0,p.jsx)(k.Z,{tag:w.HX,locale:e}),(0,p.jsx)(g.Z,{children:t.map(((e,t)=>(0,p.jsx)("meta",{...e},t)))})]})}const T=new Map;function j(e){if(T.has(e.pathname))return{...e,pathname:T.get(e.pathname)};if((0,d.f)(c.Z,e.pathname).some((e=>{let{route:t}=e;return!0===t.exact})))return T.set(e.pathname,e.pathname),e;const t=e.pathname.trim().replace(/(?:\/index)?\.html$/,"")||"/";return T.set(e.pathname,t),{...e,pathname:t}}var N=n(8934),A=n(8940),R=n(469);function L(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),o=1;o{const o=t.default?.[e]??t[e];return o?.(...n)}));return()=>r.forEach((e=>e?.()))}const I=function(e){let{children:t,location:n,previousLocation:o}=e;return(0,R.Z)((()=>{o!==n&&(!function(e){let{location:t,previousLocation:n}=e;if(!n)return;const o=t.pathname===n.pathname,r=t.hash===n.hash,i=t.search===n.search;if(o&&r&&!i)return;const{hash:a}=t;if(a){const e=decodeURIComponent(a.substring(1)),t=document.getElementById(e);t?.scrollIntoView()}else window.scrollTo(0,0)}({location:n,previousLocation:o}),L("onRouteDidUpdate",{previousLocation:o,location:n}))}),[o,n]),t};function P(e){const t=Array.from(new Set([e,decodeURI(e)])).map((e=>(0,d.f)(c.Z,e))).flat();return Promise.all(t.map((e=>e.route.component.preload?.())))}class O extends o.Component{previousLocation;routeUpdateCleanupCb;constructor(e){super(e),this.previousLocation=null,this.routeUpdateCleanupCb=s.Z.canUseDOM?L("onRouteUpdate",{previousLocation:null,location:this.props.location}):()=>{},this.state={nextRouteHasLoaded:!0}}shouldComponentUpdate(e,t){if(e.location===this.props.location)return t.nextRouteHasLoaded;const n=e.location;return this.previousLocation=this.props.location,this.setState({nextRouteHasLoaded:!1}),this.routeUpdateCleanupCb=L("onRouteUpdate",{previousLocation:this.previousLocation,location:n}),P(n.pathname).then((()=>{this.routeUpdateCleanupCb(),this.setState({nextRouteHasLoaded:!0})})).catch((e=>{console.warn(e),window.location.reload()})),!1}render(){const{children:e,location:t}=this.props;return(0,p.jsx)(I,{previousLocation:this.previousLocation,location:t,children:(0,p.jsx)(u.AW,{location:t,render:()=>e})})}}const D=O,M="__docusaurus-base-url-issue-banner-container",F="__docusaurus-base-url-issue-banner",z="__docusaurus-base-url-issue-banner-suggestion-container";function B(e){return`\ndocument.addEventListener('DOMContentLoaded', function maybeInsertBanner() {\n var shouldInsert = typeof window['docusaurus'] === 'undefined';\n shouldInsert && insertBanner();\n});\n\nfunction insertBanner() {\n var bannerContainer = document.createElement('div');\n bannerContainer.id = '${M}';\n var bannerHtml = ${JSON.stringify(function(e){return`\n
\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(/{if("undefined"==typeof document)return void n();const o=document.createElement("link");o.setAttribute("rel","prefetch"),o.setAttribute("href",e),o.onload=()=>t(),o.onerror=()=>n();const r=document.getElementsByTagName("head")[0]??document.getElementsByName("script")[0]?.parentNode;r?.appendChild(o)}))}:function(e){return new Promise(((t,n)=>{const o=new XMLHttpRequest;o.open("GET",e,!0),o.withCredentials=!0,o.onload=()=>{200===o.status?t():n()},o.send(null)}))};var K=n(9670);const Y=new Set,X=new Set,J=()=>navigator.connection?.effectiveType.includes("2g")||navigator.connection?.saveData,ee={prefetch(e){if(!(e=>!J()&&!X.has(e)&&!Y.has(e))(e))return!1;Y.add(e);const t=(0,d.f)(c.Z,e).flatMap((e=>{return t=e.route.path,Object.entries(V).filter((e=>{let[n]=e;return n.replace(/-[^-]+$/,"")===t})).flatMap((e=>{let[,t]=e;return Object.values((0,K.Z)(t))}));var t}));return Promise.all(t.map((e=>{const t=n.gca(e);return t&&!t.includes("undefined")?Q(t).catch((()=>{})):Promise.resolve()})))},preload:e=>!!(e=>!J()&&!X.has(e))(e)&&(X.add(e),P(e))},te=Object.freeze(ee),ne=Boolean(!0);if(s.Z.canUseDOM){window.docusaurus=te;const e=document.getElementById("__docusaurus"),t=(0,p.jsx)(a.B6,{children:(0,p.jsx)(i.VK,{children:(0,p.jsx)(W,{})})}),n=(e,t)=>{console.error("Docusaurus React Root onRecoverableError:",e,t)},s=()=>{if(ne)o.startTransition((()=>{r.hydrateRoot(e,t,{onRecoverableError:n})}));else{const i=r.createRoot(e,{onRecoverableError:n});o.startTransition((()=>{i.render(t)}))}};P(window.location.pathname).then(s)}},8940:(e,t,n)=>{"use strict";n.d(t,{_:()=>d,M:()=>p});var o=n(7294),r=n(6809);const i=JSON.parse('{"docusaurus-lunr-search":{"default":{"fileNames":{"searchDoc":"search-doc-1724056137211.json","lunrIndex":"lunr-index-1724056137211.json"}}},"docusaurus-plugin-content-docs":{"default":{"path":"/touying/docs","versions":[{"name":"current","label":"Next","isLast":false,"path":"/touying/docs/next","mainDocId":"intro","docs":[{"id":"build-your-own-theme","path":"/touying/docs/next/build-your-own-theme","sidebar":"tutorialSidebar"},{"id":"changelog","path":"/touying/docs/next/changelog","sidebar":"tutorialSidebar"},{"id":"code-styles","path":"/touying/docs/next/code-styles","sidebar":"tutorialSidebar"},{"id":"dynamic/complex","path":"/touying/docs/next/dynamic/complex","sidebar":"tutorialSidebar"},{"id":"dynamic/cover","path":"/touying/docs/next/dynamic/cover","sidebar":"tutorialSidebar"},{"id":"dynamic/equation","path":"/touying/docs/next/dynamic/equation","sidebar":"tutorialSidebar"},{"id":"dynamic/handout","path":"/touying/docs/next/dynamic/handout","sidebar":"tutorialSidebar"},{"id":"dynamic/other","path":"/touying/docs/next/dynamic/other","sidebar":"tutorialSidebar"},{"id":"dynamic/simple","path":"/touying/docs/next/dynamic/simple","sidebar":"tutorialSidebar"},{"id":"external/pdfpc","path":"/touying/docs/next/external/pdfpc","sidebar":"tutorialSidebar"},{"id":"external/pympress","path":"/touying/docs/next/external/pympress","sidebar":"tutorialSidebar"},{"id":"external/typst-preview","path":"/touying/docs/next/external/typst-preview","sidebar":"tutorialSidebar"},{"id":"global-settings","path":"/touying/docs/next/global-settings","sidebar":"tutorialSidebar"},{"id":"integration/cetz","path":"/touying/docs/next/integration/cetz","sidebar":"tutorialSidebar"},{"id":"integration/codly","path":"/touying/docs/next/integration/codly","sidebar":"tutorialSidebar"},{"id":"integration/ctheorems","path":"/touying/docs/next/integration/ctheorems","sidebar":"tutorialSidebar"},{"id":"integration/fletcher","path":"/touying/docs/next/integration/fletcher","sidebar":"tutorialSidebar"},{"id":"integration/mitex","path":"/touying/docs/next/integration/mitex","sidebar":"tutorialSidebar"},{"id":"integration/pinit","path":"/touying/docs/next/integration/pinit","sidebar":"tutorialSidebar"},{"id":"intro","path":"/touying/docs/next/intro","sidebar":"tutorialSidebar"},{"id":"layout","path":"/touying/docs/next/layout","sidebar":"tutorialSidebar"},{"id":"multi-file","path":"/touying/docs/next/multi-file","sidebar":"tutorialSidebar"},{"id":"progress/counters","path":"/touying/docs/next/progress/counters","sidebar":"tutorialSidebar"},{"id":"progress/sections","path":"/touying/docs/next/progress/sections","sidebar":"tutorialSidebar"},{"id":"sections","path":"/touying/docs/next/sections","sidebar":"tutorialSidebar"},{"id":"start","path":"/touying/docs/next/start","sidebar":"tutorialSidebar"},{"id":"themes/aqua","path":"/touying/docs/next/themes/aqua","sidebar":"tutorialSidebar"},{"id":"themes/dewdrop","path":"/touying/docs/next/themes/dewdrop","sidebar":"tutorialSidebar"},{"id":"themes/metropolis","path":"/touying/docs/next/themes/metropolis","sidebar":"tutorialSidebar"},{"id":"themes/simple","path":"/touying/docs/next/themes/simple","sidebar":"tutorialSidebar"},{"id":"themes/university","path":"/touying/docs/next/themes/university","sidebar":"tutorialSidebar"},{"id":"utilities/fit-to","path":"/touying/docs/next/utilities/fit-to","sidebar":"tutorialSidebar"},{"id":"utilities/oop","path":"/touying/docs/next/utilities/oop","sidebar":"tutorialSidebar"},{"id":"/category/dynamic-slides","path":"/touying/docs/next/category/dynamic-slides","sidebar":"tutorialSidebar"},{"id":"/category/package-integration","path":"/touying/docs/next/category/package-integration","sidebar":"tutorialSidebar"},{"id":"/category/themes","path":"/touying/docs/next/category/themes","sidebar":"tutorialSidebar"},{"id":"/category/progress","path":"/touying/docs/next/category/progress","sidebar":"tutorialSidebar"},{"id":"/category/utilities","path":"/touying/docs/next/category/utilities","sidebar":"tutorialSidebar"},{"id":"/category/external-tools","path":"/touying/docs/next/category/external-tools","sidebar":"tutorialSidebar"}],"draftIds":[],"sidebars":{"tutorialSidebar":{"link":{"path":"/touying/docs/next/intro","label":"intro"}}}},{"name":"0.4.2","label":"0.4.2","isLast":true,"path":"/touying/docs","mainDocId":"intro","docs":[{"id":"build-your-own-theme","path":"/touying/docs/build-your-own-theme","sidebar":"tutorialSidebar"},{"id":"changelog","path":"/touying/docs/changelog","sidebar":"tutorialSidebar"},{"id":"code-styles","path":"/touying/docs/code-styles","sidebar":"tutorialSidebar"},{"id":"dynamic/complex","path":"/touying/docs/dynamic/complex","sidebar":"tutorialSidebar"},{"id":"dynamic/cover","path":"/touying/docs/dynamic/cover","sidebar":"tutorialSidebar"},{"id":"dynamic/equation","path":"/touying/docs/dynamic/equation","sidebar":"tutorialSidebar"},{"id":"dynamic/handout","path":"/touying/docs/dynamic/handout","sidebar":"tutorialSidebar"},{"id":"dynamic/other","path":"/touying/docs/dynamic/other","sidebar":"tutorialSidebar"},{"id":"dynamic/simple","path":"/touying/docs/dynamic/simple","sidebar":"tutorialSidebar"},{"id":"external/pdfpc","path":"/touying/docs/external/pdfpc","sidebar":"tutorialSidebar"},{"id":"external/pympress","path":"/touying/docs/external/pympress","sidebar":"tutorialSidebar"},{"id":"external/typst-preview","path":"/touying/docs/external/typst-preview","sidebar":"tutorialSidebar"},{"id":"global-settings","path":"/touying/docs/global-settings","sidebar":"tutorialSidebar"},{"id":"integration/cetz","path":"/touying/docs/integration/cetz","sidebar":"tutorialSidebar"},{"id":"integration/codly","path":"/touying/docs/integration/codly","sidebar":"tutorialSidebar"},{"id":"integration/ctheorems","path":"/touying/docs/integration/ctheorems","sidebar":"tutorialSidebar"},{"id":"integration/fletcher","path":"/touying/docs/integration/fletcher","sidebar":"tutorialSidebar"},{"id":"integration/mitex","path":"/touying/docs/integration/mitex","sidebar":"tutorialSidebar"},{"id":"integration/pinit","path":"/touying/docs/integration/pinit","sidebar":"tutorialSidebar"},{"id":"intro","path":"/touying/docs/intro","sidebar":"tutorialSidebar"},{"id":"layout","path":"/touying/docs/layout","sidebar":"tutorialSidebar"},{"id":"multi-file","path":"/touying/docs/multi-file","sidebar":"tutorialSidebar"},{"id":"progress/counters","path":"/touying/docs/progress/counters","sidebar":"tutorialSidebar"},{"id":"progress/sections","path":"/touying/docs/progress/sections","sidebar":"tutorialSidebar"},{"id":"sections","path":"/touying/docs/sections","sidebar":"tutorialSidebar"},{"id":"start","path":"/touying/docs/start","sidebar":"tutorialSidebar"},{"id":"themes/aqua","path":"/touying/docs/themes/aqua","sidebar":"tutorialSidebar"},{"id":"themes/dewdrop","path":"/touying/docs/themes/dewdrop","sidebar":"tutorialSidebar"},{"id":"themes/metropolis","path":"/touying/docs/themes/metropolis","sidebar":"tutorialSidebar"},{"id":"themes/simple","path":"/touying/docs/themes/simple","sidebar":"tutorialSidebar"},{"id":"themes/university","path":"/touying/docs/themes/university","sidebar":"tutorialSidebar"},{"id":"utilities/fit-to","path":"/touying/docs/utilities/fit-to","sidebar":"tutorialSidebar"},{"id":"utilities/oop","path":"/touying/docs/utilities/oop","sidebar":"tutorialSidebar"},{"id":"/category/dynamic-slides","path":"/touying/docs/category/dynamic-slides","sidebar":"tutorialSidebar"},{"id":"/category/package-integration","path":"/touying/docs/category/package-integration","sidebar":"tutorialSidebar"},{"id":"/category/themes","path":"/touying/docs/category/themes","sidebar":"tutorialSidebar"},{"id":"/category/progress","path":"/touying/docs/category/progress","sidebar":"tutorialSidebar"},{"id":"/category/utilities","path":"/touying/docs/category/utilities","sidebar":"tutorialSidebar"},{"id":"/category/external-tools","path":"/touying/docs/category/external-tools","sidebar":"tutorialSidebar"}],"draftIds":[],"sidebars":{"tutorialSidebar":{"link":{"path":"/touying/docs/intro","label":"intro"}}}},{"name":"0.4.1","label":"0.4.1","isLast":false,"path":"/touying/docs/0.4.1","mainDocId":"intro","docs":[{"id":"build-your-own-theme","path":"/touying/docs/0.4.1/build-your-own-theme","sidebar":"tutorialSidebar"},{"id":"changelog","path":"/touying/docs/0.4.1/changelog","sidebar":"tutorialSidebar"},{"id":"code-styles","path":"/touying/docs/0.4.1/code-styles","sidebar":"tutorialSidebar"},{"id":"dynamic/complex","path":"/touying/docs/0.4.1/dynamic/complex","sidebar":"tutorialSidebar"},{"id":"dynamic/cover","path":"/touying/docs/0.4.1/dynamic/cover","sidebar":"tutorialSidebar"},{"id":"dynamic/equation","path":"/touying/docs/0.4.1/dynamic/equation","sidebar":"tutorialSidebar"},{"id":"dynamic/handout","path":"/touying/docs/0.4.1/dynamic/handout","sidebar":"tutorialSidebar"},{"id":"dynamic/other","path":"/touying/docs/0.4.1/dynamic/other","sidebar":"tutorialSidebar"},{"id":"dynamic/simple","path":"/touying/docs/0.4.1/dynamic/simple","sidebar":"tutorialSidebar"},{"id":"external/pdfpc","path":"/touying/docs/0.4.1/external/pdfpc","sidebar":"tutorialSidebar"},{"id":"external/pympress","path":"/touying/docs/0.4.1/external/pympress","sidebar":"tutorialSidebar"},{"id":"external/typst-preview","path":"/touying/docs/0.4.1/external/typst-preview","sidebar":"tutorialSidebar"},{"id":"global-settings","path":"/touying/docs/0.4.1/global-settings","sidebar":"tutorialSidebar"},{"id":"integration/cetz","path":"/touying/docs/0.4.1/integration/cetz","sidebar":"tutorialSidebar"},{"id":"integration/codly","path":"/touying/docs/0.4.1/integration/codly","sidebar":"tutorialSidebar"},{"id":"integration/ctheorems","path":"/touying/docs/0.4.1/integration/ctheorems","sidebar":"tutorialSidebar"},{"id":"integration/fletcher","path":"/touying/docs/0.4.1/integration/fletcher","sidebar":"tutorialSidebar"},{"id":"integration/mitex","path":"/touying/docs/0.4.1/integration/mitex","sidebar":"tutorialSidebar"},{"id":"integration/pinit","path":"/touying/docs/0.4.1/integration/pinit","sidebar":"tutorialSidebar"},{"id":"intro","path":"/touying/docs/0.4.1/intro","sidebar":"tutorialSidebar"},{"id":"layout","path":"/touying/docs/0.4.1/layout","sidebar":"tutorialSidebar"},{"id":"multi-file","path":"/touying/docs/0.4.1/multi-file","sidebar":"tutorialSidebar"},{"id":"progress/counters","path":"/touying/docs/0.4.1/progress/counters","sidebar":"tutorialSidebar"},{"id":"progress/sections","path":"/touying/docs/0.4.1/progress/sections","sidebar":"tutorialSidebar"},{"id":"sections","path":"/touying/docs/0.4.1/sections","sidebar":"tutorialSidebar"},{"id":"start","path":"/touying/docs/0.4.1/start","sidebar":"tutorialSidebar"},{"id":"themes/aqua","path":"/touying/docs/0.4.1/themes/aqua","sidebar":"tutorialSidebar"},{"id":"themes/dewdrop","path":"/touying/docs/0.4.1/themes/dewdrop","sidebar":"tutorialSidebar"},{"id":"themes/metropolis","path":"/touying/docs/0.4.1/themes/metropolis","sidebar":"tutorialSidebar"},{"id":"themes/simple","path":"/touying/docs/0.4.1/themes/simple","sidebar":"tutorialSidebar"},{"id":"themes/university","path":"/touying/docs/0.4.1/themes/university","sidebar":"tutorialSidebar"},{"id":"utilities/fit-to","path":"/touying/docs/0.4.1/utilities/fit-to","sidebar":"tutorialSidebar"},{"id":"utilities/oop","path":"/touying/docs/0.4.1/utilities/oop","sidebar":"tutorialSidebar"},{"id":"/category/dynamic-slides","path":"/touying/docs/0.4.1/category/dynamic-slides","sidebar":"tutorialSidebar"},{"id":"/category/package-integration","path":"/touying/docs/0.4.1/category/package-integration","sidebar":"tutorialSidebar"},{"id":"/category/themes","path":"/touying/docs/0.4.1/category/themes","sidebar":"tutorialSidebar"},{"id":"/category/progress","path":"/touying/docs/0.4.1/category/progress","sidebar":"tutorialSidebar"},{"id":"/category/utilities","path":"/touying/docs/0.4.1/category/utilities","sidebar":"tutorialSidebar"},{"id":"/category/external-tools","path":"/touying/docs/0.4.1/category/external-tools","sidebar":"tutorialSidebar"}],"draftIds":[],"sidebars":{"tutorialSidebar":{"link":{"path":"/touying/docs/0.4.1/intro","label":"intro"}}}},{"name":"0.4.0+","label":"0.4.0+","isLast":false,"path":"/touying/docs/0.4.0+","mainDocId":"intro","docs":[{"id":"build-your-own-theme","path":"/touying/docs/0.4.0+/build-your-own-theme","sidebar":"tutorialSidebar"},{"id":"changelog","path":"/touying/docs/0.4.0+/changelog","sidebar":"tutorialSidebar"},{"id":"code-styles","path":"/touying/docs/0.4.0+/code-styles","sidebar":"tutorialSidebar"},{"id":"dynamic/complex","path":"/touying/docs/0.4.0+/dynamic/complex","sidebar":"tutorialSidebar"},{"id":"dynamic/cover","path":"/touying/docs/0.4.0+/dynamic/cover","sidebar":"tutorialSidebar"},{"id":"dynamic/equation","path":"/touying/docs/0.4.0+/dynamic/equation","sidebar":"tutorialSidebar"},{"id":"dynamic/handout","path":"/touying/docs/0.4.0+/dynamic/handout","sidebar":"tutorialSidebar"},{"id":"dynamic/other","path":"/touying/docs/0.4.0+/dynamic/other","sidebar":"tutorialSidebar"},{"id":"dynamic/simple","path":"/touying/docs/0.4.0+/dynamic/simple","sidebar":"tutorialSidebar"},{"id":"external/pdfpc","path":"/touying/docs/0.4.0+/external/pdfpc","sidebar":"tutorialSidebar"},{"id":"external/typst-preview","path":"/touying/docs/0.4.0+/external/typst-preview","sidebar":"tutorialSidebar"},{"id":"global-settings","path":"/touying/docs/0.4.0+/global-settings","sidebar":"tutorialSidebar"},{"id":"integration/cetz","path":"/touying/docs/0.4.0+/integration/cetz","sidebar":"tutorialSidebar"},{"id":"integration/codly","path":"/touying/docs/0.4.0+/integration/codly","sidebar":"tutorialSidebar"},{"id":"integration/ctheorems","path":"/touying/docs/0.4.0+/integration/ctheorems","sidebar":"tutorialSidebar"},{"id":"integration/fletcher","path":"/touying/docs/0.4.0+/integration/fletcher","sidebar":"tutorialSidebar"},{"id":"integration/mitex","path":"/touying/docs/0.4.0+/integration/mitex","sidebar":"tutorialSidebar"},{"id":"integration/pinit","path":"/touying/docs/0.4.0+/integration/pinit","sidebar":"tutorialSidebar"},{"id":"intro","path":"/touying/docs/0.4.0+/intro","sidebar":"tutorialSidebar"},{"id":"layout","path":"/touying/docs/0.4.0+/layout","sidebar":"tutorialSidebar"},{"id":"multi-file","path":"/touying/docs/0.4.0+/multi-file","sidebar":"tutorialSidebar"},{"id":"progress/counters","path":"/touying/docs/0.4.0+/progress/counters","sidebar":"tutorialSidebar"},{"id":"progress/sections","path":"/touying/docs/0.4.0+/progress/sections","sidebar":"tutorialSidebar"},{"id":"sections","path":"/touying/docs/0.4.0+/sections","sidebar":"tutorialSidebar"},{"id":"start","path":"/touying/docs/0.4.0+/start","sidebar":"tutorialSidebar"},{"id":"themes/aqua","path":"/touying/docs/0.4.0+/themes/aqua","sidebar":"tutorialSidebar"},{"id":"themes/dewdrop","path":"/touying/docs/0.4.0+/themes/dewdrop","sidebar":"tutorialSidebar"},{"id":"themes/metropolis","path":"/touying/docs/0.4.0+/themes/metropolis","sidebar":"tutorialSidebar"},{"id":"themes/simple","path":"/touying/docs/0.4.0+/themes/simple","sidebar":"tutorialSidebar"},{"id":"themes/university","path":"/touying/docs/0.4.0+/themes/university","sidebar":"tutorialSidebar"},{"id":"utilities/fit-to","path":"/touying/docs/0.4.0+/utilities/fit-to","sidebar":"tutorialSidebar"},{"id":"utilities/oop","path":"/touying/docs/0.4.0+/utilities/oop","sidebar":"tutorialSidebar"},{"id":"/category/dynamic-slides","path":"/touying/docs/0.4.0+/category/dynamic-slides","sidebar":"tutorialSidebar"},{"id":"/category/package-integration","path":"/touying/docs/0.4.0+/category/package-integration","sidebar":"tutorialSidebar"},{"id":"/category/themes","path":"/touying/docs/0.4.0+/category/themes","sidebar":"tutorialSidebar"},{"id":"/category/progress","path":"/touying/docs/0.4.0+/category/progress","sidebar":"tutorialSidebar"},{"id":"/category/utilities","path":"/touying/docs/0.4.0+/category/utilities","sidebar":"tutorialSidebar"},{"id":"/category/external-tools","path":"/touying/docs/0.4.0+/category/external-tools","sidebar":"tutorialSidebar"}],"draftIds":[],"sidebars":{"tutorialSidebar":{"link":{"path":"/touying/docs/0.4.0+/intro","label":"intro"}}}},{"name":"0.3.2+","label":"0.3.2+","isLast":false,"path":"/touying/docs/0.3.2+","mainDocId":"intro","docs":[{"id":"build-your-own-theme","path":"/touying/docs/0.3.2+/build-your-own-theme","sidebar":"tutorialSidebar"},{"id":"changelog","path":"/touying/docs/0.3.2+/changelog","sidebar":"tutorialSidebar"},{"id":"code-styles","path":"/touying/docs/0.3.2+/code-styles","sidebar":"tutorialSidebar"},{"id":"dynamic/complex","path":"/touying/docs/0.3.2+/dynamic/complex","sidebar":"tutorialSidebar"},{"id":"dynamic/cover","path":"/touying/docs/0.3.2+/dynamic/cover","sidebar":"tutorialSidebar"},{"id":"dynamic/equation","path":"/touying/docs/0.3.2+/dynamic/equation","sidebar":"tutorialSidebar"},{"id":"dynamic/handout","path":"/touying/docs/0.3.2+/dynamic/handout","sidebar":"tutorialSidebar"},{"id":"dynamic/other","path":"/touying/docs/0.3.2+/dynamic/other","sidebar":"tutorialSidebar"},{"id":"dynamic/simple","path":"/touying/docs/0.3.2+/dynamic/simple","sidebar":"tutorialSidebar"},{"id":"external/pdfpc","path":"/touying/docs/0.3.2+/external/pdfpc","sidebar":"tutorialSidebar"},{"id":"external/typst-preview","path":"/touying/docs/0.3.2+/external/typst-preview","sidebar":"tutorialSidebar"},{"id":"global-settings","path":"/touying/docs/0.3.2+/global-settings","sidebar":"tutorialSidebar"},{"id":"integration/cetz","path":"/touying/docs/0.3.2+/integration/cetz","sidebar":"tutorialSidebar"},{"id":"integration/codly","path":"/touying/docs/0.3.2+/integration/codly","sidebar":"tutorialSidebar"},{"id":"integration/fletcher","path":"/touying/docs/0.3.2+/integration/fletcher","sidebar":"tutorialSidebar"},{"id":"integration/mitex","path":"/touying/docs/0.3.2+/integration/mitex","sidebar":"tutorialSidebar"},{"id":"integration/pinit","path":"/touying/docs/0.3.2+/integration/pinit","sidebar":"tutorialSidebar"},{"id":"integration/polylux","path":"/touying/docs/0.3.2+/integration/polylux","sidebar":"tutorialSidebar"},{"id":"intro","path":"/touying/docs/0.3.2+/intro","sidebar":"tutorialSidebar"},{"id":"layout","path":"/touying/docs/0.3.2+/layout","sidebar":"tutorialSidebar"},{"id":"progress/counters","path":"/touying/docs/0.3.2+/progress/counters","sidebar":"tutorialSidebar"},{"id":"progress/sections","path":"/touying/docs/0.3.2+/progress/sections","sidebar":"tutorialSidebar"},{"id":"sections","path":"/touying/docs/0.3.2+/sections","sidebar":"tutorialSidebar"},{"id":"start","path":"/touying/docs/0.3.2+/start","sidebar":"tutorialSidebar"},{"id":"themes/aqua","path":"/touying/docs/0.3.2+/themes/aqua","sidebar":"tutorialSidebar"},{"id":"themes/dewdrop","path":"/touying/docs/0.3.2+/themes/dewdrop","sidebar":"tutorialSidebar"},{"id":"themes/metropolis","path":"/touying/docs/0.3.2+/themes/metropolis","sidebar":"tutorialSidebar"},{"id":"themes/simple","path":"/touying/docs/0.3.2+/themes/simple","sidebar":"tutorialSidebar"},{"id":"themes/university","path":"/touying/docs/0.3.2+/themes/university","sidebar":"tutorialSidebar"},{"id":"utilities/fit-to","path":"/touying/docs/0.3.2+/utilities/fit-to","sidebar":"tutorialSidebar"},{"id":"utilities/oop","path":"/touying/docs/0.3.2+/utilities/oop","sidebar":"tutorialSidebar"},{"id":"/category/dynamic-slides","path":"/touying/docs/0.3.2+/category/dynamic-slides","sidebar":"tutorialSidebar"},{"id":"/category/package-integration","path":"/touying/docs/0.3.2+/category/package-integration","sidebar":"tutorialSidebar"},{"id":"/category/themes","path":"/touying/docs/0.3.2+/category/themes","sidebar":"tutorialSidebar"},{"id":"/category/progress","path":"/touying/docs/0.3.2+/category/progress","sidebar":"tutorialSidebar"},{"id":"/category/utilities","path":"/touying/docs/0.3.2+/category/utilities","sidebar":"tutorialSidebar"},{"id":"/category/external-tools","path":"/touying/docs/0.3.2+/category/external-tools","sidebar":"tutorialSidebar"}],"draftIds":[],"sidebars":{"tutorialSidebar":{"link":{"path":"/touying/docs/0.3.2+/intro","label":"intro"}}}},{"name":"0.3.x","label":"0.3.x","isLast":false,"path":"/touying/docs/0.3.x","mainDocId":"intro","docs":[{"id":"build-your-own-theme","path":"/touying/docs/0.3.x/build-your-own-theme","sidebar":"tutorialSidebar"},{"id":"changelog","path":"/touying/docs/0.3.x/changelog","sidebar":"tutorialSidebar"},{"id":"code-styles","path":"/touying/docs/0.3.x/code-styles","sidebar":"tutorialSidebar"},{"id":"dynamic/complex","path":"/touying/docs/0.3.x/dynamic/complex","sidebar":"tutorialSidebar"},{"id":"dynamic/cover","path":"/touying/docs/0.3.x/dynamic/cover","sidebar":"tutorialSidebar"},{"id":"dynamic/equation","path":"/touying/docs/0.3.x/dynamic/equation","sidebar":"tutorialSidebar"},{"id":"dynamic/handout","path":"/touying/docs/0.3.x/dynamic/handout","sidebar":"tutorialSidebar"},{"id":"dynamic/other","path":"/touying/docs/0.3.x/dynamic/other","sidebar":"tutorialSidebar"},{"id":"dynamic/simple","path":"/touying/docs/0.3.x/dynamic/simple","sidebar":"tutorialSidebar"},{"id":"external/pdfpc","path":"/touying/docs/0.3.x/external/pdfpc","sidebar":"tutorialSidebar"},{"id":"external/typst-preview","path":"/touying/docs/0.3.x/external/typst-preview","sidebar":"tutorialSidebar"},{"id":"global-settings","path":"/touying/docs/0.3.x/global-settings","sidebar":"tutorialSidebar"},{"id":"integration/cetz","path":"/touying/docs/0.3.x/integration/cetz","sidebar":"tutorialSidebar"},{"id":"integration/codly","path":"/touying/docs/0.3.x/integration/codly","sidebar":"tutorialSidebar"},{"id":"integration/fletcher","path":"/touying/docs/0.3.x/integration/fletcher","sidebar":"tutorialSidebar"},{"id":"integration/mitex","path":"/touying/docs/0.3.x/integration/mitex","sidebar":"tutorialSidebar"},{"id":"integration/pinit","path":"/touying/docs/0.3.x/integration/pinit","sidebar":"tutorialSidebar"},{"id":"integration/polylux","path":"/touying/docs/0.3.x/integration/polylux","sidebar":"tutorialSidebar"},{"id":"intro","path":"/touying/docs/0.3.x/intro","sidebar":"tutorialSidebar"},{"id":"layout","path":"/touying/docs/0.3.x/layout","sidebar":"tutorialSidebar"},{"id":"progress/counters","path":"/touying/docs/0.3.x/progress/counters","sidebar":"tutorialSidebar"},{"id":"progress/sections","path":"/touying/docs/0.3.x/progress/sections","sidebar":"tutorialSidebar"},{"id":"sections","path":"/touying/docs/0.3.x/sections","sidebar":"tutorialSidebar"},{"id":"start","path":"/touying/docs/0.3.x/start","sidebar":"tutorialSidebar"},{"id":"themes/dewdrop","path":"/touying/docs/0.3.x/themes/dewdrop","sidebar":"tutorialSidebar"},{"id":"themes/metropolis","path":"/touying/docs/0.3.x/themes/metropolis","sidebar":"tutorialSidebar"},{"id":"themes/simple","path":"/touying/docs/0.3.x/themes/simple","sidebar":"tutorialSidebar"},{"id":"themes/university","path":"/touying/docs/0.3.x/themes/university","sidebar":"tutorialSidebar"},{"id":"utilities/fit-to","path":"/touying/docs/0.3.x/utilities/fit-to","sidebar":"tutorialSidebar"},{"id":"utilities/oop","path":"/touying/docs/0.3.x/utilities/oop","sidebar":"tutorialSidebar"},{"id":"/category/dynamic-slides","path":"/touying/docs/0.3.x/category/dynamic-slides","sidebar":"tutorialSidebar"},{"id":"/category/package-integration","path":"/touying/docs/0.3.x/category/package-integration","sidebar":"tutorialSidebar"},{"id":"/category/themes","path":"/touying/docs/0.3.x/category/themes","sidebar":"tutorialSidebar"},{"id":"/category/progress","path":"/touying/docs/0.3.x/category/progress","sidebar":"tutorialSidebar"},{"id":"/category/utilities","path":"/touying/docs/0.3.x/category/utilities","sidebar":"tutorialSidebar"},{"id":"/category/external-tools","path":"/touying/docs/0.3.x/category/external-tools","sidebar":"tutorialSidebar"}],"draftIds":[],"sidebars":{"tutorialSidebar":{"link":{"path":"/touying/docs/0.3.x/intro","label":"intro"}}}},{"name":"0.2.x","label":"0.2.x","isLast":false,"path":"/touying/docs/0.2.x","mainDocId":"intro","docs":[{"id":"build-your-own-theme","path":"/touying/docs/0.2.x/build-your-own-theme","sidebar":"tutorialSidebar"},{"id":"changelog","path":"/touying/docs/0.2.x/changelog","sidebar":"tutorialSidebar"},{"id":"dynamic/complex","path":"/touying/docs/0.2.x/dynamic/complex","sidebar":"tutorialSidebar"},{"id":"dynamic/cover","path":"/touying/docs/0.2.x/dynamic/cover","sidebar":"tutorialSidebar"},{"id":"dynamic/equation","path":"/touying/docs/0.2.x/dynamic/equation","sidebar":"tutorialSidebar"},{"id":"dynamic/handout","path":"/touying/docs/0.2.x/dynamic/handout","sidebar":"tutorialSidebar"},{"id":"dynamic/other","path":"/touying/docs/0.2.x/dynamic/other","sidebar":"tutorialSidebar"},{"id":"dynamic/simple","path":"/touying/docs/0.2.x/dynamic/simple","sidebar":"tutorialSidebar"},{"id":"external/pdfpc","path":"/touying/docs/0.2.x/external/pdfpc","sidebar":"tutorialSidebar"},{"id":"external/typst-preview","path":"/touying/docs/0.2.x/external/typst-preview","sidebar":"tutorialSidebar"},{"id":"intro","path":"/touying/docs/0.2.x/intro","sidebar":"tutorialSidebar"},{"id":"layout","path":"/touying/docs/0.2.x/layout","sidebar":"tutorialSidebar"},{"id":"progress/counters","path":"/touying/docs/0.2.x/progress/counters","sidebar":"tutorialSidebar"},{"id":"progress/sections","path":"/touying/docs/0.2.x/progress/sections","sidebar":"tutorialSidebar"},{"id":"start","path":"/touying/docs/0.2.x/start","sidebar":"tutorialSidebar"},{"id":"style","path":"/touying/docs/0.2.x/style","sidebar":"tutorialSidebar"},{"id":"themes/dewdrop","path":"/touying/docs/0.2.x/themes/dewdrop","sidebar":"tutorialSidebar"},{"id":"themes/metropolis","path":"/touying/docs/0.2.x/themes/metropolis","sidebar":"tutorialSidebar"},{"id":"themes/simple","path":"/touying/docs/0.2.x/themes/simple","sidebar":"tutorialSidebar"},{"id":"themes/university","path":"/touying/docs/0.2.x/themes/university","sidebar":"tutorialSidebar"},{"id":"utilities/fit-to","path":"/touying/docs/0.2.x/utilities/fit-to","sidebar":"tutorialSidebar"},{"id":"utilities/oop","path":"/touying/docs/0.2.x/utilities/oop","sidebar":"tutorialSidebar"},{"id":"/category/dynamic-slides","path":"/touying/docs/0.2.x/category/dynamic-slides","sidebar":"tutorialSidebar"},{"id":"/category/themes","path":"/touying/docs/0.2.x/category/themes","sidebar":"tutorialSidebar"},{"id":"/category/progress","path":"/touying/docs/0.2.x/category/progress","sidebar":"tutorialSidebar"},{"id":"/category/utilities","path":"/touying/docs/0.2.x/category/utilities","sidebar":"tutorialSidebar"},{"id":"/category/external-tools","path":"/touying/docs/0.2.x/category/external-tools","sidebar":"tutorialSidebar"}],"draftIds":[],"sidebars":{"tutorialSidebar":{"link":{"path":"/touying/docs/0.2.x/intro","label":"intro"}}}}],"breadcrumbs":true}}}'),a=JSON.parse('{"defaultLocale":"en","locales":["en","zh"],"path":"i18n","currentLocale":"en","localeConfigs":{"en":{"label":"English","direction":"ltr","htmlLang":"en","calendar":"gregory","path":"en"},"zh":{"label":"\u4e2d\u6587","direction":"ltr","htmlLang":"zh","calendar":"gregory","path":"zh"}}}');var s=n(7529);const l=JSON.parse('{"docusaurusVersion":"3.1.0","siteVersion":"0.0.0","pluginVersions":{"docusaurus-plugin-content-docs":{"type":"package","name":"@docusaurus/plugin-content-docs","version":"3.1.0"},"docusaurus-plugin-content-blog":{"type":"package","name":"@docusaurus/plugin-content-blog","version":"3.1.0"},"docusaurus-plugin-content-pages":{"type":"package","name":"@docusaurus/plugin-content-pages","version":"3.1.0"},"docusaurus-plugin-sitemap":{"type":"package","name":"@docusaurus/plugin-sitemap","version":"3.1.0"},"docusaurus-theme-classic":{"type":"package","name":"@docusaurus/theme-classic","version":"3.1.0"},"docusaurus-lunr-search":{"type":"package","name":"docusaurus-lunr-search","version":"3.4.0"}}}');var c=n(5893);const u={siteConfig:r.default,siteMetadata:l,globalData:i,i18n:a,codeTranslations:s},d=o.createContext(u);function p(e){let{children:t}=e;return(0,c.jsx)(d.Provider,{value:u,children:t})}},4763:(e,t,n)=>{"use strict";n.d(t,{Z:()=>f});var o=n(7294),r=n(412),i=n(5742),a=n(8780),s=n(4023),l=n(5893);function c(e){let{error:t,tryAgain:n}=e;return(0,l.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,l.jsx)("h1",{style:{fontSize:"3rem"},children:"This page crashed"}),(0,l.jsx)("button",{type:"button",onClick:n,style:{margin:"1rem 0",fontSize:"2rem",cursor:"pointer",borderRadius:20,padding:"1rem"},children:"Try again"}),(0,l.jsx)(u,{error:t})]})}function u(e){let{error:t}=e;const n=(0,a.getErrorCausalChain)(t).map((e=>e.message)).join("\n\nCause:\n");return(0,l.jsx)("p",{style:{whiteSpace:"pre-wrap"},children:n})}function d(e){let{error:t,tryAgain:n}=e;return(0,l.jsxs)(f,{fallback:()=>(0,l.jsx)(c,{error:t,tryAgain:n}),children:[(0,l.jsx)(i.Z,{children:(0,l.jsx)("title",{children:"Page Error"})}),(0,l.jsx)(s.Z,{children:(0,l.jsx)(c,{error:t,tryAgain:n})})]})}const p=e=>(0,l.jsx)(d,{...e});class f extends o.Component{constructor(e){super(e),this.state={error:null}}componentDidCatch(e){r.Z.canUseDOM&&this.setState({error:e})}render(){const{children:e}=this.props,{error:t}=this.state;if(t){const e={error:t,tryAgain:()=>this.setState({error:null})};return(this.props.fallback??p)(e)}return e??null}}},412:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r});const o="undefined"!=typeof window&&"document"in window&&"createElement"in window.document,r={canUseDOM:o,canUseEventListeners:o&&("addEventListener"in window||"attachEvent"in window),canUseIntersectionObserver:o&&"IntersectionObserver"in window,canUseViewport:o&&"screen"in window}},5742:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i});n(7294);var o=n(405),r=n(5893);function i(e){return(0,r.jsx)(o.ql,{...e})}},3692:(e,t,n)=>{"use strict";n.d(t,{Z:()=>f});var o=n(7294),r=n(3727),i=n(8780),a=n(2263),s=n(3919),l=n(412),c=n(8138),u=n(4996),d=n(5893);function p(e,t){let{isNavLink:n,to:p,href:f,activeClassName:g,isActive:m,"data-noBrokenLinkCheck":h,autoAddBaseUrl:y=!0,...b}=e;const{siteConfig:{trailingSlash:v,baseUrl:x}}=(0,a.Z)(),{withBaseUrl:w}=(0,u.C)(),S=(0,c.Z)(),k=(0,o.useRef)(null);(0,o.useImperativeHandle)(t,(()=>k.current));const _=p||f;const E=(0,s.Z)(_),C=_?.replace("pathname://","");let T=void 0!==C?(j=C,y&&(e=>e.startsWith("/"))(j)?w(j):j):void 0;var j;T&&E&&(T=(0,i.applyTrailingSlash)(T,{trailingSlash:v,baseUrl:x}));const N=(0,o.useRef)(!1),A=n?r.OL:r.rU,R=l.Z.canUseIntersectionObserver,L=(0,o.useRef)(),I=()=>{N.current||null==T||(window.docusaurus.preload(T),N.current=!0)};(0,o.useEffect)((()=>(!R&&E&&null!=T&&window.docusaurus.prefetch(T),()=>{R&&L.current&&L.current.disconnect()})),[L,T,R,E]);const P=T?.startsWith("#")??!1,O=!T||!E||P;return O||h||S.collectLink(T),O?(0,d.jsx)("a",{ref:k,href:T,..._&&!E&&{target:"_blank",rel:"noopener noreferrer"},...b}):(0,d.jsx)(A,{...b,onMouseEnter:I,onTouchStart:I,innerRef:e=>{k.current=e,R&&e&&E&&(L.current=new window.IntersectionObserver((t=>{t.forEach((t=>{e===t.target&&(t.isIntersecting||t.intersectionRatio>0)&&(L.current.unobserve(e),L.current.disconnect(),null!=T&&window.docusaurus.prefetch(T))}))})),L.current.observe(e))},to:T,...n&&{isActive:m,activeClassName:g}})}const f=o.forwardRef(p)},5999:(e,t,n)=>{"use strict";n.d(t,{Z:()=>c,I:()=>l});var o=n(7294),r=n(5893);function i(e,t){const n=e.split(/(\{\w+\})/).map(((e,n)=>{if(n%2==1){const n=t?.[e.slice(1,-1)];if(void 0!==n)return n}return e}));return n.some((e=>(0,o.isValidElement)(e)))?n.map(((e,t)=>(0,o.isValidElement)(e)?o.cloneElement(e,{key:t}):e)).filter((e=>""!==e)):n.join("")}var a=n(7529);function s(e){let{id:t,message:n}=e;if(void 0===t&&void 0===n)throw new Error("Docusaurus translation declarations must have at least a translation id or a default translation message");return a[t??n]??n??t}function l(e,t){let{message:n,id:o}=e;return i(s({message:n,id:o}),t)}function c(e){let{children:t,id:n,values:o}=e;if(t&&"string"!=typeof t)throw console.warn("Illegal children",t),new Error("The Docusaurus component only accept simple string values");const a=s({message:t,id:n});return(0,r.jsx)(r.Fragment,{children:i(a,o)})}},9935:(e,t,n)=>{"use strict";n.d(t,{m:()=>o});const o="default"},3919:(e,t,n)=>{"use strict";function o(e){return/^(?:\w*:|\/\/)/.test(e)}function r(e){return void 0!==e&&!o(e)}n.d(t,{Z:()=>r,b:()=>o})},4996:(e,t,n)=>{"use strict";n.d(t,{C:()=>a,Z:()=>s});var o=n(7294),r=n(2263),i=n(3919);function a(){const{siteConfig:{baseUrl:e,url:t}}=(0,r.Z)(),n=(0,o.useCallback)(((n,o)=>function(e,t,n,o){let{forcePrependBaseUrl:r=!1,absolute:a=!1}=void 0===o?{}:o;if(!n||n.startsWith("#")||(0,i.b)(n))return n;if(r)return t+n.replace(/^\//,"");if(n===t.replace(/\/$/,""))return t;const s=n.startsWith(t)?n:t+n.replace(/^\//,"");return a?e+s:s}(t,e,n,o)),[t,e]);return{withBaseUrl:n}}function s(e,t){void 0===t&&(t={});const{withBaseUrl:n}=a();return n(e,t)}},8138:(e,t,n)=>{"use strict";n.d(t,{Z:()=>a});var o=n(7294);n(5893);const r=o.createContext({collectAnchor:()=>{},collectLink:()=>{}}),i=()=>(0,o.useContext)(r);function a(){return i()}},2263:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i});var o=n(7294),r=n(8940);function i(){return(0,o.useContext)(r._)}},8084:(e,t,n)=>{"use strict";n.d(t,{OD:()=>i,eZ:()=>a});var o=n(2263),r=n(9935);function i(e,t){void 0===t&&(t={});const n=function(){const{globalData:e}=(0,o.Z)();return e}()[e];if(!n&&t.failfast)throw new Error(`Docusaurus plugin global data not found for "${e}" plugin.`);return n}function a(e,t,n){void 0===t&&(t=r.m),void 0===n&&(n={});const o=i(e),a=o?.[t];if(!a&&n.failfast)throw new Error(`Docusaurus plugin global data not found for "${e}" plugin with id "${t}".`);return a}},2389:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i});var o=n(7294),r=n(8934);function i(){return(0,o.useContext)(r._)}},469:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r});var o=n(7294);const r=n(412).Z.canUseDOM?o.useLayoutEffect:o.useEffect},9670:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r});const o=e=>"object"==typeof e&&!!e&&Object.keys(e).length>0;function r(e){const t={};return function e(n,r){Object.entries(n).forEach((n=>{let[i,a]=n;const s=r?`${r}.${i}`:i;o(a)?e(a,s):t[s]=a}))}(e),t}},226:(e,t,n)=>{"use strict";n.d(t,{_:()=>i,z:()=>a});var o=n(7294),r=n(5893);const i=o.createContext(null);function a(e){let{children:t,value:n}=e;const a=o.useContext(i),s=(0,o.useMemo)((()=>function(e){let{parent:t,value:n}=e;if(!t){if(!n)throw new Error("Unexpected: no Docusaurus route context found");if(!("plugin"in n))throw new Error("Unexpected: Docusaurus topmost route context has no `plugin` attribute");return n}const o={...t.data,...n?.data};return{plugin:t.plugin,data:o}}({parent:a,value:n})),[a,n]);return(0,r.jsx)(i.Provider,{value:s,children:t})}},4104:(e,t,n)=>{"use strict";n.d(t,{Iw:()=>f,gA:()=>u,_r:()=>l,Jo:()=>g,zh:()=>c,yW:()=>p,gB:()=>d});var o=n(6550),r=n(8084);const i=e=>e.versions.find((e=>e.isLast));function a(e,t){const n=function(e,t){const n=i(e);return[...e.versions.filter((e=>e!==n)),n].find((e=>!!(0,o.LX)(t,{path:e.path,exact:!1,strict:!1})))}(e,t),r=n?.docs.find((e=>!!(0,o.LX)(t,{path:e.path,exact:!0,strict:!1})));return{activeVersion:n,activeDoc:r,alternateDocVersions:r?function(t){const n={};return e.versions.forEach((e=>{e.docs.forEach((o=>{o.id===t&&(n[e.name]=o)}))})),n}(r.id):{}}}const s={},l=()=>(0,r.OD)("docusaurus-plugin-content-docs")??s,c=e=>(0,r.eZ)("docusaurus-plugin-content-docs",e,{failfast:!0});function u(e){void 0===e&&(e={});const t=l(),{pathname:n}=(0,o.TH)();return function(e,t,n){void 0===n&&(n={});const r=Object.entries(e).sort(((e,t)=>t[1].path.localeCompare(e[1].path))).find((e=>{let[,n]=e;return!!(0,o.LX)(t,{path:n.path,exact:!1,strict:!1})})),i=r?{pluginId:r[0],pluginData:r[1]}:void 0;if(!i&&n.failfast)throw new Error(`Can't find active docs plugin for "${t}" pathname, while it was expected to be found. Maybe you tried to use a docs feature that can only be used on a docs-related page? Existing docs plugin paths are: ${Object.values(e).map((e=>e.path)).join(", ")}`);return i}(t,n,e)}function d(e){return c(e).versions}function p(e){const t=c(e);return i(t)}function f(e){const t=c(e),{pathname:n}=(0,o.TH)();return a(t,n)}function g(e){const t=c(e),{pathname:n}=(0,o.TH)();return function(e,t){const n=i(e);return{latestDocSuggestion:a(e,t).alternateDocVersions[n.name],latestVersionSuggestion:n}}(t,n)}},8320:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>i});var o=n(4865),r=n.n(o);r().configure({showSpinner:!1});const i={onRouteUpdate(e){let{location:t,previousLocation:n}=e;if(n&&t.pathname!==n.pathname){const e=window.setTimeout((()=>{r().start()}),200);return()=>window.clearTimeout(e)}},onRouteDidUpdate(){r().done()}}},3310:(e,t,n)=>{"use strict";n.r(t);var o=n(2573),r=n(6809);!function(e){const{themeConfig:{prism:t}}=r.default,{additionalLanguages:o}=t;globalThis.Prism=e,o.forEach((e=>{"php"===e&&n(6854),n(6726)(`./prism-${e}`)})),delete globalThis.Prism}(o.p1)},2503:(e,t,n)=>{"use strict";n.d(t,{Z:()=>u});n(7294);var o=n(512),r=n(5999),i=n(6668),a=n(3692),s=n(8138);const l={anchorWithStickyNavbar:"anchorWithStickyNavbar_LWe7",anchorWithHideOnScrollNavbar:"anchorWithHideOnScrollNavbar_WYt5"};var c=n(5893);function u(e){let{as:t,id:n,...u}=e;const d=(0,s.Z)(),{navbar:{hideOnScroll:p}}=(0,i.L)();if("h1"===t||!n)return(0,c.jsx)(t,{...u,id:void 0});d.collectAnchor(n);const f=(0,r.I)({id:"theme.common.headingLinkTitle",message:"Direct link to {heading}",description:"Title for link to heading"},{heading:"string"==typeof u.children?u.children:n});return(0,c.jsxs)(t,{...u,className:(0,o.Z)("anchor",p?l.anchorWithHideOnScrollNavbar:l.anchorWithStickyNavbar,u.className),id:n,children:[u.children,(0,c.jsx)(a.Z,{className:"hash-link",to:`#${n}`,"aria-label":f,title:f,children:"\u200b"})]})}},9471:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i});n(7294);const o={iconExternalLink:"iconExternalLink_nPIU"};var r=n(5893);function i(e){let{width:t=13.5,height:n=13.5}=e;return(0,r.jsx)("svg",{width:t,height:n,"aria-hidden":"true",viewBox:"0 0 24 24",className:o.iconExternalLink,children:(0,r.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"})})}},4023:(e,t,n)=>{"use strict";n.d(t,{Z:()=>vt});var o=n(7294),r=n(512),i=n(4763),a=n(1944),s=n(6550),l=n(5999),c=n(5936),u=n(5893);const d="__docusaurus_skipToContent_fallback";function p(e){e.setAttribute("tabindex","-1"),e.focus(),e.removeAttribute("tabindex")}function f(){const e=(0,o.useRef)(null),{action:t}=(0,s.k6)(),n=(0,o.useCallback)((e=>{e.preventDefault();const t=document.querySelector("main:first-of-type")??document.getElementById(d);t&&p(t)}),[]);return(0,c.S)((n=>{let{location:o}=n;e.current&&!o.hash&&"PUSH"===t&&p(e.current)})),{containerRef:e,onClick:n}}const g=(0,l.I)({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 m(e){const t=e.children??g,{containerRef:n,onClick:o}=f();return(0,u.jsx)("div",{ref:n,role:"region","aria-label":g,children:(0,u.jsx)("a",{...e,href:`#${d}`,onClick:o,children:t})})}var h=n(5281),y=n(9727);const b={skipToContent:"skipToContent_fXgn"};function v(){return(0,u.jsx)(m,{className:b.skipToContent})}var x=n(6668),w=n(9689);function S(e){let{width:t=21,height:n=21,color:o="currentColor",strokeWidth:r=1.2,className:i,...a}=e;return(0,u.jsx)("svg",{viewBox:"0 0 15 15",width:t,height:n,...a,children:(0,u.jsx)("g",{stroke:o,strokeWidth:r,children:(0,u.jsx)("path",{d:"M.75.75l13.5 13.5M14.25.75L.75 14.25"})})})}const k={closeButton:"closeButton_CVFx"};function _(e){return(0,u.jsx)("button",{type:"button","aria-label":(0,l.I)({id:"theme.AnnouncementBar.closeButtonAriaLabel",message:"Close",description:"The ARIA label for close button of announcement bar"}),...e,className:(0,r.Z)("clean-btn close",k.closeButton,e.className),children:(0,u.jsx)(S,{width:14,height:14,strokeWidth:3.1})})}const E={content:"content_knG7"};function C(e){const{announcementBar:t}=(0,x.L)(),{content:n}=t;return(0,u.jsx)("div",{...e,className:(0,r.Z)(E.content,e.className),dangerouslySetInnerHTML:{__html:n}})}const T={announcementBar:"announcementBar_mb4j",announcementBarPlaceholder:"announcementBarPlaceholder_vyr4",announcementBarClose:"announcementBarClose_gvF7",announcementBarContent:"announcementBarContent_xLdY"};function j(){const{announcementBar:e}=(0,x.L)(),{isActive:t,close:n}=(0,w.nT)();if(!t)return null;const{backgroundColor:o,textColor:r,isCloseable:i}=e;return(0,u.jsxs)("div",{className:T.announcementBar,style:{backgroundColor:o,color:r},role:"banner",children:[i&&(0,u.jsx)("div",{className:T.announcementBarPlaceholder}),(0,u.jsx)(C,{className:T.announcementBarContent}),i&&(0,u.jsx)(_,{onClick:n,className:T.announcementBarClose})]})}var N=n(2961),A=n(2466);var R=n(902),L=n(3102);const I=o.createContext(null);function P(e){let{children:t}=e;const n=function(){const e=(0,N.e)(),t=(0,L.HY)(),[n,r]=(0,o.useState)(!1),i=null!==t.component,a=(0,R.D9)(i);return(0,o.useEffect)((()=>{i&&!a&&r(!0)}),[i,a]),(0,o.useEffect)((()=>{i?e.shown||r(!0):r(!1)}),[e.shown,i]),(0,o.useMemo)((()=>[n,r]),[n])}();return(0,u.jsx)(I.Provider,{value:n,children:t})}function O(e){if(e.component){const t=e.component;return(0,u.jsx)(t,{...e.props})}}function D(){const e=(0,o.useContext)(I);if(!e)throw new R.i6("NavbarSecondaryMenuDisplayProvider");const[t,n]=e,r=(0,o.useCallback)((()=>n(!1)),[n]),i=(0,L.HY)();return(0,o.useMemo)((()=>({shown:t,hide:r,content:O(i)})),[r,i,t])}function M(e){let{header:t,primaryMenu:n,secondaryMenu:o}=e;const{shown:i}=D();return(0,u.jsxs)("div",{className:"navbar-sidebar",children:[t,(0,u.jsxs)("div",{className:(0,r.Z)("navbar-sidebar__items",{"navbar-sidebar__items--show-secondary":i}),children:[(0,u.jsx)("div",{className:"navbar-sidebar__item menu",children:n}),(0,u.jsx)("div",{className:"navbar-sidebar__item menu",children:o})]})]})}var F=n(2949),z=n(2389);function B(e){return(0,u.jsx)("svg",{viewBox:"0 0 24 24",width:24,height:24,...e,children:(0,u.jsx)("path",{fill:"currentColor",d:"M12,9c1.65,0,3,1.35,3,3s-1.35,3-3,3s-3-1.35-3-3S10.35,9,12,9 M12,7c-2.76,0-5,2.24-5,5s2.24,5,5,5s5-2.24,5-5 S14.76,7,12,7L12,7z M2,13l2,0c0.55,0,1-0.45,1-1s-0.45-1-1-1l-2,0c-0.55,0-1,0.45-1,1S1.45,13,2,13z M20,13l2,0c0.55,0,1-0.45,1-1 s-0.45-1-1-1l-2,0c-0.55,0-1,0.45-1,1S19.45,13,20,13z M11,2v2c0,0.55,0.45,1,1,1s1-0.45,1-1V2c0-0.55-0.45-1-1-1S11,1.45,11,2z M11,20v2c0,0.55,0.45,1,1,1s1-0.45,1-1v-2c0-0.55-0.45-1-1-1C11.45,19,11,19.45,11,20z M5.99,4.58c-0.39-0.39-1.03-0.39-1.41,0 c-0.39,0.39-0.39,1.03,0,1.41l1.06,1.06c0.39,0.39,1.03,0.39,1.41,0s0.39-1.03,0-1.41L5.99,4.58z M18.36,16.95 c-0.39-0.39-1.03-0.39-1.41,0c-0.39,0.39-0.39,1.03,0,1.41l1.06,1.06c0.39,0.39,1.03,0.39,1.41,0c0.39-0.39,0.39-1.03,0-1.41 L18.36,16.95z M19.42,5.99c0.39-0.39,0.39-1.03,0-1.41c-0.39-0.39-1.03-0.39-1.41,0l-1.06,1.06c-0.39,0.39-0.39,1.03,0,1.41 s1.03,0.39,1.41,0L19.42,5.99z M7.05,18.36c0.39-0.39,0.39-1.03,0-1.41c-0.39-0.39-1.03-0.39-1.41,0l-1.06,1.06 c-0.39,0.39-0.39,1.03,0,1.41s1.03,0.39,1.41,0L7.05,18.36z"})})}function $(e){return(0,u.jsx)("svg",{viewBox:"0 0 24 24",width:24,height:24,...e,children:(0,u.jsx)("path",{fill:"currentColor",d:"M9.37,5.51C9.19,6.15,9.1,6.82,9.1,7.5c0,4.08,3.32,7.4,7.4,7.4c0.68,0,1.35-0.09,1.99-0.27C17.45,17.19,14.93,19,12,19 c-3.86,0-7-3.14-7-7C5,9.07,6.81,6.55,9.37,5.51z M12,3c-4.97,0-9,4.03-9,9s4.03,9,9,9s9-4.03,9-9c0-0.46-0.04-0.92-0.1-1.36 c-0.98,1.37-2.58,2.26-4.4,2.26c-2.98,0-5.4-2.42-5.4-5.4c0-1.81,0.89-3.42,2.26-4.4C12.92,3.04,12.46,3,12,3L12,3z"})})}const U={toggle:"toggle_vylO",toggleButton:"toggleButton_gllP",darkToggleIcon:"darkToggleIcon_wfgR",lightToggleIcon:"lightToggleIcon_pyhR",toggleButtonDisabled:"toggleButtonDisabled_aARS"};function q(e){let{className:t,buttonClassName:n,value:o,onChange:i}=e;const a=(0,z.Z)(),s=(0,l.I)({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"===o?(0,l.I)({message:"dark mode",id:"theme.colorToggle.ariaLabel.mode.dark",description:"The name for the dark color mode"}):(0,l.I)({message:"light mode",id:"theme.colorToggle.ariaLabel.mode.light",description:"The name for the light color mode"})});return(0,u.jsx)("div",{className:(0,r.Z)(U.toggle,t),children:(0,u.jsxs)("button",{className:(0,r.Z)("clean-btn",U.toggleButton,!a&&U.toggleButtonDisabled,n),type:"button",onClick:()=>i("dark"===o?"light":"dark"),disabled:!a,title:s,"aria-label":s,"aria-live":"polite",children:[(0,u.jsx)(B,{className:(0,r.Z)(U.toggleIcon,U.lightToggleIcon)}),(0,u.jsx)($,{className:(0,r.Z)(U.toggleIcon,U.darkToggleIcon)})]})})}const H=o.memo(q),G={darkNavbarColorModeToggle:"darkNavbarColorModeToggle_X3D1"};function Z(e){let{className:t}=e;const n=(0,x.L)().navbar.style,o=(0,x.L)().colorMode.disableSwitch,{colorMode:r,setColorMode:i}=(0,F.I)();return o?null:(0,u.jsx)(H,{className:t,buttonClassName:"dark"===n?G.darkNavbarColorModeToggle:void 0,value:r,onChange:i})}var W=n(1327);function V(){return(0,u.jsx)(W.Z,{className:"navbar__brand",imageClassName:"navbar__logo",titleClassName:"navbar__title text--truncate"})}function Q(){const e=(0,N.e)();return(0,u.jsx)("button",{type:"button","aria-label":(0,l.I)({id:"theme.docs.sidebar.closeSidebarButtonAriaLabel",message:"Close navigation bar",description:"The ARIA label for close button of mobile sidebar"}),className:"clean-btn navbar-sidebar__close",onClick:()=>e.toggle(),children:(0,u.jsx)(S,{color:"var(--ifm-color-emphasis-600)"})})}function K(){return(0,u.jsxs)("div",{className:"navbar-sidebar__brand",children:[(0,u.jsx)(V,{}),(0,u.jsx)(Z,{className:"margin-right--md"}),(0,u.jsx)(Q,{})]})}var Y=n(3692),X=n(4996),J=n(3919);function ee(e,t){return void 0!==e&&void 0!==t&&new RegExp(e,"gi").test(t)}var te=n(9471);function ne(e){let{activeBasePath:t,activeBaseRegex:n,to:o,href:r,label:i,html:a,isDropdownLink:s,prependBaseUrlToHref:l,...c}=e;const d=(0,X.Z)(o),p=(0,X.Z)(t),f=(0,X.Z)(r,{forcePrependBaseUrl:!0}),g=i&&r&&!(0,J.Z)(r),m=a?{dangerouslySetInnerHTML:{__html:a}}:{children:(0,u.jsxs)(u.Fragment,{children:[i,g&&(0,u.jsx)(te.Z,{...s&&{width:12,height:12}})]})};return r?(0,u.jsx)(Y.Z,{href:l?f:r,...c,...m}):(0,u.jsx)(Y.Z,{to:d,isNavLink:!0,...(t||n)&&{isActive:(e,t)=>n?ee(n,t.pathname):t.pathname.startsWith(p)},...c,...m})}function oe(e){let{className:t,isDropdownItem:n=!1,...o}=e;const i=(0,u.jsx)(ne,{className:(0,r.Z)(n?"dropdown__link":"navbar__item navbar__link",t),isDropdownLink:n,...o});return n?(0,u.jsx)("li",{children:i}):i}function re(e){let{className:t,isDropdownItem:n,...o}=e;return(0,u.jsx)("li",{className:"menu__list-item",children:(0,u.jsx)(ne,{className:(0,r.Z)("menu__link",t),...o})})}function ie(e){let{mobile:t=!1,position:n,...o}=e;const r=t?re:oe;return(0,u.jsx)(r,{...o,activeClassName:o.activeClassName??(t?"menu__link--active":"navbar__link--active")})}var ae=n(6043),se=n(8596),le=n(2263);const ce={dropdownNavbarItemMobile:"dropdownNavbarItemMobile_S0Fm"};function ue(e,t){return e.some((e=>function(e,t){return!!(0,se.Mg)(e.to,t)||!!ee(e.activeBaseRegex,t)||!(!e.activeBasePath||!t.startsWith(e.activeBasePath))}(e,t)))}function de(e){let{items:t,position:n,className:i,onClick:a,...s}=e;const l=(0,o.useRef)(null),[c,d]=(0,o.useState)(!1);return(0,o.useEffect)((()=>{const e=e=>{l.current&&!l.current.contains(e.target)&&d(!1)};return document.addEventListener("mousedown",e),document.addEventListener("touchstart",e),document.addEventListener("focusin",e),()=>{document.removeEventListener("mousedown",e),document.removeEventListener("touchstart",e),document.removeEventListener("focusin",e)}}),[l]),(0,u.jsxs)("div",{ref:l,className:(0,r.Z)("navbar__item","dropdown","dropdown--hoverable",{"dropdown--right":"right"===n,"dropdown--show":c}),children:[(0,u.jsx)(ne,{"aria-haspopup":"true","aria-expanded":c,role:"button",href:s.to?void 0:"#",className:(0,r.Z)("navbar__link",i),...s,onClick:s.to?void 0:e=>e.preventDefault(),onKeyDown:e=>{"Enter"===e.key&&(e.preventDefault(),d(!c))},children:s.children??s.label}),(0,u.jsx)("ul",{className:"dropdown__menu",children:t.map(((e,t)=>(0,o.createElement)(Re,{isDropdownItem:!0,activeClassName:"dropdown__link--active",...e,key:t})))})]})}function pe(e){let{items:t,className:n,position:i,onClick:a,...l}=e;const c=function(){const{siteConfig:{baseUrl:e}}=(0,le.Z)(),{pathname:t}=(0,s.TH)();return t.replace(e,"/")}(),d=ue(t,c),{collapsed:p,toggleCollapsed:f,setCollapsed:g}=(0,ae.u)({initialState:()=>!d});return(0,o.useEffect)((()=>{d&&g(!d)}),[c,d,g]),(0,u.jsxs)("li",{className:(0,r.Z)("menu__list-item",{"menu__list-item--collapsed":p}),children:[(0,u.jsx)(ne,{role:"button",className:(0,r.Z)(ce.dropdownNavbarItemMobile,"menu__link menu__link--sublist menu__link--sublist-caret",n),...l,onClick:e=>{e.preventDefault(),f()},children:l.children??l.label}),(0,u.jsx)(ae.z,{lazy:!0,as:"ul",className:"menu__list",collapsed:p,children:t.map(((e,t)=>(0,o.createElement)(Re,{mobile:!0,isDropdownItem:!0,onClick:a,activeClassName:"menu__link--active",...e,key:t})))})]})}function fe(e){let{mobile:t=!1,...n}=e;const o=t?pe:de;return(0,u.jsx)(o,{...n})}var ge=n(4711);function me(e){let{width:t=20,height:n=20,...o}=e;return(0,u.jsx)("svg",{viewBox:"0 0 24 24",width:t,height:n,"aria-hidden":!0,...o,children:(0,u.jsx)("path",{fill:"currentColor",d:"M12.87 15.07l-2.54-2.51.03-.03c1.74-1.94 2.98-4.17 3.71-6.53H17V4h-7V2H8v2H1v1.99h11.17C11.5 7.92 10.44 9.75 9 11.35 8.07 10.32 7.3 9.19 6.69 8h-2c.73 1.63 1.73 3.17 2.98 4.56l-5.09 5.02L4 19l5-5 3.11 3.11.76-2.04zM18.5 10h-2L12 22h2l1.12-3h4.75L21 22h2l-4.5-12zm-2.62 7l1.62-4.33L19.12 17h-3.24z"})})}const he="iconLanguage_nlXk";function ye(e){var t,n,o="";if("string"==typeof e||"number"==typeof e)o+=e;else if("object"==typeof e)if(Array.isArray(e))for(t=0;t{if(!e.state?.highlightState||0===e.state.highlightState.wordToHighlight.length)return;i(e.state.highlightState);const{highlightState:n,...o}=e.state;t.replace({...e,state:o})}),[e.state?.highlightState,t,e]),(0,o.useEffect)((()=>{if(0===r.wordToHighlight.length)return;const e=document.getElementsByTagName("article")[0]??document.getElementsByTagName("main")[0];if(!e)return;const t=new(we())(e),n={ignoreJoiners:!0};return t.mark(r.wordToHighlight,n),()=>t.unmark(n)}),[r,n]),null}const ke=e=>{const t=(0,o.useRef)(!1),r=(0,o.useRef)(null),[i,a]=(0,o.useState)(!1),l=(0,s.k6)(),{siteConfig:c={}}=(0,le.Z)(),d=(c.plugins||[]).find((e=>Array.isArray(e)&&"string"==typeof e[0]&&e[0].includes("docusaurus-lunr-search"))),p=(0,z.Z)(),{baseUrl:f}=c,g=d&&d[1]?.assetUrl||f,m=(0,ve.eZ)("docusaurus-lunr-search"),h=()=>{t.current||(Promise.all([fetch(`${g}${m.fileNames.searchDoc}`).then((e=>e.json())),fetch(`${g}${m.fileNames.lunrIndex}`).then((e=>e.json())),Promise.all([n.e(8364),n.e(5684)]).then(n.bind(n,1323)),Promise.all([n.e(532),n.e(2572)]).then(n.bind(n,2572))]).then((e=>{let[t,n,{default:o}]=e;const{searchDocs:r,options:i}=t;r&&0!==r.length&&(((e,t,n,o)=>{new n({searchDocs:e,searchIndex:t,baseUrl:f,inputSelector:"#search_input_react",handleSelected:(e,t,n)=>{const r=n.url||"/";document.createElement("a").href=r,e.setVal(""),t.target.blur();let i="";if(o.highlightResult)try{const e=(n.text||n.subcategory||n.title).match(new RegExp("\\w*","g"));if(e&&e.length>0){const t=document.createElement("div");t.innerHTML=e[0],i=t.textContent}}catch(a){console.log(a)}l.push(r,{highlightState:{wordToHighlight:i}})},maxHits:o.maxHits})})(r,n,o,i),a(!0))})),t.current=!0)},y=(0,o.useCallback)((t=>{r.current.contains(t.target)||r.current.focus(),e.handleSearchBarToggle&&e.handleSearchBarToggle(!e.isSearchBarExpanded)}),[e.isSearchBarExpanded]);let b;return p&&(h(),b=window.navigator.platform.startsWith("Mac")?"Search \u2318+K":"Search Ctrl+K"),(0,o.useEffect)((()=>{e.autoFocus&&i&&r.current.focus()}),[i]),(0,u.jsxs)("div",{className:"navbar__search",children:[(0,u.jsx)("span",{"aria-label":"expand searchbar",role:"button",className:be("search-icon",{"search-icon-hidden":e.isSearchBarExpanded}),onClick:y,onKeyDown:y,tabIndex:0}),(0,u.jsx)("input",{id:"search_input_react",type:"search",placeholder:i?b:"Loading...","aria-label":"Search",className:be("navbar__search-input",{"search-bar-expanded":e.isSearchBarExpanded},{"search-bar":!e.isSearchBarExpanded}),onClick:h,onMouseOver:h,onFocus:y,onBlur:y,ref:r,disabled:!i}),(0,u.jsx)(Se,{})]},"search-box")},_e={navbarSearchContainer:"navbarSearchContainer_Bca1"};function Ee(e){let{children:t,className:n}=e;return(0,u.jsx)("div",{className:(0,r.Z)(n,_e.navbarSearchContainer),children:t})}var Ce=n(4104),Te=n(2802);var je=n(373);const Ne=e=>e.docs.find((t=>t.id===e.mainDocId));const Ae={default:ie,localeDropdown:function(e){let{mobile:t,dropdownItemsBefore:n,dropdownItemsAfter:o,queryString:r="",...i}=e;const{i18n:{currentLocale:a,locales:c,localeConfigs:d}}=(0,le.Z)(),p=(0,ge.l)(),{search:f,hash:g}=(0,s.TH)(),m=[...n,...c.map((e=>{const n=`${`pathname://${p.createUrl({locale:e,fullyQualified:!1})}`}${f}${g}${r}`;return{label:d[e].label,lang:d[e].htmlLang,to:n,target:"_self",autoAddBaseUrl:!1,className:e===a?t?"menu__link--active":"dropdown__link--active":""}})),...o],h=t?(0,l.I)({message:"Languages",id:"theme.navbar.mobileLanguageDropdown.label",description:"The label for the mobile language switcher dropdown"}):d[a].label;return(0,u.jsx)(fe,{...i,mobile:t,label:(0,u.jsxs)(u.Fragment,{children:[(0,u.jsx)(me,{className:he}),h]}),items:m})},search:function(e){let{mobile:t,className:n}=e;return t?null:(0,u.jsx)(Ee,{className:n,children:(0,u.jsx)(ke,{})})},dropdown:fe,html:function(e){let{value:t,className:n,mobile:o=!1,isDropdownItem:i=!1}=e;const a=i?"li":"div";return(0,u.jsx)(a,{className:(0,r.Z)({navbar__item:!o&&!i,"menu__list-item":o},n),dangerouslySetInnerHTML:{__html:t}})},doc:function(e){let{docId:t,label:n,docsPluginId:o,...r}=e;const{activeDoc:i}=(0,Ce.Iw)(o),a=(0,Te.vY)(t,o),s=i?.path===a?.path;return null===a||a.unlisted&&!s?null:(0,u.jsx)(ie,{exact:!0,...r,isActive:()=>s||!!i?.sidebar&&i.sidebar===a.sidebar,label:n??a.id,to:a.path})},docSidebar:function(e){let{sidebarId:t,label:n,docsPluginId:o,...r}=e;const{activeDoc:i}=(0,Ce.Iw)(o),a=(0,Te.oz)(t,o).link;if(!a)throw new Error(`DocSidebarNavbarItem: Sidebar with ID "${t}" doesn't have anything to be linked to.`);return(0,u.jsx)(ie,{exact:!0,...r,isActive:()=>i?.sidebar===t,label:n??a.label,to:a.path})},docsVersion:function(e){let{label:t,to:n,docsPluginId:o,...r}=e;const i=(0,Te.lO)(o)[0],a=t??i.label,s=n??(e=>e.docs.find((t=>t.id===e.mainDocId)))(i).path;return(0,u.jsx)(ie,{...r,label:a,to:s})},docsVersionDropdown:function(e){let{mobile:t,docsPluginId:n,dropdownActiveClassDisabled:o,dropdownItemsBefore:r,dropdownItemsAfter:i,...a}=e;const{search:c,hash:d}=(0,s.TH)(),p=(0,Ce.Iw)(n),f=(0,Ce.gB)(n),{savePreferredVersionName:g}=(0,je.J)(n),m=[...r,...f.map((e=>{const t=p.alternateDocVersions[e.name]??Ne(e);return{label:e.label,to:`${t.path}${c}${d}`,isActive:()=>e===p.activeVersion,onClick:()=>g(e.name)}})),...i],h=(0,Te.lO)(n)[0],y=t&&m.length>1?(0,l.I)({id:"theme.navbar.mobileVersionsDropdown.label",message:"Versions",description:"The label for the navbar versions dropdown on mobile view"}):h.label,b=t&&m.length>1?void 0:Ne(h).path;return m.length<=1?(0,u.jsx)(ie,{...a,mobile:t,label:y,to:b,isActive:o?()=>!1:void 0}):(0,u.jsx)(fe,{...a,mobile:t,label:y,to:b,items:m,isActive:o?()=>!1:void 0})}};function Re(e){let{type:t,...n}=e;const o=function(e,t){return e&&"default"!==e?e:"items"in t?"dropdown":"default"}(t,n),r=Ae[o];if(!r)throw new Error(`No NavbarItem component found for type "${t}".`);return(0,u.jsx)(r,{...n})}function Le(){const e=(0,N.e)(),t=(0,x.L)().navbar.items;return(0,u.jsx)("ul",{className:"menu__list",children:t.map(((t,n)=>(0,o.createElement)(Re,{mobile:!0,...t,onClick:()=>e.toggle(),key:n})))})}function Ie(e){return(0,u.jsx)("button",{...e,type:"button",className:"clean-btn navbar-sidebar__back",children:(0,u.jsx)(l.Z,{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 Pe(){const e=0===(0,x.L)().navbar.items.length,t=D();return(0,u.jsxs)(u.Fragment,{children:[!e&&(0,u.jsx)(Ie,{onClick:()=>t.hide()}),t.content]})}function Oe(){const e=(0,N.e)();var t;return void 0===(t=e.shown)&&(t=!0),(0,o.useEffect)((()=>(document.body.style.overflow=t?"hidden":"visible",()=>{document.body.style.overflow="visible"})),[t]),e.shouldRender?(0,u.jsx)(M,{header:(0,u.jsx)(K,{}),primaryMenu:(0,u.jsx)(Le,{}),secondaryMenu:(0,u.jsx)(Pe,{})}):null}const De={navbarHideable:"navbarHideable_m1mJ",navbarHidden:"navbarHidden_jGov"};function Me(e){return(0,u.jsx)("div",{role:"presentation",...e,className:(0,r.Z)("navbar-sidebar__backdrop",e.className)})}function Fe(e){let{children:t}=e;const{navbar:{hideOnScroll:n,style:i}}=(0,x.L)(),a=(0,N.e)(),{navbarRef:s,isNavbarVisible:d}=function(e){const[t,n]=(0,o.useState)(e),r=(0,o.useRef)(!1),i=(0,o.useRef)(0),a=(0,o.useCallback)((e=>{null!==e&&(i.current=e.getBoundingClientRect().height)}),[]);return(0,A.RF)(((t,o)=>{let{scrollY:a}=t;if(!e)return;if(a=s?n(!1):a+c{if(!e)return;const o=t.location.hash;if(o?document.getElementById(o.substring(1)):void 0)return r.current=!0,void n(!1);n(!0)})),{navbarRef:a,isNavbarVisible:t}}(n);return(0,u.jsxs)("nav",{ref:s,"aria-label":(0,l.I)({id:"theme.NavBar.navAriaLabel",message:"Main",description:"The ARIA label for the main navigation"}),className:(0,r.Z)("navbar","navbar--fixed-top",n&&[De.navbarHideable,!d&&De.navbarHidden],{"navbar--dark":"dark"===i,"navbar--primary":"primary"===i,"navbar-sidebar--show":a.shown}),children:[t,(0,u.jsx)(Me,{onClick:a.toggle}),(0,u.jsx)(Oe,{})]})}var ze=n(8780);const Be={errorBoundaryError:"errorBoundaryError_a6uf",errorBoundaryFallback:"errorBoundaryFallback_VBag"};function $e(e){return(0,u.jsx)("button",{type:"button",...e,children:(0,u.jsx)(l.Z,{id:"theme.ErrorPageContent.tryAgain",description:"The label of the button to try again rendering when the React error boundary captures an error",children:"Try again"})})}function Ue(e){let{error:t}=e;const n=(0,ze.getErrorCausalChain)(t).map((e=>e.message)).join("\n\nCause:\n");return(0,u.jsx)("p",{className:Be.errorBoundaryError,children:n})}class qe extends o.Component{componentDidCatch(e,t){throw this.props.onError(e,t)}render(){return this.props.children}}const He="right";function Ge(e){let{width:t=30,height:n=30,className:o,...r}=e;return(0,u.jsx)("svg",{className:o,width:t,height:n,viewBox:"0 0 30 30","aria-hidden":"true",...r,children:(0,u.jsx)("path",{stroke:"currentColor",strokeLinecap:"round",strokeMiterlimit:"10",strokeWidth:"2",d:"M4 7h22M4 15h22M4 23h22"})})}function Ze(){const{toggle:e,shown:t}=(0,N.e)();return(0,u.jsx)("button",{onClick:e,"aria-label":(0,l.I)({id:"theme.docs.sidebar.toggleSidebarButtonAriaLabel",message:"Toggle navigation bar",description:"The ARIA label for hamburger menu button of mobile navigation"}),"aria-expanded":t,className:"navbar__toggle clean-btn",type:"button",children:(0,u.jsx)(Ge,{})})}const We={colorModeToggle:"colorModeToggle_DEke"};function Ve(e){let{items:t}=e;return(0,u.jsx)(u.Fragment,{children:t.map(((e,t)=>(0,u.jsx)(qe,{onError:t=>new Error(`A theme navbar item failed to render.\nPlease double-check the following navbar item (themeConfig.navbar.items) of your Docusaurus config:\n${JSON.stringify(e,null,2)}`,{cause:t}),children:(0,u.jsx)(Re,{...e})},t)))})}function Qe(e){let{left:t,right:n}=e;return(0,u.jsxs)("div",{className:"navbar__inner",children:[(0,u.jsx)("div",{className:"navbar__items",children:t}),(0,u.jsx)("div",{className:"navbar__items navbar__items--right",children:n})]})}function Ke(){const e=(0,N.e)(),t=(0,x.L)().navbar.items,[n,o]=function(e){function t(e){return"left"===(e.position??He)}return[e.filter(t),e.filter((e=>!t(e)))]}(t),r=t.find((e=>"search"===e.type));return(0,u.jsx)(Qe,{left:(0,u.jsxs)(u.Fragment,{children:[!e.disabled&&(0,u.jsx)(Ze,{}),(0,u.jsx)(V,{}),(0,u.jsx)(Ve,{items:n})]}),right:(0,u.jsxs)(u.Fragment,{children:[(0,u.jsx)(Ve,{items:o}),(0,u.jsx)(Z,{className:We.colorModeToggle}),!r&&(0,u.jsx)(Ee,{children:(0,u.jsx)(ke,{})})]})})}function Ye(){return(0,u.jsx)(Fe,{children:(0,u.jsx)(Ke,{})})}function Xe(e){let{item:t}=e;const{to:n,href:o,label:r,prependBaseUrlToHref:i,...a}=t,s=(0,X.Z)(n),l=(0,X.Z)(o,{forcePrependBaseUrl:!0});return(0,u.jsxs)(Y.Z,{className:"footer__link-item",...o?{href:i?l:o}:{to:s},...a,children:[r,o&&!(0,J.Z)(o)&&(0,u.jsx)(te.Z,{})]})}function Je(e){let{item:t}=e;return t.html?(0,u.jsx)("li",{className:"footer__item",dangerouslySetInnerHTML:{__html:t.html}}):(0,u.jsx)("li",{className:"footer__item",children:(0,u.jsx)(Xe,{item:t})},t.href??t.to)}function et(e){let{column:t}=e;return(0,u.jsxs)("div",{className:"col footer__col",children:[(0,u.jsx)("div",{className:"footer__title",children:t.title}),(0,u.jsx)("ul",{className:"footer__items clean-list",children:t.items.map(((e,t)=>(0,u.jsx)(Je,{item:e},t)))})]})}function tt(e){let{columns:t}=e;return(0,u.jsx)("div",{className:"row footer__links",children:t.map(((e,t)=>(0,u.jsx)(et,{column:e},t)))})}function nt(){return(0,u.jsx)("span",{className:"footer__link-separator",children:"\xb7"})}function ot(e){let{item:t}=e;return t.html?(0,u.jsx)("span",{className:"footer__link-item",dangerouslySetInnerHTML:{__html:t.html}}):(0,u.jsx)(Xe,{item:t})}function rt(e){let{links:t}=e;return(0,u.jsx)("div",{className:"footer__links text--center",children:(0,u.jsx)("div",{className:"footer__links",children:t.map(((e,n)=>(0,u.jsxs)(o.Fragment,{children:[(0,u.jsx)(ot,{item:e}),t.length!==n+1&&(0,u.jsx)(nt,{})]},n)))})})}function it(e){let{links:t}=e;return function(e){return"title"in e[0]}(t)?(0,u.jsx)(tt,{columns:t}):(0,u.jsx)(rt,{links:t})}var at=n(9965);const st={footerLogoLink:"footerLogoLink_BH7S"};function lt(e){let{logo:t}=e;const{withBaseUrl:n}=(0,X.C)(),o={light:n(t.src),dark:n(t.srcDark??t.src)};return(0,u.jsx)(at.Z,{className:(0,r.Z)("footer__logo",t.className),alt:t.alt,sources:o,width:t.width,height:t.height,style:t.style})}function ct(e){let{logo:t}=e;return t.href?(0,u.jsx)(Y.Z,{href:t.href,className:st.footerLogoLink,target:t.target,children:(0,u.jsx)(lt,{logo:t})}):(0,u.jsx)(lt,{logo:t})}function ut(e){let{copyright:t}=e;return(0,u.jsx)("div",{className:"footer__copyright",dangerouslySetInnerHTML:{__html:t}})}function dt(e){let{style:t,links:n,logo:o,copyright:i}=e;return(0,u.jsx)("footer",{className:(0,r.Z)("footer",{"footer--dark":"dark"===t}),children:(0,u.jsxs)("div",{className:"container container-fluid",children:[n,(o||i)&&(0,u.jsxs)("div",{className:"footer__bottom text--center",children:[o&&(0,u.jsx)("div",{className:"margin-bottom--sm",children:o}),i]})]})})}function pt(){const{footer:e}=(0,x.L)();if(!e)return null;const{copyright:t,links:n,logo:o,style:r}=e;return(0,u.jsx)(dt,{style:r,links:n&&n.length>0&&(0,u.jsx)(it,{links:n}),logo:o&&(0,u.jsx)(ct,{logo:o}),copyright:t&&(0,u.jsx)(ut,{copyright:t})})}const ft=o.memo(pt),gt=(0,R.Qc)([F.S,w.pl,A.OC,je.L5,a.VC,function(e){let{children:t}=e;return(0,u.jsx)(L.n2,{children:(0,u.jsx)(N.M,{children:(0,u.jsx)(P,{children:t})})})}]);function mt(e){let{children:t}=e;return(0,u.jsx)(gt,{children:t})}var ht=n(2503);function yt(e){let{error:t,tryAgain:n}=e;return(0,u.jsx)("main",{className:"container margin-vert--xl",children:(0,u.jsx)("div",{className:"row",children:(0,u.jsxs)("div",{className:"col col--6 col--offset-3",children:[(0,u.jsx)(ht.Z,{as:"h1",className:"hero__title",children:(0,u.jsx)(l.Z,{id:"theme.ErrorPageContent.title",description:"The title of the fallback page when the page crashed",children:"This page crashed."})}),(0,u.jsx)("div",{className:"margin-vert--lg",children:(0,u.jsx)($e,{onClick:n,className:"button button--primary shadow--lw"})}),(0,u.jsx)("hr",{}),(0,u.jsx)("div",{className:"margin-vert--md",children:(0,u.jsx)(Ue,{error:t})})]})})})}const bt={mainWrapper:"mainWrapper_z2l0"};function vt(e){const{children:t,noFooter:n,wrapperClassName:o,title:s,description:l}=e;return(0,y.t)(),(0,u.jsxs)(mt,{children:[(0,u.jsx)(a.d,{title:s,description:l}),(0,u.jsx)(v,{}),(0,u.jsx)(j,{}),(0,u.jsx)(Ye,{}),(0,u.jsx)("div",{id:d,className:(0,r.Z)(h.k.wrapper.main,bt.mainWrapper,o),children:(0,u.jsx)(i.Z,{fallback:e=>(0,u.jsx)(yt,{...e}),children:t})}),!n&&(0,u.jsx)(ft,{})]})}},1327:(e,t,n)=>{"use strict";n.d(t,{Z:()=>u});n(7294);var o=n(3692),r=n(4996),i=n(2263),a=n(6668),s=n(9965),l=n(5893);function c(e){let{logo:t,alt:n,imageClassName:o}=e;const i={light:(0,r.Z)(t.src),dark:(0,r.Z)(t.srcDark||t.src)},a=(0,l.jsx)(s.Z,{className:t.className,sources:i,height:t.height,width:t.width,alt:n,style:t.style});return o?(0,l.jsx)("div",{className:o,children:a}):a}function u(e){const{siteConfig:{title:t}}=(0,i.Z)(),{navbar:{title:n,logo:s}}=(0,a.L)(),{imageClassName:u,titleClassName:d,...p}=e,f=(0,r.Z)(s?.href||"/"),g=n?"":t,m=s?.alt??g;return(0,l.jsxs)(o.Z,{to:f,...p,...s?.target&&{target:s.target},children:[s&&(0,l.jsx)(c,{logo:s,alt:m,imageClassName:u}),null!=n&&(0,l.jsx)("b",{className:d,children:n})]})}},197:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i});n(7294);var o=n(5742),r=n(5893);function i(e){let{locale:t,version:n,tag:i}=e;const a=t;return(0,r.jsxs)(o.Z,{children:[t&&(0,r.jsx)("meta",{name:"docusaurus_locale",content:t}),n&&(0,r.jsx)("meta",{name:"docusaurus_version",content:n}),i&&(0,r.jsx)("meta",{name:"docusaurus_tag",content:i}),a&&(0,r.jsx)("meta",{name:"docsearch:language",content:a}),n&&(0,r.jsx)("meta",{name:"docsearch:version",content:n}),i&&(0,r.jsx)("meta",{name:"docsearch:docusaurus_tag",content:i})]})}},9965:(e,t,n)=>{"use strict";n.d(t,{Z:()=>u});var o=n(7294),r=n(512),i=n(2389),a=n(2949);const s={themedComponent:"themedComponent_mlkZ","themedComponent--light":"themedComponent--light_NVdE","themedComponent--dark":"themedComponent--dark_xIcU"};var l=n(5893);function c(e){let{className:t,children:n}=e;const c=(0,i.Z)(),{colorMode:u}=(0,a.I)();return(0,l.jsx)(l.Fragment,{children:(c?"dark"===u?["dark"]:["light"]:["light","dark"]).map((e=>{const i=n({theme:e,className:(0,r.Z)(t,s.themedComponent,s[`themedComponent--${e}`])});return(0,l.jsx)(o.Fragment,{children:i},e)}))})}function u(e){const{sources:t,className:n,alt:o,...r}=e;return(0,l.jsx)(c,{className:n,children:e=>{let{theme:n,className:i}=e;return(0,l.jsx)("img",{src:t[n],alt:o,className:i,...r})}})}},6043:(e,t,n)=>{"use strict";n.d(t,{u:()=>c,z:()=>y});var o=n(7294),r=n(412),i=n(469),a=n(1442),s=n(5893);const l="ease-in-out";function c(e){let{initialState:t}=e;const[n,r]=(0,o.useState)(t??!1),i=(0,o.useCallback)((()=>{r((e=>!e))}),[]);return{collapsed:n,setCollapsed:r,toggleCollapsed:i}}const u={display:"none",overflow:"hidden",height:"0px"},d={display:"block",overflow:"visible",height:"auto"};function p(e,t){const n=t?u:d;e.style.display=n.display,e.style.overflow=n.overflow,e.style.height=n.height}function f(e){let{collapsibleRef:t,collapsed:n,animation:r}=e;const i=(0,o.useRef)(!1);(0,o.useEffect)((()=>{const e=t.current;function o(){const t=e.scrollHeight,n=r?.duration??function(e){if((0,a.n)())return 1;const t=e/36;return Math.round(10*(4+15*t**.25+t/5))}(t);return{transition:`height ${n}ms ${r?.easing??l}`,height:`${t}px`}}function s(){const t=o();e.style.transition=t.transition,e.style.height=t.height}if(!i.current)return p(e,n),void(i.current=!0);return e.style.willChange="height",function(){const t=requestAnimationFrame((()=>{n?(s(),requestAnimationFrame((()=>{e.style.height=u.height,e.style.overflow=u.overflow}))):(e.style.display="block",requestAnimationFrame((()=>{s()})))}));return()=>cancelAnimationFrame(t)}()}),[t,n,r])}function g(e){if(!r.Z.canUseDOM)return e?u:d}function m(e){let{as:t="div",collapsed:n,children:r,animation:i,onCollapseTransitionEnd:a,className:l,disableSSRStyle:c}=e;const u=(0,o.useRef)(null);return f({collapsibleRef:u,collapsed:n,animation:i}),(0,s.jsx)(t,{ref:u,style:c?void 0:g(n),onTransitionEnd:e=>{"height"===e.propertyName&&(p(u.current,n),a?.(n))},className:l,children:r})}function h(e){let{collapsed:t,...n}=e;const[r,a]=(0,o.useState)(!t),[l,c]=(0,o.useState)(t);return(0,i.Z)((()=>{t||a(!0)}),[t]),(0,i.Z)((()=>{r&&c(t)}),[r,t]),r?(0,s.jsx)(m,{...n,collapsed:l}):null}function y(e){let{lazy:t,...n}=e;const o=t?h:m;return(0,s.jsx)(o,{...n})}},9689:(e,t,n)=>{"use strict";n.d(t,{nT:()=>m,pl:()=>g});var o=n(7294),r=n(2389),i=n(12),a=n(902),s=n(6668),l=n(5893);const c=(0,i.WA)("docusaurus.announcement.dismiss"),u=(0,i.WA)("docusaurus.announcement.id"),d=()=>"true"===c.get(),p=e=>c.set(String(e)),f=o.createContext(null);function g(e){let{children:t}=e;const n=function(){const{announcementBar:e}=(0,s.L)(),t=(0,r.Z)(),[n,i]=(0,o.useState)((()=>!!t&&d()));(0,o.useEffect)((()=>{i(d())}),[]);const a=(0,o.useCallback)((()=>{p(!0),i(!0)}),[]);return(0,o.useEffect)((()=>{if(!e)return;const{id:t}=e;let n=u.get();"annoucement-bar"===n&&(n="announcement-bar");const o=t!==n;u.set(t),o&&p(!1),!o&&d()||i(!1)}),[e]),(0,o.useMemo)((()=>({isActive:!!e&&!n,close:a})),[e,n,a])}();return(0,l.jsx)(f.Provider,{value:n,children:t})}function m(){const e=(0,o.useContext)(f);if(!e)throw new a.i6("AnnouncementBarProvider");return e}},2949:(e,t,n)=>{"use strict";n.d(t,{I:()=>y,S:()=>h});var o=n(7294),r=n(412),i=n(902),a=n(12),s=n(6668),l=n(5893);const c=o.createContext(void 0),u="theme",d=(0,a.WA)(u),p={light:"light",dark:"dark"},f=e=>e===p.dark?p.dark:p.light,g=e=>r.Z.canUseDOM?f(document.documentElement.getAttribute("data-theme")):f(e),m=e=>{d.set(f(e))};function h(e){let{children:t}=e;const n=function(){const{colorMode:{defaultMode:e,disableSwitch:t,respectPrefersColorScheme:n}}=(0,s.L)(),[r,i]=(0,o.useState)(g(e));(0,o.useEffect)((()=>{t&&d.del()}),[t]);const a=(0,o.useCallback)((function(t,o){void 0===o&&(o={});const{persist:r=!0}=o;t?(i(t),r&&m(t)):(i(n?window.matchMedia("(prefers-color-scheme: dark)").matches?p.dark:p.light:e),d.del())}),[n,e]);(0,o.useEffect)((()=>{document.documentElement.setAttribute("data-theme",f(r))}),[r]),(0,o.useEffect)((()=>{if(t)return;const e=e=>{if(e.key!==u)return;const t=d.get();null!==t&&a(f(t))};return window.addEventListener("storage",e),()=>window.removeEventListener("storage",e)}),[t,a]);const l=(0,o.useRef)(!1);return(0,o.useEffect)((()=>{if(t&&!n)return;const e=window.matchMedia("(prefers-color-scheme: dark)"),o=()=>{window.matchMedia("print").matches||l.current?l.current=window.matchMedia("print").matches:a(null)};return e.addListener(o),()=>e.removeListener(o)}),[a,t,n]),(0,o.useMemo)((()=>({colorMode:r,setColorMode:a,get isDarkTheme(){return r===p.dark},setLightTheme(){a(p.light)},setDarkTheme(){a(p.dark)}})),[r,a])}();return(0,l.jsx)(c.Provider,{value:n,children:t})}function y(){const e=(0,o.useContext)(c);if(null==e)throw new i.i6("ColorModeProvider","Please see https://docusaurus.io/docs/api/themes/configuration#use-color-mode.");return e}},373:(e,t,n)=>{"use strict";n.d(t,{J:()=>v,L5:()=>y});var o=n(7294),r=n(4104),i=n(9935),a=n(6668),s=n(2802),l=n(902),c=n(12),u=n(5893);const d=e=>`docs-preferred-version-${e}`,p={save:(e,t,n)=>{(0,c.WA)(d(e),{persistence:t}).set(n)},read:(e,t)=>(0,c.WA)(d(e),{persistence:t}).get(),clear:(e,t)=>{(0,c.WA)(d(e),{persistence:t}).del()}},f=e=>Object.fromEntries(e.map((e=>[e,{preferredVersionName:null}])));const g=o.createContext(null);function m(){const e=(0,r._r)(),t=(0,a.L)().docs.versionPersistence,n=(0,o.useMemo)((()=>Object.keys(e)),[e]),[i,s]=(0,o.useState)((()=>f(n)));(0,o.useEffect)((()=>{s(function(e){let{pluginIds:t,versionPersistence:n,allDocsData:o}=e;function r(e){const t=p.read(e,n);return o[e].versions.some((e=>e.name===t))?{preferredVersionName:t}:(p.clear(e,n),{preferredVersionName:null})}return Object.fromEntries(t.map((e=>[e,r(e)])))}({allDocsData:e,versionPersistence:t,pluginIds:n}))}),[e,t,n]);return[i,(0,o.useMemo)((()=>({savePreferredVersion:function(e,n){p.save(e,t,n),s((t=>({...t,[e]:{preferredVersionName:n}})))}})),[t])]}function h(e){let{children:t}=e;const n=m();return(0,u.jsx)(g.Provider,{value:n,children:t})}function y(e){let{children:t}=e;return s.cE?(0,u.jsx)(h,{children:t}):(0,u.jsx)(u.Fragment,{children:t})}function b(){const e=(0,o.useContext)(g);if(!e)throw new l.i6("DocsPreferredVersionContextProvider");return e}function v(e){void 0===e&&(e=i.m);const t=(0,r.zh)(e),[n,a]=b(),{preferredVersionName:s}=n[e];return{preferredVersion:t.versions.find((e=>e.name===s))??null,savePreferredVersionName:(0,o.useCallback)((t=>{a.savePreferredVersion(e,t)}),[a,e])}}},1116:(e,t,n)=>{"use strict";n.d(t,{V:()=>c,b:()=>l});var o=n(7294),r=n(902),i=n(5893);const a=Symbol("EmptyContext"),s=o.createContext(a);function l(e){let{children:t,name:n,items:r}=e;const a=(0,o.useMemo)((()=>n&&r?{name:n,items:r}:null),[n,r]);return(0,i.jsx)(s.Provider,{value:a,children:t})}function c(){const e=(0,o.useContext)(s);if(e===a)throw new r.i6("DocsSidebarProvider");return e}},4477:(e,t,n)=>{"use strict";n.d(t,{E:()=>l,q:()=>s});var o=n(7294),r=n(902),i=n(5893);const a=o.createContext(null);function s(e){let{children:t,version:n}=e;return(0,i.jsx)(a.Provider,{value:n,children:t})}function l(){const e=(0,o.useContext)(a);if(null===e)throw new r.i6("DocsVersionProvider");return e}},2961:(e,t,n)=>{"use strict";n.d(t,{M:()=>f,e:()=>g});var o=n(7294),r=n(3102),i=n(7524),a=n(6550),s=n(902);function l(e){!function(e){const t=(0,a.k6)(),n=(0,s.zX)(e);(0,o.useEffect)((()=>t.block(((e,t)=>n(e,t)))),[t,n])}(((t,n)=>{if("POP"===n)return e(t,n)}))}var c=n(6668),u=n(5893);const d=o.createContext(void 0);function p(){const e=function(){const e=(0,r.HY)(),{items:t}=(0,c.L)().navbar;return 0===t.length&&!e.component}(),t=(0,i.i)(),n=!e&&"mobile"===t,[a,s]=(0,o.useState)(!1);l((()=>{if(a)return s(!1),!1}));const u=(0,o.useCallback)((()=>{s((e=>!e))}),[]);return(0,o.useEffect)((()=>{"desktop"===t&&s(!1)}),[t]),(0,o.useMemo)((()=>({disabled:e,shouldRender:n,toggle:u,shown:a})),[e,n,u,a])}function f(e){let{children:t}=e;const n=p();return(0,u.jsx)(d.Provider,{value:n,children:t})}function g(){const e=o.useContext(d);if(void 0===e)throw new s.i6("NavbarMobileSidebarProvider");return e}},3102:(e,t,n)=>{"use strict";n.d(t,{HY:()=>l,Zo:()=>c,n2:()=>s});var o=n(7294),r=n(902),i=n(5893);const a=o.createContext(null);function s(e){let{children:t}=e;const n=(0,o.useState)({component:null,props:null});return(0,i.jsx)(a.Provider,{value:n,children:t})}function l(){const e=(0,o.useContext)(a);if(!e)throw new r.i6("NavbarSecondaryMenuContentProvider");return e[0]}function c(e){let{component:t,props:n}=e;const i=(0,o.useContext)(a);if(!i)throw new r.i6("NavbarSecondaryMenuContentProvider");const[,s]=i,l=(0,r.Ql)(n);return(0,o.useEffect)((()=>{s({component:t,props:l})}),[s,t,l]),(0,o.useEffect)((()=>()=>s({component:null,props:null})),[s]),null}},9727:(e,t,n)=>{"use strict";n.d(t,{h:()=>r,t:()=>i});var o=n(7294);const r="navigation-with-keyboard";function i(){(0,o.useEffect)((()=>{function e(e){"keydown"===e.type&&"Tab"===e.key&&document.body.classList.add(r),"mousedown"===e.type&&document.body.classList.remove(r)}return document.addEventListener("keydown",e),document.addEventListener("mousedown",e),()=>{document.body.classList.remove(r),document.removeEventListener("keydown",e),document.removeEventListener("mousedown",e)}}),[])}},7524:(e,t,n)=>{"use strict";n.d(t,{i:()=>s});var o=n(7294),r=n(412);const i={desktop:"desktop",mobile:"mobile",ssr:"ssr"},a=996;function s(e){let{desktopBreakpoint:t=a}=void 0===e?{}:e;const[n,s]=(0,o.useState)((()=>"ssr"));return(0,o.useEffect)((()=>{function e(){s(function(e){if(!r.Z.canUseDOM)throw new Error("getWindowSize() should only be called after React hydration");return window.innerWidth>e?i.desktop:i.mobile}(t))}return e(),window.addEventListener("resize",e),()=>{window.removeEventListener("resize",e)}}),[t]),n}},5281:(e,t,n)=>{"use strict";n.d(t,{k:()=>o});const o={page:{blogListPage:"blog-list-page",blogPostPage:"blog-post-page",blogTagsListPage:"blog-tags-list-page",blogTagPostListPage:"blog-tags-post-list-page",docsDocPage:"docs-doc-page",docsTagsListPage:"docs-tags-list-page",docsTagDocListPage:"docs-tags-doc-list-page",mdxPage:"mdx-page"},wrapper:{main:"main-wrapper",blogPages:"blog-wrapper",docsPages:"docs-wrapper",mdxPages:"mdx-wrapper"},common:{editThisPage:"theme-edit-this-page",lastUpdated:"theme-last-updated",backToTopButton:"theme-back-to-top-button",codeBlock:"theme-code-block",admonition:"theme-admonition",unlistedBanner:"theme-unlisted-banner",admonitionType:e=>`theme-admonition-${e}`},layout:{},docs:{docVersionBanner:"theme-doc-version-banner",docVersionBadge:"theme-doc-version-badge",docBreadcrumbs:"theme-doc-breadcrumbs",docMarkdown:"theme-doc-markdown",docTocMobile:"theme-doc-toc-mobile",docTocDesktop:"theme-doc-toc-desktop",docFooter:"theme-doc-footer",docFooterTagsRow:"theme-doc-footer-tags-row",docFooterEditMetaRow:"theme-doc-footer-edit-meta-row",docSidebarContainer:"theme-doc-sidebar-container",docSidebarMenu:"theme-doc-sidebar-menu",docSidebarItemCategory:"theme-doc-sidebar-item-category",docSidebarItemLink:"theme-doc-sidebar-item-link",docSidebarItemCategoryLevel:e=>`theme-doc-sidebar-item-category-level-${e}`,docSidebarItemLinkLevel:e=>`theme-doc-sidebar-item-link-level-${e}`},blog:{}}},1442:(e,t,n)=>{"use strict";function o(){return window.matchMedia("(prefers-reduced-motion: reduce)").matches}n.d(t,{n:()=>o})},2802:(e,t,n)=>{"use strict";n.d(t,{MN:()=>T,LM:()=>g,_F:()=>b,cE:()=>p,jA:()=>m,xz:()=>f,SN:()=>C,lO:()=>k,vY:()=>E,oz:()=>_,s1:()=>S,f:()=>x});var o=n(7294),r=n(6550),i=n(8790),a=n(4104),s=n(373),l=n(4477),c=n(1116);function u(e){return Array.from(new Set(e))}var d=n(8596);const p=!!a._r;function f(e){const t=(0,l.E)();if(!e)return;const n=t.docs[e];if(!n)throw new Error(`no version doc found by id=${e}`);return n}function g(e){return"link"!==e.type||e.unlisted?"category"===e.type?function(e){if(e.href&&!e.linkUnlisted)return e.href;for(const t of e.items){const e=g(t);if(e)return e}}(e):void 0:e.href}function m(){const{pathname:e}=(0,r.TH)(),t=(0,c.V)();if(!t)throw new Error("Unexpected: cant find current sidebar in context");const n=w({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}const h=(e,t)=>void 0!==e&&(0,d.Mg)(e,t),y=(e,t)=>e.some((e=>b(e,t)));function b(e,t){return"link"===e.type?h(e.href,t):"category"===e.type&&(h(e.href,t)||y(e.items,t))}function v(e,t){switch(e.type){case"category":return b(e,t)||e.items.some((e=>v(e,t)));case"link":return!e.unlisted||b(e,t);default:return!0}}function x(e,t){return(0,o.useMemo)((()=>e.filter((e=>v(e,t)))),[e,t])}function w(e){let{sidebarItems:t,pathname:n,onlyCategories:o=!1}=e;const r=[];return function e(t){for(const i of t)if("category"===i.type&&((0,d.Mg)(i.href,n)||e(i.items))||"link"===i.type&&(0,d.Mg)(i.href,n)){return o&&"category"!==i.type||r.unshift(i),!0}return!1}(t),r}function S(){const e=(0,c.V)(),{pathname:t}=(0,r.TH)(),n=(0,a.gA)()?.pluginData.breadcrumbs;return!1!==n&&e?w({sidebarItems:e.items,pathname:t}):null}function k(e){const{activeVersion:t}=(0,a.Iw)(e),{preferredVersion:n}=(0,s.J)(e),r=(0,a.yW)(e);return(0,o.useMemo)((()=>u([t,n,r].filter(Boolean))),[t,n,r])}function _(e,t){const n=k(t);return(0,o.useMemo)((()=>{const t=n.flatMap((e=>e.sidebars?Object.entries(e.sidebars):[])),o=t.find((t=>t[0]===e));if(!o)throw new Error(`Can't find any sidebar with id "${e}" in version${n.length>1?"s":""} ${n.map((e=>e.name)).join(", ")}".\nAvailable sidebar ids are:\n- ${t.map((e=>e[0])).join("\n- ")}`);return o[1]}),[e,n])}function E(e,t){const n=k(t);return(0,o.useMemo)((()=>{const t=n.flatMap((e=>e.docs)),o=t.find((t=>t.id===e));if(!o){if(n.flatMap((e=>e.draftIds)).includes(e))return null;throw new Error(`Couldn't find any doc with id "${e}" in version${n.length>1?"s":""} "${n.map((e=>e.name)).join(", ")}".\nAvailable doc ids are:\n- ${u(t.map((e=>e.id))).join("\n- ")}`)}return o}),[e,n])}function C(e){let{route:t}=e;const n=(0,r.TH)(),o=(0,l.E)(),a=t.routes,s=a.find((e=>(0,r.LX)(n.pathname,e)));if(!s)return null;const c=s.sidebar,u=c?o.docsSidebars[c]:void 0;return{docElement:(0,i.H)(a),sidebarName:c,sidebarItems:u}}function T(e){return e.filter((e=>!("category"===e.type||"link"===e.type)||!!g(e)))}},1944:(e,t,n)=>{"use strict";n.d(t,{FG:()=>f,d:()=>d,VC:()=>g});var o=n(7294),r=n(512),i=n(5742),a=n(226);function s(){const e=o.useContext(a._);if(!e)throw new Error("Unexpected: no Docusaurus route context found");return e}var l=n(4996),c=n(2263);var u=n(5893);function d(e){let{title:t,description:n,keywords:o,image:r,children:a}=e;const s=function(e){const{siteConfig:t}=(0,c.Z)(),{title:n,titleDelimiter:o}=t;return e?.trim().length?`${e.trim()} ${o} ${n}`:n}(t),{withBaseUrl:d}=(0,l.C)(),p=r?d(r,{absolute:!0}):void 0;return(0,u.jsxs)(i.Z,{children:[t&&(0,u.jsx)("title",{children:s}),t&&(0,u.jsx)("meta",{property:"og:title",content:s}),n&&(0,u.jsx)("meta",{name:"description",content:n}),n&&(0,u.jsx)("meta",{property:"og:description",content:n}),o&&(0,u.jsx)("meta",{name:"keywords",content:Array.isArray(o)?o.join(","):o}),p&&(0,u.jsx)("meta",{property:"og:image",content:p}),p&&(0,u.jsx)("meta",{name:"twitter:image",content:p}),a]})}const p=o.createContext(void 0);function f(e){let{className:t,children:n}=e;const a=o.useContext(p),s=(0,r.Z)(a,t);return(0,u.jsxs)(p.Provider,{value:s,children:[(0,u.jsx)(i.Z,{children:(0,u.jsx)("html",{className:s})}),n]})}function g(e){let{children:t}=e;const n=s(),o=`plugin-${n.plugin.name.replace(/docusaurus-(?:plugin|theme)-(?:content-)?/gi,"")}`;const i=`plugin-id-${n.plugin.id}`;return(0,u.jsx)(f,{className:(0,r.Z)(o,i),children:t})}},902:(e,t,n)=>{"use strict";n.d(t,{D9:()=>s,Qc:()=>u,Ql:()=>c,i6:()=>l,zX:()=>a});var o=n(7294),r=n(469),i=n(5893);function a(e){const t=(0,o.useRef)(e);return(0,r.Z)((()=>{t.current=e}),[e]),(0,o.useCallback)((function(){return t.current(...arguments)}),[])}function s(e){const t=(0,o.useRef)();return(0,r.Z)((()=>{t.current=e})),t.current}class l extends Error{constructor(e,t){super(),this.name="ReactContextError",this.message=`Hook ${this.stack?.split("\n")[1]?.match(/at (?:\w+\.)?(?\w+)/)?.groups.name??""} is called outside the <${e}>. ${t??""}`}}function c(e){const t=Object.entries(e);return t.sort(((e,t)=>e[0].localeCompare(t[0]))),(0,o.useMemo)((()=>e),t.flat())}function u(e){return t=>{let{children:n}=t;return(0,i.jsx)(i.Fragment,{children:e.reduceRight(((e,t)=>(0,i.jsx)(t,{children:e})),n)})}}},8596:(e,t,n)=>{"use strict";n.d(t,{Mg:()=>a,Ns:()=>s});var o=n(7294),r=n(723),i=n(2263);function a(e,t){const n=e=>(!e||e.endsWith("/")?e:`${e}/`)?.toLowerCase();return n(e)===n(t)}function s(){const{baseUrl:e}=(0,i.Z)().siteConfig;return(0,o.useMemo)((()=>function(e){let{baseUrl:t,routes:n}=e;function o(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;return t.find(o)||e(t.filter(r).flatMap((e=>e.routes??[])))}(n)}({routes:r.Z,baseUrl:e})),[e])}},2466:(e,t,n)=>{"use strict";n.d(t,{Ct:()=>f,OC:()=>c,RF:()=>p});var o=n(7294),r=n(412),i=n(2389),a=(n(469),n(902)),s=n(5893);const l=o.createContext(void 0);function c(e){let{children:t}=e;const n=function(){const e=(0,o.useRef)(!0);return(0,o.useMemo)((()=>({scrollEventsEnabledRef:e,enableScrollEvents:()=>{e.current=!0},disableScrollEvents:()=>{e.current=!1}})),[])}();return(0,s.jsx)(l.Provider,{value:n,children:t})}function u(){const e=(0,o.useContext)(l);if(null==e)throw new a.i6("ScrollControllerProvider");return e}const d=()=>r.Z.canUseDOM?{scrollX:window.pageXOffset,scrollY:window.pageYOffset}:null;function p(e,t){void 0===t&&(t=[]);const{scrollEventsEnabledRef:n}=u(),r=(0,o.useRef)(d()),i=(0,a.zX)(e);(0,o.useEffect)((()=>{const e=()=>{if(!n.current)return;const e=d();i(e,r.current),r.current=e},t={passive:!0};return e(),window.addEventListener("scroll",e,t),()=>window.removeEventListener("scroll",e,t)}),[i,n,...t])}function f(){const e=(0,o.useRef)(null),t=(0,i.Z)()&&"smooth"===getComputedStyle(document.documentElement).scrollBehavior;return{startScroll:n=>{e.current=t?function(e){return window.scrollTo({top:e,behavior:"smooth"}),()=>{}}(n):function(e){let t=null;const n=document.documentElement.scrollTop>e;return function o(){const r=document.documentElement.scrollTop;(n&&r>e||!n&&rt&&cancelAnimationFrame(t)}(n)},cancelScroll:()=>e.current?.()}}},3320:(e,t,n)=>{"use strict";n.d(t,{HX:()=>o,os:()=>r});n(2263);const o="default";function r(e,t){return`docs-${e}-${t}`}},12:(e,t,n)=>{"use strict";n.d(t,{WA:()=>l});n(7294);const o="localStorage";function r(e){let{key:t,oldValue:n,newValue:o,storage:r}=e;if(n===o)return;const i=document.createEvent("StorageEvent");i.initStorageEvent("storage",!1,!1,t,n,o,window.location.href,r),window.dispatchEvent(i)}function i(e){if(void 0===e&&(e=o),"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,a||(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),a=!0),null}var t}let a=!1;const s={get:()=>null,set:()=>{},del:()=>{},listen:()=>()=>{}};function l(e,t){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}}(e);const n=i(t?.persistence);return null===n?s:{get:()=>{try{return n.getItem(e)}catch(t){return console.error(`Docusaurus storage error, can't get key=${e}`,t),null}},set:t=>{try{const o=n.getItem(e);n.setItem(e,t),r({key:e,oldValue:o,newValue:t,storage:n})}catch(o){console.error(`Docusaurus storage error, can't set ${e}=${t}`,o)}},del:()=>{try{const t=n.getItem(e);n.removeItem(e),r({key:e,oldValue:t,newValue:null,storage:n})}catch(t){console.error(`Docusaurus storage error, can't delete key=${e}`,t)}},listen:t=>{try{const o=o=>{o.storageArea===n&&o.key===e&&t(o)};return window.addEventListener("storage",o),()=>window.removeEventListener("storage",o)}catch(o){return console.error(`Docusaurus storage error, can't listen for changes of key=${e}`,o),()=>{}}}}}},4711:(e,t,n)=>{"use strict";n.d(t,{l:()=>a});var o=n(2263),r=n(6550),i=n(8780);function a(){const{siteConfig:{baseUrl:e,url:t,trailingSlash:n},i18n:{defaultLocale:a,currentLocale:s}}=(0,o.Z)(),{pathname:l}=(0,r.TH)(),c=(0,i.applyTrailingSlash)(l,{trailingSlash:n,baseUrl:e}),u=s===a?e:e.replace(`/${s}/`,"/"),d=c.replace(e,"");return{createUrl:function(e){let{locale:n,fullyQualified:o}=e;return`${o?t:""}${function(e){return e===a?`${u}`:`${u}${e}/`}(n)}${d}`}}}},5936:(e,t,n)=>{"use strict";n.d(t,{S:()=>a});var o=n(7294),r=n(6550),i=n(902);function a(e){const t=(0,r.TH)(),n=(0,i.D9)(t),a=(0,i.zX)(e);(0,o.useEffect)((()=>{n&&t!==n&&a({location:t,previousLocation:n})}),[a,t,n])}},6668:(e,t,n)=>{"use strict";n.d(t,{L:()=>r});var o=n(2263);function r(){return(0,o.Z)().siteConfig.themeConfig}},8802:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){const{trailingSlash:n,baseUrl:o}=t;if(e.startsWith("#"))return e;if(void 0===n)return e;const[r]=e.split(/[#?]/),i="/"===r||r===o?r:(a=r,n?function(e){return e.endsWith("/")?e:`${e}/`}(a):function(e){return e.endsWith("/")?e.slice(0,-1):e}(a));var a;return e.replace(r,i)}},4143:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getErrorCausalChain=void 0,t.getErrorCausalChain=function e(t){return t.cause?[t,...e(t.cause)]:[t]}},8780:function(e,t,n){"use strict";var o=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.getErrorCausalChain=t.applyTrailingSlash=t.blogPostContainerID=void 0,t.blogPostContainerID="__blog-post-container";var r=n(8802);Object.defineProperty(t,"applyTrailingSlash",{enumerable:!0,get:function(){return o(r).default}});var i=n(4143);Object.defineProperty(t,"getErrorCausalChain",{enumerable:!0,get:function(){return i.getErrorCausalChain}})},9318:(e,t,n)=>{"use strict";n.d(t,{lX:()=>x,q_:()=>C,ob:()=>f,PP:()=>j,Ep:()=>p});var o=n(7462);function r(e){return"/"===e.charAt(0)}function i(e,t){for(var n=t,o=n+1,r=e.length;o=0;p--){var f=a[p];"."===f?i(a,p):".."===f?(i(a,p),d++):d&&(i(a,p),d--)}if(!c)for(;d--;d)a.unshift("..");!c||""===a[0]||a[0]&&r(a[0])||a.unshift("");var g=a.join("/");return n&&"/"!==g.substr(-1)&&(g+="/"),g};var s=n(8776);function l(e){return"/"===e.charAt(0)?e:"/"+e}function c(e){return"/"===e.charAt(0)?e.substr(1):e}function u(e,t){return function(e,t){return 0===e.toLowerCase().indexOf(t.toLowerCase())&&-1!=="/?#".indexOf(e.charAt(t.length))}(e,t)?e.substr(t.length):e}function d(e){return"/"===e.charAt(e.length-1)?e.slice(0,-1):e}function p(e){var t=e.pathname,n=e.search,o=e.hash,r=t||"/";return n&&"?"!==n&&(r+="?"===n.charAt(0)?n:"?"+n),o&&"#"!==o&&(r+="#"===o.charAt(0)?o:"#"+o),r}function f(e,t,n,r){var i;"string"==typeof e?(i=function(e){var t=e||"/",n="",o="",r=t.indexOf("#");-1!==r&&(o=t.substr(r),t=t.substr(0,r));var i=t.indexOf("?");return-1!==i&&(n=t.substr(i),t=t.substr(0,i)),{pathname:t,search:"?"===n?"":n,hash:"#"===o?"":o}}(e),i.state=t):(void 0===(i=(0,o.Z)({},e)).pathname&&(i.pathname=""),i.search?"?"!==i.search.charAt(0)&&(i.search="?"+i.search):i.search="",i.hash?"#"!==i.hash.charAt(0)&&(i.hash="#"+i.hash):i.hash="",void 0!==t&&void 0===i.state&&(i.state=t));try{i.pathname=decodeURI(i.pathname)}catch(s){throw s instanceof URIError?new URIError('Pathname "'+i.pathname+'" could not be decoded. This is likely caused by an invalid percent-encoding.'):s}return n&&(i.key=n),r?i.pathname?"/"!==i.pathname.charAt(0)&&(i.pathname=a(i.pathname,r.pathname)):i.pathname=r.pathname:i.pathname||(i.pathname="/"),i}function g(){var e=null;var t=[];return{setPrompt:function(t){return e=t,function(){e===t&&(e=null)}},confirmTransitionTo:function(t,n,o,r){if(null!=e){var i="function"==typeof e?e(t,n):e;"string"==typeof i?"function"==typeof o?o(i,r):r(!0):r(!1!==i)}else r(!0)},appendListener:function(e){var n=!0;function o(){n&&e.apply(void 0,arguments)}return t.push(o),function(){n=!1,t=t.filter((function(e){return e!==o}))}},notifyListeners:function(){for(var e=arguments.length,n=new Array(e),o=0;ot?n.splice(t,n.length-t,r):n.push(r),d({action:o,location:r,index:t,entries:n})}}))},replace:function(e,t){var o="REPLACE",r=f(e,t,m(),x.location);u.confirmTransitionTo(r,o,n,(function(e){e&&(x.entries[x.index]=r,d({action:o,location:r}))}))},go:v,goBack:function(){v(-1)},goForward:function(){v(1)},canGo:function(e){var t=x.index+e;return t>=0&&t{"use strict";var o=n(9864),r={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},i={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},a={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},s={};function l(e){return o.isMemo(e)?a:s[e.$$typeof]||r}s[o.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},s[o.Memo]=a;var c=Object.defineProperty,u=Object.getOwnPropertyNames,d=Object.getOwnPropertySymbols,p=Object.getOwnPropertyDescriptor,f=Object.getPrototypeOf,g=Object.prototype;e.exports=function e(t,n,o){if("string"!=typeof n){if(g){var r=f(n);r&&r!==g&&e(t,r,o)}var a=u(n);d&&(a=a.concat(d(n)));for(var s=l(t),m=l(n),h=0;h{"use strict";e.exports=function(e,t,n,o,r,i,a,s){if(!e){var l;if(void 0===t)l=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var c=[n,o,r,i,a,s],u=0;(l=new Error(t.replace(/%s/g,(function(){return c[u++]})))).name="Invariant Violation"}throw l.framesToPop=1,l}}},5826:e=>{e.exports=Array.isArray||function(e){return"[object Array]"==Object.prototype.toString.call(e)}},813:function(e){e.exports=function(){"use strict";var e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},t=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")},n=function(){function e(e,t){for(var n=0;n1&&void 0!==arguments[1])||arguments[1],r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:5e3;t(this,e),this.ctx=n,this.iframes=o,this.exclude=r,this.iframesTimeout=i}return n(e,[{key:"getContexts",value:function(){var e=[];return(void 0!==this.ctx&&this.ctx?NodeList.prototype.isPrototypeOf(this.ctx)?Array.prototype.slice.call(this.ctx):Array.isArray(this.ctx)?this.ctx:"string"==typeof this.ctx?Array.prototype.slice.call(document.querySelectorAll(this.ctx)):[this.ctx]:[]).forEach((function(t){var n=e.filter((function(e){return e.contains(t)})).length>0;-1!==e.indexOf(t)||n||e.push(t)})),e}},{key:"getIframeContents",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:function(){},o=void 0;try{var r=e.contentWindow;if(o=r.document,!r||!o)throw new Error("iframe inaccessible")}catch(i){n()}o&&t(o)}},{key:"isIframeBlank",value:function(e){var t="about:blank",n=e.getAttribute("src").trim();return e.contentWindow.location.href===t&&n!==t&&n}},{key:"observeIframeLoad",value:function(e,t,n){var o=this,r=!1,i=null,a=function a(){if(!r){r=!0,clearTimeout(i);try{o.isIframeBlank(e)||(e.removeEventListener("load",a),o.getIframeContents(e,t,n))}catch(s){n()}}};e.addEventListener("load",a),i=setTimeout(a,this.iframesTimeout)}},{key:"onIframeReady",value:function(e,t,n){try{"complete"===e.contentWindow.document.readyState?this.isIframeBlank(e)?this.observeIframeLoad(e,t,n):this.getIframeContents(e,t,n):this.observeIframeLoad(e,t,n)}catch(o){n()}}},{key:"waitForIframes",value:function(e,t){var n=this,o=0;this.forEachIframe(e,(function(){return!0}),(function(e){o++,n.waitForIframes(e.querySelector("html"),(function(){--o||t()}))}),(function(e){e||t()}))}},{key:"forEachIframe",value:function(t,n,o){var r=this,i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:function(){},a=t.querySelectorAll("iframe"),s=a.length,l=0;a=Array.prototype.slice.call(a);var c=function(){--s<=0&&i(l)};s||c(),a.forEach((function(t){e.matches(t,r.exclude)?c():r.onIframeReady(t,(function(e){n(t)&&(l++,o(e)),c()}),c)}))}},{key:"createIterator",value:function(e,t,n){return document.createNodeIterator(e,t,n,!1)}},{key:"createInstanceOnIframe",value:function(t){return new e(t.querySelector("html"),this.iframes)}},{key:"compareNodeIframe",value:function(e,t,n){if(e.compareDocumentPosition(n)&Node.DOCUMENT_POSITION_PRECEDING){if(null===t)return!0;if(t.compareDocumentPosition(n)&Node.DOCUMENT_POSITION_FOLLOWING)return!0}return!1}},{key:"getIteratorNode",value:function(e){var t=e.previousNode();return{prevNode:t,node:(null===t||e.nextNode())&&e.nextNode()}}},{key:"checkIframeFilter",value:function(e,t,n,o){var r=!1,i=!1;return o.forEach((function(e,t){e.val===n&&(r=t,i=e.handled)})),this.compareNodeIframe(e,t,n)?(!1!==r||i?!1===r||i||(o[r].handled=!0):o.push({val:n,handled:!0}),!0):(!1===r&&o.push({val:n,handled:!1}),!1)}},{key:"handleOpenIframes",value:function(e,t,n,o){var r=this;e.forEach((function(e){e.handled||r.getIframeContents(e.val,(function(e){r.createInstanceOnIframe(e).forEachNode(t,n,o)}))}))}},{key:"iterateThroughNodes",value:function(e,t,n,o,r){for(var i=this,a=this.createIterator(t,e,o),s=[],l=[],c=void 0,u=void 0,d=function(){var e=i.getIteratorNode(a);return u=e.prevNode,c=e.node};d();)this.iframes&&this.forEachIframe(t,(function(e){return i.checkIframeFilter(c,u,e,s)}),(function(t){i.createInstanceOnIframe(t).forEachNode(e,(function(e){return l.push(e)}),o)})),l.push(c);l.forEach((function(e){n(e)})),this.iframes&&this.handleOpenIframes(s,e,n,o),r()}},{key:"forEachNode",value:function(e,t,n){var o=this,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:function(){},i=this.getContexts(),a=i.length;a||r(),i.forEach((function(i){var s=function(){o.iterateThroughNodes(e,i,t,n,(function(){--a<=0&&r()}))};o.iframes?o.waitForIframes(i,s):s()}))}}],[{key:"matches",value:function(e,t){var n="string"==typeof t?[t]:t,o=e.matches||e.matchesSelector||e.msMatchesSelector||e.mozMatchesSelector||e.oMatchesSelector||e.webkitMatchesSelector;if(o){var r=!1;return n.every((function(t){return!o.call(e,t)||(r=!0,!1)})),r}return!1}}]),e}(),i=function(){function i(e){t(this,i),this.ctx=e,this.ie=!1;var n=window.navigator.userAgent;(n.indexOf("MSIE")>-1||n.indexOf("Trident")>-1)&&(this.ie=!0)}return n(i,[{key:"log",value:function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"debug",o=this.opt.log;this.opt.debug&&"object"===(void 0===o?"undefined":e(o))&&"function"==typeof o[n]&&o[n]("mark.js: "+t)}},{key:"escapeStr",value:function(e){return e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")}},{key:"createRegExp",value:function(e){return"disabled"!==this.opt.wildcards&&(e=this.setupWildcardsRegExp(e)),e=this.escapeStr(e),Object.keys(this.opt.synonyms).length&&(e=this.createSynonymsRegExp(e)),(this.opt.ignoreJoiners||this.opt.ignorePunctuation.length)&&(e=this.setupIgnoreJoinersRegExp(e)),this.opt.diacritics&&(e=this.createDiacriticsRegExp(e)),e=this.createMergedBlanksRegExp(e),(this.opt.ignoreJoiners||this.opt.ignorePunctuation.length)&&(e=this.createJoinersRegExp(e)),"disabled"!==this.opt.wildcards&&(e=this.createWildcardsRegExp(e)),e=this.createAccuracyRegExp(e)}},{key:"createSynonymsRegExp",value:function(e){var t=this.opt.synonyms,n=this.opt.caseSensitive?"":"i",o=this.opt.ignoreJoiners||this.opt.ignorePunctuation.length?"\0":"";for(var r in t)if(t.hasOwnProperty(r)){var i=t[r],a="disabled"!==this.opt.wildcards?this.setupWildcardsRegExp(r):this.escapeStr(r),s="disabled"!==this.opt.wildcards?this.setupWildcardsRegExp(i):this.escapeStr(i);""!==a&&""!==s&&(e=e.replace(new RegExp("("+this.escapeStr(a)+"|"+this.escapeStr(s)+")","gm"+n),o+"("+this.processSynomyms(a)+"|"+this.processSynomyms(s)+")"+o))}return e}},{key:"processSynomyms",value:function(e){return(this.opt.ignoreJoiners||this.opt.ignorePunctuation.length)&&(e=this.setupIgnoreJoinersRegExp(e)),e}},{key:"setupWildcardsRegExp",value:function(e){return(e=e.replace(/(?:\\)*\?/g,(function(e){return"\\"===e.charAt(0)?"?":"\x01"}))).replace(/(?:\\)*\*/g,(function(e){return"\\"===e.charAt(0)?"*":"\x02"}))}},{key:"createWildcardsRegExp",value:function(e){var t="withSpaces"===this.opt.wildcards;return e.replace(/\u0001/g,t?"[\\S\\s]?":"\\S?").replace(/\u0002/g,t?"[\\S\\s]*?":"\\S*")}},{key:"setupIgnoreJoinersRegExp",value:function(e){return e.replace(/[^(|)\\]/g,(function(e,t,n){var o=n.charAt(t+1);return/[(|)\\]/.test(o)||""===o?e:e+"\0"}))}},{key:"createJoinersRegExp",value:function(e){var t=[],n=this.opt.ignorePunctuation;return Array.isArray(n)&&n.length&&t.push(this.escapeStr(n.join(""))),this.opt.ignoreJoiners&&t.push("\\u00ad\\u200b\\u200c\\u200d"),t.length?e.split(/\u0000+/).join("["+t.join("")+"]*"):e}},{key:"createDiacriticsRegExp",value:function(e){var t=this.opt.caseSensitive?"":"i",n=this.opt.caseSensitive?["a\xe0\xe1\u1ea3\xe3\u1ea1\u0103\u1eb1\u1eaf\u1eb3\u1eb5\u1eb7\xe2\u1ea7\u1ea5\u1ea9\u1eab\u1ead\xe4\xe5\u0101\u0105","A\xc0\xc1\u1ea2\xc3\u1ea0\u0102\u1eb0\u1eae\u1eb2\u1eb4\u1eb6\xc2\u1ea6\u1ea4\u1ea8\u1eaa\u1eac\xc4\xc5\u0100\u0104","c\xe7\u0107\u010d","C\xc7\u0106\u010c","d\u0111\u010f","D\u0110\u010e","e\xe8\xe9\u1ebb\u1ebd\u1eb9\xea\u1ec1\u1ebf\u1ec3\u1ec5\u1ec7\xeb\u011b\u0113\u0119","E\xc8\xc9\u1eba\u1ebc\u1eb8\xca\u1ec0\u1ebe\u1ec2\u1ec4\u1ec6\xcb\u011a\u0112\u0118","i\xec\xed\u1ec9\u0129\u1ecb\xee\xef\u012b","I\xcc\xcd\u1ec8\u0128\u1eca\xce\xcf\u012a","l\u0142","L\u0141","n\xf1\u0148\u0144","N\xd1\u0147\u0143","o\xf2\xf3\u1ecf\xf5\u1ecd\xf4\u1ed3\u1ed1\u1ed5\u1ed7\u1ed9\u01a1\u1edf\u1ee1\u1edb\u1edd\u1ee3\xf6\xf8\u014d","O\xd2\xd3\u1ece\xd5\u1ecc\xd4\u1ed2\u1ed0\u1ed4\u1ed6\u1ed8\u01a0\u1ede\u1ee0\u1eda\u1edc\u1ee2\xd6\xd8\u014c","r\u0159","R\u0158","s\u0161\u015b\u0219\u015f","S\u0160\u015a\u0218\u015e","t\u0165\u021b\u0163","T\u0164\u021a\u0162","u\xf9\xfa\u1ee7\u0169\u1ee5\u01b0\u1eeb\u1ee9\u1eed\u1eef\u1ef1\xfb\xfc\u016f\u016b","U\xd9\xda\u1ee6\u0168\u1ee4\u01af\u1eea\u1ee8\u1eec\u1eee\u1ef0\xdb\xdc\u016e\u016a","y\xfd\u1ef3\u1ef7\u1ef9\u1ef5\xff","Y\xdd\u1ef2\u1ef6\u1ef8\u1ef4\u0178","z\u017e\u017c\u017a","Z\u017d\u017b\u0179"]:["a\xe0\xe1\u1ea3\xe3\u1ea1\u0103\u1eb1\u1eaf\u1eb3\u1eb5\u1eb7\xe2\u1ea7\u1ea5\u1ea9\u1eab\u1ead\xe4\xe5\u0101\u0105A\xc0\xc1\u1ea2\xc3\u1ea0\u0102\u1eb0\u1eae\u1eb2\u1eb4\u1eb6\xc2\u1ea6\u1ea4\u1ea8\u1eaa\u1eac\xc4\xc5\u0100\u0104","c\xe7\u0107\u010dC\xc7\u0106\u010c","d\u0111\u010fD\u0110\u010e","e\xe8\xe9\u1ebb\u1ebd\u1eb9\xea\u1ec1\u1ebf\u1ec3\u1ec5\u1ec7\xeb\u011b\u0113\u0119E\xc8\xc9\u1eba\u1ebc\u1eb8\xca\u1ec0\u1ebe\u1ec2\u1ec4\u1ec6\xcb\u011a\u0112\u0118","i\xec\xed\u1ec9\u0129\u1ecb\xee\xef\u012bI\xcc\xcd\u1ec8\u0128\u1eca\xce\xcf\u012a","l\u0142L\u0141","n\xf1\u0148\u0144N\xd1\u0147\u0143","o\xf2\xf3\u1ecf\xf5\u1ecd\xf4\u1ed3\u1ed1\u1ed5\u1ed7\u1ed9\u01a1\u1edf\u1ee1\u1edb\u1edd\u1ee3\xf6\xf8\u014dO\xd2\xd3\u1ece\xd5\u1ecc\xd4\u1ed2\u1ed0\u1ed4\u1ed6\u1ed8\u01a0\u1ede\u1ee0\u1eda\u1edc\u1ee2\xd6\xd8\u014c","r\u0159R\u0158","s\u0161\u015b\u0219\u015fS\u0160\u015a\u0218\u015e","t\u0165\u021b\u0163T\u0164\u021a\u0162","u\xf9\xfa\u1ee7\u0169\u1ee5\u01b0\u1eeb\u1ee9\u1eed\u1eef\u1ef1\xfb\xfc\u016f\u016bU\xd9\xda\u1ee6\u0168\u1ee4\u01af\u1eea\u1ee8\u1eec\u1eee\u1ef0\xdb\xdc\u016e\u016a","y\xfd\u1ef3\u1ef7\u1ef9\u1ef5\xffY\xdd\u1ef2\u1ef6\u1ef8\u1ef4\u0178","z\u017e\u017c\u017aZ\u017d\u017b\u0179"],o=[];return e.split("").forEach((function(r){n.every((function(n){if(-1!==n.indexOf(r)){if(o.indexOf(n)>-1)return!1;e=e.replace(new RegExp("["+n+"]","gm"+t),"["+n+"]"),o.push(n)}return!0}))})),e}},{key:"createMergedBlanksRegExp",value:function(e){return e.replace(/[\s]+/gim,"[\\s]+")}},{key:"createAccuracyRegExp",value:function(e){var t=this,n="!\"#$%&'()*+,-./:;<=>?@[\\]^_`{|}~\xa1\xbf",o=this.opt.accuracy,r="string"==typeof o?o:o.value,i="string"==typeof o?[]:o.limiters,a="";switch(i.forEach((function(e){a+="|"+t.escapeStr(e)})),r){case"partially":default:return"()("+e+")";case"complementary":return"()([^"+(a="\\s"+(a||this.escapeStr(n)))+"]*"+e+"[^"+a+"]*)";case"exactly":return"(^|\\s"+a+")("+e+")(?=$|\\s"+a+")"}}},{key:"getSeparatedKeywords",value:function(e){var t=this,n=[];return e.forEach((function(e){t.opt.separateWordSearch?e.split(" ").forEach((function(e){e.trim()&&-1===n.indexOf(e)&&n.push(e)})):e.trim()&&-1===n.indexOf(e)&&n.push(e)})),{keywords:n.sort((function(e,t){return t.length-e.length})),length:n.length}}},{key:"isNumeric",value:function(e){return Number(parseFloat(e))==e}},{key:"checkRanges",value:function(e){var t=this;if(!Array.isArray(e)||"[object Object]"!==Object.prototype.toString.call(e[0]))return this.log("markRanges() will only accept an array of objects"),this.opt.noMatch(e),[];var n=[],o=0;return e.sort((function(e,t){return e.start-t.start})).forEach((function(e){var r=t.callNoMatchOnInvalidRanges(e,o),i=r.start,a=r.end;r.valid&&(e.start=i,e.length=a-i,n.push(e),o=a)})),n}},{key:"callNoMatchOnInvalidRanges",value:function(e,t){var n=void 0,o=void 0,r=!1;return e&&void 0!==e.start?(o=(n=parseInt(e.start,10))+parseInt(e.length,10),this.isNumeric(e.start)&&this.isNumeric(e.length)&&o-t>0&&o-n>0?r=!0:(this.log("Ignoring invalid or overlapping range: "+JSON.stringify(e)),this.opt.noMatch(e))):(this.log("Ignoring invalid range: "+JSON.stringify(e)),this.opt.noMatch(e)),{start:n,end:o,valid:r}}},{key:"checkWhitespaceRanges",value:function(e,t,n){var o=void 0,r=!0,i=n.length,a=t-i,s=parseInt(e.start,10)-a;return(o=(s=s>i?i:s)+parseInt(e.length,10))>i&&(o=i,this.log("End range automatically set to the max value of "+i)),s<0||o-s<0||s>i||o>i?(r=!1,this.log("Invalid range: "+JSON.stringify(e)),this.opt.noMatch(e)):""===n.substring(s,o).replace(/\s+/g,"")&&(r=!1,this.log("Skipping whitespace only range: "+JSON.stringify(e)),this.opt.noMatch(e)),{start:s,end:o,valid:r}}},{key:"getTextNodes",value:function(e){var t=this,n="",o=[];this.iterator.forEachNode(NodeFilter.SHOW_TEXT,(function(e){o.push({start:n.length,end:(n+=e.textContent).length,node:e})}),(function(e){return t.matchesExclude(e.parentNode)?NodeFilter.FILTER_REJECT:NodeFilter.FILTER_ACCEPT}),(function(){e({value:n,nodes:o})}))}},{key:"matchesExclude",value:function(e){return r.matches(e,this.opt.exclude.concat(["script","style","title","head","html"]))}},{key:"wrapRangeInTextNode",value:function(e,t,n){var o=this.opt.element?this.opt.element:"mark",r=e.splitText(t),i=r.splitText(n-t),a=document.createElement(o);return a.setAttribute("data-markjs","true"),this.opt.className&&a.setAttribute("class",this.opt.className),a.textContent=r.textContent,r.parentNode.replaceChild(a,r),i}},{key:"wrapRangeInMappedTextNode",value:function(e,t,n,o,r){var i=this;e.nodes.every((function(a,s){var l=e.nodes[s+1];if(void 0===l||l.start>t){if(!o(a.node))return!1;var c=t-a.start,u=(n>a.end?a.end:n)-a.start,d=e.value.substr(0,a.start),p=e.value.substr(u+a.start);if(a.node=i.wrapRangeInTextNode(a.node,c,u),e.value=d+p,e.nodes.forEach((function(t,n){n>=s&&(e.nodes[n].start>0&&n!==s&&(e.nodes[n].start-=u),e.nodes[n].end-=u)})),n-=u,r(a.node.previousSibling,a.start),!(n>a.end))return!1;t=a.end}return!0}))}},{key:"wrapMatches",value:function(e,t,n,o,r){var i=this,a=0===t?0:t+1;this.getTextNodes((function(t){t.nodes.forEach((function(t){t=t.node;for(var r=void 0;null!==(r=e.exec(t.textContent))&&""!==r[a];)if(n(r[a],t)){var s=r.index;if(0!==a)for(var l=1;l{"use strict";n.r(t)},2295:(e,t,n)=>{"use strict";n.r(t)},4865:function(e,t,n){var o,r;o=function(){var e,t,n={version:"0.2.0"},o=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 r(e,t,n){return en?n:e}function i(e){return 100*(-1+e)}function a(e,t,n){var r;return(r="translate3d"===o.positionUsing?{transform:"translate3d("+i(e)+"%,0,0)"}:"translate"===o.positionUsing?{transform:"translate("+i(e)+"%,0)"}:{"margin-left":i(e)+"%"}).transition="all "+t+"ms "+n,r}n.configure=function(e){var t,n;for(t in e)void 0!==(n=e[t])&&e.hasOwnProperty(t)&&(o[t]=n);return this},n.status=null,n.set=function(e){var t=n.isStarted();e=r(e,o.minimum,1),n.status=1===e?null:e;var i=n.render(!t),c=i.querySelector(o.barSelector),u=o.speed,d=o.easing;return i.offsetWidth,s((function(t){""===o.positionUsing&&(o.positionUsing=n.getPositioningCSS()),l(c,a(e,u,d)),1===e?(l(i,{transition:"none",opacity:1}),i.offsetWidth,setTimeout((function(){l(i,{transition:"all "+u+"ms linear",opacity:0}),setTimeout((function(){n.remove(),t()}),u)}),u)):setTimeout(t,u)})),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())}),o.trickleSpeed)};return o.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)*r(Math.random()*t,.1,.95)),t=r(t+e,0,.994),n.set(t)):n.start()},n.trickle=function(){return n.inc(Math.random()*o.trickleRate)},e=0,t=0,n.promise=function(o){return o&&"resolved"!==o.state()?(0===t&&n.start(),e++,t++,o.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");u(document.documentElement,"nprogress-busy");var t=document.createElement("div");t.id="nprogress",t.innerHTML=o.template;var r,a=t.querySelector(o.barSelector),s=e?"-100":i(n.status||0),c=document.querySelector(o.parent);return l(a,{transition:"all 0 linear",transform:"translate3d("+s+"%,0,0)"}),o.showSpinner||(r=t.querySelector(o.spinnerSelector))&&f(r),c!=document.body&&u(c,"nprogress-custom-parent"),c.appendChild(t),t},n.remove=function(){d(document.documentElement,"nprogress-busy"),d(document.querySelector(o.parent),"nprogress-custom-parent");var e=document.getElementById("nprogress");e&&f(e)},n.isRendered=function(){return!!document.getElementById("nprogress")},n.getPositioningCSS=function(){var e=document.body.style,t="WebkitTransform"in e?"Webkit":"MozTransform"in e?"Moz":"msTransform"in e?"ms":"OTransform"in e?"O":"";return t+"Perspective"in e?"translate3d":t+"Transform"in e?"translate":"margin"};var s=function(){var e=[];function t(){var n=e.shift();n&&n(t)}return function(n){e.push(n),1==e.length&&t()}}(),l=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 o(t){var n=document.body.style;if(t in n)return t;for(var o,r=e.length,i=t.charAt(0).toUpperCase()+t.slice(1);r--;)if((o=e[r]+i)in n)return o;return t}function r(e){return e=n(e),t[e]||(t[e]=o(e))}function i(e,t,n){t=r(t),e.style[t]=n}return function(e,t){var n,o,r=arguments;if(2==r.length)for(n in t)void 0!==(o=t[n])&&t.hasOwnProperty(n)&&i(e,n,o);else i(e,r[1],r[2])}}();function c(e,t){return("string"==typeof e?e:p(e)).indexOf(" "+t+" ")>=0}function u(e,t){var n=p(e),o=n+t;c(n,t)||(e.className=o.substring(1))}function d(e,t){var n,o=p(e);c(e,t)&&(n=o.replace(" "+t+" "," "),e.className=n.substring(1,n.length-1))}function p(e){return(" "+(e.className||"")+" ").replace(/\s+/gi," ")}function f(e){e&&e.parentNode&&e.parentNode.removeChild(e)}return n},void 0===(r="function"==typeof o?o.call(t,n,t,e):o)||(e.exports=r)},4779:(e,t,n)=>{var o=n(5826);e.exports=f,e.exports.parse=i,e.exports.compile=function(e,t){return s(i(e,t),t)},e.exports.tokensToFunction=s,e.exports.tokensToRegExp=p;var r=new RegExp(["(\\\\.)","([\\/.])?(?:(?:\\:(\\w+)(?:\\(((?:\\\\.|[^\\\\()])+)\\))?|\\(((?:\\\\.|[^\\\\()])+)\\))([+*?])?|(\\*))"].join("|"),"g");function i(e,t){for(var n,o=[],i=0,a=0,s="",u=t&&t.delimiter||"/";null!=(n=r.exec(e));){var d=n[0],p=n[1],f=n.index;if(s+=e.slice(a,f),a=f+d.length,p)s+=p[1];else{var g=e[a],m=n[2],h=n[3],y=n[4],b=n[5],v=n[6],x=n[7];s&&(o.push(s),s="");var w=null!=m&&null!=g&&g!==m,S="+"===v||"*"===v,k="?"===v||"*"===v,_=n[2]||u,E=y||b;o.push({name:h||i++,prefix:m||"",delimiter:_,optional:k,repeat:S,partial:w,asterisk:!!x,pattern:E?c(E):x?".*":"[^"+l(_)+"]+?"})}}return 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"}}})},2885:(e,t,n)=>{const o=n(9901),r=n(9642),i=new Set;function a(e){void 0===e?e=Object.keys(o.languages).filter((e=>"meta"!=e)):Array.isArray(e)||(e=[e]);const t=[...i,...Object.keys(Prism.languages)];r(o,e,t).load((e=>{if(!(e in o.languages))return void(a.silent||console.warn("Language does not exist: "+e));const t="./prism-"+e;delete n.c[n(6500).resolve(t)],delete Prism.languages[e],n(6500)(t),i.add(e)}))}a.silent=!1,e.exports=a},6854:()=>{!function(e){function t(e,t){return"___"+e.toUpperCase()+t+"___"}Object.defineProperties(e.languages["markup-templating"]={},{buildPlaceholders:{value:function(n,o,r,i){if(n.language===o){var a=n.tokenStack=[];n.code=n.code.replace(r,(function(e){if("function"==typeof i&&!i(e))return e;for(var r,s=a.length;-1!==n.code.indexOf(r=t(o,s));)++s;return a[s]=e,r})),n.grammar=e.languages.markup}}},tokenizePlaceholders:{value:function(n,o){if(n.language===o&&n.tokenStack){n.grammar=e.languages[o];var r=0,i=Object.keys(n.tokenStack);!function a(s){for(var l=0;l=i.length);l++){var c=s[l];if("string"==typeof c||c.content&&"string"==typeof c.content){var u=i[r],d=n.tokenStack[u],p="string"==typeof c?c:c.content,f=t(o,u),g=p.indexOf(f);if(g>-1){++r;var m=p.substring(0,g),h=new e.Token(o,e.tokenize(d,n.grammar),"language-"+o,d),y=p.substring(g+f.length),b=[];m&&b.push.apply(b,a([m])),b.push(h),y&&b.push.apply(b,a([y])),"string"==typeof c?s.splice.apply(s,[l,1].concat(b)):c.content=b}}else c.content&&a(c.content)}return s}(n.tokens)}}}})}(Prism)},6726:(e,t,n)=>{var o={"./":2885};function r(e){var t=i(e);return n(t)}function i(e){if(!n.o(o,e)){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}return o[e]}r.keys=function(){return Object.keys(o)},r.resolve=i,e.exports=r,r.id=6726},6500:(e,t,n)=>{var o={"./":2885};function r(e){var t=i(e);return n(t)}function i(e){if(!n.o(o,e)){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}return o[e]}r.keys=function(){return Object.keys(o)},r.resolve=i,e.exports=r,r.id=6500},9642: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,o=e.length;n "));var s={},l=e[o];if(l){function c(t){if(!(t in e))throw new Error(o+" depends on an unknown component "+t);if(!(t in s))for(var a in r(t,i),s[t]=!0,n[t])s[a]=!0}t(l.require,c),t(l.optional,c),t(l.modify,c)}n[o]=s,i.pop()}}return function(e){var t=n[e];return t||(r(e,o),t=n[e]),t}}function r(e){for(var t in e)return!0;return!1}return function(i,a,s){var l=function(e){var t={};for(var n in e){var o=e[n];for(var r in o)if("meta"!=r){var i=o[r];t[r]="string"==typeof i?{title:i}:i}}return t}(i),c=function(e){var n;return function(o){if(o in e)return o;if(!n)for(var r in n={},e){var i=e[r];t(i&&i.alias,(function(t){if(t in n)throw new Error(t+" cannot be alias for both "+r+" and "+n[t]);if(t in e)throw new Error(t+" cannot be alias of "+r+" because it is a component.");n[t]=r}))}return n[o]||o}}(l);a=a.map(c),s=(s||[]).map(c);var u=n(a),d=n(s);a.forEach((function e(n){var o=l[n];t(o&&o.require,(function(t){t in d||(u[t]=!0,e(t))}))}));for(var p,f=o(l),g=u;r(g);){for(var m in p={},g){var h=l[m];t(h&&h.modify,(function(e){e in d&&(p[e]=!0)}))}for(var y in d)if(!(y in u))for(var b in f(y))if(b in u){p[y]=!0;break}for(var v in g=p)u[v]=!0}var x={getIds:function(){var e=[];return x.load((function(t){e.push(t)})),e},load:function(t,n){return function(t,n,o,r){var i=r?r.series:void 0,a=r?r.parallel:e,s={},l={};function c(e){if(e in s)return s[e];l[e]=!0;var r,u=[];for(var d in t(e))d in n&&u.push(d);if(0===u.length)r=o(e);else{var p=a(u.map((function(e){var t=c(e);return delete l[e],t})));i?r=i(p,(function(){return o(e)})):o(e)}return s[e]=r}for(var u in n)c(u);var d=[];for(var p in l)d.push(s[p]);return a(d)}(f,u,t,n)}};return x}}();e.exports=t},2703:(e,t,n)=>{"use strict";var o=n(414);function r(){}function i(){}i.resetWarningCache=r,e.exports=function(){function e(e,t,n,r,i,a){if(a!==o){var s=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw s.name="Invariant Violation",s}}function 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:i,resetWarningCache:r};return n.PropTypes=n,n}},5697:(e,t,n)=>{e.exports=n(2703)()},414:e=>{"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},4448:(e,t,n)=>{"use strict";var o=n(7294),r=n(3840);function i(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n