PageSourceSearch

https://avibox.ru/_nuxt/9Y94pg3w.js

js avibox.ru collected 2026-10-02 02:09:54 UTC 1,929 bytes, 1 lines download raw bytes

1import{_ as x}from"./D-Zshy5H.js";import y from"./CpqMpdb7.js";import{f as w,aK as I,x as C,V as B,aF as L,o as s,c as m,a as l,b as i,i as o,h as E,w as N,aM as P,k as V,aP as z,aS as F,F as M,L as r,l as f,aG as T,_ as K}from"./DFIyN3X2.js";const S=["aria-label","aria-expanded","aria-controls"],j=["id","aria-label"],D=["src","alt"],G=w({__name:"ProseImg",props:{src:{},alt:{default:""},width:{default:void 0},height:{default:void 0}},setup(g){const e=g,a=r(!1),c=r(null),d=r(null),u=I(),p=f(()=>e.alt?`Увеличить: ${e.alt}`:"Увеличить изображение"),b=f(()=>e.alt||"Увеличенное изображение");function h(){a.value=!0}function n(){a.value=!1}function _(t){t.key==="Escape"&&a.value&&(t.preventDefault(),n())}return C(a,t=>{document.body.style.overflow=t?"hidden":"",T(()=>{t?d.value?.focus():c.value?.focus({preventScroll:!0})})}),B(()=>{document.addEventListener("keydown",_)}),L(()=>{document.removeEventListener("keydown",_),a.value&&(document.body.style.overflow="")}),(t,U)=>{const k=x,v=y;return s(),m(M,null,[l("button",{ref_key:"trigger",ref:c,type:"button",class:"kb-figure","aria-label":o(p),"aria-haspopup":"dialog","aria-expanded":o(a),"aria-controls":o(u),onClick:h},[i(k,{src:e.src,alt:e.alt,width:e.width,height:e.height,class:"kb-figure__img",loading:"lazy"},null,8,["src","alt","width","height"])],8,S),(s(),E(F,{to:"body"},[i(z,{name:"kb-lightbox"},{default:N(()=>[o(a)?(s(),m("div",{key:0,id:o(u),ref_key:"dialog",ref:d,class:"kb-lightbox",role:"dialog","aria-modal":"true","aria-label":o(b),tabindex:"-1",onClick:n},[l("img",{src:e.src,alt:e.alt,class:"kb-lightbox__img"},null,8,D),l("button",{type:"button",class:"kb-lightbox__close","aria-label":"Закрыть",onClick:P(n,["stop"])},[i(v,{name:"lucide:x",size:"22"})])],8,j)):V("",!0)]),_:1})]))],64)}}}),H=Object.assign(K(G,[["__scopeId","data-v-2a38014b"]]),{__name:"ProseImg"});export{H 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.