1import{B as M}from"./C0GTP0YD.js";import{_ as P}from"./CBthuief.js";import{_ as W}from"./DH4LhcEg.js";import{_ as z,a as G}from"./BwMAg2cX.js";import{s as L}from"./DDJHmTru.js";import{D as U}from"./C9wNy9BP.js";import{aS as Y,bh as Z,b8 as j,b9 as q,ba as F,aY as p,aZ as w,b4 as n,aU as i,a_ as O,a$ as x,aT as e,b2 as f,aV as k,b3 as X,aW as J,aX as K,bj as Q,bi as T,b1 as D,b6 as ee}from"./B77O-y3R.js";import{u as te}from"./vhYWRHZI.js";import{u as oe}from"./BX10NH1P.js";import{a as ae}from"./DlwUbWIg.js";import"./k-DO9Ciw.js";import"./YD9qOFKB.js";import"./BKlzQ5PA.js";import"./DOiNQ1IL.js";import"./DLvlJwZI.js";(function(){try{var t=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{};t.SENTRY_RELEASE={id:"1.3.7"};var o=new t.Error().stack;o&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[o]="dcf086ec-23aa-4f9a-964e-b8f4b7fa2c76",t._sentryDebugIdIdentifier="sentry-dbid-dcf086ec-23aa-4f9a-964e-b8f4b7fa2c76")}catch{}})();const se={class:"photos"},$="Photos",ne=Y({__name:"photos",async setup(t){let o,d;const B=Z(),m=n(()=>B.params.slug),{$api:g}=j(),{data:b,error:y}=([o,d]=q(async()=>te(()=>`movies-slug-${m.value}-photos`,async()=>{const[a,c]=await Promise.all([g(`/api/movies/${m.value}`),g(`/api/movies/${m.value}/media`)]);return{movie:a.data,images:c.images}},"$taRWru9qh_")),o=await o,d(),o);if(y.value)throw F(y.value);const l=n(()=>b.value?.movie),u=n(()=>b.value?.images??[]),r=T(!1),h=T(0),C=a=>{h.value=a,r.value=!0},{cdnMedia:N}=oe(),_=n(()=>`${D(l.value)} - ${$}`),v=n(()=>`Images du film ${D(l.value)}`),I=n(()=>N(l.value?.poster,"1200x630",{contain:!0}));return ae({title:_.value,ogTitle:_.value,description:v.value,ogDescription:v.value,ogImage:I.value,ogImageWidth:1200,ogImageHeight:630,ogType:"video.movie",twitterTitle:()=>_.value,twitterDescription:()=>v.value,twitterImage:I.value,robots:"noindex, follow"}),(a,c)=>{const V=M,E=P,R=W,S=z,A=G;return i(),p(U,null,{default:w(()=>[O("div",se,[x(V,{"movie-slug":e(m)},null,8,["movie-slug"]),e(l)?(i(),p(E,{key:0,movie:e(l),"page-title":$},null,8,["movie"])):f("",!0),e(u)?(i(),k("div",{key:1,class:X(["photos__grid",{"is-small":e(u).length<=3}])},[(i(!0),k(J,null,K(e(u),(s,H)=>(i(),p(S,{key:s.id,onClick:ie=>C(Number(H))},{default:w(()=>[x(R,{media:s,alt:s.title,title:("stripHtmlTags"in a?a.stripHtmlTags:e(L))(s.title),size:"342x286",class:"photos__grid--item"},null,8,["media","alt","title"])]),_:2},1032,["onClick"]))),128))],2)):f("",!0)]),e(r)?(i(),p(A,{key:0,modelValue:e(r),"onUpdate:modelValue":c[0]||(c[0]=s=>Q(r)?r.value=s:null),items:e(u),"start-index":e(h)},null,8,["modelValue","items","start-index"])):f("",!0)]),_:1})}}}),we=ee(ne,[["__scopeId","data-v-6c06f7a7"]]);export{we 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.