Bundle embedded web app
This commit is contained in:
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
1
static/web/_next/static/chunks/1664-dc59c5bda9ccef97.js
vendored
Normal file
1
static/web/_next/static/chunks/1664-dc59c5bda9ccef97.js
vendored
Normal file
File diff suppressed because one or more lines are too long
1
static/web/_next/static/chunks/2093-8ace373630f99e12.js
vendored
Normal file
1
static/web/_next/static/chunks/2093-8ace373630f99e12.js
vendored
Normal file
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
1
static/web/_next/static/chunks/5402-f5c0d29e7c251f60.js
vendored
Normal file
1
static/web/_next/static/chunks/5402-f5c0d29e7c251f60.js
vendored
Normal file
File diff suppressed because one or more lines are too long
1
static/web/_next/static/chunks/5495.8380ca88d876595a.js
vendored
Normal file
1
static/web/_next/static/chunks/5495.8380ca88d876595a.js
vendored
Normal file
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
1
static/web/_next/static/chunks/5647.eedc6a699da67c8a.js
vendored
Normal file
1
static/web/_next/static/chunks/5647.eedc6a699da67c8a.js
vendored
Normal file
File diff suppressed because one or more lines are too long
1
static/web/_next/static/chunks/5874-060cde12b6fdcaad.js
vendored
Normal file
1
static/web/_next/static/chunks/5874-060cde12b6fdcaad.js
vendored
Normal file
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
1
static/web/_next/static/chunks/7793-e2f31ad14c4706bb.js
vendored
Normal file
1
static/web/_next/static/chunks/7793-e2f31ad14c4706bb.js
vendored
Normal file
File diff suppressed because one or more lines are too long
8
static/web/_next/static/chunks/7941-9a56962b61d7485a.js
vendored
Normal file
8
static/web/_next/static/chunks/7941-9a56962b61d7485a.js
vendored
Normal file
File diff suppressed because one or more lines are too long
1
static/web/_next/static/chunks/8714.601c1529265ab292.js
vendored
Normal file
1
static/web/_next/static/chunks/8714.601c1529265ab292.js
vendored
Normal file
File diff suppressed because one or more lines are too long
@@ -1 +0,0 @@
|
||||
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8714],{68714:function(e,o,l){"use strict";l.r(o),l.d(o,{FollowModal:function(){return h}});var s=l(85893),r=l(26713),t=l(11382),a=l(14670),n=l(79531),i=l(71577),c=l(67294),d=l(13096),u=l.n(d);let h=e=>{let{handleClose:o,account:l,name:d}=e,[h,w]=(0,c.useState)(null),[_,f]=(0,c.useState)(!1),[m,v]=(0,c.useState)(!1),[j,x]=(0,c.useState)(null),g=e=>{w(e),function(e){let o=e.replace(/^@+/,"");return/^(([^<>()[\]\\.,;:\s@"]+(\.[^<>()[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/.test(String(o).toLowerCase())}(e)?f(!0):f(!1)},p=()=>{window.open("https://owncast.online/join-fediverse","_blank")},F=async()=>{if(_){v(!0);try{let e=h.replace(/^@+/,""),l=await fetch("/api/remotefollow",{method:"POST",body:JSON.stringify({account:e})}),s=await l.json();if(s.redirectUrl&&(window.open(s.redirectUrl,"_blank"),o()),!s.success){x(s.message),v(!1);return}if(!s.redirectUrl){x("Unable to follow."),v(!1);return}}catch(e){x(e.message)}v(!1)}};return(0,s.jsxs)(r.Z,{direction:"vertical",id:"follow-modal",children:[(0,s.jsxs)("div",{className:u().header,children:["By following this stream you'll get notified on the Fediverse when it goes live. Now is a great time to",(0,s.jsx)("a",{href:"https://owncast.online/join-fediverse",target:"_blank",rel:"noreferrer",children:"\xa0learn about the Fediverse\xa0"}),"if it's new to you."]}),(0,s.jsxs)(t.Z,{spinning:m,children:[j&&(0,s.jsx)(a.Z,{message:"Follow Error",description:j,type:"error",showIcon:!0}),(0,s.jsxs)("div",{className:u().account,children:[(0,s.jsx)("img",{src:"/logo",alt:"logo",className:u().logo}),(0,s.jsxs)("div",{className:u().username,children:[(0,s.jsx)("div",{className:u().name,children:d}),(0,s.jsx)("div",{children:l})]})]}),(0,s.jsxs)("div",{children:[(0,s.jsx)("div",{className:u().instructions,children:"Enter your username @server to follow"}),(0,s.jsx)(n.Z,{value:h,size:"large",onChange:e=>g(e.target.value),placeholder:"Your fediverse account @account@server",defaultValue:h}),(0,s.jsx)("div",{className:u().footer,children:"You'll be redirected to your Fediverse server and asked to confirm the action."})]}),(0,s.jsxs)(r.Z,{className:u().buttons,children:[(0,s.jsx)(i.Z,{disabled:!_,type:"primary",onClick:F,children:"Follow"}),(0,s.jsx)(i.Z,{onClick:p,type:"primary",children:"Join the Fediverse"})]})]})]})}},13096:function(e){e.exports={header:"FollowModal_header__la1ji",buttons:"FollowModal_buttons__tt4Mc",instructions:"FollowModal_instructions__HiKFF",footer:"FollowModal_footer__AjucH",account:"FollowModal_account__cmHkm",logo:"FollowModal_logo__Ew8xK",username:"FollowModal_username__A_OTw",name:"FollowModal_name__Sf_TP"}}}]);
|
||||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
1
static/web/_next/static/chunks/9266.1450db99611c35f5.js
vendored
Normal file
1
static/web/_next/static/chunks/9266.1450db99611c35f5.js
vendored
Normal file
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
1
static/web/_next/static/chunks/9644.f00a3ced9c666348.js
vendored
Normal file
1
static/web/_next/static/chunks/9644.f00a3ced9c666348.js
vendored
Normal file
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
1
static/web/_next/static/chunks/9915-e3fe15c5e9639447.js
vendored
Normal file
1
static/web/_next/static/chunks/9915-e3fe15c5e9639447.js
vendored
Normal file
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
@@ -1 +1 @@
|
||||
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1774],{57838:function(e,t,n){"use strict";n.d(t,{Z:function(){return u}});var r=n(97685),i=n(67294);function u(){var e=i.useReducer(function(e){return e+1},0);return(0,r.Z)(e,2)[1]}},24308:function(e,t,n){"use strict";n.d(t,{c4:function(){return u}});var r=n(4942),i=n(87462),u=["xxl","xl","lg","md","sm","xs"],c={xs:"(max-width: 575px)",sm:"(min-width: 576px)",md:"(min-width: 768px)",lg:"(min-width: 992px)",xl:"(min-width: 1200px)",xxl:"(min-width: 1600px)"},s=new Map,o=-1,a={};t.ZP={matchHandlers:{},dispatch:function(e){return a=e,s.forEach(function(e){return e(a)}),s.size>=1},subscribe:function(e){return s.size||this.register(),o+=1,s.set(o,e),e(a),o},unsubscribe:function(e){s.delete(e),s.size||this.unregister()},unregister:function(){var e=this;Object.keys(c).forEach(function(t){var n=c[t],r=e.matchHandlers[n];null==r||r.mql.removeListener(null==r?void 0:r.listener)}),s.clear()},register:function(){var e=this;Object.keys(c).forEach(function(t){var n=c[t],u=function(n){var u=n.matches;e.dispatch((0,i.Z)((0,i.Z)({},a),(0,r.Z)({},t,u)))},s=window.matchMedia(n);s.addListener(u),e.matchHandlers[n]={mql:s,listener:u},u(s)})}}},25378:function(e,t,n){"use strict";var r=n(67294),i=n(57838),u=n(24308);t.Z=function(){var e=!(arguments.length>0)||void 0===arguments[0]||arguments[0],t=(0,r.useRef)({}),n=(0,i.Z)();return(0,r.useEffect)(function(){var r=u.ZP.subscribe(function(r){t.current=r,e&&n()});return function(){return u.ZP.unsubscribe(r)}},[]),t.current}},97183:function(e,t,n){"use strict";var r=n(2897),i=n(7293),u=r.ZP;u.Header=r.h4,u.Footer=r.$_,u.Content=r.VY,u.Sider=i.Z,t.Z=u},93645:function(e,t,n){"use strict";n.d(t,{u:function(){return i}});var r={ceil:Math.ceil,round:Math.round,floor:Math.floor,trunc:function(e){return e<0?Math.ceil(e):Math.floor(e)}};function i(e){return e?r[e]:r.trunc}},59910:function(e,t,n){"use strict";n.d(t,{Z:function(){return u}});var r=n(19013),i=n(13882);function u(e,t){return(0,i.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 c}});var r=n(59910),i=n(13882),u=n(93645);function c(e,t,n){(0,i.Z)(2,arguments);var c=(0,r.Z)(e,t)/1e3;return(0,u.u)(null==n?void 0:n.roundingMethod)(c)}},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 f}});var r=n(85893);n(67294);var i=n(85818),u=n(20550),c=n(54398),s=n(53731),o=n(58091);let{Title:a}=i.Z;function l(e,t){let n="black";return"warning"===t.level?n="orange":"error"===t.level&&(n="red"),(0,r.jsx)(u.Z,{color:n,children:e})}function d(e){return(0,r.jsx)(s.Z,{children:e})}let f=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)(a,{children:"Logs"}),(0,r.jsx)(c.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:l},{title:"Timestamp",dataIndex:"time",key:"time",render:e=>{let t=new Date(e);return(0,o.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:d}],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 o}});var r=n(85893),i=n(67294),u=n(86177),c=n(81453),s=n(34261);function o(){let[e,t]=(0,i.useState)([]),n=async()=>{try{let e=await (0,c.rQ)(c.sG);t(e)}catch(e){console.log("==== error",e)}};return(0,i.useEffect)(()=>{let e=null;return setInterval(n,5e3),n(),e=setInterval(n,5e3),()=>{clearInterval(e)}},[]),(0,r.jsx)(u.o,{logs:e,pageSize:20})}o.getLayout=function(e){return(0,r.jsx)(s.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,164,2744,9680,4931,5402,2231,5818,492,7524,9915,4041,3698,3013,4398,8091,9863,8035,4261,9774,2888,179],function(){return e(e.s=23426)}),_N_E=e.O()}]);
|
||||
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1774],{57838:function(e,t,n){"use strict";n.d(t,{Z:function(){return u}});var r=n(97685),i=n(67294);function u(){var e=i.useReducer(function(e){return e+1},0);return(0,r.Z)(e,2)[1]}},24308:function(e,t,n){"use strict";n.d(t,{c4:function(){return u}});var r=n(4942),i=n(87462),u=["xxl","xl","lg","md","sm","xs"],c={xs:"(max-width: 575px)",sm:"(min-width: 576px)",md:"(min-width: 768px)",lg:"(min-width: 992px)",xl:"(min-width: 1200px)",xxl:"(min-width: 1600px)"},s=new Map,o=-1,a={};t.ZP={matchHandlers:{},dispatch:function(e){return a=e,s.forEach(function(e){return e(a)}),s.size>=1},subscribe:function(e){return s.size||this.register(),o+=1,s.set(o,e),e(a),o},unsubscribe:function(e){s.delete(e),s.size||this.unregister()},unregister:function(){var e=this;Object.keys(c).forEach(function(t){var n=c[t],r=e.matchHandlers[n];null==r||r.mql.removeListener(null==r?void 0:r.listener)}),s.clear()},register:function(){var e=this;Object.keys(c).forEach(function(t){var n=c[t],u=function(n){var u=n.matches;e.dispatch((0,i.Z)((0,i.Z)({},a),(0,r.Z)({},t,u)))},s=window.matchMedia(n);s.addListener(u),e.matchHandlers[n]={mql:s,listener:u},u(s)})}}},25378:function(e,t,n){"use strict";var r=n(67294),i=n(57838),u=n(24308);t.Z=function(){var e=!(arguments.length>0)||void 0===arguments[0]||arguments[0],t=(0,r.useRef)({}),n=(0,i.Z)();return(0,r.useEffect)(function(){var r=u.ZP.subscribe(function(r){t.current=r,e&&n()});return function(){return u.ZP.unsubscribe(r)}},[]),t.current}},97183:function(e,t,n){"use strict";var r=n(2897),i=n(7293),u=r.ZP;u.Header=r.h4,u.Footer=r.$_,u.Content=r.VY,u.Sider=i.Z,t.Z=u},93645:function(e,t,n){"use strict";n.d(t,{u:function(){return i}});var r={ceil:Math.ceil,round:Math.round,floor:Math.floor,trunc:function(e){return e<0?Math.ceil(e):Math.floor(e)}};function i(e){return e?r[e]:r.trunc}},59910:function(e,t,n){"use strict";n.d(t,{Z:function(){return u}});var r=n(19013),i=n(13882);function u(e,t){return(0,i.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 c}});var r=n(59910),i=n(13882),u=n(93645);function c(e,t,n){(0,i.Z)(2,arguments);var c=(0,r.Z)(e,t)/1e3;return(0,u.u)(null==n?void 0:n.roundingMethod)(c)}},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 f}});var r=n(85893);n(67294);var i=n(85818),u=n(20550),c=n(54398),s=n(53731),o=n(58091);let{Title:a}=i.Z;function l(e,t){let n="black";return"warning"===t.level?n="orange":"error"===t.level&&(n="red"),(0,r.jsx)(u.Z,{color:n,children:e})}function d(e){return(0,r.jsx)(s.Z,{children:e})}let f=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)(a,{children:"Logs"}),(0,r.jsx)(c.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:l},{title:"Timestamp",dataIndex:"time",key:"time",render:e=>{let t=new Date(e);return(0,o.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:d}],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 o}});var r=n(85893),i=n(67294),u=n(86177),c=n(81453),s=n(34261);function o(){let[e,t]=(0,i.useState)([]),n=async()=>{try{let e=await (0,c.rQ)(c.sG);t(e)}catch(e){console.log("==== error",e)}};return(0,i.useEffect)(()=>{let e=null;return setInterval(n,5e3),n(),e=setInterval(n,5e3),()=>{clearInterval(e)}},[]),(0,r.jsx)(u.o,{logs:e,pageSize:20})}o.getLayout=function(e){return(0,r.jsx)(s.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,2744,7941,4931,5402,5818,1664,7793,8980,4041,3698,3013,4398,8091,9863,8035,4261,9774,2888,179],function(){return e(e.s=23426)}),_N_E=e.O()}]);
|
||||
File diff suppressed because one or more lines are too long
@@ -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,164,2744,9680,4931,5402,2231,5818,492,7524,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,2744,7941,4931,5402,5818,1664,7793,8980,4041,3698,3013,4398,235,8035,4261,9774,2888,179],function(){return e(e.s=70918)}),_N_E=e.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
1
static/web/_next/static/chunks/pages/embed/chat/readonly-f181ac5ed0f8aeea.js
vendored
Normal file
1
static/web/_next/static/chunks/pages/embed/chat/readonly-f181ac5ed0f8aeea.js
vendored
Normal file
File diff suppressed because one or more lines are too long
1
static/web/_next/static/chunks/pages/embed/chat/readwrite-36ae21a901268e0f.js
vendored
Normal file
1
static/web/_next/static/chunks/pages/embed/chat/readwrite-36ae21a901268e0f.js
vendored
Normal file
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
1
static/web/_next/static/chunks/pages/index-b1d1043b8f7b731b.js
vendored
Normal file
1
static/web/_next/static/chunks/pages/index-b1d1043b8f7b731b.js
vendored
Normal file
File diff suppressed because one or more lines are too long
1
static/web/_next/static/chunks/webpack-acbfc456d6e48031.js
vendored
Normal file
1
static/web/_next/static/chunks/webpack-acbfc456d6e48031.js
vendored
Normal file
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
Reference in New Issue
Block a user