0

Bundle embedded web app

This commit is contained in:
Owncast 2023-04-22 18:55:25 +00:00
parent 70e4d84c42
commit ff01663044
100 changed files with 81 additions and 80 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

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

View File

@ -1 +0,0 @@
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5111],{81643:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var o=function(e){return e?"function"==typeof e?e():e:null}},55241:function(e,t,n){"use strict";var o=n(87462),r=n(67294),l=n(53124),i=n(94199),a=n(81643),c=n(33603),s=function(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&0>t.indexOf(o)&&(n[o]=e[o]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var r=0,o=Object.getOwnPropertySymbols(e);r<o.length;r++)0>t.indexOf(o[r])&&Object.prototype.propertyIsEnumerable.call(e,o[r])&&(n[o[r]]=e[o[r]]);return n},u=function(e){var t=e.title,n=e.content,o=e.prefixCls;return t||n?r.createElement(r.Fragment,null,t&&r.createElement("div",{className:"".concat(o,"-title")},(0,a.Z)(t)),r.createElement("div",{className:"".concat(o,"-inner-content")},(0,a.Z)(n))):null},p=r.forwardRef(function(e,t){var n=e.prefixCls,a=e.title,p=e.content,d=e._overlay,f=e.placement,m=e.trigger,y=e.mouseEnterDelay,v=e.mouseLeaveDelay,b=e.overlayStyle,g=s(e,["prefixCls","title","content","_overlay","placement","trigger","mouseEnterDelay","mouseLeaveDelay","overlayStyle"]),x=r.useContext(l.E_).getPrefixCls,_=x("popover",n),h=x();return r.createElement(i.Z,(0,o.Z)({placement:void 0===f?"top":f,trigger:void 0===m?"hover":m,mouseEnterDelay:void 0===y?.1:y,mouseLeaveDelay:void 0===v?.1:v,overlayStyle:void 0===b?{}:b},g,{prefixCls:_,ref:t,overlay:d||r.createElement(u,{prefixCls:_,title:a,content:p}),transitionName:(0,c.mL)(h,"zoom-big",g.transitionName)}))});t.Z=p},85111:function(e,t,n){"use strict";n.r(t),n.d(t,{NotifyReminderPopup:function(){return p}});var o=n(85893),r=n(55241),l=n(67294),i=n(5152),a=n.n(i),c=n(40862),s=n.n(c);let u=a()(()=>Promise.resolve().then(n.t.bind(n,40753,23)),{loadableGenerated:{webpack:()=>[40753]},ssr:!1}),p=e=>{let{children:t,open:n,notificationClicked:i,notificationClosed:a}=e,[c,p]=(0,l.useState)(n),[d,f]=(0,l.useState)(!1);(0,l.useEffect)(()=>{p(n)},[n]),(0,l.useEffect)(()=>{f(!0)},[]);let m=(0,o.jsx)("div",{className:s().title,children:"Stay updated!"}),y=e=>{e.stopPropagation(),i()},v=e=>{e.stopPropagation(),p(!1),a()},b=(0,o.jsxs)("div",{onClick:y,onKeyDown:y,role:"menuitem",tabIndex:0,children:[(0,o.jsx)("button",{type:"button",className:s().closebutton,onClick:v,children:(0,o.jsx)(u,{})}),(0,o.jsxs)("div",{className:s().contentbutton,children:["Click and never miss",(0,o.jsx)("br",{}),"future streams!"]})]});return d&&(0,o.jsx)(r.Z,{placement:"topRight",defaultOpen:c,open:c,destroyTooltipOnHide:!0,title:m,content:b,overlayInnerStyle:{borderRadius:"5px",cursor:"pointer",paddingTop:"10px",paddingRight:"10px",fontSize:"14px"},color:s().popupBackgroundColor,getPopupContainer:e=>e,children:t})}},40862:function(e){e.exports={popupBackgroundColor:"var(--theme-color-components-primary-button-background)",contentbutton:"NotifyReminderPopup_contentbutton__a_tsp",closebutton:"NotifyReminderPopup_closebutton__GVcP3",title:"NotifyReminderPopup_title__Dm9Iy"}}}]);

View File

