@sinytra/wiki-previewer 0.1.95 → 0.1.97
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.next/BUILD_ID +1 -1
- package/.next/app-build-manifest.json +72 -65
- package/.next/app-path-routes-manifest.json +3 -2
- package/.next/build-manifest.json +2 -2
- package/.next/prerender-manifest.json +11 -11
- package/.next/routes-manifest.json +9 -0
- package/.next/server/app/(developers)/api/docs/[slug]/asset/[id]/route.js +1 -0
- package/.next/server/app/(developers)/api/docs/[slug]/asset/[id]/route.js.nft.json +1 -0
- package/.next/server/app/(developers)/api/docs/[slug]/asset/[id]/route_client-reference-manifest.js +1 -0
- package/.next/server/app/[locale]/(main)/project/[slug]/[version]/content/[id]/page.js +2 -2
- package/.next/server/app/[locale]/(main)/project/[slug]/[version]/content/[id]/page.js.nft.json +1 -1
- package/.next/server/app/[locale]/(main)/project/[slug]/[version]/content/[id]/page_client-reference-manifest.js +1 -1
- package/.next/server/app/[locale]/(main)/project/[slug]/[version]/content/page.js +2 -2
- package/.next/server/app/[locale]/(main)/project/[slug]/[version]/content/page.js.nft.json +1 -1
- package/.next/server/app/[locale]/(main)/project/[slug]/[version]/content/page_client-reference-manifest.js +1 -1
- package/.next/server/app/[locale]/(main)/project/[slug]/[version]/docs/[...path]/page.js +2 -2
- package/.next/server/app/[locale]/(main)/project/[slug]/[version]/docs/[...path]/page.js.nft.json +1 -1
- package/.next/server/app/[locale]/(main)/project/[slug]/[version]/docs/[...path]/page_client-reference-manifest.js +1 -1
- package/.next/server/app/[locale]/(main)/project/[slug]/[version]/docs/page.js +2 -2
- package/.next/server/app/[locale]/(main)/project/[slug]/[version]/docs/page.js.nft.json +1 -1
- package/.next/server/app/[locale]/(main)/project/[slug]/[version]/docs/page_client-reference-manifest.js +1 -1
- package/.next/server/app/[locale]/(main)/project/[slug]/[version]/page.js +2 -2
- package/.next/server/app/[locale]/(main)/project/[slug]/[version]/page.js.nft.json +1 -1
- package/.next/server/app/[locale]/(main)/project/[slug]/[version]/page_client-reference-manifest.js +1 -1
- package/.next/server/app/[locale]/page.js +2 -2
- package/.next/server/app/[locale]/page.js.nft.json +1 -1
- package/.next/server/app/[locale]/page_client-reference-manifest.js +1 -1
- package/.next/server/app/_not-found/page.js +1 -1
- package/.next/server/app/_not-found/page.js.nft.json +1 -1
- package/.next/server/app/_not-found/page_client-reference-manifest.js +1 -1
- package/.next/server/app/_not-found.html +2 -2
- package/.next/server/app/_not-found.rsc +4 -4
- package/.next/server/app/favicon.ico/route.js +1 -1
- package/.next/server/app/favicon.ico/route.js.nft.json +1 -1
- package/.next/server/app/opengraph-image/route_client-reference-manifest.js +1 -1
- package/.next/server/app/robots.txt/route.js +2 -2
- package/.next/server/app/robots.txt/route.js.nft.json +1 -1
- package/.next/server/app/robots.txt/route_client-reference-manifest.js +1 -1
- package/.next/server/app/robots.txt.body +16 -16
- package/.next/server/app/sitemap.xml/route.js +2 -2
- package/.next/server/app/sitemap.xml/route.js.nft.json +1 -1
- package/.next/server/app/sitemap.xml/route_client-reference-manifest.js +1 -1
- package/.next/server/app-paths-manifest.json +3 -2
- package/.next/server/chunks/2423.js +1 -0
- package/.next/server/chunks/2574.js +66 -0
- package/.next/server/chunks/2967.js +1 -0
- package/.next/server/chunks/2998.js +3 -0
- package/.next/server/chunks/3040.js +1 -0
- package/.next/server/chunks/318.js +1 -0
- package/.next/server/chunks/4404.js +35 -0
- package/.next/server/chunks/4706.js +1 -0
- package/.next/server/chunks/5610.js +1 -0
- package/.next/server/chunks/6266.js +1 -1
- package/.next/server/chunks/{8958.js → 6746.js} +3 -3
- package/.next/server/chunks/7542.js +1 -1
- package/.next/server/chunks/7910.js +1 -0
- package/.next/server/chunks/825.js +1 -0
- package/.next/server/chunks/8350.js +1 -1
- package/.next/server/chunks/8584.js +10 -0
- package/.next/server/chunks/9190.js +1 -0
- package/.next/server/chunks/9656.js +157 -0
- package/.next/server/middleware-manifest.json +10 -10
- package/.next/server/pages/404.html +2 -2
- package/.next/server/pages/500.html +1 -1
- package/.next/server/pages/_error.js +2 -2
- package/.next/server/server-reference-manifest.json +1 -1
- package/.next/server/src/middleware.js +1 -1
- package/.next/static/QCZRtYzjyv1XsDFOIBMg4/_buildManifest.js +1 -0
- package/.next/static/chunks/253-456e0f54b45ee32e.js +1 -0
- package/.next/static/chunks/349-a9ebfa6bf85ef1c1.js +1 -0
- package/.next/static/chunks/{409-66d1c976bcaa8a00.js → 409-9c1f3189eaf6432e.js} +1 -1
- package/.next/static/chunks/621-71a2215be11ad54d.js +1 -0
- package/.next/static/chunks/67-a4d2761f9f80a28a.js +1 -0
- package/.next/static/chunks/714-a6b53baa6dfd91ba.js +2 -0
- package/.next/static/chunks/736-625b8ccdd7ba1d68.js +1 -0
- package/.next/static/chunks/77-4d0cc6ec9ab78ab0.js +1 -0
- package/.next/static/chunks/835-b9d094e779a24ff8.js +1 -0
- package/.next/static/chunks/845-2a1323f13e03afc2.js +1 -0
- package/.next/static/chunks/942-229a422e32d81679.js +1 -0
- package/.next/static/chunks/app/(developers)/api/docs/[slug]/asset/[id]/route-bd2b0120995c30e8.js +1 -0
- package/.next/static/chunks/app/[locale]/(main)/project/[slug]/[version]/content/[id]/page-b22c3769acbb8ac0.js +1 -0
- package/.next/static/chunks/app/[locale]/(main)/project/[slug]/[version]/content/{page-55ea01f3cc9eb6b8.js → page-40db7d1c9d0c3b3b.js} +1 -1
- package/.next/static/chunks/app/[locale]/(main)/project/[slug]/[version]/docs/[...path]/error-9816f5919e791e47.js +1 -0
- package/.next/static/chunks/app/[locale]/(main)/project/[slug]/[version]/docs/[...path]/{page-8a46f0c33ecced03.js → page-7095f5e128078355.js} +1 -1
- package/.next/static/chunks/app/[locale]/(main)/project/[slug]/[version]/docs/page-c293908c29c1b6c4.js +1 -0
- package/.next/static/chunks/app/[locale]/(main)/project/[slug]/[version]/layout-88b5d365db9a6e79.js +1 -0
- package/.next/static/chunks/app/[locale]/(main)/project/[slug]/[version]/{page-82b2a8ad63a75ded.js → page-719960307da0a24f.js} +1 -1
- package/.next/static/chunks/app/[locale]/layout-d95356d77407b3f8.js +1 -0
- package/.next/static/chunks/app/[locale]/page-9080aa492599c415.js +1 -0
- package/.next/static/chunks/app/error-3753bf093585c3f9.js +1 -0
- package/.next/static/chunks/app/not-found-60642b865d54ecf2.js +1 -0
- package/bin/entrypoint.mjs +16 -12
- package/package.json +1 -1
- package/.next/server/chunks/4011.js +0 -66
- package/.next/server/chunks/4179.js +0 -1
- package/.next/server/chunks/6181.js +0 -1
- package/.next/server/chunks/6248.js +0 -157
- package/.next/server/chunks/6911.js +0 -1
- package/.next/server/chunks/6967.js +0 -1
- package/.next/server/chunks/7141.js +0 -3
- package/.next/server/chunks/8002.js +0 -1
- package/.next/server/chunks/872.js +0 -1
- package/.next/server/chunks/8910.js +0 -1
- package/.next/server/chunks/9484.js +0 -44
- package/.next/server/chunks/9552.js +0 -1
- package/.next/static/67_qGrKTD0T0OBapSH_gJ/_buildManifest.js +0 -1
- package/.next/static/chunks/295-b342998dc214ccb0.js +0 -1
- package/.next/static/chunks/327-fe7bdb4bf8ea0a4d.js +0 -1
- package/.next/static/chunks/626-3143ad333aa4f3c8.js +0 -1
- package/.next/static/chunks/627-b7177d13fb973e65.js +0 -1
- package/.next/static/chunks/681-c11fad63db4540fd.js +0 -1
- package/.next/static/chunks/77-7b330a7b53601edb.js +0 -1
- package/.next/static/chunks/781-92f765649a36851e.js +0 -2
- package/.next/static/chunks/796-b632432c26fb683d.js +0 -1
- package/.next/static/chunks/802-8d29fee6a25f76d8.js +0 -1
- package/.next/static/chunks/832-e525de928ef20f83.js +0 -1
- package/.next/static/chunks/app/[locale]/(main)/project/[slug]/[version]/content/[id]/page-d07c641358e8e06b.js +0 -1
- package/.next/static/chunks/app/[locale]/(main)/project/[slug]/[version]/docs/[...path]/error-96bebb2367f46c24.js +0 -1
- package/.next/static/chunks/app/[locale]/(main)/project/[slug]/[version]/docs/page-8630ead88225a0be.js +0 -1
- package/.next/static/chunks/app/[locale]/(main)/project/[slug]/[version]/layout-712771c8566a76d7.js +0 -1
- package/.next/static/chunks/app/[locale]/layout-69f07cdc70c4eec4.js +0 -1
- package/.next/static/chunks/app/[locale]/page-a94a8604962e3366.js +0 -1
- package/.next/static/chunks/app/error-0910a30db7ae99f9.js +0 -1
- package/.next/static/chunks/app/not-found-cea963ecd72d5a1e.js +0 -1
- /package/.next/static/{67_qGrKTD0T0OBapSH_gJ → QCZRtYzjyv1XsDFOIBMg4}/_ssgManifest.js +0 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";exports.id=7542,exports.ids=[7542],exports.modules={
|
|
1
|
+
"use strict";exports.id=7542,exports.ids=[7542],exports.modules={55161:(a,b,c)=>{c.r(b),c.d(b,{default:()=>l,displayName:()=>d,fileTypes:()=>e,foldingStartMarker:()=>f,foldingStopMarker:()=>g,name:()=>h,patterns:()=>i,repository:()=>j,scopeName:()=>k});var d="Tcl",e=["tcl"],f="\\{\\s*$",g="^\\s*\\}",h="tcl",i=[{begin:"(?<=^|;)\\s*((#))",beginCaptures:{1:{name:"comment.line.number-sign.tcl"},2:{name:"punctuation.definition.comment.tcl"}},contentName:"comment.line.number-sign.tcl",end:"\\n",patterns:[{match:"(\\\\\\\\|\\\\\\n)"}]},{captures:{1:{name:"keyword.control.tcl"}},match:"(?<=^|[\\[{;])\\s*(if|while|for|catch|default|return|break|continue|switch|exit|foreach|try|throw)\\b"},{captures:{1:{name:"keyword.control.tcl"}},match:"(?<=^|})\\s*(then|elseif|else)\\b"},{captures:{1:{name:"keyword.other.tcl"},2:{name:"entity.name.function.tcl"}},match:"(?<=^|{)\\s*(proc)\\s+([^\\s]+)"},{captures:{1:{name:"keyword.other.tcl"}},match:"(?<=^|[\\[{;])\\s*(after|append|array|auto_execok|auto_import|auto_load|auto_mkindex|auto_mkindex_old|auto_qualify|auto_reset|bgerror|binary|cd|clock|close|concat|dde|encoding|eof|error|eval|exec|expr|fblocked|fconfigure|fcopy|file|fileevent|filename|flush|format|gets|glob|global|history|http|incr|info|interp|join|lappend|library|lindex|linsert|list|llength|load|lrange|lreplace|lsearch|lset|lsort|memory|msgcat|namespace|open|package|parray|pid|pkg::create|pkg_mkIndex|proc|puts|pwd|re_syntax|read|registry|rename|resource|scan|seek|set|socket|SafeBase|source|split|string|subst|Tcl|tcl_endOfWord|tcl_findLibrary|tcl_startOfNextWord|tcl_startOfPreviousWord|tcl_wordBreakAfter|tcl_wordBreakBefore|tcltest|tclvars|tell|time|trace|unknown|unset|update|uplevel|upvar|variable|vwait)\\b"},{begin:"(?<=^|[\\[{;])\\s*(regexp|regsub)\\b\\s*",beginCaptures:{1:{name:"keyword.other.tcl"}},comment:"special-case regexp/regsub keyword in order to handle the expression",end:"[\\n;\\]]",patterns:[{match:"\\\\(?:.|\\n)",name:"constant.character.escape.tcl"},{comment:"switch for regexp",match:"-\\w+\\s*"},{applyEndPatternLast:1,begin:"--\\s*",comment:"end of switches",end:"",patterns:[{include:"#regexp"}]},{include:"#regexp"}]},{include:"#escape"},{include:"#variable"},{include:"#operator"},{include:"#numeric"},{begin:'"',beginCaptures:{0:{name:"punctuation.definition.string.begin.tcl"}},end:'"',endCaptures:{0:{name:"punctuation.definition.string.end.tcl"}},name:"string.quoted.double.tcl",patterns:[{include:"#escape"},{include:"#variable"},{include:"#embedded"}]}],j={"bare-string":{begin:'(?:^|(?<=\\s))"',comment:"matches a single quote-enclosed word without scoping",end:'"([^\\s\\]]*)',endCaptures:{1:{name:"invalid.illegal.tcl"}},patterns:[{include:"#escape"},{include:"#variable"}]},braces:{begin:"(?:^|(?<=\\s))\\{",comment:"matches a single brace-enclosed word",end:"\\}([^\\s\\]]*)",endCaptures:{1:{name:"invalid.illegal.tcl"}},patterns:[{match:"\\\\[{}\\n]",name:"constant.character.escape.tcl"},{include:"#inner-braces"}]},embedded:{begin:"\\[",beginCaptures:{0:{name:"punctuation.section.embedded.begin.tcl"}},end:"\\]",endCaptures:{0:{name:"punctuation.section.embedded.end.tcl"}},name:"source.tcl.embedded",patterns:[{include:"source.tcl"}]},escape:{match:"\\\\(\\d{1,3}|x[a-fA-F0-9]+|u[a-fA-F0-9]{1,4}|.|\\n)",name:"constant.character.escape.tcl"},"inner-braces":{begin:"\\{",comment:"matches a nested brace in a brace-enclosed word",end:"\\}",patterns:[{match:"\\\\[{}\\n]",name:"constant.character.escape.tcl"},{include:"#inner-braces"}]},numeric:{match:"(?<![a-zA-Z])([+-]?([0-9]*[.])?[0-9]+f?)(?![\\.a-zA-Z])",name:"constant.numeric.tcl"},operator:{match:"(?<= |\\d)(-|\\+|~|&{1,2}|\\|{1,2}|<{1,2}|>{1,2}|\\*{1,2}|!|%|\\/|<=|>=|={1,2}|!=|\\^)(?= |\\d)",name:"keyword.operator.tcl"},regexp:{begin:"(?=\\S)(?![\\n;\\]])",comment:"matches a single word, named as a regexp, then swallows the rest of the command",end:"(?=[\\n;\\]])",patterns:[{begin:"(?=[^ \\t\\n;])",end:"(?=[ \\t\\n;])",name:"string.regexp.tcl",patterns:[{include:"#braces"},{include:"#bare-string"},{include:"#escape"},{include:"#variable"}]},{begin:"[ \\t]",comment:"swallow the rest of the command",end:"(?=[\\n;\\]])",patterns:[{include:"#variable"},{include:"#embedded"},{include:"#escape"},{include:"#braces"},{include:"#string"}]}]},string:{applyEndPatternLast:1,begin:'(?:^|(?<=\\s))(?=")',comment:"matches a single quote-enclosed word with scoping",end:"",name:"string.quoted.double.tcl",patterns:[{include:"#bare-string"}]},variable:{captures:{1:{name:"punctuation.definition.variable.tcl"}},match:"(\\$)((?:[a-zA-Z0-9_]|::)+(\\([^\\)]+\\))?|\\{[^\\}]*\\})",name:"support.function.tcl"}},k="source.tcl",l={displayName:"Tcl",fileTypes:e,foldingStartMarker:f,foldingStopMarker:g,name:"tcl",patterns:i,repository:j,scopeName:k}}};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";exports.id=7910,exports.ids=[7910],exports.modules={798:(a,b,c)=>{c.d(b,{default:()=>d});let d=(0,c(3978).registerClientReference)(function(){throw Error("Attempted to call the default export of \"/home/runner/work/Wiki/Wiki/build/previewer/src/components/docs/side/ScrollableDocsSidebarBase.tsx\" from the server, but it's on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/home/runner/work/Wiki/Wiki/build/previewer/src/components/docs/side/ScrollableDocsSidebarBase.tsx","default")},2476:(a,b,c)=>{c.d(b,{default:()=>i});var d=c(792),e=c(70569),f=c(95062),g=c(72803),h=c(37093);function i(a){let{scrollPos:b,setScrollPos:c}=(0,e.useContext)(g.$),i=(0,e.useRef)(null);return(0,f.usePathname)(),(0,d.jsx)(h.default,{...a,ref:i})}},2522:(a,b,c)=>{c.d(b,{default:()=>d});let d=(0,c(3978).registerClientReference)(function(){throw Error("Attempted to call the default export of \"/home/runner/work/Wiki/Wiki/build/previewer/src/components/docs/side/guide/DocsGuideNonContentRightSidebarClient.tsx\" from the server, but it's on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/home/runner/work/Wiki/Wiki/build/previewer/src/components/docs/side/guide/DocsGuideNonContentRightSidebarClient.tsx","default")},4060:(a,b,c)=>{c.d(b,{default:()=>e});var d=c(95062);function e({main:a,history:b}){return"history"==(0,d.useSearchParams)().get("tab")&&b?b:a}},14274:(a,b,c)=>{c.r(b),c.d(b,{Tooltip:()=>e,TooltipContent:()=>g,TooltipProvider:()=>h,TooltipTrigger:()=>f});var d=c(3978);let e=(0,d.registerClientReference)(function(){throw Error("Attempted to call Tooltip() from the server but Tooltip is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/home/runner/work/Wiki/Wiki/packages/ui/src/components/tooltip.tsx","Tooltip"),f=(0,d.registerClientReference)(function(){throw Error("Attempted to call TooltipTrigger() from the server but TooltipTrigger is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/home/runner/work/Wiki/Wiki/packages/ui/src/components/tooltip.tsx","TooltipTrigger"),g=(0,d.registerClientReference)(function(){throw Error("Attempted to call TooltipContent() from the server but TooltipContent is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/home/runner/work/Wiki/Wiki/packages/ui/src/components/tooltip.tsx","TooltipContent"),h=(0,d.registerClientReference)(function(){throw Error("Attempted to call TooltipProvider() from the server but TooltipProvider is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/home/runner/work/Wiki/Wiki/packages/ui/src/components/tooltip.tsx","TooltipProvider")},17795:(a,b,c)=>{c.d(b,{A:()=>g});var d=c(47730),e=c(2522),f=c(21527);async function g({headings:a}){return(0,d.jsx)(f.A,{keys:["DocsNonContentRightSidebar"],children:(0,d.jsx)(e.default,{headings:a})})}},22373:(a,b,c)=>{c.d(b,{default:()=>d});let d=(0,c(3978).registerClientReference)(function(){throw Error("Attempted to call the default export of \"/home/runner/work/Wiki/Wiki/build/previewer/src/components/docs/tabs/DocsEntryTabs.tsx\" from the server, but it's on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/home/runner/work/Wiki/Wiki/build/previewer/src/components/docs/tabs/DocsEntryTabs.tsx","default")},29470:(a,b,c)=>{c.d(b,{default:()=>d});let d=(0,c(3978).registerClientReference)(function(){throw Error("Attempted to call the default export of \"/home/runner/work/Wiki/Wiki/build/previewer/src/components/docs/layout/DocsResponsiveHeader.tsx\" from the server, but it's on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/home/runner/work/Wiki/Wiki/build/previewer/src/components/docs/layout/DocsResponsiveHeader.tsx","default")},34617:(a,b,c)=>{c.d(b,{default:()=>d});let d=(0,c(3978).registerClientReference)(function(){throw Error("Attempted to call the default export of \"/home/runner/work/Wiki/Wiki/build/previewer/src/components/docs/layout/DocsFileTreeFolder.tsx\" from the server, but it's on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/home/runner/work/Wiki/Wiki/build/previewer/src/components/docs/layout/DocsFileTreeFolder.tsx","default")},34743:(a,b,c)=>{c.d(b,{default:()=>j});var d=c(792),e=c(48482),f=c(83753),g=c(64457),h=c(4397),i=c(37486);function j(){let[a,b]=(0,e.ZA)("tab"),c=(0,i.c)("DocsEntryTabs"),j=async a=>{await b(a),window.scrollTo(0,0)};return(0,d.jsx)("div",{className:"flex h-full flex-col items-center justify-center",children:"history"===a?(0,d.jsx)(h.$,{title:c("home"),variant:"ghost",size:"icon",className:"size-8",onClick:()=>j("home"),children:(0,d.jsx)(f.A,{className:"size-4"})}):(0,d.jsx)(h.$,{title:c("history"),variant:"ghost",size:"icon",className:"size-8",onClick:()=>j("history"),children:(0,d.jsx)(g.A,{className:"size-4"})})})}},37093:(a,b,c)=>{c.d(b,{default:()=>h});var d=c(792),e=c(53147),f=c(70569),g=c(11921);let h=(0,f.forwardRef)(function({title:a,className:b,innerClassName:c,tagName:h,children:i,type:j,solid:k},l){let{open:m}=(0,f.useContext)(g.p);return(0,d.jsx)("aside",{"data-open":m==j,className:(0,e.cn)(b,"fixed z-30 h-[88vh] w-full overflow-hidden border-tertiary bg-primary transition-all duration-300 ease-in-out sm:h-[calc(100vh_-_9.5rem)] lg:top-[6rem]! lg:transition-none",k?"lg:static":"lg:sticky","left"==j&&"border-r data-[open=false]:-translate-x-full data-[open=false]:border-0 lg:border-r-0 lg:data-[open=false]:-translate-x-0","right"==j&&"border-l data-[open=false]:translate-x-full data-[open=false]:border-0 lg:border-l-0 lg:data-[open=false]:translate-x-0"),children:(0,d.jsxs)(h||"div",{ref:l,className:(0,e.cn)("scrollbar-thumb-secondary scrollbar-track-secondary/20 scrollbar-thin h-full space-y-2 overflow-y-auto p-4",c),children:[(0,d.jsx)("div",{className:"mb-4 flex items-center justify-between",children:(0,d.jsx)("h3",{className:"text-sm font-semibold text-secondary",children:a})}),i]})})})},44991:(a,b,c)=>{c.d(b,{default:()=>d});let d=(0,c(3978).registerClientReference)(function(){throw Error("Attempted to call the default export of \"/home/runner/work/Wiki/Wiki/build/previewer/src/components/docs/layout/DocsPageFooter.tsx\" from the server, but it's on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/home/runner/work/Wiki/Wiki/build/previewer/src/components/docs/layout/DocsPageFooter.tsx","default")},63132:(a,b,c)=>{c.d(b,{default:()=>r});var d=c(792);c(70569);var e=c(37486),f=c(94052),g=c(4397),h=c(93586);let i=(0,h.A)("flag",[["path",{d:"M4 22V4a1 1 0 0 1 .4-.8A6 6 0 0 1 8 2c3 0 5 2 7.333 2q2 0 3.067-.8A1 1 0 0 1 20 4v10a1 1 0 0 1-.4.8A6 6 0 0 1 16 16c-3 0-5-2-8-2a6 6 0 0 0-4 1.528",key:"1jaruq"}]]);var j=c(53147),k=c(84173),l=c(58446);function m({local:a,type:b,project:c,path:h,preview:m,full:n}){let o=(0,e.c)("PageEditControls"),p=function(a,b,c){let d=(0,k.cT)({project:a,type:b,path:c});return`/report?${d}`}(c,b,h?.join("/")??null),q=(0,d.jsx)(g.$,{asChild:!0,variant:"outline",size:"sm",className:"font-normal text-secondary hover:bg-transparent sm:h-fit sm:border-none sm:p-0",children:(0,d.jsxs)(l.k,{href:p,children:[(0,d.jsx)(i,{className:(0,j.cn)("mr-2 h-4 w-4",!n&&"sm:mr-0")}),(0,d.jsx)("span",{className:(0,j.cn)(!n&&"sm:hidden"),children:o("report_button")})]})});return!m&&!a&&c&&h&&(n?q:(0,d.jsx)(f.TooltipProvider,{children:(0,d.jsxs)(f.Tooltip,{children:[(0,d.jsx)(f.TooltipTrigger,{asChild:!0,children:q}),(0,d.jsx)(f.TooltipContent,{children:o("report")})]})}))}let n=(0,h.A)("square-pen",[["path",{d:"M12 3H5a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2v-7",key:"1m0v6g"}],["path",{d:"M18.375 2.625a1 1 0 0 1 3 3l-9.013 9.014a2 2 0 0 1-.853.505l-2.873.84a.5.5 0 0 1-.62-.62l.84-2.873a2 2 0 0 1 .506-.852z",key:"ohrbg2"}]]);function o({editUrl:a}){let b=(0,e.c)("PageEditControls");return a&&(0,d.jsxs)(l.k,{href:a,className:"flex items-center rounded-md border border-quaternary px-3 py-2 text-sm text-secondary hover:text-primary-alt sm:border-none sm:p-0",children:[(0,d.jsx)(n,{className:"mr-2 h-4 w-4"}),b("edit_gh")]})}function p({slug:a,path:b,editUrl:c,local:e,preview:f}){return(0,d.jsxs)("div",{className:"flex w-full flex-row justify-between sm:max-w-5xl",children:[(0,d.jsx)("div",{className:"hidden flex-row flex-nowrap items-center justify-start gap-4 sm:flex",children:(0,d.jsx)(m,{type:"docs",local:e,project:a,path:b,preview:f})}),(0,d.jsx)("div",{className:"hidden flex-row flex-nowrap items-center justify-start gap-4 sm:flex",children:(0,d.jsx)("div",{className:"flex flex-col items-end gap-y-3 sm:flex-row sm:items-center sm:gap-x-4 sm:gap-y-0",children:(0,d.jsx)(o,{editUrl:c})})})]})}function q({local:a,slug:b,path:c,editUrl:e,preview:f}){return(0,d.jsx)("div",{className:"flex flex-col gap-3 sm:hidden",children:(0,d.jsxs)("div",{className:"flex flex-row flex-wrap justify-between gap-2",children:[(0,d.jsx)(m,{type:"docs",local:a,project:b,path:c,preview:f}),(0,d.jsx)(o,{editUrl:e})]})})}function r(a){return(0,d.jsxs)("footer",{className:"relative flex w-full shrink-0 flex-col-reverse justify-between gap-y-3 border-t border-border bg-primary px-1 py-3 text-sm text-secondary sm:h-16 sm:flex-row sm:items-center sm:justify-center sm:gap-y-0 sm:px-4",children:[(0,d.jsx)(p,{...a}),(0,d.jsx)(q,{...a})]})}},65403:(a,b,c)=>{c.d(b,{default:()=>d});let d=(0,c(3978).registerClientReference)(function(){throw Error("Attempted to call the default export of \"/home/runner/work/Wiki/Wiki/build/previewer/src/components/docs/util/DocsFileLink.tsx\" from the server, but it's on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/home/runner/work/Wiki/Wiki/build/previewer/src/components/docs/util/DocsFileLink.tsx","default")},66254:(a,b,c)=>{c.d(b,{default:()=>h});var d=c(792),e=c(53147),f=c(24152);let g=(0,c(70569).forwardRef)(function({prefetch:a=!1,...b},c){return(0,d.jsx)(f.XO,{prefetch:a,...b,ref:c})});function h({href:a,children:b}){let c=(0,f.a8)();return(0,d.jsx)(g,{href:a,className:(0,e.cn)("flex items-center rounded-md px-3 py-2 text-sm text-secondary hover:bg-secondary hover:text-primary-alt",c===a&&"bg-secondary text-primary-alt"),children:b})}},68766:(a,b,c)=>{c.d(b,{default:()=>d});let d=(0,c(3978).registerClientReference)(function(){throw Error("Attempted to call the default export of \"/home/runner/work/Wiki/Wiki/build/previewer/src/components/docs/tabs/TabSwitchedDocsContent.tsx\" from the server, but it's on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/home/runner/work/Wiki/Wiki/build/previewer/src/components/docs/tabs/TabSwitchedDocsContent.tsx","default")},73186:(a,b,c)=>{c.d(b,{A:()=>r});var d=c(47730);function e({children:a}){return(0,d.jsx)("article",{className:"docsContentArticle prose min-w-full dark:prose-invert",children:a})}var f=c(68766),g=c(72035);function h({changelog:a}){let b=(0,g.A)("DocsChangelogPage");return(0,d.jsxs)("div",{className:"space-y-6",children:[(0,d.jsx)("h2",{className:"mb-4 text-xl font-semibold",children:b("title")}),a.map((a,b)=>(0,d.jsxs)("div",{className:"border-b border-border pb-4",children:[(0,d.jsxs)("h3",{className:"flex flex-row items-center justify-between text-lg font-semibold",children:[a.version,a.date&&(0,d.jsx)("span",{className:"text-sm font-medium text-secondary",children:a.date})]}),(0,d.jsx)("ul",{className:"mt-2 list-inside list-disc",children:a.changes.map((a,b)=>(0,d.jsx)("li",{className:"text-secondary",children:a},b))})]},b))]})}var i=c(27297),j=c(71378),k=c(28695),l=c(14274);function m({bright:a,small:b}){let c=(0,g.A)("CommunityBadge");return(0,d.jsx)(l.TooltipProvider,{delayDuration:500,children:(0,d.jsxs)(l.Tooltip,{children:[(0,d.jsx)(l.TooltipTrigger,{asChild:!0,children:(0,d.jsxs)(j.E,{variant:a?"secondary":"outline",className:(0,i.cn)("cursor-default",!a&&"text-secondary",b?"p-1.5":"px-3 py-1"),children:[(0,d.jsx)(k.A,{className:(0,i.cn)(b?"h-3.5 w-3.5":"mr-2 h-4 w-4"),strokeWidth:2.5}),!b&&c("title")]})}),(0,d.jsx)(l.TooltipContent,{children:(0,d.jsx)("p",{children:c("desc")})})]})})}var n=c(22373),o=c(21527),p=c(65757);function q({project:a,children:b,titleClassName:c,showHistory:e,className:f}){return(0,d.jsx)("div",{className:(0,i.cn)("mb-4 border-b border-secondary pb-2",f),children:(0,d.jsxs)("div",{className:"flex flex-row flex-wrap justify-between gap-2 md:flex-nowrap md:items-center",children:[(0,d.jsx)("h1",{className:(0,i.cn)("docsContentTitle text-3xl font-medium text-ellipsis text-primary md:overflow-hidden md:whitespace-nowrap",c),children:b}),(0,d.jsxs)("div",{className:(0,i.cn)("not-prose ml-auto flex shrink-0 flex-row items-center justify-between gap-3 md:ml-0"),children:[a?.local&&(0,d.jsx)(p.A,{}),a?.is_community&&(0,d.jsx)(m,{}),e&&(0,d.jsx)(o.A,{keys:["DocsEntryTabs"],children:(0,d.jsx)(n.default,{})})]})]})})}async function r({project:a,page:b,showHistory:c,isIndexPage:g}){let i=(0,d.jsx)(e,{children:b.content.content});return(0,d.jsxs)("div",{className:"flex min-h-[90vh] flex-col pb-20",children:[(!g||null!=b.frontmatter.title)&&(0,d.jsx)(q,{className:"hidden sm:block",project:a,showHistory:c,children:b.frontmatter.title||a.name}),g?i:(0,d.jsx)(f.default,{main:i,history:b.frontmatter.history?(0,d.jsx)(h,{changelog:b.frontmatter.history}):null})]})}},78925:(a,b,c)=>{c.d(b,{A:()=>d});let d=(0,c(79583).A)("folder",[["path",{d:"M20 20a2 2 0 0 0 2-2V8a2 2 0 0 0-2-2h-7.9a2 2 0 0 1-1.69-.9L9.6 3.9A2 2 0 0 0 7.93 3H4a2 2 0 0 0-2 2v13a2 2 0 0 0 2 2Z",key:"1kt360"}]])},80681:(a,b,c)=>{c.d(b,{default:()=>l});var d=c(792),e=c(70569),f=c(11921),g=c(78269),h=c(93586);let i=(0,h.A)("menu",[["path",{d:"M4 5h16",key:"1tepv9"}],["path",{d:"M4 12h16",key:"1lakjw"}],["path",{d:"M4 19h16",key:"1djgab"}]]),j=(0,h.A)("info",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 16v-4",key:"1dtifu"}],["path",{d:"M12 8h.01",key:"e9boi3"}]]);var k=c(53147);function l({showRightSidebar:a,children:b}){let{open:c,setOpen:h}=(0,e.useContext)(f.p);return(0,d.jsxs)("header",{className:"flex w-full items-center justify-between border-b border-tertiary px-0 pt-1 pb-2 lg:hidden",children:[(0,d.jsx)("button",{onClick:()=>h("left"==c?"none":"left"),className:"text-primary",children:"left"===c?(0,d.jsx)(g.A,{className:"h-6 w-6"}):(0,d.jsx)(i,{className:"h-6 w-6"})}),(0,d.jsx)("h1",{className:"text-lg font-bold",children:b}),(0,d.jsx)("button",{onClick:()=>h("right"==c?"none":"right"),className:(0,k.cn)("text-primary",!1===a&&"invisible"),children:"right"===c?(0,d.jsx)(g.A,{className:"h-6 w-6"}):(0,d.jsx)(j,{className:"h-6 w-6"})})]})}},82068:(a,b,c)=>{c.d(b,{default:()=>i});var d=c(792),e=c(70569),f=c(37093),g=c(53147),h=c(37486);function i({headings:a}){let b=(0,h.c)("DocsNonContentRightSidebar"),[c,i]=(0,e.useState)(""),[j,k]=(0,e.useState)(!1),[l,m]=(0,e.useState)(!1),n=(0,e.useRef)(null);return(0,d.jsx)(f.default,{type:"right",title:b("title"),className:(0,g.cn)("right-0 shrink-0","w-[96vw] sm:w-64"),tagName:"nav",children:(0,d.jsxs)("div",{className:"relative",children:[j&&(0,d.jsx)("div",{className:"from-background pointer-events-none absolute top-0 right-0 left-0 h-12 bg-linear-to-b to-transparent"}),(0,d.jsx)("div",{ref:n,className:"scrollbar-thin max-h-[80vh] overflow-y-auto pr-4 scrollbar-thumb-gray-300 scrollbar-track-transparent",children:(0,d.jsx)("ul",{className:"space-y-1 text-sm",children:a.map((a,b)=>(0,d.jsx)("li",{style:{paddingLeft:`${(a.depth-1)*.75}rem`},children:(0,d.jsx)("a",{href:`#${a.id}`,className:(0,g.cn)("block py-1 text-secondary transition-colors hover:text-primary",c===a.id&&"text-primary",0===b?"pt-0!":""),onClick:b=>{b.preventDefault(),document.getElementById(a.id)?.scrollIntoView({behavior:"smooth"})},children:a.value})},a.id))})}),l&&(0,d.jsx)("div",{className:"from-background pointer-events-none absolute right-0 bottom-0 left-0 h-12 bg-linear-to-t to-transparent"})]})})}},83007:(a,b,c)=>{c.d(b,{default:()=>j});var d=c(792),e=c(3301),f=c(70569),g=c(53147),h=c(24152),i=c(72803);function j({name:a,path:b,icon:c,level:j,children:k}){let{folderStates:l,setFolderStates:m}=(0,f.useContext)(i.$),n=(0,h.a8)().split("/").slice(5).join("/"),o=n.length>0&&n.startsWith(b+"/"),p=(0,f.useRef)(!1),[q,r]=(0,f.useState)(!p.current&&o||l[j]===b);return(0,d.jsxs)("div",{className:(0,g.cn)("accordion flex flex-col",q&&"open"),children:[(0,d.jsxs)("button",{onClick:function(){m(a=>{let c={...a,[j]:q?void 0:b};return q&&Object.keys(c).filter(a=>Number(a)>j).forEach(a=>delete c[a]),c})},"data-state":q?"open":"closed",className:(0,g.cn)("flex items-center rounded-md px-3 py-2 text-sm text-secondary hover:bg-secondary","hover:text-primary-alt [&[data-state=open]>svg:last-child]:rotate-180"),children:[c,a,(0,d.jsx)(e.A,{className:"ml-auto h-4 w-4 shrink-0 transition-transform duration-200"})]}),(0,d.jsx)("div",{className:"accordion-body",style:{paddingLeft:`${j}rem`},children:(0,d.jsx)("div",{children:(0,d.jsx)("div",{className:"mt-2 flex flex-col gap-2",children:k})})})]})}},91456:(a,b,c)=>{c.d(b,{A:()=>q});var d=c(47730),e=c(78925),f=c(83063),g=c(65403),h=c(34617),i=c(27297),j=c(72035),k=c(798),l=c(57870);async function m({slug:a,version:b,file:e}){let f=await Promise.all([c.e(5610),c.e(825)]).then(c.bind(c,30825)),h=e.icon?f[e.icon+"Icon"]:null;return(0,d.jsxs)(g.default,{href:`/project/${a}/${b}/docs/${e.path}`,children:[h&&(0,d.jsx)(h,{className:"mr-2 h-4 w-4 shrink-0"}),e.name]},e.path)}async function n({slug:a,version:b,tree:f,level:g}){let i=e.A,j=await Promise.all([c.e(5610),c.e(825)]).then(c.bind(c,30825));return f.map(c=>{if("dir"==c.type){let e=c.icon===l.D$?null:(c.icon?j[c.icon]:i)||i;return(0,d.jsx)(h.default,{name:c.name,path:c.path,level:g,icon:e&&(0,d.jsx)(e,{className:"mr-2 h-4 w-4 shrink-0"}),children:(0,d.jsx)(n,{slug:a,version:b,tree:c.children,level:g+1})},c.path)}return(0,d.jsx)(m,{slug:a,version:b,file:c},c.path)})}function o({slug:a,version:b,tree:c}){let e=(0,j.A)("DocsLeftSidebar");return(0,d.jsxs)(k.default,{type:"left",title:e("title"),className:(0,i.cn)("left-0 shrink-0","w-[96vw] sm:w-64"),innerClassName:"overscroll-contain",tagName:"nav",children:[(0,d.jsxs)(g.default,{href:`/project/${a}/${b}/docs`,children:[(0,d.jsx)(f.A,{className:"mr-2 h-4 w-4"}),e("homepage")]}),(0,d.jsx)("hr",{}),(0,d.jsx)(n,{slug:a,version:b,tree:c,level:1})]})}c(60907);var p=c(29470);function q({title:a,project:b,version:c,rightSidebar:e,footer:f,tree:g,showRightSidebar:h,children:j}){return(0,d.jsxs)(d.Fragment,{children:[(0,d.jsx)(p.default,{showRightSidebar:h,children:a}),(0,d.jsxs)("div",{className:"flex w-full max-w-[1632px] flex-1 flex-row justify-between gap-4",children:[(0,d.jsx)(o,{slug:b.id,version:c,tree:g}),(0,d.jsx)("main",{className:(0,i.cn)("mt-4 min-h-[86vh] flex-1 overflow-auto px-2 pb-6 sm:mt-0 sm:min-h-[auto] sm:max-w-5xl sm:pt-4 lg:px-0"),children:j}),e]}),f]})}},94052:(a,b,c)=>{c.r(b),c.d(b,{Tooltip:()=>i,TooltipContent:()=>k,TooltipProvider:()=>h,TooltipTrigger:()=>j});var d=c(792),e=c(70569),f=c(74789),g=c(53147);let h=f.Kq,i=f.bL,j=f.l9,k=e.forwardRef(({className:a,sideOffset:b=4,...c},e)=>(0,d.jsx)(f.UC,{ref:e,sideOffset:b,className:(0,g.cn)("border-tertiary bg-primary-alt text-primary-alt z-50 animate-in overflow-hidden overscroll-contain rounded-md border px-3 py-1.5 text-sm shadow-md fade-in-0 zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95",a),...c}));k.displayName=f.UC.displayName}};
|