1import{v as g}from"./index-BAzMPhwh.js";import{_ as d}from"./_plugin-vue_export-helper-DlAUqK2U.js";import{w as v,A as i,Q as f,u as p,C as c,B as o,r as h,D as s}from"./inertia-prototypes-_0KFShPv.js";import"./index-DyiQYywk.js";import"./_commonjsHelpers-D6-XlEtG.js";import"./isSymbol-DvzfyB44.js";const x={key:0,class:"big-picture"},_={class:"window"},k={class:"navigation"},B=["src","alt"],b={__name:"BigPicturePopup",props:{activeIndex:{default:0,type:Number},images:{required:!0},alt:{type:String,default:"Image"},showBigPicture:{type:Boolean}},emits:["bigPicture"],setup(t,{emit:l}){const u=l,a=t,e=h(0);function r(){e.value!==a.images.length-1?e.value=e.value+1:e.value=0}function m(){e.value!==0?e.value=e.value-1:e.value=a.images.length-1}function n(){u("bigPicture",{status:"close",index:0})}return v(()=>a.activeIndex,()=>{e.value=a.activeIndex}),(I,P)=>t.showBigPicture?(s(),i("div",x,[f((s(),i("div",_,[c("div",k,[c("button",{class:"close",onClick:n}),t.images.length>=2?(s(),i("button",{key:0,class:"next",onClick:r})):o("",!0),t.images.length>=2?(s(),i("button",{key:1,class:"back",onClick:m})):o("",!0)]),c("img",{src:a.images[e.value].xl,alt:t.alt+e.value},null,8,B)])),[[p(g),n]])])):o("",!0)}},V=d(b,[["__scopeId","data-v-4cf30f44"]]);export{V 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.