wiki-viewer 2.5.3 → 2.5.4

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 (85) hide show
  1. package/.next/standalone/.next/BUILD_ID +1 -1
  2. package/.next/standalone/.next/build-manifest.json +3 -3
  3. package/.next/standalone/.next/prerender-manifest.json +3 -3
  4. package/.next/standalone/.next/server/app/_global-error.html +1 -1
  5. package/.next/standalone/.next/server/app/_global-error.rsc +1 -1
  6. package/.next/standalone/.next/server/app/_global-error.segments/__PAGE__.segment.rsc +1 -1
  7. package/.next/standalone/.next/server/app/_global-error.segments/_full.segment.rsc +1 -1
  8. package/.next/standalone/.next/server/app/_global-error.segments/_head.segment.rsc +1 -1
  9. package/.next/standalone/.next/server/app/_global-error.segments/_index.segment.rsc +1 -1
  10. package/.next/standalone/.next/server/app/_global-error.segments/_tree.segment.rsc +1 -1
  11. package/.next/standalone/.next/server/app/_not-found.html +1 -1
  12. package/.next/standalone/.next/server/app/_not-found.rsc +1 -1
  13. package/.next/standalone/.next/server/app/_not-found.segments/_full.segment.rsc +1 -1
  14. package/.next/standalone/.next/server/app/_not-found.segments/_head.segment.rsc +1 -1
  15. package/.next/standalone/.next/server/app/_not-found.segments/_index.segment.rsc +1 -1
  16. package/.next/standalone/.next/server/app/_not-found.segments/_not-found/__PAGE__.segment.rsc +1 -1
  17. package/.next/standalone/.next/server/app/_not-found.segments/_not-found.segment.rsc +1 -1
  18. package/.next/standalone/.next/server/app/_not-found.segments/_tree.segment.rsc +1 -1
  19. package/.next/standalone/.next/server/app/api/agent/activity/route.js.nft.json +1 -1
  20. package/.next/standalone/.next/server/app/api/agent/events/[...path]/route.js.nft.json +1 -1
  21. package/.next/standalone/.next/server/app/api/agent/files/[...path]/route.js.nft.json +1 -1
  22. package/.next/standalone/.next/server/app/api/agent/fs/file/[...path]/route.js.nft.json +1 -1
  23. package/.next/standalone/.next/server/app/api/agent/fs/ls/[[...path]]/route.js.nft.json +1 -1
  24. package/.next/standalone/.next/server/app/api/agent/fs/move/route.js.nft.json +1 -1
  25. package/.next/standalone/.next/server/app/api/agent/fs/search/route.js.nft.json +1 -1
  26. package/.next/standalone/.next/server/app/api/agent/internal/span/route.js.nft.json +1 -1
  27. package/.next/standalone/.next/server/app/api/agent/settings/route.js.nft.json +1 -1
  28. package/.next/standalone/.next/server/app/api/agent/sidecar/[...path]/route.js.nft.json +1 -1
  29. package/.next/standalone/.next/server/app/api/assets/[...path]/route.js.nft.json +1 -1
  30. package/.next/standalone/.next/server/app/api/pdf/save/route.js.nft.json +1 -1
  31. package/.next/standalone/.next/server/app/api/share/[token]/route.js.nft.json +1 -1
  32. package/.next/standalone/.next/server/app/api/share/route.js.nft.json +1 -1
  33. package/.next/standalone/.next/server/app/api/system/reveal/route.js.nft.json +1 -1
  34. package/.next/standalone/.next/server/app/api/system/set-root/route.js.nft.json +1 -1
  35. package/.next/standalone/.next/server/app/api/system/workspaces/[id]/branch/route.js.nft.json +1 -1
  36. package/.next/standalone/.next/server/app/api/system/workspaces/[id]/open/route.js.nft.json +1 -1
  37. package/.next/standalone/.next/server/app/api/system/workspaces/[id]/refresh/route.js.nft.json +1 -1
  38. package/.next/standalone/.next/server/app/api/system/workspaces/[id]/route.js.nft.json +1 -1
  39. package/.next/standalone/.next/server/app/api/system/workspaces/route.js.nft.json +1 -1
  40. package/.next/standalone/.next/server/app/api/upload/[...path]/route.js.nft.json +1 -1
  41. package/.next/standalone/.next/server/app/api/wiki/app/route.js.nft.json +1 -1
  42. package/.next/standalone/.next/server/app/api/wiki/backlinks/route.js.nft.json +1 -1
  43. package/.next/standalone/.next/server/app/api/wiki/content/route.js.nft.json +1 -1
  44. package/.next/standalone/.next/server/app/api/wiki/download/route.js.nft.json +1 -1
  45. package/.next/standalone/.next/server/app/api/wiki/file/route.js.nft.json +1 -1
  46. package/.next/standalone/.next/server/app/api/wiki/folder/route.js.nft.json +1 -1
  47. package/.next/standalone/.next/server/app/api/wiki/git-branches/route.js.nft.json +1 -1
  48. package/.next/standalone/.next/server/app/api/wiki/git-checkout/route.js.nft.json +1 -1
  49. package/.next/standalone/.next/server/app/api/wiki/git-diff/route.js.nft.json +1 -1
  50. package/.next/standalone/.next/server/app/api/wiki/git-file-info/route.js.nft.json +1 -1
  51. package/.next/standalone/.next/server/app/api/wiki/git-history/route.js.nft.json +1 -1
  52. package/.next/standalone/.next/server/app/api/wiki/git-pull/route.js.nft.json +1 -1
  53. package/.next/standalone/.next/server/app/api/wiki/move/route.js.nft.json +1 -1
  54. package/.next/standalone/.next/server/app/api/wiki/new-file/route.js.nft.json +1 -1
  55. package/.next/standalone/.next/server/app/api/wiki/outlinks/route.js.nft.json +1 -1
  56. package/.next/standalone/.next/server/app/api/wiki/page/route.js.nft.json +1 -1
  57. package/.next/standalone/.next/server/app/api/wiki/presence/route.js.nft.json +1 -1
  58. package/.next/standalone/.next/server/app/api/wiki/route.js.nft.json +1 -1
  59. package/.next/standalone/.next/server/app/api/wiki/search/route.js.nft.json +1 -1
  60. package/.next/standalone/.next/server/app/api/wiki/slugs/route.js.nft.json +1 -1
  61. package/.next/standalone/.next/server/app/api/wiki/upload/route.js.nft.json +1 -1
  62. package/.next/standalone/.next/server/app/api/wiki/watch/route.js.nft.json +1 -1
  63. package/.next/standalone/.next/server/app/index.html +1 -1
  64. package/.next/standalone/.next/server/app/index.rsc +2 -2
  65. package/.next/standalone/.next/server/app/index.segments/__PAGE__.segment.rsc +2 -2
  66. package/.next/standalone/.next/server/app/index.segments/_full.segment.rsc +2 -2
  67. package/.next/standalone/.next/server/app/index.segments/_head.segment.rsc +1 -1
  68. package/.next/standalone/.next/server/app/index.segments/_index.segment.rsc +1 -1
  69. package/.next/standalone/.next/server/app/index.segments/_tree.segment.rsc +1 -1
  70. package/.next/standalone/.next/server/app/page_client-reference-manifest.js +1 -1
  71. package/.next/standalone/.next/server/chunks/[root-of-the-server]__0_0bqpg._.js +1 -1
  72. package/.next/standalone/.next/server/chunks/[root-of-the-server]__0oruwos._.js +1 -1
  73. package/.next/standalone/.next/server/chunks/ssr/_0v4uz-4._.js +1 -1
  74. package/.next/standalone/.next/server/middleware-build-manifest.js +3 -3
  75. package/.next/standalone/.next/server/middleware-manifest.json +5 -5
  76. package/.next/standalone/.next/server/pages/404.html +1 -1
  77. package/.next/standalone/.next/server/pages/500.html +1 -1
  78. package/.next/standalone/.next/server/server-reference-manifest.js +1 -1
  79. package/.next/standalone/.next/server/server-reference-manifest.json +1 -1
  80. package/.next/standalone/.next/static/chunks/{0gl6v9.~903y1.js → 11c7-ic7.2nku.js} +1 -1
  81. package/.next/standalone/package.json +1 -1
  82. package/package.json +1 -1
  83. /package/.next/standalone/.next/static/{k4XXbfu7olv4gjF_tDlp8 → UtyzK6PyXG4aFWE56UHZq}/_buildManifest.js +0 -0
  84. /package/.next/standalone/.next/static/{k4XXbfu7olv4gjF_tDlp8 → UtyzK6PyXG4aFWE56UHZq}/_clientMiddlewareManifest.js +0 -0
  85. /package/.next/standalone/.next/static/{k4XXbfu7olv4gjF_tDlp8 → UtyzK6PyXG4aFWE56UHZq}/_ssgManifest.js +0 -0
@@ -4,7 +4,7 @@
4
4
  4:I[259666,["/_next/static/chunks/0umlolnxs~j3r.js","/_next/static/chunks/057umwogp53v_.js","/_next/static/chunks/0ky8fha87kp0_.js"],"default"]
5
5
  5:I[187014,["/_next/static/chunks/0umlolnxs~j3r.js","/_next/static/chunks/057umwogp53v_.js","/_next/static/chunks/0ky8fha87kp0_.js"],"Toaster"]
6
6
  6:I[687919,["/_next/static/chunks/0umlolnxs~j3r.js","/_next/static/chunks/057umwogp53v_.js","/_next/static/chunks/0ky8fha87kp0_.js"],"ClientPageRoot"]
7
- 7:I[952683,["/_next/static/chunks/0umlolnxs~j3r.js","/_next/static/chunks/057umwogp53v_.js","/_next/static/chunks/0ky8fha87kp0_.js","/_next/static/chunks/0~m~l6t.25dxo.js","/_next/static/chunks/1012fl5fxholx.js","/_next/static/chunks/07mgvytssm8ww.js","/_next/static/chunks/0-p6_utxe5a_8.js","/_next/static/chunks/0alhqgtsl8w~~.js","/_next/static/chunks/0gl6v9.~903y1.js"],"default"]
7
+ 7:I[952683,["/_next/static/chunks/0umlolnxs~j3r.js","/_next/static/chunks/057umwogp53v_.js","/_next/static/chunks/0ky8fha87kp0_.js","/_next/static/chunks/0~m~l6t.25dxo.js","/_next/static/chunks/1012fl5fxholx.js","/_next/static/chunks/07mgvytssm8ww.js","/_next/static/chunks/0-p6_utxe5a_8.js","/_next/static/chunks/0alhqgtsl8w~~.js","/_next/static/chunks/11c7-ic7.2nku.js"],"default"]
8
8
  a:I[62711,["/_next/static/chunks/0umlolnxs~j3r.js","/_next/static/chunks/057umwogp53v_.js","/_next/static/chunks/0ky8fha87kp0_.js"],"OutletBoundary"]
9
9
  b:"$Sreact.suspense"
10
10
  d:I[62711,["/_next/static/chunks/0umlolnxs~j3r.js","/_next/static/chunks/057umwogp53v_.js","/_next/static/chunks/0ky8fha87kp0_.js"],"ViewportBoundary"]
