1 2!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="802ceeb1-a1b9-5b27-a408-6df3eb698811")}catch(e){}}(); 3import"/build/_shared/chunk-S6YNIAQM.js";import{c as b}from"/build/_shared/chunk-NXE3N4N7.js";import{f,l as p,r as g,s as m}from"/build/_shared/chunk-KSVRTAB6.js";import{a as C,b as h}from"/build/_shared/chunk-RNXME2XQ.js";import{d as o}from"/build/_shared/chunk-MOBXQPLJ.js";var S=o(b());var n=o(C());var e=o(h());function y(){let c=g(),v=m(),i=f(),{error:l,message:u,cacheKey:s,cacheValue:d}=v??{},[r,x]=(0,n.useState)(()=>Object.fromEntries(c.map(t=>[t,null])));return(0,n.useEffect)(()=>{s&&x(t=>({...t,[s]:d}))},[s,d]),(0,e.jsxs)(p,{method:"post",className:"cache",children:[(0,e.jsx)("h1",{children:"Cached data"}),(0,e.jsx)("button",{name:"delete",children:"Clean cache"}),(0,e.jsx)("button",{name:"reload",children:"Reload keys"}),i.state!=="idle"&&i.state,l&&(0,e.jsx)("div",{className:"error",children:l}),u&&(0,e.jsx)("div",{className:"success",style:{color:"green",margin:"10px 0"},children:u}),(0,e.jsx)("h2",{children:"Keys:"}),(0,e.jsxs)("ul",{style:{listStyleType:"none",paddingLeft:0},children:[c.length===0&&(0,e.jsx)("i",{children:"(the cache is empty)"}),c.map(t=>(0,e.jsxs)("li",{style:{margin:"8px 0"},children:[(0,e.jsxs)("div",{style:{display:"flex"},children:[(0,e.jsxs)("div",{style:{display:"flex",marginRight:"10px"},children:[(0,e.jsxs)("button",{name:"loadCache",value:t,style:{marginRight:"4px"},children:[r[t]?"Reload":"Show"," value"]}),(0,e.jsx)("button",{name:"clearSingleKey",value:t,style:{backgroundColor:"#ffcccc",color:"#333"},title:"Delete this specific cache entry",children:"Clear"})]}),(0,e.jsx)("div",{children:(0,e.jsx)("strong",{children:t})})]}),r[t]&&(0,e.jsx)("div",{style:{marginLeft:"180px",marginTop:"5px",marginBottom:"15px",padding:"16px",backgroundColor:"#e0e0e0",border:"1px solid #cccccc",borderRadius:"4px",overflow:"auto"},children:(0,e.jsx)("pre",{style:{margin:0,padding:0,color:"#333",fontFamily:"monospace",backgroundColor:"transparent"},children:(()=>{try{let a=r[t];if(a===null)return"null";if(typeof a=="string"){let A=JSON.parse(a);return JSON.stringify(A,null,2)}else return JSON.stringify(a,null,2)}catch{return String(r[t]||"")}})()})})]},t))]})]})}export{y as default}; 4//# sourceMappingURL=/build/routes/cache-CDB2DDZ2.js.map 5 6//# debugId=802ceeb1-a1b9-5b27-a408-6df3eb698811
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.