Bundle embedded web app

This commit is contained in:
gabek 2023-01-29 23:44:57 +00:00
parent 71bb8a7381
commit 96f36215a1
111 changed files with 1291 additions and 186 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

View file

@ -1,2 +0,0 @@
"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2582,8864],{63701:function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M574 665.4a8.03 8.03 0 00-11.3 0L446.5 781.6c-53.8 53.8-144.6 59.5-204 0-59.5-59.5-53.8-150.2 0-204l116.2-116.2c3.1-3.1 3.1-8.2 0-11.3l-39.8-39.8a8.03 8.03 0 00-11.3 0L191.4 526.5c-84.6 84.6-84.6 221.5 0 306s221.5 84.6 306 0l116.2-116.2c3.1-3.1 3.1-8.2 0-11.3L574 665.4zm258.6-474c-84.6-84.6-221.5-84.6-306 0L410.3 307.6a8.03 8.03 0 000 11.3l39.7 39.7c3.1 3.1 8.2 3.1 11.3 0l116.2-116.2c53.8-53.8 144.6-59.5 204 0 59.5 59.5 53.8 150.2 0 204L665.3 562.6a8.03 8.03 0 000 11.3l39.8 39.8c3.1 3.1 8.2 3.1 11.3 0l116.2-116.2c84.5-84.6 84.5-221.5 0-306.1zM610.1 372.3a8.03 8.03 0 00-11.3 0L372.3 598.7a8.03 8.03 0 000 11.3l39.6 39.6c3.1 3.1 8.2 3.1 11.3 0l226.4-226.4c3.1-3.1 3.1-8.2 0-11.3l-39.5-39.6z"}}]},name:"link",theme:"outlined"}},38864:function(e,t,r){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a,n=(a=r(23534))&&a.__esModule?a:{default:a};t.default=n,e.exports=n},23534:function(e,t,r){var a=r(64836),n=r(18698);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var l=a(r(42122)),u=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==n(e)&&"function"!=typeof e)return{default:e};var r=o(t);if(r&&r.has(e))return r.get(e);var a={},l=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var u in e)if("default"!==u&&Object.prototype.hasOwnProperty.call(e,u)){var f=l?Object.getOwnPropertyDescriptor(e,u):null;f&&(f.get||f.set)?Object.defineProperty(a,u,f):a[u]=e[u]}return a.default=e,r&&r.set(e,a),a}(r(67294)),f=a(r(63701)),c=a(r(92074));function o(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(o=function(e){return e?r:t})(e)}var i=function(e,t){return u.createElement(c.default,(0,l.default)((0,l.default)({},e),{},{ref:t,icon:f.default}))};i.displayName="LinkOutlined";var d=u.forwardRef(i);t.default=d}}]);
//# sourceMappingURL=2582.bcfcea5f30938762.js.map

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,2 @@
"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[710],{81076:function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M908.1 353.1l-253.9-36.9L540.7 86.1c-3.1-6.3-8.2-11.4-14.5-14.5-15.8-7.8-35-1.3-42.9 14.5L369.8 316.2l-253.9 36.9c-7 1-13.4 4.3-18.3 9.3a32.05 32.05 0 00.6 45.3l183.7 179.1-43.4 252.9a31.95 31.95 0 0046.4 33.7L512 754l227.1 119.4c6.2 3.3 13.4 4.4 20.3 3.2 17.4-3 29.1-19.5 26.1-36.9l-43.4-252.9 183.7-179.1c5-4.9 8.3-11.3 9.3-18.3 2.7-17.5-9.5-33.7-27-36.3z"}}]},name:"star",theme:"filled"}},20710:function(e,t,r){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a,n=(a=r(63031))&&a.__esModule?a:{default:a};t.default=n,e.exports=n},63031:function(e,t,r){var a=r(64836),n=r(18698);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var u=a(r(42122)),l=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==n(e)&&"function"!=typeof e)return{default:e};var r=c(t);if(r&&r.has(e))return r.get(e);var a={},u=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var l in e)if("default"!==l&&Object.prototype.hasOwnProperty.call(e,l)){var f=u?Object.getOwnPropertyDescriptor(e,l):null;f&&(f.get||f.set)?Object.defineProperty(a,l,f):a[l]=e[l]}return a.default=e,r&&r.set(e,a),a}(r(67294)),f=a(r(81076)),o=a(r(92074));function c(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(c=function(e){return e?r:t})(e)}var i=function(e,t){return l.createElement(o.default,(0,u.default)((0,u.default)({},e),{},{ref:t,icon:f.default}))};i.displayName="StarFilled";var d=l.forwardRef(i);t.default=d}}]);
//# sourceMappingURL=710.60697d09ba08ff3b.js.map

