PageSourceSearch

https://fictionme.net/n_assets/CX2wJD0K.js

js fictionme.net collected 2026-09-24 19:22:41 UTC 2,098 bytes, 1 lines download raw bytes

1import{_ as h}from"./Dv7KG4Yv.js";import{_ as u}from"./Dlx19IXY.js";import{d as f,c as k,f as s,o as t,g as o,k as n,p as d,i as c,m as x,h as a,H as r,G as v,ah as w}from"#entry";const y={class:"flex flex-none flex-col gap-2 max-md:gap-1 items-stretch w-[186px] max-md:w-[116px] relative"},B={class:"rounded-lg overflow-hidden"},$={class:"flex gap-1 flex-col"},_={class:"grow text-lg leading-5 max-md:text-sm font-semibold line-clamp-2"},C={class:"!text-gray-500 text-sm"},E={class:"flex flex-col items-start gap-2 absolute lef-0 top-4 text-xs text-white"},N={key:0,class:"p-1 bg-[#325E3E] rounded-r"},p={key:1,class:"p-1 bg-[#6415BE] rounded-r"},V={class:"flex flex-col items-start gap-2 absolute right-0 top-4 text-xs text-white font-semibold"},G={key:0,class:"p-1 bg-[#E70073] rounded-l"},D=f({__name:"BookCard",props:{book:{},showGenre:{type:Boolean,default:!1}},setup(e){const l=e;k(()=>l.book.genres?l.book.genres[0]:null);const m=k(()=>typeof l.book.uploaded_by=="string");return(b,M)=>{const g=h,i=u;return t(),s("div",y,[o("div",B,[n(i,{to:c(m)?`/book/${e.book.slug}`:`/books/${e.book.slug}`},{default:d(()=>[n(g,{path:e.book.cover_path,url:e.book.cover,alt:`Book cover of “${e.book.title}“ by ${e.book.author}`,loading:"lazy",quality:80,width:b.$device.isMobile?124:186,height:b.$device.isMobile?173:260,format:"webp",ismap:"",decoding:"auto"},null,8,["path","url","alt","width","height"])]),_:1},8,["to"])]),o("div",$,[n(i,{to:c(m)?`/book/${e.book.slug}`:`/books/${e.book.slug}`,title:e.book.title,prefetch:""},{default:d(()=>[o("h3",_,r(e.book.title),1)]),_:1},8,["to","title"]),e.showGenre&&e.book?.genres&&e.book.genres.length>0?(t(),x(i,{key:0,to:`/genres/${e.book.genres[0].slug}-novels`,class:"text-violet-800 dark:text-violet-500"},{default:d(()=>[v(r(e.book.genres[0].name),1)]),_:1},8,["to"])):a("",!0),o("div",C,r(c(w)(e.book.views))+" views ",1)]),o("div",E,[e.book.is_completed?(t(),s("div",N,"Completed")):a("",!0),e.book.is_recommended?(t(),s("div",p,"Recommended")):a("",!0)]),o("div",V,[e.book.age_restriction?(t(),s("div",G,"18+")):a("",!0)])])}}});export{D as _};

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.