From 18537f0554c70f3d46a70d4166db4ac372f3836d Mon Sep 17 00:00:00 2001 From: gabek Date: Wed, 19 Oct 2022 06:41:45 +0000 Subject: [PATCH] Bundle embedded web app --- static/web/404.html | 4 +- static/web/404/index.html | 4 +- .../_buildManifest.js | 2 +- .../_ssgManifest.js | 0 .../static/chunks/2877-6ed259e27dba66ad.js | 1 - .../static/chunks/2877-77357d178da33d53.js | 1 + .../chunks/pages/index-eab1d945fdb120b6.js | 1 + .../chunks/pages/index-ed77ef968d58a400.js | 1 - static/web/admin/access-tokens/index.html | 2 +- static/web/admin/actions/index.html | 2 +- static/web/admin/chat/messages/index.html | 2 +- static/web/admin/chat/users/index.html | 2 +- static/web/admin/config-chat/index.html | 2 +- static/web/admin/config-federation/index.html | 2 +- static/web/admin/config-notify/index.html | 2 +- .../admin/config-public-details/index.html | 2 +- .../admin/config-server-details/index.html | 2 +- .../web/admin/config-social-items/index.html | 2 +- static/web/admin/config-storage/index.html | 2 +- static/web/admin/config-video/index.html | 2 +- .../web/admin/federation/actions/index.html | 2 +- .../web/admin/federation/followers/index.html | 2 +- static/web/admin/hardware-info/index.html | 2 +- static/web/admin/help/index.html | 2 +- static/web/admin/index.html | 2 +- static/web/admin/logs/index.html | 2 +- static/web/admin/stream-health/index.html | 2 +- static/web/admin/upgrade/index.html | 2 +- static/web/admin/viewer-info/index.html | 2 +- static/web/admin/webhooks/index.html | 2 +- static/web/embed/chat/readonly/index.html | 2 +- static/web/embed/chat/readwrite/index.html | 2 +- static/web/embed/video/index.html | 2 +- static/web/img/platformlogos/fediverse.svg | 162 ++++++++++++++++++ static/web/img/platformlogos/matrix.svg | 14 ++ static/web/img/platformlogos/xmpp.svg | 120 +++++++++++++ static/web/index.html | 2 +- 37 files changed, 329 insertions(+), 33 deletions(-) rename static/web/_next/static/{l9OO2mmax4ldiTwMcjQV_ => DF--D2yhXdQ_P53m8JKl-}/_buildManifest.js (85%) rename static/web/_next/static/{l9OO2mmax4ldiTwMcjQV_ => DF--D2yhXdQ_P53m8JKl-}/_ssgManifest.js (100%) delete mode 100644 static/web/_next/static/chunks/2877-6ed259e27dba66ad.js create mode 100644 static/web/_next/static/chunks/2877-77357d178da33d53.js create mode 100644 static/web/_next/static/chunks/pages/index-eab1d945fdb120b6.js delete mode 100644 static/web/_next/static/chunks/pages/index-ed77ef968d58a400.js create mode 100644 static/web/img/platformlogos/fediverse.svg create mode 100644 static/web/img/platformlogos/matrix.svg create mode 100644 static/web/img/platformlogos/xmpp.svg diff --git a/static/web/404.html b/static/web/404.html index 3854bf091..847fdce12 100644 --- a/static/web/404.html +++ b/static/web/404.html @@ -1,4 +1,4 @@ -404: This page could not be found

404

This page could not be found.

\ No newline at end of file + }

404

This page could not be found.

\ No newline at end of file diff --git a/static/web/404/index.html b/static/web/404/index.html index 3854bf091..847fdce12 100644 --- a/static/web/404/index.html +++ b/static/web/404/index.html @@ -1,4 +1,4 @@ -404: This page could not be found

404

This page could not be found.

\ No newline at end of file + }

404

This page could not be found.

