Bundle embedded web app

This commit is contained in:
gabek
2022-08-16 02:47:50 +00:00
parent 7dc2a1a4bc
commit 6eb9c54b37
202 changed files with 160 additions and 115 deletions

View File

@@ -0,0 +1 @@
self.__BUILD_MANIFEST=function(a,s,c,e,i,t,n,d,f,o,h,m,b,u,r,g,k,j,p,l){return{__rewrites:{beforeFiles:[],afterFiles:[{source:"/api/:path*"},{source:"/hls/:path*"},{source:"/img/:path*"},{source:"/logo"},{source:"/thumbnail.jpg"}],fallback:[]},"/":[h,"static/chunks/d3048c20-8eaf58bdb6ce3d73.js",a,e,i,m,b,u,"static/chunks/3079-b927be19d77a268e.js",r,"static/css/4c06ee5b22e75406.css","static/chunks/pages/index-8b6e4a6eca5c5c55.js"],"/_error":["static/chunks/pages/_error-f2496e8b9fdedb89.js"],"/admin":[a,s,c,e,i,t,n,g,"static/chunks/3016-22415cbfddc0e38b.js","static/chunks/pages/admin-ddc16abe2a2d997e.js"],"/admin/access-tokens":[a,s,c,"static/chunks/pages/admin/access-tokens-ef4cfda69ac8b2ee.js"],"/admin/actions":[a,s,"static/chunks/pages/admin/actions-7c5a6b0030e5ec6a.js"],"/admin/chat/messages":[k,a,s,c,i,j,"static/chunks/pages/admin/chat/messages-af084d68aaf69be4.js"],"/admin/chat/users":[k,a,s,c,e,i,j,"static/chunks/pages/admin/chat/users-f8d438b5aecb5292.js"],"/admin/config-chat":["static/chunks/pages/admin/config-chat-d027691622271c60.js"],"/admin/config-federation":["static/chunks/1829-271cba4b38fde9a4.js","static/chunks/pages/admin/config-federation-a75cf82c23e440d0.js"],"/admin/config-notify":["static/chunks/pages/admin/config-notify-48561d4d85f054db.js"],"/admin/config-public-details":[a,s,d,"static/css/1f5ee95fffd43a71.css","static/chunks/1142-ff0807f5dbadb132.js",p,"static/chunks/pages/admin/config-public-details-31654d489de58274.js"],"/admin/config-server-details":[l,"static/chunks/pages/admin/config-server-details-cfddd10d6e1a3881.js"],"/admin/config-social-items":[a,s,p,"static/chunks/pages/admin/config-social-items-9d7af265ea826f51.js"],"/admin/config-storage":["static/chunks/5473-185a5241676edf4a.js","static/chunks/pages/admin/config-storage-5b012c0b86cb053f.js"],"/admin/config-video":[a,s,l,"static/chunks/7565-1f1e940fab986d84.js","static/chunks/pages/admin/config-video-9e7427da1bf9e1a6.js"],"/admin/federation/actions":[a,s,c,"static/chunks/pages/admin/federation/actions-d475626c90492b9e.js"],"/admin/federation/followers":[a,s,c,e,"static/chunks/pages/admin/federation/followers-0f7f41f2b119c84d.js"],"/admin/hardware-info":[f,c,e,t,n,o,d,"static/chunks/pages/admin/hardware-info-e9038d50e44de278.js"],"/admin/help":[e,t,u,"static/chunks/5046-d432b07dbd9a0a74.js","static/chunks/pages/admin/help-46a096bbce5abafb.js"],"/admin/logs":[a,s,c,g,"static/chunks/pages/admin/logs-55d44b7f56d109e1.js"],"/admin/stream-health":[f,c,e,t,n,o,"static/chunks/pages/admin/stream-health-2c95e7cbb460391e.js"],"/admin/upgrade":[a,s,"static/chunks/9001-0de9b937fdbe661d.js","static/chunks/pages/admin/upgrade-27c19ef345f1a067.js"],"/admin/viewer-info":[f,a,s,c,e,i,t,n,o,d,"static/chunks/pages/admin/viewer-info-dd75479a4f6858b9.js"],"/admin/webhooks":[a,s,"static/chunks/pages/admin/webhooks-9d91ad0a0ec2bb50.js"],"/embed/chat/readonly":["static/chunks/pages/embed/chat/readonly-f54fb5897d32adcf.js"],"/embed/chat/readwrite":["static/chunks/pages/embed/chat/readwrite-eba1c9e46b587c63.js"],"/embed/video":[h,i,m,b,r,"static/css/f58d98f52dc8743c.css","static/chunks/pages/embed/video-7bc6ce2f7f099935.js"],sortedPages:["/","/_app","/_error","/admin","/admin/access-tokens","/admin/actions","/admin/chat/messages","/admin/chat/users","/admin/config-chat","/admin/config-federation","/admin/config-notify","/admin/config-public-details","/admin/config-server-details","/admin/config-social-items","/admin/config-storage","/admin/config-video","/admin/federation/actions","/admin/federation/followers","/admin/hardware-info","/admin/help","/admin/logs","/admin/stream-health","/admin/upgrade","/admin/viewer-info","/admin/webhooks","/embed/chat/readonly","/embed/chat/readwrite","/embed/video"]}}("static/chunks/384-9cef8f24921b00dc.js","static/chunks/355-501bf54a6213cc0c.js","static/chunks/8091-5880357d1811013a.js","static/chunks/7961-c8ab0146e31ca9c6.js","static/chunks/5938-b8bf626b6df6d168.js","static/chunks/5315-8b4116e0e1118ee9.js","static/chunks/4763-b88542f3b2d350b7.js","static/chunks/7910-7248e2d1496cf795.js","static/chunks/3fff1979-612c6162f1b345ff.js","static/chunks/2139-c72b3a851c3b6fc9.js","static/chunks/d6e1aeb5-1e3969b413cccadf.js","static/css/e70d97a4c102bec4.css","static/chunks/2001-5f2f22a1a6f54f40.js","static/chunks/1082-b00b8f63f0314247.js","static/chunks/4935-053b4824ae67bc45.js","static/chunks/2429-cd1a27121f8cb4b6.js","static/chunks/29107295-4a69275373f23f88.js","static/chunks/7464-bbe0a7b2b04a78ae.js","static/chunks/1017-c26780a26480b2de.js","static/chunks/3286-6a58a49757a74053.js"),self.__BUILD_MANIFEST_CB&&self.__BUILD_MANIFEST_CB();

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

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

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

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 @@
"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)}}}]);

