Files
owncast/static/web/_next/static/chunks/pages/index-44679335565322b4.js
2023-10-25 05:06:34 +00:00

1 line
44 KiB
JavaScript
Vendored

(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5405],{48312:function(e,t,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/",function(){return n(71730)}])},72224:function(e,t,n){"use strict";n.d(t,{e:function(){return FollowButton}});var o=n(85893),a=n(65400),s=n(5152),i=n.n(s),r=n(37565),l=n.n(r);let c=i()(()=>n.e(5903).then(n.t.bind(n,5903,23)),{loadableGenerated:{webpack:()=>[5903]},ssr:!1}),FollowButton=e=>{let{onClick:t,props:n}=e;return(0,o.jsx)(a.default,{...n,type:"primary",className:l().button,icon:(0,o.jsx)(c,{}),onClick:t,id:"follow-button",children:"Follow"})}},29404:function(e,t,n){"use strict";n.d(t,{C:function(){return OwncastLogo}});var o=n(85893);n(67294);var a=n(94184),s=n.n(a),i=n(863),r=n.n(i);let OwncastLogo=e=>{let{variant:t="simple",className:n=""}=e,a=s()(r().root,{[r().simple]:"simple"===t,[r().contrast]:"contrast"===t});return(0,o.jsx)("div",{className:"".concat(a," ").concat(n),children:(0,o.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 95.68623352050781 104.46271514892578",className:"logo-svg",children:(0,o.jsx)("g",{transform:"matrix(1 0 0 1 -37.08803939819336 -18.940391540527344)",children:(0,o.jsx)("g",{children:(0,o.jsxs)("g",{children:[(0,o.jsx)("g",{children:(0,o.jsxs)("g",{transform:"matrix(1.0445680396949917 0 0 1.0445679172996596 36.34559138380523 18.877718021903796)",children:[(0,o.jsxs)("g",{transform:"matrix(1 0 0 1 0 0)",children:[(0,o.jsx)("defs",{children:(0,o.jsxs)("linearGradient",{x1:"0",y1:"0",x2:"0",y2:"1",id:"gradient120",gradientTransform:"rotate(-90 .5 .5)",children:[(0,o.jsx)("stop",{offset:"0",stopColor:"#1f2022",stopOpacity:"1"}),(0,o.jsx)("stop",{offset:"1",stopColor:"#635e69",stopOpacity:"1"})]})}),(0,o.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,o.jsxs)("g",{transform:"matrix(1 0 0 1 0 0)",children:[(0,o.jsx)("defs",{children:(0,o.jsxs)("linearGradient",{x1:"0",y1:"0",x2:"0",y2:"1",id:"gradient121",gradientTransform:"rotate(-180 .5 .5)",children:[(0,o.jsx)("stop",{offset:"0",stopColor:"#2087e2",stopOpacity:"1"}),(0,o.jsx)("stop",{offset:"1",stopColor:"#b63fff",stopOpacity:"1"})]})}),(0,o.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,o.jsxs)("g",{transform:"matrix(1 0 0 1 0 0)",children:[(0,o.jsx)("defs",{children:(0,o.jsxs)("linearGradient",{x1:"0",y1:"0",x2:"0",y2:"1",id:"gradient122",gradientTransform:"rotate(-90 .5 .5)",children:[(0,o.jsx)("stop",{offset:"0",stopColor:"#100f0f",stopOpacity:"1"}),(0,o.jsx)("stop",{offset:"1",stopColor:"#49261F",stopOpacity:"1"})]})}),(0,o.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,o.jsxs)("g",{transform:"matrix(1 0 0 1 0 0)",children:[(0,o.jsx)("defs",{children:(0,o.jsxs)("linearGradient",{x1:"0",y1:"0",x2:"0",y2:"1",id:"gradient123",gradientTransform:"rotate(-180 .5 .5)",children:[(0,o.jsx)("stop",{offset:"0",stopColor:"#222020",stopOpacity:"1"}),(0,o.jsx)("stop",{offset:"1",stopColor:"#49261F",stopOpacity:"1"})]})}),(0,o.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,o.jsxs)("g",{transform:"matrix(0.9999999999999999 0 0 1 0 5.684341886080802e-14)",children:[(0,o.jsx)("defs",{children:(0,o.jsxs)("linearGradient",{x1:"0",y1:"0",x2:"0",y2:"1",id:"gradient124",gradientTransform:"rotate(-180 .5 .5)",children:[" ",(0,o.jsx)("stop",{offset:"0",stopColor:"#1e1c1c",stopOpacity:"1"}),(0,o.jsx)("stop",{offset:"1",stopColor:"#49261F",stopOpacity:"1"})]})}),(0,o.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,o.jsxs)("g",{transform:"matrix(1 0 0 1 0 0)",children:[(0,o.jsx)("defs",{children:(0,o.jsxs)("linearGradient",{x1:"0",y1:"0",x2:"0",y2:"1",id:"gradient125",gradientTransform:"rotate(-360 .5 .5)",children:[(0,o.jsx)("stop",{offset:"0",stopColor:"#FFFFFF",stopOpacity:"0.5"}),(0,o.jsx)("stop",{offset:"1",stopColor:"#FFFFFF",stopOpacity:"0.2"})]})}),(0,o.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,o.jsxs)("g",{transform:"matrix(1 0 0 1 0 0)",children:[(0,o.jsx)("defs",{children:(0,o.jsxs)("linearGradient",{x1:"0",y1:"0",x2:"0",y2:"1",id:"gradient126",gradientTransform:"rotate(-360 .5 .5)",children:[(0,o.jsx)("stop",{offset:"0",stopColor:"#FFFFFF",stopOpacity:"0.5"}),(0,o.jsx)("stop",{offset:"1",stopColor:"#FFFFFF",stopOpacity:"0.2"})]})}),(0,o.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,o.jsx)("g",{transform:"matrix(1.219512230276127 0 0 1.2195122143630526 32.82519274395008 88.56945194723018)",children:(0,o.jsx)("path",{fill:"#000000",fillOpacity:"1",d:""})})]})})})})})}},99798:function(e,t,n){"use strict";n.r(t),n.d(t,{UserDropdown:function(){return UserDropdown}});var o=n(85893),a=n(77834),s=n(65400),i=n(94184),r=n.n(i),l=n(4480),c=n(67294),d=n(46977),p=n(5152),u=n.n(p),h=n(4511),m=n(73580),x=n(32703),f=n.n(x),g=n(50057);let j=u()(()=>n.e(8244).then(n.t.bind(n,18244,23)),{loadableGenerated:{webpack:()=>[18244]},ssr:!1}),_=u()(()=>n.e(775).then(n.t.bind(n,10775,23)),{loadableGenerated:{webpack:()=>[10775]},ssr:!1}),b=u()(()=>n.e(6275).then(n.t.bind(n,6275,23)),{loadableGenerated:{webpack:()=>[6275]},ssr:!1}),w=u()(()=>n.e(531).then(n.t.bind(n,40531,23)),{loadableGenerated:{webpack:()=>[40531]},ssr:!1}),v=u()(()=>n.e(4504).then(n.t.bind(n,4504,23)),{loadableGenerated:{webpack:()=>[4504]},ssr:!1}),C=u()(()=>n.e(5672).then(n.t.bind(n,65672,23)),{loadableGenerated:{webpack:()=>[65672]},ssr:!1}),y=u()(()=>n.e(5412).then(n.t.bind(n,95412,23)),{loadableGenerated:{webpack:()=>[95412]},ssr:!1}),k=u()(()=>Promise.all([n.e(1130),n.e(6697),n.e(5849)]).then(n.bind(n,95849)).then(e=>e.Modal),{loadableGenerated:{webpack:()=>[95849]},ssr:!1}),N=u()(()=>Promise.all([n.e(5596),n.e(1130),n.e(4104),n.e(1024),n.e(1749),n.e(7752),n.e(4749),n.e(1529)]).then(n.bind(n,57283)).then(e=>e.NameChangeModal),{loadableGenerated:{webpack:()=>[57283]},ssr:!1}),S=u()(()=>Promise.all([n.e(5596),n.e(1130),n.e(4104),n.e(1024),n.e(1700),n.e(3068),n.e(8469),n.e(5485)]).then(n.bind(n,36531)).then(e=>e.AuthModal),{loadableGenerated:{webpack:()=>[36531]},ssr:!1}),UserDropdown=e=>{let{id:t,username:n,hideTitleOnMobile:i=!1,showToggleChatOption:p=!0}=e,[u,x]=(0,c.useState)(!1),[L,M]=(0,c.useState)(!1),[F,B]=(0,l.FV)(m.vZ),[T,E]=(0,c.useState)(null),I=(0,l.sJ)(m.Q),toggleChatVisibility=()=>{p&&B(F===m.gG.VISIBLE?m.gG.HIDDEN:m.gG.VISIBLE)},closeChangeNameModal=()=>{x(!1)},closeChatPopup=()=>{T&&T.close(),E(null),B(m.gG.VISIBLE)},P=p&&I.chatAvailable&&(F===m.gG.HIDDEN||F===m.gG.VISIBLE),O=p&&I.chatAvailable&&(F===m.gG.HIDDEN||F===m.gG.VISIBLE||F===m.gG.POPPED_OUT);(0,d.y1)("c",toggleChatVisibility,{enableOnContentEditable:!1},[F===m.gG.VISIBLE]);let A=(0,l.sJ)(m.db);if(!A)return null;let{displayName:D}=A,R=[{key:0,icon:(0,o.jsx)(_,{}),label:"Change name",onClick:()=>{x(!0)}},{key:1,icon:(0,o.jsx)(b,{}),label:"Authenticate",onClick:()=>M(!0)}];return P&&R.push({key:3,"aria-expanded":F===m.gG.VISIBLE,className:f().chatToggle,icon:(0,o.jsx)(C,{}),label:F===m.gG.VISIBLE?"Hide Chat":"Show Chat",onClick:toggleChatVisibility}),O&&R.push({key:4,icon:T?(0,o.jsx)(w,{}):(0,o.jsx)(v,{}),label:T?"Put chat back":"Pop out chat",onClick:T?closeChatPopup:()=>{closeChatPopup();let e=window.open("/embed/chat/readwrite","_blank","popup");e.addEventListener("beforeunload",closeChatPopup),E(e),B(m.gG.POPPED_OUT)}}),(0,o.jsx)(h.SV,{fallbackRender:e=>{let{error:t,resetErrorBoundary:n}=e;return(0,o.jsx)(g.A,{componentName:"UserDropdown",message:t.message,retryFunction:n})},children:(0,o.jsxs)("div",{className:f().root,children:[(0,o.jsx)(a.default,{menu:{items:R},trigger:["click"],children:(0,o.jsxs)(s.default,{id:t,type:"primary",icon:(0,o.jsx)(y,{className:f().userIcon}),children:[(0,o.jsx)("span",{className:r()([f().username,i&&f().hideTitleOnMobile]),children:n||D}),(0,o.jsx)(j,{})]})}),(0,o.jsx)(k,{title:"Change Chat Display Name",open:u,handleCancel:closeChangeNameModal,children:(0,o.jsx)(N,{closeModal:closeChangeNameModal})}),(0,o.jsx)(k,{title:"Authenticate",open:L,handleCancel:()=>M(!1),children:(0,o.jsx)(S,{})})]})})}},13707:function(e,t,n){"use strict";n.d(t,{h:function(){return Header}});var o=n(85893),a=n(94055),s=n(84960),i=n(67294),r=n(94184),l=n.n(r),c=n(5152),d=n.n(c),p=n(41664),u=n.n(p),h=n(95431),m=n.n(h);let x=d()(()=>Promise.all([n.e(971),n.e(2891),n.e(9798)]).then(n.bind(n,99798)).then(e=>e.UserDropdown),{loadableGenerated:{webpack:()=>[99798]},ssr:!1}),Header=e=>{let{name:t,chatAvailable:n,chatDisabled:r,online:c}=e,[d,p]=(0,i.useState)(!1);return(0,i.useEffect)(()=>{p(window.innerWidth>=768)},[]),(0,o.jsxs)("header",{className:l()(["".concat(m().header)],"global-header"),children:[c?(0,o.jsx)(u(),{href:"#player",className:m().skipLink,children:"Skip to player"}):(0,o.jsx)(u(),{href:"#offline-message",className:m().skipLink,children:"Skip to offline message"}),(0,o.jsx)(u(),{href:"#skip-to-content",className:m().skipLink,children:"Skip to page content"}),(0,o.jsx)(u(),{href:"#footer",className:m().skipLink,children:"Skip to footer"}),(0,o.jsxs)("div",{className:m().logo,children:[(0,o.jsx)("div",{id:"header-logo",className:m().logoImage,children:(0,o.jsx)(s.ZP,{src:"/logo",size:"large",shape:"circle",className:m().avatar})}),(0,o.jsx)("h1",{className:m().title,id:"global-header-text",children:t})]}),n&&!r&&(0,o.jsx)(x,{id:"user-menu",hideTitleOnMobile:!0,showToggleChatOption:d}),!n&&!r&&(0,o.jsx)(a.default,{overlayClassName:m().toolTip,title:"Chat will be available when the stream is live.",placement:"left",children:(0,o.jsx)("span",{className:m().chatOfflineText,children:"Chat is offline"})})]})};t.Z=Header},95849:function(e,t,n){"use strict";n.r(t),n.d(t,{Modal:function(){return Modal}});var o=n(85893),a=n(89552),s=n(56697),i=n(67294),r=n(4511),l=n(50057),c=n(2008),d=n.n(c);let Modal=e=>{let{title:t,url:n,open:c,handleOk:p,handleCancel:u,afterClose:h,height:m,width:x,children:f}=e,[g,j]=(0,i.useState)(!!n),_="100%",b="520px";n&&(_="70vh",b="900px");let w={padding:"0px",minHeight:m,height:null!=m?m:_},v=n&&(0,o.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,o.jsx)(s.default,{title:t,open:c,onOk:p,onCancel:u,afterClose:h,bodyStyle:w,width:null!=x?x:b,zIndex:999,footer:null,centered:!0,destroyOnClose:!0,className:d().modal,children:(0,o.jsx)(r.SV,{fallbackRender:e=>{let{error:t,resetErrorBoundary:n}=e;return(0,o.jsx)(l.A,{componentName:"Modal",message:t.message,retryFunction:n})},children:(0,o.jsxs)("div",{id:"modal-container",style:{height:"100%"},children:[v&&(0,o.jsx)("div",{style:{display:g?"none":"inline"},children:v}),f&&(0,o.jsx)("div",{className:d().content,children:f}),g&&(0,o.jsx)(a.default,{className:d().spinner,spinning:g,size:"large",tip:t})]})})})};Modal.defaultProps={url:void 0,children:void 0,handleOk:void 0,handleCancel:void 0,afterClose:void 0}},93451:function(e,t,n){"use strict";n.d(t,{R:function(){return OfflineBanner}});var o=n(85893),a=n(74253),s=n(45938),i=n(5152),r=n.n(i),l=n(94184),c=n.n(l),d=n(22847),p=n.n(d);let u=r()(()=>n.e(9095).then(n.t.bind(n,69095,23)),{loadableGenerated:{webpack:()=>[69095]},ssr:!1}),OfflineBanner=e=>{let t,{streamName:n,customText:i,lastLive:r,notificationsEnabled:l,fediverseAccount:d,showsHeader:h=!0,onNotifyClick:m,onFollowClick:x,className:f}=e;return t=i||(!i&&l&&d?(0,o.jsxs)("span",{children:["This stream is offline. You can"," ",(0,o.jsx)("span",{role:"link",tabIndex:0,className:p().actionLink,onClick:m,children:"be notified"})," ","the next time ",n," goes live or"," ",(0,o.jsx)("span",{role:"link",tabIndex:0,className:p().actionLink,onClick:x,children:"follow"})," ",d," on the Fediverse."]}):!i&&l?(0,o.jsxs)("span",{children:["This stream is offline."," ",(0,o.jsx)("span",{role:"link",tabIndex:0,className:p().actionLink,onClick:m,children:"Be notified"})," ","the next time ",n," goes live."]}):!i&&d?(0,o.jsxs)("span",{children:["This stream is offline."," ",(0,o.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,o.jsx)("div",{id:"offline-banner",className:c()(p().outerContainer,f),children:(0,o.jsxs)("div",{className:p().innerContainer,children:[h&&(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)("div",{className:p().header,children:n}),(0,o.jsx)(a.Z,{className:p().separator})]}),i?(0,o.jsx)("div",{className:p().bodyText,dangerouslySetInnerHTML:{__html:t}}):(0,o.jsx)("div",{className:p().bodyText,children:t}),r&&(0,o.jsxs)("div",{className:p().lastLiveDate,children:[(0,o.jsx)(u,{className:p().clockIcon}),"Last live ".concat((0,s.Z)(new Date(r))," ago.")]})]})})}},74969:function(e,t,n){"use strict";n.d(t,{X:function(){return Statusbar}});var o=n(85893),a=n(45938),s=n(68730),i=n(67294),r=n(5152),l=n.n(r),c=n(94184),d=n.n(c),p=n(35509),u=n.n(p),h=n(53924);let m=l()(()=>n.e(1965).then(n.t.bind(n,41965,23)),{loadableGenerated:{webpack:()=>[41965]},ssr:!1}),Statusbar=e=>{let t,{online:n,lastConnectTime:r,lastDisconnectTime:l,viewerCount:c,className:p}=e,[,x]=(0,i.useState)(new Date);(0,i.useEffect)(()=>{let e=setInterval(()=>x(new Date),1e3);return()=>{clearInterval(e)}},[]);let f="";if(n&&r){let e=function(e){let t="hour",n="minute",o=(0,s.Z)({start:e,end:new Date});return o.days>=1?"".concat(o.days," ").concat((0,h._6)("day",o.days),"\n ").concat(o.hours," ").concat((0,h._6)(t,o.hours)):o.hours>=1?"".concat(o.hours," ").concat((0,h._6)(t,o.hours)," ").concat(o.minutes,"\n ").concat((0,h._6)(n,o.minutes)):"".concat(o.minutes," ").concat((0,h._6)(n,o.minutes),"\n ").concat(o.seconds," ").concat((0,h._6)("second",o.seconds))}(new Date(r));f=n?"Live for ".concat(e):"Offline",t=c>0&&(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)("span",{className:u().viewerIcon,children:(0,o.jsx)(m,{})}),(0,o.jsx)("span",{children:" ".concat(c)})]})}else!n&&(f="Offline",l&&(t="Last live ".concat((0,a.Z)(new Date(l))," ago.")));return(0,o.jsxs)("div",{className:d()(u().statusbar,p),role:"status",children:[(0,o.jsx)("span",{"aria-live":"off",className:u().onlineMessage,children:f}),(0,o.jsx)("span",{className:u().viewerCount,children:t})]})};Statusbar.defaultProps={lastConnectTime:null,lastDisconnectTime:null}},71730:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return Home}});var o=n(85893),a=n(4480),s=n(9008),i=n.n(s),r=n(67294),l=n(16373),c=n(5152),d=n.n(c),p=n(4298),u=n.n(p),h=n(4511),m=n(73580),x=n(10149),f=n(55673),g=n(65400),j=n(89552),_=n(39787),b=n.n(_),w=n(94184),v=n.n(w),C=n(77834),y=n(59135),k=n.n(y);let N=d()(()=>Promise.resolve().then(n.t.bind(n,26937,23)),{loadableGenerated:{webpack:()=>[26937]},ssr:!1}),S=d()(()=>n.e(6820).then(n.t.bind(n,96820,23)),{loadableGenerated:{webpack:()=>[96820]},ssr:!1}),L=d()(()=>n.e(1008).then(n.t.bind(n,11008,23)),{loadableGenerated:{webpack:()=>[11008]},ssr:!1}),M="notify",F="follow",ActionButtonMenu=e=>{let{actions:t,externalActionSelected:n,notifyItemSelected:a,followItemSelected:s,showFollowItem:i,showNotifyItem:r,className:l}=e,c=t.map(e=>({key:e.url,label:(0,o.jsxs)("span",{className:k().item,children:[e.icon&&(0,o.jsx)("img",{className:k().icon,src:e.icon,alt:e.title})," ",e.title]})}));i&&c.unshift({key:F,label:(0,o.jsxs)("span",{className:k().item,children:[(0,o.jsx)(S,{className:k().icon})," Follow this stream"]})}),r&&c.unshift({key:M,label:(0,o.jsxs)("span",{className:k().item,children:[(0,o.jsx)(L,{className:k().icon}),"Notify when live"]})});let d=v()([k().menu,l]);return(0,o.jsx)(C.default,{menu:{items:c,onClick:e=>{if(e.key===M){a();return}if(e.key===F){s();return}let o=t.find(t=>t.url===e.key);n(o)}},placement:"bottomRight",trigger:["click"],className:d,children:(0,o.jsx)("div",{className:k().buttonWrap,children:(0,o.jsx)(g.default,{type:"default",onClick:e=>e.preventDefault(),size:"large",icon:(0,o.jsx)(N,{size:6,style:{rotate:"90deg"}}),className:k().menuButton})})})};var B=n(25273),T=n.n(B);let ActionButtonRow=e=>{let{children:t}=e;return(0,o.jsx)("div",{className:T().row,children:t})};var E=n(72224),I=n(37565),P=n.n(I);let O=d()(()=>n.e(62).then(n.t.bind(n,30062,23)),{loadableGenerated:{webpack:()=>[30062]},ssr:!1}),NotifyButton=e=>{let{onClick:t,text:n}=e;return(0,o.jsx)(g.default,{type:"primary",className:P().button,icon:(0,o.jsx)(O,{}),onClick:t,id:"notify-button",children:n||"Notify"})};var A=n(14314),D=n.n(A);let ActionButton=e=>{let{action:t,primary:n=!0,externalActionSelected:a}=e,{title:s,description:i,icon:r,color:l}=t;return(0,o.jsxs)(g.default,{type:n?"primary":"default",className:v()(["".concat(P().button),"action-button"]),onClick:()=>a(t),style:{backgroundColor:l},title:i||s,children:[r&&(0,o.jsx)("img",{src:r,className:P().icon,alt:i}),s]})},R=d()(()=>n.e(8707).then(n.bind(n,28707)).then(e=>e.NotifyReminderPopup),{loadableGenerated:{webpack:()=>[28707]},ssr:!1,loading:()=>(0,o.jsx)(x.default,{loading:!0,active:!0,paragraph:{rows:8}})});var Content_ActionButtons=e=>{let{supportFediverseFeatures:t,supportsBrowserNotifications:n,showNotifyReminder:a,setShowFollowModal:s,setShowNotifyModal:i,disableNotifyReminderPopup:r,externalActions:l,setExternalActionToDisplay:c,externalActionSelected:d}=e,p=l.map(e=>(0,o.jsx)(ActionButton,{action:e,externalActionSelected:d},e.url||e.html));return(0,o.jsxs)("div",{className:D().actionButtonsContainer,children:[(0,o.jsx)("div",{className:D().desktopActionButtons,children:(0,o.jsxs)(ActionButtonRow,{children:[p,t&&(0,o.jsx)(E.e,{size:"small",onClick:()=>s(!0)}),n&&(0,o.jsx)(R,{open:a,notificationClicked:()=>i(!0),notificationClosed:()=>r(),children:(0,o.jsx)(NotifyButton,{onClick:()=>i(!0)})})]})}),(0,o.jsx)("div",{className:D().mobileActionButtons,children:(n||n||p.length>0)&&(0,o.jsx)(ActionButtonMenu,{className:D().actionButtonMenu,showFollowItem:t,showNotifyItem:n,actions:l,externalActionSelected:c,notifyItemSelected:()=>i(!0),followItemSelected:()=>s(!0)})})]})},H=n(55157),G=n(97918),U=n(32089),V=n.n(U),z=n(93451),J=n(74969),Q=n(95849),Z=n(52409),W=n.n(Z);let CustomPageContent=e=>{let{content:t}=e;return(0,o.jsx)("div",{id:"custom-page-content",children:(0,o.jsx)("div",{className:W().customPageContent,dangerouslySetInnerHTML:{__html:t}})})};var q=n(53731),X=n(56800),K=n.n(X);let Logo=e=>{let{src:t}=e;return(0,o.jsx)("div",{className:K().root,children:(0,o.jsx)("div",{className:K().container,children:(0,o.jsx)("img",{src:t,alt:"Logo",className:K().image,loading:"lazy"})})})};var Y=n(25675),$=n.n(Y),ee=n(50057),et=n(6465),en=n.n(et);let SocialLinks=e=>{let{links:t}=e;return(null==t?void 0:t.length)?(0,o.jsx)(h.SV,{fallbackRender:e=>{let{error:t,resetErrorBoundary:n}=e;return(0,o.jsx)(ee.A,{componentName:"SocialLinks",message:t.message,retryFunction:n})},children:(0,o.jsx)("div",{className:en().links,id:"social-links",children:null==t?void 0:t.map(e=>(0,o.jsx)("a",{href:e.url,className:en().link,target:"_blank",rel:"noreferrer me",children:(0,o.jsx)($(),{src:e.icon||"/img/platformlogos/default.svg",alt:e.platform,className:en().link,width:"30",height:"30"})},e.platform))})}):null};var eo=n(12125),ea=n.n(eo);let ContentHeader=e=>{let{name:t,summary:n,logo:a,tags:s,links:i}=e;return(0,o.jsx)("div",{className:ea().root,children:(0,o.jsxs)("div",{className:ea().logoTitleSection,children:[(0,o.jsx)("div",{className:ea().logo,children:(0,o.jsx)(Logo,{src:a})}),(0,o.jsxs)("div",{className:ea().titleSection,children:[(0,o.jsx)("h2",{className:v()(ea().title,ea().row,"header-title"),children:t}),(0,o.jsx)("h3",{className:v()(ea().subtitle,ea().row,"header-subtitle"),children:(0,o.jsx)(q.Z,{children:n})}),(0,o.jsx)("div",{className:v()(ea().tagList,ea().row),children:s.length>0&&s.map(e=>(0,o.jsxs)("span",{children:["#",e,"\xa0"]},e))}),(0,o.jsx)("div",{className:v()(ea().socialLinks,ea().row),children:(0,o.jsx)(SocialLinks,{links:i})})]})]})})},es=d()(()=>Promise.all([n.e(4885),n.e(5596),n.e(2122),n.e(7752),n.e(5891),n.e(6627),n.e(3068),n.e(5560),n.e(7423),n.e(9219)]).then(n.bind(n,99219)).then(e=>e.Tabs),{loadableGenerated:{webpack:()=>[99219]},ssr:!1}),ei=d()(()=>Promise.all([n.e(7752),n.e(5891),n.e(4749),n.e(1869)]).then(n.bind(n,8889)).then(e=>e.FollowerCollection),{loadableGenerated:{webpack:()=>[8889]},ssr:!1}),DesktopContent=e=>{let{name:t,summary:n,tags:a,socialHandles:s,extraPageContent:i,setShowFollowModal:r,supportFediverseFeatures:l}=e,c=(0,o.jsx)("div",{className:D().bottomPageContentContainer,children:(0,o.jsx)(CustomPageContent,{content:i})}),d=(0,o.jsx)("div",{className:D().bottomPageContentContainer,children:(0,o.jsx)(ei,{name:t,onFollowButtonClick:()=>r(!0)})}),p=[!!i&&{label:"About",key:"2",children:c}];return l&&p.push({label:"Followers",key:"3",children:d}),(0,o.jsxs)(h.SV,{fallbackRender:e=>{let{error:t,resetErrorBoundary:n}=e;return(0,o.jsx)(ee.A,{componentName:"DesktopContent",message:t.message,retryFunction:n})},children:[(0,o.jsx)("div",{id:"skip-to-content",children:(0,o.jsx)(ContentHeader,{name:t,summary:n,tags:a,links:s,logo:"/logo"})}),(0,o.jsx)("div",{children:p.length>1?(0,o.jsx)(es,{defaultActiveKey:"0",items:p}):!!i&&c})]})},er=d()(()=>Promise.all([n.e(4885),n.e(5596),n.e(2122),n.e(7752),n.e(5891),n.e(6627),n.e(3068),n.e(5560),n.e(7423),n.e(9219)]).then(n.bind(n,99219)).then(e=>e.Tabs),{loadableGenerated:{webpack:()=>[99219]},ssr:!1}),el=d()(()=>Promise.all([n.e(7752),n.e(5891),n.e(4749),n.e(1869)]).then(n.bind(n,8889)).then(e=>e.FollowerCollection),{loadableGenerated:{webpack:()=>[8889]},ssr:!1}),ComponentErrorFallback=e=>{let{error:t,resetErrorBoundary:n}=e;return(0,o.jsx)(ee.A,{message:t,componentName:"MobileContent",retryFunction:n})},MobileContent=e=>{let{name:t,summary:n,tags:a,socialHandles:s,extraPageContent:i,setShowFollowModal:r,supportFediverseFeatures:l,online:c}=e,d=(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)(ContentHeader,{name:t,summary:n,tags:a,links:s,logo:"/logo"}),!!i&&(0,o.jsx)("div",{className:D().bottomPageContentContainer,children:(0,o.jsx)(CustomPageContent,{content:i})})]}),p=(0,o.jsx)("div",{className:D().bottomPageContentContainer,children:(0,o.jsx)(el,{name:t,onFollowButtonClick:()=>r(!0)})}),u=[];return u.push({label:"About",key:"0",children:d}),l&&u.push({label:"Followers",key:"1",children:p}),(0,o.jsx)(h.SV,{fallbackRender:e=>{let{error:t,resetErrorBoundary:n}=e;return(0,o.jsx)(ComponentErrorFallback,{error:t,resetErrorBoundary:n})},children:u.length>1?(0,o.jsx)("div",{className:v()([D().lowerSectionMobileTabbed,c&&D().online]),children:(0,o.jsx)(er,{defaultActiveKey:"0",items:u})}):(0,o.jsx)("div",{children:d})})};var ec=n(56697),ed=n(44802),ep=n.n(ed),eu=n(91480),eh=n(99798);let ChatModal=e=>{let{messages:t,currentUser:n,handleClose:a}=e;if(!n)return null;let{id:s,displayName:i,isModerator:r}=n;return(0,o.jsx)(h.SV,{fallbackRender:e=>{let{error:t,resetErrorBoundary:n}=e;return(0,o.jsx)(ee.A,{componentName:"ChatModal",message:t.message,retryFunction:n})},children:(0,o.jsx)(ec.default,{open:!0,centered:!0,maskClosable:!1,footer:null,title:(0,o.jsx)(eh.UserDropdown,{id:"chat-modal-user-menu",showToggleChatOption:!1}),maskStyle:{zIndex:700},className:ep().root,bodyStyle:{padding:"0px",height:"55vh"},wrapClassName:ep().modalWrapper,onCancel:a,children:(0,o.jsx)(eu.ChatContainer,{messages:t,usernameToHighlight:i,chatUserId:s,isModerator:r,chatAvailable:!0,focusInput:!1})})})};var em=n(34114),ex=n.n(em);let Footer=()=>{let e=(0,a.sJ)(m.RI),{versionNumber:t}=e;return(0,o.jsxs)("footer",{className:ex().footer,id:"footer",children:[(0,o.jsxs)("span",{children:["Powered by ",(0,o.jsxs)("a",{href:"https://owncast.online",children:["Owncast v",t]})]}),(0,o.jsxs)("span",{className:ex().links,children:[(0,o.jsx)("a",{href:"https://owncast.online/docs",target:"_blank",rel:"noreferrer",children:"Documentation"}),(0,o.jsx)("a",{href:"https://owncast.online/help",target:"_blank",rel:"noreferrer",children:"Contribute"}),(0,o.jsx)("a",{href:"https://github.com/owncast/owncast",target:"_blank",rel:"noreferrer",children:"Source"})]})]})},ef=d()(()=>Promise.resolve().then(n.bind(n,91480)).then(e=>e.ChatContainer),{loadableGenerated:{webpack:()=>[91480]},ssr:!1}),eg=d()(()=>Promise.all([n.e(5596),n.e(4104),n.e(1024),n.e(6403)]).then(n.bind(n,66403)).then(e=>e.FollowModal),{loadableGenerated:{webpack:()=>[66403]},ssr:!1,loading:()=>(0,o.jsx)(x.default,{loading:!0,active:!0,paragraph:{rows:8}})}),ej=d()(()=>Promise.all([n.e(5596),n.e(4104),n.e(1700),n.e(3669)]).then(n.bind(n,49808)).then(e=>e.BrowserNotifyModal),{loadableGenerated:{webpack:()=>[49808]},ssr:!1,loading:()=>(0,o.jsx)(x.default,{loading:!0,active:!0,paragraph:{rows:6}})}),e_=d()(()=>Promise.all([n.e(2544),n.e(1594),n.e(4680),n.e(2829)]).then(n.bind(n,47293)).then(e=>e.OwncastPlayer),{loadableGenerated:{webpack:()=>[47293]},ssr:!1,loading:()=>(0,o.jsx)(x.default,{loading:!0,active:!0,paragraph:{rows:12}})}),ExternalModal=e=>{let{externalActionToDisplay:t,setExternalActionToDisplay:n}=e,{title:a,description:s,url:i,html:r}=t;return(0,o.jsx)(Q.Modal,{title:s||a,url:i,open:!!t,height:"80vh",handleCancel:()=>n(null),children:r?(0,o.jsx)("div",{dangerouslySetInnerHTML:{__html:r},style:{height:"100%",width:"100%",overflow:"auto"}}):null})},Content=()=>{let e=(0,a.sJ)(m.Q),t=(0,a.sJ)(m.g1),n=(0,a.sJ)(m.vZ),s=(0,a.sJ)(m.db),i=(0,a.sJ)(m.RI),[l,c]=(0,a.FV)(m.hz),d=(0,a.sJ)(m.pH),p=(0,a.sJ)(m.YW),u=(0,a.sJ)(m.di),{viewerCount:h,lastConnectTime:_,lastDisconnectTime:w,streamTitle:C}=(0,a.sJ)(m.RI),{extraPageContent:y,name:k,summary:N,socialHandles:S,tags:L,externalActions:M,offlineMessage:F,chatDisabled:B,federation:T,notifications:E}=t,[I,P]=(0,r.useState)(!1),[O,A]=(0,r.useState)(!1),[R,U]=(0,r.useState)(!1),{account:Z,enabled:W}=T,{browser:q}=E,{enabled:X}=q,{online:K}=i,[Y,$]=(0,r.useState)(null),[ee,et]=(0,r.useState)(""),[en,eo]=(0,r.useState)(!1),[ea,es]=(0,r.useState)(!1),incrementVisitCounter=()=>{let e=parseInt((0,H.$o)(H.dA.userVisitCount),10);Number.isNaN(e)&&(e=0),(0,H.qQ)(H.dA.userVisitCount,e+1),e>2&&!(0,H.$o)(H.dA.hasDisplayedNotificationModal)&&P(!0)},disableNotifyReminderPopup=()=>{A(!1),P(!1),(0,H.qQ)(H.dA.hasDisplayedNotificationModal,!0)},checkIfMobile=()=>{let e=window.innerWidth;void 0===l&&(e<=768?c(!0):c(!1)),!l&&e<=768&&c(!0),l&&e>768&&c(!1)};(0,r.useEffect)(()=>(incrementVisitCounter(),checkIfMobile(),window.addEventListener("resize",checkIfMobile),()=>{window.removeEventListener("resize",checkIfMobile)}),[]),(0,r.useEffect)(()=>{eo((0,G.r)()&&X)},[X]),(0,r.useEffect)(()=>{et(window.location.href)},[]);let ei=u&&!B&&n===m.gG.VISIBLE;return(0,o.jsxs)("div",{className:D().main,children:[(0,o.jsxs)("div",{className:D().mainColumn,children:[e.appLoading&&(0,o.jsx)("div",{className:v()([D().topSectionElement,D().centerSpinner]),style:{height:"30vh"},children:(0,o.jsx)(j.default,{delay:2,size:"large",tip:"One moment..."})}),(0,o.jsxs)(f.Z,{children:[p&&(0,o.jsx)(e_,{source:"/hls/stream.m3u8",online:p,title:C||k,className:D().topSectionElement}),!p&&!e.appLoading&&(0,o.jsx)("div",{id:"offline-message",style:{width:"100%"},children:(0,o.jsx)(z.R,{showsHeader:!1,streamName:k,customText:F,notificationsEnabled:en,fediverseAccount:Z,lastLive:w,onNotifyClick:()=>A(!0),onFollowClick:()=>U(!0),className:v()([D().topSectionElement,D().offlineBanner])})})]}),(0,o.jsx)(f.Z,{children:K&&(0,o.jsx)(J.X,{online:p,lastConnectTime:_,lastDisconnectTime:w,viewerCount:h,className:v()(D().topSectionElement,D().statusBar)})}),(0,o.jsx)(f.Z,{children:(0,o.jsx)(Content_ActionButtons,{supportFediverseFeatures:W,supportsBrowserNotifications:en,showNotifyReminder:I,setShowNotifyModal:A,disableNotifyReminderPopup:disableNotifyReminderPopup,externalActions:M||[],setExternalActionToDisplay:$,setShowFollowModal:U,externalActionSelected:e=>{let{openExternally:t,url:n}=e;if(n){let o=new URL(n);if(o.searchParams.append("instance",ee),s){let{displayName:e}=s;o.searchParams.append("username",e)}let a=o.toString(),i={...e,url:a};t?window.open(a,"_blank"):$(i)}else $(e)}})}),(0,o.jsx)(Q.Modal,{title:"Browser Notifications",open:O,afterClose:()=>disableNotifyReminderPopup(),handleCancel:()=>disableNotifyReminderPopup(),children:(0,o.jsx)(ej,{})}),(0,o.jsxs)(f.Z,{children:[!k&&(0,o.jsx)(x.default,{active:!0,loading:!0,style:{marginLeft:"10vw",marginRight:"10vw"}}),l?(0,o.jsx)(MobileContent,{name:k,summary:N,tags:L,socialHandles:S,extraPageContent:y,setShowFollowModal:U,supportFediverseFeatures:W,online:p}):(0,o.jsx)("div",{className:V().bottomSectionContent,children:(0,o.jsx)(DesktopContent,{name:k,summary:N,tags:L,socialHandles:S,extraPageContent:y,setShowFollowModal:U,supportFediverseFeatures:W})})]}),(0,o.jsx)("div",{style:{flex:"1 1"}}),(0,o.jsx)(Footer,{})]}),ei&&!l&&s&&(0,o.jsx)(ef,{messages:d,usernameToHighlight:s.displayName,chatUserId:s.id,isModerator:s.isModerator,chatAvailable:u,showInput:!!s,desktop:!0}),Y&&(0,o.jsx)(ExternalModal,{externalActionToDisplay:Y,setExternalActionToDisplay:$}),(0,o.jsx)(Q.Modal,{title:"Follow ".concat(k),open:R,handleCancel:()=>U(!1),width:"550px",children:(0,o.jsx)(eg,{account:Z,name:k,handleClose:()=>U(!1)})}),l&&ea&&n===m.gG.VISIBLE&&(0,o.jsx)(ChatModal,{messages:d,currentUser:s,handleClose:()=>es(!1)}),l&&u&&(0,o.jsxs)(g.default,{id:"mobile-chat-button",type:"primary",onClick:()=>es(!0),className:D().floatingMobileChatModalButton,children:["Chat ",(0,o.jsx)(b(),{})]})]})};var eb=n(13707);let TitleNotifier=e=>{let{name:t}=e,n=(0,a.sJ)(m.j$),s=(0,a.sJ)(m.RI),[l,c]=(0,r.useState)(!1),[d,p]=(0,r.useState)(t),{online:u}=s,onBlur=()=>{c(!0)},onFocus=()=>{c(!1),p(t)},listenForEvents=()=>{window.addEventListener("blur",onBlur),window.addEventListener("focus",onFocus)},removeEvents=()=>{window.removeEventListener("blur",onBlur),window.removeEventListener("focus",onFocus)};return(0,r.useEffect)(()=>(listenForEvents(),p(t),()=>{removeEvents()}),[t]),(0,r.useEffect)(()=>{if(!l||!u)return;let e=n.at(-1);e&&"CHAT"===e.type&&p("\uD83D\uDCAC :: ".concat(t))},[n,t]),(0,r.useEffect)(()=>{l&&(u?p(" \uD83D\uDFE2 :: ".concat(t)):u||p(" \uD83D\uDD34 :: ".concat(t)))},[u,t]),(0,o.jsx)(i(),{children:(0,o.jsx)("title",{children:d})})},ServerRenderedHydration=()=>(0,o.jsx)("script",{id:"server-side-hydration",nonce:"{{.Nonce}}",dangerouslySetInnerHTML:{__html:"\n window.configHydration = {{.ServerConfigJSON}};\n window.statusHydration = {{.StatusJSON}};\n "}});var ew=n(11405),ev=n(27261),eC=n.n(ev);let PushNotificationServiceWorker=()=>{let add=()=>{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,r.useEffect)(()=>("serviceWorker"in navigator&&window.addEventListener("load",add),()=>{window.removeEventListener("load",add)}),[]),null};var ey=n(29404),ek=n(80744),eN=n.n(ek);let Noscript=()=>(0,o.jsx)("noscript",{className:eN().noscript,children:(0,o.jsx)("div",{className:eN().scrollContainer,children:(0,o.jsxs)("div",{className:eN().content,children:[(0,o.jsx)(ey.C,{className:eN().logo}),(0,o.jsx)("br",{}),(0,o.jsxs)("p",{children:["This website is powered by\xa0",(0,o.jsx)("a",{href:"https://owncast.online",rel:"noopener noreferrer",target:"_blank",children:"Owncast"}),"."]}),(0,o.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,o.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,o.jsx)("h2",{children:"How can I watch this stream without JavaScript?"}),(0,o.jsxs)("p",{children:["You can open the URL of this website in your media player (such as\xa0",(0,o.jsx)("a",{href:"https://mpv.io",rel:"noopener noreferrer",target:"_blank",children:"mpv"}),"\xa0or\xa0",(0,o.jsx)("a",{href:"https://www.videolan.org/vlc/",rel:"noopener noreferrer",target:"_blank",children:"VLC"}),") to watch the stream."]}),(0,o.jsx)("h2",{children:"How can I chat with the others without JavaScript?"}),(0,o.jsx)("p",{children:"Currently, there is no option to use the chat without JavaScript."})]})})}),eS=d()(()=>n.e(3600).then(n.bind(n,93600)).then(e=>e.FatalErrorStateModal),{loadableGenerated:{webpack:()=>[93600]},ssr:!1}),Main=()=>{let e=(0,a.sJ)(m.g1),t=(0,a.sJ)(m.RI),{name:n}=e,s=(0,a.sJ)(m.di),c=(0,a.sJ)(m.ap),d=(0,a.sJ)(m.Q),p=(0,r.useRef)(null),{chatDisabled:x}=e,{videoAvailable:f}=d,{online:g,streamTitle:j}=t;return(0,r.useEffect)(()=>{!function(e){let addNoReferrer=e=>{let t=e.getAttribute("rel"),n="".concat(t," noopener noreferrer");e.setAttribute("rel",n)};e.querySelectorAll("a").forEach(e=>addNoReferrer(e));let t=new MutationObserver(function(e){for(let t of e)for(let e of t.addedNodes)e instanceof HTMLElement&&"a"===e.tagName.toLowerCase()&&addNoReferrer(e)});t.observe(e,{attributes:!1,childList:!0,subtree:!0})}(p.current)},[]),(0,o.jsxs)(o.Fragment,{children:[(0,o.jsxs)(i(),{children:[(0,o.jsx)(ServerRenderedHydration,{}),(0,o.jsx)("link",{rel:"apple-touch-icon",sizes:"57x57",href:"/img/favicon/apple-icon-57x57.png"}),(0,o.jsx)("link",{rel:"apple-touch-icon",sizes:"60x60",href:"/img/favicon/apple-icon-60x60.png"}),(0,o.jsx)("link",{rel:"apple-touch-icon",sizes:"72x72",href:"/img/favicon/apple-icon-72x72.png"}),(0,o.jsx)("link",{rel:"apple-touch-icon",sizes:"76x76",href:"/img/favicon/apple-icon-76x76.png"}),(0,o.jsx)("link",{rel:"apple-touch-icon",sizes:"114x114",href:"/img/favicon/apple-icon-114x114.png"}),(0,o.jsx)("link",{rel:"apple-touch-icon",sizes:"120x120",href:"/img/favicon/apple-icon-120x120.png"}),(0,o.jsx)("link",{rel:"apple-touch-icon",sizes:"144x144",href:"/img/favicon/apple-icon-144x144.png"}),(0,o.jsx)("link",{rel:"apple-touch-icon",sizes:"152x152",href:"/img/favicon/apple-icon-152x152.png"}),(0,o.jsx)("link",{rel:"apple-touch-icon",sizes:"180x180",href:"/img/favicon/apple-icon-180x180.png"}),(0,o.jsx)("link",{rel:"icon",type:"image/png",sizes:"192x192",href:"/img/favicon/android-icon-192x192.png"}),(0,o.jsx)("link",{rel:"icon",type:"image/png",sizes:"32x32",href:"/img/favicon/favicon-32x32.png"}),(0,o.jsx)("link",{rel:"icon",type:"image/png",sizes:"96x96",href:"/img/favicon/favicon-96x96.png"}),(0,o.jsx)("link",{rel:"icon",type:"image/png",sizes:"16x16",href:"/img/favicon/favicon-16x16.png"}),(0,o.jsx)("link",{rel:"manifest",href:"/manifest.json"}),(0,o.jsx)("link",{rel:"authorization_endpoint",href:"/api/auth/provider/indieauth"}),(0,o.jsx)("meta",{name:"msapplication-TileColor",content:"#ffffff"}),(0,o.jsx)("meta",{name:"msapplication-TileImage",content:"/img/favicon/ms-icon-144x144.png"}),(0,o.jsx)("meta",{name:"viewport",content:"width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no"}),(0,o.jsx)("meta",{name:"apple-mobile-web-app-status-bar-style",content:"black-translucent"}),(0,o.jsx)("base",{target:"_blank"})]}),(0,o.jsxs)(i(),{children:[n?(0,o.jsx)("title",{children:n}):(0,o.jsx)("title",{children:"{{.Name}}"}),(0,o.jsx)("meta",{name:"description",content:"{{.Summary}}"}),(0,o.jsx)("meta",{property:"og:title",content:"{{.Name}}"}),(0,o.jsx)("meta",{property:"og:site_name",content:"{{.Name}}"}),(0,o.jsx)("meta",{property:"og:url",content:"{{.RequestedURL}}"}),(0,o.jsx)("meta",{property:"og:description",content:"{{.Summary}}"}),(0,o.jsx)("meta",{property:"og:type",content:"video.other"}),(0,o.jsx)("meta",{property:"video:tag",content:"{{.TagsString}}"}),(0,o.jsx)("meta",{property:"og:image",content:"{{.RequestedURL}}{{.Thumbnail}}"}),(0,o.jsx)("meta",{property:"og:image:url",content:"{{.RequestedURL}}{{.Thumbnail}}"}),(0,o.jsx)("meta",{property:"og:image:alt",content:"{{.RequestedURL}}{{.Image}}"}),(0,o.jsx)("meta",{property:"og:video",content:"{{.RequestedURL}}{{.EmbedVideo}}"}),(0,o.jsx)("meta",{property:"og:video:secure_url",content:"{{.RequestedURL}}{{.EmbedVideo}}"}),(0,o.jsx)("meta",{property:"og:video:height",content:"315"}),(0,o.jsx)("meta",{property:"og:video:width",content:"560"}),(0,o.jsx)("meta",{property:"og:video:type",content:"text/html"}),(0,o.jsx)("meta",{property:"og:video:actor",content:"{{.Name}}"}),(0,o.jsx)("meta",{property:"twitter:title",content:"{{.Name}}"}),(0,o.jsx)("meta",{property:"twitter:url",content:"{{.RequestedURL}}"}),(0,o.jsx)("meta",{property:"twitter:description",content:"{{.Summary}}"}),(0,o.jsx)("meta",{property:"twitter:image",content:"{{.Image}}"}),(0,o.jsx)("meta",{property:"twitter:card",content:"player"}),(0,o.jsx)("meta",{property:"twitter:player",content:"{{.RequestedURL}}{{.EmbedVideo}}"}),(0,o.jsx)("meta",{property:"twitter:player:width",content:"560"}),(0,o.jsx)("meta",{property:"twitter:player:height",content:"315"})]}),(0,o.jsx)(h.SV,{fallbackRender:e=>{let{error:t}=e;return(0,o.jsx)(eS,{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,o.jsx)(m.me,{})}),(0,o.jsx)(PushNotificationServiceWorker,{}),(0,o.jsx)(TitleNotifier,{name:n}),(0,o.jsx)(ew.Q,{}),(0,o.jsx)(u(),{strategy:"afterInteractive",src:"/customjavascript"}),(0,o.jsxs)(l.default,{ref:p,className:eC().layout,children:[(0,o.jsx)(eb.h,{name:g&&j||n,chatAvailable:s,chatDisabled:x,online:f}),(0,o.jsx)(Content,{}),c&&(0,o.jsx)(eS,{title:c.title,message:c.message})]}),(0,o.jsx)(Noscript,{})]})};function Home(){return(0,o.jsx)(Main,{})}Home.getLayout=function(e){return e}},97918:function(e,t,n){"use strict";n.d(t,{r:function(){return canPushNotificationsBeSupported},w:function(){return arePushNotificationSupported}});var o=n(53924);function arePushNotificationSupported(){return"Notification"in window&&"serviceWorker"in navigator&&"PushManager"in window}function canPushNotificationsBeSupported(){return!!(0,o.C9)()||"Notification"in window&&"serviceWorker"in navigator&&"PushManager"in window}},37565:function(e){e.exports={button:"ActionButton_button__1rwj4",icon:"ActionButton_icon__kaGnG"}},59135:function(e){e.exports={item:"ActionButtonMenu_item__eH9af",buttonWrap:"ActionButtonMenu_buttonWrap__Kr1CL",icon:"ActionButtonMenu_icon__UYmlp",menu:"ActionButtonMenu_menu__1XF9s",menuButton:"ActionButtonMenu_menuButton__xYVRg"}},25273:function(e){e.exports={row:"ActionButtonRow_row__DvdvH"}},12125:function(e){e.exports={root:"ContentHeader_root__T_fkG",row:"ContentHeader_row__wX9Dt",logoTitleSection:"ContentHeader_logoTitleSection__5Hq6i",logo:"ContentHeader_logo__QBgrm",titleSection:"ContentHeader_titleSection__3a3zf",title:"ContentHeader_title__11rWy",subtitle:"ContentHeader_subtitle__d9_mR",tagList:"ContentHeader_tagList__tmdbo"}},863:function(e){e.exports={root:"OwncastLogo_root__oCX4o",contrast:"OwncastLogo_contrast__2iRoV",simple:"OwncastLogo_simple__ZU5CD"}},32703:function(e){e.exports={root:"UserDropdown_root__XCKtE","ant-space":"UserDropdown_ant-space__NT8a9","ant-space-item":"UserDropdown_ant-space-item__D6AUQ",username:"UserDropdown_username__1vJf_",hideTitleOnMobile:"UserDropdown_hideTitleOnMobile__Nd7fp",chatToggle:"UserDropdown_chatToggle__MEP4e"}},27261:function(e){e.exports={layout:"Main_layout__ocvSF",footerContainer:"Main_footerContainer__Su9mL"}},44802:function(e){e.exports={modalWrapper:"ChatModal_modalWrapper__m2VPu"}},14314:function(e){e.exports={main:"Content_main__ZNXrl",mainColumn:"Content_mainColumn__UxLSD",lowerSection:"Content_lowerSection__6YPTS",lowerSectionMobileTabbed:"Content_lowerSectionMobileTabbed__F1h26",topSectionElement:"Content_topSectionElement__en9nD",offlineBanner:"Content_offlineBanner__aECIN",actionButtonsContainer:"Content_actionButtonsContainer__ugdWA",mobileActionButtons:"Content_mobileActionButtons__8RO3M",desktopActionButtons:"Content_desktopActionButtons__eVrc7",statusBar:"Content_statusBar__mBahK",loadingSpinner:"Content_loadingSpinner__1We_N",defaultTabBar:"Content_defaultTabBar__4Lxly",bottomPageContentContainer:"Content_bottomPageContentContainer__zagTZ",floatingMobileChatModalButton:"Content_floatingMobileChatModalButton__hO50e",centerSpinner:"Content_centerSpinner__74pxs"}},32089:function(e){e.exports={bottomSectionContent:"DesktopContent_bottomSectionContent__RUo5q"}},52409:function(e){e.exports={customPageContent:"CustomPageContent_customPageContent__vNiml",summary:"CustomPageContent_summary___vUw6"}},34114:function(e){e.exports={footer:"Footer_footer__2_6CR",links:"Footer_links__kvAo1"}},95431:function(e){e.exports={header:"Header_header__h_8kj",logoImage:"Header_logoImage__u2hPz",logo:"Header_logo__ZlfnG",title:"Header_title__t7ymt",skipLink:"Header_skipLink__v1i8a",offlineTag:"Header_offlineTag__7jcdf",avatar:"Header_avatar__izREk",chatOfflineText:"Header_chatOfflineText__6Edb1",toolTip:"Header_toolTip__X1aqP"}},56800:function(e){e.exports={root:"Logo_root__BkHmT",container:"Logo_container__p_ZVK",image:"Logo_image__p0SkT"}},2008:function(e){e.exports={spinner:"Modal_spinner__vORWo",content:"Modal_content__mZkaV",modal:"Modal_modal___vOcW"}},80744:function(e){e.exports={noscript:"Noscript_noscript__eqJAm",scrollContainer:"Noscript_scrollContainer__nA40F",content:"Noscript_content__iSRRU",logo:"Noscript_logo__2E6NY"}},22847:function(e){e.exports={outerContainer:"OfflineBanner_outerContainer__2Cwh6",innerContainer:"OfflineBanner_innerContainer__6BMbR",bodyText:"OfflineBanner_bodyText__8w_fr",separator:"OfflineBanner_separator__X2xF3",lastLiveDate:"OfflineBanner_lastLiveDate__K35HM",clockIcon:"OfflineBanner_clockIcon__0rWpM",header:"OfflineBanner_header__p5jNi",footer:"OfflineBanner_footer__lQUrD",actionLink:"OfflineBanner_actionLink__g64az"}},6465:function(e){e.exports={link:"SocialLinks_link__eF9uF",links:"SocialLinks_links__ymQUA"}},35509:function(e){e.exports={statusbar:"Statusbar_statusbar__b24qe",onlineMessage:"Statusbar_onlineMessage__FJnEa",viewerCount:"Statusbar_viewerCount__pfDDX",viewerIcon:"Statusbar_viewerIcon__U_j6P"}}},function(e){e.O(0,[4283,1130,9403,3942,971,6697,1664,2891,6300,5938,5888,6017,8215,6108,5213,4281,9774,2888,179],function(){return e(e.s=48312)}),_N_E=e.O()}]);