1const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./Lpv23-WY.js","./AhR5DynG.js","./GGwSX_u9.js","./CxC4gaFI.js","./entry.Gc8bXNis.css","./OriginalsHero.B0LsqkeI.css","./DLuWoXc4.js","./5FYsqtas.js","./Du23tuC5.js","./H3zpTEXo.js","./CSCPABJP.js","./Zup3M8nS.js","./Dtm5sG2a.js","./HomeBookSectionMobile.CE_r7seC.css"])))=>i.map(i=>d[i]); 2import{ae as z,b as D,u as U,af as F,a1 as H,y as M,a2 as C,ai as c,aj as u,ak as E,an as N,ap as e,aE as W,ay as G,ar as d,al as r,aL as j,c as p,aM as K,a3 as _,a6 as k,aK as s}from"./CxC4gaFI.js";import{_ as q}from"./S_mWdpeC.js";import{u as J,a as Q}from"./ClPIPTCc.js";import{b as X,t as Y}from"./C9UmscqL.js";import{u as Z}from"./BbTjbxP3.js";import{u as ee}from"./DQf75ZCo.js";import{u as te}from"./CvDcY8K3.js";import{u as oe}from"./DqMSGto8.js";import{d as ae,b as ne,a as se}from"./DkniNI96.js";import"./H3zpTEXo.js";import"./DDcPbmrT.js";const ie=_(()=>k(()=>import("./Lpv23-WY.js"),__vite__mapDeps([0,1,2,3,4,5]),import.meta.url).then(n=>n.default||n)),re=_(()=>k(()=>import("./DLuWoXc4.js"),__vite__mapDeps([6,3,4,7,8,2,9,10]),import.meta.url).then(n=>n.default||n)),le=_(()=>k(()=>import("./Zup3M8nS.js"),__vite__mapDeps([11,3,4,12,8,2,9,10,13]),import.meta.url).then(n=>n.default||n)),ce={class:"w-full bg-white"},pe={class:"sr-only"},be=z({name:"OriginalsIndexPage",__name:"index",setup(n){const{t:o,locale:i}=D(),P=U(),I=F(),{isPC:a}=H(),{track:T}=M(),{setPageSource:B}=J(),{getFeed:L}=Q(),{data:y,pending:$,refresh:A}=Z(`originals-feed-${i.value}`,L);function m(){const t=K(P.fullPath);B(t),T("originals.pageView",{tab:"editor-pick"},{parent:t})}ee({onFirstMount:m,onReturn:m,onReenter:()=>{A(),m()}});function f(t){return{id:t.book_id,title:t.name,cover:t.cover,subTitle:t.category,href:I(X({name:t.name,bookId:t.book_id,category:Y(t.category)}))}}function O(t){return{...f(t),badge:t.is_new?"new":void 0}}const l=p(()=>(y.value?.trends??[]).map(f)),g=p(()=>(y.value?.recent??[]).map(O)),R=Math.round(1050/6),{preloadCount:h}=te(()=>l.value.map(t=>t.cover),{pcWidth:R,pcCount:6,mobileCount:6});C({title:()=>o("seo.originals.title"),meta:[{property:"og:title",content:()=>o("seo.originals.title")},{name:"description",content:()=>o("seo.originals.description")},{property:"og:description",content:()=>o("seo.originals.description")},{property:"og:url",content:()=>`${s}/${i.value}/originals`},{property:"og:locale",content:()=>i.value},{property:"og:image",content:`${s}/og/originals.png`},{property:"og:image:width",content:1200},{property:"og:image:height",content:630},{name:"twitter:title",content:()=>o("seo.originals.title")},{name:"twitter:description",content:()=>o("seo.originals.description")},{name:"twitter:image",content:`${s}/og/originals.png`},{name:"keywords",content:()=>o("seo.originals.keywords")}]}),C({link:[{rel:"canonical",href:()=>`${s}/${i.value}/originals`}]});const S=p(()=>[...l.value,...g.value]);return oe([ae({"@type":"CollectionPage",name:()=>o("seo.originals.title"),mainEntity:ne({itemListElement:p(()=>S.value.map((t,v)=>({name:t.title,item:`${s}${t.href}`,position:v+1})))})}),se({itemListElement:p(()=>[{name:o("nav.home"),item:`${s}/${i.value}/`},{name:o("nav.originals"),item:`${s}/${i.value}/originals`}])})]),(t,v)=>{const V=ie,x=q,b=re,w=le;return c(),u("div",ce,[E("h1",pe,N(e(o)("seo.originals.title")),1),e(a)?(c(),W(V,{key:0,class:"mb-5"})):G("",!0),E("div",{class:j(["mt-0 mb-15",[e(a)?"pc-max-w mx-auto":""]])},[e($)&&e(l).length===0?(c(),u(d,{key:0},[r(x,{columns:e(a)?6:3,count:e(a)?12:6,"aspect-ratio":e(a)?"175/234":"104/139","gap-x":e(a)?12:8,"gap-y":16,"show-sub-title":!0,class:"mb-8"},null,8,["columns","count","aspect-ratio","gap-x"]),r(x,{columns:e(a)?6:3,count:(e(a),6),"aspect-ratio":e(a)?"175/234":"104/139","gap-x":e(a)?12:8,"gap-y":16},null,8,["columns","count","aspect-ratio","gap-x"])],64)):e(a)?(c(),u(d,{key:1},[r(b,{title:e(o)("originals.latestTrends"),books:e(l),"show-rank":!0,columns:6,"preload-count":e(h),"gap-x":12,"gap-y":16,"img-aspect-ratio":"175 / 234","show-sub-title":!0,"track-click":"originals.latestTrendsItemClick","track-exposure":"originals.latestTrendsItemExposure"},null,8,["title","books","preload-count"]),r(b,{title:e(o)("originals.newArrivals"),books:e(g),columns:6,"preload-count":0,"ga
2p-x":12,"gap-y":16,"img-aspect-ratio":"175 / 234","show-sub-title":!0,"track-click":"originals.recentUpdateItemClick","track-exposure":"originals.recentUpdateItemExposure"},null,8,["title","books"])],64)):(c(),u(d,{key:2},[r(w,{title:e(o)("originals.latestTrends"),books:e(l),"show-rank":!0,layout:"grid-3col","preload-count":e(h),"gap-x":8,"gap-y":16,"img-aspect-ratio":"104 / 139","show-sub-title":!0,"track-click":"originals.latestTrendsItemClick","track-exposure":"originals.latestTrendsItemExposure"},null,8,["title","books","preload-count"]),r(w,{title:e(o)("originals.newArrivals"),books:e(g),layout:"grid-3col","preload-count":0,"gap-x":8,"gap-y":16,"img-aspect-ratio":"104 / 139","show-sub-title":!0,"track-click":"originals.recentUpdateItemClick","track-exposure":"originals.recentUpdateItemExposure"},null,8,["title","books"])],64))],2)])}}});export{be 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.