@ -0,0 +1 @@
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5111],{85111:function(e,t,o){"use strict";o.r(t),o.d(t,{NotifyReminderPopup:function(){return l}});var n=o(85893),r=o(55241),i=o(67294),p=o(5152),s=o.n(p),u=o(40862),a=o.n(u);let c=s()(()=>Promise.resolve().then(o.t.bind(o,40753,23)),{loadableGenerated:{webpack:()=>[40753]},ssr:!1}),l=e=>{let{children:t,open:o,notificationClicked:p,notificationClosed:s}=e,[u,l]=(0,i.useState)(o),[d,b]=(0,i.useState)(!1);(0,i.useEffect)(()=>{l(o)},[o]),(0,i.useEffect)(()=>{b(!0)},[]);let m=(0,n.jsx)("div",{className:a().title,children:"Stay updated!"}),f=e=>{e.stopPropagation(),p()},_=e=>{e.stopPropagation(),l(!1),s()},x=(0,n.jsxs)("div",{onClick:f,onKeyDown:f,role:"menuitem",tabIndex:0,children:[(0,n.jsx)("button",{type:"button",className:a().closebutton,onClick:_,children:(0,n.jsx)(c,{})}),(0,n.jsxs)("div",{className:a().contentbutton,children:["Click and never miss",(0,n.jsx)("br",{}),"future streams!"]})]});return d&&(0,n.jsx)(r.Z,{placement:"topRight",defaultOpen:u,open:u,destroyTooltipOnHide:!0,title:m,content:x,overlayInnerStyle:{borderRadius:"5px",cursor:"pointer",paddingTop:"10px",paddingRight:"10px",fontSize:"14px"},color:a().popupBackgroundColor,getPopupContainer:e=>e,children:t})}},40862:function(e){e.exports={popupBackgroundColor:"var(--theme-color-components-primary-button-background)",contentbutton:"NotifyReminderPopup_contentbutton__a_tsp",closebutton:"NotifyReminderPopup_closebutton__GVcP3",title:"NotifyReminderPopup_title__Dm9Iy"}}}]);

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

View File

