@banou/stub 0.0.37 → 0.0.39

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 +1 @@
1
- import{a as e,c as t,d as n,f as r,i,l as a,n as o,o as s,p as c,r as l,s as u,t as d,u as f}from"./worker-DaPMPTTv.js";export{d as exportAnswers,o as exportAsks,l as exportStore,i as graphCounts,e as handleRequest,s as registerRemoteSource,u as remotePicker,t as remotePlayer,a as selectRemoteRelease,f as setUserKeys,n as traceAnswer,r as traceGraph,c as unregisterRemoteSource};
1
+ import{a as e,c as t,d as n,f as r,i,l as a,n as o,o as s,p as c,r as l,s as u,t as d,u as f}from"./worker-CdIDYmal.js";export{d as exportAnswers,o as exportAsks,l as exportStore,i as graphCounts,e as handleRequest,s as registerRemoteSource,u as remotePicker,t as remotePlayer,a as selectRemoteRelease,f as setUserKeys,n as traceAnswer,r as traceGraph,c as unregisterRemoteSource};
@@ -1 +1 @@
1
- import{a as e}from"./build-CQLpK1BK.js";import{t}from"./fetch-DAk81ulb.js";function n(e){return new Worker(new URL(`index-D_Wk5pTR.js`,import.meta.url).href,{type:`module`,name:e?.name})}var r=`banou26/stub`,i=`season-seed`,a=e=>`https://github.com/${r}/releases/download/${i}/${e}`,o=e=>e.startsWith(a(``)),s=`export`,c=`store`,l=`answers`,u=(e,t,n)=>{try{return new URL(e,n).searchParams.getAll(s).includes(t)}catch{return!1}},d=(e,t)=>u(e,c,t),f=(e,t)=>u(e,l,t),p=`query`,m=(e,t)=>u(e,p,t),h=`store`,g=`legacy`,_=(e,t)=>{try{return new URL(e,t).searchParams.get(h)===g}catch{return!1}},v=`trace`,y=(e,t)=>{try{return new URL(e,t).searchParams.getAll(v).includes(`1`)}catch{return!1}},b=`seed`,x=(e,t)=>{try{return new URL(e,t).searchParams.getAll(b).includes(`off`)}catch{return!1}},S=e=>typeof e==`string`?e:e instanceof URL?e.href:e.url,C=(e,t)=>x(e)&&o(S(t)),w=new n;e({fetch:(e,n)=>C(location.href,e)?new Response(null,{status:404,statusText:`the season seed is switched off for this page`}):t(e,n)},{transport:w,key:`fetch`});var{handleRequest:T,setUserKeys:E,registerRemoteSource:D,unregisterRemoteSource:O,remotePicker:k,remotePlayer:A,selectRemoteRelease:j,exportStore:M,exportAnswers:N,exportAsks:P,graphCounts:F,traceGraph:I,traceAnswer:L,setGraphEnabled:R,setReadStore:z}=await e({},{transport:w,key:`yoga`}),B=new URLSearchParams(location.search);_(location.href)?R(B.has(`graph`)):await z(`graph`);export{y as _,T as a,A as c,L as d,I as f,m as g,d as h,F as i,j as l,f as m,P as n,D as o,O as p,M as r,k as s,N as t,E as u};
1
+ import{a as e}from"./build-CQLpK1BK.js";import{t}from"./fetch-DAk81ulb.js";function n(e){return new Worker(new URL(`index-BYXKnZ5C.js`,import.meta.url).href,{type:`module`,name:e?.name})}var r=`banou26/stub`,i=`season-seed`,a=e=>`https://github.com/${r}/releases/download/${i}/${e}`,o=e=>e.startsWith(a(``)),s=`export`,c=`store`,l=`answers`,u=(e,t,n)=>{try{return new URL(e,n).searchParams.getAll(s).includes(t)}catch{return!1}},d=(e,t)=>u(e,c,t),f=(e,t)=>u(e,l,t),p=`query`,m=(e,t)=>u(e,p,t),h=`store`,g=`legacy`,_=(e,t)=>{try{return new URL(e,t).searchParams.get(h)===g}catch{return!1}},v=`trace`,y=(e,t)=>{try{return new URL(e,t).searchParams.getAll(v).includes(`1`)}catch{return!1}},b=`seed`,x=(e,t)=>{try{return new URL(e,t).searchParams.getAll(b).includes(`off`)}catch{return!1}},S=e=>typeof e==`string`?e:e instanceof URL?e.href:e.url,C=(e,t)=>x(e)&&o(S(t)),w=new n;e({fetch:(e,n)=>C(location.href,e)?new Response(null,{status:404,statusText:`the season seed is switched off for this page`}):t(e,n)},{transport:w,key:`fetch`});var{handleRequest:T,setUserKeys:E,registerRemoteSource:D,unregisterRemoteSource:O,remotePicker:k,remotePlayer:A,selectRemoteRelease:j,exportStore:M,exportAnswers:N,exportAsks:P,graphCounts:F,traceGraph:I,traceAnswer:L,setGraphEnabled:R,setReadStore:z}=await e({},{transport:w,key:`yoga`}),B=new URLSearchParams(location.search);_(location.href)?R(B.has(`graph`)):await z(`graph`);export{y as _,T as a,A as c,L as d,I as f,m as g,d as h,F as i,j as l,f as m,P as n,D as o,O as p,M as r,k as s,N as t,E as u};
package/build/embed.html CHANGED
@@ -5,7 +5,7 @@
5
5
  <meta name="viewport" content="width=device-width, initial-scale=1.0" />