File diff suppressed because one or more lines are too long

View file

@ -0,0 +1,2 @@
"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7719],{93691:function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M866.9 169.9L527.1 54.1C523 52.7 517.5 52 512 52s-11 .7-15.1 2.1L157.1 169.9c-8.3 2.8-15.1 12.4-15.1 21.2v482.4c0 8.8 5.7 20.4 12.6 25.9L499.3 968c3.5 2.7 8 4.1 12.6 4.1s9.2-1.4 12.6-4.1l344.7-268.6c6.9-5.4 12.6-17 12.6-25.9V191.1c.2-8.8-6.6-18.3-14.9-21.2zM694.5 340.7L481.9 633.4a16.1 16.1 0 01-26 0l-126.4-174c-3.8-5.3 0-12.7 6.5-12.7h55.2c5.1 0 10 2.5 13 6.6l64.7 89 150.9-207.8c3-4.1 7.8-6.6 13-6.6H688c6.5.1 10.3 7.5 6.5 12.8z"}}]},name:"safety-certificate",theme:"filled"}},27719:function(e,t,r){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a,f=(a=r(23535))&&a.__esModule?a:{default:a};t.default=f,e.exports=f},23535:function(e,t,r){var a=r(64836),f=r(18698);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=a(r(42122)),u=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==f(e)&&"function"!=typeof e)return{default:e};var r=o(t);if(r&&r.has(e))return r.get(e);var a={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var u in e)if("default"!==u&&Object.prototype.hasOwnProperty.call(e,u)){var l=n?Object.getOwnPropertyDescriptor(e,u):null;l&&(l.get||l.set)?Object.defineProperty(a,u,l):a[u]=e[u]}return a.default=e,r&&r.set(e,a),a}(r(67294)),l=a(r(93691)),c=a(r(92074));function o(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(o=function(e){return e?r:t})(e)}var i=function(e,t){return u.createElement(c.default,(0,n.default)((0,n.default)({},e),{},{ref:t,icon:l.default}))};i.displayName="SafetyCertificateFilled";var d=u.forwardRef(i);t.default=d}}]);
//# sourceMappingURL=7719.eb054e38d529f131.js.map

File diff suppressed because one or more lines are too long

View file

@ -0,0 +1,2 @@
"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8864],{63701:function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M574 665.4a8.03 8.03 0 00-11.3 0L446.5 781.6c-53.8 53.8-144.6 59.5-204 0-59.5-59.5-53.8-150.2 0-204l116.2-116.2c3.1-3.1 3.1-8.2 0-11.3l-39.8-39.8a8.03 8.03 0 00-11.3 0L191.4 526.5c-84.6 84.6-84.6 221.5 0 306s221.5 84.6 306 0l116.2-116.2c3.1-3.1 3.1-8.2 0-11.3L574 665.4zm258.6-474c-84.6-84.6-221.5-84.6-306 0L410.3 307.6a8.03 8.03 0 000 11.3l39.7 39.7c3.1 3.1 8.2 3.1 11.3 0l116.2-116.2c53.8-53.8 144.6-59.5 204 0 59.5 59.5 53.8 150.2 0 204L665.3 562.6a8.03 8.03 0 000 11.3l39.8 39.8c3.1 3.1 8.2 3.1 11.3 0l116.2-116.2c84.5-84.6 84.5-221.5 0-306.1zM610.1 372.3a8.03 8.03 0 00-11.3 0L372.3 598.7a8.03 8.03 0 000 11.3l39.6 39.6c3.1 3.1 8.2 3.1 11.3 0l226.4-226.4c3.1-3.1 3.1-8.2 0-11.3l-39.5-39.6z"}}]},name:"link",theme:"outlined"}},38864:function(e,t,r){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a,n=(a=r(23534))&&a.__esModule?a:{default:a};t.default=n,e.exports=n},23534:function(e,t,r){var a=r(64836),n=r(18698);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var l=a(r(42122)),u=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==n(e)&&"function"!=typeof e)return{default:e};var r=o(t);if(r&&r.has(e))return r.get(e);var a={},l=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var u in e)if("default"!==u&&Object.prototype.hasOwnProperty.call(e,u)){var f=l?Object.getOwnPropertyDescriptor(e,u):null;f&&(f.get||f.set)?Object.defineProperty(a,u,f):a[u]=e[u]}return a.default=e,r&&r.set(e,a),a}(r(67294)),f=a(r(63701)),c=a(r(92074));function o(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(o=function(e){return e?r:t})(e)}var i=function(e,t){return u.createElement(c.default,(0,l.default)((0,l.default)({},e),{},{ref:t,icon:f.default}))};i.displayName="LinkOutlined";var d=u.forwardRef(i);t.default=d}}]);
//# sourceMappingURL=8864.213a47c28f3b12de.js.map

