@sinytra/wiki-previewer 0.1.128 → 0.1.129

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (28) hide show
  1. package/.next/BUILD_ID +1 -1
  2. package/.next/app-build-manifest.json +14 -14
  3. package/.next/app-path-routes-manifest.json +2 -2
  4. package/.next/build-manifest.json +2 -2
  5. package/.next/prerender-manifest.json +3 -3
  6. package/.next/server/app/(developers)/api/docs/[slug]/asset/[id]/route_client-reference-manifest.js +1 -1
  7. package/.next/server/app/[locale]/(main)/project/[slug]/[version]/content/[id]/page_client-reference-manifest.js +1 -1
  8. package/.next/server/app/[locale]/(main)/project/[slug]/[version]/content/page_client-reference-manifest.js +1 -1
  9. package/.next/server/app/[locale]/(main)/project/[slug]/[version]/docs/[...path]/page_client-reference-manifest.js +1 -1
  10. package/.next/server/app/[locale]/(main)/project/[slug]/[version]/docs/page_client-reference-manifest.js +1 -1
  11. package/.next/server/app/[locale]/(main)/project/[slug]/[version]/page_client-reference-manifest.js +1 -1
  12. package/.next/server/app/[locale]/page_client-reference-manifest.js +1 -1
  13. package/.next/server/app/_not-found/page_client-reference-manifest.js +1 -1
  14. package/.next/server/app/_not-found.html +2 -2
  15. package/.next/server/app/_not-found.rsc +1 -1
  16. package/.next/server/app/opengraph-image/route_client-reference-manifest.js +1 -1
  17. package/.next/server/app/robots.txt/route.js.nft.json +1 -1
  18. package/.next/server/app/robots.txt/route_client-reference-manifest.js +1 -1
  19. package/.next/server/app/sitemap.xml/route_client-reference-manifest.js +1 -1
  20. package/.next/server/app-paths-manifest.json +2 -2
  21. package/.next/server/chunks/3938.js +1 -1
  22. package/.next/server/middleware-manifest.json +10 -10
  23. package/.next/server/pages/404.html +2 -2
  24. package/.next/server/pages/500.html +1 -1
  25. package/.next/server/server-reference-manifest.json +1 -1
  26. package/package.json +1 -1
  27. /package/.next/static/{_-oYPpEZTnklQhLVgBZXG → Bbl1kmS1XNNk11h2myHVO}/_buildManifest.js +0 -0
  28. /package/.next/static/{_-oYPpEZTnklQhLVgBZXG → Bbl1kmS1XNNk11h2myHVO}/_ssgManifest.js +0 -0