@ -1 +0,0 @@
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1774],{57838:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(97685),u=n(67294);function i(){var e=u.useReducer(function(e){return e+1},0);return(0,r.Z)(e,2)[1]}},25378:function(e,t,n){"use strict";var r=n(67294),u=n(57838),i=n(24308);t.Z=function(){var e=!(arguments.length>0)||void 0===arguments[0]||arguments[0],t=(0,r.useRef)({}),n=(0,u.Z)();return(0,r.useEffect)(function(){var r=i.ZP.subscribe(function(r){t.current=r,e&&n()});return function(){return i.ZP.unsubscribe(r)}},[]),t.current}},97183:function(e,t,n){"use strict";var r=n(2897),u=n(7293),i=r.ZP;i.Header=r.h4,i.Footer=r.$_,i.Content=r.VY,i.Sider=u.Z,t.Z=i},93645:function(e,t,n){"use strict";n.d(t,{u:function(){return u}});var r={ceil:Math.ceil,round:Math.round,floor:Math.floor,trunc:function(e){return e<0?Math.ceil(e):Math.floor(e)}};function u(e){return e?r[e]:r.trunc}},59910:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(19013),u=n(13882);function i(e,t){return(0,u.Z)(2,arguments),(0,r.Z)(e).getTime()-(0,r.Z)(t).getTime()}},11699:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(59910),u=n(13882),i=n(93645);function o(e,t,n){(0,u.Z)(2,arguments);var o=(0,r.Z)(e,t)/1e3;return(0,i.u)(null==n?void 0:n.roundingMethod)(o)}},23426:function(e,t,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/admin/logs",function(){return n(97525)}])},86177:function(e,t,n){"use strict";n.d(t,{o:function(){return d}});var r=n(85893);n(67294);var u=n(85818),i=n(20550),o=n(54398),c=n(53731),s=n(58091);let{Title:l}=u.Z;function a(e,t){let n="black";return"warning"===t.level?n="orange":"error"===t.level&&(n="red"),(0,r.jsx)(i.Z,{color:n,children:e})}function f(e){return(0,r.jsx)(c.Z,{children:e})}let d=e=>{let{logs:t,pageSize:n}=e;return(null==t?void 0:t.length)?(0,r.jsxs)("div",{className:"logs-section",children:[(0,r.jsx)(l,{children:"Logs"}),(0,r.jsx)(o.Z,{size:"middle",dataSource:t,columns:[{title:"Level",dataIndex:"level",key:"level",filters:[{text:"Info",value:"info"},{text:"Warning",value:"warning"},{text:"Error",value:"Error"}],onFilter:(e,t)=>0===t.level.indexOf(e),render:a},{title:"Timestamp",dataIndex:"time",key:"time",render:e=>{let t=new Date(e);return(0,s.Z)(t,"pp P")},sorter:(e,t)=>new Date(e.time).getTime()-new Date(t.time).getTime(),sortDirections:["descend","ascend"],defaultSortOrder:"descend"},{title:"Message",dataIndex:"message",key:"message",render:f}],rowKey:e=>e.time,pagination:{pageSize:n||20}})]}):null}},97525:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return s}});var r=n(85893),u=n(67294),i=n(86177),o=n(81453),c=n(34261);function s(){let[e,t]=(0,u.useState)([]),n=async()=>{try{let e=await (0,o.rQ)(o.sG);t(e)}catch(e){console.log("==== error",e)}};return(0,u.useEffect)(()=>{let e=null;return setInterval(n,5e3),n(),e=setInterval(n,5e3),()=>{clearInterval(e)}},[]),(0,r.jsx)(i.o,{logs:e,pageSize:20})}s.getLayout=function(e){return(0,r.jsx)(c.l,{page:e})}},9008:function(e,t,n){e.exports=n(42636)},11163:function(e,t,n){e.exports=n(96885)}},function(e){e.O(0,[173,5874,2184,2364,4931,5402,5257,1664,8014,5818,9915,4041,3698,3013,4398,7940,5360,8035,4261,9774,2888,179],function(){return e(e.s=23426)}),_N_E=e.O()}]);

View File

@ -1 +1 @@
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9262],{70918:function(e,t,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/admin/upgrade",function(){return n(31358)}])},31358:function(e,t,n){"use strict";n.r(t);var a=n(85893),r=n(67294),l=n(86179),s=n(85818),d=n(54398),i=n(81453),u=n(34261);let{Title:c}=s.Z,o=e=>{let t=Object.values(e);return(0,a.jsx)(d.Z,{dataSource:t,columns:[{title:"Name",dataIndex:"name",key:"name",render:(e,t)=>(0,a.jsx)("a",{href:t.browser_download_url,children:e})},{title:"Size",dataIndex:"size",key:"size",render:e=>"".concat((e/1024/1024).toFixed(2)," MB")}],rowKey:e=>e.id,size:"large",pagination:!1})},_=()=>{let[e,t]=(0,r.useState)({html_url:"",name:"",created_at:null,body:"",assets:[]}),n=async()=>{try{let e=await (0,i.Kt)();t(e)}catch(e){console.log("==== error",e)}};return((0,r.useEffect)(()=>{n()},[]),e)?(0,a.jsxs)("div",{className:"upgrade-page",children:[(0,a.jsx)(c,{level:2,children:(0,a.jsx)("a",{href:e.html_url,children:e.name})}),(0,a.jsx)(c,{level:5,children:new Date(e.created_at).toDateString()}),(0,a.jsx)(l.D,{children:e.body}),(0,a.jsx)("h3",{children:"Downloads"}),(0,a.jsx)(o,{...e.assets})]}):null};_.getLayout=function(e){return(0,a.jsx)(u.l,{page:e})},t.default=_}},function(e){e.O(0,[173,5874,2184,2364,4931,5402,5257,1664,8014,5818,9915,4041,3698,3013,4398,235,8035,4261,9774,2888,179],function(){return e(e.s=70918)}),_N_E=e.O()}]);
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9262],{70918:function(e,t,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/admin/upgrade",function(){return n(31358)}])},31358:function(e,t,n){"use strict";n.r(t);var a=n(85893),r=n(67294),l=n(86179),s=n(85818),d=n(54398),i=n(81453),u=n(34261);let{Title:c}=s.Z,o=e=>{let t=Object.values(e);return(0,a.jsx)(d.Z,{dataSource:t,columns:[{title:"Name",dataIndex:"name",key:"name",render:(e,t)=>(0,a.jsx)("a",{href:t.browser_download_url,children:e})},{title:"Size",dataIndex:"size",key:"size",render:e=>"".concat((e/1024/1024).toFixed(2)," MB")}],rowKey:e=>e.id,size:"large",pagination:!1})},_=()=>{let[e,t]=(0,r.useState)({html_url:"",name:"",created_at:null,body:"",assets:[]}),n=async()=>{try{let e=await (0,i.Kt)();t(e)}catch(e){console.log("==== error",e)}};return((0,r.useEffect)(()=>{n()},[]),e)?(0,a.jsxs)("div",{className:"upgrade-page",children:[(0,a.jsx)(c,{level:2,children:(0,a.jsx)("a",{href:e.html_url,children:e.name})}),(0,a.jsx)(c,{level:5,children:new Date(e.created_at).toDateString()}),(0,a.jsx)(l.D,{children:e.body}),(0,a.jsx)("h3",{children:"Downloads"}),(0,a.jsx)(o,{...e.assets})]}):null};_.getLayout=function(e){return(0,a.jsx)(u.l,{page:e})},t.default=_}},function(e){e.O(0,[173,5874,2184,2301,4931,5402,5257,1664,8014,5818,9915,4041,3698,3013,4398,235,4261,9774,2888,179],function(){return e(e.s=70918)}),_N_E=e.O()}]);

View File

@ -0,0 +1 @@
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8399,7533],{88054:function(n,e,t){(window.__NEXT_P=window.__NEXT_P||[]).push(["/embed/chat/readonly",function(){return t(85466)}])},85466:function(n,e,t){"use strict";t.r(e),t.d(e,{default:function(){return a}});var s=t(85893),i=t(4480),u=t(92093),r=t(44974);function a(){let n=(0,i.sJ)(r.db),e=(0,i.sJ)(r.pH),t=(0,i.sJ)(r.di);return(0,s.jsxs)("div",{children:[(0,s.jsx)(r.me,{}),n&&(0,s.jsx)(u.ChatContainer,{messages:e,usernameToHighlight:n.displayName,chatUserId:n.id,isModerator:!1,showInput:!1,height:"100vh",chatAvailable:t})]})}}},function(n){n.O(0,[1272,8700,2184,2301,2332,8131,5663,6959,2093,9774,2888,179],function(){return n(n.s=88054)}),_N_E=n.O()}]);

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

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