Bundle embedded web app

This commit is contained in:
gabek
2022-10-08 22:09:35 +00:00
parent 6c2e25e597
commit eed76ddbd2
71 changed files with 54 additions and 55 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@@ -1 +0,0 @@
"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5938],{49474:function(t,n,r){r.d(n,{Z:function(){return o}});var e=r(19013),a=r(13882);function o(t,n){(0,a.Z)(2,arguments);var r=(0,e.Z)(t),o=(0,e.Z)(n),u=r.getTime()-o.getTime();return u<0?-1:u>0?1:u}},82161:function(t,n,r){r.d(n,{Z:function(){return c}});var e=r(19013),a=r(13882);function o(t,n){(0,a.Z)(2,arguments);var r=(0,e.Z)(t),o=(0,e.Z)(n),u=r.getFullYear()-o.getFullYear(),i=r.getMonth()-o.getMonth();return 12*u+i}var u=r(49474);function i(t){(0,a.Z)(1,arguments);var n=(0,e.Z)(t);return n.setHours(23,59,59,999),n}function s(t){(0,a.Z)(1,arguments);var n=(0,e.Z)(t),r=n.getMonth();return n.setFullYear(n.getFullYear(),r+1,0),n.setHours(23,59,59,999),n}function f(t){(0,a.Z)(1,arguments);var n=(0,e.Z)(t);return i(n).getTime()===s(n).getTime()}function c(t,n){(0,a.Z)(2,arguments);var r,i=(0,e.Z)(t),s=(0,e.Z)(n),c=(0,u.Z)(i,s),l=Math.abs(o(i,s));if(l<1)r=0;else{1===i.getMonth()&&i.getDate()>27&&i.setDate(30),i.setMonth(i.getMonth()-c*l);var Z=(0,u.Z)(i,s)===-c;f((0,e.Z)(t))&&1===l&&1===(0,u.Z)(t,s)&&(Z=!1),r=c*(l-Number(Z))}return 0===r?0:r}},45938:function(t,n,r){r.d(n,{Z:function(){return d}});var e=r(84314),a=r(49474),o=r(82161),u=r(11699),i=r(86559),s=r(19013);function f(t,n){if(null==t)throw new TypeError("assign requires that input parameter not be null or undefined");for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r]);return t}function c(t){return f({},t)}var l=r(24262),Z=r(13882),v=1440,m=43200;function h(t,n,r){var h,d;(0,Z.Z)(2,arguments);var D=(0,e.j)(),M=null!==(h=null!==(d=null===r||void 0===r?void 0:r.locale)&&void 0!==d?d:D.locale)&&void 0!==h?h:i.Z;if(!M.formatDistance)throw new RangeError("locale must contain formatDistance property");var g=(0,a.Z)(t,n);if(isNaN(g))throw new RangeError("Invalid time value");var p,X,b=f(c(r),{addSuffix:Boolean(null===r||void 0===r?void 0:r.addSuffix),comparison:g});g>0?(p=(0,s.Z)(n),X=(0,s.Z)(t)):(p=(0,s.Z)(t),X=(0,s.Z)(n));var w,T=(0,u.Z)(X,p),x=((0,l.Z)(X)-(0,l.Z)(p))/1e3,Y=Math.round((T-x)/60);if(Y<2)return null!==r&&void 0!==r&&r.includeSeconds?T<5?M.formatDistance("lessThanXSeconds",5,b):T<10?M.formatDistance("lessThanXSeconds",10,b):T<20?M.formatDistance("lessThanXSeconds",20,b):T<40?M.formatDistance("halfAMinute",0,b):T<60?M.formatDistance("lessThanXMinutes",1,b):M.formatDistance("xMinutes",1,b):0===Y?M.formatDistance("lessThanXMinutes",1,b):M.formatDistance("xMinutes",Y,b);if(Y<45)return M.formatDistance("xMinutes",Y,b);if(Y<90)return M.formatDistance("aboutXHours",1,b);if(Y<v){var y=Math.round(Y/60);return M.formatDistance("aboutXHours",y,b)}if(Y<2520)return M.formatDistance("xDays",1,b);if(Y<m){var S=Math.round(Y/v);return M.formatDistance("xDays",S,b)}if(Y<86400)return w=Math.round(Y/m),M.formatDistance("aboutXMonths",w,b);if((w=(0,o.Z)(X,p))<12){var E=Math.round(Y/m);return M.formatDistance("xMonths",E,b)}var N=w%12,k=Math.floor(w/12);return N<3?M.formatDistance("aboutXYears",k,b):N<9?M.formatDistance("overXYears",k,b):M.formatDistance("almostXYears",k+1,b)}function d(t,n){return(0,Z.Z)(1,arguments),h(t,Date.now(),n)}}}]);

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1 @@
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9764],{49474:function(t,n,r){"use strict";r.d(n,{Z:function(){return o}});var e=r(19013),a=r(13882);function o(t,n){(0,a.Z)(2,arguments);var r=(0,e.Z)(t),o=(0,e.Z)(n),i=r.getTime()-o.getTime();return i<0?-1:i>0?1:i}},82161:function(t,n,r){"use strict";r.d(n,{Z:function(){return c}});var e=r(19013),a=r(13882);function o(t,n){(0,a.Z)(2,arguments);var r=(0,e.Z)(t),o=(0,e.Z)(n),i=r.getFullYear()-o.getFullYear(),u=r.getMonth()-o.getMonth();return 12*i+u}var i=r(49474);function u(t){(0,a.Z)(1,arguments);var n=(0,e.Z)(t);return n.setHours(23,59,59,999),n}function f(t){(0,a.Z)(1,arguments);var n=(0,e.Z)(t),r=n.getMonth();return n.setFullYear(n.getFullYear(),r+1,0),n.setHours(23,59,59,999),n}function s(t){(0,a.Z)(1,arguments);var n=(0,e.Z)(t);return u(n).getTime()===f(n).getTime()}function c(t,n){(0,a.Z)(2,arguments);var r,u=(0,e.Z)(t),f=(0,e.Z)(n),c=(0,i.Z)(u,f),l=Math.abs(o(u,f));if(l<1)r=0;else{1===u.getMonth()&&u.getDate()>27&&u.setDate(30),u.setMonth(u.getMonth()-c*l);var v=(0,i.Z)(u,f)===-c;s((0,e.Z)(t))&&1===l&&1===(0,i.Z)(t,f)&&(v=!1),r=c*(l-Number(v))}return 0===r?0:r}},45938:function(t,n,r){"use strict";r.d(n,{Z:function(){return Z}});var e=r(84314),a=r(49474),o=r(82161),i=r(11699),u=r(86559),f=r(19013);function s(t,n){if(null==t)throw new TypeError("assign requires that input parameter not be null or undefined");for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r]);return t}function c(t){return s({},t)}var l=r(24262),v=r(13882),m=1440,d=43200;function h(t,n,r){var h,Z;(0,v.Z)(2,arguments);var p=(0,e.j)(),D=null!==(h=null!==(Z=null===r||void 0===r?void 0:r.locale)&&void 0!==Z?Z:p.locale)&&void 0!==h?h:u.Z;if(!D.formatDistance)throw new RangeError("locale must contain formatDistance property");var M=(0,a.Z)(t,n);if(isNaN(M))throw new RangeError("Invalid time value");var g,x,T=s(c(r),{addSuffix:Boolean(null===r||void 0===r?void 0:r.addSuffix),comparison:M});M>0?(g=(0,f.Z)(n),x=(0,f.Z)(t)):(g=(0,f.Z)(t),x=(0,f.Z)(n));var b,y=(0,i.Z)(x,g),w=((0,l.Z)(x)-(0,l.Z)(g))/1e3,X=Math.round((y-w)/60);if(X<2)return null!==r&&void 0!==r&&r.includeSeconds?y<5?D.formatDistance("lessThanXSeconds",5,T):y<10?D.formatDistance("lessThanXSeconds",10,T):y<20?D.formatDistance("lessThanXSeconds",20,T):y<40?D.formatDistance("halfAMinute",0,T):y<60?D.formatDistance("lessThanXMinutes",1,T):D.formatDistance("xMinutes",1,T):0===X?D.formatDistance("lessThanXMinutes",1,T):D.formatDistance("xMinutes",X,T);if(X<45)return D.formatDistance("xMinutes",X,T);if(X<90)return D.formatDistance("aboutXHours",1,T);if(X<m){var N=Math.round(X/60);return D.formatDistance("aboutXHours",N,T)}if(X<2520)return D.formatDistance("xDays",1,T);if(X<d){var E=Math.round(X/m);return D.formatDistance("xDays",E,T)}if(X<86400)return b=Math.round(X/d),D.formatDistance("aboutXMonths",b,T);if((b=(0,o.Z)(x,g))<12){var S=Math.round(X/d);return D.formatDistance("xMonths",S,T)}var Y=b%12,k=Math.floor(b/12);return Y<3?D.formatDistance("aboutXYears",k,T):Y<9?D.formatDistance("overXYears",k,T):D.formatDistance("almostXYears",k+1,T)}function Z(t,n){return(0,v.Z)(1,arguments),h(t,Date.now(),n)}},27561:function(t,n,r){var e=r(67990),a=/^\s+/;t.exports=function(t){return t?t.slice(0,e(t)+1).replace(a,""):t}},67990:function(t){var n=/\s/;t.exports=function(t){for(var r=t.length;r--&&n.test(t.charAt(r)););return r}},23279:function(t,n,r){var e=r(13218),a=r(7771),o=r(14841),i=Math.max,u=Math.min;t.exports=function(t,n,r){var f,s,c,l,v,m,d=0,h=!1,Z=!1,p=!0;if("function"!=typeof t)throw new TypeError("Expected a function");function D(n){var r=f,e=s;return f=s=void 0,d=n,l=t.apply(e,r)}function M(t){return d=t,v=setTimeout(x,n),h?D(t):l}function g(t){var r=t-m;return void 0===m||r>=n||r<0||Z&&t-d>=c}function x(){var t=a();if(g(t))return T(t);v=setTimeout(x,function(t){var r=n-(t-m);return Z?u(r,c-(t-d)):r}(t))}function T(t){return v=void 0,p&&f?D(t):(f=s=void 0,l)}function b(){var t=a(),r=g(t);if(f=arguments,s=this,m=t,r){if(void 0===v)return M(m);if(Z)return clearTimeout(v),v=setTimeout(x,n),D(m)}return void 0===v&&(v=setTimeout(x,n)),l}return n=o(n)||0,e(r)&&(h=!!r.leading,c=(Z="maxWait"in r)?i(o(r.maxWait)||0,n):c,p="trailing"in r?!!r.trailing:p),b.cancel=function(){void 0!==v&&clearTimeout(v),d=0,f=m=s=v=void 0},b.flush=function(){return void 0===v?l:T(a())},b}},33448:function(t,n,r){var e=r(44239),a=r(37005);t.exports=function(t){return"symbol"==typeof t||a(t)&&"[object Symbol]"==e(t)}},7771:function(t,n,r){var e=r(55639);t.exports=function(){return e.Date.now()}},14841:function(t,n,r){var e=r(27561),a=r(13218),o=r(33448),i=/^[-+]0x[0-9a-f]+$/i,u=/^0b[01]+$/i,f=/^0o[0-7]+$/i,s=parseInt;t.exports=function(t){if("number"==typeof t)return t;if(o(t))return NaN;if(a(t)){var n="function"==typeof t.valueOf?t.valueOf():t;t=a(n)?n+"":n}if("string"!=typeof t)return 0===t?t:+t;t=e(t);var r=u.test(t);return r||f.test(t)?s(t.slice(2),r?2:8):i.test(t)?NaN:+t}}}]);

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1 @@
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8399],{27561:function(t,n,r){var e=r(67990),i=/^\s+/;t.exports=function(t){return t?t.slice(0,e(t)+1).replace(i,""):t}},67990:function(t){var n=/\s/;t.exports=function(t){for(var r=t.length;r--&&n.test(t.charAt(r)););return r}},23279:function(t,n,r){var e=r(13218),i=r(7771),o=r(14841),u=Math.max,a=Math.min;t.exports=function(t,n,r){var f,c,s,v,p,l,d=0,h=!1,m=!1,x=!0;if("function"!=typeof t)throw new TypeError("Expected a function");function _(n){var r=f,e=c;return f=c=void 0,d=n,v=t.apply(e,r)}function w(t){return d=t,p=setTimeout(T,n),h?_(t):v}function y(t){var r=t-l;return void 0===l||r>=n||r<0||m&&t-d>=s}function T(){var t=i();if(y(t))return g(t);p=setTimeout(T,function(t){var r=n-(t-l);return m?a(r,s-(t-d)):r}(t))}function g(t){return p=void 0,x&&f?_(t):(f=c=void 0,v)}function N(){var t=i(),r=y(t);if(f=arguments,c=this,l=t,r){if(void 0===p)return w(l);if(m)return clearTimeout(p),p=setTimeout(T,n),_(l)}return void 0===p&&(p=setTimeout(T,n)),v}return n=o(n)||0,e(r)&&(h=!!r.leading,s=(m="maxWait"in r)?u(o(r.maxWait)||0,n):s,x="trailing"in r?!!r.trailing:x),N.cancel=function(){void 0!==p&&clearTimeout(p),d=0,f=l=c=p=void 0},N.flush=function(){return void 0===p?v:g(i())},N}},33448:function(t,n,r){var e=r(44239),i=r(37005);t.exports=function(t){return"symbol"==typeof t||i(t)&&"[object Symbol]"==e(t)}},7771:function(t,n,r){var e=r(55639);t.exports=function(){return e.Date.now()}},14841:function(t,n,r){var e=r(27561),i=r(13218),o=r(33448),u=/^[-+]0x[0-9a-f]+$/i,a=/^0b[01]+$/i,f=/^0o[0-7]+$/i,c=parseInt;t.exports=function(t){if("number"==typeof t)return t;if(o(t))return NaN;if(i(t)){var n="function"==typeof t.valueOf?t.valueOf():t;t=i(n)?n+"":n}if("string"!=typeof t)return 0===t?t:+t;t=e(t);var r=a.test(t);return r||f.test(t)?c(t.slice(2),r?2:8):u.test(t)?NaN:+t}},88054:function(t,n,r){(window.__NEXT_P=window.__NEXT_P||[]).push(["/embed/chat/readonly",function(){return r(15410)}])},15410:function(t,n,r){"use strict";r.r(n),r.d(n,{default:function(){return a}});var e=r(85893),i=r(4480),o=r(28763),u=r(1899);function a(){var t=(0,i.sJ)(u.w4),n=(0,i.sJ)(u.uy),r=(0,i.sJ)(u.pH);return(0,e.jsxs)("div",{children:[(0,e.jsx)(u.me,{}),(0,e.jsx)(o.ChatContainer,{messages:r,usernameToHighlight:t,chatUserId:n,isModerator:!1,showInput:!1,height:"100vh"})]})}}},function(t){t.O(0,[1272,8700,9372,7364,1899,8763,9774,2888,179],(function(){return n=88054,t(t.s=n);var n}));var n=t.O();_N_E=n}]);

View File

@@ -1 +0,0 @@
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8399],{88054:function(n,e,t){(window.__NEXT_P=window.__NEXT_P||[]).push(["/embed/chat/readonly",function(){return t(15410)}])},15410:function(n,e,t){"use strict";t.r(e),t.d(e,{default:function(){return a}});var r=t(85893),s=t(4480),u=t(28763),i=t(1899);function a(){var n=(0,s.sJ)(i.w4),e=(0,s.sJ)(i.uy),t=(0,s.sJ)(i.pH);return(0,r.jsxs)("div",{children:[(0,r.jsx)(i.me,{}),(0,r.jsx)(u.ChatContainer,{messages:t,usernameToHighlight:n,chatUserId:e,isModerator:!1,showInput:!1,height:"100vh"})]})}}},function(n){n.O(0,[1272,8700,9372,9654,2852,1899,8763,9774,2888,179],(function(){return e=88054,n(n.s=e);var e}));var e=n.O();_N_E=e}]);

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@@ -1 +0,0 @@
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3126],{61357:function(e,n,t){(window.__NEXT_P=window.__NEXT_P||[]).push(["/embed/video",function(){return t(95565)}])},95565:function(e,n,t){"use strict";t.r(n),t.d(n,{default:function(){return a}});var s=t(85893),i=(t(67294),t(4480)),r=t(1899),o=t(1698),u=t(43125),c=t(83818);function a(){var e=(0,i.sJ)(r.RI),n=(0,i.sJ)(r.g1).name,t=e.viewerCount,a=e.lastConnectTime,l=e.lastDisconnectTime,m=(0,i.sJ)(r.YW);return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(r.me,{}),(0,s.jsxs)("div",{className:"video-embed",children:[m&&(0,s.jsx)(c.M,{source:"/hls/stream.m3u8",online:m}),!m&&(0,s.jsx)(o.R,{title:n,text:"Stream is offline text goes here."})," ",(0,s.jsx)(u.X,{online:m,lastConnectTime:a,lastDisconnectTime:l,viewerCount:t})]})]})}}},function(e){e.O(0,[2544,5938,9372,1681,1899,2854,9774,2888,179],(function(){return n=61357,e(e.s=n);var n}));var n=e.O();_N_E=n}]);

