From fef0ca458766274345c672acc2d2ef1222bd620e Mon Sep 17 00:00:00 2001 From: gabek Date: Wed, 19 Oct 2022 02:52:18 +0000 Subject: [PATCH] Bundle embedded web app --- static/web/404.html | 4 ++-- static/web/404/index.html | 4 ++-- .../_buildManifest.js | 2 +- .../_ssgManifest.js | 0 .../{8763-7d290efc89421849.js => 1632-6459755a347ad23a.js} | 2 +- .../{1899-4bbcfa6ad70272b1.js => 1899-594b6afdcc743835.js} | 2 +- ...donly-7d52555642af387d.js => readonly-b7b2cfdeeb8e28e3.js} | 2 +- ...rite-b54f76d80455488b.js => readwrite-0d78334a1012d08f.js} | 2 +- .../web/_next/static/chunks/pages/index-103dd0b31d1249b0.js | 1 + .../web/_next/static/chunks/pages/index-240be6bbf8d8da16.js | 1 - ...ebpack-5030aaa2200732f7.js => webpack-2e5191fc1f3ad1ca.js} | 2 +- .../static/css/{87104b15c089124a.css => 1bf43cf3f77e5ddf.css} | 2 +- static/web/_next/static/css/2458f45edc0f6648.css | 1 + static/web/_next/static/css/50ef1663cf2c1b27.css | 1 - .../static/css/{38031c0e461b403f.css => e109cf56cf6d95cf.css} | 2 +- 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 +- static/web/admin/config-public-details/index.html | 2 +- static/web/admin/config-server-details/index.html | 2 +- static/web/admin/config-social-items/index.html | 2 +- static/web/admin/config-storage/index.html | 2 +- static/web/admin/config-video/index.html | 2 +- static/web/admin/federation/actions/index.html | 2 +- static/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/index.html | 2 +- 41 files changed, 40 insertions(+), 40 deletions(-) rename static/web/_next/static/{ksvicoB9oM2ekcOT_LvH- => NWvnps6UCfOPcF87ve9P2}/_buildManifest.js (88%) rename static/web/_next/static/{ksvicoB9oM2ekcOT_LvH- => NWvnps6UCfOPcF87ve9P2}/_ssgManifest.js (100%) rename static/web/_next/static/chunks/{8763-7d290efc89421849.js => 1632-6459755a347ad23a.js} (50%) rename static/web/_next/static/chunks/{1899-4bbcfa6ad70272b1.js => 1899-594b6afdcc743835.js} (67%) rename static/web/_next/static/chunks/pages/embed/chat/{readonly-7d52555642af387d.js => readonly-b7b2cfdeeb8e28e3.js} (94%) rename static/web/_next/static/chunks/pages/embed/chat/{readwrite-b54f76d80455488b.js => readwrite-0d78334a1012d08f.js} (98%) create mode 100644 static/web/_next/static/chunks/pages/index-103dd0b31d1249b0.js delete mode 100644 static/web/_next/static/chunks/pages/index-240be6bbf8d8da16.js rename static/web/_next/static/chunks/{webpack-5030aaa2200732f7.js => webpack-2e5191fc1f3ad1ca.js} (61%) rename static/web/_next/static/css/{87104b15c089124a.css => 1bf43cf3f77e5ddf.css} (97%) create mode 100644 static/web/_next/static/css/2458f45edc0f6648.css delete mode 100644 static/web/_next/static/css/50ef1663cf2c1b27.css rename static/web/_next/static/css/{38031c0e461b403f.css => e109cf56cf6d95cf.css} (86%) diff --git a/static/web/404.html b/static/web/404.html index e3a74667c..65b545eb1 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 e3a74667c..65b545eb1 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/ksvicoB9oM2ekcOT_LvH-/_buildManifest.js b/static/web/_next/static/NWvnps6UCfOPcF87ve9P2/_buildManifest.js similarity index 88% rename from static/web/_next/static/ksvicoB9oM2ekcOT_LvH-/_buildManifest.js rename to static/web/_next/static/NWvnps6UCfOPcF87ve9P2/_buildManifest.js index 788a411c5..f0b4ffda8 100644 --- a/static/web/_next/static/ksvicoB9oM2ekcOT_LvH-/_buildManifest.js +++ b/static/web/_next/static/NWvnps6UCfOPcF87ve9P2/_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/50ef1663cf2c1b27.css","static/chunks/pages/index-240be6bbf8d8da16.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/87104b15c089124a.css","static/chunks/pages/embed/chat/readonly-7d52555642af387d.js"],"/embed/chat/readwrite":[b,m,s,f,u,h,r,"static/css/38031c0e461b403f.css","static/chunks/pages/embed/chat/readwrite-b54f76d80455488b.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-4bbcfa6ad70272b1.js","static/chunks/4763-a050d4b408cb3260.js","static/chunks/d3048c20-0576676e1017fabd.js","static/chunks/d2094a0f-579ef58c933db91c.js","static/chunks/7364-aaa393afe6bb8ebd.js","static/chunks/2429-38af9f180f370b65.js","static/chunks/8763-7d290efc89421849.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,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-103dd0b31d1249b0.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-b7b2cfdeeb8e28e3.js"],"/embed/chat/readwrite":[b,m,s,f,u,h,r,"static/css/e109cf56cf6d95cf.css","static/chunks/pages/embed/chat/readwrite-0d78334a1012d08f.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-594b6afdcc743835.js","static/chunks/4763-a050d4b408cb3260.js","static/chunks/d3048c20-0576676e1017fabd.js","static/chunks/d2094a0f-579ef58c933db91c.js","static/chunks/7364-aaa393afe6bb8ebd.js","static/chunks/2429-38af9f180f370b65.js","static/chunks/1632-6459755a347ad23a.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 diff --git a/static/web/_next/static/ksvicoB9oM2ekcOT_LvH-/_ssgManifest.js b/static/web/_next/static/NWvnps6UCfOPcF87ve9P2/_ssgManifest.js similarity index 100% rename from static/web/_next/static/ksvicoB9oM2ekcOT_LvH-/_ssgManifest.js rename to static/web/_next/static/NWvnps6UCfOPcF87ve9P2/_ssgManifest.js diff --git a/static/web/_next/static/chunks/8763-7d290efc89421849.js b/static/web/_next/static/chunks/1632-6459755a347ad23a.js similarity index 50% rename from static/web/_next/static/chunks/8763-7d290efc89421849.js rename to static/web/_next/static/chunks/1632-6459755a347ad23a.js index 9625b2b07..85e9ee9a6 100644 --- a/static/web/_next/static/chunks/8763-7d290efc89421849.js +++ b/static/web/_next/static/chunks/1632-6459755a347ad23a.js @@ -1 +1 @@ -(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8763],{28763:function(e,t,n){"use strict";n.r(t),n.d(t,{ChatContainer:function(){return ge}});var a=n(85893),s=n(9764),r=n(67294),o=n(36531),i=n(11622),c=n(13545),l=n.n(c),u=n(14924),d=n(86492),h=n.n(d),m=n(94184),g=n.n(m),p=n(94199),f=n(29158),x=n(4480),_=n(5152),C=n.n(_),v=n(78583),j=n.n(v);function y(e){var t=new Date(e);if(Number.isNaN(t))return"";if(function(e){var t="string"===typeof e?new Date(e):e;return(new Date-t)/864e5}(e)>=1){var n=t.toLocaleDateString("en-US",{dateStyle:"medium"});return"at ".concat(n," at ").concat(t.toLocaleTimeString())}return"".concat(t.toLocaleTimeString())}var N,M,b,w,S,E=n(79010),T=n.n(E),k=function(e){var t=e.badge,n=e.userColor,s="var(--theme-user-colors-".concat(n,")"),r={color:s,borderColor:s};return(0,a.jsx)("span",{style:r,className:T().badge,children:t})},B=n(1899),D=C()((function(){return Promise.all([n.e(8939),n.e(3903),n.e(4267),n.e(3626),n.e(8091),n.e(1300),n.e(7781)]).then(n.bind(n,87781)).then((function(e){return e.ChatModerationActionMenu}))}),{loadableGenerated:{webpack:function(){return[87781]}}}),O=C()((function(){return Promise.resolve().then(n.bind(n,47049)).then((function(e){return e.Highlight}))}),{loadableGenerated:{webpack:function(){return[47049]}}}),U=function(e){var t=e.message,n=e.highlightString,s=e.showModeratorMenu,o=e.sentBySelf,i=e.sameUserAsLast,c=e.isAuthorModerator,l=e.isAuthorAuthenticated,d=t.id,m=t.body,_=t.user,C=t.timestamp,v=_.id,N=_.displayName,M=_.displayColor,b=(0,x.sJ)(B.FI),w="var(--theme-color-users-".concat(M,")"),S="Sent ".concat(y(C)),E=(0,r.useState)(m),T=E[0],U=E[1],A=[];return c&&A.push((0,a.jsx)(k,{badge:"mod",userColor:M},"mod")),l&&A.push((0,a.jsx)(k,{badge:(0,a.jsx)(f.Z,{title:"authenticated"}),userColor:M},"auth")),(0,r.useEffect)((function(){U(h().decode(m))}),[t]),(0,a.jsx)("div",{className:g()(j().messagePadding,i&&j().messagePaddingCollapsed),children:(0,a.jsxs)("div",{className:g()(j().root,(0,u.Z)({},j().ownMessage,o)),style:{borderColor:w},children:[!i&&(0,a.jsx)(p.Z,{title:"user info goes here",placement:"topLeft",mouseEnterDelay:1,children:(0,a.jsxs)("div",{className:j().user,style:{color:w},children:[(0,a.jsx)("span",{className:j().userName,children:N}),(0,a.jsx)("span",{children:A})]})}),(0,a.jsx)(p.Z,{title:S,mouseEnterDelay:1,children:(0,a.jsx)(O,{search:n,children:(0,a.jsx)("div",{className:j().message,dangerouslySetInnerHTML:{__html:T}})})}),s&&(0,a.jsx)("div",{className:j().modMenuWrapper,children:(0,a.jsx)(D,{messageID:d,accessToken:b,userID:v,userDisplayName:N})}),(0,a.jsx)("div",{className:j().background,style:{color:w}})]})})},A=n(26042),F=n(69396),I=n(828),R=n(93045),Z=n(27496),L=n(55241),H=n(77493),P=n(96391),W=n(25882),G=n.n(W),V=C()((function(){return Promise.all([n.e(7741),n.e(786)]).then(n.bind(n,30786)).then((function(e){return e.EmojiPicker}))}),{loadableGenerated:{webpack:function(){return[30786]}}}),Y=function(e){var t=e.attributes,n=e.element,s=e.children,r=(0,P.vt)(),o=(0,P.UE)();return(0,a.jsxs)("span",(0,F.Z)((0,A.Z)({},t),{contentEditable:!1,children:[(0,a.jsx)("img",{alt:n.alt,src:n.src,title:n.name,style:{display:"inline",maxWidth:"50px",maxHeight:"20px",boxShadow:"".concat(r&&o?"0 0 0 3px #B4D5FF":"none")}}),s]}))},J=function(e){var t,n;if(H.xv.isText(e))return e.text;0===e.children.length?t=[{text:""}]:t=null===(n=e.children)||void 0===n?void 0:n.map((function(e){return J(e)})).join("");switch(e.type){case"paragraph":return"

".concat(t,"

");case"image":return'').concat(e.alt,'');default:return t}},z=function(e){if(H.xv.isText(e))return e.text.length;if("image"===e.type)return 5;var t=0;return e.children.forEach((function(e){t+=z(e)})),t},X=function(e){var t=e.defaultText,n=(0,r.useState)(!1),s=n[0],o=n[1],c=(0,r.useState)(null===t||void 0===t?void 0:t.length),l=c[0],u=c[1],d=(0,x.sJ)(B.Gt),h=(0,r.useMemo)((function(){return(0,P.BU)(function(e){var t=e.isVoid;return e.isVoid=function(e){return"image"===e.type||t(e)},e.isInline=function(e){return"image"===e.type},e}((0,H.Jh)()))}),[]),m=[{type:"paragraph",children:[{text:t||""}]}],p=function(){if(d){var e=J(h);d.send({type:i.C.CHAT,body:e}),H.YR.delete(h,{at:{anchor:H.ML.start(h,[]),focus:H.ML.end(h,[])}}),u(0)}else console.log("websocketService is not defined")};return(0,a.jsx)("div",{className:G().root,children:(0,a.jsxs)("div",{className:g()(G().inputWrap,l>=300&&G().maxCharacters),children:[(0,a.jsxs)(P.mH,{editor:h,value:m,children:[(0,a.jsx)(P.CX,{onKeyDown:function(e){var t=z(h)+1;if("Enter"===e.key)return e.preventDefault(),void p();"Backspace"!==e.key?(t+1>300&&e.preventDefault(),u(t+1)):u(t-1)},onPaste:function(e){var t=e.clipboardData.getData("text/plain").length;l+t>300&&e.preventDefault()},renderElement:function(e){return"image"===e.element.type?(0,a.jsx)(Y,(0,A.Z)({},e)):(0,a.jsx)("p",(0,A.Z)({},e))},placeholder:"Chat message goes here...",style:{width:"100%"},autoFocus:!0}),(0,a.jsx)(L.Z,{content:(0,a.jsx)(V,{onEmojiSelect:function(e){P.F3.focus(h),H.YR.insertText(h,e)},onCustomEmojiSelect:function(e,t){P.F3.focus(h),function(e,t){if(e){var n=h.selection,a=function(e,t,n){return{type:"image",alt:e,src:t,name:n,children:[{text:""}]}}(t,e,t);if(H.YR.insertNodes(h,a,{select:!0}),n){var s,r=(0,I.Z)(H.ML.parent(h,null===(s=n.focus)||void 0===s?void 0:s.path),2),o=r[0],i=r[1];h.isVoid(o)||H.NB.string(o).length?H.YR.insertNodes(h,a,{at:H.y$.next(i),select:!0}):(H.YR.insertNodes(h,a,{at:i,select:!0}),H.ML.normalize(h,{force:!0}))}else H.YR.insertNodes(h,a,{select:!0})}}(t,e)}}),trigger:"click",onOpenChange:function(e){return o(e)},open:s})]}),(0,a.jsxs)("div",{style:{display:"flex",paddingLeft:"5px"},children:[(0,a.jsx)("button",{type:"button",className:G().emojiButton,title:"Emoji picker button",onClick:function(){return o(!s)},children:(0,a.jsx)(R.Z,{})}),(0,a.jsx)("button",{type:"button",className:G().sendButton,title:"Send message Button",onClick:p,children:(0,a.jsx)(Z.Z,{})})]})]})})},q=n(93174),K=n.n(q);function $(){return $=Object.assign?Object.assign.bind():function(e){for(var t=1;t12e4)&&a===(null===s||void 0===s?void 0:s.user.id)}function me(e){var t=e.user.scopes;return!(!t||0===t.length)&&t.includes("MODERATOR")}var ge=function(e){var t=e.messages,n=e.usernameToHighlight,c=e.chatUserId,u=e.isModerator,d=e.showInput,h=e.height,m=(0,r.useState)(!1),g=m[0],p=m[1],f=(0,r.useRef)(null),x=function(e,s){switch(s.type){case i.C.CHAT:var r,d,h;return(0,a.jsx)(U,{message:s,showModeratorMenu:u,highlightString:n,sentBySelf:(null===(r=s.user)||void 0===r?void 0:r.id)===c,sameUserAsLast:he(t,e),isAuthorModerator:null===(d=s.user.scopes)||void 0===d?void 0:d.includes("MODERATOR"),isAuthorAuthenticated:null===(h=s.user)||void 0===h?void 0:h.authenticated},s.id);case i.C.NAME_CHANGE:return function(e){var t=e.oldName,n=e.user,s=n.displayName,r=n.displayColor,i="var(--theme-color-users-".concat(r,")");return(0,a.jsxs)("div",{className:l().nameChangeView,children:[(0,a.jsx)("div",{style:{marginRight:5,height:"max-content",margin:"auto 5px auto 0"},children:(0,a.jsx)(o.Z,{})}),(0,a.jsxs)("div",{className:l().nameChangeText,children:[(0,a.jsx)("span",{style:{color:i},children:t}),(0,a.jsx)("span",{className:l().plain,children:" is now known as "}),(0,a.jsx)("span",{style:{color:i},children:s})]})]})}(s);case i.C.CONNECTED_USER_INFO:return function(e){if(!me(e))return(0,a.jsx)("div",{style:{width:"1px",height:"1px"}});return(0,a.jsx)(ee,{})}(s);case i.C.USER_JOINED:return function(e){var t=e.user,n=t.displayName,s=t.displayColor,r=me(e);return(0,a.jsx)(ce,{displayName:n,userColor:s,isAuthorModerator:r})}(s);case i.C.SYSTEM:return(0,a.jsx)(se,{message:s,highlightString:n},s.id);default:return null}},_=(0,r.useMemo)((function(){return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(s.OO,{style:{height:h},className:l().virtuoso,ref:f,initialTopMostItemIndex:t.length-1,data:t,itemContent:function(e,t){return x(e,t)},followOutput:"auto",alignToBottom:!0,atBottomStateChange:function(e){return p(e)}}),!g&&(0,a.jsx)(de,{chatContainerRef:f,messages:t})]})}),[t,n,c,u,g]);return(0,a.jsxs)("div",{className:l().chatContainer,children:[_,d&&(0,a.jsx)(X,{})]})};ge.defaultProps={showInput:!0,height:"auto"}},13545:function(e){e.exports={chatHeader:"ChatContainer_chatHeader__EJsYI",toBottomWrap:"ChatContainer_toBottomWrap__3V5wa",toBottomBtn:"ChatContainer_toBottomBtn__453AG",nameChangeView:"ChatContainer_nameChangeView__ziyXN",nameChangeText:"ChatContainer_nameChangeText__yXG__",plain:"ChatContainer_plain__IPS19",chatContainer:"ChatContainer_chatContainer__O2lYN",virtuoso:"ChatContainer_virtuoso__OS9Kz"}},83066:function(e){e.exports={root:"ChatJoinMessage_root__vuVXa"}},93174:function(e){e.exports={chatModerationNotification:"ChatModeratorNotification_chatModerationNotification__kgFWe",icon:"ChatModeratorNotification_icon__7FdGg"}},31681:function(e){e.exports={chatSystemMessage:"ChatSystemMessage_chatSystemMessage__c6XEN",user:"ChatSystemMessage_user__6yHSJ",message:"ChatSystemMessage_message__ySq5g"}},25882:function(e){e.exports={root:"ChatTextField_root__4oUkJ",inputWrap:"ChatTextField_inputWrap__1mAjD",maxCharacters:"ChatTextField_maxCharacters__yGT4s",emojiButton:"ChatTextField_emojiButton__ON_Cu",sendButton:"ChatTextField_sendButton__MOmD4"}},79010:function(e){e.exports={badge:"ChatUserBadge_badge__1EdUp"}},78583:function(e){e.exports={root:"ChatUserMessage_root__79heB",user:"ChatUserMessage_user__xUEp9",message:"ChatUserMessage_message__MJ9LD",ownMessage:"ChatUserMessage_ownMessage__d28A3",background:"ChatUserMessage_background__Tfghp",modMenuWrapper:"ChatUserMessage_modMenuWrapper__7fblv",messagePadding:"ChatUserMessage_messagePadding__Xp1F6",messagePaddingCollapsed:"ChatUserMessage_messagePaddingCollapsed__qxN0E"}}}]); \ No newline at end of file +(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1632],{71632:function(e,t,n){"use strict";n.r(t),n.d(t,{ChatContainer:function(){return xe}});var a=n(85893),s=n(9764),r=n(67294),o=n(36531),i=n(11622),c=n(13545),l=n.n(c),u=n(14924),d=n(86492),h=n.n(d),m=n(94184),g=n.n(m),p=n(94199),f=n(29158),x=n(4480),_=n(5152),C=n.n(_),v=n(78583),j=n.n(v);function y(e){var t=new Date(e);if(Number.isNaN(t))return"";if(function(e){var t="string"===typeof e?new Date(e):e;return(new Date-t)/864e5}(e)>=1){var n=t.toLocaleDateString("en-US",{dateStyle:"medium"});return"at ".concat(n," at ").concat(t.toLocaleTimeString())}return"".concat(t.toLocaleTimeString())}var N,M,b,S,w,E=n(79010),T=n.n(E),k=function(e){var t=e.badge,n=e.userColor,s="var(--theme-user-colors-".concat(n,")"),r={color:s,borderColor:s};return(0,a.jsx)("span",{style:r,className:T().badge,children:t})},A=n(1899),B=C()((function(){return Promise.all([n.e(8939),n.e(3903),n.e(4267),n.e(3626),n.e(8091),n.e(1300),n.e(7781)]).then(n.bind(n,87781)).then((function(e){return e.ChatModerationActionMenu}))}),{loadableGenerated:{webpack:function(){return[87781]}}}),D=C()((function(){return Promise.resolve().then(n.bind(n,47049)).then((function(e){return e.Highlight}))}),{loadableGenerated:{webpack:function(){return[47049]}}}),O=function(e){var t=e.message,n=e.highlightString,s=e.showModeratorMenu,o=e.sentBySelf,i=e.sameUserAsLast,c=e.isAuthorModerator,l=e.isAuthorAuthenticated,d=t.id,m=t.body,_=t.user,C=t.timestamp,v=_.id,N=_.displayName,M=_.displayColor,b=(0,x.sJ)(A.FI),S="var(--theme-color-users-".concat(M,")"),w="Sent ".concat(y(C)),E=(0,r.useState)(m),T=E[0],O=E[1],U=[];return c&&U.push((0,a.jsx)(k,{badge:"mod",userColor:M},"mod")),l&&U.push((0,a.jsx)(k,{badge:(0,a.jsx)(f.Z,{title:"authenticated"}),userColor:M},"auth")),(0,r.useEffect)((function(){O(h().decode(m))}),[t]),(0,a.jsx)("div",{className:g()(j().messagePadding,i&&j().messagePaddingCollapsed),children:(0,a.jsxs)("div",{className:g()(j().root,(0,u.Z)({},j().ownMessage,o)),style:{borderColor:S},children:[!i&&(0,a.jsx)(p.Z,{title:"user info goes here",placement:"topLeft",mouseEnterDelay:1,children:(0,a.jsxs)("div",{className:j().user,style:{color:S},children:[(0,a.jsx)("span",{className:j().userName,children:N}),(0,a.jsx)("span",{children:U})]})}),(0,a.jsx)(p.Z,{title:w,mouseEnterDelay:1,children:(0,a.jsx)(D,{search:n,children:(0,a.jsx)("div",{className:j().message,dangerouslySetInnerHTML:{__html:T}})})}),s&&(0,a.jsx)("div",{className:j().modMenuWrapper,children:(0,a.jsx)(B,{messageID:d,accessToken:b,userID:v,userDisplayName:N})}),(0,a.jsx)("div",{className:j().background,style:{color:S}})]})})},U=n(26042),I=n(69396),F=n(828),H=n(93045),L=n(27496),R=n(55241),Z=n(77493),P=n(96391),W=n(25882),G=n.n(W),V=C()((function(){return Promise.all([n.e(7741),n.e(786)]).then(n.bind(n,30786)).then((function(e){return e.EmojiPicker}))}),{loadableGenerated:{webpack:function(){return[30786]}}}),Y=function(e){var t=e.attributes,n=e.element,s=e.children,r=(0,P.vt)(),o=(0,P.UE)();return(0,a.jsxs)("span",(0,I.Z)((0,U.Z)({},t),{contentEditable:!1,children:[(0,a.jsx)("img",{alt:n.alt,src:n.src,title:n.name,style:{display:"inline",maxWidth:"50px",maxHeight:"20px",boxShadow:"".concat(r&&o?"0 0 0 3px #B4D5FF":"none")}}),s]}))},J=function(e){var t,n;if(Z.xv.isText(e))return e.text;0===e.children.length?t=[{text:""}]:t=null===(n=e.children)||void 0===n?void 0:n.map((function(e){return J(e)})).join("");switch(e.type){case"paragraph":return"

".concat(t,"

");case"image":return'').concat(e.alt,'');default:return t}},z=function(e){if(Z.xv.isText(e))return e.text.length;if("image"===e.type)return 5;var t=0;return e.children.forEach((function(e){t+=z(e)})),t},X=function(e){var t=e.defaultText,n=(0,r.useState)(!1),s=n[0],o=n[1],c=(0,r.useState)(null===t||void 0===t?void 0:t.length),l=c[0],u=c[1],d=(0,x.sJ)(A.Gt),h=(0,r.useMemo)((function(){return(0,P.BU)(function(e){var t=e.isVoid;return e.isVoid=function(e){return"image"===e.type||t(e)},e.isInline=function(e){return"image"===e.type},e}((0,Z.Jh)()))}),[]),m=[{type:"paragraph",children:[{text:t||""}]}],p=function(){if(d){var e=J(h);d.send({type:i.C.CHAT,body:e}),Z.YR.delete(h,{at:{anchor:Z.ML.start(h,[]),focus:Z.ML.end(h,[])}}),u(0)}else console.log("websocketService is not defined")};return(0,a.jsx)("div",{className:G().root,children:(0,a.jsxs)("div",{className:g()(G().inputWrap,l>=300&&G().maxCharacters),children:[(0,a.jsxs)(P.mH,{editor:h,value:m,children:[(0,a.jsx)(P.CX,{onKeyDown:function(e){var t=z(h)+1;if("Enter"===e.key)return e.preventDefault(),void p();"Backspace"!==e.key?(t+1>300&&e.preventDefault(),u(t+1)):u(t-1)},onPaste:function(e){var t=e.clipboardData.getData("text/plain").length;l+t>300&&e.preventDefault()},renderElement:function(e){return"image"===e.element.type?(0,a.jsx)(Y,(0,U.Z)({},e)):(0,a.jsx)("p",(0,U.Z)({},e))},placeholder:"Chat message goes here...",style:{width:"100%"},autoFocus:!0}),(0,a.jsx)(R.Z,{content:(0,a.jsx)(V,{onEmojiSelect:function(e){P.F3.focus(h),Z.YR.insertText(h,e)},onCustomEmojiSelect:function(e,t){P.F3.focus(h),function(e,t){if(e){var n=h.selection,a=function(e,t,n){return{type:"image",alt:e,src:t,name:n,children:[{text:""}]}}(t,e,t);if(Z.YR.insertNodes(h,a,{select:!0}),n){var s,r=(0,F.Z)(Z.ML.parent(h,null===(s=n.focus)||void 0===s?void 0:s.path),2),o=r[0],i=r[1];h.isVoid(o)||Z.NB.string(o).length?Z.YR.insertNodes(h,a,{at:Z.y$.next(i),select:!0}):(Z.YR.insertNodes(h,a,{at:i,select:!0}),Z.ML.normalize(h,{force:!0}))}else Z.YR.insertNodes(h,a,{select:!0})}}(t,e)}}),trigger:"click",onOpenChange:function(e){return o(e)},open:s})]}),(0,a.jsxs)("div",{style:{display:"flex",paddingLeft:"5px"},children:[(0,a.jsx)("button",{type:"button",className:G().emojiButton,title:"Emoji picker button",onClick:function(){return o(!s)},children:(0,a.jsx)(H.Z,{})}),(0,a.jsx)("button",{type:"button",className:G().sendButton,title:"Send message Button",onClick:p,children:(0,a.jsx)(L.Z,{})})]})]})})},q=n(93174),K=n.n(q);function $(){return $=Object.assign?Object.assign.bind():function(e){for(var t=1;t12e4)&&a===(null===s||void 0===s?void 0:s.user.id)}function fe(e){var t=e.user.scopes;return!(!t||0===t.length)&&t.includes("MODERATOR")}var xe=function(e){var t=e.messages,n=e.usernameToHighlight,c=e.chatUserId,u=e.isModerator,d=e.showInput,h=e.height,m=(0,r.useState)(!1),g=m[0],p=m[1],f=(0,r.useRef)(null),x=function(e,s){switch(s.type){case i.C.CHAT:var r,d,h;return(0,a.jsx)(O,{message:s,showModeratorMenu:u,highlightString:n,sentBySelf:(null===(r=s.user)||void 0===r?void 0:r.id)===c,sameUserAsLast:pe(t,e),isAuthorModerator:null===(d=s.user.scopes)||void 0===d?void 0:d.includes("MODERATOR"),isAuthorAuthenticated:null===(h=s.user)||void 0===h?void 0:h.authenticated},s.id);case i.C.NAME_CHANGE:return function(e){var t=e.oldName,n=e.user,s=n.displayName,r=n.displayColor,i="var(--theme-color-users-".concat(r,")");return(0,a.jsxs)("div",{className:l().nameChangeView,children:[(0,a.jsx)("div",{style:{marginRight:5,height:"max-content",margin:"auto 5px auto 0"},children:(0,a.jsx)(o.Z,{})}),(0,a.jsxs)("div",{className:l().nameChangeText,children:[(0,a.jsx)("span",{style:{color:i},children:t}),(0,a.jsx)("span",{className:l().plain,children:" is now known as "}),(0,a.jsx)("span",{style:{color:i},children:s})]})]})}(s);case i.C.CONNECTED_USER_INFO:return function(e){if(!fe(e))return(0,a.jsx)("div",{style:{width:"1px",height:"1px"}});return(0,a.jsx)(ee,{})}(s);case i.C.USER_JOINED:return function(e){var t=e.user,n=t.displayName,s=t.displayColor,r=fe(e);return(0,a.jsx)(ce,{displayName:n,userColor:s,isAuthorModerator:r})}(s);case i.C.CHAT_ACTION:return function(e){var t=e.body;return(0,a.jsx)(ge,{body:t})}(s);case i.C.SYSTEM:return(0,a.jsx)(se,{message:s,highlightString:n},s.id);default:return null}},_=(0,r.useMemo)((function(){return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(s.OO,{style:{height:h},className:l().virtuoso,ref:f,initialTopMostItemIndex:t.length-1,data:t,itemContent:function(e,t){return x(e,t)},followOutput:"auto",alignToBottom:!0,atBottomStateChange:function(e){return p(e)}}),!g&&(0,a.jsx)(de,{chatContainerRef:f,messages:t})]})}),[t,n,c,u,g]);return(0,a.jsxs)("div",{className:l().chatContainer,children:[_,d&&(0,a.jsx)(X,{})]})};xe.defaultProps={showInput:!0,height:"auto"}},33196:function(e){e.exports={chatAction:"ChatActionMessage_chatAction__x9Xsg"}},13545:function(e){e.exports={chatHeader:"ChatContainer_chatHeader__EJsYI",toBottomWrap:"ChatContainer_toBottomWrap__3V5wa",toBottomBtn:"ChatContainer_toBottomBtn__453AG",nameChangeView:"ChatContainer_nameChangeView__ziyXN",nameChangeText:"ChatContainer_nameChangeText__yXG__",plain:"ChatContainer_plain__IPS19",chatContainer:"ChatContainer_chatContainer__O2lYN",virtuoso:"ChatContainer_virtuoso__OS9Kz"}},83066:function(e){e.exports={root:"ChatJoinMessage_root__vuVXa"}},93174:function(e){e.exports={chatModerationNotification:"ChatModeratorNotification_chatModerationNotification__kgFWe",icon:"ChatModeratorNotification_icon__7FdGg"}},31681:function(e){e.exports={chatSystemMessage:"ChatSystemMessage_chatSystemMessage__c6XEN",user:"ChatSystemMessage_user__6yHSJ",message:"ChatSystemMessage_message__ySq5g"}},25882:function(e){e.exports={root:"ChatTextField_root__4oUkJ",inputWrap:"ChatTextField_inputWrap__1mAjD",maxCharacters:"ChatTextField_maxCharacters__yGT4s",emojiButton:"ChatTextField_emojiButton__ON_Cu",sendButton:"ChatTextField_sendButton__MOmD4"}},79010:function(e){e.exports={badge:"ChatUserBadge_badge__1EdUp"}},78583:function(e){e.exports={root:"ChatUserMessage_root__79heB",user:"ChatUserMessage_user__xUEp9",message:"ChatUserMessage_message__MJ9LD",ownMessage:"ChatUserMessage_ownMessage__d28A3",background:"ChatUserMessage_background__Tfghp",modMenuWrapper:"ChatUserMessage_modMenuWrapper__7fblv",messagePadding:"ChatUserMessage_messagePadding__Xp1F6",messagePaddingCollapsed:"ChatUserMessage_messagePaddingCollapsed__qxN0E"}}}]); \ No newline at end of file diff --git a/static/web/_next/static/chunks/1899-4bbcfa6ad70272b1.js b/static/web/_next/static/chunks/1899-594b6afdcc743835.js similarity index 67% rename from static/web/_next/static/chunks/1899-4bbcfa6ad70272b1.js rename to static/web/_next/static/chunks/1899-594b6afdcc743835.js index 598c73225..934bb3891 100644 --- a/static/web/_next/static/chunks/1899-4bbcfa6ad70272b1.js +++ b/static/web/_next/static/chunks/1899-594b6afdcc743835.js @@ -1 +1 @@ -"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1899],{1899:function(e,t,n){n.d(t,{me:function(){return B},FI:function(){return k},Q:function(){return L},L4:function(){return Z},j$:function(){return m},ZA:function(){return M},g1:function(){return I},g8:function(){return P},db:function(){return T},ap:function(){return U},di:function(){return J},pT:function(){return V},hz:function(){return G},YW:function(){return Y},We:function(){return F},RI:function(){return _},pH:function(){return j},Gt:function(){return D}});var r=n(47568),o=n(26042),a=n(69396),i=n(828),c=n(29815),s=n(70655),u=n(67294),l=n(4480),f=n(23917);var d=n(51438),h=function(){function e(){(0,d.Z)(this,e)}return e.getConfig=function(){return(0,r.Z)((function(){return(0,s.__generator)(this,(function(e){switch(e.label){case 0:return[4,fetch("/api/config")];case 1:return[4,e.sent().json()];case 2:return[2,e.sent()]}}))}))()},e}(),E=n(58827),g=function(){function e(){(0,d.Z)(this,e)}return e.getChatHistory=function(e){return(0,r.Z)((function(){return(0,s.__generator)(this,(function(t){switch(t.label){case 0:return[4,(0,E.$l)("".concat("/api/chat","?accessToken=").concat(e))];case 1:return[2,t.sent()]}}))}))()},e.registerUser=function(e){return(0,r.Z)((function(){var t;return(0,s.__generator)(this,(function(n){switch(n.label){case 0:return t={method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({displayName:e})},[4,(0,E.$l)("/api/chat/register",t)];case 1:return[2,n.sent()]}}))}))()},e}(),v=n(11622),p=function(){function e(t,n){(0,d.Z)(this,e),this.isShutdown=!1,this.backOff=1e3,this.accessToken=t,this.path=n,this.websocketReconnectTimer=null,this.createAndConnect=this.createAndConnect.bind(this),this.shutdown=this.shutdown.bind(this),this.isShutdown=!1,this.createAndConnect()}var t=e.prototype;return t.createAndConnect=function(){var e=new URL(window.location.toString());e.protocol="https:"===window.location.protocol?"wss:":"ws:",e.pathname="/ws",e.port="3000"===window.location.port?"8080":window.location.port,e.searchParams.append("accessToken",this.accessToken),console.debug("connecting to ",e.toString());var t=new WebSocket(e.toString());t.onopen=this.onOpen.bind(this),t.onerror=this.onError.bind(this),t.onmessage=this.onMessage.bind(this),this.websocket=t},t.onOpen=function(){this.websocketReconnectTimer&&clearTimeout(this.websocketReconnectTimer)},t.onError=function(e){var t;t="Socket error: ".concat(e),console.error("Chat has been disconnected and is likely not working for you. It's possible you were removed from chat. If this is a server configuration issue, visit troubleshooting steps to resolve. https://owncast.online/docs/troubleshooting/#chat-is-disabled: ".concat(t)),this.websocket.close(),this.isShutdown||this.scheduleReconnect()},t.scheduleReconnect=function(){this.websocketReconnectTimer&&clearTimeout(this.websocketReconnectTimer),this.backOff*=2,this.websocketReconnectTimer=setTimeout(this.createAndConnect,5e3+Math.min(this.backOff,1e4))},t.shutdown=function(){this.isShutdown=!0,this.websocket.close()},t.onMessage=function(e){for(var t,n=e.data.split("\n"),r=0;r getConfig() ERROR: \n".concat(t)),[3,3];case 3:return[2]}}))}));return function(){return e.apply(this,arguments)}}(),he=function(){var e=(0,r.Z)((function(){var e,t,n,r;return(0,s.__generator)(this,(function(o){switch(o.label){case 0:return o.trys.push([0,2,,3]),[4,R.getStatus()];case 1:return e=o.sent(),j(e),ie(!0),t=e.serverTime,n=new Date(t).getTime()-Date.now(),B(n),e.online?fe(y.Online):e.online||fe(y.Offline),z(null),[3,3];case 2:return r=o.sent(),fe(y.Fail),le("Unable to reach Owncast server","Owncast cannot launch. Please make sure the Owncast server is running."),console.error("serverStatusState -> getStatus() ERROR: \n".concat(r)),[3,3];case 3:return[2,null]}}))}));return function(){return e.apply(this,arguments)}}(),Ee=function(){var e=(0,r.Z)((function(e){var t,n,r,i,c,u;return(0,s.__generator)(this,(function(s){switch(s.label){case 0:if(t=(0,O.$o)(C))return x(t),[2];s.label=1;case 1:return s.trys.push([1,3,,4]),fe(y.NeedsRegister),[4,g.registerUser(e)];case 2:return n=s.sent(),console.log("ChatService -> registerUser() response: \n".concat(n)),r=n.accessToken,i=n.displayName,c=n.displayColor,r?(console.log("setting access token",r),M((0,a.Z)((0,o.Z)({},G),{displayName:i,displayColor:c})),x(r),(0,O.qQ)(C,r),[3,4]):[2];case 3:return u=s.sent(),fe(y.Fail),console.error("ChatService -> registerUser() ERROR: \n".concat(u)),[3,4];case 4:return[2]}}))}));return function(t){return e.apply(this,arguments)}}(),ge=function(e){switch(e.type){case v.C.ERROR_NEEDS_REGISTRATION:(0,O.qQ)(C,""),x(null),Ee();break;case v.C.CONNECTED_USER_INFO:b(e,F,M),Q((function(t){return(0,c.Z)(t).concat([e])}));break;case v.C.CHAT:Q((function(t){return(0,c.Z)(t).concat([e])}));break;case v.C.NAME_CHANGE:w(e,$,Q);break;case v.C.USER_JOINED:case v.C.SYSTEM:Q((function(t){return(0,c.Z)(t).concat([e])}));break;case v.C.VISIBILITY_UPDATE:!function(e){var t=e.ids;if(e.visible){var n=ne.filter((function(e){return!t.includes(e)}));re(n)}else{var r=(0,c.Z)(ne).concat((0,c.Z)(t));re(r)}}(e);break;default:console.error("Unknown socket message type: ",e.type)}},ve=function(){var e=(0,r.Z)((function(){var e,t;return(0,s.__generator)(this,(function(n){switch(n.label){case 0:return n.trys.push([0,2,,3]),[4,g.getChatHistory(q)];case 1:return e=n.sent(),Q((function(t){return(0,c.Z)(t).concat((0,c.Z)(e))})),[3,3];case 2:return t=n.sent(),console.error("ChatService -> getChatHistory() ERROR: \n".concat(t)),[3,3];case 3:return[2]}}))}));return function(){return e.apply(this,arguments)}}(),pe=function(){var t=(0,r.Z)((function(){return(0,s.__generator)(this,(function(t){try{(e=new p(q,"/ws")).handleMessage=ge,ee(e)}catch(n){console.error("ChatService -> startChat() ERROR: \n".concat(n))}return[2]}))}));return function(){return t.apply(this,arguments)}}();return(0,u.useEffect)((function(){try{if(window.configHydration){var e=JSON.parse(window.configHydration);Y(e)}}catch(n){console.error("Error parsing config hydration",n)}try{if(window.statusHydration){var t=JSON.parse(window.statusHydration);j(t)}}catch(r){console.error("error parsing status hydration",r)}}),[]),(0,u.useEffect)((function(){ae&&se&&fe(y.Loaded)}),[ae,se]),(0,u.useEffect)((function(){!J.chatDisabled&&q&&se&&pe()}),[se,q]),(0,u.useEffect)((function(){}),[$]),(0,u.useEffect)((function(){de(),Ee(),he(),clearInterval(A),A=setInterval((function(){he()}),5e3)}),[n]),(0,u.useEffect)((function(){q&&ve()}),[q]),(0,u.useEffect)((function(){E.onTransition((function(e){if(e.changed){var t,n=(t=e.meta,Object.keys(t).reduce((function(e,n){var r=t[n];return Object.assign(e,r),e}),{}));K(n)}}))})),null}},11622:function(e,t,n){var r;n.d(t,{C:function(){return r}}),function(e){e.CHAT="CHAT",e.PING="PING",e.NAME_CHANGE="NAME_CHANGE",e.COLOR_CHANGE="COLOR_CHANGE",e.PONG="PONG",e.SYSTEM="SYSTEM",e.USER_JOINED="USER_JOINED",e.CHAT_ACTION="CHAT_ACTION",e.FEDIVERSE_ENGAGEMENT_FOLLOW="FEDIVERSE_ENGAGEMENT_FOLLOW",e.FEDIVERSE_ENGAGEMENT_LIKE="FEDIVERSE_ENGAGEMENT_LIKE",e.FEDIVERSE_ENGAGEMENT_REPOST="FEDIVERSE_ENGAGEMENT_REPOST",e.CONNECTED_USER_INFO="CONNECTED_USER_INFO",e.ERROR_USER_DISABLED="ERROR_USER_DISABLED",e.ERROR_NEEDS_REGISTRATION="ERROR_NEEDS_REGISTRATION",e.ERROR_MAX_CONNECTIONS_EXCEEDED="ERROR_MAX_CONNECTIONS_EXCEEDED",e.VISIBILITY_UPDATE="VISIBILITY-UPDATE"}(r||(r={}))},73682:function(e,t,n){n.d(t,{$o:function(){return o},dA:function(){return r},qQ:function(){return a}});var r={username:"username",hasDisplayedNotificationModal:"HAS_DISPLAYED_NOTIFICATION_MODAL",userVisitCount:"USER_VISIT_COUNT"};function o(e){try{return localStorage.getItem(e)}catch(t){}return null}function a(e,t){try{return""!==t&&null!==t?localStorage.setItem(e,t):localStorage.removeItem(e),!0}catch(n){}return!1}}}]); \ No newline at end of file +"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1899],{1899:function(e,t,n){n.d(t,{me:function(){return B},FI:function(){return T},Q:function(){return L},L4:function(){return Z},j$:function(){return m},ZA:function(){return M},g1:function(){return I},g8:function(){return P},db:function(){return k},ap:function(){return U},di:function(){return J},pT:function(){return V},hz:function(){return G},YW:function(){return Y},We:function(){return F},RI:function(){return w},pH:function(){return j},Gt:function(){return D}});var r=n(47568),o=n(26042),a=n(69396),i=n(828),c=n(29815),s=n(70655),u=n(67294),l=n(4480),f=n(23917);var d=n(51438),h=function(){function e(){(0,d.Z)(this,e)}return e.getConfig=function(){return(0,r.Z)((function(){return(0,s.__generator)(this,(function(e){switch(e.label){case 0:return[4,fetch("/api/config")];case 1:return[4,e.sent().json()];case 2:return[2,e.sent()]}}))}))()},e}(),E=n(58827),g=function(){function e(){(0,d.Z)(this,e)}return e.getChatHistory=function(e){return(0,r.Z)((function(){return(0,s.__generator)(this,(function(t){switch(t.label){case 0:return[4,(0,E.$l)("".concat("/api/chat","?accessToken=").concat(e))];case 1:return[2,t.sent()]}}))}))()},e.registerUser=function(e){return(0,r.Z)((function(){var t;return(0,s.__generator)(this,(function(n){switch(n.label){case 0:return t={method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({displayName:e})},[4,(0,E.$l)("/api/chat/register",t)];case 1:return[2,n.sent()]}}))}))()},e}(),v=n(11622),p=function(){function e(t,n){(0,d.Z)(this,e),this.isShutdown=!1,this.backOff=1e3,this.accessToken=t,this.path=n,this.websocketReconnectTimer=null,this.createAndConnect=this.createAndConnect.bind(this),this.shutdown=this.shutdown.bind(this),this.isShutdown=!1,this.createAndConnect()}var t=e.prototype;return t.createAndConnect=function(){var e=new URL(window.location.toString());e.protocol="https:"===window.location.protocol?"wss:":"ws:",e.pathname="/ws",e.port="3000"===window.location.port?"8080":window.location.port,e.searchParams.append("accessToken",this.accessToken),console.debug("connecting to ",e.toString());var t=new WebSocket(e.toString());t.onopen=this.onOpen.bind(this),t.onerror=this.onError.bind(this),t.onmessage=this.onMessage.bind(this),this.websocket=t},t.onOpen=function(){this.websocketReconnectTimer&&clearTimeout(this.websocketReconnectTimer)},t.onError=function(e){var t;t="Socket error: ".concat(e),console.error("Chat has been disconnected and is likely not working for you. It's possible you were removed from chat. If this is a server configuration issue, visit troubleshooting steps to resolve. https://owncast.online/docs/troubleshooting/#chat-is-disabled: ".concat(t)),this.websocket.close(),this.isShutdown||this.scheduleReconnect()},t.scheduleReconnect=function(){this.websocketReconnectTimer&&clearTimeout(this.websocketReconnectTimer),this.backOff*=2,this.websocketReconnectTimer=setTimeout(this.createAndConnect,5e3+Math.min(this.backOff,1e4))},t.shutdown=function(){this.isShutdown=!0,this.websocket.close()},t.onMessage=function(e){for(var t,n=e.data.split("\n"),r=0;r getConfig() ERROR: \n".concat(t)),[3,3];case 3:return[2]}}))}));return function(){return e.apply(this,arguments)}}(),he=function(){var e=(0,r.Z)((function(){var e,t,n,r;return(0,s.__generator)(this,(function(o){switch(o.label){case 0:return o.trys.push([0,2,,3]),[4,A.getStatus()];case 1:return e=o.sent(),j(e),ie(!0),t=e.serverTime,n=new Date(t).getTime()-Date.now(),B(n),e.online?fe(y.Online):e.online||fe(y.Offline),z(null),[3,3];case 2:return r=o.sent(),fe(y.Fail),le("Unable to reach Owncast server","Owncast cannot launch. Please make sure the Owncast server is running."),console.error("serverStatusState -> getStatus() ERROR: \n".concat(r)),[3,3];case 3:return[2,null]}}))}));return function(){return e.apply(this,arguments)}}(),Ee=function(){var e=(0,r.Z)((function(e){var t,n,r,i,c,u;return(0,s.__generator)(this,(function(s){switch(s.label){case 0:if(t=(0,O.$o)(_))return x(t),[2];s.label=1;case 1:return s.trys.push([1,3,,4]),fe(y.NeedsRegister),[4,g.registerUser(e)];case 2:return n=s.sent(),console.log("ChatService -> registerUser() response: \n".concat(n)),r=n.accessToken,i=n.displayName,c=n.displayColor,r?(console.log("setting access token",r),M((0,a.Z)((0,o.Z)({},G),{displayName:i,displayColor:c})),x(r),(0,O.qQ)(_,r),[3,4]):[2];case 3:return u=s.sent(),fe(y.Fail),console.error("ChatService -> registerUser() ERROR: \n".concat(u)),[3,4];case 4:return[2]}}))}));return function(t){return e.apply(this,arguments)}}(),ge=function(e){switch(e.type){case v.C.ERROR_NEEDS_REGISTRATION:(0,O.qQ)(_,""),x(null),Ee();break;case v.C.CONNECTED_USER_INFO:b(e,F,M),Q((function(t){return(0,c.Z)(t).concat([e])}));break;case v.C.CHAT:Q((function(t){return(0,c.Z)(t).concat([e])}));break;case v.C.NAME_CHANGE:C(e,$,Q);break;case v.C.USER_JOINED:case v.C.SYSTEM:case v.C.CHAT_ACTION:Q((function(t){return(0,c.Z)(t).concat([e])}));break;case v.C.VISIBILITY_UPDATE:!function(e){var t=e.ids;if(e.visible){var n=ne.filter((function(e){return!t.includes(e)}));re(n)}else{var r=(0,c.Z)(ne).concat((0,c.Z)(t));re(r)}}(e);break;default:console.error("Unknown socket message type: ",e.type)}},ve=function(){var e=(0,r.Z)((function(){var e,t;return(0,s.__generator)(this,(function(n){switch(n.label){case 0:return n.trys.push([0,2,,3]),[4,g.getChatHistory(q)];case 1:return e=n.sent(),Q((function(t){return(0,c.Z)(t).concat((0,c.Z)(e))})),[3,3];case 2:return t=n.sent(),console.error("ChatService -> getChatHistory() ERROR: \n".concat(t)),[3,3];case 3:return[2]}}))}));return function(){return e.apply(this,arguments)}}(),pe=function(){var t=(0,r.Z)((function(){return(0,s.__generator)(this,(function(t){try{(e=new p(q,"/ws")).handleMessage=ge,ee(e)}catch(n){console.error("ChatService -> startChat() ERROR: \n".concat(n))}return[2]}))}));return function(){return t.apply(this,arguments)}}();return(0,u.useEffect)((function(){try{if(window.configHydration){var e=JSON.parse(window.configHydration);Y(e)}}catch(n){console.error("Error parsing config hydration",n)}try{if(window.statusHydration){var t=JSON.parse(window.statusHydration);j(t)}}catch(r){console.error("error parsing status hydration",r)}}),[]),(0,u.useEffect)((function(){ae&&se&&fe(y.Loaded)}),[ae,se]),(0,u.useEffect)((function(){!J.chatDisabled&&q&&se&&pe()}),[se,q]),(0,u.useEffect)((function(){}),[$]),(0,u.useEffect)((function(){de(),Ee(),he(),clearInterval(R),R=setInterval((function(){he()}),5e3)}),[n]),(0,u.useEffect)((function(){q&&ve()}),[q]),(0,u.useEffect)((function(){E.onTransition((function(e){if(e.changed){var t,n=(t=e.meta,Object.keys(t).reduce((function(e,n){var r=t[n];return Object.assign(e,r),e}),{}));K(n)}}))})),null}},11622:function(e,t,n){var r;n.d(t,{C:function(){return r}}),function(e){e.CHAT="CHAT",e.PING="PING",e.NAME_CHANGE="NAME_CHANGE",e.COLOR_CHANGE="COLOR_CHANGE",e.PONG="PONG",e.SYSTEM="SYSTEM",e.USER_JOINED="USER_JOINED",e.CHAT_ACTION="CHAT_ACTION",e.FEDIVERSE_ENGAGEMENT_FOLLOW="FEDIVERSE_ENGAGEMENT_FOLLOW",e.FEDIVERSE_ENGAGEMENT_LIKE="FEDIVERSE_ENGAGEMENT_LIKE",e.FEDIVERSE_ENGAGEMENT_REPOST="FEDIVERSE_ENGAGEMENT_REPOST",e.CONNECTED_USER_INFO="CONNECTED_USER_INFO",e.ERROR_USER_DISABLED="ERROR_USER_DISABLED",e.ERROR_NEEDS_REGISTRATION="ERROR_NEEDS_REGISTRATION",e.ERROR_MAX_CONNECTIONS_EXCEEDED="ERROR_MAX_CONNECTIONS_EXCEEDED",e.VISIBILITY_UPDATE="VISIBILITY-UPDATE"}(r||(r={}))},73682:function(e,t,n){n.d(t,{$o:function(){return o},dA:function(){return r},qQ:function(){return a}});var r={username:"username",hasDisplayedNotificationModal:"HAS_DISPLAYED_NOTIFICATION_MODAL",userVisitCount:"USER_VISIT_COUNT"};function o(e){try{return localStorage.getItem(e)}catch(t){}return null}function a(e,t){try{return""!==t&&null!==t?localStorage.setItem(e,t):localStorage.removeItem(e),!0}catch(n){}return!1}}}]); \ No newline at end of file diff --git a/static/web/_next/static/chunks/pages/embed/chat/readonly-7d52555642af387d.js b/static/web/_next/static/chunks/pages/embed/chat/readonly-b7b2cfdeeb8e28e3.js similarity index 94% rename from static/web/_next/static/chunks/pages/embed/chat/readonly-7d52555642af387d.js rename to static/web/_next/static/chunks/pages/embed/chat/readonly-b7b2cfdeeb8e28e3.js index b025958a1..97584f3ba 100644 --- a/static/web/_next/static/chunks/pages/embed/chat/readonly-7d52555642af387d.js +++ b/static/web/_next/static/chunks/pages/embed/chat/readonly-b7b2cfdeeb8e28e3.js @@ -1 +1 @@ -(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8399],{27561:function(n,t,r){var e=r(67990),i=/^\s+/;n.exports=function(n){return n?n.slice(0,e(n)+1).replace(i,""):n}},67990:function(n){var t=/\s/;n.exports=function(n){for(var r=n.length;r--&&t.test(n.charAt(r)););return r}},23279:function(n,t,r){var e=r(13218),i=r(7771),u=r(14841),o=Math.max,a=Math.min;n.exports=function(n,t,r){var f,c,s,v,l,d,p=0,h=!1,m=!1,x=!0;if("function"!=typeof n)throw new TypeError("Expected a function");function _(t){var r=f,e=c;return f=c=void 0,p=t,v=n.apply(e,r)}function y(n){return p=n,l=setTimeout(N,t),h?_(n):v}function w(n){var r=n-d;return void 0===d||r>=t||r<0||m&&n-p>=s}function N(){var n=i();if(w(n))return T(n);l=setTimeout(N,function(n){var r=t-(n-d);return m?a(r,s-(n-p)):r}(n))}function T(n){return l=void 0,x&&f?_(n):(f=c=void 0,v)}function b(){var n=i(),r=w(n);if(f=arguments,c=this,d=n,r){if(void 0===l)return y(d);if(m)return clearTimeout(l),l=setTimeout(N,t),_(d)}return void 0===l&&(l=setTimeout(N,t)),v}return t=u(t)||0,e(r)&&(h=!!r.leading,s=(m="maxWait"in r)?o(u(r.maxWait)||0,t):s,x="trailing"in r?!!r.trailing:x),b.cancel=function(){void 0!==l&&clearTimeout(l),p=0,f=d=c=l=void 0},b.flush=function(){return void 0===l?v:T(i())},b}},33448:function(n,t,r){var e=r(44239),i=r(37005);n.exports=function(n){return"symbol"==typeof n||i(n)&&"[object Symbol]"==e(n)}},7771:function(n,t,r){var e=r(55639);n.exports=function(){return e.Date.now()}},14841:function(n,t,r){var e=r(27561),i=r(13218),u=r(33448),o=/^[-+]0x[0-9a-f]+$/i,a=/^0b[01]+$/i,f=/^0o[0-7]+$/i,c=parseInt;n.exports=function(n){if("number"==typeof n)return n;if(u(n))return NaN;if(i(n)){var t="function"==typeof n.valueOf?n.valueOf():n;n=i(t)?t+"":t}if("string"!=typeof n)return 0===n?n:+n;n=e(n);var r=a.test(n);return r||f.test(n)?c(n.slice(2),r?2:8):o.test(n)?NaN:+n}},88054:function(n,t,r){(window.__NEXT_P=window.__NEXT_P||[]).push(["/embed/chat/readonly",function(){return r(15410)}])},15410:function(n,t,r){"use strict";r.r(t),r.d(t,{default:function(){return a}});var e=r(85893),i=r(4480),u=r(28763),o=r(1899);function a(){var n=(0,i.sJ)(o.db),t=(0,i.sJ)(o.pH);if(!n)return null;var r=n.id,a=n.displayName;return(0,e.jsxs)("div",{children:[(0,e.jsx)(o.me,{}),(0,e.jsx)(u.ChatContainer,{messages:t,usernameToHighlight:a,chatUserId:r,isModerator:!1,showInput:!1,height:"100vh"})]})}}},function(n){n.O(0,[1272,8700,9372,7364,1899,8763,9774,2888,179],(function(){return t=88054,n(n.s=t);var t}));var t=n.O();_N_E=t}]); \ No newline at end of file +(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8399],{27561:function(n,t,r){var e=r(67990),i=/^\s+/;n.exports=function(n){return n?n.slice(0,e(n)+1).replace(i,""):n}},67990:function(n){var t=/\s/;n.exports=function(n){for(var r=n.length;r--&&t.test(n.charAt(r)););return r}},23279:function(n,t,r){var e=r(13218),i=r(7771),u=r(14841),o=Math.max,a=Math.min;n.exports=function(n,t,r){var f,c,s,v,l,d,p=0,h=!1,m=!1,x=!0;if("function"!=typeof n)throw new TypeError("Expected a function");function _(t){var r=f,e=c;return f=c=void 0,p=t,v=n.apply(e,r)}function y(n){return p=n,l=setTimeout(N,t),h?_(n):v}function w(n){var r=n-d;return void 0===d||r>=t||r<0||m&&n-p>=s}function N(){var n=i();if(w(n))return T(n);l=setTimeout(N,function(n){var r=t-(n-d);return m?a(r,s-(n-p)):r}(n))}function T(n){return l=void 0,x&&f?_(n):(f=c=void 0,v)}function b(){var n=i(),r=w(n);if(f=arguments,c=this,d=n,r){if(void 0===l)return y(d);if(m)return clearTimeout(l),l=setTimeout(N,t),_(d)}return void 0===l&&(l=setTimeout(N,t)),v}return t=u(t)||0,e(r)&&(h=!!r.leading,s=(m="maxWait"in r)?o(u(r.maxWait)||0,t):s,x="trailing"in r?!!r.trailing:x),b.cancel=function(){void 0!==l&&clearTimeout(l),p=0,f=d=c=l=void 0},b.flush=function(){return void 0===l?v:T(i())},b}},33448:function(n,t,r){var e=r(44239),i=r(37005);n.exports=function(n){return"symbol"==typeof n||i(n)&&"[object Symbol]"==e(n)}},7771:function(n,t,r){var e=r(55639);n.exports=function(){return e.Date.now()}},14841:function(n,t,r){var e=r(27561),i=r(13218),u=r(33448),o=/^[-+]0x[0-9a-f]+$/i,a=/^0b[01]+$/i,f=/^0o[0-7]+$/i,c=parseInt;n.exports=function(n){if("number"==typeof n)return n;if(u(n))return NaN;if(i(n)){var t="function"==typeof n.valueOf?n.valueOf():n;n=i(t)?t+"":t}if("string"!=typeof n)return 0===n?n:+n;n=e(n);var r=a.test(n);return r||f.test(n)?c(n.slice(2),r?2:8):o.test(n)?NaN:+n}},88054:function(n,t,r){(window.__NEXT_P=window.__NEXT_P||[]).push(["/embed/chat/readonly",function(){return r(15410)}])},15410:function(n,t,r){"use strict";r.r(t),r.d(t,{default:function(){return a}});var e=r(85893),i=r(4480),u=r(71632),o=r(1899);function a(){var n=(0,i.sJ)(o.db),t=(0,i.sJ)(o.pH);if(!n)return null;var r=n.id,a=n.displayName;return(0,e.jsxs)("div",{children:[(0,e.jsx)(o.me,{}),(0,e.jsx)(u.ChatContainer,{messages:t,usernameToHighlight:a,chatUserId:r,isModerator:!1,showInput:!1,height:"100vh"})]})}}},function(n){n.O(0,[1272,8700,9372,7364,1899,1632,9774,2888,179],(function(){return t=88054,n(n.s=t);var t}));var t=n.O();_N_E=t}]); \ No newline at end of file diff --git a/static/web/_next/static/chunks/pages/embed/chat/readwrite-b54f76d80455488b.js b/static/web/_next/static/chunks/pages/embed/chat/readwrite-0d78334a1012d08f.js similarity index 98% rename from static/web/_next/static/chunks/pages/embed/chat/readwrite-b54f76d80455488b.js rename to static/web/_next/static/chunks/pages/embed/chat/readwrite-0d78334a1012d08f.js index 43572c49f..7e55f3390 100644 --- a/static/web/_next/static/chunks/pages/embed/chat/readwrite-b54f76d80455488b.js +++ b/static/web/_next/static/chunks/pages/embed/chat/readwrite-0d78334a1012d08f.js @@ -1 +1 @@ -(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[955],{94149:function(e,n,t){"use strict";t.d(n,{Z:function(){return l}});var r=t(1413),o=t(67294),i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M832 464h-68V240c0-70.7-57.3-128-128-128H388c-70.7 0-128 57.3-128 128v224h-68c-17.7 0-32 14.3-32 32v384c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V496c0-17.7-14.3-32-32-32zM332 240c0-30.9 25.1-56 56-56h248c30.9 0 56 25.1 56 56v224H332V240zm460 600H232V536h560v304zM484 701v53c0 4.4 3.6 8 8 8h40c4.4 0 8-3.6 8-8v-53a48.01 48.01 0 10-56 0z"}}]},name:"lock",theme:"outlined"},a=t(42135),c=function(e,n){return o.createElement(a.Z,(0,r.Z)((0,r.Z)({},e),{},{ref:n,icon:i}))};c.displayName="LockOutlined";var l=o.forwardRef(c)},87547:function(e,n,t){"use strict";t.d(n,{Z:function(){return l}});var r=t(1413),o=t(67294),i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M858.5 763.6a374 374 0 00-80.6-119.5 375.63 375.63 0 00-119.5-80.6c-.4-.2-.8-.3-1.2-.5C719.5 518 760 444.7 760 362c0-137-111-248-248-248S264 225 264 362c0 82.7 40.5 156 102.8 201.1-.4.2-.8.3-1.2.5-44.8 18.9-85 46-119.5 80.6a375.63 375.63 0 00-80.6 119.5A371.7 371.7 0 00136 901.8a8 8 0 008 8.2h60c4.4 0 7.9-3.5 8-7.8 2-77.2 33-149.5 87.8-204.3 56.7-56.7 132-87.9 212.2-87.9s155.5 31.2 212.2 87.9C779 752.7 810 825 812 902.2c.1 4.4 3.6 7.8 8 7.8h60a8 8 0 008-8.2c-1-47.8-10.9-94.3-29.5-138.2zM512 534c-45.9 0-89.1-17.9-121.6-50.4S340 407.9 340 362c0-45.9 17.9-89.1 50.4-121.6S466.1 190 512 190s89.1 17.9 121.6 50.4S684 316.1 684 362c0 45.9-17.9 89.1-50.4 121.6S557.9 534 512 534z"}}]},name:"user",theme:"outlined"},a=t(42135),c=function(e,n){return o.createElement(a.Z,(0,r.Z)((0,r.Z)({},e),{},{ref:n,icon:i}))};c.displayName="UserOutlined";var l=o.forwardRef(c)},20550:function(e,n,t){"use strict";t.d(n,{Z:function(){return w}});var r=t(4942),o=t(87462),i=t(97685),a=t(97937),c=t(94184),l=t.n(c),u=t(98423),s=t(67294),f=t(53124),d=t(98787),p=t(68349),h=function(e,n){var t={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&n.indexOf(r)<0&&(t[r]=e[r]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o=n||t<0||y&&e-h>=s}function w(){var e=o();if(x(e))return k(e);d=setTimeout(w,function(e){var t=n-(e-p);return y?c(t,s-(e-h)):t}(e))}function k(e){return d=void 0,m&&l?g(e):(l=u=void 0,f)}function C(){var e=o(),t=x(e);if(l=arguments,u=this,p=e,t){if(void 0===d)return b(p);if(y)return clearTimeout(d),d=setTimeout(w,n),g(p)}return void 0===d&&(d=setTimeout(w,n)),f}return n=i(n)||0,r(t)&&(v=!!t.leading,s=(y="maxWait"in t)?a(i(t.maxWait)||0,n):s,m="trailing"in t?!!t.trailing:m),C.cancel=function(){void 0!==d&&clearTimeout(d),h=0,l=p=u=d=void 0},C.flush=function(){return void 0===d?f:k(o())},C}},33448:function(e,n,t){var r=t(44239),o=t(37005);e.exports=function(e){return"symbol"==typeof e||o(e)&&"[object Symbol]"==r(e)}},7771:function(e,n,t){var r=t(55639);e.exports=function(){return r.Date.now()}},14841:function(e,n,t){var r=t(27561),o=t(13218),i=t(33448),a=/^[-+]0x[0-9a-f]+$/i,c=/^0b[01]+$/i,l=/^0o[0-7]+$/i,u=parseInt;e.exports=function(e){if("number"==typeof e)return e;if(i(e))return NaN;if(o(e)){var n="function"==typeof e.valueOf?e.valueOf():e;e=o(n)?n+"":n}if("string"!=typeof e)return 0===e?e:+e;e=r(e);var t=c.test(e);return t||l.test(e)?u(e.slice(2),t?2:8):a.test(e)?NaN:+e}},30672:function(e,n,t){(window.__NEXT_P=window.__NEXT_P||[]).push(["/embed/chat/readwrite",function(){return t(41095)}])},8119:function(e,n,t){"use strict";t.d(n,{h:function(){return S},Z:function(){return A}});var r=t(85893),o=t(97183),i=t(94199),a=t(20550),c=t(828),l=t(66516),u=t(38504),s=t(71577),f=t(26713),d=t(86548),p=t(94149),h=t(38545),v=t(87547),y=t(39398),m=t(4480),g=t(67294),b=t(49218),x=t(5152),w=t.n(x),k=t(1899),C=t(47093),O=t.n(C),j=w()((function(){return t.e(2365).then(t.bind(t,32365)).then((function(e){return e.Modal}))}),{loadableGenerated:{webpack:function(){return[32365]}}}),E=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]}}}),_=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,g.useState)(!1),i=o[0],a=o[1],x=(0,g.useState)(!1),w=x[0],C=x[1],Z=(0,c.Z)((0,m.FV)(k.ZA),2),N=Z[0],P=Z[1],K=(0,m.sJ)(k.Q),T=function(){P(!N)};(0,b.y1)("c",T,{enableOnContentEditable:!1},[N]);var S=(0,m.sJ)(k.db);if(!S)return null;var A=S.displayName,M=t||A,I=(0,r.jsxs)(l.Z,{children:[(0,r.jsx)(l.Z.Item,{icon:(0,r.jsx)(d.Z,{}),onClick:function(){a(!0)},children:"Change name"},"0"),(0,r.jsx)(l.Z.Item,{icon:(0,r.jsx)(p.Z,{}),onClick:function(){return C(!0)},children:"Authenticate"},"1"),K.chatAvailable&&(0,r.jsx)(l.Z.Item,{icon:(0,r.jsx)(h.Z,{}),onClick:function(){return T()},children:"Toggle chat"},"3")]});return(0,r.jsxs)("div",{className:"".concat(O().root),children:[(0,r.jsx)(u.Z,{overlay:I,trigger:["click"],children:(0,r.jsx)(s.Z,{type:"primary",icon:(0,r.jsx)(v.Z,{style:{marginRight:".5rem"}}),children:(0,r.jsxs)(f.Z,{children:[M,(0,r.jsx)(y.Z,{})]})})}),(0,r.jsx)(j,{title:"Change Chat Display Name",open:i,handleCancel:function(){return a(!1)},children:(0,r.jsx)(E,{})}),(0,r.jsx)(j,{title:"Authenticate",open:w,handleCancel:function(){return C(!1)},children:(0,r.jsx)(_,{})})]})},N=t(60113),P=t(92910),K=t.n(P),T=o.Z.Header,S=function(e){var n=e.name,t=void 0===n?"Your stream title":n,o=e.chatAvailable,c=e.chatDisabled;return(0,r.jsxs)(T,{className:"".concat(K().header),children:[(0,r.jsxs)("div",{className:"".concat(K().logo),children:[(0,r.jsx)(N.C,{variant:"contrast"}),(0,r.jsx)("span",{children:t})]}),o&&!c&&(0,r.jsx)(Z,{}),!o&&!c&&(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"})})]})},A=S},41095:function(e,n,t){"use strict";t.r(n),t.d(n,{default:function(){return l}});var r=t(85893),o=t(4480),i=t(28763),a=t(1899),c=t(8119);function l(){var e=(0,o.sJ)(a.db),n=(0,o.sJ)(a.pH),t=(0,o.sJ)(a.g1),l=t.name,u=t.chatDisabled;if(!e)return null;var s=e.id,f=e.displayName,d=e.isModerator;return(0,r.jsxs)("div",{children:[(0,r.jsx)(a.me,{}),(0,r.jsx)(c.Z,{name:l,chatAvailable:!0,chatDisabled:u}),(0,r.jsx)(i.ChatContainer,{messages:n,usernameToHighlight:f,chatUserId:s,isModerator:d,showInput:!0,height:"80vh"})]})}},47093:function(e){e.exports={root:"UserDropdown_root__IdxfQ","ant-space":"UserDropdown_ant-space__XJTZ3","ant-space-item":"UserDropdown_ant-space-item__w4nC2"}},92910:function(e){e.exports={header:"Header_header__U4Ro1",logo:"Header_logo__HLZ6Z"}},49218:function(e,n,t){"use strict";t.d(n,{y1:function(){return N}});var r="undefined"!==typeof navigator&&navigator.userAgent.toLowerCase().indexOf("firefox")>0;function o(e,n,t,r){e.addEventListener?e.addEventListener(n,t,r):e.attachEvent&&e.attachEvent("on".concat(n),(function(){t(window.event)}))}function i(e,n){for(var t=n.slice(0,n.length-1),r=0;r=0;)n[t-1]+=",",n.splice(t,1),t=n.lastIndexOf("");return n}for(var c={backspace:8,tab:9,clear:12,enter:13,return:13,esc:27,escape:27,space:32,left:37,up:38,right:39,down:40,del:46,delete:46,ins:45,insert:45,home:36,end:35,pageup:33,pagedown:34,capslock:20,num_0:96,num_1:97,num_2:98,num_3:99,num_4:100,num_5:101,num_6:102,num_7:103,num_8:104,num_9:105,num_multiply:106,num_add:107,num_enter:108,num_subtract:109,num_decimal:110,num_divide:111,"\u21ea":20,",":188,".":190,"/":191,"`":192,"-":r?173:189,"=":r?61:187,";":r?59:186,"'":222,"[":219,"]":221,"\\":220},l={"\u21e7":16,shift:16,"\u2325":18,alt:18,option:18,"\u2303":17,ctrl:17,control:17,"\u2318":91,cmd:91,command:91},u={16:"shiftKey",18:"altKey",17:"ctrlKey",91:"metaKey",shiftKey:16,ctrlKey:17,altKey:18,metaKey:91},s={16:!1,18:!1,17:!1,91:!1},f={},d=1;d<20;d++)c["f".concat(d)]=111+d;var p=[],h=!1,v="all",y=[],m=function(e){return c[e.toLowerCase()]||l[e.toLowerCase()]||e.toUpperCase().charCodeAt(0)};function g(e){v=e||"all"}function b(){return v||"all"}var x=function(e){var n=e.key,t=e.scope,r=e.method,o=e.splitKey,c=void 0===o?"+":o;a(n).forEach((function(e){var n=e.split(c),o=n.length,a=n[o-1],u="*"===a?"*":m(a);if(f[u]){t||(t=b());var s=o>1?i(l,n):[];f[u]=f[u].filter((function(e){return!((!r||e.method===r)&&e.scope===t&&function(e,n){for(var t=e.length>=n.length?e:n,r=e.length>=n.length?n:e,o=!0,i=0;i0,s)Object.prototype.hasOwnProperty.call(s,i)&&(!s[i]&&n.mods.indexOf(+i)>-1||s[i]&&-1===n.mods.indexOf(+i))&&(o=!1);(0!==n.mods.length||s[16]||s[18]||s[17]||s[91])&&!o&&"*"!==n.shortcut||!1===n.method(e,n)&&(e.preventDefault?e.preventDefault():e.returnValue=!1,e.stopPropagation&&e.stopPropagation(),e.cancelBubble&&(e.cancelBubble=!0))}}function k(e,n){var t=f["*"],r=e.keyCode||e.which||e.charCode;if(C.filter.call(this,e)){if(93!==r&&224!==r||(r=91),-1===p.indexOf(r)&&229!==r&&p.push(r),["ctrlKey","altKey","shiftKey","metaKey"].forEach((function(n){var t=u[n];e[n]&&-1===p.indexOf(t)?p.push(t):!e[n]&&p.indexOf(t)>-1?p.splice(p.indexOf(t),1):"metaKey"===n&&e[n]&&3===p.length&&(e.ctrlKey||e.shiftKey||e.altKey||(p=p.slice(p.indexOf(t))))})),r in s){for(var o in s[r]=!0,l)l[o]===r&&(C[o]=!0);if(!t)return}for(var i in s)Object.prototype.hasOwnProperty.call(s,i)&&(s[i]=e[u[i]]);e.getModifierState&&(!e.altKey||e.ctrlKey)&&e.getModifierState("AltGraph")&&(-1===p.indexOf(17)&&p.push(17),-1===p.indexOf(18)&&p.push(18),s[17]=!0,s[18]=!0);var a=b();if(t)for(var c=0;c1&&(c=i(l,e)),(e="*"===(e=e[e.length-1])?"*":m(e))in f||(f[e]=[]),f[e].push({keyup:g,keydown:b,scope:u,mods:c,shortcut:r[v],method:t,key:r[v],splitKey:x,element:d});"undefined"!==typeof d&&!function(e){return y.indexOf(e)>-1}(d)&&window&&(y.push(d),o(d,"keydown",(function(e){k(e,d)}),w),h||(h=!0,o(window,"focus",(function(){p=[]}),w)),o(d,"keyup",(function(e){k(e,d),function(e){var n=e.keyCode||e.which||e.charCode,t=p.indexOf(n);if(t>=0&&p.splice(t,1),e.key&&"meta"===e.key.toLowerCase()&&p.splice(0,p.length),93!==n&&224!==n||(n=91),n in s)for(var r in s[n]=!1,l)l[r]===n&&(C[r]=!1)}(e)}),w))}var O={setScope:g,getScope:b,deleteScope:function(e,n){var t,r;for(var o in e||(e=b()),f)if(Object.prototype.hasOwnProperty.call(f,o))for(t=f[o],r=0;r1&&void 0!==arguments[1]?arguments[1]:"all";Object.keys(f).forEach((function(t){var r=f[t].find((function(t){return t.scope===n&&t.shortcut===e}));r&&r.method&&r.method()}))},unbind:function(e){if("undefined"===typeof e)Object.keys(f).forEach((function(e){return delete f[e]}));else if(Array.isArray(e))e.forEach((function(e){e.key&&x(e)}));else if("object"===typeof e)e.key&&x(e);else if("string"===typeof e){for(var n=arguments.length,t=new Array(n>1?n-1:0),r=1;r=n||t<0||y&&e-h>=s}function w(){var e=o();if(x(e))return k(e);d=setTimeout(w,function(e){var t=n-(e-p);return y?c(t,s-(e-h)):t}(e))}function k(e){return d=void 0,m&&l?g(e):(l=u=void 0,f)}function C(){var e=o(),t=x(e);if(l=arguments,u=this,p=e,t){if(void 0===d)return b(p);if(y)return clearTimeout(d),d=setTimeout(w,n),g(p)}return void 0===d&&(d=setTimeout(w,n)),f}return n=i(n)||0,r(t)&&(v=!!t.leading,s=(y="maxWait"in t)?a(i(t.maxWait)||0,n):s,m="trailing"in t?!!t.trailing:m),C.cancel=function(){void 0!==d&&clearTimeout(d),h=0,l=p=u=d=void 0},C.flush=function(){return void 0===d?f:k(o())},C}},33448:function(e,n,t){var r=t(44239),o=t(37005);e.exports=function(e){return"symbol"==typeof e||o(e)&&"[object Symbol]"==r(e)}},7771:function(e,n,t){var r=t(55639);e.exports=function(){return r.Date.now()}},14841:function(e,n,t){var r=t(27561),o=t(13218),i=t(33448),a=/^[-+]0x[0-9a-f]+$/i,c=/^0b[01]+$/i,l=/^0o[0-7]+$/i,u=parseInt;e.exports=function(e){if("number"==typeof e)return e;if(i(e))return NaN;if(o(e)){var n="function"==typeof e.valueOf?e.valueOf():e;e=o(n)?n+"":n}if("string"!=typeof e)return 0===e?e:+e;e=r(e);var t=c.test(e);return t||l.test(e)?u(e.slice(2),t?2:8):a.test(e)?NaN:+e}},30672:function(e,n,t){(window.__NEXT_P=window.__NEXT_P||[]).push(["/embed/chat/readwrite",function(){return t(41095)}])},8119:function(e,n,t){"use strict";t.d(n,{h:function(){return S},Z:function(){return A}});var r=t(85893),o=t(97183),i=t(94199),a=t(20550),c=t(828),l=t(66516),u=t(38504),s=t(71577),f=t(26713),d=t(86548),p=t(94149),h=t(38545),v=t(87547),y=t(39398),m=t(4480),g=t(67294),b=t(49218),x=t(5152),w=t.n(x),k=t(1899),C=t(47093),O=t.n(C),j=w()((function(){return t.e(2365).then(t.bind(t,32365)).then((function(e){return e.Modal}))}),{loadableGenerated:{webpack:function(){return[32365]}}}),E=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]}}}),_=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,g.useState)(!1),i=o[0],a=o[1],x=(0,g.useState)(!1),w=x[0],C=x[1],Z=(0,c.Z)((0,m.FV)(k.ZA),2),N=Z[0],P=Z[1],K=(0,m.sJ)(k.Q),T=function(){P(!N)};(0,b.y1)("c",T,{enableOnContentEditable:!1},[N]);var S=(0,m.sJ)(k.db);if(!S)return null;var A=S.displayName,M=t||A,I=(0,r.jsxs)(l.Z,{children:[(0,r.jsx)(l.Z.Item,{icon:(0,r.jsx)(d.Z,{}),onClick:function(){a(!0)},children:"Change name"},"0"),(0,r.jsx)(l.Z.Item,{icon:(0,r.jsx)(p.Z,{}),onClick:function(){return C(!0)},children:"Authenticate"},"1"),K.chatAvailable&&(0,r.jsx)(l.Z.Item,{icon:(0,r.jsx)(h.Z,{}),onClick:function(){return T()},children:"Toggle chat"},"3")]});return(0,r.jsxs)("div",{className:"".concat(O().root),children:[(0,r.jsx)(u.Z,{overlay:I,trigger:["click"],children:(0,r.jsx)(s.Z,{type:"primary",icon:(0,r.jsx)(v.Z,{style:{marginRight:".5rem"}}),children:(0,r.jsxs)(f.Z,{children:[M,(0,r.jsx)(y.Z,{})]})})}),(0,r.jsx)(j,{title:"Change Chat Display Name",open:i,handleCancel:function(){return a(!1)},children:(0,r.jsx)(E,{})}),(0,r.jsx)(j,{title:"Authenticate",open:w,handleCancel:function(){return C(!1)},children:(0,r.jsx)(_,{})})]})},N=t(60113),P=t(92910),K=t.n(P),T=o.Z.Header,S=function(e){var n=e.name,t=void 0===n?"Your stream title":n,o=e.chatAvailable,c=e.chatDisabled;return(0,r.jsxs)(T,{className:"".concat(K().header),children:[(0,r.jsxs)("div",{className:"".concat(K().logo),children:[(0,r.jsx)(N.C,{variant:"contrast"}),(0,r.jsx)("span",{children:t})]}),o&&!c&&(0,r.jsx)(Z,{}),!o&&!c&&(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"})})]})},A=S},41095:function(e,n,t){"use strict";t.r(n),t.d(n,{default:function(){return l}});var r=t(85893),o=t(4480),i=t(71632),a=t(1899),c=t(8119);function l(){var e=(0,o.sJ)(a.db),n=(0,o.sJ)(a.pH),t=(0,o.sJ)(a.g1),l=t.name,u=t.chatDisabled;if(!e)return null;var s=e.id,f=e.displayName,d=e.isModerator;return(0,r.jsxs)("div",{children:[(0,r.jsx)(a.me,{}),(0,r.jsx)(c.Z,{name:l,chatAvailable:!0,chatDisabled:u}),(0,r.jsx)(i.ChatContainer,{messages:n,usernameToHighlight:f,chatUserId:s,isModerator:d,showInput:!0,height:"80vh"})]})}},47093:function(e){e.exports={root:"UserDropdown_root__IdxfQ","ant-space":"UserDropdown_ant-space__XJTZ3","ant-space-item":"UserDropdown_ant-space-item__w4nC2"}},92910:function(e){e.exports={header:"Header_header__U4Ro1",logo:"Header_logo__HLZ6Z"}},49218:function(e,n,t){"use strict";t.d(n,{y1:function(){return N}});var r="undefined"!==typeof navigator&&navigator.userAgent.toLowerCase().indexOf("firefox")>0;function o(e,n,t,r){e.addEventListener?e.addEventListener(n,t,r):e.attachEvent&&e.attachEvent("on".concat(n),(function(){t(window.event)}))}function i(e,n){for(var t=n.slice(0,n.length-1),r=0;r=0;)n[t-1]+=",",n.splice(t,1),t=n.lastIndexOf("");return n}for(var c={backspace:8,tab:9,clear:12,enter:13,return:13,esc:27,escape:27,space:32,left:37,up:38,right:39,down:40,del:46,delete:46,ins:45,insert:45,home:36,end:35,pageup:33,pagedown:34,capslock:20,num_0:96,num_1:97,num_2:98,num_3:99,num_4:100,num_5:101,num_6:102,num_7:103,num_8:104,num_9:105,num_multiply:106,num_add:107,num_enter:108,num_subtract:109,num_decimal:110,num_divide:111,"\u21ea":20,",":188,".":190,"/":191,"`":192,"-":r?173:189,"=":r?61:187,";":r?59:186,"'":222,"[":219,"]":221,"\\":220},l={"\u21e7":16,shift:16,"\u2325":18,alt:18,option:18,"\u2303":17,ctrl:17,control:17,"\u2318":91,cmd:91,command:91},u={16:"shiftKey",18:"altKey",17:"ctrlKey",91:"metaKey",shiftKey:16,ctrlKey:17,altKey:18,metaKey:91},s={16:!1,18:!1,17:!1,91:!1},f={},d=1;d<20;d++)c["f".concat(d)]=111+d;var p=[],h=!1,v="all",y=[],m=function(e){return c[e.toLowerCase()]||l[e.toLowerCase()]||e.toUpperCase().charCodeAt(0)};function g(e){v=e||"all"}function b(){return v||"all"}var x=function(e){var n=e.key,t=e.scope,r=e.method,o=e.splitKey,c=void 0===o?"+":o;a(n).forEach((function(e){var n=e.split(c),o=n.length,a=n[o-1],u="*"===a?"*":m(a);if(f[u]){t||(t=b());var s=o>1?i(l,n):[];f[u]=f[u].filter((function(e){return!((!r||e.method===r)&&e.scope===t&&function(e,n){for(var t=e.length>=n.length?e:n,r=e.length>=n.length?n:e,o=!0,i=0;i0,s)Object.prototype.hasOwnProperty.call(s,i)&&(!s[i]&&n.mods.indexOf(+i)>-1||s[i]&&-1===n.mods.indexOf(+i))&&(o=!1);(0!==n.mods.length||s[16]||s[18]||s[17]||s[91])&&!o&&"*"!==n.shortcut||!1===n.method(e,n)&&(e.preventDefault?e.preventDefault():e.returnValue=!1,e.stopPropagation&&e.stopPropagation(),e.cancelBubble&&(e.cancelBubble=!0))}}function k(e,n){var t=f["*"],r=e.keyCode||e.which||e.charCode;if(C.filter.call(this,e)){if(93!==r&&224!==r||(r=91),-1===p.indexOf(r)&&229!==r&&p.push(r),["ctrlKey","altKey","shiftKey","metaKey"].forEach((function(n){var t=u[n];e[n]&&-1===p.indexOf(t)?p.push(t):!e[n]&&p.indexOf(t)>-1?p.splice(p.indexOf(t),1):"metaKey"===n&&e[n]&&3===p.length&&(e.ctrlKey||e.shiftKey||e.altKey||(p=p.slice(p.indexOf(t))))})),r in s){for(var o in s[r]=!0,l)l[o]===r&&(C[o]=!0);if(!t)return}for(var i in s)Object.prototype.hasOwnProperty.call(s,i)&&(s[i]=e[u[i]]);e.getModifierState&&(!e.altKey||e.ctrlKey)&&e.getModifierState("AltGraph")&&(-1===p.indexOf(17)&&p.push(17),-1===p.indexOf(18)&&p.push(18),s[17]=!0,s[18]=!0);var a=b();if(t)for(var c=0;c1&&(c=i(l,e)),(e="*"===(e=e[e.length-1])?"*":m(e))in f||(f[e]=[]),f[e].push({keyup:g,keydown:b,scope:u,mods:c,shortcut:r[v],method:t,key:r[v],splitKey:x,element:d});"undefined"!==typeof d&&!function(e){return y.indexOf(e)>-1}(d)&&window&&(y.push(d),o(d,"keydown",(function(e){k(e,d)}),w),h||(h=!0,o(window,"focus",(function(){p=[]}),w)),o(d,"keyup",(function(e){k(e,d),function(e){var n=e.keyCode||e.which||e.charCode,t=p.indexOf(n);if(t>=0&&p.splice(t,1),e.key&&"meta"===e.key.toLowerCase()&&p.splice(0,p.length),93!==n&&224!==n||(n=91),n in s)for(var r in s[n]=!1,l)l[r]===n&&(C[r]=!1)}(e)}),w))}var O={setScope:g,getScope:b,deleteScope:function(e,n){var t,r;for(var o in e||(e=b()),f)if(Object.prototype.hasOwnProperty.call(f,o))for(t=f[o],r=0;r1&&void 0!==arguments[1]?arguments[1]:"all";Object.keys(f).forEach((function(t){var r=f[t].find((function(t){return t.scope===n&&t.shortcut===e}));r&&r.method&&r.method()}))},unbind:function(e){if("undefined"===typeof e)Object.keys(f).forEach((function(e){return delete f[e]}));else if(Array.isArray(e))e.forEach((function(e){e.key&&x(e)}));else if("object"===typeof e)e.key&&x(e);else if("string"===typeof e){for(var n=arguments.length,t=new Array(n>1?n-1:0),r=1;r0&&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,71632)).then((function(e){return e.ChatContainer}))}),{loadableGenerated:{webpack:function(){return[71632]}}}),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,1632,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-240be6bbf8d8da16.js b/static/web/_next/static/chunks/pages/index-240be6bbf8d8da16.js deleted file mode 100644 index 12b099ad1..000000000 --- a/static/web/_next/static/chunks/pages/index-240be6bbf8d8da16.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 o=t(85893),r=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,r=(0,j.useState)(!1),i=r[0],a=r[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,o.jsxs)(l.Z,{children:[(0,o.jsx)(l.Z.Item,{icon:(0,o.jsx)(m.Z,{}),onClick:function(){a(!0)},children:"Change name"},"0"),(0,o.jsx)(l.Z.Item,{icon:(0,o.jsx)(f.Z,{}),onClick:function(){return C(!0)},children:"Authenticate"},"1"),L.chatAvailable&&(0,o.jsx)(l.Z.Item,{icon:(0,o.jsx)(h.Z,{}),onClick:function(){return E()},children:"Toggle chat"},"3")]});return(0,o.jsxs)("div",{className:"".concat(b().root),children:[(0,o.jsx)(c.Z,{overlay:M,trigger:["click"],children:(0,o.jsx)(u.Z,{type:"primary",icon:(0,o.jsx)(p.Z,{style:{marginRight:".5rem"}}),children:(0,o.jsxs)(d.Z,{children:[J,(0,o.jsx)(x.Z,{})]})})}),(0,o.jsx)(N,{title:"Change Chat Display Name",open:i,handleCancel:function(){return a(!1)},children:(0,o.jsx)(k,{})}),(0,o.jsx)(N,{title:"Authenticate",open:w,handleCancel:function(){return C(!1)},children:(0,o.jsx)(S,{})})]})},H=t(60113),T=t(92910),L=t.n(T),E=r.Z.Header,A=function(e){var n=e.name,t=void 0===n?"Your stream title":n,r=e.chatAvailable,s=e.chatDisabled;return(0,o.jsxs)(E,{className:"".concat(L().header),children:[(0,o.jsxs)("div",{className:"".concat(L().logo),children:[(0,o.jsx)(H.C,{variant:"contrast"}),(0,o.jsx)("span",{children:t})]}),r&&!s&&(0,o.jsx)(Z,{}),!r&&!s&&(0,o.jsx)(i.Z,{title:"Chat is available when the stream is live.",placement:"left",children:(0,o.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 o=t(85893),r=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,o.jsx)("div",{className:v().pageContentContainer,children:(0,o.jsx)("div",{className:v().customPageContent,dangerouslySetInnerHTML:{__html:n}})})},w=t(83818),y=t(63291),C=t.n(y),b=t(87412),N=t(28763),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,r=e.isModerator,a=e.displayName;return(0,o.jsx)(b.ZP,{className:S().root,collapsedWidth:0,width:320,children:(0,o.jsx)(N.ChatContainer,{messages:n,usernameToHighlight:a,chatUserId:t,isModerator:r})})},H=t(35603),T=t.n(H),L=function(e){var n=e.version;return(0,o.jsxs)("div",{className:T().footer,children:[(0,o.jsxs)("div",{className:T().text,children:["Powered by ",(0,o.jsx)("a",{href:"https://owncast.online",children:n})]}),(0,o.jsxs)("div",{className:T().links,children:[(0,o.jsx)("div",{className:T().item,children:(0,o.jsx)("a",{href:"https://owncast.online/docs",target:"_blank",rel:"noreferrer",children:"Documentation"})}),(0,o.jsx)("div",{className:T().item,children:(0,o.jsx)("a",{href:"https://owncast.online/help",target:"_blank",rel:"noreferrer",children:"Contribute"})}),(0,o.jsx)("div",{className:T().item,children:(0,o.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,o.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,r=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,o.jsxs)(o.Fragment,{children:[(0,o.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,o.jsx)("img",{src:a,className:"".concat(R().icon),alt:i}),r]}),(0,o.jsx)(M.Modal,{title:i||r,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),B=t.n(q),V=function(e){var n=e.src;return(0,o.jsx)("div",{className:B().root,children:(0,o.jsx)("div",{className:B().container,children:(0,o.jsx)(O.Z,{src:n,alt:"Logo",className:B().image,rootClassName:B().image})})})},Y=t(52740),Q=t.n(Y),X=function(e){var n=e.links;return(0,o.jsx)("div",{className:Q().links,children:n.map((function(e){return(0,o.jsx)("a",{href:e.url,className:Q().link,target:"_blank",rel:"noreferrer",children:(0,o.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,r=e.summary,i=e.logo,a=e.tags,s=e.links;return(0,o.jsx)("div",{className:K().root,children:(0,o.jsxs)("div",{className:K().logoTitleSection,children:[(0,o.jsx)("div",{className:K().logo,children:(0,o.jsx)(V,{src:i})}),(0,o.jsxs)("div",{className:K().titleSection,children:[(0,o.jsx)("div",{className:h()(K().title,K().row),children:n}),(0,o.jsx)("div",{className:h()(K().subtitle,K().row),children:(0,o.jsx)(G.Z,{children:t||r})}),(0,o.jsx)("div",{className:h()(K().tagList,K().row),children:a.length>0&&a.map((function(e){return(0,o.jsxs)("span",{children:["#",e,"\xa0"]},e)}))}),(0,o.jsx)("div",{className:h()(K().socialLinks,K().row),children:(0,o.jsx)(X,{links:s})})]})]})})},ee=t(43125),ne=t(47568),te=t(70655),oe=t(25968),re=t(6226),ie=t(3698),ae=t(24093),se=t(40305),le=t.n(se),ce=function(e){var n=e.follower;return(0,o.jsx)("div",{className:le().follower,children:(0,o.jsx)("a",{href:n.link,target:"_blank",rel:"noreferrer",children:(0,o.jsxs)(oe.Z,{wrap:!1,children:[(0,o.jsx)(re.Z,{span:6,children:(0,o.jsx)(ae.C,{src:n.image,alt:"Avatar",className:le().avatar,children:(0,o.jsx)("img",{src:"/logo",alt:"Logo",className:le().placeholder})})}),(0,o.jsxs)(re.Z,{children:[(0,o.jsx)(oe.Z,{children:n.name}),(0,o.jsx)(oe.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)([]),r=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,o;return(0,te.__generator)(this,(function(r){switch(r.label){case 0:return r.trys.push([0,3,,4]),[4,fetch("".concat("/api/followers","?page=").concat(d))];case 1:return[4,r.sent().json()];case 2:return e=r.sent(),n=e.results,t=e.total,i(n),c(t),[3,4];case 3:return o=r.sent(),console.error(o),[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,o.jsxs)("div",{className:de().noFollowers,children:[(0,o.jsx)("h2",{children:"Be the first follower!"}),(0,o.jsxs)("p",{children:["Owncast"!==n?n:"This server"," is a part of the"," ",(0,o.jsx)("a",{href:"https://owncast.online/join-fediverse",children:"Fediverse"}),", an interconnected network of independent users and servers."]}),(0,o.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,o.jsx)(I.e,{})]});return(null===r||void 0===r?void 0:r.length)?(0,o.jsxs)("div",{className:de().followers,children:[(0,o.jsx)(oe.Z,{wrap:!0,gutter:[10,10],children:r.map((function(e){return(0,o.jsx)(re.Z,{children:(0,o.jsx)(ce,{follower:e},e.link)})}))}),(0,o.jsx)(ie.Z,{current:d,pageSize:24,total:f||1,onChange:function(e){m(e)},hideOnSinglePage:!0})]}):p},fe=r.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,28763)).then((function(e){return e.ChatContainer}))}),{loadableGenerated:{webpack:function(){return[28763]}}}),je=function(e){var n=e.name,t=e.streamTitle,r=e.summary,i=e.tags,a=e.socialHandles,s=e.extraPageContent,l=[{label:"About",key:"2",children:(0,o.jsx)(_,{content:s})},{label:"Followers",key:"3",children:(0,o.jsx)(me,{name:n})}];return(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)("div",{className:C().lowerHalf,children:(0,o.jsx)($,{name:n,title:t,summary:r,tags:i,links:a,logo:"/logo"})}),(0,o.jsx)("div",{className:C().lowerSection,children:(0,o.jsx)(d.Z,{defaultActiveKey:"0",items:l})})]})},ve=function(e){var n=e.name,t=e.streamTitle,r=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,o.jsx)(ge,{messages:l,usernameToHighlight:f,chatUserId:m,isModerator:!1,height:"40vh"})},{label:"About",key:"2",children:(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)($,{name:n,title:t,summary:r,tags:i,links:a,logo:"/logo"}),(0,o.jsx)(_,{content:s})]})},{label:"Followers",key:"3",children:(0,o.jsx)(me,{name:n})}];return(0,o.jsx)("div",{className:h()(C().lowerSectionMobile),children:(0,o.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),r=(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),B=q[0],V=q[1],Y=M.account,Q=P.browser.enabled,X=E.map((function(e){return(0,o.jsx)(U,{action:e},e.url)})),W=function(){V(!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&&r&&t;return(0,o.jsxs)("div",{className:C().main,children:[(0,o.jsx)(m.Z,{wrapperClassName:C().loadingSpinner,size:"large",spinning:e.appLoading,children:(0,o.jsxs)(fe,{className:C().root,children:[(0,o.jsxs)("div",{className:C().leftContent,children:[(0,o.jsxs)("div",{className:C().topSection,children:[p&&(0,o.jsx)(w.M,{source:"/hls/stream.m3u8",online:p}),!p&&!e.appLoading&&(0,o.jsx)(z.R,{streamName:k,customText:A,notificationsEnabled:Q,fediverseAccount:Y,lastLive:_,onNotifyClick:function(){return V(!0)}}),p&&(0,o.jsx)(ee.X,{online:p,lastConnectTime:v,lastDisconnectTime:_,viewerCount:j})]}),(0,o.jsx)("div",{className:C().midSection,children:(0,o.jsxs)("div",{className:C().buttonsLogoTitleSection,children:[(0,o.jsxs)(F,{children:[X,(0,o.jsx)(I.e,{size:"small"}),(0,o.jsx)(xe,{open:G,notificationClicked:function(){return V(!0)},notificationClosed:function(){return W()},children:(0,o.jsx)(D.E,{onClick:function(){return V(!0)}})})]}),(0,o.jsx)(he,{title:"Notify",open:B,afterClose:function(){return W()},handleCancel:function(){return W()},children:(0,o.jsx)(pe,{})})]})}),d&&t?(0,o.jsx)(ve,{name:k,streamTitle:y,summary:S,tags:T,socialHandles:H,extraPageContent:b,messages:h,currentUser:a,showChat:$}):(0,o.jsx)(je,{name:k,streamTitle:y,summary:S,tags:T,socialHandles:H,extraPageContent:b})]}),$&&!d&&(0,o.jsx)(Z,{})]})}),(!d||!$)&&(0,o.jsx)(L,{version:N})]})},we=t(8119),ye=t(85402),Ce=function(e){var n=e.title,t=e.message;return(0,o.jsx)(ye.Z,{title:n,visible:!0,footer:null,closable:!1,keyboard:!1,width:900,centered:!0,className:"modal",children:(0,o.jsx)("p",{style:{fontSize:"1.3rem"},children:t})})},be=t(82670);var Ne=function(){return(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)("meta",{name:"description",content:"{{.Summary}}"}),(0,o.jsx)("meta",{property:"og:title",content:"{{.Name}}"}),(0,o.jsx)("meta",{property:"og:site_name",content:"{{.Name}}"}),(0,o.jsx)("meta",{property:"og:url",content:"{{.RequestedURL}}"}),(0,o.jsx)("meta",{property:"og:description",content:"{{.Summary}}"}),(0,o.jsx)("meta",{property:"og:type",content:"video.other"}),(0,o.jsx)("meta",{property:"video:tag",content:"{{.TagsString}}"}),(0,o.jsx)("meta",{property:"og:image",content:"{{.Thumbnail}}"}),(0,o.jsx)("meta",{property:"og:image:url",content:"{{.Thumbnail}}"}),(0,o.jsx)("meta",{property:"og:image:alt",content:"{{.Image}}"}),(0,o.jsx)("meta",{property:"og:video",content:"{{.RequestedURL}}embed/video"}),(0,o.jsx)("meta",{property:"og:video:secure_url",content:"{{.RequestedURL}}embed/video"}),(0,o.jsx)("meta",{property:"og:video:height",content:"315"}),(0,o.jsx)("meta",{property:"og:video:width",content:"560"}),(0,o.jsx)("meta",{property:"og:video:type",content:"text/html"}),(0,o.jsx)("meta",{property:"og:video:actor",content:"{{.Name}}"}),(0,o.jsx)("meta",{property:"twitter:title",content:"{{.Name}}"}),(0,o.jsx)("meta",{property:"twitter:url",content:"{{.RequestedURL}}"}),(0,o.jsx)("meta",{property:"twitter:description",content:"{{.Summary}}"}),(0,o.jsx)("meta",{property:"twitter:image",content:"{{.Image}}"}),(0,o.jsx)("meta",{property:"twitter:card",content:"player"}),(0,o.jsx)("meta",{property:"twitter:player",content:"{{.RequestedURL}}embed/video"}),(0,o.jsx)("meta",{property:"twitter:player:width",content:"560"}),(0,o.jsx)("meta",{property:"twitter:player:height",content:"315"})]})},ke=function(e){var n=e.hydrationScript;return(0,o.jsx)("script",{dangerouslySetInnerHTML:{__html:n}})},Se=function(){var e=(0,i.sJ)(c.j$),n=(0,i.sJ)(c.RI),t=!1,o="",r=function(){console.log("onBlur"),t=!0,o=document.title},a=function(){console.log("onFocus"),t=!1,window.document.title=o};return(0,l.useEffect)((function(){return o=window.document.title,console.log("listenForEvents"),window.addEventListener("blur",r),window.addEventListener("focus",a),function(){window.removeEventListener("focus",a),window.removeEventListener("blur",r)}}),[]),(0,l.useEffect)((function(){var e=n.online;t&&e&&(window.document.title="\ud83d\udcac :: ".concat(o))}),[e]),(0,l.useEffect)((function(){if(t){var e=n.online;e?window.document.title=" \ud83d\udfe2 :: ".concat(o):e||(window.document.title=" \ud83d\udd34 :: ".concat(o))}}),[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,o=!1,r=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){o=!0,r=h}finally{try{t||null==a.return||a.return()}finally{if(o)throw r}}})).observe(e,{attributes:!1,childList:!0,subtree:!0})}(m.current)}),[]);return(0,o.jsxs)(o.Fragment,{children:[(0,o.jsxs)(s(),{children:[(0,o.jsx)(Ne,{}),(0,o.jsx)("link",{rel:"apple-touch-icon",sizes:"57x57",href:"/img/favicon/apple-icon-57x57.png"}),(0,o.jsx)("link",{rel:"apple-touch-icon",sizes:"60x60",href:"/img/favicon/apple-icon-60x60.png"}),(0,o.jsx)("link",{rel:"apple-touch-icon",sizes:"72x72",href:"/img/favicon/apple-icon-72x72.png"}),(0,o.jsx)("link",{rel:"apple-touch-icon",sizes:"76x76",href:"/img/favicon/apple-icon-76x76.png"}),(0,o.jsx)("link",{rel:"apple-touch-icon",sizes:"114x114",href:"/img/favicon/apple-icon-114x114.png"}),(0,o.jsx)("link",{rel:"apple-touch-icon",sizes:"120x120",href:"/img/favicon/apple-icon-120x120.png"}),(0,o.jsx)("link",{rel:"apple-touch-icon",sizes:"144x144",href:"/img/favicon/apple-icon-144x144.png"}),(0,o.jsx)("link",{rel:"apple-touch-icon",sizes:"152x152",href:"/img/favicon/apple-icon-152x152.png"}),(0,o.jsx)("link",{rel:"apple-touch-icon",sizes:"180x180",href:"/img/favicon/apple-icon-180x180.png"}),(0,o.jsx)("link",{rel:"icon",type:"image/png",sizes:"192x192",href:"/img/favicon/android-icon-192x192.png"}),(0,o.jsx)("link",{rel:"icon",type:"image/png",sizes:"32x32",href:"/img/favicon/favicon-32x32.png"}),(0,o.jsx)("link",{rel:"icon",type:"image/png",sizes:"96x96",href:"/img/favicon/favicon-96x96.png"}),(0,o.jsx)("link",{rel:"icon",type:"image/png",sizes:"16x16",href:"/img/favicon/favicon-16x16.png"}),(0,o.jsx)("link",{rel:"manifest",href:"/manifest.json"}),(0,o.jsx)("link",{href:"/api/auth/provider/indieauth"}),(0,o.jsx)("meta",{name:"msapplication-TileColor",content:"#ffffff"}),(0,o.jsx)("meta",{name:"msapplication-TileImage",content:"/img/favicon/ms-icon-144x144.png"}),(0,o.jsx)("meta",{name:"theme-color",content:"#ffffff"}),(0,o.jsx)("style",{children:a}),(0,o.jsx)(ke,{hydrationScript:"\n\twindow.statusHydration = {{.StatusJSON}};\n\twindow.configHydration = {{.ServerConfigJSON}};\n\t"})]}),(0,o.jsx)(c.me,{}),(0,o.jsx)(Se,{}),(0,o.jsxs)(r.Z,{ref:m,style:{minHeight:"100vh"},children:[(0,o.jsx)(we.h,{name:t||n,chatAvailable:u,chatDisabled:f}),(0,o.jsx)(_e,{}),d&&(0,o.jsx)(Ce,{title:d.title,message:d.message})]})]})};function He(){return(0,o.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,8763,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/webpack-5030aaa2200732f7.js b/static/web/_next/static/chunks/webpack-2e5191fc1f3ad1ca.js similarity index 61% rename from static/web/_next/static/chunks/webpack-5030aaa2200732f7.js rename to static/web/_next/static/chunks/webpack-2e5191fc1f3ad1ca.js index 6c61e8954..c4f9b57b3 100644 --- a/static/web/_next/static/chunks/webpack-5030aaa2200732f7.js +++ b/static/web/_next/static/chunks/webpack-2e5191fc1f3ad1ca.js @@ -1 +1 @@ -!function(){"use strict";var e={},t={};function a(n){var c=t[n];if(void 0!==c)return c.exports;var f=t[n]={id:n,loaded:!1,exports:{}},d=!0;try{e[n].call(f.exports,f,f.exports,a),d=!1}finally{d&&delete t[n]}return f.loaded=!0,f.exports}a.m=e,a.amdO={},function(){var e=[];a.O=function(t,n,c,f){if(!n){var d=1/0;for(i=0;i=f)&&Object.keys(a.O).every((function(e){return a.O[e](n[b])}))?n.splice(b--,1):(r=!1,f0&&e[i-1][2]>f;i--)e[i]=e[i-1];e[i]=[n,c,f]}}(),a.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return a.d(t,{a:t}),t},function(){var e,t=Object.getPrototypeOf?function(e){return Object.getPrototypeOf(e)}:function(e){return e.__proto__};a.t=function(n,c){if(1&c&&(n=this(n)),8&c)return n;if("object"===typeof n&&n){if(4&c&&n.__esModule)return n;if(16&c&&"function"===typeof n.then)return n}var f=Object.create(null);a.r(f);var d={};e=e||[null,t({}),t([]),t(t)];for(var r=2&c&&n;"object"==typeof r&&!~e.indexOf(r);r=t(r))Object.getOwnPropertyNames(r).forEach((function(e){d[e]=function(){return n[e]}}));return d.default=function(){return n},a.d(f,d),f}}(),a.d=function(e,t){for(var n in t)a.o(t,n)&&!a.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},a.f={},a.e=function(e){return Promise.all(Object.keys(a.f).reduce((function(t,n){return a.f[n](e,t),t}),[]))},a.u=function(e){return 8939===e?"static/chunks/8939-2c7dd78bd2286b4d.js":3903===e?"static/chunks/3903-97c724332d1a5798.js":4267===e?"static/chunks/4267-b54c540ce3a8eed5.js":3626===e?"static/chunks/3626-717f7ff16ee717f6.js":8091===e?"static/chunks/8091-d7457a988f3f1d54.js":2944===e?"static/chunks/2944-2a9b62dad629aca2.js":"static/chunks/"+e+"."+{177:"07e81c876c150d56",228:"7008583a6edcaf6f",305:"81addcdd22dac87e",370:"52e16b019e72e3e7",402:"d2b366579300ae3b",617:"933158da5fda9b65",673:"ece53c2daf22e93d",758:"4e6dace4695912fa",786:"bda6a234b010d76b",870:"2ed8d4e2260b0131",889:"ae582629b4ddeada",1053:"cadcccb1887d1655",1084:"5b7bb8501d49b84f",1300:"4b32175d5676e8df",1390:"d3320a2772ee1632",1446:"d4716947e754971e",1650:"8909ff4ee9be21d8",1660:"2e69d7651d99fffa",1770:"e9d167a359425734",1873:"a756dbdabb15f510",1920:"c33b94a1a93e947a",2040:"8c1f1efa3891bda8",2119:"33ee19dcc774b7b3",2136:"87902004824e59b3",2314:"0c7ba9cb309bbcae",2365:"e111da64ecd79b2c",2386:"7849afb31fdbcbe9",2406:"fdc2fd9471c9277c",2542:"d87f01354fa8625b",2602:"23ec287cba38919e",2675:"c188080c2b5d4a3d",2750:"64ce3f9e097bda01",3203:"4a03f08cc075a41a",3283:"508ea7a82a17eb6f",3314:"21f4d993f672bac4",3465:"3b01362997e94018",3482:"123b2f3fc81ff758",3509:"3932ae3634ee5b2e",3519:"7b44cdadfa3dccf8",3883:"2fb7f03e2ca3529a",3993:"128027dd7265a783",4144:"ac42c8b1f09df8f9",4163:"1b16f58fd432f4da",4212:"f665078601f914de",4293:"9a6146c4cd92c0ea",4323:"88655b5982d04133",4439:"4f04bf9f401b13af",4511:"c20b329de4a94d30",4732:"abe153cd9e74cf8c",4778:"fe124557ac27707c",4796:"59ffa2aa8de67c8d",4879:"ff6296c6446eb972",4920:"5562dd5144a4a0c6",5122:"c94bd6aa99c27f1e",5134:"8c40f920826939fb",5135:"6541163f583921e6",5372:"1cbe35d74e4ddd0e",5379:"aade0a3e0e516604",5648:"6417f99e99d45d4c",5753:"369aa818f4fa0dae",5815:"d2bce212c3134600",5819:"d24a858591bd5c3c",5879:"1b55d2b462afebf3",6062:"99b0d3c3b2722798",6092:"cb997822d5ad9a36",6121:"3d67c2fae8774daa",6395:"21f59417b457c6b2",6443:"dd7e5cd2e659f21f",6471:"a1b969913a20a449",6665:"9b4fa1f8176c8faf",6692:"4c47b40a842bfe37",6732:"a90326e23dac20d0",6991:"015225d9c5454e6b",7001:"e576736a60e3567b",7047:"7055375b97eebebc",7213:"0c5bd78e1f87e6ff",7315:"6f5ab7ef11af96d8",7365:"f54e467b2f4523d1",7370:"f49ab049acf16289",7421:"06e86f299b78a3d3",7475:"b1546a7ebfa28cbb",7525:"938d02cfd66dc876",7590:"efdde8b2997b09a1",7601:"5a327eee5530fbe2",7663:"b3b1c64004576939",7735:"5528314f888ca32d",7741:"177818bb3887216e",7762:"7bae3e40001587ab",7781:"f2e7d91aa07a4804",7917:"04781deb6d0da1e1",7988:"0a5a4bd779cbda3e",8007:"36e212ff50d5c34a",8029:"ca20148827905307",8088:"6b0d80ed9ff6ff22",8142:"fca9502f471ae841",8171:"97a5e3c90df36fc7",8225:"b1ad83c90140af1a",8283:"914dfaa8316d16d7",8393:"ac707cc39cd5aab8",8561:"281bc4ce77b8995a",8770:"719a9f10f1781d66",8910:"0be92050586e05f6",8915:"0a35c35fa8764138",9071:"d812295ab2a73c24",9121:"5c4711a92893fca9",9232:"400b581440faecc1",9296:"b186db185a29360d",9558:"cfa96280a9f9d439",9607:"ff46198deba68fd1",9674:"1c8a004662670f7a",9713:"0ca649eec80739b4",9781:"6915afce38fb4e27",9809:"b5973362b6234d26",9831:"a0808ada0e3f0bcc",9972:"dcde2a016a9a80ee"}[e]+".js"},a.miniCssF=function(e){return"static/css/"+{29:"7c735c05af084bb2",955:"38031c0e461b403f",2365:"19d74602c45ee60b",2888:"091d82c6a3e87800",3126:"50d4ea374f37f0f9",5135:"edb3f793b986286c",5405:"50ef1663cf2c1b27",7735:"4d949a8f962451f2",7781:"b92b45b3f2e03f44",8399:"87104b15c089124a",9674:"ed28f196ebbc4ea9"}[e]+".css"},a.g=function(){if("object"===typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"===typeof window)return window}}(),a.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},function(){var e={},t="_N_E:";a.l=function(n,c,f,d){if(e[n])e[n].push(c);else{var r,b;if(void 0!==f)for(var o=document.getElementsByTagName("script"),i=0;i=f)&&Object.keys(a.O).every((function(e){return a.O[e](c[b])}))?c.splice(b--,1):(r=!1,f0&&e[i-1][2]>f;i--)e[i]=e[i-1];e[i]=[c,n,f]}}(),a.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return a.d(t,{a:t}),t},function(){var e,t=Object.getPrototypeOf?function(e){return Object.getPrototypeOf(e)}:function(e){return e.__proto__};a.t=function(c,n){if(1&n&&(c=this(c)),8&n)return c;if("object"===typeof c&&c){if(4&n&&c.__esModule)return c;if(16&n&&"function"===typeof c.then)return c}var f=Object.create(null);a.r(f);var d={};e=e||[null,t({}),t([]),t(t)];for(var r=2&n&&c;"object"==typeof r&&!~e.indexOf(r);r=t(r))Object.getOwnPropertyNames(r).forEach((function(e){d[e]=function(){return c[e]}}));return d.default=function(){return c},a.d(f,d),f}}(),a.d=function(e,t){for(var c in t)a.o(t,c)&&!a.o(e,c)&&Object.defineProperty(e,c,{enumerable:!0,get:t[c]})},a.f={},a.e=function(e){return Promise.all(Object.keys(a.f).reduce((function(t,c){return a.f[c](e,t),t}),[]))},a.u=function(e){return 8939===e?"static/chunks/8939-2c7dd78bd2286b4d.js":3903===e?"static/chunks/3903-97c724332d1a5798.js":4267===e?"static/chunks/4267-b54c540ce3a8eed5.js":3626===e?"static/chunks/3626-717f7ff16ee717f6.js":8091===e?"static/chunks/8091-d7457a988f3f1d54.js":2944===e?"static/chunks/2944-2a9b62dad629aca2.js":"static/chunks/"+e+"."+{177:"07e81c876c150d56",228:"7008583a6edcaf6f",305:"81addcdd22dac87e",370:"52e16b019e72e3e7",402:"d2b366579300ae3b",617:"933158da5fda9b65",673:"ece53c2daf22e93d",758:"4e6dace4695912fa",786:"bda6a234b010d76b",870:"2ed8d4e2260b0131",889:"ae582629b4ddeada",1053:"cadcccb1887d1655",1084:"5b7bb8501d49b84f",1300:"4b32175d5676e8df",1390:"d3320a2772ee1632",1446:"d4716947e754971e",1650:"8909ff4ee9be21d8",1660:"2e69d7651d99fffa",1770:"e9d167a359425734",1873:"a756dbdabb15f510",1920:"c33b94a1a93e947a",2040:"8c1f1efa3891bda8",2119:"33ee19dcc774b7b3",2136:"87902004824e59b3",2314:"0c7ba9cb309bbcae",2365:"e111da64ecd79b2c",2386:"7849afb31fdbcbe9",2406:"fdc2fd9471c9277c",2542:"d87f01354fa8625b",2602:"23ec287cba38919e",2675:"c188080c2b5d4a3d",2750:"64ce3f9e097bda01",3203:"4a03f08cc075a41a",3283:"508ea7a82a17eb6f",3314:"21f4d993f672bac4",3465:"3b01362997e94018",3482:"123b2f3fc81ff758",3509:"3932ae3634ee5b2e",3519:"7b44cdadfa3dccf8",3883:"2fb7f03e2ca3529a",3993:"128027dd7265a783",4144:"ac42c8b1f09df8f9",4163:"1b16f58fd432f4da",4212:"f665078601f914de",4293:"9a6146c4cd92c0ea",4323:"88655b5982d04133",4439:"4f04bf9f401b13af",4511:"c20b329de4a94d30",4732:"abe153cd9e74cf8c",4778:"fe124557ac27707c",4796:"59ffa2aa8de67c8d",4879:"ff6296c6446eb972",4920:"5562dd5144a4a0c6",5122:"c94bd6aa99c27f1e",5134:"8c40f920826939fb",5135:"6541163f583921e6",5372:"1cbe35d74e4ddd0e",5379:"aade0a3e0e516604",5648:"6417f99e99d45d4c",5753:"369aa818f4fa0dae",5815:"d2bce212c3134600",5819:"d24a858591bd5c3c",5879:"1b55d2b462afebf3",6062:"99b0d3c3b2722798",6092:"cb997822d5ad9a36",6121:"3d67c2fae8774daa",6395:"21f59417b457c6b2",6443:"dd7e5cd2e659f21f",6471:"a1b969913a20a449",6665:"9b4fa1f8176c8faf",6692:"4c47b40a842bfe37",6732:"a90326e23dac20d0",6991:"015225d9c5454e6b",7001:"e576736a60e3567b",7047:"7055375b97eebebc",7213:"0c5bd78e1f87e6ff",7315:"6f5ab7ef11af96d8",7365:"f54e467b2f4523d1",7370:"f49ab049acf16289",7421:"06e86f299b78a3d3",7475:"b1546a7ebfa28cbb",7525:"938d02cfd66dc876",7590:"efdde8b2997b09a1",7601:"5a327eee5530fbe2",7663:"b3b1c64004576939",7735:"5528314f888ca32d",7741:"177818bb3887216e",7762:"7bae3e40001587ab",7781:"f2e7d91aa07a4804",7917:"04781deb6d0da1e1",7988:"0a5a4bd779cbda3e",8007:"36e212ff50d5c34a",8029:"ca20148827905307",8088:"6b0d80ed9ff6ff22",8142:"fca9502f471ae841",8171:"97a5e3c90df36fc7",8225:"b1ad83c90140af1a",8283:"914dfaa8316d16d7",8393:"ac707cc39cd5aab8",8561:"281bc4ce77b8995a",8770:"719a9f10f1781d66",8910:"0be92050586e05f6",8915:"0a35c35fa8764138",9071:"d812295ab2a73c24",9121:"5c4711a92893fca9",9232:"400b581440faecc1",9296:"b186db185a29360d",9558:"cfa96280a9f9d439",9607:"ff46198deba68fd1",9674:"1c8a004662670f7a",9713:"0ca649eec80739b4",9781:"6915afce38fb4e27",9809:"b5973362b6234d26",9831:"a0808ada0e3f0bcc",9972:"dcde2a016a9a80ee"}[e]+".js"},a.miniCssF=function(e){return"static/css/"+{29:"7c735c05af084bb2",955:"e109cf56cf6d95cf",2365:"19d74602c45ee60b",2888:"091d82c6a3e87800",3126:"50d4ea374f37f0f9",5135:"edb3f793b986286c",5405:"2458f45edc0f6648",7735:"4d949a8f962451f2",7781:"b92b45b3f2e03f44",8399:"1bf43cf3f77e5ddf",9674:"ed28f196ebbc4ea9"}[e]+".css"},a.g=function(){if("object"===typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"===typeof window)return window}}(),a.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},function(){var e={},t="_N_E:";a.l=function(c,n,f,d){if(e[c])e[c].push(n);else{var r,b;if(void 0!==f)for(var o=document.getElementsByTagName("script"),i=0;ip{margin:0}.ChatTextField_emojiButton__ON_Cu,.ChatTextField_sendButton__MOmD4{border:none;background:none;cursor:pointer;padding:0 1rem}.ChatTextField_sendButton__MOmD4{display:none}@media(max-width:768px){.ChatTextField_sendButton__MOmD4{display:block}}.ChatModeratorNotification_chatModerationNotification__kgFWe{background-color:var(--theme-background-primary);margin:5px;border-radius:15px;border:1px solid rgba(0,0,0,.3);padding:10px;max-width:400px;display:flex;justify-content:center;align-items:center}.ChatModeratorNotification_chatModerationNotification__kgFWe .ChatModeratorNotification_icon__7FdGg{margin-right:10px;width:20px;height:20px}.ChatSystemMessage_chatSystemMessage__c6XEN{background:var(--theme-color-background-main);background:linear-gradient(70deg,#4e3672,#411c8b 40%,#534382 80%);margin:5px;border-radius:5px;border-width:1px;border-style:solid;padding:12px;max-width:400px}.ChatSystemMessage_chatSystemMessage__c6XEN .ChatSystemMessage_user__6yHSJ{display:flex;align-items:center;font-family:var(--theme-text-display-font-family);font-weight:700;color:#fff}.ChatSystemMessage_chatSystemMessage__c6XEN .ChatSystemMessage_message__ySq5g{color:#fff}.ChatSystemMessage_chatSystemMessage__c6XEN .ChatSystemMessage_message__ySq5g p{color:#fff;margin:unset}.ChatSystemMessage_chatSystemMessage__c6XEN .ChatSystemMessage_message__ySq5g mark{padding-left:.35em;padding-right:.35em;background-color:var(--theme-color-palette-12)}.ChatJoinMessage_root__vuVXa{padding:10px 0;text-align:center;font-size:.8rem;font-style:italic}.ChatContainer_chatHeader__EJsYI{text-align:center;font-weight:700;padding:5px 0;color:var(--text-color-secondary);border-bottom:1px solid var(--color-owncast-gray-700);font-variant:small-caps}.ChatContainer_toBottomWrap__3V5wa{display:flex;width:100%;justify-content:center;position:absolute;bottom:50px;color:var(--text-color-secondary)}.ChatContainer_toBottomWrap__3V5wa .ChatContainer_toBottomWrap__3V5wa .ChatContainer_toBottomBtn__453AG{border:none;background-color:gray}.ChatContainer_nameChangeView__ziyXN{display:flex;font-size:.9rem;border-radius:var(--theme-rounded-corners);padding:5px 15px;color:var(--color-owncast-gray-300);background-color:var(--color-owncast-background)}.ChatContainer_nameChangeView__ziyXN .ChatContainer_nameChangeText__yXG__{font-weight:700;font-family:var(--theme-text-display-font-family)}.ChatContainer_nameChangeView__ziyXN .ChatContainer_nameChangeText__yXG__ .ChatContainer_plain__IPS19{font-weight:400;font-family:var(--theme-text-body-font-family)!important}.ChatContainer_chatContainer__O2lYN{display:flex;flex-direction:column;background-color:var(--theme-color-background-chat);height:100%}.ChatContainer_virtuoso__OS9Kz{width:auto;flex-grow:1;overflow-y:scroll;overflow-x:hidden} \ No newline at end of file +.ChatUserBadge_badge__1EdUp{font-family:var(--theme-text-display-font-family);font-weight:500;font-size:.6rem;text-transform:uppercase;padding:0 1px 1px;border-radius:3px;border-width:1px;border-style:solid;margin-left:3px}.ChatUserMessage_root__79heB{border-left:3px solid;position:relative;font-size:.9rem;padding:0 5px 5px}.ChatUserMessage_root__79heB *{z-index:100}.ChatUserMessage_root__79heB .ChatUserMessage_user__xUEp9{display:flex;align-items:center;font-family:var(--theme-text-display-font-family);font-weight:700}.ChatUserMessage_root__79heB .ChatUserMessage_message__MJ9LD{overflow:hidden;overflow-wrap:anywhere;font-weight:600}.ChatUserMessage_root__79heB .ChatUserMessage_message__MJ9LD mark{padding-left:.35em;padding-right:.35em;color:var(--theme-color-palette-12)}.ChatUserMessage_root__79heB.ChatUserMessage_ownMessage__d28A3{border-left:none;border-right:3px solid}.ChatUserMessage_root__79heB.ChatUserMessage_ownMessage__d28A3 .ChatUserMessage_background__Tfghp{position:absolute;z-index:-1;top:0;left:0;width:100%;height:100%;background-color:currentColor;opacity:.07;border-radius:.25rem;overflow:hidden}.ChatUserMessage_root__79heB .ChatUserMessage_modMenuWrapper__7fblv{position:absolute;display:none;top:0;right:10px}.ChatUserMessage_root__79heB .ChatUserMessage_modMenuWrapper__7fblv button:active,.ChatUserMessage_root__79heB .ChatUserMessage_modMenuWrapper__7fblv button:focus{display:block!important}.ChatUserMessage_root__79heB:hover .ChatUserMessage_modMenuWrapper__7fblv{display:block}.ChatUserMessage_messagePadding__Xp1F6{padding:.4rem 0 0}.ChatUserMessage_messagePaddingCollapsed__qxN0E{padding:0}.ChatTextField_root__4oUkJ{position:relative;display:flex;bottom:0;width:100%;padding:5px 1vw;overflow-x:hidden}.ChatTextField_root__4oUkJ .ChatTextField_inputWrap__1mAjD{position:relative;display:flex;color:var(--theme-color-components-form-field-text);background-color:var(--theme-color-palette-3);border-radius:var(--theme-rounded-corners);bottom:0;width:100%;padding:.3rem;overflow-x:hidden;transition:box-shadow 90ms ease-in-out}.ChatTextField_root__4oUkJ .ChatTextField_inputWrap__1mAjD:focus-within{background-color:var(--theme-color-components-form-field-background);box-shadow:inset 0 0 2px 2px var(--theme-color-palette-3)}.ChatTextField_root__4oUkJ .ChatTextField_maxCharacters__yGT4s{border:1px solid red}.ChatTextField_root__4oUkJ div[role=textbox]{font-size:.9rem;padding:.3rem;background-color:inherit;border-color:var(--theme-color-components-form-field-border);box-shadow:0;transition:box-shadow 50ms ease-in-out}.ChatTextField_root__4oUkJ div[role=textbox]:focus{outline:1px solid var(--color-owncast-gray-500)!important}.ChatTextField_root__4oUkJ div[role=textbox]>p{margin:0}.ChatTextField_emojiButton__ON_Cu,.ChatTextField_sendButton__MOmD4{border:none;background:none;cursor:pointer;padding:0 1rem}.ChatTextField_sendButton__MOmD4{display:none}@media(max-width:768px){.ChatTextField_sendButton__MOmD4{display:block}}.ChatModeratorNotification_chatModerationNotification__kgFWe{background-color:var(--theme-background-primary);margin:5px;border-radius:15px;border:1px solid rgba(0,0,0,.3);padding:10px;max-width:400px;display:flex;justify-content:center;align-items:center}.ChatModeratorNotification_chatModerationNotification__kgFWe .ChatModeratorNotification_icon__7FdGg{margin-right:10px;width:20px;height:20px}.ChatSystemMessage_chatSystemMessage__c6XEN{background:var(--theme-color-background-main);background:linear-gradient(70deg,#4e3672,#411c8b 40%,#534382 80%);margin:5px;border-radius:5px;border-width:1px;border-style:solid;padding:12px;max-width:400px}.ChatSystemMessage_chatSystemMessage__c6XEN .ChatSystemMessage_user__6yHSJ{display:flex;align-items:center;font-family:var(--theme-text-display-font-family);font-weight:700;color:#fff}.ChatSystemMessage_chatSystemMessage__c6XEN .ChatSystemMessage_message__ySq5g{color:#fff}.ChatSystemMessage_chatSystemMessage__c6XEN .ChatSystemMessage_message__ySq5g p{color:#fff;margin:unset}.ChatSystemMessage_chatSystemMessage__c6XEN .ChatSystemMessage_message__ySq5g mark{padding-left:.35em;padding-right:.35em;background-color:var(--theme-color-palette-12)}.ChatJoinMessage_root__vuVXa{padding:10px 0;text-align:center;font-size:.8rem;font-style:italic}.ChatContainer_chatHeader__EJsYI{text-align:center;font-weight:700;padding:5px 0;color:var(--text-color-secondary);border-bottom:1px solid var(--color-owncast-gray-700);font-variant:small-caps}.ChatContainer_toBottomWrap__3V5wa{display:flex;width:100%;justify-content:center;position:absolute;bottom:50px;color:var(--text-color-secondary)}.ChatContainer_toBottomWrap__3V5wa .ChatContainer_toBottomWrap__3V5wa .ChatContainer_toBottomBtn__453AG{border:none;background-color:gray}.ChatContainer_nameChangeView__ziyXN{display:flex;font-size:.9rem;border-radius:var(--theme-rounded-corners);padding:5px 15px;color:var(--color-owncast-gray-300);background-color:var(--color-owncast-background)}.ChatContainer_nameChangeView__ziyXN .ChatContainer_nameChangeText__yXG__{font-weight:700;font-family:var(--theme-text-display-font-family)}.ChatContainer_nameChangeView__ziyXN .ChatContainer_nameChangeText__yXG__ .ChatContainer_plain__IPS19{font-weight:400;font-family:var(--theme-text-body-font-family)!important}.ChatContainer_chatContainer__O2lYN{display:flex;flex-direction:column;background-color:var(--theme-color-background-chat);height:100%}.ChatContainer_virtuoso__OS9Kz{width:auto;flex-grow:1;overflow-y:scroll;overflow-x:hidden}.ChatActionMessage_chatAction__x9Xsg{padding:5px;text-align:center} \ No newline at end of file diff --git a/static/web/_next/static/css/2458f45edc0f6648.css b/static/web/_next/static/css/2458f45edc0f6648.css new file mode 100644 index 000000000..c61de2b24 --- /dev/null +++ b/static/web/_next/static/css/2458f45edc0f6648.css @@ -0,0 +1 @@ +.CustomPageContent_pageContentContainer__EG4tU{display:flex;justify-content:center;align-items:center}.CustomPageContent_customPageContent__Mr981{font-size:1.1rem;line-height:1.6em;color:var(--theme-color-palette-0);padding:calc(2*var(--content-padding));border-radius:var(--theme-rounded-corners);width:100%;background-color:var(--theme-color-background-light)}.CustomPageContent_customPageContent__Mr981 hr{margin:1.35em 0;border:0;border-top:1px solid var(--theme-text-secondary)}.CustomPageContent_customPageContent__Mr981 div.CustomPageContent_summary___Zgps{font-size:1.1rem}.CustomPageContent_customPageContent__Mr981 p{margin:unset}.VideoJS_player__GT8FN{height:auto!important;width:100%}.VideoJS_player__GT8FN video{position:static!important}.VideoJS_poster__nlmqm{width:100%;height:100%}@media(max-width:768px){.VideoJS_player__GT8FN{height:30vh!important}}.VideoPoster_poster__RDkSk{background-color:#000;display:flex;justify-content:center;width:100%;height:100%}.ChatUserBadge_badge__1EdUp{font-family:var(--theme-text-display-font-family);font-weight:500;font-size:.6rem;text-transform:uppercase;padding:0 1px 1px;border-radius:3px;border-width:1px;border-style:solid;margin-left:3px}.ChatUserMessage_root__79heB{border-left:3px solid;position:relative;font-size:.9rem;padding:0 5px 5px}.ChatUserMessage_root__79heB *{z-index:100}.ChatUserMessage_root__79heB .ChatUserMessage_user__xUEp9{display:flex;align-items:center;font-family:var(--theme-text-display-font-family);font-weight:700}.ChatUserMessage_root__79heB .ChatUserMessage_message__MJ9LD{overflow:hidden;overflow-wrap:anywhere;font-weight:600}.ChatUserMessage_root__79heB .ChatUserMessage_message__MJ9LD mark{padding-left:.35em;padding-right:.35em;color:var(--theme-color-palette-12)}.ChatUserMessage_root__79heB.ChatUserMessage_ownMessage__d28A3{border-left:none;border-right:3px solid}.ChatUserMessage_root__79heB.ChatUserMessage_ownMessage__d28A3 .ChatUserMessage_background__Tfghp{position:absolute;z-index:-1;top:0;left:0;width:100%;height:100%;background-color:currentColor;opacity:.07;border-radius:.25rem;overflow:hidden}.ChatUserMessage_root__79heB .ChatUserMessage_modMenuWrapper__7fblv{position:absolute;display:none;top:0;right:10px}.ChatUserMessage_root__79heB .ChatUserMessage_modMenuWrapper__7fblv button:active,.ChatUserMessage_root__79heB .ChatUserMessage_modMenuWrapper__7fblv button:focus{display:block!important}.ChatUserMessage_root__79heB:hover .ChatUserMessage_modMenuWrapper__7fblv{display:block}.ChatUserMessage_messagePadding__Xp1F6{padding:.4rem 0 0}.ChatUserMessage_messagePaddingCollapsed__qxN0E{padding:0}.ChatTextField_root__4oUkJ{position:relative;display:flex;bottom:0;width:100%;padding:5px 1vw;overflow-x:hidden}.ChatTextField_root__4oUkJ .ChatTextField_inputWrap__1mAjD{position:relative;display:flex;color:var(--theme-color-components-form-field-text);background-color:var(--theme-color-palette-3);border-radius:var(--theme-rounded-corners);bottom:0;width:100%;padding:.3rem;overflow-x:hidden;transition:box-shadow 90ms ease-in-out}.ChatTextField_root__4oUkJ .ChatTextField_inputWrap__1mAjD:focus-within{background-color:var(--theme-color-components-form-field-background);box-shadow:inset 0 0 2px 2px var(--theme-color-palette-3)}.ChatTextField_root__4oUkJ .ChatTextField_maxCharacters__yGT4s{border:1px solid red}.ChatTextField_root__4oUkJ div[role=textbox]{font-size:.9rem;padding:.3rem;background-color:inherit;border-color:var(--theme-color-components-form-field-border);box-shadow:0;transition:box-shadow 50ms ease-in-out}.ChatTextField_root__4oUkJ div[role=textbox]:focus{outline:1px solid var(--color-owncast-gray-500)!important}.ChatTextField_root__4oUkJ div[role=textbox]>p{margin:0}.ChatTextField_emojiButton__ON_Cu,.ChatTextField_sendButton__MOmD4{border:none;background:none;cursor:pointer;padding:0 1rem}.ChatTextField_sendButton__MOmD4{display:none}@media(max-width:768px){.ChatTextField_sendButton__MOmD4{display:block}}.ChatModeratorNotification_chatModerationNotification__kgFWe{background-color:var(--theme-background-primary);margin:5px;border-radius:15px;border:1px solid rgba(0,0,0,.3);padding:10px;max-width:400px;display:flex;justify-content:center;align-items:center}.ChatModeratorNotification_chatModerationNotification__kgFWe .ChatModeratorNotification_icon__7FdGg{margin-right:10px;width:20px;height:20px}.ChatSystemMessage_chatSystemMessage__c6XEN{background:var(--theme-color-background-main);background:linear-gradient(70deg,#4e3672,#411c8b 40%,#534382 80%);margin:5px;border-radius:5px;border-width:1px;border-style:solid;padding:12px;max-width:400px}.ChatSystemMessage_chatSystemMessage__c6XEN .ChatSystemMessage_user__6yHSJ{display:flex;align-items:center;font-family:var(--theme-text-display-font-family);font-weight:700;color:#fff}.ChatSystemMessage_chatSystemMessage__c6XEN .ChatSystemMessage_message__ySq5g{color:#fff}.ChatSystemMessage_chatSystemMessage__c6XEN .ChatSystemMessage_message__ySq5g p{color:#fff;margin:unset}.ChatSystemMessage_chatSystemMessage__c6XEN .ChatSystemMessage_message__ySq5g mark{padding-left:.35em;padding-right:.35em;background-color:var(--theme-color-palette-12)}.ChatJoinMessage_root__vuVXa{padding:10px 0;text-align:center;font-size:.8rem;font-style:italic}.ChatContainer_chatHeader__EJsYI{text-align:center;font-weight:700;padding:5px 0;color:var(--text-color-secondary);border-bottom:1px solid var(--color-owncast-gray-700);font-variant:small-caps}.ChatContainer_toBottomWrap__3V5wa{display:flex;width:100%;justify-content:center;position:absolute;bottom:50px;color:var(--text-color-secondary)}.ChatContainer_toBottomWrap__3V5wa .ChatContainer_toBottomWrap__3V5wa .ChatContainer_toBottomBtn__453AG{border:none;background-color:gray}.ChatContainer_nameChangeView__ziyXN{display:flex;font-size:.9rem;border-radius:var(--theme-rounded-corners);padding:5px 15px;color:var(--color-owncast-gray-300);background-color:var(--color-owncast-background)}.ChatContainer_nameChangeView__ziyXN .ChatContainer_nameChangeText__yXG__{font-weight:700;font-family:var(--theme-text-display-font-family)}.ChatContainer_nameChangeView__ziyXN .ChatContainer_nameChangeText__yXG__ .ChatContainer_plain__IPS19{font-weight:400;font-family:var(--theme-text-body-font-family)!important}.ChatContainer_chatContainer__O2lYN{display:flex;flex-direction:column;background-color:var(--theme-color-background-chat);height:100%}.ChatContainer_virtuoso__OS9Kz{width:auto;flex-grow:1;overflow-y:scroll;overflow-x:hidden}.ChatActionMessage_chatAction__x9Xsg{padding:5px;text-align:center}.Sidebar_root__8HE0A{background-color:var(--theme-color-background-chat);display:none;--header-h:64px}@media(min-width:768px){.Sidebar_root__8HE0A{position:sticky;top:var(--header-h);display:block;height:calc(100vh - var(--header-h));max-height:calc(100vh - var(--header-h))}}.Sidebar_root__8HE0A>div{display:flex;flex-flow:column nowrap;flex-grow:1!important;height:100%!important}.Footer_footer__mPuvf{display:flex;justify-content:space-between;flex-direction:row;background-color:var(--theme-color-background-header);width:100%;color:var(--theme-color-components-text-on-dark);font-family:var(--theme-text-body-font-family);padding:.6em;font-size:.8rem;font-weight:600;border-top:1px solid hsla(0,4%,83%,.5)}@media(max-width:600px){.Footer_footer__mPuvf{display:none}}.Footer_footer__mPuvf a{color:var(--theme-text-secondary)}.Footer_footer__mPuvf .Footer_links__7bBxV{display:flex;justify-content:space-between;flex-direction:row}.Footer_footer__mPuvf .Footer_links__7bBxV .Footer_item__rXxSr{margin-left:1.2em}.ActionButtonRow_row__SiEGe{padding:.3rem;display:flex;align-items:center;justify-content:flex-end}.ActionButtonRow_row__SiEGe button{margin-left:.3rem;margin-right:.3rem}.Modal_spinner__GiSS0{position:absolute;top:50%;left:50%}.Modal_content__h9my9{display:block;height:100%;padding:2vw;background-color:var(--theme-color-components-modal-content-background);color:var(--theme-color-components-modal-content-text)}.ActionButton_button__z5Z2c{margin:3px;font-weight:400;font-family:var(--theme-text-display-font-family)}.ActionButton_button__z5Z2c .ActionButton_icon__EPp7Q{width:20px;margin-right:3px}.FollowModal_header__la1ji{font-family:var(--theme-text-display-font-family);font-size:.8rem}.FollowModal_buttons__tt4Mc{display:flex;justify-content:flex-end;margin-top:10px}.FollowModal_instructions__HiKFF{font-family:var(--theme-text-display-font-family);font-size:.7rem;font-weight:600}.FollowModal_footer__AjucH{font-size:.5rem}.FollowModal_account__cmHkm{display:flex;flex-direction:row;margin-top:5px;margin-bottom:10px;font-size:.8rem}.FollowModal_account__cmHkm .FollowModal_logo__Ew8xK{border-radius:50%;width:4em;height:4em}.FollowModal_account__cmHkm .FollowModal_username__A_OTw{display:flex;flex-direction:column;margin-left:10px;margin-top:5px}.FollowModal_account__cmHkm .FollowModal_username__A_OTw .FollowModal_name__Sf_TP{font-weight:600}.OfflineBanner_outerContainer__3AbsB{display:flex;justify-content:center}.OfflineBanner_innerContainer__zTm13{width:clamp(0px,100%,600px);display:flex;flex-direction:column;color:var(--theme-color-components-text-on-light);background-color:var(--theme-color-background-main);margin:1rem auto;border-radius:var(--theme-rounded-corners);padding:1rem;font-size:1.2rem;border:1px solid #d3d3d3}.OfflineBanner_bodyText__nNNy0{line-height:1.5rem}.OfflineBanner_separator___j_Ss{margin-top:15px;margin-bottom:15px}.OfflineBanner_lastLiveDate___UZdO{margin-top:15px;font-size:1rem;opacity:.5}.OfflineBanner_lastLiveDate___UZdO .OfflineBanner_clockIcon__s0DB_{margin-right:5px}.OfflineBanner_header__Vu20o{font-weight:700}.OfflineBanner_footer__o3Zl5{margin-top:15px}.Logo_root__jKiJC{display:flex;flex-direction:column;align-items:center;justify-content:center;overflow:hidden;margin-right:.5rem;width:96px;height:96px;border-radius:50%;border-width:5px;border-style:solid;border-color:var(--theme-color-palette-0);background-color:var(--theme-color-palette-4)}.Logo_container__A4UYT{width:90%;height:90%;border-radius:50%;overflow:hidden}.Logo_image__Ahkom{width:100%;height:100%;background-size:cover;background-position:50%;overflow:hidden}.SocialLinks_link___CcSm{width:1.8em;margin-right:16px}.SocialLinks_links__gOAb7{display:flex;align-items:center;justify-content:flex-start;margin-top:5px}.ContentHeader_root__HaUG0{position:relative;display:grid;padding:1.4rem}.ContentHeader_row__9Q8gH{margin-bottom:7px}.ContentHeader_logoTitleSection__Z8pUc{display:flex}@media(max-width:768px){.ContentHeader_logoTitleSection__Z8pUc{flex-direction:column}.ContentHeader_logoTitleSection__Z8pUc .ContentHeader_logo__wo_HN{margin:.6rem auto}}.ContentHeader_titleSection___6Y15{display:flex;flex-direction:column;margin-left:.6rem}.ContentHeader_titleSection___6Y15 .ContentHeader_title__E_DsI{font-family:var(--theme-text-display-font-family);color:var(--theme-color-palette-0);font-size:2rem;font-weight:700;line-height:30px}.ContentHeader_titleSection___6Y15 .ContentHeader_subtitle__n1Wew{font-size:1.5rem;font-weight:300;line-height:1.3;color:var(--theme-color-background-header);max-width:900px}.ContentHeader_tagList__rx3jY{color:var(--theme-color-palette-10)}.ContentHeader_tagList__rx3jY span{display:inline-block;margin-right:.5rem;font-size:.9rem;font-weight:500}.Statusbar_statusbar__AtVnB{display:flex;align-items:center;font-size:.8rem;justify-content:space-between;height:2rem;width:100%;padding:var(--content-padding);color:var(--theme-color-palette-5)}.SingleFollower_follower__EyBDI{border:1px solid rgba(0,0,0,.3);padding:10px;border-radius:15px;height:75px;width:250px;font-size:.8rem;overflow:hidden}.SingleFollower_follower__EyBDI:hover{border-color:var(--theme-text-link)}.SingleFollower_follower__EyBDI .SingleFollower_avatar__V9jHG{height:50px;width:50px;border:1px solid rgba(0,0,0,.3)}.SingleFollower_follower__EyBDI .SingleFollower_account__Z66vo{color:var(--theme-text-secondary);text-overflow:ellipsis}.SingleFollower_follower__EyBDI .SingleFollower_placeholder__CgsfJ{width:100%;height:100%}.FollowerCollection_followers__e_EUS{width:100%;background-color:var(--theme-color-background-light);padding:5px}.FollowerCollection_noFollowers__UaCVW{padding:calc(2*var(--content-padding));border-radius:var(--theme-rounded-corners);width:100%;background-color:var(--theme-color-background-light)}.Content_root__h1mNK{display:grid;grid-template-columns:1fr auto;height:100%;background-color:var(--theme-color-background-main)}.Content_root__h1mNK .Content_topSection__JIZi0{padding:0;background-color:var(--theme-color-components-video-background)}.Content_root__h1mNK .Content_lowerSection__BZHYI{padding:0 2%;margin-bottom:2em}.Content_root__h1mNK .Content_lowerSectionMobile__hRr0_{padding:.3em}.Content_leftCol__U2TDq{display:flex;flex-direction:column}.Content_loadingSpinner__mDlYC{display:grid}.Content_main__XVf63{display:grid;flex:1 1;height:100%;grid-template-rows:1fr auto}.UserDropdown_root__IdxfQ button{border:none}.UserDropdown_root__IdxfQ button .UserDropdown_ant-space__XJTZ3 .UserDropdown_ant-space-item__w4nC2{color:var(--theme-unknown-2)}.Header_header__U4Ro1{position:sticky;top:0;justify-content:space-between;z-index:20;padding:.4rem .7rem;box-shadow:0 1px 3px 1px rgba(0,0,0,.1);background-color:var(--theme-color-background-header)}.Header_header__U4Ro1,.Header_header__U4Ro1 .Header_logo__HLZ6Z{display:flex;align-items:center}.Header_header__U4Ro1 .Header_logo__HLZ6Z span{color:var(--theme-color-components-text-on-dark);font-family:var(--theme-text-display-font-family);margin-left:.5rem;font-size:1.5rem;font-weight:600}@media(max-width:768px){.Header_header__U4Ro1{line-height:5vh;height:5vh}} \ No newline at end of file diff --git a/static/web/_next/static/css/50ef1663cf2c1b27.css b/static/web/_next/static/css/50ef1663cf2c1b27.css deleted file mode 100644 index 83a97e1c8..000000000 --- a/static/web/_next/static/css/50ef1663cf2c1b27.css +++ /dev/null @@ -1 +0,0 @@ -.CustomPageContent_pageContentContainer__EG4tU{display:flex;justify-content:center;align-items:center}.CustomPageContent_customPageContent__Mr981{font-size:1.1rem;line-height:1.6em;color:var(--theme-color-palette-0);padding:calc(2*var(--content-padding));border-radius:var(--theme-rounded-corners);width:100%;background-color:var(--theme-color-background-light)}.CustomPageContent_customPageContent__Mr981 hr{margin:1.35em 0;border:0;border-top:1px solid var(--theme-text-secondary)}.CustomPageContent_customPageContent__Mr981 div.CustomPageContent_summary___Zgps{font-size:1.1rem}.CustomPageContent_customPageContent__Mr981 p{margin:unset}.VideoJS_player__GT8FN{height:auto!important;width:100%}.VideoJS_player__GT8FN video{position:static!important}.VideoJS_poster__nlmqm{width:100%;height:100%}@media(max-width:768px){.VideoJS_player__GT8FN{height:30vh!important}}.VideoPoster_poster__RDkSk{background-color:#000;display:flex;justify-content:center;width:100%;height:100%}.ChatUserBadge_badge__1EdUp{font-family:var(--theme-text-display-font-family);font-weight:500;font-size:.6rem;text-transform:uppercase;padding:0 1px 1px;border-radius:3px;border-width:1px;border-style:solid;margin-left:3px}.ChatUserMessage_root__79heB{border-left:3px solid;position:relative;font-size:.9rem;padding:0 5px 5px}.ChatUserMessage_root__79heB *{z-index:100}.ChatUserMessage_root__79heB .ChatUserMessage_user__xUEp9{display:flex;align-items:center;font-family:var(--theme-text-display-font-family);font-weight:700}.ChatUserMessage_root__79heB .ChatUserMessage_message__MJ9LD{overflow:hidden;overflow-wrap:anywhere;font-weight:600}.ChatUserMessage_root__79heB .ChatUserMessage_message__MJ9LD mark{padding-left:.35em;padding-right:.35em;color:var(--theme-color-palette-12)}.ChatUserMessage_root__79heB.ChatUserMessage_ownMessage__d28A3{border-left:none;border-right:3px solid}.ChatUserMessage_root__79heB.ChatUserMessage_ownMessage__d28A3 .ChatUserMessage_background__Tfghp{position:absolute;z-index:-1;top:0;left:0;width:100%;height:100%;background-color:currentColor;opacity:.07;border-radius:.25rem;overflow:hidden}.ChatUserMessage_root__79heB .ChatUserMessage_modMenuWrapper__7fblv{position:absolute;display:none;top:0;right:10px}.ChatUserMessage_root__79heB .ChatUserMessage_modMenuWrapper__7fblv button:active,.ChatUserMessage_root__79heB .ChatUserMessage_modMenuWrapper__7fblv button:focus{display:block!important}.ChatUserMessage_root__79heB:hover .ChatUserMessage_modMenuWrapper__7fblv{display:block}.ChatUserMessage_messagePadding__Xp1F6{padding:.4rem 0 0}.ChatUserMessage_messagePaddingCollapsed__qxN0E{padding:0}.ChatTextField_root__4oUkJ{position:relative;display:flex;bottom:0;width:100%;padding:5px 1vw;overflow-x:hidden}.ChatTextField_root__4oUkJ .ChatTextField_inputWrap__1mAjD{position:relative;display:flex;color:var(--theme-color-components-form-field-text);background-color:var(--theme-color-palette-3);border-radius:var(--theme-rounded-corners);bottom:0;width:100%;padding:.3rem;overflow-x:hidden;transition:box-shadow 90ms ease-in-out}.ChatTextField_root__4oUkJ .ChatTextField_inputWrap__1mAjD:focus-within{background-color:var(--theme-color-components-form-field-background);box-shadow:inset 0 0 2px 2px var(--theme-color-palette-3)}.ChatTextField_root__4oUkJ .ChatTextField_maxCharacters__yGT4s{border:1px solid red}.ChatTextField_root__4oUkJ div[role=textbox]{font-size:.9rem;padding:.3rem;background-color:inherit;border-color:var(--theme-color-components-form-field-border);box-shadow:0;transition:box-shadow 50ms ease-in-out}.ChatTextField_root__4oUkJ div[role=textbox]:focus{outline:1px solid var(--color-owncast-gray-500)!important}.ChatTextField_root__4oUkJ div[role=textbox]>p{margin:0}.ChatTextField_emojiButton__ON_Cu,.ChatTextField_sendButton__MOmD4{border:none;background:none;cursor:pointer;padding:0 1rem}.ChatTextField_sendButton__MOmD4{display:none}@media(max-width:768px){.ChatTextField_sendButton__MOmD4{display:block}}.ChatModeratorNotification_chatModerationNotification__kgFWe{background-color:var(--theme-background-primary);margin:5px;border-radius:15px;border:1px solid rgba(0,0,0,.3);padding:10px;max-width:400px;display:flex;justify-content:center;align-items:center}.ChatModeratorNotification_chatModerationNotification__kgFWe .ChatModeratorNotification_icon__7FdGg{margin-right:10px;width:20px;height:20px}.ChatSystemMessage_chatSystemMessage__c6XEN{background:var(--theme-color-background-main);background:linear-gradient(70deg,#4e3672,#411c8b 40%,#534382 80%);margin:5px;border-radius:5px;border-width:1px;border-style:solid;padding:12px;max-width:400px}.ChatSystemMessage_chatSystemMessage__c6XEN .ChatSystemMessage_user__6yHSJ{display:flex;align-items:center;font-family:var(--theme-text-display-font-family);font-weight:700;color:#fff}.ChatSystemMessage_chatSystemMessage__c6XEN .ChatSystemMessage_message__ySq5g{color:#fff}.ChatSystemMessage_chatSystemMessage__c6XEN .ChatSystemMessage_message__ySq5g p{color:#fff;margin:unset}.ChatSystemMessage_chatSystemMessage__c6XEN .ChatSystemMessage_message__ySq5g mark{padding-left:.35em;padding-right:.35em;background-color:var(--theme-color-palette-12)}.ChatJoinMessage_root__vuVXa{padding:10px 0;text-align:center;font-size:.8rem;font-style:italic}.ChatContainer_chatHeader__EJsYI{text-align:center;font-weight:700;padding:5px 0;color:var(--text-color-secondary);border-bottom:1px solid var(--color-owncast-gray-700);font-variant:small-caps}.ChatContainer_toBottomWrap__3V5wa{display:flex;width:100%;justify-content:center;position:absolute;bottom:50px;color:var(--text-color-secondary)}.ChatContainer_toBottomWrap__3V5wa .ChatContainer_toBottomWrap__3V5wa .ChatContainer_toBottomBtn__453AG{border:none;background-color:gray}.ChatContainer_nameChangeView__ziyXN{display:flex;font-size:.9rem;border-radius:var(--theme-rounded-corners);padding:5px 15px;color:var(--color-owncast-gray-300);background-color:var(--color-owncast-background)}.ChatContainer_nameChangeView__ziyXN .ChatContainer_nameChangeText__yXG__{font-weight:700;font-family:var(--theme-text-display-font-family)}.ChatContainer_nameChangeView__ziyXN .ChatContainer_nameChangeText__yXG__ .ChatContainer_plain__IPS19{font-weight:400;font-family:var(--theme-text-body-font-family)!important}.ChatContainer_chatContainer__O2lYN{display:flex;flex-direction:column;background-color:var(--theme-color-background-chat);height:100%}.ChatContainer_virtuoso__OS9Kz{width:auto;flex-grow:1;overflow-y:scroll;overflow-x:hidden}.Sidebar_root__8HE0A{background-color:var(--theme-color-background-chat);display:none;--header-h:64px}@media(min-width:768px){.Sidebar_root__8HE0A{position:sticky;top:var(--header-h);display:block;height:calc(100vh - var(--header-h));max-height:calc(100vh - var(--header-h))}}.Sidebar_root__8HE0A>div{display:flex;flex-flow:column nowrap;flex-grow:1!important;height:100%!important}.Footer_footer__mPuvf{display:flex;justify-content:space-between;flex-direction:row;background-color:var(--theme-color-background-header);width:100%;color:var(--theme-color-components-text-on-dark);font-family:var(--theme-text-body-font-family);padding:.6em;font-size:.8rem;font-weight:600;border-top:1px solid hsla(0,4%,83%,.5)}@media(max-width:600px){.Footer_footer__mPuvf{display:none}}.Footer_footer__mPuvf a{color:var(--theme-text-secondary)}.Footer_footer__mPuvf .Footer_links__7bBxV{display:flex;justify-content:space-between;flex-direction:row}.Footer_footer__mPuvf .Footer_links__7bBxV .Footer_item__rXxSr{margin-left:1.2em}.ActionButtonRow_row__SiEGe{padding:.3rem;display:flex;align-items:center;justify-content:flex-end}.ActionButtonRow_row__SiEGe button{margin-left:.3rem;margin-right:.3rem}.Modal_spinner__GiSS0{position:absolute;top:50%;left:50%}.Modal_content__h9my9{display:block;height:100%;padding:2vw;background-color:var(--theme-color-components-modal-content-background);color:var(--theme-color-components-modal-content-text)}.ActionButton_button__z5Z2c{margin:3px;font-weight:400;font-family:var(--theme-text-display-font-family)}.ActionButton_button__z5Z2c .ActionButton_icon__EPp7Q{width:20px;margin-right:3px}.FollowModal_header__la1ji{font-family:var(--theme-text-display-font-family);font-size:.8rem}.FollowModal_buttons__tt4Mc{display:flex;justify-content:flex-end;margin-top:10px}.FollowModal_instructions__HiKFF{font-family:var(--theme-text-display-font-family);font-size:.7rem;font-weight:600}.FollowModal_footer__AjucH{font-size:.5rem}.FollowModal_account__cmHkm{display:flex;flex-direction:row;margin-top:5px;margin-bottom:10px;font-size:.8rem}.FollowModal_account__cmHkm .FollowModal_logo__Ew8xK{border-radius:50%;width:4em;height:4em}.FollowModal_account__cmHkm .FollowModal_username__A_OTw{display:flex;flex-direction:column;margin-left:10px;margin-top:5px}.FollowModal_account__cmHkm .FollowModal_username__A_OTw .FollowModal_name__Sf_TP{font-weight:600}.OfflineBanner_outerContainer__3AbsB{display:flex;justify-content:center}.OfflineBanner_innerContainer__zTm13{width:clamp(0px,100%,600px);display:flex;flex-direction:column;color:var(--theme-color-components-text-on-light);background-color:var(--theme-color-background-main);margin:1rem auto;border-radius:var(--theme-rounded-corners);padding:1rem;font-size:1.2rem;border:1px solid #d3d3d3}.OfflineBanner_bodyText__nNNy0{line-height:1.5rem}.OfflineBanner_separator___j_Ss{margin-top:15px;margin-bottom:15px}.OfflineBanner_lastLiveDate___UZdO{margin-top:15px;font-size:1rem;opacity:.5}.OfflineBanner_lastLiveDate___UZdO .OfflineBanner_clockIcon__s0DB_{margin-right:5px}.OfflineBanner_header__Vu20o{font-weight:700}.OfflineBanner_footer__o3Zl5{margin-top:15px}.Logo_root__jKiJC{display:flex;flex-direction:column;align-items:center;justify-content:center;overflow:hidden;margin-right:.5rem;width:96px;height:96px;border-radius:50%;border-width:5px;border-style:solid;border-color:var(--theme-color-palette-0);background-color:var(--theme-color-palette-4)}.Logo_container__A4UYT{width:90%;height:90%;border-radius:50%;overflow:hidden}.Logo_image__Ahkom{width:100%;height:100%;background-size:cover;background-position:50%;overflow:hidden}.SocialLinks_link___CcSm{width:1.8em;margin-right:16px}.SocialLinks_links__gOAb7{display:flex;align-items:center;justify-content:flex-start;margin-top:5px}.ContentHeader_root__HaUG0{position:relative;display:grid;padding:1.4rem}.ContentHeader_row__9Q8gH{margin-bottom:7px}.ContentHeader_logoTitleSection__Z8pUc{display:flex}@media(max-width:768px){.ContentHeader_logoTitleSection__Z8pUc{flex-direction:column}.ContentHeader_logoTitleSection__Z8pUc .ContentHeader_logo__wo_HN{margin:.6rem auto}}.ContentHeader_titleSection___6Y15{display:flex;flex-direction:column;margin-left:.6rem}.ContentHeader_titleSection___6Y15 .ContentHeader_title__E_DsI{font-family:var(--theme-text-display-font-family);color:var(--theme-color-palette-0);font-size:2rem;font-weight:700;line-height:30px}.ContentHeader_titleSection___6Y15 .ContentHeader_subtitle__n1Wew{font-size:1.5rem;font-weight:300;line-height:1.3;color:var(--theme-color-background-header);max-width:900px}.ContentHeader_tagList__rx3jY{color:var(--theme-color-palette-10)}.ContentHeader_tagList__rx3jY span{display:inline-block;margin-right:.5rem;font-size:.9rem;font-weight:500}.Statusbar_statusbar__AtVnB{display:flex;align-items:center;font-size:.8rem;justify-content:space-between;height:2rem;width:100%;padding:var(--content-padding);color:var(--theme-color-palette-5)}.SingleFollower_follower__EyBDI{border:1px solid rgba(0,0,0,.3);padding:10px;border-radius:15px;height:75px;width:250px;font-size:.8rem;overflow:hidden}.SingleFollower_follower__EyBDI:hover{border-color:var(--theme-text-link)}.SingleFollower_follower__EyBDI .SingleFollower_avatar__V9jHG{height:50px;width:50px;border:1px solid rgba(0,0,0,.3)}.SingleFollower_follower__EyBDI .SingleFollower_account__Z66vo{color:var(--theme-text-secondary);text-overflow:ellipsis}.SingleFollower_follower__EyBDI .SingleFollower_placeholder__CgsfJ{width:100%;height:100%}.FollowerCollection_followers__e_EUS{width:100%;background-color:var(--theme-color-background-light);padding:5px}.FollowerCollection_noFollowers__UaCVW{padding:calc(2*var(--content-padding));border-radius:var(--theme-rounded-corners);width:100%;background-color:var(--theme-color-background-light)}.Content_root__h1mNK{display:grid;grid-template-columns:1fr auto;height:100%;background-color:var(--theme-color-background-main)}.Content_root__h1mNK .Content_topSection__JIZi0{padding:0;background-color:var(--theme-color-components-video-background)}.Content_root__h1mNK .Content_lowerSection__BZHYI{padding:0 2%;margin-bottom:2em}.Content_root__h1mNK .Content_lowerSectionMobile__hRr0_{padding:.3em}.Content_leftCol__U2TDq{display:flex;flex-direction:column}.Content_loadingSpinner__mDlYC{display:grid}.Content_main__XVf63{display:grid;flex:1 1;height:100%;grid-template-rows:1fr auto}.UserDropdown_root__IdxfQ button{border:none}.UserDropdown_root__IdxfQ button .UserDropdown_ant-space__XJTZ3 .UserDropdown_ant-space-item__w4nC2{color:var(--theme-unknown-2)}.Header_header__U4Ro1{position:sticky;top:0;justify-content:space-between;z-index:20;padding:.4rem .7rem;box-shadow:0 1px 3px 1px rgba(0,0,0,.1);background-color:var(--theme-color-background-header)}.Header_header__U4Ro1,.Header_header__U4Ro1 .Header_logo__HLZ6Z{display:flex;align-items:center}.Header_header__U4Ro1 .Header_logo__HLZ6Z span{color:var(--theme-color-components-text-on-dark);font-family:var(--theme-text-display-font-family);margin-left:.5rem;font-size:1.5rem;font-weight:600}@media(max-width:768px){.Header_header__U4Ro1{line-height:5vh;height:5vh}} \ No newline at end of file diff --git a/static/web/_next/static/css/38031c0e461b403f.css b/static/web/_next/static/css/e109cf56cf6d95cf.css similarity index 86% rename from static/web/_next/static/css/38031c0e461b403f.css rename to static/web/_next/static/css/e109cf56cf6d95cf.css index 12eb0d69b..af63bb882 100644 --- a/static/web/_next/static/css/38031c0e461b403f.css +++ b/static/web/_next/static/css/e109cf56cf6d95cf.css @@ -1 +1 @@ -.ChatUserBadge_badge__1EdUp{font-family:var(--theme-text-display-font-family);font-weight:500;font-size:.6rem;text-transform:uppercase;padding:0 1px 1px;border-radius:3px;border-width:1px;border-style:solid;margin-left:3px}.ChatUserMessage_root__79heB{border-left:3px solid;position:relative;font-size:.9rem;padding:0 5px 5px}.ChatUserMessage_root__79heB *{z-index:100}.ChatUserMessage_root__79heB .ChatUserMessage_user__xUEp9{display:flex;align-items:center;font-family:var(--theme-text-display-font-family);font-weight:700}.ChatUserMessage_root__79heB .ChatUserMessage_message__MJ9LD{overflow:hidden;overflow-wrap:anywhere;font-weight:600}.ChatUserMessage_root__79heB .ChatUserMessage_message__MJ9LD mark{padding-left:.35em;padding-right:.35em;color:var(--theme-color-palette-12)}.ChatUserMessage_root__79heB.ChatUserMessage_ownMessage__d28A3{border-left:none;border-right:3px solid}.ChatUserMessage_root__79heB.ChatUserMessage_ownMessage__d28A3 .ChatUserMessage_background__Tfghp{position:absolute;z-index:-1;top:0;left:0;width:100%;height:100%;background-color:currentColor;opacity:.07;border-radius:.25rem;overflow:hidden}.ChatUserMessage_root__79heB .ChatUserMessage_modMenuWrapper__7fblv{position:absolute;display:none;top:0;right:10px}.ChatUserMessage_root__79heB .ChatUserMessage_modMenuWrapper__7fblv button:active,.ChatUserMessage_root__79heB .ChatUserMessage_modMenuWrapper__7fblv button:focus{display:block!important}.ChatUserMessage_root__79heB:hover .ChatUserMessage_modMenuWrapper__7fblv{display:block}.ChatUserMessage_messagePadding__Xp1F6{padding:.4rem 0 0}.ChatUserMessage_messagePaddingCollapsed__qxN0E{padding:0}.ChatTextField_root__4oUkJ{position:relative;display:flex;bottom:0;width:100%;padding:5px 1vw;overflow-x:hidden}.ChatTextField_root__4oUkJ .ChatTextField_inputWrap__1mAjD{position:relative;display:flex;color:var(--theme-color-components-form-field-text);background-color:var(--theme-color-palette-3);border-radius:var(--theme-rounded-corners);bottom:0;width:100%;padding:.3rem;overflow-x:hidden;transition:box-shadow 90ms ease-in-out}.ChatTextField_root__4oUkJ .ChatTextField_inputWrap__1mAjD:focus-within{background-color:var(--theme-color-components-form-field-background);box-shadow:inset 0 0 2px 2px var(--theme-color-palette-3)}.ChatTextField_root__4oUkJ .ChatTextField_maxCharacters__yGT4s{border:1px solid red}.ChatTextField_root__4oUkJ div[role=textbox]{font-size:.9rem;padding:.3rem;background-color:inherit;border-color:var(--theme-color-components-form-field-border);box-shadow:0;transition:box-shadow 50ms ease-in-out}.ChatTextField_root__4oUkJ div[role=textbox]:focus{outline:1px solid var(--color-owncast-gray-500)!important}.ChatTextField_root__4oUkJ div[role=textbox]>p{margin:0}.ChatTextField_emojiButton__ON_Cu,.ChatTextField_sendButton__MOmD4{border:none;background:none;cursor:pointer;padding:0 1rem}.ChatTextField_sendButton__MOmD4{display:none}@media(max-width:768px){.ChatTextField_sendButton__MOmD4{display:block}}.ChatModeratorNotification_chatModerationNotification__kgFWe{background-color:var(--theme-background-primary);margin:5px;border-radius:15px;border:1px solid rgba(0,0,0,.3);padding:10px;max-width:400px;display:flex;justify-content:center;align-items:center}.ChatModeratorNotification_chatModerationNotification__kgFWe .ChatModeratorNotification_icon__7FdGg{margin-right:10px;width:20px;height:20px}.ChatSystemMessage_chatSystemMessage__c6XEN{background:var(--theme-color-background-main);background:linear-gradient(70deg,#4e3672,#411c8b 40%,#534382 80%);margin:5px;border-radius:5px;border-width:1px;border-style:solid;padding:12px;max-width:400px}.ChatSystemMessage_chatSystemMessage__c6XEN .ChatSystemMessage_user__6yHSJ{display:flex;align-items:center;font-family:var(--theme-text-display-font-family);font-weight:700;color:#fff}.ChatSystemMessage_chatSystemMessage__c6XEN .ChatSystemMessage_message__ySq5g{color:#fff}.ChatSystemMessage_chatSystemMessage__c6XEN .ChatSystemMessage_message__ySq5g p{color:#fff;margin:unset}.ChatSystemMessage_chatSystemMessage__c6XEN .ChatSystemMessage_message__ySq5g mark{padding-left:.35em;padding-right:.35em;background-color:var(--theme-color-palette-12)}.ChatJoinMessage_root__vuVXa{padding:10px 0;text-align:center;font-size:.8rem;font-style:italic}.ChatContainer_chatHeader__EJsYI{text-align:center;font-weight:700;padding:5px 0;color:var(--text-color-secondary);border-bottom:1px solid var(--color-owncast-gray-700);font-variant:small-caps}.ChatContainer_toBottomWrap__3V5wa{display:flex;width:100%;justify-content:center;position:absolute;bottom:50px;color:var(--text-color-secondary)}.ChatContainer_toBottomWrap__3V5wa .ChatContainer_toBottomWrap__3V5wa .ChatContainer_toBottomBtn__453AG{border:none;background-color:gray}.ChatContainer_nameChangeView__ziyXN{display:flex;font-size:.9rem;border-radius:var(--theme-rounded-corners);padding:5px 15px;color:var(--color-owncast-gray-300);background-color:var(--color-owncast-background)}.ChatContainer_nameChangeView__ziyXN .ChatContainer_nameChangeText__yXG__{font-weight:700;font-family:var(--theme-text-display-font-family)}.ChatContainer_nameChangeView__ziyXN .ChatContainer_nameChangeText__yXG__ .ChatContainer_plain__IPS19{font-weight:400;font-family:var(--theme-text-body-font-family)!important}.ChatContainer_chatContainer__O2lYN{display:flex;flex-direction:column;background-color:var(--theme-color-background-chat);height:100%}.ChatContainer_virtuoso__OS9Kz{width:auto;flex-grow:1;overflow-y:scroll;overflow-x:hidden}.UserDropdown_root__IdxfQ button{border:none}.UserDropdown_root__IdxfQ button .UserDropdown_ant-space__XJTZ3 .UserDropdown_ant-space-item__w4nC2{color:var(--theme-unknown-2)}.Header_header__U4Ro1{position:sticky;top:0;justify-content:space-between;z-index:20;padding:.4rem .7rem;box-shadow:0 1px 3px 1px rgba(0,0,0,.1);background-color:var(--theme-color-background-header)}.Header_header__U4Ro1,.Header_header__U4Ro1 .Header_logo__HLZ6Z{display:flex;align-items:center}.Header_header__U4Ro1 .Header_logo__HLZ6Z span{color:var(--theme-color-components-text-on-dark);font-family:var(--theme-text-display-font-family);margin-left:.5rem;font-size:1.5rem;font-weight:600}@media(max-width:768px){.Header_header__U4Ro1{line-height:5vh;height:5vh}} \ No newline at end of file +.ChatUserBadge_badge__1EdUp{font-family:var(--theme-text-display-font-family);font-weight:500;font-size:.6rem;text-transform:uppercase;padding:0 1px 1px;border-radius:3px;border-width:1px;border-style:solid;margin-left:3px}.ChatUserMessage_root__79heB{border-left:3px solid;position:relative;font-size:.9rem;padding:0 5px 5px}.ChatUserMessage_root__79heB *{z-index:100}.ChatUserMessage_root__79heB .ChatUserMessage_user__xUEp9{display:flex;align-items:center;font-family:var(--theme-text-display-font-family);font-weight:700}.ChatUserMessage_root__79heB .ChatUserMessage_message__MJ9LD{overflow:hidden;overflow-wrap:anywhere;font-weight:600}.ChatUserMessage_root__79heB .ChatUserMessage_message__MJ9LD mark{padding-left:.35em;padding-right:.35em;color:var(--theme-color-palette-12)}.ChatUserMessage_root__79heB.ChatUserMessage_ownMessage__d28A3{border-left:none;border-right:3px solid}.ChatUserMessage_root__79heB.ChatUserMessage_ownMessage__d28A3 .ChatUserMessage_background__Tfghp{position:absolute;z-index:-1;top:0;left:0;width:100%;height:100%;background-color:currentColor;opacity:.07;border-radius:.25rem;overflow:hidden}.ChatUserMessage_root__79heB .ChatUserMessage_modMenuWrapper__7fblv{position:absolute;display:none;top:0;right:10px}.ChatUserMessage_root__79heB .ChatUserMessage_modMenuWrapper__7fblv button:active,.ChatUserMessage_root__79heB .ChatUserMessage_modMenuWrapper__7fblv button:focus{display:block!important}.ChatUserMessage_root__79heB:hover .ChatUserMessage_modMenuWrapper__7fblv{display:block}.ChatUserMessage_messagePadding__Xp1F6{padding:.4rem 0 0}.ChatUserMessage_messagePaddingCollapsed__qxN0E{padding:0}.ChatTextField_root__4oUkJ{position:relative;display:flex;bottom:0;width:100%;padding:5px 1vw;overflow-x:hidden}.ChatTextField_root__4oUkJ .ChatTextField_inputWrap__1mAjD{position:relative;display:flex;color:var(--theme-color-components-form-field-text);background-color:var(--theme-color-palette-3);border-radius:var(--theme-rounded-corners);bottom:0;width:100%;padding:.3rem;overflow-x:hidden;transition:box-shadow 90ms ease-in-out}.ChatTextField_root__4oUkJ .ChatTextField_inputWrap__1mAjD:focus-within{background-color:var(--theme-color-components-form-field-background);box-shadow:inset 0 0 2px 2px var(--theme-color-palette-3)}.ChatTextField_root__4oUkJ .ChatTextField_maxCharacters__yGT4s{border:1px solid red}.ChatTextField_root__4oUkJ div[role=textbox]{font-size:.9rem;padding:.3rem;background-color:inherit;border-color:var(--theme-color-components-form-field-border);box-shadow:0;transition:box-shadow 50ms ease-in-out}.ChatTextField_root__4oUkJ div[role=textbox]:focus{outline:1px solid var(--color-owncast-gray-500)!important}.ChatTextField_root__4oUkJ div[role=textbox]>p{margin:0}.ChatTextField_emojiButton__ON_Cu,.ChatTextField_sendButton__MOmD4{border:none;background:none;cursor:pointer;padding:0 1rem}.ChatTextField_sendButton__MOmD4{display:none}@media(max-width:768px){.ChatTextField_sendButton__MOmD4{display:block}}.ChatModeratorNotification_chatModerationNotification__kgFWe{background-color:var(--theme-background-primary);margin:5px;border-radius:15px;border:1px solid rgba(0,0,0,.3);padding:10px;max-width:400px;display:flex;justify-content:center;align-items:center}.ChatModeratorNotification_chatModerationNotification__kgFWe .ChatModeratorNotification_icon__7FdGg{margin-right:10px;width:20px;height:20px}.ChatSystemMessage_chatSystemMessage__c6XEN{background:var(--theme-color-background-main);background:linear-gradient(70deg,#4e3672,#411c8b 40%,#534382 80%);margin:5px;border-radius:5px;border-width:1px;border-style:solid;padding:12px;max-width:400px}.ChatSystemMessage_chatSystemMessage__c6XEN .ChatSystemMessage_user__6yHSJ{display:flex;align-items:center;font-family:var(--theme-text-display-font-family);font-weight:700;color:#fff}.ChatSystemMessage_chatSystemMessage__c6XEN .ChatSystemMessage_message__ySq5g{color:#fff}.ChatSystemMessage_chatSystemMessage__c6XEN .ChatSystemMessage_message__ySq5g p{color:#fff;margin:unset}.ChatSystemMessage_chatSystemMessage__c6XEN .ChatSystemMessage_message__ySq5g mark{padding-left:.35em;padding-right:.35em;background-color:var(--theme-color-palette-12)}.ChatJoinMessage_root__vuVXa{padding:10px 0;text-align:center;font-size:.8rem;font-style:italic}.ChatContainer_chatHeader__EJsYI{text-align:center;font-weight:700;padding:5px 0;color:var(--text-color-secondary);border-bottom:1px solid var(--color-owncast-gray-700);font-variant:small-caps}.ChatContainer_toBottomWrap__3V5wa{display:flex;width:100%;justify-content:center;position:absolute;bottom:50px;color:var(--text-color-secondary)}.ChatContainer_toBottomWrap__3V5wa .ChatContainer_toBottomWrap__3V5wa .ChatContainer_toBottomBtn__453AG{border:none;background-color:gray}.ChatContainer_nameChangeView__ziyXN{display:flex;font-size:.9rem;border-radius:var(--theme-rounded-corners);padding:5px 15px;color:var(--color-owncast-gray-300);background-color:var(--color-owncast-background)}.ChatContainer_nameChangeView__ziyXN .ChatContainer_nameChangeText__yXG__{font-weight:700;font-family:var(--theme-text-display-font-family)}.ChatContainer_nameChangeView__ziyXN .ChatContainer_nameChangeText__yXG__ .ChatContainer_plain__IPS19{font-weight:400;font-family:var(--theme-text-body-font-family)!important}.ChatContainer_chatContainer__O2lYN{display:flex;flex-direction:column;background-color:var(--theme-color-background-chat);height:100%}.ChatContainer_virtuoso__OS9Kz{width:auto;flex-grow:1;overflow-y:scroll;overflow-x:hidden}.ChatActionMessage_chatAction__x9Xsg{padding:5px;text-align:center}.UserDropdown_root__IdxfQ button{border:none}.UserDropdown_root__IdxfQ button .UserDropdown_ant-space__XJTZ3 .UserDropdown_ant-space-item__w4nC2{color:var(--theme-unknown-2)}.Header_header__U4Ro1{position:sticky;top:0;justify-content:space-between;z-index:20;padding:.4rem .7rem;box-shadow:0 1px 3px 1px rgba(0,0,0,.1);background-color:var(--theme-color-background-header)}.Header_header__U4Ro1,.Header_header__U4Ro1 .Header_logo__HLZ6Z{display:flex;align-items:center}.Header_header__U4Ro1 .Header_logo__HLZ6Z span{color:var(--theme-color-components-text-on-dark);font-family:var(--theme-text-display-font-family);margin-left:.5rem;font-size:1.5rem;font-weight:600}@media(max-width:768px){.Header_header__U4Ro1{line-height:5vh;height:5vh}} \ 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 43a367824..6dccc5200 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 944db857b..5b3b022b1 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 73044d451..442a86691 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 7a6e332c4..5257b03e4 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 87368ab98..6fe672077 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 ee9dcd71c..8983b8b27 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 87d35f79a..f247f6b7c 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 b18d55a49..6c5f4cf07 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 2f07618b7..13c9bc4a0 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 ff6aeb8d5..860740fa1 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 70273c771..1768ae7be 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 cb675f8c1..4f764562a 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 74a0f6acc..3f3f8fc08 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 50b9fd6af..c7dff7351 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 763625515..eccbd622b 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 66f88a440..819a2c06d 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 b27491860..e8056920d 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 30d32ce13..27fea6812 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 7989d8de3..3b835f203 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 411b8c9c0..3db433978 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 bb4f51f6c..3e5fb0080 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 a767cbc6c..ab2ccbc74 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 cc680463c..c9e7e0ce5 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 7d4f830d8..616db28c4 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 1de5986ff..c9d3e6d1a 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/index.html b/static/web/index.html index b0f2c2a57..3aa6c416b 100644 --- a/static/web/index.html +++ b/static/web/index.html @@ -1,4 +1,4 @@
Chat offline
Logo
Preview
\ No newline at end of file +
Chat offline
Logo
Preview
\ No newline at end of file