\ No newline at end of file diff --git a/static/web/_next/static/l9OO2mmax4ldiTwMcjQV_/_buildManifest.js b/static/web/_next/static/DF--D2yhXdQ_P53m8JKl-/_buildManifest.js similarity index 85% rename from static/web/_next/static/l9OO2mmax4ldiTwMcjQV_/_buildManifest.js rename to static/web/_next/static/DF--D2yhXdQ_P53m8JKl-/_buildManifest.js index 5b373d5e9..5a62b26a5 100644 --- a/static/web/_next/static/l9OO2mmax4ldiTwMcjQV_/_buildManifest.js +++ b/static/web/_next/static/DF--D2yhXdQ_P53m8JKl-/_buildManifest.js @@ -1 +1 @@ -self.__BUILD_MANIFEST=function(s,a,c,e,i,t,d,n,f,h,o,b,m,u,k,r,g,j,p,l,_,w,v,y,I,B,F,A,D){return{__rewrites:{beforeFiles:[],afterFiles:[{source:"/api/:path*"},{source:"/hls/:path*"},{source:"/img/:path*"},{source:"/logo"},{source:"/thumbnail.jpg"}],fallback:[]},"/":[b,m,l,a,s,c,t,d,f,u,k,_,w,v,"static/chunks/8782-f3854e33766b9b1f.js",h,r,y,"static/css/2458f45edc0f6648.css","static/chunks/pages/index-ed77ef968d58a400.js"],"/_error":["static/chunks/pages/_error-f2496e8b9fdedb89.js"],"/admin":[a,s,c,e,i,t,d,n,o,k,"static/chunks/8676-58e1723c87a0d4ec.js","static/chunks/pages/admin-4b93901c94acbbd2.js"],"/admin/access-tokens":[a,s,c,e,i,"static/chunks/pages/admin/access-tokens-5f45e77ab2176f5b.js"],"/admin/actions":[a,s,c,e,"static/chunks/pages/admin/actions-118addb368d4ec1b.js"],"/admin/chat/messages":[I,a,s,c,e,i,d,B,F,"static/chunks/pages/admin/chat/messages-954bab3a08b52e63.js"],"/admin/chat/users":[I,a,s,c,e,i,t,d,B,F,"static/chunks/pages/admin/chat/users-47c7102aec07a1a6.js"],"/admin/config-chat":["static/chunks/pages/admin/config-chat-60cf4efa879df43b.js"],"/admin/config-federation":["static/chunks/1829-b015b4e5cd814fc8.js","static/chunks/pages/admin/config-federation-5c6874737e33a71c.js"],"/admin/config-notify":["static/chunks/pages/admin/config-notify-162a41a161f6bd5a.js"],"/admin/config-public-details":["static/chunks/4ad82c5e-aee7dee7c0ddef1c.js",a,s,c,e,g,"static/chunks/9257-66ad7ef8cc6a6ab9.js",A,"static/chunks/pages/admin/config-public-details-e19f32415e69afa7.js"],"/admin/config-server-details":[D,"static/chunks/pages/admin/config-server-details-16e85ec1ac7c9ccd.js"],"/admin/config-social-items":[a,s,c,e,A,"static/chunks/pages/admin/config-social-items-4259e7e71b649d89.js"],"/admin/config-storage":["static/chunks/5473-ecd3fd646bf241fd.js","static/chunks/pages/admin/config-storage-723faa1b1e9d32cc.js"],"/admin/config-video":[a,s,c,e,D,"static/chunks/4812-9c96405be4c6ddd3.js","static/chunks/pages/admin/config-video-77be2acde5c474cb.js"],"/admin/federation/actions":[a,s,c,e,i,"static/chunks/pages/admin/federation/actions-7358c2d2b36cd0d3.js"],"/admin/federation/followers":[a,s,c,e,i,t,"static/chunks/pages/admin/federation/followers-7c6d59427a9c1b69.js"],"/admin/hardware-info":[j,i,t,n,o,p,g,"static/chunks/pages/admin/hardware-info-2cb40bf1c957de96.js"],"/admin/help":[t,n,v,"static/chunks/5566-d74e7fd6b2bc806a.js","static/chunks/pages/admin/help-635a866be914f510.js"],"/admin/logs":[a,s,c,e,i,k,"static/chunks/pages/admin/logs-edbab10327a430d5.js"],"/admin/stream-health":[j,i,t,n,o,p,"static/chunks/6610-d5a140d3395ae209.js","static/chunks/pages/admin/stream-health-897a4c79610a240c.js"],"/admin/upgrade":[a,s,c,e,"static/chunks/2069-57515c89a2a2ad62.js","static/chunks/pages/admin/upgrade-c7e86ed531f5961a.js"],"/admin/viewer-info":[j,a,s,c,e,i,t,d,n,o,p,g,"static/chunks/pages/admin/viewer-info-b295d263f1fe0bd8.js"],"/admin/webhooks":[a,s,c,e,"static/chunks/pages/admin/webhooks-66e239b373b061f0.js"],"/embed/chat/readonly":[b,m,f,u,h,r,"static/css/1bf43cf3f77e5ddf.css","static/chunks/pages/embed/chat/readonly-d969a04b544dbdb5.js"],"/embed/chat/readwrite":[b,m,s,f,u,h,r,"static/css/e109cf56cf6d95cf.css","static/chunks/pages/embed/chat/readwrite-c3a95f986e268c63.js"],"/embed/video":[l,d,f,_,w,h,y,"static/css/50d4ea374f37f0f9.css","static/chunks/pages/embed/video-767df07d35be7bcf.js"],sortedPages:["/","/_app","/_error","/admin","/admin/access-tokens","/admin/actions","/admin/chat/messages","/admin/chat/users","/admin/config-chat","/admin/config-federation","/admin/config-notify","/admin/config-public-details","/admin/config-server-details","/admin/config-social-items","/admin/config-storage","/admin/config-video","/admin/federation/actions","/admin/federation/followers","/admin/hardware-info","/admin/help","/admin/logs","/admin/stream-health","/admin/upgrade","/admin/viewer-info","/admin/webhooks","/embed/chat/readonly","/embed/chat/readwrite","/embed/video"]}}("static/chunks/3903-97c724332d1a5798.js","static/chunks/8939-2c7dd78bd2286b4d.js","static/chunks/4267-b54c540ce3a8eed5.js","static/chunks/3626-717f7ff16ee717f6.js","static/chunks/8091-d7457a988f3f1d54.js","static/chunks/2944-2a9b62dad629aca2.js","static/chunks/9764-3705d4c034a766fe.js","static/chunks/5315-0e7e74a6fb9533c3.js","static/chunks/9372-9a6ed970911222d5.js","static/chunks/1899-19c3bbd726bf14e2.js","static/chunks/4763-a050d4b408cb3260.js","static/chunks/d3048c20-0576676e1017fabd.js","static/chunks/d2094a0f-ffb6824e6aa18418.js","static/chunks/7364-aaa393afe6bb8ebd.js","static/chunks/2429-38af9f180f370b65.js","static/chunks/2382-db0487c02624c136.js","static/chunks/7910-c80aab5f0058b5c3.js","static/chunks/3fff1979-612c6162f1b345ff.js","static/chunks/2139-c72b3a851c3b6fc9.js","static/chunks/d6e1aeb5-e5a704c6afec0fd3.js","static/css/7c735c05af084bb2.css","static/chunks/29-efb8248317a52098.js","static/chunks/1082-c86716156ee6f510.js","static/chunks/2854-adab6ebb159dfcfb.js","static/chunks/29107295-4a69275373f23f88.js","static/chunks/9189-200a9342100c92dd.js","static/chunks/9640-e282810d6fb4f58d.js","static/chunks/2877-6ed259e27dba66ad.js","static/chunks/3286-a15aa91d3d2fc97f.js"),self.__BUILD_MANIFEST_CB&&self.__BUILD_MANIFEST_CB(); \ No newline at end of file +self.__BUILD_MANIFEST=function(s,a,c,e,i,t,n,d,f,h,o,b,m,u,k,r,g,j,p,l,_,w,v,y,I,B,F,A,D){return{__rewrites:{beforeFiles:[],afterFiles:[{source:"/api/:path*"},{source:"/hls/:path*"},{source:"/img/:path*"},{source:"/logo"},{source:"/thumbnail.jpg"}],fallback:[]},"/":[b,m,l,a,s,c,t,n,f,u,k,_,w,v,"static/chunks/8782-f3854e33766b9b1f.js",h,r,y,"static/css/2458f45edc0f6648.css","static/chunks/pages/index-eab1d945fdb120b6.js"],"/_error":["static/chunks/pages/_error-f2496e8b9fdedb89.js"],"/admin":[a,s,c,e,i,t,n,d,o,k,"static/chunks/8676-58e1723c87a0d4ec.js","static/chunks/pages/admin-4b93901c94acbbd2.js"],"/admin/access-tokens":[a,s,c,e,i,"static/chunks/pages/admin/access-tokens-5f45e77ab2176f5b.js"],"/admin/actions":[a,s,c,e,"static/chunks/pages/admin/actions-118addb368d4ec1b.js"],"/admin/chat/messages":[I,a,s,c,e,i,n,B,F,"static/chunks/pages/admin/chat/messages-954bab3a08b52e63.js"],"/admin/chat/users":[I,a,s,c,e,i,t,n,B,F,"static/chunks/pages/admin/chat/users-47c7102aec07a1a6.js"],"/admin/config-chat":["static/chunks/pages/admin/config-chat-60cf4efa879df43b.js"],"/admin/config-federation":["static/chunks/1829-b015b4e5cd814fc8.js","static/chunks/pages/admin/config-federation-5c6874737e33a71c.js"],"/admin/config-notify":["static/chunks/pages/admin/config-notify-162a41a161f6bd5a.js"],"/admin/config-public-details":["static/chunks/4ad82c5e-aee7dee7c0ddef1c.js",a,s,c,e,g,"static/chunks/9257-66ad7ef8cc6a6ab9.js",A,"static/chunks/pages/admin/config-public-details-e19f32415e69afa7.js"],"/admin/config-server-details":[D,"static/chunks/pages/admin/config-server-details-16e85ec1ac7c9ccd.js"],"/admin/config-social-items":[a,s,c,e,A,"static/chunks/pages/admin/config-social-items-4259e7e71b649d89.js"],"/admin/config-storage":["static/chunks/5473-ecd3fd646bf241fd.js","static/chunks/pages/admin/config-storage-723faa1b1e9d32cc.js"],"/admin/config-video":[a,s,c,e,D,"static/chunks/4812-9c96405be4c6ddd3.js","static/chunks/pages/admin/config-video-77be2acde5c474cb.js"],"/admin/federation/actions":[a,s,c,e,i,"static/chunks/pages/admin/federation/actions-7358c2d2b36cd0d3.js"],"/admin/federation/followers":[a,s,c,e,i,t,"static/chunks/pages/admin/federation/followers-7c6d59427a9c1b69.js"],"/admin/hardware-info":[j,i,t,d,o,p,g,"static/chunks/pages/admin/hardware-info-2cb40bf1c957de96.js"],"/admin/help":[t,d,v,"static/chunks/5566-d74e7fd6b2bc806a.js","static/chunks/pages/admin/help-635a866be914f510.js"],"/admin/logs":[a,s,c,e,i,k,"static/chunks/pages/admin/logs-edbab10327a430d5.js"],"/admin/stream-health":[j,i,t,d,o,p,"static/chunks/6610-d5a140d3395ae209.js","static/chunks/pages/admin/stream-health-897a4c79610a240c.js"],"/admin/upgrade":[a,s,c,e,"static/chunks/2069-57515c89a2a2ad62.js","static/chunks/pages/admin/upgrade-c7e86ed531f5961a.js"],"/admin/viewer-info":[j,a,s,c,e,i,t,n,d,o,p,g,"static/chunks/pages/admin/viewer-info-b295d263f1fe0bd8.js"],"/admin/webhooks":[a,s,c,e,"static/chunks/pages/admin/webhooks-66e239b373b061f0.js"],"/embed/chat/readonly":[b,m,f,u,h,r,"static/css/1bf43cf3f77e5ddf.css","static/chunks/pages/embed/chat/readonly-d969a04b544dbdb5.js"],"/embed/chat/readwrite":[b,m,s,f,u,h,r,"static/css/e109cf56cf6d95cf.css","static/chunks/pages/embed/chat/readwrite-c3a95f986e268c63.js"],"/embed/video":[l,n,f,_,w,h,y,"static/css/50d4ea374f37f0f9.css","static/chunks/pages/embed/video-767df07d35be7bcf.js"],sortedPages:["/","/_app","/_error","/admin","/admin/access-tokens","/admin/actions","/admin/chat/messages","/admin/chat/users","/admin/config-chat","/admin/config-federation","/admin/config-notify","/admin/config-public-details","/admin/config-server-details","/admin/config-social-items","/admin/config-storage","/admin/config-video","/admin/federation/actions","/admin/federation/followers","/admin/hardware-info","/admin/help","/admin/logs","/admin/stream-health","/admin/upgrade","/admin/viewer-info","/admin/webhooks","/embed/chat/readonly","/embed/chat/readwrite","/embed/video"]}}("static/chunks/3903-97c724332d1a5798.js","static/chunks/8939-2c7dd78bd2286b4d.js","static/chunks/4267-b54c540ce3a8eed5.js","static/chunks/3626-717f7ff16ee717f6.js","static/chunks/8091-d7457a988f3f1d54.js","static/chunks/2944-2a9b62dad629aca2.js","static/chunks/9764-3705d4c034a766fe.js","static/chunks/5315-0e7e74a6fb9533c3.js","static/chunks/9372-9a6ed970911222d5.js","static/chunks/1899-19c3bbd726bf14e2.js","static/chunks/4763-a050d4b408cb3260.js","static/chunks/d3048c20-0576676e1017fabd.js","static/chunks/d2094a0f-ffb6824e6aa18418.js","static/chunks/7364-aaa393afe6bb8ebd.js","static/chunks/2429-38af9f180f370b65.js","static/chunks/2382-db0487c02624c136.js","static/chunks/7910-c80aab5f0058b5c3.js","static/chunks/3fff1979-612c6162f1b345ff.js","static/chunks/2139-c72b3a851c3b6fc9.js","static/chunks/d6e1aeb5-e5a704c6afec0fd3.js","static/css/7c735c05af084bb2.css","static/chunks/29-efb8248317a52098.js","static/chunks/1082-c86716156ee6f510.js","static/chunks/2854-adab6ebb159dfcfb.js","static/chunks/29107295-4a69275373f23f88.js","static/chunks/9189-200a9342100c92dd.js","static/chunks/9640-e282810d6fb4f58d.js","static/chunks/2877-77357d178da33d53.js","static/chunks/3286-a15aa91d3d2fc97f.js"),self.__BUILD_MANIFEST_CB&&self.__BUILD_MANIFEST_CB(); \ No newline at end of file diff --git a/static/web/_next/static/l9OO2mmax4ldiTwMcjQV_/_ssgManifest.js b/static/web/_next/static/DF--D2yhXdQ_P53m8JKl-/_ssgManifest.js similarity index 100% rename from static/web/_next/static/l9OO2mmax4ldiTwMcjQV_/_ssgManifest.js rename to static/web/_next/static/DF--D2yhXdQ_P53m8JKl-/_ssgManifest.js diff --git a/static/web/_next/static/chunks/2877-6ed259e27dba66ad.js b/static/web/_next/static/chunks/2877-6ed259e27dba66ad.js deleted file mode 100644 index 58c280a98..000000000 --- a/static/web/_next/static/chunks/2877-6ed259e27dba66ad.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2877],{72877:function(e,n,a){a.d(n,{h:function(){return z}});var t=a(47568),l=a(14924),s=a(26042),i=a(69396),c=a(29815),o=a(70655),r=a(85893),u=a(67294),d=a(84485),f=a(71577),m=a(69677),p=a(93626),h=a(85402),x=a(10010),j=a(39398),v=a(48689),N=a(38939),Z=a(58827),k=a(25964),g=function(e){var n=e.iconList,a=e.selectedOption,t=e.onSelected,l=""===a?null:a;return(0,r.jsxs)("div",{className:"social-dropdown-container",children:[(0,r.jsx)("p",{className:"description",children:"If you are looking for a platform name not on this list, please select Other and type in your own name. A logo will not be provided."}),(0,r.jsxs)("div",{className:"formfield-container",children:[(0,r.jsx)("div",{className:"label-side",children:(0,r.jsx)("span",{className:"formfield-label",children:"Social Platform"})}),(0,r.jsx)("div",{className:"input-side",children:(0,r.jsxs)(N.Z,{style:{width:240},className:"social-dropdown",placeholder:"Social platform...",defaultValue:l,value:l,onSelect:function(e){t&&t(e)},children:[n.map((function(e){var n=e.platform,a=e.icon,t=e.key,l="".concat(Z.WB).concat(a.slice(1));return(0,r.jsxs)(N.Z.Option,{className:"social-option",value:t,children:[(0,r.jsx)("span",{className:"option-icon",children:(0,r.jsx)("img",{src:l,alt:"",className:"option-icon"})}),(0,r.jsx)("span",{className:"option-label",children:n})]},"platform-".concat(t))})),(0,r.jsx)(N.Z.Option,{className:"social-option",value:k.z_,children:"Other..."},"platform-".concat(k.z_))]})})]})]})},b=a(35159),y=a(19411),S=a(24389),w=a(83192),C=a(25521),_=d.Z.Title,z=function(){var e=(0,u.useState)([]),n=e[0],a=e[1],d=(0,u.useState)([]),N=d[0],z=d[1],E=(0,u.useState)(!1),O=E[0],I=E[1],T=(0,u.useState)(!1),H=T[0],L=T[1],A=(0,u.useState)(!1),B=A[0],P=A[1],U=(0,u.useState)(-1),D=U[0],V=U[1],W=(0,u.useState)(k.wC),F=W[0],K=W[1],Q=(0,u.useState)(null),R=Q[0],Y=Q[1],$=(0,u.useContext)(b.aC)||{},q=$.serverConfig,G=$.setFieldInConfigState,J=q.instanceDetails,M=J.socialHandles,X=null,ee=function(){var e=(0,t.Z)((function(){var e,n,t;return(0,o.__generator)(this,(function(l){switch(l.label){case 0:return l.trys.push([0,2,,3]),[4,(0,Z.rQ)(Z.$i,{auth:!1})];case 1:return e=l.sent(),n=Object.keys(e).map((function(n){return(0,s.Z)({key:n},e[n])})),a(n),[3,3];case 2:return t=l.sent(),console.log(t),[3,3];case 3:return[2]}}))}));return function(){return e.apply(this,arguments)}}(),ne=function(e){return n.find((function(n){return n.key===e}))||!1},ae=""!==F.platform&&!n.find((function(e){return e.key===F.platform}));(0,u.useEffect)((function(){ee()}),[]),(0,u.useEffect)((function(){J.socialHandles&&z(M)}),[J]);var te=function(){Y(null),X=null,clearTimeout(X)},le=function(){I(!1),V(-1),L(!1),P(!1),K((0,s.Z)({},k.wC))},se=function(){le()},ie=function(e,n){K((0,i.Z)((0,s.Z)({},F),(0,l.Z)({},e,n)))},ce=function(){var e=(0,t.Z)((function(e){return(0,o.__generator)(this,(function(n){switch(n.label){case 0:return[4,(0,k.Si)({apiPath:k.c9,data:{value:e},onSuccess:function(){G({fieldName:"socialHandles",value:e,path:"instanceDetails"}),P(!1),se(),Y((0,w.kg)(w.zv)),X=setTimeout(te,k.sI)},onError:function(e){Y((0,w.kg)(w.Un,"There was an error: ".concat(e))),P(!1),X=setTimeout(te,k.sI)}})];case 1:return n.sent(),[2]}}))}));return function(n){return e.apply(this,arguments)}}(),oe=[{title:"Social Link",dataIndex:"",key:"combo",render:function(e,n){var a=n.platform,t=n.url,l=ne(a);if(!l)return(0,r.jsx)("div",{className:"social-handle-cell",children:(0,r.jsxs)("p",{className:"option-label",children:[(0,r.jsx)("strong",{children:a}),(0,r.jsx)("span",{className:"handle-url",title:t,children:t})]})});var s=l.icon,i=l.platform,c="".concat(Z.WB).concat(s.slice(1));return(0,r.jsxs)("div",{className:"social-handle-cell",children:[(0,r.jsx)("span",{className:"option-icon",children:(0,r.jsx)("img",{src:c,alt:"",className:"option-icon"})}),(0,r.jsxs)("p",{className:"option-label",children:[(0,r.jsx)("strong",{children:i}),(0,r.jsx)("span",{className:"handle-url",title:t,children:t})]})]})}},{title:"",dataIndex:"",key:"edit",render:function(e,n,a){return(0,r.jsxs)("div",{className:"actions",children:[(0,r.jsx)(f.Z,{size:"small",onClick:function(){var e=N[a];V(a),K((0,s.Z)({},e)),I(!0),ne(e.platform)||L(!0)},children:"Edit"}),(0,r.jsx)(f.Z,{icon:(0,r.jsx)(x.Z,{}),size:"small",hidden:0===a,onClick:function(){return function(e){if(!(e<=0||e>=N.length)){var n=(0,c.Z)(N),a=n[e-1];n[e-1]=n[e],n[e]=a,ce(n)}}(a)}}),(0,r.jsx)(f.Z,{icon:(0,r.jsx)(j.Z,{}),size:"small",hidden:a===N.length-1,onClick:function(){return function(e){if(!(e<0||e>=N.length-1)){var n=(0,c.Z)(N),a=n[e+1];n[e+1]=n[e],n[e]=a,ce(n)}}(a)}}),(0,r.jsx)(f.Z,{className:"delete-button",icon:(0,r.jsx)(v.Z,{}),size:"small",onClick:function(){return function(e){var n=(0,c.Z)(N);n.splice(e,1),ce(n)}(a)}})]})}}],re={disabled:!(0,y.Z)(F.url)},ue=(0,r.jsxs)("div",{className:"other-field-container formfield-container",children:[(0,r.jsx)("div",{className:"label-side"}),(0,r.jsx)("div",{className:"input-side",children:(0,r.jsx)(m.Z,{placeholder:"Other platform name",defaultValue:F.platform,onChange:function(e){var n=e.target.value;ie("platform",n)}})})]});return(0,r.jsxs)("div",{className:"social-links-edit-container",children:[(0,r.jsx)(_,{level:3,className:"section-title",children:"Your Social Handles"}),(0,r.jsx)("p",{className:"description",children:"Add all your social media handles and links to your other profiles here."}),(0,r.jsx)(C.E,{status:R}),(0,r.jsx)(p.Z,{className:"social-handles-table",pagination:!1,size:"small",rowKey:function(e){return"".concat(e.platform,"-").concat(e.url)},columns:oe,dataSource:N}),(0,r.jsx)(h.Z,{title:"Edit Social Handle",visible:O,onOk:function(){P(!0);var e=N.length?(0,c.Z)(N):[];-1===D?e.push(F):e.splice(D,1,F),ce(e)},onCancel:se,confirmLoading:B,okButtonProps:re,children:(0,r.jsxs)("div",{className:"social-handle-modal-content",children:[(0,r.jsx)(g,{iconList:n,selectedOption:ae?k.z_:F.platform,onSelected:function(e){e===k.z_?(L(!0),ie("platform","")):(L(!1),ie("platform",e))}}),H&&ue,(0,r.jsx)("br",{}),(0,r.jsx)(S.nv,{fieldName:"social-url",label:"URL",placeholder:{mastodon:"https://mastodon.social/@username",twitter:"https://twitter.com/username"}[F.platform]||"Url to page",value:F.url,onChange:function(e){var n=e.value;ie("url",n)},useTrim:!0,type:"url",pattern:y.a}),(0,r.jsx)(C.E,{status:R})]})}),(0,r.jsx)("br",{}),(0,r.jsx)(f.Z,{type:"primary",onClick:function(){le(),I(!0)},children:"Add a new social link"})]})}}}]); \ No newline at end of file diff --git a/static/web/_next/static/chunks/2877-77357d178da33d53.js b/static/web/_next/static/chunks/2877-77357d178da33d53.js new file mode 100644 index 000000000..2d061da3b --- /dev/null +++ b/static/web/_next/static/chunks/2877-77357d178da33d53.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2877],{72877:function(e,n,a){a.d(n,{h:function(){return z}});var t=a(47568),l=a(14924),s=a(26042),i=a(69396),o=a(29815),c=a(70655),r=a(85893),u=a(67294),d=a(84485),f=a(71577),m=a(69677),p=a(93626),h=a(85402),x=a(10010),j=a(39398),v=a(48689),N=a(38939),Z=a(25964),k=function(e){var n=e.iconList,a=e.selectedOption,t=e.onSelected,l=""===a?null:a;return(0,r.jsxs)("div",{className:"social-dropdown-container",children:[(0,r.jsx)("p",{className:"description",children:"If you are looking for a platform name not on this list, please select Other and type in your own name. A logo will not be provided."}),(0,r.jsxs)("div",{className:"formfield-container",children:[(0,r.jsx)("div",{className:"label-side",children:(0,r.jsx)("span",{className:"formfield-label",children:"Social Platform"})}),(0,r.jsx)("div",{className:"input-side",children:(0,r.jsxs)(N.Z,{style:{width:240},className:"social-dropdown",placeholder:"Social platform...",defaultValue:l,value:l,onSelect:function(e){t&&t(e)},children:[n.map((function(e){var n=e.platform,a=e.icon,t=e.key;return(0,r.jsxs)(N.Z.Option,{className:"social-option",value:t,children:[(0,r.jsx)("span",{className:"option-icon",children:(0,r.jsx)("img",{src:a,alt:"",className:"option-icon"})}),(0,r.jsx)("span",{className:"option-label",children:n})]},"platform-".concat(t))})),(0,r.jsx)(N.Z.Option,{className:"social-option",value:Z.z_,children:"Other..."},"platform-".concat(Z.z_))]})})]})]})},g=a(58827),b=a(35159),y=a(19411),S=a(24389),w=a(83192),C=a(25521),_=d.Z.Title,z=function(){var e=(0,u.useState)([]),n=e[0],a=e[1],d=(0,u.useState)([]),N=d[0],z=d[1],E=(0,u.useState)(!1),O=E[0],I=E[1],T=(0,u.useState)(!1),H=T[0],L=T[1],A=(0,u.useState)(!1),P=A[0],U=A[1],D=(0,u.useState)(-1),V=D[0],B=D[1],F=(0,u.useState)(Z.wC),K=F[0],Q=F[1],R=(0,u.useState)(null),Y=R[0],$=R[1],q=(0,u.useContext)(b.aC)||{},G=q.serverConfig,J=q.setFieldInConfigState,M=G.instanceDetails,W=M.socialHandles,X=null,ee=function(){var e=(0,t.Z)((function(){var e,n,t;return(0,c.__generator)(this,(function(l){switch(l.label){case 0:return l.trys.push([0,2,,3]),[4,(0,g.rQ)(g.$i,{auth:!1})];case 1:return e=l.sent(),n=Object.keys(e).map((function(n){return(0,s.Z)({key:n},e[n])})),a(n),[3,3];case 2:return t=l.sent(),console.log(t),[3,3];case 3:return[2]}}))}));return function(){return e.apply(this,arguments)}}(),ne=function(e){return n.find((function(n){return n.key===e}))||!1},ae=""!==K.platform&&!n.find((function(e){return e.key===K.platform}));(0,u.useEffect)((function(){ee()}),[]),(0,u.useEffect)((function(){M.socialHandles&&z(W)}),[M]);var te=function(){$(null),X=null,clearTimeout(X)},le=function(){I(!1),B(-1),L(!1),U(!1),Q((0,s.Z)({},Z.wC))},se=function(){le()},ie=function(e,n){Q((0,i.Z)((0,s.Z)({},K),(0,l.Z)({},e,n)))},oe=function(){var e=(0,t.Z)((function(e){return(0,c.__generator)(this,(function(n){switch(n.label){case 0:return[4,(0,Z.Si)({apiPath:Z.c9,data:{value:e},onSuccess:function(){J({fieldName:"socialHandles",value:e,path:"instanceDetails"}),U(!1),se(),$((0,w.kg)(w.zv)),X=setTimeout(te,Z.sI)},onError:function(e){$((0,w.kg)(w.Un,"There was an error: ".concat(e))),U(!1),X=setTimeout(te,Z.sI)}})];case 1:return n.sent(),[2]}}))}));return function(n){return e.apply(this,arguments)}}(),ce=[{title:"Social Link",dataIndex:"",key:"combo",render:function(e,n){var a=n.platform,t=n.url,l=ne(a);if(!l)return(0,r.jsx)("div",{className:"social-handle-cell",children:(0,r.jsxs)("p",{className:"option-label",children:[(0,r.jsx)("strong",{children:a}),(0,r.jsx)("span",{className:"handle-url",title:t,children:t})]})});var s=l.icon,i=l.platform;return(0,r.jsxs)("div",{className:"social-handle-cell",children:[(0,r.jsx)("span",{className:"option-icon",children:(0,r.jsx)("img",{src:s,alt:"",className:"option-icon"})}),(0,r.jsxs)("p",{className:"option-label",children:[(0,r.jsx)("strong",{children:i}),(0,r.jsx)("span",{className:"handle-url",title:t,children:t})]})]})}},{title:"",dataIndex:"",key:"edit",render:function(e,n,a){return(0,r.jsxs)("div",{className:"actions",children:[(0,r.jsx)(f.Z,{size:"small",onClick:function(){var e=N[a];B(a),Q((0,s.Z)({},e)),I(!0),ne(e.platform)||L(!0)},children:"Edit"}),(0,r.jsx)(f.Z,{icon:(0,r.jsx)(x.Z,{}),size:"small",hidden:0===a,onClick:function(){return function(e){if(!(e<=0||e>=N.length)){var n=(0,o.Z)(N),a=n[e-1];n[e-1]=n[e],n[e]=a,oe(n)}}(a)}}),(0,r.jsx)(f.Z,{icon:(0,r.jsx)(j.Z,{}),size:"small",hidden:a===N.length-1,onClick:function(){return function(e){if(!(e<0||e>=N.length-1)){var n=(0,o.Z)(N),a=n[e+1];n[e+1]=n[e],n[e]=a,oe(n)}}(a)}}),(0,r.jsx)(f.Z,{className:"delete-button",icon:(0,r.jsx)(v.Z,{}),size:"small",onClick:function(){return function(e){var n=(0,o.Z)(N);n.splice(e,1),oe(n)}(a)}})]})}}],re={disabled:!(0,y.Z)(K.url)},ue=(0,r.jsxs)("div",{className:"other-field-container formfield-container",children:[(0,r.jsx)("div",{className:"label-side"}),(0,r.jsx)("div",{className:"input-side",children:(0,r.jsx)(m.Z,{placeholder:"Other platform name",defaultValue:K.platform,onChange:function(e){var n=e.target.value;ie("platform",n)}})})]});return(0,r.jsxs)("div",{className:"social-links-edit-container",children:[(0,r.jsx)(_,{level:3,className:"section-title",children:"Your Social Handles"}),(0,r.jsx)("p",{className:"description",children:"Add all your social media handles and links to your other profiles here."}),(0,r.jsx)(C.E,{status:Y}),(0,r.jsx)(p.Z,{className:"social-handles-table",pagination:!1,size:"small",rowKey:function(e){return"".concat(e.platform,"-").concat(e.url)},columns:ce,dataSource:N}),(0,r.jsx)(h.Z,{title:"Edit Social Handle",visible:O,onOk:function(){U(!0);var e=N.length?(0,o.Z)(N):[];-1===V?e.push(K):e.splice(V,1,K),oe(e)},onCancel:se,confirmLoading:P,okButtonProps:re,children:(0,r.jsxs)("div",{className:"social-handle-modal-content",children:[(0,r.jsx)(k,{iconList:n,selectedOption:ae?Z.z_:K.platform,onSelected:function(e){e===Z.z_?(L(!0),ie("platform","")):(L(!1),ie("platform",e))}}),H&&ue,(0,r.jsx)("br",{}),(0,r.jsx)(S.nv,{fieldName:"social-url",label:"URL",placeholder:{mastodon:"https://mastodon.social/@username",twitter:"https://twitter.com/username"}[K.platform]||"Url to page",value:K.url,onChange:function(e){var n=e.value;ie("url",n)},useTrim:!0,type:"url",pattern:y.a}),(0,r.jsx)(C.E,{status:Y})]})}),(0,r.jsx)("br",{}),(0,r.jsx)(f.Z,{type:"primary",onClick:function(){le(),I(!0)},children:"Add a new social link"})]})}}}]); \ No newline at end of file diff --git a/static/web/_next/static/chunks/pages/index-eab1d945fdb120b6.js b/static/web/_next/static/chunks/pages/index-eab1d945fdb120b6.js new file mode 100644 index 000000000..3bc125175 --- /dev/null +++ b/static/web/_next/static/chunks/pages/index-eab1d945fdb120b6.js @@ -0,0 +1 @@ +(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5405],{48312:function(e,n,t){(window.__NEXT_P=window.__NEXT_P||[]).push(["/",function(){return t(12184)}])},8119:function(e,n,t){"use strict";t.d(n,{h:function(){return A},Z:function(){return F}});var r=t(85893),o=t(97183),i=t(94199),a=t(20550),s=t(828),l=t(66516),c=t(38504),u=t(71577),d=t(26713),m=t(86548),f=t(94149),h=t(38545),p=t(87547),x=t(39398),g=t(4480),j=t(67294),v=t(49218),_=t(5152),w=t.n(_),y=t(1899),C=t(47093),b=t.n(C),N=w()((function(){return t.e(2365).then(t.bind(t,32365)).then((function(e){return e.Modal}))}),{loadableGenerated:{webpack:function(){return[32365]}}}),k=w()((function(){return Promise.all([t.e(8939),t.e(8225)]).then(t.bind(t,98225)).then((function(e){return e.NameChangeModal}))}),{loadableGenerated:{webpack:function(){return[98225]}}}),S=w()((function(){return Promise.all([t.e(2944),t.e(9674)]).then(t.bind(t,9674)).then((function(e){return e.AuthModal}))}),{loadableGenerated:{webpack:function(){return[9674]}}}),Z=function(e){var n=e.username,t=void 0===n?void 0:n,o=(0,j.useState)(!1),i=o[0],a=o[1],_=(0,j.useState)(!1),w=_[0],C=_[1],Z=(0,s.Z)((0,g.FV)(y.ZA),2),H=Z[0],T=Z[1],L=(0,g.sJ)(y.Q),E=function(){T(!H)};(0,v.y1)("c",E,{enableOnContentEditable:!1},[H]);var A=(0,g.sJ)(y.db);if(!A)return null;var F=A.displayName,J=t||F,M=(0,r.jsxs)(l.Z,{children:[(0,r.jsx)(l.Z.Item,{icon:(0,r.jsx)(m.Z,{}),onClick:function(){a(!0)},children:"Change name"},"0"),(0,r.jsx)(l.Z.Item,{icon:(0,r.jsx)(f.Z,{}),onClick:function(){return C(!0)},children:"Authenticate"},"1"),L.chatAvailable&&(0,r.jsx)(l.Z.Item,{icon:(0,r.jsx)(h.Z,{}),onClick:function(){return E()},children:"Toggle chat"},"3")]});return(0,r.jsxs)("div",{className:"".concat(b().root),children:[(0,r.jsx)(c.Z,{overlay:M,trigger:["click"],children:(0,r.jsx)(u.Z,{type:"primary",icon:(0,r.jsx)(p.Z,{style:{marginRight:".5rem"}}),children:(0,r.jsxs)(d.Z,{children:[J,(0,r.jsx)(x.Z,{})]})})}),(0,r.jsx)(N,{title:"Change Chat Display Name",open:i,handleCancel:function(){return a(!1)},children:(0,r.jsx)(k,{})}),(0,r.jsx)(N,{title:"Authenticate",open:w,handleCancel:function(){return C(!1)},children:(0,r.jsx)(S,{})})]})},H=t(60113),T=t(92910),L=t.n(T),E=o.Z.Header,A=function(e){var n=e.name,t=void 0===n?"Your stream title":n,o=e.chatAvailable,s=e.chatDisabled;return(0,r.jsxs)(E,{className:"".concat(L().header),children:[(0,r.jsxs)("div",{className:"".concat(L().logo),children:[(0,r.jsx)(H.C,{variant:"contrast"}),(0,r.jsx)("span",{children:t})]}),o&&!s&&(0,r.jsx)(Z,{}),!o&&!s&&(0,r.jsx)(i.Z,{title:"Chat is available when the stream is live.",placement:"left",children:(0,r.jsx)(a.Z,{style:{cursor:"pointer"},children:"Chat offline"})})]})},F=A},12184:function(e,n,t){"use strict";t.r(n),t.d(n,{default:function(){return He}});var r=t(85893),o=t(97183),i=t(4480),a=t(9008),s=t.n(a),l=t(67294),c=t(1899),u=t(828),d=t(2944),m=t(11382),f=t(94184),h=t.n(f),p=t(5152),x=t.n(p),g=t(73682),j=t(28105),v=t.n(j),_=function(e){var n=e.content;return(0,r.jsx)("div",{className:v().pageContentContainer,children:(0,r.jsx)("div",{className:v().customPageContent,dangerouslySetInnerHTML:{__html:n}})})},w=t(83818),y=t(63291),C=t.n(y),b=t(87412),N=t(32382),k=t(75347),S=t.n(k),Z=function(){var e=(0,i.sJ)(c.db),n=(0,i.sJ)(c.pH);if(!e)return null;var t=e.id,o=e.isModerator,a=e.displayName;return(0,r.jsx)(b.ZP,{className:S().root,collapsedWidth:0,width:320,children:(0,r.jsx)(N.ChatContainer,{messages:n,usernameToHighlight:a,chatUserId:t,isModerator:o})})},H=t(35603),T=t.n(H),L=function(e){var n=e.version;return(0,r.jsxs)("div",{className:T().footer,children:[(0,r.jsxs)("div",{className:T().text,children:["Powered by ",(0,r.jsx)("a",{href:"https://owncast.online",children:n})]}),(0,r.jsxs)("div",{className:T().links,children:[(0,r.jsx)("div",{className:T().item,children:(0,r.jsx)("a",{href:"https://owncast.online/docs",target:"_blank",rel:"noreferrer",children:"Documentation"})}),(0,r.jsx)("div",{className:T().item,children:(0,r.jsx)("a",{href:"https://owncast.online/help",target:"_blank",rel:"noreferrer",children:"Contribute"})}),(0,r.jsx)("div",{className:T().item,children:(0,r.jsx)("a",{href:"https://github.com/owncast/owncast",target:"_blank",rel:"noreferrer",children:"Source"})})]})]})},E=t(69767),A=t.n(E),F=function(e){var n=e.children;return(0,r.jsx)("div",{className:"".concat(A().row),children:n})},J=t(71577),M=t(32365),P=t(36879),R=t.n(P),U=function(e){var n=e.action,t=n.url,o=n.title,i=n.description,a=n.icon,s=n.color,c=n.openExternally,u=e.primary,d=void 0===u||u,m=(0,l.useState)(!1),f=m[0],h=m[1];return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsxs)(J.Z,{type:d?"primary":"default",className:"".concat(R().button),onClick:function(){c?window.open(t,"_blank"):h(!0)},style:{backgroundColor:s},children:[a&&(0,r.jsx)("img",{src:a,className:"".concat(R().icon),alt:i}),o]}),(0,r.jsx)(M.Modal,{title:i||o,url:t,open:f,height:"80vh",handleCancel:function(){return h(!1)}})]})},z=t(1698),I=t(30896),D=t(52437),G=t(53731),O=t(79216),q=t(7918),V=t.n(q),B=function(e){var n=e.src;return(0,r.jsx)("div",{className:V().root,children:(0,r.jsx)("div",{className:V().container,children:(0,r.jsx)(O.Z,{src:n,alt:"Logo",className:V().image,rootClassName:V().image})})})},Y=t(52740),Q=t.n(Y),X=function(e){var n=e.links;return(0,r.jsx)("div",{className:Q().links,children:n.map((function(e){return(0,r.jsx)("a",{href:e.url,className:Q().link,target:"_blank",rel:"noreferrer",children:(0,r.jsx)("img",{src:e.icon||"/img/platformlogos/default.svg",alt:e.platform,title:e.platform,className:Q().link})},e.platform)}))})},W=t(74688),K=t.n(W),$=function(e){var n=e.name,t=e.title,o=e.summary,i=e.logo,a=e.tags,s=e.links;return(0,r.jsx)("div",{className:K().root,children:(0,r.jsxs)("div",{className:K().logoTitleSection,children:[(0,r.jsx)("div",{className:K().logo,children:(0,r.jsx)(B,{src:i})}),(0,r.jsxs)("div",{className:K().titleSection,children:[(0,r.jsx)("div",{className:h()(K().title,K().row),children:n}),(0,r.jsx)("div",{className:h()(K().subtitle,K().row),children:(0,r.jsx)(G.Z,{children:t||o})}),(0,r.jsx)("div",{className:h()(K().tagList,K().row),children:a.length>0&&a.map((function(e){return(0,r.jsxs)("span",{children:["#",e,"\xa0"]},e)}))}),(0,r.jsx)("div",{className:h()(K().socialLinks,K().row),children:(0,r.jsx)(X,{links:s})})]})]})})},ee=t(43125),ne=t(47568),te=t(70655),re=t(25968),oe=t(6226),ie=t(3698),ae=t(24093),se=t(40305),le=t.n(se),ce=function(e){var n=e.follower;return(0,r.jsx)("div",{className:le().follower,children:(0,r.jsx)("a",{href:n.link,target:"_blank",rel:"noreferrer",children:(0,r.jsxs)(re.Z,{wrap:!1,children:[(0,r.jsx)(oe.Z,{span:6,children:(0,r.jsx)(ae.C,{src:n.image,alt:"Avatar",className:le().avatar,children:(0,r.jsx)("img",{src:"/logo",alt:"Logo",className:le().placeholder})})}),(0,r.jsxs)(oe.Z,{children:[(0,r.jsx)(re.Z,{children:n.name}),(0,r.jsx)(re.Z,{className:le().account,children:n.username})]})]})})})},ue=t(12103),de=t.n(ue),me=function(e){var n=e.name,t=(0,l.useState)([]),o=t[0],i=t[1],a=(0,l.useState)(0),s=a[0],c=a[1],u=(0,l.useState)(1),d=u[0],m=u[1],f=Math.ceil(s/24),h=function(){var e=(0,ne.Z)((function(){var e,n,t,r;return(0,te.__generator)(this,(function(o){switch(o.label){case 0:return o.trys.push([0,3,,4]),[4,fetch("".concat("/api/followers","?page=").concat(d))];case 1:return[4,o.sent().json()];case 2:return e=o.sent(),n=e.results,t=e.total,i(n),c(t),[3,4];case 3:return r=o.sent(),console.error(r),[3,4];case 4:return[2]}}))}));return function(){return e.apply(this,arguments)}}();(0,l.useEffect)((function(){h()}),[]),(0,l.useEffect)((function(){h()}),[d]);var p=(0,r.jsxs)("div",{className:de().noFollowers,children:[(0,r.jsx)("h2",{children:"Be the first follower!"}),(0,r.jsxs)("p",{children:["Owncast"!==n?n:"This server"," is a part of the"," ",(0,r.jsx)("a",{href:"https://owncast.online/join-fediverse",children:"Fediverse"}),", an interconnected network of independent users and servers."]}),(0,r.jsxs)("p",{children:["By following ","Owncast"!==n?n:"this server"," you'll be able to get updates from the stream, share it with others, and and show your appreciation when it goes live, all from your own Fediverse account."]}),(0,r.jsx)(I.e,{})]});return(null===o||void 0===o?void 0:o.length)?(0,r.jsxs)("div",{className:de().followers,children:[(0,r.jsx)(re.Z,{wrap:!0,gutter:[10,10],children:o.map((function(e){return(0,r.jsx)(oe.Z,{children:(0,r.jsx)(ce,{follower:e},e.link)})}))}),(0,r.jsx)(ie.Z,{current:d,pageSize:24,total:f||1,onChange:function(e){m(e)},hideOnSinglePage:!0})]}):p},fe=o.Z.Content,he=x()((function(){return Promise.resolve().then(t.bind(t,32365)).then((function(e){return e.Modal}))}),{loadableGenerated:{webpack:function(){return[32365]}}}),pe=x()((function(){return t.e(5135).then(t.bind(t,5135)).then((function(e){return e.BrowserNotifyModal}))}),{loadableGenerated:{webpack:function(){return[5135]}}}),xe=x()((function(){return t.e(7735).then(t.bind(t,57735)).then((function(e){return e.NotifyReminderPopup}))}),{loadableGenerated:{webpack:function(){return[57735]}}}),ge=x()((function(){return Promise.resolve().then(t.bind(t,32382)).then((function(e){return e.ChatContainer}))}),{loadableGenerated:{webpack:function(){return[32382]}}}),je=function(e){var n=e.name,t=e.streamTitle,o=e.summary,i=e.tags,a=e.socialHandles,s=e.extraPageContent,l=[{label:"About",key:"2",children:(0,r.jsx)(_,{content:s})},{label:"Followers",key:"3",children:(0,r.jsx)(me,{name:n})}];return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("div",{className:C().lowerHalf,children:(0,r.jsx)($,{name:n,title:t,summary:o,tags:i,links:a,logo:"/logo"})}),(0,r.jsx)("div",{className:C().lowerSection,children:(0,r.jsx)(d.Z,{defaultActiveKey:"0",items:l})})]})},ve=function(e){var n=e.name,t=e.streamTitle,o=e.summary,i=e.tags,a=e.socialHandles,s=e.extraPageContent,l=e.messages,c=e.currentUser,u=e.showChat;if(!c)return null;var m=c.id,f=c.displayName,p=[{label:"Chat",key:"1",children:u&&(0,r.jsx)(ge,{messages:l,usernameToHighlight:f,chatUserId:m,isModerator:!1,height:"40vh"})},{label:"About",key:"2",children:(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)($,{name:n,title:t,summary:o,tags:i,links:a,logo:"/logo"}),(0,r.jsx)(_,{content:s})]})},{label:"Followers",key:"3",children:(0,r.jsx)(me,{name:n})}];return(0,r.jsx)("div",{className:h()(C().lowerSectionMobile),children:(0,r.jsx)(d.Z,{defaultActiveKey:"0",items:p})})},_e=function(){var e=(0,i.sJ)(c.Q),n=(0,i.sJ)(c.g1),t=(0,i.sJ)(c.pT),o=(0,i.sJ)(c.di),a=(0,i.sJ)(c.db),s=(0,u.Z)((0,i.FV)(c.hz),2),d=s[0],f=s[1],h=(0,i.sJ)(c.j$),p=(0,i.sJ)(c.YW),x=(0,i.sJ)(c.RI),j=x.viewerCount,v=x.lastConnectTime,_=x.lastDisconnectTime,y=x.streamTitle,b=n.extraPageContent,N=n.version,k=n.name,S=n.summary,H=n.socialHandles,T=n.tags,E=n.externalActions,A=n.offlineMessage,J=n.chatDisabled,M=n.federation,P=n.notifications,R=(0,l.useState)(!1),G=R[0],O=R[1],q=(0,l.useState)(!1),V=q[0],B=q[1],Y=M.account,Q=P.browser.enabled,X=E.map((function(e){return(0,r.jsx)(U,{action:e},e.url)})),W=function(){B(!1),O(!1),(0,g.qQ)(g.dA.hasDisplayedNotificationModal,!0)},K=function(){var e=window.innerWidth;void 0===d&&f(e<=768),!d&&e<=768&&f(!0),d&&e>768&&f(!1)};(0,l.useEffect)((function(){!function(){var e=parseInt((0,g.$o)(g.dA.userVisitCount),10);Number.isNaN(e)&&(e=0),(0,g.qQ)(g.dA.userVisitCount,e+1),e>2&&!(0,g.$o)(g.dA.hasDisplayedNotificationModal)&&O(!0)}(),K(),window.addEventListener("resize",K)}),[]);var $=!J&&o&&t;return(0,r.jsxs)("div",{className:C().main,children:[(0,r.jsx)(m.Z,{wrapperClassName:C().loadingSpinner,size:"large",spinning:e.appLoading,children:(0,r.jsxs)(fe,{className:C().root,children:[(0,r.jsxs)("div",{className:C().leftContent,children:[(0,r.jsxs)("div",{className:C().topSection,children:[p&&(0,r.jsx)(w.M,{source:"/hls/stream.m3u8",online:p}),!p&&!e.appLoading&&(0,r.jsx)(z.R,{streamName:k,customText:A,notificationsEnabled:Q,fediverseAccount:Y,lastLive:_,onNotifyClick:function(){return B(!0)}}),p&&(0,r.jsx)(ee.X,{online:p,lastConnectTime:v,lastDisconnectTime:_,viewerCount:j})]}),(0,r.jsx)("div",{className:C().midSection,children:(0,r.jsxs)("div",{className:C().buttonsLogoTitleSection,children:[(0,r.jsxs)(F,{children:[X,(0,r.jsx)(I.e,{size:"small"}),(0,r.jsx)(xe,{open:G,notificationClicked:function(){return B(!0)},notificationClosed:function(){return W()},children:(0,r.jsx)(D.E,{onClick:function(){return B(!0)}})})]}),(0,r.jsx)(he,{title:"Notify",open:V,afterClose:function(){return W()},handleCancel:function(){return W()},children:(0,r.jsx)(pe,{})})]})}),d&&t?(0,r.jsx)(ve,{name:k,streamTitle:y,summary:S,tags:T,socialHandles:H,extraPageContent:b,messages:h,currentUser:a,showChat:$}):(0,r.jsx)(je,{name:k,streamTitle:y,summary:S,tags:T,socialHandles:H,extraPageContent:b})]}),$&&!d&&(0,r.jsx)(Z,{})]})}),(!d||!$)&&(0,r.jsx)(L,{version:N})]})},we=t(8119),ye=t(85402),Ce=function(e){var n=e.title,t=e.message;return(0,r.jsx)(ye.Z,{title:n,visible:!0,footer:null,closable:!1,keyboard:!1,width:900,centered:!0,className:"modal",children:(0,r.jsx)("p",{style:{fontSize:"1.3rem"},children:t})})},be=t(82670);var Ne=function(){return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("meta",{name:"description",content:"{{.Summary}}"}),(0,r.jsx)("meta",{property:"og:title",content:"{{.Name}}"}),(0,r.jsx)("meta",{property:"og:site_name",content:"{{.Name}}"}),(0,r.jsx)("meta",{property:"og:url",content:"{{.RequestedURL}}"}),(0,r.jsx)("meta",{property:"og:description",content:"{{.Summary}}"}),(0,r.jsx)("meta",{property:"og:type",content:"video.other"}),(0,r.jsx)("meta",{property:"video:tag",content:"{{.TagsString}}"}),(0,r.jsx)("meta",{property:"og:image",content:"{{.Thumbnail}}"}),(0,r.jsx)("meta",{property:"og:image:url",content:"{{.Thumbnail}}"}),(0,r.jsx)("meta",{property:"og:image:alt",content:"{{.Image}}"}),(0,r.jsx)("meta",{property:"og:video",content:"{{.RequestedURL}}embed/video"}),(0,r.jsx)("meta",{property:"og:video:secure_url",content:"{{.RequestedURL}}embed/video"}),(0,r.jsx)("meta",{property:"og:video:height",content:"315"}),(0,r.jsx)("meta",{property:"og:video:width",content:"560"}),(0,r.jsx)("meta",{property:"og:video:type",content:"text/html"}),(0,r.jsx)("meta",{property:"og:video:actor",content:"{{.Name}}"}),(0,r.jsx)("meta",{property:"twitter:title",content:"{{.Name}}"}),(0,r.jsx)("meta",{property:"twitter:url",content:"{{.RequestedURL}}"}),(0,r.jsx)("meta",{property:"twitter:description",content:"{{.Summary}}"}),(0,r.jsx)("meta",{property:"twitter:image",content:"{{.Image}}"}),(0,r.jsx)("meta",{property:"twitter:card",content:"player"}),(0,r.jsx)("meta",{property:"twitter:player",content:"{{.RequestedURL}}embed/video"}),(0,r.jsx)("meta",{property:"twitter:player:width",content:"560"}),(0,r.jsx)("meta",{property:"twitter:player:height",content:"315"})]})},ke=function(e){var n=e.hydrationScript;return(0,r.jsx)("script",{dangerouslySetInnerHTML:{__html:n}})},Se=function(){var e=(0,i.sJ)(c.j$),n=(0,i.sJ)(c.RI),t=!1,r="",o=function(){t=!0,r=document.title},a=function(){t=!1,window.document.title=r};return(0,l.useEffect)((function(){return r=window.document.title,window.addEventListener("blur",o),window.addEventListener("focus",a),function(){window.removeEventListener("focus",a),window.removeEventListener("blur",o)}}),[]),(0,l.useEffect)((function(){var e=n.online;t&&e&&(window.document.title="\ud83d\udcac :: ".concat(r))}),[e]),(0,l.useEffect)((function(){if(t){var e=n.online;e?window.document.title=" \ud83d\udfe2 :: ".concat(r):e||(window.document.title=" \ud83d\udd34 :: ".concat(r))}}),[c.RI]),null},Ze=function(){var e=(0,i.sJ)(c.g1),n=e.name,t=e.title,a=e.customStyles,u=(0,i.sJ)(c.di),d=(0,i.sJ)(c.ap),m=(0,l.useRef)(null),f=e.chatDisabled;(0,l.useEffect)((function(){!function(e){var n=function(e){e.setAttribute("rel","noopener noreferrer ")};e.querySelectorAll("a").forEach((function(e){return n(e)})),new MutationObserver((function(e){var t=!0,r=!1,o=void 0;try{for(var i,a=e[Symbol.iterator]();!(t=(i=a.next()).done);t=!0){var s=i.value,l=!0,c=!1,u=void 0;try{for(var d,m=s.addedNodes[Symbol.iterator]();!(l=(d=m.next()).done);l=!0){var f=d.value;(0,be.Z)(f,HTMLElement)&&"a"===f.tagName.toLowerCase()&&n(f)}}catch(h){c=!0,u=h}finally{try{l||null==m.return||m.return()}finally{if(c)throw u}}}}catch(h){r=!0,o=h}finally{try{t||null==a.return||a.return()}finally{if(r)throw o}}})).observe(e,{attributes:!1,childList:!0,subtree:!0})}(m.current)}),[]);return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsxs)(s(),{children:[(0,r.jsx)(Ne,{}),(0,r.jsx)("link",{rel:"apple-touch-icon",sizes:"57x57",href:"/img/favicon/apple-icon-57x57.png"}),(0,r.jsx)("link",{rel:"apple-touch-icon",sizes:"60x60",href:"/img/favicon/apple-icon-60x60.png"}),(0,r.jsx)("link",{rel:"apple-touch-icon",sizes:"72x72",href:"/img/favicon/apple-icon-72x72.png"}),(0,r.jsx)("link",{rel:"apple-touch-icon",sizes:"76x76",href:"/img/favicon/apple-icon-76x76.png"}),(0,r.jsx)("link",{rel:"apple-touch-icon",sizes:"114x114",href:"/img/favicon/apple-icon-114x114.png"}),(0,r.jsx)("link",{rel:"apple-touch-icon",sizes:"120x120",href:"/img/favicon/apple-icon-120x120.png"}),(0,r.jsx)("link",{rel:"apple-touch-icon",sizes:"144x144",href:"/img/favicon/apple-icon-144x144.png"}),(0,r.jsx)("link",{rel:"apple-touch-icon",sizes:"152x152",href:"/img/favicon/apple-icon-152x152.png"}),(0,r.jsx)("link",{rel:"apple-touch-icon",sizes:"180x180",href:"/img/favicon/apple-icon-180x180.png"}),(0,r.jsx)("link",{rel:"icon",type:"image/png",sizes:"192x192",href:"/img/favicon/android-icon-192x192.png"}),(0,r.jsx)("link",{rel:"icon",type:"image/png",sizes:"32x32",href:"/img/favicon/favicon-32x32.png"}),(0,r.jsx)("link",{rel:"icon",type:"image/png",sizes:"96x96",href:"/img/favicon/favicon-96x96.png"}),(0,r.jsx)("link",{rel:"icon",type:"image/png",sizes:"16x16",href:"/img/favicon/favicon-16x16.png"}),(0,r.jsx)("link",{rel:"manifest",href:"/manifest.json"}),(0,r.jsx)("link",{href:"/api/auth/provider/indieauth"}),(0,r.jsx)("meta",{name:"msapplication-TileColor",content:"#ffffff"}),(0,r.jsx)("meta",{name:"msapplication-TileImage",content:"/img/favicon/ms-icon-144x144.png"}),(0,r.jsx)("meta",{name:"theme-color",content:"#ffffff"}),(0,r.jsx)("style",{children:a}),(0,r.jsx)(ke,{hydrationScript:"\n\twindow.statusHydration = {{.StatusJSON}};\n\twindow.configHydration = {{.ServerConfigJSON}};\n\t"})]}),(0,r.jsx)(c.me,{}),(0,r.jsx)(Se,{}),(0,r.jsxs)(o.Z,{ref:m,style:{minHeight:"100vh"},children:[(0,r.jsx)(we.h,{name:t||n,chatAvailable:u,chatDisabled:f}),(0,r.jsx)(_e,{}),d&&(0,r.jsx)(Ce,{title:d.title,message:d.message})]})]})};function He(){return(0,r.jsx)(Ze,{})}},69767:function(e){e.exports={row:"ActionButtonRow_row__SiEGe"}},74688:function(e){e.exports={root:"ContentHeader_root__HaUG0",row:"ContentHeader_row__9Q8gH",logoTitleSection:"ContentHeader_logoTitleSection__Z8pUc",logo:"ContentHeader_logo__wo_HN",titleSection:"ContentHeader_titleSection___6Y15",title:"ContentHeader_title__E_DsI",subtitle:"ContentHeader_subtitle__n1Wew",tagList:"ContentHeader_tagList__rx3jY"}},47093:function(e){e.exports={root:"UserDropdown_root__IdxfQ","ant-space":"UserDropdown_ant-space__XJTZ3","ant-space-item":"UserDropdown_ant-space-item__w4nC2"}},63291:function(e){e.exports={root:"Content_root__h1mNK",topSection:"Content_topSection__JIZi0",lowerSection:"Content_lowerSection__BZHYI",lowerSectionMobile:"Content_lowerSectionMobile__hRr0_",leftCol:"Content_leftCol__U2TDq",loadingSpinner:"Content_loadingSpinner__mDlYC",main:"Content_main__XVf63"}},28105:function(e){e.exports={pageContentContainer:"CustomPageContent_pageContentContainer__EG4tU",customPageContent:"CustomPageContent_customPageContent__Mr981",summary:"CustomPageContent_summary___Zgps"}},35603:function(e){e.exports={footer:"Footer_footer__mPuvf",links:"Footer_links__7bBxV",item:"Footer_item__rXxSr"}},92910:function(e){e.exports={header:"Header_header__U4Ro1",logo:"Header_logo__HLZ6Z"}},7918:function(e){e.exports={root:"Logo_root__jKiJC",container:"Logo_container__A4UYT",image:"Logo_image__Ahkom"}},75347:function(e){e.exports={root:"Sidebar_root__8HE0A"}},52740:function(e){e.exports={link:"SocialLinks_link___CcSm",links:"SocialLinks_links__gOAb7"}},12103:function(e){e.exports={followers:"FollowerCollection_followers__e_EUS",noFollowers:"FollowerCollection_noFollowers__UaCVW"}},40305:function(e){e.exports={follower:"SingleFollower_follower__EyBDI",avatar:"SingleFollower_avatar__V9jHG",account:"SingleFollower_account__Z66vo",placeholder:"SingleFollower_placeholder__CgsfJ"}}},function(e){e.O(0,[1272,8700,2544,8939,3903,4267,2944,9764,9372,7364,2429,29,1082,8782,1899,2382,2854,9774,2888,179],(function(){return n=48312,e(e.s=n);var n}));var n=e.O();_N_E=n}]); \ No newline at end of file diff --git a/static/web/_next/static/chunks/pages/index-ed77ef968d58a400.js b/static/web/_next/static/chunks/pages/index-ed77ef968d58a400.js deleted file mode 100644 index 8111e0572..000000000 --- a/static/web/_next/static/chunks/pages/index-ed77ef968d58a400.js +++ /dev/null @@ -1 +0,0 @@ -(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5405],{48312:function(e,n,t){(window.__NEXT_P=window.__NEXT_P||[]).push(["/",function(){return t(12184)}])},8119:function(e,n,t){"use strict";t.d(n,{h:function(){return A},Z:function(){return F}});var r=t(85893),o=t(97183),i=t(94199),a=t(20550),s=t(828),l=t(66516),c=t(38504),u=t(71577),d=t(26713),m=t(86548),f=t(94149),h=t(38545),p=t(87547),x=t(39398),g=t(4480),j=t(67294),v=t(49218),_=t(5152),w=t.n(_),y=t(1899),C=t(47093),b=t.n(C),N=w()((function(){return t.e(2365).then(t.bind(t,32365)).then((function(e){return e.Modal}))}),{loadableGenerated:{webpack:function(){return[32365]}}}),k=w()((function(){return Promise.all([t.e(8939),t.e(8225)]).then(t.bind(t,98225)).then((function(e){return e.NameChangeModal}))}),{loadableGenerated:{webpack:function(){return[98225]}}}),S=w()((function(){return Promise.all([t.e(2944),t.e(9674)]).then(t.bind(t,9674)).then((function(e){return e.AuthModal}))}),{loadableGenerated:{webpack:function(){return[9674]}}}),Z=function(e){var n=e.username,t=void 0===n?void 0:n,o=(0,j.useState)(!1),i=o[0],a=o[1],_=(0,j.useState)(!1),w=_[0],C=_[1],Z=(0,s.Z)((0,g.FV)(y.ZA),2),H=Z[0],T=Z[1],L=(0,g.sJ)(y.Q),E=function(){T(!H)};(0,v.y1)("c",E,{enableOnContentEditable:!1},[H]);var A=(0,g.sJ)(y.db);if(!A)return null;var F=A.displayName,J=t||F,M=(0,r.jsxs)(l.Z,{children:[(0,r.jsx)(l.Z.Item,{icon:(0,r.jsx)(m.Z,{}),onClick:function(){a(!0)},children:"Change name"},"0"),(0,r.jsx)(l.Z.Item,{icon:(0,r.jsx)(f.Z,{}),onClick:function(){return C(!0)},children:"Authenticate"},"1"),L.chatAvailable&&(0,r.jsx)(l.Z.Item,{icon:(0,r.jsx)(h.Z,{}),onClick:function(){return E()},children:"Toggle chat"},"3")]});return(0,r.jsxs)("div",{className:"".concat(b().root),children:[(0,r.jsx)(c.Z,{overlay:M,trigger:["click"],children:(0,r.jsx)(u.Z,{type:"primary",icon:(0,r.jsx)(p.Z,{style:{marginRight:".5rem"}}),children:(0,r.jsxs)(d.Z,{children:[J,(0,r.jsx)(x.Z,{})]})})}),(0,r.jsx)(N,{title:"Change Chat Display Name",open:i,handleCancel:function(){return a(!1)},children:(0,r.jsx)(k,{})}),(0,r.jsx)(N,{title:"Authenticate",open:w,handleCancel:function(){return C(!1)},children:(0,r.jsx)(S,{})})]})},H=t(60113),T=t(92910),L=t.n(T),E=o.Z.Header,A=function(e){var n=e.name,t=void 0===n?"Your stream title":n,o=e.chatAvailable,s=e.chatDisabled;return(0,r.jsxs)(E,{className:"".concat(L().header),children:[(0,r.jsxs)("div",{className:"".concat(L().logo),children:[(0,r.jsx)(H.C,{variant:"contrast"}),(0,r.jsx)("span",{children:t})]}),o&&!s&&(0,r.jsx)(Z,{}),!o&&!s&&(0,r.jsx)(i.Z,{title:"Chat is available when the stream is live.",placement:"left",children:(0,r.jsx)(a.Z,{style:{cursor:"pointer"},children:"Chat offline"})})]})},F=A},12184:function(e,n,t){"use strict";t.r(n),t.d(n,{default:function(){return He}});var r=t(85893),o=t(97183),i=t(4480),a=t(9008),s=t.n(a),l=t(67294),c=t(1899),u=t(828),d=t(2944),m=t(11382),f=t(94184),h=t.n(f),p=t(5152),x=t.n(p),g=t(73682),j=t(28105),v=t.n(j),_=function(e){var n=e.content;return(0,r.jsx)("div",{className:v().pageContentContainer,children:(0,r.jsx)("div",{className:v().customPageContent,dangerouslySetInnerHTML:{__html:n}})})},w=t(83818),y=t(63291),C=t.n(y),b=t(87412),N=t(32382),k=t(75347),S=t.n(k),Z=function(){var e=(0,i.sJ)(c.db),n=(0,i.sJ)(c.pH);if(!e)return null;var t=e.id,o=e.isModerator,a=e.displayName;return(0,r.jsx)(b.ZP,{className:S().root,collapsedWidth:0,width:320,children:(0,r.jsx)(N.ChatContainer,{messages:n,usernameToHighlight:a,chatUserId:t,isModerator:o})})},H=t(35603),T=t.n(H),L=function(e){var n=e.version;return(0,r.jsxs)("div",{className:T().footer,children:[(0,r.jsxs)("div",{className:T().text,children:["Powered by ",(0,r.jsx)("a",{href:"https://owncast.online",children:n})]}),(0,r.jsxs)("div",{className:T().links,children:[(0,r.jsx)("div",{className:T().item,children:(0,r.jsx)("a",{href:"https://owncast.online/docs",target:"_blank",rel:"noreferrer",children:"Documentation"})}),(0,r.jsx)("div",{className:T().item,children:(0,r.jsx)("a",{href:"https://owncast.online/help",target:"_blank",rel:"noreferrer",children:"Contribute"})}),(0,r.jsx)("div",{className:T().item,children:(0,r.jsx)("a",{href:"https://github.com/owncast/owncast",target:"_blank",rel:"noreferrer",children:"Source"})})]})]})},E=t(69767),A=t.n(E),F=function(e){var n=e.children;return(0,r.jsx)("div",{className:"".concat(A().row),children:n})},J=t(71577),M=t(32365),P=t(36879),R=t.n(P),U=function(e){var n=e.action,t=n.url,o=n.title,i=n.description,a=n.icon,s=n.color,c=n.openExternally,u=e.primary,d=void 0===u||u,m=(0,l.useState)(!1),f=m[0],h=m[1];return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsxs)(J.Z,{type:d?"primary":"default",className:"".concat(R().button),onClick:function(){c?window.open(t,"_blank"):h(!0)},style:{backgroundColor:s},children:[a&&(0,r.jsx)("img",{src:a,className:"".concat(R().icon),alt:i}),o]}),(0,r.jsx)(M.Modal,{title:i||o,url:t,open:f,height:"80vh",handleCancel:function(){return h(!1)}})]})},z=t(1698),I=t(30896),D=t(52437),G=t(53731),O=t(79216),q=t(7918),V=t.n(q),B=function(e){var n=e.src;return(0,r.jsx)("div",{className:V().root,children:(0,r.jsx)("div",{className:V().container,children:(0,r.jsx)(O.Z,{src:n,alt:"Logo",className:V().image,rootClassName:V().image})})})},Y=t(52740),Q=t.n(Y),X=function(e){var n=e.links;return(0,r.jsx)("div",{className:Q().links,children:n.map((function(e){return(0,r.jsx)("a",{href:e.url,className:Q().link,target:"_blank",rel:"noreferrer",children:(0,r.jsx)("img",{src:e.icon,alt:e.platform,title:e.platform,className:Q().link})},e.platform)}))})},W=t(74688),K=t.n(W),$=function(e){var n=e.name,t=e.title,o=e.summary,i=e.logo,a=e.tags,s=e.links;return(0,r.jsx)("div",{className:K().root,children:(0,r.jsxs)("div",{className:K().logoTitleSection,children:[(0,r.jsx)("div",{className:K().logo,children:(0,r.jsx)(B,{src:i})}),(0,r.jsxs)("div",{className:K().titleSection,children:[(0,r.jsx)("div",{className:h()(K().title,K().row),children:n}),(0,r.jsx)("div",{className:h()(K().subtitle,K().row),children:(0,r.jsx)(G.Z,{children:t||o})}),(0,r.jsx)("div",{className:h()(K().tagList,K().row),children:a.length>0&&a.map((function(e){return(0,r.jsxs)("span",{children:["#",e,"\xa0"]},e)}))}),(0,r.jsx)("div",{className:h()(K().socialLinks,K().row),children:(0,r.jsx)(X,{links:s})})]})]})})},ee=t(43125),ne=t(47568),te=t(70655),re=t(25968),oe=t(6226),ie=t(3698),ae=t(24093),se=t(40305),le=t.n(se),ce=function(e){var n=e.follower;return(0,r.jsx)("div",{className:le().follower,children:(0,r.jsx)("a",{href:n.link,target:"_blank",rel:"noreferrer",children:(0,r.jsxs)(re.Z,{wrap:!1,children:[(0,r.jsx)(oe.Z,{span:6,children:(0,r.jsx)(ae.C,{src:n.image,alt:"Avatar",className:le().avatar,children:(0,r.jsx)("img",{src:"/logo",alt:"Logo",className:le().placeholder})})}),(0,r.jsxs)(oe.Z,{children:[(0,r.jsx)(re.Z,{children:n.name}),(0,r.jsx)(re.Z,{className:le().account,children:n.username})]})]})})})},ue=t(12103),de=t.n(ue),me=function(e){var n=e.name,t=(0,l.useState)([]),o=t[0],i=t[1],a=(0,l.useState)(0),s=a[0],c=a[1],u=(0,l.useState)(1),d=u[0],m=u[1],f=Math.ceil(s/24),h=function(){var e=(0,ne.Z)((function(){var e,n,t,r;return(0,te.__generator)(this,(function(o){switch(o.label){case 0:return o.trys.push([0,3,,4]),[4,fetch("".concat("/api/followers","?page=").concat(d))];case 1:return[4,o.sent().json()];case 2:return e=o.sent(),n=e.results,t=e.total,i(n),c(t),[3,4];case 3:return r=o.sent(),console.error(r),[3,4];case 4:return[2]}}))}));return function(){return e.apply(this,arguments)}}();(0,l.useEffect)((function(){h()}),[]),(0,l.useEffect)((function(){h()}),[d]);var p=(0,r.jsxs)("div",{className:de().noFollowers,children:[(0,r.jsx)("h2",{children:"Be the first follower!"}),(0,r.jsxs)("p",{children:["Owncast"!==n?n:"This server"," is a part of the"," ",(0,r.jsx)("a",{href:"https://owncast.online/join-fediverse",children:"Fediverse"}),", an interconnected network of independent users and servers."]}),(0,r.jsxs)("p",{children:["By following ","Owncast"!==n?n:"this server"," you'll be able to get updates from the stream, share it with others, and and show your appreciation when it goes live, all from your own Fediverse account."]}),(0,r.jsx)(I.e,{})]});return(null===o||void 0===o?void 0:o.length)?(0,r.jsxs)("div",{className:de().followers,children:[(0,r.jsx)(re.Z,{wrap:!0,gutter:[10,10],children:o.map((function(e){return(0,r.jsx)(oe.Z,{children:(0,r.jsx)(ce,{follower:e},e.link)})}))}),(0,r.jsx)(ie.Z,{current:d,pageSize:24,total:f||1,onChange:function(e){m(e)},hideOnSinglePage:!0})]}):p},fe=o.Z.Content,he=x()((function(){return Promise.resolve().then(t.bind(t,32365)).then((function(e){return e.Modal}))}),{loadableGenerated:{webpack:function(){return[32365]}}}),pe=x()((function(){return t.e(5135).then(t.bind(t,5135)).then((function(e){return e.BrowserNotifyModal}))}),{loadableGenerated:{webpack:function(){return[5135]}}}),xe=x()((function(){return t.e(7735).then(t.bind(t,57735)).then((function(e){return e.NotifyReminderPopup}))}),{loadableGenerated:{webpack:function(){return[57735]}}}),ge=x()((function(){return Promise.resolve().then(t.bind(t,32382)).then((function(e){return e.ChatContainer}))}),{loadableGenerated:{webpack:function(){return[32382]}}}),je=function(e){var n=e.name,t=e.streamTitle,o=e.summary,i=e.tags,a=e.socialHandles,s=e.extraPageContent,l=[{label:"About",key:"2",children:(0,r.jsx)(_,{content:s})},{label:"Followers",key:"3",children:(0,r.jsx)(me,{name:n})}];return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("div",{className:C().lowerHalf,children:(0,r.jsx)($,{name:n,title:t,summary:o,tags:i,links:a,logo:"/logo"})}),(0,r.jsx)("div",{className:C().lowerSection,children:(0,r.jsx)(d.Z,{defaultActiveKey:"0",items:l})})]})},ve=function(e){var n=e.name,t=e.streamTitle,o=e.summary,i=e.tags,a=e.socialHandles,s=e.extraPageContent,l=e.messages,c=e.currentUser,u=e.showChat;if(!c)return null;var m=c.id,f=c.displayName,p=[{label:"Chat",key:"1",children:u&&(0,r.jsx)(ge,{messages:l,usernameToHighlight:f,chatUserId:m,isModerator:!1,height:"40vh"})},{label:"About",key:"2",children:(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)($,{name:n,title:t,summary:o,tags:i,links:a,logo:"/logo"}),(0,r.jsx)(_,{content:s})]})},{label:"Followers",key:"3",children:(0,r.jsx)(me,{name:n})}];return(0,r.jsx)("div",{className:h()(C().lowerSectionMobile),children:(0,r.jsx)(d.Z,{defaultActiveKey:"0",items:p})})},_e=function(){var e=(0,i.sJ)(c.Q),n=(0,i.sJ)(c.g1),t=(0,i.sJ)(c.pT),o=(0,i.sJ)(c.di),a=(0,i.sJ)(c.db),s=(0,u.Z)((0,i.FV)(c.hz),2),d=s[0],f=s[1],h=(0,i.sJ)(c.j$),p=(0,i.sJ)(c.YW),x=(0,i.sJ)(c.RI),j=x.viewerCount,v=x.lastConnectTime,_=x.lastDisconnectTime,y=x.streamTitle,b=n.extraPageContent,N=n.version,k=n.name,S=n.summary,H=n.socialHandles,T=n.tags,E=n.externalActions,A=n.offlineMessage,J=n.chatDisabled,M=n.federation,P=n.notifications,R=(0,l.useState)(!1),G=R[0],O=R[1],q=(0,l.useState)(!1),V=q[0],B=q[1],Y=M.account,Q=P.browser.enabled,X=E.map((function(e){return(0,r.jsx)(U,{action:e},e.url)})),W=function(){B(!1),O(!1),(0,g.qQ)(g.dA.hasDisplayedNotificationModal,!0)},K=function(){var e=window.innerWidth;void 0===d&&f(e<=768),!d&&e<=768&&f(!0),d&&e>768&&f(!1)};(0,l.useEffect)((function(){!function(){var e=parseInt((0,g.$o)(g.dA.userVisitCount),10);Number.isNaN(e)&&(e=0),(0,g.qQ)(g.dA.userVisitCount,e+1),e>2&&!(0,g.$o)(g.dA.hasDisplayedNotificationModal)&&O(!0)}(),K(),window.addEventListener("resize",K)}),[]);var $=!J&&o&&t;return(0,r.jsxs)("div",{className:C().main,children:[(0,r.jsx)(m.Z,{wrapperClassName:C().loadingSpinner,size:"large",spinning:e.appLoading,children:(0,r.jsxs)(fe,{className:C().root,children:[(0,r.jsxs)("div",{className:C().leftContent,children:[(0,r.jsxs)("div",{className:C().topSection,children:[p&&(0,r.jsx)(w.M,{source:"/hls/stream.m3u8",online:p}),!p&&!e.appLoading&&(0,r.jsx)(z.R,{streamName:k,customText:A,notificationsEnabled:Q,fediverseAccount:Y,lastLive:_,onNotifyClick:function(){return B(!0)}}),p&&(0,r.jsx)(ee.X,{online:p,lastConnectTime:v,lastDisconnectTime:_,viewerCount:j})]}),(0,r.jsx)("div",{className:C().midSection,children:(0,r.jsxs)("div",{className:C().buttonsLogoTitleSection,children:[(0,r.jsxs)(F,{children:[X,(0,r.jsx)(I.e,{size:"small"}),(0,r.jsx)(xe,{open:G,notificationClicked:function(){return B(!0)},notificationClosed:function(){return W()},children:(0,r.jsx)(D.E,{onClick:function(){return B(!0)}})})]}),(0,r.jsx)(he,{title:"Notify",open:V,afterClose:function(){return W()},handleCancel:function(){return W()},children:(0,r.jsx)(pe,{})})]})}),d&&t?(0,r.jsx)(ve,{name:k,streamTitle:y,summary:S,tags:T,socialHandles:H,extraPageContent:b,messages:h,currentUser:a,showChat:$}):(0,r.jsx)(je,{name:k,streamTitle:y,summary:S,tags:T,socialHandles:H,extraPageContent:b})]}),$&&!d&&(0,r.jsx)(Z,{})]})}),(!d||!$)&&(0,r.jsx)(L,{version:N})]})},we=t(8119),ye=t(85402),Ce=function(e){var n=e.title,t=e.message;return(0,r.jsx)(ye.Z,{title:n,visible:!0,footer:null,closable:!1,keyboard:!1,width:900,centered:!0,className:"modal",children:(0,r.jsx)("p",{style:{fontSize:"1.3rem"},children:t})})},be=t(82670);var Ne=function(){return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("meta",{name:"description",content:"{{.Summary}}"}),(0,r.jsx)("meta",{property:"og:title",content:"{{.Name}}"}),(0,r.jsx)("meta",{property:"og:site_name",content:"{{.Name}}"}),(0,r.jsx)("meta",{property:"og:url",content:"{{.RequestedURL}}"}),(0,r.jsx)("meta",{property:"og:description",content:"{{.Summary}}"}),(0,r.jsx)("meta",{property:"og:type",content:"video.other"}),(0,r.jsx)("meta",{property:"video:tag",content:"{{.TagsString}}"}),(0,r.jsx)("meta",{property:"og:image",content:"{{.Thumbnail}}"}),(0,r.jsx)("meta",{property:"og:image:url",content:"{{.Thumbnail}}"}),(0,r.jsx)("meta",{property:"og:image:alt",content:"{{.Image}}"}),(0,r.jsx)("meta",{property:"og:video",content:"{{.RequestedURL}}embed/video"}),(0,r.jsx)("meta",{property:"og:video:secure_url",content:"{{.RequestedURL}}embed/video"}),(0,r.jsx)("meta",{property:"og:video:height",content:"315"}),(0,r.jsx)("meta",{property:"og:video:width",content:"560"}),(0,r.jsx)("meta",{property:"og:video:type",content:"text/html"}),(0,r.jsx)("meta",{property:"og:video:actor",content:"{{.Name}}"}),(0,r.jsx)("meta",{property:"twitter:title",content:"{{.Name}}"}),(0,r.jsx)("meta",{property:"twitter:url",content:"{{.RequestedURL}}"}),(0,r.jsx)("meta",{property:"twitter:description",content:"{{.Summary}}"}),(0,r.jsx)("meta",{property:"twitter:image",content:"{{.Image}}"}),(0,r.jsx)("meta",{property:"twitter:card",content:"player"}),(0,r.jsx)("meta",{property:"twitter:player",content:"{{.RequestedURL}}embed/video"}),(0,r.jsx)("meta",{property:"twitter:player:width",content:"560"}),(0,r.jsx)("meta",{property:"twitter:player:height",content:"315"})]})},ke=function(e){var n=e.hydrationScript;return(0,r.jsx)("script",{dangerouslySetInnerHTML:{__html:n}})},Se=function(){var e=(0,i.sJ)(c.j$),n=(0,i.sJ)(c.RI),t=!1,r="",o=function(){t=!0,r=document.title},a=function(){t=!1,window.document.title=r};return(0,l.useEffect)((function(){return r=window.document.title,window.addEventListener("blur",o),window.addEventListener("focus",a),function(){window.removeEventListener("focus",a),window.removeEventListener("blur",o)}}),[]),(0,l.useEffect)((function(){var e=n.online;t&&e&&(window.document.title="\ud83d\udcac :: ".concat(r))}),[e]),(0,l.useEffect)((function(){if(t){var e=n.online;e?window.document.title=" \ud83d\udfe2 :: ".concat(r):e||(window.document.title=" \ud83d\udd34 :: ".concat(r))}}),[c.RI]),null},Ze=function(){var e=(0,i.sJ)(c.g1),n=e.name,t=e.title,a=e.customStyles,u=(0,i.sJ)(c.di),d=(0,i.sJ)(c.ap),m=(0,l.useRef)(null),f=e.chatDisabled;(0,l.useEffect)((function(){!function(e){var n=function(e){e.setAttribute("rel","noopener noreferrer ")};e.querySelectorAll("a").forEach((function(e){return n(e)})),new MutationObserver((function(e){var t=!0,r=!1,o=void 0;try{for(var i,a=e[Symbol.iterator]();!(t=(i=a.next()).done);t=!0){var s=i.value,l=!0,c=!1,u=void 0;try{for(var d,m=s.addedNodes[Symbol.iterator]();!(l=(d=m.next()).done);l=!0){var f=d.value;(0,be.Z)(f,HTMLElement)&&"a"===f.tagName.toLowerCase()&&n(f)}}catch(h){c=!0,u=h}finally{try{l||null==m.return||m.return()}finally{if(c)throw u}}}}catch(h){r=!0,o=h}finally{try{t||null==a.return||a.return()}finally{if(r)throw o}}})).observe(e,{attributes:!1,childList:!0,subtree:!0})}(m.current)}),[]);return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsxs)(s(),{children:[(0,r.jsx)(Ne,{}),(0,r.jsx)("link",{rel:"apple-touch-icon",sizes:"57x57",href:"/img/favicon/apple-icon-57x57.png"}),(0,r.jsx)("link",{rel:"apple-touch-icon",sizes:"60x60",href:"/img/favicon/apple-icon-60x60.png"}),(0,r.jsx)("link",{rel:"apple-touch-icon",sizes:"72x72",href:"/img/favicon/apple-icon-72x72.png"}),(0,r.jsx)("link",{rel:"apple-touch-icon",sizes:"76x76",href:"/img/favicon/apple-icon-76x76.png"}),(0,r.jsx)("link",{rel:"apple-touch-icon",sizes:"114x114",href:"/img/favicon/apple-icon-114x114.png"}),(0,r.jsx)("link",{rel:"apple-touch-icon",sizes:"120x120",href:"/img/favicon/apple-icon-120x120.png"}),(0,r.jsx)("link",{rel:"apple-touch-icon",sizes:"144x144",href:"/img/favicon/apple-icon-144x144.png"}),(0,r.jsx)("link",{rel:"apple-touch-icon",sizes:"152x152",href:"/img/favicon/apple-icon-152x152.png"}),(0,r.jsx)("link",{rel:"apple-touch-icon",sizes:"180x180",href:"/img/favicon/apple-icon-180x180.png"}),(0,r.jsx)("link",{rel:"icon",type:"image/png",sizes:"192x192",href:"/img/favicon/android-icon-192x192.png"}),(0,r.jsx)("link",{rel:"icon",type:"image/png",sizes:"32x32",href:"/img/favicon/favicon-32x32.png"}),(0,r.jsx)("link",{rel:"icon",type:"image/png",sizes:"96x96",href:"/img/favicon/favicon-96x96.png"}),(0,r.jsx)("link",{rel:"icon",type:"image/png",sizes:"16x16",href:"/img/favicon/favicon-16x16.png"}),(0,r.jsx)("link",{rel:"manifest",href:"/manifest.json"}),(0,r.jsx)("link",{href:"/api/auth/provider/indieauth"}),(0,r.jsx)("meta",{name:"msapplication-TileColor",content:"#ffffff"}),(0,r.jsx)("meta",{name:"msapplication-TileImage",content:"/img/favicon/ms-icon-144x144.png"}),(0,r.jsx)("meta",{name:"theme-color",content:"#ffffff"}),(0,r.jsx)("style",{children:a}),(0,r.jsx)(ke,{hydrationScript:"\n\twindow.statusHydration = {{.StatusJSON}};\n\twindow.configHydration = {{.ServerConfigJSON}};\n\t"})]}),(0,r.jsx)(c.me,{}),(0,r.jsx)(Se,{}),(0,r.jsxs)(o.Z,{ref:m,style:{minHeight:"100vh"},children:[(0,r.jsx)(we.h,{name:t||n,chatAvailable:u,chatDisabled:f}),(0,r.jsx)(_e,{}),d&&(0,r.jsx)(Ce,{title:d.title,message:d.message})]})]})};function He(){return(0,r.jsx)(Ze,{})}},69767:function(e){e.exports={row:"ActionButtonRow_row__SiEGe"}},74688:function(e){e.exports={root:"ContentHeader_root__HaUG0",row:"ContentHeader_row__9Q8gH",logoTitleSection:"ContentHeader_logoTitleSection__Z8pUc",logo:"ContentHeader_logo__wo_HN",titleSection:"ContentHeader_titleSection___6Y15",title:"ContentHeader_title__E_DsI",subtitle:"ContentHeader_subtitle__n1Wew",tagList:"ContentHeader_tagList__rx3jY"}},47093:function(e){e.exports={root:"UserDropdown_root__IdxfQ","ant-space":"UserDropdown_ant-space__XJTZ3","ant-space-item":"UserDropdown_ant-space-item__w4nC2"}},63291:function(e){e.exports={root:"Content_root__h1mNK",topSection:"Content_topSection__JIZi0",lowerSection:"Content_lowerSection__BZHYI",lowerSectionMobile:"Content_lowerSectionMobile__hRr0_",leftCol:"Content_leftCol__U2TDq",loadingSpinner:"Content_loadingSpinner__mDlYC",main:"Content_main__XVf63"}},28105:function(e){e.exports={pageContentContainer:"CustomPageContent_pageContentContainer__EG4tU",customPageContent:"CustomPageContent_customPageContent__Mr981",summary:"CustomPageContent_summary___Zgps"}},35603:function(e){e.exports={footer:"Footer_footer__mPuvf",links:"Footer_links__7bBxV",item:"Footer_item__rXxSr"}},92910:function(e){e.exports={header:"Header_header__U4Ro1",logo:"Header_logo__HLZ6Z"}},7918:function(e){e.exports={root:"Logo_root__jKiJC",container:"Logo_container__A4UYT",image:"Logo_image__Ahkom"}},75347:function(e){e.exports={root:"Sidebar_root__8HE0A"}},52740:function(e){e.exports={link:"SocialLinks_link___CcSm",links:"SocialLinks_links__gOAb7"}},12103:function(e){e.exports={followers:"FollowerCollection_followers__e_EUS",noFollowers:"FollowerCollection_noFollowers__UaCVW"}},40305:function(e){e.exports={follower:"SingleFollower_follower__EyBDI",avatar:"SingleFollower_avatar__V9jHG",account:"SingleFollower_account__Z66vo",placeholder:"SingleFollower_placeholder__CgsfJ"}}},function(e){e.O(0,[1272,8700,2544,8939,3903,4267,2944,9764,9372,7364,2429,29,1082,8782,1899,2382,2854,9774,2888,179],(function(){return n=48312,e(e.s=n);var n}));var n=e.O();_N_E=n}]); \ No newline at end of file diff --git a/static/web/admin/access-tokens/index.html b/static/web/admin/access-tokens/index.html index 91da3a2af..56671ad3a 100644 --- a/static/web/admin/access-tokens/index.html +++ b/static/web/admin/access-tokens/index.html @@ -1 +1 @@ -Owncast Admin

