PageSourceSearch

https://certbox.app/assets/intent-store-skKVvrkE.js

js certbox.app collected 2026-09-24 14:08:06 UTC 2,016 bytes, 1 lines download raw bytes

1import{bz as d}from"./index-DN5F4pPB.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{};e.SENTRY_RELEASE={id:"8bad1ef1d1baf20043d4024cccb275075dbee4da"};var o=new e.Error().stack;o&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[o]="7b1b1a4b-0dfa-47ae-9665-0184fa609c40",e._sentryDebugIdIdentifier="sentry-dbid-7b1b1a4b-0dfa-47ae-9665-0184fa609c40")}catch{}})();const u="certbox-intents",b=1,s="intents";function a(){return new Promise((e,o)=>{const t=indexedDB.open(u,b);t.onupgradeneeded=()=>{const r=t.result;r.objectStoreNames.contains(s)||r.createObjectStore(s,{keyPath:"localId"}).createIndex("type","type",{unique:!1})},t.onsuccess=()=>e(d(t.result)),t.onerror=()=>o(t.error)})}async function f(e){const o=await a();return new Promise((t,r)=>{const n=o.transaction(s,"readwrite");n.objectStore(s).put(e),n.oncomplete=()=>t(),n.onerror=()=>r(n.error)})}async function y(e){const o=await a();return new Promise((t,r)=>{const c=o.transaction(s,"readonly").objectStore(s).get(e);c.onsuccess=()=>t(c.result??null),c.onerror=()=>r(c.error)})}async function w(e){const o=await a();return new Promise((t,r)=>{const n=o.transaction(s,"readwrite");n.objectStore(s).delete(e),n.oncomplete=()=>t(),n.onerror=()=>r(n.error)})}async function g(e){const o=await a();return new Promise((t,r)=>{const n=o.transaction(s,"readonly");if(e){const i=n.objectStore(s).index("type").getAll(e);i.onsuccess=()=>t(i.result),i.onerror=()=>r(i.error)}else{const c=n.objectStore(s).getAll();c.onsuccess=()=>t(c.result),c.onerror=()=>r(c.error)}})}async function p(){const e=await a();return new Promise((o,t)=>{const n=e.transaction(s,"readonly").objectStore(s).count();n.onsuccess=()=>o(n.result),n.onerror=()=>t(n.error)})}async function x(){const e=await a();return new Promise((o,t)=>{const r=e.transaction(s,"readwrite");r.objectStore(s).clear(),r.oncomplete=()=>o(),r.onerror=()=>t(r.error)})}export{y as a,p as b,x as c,w as d,g,f as p};

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.