PageSourceSearch

https://tribii.com/_nuxt/JjRk6z8g.js

js tribii.com collected 2026-10-02 00:36:07 UTC 2,763 bytes, 1 lines download raw bytes

1import{u as w,_ as A,o as T}from"./CJnJStFx.js";import{a as C,b as J}from"./PqNVWzRW.js";import{_ as N}from"./BvbtN5au.js";import{_ as S}from"./Co1XXixL.js";import{K as B,D as F,at as L,g as V,O as t,M as n,X as o,Y as i,W as h,P as a,a2 as l,F as z,Q as u,L as c,$ as f}from"./D0wWZFX1.js";import{u as D}from"./DoNcGYtw.js";import{u as E}from"./B1QL7C6F.js";import"./Co_zBbYH.js";import"./DlAUqK2U.js";import"./vZ5Ci5Lh.js";const M={key:0},O={class:"pt-14 lg:pt-20 pb-10 border-b border-border"},R={class:"max-w-[860px] mx-auto text-center"},G={class:"flex justify-center mb-6"},K={class:"heading-display font-serif font-normal m-0 text-ink",style:{"line-height":"1","letter-spacing":"-0.035em"}},P={key:0,class:"font-mono text-11 uppercase text-muted mt-4",style:{"letter-spacing":"0.16em"}},U={key:1,class:"font-serif italic text-muted max-w-[640px] mx-auto mt-6 text-18 lg:text-20",style:{"line-height":"1.55"}},q={key:2,class:"mt-7 flex justify-center"},H={class:"font-normal"},ie=B({__name:"[slug]",async setup(I){let s,m;const v=F(),_=u(()=>String(v.params.slug)),p=z().public.siteUrl;D();const{data:d,error:g}=([s,m]=L(()=>E(()=>`author-${_.value}`,()=>J(`/api/authors/${_.value}`),"$b-ZqBta6AG")),s=await s,m(),s);if(g.value||!d.value?.data)throw V({statusCode:404,statusMessage:"Author not found",fatal:!0});const e=u(()=>d.value.data),b=u(()=>e.value.name.split(/\s+/)[0]),y=u(()=>Object.keys(e.value.links??{}).length>0);return w({title:`${e.value.name}: The Tribii Journal`,description:e.value.bio||`Articles by ${e.value.name} on The Tribii Journal.`,path:`/journal/authors/${e.value.slug}`,localized:!1,ogType:"profile",ogImage:e.value.avatar_url||void 0,jsonLd:{"@context":"https://schema.org","@type":"Person",name:e.value.name,jobTitle:e.value.role||void 0,description:e.value.bio||void 0,image:e.value.avatar_url||void 0,url:`${p}/journal/authors/${e.value.slug}`,sameAs:Object.values(e.value.links??{}),worksFor:T(p)}}),(r,W)=>{const k=A,x=C,$=N,j=S;return t(e)?(c(),n("div",M,[o("section",O,[o("div",R,[i(k,{color:"var(--color-accent)",class:"mb-5"},{default:h(()=>[f(a(r.$t("journal.author.kicker")),1)]),_:1}),o("div",G,[i(x,{name:t(e).name,initials:t(e).initials,src:t(e).avatar_url,size:96},null,8,["name","initials","src"])]),o("h1",K,a(t(e).name),1),t(e).role?(c(),n("p",P,a(t(e).role),1)):l("",!0),t(e).bio?(c(),n("p",U,a(t(e).bio),1)):l("",!0),t(y)?(c(),n("div",q,[i($,{links:t(e).links},null,8,["links"])])):l("",!0)])]),i(j,{stories:t(e).articles??[],eyebrow:r.$t("journal.author.gridEyebrow"),"empty-message":r.$t("journal.author.emptyMessage",{name:t(e).name})},{title:h(()=>[f(a(r.$t("journal.author.moreFrom"))+" ",1),o("i",H,a(t(b))+".",1)]),_:1},8,["stories","eyebrow","empty-message"])])):l("",!0)}}});export{ie 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.