What is your stream about today?

What is your stream about today?
Offline

Access Tokens

Access tokens are used to allow external, 3rd party tools to perform specific actions on your Owncast server. They should be kept secure and never included in client code, instead they should be kept on a server that you control.
Read more about how to use these tokens, with examples, at our documentation.
NameTokenScopesLast Used
No Data

\ No newline at end of file +Owncast Admin

What is your stream about today?

What is your stream about today?
Offline

Access Tokens

Access tokens are used to allow external, 3rd party tools to perform specific actions on your Owncast server. They should be kept secure and never included in client code, instead they should be kept on a server that you control.
Read more about how to use these tokens, with examples, at our documentation.
NameTokenScopesLast Used
No Data

\ No newline at end of file diff --git a/static/web/admin/actions/index.html b/static/web/admin/actions/index.html index e028d1285..318275f70 100644 --- a/static/web/admin/actions/index.html +++ b/static/web/admin/actions/index.html @@ -1 +1 @@ -Owncast Admin

What is your stream about today?

What is your stream about today?
Offline

External Actions

External action URLs are 3rd party UI you can display, embedded, into your Owncast page when a user clicks on a button to launch your action.
Read more about how to use actions, with examples, at our documentation.
NameDescriptionURLIconColorOpens
No Data

\ No newline at end of file +Owncast Admin

