PageSourceSearch

https://www.lokimaps.com/_nuxt/DNViSZyU.js

js lokimaps.com collected 2026-10-02 16:04:27 UTC 3,241 bytes, 2 lines download raw bytes

1const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./CxRaQ0xA.js","./DfMkgiUT.js","./entry.BNO8NgHD.css"])))=>i.map(i=>d[i]);
2import{B as w}from"./DfMkgiUT.js";import{c as m,b as d,d as f,f as g}from"./tP0C5-aB.js";(function(){try{var t=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{};t.SENTRY_RELEASE={id:"02b00fabbe1395f3354278c4bba153e90d8fe508"};var o=new t.Error().stack;o&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[o]="385b067c-3f02-42ae-8db1-866d50f148d3",t._sentryDebugIdIdentifier="sentry-dbid-385b067c-3f02-42ae-8db1-866d50f148d3")}catch{}})();async function p(t,o="gzip"){let e;if(typeof Buffer<"u"){const i=Buffer.from(t,"base64");e=Uint8Array.from(i)}else if(typeof atob<"u")e=Uint8Array.from(atob(t),i=>i.charCodeAt(0));else throw new TypeError("No base64 decoding method available");const a=new Response(new Blob([e])).body?.pipeThrough(new DecompressionStream(o)),c=await new Response(a).text();return JSON.parse(c)}function l(t,o){const e=h(t),n={...o};for(const a in n)e[a]==="json"&&n[a]&&n[a]!=="undefined"&&(n[a]=JSON.parse(n[a])),e[a]==="boolean"&&n[a]!=="undefined"&&(n[a]=!!n[a]);for(const a in n)n[a]==="NULL"&&(n[a]=void 0);return n}function h(t){const o=t.match(/FROM\s+(\w+)/);return o?m[y(o[1])]?.fields||{}:{}}function y(t){return t.replace(/^_content_/,"")}let r;const u=new Map,s=new Map;function I(t){async function o(e){const n=String(e);return r||(s.has("_")||s.set("_",_()),r=await s.get("_"),s.delete("_")),u.has(n)||(s.has(n)||s.set(n,S(e)),await s.get(n),u.set(n,"loaded"),s.delete(n)),r}return{all:async(e,n)=>(await o(t),r.exec({sql:e,bind:n,rowMode:"object",returnValue:"resultRows"}).map(a=>l(e,a))),first:async(e,n)=>(await o(t),l(e,r.exec({sql:e,bind:n,rowMode:"object",returnValue:"resultRows"}).shift())),exec:async(e,n)=>{await o(t),await r.exec({sql:e,bind:n})}}}async function _(){if(!r){const t=await w(()=>import("./CxRaQ0xA.js"),__vite__mapDeps([0,1,2]),import.meta.url).then(e=>e.default);globalThis.sqlite3ApiConfig={silent:!0,debug:(...e)=>console.debug(...e),warn:(...e)=>{String(e[0]).includes("OPFS sqlite3_vfs")||console.warn(...e)},error:(...e)=>console.error(...e),log:(...e)=>console.log(...e)};const o=await t();r=new o.oo1.DB}return r}async function S(t){if(window.sessionStorage.getItem("previewToken"))return r;let o=null;const e=`checksum_${t}`,n=`collection_${t}`;let a="matched";try{r.exec({sql:`SELECT * FROM ${d.info} where id = '${e}'`,rowMode:"object",returnValue:"resultRows"}).shift()?.version!==f[String(t)]&&(a="mismatch")}catch{a="missing"}if(a!=="matched"){if(window.localStorage.getItem(`content_${e}`)===f[String(t)]&&(o=window.localStorage.getItem(`content_${n}`)),!o){o=await g(void 0,String(t));try{window.localStorage.setItem(`content_${e}`,f[String(t)]),window.localStorage.setItem(`content_${n}`,o)}catch(i){console.error("Database integrity check failed, rebuilding database",i)}}const c=await p(o);await r.exec({sql:`DROP TABLE IF EXISTS ${d[String(t)]}`}),a==="mismatch"&&await r.exec({sql:`DELETE FROM ${d.info} WHERE id = '${e}'`});for(const i of c)try{await r.exec(i)}catch(b){console.error("Error executing command",b)}}return r}export{I as loadDatabaseAdapter};

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.