System.register(["./vue-legacy.js?v=1764233927359","./index-legacy87.js?v=1764233927359","./page_layout-legacy.js?v=1764233927359","./naive-legacy.js?v=1764233927359","./__commonjsHelpers__-legacy.js?v=1764233927359","./index-legacy132.js?v=1764233927359","./index-legacy.js?v=1764233927359","./common-legacy.js?v=1764233927359","./public-legacy.js?v=1764233927359","./index.vue_vue_type_script_setup_true_lang-legacy5.js?v=1764233927359","./index.vue_vue_type_script_setup_true_lang-legacy6.js?v=1764233927359","./index.vue_vue_type_script_setup_true_lang-legacy7.js?v=1764233927359","./index.vue_vue_type_script_setup_true_lang-legacy12.js?v=1764233927359","./index.vue_vue_type_script_setup_true_lang-legacy8.js?v=1764233927359","./index-legacy130.js?v=1764233927359","./php-legacy.js?v=1764233927359","./soft-legacy.js?v=1764233927359","./site-legacy.js?v=1764233927359","./site-legacy4.js?v=1764233927359","./index.vue_vue_type_script_setup_true_lang-legacy15.js?v=1764233927359","./index-legacy245.js?v=1764233927359","./index-legacy99.js?v=1764233927359","./index-legacy107.js?v=1764233927359","./index.vue_vue_type_script_setup_true_lang-legacy.js?v=1764233927359","./index.vue_vue_type_script_setup_true_lang-legacy10.js?v=1764233927359","./index-legacy98.js?v=1764233927359","./index-legacy100.js?v=1764233927359","./theme-monokai-legacy.js?v=1764233927359","./file-legacy.js?v=1764233927359","./refersh-legacy.js?v=1764233927359","./index.vue_vue_type_script_setup_true_lang-legacy17.js?v=1764233927359","./index-legacy104.js?v=1764233927359","./ssl-legacy.js?v=1764233927359","./cert-legacy.js?v=1764233927359","./ssl-lets-progress-legacy.js?v=1764233927359","./utils-legacy3.js?v=1764233927359","./index-legacy217.js?v=1764233927359","./paypal-js-legacy.js?v=1764233927359","./upload-legacy.js?v=1764233927359"],function(e,l){"use strict";var s,t,a,u,n,c,r,p,_,i,y,g,d,o,j,v,x,m,f,k,b,h,I,w,T,z;return{setters:[e=>{s=e.k,t=e.r,a=e.c,u=e.o,n=e.b,c=e.R,r=e.V,p=e.S,_=e.a2,i=e.U,y=e.W,g=e.a3,d=e.F,o=e.O,j=e.l,v=e.a4,x=e.v},e=>{m=e.e},e=>{f=e.hx,k=e.T,b=e.hy,h=e.d,I=e.m,w=e.p},e=>{T=e.dk,z=e.da},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null],execute:function(){var l=document.createElement("style");l.textContent=".propress-box[data-v-939603d7]{border:1px solid var(--site-task-progress-border)}\n/*$vite$:1*/",document.head.appendChild(l);const C={class:"p-16px"},F={class:"mb-16px"},O={class:"propress-box p-10px rounded-8px"};e("default",w(s({__name:"progress",props:{params:{},callback:{type:Function}},setup(e){const l=e,s=t(!1),w=t([]),S=a(()=>w.value.findIndex(e=>0===e.status)+1),$=a(()=>w.value[S.value]?.status),E={0:"process",1:"finish","-1":"error",2:"wait"},H=e=>E[e];let R=null;const U=async()=>{const{message:e}=await m({progress_type:l.params});h(e)&&(1===e.status?(R&&clearInterval(R),I.success("Task completed!"),s.value=!0):s.value=!1,delete e.status,w.value=Object.values(e))};return u(()=>{U(),R=window.setInterval(()=>{U()},2e3)}),n(()=>{l.callback?.(),R&&clearInterval(R)}),(e,l)=>{const t=T,a=k,u=z,n=f,m=b;return r(),c("div",C,[p("div",F,[i(s)?(r(),_(t,{key:0,type:"success",title:"Task completed!"})):(r(),_(t,{key:1,type:"default",title:"In progress..."}))]),p("div",O,[y(m,{vertical:"",current:i(S),status:H(i($)),size:"small"},{default:g(()=>[(r(!0),c(d,null,o(i(w),(e,l)=>(r(),_(n,{key:l,status:H(e.status),description:e.error||e.ps},{title:g(()=>[y(u,{class:"flex-nowrap! items-center!"},{default:g(()=>[p("span",null,v(e.title),1),j(y(a,{size:"small"},null,512),[[x,0===e.status]])]),_:2},1024)]),_:2},1032,["status","description"]))),128))]),_:1},8,["current","status"])])])}}}),[["__scopeId","data-v-939603d7"]]))}}});
