PageSourceSearch

https://astrainfra.co.id/_nuxt/l5hR6pzn.js

js astrainfra.co.id collected 2026-10-02 22:05:26 UTC 3,249 bytes, 1 lines download raw bytes

1import{b0 as p,a$ as C,bf as X,b3 as Y,bn as Z,b5 as T,bd as _,b4 as M,bw as z,b9 as o,b7 as y,bD as x,b6 as B,b8 as E,bo as $,bm as N,bb as S}from"./FeCEmVsZ.js";try{(function(){var t=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},s=new t.Error().stack;s&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[s]="fb1b1be8-008e-465b-9183-10a960a4cf8a",t._sentryDebugIdIdentifier="sentry-dbid-fb1b1be8-008e-465b-9183-10a960a4cf8a")})()}catch{}const I=p(null),U=()=>{const t=p(1),s=p(0),l=p(0),i=p(!1);let r=0,f=0,d=0,m=0,h=0,g=1,u=0;const v=(e,b,k,D)=>Math.sqrt((e-k)**2+(b-D)**2),c=()=>{t.value=1,s.value=0,l.value=0,i.value=!1,u=0},n=e=>{window.innerWidth<=768&&(I.value=e)},w=()=>{I.value=null,c()},a=()=>{t.value>1?c():(t.value=2.5,s.value=0,l.value=0)};return{activeZoomImage:I,openZoom:n,closeZoom:w,scale:t,offsetX:s,offsetY:l,isDragging:i,resetZoom:c,handleImageClick:()=>{u<8&&a()},onTouchStart:e=>{if(e.touches.length===1){if(t.value<=1)return;i.value=!0,r=e.touches[0].clientX,f=e.touches[0].clientY,d=s.value,m=l.value,u=0}else e.touches.length===2&&(i.value=!1,h=v(e.touches[0].clientX,e.touches[0].clientY,e.touches[1].clientX,e.touches[1].clientY),g=t.value,d=s.value,m=l.value)},onTouchMove:e=>{if(e.touches.length===1&&i.value){const b=e.touches[0].clientX-r,k=e.touches[0].clientY-f;u=v(e.touches[0].clientX,e.touches[0].clientY,r,f),s.value=d+b,l.value=m+k}else if(e.touches.length===2){const b=v(e.touches[0].clientX,e.touches[0].clientY,e.touches[1].clientX,e.touches[1].clientY);h>0&&(t.value=Math.max(1,Math.min(4,g*(b/h))))}},onTouchEnd:e=>{e.touches.length===0?(i.value=!1,h=0,t.value<=1.05&&c()):e.touches.length===1&&(i.value=!0,r=e.touches[0].clientX,f=e.touches[0].clientY,d=s.value,m=l.value)}}},V=C({__name:"ImageZoomDialog",setup(t){const{activeZoomImage:s,closeZoom:l,scale:i,offsetX:r,offsetY:f,isDragging:d,resetZoom:m,handleImageClick:h,onTouchStart:g,onTouchMove:u,onTouchEnd:v}=U();return X(s,c=>{document.body.style.overflow=c?"hidden":"",c&&m()},{immediate:!0}),Y(()=>{document.body.style.overflow=""}),(c,n)=>{const w=E;return T(),Z(N,{name:"fade"},{default:_(()=>[o(s)?(T(),M("div",{key:0,class:"zoom-overlay",onClick:n[5]||(n[5]=(...a)=>o(l)&&o(l)(...a))},[y("button",{class:"zoom-overlay__close","aria-label":"Close zoom",onClick:n[0]||(n[0]=x((...a)=>o(l)&&o(l)(...a),["stop"]))},[...n[6]||(n[6]=[y("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"},[y("line",{x1:"18",y1:"6",x2:"6",y2:"18"}),y("line",{x1:"6",y1:"6",x2:"18",y2:"18"})],-1)])]),y("div",{class:"zoom-overlay__content",onClick:n[1]||(n[1]=x(()=>{},["stop"])),onTouchstart:n[2]||(n[2]=(...a)=>o(g)&&o(g)(...a)),onTouchmove:n[3]||(n[3]=(...a)=>o(u)&&o(u)(...a)),onTouchend:n[4]||(n[4]=(...a)=>o(v)&&o(v)(...a))},[B(w,{src:o(s),alt:"Zoomed Image",style:$({transform:`translate(${o(r)}px, ${o(f)}px) scale(${o(i)})`,cursor:o(i)>
11?"grab":"zoom-in",transition:o(d)?"none":"transform 0.15s ease-out"}),onClick:o(h)},null,8,["src","style","onClick"])],32)])):z("",!0)]),_:1})}}}),F=S(V,[["__scopeId","data-v-e9fdeb23"]]);export{F as U,U as u};

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.