@@ -18,7 +18,7 @@ f:I[62711,["/_next/static/chunks/0umlolnxs~j3r.js","/_next/static/chunks/057umwo
18
18
  :HL["/_next/static/media/99e609270109b47d-s.p.16-z~2sp29ex6.woff2","font",{"crossOrigin":"","type":"font/woff2"}]
19
19
  :HL["/_next/static/media/d38f3bca7db33566-s.p.07n94j49quulv.woff2","font",{"crossOrigin":"","type":"font/woff2"}]
20
20
  :HL["/_next/static/media/effe91970fc4db64-s.p.07ig5l8azj~hy.woff2","font",{"crossOrigin":"","type":"font/woff2"}]
21
- 0:{"P":null,"c":["",""],"q":"","i":false,"f":[[["",{"children":["__PAGE__",{}]},"$undefined","$undefined",16],[["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/chunks/0ncw5hhg~98~p.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}],["$","script","script-0",{"src":"/_next/static/chunks/0umlolnxs~j3r.js","async":true,"nonce":"$undefined"}],["$","script","script-1",{"src":"/_next/static/chunks/057umwogp53v_.js","async":true,"nonce":"$undefined"}],["$","script","script-2",{"src":"/_next/static/chunks/0ky8fha87kp0_.js","async":true,"nonce":"$undefined"}]],["$","html",null,{"lang":"en","suppressHydrationWarning":true,"children":[["$","head",null,{"children":["$","script",null,{"dangerouslySetInnerHTML":{"__html":"(function(){try{var s=localStorage.getItem('wiki-skin');if(s!=='default'){document.documentElement.setAttribute('data-skin','editorial');}}catch(e){}})();"}}]}],["$","body",null,{"className":"inter_5901b7c6-module__ec5Qua__variable fraunces_b92072b0-module__sw6Q8q__variable newsreader_c4814ff8-module__L-7Q2W__variable ibm_plex_mono_120c816a-module__Ikjzxa__variable font-sans antialiased","children":["$","$L2",null,{"children":[["$","$L3",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L4",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"fontFamily":"system-ui,\"Segoe UI\",Roboto,Helvetica,Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\"","height":"100vh","textAlign":"center","display":"flex","flexDirection":"column","alignItems":"center","justifyContent":"center"},"children":["$","div",null,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":404}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]],[]],"forbidden":"$undefined","unauthorized":"$undefined"}],["$","$L5",null,{"theme":"system","position":"bottom-right","toastOptions":{"className":"border-border bg-card text-card-foreground"}}]]}]}]]}]]}],{"children":[["$","$1","c",{"children":[["$","$L6",null,{"Component":"$7","serverProvidedParams":{"searchParams":{},"params":{},"promises":["$@8","$@9"]}}],[["$","script","script-0",{"src":"/_next/static/chunks/0~m~l6t.25dxo.js","async":true,"nonce":"$undefined"}],["$","script","script-1",{"src":"/_next/static/chunks/1012fl5fxholx.js","async":true,"nonce":"$undefined"}],["$","script","script-2",{"src":"/_next/static/chunks/07mgvytssm8ww.js","async":true,"nonce":"$undefined"}],["$","script","script-3",{"src":"/_next/static/chunks/0-p6_utxe5a_8.js","async":true,"nonce":"$undefined"}],["$","script","script-4",{"src":"/_next/static/chunks/0alhqgtsl8w~~.js","async":true,"nonce":"$undefined"}],["$","script","script-5",{"src":"/_next/static/chunks/0gl6v9.~903y1.js","async":true,"nonce":"$undefined"}]],["$","$La",null,{"children":["$","$b",null,{"name":"Next.MetadataOutlet","children":"$@c"}]}]]}],{},null,false,null]},null,false,null],["$","$1","h",{"children":[null,["$","$Ld",null,{"children":"$Le"}],["$","div",null,{"hidden":true,"children":["$","$Lf",null,{"children":["$","$b",null,{"name":"Next.Metadata","children":"$L10"}]}]}],["$","meta",null,{"name":"next-size-adjust","content":""}]]}],false]],"m":"$undefined","G":["$11",[["$","link","0",{"rel":"stylesheet","href":"/_next/static/chunks/0ncw5hhg~98~p.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}]]],"S":true,"h":null,"s":"$undefined","l":"$undefined","p":"$undefined","d":"$undefined","b":"k4XXbfu7olv4gjF_tDlp8"}
21
+ 0:{"P":null,"c":["",""],"q":"","i":false,"f":[[["",{"children":["__PAGE__",{}]},"$undefined","$undefined",16],[["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/chunks/0ncw5hhg~98~p.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}],["$","script","script-0",{"src":"/_next/static/chunks/0umlolnxs~j3r.js","async":true,"nonce":"$undefined"}],["$","script","script-1",{"src":"/_next/static/chunks/057umwogp53v_.js","async":true,"nonce":"$undefined"}],["$","script","script-2",{"src":"/_next/static/chunks/0ky8fha87kp0_.js","async":true,"nonce":"$undefined"}]],["$","html",null,{"lang":"en","suppressHydrationWarning":true,"children":[["$","head",null,{"children":["$","script",null,{"dangerouslySetInnerHTML":{"__html":"(function(){try{var s=localStorage.getItem('wiki-skin');if(s!=='default'){document.documentElement.setAttribute('data-skin','editorial');}}catch(e){}})();"}}]}],["$","body",null,{"className":"inter_5901b7c6-module__ec5Qua__variable fraunces_b92072b0-module__sw6Q8q__variable newsreader_c4814ff8-module__L-7Q2W__variable ibm_plex_mono_120c816a-module__Ikjzxa__variable font-sans antialiased","children":["$","$L2",null,{"children":[["$","$L3",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L4",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"fontFamily":"system-ui,\"Segoe UI\",Roboto,Helvetica,Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\"","height":"100vh","textAlign":"center","display":"flex","flexDirection":"column","alignItems":"center","justifyContent":"center"},"children":["$","div",null,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":404}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]],[]],"forbidden":"$undefined","unauthorized":"$undefined"}],["$","$L5",null,{"theme":"system","position":"bottom-right","toastOptions":{"className":"border-border bg-card text-card-foreground"}}]]}]}]]}]]}],{"children":[["$","$1","c",{"children":[["$","$L6",null,{"Component":"$7","serverProvidedParams":{"searchParams":{},"params":{},"promises":["$@8","$@9"]}}],[["$","script","script-0",{"src":"/_next/static/chunks/0~m~l6t.25dxo.js","async":true,"nonce":"$undefined"}],["$","script","script-1",{"src":"/_next/static/chunks/1012fl5fxholx.js","async":true,"nonce":"$undefined"}],["$","script","script-2",{"src":"/_next/static/chunks/07mgvytssm8ww.js","async":true,"nonce":"$undefined"}],["$","script","script-3",{"src":"/_next/static/chunks/0-p6_utxe5a_8.js","async":true,"nonce":"$undefined"}],["$","script","script-4",{"src":"/_next/static/chunks/0alhqgtsl8w~~.js","async":true,"nonce":"$undefined"}],["$","script","script-5",{"src":"/_next/static/chunks/11c7-ic7.2nku.js","async":true,"nonce":"$undefined"}]],["$","$La",null,{"children":["$","$b",null,{"name":"Next.MetadataOutlet","children":"$@c"}]}]]}],{},null,false,null]},null,false,null],["$","$1","h",{"children":[null,["$","$Ld",null,{"children":"$Le"}],["$","div",null,{"hidden":true,"children":["$","$Lf",null,{"children":["$","$b",null,{"name":"Next.Metadata","children":"$L10"}]}]}],["$","meta",null,{"name":"next-size-adjust","content":""}]]}],false]],"m":"$undefined","G":["$11",[["$","link","0",{"rel":"stylesheet","href":"/_next/static/chunks/0ncw5hhg~98~p.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}]]],"S":true,"h":null,"s":"$undefined","l":"$undefined","p":"$undefined","d":"$undefined","b":"UtyzK6PyXG4aFWE56UHZq"}
22
22
  8:{}
23
23
  9:"$0:f:0:1:1:children:0:props:children:0:props:serverProvidedParams:params"
24
24
  e:[["$","meta","0",{"charSet":"utf-8"}],["$","meta","1",{"name":"viewport","content":"width=device-width, initial-scale=1"}],["$","meta","2",{"name":"theme-color","content":"#0c0a09"}]]
@@ -1,9 +1,9 @@
1
1
  1:"$Sreact.fragment"
2
2
  2:I[687919,["/_next/static/chunks/0umlolnxs~j3r.js","/_next/static/chunks/057umwogp53v_.js","/_next/static/chunks/0ky8fha87kp0_.js"],"ClientPageRoot"]
3
- 3:I[952683,["/_next/static/chunks/0umlolnxs~j3r.js","/_next/static/chunks/057umwogp53v_.js","/_next/static/chunks/0ky8fha87kp0_.js","/_next/static/chunks/0~m~l6t.25dxo.js","/_next/static/chunks/1012fl5fxholx.js","/_next/static/chunks/07mgvytssm8ww.js","/_next/static/chunks/0-p6_utxe5a_8.js","/_next/static/chunks/0alhqgtsl8w~~.js","/_next/static/chunks/0gl6v9.~903y1.js"],"default"]
3
+ 3:I[952683,["/_next/static/chunks/0umlolnxs~j3r.js","/_next/static/chunks/057umwogp53v_.js","/_next/static/chunks/0ky8fha87kp0_.js","/_next/static/chunks/0~m~l6t.25dxo.js","/_next/static/chunks/1012fl5fxholx.js","/_next/static/chunks/07mgvytssm8ww.js","/_next/static/chunks/0-p6_utxe5a_8.js","/_next/static/chunks/0alhqgtsl8w~~.js","/_next/static/chunks/11c7-ic7.2nku.js"],"default"]
4
4
  6:I[62711,["/_next/static/chunks/0umlolnxs~j3r.js","/_next/static/chunks/057umwogp53v_.js","/_next/static/chunks/0ky8fha87kp0_.js"],"OutletBoundary"]
5
5
  7:"$Sreact.suspense"
6
- 0:{"rsc":["$","$1","c",{"children":[["$","$L2",null,{"Component":"$3","serverProvidedParams":{"searchParams":{},"params":{},"promises":["$@4","$@5"]}}],[["$","script","script-0",{"src":"/_next/static/chunks/0~m~l6t.25dxo.js","async":true}],["$","script","script-1",{"src":"/_next/static/chunks/1012fl5fxholx.js","async":true}],["$","script","script-2",{"src":"/_next/static/chunks/07mgvytssm8ww.js","async":true}],["$","script","script-3",{"src":"/_next/static/chunks/0-p6_utxe5a_8.js","async":true}],["$","script","script-4",{"src":"/_next/static/chunks/0alhqgtsl8w~~.js","async":true}],["$","script","script-5",{"src":"/_next/static/chunks/0gl6v9.~903y1.js","async":true}]],["$","$L6",null,{"children":["$","$7",null,{"name":"Next.MetadataOutlet","children":"$@8"}]}]]}],"isPartial":false,"staleTime":300,"varyParams":null,"buildId":"k4XXbfu7olv4gjF_tDlp8"}
6
+ 0:{"rsc":["$","$1","c",{"children":[["$","$L2",null,{"Component":"$3","serverProvidedParams":{"searchParams":{},"params":{},"promises":["$@4","$@5"]}}],[["$","script","script-0",{"src":"/_next/static/chunks/0~m~l6t.25dxo.js","async":true}],["$","script","script-1",{"src":"/_next/static/chunks/1012fl5fxholx.js","async":true}],["$","script","script-2",{"src":"/_next/static/chunks/07mgvytssm8ww.js","async":true}],["$","script","script-3",{"src":"/_next/static/chunks/0-p6_utxe5a_8.js","async":true}],["$","script","script-4",{"src":"/_next/static/chunks/0alhqgtsl8w~~.js","async":true}],["$","script","script-5",{"src":"/_next/static/chunks/11c7-ic7.2nku.js","async":true}]],["$","$L6",null,{"children":["$","$7",null,{"name":"Next.MetadataOutlet","children":"$@8"}]}]]}],"isPartial":false,"staleTime":300,"varyParams":null,"buildId":"UtyzK6PyXG4aFWE56UHZq"}
7
7
  4:{}
8
8
  5:"$0:rsc:props:children:0:props:serverProvidedParams:params"
9
9
  8:null
@@ -4,7 +4,7 @@
4
4
  4:I[259666,["/_next/static/chunks/0umlolnxs~j3r.js","/_next/static/chunks/057umwogp53v_.js","/_next/static/chunks/0ky8fha87kp0_.js"],"default"]
5
5
  5:I[187014,["/_next/static/chunks/0umlolnxs~j3r.js","/_next/static/chunks/057umwogp53v_.js","/_next/static/chunks/0ky8fha87kp0_.js"],"Toaster"]
6
6
  6:I[687919,["/_next/static/chunks/0umlolnxs~j3r.js","/_next/static/chunks/057umwogp53v_.js","/_next/static/chunks/0ky8fha87kp0_.js"],"ClientPageRoot"]
7
- 7:I[952683,["/_next/static/chunks/0umlolnxs~j3r.js","/_next/static/chunks/057umwogp53v_.js","/_next/static/chunks/0ky8fha87kp0_.js","/_next/static/chunks/0~m~l6t.25dxo.js","/_next/static/chunks/1012fl5fxholx.js","/_next/static/chunks/07mgvytssm8ww.js","/_next/static/chunks/0-p6_utxe5a_8.js","/_next/static/chunks/0alhqgtsl8w~~.js","/_next/static/chunks/0gl6v9.~903y1.js"],"default"]
7
+ 7:I[952683,["/_next/static/chunks/0umlolnxs~j3r.js","/_next/static/chunks/057umwogp53v_.js","/_next/static/chunks/0ky8fha87kp0_.js","/_next/static/chunks/0~m~l6t.25dxo.js","/_next/static/chunks/1012fl5fxholx.js","/_next/static/chunks/07mgvytssm8ww.js","/_next/static/chunks/0-p6_utxe5a_8.js","/_next/static/chunks/0alhqgtsl8w~~.js","/_next/static/chunks/11c7-ic7.2nku.js"],"default"]
8
8
  a:I[62711,["/_next/static/chunks/0umlolnxs~j3r.js","/_next/static/chunks/057umwogp53v_.js","/_next/static/chunks/0ky8fha87kp0_.js"],"OutletBoundary"]
9
9
  b:"$Sreact.suspense"
10
10
  d:I[62711,["/_next/static/chunks/0umlolnxs~j3r.js","/_next/static/chunks/057umwogp53v_.js","/_next/static/chunks/0ky8fha87kp0_.js"],"ViewportBoundary"]
@@ -18,7 +18,7 @@ f:I[62711,["/_next/static/chunks/0umlolnxs~j3r.js","/_next/static/chunks/057umwo
18
18
  :HL["/_next/static/media/99e609270109b47d-s.p.16-z~2sp29ex6.woff2","font",{"crossOrigin":"","type":"font/woff2"}]
19
19
  :HL["/_next/static/media/d38f3bca7db33566-s.p.07n94j49quulv.woff2","font",{"crossOrigin":"","type":"font/woff2"}]
20
20
  :HL["/_next/static/media/effe91970fc4db64-s.p.07ig5l8azj~hy.woff2","font",{"crossOrigin":"","type":"font/woff2"}]
21
- 0:{"P":null,"c":["",""],"q":"","i":false,"f":[[["",{"children":["__PAGE__",{}]},"$undefined","$undefined",16],[["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/chunks/0ncw5hhg~98~p.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}],["$","script","script-0",{"src":"/_next/static/chunks/0umlolnxs~j3r.js","async":true,"nonce":"$undefined"}],["$","script","script-1",{"src":"/_next/static/chunks/057umwogp53v_.js","async":true,"nonce":"$undefined"}],["$","script","script-2",{"src":"/_next/static/chunks/0ky8fha87kp0_.js","async":true,"nonce":"$undefined"}]],["$","html",null,{"lang":"en","suppressHydrationWarning":true,"children":[["$","head",null,{"children":["$","script",null,{"dangerouslySetInnerHTML":{"__html":"(function(){try{var s=localStorage.getItem('wiki-skin');if(s!=='default'){document.documentElement.setAttribute('data-skin','editorial');}}catch(e){}})();"}}]}],["$","body",null,{"className":"inter_5901b7c6-module__ec5Qua__variable fraunces_b92072b0-module__sw6Q8q__variable newsreader_c4814ff8-module__L-7Q2W__variable ibm_plex_mono_120c816a-module__Ikjzxa__variable font-sans antialiased","children":["$","$L2",null,{"children":[["$","$L3",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L4",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"fontFamily":"system-ui,\"Segoe UI\",Roboto,Helvetica,Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\"","height":"100vh","textAlign":"center","display":"flex","flexDirection":"column","alignItems":"center","justifyContent":"center"},"children":["$","div",null,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":404}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]],[]],"forbidden":"$undefined","unauthorized":"$undefined"}],["$","$L5",null,{"theme":"system","position":"bottom-right","toastOptions":{"className":"border-border bg-card text-card-foreground"}}]]}]}]]}]]}],{"children":[["$","$1","c",{"children":[["$","$L6",null,{"Component":"$7","serverProvidedParams":{"searchParams":{},"params":{},"promises":["$@8","$@9"]}}],[["$","script","script-0",{"src":"/_next/static/chunks/0~m~l6t.25dxo.js","async":true,"nonce":"$undefined"}],["$","script","script-1",{"src":"/_next/static/chunks/1012fl5fxholx.js","async":true,"nonce":"$undefined"}],["$","script","script-2",{"src":"/_next/static/chunks/07mgvytssm8ww.js","async":true,"nonce":"$undefined"}],["$","script","script-3",{"src":"/_next/static/chunks/0-p6_utxe5a_8.js","async":true,"nonce":"$undefined"}],["$","script","script-4",{"src":"/_next/static/chunks/0alhqgtsl8w~~.js","async":true,"nonce":"$undefined"}],["$","script","script-5",{"src":"/_next/static/chunks/0gl6v9.~903y1.js","async":true,"nonce":"$undefined"}]],["$","$La",null,{"children":["$","$b",null,{"name":"Next.MetadataOutlet","children":"$@c"}]}]]}],{},null,false,null]},null,false,null],["$","$1","h",{"children":[null,["$","$Ld",null,{"children":"$Le"}],["$","div",null,{"hidden":true,"children":["$","$Lf",null,{"children":["$","$b",null,{"name":"Next.Metadata","children":"$L10"}]}]}],["$","meta",null,{"name":"next-size-adjust","content":""}]]}],false]],"m":"$undefined","G":["$11",[["$","link","0",{"rel":"stylesheet","href":"/_next/static/chunks/0ncw5hhg~98~p.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}]]],"S":true,"h":null,"s":"$undefined","l":"$undefined","p":"$undefined","d":"$undefined","b":"k4XXbfu7olv4gjF_tDlp8"}
21
+ 0:{"P":null,"c":["",""],"q":"","i":false,"f":[[["",{"children":["__PAGE__",{}]},"$undefined","$undefined",16],[["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/chunks/0ncw5hhg~98~p.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}],["$","script","script-0",{"src":"/_next/static/chunks/0umlolnxs~j3r.js","async":true,"nonce":"$undefined"}],["$","script","script-1",{"src":"/_next/static/chunks/057umwogp53v_.js","async":true,"nonce":"$undefined"}],["$","script","script-2",{"src":"/_next/static/chunks/0ky8fha87kp0_.js","async":true,"nonce":"$undefined"}]],["$","html",null,{"lang":"en","suppressHydrationWarning":true,"children":[["$","head",null,{"children":["$","script",null,{"dangerouslySetInnerHTML":{"__html":"(function(){try{var s=localStorage.getItem('wiki-skin');if(s!=='default'){document.documentElement.setAttribute('data-skin','editorial');}}catch(e){}})();"}}]}],["$","body",null,{"className":"inter_5901b7c6-module__ec5Qua__variable fraunces_b92072b0-module__sw6Q8q__variable newsreader_c4814ff8-module__L-7Q2W__variable ibm_plex_mono_120c816a-module__Ikjzxa__variable font-sans antialiased","children":["$","$L2",null,{"children":[["$","$L3",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L4",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"fontFamily":"system-ui,\"Segoe UI\",Roboto,Helvetica,Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\"","height":"100vh","textAlign":"center","display":"flex","flexDirection":"column","alignItems":"center","justifyContent":"center"},"children":["$","div",null,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":404}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]],[]],"forbidden":"$undefined","unauthorized":"$undefined"}],["$","$L5",null,{"theme":"system","position":"bottom-right","toastOptions":{"className":"border-border bg-card text-card-foreground"}}]]}]}]]}]]}],{"children":[["$","$1","c",{"children":[["$","$L6",null,{"Component":"$7","serverProvidedParams":{"searchParams":{},"params":{},"promises":["$@8","$@9"]}}],[["$","script","script-0",{"src":"/_next/static/chunks/0~m~l6t.25dxo.js","async":true,"nonce":"$undefined"}],["$","script","script-1",{"src":"/_next/static/chunks/1012fl5fxholx.js","async":true,"nonce":"$undefined"}],["$","script","script-2",{"src":"/_next/static/chunks/07mgvytssm8ww.js","async":true,"nonce":"$undefined"}],["$","script","script-3",{"src":"/_next/static/chunks/0-p6_utxe5a_8.js","async":true,"nonce":"$undefined"}],["$","script","script-4",{"src":"/_next/static/chunks/0alhqgtsl8w~~.js","async":true,"nonce":"$undefined"}],["$","script","script-5",{"src":"/_next/static/chunks/11c7-ic7.2nku.js","async":true,"nonce":"$undefined"}]],["$","$La",null,{"children":["$","$b",null,{"name":"Next.MetadataOutlet","children":"$@c"}]}]]}],{},null,false,null]},null,false,null],["$","$1","h",{"children":[null,["$","$Ld",null,{"children":"$Le"}],["$","div",null,{"hidden":true,"children":["$","$Lf",null,{"children":["$","$b",null,{"name":"Next.Metadata","children":"$L10"}]}]}],["$","meta",null,{"name":"next-size-adjust","content":""}]]}],false]],"m":"$undefined","G":["$11",[["$","link","0",{"rel":"stylesheet","href":"/_next/static/chunks/0ncw5hhg~98~p.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}]]],"S":true,"h":null,"s":"$undefined","l":"$undefined","p":"$undefined","d":"$undefined","b":"UtyzK6PyXG4aFWE56UHZq"}
22
22
  8:{}
23
23
  9:"$0:f:0:1:1:children:0:props:children:0:props:serverProvidedParams:params"
24
24
  e:[["$","meta","0",{"charSet":"utf-8"}],["$","meta","1",{"name":"viewport","content":"width=device-width, initial-scale=1"}],["$","meta","2",{"name":"theme-color","content":"#0c0a09"}]]
@@ -3,4 +3,4 @@
3
3
  3:I[62711,["/_next/static/chunks/0umlolnxs~j3r.js","/_next/static/chunks/057umwogp53v_.js","/_next/static/chunks/0ky8fha87kp0_.js"],"MetadataBoundary"]
4
4
  4:"$Sreact.suspense"
5
5
  5:I[319772,["/_next/static/chunks/0umlolnxs~j3r.js","/_next/static/chunks/057umwogp53v_.js","/_next/static/chunks/0ky8fha87kp0_.js"],"IconMark"]
6
- 0:{"rsc":["$","$1","h",{"children":[null,["$","$L2",null,{"children":[["$","meta","0",{"charSet":"utf-8"}],["$","meta","1",{"name":"viewport","content":"width=device-width, initial-scale=1"}],["$","meta","2",{"name":"theme-color","content":"#0c0a09"}]]}],["$","div",null,{"hidden":true,"children":["$","$L3",null,{"children":["$","$4",null,{"name":"Next.Metadata","children":[["$","title","0",{"children":"Wiki Viewer"}],["$","meta","1",{"name":"description","content":"Local file browser, viewer, and editor"}],["$","link","2",{"rel":"manifest","href":"/manifest.webmanifest"}],["$","meta","3",{"name":"mobile-web-app-capable","content":"yes"}],["$","meta","4",{"name":"apple-mobile-web-app-title","content":"Wiki"}],["$","meta","5",{"name":"apple-mobile-web-app-status-bar-style","content":"black-translucent"}],["$","link","6",{"rel":"icon","href":"/icon-192.png"}],["$","link","7",{"rel":"apple-touch-icon","href":"/icon-192.png"}],["$","$L5","8",{}]]}]}]}],["$","meta",null,{"name":"next-size-adjust","content":""}]]}],"isPartial":false,"staleTime":300,"varyParams":null,"buildId":"k4XXbfu7olv4gjF_tDlp8"}
6
+ 0:{"rsc":["$","$1","h",{"children":[null,["$","$L2",null,{"children":[["$","meta","0",{"charSet":"utf-8"}],["$","meta","1",{"name":"viewport","content":"width=device-width, initial-scale=1"}],["$","meta","2",{"name":"theme-color","content":"#0c0a09"}]]}],["$","div",null,{"hidden":true,"children":["$","$L3",null,{"children":["$","$4",null,{"name":"Next.Metadata","children":[["$","title","0",{"children":"Wiki Viewer"}],["$","meta","1",{"name":"description","content":"Local file browser, viewer, and editor"}],["$","link","2",{"rel":"manifest","href":"/manifest.webmanifest"}],["$","meta","3",{"name":"mobile-web-app-capable","content":"yes"}],["$","meta","4",{"name":"apple-mobile-web-app-title","content":"Wiki"}],["$","meta","5",{"name":"apple-mobile-web-app-status-bar-style","content":"black-translucent"}],["$","link","6",{"rel":"icon","href":"/icon-192.png"}],["$","link","7",{"rel":"apple-touch-icon","href":"/icon-192.png"}],["$","$L5","8",{}]]}]}]}],["$","meta",null,{"name":"next-size-adjust","content":""}]]}],"isPartial":false,"staleTime":300,"varyParams":null,"buildId":"UtyzK6PyXG4aFWE56UHZq"}
@@ -4,4 +4,4 @@
4
4
  4:I[259666,["/_next/static/chunks/0umlolnxs~j3r.js","/_next/static/chunks/057umwogp53v_.js","/_next/static/chunks/0ky8fha87kp0_.js"],"default"]
5
5
  5:I[187014,["/_next/static/chunks/0umlolnxs~j3r.js","/_next/static/chunks/057umwogp53v_.js","/_next/static/chunks/0ky8fha87kp0_.js"],"Toaster"]
6
6
  :HL["/_next/static/chunks/0ncw5hhg~98~p.css","style"]
7
- 0:{"rsc":["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/chunks/0ncw5hhg~98~p.css","precedence":"next"}],["$","script","script-0",{"src":"/_next/static/chunks/0umlolnxs~j3r.js","async":true}],["$","script","script-1",{"src":"/_next/static/chunks/057umwogp53v_.js","async":true}],["$","script","script-2",{"src":"/_next/static/chunks/0ky8fha87kp0_.js","async":true}]],["$","html",null,{"lang":"en","suppressHydrationWarning":true,"children":[["$","head",null,{"children":["$","script",null,{"dangerouslySetInnerHTML":{"__html":"(function(){try{var s=localStorage.getItem('wiki-skin');if(s!=='default'){document.documentElement.setAttribute('data-skin','editorial');}}catch(e){}})();"}}]}],["$","body",null,{"className":"inter_5901b7c6-module__ec5Qua__variable fraunces_b92072b0-module__sw6Q8q__variable newsreader_c4814ff8-module__L-7Q2W__variable ibm_plex_mono_120c816a-module__Ikjzxa__variable font-sans antialiased","children":["$","$L2",null,{"children":[["$","$L3",null,{"parallelRouterKey":"children","template":["$","$L4",null,{}],"notFound":[[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"fontFamily":"system-ui,\"Segoe UI\",Roboto,Helvetica,Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\"","height":"100vh","textAlign":"center","display":"flex","flexDirection":"column","alignItems":"center","justifyContent":"center"},"children":["$","div",null,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":404}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]],[]]}],["$","$L5",null,{"theme":"system","position":"bottom-right","toastOptions":{"className":"border-border bg-card text-card-foreground"}}]]}]}]]}]]}],"isPartial":false,"staleTime":300,"varyParams":null,"buildId":"k4XXbfu7olv4gjF_tDlp8"}
7
+ 0:{"rsc":["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/chunks/0ncw5hhg~98~p.css","precedence":"next"}],["$","script","script-0",{"src":"/_next/static/chunks/0umlolnxs~j3r.js","async":true}],["$","script","script-1",{"src":"/_next/static/chunks/057umwogp53v_.js","async":true}],["$","script","script-2",{"src":"/_next/static/chunks/0ky8fha87kp0_.js","async":true}]],["$","html",null,{"lang":"en","suppressHydrationWarning":true,"children":[["$","head",null,{"children":["$","script",null,{"dangerouslySetInnerHTML":{"__html":"(function(){try{var s=localStorage.getItem('wiki-skin');if(s!=='default'){document.documentElement.setAttribute('data-skin','editorial');}}catch(e){}})();"}}]}],["$","body",null,{"className":"inter_5901b7c6-module__ec5Qua__variable fraunces_b92072b0-module__sw6Q8q__variable newsreader_c4814ff8-module__L-7Q2W__variable ibm_plex_mono_120c816a-module__Ikjzxa__variable font-sans antialiased","children":["$","$L2",null,{"children":[["$","$L3",null,{"parallelRouterKey":"children","template":["$","$L4",null,{}],"notFound":[[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"fontFamily":"system-ui,\"Segoe UI\",Roboto,Helvetica,Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\"","height":"100vh","textAlign":"center","display":"flex","flexDirection":"column","alignItems":"center","justifyContent":"center"},"children":["$","div",null,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":404}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]],[]]}],["$","$L5",null,{"theme":"system","position":"bottom-right","toastOptions":{"className":"border-border bg-card text-card-foreground"}}]]}]}]]}]]}],"isPartial":false,"staleTime":300,"varyParams":null,"buildId":"UtyzK6PyXG4aFWE56UHZq"}
@@ -6,4 +6,4 @@
6
6
  :HL["/_next/static/media/99e609270109b47d-s.p.16-z~2sp29ex6.woff2","font",{"crossOrigin":"","type":"font/woff2"}]
7
7
  :HL["/_next/static/media/d38f3bca7db33566-s.p.07n94j49quulv.woff2","font",{"crossOrigin":"","type":"font/woff2"}]
8
8
  :HL["/_next/static/media/effe91970fc4db64-s.p.07ig5l8azj~hy.woff2","font",{"crossOrigin":"","type":"font/woff2"}]
9
- 0:{"tree":{"name":"","param":null,"prefetchHints":16,"slots":{"children":{"name":"__PAGE__","param":null,"prefetchHints":0,"slots":null}}},"staleTime":300,"buildId":"k4XXbfu7olv4gjF_tDlp8"}
9
+ 0:{"tree":{"name":"","param":null,"prefetchHints":16,"slots":{"children":{"name":"__PAGE__","param":null,"prefetchHints":0,"slots":null}}},"staleTime":300,"buildId":"UtyzK6PyXG4aFWE56UHZq"}
@@ -1,3 +1,3 @@
1
1
  globalThis.__RSC_MANIFEST = globalThis.__RSC_MANIFEST || {};
2
- globalThis.__RSC_MANIFEST["/page"] = {"moduleLoading":{"prefix":"","crossOrigin":null},"clientModules":{"[project]/node_modules/.pnpm/next@16.2.4_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/next/dist/esm/client/components/layout-router.js <module evaluation>":{"id":902063,"name":"*","chunks":["/_next/static/chunks/0umlolnxs~j3r.js","/_next/static/chunks/057umwogp53v_.js","/_next/static/chunks/0ky8fha87kp0_.js"],"async":false},"[project]/node_modules/.pnpm/next@16.2.4_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/next/dist/esm/client/components/layout-router.js":{"id":902063,"name":"*","chunks":["/_next/static/chunks/0umlolnxs~j3r.js","/_next/static/chunks/057umwogp53v_.js","/_next/static/chunks/0ky8fha87kp0_.js"],"async":false},"[project]/node_modules/.pnpm/next@16.2.4_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/next/dist/esm/client/components/render-from-template-context.js <module evaluation>":{"id":259666,"name":"*","chunks":["/_next/static/chunks/0umlolnxs~j3r.js","/_next/static/chunks/057umwogp53v_.js","/_next/static/chunks/0ky8fha87kp0_.js"],"async":false},"[project]/node_modules/.pnpm/next@16.2.4_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/next/dist/esm/client/components/render-from-template-context.js":{"id":259666,"name":"*","chunks":["/_next/static/chunks/0umlolnxs~j3r.js","/_next/static/chunks/057umwogp53v_.js","/_next/static/chunks/0ky8fha87kp0_.js"],"async":false},"[project]/node_modules/.pnpm/next@16.2.4_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/next/dist/esm/client/components/client-page.js <module evaluation>":{"id":687919,"name":"*","chunks":["/_next/static/chunks/0umlolnxs~j3r.js","/_next/static/chunks/057umwogp53v_.js","/_next/static/chunks/0ky8fha87kp0_.js"],"async":false},"[project]/node_modules/.pnpm/next@16.2.4_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/next/dist/esm/client/components/client-page.js":{"id":687919,"name":"*","chunks":["/_next/static/chunks/0umlolnxs~j3r.js","/_next/static/chunks/057umwogp53v_.js","/_next/static/chunks/0ky8fha87kp0_.js"],"async":false},"[project]/node_modules/.pnpm/next@16.2.4_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/next/dist/esm/client/components/client-segment.js <module evaluation>":{"id":767206,"name":"*","chunks":["/_next/static/chunks/0umlolnxs~j3r.js","/_next/static/chunks/057umwogp53v_.js","/_next/static/chunks/0ky8fha87kp0_.js"],"async":false},"[project]/node_modules/.pnpm/next@16.2.4_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/next/dist/esm/client/components/client-segment.js":{"id":767206,"name":"*","chunks":["/_next/static/chunks/0umlolnxs~j3r.js","/_next/static/chunks/057umwogp53v_.js","/_next/static/chunks/0ky8fha87kp0_.js"],"async":false},"[project]/node_modules/.pnpm/next@16.2.4_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js <module evaluation>":{"id":845990,"name":"*","chunks":["/_next/static/chunks/0umlolnxs~j3r.js","/_next/static/chunks/057umwogp53v_.js","/_next/static/chunks/0ky8fha87kp0_.js"],"async":false},"[project]/node_modules/.pnpm/next@16.2.4_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js":{"id":845990,"name":"*","chunks":["/_next/static/chunks/0umlolnxs~j3r.js","/_next/static/chunks/057umwogp53v_.js","/_next/static/chunks/0ky8fha87kp0_.js"],"async":false},"[project]/node_modules/.pnpm/next@16.2.4_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/next/dist/esm/lib/framework/boundary-components.js <module evaluation>":{"id":62711,"name":"*","chunks":["/_next/static/chunks/0umlolnxs~j3r.js","/_next/static/chunks/057umwogp53v_.js","/_next/static/chunks/0ky8fha87kp0_.js"],"async":false},"[project]/node_modules/.pnpm/next@16.2.4_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/next/dist/esm/lib/framework/boundary-components.js":{"id":62711,"name":"*","chunks":["/_next/static/chunks/0umlolnxs~j3r.js","/_next/static/chunks/057umwogp53v_.js","/_next/static/chunks/0ky8fha87kp0_.js"],"async":false},"[project]/node_modules/.pnpm/next@16.2.4_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/next/dist/esm/lib/metadata/generate/icon-mark.js <module evaluation>":{"id":319772,"name":"*","chunks":["/_next/static/chunks/0umlolnxs~j3r.js","/_next/static/chunks/057umwogp53v_.js","/_next/static/chunks/0ky8fha87kp0_.js"],"async":false},"[project]/node_modules/.pnpm/next@16.2.4_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/next/dist/esm/lib/metadata/generate/icon-mark.js":{"id":319772,"name":"*","chunks":["/_next/static/chunks/0umlolnxs~j3r.js","/_next/static/chunks/057umwogp53v_.js","/_next/static/chunks/0ky8fha87kp0_.js"],"async":false},"[project]/node_modules/.pnpm/sonner@2.0.7_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/sonner/dist/index.mjs <module evaluation>":{"id":187014,"name":"*","chunks":["/_next/static/chunks/0umlolnxs~j3r.js","/_next/static/chunks/057umwogp53v_.js","/_next/static/chunks/0ky8fha87kp0_.js"],"async":false},"[project]/node_modules/.pnpm/sonner@2.0.7_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/sonner/dist/index.mjs":{"id":187014,"name":"*","chunks":["/_next/static/chunks/0umlolnxs~j3r.js","/_next/static/chunks/057umwogp53v_.js","/_next/static/chunks/0ky8fha87kp0_.js"],"async":false},"[project]/src/components/theme-provider.tsx <module evaluation>":{"id":427423,"name":"*","chunks":["/_next/static/chunks/0umlolnxs~j3r.js","/_next/static/chunks/057umwogp53v_.js","/_next/static/chunks/0ky8fha87kp0_.js"],"async":false},"[project]/src/components/theme-provider.tsx":{"id":427423,"name":"*","chunks":["/_next/static/chunks/0umlolnxs~j3r.js","/_next/static/chunks/057umwogp53v_.js","/_next/static/chunks/0ky8fha87kp0_.js"],"async":false},"[project]/node_modules/.pnpm/next@16.2.4_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/next/dist/client/components/builtin/global-error.js <module evaluation>":{"id":514743,"name":"*","chunks":["/_next/static/chunks/0umlolnxs~j3r.js","/_next/static/chunks/057umwogp53v_.js","/_next/static/chunks/0ky8fha87kp0_.js"],"async":false},"[project]/node_modules/.pnpm/next@16.2.4_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/next/dist/client/components/builtin/global-error.js":{"id":514743,"name":"*","chunks":["/_next/static/chunks/0umlolnxs~j3r.js","/_next/static/chunks/057umwogp53v_.js","/_next/static/chunks/0ky8fha87kp0_.js"],"async":false},"[project]/src/app/page.tsx <module evaluation>":{"id":952683,"name":"*","chunks":["/_next/static/chunks/0umlolnxs~j3r.js","/_next/static/chunks/057umwogp53v_.js","/_next/static/chunks/0ky8fha87kp0_.js","/_next/static/chunks/0~m~l6t.25dxo.js","/_next/static/chunks/1012fl5fxholx.js","/_next/static/chunks/07mgvytssm8ww.js","/_next/static/chunks/0-p6_utxe5a_8.js","/_next/static/chunks/0alhqgtsl8w~~.js","/_next/static/chunks/0gl6v9.~903y1.js"],"async":false},"[project]/src/app/page.tsx":{"id":952683,"name":"*","chunks":["/_next/static/chunks/0umlolnxs~j3r.js","/_next/static/chunks/057umwogp53v_.js","/_next/static/chunks/0ky8fha87kp0_.js","/_next/static/chunks/0~m~l6t.25dxo.js","/_next/static/chunks/1012fl5fxholx.js","/_next/static/chunks/07mgvytssm8ww.js","/_next/static/chunks/0-p6_utxe5a_8.js","/_next/static/chunks/0alhqgtsl8w~~.js","/_next/static/chunks/0gl6v9.~903y1.js"],"async":false}},"ssrModuleMapping":{"902063":{"*":{"id":800569,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__0a3bjyp._.js","server/chunks/ssr/0p91_next_dist_0cdz3_i._.js","server/chunks/ssr/node_modules__pnpm_0bt7d39._.js"],"async":false}},"259666":{"*":{"id":692096,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__0a3bjyp._.js","server/chunks/ssr/0p91_next_dist_0cdz3_i._.js","server/chunks/ssr/node_modules__pnpm_0bt7d39._.js"],"async":false}},"687919":{"*":{"id":910705,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__0a3bjyp._.js","server/chunks/ssr/0p91_next_dist_0cdz3_i._.js","server/chunks/ssr/node_modules__pnpm_0bt7d39._.js"],"async":false}},"767206":{"*":{"id":973597,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__0a3bjyp._.js","server/chunks/ssr/0p91_next_dist_0cdz3_i._.js","server/chunks/ssr/node_modules__pnpm_0bt7d39._.js"],"async":false}},"845990":{"*":{"id":456088,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__0a3bjyp._.js","server/chunks/ssr/0p91_next_dist_0cdz3_i._.js","server/chunks/ssr/node_modules__pnpm_0bt7d39._.js"],"async":false}},"62711":{"*":{"id":42369,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__0a3bjyp._.js","server/chunks/ssr/0p91_next_dist_0cdz3_i._.js","server/chunks/ssr/node_modules__pnpm_0bt7d39._.js"],"async":false}},"319772":{"*":{"id":302990,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__0a3bjyp._.js","server/chunks/ssr/0p91_next_dist_0cdz3_i._.js","server/chunks/ssr/node_modules__pnpm_0bt7d39._.js"],"async":false}},"187014":{"*":{"id":263265,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__0a3bjyp._.js","server/chunks/ssr/0p91_next_dist_0cdz3_i._.js","server/chunks/ssr/node_modules__pnpm_0bt7d39._.js"],"async":false}},"427423":{"*":{"id":301148,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__0a3bjyp._.js","server/chunks/ssr/0p91_next_dist_0cdz3_i._.js","server/chunks/ssr/node_modules__pnpm_0bt7d39._.js"],"async":false}},"514743":{"*":{"id":33695,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__0a3bjyp._.js","server/chunks/ssr/0p91_next_dist_0cdz3_i._.js","server/chunks/ssr/node_modules__pnpm_0bt7d39._.js","server/chunks/ssr/node_modules__pnpm_0z5l~h-._.js"],"async":false}},"952683":{"*":{"id":240777,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__0a3bjyp._.js","server/chunks/ssr/0p91_next_dist_0cdz3_i._.js","server/chunks/ssr/node_modules__pnpm_0bt7d39._.js","server/chunks/ssr/[root-of-the-server]__0iccgou._.js","server/chunks/ssr/src_lib_auth_client_ts_0sk~n1k._.js","server/chunks/ssr/_0kcfv3r._.js","server/chunks/ssr/_06rf50_._.js","server/chunks/ssr/_0v4uz-4._.js"],"async":false}}},"edgeSSRModuleMapping":{},"rscModuleMapping":{"902063":{"*":{"id":898685,"name":"*","chunks":[],"async":false}},"259666":{"*":{"id":595703,"name":"*","chunks":[],"async":false}},"687919":{"*":{"id":608475,"name":"*","chunks":[],"async":false}},"767206":{"*":{"id":701451,"name":"*","chunks":[],"async":false}},"845990":{"*":{"id":210941,"name":"*","chunks":[],"async":false}},"62711":{"*":{"id":335288,"name":"*","chunks":[],"async":false}},"319772":{"*":{"id":385836,"name":"*","chunks":[],"async":false}},"187014":{"*":{"id":508023,"name":"*","chunks":[],"async":false}},"427423":{"*":{"id":425790,"name":"*","chunks":[],"async":false}},"514743":{"*":{"id":316138,"name":"*","chunks":[],"async":false}},"952683":{"*":{"id":256983,"name":"*","chunks":[],"async":false}}},"edgeRscModuleMapping":{},"entryCSSFiles":{"[project]/src/app/layout":[{"path":"static/chunks/0ncw5hhg~98~p.css","inlined":false}],"[project]/node_modules/.pnpm/next@16.2.4_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/next/dist/client/components/builtin/global-error":[{"path":"static/chunks/0ncw5hhg~98~p.css","inlined":false}],"[project]/src/app/page":[{"path":"static/chunks/0ncw5hhg~98~p.css","inlined":false}]},"entryJSFiles":{"[project]/src/app/layout":["static/chunks/0umlolnxs~j3r.js","static/chunks/057umwogp53v_.js","static/chunks/0ky8fha87kp0_.js"],"[project]/node_modules/.pnpm/next@16.2.4_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/next/dist/client/components/builtin/global-error":["static/chunks/0umlolnxs~j3r.js","static/chunks/057umwogp53v_.js","static/chunks/0ky8fha87kp0_.js"],"[project]/src/app/page":["static/chunks/0umlolnxs~j3r.js","static/chunks/057umwogp53v_.js","static/chunks/0ky8fha87kp0_.js","static/chunks/0~m~l6t.25dxo.js","static/chunks/1012fl5fxholx.js","static/chunks/07mgvytssm8ww.js","static/chunks/0-p6_utxe5a_8.js","static/chunks/0alhqgtsl8w~~.js","static/chunks/0gl6v9.~903y1.js"]}};
2
+ globalThis.__RSC_MANIFEST["/page"] = {"moduleLoading":{"prefix":"","crossOrigin":null},"clientModules":{"[project]/node_modules/.pnpm/next@16.2.4_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/next/dist/esm/client/components/layout-router.js <module evaluation>":{"id":902063,"name":"*","chunks":["/_next/static/chunks/0umlolnxs~j3r.js","/_next/static/chunks/057umwogp53v_.js","/_next/static/chunks/0ky8fha87kp0_.js"],"async":false},"[project]/node_modules/.pnpm/next@16.2.4_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/next/dist/esm/client/components/layout-router.js":{"id":902063,"name":"*","chunks":["/_next/static/chunks/0umlolnxs~j3r.js","/_next/static/chunks/057umwogp53v_.js","/_next/static/chunks/0ky8fha87kp0_.js"],"async":false},"[project]/node_modules/.pnpm/next@16.2.4_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/next/dist/esm/client/components/render-from-template-context.js <module evaluation>":{"id":259666,"name":"*","chunks":["/_next/static/chunks/0umlolnxs~j3r.js","/_next/static/chunks/057umwogp53v_.js","/_next/static/chunks/0ky8fha87kp0_.js"],"async":false},"[project]/node_modules/.pnpm/next@16.2.4_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/next/dist/esm/client/components/render-from-template-context.js":{"id":259666,"name":"*","chunks":["/_next/static/chunks/0umlolnxs~j3r.js","/_next/static/chunks/057umwogp53v_.js","/_next/static/chunks/0ky8fha87kp0_.js"],"async":false},"[project]/node_modules/.pnpm/next@16.2.4_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/next/dist/esm/client/components/client-page.js <module evaluation>":{"id":687919,"name":"*","chunks":["/_next/static/chunks/0umlolnxs~j3r.js","/_next/static/chunks/057umwogp53v_.js","/_next/static/chunks/0ky8fha87kp0_.js"],"async":false},"[project]/node_modules/.pnpm/next@16.2.4_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/next/dist/esm/client/components/client-page.js":{"id":687919,"name":"*","chunks":["/_next/static/chunks/0umlolnxs~j3r.js","/_next/static/chunks/057umwogp53v_.js","/_next/static/chunks/0ky8fha87kp0_.js"],"async":false},"[project]/node_modules/.pnpm/next@16.2.4_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/next/dist/esm/client/components/client-segment.js <module evaluation>":{"id":767206,"name":"*","chunks":["/_next/static/chunks/0umlolnxs~j3r.js","/_next/static/chunks/057umwogp53v_.js","/_next/static/chunks/0ky8fha87kp0_.js"],"async":false},"[project]/node_modules/.pnpm/next@16.2.4_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/next/dist/esm/client/components/client-segment.js":{"id":767206,"name":"*","chunks":["/_next/static/chunks/0umlolnxs~j3r.js","/_next/static/chunks/057umwogp53v_.js","/_next/static/chunks/0ky8fha87kp0_.js"],"async":false},"[project]/node_modules/.pnpm/next@16.2.4_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js <module evaluation>":{"id":845990,"name":"*","chunks":["/_next/static/chunks/0umlolnxs~j3r.js","/_next/static/chunks/057umwogp53v_.js","/_next/static/chunks/0ky8fha87kp0_.js"],"async":false},"[project]/node_modules/.pnpm/next@16.2.4_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js":{"id":845990,"name":"*","chunks":["/_next/static/chunks/0umlolnxs~j3r.js","/_next/static/chunks/057umwogp53v_.js","/_next/static/chunks/0ky8fha87kp0_.js"],"async":false},"[project]/node_modules/.pnpm/next@16.2.4_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/next/dist/esm/lib/framework/boundary-components.js <module evaluation>":{"id":62711,"name":"*","chunks":["/_next/static/chunks/0umlolnxs~j3r.js","/_next/static/chunks/057umwogp53v_.js","/_next/static/chunks/0ky8fha87kp0_.js"],"async":false},"[project]/node_modules/.pnpm/next@16.2.4_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/next/dist/esm/lib/framework/boundary-components.js":{"id":62711,"name":"*","chunks":["/_next/static/chunks/0umlolnxs~j3r.js","/_next/static/chunks/057umwogp53v_.js","/_next/static/chunks/0ky8fha87kp0_.js"],"async":false},"[project]/node_modules/.pnpm/next@16.2.4_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/next/dist/esm/lib/metadata/generate/icon-mark.js <module evaluation>":{"id":319772,"name":"*","chunks":["/_next/static/chunks/0umlolnxs~j3r.js","/_next/static/chunks/057umwogp53v_.js","/_next/static/chunks/0ky8fha87kp0_.js"],"async":false},"[project]/node_modules/.pnpm/next@16.2.4_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/next/dist/esm/lib/metadata/generate/icon-mark.js":{"id":319772,"name":"*","chunks":["/_next/static/chunks/0umlolnxs~j3r.js","/_next/static/chunks/057umwogp53v_.js","/_next/static/chunks/0ky8fha87kp0_.js"],"async":false},"[project]/node_modules/.pnpm/sonner@2.0.7_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/sonner/dist/index.mjs <module evaluation>":{"id":187014,"name":"*","chunks":["/_next/static/chunks/0umlolnxs~j3r.js","/_next/static/chunks/057umwogp53v_.js","/_next/static/chunks/0ky8fha87kp0_.js"],"async":false},"[project]/node_modules/.pnpm/sonner@2.0.7_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/sonner/dist/index.mjs":{"id":187014,"name":"*","chunks":["/_next/static/chunks/0umlolnxs~j3r.js","/_next/static/chunks/057umwogp53v_.js","/_next/static/chunks/0ky8fha87kp0_.js"],"async":false},"[project]/src/components/theme-provider.tsx <module evaluation>":{"id":427423,"name":"*","chunks":["/_next/static/chunks/0umlolnxs~j3r.js","/_next/static/chunks/057umwogp53v_.js","/_next/static/chunks/0ky8fha87kp0_.js"],"async":false},"[project]/src/components/theme-provider.tsx":{"id":427423,"name":"*","chunks":["/_next/static/chunks/0umlolnxs~j3r.js","/_next/static/chunks/057umwogp53v_.js","/_next/static/chunks/0ky8fha87kp0_.js"],"async":false},"[project]/node_modules/.pnpm/next@16.2.4_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/next/dist/client/components/builtin/global-error.js <module evaluation>":{"id":514743,"name":"*","chunks":["/_next/static/chunks/0umlolnxs~j3r.js","/_next/static/chunks/057umwogp53v_.js","/_next/static/chunks/0ky8fha87kp0_.js"],"async":false},"[project]/node_modules/.pnpm/next@16.2.4_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/next/dist/client/components/builtin/global-error.js":{"id":514743,"name":"*","chunks":["/_next/static/chunks/0umlolnxs~j3r.js","/_next/static/chunks/057umwogp53v_.js","/_next/static/chunks/0ky8fha87kp0_.js"],"async":false},"[project]/src/app/page.tsx <module evaluation>":{"id":952683,"name":"*","chunks":["/_next/static/chunks/0umlolnxs~j3r.js","/_next/static/chunks/057umwogp53v_.js","/_next/static/chunks/0ky8fha87kp0_.js","/_next/static/chunks/0~m~l6t.25dxo.js","/_next/static/chunks/1012fl5fxholx.js","/_next/static/chunks/07mgvytssm8ww.js","/_next/static/chunks/0-p6_utxe5a_8.js","/_next/static/chunks/0alhqgtsl8w~~.js","/_next/static/chunks/11c7-ic7.2nku.js"],"async":false},"[project]/src/app/page.tsx":{"id":952683,"name":"*","chunks":["/_next/static/chunks/0umlolnxs~j3r.js","/_next/static/chunks/057umwogp53v_.js","/_next/static/chunks/0ky8fha87kp0_.js","/_next/static/chunks/0~m~l6t.25dxo.js","/_next/static/chunks/1012fl5fxholx.js","/_next/static/chunks/07mgvytssm8ww.js","/_next/static/chunks/0-p6_utxe5a_8.js","/_next/static/chunks/0alhqgtsl8w~~.js","/_next/static/chunks/11c7-ic7.2nku.js"],"async":false}},"ssrModuleMapping":{"902063":{"*":{"id":800569,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__0a3bjyp._.js","server/chunks/ssr/0p91_next_dist_0cdz3_i._.js","server/chunks/ssr/node_modules__pnpm_0bt7d39._.js"],"async":false}},"259666":{"*":{"id":692096,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__0a3bjyp._.js","server/chunks/ssr/0p91_next_dist_0cdz3_i._.js","server/chunks/ssr/node_modules__pnpm_0bt7d39._.js"],"async":false}},"687919":{"*":{"id":910705,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__0a3bjyp._.js","server/chunks/ssr/0p91_next_dist_0cdz3_i._.js","server/chunks/ssr/node_modules__pnpm_0bt7d39._.js"],"async":false}},"767206":{"*":{"id":973597,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__0a3bjyp._.js","server/chunks/ssr/0p91_next_dist_0cdz3_i._.js","server/chunks/ssr/node_modules__pnpm_0bt7d39._.js"],"async":false}},"845990":{"*":{"id":456088,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__0a3bjyp._.js","server/chunks/ssr/0p91_next_dist_0cdz3_i._.js","server/chunks/ssr/node_modules__pnpm_0bt7d39._.js"],"async":false}},"62711":{"*":{"id":42369,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__0a3bjyp._.js","server/chunks/ssr/0p91_next_dist_0cdz3_i._.js","server/chunks/ssr/node_modules__pnpm_0bt7d39._.js"],"async":false}},"319772":{"*":{"id":302990,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__0a3bjyp._.js","server/chunks/ssr/0p91_next_dist_0cdz3_i._.js","server/chunks/ssr/node_modules__pnpm_0bt7d39._.js"],"async":false}},"187014":{"*":{"id":263265,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__0a3bjyp._.js","server/chunks/ssr/0p91_next_dist_0cdz3_i._.js","server/chunks/ssr/node_modules__pnpm_0bt7d39._.js"],"async":false}},"427423":{"*":{"id":301148,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__0a3bjyp._.js","server/chunks/ssr/0p91_next_dist_0cdz3_i._.js","server/chunks/ssr/node_modules__pnpm_0bt7d39._.js"],"async":false}},"514743":{"*":{"id":33695,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__0a3bjyp._.js","server/chunks/ssr/0p91_next_dist_0cdz3_i._.js","server/chunks/ssr/node_modules__pnpm_0bt7d39._.js","server/chunks/ssr/node_modules__pnpm_0z5l~h-._.js"],"async":false}},"952683":{"*":{"id":240777,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__0a3bjyp._.js","server/chunks/ssr/0p91_next_dist_0cdz3_i._.js","server/chunks/ssr/node_modules__pnpm_0bt7d39._.js","server/chunks/ssr/[root-of-the-server]__0iccgou._.js","server/chunks/ssr/src_lib_auth_client_ts_0sk~n1k._.js","server/chunks/ssr/_0kcfv3r._.js","server/chunks/ssr/_06rf50_._.js","server/chunks/ssr/_0v4uz-4._.js"],"async":false}}},"edgeSSRModuleMapping":{},"rscModuleMapping":{"902063":{"*":{"id":898685,"name":"*","chunks":[],"async":false}},"259666":{"*":{"id":595703,"name":"*","chunks":[],"async":false}},"687919":{"*":{"id":608475,"name":"*","chunks":[],"async":false}},"767206":{"*":{"id":701451,"name":"*","chunks":[],"async":false}},"845990":{"*":{"id":210941,"name":"*","chunks":[],"async":false}},"62711":{"*":{"id":335288,"name":"*","chunks":[],"async":false}},"319772":{"*":{"id":385836,"name":"*","chunks":[],"async":false}},"187014":{"*":{"id":508023,"name":"*","chunks":[],"async":false}},"427423":{"*":{"id":425790,"name":"*","chunks":[],"async":false}},"514743":{"*":{"id":316138,"name":"*","chunks":[],"async":false}},"952683":{"*":{"id":256983,"name":"*","chunks":[],"async":false}}},"edgeRscModuleMapping":{},"entryCSSFiles":{"[project]/src/app/layout":[{"path":"static/chunks/0ncw5hhg~98~p.css","inlined":false}],"[project]/node_modules/.pnpm/next@16.2.4_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/next/dist/client/components/builtin/global-error":[{"path":"static/chunks/0ncw5hhg~98~p.css","inlined":false}],"[project]/src/app/page":[{"path":"static/chunks/0ncw5hhg~98~p.css","inlined":false}]},"entryJSFiles":{"[project]/src/app/layout":["static/chunks/0umlolnxs~j3r.js","static/chunks/057umwogp53v_.js","static/chunks/0ky8fha87kp0_.js"],"[project]/node_modules/.pnpm/next@16.2.4_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/next/dist/client/components/builtin/global-error":["static/chunks/0umlolnxs~j3r.js","static/chunks/057umwogp53v_.js","static/chunks/0ky8fha87kp0_.js"],"[project]/src/app/page":["static/chunks/0umlolnxs~j3r.js","static/chunks/057umwogp53v_.js","static/chunks/0ky8fha87kp0_.js","static/chunks/0~m~l6t.25dxo.js","static/chunks/1012fl5fxholx.js","static/chunks/07mgvytssm8ww.js","static/chunks/0-p6_utxe5a_8.js","static/chunks/0alhqgtsl8w~~.js","static/chunks/11c7-ic7.2nku.js"]}};
3
3
 
@@ -1,3 +1,3 @@
1
- module.exports=[583627,e=>{"use strict";var t=e.i(798003),r=e.i(254226);function s(){return(process.env.WIKI_ADMIN_EMAILS??"").split(",").map(e=>e.trim().toLowerCase()).filter(Boolean)}async function n(e,r){if(r){let e=s();if(e.length>0&&e.includes(r.toLowerCase()))return!0}return((await (0,t.readConfig)()).adminUserIds??[]).includes(e)}async function i(){return(await (0,t.readConfig)()).adminUserIds??[]}async function o(e){await (0,t.updateConfig)(t=>{let r=t.adminUserIds??[];return r.includes(e)?t:{...t,adminUserIds:[...r,e]}})}async function a(e){let r=s().length>0,n=!1;if(await (0,t.updateConfig)(t=>{let s=(t.adminUserIds??[]).filter(t=>t!==e);return 0!==s.length||r?{...t,adminUserIds:s}:(n=!0,t)}),n)throw Error("LAST_ADMIN: cannot remove the last admin with no WIKI_ADMIN_EMAILS configured")}async function l(e){if(s().length>0||((await (0,t.readConfig)()).adminUserIds??[]).length>0)return;let r=!1;await (0,t.updateConfig)(t=>(t.adminUserIds??[]).length>0?t:(r=!0,{...t,adminUserIds:[e]})),r&&console.log(`[wiki-viewer] Bootstrap: first user ${e} promoted to admin`)}async function u(e){if("1"===process.env.WIKI_NO_AUTH)return{ok:!0,user:{id:"local",email:"local@localhost",name:"local"}};let t=await (0,r.requireUser)(e);return t.ok?await n(t.user.id,t.user.email)?{ok:!0,user:t.user}:{ok:!1,status:403,code:"ADMIN_REQUIRED"}:{ok:!1,status:401,code:"UNAUTHORIZED"}}e.s(["addAdmin",0,o,"ensureBootstrapAdmin",0,l,"isAdmin",0,n,"listAdmins",0,i,"removeAdmin",0,a,"requireAdmin",0,u])},874533,(e,t,r)=>{t.exports=e.x("node:child_process",()=>require("node:child_process"))},812057,(e,t,r)=>{t.exports=e.x("node:util",()=>require("node:util"))},834938,e=>{"use strict";let t;var r=e.i(874533),s=e.i(812057),n=e.i(912714),i=e.i(750227),o=e.i(660526);let a=(0,s.promisify)(r.execFile),l=/[;|&$`<>(){}\n\r\0]/;function u(){return i.default.join(o.default.homedir(),".wiki-viewer","mounts")}async function c(){if(!0!==t)try{await a("sshfs",["--version"]),t=!0}catch{throw Error("sshfs binary not found. Install sshfs + FUSE (e.g. `apt install sshfs`, `brew install macfuse sshfs`) and ensure it is on PATH.")}}async function d(t){var r;let s=i.default.resolve(t),o=!1;try{o=(await (0,n.readFile)("/proc/mounts","utf8")).split("\n").some(e=>{let t=e.split(" ");return t[1]===s&&/fuse/.test(t[2]??"")})}catch{o=!1}return!!o&&(r=s,new Promise(t=>{let s=!1,n=setTimeout(()=>{s||(s=!0,t(!1))},4e3);e.A(687903).then(({readdir:e})=>e(r)).then(()=>{s||(s=!0,clearTimeout(n),t(!0))}).catch(()=>{s||(s=!0,clearTimeout(n),t(!1))})}))}async function p(e){await c(),await (0,n.mkdir)(e.mountpoint,{recursive:!0});let t=function(e){let{target:t,mountpoint:r,port:s,authMethod:n,keyPath:i,readOnly:o}=e,a=t.user?`${t.user}@`:"",l=[`${a}${t.host}:${t.remotePath}`,r];s&&Number.isInteger(s)&&s>0&&s<65536&&l.push("-p",String(s));let u=["reconnect","ServerAliveInterval=15","ServerAliveCountMax=3","compression=yes","cache=yes","kernel_cache","StrictHostKeyChecking=accept-new","BatchMode=yes"];if(o&&u.push("ro"),"keyfile"===n&&i&&(u.push(`IdentityFile=${i}`),u.push("IdentitiesOnly=yes")),"password"===n){let e=u.indexOf("BatchMode=yes");e>=0&&u.splice(e,1),u.push("password_stdin"),u.push("PreferredAuthentications=password,keyboard-interactive"),u.push("PubkeyAuthentication=no"),u.push("NumberOfPasswordPrompts=1")}return e.extraOptions&&u.push(...e.extraOptions),l.push("-o",u.join(",")),l}(e);if(await new Promise((s,n)=>{let i=(0,r.spawn)("sshfs",t,{stdio:["pipe","ignore","pipe"]}),o="",a=setTimeout(()=>{i.kill("SIGKILL"),n(Error("sshfs mount timed out after 25s."))},25e3);i.stderr?.on("data",e=>{o+=e.toString()}),i.on("error",e=>{clearTimeout(a),n(e.message.includes("ENOENT")?Error("sshfs binary not found on PATH."):e)}),i.on("close",e=>{clearTimeout(a),0===e?s():n(Error(`sshfs exited ${e}: ${o.trim()||"mount failed"}`))}),"password"===e.authMethod&&i.stdin?.write((e.password??"")+"\n"),i.stdin?.end()}),!await d(e.mountpoint))throw Error("sshfs reported success but the mount is not live.")}async function f(e){let t=i.default.resolve(e);for(let[e,r]of[["fusermount",["-u","-z",t]],["umount",[t]]])try{await a(e,r);break}catch{}try{await (0,n.rmdir)(t)}catch{}}e.s(["assertSshfsAvailable",0,c,"isMounted",0,d,"isValidKeyPath",0,function(e){return!(!e||l.test(e)||e.includes(".."))&&(e.startsWith("/")||e.startsWith("~/"))},"mountSshfs",0,p,"mountpointFor",0,function(e){return i.default.join(u(),e)},"mountsDir",0,u,"parseSshTarget",0,function(e){let t;if(!e||l.test(e))return null;let r=e.trim(),s=r.indexOf(":");if(s<=0)return null;let n=r.slice(0,s),i=r.slice(s+1);if(!i.startsWith("/")||i.includes(".."))return null;let o=n,a=n.indexOf("@");return a>=0&&(t=n.slice(0,a),o=n.slice(a+1),!t)?null:o&&/^[a-zA-Z0-9.\-]+$/.test(o)&&(!t||/^[a-zA-Z0-9._\-]+$/.test(t))?{user:t,host:o,remotePath:i}:null},"unmountSshfs",0,f])},504445,e=>{"use strict";var t=e.i(750227);let r=globalThis;!r.__wikiRootDir&&process.env.ROOT_DIR&&(r.__wikiRootDir=t.default.resolve(process.env.ROOT_DIR)),e.s(["clearRootDir",0,function(){r.__wikiRootDir=void 0},"getRootDir",0,function(){return r.__wikiRootDir??""},"isRootDirSet",0,function(){return!!r.__wikiRootDir},"setRootDir",0,function(e){r.__wikiRootDir=t.default.resolve(e)}])},660038,e=>{"use strict";var t=e.i(750227),r=e.i(254226),s=e.i(583627),n=e.i(504445),i=e.i(359211);async function o(e){let r;await (0,i.migrateConfigToWorkspaces)();let s=new URL(e.url).searchParams.get("ws")??e.headers.get("x-workspace")??null;if(s)r=await (0,i.getWorkspace)(s)??null;else{let e=await (0,i.listWorkspaces)();if(0===e.length){let e;r=(e=(0,n.getRootDir)())?{id:"ws_default",name:t.default.basename(e)||"workspace",rootDir:e,createdAt:new Date(0).toISOString()}:null}else r=e.slice().sort((e,t)=>{let r=e.lastOpenedAt?new Date(e.lastOpenedAt).getTime():0,s=t.lastOpenedAt?new Date(t.lastOpenedAt).getTime():0;return s!==r?s-r:e.id<t.id?-1:+(e.id>t.id)})[0]}return r?.ssh&&await (0,i.ensureWorkspaceMounted)(r),r}async function a(e,t="read"){if("1"===process.env.WIKI_NO_AUTH){let r=await o(e);return r?"write"===t&&r.readOnly?{ok:!1,status:403,code:"WORKSPACE_READ_ONLY"}:{ok:!0,ws:r,rootDir:r.rootDir,userId:"local",isAdmin:!0}:{ok:!1,status:400,code:"WORKSPACE_REQUIRED"}}let n=await (0,r.requireUser)(e);if(!n.ok)return{ok:!1,status:401,code:"UNAUTHORIZED"};let l=await (0,s.isAdmin)(n.user.id,n.user.email),u=new URL(e.url).searchParams.get("ws")??e.headers.get("x-workspace")??null,c=await o(e);return c?(0,i.userCanAccess)(c,n.user.id,l)?"write"===t&&c.readOnly?{ok:!1,status:403,code:"WORKSPACE_READ_ONLY"}:{ok:!0,ws:c,rootDir:c.rootDir,userId:n.user.id,isAdmin:l}:{ok:!1,status:403,code:"WORKSPACE_FORBIDDEN"}:{ok:!1,status:u?404:400,code:u?"WORKSPACE_NOT_FOUND":"WORKSPACE_REQUIRED"}}async function l(e,t="read"){let r=await o(e);if(!r){let t=new URL(e.url).searchParams.get("ws")??e.headers.get("x-workspace")??null;return{ok:!1,status:t?404:400,code:t?"WORKSPACE_NOT_FOUND":"WORKSPACE_REQUIRED"}}return"write"===t&&r.readOnly?{ok:!1,status:403,code:"WORKSPACE_READ_ONLY"}:{ok:!0,ws:r,rootDir:r.rootDir}}e.s(["resolveWorkspaceForAgent",0,l,"resolveWorkspaceForUser",0,a])},402662,e=>{"use strict";var t=e.i(702414);e.s(["checkOrigin",0,function(e){let r=e.method.toUpperCase();if("GET"===r||"HEAD"===r||"OPTIONS"===r)return null;let s=e.headers.get("origin"),n=e.headers.get("referer");if(!s&&!n)return null;let i=function(e){let t=Array.from(new Set(["localhost","127.0.0.1",e.split(":")[0],...(process.env.WIKI_OWNER_HOSTS??"").split(",").map(e=>e.trim()).filter(Boolean)])),r=["",":3000",":3003"];e.includes(":")&&r.push(":"+e.split(":")[1]);let s=new Set;for(let e of t)for(let t of["http","https"])for(let n of r)s.add(`${t}://${e}${n}`);return s}(e.headers.get("host")??"");if(s)return i.has(s)?null:t.NextResponse.json({error:"FORBIDDEN",message:"Bad origin"},{status:403});if(n){try{let{protocol:e,host:t}=new URL(n);if(i.has(`${e}//${t}`))return null}catch{}return t.NextResponse.json({error:"FORBIDDEN",message:"Bad referer"},{status:403})}return null}])},761095,(e,t,r)=>{t.exports=e.x("node:net",()=>require("node:net"))},345212,e=>{"use strict";var t=e.i(874533),r=e.i(902157),s=e.i(761095),n=e.i(750227);let i=new Map;function o(e,t){return new Promise(r=>{let n=(0,s.createConnection)(e,t);n.setTimeout(800),n.on("connect",()=>{n.destroy(),r(!0)}),n.on("error",()=>{n.destroy(),r(!1)}),n.on("timeout",()=>{n.destroy(),r(!1)})})}async function a(e,t=3e4){let r=Date.now()+t;for(;Date.now()<r;){let[t,r]=await Promise.all([o(e,"127.0.0.1"),o(e,"::1")]);if(t||r)return!0;await new Promise(e=>setTimeout(e,400))}return!1}function l(e){let t=n.default.join(e,"package.json");if(!(0,r.existsSync)(t))return null;try{return JSON.parse((0,r.readFileSync)(t,"utf-8"))}catch{return null}}function u(e,t){return t.start?"start":t.preview&&(0,r.existsSync)(n.default.join(e,"dist"))?"preview":t.dev?"dev":null}function c(){let e=n.default.dirname(process.execPath),t=process.env.PATH??"";return t.split(n.default.delimiter).includes(e)?t:`${e}${n.default.delimiter}${t}`}async function d(e,o,d){let p=i.get(e);if(p&&"stopped"!==p.status&&"error"!==p.status)return{port:p.port};let f=await new Promise((e,t)=>{let r=(0,s.createServer)();r.listen(0,"127.0.0.1",()=>{let t=r.address(),s="object"==typeof t&&t?t.port:0;r.close(()=>e(s))}),r.on("error",t)}),h=(0,r.existsSync)(n.default.join(o,"pnpm-lock.yaml"))?"pnpm":(0,r.existsSync)(n.default.join(o,"yarn.lock"))?"yarn":"npm",m=function(e,t,r,s){let n=l(e);if(!n)return null;let i=n.scripts??{},o=Object.keys({...n.dependencies,...n.devDependencies}).some(e=>"vite"===e||e.includes("vite")),a=["--port",String(r)],c=e=>({bin:t,args:["run",e,"--",...a],isVite:o});if(s&&i[s])return c(s);let d=u(e,i);return d?c(d):n.main?{bin:"node",args:[n.main,...a],isVite:!1}:null}(o,h,f,d);if(!m)throw Error("No runnable script found in package.json (need start, preview, or dev)");let w={port:f,process:null,status:"installing",logs:[]};i.set(e,w);let v=e=>{w.logs.push(e),w.logs.length>200&&w.logs.shift()};if(!(0,r.existsSync)(n.default.join(o,"node_modules")))try{v(`[wiki-viewer] Running ${h} install…`),await new Promise((e,r)=>{let s=(0,t.spawn)(h,["install"],{cwd:o,stdio:"pipe",env:{...process.env,PATH:c()}});s.on("exit",t=>0===t?e():r(Error(`${h} install failed (exit ${t})`))),s.on("error",r)})}catch(e){return w.status="error",w.error=String(e),{port:f}}w.status="starting",v(`[wiki-viewer] Starting on port ${f}: ${m.bin} ${m.args.join(" ")}`);let g=(0,t.spawn)(m.bin,m.args,{cwd:o,stdio:"pipe",env:{...process.env,PATH:c(),PORT:String(f),VITE_PORT:String(f)}});w.process=g;let R=e=>{for(let t of e.toString().split("\n"))t.trim()&&v(t)};return g.stdout?.on("data",R),g.stderr?.on("data",R),g.on("exit",t=>{let r=i.get(e);r?.process===g&&(r.status=0===t||null===t?"stopped":"error",r.error=t?`Process exited with code ${t}`:void 0)}),a(f).then(t=>{let r=i.get(e);r?.process===g&&(r.status=t?"running":"error",t||(r.error="Port never became reachable (30 s timeout)"))}),{port:f}}e.s(["getScripts",0,function(e){let t=l(e);if(!t)return{scripts:[],defaultScript:null};let r=t.scripts??{};return{scripts:Object.keys(r),defaultScript:u(e,r)}},"getStatus",0,function(e){let t=i.get(e);return t?{status:t.status,port:t.port||void 0,error:t.error,logs:t.logs}:{status:"stopped",logs:[]}},"resolveByPrefix",0,function(e){for(let t=e.length;t>0;t--){let r=e.slice(0,t).join("/"),s=i.get(r);if(s&&"running"===s.status&&s.port){let n="/"+e.slice(t).join("/");return{relPath:r,port:s.port,rest:n}}}return null},"startApp",0,d,"stopApp",0,function(e){let t=i.get(e);if(t?.process){try{t.process.kill("SIGTERM")}catch{}t.status="stopped"}}])},80520,e=>{"use strict";var t=e.i(364564),r=e.i(102095),s=e.i(691091),n=e.i(475331),i=e.i(490301),o=e.i(670943),a=e.i(690324),l=e.i(243133),u=e.i(404870),c=e.i(420180),d=e.i(867883),p=e.i(336708),f=e.i(682278),h=e.i(157569),m=e.i(844146),w=e.i(193695);e.i(105888);var v=e.i(530564),g=e.i(702414),R=e.i(402662),_=e.i(660038),y=e.i(359211),k=e.i(345212);async function A(e){let t=await (0,_.resolveWorkspaceForUser)(e);if(!t.ok)return g.NextResponse.json({error:t.code},{status:t.status});let{searchParams:r}=new URL(e.url),s=r.get("path")??"",n=(0,k.getStatus)(s),i=(0,y.safeWorkspacePath)(t.rootDir,s),o=i?(0,k.getScripts)(i):{scripts:[],defaultScript:null};return g.NextResponse.json({...n,...o})}async function E(e){let t=(0,R.checkOrigin)(e);if(t)return t;let r=await (0,_.resolveWorkspaceForUser)(e,"write");if(!r.ok)return g.NextResponse.json({error:r.code},{status:r.status});let{rootDir:s}=r,n=await e.json(),i=n.path;if(!i||"string"!=typeof i)return g.NextResponse.json({error:"Missing path"},{status:400});let o=(0,y.safeWorkspacePath)(s,i);if(!o)return g.NextResponse.json({error:"Invalid path"},{status:400});try{let e=await (0,k.startApp)(i,o,n.script);return g.NextResponse.json(e)}catch(e){return g.NextResponse.json({error:String(e)},{status:500})}}async function O(e){let t=(0,R.checkOrigin)(e);if(t)return t;let r=await (0,_.resolveWorkspaceForUser)(e,"write");if(!r.ok)return g.NextResponse.json({error:r.code},{status:r.status});let s=(await e.json()).path;return s&&"string"==typeof s?((0,k.stopApp)(s),g.NextResponse.json({ok:!0})):g.NextResponse.json({error:"Missing path"},{status:400})}e.s(["DELETE",0,O,"GET",0,A,"POST",0,E],41743);var S=e.i(41743);let x=new t.AppRouteRouteModule({definition:{kind:r.RouteKind.APP_ROUTE,page:"/api/wiki/app/route",pathname:"/api/wiki/app",filename:"route",bundlePath:""},distDir:".next",relativeProjectDir:"",resolvedPagePath:"[project]/src/app/api/wiki/app/route.ts",nextConfigOutput:"standalone",userland:S,...{}}),{workAsyncStorage:P,workUnitAsyncStorage:I,serverHooks:D}=x;async function N(e,t,s){s.requestMeta&&(0,n.setRequestMeta)(e,s.requestMeta),x.isDev&&(0,n.addRequestMeta)(e,"devRequestTimingInternalsEnd",process.hrtime.bigint());let g="/api/wiki/app/route";g=g.replace(/\/index$/,"")||"/";let R=await x.prepare(e,t,{srcPage:g,multiZoneDraftMode:!1});if(!R)return t.statusCode=400,t.end("Bad Request"),null==s.waitUntil||s.waitUntil.call(s,Promise.resolve()),null;let{buildId:_,params:y,nextConfig:k,parsedUrl:A,isDraftMode:E,prerenderManifest:O,routerServerContext:S,isOnDemandRevalidate:P,revalidateOnlyGenerated:I,resolvedPathname:D,clientReferenceManifest:N,serverActionsManifest:T}=R,C=(0,a.normalizeAppPath)(g),b=!!(O.dynamicRoutes[C]||O.routes[D]),j=async()=>((null==S?void 0:S.render404)?await S.render404(e,t,A,!1):t.end("This page could not be found"),null);if(b&&!E){let e=!!O.routes[D],t=O.dynamicRoutes[C];if(t&&!1===t.fallback&&!e){if(k.adapterPath)return await j();throw new w.NoFallbackError}}let U=null;!b||x.isDev||E||(U="/index"===(U=D)?"/":U);let $=!0===x.isDev||!b,q=b&&!$;T&&N&&(0,o.setManifestsSingleton)({page:g,clientReferenceManifest:N,serverActionsManifest:T});let W=e.method||"GET",M=(0,i.getTracer)(),H=M.getActiveScopeSpan(),K=!!(null==S?void 0:S.isWrappedByNextServer),F=!!(0,n.getRequestMeta)(e,"minimalMode"),L=(0,n.getRequestMeta)(e,"incrementalCache")||await x.getIncrementalCache(e,k,O,F);null==L||L.resetRequestCache(),globalThis.__incrementalCache=L;let B={params:y,previewProps:O.preview,renderOpts:{experimental:{authInterrupts:!!k.experimental.authInterrupts},cacheComponents:!!k.cacheComponents,supportsDynamicResponse:$,incrementalCache:L,cacheLifeProfiles:k.cacheLife,waitUntil:s.waitUntil,onClose:e=>{t.on("close",e)},onAfterTaskError:void 0,onInstrumentationRequestError:(t,r,s,n)=>x.onRequestError(e,t,s,n,S)},sharedContext:{buildId:_}},z=new l.NodeNextRequest(e),G=new l.NodeNextResponse(t),V=u.NextRequestAdapter.fromNodeNextRequest(z,(0,u.signalFromNodeResponse)(t));try{let n,o=async e=>x.handle(V,B).finally(()=>{if(!e)return;e.setAttributes({"http.status_code":t.statusCode,"next.rsc":!1});let r=M.getRootSpanAttributes();if(!r)return;if(r.get("next.span_type")!==c.BaseServerSpan.handleRequest)return void console.warn(`Unexpected root span type '${r.get("next.span_type")}'. Please report this Next.js issue https://github.com/vercel/next.js`);let s=r.get("next.route");if(s){let t=`${W} ${s}`;e.setAttributes({"next.route":s,"http.route":s,"next.span_name":t}),e.updateName(t),n&&n!==e&&(n.setAttribute("http.route",s),n.updateName(t))}else e.updateName(`${W} ${g}`)}),a=async n=>{var i,a;let l=async({previousCacheEntry:r})=>{try{if(!F&&P&&I&&!r)return t.statusCode=404,t.setHeader("x-nextjs-cache","REVALIDATED"),t.end("This page could not be found"),null;let i=await o(n);e.fetchMetrics=B.renderOpts.fetchMetrics;let a=B.renderOpts.pendingWaitUntil;a&&s.waitUntil&&(s.waitUntil(a),a=void 0);let l=B.renderOpts.collectedTags;if(!b)return await (0,p.sendResponse)(z,G,i,B.renderOpts.pendingWaitUntil),null;{let e=await i.blob(),t=(0,f.toNodeOutgoingHttpHeaders)(i.headers);l&&(t[m.NEXT_CACHE_TAGS_HEADER]=l),!t["content-type"]&&e.type&&(t["content-type"]=e.type);let r=void 0!==B.renderOpts.collectedRevalidate&&!(B.renderOpts.collectedRevalidate>=m.INFINITE_CACHE)&&B.renderOpts.collectedRevalidate,s=void 0===B.renderOpts.collectedExpire||B.renderOpts.collectedExpire>=m.INFINITE_CACHE?void 0:B.renderOpts.collectedExpire;return{value:{kind:v.CachedRouteKind.APP_ROUTE,status:i.status,body:Buffer.from(await e.arrayBuffer()),headers:t},cacheControl:{revalidate:r,expire:s}}}}catch(t){throw(null==r?void 0:r.isStale)&&await x.onRequestError(e,t,{routerKind:"App Router",routePath:g,routeType:"route",revalidateReason:(0,d.getRevalidateReason)({isStaticGeneration:q,isOnDemandRevalidate:P})},!1,S),t}},u=await x.handleResponse({req:e,nextConfig:k,cacheKey:U,routeKind:r.RouteKind.APP_ROUTE,isFallback:!1,prerenderManifest:O,isRoutePPREnabled:!1,isOnDemandRevalidate:P,revalidateOnlyGenerated:I,responseGenerator:l,waitUntil:s.waitUntil,isMinimalMode:F});if(!b)return null;if((null==u||null==(i=u.value)?void 0:i.kind)!==v.CachedRouteKind.APP_ROUTE)throw Object.defineProperty(Error(`Invariant: app-route received invalid cache entry ${null==u||null==(a=u.value)?void 0:a.kind}`),"__NEXT_ERROR_CODE",{value:"E701",enumerable:!1,configurable:!0});F||t.setHeader("x-nextjs-cache",P?"REVALIDATED":u.isMiss?"MISS":u.isStale?"STALE":"HIT"),E&&t.setHeader("Cache-Control","private, no-cache, no-store, max-age=0, must-revalidate");let c=(0,f.fromNodeOutgoingHttpHeaders)(u.value.headers);return F&&b||c.delete(m.NEXT_CACHE_TAGS_HEADER),!u.cacheControl||t.getHeader("Cache-Control")||c.get("Cache-Control")||c.set("Cache-Control",(0,h.getCacheControlHeader)(u.cacheControl)),await (0,p.sendResponse)(z,G,new Response(u.value.body,{headers:c,status:u.value.status||200})),null};K&&H?await a(H):(n=M.getActiveScopeSpan(),await M.withPropagatedContext(e.headers,()=>M.trace(c.BaseServerSpan.handleRequest,{spanName:`${W} ${g}`,kind:i.SpanKind.SERVER,attributes:{"http.method":W,"http.target":e.url}},a),void 0,!K))}catch(t){if(t instanceof w.NoFallbackError||await x.onRequestError(e,t,{routerKind:"App Router",routePath:C,routeType:"route",revalidateReason:(0,d.getRevalidateReason)({isStaticGeneration:q,isOnDemandRevalidate:P})},!1,S),b)throw t;return await (0,p.sendResponse)(z,G,new Response(null,{status:500})),null}}e.s(["handler",0,N,"patchFetch",0,function(){return(0,s.patchFetch)({workAsyncStorage:P,workUnitAsyncStorage:I})},"routeModule",0,x,"serverHooks",0,D,"workAsyncStorage",0,P,"workUnitAsyncStorage",0,I],80520)},168315,e=>{e.v(t=>Promise.all(["server/chunks/0sag_@better-auth_memory-adapter_dist_index_mjs_0pvj6im._.js"].map(t=>e.l(t))).then(()=>t(862112)))},317691,e=>{e.v(t=>Promise.all(["server/chunks/0dhv_better-auth_dist_adapters_kysely-adapter_index_mjs_0t4t4z8._.js"].map(t=>e.l(t))).then(()=>t(833412)))},580632,e=>{e.v(e=>Promise.resolve().then(()=>e(270406)))},947559,e=>{e.v(t=>Promise.all(["server/chunks/0ugq_@better-auth_kysely-adapter_dist_bun-sqlite-dialect-DzNwOpKv_mjs_0z1z6m4._.js"].map(t=>e.l(t))).then(()=>t(495181)))},715018,e=>{e.v(t=>Promise.all(["server/chunks/0ugq_@better-auth_kysely-adapter_dist_node-sqlite-dialect_mjs_0qqlvhl._.js"].map(t=>e.l(t))).then(()=>t(698370)))},146843,e=>{e.v(t=>Promise.all(["server/chunks/0ugq_@better-auth_kysely-adapter_dist_d1-sqlite-dialect-C2B7YsIT_mjs_0wynrz3._.js"].map(t=>e.l(t))).then(()=>t(143740)))},84040,e=>{e.v(t=>Promise.all(["server/chunks/0p91_next_0h94sj1._.js"].map(t=>e.l(t))).then(()=>t(815068)))},427669,e=>{e.v(e=>Promise.resolve().then(()=>e(177730)))},687903,e=>{e.v(e=>Promise.resolve().then(()=>e(912714)))},754121,e=>{e.v(t=>Promise.all(["server/chunks/[root-of-the-server]__0d7zxm_._.js","server/chunks/src_lib_search_0ymmp0c._.js"].map(t=>e.l(t))).then(()=>t(437856)))}];
1
+ module.exports=[583627,e=>{"use strict";var t=e.i(798003),r=e.i(254226);function s(){return(process.env.WIKI_ADMIN_EMAILS??"").split(",").map(e=>e.trim().toLowerCase()).filter(Boolean)}async function n(e,r){if(r){let e=s();if(e.length>0&&e.includes(r.toLowerCase()))return!0}return((await (0,t.readConfig)()).adminUserIds??[]).includes(e)}async function i(){return(await (0,t.readConfig)()).adminUserIds??[]}async function o(e){await (0,t.updateConfig)(t=>{let r=t.adminUserIds??[];return r.includes(e)?t:{...t,adminUserIds:[...r,e]}})}async function a(e){let r=s().length>0,n=!1;if(await (0,t.updateConfig)(t=>{let s=(t.adminUserIds??[]).filter(t=>t!==e);return 0!==s.length||r?{...t,adminUserIds:s}:(n=!0,t)}),n)throw Error("LAST_ADMIN: cannot remove the last admin with no WIKI_ADMIN_EMAILS configured")}async function l(e){if(s().length>0||((await (0,t.readConfig)()).adminUserIds??[]).length>0)return;let r=!1;await (0,t.updateConfig)(t=>(t.adminUserIds??[]).length>0?t:(r=!0,{...t,adminUserIds:[e]})),r&&console.log(`[wiki-viewer] Bootstrap: first user ${e} promoted to admin`)}async function u(e){if("1"===process.env.WIKI_NO_AUTH)return{ok:!0,user:{id:"local",email:"local@localhost",name:"local"}};let t=await (0,r.requireUser)(e);return t.ok?await n(t.user.id,t.user.email)?{ok:!0,user:t.user}:{ok:!1,status:403,code:"ADMIN_REQUIRED"}:{ok:!1,status:401,code:"UNAUTHORIZED"}}e.s(["addAdmin",0,o,"ensureBootstrapAdmin",0,l,"isAdmin",0,n,"listAdmins",0,i,"removeAdmin",0,a,"requireAdmin",0,u])},874533,(e,t,r)=>{t.exports=e.x("node:child_process",()=>require("node:child_process"))},812057,(e,t,r)=>{t.exports=e.x("node:util",()=>require("node:util"))},834938,e=>{"use strict";let t;var r=e.i(874533),s=e.i(812057),n=e.i(912714),i=e.i(750227),o=e.i(660526);let a=(0,s.promisify)(r.execFile),l=/[;|&$`<>(){}\n\r\0]/;function u(){return i.default.join(o.default.homedir(),".wiki-viewer","mounts")}async function c(){if(!0!==t)try{await a("sshfs",["--version"]),t=!0}catch{throw Error("sshfs binary not found. Install sshfs + FUSE (e.g. `apt install sshfs`, `brew install macfuse sshfs`) and ensure it is on PATH.")}}async function d(t){var r;let s=i.default.resolve(t),o=!1;try{o=(await (0,n.readFile)("/proc/mounts","utf8")).split("\n").some(e=>{let t=e.split(" ");return t[1]===s&&/fuse/.test(t[2]??"")})}catch{o=!1}return!!o&&(r=s,new Promise(t=>{let s=!1,n=setTimeout(()=>{s||(s=!0,t(!1))},4e3);e.A(687903).then(({readdir:e})=>e(r)).then(()=>{s||(s=!0,clearTimeout(n),t(!0))}).catch(()=>{s||(s=!0,clearTimeout(n),t(!1))})}))}async function p(e){await c(),await (0,n.mkdir)(e.mountpoint,{recursive:!0});let t=function(e){let{target:t,mountpoint:r,port:s,authMethod:n,keyPath:i,readOnly:o}=e,a=t.user?`${t.user}@`:"",l=[`${a}${t.host}:${t.remotePath}`,r];s&&Number.isInteger(s)&&s>0&&s<65536&&l.push("-p",String(s));let u=["reconnect","ServerAliveInterval=15","ServerAliveCountMax=3","compression=yes","cache=yes","kernel_cache","StrictHostKeyChecking=accept-new","BatchMode=yes"];if(o&&u.push("ro"),"keyfile"===n&&i&&(u.push(`IdentityFile=${i}`),u.push("IdentitiesOnly=yes")),"password"===n){let e=u.indexOf("BatchMode=yes");e>=0&&u.splice(e,1),u.push("password_stdin"),u.push("PreferredAuthentications=password,keyboard-interactive"),u.push("PubkeyAuthentication=no"),u.push("NumberOfPasswordPrompts=1")}return e.extraOptions&&u.push(...e.extraOptions),l.push("-o",u.join(",")),l}(e);if(await new Promise((s,n)=>{let i=(0,r.spawn)("sshfs",t,{stdio:["pipe","ignore","pipe"]}),o="",a=setTimeout(()=>{i.kill("SIGKILL"),n(Error("sshfs mount timed out after 25s."))},25e3);i.stderr?.on("data",e=>{o+=e.toString()}),i.on("error",e=>{clearTimeout(a),n(e.message.includes("ENOENT")?Error("sshfs binary not found on PATH."):e)}),i.on("close",e=>{clearTimeout(a),0===e?s():n(Error(`sshfs exited ${e}: ${o.trim()||"mount failed"}`))}),"password"===e.authMethod&&i.stdin?.write((e.password??"")+"\n"),i.stdin?.end()}),!await d(e.mountpoint))throw Error("sshfs reported success but the mount is not live.")}async function f(e){let t=i.default.resolve(e);for(let[e,r]of[["fusermount",["-u","-z",t]],["umount",[t]]])try{await a(e,r);break}catch{}try{await (0,n.rmdir)(t)}catch{}}e.s(["assertSshfsAvailable",0,c,"isMounted",0,d,"isValidKeyPath",0,function(e){return!(!e||l.test(e)||e.includes(".."))&&(e.startsWith("/")||e.startsWith("~/"))},"mountSshfs",0,p,"mountpointFor",0,function(e){return i.default.join(u(),e)},"mountsDir",0,u,"parseSshTarget",0,function(e){let t;if(!e||l.test(e))return null;let r=e.trim(),s=r.indexOf(":");if(s<=0)return null;let n=r.slice(0,s),i=r.slice(s+1);if(!i.startsWith("/")||i.includes(".."))return null;let o=n,a=n.indexOf("@");return a>=0&&(t=n.slice(0,a),o=n.slice(a+1),!t)?null:o&&/^[a-zA-Z0-9.\-]+$/.test(o)&&(!t||/^[a-zA-Z0-9._\-]+$/.test(t))?{user:t,host:o,remotePath:i}:null},"unmountSshfs",0,f])},504445,e=>{"use strict";var t=e.i(750227);let r=globalThis;!r.__wikiRootDir&&process.env.ROOT_DIR&&(r.__wikiRootDir=t.default.resolve(process.env.ROOT_DIR)),e.s(["clearRootDir",0,function(){r.__wikiRootDir=void 0},"getRootDir",0,function(){return r.__wikiRootDir??""},"isRootDirSet",0,function(){return!!r.__wikiRootDir},"setRootDir",0,function(e){r.__wikiRootDir=t.default.resolve(e)}])},660038,e=>{"use strict";var t=e.i(750227),r=e.i(254226),s=e.i(583627),n=e.i(504445),i=e.i(359211);async function o(e){let r;await (0,i.migrateConfigToWorkspaces)();let s=new URL(e.url).searchParams.get("ws")??e.headers.get("x-workspace")??null;if(s)r=await (0,i.getWorkspace)(s)??null;else{let e=await (0,i.listWorkspaces)();if(0===e.length){let e;r=(e=(0,n.getRootDir)())?{id:"ws_default",name:t.default.basename(e)||"workspace",rootDir:e,createdAt:new Date(0).toISOString()}:null}else r=e.slice().sort((e,t)=>{let r=e.lastOpenedAt?new Date(e.lastOpenedAt).getTime():0,s=t.lastOpenedAt?new Date(t.lastOpenedAt).getTime():0;return s!==r?s-r:e.id<t.id?-1:+(e.id>t.id)})[0]}return r?.ssh&&await (0,i.ensureWorkspaceMounted)(r),r}async function a(e,t="read"){if("1"===process.env.WIKI_NO_AUTH){let r=await o(e);return r?"write"===t&&r.readOnly?{ok:!1,status:403,code:"WORKSPACE_READ_ONLY"}:{ok:!0,ws:r,rootDir:r.rootDir,userId:"local",isAdmin:!0}:{ok:!1,status:400,code:"WORKSPACE_REQUIRED"}}let n=await (0,r.requireUser)(e);if(!n.ok)return{ok:!1,status:401,code:"UNAUTHORIZED"};let l=await (0,s.isAdmin)(n.user.id,n.user.email),u=new URL(e.url).searchParams.get("ws")??e.headers.get("x-workspace")??null,c=await o(e);return c?(0,i.userCanAccess)(c,n.user.id,l)?"write"===t&&c.readOnly?{ok:!1,status:403,code:"WORKSPACE_READ_ONLY"}:{ok:!0,ws:c,rootDir:c.rootDir,userId:n.user.id,isAdmin:l}:{ok:!1,status:403,code:"WORKSPACE_FORBIDDEN"}:{ok:!1,status:u?404:400,code:u?"WORKSPACE_NOT_FOUND":"WORKSPACE_REQUIRED"}}async function l(e,t="read"){let r=await o(e);if(!r){let t=new URL(e.url).searchParams.get("ws")??e.headers.get("x-workspace")??null;return{ok:!1,status:t?404:400,code:t?"WORKSPACE_NOT_FOUND":"WORKSPACE_REQUIRED"}}return"write"===t&&r.readOnly?{ok:!1,status:403,code:"WORKSPACE_READ_ONLY"}:{ok:!0,ws:r,rootDir:r.rootDir}}e.s(["resolveWorkspaceForAgent",0,l,"resolveWorkspaceForUser",0,a])},402662,e=>{"use strict";var t=e.i(702414);e.s(["checkOrigin",0,function(e){let r=e.method.toUpperCase();if("GET"===r||"HEAD"===r||"OPTIONS"===r)return null;let s=e.headers.get("origin"),n=e.headers.get("referer");if(!s&&!n)return null;let i=function(e){let t=Array.from(new Set(["localhost","127.0.0.1",e.split(":")[0],...(process.env.WIKI_OWNER_HOSTS??"").split(",").map(e=>e.trim()).filter(Boolean)])),r=["",":3000",":3003"];e.includes(":")&&r.push(":"+e.split(":")[1]);let s=new Set;for(let e of t)for(let t of["http","https"])for(let n of r)s.add(`${t}://${e}${n}`);return s}(e.headers.get("host")??"");if(s)return i.has(s)?null:t.NextResponse.json({error:"FORBIDDEN",message:"Bad origin"},{status:403});if(n){try{let{protocol:e,host:t}=new URL(n);if(i.has(`${e}//${t}`))return null}catch{}return t.NextResponse.json({error:"FORBIDDEN",message:"Bad referer"},{status:403})}return null}])},761095,(e,t,r)=>{t.exports=e.x("node:net",()=>require("node:net"))},345212,e=>{"use strict";var t=e.i(874533),r=e.i(902157),s=e.i(761095),n=e.i(750227);let i=new Map;function o(e,t){return new Promise(r=>{let n=(0,s.createConnection)(e,t);n.setTimeout(800),n.on("connect",()=>{n.destroy(),r(!0)}),n.on("error",()=>{n.destroy(),r(!1)}),n.on("timeout",()=>{n.destroy(),r(!1)})})}async function a(e,t=3e4){let r=Date.now()+t;for(;Date.now()<r;){let[t,r]=await Promise.all([o(e,"127.0.0.1"),o(e,"::1")]);if(t||r)return!0;await new Promise(e=>setTimeout(e,400))}return!1}function l(e){let t=n.default.join(e,"package.json");if(!(0,r.existsSync)(t))return null;try{return JSON.parse((0,r.readFileSync)(t,"utf-8"))}catch{return null}}function u(e,t){return t.start?"start":t.preview&&(0,r.existsSync)(n.default.join(e,"dist"))?"preview":t.dev?"dev":null}function c(){let e=n.default.dirname(process.execPath),t=process.env.PATH??"";return t.split(n.default.delimiter).includes(e)?t:`${e}${n.default.delimiter}${t}`}async function d(e,o,d){let p=i.get(e);if(p&&"stopped"!==p.status&&"error"!==p.status)return{port:p.port};let f=await new Promise((e,t)=>{let r=(0,s.createServer)();r.listen(0,"127.0.0.1",()=>{let t=r.address(),s="object"==typeof t&&t?t.port:0;r.close(()=>e(s))}),r.on("error",t)}),h=(0,r.existsSync)(n.default.join(o,"pnpm-lock.yaml"))?"pnpm":(0,r.existsSync)(n.default.join(o,"yarn.lock"))?"yarn":"npm",m=function(e,t,r,s){let n=l(e);if(!n)return null;let i=n.scripts??{},o=Object.keys({...n.dependencies,...n.devDependencies}).some(e=>"vite"===e||e.includes("vite")),a=["--port",String(r)],c=e=>({bin:t,args:["run",e,"--",...a],isVite:o});if(s&&i[s])return c(s);let d=u(e,i);return d?c(d):n.main?{bin:"node",args:[n.main,...a],isVite:!1}:null}(o,h,f,d);if(!m)throw Error("No runnable script found in package.json (need start, preview, or dev)");let w={port:f,process:null,status:"installing",logs:[]};i.set(e,w);let v=e=>{w.logs.push(e),w.logs.length>200&&w.logs.shift()};if(!(0,r.existsSync)(n.default.join(o,"node_modules")))try{v(`[wiki-viewer] Running ${h} install…`),await new Promise((e,r)=>{let s=(0,t.spawn)(h,["install"],{cwd:o,stdio:"pipe",env:{...process.env,PATH:c()}});s.on("exit",t=>0===t?e():r(Error(`${h} install failed (exit ${t})`))),s.on("error",r)})}catch(e){return w.status="error",w.error=String(e),{port:f}}w.status="starting",v(`[wiki-viewer] Starting on port ${f}: ${m.bin} ${m.args.join(" ")}`);let g=(0,t.spawn)(m.bin,m.args,{cwd:o,stdio:"pipe",env:{...process.env,PATH:c(),PORT:String(f),VITE_PORT:String(f)}});w.process=g;let R=e=>{for(let t of e.toString().split("\n"))t.trim()&&v(t)};return g.stdout?.on("data",R),g.stderr?.on("data",R),g.on("exit",t=>{let r=i.get(e);r?.process===g&&"error"!==r.status&&(r.status=0===t||null===t?"stopped":"error",r.error=t?`Process exited with code ${t}`:void 0)}),a(f).then(t=>{let r=i.get(e);if(r?.process===g&&(r.status=t?"running":"error",!t)){r.error="Port never became reachable (30 s timeout)";try{g.kill("SIGTERM")}catch{}}}),{port:f}}e.s(["getScripts",0,function(e){let t=l(e);if(!t)return{scripts:[],defaultScript:null};let r=t.scripts??{};return{scripts:Object.keys(r),defaultScript:u(e,r)}},"getStatus",0,function(e){let t=i.get(e);return t?{status:t.status,port:t.port||void 0,error:t.error,logs:t.logs}:{status:"stopped",logs:[]}},"resolveByPrefix",0,function(e){for(let t=e.length;t>0;t--){let r=e.slice(0,t).join("/"),s=i.get(r);if(s&&"running"===s.status&&s.port){let n="/"+e.slice(t).join("/");return{relPath:r,port:s.port,rest:n}}}return null},"startApp",0,d,"stopApp",0,function(e){let t=i.get(e);if(t?.process){try{t.process.kill("SIGTERM")}catch{}t.status="stopped"}}])},80520,e=>{"use strict";var t=e.i(364564),r=e.i(102095),s=e.i(691091),n=e.i(475331),i=e.i(490301),o=e.i(670943),a=e.i(690324),l=e.i(243133),u=e.i(404870),c=e.i(420180),d=e.i(867883),p=e.i(336708),f=e.i(682278),h=e.i(157569),m=e.i(844146),w=e.i(193695);e.i(105888);var v=e.i(530564),g=e.i(702414),R=e.i(402662),_=e.i(660038),y=e.i(359211),k=e.i(345212);async function A(e){let t=await (0,_.resolveWorkspaceForUser)(e);if(!t.ok)return g.NextResponse.json({error:t.code},{status:t.status});let{searchParams:r}=new URL(e.url),s=r.get("path")??"",n=(0,k.getStatus)(s),i=(0,y.safeWorkspacePath)(t.rootDir,s),o=i?(0,k.getScripts)(i):{scripts:[],defaultScript:null};return g.NextResponse.json({...n,...o})}async function E(e){let t=(0,R.checkOrigin)(e);if(t)return t;let r=await (0,_.resolveWorkspaceForUser)(e,"write");if(!r.ok)return g.NextResponse.json({error:r.code},{status:r.status});let{rootDir:s}=r,n=await e.json(),i=n.path;if(!i||"string"!=typeof i)return g.NextResponse.json({error:"Missing path"},{status:400});let o=(0,y.safeWorkspacePath)(s,i);if(!o)return g.NextResponse.json({error:"Invalid path"},{status:400});try{let e=await (0,k.startApp)(i,o,n.script);return g.NextResponse.json(e)}catch(e){return g.NextResponse.json({error:String(e)},{status:500})}}async function O(e){let t=(0,R.checkOrigin)(e);if(t)return t;let r=await (0,_.resolveWorkspaceForUser)(e,"write");if(!r.ok)return g.NextResponse.json({error:r.code},{status:r.status});let s=(await e.json()).path;return s&&"string"==typeof s?((0,k.stopApp)(s),g.NextResponse.json({ok:!0})):g.NextResponse.json({error:"Missing path"},{status:400})}e.s(["DELETE",0,O,"GET",0,A,"POST",0,E],41743);var S=e.i(41743);let x=new t.AppRouteRouteModule({definition:{kind:r.RouteKind.APP_ROUTE,page:"/api/wiki/app/route",pathname:"/api/wiki/app",filename:"route",bundlePath:""},distDir:".next",relativeProjectDir:"",resolvedPagePath:"[project]/src/app/api/wiki/app/route.ts",nextConfigOutput:"standalone",userland:S,...{}}),{workAsyncStorage:P,workUnitAsyncStorage:I,serverHooks:D}=x;async function T(e,t,s){s.requestMeta&&(0,n.setRequestMeta)(e,s.requestMeta),x.isDev&&(0,n.addRequestMeta)(e,"devRequestTimingInternalsEnd",process.hrtime.bigint());let g="/api/wiki/app/route";g=g.replace(/\/index$/,"")||"/";let R=await x.prepare(e,t,{srcPage:g,multiZoneDraftMode:!1});if(!R)return t.statusCode=400,t.end("Bad Request"),null==s.waitUntil||s.waitUntil.call(s,Promise.resolve()),null;let{buildId:_,params:y,nextConfig:k,parsedUrl:A,isDraftMode:E,prerenderManifest:O,routerServerContext:S,isOnDemandRevalidate:P,revalidateOnlyGenerated:I,resolvedPathname:D,clientReferenceManifest:T,serverActionsManifest:N}=R,C=(0,a.normalizeAppPath)(g),b=!!(O.dynamicRoutes[C]||O.routes[D]),j=async()=>((null==S?void 0:S.render404)?await S.render404(e,t,A,!1):t.end("This page could not be found"),null);if(b&&!E){let e=!!O.routes[D],t=O.dynamicRoutes[C];if(t&&!1===t.fallback&&!e){if(k.adapterPath)return await j();throw new w.NoFallbackError}}let U=null;!b||x.isDev||E||(U="/index"===(U=D)?"/":U);let $=!0===x.isDev||!b,q=b&&!$;N&&T&&(0,o.setManifestsSingleton)({page:g,clientReferenceManifest:T,serverActionsManifest:N});let M=e.method||"GET",W=(0,i.getTracer)(),H=W.getActiveScopeSpan(),K=!!(null==S?void 0:S.isWrappedByNextServer),F=!!(0,n.getRequestMeta)(e,"minimalMode"),L=(0,n.getRequestMeta)(e,"incrementalCache")||await x.getIncrementalCache(e,k,O,F);null==L||L.resetRequestCache(),globalThis.__incrementalCache=L;let B={params:y,previewProps:O.preview,renderOpts:{experimental:{authInterrupts:!!k.experimental.authInterrupts},cacheComponents:!!k.cacheComponents,supportsDynamicResponse:$,incrementalCache:L,cacheLifeProfiles:k.cacheLife,waitUntil:s.waitUntil,onClose:e=>{t.on("close",e)},onAfterTaskError:void 0,onInstrumentationRequestError:(t,r,s,n)=>x.onRequestError(e,t,s,n,S)},sharedContext:{buildId:_}},z=new l.NodeNextRequest(e),G=new l.NodeNextResponse(t),V=u.NextRequestAdapter.fromNodeNextRequest(z,(0,u.signalFromNodeResponse)(t));try{let n,o=async e=>x.handle(V,B).finally(()=>{if(!e)return;e.setAttributes({"http.status_code":t.statusCode,"next.rsc":!1});let r=W.getRootSpanAttributes();if(!r)return;if(r.get("next.span_type")!==c.BaseServerSpan.handleRequest)return void console.warn(`Unexpected root span type '${r.get("next.span_type")}'. Please report this Next.js issue https://github.com/vercel/next.js`);let s=r.get("next.route");if(s){let t=`${M} ${s}`;e.setAttributes({"next.route":s,"http.route":s,"next.span_name":t}),e.updateName(t),n&&n!==e&&(n.setAttribute("http.route",s),n.updateName(t))}else e.updateName(`${M} ${g}`)}),a=async n=>{var i,a;let l=async({previousCacheEntry:r})=>{try{if(!F&&P&&I&&!r)return t.statusCode=404,t.setHeader("x-nextjs-cache","REVALIDATED"),t.end("This page could not be found"),null;let i=await o(n);e.fetchMetrics=B.renderOpts.fetchMetrics;let a=B.renderOpts.pendingWaitUntil;a&&s.waitUntil&&(s.waitUntil(a),a=void 0);let l=B.renderOpts.collectedTags;if(!b)return await (0,p.sendResponse)(z,G,i,B.renderOpts.pendingWaitUntil),null;{let e=await i.blob(),t=(0,f.toNodeOutgoingHttpHeaders)(i.headers);l&&(t[m.NEXT_CACHE_TAGS_HEADER]=l),!t["content-type"]&&e.type&&(t["content-type"]=e.type);let r=void 0!==B.renderOpts.collectedRevalidate&&!(B.renderOpts.collectedRevalidate>=m.INFINITE_CACHE)&&B.renderOpts.collectedRevalidate,s=void 0===B.renderOpts.collectedExpire||B.renderOpts.collectedExpire>=m.INFINITE_CACHE?void 0:B.renderOpts.collectedExpire;return{value:{kind:v.CachedRouteKind.APP_ROUTE,status:i.status,body:Buffer.from(await e.arrayBuffer()),headers:t},cacheControl:{revalidate:r,expire:s}}}}catch(t){throw(null==r?void 0:r.isStale)&&await x.onRequestError(e,t,{routerKind:"App Router",routePath:g,routeType:"route",revalidateReason:(0,d.getRevalidateReason)({isStaticGeneration:q,isOnDemandRevalidate:P})},!1,S),t}},u=await x.handleResponse({req:e,nextConfig:k,cacheKey:U,routeKind:r.RouteKind.APP_ROUTE,isFallback:!1,prerenderManifest:O,isRoutePPREnabled:!1,isOnDemandRevalidate:P,revalidateOnlyGenerated:I,responseGenerator:l,waitUntil:s.waitUntil,isMinimalMode:F});if(!b)return null;if((null==u||null==(i=u.value)?void 0:i.kind)!==v.CachedRouteKind.APP_ROUTE)throw Object.defineProperty(Error(`Invariant: app-route received invalid cache entry ${null==u||null==(a=u.value)?void 0:a.kind}`),"__NEXT_ERROR_CODE",{value:"E701",enumerable:!1,configurable:!0});F||t.setHeader("x-nextjs-cache",P?"REVALIDATED":u.isMiss?"MISS":u.isStale?"STALE":"HIT"),E&&t.setHeader("Cache-Control","private, no-cache, no-store, max-age=0, must-revalidate");let c=(0,f.fromNodeOutgoingHttpHeaders)(u.value.headers);return F&&b||c.delete(m.NEXT_CACHE_TAGS_HEADER),!u.cacheControl||t.getHeader("Cache-Control")||c.get("Cache-Control")||c.set("Cache-Control",(0,h.getCacheControlHeader)(u.cacheControl)),await (0,p.sendResponse)(z,G,new Response(u.value.body,{headers:c,status:u.value.status||200})),null};K&&H?await a(H):(n=W.getActiveScopeSpan(),await W.withPropagatedContext(e.headers,()=>W.trace(c.BaseServerSpan.handleRequest,{spanName:`${M} ${g}`,kind:i.SpanKind.SERVER,attributes:{"http.method":M,"http.target":e.url}},a),void 0,!K))}catch(t){if(t instanceof w.NoFallbackError||await x.onRequestError(e,t,{routerKind:"App Router",routePath:C,routeType:"route",revalidateReason:(0,d.getRevalidateReason)({isStaticGeneration:q,isOnDemandRevalidate:P})},!1,S),b)throw t;return await (0,p.sendResponse)(z,G,new Response(null,{status:500})),null}}e.s(["handler",0,T,"patchFetch",0,function(){return(0,s.patchFetch)({workAsyncStorage:P,workUnitAsyncStorage:I})},"routeModule",0,x,"serverHooks",0,D,"workAsyncStorage",0,P,"workUnitAsyncStorage",0,I],80520)},168315,e=>{e.v(t=>Promise.all(["server/chunks/0sag_@better-auth_memory-adapter_dist_index_mjs_0pvj6im._.js"].map(t=>e.l(t))).then(()=>t(862112)))},317691,e=>{e.v(t=>Promise.all(["server/chunks/0dhv_better-auth_dist_adapters_kysely-adapter_index_mjs_0t4t4z8._.js"].map(t=>e.l(t))).then(()=>t(833412)))},580632,e=>{e.v(e=>Promise.resolve().then(()=>e(270406)))},947559,e=>{e.v(t=>Promise.all(["server/chunks/0ugq_@better-auth_kysely-adapter_dist_bun-sqlite-dialect-DzNwOpKv_mjs_0z1z6m4._.js"].map(t=>e.l(t))).then(()=>t(495181)))},715018,e=>{e.v(t=>Promise.all(["server/chunks/0ugq_@better-auth_kysely-adapter_dist_node-sqlite-dialect_mjs_0qqlvhl._.js"].map(t=>e.l(t))).then(()=>t(698370)))},146843,e=>{e.v(t=>Promise.all(["server/chunks/0ugq_@better-auth_kysely-adapter_dist_d1-sqlite-dialect-C2B7YsIT_mjs_0wynrz3._.js"].map(t=>e.l(t))).then(()=>t(143740)))},84040,e=>{e.v(t=>Promise.all(["server/chunks/0p91_next_0h94sj1._.js"].map(t=>e.l(t))).then(()=>t(815068)))},427669,e=>{e.v(e=>Promise.resolve().then(()=>e(177730)))},687903,e=>{e.v(e=>Promise.resolve().then(()=>e(912714)))},754121,e=>{e.v(t=>Promise.all(["server/chunks/[root-of-the-server]__0d7zxm_._.js","server/chunks/src_lib_search_0ymmp0c._.js"].map(t=>e.l(t))).then(()=>t(437856)))}];
2
2
 
3
3
  //# sourceMappingURL=%5Broot-of-the-server%5D__0_0bqpg._.js.map
@@ -1,3 +1,3 @@
1
- module.exports=[918622,(e,t,r)=>{t.exports=e.x("next/dist/compiled/next-server/app-page-turbo.runtime.prod.js",()=>require("next/dist/compiled/next-server/app-page-turbo.runtime.prod.js"))},556704,(e,t,r)=>{t.exports=e.x("next/dist/server/app-render/work-async-storage.external.js",()=>require("next/dist/server/app-render/work-async-storage.external.js"))},832319,(e,t,r)=>{t.exports=e.x("next/dist/server/app-render/work-unit-async-storage.external.js",()=>require("next/dist/server/app-render/work-unit-async-storage.external.js"))},324725,(e,t,r)=>{t.exports=e.x("next/dist/server/app-render/after-task-async-storage.external.js",()=>require("next/dist/server/app-render/after-task-async-storage.external.js"))},270406,(e,t,r)=>{t.exports=e.x("next/dist/compiled/@opentelemetry/api",()=>require("next/dist/compiled/@opentelemetry/api"))},193695,(e,t,r)=>{t.exports=e.x("next/dist/shared/lib/no-fallback-error.external.js",()=>require("next/dist/shared/lib/no-fallback-error.external.js"))},959801,(e,t,r)=>{"use strict";t.exports=e.r(918622)},637142,(e,t,r)=>{"use strict";t.exports=e.r(959801).vendored["react-rsc"].React},186791,(e,t,r)=>{"use strict";var n=Object.defineProperty,s=Object.getOwnPropertyDescriptor,o=Object.getOwnPropertyNames,i=Object.prototype.hasOwnProperty,a={},l={RequestCookies:()=>x,ResponseCookies:()=>g,parseCookie:()=>d,parseSetCookie:()=>c,stringifyCookie:()=>u};for(var p in l)n(a,p,{get:l[p],enumerable:!0});function u(e){var t;let r=["path"in e&&e.path&&`Path=${e.path}`,"expires"in e&&(e.expires||0===e.expires)&&`Expires=${("number"==typeof e.expires?new Date(e.expires):e.expires).toUTCString()}`,"maxAge"in e&&"number"==typeof e.maxAge&&`Max-Age=${e.maxAge}`,"domain"in e&&e.domain&&`Domain=${e.domain}`,"secure"in e&&e.secure&&"Secure","httpOnly"in e&&e.httpOnly&&"HttpOnly","sameSite"in e&&e.sameSite&&`SameSite=${e.sameSite}`,"partitioned"in e&&e.partitioned&&"Partitioned","priority"in e&&e.priority&&`Priority=${e.priority}`].filter(Boolean),n=`${e.name}=${encodeURIComponent(null!=(t=e.value)?t:"")}`;return 0===r.length?n:`${n}; ${r.join("; ")}`}function d(e){let t=new Map;for(let r of e.split(/; */)){if(!r)continue;let e=r.indexOf("=");if(-1===e){t.set(r,"true");continue}let[n,s]=[r.slice(0,e),r.slice(e+1)];try{t.set(n,decodeURIComponent(null!=s?s:"true"))}catch{}}return t}function c(e){if(!e)return;let[[t,r],...n]=d(e),{domain:s,expires:o,httponly:i,maxage:a,path:l,samesite:p,secure:u,partitioned:c,priority:x}=Object.fromEntries(n.map(([e,t])=>[e.toLowerCase().replace(/-/g,""),t]));{var g,h,y={name:t,value:decodeURIComponent(r),domain:s,...o&&{expires:new Date(o)},...i&&{httpOnly:!0},..."string"==typeof a&&{maxAge:Number(a)},path:l,...p&&{sameSite:f.includes(g=(g=p).toLowerCase())?g:void 0},...u&&{secure:!0},...x&&{priority:m.includes(h=(h=x).toLowerCase())?h:void 0},...c&&{partitioned:!0}};let e={};for(let t in y)y[t]&&(e[t]=y[t]);return e}}t.exports=((e,t,r)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let a of o(t))i.call(e,a)||void 0===a||n(e,a,{get:()=>t[a],enumerable:!(r=s(t,a))||r.enumerable});return e})(n({},"__esModule",{value:!0}),a);var f=["strict","lax","none"],m=["low","medium","high"],x=class{constructor(e){this._parsed=new Map,this._headers=e;const t=e.get("cookie");if(t)for(const[e,r]of d(t))this._parsed.set(e,{name:e,value:r})}[Symbol.iterator](){return this._parsed[Symbol.iterator]()}get size(){return this._parsed.size}get(...e){let t="string"==typeof e[0]?e[0]:e[0].name;return this._parsed.get(t)}getAll(...e){var t;let r=Array.from(this._parsed);if(!e.length)return r.map(([e,t])=>t);let n="string"==typeof e[0]?e[0]:null==(t=e[0])?void 0:t.name;return r.filter(([e])=>e===n).map(([e,t])=>t)}has(e){return this._parsed.has(e)}set(...e){let[t,r]=1===e.length?[e[0].name,e[0].value]:e,n=this._parsed;return n.set(t,{name:t,value:r}),this._headers.set("cookie",Array.from(n).map(([e,t])=>u(t)).join("; ")),this}delete(e){let t=this._parsed,r=Array.isArray(e)?e.map(e=>t.delete(e)):t.delete(e);return this._headers.set("cookie",Array.from(t).map(([e,t])=>u(t)).join("; ")),r}clear(){return this.delete(Array.from(this._parsed.keys())),this}[Symbol.for("edge-runtime.inspect.custom")](){return`RequestCookies ${JSON.stringify(Object.fromEntries(this._parsed))}`}toString(){return[...this._parsed.values()].map(e=>`${e.name}=${encodeURIComponent(e.value)}`).join("; ")}},g=class{constructor(e){var t,r,n;this._parsed=new Map,this._headers=e;const s=null!=(n=null!=(r=null==(t=e.getSetCookie)?void 0:t.call(e))?r:e.get("set-cookie"))?n:[];for(const e of Array.isArray(s)?s:function(e){if(!e)return[];var t,r,n,s,o,i=[],a=0;function l(){for(;a<e.length&&/\s/.test(e.charAt(a));)a+=1;return a<e.length}for(;a<e.length;){for(t=a,o=!1;l();)if(","===(r=e.charAt(a))){for(n=a,a+=1,l(),s=a;a<e.length&&"="!==(r=e.charAt(a))&&";"!==r&&","!==r;)a+=1;a<e.length&&"="===e.charAt(a)?(o=!0,a=s,i.push(e.substring(t,n)),t=a):a=n+1}else a+=1;(!o||a>=e.length)&&i.push(e.substring(t,e.length))}return i}(s)){const t=c(e);t&&this._parsed.set(t.name,t)}}get(...e){let t="string"==typeof e[0]?e[0]:e[0].name;return this._parsed.get(t)}getAll(...e){var t;let r=Array.from(this._parsed.values());if(!e.length)return r;let n="string"==typeof e[0]?e[0]:null==(t=e[0])?void 0:t.name;return r.filter(e=>e.name===n)}has(e){return this._parsed.has(e)}set(...e){let[t,r,n]=1===e.length?[e[0].name,e[0].value,e[0]]:e,s=this._parsed;return s.set(t,function(e={name:"",value:""}){return"number"==typeof e.expires&&(e.expires=new Date(e.expires)),e.maxAge&&(e.expires=new Date(Date.now()+1e3*e.maxAge)),(null===e.path||void 0===e.path)&&(e.path="/"),e}({name:t,value:r,...n})),function(e,t){for(let[,r]of(t.delete("set-cookie"),e)){let e=u(r);t.append("set-cookie",e)}}(s,this._headers),this}delete(...e){let[t,r]="string"==typeof e[0]?[e[0]]:[e[0].name,e[0]];return this.set({...r,name:t,value:"",expires:new Date(0)})}[Symbol.for("edge-runtime.inspect.custom")](){return`ResponseCookies ${JSON.stringify(Object.fromEntries(this._parsed))}`}toString(){return[...this._parsed.values()].map(u).join("; ")}}},478500,(e,t,r)=>{t.exports=e.x("node:async_hooks",()=>require("node:async_hooks"))},750227,(e,t,r)=>{t.exports=e.x("node:path",()=>require("node:path"))},912714,(e,t,r)=>{t.exports=e.x("node:fs/promises",()=>require("node:fs/promises"))},666680,(e,t,r)=>{t.exports=e.x("node:crypto",()=>require("node:crypto"))},902157,(e,t,r)=>{t.exports=e.x("node:fs",()=>require("node:fs"))},812057,(e,t,r)=>{t.exports=e.x("node:util",()=>require("node:util"))},874533,(e,t,r)=>{t.exports=e.x("node:child_process",()=>require("node:child_process"))},857764,(e,t,r)=>{t.exports=e.x("node:url",()=>require("node:url"))},81111,(e,t,r)=>{t.exports=e.x("node:stream",()=>require("node:stream"))},687769,(e,t,r)=>{t.exports=e.x("node:events",()=>require("node:events"))},951615,(e,t,r)=>{t.exports=e.x("node:buffer",()=>require("node:buffer"))},727028,(e,t,r)=>{t.exports=e.x("node:zlib",()=>require("node:zlib"))},761095,(e,t,r)=>{t.exports=e.x("node:net",()=>require("node:net"))},345212,e=>{"use strict";var t=e.i(874533),r=e.i(902157),n=e.i(761095),s=e.i(750227);let o=new Map;function i(e,t){return new Promise(r=>{let s=(0,n.createConnection)(e,t);s.setTimeout(800),s.on("connect",()=>{s.destroy(),r(!0)}),s.on("error",()=>{s.destroy(),r(!1)}),s.on("timeout",()=>{s.destroy(),r(!1)})})}async function a(e,t=3e4){let r=Date.now()+t;for(;Date.now()<r;){let[t,r]=await Promise.all([i(e,"127.0.0.1"),i(e,"::1")]);if(t||r)return!0;await new Promise(e=>setTimeout(e,400))}return!1}function l(e){let t=s.default.join(e,"package.json");if(!(0,r.existsSync)(t))return null;try{return JSON.parse((0,r.readFileSync)(t,"utf-8"))}catch{return null}}function p(e,t){return t.start?"start":t.preview&&(0,r.existsSync)(s.default.join(e,"dist"))?"preview":t.dev?"dev":null}function u(){let e=s.default.dirname(process.execPath),t=process.env.PATH??"";return t.split(s.default.delimiter).includes(e)?t:`${e}${s.default.delimiter}${t}`}async function d(e,i,d){let c=o.get(e);if(c&&"stopped"!==c.status&&"error"!==c.status)return{port:c.port};let f=await new Promise((e,t)=>{let r=(0,n.createServer)();r.listen(0,"127.0.0.1",()=>{let t=r.address(),n="object"==typeof t&&t?t.port:0;r.close(()=>e(n))}),r.on("error",t)}),m=(0,r.existsSync)(s.default.join(i,"pnpm-lock.yaml"))?"pnpm":(0,r.existsSync)(s.default.join(i,"yarn.lock"))?"yarn":"npm",x=function(e,t,r,n){let s=l(e);if(!s)return null;let o=s.scripts??{},i=Object.keys({...s.dependencies,...s.devDependencies}).some(e=>"vite"===e||e.includes("vite")),a=["--port",String(r)],u=e=>({bin:t,args:["run",e,"--",...a],isVite:i});if(n&&o[n])return u(n);let d=p(e,o);return d?u(d):s.main?{bin:"node",args:[s.main,...a],isVite:!1}:null}(i,m,f,d);if(!x)throw Error("No runnable script found in package.json (need start, preview, or dev)");let g={port:f,process:null,status:"installing",logs:[]};o.set(e,g);let h=e=>{g.logs.push(e),g.logs.length>200&&g.logs.shift()};if(!(0,r.existsSync)(s.default.join(i,"node_modules")))try{h(`[wiki-viewer] Running ${m} install…`),await new Promise((e,r)=>{let n=(0,t.spawn)(m,["install"],{cwd:i,stdio:"pipe",env:{...process.env,PATH:u()}});n.on("exit",t=>0===t?e():r(Error(`${m} install failed (exit ${t})`))),n.on("error",r)})}catch(e){return g.status="error",g.error=String(e),{port:f}}g.status="starting",h(`[wiki-viewer] Starting on port ${f}: ${x.bin} ${x.args.join(" ")}`);let y=(0,t.spawn)(x.bin,x.args,{cwd:i,stdio:"pipe",env:{...process.env,PATH:u(),PORT:String(f),VITE_PORT:String(f)}});g.process=y;let v=e=>{for(let t of e.toString().split("\n"))t.trim()&&h(t)};return y.stdout?.on("data",v),y.stderr?.on("data",v),y.on("exit",t=>{let r=o.get(e);r?.process===y&&(r.status=0===t||null===t?"stopped":"error",r.error=t?`Process exited with code ${t}`:void 0)}),a(f).then(t=>{let r=o.get(e);r?.process===y&&(r.status=t?"running":"error",t||(r.error="Port never became reachable (30 s timeout)"))}),{port:f}}e.s(["getScripts",0,function(e){let t=l(e);if(!t)return{scripts:[],defaultScript:null};let r=t.scripts??{};return{scripts:Object.keys(r),defaultScript:p(e,r)}},"getStatus",0,function(e){let t=o.get(e);return t?{status:t.status,port:t.port||void 0,error:t.error,logs:t.logs}:{status:"stopped",logs:[]}},"resolveByPrefix",0,function(e){for(let t=e.length;t>0;t--){let r=e.slice(0,t).join("/"),n=o.get(r);if(n&&"running"===n.status&&n.port){let s="/"+e.slice(t).join("/");return{relPath:r,port:n.port,rest:s}}}return null},"startApp",0,d,"stopApp",0,function(e){let t=o.get(e);if(t?.process){try{t.process.kill("SIGTERM")}catch{}t.status="stopped"}}])}];
1
+ module.exports=[918622,(e,t,r)=>{t.exports=e.x("next/dist/compiled/next-server/app-page-turbo.runtime.prod.js",()=>require("next/dist/compiled/next-server/app-page-turbo.runtime.prod.js"))},556704,(e,t,r)=>{t.exports=e.x("next/dist/server/app-render/work-async-storage.external.js",()=>require("next/dist/server/app-render/work-async-storage.external.js"))},832319,(e,t,r)=>{t.exports=e.x("next/dist/server/app-render/work-unit-async-storage.external.js",()=>require("next/dist/server/app-render/work-unit-async-storage.external.js"))},324725,(e,t,r)=>{t.exports=e.x("next/dist/server/app-render/after-task-async-storage.external.js",()=>require("next/dist/server/app-render/after-task-async-storage.external.js"))},270406,(e,t,r)=>{t.exports=e.x("next/dist/compiled/@opentelemetry/api",()=>require("next/dist/compiled/@opentelemetry/api"))},193695,(e,t,r)=>{t.exports=e.x("next/dist/shared/lib/no-fallback-error.external.js",()=>require("next/dist/shared/lib/no-fallback-error.external.js"))},959801,(e,t,r)=>{"use strict";t.exports=e.r(918622)},637142,(e,t,r)=>{"use strict";t.exports=e.r(959801).vendored["react-rsc"].React},186791,(e,t,r)=>{"use strict";var s=Object.defineProperty,n=Object.getOwnPropertyDescriptor,o=Object.getOwnPropertyNames,i=Object.prototype.hasOwnProperty,a={},l={RequestCookies:()=>x,ResponseCookies:()=>g,parseCookie:()=>d,parseSetCookie:()=>c,stringifyCookie:()=>u};for(var p in l)s(a,p,{get:l[p],enumerable:!0});function u(e){var t;let r=["path"in e&&e.path&&`Path=${e.path}`,"expires"in e&&(e.expires||0===e.expires)&&`Expires=${("number"==typeof e.expires?new Date(e.expires):e.expires).toUTCString()}`,"maxAge"in e&&"number"==typeof e.maxAge&&`Max-Age=${e.maxAge}`,"domain"in e&&e.domain&&`Domain=${e.domain}`,"secure"in e&&e.secure&&"Secure","httpOnly"in e&&e.httpOnly&&"HttpOnly","sameSite"in e&&e.sameSite&&`SameSite=${e.sameSite}`,"partitioned"in e&&e.partitioned&&"Partitioned","priority"in e&&e.priority&&`Priority=${e.priority}`].filter(Boolean),s=`${e.name}=${encodeURIComponent(null!=(t=e.value)?t:"")}`;return 0===r.length?s:`${s}; ${r.join("; ")}`}function d(e){let t=new Map;for(let r of e.split(/; */)){if(!r)continue;let e=r.indexOf("=");if(-1===e){t.set(r,"true");continue}let[s,n]=[r.slice(0,e),r.slice(e+1)];try{t.set(s,decodeURIComponent(null!=n?n:"true"))}catch{}}return t}function c(e){if(!e)return;let[[t,r],...s]=d(e),{domain:n,expires:o,httponly:i,maxage:a,path:l,samesite:p,secure:u,partitioned:c,priority:x}=Object.fromEntries(s.map(([e,t])=>[e.toLowerCase().replace(/-/g,""),t]));{var g,h,y={name:t,value:decodeURIComponent(r),domain:n,...o&&{expires:new Date(o)},...i&&{httpOnly:!0},..."string"==typeof a&&{maxAge:Number(a)},path:l,...p&&{sameSite:f.includes(g=(g=p).toLowerCase())?g:void 0},...u&&{secure:!0},...x&&{priority:m.includes(h=(h=x).toLowerCase())?h:void 0},...c&&{partitioned:!0}};let e={};for(let t in y)y[t]&&(e[t]=y[t]);return e}}t.exports=((e,t,r)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let a of o(t))i.call(e,a)||void 0===a||s(e,a,{get:()=>t[a],enumerable:!(r=n(t,a))||r.enumerable});return e})(s({},"__esModule",{value:!0}),a);var f=["strict","lax","none"],m=["low","medium","high"],x=class{constructor(e){this._parsed=new Map,this._headers=e;const t=e.get("cookie");if(t)for(const[e,r]of d(t))this._parsed.set(e,{name:e,value:r})}[Symbol.iterator](){return this._parsed[Symbol.iterator]()}get size(){return this._parsed.size}get(...e){let t="string"==typeof e[0]?e[0]:e[0].name;return this._parsed.get(t)}getAll(...e){var t;let r=Array.from(this._parsed);if(!e.length)return r.map(([e,t])=>t);let s="string"==typeof e[0]?e[0]:null==(t=e[0])?void 0:t.name;return r.filter(([e])=>e===s).map(([e,t])=>t)}has(e){return this._parsed.has(e)}set(...e){let[t,r]=1===e.length?[e[0].name,e[0].value]:e,s=this._parsed;return s.set(t,{name:t,value:r}),this._headers.set("cookie",Array.from(s).map(([e,t])=>u(t)).join("; ")),this}delete(e){let t=this._parsed,r=Array.isArray(e)?e.map(e=>t.delete(e)):t.delete(e);return this._headers.set("cookie",Array.from(t).map(([e,t])=>u(t)).join("; ")),r}clear(){return this.delete(Array.from(this._parsed.keys())),this}[Symbol.for("edge-runtime.inspect.custom")](){return`RequestCookies ${JSON.stringify(Object.fromEntries(this._parsed))}`}toString(){return[...this._parsed.values()].map(e=>`${e.name}=${encodeURIComponent(e.value)}`).join("; ")}},g=class{constructor(e){var t,r,s;this._parsed=new Map,this._headers=e;const n=null!=(s=null!=(r=null==(t=e.getSetCookie)?void 0:t.call(e))?r:e.get("set-cookie"))?s:[];for(const e of Array.isArray(n)?n:function(e){if(!e)return[];var t,r,s,n,o,i=[],a=0;function l(){for(;a<e.length&&/\s/.test(e.charAt(a));)a+=1;return a<e.length}for(;a<e.length;){for(t=a,o=!1;l();)if(","===(r=e.charAt(a))){for(s=a,a+=1,l(),n=a;a<e.length&&"="!==(r=e.charAt(a))&&";"!==r&&","!==r;)a+=1;a<e.length&&"="===e.charAt(a)?(o=!0,a=n,i.push(e.substring(t,s)),t=a):a=s+1}else a+=1;(!o||a>=e.length)&&i.push(e.substring(t,e.length))}return i}(n)){const t=c(e);t&&this._parsed.set(t.name,t)}}get(...e){let t="string"==typeof e[0]?e[0]:e[0].name;return this._parsed.get(t)}getAll(...e){var t;let r=Array.from(this._parsed.values());if(!e.length)return r;let s="string"==typeof e[0]?e[0]:null==(t=e[0])?void 0:t.name;return r.filter(e=>e.name===s)}has(e){return this._parsed.has(e)}set(...e){let[t,r,s]=1===e.length?[e[0].name,e[0].value,e[0]]:e,n=this._parsed;return n.set(t,function(e={name:"",value:""}){return"number"==typeof e.expires&&(e.expires=new Date(e.expires)),e.maxAge&&(e.expires=new Date(Date.now()+1e3*e.maxAge)),(null===e.path||void 0===e.path)&&(e.path="/"),e}({name:t,value:r,...s})),function(e,t){for(let[,r]of(t.delete("set-cookie"),e)){let e=u(r);t.append("set-cookie",e)}}(n,this._headers),this}delete(...e){let[t,r]="string"==typeof e[0]?[e[0]]:[e[0].name,e[0]];return this.set({...r,name:t,value:"",expires:new Date(0)})}[Symbol.for("edge-runtime.inspect.custom")](){return`ResponseCookies ${JSON.stringify(Object.fromEntries(this._parsed))}`}toString(){return[...this._parsed.values()].map(u).join("; ")}}},478500,(e,t,r)=>{t.exports=e.x("node:async_hooks",()=>require("node:async_hooks"))},750227,(e,t,r)=>{t.exports=e.x("node:path",()=>require("node:path"))},912714,(e,t,r)=>{t.exports=e.x("node:fs/promises",()=>require("node:fs/promises"))},666680,(e,t,r)=>{t.exports=e.x("node:crypto",()=>require("node:crypto"))},902157,(e,t,r)=>{t.exports=e.x("node:fs",()=>require("node:fs"))},812057,(e,t,r)=>{t.exports=e.x("node:util",()=>require("node:util"))},874533,(e,t,r)=>{t.exports=e.x("node:child_process",()=>require("node:child_process"))},857764,(e,t,r)=>{t.exports=e.x("node:url",()=>require("node:url"))},81111,(e,t,r)=>{t.exports=e.x("node:stream",()=>require("node:stream"))},687769,(e,t,r)=>{t.exports=e.x("node:events",()=>require("node:events"))},951615,(e,t,r)=>{t.exports=e.x("node:buffer",()=>require("node:buffer"))},727028,(e,t,r)=>{t.exports=e.x("node:zlib",()=>require("node:zlib"))},761095,(e,t,r)=>{t.exports=e.x("node:net",()=>require("node:net"))},345212,e=>{"use strict";var t=e.i(874533),r=e.i(902157),s=e.i(761095),n=e.i(750227);let o=new Map;function i(e,t){return new Promise(r=>{let n=(0,s.createConnection)(e,t);n.setTimeout(800),n.on("connect",()=>{n.destroy(),r(!0)}),n.on("error",()=>{n.destroy(),r(!1)}),n.on("timeout",()=>{n.destroy(),r(!1)})})}async function a(e,t=3e4){let r=Date.now()+t;for(;Date.now()<r;){let[t,r]=await Promise.all([i(e,"127.0.0.1"),i(e,"::1")]);if(t||r)return!0;await new Promise(e=>setTimeout(e,400))}return!1}function l(e){let t=n.default.join(e,"package.json");if(!(0,r.existsSync)(t))return null;try{return JSON.parse((0,r.readFileSync)(t,"utf-8"))}catch{return null}}function p(e,t){return t.start?"start":t.preview&&(0,r.existsSync)(n.default.join(e,"dist"))?"preview":t.dev?"dev":null}function u(){let e=n.default.dirname(process.execPath),t=process.env.PATH??"";return t.split(n.default.delimiter).includes(e)?t:`${e}${n.default.delimiter}${t}`}async function d(e,i,d){let c=o.get(e);if(c&&"stopped"!==c.status&&"error"!==c.status)return{port:c.port};let f=await new Promise((e,t)=>{let r=(0,s.createServer)();r.listen(0,"127.0.0.1",()=>{let t=r.address(),s="object"==typeof t&&t?t.port:0;r.close(()=>e(s))}),r.on("error",t)}),m=(0,r.existsSync)(n.default.join(i,"pnpm-lock.yaml"))?"pnpm":(0,r.existsSync)(n.default.join(i,"yarn.lock"))?"yarn":"npm",x=function(e,t,r,s){let n=l(e);if(!n)return null;let o=n.scripts??{},i=Object.keys({...n.dependencies,...n.devDependencies}).some(e=>"vite"===e||e.includes("vite")),a=["--port",String(r)],u=e=>({bin:t,args:["run",e,"--",...a],isVite:i});if(s&&o[s])return u(s);let d=p(e,o);return d?u(d):n.main?{bin:"node",args:[n.main,...a],isVite:!1}:null}(i,m,f,d);if(!x)throw Error("No runnable script found in package.json (need start, preview, or dev)");let g={port:f,process:null,status:"installing",logs:[]};o.set(e,g);let h=e=>{g.logs.push(e),g.logs.length>200&&g.logs.shift()};if(!(0,r.existsSync)(n.default.join(i,"node_modules")))try{h(`[wiki-viewer] Running ${m} install…`),await new Promise((e,r)=>{let s=(0,t.spawn)(m,["install"],{cwd:i,stdio:"pipe",env:{...process.env,PATH:u()}});s.on("exit",t=>0===t?e():r(Error(`${m} install failed (exit ${t})`))),s.on("error",r)})}catch(e){return g.status="error",g.error=String(e),{port:f}}g.status="starting",h(`[wiki-viewer] Starting on port ${f}: ${x.bin} ${x.args.join(" ")}`);let y=(0,t.spawn)(x.bin,x.args,{cwd:i,stdio:"pipe",env:{...process.env,PATH:u(),PORT:String(f),VITE_PORT:String(f)}});g.process=y;let v=e=>{for(let t of e.toString().split("\n"))t.trim()&&h(t)};return y.stdout?.on("data",v),y.stderr?.on("data",v),y.on("exit",t=>{let r=o.get(e);r?.process===y&&"error"!==r.status&&(r.status=0===t||null===t?"stopped":"error",r.error=t?`Process exited with code ${t}`:void 0)}),a(f).then(t=>{let r=o.get(e);if(r?.process===y&&(r.status=t?"running":"error",!t)){r.error="Port never became reachable (30 s timeout)";try{y.kill("SIGTERM")}catch{}}}),{port:f}}e.s(["getScripts",0,function(e){let t=l(e);if(!t)return{scripts:[],defaultScript:null};let r=t.scripts??{};return{scripts:Object.keys(r),defaultScript:p(e,r)}},"getStatus",0,function(e){let t=o.get(e);return t?{status:t.status,port:t.port||void 0,error:t.error,logs:t.logs}:{status:"stopped",logs:[]}},"resolveByPrefix",0,function(e){for(let t=e.length;t>0;t--){let r=e.slice(0,t).join("/"),s=o.get(r);if(s&&"running"===s.status&&s.port){let n="/"+e.slice(t).join("/");return{relPath:r,port:s.port,rest:n}}}return null},"startApp",0,d,"stopApp",0,function(e){let t=o.get(e);if(t?.process){try{t.process.kill("SIGTERM")}catch{}t.status="stopped"}}])}];
2
2
 
3
3
  //# sourceMappingURL=%5Broot-of-the-server%5D__0oruwos._.js.map