PageSourceSearch

https://isic.fr/_nuxt/mgLBREgO.js

js isic.fr collected 2026-10-01 15:25:48 UTC 2,874 bytes, 1 lines download raw bytes

1import{_ as m}from"./CeMZsZ9_.js";import{e as _,i as f,c as a,o as s,q as h,w as d,s as l,a as i,g as e,t as r,F as b,b as v,N as x}from"./DAxAtgHJ.js";const g={class:"relative"},y=["src","alt"],k={class:"w-full relative z-10 mt-auto p-4 bg-gradient-to-t from from-slate-950 to-slate-950/0"},w={key:0,class:"flex items-center gap-1 mb-1"},N=["src","alt"],j={key:1,class:"text-white text-xs font-bold"},B={class:"font-bold text-md text-white"},z={key:1,class:"text-white"},C={class:"relative mb-2"},S=["src","alt"],V={key:0,class:"flex items-center gap-1 mb-1"},F=["src","alt"],q={key:1,class:"text-primary-300 font-bold text-xs"},D={class:"font-bold text-md"},E={key:1},A=_({__name:"preview",props:{data:{},stylus:{default:"card"}},setup(u){const o=u,t=f(()=>({picture:o.data.background_image||o.data.image||null,title:o.data.name||o.data.title||"",subtitle:o.data.subname||o.data.subtitle||null,provider:o.data.provider??null}));return(p,n)=>{const c=m;return s(),a("div",g,[o.stylus==="full"?(s(),h(c,{key:0,to:{name:"selections-selection",params:{selection:o.data.slug}},class:"rounded-xl relative overflow-hidden flex h-[200px] transition bg-gradient-to-t from-slate-950 via-slate-700 to-slate-500 hover:via-slate-500"},{default:d(()=>[e(t).picture?(s(),a("img",{key:0,src:e(t).picture,class:"absolute inset-0 object-cover w-full h-full opacity-55","data-type":"offer",alt:e(t).title??"selection"},null,8,y)):l("",!0),i("div",k,[e(t).provider?(s(),a("div",w,[e(t).provider.image?(s(),a("img",{key:0,src:e(t).provider.image,class:"h-4 w-auto object-contain",alt:e(t).provider.name??""},null,8,N)):l("",!0),e(t).provider.name?(s(),a("span",j,r(e(t).provider.name),1)):l("",!0)])):l("",!0),i("h3",B,r(e(t).title),1),e(t).subtitle?(s(),a("p",z,r(e(t).subtitle),1)):l("",!0)])]),_:1},8,["to"])):(s(),a(b,{key:1},[i("div",{class:"blur-2xl w-full h-full absolute opacity-70",style:x(`background-image: url(${e(t).picture}); z-index: -1`)},null,4),v(c,{to:{name:"selections-selection",params:{selection:o.data.slug??""}},class:"bg-white/80 p-6 rounded-xl flex flex-col h-full transition hover:scale-[103%] hover:bg-white/100"},{default:d(()=>[i("figure",C,[e(t).picture?(s(),a("img",{key:0,src:e(t).picture,class:"object-cover h-[150px] md:h-[250px] w-full rounded-lg","data-type":"offer",alt:e(t).title??"selection"},null,8,S)):l("",!0),n[0]||(n[0]=i("span",{class:"mb-2 bg-slate-400 text-white font-bold text-xs py-1 px-2 rounded-sm self-start absolute top-2 left-2"}," Sélection ",-1))]),e(t).provider?(s(),a("div",V,[e(t).provider.image?(s(),a("img",{key:0,src:e(t).provider.image,class:"h-4 w-auto object-contain",alt:e(t).provider.name??""},null,8,F)):l("",!0),e(t).provider.name?(s(),a("span",q,r(e(t).provider.name),1)):l("",!0)])):l("",!0),i("h3",D,r(e(t).title),1),e(t).subtitle?(s(),a("p",E,r(e(t).subtitle),1)):l("",!0)]),_:1},8,["to"])],64))])}}});export{A as _};

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.