filecat 5.3.3 → 5.4.2

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 (39) hide show
  1. package/build/dist/209.1ecaa08cb4cc07771467.js +2 -0
  2. package/build/dist/257.7686ae1c8fd42a786fb5.js +2 -0
  3. package/build/dist/349.52591db66a15ecd999d6.js +2 -0
  4. package/build/dist/{523.6f1af3989678e157598f.js → 523.8fe7ce5a3163ccfb36f9.js} +2 -2
  5. package/build/dist/{542.052ecfb0f594fd6f1e80.js → 542.69a3eb07e1e7c4d9c530.js} +2 -2
  6. package/build/dist/{614.20ec5ed2b559cdeb381b.js → 614.702c22f4e2d4609836c4.js} +1 -1
  7. package/build/dist/{273.ff6447cee75b2ca7d60d.js → 654.f42c8f1e2096e9b33683.js} +1 -1
  8. package/build/dist/757.b646b3a789c0bd0b401e.js +1 -0
  9. package/build/dist/{654.51eee04a7329fc954a5d.js → 759.216bb31e36dee7c79e64.js} +2 -2
  10. package/build/dist/827.2c0606e22646864b8e4b.js +2 -0
  11. package/build/dist/{859.b7ddfa663ba2c84040a7.js → 859.ce5bfc77f8fa54a65a03.js} +2 -2
  12. package/build/dist/943.12995fba0356b60bb9f6.js +2 -0
  13. package/build/dist/960.32060178ec62652f0ee0.js +2 -0
  14. package/build/dist/{995.d9b2e463276f4ca88318.js → 995.31a6c682896502655d5f.js} +2 -2
  15. package/build/dist/995.31a6c682896502655d5f.js.LICENSE.txt +1 -0
  16. package/build/dist/index.html +1 -1
  17. package/build/dist/main.089e9c8f20df7c8c4e36.js +2 -0
  18. package/build/dist/{main.34e63c70f20770dc668d.js.LICENSE.txt → main.089e9c8f20df7c8c4e36.js.LICENSE.txt} +2 -2
  19. package/build/main.js +1 -1
  20. package/package.json +1 -1
  21. package/shell/build.js +1 -1
  22. package/shell/config/webpack.web.config.js +1 -1
  23. package/build/dist/257.fcee8337192ed6697f61.js +0 -2
  24. package/build/dist/349.d6093d2d681e79e1291f.js +0 -2
  25. package/build/dist/432.74539b8dfd4e8aea0158.js +0 -2
  26. package/build/dist/757.245e4eca510499ede5da.js +0 -1
  27. package/build/dist/943.e4fc59033a3974090875.js +0 -2
  28. package/build/dist/960.049f733aaff457c68626.js +0 -2
  29. package/build/dist/main.34e63c70f20770dc668d.js +0 -2
  30. /package/build/dist/{432.74539b8dfd4e8aea0158.js.LICENSE.txt → 209.1ecaa08cb4cc07771467.js.LICENSE.txt} +0 -0
  31. /package/build/dist/{257.fcee8337192ed6697f61.js.LICENSE.txt → 257.7686ae1c8fd42a786fb5.js.LICENSE.txt} +0 -0
  32. /package/build/dist/{349.d6093d2d681e79e1291f.js.LICENSE.txt → 349.52591db66a15ecd999d6.js.LICENSE.txt} +0 -0
  33. /package/build/dist/{523.6f1af3989678e157598f.js.LICENSE.txt → 523.8fe7ce5a3163ccfb36f9.js.LICENSE.txt} +0 -0
  34. /package/build/dist/{542.052ecfb0f594fd6f1e80.js.LICENSE.txt → 542.69a3eb07e1e7c4d9c530.js.LICENSE.txt} +0 -0
  35. /package/build/dist/{654.51eee04a7329fc954a5d.js.LICENSE.txt → 759.216bb31e36dee7c79e64.js.LICENSE.txt} +0 -0
  36. /package/build/dist/{995.d9b2e463276f4ca88318.js.LICENSE.txt → 827.2c0606e22646864b8e4b.js.LICENSE.txt} +0 -0
  37. /package/build/dist/{859.b7ddfa663ba2c84040a7.js.LICENSE.txt → 859.ce5bfc77f8fa54a65a03.js.LICENSE.txt} +0 -0
  38. /package/build/dist/{943.e4fc59033a3974090875.js.LICENSE.txt → 943.12995fba0356b60bb9f6.js.LICENSE.txt} +0 -0
  39. /package/build/dist/{960.049f733aaff457c68626.js.LICENSE.txt → 960.32060178ec62652f0ee0.js.LICENSE.txt} +0 -0
