@windwalker-io/core 4.0.8 → 4.0.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (99) hide show
  1. package/.gulp.json +7 -7
  2. package/LICENSE +19 -19
  3. package/dist/debugger/114.js.map +1 -0
  4. package/dist/debugger/338.js.map +1 -0
  5. package/dist/debugger/358.js.map +1 -0
  6. package/dist/debugger/500.js.map +1 -0
  7. package/dist/debugger/548.js.map +1 -0
  8. package/dist/debugger/694.js.map +1 -0
  9. package/dist/debugger/798.js.map +1 -0
  10. package/dist/debugger/851.js.map +1 -0
  11. package/dist/debugger/864.js.map +1 -0
  12. package/dist/debugger/chunk-vendor-114.js +3 -0
  13. package/dist/debugger/chunk-vendor-114.js.LICENSE.txt +8 -0
  14. package/dist/debugger/chunk-vendor-338.js +3 -0
  15. package/dist/debugger/chunk-vendor-338.js.LICENSE.txt +15 -0
  16. package/dist/debugger/chunk-vendor-358.js +2 -0
  17. package/dist/debugger/chunk-vendor-500.js +3 -0
  18. package/dist/debugger/chunk-vendor-500.js.LICENSE.txt +8 -0
  19. package/dist/debugger/chunk-vendor-548.js +3 -0
  20. package/dist/debugger/chunk-vendor-548.js.LICENSE.txt +15 -0
  21. package/dist/debugger/chunk-vendor-694.js +3 -0
  22. package/dist/debugger/chunk-vendor-694.js.LICENSE.txt +1 -0
  23. package/dist/debugger/chunk-vendor-798.js +3 -0
  24. package/dist/debugger/chunk-vendor-798.js.LICENSE.txt +1 -0
  25. package/dist/debugger/chunk-vendor-851.js +3 -0
  26. package/dist/debugger/chunk-vendor-851.js.LICENSE.txt +8 -0
  27. package/dist/debugger/chunk-vendor-864.js +3 -0
  28. package/dist/debugger/chunk-vendor-864.js.LICENSE.txt +1 -0
  29. package/dist/debugger/debugger.js +1 -1
  30. package/dist/debugger/debugger.js.LICENSE.txt +11 -2
  31. package/dist/debugger/debugger.js.map +1 -1
  32. package/dist/debugger/dev/chunk-vendor-scss_debugger_scss.js +219 -0
  33. package/dist/debugger/dev/chunk-vendor-src_debugger_layouts_DefaultLayout_vue.js +77 -0
  34. package/dist/debugger/dev/chunk-vendor-src_debugger_views_Dashboard_vue.js +81 -0
  35. package/dist/debugger/dev/chunk-vendor-src_debugger_views_Database_vue.js +187 -0
  36. package/dist/debugger/dev/chunk-vendor-src_debugger_views_Events_vue.js +122 -0
  37. package/dist/debugger/dev/chunk-vendor-src_debugger_views_Request_vue.js +122 -0
  38. package/dist/debugger/dev/chunk-vendor-src_debugger_views_Routing_vue.js +122 -0
  39. package/dist/debugger/dev/chunk-vendor-src_debugger_views_System_vue.js +67 -0
  40. package/dist/debugger/dev/chunk-vendor-src_debugger_views_Timeline_vue.js +132 -0
  41. package/dist/debugger/dev/chunk-vendor-vendors-node_modules_bootstrap_js_src_modal_js-node_modules_sql-formatter_lib_index_js.js +923 -0
  42. package/dist/debugger/dev/chunk-vendor-vendors-node_modules_sql-formatter_lib_index_js-node_modules_bootstrap_js_src_modal_js.js +923 -0
  43. package/fusionfile.mjs +26 -10
  44. package/package.json +11 -5
  45. package/scss/_variables.scss +1 -0
  46. package/scss/base/_typography.scss +9 -0
  47. package/scss/debugger.scss +47 -1
  48. package/src/debugger/App.vue +40 -16
  49. package/src/debugger/Store.vue +1 -1
  50. package/src/debugger/components/BsModal.vue +128 -0
  51. package/src/debugger/components/KeyValueTable.vue +51 -0
  52. package/src/debugger/components/db/{query-info.vue → QueryInfo.vue} +55 -27
  53. package/src/debugger/components/events/EventListenersTable.vue +75 -0
  54. package/src/debugger/components/timeline/TimelineTable.vue +107 -0
  55. package/src/debugger/debugger.js +4 -1
  56. package/src/debugger/font-awesome.js +23 -0
  57. package/src/debugger/layouts/DefaultLayout.vue +17 -2
  58. package/src/debugger/routes.js +5 -2
  59. package/src/debugger/services/utilities.js +18 -0
  60. package/src/debugger/views/Dashboard.vue +20 -10
  61. package/src/debugger/views/Database.vue +113 -26
  62. package/src/debugger/views/Events.vue +113 -0
  63. package/src/debugger/views/Request.vue +133 -1
  64. package/src/debugger/views/Routing.vue +210 -0
  65. package/src/debugger/views/System.vue +37 -8
  66. package/src/debugger/views/Timeline.vue +92 -0
  67. package/src/{webpack.config.js → debugger/webpack.config.js} +1 -1
  68. package/src/index.mjs +9 -9
  69. package/src/install-vendors.mjs +10 -3
  70. package/src/utils.mjs +1 -2
  71. package/dist/debugger/1.js +0 -2
  72. package/dist/debugger/1.js.map +0 -1
  73. package/dist/debugger/144.js +0 -2
  74. package/dist/debugger/144.js.map +0 -1
  75. package/dist/debugger/2.js +0 -8
  76. package/dist/debugger/2.js.map +0 -1
  77. package/dist/debugger/3.js +0 -2
  78. package/dist/debugger/3.js.map +0 -1
  79. package/dist/debugger/4.js +0 -2
  80. package/dist/debugger/4.js.map +0 -1
  81. package/dist/debugger/5.js +0 -2
  82. package/dist/debugger/5.js.map +0 -1
  83. package/dist/debugger/523.js +0 -2
  84. package/dist/debugger/523.js.map +0 -1
  85. package/dist/debugger/659.js +0 -3
  86. package/dist/debugger/659.js.LICENSE.txt +0 -6
  87. package/dist/debugger/659.js.map +0 -1
  88. package/dist/debugger/689.js +0 -2
  89. package/dist/debugger/689.js.map +0 -1
  90. package/dist/debugger/715.js +0 -2
  91. package/dist/debugger/715.js.map +0 -1
  92. package/dist/debugger/727.js +0 -3
  93. package/dist/debugger/727.js.LICENSE.txt +0 -6
  94. package/dist/debugger/727.js.map +0 -1
  95. package/dist/debugger/src_debugger_views_Dashboard_vue.js +0 -67
  96. package/dist/debugger/src_debugger_views_Database_vue.js +0 -187
  97. package/dist/debugger/src_debugger_views_Request_vue.js +0 -67
  98. package/dist/debugger/src_debugger_views_System_vue.js +0 -122
  99. package/dist/debugger/vendors-node_modules_sql-formatter_lib_sqlFormatter_js.js +0 -212
