PageSourceSearch

https://www.fontriver.com/_nuxt/nezriu6N.js

js fontriver.com collected 2026-10-03 17:35:47 UTC 4,040 bytes, 2 lines download raw bytes

1const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./BvzCh6zi.js","./Bpd4R7Pa.js","./entry.d_C5l9Ms.css"])))=>i.map(i=>d[i]);
2import{f as U,g as j,h as T,i as F,u as q,j as z,c as n,b as r,a as c,t as P,k as t,n as N,F as $,m as E,p as J,q as W,s as G,v as K,o as p,x as Q}from"./Bpd4R7Pa.js";import{_ as X}from"./B0Is2b9Z.js";import{_ as Y,a as Z}from"./VajYNsnL.js";import{_ as tt}from"./Bbvg1y7V.js";import{_ as ot}from"./A8Cq0BJm.js";import{u as st}from"./Dtw-oxsU.js";import{u as et}from"./C5CWLhQC.js";import{u as at}from"./X0jP6m-F.js";import{u as nt}from"./BbpJ9HkO.js";import{u as rt}from"./9xHp60yR.js";import{u as pt}from"./CWE3Bli0.js";import{u as it}from"./DRaNQGl2.js";import"./BdU43Von.js";const mt={class:"content-main"},lt={class:"container mb30"},ut={class:"colored"},ct={key:0,class:"container ad-box mb15 rounded"},_t={class:"container previews mt10"},dt={key:1},gt={class:"colored"},ft={key:0,class:"ad-in-previews ad-box rounded"},Et={__name:"[...slug]",async setup(ht){let g,w;const A=G(()=>K(()=>import("./BvzCh6zi.js"),__vite__mapDeps([0,1,2]),import.meta.url)),f=U(),{locale:S,t:e}=j(),{ogLocale:I,domain:i}=st(),h=et();let s=1,m=!0;if(f.params.slug){const a=(Array.isArray(f.params.slug)?f.params.slug[0]:f.params.slug)?.match(/index_(\d+)\.html/);a&&a[1]&&(s=parseInt(a[1]),m=!1)}const M={type:"popular",path:"most_popular_fonts",page:s},{status:R,data:l,error:_}=([g,w]=T(()=>J(`fonts-popular-${s}`,()=>$fetch(`${W().public.apiUrl}/fonts`,{method:"get",server:!0,params:{type:"popular",order:"desc",page:s}}),{transform:u=>{let a=!1;const v=u.data.map(o=>(o.subcategoryPath==="sexy"&&(a=!0),{id:o.id,path:o.path,name:o.name,categoryPath:o.categoryPath,subcategoryPath:o.subcategoryPath,foundryPath:o.foundryPath,foundryName:o.foundryName,fontFiles:o.fontFiles,images:o.images})),C={current_page:u.paginator.current,last_page:u.paginator.last,total:u.paginator.total};return{fonts:v,paginator:C,showAds:!a}}})),g=await g,w(),g);if(_.value)throw F({statusCode:_.value.statusCode,message:_.value.statusMessage,fatal:!0});if(l.value.fonts.length<1)throw F({statusCode:404,message:"Not Found",fatal:!0});h.showAds=l.value.showAds;const k=m?`${e("most_popular_fonts.title")} — FontRiver`:`${e("most_popular_fonts.title")} — ${e("paginator.page")} ${s} — FontRiver`,B=m?e("most_popular_fonts.description"):e("most_popular_fonts.descriptionN",{page:s}),b=m?`${i}most_popular_fonts/`:`${i}most_popular_fonts/index_${s}.html`,D=s<=2?`${i}most_popular_fonts/`:`${i}most_popular_fonts/index_${s-1}.html`,H=at(I,k,B,b),x=nt(b),{preloadAds:O}=rt();return m||x.push({rel:"prev",href:D}),q({htmlAttrs:{lang:S.value},title:k,meta:H,link:x}),pt({"@context":"https://schema.org","@type":"BreadcrumbList",itemListElement:[{"@type":"ListItem",name:it(e("common.fonts",2)),item:{"@type":"WebSite","@id":i},position:1},{"@type":"ListItem",name:e("most_popular_fonts.header"),item:{"@type":"CollectionPage","@id":`${i}most_popular_fonts/`},position:2}]}),z(()=>{h.showAds&&O()}),(u,a)=>{const v=X,C=Y,L=tt,o=Z,V=ot;return p(),n("main",mt,[r(v,{options:M}),c("header",lt,[c("h1",ut,P(t(e)("most_popular_fonts.header")),1),c("p",null,P(t(m)?t(e)("most_popular_fonts.description"):t(e)("most_popular_fonts.descriptionN",{page:t(s)})),1)]),t(h).showAds?(p(),n("div",ct,[r(t(A),{type:"top-ad"})])):N("",!0),r(C),c("section",_t,[t(R)==="pending"?(p(),n($,{key:0},E(18,y=>r(L,{key:"skeleton-"+y})),64)):t(_)?(p(),n("div",dt,[c("h1",gt,"Error "+P(t(_).statusCode),1),a[0]||(a[0]=c("p",null,"Can't get fonts for you. Sorry, something goes wrong... =(",-1))])):(p(!0),n($,{key:2},E(t(l).fonts,(y,d)=>(p(),n($,{key:`font-${y.path}`},[r(o,{font:y,idx:d,class:Q({"last-font":d===Object.keys(t(l).fonts).length-1})},null,8,["font","idx","class"]),t(h).showAds&&(d===5||d===11)||d===17?(p(),n("div",ft,[r(t(A),{type:"previews-ad"})])):N("",!0)],64))),128))]),r(V,{paginator:{type:"popular",path:"most_popular_fonts",page:t(s),last:t(l).paginator?.last_page,total:t(l).paginator?.total}},null,8,["paginator"])])}}};export{Et 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.