@@ -1,2 +1,2 @@
1
- /*! For license information please see 995.d9b2e463276f4ca88318.js.LICENSE.txt */
2
- "use strict";(self.webpackChunkfilecat=self.webpackChunkfilecat||[]).push([[995],{9995:(t,e,r)=>{r.r(e),r.d(e,{default:()=>st});var n=r(6540),o=r(7022),i=r(7444),a=r(6417),u=r(7767),c=r(4694),l=r(6007),s=r(4289),f=r(8844),h=r(7567),p=r(4251),d=r(2389),v=r(8247),m=r(9214);function y(t){return y="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},y(t)}function w(){w=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,o="function"==typeof Symbol?Symbol:{},i=o.iterator||"@@iterator",a=o.asyncIterator||"@@asyncIterator",u=o.toStringTag||"@@toStringTag";function c(t,e,r,n){return Object.defineProperty(t,e,{value:r,enumerable:!n,configurable:!n,writable:!n})}try{c({},"")}catch(t){c=function(t,e,r){return t[e]=r}}function l(e,r,n,o){var i=r&&r.prototype instanceof h?r:h,a=Object.create(i.prototype);return c(a,"_invoke",function(e,r,n){var o=1;return function(i,a){if(3===o)throw Error("Generator is already running");if(4===o){if("throw"===i)throw a;return{value:t,done:!0}}for(n.method=i,n.arg=a;;){var u=n.delegate;if(u){var c=E(u,n);if(c){if(c===f)continue;return c}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(1===o)throw o=4,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=3;var l=s(e,r,n);if("normal"===l.type){if(o=n.done?4:2,l.arg===f)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(o=4,n.method="throw",n.arg=l.arg)}}}(e,n,new O(o||[])),!0),a}function s(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=l;var f={};function h(){}function p(){}function d(){}var v={};c(v,i,(function(){return this}));var m=Object.getPrototypeOf,g=m&&m(m(P([])));g&&g!==r&&n.call(g,i)&&(v=g);var _=d.prototype=h.prototype=Object.create(v);function b(t){["next","throw","return"].forEach((function(e){c(t,e,(function(t){return this._invoke(e,t)}))}))}function x(t,e){function r(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"==y(f)&&n.call(f,"__await")?e.resolve(f.__await).then((function(t){r("next",t,a,u)}),(function(t){r("throw",t,a,u)})):e.resolve(f).then((function(t){l.value=t,a(l)}),(function(t){return r("throw",t,a,u)}))}u(c.arg)}var o;c(this,"_invoke",(function(t,n){function i(){return new e((function(e,o){r(t,n,e,o)}))}return o=o?o.then(i,i):i()}),!0)}function E(e,r){var n=r.method,o=e.i[n];if(o===t)return r.delegate=null,"throw"===n&&e.i.return&&(r.method="return",r.arg=t,E(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),f;var i=s(o,e.i,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,f;var a=i.arg;return a?a.done?(r[e.r]=a.value,r.next=e.n,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,f):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,f)}function k(t){this.tryEntries.push(t)}function A(e){var r=e[4]||{};r.type="normal",r.arg=t,e[4]=r}function O(t){this.tryEntries=[[-1]],t.forEach(k,this),this.reset(!0)}function P(e){if(null!=e){var r=e[i];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,a=function r(){for(;++o<e.length;)if(n.call(e,o))return r.value=e[o],r.done=!1,r;return r.value=t,r.done=!0,r};return a.next=a}}throw new TypeError(y(e)+" is not iterable")}return p.prototype=d,c(_,"constructor",d),c(d,"constructor",p),p.displayName=c(d,u,"GeneratorFunction"),e.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===p||"GeneratorFunction"===(e.displayName||e.name))},e.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,d):(t.__proto__=d,c(t,u,"GeneratorFunction")),t.prototype=Object.create(_),t},e.awrap=function(t){return{__await:t}},b(x.prototype),c(x.prototype,a,(function(){return this})),e.AsyncIterator=x,e.async=function(t,r,n,o,i){void 0===i&&(i=Promise);var a=new x(l(t,r,n,o),i);return e.isGeneratorFunction(r)?a:a.next().then((function(t){return t.done?t.value:a.next()}))},b(_),c(_,u,"Generator"),c(_,i,(function(){return this})),c(_,"toString",(function(){return"[object Generator]"})),e.keys=function(t){var e=Object(t),r=[];for(var n in e)r.unshift(n);return function t(){for(;r.length;)if((n=r.pop())in e)return t.value=n,t.done=!1,t;return t.done=!0,t}},e.values=P,O.prototype={constructor:O,reset:function(e){if(this.prev=this.next=0,this.sent=this._sent=t,this.done=!1,this.delegate=null,this.method="next",this.arg=t,this.tryEntries.forEach(A),!e)for(var r in this)"t"===r.charAt(0)&&n.call(this,r)&&!isNaN(+r.slice(1))&&(this[r]=t)},stop:function(){this.done=!0;var t=this.tryEntries[0][4];if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var r=this;function n(t){a.type="throw",a.arg=e,r.next=t}for(var o=r.tryEntries.length-1;o>=0;--o){var i=this.tryEntries[o],a=i[4],u=this.prev,c=i[1],l=i[2];if(-1===i[0])return n("end"),!1;if(!c&&!l)throw Error("try statement without catch or finally");if(null!=i[0]&&i[0]<=u){if(u<c)return this.method="next",this.arg=t,n(c),!0;if(u<l)return n(l),!1}}},abrupt:function(t,e){for(var r=this.tryEntries.length-1;r>=0;--r){var n=this.tryEntries[r];if(n[0]>-1&&n[0]<=this.prev&&this.prev<n[2]){var o=n;break}}o&&("break"===t||"continue"===t)&&o[0]<=e&&e<=o[2]&&(o=null);var i=o?o[4]:{};return i.type=t,i.arg=e,o?(this.method="next",this.next=o[2],f):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),f},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r[2]===t)return this.complete(r[4],r[3]),A(r),f}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r[0]===t){var n=r[4];if("throw"===n.type){var o=n.arg;A(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={i:P(e),r,n},"next"===this.method&&(this.arg=t),f}},e}function g(t){return function(t){if(Array.isArray(t))return k(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||E(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function _(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){_(i,n,o,a,u,"next",t)}function u(t){_(i,n,o,a,u,"throw",t)}a(void 0)}))}}function x(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,i,a,u=[],c=!0,l=!1;try{if(i=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;c=!1}else for(;!(c=(n=i.call(r)).done)&&(u.push(n.value),u.length!==e);c=!0);}catch(t){l=!0,o=t}finally{try{if(!c&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(l)throw o}}return u}}(t,e)||E(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function E(t,e){if(t){if("string"==typeof t)return k(t,e);var r={}.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?k(t,e):void 0}}function k(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r<e;r++)n[r]=t[r];return n}function A(t){var e=x((0,i.L4)(a.A.selectedFileList),2),r=e[0],y=e[1],_=x((0,i.L4)(a.A.clickFileList),2),E=_[0],k=_[1],A=x((0,i.L4)(a.A.nowFileList),2),O=A[0],P=A[1],S=x((0,i.L4)(a.A.confirm),2),j=(S[0],S[1]),L=x((0,i.L4)(a.A.enterKey),2),C=L[0],G=(L[1],(0,v.kZ)().click_file),F=((0,d.Bd)().t,(0,u.Zp)()),I=((0,u.zy)(),function(){var e=b(w().mark((function e(n,i){var a,u,l,f,h,p;return w().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(null!==(0,c.kW)(r,n))y((0,c.P1)(r,n));else if("ctrl"===C)y([].concat(g(r),[n]));else if("shift"===C){if(a=(0,c.a7)(r),u=a.max,l=a.min,f=[],n>=u)for(h=u;h<=n;h++)f.push(h);else for(p=l;p>=n;p--)f.push(p);y(f)}else y([n]);if(k([].concat(g(E),[n])),setTimeout((function(){k((0,c.P1)(E,n))}),300),t.type!==o.Iw.folder){e.next=14;break}if(void 0===E.find((function(t){return t===n}))){e.next=12;break}return F((0,c.IO)((0,s.vX)(),i)),y([]),k([]),P({files:[],folders:[]}),e.abrupt("return");case 12:e.next=16;break;case 14:void 0!==E.find((function(t){return t===n}))&&G({name:i,size:t.origin_size,opt_shell:!0,mtime:t.mtime});case 16:case"end":return e.stop()}}),e)})));return function(t,r){return e.apply(this,arguments)}}()),z=x((0,i.L4)(a.A.showPrompt),2),N=(z[0],z[1]),T=function(){var t=b(w().mark((function t(e){var n,o;return w().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n=(0,m.ib)(O,r),o=n.map((function(t){return(0,m.Ok)(t.name)})),t.next=4,l.$M.post("cut",{files:o,to:"".concat((0,s.GG)("file",(0,s.vX)()),"/").concat(e)});case 4:t.sent,y([]),j({open:!1,handle:null}),F((0,s.vX)());case 8:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}();return n.createElement(f.B,{extraAttr:{onContextMenu:function(e){!function(t,e,r,n){t.preventDefault(),t.stopPropagation();var i=new p.i;i.path=(0,c.IO)((0,s.vX)(),e),i.filename=e,i.x=t.clientX,i.y=t.clientY,i.type=r?o.Iw.folder:(0,p.u)(e),i.size=n,N({show:!0,type:h.PromptEnum.FileMenu,overlay:!1,data:i})}(e,t.name,t.type===o.Iw.folder,t.origin_size)}},draggable_handle:T,name:t.name,index:t.index,mtime:t.mtime,size:t.size,type:t.type,isLink:t.isLink,path:t.path,icon:t.icon,show_mtime:t.show_mtime,click:I,itemWidth:t.itemWidth})}var O=r(7374),P=r(5997),S=r(7952),j=r(5726),L=r(3459),C=r(5725),G=r(3033),F=r(2042),I=r(7523),z=r(8815),N=r(2730),T=r(1251),M=r(447),W=r(7071),D=r(4944),X=r(4238),K=r(3430),U=r(2458),Y=r(3496);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)}function R(){return R=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)({}).hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t},R.apply(null,arguments)}function $(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 Z(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?$(Object(r),!0).forEach((function(e){B(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):$(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function B(t,e,r){return(e=function(t){var e=function(t,e){if("object"!=H(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=H(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==H(e)?e:e+""}(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function V(){V=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,o="function"==typeof Symbol?Symbol:{},i=o.iterator||"@@iterator",a=o.asyncIterator||"@@asyncIterator",u=o.toStringTag||"@@toStringTag";function c(t,e,r,n){return Object.defineProperty(t,e,{value:r,enumerable:!n,configurable:!n,writable:!n})}try{c({},"")}catch(t){c=function(t,e,r){return t[e]=r}}function l(e,r,n,o){var i=r&&r.prototype instanceof h?r:h,a=Object.create(i.prototype);return c(a,"_invoke",function(e,r,n){var o=1;return function(i,a){if(3===o)throw Error("Generator is already running");if(4===o){if("throw"===i)throw a;return{value:t,done:!0}}for(n.method=i,n.arg=a;;){var u=n.delegate;if(u){var c=b(u,n);if(c){if(c===f)continue;return c}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(1===o)throw o=4,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=3;var l=s(e,r,n);if("normal"===l.type){if(o=n.done?4:2,l.arg===f)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(o=4,n.method="throw",n.arg=l.arg)}}}(e,n,new k(o||[])),!0),a}function s(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=l;var f={};function h(){}function p(){}function d(){}var v={};c(v,i,(function(){return this}));var m=Object.getPrototypeOf,y=m&&m(m(A([])));y&&y!==r&&n.call(y,i)&&(v=y);var w=d.prototype=h.prototype=Object.create(v);function g(t){["next","throw","return"].forEach((function(e){c(t,e,(function(t){return this._invoke(e,t)}))}))}function _(t,e){function r(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"==H(f)&&n.call(f,"__await")?e.resolve(f.__await).then((function(t){r("next",t,a,u)}),(function(t){r("throw",t,a,u)})):e.resolve(f).then((function(t){l.value=t,a(l)}),(function(t){return r("throw",t,a,u)}))}u(c.arg)}var o;c(this,"_invoke",(function(t,n){function i(){return new e((function(e,o){r(t,n,e,o)}))}return o=o?o.then(i,i):i()}),!0)}function b(e,r){var n=r.method,o=e.i[n];if(o===t)return r.delegate=null,"throw"===n&&e.i.return&&(r.method="return",r.arg=t,b(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),f;var i=s(o,e.i,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,f;var a=i.arg;return a?a.done?(r[e.r]=a.value,r.next=e.n,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,f):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,f)}function x(t){this.tryEntries.push(t)}function E(e){var r=e[4]||{};r.type="normal",r.arg=t,e[4]=r}function k(t){this.tryEntries=[[-1]],t.forEach(x,this),this.reset(!0)}function A(e){if(null!=e){var r=e[i];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,a=function r(){for(;++o<e.length;)if(n.call(e,o))return r.value=e[o],r.done=!1,r;return r.value=t,r.done=!0,r};return a.next=a}}throw new TypeError(H(e)+" is not iterable")}return p.prototype=d,c(w,"constructor",d),c(d,"constructor",p),p.displayName=c(d,u,"GeneratorFunction"),e.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===p||"GeneratorFunction"===(e.displayName||e.name))},e.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,d):(t.__proto__=d,c(t,u,"GeneratorFunction")),t.prototype=Object.create(w),t},e.awrap=function(t){return{__await:t}},g(_.prototype),c(_.prototype,a,(function(){return this})),e.AsyncIterator=_,e.async=function(t,r,n,o,i){void 0===i&&(i=Promise);var a=new _(l(t,r,n,o),i);return e.isGeneratorFunction(r)?a:a.next().then((function(t){return t.done?t.value:a.next()}))},g(w),c(w,u,"Generator"),c(w,i,(function(){return this})),c(w,"toString",(function(){return"[object Generator]"})),e.keys=function(t){var e=Object(t),r=[];for(var n in e)r.unshift(n);return function t(){for(;r.length;)if((n=r.pop())in e)return t.value=n,t.done=!1,t;return t.done=!0,t}},e.values=A,k.prototype={constructor:k,reset:function(e){if(this.prev=this.next=0,this.sent=this._sent=t,this.done=!1,this.delegate=null,this.method="next",this.arg=t,this.tryEntries.forEach(E),!e)for(var r in this)"t"===r.charAt(0)&&n.call(this,r)&&!isNaN(+r.slice(1))&&(this[r]=t)},stop:function(){this.done=!0;var t=this.tryEntries[0][4];if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var r=this;function n(t){a.type="throw",a.arg=e,r.next=t}for(var o=r.tryEntries.length-1;o>=0;--o){var i=this.tryEntries[o],a=i[4],u=this.prev,c=i[1],l=i[2];if(-1===i[0])return n("end"),!1;if(!c&&!l)throw Error("try statement without catch or finally");if(null!=i[0]&&i[0]<=u){if(u<c)return this.method="next",this.arg=t,n(c),!0;if(u<l)return n(l),!1}}},abrupt:function(t,e){for(var r=this.tryEntries.length-1;r>=0;--r){var n=this.tryEntries[r];if(n[0]>-1&&n[0]<=this.prev&&this.prev<n[2]){var o=n;break}}o&&("break"===t||"continue"===t)&&o[0]<=e&&e<=o[2]&&(o=null);var i=o?o[4]:{};return i.type=t,i.arg=e,o?(this.method="next",this.next=o[2],f):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),f},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r[2]===t)return this.complete(r[4],r[3]),E(r),f}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r[0]===t){var n=r[4];if("throw"===n.type){var o=n.arg;E(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={i:A(e),r,n},"next"===this.method&&(this.arg=t),f}},e}function q(t,e){var r="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!r){if(Array.isArray(t)||(r=et(t))||e&&t&&"number"==typeof t.length){r&&(t=r);var n=0,o=function(){};return{s:o,n:function(){return n>=t.length?{done:!0}:{done:!1,value:t[n++]}},e:function(t){throw t},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,u=!1;return{s:function(){r=r.call(t)},n:function(){var t=r.next();return a=t.done,t},e:function(t){u=!0,i=t},f:function(){try{a||null==r.return||r.return()}finally{if(u)throw i}}}}function J(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 Q(t){return function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){J(i,n,o,a,u,"next",t)}function u(t){J(i,n,o,a,u,"throw",t)}a(void 0)}))}}function tt(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,i,a,u=[],c=!0,l=!1;try{if(i=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;c=!1}else for(;!(c=(n=i.call(r)).done)&&(u.push(n.value),u.length!==e);c=!0);}catch(t){l=!0,o=t}finally{try{if(!c&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(l)throw o}}return u}}(t,e)||et(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function et(t,e){if(t){if("string"==typeof t)return rt(t,e);var r={}.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?rt(t,e):void 0}}function rt(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r<e;r++)n[r]=t[r];return n}var nt,ot=n.lazy((function(){return Promise.all([r.e(856),r.e(659)]).then(r.bind(r,3659))})),it=n.lazy((function(){return Promise.all([r.e(856),r.e(636)]).then(r.bind(r,1636))})),at=n.lazy((function(){return Promise.all([r.e(856),r.e(402)]).then(r.bind(r,3402))})),ut=Object.values(K.UG),ct=280,lt={};function st(){var t,e,r=tt((0,i.L4)(a.A.editorSetting),2),f=(r[0],r[1]),y=tt((0,i.L4)(a.A.file_preview),2),w=(y[0],y[1]),g=(0,d.Bd)().t,_=(0,n.useRef)(null),b=(0,u.zy)(),x=(0,u.Zp)(),E=(0,v.MH)().check_user_auth,k=tt((0,i.L4)(a.A.nowFileList),2),H=k[0],$=k[1],B=tt((0,i.L4)(a.A.uploadFiles),2),J=(B[0],B[1]),et=tt((0,i.L4)(a.A.showPrompt),2),rt=(et[0],et[1]),st=tt((0,i.L4)(a.A.selectedFileList),2),ft=st[0],ht=(st[1],tt((0,i.L4)(a.A.copyedFileList),2)),pt=ht[0],dt=ht[1],vt=tt((0,i.L4)(a.A.enterKey),2),mt=(vt[0],vt[1]),yt=tt((0,i.L4)(a.A.cutedFileList),2),wt=yt[0],gt=yt[1],_t=tt((0,i.L4)(a.A.selectedFileList),2),bt=(_t[0],_t[1]),xt=tt((0,i.L4)(a.A.clickFileList),2),Et=(xt[0],xt[1]),kt=tt((0,i.L4)(a.A.fileShellShow),2),At=kt[0],Ot=kt[1],Pt=tt((0,i.L4)(a.A.file_root_list),2),St=Pt[0],jt=(Pt[1],tt((0,i.L4)(a.A.file_root_index),2)),Lt=(jt[0],jt[1]),Ct=tt((0,n.useState)(void 0),2),Gt=Ct[0],Ft=Ct[1],It=tt((0,n.useState)(""),2),zt=It[0],Nt=It[1],Tt=tt((0,i.L4)(a.A.workflow_show),2),Mt=Tt[0],Wt=Tt[1],Dt=tt((0,i.L4)(a.A.workflow_realtime_show),2),Xt=Dt[0],Kt=(Dt[1],tt((0,n.useState)(!1),2)),Ut=Kt[0],Yt=Kt[1],Ht=(0,n.useContext)(I.F).reloadUserInfo,Rt=(0,n.useContext)(I.F).initUserInfo,$t=tt((0,i.L4)(a.A.user_base_info),2),Zt=$t[0],Bt=($t[1],(0,v.kZ)().click_file),Vt=tt((0,i.L4)(a.A.prompt_card),2),qt=(Vt[0],Vt[1]),Jt=(0,v.hg)().file_is_running,Qt=tt((0,i.L4)(a.A.to_running_files),2),te=(Qt[0],Qt[1]),ee=tt((0,i.L4)(a.A.router_jump),2),re=(ee[0],ee[1]),ne=function(){var t=Q(V().mark((function t(){var e;return V().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return(e=new W.Nd).dir_path="".concat((0,s.GG)("file",(0,s.vX)())),D.ws.addMsg(X.HK.workflow_realtime,(function(t){var e=t.context;if(t.context){var r,n=q(e.sucess_file_list);try{for(n.s();!(r=n.n()).done;){var o=r.value;o.endsWith(".workflow.yml")?(0,F.LW)("".concat(o.slice(0,-13)," done!")):o.endsWith(".act")&&(0,F.LW)("".concat(o.slice(0,-4)," done!"))}}catch(t){n.e(t)}finally{n.f()}var i,a=q(e.failed_file_list);try{for(a.s();!(i=a.n()).done;){var u=i.value;u.endsWith(".workflow.yml")?(0,F.zN)("".concat(u.slice(0,-13)," failed!")):u.endsWith(".act")&&(0,F.zN)("".concat(u.slice(0,-4)," failed!"))}}catch(t){a.e(t)}finally{a.f()}te(new Set(e.running_file_list))}})),t.next=5,D.ws.sendData(X.HK.workflow_realtime,e);case 5:case"end":return t.stop()}}),t)})));return function(){return t.apply(this,arguments)}}(),oe=function(){var t=Q(V().mark((function t(e){var r,n,o,i,a,u,c,f,h,p,d;return V().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return e=e?encodeURIComponent(e)+"?is_sys_path=1":encodeURIComponent((0,s.GG)("file",(0,s.vX)())),t.next=3,l.$M.get(e);case 3:if((o=t.sent).code!==L.m.PreFile){t.next=7;break}return Bt({name:o.message,context:o.data,opt_shell:!0}),t.abrupt("return");case 7:if(o.code===L.m.Sucess){t.next=10;break}return o.message&&(0,F.zN)(o.message),t.abrupt("return");case 10:i=o.data,(0,m.yC)(i,Zt.user_data.dir_show_type),a=!1,u=q(null!==(r=i.files)&&void 0!==r?r:[]);try{for(u.s();!(c=u.n()).done;)(f=c.value).show_mtime=f.mtime?(0,T.s)(f.mtime):"",f.origin_size=f.size,f.size=(0,z.v7)(f.size),a||!f.name.endsWith(".workflow.yml")&&!f.name.endsWith(".act")||(a=!0,Promise.resolve().then((function(){ne()})))}catch(t){u.e(t)}finally{u.f()}if(void 0===i.relative_user_path){t.next=19;break}return(i.relative_user_path.startsWith("\\")||i.relative_user_path.startsWith("/"))&&(i.relative_user_path=i.relative_user_path.slice(1)),x(i.relative_user_path),t.abrupt("return");case 19:a=!1,h=q(null!==(n=i.folders)&&void 0!==n?n:[]);try{for(h.s();!(p=h.n()).done;)(d=p.value).show_mtime=d.mtime?(0,T.s)(d.mtime):"",a||d.name!==W.SB||(Yt(!0),a=!0)}catch(t){h.e(t)}finally{h.f()}$(o.data),nt=o.data;case 24:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}(),ie=function(){var t=Math.floor(document.querySelector("main").offsetWidth/ct);0===t&&(t=1),Ft("calc(".concat(100/t,"% - 1em)"))};(0,n.useEffect)((function(){var t=function(){var t=Q(V().mark((function t(){return V().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,oe();case 2:case"end":return t.stop()}}),t)})));return function(){return t.apply(this,arguments)}}();t(),f({open:!1}),w({open:!1}),Yt(!1),lt={}}),[b]),(0,n.useEffect)((function(){return Q(V().mark((function t(){return V().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:te(new Set);case 1:case"end":return t.stop()}}),t)})))}),[]);var ae=function(){var t=Q(V().mark((function t(e){var r,n,o,i;return V().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(e.preventDefault(),e.stopPropagation(),r=e.dataTransfer,n=e.target,!(r.files.length<=0)){t.next=6;break}return t.abrupt("return");case 6:for(o=0;o<5;o++)null===n||n.classList.contains("item")||(n=n.parentElement);return t.next=9,(0,j.T)(r);case 9:i=t.sent,J(i),rt({show:!0,type:h.PromptEnum.FilesUpload,overlay:!1,data:{}});case 12:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}(),ue=function(t){t.preventDefault()};function ce(){return(ce=Q(V().mark((function t(){var e,r,n;return V().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n=(0,c.jH)(ut,null!==(e=null==Zt||null===(r=Zt.user_data)||void 0===r?void 0:r.file_list_show_type)&&void 0!==e?e:""),t.next=3,l.wm.post(Y.s.user_save_user_file_list_show_type,{type:n});case 3:Rt();case 4:case"end":return t.stop()}}),t)})))).apply(this,arguments)}function le(t){(0,F.LW)(t)}(0,n.useEffect)((function(){var t=_.current.ownerDocument;return t.addEventListener("dragover",ue),t.addEventListener("drop",ae),ie(),window.addEventListener("resize",ie),function(){t.removeEventListener("dragover",ue),t.removeEventListener("drop",ae),window.removeEventListener("resize",ie),At.show&&Ot({show:!1,path:""})}}),[]);var se=function(){var t=Q(V().mark((function t(e){return V().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return Lt(e),t.next=3,l.$M.post("base_switch",{root_index:e});case 3:return t.next=5,Ht();case 5:x("/file/"),bt([]),Et([]);case 8:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}(),fe=function(t){qt({open:!0,title:g("信息"),context_div:n.createElement("div",{style:{maxWidth:"25rem"}},n.createElement(C.Yh,{left:g("挂载位置磁盘"),right:null==t?void 0:t.total_size}),n.createElement(C.Yh,{left:"".concat(g("磁盘剩余")),right:null==t?void 0:t.left_size}),n.createElement(C.Yh,{left:"".concat(g("文件系统")),right:null==t?void 0:t.fs_type}),n.createElement(C.Yh,{left:"".concat(g("文件夹数")),right:H.folders.length}),n.createElement(C.Yh,{left:"".concat(g("文件数")),right:H.files.length}),n.createElement(C.Yh,{left:"".concat(g("当前位置")),right:n.createElement(M.xP,{context:null==t?void 0:t.now_absolute_path})})),cancel:function(){D.ws.removeMsg(X.HK.file_info)}})},he=function(){var t=Q(V().mark((function t(){var e,r;return V().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(lt.now_absolute_path){t.next=8;break}return D.ws.addMsg(X.HK.file_info,(function(t){var r=t.context;e&&(lt=Z(Z({},lt),r),D.ws.removeMsg(X.HK.file_info),fe(lt))})),t.next=4,D.ws.sendData(X.HK.file_info,{type:o.Iw.folder,path:(0,s.GG)("file",(0,s.vX)())});case 4:r=t.sent,e=r.context,fe(lt=e);case 8:fe(lt);case 9:case"end":return t.stop()}}),t)})));return function(){return t.apply(this,arguments)}}(),pe=tt((0,n.useState)(!1),2),de=pe[0],ve=pe[1];(0,n.useEffect)((function(){var t=function(t){if(de)if(t.ctrlKey)if("a"===t.key||"A"===t.key){for(var e=H.files.length,r=H.folders.length,n=[],o=0;o<e+r;o++)n.push(o);bt(n)}else mt("ctrl");else"Escape"===t.key?bt([]):"Shift"===t.key&&mt("shift")},e=function(t){t.ctrlKey||mt("")};return window.addEventListener("keydown",t),window.addEventListener("keyup",e),function(){window.removeEventListener("keydown",t),window.removeEventListener("keyup",e)}}),[H,de]);var me=function(t){t.target===t.currentTarget&&bt([])};return n.createElement("div",{className:"not-select-div"},n.createElement(S.A,{left_children:n.createElement(G.$Z,{handleEnterPress:function(){var t,e;if(nt){bt([]),Et([]);var r,n=[],o=[],i=q(null!==(t=nt.files)&&void 0!==t?t:[]);try{for(i.s();!(r=i.n()).done;){var a=r.value;a.name.includes(zt)&&n.push(a)}}catch(t){i.e(t)}finally{i.f()}var u,c=q(null!==(e=nt.folders)&&void 0!==e?e:[]);try{for(c.s();!(u=c.n()).done;){var l=u.value;l.name.includes(zt)&&o.push(l)}}catch(t){c.e(t)}finally{c.f()}$({files:n,folders:o})}},placeholder:g("搜索当前目录"),icon:"search",value:"",handleInputChange:function(t){Nt(t)},max_width:"25em"})},ft.length>0&&n.createElement(P.rA,{icon:"delete",title:g("删除"),onClick:function(){rt({show:!0,type:h.PromptEnum.FilesDelete,overlay:!0,data:{}})}}),ft.length>0&&n.createElement(P.rA,{icon:"content_copy",title:g("复制"),onClick:function(){var t=(0,m.ib)(H,ft);dt(t.map((function(t){return(0,m.Ok)(t.name)}))),gt([]),le("已复制")}}),ft.length>0&&n.createElement(P.rA,{icon:"content_cut",title:g("剪切"),onClick:function(){var t=(0,m.ib)(H,ft);gt(t.map((function(t){return(0,m.Ok)(t.name)}))),dt([]),le("已剪切")}}),(pt.length>0||wt.length>0)&&n.createElement(P.rA,{onClick:function(){rt({show:!0,type:h.PromptEnum.Confirm,overlay:!0,data:{}})},icon:"content_paste",title:g("粘贴到此处"),tip:pt.length+wt.length}),ft.length>0&&n.createElement(P.rA,{icon:"download",title:g("下载"),onClick:function(){for(var t=(0,m.ib)(H,ft),e=0;e<t.length;e++){var r=t[e];t[e]=encodeURIComponent((0,m.Ok)(r.name))}var n=l.$M.getDownloadUrl(t);window.open(n)}}),ft.length>0&&n.createElement(P.rA,{icon:"compress",title:g("压缩"),onClick:function(){for(var t=(0,m.ib)(H,ft),e=0;e<t.length;e++){var r=t[e];t[e]=(0,m.Ok)(r.name)}t&&0!==t.length?rt({show:!0,type:h.PromptEnum.Compress,overlay:!0,data:{files:t}}):(0,F.zN)("没有选中")}}),1===ft.length&&n.createElement(P.rA,{icon:"edit_attributes",title:g("重命名"),onClick:function(){rt({show:!0,type:h.PromptEnum.FileRename,overlay:!0,data:{}})}}),Ut&&n.createElement(P.rA,{icon:"api",title:"workflow",onClick:function(){Wt(!Mt)}}),n.createElement(P.rA,{icon:"terminal",title:"shell",onClick:function(){At.show?Ot({show:!1,path:""}):Ot({show:!0,path:(0,s.GG)("file",(0,s.vX)())})}}),n.createElement(P.rA,{icon:"grid_view",title:g("切换样式"),onClick:function(){return ce.apply(this,arguments)}}),n.createElement(P.rA,{icon:"create_new_folder",title:g("创建文件夹"),onClick:function(){rt({show:!0,type:h.PromptEnum.DirNew,overlay:!0,data:{dir:(0,s.GG)("file",(0,s.vX)())}})}}),n.createElement(P.rA,{icon:"note_add",title:g("创建文本文件"),onClick:function(){rt({show:!0,type:h.PromptEnum.FileNew,overlay:!0,data:{dir:(0,s.GG)("file",(0,s.vX)())}})}}),n.createElement(P.rA,{icon:"upload_file",title:g("上传"),onClick:function(){rt({show:!0,type:h.PromptEnum.UploadFile,overlay:!0,data:{call:function(t){var e,r=null===(e=t.currentTarget)||void 0===e?void 0:e.files;if(r){for(var n=!!r[0].webkitRelativePath,o=[],i=new Set,a=0;a<r.length;a++){var u=r[a],c=n?u.webkitRelativePath:"".concat(u.webkitRelativePath).concat(u.name);u.fullPath=c,n&&i.add((0,N.S)(c)),o.push(u)}var l=[];if(n){var s,f=q(i);try{for(f.s();!(s=f.n()).done;){var p=s.value;l.push({isDir:!0,fullPath:p,name:p})}}catch(t){f.e(t)}finally{f.f()}}l.push.apply(l,o),J(l),rt({show:!0,type:h.PromptEnum.FilesUpload,overlay:!1,data:{}})}}}})}}),n.createElement(P.rA,{icon:"info",title:g("信息"),onClick:he}),n.createElement(P.rA,{icon:"more_vert",title:g("切换目录"),onClick:function(t){var e=new p.i;e.x=t.clientX,e.y=t.clientY,e.type=o.Iw.directory,e.items=St,e.textClick=function(){var t=Q(V().mark((function t(e){return V().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:se(e),rt({data:void 0,overlay:!1,type:"",show:!1});case 2:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}(),rt({show:!0,type:h.PromptEnum.FileMenu,overlay:!1,data:e})}})),n.createElement(O.e,{baseRoute:"file",clickFun:function(){bt([]),Et([])},input_path_enter:function(t){(0,U.Z1)(t)?oe(t):x((0,U.Jn)((0,s.vX)(),t)),bt([]),Et([]),$({files:[],folders:[]})}}),n.createElement("div",{onContextMenu:function(t){t.preventDefault(),t.stopPropagation();var e=new p.i;e.x=t.clientX,e.y=t.clientY,e.type=o.Iw.directory;var r=[{r:n.createElement("span",{style:{color:Zt.user_data.dir_show_type===K.t8.time_minx_max?"green":void 0}},g("时间逆序")),v:K.t8.time_minx_max},{r:n.createElement("span",{style:{color:Zt.user_data.dir_show_type===K.t8.time_max_min?"green":void 0}},g("时间顺序")),v:K.t8.time_max_min}],i=[{r:n.createElement("span",{style:{color:Zt.user_data.dir_show_type===K.t8.size_min_max?"green":void 0}},g("大小逆序")),v:K.t8.size_min_max},{r:n.createElement("span",{style:{color:Zt.user_data.dir_show_type===K.t8.size_max_min?"green":void 0}},g("大小顺序")),v:K.t8.size_max_min}],a=[{r:g("文件排序"),v:"",items:[{r:n.createElement("span",{style:{color:Zt.user_data.dir_show_type?void 0:"green"}},g("系统默认")),v:K.t8.defualt},{r:n.createElement("span",{style:{color:Zt.user_data.dir_show_type===K.t8.name?"green":void 0}},g("名字")),v:K.t8.name},{r:n.createElement("span",{style:{color:Zt.user_data.dir_show_type===K.t8.time_minx_max||Zt.user_data.dir_show_type===K.t8.time_max_min?"green":void 0}},g("修改时间")),v:!1,items:r},{r:n.createElement("span",{style:{color:Zt.user_data.dir_show_type===K.t8.size_min_max||Zt.user_data.dir_show_type===K.t8.size_max_min?"green":void 0}},g("文件大小")),v:!1,items:i}]}];E(K.oV.code_resource)&&a.push({r:g("添加http资源根目录"),v:"code_resource"}),E(K.oV.http_proxy)&&a.push({r:g("在此目录下载http资源"),v:"http_resource"}),e.items=a,e.textClick=function(){var t=Q(V().mark((function t(e){var r,n;return V().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(!1!==e){t.next=2;break}return t.abrupt("return");case 2:if("code_resource"!==e){t.next=12;break}return t.next=5,D.ws.sendData(X.HK.file_info,{path:(0,s.GG)("file",(0,s.vX)())});case 5:return r=t.sent,re({page_self_router_api_data:["",r.context.now_absolute_path]}),rt({data:void 0,overlay:!1,type:"",show:!1}),x("/setting/customer_router/"),t.abrupt("return");case 12:if("http_resource"!==e){t.next=20;break}return t.next=15,D.ws.sendData(X.HK.file_info,{path:(0,s.GG)("file",(0,s.vX)())});case 15:return n=t.sent,re({http_download_map_path:n.context.now_absolute_path}),rt({data:void 0,overlay:!1,type:"",show:!1}),x("/toolbox/http/"),t.abrupt("return");case 20:return t.next=22,l.wm.post(Y.s.user_save_user_file_list_show_type,{type:e,is_dir_list_type:!0});case 22:return t.next=24,Rt();case 24:rt({data:void 0,overlay:!1,type:"",show:!1}),x((0,s.vX)());case 26:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}(),rt({show:!0,type:h.PromptEnum.FileMenu,overlay:!1,data:e})},id:"listing",style:{paddingBottom:"10rem"},className:"mosaic file-icons ".concat(null!==(t=null==Zt||null===(e=Zt.user_data)||void 0===e?void 0:e.file_list_show_type)&&void 0!==t?t:""),ref:_,onMouseEnter:function(){ve(!0)},onMouseLeave:function(){ve(!1)}},H.folders&&H.folders.length>0&&n.createElement("h2",null,g("文件夹")),H.folders&&n.createElement("div",{onClick:me},H.folders.map((function(t,e){return n.createElement(A,R({itemWidth:Gt,index:e,key:e},t))}))),H.files&&H.files.length>0&&n.createElement("h2",{onClick:me},g("文件")),H.files&&n.createElement("div",{onClick:me},H.files.map((function(t,e){return n.createElement(A,R({icon:Jt(t.name)?"refresh":void 0,itemWidth:Gt,index:e+H.folders.length,key:e},t))})))),n.createElement(at,null),Mt&&n.createElement(ot,null),Xt.open&&n.createElement(it,null))}}}]);
1
+ /*! For license information please see 995.31a6c682896502655d5f.js.LICENSE.txt */
2
+ "use strict";(self.webpackChunkfilecat=self.webpackChunkfilecat||[]).push([[995],{9995:(t,e,r)=>{r.r(e),r.d(e,{default:()=>st});var n=r(6540),o=r(7022),i=r(7444),a=r(6417),u=r(7767),c=r(4694),l=r(6007),s=r(4289),f=r(8844),h=r(7567),p=r(4251),d=r(2389),v=r(8247),m=r(9214);function y(t){return y="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},y(t)}function w(){w=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,o="function"==typeof Symbol?Symbol:{},i=o.iterator||"@@iterator",a=o.asyncIterator||"@@asyncIterator",u=o.toStringTag||"@@toStringTag";function c(t,e,r,n){return Object.defineProperty(t,e,{value:r,enumerable:!n,configurable:!n,writable:!n})}try{c({},"")}catch(t){c=function(t,e,r){return t[e]=r}}function l(e,r,n,o){var i=r&&r.prototype instanceof h?r:h,a=Object.create(i.prototype);return c(a,"_invoke",function(e,r,n){var o=1;return function(i,a){if(3===o)throw Error("Generator is already running");if(4===o){if("throw"===i)throw a;return{value:t,done:!0}}for(n.method=i,n.arg=a;;){var u=n.delegate;if(u){var c=E(u,n);if(c){if(c===f)continue;return c}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(1===o)throw o=4,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=3;var l=s(e,r,n);if("normal"===l.type){if(o=n.done?4:2,l.arg===f)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(o=4,n.method="throw",n.arg=l.arg)}}}(e,n,new O(o||[])),!0),a}function s(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=l;var f={};function h(){}function p(){}function d(){}var v={};c(v,i,(function(){return this}));var m=Object.getPrototypeOf,g=m&&m(m(P([])));g&&g!==r&&n.call(g,i)&&(v=g);var _=d.prototype=h.prototype=Object.create(v);function b(t){["next","throw","return"].forEach((function(e){c(t,e,(function(t){return this._invoke(e,t)}))}))}function x(t,e){function r(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"==y(f)&&n.call(f,"__await")?e.resolve(f.__await).then((function(t){r("next",t,a,u)}),(function(t){r("throw",t,a,u)})):e.resolve(f).then((function(t){l.value=t,a(l)}),(function(t){return r("throw",t,a,u)}))}u(c.arg)}var o;c(this,"_invoke",(function(t,n){function i(){return new e((function(e,o){r(t,n,e,o)}))}return o=o?o.then(i,i):i()}),!0)}function E(e,r){var n=r.method,o=e.i[n];if(o===t)return r.delegate=null,"throw"===n&&e.i.return&&(r.method="return",r.arg=t,E(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),f;var i=s(o,e.i,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,f;var a=i.arg;return a?a.done?(r[e.r]=a.value,r.next=e.n,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,f):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,f)}function k(t){this.tryEntries.push(t)}function A(e){var r=e[4]||{};r.type="normal",r.arg=t,e[4]=r}function O(t){this.tryEntries=[[-1]],t.forEach(k,this),this.reset(!0)}function P(e){if(null!=e){var r=e[i];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,a=function r(){for(;++o<e.length;)if(n.call(e,o))return r.value=e[o],r.done=!1,r;return r.value=t,r.done=!0,r};return a.next=a}}throw new TypeError(y(e)+" is not iterable")}return p.prototype=d,c(_,"constructor",d),c(d,"constructor",p),p.displayName=c(d,u,"GeneratorFunction"),e.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===p||"GeneratorFunction"===(e.displayName||e.name))},e.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,d):(t.__proto__=d,c(t,u,"GeneratorFunction")),t.prototype=Object.create(_),t},e.awrap=function(t){return{__await:t}},b(x.prototype),c(x.prototype,a,(function(){return this})),e.AsyncIterator=x,e.async=function(t,r,n,o,i){void 0===i&&(i=Promise);var a=new x(l(t,r,n,o),i);return e.isGeneratorFunction(r)?a:a.next().then((function(t){return t.done?t.value:a.next()}))},b(_),c(_,u,"Generator"),c(_,i,(function(){return this})),c(_,"toString",(function(){return"[object Generator]"})),e.keys=function(t){var e=Object(t),r=[];for(var n in e)r.unshift(n);return function t(){for(;r.length;)if((n=r.pop())in e)return t.value=n,t.done=!1,t;return t.done=!0,t}},e.values=P,O.prototype={constructor:O,reset:function(e){if(this.prev=this.next=0,this.sent=this._sent=t,this.done=!1,this.delegate=null,this.method="next",this.arg=t,this.tryEntries.forEach(A),!e)for(var r in this)"t"===r.charAt(0)&&n.call(this,r)&&!isNaN(+r.slice(1))&&(this[r]=t)},stop:function(){this.done=!0;var t=this.tryEntries[0][4];if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var r=this;function n(t){a.type="throw",a.arg=e,r.next=t}for(var o=r.tryEntries.length-1;o>=0;--o){var i=this.tryEntries[o],a=i[4],u=this.prev,c=i[1],l=i[2];if(-1===i[0])return n("end"),!1;if(!c&&!l)throw Error("try statement without catch or finally");if(null!=i[0]&&i[0]<=u){if(u<c)return this.method="next",this.arg=t,n(c),!0;if(u<l)return n(l),!1}}},abrupt:function(t,e){for(var r=this.tryEntries.length-1;r>=0;--r){var n=this.tryEntries[r];if(n[0]>-1&&n[0]<=this.prev&&this.prev<n[2]){var o=n;break}}o&&("break"===t||"continue"===t)&&o[0]<=e&&e<=o[2]&&(o=null);var i=o?o[4]:{};return i.type=t,i.arg=e,o?(this.method="next",this.next=o[2],f):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),f},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r[2]===t)return this.complete(r[4],r[3]),A(r),f}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r[0]===t){var n=r[4];if("throw"===n.type){var o=n.arg;A(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={i:P(e),r,n},"next"===this.method&&(this.arg=t),f}},e}function g(t){return function(t){if(Array.isArray(t))return k(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||E(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function _(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){_(i,n,o,a,u,"next",t)}function u(t){_(i,n,o,a,u,"throw",t)}a(void 0)}))}}function x(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,i,a,u=[],c=!0,l=!1;try{if(i=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;c=!1}else for(;!(c=(n=i.call(r)).done)&&(u.push(n.value),u.length!==e);c=!0);}catch(t){l=!0,o=t}finally{try{if(!c&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(l)throw o}}return u}}(t,e)||E(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function E(t,e){if(t){if("string"==typeof t)return k(t,e);var r={}.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?k(t,e):void 0}}function k(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r<e;r++)n[r]=t[r];return n}function A(t){var e=x((0,i.L4)(a.A.selectedFileList),2),r=e[0],y=e[1],_=x((0,i.L4)(a.A.clickFileList),2),E=_[0],k=_[1],A=x((0,i.L4)(a.A.nowFileList),2),O=A[0],P=A[1],S=x((0,i.L4)(a.A.confirm),2),j=(S[0],S[1]),L=x((0,i.L4)(a.A.enterKey),2),C=L[0],G=(L[1],(0,v.kZ)().click_file),F=((0,d.Bd)().t,(0,u.Zp)()),I=((0,u.zy)(),function(){var e=b(w().mark((function e(n,i){var a,u,l,f,h,p;return w().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(null!==(0,c.kW)(r,n))y((0,c.P1)(r,n));else if("ctrl"===C)y([].concat(g(r),[n]));else if("shift"===C){if(a=(0,c.a7)(r),u=a.max,l=a.min,f=[],n>=u)for(h=u;h<=n;h++)f.push(h);else for(p=l;p>=n;p--)f.push(p);y(f)}else y([n]);if(k([].concat(g(E),[n])),setTimeout((function(){k((0,c.P1)(E,n))}),300),t.type!==o.Iw.folder){e.next=14;break}if(void 0===E.find((function(t){return t===n}))){e.next=12;break}return F((0,c.IO)((0,s.vX)(),i)),y([]),k([]),P({files:[],folders:[]}),e.abrupt("return");case 12:e.next=16;break;case 14:void 0!==E.find((function(t){return t===n}))&&G({name:i,size:t.origin_size,opt_shell:!0,mtime:t.mtime});case 16:case"end":return e.stop()}}),e)})));return function(t,r){return e.apply(this,arguments)}}()),z=x((0,i.L4)(a.A.showPrompt),2),N=(z[0],z[1]),T=function(){var t=b(w().mark((function t(e){var n,o;return w().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n=(0,m.ib)(O,r),o=n.map((function(t){return(0,m.Ok)(t.name)})),t.next=4,l.$M.post("cut",{files:o,to:"".concat((0,s.GG)("file",(0,s.vX)()),"/").concat(e)});case 4:t.sent,y([]),j({open:!1,handle:null}),F((0,s.vX)());case 8:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}();return n.createElement(f.B,{extraAttr:{onContextMenu:function(e){!function(t,e,r,n){t.preventDefault(),t.stopPropagation();var i=new p.i;i.path=(0,c.IO)((0,s.vX)(),e),i.filename=e,i.x=t.clientX,i.y=t.clientY,i.type=r?o.Iw.folder:(0,p.u)(e),i.size=n,N({show:!0,type:h.PromptEnum.FileMenu,overlay:!1,data:i})}(e,t.name,t.type===o.Iw.folder,t.origin_size)}},draggable_handle:T,name:t.name,index:t.index,mtime:t.mtime,size:t.size,type:t.type,isLink:t.isLink,path:t.path,icon:t.icon,show_mtime:t.show_mtime,click:I,itemWidth:t.itemWidth})}var O=r(7374),P=r(5997),S=r(7952),j=r(5726),L=r(3459),C=r(5725),G=r(3033),F=r(2042),I=r(7523),z=r(8815),N=r(2730),T=r(1251),M=r(447),W=r(7071),D=r(4944),X=r(4238),K=r(3430),U=r(2458),Y=r(3496);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)}function R(){return R=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)({}).hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t},R.apply(null,arguments)}function $(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 Z(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?$(Object(r),!0).forEach((function(e){B(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):$(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function B(t,e,r){return(e=function(t){var e=function(t,e){if("object"!=H(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=H(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==H(e)?e:e+""}(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function V(){V=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,o="function"==typeof Symbol?Symbol:{},i=o.iterator||"@@iterator",a=o.asyncIterator||"@@asyncIterator",u=o.toStringTag||"@@toStringTag";function c(t,e,r,n){return Object.defineProperty(t,e,{value:r,enumerable:!n,configurable:!n,writable:!n})}try{c({},"")}catch(t){c=function(t,e,r){return t[e]=r}}function l(e,r,n,o){var i=r&&r.prototype instanceof h?r:h,a=Object.create(i.prototype);return c(a,"_invoke",function(e,r,n){var o=1;return function(i,a){if(3===o)throw Error("Generator is already running");if(4===o){if("throw"===i)throw a;return{value:t,done:!0}}for(n.method=i,n.arg=a;;){var u=n.delegate;if(u){var c=b(u,n);if(c){if(c===f)continue;return c}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(1===o)throw o=4,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=3;var l=s(e,r,n);if("normal"===l.type){if(o=n.done?4:2,l.arg===f)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(o=4,n.method="throw",n.arg=l.arg)}}}(e,n,new k(o||[])),!0),a}function s(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=l;var f={};function h(){}function p(){}function d(){}var v={};c(v,i,(function(){return this}));var m=Object.getPrototypeOf,y=m&&m(m(A([])));y&&y!==r&&n.call(y,i)&&(v=y);var w=d.prototype=h.prototype=Object.create(v);function g(t){["next","throw","return"].forEach((function(e){c(t,e,(function(t){return this._invoke(e,t)}))}))}function _(t,e){function r(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"==H(f)&&n.call(f,"__await")?e.resolve(f.__await).then((function(t){r("next",t,a,u)}),(function(t){r("throw",t,a,u)})):e.resolve(f).then((function(t){l.value=t,a(l)}),(function(t){return r("throw",t,a,u)}))}u(c.arg)}var o;c(this,"_invoke",(function(t,n){function i(){return new e((function(e,o){r(t,n,e,o)}))}return o=o?o.then(i,i):i()}),!0)}function b(e,r){var n=r.method,o=e.i[n];if(o===t)return r.delegate=null,"throw"===n&&e.i.return&&(r.method="return",r.arg=t,b(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),f;var i=s(o,e.i,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,f;var a=i.arg;return a?a.done?(r[e.r]=a.value,r.next=e.n,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,f):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,f)}function x(t){this.tryEntries.push(t)}function E(e){var r=e[4]||{};r.type="normal",r.arg=t,e[4]=r}function k(t){this.tryEntries=[[-1]],t.forEach(x,this),this.reset(!0)}function A(e){if(null!=e){var r=e[i];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,a=function r(){for(;++o<e.length;)if(n.call(e,o))return r.value=e[o],r.done=!1,r;return r.value=t,r.done=!0,r};return a.next=a}}throw new TypeError(H(e)+" is not iterable")}return p.prototype=d,c(w,"constructor",d),c(d,"constructor",p),p.displayName=c(d,u,"GeneratorFunction"),e.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===p||"GeneratorFunction"===(e.displayName||e.name))},e.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,d):(t.__proto__=d,c(t,u,"GeneratorFunction")),t.prototype=Object.create(w),t},e.awrap=function(t){return{__await:t}},g(_.prototype),c(_.prototype,a,(function(){return this})),e.AsyncIterator=_,e.async=function(t,r,n,o,i){void 0===i&&(i=Promise);var a=new _(l(t,r,n,o),i);return e.isGeneratorFunction(r)?a:a.next().then((function(t){return t.done?t.value:a.next()}))},g(w),c(w,u,"Generator"),c(w,i,(function(){return this})),c(w,"toString",(function(){return"[object Generator]"})),e.keys=function(t){var e=Object(t),r=[];for(var n in e)r.unshift(n);return function t(){for(;r.length;)if((n=r.pop())in e)return t.value=n,t.done=!1,t;return t.done=!0,t}},e.values=A,k.prototype={constructor:k,reset:function(e){if(this.prev=this.next=0,this.sent=this._sent=t,this.done=!1,this.delegate=null,this.method="next",this.arg=t,this.tryEntries.forEach(E),!e)for(var r in this)"t"===r.charAt(0)&&n.call(this,r)&&!isNaN(+r.slice(1))&&(this[r]=t)},stop:function(){this.done=!0;var t=this.tryEntries[0][4];if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var r=this;function n(t){a.type="throw",a.arg=e,r.next=t}for(var o=r.tryEntries.length-1;o>=0;--o){var i=this.tryEntries[o],a=i[4],u=this.prev,c=i[1],l=i[2];if(-1===i[0])return n("end"),!1;if(!c&&!l)throw Error("try statement without catch or finally");if(null!=i[0]&&i[0]<=u){if(u<c)return this.method="next",this.arg=t,n(c),!0;if(u<l)return n(l),!1}}},abrupt:function(t,e){for(var r=this.tryEntries.length-1;r>=0;--r){var n=this.tryEntries[r];if(n[0]>-1&&n[0]<=this.prev&&this.prev<n[2]){var o=n;break}}o&&("break"===t||"continue"===t)&&o[0]<=e&&e<=o[2]&&(o=null);var i=o?o[4]:{};return i.type=t,i.arg=e,o?(this.method="next",this.next=o[2],f):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),f},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r[2]===t)return this.complete(r[4],r[3]),E(r),f}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r[0]===t){var n=r[4];if("throw"===n.type){var o=n.arg;E(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={i:A(e),r,n},"next"===this.method&&(this.arg=t),f}},e}function q(t,e){var r="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!r){if(Array.isArray(t)||(r=et(t))||e&&t&&"number"==typeof t.length){r&&(t=r);var n=0,o=function(){};return{s:o,n:function(){return n>=t.length?{done:!0}:{done:!1,value:t[n++]}},e:function(t){throw t},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,u=!1;return{s:function(){r=r.call(t)},n:function(){var t=r.next();return a=t.done,t},e:function(t){u=!0,i=t},f:function(){try{a||null==r.return||r.return()}finally{if(u)throw i}}}}function J(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 Q(t){return function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){J(i,n,o,a,u,"next",t)}function u(t){J(i,n,o,a,u,"throw",t)}a(void 0)}))}}function tt(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,i,a,u=[],c=!0,l=!1;try{if(i=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;c=!1}else for(;!(c=(n=i.call(r)).done)&&(u.push(n.value),u.length!==e);c=!0);}catch(t){l=!0,o=t}finally{try{if(!c&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(l)throw o}}return u}}(t,e)||et(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function et(t,e){if(t){if("string"==typeof t)return rt(t,e);var r={}.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?rt(t,e):void 0}}function rt(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r<e;r++)n[r]=t[r];return n}var nt,ot=n.lazy((function(){return Promise.all([r.e(856),r.e(659)]).then(r.bind(r,3659))})),it=n.lazy((function(){return Promise.all([r.e(856),r.e(636)]).then(r.bind(r,1636))})),at=n.lazy((function(){return Promise.all([r.e(856),r.e(402)]).then(r.bind(r,3402))})),ut=Object.values(K.UG),ct=280,lt={};function st(){var t,e,r=tt((0,i.L4)(a.A.editorSetting),2),f=(r[0],r[1]),y=tt((0,i.L4)(a.A.file_preview),2),w=(y[0],y[1]),g=(0,d.Bd)().t,_=(0,n.useRef)(null),b=(0,u.zy)(),x=(0,u.Zp)(),E=(0,v.MH)().check_user_auth,k=tt((0,i.L4)(a.A.nowFileList),2),H=k[0],$=k[1],B=tt((0,i.L4)(a.A.uploadFiles),2),J=(B[0],B[1]),et=tt((0,i.L4)(a.A.showPrompt),2),rt=(et[0],et[1]),st=tt((0,i.L4)(a.A.selectedFileList),2),ft=st[0],ht=(st[1],tt((0,i.L4)(a.A.copyedFileList),2)),pt=ht[0],dt=ht[1],vt=tt((0,i.L4)(a.A.enterKey),2),mt=(vt[0],vt[1]),yt=tt((0,i.L4)(a.A.cutedFileList),2),wt=yt[0],gt=yt[1],_t=tt((0,i.L4)(a.A.selectedFileList),2),bt=(_t[0],_t[1]),xt=tt((0,i.L4)(a.A.clickFileList),2),Et=(xt[0],xt[1]),kt=tt((0,i.L4)(a.A.fileShellShow),2),At=kt[0],Ot=kt[1],Pt=tt((0,i.L4)(a.A.file_root_list),2),St=Pt[0],jt=(Pt[1],tt((0,i.L4)(a.A.file_root_index),2)),Lt=(jt[0],jt[1]),Ct=tt((0,n.useState)(void 0),2),Gt=Ct[0],Ft=Ct[1],It=tt((0,n.useState)(""),2),zt=It[0],Nt=It[1],Tt=tt((0,i.L4)(a.A.workflow_show),2),Mt=Tt[0],Wt=Tt[1],Dt=tt((0,i.L4)(a.A.workflow_realtime_show),2),Xt=Dt[0],Kt=(Dt[1],tt((0,n.useState)(!1),2)),Ut=Kt[0],Yt=Kt[1],Ht=(0,n.useContext)(I.F).reloadUserInfo,Rt=(0,n.useContext)(I.F).initUserInfo,$t=tt((0,i.L4)(a.A.user_base_info),2),Zt=$t[0],Bt=($t[1],(0,v.kZ)().click_file),Vt=tt((0,i.L4)(a.A.prompt_card),2),qt=(Vt[0],Vt[1]),Jt=(0,v.hg)().file_is_running,Qt=tt((0,i.L4)(a.A.to_running_files),2),te=(Qt[0],Qt[1]),ee=tt((0,i.L4)(a.A.router_jump),2),re=(ee[0],ee[1]),ne=function(){var t=Q(V().mark((function t(){var e;return V().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return(e=new W.Nd).dir_path="".concat((0,s.GG)("file",(0,s.vX)())),D.ws.addMsg(X.HK.workflow_realtime,(function(t){var e=t.context;if(t.context){var r,n=q(e.sucess_file_list);try{for(n.s();!(r=n.n()).done;){var o=r.value;o.endsWith(".workflow.yml")?(0,F.LW)("".concat(o.slice(0,-13)," done!")):o.endsWith(".act")&&(0,F.LW)("".concat(o.slice(0,-4)," done!"))}}catch(t){n.e(t)}finally{n.f()}var i,a=q(e.failed_file_list);try{for(a.s();!(i=a.n()).done;){var u=i.value;u.endsWith(".workflow.yml")?(0,F.zN)("".concat(u.slice(0,-13)," failed!")):u.endsWith(".act")&&(0,F.zN)("".concat(u.slice(0,-4)," failed!"))}}catch(t){a.e(t)}finally{a.f()}te(new Set(e.running_file_list))}})),t.next=5,D.ws.sendData(X.HK.workflow_realtime,e);case 5:case"end":return t.stop()}}),t)})));return function(){return t.apply(this,arguments)}}(),oe=function(){var t=Q(V().mark((function t(e){var r,n,o,i,a,u,c,f,h,p,d;return V().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return e=e?encodeURIComponent(e)+"?is_sys_path=1":encodeURIComponent((0,s.GG)("file",(0,s.vX)())),t.next=3,l.$M.get(e);case 3:if((o=t.sent).code!==L.m.PreFile){t.next=7;break}return Bt({name:o.message,context:o.data,opt_shell:!0}),t.abrupt("return");case 7:if(o.code===L.m.Sucess){t.next=10;break}return o.message&&(0,F.zN)(o.message),t.abrupt("return");case 10:i=o.data,(0,m.yC)(i,Zt.user_data.dir_show_type),a=!1,u=q(null!==(r=i.files)&&void 0!==r?r:[]);try{for(u.s();!(c=u.n()).done;)(f=c.value).show_mtime=f.mtime?(0,T.s)(f.mtime):"",f.origin_size=f.size,f.size=(0,z.v7)(f.size),a||!f.name.endsWith(".workflow.yml")&&!f.name.endsWith(".act")||(a=!0,Promise.resolve().then((function(){ne()})))}catch(t){u.e(t)}finally{u.f()}if(void 0===i.relative_user_path){t.next=19;break}return(i.relative_user_path.startsWith("\\")||i.relative_user_path.startsWith("/"))&&(i.relative_user_path=i.relative_user_path.slice(1)),x(i.relative_user_path),t.abrupt("return");case 19:a=!1,h=q(null!==(n=i.folders)&&void 0!==n?n:[]);try{for(h.s();!(p=h.n()).done;)(d=p.value).show_mtime=d.mtime?(0,T.s)(d.mtime):"",a||d.name!==W.SB||(Yt(!0),a=!0)}catch(t){h.e(t)}finally{h.f()}$(o.data),nt=o.data;case 24:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}(),ie=function(){var t=Math.floor(document.querySelector("main").offsetWidth/ct);0===t&&(t=1),Ft("calc(".concat(100/t,"% - 1em)"))};(0,n.useEffect)((function(){var t=function(){var t=Q(V().mark((function t(){return V().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,oe();case 2:case"end":return t.stop()}}),t)})));return function(){return t.apply(this,arguments)}}();t(),f({open:!1}),w({open:!1}),Yt(!1),lt={}}),[b]),(0,n.useEffect)((function(){return Q(V().mark((function t(){return V().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:te(new Set);case 1:case"end":return t.stop()}}),t)})))}),[]);var ae=function(){var t=Q(V().mark((function t(e){var r,n,o,i;return V().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(e.preventDefault(),e.stopPropagation(),r=e.dataTransfer,n=e.target,!(r.files.length<=0)){t.next=6;break}return t.abrupt("return");case 6:for(o=0;o<5;o++)null===n||n.classList.contains("item")||(n=n.parentElement);return t.next=9,(0,j.T)(r);case 9:i=t.sent,J(i),rt({show:!0,type:h.PromptEnum.FilesUpload,overlay:!1,data:{}});case 12:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}(),ue=function(t){t.preventDefault()};function ce(){return(ce=Q(V().mark((function t(){var e,r,n;return V().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n=(0,c.jH)(ut,null!==(e=null==Zt||null===(r=Zt.user_data)||void 0===r?void 0:r.file_list_show_type)&&void 0!==e?e:""),t.next=3,l.wm.post(Y.s.user_save_user_file_list_show_type,{type:n});case 3:Rt();case 4:case"end":return t.stop()}}),t)})))).apply(this,arguments)}function le(t){(0,F.LW)(t)}(0,n.useEffect)((function(){var t=_.current.ownerDocument;return t.addEventListener("dragover",ue),t.addEventListener("drop",ae),ie(),window.addEventListener("resize",ie),function(){t.removeEventListener("dragover",ue),t.removeEventListener("drop",ae),window.removeEventListener("resize",ie),At.show&&Ot({show:!1,path:""})}}),[]);var se=function(){var t=Q(V().mark((function t(e){return V().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return Lt(e),t.next=3,l.$M.post("base_switch",{root_index:e});case 3:return t.next=5,Ht();case 5:x("/file/"),bt([]),Et([]);case 8:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}(),fe=function(t){qt({open:!0,title:g("信息"),context_div:n.createElement("div",{style:{maxWidth:"25rem"}},n.createElement(C.Yh,{left:g("挂载位置磁盘"),right:null==t?void 0:t.total_size}),n.createElement(C.Yh,{left:"".concat(g("磁盘剩余")),right:null==t?void 0:t.left_size}),n.createElement(C.Yh,{left:"".concat(g("文件系统")),right:null==t?void 0:t.fs_type}),n.createElement(C.Yh,{left:"".concat(g("文件夹数")),right:H.folders.length}),n.createElement(C.Yh,{left:"".concat(g("文件数")),right:H.files.length}),n.createElement(C.Yh,{left:"".concat(g("当前位置")),right:n.createElement(M.xP,{context:null==t?void 0:t.now_absolute_path})})),cancel:function(){D.ws.removeMsg(X.HK.file_info)}})},he=function(){var t=Q(V().mark((function t(){var e,r;return V().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(lt.now_absolute_path){t.next=8;break}return D.ws.addMsg(X.HK.file_info,(function(t){var r=t.context;e&&(lt=Z(Z({},lt),r),D.ws.removeMsg(X.HK.file_info),fe(lt))})),t.next=4,D.ws.sendData(X.HK.file_info,{type:o.Iw.folder,path:(0,s.GG)("file",(0,s.vX)())});case 4:r=t.sent,e=r.context,fe(lt=e);case 8:fe(lt);case 9:case"end":return t.stop()}}),t)})));return function(){return t.apply(this,arguments)}}(),pe=tt((0,n.useState)(!1),2),de=pe[0],ve=pe[1];(0,n.useEffect)((function(){var t=function(t){if(de)if(t.ctrlKey)if("a"===t.key||"A"===t.key){for(var e=H.files.length,r=H.folders.length,n=[],o=0;o<e+r;o++)n.push(o);bt(n)}else mt("ctrl");else"Escape"===t.key?bt([]):"Shift"===t.key&&mt("shift")},e=function(t){t.ctrlKey||mt("")};return window.addEventListener("keydown",t),window.addEventListener("keyup",e),function(){window.removeEventListener("keydown",t),window.removeEventListener("keyup",e)}}),[H,de]);var me=function(t){t.target===t.currentTarget&&bt([])};return n.createElement("div",{className:"not-select-div"},n.createElement(S.A,{left_children:n.createElement(G.$Z,{handleEnterPress:function(){var t,e;if(nt){bt([]),Et([]);var r,n=[],o=[],i=q(null!==(t=nt.files)&&void 0!==t?t:[]);try{for(i.s();!(r=i.n()).done;){var a=r.value;a.name.includes(zt)&&n.push(a)}}catch(t){i.e(t)}finally{i.f()}var u,c=q(null!==(e=nt.folders)&&void 0!==e?e:[]);try{for(c.s();!(u=c.n()).done;){var l=u.value;l.name.includes(zt)&&o.push(l)}}catch(t){c.e(t)}finally{c.f()}$({files:n,folders:o})}},placeholder:g("搜索当前目录"),icon:"search",value:"",handleInputChange:function(t){Nt(t)},max_width:"25em"})},ft.length>0&&n.createElement(P.rA,{icon:"delete",title:g("删除"),onClick:function(){rt({show:!0,type:h.PromptEnum.FilesDelete,overlay:!0,data:{}})}}),ft.length>0&&n.createElement(P.rA,{icon:"content_copy",title:g("复制"),onClick:function(){var t=(0,m.ib)(H,ft);dt(t.map((function(t){return(0,m.Ok)(t.name)}))),gt([]),le("已复制")}}),ft.length>0&&n.createElement(P.rA,{icon:"content_cut",title:g("剪切"),onClick:function(){var t=(0,m.ib)(H,ft);gt(t.map((function(t){return(0,m.Ok)(t.name)}))),dt([]),le("已剪切")}}),(pt.length>0||wt.length>0)&&n.createElement(P.rA,{onClick:function(){rt({show:!0,type:h.PromptEnum.Confirm,overlay:!0,data:{}})},icon:"content_paste",title:g("粘贴到此处"),tip:pt.length+wt.length}),ft.length>0&&n.createElement(P.rA,{icon:"download",title:g("下载"),onClick:function(){for(var t=(0,m.ib)(H,ft),e=0;e<t.length;e++){var r=t[e];t[e]=encodeURIComponent((0,m.Ok)(r.name))}var n=l.$M.getDownloadUrl(t);window.open(n)}}),ft.length>0&&n.createElement(P.rA,{icon:"compress",title:g("压缩"),onClick:function(){for(var t=(0,m.ib)(H,ft),e=0;e<t.length;e++){var r=t[e];t[e]=(0,m.Ok)(r.name)}t&&0!==t.length?rt({show:!0,type:h.PromptEnum.Compress,overlay:!0,data:{files:t}}):(0,F.zN)("没有选中")}}),1===ft.length&&n.createElement(P.rA,{icon:"edit_attributes",title:g("重命名"),onClick:function(){rt({show:!0,type:h.PromptEnum.FileRename,overlay:!0,data:{}})}}),Ut&&n.createElement(P.rA,{icon:"api",title:"workflow",onClick:function(){Wt(!Mt)}}),n.createElement(P.rA,{icon:"terminal",title:"shell",onClick:function(){At.show?Ot({show:!1,path:""}):Ot({show:!0,path:(0,s.GG)("file",(0,s.vX)())})}}),n.createElement(P.rA,{icon:"grid_view",title:g("切换样式"),onClick:function(){return ce.apply(this,arguments)}}),n.createElement(P.rA,{icon:"create_new_folder",title:g("创建文件夹"),onClick:function(){rt({show:!0,type:h.PromptEnum.DirNew,overlay:!0,data:{dir:(0,s.GG)("file",(0,s.vX)())}})}}),n.createElement(P.rA,{icon:"note_add",title:g("创建文本文件"),onClick:function(){rt({show:!0,type:h.PromptEnum.FileNew,overlay:!0,data:{dir:(0,s.GG)("file",(0,s.vX)())}})}}),n.createElement(P.rA,{icon:"upload_file",title:g("上传"),onClick:function(){rt({show:!0,type:h.PromptEnum.UploadFile,overlay:!0,data:{call:function(t){var e,r=null===(e=t.currentTarget)||void 0===e?void 0:e.files;if(r){for(var n=!!r[0].webkitRelativePath,o=[],i=new Set,a=0;a<r.length;a++){var u=r[a],c=n?u.webkitRelativePath:"".concat(u.webkitRelativePath).concat(u.name);u.fullPath=c,n&&i.add((0,N.S)(c)),o.push(u)}var l=[];if(n){var s,f=q(i);try{for(f.s();!(s=f.n()).done;){var p=s.value;l.push({isDir:!0,fullPath:p,name:p})}}catch(t){f.e(t)}finally{f.f()}}l.push.apply(l,o),J(l),rt({show:!0,type:h.PromptEnum.FilesUpload,overlay:!1,data:{}})}}}})}}),n.createElement(P.rA,{icon:"info",title:g("信息"),onClick:he}),n.createElement(P.rA,{icon:"more_vert",title:g("切换目录"),onClick:function(t){var e=new p.i;e.x=t.clientX,e.y=t.clientY,e.type=o.Iw.directory,e.items=St,e.textClick=function(){var t=Q(V().mark((function t(e){return V().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:se(e),rt({data:void 0,overlay:!1,type:"",show:!1});case 2:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}(),rt({show:!0,type:h.PromptEnum.FileMenu,overlay:!1,data:e})}})),n.createElement(O.e,{baseRoute:"file",clickFun:function(){bt([]),Et([])},input_path_enter:function(t){(0,U.Z1)(t)?oe(t):x((0,U.Jn)((0,s.vX)(),t)),bt([]),Et([]),$({files:[],folders:[]})}}),n.createElement("div",{onContextMenu:function(t){t.preventDefault(),t.stopPropagation();var e=new p.i;e.x=t.clientX,e.y=t.clientY,e.type=o.Iw.directory;var r=[{r:n.createElement("span",{style:{color:Zt.user_data.dir_show_type===K.t8.time_minx_max?"green":void 0}},g("时间逆序")),v:K.t8.time_minx_max},{r:n.createElement("span",{style:{color:Zt.user_data.dir_show_type===K.t8.time_max_min?"green":void 0}},g("时间顺序")),v:K.t8.time_max_min}],i=[{r:n.createElement("span",{style:{color:Zt.user_data.dir_show_type===K.t8.size_min_max?"green":void 0}},g("大小逆序")),v:K.t8.size_min_max},{r:n.createElement("span",{style:{color:Zt.user_data.dir_show_type===K.t8.size_max_min?"green":void 0}},g("大小顺序")),v:K.t8.size_max_min}],a=[{r:g("文件排序"),v:"",items:[{r:n.createElement("span",{style:{color:Zt.user_data.dir_show_type?void 0:"green"}},g("系统默认")),v:K.t8.defualt},{r:n.createElement("span",{style:{color:Zt.user_data.dir_show_type===K.t8.name?"green":void 0}},g("名字")),v:K.t8.name},{r:n.createElement("span",{style:{color:Zt.user_data.dir_show_type===K.t8.time_minx_max||Zt.user_data.dir_show_type===K.t8.time_max_min?"green":void 0}},g("修改时间")),v:!1,items:r},{r:n.createElement("span",{style:{color:Zt.user_data.dir_show_type===K.t8.size_min_max||Zt.user_data.dir_show_type===K.t8.size_max_min?"green":void 0}},g("文件大小")),v:!1,items:i}]}];E(K.oV.code_resource)&&a.push({r:g("添加http资源根目录"),v:"code_resource"}),E(K.oV.http_proxy)&&a.push({r:g("在此目录下载http资源"),v:"http_resource"}),e.items=a,e.textClick=function(){var t=Q(V().mark((function t(e){var r,n;return V().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(!1!==e){t.next=2;break}return t.abrupt("return");case 2:if("code_resource"!==e){t.next=12;break}return t.next=5,D.ws.sendData(X.HK.file_info,{path:(0,s.GG)("file",(0,s.vX)())});case 5:return r=t.sent,re({page_self_router_api_data:["",r.context.now_absolute_path]}),rt({data:void 0,overlay:!1,type:"",show:!1}),x("/setting/customer_router/"),t.abrupt("return");case 12:if("http_resource"!==e){t.next=20;break}return t.next=15,D.ws.sendData(X.HK.file_info,{path:(0,s.GG)("file",(0,s.vX)())});case 15:return n=t.sent,re({http_download_map_path:n.context.now_absolute_path}),rt({data:void 0,overlay:!1,type:"",show:!1}),x("/proxy/http/"),t.abrupt("return");case 20:return t.next=22,l.wm.post(Y.s.user_save_user_file_list_show_type,{type:e,is_dir_list_type:!0});case 22:return t.next=24,Rt();case 24:rt({data:void 0,overlay:!1,type:"",show:!1}),x((0,s.vX)());case 26:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}(),rt({show:!0,type:h.PromptEnum.FileMenu,overlay:!1,data:e})},id:"listing",style:{paddingBottom:"10rem"},className:"mosaic file-icons ".concat(null!==(t=null==Zt||null===(e=Zt.user_data)||void 0===e?void 0:e.file_list_show_type)&&void 0!==t?t:""),ref:_,onMouseEnter:function(){ve(!0)},onMouseLeave:function(){ve(!1)}},H.folders&&H.folders.length>0&&n.createElement("h2",null,g("文件夹")),H.folders&&n.createElement("div",{onClick:me},H.folders.map((function(t,e){return n.createElement(A,R({itemWidth:Gt,index:e,key:e},t))}))),H.files&&H.files.length>0&&n.createElement("h2",{onClick:me},g("文件")),H.files&&n.createElement("div",{onClick:me},H.files.map((function(t,e){return n.createElement(A,R({icon:Jt(t.name)?"refresh":void 0,itemWidth:Gt,index:e+H.folders.length,key:e},t))})))),n.createElement(at,null),Mt&&n.createElement(ot,null),Xt.open&&n.createElement(it,null))}}}]);
@@ -0,0 +1 @@
1
+ /*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/babel/babel/blob/main/packages/babel-helpers/LICENSE */
@@ -1 +1 @@
1
- <!doctype html><html lang="en"><head><meta charset="UTF-8"><meta name="viewport" content="width=device-width,initial-scale=1"><title>{{{web_site_title}}}</title><link rel="icon" type="image/png" sizes="32x32" href="favicon-32x32.png"/><link rel="icon" type="image/png" sizes="16x16" href="favicon-16x16.png"/><script defer="defer" src="main.34e63c70f20770dc668d.js"></script></head><body><div id="root"></div></body><script id="pre_code" type="text/template">return {{{Windows_FileCat}}};</script><script>window.EXCALIDRAW_ASSET_PATH = "/";window.FileCat;</script></html>
1
+ <!doctype html><html lang="en"><head><meta charset="UTF-8"><meta name="viewport" content="width=device-width,initial-scale=1"><title>{{{web_site_title}}}</title><link rel="icon" type="image/png" sizes="32x32" href="favicon-32x32.png"/><link rel="icon" type="image/png" sizes="16x16" href="favicon-16x16.png"/><script defer="defer" src="main.089e9c8f20df7c8c4e36.js"></script></head><body><div id="root"></div></body><script id="pre_code" type="text/template">return {{{Windows_FileCat}}};</script><script>window.EXCALIDRAW_ASSET_PATH = "/";window.FileCat;</script></html>