@@ -0,0 +1,3 @@
1
+ /*! For license information please see chunk-vendor-500.js.LICENSE.txt */
2
+ "use strict";(self.webpackChunk_windwalker_io_core=self.webpackChunk_windwalker_io_core||[]).push([[500],{6072:(t,r,e)=>{e.d(r,{Z:()=>g});var n=e(1525),o=e(3630),i={key:0},a={class:"p-3",style:{"background-color":"var(--bs-gray-200)"}},u={class:"text-xl font-bold text-gray-800"},c=(0,n.Uk)(),s={class:"text-muted"},l=(0,n.Uk)(),f=["href"],h=(0,n.Uk)(),p=e(457),d=e(5054),v=e(4545);const y={name:"DefaultLayout",setup:function(){var t=(0,p.yj)();return{currentId:v.p,currentData:v.I,route:t,goToLast:d.D}}},g=(0,e(4181).Z)(y,[["render",function(t,r,e,p,d,v){var y=(0,n.up)("fa-icon"),g=(0,n.up)("router-link");return p.currentData?((0,n.wg)(),(0,n.iD)("div",i,[(0,n._)("div",a,[(0,n._)("h1",u,[(0,n.WI)(t.$slots,"title")]),c,(0,n._)("div",s,[(0,n.Wm)(g,{to:"/",class:"btn btn-sm btn-primary"},{default:(0,n.w5)((function(){return[(0,n.Wm)(y,{icon:"fa-solid fa-list"})]})),_:1}),l,(0,n._)("button",{type:"button",onClick:r[0]||(r[0]=function(t){return p.goToLast("/"+p.route.name)}),class:"btn btn-sm btn-success"},[(0,n.Wm)(y,{icon:"fa-solid fa-arrows-rotate"})]),(0,n.Uk)("\r\n /\r\n "+(0,o.zw)(p.currentId)+"\r\n / ",1),(0,n._)("a",{target:"_blank",class:"text-gray-600",href:p.currentData.url},(0,o.zw)(p.currentData.url),9,f)])]),h,(0,n.WI)(t.$slots,"default")])):(0,n.kq)("",!0)}]])},5500:(t,r,e)=>{e.r(r),e.d(r,{default:()=>Z});var n=e(1525),o=(0,n.Uk)("\r\n Events\r\n "),i=(0,n.Uk)(),a={key:0,class:"p-4"},u={class:"l-section l-section--triggered"},c=(0,n._)("h3",null,"Event Triggered",-1),s=(0,n.Uk)(),l=(0,n.Uk)(),f={class:"l-section l-section--untriggered mt-5"},h=(0,n._)("h3",null,"Event Not Triggered (But has Listeners)",-1),p=(0,n.Uk)(),d=e(5556),v=e(3630),y={class:"table table-bordered"},g=(0,n._)("thead",null,[(0,n._)("tr",null,[(0,n._)("th",null,"\r\n Event Name\r\n "),(0,n.Uk)(),(0,n._)("th",null,"\r\n Times\r\n "),(0,n.Uk)(),(0,n._)("th",null,"\r\n Listener\r\n ")])],-1),m=(0,n.Uk)(),w=["rowspan"],b=(0,n.Uk)(),x=(0,n.Uk)(),L={key:1},_=(0,n.Uk)(),k=(0,n._)("td",null,"\r\n -\r\n ",-1),E=(0,n.Uk)(),j=(0,n._)("td",null,"\r\n -\r\n ",-1);const O={name:"EventListenersTable",props:{events:Object},setup:function(){var t=null;return{isFirstRow:function(r){var e=r!==t;return t=r,e}}}};var S=e(4181);const D=(0,S.Z)(O,[["render",function(t,r,e,o,i,a){return(0,n.wg)(),(0,n.iD)("table",y,[g,m,(0,n._)("tbody",null,[((0,n.wg)(!0),(0,n.iD)(n.HY,null,(0,n.Ko)(e.events,(function(t,r){return(0,n.wg)(),(0,n.iD)(n.HY,{key:r},[Object.keys(t).length>0?((0,n.wg)(!0),(0,n.iD)(n.HY,{key:0},(0,n.Ko)(t,(function(e,i){return(0,n.wg)(),(0,n.iD)("tr",null,[o.isFirstRow(r)?((0,n.wg)(),(0,n.iD)("td",{key:0,rowspan:Object.keys(t).length},[(0,n._)("pre",null,(0,v.zw)(r),1)],8,w)):(0,n.kq)("",!0),b,(0,n._)("td",null,(0,v.zw)(e),1),x,(0,n._)("td",null,[(0,n._)("pre",null,(0,v.zw)(i),1)])])})),256)):((0,n.wg)(),(0,n.iD)("tr",L,[(0,n._)("td",null,[(0,n._)("pre",null,(0,v.zw)(r),1)]),_,k,E,j]))],64)})),128))])])}]]);var N=e(6072),T=e(5518);function U(t){return U="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},U(t)}function G(){G=function(){return t};var t={},r=Object.prototype,e=r.hasOwnProperty,n="function"==typeof Symbol?Symbol:{},o=n.iterator||"@@iterator",i=n.asyncIterator||"@@asyncIterator",a=n.toStringTag||"@@toStringTag";function u(t,r,e){return Object.defineProperty(t,r,{value:e,enumerable:!0,configurable:!0,writable:!0}),t[r]}try{u({},"")}catch(t){u=function(t,r,e){return t[r]=e}}function c(t,r,e,n){var o=r&&r.prototype instanceof f?r:f,i=Object.create(o.prototype),a=new _(n||[]);return i._invoke=function(t,r,e){var n="suspendedStart";return function(o,i){if("executing"===n)throw new Error("Generator is already running");if("completed"===n){if("throw"===o)throw i;return{value:void 0,done:!0}}for(e.method=o,e.arg=i;;){var a=e.delegate;if(a){var u=b(a,e);if(u){if(u===l)continue;return u}}if("next"===e.method)e.sent=e._sent=e.arg;else if("throw"===e.method){if("suspendedStart"===n)throw n="completed",e.arg;e.dispatchException(e.arg)}else"return"===e.method&&e.abrupt("return",e.arg);n="executing";var c=s(t,r,e);if("normal"===c.type){if(n=e.done?"completed":"suspendedYield",c.arg===l)continue;return{value:c.arg,done:e.done}}"throw"===c.type&&(n="completed",e.method="throw",e.arg=c.arg)}}}(t,e,a),i}function s(t,r,e){try{return{type:"normal",arg:t.call(r,e)}}catch(t){return{type:"throw",arg:t}}}t.wrap=c;var l={};function f(){}function h(){}function p(){}var d={};u(d,o,(function(){return this}));var v=Object.getPrototypeOf,y=v&&v(v(k([])));y&&y!==r&&e.call(y,o)&&(d=y);var g=p.prototype=f.prototype=Object.create(d);function m(t){["next","throw","return"].forEach((function(r){u(t,r,(function(t){return this._invoke(r,t)}))}))}function w(t,r){function n(o,i,a,u){var c=s(t[o],t,i);if("throw"!==c.type){var l=c.arg,f=l.value;return f&&"object"==U(f)&&e.call(f,"__await")?r.resolve(f.__await).then((function(t){n("next",t,a,u)}),(function(t){n("throw",t,a,u)})):r.resolve(f).then((function(t){l.value=t,a(l)}),(function(t){return n("throw",t,a,u)}))}u(c.arg)}var o;this._invoke=function(t,e){function i(){return new r((function(r,o){n(t,e,r,o)}))}return o=o?o.then(i,i):i()}}function b(t,r){var e=t.iterator[r.method];if(void 0===e){if(r.delegate=null,"throw"===r.method){if(t.iterator.return&&(r.method="return",r.arg=void 0,b(t,r),"throw"===r.method))return l;r.method="throw",r.arg=new TypeError("The iterator does not provide a 'throw' method")}return l}var n=s(e,t.iterator,r.arg);if("throw"===n.type)return r.method="throw",r.arg=n.arg,r.delegate=null,l;var o=n.arg;return o?o.done?(r[t.resultName]=o.value,r.next=t.nextLoc,"return"!==r.method&&(r.method="next",r.arg=void 0),r.delegate=null,l):o:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,l)}function x(t){var r={tryLoc:t[0]};1 in t&&(r.catchLoc=t[1]),2 in t&&(r.finallyLoc=t[2],r.afterLoc=t[3]),this.tryEntries.push(r)}function L(t){var r=t.completion||{};r.type="normal",delete r.arg,t.completion=r}function _(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(x,this),this.reset(!0)}function k(t){if(t){var r=t[o];if(r)return r.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var n=-1,i=function r(){for(;++n<t.length;)if(e.call(t,n))return r.value=t[n],r.done=!1,r;return r.value=void 0,r.done=!0,r};return i.next=i}}return{next:E}}function E(){return{value:void 0,done:!0}}return h.prototype=p,u(g,"constructor",p),u(p,"constructor",h),h.displayName=u(p,a,"GeneratorFunction"),t.isGeneratorFunction=function(t){var r="function"==typeof t&&t.constructor;return!!r&&(r===h||"GeneratorFunction"===(r.displayName||r.name))},t.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,p):(t.__proto__=p,u(t,a,"GeneratorFunction")),t.prototype=Object.create(g),t},t.awrap=function(t){return{__await:t}},m(w.prototype),u(w.prototype,i,(function(){return this})),t.AsyncIterator=w,t.async=function(r,e,n,o,i){void 0===i&&(i=Promise);var a=new w(c(r,e,n,o),i);return t.isGeneratorFunction(e)?a:a.next().then((function(t){return t.done?t.value:a.next()}))},m(g),u(g,a,"Generator"),u(g,o,(function(){return this})),u(g,"toString",(function(){return"[object Generator]"})),t.keys=function(t){var r=[];for(var e in t)r.push(e);return r.reverse(),function e(){for(;r.length;){var n=r.pop();if(n in t)return e.value=n,e.done=!1,e}return e.done=!0,e}},t.values=k,_.prototype={constructor:_,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(L),!t)for(var r in this)"t"===r.charAt(0)&&e.call(this,r)&&!isNaN(+r.slice(1))&&(this[r]=void 0)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var r=this;function n(e,n){return a.type="throw",a.arg=t,r.next=e,n&&(r.method="next",r.arg=void 0),!!n}for(var o=this.tryEntries.length-1;o>=0;--o){var i=this.tryEntries[o],a=i.completion;if("root"===i.tryLoc)return n("end");if(i.tryLoc<=this.prev){var u=e.call(i,"catchLoc"),c=e.call(i,"finallyLoc");if(u&&c){if(this.prev<i.catchLoc)return n(i.catchLoc,!0);if(this.prev<i.finallyLoc)return n(i.finallyLoc)}else if(u){if(this.prev<i.catchLoc)return n(i.catchLoc,!0)}else{if(!c)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return n(i.finallyLoc)}}}},abrupt:function(t,r){for(var n=this.tryEntries.length-1;n>=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&e.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===t||"continue"===t)&&i.tryLoc<=r&&r<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=t,a.arg=r,i?(this.method="next",this.next=i.finallyLoc,l):this.complete(a)},complete:function(t,r){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&r&&(this.next=r),l},finish:function(t){for(var r=this.tryEntries.length-1;r>=0;--r){var e=this.tryEntries[r];if(e.finallyLoc===t)return this.complete(e.completion,e.afterLoc),L(e),l}},catch:function(t){for(var r=this.tryEntries.length-1;r>=0;--r){var e=this.tryEntries[r];if(e.tryLoc===t){var n=e.completion;if("throw"===n.type){var o=n.arg;L(e)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(t,r,e){return this.delegate={iterator:k(t),resultName:r,nextLoc:e},"next"===this.method&&(this.arg=void 0),l}},t}function P(t,r,e,n,o,i,a){try{var u=t[i](a),c=u.value}catch(t){return void e(t)}u.done?r(c):Promise.resolve(c).then(n,o)}function F(t){return function(){var r=this,e=arguments;return new Promise((function(n,o){var i=t.apply(r,e);function a(t){P(i,n,o,a,u,"next",t)}function u(t){P(i,n,o,a,u,"throw",t)}a(void 0)}))}}const I={name:"Events",components:{EventListenersTable:D,DefaultLayout:N.Z},beforeRouteEnter:function(t,r,e){return F(G().mark((function t(){return G().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:e(function(){var t=F(G().mark((function t(r){var e;return G().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,T.Z.get("ajax/data?path=events");case 2:e=t.sent,r.data=e.data.data;case 4:case"end":return t.stop()}}),t)})));return function(r){return t.apply(this,arguments)}}());case 1:case"end":return t.stop()}}),t)})))()},beforeRouteUpdate:function(t,r,e){var n=this;return F(G().mark((function t(){var r;return G().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,T.Z.get("ajax/data?path=events");case 2:r=t.sent,n.data=r.data.data;case 4:case"end":return t.stop()}}),t)})))()},setup:function(){return{data:(0,d.iH)(null)}}},Z=(0,S.Z)(I,[["render",function(t,r,e,d,v,y){var g=(0,n.up)("EventListenersTable"),m=(0,n.up)("DefaultLayout");return(0,n.wg)(),(0,n.j4)(m,null,{title:(0,n.w5)((function(){return[o]})),default:(0,n.w5)((function(){return[i,d.data?((0,n.wg)(),(0,n.iD)("div",a,[(0,n._)("section",u,[c,s,(0,n.Wm)(g,{events:d.data.invoked},null,8,["events"])]),l,(0,n._)("section",f,[h,p,(0,n.Wm)(g,{events:d.data.uninvoked},null,8,["events"])])])):(0,n.kq)("",!0)]})),_:1})}]])},5054:(t,r,e)=>{e.d(r,{D:()=>s});var n=e(8601),o=e(5518);function i(t){return i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},i(t)}function a(){a=function(){return t};var t={},r=Object.prototype,e=r.hasOwnProperty,n="function"==typeof Symbol?Symbol:{},o=n.iterator||"@@iterator",u=n.asyncIterator||"@@asyncIterator",c=n.toStringTag||"@@toStringTag";function s(t,r,e){return Object.defineProperty(t,r,{value:e,enumerable:!0,configurable:!0,writable:!0}),t[r]}try{s({},"")}catch(t){s=function(t,r,e){return t[r]=e}}function l(t,r,e,n){var o=r&&r.prototype instanceof p?r:p,i=Object.create(o.prototype),a=new E(n||[]);return i._invoke=function(t,r,e){var n="suspendedStart";return function(o,i){if("executing"===n)throw new Error("Generator is already running");if("completed"===n){if("throw"===o)throw i;return{value:void 0,done:!0}}for(e.method=o,e.arg=i;;){var a=e.delegate;if(a){var u=L(a,e);if(u){if(u===h)continue;return u}}if("next"===e.method)e.sent=e._sent=e.arg;else if("throw"===e.method){if("suspendedStart"===n)throw n="completed",e.arg;e.dispatchException(e.arg)}else"return"===e.method&&e.abrupt("return",e.arg);n="executing";var c=f(t,r,e);if("normal"===c.type){if(n=e.done?"completed":"suspendedYield",c.arg===h)continue;return{value:c.arg,done:e.done}}"throw"===c.type&&(n="completed",e.method="throw",e.arg=c.arg)}}}(t,e,a),i}function f(t,r,e){try{return{type:"normal",arg:t.call(r,e)}}catch(t){return{type:"throw",arg:t}}}t.wrap=l;var h={};function p(){}function d(){}function v(){}var y={};s(y,o,(function(){return this}));var g=Object.getPrototypeOf,m=g&&g(g(j([])));m&&m!==r&&e.call(m,o)&&(y=m);var w=v.prototype=p.prototype=Object.create(y);function b(t){["next","throw","return"].forEach((function(r){s(t,r,(function(t){return this._invoke(r,t)}))}))}function x(t,r){function n(o,a,u,c){var s=f(t[o],t,a);if("throw"!==s.type){var l=s.arg,h=l.value;return h&&"object"==i(h)&&e.call(h,"__await")?r.resolve(h.__await).then((function(t){n("next",t,u,c)}),(function(t){n("throw",t,u,c)})):r.resolve(h).then((function(t){l.value=t,u(l)}),(function(t){return n("throw",t,u,c)}))}c(s.arg)}var o;this._invoke=function(t,e){function i(){return new r((function(r,o){n(t,e,r,o)}))}return o=o?o.then(i,i):i()}}function L(t,r){var e=t.iterator[r.method];if(void 0===e){if(r.delegate=null,"throw"===r.method){if(t.iterator.return&&(r.method="return",r.arg=void 0,L(t,r),"throw"===r.method))return h;r.method="throw",r.arg=new TypeError("The iterator does not provide a 'throw' method")}return h}var n=f(e,t.iterator,r.arg);if("throw"===n.type)return r.method="throw",r.arg=n.arg,r.delegate=null,h;var o=n.arg;return o?o.done?(r[t.resultName]=o.value,r.next=t.nextLoc,"return"!==r.method&&(r.method="next",r.arg=void 0),r.delegate=null,h):o:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,h)}function _(t){var r={tryLoc:t[0]};1 in t&&(r.catchLoc=t[1]),2 in t&&(r.finallyLoc=t[2],r.afterLoc=t[3]),this.tryEntries.push(r)}function k(t){var r=t.completion||{};r.type="normal",delete r.arg,t.completion=r}function E(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(_,this),this.reset(!0)}function j(t){if(t){var r=t[o];if(r)return r.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var n=-1,i=function r(){for(;++n<t.length;)if(e.call(t,n))return r.value=t[n],r.done=!1,r;return r.value=void 0,r.done=!0,r};return i.next=i}}return{next:O}}function O(){return{value:void 0,done:!0}}return d.prototype=v,s(w,"constructor",v),s(v,"constructor",d),d.displayName=s(v,c,"GeneratorFunction"),t.isGeneratorFunction=function(t){var r="function"==typeof t&&t.constructor;return!!r&&(r===d||"GeneratorFunction"===(r.displayName||r.name))},t.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,v):(t.__proto__=v,s(t,c,"GeneratorFunction")),t.prototype=Object.create(w),t},t.awrap=function(t){return{__await:t}},b(x.prototype),s(x.prototype,u,(function(){return this})),t.AsyncIterator=x,t.async=function(r,e,n,o,i){void 0===i&&(i=Promise);var a=new x(l(r,e,n,o),i);return t.isGeneratorFunction(e)?a:a.next().then((function(t){return t.done?t.value:a.next()}))},b(w),s(w,c,"Generator"),s(w,o,(function(){return this})),s(w,"toString",(function(){return"[object Generator]"})),t.keys=function(t){var r=[];for(var e in t)r.push(e);return r.reverse(),function e(){for(;r.length;){var n=r.pop();if(n in t)return e.value=n,e.done=!1,e}return e.done=!0,e}},t.values=j,E.prototype={constructor:E,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(k),!t)for(var r in this)"t"===r.charAt(0)&&e.call(this,r)&&!isNaN(+r.slice(1))&&(this[r]=void 0)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var r=this;function n(e,n){return a.type="throw",a.arg=t,r.next=e,n&&(r.method="next",r.arg=void 0),!!n}for(var o=this.tryEntries.length-1;o>=0;--o){var i=this.tryEntries[o],a=i.completion;if("root"===i.tryLoc)return n("end");if(i.tryLoc<=this.prev){var u=e.call(i,"catchLoc"),c=e.call(i,"finallyLoc");if(u&&c){if(this.prev<i.catchLoc)return n(i.catchLoc,!0);if(this.prev<i.finallyLoc)return n(i.finallyLoc)}else if(u){if(this.prev<i.catchLoc)return n(i.catchLoc,!0)}else{if(!c)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return n(i.finallyLoc)}}}},abrupt:function(t,r){for(var n=this.tryEntries.length-1;n>=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&e.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===t||"continue"===t)&&i.tryLoc<=r&&r<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=t,a.arg=r,i?(this.method="next",this.next=i.finallyLoc,h):this.complete(a)},complete:function(t,r){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&r&&(this.next=r),h},finish:function(t){for(var r=this.tryEntries.length-1;r>=0;--r){var e=this.tryEntries[r];if(e.finallyLoc===t)return this.complete(e.completion,e.afterLoc),k(e),h}},catch:function(t){for(var r=this.tryEntries.length-1;r>=0;--r){var e=this.tryEntries[r];if(e.tryLoc===t){var n=e.completion;if("throw"===n.type){var o=n.arg;k(e)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(t,r,e){return this.delegate={iterator:j(t),resultName:r,nextLoc:e},"next"===this.method&&(this.arg=void 0),h}},t}function u(t,r,e,n,o,i,a){try{var u=t[i](a),c=u.value}catch(t){return void e(t)}u.done?r(c):Promise.resolve(c).then(n,o)}function c(t){return function(){var r=this,e=arguments;return new Promise((function(n,o){var i=t.apply(r,e);function a(t){u(i,n,o,a,c,"next",t)}function c(t){u(i,n,o,a,c,"throw",t)}a(void 0)}))}}function s(){return l.apply(this,arguments)}function l(){return l=c(a().mark((function t(){var r,e,i,u=arguments;return a().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return r=u.length>0&&void 0!==u[0]?u[0]:null,t.next=3,o.Z.get("ajax/last");case 3:return e=t.sent,i="",i=r?r+="/"+e.data.data:"/system/"+e.data.data,t.abrupt("return",n.Z.push(i));case 7:case"end":return t.stop()}}),t)}))),l.apply(this,arguments)}}}]);
3
+ //# sourceMappingURL=500.js.map
@@ -0,0 +1,8 @@
1
+ /*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */
2
+
3
+ /**
4
+ * Part of starter project.
5
+ *
6
+ * @copyright Copyright (C) 2021 __ORGANIZATION__.
7
+ * @license __LICENSE__
8
+ */
@@ -0,0 +1,3 @@
1
+ /*! For license information please see chunk-vendor-548.js.LICENSE.txt */
2
+ "use strict";(self.webpackChunk_windwalker_io_core=self.webpackChunk_windwalker_io_core||[]).push([[548],{6072:(t,e,r)=>{r.d(e,{Z:()=>m});var n=r(1525),o=r(3630),i={key:0},a={class:"p-3",style:{"background-color":"var(--bs-gray-200)"}},u={class:"text-xl font-bold text-gray-800"},c=(0,n.Uk)(),s={class:"text-muted"},l=(0,n.Uk)(),f=["href"],h=(0,n.Uk)(),d=r(457),p=r(5054),y=r(4545);const v={name:"DefaultLayout",setup:function(){var t=(0,d.yj)();return{currentId:y.p,currentData:y.I,route:t,goToLast:p.D}}},m=(0,r(4181).Z)(v,[["render",function(t,e,r,d,p,y){var v=(0,n.up)("fa-icon"),m=(0,n.up)("router-link");return d.currentData?((0,n.wg)(),(0,n.iD)("div",i,[(0,n._)("div",a,[(0,n._)("h1",u,[(0,n.WI)(t.$slots,"title")]),c,(0,n._)("div",s,[(0,n.Wm)(m,{to:"/",class:"btn btn-sm btn-primary"},{default:(0,n.w5)((function(){return[(0,n.Wm)(v,{icon:"fa-solid fa-list"})]})),_:1}),l,(0,n._)("button",{type:"button",onClick:e[0]||(e[0]=function(t){return d.goToLast("/"+d.route.name)}),class:"btn btn-sm btn-success"},[(0,n.Wm)(v,{icon:"fa-solid fa-arrows-rotate"})]),(0,n.Uk)("\r\n /\r\n "+(0,o.zw)(d.currentId)+"\r\n / ",1),(0,n._)("a",{target:"_blank",class:"text-gray-600",href:d.currentData.url},(0,o.zw)(d.currentData.url),9,f)])]),h,(0,n.WI)(t.$slots,"default")])):(0,n.kq)("",!0)}]])},7548:(t,e,r)=>{r.r(e),r.d(e,{default:()=>H});var n=r(1525),o=r(3630),i=(0,n.Uk)("\r\n Timeline\r\n "),a=(0,n.Uk)(),u={key:0,class:"p-4"},c={class:"l-section l-section--system"},s=(0,n._)("h3",null,"System Timeline",-1),l=(0,n.Uk)(),f=(0,n.Uk)(),h={class:"l-section l-section--profilers mt-5"},d={class:"nav nav-pills",id:"profilers-tab",role:"tablist"},p={class:"nav-item",role:"presentation"},y=["data-bs-target"],v=(0,n.Uk)(),m={class:"tab-content mt-4",id:"myTabContent"},g=["id"],w={class:""},b=r(5556),x={class:"table table-bordered"},_=(0,n._)("thead",null,[(0,n._)("tr",null,[(0,n._)("th",null,"Label"),(0,n.Uk)(),(0,n._)("th",{class:"text-end"},"Total Time"),(0,n.Uk)(),(0,n._)("th",{class:"text-end"},"Time"),(0,n.Uk)(),(0,n._)("th",{class:"text-end"},"Total Memory"),(0,n.Uk)(),(0,n._)("th",{class:"text-end"},"Memory")])],-1),L=(0,n.Uk)(),k=(0,n.Uk)(),E={class:"text-end"},T={class:"badge bg-secondary"},O=(0,n.Uk)(),j={key:0,class:"text-end"},S=(0,n.Uk)(),D={class:"text-end"},U={class:"badge bg-secondary"},G=(0,n.Uk)(),C={key:1,class:"text-end"},N=r(7297);const P={name:"TimelineTable",props:{items:Array},setup:function(){var t=0,e=0,r=0,n=0;return{getTimeOffset:function(r){return e=r-t,t=r,e},getCurrentTimeOffset:function(){return e},getMemoryOffset:function(t){return n=t-r,r=t,n},getCurrentMemoryOffset:function(){return n},stateColor:N.G,bytesToMB:function(t){return t/1024/1024},round:function(t){return Math.round(1e4*t)/1e4}}}};var M=r(4181);const I=(0,M.Z)(P,[["render",function(t,e,r,i,a,u){return(0,n.wg)(),(0,n.iD)("div",null,[(0,n._)("table",x,[_,L,(0,n._)("tbody",null,[((0,n.wg)(!0),(0,n.iD)(n.HY,null,(0,n.Ko)(r.items,(function(t){return(0,n.wg)(),(0,n.iD)("tr",null,[(0,n._)("td",null,(0,o.zw)(t.label),1),k,(0,n._)("td",E,[(0,n._)("span",T,(0,o.zw)(i.round(t.endTime))+"ms\r\n ",1)]),O,(i.getTimeOffset(t.endTime),(0,n.wg)(),(0,n.iD)("td",j,[(0,n._)("span",{class:(0,o.C_)(["badge","bg-"+i.stateColor(i.getCurrentTimeOffset(),50)])},(0,o.zw)(i.round(i.getCurrentTimeOffset()))+"ms\r\n ",3)])),S,(0,n._)("td",D,[(0,n._)("span",U,(0,o.zw)(i.round(i.bytesToMB(t.memory)))+"MB\r\n ",1)]),G,(i.getMemoryOffset(t.memory),(0,n.wg)(),(0,n.iD)("td",C,[(0,n._)("span",{class:(0,o.C_)(["badge","bg-"+i.stateColor(i.bytesToMB(i.getCurrentMemoryOffset()),2)])},(0,o.zw)(i.round(i.bytesToMB(i.getCurrentMemoryOffset())))+"MB\r\n ",3)]))])})),256))])])])}]]);var F=r(6072),Z=r(5518);function z(t){return z="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},z(t)}function W(){W=function(){return t};var t={},e=Object.prototype,r=e.hasOwnProperty,n="function"==typeof Symbol?Symbol:{},o=n.iterator||"@@iterator",i=n.asyncIterator||"@@asyncIterator",a=n.toStringTag||"@@toStringTag";function u(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{u({},"")}catch(t){u=function(t,e,r){return t[e]=r}}function c(t,e,r,n){var o=e&&e.prototype instanceof f?e:f,i=Object.create(o.prototype),a=new L(n||[]);return i._invoke=function(t,e,r){var n="suspendedStart";return function(o,i){if("executing"===n)throw new Error("Generator is already running");if("completed"===n){if("throw"===o)throw i;return{value:void 0,done:!0}}for(r.method=o,r.arg=i;;){var a=r.delegate;if(a){var u=b(a,r);if(u){if(u===l)continue;return u}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if("suspendedStart"===n)throw n="completed",r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);n="executing";var c=s(t,e,r);if("normal"===c.type){if(n=r.done?"completed":"suspendedYield",c.arg===l)continue;return{value:c.arg,done:r.done}}"throw"===c.type&&(n="completed",r.method="throw",r.arg=c.arg)}}}(t,r,a),i}function s(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}t.wrap=c;var l={};function f(){}function h(){}function d(){}var p={};u(p,o,(function(){return this}));var y=Object.getPrototypeOf,v=y&&y(y(k([])));v&&v!==e&&r.call(v,o)&&(p=v);var m=d.prototype=f.prototype=Object.create(p);function g(t){["next","throw","return"].forEach((function(e){u(t,e,(function(t){return this._invoke(e,t)}))}))}function w(t,e){function n(o,i,a,u){var c=s(t[o],t,i);if("throw"!==c.type){var l=c.arg,f=l.value;return f&&"object"==z(f)&&r.call(f,"__await")?e.resolve(f.__await).then((function(t){n("next",t,a,u)}),(function(t){n("throw",t,a,u)})):e.resolve(f).then((function(t){l.value=t,a(l)}),(function(t){return n("throw",t,a,u)}))}u(c.arg)}var o;this._invoke=function(t,r){function i(){return new e((function(e,o){n(t,r,e,o)}))}return o=o?o.then(i,i):i()}}function b(t,e){var r=t.iterator[e.method];if(void 0===r){if(e.delegate=null,"throw"===e.method){if(t.iterator.return&&(e.method="return",e.arg=void 0,b(t,e),"throw"===e.method))return l;e.method="throw",e.arg=new TypeError("The iterator does not provide a 'throw' method")}return l}var n=s(r,t.iterator,e.arg);if("throw"===n.type)return e.method="throw",e.arg=n.arg,e.delegate=null,l;var o=n.arg;return o?o.done?(e[t.resultName]=o.value,e.next=t.nextLoc,"return"!==e.method&&(e.method="next",e.arg=void 0),e.delegate=null,l):o:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,l)}function x(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function _(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function L(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(x,this),this.reset(!0)}function k(t){if(t){var e=t[o];if(e)return e.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var n=-1,i=function e(){for(;++n<t.length;)if(r.call(t,n))return e.value=t[n],e.done=!1,e;return e.value=void 0,e.done=!0,e};return i.next=i}}return{next:E}}function E(){return{value:void 0,done:!0}}return h.prototype=d,u(m,"constructor",d),u(d,"constructor",h),h.displayName=u(d,a,"GeneratorFunction"),t.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===h||"GeneratorFunction"===(e.displayName||e.name))},t.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,d):(t.__proto__=d,u(t,a,"GeneratorFunction")),t.prototype=Object.create(m),t},t.awrap=function(t){return{__await:t}},g(w.prototype),u(w.prototype,i,(function(){return this})),t.AsyncIterator=w,t.async=function(e,r,n,o,i){void 0===i&&(i=Promise);var a=new w(c(e,r,n,o),i);return t.isGeneratorFunction(r)?a:a.next().then((function(t){return t.done?t.value:a.next()}))},g(m),u(m,a,"Generator"),u(m,o,(function(){return this})),u(m,"toString",(function(){return"[object Generator]"})),t.keys=function(t){var e=[];for(var r in t)e.push(r);return e.reverse(),function r(){for(;e.length;){var n=e.pop();if(n in t)return r.value=n,r.done=!1,r}return r.done=!0,r}},t.values=k,L.prototype={constructor:L,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(_),!t)for(var e in this)"t"===e.charAt(0)&&r.call(this,e)&&!isNaN(+e.slice(1))&&(this[e]=void 0)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var e=this;function n(r,n){return a.type="throw",a.arg=t,e.next=r,n&&(e.method="next",e.arg=void 0),!!n}for(var o=this.tryEntries.length-1;o>=0;--o){var i=this.tryEntries[o],a=i.completion;if("root"===i.tryLoc)return n("end");if(i.tryLoc<=this.prev){var u=r.call(i,"catchLoc"),c=r.call(i,"finallyLoc");if(u&&c){if(this.prev<i.catchLoc)return n(i.catchLoc,!0);if(this.prev<i.finallyLoc)return n(i.finallyLoc)}else if(u){if(this.prev<i.catchLoc)return n(i.catchLoc,!0)}else{if(!c)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return n(i.finallyLoc)}}}},abrupt:function(t,e){for(var n=this.tryEntries.length-1;n>=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&r.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===t||"continue"===t)&&i.tryLoc<=e&&e<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=t,a.arg=e,i?(this.method="next",this.next=i.finallyLoc,l):this.complete(a)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),l},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),_(r),l}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;_(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,r){return this.delegate={iterator:k(t),resultName:e,nextLoc:r},"next"===this.method&&(this.arg=void 0),l}},t}function Y(t,e,r,n,o,i,a){try{var u=t[i](a),c=u.value}catch(t){return void r(t)}u.done?e(c):Promise.resolve(c).then(n,o)}function B(t){return function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){Y(i,n,o,a,u,"next",t)}function u(t){Y(i,n,o,a,u,"throw",t)}a(void 0)}))}}const A={name:"Timeline",components:{TimelineTable:I,DefaultLayout:F.Z},beforeRouteEnter:function(t,e,r){return B(W().mark((function t(){return W().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:r(function(){var t=B(W().mark((function t(e){var r;return W().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,Z.Z.get("ajax/data?path=profiler");case 2:r=t.sent,e.data=r.data.data;case 4:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}());case 1:case"end":return t.stop()}}),t)})))()},beforeRouteUpdate:function(t,e,r){var n=this;return B(W().mark((function t(){var e;return W().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,Z.Z.get("ajax/data?path=profiler");case 2:e=t.sent,n.data=e.data.data;case 4:case"end":return t.stop()}}),t)})))()},setup:function(){var t=(0,b.iH)(null),e=(0,n.Fl)((function(){return Object.keys(t.value)})),r=(0,n.Fl)((function(){return t.value&&t.value.main.items.filter((function(t){return-1!==(t.tags||[]).indexOf("system")}))||[]}));return{data:t,instances:e,systemItems:r}}},H=(0,M.Z)(A,[["render",function(t,e,r,b,x,_){var L=(0,n.up)("TimelineTable"),k=(0,n.up)("DefaultLayout");return(0,n.wg)(),(0,n.j4)(k,null,{title:(0,n.w5)((function(){return[i]})),default:(0,n.w5)((function(){return[a,b.data?((0,n.wg)(),(0,n.iD)("div",u,[(0,n._)("section",c,[s,l,(0,n.Wm)(L,{items:b.systemItems},null,8,["items"])]),f,(0,n._)("section",h,[(0,n._)("ul",d,[((0,n.wg)(!0),(0,n.iD)(n.HY,null,(0,n.Ko)(b.instances,(function(t,e){return(0,n.wg)(),(0,n.iD)("li",p,[(0,n._)("button",{class:"nav-link active",id:"home-tab","data-bs-toggle":"tab","data-bs-target":"tab-".concat(t),type:"button",role:"tab","aria-selected":"true"},(0,o.zw)(t),9,y)])})),256))]),v,(0,n._)("div",m,[((0,n.wg)(!0),(0,n.iD)(n.HY,null,(0,n.Ko)(b.instances,(function(t,e){return(0,n.wg)(),(0,n.iD)("div",{class:(0,o.C_)(["tab-pane fade",[0===e?"show active":""]]),id:"tab-".concat(t),role:"tabpanel",tabindex:"0"},[(0,n._)("div",w,[(0,n.Wm)(L,{items:b.data[t].items},null,8,["items"])])],10,g)})),256))])])])):(0,n.kq)("",!0)]})),_:1})}]])},5054:(t,e,r)=>{r.d(e,{D:()=>s});var n=r(8601),o=r(5518);function i(t){return i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},i(t)}function a(){a=function(){return t};var t={},e=Object.prototype,r=e.hasOwnProperty,n="function"==typeof Symbol?Symbol:{},o=n.iterator||"@@iterator",u=n.asyncIterator||"@@asyncIterator",c=n.toStringTag||"@@toStringTag";function s(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{s({},"")}catch(t){s=function(t,e,r){return t[e]=r}}function l(t,e,r,n){var o=e&&e.prototype instanceof d?e:d,i=Object.create(o.prototype),a=new E(n||[]);return i._invoke=function(t,e,r){var n="suspendedStart";return function(o,i){if("executing"===n)throw new Error("Generator is already running");if("completed"===n){if("throw"===o)throw i;return{value:void 0,done:!0}}for(r.method=o,r.arg=i;;){var a=r.delegate;if(a){var u=_(a,r);if(u){if(u===h)continue;return u}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if("suspendedStart"===n)throw n="completed",r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);n="executing";var c=f(t,e,r);if("normal"===c.type){if(n=r.done?"completed":"suspendedYield",c.arg===h)continue;return{value:c.arg,done:r.done}}"throw"===c.type&&(n="completed",r.method="throw",r.arg=c.arg)}}}(t,r,a),i}function f(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}t.wrap=l;var h={};function d(){}function p(){}function y(){}var v={};s(v,o,(function(){return this}));var m=Object.getPrototypeOf,g=m&&m(m(T([])));g&&g!==e&&r.call(g,o)&&(v=g);var w=y.prototype=d.prototype=Object.create(v);function b(t){["next","throw","return"].forEach((function(e){s(t,e,(function(t){return this._invoke(e,t)}))}))}function x(t,e){function n(o,a,u,c){var s=f(t[o],t,a);if("throw"!==s.type){var l=s.arg,h=l.value;return h&&"object"==i(h)&&r.call(h,"__await")?e.resolve(h.__await).then((function(t){n("next",t,u,c)}),(function(t){n("throw",t,u,c)})):e.resolve(h).then((function(t){l.value=t,u(l)}),(function(t){return n("throw",t,u,c)}))}c(s.arg)}var o;this._invoke=function(t,r){function i(){return new e((function(e,o){n(t,r,e,o)}))}return o=o?o.then(i,i):i()}}function _(t,e){var r=t.iterator[e.method];if(void 0===r){if(e.delegate=null,"throw"===e.method){if(t.iterator.return&&(e.method="return",e.arg=void 0,_(t,e),"throw"===e.method))return h;e.method="throw",e.arg=new TypeError("The iterator does not provide a 'throw' method")}return h}var n=f(r,t.iterator,e.arg);if("throw"===n.type)return e.method="throw",e.arg=n.arg,e.delegate=null,h;var o=n.arg;return o?o.done?(e[t.resultName]=o.value,e.next=t.nextLoc,"return"!==e.method&&(e.method="next",e.arg=void 0),e.delegate=null,h):o:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,h)}function L(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function k(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function E(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(L,this),this.reset(!0)}function T(t){if(t){var e=t[o];if(e)return e.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var n=-1,i=function e(){for(;++n<t.length;)if(r.call(t,n))return e.value=t[n],e.done=!1,e;return e.value=void 0,e.done=!0,e};return i.next=i}}return{next:O}}function O(){return{value:void 0,done:!0}}return p.prototype=y,s(w,"constructor",y),s(y,"constructor",p),p.displayName=s(y,c,"GeneratorFunction"),t.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===p||"GeneratorFunction"===(e.displayName||e.name))},t.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,y):(t.__proto__=y,s(t,c,"GeneratorFunction")),t.prototype=Object.create(w),t},t.awrap=function(t){return{__await:t}},b(x.prototype),s(x.prototype,u,(function(){return this})),t.AsyncIterator=x,t.async=function(e,r,n,o,i){void 0===i&&(i=Promise);var a=new x(l(e,r,n,o),i);return t.isGeneratorFunction(r)?a:a.next().then((function(t){return t.done?t.value:a.next()}))},b(w),s(w,c,"Generator"),s(w,o,(function(){return this})),s(w,"toString",(function(){return"[object Generator]"})),t.keys=function(t){var e=[];for(var r in t)e.push(r);return e.reverse(),function r(){for(;e.length;){var n=e.pop();if(n in t)return r.value=n,r.done=!1,r}return r.done=!0,r}},t.values=T,E.prototype={constructor:E,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(k),!t)for(var e in this)"t"===e.charAt(0)&&r.call(this,e)&&!isNaN(+e.slice(1))&&(this[e]=void 0)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var e=this;function n(r,n){return a.type="throw",a.arg=t,e.next=r,n&&(e.method="next",e.arg=void 0),!!n}for(var o=this.tryEntries.length-1;o>=0;--o){var i=this.tryEntries[o],a=i.completion;if("root"===i.tryLoc)return n("end");if(i.tryLoc<=this.prev){var u=r.call(i,"catchLoc"),c=r.call(i,"finallyLoc");if(u&&c){if(this.prev<i.catchLoc)return n(i.catchLoc,!0);if(this.prev<i.finallyLoc)return n(i.finallyLoc)}else if(u){if(this.prev<i.catchLoc)return n(i.catchLoc,!0)}else{if(!c)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return n(i.finallyLoc)}}}},abrupt:function(t,e){for(var n=this.tryEntries.length-1;n>=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&r.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===t||"continue"===t)&&i.tryLoc<=e&&e<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=t,a.arg=e,i?(this.method="next",this.next=i.finallyLoc,h):this.complete(a)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),h},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),k(r),h}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;k(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,r){return this.delegate={iterator:T(t),resultName:e,nextLoc:r},"next"===this.method&&(this.arg=void 0),h}},t}function u(t,e,r,n,o,i,a){try{var u=t[i](a),c=u.value}catch(t){return void r(t)}u.done?e(c):Promise.resolve(c).then(n,o)}function c(t){return function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){u(i,n,o,a,c,"next",t)}function c(t){u(i,n,o,a,c,"throw",t)}a(void 0)}))}}function s(){return l.apply(this,arguments)}function l(){return l=c(a().mark((function t(){var e,r,i,u=arguments;return a().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return e=u.length>0&&void 0!==u[0]?u[0]:null,t.next=3,o.Z.get("ajax/last");case 3:return r=t.sent,i="",i=e?e+="/"+r.data.data:"/system/"+r.data.data,t.abrupt("return",n.Z.push(i));case 7:case"end":return t.stop()}}),t)}))),l.apply(this,arguments)}},7297:(t,e,r)=>{function n(t,e){return t>2*e?"danger":t>1.5*e?"warning":t<e/2?"success":"info"}r.d(e,{G:()=>n})}}]);
3
+ //# sourceMappingURL=548.js.map
@@ -0,0 +1,15 @@
1
+ /*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */
2
+
3
+ /**
4
+ * Part of earth project.
5
+ *
6
+ * @copyright Copyright (C) 2022 __ORGANIZATION__.
7
+ * @license __LICENSE__
8
+ */
9
+
10
+ /**
11
+ * Part of starter project.
12
+ *
13
+ * @copyright Copyright (C) 2021 __ORGANIZATION__.
14
+ * @license __LICENSE__
15
+ */
@@ -0,0 +1,3 @@
1
+ /*! For license information please see chunk-vendor-694.js.LICENSE.txt */
2
+ "use strict";(self.webpackChunk_windwalker_io_core=self.webpackChunk_windwalker_io_core||[]).push([[694],{8694:(t,e,r)=>{r.r(e),r.d(e,{default:()=>at});var n=r(1525),o=r(1456),a=(0,n.Uk)("\r\n Request\r\n "),i=(0,n.Uk)(),c={key:0,ref:"root",class:"p-4"},s={class:"l-section l-section--get mt-5"},u=(0,n._)("h3",null,"GET Variables",-1),l=(0,n.Uk)(),f=(0,n.Uk)(),h={class:"l-section l-section--body mt-5"},p=(0,n._)("h3",null,"Body Variables",-1),v=(0,n.Uk)(),d=(0,n.Uk)(),y={class:"l-section l-section--files mt-5"},m=(0,n._)("h3",null,"FILES Variables",-1),g=(0,n.Uk)(),w=(0,n.Uk)(),k={class:"l-section l-section--session mt-5"},b=(0,n._)("h3",null,"Session Variables",-1),_=(0,n.Uk)(),x=(0,n.Uk)(),E={class:"l-section l-section--cookies mt-5"},L=(0,n._)("h3",null,"Cookies Variables",-1),U=(0,n.Uk)(),V=(0,n.Uk)(),S={class:"l-section l-section--server mt-5"},j=(0,n._)("h3",null,"SERVER Variables",-1),q=(0,n.Uk)(),O=(0,n.Uk)(),C={class:"l-section l-section--env mt-5"},T=(0,n._)("h3",null,"ENV Variables",-1),G=(0,n.Uk)(),N=(0,n.Uk)(),R={class:"nav flex-column ps-4 small"},P={class:"nav-item"},F=(0,n.Uk)(),M={class:"nav-item"},W=(0,n.Uk)(),Z={class:"nav-item"},I=(0,n.Uk)(),D={class:"nav-item"},A=(0,n.Uk)(),B={class:"nav-item"},H=(0,n.Uk)(),K={class:"nav-item"},Y=(0,n.Uk)(),z={class:"nav-item"},J=r(5556),Q=r(5955),X=r(6072),$=r(5518);function tt(t){return tt="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},tt(t)}function et(){et=function(){return t};var t={},e=Object.prototype,r=e.hasOwnProperty,n="function"==typeof Symbol?Symbol:{},o=n.iterator||"@@iterator",a=n.asyncIterator||"@@asyncIterator",i=n.toStringTag||"@@toStringTag";function c(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{c({},"")}catch(t){c=function(t,e,r){return t[e]=r}}function s(t,e,r,n){var o=e&&e.prototype instanceof f?e:f,a=Object.create(o.prototype),i=new x(n||[]);return a._invoke=function(t,e,r){var n="suspendedStart";return function(o,a){if("executing"===n)throw new Error("Generator is already running");if("completed"===n){if("throw"===o)throw a;return{value:void 0,done:!0}}for(r.method=o,r.arg=a;;){var i=r.delegate;if(i){var c=k(i,r);if(c){if(c===l)continue;return c}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if("suspendedStart"===n)throw n="completed",r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);n="executing";var s=u(t,e,r);if("normal"===s.type){if(n=r.done?"completed":"suspendedYield",s.arg===l)continue;return{value:s.arg,done:r.done}}"throw"===s.type&&(n="completed",r.method="throw",r.arg=s.arg)}}}(t,r,i),a}function u(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}t.wrap=s;var l={};function f(){}function h(){}function p(){}var v={};c(v,o,(function(){return this}));var d=Object.getPrototypeOf,y=d&&d(d(E([])));y&&y!==e&&r.call(y,o)&&(v=y);var m=p.prototype=f.prototype=Object.create(v);function g(t){["next","throw","return"].forEach((function(e){c(t,e,(function(t){return this._invoke(e,t)}))}))}function w(t,e){function n(o,a,i,c){var s=u(t[o],t,a);if("throw"!==s.type){var l=s.arg,f=l.value;return f&&"object"==tt(f)&&r.call(f,"__await")?e.resolve(f.__await).then((function(t){n("next",t,i,c)}),(function(t){n("throw",t,i,c)})):e.resolve(f).then((function(t){l.value=t,i(l)}),(function(t){return n("throw",t,i,c)}))}c(s.arg)}var o;this._invoke=function(t,r){function a(){return new e((function(e,o){n(t,r,e,o)}))}return o=o?o.then(a,a):a()}}function k(t,e){var r=t.iterator[e.method];if(void 0===r){if(e.delegate=null,"throw"===e.method){if(t.iterator.return&&(e.method="return",e.arg=void 0,k(t,e),"throw"===e.method))return l;e.method="throw",e.arg=new TypeError("The iterator does not provide a 'throw' method")}return l}var n=u(r,t.iterator,e.arg);if("throw"===n.type)return e.method="throw",e.arg=n.arg,e.delegate=null,l;var o=n.arg;return o?o.done?(e[t.resultName]=o.value,e.next=t.nextLoc,"return"!==e.method&&(e.method="next",e.arg=void 0),e.delegate=null,l):o:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,l)}function b(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function _(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function x(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(b,this),this.reset(!0)}function E(t){if(t){var e=t[o];if(e)return e.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var n=-1,a=function e(){for(;++n<t.length;)if(r.call(t,n))return e.value=t[n],e.done=!1,e;return e.value=void 0,e.done=!0,e};return a.next=a}}return{next:L}}function L(){return{value:void 0,done:!0}}return h.prototype=p,c(m,"constructor",p),c(p,"constructor",h),h.displayName=c(p,i,"GeneratorFunction"),t.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===h||"GeneratorFunction"===(e.displayName||e.name))},t.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,p):(t.__proto__=p,c(t,i,"GeneratorFunction")),t.prototype=Object.create(m),t},t.awrap=function(t){return{__await:t}},g(w.prototype),c(w.prototype,a,(function(){return this})),t.AsyncIterator=w,t.async=function(e,r,n,o,a){void 0===a&&(a=Promise);var i=new w(s(e,r,n,o),a);return t.isGeneratorFunction(r)?i:i.next().then((function(t){return t.done?t.value:i.next()}))},g(m),c(m,i,"Generator"),c(m,o,(function(){return this})),c(m,"toString",(function(){return"[object Generator]"})),t.keys=function(t){var e=[];for(var r in t)e.push(r);return e.reverse(),function r(){for(;e.length;){var n=e.pop();if(n in t)return r.value=n,r.done=!1,r}return r.done=!0,r}},t.values=E,x.prototype={constructor:x,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(_),!t)for(var e in this)"t"===e.charAt(0)&&r.call(this,e)&&!isNaN(+e.slice(1))&&(this[e]=void 0)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var e=this;function n(r,n){return i.type="throw",i.arg=t,e.next=r,n&&(e.method="next",e.arg=void 0),!!n}for(var o=this.tryEntries.length-1;o>=0;--o){var a=this.tryEntries[o],i=a.completion;if("root"===a.tryLoc)return n("end");if(a.tryLoc<=this.prev){var c=r.call(a,"catchLoc"),s=r.call(a,"finallyLoc");if(c&&s){if(this.prev<a.catchLoc)return n(a.catchLoc,!0);if(this.prev<a.finallyLoc)return n(a.finallyLoc)}else if(c){if(this.prev<a.catchLoc)return n(a.catchLoc,!0)}else{if(!s)throw new Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return n(a.finallyLoc)}}}},abrupt:function(t,e){for(var n=this.tryEntries.length-1;n>=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&r.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var a=o;break}}a&&("break"===t||"continue"===t)&&a.tryLoc<=e&&e<=a.finallyLoc&&(a=null);var i=a?a.completion:{};return i.type=t,i.arg=e,a?(this.method="next",this.next=a.finallyLoc,l):this.complete(i)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),l},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),_(r),l}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;_(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,r){return this.delegate={iterator:E(t),resultName:e,nextLoc:r},"next"===this.method&&(this.arg=void 0),l}},t}function rt(t,e,r,n,o,a,i){try{var c=t[a](i),s=c.value}catch(t){return void r(t)}c.done?e(s):Promise.resolve(s).then(n,o)}function nt(t){return function(){var e=this,r=arguments;return new Promise((function(n,o){var a=t.apply(e,r);function i(t){rt(a,n,o,i,c,"next",t)}function c(t){rt(a,n,o,i,c,"throw",t)}i(void 0)}))}}const ot={name:"Request",components:{KeyValueTable:Q.Z,DefaultLayout:X.Z},beforeRouteEnter:function(t,e,r){return nt(et().mark((function t(){return et().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:r(function(){var t=nt(et().mark((function t(e){var r;return et().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,$.Z.get("ajax/data?path=http");case 2:r=t.sent,e.data=r.data.data;case 4:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}());case 1:case"end":return t.stop()}}),t)})))()},beforeRouteUpdate:function(t,e,r){var n=this;return nt(et().mark((function t(){var e;return et().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,$.Z.get("ajax/data?path=http");case 2:e=t.sent,n.data=e.data.data;case 4:case"end":return t.stop()}}),t)})))()},setup:function(){var t=(0,J.iH)(null),e=(0,J.iH)(null);return{data:t,root:e,goto:function(t){var r=e.value.querySelector(".l-section--".concat(t));r&&window.scrollTo({top:r.offsetTop-100,behavior:"smooth"})}}}},at=(0,r(4181).Z)(ot,[["render",function(t,e,r,J,Q,X){var $=(0,n.up)("KeyValueTable"),tt=(0,n.up)("DefaultLayout");return(0,n.wg)(),(0,n.j4)(tt,null,{title:(0,n.w5)((function(){return[a]})),default:(0,n.w5)((function(){return[i,J.data?((0,n.wg)(),(0,n.iD)("div",c,[(0,n._)("section",s,[u,l,(0,n.Wm)($,{data:J.data.request.query},null,8,["data"])]),f,(0,n._)("section",h,[p,v,(0,n.Wm)($,{data:J.data.request.body},null,8,["data"])]),d,(0,n._)("section",y,[m,g,(0,n.Wm)($,{data:J.data.request.files},null,8,["data"])]),w,(0,n._)("section",k,[b,_,(0,n.Wm)($,{data:J.data.session},null,8,["data"])]),x,(0,n._)("section",E,[L,U,(0,n.Wm)($,{data:J.data.cookies||J.data.request.cookies},null,8,["data"])]),V,(0,n._)("section",S,[j,q,(0,n.Wm)($,{data:J.data.request.server},null,8,["data"])]),O,(0,n._)("section",C,[T,G,(0,n.Wm)($,{data:J.data.request.env},null,8,["data"])])],512)):(0,n.kq)("",!0),N,((0,n.wg)(),(0,n.j4)(n.lR,{to:".nav-item--request"},[(0,n._)("ul",R,[(0,n._)("li",P,[(0,n._)("a",{href:"#",class:"nav-link",onClick:e[0]||(e[0]=(0,o.iM)((function(t){return J.goto("get")}),["prevent"]))},"\r\n GET Variables\r\n ")]),F,(0,n._)("li",M,[(0,n._)("a",{href:"#",class:"nav-link",onClick:e[1]||(e[1]=(0,o.iM)((function(t){return J.goto("body")}),["prevent"]))},"\r\n Body Variables\r\n ")]),W,(0,n._)("li",Z,[(0,n._)("a",{href:"#",class:"nav-link",onClick:e[2]||(e[2]=(0,o.iM)((function(t){return J.goto("files")}),["prevent"]))},"\r\n Files Variables\r\n ")]),I,(0,n._)("li",D,[(0,n._)("a",{href:"#",class:"nav-link",onClick:e[3]||(e[3]=(0,o.iM)((function(t){return J.goto("session")}),["prevent"]))},"\r\n Session Variables\r\n ")]),A,(0,n._)("li",B,[(0,n._)("a",{href:"#",class:"nav-link",onClick:e[4]||(e[4]=(0,o.iM)((function(t){return J.goto("cookies")}),["prevent"]))},"\r\n Cookies Variables\r\n ")]),H,(0,n._)("li",K,[(0,n._)("a",{href:"#",class:"nav-link",onClick:e[5]||(e[5]=(0,o.iM)((function(t){return J.goto("server")}),["prevent"]))},"\r\n SERVER Variables\r\n ")]),Y,(0,n._)("li",z,[(0,n._)("a",{href:"#",class:"nav-link",onClick:e[6]||(e[6]=(0,o.iM)((function(t){return J.goto("env")}),["prevent"]))},"\r\n ENV Variables\r\n ")])])]))]})),_:1})}]])}}]);
3
+ //# sourceMappingURL=694.js.map
@@ -0,0 +1 @@
1
+ /*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */
@@ -0,0 +1,3 @@
1
+ /*! For license information please see chunk-vendor-798.js.LICENSE.txt */
2
+ "use strict";(self.webpackChunk_windwalker_io_core=self.webpackChunk_windwalker_io_core||[]).push([[798],{1798:(t,e,r)=>{r.r(e),r.d(e,{default:()=>dt});var n=r(1525),o=r(3630),i=(0,n.Uk)("\r\n Routing\r\n "),a=(0,n.Uk)(),u={key:0,class:"p-4"},l={class:"l-section l-section--info"},c=(0,n._)("h3",{class:"mb-3"},"Route Information",-1),s=(0,n.Uk)(),h={class:"table table-bordered"},d=(0,n._)("th",{style:{width:"20%"}},"\r\n Request Method\r\n ",-1),f=(0,n.Uk)(),p=(0,n.Uk)(),v=(0,n._)("th",null,"\r\n Total Routes\r\n ",-1),y=(0,n.Uk)(),m=(0,n.Uk)(),w=(0,n._)("th",null,"\r\n Matched Route\r\n ",-1),g=(0,n.Uk)(),_={class:"m-0"},k=(0,n.Uk)(),b=(0,n._)("th",null,"\r\n Controller / View\r\n ",-1),x=(0,n.Uk)(),U={class:"m-0"},L=(0,n.Uk)(),E={key:0,class:"ps-3 mt-2"},j={class:"m-0"},S=(0,n._)("strong",null,"View:",-1),O=(0,n.Uk)(),z=(0,n._)("th",null,"\r\n Handler\r\n ",-1),R=(0,n.Uk)(),P={class:"m-0"},D=(0,n.Uk)(),N=(0,n._)("th",null,"\r\n Middlewares\r\n ",-1),q=(0,n.Uk)(),G={class:"mb-1"},T=(0,n.Uk)(),H={class:"l-section l-section--uri mt-5"},C=(0,n._)("h3",{class:"mb-3"},"Uri Information",-1),F=(0,n.Uk)(),I=(0,n.Uk)(),V={class:"l-section l-section--routes mt-5"},Z=(0,n._)("h3",{class:"mb-3"},"Routes",-1),K=(0,n.Uk)(),M={class:"table table-bordered"},Y=(0,n._)("thead",null,[(0,n._)("tr",null,[(0,n._)("th",null,"\r\n Route Name\r\n "),(0,n.Uk)(),(0,n._)("th",null,"\r\n Pattern\r\n "),(0,n.Uk)(),(0,n._)("th",null,"\r\n Methods\r\n "),(0,n.Uk)(),(0,n._)("th",null,"\r\n Controller / View\r\n "),(0,n.Uk)()])],-1),A=(0,n.Uk)(),J=(0,n.Uk)(),W=(0,n.Uk)(),B=(0,n.Uk)(),Q={style:{"max-width":"400px"}},X={style:{"overflow-x":"auto"}},$={key:0,class:""},tt={class:"m-0"},et={key:1},rt=(0,n.Uk)(),nt=r(5556),ot=r(5955),it=r(6072),at=r(5518);function ut(t){return ut="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},ut(t)}function lt(){lt=function(){return t};var t={},e=Object.prototype,r=e.hasOwnProperty,n="function"==typeof Symbol?Symbol:{},o=n.iterator||"@@iterator",i=n.asyncIterator||"@@asyncIterator",a=n.toStringTag||"@@toStringTag";function u(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{u({},"")}catch(t){u=function(t,e,r){return t[e]=r}}function l(t,e,r,n){var o=e&&e.prototype instanceof h?e:h,i=Object.create(o.prototype),a=new x(n||[]);return i._invoke=function(t,e,r){var n="suspendedStart";return function(o,i){if("executing"===n)throw new Error("Generator is already running");if("completed"===n){if("throw"===o)throw i;return{value:void 0,done:!0}}for(r.method=o,r.arg=i;;){var a=r.delegate;if(a){var u=_(a,r);if(u){if(u===s)continue;return u}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if("suspendedStart"===n)throw n="completed",r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);n="executing";var l=c(t,e,r);if("normal"===l.type){if(n=r.done?"completed":"suspendedYield",l.arg===s)continue;return{value:l.arg,done:r.done}}"throw"===l.type&&(n="completed",r.method="throw",r.arg=l.arg)}}}(t,r,a),i}function c(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}t.wrap=l;var s={};function h(){}function d(){}function f(){}var p={};u(p,o,(function(){return this}));var v=Object.getPrototypeOf,y=v&&v(v(U([])));y&&y!==e&&r.call(y,o)&&(p=y);var m=f.prototype=h.prototype=Object.create(p);function w(t){["next","throw","return"].forEach((function(e){u(t,e,(function(t){return this._invoke(e,t)}))}))}function g(t,e){function n(o,i,a,u){var l=c(t[o],t,i);if("throw"!==l.type){var s=l.arg,h=s.value;return h&&"object"==ut(h)&&r.call(h,"__await")?e.resolve(h.__await).then((function(t){n("next",t,a,u)}),(function(t){n("throw",t,a,u)})):e.resolve(h).then((function(t){s.value=t,a(s)}),(function(t){return n("throw",t,a,u)}))}u(l.arg)}var o;this._invoke=function(t,r){function i(){return new e((function(e,o){n(t,r,e,o)}))}return o=o?o.then(i,i):i()}}function _(t,e){var r=t.iterator[e.method];if(void 0===r){if(e.delegate=null,"throw"===e.method){if(t.iterator.return&&(e.method="return",e.arg=void 0,_(t,e),"throw"===e.method))return s;e.method="throw",e.arg=new TypeError("The iterator does not provide a 'throw' method")}return s}var n=c(r,t.iterator,e.arg);if("throw"===n.type)return e.method="throw",e.arg=n.arg,e.delegate=null,s;var o=n.arg;return o?o.done?(e[t.resultName]=o.value,e.next=t.nextLoc,"return"!==e.method&&(e.method="next",e.arg=void 0),e.delegate=null,s):o:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,s)}function k(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function b(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function x(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(k,this),this.reset(!0)}function U(t){if(t){var e=t[o];if(e)return e.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var n=-1,i=function e(){for(;++n<t.length;)if(r.call(t,n))return e.value=t[n],e.done=!1,e;return e.value=void 0,e.done=!0,e};return i.next=i}}return{next:L}}function L(){return{value:void 0,done:!0}}return d.prototype=f,u(m,"constructor",f),u(f,"constructor",d),d.displayName=u(f,a,"GeneratorFunction"),t.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===d||"GeneratorFunction"===(e.displayName||e.name))},t.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,f):(t.__proto__=f,u(t,a,"GeneratorFunction")),t.prototype=Object.create(m),t},t.awrap=function(t){return{__await:t}},w(g.prototype),u(g.prototype,i,(function(){return this})),t.AsyncIterator=g,t.async=function(e,r,n,o,i){void 0===i&&(i=Promise);var a=new g(l(e,r,n,o),i);return t.isGeneratorFunction(r)?a:a.next().then((function(t){return t.done?t.value:a.next()}))},w(m),u(m,a,"Generator"),u(m,o,(function(){return this})),u(m,"toString",(function(){return"[object Generator]"})),t.keys=function(t){var e=[];for(var r in t)e.push(r);return e.reverse(),function r(){for(;e.length;){var n=e.pop();if(n in t)return r.value=n,r.done=!1,r}return r.done=!0,r}},t.values=U,x.prototype={constructor:x,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(b),!t)for(var e in this)"t"===e.charAt(0)&&r.call(this,e)&&!isNaN(+e.slice(1))&&(this[e]=void 0)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var e=this;function n(r,n){return a.type="throw",a.arg=t,e.next=r,n&&(e.method="next",e.arg=void 0),!!n}for(var o=this.tryEntries.length-1;o>=0;--o){var i=this.tryEntries[o],a=i.completion;if("root"===i.tryLoc)return n("end");if(i.tryLoc<=this.prev){var u=r.call(i,"catchLoc"),l=r.call(i,"finallyLoc");if(u&&l){if(this.prev<i.catchLoc)return n(i.catchLoc,!0);if(this.prev<i.finallyLoc)return n(i.finallyLoc)}else if(u){if(this.prev<i.catchLoc)return n(i.catchLoc,!0)}else{if(!l)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return n(i.finallyLoc)}}}},abrupt:function(t,e){for(var n=this.tryEntries.length-1;n>=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&r.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===t||"continue"===t)&&i.tryLoc<=e&&e<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=t,a.arg=e,i?(this.method="next",this.next=i.finallyLoc,s):this.complete(a)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),s},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),b(r),s}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;b(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,r){return this.delegate={iterator:U(t),resultName:e,nextLoc:r},"next"===this.method&&(this.arg=void 0),s}},t}function ct(t,e,r,n,o,i,a){try{var u=t[i](a),l=u.value}catch(t){return void r(t)}u.done?e(l):Promise.resolve(l).then(n,o)}function st(t){return function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){ct(i,n,o,a,u,"next",t)}function u(t){ct(i,n,o,a,u,"throw",t)}a(void 0)}))}}const ht={name:"Routing",components:{KeyValueTable:ot.Z,DefaultLayout:it.Z},beforeRouteEnter:function(t,e,r){return st(lt().mark((function t(){return lt().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:r(function(){var t=st(lt().mark((function t(e){var r,n;return lt().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return(r=new URLSearchParams).set("path[request]","http::request"),r.set("path[uri]","http::systemUri"),r.set("path[routing]","routing"),t.next=6,at.Z.get("ajax/data?"+r.toString());case 6:n=t.sent,e.data=n.data.data;case 8:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}());case 1:case"end":return t.stop()}}),t)})))()},beforeRouteUpdate:function(t,e,r){return st(lt().mark((function t(){var e,r;return lt().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return(e=new URLSearchParams).set("path[request]","http::request"),e.set("path[uri]","http::systemUri"),e.set("path[routing]","routing"),t.next=6,at.Z.get("ajax/data?"+e.toString());case 6:r=t.sent,vm.data=r.data.data;case 8:case"end":return t.stop()}}),t)})))()},setup:function(){function t(t){return t?"string"==typeof t?t:t.join("::")+"()":"-"}return{data:(0,nt.iH)(null),getHandler:function(e){return e["*"]?t(e["*"]):t(Object.values(e)[0])}}}},dt=(0,r(4181).Z)(ht,[["render",function(t,e,r,nt,ot,it){var at=(0,n.up)("KeyValueTable"),ut=(0,n.up)("DefaultLayout");return(0,n.wg)(),(0,n.j4)(ut,null,{title:(0,n.w5)((function(){return[i]})),default:(0,n.w5)((function(){var t,e,r,i,ot,it,ut,lt,ct,st,ht,dt;return[a,nt.data?((0,n.wg)(),(0,n.iD)("div",u,[(0,n._)("section",l,[c,s,(0,n._)("table",h,[(0,n._)("tbody",null,[(0,n._)("tr",null,[d,f,(0,n._)("td",null,(0,o.zw)(nt.data.request.method),1)]),p,(0,n._)("tr",null,[v,y,(0,n._)("td",null,(0,o.zw)(Object.keys(nt.data.routing.routes).length),1)]),m,(0,n._)("tr",null,[w,g,(0,n._)("td",null,[(0,n._)("pre",_,(0,o.zw)(null===(t=nt.data.routing.matched)||void 0===t?void 0:t.name),1)])]),k,(0,n._)("tr",null,[b,x,(0,n._)("td",null,[(0,n._)("pre",U,(0,o.zw)(nt.data.routing.controller),1),L,null!==(e=nt.data.routing.matched)&&void 0!==e&&null!==(r=e.options)&&void 0!==r&&null!==(i=r.vars)&&void 0!==i&&i.view?((0,n.wg)(),(0,n.iD)("div",E,[(0,n._)("pre",j,[S,(0,n.Uk)(" "+(0,o.zw)(null===(ot=nt.data.routing.matched)||void 0===ot||null===(it=ot.options)||void 0===it||null===(ut=it.vars)||void 0===ut?void 0:ut.view),1)])])):(0,n.kq)("",!0)])]),O,(0,n._)("tr",null,[z,R,(0,n._)("td",null,[(0,n._)("pre",P,(0,o.zw)(JSON.stringify(null===(lt=nt.data.routing.matched)||void 0===lt||null===(ct=lt.options)||void 0===ct?void 0:ct.handlers,null,2)),1)])]),D,(0,n._)("tr",null,[N,q,(0,n._)("td",null,[((0,n.wg)(!0),(0,n.iD)(n.HY,null,(0,n.Ko)(null===(st=nt.data.routing)||void 0===st||null===(ht=st.matched)||void 0===ht||null===(dt=ht.options)||void 0===dt?void 0:dt.middlewares,(function(t){return(0,n.wg)(),(0,n.iD)("div",null,[(0,n._)("pre",G,(0,o.zw)(t),1)])})),256))])])])])]),T,(0,n._)("section",H,[C,F,(0,n.Wm)(at,{data:nt.data.uri},null,8,["data"])]),I,(0,n._)("section",V,[Z,K,(0,n._)("table",M,[Y,A,(0,n._)("tbody",null,[((0,n.wg)(!0),(0,n.iD)(n.HY,null,(0,n.Ko)(nt.data.routing.routes,(function(t,e){var r,i,a,u,l,c,s;return(0,n.wg)(),(0,n.iD)("tr",{class:(0,o.C_)({"table-success":(null===(r=nt.data.routing.matched)||void 0===r?void 0:r.name)===t.name})},[(0,n._)("td",null,[(0,n._)("code",null,(0,o.zw)(t.name),1)]),J,(0,n._)("td",null,[(0,n._)("code",null,(0,o.zw)(t.options.pattern),1)]),W,(0,n._)("td",null,(0,o.zw)((null===(i=t.options)||void 0===i||null===(a=i.method)||void 0===a?void 0:a.join("|"))||"Any"),1),B,(0,n._)("td",Q,[(0,n._)("div",X,[null!=t&&null!==(u=t.options)&&void 0!==u&&null!==(l=u.vars)&&void 0!==l&&l.view?((0,n.wg)(),(0,n.iD)("div",$,[(0,n._)("pre",tt,(0,o.zw)(null==t||null===(c=t.options)||void 0===c||null===(s=c.vars)||void 0===s?void 0:s.view),1)])):((0,n.wg)(),(0,n.iD)("div",et,[(0,n._)("pre",null,(0,o.zw)(nt.getHandler(t.options.handlers||{})),1)]))])]),rt],2)})),256))])])])])):(0,n.kq)("",!0)]})),_:1})}]])}}]);
3
+ //# sourceMappingURL=798.js.map
@@ -0,0 +1 @@
1
+ /*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */
@@ -0,0 +1,3 @@
1
+ /*! For license information please see chunk-vendor-851.js.LICENSE.txt */
2
+ "use strict";(self.webpackChunk_windwalker_io_core=self.webpackChunk_windwalker_io_core||[]).push([[851],{5955:(t,r,e)=>{e.d(r,{Z:()=>p});var n=e(1525),o=e(3630),i={class:"table table-bordered"},a=(0,n._)("thead",null,[(0,n._)("tr",null,[(0,n._)("th",{class:"",style:{width:"20%","min-width":"150px"}},"\r\n Key\r\n "),(0,n.Uk)(),(0,n._)("th",null,"\r\n Value\r\n ")])],-1),u=(0,n.Uk)(),c={style:{width:"20%","word-break":"break-all"}},l=(0,n.Uk)(),s={style:{width:"80%","max-width":"800px"}},f={style:{"word-break":"break-all"},class:"m-0"};function h(t){return h="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},h(t)}const y={name:"KeyValueTable",props:{data:Object},setup:function(){return{displayData:function(t){return"object"===h(t)||Array.isArray(t)?JSON.stringify(t,null,2):t}}}},p=(0,e(4181).Z)(y,[["render",function(t,r,e,h,y,p){return(0,n.wg)(),(0,n.iD)("table",i,[a,u,(0,n._)("tbody",null,[((0,n.wg)(!0),(0,n.iD)(n.HY,null,(0,n.Ko)(e.data,(function(t,r){return(0,n.wg)(),(0,n.iD)("tr",{key:r},[(0,n._)("td",c,(0,o.zw)(r),1),l,(0,n._)("td",s,[(0,n._)("pre",f,(0,o.zw)(h.displayData(t)),1)])])})),128))])])}]])},6072:(t,r,e)=>{e.d(r,{Z:()=>m});var n=e(1525),o=e(3630),i={key:0},a={class:"p-3",style:{"background-color":"var(--bs-gray-200)"}},u={class:"text-xl font-bold text-gray-800"},c=(0,n.Uk)(),l={class:"text-muted"},s=(0,n.Uk)(),f=["href"],h=(0,n.Uk)(),y=e(457),p=e(5054),d=e(4545);const v={name:"DefaultLayout",setup:function(){var t=(0,y.yj)();return{currentId:d.p,currentData:d.I,route:t,goToLast:p.D}}},m=(0,e(4181).Z)(v,[["render",function(t,r,e,y,p,d){var v=(0,n.up)("fa-icon"),m=(0,n.up)("router-link");return y.currentData?((0,n.wg)(),(0,n.iD)("div",i,[(0,n._)("div",a,[(0,n._)("h1",u,[(0,n.WI)(t.$slots,"title")]),c,(0,n._)("div",l,[(0,n.Wm)(m,{to:"/",class:"btn btn-sm btn-primary"},{default:(0,n.w5)((function(){return[(0,n.Wm)(v,{icon:"fa-solid fa-list"})]})),_:1}),s,(0,n._)("button",{type:"button",onClick:r[0]||(r[0]=function(t){return y.goToLast("/"+y.route.name)}),class:"btn btn-sm btn-success"},[(0,n.Wm)(v,{icon:"fa-solid fa-arrows-rotate"})]),(0,n.Uk)("\r\n /\r\n "+(0,o.zw)(y.currentId)+"\r\n / ",1),(0,n._)("a",{target:"_blank",class:"text-gray-600",href:y.currentData.url},(0,o.zw)(y.currentData.url),9,f)])]),h,(0,n.WI)(t.$slots,"default")])):(0,n.kq)("",!0)}]])},5054:(t,r,e)=>{e.d(r,{D:()=>l});var n=e(8601),o=e(5518);function i(t){return i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},i(t)}function a(){a=function(){return t};var t={},r=Object.prototype,e=r.hasOwnProperty,n="function"==typeof Symbol?Symbol:{},o=n.iterator||"@@iterator",u=n.asyncIterator||"@@asyncIterator",c=n.toStringTag||"@@toStringTag";function l(t,r,e){return Object.defineProperty(t,r,{value:e,enumerable:!0,configurable:!0,writable:!0}),t[r]}try{l({},"")}catch(t){l=function(t,r,e){return t[r]=e}}function s(t,r,e,n){var o=r&&r.prototype instanceof y?r:y,i=Object.create(o.prototype),a=new E(n||[]);return i._invoke=function(t,r,e){var n="suspendedStart";return function(o,i){if("executing"===n)throw new Error("Generator is already running");if("completed"===n){if("throw"===o)throw i;return{value:void 0,done:!0}}for(e.method=o,e.arg=i;;){var a=e.delegate;if(a){var u=_(a,e);if(u){if(u===h)continue;return u}}if("next"===e.method)e.sent=e._sent=e.arg;else if("throw"===e.method){if("suspendedStart"===n)throw n="completed",e.arg;e.dispatchException(e.arg)}else"return"===e.method&&e.abrupt("return",e.arg);n="executing";var c=f(t,r,e);if("normal"===c.type){if(n=e.done?"completed":"suspendedYield",c.arg===h)continue;return{value:c.arg,done:e.done}}"throw"===c.type&&(n="completed",e.method="throw",e.arg=c.arg)}}}(t,e,a),i}function f(t,r,e){try{return{type:"normal",arg:t.call(r,e)}}catch(t){return{type:"throw",arg:t}}}t.wrap=s;var h={};function y(){}function p(){}function d(){}var v={};l(v,o,(function(){return this}));var m=Object.getPrototypeOf,g=m&&m(m(S([])));g&&g!==r&&e.call(g,o)&&(v=g);var w=d.prototype=y.prototype=Object.create(v);function b(t){["next","throw","return"].forEach((function(r){l(t,r,(function(t){return this._invoke(r,t)}))}))}function x(t,r){function n(o,a,u,c){var l=f(t[o],t,a);if("throw"!==l.type){var s=l.arg,h=s.value;return h&&"object"==i(h)&&e.call(h,"__await")?r.resolve(h.__await).then((function(t){n("next",t,u,c)}),(function(t){n("throw",t,u,c)})):r.resolve(h).then((function(t){s.value=t,u(s)}),(function(t){return n("throw",t,u,c)}))}c(l.arg)}var o;this._invoke=function(t,e){function i(){return new r((function(r,o){n(t,e,r,o)}))}return o=o?o.then(i,i):i()}}function _(t,r){var e=t.iterator[r.method];if(void 0===e){if(r.delegate=null,"throw"===r.method){if(t.iterator.return&&(r.method="return",r.arg=void 0,_(t,r),"throw"===r.method))return h;r.method="throw",r.arg=new TypeError("The iterator does not provide a 'throw' method")}return h}var n=f(e,t.iterator,r.arg);if("throw"===n.type)return r.method="throw",r.arg=n.arg,r.delegate=null,h;var o=n.arg;return o?o.done?(r[t.resultName]=o.value,r.next=t.nextLoc,"return"!==r.method&&(r.method="next",r.arg=void 0),r.delegate=null,h):o:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,h)}function k(t){var r={tryLoc:t[0]};1 in t&&(r.catchLoc=t[1]),2 in t&&(r.finallyLoc=t[2],r.afterLoc=t[3]),this.tryEntries.push(r)}function L(t){var r=t.completion||{};r.type="normal",delete r.arg,t.completion=r}function E(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(k,this),this.reset(!0)}function S(t){if(t){var r=t[o];if(r)return r.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var n=-1,i=function r(){for(;++n<t.length;)if(e.call(t,n))return r.value=t[n],r.done=!1,r;return r.value=void 0,r.done=!0,r};return i.next=i}}return{next:j}}function j(){return{value:void 0,done:!0}}return p.prototype=d,l(w,"constructor",d),l(d,"constructor",p),p.displayName=l(d,c,"GeneratorFunction"),t.isGeneratorFunction=function(t){var r="function"==typeof t&&t.constructor;return!!r&&(r===p||"GeneratorFunction"===(r.displayName||r.name))},t.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,d):(t.__proto__=d,l(t,c,"GeneratorFunction")),t.prototype=Object.create(w),t},t.awrap=function(t){return{__await:t}},b(x.prototype),l(x.prototype,u,(function(){return this})),t.AsyncIterator=x,t.async=function(r,e,n,o,i){void 0===i&&(i=Promise);var a=new x(s(r,e,n,o),i);return t.isGeneratorFunction(e)?a:a.next().then((function(t){return t.done?t.value:a.next()}))},b(w),l(w,c,"Generator"),l(w,o,(function(){return this})),l(w,"toString",(function(){return"[object Generator]"})),t.keys=function(t){var r=[];for(var e in t)r.push(e);return r.reverse(),function e(){for(;r.length;){var n=r.pop();if(n in t)return e.value=n,e.done=!1,e}return e.done=!0,e}},t.values=S,E.prototype={constructor:E,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(L),!t)for(var r in this)"t"===r.charAt(0)&&e.call(this,r)&&!isNaN(+r.slice(1))&&(this[r]=void 0)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var r=this;function n(e,n){return a.type="throw",a.arg=t,r.next=e,n&&(r.method="next",r.arg=void 0),!!n}for(var o=this.tryEntries.length-1;o>=0;--o){var i=this.tryEntries[o],a=i.completion;if("root"===i.tryLoc)return n("end");if(i.tryLoc<=this.prev){var u=e.call(i,"catchLoc"),c=e.call(i,"finallyLoc");if(u&&c){if(this.prev<i.catchLoc)return n(i.catchLoc,!0);if(this.prev<i.finallyLoc)return n(i.finallyLoc)}else if(u){if(this.prev<i.catchLoc)return n(i.catchLoc,!0)}else{if(!c)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return n(i.finallyLoc)}}}},abrupt:function(t,r){for(var n=this.tryEntries.length-1;n>=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&e.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===t||"continue"===t)&&i.tryLoc<=r&&r<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=t,a.arg=r,i?(this.method="next",this.next=i.finallyLoc,h):this.complete(a)},complete:function(t,r){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&r&&(this.next=r),h},finish:function(t){for(var r=this.tryEntries.length-1;r>=0;--r){var e=this.tryEntries[r];if(e.finallyLoc===t)return this.complete(e.completion,e.afterLoc),L(e),h}},catch:function(t){for(var r=this.tryEntries.length-1;r>=0;--r){var e=this.tryEntries[r];if(e.tryLoc===t){var n=e.completion;if("throw"===n.type){var o=n.arg;L(e)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(t,r,e){return this.delegate={iterator:S(t),resultName:r,nextLoc:e},"next"===this.method&&(this.arg=void 0),h}},t}function u(t,r,e,n,o,i,a){try{var u=t[i](a),c=u.value}catch(t){return void e(t)}u.done?r(c):Promise.resolve(c).then(n,o)}function c(t){return function(){var r=this,e=arguments;return new Promise((function(n,o){var i=t.apply(r,e);function a(t){u(i,n,o,a,c,"next",t)}function c(t){u(i,n,o,a,c,"throw",t)}a(void 0)}))}}function l(){return s.apply(this,arguments)}function s(){return s=c(a().mark((function t(){var r,e,i,u=arguments;return a().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return r=u.length>0&&void 0!==u[0]?u[0]:null,t.next=3,o.Z.get("ajax/last");case 3:return e=t.sent,i="",i=r?r+="/"+e.data.data:"/system/"+e.data.data,t.abrupt("return",n.Z.push(i));case 7:case"end":return t.stop()}}),t)}))),s.apply(this,arguments)}}}]);
3
+ //# sourceMappingURL=851.js.map
@@ -0,0 +1,8 @@
1
+ /*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */
2
+
3
+ /**
4
+ * Part of starter project.
5
+ *
6
+ * @copyright Copyright (C) 2021 __ORGANIZATION__.
7
+ * @license __LICENSE__
8
+ */
@@ -0,0 +1,3 @@
1
+ /*! For license information please see chunk-vendor-864.js.LICENSE.txt */
2
+ (self.webpackChunk_windwalker_io_core=self.webpackChunk_windwalker_io_core||[]).push([[864],{9665:function(t){t.exports=function(){"use strict";var t=6e4,e=36e5,r="millisecond",n="second",i="minute",o="hour",a="day",u="week",s="month",c="quarter",f="year",l="date",h="Invalid Date",d=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,p=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,y={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_")},v=function(t,e,r){var n=String(t);return!n||n.length>=e?t:""+Array(e+1-n.length).join(r)+t},m={s:v,z:function(t){var e=-t.utcOffset(),r=Math.abs(e),n=Math.floor(r/60),i=r%60;return(e<=0?"+":"-")+v(n,2,"0")+":"+v(i,2,"0")},m:function t(e,r){if(e.date()<r.date())return-t(r,e);var n=12*(r.year()-e.year())+(r.month()-e.month()),i=e.clone().add(n,s),o=r-i<0,a=e.clone().add(n+(o?-1:1),s);return+(-(n+(r-i)/(o?i-a:a-i))||0)},a:function(t){return t<0?Math.ceil(t)||0:Math.floor(t)},p:function(t){return{M:s,y:f,w:u,d:a,D:l,h:o,m:i,s:n,ms:r,Q:c}[t]||String(t||"").toLowerCase().replace(/s$/,"")},u:function(t){return void 0===t}},g="en",w={};w[g]=y;var $=function(t){return t instanceof D},b=function t(e,r,n){var i;if(!e)return g;if("string"==typeof e){var o=e.toLowerCase();w[o]&&(i=o),r&&(w[o]=r,i=o);var a=e.split("-");if(!i&&a.length>1)return t(a[0])}else{var u=e.name;w[u]=e,i=u}return!n&&i&&(g=i),i||!n&&g},_=function(t,e){if($(t))return t.clone();var r="object"==typeof e?e:{};return r.date=t,r.args=arguments,new D(r)},O=m;O.l=b,O.i=$,O.w=function(t,e){return _(t,{locale:e.$L,utc:e.$u,x:e.$x,$offset:e.$offset})};var D=function(){function y(t){this.$L=b(t.locale,null,!0),this.parse(t)}var v=y.prototype;return v.parse=function(t){this.$d=function(t){var e=t.date,r=t.utc;if(null===e)return new Date(NaN);if(O.u(e))return new Date;if(e instanceof Date)return new Date(e);if("string"==typeof e&&!/Z$/i.test(e)){var n=e.match(d);if(n){var i=n[2]-1||0,o=(n[7]||"0").substring(0,3);return r?new Date(Date.UTC(n[1],i,n[3]||1,n[4]||0,n[5]||0,n[6]||0,o)):new Date(n[1],i,n[3]||1,n[4]||0,n[5]||0,n[6]||0,o)}}return new Date(e)}(t),this.$x=t.x||{},this.init()},v.init=function(){var t=this.$d;this.$y=t.getFullYear(),this.$M=t.getMonth(),this.$D=t.getDate(),this.$W=t.getDay(),this.$H=t.getHours(),this.$m=t.getMinutes(),this.$s=t.getSeconds(),this.$ms=t.getMilliseconds()},v.$utils=function(){return O},v.isValid=function(){return!(this.$d.toString()===h)},v.isSame=function(t,e){var r=_(t);return this.startOf(e)<=r&&r<=this.endOf(e)},v.isAfter=function(t,e){return _(t)<this.startOf(e)},v.isBefore=function(t,e){return this.endOf(e)<_(t)},v.$g=function(t,e,r){return O.u(t)?this[e]:this.set(r,t)},v.unix=function(){return Math.floor(this.valueOf()/1e3)},v.valueOf=function(){return this.$d.getTime()},v.startOf=function(t,e){var r=this,c=!!O.u(e)||e,h=O.p(t),d=function(t,e){var n=O.w(r.$u?Date.UTC(r.$y,e,t):new Date(r.$y,e,t),r);return c?n:n.endOf(a)},p=function(t,e){return O.w(r.toDate()[t].apply(r.toDate("s"),(c?[0,0,0,0]:[23,59,59,999]).slice(e)),r)},y=this.$W,v=this.$M,m=this.$D,g="set"+(this.$u?"UTC":"");switch(h){case f:return c?d(1,0):d(31,11);case s:return c?d(1,v):d(0,v+1);case u:var w=this.$locale().weekStart||0,$=(y<w?y+7:y)-w;return d(c?m-$:m+(6-$),v);case a:case l:return p(g+"Hours",0);case o:return p(g+"Minutes",1);case i:return p(g+"Seconds",2);case n:return p(g+"Milliseconds",3);default:return this.clone()}},v.endOf=function(t){return this.startOf(t,!1)},v.$set=function(t,e){var u,c=O.p(t),h="set"+(this.$u?"UTC":""),d=(u={},u[a]=h+"Date",u[l]=h+"Date",u[s]=h+"Month",u[f]=h+"FullYear",u[o]=h+"Hours",u[i]=h+"Minutes",u[n]=h+"Seconds",u[r]=h+"Milliseconds",u)[c],p=c===a?this.$D+(e-this.$W):e;if(c===s||c===f){var y=this.clone().set(l,1);y.$d[d](p),y.init(),this.$d=y.set(l,Math.min(this.$D,y.daysInMonth())).$d}else d&&this.$d[d](p);return this.init(),this},v.set=function(t,e){return this.clone().$set(t,e)},v.get=function(t){return this[O.p(t)]()},v.add=function(r,c){var l,h=this;r=Number(r);var d=O.p(c),p=function(t){var e=_(h);return O.w(e.date(e.date()+Math.round(t*r)),h)};if(d===s)return this.set(s,this.$M+r);if(d===f)return this.set(f,this.$y+r);if(d===a)return p(1);if(d===u)return p(7);var y=(l={},l[i]=t,l[o]=e,l[n]=1e3,l)[d]||1,v=this.$d.getTime()+r*y;return O.w(v,this)},v.subtract=function(t,e){return this.add(-1*t,e)},v.format=function(t){var e=this,r=this.$locale();if(!this.isValid())return r.invalidDate||h;var n=t||"YYYY-MM-DDTHH:mm:ssZ",i=O.z(this),o=this.$H,a=this.$m,u=this.$M,s=r.weekdays,c=r.months,f=function(t,r,i,o){return t&&(t[r]||t(e,n))||i[r].slice(0,o)},l=function(t){return O.s(o%12||12,t,"0")},d=r.meridiem||function(t,e,r){var n=t<12?"AM":"PM";return r?n.toLowerCase():n},y={YY:String(this.$y).slice(-2),YYYY:this.$y,M:u+1,MM:O.s(u+1,2,"0"),MMM:f(r.monthsShort,u,c,3),MMMM:f(c,u),D:this.$D,DD:O.s(this.$D,2,"0"),d:String(this.$W),dd:f(r.weekdaysMin,this.$W,s,2),ddd:f(r.weekdaysShort,this.$W,s,3),dddd:s[this.$W],H:String(o),HH:O.s(o,2,"0"),h:l(1),hh:l(2),a:d(o,a,!0),A:d(o,a,!1),m:String(a),mm:O.s(a,2,"0"),s:String(this.$s),ss:O.s(this.$s,2,"0"),SSS:O.s(this.$ms,3,"0"),Z:i};return n.replace(p,(function(t,e){return e||y[t]||i.replace(":","")}))},v.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},v.diff=function(r,l,h){var d,p=O.p(l),y=_(r),v=(y.utcOffset()-this.utcOffset())*t,m=this-y,g=O.m(this,y);return g=(d={},d[f]=g/12,d[s]=g,d[c]=g/3,d[u]=(m-v)/6048e5,d[a]=(m-v)/864e5,d[o]=m/e,d[i]=m/t,d[n]=m/1e3,d)[p]||m,h?g:O.a(g)},v.daysInMonth=function(){return this.endOf(s).$D},v.$locale=function(){return w[this.$L]},v.locale=function(t,e){if(!t)return this.$L;var r=this.clone(),n=b(t,e,!0);return n&&(r.$L=n),r},v.clone=function(){return O.w(this.$d,this)},v.toDate=function(){return new Date(this.valueOf())},v.toJSON=function(){return this.isValid()?this.toISOString():null},v.toISOString=function(){return this.$d.toISOString()},v.toString=function(){return this.$d.toUTCString()},y}(),S=D.prototype;return _.prototype=S,[["$ms",r],["$s",n],["$m",i],["$H",o],["$W",a],["$M",s],["$y",f],["$D",l]].forEach((function(t){S[t[1]]=function(e){return this.$g(e,t[0],t[1])}})),_.extend=function(t,e){return t.$i||(t(e,D,_),t.$i=!0),_},_.locale=b,_.isDayjs=$,_.unix=function(t){return _(1e3*t)},_.en=w[g],_.Ls=w,_.p={},_}()},9864:(t,e,r)=>{"use strict";r.r(e),r.d(e,{default:()=>U});var n=r(1525),i=r(1456),o=r(3630),a={class:"p-4"},u={class:"table table-striped table-bordered"},s=(0,n._)("thead",{class:"table-dark"},[(0,n._)("tr",null,[(0,n._)("th",null,"\r\n ID\r\n "),(0,n.Uk)(),(0,n._)("th",null,"\r\n See\r\n "),(0,n.Uk)(),(0,n._)("th",null,"\r\n IP\r\n "),(0,n.Uk)(),(0,n._)("th",null,"\r\n Method\r\n "),(0,n.Uk)(),(0,n._)("th",null,"\r\n URL\r\n "),(0,n.Uk)(),(0,n._)("th",null,"\r\n Time\r\n "),(0,n.Uk)(),(0,n._)("th",null,"\r\n Info\r\n ")])],-1),c=(0,n.Uk)(),f=["onClick"],l=(0,n.Uk)(),h=["onClick"],d=(0,n.Uk)(),p=(0,n.Uk)(),y=(0,n.Uk)(),v=["href"],m=(0,n.Uk)(),g=(0,n.Uk)(),w=r(9665),$=r(5556),b=r(8601),_=r(5518),O=r(4545);function D(t){return D="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},D(t)}function S(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function M(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?S(Object(r),!0).forEach((function(e){k(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):S(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function k(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function x(){x=function(){return t};var t={},e=Object.prototype,r=e.hasOwnProperty,n="function"==typeof Symbol?Symbol:{},i=n.iterator||"@@iterator",o=n.asyncIterator||"@@asyncIterator",a=n.toStringTag||"@@toStringTag";function u(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{u({},"")}catch(t){u=function(t,e,r){return t[e]=r}}function s(t,e,r,n){var i=e&&e.prototype instanceof l?e:l,o=Object.create(i.prototype),a=new O(n||[]);return o._invoke=function(t,e,r){var n="suspendedStart";return function(i,o){if("executing"===n)throw new Error("Generator is already running");if("completed"===n){if("throw"===i)throw o;return{value:void 0,done:!0}}for(r.method=i,r.arg=o;;){var a=r.delegate;if(a){var u=$(a,r);if(u){if(u===f)continue;return u}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if("suspendedStart"===n)throw n="completed",r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);n="executing";var s=c(t,e,r);if("normal"===s.type){if(n=r.done?"completed":"suspendedYield",s.arg===f)continue;return{value:s.arg,done:r.done}}"throw"===s.type&&(n="completed",r.method="throw",r.arg=s.arg)}}}(t,r,a),o}function c(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}t.wrap=s;var f={};function l(){}function h(){}function d(){}var p={};u(p,i,(function(){return this}));var y=Object.getPrototypeOf,v=y&&y(y(S([])));v&&v!==e&&r.call(v,i)&&(p=v);var m=d.prototype=l.prototype=Object.create(p);function g(t){["next","throw","return"].forEach((function(e){u(t,e,(function(t){return this._invoke(e,t)}))}))}function w(t,e){function n(i,o,a,u){var s=c(t[i],t,o);if("throw"!==s.type){var f=s.arg,l=f.value;return l&&"object"==D(l)&&r.call(l,"__await")?e.resolve(l.__await).then((function(t){n("next",t,a,u)}),(function(t){n("throw",t,a,u)})):e.resolve(l).then((function(t){f.value=t,a(f)}),(function(t){return n("throw",t,a,u)}))}u(s.arg)}var i;this._invoke=function(t,r){function o(){return new e((function(e,i){n(t,r,e,i)}))}return i=i?i.then(o,o):o()}}function $(t,e){var r=t.iterator[e.method];if(void 0===r){if(e.delegate=null,"throw"===e.method){if(t.iterator.return&&(e.method="return",e.arg=void 0,$(t,e),"throw"===e.method))return f;e.method="throw",e.arg=new TypeError("The iterator does not provide a 'throw' method")}return f}var n=c(r,t.iterator,e.arg);if("throw"===n.type)return e.method="throw",e.arg=n.arg,e.delegate=null,f;var i=n.arg;return i?i.done?(e[t.resultName]=i.value,e.next=t.nextLoc,"return"!==e.method&&(e.method="next",e.arg=void 0),e.delegate=null,f):i:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,f)}function b(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function _(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function O(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(b,this),this.reset(!0)}function S(t){if(t){var e=t[i];if(e)return e.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var n=-1,o=function e(){for(;++n<t.length;)if(r.call(t,n))return e.value=t[n],e.done=!1,e;return e.value=void 0,e.done=!0,e};return o.next=o}}return{next:M}}function M(){return{value:void 0,done:!0}}return h.prototype=d,u(m,"constructor",d),u(d,"constructor",h),h.displayName=u(d,a,"GeneratorFunction"),t.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===h||"GeneratorFunction"===(e.displayName||e.name))},t.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,d):(t.__proto__=d,u(t,a,"GeneratorFunction")),t.prototype=Object.create(m),t},t.awrap=function(t){return{__await:t}},g(w.prototype),u(w.prototype,o,(function(){return this})),t.AsyncIterator=w,t.async=function(e,r,n,i,o){void 0===o&&(o=Promise);var a=new w(s(e,r,n,i),o);return t.isGeneratorFunction(r)?a:a.next().then((function(t){return t.done?t.value:a.next()}))},g(m),u(m,a,"Generator"),u(m,i,(function(){return this})),u(m,"toString",(function(){return"[object Generator]"})),t.keys=function(t){var e=[];for(var r in t)e.push(r);return e.reverse(),function r(){for(;e.length;){var n=e.pop();if(n in t)return r.value=n,r.done=!1,r}return r.done=!0,r}},t.values=S,O.prototype={constructor:O,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(_),!t)for(var e in this)"t"===e.charAt(0)&&r.call(this,e)&&!isNaN(+e.slice(1))&&(this[e]=void 0)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var e=this;function n(r,n){return a.type="throw",a.arg=t,e.next=r,n&&(e.method="next",e.arg=void 0),!!n}for(var i=this.tryEntries.length-1;i>=0;--i){var o=this.tryEntries[i],a=o.completion;if("root"===o.tryLoc)return n("end");if(o.tryLoc<=this.prev){var u=r.call(o,"catchLoc"),s=r.call(o,"finallyLoc");if(u&&s){if(this.prev<o.catchLoc)return n(o.catchLoc,!0);if(this.prev<o.finallyLoc)return n(o.finallyLoc)}else if(u){if(this.prev<o.catchLoc)return n(o.catchLoc,!0)}else{if(!s)throw new Error("try statement without catch or finally");if(this.prev<o.finallyLoc)return n(o.finallyLoc)}}}},abrupt:function(t,e){for(var n=this.tryEntries.length-1;n>=0;--n){var i=this.tryEntries[n];if(i.tryLoc<=this.prev&&r.call(i,"finallyLoc")&&this.prev<i.finallyLoc){var o=i;break}}o&&("break"===t||"continue"===t)&&o.tryLoc<=e&&e<=o.finallyLoc&&(o=null);var a=o?o.completion:{};return a.type=t,a.arg=e,o?(this.method="next",this.next=o.finallyLoc,f):this.complete(a)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),f},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),_(r),f}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var i=n.arg;_(r)}return i}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,r){return this.delegate={iterator:S(t),resultName:e,nextLoc:r},"next"===this.method&&(this.arg=void 0),f}},t}function L(t,e,r,n,i,o,a){try{var u=t[o](a),s=u.value}catch(t){return void r(t)}u.done?e(s):Promise.resolve(s).then(n,i)}function j(t){return function(){var e=this,r=arguments;return new Promise((function(n,i){var o=t.apply(e,r);function a(t){L(o,n,i,a,u,"next",t)}function u(t){L(o,n,i,a,u,"throw",t)}a(void 0)}))}}const E={name:"Dashboard",setup:function(){var t=(0,$.qj)({items:[]});return(0,n.bv)(j(x().mark((function e(){var r;return x().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,_.Z.get("ajax/history");case 2:r=e.sent,t.items=r.data.data;case 4:case"end":return e.stop()}}),e)})))),M(M({},(0,$.BK)(t)),{},{selectId:function(t){O.p.value=t,b.Z.push("/system/"+t)},dateFormat:function(t){return w.unix(t).format("YYYY-MM-DD HH:mm:ssZ")}})}},U=(0,r(4181).Z)(E,[["render",function(t,e,r,w,$,b){var _=(0,n.up)("fa-icon");return(0,n.wg)(),(0,n.iD)("div",a,[(0,n._)("table",u,[s,c,(0,n._)("tbody",null,[((0,n.wg)(!0),(0,n.iD)(n.HY,null,(0,n.Ko)(t.items,(function(t){var e;return(0,n.wg)(),(0,n.iD)("tr",null,[(0,n._)("td",null,[(0,n._)("a",{href:"#",onClick:(0,i.iM)((function(e){return w.selectId(t.id)}),["prevent"]),class:"link-secondary"},(0,o.zw)(t.id),9,f)]),l,(0,n._)("td",null,[(0,n._)("button",{class:"btn btn-primary btn-sm",type:"button",onClick:function(e){return w.selectId(t.id)}},[(0,n.Wm)(_,{icon:"fa-solid fa-eye"})],8,h)]),d,(0,n._)("td",null,(0,o.zw)(t.ip),1),p,(0,n._)("td",null,(0,o.zw)(t.method),1),y,(0,n._)("td",null,[(0,n._)("a",{href:t.url,target:"_blank",class:"link-secondary"},[(0,n.Uk)((0,o.zw)(t.url)+" ",1),(0,n.Wm)(_,{class:"small",icon:"fa-solid fa-external-link"})],8,v)]),m,(0,n._)("td",null,(0,o.zw)(w.dateFormat(t.time)),1),g,(0,n._)("td",null,(0,o.zw)(null===(e=t.response)||void 0===e?void 0:e.status),1)])})),256))])])])}]])}}]);
3
+ //# sourceMappingURL=864.js.map
@@ -0,0 +1 @@
1
+ /*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */