1 line
44 KiB
JavaScript
Vendored
1 line
44 KiB
JavaScript
Vendored
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5405,9614],{48312:function(e,t,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/",function(){return n(8840)}])},42093:function(e,t,n){"use strict";n.d(t,{e:function(){return d}});var s=n(85893),o=n(71577),a=n(5152),r=n.n(a),i=n(75624),l=n.n(i);let c=r()(()=>n.e(5903).then(n.t.bind(n,5903,23)),{loadableGenerated:{webpack:()=>[5903]},ssr:!1}),d=e=>{let{onClick:t,props:n}=e;return(0,s.jsx)(o.Z,{...n,type:"primary",className:l().button,icon:(0,s.jsx)(c,{}),onClick:t,id:"follow-button",children:"Follow"})}},42099:function(e,t,n){"use strict";n.d(t,{C:function(){return l}});var s=n(85893);n(67294);var o=n(94184),a=n.n(o),r=n(57361),i=n.n(r);let l=e=>{let{variant:t="simple",className:n=""}=e,o=a()(i().root,{[i().simple]:"simple"===t,[i().contrast]:"contrast"===t});return(0,s.jsx)("div",{className:"".concat(o," ").concat(n),children:(0,s.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 95.68623352050781 104.46271514892578",className:"logo-svg",children:(0,s.jsx)("g",{transform:"matrix(1 0 0 1 -37.08803939819336 -18.940391540527344)",children:(0,s.jsx)("g",{children:(0,s.jsxs)("g",{children:[(0,s.jsx)("g",{children:(0,s.jsxs)("g",{transform:"matrix(1.0445680396949917 0 0 1.0445679172996596 36.34559138380523 18.877718021903796)",children:[(0,s.jsxs)("g",{transform:"matrix(1 0 0 1 0 0)",children:[(0,s.jsx)("defs",{children:(0,s.jsxs)("linearGradient",{x1:"0",y1:"0",x2:"0",y2:"1",id:"gradient120",gradientTransform:"rotate(-90 .5 .5)",children:[(0,s.jsx)("stop",{offset:"0",stopColor:"#1f2022",stopOpacity:"1"}),(0,s.jsx)("stop",{offset:"1",stopColor:"#635e69",stopOpacity:"1"})]})}),(0,s.jsx)("path",{fill:"url(#gradient120)",d:"M91.5 75.35Q93.05 71.15 91.65 67.7 90.35 64.5 86.65 62.3 83.2 60.3 78.3 59.4 73.85 58.6 68.6 58.7 63.55 58.85 58.8 59.8 54.25 60.75 50.8 62.2 47.4 63.65 45.5 65.35 43.6 67.15 43.5 69.05 43.35 71.3 45.8 73.9 48.05 76.3 52.1 78.6 56.15 80.9 61.05 82.55 66.3 84.3 71.4 84.8 74.7 85.1 77.55 84.9 80.65 84.6 83.3 83.6 86.15 82.5 88.15 80.55 90.4 78.4 91.5 75.35M70.6 67.5Q72.3 68.4 73.1 69.7 73.9 71.15 73.45 73 73.1 74.3 72.3 75.25 71.55 76.1 70.3 76.6 69.25 77.05 67.75 77.25 66.3 77.4 64.85 77.3 62.3 77.15 59.25 76.3 56.6 75.5 54.15 74.3 51.9 73.2 50.45 72 49.05 70.75 49.1 69.8 49.2 69 50.25 68.25 51.3 67.55 53.15 67 55 66.4 57.25 66.1 59.8 65.8 62.1 65.8 64.65 65.85 66.7 66.2 68.9 66.65 70.6 67.5Z"})]}),(0,s.jsxs)("g",{transform:"matrix(1 0 0 1 0 0)",children:[(0,s.jsx)("defs",{children:(0,s.jsxs)("linearGradient",{x1:"0",y1:"0",x2:"0",y2:"1",id:"gradient121",gradientTransform:"rotate(-180 .5 .5)",children:[(0,s.jsx)("stop",{offset:"0",stopColor:"#2087e2",stopOpacity:"1"}),(0,s.jsx)("stop",{offset:"1",stopColor:"#b63fff",stopOpacity:"1"})]})}),(0,s.jsx)("path",{fill:"url(#gradient121)",d:"M66.6 15.05Q66.4 9.65 63.9 6.05 61.25 2.1 56.1 0.65 54.95 0.3 53.65 0.15 52.5 0 51.3 0.1 50.2 0.1 49.1 0.35 48.15 0.55 47 1 43.3 2.45 40.3 6.1 37.5 9.4 35.5 14.3 33.75 18.45 32.7 23.4 31.7 28.05 31.35 32.85 31.05 37.2 31.3 41.2 31.6 45.15 32.4 48.35 34 54.9 37.3 56.4 37.6 56.55 37.9 56.65L39.2 56.85Q39.45 56.85 39.95 56.8 42.05 56.6 44.7 55.05 47.25 53.5 50.05 50.8 53.05 47.9 55.85 44.05 58.8 40.05 61.1 35.6 63.8 30.35 65.25 25.3 66.75 19.75 66.6 15.05M47.55 23.15Q48.05 23.25 48.4 23.4 52.45 24.8 52.55 29.85 52.6 34 50 39.4 47.85 43.9 44.85 47.3 42.05 50.5 40.15 50.7L39.9 50.75 39.45 50.7 39.2 50.6Q37.8 49.95 37.25 46.35 36.7 42.7 37.3 38 37.95 32.75 39.75 28.8 41.9 24.1 45.05 23.25 45.6 23.1 45.85 23.1 46.25 23.05 46.65 23.05 47.05 23.05 47.55 23.15Z"})]}),(0,s.jsxs)("g",{transform:"matrix(1 0 0 1 0 0)",children:[(0,s.jsx)("defs",{children:(0,s.jsxs)("linearGradient",{x1:"0",y1:"0",x2:"0",y2:"1",id:"gradient122",gradientTransform:"rotate(-90 .5 .5)",children:[(0,s.jsx)("stop",{offset:"0",stopColor:"#100f0f",stopOpacity:"1"}),(0,s.jsx)("stop",{offset:"1",stopColor:"#49261F",stopOpacity:"1"})]})}),(0,s.jsx)("path",{fill:"url(#gradient122)",d:"M2.7 33.6Q2.1 34.4 1.7 35.35 1.25 36.5 1.05 37.7 0 42.6 2.2 47.2 4 51 8 54.35 11.55 57.3 16 59.15 20.5 61 23.85 60.85 24.5 60.85 25.25 60.7 26 60.55 26.5 60.3 27 60.05 27.45 59.65 27.9 59.25 28.15 58.75 29.35 56.45 27.5 51.65 25.6 47 21.75 42.1 17.75 37 13.4 34.05 8.7 30.9 5.45 31.7 4.65 31.9 3.95 32.4 3.25 32.85 2.7 33.6M10.1 43.55Q10.35 43.1 10.6 42.85 10.85 42.6 11.2 42.4 11.6 42.25 11.9 42.2 13.5 41.9 15.95 43.6 18.15 45.05 20.35 47.7 22.35 50.1 23.55 52.4 24.7 54.75 24.25 55.7 24.15 55.9 24 56 23.85 56.2 23.65 56.25 23.55 56.35 23.25 56.4L22.7 56.5Q21.1 56.6 18.55 55.6 16.05 54.6 13.85 52.95 11.5 51.2 10.35 49.15 9.05 46.8 9.75 44.45 9.9 43.95 10.1 43.55Z"})]}),(0,s.jsxs)("g",{transform:"matrix(1 0 0 1 0 0)",children:[(0,s.jsx)("defs",{children:(0,s.jsxs)("linearGradient",{x1:"0",y1:"0",x2:"0",y2:"1",id:"gradient123",gradientTransform:"rotate(-180 .5 .5)",children:[(0,s.jsx)("stop",{offset:"0",stopColor:"#222020",stopOpacity:"1"}),(0,s.jsx)("stop",{offset:"1",stopColor:"#49261F",stopOpacity:"1"})]})}),(0,s.jsx)("path",{fill:"url(#gradient123)",d:"M34.95 74.2L34.75 74.2Q33.2 74.15 31.9 75.25 30.7 76.3 29.85 78.25 29.1 80 28.8 82.2 28.5 84.4 28.7 86.65 29.1 91.4 31.5 94.7 34.3 98.5 39.3 99.7L39.4 99.7 39.7 99.8 39.85 99.8Q45.3 100.85 47.15 97.75 48 96.3 48 94.05 47.95 91.9 47.2 89.35 46.45 86.75 45.1 84.15 43.75 81.5 42.05 79.35 40.25 77.1 38.45 75.75 36.55 74.35 34.95 74.2M33.55 80.4Q34.35 78.2 35.6 78.3L35.65 78.3Q36.9 78.45 38.6 80.9 40.3 83.35 41.15 86.05 42.1 89 41.55 90.75 40.9 92.6 38.35 92.25L38.3 92.25 38.25 92.2 38.1 92.2Q35.6 91.7 34.25 89.6 33.1 87.7 32.95 85 32.8 82.35 33.55 80.4Z"})]}),(0,s.jsxs)("g",{transform:"matrix(0.9999999999999999 0 0 1 0 5.684341886080802e-14)",children:[(0,s.jsx)("defs",{children:(0,s.jsxs)("linearGradient",{x1:"0",y1:"0",x2:"0",y2:"1",id:"gradient124",gradientTransform:"rotate(-180 .5 .5)",children:[" ",(0,s.jsx)("stop",{offset:"0",stopColor:"#1e1c1c",stopOpacity:"1"}),(0,s.jsx)("stop",{offset:"1",stopColor:"#49261F",stopOpacity:"1"})]})}),(0,s.jsx)("path",{fill:"url(#gradient124)",d:"M22.7 69.65Q22.25 69.3 21.6 69.05 20.95 68.8 20.25 68.7 19.6 68.55 18.85 68.5 16.7 68.45 14.65 69.15 12.65 69.8 11.4 71.1 10.15 72.5 10.2 74.2 10.25 76.05 11.95 78.2 12.4 78.75 13.05 79.4 13.55 79.9 14.2 80.3 14.7 80.6 15.3 80.85 16 81.1 16.4 81.1 18.2 81.35 19.9 80.35 21.55 79.4 22.75 77.65 24 75.85 24.3 73.95 24.6 71.85 23.55 70.5 23.15 70 22.7 69.65M21.7 71.7Q22.15 72.3 21.9 73.3 21.7 74.25 21 75.25 20.3 76.2 19.4 76.75 18.45 77.35 17.55 77.25L17 77.15Q16.7 77.05 16.45 76.85 16.25 76.75 15.9 76.45 15.7 76.25 15.4 75.9 14.5 74.75 14.7 73.8 14.8 72.95 15.75 72.3 16.6 71.7 17.8 71.4 19 71.1 20.1 71.15L20.65 71.2 21.1 71.3Q21.3 71.4 21.45 71.5L21.7 71.7Z"})]}),(0,s.jsxs)("g",{transform:"matrix(1 0 0 1 0 0)",children:[(0,s.jsx)("defs",{children:(0,s.jsxs)("linearGradient",{x1:"0",y1:"0",x2:"0",y2:"1",id:"gradient125",gradientTransform:"rotate(-360 .5 .5)",children:[(0,s.jsx)("stop",{offset:"0",stopColor:"#FFFFFF",stopOpacity:"0.5"}),(0,s.jsx)("stop",{offset:"1",stopColor:"#FFFFFF",stopOpacity:"0.2"})]})}),(0,s.jsx)("path",{fill:"url(#gradient125)",d:"M52.6 19.25Q59.6 19.25 66.2 20.95 66.7 17.8 66.6 15.05 66.4 9.65 63.9 6.05 61.25 2.1 56.1 0.65 54.95 0.3 53.65 0.15 52.5 0 51.3 0.1 50.2 0.1 49.1 0.35 48.15 0.55 47 1 43.3 2.45 40.3 6.1 37.5 9.4 35.5 14.3 33.85 18.3 32.8 22.85 42.25 19.25 52.6 19.25Z"})]}),(0,s.jsxs)("g",{transform:"matrix(1 0 0 1 0 0)",children:[(0,s.jsx)("defs",{children:(0,s.jsxs)("linearGradient",{x1:"0",y1:"0",x2:"0",y2:"1",id:"gradient126",gradientTransform:"rotate(-360 .5 .5)",children:[(0,s.jsx)("stop",{offset:"0",stopColor:"#FFFFFF",stopOpacity:"0.5"}),(0,s.jsx)("stop",{offset:"1",stopColor:"#FFFFFF",stopOpacity:"0.2"})]})}),(0,s.jsx)("path",{fill:"url(#gradient126)",d:"M1.05 37.7Q0 42.6 2.2 47.2 2.95 48.8 4.05 50.25 7.55 41.65 14.4 34.75 14 34.45 13.4 34.05 8.7 30.9 5.45 31.7 4.65 31.9 3.95 32.4 3.25 32.85 2.7 33.6 2.1 34.4 1.7 35.35 1.25 36.5 1.05 37.7Z"})]})]})}),(0,s.jsx)("g",{transform:"matrix(1.219512230276127 0 0 1.2195122143630526 32.82519274395008 88.56945194723018)",children:(0,s.jsx)("path",{fill:"#000000",fillOpacity:"1",d:""})})]})})})})})}},79266:function(e,t,n){"use strict";n.r(t),n.d(t,{UserDropdown:function(){return I}});var s=n(85893),o=n(66516),a=n(13013),r=n(71577),i=n(94184),l=n.n(i),c=n(4480),d=n(67294),p=n(46977),h=n(5152),m=n.n(h),u=n(4511),x=n(44974),f=n(27345),g=n.n(f),j=n(69183);let _=m()(()=>Promise.all([n.e(2074),n.e(8244)]).then(n.t.bind(n,18244,23)),{loadableGenerated:{webpack:()=>[18244]},ssr:!1}),b=m()(()=>Promise.all([n.e(2074),n.e(775)]).then(n.t.bind(n,10775,23)),{loadableGenerated:{webpack:()=>[10775]},ssr:!1}),w=m()(()=>Promise.all([n.e(2074),n.e(6275)]).then(n.t.bind(n,6275,23)),{loadableGenerated:{webpack:()=>[6275]},ssr:!1}),v=m()(()=>Promise.all([n.e(2074),n.e(531)]).then(n.t.bind(n,40531,23)),{loadableGenerated:{webpack:()=>[40531]},ssr:!1}),y=m()(()=>Promise.all([n.e(2074),n.e(4504)]).then(n.t.bind(n,4504,23)),{loadableGenerated:{webpack:()=>[4504]},ssr:!1}),k=m()(()=>Promise.all([n.e(2074),n.e(5672)]).then(n.t.bind(n,65672,23)),{loadableGenerated:{webpack:()=>[65672]},ssr:!1}),C=m()(()=>Promise.all([n.e(2074),n.e(5412)]).then(n.t.bind(n,95412,23)),{loadableGenerated:{webpack:()=>[95412]},ssr:!1}),N=m()(()=>Promise.all([n.e(5874),n.e(5402),n.e(1382),n.e(9614)]).then(n.bind(n,29614)).then(e=>e.Modal),{loadableGenerated:{webpack:()=>[29614]},ssr:!1}),S=m()(()=>Promise.all([n.e(173),n.e(5874),n.e(6524),n.e(4041),n.e(7801)]).then(n.bind(n,7783)).then(e=>e.NameChangeModal),{loadableGenerated:{webpack:()=>[7783]},ssr:!1}),L=m()(()=>Promise.all([n.e(173),n.e(5874),n.e(5348),n.e(1382),n.e(4526),n.e(8513)]).then(n.bind(n,78513)).then(e=>e.AuthModal),{loadableGenerated:{webpack:()=>[78513]},ssr:!1}),I=e=>{let{id:t,username:n,hideTitleOnMobile:i=!1,showToggleChatOption:h=!0}=e,[m,f]=(0,d.useState)(!1),[I,T]=(0,d.useState)(!1),[F,M]=(0,c.FV)(x.vZ),[B,O]=(0,d.useState)(null),P=(0,c.sJ)(x.Q),Z=()=>{h&&M(F===x.gG.VISIBLE?x.gG.HIDDEN:x.gG.VISIBLE)},E=()=>{f(!0)},A=()=>{f(!1)},D=()=>{B&&B.close(),O(null),M(x.gG.VISIBLE)},G=h&&P.chatAvailable&&(F===x.gG.HIDDEN||F===x.gG.VISIBLE),H=h&&P.chatAvailable&&(F===x.gG.HIDDEN||F===x.gG.VISIBLE||F===x.gG.POPPED_OUT);(0,p.y1)("c",Z,{enableOnContentEditable:!1},[F===x.gG.VISIBLE]);let R=(0,c.sJ)(x.db);if(!R)return null;let{displayName:J}=R,Q=(0,s.jsxs)(o.Z,{children:[(0,s.jsx)(o.Z.Item,{icon:(0,s.jsx)(b,{}),onClick:()=>E(),children:"Change name"},"0"),(0,s.jsx)(o.Z.Item,{icon:(0,s.jsx)(w,{}),onClick:()=>T(!0),children:"Authenticate"},"1"),G&&(0,s.jsx)(o.Z.Item,{icon:(0,s.jsx)(k,{}),onClick:()=>Z(),"aria-expanded":F===x.gG.VISIBLE,className:g().chatToggle,children:F===x.gG.VISIBLE?"Hide Chat":"Show Chat"},"3"),H&&(B?(0,s.jsx)(o.Z.Item,{icon:(0,s.jsx)(v,{}),onClick:D,children:"Put chat back"},"4"):(0,s.jsx)(o.Z.Item,{icon:(0,s.jsx)(y,{}),onClick:()=>{D();let e=window.open("/embed/chat/readwrite","_blank","popup");e.addEventListener("beforeunload",D),O(e),M(x.gG.POPPED_OUT)},children:"Pop out chat"},"4"))]});return(0,s.jsx)(u.SV,{fallbackRender:e=>{let{error:t,resetErrorBoundary:n}=e;return(0,s.jsx)(j.A,{componentName:"UserDropdown",message:t.message,retryFunction:n})},children:(0,s.jsxs)("div",{className:g().root,children:[(0,s.jsx)(a.Z,{overlay:Q,trigger:["click"],children:(0,s.jsxs)(r.Z,{id:t,type:"primary",icon:(0,s.jsx)(C,{className:g().userIcon}),children:[(0,s.jsx)("span",{className:l()([g().username,i&&g().hideTitleOnMobile]),children:n||J}),(0,s.jsx)(_,{})]})}),(0,s.jsx)(N,{title:"Change Chat Display Name",open:m,handleCancel:A,children:(0,s.jsx)(S,{closeModal:A})}),(0,s.jsx)(N,{title:"Authenticate",open:I,handleCancel:()=>T(!1),children:(0,s.jsx)(L,{})})]})})}},14940:function(e,t,n){"use strict";n.d(t,{h:function(){return f}});var s=n(85893),o=n(24093),a=n(94199),r=n(67294),i=n(94184),l=n.n(i),c=n(5152),d=n.n(c),p=n(41664),h=n.n(p),m=n(91935),u=n.n(m);let x=d()(()=>Promise.all([n.e(4931),n.e(3013),n.e(9266)]).then(n.bind(n,79266)).then(e=>e.UserDropdown),{loadableGenerated:{webpack:()=>[79266]},ssr:!1}),f=e=>{let{name:t,chatAvailable:n,chatDisabled:i,online:c}=e,[d,p]=(0,r.useState)(!1);return(0,r.useEffect)(()=>{p(window.innerWidth>=768)},[]),(0,s.jsxs)("header",{className:l()(["".concat(u().header)],"global-header"),children:[c?(0,s.jsx)(h(),{href:"#player",className:u().skipLink,children:"Skip to player"}):(0,s.jsx)(h(),{href:"#offline-message",className:u().skipLink,children:"Skip to offline message"}),(0,s.jsx)(h(),{href:"#skip-to-content",className:u().skipLink,children:"Skip to page content"}),(0,s.jsx)(h(),{href:"#footer",className:u().skipLink,children:"Skip to footer"}),(0,s.jsxs)("div",{className:u().logo,children:[(0,s.jsx)("div",{id:"header-logo",className:u().logoImage,children:(0,s.jsx)(o.C,{src:"/logo",size:"large",shape:"circle",className:u().avatar})}),(0,s.jsx)("h1",{className:u().title,id:"global-header-text",children:t})]}),n&&!i&&(0,s.jsx)(x,{id:"user-menu",hideTitleOnMobile:!0,showToggleChatOption:d}),!n&&!i&&(0,s.jsx)(a.Z,{overlayClassName:u().toolTip,title:"Chat will be available when the stream is live.",placement:"left",children:(0,s.jsx)("span",{className:u().chatOfflineText,children:"Chat is offline"})})]})};t.Z=f},29614:function(e,t,n){"use strict";n.r(t),n.d(t,{Modal:function(){return p}});var s=n(85893),o=n(85402),a=n(11382),r=n(67294),i=n(4511),l=n(69183),c=n(70051),d=n.n(c);let p=e=>{let{title:t,url:n,open:c,handleOk:p,handleCancel:h,afterClose:m,height:u,width:x,children:f}=e,[g,j]=(0,r.useState)(!!n),_="100%",b="520px";n&&(_="70vh",b="900px");let w={padding:"0px",minHeight:u,height:null!=u?u:_},v=n&&(0,s.jsx)("iframe",{title:t,src:n,width:"100%",height:"100%",sandbox:"allow-same-origin allow-scripts allow-popups allow-forms",frameBorder:"0",allowFullScreen:!0,style:{display:"block"},onLoad:()=>j(!1)});return(0,s.jsx)(o.default,{title:t,open:c,onOk:p,onCancel:h,afterClose:m,bodyStyle:w,width:null!=x?x:b,zIndex:999,footer:null,centered:!0,destroyOnClose:!0,className:d().modal,children:(0,s.jsx)(i.SV,{fallbackRender:e=>{let{error:t,resetErrorBoundary:n}=e;return(0,s.jsx)(l.A,{componentName:"Modal",message:t.message,retryFunction:n})},children:(0,s.jsxs)("div",{id:"modal-container",style:{height:"100%"},children:[v&&(0,s.jsx)("div",{style:{display:g?"none":"inline"},children:v}),f&&(0,s.jsx)("div",{className:d().content,children:f}),g&&(0,s.jsx)(a.Z,{className:d().spinner,spinning:g,size:"large",tip:t})]})})})};p.defaultProps={url:void 0,children:void 0,handleOk:void 0,handleCancel:void 0,afterClose:void 0}},74681:function(e,t,n){"use strict";n.d(t,{R:function(){return m}});var s=n(85893),o=n(27049),a=n(45938),r=n(5152),i=n.n(r),l=n(94184),c=n.n(l),d=n(40158),p=n.n(d);let h=i()(()=>Promise.all([n.e(2074),n.e(9095)]).then(n.t.bind(n,69095,23)),{loadableGenerated:{webpack:()=>[69095]},ssr:!1}),m=e=>{let t,{streamName:n,customText:r,lastLive:i,notificationsEnabled:l,fediverseAccount:d,showsHeader:m=!0,onNotifyClick:u,onFollowClick:x,className:f}=e;return t=r||(!r&&l&&d?(0,s.jsxs)("span",{children:["This stream is offline. You can"," ",(0,s.jsx)("span",{role:"link",tabIndex:0,className:p().actionLink,onClick:u,children:"be notified"})," ","the next time ",n," goes live or"," ",(0,s.jsx)("span",{role:"link",tabIndex:0,className:p().actionLink,onClick:x,children:"follow"})," ",d," on the Fediverse."]}):!r&&l?(0,s.jsxs)("span",{children:["This stream is offline."," ",(0,s.jsx)("span",{role:"link",tabIndex:0,className:p().actionLink,onClick:u,children:"Be notified"})," ","the next time ",n," goes live."]}):!r&&d?(0,s.jsxs)("span",{children:["This stream is offline."," ",(0,s.jsx)("span",{role:"link",tabIndex:0,className:p().actionLink,onClick:x,children:"Follow"})," ",d," on the Fediverse to see the next time ",n," goes live."]}):"This stream is offline. Check back soon!"),(0,s.jsx)("div",{id:"offline-banner",className:c()(p().outerContainer,f),children:(0,s.jsxs)("div",{className:p().innerContainer,children:[m&&(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)("div",{className:p().header,children:n}),(0,s.jsx)(o.Z,{className:p().separator})]}),r?(0,s.jsx)("div",{className:p().bodyText,dangerouslySetInnerHTML:{__html:t}}):(0,s.jsx)("div",{className:p().bodyText,children:t}),i&&(0,s.jsxs)("div",{className:p().lastLiveDate,children:[(0,s.jsx)(h,{className:p().clockIcon}),"Last live ".concat((0,a.Z)(new Date(i))," ago.")]})]})})}},48831:function(e,t,n){"use strict";n.d(t,{X:function(){return x}});var s=n(85893),o=n(45938),a=n(68730),r=n(67294),i=n(5152),l=n.n(i),c=n(94184),d=n.n(c),p=n(29485),h=n.n(p),m=n(63516);let u=l()(()=>Promise.all([n.e(2074),n.e(1965)]).then(n.t.bind(n,41965,23)),{loadableGenerated:{webpack:()=>[41965]},ssr:!1}),x=e=>{let t,{online:n,lastConnectTime:i,lastDisconnectTime:l,viewerCount:c,className:p}=e,[,x]=(0,r.useState)(new Date);(0,r.useEffect)(()=>{let e=setInterval(()=>x(new Date),1e3);return()=>{clearInterval(e)}},[]);let f="";if(n&&i){let e=function(e){let t="hour",n="minute",s=(0,a.Z)({start:e,end:new Date});return s.days>=1?"".concat(s.days," ").concat((0,m._6)("day",s.days),"\n ").concat(s.hours," ").concat((0,m._6)(t,s.hours)):s.hours>=1?"".concat(s.hours," ").concat((0,m._6)(t,s.hours)," ").concat(s.minutes,"\n ").concat((0,m._6)(n,s.minutes)):"".concat(s.minutes," ").concat((0,m._6)(n,s.minutes),"\n ").concat(s.seconds," ").concat((0,m._6)("second",s.seconds))}(new Date(i));f=n?"Live for ".concat(e):"Offline",t=c>0&&(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)("span",{className:h().viewerIcon,children:(0,s.jsx)(u,{})}),(0,s.jsx)("span",{children:" ".concat(c)})]})}else!n&&(f="Offline",l&&(t="Last live ".concat((0,o.Z)(new Date(l))," ago.")));return(0,s.jsxs)("div",{className:d()(h().statusbar,p),role:"status",children:[(0,s.jsx)("span",{className:h().onlineMessage,children:f}),(0,s.jsx)("span",{className:h().viewerCount,children:t})]})};x.defaultProps={lastConnectTime:null,lastDisconnectTime:null}},8840:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return e5}});var s=n(85893),o=n(4480),a=n(9008),r=n.n(a),i=n(67294),l=n(97183),c=n(5152),d=n.n(c),p=n(4298),h=n.n(p),m=n(4511),u=n(84379),x=n.n(u),f=n(44974);let g=e=>{let{dynamicPaddingValue:t}=e,n=(0,o.sJ)(f.RI),{versionNumber:a}=n;return(0,s.jsxs)("footer",{className:x().footer,id:"footer",style:t?{paddingRight:"calc(".concat(t," + var(--footer-padding-x)")}:null,children:[(0,s.jsxs)("span",{children:["Powered by ",(0,s.jsxs)("a",{href:"https://owncast.online",children:["Owncast v",a]})]}),(0,s.jsxs)("span",{className:x().links,children:[(0,s.jsx)("a",{href:"https://owncast.online/docs",target:"_blank",rel:"noreferrer",children:"Documentation"}),(0,s.jsx)("a",{href:"https://owncast.online/help",target:"_blank",rel:"noreferrer",children:"Contribute"}),(0,s.jsx)("a",{href:"https://github.com/owncast/owncast",target:"_blank",rel:"noreferrer",children:"Source"})]})]})};var j=n(26303),_=n(11382),b=n(71230),w=n(15746),v=n(71577),y=n(39787),k=n.n(y),C=n(94184),N=n.n(C),S=n(66516),L=n(13013),I=n(3771),T=n.n(I);let F=d()(()=>n.e(6937).then(n.t.bind(n,26937,23)),{loadableGenerated:{webpack:()=>[26937]},ssr:!1}),M=d()(()=>n.e(6820).then(n.t.bind(n,96820,23)),{loadableGenerated:{webpack:()=>[96820]},ssr:!1}),B=d()(()=>n.e(1008).then(n.t.bind(n,11008,23)),{loadableGenerated:{webpack:()=>[11008]},ssr:!1}),O="notify",P="follow",Z=e=>{let{actions:t,externalActionSelected:n,notifyItemSelected:o,followItemSelected:a,showFollowItem:r,showNotifyItem:i,className:l}=e,c=t.map(e=>({key:e.url,label:(0,s.jsxs)("span",{className:T().item,children:[e.icon&&(0,s.jsx)("img",{className:T().icon,src:e.icon,alt:e.title})," ",e.title]})}));r&&c.unshift({key:P,label:(0,s.jsxs)("span",{className:T().item,children:[(0,s.jsx)(M,{className:T().icon})," Follow this stream"]})}),i&&c.unshift({key:O,label:(0,s.jsxs)("span",{className:T().item,children:[(0,s.jsx)(B,{className:T().icon}),"Notify when live"]})});let d=(0,s.jsx)(S.Z,{items:c,onClick:e=>{if(e.key===O){o();return}if(e.key===P){a();return}let s=t.find(t=>t.url===e.key);n(s)}}),p=N()([T().menu,l]);return(0,s.jsx)(L.Z,{overlay:d,placement:"bottomRight",trigger:["click"],className:p,children:(0,s.jsx)("div",{className:T().buttonWrap,children:(0,s.jsx)(v.Z,{type:"default",onClick:e=>e.preventDefault(),size:"large",icon:(0,s.jsx)(F,{size:6,style:{rotate:"90deg"}}),className:T().menuButton})})})};var E=n(18700),A=n.n(E);let D=e=>{let{children:t}=e;return(0,s.jsx)("div",{className:"".concat(A().row),children:t})};var G=n(42093),H=n(75624),R=n.n(H);let J=d()(()=>n.e(62).then(n.t.bind(n,30062,23)),{loadableGenerated:{webpack:()=>[30062]},ssr:!1}),Q=e=>{let{onClick:t,text:n}=e;return(0,s.jsx)(v.Z,{type:"primary",className:"".concat(R().button),icon:(0,s.jsx)(J,{}),onClick:t,id:"notify-button",children:n||"Notify"})};var V=n(18843),z=n.n(V);let U=e=>{let{action:t,primary:n=!0,externalActionSelected:o}=e,{title:a,description:r,icon:i,color:l}=t;return(0,s.jsxs)(v.Z,{type:n?"primary":"default",className:N()(["".concat(R().button),"action-button"]),onClick:()=>o(t),style:{backgroundColor:l},title:r||a,children:[i&&(0,s.jsx)("img",{src:i,className:"".concat(R().icon),alt:r}),a]})},W=d()(()=>n.e(5111).then(n.bind(n,85111)).then(e=>e.NotifyReminderPopup),{loadableGenerated:{webpack:()=>[85111]},ssr:!1,loading:()=>(0,s.jsx)(j.Z,{loading:!0,active:!0,paragraph:{rows:8}})});var q=e=>{let{supportFediverseFeatures:t,supportsBrowserNotifications:n,showNotifyReminder:o,setShowFollowModal:a,setShowNotifyModal:r,disableNotifyReminderPopup:i,externalActions:l,setExternalActionToDisplay:c,externalActionSelected:d}=e,p=l.map(e=>(0,s.jsx)(U,{action:e,externalActionSelected:d},e.url||e.html));return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)("div",{className:z().desktopActionButtons,children:(0,s.jsxs)(D,{children:[p,t&&(0,s.jsx)(G.e,{size:"small",onClick:()=>a(!0)}),n&&(0,s.jsx)(W,{open:o,notificationClicked:()=>r(!0),notificationClosed:()=>i(),children:(0,s.jsx)(Q,{onClick:()=>r(!0)})})]})}),(0,s.jsx)("div",{className:z().mobileActionButtons,children:(n||n||p.length>0)&&(0,s.jsx)(Z,{className:z().actionButtonMenu,showFollowItem:t,showNotifyItem:n,actions:l,externalActionSelected:c,notifyItemSelected:()=>r(!0),followItemSelected:()=>a(!0)})})]})},Y=n(61225),X=n(34148),K=n(97551),$=n.n(K),ee=n(87412),et=n(60522),en=n.n(et);let es=d()(()=>Promise.resolve().then(n.bind(n,77177)).then(e=>e.ChatContainer),{loadableGenerated:{webpack:()=>[77177]},ssr:!1}),eo=()=>{let e=(0,o.sJ)(f.db),t=(0,o.sJ)(f.pH),n=(0,o.sJ)(f.di);if(!e)return(0,s.jsx)(ee.ZP,{className:en().root,collapsedWidth:0,width:320,children:(0,s.jsx)(_.Z,{spinning:!0,size:"large",style:{position:"relative",top:"40vh"}})});let{id:a,isModerator:r,displayName:i}=e;return(0,s.jsx)(ee.ZP,{className:en().root,collapsedWidth:0,width:320,children:(0,s.jsx)(es,{messages:t,usernameToHighlight:i,chatUserId:a,isModerator:r,chatAvailable:n,showInput:!!e})})};var ea=n(74681),er=n(48831),ei=n(29614),el=n(68570),ec=n.n(el);let ed=e=>{let{content:t}=e;return(0,s.jsx)("div",{id:"custom-page-content",children:(0,s.jsx)("div",{className:ec().customPageContent,dangerouslySetInnerHTML:{__html:t}})})};var ep=n(53731),eh=n(89763),em=n.n(eh);let eu=e=>{let{src:t}=e;return(0,s.jsx)("div",{className:em().root,children:(0,s.jsx)("div",{className:em().container,children:(0,s.jsx)("img",{src:t,alt:"Logo",className:em().image,loading:"lazy"})})})};var ex=n(25675),ef=n.n(ex),eg=n(69183),ej=n(13025),e_=n.n(ej);let eb=e=>{let{links:t}=e;return(null==t?void 0:t.length)?(0,s.jsx)(m.SV,{fallbackRender:e=>{let{error:t,resetErrorBoundary:n}=e;return(0,s.jsx)(eg.A,{componentName:"SocialLinks",message:t.message,retryFunction:n})},children:(0,s.jsx)("div",{className:e_().links,id:"social-links",children:null==t?void 0:t.map(e=>(0,s.jsx)("a",{href:e.url,className:e_().link,target:"_blank",rel:"noreferrer me",children:(0,s.jsx)(ef(),{src:e.icon||"/img/platformlogos/default.svg",alt:e.platform,className:e_().link,width:"30",height:"30"})},e.platform))})}):null};var ew=n(18366),ev=n.n(ew);let ey=e=>{let{name:t,summary:n,logo:o,tags:a,links:r}=e;return(0,s.jsx)("div",{className:ev().root,children:(0,s.jsxs)("div",{className:ev().logoTitleSection,children:[(0,s.jsx)("div",{className:ev().logo,children:(0,s.jsx)(eu,{src:o})}),(0,s.jsxs)("div",{className:ev().titleSection,children:[(0,s.jsx)("h2",{className:N()(ev().title,ev().row,"header-title"),children:t}),(0,s.jsx)("h3",{className:N()(ev().subtitle,ev().row,"header-subtitle"),children:(0,s.jsx)(ep.Z,{children:n})}),(0,s.jsx)("div",{className:N()(ev().tagList,ev().row),children:a.length>0&&a.map(e=>(0,s.jsxs)("span",{children:["#",e,"\xa0"]},e))}),(0,s.jsx)("div",{className:N()(ev().socialLinks,ev().row),children:(0,s.jsx)(eb,{links:r})})]})]})})},ek=d()(()=>Promise.all([n.e(4885),n.e(173),n.e(6524),n.e(5348),n.e(9915),n.e(4041),n.e(3698),n.e(4398),n.e(4526),n.e(428),n.e(7809),n.e(9816),n.e(6356),n.e(3859),n.e(8290),n.e(3354)]).then(n.bind(n,93354)).then(e=>e.Tabs),{loadableGenerated:{webpack:()=>[93354]},ssr:!1}),eC=d()(()=>Promise.all([n.e(4041),n.e(3698),n.e(1873)]).then(n.bind(n,77558)).then(e=>e.FollowerCollection),{loadableGenerated:{webpack:()=>[77558]},ssr:!1}),eN=e=>{let{name:t,summary:n,tags:o,socialHandles:a,extraPageContent:r,setShowFollowModal:i,supportFediverseFeatures:l}=e,c=(0,s.jsx)("div",{className:z().bottomPageContentContainer,children:(0,s.jsx)(ed,{content:r})}),d=(0,s.jsx)("div",{className:z().bottomPageContentContainer,children:(0,s.jsx)(eC,{name:t,onFollowButtonClick:()=>i(!0)})}),p=[!!r&&{label:"About",key:"2",children:c}];return l&&p.push({label:"Followers",key:"3",children:d}),(0,s.jsxs)(m.SV,{fallbackRender:e=>{let{error:t,resetErrorBoundary:n}=e;return(0,s.jsx)(eg.A,{componentName:"DesktopContent",message:t.message,retryFunction:n})},children:[(0,s.jsx)("div",{id:"skip-to-content",children:(0,s.jsx)(ey,{name:t,summary:n,tags:o,links:a,logo:"/logo"})}),(0,s.jsx)("div",{children:p.length>1?(0,s.jsx)(ek,{defaultActiveKey:"0",items:p}):!!r&&c})]})},eS=d()(()=>Promise.all([n.e(4885),n.e(173),n.e(6524),n.e(5348),n.e(9915),n.e(4041),n.e(3698),n.e(4398),n.e(4526),n.e(428),n.e(7809),n.e(9816),n.e(6356),n.e(3859),n.e(8290),n.e(3354)]).then(n.bind(n,93354)).then(e=>e.Tabs),{loadableGenerated:{webpack:()=>[93354]},ssr:!1}),eL=d()(()=>Promise.all([n.e(4041),n.e(3698),n.e(1873)]).then(n.bind(n,77558)).then(e=>e.FollowerCollection),{loadableGenerated:{webpack:()=>[77558]},ssr:!1}),eI=e=>{let{error:t,resetErrorBoundary:n}=e;return(0,s.jsx)(eg.A,{message:t,componentName:"MobileContent",retryFunction:n})},eT=e=>{let{name:t,summary:n,tags:o,socialHandles:a,extraPageContent:r,setShowFollowModal:i,supportFediverseFeatures:l,online:c}=e,d=(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(ey,{name:t,summary:n,tags:o,links:a,logo:"/logo"}),!!r&&(0,s.jsx)("div",{className:z().bottomPageContentContainer,children:(0,s.jsx)(ed,{content:r})})]}),p=(0,s.jsx)("div",{className:z().bottomPageContentContainer,children:(0,s.jsx)(eL,{name:t,onFollowButtonClick:()=>i(!0)})}),h=[];return h.push({label:"About",key:"0",children:d}),l&&h.push({label:"Followers",key:"1",children:p}),(0,s.jsx)(m.SV,{fallbackRender:e=>{let{error:t,resetErrorBoundary:n}=e;return(0,s.jsx)(eI,{error:t,resetErrorBoundary:n})},children:h.length>1?(0,s.jsx)("div",{className:N()([z().lowerSectionMobileTabbed,c&&z().online]),children:(0,s.jsx)(eS,{defaultActiveKey:"0",items:h})}):(0,s.jsx)("div",{children:d})})};var eF=n(85402),eM=n(43085),eB=n.n(eM),eO=n(77177),eP=n(79266);let eZ=e=>{let{messages:t,currentUser:n,handleClose:o}=e;if(!n)return null;let{id:a,displayName:r,isModerator:i}=n;return(0,s.jsx)(m.SV,{fallbackRender:e=>{let{error:t,resetErrorBoundary:n}=e;return(0,s.jsx)(eg.A,{componentName:"ChatModal",message:t.message,retryFunction:n})},children:(0,s.jsx)(eF.default,{open:!0,centered:!0,maskClosable:!1,footer:null,title:(0,s.jsx)(eP.UserDropdown,{id:"chat-modal-user-menu",showToggleChatOption:!1}),maskStyle:{zIndex:700},className:eB().root,bodyStyle:{padding:"0px",height:"55vh"},wrapClassName:eB().modalWrapper,onCancel:o,children:(0,s.jsx)(eO.ChatContainer,{messages:t,usernameToHighlight:r,chatUserId:a,isModerator:i,chatAvailable:!0,focusInput:!1})})})},eE=d()(()=>Promise.all([n.e(173),n.e(8714)]).then(n.bind(n,68714)).then(e=>e.FollowModal),{loadableGenerated:{webpack:()=>[68714]},ssr:!1,loading:()=>(0,s.jsx)(j.Z,{loading:!0,active:!0,paragraph:{rows:8}})}),eA=d()(()=>Promise.all([n.e(173),n.e(5348),n.e(1398)]).then(n.bind(n,41398)).then(e=>e.BrowserNotifyModal),{loadableGenerated:{webpack:()=>[41398]},ssr:!1,loading:()=>(0,s.jsx)(j.Z,{loading:!0,active:!0,paragraph:{rows:6}})}),eD=d()(()=>Promise.all([n.e(2544),n.e(5818),n.e(781),n.e(4114)]).then(n.bind(n,22864)).then(e=>e.OwncastPlayer),{loadableGenerated:{webpack:()=>[22864]},ssr:!1,loading:()=>(0,s.jsx)(j.Z,{loading:!0,active:!0,paragraph:{rows:12}})}),eG=e=>{let{externalActionToDisplay:t,setExternalActionToDisplay:n}=e,{title:o,description:a,url:r,html:i}=t;return(0,s.jsx)(ei.Modal,{title:a||o,url:r,open:!!t,height:"80vh",handleCancel:()=>n(null),children:i?(0,s.jsx)("div",{dangerouslySetInnerHTML:{__html:i},style:{height:"100%",width:"100%",overflow:"auto"}}):null})},eH=()=>{let e=(0,o.sJ)(f.Q),t=(0,o.sJ)(f.g1),n=(0,o.sJ)(f.vZ),a=(0,o.sJ)(f.db),r=(0,o.sJ)(f.RI),[l,c]=(0,o.FV)(f.hz),d=(0,o.sJ)(f.j$),p=(0,o.sJ)(f.YW),h=(0,o.sJ)(f.di),{viewerCount:m,lastConnectTime:u,lastDisconnectTime:x,streamTitle:g}=(0,o.sJ)(f.RI),{extraPageContent:y,name:C,summary:S,socialHandles:L,tags:I,externalActions:T,offlineMessage:F,chatDisabled:M,federation:B,notifications:O}=t,[P,Z]=(0,i.useState)(!1),[E,A]=(0,i.useState)(!1),[D,G]=(0,i.useState)(!1),{account:H,enabled:R}=B,{browser:J}=O,{enabled:Q}=J,{online:V}=r,[U,W]=(0,i.useState)(null),[K,ee]=(0,i.useState)(""),[et,en]=(0,i.useState)(!1),[es,el]=(0,i.useState)(!1),ec=()=>{let e=parseInt((0,Y.$o)(Y.dA.userVisitCount),10);Number.isNaN(e)&&(e=0),(0,Y.qQ)(Y.dA.userVisitCount,e+1),e>2&&!(0,Y.$o)(Y.dA.hasDisplayedNotificationModal)&&Z(!0)},ed=()=>{A(!1),Z(!1),(0,Y.qQ)(Y.dA.hasDisplayedNotificationModal,!0)},ep=()=>{let e=window.innerWidth;void 0===l&&(e<=768?c(!0):c(!1)),!l&&e<=768&&c(!0),l&&e>768&&c(!1)};(0,i.useEffect)(()=>(ec(),ep(),window.addEventListener("resize",ep),()=>{window.removeEventListener("resize",ep)}),[]),(0,i.useEffect)(()=>{en((0,X.r)()&&Q)},[Q]),(0,i.useEffect)(()=>{ee(window.location.href)},[]);let eh=h&&!M&&n===f.gG.VISIBLE,em=eh&&!l?"320px":"0px";return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsxs)(s.Fragment,{children:[e.appLoading&&(0,s.jsx)("div",{className:N()([z().topSectionElement,z().centerSpinner]),style:{height:"30vh"},children:(0,s.jsx)(_.Z,{delay:2,size:"large",tip:"One moment..."})}),eh&&!l&&(0,s.jsx)(eo,{}),(0,s.jsx)(b.Z,{children:(0,s.jsxs)(w.Z,{span:24,style:{paddingRight:em},children:[p&&(0,s.jsx)(eD,{source:"/hls/stream.m3u8",online:p,title:g||C,className:z().topSectionElement}),!p&&!e.appLoading&&(0,s.jsx)("div",{id:"offline-message",children:(0,s.jsx)(ea.R,{showsHeader:!1,streamName:C,customText:F,notificationsEnabled:et,fediverseAccount:H,lastLive:x,onNotifyClick:()=>A(!0),onFollowClick:()=>G(!0),className:N()([z().topSectionElement,z().offlineBanner])})})]})}),(0,s.jsx)(b.Z,{children:(0,s.jsx)(w.Z,{span:24,style:{paddingRight:em},children:V&&(0,s.jsx)(er.X,{online:p,lastConnectTime:u,lastDisconnectTime:x,viewerCount:m,className:N()(z().topSectionElement,z().statusBar)})})}),(0,s.jsx)(b.Z,{children:(0,s.jsx)(w.Z,{span:24,style:{paddingRight:em},children:(0,s.jsx)(q,{supportFediverseFeatures:R,supportsBrowserNotifications:et,showNotifyReminder:P,setShowNotifyModal:A,disableNotifyReminderPopup:ed,externalActions:T||[],setExternalActionToDisplay:W,setShowFollowModal:G,externalActionSelected:e=>{let{openExternally:t,url:n}=e,s=new URL(n);if(s.searchParams.append("instance",K),a){let{displayName:e}=a;s.searchParams.append("username",e)}let o=s.toString(),r={...e,url:o};t?window.open(o,"_blank"):W(r)}})})}),(0,s.jsx)(ei.Modal,{title:"Browser Notifications",open:E,afterClose:()=>ed(),handleCancel:()=>ed(),children:(0,s.jsx)(eA,{})}),(0,s.jsxs)(b.Z,{children:[!C&&(0,s.jsx)(j.Z,{active:!0,loading:!0,style:{marginLeft:"10vw",marginRight:"10vw"}}),l?(0,s.jsx)(w.Z,{span:24,children:(0,s.jsx)(eT,{name:C,summary:S,tags:I,socialHandles:L,extraPageContent:y,setShowFollowModal:G,supportFediverseFeatures:R,online:p})}):(0,s.jsx)(w.Z,{span:24,style:{paddingRight:em},children:(0,s.jsx)("div",{className:$().bottomSectionContent,children:(0,s.jsx)(eN,{name:C,summary:S,tags:I,socialHandles:L,extraPageContent:y,setShowFollowModal:G,supportFediverseFeatures:R})})})]})]}),U&&(0,s.jsx)(eG,{externalActionToDisplay:U,setExternalActionToDisplay:W}),(0,s.jsx)(ei.Modal,{title:"Follow ".concat(C),open:D,handleCancel:()=>G(!1),width:"550px",children:(0,s.jsx)(eE,{account:H,name:C,handleClose:()=>G(!1)})}),l&&es&&n===f.gG.VISIBLE&&(0,s.jsx)(eZ,{messages:d,currentUser:a,handleClose:()=>el(!1)}),l&&h&&(0,s.jsxs)(v.Z,{id:"mobile-chat-button",type:"primary",onClick:()=>el(!0),className:z().floatingMobileChatModalButton,children:["Chat ",(0,s.jsx)(k(),{})]})]})};var eR=n(14940);let eJ=e=>{let{name:t}=e,n=(0,o.sJ)(f.j$),a=(0,o.sJ)(f.RI),[l,c]=(0,i.useState)(!1),[d,p]=(0,i.useState)(t),{online:h}=a,m=()=>{c(!0)},u=()=>{c(!1),p(t)},x=()=>{window.addEventListener("blur",m),window.addEventListener("focus",u)},g=()=>{window.removeEventListener("blur",m),window.removeEventListener("focus",u)};return(0,i.useEffect)(()=>(x(),p(t),()=>{g()}),[t]),(0,i.useEffect)(()=>{if(!l||!h)return;let e=n.at(-1);e&&"CHAT"===e.type&&p("\uD83D\uDCAC :: ".concat(t))},[n,t]),(0,i.useEffect)(()=>{l&&(h?p(" \uD83D\uDFE2 :: ".concat(t)):h||p(" \uD83D\uDD34 :: ".concat(t)))},[h,t]),(0,s.jsx)(r(),{children:(0,s.jsx)("title",{children:d})})},eQ=()=>(0,s.jsx)("script",{id:"server-side-hydration",nonce:"{{.Nonce}}",dangerouslySetInnerHTML:{__html:"\n window.configHydration = {{.ServerConfigJSON}};\n window.statusHydration = {{.StatusJSON}};\n "}});var eV=n(21756),ez=n(92346),eU=n.n(ez);let eW=()=>{let e=()=>{navigator.serviceWorker.register("/serviceWorker.js").then(e=>{console.debug("Service Worker registration successful with scope: ",e.scope)},e=>{console.error("Service Worker registration failed: ",e)})};return(0,i.useEffect)(()=>("serviceWorker"in navigator&&window.addEventListener("load",e),()=>{window.removeEventListener("load",e)}),[]),null};var eq=n(42099),eY=n(43678),eX=n.n(eY);let eK=()=>(0,s.jsx)("noscript",{className:eX().noscript,children:(0,s.jsx)("div",{className:eX().scrollContainer,children:(0,s.jsxs)("div",{className:eX().content,children:[(0,s.jsx)(eq.C,{className:eX().logo}),(0,s.jsx)("br",{}),(0,s.jsxs)("p",{children:["This website is powered by\xa0",(0,s.jsx)("a",{href:"https://owncast.online",rel:"noopener noreferrer",target:"_blank",children:"Owncast"}),"."]}),(0,s.jsx)("p",{children:"Owncast uses JavaScript for playing the HTTP Live Streaming (HLS) video, and its chat client. But your web browser does not seem to support JavaScript, or you have it disabled."}),(0,s.jsx)("p",{children:"For the best experience, you should use a different browser with JavaScript support. If you have disabled JavaScript in your browser, you can re-enable it."}),(0,s.jsx)("h2",{children:"How can I watch this stream without JavaScript?"}),(0,s.jsxs)("p",{children:["You can open the URL of this website in your media player (such as\xa0",(0,s.jsx)("a",{href:"https://mpv.io",rel:"noopener noreferrer",target:"_blank",children:"mpv"}),"\xa0or\xa0",(0,s.jsx)("a",{href:"https://www.videolan.org/vlc/",rel:"noopener noreferrer",target:"_blank",children:"VLC"}),") to watch the stream."]}),(0,s.jsx)("h2",{children:"How can I chat with the others without JavaScript?"}),(0,s.jsx)("p",{children:"Currently, there is no option to use the chat without JavaScript."})]})})}),e$=d()(()=>n.e(2979).then(n.bind(n,12979)).then(e=>e.FatalErrorStateModal),{loadableGenerated:{webpack:()=>[12979]},ssr:!1}),e0=()=>{let e=(0,o.sJ)(f.g1),t=(0,o.sJ)(f.RI),{name:n}=e,a=(0,o.sJ)(f.di),c=(0,o.sJ)(f.ap),d=(0,o.sJ)(f.Q),p=(0,o.sJ)(f.hz),u=(0,o.sJ)(f.vZ),x=(0,i.useRef)(null),{chatDisabled:j}=e,{videoAvailable:_}=d,{online:b,streamTitle:w}=t,v=b&&!j&&u===f.gG.VISIBLE;return(0,i.useEffect)(()=>{!function(e){let t=e=>{let t=e.getAttribute("rel"),n="".concat(t," noopener noreferrer");e.setAttribute("rel",n)};e.querySelectorAll("a").forEach(e=>t(e));let n=new MutationObserver(function(e){for(let n of e)for(let e of n.addedNodes)e instanceof HTMLElement&&"a"===e.tagName.toLowerCase()&&t(e)});n.observe(e,{attributes:!1,childList:!0,subtree:!0})}(x.current)},[]),(0,s.jsxs)(s.Fragment,{children:[(0,s.jsxs)(r(),{children:[(0,s.jsx)(eQ,{}),(0,s.jsx)("link",{rel:"apple-touch-icon",sizes:"57x57",href:"/img/favicon/apple-icon-57x57.png"}),(0,s.jsx)("link",{rel:"apple-touch-icon",sizes:"60x60",href:"/img/favicon/apple-icon-60x60.png"}),(0,s.jsx)("link",{rel:"apple-touch-icon",sizes:"72x72",href:"/img/favicon/apple-icon-72x72.png"}),(0,s.jsx)("link",{rel:"apple-touch-icon",sizes:"76x76",href:"/img/favicon/apple-icon-76x76.png"}),(0,s.jsx)("link",{rel:"apple-touch-icon",sizes:"114x114",href:"/img/favicon/apple-icon-114x114.png"}),(0,s.jsx)("link",{rel:"apple-touch-icon",sizes:"120x120",href:"/img/favicon/apple-icon-120x120.png"}),(0,s.jsx)("link",{rel:"apple-touch-icon",sizes:"144x144",href:"/img/favicon/apple-icon-144x144.png"}),(0,s.jsx)("link",{rel:"apple-touch-icon",sizes:"152x152",href:"/img/favicon/apple-icon-152x152.png"}),(0,s.jsx)("link",{rel:"apple-touch-icon",sizes:"180x180",href:"/img/favicon/apple-icon-180x180.png"}),(0,s.jsx)("link",{rel:"icon",type:"image/png",sizes:"192x192",href:"/img/favicon/android-icon-192x192.png"}),(0,s.jsx)("link",{rel:"icon",type:"image/png",sizes:"32x32",href:"/img/favicon/favicon-32x32.png"}),(0,s.jsx)("link",{rel:"icon",type:"image/png",sizes:"96x96",href:"/img/favicon/favicon-96x96.png"}),(0,s.jsx)("link",{rel:"icon",type:"image/png",sizes:"16x16",href:"/img/favicon/favicon-16x16.png"}),(0,s.jsx)("link",{rel:"manifest",href:"/manifest.json"}),(0,s.jsx)("link",{rel:"authorization_endpoint",href:"/api/auth/provider/indieauth"}),(0,s.jsx)("meta",{name:"msapplication-TileColor",content:"#ffffff"}),(0,s.jsx)("meta",{name:"msapplication-TileImage",content:"/img/favicon/ms-icon-144x144.png"}),(0,s.jsx)("meta",{name:"viewport",content:"width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no"}),(0,s.jsx)("meta",{name:"apple-mobile-web-app-status-bar-style",content:"black-translucent"}),(0,s.jsx)("base",{target:"_blank"})]}),(0,s.jsxs)(r(),{children:[n?(0,s.jsx)("title",{children:n}):(0,s.jsx)("title",{children:"{{.Name}}"}),(0,s.jsx)("meta",{name:"description",content:"{{.Summary}}"}),(0,s.jsx)("meta",{property:"og:title",content:"{{.Name}}"}),(0,s.jsx)("meta",{property:"og:site_name",content:"{{.Name}}"}),(0,s.jsx)("meta",{property:"og:url",content:"{{.RequestedURL}}"}),(0,s.jsx)("meta",{property:"og:description",content:"{{.Summary}}"}),(0,s.jsx)("meta",{property:"og:type",content:"video.other"}),(0,s.jsx)("meta",{property:"video:tag",content:"{{.TagsString}}"}),(0,s.jsx)("meta",{property:"og:image",content:"{{.RequestedURL}}{{.Thumbnail}}"}),(0,s.jsx)("meta",{property:"og:image:url",content:"{{.RequestedURL}}{{.Thumbnail}}"}),(0,s.jsx)("meta",{property:"og:image:alt",content:"{{.RequestedURL}}{{.Image}}"}),(0,s.jsx)("meta",{property:"og:video",content:"{{.RequestedURL}}{{.EmbedVideo}}"}),(0,s.jsx)("meta",{property:"og:video:secure_url",content:"{{.RequestedURL}}{{.EmbedVideo}}"}),(0,s.jsx)("meta",{property:"og:video:height",content:"315"}),(0,s.jsx)("meta",{property:"og:video:width",content:"560"}),(0,s.jsx)("meta",{property:"og:video:type",content:"text/html"}),(0,s.jsx)("meta",{property:"og:video:actor",content:"{{.Name}}"}),(0,s.jsx)("meta",{property:"twitter:title",content:"{{.Name}}"}),(0,s.jsx)("meta",{property:"twitter:url",content:"{{.RequestedURL}}"}),(0,s.jsx)("meta",{property:"twitter:description",content:"{{.Summary}}"}),(0,s.jsx)("meta",{property:"twitter:image",content:"{{.Image}}"}),(0,s.jsx)("meta",{property:"twitter:card",content:"player"}),(0,s.jsx)("meta",{property:"twitter:player",content:"{{.RequestedURL}}{{.EmbedVideo}}"}),(0,s.jsx)("meta",{property:"twitter:player:width",content:"560"}),(0,s.jsx)("meta",{property:"twitter:player:height",content:"315"})]}),(0,s.jsx)(m.SV,{fallbackRender:e=>{let{error:t}=e;return(0,s.jsx)(e$,{title:"Error",message:"There was an unexpected error. Please refresh the page to retry. If this error continues please file a bug with the Owncast project: ".concat(t)})},children:(0,s.jsx)(f.me,{})}),(0,s.jsx)(eW,{}),(0,s.jsx)(eJ,{name:n}),(0,s.jsx)(eV.Q,{}),(0,s.jsx)(h(),{strategy:"afterInteractive",src:"/customjavascript"}),(0,s.jsxs)(l.default,{ref:x,className:eU().layout,children:[(0,s.jsx)(eR.h,{name:b&&w||n,chatAvailable:a,chatDisabled:j,online:_}),(0,s.jsx)(eH,{}),c&&(0,s.jsx)(e$,{title:c.title,message:c.message}),(0,s.jsx)("div",{className:eU().footerContainer,children:(0,s.jsx)(g,{dynamicPaddingValue:v&&!p?"320px":""})})]}),(0,s.jsx)(eK,{})]})};function e5(){return(0,s.jsx)(e0,{})}e5.getLayout=function(e){return e}},34148:function(e,t,n){"use strict";n.d(t,{r:function(){return a},w:function(){return o}});var s=n(63516);function o(){return"Notification"in window&&"serviceWorker"in navigator&&"PushManager"in window}function a(){return!!(0,s.C9)()||"Notification"in window&&"serviceWorker"in navigator&&"PushManager"in window}},75624:function(e){e.exports={button:"ActionButton_button__z5Z2c",icon:"ActionButton_icon__EPp7Q"}},3771:function(e){e.exports={item:"ActionButtonMenu_item__OJQdr",buttonWrap:"ActionButtonMenu_buttonWrap__WQ9kt",icon:"ActionButtonMenu_icon__edY1D",menu:"ActionButtonMenu_menu__GChDk",menuButton:"ActionButtonMenu_menuButton__Xb050"}},18700:function(e){e.exports={row:"ActionButtonRow_row__SiEGe"}},18366: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"}},57361:function(e){e.exports={root:"OwncastLogo_root__uDVJf",contrast:"OwncastLogo_contrast__rDMJY",simple:"OwncastLogo_simple___hC9r"}},27345:function(e){e.exports={root:"UserDropdown_root__IdxfQ","ant-space":"UserDropdown_ant-space__XJTZ3","ant-space-item":"UserDropdown_ant-space-item__w4nC2",username:"UserDropdown_username__nVyPA",hideTitleOnMobile:"UserDropdown_hideTitleOnMobile__AtFIT",chatToggle:"UserDropdown_chatToggle__pZoqQ"}},92346:function(e){e.exports={layout:"Main_layout__Bm6Gz",footerContainer:"Main_footerContainer__PuSZT"}},43085:function(e){e.exports={modalWrapper:"ChatModal_modalWrapper__dBsQ2"}},18843:function(e){e.exports={lowerSection:"Content_lowerSection__BZHYI",lowerSectionMobileTabbed:"Content_lowerSectionMobileTabbed__FcgYB",topSectionElement:"Content_topSectionElement__4Mqi_",offlineBanner:"Content_offlineBanner__ohmjT",mobileActionButtons:"Content_mobileActionButtons___wEBZ",desktopActionButtons:"Content_desktopActionButtons__XilU9",statusBar:"Content_statusBar__KyO4I",loadingSpinner:"Content_loadingSpinner__mDlYC",defaultTabBar:"Content_defaultTabBar__BjyV0",bottomPageContentContainer:"Content_bottomPageContentContainer__nFPo7",floatingMobileChatModalButton:"Content_floatingMobileChatModalButton__Cy1v2",centerSpinner:"Content_centerSpinner__BGjco"}},97551:function(e){e.exports={bottomSectionContent:"DesktopContent_bottomSectionContent__Z9l9o"}},68570:function(e){e.exports={customPageContent:"CustomPageContent_customPageContent__Mr981",summary:"CustomPageContent_summary___Zgps"}},84379:function(e){e.exports={footer:"Footer_footer__mPuvf",links:"Footer_links__7bBxV"}},91935:function(e){e.exports={header:"Header_header__U4Ro1",logoImage:"Header_logoImage__beIL2",logo:"Header_logo__HLZ6Z",title:"Header_title__FIts2",skipLink:"Header_skipLink__9Pusb",offlineTag:"Header_offlineTag__0p3lk",avatar:"Header_avatar__bL8Jw",chatOfflineText:"Header_chatOfflineText__yYfMS",toolTip:"Header_toolTip__e3Ht7"}},89763:function(e){e.exports={root:"Logo_root__jKiJC",container:"Logo_container__A4UYT",image:"Logo_image__Ahkom"}},70051:function(e){e.exports={spinner:"Modal_spinner__GiSS0",content:"Modal_content__h9my9",modal:"Modal_modal__i0TOf"}},43678:function(e){e.exports={noscript:"Noscript_noscript__vXxzh",scrollContainer:"Noscript_scrollContainer__2F8M3",content:"Noscript_content__sSYOq",logo:"Noscript_logo__tWoh6"}},40158:function(e){e.exports={outerContainer:"OfflineBanner_outerContainer__3AbsB",innerContainer:"OfflineBanner_innerContainer__zTm13",bodyText:"OfflineBanner_bodyText__nNNy0",separator:"OfflineBanner_separator___j_Ss",lastLiveDate:"OfflineBanner_lastLiveDate___UZdO",clockIcon:"OfflineBanner_clockIcon__s0DB_",header:"OfflineBanner_header__Vu20o",footer:"OfflineBanner_footer__o3Zl5",actionLink:"OfflineBanner_actionLink__b4Mwa"}},60522:function(e){e.exports={root:"Sidebar_root__8HE0A"}},13025:function(e){e.exports={link:"SocialLinks_link___CcSm",links:"SocialLinks_links__gOAb7"}},29485:function(e){e.exports={statusbar:"Statusbar_statusbar__AtVnB",onlineMessage:"Statusbar_onlineMessage__66r5C",viewerCount:"Statusbar_viewerCount__S6_dZ",viewerIcon:"Statusbar_viewerIcon__yAOw1"}}},function(e){e.O(0,[2074,5874,7311,2414,4931,5402,1664,1382,3013,5938,5888,4537,2715,3731,271,1227,2700,2466,9774,2888,179],function(){return e(e.s=48312)}),_N_E=e.O()}]); |