build: rebuild the student app (tag type-ahead in the editor)
This commit is contained in:
1
public/assets/presentations-DAFjpO5L.js
Normal file
1
public/assets/presentations-DAFjpO5L.js
Normal file
@@ -0,0 +1 @@
|
||||
import{bh as i,b0 as o}from"./index-07rBQy2o.js";const m="X-Cast-Ticket",t="/_presentations/api/v1",p={publicDeck:e=>o.request(`${t}/public/${encodeURIComponent(e)}`,{auth:!1}),mine:()=>o.request(`${t}/mine`),speaker:e=>o.request(`${t}/mine/${encodeURIComponent(e)}`),deleteMine:e=>o.request(`${t}/mine/${encodeURIComponent(e)}`,{method:"DELETE"}),speakerImage:(e,n)=>o.blob(`${t}/mine/${encodeURIComponent(e)}/images/${encodeURIComponent(n)}`),remote:(e,n)=>o.request(`${t}/mine/${encodeURIComponent(e)}/remote`,{method:"POST",body:n}),castMint:e=>o.request(`${t}/mine/${encodeURIComponent(e)}/cast`,{method:"POST"}),castRevoke:(e,n)=>o.request(`${t}/mine/${encodeURIComponent(e)}/cast`,{method:"DELETE",headers:{[m]:n}}),remoteState:(e,n)=>o.request(`${t}/mine/${encodeURIComponent(e)}/remote/state`,{method:"POST",body:n}),remoteStateBeacon(e,n){const a={Accept:"application/json","Content-Type":"application/json"},c=i.get();c&&(a.Authorization=`Bearer ${c}`);try{fetch(`${t}/mine/${encodeURIComponent(e)}/remote/state`,{method:"POST",headers:a,body:JSON.stringify(n),keepalive:!0}).catch(()=>{})}catch{}}};function s(e){return{auth:!1,headers:{[m]:e}}}const d={deck:e=>o.request(`${t}/cast/deck`,s(e)),image:(e,n)=>o.blob(`${t}/cast/images/${encodeURIComponent(n)}`,s(e)),realtime:e=>o.request(`${t}/cast/realtime`,s(e))};export{d as c,p};
|
||||
Reference in New Issue
Block a user