What is your stream about today?

What is your stream about today?
Offline

External Actions

External action URLs are 3rd party UI you can display, embedded, into your Owncast page when a user clicks on a button to launch your action.
Read more about how to use actions, with examples, at our documentation.
NameDescriptionURLIconColorOpens
No Data

\ No newline at end of file diff --git a/static/web/admin/chat/messages/index.html b/static/web/admin/chat/messages/index.html index d86ddae92..caf14217f 100644 --- a/static/web/admin/chat/messages/index.html +++ b/static/web/admin/chat/messages/index.html @@ -1 +1 @@ -Owncast Admin

What is your stream about today?

What is your stream about today?
Offline

Chat Messages

Manage the messages from viewers that show up on your stream.

Check multiple messages to change their visibility to:
Time
User
Message
No Data
\ No newline at end of file +Owncast Admin

What is your stream about today?

What is your stream about today?
Offline

Chat Messages

Manage the messages from viewers that show up on your stream.

Check multiple messages to change their visibility to:
Time
User
Message
No Data
\ No newline at end of file diff --git a/static/web/admin/chat/users/index.html b/static/web/admin/chat/users/index.html index 48b667fac..e3a0552e0 100644 --- a/static/web/admin/chat/users/index.html +++ b/static/web/admin/chat/users/index.html @@ -1 +1 @@ -Owncast Admin