View File

@@ -0,0 +1 @@
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3126],{61357:function(e,n,s){(window.__NEXT_P=window.__NEXT_P||[]).push(["/embed/video",function(){return s(95565)}])},95565:function(e,n,s){"use strict";s.r(n),s.d(n,{default:function(){return a}});var t=s(85893),i=(s(67294),s(4480)),o=s(1899),c=s(1698),r=s(43125),u=s(83818);function a(){var e=(0,i.sJ)(o.RI),n=(0,i.sJ)(o.g1),s=n.name,a=n.offlineMessage,l=e.viewerCount,m=e.lastConnectTime,f=e.lastDisconnectTime,d=(0,i.sJ)(o.YW);return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(o.me,{}),(0,t.jsxs)("div",{className:"video-embed",children:[d&&(0,t.jsx)(u.M,{source:"/hls/stream.m3u8",online:d}),!d&&(0,t.jsx)(c.R,{streamName:s,customText:a,notificationsEnabled:!1}),d&&(0,t.jsx)(r.X,{online:d,lastConnectTime:m,lastDisconnectTime:f,viewerCount:l})]})]})}}},function(e){e.O(0,[2544,9764,9372,2860,1899,2854,9774,2888,179],(function(){return n=61357,e(e.s=n);var n}));var n=e.O();_N_E=n}]);

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1 @@
.Modal_spinner__GiSS0{position:absolute;top:50%;left:50%}.Modal_content__h9my9{display:block;height:100%;padding:2vw;background-color:var(--theme-color-components-modal-content-background);color:var(--theme-color-components-modal-content-text)}.FollowModal_header__la1ji{font-family:var(--theme-text-display-font-family);font-size:.8rem}.FollowModal_buttons__tt4Mc{display:flex;justify-content:flex-end;margin-top:10px}.FollowModal_instructions__HiKFF{font-family:var(--theme-text-display-font-family);font-size:.7rem;font-weight:600}.FollowModal_footer__AjucH{font-size:.5rem}.FollowModal_account__cmHkm{display:flex;flex-direction:row;margin-top:5px;margin-bottom:10px;font-size:.8rem}.FollowModal_account__cmHkm .FollowModal_logo__Ew8xK{border-radius:50%;width:4em;height:4em}.FollowModal_account__cmHkm .FollowModal_username__A_OTw{display:flex;flex-direction:column;margin-left:10px;margin-top:5px}.FollowModal_account__cmHkm .FollowModal_username__A_OTw .FollowModal_name__Sf_TP{font-weight:600}.ActionButton_button__z5Z2c{margin:3px;font-weight:400;font-family:var(--theme-text-display-font-family)}.ActionButton_button__z5Z2c .ActionButton_icon__EPp7Q{width:20px;margin-right:3px}.OfflineBanner_outerContainer__3AbsB{display:flex;justify-content:center}.OfflineBanner_innerContainer__zTm13{width:clamp(0px,100%,600px);display:flex;flex-direction:column;color:var(--theme-color-components-text-on-light);background-color:var(--theme-color-background-main);margin:1rem auto;border-radius:var(--theme-rounded-corners);padding:1rem;font-size:1.2rem;border:1px solid #d3d3d3}.OfflineBanner_bodyText__nNNy0{line-height:1.5rem}.OfflineBanner_separator___j_Ss{margin-top:15px;margin-bottom:15px}.OfflineBanner_lastLiveDate___UZdO{margin-top:15px;font-size:1rem;opacity:.5}.OfflineBanner_lastLiveDate___UZdO .OfflineBanner_clockIcon__s0DB_{margin-right:5px}.OfflineBanner_header__Vu20o{font-weight:700}.OfflineBanner_footer__o3Zl5{margin-top:15px}.Statusbar_statusbar__AtVnB{display:flex;align-items:center;font-size:.8rem;justify-content:space-between;height:2rem;width:100%;padding:var(--content-padding);color:var(--theme-color-palette-5)}.VideoJS_player__GT8FN{height:auto!important;width:100%}.VideoJS_player__GT8FN video{position:static!important}.VideoJS_poster__nlmqm{width:100%;height:100%}@media(max-width:768px){.VideoJS_player__GT8FN{height:30vh!important}}.VideoPoster_poster__RDkSk{background-color:#000;display:flex;justify-content:center;width:100%;height:100%}

View File

@@ -1 +0,0 @@
.OfflineBanner_outerContainer__3AbsB{display:flex;justify-content:center}.OfflineBanner_innerContainer__zTm13{width:clamp(0px,100%,600px);display:flex;flex-direction:column;color:var(--theme-color-components-text-on-light);background-color:var(--theme-color-background-main);margin:1rem auto;border-radius:var(--theme-rounded-corners);padding:1rem;font-size:1.2rem}.OfflineBanner_header__Vu20o{font-weight:700}.OfflineBanner_footer__o3Zl5{margin-top:20px}.Statusbar_statusbar__AtVnB{display:flex;align-items:center;font-size:.8rem;justify-content:space-between;height:2rem;width:100%;padding:var(--content-padding);color:var(--theme-color-palette-5)}.VideoJS_player__GT8FN{height:auto!important;width:100%}.VideoJS_player__GT8FN video{position:static!important}.VideoJS_poster__nlmqm{width:100%;height:100%}@media(max-width:768px){.VideoJS_player__GT8FN{height:30vh!important}}.VideoPoster_poster__RDkSk{background-color:#000;display:flex;justify-content:center;width:100%;height:100%}

File diff suppressed because one or more lines are too long