diff --git a/static/web/404.html b/static/web/404.html index 18f7a1d64..1e286d8e5 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 18f7a1d64..1e286d8e5 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/7fmH0Ye7j9zEmjJa1xEny/_buildManifest.js b/static/web/_next/static/Op3db-ONA2ZxFV9msL9z7/_buildManifest.js similarity index 97% rename from static/web/_next/static/7fmH0Ye7j9zEmjJa1xEny/_buildManifest.js rename to static/web/_next/static/Op3db-ONA2ZxFV9msL9z7/_buildManifest.js index dd87ea200..fb5dbb040 100644 --- a/static/web/_next/static/7fmH0Ye7j9zEmjJa1xEny/_buildManifest.js +++ b/static/web/_next/static/Op3db-ONA2ZxFV9msL9z7/_buildManifest.js @@ -1 +1 @@ -self.__BUILD_MANIFEST=function(s,a,c,e,i,t,n,d,f,h,o,m,b,u,k,j,g,r,p,l,_,w,v,y,I,B,F,A,D,E){return{__rewrites:{beforeFiles:[],afterFiles:[{source:"/api/:path*"},{source:"/hls/:path*"},{source:"/img/:path*"},{source:"/logo"},{source:"/thumbnail.jpg"}],fallback:[]},"/":[c,a,e,n,d,h,u,k,p,"static/chunks/8793-97f96a16bc8069f8.js",o,"static/css/089ea92974e6f7ca.css","static/chunks/pages/index-4b95694efc1a0478.js"],"/_error":["static/chunks/pages/_error-02cc11fd74b4e5ff.js"],"/admin":[s,c,a,e,i,t,n,d,f,m,k,"static/chunks/8676-c38bd41883242e8e.js","static/chunks/pages/admin-5221044a356250c9.js"],"/admin/access-tokens":[s,c,a,e,i,t,"static/chunks/pages/admin/access-tokens-11d48bfbb9164a75.js"],"/admin/actions":[j,s,c,a,e,i,l,"static/chunks/pages/admin/actions-74918267e1a136d4.js"],"/admin/chat/emojis":[s,c,a,e,i,b,_,"static/chunks/pages/admin/chat/emojis-816a586418b83710.js"],"/admin/chat/messages":[j,s,c,a,e,i,t,d,w,"static/chunks/pages/admin/chat/messages-2228eaaf3b330365.js"],"/admin/chat/users":[j,s,c,a,e,i,t,n,d,w,"static/chunks/pages/admin/chat/users-91c7fbe4fd9c6cbb.js"],"/admin/config/appearance":[v,s,u,y,I,"static/css/6c8941159bdd16f6.css","static/chunks/pages/admin/config/appearance-406c29acdc517f91.js"],"/admin/config/streamkeys":[s,c,a,e,i,l,"static/chunks/pages/admin/config/streamkeys-34d61214246fa6ed.js"],"/admin/config-chat":[s,"static/chunks/pages/admin/config-chat-b4857a4a7fae071a.js"],"/admin/config-federation":[s,"static/chunks/8995-2163bbfbcf40237a.js","static/chunks/pages/admin/config-federation-9ae27c1ba5d89acd.js"],"/admin/config-notify":[s,"static/chunks/7187-1eb4e0029ced6d6f.js","static/chunks/pages/admin/config-notify-85efccec12709d62.js"],"/admin/config-public-details":[v,s,c,a,e,i,b,y,_,"static/chunks/7022-4af2eaa76070d1d8.js","static/chunks/pages/admin/config-public-details-c3a4c0c8f8a33c5e.js"],"/admin/config-server-details":[s,B,"static/chunks/pages/admin/config-server-details-41d0d5f7e9b134a2.js"],"/admin/config-social-items":[s,c,a,e,i,"static/chunks/pages/admin/config-social-items-77a7605b50d74264.js"],"/admin/config-storage":[s,"static/chunks/pages/admin/config-storage-d61b1d9c973a1eda.js"],"/admin/config-video":[s,c,a,e,i,B,"static/chunks/6962-30cefca99d7f1bf3.js","static/chunks/pages/admin/config-video-d7c0df2ad7838b17.js"],"/admin/federation/actions":[s,c,a,e,i,t,"static/chunks/pages/admin/federation/actions-c184bd23e2d9eac5.js"],"/admin/federation/followers":[c,a,e,i,t,n,"static/chunks/pages/admin/federation/followers-75a86a3e75f888a3.js"],"/admin/hardware-info":[g,s,t,n,f,b,m,r,"static/chunks/pages/admin/hardware-info-4aa7ed52fcb239f9.js"],"/admin/help":[n,f,u,I,"static/chunks/5682-3ce0b43db5671359.js","static/chunks/pages/admin/help-d51ac5a60cd64502.js"],"/admin/logs":[s,c,a,e,i,t,k,"static/chunks/pages/admin/logs-1da798696afcbce1.js"],"/admin/stream-health":[g,s,t,n,f,m,r,"static/chunks/7731-510a1c0a2d78ab06.js","static/chunks/pages/admin/stream-health-1a0b9804bb7e2b81.js"],"/admin/upgrade":[s,c,a,e,i,"static/chunks/2069-d9f139bc73aea8db.js","static/chunks/pages/admin/upgrade-0ddabcb9157be8ec.js"],"/admin/viewer-info":[g,s,c,a,e,i,t,n,d,f,b,m,r,"static/chunks/pages/admin/viewer-info-ca7e8445e1d0f23e.js"],"/admin/webhooks":[s,c,a,e,i,"static/chunks/pages/admin/webhooks-e8966ce2d3b8efca.js"],"/embed/chat/readonly":[F,A,h,D,o,E,"static/css/e2479775241cd5e1.css","static/chunks/pages/embed/chat/readonly-d5ddc4feaa5a70b3.js"],"/embed/chat/readwrite":[F,A,a,h,D,"static/chunks/4388-de04225921654db9.js",o,E,"static/css/d97e63babcccad86.css","static/chunks/pages/embed/chat/readwrite-f6cb9372ecb1b1b2.js"],"/embed/video":["static/chunks/d6e1aeb5-0705bf43bcd6af77.js",d,h,"static/css/7c735c05af084bb2.css","static/chunks/7902-139b487986de3737.js",p,o,"static/chunks/2239-de44814eef43316f.js","static/css/f065863129f648da.css","static/chunks/pages/embed/video-ff4917f8414b83db.js"],sortedPages:["/","/_app","/_error","/admin","/admin/access-tokens","/admin/actions","/admin/chat/emojis","/admin/chat/messages","/admin/chat/users","/admin/config/appearance","/admin/config/streamkeys","/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/4485-1a6d1dff2c7e9712.js","static/chunks/3903-40ef42f3e9eb46b5.js","static/chunks/8909-a55c2326f65c0475.js","static/chunks/4267-cfe0f573c442773c.js","static/chunks/2206-53aea32a26a350a8.js","static/chunks/8091-5d2e0cdb05cd1ef7.js","static/chunks/575-11393a44fd60b818.js","static/chunks/5938-b5bac17e4fa31c49.js","static/chunks/5101-e2c6238798b20535.js","static/chunks/6395-f04016ae318b5e91.js","static/chunks/7466-1e76829814bac0c3.js","static/chunks/4763-00b0de2ecc334aed.js","static/chunks/5577-80194f897feb81a1.js","static/chunks/1082-51b9f63c6446d49d.js","static/chunks/5360-e33fd95511650040.js","static/chunks/29107295-1453a3860b50f70e.js","static/chunks/ee8b1517-c2bace5e006cd9c6.js","static/chunks/8245-e589f4c6673abc2b.js","static/chunks/7066-524305b22bfbc967.js","static/chunks/8119-57984c2c349ea105.js","static/chunks/2938-98037ce4e714d752.js","static/chunks/9550-1a77c14173cd266e.js","static/chunks/4ad82c5e-573627f1f4333b92.js","static/chunks/1943-6d1cab809126a603.js","static/chunks/1938-c04d908728a12ddb.js","static/chunks/3286-e91e1d2c2498ba57.js","static/chunks/d3048c20-93c008b4ff3ddb0e.js","static/chunks/d2094a0f-95b09167d4c8b805.js","static/chunks/3729-e88e6289f5436bb5.js","static/chunks/4977-d0d38f7189f4415d.js"),self.__BUILD_MANIFEST_CB&&self.__BUILD_MANIFEST_CB(); \ No newline at end of file +self.__BUILD_MANIFEST=function(s,a,c,e,i,t,n,d,f,h,o,m,b,u,k,j,g,r,p,l,_,w,v,y,I,B,F,A,D,E){return{__rewrites:{beforeFiles:[],afterFiles:[{source:"/api/:path*"},{source:"/hls/:path*"},{source:"/img/:path*"},{source:"/logo"},{source:"/thumbnail.jpg"}],fallback:[]},"/":[c,a,e,n,d,h,u,k,p,"static/chunks/8793-97f96a16bc8069f8.js",o,"static/css/089ea92974e6f7ca.css","static/chunks/pages/index-4b95694efc1a0478.js"],"/_error":["static/chunks/pages/_error-02cc11fd74b4e5ff.js"],"/admin":[s,c,a,e,i,t,n,d,f,m,k,"static/chunks/8676-c38bd41883242e8e.js","static/chunks/pages/admin-5221044a356250c9.js"],"/admin/access-tokens":[s,c,a,e,i,t,"static/chunks/pages/admin/access-tokens-11d48bfbb9164a75.js"],"/admin/actions":[j,s,c,a,e,i,l,"static/chunks/pages/admin/actions-74918267e1a136d4.js"],"/admin/chat/emojis":[s,c,a,e,i,b,_,"static/chunks/pages/admin/chat/emojis-816a586418b83710.js"],"/admin/chat/messages":[j,s,c,a,e,i,t,d,w,"static/chunks/pages/admin/chat/messages-2228eaaf3b330365.js"],"/admin/chat/users":[j,s,c,a,e,i,t,n,d,w,"static/chunks/pages/admin/chat/users-91c7fbe4fd9c6cbb.js"],"/admin/config/appearance":[v,s,u,y,I,"static/css/6c8941159bdd16f6.css","static/chunks/pages/admin/config/appearance-406c29acdc517f91.js"],"/admin/config/streamkeys":[s,c,a,e,i,l,"static/chunks/pages/admin/config/streamkeys-34d61214246fa6ed.js"],"/admin/config-chat":[s,"static/chunks/pages/admin/config-chat-b4857a4a7fae071a.js"],"/admin/config-federation":[s,"static/chunks/8995-2163bbfbcf40237a.js","static/chunks/pages/admin/config-federation-9ae27c1ba5d89acd.js"],"/admin/config-notify":[s,"static/chunks/7187-1eb4e0029ced6d6f.js","static/chunks/pages/admin/config-notify-85efccec12709d62.js"],"/admin/config-public-details":[v,s,c,a,e,i,b,y,_,"static/chunks/7022-4af2eaa76070d1d8.js","static/chunks/pages/admin/config-public-details-c3a4c0c8f8a33c5e.js"],"/admin/config-server-details":[s,B,"static/chunks/pages/admin/config-server-details-41d0d5f7e9b134a2.js"],"/admin/config-social-items":[s,c,a,e,i,"static/chunks/pages/admin/config-social-items-77a7605b50d74264.js"],"/admin/config-storage":[s,"static/chunks/pages/admin/config-storage-d61b1d9c973a1eda.js"],"/admin/config-video":[s,c,a,e,i,B,"static/chunks/6962-30cefca99d7f1bf3.js","static/chunks/pages/admin/config-video-d7c0df2ad7838b17.js"],"/admin/federation/actions":[s,c,a,e,i,t,"static/chunks/pages/admin/federation/actions-c184bd23e2d9eac5.js"],"/admin/federation/followers":[c,a,e,i,t,n,"static/chunks/pages/admin/federation/followers-75a86a3e75f888a3.js"],"/admin/hardware-info":[g,s,t,n,f,b,m,r,"static/chunks/pages/admin/hardware-info-4aa7ed52fcb239f9.js"],"/admin/help":[n,f,u,I,"static/chunks/5682-3ce0b43db5671359.js","static/chunks/pages/admin/help-d51ac5a60cd64502.js"],"/admin/logs":[s,c,a,e,i,t,k,"static/chunks/pages/admin/logs-1da798696afcbce1.js"],"/admin/stream-health":[g,s,t,n,f,m,r,"static/chunks/7731-510a1c0a2d78ab06.js","static/chunks/pages/admin/stream-health-1a0b9804bb7e2b81.js"],"/admin/upgrade":[s,c,a,e,i,"static/chunks/2069-d9f139bc73aea8db.js","static/chunks/pages/admin/upgrade-0ddabcb9157be8ec.js"],"/admin/viewer-info":[g,s,c,a,e,i,t,n,d,f,b,m,r,"static/chunks/pages/admin/viewer-info-ca7e8445e1d0f23e.js"],"/admin/webhooks":[s,c,a,e,i,"static/chunks/pages/admin/webhooks-e8966ce2d3b8efca.js"],"/embed/chat/readonly":[F,A,h,D,o,E,"static/css/e2479775241cd5e1.css","static/chunks/pages/embed/chat/readonly-d5ddc4feaa5a70b3.js"],"/embed/chat/readwrite":[F,A,a,h,D,"static/chunks/4388-de04225921654db9.js",o,E,"static/css/d97e63babcccad86.css","static/chunks/pages/embed/chat/readwrite-f6cb9372ecb1b1b2.js"],"/embed/video":["static/chunks/d6e1aeb5-0705bf43bcd6af77.js",d,h,"static/css/7c735c05af084bb2.css","static/chunks/7902-139b487986de3737.js",p,o,"static/chunks/2239-de44814eef43316f.js","static/css/f065863129f648da.css","static/chunks/pages/embed/video-ff4917f8414b83db.js"],sortedPages:["/","/_app","/_error","/admin","/admin/access-tokens","/admin/actions","/admin/chat/emojis","/admin/chat/messages","/admin/chat/users","/admin/config/appearance","/admin/config/streamkeys","/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/4485-1a6d1dff2c7e9712.js","static/chunks/3903-40ef42f3e9eb46b5.js","static/chunks/8909-a55c2326f65c0475.js","static/chunks/4267-cfe0f573c442773c.js","static/chunks/2206-53aea32a26a350a8.js","static/chunks/8091-5d2e0cdb05cd1ef7.js","static/chunks/575-11393a44fd60b818.js","static/chunks/5938-b5bac17e4fa31c49.js","static/chunks/5101-e2c6238798b20535.js","static/chunks/6395-f04016ae318b5e91.js","static/chunks/7466-1e76829814bac0c3.js","static/chunks/4763-00b0de2ecc334aed.js","static/chunks/5577-80194f897feb81a1.js","static/chunks/1082-51b9f63c6446d49d.js","static/chunks/5360-e33fd95511650040.js","static/chunks/29107295-1453a3860b50f70e.js","static/chunks/ee8b1517-c2bace5e006cd9c6.js","static/chunks/8245-e589f4c6673abc2b.js","static/chunks/7066-524305b22bfbc967.js","static/chunks/8119-57984c2c349ea105.js","static/chunks/2938-98037ce4e714d752.js","static/chunks/9550-1a77c14173cd266e.js","static/chunks/4ad82c5e-573627f1f4333b92.js","static/chunks/1943-6d1cab809126a603.js","static/chunks/1938-c04d908728a12ddb.js","static/chunks/3286-e91e1d2c2498ba57.js","static/chunks/d3048c20-93c008b4ff3ddb0e.js","static/chunks/d2094a0f-95b09167d4c8b805.js","static/chunks/3729-e88e6289f5436bb5.js","static/chunks/4977-748e4374e401ea01.js"),self.__BUILD_MANIFEST_CB&&self.__BUILD_MANIFEST_CB(); \ No newline at end of file diff --git a/static/web/_next/static/7fmH0Ye7j9zEmjJa1xEny/_ssgManifest.js b/static/web/_next/static/Op3db-ONA2ZxFV9msL9z7/_ssgManifest.js similarity index 100% rename from static/web/_next/static/7fmH0Ye7j9zEmjJa1xEny/_ssgManifest.js rename to static/web/_next/static/Op3db-ONA2ZxFV9msL9z7/_ssgManifest.js diff --git a/static/web/_next/static/chunks/4977-748e4374e401ea01.js b/static/web/_next/static/chunks/4977-748e4374e401ea01.js new file mode 100644 index 000000000..1ff7f5fb8 --- /dev/null +++ b/static/web/_next/static/chunks/4977-748e4374e401ea01.js @@ -0,0 +1 @@ +(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4977],{94977:function(e,t,s){"use strict";s.r(t),s.d(t,{ChatContainer:function(){return ex}});var a,n,r,o,i,l=s(85893),c=s(9764),d=s(67294),h=s(36531),u=s(91951),m=s(59760),g=s.n(m),x=s(86492),p=s.n(x),_=s(94184),C=s.n(_),f=s(94199),j=s(29158),v=s(4480),y=s(5152),N=s.n(y),M=s(50085),b=s.n(M),S=s(77278);function E(e){let t=new Date(e);if(Number.isNaN(t))return"";let s=(0,S.Xb)(e);if(s>=1){let a=t.toLocaleDateString("en-US",{dateStyle:"medium"});return"".concat(a," at ").concat(t.toLocaleTimeString())}return"".concat(t.toLocaleTimeString())}var T=s(48976),w=s.n(T);let k=e=>{let{badge:t,userColor:s}=e,a="var(--theme-user-colors-".concat(s,")");return(0,l.jsx)("span",{style:{color:a,borderColor:a},className:w().badge,children:t})};var O=s(77466);let D=N()(()=>Promise.all([s.e(8909),s.e(3903),s.e(4267),s.e(2206),s.e(8091),s.e(1769),s.e(4860)]).then(s.bind(s,94860)).then(e=>e.ChatModerationActionMenu),{loadableGenerated:{webpack:()=>[94860]}}),A=N()(()=>Promise.resolve().then(s.bind(s,47049)).then(e=>e.Highlight),{loadableGenerated:{webpack:()=>[47049]}}),B=e=>{let{children:t,user:s}=e,{displayName:a,createdAt:n}=s,r="".concat(a," first joined ").concat(E(n));return(0,l.jsx)(f.Z,{title:r,placement:"topLeft",mouseEnterDelay:1,children:t})},U=e=>{let{message:t,highlightString:s,showModeratorMenu:a,sentBySelf:n,sameUserAsLast:r,isAuthorModerator:o,isAuthorAuthenticated:i}=e,{id:c,body:h,user:u,timestamp:m}=t,{id:g,displayName:x,displayColor:_}=u,y=(0,v.sJ)(O.FI),N="var(--theme-color-users-".concat(_,")"),M="Sent ".concat(E(m)),[S,T]=(0,d.useState)(h),w=[];return o&&w.push((0,l.jsx)(k,{badge:"mod",userColor:_},"mod")),i&&w.push((0,l.jsx)(k,{badge:(0,l.jsx)(j.Z,{title:"authenticated"}),userColor:_},"auth")),(0,d.useEffect)(()=>{T(p().decode(h))},[t]),(0,l.jsx)("div",{className:C()(b().messagePadding,r&&b().messagePaddingCollapsed,"chat-message_user"),children:(0,l.jsxs)("div",{className:C()(b().root,{[b().ownMessage]:n}),style:{borderColor:N},children:[!r&&(0,l.jsx)(B,{user:u,children:(0,l.jsxs)("div",{className:b().user,style:{color:N},children:[(0,l.jsx)("span",{className:b().userName,children:x}),(0,l.jsx)("span",{children:w})]})}),(0,l.jsx)(f.Z,{title:M,mouseEnterDelay:1,children:(0,l.jsx)(A,{search:s,children:(0,l.jsx)("div",{className:b().message,dangerouslySetInnerHTML:{__html:S}})})}),a&&(0,l.jsx)("div",{className:b().modMenuWrapper,children:(0,l.jsx)(D,{messageID:c,accessToken:y,userID:g,userDisplayName:x})}),(0,l.jsx)("div",{className:b().background,style:{color:N}})]})})};var F=s(93045),L=s(27496),R=s(55241),P=s(77493),H=s(96391),I=s(26912),W=s.n(I);let G=N()(()=>Promise.all([s.e(7741),s.e(1559)]).then(s.bind(s,51559)).then(e=>e.EmojiPicker),{loadableGenerated:{webpack:()=>[51559]}}),Z=e=>{let{attributes:t,element:s,children:a}=e,n=(0,H.vt)(),r=(0,H.UE)();return(0,l.jsxs)("span",{...t,contentEditable:!1,children:[(0,l.jsx)("img",{alt:s.alt,src:s.src,title:s.name,style:{display:"inline",maxWidth:"50px",maxHeight:"20px",boxShadow:"".concat(n&&r?"0 0 0 3px #B4D5FF":"none")}}),a]})},V=e=>{let{isVoid:t}=e;return e.isVoid=e=>"image"===e.type||t(e),e.isInline=e=>"image"===e.type,e},Y=e=>{let t;if(P.xv.isText(e)){let s=e.text;return s}if(0===e.children.length)t=[{text:""}];else{var a;t=null===(a=e.children)||void 0===a?void 0:a.map(e=>Y(e)).join("")}switch(e.type){case"paragraph":return"

".concat(t,"

");case"image":return'').concat(e.alt,'');default:return t}},J=e=>{if(P.xv.isText(e))return e.text.length;if("image"===e.type)return 5;let t=0;return e.children.forEach(e=>{t+=J(e)}),t},X=e=>{let{defaultText:t}=e,[s,a]=(0,d.useState)(!1),[n,r]=(0,d.useState)(null==t?void 0:t.length),o=(0,v.sJ)(O.Gt),i=(0,d.useMemo)(()=>(0,H.BU)(V((0,P.Jh)())),[]),c=()=>{if(!o){console.log("websocketService is not defined");return}let e=Y(i);o.send({type:u.C.CHAT,body:e}),P.YR.delete(i,{at:{anchor:P.ML.start(i,[]),focus:P.ML.end(i,[])}}),r(0)},h=(e,t,s)=>({type:"image",alt:e,src:t,name:s,children:[{text:""}]}),m=(e,t)=>{if(!e)return;let{selection:s}=i,a=h(t,e,t);if(P.YR.insertNodes(i,a,{select:!0}),s){var n;let[r,o]=P.ML.parent(i,null===(n=s.focus)||void 0===n?void 0:n.path);i.isVoid(r)||P.NB.string(r).length?P.YR.insertNodes(i,a,{at:P.y$.next(o),select:!0}):(P.YR.insertNodes(i,a,{at:o,select:!0}),P.ML.normalize(i,{force:!0}))}else P.YR.insertNodes(i,a,{select:!0})},g=e=>{H.F3.focus(i),P.YR.insertText(i,e)},x=(e,t)=>{H.F3.focus(i),m(t,e)},p=e=>{let t=J(i)+1;if("Enter"===e.key){e.preventDefault(),c();return}if("Backspace"===e.key){r(t-1);return}t+1>300&&e.preventDefault(),r(t+1)},_=e=>{let t=e.clipboardData.getData("text/plain"),{length:s}=t;n+s>300&&e.preventDefault()},f=e=>"image"===e.element.type?(0,l.jsx)(Z,{...e}):(0,l.jsx)("p",{...e});return(0,l.jsx)("div",{className:W().root,children:(0,l.jsxs)("div",{className:C()(W().inputWrap,n>=300&&W().maxCharacters),children:[(0,l.jsxs)(H.mH,{editor:i,value:[{type:"paragraph",children:[{text:t||""}]}],children:[(0,l.jsx)(H.CX,{className:"chat-text-input",onKeyDown:p,onPaste:_,renderElement:f,placeholder:"Send a message to chat",style:{width:"100%"},role:"textbox","aria-label":"Chat text input",autoFocus:!0}),(0,l.jsx)(R.Z,{content:(0,l.jsx)(G,{onEmojiSelect:g,onCustomEmojiSelect:x}),trigger:"click",onOpenChange:e=>a(e),open:s})]}),(0,l.jsxs)("div",{style:{display:"flex",paddingLeft:"5px"},children:[(0,l.jsx)("button",{type:"button",className:W().emojiButton,title:"Emoji picker button",onClick:()=>a(!s),children:(0,l.jsx)(F.Z,{})}),(0,l.jsx)("button",{type:"button",className:W().sendButton,title:"Send message Button",onClick:c,children:(0,l.jsx)(L.Z,{})})]})]})})};var z=s(93107),q=s.n(z);function K(){return(K=Object.assign?Object.assign.bind():function(e){for(var t=1;t(0,l.jsxs)("div",{className:q().chatModerationNotification,children:[(0,l.jsx)($,{className:q().icon}),"You are now a moderator."]});var ee=s(47049),et=s(23421),es=s.n(et);let ea=e=>{let{message:{body:t,user:{displayName:s}},highlightString:a}=e;return(0,l.jsxs)("div",{className:C()([es().chatSystemMessage,"chat-message_system"]),children:[(0,l.jsx)("div",{className:es().user,children:(0,l.jsx)("span",{className:es().userName,children:s})}),(0,l.jsx)(ee.Highlight,{search:a,children:(0,l.jsx)("div",{className:es().message,dangerouslySetInnerHTML:{__html:t}})})]})};var en=s(55355),er=s(91044),eo=s.n(er);let ei=e=>{let{isAuthorModerator:t,userColor:s,displayName:a}=e;return(0,l.jsxs)("div",{className:eo().root,children:[(0,l.jsxs)("span",{style:{color:"var(--theme-color-users-".concat(s,")")},children:[(0,l.jsx)("span",{style:{padding:"0 10px"},children:(0,l.jsx)(en.Z,{})}),(0,l.jsx)("span",{style:{fontWeight:"bold"},children:a}),t&&(0,l.jsx)("span",{children:(0,l.jsx)(k,{badge:"mod",userColor:s})})]})," ","joined the chat."]})};var el=s(66017),ec=s(71577);let ed=e=>{let{chatContainerRef:t,messages:s}=e;return(0,l.jsx)("div",{className:g().toBottomWrap,children:(0,l.jsx)(ec.Z,{type:"default",style:{color:"currentColor"},icon:(0,l.jsx)(el.Z,{}),onClick:()=>t.current.scrollToIndex({index:s.length-1,behavior:"smooth"}),children:"Go to last message"})})};var eh=s(65302),eu=s.n(eh);let em=e=>{let{body:t}=e;return(0,l.jsx)("div",{dangerouslySetInnerHTML:{__html:t},className:eu().chatAction})};function eg(e){let{user:{scopes:t}}=e;return!!t&&0!==t.length&&t.includes("MODERATOR")}let ex=e=>{let{messages:t,usernameToHighlight:s,chatUserId:a,isModerator:n,showInput:r,height:o}=e,[i,m]=(0,d.useState)(!0),x=(0,d.useRef)(null),p=e=>{let{oldName:t,user:s}=e,{displayName:a,displayColor:n}=s,r="var(--theme-color-users-".concat(n,")");return(0,l.jsxs)("div",{className:g().nameChangeView,children:[(0,l.jsx)("div",{style:{marginRight:5,height:"max-content",margin:"auto 5px auto 0"},children:(0,l.jsx)(h.Z,{})}),(0,l.jsxs)("div",{className:g().nameChangeText,children:[(0,l.jsx)("span",{style:{color:r},children:t}),(0,l.jsx)("span",{className:g().plain,children:" is now known as "}),(0,l.jsx)("span",{style:{color:r},children:a})]})]})},_=e=>{let{user:{displayName:t,displayColor:s}}=e,a=eg(e);return(0,l.jsx)(ei,{displayName:t,userColor:s,isAuthorModerator:a})},C=e=>{let{body:t}=e;return(0,l.jsx)(em,{body:t})},f=e=>{let t=eg(e);return t?(0,l.jsx)(Q,{}):(0,l.jsx)("div",{style:{width:"1px",height:"1px"}})},j=(e,r)=>{switch(r.type){case u.C.CHAT:var o,i,c;return(0,l.jsx)(U,{message:r,showModeratorMenu:n,highlightString:s,sentBySelf:(null===(o=r.user)||void 0===o?void 0:o.id)===a,sameUserAsLast:function(e,t){if(e.length<2)return!1;let s=e[t];if(!s||!s.user)return!1;let{user:{id:a}}=s,n=e[t-1];if((null==n?void 0:n.type)!==u.C.CHAT||!(null==n?void 0:n.timestamp)||!s.timestamp)return!1;let r=new Date(null==n?void 0:n.timestamp).getTime(),o=new Date(s.timestamp).getTime();return!(o-r>12e4)&&a===(null==n?void 0:n.user.id)}(t,e),isAuthorModerator:null===(i=r.user.scopes)||void 0===i?void 0:i.includes("MODERATOR"),isAuthorAuthenticated:null===(c=r.user)||void 0===c?void 0:c.authenticated},r.id);case u.C.NAME_CHANGE:return p(r);case u.C.CONNECTED_USER_INFO:return f(r);case u.C.USER_JOINED:return _(r);case u.C.CHAT_ACTION:return C(r);case u.C.SYSTEM:return(0,l.jsx)(ea,{message:r,highlightString:s},r.id);default:return null}},v=(0,d.useMemo)(()=>(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(c.OO,{style:{height:o},className:g().virtuoso,ref:x,data:t,itemContent:(e,t)=>j(e,t),followOutput:e=>!!e&&"smooth",alignToBottom:!0,atBottomThreshold:70,atBottomStateChange(e){m(e)},endReached:()=>m(!0)}),!i&&(0,l.jsx)(ed,{chatContainerRef:x,messages:t})]}),[t,s,a,n,i]);return(0,l.jsxs)("div",{id:"chat-container",className:g().chatContainer,children:[v,r&&(0,l.jsx)("div",{className:g().chatTextField,children:(0,l.jsx)(X,{})})]})};ex.defaultProps={showInput:!0,height:"auto"}},65302:function(e){e.exports={chatAction:"ChatActionMessage_chatAction__x9Xsg"}},59760:function(e){e.exports={toBottomWrap:"ChatContainer_toBottomWrap__3V5wa",nameChangeView:"ChatContainer_nameChangeView__ziyXN",nameChangeText:"ChatContainer_nameChangeText__yXG__",plain:"ChatContainer_plain__IPS19",chatContainer:"ChatContainer_chatContainer__O2lYN",virtuoso:"ChatContainer_virtuoso__OS9Kz",chatTextField:"ChatContainer_chatTextField__OqCGL"}},91044:function(e){e.exports={root:"ChatJoinMessage_root__vuVXa"}},93107:function(e){e.exports={chatModerationNotification:"ChatModeratorNotification_chatModerationNotification__kgFWe",icon:"ChatModeratorNotification_icon__7FdGg"}},23421:function(e){e.exports={chatSystemMessage:"ChatSystemMessage_chatSystemMessage__c6XEN",user:"ChatSystemMessage_user__6yHSJ",message:"ChatSystemMessage_message__ySq5g"}},26912: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"}},48976:function(e){e.exports={badge:"ChatUserBadge_badge__1EdUp"}},50085: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/4977-d0d38f7189f4415d.js b/static/web/_next/static/chunks/4977-d0d38f7189f4415d.js deleted file mode 100644 index 56488cf8c..000000000 --- a/static/web/_next/static/chunks/4977-d0d38f7189f4415d.js +++ /dev/null @@ -1 +0,0 @@ -(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4977],{94977:function(e,t,a){"use strict";a.r(t),a.d(t,{ChatContainer:function(){return ex}});var s,n,r,o,i,l=a(85893),c=a(9764),d=a(67294),h=a(36531),u=a(91951),m=a(59760),g=a.n(m),x=a(86492),p=a.n(x),_=a(94184),C=a.n(_),f=a(94199),j=a(29158),v=a(4480),y=a(5152),N=a.n(y),M=a(50085),b=a.n(M),S=a(77278);function T(e){let t=new Date(e);if(Number.isNaN(t))return"";let a=(0,S.Xb)(e);if(a>=1){let s=t.toLocaleDateString("en-US",{dateStyle:"medium"});return"".concat(s," at ").concat(t.toLocaleTimeString())}return"".concat(t.toLocaleTimeString())}var E=a(48976),w=a.n(E);let k=e=>{let{badge:t,userColor:a}=e,s="var(--theme-user-colors-".concat(a,")");return(0,l.jsx)("span",{style:{color:s,borderColor:s},className:w().badge,children:t})};var O=a(77466);let D=N()(()=>Promise.all([a.e(8909),a.e(3903),a.e(4267),a.e(2206),a.e(8091),a.e(1769),a.e(4860)]).then(a.bind(a,94860)).then(e=>e.ChatModerationActionMenu),{loadableGenerated:{webpack:()=>[94860]}}),A=N()(()=>Promise.resolve().then(a.bind(a,47049)).then(e=>e.Highlight),{loadableGenerated:{webpack:()=>[47049]}}),B=e=>{let{children:t,user:a}=e,{displayName:s,createdAt:n}=a,r="".concat(s," first joined ").concat(T(n));return(0,l.jsx)(f.Z,{title:r,placement:"topLeft",mouseEnterDelay:1,children:t})},U=e=>{let{message:t,highlightString:a,showModeratorMenu:s,sentBySelf:n,sameUserAsLast:r,isAuthorModerator:o,isAuthorAuthenticated:i}=e,{id:c,body:h,user:u,timestamp:m}=t,{id:g,displayName:x,displayColor:_}=u,y=(0,v.sJ)(O.FI),N="var(--theme-color-users-".concat(_,")"),M="Sent ".concat(T(m)),[S,E]=(0,d.useState)(h),w=[];return o&&w.push((0,l.jsx)(k,{badge:"mod",userColor:_},"mod")),i&&w.push((0,l.jsx)(k,{badge:(0,l.jsx)(j.Z,{title:"authenticated"}),userColor:_},"auth")),(0,d.useEffect)(()=>{E(p().decode(h))},[t]),(0,l.jsx)("div",{className:C()(b().messagePadding,r&&b().messagePaddingCollapsed,"chat-message_user"),children:(0,l.jsxs)("div",{className:C()(b().root,{[b().ownMessage]:n}),style:{borderColor:N},children:[!r&&(0,l.jsx)(B,{user:u,children:(0,l.jsxs)("div",{className:b().user,style:{color:N},children:[(0,l.jsx)("span",{className:b().userName,children:x}),(0,l.jsx)("span",{children:w})]})}),(0,l.jsx)(f.Z,{title:M,mouseEnterDelay:1,children:(0,l.jsx)(A,{search:a,children:(0,l.jsx)("div",{className:b().message,dangerouslySetInnerHTML:{__html:S}})})}),s&&(0,l.jsx)("div",{className:b().modMenuWrapper,children:(0,l.jsx)(D,{messageID:c,accessToken:y,userID:g,userDisplayName:x})}),(0,l.jsx)("div",{className:b().background,style:{color:N}})]})})};var F=a(93045),L=a(27496),I=a(55241),R=a(77493),P=a(96391),H=a(26912),W=a.n(H);let G=N()(()=>Promise.all([a.e(7741),a.e(1559)]).then(a.bind(a,51559)).then(e=>e.EmojiPicker),{loadableGenerated:{webpack:()=>[51559]}}),Z=e=>{let{attributes:t,element:a,children:s}=e,n=(0,P.vt)(),r=(0,P.UE)();return(0,l.jsxs)("span",{...t,contentEditable:!1,children:[(0,l.jsx)("img",{alt:a.alt,src:a.src,title:a.name,style:{display:"inline",maxWidth:"50px",maxHeight:"20px",boxShadow:"".concat(n&&r?"0 0 0 3px #B4D5FF":"none")}}),s]})},V=e=>{let{isVoid:t}=e;return e.isVoid=e=>"image"===e.type||t(e),e.isInline=e=>"image"===e.type,e},Y=e=>{let t;if(R.xv.isText(e)){let a=e.text;return a}if(0===e.children.length)t=[{text:""}];else{var s;t=null===(s=e.children)||void 0===s?void 0:s.map(e=>Y(e)).join("")}switch(e.type){case"paragraph":return"

".concat(t,"

");case"image":return'').concat(e.alt,'');default:return t}},J=e=>{if(R.xv.isText(e))return e.text.length;if("image"===e.type)return 5;let t=0;return e.children.forEach(e=>{t+=J(e)}),t},X=e=>{let{defaultText:t}=e,[a,s]=(0,d.useState)(!1),[n,r]=(0,d.useState)(null==t?void 0:t.length),o=(0,v.sJ)(O.Gt),i=(0,d.useMemo)(()=>(0,P.BU)(V((0,R.Jh)())),[]),c=()=>{if(!o){console.log("websocketService is not defined");return}let e=Y(i);o.send({type:u.C.CHAT,body:e}),R.YR.delete(i,{at:{anchor:R.ML.start(i,[]),focus:R.ML.end(i,[])}}),r(0)},h=(e,t,a)=>({type:"image",alt:e,src:t,name:a,children:[{text:""}]}),m=(e,t)=>{if(!e)return;let{selection:a}=i,s=h(t,e,t);if(R.YR.insertNodes(i,s,{select:!0}),a){var n;let[r,o]=R.ML.parent(i,null===(n=a.focus)||void 0===n?void 0:n.path);i.isVoid(r)||R.NB.string(r).length?R.YR.insertNodes(i,s,{at:R.y$.next(o),select:!0}):(R.YR.insertNodes(i,s,{at:o,select:!0}),R.ML.normalize(i,{force:!0}))}else R.YR.insertNodes(i,s,{select:!0})},g=e=>{P.F3.focus(i),R.YR.insertText(i,e)},x=(e,t)=>{P.F3.focus(i),m(t,e)},p=e=>{let t=J(i)+1;if("Enter"===e.key){e.preventDefault(),c();return}if("Backspace"===e.key){r(t-1);return}t+1>300&&e.preventDefault(),r(t+1)},_=e=>{let t=e.clipboardData.getData("text/plain"),{length:a}=t;n+a>300&&e.preventDefault()},f=e=>"image"===e.element.type?(0,l.jsx)(Z,{...e}):(0,l.jsx)("p",{...e});return(0,l.jsx)("div",{className:W().root,children:(0,l.jsxs)("div",{className:C()(W().inputWrap,n>=300&&W().maxCharacters),children:[(0,l.jsxs)(P.mH,{editor:i,value:[{type:"paragraph",children:[{text:t||""}]}],children:[(0,l.jsx)(P.CX,{className:"chat-text-input",onKeyDown:p,onPaste:_,renderElement:f,placeholder:"Send a message to chat",style:{width:"100%"},role:"textbox","aria-label":"Chat text input",autoFocus:!0}),(0,l.jsx)(I.Z,{content:(0,l.jsx)(G,{onEmojiSelect:g,onCustomEmojiSelect:x}),trigger:"click",onOpenChange:e=>s(e),open:a})]}),(0,l.jsxs)("div",{style:{display:"flex",paddingLeft:"5px"},children:[(0,l.jsx)("button",{type:"button",className:W().emojiButton,title:"Emoji picker button",onClick:()=>s(!a),children:(0,l.jsx)(F.Z,{})}),(0,l.jsx)("button",{type:"button",className:W().sendButton,title:"Send message Button",onClick:c,children:(0,l.jsx)(L.Z,{})})]})]})})};var z=a(93107),q=a.n(z);function K(){return(K=Object.assign?Object.assign.bind():function(e){for(var t=1;t(0,l.jsxs)("div",{className:q().chatModerationNotification,children:[(0,l.jsx)($,{className:q().icon}),"You are now a moderator."]});var ee=a(47049),et=a(23421),ea=a.n(et);let es=e=>{let{message:{body:t,user:{displayName:a}},highlightString:s}=e;return(0,l.jsxs)("div",{className:C()([ea().chatSystemMessage,"chat-message_system"]),children:[(0,l.jsx)("div",{className:ea().user,children:(0,l.jsx)("span",{className:ea().userName,children:a})}),(0,l.jsx)(ee.Highlight,{search:s,children:(0,l.jsx)("div",{className:ea().message,dangerouslySetInnerHTML:{__html:t}})})]})};var en=a(55355),er=a(91044),eo=a.n(er);let ei=e=>{let{isAuthorModerator:t,userColor:a,displayName:s}=e;return(0,l.jsxs)("div",{className:eo().root,children:[(0,l.jsxs)("span",{style:{color:"var(--theme-color-users-".concat(a,")")},children:[(0,l.jsx)("span",{style:{padding:"0 10px"},children:(0,l.jsx)(en.Z,{})}),(0,l.jsx)("span",{style:{fontWeight:"bold"},children:s}),t&&(0,l.jsx)("span",{children:(0,l.jsx)(k,{badge:"mod",userColor:a})})]})," ","joined the chat."]})};var el=a(66017),ec=a(71577);let ed=e=>{let{chatContainerRef:t,messages:a}=e;return(0,l.jsx)("div",{className:g().toBottomWrap,children:(0,l.jsx)(ec.Z,{type:"default",style:{color:"currentColor"},icon:(0,l.jsx)(el.Z,{}),onClick:()=>t.current.scrollToIndex({index:a.length-1,behavior:"smooth"}),children:"Go to last message"})})};var eh=a(65302),eu=a.n(eh);let em=e=>{let{body:t}=e;return(0,l.jsx)("div",{dangerouslySetInnerHTML:{__html:t},className:eu().chatAction})};function eg(e){let{user:{scopes:t}}=e;return!!t&&0!==t.length&&t.includes("MODERATOR")}let ex=e=>{let{messages:t,usernameToHighlight:a,chatUserId:s,isModerator:n,showInput:r,height:o}=e,[i,m]=(0,d.useState)(!1),x=(0,d.useRef)(null),p=e=>{let{oldName:t,user:a}=e,{displayName:s,displayColor:n}=a,r="var(--theme-color-users-".concat(n,")");return(0,l.jsxs)("div",{className:g().nameChangeView,children:[(0,l.jsx)("div",{style:{marginRight:5,height:"max-content",margin:"auto 5px auto 0"},children:(0,l.jsx)(h.Z,{})}),(0,l.jsxs)("div",{className:g().nameChangeText,children:[(0,l.jsx)("span",{style:{color:r},children:t}),(0,l.jsx)("span",{className:g().plain,children:" is now known as "}),(0,l.jsx)("span",{style:{color:r},children:s})]})]})},_=e=>{let{user:{displayName:t,displayColor:a}}=e,s=eg(e);return(0,l.jsx)(ei,{displayName:t,userColor:a,isAuthorModerator:s})},C=e=>{let{body:t}=e;return(0,l.jsx)(em,{body:t})},f=e=>{let t=eg(e);return t?(0,l.jsx)(Q,{}):(0,l.jsx)("div",{style:{width:"1px",height:"1px"}})},j=(e,r)=>{switch(r.type){case u.C.CHAT:var o,i,c;return(0,l.jsx)(U,{message:r,showModeratorMenu:n,highlightString:a,sentBySelf:(null===(o=r.user)||void 0===o?void 0:o.id)===s,sameUserAsLast:function(e,t){if(e.length<2)return!1;let a=e[t];if(!a||!a.user)return!1;let{user:{id:s}}=a,n=e[t-1];if((null==n?void 0:n.type)!==u.C.CHAT||!(null==n?void 0:n.timestamp)||!a.timestamp)return!1;let r=new Date(null==n?void 0:n.timestamp).getTime(),o=new Date(a.timestamp).getTime();return!(o-r>12e4)&&s===(null==n?void 0:n.user.id)}(t,e),isAuthorModerator:null===(i=r.user.scopes)||void 0===i?void 0:i.includes("MODERATOR"),isAuthorAuthenticated:null===(c=r.user)||void 0===c?void 0:c.authenticated},r.id);case u.C.NAME_CHANGE:return p(r);case u.C.CONNECTED_USER_INFO:return f(r);case u.C.USER_JOINED:return _(r);case u.C.CHAT_ACTION:return C(r);case u.C.SYSTEM:return(0,l.jsx)(es,{message:r,highlightString:a},r.id);default:return null}},v=(0,d.useMemo)(()=>(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(c.OO,{style:{height:o},className:g().virtuoso,ref:x,initialTopMostItemIndex:t.length-1,data:t,itemContent:(e,t)=>j(e,t),followOutput:"auto",alignToBottom:!0,atBottomThreshold:70,atBottomStateChange:e=>m(e)}),!i&&(0,l.jsx)(ed,{chatContainerRef:x,messages:t})]}),[t,a,s,n,i]);return(0,l.jsxs)("div",{id:"chat-container",className:g().chatContainer,children:[v,r&&(0,l.jsx)("div",{className:g().chatTextField,children:(0,l.jsx)(X,{})})]})};ex.defaultProps={showInput:!0,height:"auto"}},65302:function(e){e.exports={chatAction:"ChatActionMessage_chatAction__x9Xsg"}},59760:function(e){e.exports={toBottomWrap:"ChatContainer_toBottomWrap__3V5wa",nameChangeView:"ChatContainer_nameChangeView__ziyXN",nameChangeText:"ChatContainer_nameChangeText__yXG__",plain:"ChatContainer_plain__IPS19",chatContainer:"ChatContainer_chatContainer__O2lYN",virtuoso:"ChatContainer_virtuoso__OS9Kz",chatTextField:"ChatContainer_chatTextField__OqCGL"}},91044:function(e){e.exports={root:"ChatJoinMessage_root__vuVXa"}},93107:function(e){e.exports={chatModerationNotification:"ChatModeratorNotification_chatModerationNotification__kgFWe",icon:"ChatModeratorNotification_icon__7FdGg"}},23421:function(e){e.exports={chatSystemMessage:"ChatSystemMessage_chatSystemMessage__c6XEN",user:"ChatSystemMessage_user__6yHSJ",message:"ChatSystemMessage_message__ySq5g"}},26912: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"}},48976:function(e){e.exports={badge:"ChatUserBadge_badge__1EdUp"}},50085: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/webpack-97c22338215ef793.js b/static/web/_next/static/chunks/webpack-3c1af27d31641efe.js similarity index 98% rename from static/web/_next/static/chunks/webpack-97c22338215ef793.js rename to static/web/_next/static/chunks/webpack-3c1af27d31641efe.js index f25834f8f..6349dfd2a 100644 --- a/static/web/_next/static/chunks/webpack-97c22338215ef793.js +++ b/static/web/_next/static/chunks/webpack-3c1af27d31641efe.js @@ -1 +1 @@ -!function(){"use strict";var e,t,c,a,f,d,n,r,b,o,u,i,s={},l={};function h(e){var t=l[e];if(void 0!==t)return t.exports;var c=l[e]={id:e,loaded:!1,exports:{}},a=!0;try{s[e].call(c.exports,c,c.exports,h),a=!1}finally{a&&delete l[e]}return c.loaded=!0,c.exports}h.m=s,h.amdO={},e=[],h.O=function(t,c,a,f){if(c){f=f||0;for(var d=e.length;d>0&&e[d-1][2]>f;d--)e[d]=e[d-1];e[d]=[c,a,f];return}for(var n=1/0,d=0;d=f&&Object.keys(h.O).every(function(e){return h.O[e](c[b])})?c.splice(b--,1):(r=!1,f0&&e[d-1][2]>f;d--)e[d]=e[d-1];e[d]=[c,a,f];return}for(var n=1/0,d=0;d=f&&Object.keys(h.O).every(function(e){return h.O[e](c[b])})?c.splice(b--,1):(r=!1,fOwncast 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 d3d965f6a..26121dc71 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/emojis/index.html b/static/web/admin/chat/emojis/index.html index b4bf94640..a0f0c5480 100644 --- a/static/web/admin/chat/emojis/index.html +++ b/static/web/admin/chat/emojis/index.html @@ -1 +1 @@ -Owncast Admin

What is your stream about today?

What is your stream about today?
Offline

Emojis

Here you can upload new custom emojis for usage in the chat. When uploading a new emoji, the filename will be used as emoji name.
NameEmoji
No data

\ No newline at end of file +Owncast Admin

What is your stream about today?

What is your stream about today?
Offline

Emojis

Here you can upload new custom emojis for usage in the chat. When uploading a new emoji, the filename will be used as emoji name.
NameEmoji
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 fbcccd743..5ebf1f761 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 a003933d0..40e3dcfdf 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 22ddad269..a78d08414 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 afbef5141..8b591f275 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 8fe15ec4a..44fe849e4 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

Custom

Build your own notifications by using custom webhooks.

\ 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

Custom

Build your own notifications by using custom webhooks.

\ 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 36de9472a..72c5b7d91 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.


\ 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.


\ 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 70c712c22..71cc541d2 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 df303dfda..f50617738 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 aefb9684f..efc572397 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 6a83e0e19..6d05dfa8f 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/config/appearance/index.html b/static/web/admin/config/appearance/index.html index 413763322..6b66a916c 100644 --- a/static/web/admin/config/appearance/index.html +++ b/static/web/admin/config/appearance/index.html @@ -1 +1 @@ -Owncast Admin

What is your stream about today?

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

What is your stream about today?

What is your stream about today?
Offline
Loading...
\ No newline at end of file diff --git a/static/web/admin/config/streamkeys/index.html b/static/web/admin/config/streamkeys/index.html index 43cb5ce7b..0411c610b 100644 --- a/static/web/admin/config/streamkeys/index.html +++ b/static/web/admin/config/streamkeys/index.html @@ -1 +1 @@ -Owncast Admin

What is your stream about today?

What is your stream about today?
Offline

Streaming Keys

A streaming key is used with your broadcasting software to authenticate itself to Owncast. Most people will only need one. However, if you share a server with others or you want different keys for different broadcasting sources you can add more here.
These keys are unrelated to the admin password and will not grant you access to make changes to Owncast's configuration.
Read more about broadcasting at the documentation.
KeyComment
No data

\ No newline at end of file +Owncast Admin

What is your stream about today?

What is your stream about today?
Offline

Streaming Keys

A streaming key is used with your broadcasting software to authenticate itself to Owncast. Most people will only need one. However, if you share a server with others or you want different keys for different broadcasting sources you can add more here.
These keys are unrelated to the admin password and will not grant you access to make changes to Owncast's configuration.
Read more about broadcasting at the documentation.
KeyComment
No data

\ 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 bd416e4b4..ad3080fa4 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 e1f48b1de..ab8fe1dc1 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 664297bce..f2c38df4d 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 f0793916c..b62d37e9b 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 ae9f76114..58ecce1ef 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.

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.

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 4d1983e04..89fd424b6 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 4b7db914a..6fb07155a 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 408e5a815..0d325b95a 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 0901868cf..13d412ad8 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 1d3d83b26..ffbc6e56d 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 ff91531b2..9cb6ec65b 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 4dae84cd5..e46d9feef 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 e3dad11f4..c9f54a1ee 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 9829d2171..052326ece 100644 --- a/static/web/index.html +++ b/static/web/index.html @@ -1,9 +1,9 @@ {{.Name}}
{{.Name}}

Logo
Preview
\ No newline at end of file +

Logo
Preview
\ No newline at end of file