@sinytra/wiki-previewer 0.1.125 → 0.1.129

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.
Files changed (124) hide show
  1. package/.next/BUILD_ID +1 -1
  2. package/.next/app-build-manifest.json +79 -79
  3. package/.next/app-path-routes-manifest.json +1 -1
  4. package/.next/build-manifest.json +2 -2
  5. package/.next/prerender-manifest.json +15 -15
  6. package/.next/server/app/(developers)/api/docs/[slug]/asset/[id]/route.js +1 -1
  7. package/.next/server/app/(developers)/api/docs/[slug]/asset/[id]/route.js.nft.json +1 -1
  8. package/.next/server/app/(developers)/api/docs/[slug]/asset/[id]/route_client-reference-manifest.js +1 -1
  9. package/.next/server/app/[locale]/(main)/project/[slug]/[version]/content/[id]/page.js +2 -2
  10. package/.next/server/app/[locale]/(main)/project/[slug]/[version]/content/[id]/page.js.nft.json +1 -1
  11. package/.next/server/app/[locale]/(main)/project/[slug]/[version]/content/[id]/page_client-reference-manifest.js +1 -1
  12. package/.next/server/app/[locale]/(main)/project/[slug]/[version]/content/page.js +2 -2
  13. package/.next/server/app/[locale]/(main)/project/[slug]/[version]/content/page.js.nft.json +1 -1
  14. package/.next/server/app/[locale]/(main)/project/[slug]/[version]/content/page_client-reference-manifest.js +1 -1
  15. package/.next/server/app/[locale]/(main)/project/[slug]/[version]/docs/[...path]/page.js +2 -2
  16. package/.next/server/app/[locale]/(main)/project/[slug]/[version]/docs/[...path]/page.js.nft.json +1 -1
  17. package/.next/server/app/[locale]/(main)/project/[slug]/[version]/docs/[...path]/page_client-reference-manifest.js +1 -1
  18. package/.next/server/app/[locale]/(main)/project/[slug]/[version]/docs/page.js +2 -2
  19. package/.next/server/app/[locale]/(main)/project/[slug]/[version]/docs/page.js.nft.json +1 -1
  20. package/.next/server/app/[locale]/(main)/project/[slug]/[version]/docs/page_client-reference-manifest.js +1 -1
  21. package/.next/server/app/[locale]/(main)/project/[slug]/[version]/page.js +2 -2
  22. package/.next/server/app/[locale]/(main)/project/[slug]/[version]/page.js.nft.json +1 -1
  23. package/.next/server/app/[locale]/(main)/project/[slug]/[version]/page_client-reference-manifest.js +1 -1
  24. package/.next/server/app/[locale]/page.js +2 -2
  25. package/.next/server/app/[locale]/page.js.nft.json +1 -1
  26. package/.next/server/app/[locale]/page_client-reference-manifest.js +1 -1
  27. package/.next/server/app/_not-found/page.js +1 -1
  28. package/.next/server/app/_not-found/page.js.nft.json +1 -1
  29. package/.next/server/app/_not-found/page_client-reference-manifest.js +1 -1
  30. package/.next/server/app/_not-found.html +2 -2
  31. package/.next/server/app/_not-found.rsc +5 -5
  32. package/.next/server/app/opengraph-image/route_client-reference-manifest.js +1 -1
  33. package/.next/server/app/robots.txt/route_client-reference-manifest.js +1 -1
  34. package/.next/server/app/sitemap.xml/route_client-reference-manifest.js +1 -1
  35. package/.next/server/app-paths-manifest.json +1 -1
  36. package/.next/server/chunks/1722.js +1 -0
  37. package/.next/server/chunks/2313.js +2 -2
  38. package/.next/server/chunks/2337.js +1 -1
  39. package/.next/server/chunks/{4278.js → 3938.js} +1 -1
  40. package/.next/server/chunks/4068.js +1 -0
  41. package/.next/server/chunks/4903.js +1 -0
  42. package/.next/server/chunks/5413.js +10 -0
  43. package/.next/server/chunks/5943.js +159 -0
  44. package/.next/server/chunks/6064.js +54 -0
  45. package/.next/server/chunks/7212.js +1 -0
  46. package/.next/server/chunks/7748.js +1 -0
  47. package/.next/server/chunks/7772.js +1 -0
  48. package/.next/server/chunks/{34.js → 9228.js} +3 -3
  49. package/.next/server/chunks/981.js +1 -0
  50. package/.next/server/chunks/9882.js +1 -1
  51. package/.next/server/middleware-manifest.json +10 -10
  52. package/.next/server/pages/404.html +2 -2
  53. package/.next/server/pages/500.html +1 -1
  54. package/.next/server/server-reference-manifest.json +1 -1
  55. package/.next/server/src/middleware.js +1 -1
  56. package/.next/static/chunks/103-46cfa8ff07310382.js +1 -0
  57. package/.next/static/chunks/{5307-313dba7e9f7ba575.js → 357-e28f1a542e1d123a.js} +1 -1
  58. package/.next/static/chunks/4021-4ed620e833362864.js +1 -0
  59. package/.next/static/chunks/{1387-425b909529e8feeb.js → 4467-e5439059ac57bbc1.js} +1 -1
  60. package/.next/static/chunks/{595-d255f000314959c1.js → 595-540f36fc4bd1eca9.js} +1 -1
  61. package/.next/static/chunks/8047-a76bedee28fa3855.js +1 -0
  62. package/.next/static/chunks/8503-18e014294c240db0.js +1 -0
  63. package/.next/static/chunks/{8616-7aec55a29c564489.js → 8616-cd5800f66cc48e07.js} +1 -1
  64. package/.next/static/chunks/{9400-5197b306237257a0.js → 9538-0952ccc1cdc43aab.js} +1 -1
  65. package/.next/static/chunks/9956-b1e9ab15956e370e.js +1 -0
  66. package/.next/static/chunks/app/(developers)/api/docs/[slug]/asset/[id]/route-2eb1e2f7ef7dbda5.js +1 -0
  67. package/.next/static/chunks/app/[locale]/(main)/project/[slug]/[version]/content/[id]/error-824b5f552a464508.js +1 -0
  68. package/.next/static/chunks/app/[locale]/(main)/project/[slug]/[version]/content/[id]/not-found-9a5a8c873fe218c8.js +1 -0
  69. package/.next/static/chunks/app/[locale]/(main)/project/[slug]/[version]/content/[id]/page-7caa12c64304cf05.js +1 -0
  70. package/.next/static/chunks/app/[locale]/(main)/project/[slug]/[version]/content/error-379b997ddc90bcb1.js +1 -0
  71. package/.next/static/chunks/app/[locale]/(main)/project/[slug]/[version]/content/not-found-9a5a8c873fe218c8.js +1 -0
  72. package/.next/static/chunks/app/[locale]/(main)/project/[slug]/[version]/content/{page-c909527ca15c01a3.js → page-9be9cb3294aa2ea2.js} +1 -1
  73. package/.next/static/chunks/app/[locale]/(main)/project/[slug]/[version]/docs/[...path]/error-c27832382d942bf9.js +1 -0
  74. package/.next/static/chunks/app/[locale]/(main)/project/[slug]/[version]/docs/[...path]/not-found-9a5a8c873fe218c8.js +1 -0
  75. package/.next/static/chunks/app/[locale]/(main)/project/[slug]/[version]/docs/[...path]/page-66bd37d4cbebbeba.js +1 -0
  76. package/.next/static/chunks/app/[locale]/(main)/project/[slug]/[version]/docs/error-2adf1c543db3b129.js +1 -0
  77. package/.next/static/chunks/app/[locale]/(main)/project/[slug]/[version]/docs/not-found-9a5a8c873fe218c8.js +1 -0
  78. package/.next/static/chunks/app/[locale]/(main)/project/[slug]/[version]/docs/page-d0de8ac366a22bb4.js +1 -0
  79. package/.next/static/chunks/app/[locale]/(main)/project/[slug]/[version]/layout-c35f1c7c35789f59.js +1 -0
  80. package/.next/static/chunks/app/[locale]/(main)/project/[slug]/[version]/page-5edab0f76527d8be.js +1 -0
  81. package/.next/static/chunks/app/[locale]/layout-bc721f680058d307.js +1 -0
  82. package/.next/static/chunks/app/[locale]/not-found-a5c82dda280be116.js +1 -0
  83. package/.next/static/chunks/app/[locale]/page-4e0567f9f6f7f014.js +1 -0
  84. package/.next/static/chunks/app/error-071f9f60fcee43d3.js +1 -0
  85. package/.next/static/chunks/app/not-found-ea05d09b42b69998.js +1 -0
  86. package/.next/static/css/88688c974376cfbc.css +1 -0
  87. package/package.json +1 -1
  88. package/.next/server/chunks/1163.js +0 -159
  89. package/.next/server/chunks/1874.js +0 -1
  90. package/.next/server/chunks/3800.js +0 -1
  91. package/.next/server/chunks/513.js +0 -54
  92. package/.next/server/chunks/5192.js +0 -1
  93. package/.next/server/chunks/5257.js +0 -1
  94. package/.next/server/chunks/6490.js +0 -1
  95. package/.next/server/chunks/689.js +0 -10
  96. package/.next/server/chunks/8256.js +0 -1
  97. package/.next/server/chunks/9358.js +0 -1
  98. package/.next/static/chunks/103-21aa34964932254c.js +0 -1
  99. package/.next/static/chunks/4254-920d1f51812b160f.js +0 -1
  100. package/.next/static/chunks/4283-b63fac6a595bdd16.js +0 -1
  101. package/.next/static/chunks/6399-95a77df3ef986ee8.js +0 -1
  102. package/.next/static/chunks/9355-413a0cdee2ddda08.js +0 -1
  103. package/.next/static/chunks/app/(developers)/api/docs/[slug]/asset/[id]/route-068507a6d4ac19c1.js +0 -1
  104. package/.next/static/chunks/app/[locale]/(main)/project/[slug]/[version]/content/[id]/error-877504c9c31c7f75.js +0 -1
  105. package/.next/static/chunks/app/[locale]/(main)/project/[slug]/[version]/content/[id]/not-found-c1d28035aac9deaf.js +0 -1
  106. package/.next/static/chunks/app/[locale]/(main)/project/[slug]/[version]/content/[id]/page-5f54acec5d25f263.js +0 -1
  107. package/.next/static/chunks/app/[locale]/(main)/project/[slug]/[version]/content/error-72ff02f5f9f6a2ed.js +0 -1
  108. package/.next/static/chunks/app/[locale]/(main)/project/[slug]/[version]/content/not-found-c1d28035aac9deaf.js +0 -1
  109. package/.next/static/chunks/app/[locale]/(main)/project/[slug]/[version]/docs/[...path]/error-61881d0ee2499ef4.js +0 -1
  110. package/.next/static/chunks/app/[locale]/(main)/project/[slug]/[version]/docs/[...path]/not-found-c1d28035aac9deaf.js +0 -1
  111. package/.next/static/chunks/app/[locale]/(main)/project/[slug]/[version]/docs/[...path]/page-518476885bfdaeee.js +0 -1
  112. package/.next/static/chunks/app/[locale]/(main)/project/[slug]/[version]/docs/error-6c609fb9dd26a410.js +0 -1
  113. package/.next/static/chunks/app/[locale]/(main)/project/[slug]/[version]/docs/not-found-c1d28035aac9deaf.js +0 -1
  114. package/.next/static/chunks/app/[locale]/(main)/project/[slug]/[version]/docs/page-609dc31954dd60ba.js +0 -1
  115. package/.next/static/chunks/app/[locale]/(main)/project/[slug]/[version]/layout-dd7f75c9e0afc99c.js +0 -1
  116. package/.next/static/chunks/app/[locale]/(main)/project/[slug]/[version]/page-a60bb4aaa88a1cff.js +0 -1
  117. package/.next/static/chunks/app/[locale]/layout-daac4cc9cfede500.js +0 -1
  118. package/.next/static/chunks/app/[locale]/not-found-1fe350d840356926.js +0 -1
  119. package/.next/static/chunks/app/[locale]/page-5f2b2237dd4149c0.js +0 -1
  120. package/.next/static/chunks/app/error-49afa95803b0b2eb.js +0 -1
  121. package/.next/static/chunks/app/not-found-f5d97a4ac6e12889.js +0 -1
  122. package/.next/static/css/c4dc5c3a5ae1dd8e.css +0 -1
  123. /package/.next/static/{3xyLk6siZiXYM_Y7FgV-I → Bbl1kmS1XNNk11h2myHVO}/_buildManifest.js +0 -0
  124. /package/.next/static/{3xyLk6siZiXYM_Y7FgV-I → Bbl1kmS1XNNk11h2myHVO}/_ssgManifest.js +0 -0
