1import w from"./AW4Nm5jx.js";import{u as q}from"./D-XPNEMo.js";import{_ as C,r as _,f as d,V as g,A as V,o as s,c as t,b as B,w as L,F as i,t as f,d as e,v as M}from"./D6m9GoYU.js";import"./Ca673Huo.js";const z={class:"ressources-stories"},A={class:"marquee-number"},F=["onClick"],I={class:"carousel-item__image"},N=["src"],P={__name:"RessourcesStories",props:{stories:Array},emits:["click"],setup(r,{emit:h}){const a=r,n=_(null),c=_(null),k=d(()=>g.isMobile?20:30),{goToIndex:v,isLoaded:S}=q(c,n,k.value,a.stories.length);V(()=>S.value,o=>{o&&v(Math.round(a.stories.length/2)-1)});const u=d(()=>g.isMobile?20:50),y=h,b=o=>y("click",a.stories[o].story.url);return(o,m)=>{const x=w;return s(),t("div",z,[B(x,{class:"marquee__loop marquee--blue",direction:"right",gap:u.value,gapSmall:u.value,autoPlay:!0,autoPlaySpeed:2},{default:L(()=>[(s(),t(i,null,f(6,l=>(s(),t(i,{key:l},[m[0]||(m[0]=e("span",{class:"marquee-word"}," Stories ",-1)),e("span",A,M(r.stories.length),1)],64))),64))]),_:1},8,["gap","gapSmall"]),e("div",{class:"stories",ref_key:"listWrapper",ref:n},[e("ul",{ref_key:"list",ref:c},[(s(!0),t(i,null,f(r.stories,(l,p)=>(s(),t("li",{class:"carousel-item",key:p,onClick:R=>b(p)},[e("div",I,[e("img",{src:l.thumb.url,alt:"slider thumb"},null,8,N)])],8,F))),128))],512)],512)])}}},$=C(P,[["__scopeId","data-v-78600025"]]);export{$ 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.