What is your stream about today?

What is your stream about today?
Offline

When a stream is active and chat is enabled, connected chat clients will be displayed here.

\ No newline at end of file +Owncast Admin

What is your stream about today?

What is your stream about today?
Offline

When a stream is active and chat is enabled, connected chat clients will be displayed here.

\ No newline at end of file diff --git a/static/web/admin/config-chat/index.html b/static/web/admin/config-chat/index.html index 95046337e..c20c031f8 100644 --- a/static/web/admin/config-chat/index.html +++ b/static/web/admin/config-chat/index.html @@ -1 +1 @@ -Owncast Admin

What is your stream about today?

What is your stream about today?
Offline
\ No newline at end of file +Owncast Admin

What is your stream about today?

What is your stream about today?
Offline
\ No newline at end of file diff --git a/static/web/admin/config-federation/index.html b/static/web/admin/config-federation/index.html index ebd81185b..92b5b8373 100644 --- a/static/web/admin/config-federation/index.html +++ b/static/web/admin/config-federation/index.html @@ -1 +1 @@ -Owncast Admin

What is your stream about today?

What is your stream about today?
Offline
\ No newline at end of file +Owncast Admin

What is your stream about today?

What is your stream about today?
Offline
\ No newline at end of file diff --git a/static/web/admin/config-notify/index.html b/static/web/admin/config-notify/index.html index e22cd7fb0..df1e922be 100644 --- a/static/web/admin/config-notify/index.html +++ b/static/web/admin/config-notify/index.html @@ -1 +1 @@ -Owncast Admin

