@spikonado/sprocket 0.3.5 → 0.3.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,2 +1,2 @@
1
- const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["../nodes/0.DNlVkUTR.js","../chunks/CirtoWSJ.js","../chunks/xihTtKlq.js","../chunks/Cg61rval.js","../chunks/mWKhuXx1.js","../chunks/BXqRSpcY.js","../chunks/BCyOt2Hb.js","../assets/0.B8qIzvu4.css","../nodes/1.C8vYwV-q.js","../chunks/8ja8ideL.js","../chunks/lkANnrdY.js","../nodes/2.Dn01jiUT.js","../chunks/VSK6LhsJ.js","../assets/2.CMU7pdv8.css","../nodes/3.CFC3g_PW.js","../chunks/OfCZdkp2.js","../nodes/4.CdEG0mau.js"])))=>i.map(i=>d[i]);
2
- import{$ as e,D as t,E as n,F as r,G as i,H as a,K as o,L as s,O as c,Q as l,T as u,U as d,V as f,X as p,ct as m,ht as h,i as g,j as _,k as v,lt as y,n as b,q as x,r as S,s as C,y as w}from"../chunks/CirtoWSJ.js";import"../chunks/xihTtKlq.js";var T=`modulepreload`,E=function(e,t){return new URL(e,t).href},D={},O=function(e,t,n){let r=Promise.resolve();if(t&&t.length>0){let e=document.getElementsByTagName(`link`),i=document.querySelector(`meta[property=csp-nonce]`),a=i?.nonce||i?.getAttribute(`nonce`);function o(e){return Promise.all(e.map(e=>Promise.resolve(e).then(e=>({status:`fulfilled`,value:e}),e=>({status:`rejected`,reason:e}))))}function s(e){return import.meta.resolve?import.meta.resolve(e):new URL(e,import.meta.url).href}r=o(t.map(t=>{if(t=E(t,n),t=s(t),t in D)return;D[t]=!0;let r=t.endsWith(`.css`);for(let n=e.length-1;n>=0;n--){let i=e[n];if(i.href===t&&(!r||i.rel===`stylesheet`))return}let i=document.createElement(`link`);if(i.rel=r?`stylesheet`:T,r||(i.as=`script`),i.crossOrigin=``,i.href=t,a&&i.setAttribute(`nonce`,a),document.head.appendChild(i),r)return new Promise((e,n)=>{i.addEventListener(`load`,e),i.addEventListener(`error`,()=>n(Error(`Unable to preload CSS for ${t}`)))})}))}function i(e){let t=new Event(`vite:preloadError`,{cancelable:!0});if(t.payload=e,window.dispatchEvent(t),!t.defaultPrevented)throw e}return r.then(t=>{for(let e of t||[])e.status===`rejected`&&i(e.reason);return e().catch(i)})},k={},A=v(`<div id="svelte-announcer" aria-live="assertive" aria-atomic="true" style="position: absolute; left: 0; top: 0; clip: rect(0 0 0 0); clip-path: inset(50%); overflow: hidden; white-space: nowrap; width: 1px; height: 1px"><!></div>`),j=v(`<!> <!>`,1);function M(v,S){y(S,!0);let T=g(S,`components`,23,()=>[]),E=g(S,`data_0`,3,null),D=g(S,`data_1`,3,null);d(()=>S.stores.page.set(S.page)),a(()=>{S.stores,S.page,S.constructors,T(),S.form,E(),D(),S.stores.page.notify()});let O=l(!1),k=l(!1),M=l(null);b(()=>{let e=S.stores.page.subscribe(()=>{r(O)&&(p(k,!0),s().then(()=>{p(M,document.title||`untitled page`,!0)}))});return p(O,!0),e});let N=e(()=>S.constructors[1]);var P=j(),F=o(P),I=n=>{let i=e(()=>S.constructors[0]);var a=c(),s=o(a);w(s,()=>r(i),(e,n)=>{C(n(e,{get data(){return E()},get form(){return S.form},get params(){return S.page.params},children:(e,n)=>{var i=c(),a=o(i);w(a,()=>r(N),(e,t)=>{C(t(e,{get data(){return D()},get form(){return S.form},get params(){return S.page.params}}),e=>T()[1]=e,()=>T()?.[1])}),t(e,i)},$$slots:{default:!0}}),e=>T()[0]=e,()=>T()?.[0])}),t(n,a)},L=n=>{let i=e(()=>S.constructors[0]);var a=c(),s=o(a);w(s,()=>r(i),(e,t)=>{C(t(e,{get data(){return E()},get form(){return S.form},get params(){return S.page.params}}),e=>T()[0]=e,()=>T()?.[0])}),t(n,a)};u(F,e=>{S.constructors[1]?e(I):e(L,-1)});var R=x(F,2),z=e=>{var a=A(),o=i(a),s=e=>{var i=_();f(()=>n(i,r(M))),t(e,i)};u(o,e=>{r(k)&&e(s)}),h(a),t(e,a)};u(R,e=>{r(O)&&e(z)}),t(v,P),m()}var N=S(M),P=[()=>O(()=>import(`../nodes/0.DNlVkUTR.js`),__vite__mapDeps([0,1,2,3,4,5,6,7]),import.meta.url),()=>O(()=>import(`../nodes/1.C8vYwV-q.js`),__vite__mapDeps([8,1,2,9,10,4]),import.meta.url),()=>O(()=>import(`../nodes/2.Dn01jiUT.js`),__vite__mapDeps([11,1,10,4,2,3,5,6,9,12,13]),import.meta.url),()=>O(()=>import(`../nodes/3.CFC3g_PW.js`),__vite__mapDeps([14,1,10,4,2,3,5,12,15]),import.meta.url),()=>O(()=>import(`../nodes/4.CdEG0mau.js`),__vite__mapDeps([16,1,10,4,2,5,12,15]),import.meta.url)],F=[],I={"/":[2],"/callback":[3],"/pair":[4]},L={handleError:(({error:e})=>{console.error(e)}),reroute:(()=>{}),transport:{}},R=Object.fromEntries(Object.entries(L.transport).map(([e,t])=>[e,t.decode])),z=Object.fromEntries(Object.entries(L.transport).map(([e,t])=>[e,t.encode])),B=!1,V=(e,t)=>R[e](t),H=()=>O(()=>import(`../chunks/Bjy-W4x2.js`).then(e=>e.default),[],import.meta.url);export{V as decode,R as decoders,I as dictionary,z as encoders,H as get_error_template,B as hash,L as hooks,k as matchers,P as nodes,N as root,F as server_loads};
1
+ const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["../nodes/0.DyTUEcgT.js","../chunks/CirtoWSJ.js","../chunks/xihTtKlq.js","../chunks/BS_wiDNx.js","../chunks/mWKhuXx1.js","../chunks/B3_FWG8N.js","../chunks/DZvbIz22.js","../assets/0.B8qIzvu4.css","../nodes/1.0Sp3BLHM.js","../chunks/CU6m3OBu.js","../chunks/BAh8Fpli.js","../nodes/2.BkRttGcw.js","../chunks/VSK6LhsJ.js","../nodes/3.CTqAObMQ.js","../chunks/CRHDxlx_.js","../nodes/4.BPSJjhC0.js"])))=>i.map(i=>d[i]);
2
+ import{$ as e,D as t,E as n,F as r,G as i,H as a,K as o,L as s,O as c,Q as l,T as u,U as d,V as f,X as p,ct as m,ht as h,i as g,j as _,k as v,lt as y,n as b,q as x,r as S,s as C,y as w}from"../chunks/CirtoWSJ.js";import"../chunks/xihTtKlq.js";var T=`modulepreload`,E=function(e,t){return new URL(e,t).href},D={},O=function(e,t,n){let r=Promise.resolve();if(t&&t.length>0){let e=document.getElementsByTagName(`link`),i=document.querySelector(`meta[property=csp-nonce]`),a=i?.nonce||i?.getAttribute(`nonce`);function o(e){return Promise.all(e.map(e=>Promise.resolve(e).then(e=>({status:`fulfilled`,value:e}),e=>({status:`rejected`,reason:e}))))}function s(e){return import.meta.resolve?import.meta.resolve(e):new URL(e,import.meta.url).href}r=o(t.map(t=>{if(t=E(t,n),t=s(t),t in D)return;D[t]=!0;let r=t.endsWith(`.css`);for(let n=e.length-1;n>=0;n--){let i=e[n];if(i.href===t&&(!r||i.rel===`stylesheet`))return}let i=document.createElement(`link`);if(i.rel=r?`stylesheet`:T,r||(i.as=`script`),i.crossOrigin=``,i.href=t,a&&i.setAttribute(`nonce`,a),document.head.appendChild(i),r)return new Promise((e,n)=>{i.addEventListener(`load`,e),i.addEventListener(`error`,()=>n(Error(`Unable to preload CSS for ${t}`)))})}))}function i(e){let t=new Event(`vite:preloadError`,{cancelable:!0});if(t.payload=e,window.dispatchEvent(t),!t.defaultPrevented)throw e}return r.then(t=>{for(let e of t||[])e.status===`rejected`&&i(e.reason);return e().catch(i)})},k={},A=v(`<div id="svelte-announcer" aria-live="assertive" aria-atomic="true" style="position: absolute; left: 0; top: 0; clip: rect(0 0 0 0); clip-path: inset(50%); overflow: hidden; white-space: nowrap; width: 1px; height: 1px"><!></div>`),j=v(`<!> <!>`,1);function M(v,S){y(S,!0);let T=g(S,`components`,23,()=>[]),E=g(S,`data_0`,3,null),D=g(S,`data_1`,3,null);d(()=>S.stores.page.set(S.page)),a(()=>{S.stores,S.page,S.constructors,T(),S.form,E(),D(),S.stores.page.notify()});let O=l(!1),k=l(!1),M=l(null);b(()=>{let e=S.stores.page.subscribe(()=>{r(O)&&(p(k,!0),s().then(()=>{p(M,document.title||`untitled page`,!0)}))});return p(O,!0),e});let N=e(()=>S.constructors[1]);var P=j(),F=o(P),I=n=>{let i=e(()=>S.constructors[0]);var a=c(),s=o(a);w(s,()=>r(i),(e,n)=>{C(n(e,{get data(){return E()},get form(){return S.form},get params(){return S.page.params},children:(e,n)=>{var i=c(),a=o(i);w(a,()=>r(N),(e,t)=>{C(t(e,{get data(){return D()},get form(){return S.form},get params(){return S.page.params}}),e=>T()[1]=e,()=>T()?.[1])}),t(e,i)},$$slots:{default:!0}}),e=>T()[0]=e,()=>T()?.[0])}),t(n,a)},L=n=>{let i=e(()=>S.constructors[0]);var a=c(),s=o(a);w(s,()=>r(i),(e,t)=>{C(t(e,{get data(){return E()},get form(){return S.form},get params(){return S.page.params}}),e=>T()[0]=e,()=>T()?.[0])}),t(n,a)};u(F,e=>{S.constructors[1]?e(I):e(L,-1)});var R=x(F,2),z=e=>{var a=A(),o=i(a),s=e=>{var i=_();f(()=>n(i,r(M))),t(e,i)};u(o,e=>{r(k)&&e(s)}),h(a),t(e,a)};u(R,e=>{r(O)&&e(z)}),t(v,P),m()}var N=S(M),P=[()=>O(()=>import(`../nodes/0.DyTUEcgT.js`),__vite__mapDeps([0,1,2,3,4,5,6,7]),import.meta.url),()=>O(()=>import(`../nodes/1.0Sp3BLHM.js`),__vite__mapDeps([8,1,2,9,10,4]),import.meta.url),()=>O(()=>import(`../nodes/2.BkRttGcw.js`),__vite__mapDeps([11,1,10,4,2,3,5,6,9,12]),import.meta.url),()=>O(()=>import(`../nodes/3.CTqAObMQ.js`),__vite__mapDeps([13,1,10,4,2,3,5,12,14]),import.meta.url),()=>O(()=>import(`../nodes/4.BPSJjhC0.js`),__vite__mapDeps([15,1,10,4,2,5,12,14]),import.meta.url)],F=[],I={"/":[2],"/callback":[3],"/pair":[4]},L={handleError:(({error:e})=>{console.error(e)}),reroute:(()=>{}),transport:{}},R=Object.fromEntries(Object.entries(L.transport).map(([e,t])=>[e,t.decode])),z=Object.fromEntries(Object.entries(L.transport).map(([e,t])=>[e,t.encode])),B=!1,V=(e,t)=>R[e](t),H=()=>O(()=>import(`../chunks/Bjy-W4x2.js`).then(e=>e.default),[],import.meta.url);export{V as decode,R as decoders,I as dictionary,z as encoders,H as get_error_template,B as hash,L as hooks,k as matchers,P as nodes,N as root,F as server_loads};
@@ -0,0 +1 @@
1
+ import{n as e,s as t}from"../chunks/BAh8Fpli.js";export{t as load_css,e as start};
@@ -1 +1 @@
1
- import{D as e,H as t,K as n,O as r,b as i,ct as a,lt as o,nt as s,rt as c,vt as l}from"../chunks/CirtoWSJ.js";import"../chunks/xihTtKlq.js";import{a as u,c as d,l as f,s as p,u as m}from"../chunks/Cg61rval.js";import{S as h,b as g,x as _}from"../chunks/BXqRSpcY.js";import{n as v,t as y}from"../chunks/BCyOt2Hb.js";var b=l({load:()=>S,prerender:()=>!0,ssr:()=>!1}),x=g({env:_(h(),h())});async function S({fetch:e}){let t=await e(`/api/config`);if(!t.ok)throw Error(`Failed to load Sprocket runtime config.`);let n=x.safeParse(await t.json());if(!n.success)throw Error(`Failed to load Sprocket runtime config.`);return n.data}function C(l,h){o(h,!0);let g=()=>c(p,`$convexAuthRetryVersion`,x),_=()=>c(u,`$convexAuthLoading`,x),b=()=>c(d,`$convexAuthUserId`,x),[x,S]=s(),C=()=>h.data.env.PUBLIC_CONVEX_URL,w=v(C()||`https://invalid.invalid`,{disabled:!C(),unsavedChangesWarning:!1});y(()=>(g(),{isLoading:_(),isAuthenticated:!!b(),fetchAccessToken:f})),t(()=>{C()&&m(w)});var T=r(),E=n(T);i(E,()=>h.children),e(l,T),a(),S()}export{C as component,b as universal};
1
+ import{D as e,H as t,K as n,O as r,b as i,ct as a,lt as o,nt as s,rt as c,vt as l}from"../chunks/CirtoWSJ.js";import"../chunks/xihTtKlq.js";import{a as u,c as d,l as f,s as p,u as m}from"../chunks/BS_wiDNx.js";import{S as h,b as g,x as _}from"../chunks/B3_FWG8N.js";import{n as v,t as y}from"../chunks/DZvbIz22.js";var b=l({load:()=>S,prerender:()=>!0,ssr:()=>!1}),x=g({env:_(h(),h())});async function S({fetch:e}){let t=await e(`/api/config`);if(!t.ok)throw Error(`Failed to load Sprocket runtime config.`);let n=x.safeParse(await t.json());if(!n.success)throw Error(`Failed to load Sprocket runtime config.`);return n.data}function C(l,h){o(h,!0);let g=()=>c(p,`$convexAuthRetryVersion`,x),_=()=>c(u,`$convexAuthLoading`,x),b=()=>c(d,`$convexAuthUserId`,x),[x,S]=s(),C=()=>h.data.env.PUBLIC_CONVEX_URL,w=v(C()||`https://invalid.invalid`,{disabled:!C(),unsavedChangesWarning:!1});y(()=>(g(),{isLoading:_(),isAuthenticated:!!b(),fetchAccessToken:f})),t(()=>{C()&&m(w)});var T=r(),E=n(T);i(E,()=>h.children),e(l,T),a(),S()}export{C as component,b as universal};
@@ -1 +1 @@
1
- import{D as e,E as t,G as n,K as r,V as i,ct as a,ht as o,k as s,lt as c,q as l}from"../chunks/CirtoWSJ.js";import"../chunks/xihTtKlq.js";import{t as u}from"../chunks/8ja8ideL.js";var d=s(`<h1> </h1> <p> </p>`,1);function f(s,f){c(f,!0);var p=d(),m=r(p),h=n(m,!0);o(m);var g=l(m,2),_=n(g,!0);o(g),i(()=>{t(h,u.status),t(_,u.error?.message)}),e(s,p),a()}export{f as component};
1
+ import{D as e,E as t,G as n,K as r,V as i,ct as a,ht as o,k as s,lt as c,q as l}from"../chunks/CirtoWSJ.js";import"../chunks/xihTtKlq.js";import{t as u}from"../chunks/CU6m3OBu.js";var d=s(`<h1> </h1> <p> </p>`,1);function f(s,f){c(f,!0);var p=d(),m=r(p),h=n(m,!0);o(m);var g=l(m,2),_=n(g,!0);o(g),i(()=>{t(h,u.status),t(_,u.error?.message)}),e(s,p),a()}export{f as component};