Bundle embedded web app

This commit is contained in:
Owncast 2024-11-09 22:03:32 +00:00
parent eca880ac1f
commit 99acc19cee
40 changed files with 39 additions and 208 deletions

2
static/web/404.html vendored

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View file

@ -1 +0,0 @@
"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7892],{87892:function(e,t,r){r.r(t),r.d(t,{EmojiPicker:function(){return s}});var u=r(85893),l=r(67294),n=r(57741);let s=e=>{let{onEmojiSelect:t,onCustomEmojiSelect:r,customEmoji:s}=e,i=(0,l.useRef)();return(0,l.useEffect)(()=>{let e=s.map(e=>({emoji:e.name,label:e.name,url:e.url}));(0,n.wU)({rootElement:i.current,custom:e,initialCategory:"custom",showPreview:!1,showRecents:!0}).addEventListener("emoji:select",e=>{e.url?r(e.label,e.url):t(e.emoji)})},[]),(0,u.jsx)("div",{ref:i})}}}]);

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View file

@ -0,0 +1 @@
"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9838],{49838:function(e,t,r){r.r(t),r.d(t,{EmojiPicker:function(){return a}});var u=r(85893),n=r(67294),c=r(6431);function s(e){let t=(0,n.useRef)(null),r=(0,n.useRef)(null);return r.current&&r.current.update(e),(0,n.useEffect)(()=>(r.current=new c.cW({...e,ref:t}),()=>{r.current=null}),[]),n.createElement("div",{ref:t})}var o=r(59223);let a=e=>{let{onEmojiSelect:t,customEmoji:r}=e,[c,a]=(0,n.useState)({});return(0,n.useEffect)(()=>{a([{id:"custom",name:"Custom",emojis:r.map(e=>({id:e.name,name:e.name,skins:[{src:e.url}]}))}]);let e=document.querySelector("em-emoji-picker").shadowRoot,t=new CSSStyleSheet;t.replaceSync(".emoji-mart-emoji {width: 24px;}"),e.adoptedStyleSheets=[t]},[]),(0,u.jsx)(s,{data:o,custom:c,onEmojiSelect:t,categories:["frequent","custom","people","nature","foods","activity","places","objects","symbols","flags"]})}}}]);

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

2
static/web/sw.js vendored

File diff suppressed because one or more lines are too long