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