mirror of
https://github.com/owncast/owncast.git
synced 2024-10-10 19:16:02 +00:00
1 line
44 KiB
JavaScript
Vendored
1 line
44 KiB
JavaScript
Vendored
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5405,9436],{48312:function(e,t,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/",function(){return n(94880)}])},64947:function(e,t,n){"use strict";n.d(t,{e:function(){return d}});var o=n(85893),a=n(51095),s=n(5152),i=n.n(s),r=n(11803),l=n.n(r);let c=i()(()=>n.e(416).then(n.t.bind(n,40416,23)),{loadableGenerated:{webpack:()=>[40416]},ssr:!1}),d=e=>{let{onClick:t,props:n}=e;return(0,o.jsx)(a.Z,{...n,type:"primary",className:l().button,icon:(0,o.jsx)(c,{}),onClick:t,id:"follow-button",children:"Follow"})}},10824:function(e,t,n){"use strict";n.d(t,{C:function(){return l}});var o=n(85893);n(67294);var a=n(93967),s=n.n(a),i=n(53298),r=n.n(i);let l=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:""})})]})})})})})}},36073:function(e,t,n){"use strict";n.r(t),n.d(t,{UserDropdown:function(){return L}});var o=n(85893),a=n(30247),s=n(51095),i=n(93967),r=n.n(i),l=n(4480),c=n(67294),d=n(46977),p=n(5152),h=n.n(p),m=n(4511),u=n(14413),x=n(27813),f=n.n(x),g=n(2906);let j=h()(()=>Promise.all([n.e(3908),n.e(6169)]).then(n.t.bind(n,46169,23)),{loadableGenerated:{webpack:()=>[46169]},ssr:!1}),_=h()(()=>Promise.all([n.e(3908),n.e(6679)]).then(n.t.bind(n,46679,23)),{loadableGenerated:{webpack:()=>[46679]},ssr:!1}),b=h()(()=>Promise.all([n.e(3908),n.e(108)]).then(n.t.bind(n,30108,23)),{loadableGenerated:{webpack:()=>[30108]},ssr:!1}),w=h()(()=>Promise.all([n.e(3908),n.e(1189)]).then(n.t.bind(n,91189,23)),{loadableGenerated:{webpack:()=>[91189]},ssr:!1}),v=h()(()=>Promise.all([n.e(3908),n.e(6482)]).then(n.t.bind(n,56482,23)),{loadableGenerated:{webpack:()=>[56482]},ssr:!1}),y=h()(()=>Promise.all([n.e(3908),n.e(8072)]).then(n.t.bind(n,78072,23)),{loadableGenerated:{webpack:()=>[78072]},ssr:!1}),k=h()(()=>Promise.all([n.e(3908),n.e(6037)]).then(n.t.bind(n,66037,23)),{loadableGenerated:{webpack:()=>[66037]},ssr:!1}),C=h()(()=>Promise.all([n.e(1783),n.e(4992),n.e(9505),n.e(2601)]).then(n.bind(n,92601)).then(e=>e.Modal),{loadableGenerated:{webpack:()=>[92601]},ssr:!1}),N=h()(()=>Promise.all([n.e(7993),n.e(2016),n.e(4992),n.e(4970),n.e(6655),n.e(7330)]).then(n.bind(n,92755)).then(e=>e.NameChangeModal),{loadableGenerated:{webpack:()=>[92755]},ssr:!1}),S=h()(()=>Promise.all([n.e(220),n.e(2016),n.e(4992),n.e(3745),n.e(3243),n.e(7254),n.e(989)]).then(n.bind(n,989)).then(e=>e.AuthModal),{loadableGenerated:{webpack:()=>[989]},ssr:!1}),L=e=>{let{id:t,username:n,hideTitleOnMobile:i=!1,showToggleChatOption:p=!0}=e,[h,x]=(0,c.useState)(!1),[L,M]=(0,c.useState)(!1),[T,F]=(0,l.FV)(u.vZ),[I,E]=(0,c.useState)(null),B=(0,l.sJ)(u.Q),P=()=>{p&&F(T===u.gG.VISIBLE?u.gG.HIDDEN:u.gG.VISIBLE)},O=()=>{x(!1)},D=()=>{I&&I.close(),E(null),F(u.gG.VISIBLE)},A=p&&B.chatAvailable&&(T===u.gG.HIDDEN||T===u.gG.VISIBLE),G=p&&B.chatAvailable&&(T===u.gG.HIDDEN||T===u.gG.VISIBLE||T===u.gG.POPPED_OUT);(0,d.y1)("c",P,{enableOnContentEditable:!1},[T===u.gG.VISIBLE]);let R=(0,l.sJ)(u.db);if(!R)return null;let{displayName:H}=R,Z=[{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 A&&Z.push({key:3,"aria-expanded":T===u.gG.VISIBLE,className:f().chatToggle,icon:(0,o.jsx)(y,{}),label:T===u.gG.VISIBLE?"Hide Chat":"Show Chat",onClick:P}),G&&Z.push({key:4,icon:I?(0,o.jsx)(w,{}):(0,o.jsx)(v,{}),label:I?"Put chat back":"Pop out chat",onClick:I?D:()=>{D();let e=window.open("/embed/chat/readwrite","_blank","popup");e.addEventListener("beforeunload",D),E(e),F(u.gG.POPPED_OUT)}}),(0,o.jsx)(m.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.Z,{menu:{items:Z},trigger:["click"],children:(0,o.jsxs)(s.Z,{id:t,type:"primary",icon:(0,o.jsx)(k,{className:f().userIcon}),children:[(0,o.jsx)("span",{className:r()([f().username,i&&f().hideTitleOnMobile]),children:n||H}),(0,o.jsx)(j,{})]})}),(0,o.jsx)(C,{title:"Change Chat Display Name",open:h,handleCancel:O,children:(0,o.jsx)(N,{closeModal:O})}),(0,o.jsx)(C,{title:"Authenticate",open:L,handleCancel:()=>M(!1),children:(0,o.jsx)(S,{})})]})})}},14124:function(e,t,n){"use strict";n.d(t,{h:function(){return f}});var o=n(85893),a=n(98692),s=n(77024),i=n(67294),r=n(93967),l=n.n(r),c=n(5152),d=n.n(c),p=n(41664),h=n.n(p),m=n(13752),u=n.n(m);let x=d()(()=>Promise.all([n.e(9436),n.e(6113),n.e(247),n.e(6073)]).then(n.bind(n,36073)).then(e=>e.UserDropdown),{loadableGenerated:{webpack:()=>[36073]},ssr:!1}),f=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(u().header)],"global-header"),children:[c?(0,o.jsx)(h(),{href:"#player",className:u().skipLink,children:"Skip to player"}):(0,o.jsx)(h(),{href:"#offline-message",className:u().skipLink,children:"Skip to offline message"}),(0,o.jsx)(h(),{href:"#skip-to-content",className:u().skipLink,children:"Skip to page content"}),(0,o.jsx)(h(),{href:"#footer",className:u().skipLink,children:"Skip to footer"}),(0,o.jsxs)("div",{className:u().logo,children:[(0,o.jsx)("div",{id:"header-logo",className:u().logoImage,children:(0,o.jsx)(a.C,{src:"/logo",size:"large",shape:"circle",className:u().avatar})}),(0,o.jsx)("h1",{className:u().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)(s.Z,{overlayClassName:u().toolTip,title:"Chat will be available when the stream is live.",placement:"left",children:(0,o.jsx)("span",{className:u().chatOfflineText,children:"Chat is offline"})})]})};t.Z=f},92601:function(e,t,n){"use strict";n.r(t),n.d(t,{Modal:function(){return p}});var o=n(85893),a=n(89505),s=n(69361),i=n(67294),r=n(4511),l=n(2906),c=n(25206),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,i.useState)(!!n),_="100%",b="520px";n&&(_="70vh",b="900px");let w={padding:"0px",minHeight:u,height:null!=u?u:_},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)}),y=g?"none":"inline";return(0,o.jsx)(a.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,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:y},children:v}),f&&(0,o.jsx)("div",{className:d().content,children:f}),g&&(0,o.jsx)(s.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}},1437:function(e,t,n){"use strict";n.d(t,{X:function(){return x}});var o=n(85893),a=n(86655),s=n(85727),i=n(67294),r=n(5152),l=n.n(r),c=n(93967),d=n.n(c),p=n(95416),h=n.n(p),m=n(34153);let u=l()(()=>Promise.all([n.e(3908),n.e(8018)]).then(n.t.bind(n,38018,23)),{loadableGenerated:{webpack:()=>[38018]},ssr:!1}),x=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,a.y)({start:e,end:new Date});return o.days>=1?"".concat(o.days," ").concat((0,m._6)("day",o.days),"\n ").concat(o.hours," ").concat((0,m._6)(t,o.hours)):o.hours>=1?"".concat(o.hours," ").concat((0,m._6)(t,o.hours)," ").concat(o.minutes>0?o.minutes:"","\n ").concat(o.minutes>0?(0,m._6)(n,o.minutes):""):"".concat(o.minutes>0?o.minutes:""," ").concat(o.minutes>0?(0,m._6)(n,o.minutes):"","\n ").concat(o.seconds>0?o.seconds:""," ").concat(o.seconds>0?(0,m._6)("second",o.seconds):"")}(new Date(r));f="Live for ".concat(e),t=c>0&&(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)("span",{className:h().viewerIcon,children:(0,o.jsx)(u,{})}),(0,o.jsx)("span",{children:" ".concat(c)})]})}else!n&&(f="Offline",l&&(t="Last live ".concat((0,s.Q)(new Date(l))," ago.")));return(0,o.jsxs)("div",{className:d()(h().statusbar,p),role:"status",children:[(0,o.jsx)("span",{"aria-live":"off",className:h().onlineMessage,children:f}),(0,o.jsx)("span",{className:h().viewerCount,children:t})]})};x.defaultProps={lastConnectTime:null,lastDisconnectTime:null}},94880:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return e0}});var o=n(85893),a=n(4480),s=n(9008),i=n.n(s),r=n(67294),l=n(36795),c=n(5152),d=n.n(c),p=n(4298),h=n.n(p),m=n(4511),u=n(14413),x=n(27779),f=n(69361),g=n(94715),j=n(51095),_=n(30545),b=n.n(_),w=n(93967),v=n.n(w),y=n(30247),k=n(35821),C=n.n(k);let N=d()(()=>n.e(2741).then(n.t.bind(n,42741,23)),{loadableGenerated:{webpack:()=>[42741]},ssr:!1}),S=d()(()=>n.e(6386).then(n.t.bind(n,86386,23)),{loadableGenerated:{webpack:()=>[86386]},ssr:!1}),L=d()(()=>n.e(2785).then(n.t.bind(n,22785,23)),{loadableGenerated:{webpack:()=>[22785]},ssr:!1}),M="notify",T="follow",F=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:C().item,children:[e.icon&&(0,o.jsx)("img",{className:C().icon,src:e.icon,alt:e.title})," ",e.title]})}));i&&c.unshift({key:T,label:(0,o.jsxs)("span",{className:C().item,children:[(0,o.jsx)(S,{className:C().icon})," Follow this stream"]})}),r&&c.unshift({key:M,label:(0,o.jsxs)("span",{className:C().item,children:[(0,o.jsx)(L,{className:C().icon}),"Notify when live"]})});let d=v()([C().menu,l]);return(0,o.jsx)(y.Z,{menu:{items:c,onClick:e=>{if(e.key===M){a();return}if(e.key===T){s();return}n(t.find(t=>t.url===e.key))}},placement:"bottomRight",trigger:["click"],className:d,children:(0,o.jsx)("div",{className:C().buttonWrap,children:(0,o.jsx)(j.Z,{type:"default",onClick:e=>e.preventDefault(),size:"large",icon:(0,o.jsx)(N,{size:6,style:{rotate:"90deg"}}),className:C().menuButton})})})};var I=n(63073),E=n.n(I);let B=e=>{let{children:t}=e;return(0,o.jsx)("div",{className:E().row,children:t})};var P=n(64947),O=n(11803),D=n.n(O);let A=d()(()=>n.e(3221).then(n.t.bind(n,13221,23)),{loadableGenerated:{webpack:()=>[13221]},ssr:!1}),G=e=>{let{onClick:t,text:n}=e;return(0,o.jsx)(j.Z,{type:"primary",className:D().button,icon:(0,o.jsx)(A,{}),onClick:t,id:"notify-button",children:n||"Notify"})};var R=n(67136),H=n.n(R);let Z=e=>{let{action:t,primary:n=!0,externalActionSelected:a}=e,{title:s,description:i,icon:r,color:l}=t;return(0,o.jsxs)(j.Z,{type:n?"primary":"default",className:v()(["".concat(D().button),"action-button"]),onClick:()=>a(t),style:{backgroundColor:l},title:i||s,children:[r&&(0,o.jsx)("img",{src:r,className:D().icon,alt:i}),s]})},U=d()(()=>Promise.all([n.e(633),n.e(7158)]).then(n.bind(n,47158)).then(e=>e.NotifyReminderPopup),{loadableGenerated:{webpack:()=>[47158]},ssr:!1,loading:()=>(0,o.jsx)(x.Z,{loading:!0,active:!0,paragraph:{rows:8}})});var Q=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)(Z,{action:e,externalActionSelected:d},e.url||e.html));return(0,o.jsxs)("div",{className:H().actionButtonsContainer,children:[(0,o.jsx)("div",{className:H().desktopActionButtons,children:(0,o.jsxs)(B,{children:[p,t&&(0,o.jsx)(P.e,{size:"small",onClick:()=>s(!0)}),n&&(0,o.jsx)(U,{open:a,notificationClicked:()=>i(!0),notificationClosed:()=>r(),children:(0,o.jsx)(G,{onClick:()=>i(!0)})})]})}),(0,o.jsx)("div",{className:H().mobileActionButtons,children:(n||n||p.length>0)&&(0,o.jsx)(F,{className:H().actionButtonMenu,showFollowItem:t,showNotifyItem:n,actions:l,externalActionSelected:c,notifyItemSelected:()=>i(!0),followItemSelected:()=>s(!0)})})]})},z=n(42588),J=n(90297),V=n(63988),W=n.n(V),q=n(98302),X=n(85727),K=n(7065),Y=n.n(K);let $=d()(()=>n.e(6646).then(n.t.bind(n,66646,23)),{loadableGenerated:{webpack:()=>[66646]},ssr:!1}),ee=e=>{let t,{streamName:n,customText:a,lastLive:s,notificationsEnabled:i,fediverseAccount:r,showsHeader:l=!0,onNotifyClick:c,onFollowClick:d,className:p}=e;return t=a||(!a&&i&&r?(0,o.jsxs)("span",{children:["This stream is offline. You can"," ",(0,o.jsx)("span",{role:"link",tabIndex:0,className:Y().actionLink,onClick:c,children:"be notified"})," ","the next time ",n," goes live or"," ",(0,o.jsx)("span",{role:"link",tabIndex:0,className:Y().actionLink,onClick:d,children:"follow"})," ",r," on the Fediverse."]}):!a&&i?(0,o.jsxs)("span",{children:["This stream is offline."," ",(0,o.jsx)("span",{role:"link",tabIndex:0,className:Y().actionLink,onClick:c,children:"Be notified"})," ","the next time ",n," goes live."]}):!a&&r?(0,o.jsxs)("span",{children:["This stream is offline."," ",(0,o.jsx)("span",{role:"link",tabIndex:0,className:Y().actionLink,onClick:d,children:"Follow"})," ",r," 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:v()(Y().outerContainer,p),children:(0,o.jsxs)("div",{className:Y().innerContainer,children:[l&&(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)("div",{className:Y().header,children:n}),(0,o.jsx)(q.Z,{className:Y().separator})]}),a?(0,o.jsx)("div",{className:Y().bodyText,dangerouslySetInnerHTML:{__html:t}}):(0,o.jsx)("div",{className:Y().bodyText,children:t}),s&&(0,o.jsxs)("div",{className:Y().lastLiveDate,children:[(0,o.jsx)($,{className:Y().clockIcon}),"Last live ".concat((0,X.Q)(new Date(s))," ago.")]})]})})};var et=n(1437),en=n(92601),eo=n(22894),ea=n.n(eo);let es=e=>{let{content:t}=e;return(0,o.jsx)("div",{id:"custom-page-content",children:(0,o.jsx)("div",{className:ea().customPageContent,dangerouslySetInnerHTML:{__html:t}})})};var ei=n(53731),er=n(4625),el=n.n(er);let ec=e=>{let{src:t}=e;return(0,o.jsx)("div",{className:el().root,children:(0,o.jsx)("div",{className:el().container,children:(0,o.jsx)("img",{src:t,alt:"Logo",className:el().image,loading:"lazy"})})})};var ed=n(25675),ep=n.n(ed),eh=n(2906),em=n(92760),eu=n.n(em);let ex=e=>{let{links:t}=e;return(null==t?void 0:t.length)?(0,o.jsx)(m.SV,{fallbackRender:e=>{let{error:t,resetErrorBoundary:n}=e;return(0,o.jsx)(eh.A,{componentName:"SocialLinks",message:t.message,retryFunction:n})},children:(0,o.jsx)("div",{className:eu().links,id:"social-links",children:null==t?void 0:t.map(e=>(0,o.jsx)("a",{href:e.url,className:eu().link,target:"_blank",rel:"noreferrer me",children:(0,o.jsx)(ep(),{src:e.icon||"/img/platformlogos/default.svg",alt:e.platform,className:eu().link,width:"30",height:"30"})},e.platform))})}):null};var ef=n(6845),eg=n.n(ef);let ej=e=>{let{name:t,summary:n,logo:a,tags:s,links:i}=e;return(0,o.jsx)("div",{className:eg().root,children:(0,o.jsxs)("div",{className:eg().logoTitleSection,children:[(0,o.jsx)("div",{className:eg().logo,children:(0,o.jsx)(ec,{src:a})}),(0,o.jsxs)("div",{className:eg().titleSection,children:[(0,o.jsx)("h2",{className:v()(eg().title,eg().row,"header-title"),children:t}),(0,o.jsx)("h3",{className:v()(eg().subtitle,eg().row,"header-subtitle"),children:(0,o.jsx)(ei.Z,{children:n})}),(0,o.jsx)("div",{className:v()(eg().tagList,eg().row),children:s.length>0&&s.map(e=>(0,o.jsxs)("span",{children:["#",e,"\xa0"]},e))}),(0,o.jsx)("div",{className:v()(eg().socialLinks,eg().row),children:(0,o.jsx)(ex,{links:i})})]})]})})},e_=d()(()=>Promise.all([n.e(4885),n.e(2016),n.e(4970),n.e(3745),n.e(6880),n.e(6655),n.e(8810),n.e(9062),n.e(3243),n.e(6956),n.e(7573),n.e(7544),n.e(6356),n.e(4657),n.e(7736),n.e(3430)]).then(n.bind(n,73430)).then(e=>e.Tabs),{loadableGenerated:{webpack:()=>[73430]},ssr:!1}),eb=d()(()=>Promise.all([n.e(9813),n.e(6655),n.e(8810),n.e(4943)]).then(n.bind(n,27713)).then(e=>e.FollowerCollection),{loadableGenerated:{webpack:()=>[27713]},ssr:!1}),ew=e=>{let{name:t,summary:n,tags:a,socialHandles:s,extraPageContent:i,setShowFollowModal:r,supportFediverseFeatures:l}=e,c=(0,o.jsx)("div",{className:H().bottomPageContentContainer,children:(0,o.jsx)(es,{content:i})}),d=(0,o.jsx)("div",{className:H().bottomPageContentContainer,children:(0,o.jsx)(eb,{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)(m.SV,{fallbackRender:e=>{let{error:t,resetErrorBoundary:n}=e;return(0,o.jsx)(eh.A,{componentName:"DesktopContent",message:t.message,retryFunction:n})},children:[(0,o.jsx)("div",{id:"skip-to-content",children:(0,o.jsx)(ej,{name:t,summary:n,tags:a,links:s,logo:"/logo"})}),(0,o.jsx)("div",{children:p.length>1?(0,o.jsx)(e_,{defaultActiveKey:"0",items:p}):!!i&&c})]})},ev=d()(()=>Promise.all([n.e(4885),n.e(2016),n.e(4970),n.e(3745),n.e(6880),n.e(6655),n.e(8810),n.e(9062),n.e(3243),n.e(6956),n.e(7573),n.e(7544),n.e(6356),n.e(4657),n.e(7736),n.e(3430)]).then(n.bind(n,73430)).then(e=>e.Tabs),{loadableGenerated:{webpack:()=>[73430]},ssr:!1}),ey=d()(()=>Promise.all([n.e(9813),n.e(6655),n.e(8810),n.e(4943)]).then(n.bind(n,27713)).then(e=>e.FollowerCollection),{loadableGenerated:{webpack:()=>[27713]},ssr:!1}),ek=e=>{let{error:t,resetErrorBoundary:n}=e;return(0,o.jsx)(eh.A,{message:t,componentName:"MobileContent",retryFunction:n})},eC=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)(ej,{name:t,summary:n,tags:a,links:s,logo:"/logo"}),!!i&&(0,o.jsx)("div",{className:H().bottomPageContentContainer,children:(0,o.jsx)(es,{content:i})})]}),p=(0,o.jsx)("div",{className:H().bottomPageContentContainer,children:(0,o.jsx)(ey,{name:t,onFollowButtonClick:()=>r(!0)})}),h=[];return h.push({label:"About",key:"0",children:d}),l&&h.push({label:"Followers",key:"1",children:p}),(0,o.jsx)(m.SV,{fallbackRender:e=>{let{error:t,resetErrorBoundary:n}=e;return(0,o.jsx)(ek,{error:t,resetErrorBoundary:n})},children:h.length>1?(0,o.jsx)("div",{className:v()([H().lowerSectionMobileTabbed,c&&H().online]),children:(0,o.jsx)(ev,{defaultActiveKey:"0",items:h})}):(0,o.jsx)("div",{children:d})})};var eN=n(89505),eS=n(14141),eL=n.n(eS),eM=n(568),eT=n(36073);let eF=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)(m.SV,{fallbackRender:e=>{let{error:t,resetErrorBoundary:n}=e;return(0,o.jsx)(eh.A,{componentName:"ChatModal",message:t.message,retryFunction:n})},children:(0,o.jsx)(eN.default,{open:!0,centered:!0,maskClosable:!1,footer:null,title:(0,o.jsx)(eT.UserDropdown,{id:"chat-modal-user-menu",showToggleChatOption:!1}),maskStyle:{zIndex:700},className:eL().root,bodyStyle:{padding:"0px",height:"55vh"},wrapClassName:eL().modalWrapper,onCancel:a,children:(0,o.jsx)(eM.ChatContainer,{messages:t,usernameToHighlight:i,chatUserId:s,isModerator:r,chatAvailable:!0,focusInput:!1})})})};var eI=n(76583),eE=n.n(eI);let eB=()=>{let{versionNumber:e}=(0,a.sJ)(u.RI);return(0,o.jsxs)("footer",{className:eE().footer,id:"footer",children:[(0,o.jsxs)("span",{children:["Powered by ",(0,o.jsxs)("a",{href:"https://owncast.online",children:["Owncast v",e]})]}),(0,o.jsxs)("span",{className:eE().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"})]})]})},eP=d()(()=>Promise.resolve().then(n.bind(n,568)).then(e=>e.ChatContainer),{loadableGenerated:{webpack:()=>[568]},ssr:!1}),eO=d()(()=>Promise.all([n.e(245),n.e(2016),n.e(1827)]).then(n.bind(n,51827)).then(e=>e.FollowModal),{loadableGenerated:{webpack:()=>[51827]},ssr:!1,loading:()=>(0,o.jsx)(x.Z,{loading:!0,active:!0,paragraph:{rows:8}})}),eD=d()(()=>Promise.all([n.e(6301),n.e(2016),n.e(3745),n.e(5686)]).then(n.bind(n,45686)).then(e=>e.BrowserNotifyModal),{loadableGenerated:{webpack:()=>[45686]},ssr:!1,loading:()=>(0,o.jsx)(x.Z,{loading:!0,active:!0,paragraph:{rows:6}})}),eA=d()(()=>Promise.all([n.e(7824),n.e(5319),n.e(2544),n.e(9178),n.e(4205)]).then(n.bind(n,66421)).then(e=>e.OwncastPlayer),{loadableGenerated:{webpack:()=>[66421]},ssr:!1,loading:()=>(0,o.jsx)(x.Z,{loading:!0,active:!0,paragraph:{rows:12}})}),eG=e=>{let{externalActionToDisplay:t,setExternalActionToDisplay:n}=e,{title:a,description:s,url:i,html:r}=t;return(0,o.jsx)(en.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})},eR=()=>{let e=(0,a.sJ)(u.Q),t=(0,a.sJ)(u.g1),n=(0,a.sJ)(u.vZ),s=(0,a.sJ)(u.db),i=(0,a.sJ)(u.RI),[l,c]=(0,a.FV)(u.hz),d=(0,a.sJ)(u.pH),p=(0,a.sJ)(u.YW),h=(0,a.sJ)(u.di),{viewerCount:m,lastConnectTime:_,lastDisconnectTime:w,streamTitle:y}=(0,a.sJ)(u.RI),{extraPageContent:k,name:C,summary:N,socialHandles:S,tags:L,externalActions:M,offlineMessage:T,chatDisabled:F,federation:I,notifications:E}=t,[B,P]=(0,r.useState)(!1),[O,D]=(0,r.useState)(!1),[A,G]=(0,r.useState)(!1),{account:R,enabled:Z}=I,{browser:U}=E,{enabled:V}=U,{online:q}=i,[X,K]=(0,r.useState)(null),[Y,$]=(0,r.useState)(""),[eo,ea]=(0,r.useState)(!1),[es,ei]=(0,r.useState)(!1),er=()=>{let e=parseInt((0,z.$o)(z.dA.userVisitCount),10);Number.isNaN(e)&&(e=0),(0,z.qQ)(z.dA.userVisitCount,e+1),e>2&&!(0,z.$o)(z.dA.hasDisplayedNotificationModal)&&P(!0)},el=()=>{D(!1),P(!1),(0,z.qQ)(z.dA.hasDisplayedNotificationModal,!0)},ec=()=>{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)(()=>(er(),ec(),window.addEventListener("resize",ec),()=>{window.removeEventListener("resize",ec)}),[]),(0,r.useEffect)(()=>{ea((0,J.r)()&&V)},[V]),(0,r.useEffect)(()=>{$(window.location.href)},[]);let ed=h&&!F&&n===u.gG.VISIBLE;return(0,o.jsxs)("div",{className:H().main,children:[(0,o.jsxs)("div",{className:H().mainColumn,children:[e.appLoading&&(0,o.jsx)("div",{className:v()([H().topSectionElement,H().centerSpinner]),style:{height:"30vh"},children:(0,o.jsx)(f.Z,{delay:2,size:"large",tip:"One moment..."})}),(0,o.jsxs)(g.Z,{children:[p&&(0,o.jsx)(eA,{source:"/hls/stream.m3u8",online:p,title:y||C,className:H().topSectionElement}),!p&&!e.appLoading&&(0,o.jsx)("div",{id:"offline-message",style:{width:"100%"},children:(0,o.jsx)(ee,{showsHeader:!1,streamName:C,customText:T,notificationsEnabled:eo,fediverseAccount:R,lastLive:w,onNotifyClick:()=>D(!0),onFollowClick:()=>G(!0),className:v()([H().topSectionElement,H().offlineBanner])})})]}),(0,o.jsx)(g.Z,{children:q&&(0,o.jsx)(et.X,{online:p,lastConnectTime:_,lastDisconnectTime:w,viewerCount:m,className:v()(H().topSectionElement,H().statusBar)})}),(0,o.jsx)(g.Z,{children:(0,o.jsx)(Q,{supportFediverseFeatures:Z,supportsBrowserNotifications:eo,showNotifyReminder:B,setShowNotifyModal:D,disableNotifyReminderPopup:el,externalActions:M||[],setExternalActionToDisplay:K,setShowFollowModal:G,externalActionSelected:e=>{let{openExternally:t,url:n}=e;if(n){let o=new URL(n);if(o.searchParams.append("instance",Y),s){let{displayName:e}=s;o.searchParams.append("username",e)}let a=o.toString(),i={...e,url:a};t?window.open(a,"_blank"):K(i)}else K(e)}})}),(0,o.jsx)(en.Modal,{title:"Browser Notifications",open:O,afterClose:()=>el(),handleCancel:()=>el(),children:(0,o.jsx)(eD,{})}),(0,o.jsxs)(g.Z,{children:[!C&&(0,o.jsx)(x.Z,{active:!0,loading:!0,style:{marginLeft:"10vw",marginRight:"10vw"}}),l?(0,o.jsx)(eC,{name:C,summary:N,tags:L,socialHandles:S,extraPageContent:k,setShowFollowModal:G,supportFediverseFeatures:Z,online:p}):(0,o.jsx)("div",{className:W().bottomSectionContent,children:(0,o.jsx)(ew,{name:C,summary:N,tags:L,socialHandles:S,extraPageContent:k,setShowFollowModal:G,supportFediverseFeatures:Z})})]}),(0,o.jsx)("div",{style:{flex:"1 1"}}),(0,o.jsx)(eB,{})]}),ed&&!l&&s&&(0,o.jsx)(eP,{messages:d,usernameToHighlight:s.displayName,chatUserId:s.id,isModerator:s.isModerator,chatAvailable:h,showInput:!!s,desktop:!0}),X&&(0,o.jsx)(eG,{externalActionToDisplay:X,setExternalActionToDisplay:K}),(0,o.jsx)(en.Modal,{title:"Follow ".concat(C),open:A,handleCancel:()=>G(!1),width:"550px",children:(0,o.jsx)(eO,{account:R,name:C,handleClose:()=>G(!1)})}),l&&es&&n===u.gG.VISIBLE&&(0,o.jsx)(eF,{messages:d,currentUser:s,handleClose:()=>ei(!1)}),l&&h&&!F&&(0,o.jsxs)(j.Z,{id:"mobile-chat-button",type:"primary",onClick:()=>ei(!0),className:H().floatingMobileChatModalButton,children:["Chat ",(0,o.jsx)(b(),{})]})]})};var eH=n(14124);let eZ=e=>{let{name:t}=e,n=(0,a.sJ)(u.j$),s=(0,a.sJ)(u.RI),[l,c]=(0,r.useState)(!1),[d,p]=(0,r.useState)(t),{online:h,streamTitle:m}=s,x=()=>{c(!0)},f=()=>{c(!1),p(t)},g=()=>{window.addEventListener("blur",x),window.addEventListener("focus",f)},j=()=>{window.removeEventListener("blur",x),window.removeEventListener("focus",f)};return(0,r.useEffect)(()=>(g(),p(t),()=>{j()}),[t]),(0,r.useEffect)(()=>{if(!l||!h)return;let e=n.at(-1);e&&"CHAT"===e.type&&p("\uD83D\uDCAC :: ".concat(t))},[n,t]),(0,r.useEffect)(()=>{void 0!==navigator.mediaSession&&(navigator.mediaSession.metadata=new MediaMetadata({title:m,artist:t,artwork:[{src:"/logo"}]}))},[t,m]),(0,r.useEffect)(()=>{l&&(h?p(" \uD83D\uDFE2 :: ".concat(t)):h||p(" \uD83D\uDD34 :: ".concat(t)))},[h,t]),(0,o.jsx)(i(),{children:(0,o.jsx)("title",{children:d})})},eU=()=>(0,o.jsx)("script",{id:"server-side-hydration",nonce:"{{.Nonce}}",dangerouslySetInnerHTML:{__html:"\n window.configHydration = {{.ServerConfigJSON}};\n window.statusHydration = {{.StatusJSON}};\n "}});var eQ=n(14217),ez=n(44897),eJ=n.n(ez);let eV=()=>{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,r.useEffect)(()=>("serviceWorker"in navigator&&window.addEventListener("load",e),()=>{window.removeEventListener("load",e)}),[]),null};var eW=n(10824),eq=n(72898),eX=n.n(eq);let eK=()=>(0,o.jsx)("noscript",{className:eX().noscript,children:(0,o.jsx)("div",{className:eX().scrollContainer,children:(0,o.jsxs)("div",{className:eX().content,children:[(0,o.jsx)(eW.C,{className:eX().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."})]})})}),eY=d()(()=>n.e(4118).then(n.bind(n,4118)).then(e=>e.FatalErrorStateModal),{loadableGenerated:{webpack:()=>[4118]},ssr:!1}),e$=()=>{let e=(0,a.sJ)(u.g1),t=(0,a.sJ)(u.RI),{name:n}=e,s=(0,a.sJ)(u.di),c=(0,a.sJ)(u.ap),d=(0,a.sJ)(u.Q),p=(0,r.useRef)(null),{chatDisabled:x}=e,{videoAvailable:f}=d,{online:g,streamTitle:j}=t;(0,r.useEffect)(()=>{!function(e){let t=e=>{let t=e.getAttribute("rel");e.setAttribute("rel","".concat(t," noopener noreferrer"))};e.querySelectorAll("a").forEach(e=>t(e)),new MutationObserver(function(e){for(let n of e)for(let e of n.addedNodes)e instanceof HTMLElement&&"a"===e.tagName.toLowerCase()&&t(e)}).observe(e,{attributes:!1,childList:!0,subtree:!0})}(p.current)},[]);let _=g&&j||n;return(0,o.jsxs)(o.Fragment,{children:[(0,o.jsxs)(i(),{children:[(0,o.jsx)(eU,{}),(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)(m.SV,{fallbackRender:e=>{let{error:t}=e;return(0,o.jsx)(eY,{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)(u.me,{})}),(0,o.jsx)(eV,{}),(0,o.jsx)(eZ,{name:n}),(0,o.jsx)(eQ.Q,{}),(0,o.jsx)(h(),{strategy:"afterInteractive",src:"/customjavascript"}),(0,o.jsxs)(l.default,{ref:p,className:eJ().layout,children:[(0,o.jsx)(eH.h,{name:_,chatAvailable:s,chatDisabled:x,online:f}),(0,o.jsx)(eR,{}),c&&(0,o.jsx)(eY,{title:c.title,message:c.message})]}),(0,o.jsx)(eK,{})]})};function e0(){return(0,o.jsx)(e$,{})}e0.getLayout=function(e){return e}},90297:function(e,t,n){"use strict";n.d(t,{r:function(){return s},w:function(){return a}});var o=n(34153);function a(){return"Notification"in window&&"serviceWorker"in navigator&&"PushManager"in window}function s(){return!!(0,o.C9)()||"Notification"in window&&"serviceWorker"in navigator&&"PushManager"in window}},11803:function(e){e.exports={button:"ActionButton_button__1rwj4",icon:"ActionButton_icon__kaGnG"}},35821:function(e){e.exports={item:"ActionButtonMenu_item__eH9af",buttonWrap:"ActionButtonMenu_buttonWrap__Kr1CL",icon:"ActionButtonMenu_icon__UYmlp",menu:"ActionButtonMenu_menu__1XF9s",menuButton:"ActionButtonMenu_menuButton__xYVRg"}},63073:function(e){e.exports={row:"ActionButtonRow_row__DvdvH"}},6845: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"}},53298:function(e){e.exports={root:"OwncastLogo_root__oCX4o",contrast:"OwncastLogo_contrast__2iRoV",simple:"OwncastLogo_simple__ZU5CD"}},27813: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"}},44897:function(e){e.exports={layout:"Main_layout__ocvSF",footerContainer:"Main_footerContainer__Su9mL"}},14141:function(e){e.exports={modalWrapper:"ChatModal_modalWrapper__m2VPu"}},67136: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"}},63988:function(e){e.exports={bottomSectionContent:"DesktopContent_bottomSectionContent__RUo5q"}},22894:function(e){e.exports={customPageContent:"CustomPageContent_customPageContent__vNiml",summary:"CustomPageContent_summary___vUw6"}},76583:function(e){e.exports={footer:"Footer_footer__2_6CR",links:"Footer_links__kvAo1"}},13752: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"}},4625:function(e){e.exports={root:"Logo_root__BkHmT",container:"Logo_container__p_ZVK",image:"Logo_image__p0SkT"}},25206:function(e){e.exports={spinner:"Modal_spinner__vORWo",content:"Modal_content__mZkaV",modal:"Modal_modal___vOcW"}},72898:function(e){e.exports={noscript:"Noscript_noscript__eqJAm",scrollContainer:"Noscript_scrollContainer__nA40F",content:"Noscript_content__iSRRU",logo:"Noscript_logo__2E6NY"}},7065: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"}},92760:function(e){e.exports={link:"SocialLinks_link__eF9uF",links:"SocialLinks_links__ymQUA"}},95416: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,3908,4992,9831,6113,9505,6919,247,3109,5727,5888,6632,8684,6782,8905,1941,5244,2888,9774,179],function(){return e(e.s=48312)}),_N_E=e.O()}]); |