1import{h,e as x,c as y,a as v}from"./DmI-hEr8.js";import{_ as w,o as p,d,k as s,e as o,t as j,i as k,m as C,j as b,P as B,p as D,n as N,a as P,w as A,c as T,b as $,f as c,g as M,l as S,h as g}from"./Csp-6nIe.js";import{_ as V,P as z}from"./Dcf5JUUY.js";import"./BQ3vxvUB.js";import"./Bt6Z6EHX.js";const L={props:{content:{type:null,default:null}},computed:{routeName(){return(this._.provides[B]||this.$route).name}},mounted(){},methods:{}},E={class:"c-catalogue -wrapper"},R={class:"c-catalogue_container u-columns -two -medium -large"},F={class:"c-catalogue_media"},H={class:"c-catalogue_content"},I={class:"-h2"};function O(l,a,t,r,i,m){const n=V,u=z,e=D;return p(),d("section",E,[s("div",R,[s("div",F,[o(n,{src:t.content.imageCatalogue.url,alt:t.content.imageCatalogue.alt,width:"1000",densities:"x1 x2",format:"webp",loading:"lazy",sizes:"sm:200vw md:50vw lg:1000px"},null,8,["src","alt"])]),s("div",H,[s("h2",I,j(l.$prismic.asText(t.content.titreCatalogue)),1),s("div",null,[o(u,{field:t.content.catalogueDescription},null,8,["field"]),l.$prismic.isFilled.link(t.content.lienCatalogue)?(p(),k(e,{key:0,to:l.$prismic.asLink(t.content.lienCatalogue),class:"c-button"},{default:C(()=>[...a[0]||(a[0]=[N(" Découvrir le catalogue ",-1),s("span",null,null,-1)])]),_:1},8,["to"])):b("",!0)])])])])}const U=Object.assign(w(L,[["render",O]]),{__name:"BlocCatalogue"}),q={id:"metiers",class:"c-page"},G={class:"c-staffing_container"},Y={__name:"staffing",async setup(l){let a,t;const{$prismic:r}=P(),{data:i,error:m}=([a,t]=A(async()=>M("staffing",async()=>{const[e,_]=await Promise.all([r.client.getSingle("staffing",{fetchLinks:["projet.titrePage","projet.thumbnail","projet.extrait"]}),r.client.getByUID("categorie","staffing")]),f=await r.client.getAllByType("projet",{pageSize:999,filters:[S.at("my.projet.categorie",_.id)]});return{page:e.data,categorie:_,projets:f}})),a=await a,t(),a);if(m.value||!i.value?.page)throw T({statusCode:404,statusMessage:"Page not found"});const n=g(()=>i.value.page),u=g(()=>i.value.projets||[]);return $(()=>{const e=i.value.page;return e.TitreMeta!==null||e.DescriptionMeta!==null?{title:e.TitreMeta,meta:[{hid:"description",name:"description",content:e.DescriptionMeta}],link:[{rel:"canonical",href:"https://halloween.fr/staffing"}],bodyAttrs:{class:"staffing"}}:{bodyAttrs:{class:"staffing"}}}),(e,_)=>(p(),d("main",q,[o(h,{content:c(n)},null,8,["content"]),s("div",G,[o(x,{content:c(n),staffing:!0},null,8,["content"]),o(y,{content:c(n),staffing:!0},null,8,["content"]),o(v,{content:c(n),projets:c(u)},null,8,["content","projets"])]),o(U,{content:c(n)},null,8,["content"])]))}};export{Y 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.