@sinytra/wiki-previewer 0.1.110 → 0.1.113

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 (75) hide show
  1. package/.next/BUILD_ID +1 -1
  2. package/.next/app-build-manifest.json +44 -44
  3. package/.next/app-path-routes-manifest.json +3 -3
  4. package/.next/build-manifest.json +2 -2
  5. package/.next/prerender-manifest.json +23 -23
  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.js +2 -2
  8. package/.next/server/app/[locale]/(main)/project/[slug]/[version]/content/[id]/page.js.nft.json +1 -1
  9. package/.next/server/app/[locale]/(main)/project/[slug]/[version]/content/[id]/page_client-reference-manifest.js +1 -1
  10. package/.next/server/app/[locale]/(main)/project/[slug]/[version]/content/page.js +2 -2
  11. package/.next/server/app/[locale]/(main)/project/[slug]/[version]/content/page.js.nft.json +1 -1
  12. package/.next/server/app/[locale]/(main)/project/[slug]/[version]/content/page_client-reference-manifest.js +1 -1
  13. package/.next/server/app/[locale]/(main)/project/[slug]/[version]/docs/[...path]/page.js +2 -2
  14. package/.next/server/app/[locale]/(main)/project/[slug]/[version]/docs/[...path]/page.js.nft.json +1 -1
  15. package/.next/server/app/[locale]/(main)/project/[slug]/[version]/docs/[...path]/page_client-reference-manifest.js +1 -1
  16. package/.next/server/app/[locale]/(main)/project/[slug]/[version]/docs/page.js +2 -2
  17. package/.next/server/app/[locale]/(main)/project/[slug]/[version]/docs/page.js.nft.json +1 -1
  18. package/.next/server/app/[locale]/(main)/project/[slug]/[version]/docs/page_client-reference-manifest.js +1 -1
  19. package/.next/server/app/[locale]/(main)/project/[slug]/[version]/page.js +2 -2
  20. package/.next/server/app/[locale]/(main)/project/[slug]/[version]/page.js.nft.json +1 -1
  21. package/.next/server/app/[locale]/(main)/project/[slug]/[version]/page_client-reference-manifest.js +1 -1
  22. package/.next/server/app/[locale]/page_client-reference-manifest.js +1 -1
  23. package/.next/server/app/_not-found/page_client-reference-manifest.js +1 -1
  24. package/.next/server/app/_not-found.html +2 -2
  25. package/.next/server/app/_not-found.rsc +2 -2
  26. package/.next/server/app/opengraph-image/route_client-reference-manifest.js +1 -1
  27. package/.next/server/app/robots.txt/route_client-reference-manifest.js +1 -1
  28. package/.next/server/app/sitemap.xml/route_client-reference-manifest.js +1 -1
  29. package/.next/server/app-paths-manifest.json +3 -3
  30. package/.next/server/chunks/140.js +1 -1
  31. package/.next/server/chunks/2313.js +1 -1
  32. package/.next/server/chunks/2351.js +1 -1
  33. package/.next/server/chunks/2744.js +1 -0
  34. package/.next/server/chunks/3383.js +1 -1
  35. package/.next/server/chunks/3721.js +1 -1
  36. package/.next/server/chunks/3765.js +1 -1
  37. package/.next/server/chunks/4104.js +1 -1
  38. package/.next/server/chunks/4895.js +1 -1
  39. package/.next/server/chunks/4915.js +1 -1
  40. package/.next/server/chunks/6126.js +1 -1
  41. package/.next/server/chunks/617.js +1 -1
  42. package/.next/server/chunks/6323.js +1 -1
  43. package/.next/server/chunks/6413.js +1 -1
  44. package/.next/server/chunks/700.js +1 -1
  45. package/.next/server/chunks/7045.js +1 -1
  46. package/.next/server/chunks/7388.js +1 -1
  47. package/.next/server/chunks/7708.js +1 -1
  48. package/.next/server/chunks/9785.js +1 -1
  49. package/.next/server/middleware-manifest.json +10 -10
  50. package/.next/server/pages/404.html +2 -2
  51. package/.next/server/pages/500.html +1 -1
  52. package/.next/server/server-reference-manifest.json +1 -1
  53. package/.next/server/src/middleware.js +2 -2
  54. package/.next/static/chunks/103-17dcfd4e9416f734.js +1 -0
  55. package/.next/static/chunks/2709-491f94e4985f09ae.js +1 -0
  56. package/.next/static/chunks/{4536-071b06b5a711ad42.js → 4536-b2658d4e93fb12b4.js} +1 -1
  57. package/.next/static/chunks/{3553-506ce584fea768cf.js → 4874-3e09f112ef80ea5d.js} +1 -1
  58. package/.next/static/chunks/app/[locale]/(main)/project/[slug]/[version]/content/[id]/page-f917d61dfe842550.js +1 -0
  59. package/.next/static/chunks/app/[locale]/(main)/project/[slug]/[version]/content/{page-0b2c82d77932fd90.js → page-76d531b594c7d03d.js} +1 -1
  60. package/.next/static/chunks/app/[locale]/(main)/project/[slug]/[version]/docs/[...path]/page-e96ff6c62d9c7f0e.js +1 -0
  61. package/.next/static/chunks/app/[locale]/(main)/project/[slug]/[version]/docs/{page-b8ff84b8f8a18911.js → page-61b026af43fa6493.js} +1 -1
  62. package/.next/static/chunks/app/[locale]/(main)/project/[slug]/[version]/layout-2d40733903300974.js +1 -0
  63. package/.next/static/chunks/app/[locale]/(main)/project/[slug]/[version]/{page-140dbff46c1506ca.js → page-db1403a0467da47b.js} +1 -1
  64. package/.next/static/chunks/app/[locale]/{layout-46bc3cbf8afcbd68.js → layout-607fb3570f758fcf.js} +1 -1
  65. package/.next/static/css/292ace91b735b152.css +1 -0
  66. package/package.json +1 -1
  67. package/.next/server/chunks/3644.js +0 -1
  68. package/.next/static/chunks/400-0311e393c4ee6984.js +0 -1
  69. package/.next/static/chunks/9792-6c91b823e0100f80.js +0 -1
  70. package/.next/static/chunks/app/[locale]/(main)/project/[slug]/[version]/content/[id]/page-46523becf0e40998.js +0 -1
  71. package/.next/static/chunks/app/[locale]/(main)/project/[slug]/[version]/docs/[...path]/page-96dfc18176056715.js +0 -1
  72. package/.next/static/chunks/app/[locale]/(main)/project/[slug]/[version]/layout-dc32ce22a0cd968f.js +0 -1
  73. package/.next/static/css/36c40ae0ce89526d.css +0 -1
  74. /package/.next/static/{YhPICO9e2U4CTMQyXUchD → InP_oo14OdOd9yLMgqv6u}/_buildManifest.js +0 -0
  75. /package/.next/static/{YhPICO9e2U4CTMQyXUchD → InP_oo14OdOd9yLMgqv6u}/_ssgManifest.js +0 -0