View file

@ -1,2 +0,0 @@
"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8864,2582],{63701:function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M574 665.4a8.03 8.03 0 00-11.3 0L446.5 781.6c-53.8 53.8-144.6 59.5-204 0-59.5-59.5-53.8-150.2 0-204l116.2-116.2c3.1-3.1 3.1-8.2 0-11.3l-39.8-39.8a8.03 8.03 0 00-11.3 0L191.4 526.5c-84.6 84.6-84.6 221.5 0 306s221.5 84.6 306 0l116.2-116.2c3.1-3.1 3.1-8.2 0-11.3L574 665.4zm258.6-474c-84.6-84.6-221.5-84.6-306 0L410.3 307.6a8.03 8.03 0 000 11.3l39.7 39.7c3.1 3.1 8.2 3.1 11.3 0l116.2-116.2c53.8-53.8 144.6-59.5 204 0 59.5 59.5 53.8 150.2 0 204L665.3 562.6a8.03 8.03 0 000 11.3l39.8 39.8c3.1 3.1 8.2 3.1 11.3 0l116.2-116.2c84.5-84.6 84.5-221.5 0-306.1zM610.1 372.3a8.03 8.03 0 00-11.3 0L372.3 598.7a8.03 8.03 0 000 11.3l39.6 39.6c3.1 3.1 8.2 3.1 11.3 0l226.4-226.4c3.1-3.1 3.1-8.2 0-11.3l-39.5-39.6z"}}]},name:"link",theme:"outlined"}},38864:function(e,t,r){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a,n=(a=r(23534))&&a.__esModule?a:{default:a};t.default=n,e.exports=n},23534:function(e,t,r){var a=r(64836),n=r(18698);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var l=a(r(42122)),u=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==n(e)&&"function"!=typeof e)return{default:e};var r=o(t);if(r&&r.has(e))return r.get(e);var a={},l=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var u in e)if("default"!==u&&Object.prototype.hasOwnProperty.call(e,u)){var f=l?Object.getOwnPropertyDescriptor(e,u):null;f&&(f.get||f.set)?Object.defineProperty(a,u,f):a[u]=e[u]}return a.default=e,r&&r.set(e,a),a}(r(67294)),f=a(r(63701)),c=a(r(92074));function o(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(o=function(e){return e?r:t})(e)}var i=function(e,t){return u.createElement(c.default,(0,l.default)((0,l.default)({},e),{},{ref:t,icon:f.default}))};i.displayName="LinkOutlined";var d=u.forwardRef(i);t.default=d}}]);
//# sourceMappingURL=8864.54911598e9e7e4f0.js.map

View file

