PageSourceSearch

https://mucem.org/_nuxt/CgV41egX.js

js mucem.org collected 2026-09-24 17:41:02 UTC 1,539 bytes, 1 lines download raw bytes

1import{k as d,G as y,o,e as i,i as r,t as h,h as m,b as _,A as c,F as p,y as b,f,_ as v}from"./CnnHI4eV.js";const k={class:"block-gallery"},w={class:"block-gallery__header wrapper is-grid"},B={class:"header__wrapper"},$={key:0,class:"header__title"},q={class:"header__arrows"},C=["disabled","aria-label"],D=["disabled","aria-label"],O={__name:"BlockGallery",props:{gallery__title:{type:String,required:!1},gallery__images:{type:Object,required:!0}},setup(u){const t=u,n=d(null),e=d(0);return y(e,()=>{var l;const a=(l=n.value.querySelector(`.list__item:nth-child(${e.value})`))==null?void 0:l.offsetWidth;n.value.scrollTo({left:a*e.value,behavior:"smooth"})}),(a,l)=>{const g=v;return o(),i("div",k,[r("header",w,[r("div",B,[t.gallery__title?(o(),i("h2",$,h(t.gallery__title),1)):m("",!0),r("div",q,[r("button",{disabled:_(e)===0,"aria-label":("__"in a?a.__:_(c))("Photo précédente"),class:"arrows__arrow icon-slider--prev",onClick:l[0]||(l[0]=s=>e.value--)},null,8,C),r("button",{disabled:_(e)===t.gallery__images.length-1,"aria-label":("__"in a?a.__:_(c))("Photo suivante"),class:"arrows__arrow icon-slider--next",onClick:l[1]||(l[1]=s=>e.value++)},null,8,D)])])]),r("ul",{ref_key:"galleryDOM",ref:n,class:"block-gallery__list"},[(o(!0),i(p,null,b(t.gallery__images,s=>(o(),i("li",{key:s.id,class:"list__item"},[f(g,{class:"block-gallery__item",image:s.image,size:"medium-large","force-alt":s.alt,"force-legend":s.legend,"display-description":""},null,8,["image","force-alt","force-legend"])]))),128))],512)])}}};export{O 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.