What is your stream about today?

What is your stream about today?
Offline

Notifications

Let your viewers know when you go live by supporting any of the below notification channels. Learn more about live notifications.


The full url to your Owncast server is required to enable social features. Must use SSL (https). Once people start following your instance you should not change this.

The full url to your Owncast server is required to enable social features. Must use SSL (https). Once people start following your instance you should not change this.

Browser Alerts

Viewers can opt into being notified when you go live with their browser.

Not all browsers support this.

Enable browser notifications

The text to send when you go live.

Twitter

Let your Twitter followers know each time you go live.

Enable Twitter

The text to send when you go live.

Discord

Let your Discord channel know each time you go live.

Create a webhook under Edit Channel / Integrations on your Discord channel and provide it below.

Enable Discord

The webhook assigned to your channel.

The text to send when you go live.

Fediverse Social

Enabling the Fediverse social features will not just alert people to when you go live, but also enable other functionality.

Fediverse social features: Disabled

Configure

Custom

Build your own notifications by using custom webhooks.

Create
\ No newline at end of file +Owncast Admin

What is your stream about today?

What is your stream about today?
Offline

Notifications

Let your viewers know when you go live by supporting any of the below notification channels. Learn more about live notifications.


The full url to your Owncast server is required to enable social features. Must use SSL (https). Once people start following your instance you should not change this.

