PageSourceSearch

https://techplay.jp/webv2/assets/a5dc16a/build/assets/CategorySections-Bkfn1CwG.js

js techplay.jp collected 2026-10-02 02:46:54 UTC 1,643 bytes, 1 lines download raw bytes

1import{j as e,T as i,$ as c,X as n,r as d,t as x,C as m,p as o,s as h,v as j}from"./app-CQDOLSaW.js";function f({categorizedBooks:s}){return e.jsx(e.Fragment,{children:s.map(({id:a,name:t,books:r})=>e.jsx(g,{title:t,moreHref:`/book/search?category_ids=${a}`,children:r.map(l=>e.jsx(p,{book:l},l.id))},a))})}function g({children:s,title:a,moreHref:t}){return e.jsxs("div",{className:"flex flex-col gap-4",children:[e.jsx("h2",{className:"text-xl font-bold",children:a}),e.jsx("hr",{className:"border-t-3 border-gray-600"}),e.jsx("div",{className:"grid grid-cols-2 lg:grid-cols-4 gap-1",children:s}),e.jsx("div",{className:"text-right",children:e.jsx(i,{variant:"primary",href:t,icon:c,children:"もっと見る"})})]})}function p({book:s}){const{auth:a}=n().props,t=d.useCallback(async r=>await x({content:"books",contentId:s.id,enabled:r}),[s.id]);return e.jsxs(m,{className:"rounded-sm divide-y",children:[e.jsx("div",{className:"flex items-center justify-center p-4 h-64",children:e.jsx("a",{href:`/book/${s.id}`,children:e.jsx("img",{src:s.image_url,alt:s.title,className:"w-40"})})}),e.jsxs(o,{className:"flex flex-col flex-1 p-3",children:[e.jsxs("div",{className:"flex justify-between items-center",children:[e.jsx("p",{className:"text-xs",children:s.sales_date&&e.jsxs(e.Fragment,{children:["発売日:",e.jsx(h,{...s.sales_date})]})}),s.bookmarked!==void 0&&e.jsx(j,{auth:a,data:{enabled:s.bookmarked},onClickCallback:t})]}),e.jsx("p",{className:"font-bold mt-2 line-clamp-3",children:e.jsx(i,{href:`/book/${s.id}`,className:"text-sm md:text-lg",children:s.title})})]})]},s.id)}f.displayName="CategorySections";export{f as default};

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.