@@ -1 +0,0 @@
1
- exports.id=1874,exports.ids=[1874],exports.modules={16274:(a,b,c)=>{"use strict";c.d(b,{default:()=>d});let d=(0,c(9968).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")},22986:(a,b,c)=>{"use strict";c.d(b,{default:()=>r});var d=c(67258);c(83459);var e=c(90650),f=c(80756),g=c(42525),h=c(22706);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(46763),k=c(13661),l=c(42590);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})]})}},23057:(a,b,c)=>{"use strict";c.r(b),c.d(b,{default:()=>f});var d=c(67258);c(83459);var e=c(68363);function f({error:a}){return(0,d.jsx)(e.default,{})}},23332:(a,b,c)=>{"use strict";c.d(b,{default:()=>f});var d=c(67258),e=c(42701);function f({headings:a}){return(0,d.jsx)(e.A,{headings:a,type:"right",className:"right-0 w-[96vw] sm:w-64"})}},31362:(a,b,c)=>{Promise.resolve().then(c.bind(c,23057))},33244:(a,b,c)=>{"use strict";c.d(b,{default:()=>i});var d=c(67258),e=c(83459),f=c(45580),g=c(84339),h=c(43029);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})}},33951:(a,b,c)=>{"use strict";c.d(b,{default:()=>d});let d=(0,c(9968).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")},34927:(a,b,c)=>{"use strict";c.d(b,{A:()=>g});var d=c(60492),e=c(71494),f=c(50691);async function g({headings:a}){return(0,d.jsx)(f.A,{keys:["DocsNonContentRightSidebar"],children:(0,d.jsx)(e.default,{headings:a})})}},42709:(a,b,c)=>{"use strict";c.d(b,{default:()=>d});let d=(0,c(9968).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")},53612:(a,b,c)=>{"use strict";c.d(b,{A:()=>d});let d=(0,c(75420).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"}]])},55429:(a,b,c)=>{"use strict";c.r(b),c.d(b,{default:()=>f});var d=c(60492),e=c(92851);function f(){return(0,d.jsx)(e.default,{})}},60378:(a,b,c)=>{"use strict";c.d(b,{default:()=>d});let d=(0,c(9968).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")},62906:(a,b,c)=>{Promise.resolve().then(c.bind(c,94199))},71494:(a,b,c)=>{"use strict";c.d(b,{default:()=>d});let d=(0,c(9968).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")},78079:(a,b,c)=>{"use strict";c.d(b,{default:()=>h});var d=c(67258),e=c(46763),f=c(99688);let g=(0,c(83459).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})}},80903:(a,b,c)=>{"use strict";c.d(b,{A:()=>q});var d=c(60492),e=c(53612),f=c(95676),g=c(33951),h=c(42709),i=c(97933),j=c(83739),k=c(60378),l=c(37474);async function m({slug:a,version:b,file:e}){let f=await Promise.all([c.e(6490),c.e(3800)]).then(c.bind(c,63800)),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(6490),c.e(3800)]).then(c.bind(c,63800));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(19061);var p=c(16274);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]})}},82095:(a,b,c)=>{"use strict";c.d(b,{default:()=>j});var d=c(67258),e=c(90956),f=c(83459),g=c(46763),h=c(99688),i=c(84339);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})})})]})}},91541:(a,b,c)=>{"use strict";c.d(b,{default:()=>l});var d=c(67258),e=c(83459),f=c(92609),g=c(27414),h=c(22706);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(46763);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"})})]})}},93259:(a,b,c)=>{"use strict";c.d(b,{default:()=>d});let d=(0,c(9968).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")},94199:(a,b,c)=>{"use strict";c.r(b),c.d(b,{default:()=>d});let d=(0,c(9968).registerClientReference)(function(){throw Error("Attempted to call the default export of \"/home/runner/work/Wiki/Wiki/build/previewer/src/app/[locale]/(main)/project/[slug]/[version]/docs/error.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/app/[locale]/(main)/project/[slug]/[version]/docs/error.tsx","default")}};