PageSourceSearch

https://scribepublications.co.uk/_nuxt/CSqJCRKS.js

js scribepublications.co.uk collected 2026-10-02 07:15:45 UTC 4,315 bytes, 1 lines download raw bytes

1import{_ as M}from"./Dcrj_9IT.js";import{_ as R}from"./D2fAaXg7.js";import $ from"./BDQgy81i.js";import{_ as x}from"./DfvaeZqj.js";import{_ as U}from"./BkYNhoiz.js";import{_ as V}from"./D48oYtZW.js";import{g as z,i as n}from"./Cc4Vzwy0.js";import{aK as k,aT as F,aL as O,aU as Y,aG as G,aM as J,aH as s,aI as o,aO as l,aN as c,aP as K,aQ as e,aR as h,a$ as Q,aZ as w,aJ as a,a_ as W,aV as Z,aY as j,aS as q}from"#entry";import{u as X}from"./B0pUhkpB.js";import"./Bdeh4-9-.js";(function(){try{var r=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{};r.SENTRY_RELEASE={id:"88d9584214d913a08a6a766e7ed9af8f40f08562"}}catch{}})();try{(function(){var r=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},i=new r.Error().stack;i&&(r._sentryDebugIds=r._sentryDebugIds||{},r._sentryDebugIds[i]="6a877b01-59c2-4c85-9b0a-31ede97eeeb5",r._sentryDebugIdIdentifier="sentry-dbid-6a877b01-59c2-4c85-9b0a-31ede97eeeb5")})()}catch{}const ee={class:"only-smplus"},te={class:"article-core"},ae={class:"layout-feature-right"},se={class:"layout-col-left"},oe={key:0,class:"image-caption"},re={key:0},ie=["innerHTML"],ne={key:1},le=["href"],de={class:"layout-col-right"},ce=["innerHTML"],ue=["innerHTML"],me=["href"],ge={key:0,class:"author-related-lists-wrapper"},_e={key:1,class:"list list-articles bg-cream"},Te={__name:"[slug]",async setup(r){let i,f,v=k(!0);F();const m=O(),_=k(!1),{$api:I}=Y(),{data:t,error:L}=([i,f]=G(()=>I.content.getAuthor(m.params.slug)),i=await i,f(),i);if(L.value)throw J({statusCode:404,statusMessage:"Page Not Found"});const T=[{link:"/authors/",title:"Authors"}],{pageSEO:A}=X();A({title:t.value.seoData.title+" | Author",description:t.value.seoData.description,image:t.value.seoData.image},m.path);const y=()=>{let u=["Biography"];return t.value.awards.length&&u.push("Awards"),n(t.value.websiteUrl)||u.push("Links"),u},S=z(t.value.awards);return(u,d)=>{const C=M,P=R,B=$,D=x,E=U,b=V;return a(),s("div",{id:"author-detail",class:h(["page",{show:e(v)}])},[o("div",ee,[c(C),e(t)?(a(),K(P,{key:0,breadcrumbPages:T,currentPageTitle:e(t).title,currentPageLink:e(m).path,shareLink:e(m).path,shareTitle:`${e(t).title}`},null,8,["currentPageTitle","currentPageLink","shareLink","shareTitle"])):l("",!0)]),o("section",te,[o("div",ae,[o("div",se,[e(t).heroImage?(a(),s("div",{key:0,class:h({"img-wrapper":!0,empty:!e(t).heroImage})},[c(B,{wrapClass:["img-wrap","img-ratio","lazyload"],image:e(t).heroImage?e(t).heroImage:u.blankImage,defaultAlt:e(t).title,idealRatio:100*Number(e(t).heroImage.srcSets[0].urls[0].height)/Number(e(t).heroImage.srcSets[0].urls[0].width)},null,8,["image","defaultAlt","idealRatio"]),!e(n)(e(t).heroImageCredit)||!e(n)(e(t).heroImageUrl)?(a(),s("div",oe,[e(n)(e(t).heroImageCredit)?l("",!0):(a(),s("div",re,[d[1]||(d[1]=o("span",{class:"pretext"},"Image credit: ",-1)),o("span",{class:"credit",innerHTML:e(t).heroImageCredit},null,8,ie)])),e(n)(e(t).heroImageUrl)?l("",!0):(a(),s("div",ne,[o("a",{class:"download-link",href:e(t).heroImageUrl,target:"_blank"},"Download image",8,le)]))])):l("",!0)],2)):l("",!0)]),o("div",de,[o("h1",{class:"article-heading",innerHTML:e(t).title},null,8,ce),c(E,{headings:y()},Q({_:2},[w(y(),(g,p)=>({name:"item"+g,fn:W(()=>[g=="Biography"?(a(),s("div",{class:"article-body",innerHTML:e(t).bio,key:"p"+p},null,8,ue)):g=="Awards"?(a(),s("ul",{class:"book-awards",key:"p"+p},[(a(!0),s(Z,null,w(e(S),(N,H)=>(a(),s("li",{key:"i"+H},j(N),1))),128))])):(a(),s("div",{class:"book-awards",key:"p"+p},[o("a",{href:e(t).websiteUrl,target:"_blank"},[d[2]||(d[2]=q("Website ",-1)),c(D)],8,me)]))])}))]),1032,["headings"])])])]),e(n)(e(t).relatedBooks)?l("",!0):(a(),s("div",ge,[e(n)(e(t).relatedBooks)?l("",!0):(a(),s("section",{key:0,class:h(["list list-books bg-black",{"list-less-rows":!e(_)}])},[c(b,{headingStyle:"centered",listStyle:"centered",bgColour:"#000000",items:e(t).relatedBooks.items,title:e(t).relatedBooks.title,moreStyle:e(_)?null:"plus",onLoadMore:d[0]||(d[0]=g=>_.value=!0)},null,8,["items","title","moreStyle"])],2)),e(n)(e(t).relatedContent)?l("",!0):(a(),s("section",_e,[c(b,{headingStyle:"inpageleft",items:e(t).relatedContent.items,title:e(t).relatedContent.title},null,8,["items","title"])]))]))],2)}}};export{Te 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.