@sinytra/wiki-previewer 0.1.98 → 0.1.106

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 (138) hide show
  1. package/.next/BUILD_ID +1 -1
  2. package/.next/app-build-manifest.json +85 -85
  3. package/.next/app-path-routes-manifest.json +3 -3
  4. package/.next/build-manifest.json +2 -2
  5. package/.next/prerender-manifest.json +15 -15
  6. package/.next/server/app/(developers)/api/docs/[slug]/asset/[id]/route.js +1 -1
  7. package/.next/server/app/(developers)/api/docs/[slug]/asset/[id]/route.js.nft.json +1 -1
  8. package/.next/server/app/(developers)/api/docs/[slug]/asset/[id]/route_client-reference-manifest.js +1 -1
  9. package/.next/server/app/[locale]/(main)/project/[slug]/[version]/content/[id]/page.js +2 -2
  10. package/.next/server/app/[locale]/(main)/project/[slug]/[version]/content/[id]/page.js.nft.json +1 -1
  11. package/.next/server/app/[locale]/(main)/project/[slug]/[version]/content/[id]/page_client-reference-manifest.js +1 -1
  12. package/.next/server/app/[locale]/(main)/project/[slug]/[version]/content/page.js +2 -2
  13. package/.next/server/app/[locale]/(main)/project/[slug]/[version]/content/page.js.nft.json +1 -1
  14. package/.next/server/app/[locale]/(main)/project/[slug]/[version]/content/page_client-reference-manifest.js +1 -1
  15. package/.next/server/app/[locale]/(main)/project/[slug]/[version]/docs/[...path]/page.js +2 -2
  16. package/.next/server/app/[locale]/(main)/project/[slug]/[version]/docs/[...path]/page.js.nft.json +1 -1
  17. package/.next/server/app/[locale]/(main)/project/[slug]/[version]/docs/[...path]/page_client-reference-manifest.js +1 -1
  18. package/.next/server/app/[locale]/(main)/project/[slug]/[version]/docs/page.js +2 -2
  19. package/.next/server/app/[locale]/(main)/project/[slug]/[version]/docs/page.js.nft.json +1 -1
  20. package/.next/server/app/[locale]/(main)/project/[slug]/[version]/docs/page_client-reference-manifest.js +1 -1
  21. package/.next/server/app/[locale]/(main)/project/[slug]/[version]/page.js +2 -2
  22. package/.next/server/app/[locale]/(main)/project/[slug]/[version]/page.js.nft.json +1 -1
  23. package/.next/server/app/[locale]/(main)/project/[slug]/[version]/page_client-reference-manifest.js +1 -1
  24. package/.next/server/app/[locale]/page.js +2 -2
  25. package/.next/server/app/[locale]/page.js.nft.json +1 -1
  26. package/.next/server/app/[locale]/page_client-reference-manifest.js +1 -1
  27. package/.next/server/app/_not-found/page.js +1 -1
  28. package/.next/server/app/_not-found/page.js.nft.json +1 -1
  29. package/.next/server/app/_not-found/page_client-reference-manifest.js +1 -1
  30. package/.next/server/app/_not-found.html +2 -2
  31. package/.next/server/app/_not-found.rsc +7 -7
  32. package/.next/server/app/opengraph-image/route_client-reference-manifest.js +1 -1
  33. package/.next/server/app/robots.txt/route.js +2 -2
  34. package/.next/server/app/robots.txt/route.js.nft.json +1 -1
  35. package/.next/server/app/robots.txt/route_client-reference-manifest.js +1 -1
  36. package/.next/server/app/sitemap.xml/route.js +2 -2
  37. package/.next/server/app/sitemap.xml/route.js.nft.json +1 -1
  38. package/.next/server/app/sitemap.xml/route_client-reference-manifest.js +1 -1
  39. package/.next/server/app-paths-manifest.json +3 -3
  40. package/.next/server/chunks/1181.js +1 -0
  41. package/.next/server/chunks/1359.js +1 -0
  42. package/.next/server/chunks/2112.js +1 -1
  43. package/.next/server/chunks/2118.js +10 -0
  44. package/.next/server/chunks/2222.js +1 -0
  45. package/.next/server/chunks/2998.js +2 -2
  46. package/.next/server/chunks/4163.js +1 -0
  47. package/.next/server/chunks/6323.js +1 -1
  48. package/.next/server/chunks/6800.js +1 -0
  49. package/.next/server/chunks/7462.js +1 -0
  50. package/.next/server/chunks/7540.js +1 -0
  51. package/.next/server/chunks/7542.js +1 -1
  52. package/.next/server/chunks/7785.js +66 -0
  53. package/.next/server/chunks/8550.js +1 -1
  54. package/.next/server/chunks/8726.js +35 -0
  55. package/.next/server/chunks/9230.js +1 -0
  56. package/.next/server/chunks/9342.js +1 -0
  57. package/.next/server/chunks/9624.js +1 -0
  58. package/.next/server/chunks/9841.js +157 -1
  59. package/.next/server/middleware-manifest.json +10 -10
  60. package/.next/server/pages/404.html +2 -2
  61. package/.next/server/pages/500.html +1 -1
  62. package/.next/server/pages/_error.js +3 -3
  63. package/.next/server/server-reference-manifest.json +1 -1
  64. package/.next/server/src/middleware.js +2 -2
  65. package/.next/static/chunks/278-4c4e294d99bfcd3b.js +1 -0
  66. package/.next/static/chunks/32c979c4-08285999e0df371a.js +1 -0
  67. package/.next/static/chunks/409-e6982ede535094c7.js +1 -0
  68. package/.next/static/chunks/413-84e84dd1a28a915c.js +1 -0
  69. package/.next/static/chunks/435-e4e6d2e9a548bbe0.js +3 -0
  70. package/.next/static/chunks/457-9bf8dd3a89e13f85.js +1 -0
  71. package/.next/static/chunks/612-87528fcb127701ac.js +1 -0
  72. package/.next/static/chunks/626-9828665155c42c60.js +1 -0
  73. package/.next/static/chunks/667-e0ef194b97e1b530.js +1 -0
  74. package/.next/static/chunks/719-c120c9a2bfe2be27.js +2 -0
  75. package/.next/static/chunks/769-faa3a1cbaf0940e1.js +1 -0
  76. package/.next/static/chunks/77-d291e81023336bf2.js +1 -0
  77. package/.next/static/chunks/778-9a4dc7ff1e844740.js +1 -0
  78. package/.next/static/chunks/781-b9dea2b401c6b06b.js +1 -0
  79. package/.next/static/chunks/app/(developers)/api/docs/[slug]/asset/[id]/route-01b49d27bb8cc9e4.js +1 -0
  80. package/.next/static/chunks/app/[locale]/(main)/layout-c7b593c23bbcb9d6.js +1 -0
  81. package/.next/static/chunks/app/[locale]/(main)/project/[slug]/[version]/content/[id]/page-81bb6093813f527a.js +1 -0
  82. package/.next/static/chunks/app/[locale]/(main)/project/[slug]/[version]/content/page-e0292fb8b80ba501.js +1 -0
  83. package/.next/static/chunks/app/[locale]/(main)/project/[slug]/[version]/docs/[...path]/error-f32a0dd851f66fd0.js +1 -0
  84. package/.next/static/chunks/app/[locale]/(main)/project/[slug]/[version]/docs/[...path]/page-d614fcc9f9d6a1c8.js +1 -0
  85. package/.next/static/chunks/app/[locale]/(main)/project/[slug]/[version]/docs/page-ea7836ed7697779e.js +1 -0
  86. package/.next/static/chunks/app/[locale]/(main)/project/[slug]/[version]/layout-8e380a31e7ccc108.js +1 -0
  87. package/.next/static/chunks/app/[locale]/(main)/project/[slug]/[version]/page-dee72093e369e0e8.js +1 -0
  88. package/.next/static/chunks/app/[locale]/layout-61682bdabaa2bb74.js +1 -0
  89. package/.next/static/chunks/app/[locale]/page-01bb974724fd6f3f.js +1 -0
  90. package/.next/static/chunks/app/error-4f494cd174254dee.js +1 -0
  91. package/.next/static/chunks/app/layout-daded2c02fe9d355.js +2 -0
  92. package/.next/static/chunks/app/not-found-2e0eac6a0d9805e1.js +1 -0
  93. package/.next/static/css/e42d2d6eb1322a42.css +1 -0
  94. package/package.json +1 -1
  95. package/.next/server/chunks/2423.js +0 -1
  96. package/.next/server/chunks/2574.js +0 -66
  97. package/.next/server/chunks/2967.js +0 -1
  98. package/.next/server/chunks/3040.js +0 -1
  99. package/.next/server/chunks/318.js +0 -1
  100. package/.next/server/chunks/4404.js +0 -35
  101. package/.next/server/chunks/4706.js +0 -1
  102. package/.next/server/chunks/5610.js +0 -1
  103. package/.next/server/chunks/7910.js +0 -1
  104. package/.next/server/chunks/825.js +0 -1
  105. package/.next/server/chunks/8584.js +0 -10
  106. package/.next/server/chunks/9190.js +0 -1
  107. package/.next/server/chunks/9656.js +0 -157
  108. package/.next/static/chunks/253-456e0f54b45ee32e.js +0 -1
  109. package/.next/static/chunks/333-b6155962b8e97df3.js +0 -1
  110. package/.next/static/chunks/349-a9ebfa6bf85ef1c1.js +0 -1
  111. package/.next/static/chunks/3c6616f5-d41a7826388168fb.js +0 -1
  112. package/.next/static/chunks/409-9c1f3189eaf6432e.js +0 -1
  113. package/.next/static/chunks/621-71a2215be11ad54d.js +0 -1
  114. package/.next/static/chunks/67-a4d2761f9f80a28a.js +0 -1
  115. package/.next/static/chunks/714-a6b53baa6dfd91ba.js +0 -2
  116. package/.next/static/chunks/736-625b8ccdd7ba1d68.js +0 -1
  117. package/.next/static/chunks/77-4d0cc6ec9ab78ab0.js +0 -1
  118. package/.next/static/chunks/835-b9d094e779a24ff8.js +0 -1
  119. package/.next/static/chunks/845-2a1323f13e03afc2.js +0 -1
  120. package/.next/static/chunks/90-99c1d76334122080.js +0 -3
  121. package/.next/static/chunks/942-229a422e32d81679.js +0 -1
  122. package/.next/static/chunks/app/(developers)/api/docs/[slug]/asset/[id]/route-bd2b0120995c30e8.js +0 -1
  123. package/.next/static/chunks/app/[locale]/(main)/layout-cd2b29c3545dd03d.js +0 -1
  124. package/.next/static/chunks/app/[locale]/(main)/project/[slug]/[version]/content/[id]/page-b22c3769acbb8ac0.js +0 -1
  125. package/.next/static/chunks/app/[locale]/(main)/project/[slug]/[version]/content/page-40db7d1c9d0c3b3b.js +0 -1
  126. package/.next/static/chunks/app/[locale]/(main)/project/[slug]/[version]/docs/[...path]/error-9816f5919e791e47.js +0 -1
  127. package/.next/static/chunks/app/[locale]/(main)/project/[slug]/[version]/docs/[...path]/page-7095f5e128078355.js +0 -1
  128. package/.next/static/chunks/app/[locale]/(main)/project/[slug]/[version]/docs/page-c293908c29c1b6c4.js +0 -1
  129. package/.next/static/chunks/app/[locale]/(main)/project/[slug]/[version]/layout-88b5d365db9a6e79.js +0 -1
  130. package/.next/static/chunks/app/[locale]/(main)/project/[slug]/[version]/page-719960307da0a24f.js +0 -1
  131. package/.next/static/chunks/app/[locale]/layout-4985eb91cda0c47f.js +0 -1
  132. package/.next/static/chunks/app/[locale]/page-9080aa492599c415.js +0 -1
  133. package/.next/static/chunks/app/error-3753bf093585c3f9.js +0 -1
  134. package/.next/static/chunks/app/layout-376ccc5638cb5ff9.js +0 -2
  135. package/.next/static/chunks/app/not-found-60642b865d54ecf2.js +0 -1
  136. package/.next/static/css/11f6be623c3bb77c.css +0 -1
  137. /package/.next/static/{ioK22K_9letoU3SLdAg1z → UV54cFxY3ft8TU0hvpzSf}/_buildManifest.js +0 -0
  138. /package/.next/static/{ioK22K_9letoU3SLdAg1z → UV54cFxY3ft8TU0hvpzSf}/_ssgManifest.js +0 -0
