!function(){function t(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/babel/babel/blob/main/packages/babel-helpers/LICENSE */var r,e,o="function"==typeof Symbol?Symbol:{},a=o.iterator||"@@iterator",u=o.toStringTag||"@@toStringTag";function i(t,o,a,u){var i=o&&o.prototype instanceof s?o:s,f=Object.create(i.prototype);return n(f,"_invoke",function(t,n,o){var a,u,i,s=0,f=o||[],p=!1,l={p:0,n:0,v:r,a:v,f:v.bind(r,4),d:function(t,n){return a=t,u=0,i=r,l.n=n,c}};function v(t,n){for(u=t,i=n,e=0;!p&&s&&!o&&e<f.length;e++){var o,a=f[e],v=l.p,y=a[2];t>3?(o=y===n)&&(i=a[(u=a[4])?5:(u=3,3)],a[4]=a[5]=r):a[0]<=v&&((o=t<2&&v<a[1])?(u=0,l.v=n,l.n=a[1]):v<y&&(o=t<3||a[0]>n||n>y)&&(a[4]=t,a[5]=n,l.n=y,u=0))}if(o||t>1)return c;throw p=!0,n}return function(o,f,y){if(s>1)throw TypeError("Generator is already running");for(p&&1===f&&v(f,y),u=f,i=y;(e=u<2?r:i)||!p;){a||(u?u<3?(u>1&&(l.n=-1),v(u,i)):l.n=i:l.v=i);try{if(s=2,a){if(u||(o="next"),e=a[o]){if(!(e=e.call(a,i)))throw TypeError("iterator result is not an object");if(!e.done)return e;i=e.value,u<2&&(u=0)}else 1===u&&(e=a.return)&&e.call(a),u<2&&(i=TypeError("The iterator does not provide a '"+o+"' method"),u=1);a=r}else if((e=(p=l.n<0)?i:t.call(n,l))!==c)break}catch(e){a=r,u=1,i=e}finally{s=1}}return{value:e,done:p}}}(t,a,u),!0),f}var c={};function s(){}function f(){}function p(){}e=Object.getPrototypeOf;var l=[][a]?e(e([][a]())):(n(e={},a,function(){return this}),e),v=p.prototype=s.prototype=Object.create(l);function y(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,p):(t.__proto__=p,n(t,u,"GeneratorFunction")),t.prototype=Object.create(v),t}return f.prototype=p,n(v,"constructor",p),n(p,"constructor",f),f.displayName="GeneratorFunction",n(p,u,"GeneratorFunction"),n(v),n(v,u,"Generator"),n(v,a,function(){return this}),n(v,"toString",function(){return"[object Generator]"}),(t=function(){return{w:i,m:y}})()}function n(t,r,e,o){var a=Object.defineProperty;try{a({},"",{})}catch(t){a=0}n=function(t,r,e,o){function u(r,e){n(t,r,function(t){return this._invoke(r,e,t)})}r?a?a(t,r,{value:e,enumerable:!o,configurable:!o,writable:!o}):t[r]=e:(u("next",0),u("throw",1),u("return",2))},n(t,r,e,o)}function r(t,n,r,e,o,a,u){try{var i=t[a](u),c=i.value}catch(t){return void r(t)}i.done?n(c):Promise.resolve(c).then(e,o)}function e(t){return function(){var n=this,e=arguments;return new Promise(function(o,a){var u=t.apply(n,e);function i(t){r(u,o,a,i,c,"next",t)}function c(t){r(u,o,a,i,c,"throw",t)}i(void 0)})}}System.register(["./utils-lib-legacy.js?v=1761009159","./site-legacy.js?v=1761009159","./base-lib-legacy.js?v=1761009159"],function(n,r){"use strict";var o,a,u,i,c,s;return{setters:[function(t){o=t.aK,a=t.P,u=t.cF},function(t){i=t.getRewriteTel,c=t.getComposerVersion},function(t){s=t.j}],execute:function(){n("S",s("SITE-CONFIG-FILE-STORE",function(){var n=function(){var n=e(t().m(function n(r){var e,a;return t().w(function(t){for(;;)switch(t.p=t.n){case 0:return t.p=0,t.n=1,i({filename:r.path,history:r.row});case 1:return e=t.v,t.a(2,{status:e.data.status,data:e.data.data});case 2:return t.p=2,a=t.v,o(a),t.a(2,{status:!1,msg:"获取文件历史失败"})}},n,null,[[0,2]])}));return function(t){return n.apply(this,arguments)}}(),r=function(){var n=e(t().m(function n(r){var e;return t().w(function(t){for(;;)switch(t.p=t.n){case 0:return t.p=0,t.n=1,a({loading:"正在恢复，请稍后...",request:u({filename:r.path,history:r.row}),data:{status:Boolean}});case 1:return e=t.v,t.a(2,{msg:e.status?"恢复成功":"恢复失败",status:e.status});case 2:t.p=2,t.v;case 3:return t.a(2)}},n,null,[[0,2]])}));return function(t){return n.apply(this,arguments)}}(),s=function(){var n=e(t().m(function n(r){var e;return t().w(function(t){for(;;)switch(t.p=t.n){case 0:return t.p=0,t.n=1,a({request:c({path:r}),data:{file_path:String}});case 1:return e=t.v,t.a(2,{data:e.data.file_path,status:e.status});case 2:return t.p=2,t.v,t.a(2,{status:!1,msg:"获取composer路径失败"})}},n,null,[[0,2]])}));return function(t){return n.apply(this,arguments)}}();return{viewFileHistoryEvent:n,recoverFileEvent:r,getComposerPathEvent:s}}))}}})}();
