PageSourceSearch

https://www.gritnation.jp/_next/static/chunks/pages/works/[category]/portfolio/[page]-8c5d507837e14e6b.js

js gritnation.jp collected 2026-10-04 13:29:12 UTC 5,747 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[550],{2506:function(t,e,r){(window.__NEXT_P=window.__NEXT_P||[]).push(["/works/[category]/portfolio/[page]",function(){return r(9427)}])},475:function(t,e,r){"use strict";r.d(e,{Z:function(){return h}});var n=r(1527),i=r(959),a=r(6258),o=r.n(a),l=r(6649),s=r(789),c=r(7478);let p=(0,c.ZP)(s.Z)(t=>{let{theme:e}=t;return{display:"flex",alignItems:"center",justifyContent:"center",gap:"8px","& .MuiTypography-button":{textDecoration:"none",letterSpacing:0}}});var d=r(9005);let u=(0,c.ZP)(d.Z)(t=>{let{theme:e}=t;return{"&:hover":{backgroundColor:"transparent"},"& .MuiTypography-button":{textTransform:"none",letterSpacing:0},"& .MuiTouchRipple-root":{overflow:"visible"}}});var x={src:"/_next/static/media/slash.601892c6.svg",height:37,width:22,blurWidth:0,blurHeight:0},g=r(3453),m=r(5076);function h(t){let{path:e,count:r}=t,[a,s]=i.useState(1),c=(0,l.useRouter)();return e=e.replace(/^\/|\/$/g,""),i.useEffect(()=>{c.push("/".concat(e,"/").concat(a))},[a]),(0,n.jsx)(m.Z,{spacing:2,children:(0,n.jsxs)(p,{children:[(0,n.jsx)(u,{onClick:()=>s(t=>t-1),disabled:1===a,children:(0,n.jsx)(g.Z,{variant:"button",children:"Prev"})}),(0,n.jsx)(o(),{src:x,alt:"slash icon",width:21,height:36}),(0,n.jsx)(u,{onClick:()=>s(t=>t+1),disabled:a===r,children:(0,n.jsx)(g.Z,{variant:"button",children:"Next"})})]})})}},7436:function(t,e,r){"use strict";var n=r(5593);let i=(0,r(7478).ZP)(n.Z)(t=>{let{theme:e}=t;return{borderColor:e.palette.secondary.main,margin:"32px 0",[e.breakpoints.down("sm")]:{"& .divider":{margin:"16px 0"}}}});e.Z=i},9427:function(t,e,r){"use strict";r.r(e),r.d(e,{__N_SSG:function(){return N},default:function(){return k}});var n=r(1527),i=r(6649),a=r(6874);let o=(0,r(7478).ZP)(a.Z)(t=>{let{theme:e}=t;return{textAlign:"left",marginBottom:"88px","& .pageTitle":{marginTop:"80px"},"& .heading":{marginTop:"56px"},"& .headingMessage":{marginTop:"8px"},"& .filterButtonGroup":{display:"flex",flexDirection:"column",justifyContent:"flex-start",alignItems:"flex-start",gap:"8px",marginBottom:"48px"},"& .cardBox":{marginBottom:"128px"},[e.breakpoints.down("sm")]:{"& .filterButtonGroup":{gap:"4px"},"& .cardBox":{marginBottom:"32px"},"& .pageTitle":{marginTop:"32px",marginBottom:"24px",textAlign:"center"},"& .heading":{marginTop:"0"},"& .headingMessage":{marginTop:"0"},"& .divider":{marginBottom:"24px",marginTop:"24px"}}}});var l=r(6258),s=r.n(l),c=r(8939),p=r.n(c);r(959);var d=r(6893),u=r(789),x=r(9005);let g={"& .link":{textDecoration:"none"},"& .button":{backgroundColor:"transparent",border:"1px solid",borderColor:"primary.main",borderRadius:"17px",height:"34px",padding:"8px 16px",textTransform:"capitalize",[d.r.breakpoints.down("sm")]:{padding:"0px 8px",height:"unset",minWidth:"unset"}},"&.active":{"& .button":{backgroundColor:"primary.main",color:"primary.contrastText"}}};function m(t){let{label:e,slug:r}=t,{category:a}=(0,i.useRouter)().query;return(0,n.jsx)(u.Z,{sx:g,className:r&&a!==r?"":"active",children:r?(0,n.jsx)(p(),{href:"/works/".concat(r,"/portfolio/1"),passHref:!0,className:"link",children:(0,n.jsx)(x.Z,{className:"button",children:e})}):(0,n.jsx)(x.Z,{className:"button",children:e})})}var h=r(7605),f=r(3453);let j={width:"100%",opacity:1,transition:"all 0.5s",marginBottom:"48px"," a":{textDecoration:"none",color:"inherit"}," img":{transform:"scale(1)",transition:"all 0.5s"},"&:hover":{opacity:.8," img":{transform:"scale(1.1)",transition:"all 0.5s"}},"& .imgWrapper":{width:"100%",height:"100%",overflow:"hidden",marginBottom:"16px","& img":{width:"100%",height:"auto"}},"& .titleBox":{marginTop:"16px"},[d.r.breakpoints.down("sm")]:{marginBottom:"16px","& .imgWrapper":{marginBottom:"8px"},"& .titleBox":{marginTop:"8px"}}};function b(t){let{works:e}=t;return(0,n.jsx)(u.Z,{sx:j,children:(0,n.jsxs)(p(),{href:"/portfolio/".concat(e.slug),children:[(0,n.jsx)(u.Z,{className:"imgWrapper",children:(0,n.jsx)(s(),{src:e.featuredImage.url,alt:e.title,width:600,height:450})}),(0,n.jsx)(m,{label:e.category.displayName}),(0,n.jsxs)(u.Z,{className:"titleBox",children:[(0,n.jsx)(f.Z,{variant:"body1",align:"left",children:(0,h.p)(e.publishedDate,".")}),(0,n.jsx)(f.Z,{variant:"body1",align:"left",children:e.title})]})]})})}var v=r(9098),Z=r(475),w=r(7436),y=r(9231);function T(t){var e;let{works:r,categories:l}=t,s=Math.ceil(r.total/r.limit),{category:c}=(0,i.useRouter)().query,p=l.items.map(t=>({label:t.displayName,slug:t.category})),{t:d}=(0,y.b)();return(0,n.jsx)(v.Z,{title:"Portfolio",path:"works/".concat(c,"/portfolio"),children:(0,n.jsxs)(o,{children:[(0,n.jsxs)(a.Z,{maxWidth:"md",children:[(0,n.jsx)(f.Z,{variant:"h2",className:"pageTitle",align:"left",children:"Portfolio"}),(0,n.jsx)(f.Z,{variant:"articleSubTitle",className:"heading",children:d.PORTFOLIO.HEADING_MESSAGE}),(0,n.jsx)(f.Z,{variant:"studioBody",className:"headingMessage",children:d.PORTFOLIO.MESSAGE})]}),(0,n.jsx)(w.Z,{className:"divider"}),(0,n.jsxs)(a.Z,{maxWidth:"md",children:[(0,n.jsxs)(u.Z,{className:"filterButtonGroup",children:[(0,n.jsx)(m,{label:"all",slug:"all"}),p.map((t,e)=>(0,n.jsx)(m,{...t},e))]}),(0,n.jsx)(u.Z,{className:"cardBox",children:null===(e=r.items)||void 0===e?void 0:e.map((t,e)=>(0,n.jsx)(b,{works:t},e))}),(0,n.jsx)(Z.Z,{path:"/works/".concat(c,"/portfolio"),count:s})]})]})})}var N=!0;function k(t){let{works:e,categories:r}=t;return(0,n.jsx)(T,{works:e,categories:r})}},7605:function(t,e,r){"use strict";r.d(e,{p:function(){return n}});let n=(t,e)=>{if(!t)return"";let r=new Date(t),n=r.getFullYear(),i=("0"+(r.getMonth()+1)).slice(-2),a=("0"+r.getDate()).slice(-2),o="".concat(n,"-").concat(i,"-").concat(a);return e?o.replace(/-/g,e):o}}},function(t){t.O(0,[942,745,98,888,774,179],function(){return t(t.s=2506)}),_N_E=t.O()}]);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.