1var e=`https://iqxcgazfrydubrvxmnlv.supabase.co/functions/v1`,t=`eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJzdXBhYmFzZSIsInJlZiI6ImlxeGNnYXpmcnlkdWJydnhtbmx2Iiwicm9sZSI6ImFub24iLCJpYXQiOjE3NzY3MTU4MzksImV4cCI6MjA5MjI5MTgzOX0.fQos60vdeCcIV9oUtIsQdU4XJDGlsxjySsNvdA7iL6Q`;async function n(n){let r=await fetch(`${e}/list-public-templates`,{method:`POST`,headers:{"Content-Type":`application/json`,apikey:t,Authorization:`Bearer ${t}`},body:JSON.stringify(n)}),i=await r.json().catch(()=>({}));if(!r.ok)throw Error(i.error||`Request failed (${r.status})`);return i}function r(e){return n(e?{category:e}:{})}function i(e){return n({slug:e}).then(e=>e.template)}async function a(n,r){let i=await fetch(`${e}/clone-library-template`,{method:`POST`,headers:{"Content-Type":`application/json`,apikey:t,Authorization:`Bearer ${n}`},body:JSON.stringify(r)}),a=await i.json().catch(()=>({}));if(!i.ok)throw Error(a.error||`Clone failed (${i.status})`);return a.site}var o=`prostudio.pendingTemplate`;function s(e){try{sessionStorage.setItem(o,e)}catch{}}function c(){try{let e=sessionStorage.getItem(o);return e&&sessionStorage.removeItem(o),e}catch{return null}}export{c as a,s as i,i as n,r,a as t};
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.