PageSourceSearch

https://ravit.jp/_expo/static/js/web/ImageViewerWebImpl-7933d7d602031c537098de70d3de2ba3.js

js ravit.jp collected 2026-10-01 14:17:01 UTC 3,312 bytes, 3 lines download raw bytes

1var _sentryDebugIds,_sentryDebugIdIdentifier;void 0===_sentryDebugIds&&(_sentryDebugIds={});try{var stack=(new Error).stack;stack&&(_sentryDebugIds[stack]="d57ae720-a22f-4a25-8a30-4623dfa29c27",_sentryDebugIdIdentifier="sentry-dbid-d57ae720-a22f-4a25-8a30-4623dfa29c27")}catch(e){}
2var SENTRY_RELEASE;SENTRY_RELEASE={name: "Ravit", version: "4.3.0"};
3__d(function(g,r,i,a,m,_e,d){"use strict";function e(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(_e,'__esModule',{value:!0}),_e.ImageViewer=function({show:e=!1,images:t=[],index:o=0,showIndicator:u=!0,onCancel:p=()=>{}}){const{top:_}=(0,y.useSafeAreaInsets)(),I=(0,s.useMemo)(()=>t.map(e=>e.url||e.uri||"").filter(Boolean),[t]),[k,C]=(0,s.useState)(b(o,I.length)),v=I.length,A=I[k];(0,s.useEffect)(()=>{e&&C(b(o,I.length))},[o,I.length,e]);const B=(0,s.useCallback)(()=>{if("undefined"!=typeof document){const e=document.activeElement;e?.blur?.()}p()},[p]),E=(0,s.useCallback)(()=>{C(e=>b(e-1,v))},[v]),z=(0,s.useCallback)(()=>{C(e=>b(e+1,v))},[v]);return(0,s.useEffect)(()=>{if(!e||"undefined"==typeof window)return;const t=e=>{"Escape"!==e.key?"ArrowLeft"!==e.key?"ArrowRight"===e.key&&z():E():B()};return window.addEventListener("keydown",t),()=>{window.removeEventListener("keydown",t)}},[B,e,z,E]),e&&A?(0,x.jsx)(c.default,{visible:e,transparent:!0,onRequestClose:B,children:(0,x.jsxs)(w.default,{style:j.container,children:[(0,x.jsx)(h.default,{activeOpacity:1,onPress:B,style:j.backdrop}),(0,x.jsx)(w.default,{style:j.content,children:(0,x.jsx)(l.default,{source:{uri:A},style:j.image,resizeMode:"contain"})}),v>1&&k>0&&(0,x.jsx)(h.default,{style:[j.arrowButton,j.arrowLeft],onPress:E,children:(0,x.jsx)(l.default,{source:n.Images._008_buttonPrevShadow,style:j.arrowIcon})}),v>1&&k<v-1&&(0,x.jsx)(h.default,{style:[j.arrowButton,j.arrowRight],onPress:z,children:(0,x.jsx)(l.default,{source:n.Images._008_buttonNextShadow,style:j.arrowIcon})}),(0,x.jsxs)(w.default,{style:[j.header,{top:_}],children:[(0,x.jsx)(w.default,{style:j.indicator,children:u&&(0,x.jsx)(f.default,{style:j.indicatorText,children:`${k+1} / ${v}`})}),(0,x.jsx)(h.default,{style:j.closeButton,onPress:B,children:(0,x.jsx)(l.default,{source:n.Images._005_buttonCloseWhite,style:j.close})})]})]})}):null};var t=r(d[0]),n=r(d[1]),o=r(d[2]),s=r(d[3]),l=e(r(d[4])),c=e(r(d[5])),u=e(r(d[6])),f=e(r(d[7])),h=e(r(d[8])),w=e(r(d[9])),y=r(d[10]),x=r(d[11]);const b=(e,t)=>t<=0?0:Math.min(Math.max(e,0),t-1);const j=u.default.create({container:{flex:1,backgroundColor:t.Colors.light.black},backdrop:Object.assign({},u.default.absoluteFillObject),content:{flex:1,alignItems:"center",justifyContent:"center",paddingHorizontal:56,paddingVertical:o.NAV_BAR_HEIGHT},image:{width:"100%",height:"100%"},header:{position:"absolute",zIndex:1,left:0,right:0,alignItems:"center"},closeButton:{position:"absolute",right:10,top:0,bottom:0,justifyContent:"center"},indicator:{height:o.NAV_BAR_HEIGHT,justifyContent:"center"},indicatorText:{fontSize:17,color:t.Colors.light.white,textAlign:"center"},close:{width:28,height:28},arrowButton:{position:"absolute",top:"50%",paddingVertical:16,paddingHorizontal:12,zIndex:1,transform:[{translateY:-20}]},arrowLeft:{left:0},arrowRight:{right:0},arrowIcon:{width:41.05263157894737,height:60}})},2086,[763,764,882,12,303,358,143,130,352,250,391,6]);

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.