@ -1,2 +1,2 @@
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1774],{97183:function(e,t,n){"use strict";var r=n(2897),o=n(7293),i=r.ZP;i.Header=r.h4,i.Footer=r.$_,i.Content=r.VY,i.Sider=o.Z,t.Z=i},93645:function(e,t,n){"use strict";n.d(t,{u:function(){return o}});var r={ceil:Math.ceil,round:Math.round,floor:Math.floor,trunc:function(e){return e<0?Math.ceil(e):Math.floor(e)}};function o(e){return e?r[e]:r.trunc}},59910:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(19013),o=n(13882);function i(e,t){return(0,o.Z)(2,arguments),(0,r.Z)(e).getTime()-(0,r.Z)(t).getTime()}},11699:function(e,t,n){"use strict";n.d(t,{Z:function(){return u}});var r=n(59910),o=n(13882),i=n(93645);function u(e,t,n){(0,o.Z)(2,arguments);var u=(0,r.Z)(e,t)/1e3;return(0,i.u)(null==n?void 0:n.roundingMethod)(u)}},23426:function(e,t,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/admin/logs",function(){return n(87905)}])},82536:function(e,t,n){"use strict";n.d(t,{o:function(){return d}});var r=n(85893);n(67294);var o=n(85818),i=n(20550),u=n(54398),a=n(53731),c=n(58091);let{Title:s}=o.Z;function l(e,t){let n="black";return"warning"===t.level?n="orange":"error"===t.level&&(n="red"),(0,r.jsx)(i.Z,{color:n,children:e})}function f(e){return(0,r.jsx)(a.Z,{children:e})}let d=e=>{let{logs:t,pageSize:n}=e;return(null==t?void 0:t.length)?(0,r.jsxs)("div",{className:"logs-section",children:[(0,r.jsx)(s,{children:"Logs"}),(0,r.jsx)(u.Z,{size:"middle",dataSource:t,columns:[{title:"Level",dataIndex:"level",key:"level",filters:[{text:"Info",value:"info"},{text:"Warning",value:"warning"},{text:"Error",value:"Error"}],onFilter:(e,t)=>0===t.level.indexOf(e),render:l},{title:"Timestamp",dataIndex:"time",key:"time",render:e=>{let t=new Date(e);return(0,c.Z)(t,"pp P")},sorter:(e,t)=>new Date(e.time).getTime()-new Date(t.time).getTime(),sortDirections:["descend","ascend"],defaultSortOrder:"descend"},{title:"Message",dataIndex:"message",key:"message",render:f}],rowKey:e=>e.time,pagination:{pageSize:n||20}})]}):null}},87905:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return c}});var r=n(85893),o=n(67294),i=n(82536),u=n(64777),a=n(6960);function c(){let[e,t]=(0,o.useState)([]),n=async()=>{try{let e=await (0,u.rQ)(u.sG);t(e)}catch(e){console.log("==== error",e)}};return(0,o.useEffect)(()=>{let e=null;return setInterval(n,5e3),n(),e=setInterval(n,5e3),()=>{clearInterval(e)}},[]),(0,r.jsx)(i.o,{logs:e,pageSize:20})}c.getLayout=function(e){return(0,r.jsx)(a.l,{page:e})}},9008:function(e,t,n){e.exports=n(83121)},11163:function(e,t,n){e.exports=n(80880)},92703:function(e,t,n){"use strict";var r=n(50414);function o(){}function i(){}i.resetWarningCache=o,e.exports=function(){function e(e,t,n,o,i,u){if(u!==r){var a=Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw a.name="Invariant Violation",a}}function t(){return e}e.isRequired=e;var n={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:i,resetWarningCache:o};return n.PropTypes=n,n}},45697:function(e,t,n){e.exports=n(92703)()},50414:function(e){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"}},function(e){e.O(0,[173,164,2138,31,4931,5402,2231,492,5818,7524,9915,6386,3698,3013,4398,8091,9863,710,6960,9774,2888,179],function(){return e(e.s=23426)}),_N_E=e.O()}]);
//# sourceMappingURL=logs-1243093eb968a8bd.js.map
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1774],{97183:function(e,t,n){"use strict";var r=n(2897),o=n(7293),i=r.ZP;i.Header=r.h4,i.Footer=r.$_,i.Content=r.VY,i.Sider=o.Z,t.Z=i},93645:function(e,t,n){"use strict";n.d(t,{u:function(){return o}});var r={ceil:Math.ceil,round:Math.round,floor:Math.floor,trunc:function(e){return e<0?Math.ceil(e):Math.floor(e)}};function o(e){return e?r[e]:r.trunc}},59910:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(19013),o=n(13882);function i(e,t){return(0,o.Z)(2,arguments),(0,r.Z)(e).getTime()-(0,r.Z)(t).getTime()}},11699:function(e,t,n){"use strict";n.d(t,{Z:function(){return u}});var r=n(59910),o=n(13882),i=n(93645);function u(e,t,n){(0,o.Z)(2,arguments);var u=(0,r.Z)(e,t)/1e3;return(0,i.u)(null==n?void 0:n.roundingMethod)(u)}},23426:function(e,t,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/admin/logs",function(){return n(87905)}])},82536:function(e,t,n){"use strict";n.d(t,{o:function(){return d}});var r=n(85893);n(67294);var o=n(85818),i=n(20550),u=n(54398),a=n(53731),c=n(58091);let{Title:s}=o.Z;function l(e,t){let n="black";return"warning"===t.level?n="orange":"error"===t.level&&(n="red"),(0,r.jsx)(i.Z,{color:n,children:e})}function f(e){return(0,r.jsx)(a.Z,{children:e})}let d=e=>{let{logs:t,pageSize:n}=e;return(null==t?void 0:t.length)?(0,r.jsxs)("div",{className:"logs-section",children:[(0,r.jsx)(s,{children:"Logs"}),(0,r.jsx)(u.Z,{size:"middle",dataSource:t,columns:[{title:"Level",dataIndex:"level",key:"level",filters:[{text:"Info",value:"info"},{text:"Warning",value:"warning"},{text:"Error",value:"Error"}],onFilter:(e,t)=>0===t.level.indexOf(e),render:l},{title:"Timestamp",dataIndex:"time",key:"time",render:e=>{let t=new Date(e);return(0,c.Z)(t,"pp P")},sorter:(e,t)=>new Date(e.time).getTime()-new Date(t.time).getTime(),sortDirections:["descend","ascend"],defaultSortOrder:"descend"},{title:"Message",dataIndex:"message",key:"message",render:f}],rowKey:e=>e.time,pagination:{pageSize:n||20}})]}):null}},87905:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return c}});var r=n(85893),o=n(67294),i=n(82536),u=n(64777),a=n(6960);function c(){let[e,t]=(0,o.useState)([]),n=async()=>{try{let e=await (0,u.rQ)(u.sG);t(e)}catch(e){console.log("==== error",e)}};return(0,o.useEffect)(()=>{let e=null;return setInterval(n,5e3),n(),e=setInterval(n,5e3),()=>{clearInterval(e)}},[]),(0,r.jsx)(i.o,{logs:e,pageSize:20})}c.getLayout=function(e){return(0,r.jsx)(a.l,{page:e})}},9008:function(e,t,n){e.exports=n(83121)},11163:function(e,t,n){e.exports=n(80880)},92703:function(e,t,n){"use strict";var r=n(50414);function o(){}function i(){}i.resetWarningCache=o,e.exports=function(){function e(e,t,n,o,i,u){if(u!==r){var a=Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw a.name="Invariant Violation",a}}function t(){return e}e.isRequired=e;var n={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:i,resetWarningCache:o};return n.PropTypes=n,n}},45697:function(e,t,n){e.exports=n(92703)()},50414:function(e){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"}},function(e){e.O(0,[173,164,2138,31,4931,5402,2231,492,5818,7524,9915,6386,3698,3013,4398,8091,9863,180,6960,9774,2888,179],function(){return e(e.s=23426)}),_N_E=e.O()}]);
//# sourceMappingURL=logs-b779228c4f5ddf47.js.map

