PageSourceSearch

https://edjing.com/xx/9HLyECki.js

js edjing.com collected 2026-09-24 09:25:40 UTC 4,234 bytes, 1 lines download raw bytes

1import{_ as B,w as C,C as u,B as z,S as k,u as q,b as F,d as I,e as N,a as o,s as d,g as G,i as e,t as p,M as D,N as H,F as O,r as U,j as V,h as P,p as R,y as h,v as x,m as K,k as W,O as Q,q as J,l as X,z as Y}from"./Wbye8ACx.js";import{_ as Z}from"./D7CHtETL.js";import{u as ee}from"./D7oJVgXW.js";const se={class:"app-header-offset"},te={class:"tags-page"},ae={class:"tags-page__title"},re={class:"tags-page__subtitle"},ne={class:"tags-page__search"},oe=["placeholder"],ie={class:"tags-grid"},ce={class:"tag-card__body"},le={class:"tag-card__title"},ue={class:"tag-card__desc"},$=20,de={__name:"index",async setup(pe){let i,f;const s=R().params.lang||"en",w=d(s),v={en:{home:"Home",genres:"Genres",musicGenres:"Music Genres",subtitle:"Explore music by genre. Find artists and tracks to listen on Apple Music and mix with edjing Mix.",searchPlaceholder:"Search genres...",artists:"artists",tracks:"tracks"},es:{home:"Inicio",genres:"Géneros",musicGenres:"Géneros Musicales",subtitle:"Explora música por género. Encuentra artistas y canciones para escuchar en Apple Music y mezclar con edjing Mix.",searchPlaceholder:"Buscar géneros...",artists:"artistas",tracks:"canciones"},fr:{home:"Accueil",genres:"Genres",musicGenres:"Genres Musicaux",subtitle:"Explorez la musique par genre. Trouvez des artistes et des titres à écouter sur Apple Music et à mixer avec edjing Mix.",searchPlaceholder:"Rechercher des genres...",artists:"artistes",tracks:"titres"},pt:{home:"Início",genres:"Gêneros",musicGenres:"Gêneros Musicais",subtitle:"Explore música por gênero. Encontre artistas e faixas para ouvir no Apple Music e mixar com edjing Mix.",searchPlaceholder:"Pesquisar gêneros...",artists:"artistas",tracks:"faixas"},de:{home:"Startseite",genres:"Genres",musicGenres:"Musikgenres",subtitle:"Entdecke Musik nach Genre. Finde Künstler und Titel zum Hören auf Apple Music und Mixen mit edjing Mix.",searchPlaceholder:"Genres suchen...",artists:"Künstler",tracks:"Titel"},ja:{home:"ホーム",genres:"ジャンル",musicGenres:"音楽ジャンル",subtitle:"ジャンル別に音楽を探索。Apple Musicで聴いてedjing Mixでミックスするアーティストと曲を見つけよう。",searchPlaceholder:"ジャンルを検索...",artists:"アーティスト",tracks:"曲"}},a=t=>v[s]?.[t]||v.en[t],n=u(""),{data:M}=([i,f]=C(()=>ee("/api/seo/tags",{query:{lang:s,page:1,limit:100}},"$hhEkWAbOk9")),i=await i,f(),i),y=u(M.value?.items||[]);u(M.value?.total||0);const b=h(()=>{if(!n.value.trim())return y.value||[];const t=n.value.toLowerCase();return(y.value||[]).filter(l=>l.seo?.name?.toLowerCase().includes(t))}),c=u(20),E=h(()=>b.value.slice(0,c.value)),T=h(()=>c.value<b.value.length);function A(){c.value+=$}z(n,()=>{c.value=$});const g=`${a("musicGenres")} — ${k}`,m=a("subtitle"),_=`${o}${d(s)}/tags`;return q({htmlAttrs:{lang:s},title:g,meta:[{name:"description",content:m},{property:"og:title",content:g},{property:"og:description",content:m},{property:"og:url",content:_},{property:"og:type",content:"website"},{property:"og:site_name",content:k},{property:"og:locale",content:X[s]||"en_US"},{name:"twitter:card",content:"summary_large_image"}],link:[{rel:"canonical",href:_},...Y.map(t=>({rel:"alternate",hreflang:t,href:`${o}${d(t)}/tags`})),{rel:"alternate",hreflang:"x-default",href:`${o}/tags`}]}),F([I({"@type":"CollectionPage",name:g,description:m,isPartOf:{"@id":`${o}/#website`}}),N({itemListElement:[{name:a("home"),item:`${o}${d(s)}`},{name:a("genres"),item:_}]})]),(t,l)=>{const L=J,j=Z;return x(),G("div",se,[e("div",te,[e("h1",ae,p(a("musicGenres")),1),e("p",re,p(a("subtitle")),1),e("div",ne,[D(e("input",{"onUpdate:modelValue":l[0]||(l[0]=r=>n.value=r),type:"text",placeholder:a("searchPlaceholder"),class:"tags-page__search-input"},null,8,oe),[[H,n.value]])]),e("div",ie,[(x(!0),G(O,null,U(E.value,(r,S)=>(x(),K(L,{key:r.uuid,to:`${P(w)}/tags/${r.slug}/${r.uuid}`,class:Q(["tag-card",`tag-card--color-${S%6}`])},{default:W(()=>[e("div",ce,[e("h2",le,p(r.seo.name),1),e("p",ue,p(r.seo.description),1)])]),_:2},1032,["to","class"]))),128))]),V(j,{lang:P(s),"has-more":T.value,onLoadMore:A},null,8,["lang","has-more"])])])}}},xe=B(de,[["__scopeId","data-v-c71b33e9"]]);export{xe 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.