1import{u as s,a as n}from"./Chx3igEn.js";async function g(){const{client:i}=s(),t=`{ 2 "grid": *[_type == "project" && defined(gridPosition)] | order(gridPosition asc) { 3 _id, 4 title, 5 url, 6 date, 7 type, 8 gridPosition, 9 thumbnail { 10 asset->{ 11 _id, 12 url 13 } 14 }, 15 categories[]->{ _id, title }, 16 filmCategories[]->{ _id, title }, 17 commercialCategories[]->{ _id, title }, 18 artist[]->{ _id, title }, 19 brand[]->{ _id, title } 20 }, 21 "list": *[_type == "project" && !defined(gridPosition)] | order(date desc) { 22 _id, 23 title, 24 url, 25 date, 26 type, 27 thumbnail { 28 asset->{ 29 _id, 30 url 31 } 32 }, 33 categories[]->{ _id, title }, 34 filmCategories[]->{ _id, title }, 35 commercialCategories[]->{ _id, title }, 36 artist[]->{ _id, title }, 37 brand[]->{ _id, title } 38 } 39 }`,{data:a,error:e}=await n("projects",()=>i.fetch(t));e.value&&console.error("Error fetching projects:",e.value);const l=d=>d.map(c=>({...c,title:o(c.title),artist:c.artist?.map(u=>({...u,title:o(u.title)}))})),r=a.value||{grid:[],list:[]};return{grid:l(r.grid||[]),list:l(r.list||[])}}function o(i){if(!i)return"";let t=i;return t=t.replace(/​/g,"").replace(/ /g," ").replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/"/g,'"').replace(/'/g,"'"),t=t.replace(/[\u200B-\u200D\uFEFF]/g,""),t=t.replace(/\s+/g," "),t.trim()}async function m(){const{client:i}=s(),t=`{ 40 "music": *[_type == "categoryMusic"]{ _id, title }, 41 "film": *[_type == "categoryFilm"]{ _id, title }, 42 "commercial": *[_type == "categoryCommercial"]{ _id, title } 43 }`,{data:a,error:e}=await n("categories",()=>i.fetch(t));e.value&&console.error("Error fetching categories:",e.value);const l=a.value||{music:[],film:[],commercial:[]};return{music:l.music.map(r=>({...r,title:o(r.title)})),film:l.film.map(r=>({...r,title:o(r.title)})),commercial:l.commercial.map(r=>({...r,title:o(r.title)}))}}async function p(){const{client:i}=s(),t='*[_type == "artist"]{ _id, title }',{data:a,error:e}=await n("artists",()=>i.fetch(t));return e.value&&console.error("Error fetching artists:",e.value),(a.value||[]).map(r=>({...r,title:o(r.title)}))}async function y(){const{client:i}=s(),t='*[_type == "brand"]{ _id, title }',{data:a,error:e}=await n("brands",()=>i.fetch(t));return e.value&&console.error("Error fetching brands:",e.value),(a.value||[]).map(r=>({...r,title:o(r.title)}))}async function _(){const{client:i}=s(),t=`*[_type == "setLife" && _id == "setLife"][0]{ 44 videos[]{ 45 fullVersionUrl, 46 "videoUrl": file.asset->url 47 } 48 }`,{data:a,error:e}=await n("setLifeVideos",()=>i.fetch(t));return e.value?(console.error("Error fetching set life videos:",e.value),[]):a.value?.videos?.filter(l=>l.videoUrl).map(l=>({videoUrl:l.videoUrl,fullVersionUrl:l.fullVersionUrl||null}))||[]}async function v(){const{client:i}=s(),t=`*[_type == "about" && _id == "about"][0]{ 49 showreelVideo{ 50 asset->{ 51 _id, 52 url 53 } 54 }, 55 paragraphs[]{ 56 text, 57 delay 58 }, 59 mainTitle 60 }`,{data:a,error:e}=await n("aboutData",()=>i.fetch(t));return e.value&&console.error("Error fetching about data:",e.value),a.value||null}async function h(){const{client:i}=s(),t=`*[_type == "contact" && _id == "contact"][0]{ 61 email, 62 instagramUrl, 63 youtubeUrl, 64 tagline, 65 legals{ 66 editor, 67 hosting, 68 intellectualProperty 69 } 70 }`,{data:a,error:e}=await n("contactData",()=>i.fetch(t));return e.value&&console.error("Error fetching contact data:",e.value),a.value||null}async function b(){const{client:i}=s(),t=`*[_type == "interview"] | order(date desc) { 71 _id, 72 title, 73 url, 74 date, 75 thumbnail{ 76 asset->{ 77 _id, 78 url, 79 metadata { lqip } 80 } 81 } 82 }`,{data:a,error:e}=await n("interviews",()=>i.fetch(t));return e.value?(console.error("Error fetching interviews:",e.value),[]):(a.value||[]).map(r=>({...r,title:o(r.title)}))}export{h as a,_ as b,b as c,g as d,m as e,p as f,v as g,y as h};
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.