View file

@ -1,2 +1,2 @@
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9262],{70918:function(e,t,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/admin/upgrade",function(){return n(97644)}])},97644:function(e,t,n){"use strict";n.r(t);var a=n(85893),r=n(67294),l=n(31844),s=n(85818),d=n(54398),i=n(64777),u=n(6960);let{Title:c}=s.Z,o=e=>{let t=Object.values(e);return(0,a.jsx)(d.Z,{dataSource:t,columns:[{title:"Name",dataIndex:"name",key:"name",render:(e,t)=>(0,a.jsx)("a",{href:t.browser_download_url,children:e})},{title:"Size",dataIndex:"size",key:"size",render:e=>"".concat((e/1024/1024).toFixed(2)," MB")}],rowKey:e=>e.id,size:"large",pagination:!1})},_=()=>{let[e,t]=(0,r.useState)({html_url:"",name:"",created_at:null,body:"",assets:[]}),n=async()=>{try{let e=await (0,i.Kt)();t(e)}catch(e){console.log("==== error",e)}};return((0,r.useEffect)(()=>{n()},[]),e)?(0,a.jsxs)("div",{className:"upgrade-page",children:[(0,a.jsx)(c,{level:2,children:(0,a.jsx)("a",{href:e.html_url,children:e.name})}),(0,a.jsx)(c,{level:5,children:new Date(e.created_at).toDateString()}),(0,a.jsx)(l.D,{children:e.body}),(0,a.jsx)("h3",{children:"Downloads"}),(0,a.jsx)(o,{...e.assets})]}):null};_.getLayout=function(e){return(0,a.jsx)(u.l,{page:e})},t.default=_}},function(e){e.O(0,[173,164,2138,31,4931,5402,2231,492,5818,7524,9915,6386,3698,3013,4398,7777,710,6960,9774,2888,179],function(){return e(e.s=70918)}),_N_E=e.O()}]);
//# sourceMappingURL=upgrade-f63314ce70dc454f.js.map
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9262],{70918:function(e,t,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/admin/upgrade",function(){return n(97644)}])},97644:function(e,t,n){"use strict";n.r(t);var a=n(85893),r=n(67294),l=n(31844),s=n(85818),d=n(54398),i=n(64777),u=n(6960);let{Title:c}=s.Z,o=e=>{let t=Object.values(e);return(0,a.jsx)(d.Z,{dataSource:t,columns:[{title:"Name",dataIndex:"name",key:"name",render:(e,t)=>(0,a.jsx)("a",{href:t.browser_download_url,children:e})},{title:"Size",dataIndex:"size",key:"size",render:e=>"".concat((e/1024/1024).toFixed(2)," MB")}],rowKey:e=>e.id,size:"large",pagination:!1})},_=()=>{let[e,t]=(0,r.useState)({html_url:"",name:"",created_at:null,body:"",assets:[]}),n=async()=>{try{let e=await (0,i.Kt)();t(e)}catch(e){console.log("==== error",e)}};return((0,r.useEffect)(()=>{n()},[]),e)?(0,a.jsxs)("div",{className:"upgrade-page",children:[(0,a.jsx)(c,{level:2,children:(0,a.jsx)("a",{href:e.html_url,children:e.name})}),(0,a.jsx)(c,{level:5,children:new Date(e.created_at).toDateString()}),(0,a.jsx)(l.D,{children:e.body}),(0,a.jsx)("h3",{children:"Downloads"}),(0,a.jsx)(o,{...e.assets})]}):null};_.getLayout=function(e){return(0,a.jsx)(u.l,{page:e})},t.default=_}},function(e){e.O(0,[173,164,2138,31,4931,5402,2231,492,5818,7524,9915,6386,3698,3013,4398,7777,180,6960,9774,2888,179],function(){return e(e.s=70918)}),_N_E=e.O()}]);
//# sourceMappingURL=upgrade-135717c8af87349e.js.map

View file

@ -1 +1 @@
{"version":3,"file":"static/chunks/pages/admin/upgrade-f63314ce70dc454f.js","mappings":"sFACA,CAAAA,OAAAC,QAAA,CAAAD,OAAAC,QAAA,MAAAC,IAAA,EACA,iBACA,WACA,OAAeC,EAAQ,MACvB,EACA,6HCCA,GAAM,CAAEC,MAAAA,CAAAA,CAAO,CAAGC,EAAAA,CAAUA,CAEtBC,EAAaC,GAAU,CAC3B,IAAMC,EAAOC,OAAOC,MAAM,CAACH,GAiB3B,MACE,GAAAI,EAAAC,GAAA,EA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B,EAAAC,GAAA,EAAC0C,KAAAA,UAAG,cACJ,GAAA3C,EAAAC,GAAA,EAACN,EAAAA,CAAY,GAAG2B,EAAQ1B,MAAM,MAXzB,IAAI,CAgBfyB,CAAAA,EAAKuB,SAAS,CAAG,SAAmBC,CAAkB,CAAE,CACtD,MAAO,GAAA7C,EAAAC,GAAA,EAAC6C,EAAAA,CAAWA,CAAAA,CAACD,KAAMA,GAC5B,EAEAE,EAAA,QAAe1B","sources":["webpack://_N_E/?3d0f","webpack://_N_E/./pages/admin/upgrade.tsx","webpack://_N_E/<anon>"],"sourcesContent":["\n (window.__NEXT_P = window.__NEXT_P || []).push([\n \"/admin/upgrade\",\n function () {\n return require(\"private-next-pages/admin/upgrade.tsx\");\n }\n ]);\n if(module.hot) {\n module.hot.dispose(function () {\n window.__NEXT_P.push([\"/admin/upgrade\"])\n });\n }\n ","import React, { useState, useEffect, ReactElement } from 'react';\nimport ReactMarkdown from 'react-markdown';\nimport { Table, Typography } from 'antd';\nimport { getGithubRelease } from '../../utils/apis';\n\nimport { AdminLayout } from '../../components/layouts/AdminLayout';\n\nconst { Title } = Typography;\n\nconst AssetTable = assets => {\n const data = Object.values(assets) as object[];\n\n const columns = [\n {\n title: 'Name',\n dataIndex: 'name',\n key: 'name',\n render: (text, entry) => <a href={entry.browser_download_url}>{text}</a>,\n },\n {\n title: 'Size',\n dataIndex: 'size',\n key: 'size',\n render: text => `${(text / 1024 / 1024).toFixed(2)} MB`,\n },\n ];\n\n return (\n <Table\n dataSource={data}\n columns={columns}\n rowKey={record => record.id}\n size=\"large\"\n pagination={false}\n />\n );\n};\n\nconst Logs = () => {\n const [release, setRelease] = useState({\n html_url: '',\n name: '',\n created_at: null,\n body: '',\n assets: [],\n });\n\n const getRelease = async () => {\n try {\n const result = await getGithubRelease();\n setRelease(result);\n } catch (error) {\n console.log('==== error', error);\n }\n };\n\n useEffect(() => {\n getRelease();\n }, []);\n\n if (!release) {\n return null;\n }\n\n return (\n <div className=\"upgrade-page\">\n <Title level={2}>\n <a href={release.html_url}>{release.name}</a>\n </Title>\n <Title level={5}>{new Date(release.created_at).toDateString()}</Title>\n <ReactMarkdown>{release.body}</ReactMarkdown>\n <h3>Downloads</h3>\n <AssetTable {...release.assets} />\n </div>\n );\n};\n\nLogs.getLayout = function getLayout(page: ReactElement) {\n return <AdminLayout page={page} />;\n};\n\nexport default Logs;\n"],"names":["window","__NEXT_P","push","__webpack_require__","Title","Typography","AssetTable","assets","data","Object","values","react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__","jsx","Table","dataSource","columns","title","dataIndex","key","render","text","entry","a","href","browser_download_url","concat","toFixed","rowKey","record","id","size","pagination","Logs","release","setRelease","useState","html_url","name","created_at","body","getRelease","result","getGithubRelease","error","console","log","useEffect","jsxs","div","className","level","Date","toDateString","ReactMarkdown","h3","getLayout","page","AdminLayout","__webpack_exports__"],"sourceRoot":""}
{"version":3,"file":"static/chunks/pages/admin/upgrade-135717c8af87349e.js","mappings":"sFACA,CAAAA,OAAAC,QAAA,CAAAD,OAAAC,QAAA,MAAAC,IAAA,EACA,iBACA,WACA,OAAeC,EAAQ,MACvB,EACA,6HCCA,GAAM,CAAEC,MAAAA,CAAAA,CAAO,CAAGC,EAAAA,CAAUA,CAEtBC,EAAaC,GAAU,CAC3B,IAAMC,EAAOC,OAAOC,MAAM,CAACH,GAiB3B,MACE,GAAAI,EAAAC,GAAA,EAACC,EAAAA,CAAKA,CAAAA,CACJC,WAAYN,EACZO,QAlBY,CACd,CACEC,MAAO,OACPC,UAAW,OACXC,IAAK,OACLC,OAAQ,CAACC,EAAMC,IAAU,GAAAV,EAAAC,GAAA,EAACU,IAAAA,CAAEC,KAAMF,EAAMG,oBAAoB,UAAGJ,GACjE,EACA,CACEJ,MAAO,OACPC,UAAW,OACXC,IAAK,OACLC,OAAQC,GAAQ,GAAmCK,MAAA,CAAhC,CAACL,EAAO,KAAO,MAAMM,OAAO,CAAC,GAAG,MACrD,EACD,CAMGC,OAAQC,GAAU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cesContent":["\n (window.__NEXT_P = window.__NEXT_P || []).push([\n \"/admin/upgrade\",\n function () {\n return require(\"private-next-pages/admin/upgrade.tsx\");\n }\n ]);\n if(module.hot) {\n module.hot.dispose(function () {\n window.__NEXT_P.push([\"/admin/upgrade\"])\n });\n }\n ","import React, { useState, useEffect, ReactElement } from 'react';\nimport ReactMarkdown from 'react-markdown';\nimport { Table, Typography } from 'antd';\nimport { getGithubRelease } from '../../utils/apis';\n\nimport { AdminLayout } from '../../components/layouts/AdminLayout';\n\nconst { Title } = Typography;\n\nconst AssetTable = assets => {\n const data = Object.values(assets) as object[];\n\n const columns = [\n {\n title: 'Name',\n dataIndex: 'name',\n key: 'name',\n render: (text, entry) => <a href={entry.browser_download_url}>{text}</a>,\n },\n {\n title: 'Size',\n dataIndex: 'size',\n key: 'size',\n render: text => `${(text / 1024 / 1024).toFixed(2)} MB`,\n },\n ];\n\n return (\n <Table\n dataSource={data}\n columns={columns}\n rowKey={record => record.id}\n size=\"large\"\n pagination={false}\n />\n );\n};\n\nconst Logs = () => {\n const [release, setRelease] = useState({\n html_url: '',\n name: '',\n created_at: null,\n body: '',\n assets: [],\n });\n\n const getRelease = async () => {\n try {\n const result = await getGithubRelease();\n setRelease(result);\n } catch (error) {\n console.log('==== error', error);\n }\n };\n\n useEffect(() => {\n getRelease();\n }, []);\n\n if (!release) {\n return null;\n }\n\n return (\n <div className=\"upgrade-page\">\n <Title level={2}>\n <a href={release.html_url}>{release.name}</a>\n </Title>\n <Title level={5}>{new Date(release.created_at).toDateString()}</Title>\n <ReactMarkdown>{release.body}</ReactMarkdown>\n <h3>Downloads</h3>\n <AssetTable {...release.assets} />\n </div>\n );\n};\n\nLogs.getLayout = function getLayout(page: ReactElement) {\n return <AdminLayout page={page} />;\n};\n\nexport default Logs;\n"],"names":["window","__NEXT_P","push","__webpack_require__","Title","Typography","AssetTable","assets","data","Object","values","react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__","jsx","Table","dataSource","columns","title","dataIndex","key","render","text","entry","a","href","browser_download_url","concat","toFixed","rowKey","record","id","size","pagination","Logs","release","setRelease","useState","html_url","name","created_at","body","getRelease","result","getGithubRelease","error","console","log","useEffect","jsxs","div","className","level","Date","toDateString","ReactMarkdown","h3","getLayout","page","AdminLayout","__webpack_exports__"],"sourceRoot":""}

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

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