6
6
  <title>Stub - Embed</title>
7
7
  <style>*{box-sizing:border-box;-webkit-user-select:none;user-select:none;margin:0;padding:0}::selection{background:0 0}::selection{background:0 0}html,body{-webkit-tap-highlight-color:transparent;background:#000;width:100%;height:100%;overflow:hidden}#app,#app>div{width:100%;height:100%}#app>div>iframe{width:100%!important;height:100%!important;aspect-ratio:unset!important;border-radius:0!important}</style>
8
- <script type="module" crossorigin src="./assets/embed-9cqFTCaQ.js"></script>
8
+ <script type="module" crossorigin src="./assets/embed-6scrr4n5.js"></script>
9
9
  <link rel="modulepreload" crossorigin href="./assets/embed-title-CKGXRNB_.js">
10
10
  <link rel="modulepreload" crossorigin href="./assets/build-CQLpK1BK.js">
11
11
  <link rel="modulepreload" crossorigin href="./assets/api-CtiKFcK3-DDpRQueA.js">
package/build/index.html CHANGED
@@ -4,13 +4,13 @@
4
4
  <meta charset="UTF-8" />
5
5
  <meta name="viewport" content="width=device-width, initial-scale=1.0" />
6
6
  <title>Stub</title>
7
- <script type="module" crossorigin src="/assets/main-Dr2hXDOD.js"></script>
7
+ <script type="module" crossorigin src="/assets/main-Bfw406Nl.js"></script>
8
8
  <link rel="modulepreload" crossorigin href="/assets/embed-title-CKGXRNB_.js">
9
9
  <link rel="modulepreload" crossorigin href="/assets/build-CQLpK1BK.js">
10
10
  <link rel="modulepreload" crossorigin href="/assets/api-CtiKFcK3-DDpRQueA.js">
11
11
  <link rel="modulepreload" crossorigin href="/assets/account-BgpTCUUd.js">
12
12
  <link rel="modulepreload" crossorigin href="/assets/fetch-DAk81ulb.js">
13
- <link rel="modulepreload" crossorigin href="/assets/worker-DaPMPTTv.js">
13
+ <link rel="modulepreload" crossorigin href="/assets/worker-CdIDYmal.js">
14
14
  <link rel="modulepreload" crossorigin href="/assets/remote-CVVOdyaq.js">
15
15
  <link rel="stylesheet" crossorigin href="/assets/main-CSyC6ryz.css">
16
16
  </head>