The full url to your Owncast server is required to enable social features. Must use SSL (https). Once people start following your instance you should not change this.

Browser Alerts

Viewers can opt into being notified when you go live with their browser.

Not all browsers support this.

Enable browser notifications

The text to send when you go live.

Twitter

Let your Twitter followers know each time you go live.

Enable Twitter

The text to send when you go live.

Discord

Let your Discord channel know each time you go live.

Create a webhook under Edit Channel / Integrations on your Discord channel and provide it below.

Enable Discord

The webhook assigned to your channel.

The text to send when you go live.

Fediverse Social

Enabling the Fediverse social features will not just alert people to when you go live, but also enable other functionality.

Fediverse social features: Disabled

Configure

Custom

Build your own notifications by using custom webhooks.

Create
\ No newline at end of file diff --git a/static/web/admin/config-public-details/index.html b/static/web/admin/config-public-details/index.html index aa9d92b89..bc0f13a7d 100644 --- a/static/web/admin/config-public-details/index.html +++ b/static/web/admin/config-public-details/index.html @@ -1 +1 @@ -Owncast Admin

What is your stream about today?

What is your stream about today?
Offline

General Settings

The following are displayed on your site to describe your stream and its content. Learn more.

Custom Page Content

Edit the content of your page by using simple Markdown syntax.


Customize your page styling with CSS

