PageSourceSearch

https://my-vault-cic6.onrender.com/assets/media-uwGdbwEs.js

js my-vault-cic6.onrender.com collected 2026-10-03 08:19:50 UTC 1,984 bytes, 2 lines download raw bytes

1import{n as t}from"./rolldown-runtime-CxhCXM28.js";import{i as e}from"./particles-DxRvNy23.js";import{s as r}from"./csrf-buB-V-v-.js";import{A as n,N as a,O as o,k as i}from"./index-sacVBbwL.js";var s=t({getSignedUrl:()=>c}),c=async(t,s="view")=>{if(t.startsWith("decoy-")){try{const{useVaultStore:r}=await e(async()=>{const{useVaultStore:t}=await import("./index-sacVBbwL.js").then(t=>t.y);return{useVaultStore:t}},__VITE_PRELOAD__),n=r.getState().items.find(e=>e.id===t);if(n&&"string"==typeof n.content)return n.content}catch{}return`data:text/plain;charset=utf-8,Decoy%20Item%20(${encodeURIComponent(t)})`}const c=(t=>{let e=0;for(let r=0;r<t.length;r++)e=(e<<5)-e+t.charCodeAt(r),e&=e;return Math.abs(e).toString(36)})((()=>{if("undefined"==typeof window)return"unknown";let t=null;try{t=localStorage.getItem("vault_device_id")}catch{t=null}if(!t){t=(()=>{if("undefined"!=typeof crypto){if("function"==typeof crypto.randomUUID)return crypto.randomUUID();if("function"==typeof crypto.getRandomValues){const t=new Uint8Array(16);return crypto.getRandomValues(t),Array.from(t,t=>t.toString(16).padStart(2,"0")).join("")}}return`${Math.random().toString(36).slice(2)}${Date.now().toString(36)}`})();try{localStorage.setItem("vault_device_id",t)}catch{}}return[navigator.userAgent,`${window.screen.width}x${window.screen.height}`,navigator.platform,t].join("|")})()),d=new URLSearchParams({action:s,dev:c}),u=await(await i(`${o}/api/vault/files/signed-url/${encodeURIComponent(t)}?${d.toString()}`,{method:"GET",headers:n()},"Getting Signed URL")).json(),l="string"==typeof u?.data?.url?u.data.url.trim():"";if(!l){const t=new Error("The server did not return a preview URL. This item may be encrypted-only (not a server file).");throw t.code="SIGNED_URL_EMPTY",t}const f=a(l,"Getting Signed URL","SIGNED_URL_INVALID"),m=r();return m&&!f.searchParams.has("auth_token")&&f.searchParams.set("auth_token",m),f.toString()};export{s as n,c as t};
2//# sourceMappingURL=media-uwGdbwEs.js.map

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.