sms.sup39.dev/docs/_next/static/chunks/pages/index-03147cfb4ffd94fa.js
2023-03-13 18:30:08 +09:00

1 line
No EOL
8 KiB
JavaScript

(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[405],{1464:function(e,n,t){(window.__NEXT_P=window.__NEXT_P||[]).push(["/",function(){return t(1976)}])},1976:function(e,n,t){"use strict";t.r(n),t.d(n,{default:function(){return w},headings:function(){return y},meta:function(){return x}});var r,l=t(5893),i=t(1151);t(9404);var a=t(7294),c=t(9008),o=t.n(c),s=function(){return(s=Object.assign||function(e){for(var n,t=1,r=arguments.length;t<r;t++)for(var l in n=arguments[t])Object.prototype.hasOwnProperty.call(n,l)&&(e[l]=n[l]);return e}).apply(this,arguments)},u=function(e){return e.endsWith("/")?e:e+"/"};function d(e){var n=e.entry,t=n.label,r=n.path,l=n.children,i=e.dir,c=e.here,o=e.children,s=r.includes("://")?r:u(i)+r,h=u(s),m=h===u(c),f=m||c.startsWith(h),p=(0,a.useState)(f),v=p[0],g=p[1],E="nav-entry"+(m?" nav-here":"");return(null==l?void 0:l.length)?a.createElement("div",{className:"nav-dir"+(v?" nav-fold-open":"")},a.createElement(a.Fragment,null,a.createElement("div",{className:E},a.createElement("a",{href:s},t),a.createElement("svg",{viewBox:"0 0 8 8",onClick:function(){return g(function(e){return!e})}},a.createElement("polyline",{points:"6 3 4 5 2 3"}))),m?o:a.createElement(a.Fragment,null),a.createElement("div",{className:"nav-dir-child"},l.map(function(e){return a.createElement(d,{key:e.path,entry:e,dir:h,here:c},o)})))):a.createElement("div",{className:E},a.createElement("a",{href:s},t))}function h(e){var n=e.children,t=e.headings,r=e.pathname,l=e.entries,i=e.className,c=a.createElement("ul",{className:""},t.map(function(e){var n=e.label,t=e.id;return a.createElement("li",{key:t},a.createElement("a",{href:"#"+t},n))}));return a.createElement("nav",{className:i},n,a.createElement("div",{className:"nav-root"},l.map(function(e){return a.createElement(d,{key:e.path,entry:e,dir:"/",here:r})}),c))}function m(e){var n,t,r,l,i,c=e.config,o=e.onToggleFold,s=c.title,u=c.subtitle,d=c.icon,h="string"==typeof d?{href:d}:d;return a.createElement("header",null,a.createElement("a",{href:"/",id:"icon-link"},(null==h?void 0:h.href)&&a.createElement("img",{className:"icon",src:null==h?void 0:h.href,alt:null!==(n=null==h?void 0:h.alt)&&void 0!==n?n:"icon",width:null!==(r=null!==(t=null==h?void 0:h.width)&&void 0!==t?t:null==h?void 0:h.size)&&void 0!==r?r:96,height:null!==(i=null!==(l=null==h?void 0:h.height)&&void 0!==l?l:null==h?void 0:h.size)&&void 0!==i?i:96}),a.createElement("div",{className:"icon-text"},a.createElement("div",null,s),a.createElement("div",null,u))),a.createElement("div",{className:"menu-toggle",onClick:o}))}function f(e){var n=e.config,t=e.children,r=function(e,n){var t={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>n.indexOf(r)&&(t[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var l=0,r=Object.getOwnPropertySymbols(e);l<r.length;l++)0>n.indexOf(r[l])&&Object.prototype.propertyIsEnumerable.call(e,r[l])&&(t[r[l]]=e[r[l]]);return t}(e,["config","children"]),l=(0,a.useState)(!1),i=l[0],c=l[1];return a.createElement(h,s({className:i?"open":"",entries:n.nav},r),a.createElement(m,{config:n.site,onToggleFold:function(){return c(function(e){return!e})}}),t)}function p(e){var n=e.config,t=new Date().getFullYear(),r=n.site,l=r.startYear,i=void 0===l?t:l,c=r.author,o=t>i?"".concat(i,"-").concat(t):t;return a.createElement("footer",null,c&&a.createElement("div",null,"Copyright \xa9 ",o," ",c," All rights reserved."))}var v=function(){return(v=Object.assign||function(e){for(var n,t=1,r=arguments.length;t<r;t++)for(var l in n=arguments[t])Object.prototype.hasOwnProperty.call(n,l)&&(e[l]=n[l]);return e}).apply(this,arguments)};function g(e){var n=e.fields,t=e.data;return a.createElement("div",null,n.map(function(e){var n=e.label,r=e.attr,l=t[r];return null==l?null:a.createElement("div",{key:r},a.createElement("span",null,n),a.createElement("span",null,l))}))}function E(e,n){var t,r,l=n.locale,i=n.defaultLocale;return null==e||"object"!=typeof e||e instanceof Array?e:null!==(r=null!==(t=null==l?void 0:e[l])&&void 0!==t?t:e[void 0===i?"":i])&&void 0!==r?r:Object.values(e)[0]}function j(e){var n,t,r,l=e.children,i=e.router,c=e.meta,s=e.headings,u=e.config,d=Object.fromEntries(Object.entries(void 0===c?{}:c).map(function(e){return[e[0],E(e[1],i)]})),h=d.title,m=d.description,j=null!==(n=d.h1)&&void 0!==n?n:h,b=null!==(r=null===(t=u.metaFields)||void 0===t?void 0:t.map(function(e){var n=e.label,t=e.attr;return{label:E(n,i),attr:t}}))&&void 0!==r?r:[],y=i.pathname,x={site:v(v({},u.site),{title:E(u.site.title,i),subtitle:E(u.site.subtitle,i)}),nav:function e(n,t){return n.map(function(n){return v({label:E(n.label,t),path:n.path},n.children?{children:e(n.children,t)}:{})})}(u.nav,i)};return a.createElement(a.Fragment,null,a.createElement(o(),null,h&&a.createElement("title",null,h),m&&a.createElement("meta",{name:"description",content:m})),a.createElement(f,{config:x,pathname:y,headings:s}),a.createElement("main",null,a.createElement("article",null,j?a.createElement("h1",null,j):a.createElement(a.Fragment,null),a.createElement(g,{fields:b,data:d}),l)),a.createElement(p,{config:u}))}var b=(r={site:{startYear:2023,title:"サンシャイン",subtitle:"研究・開発",icon:"/favicon.svg"},metaFields:[{attr:"createdAt",label:"作成日時:"},{attr:"updatedAt",label:"更新日時:"},{attr:"author",label:"作者:"}],nav:[]},function(e){var n=e.children,t=function(e,n){var t={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>n.indexOf(r)&&(t[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var l=0,r=Object.getOwnPropertySymbols(e);l<r.length;l++)0>n.indexOf(r[l])&&Object.prototype.propertyIsEnumerable.call(e,r[l])&&(t[r[l]]=e[r[l]]);return t}(e,["children"]);return a.createElement(j,v({config:r},t),n)});let y=[{tagName:"h2",label:"概要",id:"概要"},{tagName:"h2",label:"リンク集",id:"リンク集"}],x={title:"ホーム | サンシャイン研究・開発",description:"スーパーマリオサンシャイン研究・開発のホームページです。",createdAt:"2023/02/26(日) 01:00:00 +0900",updatedAt:"2023/03/13(月) 18:21:48 +0900",author:"サポミク",h1:"ホーム"};function O(e){let n=Object.assign({h2:"h2",p:"p",a:"a",h3:"h3",ul:"ul",li:"li"},(0,i.ah)(),e.components);return(0,l.jsxs)(b,Object.assign({},e,{headings:y,meta:x,children:["\n",(0,l.jsx)(n.h2,{id:"概要",children:"概要"}),"\n",(0,l.jsx)(n.p,{children:"スーパーマリオサンシャイン研究・開発関連の情報をまとめるサイト(にする予定)です。"}),"\n",(0,l.jsx)(n.p,{children:(0,l.jsx)(n.a,{href:"https://sms-old.sup39.dev/",children:"旧サイトはこちらへ"})}),"\n",(0,l.jsx)(n.h2,{id:"リンク集",children:"リンク集"}),"\n",(0,l.jsx)(n.h3,{children:"研究関連"}),"\n",(0,l.jsxs)(n.ul,{children:["\n",(0,l.jsx)(n.li,{children:(0,l.jsx)(n.a,{href:"https://docs.google.com/spreadsheets/d/1ElTW-akaTUF9OC2pIFR9-7aVPwpJ54AdEVJyJ_jvg0E/edit?usp=sharing",children:"SMS RAM Map"})}),"\n",(0,l.jsx)(n.li,{children:(0,l.jsx)(n.a,{href:"http://smswiki.shoutwiki.com/wiki/Main_Page",children:"Sunshine ShoutWiki"})}),"\n"]}),"\n",(0,l.jsx)(n.h3,{children:"RTA関連"}),"\n",(0,l.jsxs)(n.ul,{children:["\n",(0,l.jsx)(n.li,{children:(0,l.jsx)(n.a,{href:"https://smsrta.wordpress.com/",children:"スーパーマリオサンシャインRTAインフォ"})}),"\n",(0,l.jsx)(n.li,{children:(0,l.jsx)(n.a,{href:"https://smscommunity.github.io/sms-guide/",children:"SMS Guide"})}),"\n"]}),"\n",(0,l.jsx)(n.h3,{children:"その他"}),"\n",(0,l.jsxs)(n.ul,{children:["\n",(0,l.jsx)(n.li,{children:(0,l.jsx)(n.a,{href:"https://github.com/sup39/sms.sup39.dev",children:"このサイトのソースコード"})}),"\n",(0,l.jsx)(n.li,{children:(0,l.jsx)(n.a,{href:"https://sms-old.sup39.dev/",children:"旧サイト"})}),"\n"]})]}))}var w=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},{wrapper:n}=Object.assign({},(0,i.ah)(),e.components);return n?(0,l.jsx)(n,Object.assign({},e,{children:(0,l.jsx)(O,e)})):O(e)}},9008:function(e,n,t){e.exports=t(2636)}},function(e){e.O(0,[774,888,179],function(){return e(e.s=1464)}),_N_E=e.O()}]);