1import{d as k,u as x,n as C,C as I,o as n,D as N,w as V,b as s,g as l,c,F as d,f as b,t as u,A as y,M as L,T as M,s as o,h as T}from"./oDDDfqFT.js";const A={class:"fimg-outer"},B={class:"fimg-inner"},D={class:"fimg-content"},E={class:"fimg-text"},O=["src"],W=k({__name:"ImageViewer",props:{url:{}},emits:["close"],setup(m,{emit:f}){const g=f,{getMessage:_}=x(),i=(t,e)=>_(t,e),a=o(!0),r=o(null),p=o(null),v=t=>{a.value=!1;const e=t.target;e?.naturalWidth&&(p.value={width:e.naturalWidth,height:e.naturalHeight})},h=()=>{r.value=!0},w=()=>{g("close")};return C(()=>{a.value=!0,document.body.classList.add("hide-scroll")}),I(()=>{document.body.classList.remove("hide-scroll")}),(t,e)=>(n(),N(M,{name:"fade",appear:""},{default:V(()=>[s("div",{class:"full-image-viewer",onClick:e[1]||(e[1]=F=>w())},[s("div",A,[s("div",B,[s("div",D,[s("div",E,[l(r)?(n(),c(d,{key:0},[b(u(i("CANNOT_SHOW_IMAGE")),1)],64)):l(a)?(n(),c(d,{key:1},[e[2]||(e[2]=s("i",{class:"fa-solid fa-spinner fa-spin-pulse"},null,-1)),s("span",null,u(i("LOADING"))+"...",1)],64)):y("",!0)]),s("img",{src:m.url,alt:"",onLoad:v,onError:h,onDragstart:e[0]||(e[0]=L(()=>{},["prevent"]))},null,40,O)])])])])]),_:1}))}}),H=Object.assign(T(W,[["__scopeId","data-v-16bed525"]]),{__name:"ImageViewer"});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.