Update admin to 8279a11f5152836ac9cd0465947f0f7bb6a43544
This commit is contained in:
parent
ae49e38eb9
commit
72cc0206a4
2
static/admin/404/index.html
vendored
2
static/admin/404/index.html
vendored
File diff suppressed because one or more lines are too long
@ -0,0 +1 @@
|
||||
self.__BUILD_MANIFEST=function(s,c,e,a,t,i,n,f,d,h,o,b,g,u){return{__rewrites:{beforeFiles:[],afterFiles:[],fallback:[]},"/":[s,e,a,t,i,f,"static/chunks/59-da212da3479fcc5e.js","static/chunks/pages/index-10f185454778e1fb.js"],"/_error":["static/chunks/pages/_error-a3f18418a2205cb8.js"],"/access-tokens":[s,c,e,"static/chunks/pages/access-tokens-3ea0a22e875bbbcb.js"],"/actions":[s,c,"static/chunks/pages/actions-eb473bc7d16542fa.js"],"/chat/messages":[d,s,c,e,i,h,"static/chunks/pages/chat/messages-2e6ee1bdd5d12c48.js"],"/chat/users":[d,s,c,e,i,h,"static/chunks/pages/chat/users-ebd305d69c4c0b31.js"],"/config-chat":["static/chunks/pages/config-chat-aef5c003cd4a1f0c.js"],"/config-public-details":[s,c,n,"static/css/325160c29fde2de0.css","static/chunks/142-428a66fa3368b6f8.js",o,"static/chunks/pages/config-public-details-4627cca563960e1d.js"],"/config-server-details":[b,"static/chunks/pages/config-server-details-672d797ef09fd9a3.js"],"/config-social-items":[s,c,o,"static/chunks/pages/config-social-items-9aef6dc9dea4f124.js"],"/config-storage":["static/chunks/473-075b4496c35e1e97.js","static/chunks/pages/config-storage-c549a91ee5ac9e89.js"],"/config-video":[s,c,b,"static/chunks/556-07bc7b53ece182fa.js","static/chunks/pages/config-video-6017eac034d09f23.js"],"/hardware-info":[g,e,a,t,n,u,"static/chunks/pages/hardware-info-92d227d72f339cab.js"],"/help":[a,"static/chunks/132-2ea3ee091068ce0b.js","static/chunks/pages/help-38a04438279b0440.js"],"/logs":[s,e,f,"static/chunks/pages/logs-7c77b682042bdf62.js"],"/upgrade":[s,"static/chunks/357-b33aaf36873656ac.js","static/chunks/pages/upgrade-9eef6c1970030423.js"],"/viewer-info":[g,e,a,t,n,u,"static/chunks/pages/viewer-info-4aa7446e34f23fca.js"],"/webhooks":[s,c,"static/chunks/pages/webhooks-514a1f385965564b.js"],sortedPages:["/","/_app","/_error","/access-tokens","/actions","/chat/messages","/chat/users","/config-chat","/config-public-details","/config-server-details","/config-social-items","/config-storage","/config-video","/hardware-info","/help","/logs","/upgrade","/viewer-info","/webhooks"]}}("static/chunks/206-7944cda3fa249468.js","static/chunks/697-d8f51bf274f309e1.js","static/chunks/91-84434c9e4b8fc58f.js","static/chunks/274-40e17359826979be.js","static/chunks/763-f08c00455c707280.js","static/chunks/533-2f63c37b8986cca1.js","static/chunks/8-0ca6e225838aa5dc.js","static/chunks/429-613793ce22468b22.js","static/chunks/29107295-2c3ce868677a27a4.js","static/chunks/371-0360a405fd14dc70.js","static/chunks/17-4c9f9f1a0038b65d.js","static/chunks/578-c6676383a8e008eb.js","static/chunks/36bcf0ca-f48a13ba32e9b52e.js","static/chunks/958-b630d89bec73c792.js"),self.__BUILD_MANIFEST_CB&&self.__BUILD_MANIFEST_CB();
|
@ -1 +0,0 @@
|
||||
self.__BUILD_MANIFEST=function(s,c,e,a,t,i,n,f,d,h,o,b,g,u){return{__rewrites:{beforeFiles:[],afterFiles:[],fallback:[]},"/":[s,e,a,t,i,f,"static/chunks/59-da212da3479fcc5e.js","static/chunks/pages/index-b6825d050b90fbbb.js"],"/_error":["static/chunks/pages/_error-a3f18418a2205cb8.js"],"/access-tokens":[s,c,e,"static/chunks/pages/access-tokens-92de6fb33bdfea96.js"],"/actions":[s,c,"static/chunks/pages/actions-3b789faaf393dffa.js"],"/chat/messages":[d,s,c,e,i,h,"static/chunks/pages/chat/messages-e6961fba76ef4829.js"],"/chat/users":[d,s,c,e,i,h,"static/chunks/pages/chat/users-c76a694fe62c6a73.js"],"/config-chat":["static/chunks/pages/config-chat-e8b1a7dd790e5a8d.js"],"/config-public-details":[s,c,n,"static/css/325160c29fde2de0.css","static/chunks/142-428a66fa3368b6f8.js",o,"static/chunks/pages/config-public-details-eeb7d80c5f69e20e.js"],"/config-server-details":[b,"static/chunks/pages/config-server-details-914c078432cbb9f1.js"],"/config-social-items":[s,c,o,"static/chunks/pages/config-social-items-9aef6dc9dea4f124.js"],"/config-storage":["static/chunks/473-075b4496c35e1e97.js","static/chunks/pages/config-storage-c94f81b19aab8a8c.js"],"/config-video":[s,c,b,"static/chunks/556-07bc7b53ece182fa.js","static/chunks/pages/config-video-a07db841bb87463a.js"],"/hardware-info":[g,e,a,t,n,u,"static/chunks/pages/hardware-info-0f1386b3bc31e012.js"],"/help":[a,"static/chunks/132-2ea3ee091068ce0b.js","static/chunks/pages/help-38a04438279b0440.js"],"/logs":[s,e,f,"static/chunks/pages/logs-41018e1911f0e447.js"],"/upgrade":[s,"static/chunks/357-b33aaf36873656ac.js","static/chunks/pages/upgrade-522eb38d331b0984.js"],"/viewer-info":[g,e,a,t,n,u,"static/chunks/pages/viewer-info-dd9e590f328f1926.js"],"/webhooks":[s,c,"static/chunks/pages/webhooks-8e191e85c49c7a66.js"],sortedPages:["/","/_app","/_error","/access-tokens","/actions","/chat/messages","/chat/users","/config-chat","/config-public-details","/config-server-details","/config-social-items","/config-storage","/config-video","/hardware-info","/help","/logs","/upgrade","/viewer-info","/webhooks"]}}("static/chunks/206-7944cda3fa249468.js","static/chunks/697-d8f51bf274f309e1.js","static/chunks/91-84434c9e4b8fc58f.js","static/chunks/274-40e17359826979be.js","static/chunks/763-f08c00455c707280.js","static/chunks/533-2f63c37b8986cca1.js","static/chunks/8-0ca6e225838aa5dc.js","static/chunks/429-613793ce22468b22.js","static/chunks/29107295-2c3ce868677a27a4.js","static/chunks/371-87100aa8da226dee.js","static/chunks/17-b021436c3e9075d1.js","static/chunks/578-c6676383a8e008eb.js","static/chunks/36bcf0ca-f48a13ba32e9b52e.js","static/chunks/958-03dc425f90ca3e62.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
1
static/admin/_next/static/chunks/main-3c371c6f30b1e79e.js
vendored
Normal file
1
static/admin/_next/static/chunks/main-3c371c6f30b1e79e.js
vendored
Normal file
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
1
static/admin/_next/static/chunks/pages/_app-0fcb42ad1457b193.js
vendored
Normal file
1
static/admin/_next/static/chunks/pages/_app-0fcb42ad1457b193.js
vendored
Normal file
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
@ -1 +0,0 @@
|
||||
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[255],{22494:function(e,n,t){(window.__NEXT_P=window.__NEXT_P||[]).push(["/chat/users",function(){return t(20536)}])},20536:function(e,n,t){"use strict";t.r(n),t.d(n,{FETCH_INTERVAL:function(){return w},default:function(){return y}});var r=t(35666),s=t.n(r),a=t(85893),c=t(67294),o=t(17256),i=t(35159),u=t(58827),d=t(20643),l=t(44206),f=t(85533),m=t(85584),h=t(66192),p=t(2766);function g(e){var n=e.data,t=[{title:"Display Name",key:"username",render:function(e){var n=e.user,t={connectedAt:e.connectedAt,messageCount:e.messageCount,userAgent:e.userAgent};return(0,a.jsx)(m.Z,{user:n,connectionInfo:t,children:(0,a.jsx)("span",{className:"display-name",children:n.displayName})})},sorter:function(e,n){return e.user.displayName-n.user.displayName},sortDirections:["descend","ascend"]},{title:"Messages sent",dataIndex:"messageCount",key:"messageCount",className:"number-col",sorter:function(e,n){return e.messageCount-n.messageCount},sortDirections:["descend","ascend"]},{title:"Connected Time",dataIndex:"connectedAt",key:"connectedAt",defaultSortOrder:"ascend",render:function(e){return(0,f.Z)(new Date(e))},sorter:function(e,n){return new Date(e.connectedAt).getTime()-new Date(n.connectedAt).getTime()},sortDirections:["descend","ascend"]},{title:"User Agent",dataIndex:"userAgent",key:"userAgent",render:function(e){return(0,p.AB)(e)}},{title:"Location",dataIndex:"geo",key:"geo",render:function(e){return e?"".concat(e.regionName,", ").concat(e.countryCode):"-"}},{title:"",key:"block",className:"actions-col",render:function(e,n){return(0,a.jsx)(h.Z,{user:n.user,isEnabled:!n.user.disabledAt})}}];return(0,a.jsx)(l.Z,{className:"table-container",pagination:{hideOnSinglePage:!0},columns:t,dataSource:n,size:"small",rowKey:"id"})}function v(e,n,t,r,s,a,c){try{var o=e[a](c),i=o.value}catch(u){return void t(u)}o.done?n(i):Promise.resolve(i).then(r,s)}var x=o.Z.Title,w=1e4;function y(){var e,n=((0,c.useContext)(i.aC)||{}).online,t=(0,c.useState)([]),r=t[0],o=t[1],l=(0,c.useState)([]),f=l[0],m=l[1],h=(e=s().mark((function e(){var n,t;return s().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,(0,u.rQ)(u.qk);case 3:n=e.sent,o(n),e.next=10;break;case 7:e.prev=7,e.t0=e.catch(0),console.log("==== error",e.t0);case 10:return e.prev=10,e.next=13,(0,u.rQ)(u.Kp);case 13:t=e.sent,m(t),e.next=20;break;case 17:e.prev=17,e.t1=e.catch(10),console.log("==== error",e.t1);case 20:case"end":return e.stop()}}),e,null,[[0,7],[10,17]])})),function(){var n=this,t=arguments;return new Promise((function(r,s){var a=e.apply(n,t);function c(e){v(a,r,s,c,o,"next",e)}function o(e){v(a,r,s,c,o,"throw",e)}c(void 0)}))});(0,c.useEffect)((function(){var e;return h(),e=setInterval(h,w),function(){clearInterval(e)}}),[n]);var p=n?(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(g,{data:f}),(0,a.jsxs)("p",{className:"description",children:["Visit the"," ",(0,a.jsx)("a",{href:"https://owncast.online/docs/viewers/?source=admin",target:"_blank",rel:"noopener noreferrer",children:"documentation"})," ","to configure additional details about your viewers."]})]}):(0,a.jsx)("p",{className:"description",children:"When a stream is active and chat is enabled, connected chat clients will be displayed here."});return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsxs)(x,{children:["Connected Chat Participants ",n?"(".concat(f.length,")"):null]}),p,(0,a.jsx)("br",{}),(0,a.jsx)("br",{}),(0,a.jsx)(x,{children:"Banned Users"}),(0,a.jsx)(d.Z,{data:r})]})}}},function(e){e.O(0,[662,206,697,91,533,371,774,888,179],(function(){return n=22494,e(e.s=n);var n}));var n=e.O();_N_E=n}]);
|
1
static/admin/_next/static/chunks/pages/chat/users-ebd305d69c4c0b31.js
vendored
Normal file
1
static/admin/_next/static/chunks/pages/chat/users-ebd305d69c4c0b31.js
vendored
Normal file
@ -0,0 +1 @@
|
||||
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[255],{22494:function(e,n,t){(window.__NEXT_P=window.__NEXT_P||[]).push(["/chat/users",function(){return t(20536)}])},20536:function(e,n,t){"use strict";t.r(n),t.d(n,{FETCH_INTERVAL:function(){return w},default:function(){return j}});var r=t(28520),s=t.n(r),a=t(85893),c=t(67294),o=t(17256),i=t(35159),u=t(58827),d=t(20643),l=t(44206),f=t(85533),h=t(85584),m=t(66192),p=t(2766);function g(e){var n=e.data,t=[{title:"Display Name",key:"username",render:function(e){var n=e.user,t={connectedAt:e.connectedAt,messageCount:e.messageCount,userAgent:e.userAgent};return(0,a.jsx)(h.Z,{user:n,connectionInfo:t,children:(0,a.jsx)("span",{className:"display-name",children:n.displayName})})},sorter:function(e,n){return e.user.displayName-n.user.displayName},sortDirections:["descend","ascend"]},{title:"Messages sent",dataIndex:"messageCount",key:"messageCount",className:"number-col",sorter:function(e,n){return e.messageCount-n.messageCount},sortDirections:["descend","ascend"]},{title:"Connected Time",dataIndex:"connectedAt",key:"connectedAt",defaultSortOrder:"ascend",render:function(e){return(0,f.Z)(new Date(e))},sorter:function(e,n){return new Date(e.connectedAt).getTime()-new Date(n.connectedAt).getTime()},sortDirections:["descend","ascend"]},{title:"User Agent",dataIndex:"userAgent",key:"userAgent",render:function(e){return(0,p.AB)(e)}},{title:"Location",dataIndex:"geo",key:"geo",render:function(e){return e?"".concat(e.regionName,", ").concat(e.countryCode):"-"}},{title:"",key:"block",className:"actions-col",render:function(e,n){return(0,a.jsx)(m.Z,{user:n.user,isEnabled:!n.user.disabledAt})}}];return(0,a.jsx)(l.Z,{className:"table-container",pagination:{hideOnSinglePage:!0},columns:t,dataSource:n,size:"small",rowKey:"id"})}function x(e,n,t,r,s,a,c){try{var o=e[a](c),i=o.value}catch(u){return void t(u)}o.done?n(i):Promise.resolve(i).then(r,s)}var v=o.Z.Title,w=1e4;function j(){var e,n=((0,c.useContext)(i.aC)||{}).online,t=(0,c.useState)([]),r=t[0],o=t[1],l=(0,c.useState)([]),f=l[0],h=l[1],m=(0,c.useState)([]),p=m[0],j=m[1],k=(e=s().mark((function e(){var n,t,r;return s().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,(0,u.rQ)(u.qk);case 3:n=e.sent,o(n),e.next=10;break;case 7:e.prev=7,e.t0=e.catch(0),console.log("==== error",e.t0);case 10:return e.prev=10,e.next=13,(0,u.rQ)(u.Kp);case 13:t=e.sent,h(t),e.next=20;break;case 17:e.prev=17,e.t1=e.catch(10),console.log("==== error",e.t1);case 20:return e.prev=20,e.next=23,(0,u.rQ)(u.GC);case 23:r=e.sent,j(r),e.next=30;break;case 27:e.prev=27,e.t2=e.catch(20),console.error("error fetching moderators",e.t2);case 30:case"end":return e.stop()}}),e,null,[[0,7],[10,17],[20,27]])})),function(){var n=this,t=arguments;return new Promise((function(r,s){var a=e.apply(n,t);function c(e){x(a,r,s,c,o,"next",e)}function o(e){x(a,r,s,c,o,"throw",e)}c(void 0)}))});(0,c.useEffect)((function(){var e;return k(),e=setInterval(k,w),function(){clearInterval(e)}}),[n]);var y=n?(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(g,{data:f}),(0,a.jsxs)("p",{className:"description",children:["Visit the"," ",(0,a.jsx)("a",{href:"https://owncast.online/docs/viewers/?source=admin",target:"_blank",rel:"noopener noreferrer",children:"documentation"})," ","to configure additional details about your viewers."]})]}):(0,a.jsx)("p",{className:"description",children:"When a stream is active and chat is enabled, connected chat clients will be displayed here."});return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsxs)(v,{children:["Connected Chat Participants ",n?"(".concat(f.length,")"):null]}),y,(0,a.jsx)("br",{}),(0,a.jsx)("br",{}),(0,a.jsxs)(v,{children:["Banned Users ",n?"(".concat(r.length,")"):null]}),(0,a.jsx)(d.Z,{data:r}),(0,a.jsxs)(v,{children:["Moderators ",n?"(".concat(p.length,")"):null]}),(0,a.jsx)(d.Z,{data:p})]})}}},function(e){e.O(0,[662,206,697,91,533,371,774,888,179],(function(){return n=22494,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
1
static/admin/_next/static/chunks/pages/config-video-6017eac034d09f23.js
vendored
Normal file
1
static/admin/_next/static/chunks/pages/config-video-6017eac034d09f23.js
vendored
Normal file
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
@ -1 +1 @@
|
||||
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[203],{84841:function(e,n,r){(window.__NEXT_P=window.__NEXT_P||[]).push(["/logs",function(){return r(52736)}])},824:function(e,n,r){"use strict";r.d(n,{Z:function(){return f}});var t=r(85893),i=(r(67294),r(17256)),a=r(20550),o=r(44206),u=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)(u.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)(o.Z,{size:"middle",dataSource:n,columns:i,rowKey:function(e){return e.time},pagination:{pageSize:r||20}})]})}},52736:function(e,n,r){"use strict";r.r(n),r.d(n,{default:function(){return l}});var t=r(35666),i=r.n(t),a=r(85893),o=r(67294),u=r(824),s=r(58827);function c(e,n,r,t,i,a,o){try{var u=e[a](o),s=u.value}catch(c){return void r(c)}u.done?n(s):Promise.resolve(s).then(t,i)}function l(){var e,n=(0,o.useState)([]),r=n[0],t=n[1],l=(e=i().mark((function e(){var n;return i().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,(0,s.rQ)(s.sG);case 3:n=e.sent,t(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]])})),function(){var n=this,r=arguments;return new Promise((function(t,i){var a=e.apply(n,r);function o(e){c(a,t,i,o,u,"next",e)}function u(e){c(a,t,i,o,u,"throw",e)}o(void 0)}))});return(0,o.useEffect)((function(){var e;return setInterval(l,5e3),l(),e=setInterval(l,5e3),function(){clearInterval(e)}}),[]),(0,a.jsx)(u.Z,{logs:r,pageSize:20})}}},function(e){e.O(0,[206,91,429,774,888,179],(function(){return n=84841,e(e.s=n);var n}));var n=e.O();_N_E=n}]);
|
||||
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[203],{84841:function(e,n,r){(window.__NEXT_P=window.__NEXT_P||[]).push(["/logs",function(){return r(52736)}])},824:function(e,n,r){"use strict";r.d(n,{Z:function(){return f}});var t=r(85893),i=(r(67294),r(17256)),a=r(20550),o=r(44206),u=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)(u.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)(o.Z,{size:"middle",dataSource:n,columns:i,rowKey:function(e){return e.time},pagination:{pageSize:r||20}})]})}},52736:function(e,n,r){"use strict";r.r(n),r.d(n,{default:function(){return l}});var t=r(28520),i=r.n(t),a=r(85893),o=r(67294),u=r(824),s=r(58827);function c(e,n,r,t,i,a,o){try{var u=e[a](o),s=u.value}catch(c){return void r(c)}u.done?n(s):Promise.resolve(s).then(t,i)}function l(){var e,n=(0,o.useState)([]),r=n[0],t=n[1],l=(e=i().mark((function e(){var n;return i().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,(0,s.rQ)(s.sG);case 3:n=e.sent,t(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]])})),function(){var n=this,r=arguments;return new Promise((function(t,i){var a=e.apply(n,r);function o(e){c(a,t,i,o,u,"next",e)}function u(e){c(a,t,i,o,u,"throw",e)}o(void 0)}))});return(0,o.useEffect)((function(){var e;return setInterval(l,5e3),l(),e=setInterval(l,5e3),function(){clearInterval(e)}}),[]),(0,a.jsx)(u.Z,{logs:r,pageSize:20})}}},function(e){e.O(0,[206,91,429,774,888,179],(function(){return n=84841,e(e.s=n);var n}));var n=e.O();_N_E=n}]);
|
@ -1 +1 @@
|
||||
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[69],{20014:function(e,n,r){(window.__NEXT_P=window.__NEXT_P||[]).push(["/upgrade",function(){return r(9103)}])},9103:function(e,n,r){"use strict";r.r(n),r.d(n,{default:function(){return w}});var t=r(35666),a=r.n(t),o=r(85893),u=r(67294),c=r(18357),i=r(17256),s=r(44206),l=r(58827);function f(e,n,r,t,a,o,u){try{var c=e[o](u),i=c.value}catch(s){return void r(s)}c.done?n(i):Promise.resolve(i).then(t,a)}function d(e,n,r){return n in e?Object.defineProperty(e,n,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[n]=r,e}function h(e){for(var n=1;n<arguments.length;n++){var r=null!=arguments[n]?arguments[n]:{},t=Object.keys(r);"function"===typeof Object.getOwnPropertySymbols&&(t=t.concat(Object.getOwnPropertySymbols(r).filter((function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable})))),t.forEach((function(n){d(e,n,r[n])}))}return e}var v=i.Z.Title;function p(e){var n=Object.values(e),r=[{title:"Name",dataIndex:"name",key:"name",render:function(e,n){return(0,o.jsx)("a",{href:n.browser_download_url,children:e})}},{title:"Size",dataIndex:"size",key:"size",render:function(e){return"".concat((e/1024/1024).toFixed(2)," MB")}}];return(0,o.jsx)(s.Z,{dataSource:n,columns:r,rowKey:function(e){return e.id},size:"large",pagination:!1})}function w(){var e,n=(0,u.useState)({html_url:"",name:"",created_at:null,body:"",assets:[]}),r=n[0],t=n[1],i=(e=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,l.Kt)();case 3:n=e.sent,t(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]])})),function(){var n=this,r=arguments;return new Promise((function(t,a){var o=e.apply(n,r);function u(e){f(o,t,a,u,c,"next",e)}function c(e){f(o,t,a,u,c,"throw",e)}u(void 0)}))});return(0,u.useEffect)((function(){i()}),[]),r?(0,o.jsxs)("div",{className:"upgrade-page",children:[(0,o.jsx)(v,{level:2,children:(0,o.jsx)("a",{href:r.html_url,children:r.name})}),(0,o.jsx)(v,{level:5,children:new Date(r.created_at).toDateString()}),(0,o.jsx)(c.Z,{children:r.body}),(0,o.jsx)("h3",{children:"Downloads"}),(0,o.jsx)(p,h({},r.assets))]}):null}}},function(e){e.O(0,[206,357,774,888,179],(function(){return n=20014,e(e.s=n);var n}));var n=e.O();_N_E=n}]);
|
||||
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[69],{20014:function(e,n,r){(window.__NEXT_P=window.__NEXT_P||[]).push(["/upgrade",function(){return r(9103)}])},9103:function(e,n,r){"use strict";r.r(n),r.d(n,{default:function(){return w}});var t=r(28520),a=r.n(t),o=r(85893),u=r(67294),c=r(18357),i=r(17256),s=r(44206),l=r(58827);function f(e,n,r,t,a,o,u){try{var c=e[o](u),i=c.value}catch(s){return void r(s)}c.done?n(i):Promise.resolve(i).then(t,a)}function d(e,n,r){return n in e?Object.defineProperty(e,n,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[n]=r,e}function h(e){for(var n=1;n<arguments.length;n++){var r=null!=arguments[n]?arguments[n]:{},t=Object.keys(r);"function"===typeof Object.getOwnPropertySymbols&&(t=t.concat(Object.getOwnPropertySymbols(r).filter((function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable})))),t.forEach((function(n){d(e,n,r[n])}))}return e}var v=i.Z.Title;function p(e){var n=Object.values(e),r=[{title:"Name",dataIndex:"name",key:"name",render:function(e,n){return(0,o.jsx)("a",{href:n.browser_download_url,children:e})}},{title:"Size",dataIndex:"size",key:"size",render:function(e){return"".concat((e/1024/1024).toFixed(2)," MB")}}];return(0,o.jsx)(s.Z,{dataSource:n,columns:r,rowKey:function(e){return e.id},size:"large",pagination:!1})}function w(){var e,n=(0,u.useState)({html_url:"",name:"",created_at:null,body:"",assets:[]}),r=n[0],t=n[1],i=(e=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,l.Kt)();case 3:n=e.sent,t(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]])})),function(){var n=this,r=arguments;return new Promise((function(t,a){var o=e.apply(n,r);function u(e){f(o,t,a,u,c,"next",e)}function c(e){f(o,t,a,u,c,"throw",e)}u(void 0)}))});return(0,u.useEffect)((function(){i()}),[]),r?(0,o.jsxs)("div",{className:"upgrade-page",children:[(0,o.jsx)(v,{level:2,children:(0,o.jsx)("a",{href:r.html_url,children:r.name})}),(0,o.jsx)(v,{level:5,children:new Date(r.created_at).toDateString()}),(0,o.jsx)(c.Z,{children:r.body}),(0,o.jsx)("h3",{children:"Downloads"}),(0,o.jsx)(p,h({},r.assets))]}):null}}},function(e){e.O(0,[206,357,774,888,179],(function(){return n=20014,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
2
static/admin/access-tokens/index.html
vendored
2
static/admin/access-tokens/index.html
vendored
File diff suppressed because one or more lines are too long
2
static/admin/actions/index.html
vendored
2
static/admin/actions/index.html
vendored
File diff suppressed because one or more lines are too long
2
static/admin/chat/messages/index.html
vendored
2
static/admin/chat/messages/index.html
vendored
File diff suppressed because one or more lines are too long
2
static/admin/chat/users/index.html
vendored
2
static/admin/chat/users/index.html
vendored
File diff suppressed because one or more lines are too long
2
static/admin/config-chat/index.html
vendored
2
static/admin/config-chat/index.html
vendored
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
2
static/admin/config-social-items/index.html
vendored
2
static/admin/config-social-items/index.html
vendored
File diff suppressed because one or more lines are too long
2
static/admin/config-storage/index.html
vendored
2
static/admin/config-storage/index.html
vendored
File diff suppressed because one or more lines are too long
2
static/admin/config-video/index.html
vendored
2
static/admin/config-video/index.html
vendored
File diff suppressed because one or more lines are too long
4
static/admin/hardware-info/index.html
vendored
4
static/admin/hardware-info/index.html
vendored
File diff suppressed because one or more lines are too long
2
static/admin/help/index.html
vendored
2
static/admin/help/index.html
vendored
File diff suppressed because one or more lines are too long
2
static/admin/index.html
vendored
2
static/admin/index.html
vendored
File diff suppressed because one or more lines are too long
2
static/admin/logs/index.html
vendored
2
static/admin/logs/index.html
vendored
File diff suppressed because one or more lines are too long
2
static/admin/upgrade/index.html
vendored
2
static/admin/upgrade/index.html
vendored
File diff suppressed because one or more lines are too long
2
static/admin/viewer-info/index.html
vendored
2
static/admin/viewer-info/index.html
vendored
File diff suppressed because one or more lines are too long
2
static/admin/webhooks/index.html
vendored
2
static/admin/webhooks/index.html
vendored
File diff suppressed because one or more lines are too long
Loading…
x
Reference in New Issue
Block a user