Customize the look and feel of your Owncast instance by overriding the CSS styles of various components on the page. Refer to the CSS & Components guide.

Please input plain CSS text, as this will be directly injected onto your page during load.


\ No newline at end of file +Owncast Admin

What is your stream about today?

What is your stream about today?
Offline

General Settings

The following are displayed on your site to describe your stream and its content. Learn more.

Custom Page Content

Edit the content of your page by using simple Markdown syntax.


Customize your page styling with CSS

Customize the look and feel of your Owncast instance by overriding the CSS styles of various components on the page. Refer to the CSS & Components guide.

Please input plain CSS text, as this will be directly injected onto your page during load.


\ No newline at end of file diff --git a/static/web/admin/config-server-details/index.html b/static/web/admin/config-server-details/index.html index c9ac004d7..46910a829 100644 --- a/static/web/admin/config-server-details/index.html +++ b/static/web/admin/config-server-details/index.html @@ -1 +1 @@ -Owncast Admin

What is your stream about today?

What is your stream about today?
Offline

Server Settings

You should change your stream key from the default and keep it safe. For most people it's likely the other settings will not need to be changed.

\ No newline at end of file +Owncast Admin

What is your stream about today?

What is your stream about today?
Offline

Server Settings

You should change your stream key from the default and keep it safe. For most people it's likely the other settings will not need to be changed.

\ No newline at end of file diff --git a/static/web/admin/config-social-items/index.html b/static/web/admin/config-social-items/index.html index a4cf7de18..9e2009061 100644 --- a/static/web/admin/config-social-items/index.html +++ b/static/web/admin/config-social-items/index.html @@ -1 +1 @@ -Owncast Admin

What is your stream about today?

What is your stream about today?
Offline

Social Items

\ No newline at end of file +Owncast Admin

What is your stream about today?

What is your stream about today?
Offline

Social Items

\ No newline at end of file diff --git a/static/web/admin/config-storage/index.html b/static/web/admin/config-storage/index.html index 0b618f001..d8c22cca8 100644 --- a/static/web/admin/config-storage/index.html +++ b/static/web/admin/config-storage/index.html @@ -1 +1 @@ -Owncast Admin

What is your stream about today?

What is your stream about today?
Offline

Storage

Owncast supports optionally using external storage providers to stream your video. Learn more about this by visiting our Storage Documentation.

Configuring this incorrectly will likely cause your video to be unplayable. Double check the documentation for your storage provider on how to configure the bucket you created for Owncast.

Keep in mind this is for live streaming, not for archival, recording or VOD purposes.

\ No newline at end of file +Owncast Admin

What is your stream about today?

What is your stream about today?
Offline

Storage

Owncast supports optionally using external storage providers to stream your video. Learn more about this by visiting our Storage Documentation.

Configuring this incorrectly will likely cause your video to be unplayable. Double check the documentation for your storage provider on how to configure the bucket you created for Owncast.

Keep in mind this is for live streaming, not for archival, recording or VOD purposes.

\ No newline at end of file diff --git a/static/web/admin/config-video/index.html b/static/web/admin/config-video/index.html index da1edbdc6..1a2385963 100644 --- a/static/web/admin/config-video/index.html +++ b/static/web/admin/config-video/index.html @@ -1 +1 @@ -Owncast Admin

What is your stream about today?

What is your stream about today?
Offline

Video configuration

Before changing your video configuration visit the video documentation to learn how it impacts your stream performance. The general rule is to start conservatively by having one middle quality stream output variant and experiment with adding more of varied qualities.

Stream output

NameVideo bitrateCPU Usage
No name800 kbpsMedium

Latency Buffer

While it's natural to want to keep your latency as low as possible, you may experience reduced error tolerance and stability the lower you go. The lowest setting is not recommended.

For interactive live streams you may want to experiment with a lower latency, for non-interactive broadcasts you may want to increase it. Read to learn more.

LowestHighest

\ No newline at end of file +Owncast Admin

What is your stream about today?

What is your stream about today?
Offline

Video configuration

Before changing your video configuration visit the video documentation to learn how it impacts your stream performance. The general rule is to start conservatively by having one middle quality stream output variant and experiment with adding more of varied qualities.

Stream output

NameVideo bitrateCPU Usage
No name800 kbpsMedium

Latency Buffer

While it's natural to want to keep your latency as low as possible, you may experience reduced error tolerance and stability the lower you go. The lowest setting is not recommended.

For interactive live streams you may want to experiment with a lower latency, for non-interactive broadcasts you may want to increase it. Read to learn more.

LowestHighest

\ No newline at end of file diff --git a/static/web/admin/federation/actions/index.html b/static/web/admin/federation/actions/index.html index a746adde3..85d3fee04 100644 --- a/static/web/admin/federation/actions/index.html +++ b/static/web/admin/federation/actions/index.html @@ -1 +1 @@ -Owncast Admin

What is your stream about today?

What is your stream about today?
Offline

Fediverse Actions

Below is a list of actions that were taken by others in response to your posts as well as people who requested to follow you.
ActionFromWhen
No Data
\ No newline at end of file +Owncast Admin

What is your stream about today?

What is your stream about today?
Offline

Fediverse Actions

Below is a list of actions that were taken by others in response to your posts as well as people who requested to follow you.
ActionFromWhen
No Data
\ No newline at end of file diff --git a/static/web/admin/federation/followers/index.html b/static/web/admin/federation/followers/index.html index 5e55d77ed..1f04469ec 100644 --- a/static/web/admin/federation/followers/index.html +++ b/static/web/admin/federation/followers/index.html @@ -1 +1 @@ -Owncast Admin

What is your stream about today?

What is your stream about today?
Offline

The following accounts get notified when you go live or send a post.

NameURL
Added
Remove
No Data
\ No newline at end of file +Owncast Admin

What is your stream about today?

What is your stream about today?
Offline

The following accounts get notified when you go live or send a post.

NameURL
Added
Remove
No Data
\ No newline at end of file diff --git a/static/web/admin/hardware-info/index.html b/static/web/admin/hardware-info/index.html index f53b23450..73cd60392 100644 --- a/static/web/admin/hardware-info/index.html +++ b/static/web/admin/hardware-info/index.html @@ -1 +1 @@ -Owncast Admin

What is your stream about today?

What is your stream about today?
Offline

Hardware Info


CPU
0%
Memory
0%
Disk
0%
Loading...
\ No newline at end of file +Owncast Admin

What is your stream about today?

What is your stream about today?
Offline

Hardware Info


CPU
0%
Memory
0%
Disk
0%
Loading...
\ No newline at end of file diff --git a/static/web/admin/help/index.html b/static/web/admin/help/index.html index e7d2b5e22..aebb2260c 100644 --- a/static/web/admin/help/index.html +++ b/static/web/admin/help/index.html @@ -1 +1 @@ -Owncast Admin

What is your stream about today?

What is your stream about today?
Offline

How can we help you?

Troubleshooting

Fix your problems

Documentation

Read the Docs

Common tasks

I want to configure my owncast instance
Help configuring my broadcasting software
I want to embed my stream into another site
I want to customize my website
I want to tweak my video output
I want to use an external storage provider

Other

I found a bug
If you found a bug, then please let us know
I have a general question
Most general questions are answered in our FAQ or exist in our discussions
I want to build add-ons for Owncast
You can build your own bots, overlays, tools and add-ons with our developer APIs. 
\ No newline at end of file +Owncast Admin

What is your stream about today?

What is your stream about today?
Offline

How can we help you?

Troubleshooting

Fix your problems

Documentation

Read the Docs

Common tasks

I want to configure my owncast instance
Help configuring my broadcasting software
I want to embed my stream into another site
I want to customize my website
I want to tweak my video output
I want to use an external storage provider

Other

I found a bug
If you found a bug, then please let us know
I have a general question
Most general questions are answered in our FAQ or exist in our discussions
I want to build add-ons for Owncast
You can build your own bots, overlays, tools and add-ons with our developer APIs. 
\ No newline at end of file diff --git a/static/web/admin/index.html b/static/web/admin/index.html index 2381fb0fa..b0bf20c64 100644 --- a/static/web/admin/index.html +++ b/static/web/admin/index.html @@ -1 +1 @@ -Owncast Admin

What is your stream about today?

What is your stream about today?
Offline

No stream is active

You should start one.

Use your broadcasting software
Chat is disabled
Chat will continue to be disabled until you begin a live stream.
Find an audience on the Owncast Directory
List yourself in the Owncast Directory and show off your stream. Enable it in settings.
fediverse
Add your Owncast instance to the Fediverse
Enable Owncast social features to have your instance join the Fediverse, allowing people to follow, share and engage with your live stream.

News & Updates from Owncast

\ No newline at end of file +Owncast Admin

What is your stream about today?

What is your stream about today?
Offline

No stream is active

You should start one.

Use your broadcasting software
Chat is disabled
Chat will continue to be disabled until you begin a live stream.
Find an audience on the Owncast Directory
List yourself in the Owncast Directory and show off your stream. Enable it in settings.
fediverse
Add your Owncast instance to the Fediverse
Enable Owncast social features to have your instance join the Fediverse, allowing people to follow, share and engage with your live stream.

News & Updates from Owncast

\ No newline at end of file diff --git a/static/web/admin/logs/index.html b/static/web/admin/logs/index.html index 51dd5514d..25d76e2e9 100644 --- a/static/web/admin/logs/index.html +++ b/static/web/admin/logs/index.html @@ -1 +1 @@ -Owncast Admin

What is your stream about today?

What is your stream about today?
Offline
\ No newline at end of file +Owncast Admin

What is your stream about today?

What is your stream about today?
Offline
\ No newline at end of file diff --git a/static/web/admin/stream-health/index.html b/static/web/admin/stream-health/index.html index 5e6d4351b..4eeadf93d 100644 --- a/static/web/admin/stream-health/index.html +++ b/static/web/admin/stream-health/index.html @@ -1 +1 @@ -Owncast Admin

What is your stream about today?

What is your stream about today?
Offline

Stream Performance

\ No newline at end of file +Owncast Admin

What is your stream about today?

What is your stream about today?
Offline

Stream Performance

\ No newline at end of file diff --git a/static/web/admin/upgrade/index.html b/static/web/admin/upgrade/index.html index 59ee7829d..ed4710da2 100644 --- a/static/web/admin/upgrade/index.html +++ b/static/web/admin/upgrade/index.html @@ -1 +1 @@ -Owncast Admin

What is your stream about today?

What is your stream about today?
Offline

Thu Jan 01 1970

Downloads

NameSize
No Data
\ No newline at end of file +Owncast Admin

What is your stream about today?

What is your stream about today?
Offline

Thu Jan 01 1970

Downloads

NameSize
No Data
\ No newline at end of file diff --git a/static/web/admin/viewer-info/index.html b/static/web/admin/viewer-info/index.html index 991f3b938..9dc8ebe53 100644 --- a/static/web/admin/viewer-info/index.html +++ b/static/web/admin/viewer-info/index.html @@ -1 +1 @@ -Owncast Admin

What is your stream about today?

What is your stream about today?
Offline

Viewer Info


Max viewers last stream
0
All-time max viewers
0
User AgentLocation
Watch Time
No Data
\ No newline at end of file +Owncast Admin

What is your stream about today?

What is your stream about today?
Offline

Viewer Info


Max viewers last stream
0
All-time max viewers
0
User AgentLocation
Watch Time
No Data
\ No newline at end of file diff --git a/static/web/admin/webhooks/index.html b/static/web/admin/webhooks/index.html index 4d63cc070..6de6fa4f1 100644 --- a/static/web/admin/webhooks/index.html +++ b/static/web/admin/webhooks/index.html @@ -1 +1 @@ -Owncast Admin

What is your stream about today?

What is your stream about today?
Offline

Webhooks

A webhook is a callback made to an external API in response to an event that takes place within Owncast. This can be used to build chat bots or sending automatic notifications that you've started streaming.
Read more about how to use webhooks, with examples, at our documentation.
URLEvents
No Data

\ No newline at end of file +Owncast Admin

What is your stream about today?

What is your stream about today?
Offline

Webhooks

A webhook is a callback made to an external API in response to an event that takes place within Owncast. This can be used to build chat bots or sending automatic notifications that you've started streaming.
Read more about how to use webhooks, with examples, at our documentation.
URLEvents
No Data

\ No newline at end of file diff --git a/static/web/embed/chat/readonly/index.html b/static/web/embed/chat/readonly/index.html index b4f149131..1f75e7dff 100644 --- a/static/web/embed/chat/readonly/index.html +++ b/static/web/embed/chat/readonly/index.html @@ -1 +1 @@ -
\ No newline at end of file +
\ No newline at end of file diff --git a/static/web/embed/chat/readwrite/index.html b/static/web/embed/chat/readwrite/index.html index 57d852966..e7798495d 100644 --- a/static/web/embed/chat/readwrite/index.html +++ b/static/web/embed/chat/readwrite/index.html @@ -1 +1 @@ -
\ No newline at end of file +
\ No newline at end of file diff --git a/static/web/embed/video/index.html b/static/web/embed/video/index.html index 09da3aa98..0d82e2233 100644 --- a/static/web/embed/video/index.html +++ b/static/web/embed/video/index.html @@ -1 +1 @@ -
This stream is offline. Check back soon!
\ No newline at end of file +
This stream is offline. Check back soon!
\ No newline at end of file diff --git a/static/web/img/platformlogos/fediverse.svg b/static/web/img/platformlogos/fediverse.svg new file mode 100644 index 000000000..1af05f6d6 --- /dev/null +++ b/static/web/img/platformlogos/fediverse.svg @@ -0,0 +1,162 @@ + + + + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/static/web/img/platformlogos/matrix.svg b/static/web/img/platformlogos/matrix.svg new file mode 100644 index 000000000..784896156 --- /dev/null +++ b/static/web/img/platformlogos/matrix.svg @@ -0,0 +1,14 @@ + + + + + + + diff --git a/static/web/img/platformlogos/xmpp.svg b/static/web/img/platformlogos/xmpp.svg new file mode 100644 index 000000000..849a52f77 --- /dev/null +++ b/static/web/img/platformlogos/xmpp.svg @@ -0,0 +1,120 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Chat offline
Logo
Preview
\ No newline at end of file +
Chat offline
Logo
Preview
\ No newline at end of file