@@ -0,0 +1 @@
1
+ exports.id=7462,exports.ids=[7462],exports.modules={390:(a,b,c)=>{"use strict";c.d(b,{A:()=>f,o:()=>d});let d="minecraft";function e(a){if(0===a.length)return null;if(a.includes(":")){let b=a.split(":");return{namespace:b[0],path:b[1]}}return{namespace:"minecraft",path:a}}let f={toString:function(a){return`${a.namespace}:${a.path}`},parse:e,extractPath:function(a){return e(a)?.path??a}}},1165:(a,b,c)=>{"use strict";c.d(b,{default:()=>e});var d=c(3978);(0,d.registerClientReference)(function(){throw Error("Attempted to call CookieConsentContext() from the server but CookieConsentContext is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/home/runner/work/Wiki/Wiki/build/previewer/src/components/cookies/CookieConsentContextProvider.tsx","CookieConsentContext"),(0,d.registerClientReference)(function(){throw Error("Attempted to call CATEGORY_EXPERIENCE() from the server but CATEGORY_EXPERIENCE is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/home/runner/work/Wiki/Wiki/build/previewer/src/components/cookies/CookieConsentContextProvider.tsx","CATEGORY_EXPERIENCE"),(0,d.registerClientReference)(function(){throw Error("Attempted to call EMBED_SERVICE_COOKIES() from the server but EMBED_SERVICE_COOKIES is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/home/runner/work/Wiki/Wiki/build/previewer/src/components/cookies/CookieConsentContextProvider.tsx","EMBED_SERVICE_COOKIES");let e=(0,d.registerClientReference)(function(){throw Error("Attempted to call the default export of \"/home/runner/work/Wiki/Wiki/build/previewer/src/components/cookies/CookieConsentContextProvider.tsx\" from the server, but it's on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/home/runner/work/Wiki/Wiki/build/previewer/src/components/cookies/CookieConsentContextProvider.tsx","default")},3474:(a,b,c)=>{"use strict";c.d(b,{default:()=>d});let d=(0,c(3978).registerClientReference)(function(){throw Error("Attempted to call the default export of \"/home/runner/work/Wiki/Wiki/build/previewer/src/components/navigation/header/HeaderBase.tsx\" from the server, but it's on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/home/runner/work/Wiki/Wiki/build/previewer/src/components/navigation/header/HeaderBase.tsx","default")},6612:(a,b,c)=>{"use strict";c.d(b,{default:()=>g});var d=c(792),e=c(70569),f=c(53147);function g({unfix:a,children:b}){let c=(0,e.useRef)(null),[g,h]=(0,e.useState)(!1);return(0,d.jsx)("header",{className:(0,f.cn)(!a&&"fixed left-0 w-[100vw]","z-50 border-b border-tertiary bg-primary-alt",!a&&g&&"motion-reduce:transition-none"),ref:c,children:b})}},7484:(a,b,c)=>{"use strict";c.d(b,{default:()=>d});let d=(0,c(3978).registerClientReference)(function(){throw Error("Attempted to call the default export of \"/home/runner/work/Wiki/Wiki/build/previewer/src/components/navigation/search/MobileDocsSearch.tsx\" from the server, but it's on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/home/runner/work/Wiki/Wiki/build/previewer/src/components/navigation/search/MobileDocsSearch.tsx","default")},10112:(a,b,c)=>{"use strict";c.d(b,{Toaster:()=>d});let d=(0,c(3978).registerClientReference)(function(){throw Error("Attempted to call Toaster() from the server but Toaster is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/home/runner/work/Wiki/Wiki/packages/ui/src/components/sonner.tsx","Toaster")},16916:(a,b,c)=>{Promise.resolve().then(c.bind(c,7424)),Promise.resolve().then(c.bind(c,51815)),Promise.resolve().then(c.bind(c,13291)),Promise.resolve().then(c.t.bind(c,12537,23)),Promise.resolve().then(c.bind(c,1165)),Promise.resolve().then(c.bind(c,66769)),Promise.resolve().then(c.bind(c,3474)),Promise.resolve().then(c.bind(c,88845)),Promise.resolve().then(c.bind(c,56060)),Promise.resolve().then(c.bind(c,61835)),Promise.resolve().then(c.bind(c,7484)),Promise.resolve().then(c.bind(c,57810)),Promise.resolve().then(c.bind(c,56834)),Promise.resolve().then(c.bind(c,10112))},17018:(a,b,c)=>{"use strict";c.d(b,{M$:()=>i,MZ:()=>e,cT:()=>h,gZ:()=>g,sw:()=>f});var d=c(390);function e(a,b){return h(b.id)??(null!=b.page_ref?f(b.page_ref,a):null)}function f(a,b){let c="slug"in b?b.slug:b.id;return`/${b.locale}/project/${c}/${b.version}/content/${a}`}function g(a,b){return`/${a}/project/${b}/latest`}function h(a){let b=d.A.parse(a);return b?.namespace===d.o&&a.startsWith(d.o+":")?`https://minecraft.wiki/w/${b.path}`:null}function i(a,b){return`/${b.locale}/project/${b.id}/${b.version}/docs/${a}`}},17555:(a,b,c)=>{"use strict";c.d(b,{GL:()=>h,ww:()=>g,YE:()=>i,default:()=>j});var d=c(792),e=c(70569);c(16839),c(11965),c(84932);var f=c(29301);let g=(0,e.createContext)(null),h="experience",i="yt_embeds";function j({children:a}){let[b,c]=(0,e.useState)(!0),[h,i]=(0,e.useState)(!1);return(0,f.c)("CookieConsent"),(0,d.jsx)(g.Provider,{value:{enableCookieManagement:b,hasConsentToEmbeddedVideos:h},children:a})}},18511:(a,b,c)=>{"use strict";c.d(b,{default:()=>j});var d=c(792),e=c(9656),f=c(53147),g=c(4397),h=c(54935);function i({width:a,height:b,className:c}){return(0,d.jsx)("svg",{role:"img",xmlns:"http://www.w3.org/2000/svg",width:a||24,height:b||24,className:c,viewBox:"0 0 24 24",children:(0,d.jsx)("path",{fill:"currentColor",d:"M19.27 5.33C17.94 4.71 16.5 4.26 15 4a.1.1 0 0 0-.07.03c-.18.33-.39.76-.53 1.09a16.1 16.1 0 0 0-4.8 0c-.14-.34-.35-.76-.54-1.09c-.01-.02-.04-.03-.07-.03c-1.5.26-2.93.71-4.27 1.33c-.01 0-.02.01-.03.02c-2.72 4.07-3.47 8.03-3.1 11.95c0 .02.01.04.03.05c1.8 1.32 3.53 2.12 5.24 2.65c.03.01.06 0 .07-.02c.4-.55.76-1.13 1.07-1.74c.02-.04 0-.08-.04-.09c-.57-.22-1.11-.48-1.64-.78c-.04-.02-.04-.08-.01-.11c.11-.08.22-.17.33-.25c.02-.02.05-.02.07-.01c3.44 1.57 7.15 1.57 10.55 0c.02-.01.05-.01.07.01c.11.09.22.17.33.26c.04.03.04.09-.01.11c-.52.31-1.07.56-1.64.78c-.04.01-.05.06-.04.09c.32.61.68 1.19 1.07 1.74c.03.01.06.02.09.01c1.72-.53 3.45-1.33 5.25-2.65c.02-.01.03-.03.03-.05c.44-4.53-.73-8.46-3.1-11.95c-.01-.01-.02-.02-.04-.02M8.52 14.91c-1.03 0-1.89-.95-1.89-2.12s.84-2.12 1.89-2.12c1.06 0 1.9.96 1.89 2.12c0 1.17-.84 2.12-1.89 2.12m6.97 0c-1.03 0-1.89-.95-1.89-2.12s.84-2.12 1.89-2.12c1.06 0 1.9.96 1.89 2.12c0 1.17-.83 2.12-1.89 2.12"})})}function j({enableSharing:a,shareData:b,large:c}){let f="undefined"!=typeof navigator&&"function"==typeof navigator.share,j=c?"h-5 w-5":"h-4 w-4 sm:h-5 sm:w-5";return(0,d.jsxs)("div",{className:"flex flex-wrap gap-2 sm:gap-4",children:[(0,d.jsx)(k,{href:"https://github.com/Sinytra",large:c,icon:(0,d.jsx)(h.A,{className:j})}),(0,d.jsx)(k,{href:"https://discord.sinytra.org",large:c,icon:(0,d.jsx)(i,{className:j})}),a&&f&&(0,d.jsxs)(g.$,{onClick:()=>{navigator.share?navigator.share(b).catch(a=>{console.error("Error sharing:",a)}):alert("Sharing is not supported on this browser.")},size:"sm",className:"flex h-8 w-8 items-center justify-center gap-2 sm:h-10 sm:w-auto sm:justify-start sm:px-4",children:[(0,d.jsx)(e.A,{className:"h-5 w-5"}),(0,d.jsx)("span",{className:"hidden sm:inline",children:"Share"})]})]})}function k({href:a,icon:b,large:c,className:e}){return(0,d.jsx)("a",{href:a,target:"_blank",rel:"noopener noreferrer",children:(0,d.jsx)(g.$,{variant:"outline",size:"icon",className:(0,f.cn)(e,c?"h-10 w-10":"h-8 w-8 sm:h-10 sm:w-10"),children:b})})}},18994:(a,b,c)=>{"use strict";c.d(b,{default:()=>A});var d=c(792),e=c(29301),f=c(68526),g=c(66374),h=c(34832),i=c(40271),j=c(56307),k=c(95928),l=c(4397),m=c(70569),n=c(74021),o=c(12824),p=c(51164),q=c(95062),r=c(58446),s=c(83996),t=c(23692),u=c(53147),v=c(83417);function w({result:a}){let b=(0,e.c)("ProjectTypes"),c=(0,e.c)("SearchResultType");return(0,d.jsxs)(r.k,{href:a.href,className:"z-50 flex cursor-pointer flex-row gap-2 rounded-xs border border-neutral-700 bg-primary-alt px-1 py-1.5 text-primary",children:[(0,d.jsx)("div",{className:"size-[48px] shrink-0 overflow-hidden rounded-xs p-1",children:(0,d.jsx)(n.default,{src:a.icon_asset?.src,width:48,height:48,alt:a.project_id,fbIcon:f.A,fixedSize:!0})}),(0,d.jsxs)("div",{className:"flex w-full flex-col justify-between overflow-hidden py-0.5 text-ellipsis [&_span]:overflow-hidden [&_span]:text-ellipsis",children:[(0,d.jsx)("span",{children:a.title}),"project"==a.entry_type?(0,d.jsx)("span",{className:"text-secondary",children:(0,d.jsx)("span",{className:"text-secondary",children:b(a.project_type)})}):(0,d.jsx)("div",{className:"flex flex-col gap-1",children:(0,d.jsx)("span",{className:"text-secondary",children:a.project_name})})]}),(0,d.jsx)("div",{className:"mx-1",children:(0,d.jsx)(v.A,{variant:a.entry_type,children:c(a.entry_type)})})]})}function x(){let a=(0,e.c)("DocsSearchBar");return(0,d.jsxs)("div",{className:"z-50 flex h-16 flex-row items-center justify-center gap-2 rounded-xs border border-neutral-700 bg-primary-alt px-1 py-1.5 text-secondary",children:[(0,d.jsx)(g.A,{className:"mr-2 h-5 w-5 animate-spin"}),a("loading")]})}function y(){let a=(0,e.c)("DocsSearchBar");return(0,d.jsx)("div",{className:"z-50 flex h-16 flex-row items-center justify-center gap-2 rounded-xs border border-neutral-700 bg-primary-alt px-1 py-1.5 text-secondary",children:a("no_results")})}function z({locale:a,isOpen:b,setOpen:c}){let f=(0,e.c)("DocsSearchBar"),g=(0,m.useRef)(null),[k,l]=(0,m.useState)(""),[n,q]=(0,m.useState)(null),[r,v]=(0,m.useState)(!1),{project:z}=(0,m.useContext)(t.o),[A,B]=(0,m.useState)(null!=z),C=(0,o.YQ)(async b=>{let c=!0;setTimeout(()=>{k&&c&&v(!0)},500),q(await s.A.searchWiki(b,a,A&&z?z.id:null)),c=!1,v(!1)},200),D=A?h.A:i.A;return(0,d.jsx)(p.A,{nodeRef:g,in:b,timeout:200,classNames:"fade",unmountOnExit:!0,children:(0,d.jsx)("div",{ref:g,className:"fixed top-0 right-0 bottom-0 left-0 z-50 h-[100vh] w-full overflow-hidden bg-primary",children:(0,d.jsxs)("div",{className:"innerFadeContainer flex flex-col gap-4 p-4",children:[(0,d.jsxs)("div",{className:"relative",children:[(0,d.jsx)("button",{onClick:()=>c(!1),children:(0,d.jsx)(j.A,{className:"absolute top-1/2 left-2 h-5 w-5 -translate-y-1/2 text-secondary"})}),z&&(0,d.jsxs)("button",{className:(0,u.cn)("inset absolute top-1/2 right-2 -translate-y-1/2 rounded-sm","flex flex-row items-center gap-1","border border-secondary bg-secondary px-1.5 py-1"),onClick:()=>B(!A),children:[(0,d.jsx)(D,{className:"size-3.5 stroke-2 text-primary"}),(0,d.jsx)("span",{className:"text-xs",children:f(`scope.${A?"local":"global"}`)})]}),(0,d.jsx)("input",{type:"text",value:k,onChange:a=>(a=>{if(l(a),!a||0===a.length){q(null),v(!1);return}return C(a)})(a.target.value),className:"w-full cursor-pointer rounded-xs border border-neutral-700 bg-primary-alt p-2 px-8 text-center text-sm text-ellipsis placeholder:text-neutral-500 focus:cursor-text focus:outline-1 focus:outline-secondary",placeholder:f("placeholder"),autoFocus:!0})]}),r&&(0,d.jsx)(x,{}),!r&&n&&(n.hits.length>0?(0,d.jsxs)("div",{className:"slim-scrollbar flex h-[90vh] flex-col gap-2 overflow-y-auto",children:[...n.hits.map(a=>(0,d.jsx)(w,{result:a},a.id))]}):(0,d.jsx)(y,{}))]})})})}function A({locale:a}){let[b,c]=(0,m.useState)(!1);return(0,q.usePathname)(),(0,d.jsxs)("div",{className:"sm:hidden",children:[(0,d.jsx)(l.$,{variant:"ghost",size:"icon",onClick:()=>c(!b),children:(0,d.jsx)(k.A,{className:"h-4 w-4 text-[var(--vp-c-text-1)]"})}),(0,d.jsx)(z,{isOpen:b,setOpen:c,locale:a})]})}},21527:(a,b,c)=>{"use strict";c.d(b,{A:()=>i});var d=c(47730),e=c(69212),f=c(63490),g=c(54432),h=c.n(g);function i({keys:a,children:b}){let c=(0,e.A)();return(0,d.jsx)(f.A,{messages:h()(c,a),children:b})}},23692:(a,b,c)=>{"use strict";c.d(b,{default:()=>g,o:()=>f});var d=c(792),e=c(70569);let f=(0,e.createContext)(null);function g({children:a}){let[b,c]=(0,e.useState)(null);return(0,d.jsx)(f.Provider,{value:{project:b,setProject:c},children:a})}},24152:(a,b,c)=>{"use strict";c.d(b,{XO:()=>h,a8:()=>j});var d=c(25321),e=c(73984),f=c(47790);let g=(0,d.A)({locales:f.Ay.getInternalCodes(),defaultLocale:f.nQ,localePrefix:{mode:"always",prefixes:f.Ay.getPathPrefixes()}}),{Link:h,redirect:i,usePathname:j,useRouter:k}=(0,e.A)(g)},25408:a=>{a.exports={menuLink:"style_menuLink__ooJPH",active:"style_active__WMh_I",socialLinks:"style_socialLinks__QqMWr"}},34918:(a,b,c)=>{var d={"./cs_CZ.json":[24104,4104],"./de_DE.json":[36413,6413],"./en_US.json":[9882,9882],"./es_ES.json":[94915,4915],"./fr_FR.json":[84895,4895],"./hu_HU.json":[53765,3765],"./it_IT.json":[99785,9785],"./ja_JP.json":[96126,6126],"./ko_KR.json":[87388,7388],"./ms_Arab.json":[73383,3383],"./ms_MY.json":[40617,617],"./pl_PL.json":[46323,6323],"./ru_RU.json":[97045,7045],"./sv_SE.json":[60700,700],"./tr_TR.json":[42351,2351],"./uk_UA.json":[93721,3721],"./zh_CN.json":[77708,7708],"./zh_TW.json":[70140,140]};function e(a){if(!c.o(d,a))return Promise.resolve().then(()=>{var b=Error("Cannot find module '"+a+"'");throw b.code="MODULE_NOT_FOUND",b});var b=d[a],e=b[0];return c.e(b[1]).then(()=>c.t(e,19))}e.keys=()=>Object.keys(d),e.id=34918,a.exports=e},38560:a=>{a.exports={menuLink:"style_menuLink__ooJPH",active:"style_active__WMh_I",socialLinks:"style_socialLinks__QqMWr"}},46891:(a,b,c)=>{"use strict";c.d(b,{A:()=>h});var d=c(792),e=c(51164),f=c(70569),g=c(53147);function h({isVisible:a,className:b,children:c}){let h=(0,f.useRef)(null);return(0,d.jsx)("div",{children:(0,d.jsx)(e.A,{nodeRef:h,in:a,timeout:200,classNames:"fade",unmountOnExit:!0,onEnter:function(){document.querySelectorAll("html, body").forEach(a=>a.classList.add("navScrollLock"))},onExited:function(){document.querySelectorAll("html, body").forEach(a=>a.classList.remove("navScrollLock"))},children:(0,d.jsx)("div",{ref:h,className:(0,g.cn)("fixed right-0 bottom-0 left-0 w-full overflow-y-auto px-8 py-0",b),children:(0,d.jsx)("div",{className:"innerFadeContainer mx-auto my-0 max-w-72 pt-8 pb-24",children:c})})})})}},47790:(a,b,c)=>{"use strict";c.d(b,{Ay:()=>i,F3:()=>e,nQ:()=>f});var d=c(16590);let e="en_us",f="en-US",g=[{name:"English",code:"en_us",prefix:"en",file:"en_US",internal:"en-US",icon:d.US},{name:"Čeština",code:"cs_cz",prefix:"cs",file:"cs_CZ",internal:"cs-CZ",icon:d.CZ},{name:"Deutsch",code:"de_de",prefix:"de",file:"de_DE",internal:"de-DE",icon:d.DE},{name:"Espa\xf1ol",code:"es_es",prefix:"es",file:"es_ES",internal:"es-ES",icon:d.ES,crowdin:"es-ES"},{name:"Fran\xe7ais",code:"fr_fr",prefix:"fr",file:"fr_FR",internal:"fr-FR",icon:d.FR},{name:"Magyar",code:"hu_hu",prefix:"hu",file:"hu_HU",internal:"hu-HU",icon:d.HU},{name:"Italiano",code:"it_it",prefix:"it",file:"it_IT",internal:"it-IT",icon:d.IT},{name:"日本語",code:"ja_jp",prefix:"ja",file:"ja_JP",internal:"ja-JP",icon:d.JP},{name:"한국어",code:"ko_kr",prefix:"ko",file:"ko_KR",internal:"ko-KR",icon:d.KR},{name:"Bahasa Melayu",code:"ms_my",prefix:"ms",file:"ms_MY",internal:"ms-MY",icon:d.MY},{name:"بهاس ملايو",code:"zml_arab",prefix:"ms_Ar",file:"ms_Arab",internal:"ms-Arab",icon:d.MY,crowdin:"ms-Arab",rtl:!0},{name:"Polski",code:"pl_pl",prefix:"pl",file:"pl_PL",internal:"pl-PL",icon:d.PL},{name:"Русский",code:"ru_ru",prefix:"ru",file:"ru_RU",internal:"ru-RU",icon:d.RU},{name:"Svenska",code:"sv_se",prefix:"sv",file:"sv_SE",internal:"sv-SE",icon:d.SE,crowdin:"sv-SE"},{name:"T\xfcrk\xe7e",code:"tr_tr",prefix:"tr",file:"tr_TR",internal:"tr-TR",icon:d.TR},{name:"Українська",code:"uk_ua",prefix:"uk",file:"uk_UA",internal:"uk-UA",icon:d.UA},{name:"简体中文",code:"zh_cn",prefix:"zh_cn",file:"zh_CN",internal:"zh-CN",icon:d.CN,crowdin:"zh-CN"},{name:"繁體中文",code:"zh_tw",prefix:"zh_tw",file:"zh_TW",internal:"zh-TW",icon:d.TW,crowdin:"zh-TW"}];function h(a){return g.find(b=>b.prefix===a)}let i={getAvailableLocales:function(){return g},getLanguagePaths:function(){return g.map(a=>a.prefix)},getInternalCodes:function(){return g.map(a=>a.internal)},getPathPrefixes:function(){return g.reduce((a,b)=>({...a,[b.internal]:"/"+b.prefix}),{})},getForUrlParam:h,getForInternalCode:function(a){return g.find(b=>b.internal===a)},getCrowdinLanguageId:function(a){let b=h(a);return b?.crowdin||b?.prefix},isRTL:function(a){return h(a)?.rtl||!1},actualLocale:function(a){if(!a||a===e)return null;let b=h(a);return b?.file.toLowerCase()??null},resolveParam:function(a){return h(a).code},getUrlPrefixForCode:function(a){return g.find(b=>b.code===a)?.prefix}}},48247:(a,b,c)=>{"use strict";c.d(b,{default:()=>i});var d=c(792),e=c(89766),f=c(46891),g=c(70569),h=c(95062);function i({children:a}){let[b,c]=(0,g.useState)(!1);return(0,h.usePathname)(),(0,d.jsxs)("div",{className:"sm:hidden",children:[(0,d.jsx)(e.A,{active:b,setOpen:c}),(0,d.jsx)(f.A,{className:"top-nav-height bg-primary",isVisible:b,children:a})]})}},50246:(a,b,c)=>{"use strict";c.d(b,{default:()=>G});var d=c(792),e=c(25408),f=c.n(e),g=c(40271),h=c(35085),i=c(53038),j=c(18048),k=c(4397),l=c(24152),m=c(51087),n=c(70569),o=c(53147),p=c(78654),q=c(54349),r=c(95928),s=c(47362),t=c(88044);s.bL,s.l9;let u=s.ZL;s.bm;let v=n.forwardRef(({className:a,...b},c)=>(0,d.jsx)(s.hJ,{ref:c,className:(0,o.cn)("fixed inset-0 z-50 bg-black/80 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:animate-in data-[state=open]:fade-in-0",a),...b}));v.displayName=s.hJ.displayName,n.forwardRef(({className:a,children:b,...c},e)=>(0,d.jsxs)(u,{children:[(0,d.jsx)(v,{}),(0,d.jsxs)(s.UC,{ref:e,className:(0,o.cn)("border-tertiary fixed top-[50%] left-[50%] z-50 grid w-full max-w-lg translate-x-[-50%] translate-y-[-50%] gap-4 border bg-primary p-6 shadow-lg duration-200 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[state=open]:animate-in data-[state=open]:fade-in-0 data-[state=open]:zoom-in-95 sm:rounded-lg",a),...c,children:[b,(0,d.jsxs)(s.bm,{className:"absolute top-4 right-4 rounded-xs opacity-70 ring-offset-background transition-opacity hover:opacity-100 focus:ring-2 focus:ring-ring focus:ring-offset-2 focus:outline-hidden disabled:pointer-events-none data-[state=open]:bg-secondary data-[state=open]:text-secondary",children:[(0,d.jsx)(t.A,{className:"h-4 w-4"}),(0,d.jsx)("span",{className:"sr-only",children:"Close"})]})]})]})).displayName=s.UC.displayName,n.forwardRef(({className:a,...b},c)=>(0,d.jsx)(s.hE,{ref:c,className:(0,o.cn)("text-lg leading-none font-semibold tracking-tight",a),...b})).displayName=s.hE.displayName,n.forwardRef(({className:a,...b},c)=>(0,d.jsx)(s.VY,{ref:c,className:(0,o.cn)("text-sm text-secondary",a),...b})).displayName=s.VY.displayName;let w=n.forwardRef(({className:a,...b},c)=>(0,d.jsx)(q.uB,{ref:c,className:(0,o.cn)("bg-primary-alt text-primary-alt flex h-full w-full flex-col overflow-hidden rounded-md",a),...b}));w.displayName=q.uB.displayName;let x=n.forwardRef(({className:a,...b},c)=>(0,d.jsxs)("div",{className:"border-tertiary flex items-center border-b px-3","cmdk-input-wrapper":"",children:[(0,d.jsx)(r.A,{className:"mr-2 h-4 w-4 shrink-0 opacity-50"}),(0,d.jsx)(q.uB.Input,{ref:c,className:(0,o.cn)("flex h-11 w-full rounded-md bg-transparent py-3 text-sm outline-hidden placeholder:text-secondary disabled:cursor-not-allowed disabled:opacity-50",a),...b})]}));x.displayName=q.uB.Input.displayName;let y=n.forwardRef(({className:a,...b},c)=>(0,d.jsx)(q.uB.List,{ref:c,className:(0,o.cn)("max-h-[300px] overflow-x-hidden overflow-y-auto",a),...b}));y.displayName=q.uB.List.displayName;let z=n.forwardRef((a,b)=>(0,d.jsx)(q.uB.Empty,{ref:b,className:"py-6 text-center text-sm",...a}));z.displayName=q.uB.Empty.displayName;let A=n.forwardRef(({className:a,...b},c)=>(0,d.jsx)(q.uB.Group,{ref:c,className:(0,o.cn)("overflow-hidden p-1 text-primary [&_[cmdk-group-heading]]:px-2 [&_[cmdk-group-heading]]:py-1.5 [&_[cmdk-group-heading]]:text-xs [&_[cmdk-group-heading]]:font-medium [&_[cmdk-group-heading]]:text-secondary",a),...b}));A.displayName=q.uB.Group.displayName,n.forwardRef(({className:a,...b},c)=>(0,d.jsx)(q.uB.Separator,{ref:c,className:(0,o.cn)("-mx-1 h-px bg-border",a),...b})).displayName=q.uB.Separator.displayName;let B=n.forwardRef(({className:a,...b},c)=>(0,d.jsx)(q.uB.Item,{ref:c,className:(0,o.cn)("data-[selected=true]:text-primary-alt relative flex cursor-default items-center rounded-sm px-2 py-1.5 text-sm outline-hidden select-none data-[disabled=true]:pointer-events-none data-[disabled=true]:opacity-50 data-[selected='true']:bg-secondary",a),...b}));B.displayName=q.uB.Item.displayName;var C=c(29301),D=c(85140);function E({flag:a,className:b}){return(0,d.jsx)(a,{width:24,className:(0,o.cn)("rounded-[3px]",b)})}var F=c(47790);function G({locale:a,shownLocaleCodes:b,mobile:c,minimal:e}){let q=(0,C.c)("LanguageSelect"),r=F.Ay.getAvailableLocales().filter(a=>null==b||a.code===F.F3||b.includes(a.code)),s=(0,l.a8)(),t=(0,m.rd)(),u=F.Ay.getForUrlParam(a)??F.Ay.getForUrlParam(D.Xn),v=[u,...r.filter(a=>a.code!=u.code)],[G,H]=(0,n.useState)(u.code),[I,J]=(0,n.useState)(!1);return(0,d.jsx)("div",{className:(0,o.cn)(e&&"w-full",!c&&!e&&f().socialLinks),children:(0,d.jsx)("div",{className:(0,o.cn)(e&&"w-full"),children:(0,d.jsxs)(p.Popover,{open:I,onOpenChange:J,children:[(0,d.jsx)(p.PopoverTrigger,{asChild:!0,children:e?(0,d.jsxs)("button",{className:"test-center flex h-8 w-full items-center justify-start rounded-sm border-none bg-transparent px-2 py-0 text-sm whitespace-nowrap ring-offset-background placeholder:text-secondary hover:bg-secondary focus:outline-hidden sm:h-7 sm:w-fit sm:max-w-32 sm:min-w-24 [&>svg:last-child]:hidden",children:[(0,d.jsx)(g.A,{className:"mr-2.5 size-3.5 shrink-0"}),(0,d.jsxs)("div",{className:"mx-auto inline-flex gap-2 sm:hidden",children:[(0,d.jsx)(E,{className:"rounded-xs!",flag:u.icon}),(0,d.jsx)("span",{className:"line-clamp-1 text-sm text-ellipsis",children:u.name})]}),(0,d.jsx)("span",{className:"line-clamp-1 hidden text-sm text-ellipsis sm:block",children:u.name})]}):(0,d.jsxs)(k.$,{variant:"outline",role:"combobox","aria-expanded":I,className:"justify-between border-none bg-transparent px-2 py-1",children:[(0,d.jsx)(h.A,{className:"h-5 w-5"}),c&&(0,d.jsxs)("div",{className:"mr-2 ml-3 inline-flex gap-2",children:[(0,d.jsx)(E,{className:"rounded-xs!",flag:u.icon}),u.name]}),(0,d.jsx)(i.A,{"data-state":I?"open":"closed",className:"relative top-[1px] ml-1 h-3 w-3 transition duration-200 data-[state=open]:rotate-180","aria-hidden":"true"})]})}),(0,d.jsx)(p.PopoverContent,{align:c?"start":"end",onOpenAutoFocus:a=>a.preventDefault(),className:(0,o.cn)("pointer-events-auto! p-0",!c&&"w-48 sm:w-48",e&&"w-[var(--radix-popover-trigger-width)]"),children:(0,d.jsxs)(w,{value:G,defaultValue:G,children:[(0,d.jsx)(x,{placeholder:q("placeholder")}),(0,d.jsxs)(y,{className:"overscroll-contain [scrollbar-color:var(--background-color-inverse-secondary)_var(--background-color-primary)]",children:[(0,d.jsx)(z,{children:q("no_results")}),(0,d.jsxs)(A,{children:[...v.map(a=>(0,d.jsxs)(B,{value:a.code,className:(0,o.cn)("inline-flex w-full items-center justify-start gap-3 hover:bg-secondary hover:text-primary-alt",G==a.code&&"pointer-events-none"),onSelect:a=>{H(a===G?"":a),J(!1);let b=s.split("/");b[0]=F.Ay.getUrlPrefixForCode(a),t.replace("/"+b.join("/"))},children:[(0,d.jsx)(E,{flag:a.icon})," ",a.name,(0,d.jsx)(j.A,{className:(0,o.cn)("ml-auto h-4 w-4",G===a.code?"opacity-100":"opacity-0")})]},a.code))]})]})]})})]})})})}},54935:(a,b,c)=>{"use strict";c.d(b,{A:()=>e});var d=c(792);function e({width:a,height:b,className:c}){return(0,d.jsxs)("svg",{role:"img",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",width:a,height:b,className:c,children:[(0,d.jsx)("title",{children:"GitHub"}),(0,d.jsx)("path",{fill:"currentColor",d:"M12 .297c-6.63 0-12 5.373-12 12 0 5.303 3.438 9.8 8.205 11.385.6.113.82-.258.82-.577 0-.285-.01-1.04-.015-2.04-3.338.724-4.042-1.61-4.042-1.61C4.422 18.07 3.633 17.7 3.633 17.7c-1.087-.744.084-.729.084-.729 1.205.084 1.838 1.236 1.838 1.236 1.07 1.835 2.809 1.305 3.495.998.108-.776.417-1.305.76-1.605-2.665-.3-5.466-1.332-5.466-5.93 0-1.31.465-2.38 1.235-3.22-.135-.303-.54-1.523.105-3.176 0 0 1.005-.322 3.3 1.23.96-.267 1.98-.399 3-.405 1.02.006 2.04.138 3 .405 2.28-1.552 3.285-1.23 3.285-1.23.645 1.653.24 2.873.12 3.176.765.84 1.23 1.91 1.23 3.22 0 4.61-2.805 5.625-5.475 5.92.42.36.81 1.096.81 2.22 0 1.606-.015 2.896-.015 3.286 0 .315.21.69.825.57C20.565 22.092 24 17.592 24 12.297c0-6.627-5.373-12-12-12"})]})}},56060:(a,b,c)=>{"use strict";c.d(b,{default:()=>d});let d=(0,c(3978).registerClientReference)(function(){throw Error("Attempted to call the default export of \"/home/runner/work/Wiki/Wiki/build/previewer/src/components/navigation/LanguageSelect.tsx\" from the server, but it's on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/home/runner/work/Wiki/Wiki/build/previewer/src/components/navigation/LanguageSelect.tsx","default")},56834:(a,b,c)=>{"use strict";c.d(b,{default:()=>e});var d=c(3978);let e=(0,d.registerClientReference)(function(){throw Error("Attempted to call the default export of \"/home/runner/work/Wiki/Wiki/build/previewer/src/components/util/SocialButtons.tsx\" from the server, but it's on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/home/runner/work/Wiki/Wiki/build/previewer/src/components/util/SocialButtons.tsx","default");(0,d.registerClientReference)(function(){throw Error("Attempted to call SocialButton() from the server but SocialButton is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/home/runner/work/Wiki/Wiki/build/previewer/src/components/util/SocialButtons.tsx","SocialButton")},57530:(a,b,c)=>{"use strict";c.d(b,{GE:()=>i,XO:()=>j});var d=c(60803),e=c(93848),f=c(10356),g=c(50148);let h=(0,d.A)({locales:g.Ay.getInternalCodes(),defaultLocale:g.nQ,localePrefix:{mode:"always",prefixes:g.Ay.getPathPrefixes()}});function i(a){let b=g.Ay.getForUrlParam(a)?.internal||a;(0,f.I)(b)}let{Link:j,redirect:k,usePathname:l,useRouter:m}=(0,e.A)(h)},57810:(a,b,c)=>{"use strict";c.d(b,{default:()=>e});var d=c(3978);(0,d.registerClientReference)(function(){throw Error("Attempted to call SearchContext() from the server but SearchContext is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/home/runner/work/Wiki/Wiki/build/previewer/src/components/navigation/search/SearchContext.tsx","SearchContext");let e=(0,d.registerClientReference)(function(){throw Error("Attempted to call the default export of \"/home/runner/work/Wiki/Wiki/build/previewer/src/components/navigation/search/SearchContext.tsx\" from the server, but it's on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/home/runner/work/Wiki/Wiki/build/previewer/src/components/navigation/search/SearchContext.tsx","default")},61835:(a,b,c)=>{"use strict";c.d(b,{default:()=>d});let d=(0,c(3978).registerClientReference)(function(){throw Error("Attempted to call the default export of \"/home/runner/work/Wiki/Wiki/build/previewer/src/components/navigation/search/DocsSearchBar.tsx\" from the server, but it's on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/home/runner/work/Wiki/Wiki/build/previewer/src/components/navigation/search/DocsSearchBar.tsx","default")},62811:(a,b,c)=>{"use strict";c.d(b,{default:()=>h});var d=c(792),e=c(70569),f=c(17555),g=c(29301);function h(){let a=(0,g.c)("ManageCookiesButton"),b=(0,e.useContext)(f.ww);return b&&b.enableCookieManagement?(0,d.jsx)("button",{type:"button","data-cc":"show-preferencesModal",className:"text-sm",children:a("text")}):null}},66769:(a,b,c)=>{"use strict";c.d(b,{default:()=>d});let d=(0,c(3978).registerClientReference)(function(){throw Error("Attempted to call the default export of \"/home/runner/work/Wiki/Wiki/build/previewer/src/components/cookies/ManageCookiesButton.tsx\" from the server, but it's on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/home/runner/work/Wiki/Wiki/build/previewer/src/components/cookies/ManageCookiesButton.tsx","default")},71378:(a,b,c)=>{"use strict";c.d(b,{E:()=>h});var d=c(47730);c(60907);var e=c(69219),f=c(27297);let g=(0,e.F)("inline-flex items-center rounded-sm border px-2.5 py-0.5 text-xs font-semibold whitespace-nowrap transition-colors focus:ring-2 focus:ring-ring focus:ring-offset-2 focus:outline-hidden",{variants:{variant:{default:"text-inverse border-transparent bg-primary hover:bg-primary/80",secondary:"border-secondary-alt text-secondary-alt bg-secondary hover:bg-secondary/80",destructive:"text-primary-alt border-transparent bg-destructive hover:bg-destructive/80",outline:"text-primary"}},defaultVariants:{variant:"default"}});function h({className:a,variant:b,...c}){return(0,d.jsx)("div",{className:(0,f.cn)(g({variant:b}),a),...c})}},74021:(a,b,c)=>{"use strict";c.d(b,{default:()=>h});var d=c(792),e=c(70569),f=c(38591),g=c(53147);function h({src:a,alt:b,width:c,height:h,fbWidth:i,fbHeight:j,className:k,title:l,strokeWidth:m=1,fixedSize:n,wrapper:o,fbIcon:p=f.A,fallback:q=(0,d.jsx)(p,{strokeWidth:m,className:(0,g.cn)(k,"text-secondary opacity-20"),width:i||c||32,height:j||h||32}),...r}){let[s,t]=(0,e.useState)(!1);return(0,d.jsxs)("span",{title:l,style:n?{width:`${c}px`,height:`${h}px`}:void 0,...o,className:(0,g.cn)("shrink-0 overflow-hidden",o?.className),children:[a&&!s&&(0,d.jsx)("img",{src:a,alt:b||"",width:c,height:h,className:k,onError:()=>t(!0),...r}),(!a||s)&&q]})}},76596:(a,b,c)=>{Promise.resolve().then(c.bind(c,12337)),Promise.resolve().then(c.bind(c,76649)),Promise.resolve().then(c.bind(c,90497)),Promise.resolve().then(c.t.bind(c,82563,23)),Promise.resolve().then(c.bind(c,17555)),Promise.resolve().then(c.bind(c,62811)),Promise.resolve().then(c.bind(c,6612)),Promise.resolve().then(c.bind(c,48247)),Promise.resolve().then(c.bind(c,50246)),Promise.resolve().then(c.bind(c,86101)),Promise.resolve().then(c.bind(c,18994)),Promise.resolve().then(c.bind(c,23692)),Promise.resolve().then(c.bind(c,18511)),Promise.resolve().then(c.bind(c,79370))},78654:(a,b,c)=>{"use strict";c.d(b,{Popover:()=>h,PopoverContent:()=>j,PopoverTrigger:()=>i});var d=c(792),e=c(70569),f=c(56034),g=c(53147);let h=f.bL,i=f.l9,j=e.forwardRef(({className:a,align:b="center",sideOffset:c=4,...e},h)=>(0,d.jsx)(f.ZL,{children:(0,d.jsx)(f.UC,{ref:h,align:b,sideOffset:c,className:(0,g.cn)("border-tertiary bg-primary-alt text-primary-alt z-50 w-72 rounded-sm border p-4 shadow-md outline-hidden data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[state=open]:animate-in data-[state=open]:fade-in-0 data-[state=open]:zoom-in-95",a),...e})}));j.displayName=f.UC.displayName},79370:(a,b,c)=>{"use strict";c.d(b,{Toaster:()=>f});var d=c(792),e=c(31969);let f=({...a})=>(0,d.jsx)(e.l$,{theme:"dark",className:"toaster group",toastOptions:{classNames:{toast:"group toast group-[.toaster]:bg-primary group-[.toaster]:text-primary group-[.toaster]:border-border group-[.toaster]:shadow-lg",description:"group-[.toast]:text-secondary",actionButton:"group-[.toast]:bg-primary group-[.toast]:text-inverse",cancelButton:"group-[.toast]:bg-primary-alt group-[.toast]:text-secondary"}},...a})},81313:(a,b,c)=>{"use strict";c.d(b,{A:()=>i});var d=c(3833),e=c(88308),f=c(50148),g=c(66092),h=c.n(g);let i=(0,e.A)(async({requestLocale:a})=>{let b=await a??f.nQ,e=f.Ay.getForInternalCode(b);e||(console.error("Locale not found:",b),(0,d.notFound)());let g=(await c(34918)(`./${e.file}.json`)).default,i=(await c.e(9882).then(c.t.bind(c,9882,19))).default;return{locale:b,messages:h()(i,g)}})},82690:(a,b,c)=>{"use strict";c.r(b),c.d(b,{default:()=>N,generateStaticParams:()=>M});var d=c(47730),e=c(38560),f=c.n(e),g=c(71378),h=c(56060),i=c(3474),j=c(97486),k=c(27297),l=c(39764),m=c(18550),n=c(61835),o=c(88845),p=c(56834),q=c(7484),r=c(21527),s=c(20804);function t({href:a,children:b}){return(0,d.jsx)(j.M,{href:a,className:`${f().menuLink} px-1 text-base font-medium text-primary first:pl-0 sm:px-1.5 lg:px-2.5`,children:b})}function u({href:a,children:b}){return(0,d.jsx)(j.M,{href:a,className:`${f().menuLink} border-b border-[var(--vp-c-divider)] py-3 text-base font-normal text-primary`,children:b})}function v({locale:a,minimal:b,unfix:c}){let e=s.A.isPreview(),f=(0,l.A)("NavigationHeader");return(0,d.jsx)(i.default,{unfix:c,children:(0,d.jsxs)("div",{className:(0,k.cn)("pointer-events-auto! z-50 mx-auto flex h-nav max-w-[88rem] flex-row items-center justify-between gap-1 px-4 py-1 sm:h-fit sm:flex-nowrap sm:px-8 sm:whitespace-nowrap",b&&"my-2"),children:[(0,d.jsxs)("div",{className:"mr-auto flex flex-row items-center gap-3 sm:gap-4",children:[(0,d.jsx)(j.M,{href:"/",children:(0,d.jsxs)("span",{className:"inline-flex items-center gap-1 align-bottom text-base font-medium text-primary",children:[(0,d.jsx)(m.A,{className:"mr-1 h-4 w-4"}),f("title")]})}),e&&(0,d.jsx)(g.E,{className:"hidden sm:block",variant:"secondary",children:f("badge.preview")}),!e&&(0,d.jsx)(g.E,{variant:"outline",className:"hidden border-neutral-600 font-normal text-secondary sm:block",children:f("badge.beta")})]}),!b&&!e&&(0,d.jsx)(r.A,{keys:["DocsSearchBar","ProjectTypes","SearchResultType"],children:(0,d.jsx)(n.default,{locale:a})}),(0,d.jsxs)("div",{className:"ml-auto hidden flex-row flex-wrap items-center justify-end sm:flex sm:flex-nowrap sm:justify-start",children:[(0,d.jsxs)("nav",{className:"flex flex-row",children:[(0,d.jsx)(t,{href:"/",children:f("link.home")}),!e&&!b&&(0,d.jsxs)(d.Fragment,{children:[(0,d.jsx)(t,{href:"/browse",children:f("link.browse")}),(0,d.jsx)(t,{href:"/about",children:f("link.about")})]})]}),!b&&(0,d.jsx)(r.A,{keys:["LanguageSelect"],children:(0,d.jsx)(h.default,{locale:a})})]}),(0,d.jsxs)("div",{className:"flex flex-row items-center gap-2",children:[!b&&!e&&(0,d.jsx)(r.A,{keys:["DocsSearchBar","ProjectTypes","SearchResultType"],children:(0,d.jsx)(q.default,{locale:a})}),(0,d.jsx)(o.default,{children:(0,d.jsxs)("nav",{className:"flex flex-col gap-2",children:[(0,d.jsx)(u,{href:"/",children:f("link.home")}),!e&&!b&&(0,d.jsxs)(d.Fragment,{children:[(0,d.jsx)(u,{href:"/browse",children:f("link.browse")}),(0,d.jsx)(u,{href:"/about",children:f("link.about")})]}),!b&&(0,d.jsx)(r.A,{keys:["LanguageSelect"],children:(0,d.jsx)(h.default,{mobile:!0,locale:a})}),(0,d.jsx)("hr",{}),(0,d.jsx)("div",{className:"mx-auto mt-2",children:(0,d.jsx)(p.default,{large:!0})})]})})]})]})})}c(60907);var w=c(66769),x=c(23056);function y({center:a}){let b=(0,l.A)("NavigationFooter");return(0,d.jsx)(d.Fragment,{children:(0,d.jsxs)("div",{className:(0,k.cn)("flex flex-col items-center md:basis-96",!a&&"md:items-start"),children:[(0,d.jsxs)("span",{className:"inline-flex items-center font-medium text-primary",children:[(0,d.jsx)(m.A,{className:"mr-2 h-4 w-4"}),b("title")]}),(0,d.jsxs)("p",{className:"mt-6 text-sm",children:["\xa9 ",new Date().getFullYear()," The Sinytra Project."]}),(0,d.jsx)("div",{className:"mt-auto pt-3 font-normal! text-secondary",children:(0,d.jsx)(r.A,{keys:["ManageCookiesButton"],children:(0,d.jsx)(w.default,{})})})]})})}function z({title:a,href:b,component:c=j.M}){return(0,d.jsx)(d.Fragment,{children:(0,d.jsx)("ul",{children:(0,d.jsx)("li",{children:(0,d.jsx)(c,{className:"rounded-md py-0.5 text-sm text-secondary outline-hidden transition-colors hover:text-secondary-alt",href:b,children:a})})})})}function A({title:a,className:b,children:c}){return(0,d.jsx)(d.Fragment,{children:(0,d.jsxs)("div",{className:`flex flex-col gap-4 ${b}`,children:[(0,d.jsx)("p",{className:"mb-2 text-sm font-medium text-primary",children:a}),c]})})}function B(){let a=(0,l.A)("NavigationFooter");return(0,d.jsxs)("div",{className:"ml-auto grid w-full grid-cols-4 gap-8 sm:px-8",children:[(0,d.jsxs)(A,{title:a("links.navigation.title"),children:[(0,d.jsx)(z,{title:a("links.navigation.home"),href:"/"}),(0,d.jsx)(z,{title:a("links.navigation.browse"),href:"/browse"}),(0,d.jsx)(z,{title:a("links.navigation.dev"),href:"/dev"})]}),(0,d.jsxs)(A,{title:a("links.links.title"),children:[(0,d.jsx)(z,{title:"Discord",href:"https://discord.sinytra.org"}),(0,d.jsx)(z,{title:"GitHub",href:"https://github.com/Sinytra"}),(0,d.jsx)(z,{title:"Donate",href:"https://opencollective.com/sinytra"})]}),(0,d.jsxs)(A,{title:a("links.resources.title"),children:[(0,d.jsx)(z,{title:a("links.resources.blog"),href:"/blog",component:x.k}),(0,d.jsx)(z,{title:a("links.resources.status"),href:"https://status.moddedmc.org"}),(0,d.jsx)(z,{title:a("links.resources.translate"),href:"https://crowdin.com/project/sinytra-wiki"})]}),(0,d.jsxs)(A,{title:a("links.about.title"),children:[(0,d.jsx)(z,{title:a("links.about.tos"),href:"/about/tos"}),(0,d.jsx)(z,{title:a("links.about.privacy"),href:"/about/privacy"}),(0,d.jsx)(z,{title:a("links.about.contact"),href:"/about/help"})]})]})}function C(){let a=s.A.isPreview();return(0,d.jsx)("footer",{className:"mx-auto flex w-full flex-col items-center justify-center border-t border-tertiary bg-primary-alt pt-10 pb-6 sm:pt-12",children:(0,d.jsxs)("div",{className:"flex w-full max-w-[90rem] flex-col gap-8 px-8 text-secondary",children:[(0,d.jsxs)("div",{className:(0,k.cn)("flex w-full flex-wrap justify-center gap-y-10 sm:gap-y-8 md:flex-row md:flex-nowrap",!a&&"md:justify-between"),children:[(0,d.jsx)(y,{center:a}),!a&&(0,d.jsx)(B,{})]}),(0,d.jsx)("div",{className:"text-center",children:(0,d.jsx)("span",{className:"text-xs text-secondary",children:"NOT AN OFFICIAL MINECRAFT WEBSITE. NOT APPROVED BY OR ASSOCIATED WITH MOJANG OR MICROSOFT."})})]})})}var D=c(57530),E=c(50148),F=c(63490),G=c(10112),H=c(1165),I=c(49563),J=c(54432),K=c.n(J),L=c(57810);async function M(){return E.Ay.getLanguagePaths().map(a=>({locale:a}))}async function N(a){let b=await a.params,{children:c}=a;(0,D.GE)(b.locale);let e=E.Ay.isRTL(b.locale),f=await (0,I.A)();return(0,d.jsx)(F.A,{locale:b.locale,messages:K()(f,"CookieConsent"),children:(0,d.jsx)(H.default,{children:(0,d.jsxs)(L.default,{children:[(0,d.jsxs)("div",{className:e?"rtl":"",dir:e?"rtl":"",children:[(0,d.jsx)(v,{locale:b.locale}),(0,d.jsx)("div",{children:c}),(0,d.jsx)(C,{})]}),(0,d.jsx)(G.Toaster,{toastOptions:{style:{background:"var(--background-color-primary-alt)",fontStyle:"var(--text-sm)"}}})]})})})}},83417:(a,b,c)=>{"use strict";c.d(b,{A:()=>h});var d=c(792),e=c(18329);c(70569);var f=c(53147);let g=(0,e.F)("inline-flex items-center rounded-sm border px-2.5 py-0.5 text-xs font-semibold transition-colors focus:ring-2 focus:ring-ring focus:ring-offset-2 focus:outline-hidden",{variants:{variant:{project:"border-info bg-secondary text-secondary-alt hover:bg-secondary/80",documentation:"border-secondary-alt bg-secondary text-secondary-alt hover:bg-secondary/80",content:"border-warning bg-secondary text-secondary-alt hover:bg-secondary/80"}}});function h({className:a,variant:b,...c}){return(0,d.jsx)("div",{className:(0,f.cn)(g({variant:b}),a),...c})}},83996:(a,b,c)=>{"use strict";c.d(b,{A:()=>s});var d=c(51477),e=c(54420),f=c(17018),g=c(85140),h=c(390),i=c(91045),j=c(84173);let k={getBackendEndpointUrl:function(){let a=process.env.NEXT_PUBLIC_BACKEND_SERVICE_URL;return(0,j.no)("NEXT_PUBLIC_BACKEND_SERVICE_URL",a)},getBuiltinAssetSource:function(){return"https://r2.sinytra.org/"},getAssetsBaseURL:function(){return process.env.NEXT_PUBLIC_ASSETS_BASE_URL??null}},l={getAssetResource:function(a){let b=k.getAssetsBaseURL()??k.getBuiltinAssetSource();if(!b)return null;let c=new URL(b);c.pathname+="/.assets/"+a.namespace+"/"+a.path+(a.path.includes(".")?"":".png");let d=(0,i.A)(c.toString());return null===d?null:{id:h.A.toString(a),src:d}}};var m=c(47790);function n(a,b){return"locale"==a?m.Ay.actualLocale(b):"version"==a?function(a){return a==g.j4?null:a}(b):b}let o={constructAssetsUrl:function(a,b){let c=k.getAssetsBaseURL()??k.getBackendEndpointUrl(),d=(0,j.cT)(b,n);return`${c}/api/v1/${a}?${d}`}},p={getRemoteAsset:function(a,b){let c=h.A.parse(a);if(!c)return null;let d=function(a,b,c){if(!c||b.namespace===h.o){let b=a.includes("/")?a:function(a){let b=h.A.parse(a);return b?h.A.toString({namespace:b.namespace,path:"item/"+b.path}):a}(a),c=h.A.parse(b);return c?l.getAssetResource(c):null}return null}(a,c,b);return null!=d?d:function(a,{id:b,version:c}){let d=o.constructAssetsUrl(`docs/${b}/asset/${a}`,{version:c});return{id:a,src:d}}(a,b)}};async function q(a,b,c){let e=process.env.NEXT_PUBLIC_SEARCH_ENDPOINT,h=process.env.NEXT_PUBLIC_SEARCH_COLLECTION,i=process.env.NEXT_PUBLIC_SEARCH_API_KEY;if(!e||!h||!i)return{total:0,hits:[]};let j=new d._t({nodes:[{url:e}],apiKey:i,connectionTimeoutSeconds:2,timeoutSeconds:5,numRetries:3,retryIntervalSeconds:1,cacheSearchResultsForSeconds:120}),k={q:a,query_by:"title,item_ids,project_id,project_name,page_ref",filter_by:c?`project_id:=${c}`:void 0,per_page:8,page:1},l=await r(j,h,k);if(!l||0===l.found||!l.hits?.length)return null;let m=l.hits.map(a=>{var c,d;let e=a.document,h=(c=e,d=b,"project"===c.entry_type?(0,f.gZ)(d,c.project_id):"documentation"===c.entry_type?(0,f.M$)(c.page_ref,{id:c.project_id,locale:d,version:g.j4}):"content"===c.entry_type?(0,f.sw)(c.page_ref,{locale:d,version:g.j4,id:c.project_id}):(console.error("Unknown search result",c),"")),i=function(a,b){if("project"===a.entry_type&&null!=a.project_icon_url)return{src:a.project_icon_url,id:a.project_id};if(null==a.icon)return null;let c={id:a.project_id,locale:b,version:g.j4};return p.getRemoteAsset(a.icon,c)}(e,b);return{...e,href:h,icon_asset:i}});return{total:l.found,hits:m}}async function r(a,b,c){try{return await a.collections(b).documents().search(c,{})}catch(a){if(a instanceof e.RequestMalformed)console.error("Bad search params:",a.httpBody);else if(a instanceof e.RequestUnauthorized)console.error("Auth failed — check apiKey");else if(a instanceof e.ObjectNotFound)console.error("Collection does not exist");else if(a instanceof e.ServerError)console.error("Typesense server error",a.httpStatus);else if(a instanceof e.TypesenseError)console.error("Typesense error",a.httpStatus,a.httpBody);else throw a;return null}}let s={searchWiki:async function a(a,b,c){try{let d=await q(a,b,c);if(null!=d)return d}catch(a){console.error("Error running search",a)}return{total:0,hits:[]}}}},84173:(a,b,c)=>{"use strict";function d(a,b){if(null==b)throw Error(`Missing environment variable ${a}`);return b}function e(a,b){let c=new URLSearchParams;if(a){for(let d in a)if(null!=a[d]){let e=b?b(d,a[d]):a[d];e&&c.set(d,e)}}return c.toString()}c.d(b,{cT:()=>e,no:()=>d})},85140:(a,b,c)=>{"use strict";c.d(b,{Xn:()=>e,j4:()=>d});let d="latest",e="en"},86101:(a,b,c)=>{"use strict";c.d(b,{default:()=>x});var d=c(792),e=c(12824),f=c(70569),g=c(74021),h=c(68526),i=c(66374),j=c(34832),k=c(40271),l=c(95928),m=c(95062),n=c(53147),o=c(29301),p=c(58446),q=c(83996),r=c(23692),s=c(83417);function t({result:a}){let b=(0,o.c)("ProjectTypes"),c=(0,o.c)("SearchResultType");return(0,d.jsxs)(p.k,{href:a.href,className:(0,n.cn)("z-50 flex cursor-pointer flex-row gap-2 bg-primary-alt px-1 py-1.5 text-primary","first:rounded-t-sm last:rounded-b-sm hover:bg-tertiary"),children:[(0,d.jsx)("div",{className:"size-[48px] shrink-0 overflow-hidden rounded-xs p-1",children:(0,d.jsx)(g.default,{src:a.icon_asset?.src,width:48,height:48,alt:a.project_id,fbIcon:h.A,fixedSize:!0})}),(0,d.jsxs)("div",{className:"flex w-full flex-col justify-between overflow-hidden py-0.5 text-ellipsis [&_span]:overflow-hidden [&_span]:text-ellipsis",children:[(0,d.jsx)("span",{children:a.title}),"project"==a.entry_type?(0,d.jsx)("span",{className:"text-secondary",children:b(a.project_type)}):(0,d.jsx)("div",{className:"flex flex-row gap-2",children:(0,d.jsx)("span",{className:"text-secondary",children:a.project_name})})]}),(0,d.jsx)("div",{className:"mx-1",children:(0,d.jsx)(s.A,{variant:a.entry_type,children:c(a.entry_type)})})]})}function u(){let a=(0,o.c)("DocsSearchBar");return(0,d.jsx)("div",{className:"z-50 flex h-16 flex-row items-center justify-center gap-2 bg-primary-alt px-1 py-1.5 font-light text-secondary first:rounded-t-sm last:rounded-b-sm",children:a("no_results")})}function v(){let a=(0,o.c)("DocsSearchBar");return(0,d.jsxs)("div",{className:"z-50 flex h-16 flex-row items-center justify-center gap-2 bg-primary-alt px-1 py-1.5 font-light text-secondary first:rounded-t-sm last:rounded-b-sm",children:[(0,d.jsx)(i.A,{className:"mr-2 h-5 w-5 animate-spin"}),a("loading")]})}function w({canChangeScope:a,visible:b,total:c}){let e=(0,o.c)("DocsSearchBar");return(0,d.jsxs)("div",{className:(0,n.cn)("flex w-full flex-row items-center justify-between bg-primary-alt p-2 text-secondary",b>0?"rounded-b-sm":"rounded-sm"),children:[(0,d.jsx)("div",{className:"text-sm font-light",children:e.rich("results",{highlight:a=>(0,d.jsx)("span",{className:"font-normal",children:a}),count:b,total:c})}),(0,d.jsxs)("div",{className:"flex flex-row items-center gap-2",children:[a&&(0,d.jsx)("span",{className:"text-sm",children:e.rich("switch",{kbd:a=>(0,d.jsx)("kbd",{children:a})})}),(0,d.jsx)("span",{className:"text-sm",children:e.rich("close",{kbd:a=>(0,d.jsx)("kbd",{children:a})})})]})]})}function x({locale:a}){let b=(0,o.c)("DocsSearchBar"),[c,g]=(0,f.useState)(""),[h,i]=(0,f.useState)(null),[p,s]=(0,f.useState)(!1),{project:x}=(0,f.useContext)(r.o),[y,z]=(0,f.useState)(null!=x),A=(0,e.YQ)(async b=>{let d=!0;setTimeout(()=>{c&&d&&s(!0)},500),i(await q.A.searchWiki(b,a,y&&x?x.id:null)),d=!1,s(!1)},200),[B,C]=(0,f.useState)(!1),D=(0,f.useRef)(null);(0,m.usePathname)();let[E,F]=(0,f.useState)(!0),G=y?j.A:k.A;return(0,d.jsxs)("div",{className:(0,n.cn)("relative mx-2 hidden w-full transition-none duration-200 ease-[cubic-bezier(.27,.17,.43,.98)]",E&&"md:focus-within:transition-[max-width] lg:transition-[max-width]","md:flex md:max-w-sm md:focus-within:fixed md:focus-within:left-1/2 md:focus-within:max-w-lg md:focus-within:-translate-x-1/2 md:focus-within:shadow-lg","lg:max-w-[40rem] lg:focus-within:static lg:focus-within:flex lg:focus-within:max-w-2xl lg:focus-within:translate-x-0"),children:[(0,d.jsxs)("div",{className:"relative w-full",children:[(0,d.jsx)(l.A,{className:"inset absolute top-1/2 left-2 h-4 w-4 -translate-y-1/2 text-neutral-500"}),x&&B&&(0,d.jsxs)("div",{className:(0,n.cn)("inset absolute top-1/2 left-8 -translate-y-1/2 rounded-sm","flex flex-row items-center gap-1","border border-secondary bg-secondary px-1 py-[1.5px]"),children:[(0,d.jsx)(G,{className:"size-3.5 stroke-2 text-primary"}),(0,d.jsx)("span",{className:"text-xs",children:b(`scope.${y?"local":"global"}`)})]}),(0,d.jsx)("input",{type:"text",value:c,ref:D,className:(0,n.cn)("w-full cursor-pointer rounded-sm border border-secondary bg-primary-alt px-8 py-[0.2rem]","text-center text-sm text-ellipsis placeholder:text-neutral-500","focus:cursor-text focus:border-secondary-alt focus:shadow-md focus:outline-none"),onChange:a=>(a=>{if(g(a),!a||0===a.length){i(null),s(!1);return}return A(a)})(a.target.value),placeholder:b("placeholder"),onFocus:()=>{C(!0),i(null),document.querySelectorAll("html, body").forEach(a=>a.classList.add("scrollLock"))},onBlur:()=>{C(!1),s(!1),g(""),document.querySelectorAll("html, body").forEach(a=>a.classList.remove("scrollLock"))},onKeyDown:a=>{null!=x&&"Tab"===a.key&&(a.preventDefault(),z(!y)),"Escape"===a.key&&a.target.blur()}})]}),B&&(0,d.jsxs)("div",{onMouseDown:a=>a.preventDefault(),className:(0,n.cn)("absolute top-8 flex w-full flex-col divide-y divide-tertiary rounded-sm border","border-secondary bg-primary-alt shadow-lg"),children:[p&&(0,d.jsx)(v,{}),!p&&h&&h.hits.map(a=>(0,d.jsx)(t,{result:a},a.id)),!p&&h&&0===h.hits.length&&(0,d.jsx)(u,{}),(0,d.jsx)(w,{canChangeScope:null!=x,visible:h?.hits?.length??0,total:h?.total??0})]})]})}},88845:(a,b,c)=>{"use strict";c.d(b,{default:()=>d});let d=(0,c(3978).registerClientReference)(function(){throw Error("Attempted to call the default export of \"/home/runner/work/Wiki/Wiki/build/previewer/src/components/navigation/header/MobileNav.tsx\" from the server, but it's on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/home/runner/work/Wiki/Wiki/build/previewer/src/components/navigation/header/MobileNav.tsx","default")},89766:(a,b,c)=>{"use strict";c.d(b,{A:()=>h});var d=c(792),e=c(53147),f=c(97176),g=c.n(f);function h({active:a,setOpen:b}){return(0,d.jsx)("button",{type:"button",className:(0,e.cn)(g().MobileNavHamburger,a&&g().active),onClick:()=>b(!a),children:(0,d.jsxs)("span",{className:g().container,children:[(0,d.jsx)("span",{className:g().top}),(0,d.jsx)("span",{className:g().middle}),(0,d.jsx)("span",{className:g().bottom})]})})}},97176:a=>{a.exports={container:"style_container__ie1qJ",MobileNavHamburger:"style_MobileNavHamburger__IuJku",top:"style_top__Bisv2",middle:"style_middle__87xDf",bottom:"style_bottom__Gyyoh",active:"style_active__7qQ7x"}},97486:(a,b,c)=>{"use strict";c.d(b,{M:()=>g});var d=c(47730),e=c(60907),f=c(57530);let g=(0,e.forwardRef)(function({prefetch:a=!1,...b},c){return(0,d.jsx)(f.XO,{prefetch:a,...b,ref:c})})}};
@@ -0,0 +1 @@
1
+ "use strict";exports.id=7540,exports.ids=[7540],exports.modules={7540:(a,b,c)=>{c.d(b,{CN:()=>x,CZ:()=>y,DE:()=>z,ES:()=>A,FR:()=>B,HU:()=>C,IT:()=>D,JP:()=>E,KR:()=>F,MY:()=>G,PL:()=>H,RU:()=>I,SE:()=>J,TR:()=>K,TW:()=>L,UA:()=>M,US:()=>N});var d=c(60907),e=["title"],f=["title"],g=["title"],h=["title"],i=["title"],j=["title"],k=["title"],l=["title"],m=["title"],n=["title"],o=["title"],p=["title"],q=["title"],r=["title"],s=["title"],t=["title"],u=["title"];function v(){return(v=Object.assign||function(a){for(var b=1;b<arguments.length;b++){var c=arguments[b];for(var d in c)Object.prototype.hasOwnProperty.call(c,d)&&(a[d]=c[d])}return a}).apply(this,arguments)}function w(a,b){if(null==a)return{};var c,d,e=function(a,b){if(null==a)return{};var c,d,e={},f=Object.keys(a);for(d=0;d<f.length;d++)c=f[d],b.indexOf(c)>=0||(e[c]=a[c]);return e}(a,b);if(Object.getOwnPropertySymbols){var f=Object.getOwnPropertySymbols(a);for(d=0;d<f.length;d++)c=f[d],!(b.indexOf(c)>=0)&&Object.prototype.propertyIsEnumerable.call(a,c)&&(e[c]=a[c])}return e}var x=function(a){var b=a.title,c=w(a,e);return d.createElement("svg",v({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 513 342"},c),b&&d.createElement("title",null,b),d.createElement("path",{fill:"#D80027",d:"M0 0h513v342H0z"}),d.createElement("path",{d:"m226.8 239.2-9.7-15.6-17.9 4.4 11.9-14.1-9.7-15.6 17.1 6.9 11.8-14.1-1.3 18.4 17.1 6.9-17.9 4.4zM290.6 82l-10.1 15.4 11.6 14.3-17.7-4.8-10.1 15.5-1-18.4-17.7-4.8 17.2-6.6-1-18.4 11.6 14.3zm-54.4-56.6-2 18.3 16.8 7.6-18 3.8-2 18.3-9.2-16-17.9 3.8 12.3-13.7-9.2-15.9 16.8 7.5zm56.6 136.4-14.9 10.9 5.8 17.5-14.9-10.8-14.9 11 5.6-17.6-14.9-10.7 18.4-.1 5.6-17.6 5.8 17.5zM115 46.3l17.3 53.5h56.2l-45.4 32.9 17.3 53.5-45.4-33-45.5 33 17.4-53.5-45.5-32.9h56.3z",fill:"#FFDA44"}))},y=function(a){var b=a.title,c=w(a,f);return d.createElement("svg",v({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 513 342"},c),b&&d.createElement("title",null,b),d.createElement("path",{fill:"#11457e",d:"M0 0h513v342H0z"}),d.createElement("path",{fill:"#d7141a",d:"M513 171v171H0l256.5-171z"}),d.createElement("path",{fill:"#FFF",d:"M513 0v171H256.5L0 0z"}))},z=function(a){var b=a.title,c=w(a,g);return d.createElement("svg",v({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 513 342"},c),b&&d.createElement("title",null,b),d.createElement("path",{fill:"#D80027",d:"M0 0h513v342H0z"}),d.createElement("path",{d:"M0 0h513v114H0z"}),d.createElement("path",{fill:"#FFDA44",d:"M0 228h513v114H0z"}))},A=function(a){var b=a.title,c=w(a,h);return d.createElement("svg",v({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 22.5 15"},c),b&&d.createElement("title",null,b),d.createElement("path",{fill:"#FFF",d:"M0 0h22.5v15H0V0z"}),d.createElement("path",{fill:"#D03433",d:"M0 0h22.5v4H0V0zm0 11h22.5v4H0v-4z"}),d.createElement("path",{fill:"#FBCA46",d:"M0 4h22.5v7H0V4z"}),d.createElement("path",{fill:"#FFF",d:"M7.8 7h1v.5h-1V7z"}),d.createElement("path",{fill:"#A41517",d:"M7.2 8.5c0 .3.3.5.6.5s.6-.2.6-.5L8.5 7H7.1l.1 1.5zM6.6 7c0-.3.2-.5.4-.5h1.5c.3 0 .5.2.5.4V7l-.1 1.5c-.1.6-.5 1-1.1 1-.6 0-1-.4-1.1-1L6.6 7z"}),d.createElement("path",{fill:"#A41517",d:"M6.8 7.5h2V8h-.5l-.5 1-.5-1h-.5v-.5zM5.3 6h1v3.5h-1V6zm4 0h1v3.5h-1V6zm-2.5-.5c0-.3.2-.5.5-.5h1c.3 0 .5.2.5.5v.2c0 .2-.1.3-.3.3H7c-.1 0-.2-.1-.2-.2v-.3z"}))},B=function(a){var b=a.title,c=w(a,i);return d.createElement("svg",v({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 513 342"},c),b&&d.createElement("title",null,b),d.createElement("path",{fill:"#FFF",d:"M0 0h513v342H0z"}),d.createElement("path",{fill:"#00318A",d:"M0 0h171v342H0z"}),d.createElement("path",{fill:"#D80027",d:"M342 0h171v342H342z"}))},C=function(a){var b=a.title,c=w(a,j);return d.createElement("svg",v({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 513 342"},c),b&&d.createElement("title",null,b),d.createElement("path",{fill:"#FFF",d:"M0 0h513v342H0z"}),d.createElement("path",{fill:"#D80027",d:"M0 0h513v114H0z"}),d.createElement("path",{fill:"#6DA544",d:"M0 228h513v114H0z"}))},D=function(a){var b=a.title,c=w(a,k);return d.createElement("svg",v({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 513 342"},c),b&&d.createElement("title",null,b),d.createElement("path",{fill:"#F4F5F0",d:"M342 0H0v341.3h512V0z"}),d.createElement("path",{fill:"#008C45",d:"M0 0h171v342H0z"}),d.createElement("path",{fill:"#CD212A",d:"M342 0h171v342H342z"}))},E=function(a){var b=a.title,c=w(a,l);return d.createElement("svg",v({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 513 342"},c),b&&d.createElement("title",null,b),d.createElement("path",{fill:"#FFF",d:"M0 0h512v342H0z"}),d.createElement("circle",{fill:"#D80027",cx:256.5,cy:171,r:96}))},F=function(a){var b=a.title,c=w(a,m);return d.createElement("svg",v({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 513 342"},c),b&&d.createElement("title",null,b),d.createElement("path",{fill:"#FFF",d:"M0 0h513v342H0z"}),d.createElement("path",{d:"M84.6 107.8 132 36.6m-29.7 83 47.4-71.1m-29.6 83 47.4-71.1m177.9 221.3 47.4-71.1m-29.6 82.9 47.4-71.1m-29.6 83 47.4-71.1M132 305.4l-47.4-71.1m65.2 59.2-47.4-71.1m65.2 59.3-47.4-71.1m272.6-79.1-47.4-71.1m65.2 59.2-47.4-71.1m65.2 59.3L381 36.6",stroke:"#000",strokeWidth:14.25}),d.createElement("path",{d:"m357.3 238.2 59.3 39.5m-299.4-13.8L135 252m222.3-148.2L378 90m17.8-11.9 17.8-11.9",stroke:"#FFF",strokeWidth:12.5}),d.createElement("circle",{fill:"#CA163A",cx:256.5,cy:171,r:85.5}),d.createElement("path",{fill:"#0E4896",d:"M185.3 123.6c-13.1 19.6-7.8 46.2 11.9 59.3s46.2 7.8 59.3-11.9 39.6-24.9 59.3-11.9c19.6 13.1 24.9 39.6 11.9 59.3-26.2 39.3-79.3 49.9-118.6 23.7s-49.9-79.3-23.8-118.5z"}))},G=function(a){var b=a.title,c=w(a,n);return d.createElement("svg",v({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 513 342"},c),b&&d.createElement("title",null,b),d.createElement("path",{fill:"#FFF",d:"M0 0h513v342H0z"}),d.createElement("path",{d:"M0 0h513v24.4H0zm0 48.9h513v24.4H0zm0 48.8h513v24.4H0zm0 48.9h513V171H0zm0 48.8h513v24.4H0zm0 48.9h513v24.4H0zm0 48.8h513v24.4H0z",fill:"#c00"}),d.createElement("path",{fill:"#006",d:"M0 0h256.5v195.4H0z"}),d.createElement("path",{d:"M153.3 42.1C122.6 30.7 88.5 46.3 77.1 77s4.2 64.8 34.9 76.2c13.3 5 28 5 41.4 0-30.7 24.5-75.4 19.6-100-11.1s-19.6-75.4 11.1-100c26-20.7 62.9-20.7 88.8 0zm26.7 75-20.6 23.3 5.4-30.6-31-1.6 27.3-14.9L143 68l28.6 12 8.4-29.9 8.4 29.9L217 68l-18 25.4 27.3 14.9-31 1.6 5.4 30.6-20.7-23.4z",fill:"#fc0"}))},H=function(a){var b=a.title,c=w(a,o);return d.createElement("svg",v({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 513 342"},c),b&&d.createElement("title",null,b),d.createElement("path",{fill:"#FFF",d:"M0 0h513v342H0z"}),d.createElement("path",{fill:"#dc143c",d:"M0 171h513v171H0z"}))},I=function(a){var b=a.title,c=w(a,p);return d.createElement("svg",v({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 513 342"},c),b&&d.createElement("title",null,b),d.createElement("path",{fill:"#FFF",d:"M0 0h513v114H0z"}),d.createElement("path",{fill:"#0039a6",d:"M0 114h513v114H0z"}),d.createElement("path",{fill:"#d52b1e",d:"M0 228h513v114H0z"}))},J=function(a){var b=a.title,c=w(a,q);return d.createElement("svg",v({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 513 342"},c),b&&d.createElement("title",null,b),d.createElement("path",{fill:"#004F8E",d:"M0 0h513v342H0z"}),d.createElement("path",{fill:"#F6C500",d:"M192.4.3h-64.2v138.8H0v64.1h128.2V342h64.2V203.2H513v-64.1H192.4z"}))},K=function(a){var b=a.title,c=w(a,r);return d.createElement("svg",v({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 513 342"},c),b&&d.createElement("title",null,b),d.createElement("path",{fill:"#E30A17",d:"M0 0h513v342H0z"}),d.createElement("path",{fill:"#FFF",d:"M259.7 118.6c-13.1-9.5-29-14.6-45.3-14.5-40.8 0-73.8 30.8-73.8 68.9s33.1 68.9 73.8 68.9c17.1 0 32.9-5.4 45.3-14.5-30 38.6-85.7 45.6-124.3 15.5s-45.6-85.7-15.5-124.3 85.7-45.6 124.3-15.5c5.8 4.5 11 9.8 15.5 15.5zm39.9 65.8-18.1 21.9 1.2-28.4-26.4-10.4 27.3-7.6 1.8-28.3 15.6 23.7 27.5-7.1-17.5 22 15.3 23.9-26.7-9.7z"}))},L=function(a){var b=a.title,c=w(a,s);return d.createElement("svg",v({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 85.333 512 341.333"},c),b&&d.createElement("title",null,b),d.createElement("path",{fill:"#D80027",d:"M0 85.337h512v341.326H0z"}),d.createElement("path",{fill:"#0052B4",d:"M0 85.337h256V256H0z"}),d.createElement("path",{fill:"#FFF",d:"M186.435 170.669 162.558 181.9l12.714 23.125-25.927-4.961-3.286 26.192L128 206.993l-18.06 19.263-3.285-26.192-25.927 4.96 12.714-23.125-23.877-11.23 23.877-11.231-12.714-23.125 25.927 4.96 3.286-26.192L128 134.344l18.06-19.263 3.285 26.192 25.928-4.96-12.715 23.125z"}),d.createElement("circle",{fill:"#0052B4",cx:128,cy:170.674,r:29.006}),d.createElement("path",{fill:"#FFF",d:"M128 190.06c-10.692 0-19.391-8.7-19.391-19.391 0-10.692 8.7-19.391 19.391-19.391 10.692 0 19.391 8.7 19.391 19.391 0 10.691-8.699 19.391-19.391 19.391z"}))},M=function(a){var b=a.title,c=w(a,t);return d.createElement("svg",v({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 85.333 512 341.333"},c),b&&d.createElement("title",null,b),d.createElement("path",{fill:"#FFDA44",d:"M0 85.337h512v341.326H0z"}),d.createElement("path",{fill:"#338AF3",d:"M0 85.337h512V256H0z"}))},N=function(a){var b=a.title,c=w(a,u);return d.createElement("svg",v({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 513 342"},c),b&&d.createElement("title",null,b),d.createElement("path",{fill:"#FFF",d:"M0 0h513v342H0z"}),d.createElement("path",{d:"M0 0h513v26.3H0zm0 52.6h513v26.3H0zm0 52.6h513v26.3H0zm0 52.6h513v26.3H0zm0 52.7h513v26.3H0zm0 52.6h513v26.3H0zm0 52.6h513V342H0z",fill:"#D80027"}),d.createElement("path",{fill:"#2E52B2",d:"M0 0h256.5v184.1H0z"}),d.createElement("path",{d:"m47.8 138.9-4-12.8-4.4 12.8H26.2l10.7 7.7-4 12.8 10.9-7.9 10.6 7.9-4.1-12.8 10.9-7.7zm56.3 0-4.1-12.8-4.2 12.8H82.6l10.7 7.7-4 12.8 10.7-7.9 10.8 7.9-4-12.8 10.7-7.7zm56.5 0-4.3-12.8-4 12.8h-13.5l11 7.7-4.2 12.8 10.7-7.9 11 7.9-4.2-12.8 10.7-7.7zm56.2 0-4-12.8-4.2 12.8h-13.3l10.8 7.7-4 12.8 10.7-7.9 10.8 7.9-4.3-12.8 11-7.7zM100 75.3l-4.2 12.8H82.6L93.3 96l-4 12.6 10.7-7.8 10.8 7.8-4-12.6 10.7-7.9h-13.4zm-56.2 0-4.4 12.8H26.2L36.9 96l-4 12.6 10.9-7.8 10.6 7.8L50.3 96l10.9-7.9H47.8zm112.5 0-4 12.8h-13.5l11 7.9-4.2 12.6 10.7-7.8 11 7.8-4.2-12.6 10.7-7.9h-13.2zm56.5 0-4.2 12.8h-13.3l10.8 7.9-4 12.6 10.7-7.8 10.8 7.8-4.3-12.6 11-7.9h-13.5zm-169-50.6-4.4 12.6H26.2l10.7 7.9-4 12.7L43.8 50l10.6 7.9-4.1-12.7 10.9-7.9H47.8zm56.2 0-4.2 12.6H82.6l10.7 7.9-4 12.7L100 50l10.8 7.9-4-12.7 10.7-7.9h-13.4zm56.3 0-4 12.6h-13.5l11 7.9-4.2 12.7 10.7-7.9 11 7.9-4.2-12.7 10.7-7.9h-13.2zm56.5 0-4.2 12.6h-13.3l10.8 7.9-4 12.7 10.7-7.9 10.8 7.9-4.3-12.7 11-7.9h-13.5z",fill:"#FFF"}))}}};
@@ -1 +1 @@
1
- "use strict";exports.id=7542,exports.ids=[7542],exports.modules={55161:(a,b,c)=>{c.r(b),c.d(b,{default:()=>l,displayName:()=>d,fileTypes:()=>e,foldingStartMarker:()=>f,foldingStopMarker:()=>g,name:()=>h,patterns:()=>i,repository:()=>j,scopeName:()=>k});var d="Tcl",e=["tcl"],f="\\{\\s*$",g="^\\s*\\}",h="tcl",i=[{begin:"(?<=^|;)\\s*((#))",beginCaptures:{1:{name:"comment.line.number-sign.tcl"},2:{name:"punctuation.definition.comment.tcl"}},contentName:"comment.line.number-sign.tcl",end:"\\n",patterns:[{match:"(\\\\\\\\|\\\\\\n)"}]},{captures:{1:{name:"keyword.control.tcl"}},match:"(?<=^|[\\[{;])\\s*(if|while|for|catch|default|return|break|continue|switch|exit|foreach|try|throw)\\b"},{captures:{1:{name:"keyword.control.tcl"}},match:"(?<=^|})\\s*(then|elseif|else)\\b"},{captures:{1:{name:"keyword.other.tcl"},2:{name:"entity.name.function.tcl"}},match:"(?<=^|{)\\s*(proc)\\s+([^\\s]+)"},{captures:{1:{name:"keyword.other.tcl"}},match:"(?<=^|[\\[{;])\\s*(after|append|array|auto_execok|auto_import|auto_load|auto_mkindex|auto_mkindex_old|auto_qualify|auto_reset|bgerror|binary|cd|clock|close|concat|dde|encoding|eof|error|eval|exec|expr|fblocked|fconfigure|fcopy|file|fileevent|filename|flush|format|gets|glob|global|history|http|incr|info|interp|join|lappend|library|lindex|linsert|list|llength|load|lrange|lreplace|lsearch|lset|lsort|memory|msgcat|namespace|open|package|parray|pid|pkg::create|pkg_mkIndex|proc|puts|pwd|re_syntax|read|registry|rename|resource|scan|seek|set|socket|SafeBase|source|split|string|subst|Tcl|tcl_endOfWord|tcl_findLibrary|tcl_startOfNextWord|tcl_startOfPreviousWord|tcl_wordBreakAfter|tcl_wordBreakBefore|tcltest|tclvars|tell|time|trace|unknown|unset|update|uplevel|upvar|variable|vwait)\\b"},{begin:"(?<=^|[\\[{;])\\s*(regexp|regsub)\\b\\s*",beginCaptures:{1:{name:"keyword.other.tcl"}},comment:"special-case regexp/regsub keyword in order to handle the expression",end:"[\\n;\\]]",patterns:[{match:"\\\\(?:.|\\n)",name:"constant.character.escape.tcl"},{comment:"switch for regexp",match:"-\\w+\\s*"},{applyEndPatternLast:1,begin:"--\\s*",comment:"end of switches",end:"",patterns:[{include:"#regexp"}]},{include:"#regexp"}]},{include:"#escape"},{include:"#variable"},{include:"#operator"},{include:"#numeric"},{begin:'"',beginCaptures:{0:{name:"punctuation.definition.string.begin.tcl"}},end:'"',endCaptures:{0:{name:"punctuation.definition.string.end.tcl"}},name:"string.quoted.double.tcl",patterns:[{include:"#escape"},{include:"#variable"},{include:"#embedded"}]}],j={"bare-string":{begin:'(?:^|(?<=\\s))"',comment:"matches a single quote-enclosed word without scoping",end:'"([^\\s\\]]*)',endCaptures:{1:{name:"invalid.illegal.tcl"}},patterns:[{include:"#escape"},{include:"#variable"}]},braces:{begin:"(?:^|(?<=\\s))\\{",comment:"matches a single brace-enclosed word",end:"\\}([^\\s\\]]*)",endCaptures:{1:{name:"invalid.illegal.tcl"}},patterns:[{match:"\\\\[{}\\n]",name:"constant.character.escape.tcl"},{include:"#inner-braces"}]},embedded:{begin:"\\[",beginCaptures:{0:{name:"punctuation.section.embedded.begin.tcl"}},end:"\\]",endCaptures:{0:{name:"punctuation.section.embedded.end.tcl"}},name:"source.tcl.embedded",patterns:[{include:"source.tcl"}]},escape:{match:"\\\\(\\d{1,3}|x[a-fA-F0-9]+|u[a-fA-F0-9]{1,4}|.|\\n)",name:"constant.character.escape.tcl"},"inner-braces":{begin:"\\{",comment:"matches a nested brace in a brace-enclosed word",end:"\\}",patterns:[{match:"\\\\[{}\\n]",name:"constant.character.escape.tcl"},{include:"#inner-braces"}]},numeric:{match:"(?<![a-zA-Z])([+-]?([0-9]*[.])?[0-9]+f?)(?![\\.a-zA-Z])",name:"constant.numeric.tcl"},operator:{match:"(?<= |\\d)(-|\\+|~|&{1,2}|\\|{1,2}|<{1,2}|>{1,2}|\\*{1,2}|!|%|\\/|<=|>=|={1,2}|!=|\\^)(?= |\\d)",name:"keyword.operator.tcl"},regexp:{begin:"(?=\\S)(?![\\n;\\]])",comment:"matches a single word, named as a regexp, then swallows the rest of the command",end:"(?=[\\n;\\]])",patterns:[{begin:"(?=[^ \\t\\n;])",end:"(?=[ \\t\\n;])",name:"string.regexp.tcl",patterns:[{include:"#braces"},{include:"#bare-string"},{include:"#escape"},{include:"#variable"}]},{begin:"[ \\t]",comment:"swallow the rest of the command",end:"(?=[\\n;\\]])",patterns:[{include:"#variable"},{include:"#embedded"},{include:"#escape"},{include:"#braces"},{include:"#string"}]}]},string:{applyEndPatternLast:1,begin:'(?:^|(?<=\\s))(?=")',comment:"matches a single quote-enclosed word with scoping",end:"",name:"string.quoted.double.tcl",patterns:[{include:"#bare-string"}]},variable:{captures:{1:{name:"punctuation.definition.variable.tcl"}},match:"(\\$)((?:[a-zA-Z0-9_]|::)+(\\([^\\)]+\\))?|\\{[^\\}]*\\})",name:"support.function.tcl"}},k="source.tcl",l={displayName:"Tcl",fileTypes:e,foldingStartMarker:f,foldingStopMarker:g,name:"tcl",patterns:i,repository:j,scopeName:k}}};
1
+ "use strict";exports.id=7542,exports.ids=[7542],exports.modules={77542:(a,b,c)=>{c.r(b),c.d(b,{default:()=>l,displayName:()=>d,fileTypes:()=>e,foldingStartMarker:()=>f,foldingStopMarker:()=>g,name:()=>h,patterns:()=>i,repository:()=>j,scopeName:()=>k});var d="Tcl",e=["tcl"],f="\\{\\s*$",g="^\\s*\\}",h="tcl",i=[{begin:"(?<=^|;)\\s*((#))",beginCaptures:{1:{name:"comment.line.number-sign.tcl"},2:{name:"punctuation.definition.comment.tcl"}},contentName:"comment.line.number-sign.tcl",end:"\\n",patterns:[{match:"(\\\\\\\\|\\\\\\n)"}]},{captures:{1:{name:"keyword.control.tcl"}},match:"(?<=^|[\\[{;])\\s*(if|while|for|catch|default|return|break|continue|switch|exit|foreach|try|throw)\\b"},{captures:{1:{name:"keyword.control.tcl"}},match:"(?<=^|})\\s*(then|elseif|else)\\b"},{captures:{1:{name:"keyword.other.tcl"},2:{name:"entity.name.function.tcl"}},match:"(?<=^|{)\\s*(proc)\\s+([^\\s]+)"},{captures:{1:{name:"keyword.other.tcl"}},match:"(?<=^|[\\[{;])\\s*(after|append|array|auto_execok|auto_import|auto_load|auto_mkindex|auto_mkindex_old|auto_qualify|auto_reset|bgerror|binary|cd|clock|close|concat|dde|encoding|eof|error|eval|exec|expr|fblocked|fconfigure|fcopy|file|fileevent|filename|flush|format|gets|glob|global|history|http|incr|info|interp|join|lappend|library|lindex|linsert|list|llength|load|lrange|lreplace|lsearch|lset|lsort|memory|msgcat|namespace|open|package|parray|pid|pkg::create|pkg_mkIndex|proc|puts|pwd|re_syntax|read|registry|rename|resource|scan|seek|set|socket|SafeBase|source|split|string|subst|Tcl|tcl_endOfWord|tcl_findLibrary|tcl_startOfNextWord|tcl_startOfPreviousWord|tcl_wordBreakAfter|tcl_wordBreakBefore|tcltest|tclvars|tell|time|trace|unknown|unset|update|uplevel|upvar|variable|vwait)\\b"},{begin:"(?<=^|[\\[{;])\\s*(regexp|regsub)\\b\\s*",beginCaptures:{1:{name:"keyword.other.tcl"}},comment:"special-case regexp/regsub keyword in order to handle the expression",end:"[\\n;\\]]",patterns:[{match:"\\\\(?:.|\\n)",name:"constant.character.escape.tcl"},{comment:"switch for regexp",match:"-\\w+\\s*"},{applyEndPatternLast:1,begin:"--\\s*",comment:"end of switches",end:"",patterns:[{include:"#regexp"}]},{include:"#regexp"}]},{include:"#escape"},{include:"#variable"},{include:"#operator"},{include:"#numeric"},{begin:'"',beginCaptures:{0:{name:"punctuation.definition.string.begin.tcl"}},end:'"',endCaptures:{0:{name:"punctuation.definition.string.end.tcl"}},name:"string.quoted.double.tcl",patterns:[{include:"#escape"},{include:"#variable"},{include:"#embedded"}]}],j={"bare-string":{begin:'(?:^|(?<=\\s))"',comment:"matches a single quote-enclosed word without scoping",end:'"([^\\s\\]]*)',endCaptures:{1:{name:"invalid.illegal.tcl"}},patterns:[{include:"#escape"},{include:"#variable"}]},braces:{begin:"(?:^|(?<=\\s))\\{",comment:"matches a single brace-enclosed word",end:"\\}([^\\s\\]]*)",endCaptures:{1:{name:"invalid.illegal.tcl"}},patterns:[{match:"\\\\[{}\\n]",name:"constant.character.escape.tcl"},{include:"#inner-braces"}]},embedded:{begin:"\\[",beginCaptures:{0:{name:"punctuation.section.embedded.begin.tcl"}},end:"\\]",endCaptures:{0:{name:"punctuation.section.embedded.end.tcl"}},name:"source.tcl.embedded",patterns:[{include:"source.tcl"}]},escape:{match:"\\\\(\\d{1,3}|x[a-fA-F0-9]+|u[a-fA-F0-9]{1,4}|.|\\n)",name:"constant.character.escape.tcl"},"inner-braces":{begin:"\\{",comment:"matches a nested brace in a brace-enclosed word",end:"\\}",patterns:[{match:"\\\\[{}\\n]",name:"constant.character.escape.tcl"},{include:"#inner-braces"}]},numeric:{match:"(?<![a-zA-Z])([+-]?([0-9]*[.])?[0-9]+f?)(?![\\.a-zA-Z])",name:"constant.numeric.tcl"},operator:{match:"(?<= |\\d)(-|\\+|~|&{1,2}|\\|{1,2}|<{1,2}|>{1,2}|\\*{1,2}|!|%|\\/|<=|>=|={1,2}|!=|\\^)(?= |\\d)",name:"keyword.operator.tcl"},regexp:{begin:"(?=\\S)(?![\\n;\\]])",comment:"matches a single word, named as a regexp, then swallows the rest of the command",end:"(?=[\\n;\\]])",patterns:[{begin:"(?=[^ \\t\\n;])",end:"(?=[ \\t\\n;])",name:"string.regexp.tcl",patterns:[{include:"#braces"},{include:"#bare-string"},{include:"#escape"},{include:"#variable"}]},{begin:"[ \\t]",comment:"swallow the rest of the command",end:"(?=[\\n;\\]])",patterns:[{include:"#variable"},{include:"#embedded"},{include:"#escape"},{include:"#braces"},{include:"#string"}]}]},string:{applyEndPatternLast:1,begin:'(?:^|(?<=\\s))(?=")',comment:"matches a single quote-enclosed word with scoping",end:"",name:"string.quoted.double.tcl",patterns:[{include:"#bare-string"}]},variable:{captures:{1:{name:"punctuation.definition.variable.tcl"}},match:"(\\$)((?:[a-zA-Z0-9_]|::)+(\\([^\\)]+\\))?|\\{[^\\}]*\\})",name:"support.function.tcl"}},k="source.tcl",l={displayName:"Tcl",fileTypes:e,foldingStartMarker:f,foldingStopMarker:g,name:"tcl",patterns:i,repository:j,scopeName:k}}};