@rsdoctor/client 2.0.0-beta.1 → 2.0.0-beta.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.
- package/dist/diff.html +1 -1
- package/dist/index.html +1 -1
- package/dist/resource/js/{187.0d7602ce84.js → 187.91ee1b86ce.js} +1 -1
- package/dist/resource/js/{diff.7b366d9c82.js → diff.f789284320.js} +1 -1
- package/dist/resource/js/index.676033352c.js +91 -0
- package/package.json +3 -3
- package/dist/resource/js/index.cf43f0c3b4.js +0 -91
package/dist/diff.html
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
<!DOCTYPE html><html><head><title>Rsdoctor</title><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><script defer src="./resource/js/react.e68b05fdf2.js"></script><script defer src="./resource/js/286.c1ea0d3ae4.js"></script><script defer src="./resource/js/834.c4819b7353.js"></script><script defer src="./resource/js/187.
|
|
1
|
+
<!DOCTYPE html><html><head><title>Rsdoctor</title><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><script defer src="./resource/js/react.e68b05fdf2.js"></script><script defer src="./resource/js/286.c1ea0d3ae4.js"></script><script defer src="./resource/js/834.c4819b7353.js"></script><script defer src="./resource/js/187.91ee1b86ce.js"></script><script defer src="./resource/js/diff.f789284320.js"></script><link href="./resource/css/187.d41ba45a6c.css" rel="stylesheet"></head><body><div id="root"></div></body></html>
|
package/dist/index.html
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
<!DOCTYPE html><html><head><title>Rsdoctor</title><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><script defer src="./resource/js/react.e68b05fdf2.js"></script><script defer src="./resource/js/rc.42f199fbde.js"></script><script defer src="./resource/js/ant-design-0.9da697608a.js"></script><script defer src="./resource/js/ant-design-1.aa373ba6e4.js"></script><script defer src="./resource/js/ant-design-icons.3809dbee56.js"></script><script defer src="./resource/js/286.c1ea0d3ae4.js"></script><script defer src="./resource/js/428.d6fe85f59c.js"></script><script defer src="./resource/js/187.
|
|
1
|
+
<!DOCTYPE html><html><head><title>Rsdoctor</title><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><script defer src="./resource/js/react.e68b05fdf2.js"></script><script defer src="./resource/js/rc.42f199fbde.js"></script><script defer src="./resource/js/ant-design-0.9da697608a.js"></script><script defer src="./resource/js/ant-design-1.aa373ba6e4.js"></script><script defer src="./resource/js/ant-design-icons.3809dbee56.js"></script><script defer src="./resource/js/286.c1ea0d3ae4.js"></script><script defer src="./resource/js/428.d6fe85f59c.js"></script><script defer src="./resource/js/187.91ee1b86ce.js"></script><script defer src="./resource/js/index.676033352c.js"></script><link href="./resource/css/187.d41ba45a6c.css" rel="stylesheet"></head><body><div id="root"></div></body></html>
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
<ol>
|
|
10
10
|
${(0,m.mJ)(s,i?t.position.source:t.position.transformed,function(e,t){let{path:r,isPreferSource:n}=t,s=n?e.position.source.start:e.position.transformed.start,i=`:${s.line??1}:${s.column??0}`;return r.length<=30?`${r}${i}`:`...${r.substring(r.length-30)}${i}`}(t,r))}
|
|
11
11
|
${l?`<pre>${(0,a.ih)(l)}</pre>`:""}
|
|
12
|
-
</ol>`}return n+"\n</li></div>"}(e)}}}}).filter(e=>!!e)}r.d(t,{EV:()=>x,L1:()=>j,jx:()=>y,ut:()=>g})},53715(e,t,r){r.d(t,{V:()=>f});var n=r(87826),s=r(1102),i=r(3534),l=r(67782);class a{manifest;pool=new Map;loader;disposed=!1;shardingDataMap=new Map;constructor(e){this.manifest=e,this.loader=new i.B_.s(this),console.log("[DataLoader] isLocal: ",this.isLocal())}get(e){if(this.manifest)return this.manifest[e]}getData(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"data",r=this.get(t);if(r)return r[e]}getKeys(e){return e.split(".")}joinKeys(e){return e.join(".")}dispose(){this.disposed=!0}limit(e,t){if(this.pool.has(e))return this.pool.get(e);let r=t().finally(()=>this.pool.delete(e));return this.pool.set(e,r),r}log(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];console.log(`[${this.constructor.name}]`,...t)}async loadManifest(){return this.manifest}}var o=r(83977),d=r(19495);class c extends a{events=new Map;isLocal(){return!0}async loadData(e){return this.limit(e,async()=>{let[t,...r]=this.getKeys(e),s=this.getData(t);if(!s)return;let a=s;if(i._8.tg(a)){if(!this.shardingDataMap.has(e)){let t=(0,o.mq)(n.hp.uT.n.LoadDataByKey,{key:e}).catch(t=>{throw this.log("loadData error: ",a,e),t});this.shardingDataMap.set(e,t)}return a=await this.shardingDataMap.get(e),this.shardingDataMap.delete(e),a}return r.length>0?(0,l.Jt)(a,this.joinKeys(r)):a})}async loadAPI(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];let[n,s]=t,i=s?`${n}_${JSON.stringify(s)}`:`${n}`,l=this.get("__SOCKET__PORT__")??"",a=this.get("__SOCKET__URL__")??"";return this.limit(i,async()=>{try{return await (0,d.XM)(n,s,l,a)}catch(e){throw this.log("loadAPI error: ",i),e}})}dispose(){super.dispose(),this.events.forEach(e=>{let{api:t,body:r,listeners:n}=e;n.forEach(e=>{this.removeOnDataUpdate(t,r,e)}),n.clear()}),this.events.clear()}onDataUpdate(e,t,r){let n=t??null,s=`${e}::${JSON.stringify(n)}`;this.events.has(s)||this.events.set(s,{api:e,body:n,listeners:new Set});let i=this.events.get(s);if(i.listeners.has(r))return;i.listeners.add(r);let l=this.get("__SOCKET__PORT__")??"",a=this.get("__SOCKET__URL__")??"";(0,d.Wi)(e,n,r,l,a)}removeOnDataUpdate(e,t,r){let n=`${e}::${JSON.stringify(t??null)}`,s=this.get("__SOCKET__PORT__")??"",i=this.get("__SOCKET__URL__")??"";(0,d.Xi)(e,t,r,s,i),this.events.get(n)?.listeners.delete(r)}}class h extends a{isLocal(){return!1}async loadData(e){return this.limit(e,async()=>{let[t,...r]=this.getKeys(e),n=this.getData(t,"cloudData");if(!n)return;let s=n;if(i._8.tg(s)){if(!this.shardingDataMap.has(t)){let r=i._8.pJ(s,o.fZ).catch(t=>{throw this.log("loadData error: ",s,e),t});this.shardingDataMap.set(t,r)}s=await this.shardingDataMap.get(t)}return r.length>0?(0,l.Jt)(s,this.joinKeys(r)):s})}async loadAPI(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];let[n,s]=t,i=s?`${n}_${JSON.stringify(s)}`:`${n}`;return this.limit(i,async()=>this.loader.loadAPI(...t))}dispose(){super.dispose()}onDataUpdate(){}removeOnDataUpdate(){}}r(10815),r(15061);class u extends a{isLocal(){return!1}async loadData(e){console.log(`[loadData]-[key]: ${e}`);let[t]=this.getKeys(e);console.log(`[loadData]-[scope]: ${t}`);let r=this.getData(t);if(!r)return;let n=r;if(!this.shardingDataMap.has(t)){let e=this.parseData(n);this.shardingDataMap.set(t,Promise.resolve(e))}return await this.shardingDataMap.get(t)}getData(e){return console.log(`[getData]-[scope]: ${e}`),window[n.YM.tQ][e]}parseData(e){if("object"==typeof e&&null!==e||"string"!=typeof e)return e;try{return JSON.parse(i.oG.J0(e))}catch{return e}}async loadAPI(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];return this.loader.loadAPI(...t)}dispose(){super.dispose()}onDataUpdate(){}removeOnDataUpdate(){}}let p=new WeakMap;async function m(e){try{if(e.__LOCAL__SERVER__)return console.log("[LocalServerDataLoader]"),new c(e)}catch{console.log("[DataLoader] fallback to RemoteDataLoader")}return new h(e)}function f(e){let[t,r]=(0,s.useState)(void 0);return(0,s.useEffect)(()=>{window[n.YM.tQ]&&(console.log("[brief mode]"),r(new u({data:[]})))},[]),(0,s.useEffect)(()=>{if(e){if(!p.has(e)){let t=m(e);p.set(e,t)}p.get(e).then(e=>{r(e)})}},[e]),{loader:t}}},71631(e,t,r){var n=r(25205),s=r(33663);n.Ay.use(s.r9).init({lng:"en",supportedLngs:["en"],resources:{en:{translations:{Overall:"Overall","Compile Analysis":"Compile Analysis","Bundle Alerts":"Bundle Alerts","Help Center":"Help Center",LoadersAnalysis:"Loaders Analysis","Loaders Timeline":"Loaders Timeline","Loaders Analysis":"Loaders Analysis","Rsdoctor Introduction":"Rsdoctor Introduction","Compilation Alerts":"Compilation Alerts","Plugins Analysis":"Plugins Analysis",PluginsAnalysis:"Plugins Analysis",ModuleResolve:"Module Resolve","Bundle Analysis":"Bundle Analysis",BundleSize:"Bundle Size",ViewBundleSize:"View Bundle Size","Module Graph":"Module Graph",TreeShaking:"Tree Shaking","Rule Index":"Rule Index",Resources:"Resources","Project Overall":"Project Overall","Compile Overall":"Compile Overall","Bundle Overall":"Bundle Overall","Expand Omitted":"By default, the reasons tree collapses to the middle of the module introduced by a third party. Click on this icon to view the full tree diagram","Concatenated Tag":"Concatenated Module,hover can display the name of the concatenated main module. Note: the bundled size of the concatenated module is zero, possibly because it is aggregated into the main module.","the file content not changed after transpiled by this loader":"the file content not changed after transpiled by this loader","Output Assets List":"Output Assets List","filter the output assets which size is greater than the input value":"filter the output assets which size is greater than the input value","filter the modules which size is greater than the input value":"filter the modules which size is greater than the input value","After Compile":"After Compile","After Bundle":"After Bundle",CodeModeExplain:"In lite mode or pure stats.json upload, only source code.",DuplicatePakCodeExplain:"There is no code, when in the case of pure stats.json.",AsyncLoaderInfo:"For async loaders, the time cost of each loader is not accurate. For example: mini-css-extract-plugin's loader.",Details:"Details",Expand:"Expand",Collapse:"Collapse"}}},fallbackLng:"en",debug:!1,ns:["translations"],defaultNS:"translations",keySeparator:!1,interpolation:{escapeValue:!1}})},5525(e,t,r){let{xr:n,Wx:s}=r(3534).aH;function i(e,t,r,n,s,i){return!(r&&-1===e.indexOf(r)||s&&i&&s!==i||n?.length&&!n.includes(t))}r.d(t,{ak:()=>i},{xr:n})},24336(e,t,r){var n=r(79514);function s(){return n.A}r.d(t,{J:()=>s})},22009(e,t,r){var n=r(1102),s=r(41537),i=r(17886),l=r(15061);function a(){let{theme:e,setTheme:t}=(0,n.useContext)(i.Q),r=e===l.Sx.Dark;return{theme:e,setTheme:t,isDark:r,isLight:!r}}function o(){let{viewMode:e,setViewMode:t}=(0,n.useContext)(i.Q),{bundleAlerts:r,compileAlerts:s}=e;return{viewMode:e,setViewMode:t,setCompileAlertsViewMode(e){t({compileAlerts:e})},setBundleAlertsViewMode(e){t({bundleAlerts:e})},isCompileList:"list"===s,isBundleList:"list"===r}}function d(e){return(0,n.useMemo)(()=>s.dh.fromData(e),[e])}r(83977),r.d(t,{DP:()=>a,an:()=>o,mB:()=>d})},83977(e,t,r){var n=r(87826),s=r(3534);r(15061);var i=r(36577);r(10815);async function l(e,t){return(await s.Fp.u9(e,{timeout:t})).text()}async function a(e){return s.s0.gU(e)?l(e,999999):e}async function o(e){let t=await l(e,3e4);if("string"==typeof t){let e=t.trim();t=/^<!doctype html\b/i.test(e)||/^<html\b/i.test(e)?{}:JSON.parse(t)}return t}let d=new Map;async function c(){let e,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:((e=window[n._8.V.WindowPropertyForManifestUrl]?window[n._8.V.WindowPropertyForManifestUrl]:(0,i.kJ)())||(e=n.hp.uT.n.Manifest),e);return d.has(t)||d.set(t,o(t).catch(e=>{throw d.delete(t),e})),await d.get(t)}async function h(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];let[n,i]=t,l={method:"POST",headers:{"Content-Type":"application/json"},timeout:6e4};null!=i&&(l.body=JSON.stringify(i));let a=await s.Fp.u9(`${n}?_t=${Date.now()}${Math.floor(1e4*Math.random())}`,l);return await a.json()}r.d(t,{Cj:()=>c,fZ:()=>a,mq:()=>h})},62772(e,t,r){var n=r(87826);function s(e){return e.includes(n._8.z.Loaders)||e.includes(n._8.z.ModuleResolve)||e.includes(n._8.z.Plugins)}function i(e){return e.includes(n._8.z.BundleSize)||e.includes(n._8.z.ModuleGraph)||e.includes(n._8.z.TreeShaking)}r.d(t,{c:()=>s,r:()=>i})},91431(e,t,r){function n(e){return e>=1e9?`${(e/1e9).toFixed(2)} GB`:e>=1e6?`${(e/1e6).toFixed(2)} MB`:e>=1e3?`${(e/1e3).toFixed(2)} KB`:e>1?`${e} bytes`:1===e?`${e} byte`:"0 bytes"}function s(e){return`${+e.toFixed(2)}%`}r.d(t,{X:()=>n,l:()=>s})},19495(e,t,r){let n=new Map,s=0,i=/^(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)$/;function l(e){return e.includes("https")?"wss":"ws"}function a(){if("u"<typeof location)return"";let e=l(location.protocol);return`${e}://${location.host}`}function o(e,t){return t||("u"<typeof location?e?`ws://localhost:${e}`:"":e?function(e){let{port:t,protocol:r,hostname:n}=e,s=l(r),a=i.test(n)||n.includes("localhost");if("u">typeof URL){let e=new URL("http://localhost");return e.hostname=n,e.protocol=s,t&&a&&(e.port=t),e.toString()}let o=t&&a?`:${t}`:"";return`${s}://${n}${o}`}({port:e,hostname:location.hostname,protocol:location.protocol}):a())}function d(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:a(),t=e||"__default__";return n.has(t)||n.set(t,{url:e,listeners:new Map,subscriptions:new Map,requests:new Map}),n.get(t)}function c(e,t){return`${e}:${JSON.stringify(t??null)}`}function h(e,t){e.socket?.readyState===1&&e.socket.send(JSON.stringify({type:"subscribe",api:t.api,body:t.body??null}))}function u(e,t){if(e.socket?.readyState!==1)return;let r=e.requests.get(t);r&&e.socket.send(r.message)}function p(e){if(!e.url||"u"<typeof WebSocket||e.socket)return;let t=new WebSocket(e.url);t.addEventListener("open",()=>{e.subscriptions.forEach(t=>{h(e,t)}),e.requests.forEach((t,r)=>{u(e,r)})}),t.addEventListener("message",t=>{if("string"==typeof t.data)try{var r,s;let i=JSON.parse(t.data);if("type"in i&&"response"===i.type)return void function(e,t){let r=e.requests.get(t.id);if(r){if(e.requests.delete(t.id),t.error)return r.reject(Error(t.error));r.resolve(t.payload)}}(e,i);r=i,((s=e.url)?[d(s)]:[...n.values()]).forEach(e=>{let t=c(r.api,r.payload.req.body);e.listeners.get(t)?.forEach(e=>{e(r.payload)})})}catch{}}),t.addEventListener("close",()=>{e.socket=void 0,e.requests.forEach(e=>{e.reject(Error("WebSocket closed before the response arrived."))}),e.requests.clear()}),e.socket=t}function m(e,t,r,n){let i=o(r,n);if(!i)return Promise.reject(Error("WebSocket URL is not available."));if("u"<typeof WebSocket)return Promise.reject(Error("WebSocket is not available."));let l=d(i),a=`${Date.now()}-${++s}`;return new Promise((r,n)=>{l.requests.set(a,{message:JSON.stringify({type:"request",id:a,api:e,body:t??null}),resolve:r,reject:n}),p(l),u(l,a)})}function f(e,t,r,n,s){let i=d(o(n,s)),l=t??null,a=c(e,l);i.listeners.has(a)||i.listeners.set(a,new Set),i.listeners.get(a).add(r);let u={api:e,body:l};return i.subscriptions.set(a,u),p(i),h(i,u),()=>{x(e,l,r,n,s)}}function x(e,t,r,n,s){let i=d(o(n,s)),l=c(e,t),a=i.listeners.get(l);if(a?.delete(r),a?.size===0){let e=i.subscriptions.get(l);e&&i.socket?.readyState===1&&i.socket.send(JSON.stringify({type:"unsubscribe",api:e.api,body:e.body??null})),i.listeners.delete(l),i.subscriptions.delete(l)}}r.d(t,{Wi:()=>f,XM:()=>m,Xi:()=>x})},10815(e,t,r){var n=r(15061);function s(e){return window.localStorage.getItem(`__RSDOCTOR__STORAGE__${e}`)}function i(e,t){try{return window.localStorage.setItem(`__RSDOCTOR__STORAGE__${e}`,t),!0}catch(e){return console.error(e),!1}}function l(){return s("THEME")||n.Sx.Light}function a(e){i("THEME",e)}function o(){let e={bundleAlerts:"list",compileAlerts:"list"};try{let t=s("VIEWMODE");if(t)return JSON.parse(t)||e;return e}catch{return e}}function d(e){i("VIEWMODE",JSON.stringify(e))}function c(){return!!s("VIEWMODE")}r.d(t,{DT:()=>l,Kv:()=>a,ZI:()=>d,it:()=>c,oi:()=>o})},72911(e,t,r){let{ox:n,l_:s,a4:i}=r(3534).gX;r.d(t,{},{a4:i})},36744(){class e{worker;timer=0;callbacks=new Map;constructor(e){this.worker=e,this.setup()}setup(){this.worker.onmessage=e=>{let{data:t}=e;if(this.callbacks.has(t.id)){let e=this.callbacks.get(t.id);this.callbacks.delete(t.id),e(t.data)}}}createEventId(){return`${Date.now()}_${++this.timer}`}emit(e,t){var r;let n=this.createEventId();return this.callbacks.set(n,t),r={id:n,data:e},this.worker.postMessage(r),{abort:()=>this.callbacks.delete(n)}}dispose(){this.worker.terminate()}}class t{_workerMap=new WeakMap;detectWorker(t){if(this._workerMap.has(t))return this._workerMap.get(t);let r=new e(t());return this._workerMap.set(t,r),r}}new t},64033(e,t,r){var n=r(13078);let{relative:s}=(r.n(n))();function i(e,t,r,n,i){return n.slice().reverse().map(n=>{let l=t.find(e=>e.id===n.dependencyId);if(!l)return null;let a=e.find(e=>e.id===l.module);return a?{group:n.group,module:a,dependency:l,relativePath:s(r,a.path),moduleCode:i?.[a.id]}:null}).filter(Boolean)}r.d(t,{X:()=>i})},16397(e,t,r){var n=r(46068),s=r(36533);function i(e){let t,r;e.sort((e,t)=>e[0]-t[0]);let n=[];for(let s=0;s<e.length;s++)r=e[s],!t||r[0]>t[1]?(t=r,n.push(r)):t[1]=Math.max(t[1],r[1]);return n}function l(e){return(0,n.inflateSync)(s.Buffer.from(e,"base64")).toString()}r.d(t,{J0:()=>l,l7:()=>i})},17806(e,t,r){r(87826)},61101(e,t,r){r.d(t,{s:()=>m});var n=r(87826),s=r(13078),i=r.n(s),l=r(83920),a=r(94485),o=r(47776);function d(e){return Object.keys(e)}function c(e){let t=d(e),r=new Set;return t.forEach(t=>{e[t].forEach(e=>{r.add(e.tapName)})}),[...r]}var h=r(88297),u=r(64033);let{relative:p}=i();class m{loader;constructor(e){this.loader=e,this.loadAPI=this.loadAPI.bind(this)}log(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];console.log(`[${this.constructor.name}]`,...t)}loadAPI(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];let[s,i]=t;switch(s){case n.hp.uT.n.LoadDataByKey:return this.loader.loadData(i.key);case n.hp.uT.n.GetProjectInfo:return Promise.all([this.loader.loadData("root"),this.loader.loadData("pid"),this.loader.loadData("hash"),this.loader.loadData("summary"),this.loader.loadData("configs"),this.loader.loadData("envinfo"),this.loader.loadData("errors")]).then(e=>{let[t,r,n,s,i,l,a]=e;return{root:t,pid:r,hash:n,summary:s,configs:i,envinfo:l,errors:a,name:i?.[0]?.config?.name}});case n.hp.uT.n.GetClientRoutes:{let e="u"<typeof window?void 0:window;if(e?.[n.YM.tQ]?.enableRoutes)return Promise.resolve(e[n.YM.tQ].enableRoutes);return this.loader.loadManifest().then(e=>{let{enableRoutes:t=[]}=e.client||{};return t})}case n.hp.uT.n.GetLoaderNames:return this.loader.loadData("loader").then(e=>a.Gk(e||[]));case n.hp.uT.n.GetLayers:return this.loader.loadData("moduleGraph").then(e=>{let{layers:t}=e||{};return t});case n.hp.uT.n.GetLoaderChartData:return this.loader.loadData("loader").then(e=>a.q6(e||[]));case n.hp.uT.n.GetLoaderFileTree:return this.loader.loadData("loader").then(e=>a.Ym(e||[]));case n.hp.uT.n.GetLoaderFileDetails:return this.loader.loadData("loader").then(e=>a.Yf(i.path,e||[]));case n.hp.uT.n.GetLoaderFolderStatistics:return this.loader.loadData("loader").then(e=>a.bO(i.folder,e||[]));case n.hp.uT.n.GetLoaderFileFirstInput:return this.loader.loadData("loader").then(e=>a.Ah(i.file,e||[]));case n.hp.uT.n.GetLoaderFileInputAndOutput:return this.loader.loadData("loader").then(e=>a.eJ(i.file,i.loader,i.loaderIndex,e||[],i.isPitch));case n.hp.uT.n.GetResolverFileTree:return this.loader.loadData("resolver").then(e=>o.NB(e||[]));case n.hp.uT.n.GetResolverFileDetails:return Promise.all([this.loader.loadData("resolver"),this.loader.loadData("moduleGraph.modules"),this.loader.loadData("moduleCodeMap")]).then(e=>{let t=e[0],r=e[1],n=e[2];return o.Vj(i.filepath,t||[],r||[],n||{})});case n.hp.uT.n.GetPluginSummary:return this.loader.loadData("plugin").then(e=>{var t;return{hooks:d(t=e||{}),tapNames:c(t)}});case n.hp.uT.n.GetPluginData:return this.loader.loadData("plugin").then(e=>{let{hooks:t,tapNames:r}=i;return function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],n=d(e).filter(e=>!t.length||-1!==t.indexOf(e));return n.length?c(e).reduce((t,s)=>(r.length&&-1===r.indexOf(s)||n.forEach(r=>{let n=e[r].filter(e=>e.tapName===s);0!==n.length&&t.push({tapName:s,hook:r,data:n.map(e=>({startAt:e.startAt,endAt:e.endAt,costs:e.costs,type:e.type}))})}),t),[]):[]}(e||{},t,r)});case n.hp.uT.n.GetAssetsSummary:return this.loader.loadData("chunkGraph").then(e=>{let{withFileContent:t=!0}=i,{assets:r=[],chunks:n=[]}=e||{};return h.iD(r,n,{withFileContent:t})});case n.hp.uT.n.GetAssetDetails:return Promise.all([this.loader.loadData("chunkGraph"),this.loader.loadData("moduleGraph"),this.loader.loadData("configs")]).then(e=>{let{assetPath:t}=i,{isRspack:r,hasSourceMap:n}=(0,l.fM)(e[2]||[]),{assets:s=[],chunks:a=[]}=e[0]||{},{modules:o=[]}=e[1]||{};return h.Xh(t,s,a,o,r||n?e=>0!==e.size.parsedSize:()=>!0)});case n.hp.uT.n.GetSummaryBundles:return Promise.all([this.loader.loadData("chunkGraph"),this.loader.loadData("moduleGraph"),this.loader.loadData("configs")]).then(e=>{let{assets:t=[],chunks:r=[]}=e[0]||{},{modules:n=[]}=e[1]||{},s=e[2]||[],i=t;return Array.isArray(s)&&s[0]?.config?.name==="lynx"&&(i=t.filter(e=>!e.path.endsWith("/template.js"))),h.ko(i,r,n,["id","path","size","kind"])});case n.hp.uT.n.GetChunksByModuleId:return Promise.all([this.loader.loadData("chunkGraph"),this.loader.loadData("moduleGraph")]).then(e=>{let{moduleId:t}=i,{chunks:r=[]}=e[0]||{},{modules:n=[]}=e[1]||{};return h.lq(t,n,r)});case n.hp.uT.n.GetModuleDetails:return Promise.all([this.loader.loadData("chunkGraph"),this.loader.loadData("moduleGraph"),this.loader.loadData("treeShaking")]).then(e=>{let{moduleId:t}=i,{modules:r=[],dependencies:n=[]}=e[1]||{},s=e[2],l=s?.sideEffectCodes[t]||[];return h.lD(t,r,n,l)});case n.hp.uT.n.GetModulesByModuleIds:return this.loader.loadData("moduleGraph").then(e=>{let{moduleIds:t}=i,{modules:r=[]}=e||{};return h.xp(t,r)});case n.hp.uT.n.GetEntryPoints:return Promise.all([this.loader.loadData("chunkGraph")]).then(e=>{let[t]=e,{entrypoints:r=[]}=t||{};return h.WL(r)});case n.hp.uT.n.GetModuleCodeByModuleId:return this.loader.loadData("moduleCodeMap").then(e=>{let{moduleId:t}=i;return e?e[t]:{source:"",transformed:"",parsedSource:""}});case n.hp.uT.n.GetModuleCodeByModuleIds:return this.loader.loadData("moduleCodeMap").then(e=>{let{moduleIds:t}=i,r={};return e?(t.forEach(t=>{r[t]=e[t]}),r):[]});case n.hp.uT.n.GetAllModuleGraph:return this.loader.loadData("moduleGraph").then(e=>e?.modules);case n.hp.uT.n.GetSearchModules:return Promise.all([this.loader.loadData("moduleGraph"),this.loader.loadData("chunkGraph")]).then(e=>{let[t,r]=e,{moduleName:n}=i;if(!n)return[];let s=r.chunks.reduce((e,t)=>(t.assets.forEach(r=>{e[t.id]||(e[t.id]=[]),e[t.id].push(r)}),e),{}),l=new Map;return t?.modules.filter(e=>{e.identifier.includes(n)&&e.chunks.forEach(e=>{l.has(e)||(s[e]||[]).forEach(t=>{t.endsWith(".js")&&l.set(e,t)})})}),Object.fromEntries(l)});case n.hp.uT.n.GetSearchModuleInChunk:return Promise.all([this.loader.loadData("moduleGraph"),this.loader.loadData("root")]).then(e=>{let[t,r]=e,{moduleName:n,chunk:s}=i;return n?t?.modules.filter(e=>e.identifier.includes(n)&&e.chunks.includes(s)).map(e=>({id:e.id,path:e.path,relativePath:p(r,e.path)})):[]});case n.hp.uT.n.GetAllChunkGraph:return this.loader.loadData("chunkGraph").then(e=>e?.chunks);case n.hp.uT.n.GetPackageRelationAlertDetails:return Promise.all([this.loader.loadData("moduleGraph"),this.loader.loadData("errors"),this.loader.loadData("root"),this.loader.loadData("moduleCodeMap")]).then(e=>{let{id:t,target:r}=i,[n,s=[],l="",a]=e,{modules:o=[],dependencies:d=[]}=n||{},{packages:c=[]}=s.find(e=>e.id===t)||{},{dependencies:h=[]}=c.find(e=>e.target.name===r.name&&e.target.root===r.root&&e.target.version===r.version)||{};return u.X(o,d,l,h,a||{})});case n.hp.uT.n.GetOverlayAlerts:return this.loader.loadData("errors").then(e=>(e||[]).filter(e=>e.code===n.jO.jr.Overlay));case n.hp.uT.n.GetBundleAlerts:return this.loader.loadData("errors").then(e=>(e||[]).filter(e=>e.category===n.jO.y1.Bundle));case n.hp.uT.n.BundleDiffManifest:return this.loader.loadManifest();case n.hp.uT.n.GetBundleDiffSummary:return Promise.all([this.loader.loadManifest(),this.loader.loadData("root"),this.loader.loadData("hash"),this.loader.loadData("errors"),this.loader.loadData("chunkGraph"),this.loader.loadData("moduleGraph"),this.loader.loadData("moduleCodeMap"),this.loader.loadData("packageGraph"),this.loader.loadData("configs")]).then(e=>{let[t,r="",n="",s={},i={},l={},a={},o={},d=[]]=e,c="";return"string"==typeof d[0]?.config?.output?.chunkFilename&&(c=d[0]?.config.output.chunkFilename),{root:r,hash:n,errors:s,chunkGraph:i,moduleGraph:l,packageGraph:o,outputFilename:c,moduleCodeMap:a}});case n.hp.uT.n.GetChunkGraph:return this.loader.loadData("chunkGraph").then(e=>{let{chunks:t=[]}=e||{};return t});case n.hp.uT.n.GetAllModuleGraphFilter:return this.loader.loadData("moduleGraph").then(e=>e?.modules.map(e=>({id:e.id,identifier:e.identifier,path:e.path,size:e.size,chunks:e.chunks,kind:e.kind})));case n.hp.uT.n.GetModuleByName:return this.loader.loadData("moduleGraph").then(e=>{let{moduleName:t}=i,{modules:r=[]}=e||{};return r.filter(e=>e.path.includes(t)).map(e=>({id:e.id,path:e.path}))||[]});case n.hp.uT.n.GetModuleIssuerPath:return this.loader.loadData("moduleGraph").then(e=>{let{moduleId:t}=i,r=e?.modules||[],n=r.find(e=>String(e.id)===t)?.issuerPath||[];return Array.isArray(n)&&n.length>0&&"number"==typeof n[0]?n.map(e=>r.find(t=>t.id===e)?.path).filter(Boolean):n});case n.hp.uT.n.GetPackageInfo:return this.loader.loadData("packageGraph").then(e=>e?.packages);case n.hp.uT.n.GetPackageDependency:return this.loader.loadData("packageGraph").then(e=>e?.dependencies||[]);case n.hp.uT.n.GetChunkGraphAI:return this.loader.loadData("chunkGraph").then(e=>{let{assets:t=[]}=e||{};return t.map(e=>{let{content:t,...r}=e;return r})});case n.hp.uT.n.GetChunkByIdAI:return Promise.all([this.loader.loadData("chunkGraph"),this.loader.loadData("moduleGraph")]).then(e=>{let[t,r]=e,{chunks:n=[]}=t||{},{modules:s=[]}=r||{},{chunkId:l}=i,a=n.find(e=>e.id===l);if(!a)return null;let o=s.filter(e=>a.modules.includes(e.id)).map(e=>({id:e.id,path:e.path,size:e.size,chunks:e.chunks,kind:e.kind,issuerPath:e.issuerPath}));return a.modulesInfo=o,a});case n.hp.uT.n.GetDirectoriesLoaders:return Promise.all([this.loader.loadData("root"),this.loader.loadData("loader")]).then(e=>{let[t,r]=e;return a.qJ(r||[],t||"")});default:throw Error(`API not implement: "${s}"`)}}}},33592(e,t,r){async function n(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},{timeout:r=3e4,signal:n,...s}=t,i=new AbortController,l=setTimeout(()=>i.abort(),r);n&&(n.aborted?i.abort():n.addEventListener("abort",()=>i.abort(),{once:!0}));let a=function(){let e=globalThis.fetch;if("function"!=typeof e)throw Error("fetch is not available in this environment");return e.bind(globalThis)}();try{let t=await a(e,{...s,signal:i.signal});if(!t.ok)throw Error(`Request failed with status ${t.status}`);return t}finally{clearTimeout(l)}}r.d(t,{u9:()=>n})},88297(e,t,r){r.d(t,{SE:()=>v,Nt:()=>j,H9:()=>u,ko:()=>w,Xh:()=>A,oT:()=>y,iD:()=>b,QZ:()=>i,lq:()=>a,WL:()=>S,lD:()=>c,xp:()=>d,Xm:()=>o,C5:()=>m,X9:()=>x});var n=r(87826);function s(e){return e.chunks?e.chunks:[]}function i(e,t){return e.chunks.length?l(e.chunks,t):[]}function l(e,t,r){return e.length?e.map(e=>t.find(t=>t.id===e)).filter(Boolean).map(e=>{if(r&&r.length>0){let t={};for(let n of r)void 0!==e[n]&&(t[n]=e[n]);return t}return e}):[]}function a(e,t,r){let n=t.find(t=>t.id===e);return n?i(n,r):[]}function o(e,t,r,n,i){var a=l(s(e),t),o=r,d=n,c=i;let h=[];try{a.forEach(e=>{(function(e){let{modules:t=[]}=e;return t})(e).map(e=>{let t=o.find(t=>t.id===e);if(d&&d.length>0){if(!t)return null;let e={};for(let r of d)void 0!==t[r]&&(e[r]=t[r]);return e}return t}).filter(Boolean).forEach(e=>{(!c||c(e))&&!h.filter(t=>t.id===e.id).length&&h.push(e)})})}catch{}return h}function d(e,t){return e.map(e=>t.find(t=>t.id===e)).filter(Boolean)}function c(e,t,r,n){let s=t.find(t=>t.id===e);return{module:s,dependencies:s.dependencies.map(e=>r.find(t=>t.id===e)).filter(Boolean),...n?.length?{sideEffectCodes:n}:{}}}let h=RegExp(`(.*)${/[-|.]/.source}(${/(?:[a-f0-9]{4,32}|[a-zA-Z]{3,}[0-9]|[a-zA-Z]*[0-9][a-zA-Z]{2,}|[a-zA-Z]*[0-9][a-zA-Z0-9]{3,31})/.source})(${/(?:\.[a-z|A-Z|0-9]{2,}){1,}/.source})$`);function u(e,t){let r=t?.split(".");if(r?.length&&r.length>=3&&r[r.length-2]?.indexOf("[")<0&&"js|css|html".indexOf(r[r.length-1])>-1){let t=r[r.length-2],n=e.match(/(.*)(\.([a-f0-9]{4,32}|[a-zA-Z]*[0-9][a-zA-Z0-9]*))(\.[^.]+){2,}$/);if(n&&n[3].length>=4&&n[3].length<=32){let r=n[1];return`${r}.${t}.${e.substring(e.lastIndexOf(".")+1)}`}}let n=e.match(h);return n&&n[2]&&n[2].length>=4&&n[2].length<=32?e.replace(h,"$1$3"):e}function p(e,t){let r;return e.path.slice(-t.length)===t||((r=e.path.split("?")[0].match(/\.([0-9a-z]+)(?:[?#]|$)/i))?`.${r[1]}`:"")===t}function m(e,t){return!!t.length&&t.some(t=>p(e,t))}function f(e,t){var r,s;let i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},{withFileContent:l=!0,filterOrExtensions:a}=i;return(e=e.filter(e=>!m(e,n.YM.Jt)),a&&(r=e,a&&(r="function"==typeof a?r.filter(a):(s=r,"string"==typeof a?s.filter(e=>p(e,a)):Array.isArray(a)?s.filter(e=>m(e,a)):[])),e=r),e.length)?{count:e.length,size:e.reduce((e,t)=>e+t.size,0),files:e.map(e=>({path:e.path,size:e.size,gzipSize:e.gzipSize,initial:x(e,t),content:l?e.content:void 0}))}:{count:0,size:0,files:[]}}function x(e,t){return l(s(e),t,void 0).some(e=>!!e.initial)}function g(e,t){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return f(e,t,{...r,filterOrExtensions:e=>{var n;return(!(n=r.filterOrExtensions)||("function"==typeof n?n(e):"string"==typeof n?p(e,n):m(e,n)))&&x(e,t)}})}function y(e,t){return{all:{total:v(e,t)},js:{total:v(e,t,n.YM.Wm),initial:v(e,t,n.YM.Wm,!0)},css:{total:v(e,t,n.YM.lk),initial:v(e,t,n.YM.lk,!0)},imgs:{total:v(e,t,n.YM.q$)},html:{total:v(e,t,n.YM.Fe)},media:{total:v(e,t,n.YM.zz)},fonts:{total:v(e,t,n.YM.AU)},others:{total:v(e,t,e=>!m(e,[...n.YM.Wm,n.YM.lk,n.YM.Fe].concat(n.YM.q$,n.YM.zz,n.YM.AU,n.YM.Jt)))}}}function j(e,t){let r=e===t;return{percent:r?0:0===e?100:Math.abs(t-e)/e*100,state:r?n.Kj.Ol.Equal:e>t?n.Kj.Ol.Down:n.Kj.Ol.Up}}function v(e,t,r){let n=arguments.length>3&&void 0!==arguments[3]&&arguments[3],s,i,{size:l,count:a}=n?g(e.assets,e.chunks,{filterOrExtensions:r}):f(e.assets,e.chunks,{filterOrExtensions:r});if(e===t)s=l,i=a;else{let{size:e,count:l}=n?g(t.assets,t.chunks,{filterOrExtensions:r}):f(t.assets,t.chunks,{filterOrExtensions:r});s=e,i=l}let{percent:o,state:d}=j(l,s);return{size:{baseline:l,current:s},count:{baseline:a,current:i},percent:o,state:d}}function b(e,t){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},s={...r,filterOrExtensions:n.YM.Wm},i={...r,filterOrExtensions:n.YM.lk},l={...r,filterOrExtensions:n.YM.q$},a={...r,filterOrExtensions:n.YM.Fe},o={...r,filterOrExtensions:n.YM.zz},d={...r,filterOrExtensions:n.YM.AU},c={...r,filterOrExtensions:e=>!m(e,[...n.YM.Wm,n.YM.lk,n.YM.Fe].concat(n.YM.q$,n.YM.zz,n.YM.AU,n.YM.Jt))};return{all:{total:f(e,t,r)},js:{total:f(e,t,s),initial:g(e,t,s)},css:{total:f(e,t,i),initial:g(e,t,i)},imgs:{total:f(e,t,l)},html:{total:f(e,t,a)},media:{total:f(e,t,o)},fonts:{total:f(e,t,d)},others:{total:f(e,t,c)}}}function A(e,t,r,n,i){let a=t.find(t=>t.path===e);return{asset:a,chunks:l(s(a),r,void 0),modules:o(a,r,n,void 0,i)}}function w(e,t,r,n){let s=[];try{for(let i=0;i<e.length;i++){let l=e[i];s.push({asset:l,modules:o(l,t,r,n)})}return s}catch(e){return console.error(e),[]}}function S(e){return e}},94485(e,t,r){var n=r(16397),s=r(85409);function i(e){let t=1/0,r=-1/0;for(let n=0;n<e.length;n++){let s=e[n];s.startAt<=t&&(t=s.startAt),s.endAt>=r&&(r=s.endAt)}return{start:t,end:r}}function l(e,t){let r={},s={};t.forEach(t=>{e(t)?(r[t.pid]||(r[t.pid]=[]),r[t.pid].push([t.startAt,t.endAt])):(s[t.pid]||(s[t.pid]=[]),s[t.pid].push([t.startAt,t.endAt]))});let i=0,l=Object.keys(r);for(let e=0;e<l.length;e++){let t=l[e],a=(0,n.l7)(r[t]),o=(0,n.l7)(s[t]||[]).filter(e=>{let[t,r]=e;return a.some(e=>t>=e[0]&&r<=e[1])});i+=(a.length?a.reduce((e,t)=>e+t[1]-t[0],0):0)-(o.length?o.reduce((e,t)=>e+t[1]-t[0],0):0)}return i}function a(e,t){let r=t.filter(t=>!t.loader.includes("builtin")&&t!==e&&t.pid===e.pid&&t.startAt>=e.startAt&&t.endAt<=e.endAt),s=e.endAt-e.startAt;return r.length&&(0,n.l7)(r.map(t=>[Math.max(t.startAt,e.startAt),Math.min(t.endAt,e.endAt)])).forEach(e=>{let t=e[1]-e[0];s-=t}),s}function o(e){let t=new Set;return e.forEach(e=>e.loaders.forEach(e=>t.add(g(e.loader)))),[...t]}function d(e){let t=[];for(let r=0;r<e.length;r++){let n=e[r];for(let e=0;e<n.loaders.length;e++){let r=n.loaders[e];t.push(r)}}return t}function c(e){let t=[],r=d(e);return e.forEach(e=>{e.loaders.forEach(n=>{t.push({layer:e.resource.layer,loader:g(n.loader),isPitch:n.isPitch,startAt:n.startAt,endAt:n.endAt,pid:n.pid,sync:n.sync,resource:e.resource.path,costs:a(n,r)})})}),t}function h(e){let t=d(e);return e.map(e=>{let{loaders:r,resource:n}=e;return{path:n.path,layer:n.layer,loaders:r.map(e=>({key:e.path,loader:g(e.loader),path:e.path,errors:e.errors,costs:a(e,t)}))}})}function u(e,t){let r=t.find(t=>t.resource.path===e);if(!r)throw Error(`"${e}" not match any loader data`);let n=d(t);return{...r,loaders:r.loaders.map(e=>{let{input:t,result:r,...s}=e;return{...s,loader:g(e.loader),costs:a(e,n)}})}}function p(e,t){let r=t.filter(t=>{let{path:r}=t.resource;return r.startsWith(e)}),n=[],s=new Map;return r.forEach(e=>{e.loaders.forEach(e=>{let t=s.get(e.loader);return t?s.set(e.loader,{files:t.files+1,path:e.path}):s.set(e.loader,{files:1,path:e.path}),n.push({loader:e.loader,startAt:e.startAt,endAt:e.endAt,pid:e.pid})})}),Array.from(s).map(e=>{let t=l(t=>t.loader===e[0],n);return{loader:e[0],files:e[1].files,path:e[1].path,costs:t}})}function m(e,t){let r,n=t||s.cwd();return(r=new Set,e.forEach(e=>{if(e.resource.path.startsWith(n)){let t=e.resource.path.split(n).slice(1).join("/").split("/");if(t.length>=2){let e=t.slice(0,2).join("/");r.add(`${n}/${e}`)}}else{let t=e.resource.path.split("/"),n=t.slice(0,t.length-1).join("/");r.add(n)}}),Array.from(r)).map(t=>{let r=p(t,e);return{directory:t,stats:r}})}function f(e,t){for(let r=0;r<t.length;r++){let n=t[r];if(n.resource.path===e){let e=n.loaders.filter(e=>!e.isPitch);if(!e.length)return"";return e[0].input||""}}return""}function x(e,t,r,n,s){for(let i=0;i<n.length;i++){let l=n[i];if(l.resource.path===e)for(let e=0;e<l.loaders.length;e++){let n=l.loaders[e];if(g(n.loader)===t&&n.loaderIndex===r&&(void 0===s||n.isPitch===s))return{input:n.input||"",output:n.result||""}}}return{input:"",output:""}}let g=e=>{let t=e.includes("node_modules")?e.split("node_modules"):null;return t?t[t.length-1]:e};r.d(t,{Ah:()=>f,Gk:()=>o,Wx:()=>a,Yf:()=>u,Ym:()=>h,bO:()=>p,eJ:()=>x,pU:()=>l,q6:()=>c,qJ:()=>m,xr:()=>i})},73555(e,t,r){var n=r(36533),s=r(43803),i=r(86704),l=r(46068),a=r(52497);async function*o(e,t){let r="",s=0,i=new Map,l=()=>{for(;s<e.length&&i.size<3;){let r=s++;i.set(r,Promise.resolve().then(()=>t(e[r])).then(e=>({status:"fulfilled",value:e}),e=>({status:"rejected",reason:e})))}};l();for(let t=0;t<e.length;t++){let e=await i.get(t);if(i.delete(t),"rejected"===e.status)throw e.reason;l();let s=r+e.value,a=s.length-s.length%4;a>0&&(yield n.Buffer.from(s.slice(0,a),"base64")),r=s.slice(a)}if(1===r.length)throw Error("Invalid Base64 shard data: truncated final quartet.");r.length>0&&(yield n.Buffer.from(r,"base64"))}function d(e){return!!(Array.isArray(e)&&e.length>0&&e.every(e=>(0,a.Km)(e)))}async function c(e,t){if(0===e.length)return[];let r=new i.I("utf8"),a=[];await new Promise((i,d)=>{let c,h;(0,s.pipeline)((c=o(e,t)[Symbol.asyncIterator](),h=!1,new s.Readable({read(){h||(h=!0,c.next().then(e=>{let{value:t,done:r}=e;h=!1,this.push(r?null:t)},e=>{h=!1,this.destroy(e)}))}})),(0,l.createInflate)(),new s.Writable({write(e,t,s){a.push(r.write(n.Buffer.from(e))),s()}}),e=>{e?d(e):i()})});let d=r.end();return d&&a.push(d),JSON.parse(a.join(""))}r.d(t,{pJ:()=>c,tg:()=>d})},16664(){let e=/[a-zA-Z0-9]+(?:[-|_|.]+[a-zA-Z0-9]+)*/;RegExp(`(?:${/(?:node_modules|~)(?:\/\.pnpm)?/.source}/)(?:(?:@${e.source}[/|+])?(?:${e.source}\\+)*(?:${e.source})(?:${/@[\w|\-|_|.]+/.source})?)(?:_(?:@${e.source}[/|+])?(?:${e.source})(?:@${e.source})?)*/`,"g")},47776(e,t,r){var n=r(16397);function s(e){return!!e.result}function i(e){return e.map(e=>({issuerPath:e.issuerPath}))}function l(e,t,r,i){let l=r.find(t=>t.path===e),a=t.filter(t=>t.issuerPath===e),o=l&&i&&i[l.id]?i[l.id].source:"",d=a.reduce((e,t)=>t.request&&s(t)?e.replace(RegExp(`["']${t.request}["']`),`"${t.result}"`):e,o);return{filepath:e,before:o,after:d,resolvers:a.map(e=>{let r,s;return{...e,costs:(r=t.filter(t=>t!==e&&t.pid===e.pid&&t.startAt>=e.startAt&&t.endAt<=e.endAt),s=e.endAt-e.startAt,r.length&&(0,n.l7)(r.map(t=>[Math.max(t.startAt,e.startAt),Math.min(t.endAt,e.endAt)])).forEach(e=>{let t=e[1]-e[0];s-=t}),s)}})}}r.d(t,{Iu:()=>s,NB:()=>i,Vj:()=>l})},83920(e,t,r){var n;function s(e){if(!Array.isArray(e)||!e[0])return{isRspack:!1,hasSourceMap:!1,isLynx:!1,isEvalSourceMap:!1};let t=e[0].config,r=t?.name==="lynx",n="rspack"===e[0].name&&!r,s=t?.devtool,i="string"==typeof s&&/eval/i.test(s),l=t?.plugins,a=l?.filter(e=>e&&e.includes("SourceMapDevToolPlugin"));return{isRspack:n,hasSourceMap:"string"==typeof s&&s.includes("source-map")&&!i||!!a?.length,isLynx:r,isEvalSourceMap:i}}(n={}).Bootstrap="bootstrap->rspack:beforeCompile",n.Compile="rspack:beforeCompile->afterCompile",n.Done="rspack:afterCompile->done",n.Minify="rspack:minify(rspack:optimizeChunkAssets)",r.d(t,{fM:()=>s})},34275(e,t,r){function n(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:2;return 0===t?Math.floor(e):+e.toFixed(t)}function s(e,t){return"m"===t?e>1?"mins":"min":e>1?"hours":"hour"}function i(e){if((e=Number(e))>=1e3){let t=e/1e3;if(t>=60){let e=t/60;if(e>=60){let t=n(e/60,0),r=n(e%60,1),i=s(t,"h");return r>0?`${t}${i} ${r}${s(r,"m")}`:`${t}${i}`}let r=s(e=n(e,0),"m"),i=n(t%60,0);return i>0?`${e}${r} ${i}s`:`${e}${r}`}return`${n(t,1)}s`}if(e>=10)return`${+n(e,0)}ms`;if(e>=1)return`${+n(e,1)}ms`;let t=+n(e,2);return 0===t&&(t=+n(e,3)),`${t}ms`}r(85409),r(85409),r.d(t,{a4:()=>i,l_:()=>s,ox:()=>n})},52497(e,t,r){var n=r(13078);let{isAbsolute:s}=(r.n(n))(),i=/^(?:[a-zA-Z]:[\\/]|\\\\)/;function l(e){return/^https?:\/\//.test(e)}function a(e){var t;return!!("string"==typeof e&&(l(e)||s(t=e)||i.test(t)))}r.d(t,{Km:()=>a,gU:()=>l})},11223(e,t,r){var n=r(87826);let s=1;class i{static kind=n.hp.yV;static init(){s=1}id;request;module;kind;typeString;statements=[];_originDependency;meta={exportsType:"default-with-named"};constructor(e,t,r,n,i){this.id=s++,this.request=e,this.module=t,this._originDependency=r,this.kind=n,this.statements=i??[]}get resolvedRequest(){return this.dependency.path}get dependency(){return this.originDependency.rootModule??this.originDependency}get originDependency(){return this._originDependency}get kindString(){return n.hp.yV[this.kind]}get resolveConcatenationModule(){return this.dependency.kind===n.hp.JT.Concatenation}isSameWithoutStatements(e){return this.request===e.request&&this.kind===e.kind&&this.module.id===e.module.id&&this.dependency.id===e.dependency.id}addStatement(e){this.hasStatement(e)||this.statements.push(e)}hasStatement(e){return this.statements.some(t=>t.isSame(e))}setBuildMeta(e){this.meta={...this.meta,...e}}toData(){return{id:this.id,request:this.request,resolvedRequest:this.resolvedRequest,kind:this.kind,...void 0!==this.typeString&&{typeString:this.typeString},module:this.module.id,dependency:this.dependency.id,originDependency:this.originDependency.id,statements:this.statements.map(e=>e.toData())}}setId(e){this.id=e}}r.d(t,{O:()=>i})},22464(e,t,r){var n=r(87826),s=r(11223),i=r(66714),l=r(87261),a=r(61726);class o{static init(){i.n.init(),s.O.init(),a.To.init()}static fromData(e){let t=new o,r=e=>new l.W(t.getModuleById(e.module),e.position);for(let r of e.modules??[]){let e=new i.n(String(r.id),r.path,r.isEntry,r.kind,r.renderId,r.layer);e.id=r.id,e.setSize(r.size),e.meta={strictHarmonyModule:r.meta?.strictHarmonyModule??!1,hasSetEsModuleStatement:r.meta?.hasSetEsModuleStatement??!1},e._isPreferSource=r.isPreferSource,e.chunks=r.chunks,t.addModule(e)}for(let n of e.modules??[]){let s=t.getModuleById(n.id);for(let i of n.dependencies){let n=(e.dependencies??[]).find(e=>e.id===i),l=n&&t.getModuleById(n.originDependency);if(!n||!l){console.warn(`The connection data ID is empty: ${i}`);continue}let a=s.addDependency(n.request,l,n.kind,n.statements.map(r));a&&(a.id=n.id,t.addDependency(a))}for(let e of n.modules??[]){let r=t.getModuleById(e);if(!r){console.warn(`Add the ordinary module ID as empty: ${e}`);continue}s.addNormalModule(r)}for(let e of n.concatenationModules??[]){let r=t.getModuleById(e);if(!r){console.warn(`The aggregation module ID is empty: ${r}`);continue}s.addConcatenationModule(r)}}for(let n of e.exports??[]){let e=new a.Du(n.name,n.identifier?r(n.identifier):void 0);e.id=n.id,t.addExportInfo(e)}for(let r of e.exports??[])if(r.from){let e=t._exportIdMap.get(r.id),n=t._exportIdMap.get(r.from);e&&n&&e.setFromExport(n)}for(let n of e.variables??[]){let e=t.getModuleById(n.module);if(!e){console.warn(`The module ID in the variable is empty:${n.module}`);continue}let s=new a.rT(n.name,e,n.usedInfo,r(n.identifier)),i=t._exportIdMap.get(n.exported??-1);i&&s.setExportInfo(i),s.id=n.id,t.addVariable(s)}for(let n of e.sideEffects??[]){let e=t.getModuleById(n.module);if(!e){console.warn(`The module ID in the side effects is empty:${n.module}`);continue}let s=new a.be(n.name,e,r(n.identifier),n.originName);for(let e of(s.isNameSpace=n.isNameSpace,s.id=n.id,n.exports??[])){let r=t._exportIdMap.get(e);r&&r.addSideEffect(s)}if(n.variable){let e=t._varIdMap.get(n.variable);e&&(s._variable=e)}t.addSideEffect(s)}for(let r of e.moduleGraphModules??[]){let e=t.getModuleById(r.module);if(!e){console.warn(`The module ID in ModuleGraphModule is empty: ${r.module}`);continue}let n=new a.To(e,t,r.dynamic);t.addModuleGraphModule(n),r.exports.forEach(e=>{let r=t._exportIdMap.get(e);r&&n.addExportInfo(r)}),r.sideEffects.forEach(e=>{let r=t._sideEffectIdMap.get(e);r&&n.addSideEffect(r)}),r.variables.forEach(e=>{let r=t._varIdMap.get(e);r&&n.addVariable(r)})}return o.init(),t}_dependenciesIdMap=new Map;_connectionsOnlyImports=[];_moduleIdentifierMap=new Map;_moduleIdMap=new Map;_moduleGraphModules=new Map;_exportIdMap=new Map;_sideEffectIdMap=new Map;_varIdMap=new Map;_layers=new Map;clear(){this._dependenciesIdMap=new Map,this._moduleIdentifierMap=new Map,this._moduleIdMap=new Map,this._moduleGraphModules=new Map,this._exportIdMap=new Map,this._sideEffectIdMap=new Map,this._varIdMap=new Map,this._layers=new Map}size(){return this._moduleIdMap.size}fromInstance(e){this.setModules(e.getModules()),this.setDependencies(e.getDependencies()),this.setConnectionsOnlyImports(e.getConnectionsOnlyImports()),e instanceof o&&(this._moduleGraphModules=new Map(e._moduleGraphModules),this._exportIdMap=new Map(e._exportIdMap),this._sideEffectIdMap=new Map(e._sideEffectIdMap),this._varIdMap=new Map(e._varIdMap),this._layers=new Map(e._layers))}getSubGraphByModule(e){let t=new Set,r=[e];t.add(e);for(let e=0;e<r.length;e++)for(let{dependency:n}of r[e].getDependencies())t.has(n)||(t.add(n),r.push(n));return r}getModules(){return Array.from(this._moduleIdentifierMap.values())}getDependencies(){return Array.from(this._dependenciesIdMap.values())}getEntryModules(){return this.getModules().filter(e=>e.isEntry&&e.kind!==n.hp.JT.Concatenation)}getModuleById(e){return this._moduleIdMap.get(e)}getDependencyById(e){return this._dependenciesIdMap.get(e)}getModuleByIdentifier(e){return this._moduleIdentifierMap.get(e)}getModuleByFile(e,t){return this.getModules().filter(r=>r.path===e&&(void 0===t||r.layer===t))}addModule(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];for(let e of t)!this._moduleIdMap.has(e.id)&&(this._moduleIdentifierMap.set(e.identifier,e),this._moduleIdMap.set(e.id,e),e.layer&&this.addLayer(e.layer))}addDependency(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];for(let e of t)this._dependenciesIdMap.has(e.id)||(this._dependenciesIdMap.set(e.id,e),this.addModule(e.module),this.addModule(e.dependency))}removeModule(e){for(let t of this.getDependencies().filter(t=>t.module===e||t.originDependency===e||t.dependency===e))this.removeDependency(t);this._moduleGraphModules.delete(e),this._moduleIdMap.delete(e.id),this._moduleIdentifierMap.delete(e.identifier)}removeDependency(e){for(let t of(this._dependenciesIdMap.delete(e.id),e.module.removeDependency(e),new Set([e.originDependency,e.dependency])))e.module.getDependencies().some(e=>e.originDependency===t||e.dependency===t)||t.removeImported(e.module)}addModuleGraphModule(e){this._moduleGraphModules.has(e.module)||this._moduleGraphModules.set(e.module,e)}getModuleGraphModule(e){return this._moduleGraphModules.get(e)}getModuleGraphModules(){return Array.from(this._moduleGraphModules.values())}addExportInfo(e){this._exportIdMap.set(e.id,e)}addSideEffect(e){this._sideEffectIdMap.set(e.id,e)}addVariable(e){this._varIdMap.set(e.id,e)}addLayer(e){this._layers.get(e)||this._layers.set(e,1)}getLayers(){return this._layers}toData(e){let t=!!(e?.briefOptions?.type&&e.briefOptions.type.length);return{dependencies:this.getDependencies().map(e=>e.toData()),modules:this.getModules().map(r=>r.toData(e?.contextPath,t)),moduleGraphModules:t?[]:Array.from(this._moduleGraphModules.values()).map(e=>e.toData()),exports:t?[]:Array.from(this._exportIdMap.values()).map(e=>e.toData()),sideEffects:t?[]:Array.from(this._sideEffectIdMap.values()).map(e=>e.toData()),variables:t?[]:Array.from(this._varIdMap.values()).map(e=>e.toData()),layers:Array.from(this._layers.keys())}}toTreeShakingData(){let e={};for(let t of this.getModules()){let r=t.getSideEffectCodes();r.length>0&&(e[r[0].moduleId]=r)}return{sideEffectCodes:e}}toCodeData(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:n.hp.w5.Normal,t={};return this.getModules().forEach(r=>{t[r.id]=r.getSource(e)}),t}setModules(e){this._moduleIdMap=new Map(e.map(e=>[e.id,e])),this._moduleIdentifierMap=new Map(e.map(e=>[e.identifier,e])),this._layers=new Map(e.filter(e=>e.layer).map(e=>[e.layer,1]))}setDependencies(e){this._dependenciesIdMap=new Map(e.map(e=>[e.id,e]))}setConnectionsOnlyImports(e){this._connectionsOnlyImports=e}getConnectionsOnlyImports(){return this._connectionsOnlyImports}}r.d(t,{d:()=>o})},66714(e,t,r){var n=r(87826),s=r(62343),i=r(13078),l=r.n(i),a=r(11223),o=r(87261),d=r(54005);let c=1;class h{static kind=n.hp.JT;issuerPath=[];static init(){c=1}id;renderId;bailoutReason=[];sideEffectLocations=[];sideEffectCodes=[];identifier;path;isEntry;kind;layer;source={source:"",transformed:"",parsedSource:""};size={sourceSize:0,transformedSize:0,parsedSize:0,gzipSize:0};sourceMap;program;chunks=[];dependencies=[];imported=[];modules=[];concatenationModules=[];_isPreferSource;meta={hasSetEsModuleStatement:!1,strictHarmonyModule:!1};constructor(e,t,r=!1,s=n.hp.JT.Normal,i,l=""){this.id=c++,this.identifier=e,this.path=t,this.isEntry=r,this.kind=s,this.renderId=i,this.layer=l}get rootModule(){return this.modules.find(e=>e.path===this.path)}get isPreferSource(){if("boolean"==typeof this._isPreferSource)return this._isPreferSource;let e=this.source.source.length>0&&"test code"!==this.source.source&&!!this.sourceMap;return this._isPreferSource=e,e}addBailoutReason(e){this.bailoutReason.push(e)}getBailoutReason(){return this.bailoutReason}addSideEffectLocation(e){this.sideEffectLocations.push(e)}getSideEffectLocations(){return this.sideEffectLocations.slice()}addSideEffectCode(e){this.sideEffectCodes.push(e)}getSideEffectCodes(){return this.sideEffectCodes.slice()}getChunks(){return this.chunks.slice()}addChunk(e){this.chunks.includes(e)||(this.chunks.push(e),e.addModule(this))}removeChunk(e){this.chunks=this.chunks.filter(t=>t!==e)}getDependencies(){return this.dependencies.slice()}getDependencyByRequest(e){return this.dependencies.find(t=>t.request===e)}getDependencyByModule(e){return this.dependencies.find(t=>t.originDependency===e||t.dependency===e)}addDependency(e,t,r,n){let s=new a.O(e,this,t,r,n);if(this.dependencies.every(e=>!e.isSameWithoutStatements(s)))return this.dependencies.push(s),t.addImported(this),t.rootModule&&t.rootModule.addImported(this),s}removeDependency(e){this.dependencies=this.dependencies.filter(t=>t!==e)}removeDependencyByModule(e){let t=this.getDependencyByModule(e);t&&this.removeDependency(t)}getImported(){return this.imported.slice()}addImported(e){this.imported.includes(e)||this.imported.push(e)}removeImported(e){this.imported=this.imported.filter(t=>t!==e)}setProgram(e){this.program=e}getProgram(){return this.program}setSource(e){let{source:t}=this;t.source=e.source??t.source,t.transformed=e.transformed??t.transformed,t.parsedSource=e.parsedSource??t.parsedSource}getSource(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:n.hp.w5.Normal;return e===n.hp.w5.NoCode?{source:"",transformed:"",parsedSource:""}:e===n.hp.w5.NoSourceAndAssets||e===n.hp.w5.NoSource?{source:"",transformed:"",parsedSource:this.isPreferSource?"":this.source.parsedSource}:e===n.hp.w5.All?{source:this.source.source,transformed:this.source.transformed,parsedSource:this.isPreferSource?"":this.source.parsedSource}:{source:this.source.source,transformed:"",parsedSource:this.isPreferSource?"":this.source.parsedSource}}setSourceMap(e){this.sourceMap=e}getSourceMap(){return this.sourceMap}setSize(e){let{size:t}=this;t.sourceSize=e.sourceSize??t.sourceSize,t.transformedSize=e.transformedSize??t.transformedSize,t.parsedSize=e.parsedSize??t.parsedSize,"number"==typeof e.gzipSize&&(t.gzipSize=e.gzipSize)}getSize(){return{...this.size}}getStatement(e){return new o.W(this,{source:this.getSourceRange(e),transformed:{start:{...e.start},end:e.end?{...e.end}:void 0}})}getSourceRange(e){let{sourceMap:t}=this;if(!t)return;let r={start:{}},n=t.originalPositionFor({line:e.start.line??0,column:e.start.column??0,bias:1});if((0,s.Et)(n.line)&&(r.start={line:n.line,column:n.column??void 0}),e.end){let n=t.originalPositionFor({line:e.end.line??0,column:e.end.column??0});(0,s.Et)(n.line)&&(r.end={line:n.line,column:n.column??void 0})}return r}addNormalModule(e){this.modules.includes(e)||(this.modules.push(e),e.addConcatenationModule(this))}getNormalModules(){return this.modules.slice()}addConcatenationModule(e){this.concatenationModules.includes(e)||this.concatenationModules.push(e)}addIssuerPath(e){this.issuerPath?.length||(this.issuerPath=e)}getIssuerPath(){return this.issuerPath}getConcatenationModules(){return this.concatenationModules.slice()}toData(e,t){let{isPreferSource:r}=this,n=(0,d.ug)(this.identifier),s={id:this.id,renderId:this.renderId,identifier:e&&n.indexOf(".")>0?l().relative(e,n):this.identifier,path:this.path,isPreferSource:r,dependencies:this.dependencies.map(e=>e.id),imported:this.imported.map(e=>e.id),chunks:this.chunks.map(e=>e.id),size:this.getSize(),kind:this.kind,...this.layer?{layer:this.layer}:{},issuerPath:t?void 0:this.issuerPath?.filter(e=>e.moduleId).map(e=>e.moduleId)||[],bailoutReason:this.bailoutReason,...this.sideEffectLocations.length>0?{sideEffectLocations:this.sideEffectLocations}:{}};return(this.meta.hasSetEsModuleStatement||this.meta.strictHarmonyModule)&&(s.meta={},this.meta.hasSetEsModuleStatement&&(s.meta.hasSetEsModuleStatement=!0),this.meta.strictHarmonyModule&&(s.meta.strictHarmonyModule=!0)),this.isEntry&&(s.isEntry=this.isEntry),this.modules.length>0&&(s.modules=this.modules.map(e=>e.id)),this.rootModule&&(s.rootModule=this.rootModule.id),this.concatenationModules.length>0&&(s.concatenationModules=this.concatenationModules.map(e=>e.id)),s}setId(e){this.id=e}setRenderId(e){this.renderId=e}setChunks(e){this.chunks=e}setDependencies(e){this.dependencies=e}setImported(e){this.imported=e}setModules(e){this.modules=e}setConcatenationModules(e){this.concatenationModules=e}}r.d(t,{n:()=>h})},87261(e,t,r){var n=r(54005);class s{static getDefaultStatement(e){let t={line:1,column:0},r={start:{...t},end:{...t}};return new s(e,{source:{...r},transformed:{...r}})}position;module;constructor(e,t){this.module=e,this.position=t}isSame(e){return this.module.id===e.module.id&&(0,n.Ut)(this.position.transformed,e.position.transformed)}getSourcePosition(){let{module:e,position:t}=this;return t.source?t.source:e.getSourceMap()?(t.source=e.getSourceRange(t.transformed),t.source):void 0}getLineCode(){let e=this.module.isPreferSource&&this.position.source,t=this.module.getSource(),r=e?t.source:t.transformed,n=e?this.position.source.start.line:this.position.transformed.start.line;if("number"==typeof n)return r.split("\n")[n-1]}toData(){let e={transformed:this.position.transformed};return this.position.source&&(e.source=this.position.source),{position:e,module:this.module.id}}}r.d(t,{W:()=>s})},61726(e,t,r){r.d(t,{Du:()=>s,To:()=>d,be:()=>l,rT:()=>o});let n=1;class s{static init(){n=1}id=n++;name;identifier;from;_variable;_sideEffects=[];constructor(e,t,r){this.name=e,this.identifier=t,this._variable=r}get isReExport(){return!!this.from}set variable(e){this._variable=e}get variable(){if(this._variable)return this._variable;if(!this.from||!1===this._variable){this._variable=!1;return}let e=this.getRecursiveExport()?.variable;return e||(this._variable=!1),e}addSideEffect(e){this._sideEffects.every(t=>t.id!==e.id)&&(this._sideEffects.push(e),this.from&&this.from.addSideEffect(e))}getSideEffects(){return this._sideEffects.slice()}setFromExport(e){this.from=e}getRecursiveExport(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1/0;if(0===e)throw Error("`getRecursiveExport` method parameter depth must be greater than 1.");if(!this.from)return this;let t=0,r=this;for(;r.from&&t<e;)t++,r=r.from;return r}toData(){let e={id:this.id,name:this.name,isReExport:this.isReExport,used:this._sideEffects.map(e=>e.id)};return this.from&&(e.from=this.from.id,e.root=this.getRecursiveExport().id),this.variable&&(e.variable=this.variable.id),e}}let i=1;class l{static init(){i=1}static NamespaceSymbol=Symbol("namespace");id=i++;name;originName;module;identifier;isNameSpace;fromDependency;_exports=[];_variable;constructor(e,t,r,n,s){this.name=e,this.module=t,this.identifier=r,n&&(this.fromDependency=this.module.getDependencyByRequest(n)),s===l.NamespaceSymbol?this.isNameSpace=!0:(this.isNameSpace=!1,this.originName=s)}get variable(){if(void 0!==this._variable)return this._variable?this._variable:void 0;let e=this.exports[0]?.getRecursiveExport()?.variable;return this._variable=e??!1,e}get exports(){return this._exports?.slice()??[]}setModuleExport(e){e.getExports().forEach(e=>this.setExportInfo(e))}setExportInfo(e){this._exports.push(e),e.addSideEffect(this)}toData(){let e={id:this.id,name:this.name,identifier:this.identifier.toData(),module:this.module.id};return this.fromDependency&&(e.fromDependency=this.fromDependency.id),this.isNameSpace&&(e.isNameSpace=this.isNameSpace),this.exports.length>0&&(e.exports=this.exports.map(e=>e.id)),this.variable&&(e.variable=this.variable.id),e}}let a=1;class o{static init(){a=1}id=a++;name;module;usedInfo;identifier;_exported;constructor(e,t,r,n){this.name=e,this.module=t,this.usedInfo=r,this.identifier=n}get isUsed(){return!!this._exported&&this._exported.getSideEffects().length>0}setExportInfo(e){this._exported=e,e.variable=this}getExportInfo(){return this._exported}toData(){let e={id:this.id,name:this.name,module:this.module.id,identifier:this.identifier.toData(),usedInfo:this.usedInfo};return this._exported&&(e.exported=this._exported.id),e}}class d{static init(){s.init(),l.init(),o.init()}module;exports=[];sideEffects=[];variables=[];_dynamic;_graph;constructor(e,t,r){this.module=e,this._graph=t,"boolean"==typeof this._dynamic&&(this._dynamic=r)}get dynamic(){return"boolean"==typeof this._dynamic?this._dynamic:this.module.getImported().map(e=>e.getDependencyByModule(this.module)).some(e=>e&&"dynamic"===e.meta.exportsType)}addExportInfo(e){this.exports.push(e),this._graph.addExportInfo(e)}addSideEffect(e){this.sideEffects.push(e),this._graph.addSideEffect(e)}addVariable(e){this.variables.push(e),this._graph.addVariable(e)}getExports(){return this.exports.slice()}getSideEffects(e){return e?this.sideEffects.filter(t=>t.name===e):this.sideEffects.slice()}getOwnExports(){return this.exports.filter(e=>!e.isReExport)}getExport(e){return this.exports.find(t=>t.name===e)}getReExports(){return this.exports.filter(e=>e.isReExport)}getOwnExport(e){return this.getOwnExports().find(t=>t.name===e)}getReExport(e){return this.getReExports().find(t=>t.name===e)}toData(){return{module:this.module.id,dynamic:this.dynamic,exports:this.exports.map(e=>e.id),sideEffects:this.sideEffects.map(e=>e.id),variables:this.variables.map(e=>e.id)}}}},54005(e,t,r){var n=r(62343);function s(e,t){return e.line===t.line&&e.column===t.column}function i(e,t){return!!s(e.start,t.start)&&((0,n.gD)(e.end)||(0,n.gD)(t.end)?(0,n.b0)(e.end)&&(0,n.b0)(t.end):s(e.end,t.end))}let l=/!/,a=/\s\+\s\d*\smodules$/,o=/^css\s.*node_modules(?!\/)/;function d(e){if(!e)return"";if(l.test(e)){let t=(0,n.HV)(e.split(l));if(t?.trim())return t}return a.test(e)?e.replace(a,""):o.test(e)?e.replace(o,""):e}r.d(t,{Ut:()=>i,ug:()=>d})},72229(e,t,r){r(8963).hp},98147(e,t,r){r(57896)},87826(e,t,r){r.d(t,{Kj:()=>b,YM:()=>o,_8:()=>i,jO:()=>v,hp:()=>a});var n,s,i={};r.r(i),r.d(i,{V:()=>u,z:()=>h});var l={};r.r(l),r.d(l,{n:()=>y,k:()=>j});var a={};r.r(a),r.d(a,{yV:()=>g.yV,JT:()=>g.JT,uT:()=>l,w5:()=>g.w5});var o={};r.r(o),r.d(o,{lk:()=>w,AU:()=>C,Fe:()=>S,q$:()=>k,Wm:()=>A,Jt:()=>E,zz:()=>M,Fv:()=>N,tQ:()=>T});var d,c,h=((d={}).Overall="Overall",d.Loaders="Compile.Loaders",d.ModuleResolve="Compile.ModuleResolve",d.Plugins="Compile.Plugins",d.BundleSize="Bundle.BundleSize",d.ModuleGraph="Bundle.ModuleGraph",d.TreeShaking="Bundle.TreeShaking",d),u=((c={}).WindowPropertyForManifestUrl="__DEVTOOLS_MANIFEST_URL__",c);(p={})[p.Ignore=0]="Ignore",p[p.Warn=1]="Warn",p[p.Error=2]="Error",(m={})[m.Silent=0]="Silent",m[m.Error=1]="Error",m[m.Warning=2]="Warning",m[m.Info=3]="Info",m[m.Debug=4]="Debug",m[m.Verbose=5]="Verbose";var p,m,f,x,g=r(4349),y=((f={}).ApplyErrorFix="/api/apply/error/fix",f.Env="/api/env",f.EntryHtml="/index.html",f.Manifest="/api/manifest.json",f.LoadDataByKey="/api/data/key",f.SendAPIDataToClient="/api/socket/send",f.GetProjectInfo="/api/project/info",f.GetClientRoutes="/api/routes",f.ReportLoader="/api/loader/report",f.GetLoaderNames="/api/loader/names",f.GetLoaderChartData="/api/loader/chart/data",f.GetLoaderFileTree="/api/loader/filetree",f.GetLoaderFileDetails="/api/loader/file",f.GetLoaderFolderStatistics="/api/loader/folder/statics",f.GetLoaderFileFirstInput="/api/loader/input",f.GetLoaderFileInputAndOutput="/api/loader/inputandoutput",f.GetDirectoriesLoaders="/api/loader/directories",f.ReportSourceMap="/api/sourcemap/report",f.GetResolverFileTree="/api/resolver/filetree",f.GetResolverFileDetails="/api/resolver/file",f.GetPluginSummary="/api/plugins/summary",f.GetPluginData="/api/plugins/data",f.GetSummaryBundles="/api/graph/bundles/summary",f.GetChunkGraph="/api/graph/chunks/graph",f.GetAssetsSummary="/api/graph/assets/summary",f.GetAssetDetails="/api/graph/asset/details",f.GetChunksByModuleId="/api/graph/chunk/module",f.GetModuleDetails="/api/graph/module/details",f.GetModulesByModuleIds="/api/graph/modules/ids",f.GetEntryPoints="/api/graph/entrypoints",f.GetModuleCodeByModuleId="/api/graph/module/code",f.GetModuleCodeByModuleIds="/api/graph/module/codes",f.GetAllModuleGraph="/api/graph/module/all",f.GetAllChunkGraph="/api/graph/chunk/all",f.GetLayers="/api/graph/layers",f.GetSearchModules="/api/search/modules",f.GetSearchModuleInChunk="/api/search/chunk/modules",f.GetAllModuleGraphFilter="/api/graph/module/filter",f.GetModuleByName="/api/graph/module/name",f.GetModuleIssuerPath="/api/graph/module/issuer_path",f.GetPackageInfo="/api/package/info",f.GetPackageDependency="/api/package/dependency",f.GetPackageRelationAlertDetails="/api/alerts/details/package/relation",f.GetOverlayAlerts="/api/alerts/overlay",f.GetBundleAlerts="/api/alerts/bundle",f.BundleDiffManifest="/api/bundle_diff/manifest.json",f.GetBundleDiffSummary="/api/bundle_diff/summary",f.GetChunkGraphAI="/api/graph/chunks/graph/ai",f.GetChunkByIdAI="/api/graph/chunk/id/ai",f),j=((x={}).GetCompileProgress="/api/progress",x);(n={})[n.ImportDefault=100]="ImportDefault",n[n.ImportNamed=101]="ImportNamed",n[n.ImportDefaultWithNamed=102]="ImportDefaultWithNamed",n[n.ImportDefaultWithNamespace=103]="ImportDefaultWithNamespace",n[n.ImportNamespace=104]="ImportNamespace",n[n.ImportSideEffect=105]="ImportSideEffect",n[n.ImportDynamic=106]="ImportDynamic",n[n.ExportDeclaration=200]="ExportDeclaration",n[n.ExportList=201]="ExportList",n[n.ExportDefault=202]="ExportDefault",n[n.ExportAggregating=203]="ExportAggregating",n[n.ExportNamespace=204]="ExportNamespace",n[n.RequireCall=300]="RequireCall",n[n.RequireName=301]="RequireName",n[n.RequireExports=302]="RequireExports",n[n.RequireExportAggregating=303]="RequireExportAggregating",n[n.RequireExportName=304]="RequireExportName",n[n.Unknown=999]="Unknown",(s={}).brief="brief",s.lite="lite",s.normal="normal";var v=r(57942),b=r(11339);let A=[".js",".bundle"],w=".css",S=".html",k=[".png",".jpg",".svg",".webp",".jpeg",".gif",".bmp"],M=[".mp3",".mp4",".avi",".wav",".flv",".mov",".mpg",".mpeg"],C=[".ttf",".fnt",".fon",".otf",".woff",".woff2"],E=[".js.map",".css.map",".ts.map",".LICENSE.txt"],N="",T="__RSDOCTOR__"},61982(e,t,r){let n="E1001",s={code:n,title:"Duplicate Packages",type:"markdown",category:"bundle",description:`
|
|
12
|
+
</ol>`}return n+"\n</li></div>"}(e)}}}}).filter(e=>!!e)}r.d(t,{EV:()=>x,L1:()=>j,jx:()=>y,ut:()=>g})},53715(e,t,r){r.d(t,{V:()=>f});var n=r(87826),s=r(1102),i=r(3534),l=r(67782);class a{manifest;pool=new Map;loader;disposed=!1;shardingDataMap=new Map;constructor(e){this.manifest=e,this.loader=new i.B_.s(this),console.log("[DataLoader] isLocal: ",this.isLocal())}get(e){if(this.manifest)return this.manifest[e]}getData(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"data",r=this.get(t);if(r)return r[e]}getKeys(e){return e.split(".")}joinKeys(e){return e.join(".")}dispose(){this.disposed=!0}limit(e,t){if(this.pool.has(e))return this.pool.get(e);let r=t().finally(()=>this.pool.delete(e));return this.pool.set(e,r),r}log(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];console.log(`[${this.constructor.name}]`,...t)}async loadManifest(){return this.manifest}}var o=r(83977),d=r(19495);class c extends a{events=new Map;isLocal(){return!0}async loadData(e){return this.limit(e,async()=>{let[t,...r]=this.getKeys(e),s=this.getData(t);if(!s)return;let a=s;if(i._8.tg(a)){if(!this.shardingDataMap.has(e)){let t=(0,o.mq)(n.hp.uT.n.LoadDataByKey,{key:e}).catch(t=>{throw this.log("loadData error: ",a,e),t});this.shardingDataMap.set(e,t)}return a=await this.shardingDataMap.get(e),this.shardingDataMap.delete(e),a}return r.length>0?(0,l.Jt)(a,this.joinKeys(r)):a})}async loadAPI(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];let[n,s]=t,i=s?`${n}_${JSON.stringify(s)}`:`${n}`,l=this.get("__SOCKET__PORT__")??"",a=this.get("__SOCKET__URL__")??"";return this.limit(i,async()=>{try{return await (0,d.XM)(n,s,l,a)}catch(e){throw this.log("loadAPI error: ",i),e}})}dispose(){super.dispose(),this.events.forEach(e=>{let{api:t,body:r,listeners:n}=e;n.forEach(e=>{this.removeOnDataUpdate(t,r,e)}),n.clear()}),this.events.clear()}onDataUpdate(e,t,r){let n=t??null,s=`${e}::${JSON.stringify(n)}`;this.events.has(s)||this.events.set(s,{api:e,body:n,listeners:new Set});let i=this.events.get(s);if(i.listeners.has(r))return;i.listeners.add(r);let l=this.get("__SOCKET__PORT__")??"",a=this.get("__SOCKET__URL__")??"";(0,d.Wi)(e,n,r,l,a)}removeOnDataUpdate(e,t,r){let n=`${e}::${JSON.stringify(t??null)}`,s=this.get("__SOCKET__PORT__")??"",i=this.get("__SOCKET__URL__")??"";(0,d.Xi)(e,t,r,s,i),this.events.get(n)?.listeners.delete(r)}}class h extends a{isLocal(){return!1}async loadData(e){return this.limit(e,async()=>{let[t,...r]=this.getKeys(e),n=this.getData(t,"cloudData");if(!n)return;let s=n;if(i._8.tg(s)){if(!this.shardingDataMap.has(t)){let r=i._8.pJ(s,o.fZ).catch(t=>{throw this.log("loadData error: ",s,e),t});this.shardingDataMap.set(t,r)}s=await this.shardingDataMap.get(t)}return r.length>0?(0,l.Jt)(s,this.joinKeys(r)):s})}async loadAPI(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];let[n,s]=t,i=s?`${n}_${JSON.stringify(s)}`:`${n}`;return this.limit(i,async()=>this.loader.loadAPI(...t))}dispose(){super.dispose()}onDataUpdate(){}removeOnDataUpdate(){}}r(10815),r(15061);class u extends a{isLocal(){return!1}async loadData(e){console.log(`[loadData]-[key]: ${e}`);let[t]=this.getKeys(e);console.log(`[loadData]-[scope]: ${t}`);let r=this.getData(t);if(!r)return;let n=r;if(!this.shardingDataMap.has(t)){let e=this.parseData(n);this.shardingDataMap.set(t,Promise.resolve(e))}return await this.shardingDataMap.get(t)}getData(e){return console.log(`[getData]-[scope]: ${e}`),window[n.YM.tQ][e]}parseData(e){if("object"==typeof e&&null!==e||"string"!=typeof e)return e;try{return JSON.parse(i.oG.J0(e))}catch{return e}}async loadAPI(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];return this.loader.loadAPI(...t)}dispose(){super.dispose()}onDataUpdate(){}removeOnDataUpdate(){}}let p=new WeakMap;async function m(e){try{if(e.__LOCAL__SERVER__)return console.log("[LocalServerDataLoader]"),new c(e)}catch{console.log("[DataLoader] fallback to RemoteDataLoader")}return new h(e)}function f(e){let[t,r]=(0,s.useState)(void 0);return(0,s.useEffect)(()=>{window[n.YM.tQ]&&(console.log("[brief mode]"),r(new u({data:[]})))},[]),(0,s.useEffect)(()=>{if(e){if(!p.has(e)){let t=m(e);p.set(e,t)}p.get(e).then(e=>{r(e)})}},[e]),{loader:t}}},71631(e,t,r){var n=r(25205),s=r(33663);n.Ay.use(s.r9).init({lng:"en",supportedLngs:["en"],resources:{en:{translations:{Overall:"Overall","Compile Analysis":"Compile Analysis","Bundle Alerts":"Bundle Alerts","Help Center":"Help Center",LoadersAnalysis:"Loaders Analysis","Loaders Timeline":"Loaders Timeline","Loaders Analysis":"Loaders Analysis","Rsdoctor Introduction":"Rsdoctor Introduction","Compilation Alerts":"Compilation Alerts","Plugins Analysis":"Plugins Analysis",PluginsAnalysis:"Plugins Analysis",ModuleResolve:"Module Resolve","Bundle Analysis":"Bundle Analysis",BundleSize:"Bundle Size",ViewBundleSize:"View Bundle Size","Module Graph":"Module Graph",TreeShaking:"Tree Shaking","Rule Index":"Rule Index",Resources:"Resources","Project Overall":"Project Overall","Compile Overall":"Compile Overall","Bundle Overall":"Bundle Overall","Expand Omitted":"By default, the reasons tree collapses to the middle of the module introduced by a third party. Click on this icon to view the full tree diagram","Concatenated Tag":"Concatenated Module,hover can display the name of the concatenated main module. Note: the bundled size of the concatenated module is zero, possibly because it is aggregated into the main module.","the file content not changed after transpiled by this loader":"the file content not changed after transpiled by this loader","Output Assets List":"Output Assets List","filter the output assets which size is greater than the input value":"filter the output assets which size is greater than the input value","filter the modules which size is greater than the input value":"filter the modules which size is greater than the input value","After Compile":"After Compile","After Bundle":"After Bundle",CodeModeExplain:"In lite mode or pure stats.json upload, only source code.",DuplicatePakCodeExplain:"There is no code, when in the case of pure stats.json.",AsyncLoaderInfo:"For async loaders, the time cost of each loader is not accurate. For example: mini-css-extract-plugin's loader.",Details:"Details",Expand:"Expand",Collapse:"Collapse"}}},fallbackLng:"en",debug:!1,ns:["translations"],defaultNS:"translations",keySeparator:!1,interpolation:{escapeValue:!1}})},5525(e,t,r){let{xr:n,Wx:s}=r(3534).aH;function i(e,t,r,n,s,i){return!(r&&-1===e.indexOf(r)||s&&i&&s!==i||n?.length&&!n.includes(t))}r.d(t,{ak:()=>i},{xr:n})},24336(e,t,r){var n=r(79514);function s(){return n.A}r.d(t,{J:()=>s})},22009(e,t,r){var n=r(1102),s=r(41537),i=r(17886),l=r(15061);function a(){let{theme:e,setTheme:t}=(0,n.useContext)(i.Q),r=e===l.Sx.Dark;return{theme:e,setTheme:t,isDark:r,isLight:!r}}function o(){let{viewMode:e,setViewMode:t}=(0,n.useContext)(i.Q),{bundleAlerts:r,compileAlerts:s}=e;return{viewMode:e,setViewMode:t,setCompileAlertsViewMode(e){t({compileAlerts:e})},setBundleAlertsViewMode(e){t({bundleAlerts:e})},isCompileList:"list"===s,isBundleList:"list"===r}}function d(e){return(0,n.useMemo)(()=>s.dh.fromData(e),[e])}r(83977),r.d(t,{DP:()=>a,an:()=>o,mB:()=>d})},83977(e,t,r){var n=r(87826),s=r(3534);r(15061);var i=r(36577);r(10815);async function l(e,t){return(await s.Fp.u9(e,{timeout:t})).text()}async function a(e){return s.s0.gU(e)?l(e,999999):e}async function o(e){let t=await l(e,3e4);if("string"==typeof t){let e=t.trim();t=/^<!doctype html\b/i.test(e)||/^<html\b/i.test(e)?{}:JSON.parse(t)}return t}let d=new Map;async function c(){let e,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:((e=window[n._8.V.WindowPropertyForManifestUrl]?window[n._8.V.WindowPropertyForManifestUrl]:(0,i.kJ)())||(e=n.hp.uT.n.Manifest),e);return d.has(t)||d.set(t,o(t).catch(e=>{throw d.delete(t),e})),await d.get(t)}async function h(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];let[n,i]=t,l={method:"POST",headers:{"Content-Type":"application/json"},timeout:6e4};null!=i&&(l.body=JSON.stringify(i));let a=await s.Fp.u9(`${n}?_t=${Date.now()}${Math.floor(1e4*Math.random())}`,l);return await a.json()}r.d(t,{Cj:()=>c,fZ:()=>a,mq:()=>h})},62772(e,t,r){var n=r(87826);function s(e){return e.includes(n._8.z.Loaders)||e.includes(n._8.z.ModuleResolve)||e.includes(n._8.z.Plugins)}function i(e){return e.includes(n._8.z.BundleSize)||e.includes(n._8.z.ModuleGraph)||e.includes(n._8.z.TreeShaking)}r.d(t,{c:()=>s,r:()=>i})},91431(e,t,r){function n(e){return e>=1e9?`${(e/1e9).toFixed(2)} GB`:e>=1e6?`${(e/1e6).toFixed(2)} MB`:e>=1e3?`${(e/1e3).toFixed(2)} KB`:e>1?`${e} bytes`:1===e?`${e} byte`:"0 bytes"}function s(e){return`${+e.toFixed(2)}%`}r.d(t,{X:()=>n,l:()=>s})},19495(e,t,r){let n=new Map,s=0,i=/^(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)$/;function l(e){return e.includes("https")?"wss":"ws"}function a(){if("u"<typeof location)return"";let e=l(location.protocol);return`${e}://${location.host}`}function o(e,t){return t||("u"<typeof location?e?`ws://localhost:${e}`:"":e?function(e){let{port:t,protocol:r,hostname:n}=e,s=l(r),a=i.test(n)||n.includes("localhost");if("u">typeof URL){let e=new URL("http://localhost");return e.hostname=n,e.protocol=s,t&&a&&(e.port=t),e.toString()}let o=t&&a?`:${t}`:"";return`${s}://${n}${o}`}({port:e,hostname:location.hostname,protocol:location.protocol}):a())}function d(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:a(),t=e||"__default__";return n.has(t)||n.set(t,{url:e,listeners:new Map,subscriptions:new Map,requests:new Map}),n.get(t)}function c(e,t){return`${e}:${JSON.stringify(t??null)}`}function h(e,t){e.socket?.readyState===1&&e.socket.send(JSON.stringify({type:"subscribe",api:t.api,body:t.body??null}))}function u(e,t){if(e.socket?.readyState!==1)return;let r=e.requests.get(t);r&&e.socket.send(r.message)}function p(e){if(!e.url||"u"<typeof WebSocket||e.socket)return;let t=new WebSocket(e.url);t.addEventListener("open",()=>{e.subscriptions.forEach(t=>{h(e,t)}),e.requests.forEach((t,r)=>{u(e,r)})}),t.addEventListener("message",t=>{if("string"==typeof t.data)try{var r,s;let i=JSON.parse(t.data);if("type"in i&&"response"===i.type)return void function(e,t){let r=e.requests.get(t.id);if(r){if(e.requests.delete(t.id),t.error)return r.reject(Error(t.error));r.resolve(t.payload)}}(e,i);r=i,((s=e.url)?[d(s)]:[...n.values()]).forEach(e=>{let t=c(r.api,r.payload.req.body);e.listeners.get(t)?.forEach(e=>{e(r.payload)})})}catch{}}),t.addEventListener("close",()=>{e.socket=void 0,e.requests.forEach(e=>{e.reject(Error("WebSocket closed before the response arrived."))}),e.requests.clear()}),e.socket=t}function m(e,t,r,n){let i=o(r,n);if(!i)return Promise.reject(Error("WebSocket URL is not available."));if("u"<typeof WebSocket)return Promise.reject(Error("WebSocket is not available."));let l=d(i),a=`${Date.now()}-${++s}`;return new Promise((r,n)=>{l.requests.set(a,{message:JSON.stringify({type:"request",id:a,api:e,body:t??null}),resolve:r,reject:n}),p(l),u(l,a)})}function f(e,t,r,n,s){let i=d(o(n,s)),l=t??null,a=c(e,l);i.listeners.has(a)||i.listeners.set(a,new Set),i.listeners.get(a).add(r);let u={api:e,body:l};return i.subscriptions.set(a,u),p(i),h(i,u),()=>{x(e,l,r,n,s)}}function x(e,t,r,n,s){let i=d(o(n,s)),l=c(e,t),a=i.listeners.get(l);if(a?.delete(r),a?.size===0){let e=i.subscriptions.get(l);e&&i.socket?.readyState===1&&i.socket.send(JSON.stringify({type:"unsubscribe",api:e.api,body:e.body??null})),i.listeners.delete(l),i.subscriptions.delete(l)}}r.d(t,{Wi:()=>f,XM:()=>m,Xi:()=>x})},10815(e,t,r){var n=r(15061);function s(e){return window.localStorage.getItem(`__RSDOCTOR__STORAGE__${e}`)}function i(e,t){try{return window.localStorage.setItem(`__RSDOCTOR__STORAGE__${e}`,t),!0}catch(e){return console.error(e),!1}}function l(){return s("THEME")||n.Sx.Light}function a(e){i("THEME",e)}function o(){let e={bundleAlerts:"list",compileAlerts:"list"};try{let t=s("VIEWMODE");if(t)return JSON.parse(t)||e;return e}catch{return e}}function d(e){i("VIEWMODE",JSON.stringify(e))}function c(){return!!s("VIEWMODE")}r.d(t,{DT:()=>l,Kv:()=>a,ZI:()=>d,it:()=>c,oi:()=>o})},72911(e,t,r){let{ox:n,l_:s,a4:i}=r(3534).gX;r.d(t,{},{a4:i})},36744(){class e{worker;timer=0;callbacks=new Map;constructor(e){this.worker=e,this.setup()}setup(){this.worker.onmessage=e=>{let{data:t}=e;if(this.callbacks.has(t.id)){let e=this.callbacks.get(t.id);this.callbacks.delete(t.id),e(t.data)}}}createEventId(){return`${Date.now()}_${++this.timer}`}emit(e,t){var r;let n=this.createEventId();return this.callbacks.set(n,t),r={id:n,data:e},this.worker.postMessage(r),{abort:()=>this.callbacks.delete(n)}}dispose(){this.worker.terminate()}}class t{_workerMap=new WeakMap;detectWorker(t){if(this._workerMap.has(t))return this._workerMap.get(t);let r=new e(t());return this._workerMap.set(t,r),r}}new t},64033(e,t,r){var n=r(13078);let{relative:s}=(r.n(n))();function i(e,t,r,n,i){return n.slice().reverse().map(n=>{let l=t.find(e=>e.id===n.dependencyId);if(!l)return null;let a=e.find(e=>e.id===l.module);return a?{group:n.group,module:a,dependency:l,relativePath:s(r,a.path),moduleCode:i?.[a.id]}:null}).filter(Boolean)}r.d(t,{X:()=>i})},16397(e,t,r){var n=r(46068),s=r(36533);function i(e){let t,r;e.sort((e,t)=>e[0]-t[0]);let n=[];for(let s=0;s<e.length;s++)r=e[s],!t||r[0]>t[1]?(t=r,n.push(r)):t[1]=Math.max(t[1],r[1]);return n}function l(e){return(0,n.inflateSync)(s.Buffer.from(e,"base64")).toString()}r.d(t,{J0:()=>l,l7:()=>i})},17806(e,t,r){r(87826)},61101(e,t,r){r.d(t,{s:()=>m});var n=r(87826),s=r(13078),i=r.n(s),l=r(83920),a=r(94485),o=r(47776);function d(e){return Object.keys(e)}function c(e){let t=d(e),r=new Set;return t.forEach(t=>{e[t].forEach(e=>{r.add(e.tapName)})}),[...r]}var h=r(88297),u=r(64033);let{relative:p}=i();class m{loader;constructor(e){this.loader=e,this.loadAPI=this.loadAPI.bind(this)}log(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];console.log(`[${this.constructor.name}]`,...t)}loadAPI(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];let[s,i]=t;switch(s){case n.hp.uT.n.LoadDataByKey:return this.loader.loadData(i.key);case n.hp.uT.n.GetProjectInfo:return Promise.all([this.loader.loadData("root"),this.loader.loadData("pid"),this.loader.loadData("hash"),this.loader.loadData("summary"),this.loader.loadData("configs"),this.loader.loadData("envinfo"),this.loader.loadData("errors")]).then(e=>{let[t,r,n,s,i,l,a]=e;return{root:t,pid:r,hash:n,summary:s,configs:i,envinfo:l,errors:a,name:i?.[0]?.config?.name}});case n.hp.uT.n.GetClientRoutes:{let e="u"<typeof window?void 0:window;if(e?.[n.YM.tQ]?.enableRoutes)return Promise.resolve(e[n.YM.tQ].enableRoutes);return this.loader.loadManifest().then(e=>{let{enableRoutes:t=[]}=e.client||{};return t})}case n.hp.uT.n.GetLoaderNames:return this.loader.loadData("loader").then(e=>a.Gk(e||[]));case n.hp.uT.n.GetLayers:return this.loader.loadData("moduleGraph").then(e=>{let{layers:t}=e||{};return t});case n.hp.uT.n.GetLoaderChartData:return this.loader.loadData("loader").then(e=>a.q6(e||[]));case n.hp.uT.n.GetLoaderFileTree:return this.loader.loadData("loader").then(e=>a.Ym(e||[]));case n.hp.uT.n.GetLoaderFileDetails:return this.loader.loadData("loader").then(e=>a.Yf(i.path,e||[]));case n.hp.uT.n.GetLoaderFolderStatistics:return this.loader.loadData("loader").then(e=>a.bO(i.folder,e||[]));case n.hp.uT.n.GetLoaderFileFirstInput:return this.loader.loadData("loader").then(e=>a.Ah(i.file,e||[]));case n.hp.uT.n.GetLoaderFileInputAndOutput:return this.loader.loadData("loader").then(e=>a.eJ(i.file,i.loader,i.loaderIndex,e||[],i.isPitch));case n.hp.uT.n.GetResolverFileTree:return this.loader.loadData("resolver").then(e=>o.NB(e||[]));case n.hp.uT.n.GetResolverFileDetails:return Promise.all([this.loader.loadData("resolver"),this.loader.loadData("moduleGraph.modules"),this.loader.loadData("moduleCodeMap")]).then(e=>{let t=e[0],r=e[1],n=e[2];return o.Vj(i.filepath,t||[],r||[],n||{})});case n.hp.uT.n.GetPluginSummary:return this.loader.loadData("plugin").then(e=>{var t;return{hooks:d(t=e||{}),tapNames:c(t)}});case n.hp.uT.n.GetPluginData:return this.loader.loadData("plugin").then(e=>{let{hooks:t,tapNames:r}=i;return function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],n=d(e).filter(e=>!t.length||-1!==t.indexOf(e));return n.length?c(e).reduce((t,s)=>(r.length&&-1===r.indexOf(s)||n.forEach(r=>{let n=e[r].filter(e=>e.tapName===s);0!==n.length&&t.push({tapName:s,hook:r,data:n.map(e=>({startAt:e.startAt,endAt:e.endAt,costs:e.costs,type:e.type}))})}),t),[]):[]}(e||{},t,r)});case n.hp.uT.n.GetAssetsSummary:return this.loader.loadData("chunkGraph").then(e=>{let{withFileContent:t=!0}=i,{assets:r=[],chunks:n=[]}=e||{};return h.iD(r,n,{withFileContent:t})});case n.hp.uT.n.GetAssetDetails:return Promise.all([this.loader.loadData("chunkGraph"),this.loader.loadData("moduleGraph"),this.loader.loadData("configs")]).then(e=>{let{assetPath:t}=i,{isRspack:r,hasSourceMap:n}=(0,l.fM)(e[2]||[]),{assets:s=[],chunks:a=[]}=e[0]||{},{modules:o=[]}=e[1]||{};return h.Xh(t,s,a,o,r||n?e=>0!==e.size.parsedSize:()=>!0)});case n.hp.uT.n.GetSummaryBundles:return Promise.all([this.loader.loadData("chunkGraph"),this.loader.loadData("moduleGraph"),this.loader.loadData("configs")]).then(e=>{let{assets:t=[],chunks:r=[]}=e[0]||{},{modules:n=[]}=e[1]||{},s=e[2]||[],i=t;return Array.isArray(s)&&s[0]?.config?.name==="lynx"&&(i=t.filter(e=>!e.path.endsWith("/template.js"))),h.ko(i,r,n,["id","path","size","kind"])});case n.hp.uT.n.GetChunksByModuleId:return Promise.all([this.loader.loadData("chunkGraph"),this.loader.loadData("moduleGraph")]).then(e=>{let{moduleId:t}=i,{chunks:r=[]}=e[0]||{},{modules:n=[]}=e[1]||{};return h.lq(t,n,r)});case n.hp.uT.n.GetModuleDetails:return Promise.all([this.loader.loadData("chunkGraph"),this.loader.loadData("moduleGraph"),this.loader.loadData("treeShaking")]).then(e=>{let{moduleId:t}=i,{modules:r=[],dependencies:n=[]}=e[1]||{},s=e[2],l=s?.sideEffectCodes[t]||[];return h.lD(t,r,n,l)});case n.hp.uT.n.GetModulesByModuleIds:return this.loader.loadData("moduleGraph").then(e=>{let{moduleIds:t}=i,{modules:r=[]}=e||{};return h.xp(t,r)});case n.hp.uT.n.GetEntryPoints:return Promise.all([this.loader.loadData("chunkGraph")]).then(e=>{let[t]=e,{entrypoints:r=[]}=t||{};return h.WL(r)});case n.hp.uT.n.GetModuleCodeByModuleId:return this.loader.loadData("moduleCodeMap").then(e=>{let{moduleId:t}=i;return e?e[t]:{source:"",transformed:"",parsedSource:""}});case n.hp.uT.n.GetModuleCodeByModuleIds:return this.loader.loadData("moduleCodeMap").then(e=>{let{moduleIds:t}=i,r={};return e?(t.forEach(t=>{r[t]=e[t]}),r):[]});case n.hp.uT.n.GetAllModuleGraph:return this.loader.loadData("moduleGraph").then(e=>e?.modules);case n.hp.uT.n.GetSearchModules:return Promise.all([this.loader.loadData("moduleGraph"),this.loader.loadData("chunkGraph")]).then(e=>{let[t,r]=e,{moduleName:n}=i;if(!n)return[];let s=r.chunks.reduce((e,t)=>(t.assets.forEach(r=>{e[t.id]||(e[t.id]=[]),e[t.id].push(r)}),e),{}),l=new Map;return t?.modules.filter(e=>{e.identifier.includes(n)&&e.chunks.forEach(e=>{l.has(e)||(s[e]||[]).forEach(t=>{t.endsWith(".js")&&l.set(e,t)})})}),Object.fromEntries(l)});case n.hp.uT.n.GetSearchModuleInChunk:return Promise.all([this.loader.loadData("moduleGraph"),this.loader.loadData("root")]).then(e=>{let[t,r]=e,{moduleName:n,chunk:s}=i;return n?t?.modules.filter(e=>e.identifier.includes(n)&&e.chunks.includes(s)).map(e=>({id:e.id,path:e.path,relativePath:p(r,e.path)})):[]});case n.hp.uT.n.GetAllChunkGraph:return this.loader.loadData("chunkGraph").then(e=>e?.chunks);case n.hp.uT.n.GetPackageRelationAlertDetails:return Promise.all([this.loader.loadData("moduleGraph"),this.loader.loadData("errors"),this.loader.loadData("root"),this.loader.loadData("moduleCodeMap")]).then(e=>{let{id:t,target:r}=i,[n,s=[],l="",a]=e,{modules:o=[],dependencies:d=[]}=n||{},{packages:c=[]}=s.find(e=>e.id===t)||{},{dependencies:h=[]}=c.find(e=>e.target.name===r.name&&e.target.root===r.root&&e.target.version===r.version)||{};return u.X(o,d,l,h,a||{})});case n.hp.uT.n.GetOverlayAlerts:return this.loader.loadData("errors").then(e=>(e||[]).filter(e=>e.code===n.jO.jr.Overlay));case n.hp.uT.n.GetBundleAlerts:return this.loader.loadData("errors").then(e=>(e||[]).filter(e=>e.category===n.jO.y1.Bundle));case n.hp.uT.n.BundleDiffManifest:return this.loader.loadManifest();case n.hp.uT.n.GetBundleDiffSummary:return Promise.all([this.loader.loadManifest(),this.loader.loadData("root"),this.loader.loadData("hash"),this.loader.loadData("errors"),this.loader.loadData("chunkGraph"),this.loader.loadData("moduleGraph"),this.loader.loadData("moduleCodeMap"),this.loader.loadData("packageGraph"),this.loader.loadData("configs")]).then(e=>{let[t,r="",n="",s={},i={},l={},a={},o={},d=[]]=e,c="";return"string"==typeof d[0]?.config?.output?.chunkFilename&&(c=d[0]?.config.output.chunkFilename),{root:r,hash:n,errors:s,chunkGraph:i,moduleGraph:l,packageGraph:o,outputFilename:c,moduleCodeMap:a}});case n.hp.uT.n.GetChunkGraph:return this.loader.loadData("chunkGraph").then(e=>{let{chunks:t=[]}=e||{};return t});case n.hp.uT.n.GetAllModuleGraphFilter:return this.loader.loadData("moduleGraph").then(e=>e?.modules.map(e=>({id:e.id,identifier:e.identifier,path:e.path,size:e.size,chunks:e.chunks,kind:e.kind})));case n.hp.uT.n.GetModuleByName:return this.loader.loadData("moduleGraph").then(e=>{let{moduleName:t}=i,{modules:r=[]}=e||{};return r.filter(e=>e.path.includes(t)).map(e=>({id:e.id,path:e.path}))||[]});case n.hp.uT.n.GetModuleIssuerPath:return this.loader.loadData("moduleGraph").then(e=>{let{moduleId:t}=i,r=e?.modules||[],n=r.find(e=>String(e.id)===t)?.issuerPath||[];return Array.isArray(n)&&n.length>0&&"number"==typeof n[0]?n.map(e=>r.find(t=>t.id===e)?.path).filter(Boolean):n});case n.hp.uT.n.GetPackageInfo:return this.loader.loadData("packageGraph").then(e=>e?.packages);case n.hp.uT.n.GetPackageDependency:return this.loader.loadData("packageGraph").then(e=>e?.dependencies||[]);case n.hp.uT.n.GetChunkGraphAI:return this.loader.loadData("chunkGraph").then(e=>{let{assets:t=[]}=e||{};return t.map(e=>{let{content:t,...r}=e;return r})});case n.hp.uT.n.GetChunkByIdAI:return Promise.all([this.loader.loadData("chunkGraph"),this.loader.loadData("moduleGraph")]).then(e=>{let[t,r]=e,{chunks:n=[]}=t||{},{modules:s=[]}=r||{},{chunkId:l}=i,a=n.find(e=>e.id===l);if(!a)return null;let o=s.filter(e=>a.modules.includes(e.id)).map(e=>({id:e.id,path:e.path,size:e.size,chunks:e.chunks,kind:e.kind,issuerPath:e.issuerPath}));return a.modulesInfo=o,a});case n.hp.uT.n.GetDirectoriesLoaders:return Promise.all([this.loader.loadData("root"),this.loader.loadData("loader")]).then(e=>{let[t,r]=e;return a.qJ(r||[],t||"")});default:throw Error(`API not implement: "${s}"`)}}}},33592(e,t,r){async function n(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},{timeout:r=3e4,signal:n,...s}=t,i=new AbortController,l=setTimeout(()=>i.abort(),r);n&&(n.aborted?i.abort():n.addEventListener("abort",()=>i.abort(),{once:!0}));let a=function(){let e=globalThis.fetch;if("function"!=typeof e)throw Error("fetch is not available in this environment");return e.bind(globalThis)}();try{let t=await a(e,{...s,signal:i.signal});if(!t.ok)throw Error(`Request failed with status ${t.status}`);return t}finally{clearTimeout(l)}}r.d(t,{u9:()=>n})},88297(e,t,r){r.d(t,{SE:()=>v,Nt:()=>j,H9:()=>u,ko:()=>w,Xh:()=>A,oT:()=>y,iD:()=>b,QZ:()=>i,lq:()=>a,WL:()=>S,lD:()=>c,xp:()=>d,Xm:()=>o,C5:()=>m,X9:()=>x});var n=r(87826);function s(e){return e.chunks?e.chunks:[]}function i(e,t){return e.chunks.length?l(e.chunks,t):[]}function l(e,t,r){return e.length?e.map(e=>t.find(t=>t.id===e)).filter(Boolean).map(e=>{if(r&&r.length>0){let t={};for(let n of r)void 0!==e[n]&&(t[n]=e[n]);return t}return e}):[]}function a(e,t,r){let n=t.find(t=>t.id===e);return n?i(n,r):[]}function o(e,t,r,n,i){var a=l(s(e),t),o=r,d=n,c=i;let h=[];try{a.forEach(e=>{(function(e){let{modules:t=[]}=e;return t})(e).map(e=>{let t=o.find(t=>t.id===e);if(d&&d.length>0){if(!t)return null;let e={};for(let r of d)void 0!==t[r]&&(e[r]=t[r]);return e}return t}).filter(Boolean).forEach(e=>{(!c||c(e))&&!h.filter(t=>t.id===e.id).length&&h.push(e)})})}catch{}return h}function d(e,t){return e.map(e=>t.find(t=>t.id===e)).filter(Boolean)}function c(e,t,r,n){let s=t.find(t=>t.id===e);return{module:s,dependencies:s.dependencies.map(e=>r.find(t=>t.id===e)).filter(Boolean),...n?.length?{sideEffectCodes:n}:{}}}let h=RegExp(`(.*)${/[-|.]/.source}(${/(?:[a-f0-9]{4,32}|[a-zA-Z]{3,}[0-9]|[a-zA-Z]*[0-9][a-zA-Z]{2,}|[a-zA-Z]*[0-9][a-zA-Z0-9]{3,31})/.source})(${/(?:\.[a-z|A-Z|0-9]{2,}){1,}/.source})$`);function u(e,t){let r=t?.split(".");if(r?.length&&r.length>=3&&r[r.length-2]?.indexOf("[")<0&&"js|css|html".indexOf(r[r.length-1])>-1){let t=r[r.length-2],n=e.match(/(.*)(\.([a-f0-9]{4,32}|[a-zA-Z]*[0-9][a-zA-Z0-9]*))(\.[^.]+){2,}$/);if(n&&n[3].length>=4&&n[3].length<=32){let r=n[1];return`${r}.${t}.${e.substring(e.lastIndexOf(".")+1)}`}}let n=e.match(h);return n&&n[2]&&n[2].length>=4&&n[2].length<=32?e.replace(h,"$1$3"):e}function p(e,t){let r;return e.path.slice(-t.length)===t||((r=e.path.split("?")[0].match(/\.([0-9a-z]+)(?:[?#]|$)/i))?`.${r[1]}`:"")===t}function m(e,t){return!!t.length&&t.some(t=>p(e,t))}function f(e,t){var r,s;let i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},{withFileContent:l=!0,filterOrExtensions:a}=i;return(e=e.filter(e=>!m(e,n.YM.Jt)),a&&(r=e,a&&(r="function"==typeof a?r.filter(a):(s=r,"string"==typeof a?s.filter(e=>p(e,a)):Array.isArray(a)?s.filter(e=>m(e,a)):[])),e=r),e.length)?{count:e.length,size:e.reduce((e,t)=>e+t.size,0),files:e.map(e=>({path:e.path,size:e.size,gzipSize:e.gzipSize,brotliSize:e.brotliSize,initial:x(e,t),content:l?e.content:void 0}))}:{count:0,size:0,files:[]}}function x(e,t){return l(s(e),t,void 0).some(e=>!!e.initial)}function g(e,t){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return f(e,t,{...r,filterOrExtensions:e=>{var n;return(!(n=r.filterOrExtensions)||("function"==typeof n?n(e):"string"==typeof n?p(e,n):m(e,n)))&&x(e,t)}})}function y(e,t){return{all:{total:v(e,t)},js:{total:v(e,t,n.YM.Wm),initial:v(e,t,n.YM.Wm,!0)},css:{total:v(e,t,n.YM.lk),initial:v(e,t,n.YM.lk,!0)},imgs:{total:v(e,t,n.YM.q$)},html:{total:v(e,t,n.YM.Fe)},media:{total:v(e,t,n.YM.zz)},fonts:{total:v(e,t,n.YM.AU)},others:{total:v(e,t,e=>!m(e,[...n.YM.Wm,n.YM.lk,n.YM.Fe].concat(n.YM.q$,n.YM.zz,n.YM.AU,n.YM.Jt)))}}}function j(e,t){let r=e===t;return{percent:r?0:0===e?100:Math.abs(t-e)/e*100,state:r?n.Kj.Ol.Equal:e>t?n.Kj.Ol.Down:n.Kj.Ol.Up}}function v(e,t,r){let n=arguments.length>3&&void 0!==arguments[3]&&arguments[3],s,i,{size:l,count:a}=n?g(e.assets,e.chunks,{filterOrExtensions:r}):f(e.assets,e.chunks,{filterOrExtensions:r});if(e===t)s=l,i=a;else{let{size:e,count:l}=n?g(t.assets,t.chunks,{filterOrExtensions:r}):f(t.assets,t.chunks,{filterOrExtensions:r});s=e,i=l}let{percent:o,state:d}=j(l,s);return{size:{baseline:l,current:s},count:{baseline:a,current:i},percent:o,state:d}}function b(e,t){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},s={...r,filterOrExtensions:n.YM.Wm},i={...r,filterOrExtensions:n.YM.lk},l={...r,filterOrExtensions:n.YM.q$},a={...r,filterOrExtensions:n.YM.Fe},o={...r,filterOrExtensions:n.YM.zz},d={...r,filterOrExtensions:n.YM.AU},c={...r,filterOrExtensions:e=>!m(e,[...n.YM.Wm,n.YM.lk,n.YM.Fe].concat(n.YM.q$,n.YM.zz,n.YM.AU,n.YM.Jt))};return{all:{total:f(e,t,r)},js:{total:f(e,t,s),initial:g(e,t,s)},css:{total:f(e,t,i),initial:g(e,t,i)},imgs:{total:f(e,t,l)},html:{total:f(e,t,a)},media:{total:f(e,t,o)},fonts:{total:f(e,t,d)},others:{total:f(e,t,c)}}}function A(e,t,r,n,i){let a=t.find(t=>t.path===e);return{asset:a,chunks:l(s(a),r,void 0),modules:o(a,r,n,void 0,i)}}function w(e,t,r,n){let s=[];try{for(let i=0;i<e.length;i++){let l=e[i];s.push({asset:l,modules:o(l,t,r,n)})}return s}catch(e){return console.error(e),[]}}function S(e){return e}},94485(e,t,r){var n=r(16397),s=r(85409);function i(e){let t=1/0,r=-1/0;for(let n=0;n<e.length;n++){let s=e[n];s.startAt<=t&&(t=s.startAt),s.endAt>=r&&(r=s.endAt)}return{start:t,end:r}}function l(e,t){let r={},s={};t.forEach(t=>{e(t)?(r[t.pid]||(r[t.pid]=[]),r[t.pid].push([t.startAt,t.endAt])):(s[t.pid]||(s[t.pid]=[]),s[t.pid].push([t.startAt,t.endAt]))});let i=0,l=Object.keys(r);for(let e=0;e<l.length;e++){let t=l[e],a=(0,n.l7)(r[t]),o=(0,n.l7)(s[t]||[]).filter(e=>{let[t,r]=e;return a.some(e=>t>=e[0]&&r<=e[1])});i+=(a.length?a.reduce((e,t)=>e+t[1]-t[0],0):0)-(o.length?o.reduce((e,t)=>e+t[1]-t[0],0):0)}return i}function a(e,t){let r=t.filter(t=>!t.loader.includes("builtin")&&t!==e&&t.pid===e.pid&&t.startAt>=e.startAt&&t.endAt<=e.endAt),s=e.endAt-e.startAt;return r.length&&(0,n.l7)(r.map(t=>[Math.max(t.startAt,e.startAt),Math.min(t.endAt,e.endAt)])).forEach(e=>{let t=e[1]-e[0];s-=t}),s}function o(e){let t=new Set;return e.forEach(e=>e.loaders.forEach(e=>t.add(g(e.loader)))),[...t]}function d(e){let t=[];for(let r=0;r<e.length;r++){let n=e[r];for(let e=0;e<n.loaders.length;e++){let r=n.loaders[e];t.push(r)}}return t}function c(e){let t=[],r=d(e);return e.forEach(e=>{e.loaders.forEach(n=>{t.push({layer:e.resource.layer,loader:g(n.loader),isPitch:n.isPitch,startAt:n.startAt,endAt:n.endAt,pid:n.pid,sync:n.sync,resource:e.resource.path,costs:a(n,r)})})}),t}function h(e){let t=d(e);return e.map(e=>{let{loaders:r,resource:n}=e;return{path:n.path,layer:n.layer,loaders:r.map(e=>({key:e.path,loader:g(e.loader),path:e.path,errors:e.errors,costs:a(e,t)}))}})}function u(e,t){let r=t.find(t=>t.resource.path===e);if(!r)throw Error(`"${e}" not match any loader data`);let n=d(t);return{...r,loaders:r.loaders.map(e=>{let{input:t,result:r,...s}=e;return{...s,loader:g(e.loader),costs:a(e,n)}})}}function p(e,t){let r=t.filter(t=>{let{path:r}=t.resource;return r.startsWith(e)}),n=[],s=new Map;return r.forEach(e=>{e.loaders.forEach(e=>{let t=s.get(e.loader);return t?s.set(e.loader,{files:t.files+1,path:e.path}):s.set(e.loader,{files:1,path:e.path}),n.push({loader:e.loader,startAt:e.startAt,endAt:e.endAt,pid:e.pid})})}),Array.from(s).map(e=>{let t=l(t=>t.loader===e[0],n);return{loader:e[0],files:e[1].files,path:e[1].path,costs:t}})}function m(e,t){let r,n=t||s.cwd();return(r=new Set,e.forEach(e=>{if(e.resource.path.startsWith(n)){let t=e.resource.path.split(n).slice(1).join("/").split("/");if(t.length>=2){let e=t.slice(0,2).join("/");r.add(`${n}/${e}`)}}else{let t=e.resource.path.split("/"),n=t.slice(0,t.length-1).join("/");r.add(n)}}),Array.from(r)).map(t=>{let r=p(t,e);return{directory:t,stats:r}})}function f(e,t){for(let r=0;r<t.length;r++){let n=t[r];if(n.resource.path===e){let e=n.loaders.filter(e=>!e.isPitch);if(!e.length)return"";return e[0].input||""}}return""}function x(e,t,r,n,s){for(let i=0;i<n.length;i++){let l=n[i];if(l.resource.path===e)for(let e=0;e<l.loaders.length;e++){let n=l.loaders[e];if(g(n.loader)===t&&n.loaderIndex===r&&(void 0===s||n.isPitch===s))return{input:n.input||"",output:n.result||""}}}return{input:"",output:""}}let g=e=>{let t=e.includes("node_modules")?e.split("node_modules"):null;return t?t[t.length-1]:e};r.d(t,{Ah:()=>f,Gk:()=>o,Wx:()=>a,Yf:()=>u,Ym:()=>h,bO:()=>p,eJ:()=>x,pU:()=>l,q6:()=>c,qJ:()=>m,xr:()=>i})},73555(e,t,r){var n=r(36533),s=r(43803),i=r(86704),l=r(46068),a=r(52497);async function*o(e,t){let r="",s=0,i=new Map,l=()=>{for(;s<e.length&&i.size<3;){let r=s++;i.set(r,Promise.resolve().then(()=>t(e[r])).then(e=>({status:"fulfilled",value:e}),e=>({status:"rejected",reason:e})))}};l();for(let t=0;t<e.length;t++){let e=await i.get(t);if(i.delete(t),"rejected"===e.status)throw e.reason;l();let s=r+e.value,a=s.length-s.length%4;a>0&&(yield n.Buffer.from(s.slice(0,a),"base64")),r=s.slice(a)}if(1===r.length)throw Error("Invalid Base64 shard data: truncated final quartet.");r.length>0&&(yield n.Buffer.from(r,"base64"))}function d(e){return!!(Array.isArray(e)&&e.length>0&&e.every(e=>(0,a.Km)(e)))}async function c(e,t){if(0===e.length)return[];let r=new i.I("utf8"),a=[];await new Promise((i,d)=>{let c,h;(0,s.pipeline)((c=o(e,t)[Symbol.asyncIterator](),h=!1,new s.Readable({read(){h||(h=!0,c.next().then(e=>{let{value:t,done:r}=e;h=!1,this.push(r?null:t)},e=>{h=!1,this.destroy(e)}))}})),(0,l.createInflate)(),new s.Writable({write(e,t,s){a.push(r.write(n.Buffer.from(e))),s()}}),e=>{e?d(e):i()})});let d=r.end();return d&&a.push(d),JSON.parse(a.join(""))}r.d(t,{pJ:()=>c,tg:()=>d})},16664(){let e=/[a-zA-Z0-9]+(?:[-|_|.]+[a-zA-Z0-9]+)*/;RegExp(`(?:${/(?:node_modules|~)(?:\/\.pnpm)?/.source}/)(?:(?:@${e.source}[/|+])?(?:${e.source}\\+)*(?:${e.source})(?:${/@[\w|\-|_|.]+/.source})?)(?:_(?:@${e.source}[/|+])?(?:${e.source})(?:@${e.source})?)*/`,"g")},47776(e,t,r){var n=r(16397);function s(e){return!!e.result}function i(e){return e.map(e=>({issuerPath:e.issuerPath}))}function l(e,t,r,i){let l=r.find(t=>t.path===e),a=t.filter(t=>t.issuerPath===e),o=l&&i&&i[l.id]?i[l.id].source:"",d=a.reduce((e,t)=>t.request&&s(t)?e.replace(RegExp(`["']${t.request}["']`),`"${t.result}"`):e,o);return{filepath:e,before:o,after:d,resolvers:a.map(e=>{let r,s;return{...e,costs:(r=t.filter(t=>t!==e&&t.pid===e.pid&&t.startAt>=e.startAt&&t.endAt<=e.endAt),s=e.endAt-e.startAt,r.length&&(0,n.l7)(r.map(t=>[Math.max(t.startAt,e.startAt),Math.min(t.endAt,e.endAt)])).forEach(e=>{let t=e[1]-e[0];s-=t}),s)}})}}r.d(t,{Iu:()=>s,NB:()=>i,Vj:()=>l})},83920(e,t,r){var n;function s(e){if(!Array.isArray(e)||!e[0])return{isRspack:!1,hasSourceMap:!1,isLynx:!1,isEvalSourceMap:!1};let t=e[0].config,r=t?.name==="lynx",n="rspack"===e[0].name&&!r,s=t?.devtool,i="string"==typeof s&&/eval/i.test(s),l=t?.plugins,a=l?.filter(e=>e&&e.includes("SourceMapDevToolPlugin"));return{isRspack:n,hasSourceMap:"string"==typeof s&&s.includes("source-map")&&!i||!!a?.length,isLynx:r,isEvalSourceMap:i}}(n={}).Bootstrap="bootstrap->rspack:beforeCompile",n.Compile="rspack:beforeCompile->afterCompile",n.Done="rspack:afterCompile->done",n.Minify="rspack:minify(rspack:optimizeChunkAssets)",r.d(t,{fM:()=>s})},34275(e,t,r){function n(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:2;return 0===t?Math.floor(e):+e.toFixed(t)}function s(e,t){return"m"===t?e>1?"mins":"min":e>1?"hours":"hour"}function i(e){if((e=Number(e))>=1e3){let t=e/1e3;if(t>=60){let e=t/60;if(e>=60){let t=n(e/60,0),r=n(e%60,1),i=s(t,"h");return r>0?`${t}${i} ${r}${s(r,"m")}`:`${t}${i}`}let r=s(e=n(e,0),"m"),i=n(t%60,0);return i>0?`${e}${r} ${i}s`:`${e}${r}`}return`${n(t,1)}s`}if(e>=10)return`${+n(e,0)}ms`;if(e>=1)return`${+n(e,1)}ms`;let t=+n(e,2);return 0===t&&(t=+n(e,3)),`${t}ms`}r(85409),r(85409),r.d(t,{a4:()=>i,l_:()=>s,ox:()=>n})},52497(e,t,r){var n=r(13078);let{isAbsolute:s}=(r.n(n))(),i=/^(?:[a-zA-Z]:[\\/]|\\\\)/;function l(e){return/^https?:\/\//.test(e)}function a(e){var t;return!!("string"==typeof e&&(l(e)||s(t=e)||i.test(t)))}r.d(t,{Km:()=>a,gU:()=>l})},11223(e,t,r){var n=r(87826);let s=1;class i{static kind=n.hp.yV;static init(){s=1}id;request;module;kind;typeString;statements=[];_originDependency;meta={exportsType:"default-with-named"};constructor(e,t,r,n,i){this.id=s++,this.request=e,this.module=t,this._originDependency=r,this.kind=n,this.statements=i??[]}get resolvedRequest(){return this.dependency.path}get dependency(){return this.originDependency.rootModule??this.originDependency}get originDependency(){return this._originDependency}get kindString(){return n.hp.yV[this.kind]}get resolveConcatenationModule(){return this.dependency.kind===n.hp.JT.Concatenation}isSameWithoutStatements(e){return this.request===e.request&&this.kind===e.kind&&this.module.id===e.module.id&&this.dependency.id===e.dependency.id}addStatement(e){this.hasStatement(e)||this.statements.push(e)}hasStatement(e){return this.statements.some(t=>t.isSame(e))}setBuildMeta(e){this.meta={...this.meta,...e}}toData(){return{id:this.id,request:this.request,resolvedRequest:this.resolvedRequest,kind:this.kind,...void 0!==this.typeString&&{typeString:this.typeString},module:this.module.id,dependency:this.dependency.id,originDependency:this.originDependency.id,statements:this.statements.map(e=>e.toData())}}setId(e){this.id=e}}r.d(t,{O:()=>i})},22464(e,t,r){var n=r(87826),s=r(11223),i=r(66714),l=r(87261),a=r(61726);class o{static init(){i.n.init(),s.O.init(),a.To.init()}static fromData(e){let t=new o,r=e=>new l.W(t.getModuleById(e.module),e.position);for(let r of e.modules??[]){let e=new i.n(String(r.id),r.path,r.isEntry,r.kind,r.renderId,r.layer);e.id=r.id,e.setSize(r.size),e.meta={strictHarmonyModule:r.meta?.strictHarmonyModule??!1,hasSetEsModuleStatement:r.meta?.hasSetEsModuleStatement??!1},e._isPreferSource=r.isPreferSource,e.chunks=r.chunks,t.addModule(e)}for(let n of e.modules??[]){let s=t.getModuleById(n.id);for(let i of n.dependencies){let n=(e.dependencies??[]).find(e=>e.id===i),l=n&&t.getModuleById(n.originDependency);if(!n||!l){console.warn(`The connection data ID is empty: ${i}`);continue}let a=s.addDependency(n.request,l,n.kind,n.statements.map(r));a&&(a.id=n.id,t.addDependency(a))}for(let e of n.modules??[]){let r=t.getModuleById(e);if(!r){console.warn(`Add the ordinary module ID as empty: ${e}`);continue}s.addNormalModule(r)}for(let e of n.concatenationModules??[]){let r=t.getModuleById(e);if(!r){console.warn(`The aggregation module ID is empty: ${r}`);continue}s.addConcatenationModule(r)}}for(let n of e.exports??[]){let e=new a.Du(n.name,n.identifier?r(n.identifier):void 0);e.id=n.id,t.addExportInfo(e)}for(let r of e.exports??[])if(r.from){let e=t._exportIdMap.get(r.id),n=t._exportIdMap.get(r.from);e&&n&&e.setFromExport(n)}for(let n of e.variables??[]){let e=t.getModuleById(n.module);if(!e){console.warn(`The module ID in the variable is empty:${n.module}`);continue}let s=new a.rT(n.name,e,n.usedInfo,r(n.identifier)),i=t._exportIdMap.get(n.exported??-1);i&&s.setExportInfo(i),s.id=n.id,t.addVariable(s)}for(let n of e.sideEffects??[]){let e=t.getModuleById(n.module);if(!e){console.warn(`The module ID in the side effects is empty:${n.module}`);continue}let s=new a.be(n.name,e,r(n.identifier),n.originName);for(let e of(s.isNameSpace=n.isNameSpace,s.id=n.id,n.exports??[])){let r=t._exportIdMap.get(e);r&&r.addSideEffect(s)}if(n.variable){let e=t._varIdMap.get(n.variable);e&&(s._variable=e)}t.addSideEffect(s)}for(let r of e.moduleGraphModules??[]){let e=t.getModuleById(r.module);if(!e){console.warn(`The module ID in ModuleGraphModule is empty: ${r.module}`);continue}let n=new a.To(e,t,r.dynamic);t.addModuleGraphModule(n),r.exports.forEach(e=>{let r=t._exportIdMap.get(e);r&&n.addExportInfo(r)}),r.sideEffects.forEach(e=>{let r=t._sideEffectIdMap.get(e);r&&n.addSideEffect(r)}),r.variables.forEach(e=>{let r=t._varIdMap.get(e);r&&n.addVariable(r)})}return o.init(),t}_dependenciesIdMap=new Map;_connectionsOnlyImports=[];_moduleIdentifierMap=new Map;_moduleIdMap=new Map;_moduleGraphModules=new Map;_exportIdMap=new Map;_sideEffectIdMap=new Map;_varIdMap=new Map;_layers=new Map;clear(){this._dependenciesIdMap=new Map,this._moduleIdentifierMap=new Map,this._moduleIdMap=new Map,this._moduleGraphModules=new Map,this._exportIdMap=new Map,this._sideEffectIdMap=new Map,this._varIdMap=new Map,this._layers=new Map}size(){return this._moduleIdMap.size}fromInstance(e){this.setModules(e.getModules()),this.setDependencies(e.getDependencies()),this.setConnectionsOnlyImports(e.getConnectionsOnlyImports()),e instanceof o&&(this._moduleGraphModules=new Map(e._moduleGraphModules),this._exportIdMap=new Map(e._exportIdMap),this._sideEffectIdMap=new Map(e._sideEffectIdMap),this._varIdMap=new Map(e._varIdMap),this._layers=new Map(e._layers))}getSubGraphByModule(e){let t=new Set,r=[e];t.add(e);for(let e=0;e<r.length;e++)for(let{dependency:n}of r[e].getDependencies())t.has(n)||(t.add(n),r.push(n));return r}getModules(){return Array.from(this._moduleIdentifierMap.values())}getDependencies(){return Array.from(this._dependenciesIdMap.values())}getEntryModules(){return this.getModules().filter(e=>e.isEntry&&e.kind!==n.hp.JT.Concatenation)}getModuleById(e){return this._moduleIdMap.get(e)}getDependencyById(e){return this._dependenciesIdMap.get(e)}getModuleByIdentifier(e){return this._moduleIdentifierMap.get(e)}getModuleByFile(e,t){return this.getModules().filter(r=>r.path===e&&(void 0===t||r.layer===t))}addModule(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];for(let e of t)!this._moduleIdMap.has(e.id)&&(this._moduleIdentifierMap.set(e.identifier,e),this._moduleIdMap.set(e.id,e),e.layer&&this.addLayer(e.layer))}addDependency(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];for(let e of t)this._dependenciesIdMap.has(e.id)||(this._dependenciesIdMap.set(e.id,e),this.addModule(e.module),this.addModule(e.dependency))}removeModule(e){for(let t of this.getDependencies().filter(t=>t.module===e||t.originDependency===e||t.dependency===e))this.removeDependency(t);this._moduleGraphModules.delete(e),this._moduleIdMap.delete(e.id),this._moduleIdentifierMap.delete(e.identifier)}removeDependency(e){for(let t of(this._dependenciesIdMap.delete(e.id),e.module.removeDependency(e),new Set([e.originDependency,e.dependency])))e.module.getDependencies().some(e=>e.originDependency===t||e.dependency===t)||t.removeImported(e.module)}addModuleGraphModule(e){this._moduleGraphModules.has(e.module)||this._moduleGraphModules.set(e.module,e)}getModuleGraphModule(e){return this._moduleGraphModules.get(e)}getModuleGraphModules(){return Array.from(this._moduleGraphModules.values())}addExportInfo(e){this._exportIdMap.set(e.id,e)}addSideEffect(e){this._sideEffectIdMap.set(e.id,e)}addVariable(e){this._varIdMap.set(e.id,e)}addLayer(e){this._layers.get(e)||this._layers.set(e,1)}getLayers(){return this._layers}toData(e){let t=!!(e?.briefOptions?.type&&e.briefOptions.type.length);return{dependencies:this.getDependencies().map(e=>e.toData()),modules:this.getModules().map(r=>r.toData(e?.contextPath,t)),moduleGraphModules:t?[]:Array.from(this._moduleGraphModules.values()).map(e=>e.toData()),exports:t?[]:Array.from(this._exportIdMap.values()).map(e=>e.toData()),sideEffects:t?[]:Array.from(this._sideEffectIdMap.values()).map(e=>e.toData()),variables:t?[]:Array.from(this._varIdMap.values()).map(e=>e.toData()),layers:Array.from(this._layers.keys())}}toTreeShakingData(){let e={};for(let t of this.getModules()){let r=t.getSideEffectCodes();r.length>0&&(e[r[0].moduleId]=r)}return{sideEffectCodes:e}}toCodeData(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:n.hp.w5.Normal,t={};return this.getModules().forEach(r=>{t[r.id]=r.getSource(e)}),t}setModules(e){this._moduleIdMap=new Map(e.map(e=>[e.id,e])),this._moduleIdentifierMap=new Map(e.map(e=>[e.identifier,e])),this._layers=new Map(e.filter(e=>e.layer).map(e=>[e.layer,1]))}setDependencies(e){this._dependenciesIdMap=new Map(e.map(e=>[e.id,e]))}setConnectionsOnlyImports(e){this._connectionsOnlyImports=e}getConnectionsOnlyImports(){return this._connectionsOnlyImports}}r.d(t,{d:()=>o})},66714(e,t,r){var n=r(87826),s=r(62343),i=r(13078),l=r.n(i),a=r(11223),o=r(87261),d=r(54005);let c=1;class h{static kind=n.hp.JT;issuerPath=[];static init(){c=1}id;renderId;bailoutReason=[];sideEffectLocations=[];sideEffectCodes=[];identifier;path;isEntry;kind;layer;source={source:"",transformed:"",parsedSource:""};size={sourceSize:0,transformedSize:0,parsedSize:0,gzipSize:0};sourceMap;program;chunks=[];dependencies=[];imported=[];modules=[];concatenationModules=[];_isPreferSource;meta={hasSetEsModuleStatement:!1,strictHarmonyModule:!1};constructor(e,t,r=!1,s=n.hp.JT.Normal,i,l=""){this.id=c++,this.identifier=e,this.path=t,this.isEntry=r,this.kind=s,this.renderId=i,this.layer=l}get rootModule(){return this.modules.find(e=>e.path===this.path)}get isPreferSource(){if("boolean"==typeof this._isPreferSource)return this._isPreferSource;let e=this.source.source.length>0&&"test code"!==this.source.source&&!!this.sourceMap;return this._isPreferSource=e,e}addBailoutReason(e){this.bailoutReason.push(e)}getBailoutReason(){return this.bailoutReason}addSideEffectLocation(e){this.sideEffectLocations.push(e)}getSideEffectLocations(){return this.sideEffectLocations.slice()}addSideEffectCode(e){this.sideEffectCodes.push(e)}getSideEffectCodes(){return this.sideEffectCodes.slice()}getChunks(){return this.chunks.slice()}addChunk(e){this.chunks.includes(e)||(this.chunks.push(e),e.addModule(this))}removeChunk(e){this.chunks=this.chunks.filter(t=>t!==e)}getDependencies(){return this.dependencies.slice()}getDependencyByRequest(e){return this.dependencies.find(t=>t.request===e)}getDependencyByModule(e){return this.dependencies.find(t=>t.originDependency===e||t.dependency===e)}addDependency(e,t,r,n){let s=new a.O(e,this,t,r,n);if(this.dependencies.every(e=>!e.isSameWithoutStatements(s)))return this.dependencies.push(s),t.addImported(this),t.rootModule&&t.rootModule.addImported(this),s}removeDependency(e){this.dependencies=this.dependencies.filter(t=>t!==e)}removeDependencyByModule(e){let t=this.getDependencyByModule(e);t&&this.removeDependency(t)}getImported(){return this.imported.slice()}addImported(e){this.imported.includes(e)||this.imported.push(e)}removeImported(e){this.imported=this.imported.filter(t=>t!==e)}setProgram(e){this.program=e}getProgram(){return this.program}setSource(e){let{source:t}=this;t.source=e.source??t.source,t.transformed=e.transformed??t.transformed,t.parsedSource=e.parsedSource??t.parsedSource}getSource(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:n.hp.w5.Normal;return e===n.hp.w5.NoCode?{source:"",transformed:"",parsedSource:""}:e===n.hp.w5.NoSourceAndAssets||e===n.hp.w5.NoSource?{source:"",transformed:"",parsedSource:this.isPreferSource?"":this.source.parsedSource}:e===n.hp.w5.All?{source:this.source.source,transformed:this.source.transformed,parsedSource:this.isPreferSource?"":this.source.parsedSource}:{source:this.source.source,transformed:"",parsedSource:this.isPreferSource?"":this.source.parsedSource}}setSourceMap(e){this.sourceMap=e}getSourceMap(){return this.sourceMap}setSize(e){let{size:t}=this;t.sourceSize=e.sourceSize??t.sourceSize,t.transformedSize=e.transformedSize??t.transformedSize,t.parsedSize=e.parsedSize??t.parsedSize,"brotliSize"in e&&(void 0===e.brotliSize?delete t.brotliSize:t.brotliSize=e.brotliSize),"number"==typeof e.gzipSize&&(t.gzipSize=e.gzipSize)}getSize(){return{...this.size}}getStatement(e){return new o.W(this,{source:this.getSourceRange(e),transformed:{start:{...e.start},end:e.end?{...e.end}:void 0}})}getSourceRange(e){let{sourceMap:t}=this;if(!t)return;let r={start:{}},n=t.originalPositionFor({line:e.start.line??0,column:e.start.column??0,bias:1});if((0,s.Et)(n.line)&&(r.start={line:n.line,column:n.column??void 0}),e.end){let n=t.originalPositionFor({line:e.end.line??0,column:e.end.column??0});(0,s.Et)(n.line)&&(r.end={line:n.line,column:n.column??void 0})}return r}addNormalModule(e){this.modules.includes(e)||(this.modules.push(e),e.addConcatenationModule(this))}getNormalModules(){return this.modules.slice()}addConcatenationModule(e){this.concatenationModules.includes(e)||this.concatenationModules.push(e)}addIssuerPath(e){this.issuerPath?.length||(this.issuerPath=e)}getIssuerPath(){return this.issuerPath}getConcatenationModules(){return this.concatenationModules.slice()}toData(e,t){let{isPreferSource:r}=this,n=(0,d.ug)(this.identifier),s={id:this.id,renderId:this.renderId,identifier:e&&n.indexOf(".")>0?l().relative(e,n):this.identifier,path:this.path,isPreferSource:r,dependencies:this.dependencies.map(e=>e.id),imported:this.imported.map(e=>e.id),chunks:this.chunks.map(e=>e.id),size:this.getSize(),kind:this.kind,...this.layer?{layer:this.layer}:{},issuerPath:t?void 0:this.issuerPath?.filter(e=>e.moduleId).map(e=>e.moduleId)||[],bailoutReason:this.bailoutReason,...this.sideEffectLocations.length>0?{sideEffectLocations:this.sideEffectLocations}:{}};return(this.meta.hasSetEsModuleStatement||this.meta.strictHarmonyModule)&&(s.meta={},this.meta.hasSetEsModuleStatement&&(s.meta.hasSetEsModuleStatement=!0),this.meta.strictHarmonyModule&&(s.meta.strictHarmonyModule=!0)),this.isEntry&&(s.isEntry=this.isEntry),this.modules.length>0&&(s.modules=this.modules.map(e=>e.id)),this.rootModule&&(s.rootModule=this.rootModule.id),this.concatenationModules.length>0&&(s.concatenationModules=this.concatenationModules.map(e=>e.id)),s}setId(e){this.id=e}setRenderId(e){this.renderId=e}setChunks(e){this.chunks=e}setDependencies(e){this.dependencies=e}setImported(e){this.imported=e}setModules(e){this.modules=e}setConcatenationModules(e){this.concatenationModules=e}}r.d(t,{n:()=>h})},87261(e,t,r){var n=r(54005);class s{static getDefaultStatement(e){let t={line:1,column:0},r={start:{...t},end:{...t}};return new s(e,{source:{...r},transformed:{...r}})}position;module;constructor(e,t){this.module=e,this.position=t}isSame(e){return this.module.id===e.module.id&&(0,n.Ut)(this.position.transformed,e.position.transformed)}getSourcePosition(){let{module:e,position:t}=this;return t.source?t.source:e.getSourceMap()?(t.source=e.getSourceRange(t.transformed),t.source):void 0}getLineCode(){let e=this.module.isPreferSource&&this.position.source,t=this.module.getSource(),r=e?t.source:t.transformed,n=e?this.position.source.start.line:this.position.transformed.start.line;if("number"==typeof n)return r.split("\n")[n-1]}toData(){let e={transformed:this.position.transformed};return this.position.source&&(e.source=this.position.source),{position:e,module:this.module.id}}}r.d(t,{W:()=>s})},61726(e,t,r){r.d(t,{Du:()=>s,To:()=>d,be:()=>l,rT:()=>o});let n=1;class s{static init(){n=1}id=n++;name;identifier;from;_variable;_sideEffects=[];constructor(e,t,r){this.name=e,this.identifier=t,this._variable=r}get isReExport(){return!!this.from}set variable(e){this._variable=e}get variable(){if(this._variable)return this._variable;if(!this.from||!1===this._variable){this._variable=!1;return}let e=this.getRecursiveExport()?.variable;return e||(this._variable=!1),e}addSideEffect(e){this._sideEffects.every(t=>t.id!==e.id)&&(this._sideEffects.push(e),this.from&&this.from.addSideEffect(e))}getSideEffects(){return this._sideEffects.slice()}setFromExport(e){this.from=e}getRecursiveExport(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1/0;if(0===e)throw Error("`getRecursiveExport` method parameter depth must be greater than 1.");if(!this.from)return this;let t=0,r=this;for(;r.from&&t<e;)t++,r=r.from;return r}toData(){let e={id:this.id,name:this.name,isReExport:this.isReExport,used:this._sideEffects.map(e=>e.id)};return this.from&&(e.from=this.from.id,e.root=this.getRecursiveExport().id),this.variable&&(e.variable=this.variable.id),e}}let i=1;class l{static init(){i=1}static NamespaceSymbol=Symbol("namespace");id=i++;name;originName;module;identifier;isNameSpace;fromDependency;_exports=[];_variable;constructor(e,t,r,n,s){this.name=e,this.module=t,this.identifier=r,n&&(this.fromDependency=this.module.getDependencyByRequest(n)),s===l.NamespaceSymbol?this.isNameSpace=!0:(this.isNameSpace=!1,this.originName=s)}get variable(){if(void 0!==this._variable)return this._variable?this._variable:void 0;let e=this.exports[0]?.getRecursiveExport()?.variable;return this._variable=e??!1,e}get exports(){return this._exports?.slice()??[]}setModuleExport(e){e.getExports().forEach(e=>this.setExportInfo(e))}setExportInfo(e){this._exports.push(e),e.addSideEffect(this)}toData(){let e={id:this.id,name:this.name,identifier:this.identifier.toData(),module:this.module.id};return this.fromDependency&&(e.fromDependency=this.fromDependency.id),this.isNameSpace&&(e.isNameSpace=this.isNameSpace),this.exports.length>0&&(e.exports=this.exports.map(e=>e.id)),this.variable&&(e.variable=this.variable.id),e}}let a=1;class o{static init(){a=1}id=a++;name;module;usedInfo;identifier;_exported;constructor(e,t,r,n){this.name=e,this.module=t,this.usedInfo=r,this.identifier=n}get isUsed(){return!!this._exported&&this._exported.getSideEffects().length>0}setExportInfo(e){this._exported=e,e.variable=this}getExportInfo(){return this._exported}toData(){let e={id:this.id,name:this.name,module:this.module.id,identifier:this.identifier.toData(),usedInfo:this.usedInfo};return this._exported&&(e.exported=this._exported.id),e}}class d{static init(){s.init(),l.init(),o.init()}module;exports=[];sideEffects=[];variables=[];_dynamic;_graph;constructor(e,t,r){this.module=e,this._graph=t,"boolean"==typeof this._dynamic&&(this._dynamic=r)}get dynamic(){return"boolean"==typeof this._dynamic?this._dynamic:this.module.getImported().map(e=>e.getDependencyByModule(this.module)).some(e=>e&&"dynamic"===e.meta.exportsType)}addExportInfo(e){this.exports.push(e),this._graph.addExportInfo(e)}addSideEffect(e){this.sideEffects.push(e),this._graph.addSideEffect(e)}addVariable(e){this.variables.push(e),this._graph.addVariable(e)}getExports(){return this.exports.slice()}getSideEffects(e){return e?this.sideEffects.filter(t=>t.name===e):this.sideEffects.slice()}getOwnExports(){return this.exports.filter(e=>!e.isReExport)}getExport(e){return this.exports.find(t=>t.name===e)}getReExports(){return this.exports.filter(e=>e.isReExport)}getOwnExport(e){return this.getOwnExports().find(t=>t.name===e)}getReExport(e){return this.getReExports().find(t=>t.name===e)}toData(){return{module:this.module.id,dynamic:this.dynamic,exports:this.exports.map(e=>e.id),sideEffects:this.sideEffects.map(e=>e.id),variables:this.variables.map(e=>e.id)}}}},54005(e,t,r){var n=r(62343);function s(e,t){return e.line===t.line&&e.column===t.column}function i(e,t){return!!s(e.start,t.start)&&((0,n.gD)(e.end)||(0,n.gD)(t.end)?(0,n.b0)(e.end)&&(0,n.b0)(t.end):s(e.end,t.end))}let l=/!/,a=/\s\+\s\d*\smodules$/,o=/^css\s.*node_modules(?!\/)/;function d(e){if(!e)return"";if(l.test(e)){let t=(0,n.HV)(e.split(l));if(t?.trim())return t}return a.test(e)?e.replace(a,""):o.test(e)?e.replace(o,""):e}r.d(t,{Ut:()=>i,ug:()=>d})},72229(e,t,r){r(71638),r(8963).hp},98147(e,t,r){r(57896)},87826(e,t,r){r.d(t,{Kj:()=>b,YM:()=>o,_8:()=>i,jO:()=>v,hp:()=>a});var n,s,i={};r.r(i),r.d(i,{V:()=>u,z:()=>h});var l={};r.r(l),r.d(l,{n:()=>y,k:()=>j});var a={};r.r(a),r.d(a,{yV:()=>g.yV,JT:()=>g.JT,uT:()=>l,w5:()=>g.w5});var o={};r.r(o),r.d(o,{lk:()=>w,AU:()=>C,Fe:()=>S,q$:()=>k,Wm:()=>A,Jt:()=>E,zz:()=>M,Fv:()=>N,tQ:()=>T});var d,c,h=((d={}).Overall="Overall",d.Loaders="Compile.Loaders",d.ModuleResolve="Compile.ModuleResolve",d.Plugins="Compile.Plugins",d.BundleSize="Bundle.BundleSize",d.ModuleGraph="Bundle.ModuleGraph",d.TreeShaking="Bundle.TreeShaking",d),u=((c={}).WindowPropertyForManifestUrl="__DEVTOOLS_MANIFEST_URL__",c);(p={})[p.Ignore=0]="Ignore",p[p.Warn=1]="Warn",p[p.Error=2]="Error",(m={})[m.Silent=0]="Silent",m[m.Error=1]="Error",m[m.Warning=2]="Warning",m[m.Info=3]="Info",m[m.Debug=4]="Debug",m[m.Verbose=5]="Verbose";var p,m,f,x,g=r(4349),y=((f={}).ApplyErrorFix="/api/apply/error/fix",f.Env="/api/env",f.EntryHtml="/index.html",f.Manifest="/api/manifest.json",f.LoadDataByKey="/api/data/key",f.SendAPIDataToClient="/api/socket/send",f.GetProjectInfo="/api/project/info",f.GetClientRoutes="/api/routes",f.ReportLoader="/api/loader/report",f.GetLoaderNames="/api/loader/names",f.GetLoaderChartData="/api/loader/chart/data",f.GetLoaderFileTree="/api/loader/filetree",f.GetLoaderFileDetails="/api/loader/file",f.GetLoaderFolderStatistics="/api/loader/folder/statics",f.GetLoaderFileFirstInput="/api/loader/input",f.GetLoaderFileInputAndOutput="/api/loader/inputandoutput",f.GetDirectoriesLoaders="/api/loader/directories",f.ReportSourceMap="/api/sourcemap/report",f.GetResolverFileTree="/api/resolver/filetree",f.GetResolverFileDetails="/api/resolver/file",f.GetPluginSummary="/api/plugins/summary",f.GetPluginData="/api/plugins/data",f.GetSummaryBundles="/api/graph/bundles/summary",f.GetChunkGraph="/api/graph/chunks/graph",f.GetAssetsSummary="/api/graph/assets/summary",f.GetAssetDetails="/api/graph/asset/details",f.GetChunksByModuleId="/api/graph/chunk/module",f.GetModuleDetails="/api/graph/module/details",f.GetModulesByModuleIds="/api/graph/modules/ids",f.GetEntryPoints="/api/graph/entrypoints",f.GetModuleCodeByModuleId="/api/graph/module/code",f.GetModuleCodeByModuleIds="/api/graph/module/codes",f.GetAllModuleGraph="/api/graph/module/all",f.GetAllChunkGraph="/api/graph/chunk/all",f.GetLayers="/api/graph/layers",f.GetSearchModules="/api/search/modules",f.GetSearchModuleInChunk="/api/search/chunk/modules",f.GetAllModuleGraphFilter="/api/graph/module/filter",f.GetModuleByName="/api/graph/module/name",f.GetModuleIssuerPath="/api/graph/module/issuer_path",f.GetPackageInfo="/api/package/info",f.GetPackageDependency="/api/package/dependency",f.GetPackageRelationAlertDetails="/api/alerts/details/package/relation",f.GetOverlayAlerts="/api/alerts/overlay",f.GetBundleAlerts="/api/alerts/bundle",f.BundleDiffManifest="/api/bundle_diff/manifest.json",f.GetBundleDiffSummary="/api/bundle_diff/summary",f.GetChunkGraphAI="/api/graph/chunks/graph/ai",f.GetChunkByIdAI="/api/graph/chunk/id/ai",f),j=((x={}).GetCompileProgress="/api/progress",x);(n={})[n.ImportDefault=100]="ImportDefault",n[n.ImportNamed=101]="ImportNamed",n[n.ImportDefaultWithNamed=102]="ImportDefaultWithNamed",n[n.ImportDefaultWithNamespace=103]="ImportDefaultWithNamespace",n[n.ImportNamespace=104]="ImportNamespace",n[n.ImportSideEffect=105]="ImportSideEffect",n[n.ImportDynamic=106]="ImportDynamic",n[n.ExportDeclaration=200]="ExportDeclaration",n[n.ExportList=201]="ExportList",n[n.ExportDefault=202]="ExportDefault",n[n.ExportAggregating=203]="ExportAggregating",n[n.ExportNamespace=204]="ExportNamespace",n[n.RequireCall=300]="RequireCall",n[n.RequireName=301]="RequireName",n[n.RequireExports=302]="RequireExports",n[n.RequireExportAggregating=303]="RequireExportAggregating",n[n.RequireExportName=304]="RequireExportName",n[n.Unknown=999]="Unknown",(s={}).brief="brief",s.lite="lite",s.normal="normal";var v=r(57942),b=r(11339);let A=[".js",".bundle"],w=".css",S=".html",k=[".png",".jpg",".svg",".webp",".jpeg",".gif",".bmp"],M=[".mp3",".mp4",".avi",".wav",".flv",".mov",".mpg",".mpeg"],C=[".ttf",".fnt",".fon",".otf",".woff",".woff2"],E=[".js.map",".css.map",".ts.map",".LICENSE.txt"],N="",T="__RSDOCTOR__"},61982(e,t,r){let n="E1001",s={code:n,title:"Duplicate Packages",type:"markdown",category:"bundle",description:`
|
|
13
13
|
#### Description
|
|
14
14
|
|
|
15
15
|
There is a same name package which is bundled in multiple versions in your application.
|
|
@@ -54,4 +54,4 @@
|
|
|
54
54
|
<span>${o()(h).format("YYYY/MM/DD HH:mm:ss")}</span>
|
|
55
55
|
</li>
|
|
56
56
|
</div>
|
|
57
|
-
`.trim()}function d(e,t){let[r,n]=(0,a.useState)(e);return(0,a.useEffect)(()=>{let r=setTimeout(()=>n(e),t);return()=>clearTimeout(r)},[e,t]),r}r.d(t,{Bq:()=>c,Wy:()=>d,iv:()=>u})},46977(e,t,r){var n=r(64558);r(1102);var l=r(66482),o=r(50037),i=r(2895);let s=e=>{let{text:t,els:r,marked:s=!1,rest:a}=e;if(!t)return null;let c=t.length;if(c>40){let e=Math.floor(18.5),r=Math.ceil(18.5);return(0,n.jsx)(o.A,{content:t,placement:"left",children:(0,n.jsx)("div",{children:(0,n.jsxs)(l.A.Text,{className:i.A.text,mark:!!s,...a,children:[t.slice(0,e),"...",t.slice(c-r)]})})})}return(0,n.jsx)(o.A,{content:t,children:(0,n.jsx)("div",{children:(0,n.jsx)(l.A.Text,{className:i.A.text,...a,children:t},r?r.length:0)})})};r.d(t,{},{i:e=>{let{text:t,keyword:r,...o}=e;if(!r||-1===t.indexOf(r))return s({text:t,rest:o});let a=[],c=t;for(;c.length>0;){let e=c.indexOf(r);if(e>-1)0!==e&&a.push(s({text:c,els:a})),a.push(s({text:c,els:a,marked:!0})),c=c.slice(e+r.length);else{a.push(s({text:c,els:a,marked:!0}));break}}return(0,n.jsx)(l.A.Text,{className:i.A.text,...o,children:a})}})},76274(e,t,r){let n=(0,r(1102).createContext)({project:null});r.d(t,{},{h:n})},91307(e,t,r){var n=r(64558),l=r(304),o=r(1102),i=r(1426),s=r(15061),a=r(82982);function c(e,t,r){let c=e();return function(){let[u,d]=(0,o.useState)(),[f,h]=(0,o.useState)(s.jK.Pending),[p,y]=(0,o.useState)({}),{loader:j}=(0,i.VX)(u);function g(e){return e.then(e=>{d(e)}).catch(()=>{h(s.jK.Fail)})}function m(e){e&&Promise.all(t.map(t=>{let[r]=t;return e.loadData(r)})).then(e=>{y(e.reduce((e,r,n)=>{let[l,o]=t[n];return e[o]=r,e},{})),h(s.jK.Success)}).catch(e=>{console.error(e),h(s.jK.Fail)})}return((0,o.useEffect)(()=>{g(c).then(()=>{m(j)})},[j]),f===s.jK.Pending)?(0,n.jsx)(l.A,{active:!0}):f===s.jK.Fail?(0,n.jsx)(a.c,{retry:()=>{h(s.jK.Pending),c.then(()=>{m(j)}).catch(()=>{g(e())})}}):(0,n.jsx)(r,{...p})}}r.d(t,{k:()=>c})},88557(e,t,r){r.d(t,{A:()=>l,h:()=>o});var n=r(64558);let l=e=>{let{title:t,description:r,icon:l,style:o}=e;return(0,n.jsxs)("div",{className:"container-KSV5DZ",style:o,children:[(0,n.jsxs)("div",{className:"content-BsjkSU",children:[(0,n.jsx)("div",{className:"title-jUwqD5",children:t}),(0,n.jsx)("div",{className:"description-ArkOg4",children:r})]}),l]})};var o=l},82982(e,t,r){var n=r(40879);r.d(t,{c:()=>n.c})},81650(e,t,r){r(64558),r(1102),r(70403)},39899(e,t,r){var n=r(64558);r(71631);var l=r(59083);r(1102);var o=r(23807),i=r(42718);function s(){return(0,n.jsxs)(o.BV,{children:[(0,n.jsx)(o.qh,{path:"/",element:(0,n.jsx)(i.aD.YW,{})}),(0,n.jsx)(o.qh,{path:i.aD.wE,element:(0,n.jsx)(i.aD.YW,{})})]})}var a=r(71029);r(62253);let c=document.getElementById("root");l.createRoot(c).render((0,n.jsx)(()=>(0,n.jsx)(a.A,{router:(0,n.jsx)(s,{})}),{}));let u=document.createElement("link");u.setAttribute("type","image/x-icon"),u.setAttribute("rel","icon"),u.setAttribute("href","https://assets.rspack.rs/rsdoctor/rsdoctor-logo-960x960.png"),document.head.appendChild(u)},80606(e,t,r){let n=r(87826).Kj.EH.Overall;r.d(t,{},{U:"Overall",w:n})},42718(e,t,r){r.d(t,{aD:()=>ex,_y:()=>l,hK:()=>i,pI:()=>o,dn:()=>a,FO:()=>s});var n,l={};r.r(l),r.d(l,{UU:()=>G,wE:()=>V});var o={};r.r(o),r.d(o,{UU:()=>Z,wE:()=>X});var i={};r.r(i),r.d(i,{UU:()=>er,wE:()=>en});var s={};r.r(s),r.d(s,{UU:()=>el,wE:()=>eo});var a={};r.r(a),r.d(a,{UU:()=>ep,wE:()=>ey});var c=r(64558),u=r(1102);r(44506);var d=r(1426);r(49249);var f=r(56753),h=r(75140),p=r(68062),y=r(41611);r(52726);var j=r(87826);let{DirectoryTree:g}=f.A;var m=r(3534);r(17255),r(77172),r(29980),r(55096);var b=r(67782),v=r(80844),x=r(6755),A=r(85326),w=r(66482),O=r(13616),S=r(61324),k=r(9486),E=r.n(k),N=r(76174),C=r(8418);(0,y.eN)({Component:e=>{let{defaultKeys:t,configs:r}=e,n=(0,d.rt)(r||[]);if(!n)return null;let{config:l,version:o,name:i}=n,s=Object.keys(l),[a,f]=(0,u.useState)(t||s);return(0,c.jsxs)(p.hX,{text:(0,c.jsxs)("div",{className:C.A.title,children:[(0,c.jsx)("span",{style:{marginRight:"8px",fontSize:"13px"},children:"View Rspack Config"}),(0,c.jsx)(S.A,{style:{fontSize:"10px"}})]}),children:[(0,c.jsxs)(v.A,{children:[(0,c.jsx)(N.h,{text:"Rspack Config Viewer"}),(0,c.jsx)(x.A,{}),(0,c.jsxs)(A.A,{children:[(0,c.jsx)(w.A.Text,{children:"Properties: "}),(0,c.jsx)(O.A,{dropdownStyle:{zIndex:999},mode:"multiple",allowClear:!0,value:a.length===s.length?[]:a,style:{width:350},popupMatchSelectWidth:!0,placeholder:"Show Selected Properties Only.",onChange:e=>{f(e)},children:s.map(e=>(0,c.jsx)(O.A.Option,{label:e,value:e,children:e},e))})]}),(0,c.jsx)(x.A,{})]}),(0,c.jsx)(E(),{name:o&&"unknown"!==o?`${i}@${o}`:"rspack.config",theme:"monokai",src:0===a.length?l:m.AP.Up(l,a),displayDataTypes:!1,displayObjectSize:!1,style:{overflowX:"auto"}})]})},api:j.hp.uT.n.LoadDataByKey,responsePropName:"configs",body:{key:"configs"},showSkeleton:!1}),r(88557),r(76274),r(80606),r(50832);let{DirectoryTree:M}=f.A,{DirectoryTree:T}=f.A;r(82073),r(35574);var B=r(91241),_=r(37585),D=r(3935),R=r(95838),z=r(51199);r(15061),r(91326);var P=r(73308);r(31008),r(22700),r(97558),r(39101),r(31041),j.Kj.EH.ModuleAnalyze,r(6451);var F=((n={})[n.Reasons=0]="Reasons",n[n.Dependencies=1]="Dependencies",n);F[0],F[0],F[1],F[1],B.Y([_.a,D.a,R.a,z.a]),r(81650),r(8857);var K=r(7415);r(46977);var U=r(13078),$=r.n(U);let{DirectoryTree:H}=f.A;var I=r(70722);r(78131);let{Search:L}=I.A,{Option:q}=O.A,G="BundleSize",V=j.Kj.EH.BundleSize;var Y=r(51747),W=r(95194),J=r(5525);(0,y.eN)({api:j.hp.uT.n.GetProjectInfo,responsePropName:"project",Component:e=>{let{project:t}=e,{root:r}=t,[n,l]=(0,u.useState)({filename:"",loaders:[],layer:""}),[o]=(0,u.useState)(0),{theme:i}=(0,d.DP)();return(0,c.jsxs)(A.A,{direction:"vertical",style:{width:"100%"},children:[(0,c.jsx)(y.zW,{api:j.hp.uT.n.GetLoaderNames,children:e=>(0,c.jsx)(Y.F,{onChange:l,loaderNames:e})}),(0,c.jsx)(y.zW,{api:j.hp.uT.n.GetLoaderChartData,children:e=>{let t=e.filter(e=>(0,J.ak)(e.resource,e.loader,n.filename,n.loaders,e.layer,n?.layer));return 0===o?(0,c.jsx)(W.z,{loaders:t,cwd:r},i):(0,c.jsx)(c.Fragment,{})}})]})}});let Z="Loaders Timeline",X=j.Kj.EH.LoaderOverall;var Q=r(44953),ee=r(73058),et=r(40544);(0,y.eN)({api:j.hp.uT.n.LoadDataByKey,body:{key:"root"},responsePropName:"cwd",Component:e=>{let{cwd:t}=e,[r,n]=(0,u.useState)({filename:"",loaders:[],layer:""});return(0,c.jsx)(Q.Ay,{locale:(0,d.JK)(),theme:{token:{padding:16,fontSize:14}},children:(0,c.jsxs)("div",{className:et.A.loaderAnalysis,children:[(0,c.jsx)(y.zW,{api:j.hp.uT.n.GetLoaderNames,children:e=>(0,c.jsx)(Y.F,{onChange:e=>n(e),loaderNames:e})}),(0,c.jsx)(y.zW,{api:j.hp.uT.n.GetLoaderFileTree,children:e=>(0,c.jsx)(ee.h,{filename:r.filename,filetree:e,loaders:r.loaders,layer:r.layer,cwd:t})})]})})}}),r(25205);let er="Loaders Analysis",en=j.Kj.EH.LoaderAnalysis;r(56743);let el="Plugins Analysis",eo=j.Kj.EH.Plugins;var ei=r(12529),es=r(44767),ea=r(63598),ec=r(78593),eu=r(30147),ed=r(60339);let ef=e=>{let{filepath:t,before:r,after:n,resolvers:l}=e;return(0,c.jsx)(ea.A,{flex:1,children:(0,c.jsx)(ec.A,{defaultActiveKey:"diff",items:[{key:"diff",label:"Resolve Diff Viewer",children:(0,c.jsx)(eu.A,{styles:{body:{padding:0,overflow:"hidden"}},children:(0,c.jsx)(P.Mh,{style:{height:785},isEmbed:!0,originalFilePath:t,modifiedFilePath:t,original:r,modified:n})})},{key:"details",label:"Resolve Details",children:(0,c.jsx)(eu.A,{children:(0,c.jsx)(ed.A,{style:{width:"100%",height:735,overflowY:"scroll",wordBreak:"break-all"},size:"small",pagination:!1,bordered:!0,rowKey:e=>e.request,columns:[{title:"Source Code",width:200,render:(e,t)=>(0,c.jsx)(w.A.Text,{copyable:!0,children:(0,c.jsx)(w.A.Text,{code:!0,strong:!0,children:t.request})})},{title:"Duration",width:80,render:(e,t)=>(0,c.jsx)(w.A.Text,{strong:!0,children:(0,d.a4)(t.costs)}),sorter:(e,t)=>e.costs-t.costs,sortDirections:["descend","ascend"]},{title:"Resolve Result",render:(e,t)=>m.xR.Iu(t)?(0,c.jsx)(w.A.Text,{copyable:!0,children:t.result}):(0,c.jsx)(ei.A,{style:{color:"#f50"}})}],dataSource:l})})}]})})},eh=e=>{let{resolver:t,cwd:r}=e,[n,l]=(0,u.useState)(""),o="/node_modules/",i=(0,u.useMemo)(()=>t.map(e=>e.issuerPath).filter(Boolean),[t]),s=(0,u.useMemo)(()=>i.filter(t=>!e.filename||t.indexOf(e.filename)>-1),[e.filename,i]),a=s.length&&s.every(e=>e.indexOf(o)>-1),f=(0,u.useMemo)(()=>(0,d.Bq)({files:s.length?s:i,cwd:r,fileTitle:(e,t)=>(0,c.jsx)("div",{onClick:()=>l(e),children:t})}),[e.filename]);return(0,c.jsxs)(v.A,{justify:"start",align:"top",wrap:!1,gutter:20,children:[(0,c.jsx)(ea.A,{span:7,children:(0,c.jsx)(eu.A,{title:"Files",children:(0,c.jsx)(h.h,{style:{width:"100%",height:735,overflow:"scroll"},treeData:f,defaultExpandedKeys:(0,d.ME)(f,a?1:4,a?void 0:e=>{let t=(0,b.Jt)(e,"__RESOURCEPATH__").indexOf(o)>-1;return!!(s.length&&s.every(e=>e.indexOf(o)>-1))||!t})},`tree_${e.filename}`)})}),n&&(0,c.jsx)(y.zW,{api:j.hp.uT.n.GetResolverFileDetails,body:{filepath:n},children:e=>(0,c.jsx)(ef,{...e})})]})};(0,y.eN)({api:j.hp.uT.n.GetProjectInfo,responsePropName:"project",Component:e=>{let{project:t}=e,{root:r}=t,[n,l]=(0,u.useState)("");return(0,c.jsxs)("div",{style:{width:"100%"},children:[(0,c.jsx)(A.A,{style:{marginTop:20,marginBottom:20},children:(0,c.jsx)(K.E,{icon:(0,c.jsx)(es.A,{}),label:"Filename",placeholder:"search filename by keyword",onChange:e=>l(e)})}),(0,c.jsx)(y.zW,{api:j.hp.uT.n.GetResolverFileTree,children:e=>(0,c.jsx)(eh,{filename:n,resolver:e,cwd:r})})]})}});let ep="ModuleResolve",ey=j.Kj.EH.ModuleResolve;j.Kj.EH.RuleIndex;var ej=r(72311),eg=r(44462),em=r(54378),eb=r(21344),ev=r(18345);r(22890),j.Kj.EH.TreeShaking,(0,y.kn)(d.Cj,[["moduleGraph","data"],["root","cwd"]],e=>{let{data:t,cwd:r}=e,n=(0,d.mB)(t);if(0===n.size())return(0,c.jsx)(eb.$,{});let[l,o]=(0,u.useState)(""),[i,s]=(0,u.useState)(1),[a,f]=(0,u.useState)([]),[p,g]=(0,u.useState)("side-effect"),b=(0,u.useMemo)(()=>n.getModules().filter(e=>e.kind===j.hp.JT.Normal&&$().basename(e.path).includes(l)),[l]),x=(0,u.useMemo)(()=>b.find(e=>e.isEntry),[]),[A,w]=(0,u.useState)(x||b?.length&&b?.[0]),O=(0,eg.EV)(b,n,l,A,e=>{S(b.find(t=>t.path===e),[])},r),S=(e,t,r)=>{w(e),f(t.slice()),m.AP.Et(r)&&s(r)};return(0,c.jsxs)(eu.A,{title:"Tree Shaking Analysis",bodyStyle:{paddingTop:0},className:"tree-shaking-page",children:[(0,c.jsxs)(v.A,{justify:"space-between",align:"middle",style:{marginBottom:20,marginTop:20},children:[(0,c.jsx)(K.E,{icon:(0,c.jsx)(es.A,{}),width:400,label:"FileName",placeholder:"search filename by keyword",style:{width:"auto"},onChange:e=>o(e)}),(0,c.jsxs)(ej.A.Group,{value:p,onChange:e=>{let{target:t}=e;return g(t.value)},children:[(0,c.jsx)(ej.A.Button,{value:"side-effect",children:"SideEffects"}),(0,c.jsx)(ej.A.Button,{value:"export",children:"Export Variables"})]})]}),(0,c.jsxs)(v.A,{justify:"space-between",align:"top",wrap:!1,gutter:[20,20],children:[(0,c.jsx)(ea.A,{span:7,children:(0,c.jsx)(eu.A,{title:`Total Files: ${b.length}`,className:"tree-shaking-files-box",children:(0,c.jsx)(h.h,{style:{height:"80%"},className:"tree-shaking-files",selectedKeys:A?[A.path]:[],defaultExpandedKeys:(0,eg.ut)(O),treeData:O,expandAction:"click"})})}),(0,c.jsx)(ea.A,{span:9,children:(0,c.jsx)(y.zW,{api:j.hp.uT.n.GetModuleCodeByModuleId,body:{moduleId:A.id},children:e=>(0,c.jsx)(em.B,{module:A,moduleGraph:n,ranges:a,toLine:i,setEditorData:S,source:e})})}),(0,c.jsx)(ea.A,{flex:1,children:(0,c.jsx)(ev.oK,{kind:p,setEditorData:S,module:A,moduleGraph:n})})]})]})});var ex=r(54845);r(90979),j._8.z.Overall,j._8.z.BundleSize,j.Kj.EH.Uploader},35784(e,t,r){r.d(t,{Bq:()=>p,ME:()=>f,Rz:()=>j,Zb:()=>y});var n=r(64558),l=r(67782),o=r(85326),i=r(61324),s=r(14124),a=r(37831),c=r(48406),u=r(75140);let d=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"/",r=e?.indexOf(t);return -1===r?null:0===r?t+(d(e?.slice(1),t)||""):e?.slice(0,r)};function f(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:2,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:()=>!0,n=0,l=[],o=e;for(;n<t&&(o.filter(r).forEach(e=>{e.isLeaf||l.push(e.key)}),(o=o.reduce((e,t)=>e.concat(t.children||[]),[])).length);)n++;return l}let h="__BASENAME__";function p(e){let{files:t,inlinedResourcePathKey:r="__RESOURCEPATH__",fileTitle:n=(e,t)=>t,dirTitle:o=(e,t)=>t,page:i="other"}=e,s=t.map(e=>e.replace(/\\/g,"/")),a=RegExp("/"),c=s.reduce((e,t)=>{let o=d(t,"/"),s=o?t?.slice(o.length+1):t,c=e;for(;o;){let e=c.children.find(e=>e.title===o);if(!e){let t=[c[r],o].filter(Boolean).join("/");e={title:o,icon:"bundle"===i?e=>g(e,!1):null,key:t,children:[],[r]:t,[h]:o},c.children.push(e)}c=e,s=(o=d(s,"/"))?s.slice(o.length).replace(a,""):s}return c.children.some(e=>(0,l.Jt)(e,r)===t)||c.children.push({title:()=>n(t,s),icon:"bundle"===i?e=>g(e):null,key:t,isLeaf:!0,[r]:t,[h]:s}),e},{key:"0",children:[]}).children;return c.forEach(e=>{e.children&&e.children.forEach(t=>(function e(t,r){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"/",l=arguments.length>3?arguments[3]:void 0,o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:(e,t)=>t;if(!t.isLeaf)if(r.children&&1===r.children.length){let i=[r[h],t[h]].join(n);r[l]=t[l],r[h]=i,r.key=[r.key,t.key].join("-"),r.children=t.children,r.title=o(r,i),t.children&&t.children.forEach(t=>{e(t,r,n,l,o)})}else t.title=o(t,t[h]),t.children&&t.children.forEach(r=>{e(r,t,n,l,o)})})(t,e,"/",r,o))}),c}function y(e,t){return e.startsWith(t)?e.replace(t,"."):e}function j(e,t){let r=y(e,t),n="/node_modules/",l=r.lastIndexOf(n);return l>-1?{alias:r.slice(l+n.length),inNodeModules:!0}:{alias:r,inNodeModules:!1}}function g(e){let t=!(arguments.length>1)||void 0===arguments[1]||arguments[1],{data:r}=e,l=e.expanded;return r?.children?(0,n.jsxs)(o.A,{children:[t?(0,n.jsx)(i.A,{className:`file-tree-switcher-arrow ${l?"file-tree-switcher-arrow-expand":""}`}):(0,n.jsx)(n.Fragment,{}),l?(0,n.jsx)(s.A,{}):(0,n.jsx)(a.A,{})]}):e.eventKey&&"string"==typeof e.eventKey?(0,u.C)(e.eventKey):(0,n.jsx)(c.A,{})}},1426(e,t,r){r.d(t,{Rz:()=>l.Rz,Zb:()=>l.Zb,$G:()=>B.$G,Bq:()=>l.Bq,Cj:()=>E.Cj,ak:()=>O.ak,a4:()=>T.a4,l9:()=>C.l,Xq:()=>C.X,TR:()=>B.TR,JK:()=>S.J,mZ:()=>B.mZ,Ml:()=>B.Ml,r0:()=>N.r,cv:()=>N.c,it:()=>M.it,C8:()=>B.C8,ME:()=>l.ME,Kv:()=>M.Kv,ZI:()=>M.ZI,y8:()=>v,VX:()=>n.V,sO:()=>x,s9:()=>y,yC:()=>m,mB:()=>k.mB,nN:()=>j,DP:()=>k.DP,al:()=>w,CL:()=>b,xF:()=>g,an:()=>k.an,rt:()=>A});var n=r(53715),l=r(35784),o=r(3534),i=r(87826),s=r(67782),a=r(1102),c=r(77673),u=r(23807),d=r(31337),f=r.n(d),h=r(16798);r(71631);let p=i.Kj.EH.RuleIndex,y=c.B;function j(e,t){let r=(0,u.Zp)();return t?()=>window.open(t,"__blank"):()=>{r(`${p}?${i.jO.gh.UrlQueryForErrorCode}=${e}`)}}function g(){let e=(0,u.zy)().search||location.search;return(0,a.useMemo)(()=>f()(e,!0).query,[e])}function m(e){let t=e;"string"==typeof t&&(e=JSON.parse(o.oG.J0(t)));var r=e,n={dependencies:[],modules:[],moduleGraphModules:[],exports:[],sideEffects:[],variables:[]};return r&&"object"==typeof r?Array.isArray(r)?n:(0,s.NT)(r,n):n}function b(e){return(0,s.hS)(e,e=>e.path)}function v(e){return Array.isArray(e)?e.filter(e=>e.category===i.jO.y1.Compile&&e.code!==i.jO.jr.Overlay):[]}function x(e){return(Array.isArray(e)?e.filter(e=>e.category===i.jO.y1.Bundle&&e.code!==i.jO.jr.Overlay):[]).filter(e=>e.code===i.jO.bW.E1001.code)}function A(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];return Array.isArray(e)?e.find(e=>"webpack"===e.name||"rspack"===e.name):null}let w=()=>{let{token:e}=h.A.useToken();return e};var O=r(5525),S=r(24336),k=r(22009),E=r(83977),N=r(62772),C=r(91431);r(19495);var M=r(10815),T=r(72911),B=r(36577);r(36744),r(90979)},90979(e,t,r){r(87826),r(41537),r(67782)},36577(e,t,r){var n=r(31337),l=r.n(n),o=r(87826);function i(e){e.hash.endsWith(o.Kj.EH.Uploader)&&e.set("hash",o.Kj.EH.Overall)}function s(){let{query:e}=l()(location.href,!0),t=e[o.Kj.H9.ManifestFile];if(t)return decodeURIComponent(t)}function a(){let{query:e}=l()(location.href,!0),t=e[o.Kj.H9.EnableRoutes];if(!t&&location.hash&&(t=l()(location.hash,!0).query[o.Kj.H9.EnableRoutes]),!t&&location.hash){let e=location.hash,r=e.indexOf("?");-1!==r&&(t=new URLSearchParams(e.substring(r+1)).get(o.Kj.H9.EnableRoutes)||void 0)}if(t)try{return JSON.parse(decodeURIComponent(t))}catch(e){console.warn("Failed to parse enableRoutes from URL query:",e)}}function c(e){let t=l()(location.href,!0),r=l()(e,!0);return i(t),t.set("origin",e),t.set("protocol",r.protocol),t.set("host",r.host),t.set("port",r.port),t.toString()}function u(e,t){let r,n=l()(location.href,!0);r=l()(o.YM.Fv,!0),n.set("origin",r.origin),n.set("protocol",r.protocol),n.set("host",r.host),n.set("pathname",r.pathname),i(n);let s={...n.query,[o.Kj.H9.ManifestFile]:e};return t&&t.length>0&&(s[o.Kj.H9.EnableRoutes]=JSON.stringify(t)),n.set("query",s),n.toString()}function d(e){return null!=e}r.d(t,{$G:()=>c,C8:()=>d,TR:()=>a,kJ:()=>s,mZ:()=>u},{Ml:e=>{if(e?.indexOf("node_modules")>=0){let t=e.split("node_modules");return`node_modules${t[t.length-1]}`}return e?.length?`${e?.split("/").slice(-4).join("/")}`:e}})},67782(e,t,r){function n(e,t){return e===t||Number.isNaN(e)&&Number.isNaN(t)}function l(e){var t;return null!=e&&"function"!=typeof e&&Number.isSafeInteger(t=e.length)&&t>=0}function o(e){return null!==e&&("object"==typeof e||"function"==typeof e)}let i=/^(?:0|[1-9]\d*)$/;function s(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Number.MAX_SAFE_INTEGER;switch(typeof e){case"number":return Number.isInteger(e)&&e>=0&&e<t;case"symbol":return!1;case"string":return i.test(e)}}function a(e){for(var t,r,i=arguments.length,a=Array(i>1?i-1:0),c=1;c<i;c++)a[c-1]=arguments[c];e=Object(e);let u=Object.prototype,d=a.length,f=d>2?a[2]:void 0;f&&(t=a[0],r=a[1],o(f)&&("number"==typeof r&&l(f)&&s(r)&&r<f.length||"string"==typeof r&&r in f)&&n(f[r],t))&&(d=1);for(let t=0;t<d;t++){if(null==a[t])continue;let r=a[t],l=Object.keys(r);for(let t=0;t<l.length;t++){let o=l[t],i=e[o];(void 0===i||!Object.hasOwn(e,o)&&n(i,u[o]))&&(e[o]=r[o])}}return e}let c={"&":"&","<":"<",">":">",'"':""","'":"'"};function u(e){if(null==e)return"";if("string"==typeof e)return e;if(Array.isArray(e))return e.map(u).join(",");let t=String(e);return"0"===t&&Object.is(Number(e),-0)?"-0":t}function d(e){return u(e).replace(/[&<>"']/g,e=>c[e])}function f(e){return e}function h(e){return"__proto__"===e}function p(e){switch(typeof e){case"number":case"symbol":return!1;case"string":return e.includes(".")||e.includes("[")||e.includes("]")}}function y(e){return"string"==typeof e||"symbol"==typeof e?e:Object.is(e?.valueOf?.(),-0)?"-0":String(e)}function j(e){if(Array.isArray(e))return e.map(y);if("symbol"==typeof e)return[e];e=u(e);let t=[],r=e.length;if(0===r)return t;let n=0,l="",o="",i=!1;for(46===e.charCodeAt(0)&&t.push("");n<r;){let s=e[n];if(o)"\\"===s&&n+1<r?l+=e[++n]:s===o?o="":l+=s;else if(i)'"'===s||"'"===s?o=s:"]"===s?(i=!1,t.push(l),l=""):l+=s;else if("["===s)i=!0,l&&(t.push(l),l="");else if("."===s){l&&(t.push(l),l="");let r=e[n+1];(void 0===r||"."===r)&&t.push("")}else l+=s;n++}return l&&t.push(l),t}function g(e,t,r){if(null==e)return r;switch(typeof t){case"string":{if(h(t))return r;let n=e[t];if(void 0===n)if(p(t)&&!Object.hasOwn(e,t))return g(e,j(t),r);else return r;return n}case"number":case"symbol":{"number"==typeof t&&(t=y(t));let n=e[t];if(void 0===n)return r;return n}default:{if(Array.isArray(t)){var n=t;if(0===n.length)return r;let l=e;for(let e=0;e<n.length;e++){if(null==l||h(n[e]))return r;l=l[n[e]]}return void 0===l?r:l}if(h(t=Object.is(t?.valueOf(),-0)?"-0":String(t)))return r;let l=e[t];if(void 0===l)return r;return l}}}function m(e){return null==e||"object"!=typeof e&&"function"!=typeof e}function b(e){return Object.getOwnPropertySymbols(e).filter(t=>Object.prototype.propertyIsEnumerable.call(e,t))}function v(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":Object.prototype.toString.call(e)}let x="[object RegExp]",A="[object String]",w="[object Number]",O="[object Boolean]",S="[object Arguments]",k="[object Symbol]",E="[object Date]",N="[object Map]",C="[object Set]",M="[object Array]",T="[object ArrayBuffer]",B="[object Object]",_="[object DataView]",D="[object Uint8Array]",R="[object Uint8ClampedArray]",z="[object Uint16Array]",P="[object Uint32Array]",F="[object Int8Array]",K="[object Int16Array]",U="[object Int32Array]",$="[object Float32Array]",H="[object Float64Array]",I="object"==typeof globalThis&&globalThis||"object"==typeof window&&window||"object"==typeof self&&self||"object"==typeof r.g&&r.g||function(){return this}();function L(e){return void 0!==I.Buffer&&I.Buffer.isBuffer(e)}function q(e,t,r){let n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:new Map,l=arguments.length>4?arguments[4]:void 0,o=l?.(e,t,r,n);if(void 0!==o)return o;if(m(e))return e;if(n.has(e))return n.get(e);if(Array.isArray(e)){let t=Array(e.length);n.set(e,t);for(let o=0;o<e.length;o++)t[o]=q(e[o],o,r,n,l);return Object.hasOwn(e,"index")&&(t.index=e.index),Object.hasOwn(e,"input")&&(t.input=e.input),t}if(e instanceof Date)return new Date(e.getTime());if(e instanceof RegExp){let t=new RegExp(e.source,e.flags);return t.lastIndex=e.lastIndex,t}if(e instanceof Map){let t=new Map;for(let[o,i]of(n.set(e,t),e))t.set(o,q(i,o,r,n,l));return t}if(e instanceof Set){let t=new Set;for(let o of(n.set(e,t),e))t.add(q(o,void 0,r,n,l));return t}if(L(e))return e.subarray();if(ArrayBuffer.isView(e)&&!(e instanceof DataView)){let t=new(Object.getPrototypeOf(e)).constructor(e.length);n.set(e,t);for(let o=0;o<e.length;o++)t[o]=q(e[o],o,r,n,l);return t}if(e instanceof ArrayBuffer||"u">typeof SharedArrayBuffer&&e instanceof SharedArrayBuffer)return e.slice(0);if(e instanceof DataView){let t=new DataView(e.buffer.slice(0),e.byteOffset,e.byteLength);return n.set(e,t),G(t,e,r,n,l),t}if("u">typeof File&&e instanceof File){let t=new File([e],e.name,{type:e.type});return n.set(e,t),G(t,e,r,n,l),t}if("u">typeof Blob&&e instanceof Blob){let t=new Blob([e],{type:e.type});return n.set(e,t),G(t,e,r,n,l),t}if(e instanceof Error){let t=structuredClone(e);return n.set(e,t),t.message=e.message,t.name=e.name,t.stack=e.stack,t.cause=e.cause,t.constructor=e.constructor,G(t,e,r,n,l),t}if(e instanceof Boolean){let t=new Boolean(e.valueOf());return n.set(e,t),G(t,e,r,n,l),t}if(e instanceof Number){let t=new Number(e.valueOf());return n.set(e,t),G(t,e,r,n,l),t}if(e instanceof String){let t=new String(e.valueOf());return n.set(e,t),G(t,e,r,n,l),t}if("object"==typeof e&&function(e){switch(v(e)){case S:case M:case T:case _:case O:case E:case $:case H:case F:case K:case U:case N:case w:case B:case x:case C:case A:case k:case D:case R:case z:case P:return!0;default:return!1}}(e)){let t=Object.create(Object.getPrototypeOf(e));return n.set(e,t),G(t,e,r,n,l),t}return e}function G(e,t){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:e,n=arguments.length>3?arguments[3]:void 0,l=arguments.length>4?arguments[4]:void 0,o=[...Object.keys(t),...b(t)];for(let i=0;i<o.length;i++){let s=o[i],a=Object.getOwnPropertyDescriptor(e,s);(null==a||a.writable)&&(e[s]=q(t[s],s,r,n,l))}}function V(e,t,r,l){let i=arguments.length>4&&void 0!==arguments[4]&&arguments[4];if(t===e)return!0;switch(typeof t){case"object":if(null==t)return!0;if(Array.isArray(t))return Y(e,t,r,l);if(t instanceof Map){if(0===t.size)return!0;if(!(e instanceof Map))return!1;for(let[n,o]of t.entries())if(!1===r(e.get(n),o,n,e,t,l))return!1;return!0}if(t instanceof Set)return 0===t.size||e instanceof Set&&Y([...e],[...t],r,l);let s=Object.keys(t);if(null==e||m(e))return 0===s.length;if(0===s.length)return!0;if(l?.has(t))return l.get(t)===e;l?.set(t,e);try{for(let n=0;n<s.length;n++){let o=s[n];if(!m(e)&&!(o in e)||void 0===t[o]&&void 0!==e[o]||null===t[o]&&null!==e[o]||!r(e[o],t[o],o,e,t,l))return!1}return!0}finally{l?.delete(t)}case"function":if(Object.keys(t).length>0)return V(e,{...t},r,l,i);return n(e,t);default:if(!o(e))return n(e,t);if(i){if("string"==typeof t)return""===t;return!0}return n(e,t)}}function Y(e,t,r,n){if(0===t.length)return!0;if(!Array.isArray(e))return!1;let l=new Set;for(let o=0;o<t.length;o++){let i=t[o],s=!1;for(let a=0;a<e.length;a++){if(l.has(a))continue;let c=e[a],u=!1;if(r(c,i,o,e,t,n)&&(u=!0),u){l.add(a),s=!0;break}}if(!s)return!1}return!0}function W(e,t){return function e(t,r,n){return"function"!=typeof n?e(t,r,()=>void 0):V(t,r,function e(t,r,l,o,i,s){let a=n(t,r,l,o,i,s);return void 0!==a?!!a:V(t,r,e,s,!1)},new Map,!0)}(e,t,()=>void 0)}function J(e){if(null==e)return f;switch(typeof e){case"function":return e;case"object":if(Array.isArray(e)&&2===e.length){var t,r,n,l,o=e[0],i=e[1];switch(typeof o){case"object":Object.is(o?.valueOf(),-0)&&(o="-0");break;case"number":o=y(o)}return t=i,r=(e,r,n,l)=>{let o;if(void 0!==o)return o;if("object"==typeof t){if("[object Object]"===v(t)&&"function"!=typeof t.constructor){let e={};return l.set(t,e),G(e,t,n,l),e}switch(Object.prototype.toString.call(t)){case w:case A:case O:{let e=new t.constructor(t?.valueOf());return G(e,t),e}case S:{let e={};return G(e,t),e.length=t.length,e[Symbol.iterator]=t[Symbol.iterator],e}default:return}}},i=q(t,void 0,t,new Map,r),function(e){let t=g(e,o);return void 0===t?function(e,t){let r;if(0===(r=Array.isArray(t)?t:"string"==typeof t&&p(t)&&e?.[t]==null?j(t):[t]).length)return!1;let n=e;for(let e=0;e<r.length;e++){var l;let t=r[e];if((null==n||!Object.hasOwn(n,t))&&!((Array.isArray(n)||null!==(l=n)&&"object"==typeof l&&"[object Arguments]"===v(l))&&s(t)&&t<n.length))return!1;n=n[t]}return!0}(e,o):void 0===i?void 0===t:W(t,i)}}return n=q(l=n=e,void 0,l,new Map,void 0),e=>W(e,n);case"string":case"symbol":case"number":return function(t){return g(t,e)}}}function Z(e,t){return null==e?{}:function(e,t){let r={};for(let n=0;n<e.length;n++){let l=e[n],o=t(l,n,e);Object.hasOwn(r,o)||(r[o]=[]),r[o].push(l)}return r}(l(e)?Array.from(e):Object.values(e),J(t??f))}function X(){}function Q(e){if(!e||"object"!=typeof e)return!1;let t=Object.getPrototypeOf(e);return(null===t||t===Object.prototype||null===Object.getPrototypeOf(t))&&"[object Object]"===Object.prototype.toString.call(e)}function ee(e,t){return function e(t,r,l,o,i,s,a){let c=a(t,r,l,o,i,s);if(void 0!==c)return c;if(typeof t==typeof r)switch(typeof t){case"bigint":case"string":case"boolean":case"symbol":case"undefined":case"function":return t===r;case"number":return t===r||Object.is(t,r)}return function t(r,l,o,i){if(Object.is(r,l))return!0;let s=v(r),a=v(l);if("[object Arguments]"===s&&(s=B),"[object Arguments]"===a&&(a=B),s!==a)return!1;switch(s){case A:return r.toString()===l.toString();case w:return n(r.valueOf(),l.valueOf());case O:case E:case k:return Object.is(r.valueOf(),l.valueOf());case x:return r.source===l.source&&r.flags===l.flags;case"[object Function]":return r===l}let c=(o=o??new Map).get(r),u=o.get(l);if(null!=c&&null!=u)return c===l;o.set(r,l),o.set(l,r);try{switch(s){case N:if(r.size!==l.size)return!1;for(let[t,n]of r.entries())if(!l.has(t)||!e(n,l.get(t),t,r,l,o,i))return!1;return!0;case C:{if(r.size!==l.size)return!1;let t=Array.from(r.values()),n=Array.from(l.values());for(let s=0;s<t.length;s++){let a=t[s],c=n.findIndex(t=>e(a,t,void 0,r,l,o,i));if(-1===c)return!1;n.splice(c,1)}return!0}case M:case D:case R:case z:case P:case"[object BigUint64Array]":case F:case K:case U:case"[object BigInt64Array]":case $:case H:if(L(r)!==L(l)||r.length!==l.length)return!1;for(let t=0;t<r.length;t++)if(!e(r[t],l[t],t,r,l,o,i))return!1;return!0;case T:if(r.byteLength!==l.byteLength)return!1;return t(new Uint8Array(r),new Uint8Array(l),o,i);case _:if(r.byteLength!==l.byteLength||r.byteOffset!==l.byteOffset)return!1;return t(new Uint8Array(r),new Uint8Array(l),o,i);case"[object Error]":return r.name===l.name&&r.message===l.message;case B:{if(!(t(r.constructor,l.constructor,o,i)||Q(r)&&Q(l)))return!1;let n=[...Object.keys(r),...b(r)],s=[...Object.keys(l),...b(l)];if(n.length!==s.length)return!1;for(let t=0;t<n.length;t++){let s=n[t],a=r[s];if(!Object.hasOwn(l,s))return!1;let c=l[s];if(!e(a,c,s,r,l,o,i))return!1}return!0}default:return!1}}finally{o.delete(r),o.delete(l)}}(t,r,s,a)}(e,t,void 0,void 0,void 0,void 0,X)}function et(e,t){if(null!=e)return function(e,t){if(0===e.length)return;let r=e[0],n=-1/0;for(let l=0;l<e.length;l++){let o=e[l],i=t(o,l,e);if(Number.isNaN(i))return o;i>n&&(n=i,r=o)}return r}(Array.from(e),J(t??f))}function er(e,t){if(null!=e)return function(e,t){if(0===e.length)return;let r=e[0],n=1/0;for(let l=0;l<e.length;l++){let o=e[l],i=t(o,l,e);if(Number.isNaN(i))return o;i<n&&(n=i,r=o)}return r}(Array.from(e),J(t??f))}function en(e,t){let r;if(!e||!e.length)return 0;null!=t&&(t=J(t));for(let n=0;n<e.length;n++){let l=t?t(e[n]):e[n];void 0!==l&&(void 0===r?r=l:r+=l)}return r}function el(e){return l(e)?[...new Set(Array.from(e))]:[]}function eo(e){var t;let r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:f;return"object"==typeof e&&null!==e&&l(e)?function(e,t){let r=new Map;for(let n=0;n<e.length;n++){let l=e[n],o=t(l,n,e);r.has(o)||r.set(o,l)}return Array.from(r.values())}(Array.from(e),(t=J(r),function(){for(var e=arguments.length,r=Array(e),n=0;n<e;n++)r[n]=arguments[n];return t.apply(this,r.slice(0,1))})):[]}function ei(e){var t;return(t=u(e)).substring(0,1).toUpperCase()+t.substring(1)}r.d(t,{$z:()=>Z,Jt:()=>g,NT:()=>a,Sk:()=>et,Zb:()=>ei,hS:()=>eo,ih:()=>d,n4:()=>ee,sb:()=>el,wq:()=>er,xu:()=>en})},3534(e,t,r){r.d(t,{Wh:()=>f,oG:()=>s,B_:()=>d,Fp:()=>h,TS:()=>c,aH:()=>o,AP:()=>p,_8:()=>l,xR:()=>a,gX:()=>i,s0:()=>u}),(n={}).Bootstrap="bootstrap->beforeCompile",n.Compile="beforeCompile->afterCompile",n.Done="afterCompile->done",n.Minify="minify(processAssets)";var n,l=r(73555),o=r(94485),i=r(34275),s=r(16397),a=r(47776),c=r(88297);r(17806);var u=r(52497),d=r(61101),f=r(64033),h=r(33592);r(83920),r(16664);var p=r(62343)},52734(e,t,r){r(46068)},62343(e,t,r){function n(e){return void 0===e}function l(e){return"number"==typeof e||"object"==typeof e&&null!==e&&"[object Number]"===Object.prototype.toString.call(e)}function o(e){return e[e.length-1]}function i(e){return null==e}function s(e,t){let r={};for(let n=0;n<t.length;n++){let l=t[n];Object.hasOwn(e,l)&&(r[l]=e[l])}return r}r.d(t,{Et:()=>l,HV:()=>o,Up:()=>s,b0:()=>n,gD:()=>i})},41537(e,t,r){r.d(t,{nV:()=>n.nV,dh:()=>n.dh});var n=r(75083);r(57896)},75083(e,t,r){r.d(t,{nV:()=>n.n,dh:()=>l.d}),r(87826),r(52734),r(11223);var n=r(66714),l=r(22464);r(61726);var o=r(13078),i=r.n(o);let{dirname:s,join:a}=i(),c=/[a-zA-Z0-9]+(?:[-|_|.]+[a-zA-Z0-9]+)*/,u=RegExp(`(?:${/(?:node_modules|~)(?:\/\.pnpm)?/.source}/)(?:(?:@${c.source}[/|+])?(?:${c.source}\\+)*(?:${c.source})(?:${/@[\w|\-|_|.]+/.source})?)(?:_(?:@${c.source}[/|+])?(?:${c.source})(?:@${c.source})?)*/`,"g"),{relative:d}=i(),{resolve:f}=i()},57896(e,t,r){r(13078),r(52734),r(85409),r(75083),r(8963).hp,r(72229),r(87826),r(8963).hp,r(98147)},11339(e,t,r){var n,l,o,i=((n={}).BundleDiffFiles="__bundle_files__",n.ManifestFile="manifest",n.EnableRoutes="enableRoutes",n),s=((l={}).Home="/",l.Overall="/overall",l.LoaderOverall="/loaders/overall",l.LoaderAnalysis="/loaders/analysis",l.ModuleResolve="/module/resolve",l.Plugins="/plugins",l.BundleSize="/bundle/size",l.ModuleAnalyze="/module/analyze",l.TreeShaking="/treeshaking",l.BundleDiff="/resources/bundle/diff",l.RuleIndex="/resources/rules",l.Uploader="/resources/uploader",l.EmoCheck="/emo/check",l),a=((o={}).Equal="-",o.Up="UP",o.Down="DOWN",o);r.d(t,{EH:()=>s,H9:()=>i,Ol:()=>a})},57942(e,t,r){r.d(t,{gh:()=>y,bW:()=>h,y1:()=>n.y,jr:()=>n.j});var n=r(13259),l=r(61982),o=r(65467),i=r(17524),s=r(45121),a=r(37842),c=r(44639),u=r(10024),d=r(89205),f=r(77366);let h={[l.a]:l.i,[o.a]:o.i,[i.a]:i.i,[s.a]:s.i,[a.a]:a.i,[c.a]:c.i,[u.a]:u.i,[d.a]:d.i,[f.a]:f.i};var p,y=((p={}).UrlQueryForErrorCode="code",p)},4349(e,t,r){var n,l,o,i=((n={})[n.Unknown=0]="Unknown",n[n.ImportStatement=1]="ImportStatement",n[n.DynamicImport=2]="DynamicImport",n[n.RequireCall=3]="RequireCall",n[n.AMDRequire=4]="AMDRequire",n),s=((l={})[l.Normal=0]="Normal",l[l.Concatenation=1]="Concatenation",l),a=((o={})[o.NoCode=0]="NoCode",o[o.Normal=1]="Normal",o[o.NoSource=2]="NoSource",o[o.NoSourceAndAssets=3]="NoSourceAndAssets",o[o.All=4]="All",o);r.d(t,{JT:()=>s,w5:()=>a,yV:()=>i})}},s={};function a(e){var t=s[e];if(void 0!==t)return t.exports;var r=s[e]={exports:{}};return i[e].call(r.exports,r,r.exports,a),r.exports}a.m=i,a.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return a.d(t,{a:t}),t},t=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,a.t=function(r,n){if(1&n&&(r=this(r)),8&n||"object"==typeof r&&r&&(4&n&&r.__esModule||16&n&&"function"==typeof r.then))return r;var l=Object.create(null);a.r(l);var o={};e=e||[null,t({}),t([]),t(t)];for(var i=2&n&&r;("object"==typeof i||"function"==typeof i)&&!~e.indexOf(i);i=t(i))Object.getOwnPropertyNames(i).forEach(e=>{o[e]=()=>r[e]});return o.default=()=>r,a.d(l,o),l},a.d=(e,t,r)=>{var n=(t,r)=>{for(var n in t)a.o(t,n)&&!a.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,[r]:t[n]})};n(t,"get"),n(r,"value")},a.g=(()=>{if("object"==typeof globalThis)return globalThis;try{return this||Function("return this")()}catch(e){if("object"==typeof window)return window}})(),a.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),a.r=e=>{"u">typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r=[],a.O=(e,t,n,l)=>{if(t){l=l||0;for(var o=r.length;o>0&&r[o-1][2]>l;o--)r[o]=r[o-1];r[o]=[t,n,l];return}for(var i=1/0,o=0;o<r.length;o++){for(var[t,n,l]=r[o],s=!0,c=0;c<t.length;c++)(!1&l||i>=l)&&Object.keys(a.O).every(e=>a.O[e](t[c]))?t.splice(c--,1):(s=!1,l<i&&(i=l));if(s){r.splice(o--,1);var u=n();void 0!==u&&(e=u)}}return e},a.j="331",n={331:0},a.O.j=e=>0===n[e],l=(e,t)=>{var r,l,[o,i,s]=t,c=0;if(o.some(e=>0!==n[e])){for(r in i)a.o(i,r)&&(a.m[r]=i[r]);if(s)var u=s(a)}for(e&&e(t);c<o.length;c++)l=o[c],a.o(n,l)&&n[l]&&n[l][0](),n[l]=0;return a.O(u)},(o=self.rspackChunk_rsdoctor_client=self.rspackChunk_rsdoctor_client||[]).forEach(l.bind(null,0)),o.push=l.bind(null,o.push.bind(o));var c=a.O(void 0,["85","286","834","187"],()=>a(39899));c=a.O(c)})();
|
|
57
|
+
`.trim()}function d(e,t){let[r,n]=(0,a.useState)(e);return(0,a.useEffect)(()=>{let r=setTimeout(()=>n(e),t);return()=>clearTimeout(r)},[e,t]),r}r.d(t,{Bq:()=>c,Wy:()=>d,iv:()=>u})},46977(e,t,r){var n=r(64558);r(1102);var l=r(66482),o=r(50037),i=r(2895);let s=e=>{let{text:t,els:r,marked:s=!1,rest:a}=e;if(!t)return null;let c=t.length;if(c>40){let e=Math.floor(18.5),r=Math.ceil(18.5);return(0,n.jsx)(o.A,{content:t,placement:"left",children:(0,n.jsx)("div",{children:(0,n.jsxs)(l.A.Text,{className:i.A.text,mark:!!s,...a,children:[t.slice(0,e),"...",t.slice(c-r)]})})})}return(0,n.jsx)(o.A,{content:t,children:(0,n.jsx)("div",{children:(0,n.jsx)(l.A.Text,{className:i.A.text,...a,children:t},r?r.length:0)})})};r.d(t,{},{i:e=>{let{text:t,keyword:r,...o}=e;if(!r||-1===t.indexOf(r))return s({text:t,rest:o});let a=[],c=t;for(;c.length>0;){let e=c.indexOf(r);if(e>-1)0!==e&&a.push(s({text:c,els:a})),a.push(s({text:c,els:a,marked:!0})),c=c.slice(e+r.length);else{a.push(s({text:c,els:a,marked:!0}));break}}return(0,n.jsx)(l.A.Text,{className:i.A.text,...o,children:a})}})},76274(e,t,r){let n=(0,r(1102).createContext)({project:null});r.d(t,{},{h:n})},91307(e,t,r){var n=r(64558),l=r(304),o=r(1102),i=r(1426),s=r(15061),a=r(82982);function c(e,t,r){let c=e();return function(){let[u,d]=(0,o.useState)(),[f,h]=(0,o.useState)(s.jK.Pending),[p,y]=(0,o.useState)({}),{loader:j}=(0,i.VX)(u);function g(e){return e.then(e=>{d(e)}).catch(()=>{h(s.jK.Fail)})}function m(e){e&&Promise.all(t.map(t=>{let[r]=t;return e.loadData(r)})).then(e=>{y(e.reduce((e,r,n)=>{let[l,o]=t[n];return e[o]=r,e},{})),h(s.jK.Success)}).catch(e=>{console.error(e),h(s.jK.Fail)})}return((0,o.useEffect)(()=>{g(c).then(()=>{m(j)})},[j]),f===s.jK.Pending)?(0,n.jsx)(l.A,{active:!0}):f===s.jK.Fail?(0,n.jsx)(a.c,{retry:()=>{h(s.jK.Pending),c.then(()=>{m(j)}).catch(()=>{g(e())})}}):(0,n.jsx)(r,{...p})}}r.d(t,{k:()=>c})},88557(e,t,r){r.d(t,{A:()=>l,h:()=>o});var n=r(64558);let l=e=>{let{title:t,description:r,icon:l,style:o}=e;return(0,n.jsxs)("div",{className:"container-KSV5DZ",style:o,children:[(0,n.jsxs)("div",{className:"content-BsjkSU",children:[(0,n.jsx)("div",{className:"title-jUwqD5",children:t}),(0,n.jsx)("div",{className:"description-ArkOg4",children:r})]}),l]})};var o=l},82982(e,t,r){var n=r(40879);r.d(t,{c:()=>n.c})},81650(e,t,r){r(64558),r(1102),r(70403)},39899(e,t,r){var n=r(64558);r(71631);var l=r(59083);r(1102);var o=r(23807),i=r(42718);function s(){return(0,n.jsxs)(o.BV,{children:[(0,n.jsx)(o.qh,{path:"/",element:(0,n.jsx)(i.aD.YW,{})}),(0,n.jsx)(o.qh,{path:i.aD.wE,element:(0,n.jsx)(i.aD.YW,{})})]})}var a=r(71029);r(62253);let c=document.getElementById("root");l.createRoot(c).render((0,n.jsx)(()=>(0,n.jsx)(a.A,{router:(0,n.jsx)(s,{})}),{}));let u=document.createElement("link");u.setAttribute("type","image/x-icon"),u.setAttribute("rel","icon"),u.setAttribute("href","https://assets.rspack.rs/rsdoctor/rsdoctor-logo-960x960.png"),document.head.appendChild(u)},80606(e,t,r){let n=r(87826).Kj.EH.Overall;r.d(t,{},{U:"Overall",w:n})},42718(e,t,r){r.d(t,{aD:()=>ex,_y:()=>l,hK:()=>i,pI:()=>o,dn:()=>a,FO:()=>s});var n,l={};r.r(l),r.d(l,{UU:()=>G,wE:()=>V});var o={};r.r(o),r.d(o,{UU:()=>Z,wE:()=>X});var i={};r.r(i),r.d(i,{UU:()=>er,wE:()=>en});var s={};r.r(s),r.d(s,{UU:()=>el,wE:()=>eo});var a={};r.r(a),r.d(a,{UU:()=>ep,wE:()=>ey});var c=r(64558),u=r(1102);r(44506);var d=r(1426);r(49249);var f=r(56753),h=r(75140),p=r(68062),y=r(41611);r(52726);var j=r(87826);let{DirectoryTree:g}=f.A;var m=r(3534);r(17255),r(77172),r(29980),r(55096);var b=r(67782),v=r(80844),x=r(6755),A=r(85326),w=r(66482),O=r(13616),S=r(61324),k=r(9486),E=r.n(k),N=r(76174),C=r(8418);(0,y.eN)({Component:e=>{let{defaultKeys:t,configs:r}=e,n=(0,d.rt)(r||[]);if(!n)return null;let{config:l,version:o,name:i}=n,s=Object.keys(l),[a,f]=(0,u.useState)(t||s);return(0,c.jsxs)(p.hX,{text:(0,c.jsxs)("div",{className:C.A.title,children:[(0,c.jsx)("span",{style:{marginRight:"8px",fontSize:"13px"},children:"View Rspack Config"}),(0,c.jsx)(S.A,{style:{fontSize:"10px"}})]}),children:[(0,c.jsxs)(v.A,{children:[(0,c.jsx)(N.h,{text:"Rspack Config Viewer"}),(0,c.jsx)(x.A,{}),(0,c.jsxs)(A.A,{children:[(0,c.jsx)(w.A.Text,{children:"Properties: "}),(0,c.jsx)(O.A,{dropdownStyle:{zIndex:999},mode:"multiple",allowClear:!0,value:a.length===s.length?[]:a,style:{width:350},popupMatchSelectWidth:!0,placeholder:"Show Selected Properties Only.",onChange:e=>{f(e)},children:s.map(e=>(0,c.jsx)(O.A.Option,{label:e,value:e,children:e},e))})]}),(0,c.jsx)(x.A,{})]}),(0,c.jsx)(E(),{name:o&&"unknown"!==o?`${i}@${o}`:"rspack.config",theme:"monokai",src:0===a.length?l:m.AP.Up(l,a),displayDataTypes:!1,displayObjectSize:!1,style:{overflowX:"auto"}})]})},api:j.hp.uT.n.LoadDataByKey,responsePropName:"configs",body:{key:"configs"},showSkeleton:!1}),r(88557),r(76274),r(80606),r(50832);let{DirectoryTree:M}=f.A,{DirectoryTree:T}=f.A;r(82073),r(35574);var B=r(91241),_=r(37585),D=r(3935),R=r(95838),z=r(51199);r(15061),r(91326);var P=r(73308);r(31008),r(22700),r(97558),r(39101),r(31041),j.Kj.EH.ModuleAnalyze,r(6451);var F=((n={})[n.Reasons=0]="Reasons",n[n.Dependencies=1]="Dependencies",n);F[0],F[0],F[1],F[1],B.Y([_.a,D.a,R.a,z.a]),r(81650),r(8857);var K=r(7415);r(46977);var U=r(13078),$=r.n(U);let{DirectoryTree:H}=f.A;var I=r(70722);r(78131);let{Search:L}=I.A,{Option:q}=O.A,G="BundleSize",V=j.Kj.EH.BundleSize;var Y=r(51747),W=r(95194),J=r(5525);(0,y.eN)({api:j.hp.uT.n.GetProjectInfo,responsePropName:"project",Component:e=>{let{project:t}=e,{root:r}=t,[n,l]=(0,u.useState)({filename:"",loaders:[],layer:""}),[o]=(0,u.useState)(0),{theme:i}=(0,d.DP)();return(0,c.jsxs)(A.A,{direction:"vertical",style:{width:"100%"},children:[(0,c.jsx)(y.zW,{api:j.hp.uT.n.GetLoaderNames,children:e=>(0,c.jsx)(Y.F,{onChange:l,loaderNames:e})}),(0,c.jsx)(y.zW,{api:j.hp.uT.n.GetLoaderChartData,children:e=>{let t=e.filter(e=>(0,J.ak)(e.resource,e.loader,n.filename,n.loaders,e.layer,n?.layer));return 0===o?(0,c.jsx)(W.z,{loaders:t,cwd:r},i):(0,c.jsx)(c.Fragment,{})}})]})}});let Z="Loaders Timeline",X=j.Kj.EH.LoaderOverall;var Q=r(44953),ee=r(73058),et=r(40544);(0,y.eN)({api:j.hp.uT.n.LoadDataByKey,body:{key:"root"},responsePropName:"cwd",Component:e=>{let{cwd:t}=e,[r,n]=(0,u.useState)({filename:"",loaders:[],layer:""});return(0,c.jsx)(Q.Ay,{locale:(0,d.JK)(),theme:{token:{padding:16,fontSize:14}},children:(0,c.jsxs)("div",{className:et.A.loaderAnalysis,children:[(0,c.jsx)(y.zW,{api:j.hp.uT.n.GetLoaderNames,children:e=>(0,c.jsx)(Y.F,{onChange:e=>n(e),loaderNames:e})}),(0,c.jsx)(y.zW,{api:j.hp.uT.n.GetLoaderFileTree,children:e=>(0,c.jsx)(ee.h,{filename:r.filename,filetree:e,loaders:r.loaders,layer:r.layer,cwd:t})})]})})}}),r(25205);let er="Loaders Analysis",en=j.Kj.EH.LoaderAnalysis;r(56743);let el="Plugins Analysis",eo=j.Kj.EH.Plugins;var ei=r(12529),es=r(44767),ea=r(63598),ec=r(78593),eu=r(30147),ed=r(60339);let ef=e=>{let{filepath:t,before:r,after:n,resolvers:l}=e;return(0,c.jsx)(ea.A,{flex:1,children:(0,c.jsx)(ec.A,{defaultActiveKey:"diff",items:[{key:"diff",label:"Resolve Diff Viewer",children:(0,c.jsx)(eu.A,{styles:{body:{padding:0,overflow:"hidden"}},children:(0,c.jsx)(P.Mh,{style:{height:785},isEmbed:!0,originalFilePath:t,modifiedFilePath:t,original:r,modified:n})})},{key:"details",label:"Resolve Details",children:(0,c.jsx)(eu.A,{children:(0,c.jsx)(ed.A,{style:{width:"100%",height:735,overflowY:"scroll",wordBreak:"break-all"},size:"small",pagination:!1,bordered:!0,rowKey:e=>e.request,columns:[{title:"Source Code",width:200,render:(e,t)=>(0,c.jsx)(w.A.Text,{copyable:!0,children:(0,c.jsx)(w.A.Text,{code:!0,strong:!0,children:t.request})})},{title:"Duration",width:80,render:(e,t)=>(0,c.jsx)(w.A.Text,{strong:!0,children:(0,d.a4)(t.costs)}),sorter:(e,t)=>e.costs-t.costs,sortDirections:["descend","ascend"]},{title:"Resolve Result",render:(e,t)=>m.xR.Iu(t)?(0,c.jsx)(w.A.Text,{copyable:!0,children:t.result}):(0,c.jsx)(ei.A,{style:{color:"#f50"}})}],dataSource:l})})}]})})},eh=e=>{let{resolver:t,cwd:r}=e,[n,l]=(0,u.useState)(""),o="/node_modules/",i=(0,u.useMemo)(()=>t.map(e=>e.issuerPath).filter(Boolean),[t]),s=(0,u.useMemo)(()=>i.filter(t=>!e.filename||t.indexOf(e.filename)>-1),[e.filename,i]),a=s.length&&s.every(e=>e.indexOf(o)>-1),f=(0,u.useMemo)(()=>(0,d.Bq)({files:s.length?s:i,cwd:r,fileTitle:(e,t)=>(0,c.jsx)("div",{onClick:()=>l(e),children:t})}),[e.filename]);return(0,c.jsxs)(v.A,{justify:"start",align:"top",wrap:!1,gutter:20,children:[(0,c.jsx)(ea.A,{span:7,children:(0,c.jsx)(eu.A,{title:"Files",children:(0,c.jsx)(h.h,{style:{width:"100%",height:735,overflow:"scroll"},treeData:f,defaultExpandedKeys:(0,d.ME)(f,a?1:4,a?void 0:e=>{let t=(0,b.Jt)(e,"__RESOURCEPATH__").indexOf(o)>-1;return!!(s.length&&s.every(e=>e.indexOf(o)>-1))||!t})},`tree_${e.filename}`)})}),n&&(0,c.jsx)(y.zW,{api:j.hp.uT.n.GetResolverFileDetails,body:{filepath:n},children:e=>(0,c.jsx)(ef,{...e})})]})};(0,y.eN)({api:j.hp.uT.n.GetProjectInfo,responsePropName:"project",Component:e=>{let{project:t}=e,{root:r}=t,[n,l]=(0,u.useState)("");return(0,c.jsxs)("div",{style:{width:"100%"},children:[(0,c.jsx)(A.A,{style:{marginTop:20,marginBottom:20},children:(0,c.jsx)(K.E,{icon:(0,c.jsx)(es.A,{}),label:"Filename",placeholder:"search filename by keyword",onChange:e=>l(e)})}),(0,c.jsx)(y.zW,{api:j.hp.uT.n.GetResolverFileTree,children:e=>(0,c.jsx)(eh,{filename:n,resolver:e,cwd:r})})]})}});let ep="ModuleResolve",ey=j.Kj.EH.ModuleResolve;j.Kj.EH.RuleIndex;var ej=r(72311),eg=r(44462),em=r(54378),eb=r(21344),ev=r(18345);r(22890),j.Kj.EH.TreeShaking,(0,y.kn)(d.Cj,[["moduleGraph","data"],["root","cwd"]],e=>{let{data:t,cwd:r}=e,n=(0,d.mB)(t);if(0===n.size())return(0,c.jsx)(eb.$,{});let[l,o]=(0,u.useState)(""),[i,s]=(0,u.useState)(1),[a,f]=(0,u.useState)([]),[p,g]=(0,u.useState)("side-effect"),b=(0,u.useMemo)(()=>n.getModules().filter(e=>e.kind===j.hp.JT.Normal&&$().basename(e.path).includes(l)),[l]),x=(0,u.useMemo)(()=>b.find(e=>e.isEntry),[]),[A,w]=(0,u.useState)(x||b?.length&&b?.[0]),O=(0,eg.EV)(b,n,l,A,e=>{S(b.find(t=>t.path===e),[])},r),S=(e,t,r)=>{w(e),f(t.slice()),m.AP.Et(r)&&s(r)};return(0,c.jsxs)(eu.A,{title:"Tree Shaking Analysis",bodyStyle:{paddingTop:0},className:"tree-shaking-page",children:[(0,c.jsxs)(v.A,{justify:"space-between",align:"middle",style:{marginBottom:20,marginTop:20},children:[(0,c.jsx)(K.E,{icon:(0,c.jsx)(es.A,{}),width:400,label:"FileName",placeholder:"search filename by keyword",style:{width:"auto"},onChange:e=>o(e)}),(0,c.jsxs)(ej.A.Group,{value:p,onChange:e=>{let{target:t}=e;return g(t.value)},children:[(0,c.jsx)(ej.A.Button,{value:"side-effect",children:"SideEffects"}),(0,c.jsx)(ej.A.Button,{value:"export",children:"Export Variables"})]})]}),(0,c.jsxs)(v.A,{justify:"space-between",align:"top",wrap:!1,gutter:[20,20],children:[(0,c.jsx)(ea.A,{span:7,children:(0,c.jsx)(eu.A,{title:`Total Files: ${b.length}`,className:"tree-shaking-files-box",children:(0,c.jsx)(h.h,{style:{height:"80%"},className:"tree-shaking-files",selectedKeys:A?[A.path]:[],defaultExpandedKeys:(0,eg.ut)(O),treeData:O,expandAction:"click"})})}),(0,c.jsx)(ea.A,{span:9,children:(0,c.jsx)(y.zW,{api:j.hp.uT.n.GetModuleCodeByModuleId,body:{moduleId:A.id},children:e=>(0,c.jsx)(em.B,{module:A,moduleGraph:n,ranges:a,toLine:i,setEditorData:S,source:e})})}),(0,c.jsx)(ea.A,{flex:1,children:(0,c.jsx)(ev.oK,{kind:p,setEditorData:S,module:A,moduleGraph:n})})]})]})});var ex=r(54845);r(90979),j._8.z.Overall,j._8.z.BundleSize,j.Kj.EH.Uploader},35784(e,t,r){r.d(t,{Bq:()=>p,ME:()=>f,Rz:()=>j,Zb:()=>y});var n=r(64558),l=r(67782),o=r(85326),i=r(61324),s=r(14124),a=r(37831),c=r(48406),u=r(75140);let d=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"/",r=e?.indexOf(t);return -1===r?null:0===r?t+(d(e?.slice(1),t)||""):e?.slice(0,r)};function f(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:2,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:()=>!0,n=0,l=[],o=e;for(;n<t&&(o.filter(r).forEach(e=>{e.isLeaf||l.push(e.key)}),(o=o.reduce((e,t)=>e.concat(t.children||[]),[])).length);)n++;return l}let h="__BASENAME__";function p(e){let{files:t,inlinedResourcePathKey:r="__RESOURCEPATH__",fileTitle:n=(e,t)=>t,dirTitle:o=(e,t)=>t,page:i="other"}=e,s=t.map(e=>e.replace(/\\/g,"/")),a=RegExp("/"),c=s.reduce((e,t)=>{let o=d(t,"/"),s=o?t?.slice(o.length+1):t,c=e;for(;o;){let e=c.children.find(e=>e.title===o);if(!e){let t=[c[r],o].filter(Boolean).join("/");e={title:o,icon:"bundle"===i?e=>g(e,!1):null,key:t,children:[],[r]:t,[h]:o},c.children.push(e)}c=e,s=(o=d(s,"/"))?s.slice(o.length).replace(a,""):s}return c.children.some(e=>(0,l.Jt)(e,r)===t)||c.children.push({title:()=>n(t,s),icon:"bundle"===i?e=>g(e):null,key:t,isLeaf:!0,[r]:t,[h]:s}),e},{key:"0",children:[]}).children;return c.forEach(e=>{e.children&&e.children.forEach(t=>(function e(t,r){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"/",l=arguments.length>3?arguments[3]:void 0,o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:(e,t)=>t;if(!t.isLeaf)if(r.children&&1===r.children.length){let i=[r[h],t[h]].join(n);r[l]=t[l],r[h]=i,r.key=[r.key,t.key].join("-"),r.children=t.children,r.title=o(r,i),t.children&&t.children.forEach(t=>{e(t,r,n,l,o)})}else t.title=o(t,t[h]),t.children&&t.children.forEach(r=>{e(r,t,n,l,o)})})(t,e,"/",r,o))}),c}function y(e,t){return e.startsWith(t)?e.replace(t,"."):e}function j(e,t){let r=y(e,t),n="/node_modules/",l=r.lastIndexOf(n);return l>-1?{alias:r.slice(l+n.length),inNodeModules:!0}:{alias:r,inNodeModules:!1}}function g(e){let t=!(arguments.length>1)||void 0===arguments[1]||arguments[1],{data:r}=e,l=e.expanded;return r?.children?(0,n.jsxs)(o.A,{children:[t?(0,n.jsx)(i.A,{className:`file-tree-switcher-arrow ${l?"file-tree-switcher-arrow-expand":""}`}):(0,n.jsx)(n.Fragment,{}),l?(0,n.jsx)(s.A,{}):(0,n.jsx)(a.A,{})]}):e.eventKey&&"string"==typeof e.eventKey?(0,u.C)(e.eventKey):(0,n.jsx)(c.A,{})}},1426(e,t,r){r.d(t,{Rz:()=>l.Rz,Zb:()=>l.Zb,$G:()=>B.$G,Bq:()=>l.Bq,Cj:()=>E.Cj,ak:()=>O.ak,a4:()=>T.a4,l9:()=>C.l,Xq:()=>C.X,TR:()=>B.TR,JK:()=>S.J,mZ:()=>B.mZ,Ml:()=>B.Ml,r0:()=>N.r,cv:()=>N.c,it:()=>M.it,C8:()=>B.C8,ME:()=>l.ME,Kv:()=>M.Kv,ZI:()=>M.ZI,y8:()=>v,VX:()=>n.V,sO:()=>x,s9:()=>y,yC:()=>m,mB:()=>k.mB,nN:()=>j,DP:()=>k.DP,al:()=>w,CL:()=>b,xF:()=>g,an:()=>k.an,rt:()=>A});var n=r(53715),l=r(35784),o=r(3534),i=r(87826),s=r(67782),a=r(1102),c=r(77673),u=r(23807),d=r(31337),f=r.n(d),h=r(16798);r(71631);let p=i.Kj.EH.RuleIndex,y=c.B;function j(e,t){let r=(0,u.Zp)();return t?()=>window.open(t,"__blank"):()=>{r(`${p}?${i.jO.gh.UrlQueryForErrorCode}=${e}`)}}function g(){let e=(0,u.zy)().search||location.search;return(0,a.useMemo)(()=>f()(e,!0).query,[e])}function m(e){let t=e;"string"==typeof t&&(e=JSON.parse(o.oG.J0(t)));var r=e,n={dependencies:[],modules:[],moduleGraphModules:[],exports:[],sideEffects:[],variables:[]};return r&&"object"==typeof r?Array.isArray(r)?n:(0,s.NT)(r,n):n}function b(e){return(0,s.hS)(e,e=>e.path)}function v(e){return Array.isArray(e)?e.filter(e=>e.category===i.jO.y1.Compile&&e.code!==i.jO.jr.Overlay):[]}function x(e){return(Array.isArray(e)?e.filter(e=>e.category===i.jO.y1.Bundle&&e.code!==i.jO.jr.Overlay):[]).filter(e=>e.code===i.jO.bW.E1001.code)}function A(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];return Array.isArray(e)?e.find(e=>"webpack"===e.name||"rspack"===e.name):null}let w=()=>{let{token:e}=h.A.useToken();return e};var O=r(5525),S=r(24336),k=r(22009),E=r(83977),N=r(62772),C=r(91431);r(19495);var M=r(10815),T=r(72911),B=r(36577);r(36744),r(90979)},90979(e,t,r){r(87826),r(41537),r(67782)},36577(e,t,r){var n=r(31337),l=r.n(n),o=r(87826);function i(e){e.hash.endsWith(o.Kj.EH.Uploader)&&e.set("hash",o.Kj.EH.Overall)}function s(){let{query:e}=l()(location.href,!0),t=e[o.Kj.H9.ManifestFile];if(t)return decodeURIComponent(t)}function a(){let{query:e}=l()(location.href,!0),t=e[o.Kj.H9.EnableRoutes];if(!t&&location.hash&&(t=l()(location.hash,!0).query[o.Kj.H9.EnableRoutes]),!t&&location.hash){let e=location.hash,r=e.indexOf("?");-1!==r&&(t=new URLSearchParams(e.substring(r+1)).get(o.Kj.H9.EnableRoutes)||void 0)}if(t)try{return JSON.parse(decodeURIComponent(t))}catch(e){console.warn("Failed to parse enableRoutes from URL query:",e)}}function c(e){let t=l()(location.href,!0),r=l()(e,!0);return i(t),t.set("origin",e),t.set("protocol",r.protocol),t.set("host",r.host),t.set("port",r.port),t.toString()}function u(e,t){let r,n=l()(location.href,!0);r=l()(o.YM.Fv,!0),n.set("origin",r.origin),n.set("protocol",r.protocol),n.set("host",r.host),n.set("pathname",r.pathname),i(n);let s={...n.query,[o.Kj.H9.ManifestFile]:e};return t&&t.length>0&&(s[o.Kj.H9.EnableRoutes]=JSON.stringify(t)),n.set("query",s),n.toString()}function d(e){return null!=e}r.d(t,{$G:()=>c,C8:()=>d,TR:()=>a,kJ:()=>s,mZ:()=>u},{Ml:e=>{if(e?.indexOf("node_modules")>=0){let t=e.split("node_modules");return`node_modules${t[t.length-1]}`}return e?.length?`${e?.split("/").slice(-4).join("/")}`:e}})},67782(e,t,r){function n(e,t){return e===t||Number.isNaN(e)&&Number.isNaN(t)}function l(e){var t;return null!=e&&"function"!=typeof e&&Number.isSafeInteger(t=e.length)&&t>=0}function o(e){return null!==e&&("object"==typeof e||"function"==typeof e)}let i=/^(?:0|[1-9]\d*)$/;function s(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Number.MAX_SAFE_INTEGER;switch(typeof e){case"number":return Number.isInteger(e)&&e>=0&&e<t;case"symbol":return!1;case"string":return i.test(e)}}function a(e){for(var t,r,i=arguments.length,a=Array(i>1?i-1:0),c=1;c<i;c++)a[c-1]=arguments[c];e=Object(e);let u=Object.prototype,d=a.length,f=d>2?a[2]:void 0;f&&(t=a[0],r=a[1],o(f)&&("number"==typeof r&&l(f)&&s(r)&&r<f.length||"string"==typeof r&&r in f)&&n(f[r],t))&&(d=1);for(let t=0;t<d;t++){if(null==a[t])continue;let r=a[t],l=Object.keys(r);for(let t=0;t<l.length;t++){let o=l[t],i=e[o];(void 0===i||!Object.hasOwn(e,o)&&n(i,u[o]))&&(e[o]=r[o])}}return e}let c={"&":"&","<":"<",">":">",'"':""","'":"'"};function u(e){if(null==e)return"";if("string"==typeof e)return e;if(Array.isArray(e))return e.map(u).join(",");let t=String(e);return"0"===t&&Object.is(Number(e),-0)?"-0":t}function d(e){return u(e).replace(/[&<>"']/g,e=>c[e])}function f(e){return e}function h(e){return"__proto__"===e}function p(e){switch(typeof e){case"number":case"symbol":return!1;case"string":return e.includes(".")||e.includes("[")||e.includes("]")}}function y(e){return"string"==typeof e||"symbol"==typeof e?e:Object.is(e?.valueOf?.(),-0)?"-0":String(e)}function j(e){if(Array.isArray(e))return e.map(y);if("symbol"==typeof e)return[e];e=u(e);let t=[],r=e.length;if(0===r)return t;let n=0,l="",o="",i=!1;for(46===e.charCodeAt(0)&&t.push("");n<r;){let s=e[n];if(o)"\\"===s&&n+1<r?l+=e[++n]:s===o?o="":l+=s;else if(i)'"'===s||"'"===s?o=s:"]"===s?(i=!1,t.push(l),l=""):l+=s;else if("["===s)i=!0,l&&(t.push(l),l="");else if("."===s){l&&(t.push(l),l="");let r=e[n+1];(void 0===r||"."===r)&&t.push("")}else l+=s;n++}return l&&t.push(l),t}function g(e,t,r){if(null==e)return r;switch(typeof t){case"string":{if(h(t))return r;let n=e[t];if(void 0===n)if(p(t)&&!Object.hasOwn(e,t))return g(e,j(t),r);else return r;return n}case"number":case"symbol":{"number"==typeof t&&(t=y(t));let n=e[t];if(void 0===n)return r;return n}default:{if(Array.isArray(t)){var n=t;if(0===n.length)return r;let l=e;for(let e=0;e<n.length;e++){if(null==l||h(n[e]))return r;l=l[n[e]]}return void 0===l?r:l}if(h(t=Object.is(t?.valueOf(),-0)?"-0":String(t)))return r;let l=e[t];if(void 0===l)return r;return l}}}function m(e){return null==e||"object"!=typeof e&&"function"!=typeof e}function b(e){return Object.getOwnPropertySymbols(e).filter(t=>Object.prototype.propertyIsEnumerable.call(e,t))}function v(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":Object.prototype.toString.call(e)}let x="[object RegExp]",A="[object String]",w="[object Number]",O="[object Boolean]",S="[object Arguments]",k="[object Symbol]",E="[object Date]",N="[object Map]",C="[object Set]",M="[object Array]",T="[object ArrayBuffer]",B="[object Object]",_="[object DataView]",D="[object Uint8Array]",R="[object Uint8ClampedArray]",z="[object Uint16Array]",P="[object Uint32Array]",F="[object Int8Array]",K="[object Int16Array]",U="[object Int32Array]",$="[object Float32Array]",H="[object Float64Array]",I="object"==typeof globalThis&&globalThis||"object"==typeof window&&window||"object"==typeof self&&self||"object"==typeof r.g&&r.g||function(){return this}();function L(e){return void 0!==I.Buffer&&I.Buffer.isBuffer(e)}function q(e,t,r){let n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:new Map,l=arguments.length>4?arguments[4]:void 0,o=l?.(e,t,r,n);if(void 0!==o)return o;if(m(e))return e;if(n.has(e))return n.get(e);if(Array.isArray(e)){let t=Array(e.length);n.set(e,t);for(let o=0;o<e.length;o++)t[o]=q(e[o],o,r,n,l);return Object.hasOwn(e,"index")&&(t.index=e.index),Object.hasOwn(e,"input")&&(t.input=e.input),t}if(e instanceof Date)return new Date(e.getTime());if(e instanceof RegExp){let t=new RegExp(e.source,e.flags);return t.lastIndex=e.lastIndex,t}if(e instanceof Map){let t=new Map;for(let[o,i]of(n.set(e,t),e))t.set(o,q(i,o,r,n,l));return t}if(e instanceof Set){let t=new Set;for(let o of(n.set(e,t),e))t.add(q(o,void 0,r,n,l));return t}if(L(e))return e.subarray();if(ArrayBuffer.isView(e)&&!(e instanceof DataView)){let t=new(Object.getPrototypeOf(e)).constructor(e.length);n.set(e,t);for(let o=0;o<e.length;o++)t[o]=q(e[o],o,r,n,l);return t}if(e instanceof ArrayBuffer||"u">typeof SharedArrayBuffer&&e instanceof SharedArrayBuffer)return e.slice(0);if(e instanceof DataView){let t=new DataView(e.buffer.slice(0),e.byteOffset,e.byteLength);return n.set(e,t),G(t,e,r,n,l),t}if("u">typeof File&&e instanceof File){let t=new File([e],e.name,{type:e.type});return n.set(e,t),G(t,e,r,n,l),t}if("u">typeof Blob&&e instanceof Blob){let t=new Blob([e],{type:e.type});return n.set(e,t),G(t,e,r,n,l),t}if(e instanceof Error){let t=structuredClone(e);return n.set(e,t),t.message=e.message,t.name=e.name,t.stack=e.stack,t.cause=e.cause,t.constructor=e.constructor,G(t,e,r,n,l),t}if(e instanceof Boolean){let t=new Boolean(e.valueOf());return n.set(e,t),G(t,e,r,n,l),t}if(e instanceof Number){let t=new Number(e.valueOf());return n.set(e,t),G(t,e,r,n,l),t}if(e instanceof String){let t=new String(e.valueOf());return n.set(e,t),G(t,e,r,n,l),t}if("object"==typeof e&&function(e){switch(v(e)){case S:case M:case T:case _:case O:case E:case $:case H:case F:case K:case U:case N:case w:case B:case x:case C:case A:case k:case D:case R:case z:case P:return!0;default:return!1}}(e)){let t=Object.create(Object.getPrototypeOf(e));return n.set(e,t),G(t,e,r,n,l),t}return e}function G(e,t){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:e,n=arguments.length>3?arguments[3]:void 0,l=arguments.length>4?arguments[4]:void 0,o=[...Object.keys(t),...b(t)];for(let i=0;i<o.length;i++){let s=o[i],a=Object.getOwnPropertyDescriptor(e,s);(null==a||a.writable)&&(e[s]=q(t[s],s,r,n,l))}}function V(e,t,r,l){let i=arguments.length>4&&void 0!==arguments[4]&&arguments[4];if(t===e)return!0;switch(typeof t){case"object":if(null==t)return!0;if(Array.isArray(t))return Y(e,t,r,l);if(t instanceof Map){if(0===t.size)return!0;if(!(e instanceof Map))return!1;for(let[n,o]of t.entries())if(!1===r(e.get(n),o,n,e,t,l))return!1;return!0}if(t instanceof Set)return 0===t.size||e instanceof Set&&Y([...e],[...t],r,l);let s=Object.keys(t);if(null==e||m(e))return 0===s.length;if(0===s.length)return!0;if(l?.has(t))return l.get(t)===e;l?.set(t,e);try{for(let n=0;n<s.length;n++){let o=s[n];if(!m(e)&&!(o in e)||void 0===t[o]&&void 0!==e[o]||null===t[o]&&null!==e[o]||!r(e[o],t[o],o,e,t,l))return!1}return!0}finally{l?.delete(t)}case"function":if(Object.keys(t).length>0)return V(e,{...t},r,l,i);return n(e,t);default:if(!o(e))return n(e,t);if(i){if("string"==typeof t)return""===t;return!0}return n(e,t)}}function Y(e,t,r,n){if(0===t.length)return!0;if(!Array.isArray(e))return!1;let l=new Set;for(let o=0;o<t.length;o++){let i=t[o],s=!1;for(let a=0;a<e.length;a++){if(l.has(a))continue;let c=e[a],u=!1;if(r(c,i,o,e,t,n)&&(u=!0),u){l.add(a),s=!0;break}}if(!s)return!1}return!0}function W(e,t){return function e(t,r,n){return"function"!=typeof n?e(t,r,()=>void 0):V(t,r,function e(t,r,l,o,i,s){let a=n(t,r,l,o,i,s);return void 0!==a?!!a:V(t,r,e,s,!1)},new Map,!0)}(e,t,()=>void 0)}function J(e){if(null==e)return f;switch(typeof e){case"function":return e;case"object":if(Array.isArray(e)&&2===e.length){var t,r,n,l,o=e[0],i=e[1];switch(typeof o){case"object":Object.is(o?.valueOf(),-0)&&(o="-0");break;case"number":o=y(o)}return t=i,r=(e,r,n,l)=>{let o;if(void 0!==o)return o;if("object"==typeof t){if("[object Object]"===v(t)&&"function"!=typeof t.constructor){let e={};return l.set(t,e),G(e,t,n,l),e}switch(Object.prototype.toString.call(t)){case w:case A:case O:{let e=new t.constructor(t?.valueOf());return G(e,t),e}case S:{let e={};return G(e,t),e.length=t.length,e[Symbol.iterator]=t[Symbol.iterator],e}default:return}}},i=q(t,void 0,t,new Map,r),function(e){let t=g(e,o);return void 0===t?function(e,t){let r;if(0===(r=Array.isArray(t)?t:"string"==typeof t&&p(t)&&e?.[t]==null?j(t):[t]).length)return!1;let n=e;for(let e=0;e<r.length;e++){var l;let t=r[e];if((null==n||!Object.hasOwn(n,t))&&!((Array.isArray(n)||null!==(l=n)&&"object"==typeof l&&"[object Arguments]"===v(l))&&s(t)&&t<n.length))return!1;n=n[t]}return!0}(e,o):void 0===i?void 0===t:W(t,i)}}return n=q(l=n=e,void 0,l,new Map,void 0),e=>W(e,n);case"string":case"symbol":case"number":return function(t){return g(t,e)}}}function Z(e,t){return null==e?{}:function(e,t){let r={};for(let n=0;n<e.length;n++){let l=e[n],o=t(l,n,e);Object.hasOwn(r,o)||(r[o]=[]),r[o].push(l)}return r}(l(e)?Array.from(e):Object.values(e),J(t??f))}function X(){}function Q(e){if(!e||"object"!=typeof e)return!1;let t=Object.getPrototypeOf(e);return(null===t||t===Object.prototype||null===Object.getPrototypeOf(t))&&"[object Object]"===Object.prototype.toString.call(e)}function ee(e,t){return function e(t,r,l,o,i,s,a){let c=a(t,r,l,o,i,s);if(void 0!==c)return c;if(typeof t==typeof r)switch(typeof t){case"bigint":case"string":case"boolean":case"symbol":case"undefined":case"function":return t===r;case"number":return t===r||Object.is(t,r)}return function t(r,l,o,i){if(Object.is(r,l))return!0;let s=v(r),a=v(l);if("[object Arguments]"===s&&(s=B),"[object Arguments]"===a&&(a=B),s!==a)return!1;switch(s){case A:return r.toString()===l.toString();case w:return n(r.valueOf(),l.valueOf());case O:case E:case k:return Object.is(r.valueOf(),l.valueOf());case x:return r.source===l.source&&r.flags===l.flags;case"[object Function]":return r===l}let c=(o=o??new Map).get(r),u=o.get(l);if(null!=c&&null!=u)return c===l;o.set(r,l),o.set(l,r);try{switch(s){case N:if(r.size!==l.size)return!1;for(let[t,n]of r.entries())if(!l.has(t)||!e(n,l.get(t),t,r,l,o,i))return!1;return!0;case C:{if(r.size!==l.size)return!1;let t=Array.from(r.values()),n=Array.from(l.values());for(let s=0;s<t.length;s++){let a=t[s],c=n.findIndex(t=>e(a,t,void 0,r,l,o,i));if(-1===c)return!1;n.splice(c,1)}return!0}case M:case D:case R:case z:case P:case"[object BigUint64Array]":case F:case K:case U:case"[object BigInt64Array]":case $:case H:if(L(r)!==L(l)||r.length!==l.length)return!1;for(let t=0;t<r.length;t++)if(!e(r[t],l[t],t,r,l,o,i))return!1;return!0;case T:if(r.byteLength!==l.byteLength)return!1;return t(new Uint8Array(r),new Uint8Array(l),o,i);case _:if(r.byteLength!==l.byteLength||r.byteOffset!==l.byteOffset)return!1;return t(new Uint8Array(r),new Uint8Array(l),o,i);case"[object Error]":return r.name===l.name&&r.message===l.message;case B:{if(!(t(r.constructor,l.constructor,o,i)||Q(r)&&Q(l)))return!1;let n=[...Object.keys(r),...b(r)],s=[...Object.keys(l),...b(l)];if(n.length!==s.length)return!1;for(let t=0;t<n.length;t++){let s=n[t],a=r[s];if(!Object.hasOwn(l,s))return!1;let c=l[s];if(!e(a,c,s,r,l,o,i))return!1}return!0}default:return!1}}finally{o.delete(r),o.delete(l)}}(t,r,s,a)}(e,t,void 0,void 0,void 0,void 0,X)}function et(e,t){if(null!=e)return function(e,t){if(0===e.length)return;let r=e[0],n=-1/0;for(let l=0;l<e.length;l++){let o=e[l],i=t(o,l,e);if(Number.isNaN(i))return o;i>n&&(n=i,r=o)}return r}(Array.from(e),J(t??f))}function er(e,t){if(null!=e)return function(e,t){if(0===e.length)return;let r=e[0],n=1/0;for(let l=0;l<e.length;l++){let o=e[l],i=t(o,l,e);if(Number.isNaN(i))return o;i<n&&(n=i,r=o)}return r}(Array.from(e),J(t??f))}function en(e,t){let r;if(!e||!e.length)return 0;null!=t&&(t=J(t));for(let n=0;n<e.length;n++){let l=t?t(e[n]):e[n];void 0!==l&&(void 0===r?r=l:r+=l)}return r}function el(e){return l(e)?[...new Set(Array.from(e))]:[]}function eo(e){var t;let r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:f;return"object"==typeof e&&null!==e&&l(e)?function(e,t){let r=new Map;for(let n=0;n<e.length;n++){let l=e[n],o=t(l,n,e);r.has(o)||r.set(o,l)}return Array.from(r.values())}(Array.from(e),(t=J(r),function(){for(var e=arguments.length,r=Array(e),n=0;n<e;n++)r[n]=arguments[n];return t.apply(this,r.slice(0,1))})):[]}function ei(e){var t;return(t=u(e)).substring(0,1).toUpperCase()+t.substring(1)}r.d(t,{$z:()=>Z,Jt:()=>g,NT:()=>a,Sk:()=>et,Zb:()=>ei,hS:()=>eo,ih:()=>d,n4:()=>ee,sb:()=>el,wq:()=>er,xu:()=>en})},3534(e,t,r){r.d(t,{Wh:()=>f,oG:()=>s,B_:()=>d,Fp:()=>h,TS:()=>c,aH:()=>o,AP:()=>p,_8:()=>l,xR:()=>a,gX:()=>i,s0:()=>u}),(n={}).Bootstrap="bootstrap->beforeCompile",n.Compile="beforeCompile->afterCompile",n.Done="afterCompile->done",n.Minify="minify(processAssets)";var n,l=r(73555),o=r(94485),i=r(34275),s=r(16397),a=r(47776),c=r(88297);r(17806);var u=r(52497),d=r(61101),f=r(64033),h=r(33592);r(83920),r(16664);var p=r(62343)},71638(e,t,r){r(46068)},52734(e,t,r){r(46068)},62343(e,t,r){function n(e){return void 0===e}function l(e){return"number"==typeof e||"object"==typeof e&&null!==e&&"[object Number]"===Object.prototype.toString.call(e)}function o(e){return e[e.length-1]}function i(e){return null==e}function s(e,t){let r={};for(let n=0;n<t.length;n++){let l=t[n];Object.hasOwn(e,l)&&(r[l]=e[l])}return r}r.d(t,{Et:()=>l,HV:()=>o,Up:()=>s,b0:()=>n,gD:()=>i})},41537(e,t,r){r.d(t,{nV:()=>n.nV,dh:()=>n.dh});var n=r(75083);r(57896)},75083(e,t,r){r.d(t,{nV:()=>n.n,dh:()=>l.d}),r(87826),r(52734),r(11223);var n=r(66714),l=r(22464);r(61726);var o=r(13078),i=r.n(o);let{dirname:s,join:a}=i(),c=/[a-zA-Z0-9]+(?:[-|_|.]+[a-zA-Z0-9]+)*/,u=RegExp(`(?:${/(?:node_modules|~)(?:\/\.pnpm)?/.source}/)(?:(?:@${c.source}[/|+])?(?:${c.source}\\+)*(?:${c.source})(?:${/@[\w|\-|_|.]+/.source})?)(?:_(?:@${c.source}[/|+])?(?:${c.source})(?:@${c.source})?)*/`,"g"),{relative:d}=i(),{resolve:f}=i()},57896(e,t,r){r(13078),r(71638),r(52734),r(85409),r(75083),r(8963).hp,r(72229),r(87826),r(8963).hp,r(98147)},11339(e,t,r){var n,l,o,i=((n={}).BundleDiffFiles="__bundle_files__",n.ManifestFile="manifest",n.EnableRoutes="enableRoutes",n),s=((l={}).Home="/",l.Overall="/overall",l.LoaderOverall="/loaders/overall",l.LoaderAnalysis="/loaders/analysis",l.ModuleResolve="/module/resolve",l.Plugins="/plugins",l.BundleSize="/bundle/size",l.ModuleAnalyze="/module/analyze",l.TreeShaking="/treeshaking",l.BundleDiff="/resources/bundle/diff",l.RuleIndex="/resources/rules",l.Uploader="/resources/uploader",l.EmoCheck="/emo/check",l),a=((o={}).Equal="-",o.Up="UP",o.Down="DOWN",o);r.d(t,{EH:()=>s,H9:()=>i,Ol:()=>a})},57942(e,t,r){r.d(t,{gh:()=>y,bW:()=>h,y1:()=>n.y,jr:()=>n.j});var n=r(13259),l=r(61982),o=r(65467),i=r(17524),s=r(45121),a=r(37842),c=r(44639),u=r(10024),d=r(89205),f=r(77366);let h={[l.a]:l.i,[o.a]:o.i,[i.a]:i.i,[s.a]:s.i,[a.a]:a.i,[c.a]:c.i,[u.a]:u.i,[d.a]:d.i,[f.a]:f.i};var p,y=((p={}).UrlQueryForErrorCode="code",p)},4349(e,t,r){var n,l,o,i=((n={})[n.Unknown=0]="Unknown",n[n.ImportStatement=1]="ImportStatement",n[n.DynamicImport=2]="DynamicImport",n[n.RequireCall=3]="RequireCall",n[n.AMDRequire=4]="AMDRequire",n),s=((l={})[l.Normal=0]="Normal",l[l.Concatenation=1]="Concatenation",l),a=((o={})[o.NoCode=0]="NoCode",o[o.Normal=1]="Normal",o[o.NoSource=2]="NoSource",o[o.NoSourceAndAssets=3]="NoSourceAndAssets",o[o.All=4]="All",o);r.d(t,{JT:()=>s,w5:()=>a,yV:()=>i})}},s={};function a(e){var t=s[e];if(void 0!==t)return t.exports;var r=s[e]={exports:{}};return i[e].call(r.exports,r,r.exports,a),r.exports}a.m=i,a.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return a.d(t,{a:t}),t},t=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,a.t=function(r,n){if(1&n&&(r=this(r)),8&n||"object"==typeof r&&r&&(4&n&&r.__esModule||16&n&&"function"==typeof r.then))return r;var l=Object.create(null);a.r(l);var o={};e=e||[null,t({}),t([]),t(t)];for(var i=2&n&&r;("object"==typeof i||"function"==typeof i)&&!~e.indexOf(i);i=t(i))Object.getOwnPropertyNames(i).forEach(e=>{o[e]=()=>r[e]});return o.default=()=>r,a.d(l,o),l},a.d=(e,t,r)=>{var n=(t,r)=>{for(var n in t)a.o(t,n)&&!a.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,[r]:t[n]})};n(t,"get"),n(r,"value")},a.g=(()=>{if("object"==typeof globalThis)return globalThis;try{return this||Function("return this")()}catch(e){if("object"==typeof window)return window}})(),a.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),a.r=e=>{"u">typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r=[],a.O=(e,t,n,l)=>{if(t){l=l||0;for(var o=r.length;o>0&&r[o-1][2]>l;o--)r[o]=r[o-1];r[o]=[t,n,l];return}for(var i=1/0,o=0;o<r.length;o++){for(var[t,n,l]=r[o],s=!0,c=0;c<t.length;c++)(!1&l||i>=l)&&Object.keys(a.O).every(e=>a.O[e](t[c]))?t.splice(c--,1):(s=!1,l<i&&(i=l));if(s){r.splice(o--,1);var u=n();void 0!==u&&(e=u)}}return e},a.j="331",n={331:0},a.O.j=e=>0===n[e],l=(e,t)=>{var r,l,[o,i,s]=t,c=0;if(o.some(e=>0!==n[e])){for(r in i)a.o(i,r)&&(a.m[r]=i[r]);if(s)var u=s(a)}for(e&&e(t);c<o.length;c++)l=o[c],a.o(n,l)&&n[l]&&n[l][0](),n[l]=0;return a.O(u)},(o=self.rspackChunk_rsdoctor_client=self.rspackChunk_rsdoctor_client||[]).forEach(l.bind(null,0)),o.push=l.bind(null,o.push.bind(o));var c=a.O(void 0,["85","286","834","187"],()=>a(39899));c=a.O(c)})();
|