(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[61],{2431:function(){},775:function(e,t,a){Promise.resolve().then(a.bind(a,7137)),Promise.resolve().then(a.bind(a,8932)),Promise.resolve().then(a.bind(a,214)),Promise.resolve().then(a.bind(a,9640)),Promise.resolve().then(a.bind(a,9101)),Promise.resolve().then(a.bind(a,6316)),Promise.resolve().then(a.t.bind(a,413,23)),Promise.resolve().then(a.t.bind(a,8326,23))},7137:function(e,t,a){"use strict";a.r(t),a.d(t,{default:function(){return h}});var r=a(7437),s=a(6691),i=a.n(s),l=a(1396),n=a.n(l),o=e=>{let{persons:t,title:a,avatar:s}=e,l="small"===s?40:"large"===s?150:"special"===s?200:60;return(0,r.jsxs)("div",{className:"space-y-4",children:[a&&(0,r.jsx)("h2",{className:"text-xl font-medium w-full",children:a}),(0,r.jsx)("div",{className:"flex flex-wrap gap-2 w-fit",children:t.map(e=>(0,r.jsx)("div",{children:(0,r.jsx)(n(),{href:e.url,target:"_blank",children:(0,r.jsx)(i(),{src:e.avatarUrl,width:l,height:l,title:e.name,alt:e.name,className:"rounded-full drop-shadow-sm "})})},e.name))})]})};let c=[{name:"Mahiru",avatarUrl:"https://avatars.githubusercontent.com/u/30483415?v=4",url:"https://github.com/MakinoharaShoko"},{name:"22",avatarUrl:"https://avatars.githubusercontent.com/u/60903333?v=4",url:"https://github.com/nini22P"},{name:"Iara",avatarUrl:"https://avatars.githubusercontent.com/u/49630998?v=4",url:"https://github.com/labiker"},{name:"Hoshinokinya",avatarUrl:"https://avatars.githubusercontent.com/u/77627831?v=4",url:"https://github.com/hshqwq"},{name:"Yuji Sakai",avatarUrl:"https://avatars.githubusercontent.com/u/71590526?v=4",url:"https://github.com/generalfreed"},{name:"Xuran",avatarUrl:"https://avatars.githubusercontent.com/u/52703373?v=4",url:"https://github.com/xiaoxustudio"},{name:"loliko",avatarUrl:"https://avatars.githubusercontent.com/u/60571640?v=4",url:"https://github.com/loliko114514"},{name:"tinyAdapter",avatarUrl:"https://avatars.githubusercontent.com/u/8264895?v=4",url:"https://github.com/tinyAdapter"},{name:"Junbo Xiong",avatarUrl:"https://avatars.githubusercontent.com/u/19368807?v=4",url:"https://github.com/C6H5-NO2"},{name:"dabao1955",avatarUrl:"https://avatars.githubusercontent.com/u/79307765?v=4",url:"https://github.com/dabao1955"},{name:"SakuraSnow",avatarUrl:"https://avatars.githubusercontent.com/u/43871064?v=4",url:"https://github.com/sliyoxn"},{name:"lykl",avatarUrl:"https://avatars.githubusercontent.com/u/42017216?v=4",url:"https://github.com/lykl"},{name:"yuyi",avatarUrl:"https://avatars.githubusercontent.com/u/39978569?v=4",url:"https://github.com/yuyi919"},{name:"爱走位的KN_sword",avatarUrl:"https://avatars.githubusercontent.com/u/83012768?v=4",url:"https://github.com/ShrLeeKNsword"},{name:"Tang Jing Hang",avatarUrl:"https://avatars.githubusercontent.com/u/104249142?v=4",url:"https://github.com/keyboardreamer"},{name:"bcqsd",avatarUrl:"https://avatars.githubusercontent.com/u/92590197?v=4",url:"https://github.com/bcqsd"},{name:"SmileFlower",avatarUrl:"https://avatars.githubusercontent.com/u/71603900?v=4",url:"https://github.com/hisokanogon"},{name:"Robert2333",avatarUrl:"https://avatars.githubusercontent.com/u/16183411?v=4",url:"https://github.com/Robert2333"},{name:"Lockinwize Lolite",avatarUrl:"https://avatars.githubusercontent.com/u/69132261?v=4",url:"https://github.com/mzwing"},{name:"hundun",avatarUrl:"https://avatars.githubusercontent.com/u/22592888?v=4",url:"https://github.com/hundun000"},{name:"德布罗煜",avatarUrl:"https://avatars.githubusercontent.com/u/57794772?v=4",url:"https://github.com/ch1ny"},{name:"谭光志",avatarUrl:"https://avatars.githubusercontent.com/u/22117876?v=4",url:"https://github.com/woai3c"},{name:"GeekMK",avatarUrl:"https://avatars.githubusercontent.com/u/48639567?v=4",url:"https://github.com/unlimitedcodeG"},{name:"Bromine0x23",avatarUrl:"https://avatars.githubusercontent.com/u/5657337?v=4",url:"https://github.com/bromine0x23"},{name:"Kazusa",avatarUrl:"https://avatars.githubusercontent.com/u/132211610?v=4",url:"https://github.com/Huaizz-shawen"},{name:"Murasame0721",avatarUrl:"https://avatars.githubusercontent.com/u/65087506?v=4",url:"https://github.com/Murasame0721"},{name:"Mako",avatarUrl:"https://avatars.githubusercontent.com/u/3869819?v=4",url:"https://github.com/Yanggum"},{name:"caleb891004",avatarUrl:"https://avatars.githubusercontent.com/u/152059091?v=4",url:"https://github.com/caleb891004"},{name:"callofblood",avatarUrl:"https://avatars.githubusercontent.com/u/70617760?v=4",url:"https://github.com/callofblood"},{name:"lyle",avatarUrl:"https://avatars.githubusercontent.com/u/61548984?v=4",url:"https://github.com/lylelove"},{name:"Mike Zhou",avatarUrl:"https://avatars.githubusercontent.com/u/23418428?v=4",url:"https://github.com/mikezzb"},{name:"Reo",avatarUrl:"https://avatars.githubusercontent.com/u/1438351?v=4",url:"https://github.com/reosablo"}];var u=a(1795),h=()=>{let e=(0,u.useTranslations)("contributors");return(0,r.jsx)(o,{persons:c,title:e("contributors")})}},8932:function(e,t,a){"use strict";a.r(t);var r=a(7437),s=a(9241),i=a(7655),l=a.n(i),n=a(1795);t.default=()=>{let e=(0,n.useTranslations)("features");return(0,r.jsx)("div",{className:"bg-gray-50",children:(0,r.jsx)("div",{className:l().container,children:(0,r.jsxs)("div",{className:l().box,children:[(0,r.jsxs)("div",{className:l().card,children:[(0,r.jsx)("div",{className:l().icon,children:(0,r.jsx)(s.opX,{})}),(0,r.jsx)("h3",{className:l().title,children:e("openSource.title")}),(0,r.jsxs)("div",{className:l().info,children:[(0,r.jsx)("p",{children:e("openSource.line0")}),(0,r.jsx)("p",{children:e("openSource.line1")}),(0,r.jsx)("a",{href:"https://github.com/OpenWebGAL/WebGAL",target:"_blank",children:e("openSource.repo")})]})]}),(0,r.jsxs)("div",{className:l().card,children:[(0,r.jsxs)("div",{className:l()["icon-grid"],children:[(0,r.jsx)(s.a45,{}),(0,r.jsx)(s.BiC,{}),(0,r.jsx)(s.CJ6,{}),(0,r.jsx)(s.SK_,{})]}),(0,r.jsx)("h3",{className:l().title,children:e("multiplatform.title")}),(0,r.jsxs)("div",{className:l().info,children:[(0,r.jsx)("p",{children:e("multiplatform.line0")}),(0,r.jsx)("p",{children:e("multiplatform.line1")})]})]})]})})})}},214:function(e,t,a){"use strict";a.r(t);var r=a(7437),s=a(3981),i=a(1795),l=a(1396),n=a.n(l),o=a(1234),c=a.n(o),u=a(6691),h=a.n(u);t.default=()=>{let e=(0,i.useLocale)(),t=(0,i.useTranslations)("features");return(0,r.jsxs)("div",{children:[(0,r.jsxs)("div",{className:c().container,children:[(0,r.jsx)("h2",{className:c()["features-title"],children:t("features")}),(0,r.jsxs)("div",{className:c().feature,children:[(0,r.jsx)(h(),{src:"/images/features/easy-to-develop.webp",alt:"",width:0,height:0,className:c()["feature-image"]}),(0,r.jsxs)("div",{className:c()["feature-text"],children:[(0,r.jsx)("h2",{className:c()["feature-title"],children:t("easyToDevelop.title")}),(0,r.jsx)("p",{className:c()["feature-info"],children:t("easyToDevelop.info")})]})]}),(0,r.jsxs)("div",{className:"".concat(c()["feature-reverse"]),children:[(0,r.jsx)(h(),{src:"/images/features/nice-ui.webp",alt:"",width:0,height:0,className:c()["feature-image"]}),(0,r.jsxs)("div",{className:c()["feature-text"],children:[(0,r.jsx)("h2",{className:c()["feature-title"],children:t("niceUI.title")}),(0,r.jsx)("p",{className:c()["feature-info"],children:t("niceUI.info")})]})]}),(0,r.jsxs)("div",{className:c().feature,children:[(0,r.jsx)(h(),{src:"/images/features/full-function.webp",alt:"",width:0,height:0,className:c()["feature-image"]}),(0,r.jsxs)("div",{className:c()["feature-text"],children:[(0,r.jsx)("h2",{className:c()["feature-title"],children:t("fullFunction.title")}),(0,r.jsx)("p",{className:c()["feature-info"],children:t("fullFunction.info")})]})]})]}),(0,r.jsx)("div",{className:"bg-white",children:(0,r.jsxs)("div",{className:"max-w-screen-xl mx-auto space-y-4 p-8 flex flex-col justify-center items-center text-center",children:[(0,r.jsxs)("div",{children:[(0,r.jsx)("p",{className:"text-base text-gray-700 font-normal",children:t("nowDownload.info.line0")}),(0,r.jsx)("p",{className:"text-base text-gray-700 font-normal",children:t("nowDownload.info.line1")})]}),(0,r.jsx)(s.Z,{children:(0,r.jsx)(n(),{href:"/".concat(e,"/download/"),className:"text-lg",children:t("nowDownload.nowDownload")})})]})})]})}},9640:function(e,t,a){"use strict";a.r(t);var r=a(7437),s=a(3981),i=a(1795),l=a(1396),n=a.n(l),o=a(1872),c=a.n(o),u=a(6691),h=a.n(u),m=a(2265),d=a(1996);t.default=()=>{let e=(0,i.useTranslations)("home"),t=(0,i.useLocale)(),{docsRedirect:a}=(0,d.Z)(),l=[{title:"game",src:"/images/game.webp"},{title:"terre",src:"/images/terre.webp"},{title:"title",src:"/images/title.webp"}],[o,u]=(0,m.useState)(0);return(0,m.useEffect)(()=>{let e=setTimeout(()=>{u(()=>o===l.length-1?0:o+1)},3e3);return()=>{clearInterval(e)}},[o,l.length]),(0,r.jsxs)("div",{className:c().topVisual,children:[(0,r.jsx)("div",{className:c().background}),(0,r.jsxs)("div",{className:c().container,children:[(0,r.jsxs)("div",{className:c().titlearea,children:[(0,r.jsx)("h1",{className:"text-5xl font-bold",style:{display:"block"},children:e("title-l1")}),(0,r.jsx)("h1",{className:"text-5xl font-bold",style:{display:"block"},children:e("title-l2")}),(0,r.jsx)("p",{className:"text-lg",children:e("subTitle")}),(0,r.jsxs)("div",{className:"flex flex-row items-center gap-4 flex-wrap",children:[(0,r.jsx)(s.Z,{large:!0,children:(0,r.jsx)(n(),{href:"/".concat(t,"/download/"),children:e("nowDownload")})}),(0,r.jsx)(s.Z,{large:!0,children:(0,r.jsx)(n(),{href:a("/"),target:"_blank",children:e("viewDocument")})}),(0,r.jsx)(s.Z,{large:!0,children:(0,r.jsx)(n(),{href:"https://docs.openwebgal.com".concat("zh-cn"===t?"":"/".concat(t),"/sponsor/"),children:e("sponsor")})})]}),(0,r.jsx)("div",{className:"flex flex-row justify-center items-center gap-4 pt-2",children:(0,r.jsx)("a",{href:"https://www.producthunt.com/posts/webgal?utm_source=badge-featured&utm_medium=badge&utm_souce=badge-webgal",target:"_blank",children:(0,r.jsx)("img",{src:"https://api.producthunt.com/widgets/embed-image/v1/featured.svg?post_id=443280&theme=light",alt:"WebGAL - Galgame Editing. Redefined | Product Hunt",style:{width:250,height:54},width:"250",height:"54"})})})]}),(0,r.jsx)("div",{className:c().card,children:l.map((e,t)=>(0,r.jsx)(h(),{src:e.src,alt:e.title,width:720,height:1280,className:c()["card-image"],style:t===o?{display:"block"}:{display:"none"},priority:!0},t))})]})]})}},9101:function(e,t,a){"use strict";a.r(t),a.d(t,{default:function(){return b}});var r=a(7437),s=a(3981),i=a(1396),l=a.n(i),n=a(6691),o=a.n(n),c=a(3807),u=a.n(c),h=e=>{let{game:t}=e;return(0,r.jsx)("div",{className:u().card,children:(0,r.jsxs)(l(),{href:t.url,target:"_blank",className:u().link,children:[(0,r.jsx)("div",{className:u().imageContainer,children:(0,r.jsx)(o(),{src:"/images/games/".concat(t.cover),alt:t.title,width:0,height:0,className:u().image})}),(0,r.jsxs)("div",{className:u().info,children:[(0,r.jsx)("p",{className:u().title,children:t.title}),(0,r.jsx)("p",{className:u().developer,children:t.developer})]})]})})};let m=["elf-of-era-idols-project","observer","agnostic-requiem","qinglian"],d=[{id:"hoshinasuzu",title:"铃色☆记忆",developer:"星奈组",releaseDate:"2022-06-28",url:"https://hoshinasuzu.cc/suzu-memory/",cover:"suzu.webp"},{id:"elf-of-era-idols-project",title:"Elf of Era! Idols Project",developer:"Elf of Era! Idols Project 制作组",releaseDate:"2023-06-22",url:"https://store.steampowered.com/app/2414730/Elf_of_Era_Idols_Project/",cover:"elf-of-Era!-Idols-Project.webp"},{id:"observer",title:"観察者-OBSERVER-",developer:"Yuji Sakai",releaseDate:"2023-11-12",url:"https://digigame-webgal.onrender.com/",cover:"observer.webp"},{id:"agnostic-requiem",title:"Agnostic Requiem",developer:"WasabiStone",releaseDate:"2023-11-05",url:"https://store.steampowered.com/app/2645190/Agnostic_Requiem/",cover:"agnostic-requiem.webp"},{id:"safe-house",title:"Safe House",developer:"HuangZeXin",releaseDate:"2023-12-30",url:"https://store.steampowered.com/app/2707580/Safe_House/",cover:"safe-house.webp"},{id:"fayanshideshiyan",title:"法言使的誓言",developer:"醉未了",releaseDate:"2024-02-12",url:"https://www.bilibili.com/video/BV1ru4m1K7uj/",cover:"fayanshideshiyan.webp"},{id:"qinglian",title:"青恋",developer:"阿牛, NICE",releaseDate:"2024-06-28",url:"https://store.steampowered.com/app/3043160/_/",cover:"ql.webp"},{id:"xinxi",title:"信息",developer:"三玖谁顶的住啊",releaseDate:"2024-07-10",url:"https://www.bilibili.com/video/BV1aH4y1w7g4/",cover:"xinxi.webp"},{id:"devils-journey",title:"恶魔之旅",developer:"Zombie Ass",releaseDate:"2024-10-24",url:"https://www.bilibili.com/video/BV1jRyfYjEuX/",cover:"devils-journey.webp"}];var p=a(1996),v=a(806),g=a(1795),b=()=>{let e=(0,g.useTranslations)("games"),t=(0,g.useLocale)(),{docsRedirect:a}=(0,p.Z)();return(0,r.jsxs)("div",{className:"flex flex-col flex-wrap justify-center item-center py-4 pb-8 gap-4 text-center bg-white",children:[(0,r.jsx)("div",{className:"w-full pt-2",children:(0,r.jsx)("h2",{className:"text-2xl font-semibold p-2",children:e("webgalGames")})}),(0,r.jsx)("div",{className:"max-w-screen-xl mx-auto grid grid-cols-2 md:grid-cols-4 px-4 gap-4",children:(0,v.k0)(d,"date").filter(e=>m.find(t=>t===e.id)).map(e=>(0,r.jsx)(h,{game:e},e.id))}),(0,r.jsxs)("div",{className:"grid grid-cols-2 gap-4 px-4 max-w-fit mx-auto",children:[(0,r.jsx)(s.Z,{children:(0,r.jsxs)(l(),{href:a("/showcase-your-game"),target:"_blank",children:[" ",e("showCaseYourGame")]})}),(0,r.jsx)(s.Z,{children:(0,r.jsxs)(l(),{href:"/".concat(t,"/games/"),children:[" ",e("viewMoreGames")]})})]})]})}},3981:function(e,t,a){"use strict";var r=a(7437),s=a(7743),i=a.n(s);t.Z=e=>{let{terre:t,large:a=!1,children:s,...l}=e;return(0,r.jsx)("button",{type:"button",className:"".concat(i().btn," ").concat(t?i()["btn-terre"]:i()["btn-webgal"]," ").concat(a?i()["btn-large"]:""),...l,children:s})}},1996:function(e,t,a){"use strict";var r=a(1795);t.Z=()=>{let e=(0,r.useLocale)();return{docsRedirect:t=>{let a="https://docs.openwebgal.com",r="zh-cn"===e?a:"".concat(a,"/").concat(e);return"".concat(r).concat(t)}}}},679:function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var a in t)Object.defineProperty(e,a,{enumerable:!0,get:t[a]})}(t,{unstable_getImgProps:function(){return o},default:function(){return c}});let r=a(1024),s=a(7929),i=a(2637),l=a(413),n=r._(a(9950)),o=e=>{(0,i.warnOnce)("Warning: unstable_getImgProps() is experimental and may change or be removed at any time. Use at your own risk.");let{props:t}=(0,s.getImgProps)(e,{defaultLoader:n.default,imgConf:{deviceSizes:[640,750,828,1080,1200,1920,2048,3840],imageSizes:[16,32,48,64,96,128,256,384],path:"/_next/image/",loader:"default",dangerouslyAllowSVG:!1,unoptimized:!0}});for(let[e,a]of Object.entries(t))void 0===a&&delete t[e];return{props:t}},c=l.Image},806:function(e,t,a){"use strict";a.d(t,{Rd:function(){return l},k0:function(){return c},ru:function(){return o}});var r=a(9868),s=a(8329),i=a(3133);let l=(e,t)=>{let a=RegExp(t.toLowerCase(),"i");try{return e.find(e=>a.test(e.name.toLowerCase())).browser_download_url}catch(e){return null}},n=async e=>{let t=await (0,r.j)().use(s.Z).use(i.Z).process(e);return t.value.toString()},o=async e=>{try{let t=e.split(/\r\n## /).map(e=>e.split(/\r\n### .*\r\n/)[1]),a=await Promise.all(t.map(async e=>await n(e)));return a}catch(e){return[]}},c=(e,t)=>"date"===t?[...e].sort((e,t)=>{let a=Number(e.releaseDate.replaceAll("-","")),r=Number(t.releaseDate.replaceAll("-",""));return a<r?1:a>r?-1:0}):"title"===t?[...e].sort((e,t)=>e.title.localeCompare(t.title,"en")):e},7655:function(e){e.exports={container:"Feat_container__sZafr",box:"Feat_box__Huga_",card:"Feat_card__7Ov8_",icon:"Feat_icon__KGTPt","icon-grid":"Feat_icon-grid__dBdND",title:"Feat_title__CCzNn",info:"Feat_info__vzLrw"}},1234:function(e){e.exports={container:"Features_container__hMxiE","features-title":"Features_features-title__CNhO1",feature:"Features_feature__bGUjV","feature-reverse":"Features_feature-reverse__5oF52","feature-image":"Features_feature-image__a0GpE","feature-text":"Features_feature-text__AoV_s","feature-title":"Features_feature-title__EBT7w","feature-info":"Features_feature-info__Ttwwb"}},1872:function(e){e.exports={topVisual:"TopVisual_topVisual__e4PU0",background:"TopVisual_background__0LSpV",rotatebg:"TopVisual_rotatebg__Zh6_3",container:"TopVisual_container__8Gw1I",titlearea:"TopVisual_titlearea__y3BV2",card:"TopVisual_card__PxhuZ","card-image":"TopVisual_card-image__LXo1U"}},7743:function(e){e.exports={btn:"Button_btn__alSGT","btn-webgal":"Button_btn-webgal__N_dwa","btn-terre":"Button_btn-terre__pF0al","btn-large":"Button_btn-large__Ah8RG"}},3807:function(e){e.exports={card:"GameCard_card__ak_8J",link:"GameCard_link__So6Z3",imageContainer:"GameCard_imageContainer__3Xmll",image:"GameCard_image__iOBdq",info:"GameCard_info__DF56V",title:"GameCard_title__o7hqB",developer:"GameCard_developer__rN2el"}},6691:function(e,t,a){e.exports=a(679)}},function(e){e.O(0,[929,611,413,446,734,824,971,472,744],function(){return e(e.s=775)}),_N_E=e.O()}]);