PageSourceSearch

https://alliancy.fr/_nuxt/BFcSTt8h.js

js alliancy.fr collected 2026-09-24 17:19:07 UTC 2,439 bytes, 1 lines download raw bytes

1import{_ as I,a as w,c as C,d as D,e as V}from"./IfMfTlqy.js";import{_ as B}from"./W0IGQbTj.js";import{d as y,o as P,c as j,a as f,j as a,u as n,am as U,l as $,h as T,m as H,p as d,ao as L,q as R,a6 as E,n as M,ap as _,k as N,ar as g,as as O,aB as W,au as q}from"./BBsw3eGQ.js";import"./BHuE53F1.js";const z={class:"grid gap-6 lg:grid-cols-3 lg:gap-8"},A={class:"block order-last space-y-6"},S={class:"space-y-6 lg:col-span-2"},F=y({name:"DefaultProjectViewer",__name:"DefaultProjectViewer",props:{profile:{}},setup(o){return(e,r)=>{const l=I,c=w,i=B,m=C;return P(),j("div",z,[f("div",A,[a(l,{categories:o.profile.categories,class:"rounded-xl bg-card p-4 lg:p-6"},null,8,["categories"]),a(c,{address:o.profile.address,contact:o.profile.contact,"profile-type":o.profile.profileType,class:"rounded-xl bg-card p-4 lg:p-6"},null,8,["address","contact","profile-type"])]),f("div",S,[a(i,{name:o.profile.name,"profile-image-url":o.profile.profileImageURL,"cover-image-url":("resolveProfileCoverImageUrl"in e?e.resolveProfileCoverImageUrl:n(U))(o.profile),"summary-html":o.profile.summaryHtml,"profile-kind":"project"},null,8,["name","profile-image-url","cover-image-url","summary-html"]),a(m,{blocks:o.profile.description?.blocks,class:"rounded-xl bg-card p-4 lg:p-6"},null,8,["blocks"])])])}}}),G=Object.assign(F,{__name:"DefaultProjectViewer"}),J={class:"container py-8"},oe=y({name:"CommunityProjectDetailPage",__name:"[projectId]",async setup(o){let e,r;const l=G,{t:c}=$(),i=T(),m=H(),{media:v}=([e,r]=d(()=>L()),e=await e,r(),e),u=m.params.projectId,{data:t,error:h}=([e,r]=d(()=>R(`/community/projects/${u}`,{transform:E})),e=await e,r(),e);if(h.value||!t.value)throw M({statusCode:404,statusMessage:"Project not found"});const s=_(t.value.name)??"",p=_(t.value.summaryText),x=t.value.profileImageURL||null;return N({title:s,meta:[{property:"og:title",content:s},{name:"description",content:p},{property:"og:description",content:p}]}),x?g({}):g({}),O([W({"@type":"WebPage",name:s,description:p}),q({itemListElement:[{name:v.value?.displayName||"Home",item:"/"},{name:c("projects.title"),item:i({name:"community_projects"})},{name:s}]})]),(K,Q)=>{const b=D,k=V;return P(),j("div",J,[a(b,{profile:n(t),"profile-kind":"project","profile-type":n(t).profileType?.key,fallback:n(l)},null,8,["profile","profile-type","fallback"]),a(k,{"profile-type":"projects","profile-id":n(u),class:"mt-8"},null,8,["profile-id"])])}}});export{oe 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.