System.register(["./page_layout-legacy.js?v=1763625242172","./public-legacy.js?v=1763625242172","./soft-legacy.js?v=1763625242172"],(function(e,s){"use strict";var t,a,i,n,o,l,r,c,u,g,m,y;return{setters:[e=>{t=e.m,a=e.b,i=e.c,n=e.W,o=e.X,l=e.i,r=e.bA,c=e.u},e=>{u=e.a,g=e.b,m=e.m},e=>{y=e.u}],execute:function(){e("i",(async e=>{const{close:s}=t.loading("Processing, please wait...");try{const{message:s}=await a({sName:e});if(i(s)){const e=s.versions[0].full_version;u({title:"Install plugin",content:`Are you sure to install [${s.title} v${e}] plugin?`,onConfirm:async()=>{s.status?await r({sName:s.name,version:e,upgrade:e}):await r({sName:s.name,version:e}),o()}})}}finally{s()}})),e("u",(async(e,s)=>{const{close:r}=t.loading("Processing, please wait...");try{const{message:t}=await a({sName:e});if(i(t)){const e=t.versions[0].full_version;u({title:"Install plugin",content:`Are you sure to install [${t.title} v${e}] plugin?`,onConfirm:async()=>{const{message:a}=await n({sName:t.name,version:e,upgrade:e,type:1});if(i(a)){if(a.result)return void o();await y({name:a.name,tmp_path:a.tmp_path,title:l.global.t("Soft.index_21")},(()=>{s?.()}))}}})}}finally{r()}})),e("c",(async(e,s,n=!1)=>c().isFree?(g({source:s}),Promise.reject()):await(async(e,s=!0)=>{let n;s&&(n=t.loading("Processing, please wait..."));try{const{message:s}=await a({sName:e});return i(s)&&s.setup?s:(m(e),Promise.reject())}finally{s&&n?.close()}})(e,n))),e("g",(e=>`/static/img/soft_ico/ico-${e.replace(/-+[{0-9},.,]+$/,"")}.png`))}}}));