@@ -1 +1 @@
1
- "use strict";exports.id=140,exports.ids=[140],exports.modules={70140:a=>{a.exports=JSON.parse('{"Badges":{"local":"本機","latest":"最新","admin":"管理員"},"NavigationHeader":{"title":"Modded Minecraft Wiki","title_short":"Wiki","badge":{"preview":"預覽模式","beta":"Beta 版"},"link":{"home":"首頁","browse":"瀏覽","about":"關於"}},"NavigationFooter":{"title":"Modded Minecraft Wiki","links":{"navigation":{"title":"導覽","home":"首頁","browse":"瀏覽","dev":"開發人員"},"links":{"title":"連結"},"resources":{"title":"資源","blog":"部落格","status":"狀態","translate":"協助我們翻譯"},"about":{"title":"關於","tos":"服務條款","privacy":"隱私權政策","contact":"聯絡我們"}}},"HomePage":{"title":"歡迎使用 <highlight>Modded Minecraft Wiki</highlight>","subtitle":"您探索、建立和貢獻 Minecraft 相關專案的首選資源。","popular":{"title":"熱門 Wiki","open":"閱讀更多","disclaimer":"這些專案是根據其透過瀏覽次數統計所顯示的受歡迎程度來突顯的,且並未獲得 Modded Minecraft Wiki 的官方認可。"},"community":{"title":"加入我們的社群","users":{"title":"使用者","subtitle":"探索我們的精選專案,並體驗以下優點:","docs":"取得高品質、即時更新且區分版本的文件","contribute":"即使不懂程式設計,也能參與專案貢獻","ui":"在所有專案中,都能享有一致且使用者友善的介面。","localization":"受益於多語言支援"},"authors":{"title":"作者","subtitle":"取得專案儀表板的存取權,並體驗以下優點:","vcs":"您的文件版本控制支援","components":"用於合成配方、素材等的內建元件","gradle":"Gradle 整合,帶來無縫的工作流程","management":"進階專案管理工具","interaction":"與您的使用者群直接互動","dashboard":"開啟儀表板","guide":"閱讀更多"}},"browse":"瀏覽專案","highlights":{"localization":{"title":"在地化","desc":"讓文件走向世界"},"accessibility":{"title":"無障礙","desc":"直覺且反應靈敏的使用者介面"},"open":{"title":"開放","desc":"讓使用者共同參與,無需任何程式設計知識"},"free":{"title":"免費","desc":"在我們的網站上託管文件完全免費!"}},"about":{"title":"關於我們","maintainers":"這個 Wiki 是由 <b>Sinytra</b> 建立及維護,他們是由一群充滿熱忱的開發人員組成的專門團隊,致力於為 Minecraft 模組社群提供高品質、自由且開放原始碼的軟體。","mission":"我們的目標是協助模組製作者和玩家,提供他們所需的工具與資源,以便創造、記錄並探索經由模組改造的 Minecraft 所帶來的無限可能。"},"blog":{"title":"部落格文章","open":"閱讀更多"}},"BrowsePage":{"sidebar":{"title":"瀏覽專案","search_filters":"搜尋篩選...","categories":"分類"},"sorting":"排序依據","sort":{"relevance":"相關度","creation_date":"建立日期","popularity":"熱門程度","az":"A-Z","za":"Z-A"},"search":"搜尋專案...","clear_filter":"清除篩選器","no_results":"搜尋查詢沒有結果!"},"SearchProjectTypes":{"mod":"模組","modpack":"模組包","resourcepack":"資源包","datapack":"資料包","shader":"光影包","plugin":"插件"},"ProjectTypes":{"mod":"模組","modpack":"模組包","resourcepack":"資源包","datapack":"資料包","shader":"光影包","plugin":"插件","unknown":"Unknown"},"LoadingContent":{"message":"載入中..."},"MetaDocsNavigation":{"title":"導覽","about":"關於","devs":"作者指南","components":"元件","help":"取得協助","tos":"使用規定","privacy":"隱私權政策","security":"安全性通知"},"Login":{"title":"需要登入","desc":"您嘗試存取的頁面需要登入。","prompt":"請使用您的 GitHub 帳號繼續。","button":"使用 GitHub 登入"},"Preview":{"title":"預覽模式已啟用","desc":"預覽模式會啟用最小的使用者介面,讓您可以在發布前專注於在本機撰寫文件草稿。","roots":"可用的本機文件根目錄","open":"開啟"},"DocsProjectInfo":{"title":"專案資訊","type":"類型","author":"作者","tags":"標籤","latest":{"title":"最新版本","unknown":"N/A"},"license":{"title":"授權條款","custom":"自訂授權","unknown":"未知","arr":"版權所有"}},"ProjectCategories":{"adventure":"冒險","cursed":"惡搞","decoration":"裝飾","economy":"經濟","equipment":"裝備","food":"食物","game-mechanics":"遊戲機制","library":"程式庫","magic":"魔法","management":"管理","minigame":"小遊戲","mobs":"生物","optimization":"最佳化","social":"社交","storage":"儲物","technology":"科技","transportation":"運輸","utility":"便利工具","worldgen":"世界生成","server-utility":"伺服器實用工具","armor-weapons-tools":"盔甲、工具和武器","library-api":"API 和程式庫","adventure-rpg":"冒險和 RPG","world-gen":"世界生成","cosmetic":"外觀","mc-food":"食物","performance":"效能","map-information":"地圖和資訊","bug-fixes":"錯誤修正","mc-addons":"Addons","education":"教育","mc-miscellaneous":"其他","redstone":"紅石","utility-qol":"便利工具與生活品質","mc-creator":"MCreator"},"PageEditControls":{"edit_gh":"編輯這個頁面","report":"檢舉這個頁面","report_button":"檢舉頁面","last_updated":"上次更新時間:<date></date>"},"Report":{"title":"檢舉文件頁面","desc":"檢舉違反我們<tos>《服務條款》</tos>或<cr>《內容規範》</cr>的內容。","contact":"由於審核需要,您的<b>使用者名稱</b>將會包含在本檢舉內容中。","confidential":"我們很重視您的隱私,這些資訊會永遠保密。","privacy":"如需詳細資訊,請參閱我們的《<link>隱私權政策</link>》。","form":{"id":{"title":"專案 ID","desc":"被檢舉的專案 ID。"},"path":{"title":"頁面路徑","desc":"被檢舉的文件頁面路徑。"},"locale":{"title":"語系","desc":"若該頁面位於特定語言頁面中則需填入。","placeholder":"N/A"},"version":{"title":"版本","desc":"若該頁面位於特定版本頁面中則需填入。","placeholder":"N/A"},"reason":{"title":"原因*","placeholder":"選擇檢舉這個頁面的原因","desc":"檢舉該頁面的原因。","dislike":"我不喜歡它"},"details":{"title":"詳細資訊*","placeholder":"請提供更多關於您為何檢舉這個頁面的詳細資訊。請注意,空白的檢舉將會被忽略。","desc":"關於這個問題的額外詳細資訊。"},"dislike":{"title":"我們理解您可能不喜歡該頁面,這完全沒問題!","desc":"但很遺憾的是,這不是檢舉專案的有效理由。","suggestion":"您想看看其他頁面嗎?","explore":"瀏覽專案"},"submit":"提交","success":"檢舉提交成功"}},"ProjectReportReason":{"spam":"垃圾內容","copyright":"侵犯版權","content_rules":"違反《內容規範》","tos":"違反《服務條款》","unknown":"未知"},"ProjectReportStatus":{"new":"新","dismissed":"已忽略","accepted":"已受理","unknown":"未知"},"ProjectReportType":{"project":"專案","docs":"文件頁面","content":"內容頁面","unknown":"未知"},"ViewReportPage":{"reports":"檢舉","title":"詳細檢舉內容","desc":"正在檢視 {id} 的詳細檢舉內容","details":{"reporter":"檢舉者","project_id":"專案 ID","path":"位置","body":"正文","reason":"原因","created_at":"建立於","status":"狀態","type":"類型","locale":"語系","version":"版本"},"actions":{"dismiss":"忽略","accept":"同意"},"toast":{"accept":"已同意該檢舉","dismiss":"已忽略該檢舉"}},"Callout":{"default":"注意!","info":"訊息","warning":"警告","danger":"危險"},"ProjectRegisterForm":{"button":"新增專案","title":"登錄專案","desc":"向 Wiki 登錄一個新專案。","repo":{"title":"專案連結","desc":"用於複製您儲存庫的連結。","placeholder":"https://github.com/ExampleUser/ExampleMod"},"branch":{"title":"分支","desc":"主要分支參考。您可以在中繼資料檔案中指定要包含的其他分支。"},"path":{"title":"文件根目錄的路徑","desc":"包含中繼資料檔案的資料夾路徑。"},"admin":"Wiki 管理員設定","is_community":{"title":"社群維護的專案"},"errors":{"details":"顯示詳細資訊"},"connect_modrinth":{"desc":"在設定中連結您的 <b>Modrinth 帳號</b>,以便隨實驗正該平台專案的所有權。","settings":"開啟設定"},"submit":"提交","success":{"title":"專案登錄成功","desc":"您現在可以導覽至專案的文件頁面"},"submitting":"提交中...","verify_modrinth":"使用 Modrinth 驗證","submission":{"clone":"正在複製儲存庫並驗證後設資料。","note":"複製較大的儲存庫可能會需要較長時間,請稍後。"}},"ProjectDeleteForm":{"trigger":"刪除專案","title":"您確定嗎?","desc":"這項操作無法復原。這會永久刪除您的專案,並從我們的伺服器中移除所有相關資料。","cancel":"取消","submit":"刪除","success":"專案已成功刪除"},"FormActions":{"errors":{"unauthorized":"使用者驗證錯誤","internal":"內部伺服器錯誤,請稍後再試。","unknown":"發生未知錯誤,請稍後再試。","no_platforms":"中繼資料中未定義任何平台專案。","no_project":"Platform project not found. Please make sure the metadata \\"platforms\\" field is correct.","unsupported_type":"不支援的專案類型","ownership":"無法驗證專案擁有權","cf_unavailable":"CurseForge 專案登錄尚未啟用","requires_auth":"未提供儲存庫所需的身份驗證資訊","no_repository":"Repository not found","no_branch":"Invalid branch specified","no_path":"Metadata file not found at specified path","invalid_meta":"中繼資料檔案無效","unsupported":"尚未實作","exists":"專案已存在。","not_found":"專案不存在","illegal_id":"Illegal project ID","not_owner":"User is not authorized to register this project","repo_too_large":"Repository exceeds maximum allowed size of 500MB","insufficient_permissions":"You don\'t have permission to perform this action","user_not_found":"User not found","duplicate_member":"Project member already exists","single_owner":"Cannot remove the only owner"},"get_help":"Find out more about this error in our <link>documentation</link>."},"CommunityBadge":{"title":"社群","desc":"由社群維護的非官方文件"},"DocsPageNotFoundError":{"title":"我們找不到這個頁面","desc":"目前無法使用所請求的文件頁面。","suggestion":"請稍後再試,或向專案作者回報這個問題。","submit":"提交問題","return":"返回首頁"},"GetStartedButton":{"title":"Create your first project"},"ProjectHomepage":{"overview":{"intro":"<project></project> is a {type} created by <authors></authors>.","availability":"Available for <versions></versions>. Latest version built for <latest></latest>. First released for <first></first>.","tags":"Tagged:"},"description":{"title":"Description","placeholder":"Description not available"},"navigation":{"title":"導覽","docs":{"title":"Browse documentation","desc":"{pages} pages available."},"content":{"title":"Browse content","desc":"{items} in-game items."}},"links":{"title":"連結","website":"Website","source_code":"Source code"},"license":{"title":"授權條款","project":"Project License","arr":"版權所有","unknown":"未知","wiki":"Wiki License","default":"Wiki content <link>partially made available</link> under the <license></license> license."}},"ProjectDocsHomepage":{"title":"首頁"},"DocsHomepagePlaceholder":{"title":"首頁預留位置","subtitle":"由於 API 限制,在本機環境中無法取得 CurseForge 專案的中繼資料。","replace":"別擔心!部署到線上 Wiki 網站後,我們會將這個預留位置替換為專案的實際描述。"},"DocsSearchBar":{"placeholder":"搜尋 Wiki 內容...","no_results":"找不到結果!","loading":"正在尋找最完美的結果...","results":"顯示 <highlight>{count}</highlight> / <highlight>{total}</highlight> 個結果","close":"<kbd>ESC</kbd> 關閉","switch":"<kbd>Tab</kbd> to change scope","scope":{"local":"Local","global":"Global"}},"SearchResultType":{"project":"Project","documentation":"Docs","content":"Content"},"DocsChangelogPage":{"title":"變更記錄"},"DocsLeftSidebar":{"title":"文件","homepage":"首頁"},"DocsContentRightSidebar":{"title":"條目資訊"},"DocsNonContentRightSidebar":{"title":"本頁內容"},"DocsVersionSelector":{"placeholder":"選擇版本","latest":"最新"},"ModVersionRange":{"desc":"以及其他 {count} 個"},"LanguageSelect":{"placeholder":"搜尋語言...","no_results":"找不到語言。"},"ProjectStatus":{"unknown":"未知","loading":"Initializing","healthy":"Loaded","at_risk":"Requires attention","error":"Errored","inactive":"Inactive"},"ProjectVisibility":{"public":"Public","unlisted":"Unlisted","private":"Private","unknown":"Unknown"},"DevProjectsListPage":{"project":{"manage":"Manage"},"empty":{"primary":"Looks like you haven\'t created any projects yet","secondary":"請先閱讀我們的<guide>作者指南</guide>開始。"}},"DevProjectPage":{"breadcrumbs":{"home":"首頁"},"toolbar":{"view":"Visit project page","deployments":"Deployments"},"overview":{"title":"Project overview","desc":"Project information summary"},"source":{"title":"Project Source","repo":"Repository","branch":"分支","path":"Path","public":"Public"},"platforms":{"title":"Platforms","desc":"Project hosting platforms","headers":{"platform":"Platform","slug":"Slug / ID","link":"Link"},"open":"開放"},"information":{"title":"資訊","desc":"Resolved information","type":"類型","status":"狀態","created_at":"Created at"},"revision":{"title":"Current git revision","reloading":"Reloading project, please stand by...","not_found":"No revision found. Try reloading the project."}},"DevProjectSettingsPage":{"title":"專案設定","desc":"設定專案","form":{"visibility":{"title":"Project Visibility","public_desc":"Public projects are visible in search.","unlisted_desc":"Unlisted projects are published, but not visible in search.","private_desc":"Private projects are only accessible by members of the project.","placeholder":"Select visibility"}},"toast":{"success":"Project settings updated successfully"},"save":"Save"},"DevProjectSourceSettingsPage":{"title":"Project settings - Source","desc":"Configure project source repository","save":"Save"},"DevProjectVersionsPage":{"title":"專案版本","desc":"瀏覽專案版本"},"DevProjectHealthPage":{"title":"專案健康度","desc":"監控專案狀態及問題","errors":{"title":"回報專案問題","desc":"目前所有的警告及錯誤","empty":"未發現問題"}},"ProjectMemberRole":{"owner":"擁有者","member":"成員","unknown":"未知"},"DevProjectMembersPage":{"title":"專案成員","desc":"管理專案成員及權限","actions":{"remove":"移除","leave":"退出專案"}},"DevProjectContentItemsPage":{"title":"專案項目","desc":"瀏覽專案項目"},"DevProjectContentRecipesPage":{"title":"專案合成配方","desc":"瀏覽專案合成配方"},"DevProjectContentTagsPage":{"title":"專案標籤","desc":"瀏覽專案標籤"},"DevProjectLogs":{"title":"佈署日誌","show":"顯示","unloaded":"未載入","waiting":"等待伺服器中...","loading":"載入中...","error":"日誌載入錯誤","toast":{"success":"專案設定完成","error":"設定專案時發生錯誤"}},"DeveloperSidebar":{"teams":{"personal":"個人"},"groups":{"projects":"專案","platform":"平台","admin":"管理"},"nav":{"projects":"專案","documentation":"文件","settings":"設定","admin":"系統設定"}},"DevSidebarContextSwitcher":{"title":"團隊"},"DevSidebarUser":{"logout":{"button":"登出","title":"登出","desc":"正在登出..."},"unknown_avatar":"N/A"},"UserSettings":{"breadcrumbs":{"home":"首頁","settings":"設定"},"profile":{"bio":"Modded Minecraft Wiki 建立者","join_date":"加入於 {date}","admin":"管理員"},"connections":{"title":"連結帳號","modrinth":{"title":"Modrinth 帳號","desc":"用於驗證專案擁有權","connect":"連結","view":"檢視","disconnect":"取消連結"}},"account":{"title":"帳號","delete":{"title":"刪除帳號","desc":"永久刪除所有帳號資料","button":"Delete account"},"delete_modal":{"title":"Delete account","desc":"Are you sure you want to delete this account? This is a destructive action that cannot be undone.","cancel":"取消","button":"Delete forever"}},"toast":{"unlink":{"success":"Account unlinked successfully","error":"Error unlinking account"}}},"AuthFailure":{"title":"Authentication failure","desc":"An unexpected error has occured while trying to log in. Please try again later.","status":"Check status","return":"Return home","report":"Report Bug"},"BuiltinRecipeTypes":{"blasting":"Blasting","campfire_cooking":"Campfire cooking","crafting_shaped":"Shaped Crafting","crafting_shapeless":"Shapeless Crafting","smelting":"Smelting","smithing_transform":"Smithing","smoking":"Smoking","stonecutting":"Stonecutting"},"DocsEntryTabs":{"history":"Show history","home":"Show content"},"DevProjectSidebar":{"groups":{"project":"Project","content":"Content"},"nav":{"home":"Overview","settings":"Settings","members":"Members","deployments":"Deployments","health":"Health","versions":"版本","content":"Items","tags":"標籤","recipes":"Recipes"},"settings":{"group":"Settings","general":"General","source":"Source"}},"PrefabObtaining":{"recipe":"Recipe"},"PrefabUsage":{"usage":"Usage"},"AdminSidebar":{"groups":{"home":"首頁","data":"Data","system":"System","moderation":"Moderation"},"nav":{"home":"Overview","data_imports":"Data Imports","access_keys":"Access Keys","migrations":"Migrations","users":"使用者","projects":"專案","config":"Configuration","reports":"Reports","audit_log":"Audit Log","return":"Return"}},"AdminDataImports":{"title":"System data imports","desc":"Imported game data"},"AdminMigrations":{"title":"Data migrations","desc":"Available data migrations","empty":"No migrations available."},"EmptyDataTable":{"guide":"Read the <link>author guide</link> to find out more on how to integrate game data into your project."},"DataTable":{"no_results":"No results.","filter":"過濾列...","previous":"上一個","next":"下一個"},"DevProjectVersionsTable":{"name":"名稱","branch":"分支","empty":{"title":"在您的專案中找不到其他版本。","desc":"閱讀<link>作者指南</link>以了解專案版本及其設定。"}},"DevProjectItemsTable":{"icon":"圖示","id":"識別碼","name":"名稱","path":"頁面路徑(內部)","actions":{"open":"開啟選單","title":"操作","view":"檢視"},"empty":{"title":"在您的專案中找不到項目。","desc":"專案項目會在偵測到內容頁面或遊戲檔案後自動新增。"}},"DevProjectTagsTable":{"id":"識別碼","items":"項目數","empty":{"title":"在您的專案中找不到標籤。"}},"DevProjectRecipesTable":{"type":"類型","id":"識別碼","empty":{"title":"在您的專案中找不到合成配方。"}},"ResolvedProjectRecipe":{"type":"合成配方類型","input":"材料","output":"成品","preview":"合成配方預覽","workbenches":"可使用此物品來合成:"},"DevProjectDeploymentsPage":{"title":"專案佈署","desc":"管理已佈署的專案版本"},"DevProjectDeploymentsTable":{"id":"ID","commit":"提交","created_at":"佈署時間","user_id":"佈署者","status":"狀態"},"DeploymentStatus":{"unknown":"N/A","created":"佇列中","loading":"載入中","success":"成功","error":"失敗"},"DeleteDeploymentModal":{"trigger":"刪除","title":"您確定嗎?","desc":"此次佈署將從我們的伺服器中永久刪除,該操作無法被復原。","cancel":"取消","submit":"刪除","success":"佈署已成功刪除"},"DeployProjectModal":{"button":"佈署","title":"新佈署","primary":"將從來源<b>重新獲取</b>所有專案內容,此選項應在文件來源中有變動時使用。","secondary":"If the new deployment fails, currently stored data <b>will not</b> be replaced. You can always <b>roll back</b> to previous deployments using the \'Redeploy\' option.","tertiary":"為了您的方便,我們建議您在發布後使用我們的 <link>Gradle 延伸模組</link>自動重新驗證文件","note":"Project configuration remains unchanged. For updating meta information (e.g. source and platforms), please use the Settings dialog instead.","cancel":"取消","submit":"Deploy"},"LiveProjectDeployConnection":{"loading":"Deploying project...","success":"Project deploy successful","error":"Project deploy failed","view":"View"},"DevProjectDeploymentPage":{"deployments":"Deployments","title":"Deployment Details","git-config":{"title":"Source coordinates"}},"ProjectGitRevision":{"title":"Git revision","title_current":"Current Git revision","loading":"Deploying project, please stand by...","not_found":"Project has no active deployment"},"ProjectIssueWidget":{"file":"File: <file></file>","date":"Created at: <date></date>","version":"Version: <version></version>"},"ProjectIssueLevel":{"warning":"Warning","error":"Error","unknown":"未知"},"ProjectIssueType":{"meta":"Invalid project metadata","file":"Invalid file","git_clone":"Error cloning repository","git_info":"Error getting commit information","ingestor":"Error importing content","version_setup":"Error setting up version","internal":"Internal server error","page":"Invalid page","unknown":"Unknown error"},"DeploymentIssues":{"title":"Deployment issues","empty":"No issues found.","issues_found":"Found {count, plural, =1 {1 issue that needs} other {# issues that need}} attention."},"ProjectError":{"requires_auth":"Repository connection requires login credentials but none were provided","no_repository":"Repository not found","repo_too_large":"Repository exceeds allowed file size","no_branch":"Invalid branch specified","no_path":"Metadata file not found at specified path","invalid_meta":"中繼資料檔案無效","page_render":"Failed to render page contents","duplicate_page":"Duplicate page","unknown_recipe_type":"Unknown recipe type","invalid_ingredient":"Invalid ingredient","invalid_file":"Failed to parse file","invalid_format":"Invalid file format","invalid_resloc":"Invalid Resource Location","invalid_version_branch":"Version branch does not exist","missing_platform_project":"Missing platform project","no_page_title":"Page is missing title","missing_required_attribute":"Page is missing a required metadata attribute","invalid_frontmatter":"Invalid page frontmatter","no_platforms":"Missing project platforms","illegal_id":"Invalid project ID","illegal_mod_id":"Invalid project mod ID","not_owner":"Failed to verify project ownership","unknown":"Unknown error"},"AdminReports":{"title":"Project Reports","desc":"Manage project reports"},"ResponsiveTable":{"expand":"Expand"},"UsageContentList":{"more":"Show more ..."},"RecipeUsage":{"description":"Can be used to create the following items:","empty":"Has no known usages in crafting."},"ContentCategory":{"all":"All","other":"其他"},"ContentChangelog":{"toggle":"Show changelog"},"ContentProperties":{"weighted_flag":{"true":"Yes ({count})","false":"No"},"rarity":{"common":"Common","uncommon":"Uncommon","rare":"Rare","epic":"Epic","unknown":"Unknown"},"bool":{"true":"Yes","false":"No"},"type":{"block":"方塊","item":"物品","other":"其他","unknown":"Other"},"properties":{"id":"ID","source_mod":"Source mod","type":"類型","stack_size":"Stackable","required_tool":"Tool","blast_resistance":"Blast resistance","hardness":"Hardness","flammable":"Flammable","rarity":"Rarity tier","durability":"Durability","mining_speed":"Mining efficiency","attack_damage":"Attack damage","attack_speed":"Attack speed","enchantability":"Enchantability","nutrition":"Restores"}},"ExtendedLink":{"not_found":"(Not found)"},"AdminAccessKeys":{"title":"System access keys","desc":"Provides auth for when non-interactive access is needed, such as CI"},"CreateAccessKeyModal":{"title":"Create access key","desc":"New system access key","button":"Create","name":{"title":"名稱","desc":"Give your key a name","placeholder":"Deploy staging"},"days_valid":{"title":"Days of validity","desc":"Number of days the key is valid for. Use 0 for no expiration."},"submit":"提交","submitting":"提交中..."},"SaveAccessKeyModal":{"title":"Access Key","desc":"Save your generated access key","key":"Access Key","note":"Keep the key value safe. You won\'t be able to access it again.","valid":"The key is valid until {expiry}.","close":"Done"},"DeleteAccessKeyModal":{"title":"Delete Access Key","desc":"Invalidate and delete access key","body":"This will forever delete the access key <name></name>.","cancel":"取消","submit":"刪除","success":"Access Key deleted successfully"},"CopyButton":{"copied":"Copied to clipboard"},"InteractiveComponentPlaceholder":{"title":"Content unavailable in preview mode","desc":"Interactive components are currently not supported in the local previewer. The actual contents will be shown here when the project is deployed onto the Wiki website."},"RevalidateCacheModal":{"title":"Revalidate cache tag","desc":"Manually revalidate a cache tag. Used for diagnostic purposes.","button":"Revalidate cache tag","tag":{"title":"Cache Tag","desc":"The cache tag to revalidate"},"submit":"Submit","success":"Cache tag invalidated successfully"},"CookieConsent":{"popup":{"title":"此網站使用了 Cookie","description":"此網站使用了 Cookie 來增進瀏覽體驗及顯示內嵌內容。","show_preferences":"管理個別偏好設定"},"modal":{"title":"管理 Cookie 偏好設定","save":"套用所選項目","close":"關閉"},"sections":{"summary":{"title":"Cookie 偏好設定","description":"在此自訂您的隱私設定。您可以選擇要允許哪些 Cookie 或追蹤器。"},"necessary":{"title":"Strictly Necessary cookies","description":"These cookies are essential for the proper functioning of the website and cannot be disabled."},"experience":{"title":"Experience","description":"These cookies are used to enable certain parts of the website, such as video embeds, and may be used to track you.","services":{"embeds":"Enables displaying embedded YouTube videos."}},"more_info":{"title":"More information","description":"For further information on how we use cookies on our website, please refer to our <a href=\\"/about/privacy\\">Privacy Policy</a>."}},"actions":{"accept_all":"Accept all","reject_all":"Reject all"}},"VideoEmbedPlaceholder":{"title":"Video embed unavailable","description":"Cookie consent is required to play embedded videos.","accept":"Allow YouTube embeds","watch":"Watch on Youtube"},"ManageCookiesButton":{"text":"Manage cookie preferences"},"UpdateGameDataModal":{"title":"Update game data","desc":"Fetch latest game data and run ingestion.","button":"Update","update_loader":{"title":"Update loader version"},"success":{"title":"Game data updated successfully","desc":"Updated game data to latest version"},"submit":"Submit","submitting":"Submitting..."},"DevProjectTagItemsTable":{"empty":{"title":"No items were found in this tag.","desc":"Project tag entries are automatically detected from included game files."}},"AdminProjectsPage":{"title":"Projects","desc":"List of all registered projects"},"AddProjectMemberForm":{"button":"Add member","title":"Add project member","desc":"Add a new user to this project","username":{"title":"Username","desc":"Wiki (GitHub) username of the user.","placeholder":"johndoe"},"role":{"title":"User role","desc":"Determines the user\'s permission level","placeholder":"Select role"},"success":"Project member added successfully","cancel":"Cancel","submit":"Submit"},"RemoveProjectMemberModal":{"title":"Remove project member","desc":"Are you sure you want to remove this member? This action cannot be undone.","cancel":"Cancel","submit":"Remove","success":"Project member removed successfully"},"LeaveProjectModal":{"title":"Leave project","desc":"Are you sure you want to leave this project? This action cannot be undone.","cancel":"Cancel","submit":"Leave","success":"Project left successfully"},"GenericForm":{"submit":"Submit","submitting":"Submitting...","cancel":"Cancel"},"NewProjectBanner":{"title":"Ready when you are","desc":"This is a new project and does not yet show up in search. So feel free to play around and tweak things until they\'re just right. When you\'re satisfied with the result, hit the button below to go public.","submit":"Publish","success":"Project visibility set to public"}}')}};
1
+ "use strict";exports.id=140,exports.ids=[140],exports.modules={70140:a=>{a.exports=JSON.parse('{"Badges":{"local":"本機","latest":"最新","admin":"管理員"},"NavigationHeader":{"title":"Modded Minecraft Wiki","title_short":"Wiki","badge":{"preview":"預覽模式","beta":"Beta 版"},"link":{"home":"首頁","browse":"瀏覽","about":"關於"}},"NavigationFooter":{"title":"Modded Minecraft Wiki","links":{"navigation":{"title":"導覽","home":"首頁","browse":"瀏覽","dev":"開發人員"},"links":{"title":"連結"},"resources":{"title":"資源","blog":"部落格","status":"狀態","translate":"協助我們翻譯"},"about":{"title":"關於","tos":"服務條款","privacy":"隱私權政策","contact":"聯絡我們"}}},"HomePage":{"title":"歡迎使用 <highlight>Modded Minecraft Wiki</highlight>","subtitle":"您探索、建立和貢獻 Minecraft 相關專案的首選資源。","popular":{"title":"熱門 Wiki","open":"閱讀更多","disclaimer":"這些專案是根據其透過瀏覽次數統計所顯示的受歡迎程度來突顯的,且並未獲得 Modded Minecraft Wiki 的官方認可。"},"community":{"title":"加入我們的社群","users":{"title":"使用者","subtitle":"探索我們的精選專案,並體驗以下優點:","docs":"取得高品質、即時更新且區分版本的文件","contribute":"即使不懂程式設計,也能參與專案貢獻","ui":"在所有專案中,都能享有一致且使用者友善的介面。","localization":"受益於多語言支援"},"authors":{"title":"作者","subtitle":"取得專案儀表板的存取權,並體驗以下優點:","vcs":"您的文件版本控制支援","components":"用於合成配方、素材等的內建元件","gradle":"Gradle 整合,帶來無縫的工作流程","management":"進階專案管理工具","interaction":"與您的使用者群直接互動","dashboard":"開啟儀表板","guide":"閱讀更多"}},"browse":"瀏覽專案","highlights":{"localization":{"title":"在地化","desc":"讓文件走向世界"},"accessibility":{"title":"無障礙","desc":"直覺且反應靈敏的使用者介面"},"open":{"title":"開放","desc":"讓使用者共同參與,無需任何程式設計知識"},"free":{"title":"免費","desc":"在我們的網站上託管文件完全免費!"}},"about":{"title":"關於我們","maintainers":"這個 Wiki 是由 <b>Sinytra</b> 建立及維護,他們是由一群充滿熱忱的開發人員組成的專門團隊,致力於為 Minecraft 模組社群提供高品質、自由且開放原始碼的軟體。","mission":"我們的目標是協助模組製作者和玩家,提供他們所需的工具與資源,以便創造、記錄並探索經由模組改造的 Minecraft 所帶來的無限可能。"},"blog":{"title":"部落格文章","open":"閱讀更多"}},"BrowsePage":{"sidebar":{"title":"瀏覽專案","search_filters":"搜尋篩選...","categories":"分類"},"sorting":"排序依據","sort":{"relevance":"相關度","creation_date":"建立日期","popularity":"熱門程度","az":"A-Z","za":"Z-A"},"search":"搜尋專案...","clear_filter":"清除篩選器","no_results":"搜尋查詢沒有結果!"},"SearchProjectTypes":{"mod":"模組","modpack":"模組包","resourcepack":"資源包","datapack":"資料包","shader":"光影包","plugin":"插件"},"ProjectTypes":{"mod":"模組","modpack":"模組包","resourcepack":"資源包","datapack":"資料包","shader":"光影包","plugin":"插件","unknown":"Unknown"},"LoadingContent":{"message":"載入中..."},"MetaDocsNavigation":{"title":"導覽","about":"關於","devs":"作者指南","components":"元件","help":"取得協助","tos":"使用規定","privacy":"隱私權政策","security":"安全性通知"},"Login":{"title":"需要登入","desc":"您嘗試存取的頁面需要登入。","prompt":"請使用您的 GitHub 帳號繼續。","button":"使用 GitHub 登入"},"Preview":{"title":"預覽模式已啟用","desc":"預覽模式會啟用最小的使用者介面,讓您可以在發布前專注於在本機撰寫文件草稿。","roots":"可用的本機文件根目錄","open":"開啟"},"DocsProjectInfo":{"title":"專案資訊","type":"類型","author":"作者","tags":"標籤","latest":{"title":"最新版本","unknown":"N/A"},"license":{"title":"授權條款","custom":"自訂授權","unknown":"未知","arr":"版權所有"}},"ProjectCategories":{"adventure":"冒險","cursed":"惡搞","decoration":"裝飾","economy":"經濟","equipment":"裝備","food":"食物","game-mechanics":"遊戲機制","library":"程式庫","magic":"魔法","management":"管理","minigame":"小遊戲","mobs":"生物","optimization":"最佳化","social":"社交","storage":"儲物","technology":"科技","transportation":"運輸","utility":"便利工具","worldgen":"世界生成","server-utility":"伺服器實用工具","armor-weapons-tools":"盔甲、工具和武器","library-api":"API 和程式庫","adventure-rpg":"冒險和 RPG","world-gen":"世界生成","cosmetic":"外觀","mc-food":"食物","performance":"效能","map-information":"地圖和資訊","bug-fixes":"錯誤修正","mc-addons":"Addons","education":"教育","mc-miscellaneous":"其他","redstone":"紅石","utility-qol":"便利工具與生活品質","mc-creator":"MCreator"},"PageEditControls":{"edit_gh":"編輯這個頁面","report":"檢舉這個頁面","report_button":"檢舉頁面","last_updated":"上次更新時間:<date></date>"},"Report":{"title":"檢舉文件頁面","desc":"檢舉違反我們<tos>《服務條款》</tos>或<cr>《內容規範》</cr>的內容。","contact":"由於審核需要,您的<b>使用者名稱</b>將會包含在本檢舉內容中。","confidential":"我們很重視您的隱私,這些資訊會永遠保密。","privacy":"如需詳細資訊,請參閱我們的《<link>隱私權政策</link>》。","form":{"id":{"title":"專案 ID","desc":"被檢舉的專案 ID。"},"path":{"title":"頁面路徑","desc":"被檢舉的文件頁面路徑。"},"locale":{"title":"語系","desc":"若該頁面位於特定語言頁面中則需填入。","placeholder":"N/A"},"version":{"title":"版本","desc":"若該頁面位於特定版本頁面中則需填入。","placeholder":"N/A"},"reason":{"title":"原因*","placeholder":"選擇檢舉這個頁面的原因","desc":"檢舉該頁面的原因。","dislike":"我不喜歡它"},"details":{"title":"詳細資訊*","placeholder":"請提供更多關於您為何檢舉這個頁面的詳細資訊。請注意,空白的檢舉將會被忽略。","desc":"關於這個問題的額外詳細資訊。"},"dislike":{"title":"我們理解您可能不喜歡該頁面,這完全沒問題!","desc":"但很遺憾的是,這不是檢舉專案的有效理由。","suggestion":"您想看看其他頁面嗎?","explore":"瀏覽專案"},"submit":"提交","success":"檢舉提交成功"}},"ProjectReportReason":{"spam":"垃圾內容","copyright":"侵犯版權","content_rules":"違反《內容規範》","tos":"違反《服務條款》","unknown":"未知"},"ProjectReportStatus":{"new":"新","dismissed":"已忽略","accepted":"已受理","unknown":"未知"},"ProjectReportType":{"project":"專案","docs":"文件頁面","content":"內容頁面","unknown":"未知"},"ViewReportPage":{"reports":"檢舉","title":"詳細檢舉內容","desc":"正在檢視 {id} 的詳細檢舉內容","details":{"reporter":"檢舉者","project_id":"專案 ID","path":"位置","body":"正文","reason":"原因","created_at":"建立於","status":"狀態","type":"類型","locale":"語系","version":"版本"},"actions":{"dismiss":"忽略","accept":"同意"},"toast":{"accept":"已同意該檢舉","dismiss":"已忽略該檢舉"}},"Callout":{"default":"注意!","info":"訊息","warning":"警告","danger":"危險"},"ProjectRegisterForm":{"button":"新增專案","title":"登錄專案","desc":"向 Wiki 登錄一個新專案。","repo":{"title":"專案連結","desc":"用於複製您儲存庫的連結。","placeholder":"https://github.com/ExampleUser/ExampleMod"},"branch":{"title":"分支","desc":"主要分支參考。您可以在中繼資料檔案中指定要包含的其他分支。"},"path":{"title":"文件根目錄的路徑","desc":"包含中繼資料檔案的資料夾路徑。"},"admin":"Wiki 管理員設定","is_community":{"title":"社群維護的專案"},"errors":{"details":"顯示詳細資訊"},"connect_modrinth":{"desc":"在設定中連結您的 <b>Modrinth 帳號</b>,以便隨實驗正該平台專案的所有權。","settings":"開啟設定"},"submit":"提交","success":{"title":"專案登錄成功","desc":"您現在可以導覽至專案的文件頁面"},"submitting":"提交中...","verify_modrinth":"使用 Modrinth 驗證","submission":{"clone":"正在複製儲存庫並驗證後設資料。","note":"複製較大的儲存庫可能會需要較長時間,請稍後。"}},"ProjectDeleteForm":{"trigger":"刪除專案","title":"您確定嗎?","desc":"這項操作無法復原。這會永久刪除您的專案,並從我們的伺服器中移除所有相關資料。","cancel":"取消","submit":"刪除","success":"專案已成功刪除"},"FormActions":{"errors":{"unauthorized":"使用者驗證錯誤","internal":"內部伺服器錯誤,請稍後再試。","unknown":"發生未知錯誤,請稍後再試。","no_platforms":"中繼資料中未定義任何平台專案。","no_project":"Platform project not found. Please make sure the metadata \\"platforms\\" field is correct.","unsupported_type":"不支援的專案類型","ownership":"無法驗證專案擁有權","cf_unavailable":"CurseForge 專案登錄尚未啟用","requires_auth":"未提供儲存庫所需的身份驗證資訊","no_repository":"Repository not found","no_branch":"Invalid branch specified","no_path":"Metadata file not found at specified path","invalid_meta":"中繼資料檔案無效","unsupported":"尚未實作","exists":"專案已存在。","not_found":"專案不存在","illegal_id":"Illegal project ID","not_owner":"User is not authorized to register this project","repo_too_large":"Repository exceeds maximum allowed size of 500MB","insufficient_permissions":"You don\'t have permission to perform this action","user_not_found":"User not found","duplicate_member":"Project member already exists","single_owner":"Cannot remove the only owner"},"get_help":"Find out more about this error in our <link>documentation</link>."},"CommunityBadge":{"title":"社群","desc":"由社群維護的非官方文件"},"DocsPageNotFound":{"title":"404 Not Found","desc":"Whoops! Could not find the requested resource.","return":"Return"},"DocsPageError":{"title":"We lost this page","desc":"The requested documentation page is not available at the moment.","suggestion":"Please try again later or report this issue to the project author.","submit":"Submit issue","return":"Return Home"},"GetStartedButton":{"title":"Create your first project"},"ProjectHomepage":{"overview":{"intro":"<project></project> is a {type} created by <authors></authors>.","availability":"Available for <versions></versions>. Latest version built for <latest></latest>. First released for <first></first>.","tags":"Tagged:"},"description":{"title":"Description","placeholder":"Description not available"},"navigation":{"title":"導覽","docs":{"title":"Browse documentation","desc":"{pages} pages available."},"content":{"title":"Browse content","desc":"{items} in-game items."}},"links":{"title":"連結","website":"Website","source_code":"Source code"},"license":{"title":"授權條款","project":"Project License","arr":"版權所有","unknown":"未知","wiki":"Wiki License","default":"Wiki content <link>partially made available</link> under the <license></license> license."}},"ProjectDocsHomepage":{"title":"首頁"},"DocsHomepagePlaceholder":{"title":"首頁預留位置","subtitle":"由於 API 限制,在本機環境中無法取得 CurseForge 專案的中繼資料。","replace":"別擔心!部署到線上 Wiki 網站後,我們會將這個預留位置替換為專案的實際描述。"},"DocsSearchBar":{"placeholder":"搜尋 Wiki 內容...","no_results":"找不到結果!","loading":"正在尋找最完美的結果...","results":"顯示 <highlight>{count}</highlight> / <highlight>{total}</highlight> 個結果","close":"<kbd>ESC</kbd> 關閉","switch":"<kbd>Tab</kbd> to change scope","scope":{"local":"Local","global":"Global"}},"SearchResultType":{"project":"Project","documentation":"Docs","content":"Content"},"DocsChangelogPage":{"title":"變更記錄"},"DocsLeftSidebar":{"title":"文件","homepage":"首頁"},"DocsContentRightSidebar":{"title":"條目資訊"},"DocsNonContentRightSidebar":{"title":"本頁內容"},"DocsVersionSelector":{"placeholder":"選擇版本","latest":"最新"},"ModVersionRange":{"desc":"以及其他 {count} 個"},"LanguageSelect":{"placeholder":"搜尋語言...","no_results":"找不到語言。"},"ProjectStatus":{"unknown":"未知","loading":"Initializing","healthy":"Loaded","at_risk":"Requires attention","error":"Errored","inactive":"Inactive"},"ProjectVisibility":{"public":"Public","unlisted":"Unlisted","private":"Private","unknown":"Unknown"},"DevProjectsListPage":{"project":{"manage":"Manage"},"empty":{"primary":"Looks like you haven\'t created any projects yet","secondary":"請先閱讀我們的<guide>作者指南</guide>開始。"}},"DevProjectPage":{"breadcrumbs":{"home":"首頁"},"toolbar":{"view":"Visit project page","deployments":"Deployments"},"overview":{"title":"Project overview","desc":"Project information summary"},"source":{"title":"Project Source","repo":"Repository","branch":"分支","path":"Path","public":"Public"},"platforms":{"title":"Platforms","desc":"Project hosting platforms","headers":{"platform":"Platform","slug":"Slug / ID","link":"Link"},"open":"開放"},"information":{"title":"資訊","desc":"Resolved information","type":"類型","status":"狀態","created_at":"Created at"},"revision":{"title":"Current git revision","reloading":"Reloading project, please stand by...","not_found":"No revision found. Try reloading the project."}},"DevProjectSettingsPage":{"title":"專案設定","desc":"設定專案","form":{"visibility":{"title":"Project Visibility","public_desc":"Public projects are visible in search.","unlisted_desc":"Unlisted projects are published, but not visible in search.","private_desc":"Private projects are only accessible by members of the project.","placeholder":"Select visibility"}},"toast":{"success":"Project settings updated successfully"},"save":"Save"},"DevProjectSourceSettingsPage":{"title":"Project settings - Source","desc":"Configure project source repository","save":"Save"},"DevProjectVersionsPage":{"title":"專案版本","desc":"瀏覽專案版本"},"DevProjectHealthPage":{"title":"專案健康度","desc":"監控專案狀態及問題","errors":{"title":"回報專案問題","desc":"目前所有的警告及錯誤","empty":"未發現問題"}},"ProjectMemberRole":{"owner":"擁有者","member":"成員","unknown":"未知"},"DevProjectMembersPage":{"title":"專案成員","desc":"管理專案成員及權限","actions":{"remove":"移除","leave":"退出專案"}},"DevProjectContentItemsPage":{"title":"專案項目","desc":"瀏覽專案項目"},"DevProjectContentRecipesPage":{"title":"專案合成配方","desc":"瀏覽專案合成配方"},"DevProjectContentTagsPage":{"title":"專案標籤","desc":"瀏覽專案標籤"},"DevProjectLogs":{"title":"佈署日誌","show":"顯示","unloaded":"未載入","waiting":"等待伺服器中...","loading":"載入中...","error":"日誌載入錯誤","toast":{"success":"專案設定完成","error":"設定專案時發生錯誤"}},"DeveloperSidebar":{"teams":{"personal":"個人"},"groups":{"projects":"專案","platform":"平台","admin":"管理"},"nav":{"projects":"專案","documentation":"文件","settings":"設定","admin":"系統設定"}},"DevSidebarContextSwitcher":{"title":"團隊"},"DevSidebarUser":{"logout":{"button":"登出","title":"登出","desc":"正在登出..."},"unknown_avatar":"N/A"},"UserSettings":{"breadcrumbs":{"home":"首頁","settings":"設定"},"profile":{"bio":"Modded Minecraft Wiki 建立者","join_date":"加入於 {date}","admin":"管理員"},"connections":{"title":"連結帳號","modrinth":{"title":"Modrinth 帳號","desc":"用於驗證專案擁有權","connect":"連結","view":"檢視","disconnect":"取消連結"}},"account":{"title":"帳號","delete":{"title":"刪除帳號","desc":"永久刪除所有帳號資料","button":"Delete account"},"delete_modal":{"title":"Delete account","desc":"Are you sure you want to delete this account? This is a destructive action that cannot be undone.","cancel":"取消","button":"Delete forever"}},"toast":{"unlink":{"success":"Account unlinked successfully","error":"Error unlinking account"}}},"AuthFailure":{"title":"Authentication failure","desc":"An unexpected error has occured while trying to log in. Please try again later.","status":"Check status","return":"Return home","report":"Report Bug"},"BuiltinRecipeTypes":{"blasting":"Blasting","campfire_cooking":"Campfire cooking","crafting_shaped":"Shaped Crafting","crafting_shapeless":"Shapeless Crafting","smelting":"Smelting","smithing_transform":"Smithing","smoking":"Smoking","stonecutting":"Stonecutting"},"DocsEntryTabs":{"history":"Show history","home":"Show content"},"DevProjectSidebar":{"groups":{"project":"Project","content":"Content"},"nav":{"home":"Overview","settings":"Settings","members":"Members","deployments":"Deployments","health":"Health","versions":"版本","content":"Items","tags":"標籤","recipes":"Recipes"},"settings":{"group":"Settings","general":"General","source":"Source"}},"PrefabObtaining":{"recipe":"Recipe"},"PrefabUsage":{"usage":"Usage"},"AdminSidebar":{"groups":{"home":"首頁","data":"Data","system":"System","moderation":"Moderation"},"nav":{"home":"Overview","data_imports":"Data Imports","access_keys":"Access Keys","migrations":"Migrations","users":"使用者","projects":"專案","config":"Configuration","reports":"Reports","audit_log":"Audit Log","return":"Return"}},"AdminDataImports":{"title":"System data imports","desc":"Imported game data"},"AdminMigrations":{"title":"Data migrations","desc":"Available data migrations","empty":"No migrations available."},"EmptyDataTable":{"guide":"Read the <link>author guide</link> to find out more on how to integrate game data into your project."},"DataTable":{"no_results":"No results.","filter":"過濾列...","previous":"上一個","next":"下一個"},"DevProjectVersionsTable":{"name":"名稱","branch":"分支","empty":{"title":"在您的專案中找不到其他版本。","desc":"閱讀<link>作者指南</link>以了解專案版本及其設定。"}},"DevProjectItemsTable":{"icon":"圖示","id":"識別碼","name":"名稱","path":"頁面路徑(內部)","actions":{"open":"開啟選單","title":"操作","view":"檢視"},"empty":{"title":"在您的專案中找不到項目。","desc":"專案項目會在偵測到內容頁面或遊戲檔案後自動新增。"}},"DevProjectTagsTable":{"id":"識別碼","items":"項目數","empty":{"title":"在您的專案中找不到標籤。"}},"DevProjectRecipesTable":{"type":"類型","id":"識別碼","empty":{"title":"在您的專案中找不到合成配方。"}},"ResolvedProjectRecipe":{"type":"合成配方類型","input":"材料","output":"成品","preview":"合成配方預覽","workbenches":"可使用此物品來合成:"},"DevProjectDeploymentsPage":{"title":"專案佈署","desc":"管理已佈署的專案版本"},"DevProjectDeploymentsTable":{"id":"ID","commit":"提交","created_at":"佈署時間","user_id":"佈署者","status":"狀態"},"DeploymentStatus":{"unknown":"N/A","created":"佇列中","loading":"載入中","success":"成功","error":"失敗"},"DeleteDeploymentModal":{"trigger":"刪除","title":"您確定嗎?","desc":"此次佈署將從我們的伺服器中永久刪除,該操作無法被復原。","cancel":"取消","submit":"刪除","success":"佈署已成功刪除"},"DeployProjectModal":{"button":"佈署","title":"新佈署","primary":"將從來源<b>重新獲取</b>所有專案內容,此選項應在文件來源中有變動時使用。","secondary":"If the new deployment fails, currently stored data <b>will not</b> be replaced. You can always <b>roll back</b> to previous deployments using the \'Redeploy\' option.","tertiary":"為了您的方便,我們建議您在發布後使用我們的 <link>Gradle 延伸模組</link>自動重新驗證文件","note":"Project configuration remains unchanged. For updating meta information (e.g. source and platforms), please use the Settings dialog instead.","cancel":"取消","submit":"Deploy"},"LiveProjectDeployConnection":{"loading":"Deploying project...","success":"Project deploy successful","error":"Project deploy failed","view":"View"},"DevProjectDeploymentPage":{"deployments":"Deployments","title":"Deployment Details","git-config":{"title":"Source coordinates"}},"ProjectGitRevision":{"title":"Git revision","title_current":"Current Git revision","loading":"Deploying project, please stand by...","not_found":"Project has no active deployment"},"ProjectIssueWidget":{"file":"File: <file></file>","date":"Created at: <date></date>","version":"Version: <version></version>"},"ProjectIssueLevel":{"warning":"Warning","error":"Error","unknown":"未知"},"ProjectIssueType":{"meta":"Invalid project metadata","file":"Invalid file","git_clone":"Error cloning repository","git_info":"Error getting commit information","ingestor":"Error importing content","version_setup":"Error setting up version","internal":"Internal server error","page":"Invalid page","unknown":"Unknown error"},"DeploymentIssues":{"title":"Deployment issues","empty":"No issues found.","issues_found":"Found {count, plural, =1 {1 issue that needs} other {# issues that need}} attention."},"ProjectError":{"requires_auth":"Repository connection requires login credentials but none were provided","no_repository":"Repository not found","repo_too_large":"Repository exceeds allowed file size","no_branch":"Invalid branch specified","no_path":"Metadata file not found at specified path","invalid_meta":"中繼資料檔案無效","page_render":"Failed to render page contents","duplicate_page":"Duplicate page","unknown_recipe_type":"Unknown recipe type","invalid_ingredient":"Invalid ingredient","invalid_file":"Failed to parse file","invalid_format":"Invalid file format","invalid_resloc":"Invalid Resource Location","invalid_version_branch":"Version branch does not exist","missing_platform_project":"Missing platform project","no_page_title":"Page is missing title","missing_required_attribute":"Page is missing a required metadata attribute","invalid_frontmatter":"Invalid page frontmatter","no_platforms":"Missing project platforms","illegal_id":"Invalid project ID","illegal_mod_id":"Invalid project mod ID","not_owner":"Failed to verify project ownership","unknown":"Unknown error"},"AdminReports":{"title":"Project Reports","desc":"Manage project reports"},"ResponsiveTable":{"expand":"Expand"},"UsageContentList":{"more":"Show more ..."},"RecipeUsage":{"description":"Can be used to create the following items:","empty":"Has no known usages in crafting."},"ContentCategory":{"all":"All","other":"其他"},"ContentChangelog":{"toggle":"Show changelog"},"ContentProperties":{"weighted_flag":{"true":"Yes ({count})","false":"No"},"rarity":{"common":"Common","uncommon":"Uncommon","rare":"Rare","epic":"Epic","unknown":"Unknown"},"bool":{"true":"Yes","false":"No"},"type":{"block":"方塊","item":"物品","other":"其他","unknown":"Other"},"properties":{"id":"ID","source_mod":"Source mod","type":"類型","stack_size":"Stackable","required_tool":"Tool","blast_resistance":"Blast resistance","hardness":"Hardness","flammable":"Flammable","rarity":"Rarity tier","durability":"Durability","mining_speed":"Mining efficiency","attack_damage":"Attack damage","attack_speed":"Attack speed","enchantability":"Enchantability","nutrition":"Restores"}},"ExtendedLink":{"not_found":"(Not found)"},"AdminAccessKeys":{"title":"System access keys","desc":"Provides auth for when non-interactive access is needed, such as CI"},"CreateAccessKeyModal":{"title":"Create access key","desc":"New system access key","button":"Create","name":{"title":"名稱","desc":"Give your key a name","placeholder":"Deploy staging"},"days_valid":{"title":"Days of validity","desc":"Number of days the key is valid for. Use 0 for no expiration."},"submit":"提交","submitting":"提交中..."},"SaveAccessKeyModal":{"title":"Access Key","desc":"Save your generated access key","key":"Access Key","note":"Keep the key value safe. You won\'t be able to access it again.","valid":"The key is valid until {expiry}.","close":"Done"},"DeleteAccessKeyModal":{"title":"Delete Access Key","desc":"Invalidate and delete access key","body":"This will forever delete the access key <name></name>.","cancel":"取消","submit":"刪除","success":"Access Key deleted successfully"},"CopyButton":{"copied":"Copied to clipboard"},"InteractiveComponentPlaceholder":{"title":"Content unavailable in preview mode","desc":"Interactive components are currently not supported in the local previewer. The actual contents will be shown here when the project is deployed onto the Wiki website."},"RevalidateCacheModal":{"title":"Revalidate cache tag","desc":"Manually revalidate a cache tag. Used for diagnostic purposes.","button":"Revalidate cache tag","tag":{"title":"Cache Tag","desc":"The cache tag to revalidate"},"submit":"Submit","success":"Cache tag invalidated successfully"},"CookieConsent":{"popup":{"title":"此網站使用了 Cookie","description":"此網站使用了 Cookie 來增進瀏覽體驗及顯示內嵌內容。","show_preferences":"管理個別偏好設定"},"modal":{"title":"管理 Cookie 偏好設定","save":"套用所選項目","close":"關閉"},"sections":{"summary":{"title":"Cookie 偏好設定","description":"在此自訂您的隱私設定。您可以選擇要允許哪些 Cookie 或追蹤器。"},"necessary":{"title":"Strictly Necessary cookies","description":"These cookies are essential for the proper functioning of the website and cannot be disabled."},"experience":{"title":"Experience","description":"These cookies are used to enable certain parts of the website, such as video embeds, and may be used to track you.","services":{"embeds":"Enables displaying embedded YouTube videos."}},"more_info":{"title":"More information","description":"For further information on how we use cookies on our website, please refer to our <a href=\\"/about/privacy\\">Privacy Policy</a>."}},"actions":{"accept_all":"Accept all","reject_all":"Reject all"}},"VideoEmbedPlaceholder":{"title":"Video embed unavailable","description":"Cookie consent is required to play embedded videos.","accept":"Allow YouTube embeds","watch":"Watch on Youtube"},"ManageCookiesButton":{"text":"Manage cookie preferences"},"UpdateGameDataModal":{"title":"Update game data","desc":"Fetch latest game data and run ingestion.","button":"Update","update_loader":{"title":"Update loader version"},"success":{"title":"Game data updated successfully","desc":"Updated game data to latest version"},"submit":"Submit","submitting":"Submitting..."},"DevProjectTagItemsTable":{"empty":{"title":"No items were found in this tag.","desc":"Project tag entries are automatically detected from included game files."}},"AdminProjectsPage":{"title":"Projects","desc":"List of all registered projects"},"AddProjectMemberForm":{"button":"Add member","title":"Add project member","desc":"Add a new user to this project","username":{"title":"Username","desc":"Wiki (GitHub) username of the user.","placeholder":"johndoe"},"role":{"title":"User role","desc":"Determines the user\'s permission level","placeholder":"Select role"},"success":"Project member added successfully","cancel":"Cancel","submit":"Submit"},"RemoveProjectMemberModal":{"title":"Remove project member","desc":"Are you sure you want to remove this member? This action cannot be undone.","cancel":"Cancel","submit":"Remove","success":"Project member removed successfully"},"LeaveProjectModal":{"title":"Leave project","desc":"Are you sure you want to leave this project? This action cannot be undone.","cancel":"Cancel","submit":"Leave","success":"Project left successfully"},"GenericForm":{"submit":"Submit","submitting":"Submitting...","cancel":"Cancel"},"NewProjectBanner":{"title":"Ready when you are","desc":"This is a new project and does not yet show up in search. So feel free to play around and tweak things until they\'re just right. When you\'re satisfied with the result, hit the button below to go public.","submit":"Publish","success":"Project visibility set to public"}}')}};
@@ -1,3 +1,3 @@
1
- "use strict";exports.id=2313,exports.ids=[2313],exports.modules={12170:(a,b,c)=>{c.d(b,{A:()=>m});var d=c(27759),e=c(76512),f=c(37474),g=c(41133);async function h(a,b){var c;return i(a,{method:"POST",...c=b,headers:{...c?.headers,"Content-Type":"application/json"},cache:!1})}async function i(a,b){return fetch(k(a,b?.parameters),function(a){let b=a?.cache===!0||"object"==typeof a?.cache,c=a?.cache===!1,d={...a?.headers};return{method:a?.method,headers:d,body:a?.body?"string"==typeof a?.body?a.body:JSON.stringify(a.body):null,cache:c?"no-store":b?"force-cache":void 0,next:b?{tags:"object"==typeof a.cache?a.cache.tags:void 0,revalidate:"object"==typeof a.cache?a.cache.revalidate:void 0}:void 0,redirect:"manual",credentials:a?.includeCredentials?"include":void 0}}(b))}function j(a,b){return"locale"==a?e.Ay.actualLocale(b):"version"==a?l(b):b}function k(a,b){let c=g.A.getBackendEndpointUrl(),e=(0,d.cT)(b,j);return`${c}/api/v1/${a}?${e}`}function l(a){return a==f.j4?null:a}let m={resolveApiCall:async function a(a){let b;try{b=await a()}catch(a){return console.error("Failed to call API",a),{type:"failed",success:!1,message:a instanceof Error?a.message:"(No message)",error:"unknown"}}let c=(b.headers.get("content-type")||"").includes("application/json");if(b.status>=300&&b.status<400)return{type:"redirect",status:b.status,success:!1,url:b.headers.get("location")||"",error:"unknown"};if(b.ok){let a=c?await b.json():void 0;return{type:"success",status:b.status,success:!0,data:a}}if(!c){let a=await b.text();return console.error("Unexpected API response",b.status,a),{type:"unknown_error",status:b.status,success:!1,message:a,error:"unknown"}}let d=await b.json(),e=d.error??"unknown";return{type:"known_error",status:b.status,success:!1,data:d,error:e}},sendSimpleRequest:i,sendDataRequest:h,constructApiUrl:k,constructAssetsUrl:function(a,b){let c=g.A.getAssetsBaseURL()??g.A.getBackendEndpointUrl(),e=(0,d.cT)(b,j);return`${c}/api/v1/${a}?${e}`},actualVersion:l}},19660:(a,b,c)=>{c.d(b,{A:()=>f,o:()=>d});let d="minecraft";function e(a){if(0===a.length)return null;if(a.includes(":")){let b=a.split(":");return{namespace:b[0],path:b[1]}}return{namespace:"minecraft",path:a}}let f={toString:function(a){return`${a.namespace}:${a.path}`},parse:e,extractPath:function(a){return e(a)?.path??a}}},27759:(a,b,c)=>{function d(a){let b=process.env[a];if(null==b)throw Error(`Missing environment variable ${a}`);return b}function e(a,b){if(null==b)throw Error(`Missing environment variable ${a}`);return b}function f(a,b){let c=new URLSearchParams;if(a){for(let d in a)if(null!=a[d]){let e=b?b(d,a[d]):a[d];e&&c.set(d,e)}}return c.toString()}c.d(b,{Av:()=>d,cT:()=>f,no:()=>e})},37474:(a,b,c)=>{c.d(b,{D$:()=>i,K0:()=>e,V_:()=>d,Xn:()=>g,j4:()=>f,kB:()=>j,xZ:()=>h});let d="sinytra-wiki.json",e="_meta.json",f="latest",g="en",h={name:"CC BY-NC-SA 4.0",url:"https://creativecommons.org/licenses/by-nc-sa/4.0"},i="_none",j={ONE_DAY:86400,ONE_WEEK:604800,TWO_WEEKS:1209600,ONE_MINUTE:60,ONE_MONTH:2592e3,ONE_YEAR:31536e3}},38272:(a,b,c)=>{c.d(b,{g:()=>s,A:()=>_});var d=c(18767),e=c(74572),f=c(93331),g=c(1591),h=c(27135),i=c(37492);let j={...c(36557).j,clobber:["ariaDescribedBy","ariaLabelledBy","name"],attributes:{"*":["id","className","style"],a:["data*","ariaLabel","ariaDescribedBy","target","href","title"],abbr:["title"],address:[],area:["shape","coords","href","alt"],article:[],aside:[],audio:["autoplay","controls","controlslist","crossorigin","loop","muted","preload","src"],b:[],bdi:["dir"],bdo:["dir"],big:[],blockquote:["cite"],br:[],caption:[],center:[],cite:[],code:[],col:["align","valign","span","width"],colgroup:["align","valign","span","width"],dd:[],del:["datetime"],details:["open"],div:[],dl:[],dt:[],em:[],figcaption:["data*"],figure:["data*"],font:["color","size","face"],footer:[],h1:[],h2:[],h3:[],h4:[],h5:[],h6:[],header:[],hr:[],i:[],img:["src","alt","title","width","height","loading"],input:[["type","checkbox"],"checked","disabled"],ins:["datetime"],kbd:[],li:[],mark:[],nav:[],ol:[],p:[],pre:[],s:[],section:["data*"],small:[],span:["data*"],sub:[],summary:[],sup:[],strong:[],strike:[],table:["width","border","align","valign"],tbody:["align","valign"],td:["width","rowspan","colspan","align","valign"],tfoot:["align","valign"],th:["width","rowspan","colspan","align","valign"],thead:["align","valign"],tr:["rowspan","align","valign"],tt:[],u:[],ul:[],video:["autoplay","controls","crossorigin","loop","muted","playsinline","poster","preload","src","height","width"]},tagNames:["a","abbr","address","area","article","aside","audio","b","bdi","bdo","big","blockquote","br","caption","center","cite","code","col","colgroup","dd","del","details","div","dl","dt","em","figcaption","figure","font","footer","h1","h2","h3","h4","h5","h6","header","hr","i","img","input","ins","kbd","li","mark","nav","ol","p","pre","s","section","small","span","sub","summary","sup","strong","strike","table","tbody","td","tfoot","th","thead","tr","tt","u","ul","video"]};var k=c(92702),l=c(55371),m=c(56282),n=c(71597),o=c(93720),p=c(67721),q=c(60492),r=c(76866);class s extends Error{constructor(a="",b){super(a),this.details=b,this.name="MarkdownError"}}let t=["mdxJsxFlowElement","mdxJsxTextElement"];function u(a){return b=>(function a(b,c){let{components:d,schema:e}=c;if(t.includes(b.type)){if(void 0!==d[b.name])return b;if(!b.name||!e.tagNames.includes(b.name))return null}else if(b.tagName&&!e.tagNames.includes(b.tagName))return null;return b.children&&(b.children=b.children.map(b=>a(b,c)).filter(a=>null!=a)),b})({...b},a)}var v=c(76994),w=c(1941);let x=["Program","ExpressionStatement","ObjectExpression","ArrayExpression","Property","Literal","Identifier"];function y(){return a=>{(0,w.YR)(a,["mdxJsxFlowElement","mdxJsxTextElement"],(a,b,c)=>{let d=!1;"mdxJsxFlowElement"===a.type||"mdxJsxTextElement"===a.type?a.attributes.some(a=>!function(a){if("mdxJsxAttribute"!==a.type)return!1;if("object"==typeof a.value){if(!a.value?.data?.estree)return null==a.value;let b=!1;if((0,v.YR)(a.value.data.estree,a=>{x.includes(a.type)||(b=!0)}),b)return!1}return!0}(a))&&(d=!0):d=!0,d&&c?.children.splice(b,1)})}}var z=c(64779),A=c(36264),B=c(24081);function C(){let a=new z.A;return(b,c)=>{a.reset();let d={},e=[],f=!1;(0,w.YR)(b,"element",(b,c,g)=>{let h=(0,A.T)(b);if(1===h&&b.children?.length===1){let a=b.children[0];if(a?.type==="text")return void(f?b.tagName="h2":(d.title=a.value,g?.children.splice(c,1),f=!0))}if(h&&!b.properties.id){let c=a.slug((0,B.d)(b));b.properties.id=c;let d={depth:h,id:c,value:(0,B.d)(b,{includeImageAlt:!1})};e.push(d)}}),d.headings=e,c.data.metadata=d}}function D(a){let b=b=>b.name&&a.includes(b.name);return a=>{(0,w.YR)(a,b,function(a){a.data&&(delete a.data._mdxExplicitJsx,delete a.data._xdmExplicitJsx)})}}function E(){return(a,b)=>{b.data.metadata||(b.data.metadata={});let c=[];(0,w.YR)(a,"element",a=>{if("a"===a.tagName&&a.properties?.href!=null){let b=String(a.properties.href);(b.startsWith("@")||b.startsWith("$")||b.startsWith("+"))&&c.push(b)}}),b.data.metadata.links=c}}var F=c(51962),G=c(40560),H=c(14507),I=c(29108);function J(a,b,c){let d=0,e=!1;return function(b){return 63!==b?c(b):(a.enter("hintDefinition"),a.enter("hintDefinitionMarker"),a.consume(b),a.exit("hintDefinitionMarker"),f)};function f(b){return 91!==b?c(b):(a.enter("hintDefinitionLabel"),a.enter("hintDefinitionLabelMarker"),a.consume(b),a.exit("hintDefinitionLabelMarker"),g)}function g(b){return 93===b?c(b):(a.enter("hintDefinitionLabelString"),h(b))}function h(b){return null===b||(0,H.HP)(b)||91===b||d>999?c(b):93===b?e?(a.exit("hintDefinitionLabelString"),a.enter("hintDefinitionLabelMarker"),a.consume(b),a.exit("hintDefinitionLabelMarker"),a.exit("hintDefinitionLabel"),j):c(b):(a.consume(b),e||(e=!(0,H.On)(b)),d++,92===b?i:h)}function i(b){return 91===b||92===b||93===b?(a.consume(b),d++,h):h(b)}function j(b){return 58!==b?c(b):(a.enter("hintDefinitionMarker"),a.consume(b),a.exit("hintDefinitionMarker"),(0,G.N)(a,k,"whitespace"))}function k(b){return null===b||(0,H.HP)(b)?c(b):(a.enter("hintDefinitionValueString"),l(b))}function l(c){return null===c||(0,H.HP)(c)?(a.exit("hintDefinitionValueString"),a.exit("hintDefinition"),b(c)):(a.consume(c),92===c?m:l)}function m(b){return null===b||(0,H.HP)(b)?l(b):(a.consume(b),l)}}var K=c(86108),L=c(1246);function M(a){var b;return(b=a.stack)[b.length-1]}function N(a){this.enter({type:"hint",hint:void 0,identifier:"",label:"",referenceType:"shortcut",children:[]},a)}function O(a){M(this)._rawLabel=this.sliceSerialize(a)}function P(a){M(this).hint=(0,K.s)(this.sliceSerialize(a))}function Q(){let a=M(this);void 0===a.hint&&(a.hint=""),a.referenceType=null}function R(a){let b=M(this),c=this.sliceSerialize(a);b.label=(0,K.s)(c),b.identifier=(0,L.B)(c).toLowerCase(),b.referenceType="full"}function S(){let a=M(this);"full"!==a.referenceType&&(a.referenceType="collapsed")}function T(a){let b=M(this),c=b._rawLabel||"";delete b._rawLabel,b.referenceType&&!b.identifier&&(b.label=(0,K.s)(c),b.identifier=(0,L.B)(c).toLowerCase()),this.exit(a)}function U(a){this.enter({type:"hintDefinition",identifier:"",label:"",hint:""},a)}function V(a){let b=M(this),c=this.sliceSerialize(a);b.label=(0,K.s)(c),b.identifier=(0,L.B)(c).toLowerCase()}function W(a){M(this).hint=(0,K.s)(this.sliceSerialize(a)).trim()}function X(a){this.exit(a)}let Y=(a,b,c,d)=>{let e=c.createTracker(d),f=c.enter("hint"),g=e.move("?[");return g+=e.move(c.containerPhrasing(a,{before:g,after:"]",...e.current()})),g+=e.move("]"),"full"===a.referenceType?g+=e.move("["+(a.label||a.identifier)+"]"):"collapsed"===a.referenceType?g+=e.move("[]"):"shortcut"!==a.referenceType&&(g+=e.move("("+(a.hint||"").replace(/[\\()]/g,"\\$&")+")")),f(),g},Z=a=>"?["+(a.label||a.identifier)+"]: "+a.hint;function $(a={}){let{componentName:b="hint",propName:c="hint",onMissing:d="unwrap"}=a,e=this.data();return(e.micromarkExtensions??=[]).push({text:{63:{name:"hint",tokenize:function(a,b,c){return function(a,b,c,d){let e=0,f=!1,g=0;return function(b){return(0,I.S)(d.previous)?(a.enter("hint"),a.enter("hintMarker"),a.consume(b),a.exit("hintMarker"),h):c(b)};function h(b){return 91!==b?c(b):(a.enter("hintLabel"),a.enter("hintLabelMarker"),a.consume(b),a.exit("hintLabelMarker"),i)}function i(b){return 93===b?c(b):(a.enter("hintLabelString"),a.enter("chunkText",{contentType:"text"}),j(b))}function j(b){return null===b||(0,H.HP)(b)||91===b||e>999?c(b):93===b?f?(a.exit("chunkText"),a.exit("hintLabelString"),a.enter("hintLabelMarker"),a.consume(b),a.exit("hintLabelMarker"),a.exit("hintLabel"),l):c(b):(a.consume(b),f||(f=!(0,H.On)(b)),e++,92===b?k:j)}function k(b){return 91===b||92===b||93===b?(a.consume(b),e++,j):j(b)}function l(b){var c,d;return 40===b?(c=b,a.enter("hintValue"),a.enter("hintValueMarker"),a.consume(c),a.exit("hintValueMarker"),m):91===b?(d=b,a.enter("hintReference"),a.enter("hintReferenceMarker"),a.consume(d),a.exit("hintReferenceMarker"),q):u(b)}function m(b){return 41===b?p(b):(a.enter("hintValueString"),n(b))}function n(b){return null===b||(0,H.HP)(b)?c(b):41===b&&0===g?(a.exit("hintValueString"),p(b)):(40===b?g++:41===b&&g--,a.consume(b),92===b?o:n)}function o(b){return 40===b||41===b||92===b?(a.consume(b),n):n(b)}function p(b){return a.enter("hintValueMarker"),a.consume(b),a.exit("hintValueMarker"),a.exit("hintValue"),u}function q(b){return 93===b?t(b):(a.enter("hintReferenceString"),e=0,r(b))}function r(b){return null===b||(0,H.HP)(b)||91===b||e>999?c(b):93===b?(a.exit("hintReferenceString"),t(b)):(a.consume(b),e++,92===b?s:r)}function s(b){return 91===b||92===b||93===b?(a.consume(b),e++,r):r(b)}function t(b){return a.enter("hintReferenceMarker"),a.consume(b),a.exit("hintReferenceMarker"),a.exit("hintReference"),u}function u(c){return a.exit("hint"),b(c)}}(a,b,c,this)}}},flow:{63:{name:"hintDefinition",tokenize:J}}}),(e.fromMarkdownExtensions??=[]).push({enter:{hint:N,hintDefinition:U},exit:{hint:T,hintLabelString:O,hintValueString:P,hintValue:Q,hintReference:S,hintReferenceString:R,hintDefinition:X,hintDefinitionLabelString:V,hintDefinitionValueString:W}}),(e.toMarkdownExtensions??=[]).push((Y.peek=()=>"?",{handlers:{hint:Y,hintDefinition:Z},unsafe:[{character:"?",after:"\\[",inConstruct:"phrasing"},{atBreak:!0,character:"*",after:"\\["}]})),function(a,e){let f=new Map;(0,w.YR)(a,"hintDefinition",(a,b,c)=>{if(f.has(a.identifier)||f.set(a.identifier,a.hint),c&&"number"==typeof b)return c.children.splice(b,1),[F._Z,b]}),(0,w.YR)(a,"definition",a=>{if(f.has(a.identifier))return;let b=a.title||void 0;void 0!==b&&f.set(a.identifier,b)}),(0,w.YR)(a,"hint",(a,g,h)=>{let i=a.hint;if(void 0===i&&void 0===(i=f.get(a.identifier))){if(e.message("Unknown hint reference "+a.identifier,a.position,"remark-hint:missing-definition"),"unwrap"===d&&h&&"number"==typeof g)return h.children.splice(g,1,...a.children),[F._Z,g];i=""}a.hint=i;let j={[c]:i};a.type="mdxJsxTextElement",a.name=b,a.attributes=Object.entries(j).map(([a,b])=>({type:"mdxJsxAttribute",name:a,value:b}))})}}let _={renderMarkdown:async function a(a){return String(await (0,d.l)().use(e.A).use(f.A,{allowDangerousHtml:!0}).use(i.A).use(h.A,j).use(g.A).process(a))},renderDocumentationMarkdown:async function a(a,b,d){let e=await Promise.all([c.e(7640),c.e(9847),c.e(5040)]).then(c.bind(c,79847)),f={...Object.keys(e).filter(a=>a.endsWith("Icon")).reduce((a,b)=>(a[b]=e[b],a),{}),...b};d&&(f=d(f));let g={components:{code:"CodeHikeCode"}},h=function(a){let b=a.split("\n");if(b.length<1||!b[0].startsWith("---"))return a;let c=0;return b.map(a=>c<2&&a.startsWith("---")?(c++,a.trimEnd()):a).join("\n")}(a),i=new m.T(h);(0,n.S)(i,{strip:!0});try{let a=Object.keys(f),b={components:f,schema:j},c=await (0,o.w)(i,{outputFormat:"function-body",remarkPlugins:[[l.V,g],k.A,[D,a],$],rehypePlugins:[C,y,[u,b]],recmaPlugins:[[l.B,g]]}),d=c.data.metadata??{},{default:e}=await (0,p.e)(c,{...q,baseUrl:"file:///home/runner/work/Wiki/Wiki/packages/markdown/src/renderer.ts"});return{content:e({components:f}),metadata:d}}catch(a){throw new s("MDX compilation failed",a instanceof r.o?a.name+": "+a.message:a.toString())}},readFrontmatter:function(a){let b=new m.T(a);return(0,n.S)(b,{strip:!0}),b.data.matter??{}},readProcessedFrontmatter:async function a(a){try{let b=await (0,d.l)().use(e.A).use(f.A,{allowDangerousHtml:!0}).use(()=>(a,b)=>(0,n.S)(b,{strip:!0})).use(C).use(E).use(g.A).process(a),c=b.data.matter??{},h=b.data.metadata??{};return{...c,...h}}catch(a){return console.error("Error reading processed frontmatter",a),{}}}}},41133:(a,b,c)=>{c.d(b,{A:()=>e});var d=c(27759);let e={getBackendEndpointUrl:function(){let a=process.env.NEXT_PUBLIC_BACKEND_SERVICE_URL;return(0,d.no)("NEXT_PUBLIC_BACKEND_SERVICE_URL",a)},getDocsUrl:function(){return process.env.NEXT_PUBLIC_DOCS_URL??null},getBuiltinAssetSource:function(){return"https://r2.sinytra.org/"},getAssetsBaseURL:function(){return process.env.NEXT_PUBLIC_ASSETS_BASE_URL??null}}},41852:(a,b,c)=>{c.d(b,{A:()=>h});var d=c(38272),e=c(69053),f=c(87837);async function g(a,b,c){return e.A.resolveApiCall(()=>e.A.sendDataRequest(`dev/projects/${a}/issues`,{parameters:c,body:b}))}let h={reportPageRenderFailure:async function(a,b,c,e,f){if(a.local)return;let h=c instanceof d.g?c.details:c.toString();await g(a.id,{level:"error",type:"page",subject:"page_render",path:b,details:h},{version:e,locale:f})},reportMissingPlatformProject:async function(a,b){if(a.local)return;let c=f.A.getProjectURL(b,a.platforms[b],a.type);await g(a.id,{level:"error",type:"meta",subject:"missing_platform_project",details:`${b}: ${a.platforms[b]} (${c})`,path:null})},getProjectIssues:async function(a){return e.A.resolveApiCall(()=>e.A.sendSimpleRequest(`dev/projects/${a}/issues`))}}},52313:(a,b,c)=>{c.d(b,{Ay:()=>at,dv:()=>as,Os:()=>ar});var d=c(37810),e=c(29021),f=c.n(e),g=c(37474);let h=JSON.parse('{"$schema":"https://json-schema.org/draft/2020-12/schema","title":"Sinytra Wiki Documentation Metadata","description":"Provides documentation project meta information","type":"object","properties":{"id":{"description":"Unique project ID that identifies the project across the wiki. We recommend using your projectid.","type":"string","minLength":2,"maxLength":126,"pattern":"^[a-z]+[a-z0-9-]+$"},"platforms":{"description":"A map of your project\'s available distribution platforms to platform project slugs.","type":"object","additionalProperties":{"type":"string"}},"versions":{"description":"A map of additional minecraft versions to git branch names to make available.","type":"object","additionalProperties":{"type":"string"}},"platform":{"description":"Your project\'s distribution platform. Deprecated: use \'platforms\' instead","enum":["curseforge","modrinth"],"deprecated":true},"slug":{"description":"The host platform\'s project slug. Deprecated: use \'platforms\' instead","type":"string","deprecated":true}},"allOf":[{"required":["id"]},{"oneOf":[{"required":["platform","slug"],"deprecated":true},{"required":["platforms"]}]}]}'),i=JSON.parse('{"$schema":"https://json-schema.org/draft/2020-12/schema","title":"Sinytra Wiki Folder Layout Metadata","description":"Provides file naming information for a directory","type":"object","required":[],"additionalProperties":{"oneOf":[{"type":"object","properties":{"name":{"type":"string","description":"Page display name"},"icon":{"type":["string","null"],"description":"Display icon name"}}},{"type":"string"}]}}');var j=c(32619);class k extends Error{constructor(a=""){super(a),this.name="ValidationError"}}function l(a,b){let{valid:c,errors:d}=(0,j.Fc)(a).validate(b);return c?[]:d}let m={validateMetadataFile:function(a){let b=l(h,a);if(b.length>0)throw new k(`Error validating documentation metadata:
1
+ "use strict";exports.id=2313,exports.ids=[2313],exports.modules={12170:(a,b,c)=>{c.d(b,{A:()=>m});var d=c(27759),e=c(76512),f=c(37474),g=c(41133);async function h(a,b){var c;return i(a,{method:"POST",...c=b,headers:{...c?.headers,"Content-Type":"application/json"},cache:!1})}async function i(a,b){return fetch(k(a,b?.parameters),function(a){let b=a?.cache===!0||"object"==typeof a?.cache,c=a?.cache===!1,d={...a?.headers};return{method:a?.method,headers:d,body:a?.body?"string"==typeof a?.body?a.body:JSON.stringify(a.body):null,cache:c?"no-store":b?"force-cache":void 0,next:b?{tags:"object"==typeof a.cache?a.cache.tags:void 0,revalidate:"object"==typeof a.cache?a.cache.revalidate:void 0}:void 0,redirect:"manual",credentials:a?.includeCredentials?"include":void 0}}(b))}function j(a,b){return"locale"==a?e.Ay.actualLocale(b):"version"==a?l(b):b}function k(a,b){let c=g.A.getBackendEndpointUrl(),e=(0,d.cT)(b,j);return`${c}/api/v1/${a}?${e}`}function l(a){return a==f.j4?null:a}let m={resolveApiCall:async function a(a){let b;try{b=await a()}catch(a){return console.error("Failed to call API",a),{type:"failed",success:!1,message:a instanceof Error?a.message:"(No message)",error:"unknown"}}let c=(b.headers.get("content-type")||"").includes("application/json");if(b.status>=300&&b.status<400)return{type:"redirect",status:b.status,success:!1,url:b.headers.get("location")||"",error:"unknown"};if(b.ok){let a=c?await b.json():void 0;return{type:"success",status:b.status,success:!0,data:a}}if(!c){let a=await b.text();return console.error("Unexpected API response",b.status,a),{type:"unknown_error",status:b.status,success:!1,message:a,error:"unknown"}}let d=await b.json(),e=d.error??"unknown";return{type:"known_error",status:b.status,success:!1,data:d,error:e}},sendSimpleRequest:i,sendDataRequest:h,constructApiUrl:k,constructAssetsUrl:function(a,b){let c=g.A.getAssetsBaseURL()??g.A.getBackendEndpointUrl(),e=(0,d.cT)(b,j);return`${c}/api/v1/${a}?${e}`},actualVersion:l}},19660:(a,b,c)=>{c.d(b,{A:()=>f,o:()=>d});let d="minecraft";function e(a){if(0===a.length)return null;if(a.includes(":")){let b=a.split(":");return{namespace:b[0],path:b[1]}}return{namespace:"minecraft",path:a}}let f={toString:function(a){return`${a.namespace}:${a.path}`},parse:e,extractPath:function(a){return e(a)?.path??a}}},27759:(a,b,c)=>{function d(a){let b=process.env[a];if(null==b)throw Error(`Missing environment variable ${a}`);return b}function e(a,b){if(null==b)throw Error(`Missing environment variable ${a}`);return b}function f(a,b){let c=new URLSearchParams;if(a){for(let d in a)if(null!=a[d]){let e=b?b(d,a[d]):a[d];e&&c.set(d,e)}}return c.toString()}c.d(b,{Av:()=>d,cT:()=>f,no:()=>e})},37474:(a,b,c)=>{c.d(b,{D$:()=>i,K0:()=>e,V_:()=>d,Xn:()=>g,j4:()=>f,kB:()=>j,xZ:()=>h});let d="sinytra-wiki.json",e="_meta.json",f="latest",g="en",h={name:"CC BY-NC-SA 4.0",url:"https://creativecommons.org/licenses/by-nc-sa/4.0"},i="_none",j={ONE_DAY:86400,ONE_WEEK:604800,TWO_WEEKS:1209600,ONE_MINUTE:60,ONE_MONTH:2592e3,ONE_YEAR:31536e3}},38272:(a,b,c)=>{c.d(b,{g:()=>s,A:()=>_});var d=c(18767),e=c(74572),f=c(93331),g=c(1591),h=c(27135),i=c(37492);let j={...c(36557).j,clobber:["ariaDescribedBy","ariaLabelledBy","name"],attributes:{"*":["id","className","style"],a:["data*","ariaLabel","ariaDescribedBy","target","href","title"],abbr:["title"],address:[],area:["shape","coords","href","alt"],article:[],aside:[],audio:["autoplay","controls","controlslist","crossorigin","loop","muted","preload","src"],b:[],bdi:["dir"],bdo:["dir"],big:[],blockquote:["cite"],br:[],caption:[],center:[],cite:[],code:[],col:["align","valign","span","width"],colgroup:["align","valign","span","width"],dd:[],del:["datetime"],details:["open"],div:[],dl:[],dt:[],em:[],figcaption:["data*"],figure:["data*"],font:["color","size","face"],footer:[],h1:[],h2:[],h3:[],h4:[],h5:[],h6:[],header:[],hr:[],i:[],img:["src","alt","title","width","height","loading"],input:[["type","checkbox"],"checked","disabled"],ins:["datetime"],kbd:[],li:[],mark:[],nav:[],ol:[],p:[],pre:[],s:[],section:["data*"],small:[],span:["data*"],sub:[],summary:[],sup:[],strong:[],strike:[],table:["width","border","align","valign"],tbody:["align","valign"],td:["width","rowspan","colspan","align","valign"],tfoot:["align","valign"],th:["width","rowspan","colspan","align","valign"],thead:["align","valign"],tr:["rowspan","align","valign"],tt:[],u:[],ul:[],video:["autoplay","controls","crossorigin","loop","muted","playsinline","poster","preload","src","height","width"]},tagNames:["a","abbr","address","area","article","aside","audio","b","bdi","bdo","big","blockquote","br","caption","center","cite","code","col","colgroup","dd","del","details","div","dl","dt","em","figcaption","figure","font","footer","h1","h2","h3","h4","h5","h6","header","hr","i","img","input","ins","kbd","li","mark","nav","ol","p","pre","s","section","small","span","sub","summary","sup","strong","strike","table","tbody","td","tfoot","th","thead","tr","tt","u","ul","video"]};var k=c(92702),l=c(55371),m=c(56282),n=c(71597),o=c(93720),p=c(67721),q=c(60492),r=c(76866);class s extends Error{constructor(a="",b){super(a),this.details=b,this.name="MarkdownError"}}let t=["mdxJsxFlowElement","mdxJsxTextElement"];function u(a){return b=>(function a(b,c){let{components:d,schema:e}=c;if(t.includes(b.type)){if(void 0!==d[b.name])return b;if(!b.name||!e.tagNames.includes(b.name))return null}else if(b.tagName&&!e.tagNames.includes(b.tagName))return null;return b.children&&(b.children=b.children.map(b=>a(b,c)).filter(a=>null!=a)),b})({...b},a)}var v=c(76994),w=c(1941);let x=["Program","ExpressionStatement","ObjectExpression","ArrayExpression","Property","Literal","Identifier"];function y(){return a=>{(0,w.YR)(a,["mdxJsxFlowElement","mdxJsxTextElement"],(a,b,c)=>{let d=!1;"mdxJsxFlowElement"===a.type||"mdxJsxTextElement"===a.type?a.attributes.some(a=>!function(a){if("mdxJsxAttribute"!==a.type)return!1;if("object"==typeof a.value){if(!a.value?.data?.estree)return null==a.value;let b=!1;if((0,v.YR)(a.value.data.estree,a=>{x.includes(a.type)||(b=!0)}),b)return!1}return!0}(a))&&(d=!0):d=!0,d&&c?.children.splice(b,1)})}}var z=c(64779),A=c(36264),B=c(24081);function C(){let a=new z.A;return(b,c)=>{a.reset();let d={},e=[],f=!1;(0,w.YR)(b,"element",(b,c,g)=>{let h=(0,A.T)(b);if(1===h&&b.children?.length===1){let a=b.children[0];if(a?.type==="text")return void(f?b.tagName="h2":(d.title=a.value,g?.children.splice(c,1),f=!0))}if(h&&!b.properties.id){let c=a.slug((0,B.d)(b));b.properties.id=c;let d={depth:h,id:c,value:(0,B.d)(b,{includeImageAlt:!1})};e.push(d)}}),d.headings=e,c.data.metadata=d}}function D(a){let b=b=>b.name&&a.includes(b.name);return a=>{(0,w.YR)(a,b,function(a){a.data&&(delete a.data._mdxExplicitJsx,delete a.data._xdmExplicitJsx)})}}function E(){return(a,b)=>{b.data.metadata||(b.data.metadata={});let c=[];(0,w.YR)(a,"element",a=>{if("a"===a.tagName&&a.properties?.href!=null){let b=String(a.properties.href);(b.startsWith("@")||b.startsWith("$")||b.startsWith("+"))&&c.push(b)}}),b.data.metadata.links=c}}var F=c(51962),G=c(40560),H=c(14507),I=c(29108);function J(a,b,c){let d=0,e=!1;return function(b){return 63!==b?c(b):(a.enter("hintDefinition"),a.enter("hintDefinitionMarker"),a.consume(b),a.exit("hintDefinitionMarker"),f)};function f(b){return 91!==b?c(b):(a.enter("hintDefinitionLabel"),a.enter("hintDefinitionLabelMarker"),a.consume(b),a.exit("hintDefinitionLabelMarker"),g)}function g(b){return 93===b?c(b):(a.enter("hintDefinitionLabelString"),h(b))}function h(b){return null===b||(0,H.HP)(b)||91===b||d>999?c(b):93===b?e?(a.exit("hintDefinitionLabelString"),a.enter("hintDefinitionLabelMarker"),a.consume(b),a.exit("hintDefinitionLabelMarker"),a.exit("hintDefinitionLabel"),j):c(b):(a.consume(b),e||(e=!(0,H.On)(b)),d++,92===b?i:h)}function i(b){return 91===b||92===b||93===b?(a.consume(b),d++,h):h(b)}function j(b){return 58!==b?c(b):(a.enter("hintDefinitionMarker"),a.consume(b),a.exit("hintDefinitionMarker"),(0,G.N)(a,k,"whitespace"))}function k(b){return null===b||(0,H.HP)(b)?c(b):(a.enter("hintDefinitionValueString"),l(b))}function l(c){return null===c||(0,H.HP)(c)?(a.exit("hintDefinitionValueString"),a.exit("hintDefinition"),b(c)):(a.consume(c),92===c?m:l)}function m(b){return null===b||(0,H.HP)(b)?l(b):(a.consume(b),l)}}var K=c(86108),L=c(1246);function M(a){var b;return(b=a.stack)[b.length-1]}function N(a){this.enter({type:"hint",hint:void 0,identifier:"",label:"",referenceType:"shortcut",children:[]},a)}function O(a){M(this)._rawLabel=this.sliceSerialize(a)}function P(a){M(this).hint=(0,K.s)(this.sliceSerialize(a))}function Q(){let a=M(this);void 0===a.hint&&(a.hint=""),a.referenceType=null}function R(a){let b=M(this),c=this.sliceSerialize(a);b.label=(0,K.s)(c),b.identifier=(0,L.B)(c).toLowerCase(),b.referenceType="full"}function S(){let a=M(this);"full"!==a.referenceType&&(a.referenceType="collapsed")}function T(a){let b=M(this),c=b._rawLabel||"";delete b._rawLabel,b.referenceType&&!b.identifier&&(b.label=(0,K.s)(c),b.identifier=(0,L.B)(c).toLowerCase()),this.exit(a)}function U(a){this.enter({type:"hintDefinition",identifier:"",label:"",hint:""},a)}function V(a){let b=M(this),c=this.sliceSerialize(a);b.label=(0,K.s)(c),b.identifier=(0,L.B)(c).toLowerCase()}function W(a){M(this).hint=(0,K.s)(this.sliceSerialize(a)).trim()}function X(a){this.exit(a)}let Y=(a,b,c,d)=>{let e=c.createTracker(d),f=c.enter("hint"),g=e.move("?[");return g+=e.move(c.containerPhrasing(a,{before:g,after:"]",...e.current()})),g+=e.move("]"),"full"===a.referenceType?g+=e.move("["+(a.label||a.identifier)+"]"):"collapsed"===a.referenceType?g+=e.move("[]"):"shortcut"!==a.referenceType&&(g+=e.move("("+(a.hint||"").replace(/[\\()]/g,"\\$&")+")")),f(),g},Z=a=>"?["+(a.label||a.identifier)+"]: "+a.hint;function $(a={}){let{componentName:b="hint",propName:c="hint",onMissing:d="unwrap"}=a,e=this.data();return(e.micromarkExtensions??=[]).push({text:{63:{name:"hint",tokenize:function(a,b,c){return function(a,b,c,d){let e=0,f=!1,g=0;return function(b){return(0,I.S)(d.previous)?(a.enter("hint"),a.enter("hintMarker"),a.consume(b),a.exit("hintMarker"),h):c(b)};function h(b){return 91!==b?c(b):(a.enter("hintLabel"),a.enter("hintLabelMarker"),a.consume(b),a.exit("hintLabelMarker"),i)}function i(b){return 93===b?c(b):(a.enter("hintLabelString"),a.enter("chunkText",{contentType:"text"}),j(b))}function j(b){return null===b||(0,H.HP)(b)||91===b||e>999?c(b):93===b?f?(a.exit("chunkText"),a.exit("hintLabelString"),a.enter("hintLabelMarker"),a.consume(b),a.exit("hintLabelMarker"),a.exit("hintLabel"),l):c(b):(a.consume(b),f||(f=!(0,H.On)(b)),e++,92===b?k:j)}function k(b){return 91===b||92===b||93===b?(a.consume(b),e++,j):j(b)}function l(b){var c,d;return 40===b?(c=b,a.enter("hintValue"),a.enter("hintValueMarker"),a.consume(c),a.exit("hintValueMarker"),m):91===b?(d=b,a.enter("hintReference"),a.enter("hintReferenceMarker"),a.consume(d),a.exit("hintReferenceMarker"),q):u(b)}function m(b){return 41===b?p(b):(a.enter("hintValueString"),n(b))}function n(b){return null===b||(0,H.HP)(b)?c(b):41===b&&0===g?(a.exit("hintValueString"),p(b)):(40===b?g++:41===b&&g--,a.consume(b),92===b?o:n)}function o(b){return 40===b||41===b||92===b?(a.consume(b),n):n(b)}function p(b){return a.enter("hintValueMarker"),a.consume(b),a.exit("hintValueMarker"),a.exit("hintValue"),u}function q(b){return 93===b?t(b):(a.enter("hintReferenceString"),e=0,r(b))}function r(b){return null===b||(0,H.HP)(b)||91===b||e>999?c(b):93===b?(a.exit("hintReferenceString"),t(b)):(a.consume(b),e++,92===b?s:r)}function s(b){return 91===b||92===b||93===b?(a.consume(b),e++,r):r(b)}function t(b){return a.enter("hintReferenceMarker"),a.consume(b),a.exit("hintReferenceMarker"),a.exit("hintReference"),u}function u(c){return a.exit("hint"),b(c)}}(a,b,c,this)}}},flow:{63:{name:"hintDefinition",tokenize:J}}}),(e.fromMarkdownExtensions??=[]).push({enter:{hint:N,hintDefinition:U},exit:{hint:T,hintLabelString:O,hintValueString:P,hintValue:Q,hintReference:S,hintReferenceString:R,hintDefinition:X,hintDefinitionLabelString:V,hintDefinitionValueString:W}}),(e.toMarkdownExtensions??=[]).push((Y.peek=()=>"?",{handlers:{hint:Y,hintDefinition:Z},unsafe:[{character:"?",after:"\\[",inConstruct:"phrasing"},{atBreak:!0,character:"*",after:"\\["}]})),function(a,e){let f=new Map;(0,w.YR)(a,"hintDefinition",(a,b,c)=>{if(f.has(a.identifier)||f.set(a.identifier,a.hint),c&&"number"==typeof b)return c.children.splice(b,1),[F._Z,b]}),(0,w.YR)(a,"definition",a=>{if(f.has(a.identifier))return;let b=a.title||void 0;void 0!==b&&f.set(a.identifier,b)}),(0,w.YR)(a,"hint",(a,g,h)=>{let i=a.hint;if(void 0===i&&void 0===(i=f.get(a.identifier))){if(e.message("Unknown hint reference "+a.identifier,a.position,"remark-hint:missing-definition"),"unwrap"===d&&h&&"number"==typeof g)return h.children.splice(g,1,...a.children),[F._Z,g];i=""}a.hint=i;let j={[c]:i};a.type="mdxJsxTextElement",a.name=b,a.attributes=Object.entries(j).map(([a,b])=>({type:"mdxJsxAttribute",name:a,value:b}))})}}let _={renderCommonMarkdown:async function a(a){return String(await (0,d.l)().use(e.A).use(f.A,{allowDangerousHtml:!0}).use(i.A).use(h.A,j).use(g.A).process(a))},renderDocumentationMarkdown:async function a(a,b,d,e){let f=await Promise.all([c.e(7640),c.e(9847),c.e(5040)]).then(c.bind(c,79847)),g={...Object.keys(f).filter(a=>a.endsWith("Icon")).reduce((a,b)=>(a[b]=f[b],a),{}),...b};e&&(g=e(g));let h={components:{code:"CodeHikeCode"}},i=function(a){let b=a.split("\n");if(b.length<1||!b[0].startsWith("---"))return a;let c=0;return b.map(a=>c<2&&a.startsWith("---")?(c++,a.trimEnd()):a).join("\n")}(a),t=new m.T(i);(0,n.S)(t,{strip:!0});try{let a=Object.keys(g),b={components:g,schema:j},c=[y,[u,b]];d||c.unshift(C);let e=await (0,o.w)(t,{outputFormat:"function-body",remarkPlugins:[[l.V,h],k.A,[D,a],$],rehypePlugins:c,recmaPlugins:[[l.B,h]]}),f=e.data.metadata??{},{default:i}=await (0,p.e)(e,{...q,baseUrl:"file:///home/runner/work/Wiki/Wiki/packages/markdown/src/renderer.ts"});return{content:i({components:g}),metadata:f}}catch(a){throw new s("MDX compilation failed",a instanceof r.o?a.name+": "+a.message:a.toString())}},readFrontmatter:function(a){let b=new m.T(a);return(0,n.S)(b,{strip:!0}),b.data.matter??{}},readProcessedFrontmatter:async function a(a){try{let b=await (0,d.l)().use(e.A).use(f.A,{allowDangerousHtml:!0}).use(()=>(a,b)=>(0,n.S)(b,{strip:!0})).use(C).use(E).use(g.A).process(a),c=b.data.matter??{},h=b.data.metadata??{};return{...c,...h}}catch(a){return console.error("Error reading processed frontmatter",a),{}}}}},41133:(a,b,c)=>{c.d(b,{A:()=>e});var d=c(27759);let e={getBackendEndpointUrl:function(){let a=process.env.NEXT_PUBLIC_BACKEND_SERVICE_URL;return(0,d.no)("NEXT_PUBLIC_BACKEND_SERVICE_URL",a)},getDocsUrl:function(){return process.env.NEXT_PUBLIC_DOCS_URL??null},getBuiltinAssetSource:function(){return"https://r2.sinytra.org/"},getAssetsBaseURL:function(){return process.env.NEXT_PUBLIC_ASSETS_BASE_URL??null}}},41852:(a,b,c)=>{c.d(b,{A:()=>h});var d=c(38272),e=c(69053),f=c(87837);async function g(a,b,c){return e.A.resolveApiCall(()=>e.A.sendDataRequest(`dev/projects/${a}/issues`,{parameters:c,body:b}))}let h={reportPageRenderFailure:async function(a,b,c,e,f){if(a.local)return;let h=c instanceof d.g?c.details:c.toString();await g(a.id,{level:"error",type:"page",subject:"page_render",path:b,details:h},{version:e,locale:f})},reportMissingPlatformProject:async function(a,b){if(a.local)return;let c=f.A.getProjectURL(b,a.platforms[b],a.type);await g(a.id,{level:"error",type:"meta",subject:"missing_platform_project",details:`${b}: ${a.platforms[b]} (${c})`,path:null})},getProjectIssues:async function(a){return e.A.resolveApiCall(()=>e.A.sendSimpleRequest(`dev/projects/${a}/issues`))}}},52313:(a,b,c)=>{c.d(b,{Ay:()=>at,dv:()=>as,Os:()=>ar});var d=c(37810),e=c(29021),f=c.n(e),g=c(37474);let h=JSON.parse('{"$schema":"https://json-schema.org/draft/2020-12/schema","title":"Sinytra Wiki Documentation Metadata","description":"Provides documentation project meta information","type":"object","properties":{"id":{"description":"Unique project ID that identifies the project across the wiki. We recommend using your projectid.","type":"string","minLength":2,"maxLength":126,"pattern":"^[a-z]+[a-z0-9-]+$"},"platforms":{"description":"A map of your project\'s available distribution platforms to platform project slugs.","type":"object","additionalProperties":{"type":"string"}},"versions":{"description":"A map of additional minecraft versions to git branch names to make available.","type":"object","additionalProperties":{"type":"string"}},"platform":{"description":"Your project\'s distribution platform. Deprecated: use \'platforms\' instead","enum":["curseforge","modrinth"],"deprecated":true},"slug":{"description":"The host platform\'s project slug. Deprecated: use \'platforms\' instead","type":"string","deprecated":true}},"allOf":[{"required":["id"]},{"oneOf":[{"required":["platform","slug"],"deprecated":true},{"required":["platforms"]}]}]}'),i=JSON.parse('{"$schema":"https://json-schema.org/draft/2020-12/schema","title":"Sinytra Wiki Folder Layout Metadata","description":"Provides file naming information for a directory","type":"object","required":[],"additionalProperties":{"oneOf":[{"type":"object","properties":{"name":{"type":"string","description":"Page display name"},"icon":{"type":["string","null"],"description":"Display icon name"}}},{"type":"string"}]}}');var j=c(32619);class k extends Error{constructor(a=""){super(a),this.name="ValidationError"}}function l(a,b){let{valid:c,errors:d}=(0,j.Fc)(a).validate(b);return c?[]:d}let m={validateMetadataFile:function(a){let b=l(h,a);if(b.length>0)throw new k(`Error validating documentation metadata:
2
2
  ${b.map(a=>`- ${a.message}`).join("\n")}`);return!0},parseFolderMetadata:function(a){let b=JSON.parse(a);return function(a){let b=l(i,a);if(b.length>0)throw new k(`Error validating folder metadata:
3
3
  ${b.map(a=>`- ${a.message}`).join("\n")}`)}(b),Object.keys(b).reduce((a,c)=>{let d=b[c],e="object"==typeof d?d:{name:d};return"icon"in e&&null===e.icon&&(e.icon=g.D$),a[c]=e,a},{})}};var n=c(84084),o=c.n(n),p=c(79551),q=c.n(p);function r(a){return"directory"===a.type||[".mdx",".json"].some(b=>a.name.endsWith(b))}let s={readFileTree:async function a(a){return function a(b){return b.filter(r).map(b=>({name:b.name,path:b.path,type:"directory"===b.type?"dir":"file",children:b.children?a(b.children):[]}))}(o()(a,{attributes:["type"]})?.children||[])},readFileContents:async function(a,b){let c=`${a.path}/${b}`;return{content:await e.promises.readFile(c,"utf8"),edit_url:null}},readShallowFileTree:async function(a,b){let c=o()(`${a.path}/${b}`,{attributes:["type"],depth:1});return(c?.children||[]).filter(r).map(b=>({name:b.name,path:b.path,type:"directory"===b.type?"dir":"file",children:[],url:q().pathToFileURL(a.path).toString()}))}};var t=c(98312),u=c(38272);let v=".assets",w=".content",x=".translated",y="_homepage",z="assets",A="docs",B="content",C="translated",D="_index",E={determineProjectFormat:function(a,b){if("1"===a){let a=`${b}/${z}`,c=`${b}/${B}`;return{schema:"1",root:b,assetsDir:a,contentDir:c,docsDir:`${b}/${A}`,translationsDir:C,docsIndexPageName:D,filterDocsTree:a=>a,getDocsSlugFromPath:a=>a.endsWith(".mdx")?a.substring(0,a.length-4):a,getDocsIndexPagePath(){return this.getDocsPagePath(D)},getDocsPagePath:a=>`${A}/${a}.mdx`,getContentPagePath:a=>`${B}/${a}.mdx`,getMetaFilePath:(a,b)=>"content"===a?`${B}/${b}`:`${A}/${b}`,getLocalizedFilePath:(a,b)=>`${C}/${b}/${a}`,getItemAssetLocation:a=>({namespace:a.namespace,path:`item/${a.path}`}),getItemPropertiesPath:a=>`data/${a}/properties/item.json`,getLangFilePath:(a,b)=>`${z}/${a}/lang/${b}.json`}}let c=`${b}/${v}`;return{schema:"0",root:b,assetsDir:c,contentDir:`${b}/${w}`,docsDir:b,translationsDir:x,docsIndexPageName:y,filterDocsTree:a=>a.filter(a=>"file"==a.type||"dir"===a.type&&!a.name.startsWith(".")&&a.children&&a.children.length>0),getDocsSlugFromPath:a=>a.endsWith(".mdx")?a.substring(0,a.length-4):a,getDocsIndexPagePath(){return this.getDocsPagePath(y)},getDocsPagePath:a=>`${a}.mdx`,getContentPagePath:a=>`${w}/${a}.mdx`,getMetaFilePath:(a,b)=>"content"===a?`${w}/${b}`:b,getLocalizedFilePath:(a,b)=>`${x}/${b}/${a}`,getItemAssetLocation:a=>a,getItemPropertiesPath:a=>".data/properties.json",getLangFilePath:(a,b)=>`${v}/${a}/lang/${b}.json`}}};var F=c(76512);async function G(){let a=process.env.LOCAL_DOCS_ROOTS||"";if(t.A.isPreview())return H(a);let b=(0,d.unstable_cache)(async a=>H(a),[],{tags:["local_sources"]});return(await b(a)).map(a=>({...a,format:E.determineProjectFormat(a.format.schema,a.format.root)}))}async function H(a){return Promise.all(a.split(";").filter(a=>a.length>0).map(async a=>{let b=JSON.parse(await e.promises.readFile(`${a}/${g.V_}`,"utf8"));return m.validateMetadataFile(b),{format:E.determineProjectFormat(b.schema,a),id:b.id,modid:b.modid,platforms:{[b.platform]:b.slug,...b.platforms},path:a,is_community:!1,type:"local"}}))}async function I(a,b,c,d,e){try{let e=c.join("/"),f="content"===b?a.format.getContentPagePath(e):a.format.getDocsPagePath(e),g=await P(a,f,d);if(!g)throw Error(`Documentation file at ${c} not found`);return g}catch(a){if(!e)throw a}return null}async function J(a){let b=(0,d.unstable_cache)(async()=>K(a),[`mod_locales:${a.id}`],{tags:[`mod_locales:${a.id}`]});return await b()}async function K(a){let b=/^[a-z]{2}_[a-z]{2}$/;try{let c=a.format.translationsDir;return(await s.readShallowFileTree(a,c)).filter(a=>"dir"===a.type&&a.name.match(b)).map(a=>a.name)}catch{return[]}}async function L(a,b,c){let d=await J(a);return M(a,b,c===g.Xn?void 0:c&&d.includes(c)?F.Ay.resolveParam(c):void 0)}async function M(a,b,c){let d="content"===b?a.format.contentDir:a.format.docsDir,e=await s.readFileTree(d),f=`${a.format.docsIndexPageName}.mdx`,h=a.format.filterDocsTree(e);return N(a,a=>"dir"===a.type||"file"===a.type&&!a.name.startsWith(".")&&a.name!==g.V_&&a.name!==f&&(a.name===g.K0||a.name.endsWith(".mdx")),"",b,h,c)}async function N(a,b,c,d,e,f){let h,i=e.filter(b),j=i.find(a=>"file"===a.type&&a.name===g.K0);if(j){let b=(0===c.length?"":c+"/")+j.name,e=a.format.getMetaFilePath(d,b);h=await O(a,e,f)}let k=Object.keys(h||{});return Promise.all(i.filter(a=>"file"!==a.type||a.name!==g.K0).sort((a,b)=>h?k.includes(a.name)&&k.includes(b.name)?k.indexOf(a.name)-k.indexOf(b.name):0:a.type.localeCompare(b.type)).map(async e=>{let g=0===c.length?e.name:c+"/"+e.name,i=a.format.getDocsSlugFromPath(g);return{path:i,name:h?.[e.name]?.name||await Q(a,d,i,e,f),type:e.type,children:e.children?await N(a,b,(0===c.length?"":c+"/")+e.name,d,e.children,f):[],icon:h?.[e.name]?.icon}}))}async function O(a,b,c){try{let d=await P(a,b,c);return m.parseFolderMetadata(d.content)}catch(a){return{}}}async function P(a,b,c){if(c&&c!==g.Xn&&(await J(a)).includes(c)){let d=a.format.getLocalizedFilePath(b,c);try{return await s.readFileContents(a,d)}catch{}}return await s.readFileContents(a,b)}async function Q(a,b,c,d,e){if("file"===d.type){let d=await I(a,b,c.split("/"),e);if(d){let a=await u.A.readProcessedFrontmatter(d.content);if(a?.title)return a.title}}var f=d.name;if(f.startsWith("_")||f.startsWith("."))return f;let g=f.split(".")[0].replaceAll(/[_-]/g," ").split(" ");for(let a=0;a<g.length;a++)g[a]=g[a][0].toUpperCase()+g[a].substring(1);return g.join(" ")}let R={getProjectSource:async function a(a){return(await G()).find(b=>b.id===a)||null},readDocsTree:async function a(a,b){return L(a,"docs",b)},readDocsFile:I,readContentTree:async function a(a,b){return L(a,"content",b)},getAvailableLocales:J};var S=c(87837),T=c(80086),U=c(19660);function V(a,b){return a+"/"+b.namespace+"/"+b.path+(b.path.includes(".")?"":T.h)}let W={resolveAsset:async function a(a,b){return{src:`/api/docs/${encodeURIComponent(a.id)}/asset/${encodeURIComponent(U.A.toString(b))}`,id:U.A.toString(b)}},resolveAssetPath:function(a,b){let c=a.format.assetsDir,d=V(c,b);if(f().existsSync(d))return d;let e=V(c,{namespace:"item",path:`${b.namespace}/${b.path}`});return f().existsSync(e)?e:null}};async function X(a){let b=await R.getProjectSource(a.id);return b?Y(b,a.locale):null}async function Y(a,b){let c=await R.readContentTree(a,b||void 0);return(await Promise.all(c.map(c=>Z(a,c,b||null,{existing:[]})))).filter(a=>null!=a)}async function Z(a,b,c,d){if("dir"===b.type){let e=await Promise.all(b.children.map(b=>Z(a,b,c,d)));return{...b,children:e.filter(a=>null!=a)}}{let e=await R.readDocsFile(a,"content",[b.path],c||void 0,!0);if(e){let c=u.A.readFrontmatter(e.content);if(c.id){let e=Array.isArray(c.id)?c.id:[c.id],f=function(a,b,c,d){if(null!=a&&!d.includes(a))return a;if(b?.[0]&&1===b.length){let a=U.A.parse(b[0]);if(null==a)return null;let c=a.path.replaceAll("/","_");if(!d.includes(c))return c}let e=c.split("/").pop();return null==e||d.includes(e)?c.replaceAll("/","_"):e}(c.ref??null,e,b.path,d.existing);if(null==f)return null;let g=function(a,b,c){if(b)return b;if(c?.[0]){let b=U.A.parse(c[0]);if(b)return U.A.toString(a.getItemAssetLocation(b))}return null}(a.format,c.icon??null,e);return d.existing.push(f),{ref:f,id:e,icon:g,name:b.name,path:b.path,type:b.type,children:[]}}}}return null}async function $(a,b,c){let d={};(await Promise.all(b.id.map(a=>ae(a,c)))).filter(a=>null!=a).forEach(a=>d[a.id]=a.name);let e=b.id.map(b=>{let c=d[b],e=U.A.parse(b),f=e?U.A.toString(a.getItemAssetLocation(e)):b;return{name:c??b,display:[f]}});return e?.[0]&&1===e.length&&b.icon&&(e[0].display=[b.icon]),e}function _(a,b){if("dir"!==b.type)return a(b)?b:null;for(let c of b.children){let b=_(a,c);if(b)return b}return null}async function aa(a,b){for(let c of b){let b=_(b=>b.path==a,c);if(b)return{type:"docs",ref:b.path,title:b.name}}return null}async function ab(a,b){for(let c of b){let b=_(b=>null!=b.id&&b.id.includes(a),c);if(b&&b.ref)return{type:"content",ref:b.ref,title:b.name}}return null}async function ac(a,b){for(let c of b){let b=_(b=>null!=b.ref&&b.ref===a,c);if(b&&b.ref)return{type:"content",ref:b.ref,title:b.name}}return null}async function ad(a,b,c){let d=F.Ay.resolveParam(c??g.Xn);try{let c=a.format.getLangFilePath(b,d),e=await s.readFileContents(a,c);return JSON.parse(e.content)}catch(a){return"ENOENT"!=a.code&&console.error(`Error reading locale file for language ${d}`,a),null}}async function ae(a,b){let c=await R.getProjectSource(b.id);if(!c)return null;let d=U.A.parse(a);if(!d)return null;let e=await ad(c,d.namespace,b.locale);if(e){for(let c of[`item.${d.namespace}.${d.path}`,`block.${d.namespace}.${d.path}`])if(e[c])return{source:b.id,id:a,name:e[c]}}let f=await X(b);if(!f)return null;for(let b of function a(b){return[...b,...b.flatMap(b=>a(b.children||[]))]}(f))if(b.ref===a)return{source:a,id:a,name:b.name};return null}let af={getLocalSourceContentTree:Y,getLocalItemProperties:async function a(a){try{let b=a.format.getItemPropertiesPath(a.modid??""),c=await s.readFileContents(a,b);return JSON.parse(c.content)}catch(a){"ENOENT"!=a.code&&console.error("Error reading item properties file",a)}return{}},constructInfobox:async function a(a,b,c){let d=b.infobox?.tabs??await $(a,b,c),e=b.infobox?.inventory??b.id.map(b=>{let c=U.A.parse(b);return c?U.A.toString(a.getItemAssetLocation(c)):b});return{title:b.infobox?.title??b.title??null,tabs:d,inventory:e}},findTreeEntry:_,resolveContentLinks:async function a(a,b){let c={},d=await R.getProjectSource(b.id);if(!d)return c;let e=await R.readDocsTree(d,b.locale??void 0),f=await X(b);for(let b of a)if(b.startsWith("$")&&null!=e){let a=b.substring(1),d=await aa(a,e);d&&(c[b]=d)}else if(b.startsWith("@")&&null!=f){let a=b.substring(1),d=U.A.parse(a);if(d&&d.namespace==U.o){c[b]={type:"vanilla",ref:d.path,title:null};continue}let e=await ab(a,f);e&&(c[b]=e)}else if(b.startsWith("+")&&null!=f){let a=b.substring(1),d=await ac(a,f);d&&(c[b]=d)}return c},getProjectContents:X};var ag=c(29524),ah=c.n(ag);function ai(a){return"file"===a.type?[a]:a.children.flatMap(ai)}async function aj(a){let b=await S.A.getPlatformProject(a),c=(await R.readDocsTree(a,void 0)).flatMap(ai),d=(await af.getLocalSourceContentTree(a,null)||[]).flatMap(ai),e=await R.getAvailableLocales(a);return{id:a.id,name:b.name,platforms:a.platforms,is_community:a.is_community,local:!0,type:b.type,source_repo:null,created_at:"",info:{page_count:c.length,content_count:d.length,licenses:{project:null}},versions:[],locales:e}}async function ak(a,b){let c=await R.getProjectSource(b.id);return c?W.resolveAssetPath(c,a):null}async function al(a,b,c,d,e){let f=await R.readDocsFile(a,b,c,e.locale||void 0,d);if(f){let a=await u.A.readProcessedFrontmatter(f.content),b=await af.resolveContentLinks(a.links??[],e),c=a.infobox;return c?.display&&!c?.tabs&&(c.tabs=[{name:"",display:c.display}]),c?.tabs?.forEach(a=>{Array.isArray(a.display)||(a.display=[a.display])}),{frontmatter:{id:a.id?Array.isArray(a.id)?a.id:[a.id]:[],title:a.title??null,type:a.type,icon:a.icon,infobox:c,history:a.history,custom:a.custom},content:f.content,edit_url:null,properties:{},links:b}}return null}async function am(a,b){let c=await R.getProjectSource(b.id);if(null==c)return null;let d=await af.getProjectContents(b);if(null==d)return null;for(let e of d){let d=af.findTreeEntry(b=>null!=b.ref&&b.ref==a,e);if(d){let a=await al(c,"content",[d.path],!1,b);if(a){let c=await R.getProjectSource(b.id),d=await af.getLocalItemProperties(c),e=ah()(d,a.frontmatter.id);return c&&(a.frontmatter.infobox=await af.constructInfobox(c.format,a.frontmatter,b)),{...a,properties:e}}}}return null}async function an(a,b){return null}async function ao(a,b){return null}async function ap(a,b){return null}let aq={getBackendLayout:async function(a){let b=await R.getProjectSource(a.id);return b?{tree:await R.readDocsTree(b,a.locale||void 0)}:null},getAsset:async function(a,b){let c=await R.getProjectSource(b.id);return c?W.resolveAsset(c,a):null},getItemAsset:async function(a,b){let c=await R.getProjectSource(b.id);if(c){let b=c.format.getItemAssetLocation(a);return W.resolveAsset(c,b)}return null},getDocsPage:async function(a,b,c){let d=await R.getProjectSource(c.id);if(d)return al(d,"docs",a,b,c)},getDocsIndexPage:async function(a){let b=await R.getProjectSource(a.id);if(b){let c=[b.format.getDocsIndexPagePath()];return al(b,"docs",c,!0,a)}},getProject:async function(a){let b=await R.getProjectSource(a.id);return b?aj(b):null},searchProjects:async function(a,b,c,d){return null},getProjectRecipe:async function(a,b){return null},getProjectContents:af.getProjectContents,getProjectContentPage:am,getContentRecipeUsage:an,getContentRecipeObtaining:ao,getRecipeType:ap},ar={isAvailable:()=>null!=process.env.LOCAL_DOCS_ROOTS,create:()=>aq},as={getLocalAssetFile:ak},at={getLocalDocumentationSources:G}},69053:(a,b,c)=>{c.d(b,{A:()=>h});var d=c(98312),e=c(72408),f=c(12170);async function g(a,b){let c={...b?.headers,Authorization:`Bearer ${d.A.getBackendSecretApiKey()}`};return(b?.userAuth===!0||b?.userAuth===void 0)&&(c.cookie=(await (0,e.UL)()).toString()),f.A.sendSimpleRequest(a,{...b,headers:c})}let h={sendDataRequest:async function(a,b){return g(a,{method:"POST",...b,headers:{...b?.headers,"Content-Type":"application/json"},cache:!1})},sendSimpleRequest:g,resolveApiCall:async function(a){return f.A.resolveApiCall(a)}}},76512:(a,b,c)=>{c.d(b,{Ay:()=>h,nQ:()=>e});var d=c(4120);let e="en-US",f=[{name:"English",code:"en_us",prefix:"en",file:"en_US",internal:"en-US",icon:d.US},{name:"Čeština",code:"cs_cz",prefix:"cs",file:"cs_CZ",internal:"cs-CZ",icon:d.CZ},{name:"Deutsch",code:"de_de",prefix:"de",file:"de_DE",internal:"de-DE",icon:d.DE},{name:"Espa\xf1ol",code:"es_es",prefix:"es",file:"es_ES",internal:"es-ES",icon:d.ES,crowdin:"es-ES"},{name:"Fran\xe7ais",code:"fr_fr",prefix:"fr",file:"fr_FR",internal:"fr-FR",icon:d.FR},{name:"Magyar",code:"hu_hu",prefix:"hu",file:"hu_HU",internal:"hu-HU",icon:d.HU},{name:"Italiano",code:"it_it",prefix:"it",file:"it_IT",internal:"it-IT",icon:d.IT},{name:"日本語",code:"ja_jp",prefix:"ja",file:"ja_JP",internal:"ja-JP",icon:d.JP},{name:"한국어",code:"ko_kr",prefix:"ko",file:"ko_KR",internal:"ko-KR",icon:d.KR},{name:"Bahasa Melayu",code:"ms_my",prefix:"ms",file:"ms_MY",internal:"ms-MY",icon:d.MY},{name:"بهاس ملايو",code:"zml_arab",prefix:"ms_Ar",file:"ms_Arab",internal:"ms-Arab",icon:d.MY,crowdin:"ms-Arab",rtl:!0},{name:"Polski",code:"pl_pl",prefix:"pl",file:"pl_PL",internal:"pl-PL",icon:d.PL},{name:"Русский",code:"ru_ru",prefix:"ru",file:"ru_RU",internal:"ru-RU",icon:d.RU},{name:"Svenska",code:"sv_se",prefix:"sv",file:"sv_SE",internal:"sv-SE",icon:d.SE,crowdin:"sv-SE"},{name:"T\xfcrk\xe7e",code:"tr_tr",prefix:"tr",file:"tr_TR",internal:"tr-TR",icon:d.TR},{name:"Українська",code:"uk_ua",prefix:"uk",file:"uk_UA",internal:"uk-UA",icon:d.UA},{name:"简体中文",code:"zh_cn",prefix:"zh_cn",file:"zh_CN",internal:"zh-CN",icon:d.CN,crowdin:"zh-CN"},{name:"繁體中文",code:"zh_tw",prefix:"zh_tw",file:"zh_TW",internal:"zh-TW",icon:d.TW,crowdin:"zh-TW"}];function g(a){return f.find(b=>b.prefix===a)}let h={getAvailableLocales:function(){return f},getLanguagePaths:function(){return f.map(a=>a.prefix)},getInternalCodes:function(){return f.map(a=>a.internal)},getPathPrefixes:function(){return f.reduce((a,b)=>({...a,[b.internal]:"/"+b.prefix}),{})},getForUrlParam:g,getForInternalCode:function(a){return f.find(b=>b.internal===a)},getCrowdinLanguageId:function(a){let b=g(a);return b?.crowdin||b?.prefix},isRTL:function(a){return g(a)?.rtl||!1},actualLocale:function(a){if(!a||"en_us"===a)return null;let b=g(a);return b?.file.toLowerCase()??null},resolveParam:function(a){return g(a).code},getUrlPrefixForCode:function(a){return f.find(b=>b.code===a)?.prefix}}},80086:(a,b,c)=>{c.d(b,{h:()=>d});let d=".png"},87837:(a,b,c)=>{c.d(b,{A:()=>C});var d=c(98312);let e=["mod","modpack","datapack","resourcepack","plugin","shader"];class f extends Error{constructor(a){super(a)}}var g=c(37474);let h="Sinytra/modded-wiki/1.0.0"+(d.A.isPreview()?"/local":"");async function i(a){let b=await k(a),c=b.project_types.length<1||!e.includes(b.project_types[0])?"mod":b.project_types[0];return{slug:b.slug,name:b.name,summary:b.summary,description:b.description,icon_url:b.icon_url,categories:b.categories,game_versions:b.game_versions,license:{id:b.license.id,name:b.license.name,url:b.license.url},source_url:b.link_urls?.source?.url,discord_url:b.link_urls?.discord?.url,platform:"modrinth",project_url:await p(b.slug,c),type:c}}async function j(a){let b=await k(a.slug);if(b.organization){var c;let a=await l(b.slug);return[{name:a.name,url:(c=a,`https://modrinth.com/organization/${c.slug}`)}]}return(await m(b.slug)).map(a=>{var b;return{name:a.user.username,url:(b=a.user,`https://modrinth.com/user/${b.username}`)}})}async function k(a){return n(`/project/${a}`,a)}async function l(a){return n(`/project/${a}/organization`,a)}async function m(a){return n(`/project/${a}/members`,a)}async function n(a,b,c){return o("https://api.modrinth.com/v3",b,a,c)}async function o(a,b,c,d){let e=await fetch(a+c,{headers:{"User-Agent":h,...d},cache:"force-cache",next:{tags:[`modrinth:${b}`],revalidate:g.kB.ONE_MONTH}});if(!e.ok){let a=`Failed to fetch Modrinth API: ${e.status}`;if(404===e.status)throw new f(a);throw Error(a)}return await e.json()}function p(a,b){return`https://modrinth.com/mod/${a}`}let q={6:"mod",12:"resourcepack",6945:"datapack",6552:"shader",4471:"modpack",5:"plugin"},r={mod:"mc-mods",resourcepack:"texture-packs",datapack:"data-packs",shader:"shaders",modpack:"modpacks",plugin:"bukkit-plugins"};async function s(a){if(!process.env.CF_API_KEY&&d.A.isPreview())return{slug:a,name:a,summary:"",description:"",icon_url:"",categories:[],game_versions:[],license:void 0,source_url:"",platform:"curseforge",project_url:u(a,"mod"),extra:{authors:[]},type:"mod",is_placeholder:!0};let b=await v(a),c=await w(b.id),e=q[b.classId]||"mod";return{slug:b.slug,name:b.name,summary:b.summary,description:c,icon_url:b.logo.url,categories:b.categories.map(a=>a.slug),game_versions:b.latestFilesIndexes.map(a=>a.gameVersion).reverse(),license:void 0,source_url:b.links.sourceUrl,platform:"curseforge",project_url:u(b.slug,e),extra:{authors:b.authors.map(a=>({name:a.name,url:a.url}))},type:e}}async function t(a){return a.extra.authors}function u(a,b){let c=r[b];return`https://www.curseforge.com/minecraft/${c}/${a}`}async function v(a){var b;if(!isNaN(Number(b=a))&&!isNaN(parseFloat(b)))try{return(await x(`/mods/${a}`,a)).data}catch(b){console.error("Error fetching project by ID",a,b)}let c=await x(`/mods/search?gameId=432&slug=${a}`,a);if(1===c.pagination.resultCount&&1===c.data.length)return c.data[0];if(0===c.pagination.resultCount)throw new f(`No project found for slug ${a}`);throw Error(`Multiple projects found for slug '${a}'`)}async function w(a){return(await x(`/mods/${a}/description`,a.toString())).data}async function x(a,b,c){if(!process.env.CF_API_KEY)throw Error("Missing CurseForge API (CF_API_KEY)");let d=await fetch("https://api.curseforge.com/v1"+a,{headers:{"x-api-key":process.env.CF_API_KEY,...c},cache:"force-cache",next:{tags:[`curseforge:${b}`],revalidate:g.kB.ONE_MONTH}});if(!d.ok)throw Error(`Failed to fetch CurseForge API: ${d.status}`);return await d.json()}var y=c(41852);let z={modrinth:{getProject:i,getProjectAuthors:j,getProjectURL:p},curseforge:{getProject:s,getProjectAuthors:t,getProjectURL:u}};function A(a){let b=z[a];if(!b)throw Error(`Unknown project source ${a}`);return b}async function B(a,b){await y.A.reportMissingPlatformProject(a,b)}let C={getProjectAuthors:async function a(b,c=!0){try{return await A(b.platform).getProjectAuthors(b)}catch(a){if(c&&a instanceof f)return[];throw a}},getProjectURL:function(a,b,c){return A(a).getProjectURL(b,c)},getPlatformProject:async function a(b,c=!0){for(let a in z)if(b.platforms[a])try{return await z[a].getProject(b.platforms[a])}catch(e){if(c&&e instanceof f){var d;return await B(b,a),{slug:(d=b).platforms.modrinth||d.platforms.curseforge||d.id,name:d.name||d.id,summary:"",description:"",icon_url:"",categories:[],game_versions:[],platform:d.platforms.modrinth?"modrinth":"curseforge",project_url:"",type:"mod",is_placeholder:!1}}throw e}throw Error(`No provider found for project ${b.id} on platforms ${JSON.stringify(b.platforms)}`)}}},98312:(a,b,c)=>{c.d(b,{A:()=>e});var d=c(27759);let e={isPreview:function(){return!0},getLocalDocsRoots:function(){return process.env.LOCAL_DOCS_ROOTS??null},getBackendSecretApiKey:function(){return(0,d.Av)("BACKEND_API_KEY")},getPosthogEndpointURL:function(){return process.env.POSTHOG_URL??null},getPosthogProjectID:function(){return process.env.POSTHOG_PROJECT_ID??null},getPosthogAPIKey:function(){return process.env.POSTHOG_API_KEY??null},getPosthogPopularProjectsIndexName:function(){return process.env.POSTHOG_POPULAR_PROJECTS_INDEX??null},getCrowdinUrl:function(){return process.env.CROWDIN_URL??null},getSessionCookieName:function(){return process.env.SESSION_COOKIE_NAME??""}}}};