View File

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

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

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

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 @@
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4820],{14977:function(n,_,u){(window.__NEXT_P=window.__NEXT_P||[]).push(["/_error",function(){return u(97345)}])}},function(n){n.O(0,[9774,2888,179],(function(){return _=14977,n(n.s=_);var _}));var _=n.O();_N_E=_}]);

View File

@@ -0,0 +1 @@
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4820],{81981:function(n,_,u){(window.__NEXT_P=window.__NEXT_P||[]).push(["/_error",function(){return u(89185)}])}},function(n){n.O(0,[9774,2888,179],(function(){return _=81981,n(n.s=_);var _}));var _=n.O();_N_E=_}]);

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

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 +1 @@
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[30],{48689:function(e,n,t){"use strict";t.d(n,{Z:function(){return u}});var c=t(1413),i=t(67294),r={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M360 184h-8c4.4 0 8-3.6 8-8v8h304v-8c0 4.4 3.6 8 8 8h-8v72h72v-80c0-35.3-28.7-64-64-64H352c-35.3 0-64 28.7-64 64v80h72v-72zm504 72H160c-17.7 0-32 14.3-32 32v32c0 4.4 3.6 8 8 8h60.4l24.7 523c1.6 34.1 29.8 61 63.9 61h454c34.2 0 62.3-26.8 63.9-61l24.7-523H888c4.4 0 8-3.6 8-8v-32c0-17.7-14.3-32-32-32zM731.3 840H292.7l-24.2-512h487l-24.2 512z"}}]},name:"delete",theme:"outlined"},a=t(42922),s=function(e,n){return i.createElement(a.Z,(0,c.Z)((0,c.Z)({},e),{},{ref:n,icon:r}))};s.displayName="DeleteOutlined";var u=i.forwardRef(s)},90310:function(e,n,t){(window.__NEXT_P=window.__NEXT_P||[]).push(["/admin/config-social-items",function(){return t(87945)}])},87945:function(e,n,t){"use strict";t.r(n),t.d(n,{default:function(){return s}});var c=t(85893),i=(t(67294),t(84916)),r=t(23808),a=i.Z.Title;function s(){return(0,c.jsxs)("div",{className:"config-social-items",children:[(0,c.jsx)(a,{children:"Social Items"}),(0,c.jsx)(r.Z,{})]})}}},function(e){e.O(0,[3698,1213,3808,9774,2888,179],(function(){return n=90310,e(e.s=n);var n}));var n=e.O();_N_E=n}]);
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[30],{48689:function(e,n,t){"use strict";t.d(n,{Z:function(){return u}});var c=t(1413),i=t(67294),r={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M360 184h-8c4.4 0 8-3.6 8-8v8h304v-8c0 4.4 3.6 8 8 8h-8v72h72v-80c0-35.3-28.7-64-64-64H352c-35.3 0-64 28.7-64 64v80h72v-72zm504 72H160c-17.7 0-32 14.3-32 32v32c0 4.4 3.6 8 8 8h60.4l24.7 523c1.6 34.1 29.8 61 63.9 61h454c34.2 0 62.3-26.8 63.9-61l24.7-523H888c4.4 0 8-3.6 8-8v-32c0-17.7-14.3-32-32-32zM731.3 840H292.7l-24.2-512h487l-24.2 512z"}}]},name:"delete",theme:"outlined"},a=t(42135),s=function(e,n){return i.createElement(a.Z,(0,c.Z)((0,c.Z)({},e),{},{ref:n,icon:r}))};s.displayName="DeleteOutlined";var u=i.forwardRef(s)},81009:function(e,n,t){(window.__NEXT_P=window.__NEXT_P||[]).push(["/admin/config-social-items",function(){return t(97063)}])},97063:function(e,n,t){"use strict";t.r(n),t.d(n,{default:function(){return s}});var c=t(85893),i=(t(67294),t(84485)),r=t(91017),a=i.Z.Title;function s(){return(0,c.jsxs)("div",{className:"config-social-items",children:[(0,c.jsx)(a,{children:"Social Items"}),(0,c.jsx)(r.Z,{})]})}}},function(e){e.O(0,[384,355,1017,9774,2888,179],(function(){return n=81009,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

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([[4976],{85636:function(e,t,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/admin/federation/actions",function(){return n(86419)}])},86419:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return v}});var r=n(34051),i=n.n(r),a=n(85893),o=n(67294),s=n(84916),c=n(21213),u=n(98147),l=n(64777),f=n(70241);function d(e,t,n,r,i,a,o){try{var s=e[a](o),c=s.value}catch(u){return void n(u)}s.done?t(c):Promise.resolve(c).then(r,i)}var h=s.Z.Title,p=s.Z.Paragraph;function v(){var e=(0,o.useState)([]),t=e[0],n=e[1],r=(0,o.useState)(0),s=r[0],v=r[1],E=(0,o.useState)(0),w=E[0],m=E[1],_=function(){var e,t=(e=i().mark((function e(){var t,r,a,o,s;return i().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,t=50*w,r="".concat(l.op,"?offset=").concat(t,"&limit=").concat(50),e.next=6,(0,l.rQ)(r,{auth:!0});case 6:a=e.sent,o=a.results,s=a.total,v(s),(0,f.Qr)(o)?n([]):n(o),e.next=15;break;case 12:e.prev=12,e.t0=e.catch(0),console.log("==== error",e.t0);case 15:case"end":return e.stop()}}),e,null,[[0,12]])})),function(){var t=this,n=arguments;return new Promise((function(r,i){var a=e.apply(t,n);function o(e){d(a,r,i,o,s,"next",e)}function s(e){d(a,r,i,o,s,"throw",e)}o(void 0)}))});return function(){return t.apply(this,arguments)}}();(0,o.useEffect)((function(){_()}),[w]);var g,x,y=[{title:"Action",dataIndex:"type",key:"type",width:50,render:function(e,t){var n,r;switch(t.type){case"FEDIVERSE_ENGAGEMENT_REPOST":n="/img/repost.svg",r="Share";break;case"FEDIVERSE_ENGAGEMENT_LIKE":n="/img/like.svg",r="Like";break;case"FEDIVERSE_ENGAGEMENT_FOLLOW":n="/img/follow.svg",r="Follow";break;default:n=""}return(0,a.jsxs)("div",{style:{width:"100%",height:"100%",display:"flex",alignItems:"center",justifyContent:"center",flexDirection:"column"},children:[(0,a.jsx)("img",{src:n,width:"70%",alt:r,title:r}),(0,a.jsx)("div",{style:{fontSize:"0.7rem"},children:r})]})}},{title:"From",dataIndex:"actorIRI",key:"from",render:function(e,t){return(0,a.jsx)("a",{href:t.actorIRI,children:t.actorIRI})}},{title:"When",dataIndex:"timestamp",key:"timestamp",render:function(e,t){var n=new Date(t.timestamp);return(0,u.Z)(n,"P pp")}}];return(0,a.jsxs)("div",{children:[(0,a.jsx)(h,{level:3,children:"Fediverse Actions"}),(0,a.jsx)(p,{children:"Below is a list of actions that were taken by others in response to your posts as well as people who requested to follow you."}),(g=t,x=y,(0,a.jsx)(c.Z,{dataSource:g,columns:x,size:"small",rowKey:function(e){return e.iri},pagination:{pageSize:50,hideOnSinglePage:!0,showSizeChanger:!1,total:s},onChange:function(e){var t=e.current;m(t)}}))]})}}},function(e){e.O(0,[3698,1213,8147,9774,2888,179],(function(){return t=85636,e(e.s=t);var t}));var t=e.O();_N_E=t}]);

View File

@@ -0,0 +1 @@
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4976],{10203:function(e,t,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/admin/federation/actions",function(){return n(13268)}])},13268:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return E}});var r=n(47568),a=n(34051),i=n.n(a),o=n(85893),s=n(67294),c=n(84485),u=n(10355),l=n(58091),f=n(58827),d=n(2766),h=c.Z.Title,p=c.Z.Paragraph;function E(){var e=(0,s.useState)([]),t=e[0],n=e[1],a=(0,s.useState)(0),c=a[0],E=a[1],w=(0,s.useState)(0),v=w[0],m=w[1],_=function(){var e=(0,r.Z)(i().mark((function e(){var t,r,a,o,s;return i().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,50,t=50*v,r="".concat(f.op,"?offset=").concat(t,"&limit=").concat(50),e.next=6,(0,f.rQ)(r,{auth:!0});case 6:a=e.sent,o=a.results,s=a.total,E(s),(0,d.Qr)(o)?n([]):n(o),e.next=15;break;case 12:e.prev=12,e.t0=e.catch(0),console.log("==== error",e.t0);case 15:case"end":return e.stop()}}),e,null,[[0,12]])})));return function(){return e.apply(this,arguments)}}();(0,s.useEffect)((function(){_()}),[v]);var g,x,k=[{title:"Action",dataIndex:"type",key:"type",width:50,render:function(e,t){var n,r;switch(t.type){case"FEDIVERSE_ENGAGEMENT_REPOST":n="/img/repost.svg",r="Share";break;case"FEDIVERSE_ENGAGEMENT_LIKE":n="/img/like.svg",r="Like";break;case"FEDIVERSE_ENGAGEMENT_FOLLOW":n="/img/follow.svg",r="Follow";break;default:n=""}return(0,o.jsxs)("div",{style:{width:"100%",height:"100%",display:"flex",alignItems:"center",justifyContent:"center",flexDirection:"column"},children:[(0,o.jsx)("img",{src:n,width:"70%",alt:r,title:r}),(0,o.jsx)("div",{style:{fontSize:"0.7rem"},children:r})]})}},{title:"From",dataIndex:"actorIRI",key:"from",render:function(e,t){return(0,o.jsx)("a",{href:t.actorIRI,children:t.actorIRI})}},{title:"When",dataIndex:"timestamp",key:"timestamp",render:function(e,t){var n=new Date(t.timestamp);return(0,l.Z)(n,"P pp")}}];return(0,o.jsxs)("div",{children:[(0,o.jsx)(h,{level:3,children:"Fediverse Actions"}),(0,o.jsx)(p,{children:"Below is a list of actions that were taken by others in response to your posts as well as people who requested to follow you."}),(g=t,x=k,(0,o.jsx)(u.Z,{dataSource:g,columns:x,size:"small",rowKey:function(e){return e.iri},pagination:{pageSize:50,hideOnSinglePage:!0,showSizeChanger:!1,total:c},onChange:function(e){var t=e.current;m(t)}}))]})}}},function(e){e.O(0,[384,355,8091,9774,2888,179],(function(){return t=10203,e(e.s=t);var t}));var t=e.O();_N_E=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

View File

@@ -1 +1 @@
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[490],{46047:function(e,n,t){(window.__NEXT_P=window.__NEXT_P||[]).push(["/admin/help",function(){return t(44130)}])},44130:function(e,n,t){"use strict";t.r(n),t.d(n,{default:function(){return y}});var r=t(85893),o=t(25968),s=t(6226),i=t(33859),l=t(71577),a=t(27049),c=t(97751),d=t(89281),h=t(11700),x=t(90543),u=t(29158),j=t(38958),p=t(17502),f=t(65987),g=t(99767),w=t(30925),Z=t(80869),m=t(43439),b=t(99906);t(67294);function y(){var e=[{icon:(0,r.jsx)(x.Z,{style:{fontSize:"24px"}}),title:"I want to configure my owncast instance",content:(0,r.jsx)("div",{children:(0,r.jsxs)("a",{href:"https://owncast.online/docs/configuration/?source=admin",target:"_blank",rel:"noopener noreferrer",children:[(0,r.jsx)(u.Z,{})," Learn more"]})})},{icon:(0,r.jsx)(j.Z,{style:{fontSize:"24px"}}),title:"Help configuring my broadcasting software",content:(0,r.jsx)("div",{children:(0,r.jsxs)("a",{href:"https://owncast.online/docs/broadcasting/?source=admin",target:"_blank",rel:"noopener noreferrer",children:[(0,r.jsx)(u.Z,{})," Learn more"]})})},{icon:(0,r.jsx)(p.Z,{style:{fontSize:"24px"}}),title:"I want to embed my stream into another site",content:(0,r.jsx)("div",{children:(0,r.jsxs)("a",{href:"https://owncast.online/docs/embed/?source=admin",target:"_blank",rel:"noopener noreferrer",children:[(0,r.jsx)(u.Z,{})," Learn more"]})})},{icon:(0,r.jsx)(f.Z,{style:{fontSize:"24px"}}),title:"I want to customize my website",content:(0,r.jsx)("div",{children:(0,r.jsxs)("a",{href:"https://owncast.online/docs/website/?source=admin",target:"_blank",rel:"noopener noreferrer",children:[(0,r.jsx)(u.Z,{})," Learn more"]})})},{icon:(0,r.jsx)(g.Z,{style:{fontSize:"24px"}}),title:"I want to tweak my video output",content:(0,r.jsx)("div",{children:(0,r.jsxs)("a",{href:"https://owncast.online/docs/encoding/?source=admin",target:"_blank",rel:"noopener noreferrer",children:[(0,r.jsx)(u.Z,{})," Learn more"]})})},{icon:(0,r.jsx)(w.Z,{style:{fontSize:"24px"}}),title:"I want to use an external storage provider",content:(0,r.jsx)("div",{children:(0,r.jsxs)("a",{href:"https://owncast.online/docs/storage/?source=admin",target:"_blank",rel:"noopener noreferrer",children:[(0,r.jsx)(u.Z,{})," Learn more"]})})}],n=[{icon:(0,r.jsx)(Z.Z,{style:{fontSize:"24px"}}),title:"I found a bug",content:(0,r.jsxs)("div",{children:["If you found a bug, then please",(0,r.jsxs)("a",{href:"https://github.com/owncast/owncast/issues/new/choose",target:"_blank",rel:"noopener noreferrer",children:[" ","let us know"]})]})},{icon:(0,r.jsx)(m.Z,{style:{fontSize:"24px"}}),title:"I have a general question",content:(0,r.jsxs)("div",{children:["Most general questions are answered in our",(0,r.jsxs)("a",{href:"https://owncast.online/docs/faq/?source=admin",target:"_blank",rel:"noopener noreferrer",children:[" ","FAQ"]})," ","or exist in our"," ",(0,r.jsx)("a",{href:"https://github.com/owncast/owncast/discussions",target:"_blank",rel:"noopener noreferrer",children:"discussions"})]})},{icon:(0,r.jsx)(b.Z,{style:{fontSize:"24px"}}),title:"I want to build add-ons for Owncast",content:(0,r.jsxs)("div",{children:["You can build your own bots, overlays, tools and add-ons with our",(0,r.jsx)("a",{href:"https://owncast.online/thirdparty?source=admin",target:"_blank",rel:"noopener noreferrer",children:"\xa0developer APIs.\xa0"})]})}];return(0,r.jsxs)("div",{className:"help-page",children:[(0,r.jsx)(h.Z,{style:{textAlign:"center"},children:"How can we help you?"}),(0,r.jsxs)(o.Z,{gutter:[16,16],justify:"space-around",align:"middle",children:[(0,r.jsxs)(s.Z,{xs:24,lg:12,style:{textAlign:"center"},children:[(0,r.jsx)(i.ZP,{status:"500"}),(0,r.jsx)(h.Z,{level:2,children:"Troubleshooting"}),(0,r.jsx)(l.Z,{target:"_blank",rel:"noopener noreferrer",href:"https://owncast.online/docs/troubleshooting/?source=admin",icon:(0,r.jsx)(u.Z,{}),type:"primary",children:"Fix your problems"})]}),(0,r.jsxs)(s.Z,{xs:24,lg:12,style:{textAlign:"center"},children:[(0,r.jsx)(i.ZP,{status:"404"}),(0,r.jsx)(h.Z,{level:2,children:"Documentation"}),(0,r.jsx)(l.Z,{target:"_blank",rel:"noopener noreferrer",href:"https://owncast.online/docs?source=admin",icon:(0,r.jsx)(u.Z,{}),type:"primary",children:"Read the Docs"})]})]}),(0,r.jsx)(a.Z,{}),(0,r.jsx)(h.Z,{level:2,children:"Common tasks"}),(0,r.jsx)(o.Z,{gutter:[16,16],children:e.map((function(e){return(0,r.jsx)(s.Z,{xs:24,lg:12,children:(0,r.jsx)(c.Z,{children:(0,r.jsx)(d.Z,{avatar:e.icon,title:e.title,description:e.content})})},e.title)}))}),(0,r.jsx)(a.Z,{}),(0,r.jsx)(h.Z,{level:2,children:"Other"}),(0,r.jsx)(o.Z,{gutter:[16,16],children:n.map((function(e){return(0,r.jsx)(s.Z,{xs:24,lg:12,children:(0,r.jsx)(c.Z,{children:(0,r.jsx)(d.Z,{avatar:e.icon,title:e.title,description:e.content})})},e.title)}))})]})}}},function(e){e.O(0,[7961,7751,8837,5046,9774,2888,179],(function(){return n=46047,e(e.s=n);var n}));var n=e.O();_N_E=n}]);
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[490],{54779:function(e,n,t){(window.__NEXT_P=window.__NEXT_P||[]).push(["/admin/help",function(){return t(49202)}])},49202:function(e,n,t){"use strict";t.r(n),t.d(n,{default:function(){return y}});var r=t(85893),o=t(25968),s=t(6226),i=t(33859),l=t(71577),a=t(27049),c=t(59652),d=t(89281),h=t(11700),x=t(90543),u=t(29158),j=t(38958),p=t(17502),f=t(65987),g=t(99767),w=t(30925),Z=t(80869),m=t(43439),b=t(99906);t(67294);function y(){var e=[{icon:(0,r.jsx)(x.Z,{style:{fontSize:"24px"}}),title:"I want to configure my owncast instance",content:(0,r.jsx)("div",{children:(0,r.jsxs)("a",{href:"https://owncast.online/docs/configuration/?source=admin",target:"_blank",rel:"noopener noreferrer",children:[(0,r.jsx)(u.Z,{})," Learn more"]})})},{icon:(0,r.jsx)(j.Z,{style:{fontSize:"24px"}}),title:"Help configuring my broadcasting software",content:(0,r.jsx)("div",{children:(0,r.jsxs)("a",{href:"https://owncast.online/docs/broadcasting/?source=admin",target:"_blank",rel:"noopener noreferrer",children:[(0,r.jsx)(u.Z,{})," Learn more"]})})},{icon:(0,r.jsx)(p.Z,{style:{fontSize:"24px"}}),title:"I want to embed my stream into another site",content:(0,r.jsx)("div",{children:(0,r.jsxs)("a",{href:"https://owncast.online/docs/embed/?source=admin",target:"_blank",rel:"noopener noreferrer",children:[(0,r.jsx)(u.Z,{})," Learn more"]})})},{icon:(0,r.jsx)(f.Z,{style:{fontSize:"24px"}}),title:"I want to customize my website",content:(0,r.jsx)("div",{children:(0,r.jsxs)("a",{href:"https://owncast.online/docs/website/?source=admin",target:"_blank",rel:"noopener noreferrer",children:[(0,r.jsx)(u.Z,{})," Learn more"]})})},{icon:(0,r.jsx)(g.Z,{style:{fontSize:"24px"}}),title:"I want to tweak my video output",content:(0,r.jsx)("div",{children:(0,r.jsxs)("a",{href:"https://owncast.online/docs/encoding/?source=admin",target:"_blank",rel:"noopener noreferrer",children:[(0,r.jsx)(u.Z,{})," Learn more"]})})},{icon:(0,r.jsx)(w.Z,{style:{fontSize:"24px"}}),title:"I want to use an external storage provider",content:(0,r.jsx)("div",{children:(0,r.jsxs)("a",{href:"https://owncast.online/docs/storage/?source=admin",target:"_blank",rel:"noopener noreferrer",children:[(0,r.jsx)(u.Z,{})," Learn more"]})})}],n=[{icon:(0,r.jsx)(Z.Z,{style:{fontSize:"24px"}}),title:"I found a bug",content:(0,r.jsxs)("div",{children:["If you found a bug, then please",(0,r.jsxs)("a",{href:"https://github.com/owncast/owncast/issues/new/choose",target:"_blank",rel:"noopener noreferrer",children:[" ","let us know"]})]})},{icon:(0,r.jsx)(m.Z,{style:{fontSize:"24px"}}),title:"I have a general question",content:(0,r.jsxs)("div",{children:["Most general questions are answered in our",(0,r.jsxs)("a",{href:"https://owncast.online/docs/faq/?source=admin",target:"_blank",rel:"noopener noreferrer",children:[" ","FAQ"]})," ","or exist in our"," ",(0,r.jsx)("a",{href:"https://github.com/owncast/owncast/discussions",target:"_blank",rel:"noopener noreferrer",children:"discussions"})]})},{icon:(0,r.jsx)(b.Z,{style:{fontSize:"24px"}}),title:"I want to build add-ons for Owncast",content:(0,r.jsxs)("div",{children:["You can build your own bots, overlays, tools and add-ons with our",(0,r.jsx)("a",{href:"https://owncast.online/thirdparty?source=admin",target:"_blank",rel:"noopener noreferrer",children:"\xa0developer APIs.\xa0"})]})}];return(0,r.jsxs)("div",{className:"help-page",children:[(0,r.jsx)(h.Z,{style:{textAlign:"center"},children:"How can we help you?"}),(0,r.jsxs)(o.Z,{gutter:[16,16],justify:"space-around",align:"middle",children:[(0,r.jsxs)(s.Z,{xs:24,lg:12,style:{textAlign:"center"},children:[(0,r.jsx)(i.ZP,{status:"500"}),(0,r.jsx)(h.Z,{level:2,children:"Troubleshooting"}),(0,r.jsx)(l.Z,{target:"_blank",rel:"noopener noreferrer",href:"https://owncast.online/docs/troubleshooting/?source=admin",icon:(0,r.jsx)(u.Z,{}),type:"primary",children:"Fix your problems"})]}),(0,r.jsxs)(s.Z,{xs:24,lg:12,style:{textAlign:"center"},children:[(0,r.jsx)(i.ZP,{status:"404"}),(0,r.jsx)(h.Z,{level:2,children:"Documentation"}),(0,r.jsx)(l.Z,{target:"_blank",rel:"noopener noreferrer",href:"https://owncast.online/docs?source=admin",icon:(0,r.jsx)(u.Z,{}),type:"primary",children:"Read the Docs"})]})]}),(0,r.jsx)(a.Z,{}),(0,r.jsx)(h.Z,{level:2,children:"Common tasks"}),(0,r.jsx)(o.Z,{gutter:[16,16],children:e.map((function(e){return(0,r.jsx)(s.Z,{xs:24,lg:12,children:(0,r.jsx)(c.Z,{children:(0,r.jsx)(d.Z,{avatar:e.icon,title:e.title,description:e.content})})},e.title)}))}),(0,r.jsx)(a.Z,{}),(0,r.jsx)(h.Z,{level:2,children:"Other"}),(0,r.jsx)(o.Z,{gutter:[16,16],children:n.map((function(e){return(0,r.jsx)(s.Z,{xs:24,lg:12,children:(0,r.jsx)(c.Z,{children:(0,r.jsx)(d.Z,{avatar:e.icon,title:e.title,description:e.content})})},e.title)}))})]})}}},function(e){e.O(0,[7961,5315,1082,5046,9774,2888,179],(function(){return n=54779,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([[1774],{23426:function(e,n,r){(window.__NEXT_P=window.__NEXT_P||[]).push(["/admin/logs",function(){return r(65502)}])},824:function(e,n,r){"use strict";r.d(n,{Z:function(){return f}});var t=r(85893),i=(r(67294),r(84485)),a=r(20550),u=r(10355),o=r(53731),s=r(58091),c=i.Z.Title;function l(e,n){var r="black";return"warning"===n.level?r="orange":"error"===n.level&&(r="red"),(0,t.jsx)(a.Z,{color:r,children:e})}function d(e){return(0,t.jsx)(o.Z,{children:e})}function f(e){var n=e.logs,r=e.pageSize;if(!(null===n||void 0===n?void 0:n.length))return null;var i=[{title:"Level",dataIndex:"level",key:"level",filters:[{text:"Info",value:"info"},{text:"Warning",value:"warning"},{text:"Error",value:"Error"}],onFilter:function(e,n){return 0===n.level.indexOf(e)},render:l},{title:"Timestamp",dataIndex:"time",key:"time",render:function(e){var n=new Date(e);return(0,s.Z)(n,"pp P")},sorter:function(e,n){return new Date(e.time).getTime()-new Date(n.time).getTime()},sortDirections:["descend","ascend"],defaultSortOrder:"descend"},{title:"Message",dataIndex:"message",key:"message",render:d}];return(0,t.jsxs)("div",{className:"logs-section",children:[(0,t.jsx)(c,{children:"Logs"}),(0,t.jsx)(u.Z,{size:"middle",dataSource:n,columns:i,rowKey:function(e){return e.time},pagination:{pageSize:r||20}})]})}},65502:function(e,n,r){"use strict";r.r(n),r.d(n,{default:function(){return l}});var t=r(47568),i=r(34051),a=r.n(i),u=r(85893),o=r(67294),s=r(824),c=r(58827);function l(){var e=(0,o.useState)([]),n=e[0],r=e[1],i=function(){var e=(0,t.Z)(a().mark((function e(){var n;return a().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,(0,c.rQ)(c.sG);case 3:n=e.sent,r(n),e.next=10;break;case 7:e.prev=7,e.t0=e.catch(0),console.log("==== error",e.t0);case 10:case"end":return e.stop()}}),e,null,[[0,7]])})));return function(){return e.apply(this,arguments)}}();return(0,o.useEffect)((function(){var e;return setInterval(i,5e3),i(),e=setInterval(i,5e3),function(){clearInterval(e)}}),[]),(0,u.jsx)(s.Z,{logs:n,pageSize:20})}}},function(e){e.O(0,[384,355,8091,2429,9774,2888,179],(function(){return n=23426,e(e.s=n);var n}));var n=e.O();_N_E=n}]);

Some files were not shown because too many files have changed in this diff Show More