@@ -1 +1 @@
1
- exports.id=3938,exports.ids=[3938],exports.modules={4902:(a,b,c)=>{"use strict";c.d(b,{default:()=>h});var d=c(67258),e=c(50614),f=c(92053);function g(a){if("string"==typeof a){let b=Number(a);if(!Number.isNaN(b))return b}return a}function h({asset:a,width:b,height:c,alt:h,title:i,noTitle:j,...k}){return(0,d.jsx)(f.default,{width:g(b),height:g(c),src:a.src,alt:h||a.id,title:j?void 0:i||e.A.parse(a.id)?.path,strokeWidth:1.5,wrapper:{className:"inline sharpRendering"},...k})}},5404:(a,b,c)=>{"use strict";c.d(b,{default:()=>d});let d=(0,c(9968).registerClientReference)(function(){throw Error("Attempted to call the default export of \"/home/runner/work/Wiki/Wiki/build/previewer/src/components/docs/shared/game/UsageContentList.tsx\" from the server, but it's on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/home/runner/work/Wiki/Wiki/build/previewer/src/components/docs/shared/game/UsageContentList.tsx","default")},5888:(a,b,c)=>{"use strict";c.r(b),c.d(b,{default:()=>l});var d=c(67258),e=c(83459);function f(a){let b=(0,e.useRef)(null),[c,f]=(0,e.useState)(null);return(0,d.jsxs)("div",{ref:b,onMouseEnter:a=>f({x:a.clientX,y:a.clientY}),onMouseLeave:()=>f(null),children:[c&&(0,d.jsx)("div",{className:"minetip-tooltip",style:{top:c.y+-33,left:c.x+15},children:(0,d.jsxs)("span",{className:"font-minecraft",children:[a.id,a.tag&&(0,d.jsxs)("p",{className:"m-0! mt-1! text-xs text-secondary text-shadow-none",children:["#",a.tag]})]})}),a.children]})}var g=c(14954),h=c(77806),i=c(84531),j=c(42590),k=c(46763);function l({noTooltip:a,noLink:b,src:c,count:l,ctx:m,tag:n,...o}){let[p,q]=(0,e.useState)(0),r=(0,e.useMemo)(()=>c[p],[p,c]);if((0,e.useContext)(h.M),c.length<1)return null;let s=m?(0,g.MZ)(m,r):(0,g.cT)(r.id),t=(0,d.jsxs)("div",{...o,className:(0,k.cn)("relative shrink-0",o.className),children:[(0,d.jsx)(i.default,{noTitle:!0,asset:r.asset,alt:r.name??r.id,className:"sharpRendering"}),l&&l>1&&(0,d.jsx)("span",{className:"sharpRendering absolute right-0 bottom-0 z-10 text-left font-minecraft text-base leading-1 text-white",style:{textShadow:"2px 2px 0 #3F3F3F"},children:l})]}),u=s&&!b?(0,d.jsx)(j.k,{href:s,rel:"noreferrer",children:t}):t;return a?u:(0,d.jsx)(f,{id:r.name||r.id,tag:n,children:u})}},9610:(a,b,c)=>{"use strict";c.d(b,{default:()=>N});var d=c(67258),e=c(42525),f=c(66892),g=c(17120),h=c(30283),i=c(99688),j=c(46763),k=c(45580),l=c(72740),m=c(83459),n=c(785),o=c(42306),p=c(84461),q=c(81948);let r=n.bL;n.YJ;let s=m.forwardRef(({placeholder:a,children:b,...c},e)=>(0,d.jsx)(n.WT,{ref:e,placeholder:(0,d.jsx)("span",{className:"text-secondary",children:a}),...c,children:b}));s.displayName=n.WT.displayName;let t=m.forwardRef(({className:a,children:b,...c},e)=>(0,d.jsxs)(n.l9,{ref:e,className:(0,j.cn)("border-quaternary bg-primary-dim flex h-10 w-full items-center justify-between rounded-sm border px-3 py-2 text-left text-sm ring-offset-background placeholder:text-secondary focus:outline-hidden disabled:cursor-not-allowed disabled:opacity-50 [&>span]:line-clamp-1",a),...c,children:[b,(0,d.jsx)(n.In,{asChild:!0,children:(0,d.jsx)(o.A,{className:"h-4 w-4 opacity-50"})})]}));t.displayName=n.l9.displayName;let u=m.forwardRef(({className:a,...b},c)=>(0,d.jsx)(n.PP,{ref:c,className:(0,j.cn)("flex cursor-default items-center justify-center py-1",a),...b,children:(0,d.jsx)(p.A,{className:"h-4 w-4"})}));u.displayName=n.PP.displayName;let v=m.forwardRef(({className:a,...b},c)=>(0,d.jsx)(n.wn,{ref:c,className:(0,j.cn)("flex cursor-default items-center justify-center py-1",a),...b,children:(0,d.jsx)(o.A,{className:"h-4 w-4"})}));v.displayName=n.wn.displayName;let w=m.forwardRef(({className:a,children:b,position:c="popper",...e},f)=>(0,d.jsx)(n.ZL,{children:(0,d.jsxs)(n.UC,{ref:f,className:(0,j.cn)("border-tertiary bg-primary-alt text-primary-alt relative z-50 max-h-96 min-w-[8rem] overflow-hidden rounded-md border shadow-md 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","popper"===c&&"data-[side=bottom]:translate-y-1 data-[side=left]:-translate-x-1 data-[side=right]:translate-x-1 data-[side=top]:-translate-y-1",a),position:c,...e,children:[(0,d.jsx)(u,{}),(0,d.jsx)(n.LM,{className:(0,j.cn)("p-1","popper"===c&&"h-[var(--radix-select-trigger-height)] w-full min-w-[var(--radix-select-trigger-width)]"),children:b}),(0,d.jsx)(v,{})]})}));w.displayName=n.UC.displayName,m.forwardRef(({className:a,...b},c)=>(0,d.jsx)(n.JU,{ref:c,className:(0,j.cn)("py-1.5 pr-2 pl-8 text-sm font-semibold",a),...b})).displayName=n.JU.displayName;let x=m.forwardRef(({className:a,children:b,...c},e)=>(0,d.jsxs)(n.q7,{ref:e,className:(0,j.cn)("focus:text-primary-alt relative flex w-full cursor-default items-center rounded-xs py-1.5 pr-2 pl-8 text-sm outline-hidden select-none focus:bg-secondary data-disabled:pointer-events-none data-disabled:opacity-50",a),...c,children:[(0,d.jsx)("span",{className:"absolute left-2 flex h-3.5 w-3.5 items-center justify-center",children:(0,d.jsx)(n.VF,{children:(0,d.jsx)(q.A,{className:"h-4 w-4"})})}),(0,d.jsx)(n.p4,{children:b})]}));x.displayName=n.q7.displayName,m.forwardRef(({className:a,...b},c)=>(0,d.jsx)(n.wv,{ref:c,className:(0,j.cn)("bg-primary-alt -mx-1 my-1 h-px",a),...b})).displayName=n.wv.displayName;var y=c(49740),z=c(22863);function A({value:a,defaultValue:b,children:c}){let e=(0,z.rd)(),f=(0,k.usePathname)();return(0,d.jsx)(r,{value:a,defaultValue:b,onValueChange:a=>{let b=f.split("/");b[4]=a,e.replace("/"+b.filter(a=>a.length>0).join("/"))},children:c})}var B=c(90650);function C({version:a,versions:b}){let c=(0,B.c)("DocsVersionSelector");return(0,d.jsxs)(A,{value:a,defaultValue:l.j4,children:[(0,d.jsxs)(t,{className:"h-8 w-full justify-start rounded-sm border-none bg-transparent py-0 whitespace-nowrap hover:bg-secondary sm:h-7 sm:w-fit sm:max-w-32 sm:min-w-24 [&>span]:mr-auto [&>span]:block [&>span]:text-sm [&>span]:text-ellipsis [&>span]:sm:mr-0 [&>svg:last-child]:hidden",children:[(0,d.jsx)(y.A,{className:"mr-auto size-3.5 shrink-0 sm:mr-2.5"}),(0,d.jsx)(s,{placeholder:c("placeholder")})]}),(0,d.jsxs)(w,{children:[(0,d.jsx)(x,{value:l.j4,className:"py-1 [&>span]:text-sm",children:c("latest")}),b.map(a=>(0,d.jsx)(x,{value:a,className:"py-1 [&>span]:text-sm",children:a},a))]})]})}var D=c(99014),E=c(19222),F=c(94299);function G({children:a}){let[b,c]=(0,m.useState)(!1);return(0,k.usePathname)(),(0,d.jsxs)("div",{className:"pointer-events-auto! sm:hidden",children:[(0,d.jsx)(E.A,{active:b,setOpen:c}),(0,d.jsx)(F.A,{className:"top-nav-height-ext bg-primary-dim",isVisible:b,children:a})]})}var H=c(92053);function I({title:a,icon:b,path:c,disabled:f}){let g=(0,i.a8)(),h=(0,k.useParams)(),l=g.split("/"),m=4==l.length&&0==c.length||l.length>=5&&l[4]==c;return(0,d.jsx)(i.XO,{href:`/project/${h.slug}/${h.version}/${c}`,className:(0,j.cn)("w-full sm:w-fit",f&&"pointer-events-none"),children:(0,d.jsxs)(e.$,{variant:"ghost",size:"sm",className:(0,j.cn)("h-8! w-full rounded-sm px-2! sm:h-7! sm:w-fit",m&&"bg-secondary"),disabled:f,children:[(0,d.jsx)(b,{className:"mr-auto h-4 w-4 sm:mr-2"}),(0,d.jsx)("span",{className:"mr-auto text-sm sm:mr-0",children:a})]})})}function J({project:a,platformProject:b}){return(0,d.jsxs)("div",{className:"flex flex-row items-center gap-2 overflow-hidden",children:[(0,d.jsx)(H.default,{src:b.icon_url,alt:"Logo",className:"h-6 rounded-sm",width:24,height:24}),(0,d.jsx)("span",{className:"overflow-hidden text-base font-medium text-ellipsis whitespace-nowrap text-primary",children:a.name})]})}function K({project:a,platformProject:b}){return(0,d.jsxs)("div",{className:"flex flex-col items-center gap-2 overflow-hidden",children:[(0,d.jsx)("img",{src:b.icon_url,alt:"Logo",className:"mb-2 size-12 rounded-sm"}),(0,d.jsx)("span",{className:"overflow-hidden text-base font-medium text-ellipsis whitespace-nowrap text-primary",children:a.name}),(0,d.jsx)("blockquote",{className:"line-clamp-2 text-sm text-secondary",children:b.summary})]})}function L({project:a,locale:b,version:c}){let e=a.versions&&a.versions.length>0,i=a.locales&&a.locales.length>0;return(0,d.jsxs)("div",{className:"flex flex-col items-center gap-4 sm:flex-row sm:gap-2",children:[(0,d.jsx)(I,{title:"Home",icon:f.A,path:""}),(0,d.jsx)(I,{title:"Documentation",icon:g.A,path:"docs"}),a.info.content_count>0&&(0,d.jsx)(I,{title:"Content",icon:h.A,path:"content"}),(e||i)&&(0,d.jsxs)(d.Fragment,{children:[(0,d.jsx)("div",{className:"verticalSeparator hidden! sm:inline-flex!"}),(0,d.jsx)("hr",{className:"w-full border-tertiary sm:hidden"})]}),e&&(0,d.jsx)(C,{version:c,versions:a.versions}),i&&(0,d.jsx)(D.default,{locale:b,shownLocaleCodes:a.locales,minimal:!0})]})}function M({project:a,platformProject:b,locale:c,version:e}){return(0,d.jsx)("div",{className:"fixed left-0 z-40 w-full border-y border-tertiary border-t-tertiary-dim bg-primary-dim",children:(0,d.jsxs)("div",{className:"mx-auto flex w-full max-w-[120rem] flex-row items-center justify-between px-4 py-2 sm:py-1.5",children:[(0,d.jsx)(J,{project:a,platformProject:b}),(0,d.jsx)("div",{className:"hidden sm:block",children:(0,d.jsx)(L,{project:a,locale:c,version:e})}),(0,d.jsx)(G,{children:(0,d.jsxs)("div",{className:"flex flex-col gap-8",children:[(0,d.jsx)(K,{project:a,platformProject:b}),(0,d.jsx)(L,{project:a,locale:c,version:e})]})})]})})}function N({project:a,platformProject:b,locale:c,version:e,children:f}){return(0,d.jsxs)("div",{className:"flex flex-col gap-3",children:[(0,d.jsx)("div",{className:"h-subnav",children:(0,d.jsx)(M,{project:a,platformProject:b,locale:c,version:e})}),(0,d.jsx)("div",{className:"flex flex-1 flex-col items-center bg-primary text-primary",children:f})]})}},12461:(a,b,c)=>{"use strict";c.d(b,{default:()=>e});var d=c(9968);(0,d.registerClientReference)(function(){throw Error("Attempted to call LeftSidebarContext() from the server but LeftSidebarContext 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/docs/side/LeftSidebarContext.tsx","LeftSidebarContext");let e=(0,d.registerClientReference)(function(){throw Error("Attempted to call the default export of \"/home/runner/work/Wiki/Wiki/build/previewer/src/components/docs/side/LeftSidebarContext.tsx\" from the server, but it's on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/home/runner/work/Wiki/Wiki/build/previewer/src/components/docs/side/LeftSidebarContext.tsx","default")},17436:(a,b,c)=>{"use strict";c.r(b),c.d(b,{default:()=>d});let d=(0,c(9968).registerClientReference)(function(){throw Error("Attempted to call the default export of \"/home/runner/work/Wiki/Wiki/build/previewer/src/components/docs/shared/util/TooltipText.tsx\" from the server, but it's on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/home/runner/work/Wiki/Wiki/build/previewer/src/components/docs/shared/util/TooltipText.tsx","default")},20326:(a,b,c)=>{"use strict";c.d(b,{A:()=>h});var d=c(60492),e=c(97933),f=c(16860),g=c(13978);function h({href:a,target:b,local:c,className:h,children:i}){if(!a)return(0,d.jsx)("span",{className:h,children:i});let j=c?g.M:f.k;return(0,d.jsx)(j,{href:a,target:b,className:(0,e.cn)(h,"text-link decoration-1 underline-offset-4 hover:text-blue-400/80 hover:underline"),children:i})}},21736:(a,b,c)=>{"use strict";c.d(b,{default:()=>d});let d=(0,c(9968).registerClientReference)(function(){throw Error("Attempted to call the default export of \"/home/runner/work/Wiki/Wiki/build/previewer/src/components/util/ResponsiveTable.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/ResponsiveTable.tsx","default")},23796:(a,b,c)=>{"use strict";c.r(b),c.d(b,{default:()=>d});let d={src:"/_next/static/media/crafting_background.158942b1.png",height:136,width:260,blurDataURL:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAECAMAAACEE47CAAAAGFBMVEWampqnp6eioqLKysqLi4uSkpK+vr64uLgHQ3rrAAAAA3RSTlP+/v6VFoksAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAJElEQVR4nCXGsQEAMAzCMBNI+P/jDtUkBmRbkIy7+TkBu9MeDwXFAF/HY1pFAAAAAElFTkSuQmCC",blurWidth:8,blurHeight:4}},24641:(a,b,c)=>{"use strict";c.d(b,{CopyButton:()=>l});var d=c(67258),e=c(81948),f=c(5075),g=c(83459),h=c(46763),i=c(42525),j=c(46721),k=c(90650);function l({text:a,showToast:b,className:c}){let[l,m]=(0,g.useState)(!1),n=(0,k.c)("CopyButton");return(0,d.jsx)(i.$,{variant:"ghost",size:"icon",className:(0,h.cn)("text-secondary-alt opacity-0 transition-opacity duration-200 ease-in-out group-hover:opacity-100 hover:bg-gray-400/10 [&>svg]:animate-in [&>svg]:fade-in [&>svg]:fade-out",c),"aria-label":"Copy to clipboard",onClick:()=>{navigator.clipboard.writeText(a),m(!0),setTimeout(()=>m(!1),2e3),b&&j.oR.success(n("copied"))},children:l?(0,d.jsx)(e.A,{size:16}):(0,d.jsx)(f.A,{size:16})})}},25970:(a,b,c)=>{"use strict";c.d(b,{default:()=>d});let d=(0,c(9968).registerClientReference)(function(){throw Error("Attempted to call the default export of \"/home/runner/work/Wiki/Wiki/build/previewer/src/components/docs/shared/VideoEmbedPlaceholder.tsx\" from the server, but it's on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/home/runner/work/Wiki/Wiki/build/previewer/src/components/docs/shared/VideoEmbedPlaceholder.tsx","default")},26712:(a,b,c)=>{"use strict";c.d(b,{default:()=>g});var d=c(67258),e=c(42306);c(83459);var f=c(46763);function g({className:a,active:b,animate:c=!0}){return(0,d.jsx)(e.A,{className:(0,f.cn)(a,"shrink-0 data-[rotate=true]:rotate-180",c&&"transition-transform duration-200"),"data-rotate":b?"true":"false"})}},27152:(a,b,c)=>{"use strict";c.d(b,{default:()=>d});let d=(0,c(9968).registerClientReference)(function(){throw Error("Attempted to call the default export of \"/home/runner/work/Wiki/Wiki/build/previewer/src/components/docs/shared/asset/AssetDisplay.tsx\" from the server, but it's on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/home/runner/work/Wiki/Wiki/build/previewer/src/components/docs/shared/asset/AssetDisplay.tsx","default")},32330:(a,b,c)=>{"use strict";c.d(b,{default:()=>g});var d=c(67258),e=c(83459),f=c(90650);function g({limit:a,content:b}){let c=(0,f.c)("UsageContentList"),[g,h]=(0,e.useState)(!1);return(0,d.jsxs)("ul",{className:"mt-0",children:[g?b:b.slice(0,Math.min(a,b.length)),!g&&b.length>a&&(0,d.jsx)("li",{className:"text-secondary",children:(0,d.jsx)("button",{className:"decoration-1 underline-offset-4 hover:underline",onClick:()=>h(!0),children:c("more")})})]})}},35006:(a,b,c)=>{"use strict";c.r(b),c.d(b,{default:()=>h});var d=c(67258),e=c(80756),f=c(46763),g=c(51534);function h({hint:a,children:b}){return(0,d.jsxs)("span",{className:"inline-block",children:[(0,d.jsx)("span",{className:"sm:hidden",children:(0,d.jsxs)(g.AM,{children:[(0,d.jsx)(g.Wv,{className:(0,f.cn)("underline decoration-dotted decoration-2 underline-offset-2"),children:b}),(0,d.jsx)(g.hl,{side:"top",className:(0,f.cn)("slim-scrollbar max-h-56 max-w-[min(32rem,var(--radix-popper-available-width))]","animate-none! overflow-y-auto px-3 py-1.5 text-sm break-words whitespace-normal"),children:a})]})}),(0,d.jsx)("span",{className:"hidden sm:block",children:(0,d.jsx)(e.TooltipProvider,{delayDuration:200,children:(0,d.jsxs)(e.Tooltip,{children:[(0,d.jsx)(e.TooltipTrigger,{className:(0,f.cn)("cursor-help underline decoration-dotted decoration-2 underline-offset-2 select-text"),children:b}),(0,d.jsx)(e.TooltipContent,{side:"top",className:(0,f.cn)("slim-scrollbar max-h-56 max-w-[min(32rem,var(--radix-popper-available-width))] animate-none!","overflow-y-auto px-3 py-1.5 text-sm break-words whitespace-normal"),children:a})]})})})]})}},36275:(a,b,c)=>{"use strict";c.d(b,{default:()=>e});var d=c(9968);(0,d.registerClientReference)(function(){throw Error("Attempted to call DocsSidebarContext() from the server but DocsSidebarContext 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/docs/side/DocsSidebarContext.tsx","DocsSidebarContext");let e=(0,d.registerClientReference)(function(){throw Error("Attempted to call the default export of \"/home/runner/work/Wiki/Wiki/build/previewer/src/components/docs/side/DocsSidebarContext.tsx\" from the server, but it's on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/home/runner/work/Wiki/Wiki/build/previewer/src/components/docs/side/DocsSidebarContext.tsx","default")},41049:(a,b,c)=>{"use strict";c.r(b),c.d(b,{Tabs:()=>h,TabsContent:()=>k,TabsList:()=>i,TabsTrigger:()=>j});var d=c(67258),e=c(83459),f=c(50182),g=c(46763);let h=f.bL,i=e.forwardRef(({className:a,...b},c)=>(0,d.jsx)(f.B8,{ref:c,className:(0,g.cn)("bg-primary-alt inline-flex h-10 items-center justify-center rounded-md p-1 text-secondary",a),...b}));i.displayName=f.B8.displayName;let j=e.forwardRef(({className:a,...b},c)=>(0,d.jsx)(f.l9,{ref:c,className:(0,g.cn)("inline-flex items-center justify-center rounded-xs px-3 py-1.5 text-sm font-medium whitespace-nowrap ring-offset-background transition-all focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 focus-visible:outline-hidden disabled:pointer-events-none disabled:opacity-50 data-[state=active]:bg-primary data-[state=active]:text-primary data-[state=active]:shadow-xs",a),...b}));j.displayName=f.l9.displayName;let k=e.forwardRef(({className:a,...b},c)=>(0,d.jsx)(f.UC,{ref:c,className:(0,g.cn)("mt-2 ring-offset-background focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 focus-visible:outline-hidden",a),...b}));k.displayName=f.UC.displayName},43956:(a,b,c)=>{"use strict";c.d(b,{default:()=>e});var d=c(9968);(0,d.registerClientReference)(function(){throw Error("Attempted to call HoverContext() from the server but HoverContext 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/HoverContextProvider.tsx","HoverContext");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/HoverContextProvider.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/HoverContextProvider.tsx","default")},45312:(a,b,c)=>{"use strict";c.d(b,{CJ:()=>j,M$:()=>k,MZ:()=>f,_s:()=>g,nm:()=>e,sw:()=>h});var d=c(19660);function e(a,b,c){let d=b[c];if(d){let b=d.options??"";if("vanilla"==d.type)return{title:d.title,url:j(d.ref)+b};if("docs"==d.type)return{title:d.title,url:k(d.ref,a)+b};if("content"==d.type)return{title:d.title,url:h(d.ref,a)+b}}return null}function f(a,b){return i(b.id)??(null!=b.page_ref?h(b.page_ref,a):null)}function g(a,b){let c="slug"in a?a.slug:a.id;return i(b)??`/${a.locale}/project/${c}/${a.version}/content/${b.includes("/")?encodeURIComponent(b):b}`}function h(a,b){let c="slug"in b?b.slug:b.id;return`/${b.locale}/project/${c}/${b.version}/content/${a}`}function i(a){let b=d.A.parse(a);return b?.namespace===d.o&&a.startsWith(d.o+":")?`https://minecraft.wiki/w/${b.path}`:null}function j(a){return`https://minecraft.wiki/w/${a}`}function k(a,b){return`/${b.locale}/project/${b.id}/${b.version}/docs/${a}`}},47729:(a,b,c)=>{"use strict";c.d(b,{default:()=>d});let d=(0,c(9968).registerClientReference)(function(){throw Error("Attempted to call the default export of \"/home/runner/work/Wiki/Wiki/build/previewer/src/app/[locale]/(main)/LocalWatcher.tsx\" from the server, but it's on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/home/runner/work/Wiki/Wiki/build/previewer/src/app/[locale]/(main)/LocalWatcher.tsx","default")},51391:(a,b,c)=>{"use strict";c.d(b,{CopyButton:()=>d});let d=(0,c(9968).registerClientReference)(function(){throw Error("Attempted to call CopyButton() from the server but CopyButton 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/button/CopyButton.tsx","CopyButton")},51660:(a,b,c)=>{"use strict";c.d(b,{default:()=>l});var d=c(67258),e=c(4323),f=c(42525),g=c(46763),h=c(83459),i=c(90433),j=c(27501),k=c(90650);function l({id:a,children:b}){let c=(0,k.c)("VideoEmbedPlaceholder"),l=(0,h.useContext)(i.ww);if(!l||!l.enableCookieManagement||l?.hasConsentToEmbeddedVideos)return b;let m=a&&a.includes("?")?a.split("?")[0]:a,n=`https://img.youtube.com/vi/${a}/maxresdefault.jpg`;return(0,d.jsxs)("div",{className:(0,g.cn)("video-embed relative flex rounded-sm border border-tertiary bg-primary-alt text-center"),children:[(0,d.jsx)("img",{src:n,alt:"thumbnail",width:560}),(0,d.jsxs)("div",{className:"absolute-center flex h-full w-full flex-col items-center justify-center gap-5 bg-primary/80",children:[(0,d.jsx)(e.A,{className:"size-12 text-secondary-alt",strokeWidth:1.5}),(0,d.jsx)("div",{className:"text-xl",children:(0,d.jsxs)("div",{className:"flex flex-col gap-1",children:[(0,d.jsx)("span",{children:c("title")}),(0,d.jsx)("span",{className:"text-sm text-secondary",children:c("description")})]})}),(0,d.jsxs)("div",{className:"mt-2 flex flex-row flex-wrap justify-center gap-3",children:[(0,d.jsx)(f.$,{onClick:()=>void j.gB(i.YE,i.GL),children:c("accept")}),m&&(0,d.jsx)("a",{href:`https://www.youtube.com/watch?v=${m}`,target:"_blank",rel:"noreferrer",children:(0,d.jsx)(f.$,{variant:"outline",children:c("watch")})})]})]})]})}},53784:(a,b,c)=>{"use strict";c.r(b),c.d(b,{default:()=>h});var d=c(60492),e=c(19061),f=c(46662),g=c(47729);function h(a){let b=(0,e.use)(a.params),{children:c}=a;return(0,f.GE)(b.locale),(0,d.jsxs)("div",{className:"page-wrapper-base mx-4 flex min-h-screen flex-col sm:mx-2",children:[(0,d.jsx)(g.default,{}),c]})}},57614:(a,b,c)=>{Promise.resolve().then(c.bind(c,99887)),Promise.resolve().then(c.bind(c,57640)),Promise.resolve().then(c.bind(c,62800)),Promise.resolve().then(c.bind(c,96172)),Promise.resolve().then(c.bind(c,15042)),Promise.resolve().then(c.t.bind(c,8591,23)),Promise.resolve().then(c.t.bind(c,81138,23)),Promise.resolve().then(c.bind(c,23796)),Promise.resolve().then(c.bind(c,99040)),Promise.resolve().then(c.bind(c,88703)),Promise.resolve().then(c.bind(c,27152)),Promise.resolve().then(c.bind(c,72357)),Promise.resolve().then(c.bind(c,58563)),Promise.resolve().then(c.bind(c,5404)),Promise.resolve().then(c.bind(c,17436)),Promise.resolve().then(c.bind(c,25970)),Promise.resolve().then(c.bind(c,36275)),Promise.resolve().then(c.bind(c,12461)),Promise.resolve().then(c.bind(c,60227)),Promise.resolve().then(c.bind(c,43956)),Promise.resolve().then(c.bind(c,21736)),Promise.resolve().then(c.bind(c,51391)),Promise.resolve().then(c.bind(c,68711)),Promise.resolve().then(c.bind(c,98978))},58563:(a,b,c)=>{"use strict";c.r(b),c.d(b,{default:()=>d});let d=(0,c(9968).registerClientReference)(function(){throw Error("Attempted to call the default export of \"/home/runner/work/Wiki/Wiki/build/previewer/src/components/docs/shared/game/RotatingItemDisplaySlot.tsx\" from the server, but it's on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/home/runner/work/Wiki/Wiki/build/previewer/src/components/docs/shared/game/RotatingItemDisplaySlot.tsx","default")},60180:(a,b,c)=>{"use strict";c.r(b),c.d(b,{default:()=>d});let d={src:"/_next/static/media/crafting_background.158942b1.png",height:136,width:260,blurDataURL:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAECAMAAACEE47CAAAAGFBMVEWampqnp6eioqLKysqLi4uSkpK+vr64uLgHQ3rrAAAAA3RSTlP+/v6VFoksAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAJElEQVR4nCXGsQEAMAzCMBNI+P/jDtUkBmRbkIy7+TkBu9MeDwXFAF/HY1pFAAAAAElFTkSuQmCC",blurWidth:8,blurHeight:4}},60227:(a,b,c)=>{"use strict";c.d(b,{default:()=>d});let d=(0,c(9968).registerClientReference)(function(){throw Error("Attempted to call the default export of \"/home/runner/work/Wiki/Wiki/build/previewer/src/components/navigation/search/LocalSearchSetter.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/LocalSearchSetter.tsx","default")},60765:(a,b,c)=>{"use strict";c.r(b),c.d(b,{default:()=>g});var d=c(67258),e=c(11284),f=c(46763);function g(a){let b=a.id;return(0,d.jsxs)("h2",{...a,className:void 0,className:(0,f.cn)(a.className,"group"),children:[a.children,b&&(0,d.jsx)("a",{href:`#${b}`,className:"inline-block pl-2 opacity-0 transition-opacity duration-200 group-hover:opacity-100 hover:opacity-100",children:(0,d.jsx)(e.A,{className:"h-5 w-5 text-primary"})})]})}},61237:(a,b,c)=>{"use strict";c.d(b,{A:()=>a5});var d=c(79321),e=c(19660),f=c(69053),g=c(37474);c(37810);let h={searchProjects:async function a(a){return f.A.resolveApiCall(()=>f.A.sendSimpleRequest("browse",{parameters:a,userAuth:!1,cache:{tags:["search-projects"],revalidate:15*g.kB.ONE_MINUTE}}))}};var i=c(67023),j=c(80086),k=c(41133);let l={getAssetResource:function(a){let b=k.A.getAssetsBaseURL()??k.A.getBuiltinAssetSource();if(!b)return null;let c=new URL(b);c.pathname+="/.assets/"+a.namespace+"/"+a.path+(a.path.includes(".")?"":j.h);let d=(0,i.A)(c.toString());return null===d?null:{id:e.A.toString(a),src:d}}};var m=c(12170);let n={getBuiltinAsset:function(a,b,c){if(!c||b.namespace===e.o){let b=a.includes("/")?a:function(a){let b=e.A.parse(a);return b?e.A.toString({namespace:b.namespace,path:"item/"+b.path}):a}(a),c=e.A.parse(b);return c?l.getAssetResource(c):null}return null},getRemoteAssetURL:function(a,{id:b,version:c}){let d=m.A.constructAssetsUrl(`docs/${b}/asset/${a}`,{version:c});return{id:a,src:d}},getRemoteItemAssetURL:function(a,{id:b,version:c}){let d=m.A.constructAssetsUrl(`docs/${b}/asset-item/${a}`,{version:c});return{id:a,src:d}}};async function o(a,b,c,d){return f.A.sendSimpleRequest(b,{parameters:c,cache:{tags:[`backend:${a}`]},...d})}async function p(a){let b=await f.A.resolveApiCall(a);return!b.success||null==b.data||"error"in b.data?null:b.data}let q={getBackendLayout:async function({id:a,version:b,locale:c}){return p(()=>o(a,`docs/${a}/tree`,{version:b,locale:c}))},getAsset:async function(a,b){return n.getRemoteAssetURL(e.A.toString(a),b)},getItemAsset:async function(a,b){return n.getRemoteItemAssetURL(e.A.toString(a),b)},getDocsPage:async function(a,b,{id:c,version:e,locale:f}){return await p(()=>o(c,`docs/${c}/page/${(0,d.U)(a)}`,{version:e,locale:f,optional:b?"true":null},{cache:!1}))},getDocsIndexPage:async function({id:a,version:b,locale:c}){return await p(()=>o(a,`docs/${a}/index`,{version:b,locale:c},{cache:!1}))},getProject:async function({id:a,version:b}){return p(()=>o(a,`docs/${a}`,{version:b}))},searchProjects:async function(a,b,c,d){let e=await h.searchProjects({query:a,page:b.toString(),types:c,sort:d});return e.success?e.data:null},getProjectRecipe:async function(a,{id:b,version:c,locale:d}){return p(()=>o(b,`content/${b}/recipe/${a}`,{version:c,locale:d}))},getProjectContents:async function({id:a,version:b,locale:c}){return p(()=>o(a,`content/${a}`,{version:b,locale:c},{cache:!1}))},getProjectContentPage:async function(a,{id:b,version:c,locale:d}){return p(()=>o(b,`content/${b}/page/${a}`,{version:c,locale:d},{cache:!1}))},getContentRecipeUsage:async function(a,{id:b,version:c,locale:d}){return p(()=>o(b,`content/${b}/page/${a}/usage`,{version:c,locale:d},{cache:!1}))},getContentRecipeObtaining:async function(a,{id:b,version:c,locale:d}){return p(()=>o(b,`content/${b}/page/${a}/recipes`,{version:c,locale:d},{cache:!1}))},getRecipeType:async function(a,{id:b,version:c,locale:d}){let f=e.A.parse(a)?.namespace==e.o?e.o:b;return p(()=>o(f,`content/${f}/recipe-type/${a}`,{version:c,locale:d}))}};var r=c(72473),s=c(52313),t=c(60492),u=c(88703),v=c(61410),w=c(5404),x=c(20326),y=c(45312),z=c(50691),A=c(89019),B=c(72357);async function C({location:a,...b}){return(0,t.jsx)(A.A,{display:({asset:a})=>(0,t.jsx)(B.default,{asset:a,...b}),location:a,item:!0,...b})}var D=c(98312),E=c(83739),F=c(76947);function G(){let a=(0,E.A)("InteractiveComponentPlaceholder");return(0,t.jsxs)("div",{className:"flex h-64 flex-col items-center justify-center gap-3 rounded-sm border border-tertiary bg-primary-dim",children:[(0,t.jsxs)("span",{className:"flex flex-row items-center gap-2 text-xl opacity-70",children:[(0,t.jsx)(F.A,{className:"size-6"}),a("title")]}),(0,t.jsx)("span",{className:"max-w-md text-center text-secondary opacity-70",children:a("desc")})]})}async function H(a,b){return I({...b,ctx:a})}async function I({id:a,ctx:b}){let c=await (0,v.A)("RecipeUsage");if(D.A.isPreview())return(0,t.jsx)(G,{});let d=await a5.getContentRecipeUsage(a,b);if(!d)return null;let e=d.sort((a,b)=>a.name&&b.name?a.name.localeCompare(b.name):0).map(a=>(0,t.jsx)("li",{className:"first:mt-0",children:(0,t.jsxs)(({children:c})=>null!=a.page_ref?(0,t.jsx)(x.A,{href:(0,y.MZ)(b,a),children:c}):(0,t.jsx)("div",{children:c}),{children:[(0,t.jsx)("div",{className:"inline-flex",children:(0,t.jsx)(C,{location:a.id,ctx:b,className:"mr-1.5!"})}),(0,t.jsx)("span",{children:a.name||a.id})]})},a.id));return(0,t.jsxs)("div",{className:"flex flex-col gap-3",children:[(0,t.jsx)("span",{children:c(e.length>0?"description":"empty")}),(0,t.jsx)("div",{className:"columns-[20em]",children:(0,t.jsx)(z.A,{keys:["UsageContentList"],children:(0,t.jsx)(w.default,{limit:12,content:e})})})]})}async function J(a){return K({ctx:a})}async function K({ctx:a}){let b=await (0,v.A)("PrefabUsage");return(0,t.jsxs)("div",{children:[(0,t.jsx)(u.default,{id:"usage",children:b("usage")}),D.A.isPreview()?(0,t.jsx)(G,{}):"contentId"in a&&(0,t.jsx)(I,{id:a.contentId,ctx:a})]})}var L=c(77403),M=c(23796);async function N(a,b){return O({...b,ctx:a})}async function O({ctx:a,slots:b,result:c,count:d}){let e=b.slice(0,Math.min(b.length,9)),f=await Promise.all(e.map(async b=>null===b?null:a5.getItemAsset(b,a))),g=await a5.getItemAsset(c,a);return(0,t.jsxs)("div",{className:"relative",children:[(0,t.jsx)(L.default,{className:"sharpRendering",unoptimized:!0,priority:!0,src:M.default,alt:"background",width:260,height:136}),(0,t.jsx)("div",{className:"absolute top-4 left-4 grid grid-cols-3 gap-1",children:f.map((a,b)=>null!==a?(0,t.jsx)(B.default,{asset:a},b):(0,t.jsx)("div",{},b))}),g&&(0,t.jsx)("div",{className:"absolute top-[42px] left-[194px] flex h-[52px] w-[52px] items-center justify-center",children:(0,t.jsxs)("div",{className:"relative -m-0.5 flex h-[36px] w-[36px] items-center justify-center p-0.5",children:[(0,t.jsx)("div",{children:(0,t.jsx)(B.default,{asset:g})}),d&&d>1&&(0,t.jsx)("span",{className:"sharpRendering absolute right-0 bottom-0 z-10 text-left text-base leading-1 text-white",style:{fontFamily:"Minecraft, sans-serif",textShadow:"2px 2px 0 #3F3F3F"},children:d})]})})]})}var P=c(58563),Q=c(97933),R=c(16860);function S({tag:a,count:b,item:c,ctx:d}){let f=(0,y.MZ)(d,c),g=null!=f?R.k:"div";return(0,t.jsxs)("div",{className:"inline-flex items-center",children:[(0,t.jsxs)("span",{children:[b,"x"]}),(0,t.jsxs)(g,{href:f,className:"inline-flex items-center",children:[(0,t.jsx)("div",{className:"mx-1",children:(0,t.jsx)(P.default,{noTooltip:!0,noLink:!0,src:[c],tag:a})}),(0,t.jsx)("span",{className:(0,Q.cn)("font-medium text-ellipsis text-primary-alt",f&&"underline"),children:c.name||(0,t.jsx)("span",{className:"block max-w-[8rem] overflow-hidden text-ellipsis",children:e.A.extractPath(c.id)})})]})]})}var T=c(21736),U=c(43956);let V={getRecipeTypeName:async function(a){let b=e.A.parse(a);return b&&b.namespace==e.o?(await (0,v.A)("BuiltinRecipeTypes"))(b.path):null}};async function W(a){let b=await a5.getItemAsset(a.id,{id:a.project});return b?{...a,asset:b}:{...a,asset:{id:a.id,src:"nonexistent"}}}async function X(a){return Promise.all(a.map(W))}function Y(a,b,c,d){return`${a}-${b}-${c}-${d?"in":"out"}`}async function Z({recipe:a,type:b,ctx:c}){let d=await a5.getAsset(b.background,c);d||console.warn(`Missing background for recipe type ${b.id}: ${b.background}`);let e=(c,d)=>{let e=(d?b.input_slots:b.output_slots)[c];return e||console.error(`Missing recipe slot for recipe "${a.id}", key "${c}", input: ${d}`),e};return(0,t.jsx)(U.default,{children:(0,t.jsxs)("div",{className:"relative shrink-0",children:[(0,t.jsx)("img",{src:d?.src,alt:d?.id,className:"sharpRendering min-w-fit shrink-0"}),...a.inputs.map(async(b,d)=>{let f=e(b.slot,!0);if(!f)return null;let g=await X(b.items);return(0,t.jsx)(P.default,{src:g,className:"absolute flex shrink-0",ctx:c,style:{left:`${f.x}px`,top:`${f.y}px`},tag:b.tag},Y(a.id,b.slot,d,!0))}),...a.outputs.map(async(b,d)=>{let f=e(b.slot,!1);if(!f)return null;let g=await X(b.items);return(0,t.jsx)(P.default,{src:g,className:"absolute flex shrink-0",count:b.count,ctx:c,style:{left:`${f.x}px`,top:`${f.y}px`},tag:b.tag},Y(a.id,b.slot,d,!1))})]})})}async function $({workbenches:a,ctx:b}){let c=await (0,v.A)("ResolvedProjectRecipe");return(0,t.jsxs)("div",{className:"px-2 py-1",children:[(0,t.jsx)("span",{className:"text-xsm text-secondary",children:c("workbenches")}),(0,t.jsxs)("div",{className:"flex flex-row flex-wrap gap-2 p-2",children:[...a.map(async a=>{let c=await W(a);return(0,t.jsx)(P.default,{src:[c],ctx:b},a.id)})]})]})}async function _({recipe:a,embedded:b,ctx:c}){let d=await (0,v.A)("ResolvedProjectRecipe");if(D.A.isPreview())return(0,t.jsx)(G,{});let e=await a5.getRecipeType(a.type,c);if(!e)return null;let f=a.summary.inputs,g=a.summary.outputs,h=e.type.localized_name||await V.getRecipeTypeName(e.type.id);return(0,t.jsx)("div",{className:"clear-both space-y-2! [&>table]:mt-0",children:(0,t.jsx)(z.A,{keys:["ResponsiveTable"],children:(0,t.jsx)(T.default,{embedded:b,expandedBody:e.workbenches.length>0&&(0,t.jsx)("div",{children:(0,t.jsx)($,{workbenches:e.workbenches,ctx:c})}),columns:[{key:"type",label:d("type")},{key:"input",label:d("input")},{key:"output",label:d("output")},{key:"preview",label:d("preview")}],rows:[{type:{className:"align-middle whitespace-nowrap",data:(0,t.jsx)("div",{className:"p-1.5 text-center sm:p-0",children:h})},input:{className:"align-top",data:(0,t.jsx)("ul",{className:"w-max pl-4",children:f.sort((a,b)=>b.count-a.count).map(async({count:a,item:b,tag:d},e)=>(0,t.jsx)("li",{children:(0,t.jsx)(S,{tag:d,count:a,item:await W(b),ctx:c})},e))})},output:{className:"align-top",data:(0,t.jsx)("ul",{className:"w-max max-w-60 pl-4",children:g.sort((a,b)=>b.count-a.count).map(async({count:a,item:b,tag:d},e)=>(0,t.jsx)("li",{children:(0,t.jsx)(S,{tag:d,count:a,item:await W(b),ctx:c})},e))})},preview:{data:(0,t.jsx)("div",{className:"my-2 w-max p-2 sm:p-0",children:(0,t.jsx)(Z,{recipe:a,type:e.type,ctx:c})})}}]})})})}async function aa(a,b){return ab({...b,ctx:a})}async function ab({id:a,ctx:b}){let c=await a5.getProjectRecipe(a,b);return c?(0,t.jsx)(_,{recipe:c,ctx:b}):null}async function ac(a){return"contentId"in a?ad({ctx:a}):null}async function ad({ctx:a}){let b=await (0,v.A)("PrefabObtaining"),c=await a5.getContentRecipeObtaining(a.contentId,a);return(0,t.jsxs)("div",{children:[(0,t.jsx)(u.default,{id:"recipe",className:"clear-both",children:b("recipe")}),D.A.isPreview()?(0,t.jsx)(G,{}):c?.map(b=>(0,t.jsx)("div",{children:(0,t.jsx)(_,{recipe:b,ctx:a})},b.id))]})}var ae=c(19061);let af=(0,c(5591).F)("relative w-full rounded-sm border p-3 [&>svg]:absolute [&>svg]:top-3 [&>svg]:left-3 [&>svg]:text-primary [&>svg]:rtl:right-3 [&>svg+div]:translate-y-[-3px] [&>svg~*]:pl-7 [&>svg~*]:rtl:pr-7",{variants:{variant:{note:"border-blue-400/50 text-blue-300/90 [&>svg]:text-blue-300",tip:"border-green-300/50 text-green-300/85 [&>svg]:text-green-300/90",important:"border-purple-400/50 text-purple-300/90 [&>svg]:text-purple-300",warning:"border-warning text-warning [&>svg]:text-warning",caution:"border-red-400/50 text-red-300/90 [&>svg]:text-red-300"}},defaultVariants:{variant:"note"}}),ag=ae.forwardRef(({className:a,variant:b,...c},d)=>(0,t.jsx)("div",{ref:d,role:"alert",className:(0,Q.cn)(af({variant:b}),a),...c}));ag.displayName="Alert";let ah=ae.forwardRef(({className:a,...b},c)=>(0,t.jsx)("h5",{ref:c,className:(0,Q.cn)("mb-2 leading-none font-medium tracking-tight",a),...b}));ah.displayName="AlertTitle";let ai=ae.forwardRef(({className:a,...b},c)=>(0,t.jsx)("div",{ref:c,className:(0,Q.cn)("text-sm [&_p]:leading-relaxed",a),...b}));ai.displayName="AlertDescription";var aj=c(995),ak=c(62098),al=c(39447),am=c(54682),an=c(81390),ao=c(98978);let ap={warning:aj.A,note:ak.A,tip:al.A,important:am.A,caution:an.A},aq={default:"tip",info:"note",warning:"warning",danger:"caution",note:"note",tip:"tip",important:"important",caution:"caution"};function ar({variant:a="tip",title:b,collapsible:c,collapsed:d,children:e}){let f=(0,E.A)("Callout"),g=aq[a]||"tip",h=ap[g]||ap.tip,i=c?"details":"div",j=c?"summary":"div";return(0,t.jsxs)(ag,{className:"not-prose my-4 flow-root w-auto bg-primary-alt/80 py-1",variant:g,children:[(0,t.jsx)(h,{className:"size-4"}),(0,t.jsxs)(i,{className:"group w-full translate-y-0!",open:!c||!d,children:[(0,t.jsxs)(j,{className:(0,Q.cn)("flex flex-row items-center justify-between py-2",c&&"cursor-pointer list-none [&::-webkit-details-marker]:hidden"),children:[(0,t.jsx)(ah,{className:"mb-0",children:b||f(g)}),c&&(0,t.jsx)(ao.default,{className:"size-4 group-open:rotate-180",animate:!1})]}),(0,t.jsx)(ai,{className:"col-start-auto mb-2 [&_a]:underline [&_a]:underline-offset-2",children:e})]})]})}var as=c(71864),at=c(56692),au=c(48098),av=c(51391);async function aw({codeblock:a}){let b=await (0,at.Z)(a,"github-dark"),c=function(a){if(a.length>0){let b=RegExp('title="(?<file>.*)"').exec(a);return b?.groups?.file??a}return null}(b.meta);return(0,t.jsxs)("div",{className:"group relative rounded-sm",children:[(0,t.jsx)("div",{className:(0,Q.cn)("absolute",null==c?"top-1.5 right-1.5 p-1.5":"top-8 right-1 p-1"),children:(0,t.jsx)(z.A,{keys:["CopyButton"],children:(0,t.jsx)(av.CopyButton,{text:b.code})})}),c&&(0,t.jsx)("div",{className:"bg-code-alt text-secondary-alt rounded-sm rounded-b-none px-2.5 py-1.5 font-mono text-sm",children:c}),(0,t.jsx)(au.A,{className:(0,Q.cn)("m-0! rounded-sm",null!==c&&"rounded-t-none"),code:b})]})}var ax=c(34118),ay=c(75068),az=c(68711),aA=c(34051);let aB=ax.eB.extend({tabs:ay.YO(ax.NG)});async function aC(a){let{tabs:b}=(0,ax.qX)(a,aB);return(0,t.jsx)(aD,{tabs:b})}async function aD(a){let{tabs:b}=a,c=await Promise.all(b.map(a=>(0,at.Z)(a,aA.A)));return(0,t.jsxs)(az.Tabs,{defaultValue:b[0]?.meta,children:[(0,t.jsx)(az.TabsList,{className:"bg-code-alt w-full justify-start rounded-b-none",children:b.map(a=>(0,t.jsx)(az.TabsTrigger,{value:a.meta,className:"data-[state=active]:bg-code-tab-active px-2 py-1.5 text-sm",children:a.meta},a.meta))}),b.map((a,b)=>(0,t.jsx)(az.TabsContent,{value:a.meta,className:"mt-0!",children:(0,t.jsx)(au.A,{code:c[b],className:"m-0! rounded-t-none"})},a.meta))]})}function aE(a,b){var c={...b,ctx:a};let{path:d,ctx:e}=c,f=(0,y.M$)(d,e);return(0,t.jsx)(x.A,{...c,href:f})}function aF(a,b){var c={...b,ctx:a};if(c.src&&"string"==typeof c.src&&c.src.startsWith("@")){let a=c.src.substring(1);return delete c.src,(0,t.jsx)(as.A,{...c,ctx:c.ctx,location:a})}return(0,t.jsx)("img",{...c})}var aG=c(25970);function aH({id:a}){let b=`https://www.youtube-nocookie.com/embed/${a}`;return(0,t.jsx)(z.A,{keys:["VideoEmbedPlaceholder"],children:(0,t.jsx)(aG.default,{id:a,children:(0,t.jsx)("iframe",{className:"video-embed",src:b,title:"YouTube video player",frameBorder:"0",allow:"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share",referrerPolicy:"strict-origin-when-cross-origin",allowFullScreen:!0})})})}function aI(a,b,c){return function({ctx:a,links:b,...c}){let d=(0,E.A)("ExtendedLink"),e=null;return c.href&&"string"==typeof c.href&&!(e=(0,y.nm)(a,b,c.href))&&(c.href.startsWith("@")||c.href.startsWith("$")||c.href.startsWith("+"))?(0,t.jsx)("span",{className:"text-destructive",children:c.children??d("not_found")}):(0,t.jsx)(x.A,{...c,href:e?.url??c.href,children:c.children??e?.title??"(not found)"})}({...c,ctx:a,links:b})}async function aJ(a,b){return aK({...b,ctx:a})}async function aK(a){let{ctx:b}=a,c=(0,y._s)({slug:b.id,version:b.version||g.j4,locale:b.locale||g.Xn},a.id);return(0,t.jsx)(x.A,{...a,href:c})}async function aL(a,b){return aM({...b,ctx:a})}async function aM({src:a,ctx:b,...c}){let d=await a5.getAsset(a,b);return d?(0,t.jsx)("audio",{...c,src:d.src}):null}var aN=c(17436);let aO=[s.Os,{isAvailable:()=>null!=process.env.NEXT_PUBLIC_BACKEND_SERVICE_URL,create:()=>q}];function aP(a){return(...b)=>aQ(c=>a(c,...b))}async function aQ(a){for(let b of aO.filter(a=>a.isAvailable()).map(a=>a.create())){let c=a(b),d=await c;if(d)return d}return null}let aR=aP((a,b)=>a.getProject(b)),aS=aP((a,b)=>a.getBackendLayout(b));async function aT(a,b){let c=e.A.parse(a);if(!c)return null;let d=n.getBuiltinAsset(a,c,b);return null!=d?d:null==b?null:aQ(a=>a.getAsset(c,b))}async function aU(a,b){let c=e.A.parse(a);if(!c)return null;let d=n.getBuiltinAsset(a,c,b);return null!=d?d:null==b?null:aQ(a=>a.getItemAsset(c,b))}let aV=aP((a,b,c,d)=>a.getDocsPage(b,c||!1,d)),aW=aP((a,b)=>a.getDocsIndexPage(b));async function aX(a,b,c,d){return a2(await aV(a,b,c)||null,c,d)}async function aY(a,b){return a2(await aW(a)||null,a,b)}let aZ=aP((a,b,c,d,e)=>a.searchProjects(b,c,d,e)),a$=aP((a,b)=>a.getProjectContents(b)),a_=aP((a,b,c)=>a.getProjectContentPage(b,c)),a0=aP((a,b,c)=>a.getContentRecipeObtaining(b,c)),a1=aP((a,b,c)=>a.getContentRecipeUsage(b,c));async function a2(a,b,c){if(a){let d=await a4(a.content,a.links,!1,b,c);return{frontmatter:a.frontmatter,content:d,edit_url:a.edit_url,properties:a.properties,links:a.links}}return null}async function a3(a,b,c){return await a4(a,c,!0,b)}async function a4(a,b,c,d,e){let f={Asset:as.u.bind(null,d),Audio:aL.bind(null,d),CraftingRecipe:N.bind(null,d),ProjectRecipe:aa.bind(null,d),RecipeUsage:H.bind(null,d),h2:u.default,a:aI.bind(null,d,b),img:aF.bind(null,d),Callout:ar,CodeHikeCode:aw,CodeTabs:aC,VideoEmbed:aH,hint:aN.default,ModAsset:as.u.bind(null,d),ContentLink:aJ.bind(null,d),DocsLink:aE.bind(null,d)};return await r.A.renderDocumentationMarkdown(a,f,c,e)}let a5={getProject:aR,getBackendLayout:aS,getAsset:aT,getItemAsset:aU,getDocsPage:aV,renderDocsPage:aX,renderDocsIndexPage:aY,searchProjects:aZ,getProjectContents:a$,getProjectRecipe:aP((a,b,c)=>a.getProjectRecipe(b,c)),renderProjectContentPage:async function(a,b){return a2(await a_(a,b),b,a=>({PrefabUsage:J.bind(null,b),PrefabObtaining:ac.bind(null,b),...a}))},getContentRecipeUsage:a1,getProjectContentPage:a_,getContentRecipeObtaining:a0,getRecipeType:aP((a,b,c)=>a.getRecipeType(b,c)),renderInlineMarkdown:a3}},64714:(a,b,c)=>{"use strict";c.d(b,{default:()=>i});var d=c(67258),e=c(83459),f=c(46763),g=c(35269),h=c(90650);function i({columns:a,rows:b,embedded:c,expandedBody:i}){let[j,k]=(0,e.useState)(!1),l=(0,h.c)("ResponsiveTable");return(0,d.jsxs)("table",{className:(0,f.cn)("[&_td]:bg-primary-alt/50",c&&"mb-0"),children:[(0,d.jsx)("thead",{className:"hidden sm:table-header-group",children:(0,d.jsx)("tr",{children:a.map(a=>(0,d.jsx)("th",{className:"",children:a.label},a.key))})}),(0,d.jsxs)("tbody",{children:[b.map((b,c)=>(0,d.jsx)("tr",{className:"block border-0 sm:table-row",children:a.map(a=>(0,d.jsxs)("td",{className:(0,f.cn)("block border-b sm:table-cell sm:border",b[a.key].className),"data-label":a.label,children:[(0,d.jsx)("div",{className:"mb-1 font-semibold text-primary-alt sm:hidden",children:a.label}),(0,d.jsx)("div",{children:b[a.key].data})]},a.key))},c)),(0,d.jsx)("tr",{children:(0,d.jsx)("td",{colSpan:a.length,className:"no-table-bs group cursor-pointer bg-table-soft!",onClick:()=>k(!j),"data-open":j,children:(0,d.jsxs)("div",{className:"my-0.5 flex w-full flex-row items-center justify-end gap-4 text-secondary",children:[(0,d.jsx)("span",{className:"text-sm",children:l("expand")}),(0,d.jsx)("span",{children:(0,d.jsx)(g.A,{className:"size-4 group-data-[open=true]:rotate-180"})})]})})}),j&&(0,d.jsx)("tr",{children:(0,d.jsx)("td",{colSpan:a.length,className:"no-table-bs no-table-padding",children:i})})]})]})}},66377:(a,b,c)=>{Promise.resolve().then(c.bind(c,24194)),Promise.resolve().then(c.bind(c,79011))},68711:(a,b,c)=>{"use strict";c.r(b),c.d(b,{Tabs:()=>e,TabsContent:()=>h,TabsList:()=>f,TabsTrigger:()=>g});var d=c(9968);let e=(0,d.registerClientReference)(function(){throw Error("Attempted to call Tabs() from the server but Tabs 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/tabs.tsx","Tabs"),f=(0,d.registerClientReference)(function(){throw Error("Attempted to call TabsList() from the server but TabsList 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/tabs.tsx","TabsList"),g=(0,d.registerClientReference)(function(){throw Error("Attempted to call TabsTrigger() from the server but TabsTrigger 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/tabs.tsx","TabsTrigger"),h=(0,d.registerClientReference)(function(){throw Error("Attempted to call TabsContent() from the server but TabsContent 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/tabs.tsx","TabsContent")},71864:(a,b,c)=>{"use strict";c.d(b,{A:()=>h,u:()=>g});var d=c(60492),e=c(89019),f=c(27152);async function g(a,b){return h({...b,ctx:a})}async function h({location:a,item:b,itemSize:c,width:g,height:h,...i}){let j={width:c?32:g,height:c?32:h,...i,ctx:void 0};return(0,d.jsx)(e.A,{display:({asset:a})=>(0,d.jsx)(f.default,{asset:a,...j}),location:a,item:b,...i})}},72357:(a,b,c)=>{"use strict";c.r(b),c.d(b,{default:()=>d});let d=(0,c(9968).registerClientReference)(function(){throw Error("Attempted to call the default export of \"/home/runner/work/Wiki/Wiki/build/previewer/src/components/docs/shared/asset/ItemAssetDisplay.tsx\" from the server, but it's on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/home/runner/work/Wiki/Wiki/build/previewer/src/components/docs/shared/asset/ItemAssetDisplay.tsx","default")},72765:(a,b,c)=>{"use strict";c.d(b,{default:()=>f});var d=c(83459),e=c(23036);function f({project:a,children:b}){let{setProject:c}=(0,d.useContext)(e.o);return b}},76105:(a,b,c)=>{Promise.resolve().then(c.bind(c,96172)),Promise.resolve().then(c.bind(c,47729))},77806:(a,b,c)=>{"use strict";c.d(b,{M:()=>f,default:()=>g});var d=c(67258),e=c(83459);let f=(0,e.createContext)(null);function g({children:a}){let[b,c]=(0,e.useState)(!1),g=(0,e.useMemo)(()=>({hover:b,setHover:c}),[b]),h=e.Children.map(a,a=>(0,e.isValidElement)(a)?(0,e.cloneElement)(a,{onMouseEnter:()=>c(!0),onMouseLeave:()=>c(!1),...a.props}):a);return(0,d.jsx)(f.Provider,{value:g,children:(0,d.jsx)(d.Fragment,{children:h})})}},79011:(a,b,c)=>{"use strict";c.d(b,{default:()=>e}),c(83459);var d=c(45580);function e(){return(0,d.useRouter)(),null}},79321:(a,b,c)=>{"use strict";function d(a){return a.join("/")}c.d(b,{U:()=>d}),c(72408),c(59727),c(41133),c(98312)},79459:(a,b,c)=>{"use strict";c.r(b),c.d(b,{default:()=>p,fetchCache:()=>n,generateMetadata:()=>o});var d=c(60492),e=c(46662),f=c(61237),g=c(99040),h=c(59727),i=c(12461),j=c(36275),k=c(87837),l=c(50691),m=c(60227);let n="default-cache";async function o(a,b){let{slug:c,version:d,locale:e}=await a.params,g=await f.A.getProject({id:c,version:d,locale:e});if(!g)return{title:(await b).title?.absolute};let h=await k.A.getPlatformProjectOrNull(g);return h?{title:`${h.name} - ${(await b).title?.absolute}`,openGraph:{images:[`/api/og?slug=${c}&locale=${e}`]}}:{title:(await b).title?.absolute}}async function p(a){let{slug:b,version:c,locale:n}=await a.params,{children:o}=a;(0,e.GE)(n);let p=await f.A.getProject({id:b,version:c,locale:n});if(!p)return(0,h.notFound)();let q=await k.A.getPlatformProjectOrNull(p);return q?(0,d.jsx)(i.default,{children:(0,d.jsx)(j.default,{children:(0,d.jsx)(m.default,{project:p,children:(0,d.jsx)(l.A,{keys:["DocsPageError","DocsPageNotFound","ProjectTypes","ProjectCategories","PageEditControls","DocsVersionSelector","LanguageSelect","ModVersionRange"],children:(0,d.jsx)(g.default,{project:p,locale:n,version:c,platformProject:q,children:o})})})})}):(0,h.notFound)()}},80756:(a,b,c)=>{"use strict";c.r(b),c.d(b,{Tooltip:()=>i,TooltipContent:()=>k,TooltipProvider:()=>h,TooltipTrigger:()=>j});var d=c(67258),e=c(83459),f=c(18645),g=c(46763);let h=f.Kq,i=f.bL,j=f.l9,k=e.forwardRef(({className:a,sideOffset:b=4,...c},e)=>(0,d.jsx)(f.UC,{ref:e,sideOffset:b,className:(0,g.cn)("border-tertiary bg-primary-alt text-primary-alt z-50 animate-in overflow-hidden overscroll-contain rounded-md border px-3 py-1.5 text-sm shadow-md fade-in-0 zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95",a),...c}));k.displayName=f.UC.displayName},82201:(a,b,c)=>{"use strict";c.d(b,{A:()=>g});var d=c(60492),e=c(83739),f=c(97102);function g(){let a=(0,e.A)("Badges");return(0,d.jsx)(f.E,{variant:"destructive",children:a("local")})}},84339:(a,b,c)=>{"use strict";c.d(b,{$:()=>f,default:()=>g});var d=c(67258),e=c(83459);let f=(0,e.createContext)(null);function g({children:a}){let[b,c]=(0,e.useState)(!1),[g,h]=(0,e.useState)({}),[i,j]=(0,e.useState)(0);return(0,d.jsx)(f.Provider,{value:{open:b,setOpen:c,folderStates:g,setFolderStates:h,scrollPos:i,setScrollPos:j},children:a})}},84531:(a,b,c)=>{"use strict";c.r(b),c.d(b,{default:()=>h});var d=c(67258),e=c(83459),f=c(50614),g=c(46763);function h({asset:a,width:b,height:c,alt:h,title:i,noTitle:j,...k}){let l=(0,e.useRef)(null),[m,n]=(0,e.useState)(a.src);return(0,d.jsx)("div",{...k,className:(0,g.cn)("overflow-hidden",k.className),style:{width:`${b||32}px`,height:`${c||32}px`},children:(0,d.jsx)("img",{ref:l,width:b||32,height:c||32,src:m,alt:h||a.id,title:j?void 0:i||f.A.parse(a.id)?.path,loading:"eager"})})}},88703:(a,b,c)=>{"use strict";c.r(b),c.d(b,{default:()=>d});let d=(0,c(9968).registerClientReference)(function(){throw Error("Attempted to call the default export of \"/home/runner/work/Wiki/Wiki/build/previewer/src/components/docs/LinkAwareHeading.tsx\" from the server, but it's on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/home/runner/work/Wiki/Wiki/build/previewer/src/components/docs/LinkAwareHeading.tsx","default")},89019:(a,b,c)=>{"use strict";c.d(b,{A:()=>f});var d=c(60492),e=c(61237);async function f({location:a,ctx:b,item:c,display:f,...g}){let h=c?await e.A.getItemAsset(a,b):await e.A.getAsset(a,b);return h?(0,d.jsx)(f,{asset:h,...g}):(0,d.jsx)("span",{className:"bg-secondary p-0.5",children:a})}},92609:(a,b,c)=>{"use strict";c.d(b,{default:()=>h,p:()=>g});var d=c(67258),e=c(83459),f=c(99688);let g=(0,e.createContext)(null);function h({children:a}){(0,f.a8)();let[b,c]=(0,e.useState)("none");return(0,d.jsx)(g.Provider,{value:{open:b,setOpen:c},children:a})}},97366:(a,b,c)=>{Promise.resolve().then(c.bind(c,72712)),Promise.resolve().then(c.bind(c,39442)),Promise.resolve().then(c.bind(c,63300)),Promise.resolve().then(c.bind(c,24194)),Promise.resolve().then(c.bind(c,68388)),Promise.resolve().then(c.t.bind(c,3065,23)),Promise.resolve().then(c.t.bind(c,52432,23)),Promise.resolve().then(c.bind(c,60180)),Promise.resolve().then(c.bind(c,9610)),Promise.resolve().then(c.bind(c,60765)),Promise.resolve().then(c.bind(c,4902)),Promise.resolve().then(c.bind(c,84531)),Promise.resolve().then(c.bind(c,5888)),Promise.resolve().then(c.bind(c,32330)),Promise.resolve().then(c.bind(c,35006)),Promise.resolve().then(c.bind(c,51660)),Promise.resolve().then(c.bind(c,92609)),Promise.resolve().then(c.bind(c,84339)),Promise.resolve().then(c.bind(c,72765)),Promise.resolve().then(c.bind(c,77806)),Promise.resolve().then(c.bind(c,64714)),Promise.resolve().then(c.bind(c,24641)),Promise.resolve().then(c.bind(c,41049)),Promise.resolve().then(c.bind(c,26712))},98978:(a,b,c)=>{"use strict";c.d(b,{default:()=>d});let d=(0,c(9968).registerClientReference)(function(){throw Error("Attempted to call the default export of \"/home/runner/work/Wiki/Wiki/packages/ui/src/util/ToggleChevron.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/packages/ui/src/util/ToggleChevron.tsx","default")},99040:(a,b,c)=>{"use strict";c.d(b,{default:()=>d});let d=(0,c(9968).registerClientReference)(function(){throw Error("Attempted to call the default export of \"/home/runner/work/Wiki/Wiki/build/previewer/src/components/docs/layout/DocsLayoutClient.tsx\" from the server, but it's on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/home/runner/work/Wiki/Wiki/build/previewer/src/components/docs/layout/DocsLayoutClient.tsx","default")},99688:(a,b,c)=>{"use strict";c.d(b,{XO:()=>h,a8:()=>j});var d=c(92404),e=c(37626),f=c(27774);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)}};
1
+ exports.id=3938,exports.ids=[3938],exports.modules={4902:(a,b,c)=>{"use strict";c.d(b,{default:()=>h});var d=c(67258),e=c(50614),f=c(92053);function g(a){if("string"==typeof a){let b=Number(a);if(!Number.isNaN(b))return b}return a}function h({asset:a,width:b,height:c,alt:h,title:i,noTitle:j,...k}){return(0,d.jsx)(f.default,{width:g(b),height:g(c),src:a.src,alt:h||a.id,title:j?void 0:i||e.A.parse(a.id)?.path,strokeWidth:1.5,wrapper:{className:"inline sharpRendering"},...k})}},5404:(a,b,c)=>{"use strict";c.d(b,{default:()=>d});let d=(0,c(9968).registerClientReference)(function(){throw Error("Attempted to call the default export of \"/home/runner/work/Wiki/Wiki/build/previewer/src/components/docs/shared/game/UsageContentList.tsx\" from the server, but it's on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/home/runner/work/Wiki/Wiki/build/previewer/src/components/docs/shared/game/UsageContentList.tsx","default")},5888:(a,b,c)=>{"use strict";c.r(b),c.d(b,{default:()=>l});var d=c(67258),e=c(83459);function f(a){let b=(0,e.useRef)(null),[c,f]=(0,e.useState)(null);return(0,d.jsxs)("div",{ref:b,onMouseEnter:a=>f({x:a.clientX,y:a.clientY}),onMouseLeave:()=>f(null),children:[c&&(0,d.jsx)("div",{className:"minetip-tooltip",style:{top:c.y+-33,left:c.x+15},children:(0,d.jsxs)("span",{className:"font-minecraft",children:[a.id,a.tag&&(0,d.jsxs)("p",{className:"m-0! mt-1! text-xs text-secondary text-shadow-none",children:["#",a.tag]})]})}),a.children]})}var g=c(14954),h=c(77806),i=c(84531),j=c(42590),k=c(46763);function l({noTooltip:a,noLink:b,src:c,count:l,ctx:m,tag:n,...o}){let[p,q]=(0,e.useState)(0),r=(0,e.useMemo)(()=>c[p],[p,c]);if((0,e.useContext)(h.M),c.length<1)return null;let s=m?(0,g.MZ)(m,r):(0,g.cT)(r.id),t=(0,d.jsxs)("div",{...o,className:(0,k.cn)("relative shrink-0",o.className),children:[(0,d.jsx)(i.default,{noTitle:!0,asset:r.asset,alt:r.name??r.id,className:"sharpRendering"}),l&&l>1&&(0,d.jsx)("span",{className:"sharpRendering absolute right-0 bottom-0 z-10 text-left font-minecraft text-base leading-1 text-white",style:{textShadow:"2px 2px 0 #3F3F3F"},children:l})]}),u=s&&!b?(0,d.jsx)(j.k,{href:s,rel:"noreferrer",children:t}):t;return a?u:(0,d.jsx)(f,{id:r.name||r.id,tag:n,children:u})}},9610:(a,b,c)=>{"use strict";c.d(b,{default:()=>N});var d=c(67258),e=c(42525),f=c(66892),g=c(17120),h=c(30283),i=c(99688),j=c(46763),k=c(45580),l=c(72740),m=c(83459),n=c(785),o=c(42306),p=c(84461),q=c(81948);let r=n.bL;n.YJ;let s=m.forwardRef(({placeholder:a,children:b,...c},e)=>(0,d.jsx)(n.WT,{ref:e,placeholder:(0,d.jsx)("span",{className:"text-secondary",children:a}),...c,children:b}));s.displayName=n.WT.displayName;let t=m.forwardRef(({className:a,children:b,...c},e)=>(0,d.jsxs)(n.l9,{ref:e,className:(0,j.cn)("border-quaternary bg-primary-dim flex h-10 w-full items-center justify-between rounded-sm border px-3 py-2 text-left text-sm ring-offset-background placeholder:text-secondary focus:outline-hidden disabled:cursor-not-allowed disabled:opacity-50 [&>span]:line-clamp-1",a),...c,children:[b,(0,d.jsx)(n.In,{asChild:!0,children:(0,d.jsx)(o.A,{className:"h-4 w-4 opacity-50"})})]}));t.displayName=n.l9.displayName;let u=m.forwardRef(({className:a,...b},c)=>(0,d.jsx)(n.PP,{ref:c,className:(0,j.cn)("flex cursor-default items-center justify-center py-1",a),...b,children:(0,d.jsx)(p.A,{className:"h-4 w-4"})}));u.displayName=n.PP.displayName;let v=m.forwardRef(({className:a,...b},c)=>(0,d.jsx)(n.wn,{ref:c,className:(0,j.cn)("flex cursor-default items-center justify-center py-1",a),...b,children:(0,d.jsx)(o.A,{className:"h-4 w-4"})}));v.displayName=n.wn.displayName;let w=m.forwardRef(({className:a,children:b,position:c="popper",...e},f)=>(0,d.jsx)(n.ZL,{children:(0,d.jsxs)(n.UC,{ref:f,className:(0,j.cn)("border-tertiary bg-primary-alt text-primary-alt relative z-50 max-h-96 min-w-[8rem] overflow-hidden rounded-md border shadow-md 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","popper"===c&&"data-[side=bottom]:translate-y-1 data-[side=left]:-translate-x-1 data-[side=right]:translate-x-1 data-[side=top]:-translate-y-1",a),position:c,...e,children:[(0,d.jsx)(u,{}),(0,d.jsx)(n.LM,{className:(0,j.cn)("p-1","popper"===c&&"h-[var(--radix-select-trigger-height)] w-full min-w-[var(--radix-select-trigger-width)]"),children:b}),(0,d.jsx)(v,{})]})}));w.displayName=n.UC.displayName,m.forwardRef(({className:a,...b},c)=>(0,d.jsx)(n.JU,{ref:c,className:(0,j.cn)("py-1.5 pr-2 pl-8 text-sm font-semibold",a),...b})).displayName=n.JU.displayName;let x=m.forwardRef(({className:a,children:b,...c},e)=>(0,d.jsxs)(n.q7,{ref:e,className:(0,j.cn)("focus:text-primary-alt relative flex w-full cursor-default items-center rounded-xs py-1.5 pr-2 pl-8 text-sm outline-hidden select-none focus:bg-secondary data-disabled:pointer-events-none data-disabled:opacity-50",a),...c,children:[(0,d.jsx)("span",{className:"absolute left-2 flex h-3.5 w-3.5 items-center justify-center",children:(0,d.jsx)(n.VF,{children:(0,d.jsx)(q.A,{className:"h-4 w-4"})})}),(0,d.jsx)(n.p4,{children:b})]}));x.displayName=n.q7.displayName,m.forwardRef(({className:a,...b},c)=>(0,d.jsx)(n.wv,{ref:c,className:(0,j.cn)("bg-primary-alt -mx-1 my-1 h-px",a),...b})).displayName=n.wv.displayName;var y=c(49740),z=c(22863);function A({value:a,defaultValue:b,children:c}){let e=(0,z.rd)(),f=(0,k.usePathname)();return(0,d.jsx)(r,{value:a,defaultValue:b,onValueChange:a=>{let b=f.split("/");b[4]=a,e.replace("/"+b.filter(a=>a.length>0).join("/"))},children:c})}var B=c(90650);function C({version:a,versions:b}){let c=(0,B.c)("DocsVersionSelector");return(0,d.jsxs)(A,{value:a,defaultValue:l.j4,children:[(0,d.jsxs)(t,{className:"h-8 w-full justify-start rounded-sm border-none bg-transparent py-0 whitespace-nowrap hover:bg-secondary sm:h-7 sm:w-fit sm:max-w-32 sm:min-w-24 [&>span]:mr-auto [&>span]:block [&>span]:text-sm [&>span]:text-ellipsis [&>span]:sm:mr-0 [&>svg:last-child]:hidden",children:[(0,d.jsx)(y.A,{className:"mr-auto size-3.5 shrink-0 sm:mr-2.5"}),(0,d.jsx)(s,{placeholder:c("placeholder")})]}),(0,d.jsxs)(w,{children:[(0,d.jsx)(x,{value:l.j4,className:"py-1 [&>span]:text-sm",children:c("latest")}),b.map(a=>(0,d.jsx)(x,{value:a,className:"py-1 [&>span]:text-sm",children:a},a))]})]})}var D=c(99014),E=c(19222),F=c(94299);function G({children:a}){let[b,c]=(0,m.useState)(!1);return(0,k.usePathname)(),(0,d.jsxs)("div",{className:"pointer-events-auto! sm:hidden",children:[(0,d.jsx)(E.A,{active:b,setOpen:c}),(0,d.jsx)(F.A,{className:"top-nav-height-ext bg-primary-dim",isVisible:b,children:a})]})}var H=c(92053);function I({title:a,icon:b,path:c,disabled:f}){let g=(0,i.a8)(),h=(0,k.useParams)(),l=g.split("/"),m=4==l.length&&0==c.length||l.length>=5&&l[4]==c;return(0,d.jsx)(i.XO,{href:`/project/${h.slug}/${h.version}/${c}`,className:(0,j.cn)("w-full sm:w-fit",f&&"pointer-events-none"),children:(0,d.jsxs)(e.$,{variant:"ghost",size:"sm",className:(0,j.cn)("h-8! w-full rounded-sm px-2! sm:h-7! sm:w-fit",m&&"bg-secondary"),disabled:f,children:[(0,d.jsx)(b,{className:"mr-auto h-4 w-4 sm:mr-2"}),(0,d.jsx)("span",{className:"mr-auto text-sm sm:mr-0",children:a})]})})}function J({project:a,platformProject:b}){return(0,d.jsxs)("div",{className:"flex flex-row items-center gap-2 overflow-hidden",children:[(0,d.jsx)(H.default,{src:b.icon_url,alt:"Logo",className:"h-6 rounded-sm",width:24,height:24}),(0,d.jsx)("span",{className:"overflow-hidden text-base font-medium text-ellipsis whitespace-nowrap text-primary",children:a.name})]})}function K({project:a,platformProject:b}){return(0,d.jsxs)("div",{className:"flex flex-col items-center gap-2 overflow-hidden",children:[(0,d.jsx)("img",{src:b.icon_url,alt:"Logo",className:"mb-2 size-12 rounded-sm"}),(0,d.jsx)("span",{className:"overflow-hidden text-base font-medium text-ellipsis whitespace-nowrap text-primary",children:a.name}),(0,d.jsx)("blockquote",{className:"line-clamp-2 text-sm text-secondary",children:b.summary})]})}function L({project:a,locale:b,version:c}){let e=a.versions&&a.versions.length>0,i=a.locales&&a.locales.length>0;return(0,d.jsxs)("div",{className:"flex flex-col items-center gap-4 sm:flex-row sm:gap-2",children:[(0,d.jsx)(I,{title:"Home",icon:f.A,path:""}),(0,d.jsx)(I,{title:"Documentation",icon:g.A,path:"docs"}),a.info.content_count>0&&(0,d.jsx)(I,{title:"Content",icon:h.A,path:"content"}),(e||i)&&(0,d.jsxs)(d.Fragment,{children:[(0,d.jsx)("div",{className:"verticalSeparator hidden! sm:inline-flex!"}),(0,d.jsx)("hr",{className:"w-full border-tertiary sm:hidden"})]}),e&&(0,d.jsx)(C,{version:c,versions:a.versions}),i&&(0,d.jsx)(D.default,{locale:b,shownLocaleCodes:a.locales,minimal:!0})]})}function M({project:a,platformProject:b,locale:c,version:e}){return(0,d.jsx)("div",{className:"fixed left-0 z-40 w-full border-y border-tertiary border-t-tertiary-dim bg-primary-dim",children:(0,d.jsxs)("div",{className:"mx-auto flex w-full max-w-[120rem] flex-row items-center justify-between px-4 py-2 sm:py-1.5",children:[(0,d.jsx)(J,{project:a,platformProject:b}),(0,d.jsx)("div",{className:"hidden sm:block",children:(0,d.jsx)(L,{project:a,locale:c,version:e})}),(0,d.jsx)(G,{children:(0,d.jsxs)("div",{className:"flex flex-col gap-8",children:[(0,d.jsx)(K,{project:a,platformProject:b}),(0,d.jsx)(L,{project:a,locale:c,version:e})]})})]})})}function N({project:a,platformProject:b,locale:c,version:e,children:f}){return(0,d.jsxs)("div",{className:"flex flex-col gap-3",children:[(0,d.jsx)("div",{className:"h-subnav",children:(0,d.jsx)(M,{project:a,platformProject:b,locale:c,version:e})}),(0,d.jsx)("div",{className:"flex flex-1 flex-col items-center bg-primary text-primary",children:f})]})}},12461:(a,b,c)=>{"use strict";c.d(b,{default:()=>e});var d=c(9968);(0,d.registerClientReference)(function(){throw Error("Attempted to call LeftSidebarContext() from the server but LeftSidebarContext 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/docs/side/LeftSidebarContext.tsx","LeftSidebarContext");let e=(0,d.registerClientReference)(function(){throw Error("Attempted to call the default export of \"/home/runner/work/Wiki/Wiki/build/previewer/src/components/docs/side/LeftSidebarContext.tsx\" from the server, but it's on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/home/runner/work/Wiki/Wiki/build/previewer/src/components/docs/side/LeftSidebarContext.tsx","default")},17436:(a,b,c)=>{"use strict";c.r(b),c.d(b,{default:()=>d});let d=(0,c(9968).registerClientReference)(function(){throw Error("Attempted to call the default export of \"/home/runner/work/Wiki/Wiki/build/previewer/src/components/docs/shared/util/TooltipText.tsx\" from the server, but it's on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/home/runner/work/Wiki/Wiki/build/previewer/src/components/docs/shared/util/TooltipText.tsx","default")},20326:(a,b,c)=>{"use strict";c.d(b,{A:()=>h});var d=c(60492),e=c(97933),f=c(16860),g=c(13978);function h({href:a,target:b,local:c,className:h,children:i}){if(!a)return(0,d.jsx)("span",{className:h,children:i});let j=c?g.M:f.k;return(0,d.jsx)(j,{href:a,target:b,className:(0,e.cn)(h,"text-link decoration-1 underline-offset-4 hover:text-blue-400/80 hover:underline"),children:i})}},21736:(a,b,c)=>{"use strict";c.d(b,{default:()=>d});let d=(0,c(9968).registerClientReference)(function(){throw Error("Attempted to call the default export of \"/home/runner/work/Wiki/Wiki/build/previewer/src/components/util/ResponsiveTable.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/ResponsiveTable.tsx","default")},23796:(a,b,c)=>{"use strict";c.r(b),c.d(b,{default:()=>d});let d={src:"/_next/static/media/crafting_background.158942b1.png",height:136,width:260,blurDataURL:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAECAMAAACEE47CAAAAGFBMVEWampqnp6eioqLKysqLi4uSkpK+vr64uLgHQ3rrAAAAA3RSTlP+/v6VFoksAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAJElEQVR4nCXGsQEAMAzCMBNI+P/jDtUkBmRbkIy7+TkBu9MeDwXFAF/HY1pFAAAAAElFTkSuQmCC",blurWidth:8,blurHeight:4}},24641:(a,b,c)=>{"use strict";c.d(b,{CopyButton:()=>l});var d=c(67258),e=c(81948),f=c(5075),g=c(83459),h=c(46763),i=c(42525),j=c(46721),k=c(90650);function l({text:a,showToast:b,className:c}){let[l,m]=(0,g.useState)(!1),n=(0,k.c)("CopyButton");return(0,d.jsx)(i.$,{variant:"ghost",size:"icon",className:(0,h.cn)("text-secondary-alt opacity-0 transition-opacity duration-200 ease-in-out group-hover:opacity-100 hover:bg-gray-400/10 [&>svg]:animate-in [&>svg]:fade-in [&>svg]:fade-out",c),"aria-label":"Copy to clipboard",onClick:()=>{navigator.clipboard.writeText(a),m(!0),setTimeout(()=>m(!1),2e3),b&&j.oR.success(n("copied"))},children:l?(0,d.jsx)(e.A,{size:16}):(0,d.jsx)(f.A,{size:16})})}},25970:(a,b,c)=>{"use strict";c.d(b,{default:()=>d});let d=(0,c(9968).registerClientReference)(function(){throw Error("Attempted to call the default export of \"/home/runner/work/Wiki/Wiki/build/previewer/src/components/docs/shared/VideoEmbedPlaceholder.tsx\" from the server, but it's on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/home/runner/work/Wiki/Wiki/build/previewer/src/components/docs/shared/VideoEmbedPlaceholder.tsx","default")},26712:(a,b,c)=>{"use strict";c.d(b,{default:()=>g});var d=c(67258),e=c(42306);c(83459);var f=c(46763);function g({className:a,active:b,animate:c=!0}){return(0,d.jsx)(e.A,{className:(0,f.cn)(a,"shrink-0 data-[rotate=true]:rotate-180",c&&"transition-transform duration-200"),"data-rotate":b?"true":"false"})}},27152:(a,b,c)=>{"use strict";c.d(b,{default:()=>d});let d=(0,c(9968).registerClientReference)(function(){throw Error("Attempted to call the default export of \"/home/runner/work/Wiki/Wiki/build/previewer/src/components/docs/shared/asset/AssetDisplay.tsx\" from the server, but it's on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/home/runner/work/Wiki/Wiki/build/previewer/src/components/docs/shared/asset/AssetDisplay.tsx","default")},32330:(a,b,c)=>{"use strict";c.d(b,{default:()=>g});var d=c(67258),e=c(83459),f=c(90650);function g({limit:a,content:b}){let c=(0,f.c)("UsageContentList"),[g,h]=(0,e.useState)(!1);return(0,d.jsxs)("ul",{className:"mt-0",children:[g?b:b.slice(0,Math.min(a,b.length)),!g&&b.length>a&&(0,d.jsx)("li",{className:"text-secondary",children:(0,d.jsx)("button",{className:"decoration-1 underline-offset-4 hover:underline",onClick:()=>h(!0),children:c("more")})})]})}},35006:(a,b,c)=>{"use strict";c.r(b),c.d(b,{default:()=>h});var d=c(67258),e=c(80756),f=c(46763),g=c(51534);function h({hint:a,children:b}){return(0,d.jsxs)("span",{className:"inline-block",children:[(0,d.jsx)("span",{className:"sm:hidden",children:(0,d.jsxs)(g.AM,{children:[(0,d.jsx)(g.Wv,{className:(0,f.cn)("underline decoration-dotted decoration-2 underline-offset-2"),children:b}),(0,d.jsx)(g.hl,{side:"top",className:(0,f.cn)("slim-scrollbar max-h-56 max-w-[min(32rem,var(--radix-popper-available-width))]","animate-none! overflow-y-auto px-3 py-1.5 text-sm break-words whitespace-normal"),children:a})]})}),(0,d.jsx)("span",{className:"hidden sm:block",children:(0,d.jsx)(e.TooltipProvider,{delayDuration:200,children:(0,d.jsxs)(e.Tooltip,{children:[(0,d.jsx)(e.TooltipTrigger,{className:(0,f.cn)("cursor-help underline decoration-dotted decoration-2 underline-offset-2 select-text"),children:b}),(0,d.jsx)(e.TooltipContent,{side:"top",className:(0,f.cn)("slim-scrollbar max-h-56 max-w-[min(32rem,var(--radix-popper-available-width))] animate-none!","overflow-y-auto px-3 py-1.5 text-sm break-words whitespace-normal"),children:a})]})})})]})}},36275:(a,b,c)=>{"use strict";c.d(b,{default:()=>e});var d=c(9968);(0,d.registerClientReference)(function(){throw Error("Attempted to call DocsSidebarContext() from the server but DocsSidebarContext 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/docs/side/DocsSidebarContext.tsx","DocsSidebarContext");let e=(0,d.registerClientReference)(function(){throw Error("Attempted to call the default export of \"/home/runner/work/Wiki/Wiki/build/previewer/src/components/docs/side/DocsSidebarContext.tsx\" from the server, but it's on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/home/runner/work/Wiki/Wiki/build/previewer/src/components/docs/side/DocsSidebarContext.tsx","default")},41049:(a,b,c)=>{"use strict";c.r(b),c.d(b,{Tabs:()=>h,TabsContent:()=>k,TabsList:()=>i,TabsTrigger:()=>j});var d=c(67258),e=c(83459),f=c(50182),g=c(46763);let h=f.bL,i=e.forwardRef(({className:a,...b},c)=>(0,d.jsx)(f.B8,{ref:c,className:(0,g.cn)("bg-primary-alt inline-flex h-10 items-center justify-center rounded-md p-1 text-secondary",a),...b}));i.displayName=f.B8.displayName;let j=e.forwardRef(({className:a,...b},c)=>(0,d.jsx)(f.l9,{ref:c,className:(0,g.cn)("inline-flex items-center justify-center rounded-xs px-3 py-1.5 text-sm font-medium whitespace-nowrap ring-offset-background transition-all focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 focus-visible:outline-hidden disabled:pointer-events-none disabled:opacity-50 data-[state=active]:bg-primary data-[state=active]:text-primary data-[state=active]:shadow-xs",a),...b}));j.displayName=f.l9.displayName;let k=e.forwardRef(({className:a,...b},c)=>(0,d.jsx)(f.UC,{ref:c,className:(0,g.cn)("mt-2 ring-offset-background focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 focus-visible:outline-hidden",a),...b}));k.displayName=f.UC.displayName},43956:(a,b,c)=>{"use strict";c.d(b,{default:()=>e});var d=c(9968);(0,d.registerClientReference)(function(){throw Error("Attempted to call HoverContext() from the server but HoverContext 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/HoverContextProvider.tsx","HoverContext");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/HoverContextProvider.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/HoverContextProvider.tsx","default")},45312:(a,b,c)=>{"use strict";c.d(b,{CJ:()=>j,M$:()=>k,MZ:()=>f,_s:()=>g,nm:()=>e,sw:()=>h});var d=c(19660);function e(a,b,c){let d=b[c];if(d){let b=d.options??"";if("vanilla"==d.type)return{title:d.title,url:j(d.ref)+b};if("docs"==d.type)return{title:d.title,url:k(d.ref,a)+b};if("content"==d.type)return{title:d.title,url:h(d.ref,a)+b}}return null}function f(a,b){return i(b.id)??(null!=b.page_ref?h(b.page_ref,a):null)}function g(a,b){let c="slug"in a?a.slug:a.id;return i(b)??`/${a.locale}/project/${c}/${a.version}/content/${b.includes("/")?encodeURIComponent(b):b}`}function h(a,b){let c="slug"in b?b.slug:b.id;return`/${b.locale}/project/${c}/${b.version}/content/${a}`}function i(a){let b=d.A.parse(a);return b?.namespace===d.o&&a.startsWith(d.o+":")?`https://minecraft.wiki/w/${b.path}`:null}function j(a){return`https://minecraft.wiki/w/${a}`}function k(a,b){return`/${b.locale}/project/${b.id}/${b.version}/docs/${a}`}},47729:(a,b,c)=>{"use strict";c.d(b,{default:()=>d});let d=(0,c(9968).registerClientReference)(function(){throw Error("Attempted to call the default export of \"/home/runner/work/Wiki/Wiki/build/previewer/src/app/[locale]/(main)/LocalWatcher.tsx\" from the server, but it's on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/home/runner/work/Wiki/Wiki/build/previewer/src/app/[locale]/(main)/LocalWatcher.tsx","default")},51391:(a,b,c)=>{"use strict";c.d(b,{CopyButton:()=>d});let d=(0,c(9968).registerClientReference)(function(){throw Error("Attempted to call CopyButton() from the server but CopyButton 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/button/CopyButton.tsx","CopyButton")},51660:(a,b,c)=>{"use strict";c.d(b,{default:()=>l});var d=c(67258),e=c(4323),f=c(42525),g=c(46763),h=c(83459),i=c(90433),j=c(27501),k=c(90650);function l({id:a,children:b}){let c=(0,k.c)("VideoEmbedPlaceholder"),l=(0,h.useContext)(i.ww);if(!l||!l.enableCookieManagement||l?.hasConsentToEmbeddedVideos)return b;let m=a&&a.includes("?")?a.split("?")[0]:a,n=`https://img.youtube.com/vi/${a}/maxresdefault.jpg`;return(0,d.jsxs)("div",{className:(0,g.cn)("video-embed relative flex rounded-sm border border-tertiary bg-primary-alt text-center"),children:[(0,d.jsx)("img",{src:n,alt:"thumbnail",width:560}),(0,d.jsxs)("div",{className:"absolute-center flex h-full w-full flex-col items-center justify-center gap-5 bg-primary/80",children:[(0,d.jsx)(e.A,{className:"size-12 text-secondary-alt",strokeWidth:1.5}),(0,d.jsx)("div",{className:"text-xl",children:(0,d.jsxs)("div",{className:"flex flex-col gap-1",children:[(0,d.jsx)("span",{children:c("title")}),(0,d.jsx)("span",{className:"text-sm text-secondary",children:c("description")})]})}),(0,d.jsxs)("div",{className:"mt-2 flex flex-row flex-wrap justify-center gap-3",children:[(0,d.jsx)(f.$,{onClick:()=>void j.gB(i.YE,i.GL),children:c("accept")}),m&&(0,d.jsx)("a",{href:`https://www.youtube.com/watch?v=${m}`,target:"_blank",rel:"noreferrer",children:(0,d.jsx)(f.$,{variant:"outline",children:c("watch")})})]})]})]})}},53784:(a,b,c)=>{"use strict";c.r(b),c.d(b,{default:()=>h});var d=c(60492),e=c(19061),f=c(46662),g=c(47729);function h(a){let b=(0,e.use)(a.params),{children:c}=a;return(0,f.GE)(b.locale),(0,d.jsxs)("div",{className:"page-wrapper-base mx-4 flex min-h-screen flex-col sm:mx-2",children:[(0,d.jsx)(g.default,{}),c]})}},57614:(a,b,c)=>{Promise.resolve().then(c.bind(c,99887)),Promise.resolve().then(c.bind(c,57640)),Promise.resolve().then(c.bind(c,62800)),Promise.resolve().then(c.bind(c,96172)),Promise.resolve().then(c.bind(c,15042)),Promise.resolve().then(c.t.bind(c,8591,23)),Promise.resolve().then(c.t.bind(c,81138,23)),Promise.resolve().then(c.bind(c,23796)),Promise.resolve().then(c.bind(c,99040)),Promise.resolve().then(c.bind(c,88703)),Promise.resolve().then(c.bind(c,27152)),Promise.resolve().then(c.bind(c,72357)),Promise.resolve().then(c.bind(c,58563)),Promise.resolve().then(c.bind(c,5404)),Promise.resolve().then(c.bind(c,17436)),Promise.resolve().then(c.bind(c,25970)),Promise.resolve().then(c.bind(c,36275)),Promise.resolve().then(c.bind(c,12461)),Promise.resolve().then(c.bind(c,60227)),Promise.resolve().then(c.bind(c,43956)),Promise.resolve().then(c.bind(c,21736)),Promise.resolve().then(c.bind(c,51391)),Promise.resolve().then(c.bind(c,68711)),Promise.resolve().then(c.bind(c,98978))},58563:(a,b,c)=>{"use strict";c.r(b),c.d(b,{default:()=>d});let d=(0,c(9968).registerClientReference)(function(){throw Error("Attempted to call the default export of \"/home/runner/work/Wiki/Wiki/build/previewer/src/components/docs/shared/game/RotatingItemDisplaySlot.tsx\" from the server, but it's on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/home/runner/work/Wiki/Wiki/build/previewer/src/components/docs/shared/game/RotatingItemDisplaySlot.tsx","default")},60180:(a,b,c)=>{"use strict";c.r(b),c.d(b,{default:()=>d});let d={src:"/_next/static/media/crafting_background.158942b1.png",height:136,width:260,blurDataURL:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAECAMAAACEE47CAAAAGFBMVEWampqnp6eioqLKysqLi4uSkpK+vr64uLgHQ3rrAAAAA3RSTlP+/v6VFoksAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAJElEQVR4nCXGsQEAMAzCMBNI+P/jDtUkBmRbkIy7+TkBu9MeDwXFAF/HY1pFAAAAAElFTkSuQmCC",blurWidth:8,blurHeight:4}},60227:(a,b,c)=>{"use strict";c.d(b,{default:()=>d});let d=(0,c(9968).registerClientReference)(function(){throw Error("Attempted to call the default export of \"/home/runner/work/Wiki/Wiki/build/previewer/src/components/navigation/search/LocalSearchSetter.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/LocalSearchSetter.tsx","default")},60765:(a,b,c)=>{"use strict";c.r(b),c.d(b,{default:()=>g});var d=c(67258),e=c(11284),f=c(46763);function g(a){let b=a.id;return(0,d.jsxs)("h2",{...a,className:void 0,className:(0,f.cn)(a.className,"group"),children:[a.children,b&&(0,d.jsx)("a",{href:`#${b}`,className:"inline-block pl-2 opacity-0 transition-opacity duration-200 group-hover:opacity-100 hover:opacity-100",children:(0,d.jsx)(e.A,{className:"h-5 w-5 text-primary"})})]})}},61237:(a,b,c)=>{"use strict";c.d(b,{A:()=>a5});var d=c(79321),e=c(19660),f=c(69053),g=c(37474);c(37810);let h={searchProjects:async function a(a){return f.A.resolveApiCall(()=>f.A.sendSimpleRequest("browse",{parameters:a,userAuth:!1,cache:{tags:["search-projects"],revalidate:15*g.kB.ONE_MINUTE}}))}};var i=c(67023),j=c(80086),k=c(41133);let l={getAssetResource:function(a){let b=k.A.getAssetsBaseURL()??k.A.getBuiltinAssetSource();if(!b)return null;let c=new URL(b);c.pathname+="/.assets/"+a.namespace+"/"+a.path+(a.path.includes(".")?"":j.h);let d=(0,i.A)(c.toString());return null===d?null:{id:e.A.toString(a),src:d}}};var m=c(12170);let n={getBuiltinAsset:function(a,b,c){if(!c||b.namespace===e.o){let b=a.includes("/")?a:function(a){let b=e.A.parse(a);return b?e.A.toString({namespace:b.namespace,path:"item/"+b.path}):a}(a),c=e.A.parse(b);return c?l.getAssetResource(c):null}return null},getRemoteAssetURL:function(a,{id:b,version:c}){let d=m.A.constructAssetsUrl(`docs/${b}/asset/${a}`,{version:c});return{id:a,src:d}},getRemoteItemAssetURL:function(a,{id:b,version:c}){let d=m.A.constructAssetsUrl(`docs/${b}/asset-item/${a}`,{version:c});return{id:a,src:d}}};async function o(a,b,c,d){return f.A.sendSimpleRequest(b,{parameters:c,cache:{tags:[`backend:${a}`]},...d})}async function p(a){let b=await f.A.resolveApiCall(a);return!b.success||null==b.data||"error"in b.data?null:b.data}let q={getBackendLayout:async function({id:a,version:b,locale:c}){return p(()=>o(a,`docs/${a}/tree`,{version:b,locale:c}))},getAsset:async function(a,b){return n.getRemoteAssetURL(e.A.toString(a),b)},getItemAsset:async function(a,b){return n.getRemoteItemAssetURL(e.A.toString(a),b)},getDocsPage:async function(a,b,{id:c,version:e,locale:f}){return await p(()=>o(c,`docs/${c}/page/${(0,d.U)(a)}`,{version:e,locale:f,optional:b?"true":null},{cache:!1}))},getDocsIndexPage:async function({id:a,version:b,locale:c}){return await p(()=>o(a,`docs/${a}/index`,{version:b,locale:c},{cache:!1}))},getProject:async function({id:a,version:b}){return p(()=>o(a,`docs/${a}`,{version:b}))},searchProjects:async function(a,b,c,d){let e=await h.searchProjects({query:a,page:b.toString(),types:c,sort:d});return e.success?e.data:null},getProjectRecipe:async function(a,{id:b,version:c,locale:d}){return p(()=>o(b,`content/${b}/recipe/${a}`,{version:c,locale:d}))},getProjectContents:async function({id:a,version:b,locale:c}){return p(()=>o(a,`content/${a}`,{version:b,locale:c},{cache:!1}))},getProjectContentPage:async function(a,{id:b,version:c,locale:d}){return p(()=>o(b,`content/${b}/page/${a}`,{version:c,locale:d},{cache:!1}))},getContentRecipeUsage:async function(a,{id:b,version:c,locale:d}){return p(()=>o(b,`content/${b}/page/${a}/usage`,{version:c,locale:d},{cache:!1}))},getContentRecipeObtaining:async function(a,{id:b,version:c,locale:d}){return p(()=>o(b,`content/${b}/page/${a}/recipes`,{version:c,locale:d},{cache:!1}))},getRecipeType:async function(a,{id:b,version:c,locale:d}){let f=e.A.parse(a)?.namespace==e.o?e.o:b;return p(()=>o(f,`content/${f}/recipe-type/${a}`,{version:c,locale:d}))}};var r=c(72473),s=c(52313),t=c(60492),u=c(88703),v=c(61410),w=c(5404),x=c(20326),y=c(45312),z=c(50691),A=c(89019),B=c(72357);async function C({location:a,...b}){return(0,t.jsx)(A.A,{display:({asset:a})=>(0,t.jsx)(B.default,{asset:a,...b}),location:a,item:!0,...b})}var D=c(98312),E=c(83739),F=c(76947);function G(){let a=(0,E.A)("InteractiveComponentPlaceholder");return(0,t.jsxs)("div",{className:"flex h-64 flex-col items-center justify-center gap-3 rounded-sm border border-tertiary bg-primary-dim",children:[(0,t.jsxs)("span",{className:"flex flex-row items-center gap-2 text-xl opacity-70",children:[(0,t.jsx)(F.A,{className:"size-6"}),a("title")]}),(0,t.jsx)("span",{className:"max-w-md text-center text-secondary opacity-70",children:a("desc")})]})}async function H(a,b){return I({...b,ctx:a})}async function I({id:a,ctx:b}){let c=await (0,v.A)("RecipeUsage");if(D.A.isPreview())return(0,t.jsx)(G,{});let d=await a5.getContentRecipeUsage(a,b);if(!d)return null;let e=d.sort((a,b)=>a.name&&b.name?a.name.localeCompare(b.name):0).map(a=>(0,t.jsx)("li",{className:"first:mt-0",children:(0,t.jsxs)(({children:c})=>null!=a.page_ref?(0,t.jsx)(x.A,{href:(0,y.MZ)(b,a),children:c}):(0,t.jsx)("div",{children:c}),{children:[(0,t.jsx)("div",{className:"inline-flex",children:(0,t.jsx)(C,{location:a.id,ctx:b,className:"mr-1.5!"})}),(0,t.jsx)("span",{children:a.name||a.id})]})},a.id));return(0,t.jsxs)("div",{className:"flex flex-col gap-3",children:[(0,t.jsx)("span",{children:c(e.length>0?"description":"empty")}),(0,t.jsx)("div",{className:"columns-[20em]",children:(0,t.jsx)(z.A,{keys:["UsageContentList"],children:(0,t.jsx)(w.default,{limit:12,content:e})})})]})}async function J(a){return K({ctx:a})}async function K({ctx:a}){let b=await (0,v.A)("PrefabUsage");return(0,t.jsxs)("div",{children:[(0,t.jsx)(u.default,{id:"usage",children:b("usage")}),D.A.isPreview()?(0,t.jsx)(G,{}):"contentId"in a&&(0,t.jsx)(I,{id:a.contentId,ctx:a})]})}var L=c(77403),M=c(23796);async function N(a,b){return O({...b,ctx:a})}async function O({ctx:a,slots:b,result:c,count:d}){let e=b.slice(0,Math.min(b.length,9)),f=await Promise.all(e.map(async b=>null===b?null:a5.getItemAsset(b,a))),g=await a5.getItemAsset(c,a);return(0,t.jsxs)("div",{className:"relative",children:[(0,t.jsx)(L.default,{className:"sharpRendering",unoptimized:!0,priority:!0,src:M.default,alt:"background",width:260,height:136}),(0,t.jsx)("div",{className:"absolute top-4 left-4 grid grid-cols-3 gap-1",children:f.map((a,b)=>null!==a?(0,t.jsx)(B.default,{asset:a},b):(0,t.jsx)("div",{},b))}),g&&(0,t.jsx)("div",{className:"absolute top-[42px] left-[194px] flex h-[52px] w-[52px] items-center justify-center",children:(0,t.jsxs)("div",{className:"relative -m-0.5 flex h-[36px] w-[36px] items-center justify-center p-0.5",children:[(0,t.jsx)("div",{children:(0,t.jsx)(B.default,{asset:g})}),d&&d>1&&(0,t.jsx)("span",{className:"sharpRendering absolute right-0 bottom-0 z-10 text-left text-base leading-1 text-white",style:{fontFamily:"Minecraft, sans-serif",textShadow:"2px 2px 0 #3F3F3F"},children:d})]})})]})}var P=c(58563),Q=c(97933),R=c(16860);function S({tag:a,count:b,item:c,ctx:d}){let f=(0,y.MZ)(d,c),g=null!=f?R.k:"div";return(0,t.jsxs)("div",{className:"inline-flex items-center",children:[(0,t.jsxs)("span",{children:[b,"x"]}),(0,t.jsxs)(g,{href:f,className:"inline-flex items-center",children:[(0,t.jsx)("div",{className:"mx-1",children:(0,t.jsx)(P.default,{noTooltip:!0,noLink:!0,src:[c],tag:a})}),(0,t.jsx)("span",{className:(0,Q.cn)("font-medium text-ellipsis text-primary-alt",f&&"underline"),children:c.name||(0,t.jsx)("span",{className:"block max-w-[8rem] overflow-hidden text-ellipsis",children:e.A.extractPath(c.id)})})]})]})}var T=c(21736),U=c(43956);let V={getRecipeTypeName:async function(a){let b=e.A.parse(a);return b&&b.namespace==e.o?(await (0,v.A)("BuiltinRecipeTypes"))(b.path):null}};async function W(a){let b=await a5.getItemAsset(a.id,{id:a.project});return b?{...a,asset:b}:{...a,asset:{id:a.id,src:"nonexistent"}}}async function X(a){return Promise.all(a.map(W))}function Y(a,b,c,d){return`${a}-${b}-${c}-${d?"in":"out"}`}async function Z({recipe:a,type:b,ctx:c}){let d=await a5.getAsset(b.background,c);d||console.warn(`Missing background for recipe type ${b.id}: ${b.background}`);let e=(c,d)=>{let e=(d?b.input_slots:b.output_slots)[c];return e||console.error(`Missing recipe slot for recipe "${a.id}", key "${c}", input: ${d}`),e};return(0,t.jsx)(U.default,{children:(0,t.jsxs)("div",{className:"relative shrink-0",children:[(0,t.jsx)("img",{src:d?.src,alt:d?.id,className:"sharpRendering min-w-fit shrink-0"}),...a.inputs.map(async(b,d)=>{let f=e(b.slot,!0);if(!f)return null;let g=await X(b.items);return(0,t.jsx)(P.default,{src:g,className:"absolute flex shrink-0",ctx:c,style:{left:`${f.x}px`,top:`${f.y}px`},tag:b.tag},Y(a.id,b.slot,d,!0))}),...a.outputs.map(async(b,d)=>{let f=e(b.slot,!1);if(!f)return null;let g=await X(b.items);return(0,t.jsx)(P.default,{src:g,className:"absolute flex shrink-0",count:b.count,ctx:c,style:{left:`${f.x}px`,top:`${f.y}px`},tag:b.tag},Y(a.id,b.slot,d,!1))})]})})}async function $({workbenches:a,ctx:b}){let c=await (0,v.A)("ResolvedProjectRecipe");return(0,t.jsxs)("div",{className:"px-2 py-1",children:[(0,t.jsx)("span",{className:"text-xsm text-secondary",children:c("workbenches")}),(0,t.jsxs)("div",{className:"flex flex-row flex-wrap gap-2 p-2",children:[...a.map(async a=>{let c=await W(a);return(0,t.jsx)(P.default,{src:[c],ctx:b},a.id)})]})]})}async function _({recipe:a,embedded:b,ctx:c}){let d=await (0,v.A)("ResolvedProjectRecipe");if(D.A.isPreview())return(0,t.jsx)(G,{});let e=await a5.getRecipeType(a.type,c);if(!e)return null;let f=a.summary.inputs,g=a.summary.outputs,h=e.type.localized_name||await V.getRecipeTypeName(e.type.id);return(0,t.jsx)("div",{className:"clear-both space-y-2! [&>table]:mt-0",children:(0,t.jsx)(z.A,{keys:["ResponsiveTable"],children:(0,t.jsx)(T.default,{embedded:b,expandedBody:e.workbenches.length>0&&(0,t.jsx)("div",{children:(0,t.jsx)($,{workbenches:e.workbenches,ctx:c})}),columns:[{key:"type",label:d("type")},{key:"input",label:d("input")},{key:"output",label:d("output")},{key:"preview",label:d("preview")}],rows:[{type:{className:"align-middle whitespace-nowrap",data:(0,t.jsx)("div",{className:"p-1.5 text-center sm:p-0",children:h})},input:{className:"align-top",data:(0,t.jsx)("ul",{className:"w-max pl-4",children:f.sort((a,b)=>b.count-a.count).map(async({count:a,item:b,tag:d},e)=>(0,t.jsx)("li",{children:(0,t.jsx)(S,{tag:d,count:a,item:await W(b),ctx:c})},e))})},output:{className:"align-top",data:(0,t.jsx)("ul",{className:"w-max max-w-60 pl-4",children:g.sort((a,b)=>b.count-a.count).map(async({count:a,item:b,tag:d},e)=>(0,t.jsx)("li",{children:(0,t.jsx)(S,{tag:d,count:a,item:await W(b),ctx:c})},e))})},preview:{data:(0,t.jsx)("div",{className:"my-2 w-max p-2 sm:p-0",children:(0,t.jsx)(Z,{recipe:a,type:e.type,ctx:c})})}}]})})})}async function aa(a,b){return ab({...b,ctx:a})}async function ab({id:a,ctx:b}){let c=await a5.getProjectRecipe(a,b);return c?(0,t.jsx)(_,{recipe:c,ctx:b}):null}async function ac(a){return"contentId"in a?ad({ctx:a}):null}async function ad({ctx:a}){let b=await (0,v.A)("PrefabObtaining"),c=await a5.getContentRecipeObtaining(a.contentId,a);return(0,t.jsxs)("div",{children:[(0,t.jsx)(u.default,{id:"recipe",className:"clear-both",children:b("recipe")}),D.A.isPreview()?(0,t.jsx)(G,{}):c?.map(b=>(0,t.jsx)("div",{children:(0,t.jsx)(_,{recipe:b,ctx:a})},b.id))]})}var ae=c(19061);let af=(0,c(5591).F)("relative w-full rounded-sm border p-3 [&>svg]:absolute [&>svg]:top-3 [&>svg]:left-3 [&>svg]:text-primary [&>svg]:rtl:right-3 [&>svg+div]:translate-y-[-3px] [&>svg~*]:pl-7 [&>svg~*]:rtl:pr-7",{variants:{variant:{note:"border-blue-400/50 text-blue-300/90 [&>svg]:text-blue-300",tip:"border-green-300/50 text-green-300/85 [&>svg]:text-green-300/90",important:"border-purple-400/50 text-purple-300/90 [&>svg]:text-purple-300",warning:"border-warning text-warning [&>svg]:text-warning",caution:"border-red-400/50 text-red-300/90 [&>svg]:text-red-300"}},defaultVariants:{variant:"note"}}),ag=ae.forwardRef(({className:a,variant:b,...c},d)=>(0,t.jsx)("div",{ref:d,role:"alert",className:(0,Q.cn)(af({variant:b}),a),...c}));ag.displayName="Alert";let ah=ae.forwardRef(({className:a,...b},c)=>(0,t.jsx)("h5",{ref:c,className:(0,Q.cn)("mb-2 leading-none font-medium tracking-tight",a),...b}));ah.displayName="AlertTitle";let ai=ae.forwardRef(({className:a,...b},c)=>(0,t.jsx)("div",{ref:c,className:(0,Q.cn)("text-sm [&_p]:leading-relaxed",a),...b}));ai.displayName="AlertDescription";var aj=c(995),ak=c(62098),al=c(39447),am=c(54682),an=c(81390),ao=c(98978);let ap={warning:aj.A,note:ak.A,tip:al.A,important:am.A,caution:an.A},aq={default:"note",info:"note",warning:"warning",danger:"caution",note:"note",tip:"tip",important:"important",caution:"caution"};function ar({variant:a="default",title:b,collapsible:c,collapsed:d,children:e}){let f=(0,E.A)("Callout"),g=aq[a]||"tip",h=ap[g]||ap.tip,i=c?"details":"div",j=c?"summary":"div";return(0,t.jsxs)(ag,{className:"not-prose my-4 flow-root w-auto bg-primary-alt/80 py-1",variant:g,children:[(0,t.jsx)(h,{className:"size-4"}),(0,t.jsxs)(i,{className:"group w-full translate-y-0!",open:!c||!d,children:[(0,t.jsxs)(j,{className:(0,Q.cn)("flex flex-row items-center justify-between py-2",c&&"cursor-pointer list-none [&::-webkit-details-marker]:hidden"),children:[(0,t.jsx)(ah,{className:"mb-0",children:b||f(g)}),c&&(0,t.jsx)(ao.default,{className:"size-4 group-open:rotate-180",animate:!1})]}),(0,t.jsx)(ai,{className:"col-start-auto mb-2 [&_a]:underline [&_a]:underline-offset-2",children:e})]})]})}var as=c(71864),at=c(56692),au=c(48098),av=c(51391);async function aw({codeblock:a}){let b=await (0,at.Z)(a,"github-dark"),c=function(a){if(a.length>0){let b=RegExp('title="(?<file>.*)"').exec(a);return b?.groups?.file??a}return null}(b.meta);return(0,t.jsxs)("div",{className:"group relative rounded-sm",children:[(0,t.jsx)("div",{className:(0,Q.cn)("absolute",null==c?"top-1.5 right-1.5 p-1.5":"top-8 right-1 p-1"),children:(0,t.jsx)(z.A,{keys:["CopyButton"],children:(0,t.jsx)(av.CopyButton,{text:b.code})})}),c&&(0,t.jsx)("div",{className:"bg-code-alt text-secondary-alt rounded-sm rounded-b-none px-2.5 py-1.5 font-mono text-sm",children:c}),(0,t.jsx)(au.A,{className:(0,Q.cn)("m-0! rounded-sm",null!==c&&"rounded-t-none"),code:b})]})}var ax=c(34118),ay=c(75068),az=c(68711),aA=c(34051);let aB=ax.eB.extend({tabs:ay.YO(ax.NG)});async function aC(a){let{tabs:b}=(0,ax.qX)(a,aB);return(0,t.jsx)(aD,{tabs:b})}async function aD(a){let{tabs:b}=a,c=await Promise.all(b.map(a=>(0,at.Z)(a,aA.A)));return(0,t.jsxs)(az.Tabs,{defaultValue:b[0]?.meta,children:[(0,t.jsx)(az.TabsList,{className:"bg-code-alt w-full justify-start rounded-b-none",children:b.map(a=>(0,t.jsx)(az.TabsTrigger,{value:a.meta,className:"data-[state=active]:bg-code-tab-active px-2 py-1.5 text-sm",children:a.meta},a.meta))}),b.map((a,b)=>(0,t.jsx)(az.TabsContent,{value:a.meta,className:"mt-0!",children:(0,t.jsx)(au.A,{code:c[b],className:"m-0! rounded-t-none"})},a.meta))]})}function aE(a,b){var c={...b,ctx:a};let{path:d,ctx:e}=c,f=(0,y.M$)(d,e);return(0,t.jsx)(x.A,{...c,href:f})}function aF(a,b){var c={...b,ctx:a};if(c.src&&"string"==typeof c.src&&c.src.startsWith("@")){let a=c.src.substring(1);return delete c.src,(0,t.jsx)(as.A,{...c,ctx:c.ctx,location:a})}return(0,t.jsx)("img",{...c})}var aG=c(25970);function aH({id:a}){let b=`https://www.youtube-nocookie.com/embed/${a}`;return(0,t.jsx)(z.A,{keys:["VideoEmbedPlaceholder"],children:(0,t.jsx)(aG.default,{id:a,children:(0,t.jsx)("iframe",{className:"video-embed",src:b,title:"YouTube video player",frameBorder:"0",allow:"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share",referrerPolicy:"strict-origin-when-cross-origin",allowFullScreen:!0})})})}function aI(a,b,c){return function({ctx:a,links:b,...c}){let d=(0,E.A)("ExtendedLink"),e=null;return c.href&&"string"==typeof c.href&&!(e=(0,y.nm)(a,b,c.href))&&(c.href.startsWith("@")||c.href.startsWith("$")||c.href.startsWith("+"))?(0,t.jsx)("span",{className:"text-destructive",children:c.children??d("not_found")}):(0,t.jsx)(x.A,{...c,href:e?.url??c.href,children:c.children??e?.title??"(not found)"})}({...c,ctx:a,links:b})}async function aJ(a,b){return aK({...b,ctx:a})}async function aK(a){let{ctx:b}=a,c=(0,y._s)({slug:b.id,version:b.version||g.j4,locale:b.locale||g.Xn},a.id);return(0,t.jsx)(x.A,{...a,href:c})}async function aL(a,b){return aM({...b,ctx:a})}async function aM({src:a,ctx:b,...c}){let d=await a5.getAsset(a,b);return d?(0,t.jsx)("audio",{...c,src:d.src}):null}var aN=c(17436);let aO=[s.Os,{isAvailable:()=>null!=process.env.NEXT_PUBLIC_BACKEND_SERVICE_URL,create:()=>q}];function aP(a){return(...b)=>aQ(c=>a(c,...b))}async function aQ(a){for(let b of aO.filter(a=>a.isAvailable()).map(a=>a.create())){let c=a(b),d=await c;if(d)return d}return null}let aR=aP((a,b)=>a.getProject(b)),aS=aP((a,b)=>a.getBackendLayout(b));async function aT(a,b){let c=e.A.parse(a);if(!c)return null;let d=n.getBuiltinAsset(a,c,b);return null!=d?d:null==b?null:aQ(a=>a.getAsset(c,b))}async function aU(a,b){let c=e.A.parse(a);if(!c)return null;let d=n.getBuiltinAsset(a,c,b);return null!=d?d:null==b?null:aQ(a=>a.getItemAsset(c,b))}let aV=aP((a,b,c,d)=>a.getDocsPage(b,c||!1,d)),aW=aP((a,b)=>a.getDocsIndexPage(b));async function aX(a,b,c,d){return a2(await aV(a,b,c)||null,c,d)}async function aY(a,b){return a2(await aW(a)||null,a,b)}let aZ=aP((a,b,c,d,e)=>a.searchProjects(b,c,d,e)),a$=aP((a,b)=>a.getProjectContents(b)),a_=aP((a,b,c)=>a.getProjectContentPage(b,c)),a0=aP((a,b,c)=>a.getContentRecipeObtaining(b,c)),a1=aP((a,b,c)=>a.getContentRecipeUsage(b,c));async function a2(a,b,c){if(a){let d=await a4(a.content,a.links,!1,b,c);return{frontmatter:a.frontmatter,content:d,edit_url:a.edit_url,properties:a.properties,links:a.links}}return null}async function a3(a,b,c){return await a4(a,c,!0,b)}async function a4(a,b,c,d,e){let f={Asset:as.u.bind(null,d),Audio:aL.bind(null,d),CraftingRecipe:N.bind(null,d),ProjectRecipe:aa.bind(null,d),RecipeUsage:H.bind(null,d),h2:u.default,a:aI.bind(null,d,b),img:aF.bind(null,d),Callout:ar,CodeHikeCode:aw,CodeTabs:aC,VideoEmbed:aH,hint:aN.default,ModAsset:as.u.bind(null,d),ContentLink:aJ.bind(null,d),DocsLink:aE.bind(null,d)};return await r.A.renderDocumentationMarkdown(a,f,c,e)}let a5={getProject:aR,getBackendLayout:aS,getAsset:aT,getItemAsset:aU,getDocsPage:aV,renderDocsPage:aX,renderDocsIndexPage:aY,searchProjects:aZ,getProjectContents:a$,getProjectRecipe:aP((a,b,c)=>a.getProjectRecipe(b,c)),renderProjectContentPage:async function(a,b){return a2(await a_(a,b),b,a=>({PrefabUsage:J.bind(null,b),PrefabObtaining:ac.bind(null,b),...a}))},getContentRecipeUsage:a1,getProjectContentPage:a_,getContentRecipeObtaining:a0,getRecipeType:aP((a,b,c)=>a.getRecipeType(b,c)),renderInlineMarkdown:a3}},64714:(a,b,c)=>{"use strict";c.d(b,{default:()=>i});var d=c(67258),e=c(83459),f=c(46763),g=c(35269),h=c(90650);function i({columns:a,rows:b,embedded:c,expandedBody:i}){let[j,k]=(0,e.useState)(!1),l=(0,h.c)("ResponsiveTable");return(0,d.jsxs)("table",{className:(0,f.cn)("[&_td]:bg-primary-alt/50",c&&"mb-0"),children:[(0,d.jsx)("thead",{className:"hidden sm:table-header-group",children:(0,d.jsx)("tr",{children:a.map(a=>(0,d.jsx)("th",{className:"",children:a.label},a.key))})}),(0,d.jsxs)("tbody",{children:[b.map((b,c)=>(0,d.jsx)("tr",{className:"block border-0 sm:table-row",children:a.map(a=>(0,d.jsxs)("td",{className:(0,f.cn)("block border-b sm:table-cell sm:border",b[a.key].className),"data-label":a.label,children:[(0,d.jsx)("div",{className:"mb-1 font-semibold text-primary-alt sm:hidden",children:a.label}),(0,d.jsx)("div",{children:b[a.key].data})]},a.key))},c)),(0,d.jsx)("tr",{children:(0,d.jsx)("td",{colSpan:a.length,className:"no-table-bs group cursor-pointer bg-table-soft!",onClick:()=>k(!j),"data-open":j,children:(0,d.jsxs)("div",{className:"my-0.5 flex w-full flex-row items-center justify-end gap-4 text-secondary",children:[(0,d.jsx)("span",{className:"text-sm",children:l("expand")}),(0,d.jsx)("span",{children:(0,d.jsx)(g.A,{className:"size-4 group-data-[open=true]:rotate-180"})})]})})}),j&&(0,d.jsx)("tr",{children:(0,d.jsx)("td",{colSpan:a.length,className:"no-table-bs no-table-padding",children:i})})]})]})}},66377:(a,b,c)=>{Promise.resolve().then(c.bind(c,24194)),Promise.resolve().then(c.bind(c,79011))},68711:(a,b,c)=>{"use strict";c.r(b),c.d(b,{Tabs:()=>e,TabsContent:()=>h,TabsList:()=>f,TabsTrigger:()=>g});var d=c(9968);let e=(0,d.registerClientReference)(function(){throw Error("Attempted to call Tabs() from the server but Tabs 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/tabs.tsx","Tabs"),f=(0,d.registerClientReference)(function(){throw Error("Attempted to call TabsList() from the server but TabsList 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/tabs.tsx","TabsList"),g=(0,d.registerClientReference)(function(){throw Error("Attempted to call TabsTrigger() from the server but TabsTrigger 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/tabs.tsx","TabsTrigger"),h=(0,d.registerClientReference)(function(){throw Error("Attempted to call TabsContent() from the server but TabsContent 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/tabs.tsx","TabsContent")},71864:(a,b,c)=>{"use strict";c.d(b,{A:()=>h,u:()=>g});var d=c(60492),e=c(89019),f=c(27152);async function g(a,b){return h({...b,ctx:a})}async function h({location:a,item:b,itemSize:c,width:g,height:h,...i}){let j={width:c?32:g,height:c?32:h,...i,ctx:void 0};return(0,d.jsx)(e.A,{display:({asset:a})=>(0,d.jsx)(f.default,{asset:a,...j}),location:a,item:b,...i})}},72357:(a,b,c)=>{"use strict";c.r(b),c.d(b,{default:()=>d});let d=(0,c(9968).registerClientReference)(function(){throw Error("Attempted to call the default export of \"/home/runner/work/Wiki/Wiki/build/previewer/src/components/docs/shared/asset/ItemAssetDisplay.tsx\" from the server, but it's on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/home/runner/work/Wiki/Wiki/build/previewer/src/components/docs/shared/asset/ItemAssetDisplay.tsx","default")},72765:(a,b,c)=>{"use strict";c.d(b,{default:()=>f});var d=c(83459),e=c(23036);function f({project:a,children:b}){let{setProject:c}=(0,d.useContext)(e.o);return b}},76105:(a,b,c)=>{Promise.resolve().then(c.bind(c,96172)),Promise.resolve().then(c.bind(c,47729))},77806:(a,b,c)=>{"use strict";c.d(b,{M:()=>f,default:()=>g});var d=c(67258),e=c(83459);let f=(0,e.createContext)(null);function g({children:a}){let[b,c]=(0,e.useState)(!1),g=(0,e.useMemo)(()=>({hover:b,setHover:c}),[b]),h=e.Children.map(a,a=>(0,e.isValidElement)(a)?(0,e.cloneElement)(a,{onMouseEnter:()=>c(!0),onMouseLeave:()=>c(!1),...a.props}):a);return(0,d.jsx)(f.Provider,{value:g,children:(0,d.jsx)(d.Fragment,{children:h})})}},79011:(a,b,c)=>{"use strict";c.d(b,{default:()=>e}),c(83459);var d=c(45580);function e(){return(0,d.useRouter)(),null}},79321:(a,b,c)=>{"use strict";function d(a){return a.join("/")}c.d(b,{U:()=>d}),c(72408),c(59727),c(41133),c(98312)},79459:(a,b,c)=>{"use strict";c.r(b),c.d(b,{default:()=>p,fetchCache:()=>n,generateMetadata:()=>o});var d=c(60492),e=c(46662),f=c(61237),g=c(99040),h=c(59727),i=c(12461),j=c(36275),k=c(87837),l=c(50691),m=c(60227);let n="default-cache";async function o(a,b){let{slug:c,version:d,locale:e}=await a.params,g=await f.A.getProject({id:c,version:d,locale:e});if(!g)return{title:(await b).title?.absolute};let h=await k.A.getPlatformProjectOrNull(g);return h?{title:`${h.name} - ${(await b).title?.absolute}`,openGraph:{images:[`/api/og?slug=${c}&locale=${e}`]}}:{title:(await b).title?.absolute}}async function p(a){let{slug:b,version:c,locale:n}=await a.params,{children:o}=a;(0,e.GE)(n);let p=await f.A.getProject({id:b,version:c,locale:n});if(!p)return(0,h.notFound)();let q=await k.A.getPlatformProjectOrNull(p);return q?(0,d.jsx)(i.default,{children:(0,d.jsx)(j.default,{children:(0,d.jsx)(m.default,{project:p,children:(0,d.jsx)(l.A,{keys:["DocsPageError","DocsPageNotFound","ProjectTypes","ProjectCategories","PageEditControls","DocsVersionSelector","LanguageSelect","ModVersionRange"],children:(0,d.jsx)(g.default,{project:p,locale:n,version:c,platformProject:q,children:o})})})})}):(0,h.notFound)()}},80756:(a,b,c)=>{"use strict";c.r(b),c.d(b,{Tooltip:()=>i,TooltipContent:()=>k,TooltipProvider:()=>h,TooltipTrigger:()=>j});var d=c(67258),e=c(83459),f=c(18645),g=c(46763);let h=f.Kq,i=f.bL,j=f.l9,k=e.forwardRef(({className:a,sideOffset:b=4,...c},e)=>(0,d.jsx)(f.UC,{ref:e,sideOffset:b,className:(0,g.cn)("border-tertiary bg-primary-alt text-primary-alt z-50 animate-in overflow-hidden overscroll-contain rounded-md border px-3 py-1.5 text-sm shadow-md fade-in-0 zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95",a),...c}));k.displayName=f.UC.displayName},82201:(a,b,c)=>{"use strict";c.d(b,{A:()=>g});var d=c(60492),e=c(83739),f=c(97102);function g(){let a=(0,e.A)("Badges");return(0,d.jsx)(f.E,{variant:"destructive",children:a("local")})}},84339:(a,b,c)=>{"use strict";c.d(b,{$:()=>f,default:()=>g});var d=c(67258),e=c(83459);let f=(0,e.createContext)(null);function g({children:a}){let[b,c]=(0,e.useState)(!1),[g,h]=(0,e.useState)({}),[i,j]=(0,e.useState)(0);return(0,d.jsx)(f.Provider,{value:{open:b,setOpen:c,folderStates:g,setFolderStates:h,scrollPos:i,setScrollPos:j},children:a})}},84531:(a,b,c)=>{"use strict";c.r(b),c.d(b,{default:()=>h});var d=c(67258),e=c(83459),f=c(50614),g=c(46763);function h({asset:a,width:b,height:c,alt:h,title:i,noTitle:j,...k}){let l=(0,e.useRef)(null),[m,n]=(0,e.useState)(a.src);return(0,d.jsx)("div",{...k,className:(0,g.cn)("overflow-hidden",k.className),style:{width:`${b||32}px`,height:`${c||32}px`},children:(0,d.jsx)("img",{ref:l,width:b||32,height:c||32,src:m,alt:h||a.id,title:j?void 0:i||f.A.parse(a.id)?.path,loading:"eager"})})}},88703:(a,b,c)=>{"use strict";c.r(b),c.d(b,{default:()=>d});let d=(0,c(9968).registerClientReference)(function(){throw Error("Attempted to call the default export of \"/home/runner/work/Wiki/Wiki/build/previewer/src/components/docs/LinkAwareHeading.tsx\" from the server, but it's on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/home/runner/work/Wiki/Wiki/build/previewer/src/components/docs/LinkAwareHeading.tsx","default")},89019:(a,b,c)=>{"use strict";c.d(b,{A:()=>f});var d=c(60492),e=c(61237);async function f({location:a,ctx:b,item:c,display:f,...g}){let h=c?await e.A.getItemAsset(a,b):await e.A.getAsset(a,b);return h?(0,d.jsx)(f,{asset:h,...g}):(0,d.jsx)("span",{className:"bg-secondary p-0.5",children:a})}},92609:(a,b,c)=>{"use strict";c.d(b,{default:()=>h,p:()=>g});var d=c(67258),e=c(83459),f=c(99688);let g=(0,e.createContext)(null);function h({children:a}){(0,f.a8)();let[b,c]=(0,e.useState)("none");return(0,d.jsx)(g.Provider,{value:{open:b,setOpen:c},children:a})}},97366:(a,b,c)=>{Promise.resolve().then(c.bind(c,72712)),Promise.resolve().then(c.bind(c,39442)),Promise.resolve().then(c.bind(c,63300)),Promise.resolve().then(c.bind(c,24194)),Promise.resolve().then(c.bind(c,68388)),Promise.resolve().then(c.t.bind(c,3065,23)),Promise.resolve().then(c.t.bind(c,52432,23)),Promise.resolve().then(c.bind(c,60180)),Promise.resolve().then(c.bind(c,9610)),Promise.resolve().then(c.bind(c,60765)),Promise.resolve().then(c.bind(c,4902)),Promise.resolve().then(c.bind(c,84531)),Promise.resolve().then(c.bind(c,5888)),Promise.resolve().then(c.bind(c,32330)),Promise.resolve().then(c.bind(c,35006)),Promise.resolve().then(c.bind(c,51660)),Promise.resolve().then(c.bind(c,92609)),Promise.resolve().then(c.bind(c,84339)),Promise.resolve().then(c.bind(c,72765)),Promise.resolve().then(c.bind(c,77806)),Promise.resolve().then(c.bind(c,64714)),Promise.resolve().then(c.bind(c,24641)),Promise.resolve().then(c.bind(c,41049)),Promise.resolve().then(c.bind(c,26712))},98978:(a,b,c)=>{"use strict";c.d(b,{default:()=>d});let d=(0,c(9968).registerClientReference)(function(){throw Error("Attempted to call the default export of \"/home/runner/work/Wiki/Wiki/packages/ui/src/util/ToggleChevron.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/packages/ui/src/util/ToggleChevron.tsx","default")},99040:(a,b,c)=>{"use strict";c.d(b,{default:()=>d});let d=(0,c(9968).registerClientReference)(function(){throw Error("Attempted to call the default export of \"/home/runner/work/Wiki/Wiki/build/previewer/src/components/docs/layout/DocsLayoutClient.tsx\" from the server, but it's on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/home/runner/work/Wiki/Wiki/build/previewer/src/components/docs/layout/DocsLayoutClient.tsx","default")},99688:(a,b,c)=>{"use strict";c.d(b,{XO:()=>h,a8:()=>j});var d=c(92404),e=c(37626),f=c(27774);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)}};
@@ -17,11 +17,11 @@
17
17
  "wasm": [],
18
18
  "assets": [],
19
19
  "env": {
20
- "__NEXT_BUILD_ID": "_-oYPpEZTnklQhLVgBZXG",
21
- "NEXT_SERVER_ACTIONS_ENCRYPTION_KEY": "IZ93iFwfojQeBdNSHvZ0RIZsgiuiK/4+01EsBk2AYHI=",
22
- "__NEXT_PREVIEW_MODE_ID": "27580ff6e415783894cf9b7121d9786a",
23
- "__NEXT_PREVIEW_MODE_SIGNING_KEY": "d3f3a309c9d19d0389018daa162ca60ec0af93d84da1bc0d4b38a0bc06b14c44",
24
- "__NEXT_PREVIEW_MODE_ENCRYPTION_KEY": "d741696fbea1da542e023ec290ab5311ab93744ebbe6131526b46c4228e2fe07"
20
+ "__NEXT_BUILD_ID": "Bbl1kmS1XNNk11h2myHVO",
21
+ "NEXT_SERVER_ACTIONS_ENCRYPTION_KEY": "Erw2t5enGcYuqqjTE8tn9G0+fsCe5Z00R5RTTdcO+a4=",
22
+ "__NEXT_PREVIEW_MODE_ID": "224508695982f3731546e71087298833",
23
+ "__NEXT_PREVIEW_MODE_SIGNING_KEY": "0ca1a55a3178b24effcb04a9ce586b1a219c65d60efff4d041f9602382af7b36",
24
+ "__NEXT_PREVIEW_MODE_ENCRYPTION_KEY": "a725e907920d50113b13d39472aae7e6a66c7bc2699a456e52a7060b5bc3c959"
25
25
  }
26
26
  }
27
27
  },
@@ -60,11 +60,11 @@
60
60
  }
61
61
  ],
62
62
  "env": {
63
- "__NEXT_BUILD_ID": "_-oYPpEZTnklQhLVgBZXG",
64
- "NEXT_SERVER_ACTIONS_ENCRYPTION_KEY": "IZ93iFwfojQeBdNSHvZ0RIZsgiuiK/4+01EsBk2AYHI=",
65
- "__NEXT_PREVIEW_MODE_ID": "27580ff6e415783894cf9b7121d9786a",
66
- "__NEXT_PREVIEW_MODE_SIGNING_KEY": "d3f3a309c9d19d0389018daa162ca60ec0af93d84da1bc0d4b38a0bc06b14c44",
67
- "__NEXT_PREVIEW_MODE_ENCRYPTION_KEY": "d741696fbea1da542e023ec290ab5311ab93744ebbe6131526b46c4228e2fe07"
63
+ "__NEXT_BUILD_ID": "Bbl1kmS1XNNk11h2myHVO",
64
+ "NEXT_SERVER_ACTIONS_ENCRYPTION_KEY": "Erw2t5enGcYuqqjTE8tn9G0+fsCe5Z00R5RTTdcO+a4=",
65
+ "__NEXT_PREVIEW_MODE_ID": "224508695982f3731546e71087298833",
66
+ "__NEXT_PREVIEW_MODE_SIGNING_KEY": "0ca1a55a3178b24effcb04a9ce586b1a219c65d60efff4d041f9602382af7b36",
67
+ "__NEXT_PREVIEW_MODE_ENCRYPTION_KEY": "a725e907920d50113b13d39472aae7e6a66c7bc2699a456e52a7060b5bc3c959"
68
68
  }
69
69
  }
70
70
  },
@@ -1,4 +1,4 @@
1
- <!DOCTYPE html><!--__oYPpEZTnklQhLVgBZXG--><html lang="en" data-theme="dark" class="cc--darkmode"><head><meta charSet="utf-8"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="preload" href="/_next/static/media/e4af272ccee01ff0-s.p.woff2" as="font" crossorigin="" type="font/woff2"/><link rel="stylesheet" href="/_next/static/css/7e7d96b1e6991756.css" data-precedence="next"/><link rel="stylesheet" href="/_next/static/css/88688c974376cfbc.css" data-precedence="next"/><link rel="preload" as="script" fetchPriority="low" href="/_next/static/chunks/webpack-7a8a7ce50d8a8bf1.js"/><script src="/_next/static/chunks/f09a7b3f-0881157292385d93.js" async=""></script><script src="/_next/static/chunks/9029-351988b104898677.js" async=""></script><script src="/_next/static/chunks/main-app-3dc09e85d508d671.js" async=""></script><script src="/_next/static/chunks/7671-a057238de3da6733.js" async=""></script><script src="/_next/static/chunks/app/layout-3165efcf5806a69a.js" async=""></script><script src="/_next/static/chunks/9957-f2551dce9714ec05.js" async=""></script><script src="/_next/static/chunks/4021-4ed620e833362864.js" async=""></script><script src="/_next/static/chunks/app/error-071f9f60fcee43d3.js" async=""></script><script src="/_next/static/chunks/app/not-found-ea05d09b42b69998.js" async=""></script><script src="/_next/static/chunks/9585-1b3d4db6576d361c.js" async=""></script><script src="/_next/static/chunks/app/global-error-ce091b1452efe213.js" async=""></script><meta name="robots" content="noindex"/><meta name="next-size-adjust" content=""/><title>Modded Minecraft Wiki</title><meta name="description" content="The Wiki for all of Modded Minecraft. Presented by Sinytra."/><meta name="darkreader-lock" content="true"/><meta property="og:title" content="Modded Minecraft Wiki"/><meta property="og:description" content="The Wiki for all of Modded Minecraft. Presented by Sinytra."/><meta property="og:site_name" content="Modded Minecraft Wiki"/><meta property="og:image:alt" content="Modded Minecraft Wiki"/><meta property="og:image:type" content="image/png"/><meta property="og:image" content="http://localhost:3000/opengraph-image?292bad25743f8d37"/><meta property="og:image:width" content="1200"/><meta property="og:image:height" content="630"/><meta property="og:type" content="website"/><meta name="twitter:card" content="summary_large_image"/><meta name="twitter:title" content="Modded Minecraft Wiki"/><meta name="twitter:description" content="The Wiki for all of Modded Minecraft. Presented by Sinytra."/><meta name="twitter:image:alt" content="Modded Minecraft Wiki"/><meta name="twitter:image:type" content="image/png"/><meta name="twitter:image" content="http://localhost:3000/opengraph-image?292bad25743f8d37"/><meta name="twitter:image:width" content="1200"/><meta name="twitter:image:height" content="630"/><link rel="icon" href="/favicon.ico" type="image/x-icon" sizes="64x64"/><script type="application/ld+json">{"@context":"https://schema.org","@type":"WebSite","name":"Modded Minecraft Wiki","alternateName":["Sinytra Wiki","MMW"]}</script><script src="/_next/static/chunks/polyfills-42372ed130431b0a.js" noModule=""></script></head><body class="__className_f367f3 flex min-h-screen flex-col bg-primary text-primary"><div hidden=""><!--$--><!--/$--></div><style>
1
+ <!DOCTYPE html><!--Bbl1kmS1XNNk11h2myHVO--><html lang="en" data-theme="dark" class="cc--darkmode"><head><meta charSet="utf-8"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="preload" href="/_next/static/media/e4af272ccee01ff0-s.p.woff2" as="font" crossorigin="" type="font/woff2"/><link rel="stylesheet" href="/_next/static/css/7e7d96b1e6991756.css" data-precedence="next"/><link rel="stylesheet" href="/_next/static/css/88688c974376cfbc.css" data-precedence="next"/><link rel="preload" as="script" fetchPriority="low" href="/_next/static/chunks/webpack-7a8a7ce50d8a8bf1.js"/><script src="/_next/static/chunks/f09a7b3f-0881157292385d93.js" async=""></script><script src="/_next/static/chunks/9029-351988b104898677.js" async=""></script><script src="/_next/static/chunks/main-app-3dc09e85d508d671.js" async=""></script><script src="/_next/static/chunks/7671-a057238de3da6733.js" async=""></script><script src="/_next/static/chunks/app/layout-3165efcf5806a69a.js" async=""></script><script src="/_next/static/chunks/9957-f2551dce9714ec05.js" async=""></script><script src="/_next/static/chunks/4021-4ed620e833362864.js" async=""></script><script src="/_next/static/chunks/app/error-071f9f60fcee43d3.js" async=""></script><script src="/_next/static/chunks/app/not-found-ea05d09b42b69998.js" async=""></script><script src="/_next/static/chunks/9585-1b3d4db6576d361c.js" async=""></script><script src="/_next/static/chunks/app/global-error-ce091b1452efe213.js" async=""></script><meta name="robots" content="noindex"/><meta name="next-size-adjust" content=""/><title>Modded Minecraft Wiki</title><meta name="description" content="The Wiki for all of Modded Minecraft. Presented by Sinytra."/><meta name="darkreader-lock" content="true"/><meta property="og:title" content="Modded Minecraft Wiki"/><meta property="og:description" content="The Wiki for all of Modded Minecraft. Presented by Sinytra."/><meta property="og:site_name" content="Modded Minecraft Wiki"/><meta property="og:image:alt" content="Modded Minecraft Wiki"/><meta property="og:image:type" content="image/png"/><meta property="og:image" content="http://localhost:3000/opengraph-image?292bad25743f8d37"/><meta property="og:image:width" content="1200"/><meta property="og:image:height" content="630"/><meta property="og:type" content="website"/><meta name="twitter:card" content="summary_large_image"/><meta name="twitter:title" content="Modded Minecraft Wiki"/><meta name="twitter:description" content="The Wiki for all of Modded Minecraft. Presented by Sinytra."/><meta name="twitter:image:alt" content="Modded Minecraft Wiki"/><meta name="twitter:image:type" content="image/png"/><meta name="twitter:image" content="http://localhost:3000/opengraph-image?292bad25743f8d37"/><meta name="twitter:image:width" content="1200"/><meta name="twitter:image:height" content="630"/><link rel="icon" href="/favicon.ico" type="image/x-icon" sizes="64x64"/><script type="application/ld+json">{"@context":"https://schema.org","@type":"WebSite","name":"Modded Minecraft Wiki","alternateName":["Sinytra Wiki","MMW"]}</script><script src="/_next/static/chunks/polyfills-42372ed130431b0a.js" noModule=""></script></head><body class="__className_f367f3 flex min-h-screen flex-col bg-primary text-primary"><div hidden=""><!--$--><!--/$--></div><style>
2
2
  :root {
3
3
  --bprogress-color: var(--color-progressbar);
4
4
  --bprogress-height: 2px;
@@ -119,4 +119,4 @@
119
119
  from { left: -80%; width: 80%; }
120
120
  to { left: 110%; width: 10%; }
121
121
  }
122
- </style><!--$!--><template data-dgst="BAILOUT_TO_CLIENT_SIDE_RENDERING"></template><!--/$--><!--$--><!--/$--><div class="m-auto flex flex-col items-center justify-center gap-4 p-4"><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-telescope size-32 rounded-xs opacity-100" aria-hidden="true"><path d="m10.065 12.493-6.18 1.318a.934.934 0 0 1-1.108-.702l-.537-2.15a1.07 1.07 0 0 1 .691-1.265l13.504-4.44"></path><path d="m13.56 11.747 4.332-.924"></path><path d="m16 21-3.105-6.21"></path><path d="M16.485 5.94a2 2 0 0 1 1.455-2.425l1.09-.272a1 1 0 0 1 1.212.727l1.515 6.06a1 1 0 0 1-.727 1.213l-1.09.272a2 2 0 0 1-2.425-1.455z"></path><path d="m6.158 8.633 1.114 4.456"></path><path d="m8 21 3.105-6.21"></path><circle cx="12" cy="13" r="2"></circle></svg><h1 class="my-2 text-5xl text-primary">404 Not Found</h1><p class="text-secondary">Whoops! Could not find the requested resource.</p><a class="inline-flex items-center justify-center rounded-sm text-sm font-medium whitespace-nowrap ring-offset-background transition-colors focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 focus-visible:outline-hidden disabled:pointer-events-none disabled:opacity-50 border border-primary bg-primary text-primary hover:bg-secondary/90 h-10 px-4 py-2 mt-4" href="/"><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-house mr-2 h-4 w-4" aria-hidden="true"><path d="M15 21v-8a1 1 0 0 0-1-1h-4a1 1 0 0 0-1 1v8"></path><path d="M3 10a2 2 0 0 1 .709-1.528l7-6a2 2 0 0 1 2.582 0l7 6A2 2 0 0 1 21 10v9a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z"></path></svg>Return Home</a></div><!--$--><!--/$--><script src="/_next/static/chunks/webpack-7a8a7ce50d8a8bf1.js" id="_R_" async=""></script><script>(self.__next_f=self.__next_f||[]).push([0])</script><script>self.__next_f.push([1,"1:\"$Sreact.fragment\"\n2:I[62078,[\"7671\",\"static/chunks/7671-a057238de3da6733.js\",\"7177\",\"static/chunks/app/layout-3165efcf5806a69a.js\"],\"default\"]\n3:I[94806,[\"7671\",\"static/chunks/7671-a057238de3da6733.js\",\"7177\",\"static/chunks/app/layout-3165efcf5806a69a.js\"],\"NuqsAdapter\"]\n4:I[19668,[],\"\"]\n5:I[86089,[\"9957\",\"static/chunks/9957-f2551dce9714ec05.js\",\"4021\",\"static/chunks/4021-4ed620e833362864.js\",\"8039\",\"static/chunks/app/error-071f9f60fcee43d3.js\"],\"default\"]\n6:I[30674,[],\"\"]\n7:I[96462,[\"9957\",\"static/chunks/9957-f2551dce9714ec05.js\",\"4345\",\"static/chunks/app/not-found-ea05d09b42b69998.js\"],\"default\"]\n8:I[19957,[\"9957\",\"static/chunks/9957-f2551dce9714ec05.js\",\"4345\",\"static/chunks/app/not-found-ea05d09b42b69998.js\"],\"\"]\n9:I[94513,[],\"OutletBoundary\"]\nb:I[25644,[],\"AsyncMetadataOutlet\"]\nf:I[9078,[\"9585\",\"static/chunks/9585-1b3d4db6576d361c.js\",\"4219\",\"static/chunks/app/global-error-ce091b1452efe213.js\"],\"default\"]\n:HL[\"/_next/static/media/e4af272ccee01ff0-s.p.woff2\",\"font\",{\"crossOrigin\":\"\",\"type\":\"font/woff2\"}]\n:HL[\"/_next/static/css/7e7d96b1e6991756.css\",\"style\"]\n:HL[\"/_next/static/css/88688c974376cfbc.css\",\"style\"]\n"])</script><script>self.__next_f.push([1,"0:{\"P\":null,\"b\":\"_-oYPpEZTnklQhLVgBZXG\",\"p\":\"\",\"c\":[\"\",\"_not-found\"],\"i\":false,\"f\":[[[\"\",{\"children\":[\"/_not-found\",{\"children\":[\"__PAGE__\",{}]}]},\"$undefined\",\"$undefined\",true],[\"\",[\"$\",\"$1\",\"c\",{\"children\":[[[\"$\",\"link\",\"0\",{\"rel\":\"stylesheet\",\"href\":\"/_next/static/css/7e7d96b1e6991756.css\",\"precedence\":\"next\",\"crossOrigin\":\"$undefined\",\"nonce\":\"$undefined\"}],[\"$\",\"link\",\"1\",{\"rel\":\"stylesheet\",\"href\":\"/_next/static/css/88688c974376cfbc.css\",\"precedence\":\"next\",\"crossOrigin\":\"$undefined\",\"nonce\":\"$undefined\"}]],[\"$\",\"html\",null,{\"lang\":\"en\",\"data-theme\":\"dark\",\"className\":\"cc--darkmode\",\"children\":[[\"$\",\"head\",null,{\"children\":[\"$\",\"script\",null,{\"type\":\"application/ld+json\",\"dangerouslySetInnerHTML\":{\"__html\":\"{\\\"@context\\\":\\\"https://schema.org\\\",\\\"@type\\\":\\\"WebSite\\\",\\\"name\\\":\\\"Modded Minecraft Wiki\\\",\\\"alternateName\\\":[\\\"Sinytra Wiki\\\",\\\"MMW\\\"]}\"}}]}],[\"$\",\"body\",null,{\"className\":\"__className_f367f3 flex min-h-screen flex-col bg-primary text-primary\",\"children\":[\"$\",\"$L2\",null,{\"children\":[\"$\",\"$L3\",null,{\"children\":[\"$\",\"$L4\",null,{\"parallelRouterKey\":\"children\",\"error\":\"$5\",\"errorStyles\":[],\"errorScripts\":[],\"template\":[\"$\",\"$L6\",null,{}],\"templateStyles\":\"$undefined\",\"templateScripts\":\"$undefined\",\"notFound\":[[\"$\",\"div\",null,{\"className\":\"m-auto flex flex-col items-center justify-center gap-4 p-4\",\"children\":[[\"$\",\"$L7\",null,{\"ref\":\"$undefined\",\"iconNode\":[[\"path\",{\"d\":\"m10.065 12.493-6.18 1.318a.934.934 0 0 1-1.108-.702l-.537-2.15a1.07 1.07 0 0 1 .691-1.265l13.504-4.44\",\"key\":\"k4qptu\"}],[\"path\",{\"d\":\"m13.56 11.747 4.332-.924\",\"key\":\"19l80z\"}],[\"path\",{\"d\":\"m16 21-3.105-6.21\",\"key\":\"7oh9d\"}],[\"path\",{\"d\":\"M16.485 5.94a2 2 0 0 1 1.455-2.425l1.09-.272a1 1 0 0 1 1.212.727l1.515 6.06a1 1 0 0 1-.727 1.213l-1.09.272a2 2 0 0 1-2.425-1.455z\",\"key\":\"m7xp4m\"}],[\"path\",{\"d\":\"m6.158 8.633 1.114 4.456\",\"key\":\"74o979\"}],[\"path\",{\"d\":\"m8 21 3.105-6.21\",\"key\":\"1fvxut\"}],[\"circle\",{\"cx\":\"12\",\"cy\":\"13\",\"r\":\"2\",\"key\":\"1c1ljs\"}]],\"className\":\"lucide-telescope size-32 rounded-xs opacity-100\"}],[\"$\",\"h1\",null,{\"className\":\"my-2 text-5xl text-primary\",\"children\":\"404 Not Found\"}],[\"$\",\"p\",null,{\"className\":\"text-secondary\",\"children\":\"Whoops! Could not find the requested resource.\"}],[\"$\",\"$L8\",null,{\"prefetch\":false,\"href\":\"/\",\"children\":[[\"$\",\"$L7\",null,{\"ref\":\"$undefined\",\"iconNode\":[[\"path\",{\"d\":\"M15 21v-8a1 1 0 0 0-1-1h-4a1 1 0 0 0-1 1v8\",\"key\":\"5wwlr5\"}],[\"path\",{\"d\":\"M3 10a2 2 0 0 1 .709-1.528l7-6a2 2 0 0 1 2.582 0l7 6A2 2 0 0 1 21 10v9a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z\",\"key\":\"r6nss1\"}]],\"className\":\"lucide-house mr-2 h-4 w-4\"}],\"Return Home\"],\"className\":\"inline-flex items-center justify-center rounded-sm text-sm font-medium whitespace-nowrap ring-offset-background transition-colors focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 focus-visible:outline-hidden disabled:pointer-events-none disabled:opacity-50 border border-primary bg-primary text-primary hover:bg-secondary/90 h-10 px-4 py-2 mt-4\",\"ref\":\"$undefined\"}]]}],[]],\"forbidden\":\"$undefined\",\"unauthorized\":\"$undefined\"}]}]}]}]]}]]}],{\"children\":[\"/_not-found\",[\"$\",\"$1\",\"c\",{\"children\":[null,[\"$\",\"$L4\",null,{\"parallelRouterKey\":\"children\",\"error\":\"$undefined\",\"errorStyles\":\"$undefined\",\"errorScripts\":\"$undefined\",\"template\":[\"$\",\"$L6\",null,{}],\"templateStyles\":\"$undefined\",\"templateScripts\":\"$undefined\",\"notFound\":\"$undefined\",\"forbidden\":\"$undefined\",\"unauthorized\":\"$undefined\"}]]}],{\"children\":[\"__PAGE__\",[\"$\",\"$1\",\"c\",{\"children\":[[\"$\",\"div\",null,{\"className\":\"m-auto flex flex-col items-center justify-center gap-4 p-4\",\"children\":[[\"$\",\"$L7\",null,{\"ref\":\"$undefined\",\"iconNode\":\"$0:f:0:1:1:props:children:1:props:children:1:props:children:props:children:props:children:props:notFound:0:props:children:0:props:iconNode\",\"className\":\"lucide-telescope size-32 rounded-xs opacity-100\"}],[\"$\",\"h1\",null,{\"className\":\"my-2 text-5xl text-primary\",\"children\":\"404 Not Found\"}],[\"$\",\"p\",null,{\"className\":\"text-secondary\",\"children\":\"Whoops! Could not find the requested resource.\"}],[\"$\",\"$L8\",null,{\"prefetch\":false,\"href\":\"/\",\"children\":[[\"$\",\"$L7\",null,{\"ref\":\"$undefined\",\"iconNode\":\"$0:f:0:1:1:props:children:1:props:children:1:props:children:props:children:props:children:props:notFound:0:props:children:3:props:children:0:props:iconNode\",\"className\":\"lucide-house mr-2 h-4 w-4\"}],\"Return Home\"],\"className\":\"inline-flex items-center justify-center rounded-sm text-sm font-medium whitespace-nowrap ring-offset-background transition-colors focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 focus-visible:outline-hidden disabled:pointer-events-none disabled:opacity-50 border border-primary bg-primary text-primary hover:bg-secondary/90 h-10 px-4 py-2 mt-4\",\"ref\":\"$undefined\"}]]}],null,[\"$\",\"$L9\",null,{\"children\":[\"$La\",[\"$\",\"$Lb\",null,{\"promise\":\"$@c\"}]]}]]}],{},null,false]},null,false]},null,false],[\"$\",\"$1\",\"h\",{\"children\":[[\"$\",\"meta\",null,{\"name\":\"robots\",\"content\":\"noindex\"}],\"$Ld\",\"$Le\"]}],false]],\"m\":\"$undefined\",\"G\":[\"$f\",[]],\"s\":false,\"S\":true}\n"])</script><script>self.__next_f.push([1,"10:I[94513,[],\"ViewportBoundary\"]\n12:I[94513,[],\"MetadataBoundary\"]\n13:\"$Sreact.suspense\"\nd:[[\"$\",\"$L10\",null,{\"children\":\"$L11\"}],[\"$\",\"meta\",null,{\"name\":\"next-size-adjust\",\"content\":\"\"}]]\ne:[\"$\",\"$L12\",null,{\"children\":[\"$\",\"div\",null,{\"hidden\":true,\"children\":[\"$\",\"$13\",null,{\"fallback\":null,\"children\":\"$L14\"}]}]}]\n"])</script><script>self.__next_f.push([1,"11:[[\"$\",\"meta\",\"0\",{\"charSet\":\"utf-8\"}],[\"$\",\"meta\",\"1\",{\"name\":\"viewport\",\"content\":\"width=device-width, initial-scale=1\"}]]\na:null\n"])</script><script>self.__next_f.push([1,"15:I[81460,[],\"IconMark\"]\n"])</script><script>self.__next_f.push([1,"c:{\"metadata\":[[\"$\",\"title\",\"0\",{\"children\":\"Modded Minecraft Wiki\"}],[\"$\",\"meta\",\"1\",{\"name\":\"description\",\"content\":\"The Wiki for all of Modded Minecraft. Presented by Sinytra.\"}],[\"$\",\"meta\",\"2\",{\"name\":\"darkreader-lock\",\"content\":\"true\"}],[\"$\",\"meta\",\"3\",{\"property\":\"og:title\",\"content\":\"Modded Minecraft Wiki\"}],[\"$\",\"meta\",\"4\",{\"property\":\"og:description\",\"content\":\"The Wiki for all of Modded Minecraft. Presented by Sinytra.\"}],[\"$\",\"meta\",\"5\",{\"property\":\"og:site_name\",\"content\":\"Modded Minecraft Wiki\"}],[\"$\",\"meta\",\"6\",{\"property\":\"og:image:alt\",\"content\":\"Modded Minecraft Wiki\"}],[\"$\",\"meta\",\"7\",{\"property\":\"og:image:type\",\"content\":\"image/png\"}],[\"$\",\"meta\",\"8\",{\"property\":\"og:image\",\"content\":\"http://localhost:3000/opengraph-image?292bad25743f8d37\"}],[\"$\",\"meta\",\"9\",{\"property\":\"og:image:width\",\"content\":\"1200\"}],[\"$\",\"meta\",\"10\",{\"property\":\"og:image:height\",\"content\":\"630\"}],[\"$\",\"meta\",\"11\",{\"property\":\"og:type\",\"content\":\"website\"}],[\"$\",\"meta\",\"12\",{\"name\":\"twitter:card\",\"content\":\"summary_large_image\"}],[\"$\",\"meta\",\"13\",{\"name\":\"twitter:title\",\"content\":\"Modded Minecraft Wiki\"}],[\"$\",\"meta\",\"14\",{\"name\":\"twitter:description\",\"content\":\"The Wiki for all of Modded Minecraft. Presented by Sinytra.\"}],[\"$\",\"meta\",\"15\",{\"name\":\"twitter:image:alt\",\"content\":\"Modded Minecraft Wiki\"}],[\"$\",\"meta\",\"16\",{\"name\":\"twitter:image:type\",\"content\":\"image/png\"}],[\"$\",\"meta\",\"17\",{\"name\":\"twitter:image\",\"content\":\"http://localhost:3000/opengraph-image?292bad25743f8d37\"}],[\"$\",\"meta\",\"18\",{\"name\":\"twitter:image:width\",\"content\":\"1200\"}],[\"$\",\"meta\",\"19\",{\"name\":\"twitter:image:height\",\"content\":\"630\"}],[\"$\",\"link\",\"20\",{\"rel\":\"icon\",\"href\":\"/favicon.ico\",\"type\":\"image/x-icon\",\"sizes\":\"64x64\"}],[\"$\",\"$L15\",\"21\",{}]],\"error\":null,\"digest\":\"$undefined\"}\n"])</script><script>self.__next_f.push([1,"14:\"$c:metadata\"\n"])</script></body></html>
122
+ </style><!--$!--><template data-dgst="BAILOUT_TO_CLIENT_SIDE_RENDERING"></template><!--/$--><!--$--><!--/$--><div class="m-auto flex flex-col items-center justify-center gap-4 p-4"><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-telescope size-32 rounded-xs opacity-100" aria-hidden="true"><path d="m10.065 12.493-6.18 1.318a.934.934 0 0 1-1.108-.702l-.537-2.15a1.07 1.07 0 0 1 .691-1.265l13.504-4.44"></path><path d="m13.56 11.747 4.332-.924"></path><path d="m16 21-3.105-6.21"></path><path d="M16.485 5.94a2 2 0 0 1 1.455-2.425l1.09-.272a1 1 0 0 1 1.212.727l1.515 6.06a1 1 0 0 1-.727 1.213l-1.09.272a2 2 0 0 1-2.425-1.455z"></path><path d="m6.158 8.633 1.114 4.456"></path><path d="m8 21 3.105-6.21"></path><circle cx="12" cy="13" r="2"></circle></svg><h1 class="my-2 text-5xl text-primary">404 Not Found</h1><p class="text-secondary">Whoops! Could not find the requested resource.</p><a class="inline-flex items-center justify-center rounded-sm text-sm font-medium whitespace-nowrap ring-offset-background transition-colors focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 focus-visible:outline-hidden disabled:pointer-events-none disabled:opacity-50 border border-primary bg-primary text-primary hover:bg-secondary/90 h-10 px-4 py-2 mt-4" href="/"><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-house mr-2 h-4 w-4" aria-hidden="true"><path d="M15 21v-8a1 1 0 0 0-1-1h-4a1 1 0 0 0-1 1v8"></path><path d="M3 10a2 2 0 0 1 .709-1.528l7-6a2 2 0 0 1 2.582 0l7 6A2 2 0 0 1 21 10v9a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z"></path></svg>Return Home</a></div><!--$--><!--/$--><script src="/_next/static/chunks/webpack-7a8a7ce50d8a8bf1.js" id="_R_" async=""></script><script>(self.__next_f=self.__next_f||[]).push([0])</script><script>self.__next_f.push([1,"1:\"$Sreact.fragment\"\n2:I[62078,[\"7671\",\"static/chunks/7671-a057238de3da6733.js\",\"7177\",\"static/chunks/app/layout-3165efcf5806a69a.js\"],\"default\"]\n3:I[94806,[\"7671\",\"static/chunks/7671-a057238de3da6733.js\",\"7177\",\"static/chunks/app/layout-3165efcf5806a69a.js\"],\"NuqsAdapter\"]\n4:I[19668,[],\"\"]\n5:I[86089,[\"9957\",\"static/chunks/9957-f2551dce9714ec05.js\",\"4021\",\"static/chunks/4021-4ed620e833362864.js\",\"8039\",\"static/chunks/app/error-071f9f60fcee43d3.js\"],\"default\"]\n6:I[30674,[],\"\"]\n7:I[96462,[\"9957\",\"static/chunks/9957-f2551dce9714ec05.js\",\"4345\",\"static/chunks/app/not-found-ea05d09b42b69998.js\"],\"default\"]\n8:I[19957,[\"9957\",\"static/chunks/9957-f2551dce9714ec05.js\",\"4345\",\"static/chunks/app/not-found-ea05d09b42b69998.js\"],\"\"]\n9:I[94513,[],\"OutletBoundary\"]\nb:I[25644,[],\"AsyncMetadataOutlet\"]\nf:I[9078,[\"9585\",\"static/chunks/9585-1b3d4db6576d361c.js\",\"4219\",\"static/chunks/app/global-error-ce091b1452efe213.js\"],\"default\"]\n:HL[\"/_next/static/media/e4af272ccee01ff0-s.p.woff2\",\"font\",{\"crossOrigin\":\"\",\"type\":\"font/woff2\"}]\n:HL[\"/_next/static/css/7e7d96b1e6991756.css\",\"style\"]\n:HL[\"/_next/static/css/88688c974376cfbc.css\",\"style\"]\n"])</script><script>self.__next_f.push([1,"0:{\"P\":null,\"b\":\"Bbl1kmS1XNNk11h2myHVO\",\"p\":\"\",\"c\":[\"\",\"_not-found\"],\"i\":false,\"f\":[[[\"\",{\"children\":[\"/_not-found\",{\"children\":[\"__PAGE__\",{}]}]},\"$undefined\",\"$undefined\",true],[\"\",[\"$\",\"$1\",\"c\",{\"children\":[[[\"$\",\"link\",\"0\",{\"rel\":\"stylesheet\",\"href\":\"/_next/static/css/7e7d96b1e6991756.css\",\"precedence\":\"next\",\"crossOrigin\":\"$undefined\",\"nonce\":\"$undefined\"}],[\"$\",\"link\",\"1\",{\"rel\":\"stylesheet\",\"href\":\"/_next/static/css/88688c974376cfbc.css\",\"precedence\":\"next\",\"crossOrigin\":\"$undefined\",\"nonce\":\"$undefined\"}]],[\"$\",\"html\",null,{\"lang\":\"en\",\"data-theme\":\"dark\",\"className\":\"cc--darkmode\",\"children\":[[\"$\",\"head\",null,{\"children\":[\"$\",\"script\",null,{\"type\":\"application/ld+json\",\"dangerouslySetInnerHTML\":{\"__html\":\"{\\\"@context\\\":\\\"https://schema.org\\\",\\\"@type\\\":\\\"WebSite\\\",\\\"name\\\":\\\"Modded Minecraft Wiki\\\",\\\"alternateName\\\":[\\\"Sinytra Wiki\\\",\\\"MMW\\\"]}\"}}]}],[\"$\",\"body\",null,{\"className\":\"__className_f367f3 flex min-h-screen flex-col bg-primary text-primary\",\"children\":[\"$\",\"$L2\",null,{\"children\":[\"$\",\"$L3\",null,{\"children\":[\"$\",\"$L4\",null,{\"parallelRouterKey\":\"children\",\"error\":\"$5\",\"errorStyles\":[],\"errorScripts\":[],\"template\":[\"$\",\"$L6\",null,{}],\"templateStyles\":\"$undefined\",\"templateScripts\":\"$undefined\",\"notFound\":[[\"$\",\"div\",null,{\"className\":\"m-auto flex flex-col items-center justify-center gap-4 p-4\",\"children\":[[\"$\",\"$L7\",null,{\"ref\":\"$undefined\",\"iconNode\":[[\"path\",{\"d\":\"m10.065 12.493-6.18 1.318a.934.934 0 0 1-1.108-.702l-.537-2.15a1.07 1.07 0 0 1 .691-1.265l13.504-4.44\",\"key\":\"k4qptu\"}],[\"path\",{\"d\":\"m13.56 11.747 4.332-.924\",\"key\":\"19l80z\"}],[\"path\",{\"d\":\"m16 21-3.105-6.21\",\"key\":\"7oh9d\"}],[\"path\",{\"d\":\"M16.485 5.94a2 2 0 0 1 1.455-2.425l1.09-.272a1 1 0 0 1 1.212.727l1.515 6.06a1 1 0 0 1-.727 1.213l-1.09.272a2 2 0 0 1-2.425-1.455z\",\"key\":\"m7xp4m\"}],[\"path\",{\"d\":\"m6.158 8.633 1.114 4.456\",\"key\":\"74o979\"}],[\"path\",{\"d\":\"m8 21 3.105-6.21\",\"key\":\"1fvxut\"}],[\"circle\",{\"cx\":\"12\",\"cy\":\"13\",\"r\":\"2\",\"key\":\"1c1ljs\"}]],\"className\":\"lucide-telescope size-32 rounded-xs opacity-100\"}],[\"$\",\"h1\",null,{\"className\":\"my-2 text-5xl text-primary\",\"children\":\"404 Not Found\"}],[\"$\",\"p\",null,{\"className\":\"text-secondary\",\"children\":\"Whoops! Could not find the requested resource.\"}],[\"$\",\"$L8\",null,{\"prefetch\":false,\"href\":\"/\",\"children\":[[\"$\",\"$L7\",null,{\"ref\":\"$undefined\",\"iconNode\":[[\"path\",{\"d\":\"M15 21v-8a1 1 0 0 0-1-1h-4a1 1 0 0 0-1 1v8\",\"key\":\"5wwlr5\"}],[\"path\",{\"d\":\"M3 10a2 2 0 0 1 .709-1.528l7-6a2 2 0 0 1 2.582 0l7 6A2 2 0 0 1 21 10v9a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z\",\"key\":\"r6nss1\"}]],\"className\":\"lucide-house mr-2 h-4 w-4\"}],\"Return Home\"],\"className\":\"inline-flex items-center justify-center rounded-sm text-sm font-medium whitespace-nowrap ring-offset-background transition-colors focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 focus-visible:outline-hidden disabled:pointer-events-none disabled:opacity-50 border border-primary bg-primary text-primary hover:bg-secondary/90 h-10 px-4 py-2 mt-4\",\"ref\":\"$undefined\"}]]}],[]],\"forbidden\":\"$undefined\",\"unauthorized\":\"$undefined\"}]}]}]}]]}]]}],{\"children\":[\"/_not-found\",[\"$\",\"$1\",\"c\",{\"children\":[null,[\"$\",\"$L4\",null,{\"parallelRouterKey\":\"children\",\"error\":\"$undefined\",\"errorStyles\":\"$undefined\",\"errorScripts\":\"$undefined\",\"template\":[\"$\",\"$L6\",null,{}],\"templateStyles\":\"$undefined\",\"templateScripts\":\"$undefined\",\"notFound\":\"$undefined\",\"forbidden\":\"$undefined\",\"unauthorized\":\"$undefined\"}]]}],{\"children\":[\"__PAGE__\",[\"$\",\"$1\",\"c\",{\"children\":[[\"$\",\"div\",null,{\"className\":\"m-auto flex flex-col items-center justify-center gap-4 p-4\",\"children\":[[\"$\",\"$L7\",null,{\"ref\":\"$undefined\",\"iconNode\":\"$0:f:0:1:1:props:children:1:props:children:1:props:children:props:children:props:children:props:notFound:0:props:children:0:props:iconNode\",\"className\":\"lucide-telescope size-32 rounded-xs opacity-100\"}],[\"$\",\"h1\",null,{\"className\":\"my-2 text-5xl text-primary\",\"children\":\"404 Not Found\"}],[\"$\",\"p\",null,{\"className\":\"text-secondary\",\"children\":\"Whoops! Could not find the requested resource.\"}],[\"$\",\"$L8\",null,{\"prefetch\":false,\"href\":\"/\",\"children\":[[\"$\",\"$L7\",null,{\"ref\":\"$undefined\",\"iconNode\":\"$0:f:0:1:1:props:children:1:props:children:1:props:children:props:children:props:children:props:notFound:0:props:children:3:props:children:0:props:iconNode\",\"className\":\"lucide-house mr-2 h-4 w-4\"}],\"Return Home\"],\"className\":\"inline-flex items-center justify-center rounded-sm text-sm font-medium whitespace-nowrap ring-offset-background transition-colors focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 focus-visible:outline-hidden disabled:pointer-events-none disabled:opacity-50 border border-primary bg-primary text-primary hover:bg-secondary/90 h-10 px-4 py-2 mt-4\",\"ref\":\"$undefined\"}]]}],null,[\"$\",\"$L9\",null,{\"children\":[\"$La\",[\"$\",\"$Lb\",null,{\"promise\":\"$@c\"}]]}]]}],{},null,false]},null,false]},null,false],[\"$\",\"$1\",\"h\",{\"children\":[[\"$\",\"meta\",null,{\"name\":\"robots\",\"content\":\"noindex\"}],\"$Ld\",\"$Le\"]}],false]],\"m\":\"$undefined\",\"G\":[\"$f\",[]],\"s\":false,\"S\":true}\n"])</script><script>self.__next_f.push([1,"10:I[94513,[],\"ViewportBoundary\"]\n12:I[94513,[],\"MetadataBoundary\"]\n13:\"$Sreact.suspense\"\nd:[[\"$\",\"$L10\",null,{\"children\":\"$L11\"}],[\"$\",\"meta\",null,{\"name\":\"next-size-adjust\",\"content\":\"\"}]]\ne:[\"$\",\"$L12\",null,{\"children\":[\"$\",\"div\",null,{\"hidden\":true,\"children\":[\"$\",\"$13\",null,{\"fallback\":null,\"children\":\"$L14\"}]}]}]\n"])</script><script>self.__next_f.push([1,"11:[[\"$\",\"meta\",\"0\",{\"charSet\":\"utf-8\"}],[\"$\",\"meta\",\"1\",{\"name\":\"viewport\",\"content\":\"width=device-width, initial-scale=1\"}]]\na:null\n"])</script><script>self.__next_f.push([1,"15:I[81460,[],\"IconMark\"]\n"])</script><script>self.__next_f.push([1,"c:{\"metadata\":[[\"$\",\"title\",\"0\",{\"children\":\"Modded Minecraft Wiki\"}],[\"$\",\"meta\",\"1\",{\"name\":\"description\",\"content\":\"The Wiki for all of Modded Minecraft. Presented by Sinytra.\"}],[\"$\",\"meta\",\"2\",{\"name\":\"darkreader-lock\",\"content\":\"true\"}],[\"$\",\"meta\",\"3\",{\"property\":\"og:title\",\"content\":\"Modded Minecraft Wiki\"}],[\"$\",\"meta\",\"4\",{\"property\":\"og:description\",\"content\":\"The Wiki for all of Modded Minecraft. Presented by Sinytra.\"}],[\"$\",\"meta\",\"5\",{\"property\":\"og:site_name\",\"content\":\"Modded Minecraft Wiki\"}],[\"$\",\"meta\",\"6\",{\"property\":\"og:image:alt\",\"content\":\"Modded Minecraft Wiki\"}],[\"$\",\"meta\",\"7\",{\"property\":\"og:image:type\",\"content\":\"image/png\"}],[\"$\",\"meta\",\"8\",{\"property\":\"og:image\",\"content\":\"http://localhost:3000/opengraph-image?292bad25743f8d37\"}],[\"$\",\"meta\",\"9\",{\"property\":\"og:image:width\",\"content\":\"1200\"}],[\"$\",\"meta\",\"10\",{\"property\":\"og:image:height\",\"content\":\"630\"}],[\"$\",\"meta\",\"11\",{\"property\":\"og:type\",\"content\":\"website\"}],[\"$\",\"meta\",\"12\",{\"name\":\"twitter:card\",\"content\":\"summary_large_image\"}],[\"$\",\"meta\",\"13\",{\"name\":\"twitter:title\",\"content\":\"Modded Minecraft Wiki\"}],[\"$\",\"meta\",\"14\",{\"name\":\"twitter:description\",\"content\":\"The Wiki for all of Modded Minecraft. Presented by Sinytra.\"}],[\"$\",\"meta\",\"15\",{\"name\":\"twitter:image:alt\",\"content\":\"Modded Minecraft Wiki\"}],[\"$\",\"meta\",\"16\",{\"name\":\"twitter:image:type\",\"content\":\"image/png\"}],[\"$\",\"meta\",\"17\",{\"name\":\"twitter:image\",\"content\":\"http://localhost:3000/opengraph-image?292bad25743f8d37\"}],[\"$\",\"meta\",\"18\",{\"name\":\"twitter:image:width\",\"content\":\"1200\"}],[\"$\",\"meta\",\"19\",{\"name\":\"twitter:image:height\",\"content\":\"630\"}],[\"$\",\"link\",\"20\",{\"rel\":\"icon\",\"href\":\"/favicon.ico\",\"type\":\"image/x-icon\",\"sizes\":\"64x64\"}],[\"$\",\"$L15\",\"21\",{}]],\"error\":null,\"digest\":\"$undefined\"}\n"])</script><script>self.__next_f.push([1,"14:\"$c:metadata\"\n"])</script></body></html>
@@ -1 +1 @@
1
- <!DOCTYPE html><html><head><meta charSet="utf-8" data-next-head=""/><meta name="viewport" content="width=device-width" data-next-head=""/><title data-next-head="">500: Internal Server Error</title><noscript data-n-css=""></noscript><script defer="" noModule="" src="/_next/static/chunks/polyfills-42372ed130431b0a.js"></script><script src="/_next/static/chunks/webpack-7a8a7ce50d8a8bf1.js" defer=""></script><script src="/_next/static/chunks/framework-5133fb0fc71835c7.js" defer=""></script><script src="/_next/static/chunks/main-c8dfadc3bb2249ef.js" defer=""></script><script src="/_next/static/chunks/pages/_app-16852d725be4f9d4.js" defer=""></script><script src="/_next/static/chunks/pages/_error-bb68fa12ffbbfe8f.js" defer=""></script><script src="/_next/static/_-oYPpEZTnklQhLVgBZXG/_buildManifest.js" defer=""></script><script src="/_next/static/_-oYPpEZTnklQhLVgBZXG/_ssgManifest.js" defer=""></script></head><body><div id="__next"><div style="font-family:system-ui,&quot;Segoe UI&quot;,Roboto,Helvetica,Arial,sans-serif,&quot;Apple Color Emoji&quot;,&quot;Segoe UI Emoji&quot;;height:100vh;text-align:center;display:flex;flex-direction:column;align-items:center;justify-content:center"><div style="line-height:48px"><style>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)}}</style><h1 class="next-error-h1" style="display:inline-block;margin:0 20px 0 0;padding-right:23px;font-size:24px;font-weight:500;vertical-align:top">500</h1><div style="display:inline-block"><h2 style="font-size:14px;font-weight:400;line-height:28px">Internal Server Error<!-- -->.</h2></div></div></div></div><script id="__NEXT_DATA__" type="application/json">{"props":{"pageProps":{"statusCode":500}},"page":"/_error","query":{},"buildId":"_-oYPpEZTnklQhLVgBZXG","nextExport":true,"isFallback":false,"gip":true,"scriptLoader":[]}</script></body></html>
1
+ <!DOCTYPE html><html><head><meta charSet="utf-8" data-next-head=""/><meta name="viewport" content="width=device-width" data-next-head=""/><title data-next-head="">500: Internal Server Error</title><noscript data-n-css=""></noscript><script defer="" noModule="" src="/_next/static/chunks/polyfills-42372ed130431b0a.js"></script><script src="/_next/static/chunks/webpack-7a8a7ce50d8a8bf1.js" defer=""></script><script src="/_next/static/chunks/framework-5133fb0fc71835c7.js" defer=""></script><script src="/_next/static/chunks/main-c8dfadc3bb2249ef.js" defer=""></script><script src="/_next/static/chunks/pages/_app-16852d725be4f9d4.js" defer=""></script><script src="/_next/static/chunks/pages/_error-bb68fa12ffbbfe8f.js" defer=""></script><script src="/_next/static/Bbl1kmS1XNNk11h2myHVO/_buildManifest.js" defer=""></script><script src="/_next/static/Bbl1kmS1XNNk11h2myHVO/_ssgManifest.js" defer=""></script></head><body><div id="__next"><div style="font-family:system-ui,&quot;Segoe UI&quot;,Roboto,Helvetica,Arial,sans-serif,&quot;Apple Color Emoji&quot;,&quot;Segoe UI Emoji&quot;;height:100vh;text-align:center;display:flex;flex-direction:column;align-items:center;justify-content:center"><div style="line-height:48px"><style>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)}}</style><h1 class="next-error-h1" style="display:inline-block;margin:0 20px 0 0;padding-right:23px;font-size:24px;font-weight:500;vertical-align:top">500</h1><div style="display:inline-block"><h2 style="font-size:14px;font-weight:400;line-height:28px">Internal Server Error<!-- -->.</h2></div></div></div></div><script id="__NEXT_DATA__" type="application/json">{"props":{"pageProps":{"statusCode":500}},"page":"/_error","query":{},"buildId":"Bbl1kmS1XNNk11h2myHVO","nextExport":true,"isFallback":false,"gip":true,"scriptLoader":[]}</script></body></html>
@@ -1 +1 @@
1
- {"node":{},"edge":{},"encryptionKey":"IZ93iFwfojQeBdNSHvZ0RIZsgiuiK/4+01EsBk2AYHI="}
1
+ {"node":{},"edge":{},"encryptionKey":"Erw2t5enGcYuqqjTE8tn9G0+fsCe5Z00R5RTTdcO+a4="}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sinytra/wiki-previewer",
3
- "version": "0.1.128",
3
+ "version": "0.1.129",
4
4
  "type": "module",
5
5
  "bin": {
6
6
  "wiki-previewer": "./bin/entrypoint.mjs"